PageSourceSearch

https://netbankingpf.bancosemear.com.br/assets/index-a4e9c323.js

js bancosemear.com.br collected 2026-10-08 22:14:14 UTC 9,719 bytes, 1 lines download raw bytes

1import{c_ as k}from"./@front-netbanking/client-b971c1a5.js";import{m as g,d as _,c0 as D,ar as h,j as s,L as E,c1 as j,c2 as I,c3 as A,J as q,e as L,E as M}from"./index-453a7162.js";import{u as V}from"./useSacEletronico-d5957fe6.js";import{I as v,T as Y,S as F,C as z}from"./index-b6225569.js";import{h as S}from"./moment-5b800d6b.js";import{R as e,r as u}from"./vendor-066f6287.js";import{B as y}from"./index-c264122e.js";import{B,a as $,h as T}from"./antd-d969e2de.js";import{P as R}from"./PesquisaTitulosForm-97b9fcdd.js";import"./@ebay/nice-modal-react-91f8512e.js";import"./@fingerprintjs/botd-055988ee.js";import"./react-cookie-54c1b100.js";import"./@ant-design/icons-dca6d2e1.js";import"./mobx-react-d065d33f.js";import"./@tanstack/react-query-68efc2d4.js";import"./webfontloader-2e22f911.js";import"./zod-fe37dbbf.js";import"./uuid-557b7b54.js";import"./@vitejs/plugin-react-213fa5e4.js";import"./index-756a4402.js";const J=g(({titulo:t,onVoltar:n})=>{var d,r,l,m,p,f,w;const{t:a}=_();return e.createElement(e.Fragment,null,e.createElement("div",{className:"flex-row-wrap-left mob-column-start",style:{columnGap:20,rowGap:10,marginBottom:4}},e.createElement("div",{style:{width:210}},e.createElement(v,{id:"num-identificacao",direction:"column",primary:{content:a("dda.numero_identificacao_dda"),bold:!1},secondary:{content:((d=t.numIdentcDDA)==null?void 0:d.toString())||"-"},noSpaceBetween:!0})),e.createElement("div",{style:{width:100}},e.createElement(v,{id:"nosso-numero",direction:"column",primary:{content:a("dda.nosso_numero"),bold:!1},secondary:{content:t.identNossoNumero||"-"},noSpaceBetween:!0}))),e.createElement(y,{title:a("dda.dados_cedente")},e.createElement("div",{className:"flex-row-wrap-left mob-column-start",style:{columnGap:20,rowGap:20,marginBottom:10}},e.createElement(o,{id:"tipo-pessoa-cedente",title:a("dda.tipo_pessoa"),dado:((r=D(a).find(c=>c.key===t.tipoPesCedente))==null?void 0:r.label)||"-",width:190}),e.createElement(o,{id:"cpf-cnpj-cedente",title:a("dda.cpf_cnpj"),dado:h(t.cnpjCpfCedente)||"-",width:200}),e.createElement(o,{id:"nome-razao-social-cedente",title:a("dda.nome_razao_social"),dado:t.nomeCedente||"-"}))),e.createElement(y,{title:a("dda.dados_sacado_eletronico")},e.createElement("div",{className:"flex-row-wrap-left mob-column-start",style:{columnGap:20,rowGap:20,marginBottom:20}},e.createElement(o,{id:"tipo-pessoa-sacado",title:a("dda.tipo_pessoa"),dado:((l=D(a).find(c=>c.key===t.tipoPesSacado))==null?void 0:l.label)||"-",width:190}),e.createElement(o,{id:"cpf-cnpj-sacado",title:a("dda.cpf_cnpj"),dado:h(t.cnpjCpfSacado)||"-",width:200}),e.createElement(o,{id:"nome-razao-social-sacado",title:a("dda.nome_razao_social"),dado:t.nomeSacado||"-"})),e.createElement("div",{className:"flex-row-wrap-left mob-column-start",style:{columnGap:20,rowGap:20,marginBottom:10}},e.createElement(o,{id:"endereco-sacado",title:a("dda.endereco"),dado:t.endSacado||"-",width:410}),e.createElement(o,{id:"cidade-sacado",title:a("dda.cidade"),dado:t.cidSacado||"-",width:250}))),e.createElement(y,{title:a("dda.dados_titulo")},e.createElement("div",{className:"flex-row-wrap-left mob-column-start",style:{columnGap:20,rowGap:20,marginBottom:20}},e.createElement(o,{id:"codigo-titulo",title:a("dda.codigo_carteira_titulo"),dado:t.codCarteira||"-",width:410}),e.createElement(o,{id:"codigo-cnab",title:a("dda.codigo_moeda_cnab"),dado:t.codMoedaCnab||"-",width:250})),e.createElement("div",{className:"flex-row-wrap-left mob-column-start",style:{columnGap:20,rowGap:20,marginBottom:20}},e.createElement(o,{id:"num-documento",title:a("dda.numero_documento"),dado:((m=t.numIdentcDDA)==null?void 0:m.toString())||"-",width:190}),e.createElement(o,{id:"codigo-especie",title:a("dda.codigo_especie"),dado:t.codEspecieDoc||"-",width:200})),e.createElement("div",{className:"flex-row-wrap-left mob-column-start",style:{columnGap:20,rowGap:20,marginBottom:20}},e.createElement(o,{id:"valor",title:a("dda.valor_de"),dado:t.vlrTitulo?s(t.vlrTitulo):"-",width:190}),e.createElement(o,{id:"quantidade-dias",title:a("dda.quantidade_dias_protesto"),dado:((p=t.qtdeDiasProtesto)==null?void 0:p.toString())||"-",width:200}),e.createElement(o,{id:"valor-desconto",title:a("dda.valor_desconto"),dado:t.vlrAbatimento?s(t.vlrAbatimento):"-",width:150}),e.createElement(o,{id:"data-vencimento",title:a("dda.data_vencimento"),dado:E(t.dataVencimento)||"-",width:150}),e.createElement(o,{id:"data-limite",title:a("dda.data_limite_pagamento"),dado:E(t.dataLimPagto)||"-",width:150})),e.createElement("div",{className:"flex-row-wrap-left mob-column-start",style:{columnGap:20,rowGap:20,marginBottom:20}},e.createElement(o,{id:"tipo-pagamento",title:a("dda.tipo_pagamento"),dado:((f=j(a).find(c=>c.key===t.tipoPagto))==null?void 0:f.label)||"-",width:190}),e.createElement(o,{id:"data-emissao",title:a("dda.data_emissao"),dado:E(t.dataEmissao)||"-",width:200}),e.createElement(o,{id:"indicador-titulo",title:a("dda.indicador_titulo_negociado"),dado:t.
1indTituloNegociado?"S - Sim":"N - Não",width:200})),e.createElement("div",{className:"flex-row-wrap-left mob-column-start",style:{columnGap:20,rowGap:20,marginBottom:20}},e.createElement(o,{id:"valor-minimo",title:a("dda.valor_minimo"),dado:t.vlrMinTitulo?s(t.vlrMinTitulo):"-",width:190}),e.createElement(o,{id:"valor-maximo",title:a("dda.valor_maximo"),dado:t.vlrMaxTitulo?s(t.vlrMaxTitulo):"-",width:200}),e.createElement(o,{id:"valor-abatimento",title:a("dda.valor_abatimento"),dado:t.vlrAbatimento?s(t.vlrAbatimento):"-",width:150}),e.createElement(o,{id:"aceite",title:a("dda.aceite"),dado:t.aceite?`${a("dda.sim")}`:`${a("dda.nao")}`,width:150}),e.createElement(o,{id:"data-aceite",title:a("dda.data_aceite"),dado:E(t.dataAceite)||"-",width:150})),e.createElement("div",{className:"flex-row-wrap-left mob-column-start",style:{columnGap:20,rowGap:20,marginBottom:20}},e.createElement(o,{id:"situacao-titulo",title:a("dda.situacao_titulo"),dado:I(a).get(t.sitPagamento)||"-",width:410}),e.createElement(o,{id:"tipo-baixa",title:a("dda.tipo_baixa"),dado:((w=A(a).find(c=>c.key===t.tipoBaixa))==null?void 0:w.label)||"-",width:250})),e.createElement("div",{className:"flex-row-wrap-left mob-column-start",style:{columnGap:20,rowGap:20,marginBottom:10}},e.createElement(o,{id:"bloquado",title:a("dda.bloqueado"),dado:t.indBloqueio?"Sim":"Não",width:190}),e.createElement(o,{id:"sistema-bloqueando",title:a("dda.sistema_bloqueando"),dado:t.indBloqueio&&t.codSisLegado?t.codSisLegado:"-",width:200}))),e.createElement("div",{className:"flex-row-end mob-row-center mt-2"},e.createElement(B,{id:"btn-voltar",onClick:()=>n(),type:"primary"},a("botoes.voltar"))))}),o=g(t=>e.createElement("div",{style:{width:t.width}},e.createElement(v,{id:t.id,direction:"column",primary:{content:t.title,bold:!1},secondary:{content:t.dado},noSpaceBetween:!0}))),K=t=>{const{t:n}=_();let a=[{title:n("dda.cpf_cnpj_sacado"),dataIndex:"cnpjCpfSacado",key:"cnpjCpfSacado",render:d=>({children:h(d||"")})},{title:n("dda.nome_sacado"),dataIndex:"nomeSacado",key:"nomeSacado",render:d=>({children:d})},{title:n("dda.banco_cedente"),dataIndex:"codIfCedente",key:"codIfCedente",render:d=>({children:d})},{title:n("dda.cpf_cnpj_cedente"),dataIndex:"cnpjCpfCedente",key:"cnpjCpfCedente",render:d=>({children:h(d||"")})},{title:n("dda.nome_cedente"),dataIndex:"nomeCedente",key:"nomeCedente",render:d=>({children:d})},{title:n("dda.num_id_dda"),dataIndex:"numIdentcDDA",key:"numID",render:(d,r)=>({children:e.createElement(B,{id:"btn-detalhes",className:"p-0 button-word-break",type:"link",onClick:()=>t.detalhes(r)},d)})},{title:n("dda.data_vencimento"),dataIndex:"dataVencimento",key:"dataVencimento",defaultSortOrder:"ascend",sortDirections:["ascend","descend"],sorter:{compare:(d,r)=>S(d.dataVencimento).diff(r.dataVencimento),multiple:1},render:d=>({children:E(d)})},{title:n("dda.valor"),dataIndex:"vlrTitulo",align:"right",key:"vlrTitulo",render:d=>({children:s(d,"")})},{title:n("dda.situacao_titulo"),dataIndex:"sitPagamento",key:"sitPagamento",render:d=>({children:I(n).get(d)||"-"})}];return e.createElement(Y,{size:"small",columns:a,dataSource:t.data,bordered:!0,rowKey:d=>`${d.numIdentcDDA}`,hidePagination:!0,className:"tableConsultaTitulo"})},Ee=g(()=>{const{t,language:n}=_(),{data:a,...d}=V(n),[r,l]=u.useState(!1),[m,p]=u.useState([]),[f,w]=u.useState(),[c,C]=u.useState(!1),[G,x]=u.useState(!1),N=async i=>{try{C(!0),x(!1),p([]);const{data:b}=await k({cnpjCpfCedente:i.cpfCnpjCedente?q(i.cpfCnpjCedente):void 0,tipoPesCedente:i.tipoPessoaCedente.length===0?void 0:i.tipoPessoaCedente,codSituacao:i.situacaoPagamento,dataVencIni:i.dataInicio?S(i.dataInicio).format("YYYY-MM-DD"):void 0,dataVencFim:i.dataFim?S(i.dataFim).format("YYYY-MM-DD"):void 0});p(b)}catch(b){L(b,n).then(P=>{M({title:t("constantes.titulo_erro"),error:P})})}finally{C(!1),x(!0)}};return e.createElement(F,{size:"md"},e.createElement(z,{type:"primary",title:t("dda.consulta_titulos"),id:"consulta-titulos"},e.createElement($,{spinning:d.isLoading||c},r?e.createElement(J,{titulo:f||{},onVoltar:()=>l(!1)}):e.createElement(O,{isError:d.isError,error:d.error,listaTitulos:m,doPesquisa:G,onSubmit:N,onClickDetalhes:i=>{w(i),l(!0)}}))))}),O=g(({isError:t,error:n,onSubmit:a,listaTitulos:d,doPesquisa:r,onClickDetalhes:l})=>{const{t:m}=_();return e.createElement(e.Fragment,null,t?e.createElement(T,{type:"error",message:n==null?void 0:n.message,showIcon:!0}):e.createElement(e.Fragment,null,e.createElement(R,{onSubmit:a,enableSituacao:!0}),d.length?e.createElement("div",{style:{marginTop:25}},e.createElement(K,{data:d,detalhes:l})):r&&e.createElement("div",{className:"mt-2"},e.createElement(T,{type:"warning",message:m("dda.nenhum_registro_encontrado")}))))});
1export{Ee as ConsultaTitulos};

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.