From a1883a025ce47e077865bf83adaf295b8e0c4cff Mon Sep 17 00:00:00 2001 From: unknown Date: Mon, 12 Dec 2022 15:39:11 -0600 Subject: [PATCH] segundo commit --- .gitignore | 23 + .vscode/extensions.json | 7 + cypress.config.ts | 12 + cypress/e2e/1-getting-started/todo.cy.js | 143 + cypress/e2e/2-advanced-examples/actions.cy.js | 299 + .../e2e/2-advanced-examples/aliasing.cy.js | 39 + .../e2e/2-advanced-examples/assertions.cy.js | 176 + .../e2e/2-advanced-examples/connectors.cy.js | 97 + cypress/e2e/2-advanced-examples/cookies.cy.js | 77 + .../e2e/2-advanced-examples/cypress_api.cy.js | 200 + cypress/e2e/2-advanced-examples/files.cy.js | 87 + .../2-advanced-examples/local_storage.cy.js | 52 + .../e2e/2-advanced-examples/location.cy.js | 32 + cypress/e2e/2-advanced-examples/misc.cy.js | 104 + .../e2e/2-advanced-examples/navigation.cy.js | 56 + .../network_requests.cy.js | 163 + .../e2e/2-advanced-examples/querying.cy.js | 114 + .../spies_stubs_clocks.cy.js | 203 + .../e2e/2-advanced-examples/traversal.cy.js | 121 + .../e2e/2-advanced-examples/utilities.cy.js | 108 + .../e2e/2-advanced-examples/viewport.cy.js | 59 + cypress/e2e/2-advanced-examples/waiting.cy.js | 31 + cypress/e2e/2-advanced-examples/window.cy.js | 22 + .../evitaDuplicidadFacturas.cy.js | 36 + .../evitaDuplicidadFacturasTerceros.cy.js | 43 + cypress/e2e/GEMCO/Heineken/newTraffic.cy.js | 60 + cypress/e2e/login.cy.ts | 13 + cypress/fixtures/example.json | 5 + cypress/support/commands.ts | 37 + cypress/support/e2e.ts | 21 + package-lock.json | 27528 ++++++++++++++++ package.json | 88 + public/favicon.ico | Bin 0 -> 232382 bytes public/index.html | 43 + public/logo192.png | Bin 0 -> 5347 bytes public/logo512.png | Bin 0 -> 9664 bytes public/manifest.json | 25 + public/robots.txt | 3 + src/.prettierrc.json | 7 + src/App.css | 38 + src/App.tsx | 120 + .../Corresponsales/CCorresponsalesTrafico.ts | 181 + .../AgenciaAduanal/AvisoCruce/AvisoCruce.tsx | 276 + src/Components/Bodega/FotosBodega.tsx | 149 + src/Components/Bodega/QRScanner.tsx | 38 + .../CatCorresponsales/CatCorresponsales.tsx | 375 + .../ControlledInput/ControlledInput.tsx | 114 + .../Catalogos/CatTabulador/CatTabulador.tsx | 501 + .../CasaCuervo/PDFs/FormatoRevision.tsx | 253 + .../ControlledInput/ControlledInput.tsx | 106 + .../CasaCuervo/Reportes/RptPedidos.tsx | 1222 + .../Heineken/Components/CmbArchivos.tsx | 105 + .../Interfaces/I2206EmbarquesMensual.ts | 27 + .../Interfaces/I2206EmbarquesPorImportar.ts | 50 + .../Interfaces/I2206ExpedienteDigital.ts | 5 + .../Heineken/Interfaces/I2206FacturasTxt.ts | 46 + .../Reportes/RptEmbarquesXImportar.tsx | 331 + .../Heineken/Reportes/RptEmbarquesxMes.tsx | 168 + .../Reportes/RptExpedienteDigital.tsx | 234 + .../Heineken/Services/Heineken.Services.ts | 33 + .../Catalogos/Cat1868Destinos.tsx | 189 + .../Catalogos/Cat1868Responsables.tsx | 162 + .../ZincInternacional/DTO/DTO1868Clientes.ts | 3 + .../ZincInternacional/DTO/DTO1868Factura.ts | 9 + .../DTO/DTO1868FacturaDetalle.ts | 5 + .../DTO/DTO1868ReporteFactura.ts | 37 + .../ZincInternacional/DTO/DTO1868SCACCAAT.ts | 5 + .../DTO/DTO1868Transportista.ts | 27 + .../ZincInternacional/DTO/DTORespuesta.ts | 3 + .../Expandible/Expandible.tsx | 9 + .../Interfaces/I1868CatClaveSAT.ts | 6 + .../Interfaces/I1868CatDestinos.ts | 5 + .../Interfaces/I1868CatResponsables.ts | 4 + .../Interfaces/I1868Factura.ts | 29 + .../Interfaces/I1868FacturaDetalle.ts | 19 + .../ZincInternacional/Rpt1868Facturas.tsx | 1053 + .../Rpt1868FacturasDetalle.tsx | 257 + .../Services/Facturas.Services.ts | 68 + .../Transportistas/Rtp1868Transportista.tsx | 531 + .../Corresponsales/Anticipos/Anticipos.tsx | 614 + .../CatProveedores/CatProveedores.tsx | 269 + .../ControlledInput/ControlledInput.tsx | 77 + .../Contenedores/Contenedores.tsx | 252 + .../ControlledInput/ControlledInput.tsx | 79 + .../Contenedores/SelectContainer.tsx | 326 + .../CuentasComplementarias.tsx | 569 + .../SelectEstatus/SelectEstatus.tsx | 85 + .../Corresponsales/Guias/SelectGuias.tsx | 190 + .../ControlledInput/ControlledInput.tsx | 110 + .../PagosTerceros/PagosTerceros.tsx | 365 + .../Partidas/Dialog/DialogBox.tsx | 308 + .../Corresponsales/Partidas/Partidas.tsx | 270 + .../ControlledInput/ControlledInput.tsx | 148 + .../ProveedorFactura/ProveedorFactura.tsx | 426 + .../Rectificaciones/Rectificaciones.tsx | 180 + .../Corresponsales/Tabulador/Tabulador.tsx | 314 + .../Corresponsales/TraficoCorresponsales.tsx | 3322 ++ src/Components/Dashboard/Dashboard.tsx | 42 + .../Dashboard/DashboardContabilidad.tsx | 116 + .../Dashboard/DashboardCorresponsales.tsx | 160 + .../Dashboard/DashboardFacturacion.tsx | 56 + src/Components/Dashboard/Heineken1.tsx | 231 + .../Anexo/RptConsolidadosSinCerrar.tsx | 117 + .../Facturacion/Anexo/RptRelacionAlen.tsx | 311 + .../Facturacion/Anexo/RptRelacionMission.tsx | 276 + src/Components/Home/home.tsx | 77 + src/Components/Login/login.tsx | 162 + src/Components/Logout/logout.tsx | 21 + src/Components/MenuUsuario/MenuUsuario.tsx | 37 + src/Components/Register/UserList/UserList.tsx | 221 + .../Register/admonPerfiles/AdmonPerfiles.tsx | 258 + .../nuevoItemMenu/NuevoItemMenu.tsx | 193 + .../admonPerfiles/nuevoPerfil/NuevoPerfil.tsx | 125 + src/Components/Register/register.tsx | 1382 + .../Reportes/ArchivoElectronico/DialogAE.tsx | 178 + .../Reportes/RptArchivoElectronicoOficial.tsx | 359 + src/Components/Reportes/RptBattery.tsx | 224 + .../Reportes/RptControlDocumentosClientes.tsx | 86 + .../Reportes/RptCorresponsalesTraficos.tsx | 516 + .../Reportes/RptCorresponsalesTraficosHst.tsx | 519 + src/Components/Reportes/RptDetalleAnexo24.tsx | 447 + .../Reportes/RptFacturasTxtHeineken.tsx | 465 + src/Components/Reportes/RptOperaciones.tsx | 318 + .../Reportes/RptOperacionesConsolidadas.tsx | 351 + .../Reportes/RptOperacionesDiarias.tsx | 297 + .../Reportes/RptOperacionesRemesa.tsx | 60 + .../Reportes/RptPedimentosConsolidados.tsx | 407 + .../Reportes/RptPedimentosPagados.tsx | 582 + .../RptPedimentosPagadosImpuestos.tsx | 538 + .../Reportes/customCells/ProcessStatus.tsx | 36 + .../Reportes/customCells/VerPDFv2.tsx | 53 + .../Reportes/customCells/progressBar.tsx | 31 + .../Reportes/customCells/verDocumentos.tsx | 26 + .../Reportes/customCells/verPDF.tsx | 18 + src/Components/Submenu/Submenu.tsx | 62 + .../Utils/ControlledInput/ControlledInput.tsx | 51 + .../Utils/FileManager/FileManager.tsx | 245 + .../Utils/MFileManager/MFileManager.tsx | 326 + src/Components/Utils/Toast/msgInformativo.tsx | 51 + .../asignacionPerfil/asignacionPerfil.tsx | 43 + src/Components/privateRoute/privateRoute.tsx | 25 + .../registerPermisoClientes.tsx | 125 + .../resetCredentials/resetCredentials.tsx | 99 + src/Constants/TargetURL.ts | 7 + .../CasaCuervo/DTO325AduanasPedidos.ts | 4 + .../CasaCuervo/DTO325UpdateFromWeb.ts | 14 + src/DTO/Clientes/CasaCuervo/DTORptPedidos.ts | 5 + .../Corresponsales/DTOAnticiposAutoriza.ts | 4 + .../DTOCorresponsalFacturaProveedor.ts | 7 + .../DTOCorresponsalFacturasTerceros.ts | 6 + .../Corresponsales/DTOCorresponsalTrafico.ts | 40 + .../Corresponsales/DTOCuentaComplementaria.ts | 5 + .../DTOCuentaComplementariaEstatus.ts | 4 + src/DTO/Corresponsales/DTOItems.ts | 4 + ...DTOLogCorresponsalComplementariaEstatus.ts | 5 + .../DTORptCorresponsalesTraficos.ts | 9 + src/DTO/Corresponsales/DTOTraficoCompleto.ts | 6 + src/DTO/DTOAEPeriodo.ts | 7 + src/DTO/DTOClienteTransportita.ts | 5 + src/DTO/DTOClonarUsuario.ts | 4 + src/DTO/DTOItemMenuPerfil.ts | 5 + src/DTO/DTOPerfilCreate.ts | 4 + src/DTO/DTOReporte.ts | 7 + src/DTO/DTOUsuario.ts | 4 + src/DTO/DTOUsuarioCliente.ts | 5 + src/DTO/DTOUsuariosShort.ts | 4 + src/DTO/DTOasignaClienteProveedor.ts | 6 + src/DTO/DTOgetArchivosPorReferencia.ts | 8 + src/DTO/DTOgetThesePedimentos.ts | 8 + src/DTO/DTOid.ts | 3 + .../Anexo/DTOAnexoFacturacionAlen.ts | 7 + .../Anexo/DTOAnexoFacturacionMission.ts | 8 + src/DTO/Utils/DTOConceptos.ts | 4 + .../Catalogos/ICatCorresponsales.ts | 7 + src/Interfaces/Catalogos/ICatProveedores.ts | 5 + src/Interfaces/Catalogos/IClientes.ts | 5 + src/Interfaces/Catalogos/IItemMenu.ts | 7 + src/Interfaces/Catalogos/IPerfiles.ts | 4 + src/Interfaces/Catalogos/IProveedores.ts | 8 + src/Interfaces/Catalogos/ITabulador.ts | 5 + .../Catalogos/ITabuladorConceptos.ts | 8 + src/Interfaces/Catalogos/ITransportitas.ts | 7 + src/Interfaces/Catalogos/IUsuarios.ts | 11 + .../Clientes/CasaCuervo/I325Pedidos.ts | 26 + .../Corresponsales/ICorresponsalAnticipos.ts | 15 + .../Corresponsales/ICorresponsalCatAduanas.ts | 6 + .../ICorresponsalCatDestinos.ts | 5 + .../ICorresponsalCatMediosEmbarque.ts | 4 + .../ICorresponsalCatTipoDocumento.ts | 7 + .../ICorresponsalContenedores.ts | 8 + ...CorresponsalCuentaComplementariaEstatus.ts | 4 + .../ICorresponsalCuentasComplementarias.ts | 9 + .../Corresponsales/ICorresponsalFacturas.ts | 12 + .../ICorresponsalFacturasTerceros.ts | 7 + .../Corresponsales/ICorresponsalPedimento.ts | 35 + .../ICorresponsalPedimentoPartidas.ts | 15 + .../ICorresponsalRazonesRechazo.ts | 3 + .../Corresponsales/ICorresponsalTrafico.ts | 43 + .../ICorresponsalTraficoContabilidad.ts | 9 + .../ICorresponsalesCatTiposEmbarque.ts | 5 + .../ICorresponsalesCatTraficoEstatus.ts | 5 + .../Corresponsales/ICorresponsalesGuias.ts | 6 + .../ICorresponsalesRectificaciones.ts | 8 + .../Corresponsales/ICorresponsalesZips.ts | 10 + .../Dashboard/DashboardCorresponsales.ts | 4 + .../Anexo/IAnexoFacturacionAlen.ts | 22 + .../Anexo/IAnexoFacturacionMission.ts | 15 + .../Anexo/IConsolidadosSinCerrar.ts | 5 + src/Interfaces/IArchivoElectronico.ts | 7 + src/Interfaces/IDashboardTotal.ts | 3 + src/Interfaces/IFotosBodega.ts | 11 + src/Interfaces/IPerfilesMenu.tsx | 12 + src/Interfaces/IRegister.tsx | 32 + src/Interfaces/IRespuesta.ts | 3 + src/Interfaces/ITokenInfo.ts | 12 + src/Interfaces/IjwtStructure.ts | 9 + src/Interfaces/Ilogin.ts | 4 + .../Reportes/IRptArchivoElectronicoOficial.ts | 7 + src/Interfaces/Reportes/IRptBattery.ts | 7 + src/Interfaces/Reportes/IRptOperaciones.ts | 19 + .../Reportes/IRptOperacionesConsolidadas.ts | 32 + .../Reportes/IRptOperacionesDiarias.ts | 16 + .../Reportes/IRptPedimentosConsolidados.ts | 37 + .../Reportes/IRptPedimentosPagados.tsx | 50 + .../IRptPedimentosPagadosImpuestos.ts | 29 + src/Interfaces/Reportes/RptDetalleAnexo24.tsx | 53 + .../Reportes/RptOperacionesRemesa.tsx | 99 + src/Interfaces/Utils/IFileManager.ts | 9 + src/Interfaces/registroPermisoClientes.tsx | 8 + src/Interfaces/token.ts | 3 + src/Services/Auth/Auth.Service.ts | 39 + .../Catalogos/ArchivoElectronico.Services.ts | 60 + src/Services/Catalogos/Clientes.Services.ts | 35 + .../Catalogos/Corresponsales.Services.ts | 43 + .../Catalogos/PerfilesMenu.Services.ts | 51 + .../Catalogos/Proveedores.Services.ts | 18 + src/Services/Catalogos/Usuarios.Services.ts | 49 + .../Clientes/CasaCuervo/Pedidos.Services.ts | 74 + .../Contabilidad.Corresponsalias.Services.ts | 18 + .../Corresponsales.Anticipos.Services.ts | 22 + .../Corresponsales.CatAduanas.Services.ts | 11 + .../Corresponsales.CatDestinos.Services.ts | 11 + ...rresponsales.CatMediosEmbarque.Services.ts | 11 + ...orresponsales.CatTiposEmbarque.Services.ts | 11 + .../Corresponsales.Contenedores.Services.ts | 16 + ...onsales.CuentasComplementarias.Services.ts | 36 + .../Corresponsales.Facturas.Services.ts | 16 + ...orresponsales.FacturasTerceros.services.ts | 17 + .../Corresponsales.Guias.Services.ts | 16 + .../Corresponsales.Precuenta.Services.ts | 16 + ...responsales.Tabuladores.Detalle.Sevices.ts | 20 + .../Corresponsales.Tabuladores.Services.ts | 23 + ...les.Trafico.Pedimento.Partidas.Services.ts | 18 + ...rresponsales.Trafico.Pedimento.Services.ts | 17 + .../Corresponsales.Trafico.Services.ts | 28 + ...esponsalias.CatTiposDocumentos.Services.ts | 10 + .../Dashboard.Contabilidad.Service.ts | 15 + .../Dashboard.Corresponsales.Services.ts | 12 + .../Anexo/Anexo.Facturacion.Services.ts | 21 + .../Operaciones/Operaciones.Services.ts | 12 + src/Services/Reportes/reportes.services.ts | 71 + src/Services/Utils/FileManager.Services.ts | 27 + src/Services/Utils/MFileManager.Service.ts | 26 + src/Services/common/http-common.ts | 77 + src/css/generalStyles.css | 29 + src/css/generic01.css | 288 + src/css/heineken.css | 101 + src/css/heineken1.css | 91 + src/css/home.css | 60 + src/css/imageModal.css | 4 + src/css/login.css | 44 + src/css/masterDetail.css | 203 + src/css/menu.css | 48 + src/css/menu2.css | 67 + src/css/printableArea.css | 24 + src/css/react-flexy-table.css | 5 + src/css/register.css | 5 + src/css/zincinternacional.css | 115 + src/images/AvisoCruceFooter.png | Bin 0 -> 22328 bytes src/images/AvisoCruceHeader.png | Bin 0 -> 67221 bytes src/images/GEMCO.png | Bin 0 -> 59873 bytes src/images/GEMCO_logo_min.png | Bin 0 -> 32402 bytes src/images/GEMCO_mini.png | Bin 0 -> 18731 bytes src/images/Logo.ico | Bin 0 -> 151070 bytes src/images/ajaxloader.gif | Bin 0 -> 42933 bytes src/images/search01.png | Bin 0 -> 786 bytes src/index.css | 13 + src/index.tsx | 160 + src/logo.svg | 1 + src/react-app-env.d.ts | 1 + src/reportWebVitals.ts | 15 + src/setupTests.ts | 5 + .../CatCorresponsalesSlice.ts | 42 + .../CatProveedores/CatProveedoresSlice.ts | 33 + .../Clientes/1868/Cat1868ClaveSATSlice.ts | 37 + .../Clientes/1868/Cat1868DestinosSlice.ts | 33 + .../Clientes/1868/Cat1868ResponsablesSlice.ts | 33 + .../1868/Data1868FacturaDetalleSlice.ts | 52 + .../CorresponsalesAnticiposSlice.ts | 62 + .../CorresponsalesContenedoresSlice.ts | 39 + ...salesCuentasComplementariasEstatusSlice.ts | 44 + .../CorresponsalesFacturasSlice.ts | 89 + .../CorresponsalesFacturasTercerosSlice.ts | 40 + .../CorresponsalesGuiasSlice.ts | 34 + .../CorresponsalesPartidasSlice.ts | 36 + .../CorresponsalesTraficoSlice.ts | 73 + .../features/Reportes/ArchivoElectronico.ts | 26 + .../userStatusSlice/userStatusSlice.ts | 20 + src/store/hooks.ts | 6 + src/store/store.ts | 40 + tsconfig.json | 21 + yarn.lock | 11360 +++++++ 312 files changed, 70526 insertions(+) create mode 100644 .gitignore create mode 100644 .vscode/extensions.json create mode 100644 cypress.config.ts create mode 100644 cypress/e2e/1-getting-started/todo.cy.js create mode 100644 cypress/e2e/2-advanced-examples/actions.cy.js create mode 100644 cypress/e2e/2-advanced-examples/aliasing.cy.js create mode 100644 cypress/e2e/2-advanced-examples/assertions.cy.js create mode 100644 cypress/e2e/2-advanced-examples/connectors.cy.js create mode 100644 cypress/e2e/2-advanced-examples/cookies.cy.js create mode 100644 cypress/e2e/2-advanced-examples/cypress_api.cy.js create mode 100644 cypress/e2e/2-advanced-examples/files.cy.js create mode 100644 cypress/e2e/2-advanced-examples/local_storage.cy.js create mode 100644 cypress/e2e/2-advanced-examples/location.cy.js create mode 100644 cypress/e2e/2-advanced-examples/misc.cy.js create mode 100644 cypress/e2e/2-advanced-examples/navigation.cy.js create mode 100644 cypress/e2e/2-advanced-examples/network_requests.cy.js create mode 100644 cypress/e2e/2-advanced-examples/querying.cy.js create mode 100644 cypress/e2e/2-advanced-examples/spies_stubs_clocks.cy.js create mode 100644 cypress/e2e/2-advanced-examples/traversal.cy.js create mode 100644 cypress/e2e/2-advanced-examples/utilities.cy.js create mode 100644 cypress/e2e/2-advanced-examples/viewport.cy.js create mode 100644 cypress/e2e/2-advanced-examples/waiting.cy.js create mode 100644 cypress/e2e/2-advanced-examples/window.cy.js create mode 100644 cypress/e2e/GEMCO/Corresponsales/evitaDuplicidadFacturas.cy.js create mode 100644 cypress/e2e/GEMCO/Corresponsales/evitaDuplicidadFacturasTerceros.cy.js create mode 100644 cypress/e2e/GEMCO/Heineken/newTraffic.cy.js create mode 100644 cypress/e2e/login.cy.ts create mode 100644 cypress/fixtures/example.json create mode 100644 cypress/support/commands.ts create mode 100644 cypress/support/e2e.ts create mode 100644 package-lock.json create mode 100644 package.json create mode 100644 public/favicon.ico create mode 100644 public/index.html create mode 100644 public/logo192.png create mode 100644 public/logo512.png create mode 100644 public/manifest.json create mode 100644 public/robots.txt create mode 100644 src/.prettierrc.json create mode 100644 src/App.css create mode 100644 src/App.tsx create mode 100644 src/Classes/Corresponsales/CCorresponsalesTrafico.ts create mode 100644 src/Components/AgenciaAduanal/AvisoCruce/AvisoCruce.tsx create mode 100644 src/Components/Bodega/FotosBodega.tsx create mode 100644 src/Components/Bodega/QRScanner.tsx create mode 100644 src/Components/Catalogos/CatCorresponsales/CatCorresponsales.tsx create mode 100644 src/Components/Catalogos/CatCorresponsales/ControlledInput/ControlledInput.tsx create mode 100644 src/Components/Catalogos/CatTabulador/CatTabulador.tsx create mode 100644 src/Components/Clientes/CasaCuervo/PDFs/FormatoRevision.tsx create mode 100644 src/Components/Clientes/CasaCuervo/Reportes/ControlledInput/ControlledInput.tsx create mode 100644 src/Components/Clientes/CasaCuervo/Reportes/RptPedidos.tsx create mode 100644 src/Components/Clientes/Heineken/Components/CmbArchivos.tsx create mode 100644 src/Components/Clientes/Heineken/Interfaces/I2206EmbarquesMensual.ts create mode 100644 src/Components/Clientes/Heineken/Interfaces/I2206EmbarquesPorImportar.ts create mode 100644 src/Components/Clientes/Heineken/Interfaces/I2206ExpedienteDigital.ts create mode 100644 src/Components/Clientes/Heineken/Interfaces/I2206FacturasTxt.ts create mode 100644 src/Components/Clientes/Heineken/Reportes/RptEmbarquesXImportar.tsx create mode 100644 src/Components/Clientes/Heineken/Reportes/RptEmbarquesxMes.tsx create mode 100644 src/Components/Clientes/Heineken/Reportes/RptExpedienteDigital.tsx create mode 100644 src/Components/Clientes/Heineken/Services/Heineken.Services.ts create mode 100644 src/Components/Clientes/ZincInternacional/Catalogos/Cat1868Destinos.tsx create mode 100644 src/Components/Clientes/ZincInternacional/Catalogos/Cat1868Responsables.tsx create mode 100644 src/Components/Clientes/ZincInternacional/DTO/DTO1868Clientes.ts create mode 100644 src/Components/Clientes/ZincInternacional/DTO/DTO1868Factura.ts create mode 100644 src/Components/Clientes/ZincInternacional/DTO/DTO1868FacturaDetalle.ts create mode 100644 src/Components/Clientes/ZincInternacional/DTO/DTO1868ReporteFactura.ts create mode 100644 src/Components/Clientes/ZincInternacional/DTO/DTO1868SCACCAAT.ts create mode 100644 src/Components/Clientes/ZincInternacional/DTO/DTO1868Transportista.ts create mode 100644 src/Components/Clientes/ZincInternacional/DTO/DTORespuesta.ts create mode 100644 src/Components/Clientes/ZincInternacional/Expandible/Expandible.tsx create mode 100644 src/Components/Clientes/ZincInternacional/Interfaces/I1868CatClaveSAT.ts create mode 100644 src/Components/Clientes/ZincInternacional/Interfaces/I1868CatDestinos.ts create mode 100644 src/Components/Clientes/ZincInternacional/Interfaces/I1868CatResponsables.ts create mode 100644 src/Components/Clientes/ZincInternacional/Interfaces/I1868Factura.ts create mode 100644 src/Components/Clientes/ZincInternacional/Interfaces/I1868FacturaDetalle.ts create mode 100644 src/Components/Clientes/ZincInternacional/Rpt1868Facturas.tsx create mode 100644 src/Components/Clientes/ZincInternacional/Rpt1868FacturasDetalle.tsx create mode 100644 src/Components/Clientes/ZincInternacional/Services/Facturas.Services.ts create mode 100644 src/Components/Clientes/ZincInternacional/Transportistas/Rtp1868Transportista.tsx create mode 100644 src/Components/Corresponsales/Anticipos/Anticipos.tsx create mode 100644 src/Components/Corresponsales/CatProveedores/CatProveedores.tsx create mode 100644 src/Components/Corresponsales/CatProveedores/ControlledInput/ControlledInput.tsx create mode 100644 src/Components/Corresponsales/Contenedores/Contenedores.tsx create mode 100644 src/Components/Corresponsales/Contenedores/ControlledInput/ControlledInput.tsx create mode 100644 src/Components/Corresponsales/Contenedores/SelectContainer.tsx create mode 100644 src/Components/Corresponsales/CuentasComplementarias/CuentasComplementarias.tsx create mode 100644 src/Components/Corresponsales/CuentasComplementarias/SelectEstatus/SelectEstatus.tsx create mode 100644 src/Components/Corresponsales/Guias/SelectGuias.tsx create mode 100644 src/Components/Corresponsales/PagosTerceros/ControlledInput/ControlledInput.tsx create mode 100644 src/Components/Corresponsales/PagosTerceros/PagosTerceros.tsx create mode 100644 src/Components/Corresponsales/Partidas/Dialog/DialogBox.tsx create mode 100644 src/Components/Corresponsales/Partidas/Partidas.tsx create mode 100644 src/Components/Corresponsales/ProveedorFactura/ControlledInput/ControlledInput.tsx create mode 100644 src/Components/Corresponsales/ProveedorFactura/ProveedorFactura.tsx create mode 100644 src/Components/Corresponsales/Rectificaciones/Rectificaciones.tsx create mode 100644 src/Components/Corresponsales/Tabulador/Tabulador.tsx create mode 100644 src/Components/Corresponsales/TraficoCorresponsales.tsx create mode 100644 src/Components/Dashboard/Dashboard.tsx create mode 100644 src/Components/Dashboard/DashboardContabilidad.tsx create mode 100644 src/Components/Dashboard/DashboardCorresponsales.tsx create mode 100644 src/Components/Dashboard/DashboardFacturacion.tsx create mode 100644 src/Components/Dashboard/Heineken1.tsx create mode 100644 src/Components/GEMCO/Facturacion/Anexo/RptConsolidadosSinCerrar.tsx create mode 100644 src/Components/GEMCO/Facturacion/Anexo/RptRelacionAlen.tsx create mode 100644 src/Components/GEMCO/Facturacion/Anexo/RptRelacionMission.tsx create mode 100644 src/Components/Home/home.tsx create mode 100644 src/Components/Login/login.tsx create mode 100644 src/Components/Logout/logout.tsx create mode 100644 src/Components/MenuUsuario/MenuUsuario.tsx create mode 100644 src/Components/Register/UserList/UserList.tsx create mode 100644 src/Components/Register/admonPerfiles/AdmonPerfiles.tsx create mode 100644 src/Components/Register/admonPerfiles/nuevoItemMenu/NuevoItemMenu.tsx create mode 100644 src/Components/Register/admonPerfiles/nuevoPerfil/NuevoPerfil.tsx create mode 100644 src/Components/Register/register.tsx create mode 100644 src/Components/Reportes/ArchivoElectronico/DialogAE.tsx create mode 100644 src/Components/Reportes/RptArchivoElectronicoOficial.tsx create mode 100644 src/Components/Reportes/RptBattery.tsx create mode 100644 src/Components/Reportes/RptControlDocumentosClientes.tsx create mode 100644 src/Components/Reportes/RptCorresponsalesTraficos.tsx create mode 100644 src/Components/Reportes/RptCorresponsalesTraficosHst.tsx create mode 100644 src/Components/Reportes/RptDetalleAnexo24.tsx create mode 100644 src/Components/Reportes/RptFacturasTxtHeineken.tsx create mode 100644 src/Components/Reportes/RptOperaciones.tsx create mode 100644 src/Components/Reportes/RptOperacionesConsolidadas.tsx create mode 100644 src/Components/Reportes/RptOperacionesDiarias.tsx create mode 100644 src/Components/Reportes/RptOperacionesRemesa.tsx create mode 100644 src/Components/Reportes/RptPedimentosConsolidados.tsx create mode 100644 src/Components/Reportes/RptPedimentosPagados.tsx create mode 100644 src/Components/Reportes/RptPedimentosPagadosImpuestos.tsx create mode 100644 src/Components/Reportes/customCells/ProcessStatus.tsx create mode 100644 src/Components/Reportes/customCells/VerPDFv2.tsx create mode 100644 src/Components/Reportes/customCells/progressBar.tsx create mode 100644 src/Components/Reportes/customCells/verDocumentos.tsx create mode 100644 src/Components/Reportes/customCells/verPDF.tsx create mode 100644 src/Components/Submenu/Submenu.tsx create mode 100644 src/Components/Utils/ControlledInput/ControlledInput.tsx create mode 100644 src/Components/Utils/FileManager/FileManager.tsx create mode 100644 src/Components/Utils/MFileManager/MFileManager.tsx create mode 100644 src/Components/Utils/Toast/msgInformativo.tsx create mode 100644 src/Components/asignacionPerfil/asignacionPerfil.tsx create mode 100644 src/Components/privateRoute/privateRoute.tsx create mode 100644 src/Components/registerPermisoClientes/registerPermisoClientes.tsx create mode 100644 src/Components/resetCredentials/resetCredentials.tsx create mode 100644 src/Constants/TargetURL.ts create mode 100644 src/DTO/Clientes/CasaCuervo/DTO325AduanasPedidos.ts create mode 100644 src/DTO/Clientes/CasaCuervo/DTO325UpdateFromWeb.ts create mode 100644 src/DTO/Clientes/CasaCuervo/DTORptPedidos.ts create mode 100644 src/DTO/Corresponsales/DTOAnticiposAutoriza.ts create mode 100644 src/DTO/Corresponsales/DTOCorresponsalFacturaProveedor.ts create mode 100644 src/DTO/Corresponsales/DTOCorresponsalFacturasTerceros.ts create mode 100644 src/DTO/Corresponsales/DTOCorresponsalTrafico.ts create mode 100644 src/DTO/Corresponsales/DTOCuentaComplementaria.ts create mode 100644 src/DTO/Corresponsales/DTOCuentaComplementariaEstatus.ts create mode 100644 src/DTO/Corresponsales/DTOItems.ts create mode 100644 src/DTO/Corresponsales/DTOLogCorresponsalComplementariaEstatus.ts create mode 100644 src/DTO/Corresponsales/DTORptCorresponsalesTraficos.ts create mode 100644 src/DTO/Corresponsales/DTOTraficoCompleto.ts create mode 100644 src/DTO/DTOAEPeriodo.ts create mode 100644 src/DTO/DTOClienteTransportita.ts create mode 100644 src/DTO/DTOClonarUsuario.ts create mode 100644 src/DTO/DTOItemMenuPerfil.ts create mode 100644 src/DTO/DTOPerfilCreate.ts create mode 100644 src/DTO/DTOReporte.ts create mode 100644 src/DTO/DTOUsuario.ts create mode 100644 src/DTO/DTOUsuarioCliente.ts create mode 100644 src/DTO/DTOUsuariosShort.ts create mode 100644 src/DTO/DTOasignaClienteProveedor.ts create mode 100644 src/DTO/DTOgetArchivosPorReferencia.ts create mode 100644 src/DTO/DTOgetThesePedimentos.ts create mode 100644 src/DTO/DTOid.ts create mode 100644 src/DTO/Facturacion/Anexo/DTOAnexoFacturacionAlen.ts create mode 100644 src/DTO/Facturacion/Anexo/DTOAnexoFacturacionMission.ts create mode 100644 src/DTO/Utils/DTOConceptos.ts create mode 100644 src/Interfaces/Catalogos/ICatCorresponsales.ts create mode 100644 src/Interfaces/Catalogos/ICatProveedores.ts create mode 100644 src/Interfaces/Catalogos/IClientes.ts create mode 100644 src/Interfaces/Catalogos/IItemMenu.ts create mode 100644 src/Interfaces/Catalogos/IPerfiles.ts create mode 100644 src/Interfaces/Catalogos/IProveedores.ts create mode 100644 src/Interfaces/Catalogos/ITabulador.ts create mode 100644 src/Interfaces/Catalogos/ITabuladorConceptos.ts create mode 100644 src/Interfaces/Catalogos/ITransportitas.ts create mode 100644 src/Interfaces/Catalogos/IUsuarios.ts create mode 100644 src/Interfaces/Clientes/CasaCuervo/I325Pedidos.ts create mode 100644 src/Interfaces/Corresponsales/ICorresponsalAnticipos.ts create mode 100644 src/Interfaces/Corresponsales/ICorresponsalCatAduanas.ts create mode 100644 src/Interfaces/Corresponsales/ICorresponsalCatDestinos.ts create mode 100644 src/Interfaces/Corresponsales/ICorresponsalCatMediosEmbarque.ts create mode 100644 src/Interfaces/Corresponsales/ICorresponsalCatTipoDocumento.ts create mode 100644 src/Interfaces/Corresponsales/ICorresponsalContenedores.ts create mode 100644 src/Interfaces/Corresponsales/ICorresponsalCuentaComplementariaEstatus.ts create mode 100644 src/Interfaces/Corresponsales/ICorresponsalCuentasComplementarias.ts create mode 100644 src/Interfaces/Corresponsales/ICorresponsalFacturas.ts create mode 100644 src/Interfaces/Corresponsales/ICorresponsalFacturasTerceros.ts create mode 100644 src/Interfaces/Corresponsales/ICorresponsalPedimento.ts create mode 100644 src/Interfaces/Corresponsales/ICorresponsalPedimentoPartidas.ts create mode 100644 src/Interfaces/Corresponsales/ICorresponsalRazonesRechazo.ts create mode 100644 src/Interfaces/Corresponsales/ICorresponsalTrafico.ts create mode 100644 src/Interfaces/Corresponsales/ICorresponsalTraficoContabilidad.ts create mode 100644 src/Interfaces/Corresponsales/ICorresponsalesCatTiposEmbarque.ts create mode 100644 src/Interfaces/Corresponsales/ICorresponsalesCatTraficoEstatus.ts create mode 100644 src/Interfaces/Corresponsales/ICorresponsalesGuias.ts create mode 100644 src/Interfaces/Corresponsales/ICorresponsalesRectificaciones.ts create mode 100644 src/Interfaces/Corresponsales/ICorresponsalesZips.ts create mode 100644 src/Interfaces/Dashboard/DashboardCorresponsales.ts create mode 100644 src/Interfaces/Facturacion/Anexo/IAnexoFacturacionAlen.ts create mode 100644 src/Interfaces/Facturacion/Anexo/IAnexoFacturacionMission.ts create mode 100644 src/Interfaces/Facturacion/Anexo/IConsolidadosSinCerrar.ts create mode 100644 src/Interfaces/IArchivoElectronico.ts create mode 100644 src/Interfaces/IDashboardTotal.ts create mode 100644 src/Interfaces/IFotosBodega.ts create mode 100644 src/Interfaces/IPerfilesMenu.tsx create mode 100644 src/Interfaces/IRegister.tsx create mode 100644 src/Interfaces/IRespuesta.ts create mode 100644 src/Interfaces/ITokenInfo.ts create mode 100644 src/Interfaces/IjwtStructure.ts create mode 100644 src/Interfaces/Ilogin.ts create mode 100644 src/Interfaces/Reportes/IRptArchivoElectronicoOficial.ts create mode 100644 src/Interfaces/Reportes/IRptBattery.ts create mode 100644 src/Interfaces/Reportes/IRptOperaciones.ts create mode 100644 src/Interfaces/Reportes/IRptOperacionesConsolidadas.ts create mode 100644 src/Interfaces/Reportes/IRptOperacionesDiarias.ts create mode 100644 src/Interfaces/Reportes/IRptPedimentosConsolidados.ts create mode 100644 src/Interfaces/Reportes/IRptPedimentosPagados.tsx create mode 100644 src/Interfaces/Reportes/IRptPedimentosPagadosImpuestos.ts create mode 100644 src/Interfaces/Reportes/RptDetalleAnexo24.tsx create mode 100644 src/Interfaces/Reportes/RptOperacionesRemesa.tsx create mode 100644 src/Interfaces/Utils/IFileManager.ts create mode 100644 src/Interfaces/registroPermisoClientes.tsx create mode 100644 src/Interfaces/token.ts create mode 100644 src/Services/Auth/Auth.Service.ts create mode 100644 src/Services/Catalogos/ArchivoElectronico.Services.ts create mode 100644 src/Services/Catalogos/Clientes.Services.ts create mode 100644 src/Services/Catalogos/Corresponsales.Services.ts create mode 100644 src/Services/Catalogos/PerfilesMenu.Services.ts create mode 100644 src/Services/Catalogos/Proveedores.Services.ts create mode 100644 src/Services/Catalogos/Usuarios.Services.ts create mode 100644 src/Services/Clientes/CasaCuervo/Pedidos.Services.ts create mode 100644 src/Services/Contabilidad/Contabilidad.Corresponsalias.Services.ts create mode 100644 src/Services/Corresponsalias/Corresponsales.Anticipos.Services.ts create mode 100644 src/Services/Corresponsalias/Corresponsales.CatAduanas.Services.ts create mode 100644 src/Services/Corresponsalias/Corresponsales.CatDestinos.Services.ts create mode 100644 src/Services/Corresponsalias/Corresponsales.CatMediosEmbarque.Services.ts create mode 100644 src/Services/Corresponsalias/Corresponsales.CatTiposEmbarque.Services.ts create mode 100644 src/Services/Corresponsalias/Corresponsales.Contenedores.Services.ts create mode 100644 src/Services/Corresponsalias/Corresponsales.CuentasComplementarias.Services.ts create mode 100644 src/Services/Corresponsalias/Corresponsales.Facturas.Services.ts create mode 100644 src/Services/Corresponsalias/Corresponsales.FacturasTerceros.services.ts create mode 100644 src/Services/Corresponsalias/Corresponsales.Guias.Services.ts create mode 100644 src/Services/Corresponsalias/Corresponsales.Precuenta.Services.ts create mode 100644 src/Services/Corresponsalias/Corresponsales.Tabuladores.Detalle.Sevices.ts create mode 100644 src/Services/Corresponsalias/Corresponsales.Tabuladores.Services.ts create mode 100644 src/Services/Corresponsalias/Corresponsales.Trafico.Pedimento.Partidas.Services.ts create mode 100644 src/Services/Corresponsalias/Corresponsales.Trafico.Pedimento.Services.ts create mode 100644 src/Services/Corresponsalias/Corresponsales.Trafico.Services.ts create mode 100644 src/Services/Corresponsalias/Corresponsalias.CatTiposDocumentos.Services.ts create mode 100644 src/Services/Dashboard/Dashboard.Contabilidad.Service.ts create mode 100644 src/Services/Dashboard/Dashboard.Corresponsales.Services.ts create mode 100644 src/Services/Facturacion/Anexo/Anexo.Facturacion.Services.ts create mode 100644 src/Services/Operaciones/Operaciones.Services.ts create mode 100644 src/Services/Reportes/reportes.services.ts create mode 100644 src/Services/Utils/FileManager.Services.ts create mode 100644 src/Services/Utils/MFileManager.Service.ts create mode 100644 src/Services/common/http-common.ts create mode 100644 src/css/generalStyles.css create mode 100644 src/css/generic01.css create mode 100644 src/css/heineken.css create mode 100644 src/css/heineken1.css create mode 100644 src/css/home.css create mode 100644 src/css/imageModal.css create mode 100644 src/css/login.css create mode 100644 src/css/masterDetail.css create mode 100644 src/css/menu.css create mode 100644 src/css/menu2.css create mode 100644 src/css/printableArea.css create mode 100644 src/css/react-flexy-table.css create mode 100644 src/css/register.css create mode 100644 src/css/zincinternacional.css create mode 100644 src/images/AvisoCruceFooter.png create mode 100644 src/images/AvisoCruceHeader.png create mode 100644 src/images/GEMCO.png create mode 100644 src/images/GEMCO_logo_min.png create mode 100644 src/images/GEMCO_mini.png create mode 100644 src/images/Logo.ico create mode 100644 src/images/ajaxloader.gif create mode 100644 src/images/search01.png create mode 100644 src/index.css create mode 100644 src/index.tsx create mode 100644 src/logo.svg create mode 100644 src/react-app-env.d.ts create mode 100644 src/reportWebVitals.ts create mode 100644 src/setupTests.ts create mode 100644 src/store/features/CatCorresponsales/CatCorresponsalesSlice.ts create mode 100644 src/store/features/CatProveedores/CatProveedoresSlice.ts create mode 100644 src/store/features/Clientes/1868/Cat1868ClaveSATSlice.ts create mode 100644 src/store/features/Clientes/1868/Cat1868DestinosSlice.ts create mode 100644 src/store/features/Clientes/1868/Cat1868ResponsablesSlice.ts create mode 100644 src/store/features/Clientes/1868/Data1868FacturaDetalleSlice.ts create mode 100644 src/store/features/Corresponsales/CorresponsalesAnticiposSlice.ts create mode 100644 src/store/features/Corresponsales/CorresponsalesContenedoresSlice.ts create mode 100644 src/store/features/Corresponsales/CorresponsalesCuentasComplementariasEstatusSlice.ts create mode 100644 src/store/features/Corresponsales/CorresponsalesFacturasSlice.ts create mode 100644 src/store/features/Corresponsales/CorresponsalesFacturasTercerosSlice.ts create mode 100644 src/store/features/Corresponsales/CorresponsalesGuiasSlice.ts create mode 100644 src/store/features/Corresponsales/CorresponsalesPartidasSlice.ts create mode 100644 src/store/features/Corresponsales/CorresponsalesTraficoSlice.ts create mode 100644 src/store/features/Reportes/ArchivoElectronico.ts create mode 100644 src/store/features/userStatusSlice/userStatusSlice.ts create mode 100644 src/store/hooks.ts create mode 100644 src/store/store.ts create mode 100644 tsconfig.json create mode 100644 yarn.lock diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..4d29575 --- /dev/null +++ b/.gitignore @@ -0,0 +1,23 @@ +# See https://help.github.com/articles/ignoring-files/ for more about ignoring files. + +# dependencies +/node_modules +/.pnp +.pnp.js + +# testing +/coverage + +# production +/build + +# misc +.DS_Store +.env.local +.env.development.local +.env.test.local +.env.production.local + +npm-debug.log* +yarn-debug.log* +yarn-error.log* diff --git a/.vscode/extensions.json b/.vscode/extensions.json new file mode 100644 index 0000000..dee923d --- /dev/null +++ b/.vscode/extensions.json @@ -0,0 +1,7 @@ +{ + "recommendations": [ + "dzhavat.bracket-pair-toggler", + "bracketpaircolordlw.bracket-pair-color-dlw", + "2gua.rainbow-brackets" + ] +} diff --git a/cypress.config.ts b/cypress.config.ts new file mode 100644 index 0000000..b391650 --- /dev/null +++ b/cypress.config.ts @@ -0,0 +1,12 @@ +import { defineConfig } from "cypress"; + +export default defineConfig({ + e2e: { + setupNodeEvents(on, config) { + // implement node event listeners here + }, + baseUrl: "http://localhost:3000", + }, + waitForAnimations: false, + animationDistanceThreshold: 50, +}); diff --git a/cypress/e2e/1-getting-started/todo.cy.js b/cypress/e2e/1-getting-started/todo.cy.js new file mode 100644 index 0000000..4768ff9 --- /dev/null +++ b/cypress/e2e/1-getting-started/todo.cy.js @@ -0,0 +1,143 @@ +/// + +// Welcome to Cypress! +// +// This spec file contains a variety of sample tests +// for a todo list app that are designed to demonstrate +// the power of writing tests in Cypress. +// +// To learn more about how Cypress works and +// what makes it such an awesome testing tool, +// please read our getting started guide: +// https://on.cypress.io/introduction-to-cypress + +describe('example to-do app', () => { + beforeEach(() => { + // Cypress starts out with a blank slate for each test + // so we must tell it to visit our website with the `cy.visit()` command. + // Since we want to visit the same URL at the start of all our tests, + // we include it in our beforeEach function so that it runs before each test + cy.visit('https://example.cypress.io/todo') + }) + + it('displays two todo items by default', () => { + // We use the `cy.get()` command to get all elements that match the selector. + // Then, we use `should` to assert that there are two matched items, + // which are the two default items. + cy.get('.todo-list li').should('have.length', 2) + + // We can go even further and check that the default todos each contain + // the correct text. We use the `first` and `last` functions + // to get just the first and last matched elements individually, + // and then perform an assertion with `should`. + cy.get('.todo-list li').first().should('have.text', 'Pay electric bill') + cy.get('.todo-list li').last().should('have.text', 'Walk the dog') + }) + + it('can add new todo items', () => { + // We'll store our item text in a variable so we can reuse it + const newItem = 'Feed the cat' + + // Let's get the input element and use the `type` command to + // input our new list item. After typing the content of our item, + // we need to type the enter key as well in order to submit the input. + // This input has a data-test attribute so we'll use that to select the + // element in accordance with best practices: + // https://on.cypress.io/selecting-elements + cy.get('[data-test=new-todo]').type(`${newItem}{enter}`) + + // Now that we've typed our new item, let's check that it actually was added to the list. + // Since it's the newest item, it should exist as the last element in the list. + // In addition, with the two default items, we should have a total of 3 elements in the list. + // Since assertions yield the element that was asserted on, + // we can chain both of these assertions together into a single statement. + cy.get('.todo-list li') + .should('have.length', 3) + .last() + .should('have.text', newItem) + }) + + it('can check off an item as completed', () => { + // In addition to using the `get` command to get an element by selector, + // we can also use the `contains` command to get an element by its contents. + // However, this will yield the