1import{ma as j}from"./chunk-D2DXWN37.js";import{L as N}from"./chunk-ZTSILIWW.js";import{V as T,ga as L}from"./chunk-STQRMAKW.js";import{D as w,E as R}from"./chunk-E6SPOSAE.js";import{$a as S,Ab as t,Bb as m,Cb as o,Cc as B,Fc as I,Ga as g,Hc as h,Jc as D,Ma as f,Pa as v,Vb as r,Xb as l,Ya as y,Yb as s,_ as b,_a as C,ab as z,ag as M,bb as n,cb as e,db as _,mb as E,xa as i}from"./chunk-CECBUGKR.js";function A(c,u){if(c&1&&(n(0,"p"),t(1),e()),c&2){let p=u.$implicit;i(),m(p)}}function F(c,u){if(c&1&&S(0,A,2,1,"p",null,C),c&2){let p=E();z(p.descontosFormatados)}}function P(c,u){if(c&1&&(n(0,"p")(1,"nz-tag",12),t(2),e(),t(3),r(4,"date"),e()),c&2){let p=E();i(),v("nzColor",p.cobranca.desconto_aplicado?"green":"red"),i(),m(p.cobranca.desconto_aplicado?"Aplicado":"N\xE3o aplicado"),i(),o(" Valido at\xE9: ",p.cobranca.data_desconto!==null?s(4,3,p.cobranca.data_desconto,"dd/MM/yyyy","utc"):"N\xE3o informado"," ")}}var Q=(()=>{class c{constructor(){this.nzData=b(M)}get descontosFormatados(){return this.cobranca?.multiplos_descontos?N(this.cobranca.descontos):[]}ngOnInit(){this.cobranca=this.nzData.selectedCharge,this.remessa={remessa_nsu:this.cobranca.remessa_nsu,data_remessa:this.cobranca.data_remessa}}static{this.\u0275fac=function(d){return new(d||c)}}static{this.\u0275cmp=g({type:c,selectors:[["app-charge-detail"]],decls:108,vars:64,consts:[[2,"margin","10px 0 0 20px","padding","0"],["nzSpan","12"],["nzSpan","24"],["nzSpan","12",2,"display","flex","flex-direction","column"],[2,"flex-grow","1"],[2,"font-size","larger"],["nzSpan","12",2,"display","flex","justify-content","flex-end","align-items","center"],[3,"remittance"],["nzSpan","24",2,"margin-right","30px"],[1,"form-subtitle"],[1,"between"],[2,"font-size","small"],[3,"nzColor"]],template:function(d,a){if(d&1&&(n(0,"div")(1,"nz-col",0)(2,"nz-row")(3,"nz-col",1)(4,"nz-row",2)(5,"nz-col",3),_(6,"div",4),n(7,"p",5),t(8),e()()(),n(9,"nz-row",2)(10,"nz-col",2)(11,"p")(12,"strong"),t(13,"Unidade:"),e(),t(14),e()()(),n(15,"nz-row",2)(16,"nz-col",2)(17,"p")(18,"strong"),t(19,"Compet\xEAncia:"),e(),t(20),r(21,"date"),e()()(),n(22,"nz-row",2)(23,"nz-col",2)(24,"p")(25,"strong"),t(26,"Vencimento:"),e(),t(27),r(28,"date"),e()()(),n(29,"nz-row",2)(30,"nz-col",2)(31,"p")(32,"strong"),t(33,"Observa\xE7\xE3o:"),e(),t(34),e()()()(),n(35,"nz-col",6),_(36,"app-remittance-card",7),e()(),n(37,"nz-col",8)(38,"h2",9),t(39,"Valores Calculados"),e(),n(40,"div",10)(41,"p")(42,"strong"),t(43,"Valor Principal:"),e()(),n(44,"p"),t(45),r(46,"currency"),e()(),n(47,"div",10)(48,"div")(49,"strong"),t(50,"Desconto:"),e(),n(51,"div",11),f(52,F,2,0)(53,P,5,7,"p"),e()(),n(54,"p"),t(55),r(56,"currency"),e()(),n(57,"div",10)(58,"p")(59,"strong"),t(60,"Multa "),e(),t(61),r(62,"number"),e(),n(63,"p"),t(64),r(65,"currency"),e()(),n(66,"div",10)(67,"p")(68,"strong"),t(69,"Encargo administrativo "),e(),t(70),r(71,"number"),e(),n(72,"p"),t(73),r(74,"currency"),e()(),n(75,"div",10)(76,"p")(77,"strong"),t(78,"Juros "),e(),t(79),r(80,"number"),e(),n(81,"p"),t(82),r(83,"currency"),e()(),n(84,"div",10)(85,"p")(86,"strong"),t(87,"Corre\xE7\xE3o Monet\xE1ria "),e(),t(88),e(),n(89,"p"),t(90),r(91,"currency"),e()(),n(92,"div",10)(93,"p")(94,"strong"),t(95,"Honor\xE1rios "),e(),t(96),r(97,"number"),e(),n(98,"p"),t(99),r(100,"currency"),e()(),n(101,"div",10)(102,"p")(103,"strong"),t(104,"Valor Total:"),e()(),n(105,"p"),t(106),r(107,"currency"),e()()()()()),d&2){let x;i(8),m(a.cobranca.condominio),i(6),o(" ",a.cobranca.cod_unidade,""),i(6),o(" ",s(21,20,a.cobranca.competencia,"MM/yyyy","UTC"),""),i(7),o(" ",a.cobranca.data_vencimento!==null?s(28,24,a.cobranca.data_vencimento,"dd/MM/yyyy","UTC"):"N\xE3o informado"," "),i(7),o(" ",(x=a.cobranca.recebimento_observacao)!==null&&x!==void 0?x:"-"," "),i(2),v("remittance",a.remessa),i(9),o("",l(46,28,a.cobranca.valor,"BRL")," ( )"),i(7),y(a.descontosFormatados.length?52:53),i(3),o("",l(56,31,a.cobranca.desconto_a_conceder,"BRL")," (-)"),i(6),o("(",l(62,34,a.cobranca.multa_a_cobrar,".2-2"),"%):"),i(3),o("",l(65,37,a.cobranca.multa_calculada,"BRL")," (+)"),i(6),o("(",l(71,40,a.cobranca.encargo_administrativo,".2-2"),"%):"),i(3),o("",l(74,43,a.cobranca.encargo_administrativo_calculado,"BRL")," (+)"),i(6),o("(",l(80,46,a.cobranca.juros_a_cobrar,".2-2"),"%):"),i(3),o("",l(83,49,a.cobranca.juros_calculado,"BRL")," (+)"),i(6),o("(",a.cobranca.indice_descricao,"):"),i(2),o("",l(91,52,a.cobranca.correcao_monetaria_calculada,"BRL")," (+)"),i(6),o("(",l(97,55,a.cobranca.honorario_juridico,".2-2"),"%):"),i(3),o("",l(100,58,a.cobranca.honorarios_calculado,"BRL")," (+)"),i(7),o("",l(107,61,a.cobranca.total_calculado,"BRL")," (=)")}},dependencies:[D,I,h,B,L,R,w,T,j],styles:[".between[_ngcontent-%COMP%]{display:flex;justify-content:space-between}"]})}}return c})();export{Q as a};
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.