general-library-union 3.2.47 → 3.2.49
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/esm2022/general-library-union.mjs +5 -0
- package/esm2022/public-api.mjs +183 -0
- package/esm2022/src/app/core/componentes/breadcrumb/breadcrumb.component.mjs +40 -0
- package/esm2022/src/app/core/componentes/carga-pantalla-completa/carga-pantalla-completa.component.mjs +28 -0
- package/esm2022/src/app/core/componentes/filtro-general/filtro-general.component.mjs +203 -0
- package/esm2022/src/app/core/componentes/footer/footer.component.mjs +16 -0
- package/esm2022/src/app/core/componentes/formulariodinamico/formulariodinamico.component.mjs +276 -0
- package/esm2022/src/app/core/componentes/formulariodinamico/objetosformulario/Cambio.mjs +11 -0
- package/esm2022/src/app/core/componentes/formulariodinamico/objetosformulario/CampoFormulario.mjs +124 -0
- package/esm2022/src/app/core/componentes/formulariodinamico/objetosformulario/CampoFormularioCons.mjs +73 -0
- package/esm2022/src/app/core/componentes/formulariodinamico/objetosformulario/CampoFormularioNuevo.mjs +59 -0
- package/esm2022/src/app/core/componentes/formulariodinamico/objetosformulario/HashDirective.mjs +21 -0
- package/esm2022/src/app/core/componentes/inicio-component/inicio-component.component.mjs +72 -0
- package/esm2022/src/app/core/componentes/menu/menu.component.mjs +37 -0
- package/esm2022/src/app/core/componentes/tabla-general/tabla-general.component.mjs +93 -0
- package/esm2022/src/app/core/core.module.mjs +23 -0
- package/esm2022/src/app/core/errores/authentication.error.mjs +7 -0
- package/esm2022/src/app/core/modelos/error-response.model.mjs +2 -0
- package/esm2022/src/app/core/modelos/table-column.model.mjs +2 -0
- package/esm2022/src/app/core/modelos/user.model.mjs +7 -0
- package/esm2022/src/app/core/plantilla-general/plantilla-general.template.mjs +230 -0
- package/esm2022/src/app/core/servicios/auth.service.mjs +185 -0
- package/esm2022/src/app/core/servicios/cargar-control-funcionalidad.service.mjs +54 -0
- package/esm2022/src/app/core/servicios/click-posicion.service.mjs +20 -0
- package/esm2022/src/app/core/servicios/data-exporter-table.utils.mjs +64 -0
- package/esm2022/src/app/core/servicios/error-interceptor.service.mjs +214 -0
- package/esm2022/src/app/core/servicios/guardias/auth.guard.mjs +66 -0
- package/esm2022/src/app/core/servicios/guardias/publico.guard.mjs +35 -0
- package/esm2022/src/app/core/servicios/interceptores/loading-interceptor.mjs +37 -0
- package/esm2022/src/app/core/servicios/interceptores/token-interceptor.service.mjs +180 -0
- package/esm2022/src/app/core/servicios/loading.service.mjs +43 -0
- package/esm2022/src/app/core/servicios/menu.service.mjs +146 -0
- package/esm2022/src/app/core/servicios/spinner-service.mjs +22 -0
- package/esm2022/src/app/core/servicios/storage.service.mjs +68 -0
- package/esm2022/src/app/core/servicios/template.service.mjs +99 -0
- package/esm2022/src/app/core/servicios/toast.service.mjs +120 -0
- package/esm2022/src/app/core/servicios/utils.service.mjs +349 -0
- package/esm2022/src/app/core/sharedlib.module.mjs +16 -0
- package/esm2022/src/app/core/utilidades/color.util.mjs +177 -0
- package/esm2022/src/app/layout/api/menuchangeevent.mjs +2 -0
- package/esm2022/src/app/layout/app.breadcrumb.component.mjs +71 -0
- package/esm2022/src/app/layout/app.footer.component.mjs +18 -0
- package/esm2022/src/app/layout/app.layout.component.mjs +188 -0
- package/esm2022/src/app/layout/app.layout.module.mjs +15 -0
- package/esm2022/src/app/layout/app.menu.component.mjs +51 -0
- package/esm2022/src/app/layout/app.menu.service.mjs +24 -0
- package/esm2022/src/app/layout/app.menuitem.component.mjs +296 -0
- package/esm2022/src/app/layout/app.menuprofile.component.mjs +78 -0
- package/esm2022/src/app/layout/app.rightmenu.component.mjs +24 -0
- package/esm2022/src/app/layout/app.sidebar.component.mjs +92 -0
- package/esm2022/src/app/layout/app.topbar.component.mjs +346 -0
- package/esm2022/src/app/layout/service/app.layout.service.mjs +134 -0
- package/esm2022/src/app/publico/pages/login/login.page.mjs +132 -0
- package/esm2022/src/app/publico/pages/not-found/not-found.page.mjs +51 -0
- package/esm2022/src/app/publico/pages/seleccion-rol/seleccion-rol.component.mjs +167 -0
- package/esm2022/src/app/publico/pages/timeout/timeout.page.mjs +20 -0
- package/esm2022/src/app/seguridad/constantes/ConstantesGenerales.mjs +30 -0
- package/esm2022/src/app/seguridad/constantes/ReporteEntradaConstantes.mjs +19 -0
- package/esm2022/src/app/seguridad/modelos/AplicacionModel.mjs +8 -0
- package/esm2022/src/app/seguridad/modelos/ArchivoPortalModel.mjs +14 -0
- package/esm2022/src/app/seguridad/modelos/AtributoPuntoModel.mjs +9 -0
- package/esm2022/src/app/seguridad/modelos/AtributoSSOportalModel.mjs +17 -0
- package/esm2022/src/app/seguridad/modelos/AuditoriaArchivoModel.mjs +11 -0
- package/esm2022/src/app/seguridad/modelos/CargueLineaModel.mjs +13 -0
- package/esm2022/src/app/seguridad/modelos/ColoresRGB.mjs +18 -0
- package/esm2022/src/app/seguridad/modelos/ColumnaFuenteModel.mjs +9 -0
- package/esm2022/src/app/seguridad/modelos/ColumnaWraperModel.mjs +6 -0
- package/esm2022/src/app/seguridad/modelos/ComplementoModel.mjs +7 -0
- package/esm2022/src/app/seguridad/modelos/ComponentePaginaModel.mjs +21 -0
- package/esm2022/src/app/seguridad/modelos/ConexionModel.mjs +14 -0
- package/esm2022/src/app/seguridad/modelos/ContenidoHtmlPortalModel.mjs +21 -0
- package/esm2022/src/app/seguridad/modelos/ControlFuncionModel.mjs +8 -0
- package/esm2022/src/app/seguridad/modelos/CorreoModel.mjs +35 -0
- package/esm2022/src/app/seguridad/modelos/CorreoOrgEmpModModel.mjs +9 -0
- package/esm2022/src/app/seguridad/modelos/CorreoWSModel.mjs +37 -0
- package/esm2022/src/app/seguridad/modelos/CruceRecursoPuntoModel.mjs +14 -0
- package/esm2022/src/app/seguridad/modelos/DatoInicioModel.mjs +6 -0
- package/esm2022/src/app/seguridad/modelos/EjecucionReporteDataModel.mjs +14 -0
- package/esm2022/src/app/seguridad/modelos/EmpresaModel.mjs +25 -0
- package/esm2022/src/app/seguridad/modelos/EmpresaSeguridadModel.mjs +19 -0
- package/esm2022/src/app/seguridad/modelos/EntradaComplementoModel.mjs +7 -0
- package/esm2022/src/app/seguridad/modelos/EtiquetaModel.mjs +5 -0
- package/esm2022/src/app/seguridad/modelos/Etiquetas.mjs +12 -0
- package/esm2022/src/app/seguridad/modelos/ForeingWraperModel.mjs +6 -0
- package/esm2022/src/app/seguridad/modelos/FuenteCampoAtributoModel.mjs +16 -0
- package/esm2022/src/app/seguridad/modelos/FuenteCampoModel.mjs +17 -0
- package/esm2022/src/app/seguridad/modelos/FuenteDato.mjs +19 -0
- package/esm2022/src/app/seguridad/modelos/FuenteEntradaModel.mjs +9 -0
- package/esm2022/src/app/seguridad/modelos/FuenteGeneralModel.mjs +37 -0
- package/esm2022/src/app/seguridad/modelos/FuenteLineaServicioModel.mjs +16 -0
- package/esm2022/src/app/seguridad/modelos/FuenteProcesoGeneralModel.mjs +11 -0
- package/esm2022/src/app/seguridad/modelos/FuenteServicioModel.mjs +51 -0
- package/esm2022/src/app/seguridad/modelos/FuncionalidadModel.mjs +10 -0
- package/esm2022/src/app/seguridad/modelos/GeneralModel.mjs +15 -0
- package/esm2022/src/app/seguridad/modelos/GrupoAccesoModel.mjs +7 -0
- package/esm2022/src/app/seguridad/modelos/GrupoControlFuncionModel.mjs +10 -0
- package/esm2022/src/app/seguridad/modelos/GrupoFuenteModel.mjs +13 -0
- package/esm2022/src/app/seguridad/modelos/GrupoPermisoModel.mjs +14 -0
- package/esm2022/src/app/seguridad/modelos/JoinFromModel.mjs +5 -0
- package/esm2022/src/app/seguridad/modelos/ListaServicioModel.mjs +17 -0
- package/esm2022/src/app/seguridad/modelos/LlaveForaneaModel.mjs +7 -0
- package/esm2022/src/app/seguridad/modelos/LoginModel.mjs +15 -0
- package/esm2022/src/app/seguridad/modelos/MensajeSistemaModel.mjs +8 -0
- package/esm2022/src/app/seguridad/modelos/MenuPortalModel.mjs +5 -0
- package/esm2022/src/app/seguridad/modelos/ModulosModel.mjs +18 -0
- package/esm2022/src/app/seguridad/modelos/ObjetoReporteModel.mjs +6 -0
- package/esm2022/src/app/seguridad/modelos/PaginaPortalModel.mjs +20 -0
- package/esm2022/src/app/seguridad/modelos/ParametroComponenteModel.mjs +9 -0
- package/esm2022/src/app/seguridad/modelos/ParametrosGeneralModel.mjs +15 -0
- package/esm2022/src/app/seguridad/modelos/PermisoFuncionModel.mjs +9 -0
- package/esm2022/src/app/seguridad/modelos/PermisocontenidoModel.mjs +20 -0
- package/esm2022/src/app/seguridad/modelos/PeticionModel.mjs +16 -0
- package/esm2022/src/app/seguridad/modelos/PreguntaSeguridadModel.mjs +7 -0
- package/esm2022/src/app/seguridad/modelos/PropiedadModel.mjs +10 -0
- package/esm2022/src/app/seguridad/modelos/PublicacionWebModel.mjs +27 -0
- package/esm2022/src/app/seguridad/modelos/PuntoProcesoModel.mjs +7 -0
- package/esm2022/src/app/seguridad/modelos/RecursoPunto.mjs +13 -0
- package/esm2022/src/app/seguridad/modelos/RecursoPuntoModel.mjs +13 -0
- package/esm2022/src/app/seguridad/modelos/ReporteBanda.mjs +8 -0
- package/esm2022/src/app/seguridad/modelos/ReporteColumna.mjs +33 -0
- package/esm2022/src/app/seguridad/modelos/ReporteColumnario.mjs +69 -0
- package/esm2022/src/app/seguridad/modelos/ReporteColumnarioMarcador.mjs +24 -0
- package/esm2022/src/app/seguridad/modelos/ReporteEntradaModel.mjs +20 -0
- package/esm2022/src/app/seguridad/modelos/ReporteFuenteModel.mjs +124 -0
- package/esm2022/src/app/seguridad/modelos/ReporteMarcador.mjs +40 -0
- package/esm2022/src/app/seguridad/modelos/ReporteSoporte.mjs +10 -0
- package/esm2022/src/app/seguridad/modelos/ReporteTabla.mjs +13 -0
- package/esm2022/src/app/seguridad/modelos/RespuestaModel.mjs +9 -0
- package/esm2022/src/app/seguridad/modelos/RolModel.mjs +39 -0
- package/esm2022/src/app/seguridad/modelos/ServidorCorreoModel.mjs +28 -0
- package/esm2022/src/app/seguridad/modelos/SistemaMensajeModel.mjs +9 -0
- package/esm2022/src/app/seguridad/modelos/SitioPortalModel.mjs +25 -0
- package/esm2022/src/app/seguridad/modelos/TablaFromModel.mjs +5 -0
- package/esm2022/src/app/seguridad/modelos/TareasModel.mjs +54 -0
- package/esm2022/src/app/seguridad/modelos/TextoModel.mjs +9 -0
- package/esm2022/src/app/seguridad/modelos/TipoEtiqueta.mjs +8 -0
- package/esm2022/src/app/seguridad/modelos/UnionModel.mjs +12 -0
- package/esm2022/src/app/seguridad/modelos/UsuarioModel.mjs +53 -0
- package/esm2022/src/app/seguridad/modelos/UsuariogrupoModel.mjs +24 -0
- package/esm2022/src/app/seguridad/modelos/aplicacion-propiedad-model.mjs +15 -0
- package/esm2022/src/app/seguridad/modelos/contenidoCorreoModel.mjs +10 -0
- package/esm2022/src/app/shared/componentes/input-helper-seleccion-plantilla/input-helper-seleccion-plantilla.component.mjs +154 -0
- package/esm2022/src/app/shared/servicios/cargar-archivos.service.mjs +54 -0
- package/esm2022/src/app/shared/servicios/cargar-mapas.service.mjs +46 -0
- package/esm2022/src/app/shared/servicios/encriptado-basico.service.mjs +53 -0
- package/esm2022/src/app/shared/servicios/general.service.mjs +104 -0
- package/esm2022/src/app/shared/servicios/parametros-navegacion.service.mjs +21 -0
- package/esm2022/src/app/webcommon/pages/cargue-plantilla/cargue-plantilla-general/cargue-plantilla-general.component.mjs +378 -0
- package/esm2022/src/app/webcommon/pages/ejecucion-reporte/detalle-campo-reporte/detalle-campo-reporte.component.mjs +187 -0
- package/esm2022/src/app/webcommon/pages/ejecucion-reporte/detalle-distribucion-reporte/detalle-distribucion-reporte.component.mjs +85 -0
- package/esm2022/src/app/webcommon/pages/ejecucion-reporte/detalle-ejecucion-reporte/detalle-ejecucion-reporte.page.mjs +347 -0
- package/esm2022/src/app/webcommon/pages/ejecucion-reporte/detalle-entrada-reporte/detalle-entrada-reporte.component.mjs +206 -0
- package/esm2022/src/app/webcommon/pages/ejecucion-reporte/detalle-punto-proceso-reporte/detalle-punto-proceso-reporte.component.mjs +327 -0
- package/esm2022/src/app/webcommon/pages/ejecucion-reporte/detalle-tipo-reporte/detalle-tipo-reporte.component.mjs +1590 -0
- package/esm2022/src/app/webcommon/pages/ejecucion-reporte/listado-ejecucion-reporte/listado-ejecucion-reporte.page.mjs +105 -0
- package/esm2022/src/app/webcommon/pages/ejecucion-reporte-externo/listado-ejecucion-reporte-externo/listado-ejecucion-reporte-externo.component.mjs +114 -0
- package/esm2022/src/app/webcommon/pages/fuente/importar-fuente-con/importar-fuente-con.component.mjs +597 -0
- package/esm2022/src/app/webcommon/pages/fuente/importar-fuente-general/importar-fuente-general.component.mjs +177 -0
- package/esm2022/src/app/webcommon/pages/fuente-reporte/fuente-reporte.component.mjs +769 -0
- package/esm2022/src/app/webcommon/pages/fuenteGeneral/fuente-general-servicio/fuente-general-servicio.component.mjs +331 -0
- package/esm2022/src/app/webcommon/pages/fuenteGeneral/listado-fuente-general/listado-fuente-general.page.mjs +95 -0
- package/esm2022/src/app/webcommon/pages/fuenteGeneral/mantenimiento-fuente-general/mantenimiento-fuente-general.page.mjs +675 -0
- package/esm2022/src/app/webcommon/pipes/dashboard.pipe.mjs +86 -0
- package/esm2022/src/app/webcommon/pipes/fuente.pipe.mjs +201 -0
- package/esm2022/src/app/webcommon/pipes/general.pipe.mjs +918 -0
- package/esm2022/src/app/webcommon/pipes/reporte-columnario.pipe.mjs +115 -0
- package/esm2022/src/app/webcommon/pipes/reporte-fuente.pipe.mjs +301 -0
- package/esm2022/src/app/webcommon/popups/popup-campos-fuente-general/popup-campos-fuente-general.component.mjs +267 -0
- package/esm2022/src/app/webcommon/popups/popup-convertir-plantillas/popup-convertir-plantillas.component.mjs +128 -0
- package/esm2022/src/app/webcommon/popups/popup-editor-formula/popup-editor-formula.component.mjs +73 -0
- package/esm2022/src/app/webcommon/popups/popup-punto-proceso/popup-punto-proceso.component.mjs +293 -0
- package/esm2022/src/app/webcommon/popups/popup-recurso/popup-recurso.component.mjs +269 -0
- package/esm2022/src/app/webcommon/popups/popup-reporte/popup-reporte.component.mjs +563 -0
- package/esm2022/src/app/webcommon/popups/popup-sentencia/popup-sentencia.component.mjs +64 -0
- package/esm2022/src/app/webcommon/popups/popup-tablas-fuente/popup-tablas-fuente.component.mjs +162 -0
- package/esm2022/src/app/webcommon/popups/punto-proceso-comp/punto-proceso-comp.component.mjs +89 -0
- package/esm2022/src/app/webcommon/services/carguelinea.service.mjs +69 -0
- package/esm2022/src/app/webcommon/services/dashboard.service.mjs +253 -0
- package/esm2022/src/app/webcommon/services/ejecucionreporte.service.mjs +114 -0
- package/esm2022/src/app/webcommon/services/fechaUtils.service.mjs +97 -0
- package/esm2022/src/app/webcommon/services/fuentegeneral.service.mjs +68 -0
- package/esm2022/src/app/webcommon/services/homologacion.service.mjs +50 -0
- package/esm2022/src/app/webcommon/services/plantillas.service.mjs +129 -0
- package/esm2022/src/app/webcommon/services/reportes.service.mjs +95 -0
- package/esm2022/src/app/webcommon/webcommon.module.mjs +15 -0
- package/esm2022/src/environments/environment.mjs +24 -0
- package/fesm2022/general-library-union.mjs +16105 -0
- package/fesm2022/general-library-union.mjs.map +1 -0
- package/index.d.ts +5 -0
- package/package.json +62 -73
- package/{public-api.ts → public-api.d.ts} +164 -206
- package/src/app/core/componentes/breadcrumb/breadcrumb.component.d.ts +18 -0
- package/src/app/core/componentes/carga-pantalla-completa/carga-pantalla-completa.component.d.ts +14 -0
- package/src/app/core/componentes/filtro-general/filtro-general.component.d.ts +36 -0
- package/src/app/core/componentes/footer/footer.component.d.ts +9 -0
- package/src/app/core/componentes/formulariodinamico/formulariodinamico.component.d.ts +50 -0
- package/src/app/core/componentes/formulariodinamico/objetosformulario/{Cambio.ts → Cambio.d.ts} +7 -13
- package/src/app/core/componentes/formulariodinamico/objetosformulario/CampoFormulario.d.ts +44 -0
- package/src/app/core/componentes/formulariodinamico/objetosformulario/CampoFormularioCons.d.ts +45 -0
- package/src/app/core/componentes/formulariodinamico/objetosformulario/CampoFormularioNuevo.d.ts +33 -0
- package/src/app/core/componentes/formulariodinamico/objetosformulario/HashDirective.d.ts +9 -0
- package/src/app/core/componentes/inicio-component/inicio-component.component.d.ts +26 -0
- package/src/app/core/componentes/menu/menu.component.d.ts +16 -0
- package/src/app/core/componentes/tabla-general/tabla-general.component.d.ts +32 -0
- package/src/app/core/core.module.d.ts +8 -0
- package/src/app/core/errores/authentication.error.d.ts +3 -0
- package/src/app/core/modelos/error-response.model.d.ts +9 -0
- package/src/app/core/modelos/table-column.model.d.ts +12 -0
- package/src/app/core/modelos/user.model.d.ts +6 -0
- package/src/app/core/plantilla-general/plantilla-general.template.d.ts +89 -0
- package/src/app/core/servicios/auth.service.d.ts +52 -0
- package/src/app/core/servicios/cargar-control-funcionalidad.service.d.ts +19 -0
- package/src/app/core/servicios/click-posicion.service.d.ts +11 -0
- package/src/app/core/servicios/data-exporter-table.utils.d.ts +11 -0
- package/src/app/core/servicios/error-interceptor.service.d.ts +41 -0
- package/src/app/core/servicios/guardias/auth.guard.d.ts +17 -0
- package/src/app/core/servicios/guardias/publico.guard.d.ts +13 -0
- package/src/app/core/servicios/interceptores/loading-interceptor.d.ts +11 -0
- package/src/app/core/servicios/interceptores/token-interceptor.service.d.ts +26 -0
- package/src/app/core/servicios/loading.service.d.ts +22 -0
- package/src/app/core/servicios/menu.service.d.ts +35 -0
- package/src/app/core/servicios/spinner-service.d.ts +9 -0
- package/src/app/core/servicios/storage.service.d.ts +37 -0
- package/src/app/core/servicios/template.service.d.ts +20 -0
- package/src/app/core/servicios/toast.service.d.ts +48 -0
- package/src/app/core/servicios/utils.service.d.ts +45 -0
- package/src/app/core/sharedlib.module.d.ts +6 -0
- package/src/app/core/utilidades/color.util.d.ts +70 -0
- package/src/app/layout/api/{menuchangeevent.ts → menuchangeevent.d.ts} +4 -4
- package/src/app/layout/app.breadcrumb.component.d.ts +28 -0
- package/src/app/layout/app.footer.component.d.ts +8 -0
- package/src/app/layout/app.layout.component.d.ts +39 -0
- package/src/app/layout/app.layout.module.d.ts +6 -0
- package/src/app/layout/app.menu.component.d.ts +19 -0
- package/src/app/layout/app.menu.service.d.ts +12 -0
- package/src/app/layout/app.menuitem.component.d.ts +41 -0
- package/src/app/layout/app.menuprofile.component.d.ts +18 -0
- package/src/app/layout/app.rightmenu.component.d.ts +10 -0
- package/src/app/layout/app.sidebar.component.d.ts +34 -0
- package/src/app/layout/app.topbar.component.d.ts +79 -0
- package/src/app/layout/service/app.layout.service.d.ts +57 -0
- package/src/app/publico/pages/login/login.page.d.ts +40 -0
- package/src/app/publico/pages/not-found/not-found.page.d.ts +17 -0
- package/src/app/publico/pages/seleccion-rol/seleccion-rol.component.d.ts +41 -0
- package/src/app/publico/pages/timeout/timeout.page.d.ts +10 -0
- package/src/app/seguridad/constantes/ConstantesGenerales.d.ts +25 -0
- package/src/app/seguridad/constantes/ReporteEntradaConstantes.d.ts +7 -0
- package/src/app/seguridad/modelos/AplicacionModel.d.ts +7 -0
- package/src/app/seguridad/modelos/ArchivoPortalModel.d.ts +13 -0
- package/src/app/seguridad/modelos/AtributoPuntoModel.d.ts +8 -0
- package/src/app/seguridad/modelos/AtributoSSOportalModel.d.ts +16 -0
- package/src/app/seguridad/modelos/{AuditoriaArchivoModel.ts → AuditoriaArchivoModel.d.ts} +10 -13
- package/src/app/seguridad/modelos/CargueLineaModel.d.ts +12 -0
- package/src/app/seguridad/modelos/ColoresRGB.d.ts +17 -0
- package/src/app/seguridad/modelos/ColumnaFuenteModel.d.ts +8 -0
- package/src/app/seguridad/modelos/{ColumnaWraperModel.ts → ColumnaWraperModel.d.ts} +6 -7
- package/src/app/seguridad/modelos/ComplementoModel.d.ts +6 -0
- package/src/app/seguridad/modelos/ComponentePaginaModel.d.ts +20 -0
- package/src/app/seguridad/modelos/ConexionModel.d.ts +13 -0
- package/src/app/seguridad/modelos/{ContenidoHtmlPortalModel.ts → ContenidoHtmlPortalModel.d.ts} +20 -25
- package/src/app/seguridad/modelos/ControlFuncionModel.d.ts +7 -0
- package/src/app/seguridad/modelos/CorreoModel.d.ts +31 -0
- package/src/app/seguridad/modelos/{CorreoOrgEmpModModel.ts → CorreoOrgEmpModModel.d.ts} +8 -11
- package/src/app/seguridad/modelos/CorreoWSModel.d.ts +33 -0
- package/src/app/seguridad/modelos/CruceRecursoPuntoModel.d.ts +13 -0
- package/src/app/seguridad/modelos/{DatoInicioModel.ts → DatoInicioModel.d.ts} +6 -7
- package/src/app/seguridad/modelos/{EjecucionReporteDataModel.ts → EjecucionReporteDataModel.d.ts} +20 -21
- package/src/app/seguridad/modelos/EmpresaModel.d.ts +23 -0
- package/src/app/seguridad/modelos/EmpresaSeguridadModel.d.ts +18 -0
- package/src/app/seguridad/modelos/{EntradaComplementoModel.ts → EntradaComplementoModel.d.ts} +6 -9
- package/src/app/seguridad/modelos/EtiquetaModel.d.ts +4 -0
- package/src/app/seguridad/modelos/Etiquetas.d.ts +10 -0
- package/src/app/seguridad/modelos/{ForeingWraperModel.ts → ForeingWraperModel.d.ts} +6 -9
- package/src/app/seguridad/modelos/FuenteCampoAtributoModel.d.ts +15 -0
- package/src/app/seguridad/modelos/{FuenteCampoModel.ts → FuenteCampoModel.d.ts} +16 -20
- package/src/app/seguridad/modelos/FuenteDato.d.ts +18 -0
- package/src/app/seguridad/modelos/FuenteEntradaModel.d.ts +8 -0
- package/src/app/seguridad/modelos/{FuenteGeneralModel.ts → FuenteGeneralModel.d.ts} +36 -55
- package/src/app/seguridad/modelos/FuenteLineaServicioModel.d.ts +16 -0
- package/src/app/seguridad/modelos/FuenteProcesoGeneralModel.d.ts +10 -0
- package/src/app/seguridad/modelos/{FuenteServicioModel.ts → FuenteServicioModel.d.ts} +47 -61
- package/src/app/seguridad/modelos/FuncionalidadModel.d.ts +8 -0
- package/src/app/seguridad/modelos/GeneralModel.d.ts +8 -0
- package/src/app/seguridad/modelos/{GrupoAccesoModel.ts → GrupoAccesoModel.d.ts} +6 -9
- package/src/app/seguridad/modelos/GrupoControlFuncionModel.d.ts +9 -0
- package/src/app/seguridad/modelos/GrupoFuenteModel.d.ts +13 -0
- package/src/app/seguridad/modelos/GrupoPermisoModel.d.ts +13 -0
- package/src/app/seguridad/modelos/{JoinFromModel.ts → JoinFromModel.d.ts} +4 -4
- package/src/app/seguridad/modelos/ListaServicioModel.d.ts +16 -0
- package/src/app/seguridad/modelos/LlaveForaneaModel.d.ts +6 -0
- package/src/app/seguridad/modelos/LoginModel.d.ts +17 -0
- package/src/app/seguridad/modelos/MensajeSistemaModel.d.ts +7 -0
- package/src/app/seguridad/modelos/{MenuPortalModel.ts → MenuPortalModel.d.ts} +4 -5
- package/src/app/seguridad/modelos/ModulosModel.d.ts +14 -0
- package/src/app/seguridad/modelos/{ObjetoReporteModel.ts → ObjetoReporteModel.d.ts} +5 -6
- package/src/app/seguridad/modelos/PaginaPortalModel.d.ts +19 -0
- package/src/app/seguridad/modelos/ParametroComponenteModel.d.ts +8 -0
- package/src/app/seguridad/modelos/ParametrosGeneralModel.d.ts +8 -0
- package/src/app/seguridad/modelos/PermisoFuncionModel.d.ts +8 -0
- package/src/app/seguridad/modelos/PermisocontenidoModel.d.ts +18 -0
- package/src/app/seguridad/modelos/{PeticionModel.ts → PeticionModel.d.ts} +15 -20
- package/src/app/seguridad/modelos/PreguntaSeguridadModel.d.ts +6 -0
- package/src/app/seguridad/modelos/PropiedadModel.d.ts +9 -0
- package/src/app/seguridad/modelos/PublicacionWebModel.d.ts +25 -0
- package/src/app/seguridad/modelos/PuntoProcesoModel.d.ts +6 -0
- package/src/app/seguridad/modelos/RecursoPunto.d.ts +12 -0
- package/src/app/seguridad/modelos/RecursoPuntoModel.d.ts +12 -0
- package/src/app/seguridad/modelos/ReporteBanda.d.ts +7 -0
- package/src/app/seguridad/modelos/ReporteColumna.d.ts +32 -0
- package/src/app/seguridad/modelos/ReporteColumnario.d.ts +68 -0
- package/src/app/seguridad/modelos/ReporteColumnarioMarcador.d.ts +23 -0
- package/src/app/seguridad/modelos/{ReporteEntradaModel.ts → ReporteEntradaModel.d.ts} +19 -21
- package/src/app/seguridad/modelos/{ReporteFuenteModel.ts → ReporteFuenteModel.d.ts} +87 -141
- package/src/app/seguridad/modelos/ReporteMarcador.d.ts +39 -0
- package/src/app/seguridad/modelos/ReporteSoporte.d.ts +9 -0
- package/src/app/seguridad/modelos/ReporteTabla.d.ts +12 -0
- package/src/app/seguridad/modelos/RespuestaModel.d.ts +8 -0
- package/src/app/seguridad/modelos/{RolModel.ts → RolModel.d.ts} +37 -41
- package/src/app/seguridad/modelos/ServidorCorreoModel.d.ts +25 -0
- package/src/app/seguridad/modelos/SistemaMensajeModel.d.ts +8 -0
- package/src/app/seguridad/modelos/SitioPortalModel.d.ts +24 -0
- package/src/app/seguridad/modelos/TablaFromModel.d.ts +4 -0
- package/src/app/seguridad/modelos/TareasModel.d.ts +49 -0
- package/src/app/seguridad/modelos/TextoModel.d.ts +8 -0
- package/src/app/seguridad/modelos/TipoEtiqueta.d.ts +7 -0
- package/src/app/seguridad/modelos/UnionModel.d.ts +11 -0
- package/src/app/seguridad/modelos/{UsuarioModel.ts → UsuarioModel.d.ts} +49 -60
- package/src/app/seguridad/modelos/UsuariogrupoModel.d.ts +22 -0
- package/src/app/seguridad/modelos/aplicacion-propiedad-model.d.ts +13 -0
- package/src/app/seguridad/modelos/contenidoCorreoModel.d.ts +9 -0
- package/src/app/shared/componentes/input-helper-seleccion-plantilla/input-helper-seleccion-plantilla.component.d.ts +47 -0
- package/src/app/shared/servicios/cargar-archivos.service.d.ts +15 -0
- package/src/app/shared/servicios/cargar-mapas.service.d.ts +18 -0
- package/src/app/shared/servicios/encriptado-basico.service.d.ts +10 -0
- package/src/app/shared/servicios/general.service.d.ts +24 -0
- package/src/app/shared/servicios/parametros-navegacion.service.d.ts +9 -0
- package/src/app/webcommon/pages/cargue-plantilla/cargue-plantilla-general/cargue-plantilla-general.component.d.ts +79 -0
- package/src/app/webcommon/pages/ejecucion-reporte/detalle-campo-reporte/detalle-campo-reporte.component.d.ts +79 -0
- package/src/app/webcommon/pages/ejecucion-reporte/detalle-distribucion-reporte/detalle-distribucion-reporte.component.d.ts +29 -0
- package/src/app/webcommon/pages/ejecucion-reporte/detalle-ejecucion-reporte/detalle-ejecucion-reporte.page.d.ts +69 -0
- package/src/app/webcommon/pages/ejecucion-reporte/detalle-entrada-reporte/detalle-entrada-reporte.component.d.ts +51 -0
- package/src/app/webcommon/pages/ejecucion-reporte/detalle-punto-proceso-reporte/detalle-punto-proceso-reporte.component.d.ts +77 -0
- package/src/app/webcommon/pages/ejecucion-reporte/detalle-tipo-reporte/detalle-tipo-reporte.component.d.ts +279 -0
- package/src/app/webcommon/pages/ejecucion-reporte/listado-ejecucion-reporte/listado-ejecucion-reporte.page.d.ts +42 -0
- package/src/app/webcommon/pages/ejecucion-reporte-externo/listado-ejecucion-reporte-externo/listado-ejecucion-reporte-externo.component.d.ts +35 -0
- package/src/app/webcommon/pages/fuente/importar-fuente-con/importar-fuente-con.component.d.ts +146 -0
- package/src/app/webcommon/pages/fuente/importar-fuente-general/importar-fuente-general.component.d.ts +49 -0
- package/src/app/webcommon/pages/fuente-reporte/fuente-reporte.component.d.ts +132 -0
- package/src/app/webcommon/pages/fuenteGeneral/fuente-general-servicio/fuente-general-servicio.component.d.ts +64 -0
- package/src/app/webcommon/pages/fuenteGeneral/listado-fuente-general/listado-fuente-general.page.d.ts +33 -0
- package/src/app/webcommon/pages/fuenteGeneral/mantenimiento-fuente-general/mantenimiento-fuente-general.page.d.ts +149 -0
- package/src/app/webcommon/pipes/dashboard.pipe.d.ts +48 -0
- package/src/app/webcommon/pipes/fuente.pipe.d.ts +136 -0
- package/src/app/webcommon/pipes/general.pipe.d.ts +647 -0
- package/src/app/webcommon/pipes/reporte-columnario.pipe.d.ts +59 -0
- package/src/app/webcommon/pipes/reporte-fuente.pipe.d.ts +193 -0
- package/src/app/webcommon/popups/popup-campos-fuente-general/popup-campos-fuente-general.component.d.ts +59 -0
- package/src/app/webcommon/popups/popup-convertir-plantillas/popup-convertir-plantillas.component.d.ts +27 -0
- package/src/app/webcommon/popups/popup-editor-formula/popup-editor-formula.component.d.ts +21 -0
- package/src/app/webcommon/popups/popup-punto-proceso/popup-punto-proceso.component.d.ts +64 -0
- package/src/app/webcommon/popups/popup-recurso/popup-recurso.component.d.ts +63 -0
- package/src/app/webcommon/popups/popup-reporte/popup-reporte.component.d.ts +105 -0
- package/src/app/webcommon/popups/popup-sentencia/popup-sentencia.component.d.ts +21 -0
- package/src/app/webcommon/popups/popup-tablas-fuente/popup-tablas-fuente.component.d.ts +42 -0
- package/src/app/webcommon/popups/punto-proceso-comp/punto-proceso-comp.component.d.ts +30 -0
- package/src/app/webcommon/services/carguelinea.service.d.ts +19 -0
- package/src/app/webcommon/services/dashboard.service.d.ts +27 -0
- package/src/app/webcommon/services/ejecucionreporte.service.d.ts +34 -0
- package/src/app/webcommon/services/fechaUtils.service.d.ts +30 -0
- package/src/app/webcommon/services/fuentegeneral.service.d.ts +24 -0
- package/src/app/webcommon/services/homologacion.service.d.ts +17 -0
- package/src/app/webcommon/services/plantillas.service.d.ts +26 -0
- package/src/app/webcommon/services/reportes.service.d.ts +35 -0
- package/src/app/webcommon/webcommon.module.d.ts +6 -0
- package/src/environments/environment.d.ts +7 -0
- package/.browserslistrc +0 -15
- package/.editorconfig +0 -16
- package/.vscode/extensions.json +0 -4
- package/.vscode/launch.json +0 -20
- package/.vscode/tasks.json +0 -42
- package/angular.json +0 -143
- package/karma.conf.js +0 -44
- package/ng-package.json +0 -21
- package/src/app/app.component.html +0 -12
- package/src/app/app.component.scss +0 -0
- package/src/app/app.component.spec.ts +0 -29
- package/src/app/app.component.ts +0 -34
- package/src/app/app.config.ts +0 -43
- package/src/app/app.module.ts +0 -10
- package/src/app/app.routes.ts +0 -88
- package/src/app/core/componentes/breadcrumb/breadcrumb.component.html +0 -6
- package/src/app/core/componentes/breadcrumb/breadcrumb.component.scss +0 -0
- package/src/app/core/componentes/breadcrumb/breadcrumb.component.ts +0 -39
- package/src/app/core/componentes/carga-breadcrumb/carga-breadcrumb.component.html +0 -1
- package/src/app/core/componentes/carga-breadcrumb/carga-breadcrumb.component.scss +0 -0
- package/src/app/core/componentes/carga-breadcrumb/carga-breadcrumb.component.ts +0 -31
- package/src/app/core/componentes/carga-pantalla-completa/carga-pantalla-completa.component.html +0 -9
- package/src/app/core/componentes/carga-pantalla-completa/carga-pantalla-completa.component.scss +0 -28
- package/src/app/core/componentes/carga-pantalla-completa/carga-pantalla-completa.component.ts +0 -32
- package/src/app/core/componentes/filtro-general/filtro-general.component.html +0 -36
- package/src/app/core/componentes/filtro-general/filtro-general.component.scss +0 -3
- package/src/app/core/componentes/filtro-general/filtro-general.component.ts +0 -207
- package/src/app/core/componentes/footer/footer.component.html +0 -13
- package/src/app/core/componentes/footer/footer.component.scss +0 -3
- package/src/app/core/componentes/footer/footer.component.ts +0 -20
- package/src/app/core/componentes/formulariodinamico/formulariodinamico.component.html +0 -267
- package/src/app/core/componentes/formulariodinamico/formulariodinamico.component.scss +0 -21
- package/src/app/core/componentes/formulariodinamico/formulariodinamico.component.ts +0 -278
- package/src/app/core/componentes/formulariodinamico/objetosformulario/CampoFormulario.ts +0 -118
- package/src/app/core/componentes/formulariodinamico/objetosformulario/CampoFormularioCons.ts +0 -76
- package/src/app/core/componentes/formulariodinamico/objetosformulario/CampoFormularioNuevo.ts +0 -67
- package/src/app/core/componentes/formulariodinamico/objetosformulario/HashDirective.ts +0 -11
- package/src/app/core/componentes/inicio-component/inicio-component.component.html +0 -29
- package/src/app/core/componentes/inicio-component/inicio-component.component.scss +0 -63
- package/src/app/core/componentes/inicio-component/inicio-component.component.ts +0 -70
- package/src/app/core/componentes/menu/menu.component.html +0 -13
- package/src/app/core/componentes/menu/menu.component.scss +0 -36
- package/src/app/core/componentes/menu/menu.component.ts +0 -35
- package/src/app/core/componentes/tabla-general/tabla-general.component.html +0 -90
- package/src/app/core/componentes/tabla-general/tabla-general.component.scss +0 -0
- package/src/app/core/componentes/tabla-general/tabla-general.component.ts +0 -96
- package/src/app/core/core.module.ts +0 -22
- package/src/app/core/errores/authentication.error.ts +0 -6
- package/src/app/core/modelos/error-response.model.ts +0 -9
- package/src/app/core/modelos/table-column.model.ts +0 -10
- package/src/app/core/modelos/user.model.ts +0 -6
- package/src/app/core/plantilla-general/plantilla-general.template.html +0 -139
- package/src/app/core/plantilla-general/plantilla-general.template.scss +0 -37
- package/src/app/core/plantilla-general/plantilla-general.template.ts +0 -233
- package/src/app/core/servicios/auth.service.ts +0 -189
- package/src/app/core/servicios/cargar-control-funcionalidad.service.ts +0 -48
- package/src/app/core/servicios/click-posicion.service.ts +0 -16
- package/src/app/core/servicios/data-exporter-table.utils.ts +0 -78
- package/src/app/core/servicios/error-interceptor.service.ts +0 -208
- package/src/app/core/servicios/guardias/auth.guard.ts +0 -51
- package/src/app/core/servicios/guardias/publico.guard.ts +0 -26
- package/src/app/core/servicios/interceptores/loading-interceptor.ts +0 -37
- package/src/app/core/servicios/interceptores/token-interceptor.service.ts +0 -177
- package/src/app/core/servicios/loading.service.ts +0 -48
- package/src/app/core/servicios/menu.service.ts +0 -153
- package/src/app/core/servicios/spinner-service.ts +0 -18
- package/src/app/core/servicios/storage.service.ts +0 -68
- package/src/app/core/servicios/template.service.ts +0 -91
- package/src/app/core/servicios/toast.service.ts +0 -114
- package/src/app/core/servicios/utils.service.ts +0 -381
- package/src/app/core/sharedlib.module.ts +0 -11
- package/src/app/core/utilidades/color.util.ts +0 -197
- package/src/app/layout/app.breadcrumb.component.html +0 -20
- package/src/app/layout/app.breadcrumb.component.ts +0 -78
- package/src/app/layout/app.footer.component.html +0 -18
- package/src/app/layout/app.footer.component.ts +0 -15
- package/src/app/layout/app.layout.component.html +0 -20
- package/src/app/layout/app.layout.component.ts +0 -201
- package/src/app/layout/app.layout.module.ts +0 -9
- package/src/app/layout/app.menu.component.html +0 -6
- package/src/app/layout/app.menu.component.ts +0 -51
- package/src/app/layout/app.menu.service.ts +0 -23
- package/src/app/layout/app.menuitem.component.ts +0 -252
- package/src/app/layout/app.menuprofile.component.html +0 -35
- package/src/app/layout/app.menuprofile.component.ts +0 -60
- package/src/app/layout/app.rightmenu.component.html +0 -72
- package/src/app/layout/app.rightmenu.component.ts +0 -24
- package/src/app/layout/app.sidebar.component.html +0 -40
- package/src/app/layout/app.sidebar.component.ts +0 -81
- package/src/app/layout/app.topbar.component.html +0 -214
- package/src/app/layout/app.topbar.component.ts +0 -336
- package/src/app/layout/config/app.config.component.html +0 -125
- package/src/app/layout/config/app.config.component.ts +0 -206
- package/src/app/layout/config/app.config.module.ts +0 -11
- package/src/app/layout/service/app.layout.service.ts +0 -191
- package/src/app/publico/pages/login/login.page.html +0 -53
- package/src/app/publico/pages/login/login.page.scss +0 -210
- package/src/app/publico/pages/login/login.page.ts +0 -130
- package/src/app/publico/pages/not-found/not-found.page.html +0 -36
- package/src/app/publico/pages/not-found/not-found.page.scss +0 -2
- package/src/app/publico/pages/not-found/not-found.page.ts +0 -46
- package/src/app/publico/pages/seleccion-rol/seleccion-rol.component.html +0 -58
- package/src/app/publico/pages/seleccion-rol/seleccion-rol.component.scss +0 -49
- package/src/app/publico/pages/seleccion-rol/seleccion-rol.component.ts +0 -176
- package/src/app/publico/pages/timeout/timeout.page.html +0 -24
- package/src/app/publico/pages/timeout/timeout.page.scss +0 -2
- package/src/app/publico/pages/timeout/timeout.page.ts +0 -18
- package/src/app/seguridad/constantes/ConstantesGenerales.ts +0 -30
- package/src/app/seguridad/constantes/ReporteEntradaConstantes.ts +0 -18
- package/src/app/seguridad/constantes/ReporteFuenteConstantes.ts +0 -13
- package/src/app/seguridad/modelos/AplicacionModel.ts +0 -11
- package/src/app/seguridad/modelos/ArchivoPortalModel.ts +0 -16
- package/src/app/seguridad/modelos/AtributoPuntoModel.ts +0 -9
- package/src/app/seguridad/modelos/AtributoSSOportalModel.ts +0 -22
- package/src/app/seguridad/modelos/CargueLineaModel.ts +0 -17
- package/src/app/seguridad/modelos/ColoresRGB.ts +0 -17
- package/src/app/seguridad/modelos/ColumnaFuenteModel.ts +0 -9
- package/src/app/seguridad/modelos/ComplementoModel.ts +0 -10
- package/src/app/seguridad/modelos/ComponentePaginaModel.ts +0 -22
- package/src/app/seguridad/modelos/ConexionModel.ts +0 -15
- package/src/app/seguridad/modelos/ControlFuncionModel.ts +0 -10
- package/src/app/seguridad/modelos/CorreoModel.ts +0 -45
- package/src/app/seguridad/modelos/CorreoWSModel.ts +0 -49
- package/src/app/seguridad/modelos/CruceRecursoPuntoModel.ts +0 -14
- package/src/app/seguridad/modelos/EmpresaModel.ts +0 -25
- package/src/app/seguridad/modelos/EmpresaSeguridadModel.ts +0 -19
- package/src/app/seguridad/modelos/EtiquetaModel.ts +0 -4
- package/src/app/seguridad/modelos/Etiquetas.ts +0 -14
- package/src/app/seguridad/modelos/FuenteCampoAtributoModel.ts +0 -21
- package/src/app/seguridad/modelos/FuenteDato.ts +0 -19
- package/src/app/seguridad/modelos/FuenteEntradaModel.ts +0 -9
- package/src/app/seguridad/modelos/FuenteLineaServicioModel.ts +0 -19
- package/src/app/seguridad/modelos/FuenteProcesoGeneralModel.ts +0 -14
- package/src/app/seguridad/modelos/FuncionalidadModel.ts +0 -12
- package/src/app/seguridad/modelos/GeneralModel.ts +0 -16
- package/src/app/seguridad/modelos/GrupoControlFuncionModel.ts +0 -12
- package/src/app/seguridad/modelos/GrupoFuenteModel.ts +0 -17
- package/src/app/seguridad/modelos/GrupoPermisoModel.ts +0 -16
- package/src/app/seguridad/modelos/ListaServicioModel.ts +0 -18
- package/src/app/seguridad/modelos/LlaveForaneaModel.ts +0 -6
- package/src/app/seguridad/modelos/LoginModel.ts +0 -19
- package/src/app/seguridad/modelos/MensajeSistemaModel.ts +0 -10
- package/src/app/seguridad/modelos/ModulosModel.ts +0 -17
- package/src/app/seguridad/modelos/PaginaPortalModel.ts +0 -23
- package/src/app/seguridad/modelos/ParametroComponenteModel.ts +0 -9
- package/src/app/seguridad/modelos/ParametrosGeneralModel.ts +0 -16
- package/src/app/seguridad/modelos/PermisoFuncionModel.ts +0 -11
- package/src/app/seguridad/modelos/PermisocontenidoModel.ts +0 -20
- package/src/app/seguridad/modelos/PreguntaSeguridadModel.ts +0 -9
- package/src/app/seguridad/modelos/PropiedadModel.ts +0 -12
- package/src/app/seguridad/modelos/PublicacionWebModel.ts +0 -29
- package/src/app/seguridad/modelos/PuntoProcesoModel.ts +0 -7
- package/src/app/seguridad/modelos/RecursoPunto.ts +0 -13
- package/src/app/seguridad/modelos/RecursoPuntoModel.ts +0 -13
- package/src/app/seguridad/modelos/ReporteBanda.ts +0 -9
- package/src/app/seguridad/modelos/ReporteColumna.ts +0 -33
- package/src/app/seguridad/modelos/ReporteColumnario.ts +0 -82
- package/src/app/seguridad/modelos/ReporteColumnarioMarcador.ts +0 -31
- package/src/app/seguridad/modelos/ReporteMarcador.ts +0 -40
- package/src/app/seguridad/modelos/ReporteSoporte.ts +0 -10
- package/src/app/seguridad/modelos/ReporteTabla.ts +0 -14
- package/src/app/seguridad/modelos/RespuestaModel.ts +0 -9
- package/src/app/seguridad/modelos/ServidorCorreoModel.ts +0 -31
- package/src/app/seguridad/modelos/SistemaMensajeModel.ts +0 -11
- package/src/app/seguridad/modelos/SitioPortalModel.ts +0 -29
- package/src/app/seguridad/modelos/TablaFromModel.ts +0 -5
- package/src/app/seguridad/modelos/TareasModel.ts +0 -54
- package/src/app/seguridad/modelos/TextoModel.ts +0 -11
- package/src/app/seguridad/modelos/TipoEtiqueta.ts +0 -8
- package/src/app/seguridad/modelos/UnionModel.ts +0 -14
- package/src/app/seguridad/modelos/UsuariogrupoModel.ts +0 -27
- package/src/app/seguridad/modelos/aplicacion-propiedad-model.ts +0 -16
- package/src/app/seguridad/modelos/contenidoCorreoModel.ts +0 -13
- package/src/app/shared/componentes/input-helper-seleccion-plantilla/input-helper-seleccion-plantilla.component.html +0 -47
- package/src/app/shared/componentes/input-helper-seleccion-plantilla/input-helper-seleccion-plantilla.component.scss +0 -8
- package/src/app/shared/componentes/input-helper-seleccion-plantilla/input-helper-seleccion-plantilla.component.ts +0 -144
- package/src/app/shared/servicios/cargar-archivos.service.ts +0 -51
- package/src/app/shared/servicios/cargar-mapas.service.ts +0 -43
- package/src/app/shared/servicios/encriptado-basico.service.ts +0 -54
- package/src/app/shared/servicios/encriptador-simetrico.service.ts +0 -29
- package/src/app/shared/servicios/general.service.ts +0 -124
- package/src/app/shared/servicios/parametros-navegacion.service.ts +0 -20
- package/src/app/shared/servicios/plantillas.service.ts +0 -22
- package/src/app/shared/servicios/tarea.service.ts +0 -71
- package/src/app/shared/utilidades/translate-loader.util.ts +0 -44
- package/src/app/webcommon/pages/cargue-plantilla/cargue-plantilla-general/cargue-plantilla-general.component.html +0 -175
- package/src/app/webcommon/pages/cargue-plantilla/cargue-plantilla-general/cargue-plantilla-general.component.scss +0 -78
- package/src/app/webcommon/pages/cargue-plantilla/cargue-plantilla-general/cargue-plantilla-general.component.ts +0 -438
- package/src/app/webcommon/pages/ejecucion-reporte/detalle-campo-reporte/detalle-campo-reporte.component.html +0 -87
- 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 +0 -189
- package/src/app/webcommon/pages/ejecucion-reporte/detalle-distribucion-reporte/detalle-distribucion-reporte.component.html +0 -117
- 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 +0 -87
- package/src/app/webcommon/pages/ejecucion-reporte/detalle-ejecucion-reporte/detalle-ejecucion-reporte.page.html +0 -158
- package/src/app/webcommon/pages/ejecucion-reporte/detalle-ejecucion-reporte/detalle-ejecucion-reporte.page.scss +0 -6
- package/src/app/webcommon/pages/ejecucion-reporte/detalle-ejecucion-reporte/detalle-ejecucion-reporte.page.ts +0 -345
- package/src/app/webcommon/pages/ejecucion-reporte/detalle-entrada-reporte/detalle-entrada-reporte.component.html +0 -131
- 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 +0 -198
- package/src/app/webcommon/pages/ejecucion-reporte/detalle-punto-proceso-reporte/detalle-punto-proceso-reporte.component.html +0 -206
- package/src/app/webcommon/pages/ejecucion-reporte/detalle-punto-proceso-reporte/detalle-punto-proceso-reporte.component.scss +0 -3
- package/src/app/webcommon/pages/ejecucion-reporte/detalle-punto-proceso-reporte/detalle-punto-proceso-reporte.component.ts +0 -328
- package/src/app/webcommon/pages/ejecucion-reporte/detalle-tipo-reporte/detalle-tipo-reporte.component.html +0 -2121
- package/src/app/webcommon/pages/ejecucion-reporte/detalle-tipo-reporte/detalle-tipo-reporte.component.scss +0 -241
- package/src/app/webcommon/pages/ejecucion-reporte/detalle-tipo-reporte/detalle-tipo-reporte.component.ts +0 -1698
- package/src/app/webcommon/pages/ejecucion-reporte/listado-ejecucion-reporte/listado-ejecucion-reporte.page.html +0 -33
- 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 +0 -96
- package/src/app/webcommon/pages/ejecucion-reporte-externo/listado-ejecucion-reporte-externo/listado-ejecucion-reporte-externo.component.html +0 -54
- 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 +0 -111
- package/src/app/webcommon/pages/fuente/importar-fuente-con/importar-fuente-con.component.html +0 -394
- package/src/app/webcommon/pages/fuente/importar-fuente-con/importar-fuente-con.component.scss +0 -10
- package/src/app/webcommon/pages/fuente/importar-fuente-con/importar-fuente-con.component.ts +0 -610
- package/src/app/webcommon/pages/fuente/importar-fuente-general/importar-fuente-general.component.html +0 -130
- 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 +0 -172
- package/src/app/webcommon/pages/fuente-reporte/fuente-reporte.component.html +0 -404
- package/src/app/webcommon/pages/fuente-reporte/fuente-reporte.component.scss +0 -5
- package/src/app/webcommon/pages/fuente-reporte/fuente-reporte.component.ts +0 -763
- package/src/app/webcommon/pages/fuenteGeneral/fuente-general-servicio/fuente-general-servicio.component.html +0 -145
- 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 +0 -302
- package/src/app/webcommon/pages/fuenteGeneral/listado-fuente-general/listado-fuente-general.page.html +0 -19
- 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 +0 -88
- package/src/app/webcommon/pages/fuenteGeneral/mantenimiento-fuente-general/mantenimiento-fuente-general.page.html +0 -714
- 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 +0 -688
- package/src/app/webcommon/pipes/dashboard.pipe.ts +0 -79
- package/src/app/webcommon/pipes/fuente.pipe.ts +0 -207
- package/src/app/webcommon/pipes/general.pipe.ts +0 -1046
- package/src/app/webcommon/pipes/reporte-columnario.pipe.ts +0 -101
- package/src/app/webcommon/pipes/reporte-fuente.pipe.ts +0 -306
- package/src/app/webcommon/pipes/sara-general.pipe.ts +0 -289
- package/src/app/webcommon/popups/popup-campos-fuente-general/popup-campos-fuente-general.component.html +0 -90
- 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 +0 -262
- package/src/app/webcommon/popups/popup-convertir-plantillas/popup-convertir-plantillas.component.html +0 -50
- 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 +0 -135
- package/src/app/webcommon/popups/popup-editor-formula/popup-editor-formula.component.html +0 -44
- 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 +0 -66
- package/src/app/webcommon/popups/popup-punto-proceso/popup-punto-proceso.component.html +0 -41
- 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 +0 -283
- package/src/app/webcommon/popups/popup-recurso/popup-recurso.component.html +0 -179
- package/src/app/webcommon/popups/popup-recurso/popup-recurso.component.scss +0 -3
- package/src/app/webcommon/popups/popup-recurso/popup-recurso.component.ts +0 -266
- package/src/app/webcommon/popups/popup-reporte/popup-reporte.component.html +0 -273
- package/src/app/webcommon/popups/popup-reporte/popup-reporte.component.scss +0 -13
- package/src/app/webcommon/popups/popup-reporte/popup-reporte.component.ts +0 -564
- package/src/app/webcommon/popups/popup-sentencia/popup-sentencia.component.html +0 -10
- package/src/app/webcommon/popups/popup-sentencia/popup-sentencia.component.scss +0 -5
- package/src/app/webcommon/popups/popup-sentencia/popup-sentencia.component.ts +0 -58
- package/src/app/webcommon/popups/popup-tablas-fuente/popup-tablas-fuente.component.html +0 -71
- 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 +0 -154
- package/src/app/webcommon/popups/punto-proceso-comp/punto-proceso-comp.component.html +0 -11
- 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 +0 -82
- package/src/app/webcommon/services/carguelinea.service.ts +0 -74
- package/src/app/webcommon/services/dashboard.service.ts +0 -258
- package/src/app/webcommon/services/ejecucionreporte.service.ts +0 -160
- package/src/app/webcommon/services/fechaUtils.service.ts +0 -127
- package/src/app/webcommon/services/fuentegeneral.service.ts +0 -74
- package/src/app/webcommon/services/homologacion.service.ts +0 -49
- package/src/app/webcommon/services/plantillas.service.ts +0 -165
- package/src/app/webcommon/services/reportes.service.ts +0 -133
- package/src/app/webcommon/webcommon.module.ts +0 -11
- package/src/environments/environment.prod.ts +0 -3
- package/src/environments/environment.ts +0 -25
- package/src/favicon.ico +0 -0
- package/src/index.html +0 -14
- package/src/main.ts +0 -12
- package/src/polyfills.ts +0 -53
- package/src/test.ts +0 -14
- package/tsconfig.app.json +0 -15
- package/tsconfig.json +0 -35
- package/tsconfig.spec.json +0 -18
|
@@ -1,139 +0,0 @@
|
|
|
1
|
-
<div
|
|
2
|
-
class="layout-wrapper p-input-filled layout-menu-static layout-menu-light layout-topbar-dark"
|
|
3
|
-
[ngClass]="{'layout-menu-active': menuActive,
|
|
4
|
-
'layout-menu-mobile-active': mobileMenuActive,
|
|
5
|
-
'layout-topbar-mobile-active': mobileTopbarActive }"
|
|
6
|
-
>
|
|
7
|
-
<!--INICIO TOPBAR-->
|
|
8
|
-
<div class="layout-topbar shadow-4">
|
|
9
|
-
<div class="layout-topbar-left">
|
|
10
|
-
<a class="layout-topbar-logo">{{ nombreEmpresa | uppercase }}</a>
|
|
11
|
-
|
|
12
|
-
<a class="layout-menu-button shadow-6" (click)="onMenuButtonClick($event)" pRipple>
|
|
13
|
-
<i class="pi pi-chevron-right"></i>
|
|
14
|
-
</a>
|
|
15
|
-
|
|
16
|
-
<a class="layout-topbar-mobile-button" (click)="onTopbarMobileButtonClick($event)" pRipple>
|
|
17
|
-
<i class="pi pi-ellipsis-v fs-large"></i>
|
|
18
|
-
</a>
|
|
19
|
-
</div>
|
|
20
|
-
|
|
21
|
-
<div class="layout-topbar-right" [ngClass]="{ 'layout-topbar-mobile-active': mobileTopbarActive }">
|
|
22
|
-
<div class="layout-topbar-actions-left"></div>
|
|
23
|
-
|
|
24
|
-
<div class="layout-topbar-actions-right">
|
|
25
|
-
<ul class="layout-topbar-items">
|
|
26
|
-
<li class="layout-topbar-item layout-search-item">
|
|
27
|
-
<a class="layout-topbar-action rounded-circle" (click)="onTopbarItemClick($event, 'search')" pRipple>
|
|
28
|
-
<i class="pi pi-search fs-large"></i>
|
|
29
|
-
</a>
|
|
30
|
-
|
|
31
|
-
<div
|
|
32
|
-
class="layout-search-panel p-inputgroup"
|
|
33
|
-
[@topbarActionPanelAnimation]="'visible'"
|
|
34
|
-
*ngIf="search"
|
|
35
|
-
(@topbarActionPanelAnimation.done)="onSearchAnimationEnd($event)">
|
|
36
|
-
<span class="p-inputgroup-addon"><i class="pi pi-search"></i></span>
|
|
37
|
-
<p-autoComplete
|
|
38
|
-
#searchInput
|
|
39
|
-
placeholder="Buscar una tarea..."
|
|
40
|
-
(click)="searchClick = true"
|
|
41
|
-
[dropdown]="false"
|
|
42
|
-
[(ngModel)]="tareaSeleccionadas"
|
|
43
|
-
[suggestions]="tareasFiltradas"
|
|
44
|
-
(completeMethod)="filterTarea($event)"
|
|
45
|
-
(onSelect)="tareaSeleccion()"
|
|
46
|
-
field="descripcion"
|
|
47
|
-
styleClass="w-full h-full"
|
|
48
|
-
>
|
|
49
|
-
</p-autoComplete>
|
|
50
|
-
<span class="p-inputgroup-addon">
|
|
51
|
-
<button
|
|
52
|
-
pButton
|
|
53
|
-
pRipple
|
|
54
|
-
type="button"
|
|
55
|
-
icon="pi pi-times"
|
|
56
|
-
class="p-button-rounded p-button-text p-button-plain"
|
|
57
|
-
(click)="searchClick = false"
|
|
58
|
-
></button>
|
|
59
|
-
</span>
|
|
60
|
-
</div>
|
|
61
|
-
</li>
|
|
62
|
-
|
|
63
|
-
<li class="layout-topbar-item app">
|
|
64
|
-
<a class="layout-topbar-action rounded-circle" (click)="onTopbarItemClick($event, 'modules')" pRipple>
|
|
65
|
-
<i class="pi pi-table fs-large"></i>
|
|
66
|
-
</a>
|
|
67
|
-
|
|
68
|
-
<div
|
|
69
|
-
class="layout-topbar-action-panel shadow-6"
|
|
70
|
-
[@topbarActionPanelAnimation]="'visible'"
|
|
71
|
-
*ngIf="activeTopbarItem === 'modules'"
|
|
72
|
-
>
|
|
73
|
-
<div class="grid grid-nogutter">
|
|
74
|
-
<div class="layout-topbar-action-item col-4" *ngFor="let modulo of modulosDisponibles">
|
|
75
|
-
<a class="flex align-items-center text-color" href="/inicio" pRipple (click)="cambioModulo(modulo, true)">
|
|
76
|
-
<i class="action app-bgcolor">
|
|
77
|
-
<img [src]="'assets/modulos/' + modulo.icono" />
|
|
78
|
-
</i>
|
|
79
|
-
<span style="font-size: 10px; text-align: left">{{ modulo.descripcion }}</span>
|
|
80
|
-
</a>
|
|
81
|
-
</div>
|
|
82
|
-
</div>
|
|
83
|
-
</div>
|
|
84
|
-
</li>
|
|
85
|
-
|
|
86
|
-
<li class="layout-topbar-item">
|
|
87
|
-
<a
|
|
88
|
-
class="layout-topbar-action flex flex-row justify-content-center align-items-center px-2 rounded-circle"
|
|
89
|
-
(click)="onTopbarItemClick($event, 'profile')"
|
|
90
|
-
pRipple
|
|
91
|
-
>
|
|
92
|
-
<img src="" alt="avatar" style="width: 32px; height: 32px" />
|
|
93
|
-
</a>
|
|
94
|
-
|
|
95
|
-
<ul
|
|
96
|
-
class="layout-topbar-action-panel shadow-6"
|
|
97
|
-
[@topbarActionPanelAnimation]="'visible'"
|
|
98
|
-
*ngIf="activeTopbarItem === 'profile'"
|
|
99
|
-
>
|
|
100
|
-
<li class="layout-topbar-action-item">
|
|
101
|
-
<a class="flex flex-row align-items-center" pRipple (click)="salir()">
|
|
102
|
-
<i class="pi pi-power-off mr-2"></i>
|
|
103
|
-
<span>Logout</span>
|
|
104
|
-
</a>
|
|
105
|
-
</li>
|
|
106
|
-
</ul>
|
|
107
|
-
</li>
|
|
108
|
-
</ul>
|
|
109
|
-
</div>
|
|
110
|
-
</div>
|
|
111
|
-
</div>
|
|
112
|
-
|
|
113
|
-
<!--FIN TOPBAR-->
|
|
114
|
-
<!--<div class="menu-wrapper" (click)="menuClick = true">
|
|
115
|
-
<div class="layout-menu-container">
|
|
116
|
-
|
|
117
|
-
</div>
|
|
118
|
-
</div>
|
|
119
|
-
<p-sidebar [(visible)]="menuClick">
|
|
120
|
-
<app-menu [modulo]="modulo"></app-menu>
|
|
121
|
-
</p-sidebar>
|
|
122
|
-
|
|
123
|
-
<div class="layout-main">
|
|
124
|
-
<app-breadcrumb></app-breadcrumb>
|
|
125
|
-
<app-carga-breadcrumb></app-carga-breadcrumb>
|
|
126
|
-
|
|
127
|
-
<div class="layout-content">
|
|
128
|
-
<div class="grid">
|
|
129
|
-
<div class="col-12">
|
|
130
|
-
<div class="us-main-content card p-3">
|
|
131
|
-
<router-outlet></router-outlet>
|
|
132
|
-
</div>
|
|
133
|
-
</div>
|
|
134
|
-
</div>
|
|
135
|
-
</div>
|
|
136
|
-
|
|
137
|
-
<app-footer></app-footer>
|
|
138
|
-
</div>
|
|
139
|
-
</div>-->
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
@import "../../../styles/sass/variables";
|
|
2
|
-
@import "../../../styles/sass/mixins";
|
|
3
|
-
|
|
4
|
-
.us-main-content {
|
|
5
|
-
min-height: calc(100vh - 190px);
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
//@import "variables";
|
|
9
|
-
//@import "mixins";
|
|
10
|
-
.p-inputgroup button.p-button-rounded {
|
|
11
|
-
border-radius: 50%;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
.layout-topbar .layout-topbar-right .layout-topbar-actions-right .layout-topbar-items .layout-topbar-item.app {
|
|
15
|
-
.layout-topbar-action-panel {
|
|
16
|
-
min-width: 35rem;
|
|
17
|
-
box-shadow: 0px 0px 20px hsla(var(--color-h), 100%, 35%, 0.4) !important;
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
.app-bgcolor {
|
|
21
|
-
background: var(--color-400);
|
|
22
|
-
flex: 0 0 42px;
|
|
23
|
-
|
|
24
|
-
img {
|
|
25
|
-
width: 20px;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
+ span {
|
|
29
|
-
padding-left: 0.6rem;
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
.layout-topbar-action-item:hover {
|
|
35
|
-
background: hsla(var(--color-h) 100% 60%/0.18);
|
|
36
|
-
}
|
|
37
|
-
}
|
|
@@ -1,233 +0,0 @@
|
|
|
1
|
-
import { AfterViewInit, Component, OnDestroy, OnInit, Renderer2, ViewChild } from '@angular/core';
|
|
2
|
-
import { ActivatedRoute, Router } from '@angular/router';
|
|
3
|
-
import { AuthService } from '../../core/servicios/auth.service';
|
|
4
|
-
import { MenuService } from '../..//core/servicios/menu.service';
|
|
5
|
-
import { StorageService } from '../../core/servicios/storage.service';
|
|
6
|
-
import { PrimeNGConfig } from 'primeng/api';
|
|
7
|
-
import { Subscription } from 'rxjs';
|
|
8
|
-
import { ModulosModel } from '../../seguridad/modelos/ModulosModel';
|
|
9
|
-
import { TareasModel } from '../../seguridad/modelos/TareasModel';
|
|
10
|
-
import { AutoComplete, AutoCompleteModule } from 'primeng/autocomplete';
|
|
11
|
-
import { trigger, style, transition, animate, AnimationEvent } from '@angular/animations';
|
|
12
|
-
import { CargarControlFuncionalidadService } from '../servicios/cargar-control-funcionalidad.service';
|
|
13
|
-
import { UtilsService } from '../servicios/utils.service';
|
|
14
|
-
import { StyleClassModule } from 'primeng/styleclass';
|
|
15
|
-
import { CommonModule } from '@angular/common';
|
|
16
|
-
import { FormsModule } from '@angular/forms';
|
|
17
|
-
import { AppSidebarComponent } from '../../layout/app.sidebar.component';
|
|
18
|
-
import { AppTopbarComponent } from '../../layout/app.topbar.component';
|
|
19
|
-
import { AppFooterComponent } from '../../layout/app.footer.component';
|
|
20
|
-
import { AppRightMenuComponent } from '../../layout/app.rightmenu.component';
|
|
21
|
-
import { AppBreadcrumbComponent } from '../../layout/app.breadcrumb.component';
|
|
22
|
-
@Component({
|
|
23
|
-
selector: 'app-plantilla-general',
|
|
24
|
-
imports: [StyleClassModule, CommonModule, AutoCompleteModule, FormsModule, AppSidebarComponent, AppBreadcrumbComponent, AppTopbarComponent, AppRightMenuComponent,AppFooterComponent],
|
|
25
|
-
standalone: true,
|
|
26
|
-
templateUrl: './plantilla-general.template.html',
|
|
27
|
-
styleUrls: ['./plantilla-general.template.scss'],
|
|
28
|
-
animations: [
|
|
29
|
-
trigger('topbarActionPanelAnimation', [
|
|
30
|
-
transition(':enter', [
|
|
31
|
-
style({ opacity: 0, transform: 'scaleY(0.8)' }),
|
|
32
|
-
animate('.12s cubic-bezier(0, 0, 0.2, 1)', style({ opacity: 1, transform: '*' })),
|
|
33
|
-
]),
|
|
34
|
-
transition(':leave', [animate('.1s linear', style({ opacity: 0 }))]),
|
|
35
|
-
]),
|
|
36
|
-
],
|
|
37
|
-
})
|
|
38
|
-
export class PlantillaGeneralTemplate implements OnInit, AfterViewInit, OnDestroy {
|
|
39
|
-
modulo: string;
|
|
40
|
-
intervalId: number;
|
|
41
|
-
menuActive: boolean = true;
|
|
42
|
-
mobileMenuActive: boolean = false;
|
|
43
|
-
mobileTopbarActive: boolean = false;
|
|
44
|
-
menuClick: boolean = false;
|
|
45
|
-
topbarItemClick: boolean = false;
|
|
46
|
-
activeTopbarItem: string = '';
|
|
47
|
-
search: boolean = false;
|
|
48
|
-
searchClick: boolean = false;
|
|
49
|
-
|
|
50
|
-
documentClickListener!: () => void;
|
|
51
|
-
|
|
52
|
-
nombreEmpresa: string = '1 - Unión Soluciones';
|
|
53
|
-
modulosDisponibles: ModulosModel[] = new Array();
|
|
54
|
-
tareaSeleccionadas: TareasModel;
|
|
55
|
-
tareasFiltradas: TareasModel[];
|
|
56
|
-
|
|
57
|
-
@ViewChild('searchInput') searchInputViewChild!: AutoComplete;
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
constructor(
|
|
61
|
-
private primeConfig: PrimeNGConfig,
|
|
62
|
-
private renderer: Renderer2,
|
|
63
|
-
private menuService: MenuService,
|
|
64
|
-
private authService: AuthService,
|
|
65
|
-
private router: Router,
|
|
66
|
-
private storage: StorageService,
|
|
67
|
-
private activatedRoute: ActivatedRoute,
|
|
68
|
-
private utilsService: UtilsService,
|
|
69
|
-
private storageService: StorageService,
|
|
70
|
-
private controlFuncionalidad: CargarControlFuncionalidadService
|
|
71
|
-
) {}
|
|
72
|
-
|
|
73
|
-
/**
|
|
74
|
-
* Activa ripple de PrimeNG para las animaciones de los botones
|
|
75
|
-
*/
|
|
76
|
-
ngOnInit(): void {
|
|
77
|
-
this.modulosDisponibles = JSON.parse(this.storage.getItem('modulos'));
|
|
78
|
-
this.activatedRoute.data.subscribe((v) =>{
|
|
79
|
-
//this.modulosDisponibles = v['modulosDisponibles']
|
|
80
|
-
this.primeConfig.ripple = true;
|
|
81
|
-
this.modulo = this.storage.getItem('moduloSeleccionado')
|
|
82
|
-
});
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
/**
|
|
86
|
-
* Después de crear la vista y sub-vistas inicializa las tareas y eventos básicos como
|
|
87
|
-
* el timer de sesión, cargar el menú y eventos del html para ocultar menús.
|
|
88
|
-
*/
|
|
89
|
-
ngAfterViewInit(): void {
|
|
90
|
-
this.documentClickListener = this.renderer.listen('body', 'click', () => {
|
|
91
|
-
if (!this.topbarItemClick) {
|
|
92
|
-
this.activeTopbarItem = '';
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
if (!this.menuClick) {
|
|
96
|
-
if (this.mobileMenuActive) {
|
|
97
|
-
this.mobileMenuActive = false;
|
|
98
|
-
}
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
if (!this.searchClick) {
|
|
102
|
-
this.search = false;
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
this.searchClick = false;
|
|
106
|
-
this.topbarItemClick = false;
|
|
107
|
-
this.menuClick = false;
|
|
108
|
-
this.modulo = this.storage.getItem('moduloSeleccionado')
|
|
109
|
-
let moduloSeleccionado: ModulosModel = new ModulosModel(this.modulo, '');
|
|
110
|
-
this.cambioModulo(moduloSeleccionado, false)
|
|
111
|
-
});
|
|
112
|
-
|
|
113
|
-
this.menuService.loadTareas().subscribe(() => {
|
|
114
|
-
setTimeout(() => {
|
|
115
|
-
this.menuService.setTareasDelModulo(this.modulo);
|
|
116
|
-
});
|
|
117
|
-
});
|
|
118
|
-
|
|
119
|
-
// Cada 5 minutos verifica que el token no haya expirado
|
|
120
|
-
this.intervalId = window.setInterval(() => {
|
|
121
|
-
if (!this.authService.isTokenValid()) {
|
|
122
|
-
this.authService.deleteToken();
|
|
123
|
-
if (window.location.href.toString().includes('admonPortal')) {
|
|
124
|
-
this.router.navigateByUrl(this.utilsService.obtenerBase() + '/admonPortal/timeout');
|
|
125
|
-
} else {
|
|
126
|
-
this.router.navigateByUrl(this.utilsService.obtenerBase() + '/timeout');
|
|
127
|
-
}
|
|
128
|
-
}
|
|
129
|
-
}, 300_000);
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
/**
|
|
133
|
-
* Limpia el componente de las subscripciones
|
|
134
|
-
*/
|
|
135
|
-
ngOnDestroy(): void {
|
|
136
|
-
clearInterval(this.intervalId);
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
/**
|
|
140
|
-
* Muestra/Esconte el menú principal de navegación
|
|
141
|
-
* @param event
|
|
142
|
-
*/
|
|
143
|
-
onMenuButtonClick(event: { preventDefault: () => void }): void {
|
|
144
|
-
this.menuActive = !this.menuActive;
|
|
145
|
-
this.menuClick = true;
|
|
146
|
-
|
|
147
|
-
if (this._isMobile()) {
|
|
148
|
-
this.mobileMenuActive = !this.mobileMenuActive;
|
|
149
|
-
}
|
|
150
|
-
|
|
151
|
-
event.preventDefault();
|
|
152
|
-
}
|
|
153
|
-
|
|
154
|
-
/**
|
|
155
|
-
* Si el sitio esta en móviles, muestra/esconde el menú de la barra superior (los tres puntos)
|
|
156
|
-
* @param event
|
|
157
|
-
*/
|
|
158
|
-
onTopbarMobileButtonClick(event: { preventDefault: () => void }): void {
|
|
159
|
-
this.mobileTopbarActive = !this.mobileTopbarActive;
|
|
160
|
-
event.preventDefault();
|
|
161
|
-
}
|
|
162
|
-
|
|
163
|
-
/**
|
|
164
|
-
* Muestra/Esconde los menus emergentes de la barra superior (Buscar, Módulos y Perfil).
|
|
165
|
-
* @param event
|
|
166
|
-
* @param item
|
|
167
|
-
*/
|
|
168
|
-
onTopbarItemClick(event: { preventDefault: () => void }, item: string): void {
|
|
169
|
-
this.topbarItemClick = true;
|
|
170
|
-
|
|
171
|
-
if (this.activeTopbarItem === item) {
|
|
172
|
-
this.activeTopbarItem = '';
|
|
173
|
-
} else {
|
|
174
|
-
this.activeTopbarItem = item;
|
|
175
|
-
}
|
|
176
|
-
|
|
177
|
-
if (item === 'search') {
|
|
178
|
-
this.search = !this.search;
|
|
179
|
-
this.searchClick = !this.searchClick;
|
|
180
|
-
}
|
|
181
|
-
|
|
182
|
-
event.preventDefault();
|
|
183
|
-
}
|
|
184
|
-
|
|
185
|
-
/**
|
|
186
|
-
* Si la pantalla tiene un ancho menor o igual a 991 es un dispositivo móvil.
|
|
187
|
-
* @returns boolean
|
|
188
|
-
*/
|
|
189
|
-
private _isMobile(): boolean {
|
|
190
|
-
return window.innerWidth <= 991;
|
|
191
|
-
}
|
|
192
|
-
|
|
193
|
-
onSearchAnimationEnd(event: AnimationEvent) {
|
|
194
|
-
switch (event.toState) {
|
|
195
|
-
case 'visible':
|
|
196
|
-
//this.searchInputViewChild.f;
|
|
197
|
-
break;
|
|
198
|
-
}
|
|
199
|
-
}
|
|
200
|
-
|
|
201
|
-
salir() {
|
|
202
|
-
this.authService.deleteToken();
|
|
203
|
-
this.controlFuncionalidad.eliminarFuncionalidades();
|
|
204
|
-
this.router.navigateByUrl(this.utilsService.obtenerBase() + '/login');
|
|
205
|
-
}
|
|
206
|
-
|
|
207
|
-
cambioModulo(modulo: ModulosModel, navegar: boolean): void {
|
|
208
|
-
this.storageService.setItem('moduloSeleccionado', modulo.llave)
|
|
209
|
-
this.menuService.setTareasDelModulo(modulo.llave);
|
|
210
|
-
if (navegar){
|
|
211
|
-
this.router.navigateByUrl( this.utilsService.obtenerBase() + '/inicio');
|
|
212
|
-
}
|
|
213
|
-
}
|
|
214
|
-
|
|
215
|
-
filterTarea(event) {
|
|
216
|
-
const filtered: TareasModel[] = [];
|
|
217
|
-
let tareas: TareasModel[] = this.storageService.getItem('__tareas') != null ? JSON.parse(this.storageService.getItem('__tareas')) : '';
|
|
218
|
-
const query = event.query;
|
|
219
|
-
for (let i = 0; i < tareas.length; i++) {
|
|
220
|
-
const country = tareas[i];
|
|
221
|
-
if (country.descripcion.toLowerCase().includes(query.toLowerCase())) {
|
|
222
|
-
filtered.push(country);
|
|
223
|
-
}
|
|
224
|
-
}
|
|
225
|
-
this.tareasFiltradas = filtered;
|
|
226
|
-
}
|
|
227
|
-
|
|
228
|
-
tareaSeleccion() {
|
|
229
|
-
if (this.tareaSeleccionadas != null) {
|
|
230
|
-
this.router.navigate([this.utilsService.obtenerBase() + this.tareaSeleccionadas.urlprincipal.replace(/.jsf/, '')]);
|
|
231
|
-
}
|
|
232
|
-
}
|
|
233
|
-
}
|
|
@@ -1,189 +0,0 @@
|
|
|
1
|
-
import { HttpClient, HttpHeaders } from '@angular/common/http';
|
|
2
|
-
import { Injectable, Inject } from '@angular/core';
|
|
3
|
-
import { catchError, map, Observable, tap } from 'rxjs';
|
|
4
|
-
import { UserLoginCredentials } from '../modelos/user.model';
|
|
5
|
-
import { AuthenticationError } from '../errores/authentication.error';
|
|
6
|
-
import { StorageService } from './storage.service';
|
|
7
|
-
import { CargarControlFuncionalidadService } from './cargar-control-funcionalidad.service';
|
|
8
|
-
import { CookieService } from 'ngx-cookie-service';
|
|
9
|
-
import { TareasModel } from '../../seguridad/modelos/TareasModel';
|
|
10
|
-
import { ModulosModel } from '../../seguridad/modelos/ModulosModel';
|
|
11
|
-
import { RolModel } from '../../seguridad/modelos/RolModel';
|
|
12
|
-
import { environment } from '../../../environments/environment';
|
|
13
|
-
import * as CryptoJS from 'crypto-js';
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
@Injectable({
|
|
17
|
-
providedIn: 'root',
|
|
18
|
-
})
|
|
19
|
-
export class AuthService {
|
|
20
|
-
constructor(
|
|
21
|
-
private http: HttpClient,
|
|
22
|
-
private storageService: StorageService,
|
|
23
|
-
private controlFuncionalidad: CargarControlFuncionalidadService,
|
|
24
|
-
private cookieService: CookieService) {}
|
|
25
|
-
|
|
26
|
-
/**
|
|
27
|
-
* Realiza la petición para autenticar al usuario. Devuelve el token que generó el servicio.
|
|
28
|
-
* @param credentials Objeto con los datos de acceso
|
|
29
|
-
* @returns Token válido
|
|
30
|
-
*/
|
|
31
|
-
login(credentials: UserLoginCredentials, urlapinucleo, tokenPublico): Observable<string> {
|
|
32
|
-
const url = `${urlapinucleo}/authentication/login`;
|
|
33
|
-
if (!this.cookieService.get('urlnucleo')){
|
|
34
|
-
this.cookieService.set('urlnucleo', urlapinucleo);
|
|
35
|
-
}
|
|
36
|
-
var headers = new HttpHeaders().set('Authorization', `Bearer ${tokenPublico}`)
|
|
37
|
-
return this.http.post<string>(url, credentials, {headers}).pipe(
|
|
38
|
-
map((data) => {
|
|
39
|
-
const token = (data as any)?.token as string;
|
|
40
|
-
this.storageService.setItem('token', token);
|
|
41
|
-
|
|
42
|
-
/**********************************
|
|
43
|
-
* Control funcionalidades
|
|
44
|
-
**********************************/
|
|
45
|
-
/* let rol: any = {}
|
|
46
|
-
rol.codigoRol = this.getTokenKey('llaveRol');
|
|
47
|
-
this.controlFuncionalidad.cargarFuncionalidad(rol, `${urlapinucleo}/authentication/funcionalidades`, headers).subscribe({});
|
|
48
|
-
*/
|
|
49
|
-
var listRoles = (data as any)?.listaRoles;
|
|
50
|
-
console.log(listRoles)
|
|
51
|
-
if (listRoles.length > 1 ){
|
|
52
|
-
this.storageService.setItem('roles', JSON.stringify(listRoles));
|
|
53
|
-
//this.mostrarRoles = true;
|
|
54
|
-
}if (listRoles.length == 1 ){
|
|
55
|
-
let rol: any = {}
|
|
56
|
-
rol.codigoRol = this.getTokenKey('llaveRol');
|
|
57
|
-
rol.aplicacion = this.getTokenKey('aplicacion');
|
|
58
|
-
this.controlFuncionalidad.cargarFuncionalidad(rol, `${urlapinucleo}/authentication/funcionalidades`, headers).subscribe({});
|
|
59
|
-
/********************************************************************************************/
|
|
60
|
-
/* Codigo temporal para mantener las tareas, pero estas deben ser obtenidas por un servicio */
|
|
61
|
-
var tareas: TareasModel[] = (data as any).tareasmodulo;
|
|
62
|
-
console.log(tareas)
|
|
63
|
-
this.storageService.setItem('__tareas', JSON.stringify(tareas));
|
|
64
|
-
var modulosDeTareas = tareas.filter((obj, index, self) => {
|
|
65
|
-
return index === self.findIndex((o) => o.modulo === obj.modulo);
|
|
66
|
-
});
|
|
67
|
-
var modulos: ModulosModel[] = [];
|
|
68
|
-
modulosDeTareas.forEach(data => {
|
|
69
|
-
let modulo: ModulosModel = {
|
|
70
|
-
llave: data.modulo,
|
|
71
|
-
descripcion: data.nombreModulo,
|
|
72
|
-
icono: data.iconoModulo
|
|
73
|
-
}
|
|
74
|
-
modulos.push(modulo)
|
|
75
|
-
})
|
|
76
|
-
console.log('entra aca login general');
|
|
77
|
-
|
|
78
|
-
this.storageService.setItem('modulos', JSON.stringify(modulos));
|
|
79
|
-
if (this.storageService.getItem('moduloFavorito') !== undefined && this.storageService.getItem('moduloFavorito')){
|
|
80
|
-
this.storageService.setItem('moduloSeleccionado', this.storageService.getItem('moduloFavorito'));
|
|
81
|
-
}else {
|
|
82
|
-
let modulodefecto = (data as any)?.modulodefecto;
|
|
83
|
-
if (!modulodefecto) {
|
|
84
|
-
modulodefecto = modulos[0].llave;
|
|
85
|
-
}
|
|
86
|
-
this.storageService.setItem('moduloSeleccionado', modulodefecto);
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
|
-
let tokenDecrypt = CryptoJS.AES.encrypt(JSON.stringify((data as any)?.autenticacionUsuarioDTO), environment.crypto_secret_key)
|
|
90
|
-
this.storageService.setItem('autenticacionUsuarioDTO', tokenDecrypt.toString());
|
|
91
|
-
|
|
92
|
-
/********************************************************************************************/
|
|
93
|
-
return token;
|
|
94
|
-
}),
|
|
95
|
-
catchError((error) => {
|
|
96
|
-
if (error.status >= 400) {
|
|
97
|
-
throw new AuthenticationError('Usuario/contraseña inválido.');
|
|
98
|
-
}
|
|
99
|
-
throw error;
|
|
100
|
-
})
|
|
101
|
-
);
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
/**
|
|
105
|
-
* Devuelve el token almacenado en el storage o vacio si no lo encuentra
|
|
106
|
-
* @returns Token
|
|
107
|
-
*/
|
|
108
|
-
getToken(): string {
|
|
109
|
-
return this.storageService.getItem('token', '');
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
/**
|
|
113
|
-
* Devuelve el valor asociado a la llave que se encuentra almacenado en el token.
|
|
114
|
-
* @param key Llave presente en el objeto del token
|
|
115
|
-
* @returns Valor almacenado
|
|
116
|
-
*/
|
|
117
|
-
getTokenKey(key: string): string {
|
|
118
|
-
try {
|
|
119
|
-
const data = this._decodeToken();
|
|
120
|
-
return data[key].toString();
|
|
121
|
-
} catch (error) {
|
|
122
|
-
return undefined;
|
|
123
|
-
}
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
/**
|
|
127
|
-
* Indica si el token almacenado en el storage es válido verificando que se
|
|
128
|
-
* pueda decodificar y que el tiempo actual sea menor al de expiración.
|
|
129
|
-
* @returns
|
|
130
|
-
*/
|
|
131
|
-
isTokenValid(): boolean {
|
|
132
|
-
try {
|
|
133
|
-
const data = this._decodeToken();
|
|
134
|
-
const expiryTime = data.exp;
|
|
135
|
-
const currentTime = Math.floor(new Date().getTime() / 1000);
|
|
136
|
-
if((currentTime <= expiryTime) && this.getTokenKey('numeroEmpresa') && this.getTokenKey('nombreConexion')){
|
|
137
|
-
return true
|
|
138
|
-
}
|
|
139
|
-
return false;
|
|
140
|
-
} catch (error) {
|
|
141
|
-
return false;
|
|
142
|
-
}
|
|
143
|
-
}
|
|
144
|
-
|
|
145
|
-
/**
|
|
146
|
-
* Borra el token del usuario para invalidar la sesión
|
|
147
|
-
*/
|
|
148
|
-
deleteToken(): void {
|
|
149
|
-
this.storageService.removeItem('token');
|
|
150
|
-
}
|
|
151
|
-
|
|
152
|
-
/**
|
|
153
|
-
* Decodifica el token que esta almacenado y devuelve el objeto que representa
|
|
154
|
-
* @returns Información almacenada en el Token
|
|
155
|
-
*/
|
|
156
|
-
private _decodeToken(): any {
|
|
157
|
-
try {
|
|
158
|
-
const token = this.getToken();
|
|
159
|
-
const data = token.split('.')[1];
|
|
160
|
-
return JSON.parse(atob(data));
|
|
161
|
-
} catch (error) {
|
|
162
|
-
throw error;
|
|
163
|
-
}
|
|
164
|
-
}
|
|
165
|
-
|
|
166
|
-
public refrescarToken(objeto: any, token): Observable<any> {
|
|
167
|
-
let url = this.cookieService.get('urlnucleo')
|
|
168
|
-
let headers = new HttpHeaders()
|
|
169
|
-
.set('Authorization', `Bearer ${token}`);
|
|
170
|
-
return this.http.post<any>(`${url}/authentication/refrescarToken`, objeto, { headers });
|
|
171
|
-
}
|
|
172
|
-
|
|
173
|
-
public generarTokenPublico(urlnucleo?) {
|
|
174
|
-
let url = this.cookieService.get('urlnucleo')
|
|
175
|
-
if (!url){
|
|
176
|
-
url = urlnucleo
|
|
177
|
-
}
|
|
178
|
-
return this.http.get<any>(`${url}/authentication/generarTokenPublico`);
|
|
179
|
-
}
|
|
180
|
-
|
|
181
|
-
public seleccionRol(_rolSeleccionado: RolModel, urlnucleo?): Observable<any> {
|
|
182
|
-
let url = this.cookieService.get('urlnucleo')
|
|
183
|
-
if (!url){
|
|
184
|
-
url = urlnucleo
|
|
185
|
-
}
|
|
186
|
-
return this.http.post<any>(`${url}/requieretoken/rol/seleccionado`, _rolSeleccionado);
|
|
187
|
-
}
|
|
188
|
-
|
|
189
|
-
}
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
import { HttpClient, HttpHeaders } from '@angular/common/http';
|
|
2
|
-
import { Injectable } from '@angular/core';
|
|
3
|
-
import { catchError, map, Observable } from 'rxjs';
|
|
4
|
-
import { AuthenticationError } from '../errores/authentication.error';
|
|
5
|
-
import { StorageService } from './storage.service';
|
|
6
|
-
import { UtilsService } from './utils.service';
|
|
7
|
-
|
|
8
|
-
@Injectable({
|
|
9
|
-
providedIn: 'root'
|
|
10
|
-
})
|
|
11
|
-
export class CargarControlFuncionalidadService {
|
|
12
|
-
|
|
13
|
-
constructor(private httpClient: HttpClient, private storageService: StorageService, private utilsService: UtilsService) { }
|
|
14
|
-
|
|
15
|
-
cargarFuncionalidad(rol: any, url : string, headers: HttpHeaders): Observable<string> {
|
|
16
|
-
return this.httpClient.post<any>(url, rol, {headers}).pipe(
|
|
17
|
-
map((data) => {
|
|
18
|
-
const controlFuncionalidades = (data as any)?.controlFuncionalidades as string;
|
|
19
|
-
this.storageService.setItem('controlFuncionalidades', controlFuncionalidades);
|
|
20
|
-
return null;
|
|
21
|
-
}), catchError((error) => {
|
|
22
|
-
if (error.status >= 400) {
|
|
23
|
-
throw new AuthenticationError('Error consultando control de funcionalidades.');
|
|
24
|
-
}
|
|
25
|
-
throw error;
|
|
26
|
-
})
|
|
27
|
-
);
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
getControlFuncionalidad(valor: string) : boolean{
|
|
31
|
-
if (this.storageService.getItem('controlFuncionalidades') != null){
|
|
32
|
-
let listaFuncionalidades = this.storageService.getItem('controlFuncionalidades');
|
|
33
|
-
|
|
34
|
-
if (listaFuncionalidades !== null) {
|
|
35
|
-
const funcionalidades = listaFuncionalidades.split(',');
|
|
36
|
-
return funcionalidades.includes(valor);
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
return false;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
/**
|
|
43
|
-
* Borra controles de funcionalidad en la sesión
|
|
44
|
-
*/
|
|
45
|
-
eliminarFuncionalidades(): void {
|
|
46
|
-
this.storageService.removeItem('controlFuncionalidades');
|
|
47
|
-
}
|
|
48
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { Injectable } from '@angular/core';
|
|
2
|
-
|
|
3
|
-
@Injectable({
|
|
4
|
-
providedIn: 'root'
|
|
5
|
-
})
|
|
6
|
-
export class ClickPosicionService {
|
|
7
|
-
private lastClickPosition = { x: 0, y: 0 };
|
|
8
|
-
|
|
9
|
-
setClickPosition(x: number, y: number): void {
|
|
10
|
-
this.lastClickPosition = { x, y };
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
getClickPosition(): { x: number, y: number } {
|
|
14
|
-
return this.lastClickPosition;
|
|
15
|
-
}
|
|
16
|
-
}
|