general-library-union 3.3.39 → 3.3.41
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.browserslistrc +15 -0
- package/.editorconfig +16 -0
- package/.vscode/extensions.json +4 -0
- package/.vscode/launch.json +20 -0
- package/.vscode/tasks.json +42 -0
- package/angular.json +143 -0
- package/karma.conf.js +44 -0
- package/ng-package.json +21 -0
- package/package.json +73 -62
- package/{public-api.d.ts → public-api.ts} +206 -164
- package/src/app/app.component.html +12 -0
- package/src/app/app.component.scss +0 -0
- package/src/app/app.component.spec.ts +29 -0
- package/src/app/app.component.ts +34 -0
- package/src/app/app.config.ts +43 -0
- package/src/app/app.module.ts +10 -0
- package/src/app/app.routes.ts +88 -0
- package/src/app/core/componentes/breadcrumb/breadcrumb.component.html +6 -0
- package/src/app/core/componentes/breadcrumb/breadcrumb.component.scss +0 -0
- package/src/app/core/componentes/breadcrumb/breadcrumb.component.ts +39 -0
- package/src/app/core/componentes/carga-breadcrumb/carga-breadcrumb.component.html +1 -0
- package/src/app/core/componentes/carga-breadcrumb/carga-breadcrumb.component.scss +0 -0
- package/src/app/core/componentes/carga-breadcrumb/carga-breadcrumb.component.ts +31 -0
- package/src/app/core/componentes/carga-pantalla-completa/carga-pantalla-completa.component.html +9 -0
- package/src/app/core/componentes/carga-pantalla-completa/carga-pantalla-completa.component.scss +28 -0
- package/src/app/core/componentes/carga-pantalla-completa/carga-pantalla-completa.component.ts +32 -0
- package/src/app/core/componentes/filtro-general/filtro-general.component.html +36 -0
- package/src/app/core/componentes/filtro-general/filtro-general.component.scss +3 -0
- package/src/app/core/componentes/filtro-general/filtro-general.component.ts +218 -0
- package/src/app/core/componentes/footer/footer.component.html +13 -0
- package/src/app/core/componentes/footer/footer.component.scss +3 -0
- package/src/app/core/componentes/footer/footer.component.ts +20 -0
- package/src/app/core/componentes/formulariodinamico/formulariodinamico.component.html +267 -0
- package/src/app/core/componentes/formulariodinamico/formulariodinamico.component.scss +21 -0
- package/src/app/core/componentes/formulariodinamico/formulariodinamico.component.ts +278 -0
- package/src/app/core/componentes/formulariodinamico/objetosformulario/{Cambio.d.ts → Cambio.ts} +13 -7
- package/src/app/core/componentes/formulariodinamico/objetosformulario/CampoFormulario.ts +118 -0
- package/src/app/core/componentes/formulariodinamico/objetosformulario/CampoFormularioCons.ts +76 -0
- package/src/app/core/componentes/formulariodinamico/objetosformulario/CampoFormularioNuevo.ts +67 -0
- package/src/app/core/componentes/formulariodinamico/objetosformulario/HashDirective.ts +11 -0
- package/src/app/core/componentes/inicio-component/inicio-component.component.html +29 -0
- package/src/app/core/componentes/inicio-component/inicio-component.component.scss +63 -0
- package/src/app/core/componentes/inicio-component/inicio-component.component.ts +68 -0
- package/src/app/core/componentes/menu/menu.component.html +13 -0
- package/src/app/core/componentes/menu/menu.component.scss +36 -0
- package/src/app/core/componentes/menu/menu.component.ts +35 -0
- package/src/app/core/componentes/tabla-general/tabla-general.component.html +90 -0
- package/src/app/core/componentes/tabla-general/tabla-general.component.scss +0 -0
- package/src/app/core/componentes/tabla-general/tabla-general.component.ts +96 -0
- package/src/app/core/core.module.ts +22 -0
- package/src/app/core/errores/authentication.error.ts +6 -0
- package/src/app/core/modelos/error-response.model.ts +9 -0
- package/src/app/core/modelos/table-column.model.ts +10 -0
- package/src/app/core/modelos/user.model.ts +6 -0
- package/src/app/core/plantilla-general/plantilla-general.template.html +139 -0
- package/src/app/core/plantilla-general/plantilla-general.template.scss +37 -0
- package/src/app/core/plantilla-general/plantilla-general.template.ts +233 -0
- package/src/app/core/servicios/auth.service.ts +189 -0
- package/src/app/core/servicios/cargar-control-funcionalidad.service.ts +48 -0
- package/src/app/core/servicios/click-posicion.service.ts +16 -0
- package/src/app/core/servicios/data-exporter-table.utils.ts +78 -0
- package/src/app/core/servicios/error-interceptor.service.ts +208 -0
- package/src/app/core/servicios/guardias/auth.guard.ts +51 -0
- package/src/app/core/servicios/guardias/publico.guard.ts +26 -0
- package/src/app/core/servicios/interceptores/loading-interceptor.ts +37 -0
- package/src/app/core/servicios/interceptores/token-interceptor.service.ts +177 -0
- package/src/app/core/servicios/loading.service.ts +48 -0
- package/src/app/core/servicios/menu.service.ts +153 -0
- package/src/app/core/servicios/spinner-service.ts +18 -0
- package/src/app/core/servicios/storage.service.ts +68 -0
- package/src/app/core/servicios/template.service.ts +91 -0
- package/src/app/core/servicios/toast.service.ts +114 -0
- package/src/app/core/servicios/utils.service.ts +398 -0
- package/src/app/core/sharedlib.module.ts +11 -0
- package/src/app/core/utilidades/color.util.ts +197 -0
- package/src/app/layout/api/{menuchangeevent.d.ts → menuchangeevent.ts} +4 -4
- package/src/app/layout/app.breadcrumb.component.html +20 -0
- package/src/app/layout/app.breadcrumb.component.ts +78 -0
- package/src/app/layout/app.footer.component.html +18 -0
- package/src/app/layout/app.footer.component.ts +15 -0
- package/src/app/layout/app.layout.component.html +20 -0
- package/src/app/layout/app.layout.component.ts +201 -0
- package/src/app/layout/app.layout.module.ts +9 -0
- package/src/app/layout/app.menu.component.html +6 -0
- package/src/app/layout/app.menu.component.ts +51 -0
- package/src/app/layout/app.menu.service.ts +23 -0
- package/src/app/layout/app.menuitem.component.ts +252 -0
- package/src/app/layout/app.menuprofile.component.html +35 -0
- package/src/app/layout/app.menuprofile.component.ts +60 -0
- package/src/app/layout/app.rightmenu.component.html +72 -0
- package/src/app/layout/app.rightmenu.component.ts +24 -0
- package/src/app/layout/app.sidebar.component.html +40 -0
- package/src/app/layout/app.sidebar.component.ts +81 -0
- package/src/app/layout/app.topbar.component.html +194 -0
- package/src/app/layout/app.topbar.component.ts +378 -0
- package/src/app/layout/config/app.config.component.html +125 -0
- package/src/app/layout/config/app.config.component.ts +206 -0
- package/src/app/layout/config/app.config.module.ts +11 -0
- package/src/app/layout/service/app.layout.service.ts +191 -0
- package/src/app/publico/pages/login/login.page.html +53 -0
- package/src/app/publico/pages/login/login.page.scss +210 -0
- package/src/app/publico/pages/login/login.page.ts +130 -0
- package/src/app/publico/pages/not-found/not-found.page.html +36 -0
- package/src/app/publico/pages/not-found/not-found.page.scss +2 -0
- package/src/app/publico/pages/not-found/not-found.page.ts +46 -0
- package/src/app/publico/pages/seleccion-rol/seleccion-rol.component.html +58 -0
- package/src/app/publico/pages/seleccion-rol/seleccion-rol.component.scss +46 -0
- package/src/app/publico/pages/seleccion-rol/seleccion-rol.component.ts +176 -0
- package/src/app/publico/pages/timeout/timeout.page.html +24 -0
- package/src/app/publico/pages/timeout/timeout.page.scss +2 -0
- package/src/app/publico/pages/timeout/timeout.page.ts +18 -0
- package/src/app/seguridad/constantes/ConstantesGenerales.ts +30 -0
- package/src/app/seguridad/constantes/ReporteEntradaConstantes.ts +18 -0
- package/src/app/seguridad/constantes/ReporteFuenteConstantes.ts +13 -0
- package/src/app/seguridad/modelos/AplicacionModel.ts +11 -0
- package/src/app/seguridad/modelos/ArchivoPortalModel.ts +16 -0
- package/src/app/seguridad/modelos/AtributoPuntoModel.ts +9 -0
- package/src/app/seguridad/modelos/AtributoSSOportalModel.ts +22 -0
- package/src/app/seguridad/modelos/{AuditoriaArchivoModel.d.ts → AuditoriaArchivoModel.ts} +13 -10
- package/src/app/seguridad/modelos/CargueLineaModel.ts +17 -0
- package/src/app/seguridad/modelos/ColoresRGB.ts +17 -0
- package/src/app/seguridad/modelos/ColumnaFuenteModel.ts +9 -0
- package/src/app/seguridad/modelos/{ColumnaWraperModel.d.ts → ColumnaWraperModel.ts} +7 -6
- package/src/app/seguridad/modelos/ComplementoModel.ts +10 -0
- package/src/app/seguridad/modelos/ComponentePaginaModel.ts +22 -0
- package/src/app/seguridad/modelos/ConexionModel.ts +15 -0
- package/src/app/seguridad/modelos/{ContenidoHtmlPortalModel.d.ts → ContenidoHtmlPortalModel.ts} +25 -20
- package/src/app/seguridad/modelos/ControlFuncionModel.ts +10 -0
- package/src/app/seguridad/modelos/CorreoModel.ts +45 -0
- package/src/app/seguridad/modelos/{CorreoOrgEmpModModel.d.ts → CorreoOrgEmpModModel.ts} +11 -8
- package/src/app/seguridad/modelos/CorreoWSModel.ts +49 -0
- package/src/app/seguridad/modelos/CruceRecursoPuntoModel.ts +14 -0
- package/src/app/seguridad/modelos/{DatoInicioModel.d.ts → DatoInicioModel.ts} +7 -6
- package/src/app/seguridad/modelos/{EjecucionReporteDataModel.d.ts → EjecucionReporteDataModel.ts} +21 -20
- package/src/app/seguridad/modelos/EmpresaModel.ts +25 -0
- package/src/app/seguridad/modelos/EmpresaSeguridadModel.ts +19 -0
- package/src/app/seguridad/modelos/{EntradaComplementoModel.d.ts → EntradaComplementoModel.ts} +9 -6
- package/src/app/seguridad/modelos/EtiquetaModel.ts +4 -0
- package/src/app/seguridad/modelos/Etiquetas.ts +14 -0
- package/src/app/seguridad/modelos/{ForeingWraperModel.d.ts → ForeingWraperModel.ts} +9 -6
- package/src/app/seguridad/modelos/FuenteCampoAtributoModel.ts +21 -0
- package/src/app/seguridad/modelos/{FuenteCampoModel.d.ts → FuenteCampoModel.ts} +20 -16
- package/src/app/seguridad/modelos/FuenteDato.ts +19 -0
- package/src/app/seguridad/modelos/FuenteEntradaModel.ts +9 -0
- package/src/app/seguridad/modelos/{FuenteGeneralModel.d.ts → FuenteGeneralModel.ts} +55 -36
- package/src/app/seguridad/modelos/FuenteLineaServicioModel.ts +19 -0
- package/src/app/seguridad/modelos/FuenteProcesoGeneralModel.ts +14 -0
- package/src/app/seguridad/modelos/{FuenteServicioModel.d.ts → FuenteServicioModel.ts} +61 -47
- package/src/app/seguridad/modelos/FuncionalidadModel.ts +12 -0
- package/src/app/seguridad/modelos/GeneralModel.ts +16 -0
- package/src/app/seguridad/modelos/{GrupoAccesoModel.d.ts → GrupoAccesoModel.ts} +9 -6
- package/src/app/seguridad/modelos/GrupoControlFuncionModel.ts +12 -0
- package/src/app/seguridad/modelos/GrupoFuenteModel.ts +17 -0
- package/src/app/seguridad/modelos/GrupoPermisoModel.ts +16 -0
- package/src/app/seguridad/modelos/{JoinFromModel.d.ts → JoinFromModel.ts} +4 -4
- package/src/app/seguridad/modelos/ListaServicioModel.ts +18 -0
- package/src/app/seguridad/modelos/LlaveForaneaModel.ts +6 -0
- package/src/app/seguridad/modelos/LoginModel.ts +19 -0
- package/src/app/seguridad/modelos/MensajeSistemaModel.ts +10 -0
- package/src/app/seguridad/modelos/{MenuPortalModel.d.ts → MenuPortalModel.ts} +5 -4
- package/src/app/seguridad/modelos/ModulosModel.ts +17 -0
- package/src/app/seguridad/modelos/{ObjetoReporteModel.d.ts → ObjetoReporteModel.ts} +6 -5
- package/src/app/seguridad/modelos/PaginaPortalModel.ts +23 -0
- package/src/app/seguridad/modelos/ParametroComponenteModel.ts +9 -0
- package/src/app/seguridad/modelos/ParametrosGeneralModel.ts +16 -0
- package/src/app/seguridad/modelos/PermisoFuncionModel.ts +11 -0
- package/src/app/seguridad/modelos/PermisocontenidoModel.ts +20 -0
- package/src/app/seguridad/modelos/{PeticionModel.d.ts → PeticionModel.ts} +20 -15
- package/src/app/seguridad/modelos/PreguntaSeguridadModel.ts +9 -0
- package/src/app/seguridad/modelos/PropiedadModel.ts +12 -0
- package/src/app/seguridad/modelos/PublicacionWebModel.ts +29 -0
- package/src/app/seguridad/modelos/PuntoProcesoModel.ts +7 -0
- package/src/app/seguridad/modelos/RecursoPunto.ts +13 -0
- package/src/app/seguridad/modelos/RecursoPuntoModel.ts +13 -0
- package/src/app/seguridad/modelos/ReporteBanda.ts +9 -0
- package/src/app/seguridad/modelos/ReporteColumna.ts +33 -0
- package/src/app/seguridad/modelos/ReporteColumnario.ts +82 -0
- package/src/app/seguridad/modelos/ReporteColumnarioMarcador.ts +31 -0
- package/src/app/seguridad/modelos/{ReporteEntradaModel.d.ts → ReporteEntradaModel.ts} +21 -19
- package/src/app/seguridad/modelos/{ReporteFuenteModel.d.ts → ReporteFuenteModel.ts} +141 -87
- package/src/app/seguridad/modelos/ReporteMarcador.ts +40 -0
- package/src/app/seguridad/modelos/ReporteSoporte.ts +10 -0
- package/src/app/seguridad/modelos/ReporteTabla.ts +14 -0
- package/src/app/seguridad/modelos/RespuestaModel.ts +9 -0
- package/src/app/seguridad/modelos/{RolModel.d.ts → RolModel.ts} +41 -37
- package/src/app/seguridad/modelos/ServidorCorreoModel.ts +31 -0
- package/src/app/seguridad/modelos/SistemaMensajeModel.ts +11 -0
- package/src/app/seguridad/modelos/SitioPortalModel.ts +29 -0
- package/src/app/seguridad/modelos/TablaFromModel.ts +5 -0
- package/src/app/seguridad/modelos/TareasModel.ts +54 -0
- package/src/app/seguridad/modelos/TextoModel.ts +11 -0
- package/src/app/seguridad/modelos/TipoEtiqueta.ts +8 -0
- package/src/app/seguridad/modelos/UnionModel.ts +14 -0
- package/src/app/seguridad/modelos/{UsuarioModel.d.ts → UsuarioModel.ts} +60 -49
- package/src/app/seguridad/modelos/UsuariogrupoModel.ts +27 -0
- package/src/app/seguridad/modelos/aplicacion-propiedad-model.ts +16 -0
- package/src/app/seguridad/modelos/contenidoCorreoModel.ts +13 -0
- package/src/app/shared/componentes/input-helper-seleccion-plantilla/input-helper-seleccion-plantilla.component.html +47 -0
- package/src/app/shared/componentes/input-helper-seleccion-plantilla/input-helper-seleccion-plantilla.component.scss +8 -0
- package/src/app/shared/componentes/input-helper-seleccion-plantilla/input-helper-seleccion-plantilla.component.ts +144 -0
- package/src/app/shared/servicios/cargar-archivos.service.ts +51 -0
- package/src/app/shared/servicios/cargar-mapas.service.ts +43 -0
- package/src/app/shared/servicios/encriptado-basico.service.ts +54 -0
- package/src/app/shared/servicios/encriptador-simetrico.service.ts +29 -0
- package/src/app/shared/servicios/general.service.ts +124 -0
- package/src/app/shared/servicios/parametros-navegacion.service.ts +20 -0
- package/src/app/shared/servicios/plantillas.service.ts +22 -0
- package/src/app/shared/servicios/tarea.service.ts +71 -0
- package/src/app/shared/utilidades/translate-loader.util.ts +44 -0
- package/src/app/webcommon/pages/cargue-plantilla/cargue-plantilla-general/cargue-plantilla-general.component.html +175 -0
- package/src/app/webcommon/pages/cargue-plantilla/cargue-plantilla-general/cargue-plantilla-general.component.scss +78 -0
- package/src/app/webcommon/pages/cargue-plantilla/cargue-plantilla-general/cargue-plantilla-general.component.ts +438 -0
- package/src/app/webcommon/pages/ejecucion-reporte/detalle-campo-reporte/detalle-campo-reporte.component.html +87 -0
- package/src/app/webcommon/pages/ejecucion-reporte/detalle-campo-reporte/detalle-campo-reporte.component.scss +0 -0
- package/src/app/webcommon/pages/ejecucion-reporte/detalle-campo-reporte/detalle-campo-reporte.component.ts +189 -0
- package/src/app/webcommon/pages/ejecucion-reporte/detalle-distribucion-reporte/detalle-distribucion-reporte.component.html +117 -0
- package/src/app/webcommon/pages/ejecucion-reporte/detalle-distribucion-reporte/detalle-distribucion-reporte.component.scss +0 -0
- package/src/app/webcommon/pages/ejecucion-reporte/detalle-distribucion-reporte/detalle-distribucion-reporte.component.ts +87 -0
- package/src/app/webcommon/pages/ejecucion-reporte/detalle-ejecucion-reporte/detalle-ejecucion-reporte.page.html +158 -0
- package/src/app/webcommon/pages/ejecucion-reporte/detalle-ejecucion-reporte/detalle-ejecucion-reporte.page.scss +6 -0
- package/src/app/webcommon/pages/ejecucion-reporte/detalle-ejecucion-reporte/detalle-ejecucion-reporte.page.ts +345 -0
- package/src/app/webcommon/pages/ejecucion-reporte/detalle-entrada-reporte/detalle-entrada-reporte.component.html +131 -0
- package/src/app/webcommon/pages/ejecucion-reporte/detalle-entrada-reporte/detalle-entrada-reporte.component.scss +0 -0
- package/src/app/webcommon/pages/ejecucion-reporte/detalle-entrada-reporte/detalle-entrada-reporte.component.ts +198 -0
- package/src/app/webcommon/pages/ejecucion-reporte/detalle-punto-proceso-reporte/detalle-punto-proceso-reporte.component.html +206 -0
- package/src/app/webcommon/pages/ejecucion-reporte/detalle-punto-proceso-reporte/detalle-punto-proceso-reporte.component.scss +3 -0
- package/src/app/webcommon/pages/ejecucion-reporte/detalle-punto-proceso-reporte/detalle-punto-proceso-reporte.component.ts +328 -0
- package/src/app/webcommon/pages/ejecucion-reporte/detalle-tipo-reporte/detalle-tipo-reporte.component.html +2121 -0
- package/src/app/webcommon/pages/ejecucion-reporte/detalle-tipo-reporte/detalle-tipo-reporte.component.scss +241 -0
- package/src/app/webcommon/pages/ejecucion-reporte/detalle-tipo-reporte/detalle-tipo-reporte.component.ts +1698 -0
- package/src/app/webcommon/pages/ejecucion-reporte/listado-ejecucion-reporte/listado-ejecucion-reporte.page.html +33 -0
- package/src/app/webcommon/pages/ejecucion-reporte/listado-ejecucion-reporte/listado-ejecucion-reporte.page.scss +0 -0
- package/src/app/webcommon/pages/ejecucion-reporte/listado-ejecucion-reporte/listado-ejecucion-reporte.page.ts +96 -0
- package/src/app/webcommon/pages/ejecucion-reporte-externo/listado-ejecucion-reporte-externo/listado-ejecucion-reporte-externo.component.html +56 -0
- package/src/app/webcommon/pages/ejecucion-reporte-externo/listado-ejecucion-reporte-externo/listado-ejecucion-reporte-externo.component.scss +0 -0
- package/src/app/webcommon/pages/ejecucion-reporte-externo/listado-ejecucion-reporte-externo/listado-ejecucion-reporte-externo.component.ts +113 -0
- package/src/app/webcommon/pages/fuente/importar-fuente-con/importar-fuente-con.component.html +394 -0
- package/src/app/webcommon/pages/fuente/importar-fuente-con/importar-fuente-con.component.scss +10 -0
- package/src/app/webcommon/pages/fuente/importar-fuente-con/importar-fuente-con.component.ts +610 -0
- package/src/app/webcommon/pages/fuente/importar-fuente-general/importar-fuente-general.component.html +130 -0
- package/src/app/webcommon/pages/fuente/importar-fuente-general/importar-fuente-general.component.scss +0 -0
- package/src/app/webcommon/pages/fuente/importar-fuente-general/importar-fuente-general.component.ts +172 -0
- package/src/app/webcommon/pages/fuente-reporte/fuente-reporte.component.html +404 -0
- package/src/app/webcommon/pages/fuente-reporte/fuente-reporte.component.scss +5 -0
- package/src/app/webcommon/pages/fuente-reporte/fuente-reporte.component.ts +763 -0
- package/src/app/webcommon/pages/fuenteGeneral/fuente-general-servicio/fuente-general-servicio.component.html +145 -0
- package/src/app/webcommon/pages/fuenteGeneral/fuente-general-servicio/fuente-general-servicio.component.scss +0 -0
- package/src/app/webcommon/pages/fuenteGeneral/fuente-general-servicio/fuente-general-servicio.component.ts +302 -0
- package/src/app/webcommon/pages/fuenteGeneral/listado-fuente-general/listado-fuente-general.page.html +19 -0
- package/src/app/webcommon/pages/fuenteGeneral/listado-fuente-general/listado-fuente-general.page.scss +0 -0
- package/src/app/webcommon/pages/fuenteGeneral/listado-fuente-general/listado-fuente-general.page.ts +88 -0
- package/src/app/webcommon/pages/fuenteGeneral/mantenimiento-fuente-general/mantenimiento-fuente-general.page.html +714 -0
- package/src/app/webcommon/pages/fuenteGeneral/mantenimiento-fuente-general/mantenimiento-fuente-general.page.scss +0 -0
- package/src/app/webcommon/pages/fuenteGeneral/mantenimiento-fuente-general/mantenimiento-fuente-general.page.ts +688 -0
- package/src/app/webcommon/pipes/dashboard.pipe.ts +79 -0
- package/src/app/webcommon/pipes/fuente.pipe.ts +207 -0
- package/src/app/webcommon/pipes/general.pipe.ts +1046 -0
- package/src/app/webcommon/pipes/reporte-columnario.pipe.ts +101 -0
- package/src/app/webcommon/pipes/reporte-fuente.pipe.ts +306 -0
- package/src/app/webcommon/pipes/sara-general.pipe.ts +289 -0
- package/src/app/webcommon/popups/popup-campos-fuente-general/popup-campos-fuente-general.component.html +90 -0
- package/src/app/webcommon/popups/popup-campos-fuente-general/popup-campos-fuente-general.component.scss +0 -0
- package/src/app/webcommon/popups/popup-campos-fuente-general/popup-campos-fuente-general.component.ts +262 -0
- package/src/app/webcommon/popups/popup-convertir-plantillas/popup-convertir-plantillas.component.html +50 -0
- package/src/app/webcommon/popups/popup-convertir-plantillas/popup-convertir-plantillas.component.scss +0 -0
- package/src/app/webcommon/popups/popup-convertir-plantillas/popup-convertir-plantillas.component.ts +135 -0
- package/src/app/webcommon/popups/popup-editor-formula/popup-editor-formula.component.html +44 -0
- package/src/app/webcommon/popups/popup-editor-formula/popup-editor-formula.component.scss +0 -0
- package/src/app/webcommon/popups/popup-editor-formula/popup-editor-formula.component.ts +66 -0
- package/src/app/webcommon/popups/popup-punto-proceso/popup-punto-proceso.component.html +41 -0
- package/src/app/webcommon/popups/popup-punto-proceso/popup-punto-proceso.component.scss +0 -0
- package/src/app/webcommon/popups/popup-punto-proceso/popup-punto-proceso.component.ts +283 -0
- package/src/app/webcommon/popups/popup-recurso/popup-recurso.component.html +179 -0
- package/src/app/webcommon/popups/popup-recurso/popup-recurso.component.scss +3 -0
- package/src/app/webcommon/popups/popup-recurso/popup-recurso.component.ts +266 -0
- package/src/app/webcommon/popups/popup-reporte/popup-reporte.component.html +273 -0
- package/src/app/webcommon/popups/popup-reporte/popup-reporte.component.scss +13 -0
- package/src/app/webcommon/popups/popup-reporte/popup-reporte.component.ts +566 -0
- package/src/app/webcommon/popups/popup-sentencia/popup-sentencia.component.html +10 -0
- package/src/app/webcommon/popups/popup-sentencia/popup-sentencia.component.scss +5 -0
- package/src/app/webcommon/popups/popup-sentencia/popup-sentencia.component.ts +58 -0
- package/src/app/webcommon/popups/popup-tablas-fuente/popup-tablas-fuente.component.html +71 -0
- package/src/app/webcommon/popups/popup-tablas-fuente/popup-tablas-fuente.component.scss +0 -0
- package/src/app/webcommon/popups/popup-tablas-fuente/popup-tablas-fuente.component.ts +154 -0
- package/src/app/webcommon/popups/punto-proceso-comp/punto-proceso-comp.component.html +11 -0
- package/src/app/webcommon/popups/punto-proceso-comp/punto-proceso-comp.component.scss +0 -0
- package/src/app/webcommon/popups/punto-proceso-comp/punto-proceso-comp.component.ts +82 -0
- package/src/app/webcommon/services/carguelinea.service.ts +74 -0
- package/src/app/webcommon/services/dashboard.service.ts +258 -0
- package/src/app/webcommon/services/ejecucionreporte.service.ts +160 -0
- package/src/app/webcommon/services/fechaUtils.service.ts +133 -0
- package/src/app/webcommon/services/fuentegeneral.service.ts +74 -0
- package/src/app/webcommon/services/homologacion.service.ts +49 -0
- package/src/app/webcommon/services/plantillas.service.ts +165 -0
- package/src/app/webcommon/services/reportes.service.ts +133 -0
- package/src/app/webcommon/webcommon.module.ts +11 -0
- package/src/assets/layout/styles/layout/topbar/_topbar_main.scss +4 -4
- package/src/environments/environment.prod.ts +3 -0
- package/src/environments/environment.ts +25 -0
- package/src/favicon.ico +0 -0
- package/src/index.html +14 -0
- package/src/main.ts +12 -0
- package/src/polyfills.ts +53 -0
- package/src/styles/primeng/sass/overrides/_theme_styles.scss +0 -7
- package/src/test.ts +14 -0
- package/tsconfig.app.json +15 -0
- package/tsconfig.json +35 -0
- package/tsconfig.spec.json +18 -0
- package/esm2022/general-library-union.mjs +0 -5
- package/esm2022/public-api.mjs +0 -183
- package/esm2022/src/app/core/componentes/breadcrumb/breadcrumb.component.mjs +0 -40
- package/esm2022/src/app/core/componentes/carga-pantalla-completa/carga-pantalla-completa.component.mjs +0 -28
- package/esm2022/src/app/core/componentes/filtro-general/filtro-general.component.mjs +0 -214
- package/esm2022/src/app/core/componentes/footer/footer.component.mjs +0 -16
- package/esm2022/src/app/core/componentes/formulariodinamico/formulariodinamico.component.mjs +0 -276
- package/esm2022/src/app/core/componentes/formulariodinamico/objetosformulario/Cambio.mjs +0 -11
- package/esm2022/src/app/core/componentes/formulariodinamico/objetosformulario/CampoFormulario.mjs +0 -124
- package/esm2022/src/app/core/componentes/formulariodinamico/objetosformulario/CampoFormularioCons.mjs +0 -73
- package/esm2022/src/app/core/componentes/formulariodinamico/objetosformulario/CampoFormularioNuevo.mjs +0 -59
- package/esm2022/src/app/core/componentes/formulariodinamico/objetosformulario/HashDirective.mjs +0 -21
- package/esm2022/src/app/core/componentes/inicio-component/inicio-component.component.mjs +0 -70
- package/esm2022/src/app/core/componentes/menu/menu.component.mjs +0 -37
- package/esm2022/src/app/core/componentes/tabla-general/tabla-general.component.mjs +0 -93
- package/esm2022/src/app/core/core.module.mjs +0 -23
- package/esm2022/src/app/core/errores/authentication.error.mjs +0 -7
- package/esm2022/src/app/core/modelos/error-response.model.mjs +0 -2
- package/esm2022/src/app/core/modelos/table-column.model.mjs +0 -2
- package/esm2022/src/app/core/modelos/user.model.mjs +0 -7
- package/esm2022/src/app/core/plantilla-general/plantilla-general.template.mjs +0 -230
- package/esm2022/src/app/core/servicios/auth.service.mjs +0 -185
- package/esm2022/src/app/core/servicios/cargar-control-funcionalidad.service.mjs +0 -54
- package/esm2022/src/app/core/servicios/click-posicion.service.mjs +0 -20
- package/esm2022/src/app/core/servicios/data-exporter-table.utils.mjs +0 -64
- package/esm2022/src/app/core/servicios/error-interceptor.service.mjs +0 -214
- package/esm2022/src/app/core/servicios/guardias/auth.guard.mjs +0 -66
- package/esm2022/src/app/core/servicios/guardias/publico.guard.mjs +0 -35
- package/esm2022/src/app/core/servicios/interceptores/loading-interceptor.mjs +0 -37
- package/esm2022/src/app/core/servicios/interceptores/token-interceptor.service.mjs +0 -180
- package/esm2022/src/app/core/servicios/loading.service.mjs +0 -43
- package/esm2022/src/app/core/servicios/menu.service.mjs +0 -146
- package/esm2022/src/app/core/servicios/spinner-service.mjs +0 -22
- package/esm2022/src/app/core/servicios/storage.service.mjs +0 -68
- package/esm2022/src/app/core/servicios/template.service.mjs +0 -99
- package/esm2022/src/app/core/servicios/toast.service.mjs +0 -120
- package/esm2022/src/app/core/servicios/utils.service.mjs +0 -364
- package/esm2022/src/app/core/sharedlib.module.mjs +0 -16
- package/esm2022/src/app/core/utilidades/color.util.mjs +0 -177
- package/esm2022/src/app/layout/api/menuchangeevent.mjs +0 -2
- package/esm2022/src/app/layout/app.breadcrumb.component.mjs +0 -71
- package/esm2022/src/app/layout/app.footer.component.mjs +0 -18
- package/esm2022/src/app/layout/app.layout.component.mjs +0 -188
- package/esm2022/src/app/layout/app.layout.module.mjs +0 -15
- package/esm2022/src/app/layout/app.menu.component.mjs +0 -51
- package/esm2022/src/app/layout/app.menu.service.mjs +0 -24
- package/esm2022/src/app/layout/app.menuitem.component.mjs +0 -296
- package/esm2022/src/app/layout/app.menuprofile.component.mjs +0 -78
- package/esm2022/src/app/layout/app.rightmenu.component.mjs +0 -24
- package/esm2022/src/app/layout/app.sidebar.component.mjs +0 -92
- package/esm2022/src/app/layout/app.topbar.component.mjs +0 -385
- package/esm2022/src/app/layout/service/app.layout.service.mjs +0 -134
- package/esm2022/src/app/publico/pages/login/login.page.mjs +0 -132
- package/esm2022/src/app/publico/pages/not-found/not-found.page.mjs +0 -51
- package/esm2022/src/app/publico/pages/seleccion-rol/seleccion-rol.component.mjs +0 -167
- package/esm2022/src/app/publico/pages/timeout/timeout.page.mjs +0 -20
- package/esm2022/src/app/seguridad/constantes/ConstantesGenerales.mjs +0 -30
- package/esm2022/src/app/seguridad/constantes/ReporteEntradaConstantes.mjs +0 -19
- package/esm2022/src/app/seguridad/modelos/AplicacionModel.mjs +0 -8
- package/esm2022/src/app/seguridad/modelos/ArchivoPortalModel.mjs +0 -14
- package/esm2022/src/app/seguridad/modelos/AtributoPuntoModel.mjs +0 -9
- package/esm2022/src/app/seguridad/modelos/AtributoSSOportalModel.mjs +0 -17
- package/esm2022/src/app/seguridad/modelos/AuditoriaArchivoModel.mjs +0 -11
- package/esm2022/src/app/seguridad/modelos/CargueLineaModel.mjs +0 -13
- package/esm2022/src/app/seguridad/modelos/ColoresRGB.mjs +0 -18
- package/esm2022/src/app/seguridad/modelos/ColumnaFuenteModel.mjs +0 -9
- package/esm2022/src/app/seguridad/modelos/ColumnaWraperModel.mjs +0 -6
- package/esm2022/src/app/seguridad/modelos/ComplementoModel.mjs +0 -7
- package/esm2022/src/app/seguridad/modelos/ComponentePaginaModel.mjs +0 -21
- package/esm2022/src/app/seguridad/modelos/ConexionModel.mjs +0 -14
- package/esm2022/src/app/seguridad/modelos/ContenidoHtmlPortalModel.mjs +0 -21
- package/esm2022/src/app/seguridad/modelos/ControlFuncionModel.mjs +0 -8
- package/esm2022/src/app/seguridad/modelos/CorreoModel.mjs +0 -35
- package/esm2022/src/app/seguridad/modelos/CorreoOrgEmpModModel.mjs +0 -9
- package/esm2022/src/app/seguridad/modelos/CorreoWSModel.mjs +0 -37
- package/esm2022/src/app/seguridad/modelos/CruceRecursoPuntoModel.mjs +0 -14
- package/esm2022/src/app/seguridad/modelos/DatoInicioModel.mjs +0 -6
- package/esm2022/src/app/seguridad/modelos/EjecucionReporteDataModel.mjs +0 -14
- package/esm2022/src/app/seguridad/modelos/EmpresaModel.mjs +0 -25
- package/esm2022/src/app/seguridad/modelos/EmpresaSeguridadModel.mjs +0 -19
- package/esm2022/src/app/seguridad/modelos/EntradaComplementoModel.mjs +0 -7
- package/esm2022/src/app/seguridad/modelos/EtiquetaModel.mjs +0 -5
- package/esm2022/src/app/seguridad/modelos/Etiquetas.mjs +0 -12
- package/esm2022/src/app/seguridad/modelos/ForeingWraperModel.mjs +0 -6
- package/esm2022/src/app/seguridad/modelos/FuenteCampoAtributoModel.mjs +0 -16
- package/esm2022/src/app/seguridad/modelos/FuenteCampoModel.mjs +0 -17
- package/esm2022/src/app/seguridad/modelos/FuenteDato.mjs +0 -19
- package/esm2022/src/app/seguridad/modelos/FuenteEntradaModel.mjs +0 -9
- package/esm2022/src/app/seguridad/modelos/FuenteGeneralModel.mjs +0 -37
- package/esm2022/src/app/seguridad/modelos/FuenteLineaServicioModel.mjs +0 -16
- package/esm2022/src/app/seguridad/modelos/FuenteProcesoGeneralModel.mjs +0 -11
- package/esm2022/src/app/seguridad/modelos/FuenteServicioModel.mjs +0 -51
- package/esm2022/src/app/seguridad/modelos/FuncionalidadModel.mjs +0 -10
- package/esm2022/src/app/seguridad/modelos/GeneralModel.mjs +0 -15
- package/esm2022/src/app/seguridad/modelos/GrupoAccesoModel.mjs +0 -7
- package/esm2022/src/app/seguridad/modelos/GrupoControlFuncionModel.mjs +0 -10
- package/esm2022/src/app/seguridad/modelos/GrupoFuenteModel.mjs +0 -13
- package/esm2022/src/app/seguridad/modelos/GrupoPermisoModel.mjs +0 -14
- package/esm2022/src/app/seguridad/modelos/JoinFromModel.mjs +0 -5
- package/esm2022/src/app/seguridad/modelos/ListaServicioModel.mjs +0 -17
- package/esm2022/src/app/seguridad/modelos/LlaveForaneaModel.mjs +0 -7
- package/esm2022/src/app/seguridad/modelos/LoginModel.mjs +0 -15
- package/esm2022/src/app/seguridad/modelos/MensajeSistemaModel.mjs +0 -8
- package/esm2022/src/app/seguridad/modelos/MenuPortalModel.mjs +0 -5
- package/esm2022/src/app/seguridad/modelos/ModulosModel.mjs +0 -18
- package/esm2022/src/app/seguridad/modelos/ObjetoReporteModel.mjs +0 -6
- package/esm2022/src/app/seguridad/modelos/PaginaPortalModel.mjs +0 -20
- package/esm2022/src/app/seguridad/modelos/ParametroComponenteModel.mjs +0 -9
- package/esm2022/src/app/seguridad/modelos/ParametrosGeneralModel.mjs +0 -15
- package/esm2022/src/app/seguridad/modelos/PermisoFuncionModel.mjs +0 -9
- package/esm2022/src/app/seguridad/modelos/PermisocontenidoModel.mjs +0 -20
- package/esm2022/src/app/seguridad/modelos/PeticionModel.mjs +0 -16
- package/esm2022/src/app/seguridad/modelos/PreguntaSeguridadModel.mjs +0 -7
- package/esm2022/src/app/seguridad/modelos/PropiedadModel.mjs +0 -10
- package/esm2022/src/app/seguridad/modelos/PublicacionWebModel.mjs +0 -27
- package/esm2022/src/app/seguridad/modelos/PuntoProcesoModel.mjs +0 -7
- package/esm2022/src/app/seguridad/modelos/RecursoPunto.mjs +0 -13
- package/esm2022/src/app/seguridad/modelos/RecursoPuntoModel.mjs +0 -13
- package/esm2022/src/app/seguridad/modelos/ReporteBanda.mjs +0 -8
- package/esm2022/src/app/seguridad/modelos/ReporteColumna.mjs +0 -33
- package/esm2022/src/app/seguridad/modelos/ReporteColumnario.mjs +0 -69
- package/esm2022/src/app/seguridad/modelos/ReporteColumnarioMarcador.mjs +0 -24
- package/esm2022/src/app/seguridad/modelos/ReporteEntradaModel.mjs +0 -20
- package/esm2022/src/app/seguridad/modelos/ReporteFuenteModel.mjs +0 -124
- package/esm2022/src/app/seguridad/modelos/ReporteMarcador.mjs +0 -40
- package/esm2022/src/app/seguridad/modelos/ReporteSoporte.mjs +0 -10
- package/esm2022/src/app/seguridad/modelos/ReporteTabla.mjs +0 -13
- package/esm2022/src/app/seguridad/modelos/RespuestaModel.mjs +0 -9
- package/esm2022/src/app/seguridad/modelos/RolModel.mjs +0 -39
- package/esm2022/src/app/seguridad/modelos/ServidorCorreoModel.mjs +0 -28
- package/esm2022/src/app/seguridad/modelos/SistemaMensajeModel.mjs +0 -9
- package/esm2022/src/app/seguridad/modelos/SitioPortalModel.mjs +0 -25
- package/esm2022/src/app/seguridad/modelos/TablaFromModel.mjs +0 -5
- package/esm2022/src/app/seguridad/modelos/TareasModel.mjs +0 -55
- package/esm2022/src/app/seguridad/modelos/TextoModel.mjs +0 -9
- package/esm2022/src/app/seguridad/modelos/TipoEtiqueta.mjs +0 -8
- package/esm2022/src/app/seguridad/modelos/UnionModel.mjs +0 -12
- package/esm2022/src/app/seguridad/modelos/UsuarioModel.mjs +0 -53
- package/esm2022/src/app/seguridad/modelos/UsuariogrupoModel.mjs +0 -24
- package/esm2022/src/app/seguridad/modelos/aplicacion-propiedad-model.mjs +0 -15
- package/esm2022/src/app/seguridad/modelos/contenidoCorreoModel.mjs +0 -10
- package/esm2022/src/app/shared/componentes/input-helper-seleccion-plantilla/input-helper-seleccion-plantilla.component.mjs +0 -154
- package/esm2022/src/app/shared/servicios/cargar-archivos.service.mjs +0 -54
- package/esm2022/src/app/shared/servicios/cargar-mapas.service.mjs +0 -46
- package/esm2022/src/app/shared/servicios/encriptado-basico.service.mjs +0 -53
- package/esm2022/src/app/shared/servicios/general.service.mjs +0 -104
- package/esm2022/src/app/shared/servicios/parametros-navegacion.service.mjs +0 -21
- package/esm2022/src/app/webcommon/pages/cargue-plantilla/cargue-plantilla-general/cargue-plantilla-general.component.mjs +0 -378
- package/esm2022/src/app/webcommon/pages/ejecucion-reporte/detalle-campo-reporte/detalle-campo-reporte.component.mjs +0 -187
- package/esm2022/src/app/webcommon/pages/ejecucion-reporte/detalle-distribucion-reporte/detalle-distribucion-reporte.component.mjs +0 -85
- package/esm2022/src/app/webcommon/pages/ejecucion-reporte/detalle-ejecucion-reporte/detalle-ejecucion-reporte.page.mjs +0 -347
- package/esm2022/src/app/webcommon/pages/ejecucion-reporte/detalle-entrada-reporte/detalle-entrada-reporte.component.mjs +0 -206
- package/esm2022/src/app/webcommon/pages/ejecucion-reporte/detalle-punto-proceso-reporte/detalle-punto-proceso-reporte.component.mjs +0 -327
- package/esm2022/src/app/webcommon/pages/ejecucion-reporte/detalle-tipo-reporte/detalle-tipo-reporte.component.mjs +0 -1590
- package/esm2022/src/app/webcommon/pages/ejecucion-reporte/listado-ejecucion-reporte/listado-ejecucion-reporte.page.mjs +0 -105
- package/esm2022/src/app/webcommon/pages/ejecucion-reporte-externo/listado-ejecucion-reporte-externo/listado-ejecucion-reporte-externo.component.mjs +0 -115
- package/esm2022/src/app/webcommon/pages/fuente/importar-fuente-con/importar-fuente-con.component.mjs +0 -597
- package/esm2022/src/app/webcommon/pages/fuente/importar-fuente-general/importar-fuente-general.component.mjs +0 -177
- package/esm2022/src/app/webcommon/pages/fuente-reporte/fuente-reporte.component.mjs +0 -769
- package/esm2022/src/app/webcommon/pages/fuenteGeneral/fuente-general-servicio/fuente-general-servicio.component.mjs +0 -331
- package/esm2022/src/app/webcommon/pages/fuenteGeneral/listado-fuente-general/listado-fuente-general.page.mjs +0 -95
- package/esm2022/src/app/webcommon/pages/fuenteGeneral/mantenimiento-fuente-general/mantenimiento-fuente-general.page.mjs +0 -675
- package/esm2022/src/app/webcommon/pipes/dashboard.pipe.mjs +0 -86
- package/esm2022/src/app/webcommon/pipes/fuente.pipe.mjs +0 -201
- package/esm2022/src/app/webcommon/pipes/general.pipe.mjs +0 -918
- package/esm2022/src/app/webcommon/pipes/reporte-columnario.pipe.mjs +0 -115
- package/esm2022/src/app/webcommon/pipes/reporte-fuente.pipe.mjs +0 -301
- package/esm2022/src/app/webcommon/popups/popup-campos-fuente-general/popup-campos-fuente-general.component.mjs +0 -267
- package/esm2022/src/app/webcommon/popups/popup-convertir-plantillas/popup-convertir-plantillas.component.mjs +0 -128
- package/esm2022/src/app/webcommon/popups/popup-editor-formula/popup-editor-formula.component.mjs +0 -73
- package/esm2022/src/app/webcommon/popups/popup-punto-proceso/popup-punto-proceso.component.mjs +0 -293
- package/esm2022/src/app/webcommon/popups/popup-recurso/popup-recurso.component.mjs +0 -269
- package/esm2022/src/app/webcommon/popups/popup-reporte/popup-reporte.component.mjs +0 -565
- package/esm2022/src/app/webcommon/popups/popup-sentencia/popup-sentencia.component.mjs +0 -64
- package/esm2022/src/app/webcommon/popups/popup-tablas-fuente/popup-tablas-fuente.component.mjs +0 -162
- package/esm2022/src/app/webcommon/popups/punto-proceso-comp/punto-proceso-comp.component.mjs +0 -89
- package/esm2022/src/app/webcommon/services/carguelinea.service.mjs +0 -69
- package/esm2022/src/app/webcommon/services/dashboard.service.mjs +0 -253
- package/esm2022/src/app/webcommon/services/ejecucionreporte.service.mjs +0 -114
- package/esm2022/src/app/webcommon/services/fechaUtils.service.mjs +0 -102
- package/esm2022/src/app/webcommon/services/fuentegeneral.service.mjs +0 -68
- package/esm2022/src/app/webcommon/services/homologacion.service.mjs +0 -50
- package/esm2022/src/app/webcommon/services/plantillas.service.mjs +0 -129
- package/esm2022/src/app/webcommon/services/reportes.service.mjs +0 -95
- package/esm2022/src/app/webcommon/webcommon.module.mjs +0 -15
- package/esm2022/src/environments/environment.mjs +0 -24
- package/fesm2022/general-library-union.mjs +0 -16177
- package/fesm2022/general-library-union.mjs.map +0 -1
- package/index.d.ts +0 -5
- package/src/app/core/componentes/breadcrumb/breadcrumb.component.d.ts +0 -18
- package/src/app/core/componentes/carga-pantalla-completa/carga-pantalla-completa.component.d.ts +0 -14
- package/src/app/core/componentes/filtro-general/filtro-general.component.d.ts +0 -36
- package/src/app/core/componentes/footer/footer.component.d.ts +0 -9
- package/src/app/core/componentes/formulariodinamico/formulariodinamico.component.d.ts +0 -50
- package/src/app/core/componentes/formulariodinamico/objetosformulario/CampoFormulario.d.ts +0 -44
- package/src/app/core/componentes/formulariodinamico/objetosformulario/CampoFormularioCons.d.ts +0 -45
- package/src/app/core/componentes/formulariodinamico/objetosformulario/CampoFormularioNuevo.d.ts +0 -33
- package/src/app/core/componentes/formulariodinamico/objetosformulario/HashDirective.d.ts +0 -9
- package/src/app/core/componentes/inicio-component/inicio-component.component.d.ts +0 -26
- package/src/app/core/componentes/menu/menu.component.d.ts +0 -16
- package/src/app/core/componentes/tabla-general/tabla-general.component.d.ts +0 -32
- package/src/app/core/core.module.d.ts +0 -8
- package/src/app/core/errores/authentication.error.d.ts +0 -3
- package/src/app/core/modelos/error-response.model.d.ts +0 -9
- package/src/app/core/modelos/table-column.model.d.ts +0 -12
- package/src/app/core/modelos/user.model.d.ts +0 -6
- package/src/app/core/plantilla-general/plantilla-general.template.d.ts +0 -89
- package/src/app/core/servicios/auth.service.d.ts +0 -52
- package/src/app/core/servicios/cargar-control-funcionalidad.service.d.ts +0 -19
- package/src/app/core/servicios/click-posicion.service.d.ts +0 -11
- package/src/app/core/servicios/data-exporter-table.utils.d.ts +0 -11
- package/src/app/core/servicios/error-interceptor.service.d.ts +0 -41
- package/src/app/core/servicios/guardias/auth.guard.d.ts +0 -17
- package/src/app/core/servicios/guardias/publico.guard.d.ts +0 -13
- package/src/app/core/servicios/interceptores/loading-interceptor.d.ts +0 -11
- package/src/app/core/servicios/interceptores/token-interceptor.service.d.ts +0 -26
- package/src/app/core/servicios/loading.service.d.ts +0 -22
- package/src/app/core/servicios/menu.service.d.ts +0 -35
- package/src/app/core/servicios/spinner-service.d.ts +0 -9
- package/src/app/core/servicios/storage.service.d.ts +0 -37
- package/src/app/core/servicios/template.service.d.ts +0 -20
- package/src/app/core/servicios/toast.service.d.ts +0 -48
- package/src/app/core/servicios/utils.service.d.ts +0 -46
- package/src/app/core/sharedlib.module.d.ts +0 -6
- package/src/app/core/utilidades/color.util.d.ts +0 -70
- package/src/app/layout/app.breadcrumb.component.d.ts +0 -28
- package/src/app/layout/app.footer.component.d.ts +0 -8
- package/src/app/layout/app.layout.component.d.ts +0 -39
- package/src/app/layout/app.layout.module.d.ts +0 -6
- package/src/app/layout/app.menu.component.d.ts +0 -19
- package/src/app/layout/app.menu.service.d.ts +0 -12
- package/src/app/layout/app.menuitem.component.d.ts +0 -41
- package/src/app/layout/app.menuprofile.component.d.ts +0 -18
- package/src/app/layout/app.rightmenu.component.d.ts +0 -10
- package/src/app/layout/app.sidebar.component.d.ts +0 -34
- package/src/app/layout/app.topbar.component.d.ts +0 -86
- package/src/app/layout/service/app.layout.service.d.ts +0 -57
- package/src/app/publico/pages/login/login.page.d.ts +0 -40
- package/src/app/publico/pages/not-found/not-found.page.d.ts +0 -17
- package/src/app/publico/pages/seleccion-rol/seleccion-rol.component.d.ts +0 -41
- package/src/app/publico/pages/timeout/timeout.page.d.ts +0 -10
- package/src/app/seguridad/constantes/ConstantesGenerales.d.ts +0 -25
- package/src/app/seguridad/constantes/ReporteEntradaConstantes.d.ts +0 -7
- package/src/app/seguridad/modelos/AplicacionModel.d.ts +0 -7
- package/src/app/seguridad/modelos/ArchivoPortalModel.d.ts +0 -13
- package/src/app/seguridad/modelos/AtributoPuntoModel.d.ts +0 -8
- package/src/app/seguridad/modelos/AtributoSSOportalModel.d.ts +0 -16
- package/src/app/seguridad/modelos/CargueLineaModel.d.ts +0 -12
- package/src/app/seguridad/modelos/ColoresRGB.d.ts +0 -17
- package/src/app/seguridad/modelos/ColumnaFuenteModel.d.ts +0 -8
- package/src/app/seguridad/modelos/ComplementoModel.d.ts +0 -6
- package/src/app/seguridad/modelos/ComponentePaginaModel.d.ts +0 -20
- package/src/app/seguridad/modelos/ConexionModel.d.ts +0 -13
- package/src/app/seguridad/modelos/ControlFuncionModel.d.ts +0 -7
- package/src/app/seguridad/modelos/CorreoModel.d.ts +0 -31
- package/src/app/seguridad/modelos/CorreoWSModel.d.ts +0 -33
- package/src/app/seguridad/modelos/CruceRecursoPuntoModel.d.ts +0 -13
- package/src/app/seguridad/modelos/EmpresaModel.d.ts +0 -23
- package/src/app/seguridad/modelos/EmpresaSeguridadModel.d.ts +0 -18
- package/src/app/seguridad/modelos/EtiquetaModel.d.ts +0 -4
- package/src/app/seguridad/modelos/Etiquetas.d.ts +0 -10
- package/src/app/seguridad/modelos/FuenteCampoAtributoModel.d.ts +0 -15
- package/src/app/seguridad/modelos/FuenteDato.d.ts +0 -18
- package/src/app/seguridad/modelos/FuenteEntradaModel.d.ts +0 -8
- package/src/app/seguridad/modelos/FuenteLineaServicioModel.d.ts +0 -16
- package/src/app/seguridad/modelos/FuenteProcesoGeneralModel.d.ts +0 -10
- package/src/app/seguridad/modelos/FuncionalidadModel.d.ts +0 -8
- package/src/app/seguridad/modelos/GeneralModel.d.ts +0 -8
- package/src/app/seguridad/modelos/GrupoControlFuncionModel.d.ts +0 -9
- package/src/app/seguridad/modelos/GrupoFuenteModel.d.ts +0 -13
- package/src/app/seguridad/modelos/GrupoPermisoModel.d.ts +0 -13
- package/src/app/seguridad/modelos/ListaServicioModel.d.ts +0 -16
- package/src/app/seguridad/modelos/LlaveForaneaModel.d.ts +0 -6
- package/src/app/seguridad/modelos/LoginModel.d.ts +0 -17
- package/src/app/seguridad/modelos/MensajeSistemaModel.d.ts +0 -7
- package/src/app/seguridad/modelos/ModulosModel.d.ts +0 -14
- package/src/app/seguridad/modelos/PaginaPortalModel.d.ts +0 -19
- package/src/app/seguridad/modelos/ParametroComponenteModel.d.ts +0 -8
- package/src/app/seguridad/modelos/ParametrosGeneralModel.d.ts +0 -8
- package/src/app/seguridad/modelos/PermisoFuncionModel.d.ts +0 -8
- package/src/app/seguridad/modelos/PermisocontenidoModel.d.ts +0 -18
- package/src/app/seguridad/modelos/PreguntaSeguridadModel.d.ts +0 -6
- package/src/app/seguridad/modelos/PropiedadModel.d.ts +0 -9
- package/src/app/seguridad/modelos/PublicacionWebModel.d.ts +0 -25
- package/src/app/seguridad/modelos/PuntoProcesoModel.d.ts +0 -6
- package/src/app/seguridad/modelos/RecursoPunto.d.ts +0 -12
- package/src/app/seguridad/modelos/RecursoPuntoModel.d.ts +0 -12
- package/src/app/seguridad/modelos/ReporteBanda.d.ts +0 -7
- package/src/app/seguridad/modelos/ReporteColumna.d.ts +0 -32
- package/src/app/seguridad/modelos/ReporteColumnario.d.ts +0 -68
- package/src/app/seguridad/modelos/ReporteColumnarioMarcador.d.ts +0 -23
- package/src/app/seguridad/modelos/ReporteMarcador.d.ts +0 -39
- package/src/app/seguridad/modelos/ReporteSoporte.d.ts +0 -9
- package/src/app/seguridad/modelos/ReporteTabla.d.ts +0 -12
- package/src/app/seguridad/modelos/RespuestaModel.d.ts +0 -8
- package/src/app/seguridad/modelos/ServidorCorreoModel.d.ts +0 -25
- package/src/app/seguridad/modelos/SistemaMensajeModel.d.ts +0 -8
- package/src/app/seguridad/modelos/SitioPortalModel.d.ts +0 -24
- package/src/app/seguridad/modelos/TablaFromModel.d.ts +0 -4
- package/src/app/seguridad/modelos/TareasModel.d.ts +0 -50
- package/src/app/seguridad/modelos/TextoModel.d.ts +0 -8
- package/src/app/seguridad/modelos/TipoEtiqueta.d.ts +0 -7
- package/src/app/seguridad/modelos/UnionModel.d.ts +0 -11
- package/src/app/seguridad/modelos/UsuariogrupoModel.d.ts +0 -22
- package/src/app/seguridad/modelos/aplicacion-propiedad-model.d.ts +0 -13
- package/src/app/seguridad/modelos/contenidoCorreoModel.d.ts +0 -9
- package/src/app/shared/componentes/input-helper-seleccion-plantilla/input-helper-seleccion-plantilla.component.d.ts +0 -47
- package/src/app/shared/servicios/cargar-archivos.service.d.ts +0 -15
- package/src/app/shared/servicios/cargar-mapas.service.d.ts +0 -18
- package/src/app/shared/servicios/encriptado-basico.service.d.ts +0 -10
- package/src/app/shared/servicios/general.service.d.ts +0 -24
- package/src/app/shared/servicios/parametros-navegacion.service.d.ts +0 -9
- package/src/app/webcommon/pages/cargue-plantilla/cargue-plantilla-general/cargue-plantilla-general.component.d.ts +0 -79
- package/src/app/webcommon/pages/ejecucion-reporte/detalle-campo-reporte/detalle-campo-reporte.component.d.ts +0 -79
- package/src/app/webcommon/pages/ejecucion-reporte/detalle-distribucion-reporte/detalle-distribucion-reporte.component.d.ts +0 -29
- package/src/app/webcommon/pages/ejecucion-reporte/detalle-ejecucion-reporte/detalle-ejecucion-reporte.page.d.ts +0 -69
- package/src/app/webcommon/pages/ejecucion-reporte/detalle-entrada-reporte/detalle-entrada-reporte.component.d.ts +0 -51
- package/src/app/webcommon/pages/ejecucion-reporte/detalle-punto-proceso-reporte/detalle-punto-proceso-reporte.component.d.ts +0 -77
- package/src/app/webcommon/pages/ejecucion-reporte/detalle-tipo-reporte/detalle-tipo-reporte.component.d.ts +0 -279
- package/src/app/webcommon/pages/ejecucion-reporte/listado-ejecucion-reporte/listado-ejecucion-reporte.page.d.ts +0 -42
- package/src/app/webcommon/pages/ejecucion-reporte-externo/listado-ejecucion-reporte-externo/listado-ejecucion-reporte-externo.component.d.ts +0 -36
- package/src/app/webcommon/pages/fuente/importar-fuente-con/importar-fuente-con.component.d.ts +0 -146
- package/src/app/webcommon/pages/fuente/importar-fuente-general/importar-fuente-general.component.d.ts +0 -49
- package/src/app/webcommon/pages/fuente-reporte/fuente-reporte.component.d.ts +0 -132
- package/src/app/webcommon/pages/fuenteGeneral/fuente-general-servicio/fuente-general-servicio.component.d.ts +0 -64
- package/src/app/webcommon/pages/fuenteGeneral/listado-fuente-general/listado-fuente-general.page.d.ts +0 -33
- package/src/app/webcommon/pages/fuenteGeneral/mantenimiento-fuente-general/mantenimiento-fuente-general.page.d.ts +0 -149
- package/src/app/webcommon/pipes/dashboard.pipe.d.ts +0 -48
- package/src/app/webcommon/pipes/fuente.pipe.d.ts +0 -136
- package/src/app/webcommon/pipes/general.pipe.d.ts +0 -647
- package/src/app/webcommon/pipes/reporte-columnario.pipe.d.ts +0 -59
- package/src/app/webcommon/pipes/reporte-fuente.pipe.d.ts +0 -193
- package/src/app/webcommon/popups/popup-campos-fuente-general/popup-campos-fuente-general.component.d.ts +0 -59
- package/src/app/webcommon/popups/popup-convertir-plantillas/popup-convertir-plantillas.component.d.ts +0 -27
- package/src/app/webcommon/popups/popup-editor-formula/popup-editor-formula.component.d.ts +0 -21
- package/src/app/webcommon/popups/popup-punto-proceso/popup-punto-proceso.component.d.ts +0 -64
- package/src/app/webcommon/popups/popup-recurso/popup-recurso.component.d.ts +0 -63
- package/src/app/webcommon/popups/popup-reporte/popup-reporte.component.d.ts +0 -105
- package/src/app/webcommon/popups/popup-sentencia/popup-sentencia.component.d.ts +0 -21
- package/src/app/webcommon/popups/popup-tablas-fuente/popup-tablas-fuente.component.d.ts +0 -42
- package/src/app/webcommon/popups/punto-proceso-comp/punto-proceso-comp.component.d.ts +0 -30
- package/src/app/webcommon/services/carguelinea.service.d.ts +0 -19
- package/src/app/webcommon/services/dashboard.service.d.ts +0 -27
- package/src/app/webcommon/services/ejecucionreporte.service.d.ts +0 -34
- package/src/app/webcommon/services/fechaUtils.service.d.ts +0 -31
- package/src/app/webcommon/services/fuentegeneral.service.d.ts +0 -24
- package/src/app/webcommon/services/homologacion.service.d.ts +0 -17
- package/src/app/webcommon/services/plantillas.service.d.ts +0 -26
- package/src/app/webcommon/services/reportes.service.d.ts +0 -35
- package/src/app/webcommon/webcommon.module.d.ts +0 -6
- package/src/environments/environment.d.ts +0 -7
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
<p-confirmDialog #cd key="eliminar">
|
|
2
|
+
<ng-template pTemplate="footer">
|
|
3
|
+
<div class="mt-3">
|
|
4
|
+
<button type="button"
|
|
5
|
+
class="p-button-outlined-button-secondary p-button-outlined p-button p-component" pButton
|
|
6
|
+
icon="pi pi-times" label="No" (click)="cd.reject()"></button>
|
|
7
|
+
<button type="button" pButton icon="pi pi-check" label="Si" class="p-button-raised"
|
|
8
|
+
(click)="cd.accept()"></button>
|
|
9
|
+
</div>
|
|
10
|
+
</ng-template>
|
|
11
|
+
</p-confirmDialog>
|
|
12
|
+
<p-dialog id='popupfuenteTablas' header="{{'fuente' | translate}}"
|
|
13
|
+
[(visible)]="visible" [breakpoints]="{'960px': '75vw', '640px': '100vw'}" [style]="{width: '50vw'}"
|
|
14
|
+
(onHide)="ocultarPopup()" [modal]="true">
|
|
15
|
+
<div class="flex justify-content-between align-items-center mb-3">
|
|
16
|
+
<app-filtro-general [filtros]="filters" (metodoRegresar)="cargaLazy($event)">
|
|
17
|
+
<ng-template let-form>
|
|
18
|
+
<ng-container [formGroup]="form">
|
|
19
|
+
<span class="p-float-label">
|
|
20
|
+
<input pInputText autofocus type="text" id="descripcion" formControlName="descripcion" [(ngModel)]="filtroTabla"
|
|
21
|
+
autocomplete="off" />
|
|
22
|
+
<label for="descripcion">{{'filtro' | translate}}</label>
|
|
23
|
+
</span>
|
|
24
|
+
</ng-container>
|
|
25
|
+
</ng-template>
|
|
26
|
+
</app-filtro-general>
|
|
27
|
+
|
|
28
|
+
<button pButton pRipple class="ml-2 p-ripple p-element p-button p-component p-button-secondary"
|
|
29
|
+
icon="pi pi-plus" label="{{'adicionar' | translate}}"
|
|
30
|
+
(click)="seleccionarTabla()">
|
|
31
|
+
</button>
|
|
32
|
+
|
|
33
|
+
</div>
|
|
34
|
+
|
|
35
|
+
<p-table #tablaGeneral id="tabla_lista_tipo_entidad" [value]="paginadorTablas" [scrollable]="true"
|
|
36
|
+
[totalRecords]="paginadorTablas.length" scrollDirection="both" scrollDirection="horizontal"
|
|
37
|
+
responsiveLayout="scroll" scrollDirection="horizontal" [paginator]="paginadorTablas.length > 10"
|
|
38
|
+
[rows]="10" styleClass="p-datatable-striped"
|
|
39
|
+
[showCurrentPageReport]="true" editMode="row" [globalFilterFields]="['objeto']"
|
|
40
|
+
currentPageReportTemplate="{first} al {last} de {totalRecords} registros"
|
|
41
|
+
dataKey="alias">
|
|
42
|
+
<ng-template pTemplate="header">
|
|
43
|
+
<tr>
|
|
44
|
+
<th style="width:25%" alignFrozen="left" pFrozenColumn>
|
|
45
|
+
<p-checkbox [style]="{'margin-left': '1%','margin-right':'1%'}"
|
|
46
|
+
[(ngModel)]="seleccionGeneral" [binary]="true" [ngModel]="todosSeleccionados()"
|
|
47
|
+
(ngModelChange)="actualizarSeleccion($event)"></p-checkbox>
|
|
48
|
+
<span style="margin-left:1%">{{'tabla' | translate}}</span>
|
|
49
|
+
</th>
|
|
50
|
+
</tr>
|
|
51
|
+
</ng-template>
|
|
52
|
+
<ng-template pTemplate="body" let-tabla>
|
|
53
|
+
<tr>
|
|
54
|
+
<td style="width:25%">
|
|
55
|
+
<p-checkbox class="mr-2 " [(ngModel)]="tabla.check" [binary]="true" inputId="binary">
|
|
56
|
+
</p-checkbox>
|
|
57
|
+
{{tabla.objeto}}
|
|
58
|
+
</td>
|
|
59
|
+
</tr>
|
|
60
|
+
</ng-template>
|
|
61
|
+
<ng-template pTemplate="emptymessage">
|
|
62
|
+
<tr class="p-3 font-medium emptymessage">
|
|
63
|
+
<td colspan="5">
|
|
64
|
+
{{'mensajetablavacia' | translate}}
|
|
65
|
+
</td>
|
|
66
|
+
</tr>
|
|
67
|
+
</ng-template>
|
|
68
|
+
</p-table>
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
</p-dialog>
|
|
File without changes
|
|
@@ -0,0 +1,154 @@
|
|
|
1
|
+
import { Component, EventEmitter, Output, ViewChild } from '@angular/core';
|
|
2
|
+
import { ObjetoReporteModel } from '../../../seguridad/modelos/ObjetoReporteModel';
|
|
3
|
+
import { ReportesService } from '../../services/reportes.service';
|
|
4
|
+
import { ConstantesGenerales } from '../../../seguridad/constantes/ConstantesGenerales';
|
|
5
|
+
import { UtilsService } from '../../../core/servicios/utils.service';
|
|
6
|
+
import { TablaGeneralComponent } from '../../../core/componentes/tabla-general/tabla-general.component';
|
|
7
|
+
import { DialogModule } from 'primeng/dialog';
|
|
8
|
+
import { TranslateModule, TranslatePipe, TranslateService } from '@ngx-translate/core';
|
|
9
|
+
import { ConfirmationService, MessageService } from 'primeng/api';
|
|
10
|
+
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
|
|
11
|
+
import { FiltroGeneralComponent } from '../../../core/componentes/filtro-general/filtro-general.component';
|
|
12
|
+
import { InputTextModule } from 'primeng/inputtext';
|
|
13
|
+
import { TableModule, Table } from 'primeng/table';
|
|
14
|
+
import { CheckboxModule } from 'primeng/checkbox';
|
|
15
|
+
import { ButtonDirective, ButtonModule } from 'primeng/button';
|
|
16
|
+
import { ToastService } from './../../../core/servicios/toast.service';
|
|
17
|
+
import { ConfirmDialogModule } from 'primeng/confirmdialog';
|
|
18
|
+
|
|
19
|
+
@Component({
|
|
20
|
+
selector: 'app-popup-tablas-fuente',
|
|
21
|
+
standalone: true,
|
|
22
|
+
imports: [ConfirmDialogModule, ButtonModule, ButtonDirective, TranslateModule, CheckboxModule, TableModule, InputTextModule, ReactiveFormsModule, FormsModule, TablaGeneralComponent, DialogModule, DialogModule, TranslateModule, FiltroGeneralComponent],
|
|
23
|
+
providers: [TranslatePipe, MessageService, ConfirmationService],
|
|
24
|
+
templateUrl: './popup-tablas-fuente.component.html',
|
|
25
|
+
styleUrl: './popup-tablas-fuente.component.scss'
|
|
26
|
+
})
|
|
27
|
+
export class PopupTablasFuenteComponent {
|
|
28
|
+
public paginadorTablas: ObjetoReporteModel[] = [];
|
|
29
|
+
public filtroTabla: string;
|
|
30
|
+
public visible: boolean;
|
|
31
|
+
public filtro: ObjetoReporteModel = new ObjetoReporteModel();
|
|
32
|
+
public filters: any[] = [];
|
|
33
|
+
public paginator = {
|
|
34
|
+
rows: 10,
|
|
35
|
+
totalRecords: 0,
|
|
36
|
+
};
|
|
37
|
+
public seleccionGeneral: boolean;
|
|
38
|
+
public loading: boolean;
|
|
39
|
+
public columns: any[] = [];
|
|
40
|
+
|
|
41
|
+
@ViewChild('tablaGeneral') tablaGeneral : Table;
|
|
42
|
+
|
|
43
|
+
@Output() aplicarDestinoOcultar = new EventEmitter();
|
|
44
|
+
|
|
45
|
+
constructor(private confirmationService: ConfirmationService, private reportesSvc: ReportesService, private utilsService: UtilsService, private translateService: TranslateService, private notificationBusService: ToastService) {
|
|
46
|
+
this.columns = [
|
|
47
|
+
{
|
|
48
|
+
field: 'objeto',
|
|
49
|
+
header: this.translateService.instant('descripcion'),
|
|
50
|
+
width: 100,
|
|
51
|
+
},
|
|
52
|
+
];
|
|
53
|
+
this.filters = [
|
|
54
|
+
{
|
|
55
|
+
field: 'descripcion',
|
|
56
|
+
header: this.translateService.instant('descripcion'),
|
|
57
|
+
matchMode: 'contains',
|
|
58
|
+
}
|
|
59
|
+
];
|
|
60
|
+
this.load(null);
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
cargaLazy(event){
|
|
65
|
+
this.tablaGeneral.filterGlobal(this.filtroTabla,'contains');
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
public async load(event) {
|
|
69
|
+
try {
|
|
70
|
+
this.loading = true;
|
|
71
|
+
this.colocarFiltro();
|
|
72
|
+
this.paginadorTablas = await this.reportesSvc.getObjetos(this.filtro).toPromise();
|
|
73
|
+
this.paginator.totalRecords = await this.reportesSvc.getCantidadObjetos(this.filtro).toPromise();
|
|
74
|
+
} catch (e) {
|
|
75
|
+
console.error(e);
|
|
76
|
+
}
|
|
77
|
+
this.loading = false;
|
|
78
|
+
}
|
|
79
|
+
public colocarFiltro() {
|
|
80
|
+
this.filtro = new ObjetoReporteModel();
|
|
81
|
+
if (this.filtroTabla != null && this.utilsService.isNotBlank(this.filtroTabla)) {
|
|
82
|
+
this.filtro.filtro = (ConstantesGenerales.PORCENTAJE + this.filtroTabla + ConstantesGenerales.PORCENTAJE);
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
public buscarTabla(destino: string) {
|
|
87
|
+
try {
|
|
88
|
+
this.filtroTabla = '';
|
|
89
|
+
this.mostrarPopup();
|
|
90
|
+
} catch (e) {
|
|
91
|
+
console.error(e);
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
public seleccionarTabla() {
|
|
97
|
+
try {
|
|
98
|
+
|
|
99
|
+
let tablaSeleccionada = this.paginadorTablas.filter(data => data.check == true);
|
|
100
|
+
if (tablaSeleccionada.length == 0) {
|
|
101
|
+
this.notificationBusService.showWarning('Seleccione por lo menos un registro');
|
|
102
|
+
return
|
|
103
|
+
}
|
|
104
|
+
this.aplicarDestinoOcultar.emit(tablaSeleccionada);
|
|
105
|
+
this.ocultarPopup();
|
|
106
|
+
} catch (e) {
|
|
107
|
+
console.error(e);
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
mostrarPopup() {
|
|
112
|
+
this.visible = true;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
ocultarPopup() {
|
|
116
|
+
this.paginadorTablas.forEach((elemento) => {
|
|
117
|
+
elemento.check = false;
|
|
118
|
+
});
|
|
119
|
+
this.visible = false;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
todosSeleccionados(): boolean {
|
|
123
|
+
return this.paginadorTablas.every(elemento => elemento.check);
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
actualizarSeleccion(booleanogeneral: boolean): void {
|
|
127
|
+
if (booleanogeneral) {
|
|
128
|
+
this.confirmationService.confirm({
|
|
129
|
+
target: event?.target,
|
|
130
|
+
message: 'Desea seleccionar todos los registros?',
|
|
131
|
+
acceptLabel: 'Si',
|
|
132
|
+
key:'eliminar',
|
|
133
|
+
header: 'Confirmar',
|
|
134
|
+
accept: () => {
|
|
135
|
+
this.paginadorTablas.forEach((elemento) => {
|
|
136
|
+
elemento.check = booleanogeneral;
|
|
137
|
+
});
|
|
138
|
+
},
|
|
139
|
+
reject: () => {
|
|
140
|
+
this.seleccionGeneral =false;
|
|
141
|
+
}
|
|
142
|
+
});
|
|
143
|
+
} else {
|
|
144
|
+
this.paginadorTablas.forEach((elemento) => {
|
|
145
|
+
elemento.check = booleanogeneral;
|
|
146
|
+
});
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
|
|
150
|
+
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
|
|
154
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
<!--botones-->
|
|
2
|
+
<div class="flex justify-content-end">
|
|
3
|
+
<button pButton pRipple class="m-2 p-button p-button-secondary" *ngIf="reportes.length > 0"
|
|
4
|
+
icon="glyphicons glyphicons-print" label="Reportes" (click)="verReportes()">
|
|
5
|
+
</button>
|
|
6
|
+
|
|
7
|
+
<button pButton pRipple class="m-2 p-button-outlined claro" *ngIf="fuentes.length > 0"
|
|
8
|
+
icon="glyphicons glyphicons-upload" label="Cargue" (click)="verFuentes()">
|
|
9
|
+
</button>
|
|
10
|
+
</div>
|
|
11
|
+
<app-popup-punto-proceso #popupPuntoProceso *ngIf="verPopupPuntoProceso"></app-popup-punto-proceso>
|
|
File without changes
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import { Component, Input, OnInit, ViewChild } from '@angular/core';
|
|
2
|
+
import { PopupPuntoProcesoComponent } from '../popup-punto-proceso/popup-punto-proceso.component';
|
|
3
|
+
import { PuntoProcesoModel } from '../../../seguridad/modelos/PuntoProcesoModel';
|
|
4
|
+
import { AtributoPuntoModel } from '../../../seguridad/modelos/AtributoPuntoModel';
|
|
5
|
+
import { RecursoPuntoModel } from '../../../seguridad/modelos/RecursoPuntoModel';
|
|
6
|
+
import { GeneralModel } from '../../../seguridad/modelos/GeneralModel';
|
|
7
|
+
import { GeneralService } from '../../../shared/servicios/general.service';
|
|
8
|
+
import { UtilsService } from '../../../core/servicios/utils.service';
|
|
9
|
+
import { AuthService } from '../../../core/servicios/auth.service';
|
|
10
|
+
import { CommonModule } from '@angular/common';
|
|
11
|
+
import { ButtonModule } from 'primeng/button';
|
|
12
|
+
|
|
13
|
+
@Component({
|
|
14
|
+
selector: 'app-punto-proceso-comp',
|
|
15
|
+
imports: [CommonModule, PopupPuntoProcesoComponent, ButtonModule],
|
|
16
|
+
standalone: true,
|
|
17
|
+
templateUrl: './punto-proceso-comp.component.html',
|
|
18
|
+
styleUrls: ['./punto-proceso-comp.component.scss']
|
|
19
|
+
})
|
|
20
|
+
export class PuntoProcesoCompComponent implements OnInit {
|
|
21
|
+
|
|
22
|
+
public punto: PuntoProcesoModel;
|
|
23
|
+
public destino;
|
|
24
|
+
public reportes: RecursoPuntoModel[] = [];
|
|
25
|
+
public fuentes: any[] = [];
|
|
26
|
+
public atributos: AtributoPuntoModel[] = [];
|
|
27
|
+
|
|
28
|
+
@Input() public key: string;
|
|
29
|
+
@Input() public componente: any;
|
|
30
|
+
public verPopupPuntoProceso: boolean;
|
|
31
|
+
@ViewChild('popupPuntoProceso') popupPuntoProceso: PopupPuntoProcesoComponent;
|
|
32
|
+
|
|
33
|
+
constructor(private generalService: GeneralService,
|
|
34
|
+
private utilsService: UtilsService,
|
|
35
|
+
private authService: AuthService,) { }
|
|
36
|
+
|
|
37
|
+
ngOnInit(): void {
|
|
38
|
+
if (!this.key) {
|
|
39
|
+
return;
|
|
40
|
+
}
|
|
41
|
+
this.cargarPunto().then(data => {});
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
async cargarPunto() {
|
|
45
|
+
let filtro: PuntoProcesoModel = new PuntoProcesoModel();
|
|
46
|
+
filtro.punto = this.key;
|
|
47
|
+
filtro = await this.generalService.queryForObject(new GeneralModel('PuntoProcesoDTO', null, false, filtro)).toPromise();
|
|
48
|
+
let filtroRecursos: RecursoPuntoModel = new RecursoPuntoModel();
|
|
49
|
+
filtroRecursos.puntoProceso = filtro.llaveTabla;
|
|
50
|
+
let aliasRol = this.authService.getTokenKey('aliasRol');
|
|
51
|
+
if (!aliasRol) {
|
|
52
|
+
aliasRol = '--NOVALIDO--'
|
|
53
|
+
}
|
|
54
|
+
filtroRecursos.rolUsuario = aliasRol;
|
|
55
|
+
let lista: RecursoPuntoModel[] = await this.generalService.queryForList(new GeneralModel('RecursoPuntoDTO', null, false, filtroRecursos)).toPromise();
|
|
56
|
+
lista.forEach(element => {
|
|
57
|
+
if (element.tipo){
|
|
58
|
+
if (element.tipo == 'F') {
|
|
59
|
+
this.fuentes.push(element);
|
|
60
|
+
} else if (element.tipo == 'R') {
|
|
61
|
+
this.reportes.push(element)
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
});
|
|
65
|
+
let filtroAtributo: AtributoPuntoModel = new AtributoPuntoModel();
|
|
66
|
+
filtroAtributo.puntoProceso = filtro.llaveTabla;
|
|
67
|
+
this.atributos = await this.generalService.queryForList(new GeneralModel('AtributoPuntoDTO', null, false, filtroAtributo)).toPromise();
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
async verReportes(){
|
|
71
|
+
this.verPopupPuntoProceso = true;
|
|
72
|
+
await this.utilsService.sleep(100);
|
|
73
|
+
await this.popupPuntoProceso.mostrar(this.reportes, 'R', this.componente);
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
async verFuentes(){
|
|
77
|
+
this.verPopupPuntoProceso = true;
|
|
78
|
+
await this.utilsService.sleep(100);
|
|
79
|
+
await this.popupPuntoProceso.mostrarFuente(this.fuentes, 'F', this.componente);
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { HttpClient, HttpRequest, HttpEvent,HttpErrorResponse } from '@angular/common/http';
|
|
2
|
+
import { Injectable } from '@angular/core';
|
|
3
|
+
import { Observable, catchError, throwError } from 'rxjs';
|
|
4
|
+
|
|
5
|
+
import { GeneralModel } from '../../seguridad/modelos/GeneralModel';
|
|
6
|
+
import { ErrorIntecertorService } from '../../core/servicios/error-interceptor.service';
|
|
7
|
+
import { UtilsService } from '../../core/servicios/utils.service';
|
|
8
|
+
|
|
9
|
+
@Injectable({
|
|
10
|
+
providedIn: 'root'
|
|
11
|
+
})
|
|
12
|
+
export class CargueLineaService{
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
listProcedure(objetoFiltro: GeneralModel) {
|
|
16
|
+
throw new Error('Method not implemented.');
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
constructor(private httpClient: HttpClient ,
|
|
20
|
+
private errorInterceptor : ErrorIntecertorService,
|
|
21
|
+
private utilsService: UtilsService) {
|
|
22
|
+
this.handleError = this.handleError.bind(this);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
private handleError(error: HttpErrorResponse) {
|
|
26
|
+
if (error.status === 500) {
|
|
27
|
+
//Llamado a interceptor
|
|
28
|
+
this.errorInterceptor.showError(JSON.stringify(error.error));
|
|
29
|
+
// A client-side or network error occurred. Handle it accordingly.
|
|
30
|
+
console.error('An error occurred:', error.error);
|
|
31
|
+
} else {
|
|
32
|
+
// The backend returned an unsuccessful response code.
|
|
33
|
+
// The response body may contain clues as to what went wrong.
|
|
34
|
+
console.error(
|
|
35
|
+
`Backend returned code ${error.status}, body was: `, error.error);
|
|
36
|
+
}
|
|
37
|
+
// Return an observable with a user-facing error message.
|
|
38
|
+
return throwError(() => new Error('Something bad happened; please try again later.'));
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
eliminarProceso(general): Observable<any[]> {
|
|
42
|
+
let url = this.utilsService.obtenerUrlApi();
|
|
43
|
+
return this.httpClient.post<any[]>(`${url}/requieretoken/sarageneral/carguelinea/eliminarProceso`, general).pipe(
|
|
44
|
+
catchError(this.handleError)
|
|
45
|
+
);
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
ejecutar(accion, archivo, fuenteDTO, procesoDTO, entradas, campos, datos, lineasCargadas): Observable<HttpEvent<{}>> {
|
|
49
|
+
let url = this.utilsService.obtenerUrlApi();
|
|
50
|
+
let formData = new FormData();
|
|
51
|
+
formData.append("archivo", archivo);
|
|
52
|
+
formData.append("fuenteDTO", JSON.stringify(fuenteDTO));
|
|
53
|
+
formData.append("accion", accion);
|
|
54
|
+
formData.append("procesoDTO", JSON.stringify(procesoDTO));
|
|
55
|
+
formData.append("entradas", JSON.stringify(entradas));
|
|
56
|
+
formData.append("campos", JSON.stringify(campos));
|
|
57
|
+
formData.append("datos", JSON.stringify(datos));
|
|
58
|
+
formData.append("lineasCargadas", JSON.stringify(lineasCargadas));
|
|
59
|
+
|
|
60
|
+
const req = new HttpRequest('POST', `${url}/requieretoken/sarageneral/carguelinea/ejecutar`, formData, {
|
|
61
|
+
reportProgress: true,
|
|
62
|
+
})
|
|
63
|
+
return this.httpClient.request(req).pipe(
|
|
64
|
+
catchError(this.handleError)
|
|
65
|
+
);
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
cancelarProceso(general): Observable<any> {
|
|
69
|
+
let url = this.utilsService.obtenerUrlApi();
|
|
70
|
+
return this.httpClient.post<any>(`${url}/requieretoken/sarageneral/carguelinea/cancelarProceso`, general).pipe(
|
|
71
|
+
catchError(this.handleError)
|
|
72
|
+
);
|
|
73
|
+
}
|
|
74
|
+
}
|
|
@@ -0,0 +1,258 @@
|
|
|
1
|
+
import { HttpClient, HttpRequest, HttpEvent,HttpErrorResponse } from '@angular/common/http';
|
|
2
|
+
import { Injectable } from '@angular/core';
|
|
3
|
+
import { Observable, catchError, throwError } from 'rxjs';
|
|
4
|
+
import { ErrorIntecertorService } from '../../core/servicios/error-interceptor.service';
|
|
5
|
+
import { UtilsService } from '../../core/servicios/utils.service';
|
|
6
|
+
import { GeneralModel } from '../../seguridad/modelos/GeneralModel';
|
|
7
|
+
import { DashboardPipe } from '../pipes/dashboard.pipe';
|
|
8
|
+
|
|
9
|
+
@Injectable({
|
|
10
|
+
providedIn: 'root'
|
|
11
|
+
})
|
|
12
|
+
export class DashboardService {
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
listProcedure(objetoFiltro: GeneralModel) {
|
|
16
|
+
throw new Error('Method not implemented.');
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
constructor(private httpClient: HttpClient , private errorInterceptor : ErrorIntecertorService, private utilsService: UtilsService, private dashboardPipe: DashboardPipe) {
|
|
20
|
+
this.handleError = this.handleError.bind(this);
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
private handleError(error: HttpErrorResponse) {
|
|
24
|
+
if (error.status === 500) {
|
|
25
|
+
//Llamado a interceptor
|
|
26
|
+
this.errorInterceptor.showError(JSON.stringify(error.error));
|
|
27
|
+
// A client-side or network error occurred. Handle it accordingly.
|
|
28
|
+
console.error('An error occurred:', error.error);
|
|
29
|
+
} else {
|
|
30
|
+
// The backend returned an unsuccessful response code.
|
|
31
|
+
// The response body may contain clues as to what went wrong.
|
|
32
|
+
console.error(
|
|
33
|
+
`Backend returned code ${error.status}, body was: `, error.error);
|
|
34
|
+
}
|
|
35
|
+
// Return an observable with a user-facing error message.
|
|
36
|
+
return throwError(() => new Error('Something bad happened; please try again later.'));
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
consultarDashboard(): Observable<any>{
|
|
41
|
+
return this.httpClient.get(`${this.utilsService.obtenerUrlApi()}/requieretoken/dashboard/consultarDashboard`).pipe(
|
|
42
|
+
catchError(this.handleError)
|
|
43
|
+
);
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
cargarGrafica(columna) {
|
|
47
|
+
console.log('cargar grafica')
|
|
48
|
+
console.log(columna)
|
|
49
|
+
switch (columna.accion) {
|
|
50
|
+
case this.dashboardPipe.DIAGRAMA_BARRAS:
|
|
51
|
+
columna = this.cargarDiagramaBarras(columna);
|
|
52
|
+
break;
|
|
53
|
+
case this.dashboardPipe.DIAGRAMA_BARRAS_HOR:
|
|
54
|
+
columna = this.cargarDiagramaBarrasHorizontal(columna);
|
|
55
|
+
break;
|
|
56
|
+
case this.dashboardPipe.DIAGRAMA_TORTA:
|
|
57
|
+
columna = this.cargarDiagramaBarrasTorta(columna);
|
|
58
|
+
break;
|
|
59
|
+
case this.dashboardPipe.DIAGRAMA_AREA:
|
|
60
|
+
columna = this.cargarDiagramaArea(columna);
|
|
61
|
+
break;
|
|
62
|
+
case this.dashboardPipe.DIAGRAMA_POLAR:
|
|
63
|
+
columna = this.cargarDiagramaPolar(columna);
|
|
64
|
+
break;
|
|
65
|
+
case this.dashboardPipe.DIAGRAMA_DONA:
|
|
66
|
+
columna = this.cargarDiagramaDona(columna);
|
|
67
|
+
break;
|
|
68
|
+
case this.dashboardPipe.DIAGRAMA_RADAR:
|
|
69
|
+
columna = this.cargarDiagramaRadar(columna);
|
|
70
|
+
break;
|
|
71
|
+
default:
|
|
72
|
+
break;
|
|
73
|
+
}
|
|
74
|
+
return columna;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
cargarDiagramaBarras(columna) {
|
|
78
|
+
columna.datosGrafica.total = columna.datosGrafica.datasets[0].data.reduce((acumulador, valorActual) => acumulador + valorActual, 0);
|
|
79
|
+
columna.datosGrafica.data = {
|
|
80
|
+
labels: columna.datosGrafica.labels,
|
|
81
|
+
datasets: columna.datosGrafica.datasets
|
|
82
|
+
};
|
|
83
|
+
columna.datosGrafica.options = {
|
|
84
|
+
maintainAspectRatio: false,
|
|
85
|
+
aspectRatio: 0.8,
|
|
86
|
+
plugins: {
|
|
87
|
+
title: {
|
|
88
|
+
display: true,
|
|
89
|
+
text: columna.datosGrafica.title
|
|
90
|
+
},
|
|
91
|
+
legend: {
|
|
92
|
+
labels: {
|
|
93
|
+
color: "#2980B9",
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
},
|
|
97
|
+
};
|
|
98
|
+
return columna;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
cargarDiagramaBarrasHorizontal(columna) {
|
|
102
|
+
columna.datosGrafica.total = columna.datosGrafica.datasets[0].data.reduce((acumulador, valorActual) => acumulador + valorActual, 0);
|
|
103
|
+
console.log(columna)
|
|
104
|
+
|
|
105
|
+
columna.datosGrafica.data = {
|
|
106
|
+
labels: columna.datosGrafica.labels,
|
|
107
|
+
datasets: columna.datosGrafica.datasets
|
|
108
|
+
};
|
|
109
|
+
columna.datosGrafica.options = {
|
|
110
|
+
indexAxis: 'y',
|
|
111
|
+
maintainAspectRatio: false,
|
|
112
|
+
aspectRatio: 0.8,
|
|
113
|
+
plugins: {
|
|
114
|
+
title: {
|
|
115
|
+
display: true,
|
|
116
|
+
text: columna.datosGrafica.title
|
|
117
|
+
},
|
|
118
|
+
legend: {
|
|
119
|
+
labels: {
|
|
120
|
+
color: "#2980B9",
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
},
|
|
124
|
+
};
|
|
125
|
+
return columna;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
cargarDiagramaBarrasTorta(columna) {
|
|
129
|
+
columna.datosGrafica.total = columna.datosGrafica.data.reduce((acumulador, valorActual) => acumulador + valorActual, 0);
|
|
130
|
+
columna.datosGrafica.data = {
|
|
131
|
+
labels: columna.datosGrafica.labels,
|
|
132
|
+
datasets: [
|
|
133
|
+
{
|
|
134
|
+
data: columna.datosGrafica.data,
|
|
135
|
+
backgroundColor: columna.datosGrafica.backgroundColor
|
|
136
|
+
}
|
|
137
|
+
]
|
|
138
|
+
};
|
|
139
|
+
columna.datosGrafica.options = {
|
|
140
|
+
plugins: {
|
|
141
|
+
title: {
|
|
142
|
+
display: true,
|
|
143
|
+
text: columna.datosGrafica.title
|
|
144
|
+
},
|
|
145
|
+
legend: {
|
|
146
|
+
labels: {
|
|
147
|
+
usePointStyle: true,
|
|
148
|
+
color: "#2980B9",
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
};
|
|
153
|
+
return columna;
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
cargarDiagramaArea(columna) {
|
|
157
|
+
columna.datosGrafica.total = columna.datosGrafica.datasets[0].data.reduce((acumulador, valorActual) => acumulador + valorActual, 0);
|
|
158
|
+
columna.datosGrafica.data = {
|
|
159
|
+
labels: columna.datosGrafica.labels,
|
|
160
|
+
datasets: columna.datosGrafica.datasets
|
|
161
|
+
};
|
|
162
|
+
columna.datosGrafica.options = {
|
|
163
|
+
stacked: false,
|
|
164
|
+
maintainAspectRatio: false,
|
|
165
|
+
aspectRatio: 0.6,
|
|
166
|
+
plugins: {
|
|
167
|
+
title: {
|
|
168
|
+
display: true,
|
|
169
|
+
text: columna.datosGrafica.title
|
|
170
|
+
},
|
|
171
|
+
legend: {
|
|
172
|
+
labels: {
|
|
173
|
+
color: "#2980B9",
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
},
|
|
177
|
+
};
|
|
178
|
+
return columna;
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
cargarDiagramaPolar(columna) {
|
|
182
|
+
columna.datosGrafica.total = columna.datosGrafica.data.reduce((acumulador, valorActual) => acumulador + valorActual, 0);
|
|
183
|
+
columna.datosGrafica.data = {
|
|
184
|
+
labels: columna.datosGrafica.labels,
|
|
185
|
+
datasets: [
|
|
186
|
+
{
|
|
187
|
+
data: columna.datosGrafica.data,
|
|
188
|
+
backgroundColor: columna.datosGrafica.backgroundColor
|
|
189
|
+
}
|
|
190
|
+
]
|
|
191
|
+
};
|
|
192
|
+
columna.datosGrafica.options = {
|
|
193
|
+
plugins: {
|
|
194
|
+
title: {
|
|
195
|
+
display: true,
|
|
196
|
+
text: columna.datosGrafica.title
|
|
197
|
+
},
|
|
198
|
+
legend: {
|
|
199
|
+
labels: {
|
|
200
|
+
color: "#2980B9",
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
},
|
|
204
|
+
};
|
|
205
|
+
return columna;
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
cargarDiagramaDona(columna) {
|
|
209
|
+
columna.datosGrafica.total = columna.datosGrafica.data.reduce((acumulador, valorActual) => acumulador + valorActual, 0);
|
|
210
|
+
columna.datosGrafica.data = {
|
|
211
|
+
labels: columna.datosGrafica.labels,
|
|
212
|
+
datasets: [
|
|
213
|
+
{
|
|
214
|
+
data: columna.datosGrafica.data,
|
|
215
|
+
backgroundColor: columna.datosGrafica.backgroundColor
|
|
216
|
+
}
|
|
217
|
+
]
|
|
218
|
+
};
|
|
219
|
+
columna.datosGrafica.options = {
|
|
220
|
+
cutout: '60%',
|
|
221
|
+
plugins: {
|
|
222
|
+
title: {
|
|
223
|
+
display: true,
|
|
224
|
+
text: columna.datosGrafica.title
|
|
225
|
+
},
|
|
226
|
+
legend: {
|
|
227
|
+
labels: {
|
|
228
|
+
color: "#2980B9",
|
|
229
|
+
}
|
|
230
|
+
}
|
|
231
|
+
},
|
|
232
|
+
};
|
|
233
|
+
return columna;
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
cargarDiagramaRadar(columna) {
|
|
237
|
+
columna.datosGrafica.total = columna.datosGrafica.datasets[0].data.reduce((acumulador, valorActual) => acumulador + valorActual, 0);
|
|
238
|
+
columna.datosGrafica.data = {
|
|
239
|
+
labels: columna.datosGrafica.labels,
|
|
240
|
+
datasets: columna.datosGrafica.datasets
|
|
241
|
+
};
|
|
242
|
+
columna.datosGrafica.options = {
|
|
243
|
+
plugins: {
|
|
244
|
+
title: {
|
|
245
|
+
display: true,
|
|
246
|
+
text: columna.datosGrafica.title
|
|
247
|
+
},
|
|
248
|
+
legend: {
|
|
249
|
+
labels: {
|
|
250
|
+
color: "#2980B9",
|
|
251
|
+
}
|
|
252
|
+
}
|
|
253
|
+
},
|
|
254
|
+
};
|
|
255
|
+
return columna;
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
}
|