1import{a as Te}from"./chunk-IDVEQ7KW.js";import"./chunk-Q23P5MNU.js";import{G as Je,Va as Ye,Xb as Qe,b as We,e as Ze,fb as Ke}from"./chunk-KAXNKA6Y.js";import"./chunk-7B5EAB4N.js";import"./chunk-P4AWLXSQ.js";import"./chunk-KRRZGW2D.js";import"./chunk-QLBE3UGC.js";import"./chunk-NKPQKUAK.js";import"./chunk-NEUHW5A3.js";import{a as fe}from"./chunk-LEQJ4IIU.js";import{a as Ue}from"./chunk-TFLZ2IQR.js";import{f as Fe}from"./chunk-LYNHHBB7.js";import{b as Y}from"./chunk-NRR7AH3C.js";import{W as He,b as Be,ha as $e,u as Ie}from"./chunk-XV5UGDTZ.js";import{$ as de,B as Ae,C as Re,D as A,E as R,Oa as ue,W as le,Ya as we,Z as se,Za as Le,_ as ce,_a as Ve,aa as pe,b as Ne,cb as Oe,d as ie,g as ne,h as ae,ib as Pe,jb as F,kb as qe,lb as je,m as ke,mb as B,nb as Ge,ob as ze,p as re,s as oe,sb as I,tb as w,v as Me,vb as L,wb as V,z as me}from"./chunk-NQAP53SD.js";import{$a as x,Ab as P,Ba as h,Bb as i,Cb as l,Db as U,Dc as Z,Ga as b,Ha as H,Ic as S,J as Se,Kc as Ee,Kf as Q,Lf as X,Ma as O,Nf as ee,Pa as c,Qb as N,Rb as k,Sa as ye,Wb as s,X as G,Ya as he,Yb as d,Za as $,Zb as q,_ as D,_a as ve,ab as E,ac as xe,ba as C,bb as e,bg as M,ca as _,cb as t,db as u,dg as te,hb as T,kb as v,mb as g,md as J,oe as Ce,pe as De,xa as r,xc as W,yf as K}from"./chunk-DF25LJWB.js";import{a as ge,b as be}from"./chunk-O7S4L63H.js";function ot(o,z){if(o&1&&(e(0,"tr")(1,"td"),i(2),t(),e(3,"td"),i(4),t(),e(5,"td"),i(6),s(7,"date"),t(),e(8,"td"),i(9),s(10,"date"),t(),e(11,"td"),i(12),s(13,"currency"),t()()),o&2){let n=z.$implicit;r(2),l(n.unidade_codigo),r(2),l(n.unidade_pessoa),r(2),l(q(7,5,n.competencia,"MM/yyyy","UTC")),r(3),l(d(10,9,n.data_vencimento,"dd/MM/yyyy")),r(3),l(d(13,12,n.valor_cobranca,"BRL"))}}function mt(o,z){if(o&1&&(e(0,"div",3)(1,"span"),i(2,"Total de Cobran\xE7as: "),e(3,"span",4),i(4),t()()()),o&2){let n=g();r(4),l(n.nzData.cobrancas_vinculadas.length||0)}}var et=(()=>{class o{constructor(){this.nzData=D(M)}static{this.\u0275fac=function(m){return new(m||o)}}static{this.\u0275cmp=b({type:o,selectors:[["app-linked-charges"]],standalone:!1,decls:19,vars:2,consts:[["table",""],["footerTemplate",""],["nzShowPagination","false","nzFrontPagination","false",3,"nzData","nzFooter"],[1,"total-footer"],[1,"total"]],template:function(m,a){if(m&1&&(e(0,"nz-table",2,0)(2,"thead")(3,"tr")(4,"th"),i(5,"C\xF3digo"),t(),e(6,"th"),i(7,"Nome"),t(),e(8,"th"),i(9,"Competencia"),t(),e(10,"th"),i(11,"Vencimento"),t(),e(12,"th"),i(13,"Valor Cobran\xE7a"),t()()(),e(14,"tbody"),x(15,ot,14,15,"tr",null,$),t()(),O(17,mt,5,1,"ng-template",null,1,xe)),m&2){let p=P(1),f=P(18);c("nzData",a.nzData.cobrancas_vinculadas)("nzFooter",f),r(15),E(p.data)}},dependencies:[w,F,B,V,I,L,S,Z],encapsulation:2})}}return o})();var ht=()=>[8,24],vt=o=>({color:o});function Ct(o,z){if(o&1){let n=T();e(0,"a",13),v("click",function(){C(n);let a=g();return _(a.seeVinculatedChargesModal())}),e(1,"nz-tag",14),i(2," Ver cobran\xE7as"),t()()}}function _t(o,z){o&1&&(e(0,"p"),i(1,"N\xE3o possui"),t())}function gt(o,z){if(o&1){let n=T();e(0,"a",15),v("click",function(){C(n);let a=g();return _(a.showUpdateHistoryModal(a.nzData.reimbursement.cobranca_uuid))}),e(1,"nz-tag",16),i(2," 2\xB0 Via"),t()()}}function bt(o,z){o&1&&(e(0,"p"),i(1,"N\xE3o possui"),t())}var it=(()=>{class o{constructor(n,m,a){this.modalService=n,this.permissionService=m,this.api=a,this.nzData=D(M)}seeVinculatedChargesModal(){this.modalService.create({nzTitle:"Cobran\xE7as Vinculadas",nzContent:et,nzData:{cobrancas_vinculadas:this.nzData.reimbursement.cobrancas_vinculadas},nzCancelText:null,nzWidth:"70%"})}showUpdateHistoryModal(n){this.permissionService.validate("cobrancas-listar",()=>{this.modalService.info({nzContent:Ye,nzTitle:"Histo\u0301rico de Atualizac\u0327o\u0303es",nzData:{charge_uuid:n},nzWidth:"75%",nzBodyStyle:{maxHeight:"50vh",overflow:"auto"},nzCentered:!0,nzCancelText:null})})}printBoleto(n){let m={codigos_cobrancas:[n]};this.api.post("/parametros-externos/register",{data:be(ge({},m),{padrao_impressao:"boleto-conferencia"})}).subscribe({next:a=>{this.listBoletos(a.data)}})}listBoletos(n){window.open(`${De.apiUrl}/charges-instruments/export/${n}`,"_blank")}static{this.\u0275fac=function(m){return new(m||o)(h(te),h(fe),h(Y))}}static{this.\u0275cmp=b({type:o,selectors:[["app-reimbursement-details"]],standalone:!1,decls:110,vars:57,consts:[["nz-col","","nzSpan","24",2,"margin-top","20px"],[1,"primary-font-color","bold","my-1"],["nzSpan","24"],["nzAlign","middle",2,"margin-top","8px",3,"nzGutter"],["nzSpan","8"],["nz-button","","nzType","text","nz-link","","nz-tooltip","","nzTooltipTitle","Clique para ver cobran\xE7as.",2,"margin-left","-12px"],["nz-button","","nzType","text","nz-link","","nz-tooltip","","nzTooltipTitle","Clique para ver a atualiza\xE7\xE3o."],["nz-icon","","nzType","question-circle","nzTheme","outline","nz-tooltip","","nzTooltipTitle","O valor total \xE9 o resultado da soma do valor original com juros e multa.",1,"ml-1"],["nz-icon","","nzType","question-circle","nzTheme","outline","nz-tooltip","","nzTooltipTitle","O c\xE1lculo do valor do ressarcimento consiste na seguinte f\xF3rmula: Valor Total - (Valor Pago + Desconto Aplicado).",1,"ml-1"],[3,"ngStyle"],["nzSpan","16"],["nz-icon","","nzType","question-circle","nzTheme","outline","nz-tooltip","","nzTooltipTitle","Valor resultante da soma de multa e juros.",1,"ml-1"],["nz-button","",3,"click"],["nz-button","","nzType","text","nz-link","","nz-tooltip","","nzTooltipTitle","Clique para ver cobran\xE7as.",2,"margin-left","-12px",3,"click"],["nzColor","geekblue"],["nz-button","","nzType","text","nz-link","","nz-tooltip","","nzTooltipTitle","Clique para ver a atualiza\xE7\xE3o.",3,"click"],["nzColor","blue"]],template:function(m,a){m&1&&(e(0,"div")(1,"div",0)(2,"h3",1),i(3,"Informa\xE7\xF5es detalhadas"),t()(),e(4,"nz-col",2)(5,"nz-row",3)(6,"nz-col",4)(7,"h4")(8,"strong"),i(9,"Nome"),t()(),e(10,"span"),i(11),t()(),e(12,"nz-col",4)(13,"h4")(14,"strong"),i(15,"CPF/CNPJ"),t()(),e(16,"span"),i(17),s(18,"mask"),t()(),e(19,"nz-col",4)(20,"h4")(21,"strong"),i(22,"Cobran\xE7as Vinculadas"),t()(),O(23,Ct,3,0,"a",5)(24,_t,2,0,"p"),t(),e(25,"nz-col",4)(26,"h4")(27,"strong"),i(28,"Data de vencimento"),t()(),e(29,"span"),i(30),s(31,"date"),t()(),e(32,"nz-col",4)(33,"h4")(34,"strong"),i(35,"Data de pagamento"),t()(),e(36,"span"),i(37),s(38,"date"),t()(),e(39,"nz-col",4)(40,"h4")(41,"strong"),i(42,"Segunda Via"),t()(),O(43,gt,3,0,"a",6)(44,bt,2,0,"p"),t(),e(45,"nz-col",4)(46,"h4")(47,"strong"),i(48,"Valor original"),t()(),e(49,"span"),i(50),s(51,"currency"),t()(),e(52,"nz-col",4)(53,"h4")(54,"strong"),i(55,"Valor pago"),t()(),e(56,"span"),i(57),s(58,"currency"),t()(),e(59,"nz-col",4)(60,"h4")(61,"strong"),i(62,"Valor total "),u(63,"i",7),t()(),e(64,"span"),i(65),s(66,"currency"),t()(),e(67,"nz-col",4)(68,"h4")(69,"strong"),i(70,"Valor ressarcimento "),u(71,"i",8),t()(),e(72,"span",9),i(73),s(74,"currency"),s(75,"currency"),t()(),e(76,"nz-col",10)(77,"h4")(78,"strong"),i(79,"Desconto"),t()(),e(80,"span"),i(81),s(82,"currency"),t()(),e(83,"nz-col",4)(84,"h4")(85,"strong"),i(86,"Multa calculada"),t()(),e(87,"span"),i(88),s(89,"currency"),t()(),e(90,"nz-col",4)(91,"h4")(92,"strong"),i(93,"Juros calculado"),t()(),e(94,"span"),i(95),s(96,"currency"),t()(),e(97,"nz-col",4)(98,"h4")(99,"strong"),i(100,"Total encargos calculados "),u(101,"i",11),t()(),e(102,"span"),i(103),s(104,"currency"),t()(),e(105,"nz-col")(106,"h4"),i(107,"Verificar Boleto"),t(),e(108,"button",12),v("click",function(){return a.printBoleto(a.nzData.reimbursement.cobranca_uuid)}),i(109,"Clique para verificar"),t()()()()()),m&2&&(r(5),c("nzGutter",N(54,ht)),r(6),l(a.nzData.reimbursement.pessoa_nome),r(6),l(d(18,16,a.nzData.reimbursement.cpf_cnpj,"AAA.AAA.AAA-AA||AA.AAA.AAA/AAAA-00")),r(6),he(a.nzData.reimbursement.cobrancas_vinculadas!=null&&a.nzData.reimbursement.cobrancas_vinculadas.length?23:24),r(7),l(q(31,19,a.nzData.reimbursement.data_vencimento,"dd/MM/yyy","UTC")),r(7),l(q(38,23,a.nzData.reimbursement.data_pagamento,"dd/MM/yyy","UTC")),r(6),he(a.nzData.reimbursement.segunda_via_id?43:44),r(7),l(d(51,27,a.nzData.reimbursement.valor,"BRL")),r(7),l(d(58,30,a.nzData.reimbursement.valor_pago,"BRL")),r(8),l(d(66,33,a.nzData.reimbursement.total_calculado,"BRL")),r(7),c("ngStyle",k(55,vt,a.nzData.reimbursement.valor_ressarcimento>0?"green":"red")),r(),l(a.nzData.reimbursement.valor_ressarcimento>0?"+"+d(74,36,a.nzData.reimbursement.valor_ressarcimento,"BRL"):d(75,39,a.nzData.reimbursement.valor_ressarcimento,"BRL")),r(8),l(d(82,42,a.nzData.reimbursement.desconto,"BRL")),r(7),l(d(89,45,a.nzData.reimbursement.multa_calculada,"BRL")),r(7),l(d(96,48,a.nzData.reimbursement.juros_calculado,"BRL")),r(8),l(d(104,51,a.nzData.reimbursement.total_encargos_calculados,"BRL")))},dependencies:[W,ee,Q,X,R,A,K,He,le,S,Z,Ze],encapsulation:2})}}return o}
1)();var Et=o=>({color:o});function Dt(o,z){if(o&1&&(e(0,"tr")(1,"td"),i(2),t(),e(3,"td",7),i(4),s(5,"currency"),t(),e(6,"td",7),i(7),s(8,"currency"),t(),e(9,"td",7),i(10),s(11,"currency"),s(12,"currency"),t()()),o&2){let n=z.$implicit;r(2),l(n.pessoa_nome),r(2),l(d(5,6,n.valor,"BRL")),r(3),l(d(8,9,n.valor_pago,"BRL")),r(2),ye(k(18,Et,n.valor_ressarcimento>0?"green":"red")),r(),U(" ",n.valor_ressarcimento>0?"+"+d(11,12,n.valor_ressarcimento,"BRL"):d(12,15,n.valor_ressarcimento,"BRL")," ")}}var nt=(()=>{class o{constructor(n){this.fb=n,this.nzData=D(M),this.validateForm=this.fb.group({geracao_agendada_em:[J(new Date,{months:1})]})}static{this.\u0275fac=function(m){return new(m||o)(h(me))}}static{this.\u0275cmp=b({type:o,selectors:[["app-reimbursement-confirmation"]],standalone:!1,decls:35,vars:9,consts:[["nz-col","","nzSpan","24",2,"margin-bottom","16px","margin-top","-12px"],[1,"primary-font-color","bold","my-1"],["nz-form","",3,"formGroup"],["for","geracao_agendada_em",3,"nzRequired"],["nzErrorTip","Voc\xEA precisa informar a data para gera\xE7\xE3o.","nzSpan","8"],["formControlName","geracao_agendada_em","nzPlaceHolder","Selecione o m\xEAs","nzAllowClear","false","nzMode","month",3,"nzFormat"],["nzFrontPagination","false",3,"nzData"],["nzAlign","right"]],template:function(m,a){m&1&&(e(0,"div")(1,"div",0)(2,"h3",1),i(3,"Verifique antes de confirmar"),t()(),e(4,"div",2)(5,"nz-form-item")(6,"nz-form-label",3),i(7,"Compet\xEAncia a ser gerado"),t(),e(8,"nz-form-control",4),u(9,"nz-date-picker",5),t()()(),e(10,"nz-table",6)(11,"thead")(12,"tr")(13,"th"),i(14,"Nome"),t(),e(15,"th"),i(16,"Valor original"),t(),e(17,"th"),i(18,"Valor pago"),t(),e(19,"th"),i(20,"Valor Ressarcimento"),t()()(),e(21,"tbody"),x(22,Dt,13,20,"tr",null,$),t(),e(24,"tfoot")(25,"tr")(26,"td"),i(27," Total: "),e(28,"strong"),i(29),t()(),u(30,"td"),e(31,"td")(32,"strong"),i(33),s(34,"currency"),t()()()()()()),m&2&&(r(4),c("formGroup",a.validateForm),r(2),c("nzRequired","true"),r(3),c("nzFormat","MM/yyyy"),r(),c("nzData",a.nzData.reimbursements),r(12),E(a.nzData.reimbursements),r(7),l(a.nzData.reimbursements.length),r(4),l(d(34,6,a.totalReimbursements,"BRL")))},dependencies:[ne,ae,re,oe,ue,R,A,ce,se,pe,de,w,F,B,V,I,L,ze,S],encapsulation:2})}}return o})();var Tt=()=>[8,2],Nt=()=>["condominio"],kt=()=>({prefix:"R$ ",thousands:".",decimal:",",align:"left"}),Mt=o=>({color:o});function At(o,z){if(o&1&&(e(0,"th",27),i(1),t()),o&2){let n=z.$implicit;c("nzSortFn",n.compare),r(),l(n.name)}}function Rt(o,z){if(o&1){let n=T();e(0,"tr")(1,"td",29),v("nzCheckedChange",function(a){let p=C(n).$implicit,f=g();return _(f.onItemChecked(p.cobranca_uuid,a))}),t(),e(2,"td"),i(3),t(),e(4,"td"),i(5),t(),e(6,"td",30),i(7),t(),e(8,"td"),i(9),t(),e(10,"td",31),i(11),s(12,"currency"),t(),e(13,"td",31),i(14),s(15,"currency"),t(),e(16,"td",32),i(17),s(18,"currency"),s(19,"currency"),t(),e(20,"td",28)(21,"a",33),v("click",function(){let a=C(n).$implicit,p=g();return _(p.showDetails(a))}),u(22,"span",34),t()()()}if(o&2){let n=z.$implicit,m=g();r(),c("nzChecked",m.setOfCheckedMergeds.has(n.cobranca_uuid)),r(2),l(n.condominio_codigo),r(2),l(n.condominio_nome),r(2),l(n.codigo),r(2),l(n.pessoa_nome),r(2),l(d(12,9,n.valor,"BRL")),r(3),l(d(15,12,n.valor_pago,"BRL")),r(2),c("ngStyle",k(21,Mt,n.valor_ressarcimento>0?"green":"red")),r(),U(" ",n.valor_ressarcimento>0?"+"+d(18,15,n.valor_ressarcimento,"BRL"):d(19,18,n.valor_ressarcimento,"BRL")," ")}}var at=(()=>{class o{constructor(n,m,a,p){this.fb=n,this.api=m,this.modalService=a,this.permissionService=p,this.reimbursements=[],this.setOfCheckedReimbursements=new Set,this.setOfCheckedMergeds=new Set,this.expandSet=new Set,this.searchDisabled=!1,this.indeterminate=!1,this.checked=!1,this.loading=!1,this.today=new Date,this.firstDayOfMonth=new Date(this.today.getFullYear(),this.today.getMonth(),1),this.lastDayOfMonth=new Date(this.today.getFullYear(),this.today.getMonth()+1,0),this.nextMonth=J(this.today,{months:1}),this.geracaoAgendadaEm=this.nextMonth,this.listOfColumnMainTable=[{name:"Valor original",compare:(f,y)=>f.valor-y.valor},{name:"Valor pago",compare:(f,y)=>f.valor_pago-y.valor_pago},{name:"Valor ressarcimento",compare:(f,y)=>f.valor_ressarcimento-y.valor_ressarcimento}],this.isLoadingOcupation=!1,this.ocupationsList=[],this.validateForm=this.fb.group({condominio_uuid:["",ie.required],data_inicial:[this.firstDayOfMonth,ie.required],data_final:[this.lastDayOfMonth,ie.required],diferenca_minima:[],diferenca_minima_total:[.01],analyst_uuid:[]})}ngOnInit(){this.onSearchOcupation()}onSearchOcupation(n){Fe(()=>{this.isLoadingOcupation=!0,this.api.get("/ocupations/active",{busca:n||""}).subscribe({next:m=>{this.ocupationsList=m.data},error:()=>{this.isLoadingOcupation=!1},complete:()=>{this.isLoadingOcupation=!1}})},1)}getReimbursements(){this.loading=!0,this.api.post("/reimbursement-amounts/simulations/list",{data_inicial:this.validateForm.value.data_inicial,data_final:this.validateForm.value.data_final,diferenca_minima:this.validateForm.value.diferenca_minima,analista_uuid:this.validateForm.value.analyst_uuid,condominio_uuid:this.validateForm.value.condominio_uuid}).pipe(Se(()=>this.loading=!1)).subscribe({next:n=>{this.reimbursements=n.data?.list,n.data?.list||(this.reimbursements=[])}})}
1showDetails(n){this.permissionService.validate("listar-ressarcimentos",()=>{this.modalService.info({nzTitle:"Detalhes do ressarcimento",nzContent:it,nzWidth:"70%",nzData:{reimbursement:n},nzCancelText:null,nzOkText:null})})}showReimbursementConfirmation(){this.modalService.create({nzTitle:"Resumo da Opera\xE7\xE3o",nzContent:nt,nzWidth:"60%",nzBodyStyle:{maxHeight:"65vh",overflow:"auto",top:"20px"},nzData:{reimbursements:Array.from(this.setOfCheckedMergeds).flatMap(m=>this.reimbursements.filter(a=>a.cobranca_uuid===m))},nzCancelText:"Cancelar",nzOkText:"Lan\xE7ar ressarcimento(s)",nzOnOk:()=>this.createReimbursement(),nzOnCancel:()=>this.geracaoAgendadaEm=this.nextMonth}).getContentComponent().validateForm.valueChanges.subscribe(m=>{this.geracaoAgendadaEm=m.geracao_agendada_em??this.nextMonth})}refreshCheckedStatus(){this.checked=this.reimbursements.every(({cobranca_uuid:n})=>this.setOfCheckedMergeds.has(n)),this.indeterminate=this.reimbursements.some(({cobranca_uuid:n})=>this.setOfCheckedMergeds.has(n))&&!this.checked}onItemChecked(n,m){this.updateCheckedSet(n,m),this.refreshCheckedStatus()}updateCheckedSet(n,m){m?this.setOfCheckedMergeds.add(n):this.setOfCheckedMergeds.delete(n)}onAllChecked(n){this.reimbursements.forEach(({cobranca_uuid:m})=>this.updateCheckedSet(m,n)),this.refreshCheckedStatus()}createReimbursement(){let n=[],m=new Map;this.reimbursements.forEach(a=>m.set(a.cobranca_uuid,a)),this.setOfCheckedMergeds.forEach(a=>{let p=m.get(a);p&&n.push({valor_ressarcimento:p.valor_ressarcimento,condominium_uuid:p.condominium_uuid,competencia:p.competencia,pessoa_has_unidade_id:p.pessoa_has_unidade_id,charge_uuid:p.cobranca_uuid})}),this.api.post("/reimbursement-amounts/create",{ressarcimentos:n,geracao_agendada_em:this.geracaoAgendadaEm}).subscribe({next:()=>{this.getReimbursements(),this.setOfCheckedMergeds.clear(),this.refreshCheckedStatus()}})}static{this.\u0275fac=function(m){return new(m||o)(h(me),h(Y),h(te),h(fe))}}static{this.\u0275cmp=b({type:o,selectors:[["app-reimbursement-amounts-list"]],standalone:!1,decls:68,vars:25,consts:[["mergedTable",""],["nzBackIcon","",3,"nzGhost"],["nz-row","","nzAlign","bottom","nz-form","","nzLayout","vertical",3,"submit","nzGutter","formGroup"],["nzSpan","10"],["label","Condom\xEDnio","formControlName","condominio_uuid",3,"required","selectMode","tiposPessoas","allowClear"],["nz-col","","nzSpan","9"],["formControlName","analyst_uuid","customFormControlName","analyst_uuid","filterOcupation","backoffice","filterDepartment","backoffice",3,"customFormGroup","allowClear"],["nz-col","","nzSpan","5"],["nz-input","","formControlName","diferenca_minima","currencyMask","","placeholder","R$ 0,01","type","text",3,"options"],["for","data_inicial",3,"nzRequired"],["nzErrorTip","Voc\xEA precisa informar a data de inicio."],["formControlName","data_inicial","nzPlaceHolder","selecione a data","nzAllowClear","false",3,"nzFormat"],["for","data_final",3,"nzRequired"],["nzErrorTip","Voc\xEA precisa informar a data final."],["formControlName","data_final","nzPlaceHolder","selecione a data","nzAllowClear","false",3,"nzFormat"],["nz-col","","nzSpan","4"],["nz-button","","nzType","primary","type","submit","nzBlock","",3,"disabled","nzLoading"],["nz-icon","","nzType","search"],[2,"margin","8px 0 12px"],["nz-row","","nzJustify","space-between"],["nz-row",""],[1,"form-subtitle"],[2,"margin-left","8px","color","#a6a6a6"],["nz-button","","nzType","primary",3,"click","disabled"],["nzShowPagination","false","nzFrontPagination","false",3,"nzData","nzLoading"],["nzLabel","Selecione todos","nzLeft","","nzWidth","4%",3,"nzCheckedChange","nzChecked","nzIndeterminate"],["nzWidth","5%"],[3,"nzSortFn"],["nzAlign","center"],["nzLeft","",3,"nzCheckedChange","nzChecked"],["nzLeft",""],["nzAlign","right"],["nzAlign","right",3,"ngStyle"],["nz-link","","nz-tooltip","","nzTooltipTitle","Visualizar ressarcimento",3,"click"],["nz-icon","","nzType","eye","nzTheme","outline"]],template:function(m,a){if(m&1){let p=T();e(0,"nz-page-header",1)(1,"nz-page-header-title"),i(2,"Ressarcimentos"),t(),e(3,"nz-page-header-subtitle"),i(4,"Consulte os ressarcimentos"),t(),e(5,"nz-page-header-content")(6,"form",2),v("submit",function(){return C(p),_(a.getReimbursements())}),e(7,"nz-col",3)(8,"nz-form-control"),u(9,"app-filtro-pessoas",4),t()(),e(10,"div",5),u(11,"app-users-tree",6),t(),e(12,"div",7)(13,"nz-form-item")(14,"nz-form-label"),i(15,"Diferen\xE7a M\xEDnima"),t(),e(16,"nz-form-control"),u(17,"input",8),t()()(),e(18,"div",7)(19,"nz-form-item")(20,"nz-form-label",9),i(21,"Data de Inicio"),t(),e(22,"nz-form-control",10),u(23,"nz-date-picker",11),t()()(),e(24,"div",7)(25,"nz-form-item")(26,"nz-form-label",12),i(27,"Data Final"),t(),e(28,"nz-form-control",13),u(29,"nz-date-picker",14),t()()(),e(30,"div",15)(31,"nz-form-item")(32,"button",16),u(33,"span",17),i(34," Buscar "),t()()()(),u(35,"nz-divider",18),t(),e(36,"nz-page-header-content")(37,"span",19)(38,"div",20)(39,"h2",21),i(40,"Ressarcimentos Encontrados"),t(),e(41,"span",22),i(42,"("),e(43,"strong"),i(44),t(),i(45," resultados)"),t()(),e(46,"button",23),v("click",function(){return C(p),_(a.showReimbursementConfirmation())}),i(47,"Criar ressarcimento"),t()(),e(48,"nz-table",24,0)(50,"thead")(51,"tr")(52,"th",25),v("nzCheckedChange",function(y){return C(p),_(a.onAllChecked(y))}),t(),e(53,"th",26),i(54,"C\xF3digo"),t(),e(55,"th"),i(56,"Condominio"),t(),e(57,"th"),i(58,"Unidade"),t(),e(59,"th"),i(60,"Nome"),t(),x(61,At,2,2,"th",27,ve),e(63,"th",28),i(64,"A\xE7\xF5es"),t()()(),e(65,"tbody"),x(66,Rt,23,23,"tr",null,ve),t()()()()}if(m&2){let p=P(49);c("nzGhost",!1),r(6),c("nzGutter",N(22,Tt))("formGroup",a.validateForm),r(3),c("required",!1)("selectMode","default")("tiposPessoas",N(23,Nt))("allowClear",!0),r(2),c("customFormGroup",a.validateForm)("allowClear",!0),r(6),c("options",N(24,kt)),r(3),c("nzRequired","true"),r(3),c("nzFormat","dd/MM/yyyy"),r(3),c("nzRequired","true"),r(3),c("nzFormat","dd/MM/yyyy"),r(3),c("disabled",a.searchDisabled)("nzLoading",a.loading),r(12),l(a.reimbursements.length),r(2),c("disabled",a.setOfCheckedMergeds.size<1),r(2),c("nzData",a.reimbursements)("nzLoading",a.loading),r(4),c("nzChecked",a.checked)("nzIndeterminate",a.indeterminate),r(9),E(a.listOfColumnMainTable),r(5),E(p.data)}},dependencies:[W,ke,Ne,ne,ae,Me,re,oe,ee,Q,X,ue,Ie,R,A,ce,se,pe,de,K,Be,Oe,we,Le,Ve,w,je,F,B,qe,V,I,L,Pe,ze,Ge,le,We,Je,Ke,
1S],encapsulation:2})}}return o})();var Ft=[{path:"",pathMatch:"full",redirectTo:"buscar"},{path:"buscar",component:at,data:{role:Ue.listarRessarcimentos,isAccept:!1},canActivate:[Te]}],rt=(()=>{class o{static{this.\u0275fac=function(m){return new(m||o)}}static{this.\u0275mod=H({type:o})}static{this.\u0275inj=G({imports:[Ce.forChild(Ft),Ce]})}}return o})();var Mi=(()=>{class o{static{this.\u0275fac=function(m){return new(m||o)}}static{this.\u0275mod=H({type:o})}static{this.\u0275inj=G({imports:[Ee,rt,Re,Ae,$e,Qe]})}}return o})();export{Mi as ReimbursementAmountsModule};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.