1import{a as S,b as ce,e as et,f as x,g as ue,h as tt,j as it}from"./chunk-NJD2X5OY.js";import{a as pe}from"./chunk-RDXLX5E3.js";import{a as ge}from"./chunk-IDVEQ7KW.js";import"./chunk-Q23P5MNU.js";import{Xb as Ye}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"./chunk-LEQJ4IIU.js";import{a as ve}from"./chunk-TFLZ2IQR.js";import{a as Ce}from"./chunk-LYNHHBB7.js";import{b as Oe}from"./chunk-NRR7AH3C.js";import{$ as Ke,Y as Ze,b as ie,c as ne,d as oe,ha as Qe,x as Be}from"./chunk-XV5UGDTZ.js";import{$ as ee,B as ke,Ba as Re,C as Ae,D as Z,E as K,Ha as Pe,W as We,Wa as je,Ya as se,Z as Q,_ as Y,_a as le,aa as te,ab as me,b as H,cb as de,d as T,g as G,ga as re,h as U,ha as ae,jb as He,l as Me,m as $,mb as Ge,ob as Ue,p as q,s as J,sb as $e,tb as qe,vb as Je,wb as Xe,z as X}from"./chunk-NQAP53SD.js";import{Ab as b,Ba as C,Bb as d,Cb as F,Db as E,Eb as Fe,Ga as I,Gc as k,Ha as L,Ib as Ee,J as _e,Jb as Se,Kb as Ne,Kc as Ie,Kf as W,Lf as R,Ma as _,Nf as P,Pa as m,Qb as Te,Rb as Ve,Wb as D,X as w,Yb as O,ac as N,ba as u,bb as o,ca as f,cb as n,db as h,eb as V,eg as j,fb as y,gb as he,gg as B,hb as v,ie as Le,kb as z,le as De,mb as c,oe as ze,sc as ye,tc as M,v as be,xa as l,yc as we,yf as A}from"./chunk-DF25LJWB.js";import"./chunk-O7S4L63H.js";var xt=()=>["Dispon\xEDveis","Whitelist"],bt=t=>({width:"calc(50% - 12px)",height:t});function Ft(t,p){t&1&&he(0)}function Et(t,p){if(t&1){let e=v();o(0,"nz-page-header",7),z("nzBack",function(){u(e);let i=c();return f(i.back())}),o(1,"nz-page-header-title"),d(2),n(),o(3,"nz-page-header-extra")(4,"button",8),z("click",function(){u(e);let i=c();return f(i.openEditHeader())}),h(5,"span",9),d(6," Editar whitelist "),n()(),o(7,"nz-page-header-content"),_(8,Ft,1,0,"ng-container",10),n()()}if(t&2){let e=c(),r=b(3);m("nzGhost",!1),l(2),Fe(" ",(e.header==null?null:e.header.nome)||"Whitelist"," ",e.fundo?"- "+e.fundo.nome:""," "),l(6),m("ngTemplateOutlet",r)}}function St(t,p){if(t&1&&(o(0,"p",14),d(1),n()),t&2){let e=c(2);l(),E(" ",e.header==null?null:e.header.descricao," ")}}function Nt(t,p){t&1&&he(0)}function Tt(t,p){if(t&1){let e=v();o(0,"div",11)(1,"div",12),_(2,St,2,1,"p",13),o(3,"button",8),z("click",function(){u(e);let i=c();return f(i.openEditHeader())}),h(4,"span",9),d(5," Editar whitelist "),n()(),_(6,Nt,1,0,"ng-container",10),n()}if(t&2){let e=c(),r=b(3);l(2),m("ngIf",e.header==null?null:e.header.descricao),l(4),m("ngTemplateOutlet",r)}}function Vt(t,p){if(t&1&&(o(0,"p",21),d(1),n()),t&2){let e=c(2);l(),E(" ",e.header==null?null:e.header.descricao," ")}}function yt(t,p){t&1&&h(0,"span",22)}function wt(t,p){if(t&1&&(o(0,"span",24),d(1),n()),t&2){let e=c().$implicit;l(),E(" \u2014 CNPJ: ",e.cnpj,"")}}function It(t,p){if(t&1&&(o(0,"span",24),d(1),D(2,"number"),n()),t&2){let e=c().$implicit;l(),E(" \u2014 VGV: ",O(2,1,e.vgv,"1.2-2"),"")}}function Lt(t,p){if(t&1&&(o(0,"span"),d(1),n(),_(2,wt,2,1,"span",23)(3,It,3,4,"span",23)),t&2){let e=p.$implicit;l(),F(e.title),l(),m("ngIf",e.cnpj),l(),m("ngIf",e.vgv!=null)}}function Dt(t,p){if(t&1){let e=v();_(0,Vt,2,1,"p",15),o(1,"nz-spin",16)(2,"nz-input-group",17)(3,"input",18),z("input",function(i){u(e);let s=c();return f(s.onSearch(i.target.value))}),n()(),_(4,yt,1,0,"ng-template",null,1,N),o(6,"div",19)(7,"nz-transfer",20),z("nzChange",function(i){u(e);let s=c();return f(s.onTransferChange(i))}),n(),_(8,Lt,4,3,"ng-template",null,2,N),n()()}if(t&2){let e=b(5),r=b(9),i=c();m("ngIf",!i.embedded&&(i.header==null?null:i.header.descricao)),l(),m("nzSpinning",i.isLoading||i.isSaving),l(),m("nzPrefix",e),l(),m("value",i.searchValue),l(4),m("nzTitles",Te(8,xt))("nzDataSource",i.filteredList)("nzListStyle",Ve(9,bt,i.embedded?"480px":"600px"))("nzRender",r)}}function Ot(t,p){if(t&1&&(V(0),o(1,"form",25)(2,"nz-form-item")(3,"nz-form-label",26),d(4,"Nome"),n(),o(5,"nz-form-control",27),h(6,"input",28),n()(),o(7,"nz-form-item")(8,"nz-form-label"),d(9,"Descri\xE7\xE3o"),n(),o(10,"nz-form-control"),h(11,"textarea",29),n()()(),y()),t&2){let e=c();l(),m("formGroup",e.headerForm)}}var fe=(()=>{class t{constructor(e,r,i,s,a,g){this.fundosService=e,this.api=r,this.fb=i,this.route=s,this.router=a,this.message=g,this.embedded=!1,this.resolvedFundoUuid="",this.fundo=null,this.header=null,this.isLoading=!1,this.isSaving=!1,this.transferList=[],this.filteredList=[],this.searchValue="",this.headerModalVisible=!1,this.savingHeader=!1}
1ngOnInit(){let e=this.fundoUuid?.trim()||this.route.snapshot.paramMap.get("uuid")?.trim();if(!e){this.embedded||this.router.navigate(["/app/fundos"]);return}this.resolvedFundoUuid=e,this.headerForm=this.fb.group({nome:[null,[T.required]],descricao:[null]}),this.fundosService.getByUuid(e).subscribe({next:r=>this.fundo=r.data}),this.loadHeader(),this.loadTransfer()}loadHeader(){this.fundosService.getWhitelistHeader(this.resolvedFundoUuid).subscribe({next:e=>this.header=e.data})}loadTransfer(){this.isLoading=!0,be({condominios:this.api.post("/condominiums/list",{incluirAmbienteTeste:!1}),whitelist:this.fundosService.listWhitelist(this.resolvedFundoUuid)}).pipe(_e(()=>this.isLoading=!1)).subscribe({next:({condominios:e,whitelist:r})=>{this.buildTransferList(e.data??[],r.data??[])}})}buildTransferList(e,r){let i=new Set(r.map(a=>a.condominio_uuid)),s=new Map(e.map(a=>[a.uuid,{title:[a.codigo,a.nome].filter(Boolean).join(" - ")||a.uuid,cnpj:a.cpf_cnpj??null,vgv:a.vgv!=null?Number(a.vgv):null}]));r.forEach(a=>{if(!s.has(a.condominio_uuid))s.set(a.condominio_uuid,{title:[a.codigo,a.nome].filter(Boolean).join(" - ")||a.condominio_uuid,cnpj:a.cpf_cnpj??null,vgv:a.vgv??null});else{let g=s.get(a.condominio_uuid);a.vgv!=null&&(g.vgv=a.vgv),a.cpf_cnpj!=null&&(g.cnpj=a.cpf_cnpj)}}),this.transferList=Array.from(s.entries()).map(([a,{title:g,cnpj:rt,vgv:at}])=>({key:a,title:g,cnpj:rt,vgv:at,direction:i.has(a)?"right":"left"})),this.applyFilter()}onTransferChange(e){let r=e.list.map(s=>s.key);if(!r.length)return;this.isSaving=!0,(e.to==="right"?this.fundosService.addToWhitelist(this.resolvedFundoUuid,r):this.fundosService.removeFromWhitelist(this.resolvedFundoUuid,r)).pipe(_e(()=>this.isSaving=!1)).subscribe({next:s=>{this.message.success(s.message||(e.to==="right"?"Condom\xEDnios adicionados":"Condom\xEDnios removidos"))},error:s=>{let a=Array.isArray(s?.error?.message)?s.error.message.join(" "):s?.error?.message;this.message.error(a||(e.to==="right"?"N\xE3o foi poss\xEDvel adicionar os condom\xEDnios \xE0 whitelist.":"N\xE3o foi poss\xEDvel remover os condom\xEDnios da whitelist.")),this.loadTransfer()}})}onSearch(e){this.searchValue=e,this.applyFilter()}applyFilter(){let e=(this.searchValue||"").trim().toLowerCase();if(!e){this.filteredList=[...this.transferList];return}let r=Ce(e);this.filteredList=this.transferList.filter(i=>{let s=(i.title||"").toLowerCase(),a=(i.cnpj||"").toLowerCase(),g=Ce(a);return s.includes(e)||a.includes(e)||r.length>0&&g.includes(r)})}openEditHeader(){this.headerForm.reset({nome:this.header?.nome??null,descricao:this.header?.de
1scricao??null}),this.headerModalVisible=!0}closeHeaderModal(){this.headerModalVisible=!1}saveHeader(){if(this.headerForm.invalid){this.headerForm.markAllAsTouched();return}this.savingHeader=!0,this.fundosService.updateWhitelistHeader(this.resolvedFundoUuid,{nome:this.headerForm.value.nome,descricao:this.headerForm.value.descricao||null}).subscribe({next:e=>{this.header=e.data,this.message.success(e.message||"Whitelist atualizada"),this.savingHeader=!1,this.headerModalVisible=!1},error:()=>{this.savingHeader=!1}})}back(){this.router.navigate(["/app/fundos"])}static{this.\u0275fac=function(r){return new(r||t)(C(pe),C(Oe),C(X),C(Le),C(De),C(re))}}static{this.\u0275cmp=I({type:t,selectors:[["app-fundo-whitelist"]],inputs:{fundoUuid:"fundoUuid",embedded:"embedded"},standalone:!1,decls:6,vars:4,consts:[["whitelistContent",""],["searchPrefix",""],["renderItem",""],["nzBackIcon","",3,"nzGhost","nzBack",4,"ngIf"],["class","fundo-whitelist-embedded",4,"ngIf"],["nzTitle","Editar whitelist","nzOkText","Salvar","nzCancelText","Cancelar",3,"nzOnCancel","nzOnOk","nzVisible","nzOkLoading"],[4,"nzModalContent"],["nzBackIcon","",3,"nzBack","nzGhost"],["nz-button","","nzType","default",3,"click"],["nz-icon","","nzType","edit","nzTheme","outline"],[4,"ngTemplateOutlet"],[1,"fundo-whitelist-embedded"],[1,"fundo-whitelist-embedded__toolbar"],["class","fundo-whitelist-embedded__description",4,"ngIf"],[1,"fundo-whitelist-embedded__description"],["style","margin-bottom: 16px; color: rgba(0, 0, 0, 0.65)",4,"ngIf"],[3,"nzSpinning"],[2,"margin-bottom","12px",3,"nzPrefix"],["nz-input","","placeholder","Procurar por c\xF3digo, nome ou CNPJ (busca nas duas listas)",3,"input","value"],[2,"display","flex","justify-content","center","width","100%"],[2,"width","100%",3,"nzChange","nzTitles","nzDataSource","nzListStyle","nzRender"],[2,"margin-bottom","16px","color","rgba(0, 0, 0, 0.65)"],["nz-icon","","nzType","search"],["style","color: rgba(0, 0, 0, 0.45)",4,"ngIf"],[2,"color","rgba(0, 0, 0, 0.45)"],["nz-form","","nzLayout","vertical",3,"formGroup"],["nzRequired",""],["nzErrorTip","Informe o nome da whitelist"],["nz-input","","formControlName","nome","placeholder","Nome da whitelist"],["nz-input","","formControlName","descricao","rows","3","placeholder","Descri\xE7\xE3o (opcional)"]],template:function(r,i){if(r&1){let s=v();_(0,Et,9,4,"nz-page-header",3)(1,Tt,7,2,"div",4)(2,Dt,10,11,"ng-template",null,0,N),o(4,"nz-modal",5),z("nzOnCancel",function(){return u(s),f(i.closeHeaderModal())})("nzOnOk",function(){return u(s),f(i.saveHeader())}),_(5,Ot,12,1,"ng-container",6),n()}r&2&&(m("ngIf",!i.embedded),l(),m("ngIf",i.embedded),l(3),m("nzVisible",i.headerModalVisible)("nzOkLoading",i.savingHeader))},dependencies:[M,we,$,H,G,U,q,J,P,W,R,K,Z,Y,Q,te,ee,A,ie,oe,ne,B,j,de,se,le,me,ae,Ze,k],encapsulation:2})}}return t})();function kt(t,p){if(t&1){let e=v();o(0,"span",16),z("click",function(){u(e);let i=c();return f(i.load())}),n()}}function At(t,p){if(t&1){let e=v();o(0,"tr")(1,"td"),d(2),n(),o(3,"td"),d(4),n(),o(5,"td"),d(6),n(),o(7,"td"),d(8),n(),o(9,"td",10),d(10),D(11,"number"),n(),o(12,"td",11)(13,"div",17)(14,"a",18),z("click",function(){let i=u(e).$implicit,s=c();return f(s.openWhitelist(i))}
1),h(15,"span",19),n(),o(16,"a",20),z("click",function(){let i=u(e).$implicit,s=c();return f(s.openEdit(i))}),h(17,"span",21),n(),o(18,"a",22),z("nzOnConfirm",function(){let i=u(e).$implicit,s=c();return f(s.remove(i))}),h(19,"span",23),n()()()()}if(t&2){let e=p.$implicit,r=c();l(2),F(e.nome),l(2),F(e.cpf_cnpj||"-"),l(2),F(r.modoComposicaoLabel(e)),l(2),F(r.modoDesagioLabel(e)),l(2),E(" ",e.percentual_desagio_fixo!=null?O(11,5,e.percentual_desagio_fixo,"1.2-2")+"%":"-"," ")}}function Wt(t,p){if(t&1&&h(0,"nz-option",34),t&2){let e=p.$implicit;m("nzValue",e.value)("nzLabel",e.label)}}function Rt(t,p){if(t&1&&h(0,"nz-option",34),t&2){let e=p.$implicit;m("nzValue",e.value)("nzLabel",e.label)}}function Pt(t,p){t&1&&(o(0,"nz-form-item")(1,"nz-form-label",25),d(2,"Percentual de des\xE1gio fixo"),n(),o(3,"nz-form-control",35),h(4,"nz-input-number",36),n()()),t&2&&(l(4),m("nzMin",0)("nzMax",100)("nzStep",.01))}function jt(t,p){if(t&1&&(V(0),o(1,"form",24)(2,"nz-form-item")(3,"nz-form-label",25),d(4,"Nome"),n(),o(5,"nz-form-control",26),h(6,"input",27),n()(),o(7,"nz-form-item")(8,"nz-form-label"),d(9,"CNPJ"),n(),o(10,"nz-form-control"),h(11,"input",28),n()(),o(12,"nz-form-item")(13,"nz-form-label",25),d(14,"Fluxo de cess\xE3o"),n(),o(15,"nz-form-control")(16,"nz-select",29),_(17,Wt,1,2,"nz-option",30),n()()(),o(18,"nz-form-item")(19,"nz-form-label",25),d(20,"Fluxo de des\xE1gio"),n(),o(21,"nz-form-control")(22,"nz-select",31),_(23,Rt,1,2,"nz-option",30),n()()(),o(24,"nz-form-item")(25,"nz-form-label"),d(26,"Assume responsabilidade pela cobran\xE7a"),n(),o(27,"nz-form-control")(28,"label",32),d(29," Fundo assume a cobran\xE7a das composi\xE7\xF5es cedidas "),n()()(),_(30,Pt,5,3,"nz-form-item",33),n(),y()),t&2){let e=c();l(),m("formGroup",e.form),l(16),m("ngForOf",e.modoComposicaoOptions),l(6),m("ngForOf",e.modoDesagioOptions),l(7),m("ngIf",e.showFixedDesagioField)}}function Bt(t,p){if(t&1&&h(0,"app-fundo-whitelist",38),t&2){let e=c(2);m("fundoUuid",e.selectedFundo.uuid)("embedded",!0)}}function Ht(t,p){if(t&1&&(V(0),_(1,Bt,1,2,"app-fundo-whitelist",37),y()),t&2){let e=c();l(),m("ngIf",e.whitelistModalVisible&&e.selectedFundo)}}var nt=(()=>{class t{constructor(e,r,i){this.fundosService=e,this.fb=r,this.message=i,this.fundos=[],this.isLoading=!1,this.busca="",this.modalVisible=!1,this.whitelistModalVisible=!1,this.selectedFundo=null,this.saving=!1,this.editingFundo=null,this.modoComposicaoOptions=[{label:ce.COBRANCA_A_RECEBER,value:S.COBRANCA_A_RECEBER},{label:ce.BORDERO,value:S.BORDERO},{label:ce.DIVIDA,value:S.DIVIDA}],this.modoDesagioOptions=[{label:ue.FIXO,value:x.FIXO},{label:ue.VARIAVEL,value:x.VARIAVEL},{label:ue.POR_CESSAO,value:x.POR_CESSAO}]}ngOnInit(){this.form=this.fb.group({nome:[null,[T.required]],cnpj:[null],modo_composicao:[S.COBRANCA_A_RECEBER,[T.required]],modo_desagio:[x.VARIAVEL,[T.required]],percentual_desagio_fixo:[null],assume_responsabilidade_cobranca:[!1]}),this.load()}get showFixedDesagioField(){return tt({modo_desagio:this.form?.value?.modo_desagio})}load(){this.isLoading=!0,this.fundosService.list(this.busca).subscribe({next:e=>{this.fundos=e.data??[],this.isLoading=!1},error:()=>{this.isLoading=!1}})}openCreate(){this.editingFundo=null,this.form.reset({modo_composicao:S.COBRANCA_A_RECEBER,modo_desagio:x.VARIAVEL,assume_responsabilidade_cobranca:!1}),this.modalVisible=!0}openEdit(e){this.editingFundo=e,this.form.reset({nome:e.nome,cnpj:e.cpf_cnpj,modo_composicao:e.modo_composicao??S.COBRANCA_A_RECEBER,modo_desagio:e.modo_desagio??x.VARIAVEL,percentual_desagio_fixo:e.percentual_desagio_fixo??null,assume_responsabilidade_cobranca:e.assume_responsabilidade_cobranca??!1}),this.modalVisible=!0}closeModal(){this.modalVisible=!1}save(){if(this.form.invalid){this.form.markAllAsTouched();return}if(this.form.value.modo_desagio===x.FIXO&&this.form.value.percentual_desagio_fixo==null){this.message.error("Fundos com des\xE1gio fixo devem informar o percentual.");return}this.saving=!0;let e={nome:this.form.value.nome,cnpj:this.form.value.cnpj||null,modo_composicao:this.form.value.modo_composicao,modo_desagio:this.form.value.modo_desagio,percentual_desagio_fixo:this.form.value.modo_desagio===x.FIXO&&this.form.value.percentual_desagio_fixo!=null?Number(this.form.value.percentual_desagio_fixo):null,assume_responsabilidade_cobranca:!!this.form.value.assume_responsabilidade_cobranca};(this.editingFundo?this.fundosService.update(this.editingFundo.uuid,e):this.fundosService.create(e)).subscribe({next:i=>{this.message.success(i.message||"Fundo salvo com sucesso"),this.saving=!1,this.modalVisible=!1,this.load()},error:()=>{this.saving=!1}})}remove(e){this.fundosService.remove(e.uuid).subscribe({next:r=>{this.message.success(r.message||"Fundo exclu\xEDdo com sucesso"),this.load()}})}openWhitelist(e){this.selectedFundo=e,this.whitelistModalVisible=!0}closeWhitelistModal(){this.whitelistModalVisible=!1,this.selectedFundo=null}modoComposicaoLabel(e){return et(e.modo_composicao)}modoDesagioLabel(e){return it(e.modo_desagio)}static{this.\u0275fac=function(r){return new(r||t)(C(pe),C(X),C(re))}}static{this.\u0275cmp=I({type:t,selectors:[["app-fundos-list"]],standalone:!1,decls:36,vars:15,consts:[["suffixIcon",""],["tbl",""],[3,"nzGhost"],["nz-button","","nzType","primary",3,"click"],["nz-icon","","nzType","plus","nzTheme","outline"],[2,"margin-bottom","16px","max-width","360px"],[3,"nzSuffix"],["nz-input","","placeholder","Buscar por nome ou CNPJ",3,"ngModelChange","keyup.enter","ngModel"],[3,"nzSpinning"],[3,"nzData","nzFrontPagination","nzPageSize"],["nzAlign","right"],["nzAlign","center"],[4,"ngFor","ngForOf"],["nzOkText","Salvar","nzCancelText","Cancelar",3,"nzOnCancel","nzOnOk","nzVisible","nzTitle","nzOkLoading"],[4,"nzModalContent"],[3,"nzOnCancel","nzVisible","nzTitle","nzWidth","nzFooter"],["nz-icon","","nzType","search",2,"cursor","pointer",3,"click"],[1,"fundo-actions"],["nz-button","","nzType","link","nz-tooltip","","nzTooltipTitle","Whitelist",3,"click"],["nz-icon","","nzType","unordered-list","nzTheme","outline"],["nz-button","","nzType","link","nz-tooltip","","nzTooltipTitle","Editar",3,"click"],["nz-icon","","nzType","edit","nzTheme","outline"],["nz-button","","nzType","link","nzDanger","","nz-tooltip","","nzTooltipTitle","Excluir","nz-popconfirm","","nzPopconfirmTitle","Deseja excluir este fundo?",3,"nzOnConfirm"],["nz-icon","","nzType","delete","nzTheme","outline"],["nz-form","","nzLayout","vertical",3,"formGroup"],["nzRequired",""],["nzErrorTip","Informe o nome do fundo"],["nz-input","","formControlName","nome","placeholder","Nome do fundo"],["nz-input","","formControlName","cnpj","placeholder","CNPJ (opcional)"],["formControlName","modo_composicao","nzPlaceHolder","Selecione o modo"],[3,"nzValue","nzLabel",4,"ngFor","ngForOf"],["formControlName","modo_desagio","nzPlaceHolder","Selecione o fluxo"],["nz-checkbox","","formControlName","assume_responsabilidade_cobranca"],[4,"ngIf"],[3,"nzValue","nzLabel"],["nzErrorTip","Informe o percentual de des\xE1gio fixo"],["formControlName","percentual_desagio_fixo","nzPlaceHolder","Percentual opcional",2,"width","100%",3,"nzMin","nzMax","nzStep"],[3,"fundoUui
1d","embedded",4,"ngIf"],[3,"fundoUuid","embedded"]],template:function(r,i){if(r&1){let s=v();o(0,"nz-page-header",2)(1,"nz-page-header-title"),d(2,"Fundos"),n(),o(3,"nz-page-header-extra")(4,"button",3),z("click",function(){return u(s),f(i.openCreate())}),h(5,"span",4),d(6," Novo fundo "),n()(),o(7,"nz-page-header-content")(8,"div",5)(9,"nz-input-group",6)(10,"input",7),Ne("ngModelChange",function(g){return u(s),Se(i.busca,g)||(i.busca=g),f(g)}),z("keyup.enter",function(){return u(s),f(i.load())}),n()(),_(11,kt,1,0,"ng-template",null,0,N),n(),o(13,"nz-spin",8)(14,"nz-table",9,1)(16,"thead")(17,"tr")(18,"th"),d(19,"Nome"),n(),o(20,"th"),d(21,"CNPJ"),n(),o(22,"th"),d(23,"Fluxo cess\xE3o"),n(),o(24,"th"),d(25,"Fluxo des\xE1gio"),n(),o(26,"th",10),d(27,"% fixo"),n(),o(28,"th",11),d(29,"A\xE7\xF5es"),n()()(),o(30,"tbody"),_(31,At,20,8,"tr",12),n()()()()(),o(32,"nz-modal",13),z("nzOnCancel",function(){return u(s),f(i.closeModal())})("nzOnOk",function(){return u(s),f(i.save())}),_(33,jt,31,4,"ng-container",14),n(),o(34,"nz-modal",15),z("nzOnCancel",function(){return u(s),f(i.closeWhitelistModal())}),_(35,Ht,2,1,"ng-container",14),n()}if(r&2){let s=b(12),a=b(15);m("nzGhost",!1),l(9),m("nzSuffix",s),l(),Ee("ngModel",i.busca),l(3),m("nzSpinning",i.isLoading),l(),m("nzData",i.fundos)("nzFrontPagination",!0)("nzPageSize",20),l(17),m("ngForOf",a.data),l(),m("nzVisible",i.modalVisible)("nzTitle",i.editingFundo?"Editar fundo":"Novo fundo")("nzOkLoading",i.saving),l(2),m("nzVisible",i.whitelistModalVisible)("nzTitle","Whitelist \u2014 "+((i.selectedFundo==null?null:i.selectedFundo.nome)||""))("nzWidth","90vw")("nzFooter",null)}},dependencies:[ye,M,$,H,G,U,Me,q,J,P,W,R,je,K,Z,Y,Q,te,ee,A,ie,oe,ne,Be,B,j,de,se,le,me,Re,Pe,ae,qe,He,Ge,Xe,$e,Je,Ue,We,Ke,fe,k],styles:[".fundo-actions[_ngcontent-%COMP%]{display:inline-flex;align-items:center;justify-content:center;flex-wrap:nowrap;white-space:nowrap;gap:0}"]})}}return t})();var Gt=[{path:"",component:nt,data:{role:ve.FundosListar},canActivate:[ge]},{path:":uuid/whitelist",component:fe,data:{role:ve.FundosWhitelistGerenciar},canActivate:[ge]}],ot=(()=>{class t{static{this.\u0275fac=function(r){return new(r||t)}}static{this.\u0275mod=L({type:t})}static{this.\u0275inj=w({imports:[ze.forChild(Gt),ze]})}}return t})();var bi=(()=>{class t{static{this.\u0275fac=function(r){return new(r||t)}}static{this.\u0275mod=L({type:t})}static{this.\u0275inj=w({imports:[Ie,ot,Ye,ke,Ae,Qe]})}}return t})();export{bi as FundosModule};
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.