PageSourceSearch

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

js bancosemear.com.br collected 2026-10-08 22:13:41 UTC 3,701 bytes, 1 lines download raw bytes

1import{m as A,u as w,d as F,z as k,D as I,C as E,S as B,as as T,at as L,A as x,e as O,au as V,E as j}from"./index-453a7162.js";import{B as N}from"./index-c264122e.js";import{S as X,C as q}from"./index-b6225569.js";import{D as z}from"./index-756a4402.js";import{P as H}from"./index-add2379b.js";import{h as v}from"./moment-5b800d6b.js";import{R as e}from"./vendor-066f6287.js";import{a as $}from"./actions-b1014806.js";import{a as G,F as s,j as D,k as C,g as l,B as J,b as K}from"./antd-d969e2de.js";import"./@ebay/nice-modal-react-91f8512e.js";import"./@fingerprintjs/botd-055988ee.js";import"./@front-netbanking/client-b971c1a5.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";const{Option:Y}=K,Ee=A(()=>{const{pdf:y}=w(),{t:a,language:R}=F(),{data:r}=k(),{control:c,getValues:i,handleSubmit:h}=I({defaultValues:{tipo:"A",formato:"P"}}),[M,d]=e.useState(!1),[S,p]=e.useState(!1),[o,_]=e.useState([void 0,void 0]),b=async()=>{var t,n,u,f;d(!0);try{if(i("formato")==="P")await y.getPDF({dataInicio:o[0]?(t=o[0])==null?void 0:t.format("YYYY-MM-DD"):"",dataFim:o[1]?(n=o[1])==null?void 0:n.format("YYYY-MM-DD"):"",tipoRelatorio:i("tipo"),formatoRelatorio:i("formato")},a,T.RELATORIO_MOVIMENTACAO_DIARIA,r),p(!0);else{const m=await $({codAgencia:r.codAgencia,codColigada:r.codColigada,nroConta:r.nroConta,dataInicio:o[0]?(u=o[0])==null?void 0:u.format("YYYY-MM-DD"):"",dataFim:o[1]?(f=o[1])==null?void 0:f.format("YYYY-MM-DD"):"",tipoRelatorio:i("tipo"),formatoRelatorio:i("formato")});L(m.relatorio,`${a("movimentacoes_diarias.relatorio_movimentacao_diaria")}${v().format("YYYYMMDDHHmmss")}.xls`)}}catch(m){const g=m;g.name!==x&&O(g,R).then(V(P=>{j({title:a("constantes.titulo_erro"),error:P})}))}finally{d(!1)}};return e.createElement(X,null,e.createElement(q,{id:"movimentacoesDiarias",type:"primary",title:a("movimentacoes_diarias.titulo")},e.createElement(G,{size:"small",spinning:M},e.createElement(s,{onFinish:()=>h(b)()},e.createElement(D,{style:{marginBlockEnd:20}},e.createElement(C,{style:{width:400,paddingTop:8,paddingBlockEnd:20,marginRight:20}},e.createElement(s.Item,{label:a("movimentacoes_diarias.tipo.titulo"),style:{marginTop:2}},e.createElement(E,{control:c,name:"tipo",render:({field:t})=>e.createElement(B,{value:t.value,onChange:t.onChange,id:"selectTipo",style:{width:200}},e.createElement(Y,{value:"A"},a("movimentacoes_diarias.tipo.analitico")),e.createElement(Y,{value:"S"},a("movimentacoes_diarias.tipo.sintetico")))})),e.createElement(s.Item,{className:"mb-0 dateRangePickerContainer",label:a("movimentacoes_diarias.periodo"),style:{paddingTop:3}},e.createElement("div",{id:"dateRangePicker"},e.createElement(z,{onChange:t=>_(t),allowClear:!0,value:o,disabledStartDate:t=>t.isBefore(v().subtract(1,"day"))})))),e.createElement(C,{style:{width:250}},e.createElement("div",null,e.createElement(N,{title:a("movimentacoes_diarias.label_formato_arquivo")},e.createElement(E,{control:c,name:"formato",render:({field:t})=>e.createElement(l.Group,{value:t.value,onChange:n=>t.onChange(n.target.value),style:{display:"flex",justifyContent:"center",marginBottom:12,marginLeft:10}},e.createElement(l,{value:"P"},"PDF"),e.createElement(l,{value:"X"},"XLS"))}))))),e.createElement(D,{justify:"end",className:"mob-row-center mt-1"},e.createElement(J,{id:"emitir",type:"primary",htmlType:"submit"},a("botoes.exibir")))))),e.createElement(H,{title:a("movimentacoes_diarias.titulo_pdf"),open:S,onClose:()=>p(!1)}))});export{Ee as MovimentacoesDiarias};

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.