general-library-union 3.2.97 → 3.2.99
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 +214 -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 +70 -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 +360 -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 +352 -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 +55 -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 +102 -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 +16137 -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 +46 -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 +81 -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 +50 -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 +31 -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 -218
- 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 -68
- 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 -393
- 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 -195
- package/src/app/layout/app.topbar.component.ts +0 -363
- 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 -46
- 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 -133
- 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,393 +0,0 @@
|
|
|
1
|
-
import { Inject, Injectable } from '@angular/core';
|
|
2
|
-
import { CookieService } from 'ngx-cookie-service';
|
|
3
|
-
import { DOCUMENT } from '@angular/common';
|
|
4
|
-
import { ClickPosicionService } from './click-posicion.service';
|
|
5
|
-
|
|
6
|
-
@Injectable({
|
|
7
|
-
providedIn: 'root'
|
|
8
|
-
})
|
|
9
|
-
export class UtilsService {
|
|
10
|
-
|
|
11
|
-
private RESERVADAS_SQL_NOPUEDECONTENER: any[] = [';']
|
|
12
|
-
private reservadas: any[] = ['ALTER', 'DELETE', 'DROP', 'MODIFY', 'CREATE', 'DATABASE', 'TABLE', 'UPDATE', 'TRIGGER', 'GRANT', 'REVOKE', 'CALL', 'INSERT', 'TRUNCATE', 'USE', '--']
|
|
13
|
-
|
|
14
|
-
constructor(private cookieService: CookieService, @Inject(DOCUMENT) private document: Document, private clickPositionService: ClickPosicionService){
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
public generarLlave() {
|
|
18
|
-
let result = '';
|
|
19
|
-
const characters = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789';
|
|
20
|
-
const charactersLength = 32;
|
|
21
|
-
for (let i = 0; i < charactersLength; i++) {
|
|
22
|
-
result += characters.charAt(Math.floor(Math.random() * charactersLength));
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
return result.toLowerCase();
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
public generarPin(cantidad: number) {
|
|
31
|
-
let result = '';
|
|
32
|
-
const characters = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789';
|
|
33
|
-
for (let i = 0; i < cantidad; i++) {
|
|
34
|
-
result += characters.charAt(Math.floor(Math.random() * cantidad));
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
return result.toLowerCase();
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
rightpad(str, length, char) {
|
|
41
|
-
if (str === undefined) {
|
|
42
|
-
return null;
|
|
43
|
-
}
|
|
44
|
-
if (typeof str !== 'string' || typeof length !== 'number') {
|
|
45
|
-
throw new TypeError('Los argumentos deben ser una cadena y un número.');
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
if (str.length >= length) {
|
|
49
|
-
return str;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
char = char || ' '; // Utiliza un espacio como carácter de relleno si no se proporciona uno
|
|
53
|
-
|
|
54
|
-
var padLength = length - str.length;
|
|
55
|
-
var padding = char.repeat(padLength);
|
|
56
|
-
|
|
57
|
-
return str + padding;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
validarCampoNumerico(event: any) {
|
|
61
|
-
const input = event.target;
|
|
62
|
-
const regex = /[^0-9]/gi;
|
|
63
|
-
input.value = input.value.replace(regex, '');
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
isNotBlank(str: string | String | null | undefined): boolean {
|
|
67
|
-
return str != null && str.trim().length > 0;
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
isBlank(str: string | String | null | undefined): boolean {
|
|
71
|
-
return str == null || str?.trim() === '';
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
validarCampoObligatorio(valor): boolean {
|
|
75
|
-
// Verificar si el valor no es null ni undefined
|
|
76
|
-
if (valor !== null && valor !== undefined) {
|
|
77
|
-
// Verificar si el valor no es una cadena vacía (en caso de ser una cadena)
|
|
78
|
-
if (typeof valor === 'string' && valor.trim() === '') {
|
|
79
|
-
return false;
|
|
80
|
-
}
|
|
81
|
-
// Verificar si el valor no es un arreglo vacío (en caso de ser un arreglo)
|
|
82
|
-
if (Array.isArray(valor) && valor.length === 0) {
|
|
83
|
-
return false;
|
|
84
|
-
}
|
|
85
|
-
/*if (typeof valor === 'object' && Object.keys(valor).length === 0) {
|
|
86
|
-
return false;
|
|
87
|
-
}*/
|
|
88
|
-
return true;
|
|
89
|
-
}
|
|
90
|
-
return false;
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
capitalizeFully(inputString: string): string {
|
|
94
|
-
if (!inputString) {
|
|
95
|
-
return '';
|
|
96
|
-
}
|
|
97
|
-
const words = inputString.split(' ');
|
|
98
|
-
const capitalizedWords = words.map(word => {
|
|
99
|
-
if (word.length > 0) {
|
|
100
|
-
return word.charAt(0).toUpperCase() + word.slice(1).toLowerCase();
|
|
101
|
-
}
|
|
102
|
-
return '';
|
|
103
|
-
});
|
|
104
|
-
const result = capitalizedWords.join(' ');
|
|
105
|
-
return result;
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
ordenarSelectItemsAlfabeticamente(arrayDeObjetos: any[]): any[] {
|
|
109
|
-
arrayDeObjetos.sort((a, b) => {
|
|
110
|
-
const nombreA = a.label.toLowerCase();
|
|
111
|
-
const nombreB = b.label.toLowerCase();
|
|
112
|
-
|
|
113
|
-
if (nombreA < nombreB) {
|
|
114
|
-
return -1;
|
|
115
|
-
}
|
|
116
|
-
if (nombreA > nombreB) {
|
|
117
|
-
return 1;
|
|
118
|
-
}
|
|
119
|
-
return 0;
|
|
120
|
-
});
|
|
121
|
-
return arrayDeObjetos;
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
obtenerParametroDeURL(urlString: string, parametro: string): string | null {
|
|
125
|
-
const url = new URL(urlString);
|
|
126
|
-
const searchParams = new URLSearchParams(url.search);
|
|
127
|
-
return searchParams.get(parametro);
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
validarEmail(email: string): boolean {
|
|
131
|
-
const patronEmail = /^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$/;
|
|
132
|
-
return patronEmail.test(email);
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
obtenerBase(): (string | null) {
|
|
136
|
-
|
|
137
|
-
var basePortal: string = null;
|
|
138
|
-
var paginaActual: any = window.location.href
|
|
139
|
-
var url = new URL(paginaActual);
|
|
140
|
-
var params = new URLSearchParams(url.search);
|
|
141
|
-
if (paginaActual.toString().includes('PortalSara')) {
|
|
142
|
-
for (var match of paginaActual.matchAll(/(?<inicio>.*)\/(?<seguridad>.*)\/(?<sitio>.*)\/(?<pagina>.*)/g)) {
|
|
143
|
-
basePortal = match.groups?.seguridad;
|
|
144
|
-
}
|
|
145
|
-
} else if (params?.get('us_id')) {
|
|
146
|
-
paginaActual = window.parent.location.href;
|
|
147
|
-
for (var match of paginaActual.matchAll(/(?<inicio>.*)\/(?<seguridad>.*)\/(?<sitio>.*)\/(?<pagina>.*)/g)) {
|
|
148
|
-
basePortal = match.groups?.seguridad;
|
|
149
|
-
}
|
|
150
|
-
} else {
|
|
151
|
-
const regex = /^.*?\/\/.*?\/(.*?)\//g; // Expresión regular para obtener la primera parte de la URL
|
|
152
|
-
const match = Array.from(paginaActual.matchAll(regex));
|
|
153
|
-
|
|
154
|
-
if (match && match[0] && match[0][1]) {
|
|
155
|
-
basePortal = match[0][1];
|
|
156
|
-
}
|
|
157
|
-
}
|
|
158
|
-
return basePortal;
|
|
159
|
-
}
|
|
160
|
-
|
|
161
|
-
private validarEspacio(caracter: string): boolean {
|
|
162
|
-
const regex = /\s/; // La expresión regular para espacios en blanco
|
|
163
|
-
return regex.test(caracter); // Devuelve true si el carácter es un espacio en blanco
|
|
164
|
-
}
|
|
165
|
-
|
|
166
|
-
public validarTextoSQL(valor: string, obligatorio: boolean, select: boolean, longitud: number, validarSentencia: boolean): (string | null) {
|
|
167
|
-
// Verifica obligatoriedad
|
|
168
|
-
if (obligatorio && (valor == null || valor.trim().length == 0 || valor == '--')) {
|
|
169
|
-
return 'Obligatorio';
|
|
170
|
-
}
|
|
171
|
-
// Verifica longitud máxima
|
|
172
|
-
if (longitud > 0) {
|
|
173
|
-
if (valor != null && valor != '--' && valor.length > longitud) {
|
|
174
|
-
return 'Longitud maxima de ' + longitud;
|
|
175
|
-
}
|
|
176
|
-
}
|
|
177
|
-
// Realiza las demás validacion solo en el caso de que la cadena SQL/valor no sea vacia
|
|
178
|
-
if (valor == null || valor.trim().length == 0 || valor == '--')
|
|
179
|
-
return null;
|
|
180
|
-
|
|
181
|
-
if (validarSentencia) {
|
|
182
|
-
if (select) {
|
|
183
|
-
if (!valor.toUpperCase().startsWith('SELECT')) {
|
|
184
|
-
return 'El texto debe iniciar con la palabra Select';
|
|
185
|
-
}
|
|
186
|
-
} else {
|
|
187
|
-
if (valor.toUpperCase().includes('SELECT')) {
|
|
188
|
-
return 'No puede contener la palabra Select';
|
|
189
|
-
}
|
|
190
|
-
}
|
|
191
|
-
}
|
|
192
|
-
var indice: number;
|
|
193
|
-
var mensaje: string;
|
|
194
|
-
this.RESERVADAS_SQL_NOPUEDECONTENER.forEach(item => {
|
|
195
|
-
if (valor.includes(item)) {
|
|
196
|
-
mensaje = 'No puede contener ' + item;
|
|
197
|
-
}
|
|
198
|
-
})
|
|
199
|
-
this.reservadas.forEach(item => {
|
|
200
|
-
if (valor.toUpperCase().includes(item.toUpperCase())) {
|
|
201
|
-
indice = (valor.toUpperCase().indexOf(item.toUpperCase()));
|
|
202
|
-
if (indice == 0 || (this.validarEspacio(valor.charAt(indice - 1)) && this.validarEspacio(valor.charAt(item.length + indice)))) {
|
|
203
|
-
mensaje = 'No puede contener ' + item;
|
|
204
|
-
}
|
|
205
|
-
}
|
|
206
|
-
})
|
|
207
|
-
return mensaje;
|
|
208
|
-
}
|
|
209
|
-
|
|
210
|
-
sleep(ms: number): Promise<void> {
|
|
211
|
-
return new Promise((resolve) => setTimeout(resolve, ms));
|
|
212
|
-
}
|
|
213
|
-
|
|
214
|
-
validarTextoArchivoJasper(texto: string): (string | null) {
|
|
215
|
-
if (texto.trim() == '' || texto == null) {
|
|
216
|
-
return "El campo no puede estar vacio";
|
|
217
|
-
}
|
|
218
|
-
if (texto.match("^[^\\D].*")) {
|
|
219
|
-
return "El campo no puede iniciar con numeros";
|
|
220
|
-
}
|
|
221
|
-
if (texto.match("^[^\\S].*")) {
|
|
222
|
-
return "El campo no puede iniciar con caracteres en blanco";
|
|
223
|
-
}
|
|
224
|
-
if (!texto.match("^[^\\W].*")) {
|
|
225
|
-
return "El campo no puede iniciar con caracteres especiales";
|
|
226
|
-
}
|
|
227
|
-
return null;
|
|
228
|
-
}
|
|
229
|
-
|
|
230
|
-
resizeWindowIFrame() {
|
|
231
|
-
if ( window.frameElement != null) {
|
|
232
|
-
this.resizeIframeKeepPosition(window.frameElement);
|
|
233
|
-
}
|
|
234
|
-
}
|
|
235
|
-
|
|
236
|
-
/**
|
|
237
|
-
* Funcion para mantener la posición actual en el iframe.
|
|
238
|
-
* @param obj es un "FrameElement"
|
|
239
|
-
*/
|
|
240
|
-
private resizeIframeKeepPosition(obj) {
|
|
241
|
-
|
|
242
|
-
var ifrm = obj;
|
|
243
|
-
var doc = ifrm.contentDocument ? ifrm.contentDocument: ifrm.contentWindow.document;
|
|
244
|
-
var tamanio: number= this.getDocHeight( doc ) + 40
|
|
245
|
-
ifrm.style.height = tamanio + "px";
|
|
246
|
-
}
|
|
247
|
-
|
|
248
|
-
private getDocHeight(doc){
|
|
249
|
-
console.log('getDocHeight')
|
|
250
|
-
let navegador = this.obtenerNavegador().toLowerCase();
|
|
251
|
-
var height = 0;
|
|
252
|
-
doc = doc || document;
|
|
253
|
-
const appRoot = doc.querySelector('app-root');
|
|
254
|
-
|
|
255
|
-
const swalPopup = doc.querySelector('.swal2-popup');
|
|
256
|
-
if (swalPopup) {
|
|
257
|
-
return swalPopup.offsetHeight + 40;
|
|
258
|
-
}
|
|
259
|
-
|
|
260
|
-
// Si encuentra el elemento <app-root>, retorna su altura
|
|
261
|
-
if (appRoot) {
|
|
262
|
-
return appRoot.offsetHeight;
|
|
263
|
-
}
|
|
264
|
-
//var body = doc.body, html = doc.documentElement;
|
|
265
|
-
//height = Math.max( body.scrollHeight, body.offsetHeight,
|
|
266
|
-
//html.clientHeight, html.scrollHeight, html.offsetHeight );
|
|
267
|
-
|
|
268
|
-
if (navegador.indexOf('firefox') !== -1){
|
|
269
|
-
if(doc.formDetalleConvocatoria){
|
|
270
|
-
let cantidadMiles = height / 1000;
|
|
271
|
-
height = height + 600 + (cantidadMiles*40)
|
|
272
|
-
}
|
|
273
|
-
}
|
|
274
|
-
|
|
275
|
-
// console.warn('FCO : llama a getDocHeight');
|
|
276
|
-
|
|
277
|
-
return height;
|
|
278
|
-
}
|
|
279
|
-
|
|
280
|
-
obtenerNavegador(){
|
|
281
|
-
var ua= navigator.userAgent, tem,
|
|
282
|
-
M= ua.match(/(opera|chrome|safari|firefox|msie|trident(?=\/))\/?\s*(\d+)/i) || [];
|
|
283
|
-
if(/trident/i.test(M[1])){
|
|
284
|
-
tem= /\brv[ :]+(\d+)/g.exec(ua) || [];
|
|
285
|
-
return 'IE '+(tem[1] || '');
|
|
286
|
-
}
|
|
287
|
-
if(M[1]=== 'Chrome'){
|
|
288
|
-
tem= ua.match(/\b(OPR|Edge)\/(\d+)/);
|
|
289
|
-
if(tem!= null) return tem.slice(1).join(' ').replace('OPR', 'Opera');
|
|
290
|
-
}
|
|
291
|
-
M= M[2]? [M[1], M[2]]: [navigator.appName, navigator.appVersion, '-?'];
|
|
292
|
-
if((tem= ua.match(/version\/(\d+)/i))!= null) M.splice(1, 1, tem[1]);
|
|
293
|
-
return M.join(' ');
|
|
294
|
-
}
|
|
295
|
-
|
|
296
|
-
obtenerUrlApi(urlapi?: string ): string {
|
|
297
|
-
if (urlapi){
|
|
298
|
-
return urlapi;
|
|
299
|
-
}
|
|
300
|
-
switch (this.getTokenKey('aplicacion')) {
|
|
301
|
-
case '1':
|
|
302
|
-
return window['env']['urlapisara'] ? window['env']['urlapisara'] : this.cookieService.get('urlnucleo');
|
|
303
|
-
case '13':
|
|
304
|
-
return window['env']['urlapimana'] ? window['env']['urlapimana'] : this.cookieService.get('urlnucleo');
|
|
305
|
-
case '10':
|
|
306
|
-
return window['env']['urlapisara'] ? window['env']['urlapisara'] : this.cookieService.get('urlnucleo');
|
|
307
|
-
//return window['env']['urlapi'] ? window['env']['urlapi'] : this.cookieService.get('urlnucleo');
|
|
308
|
-
case '77':
|
|
309
|
-
return window['env']['urlapimanaaps'] ? window['env']['urlapimanaaps'] : this.cookieService.get('urlnucleo');
|
|
310
|
-
default:
|
|
311
|
-
return this.cookieService.get('urlnucleo');
|
|
312
|
-
}
|
|
313
|
-
}
|
|
314
|
-
|
|
315
|
-
private getTokenKey(key: string): string {
|
|
316
|
-
try {
|
|
317
|
-
const data = this._decodeToken();
|
|
318
|
-
return data[key].toString();
|
|
319
|
-
} catch (error) {
|
|
320
|
-
return undefined;
|
|
321
|
-
}
|
|
322
|
-
}
|
|
323
|
-
|
|
324
|
-
private _decodeToken(): any {
|
|
325
|
-
try {
|
|
326
|
-
const token = this.getItem('token', '');
|
|
327
|
-
const data = token.split('.')[1];
|
|
328
|
-
return JSON.parse(atob(data));
|
|
329
|
-
} catch (error) {
|
|
330
|
-
throw error;
|
|
331
|
-
}
|
|
332
|
-
}
|
|
333
|
-
|
|
334
|
-
getItem(key: string, defaultValue?: string): string | undefined {
|
|
335
|
-
return localStorage.getItem(this.obtenerBase() + '_' + key) ?? defaultValue;
|
|
336
|
-
}
|
|
337
|
-
|
|
338
|
-
cambiarTema(tema : ('temaClaro' | 'temaOscuro')){
|
|
339
|
-
localStorage.setItem(this.obtenerBase() + '_' +'tema', tema);
|
|
340
|
-
let linkTema = this.document.getElementById('temaApp') as HTMLLinkElement;
|
|
341
|
-
linkTema.href = `${tema}.css`
|
|
342
|
-
}
|
|
343
|
-
|
|
344
|
-
calcularPosicionDialog() {
|
|
345
|
-
const { x, y } = this.clickPositionService.getClickPosition();
|
|
346
|
-
|
|
347
|
-
console.log('lastClickPosition')
|
|
348
|
-
console.log(x)
|
|
349
|
-
console.log(y)
|
|
350
|
-
//const elemento = event.target as HTMLElement;
|
|
351
|
-
//const elementoCoordenada = elemento.getBoundingClientRect();
|
|
352
|
-
|
|
353
|
-
//const iframe = window.frameElement;
|
|
354
|
-
var ifrm: any = window.frameElement;
|
|
355
|
-
var doc = ifrm.contentDocument ? ifrm.contentDocument: ifrm.contentWindow.document;
|
|
356
|
-
var tamanio: number= this.getDocHeight( doc ) + 40
|
|
357
|
-
const iframeOffsetTop = tamanio ? -(tamanio/2) : 0;
|
|
358
|
-
|
|
359
|
-
const dialog = document.querySelector('.p-dialog') as HTMLElement;
|
|
360
|
-
|
|
361
|
-
if (dialog) {
|
|
362
|
-
var topPosition = iframeOffsetTop + y;
|
|
363
|
-
const calculoPosicionPopup = y + (dialog.offsetHeight/2)
|
|
364
|
-
if (calculoPosicionPopup > tamanio) {
|
|
365
|
-
var diferencia = calculoPosicionPopup - tamanio;
|
|
366
|
-
topPosition = topPosition - diferencia - 10;
|
|
367
|
-
}
|
|
368
|
-
dialog.style.top = `${topPosition}px`;
|
|
369
|
-
}
|
|
370
|
-
}
|
|
371
|
-
|
|
372
|
-
validarPalabra(texto: string): boolean {
|
|
373
|
-
const pletras = /^[a-zA-Z][0-9a-zA-Z]*$/;
|
|
374
|
-
return pletras.test(texto);
|
|
375
|
-
}
|
|
376
|
-
|
|
377
|
-
isNumeric(value: string): boolean {
|
|
378
|
-
return !isNaN(Number(value));
|
|
379
|
-
}
|
|
380
|
-
|
|
381
|
-
validarEntero(valor: number, obligatorio: boolean, longitud: number, campo: string): string {
|
|
382
|
-
if (obligatorio && valor == null) {
|
|
383
|
-
return (campo == null ? "" : "El campo \"" + campo + "\" es ") + "Obligatorio ";
|
|
384
|
-
}
|
|
385
|
-
if (valor != null) {
|
|
386
|
-
if (Math.trunc(valor).toString().length > longitud) {
|
|
387
|
-
return "Longitud maxima de " + longitud + (campo == null ? "" : (" para el campo (" + campo + ") "));
|
|
388
|
-
}
|
|
389
|
-
}
|
|
390
|
-
return null;
|
|
391
|
-
}
|
|
392
|
-
|
|
393
|
-
}
|
|
@@ -1,197 +0,0 @@
|
|
|
1
|
-
export class ColorUtil {
|
|
2
|
-
/**
|
|
3
|
-
* Define las variables CSS del tema y las agrega al documento.
|
|
4
|
-
* Se definene 9 colores alternativos más el color principal.
|
|
5
|
-
* Adicional se agregan las componentes HSL del color para hacer
|
|
6
|
-
* variaciones personalizadas y ajustar la opacidad.
|
|
7
|
-
* @param color Color principal del tema
|
|
8
|
-
*/
|
|
9
|
-
static addPalleteToRoot(color: string): void {
|
|
10
|
-
const head = (document.head || document.getElementsByTagName('head')[0]) as HTMLHeadElement;
|
|
11
|
-
const style = document.createElement('style') as HTMLStyleElement;
|
|
12
|
-
const { hue, saturation, lightness } = this.RGB2HSL(color);
|
|
13
|
-
const contrast = this.contrastColor(color) === 1 ? '--color-50' : '--color-900';
|
|
14
|
-
|
|
15
|
-
const intermediateColors = [50, 75, 85]
|
|
16
|
-
let index = 0;
|
|
17
|
-
const css =
|
|
18
|
-
':root { ' +
|
|
19
|
-
this._generatePalette(color)
|
|
20
|
-
.map((color, position) => {
|
|
21
|
-
if(index < 100){
|
|
22
|
-
index = intermediateColors[position] ? intermediateColors[position] : 100;
|
|
23
|
-
} else {
|
|
24
|
-
index += 100;
|
|
25
|
-
}
|
|
26
|
-
return `--color-${index}: ${color};`;
|
|
27
|
-
})
|
|
28
|
-
.join('') +
|
|
29
|
-
`--color-h: ${hue};` +
|
|
30
|
-
`--color-s: ${saturation}%;` +
|
|
31
|
-
`--color-l: ${lightness}%;` +
|
|
32
|
-
`--color-contrast: var(${contrast});` +
|
|
33
|
-
'}';
|
|
34
|
-
style.type = 'text/css';
|
|
35
|
-
style.appendChild(document.createTextNode(css));
|
|
36
|
-
head.appendChild(style);
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
/**
|
|
40
|
-
* Mezcla dos colores en proporción a un porcentaje para obtener un
|
|
41
|
-
* nuevo color.
|
|
42
|
-
* @param baseColor Color base para mezclar
|
|
43
|
-
* @param color Color que se quiere mezclar
|
|
44
|
-
* @param weight Porcentaje que se quiere mezclar. Entre 0 y 1
|
|
45
|
-
* @returns Color resultante en formato RGB (#AABBCC)
|
|
46
|
-
*/
|
|
47
|
-
static mix(baseColor: string, color: string, weight: number): string {
|
|
48
|
-
const newColor = [];
|
|
49
|
-
baseColor = this._normalizeColor(baseColor);
|
|
50
|
-
color = this._normalizeColor(color);
|
|
51
|
-
|
|
52
|
-
const rgbColorBase = this._getRGBValues(baseColor);
|
|
53
|
-
const rgbColorAdjust = this._getRGBValues(color);
|
|
54
|
-
|
|
55
|
-
['red', 'green', 'blue'].forEach((part) => {
|
|
56
|
-
newColor.push(
|
|
57
|
-
Math.round(rgbColorAdjust[part] + (rgbColorBase[part] - rgbColorAdjust[part]) * weight)
|
|
58
|
-
.toString(16)
|
|
59
|
-
.padStart(2, '0')
|
|
60
|
-
);
|
|
61
|
-
});
|
|
62
|
-
|
|
63
|
-
return '#' + newColor.join('');
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
/**
|
|
67
|
-
* Aclara un color proporcionalmente.
|
|
68
|
-
* @param color Color base para modificar
|
|
69
|
-
* @param percent Porcentaje de blanco que se agrega
|
|
70
|
-
* @returns Nuevo color más claro
|
|
71
|
-
*/
|
|
72
|
-
static tint(color: string, percent: number): string {
|
|
73
|
-
return this.mix('#fff', color, percent);
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
/**
|
|
77
|
-
* Oscurece un color proporcionalmente.
|
|
78
|
-
* @param color Color base para modificar
|
|
79
|
-
* @param percent Porcentaje de negro que se agrega
|
|
80
|
-
* @returns Nuevo color más oscuro
|
|
81
|
-
*/
|
|
82
|
-
static shade(color: string, percent: number): string {
|
|
83
|
-
return this.mix('#000', color, percent);
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
/**
|
|
87
|
-
* Transforma un color en RGB a su equivalente en formato HSL
|
|
88
|
-
* @param color Color en formato RGB
|
|
89
|
-
* @returns Arreglo de componentes HSL
|
|
90
|
-
*/
|
|
91
|
-
static RGB2HSL(color: string): { hue: number; saturation: number; lightness: number } {
|
|
92
|
-
color = this._normalizeColor(color);
|
|
93
|
-
|
|
94
|
-
let { red, green, blue } = this._getRGBValues(color);
|
|
95
|
-
red /= 255;
|
|
96
|
-
green /= 255;
|
|
97
|
-
blue /= 255;
|
|
98
|
-
|
|
99
|
-
const max = Math.max(red, green, blue);
|
|
100
|
-
const min = Math.min(red, green, blue);
|
|
101
|
-
|
|
102
|
-
let hue = 0;
|
|
103
|
-
let saturation = 0;
|
|
104
|
-
let lightness = (max + min) / 2;
|
|
105
|
-
|
|
106
|
-
if (max != min) {
|
|
107
|
-
const delta = max - min;
|
|
108
|
-
saturation = lightness > 0.5 ? delta / (2 - max - min) : delta / (max + min);
|
|
109
|
-
switch (max) {
|
|
110
|
-
case red:
|
|
111
|
-
hue = (green - blue) / delta + (green < blue ? 6 : 0);
|
|
112
|
-
break;
|
|
113
|
-
case green:
|
|
114
|
-
hue = (blue - red) / delta + 2;
|
|
115
|
-
break;
|
|
116
|
-
case blue:
|
|
117
|
-
hue = (red - green) / delta + 4;
|
|
118
|
-
break;
|
|
119
|
-
}
|
|
120
|
-
hue /= 6;
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
hue = Math.round(hue * 360);
|
|
124
|
-
saturation = Math.round(saturation * 100);
|
|
125
|
-
lightness = Math.round(lightness * 100);
|
|
126
|
-
|
|
127
|
-
return { hue, saturation, lightness };
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
/**
|
|
131
|
-
* Retorna 1 (blanco) o 0 (negro) para contrastar el color enviado.
|
|
132
|
-
* @param color Color del cual se quiere buscar el contraste
|
|
133
|
-
* @returns Blanco o Negro en RGB
|
|
134
|
-
*/
|
|
135
|
-
static contrastColor(color: string): number {
|
|
136
|
-
color = this._normalizeColor(color);
|
|
137
|
-
const { red, green, blue } = this._getRGBValues(color);
|
|
138
|
-
return red * 0.299 + green * 0.587 + blue * 0.114 > 186 ? 0 : 1;
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
/**
|
|
142
|
-
* Valida que la cadena de texto represente un color RGB válido y
|
|
143
|
-
* retorna las componentes del color en formato de seis caracteres.
|
|
144
|
-
* @param color Color en formato RGB. Ejemplo: (#000)
|
|
145
|
-
* @returns String del color sin el simbolo #
|
|
146
|
-
*/
|
|
147
|
-
private static _normalizeColor(color: string): string {
|
|
148
|
-
const rgbColor = color.match(/^#([0-9A-F]{3}|[0-9A-F]{6})$/i);
|
|
149
|
-
if (!rgbColor) {
|
|
150
|
-
throw new Error(`${color} is not a RGB color.`);
|
|
151
|
-
}
|
|
152
|
-
|
|
153
|
-
const colorParts = rgbColor[1].toLowerCase();
|
|
154
|
-
if (colorParts.length === 3) {
|
|
155
|
-
return colorParts.replace(/(.)/g, '$1$1');
|
|
156
|
-
}
|
|
157
|
-
|
|
158
|
-
return colorParts;
|
|
159
|
-
}
|
|
160
|
-
|
|
161
|
-
/**
|
|
162
|
-
* Transforma un color Hexadecimal a Decimal en sus respectivas
|
|
163
|
-
* comopnenetes.
|
|
164
|
-
* @param color Color en Hecadecimal para descomponer
|
|
165
|
-
* @returns Un objeto {red, green, blue} en decimal
|
|
166
|
-
*/
|
|
167
|
-
private static _getRGBValues(color: string): { red: number; green: number; blue: number } {
|
|
168
|
-
const red = parseInt(color.slice(0, 2), 16);
|
|
169
|
-
const green = parseInt(color.slice(2, 4), 16);
|
|
170
|
-
const blue = parseInt(color.slice(4, 6), 16);
|
|
171
|
-
return { red, green, blue };
|
|
172
|
-
}
|
|
173
|
-
|
|
174
|
-
/**
|
|
175
|
-
* Define una paleta de 10 colores, 5 más claros y 4 más oscuros basados
|
|
176
|
-
* en el color principal. El color principal será el color medio de la paleta
|
|
177
|
-
* @param color Color base para definir los demás colores
|
|
178
|
-
* @returns Arreglo de todos los colores de la paleta
|
|
179
|
-
*/
|
|
180
|
-
private static _generatePalette(color: string): string[] {
|
|
181
|
-
const palette = [];
|
|
182
|
-
for (let i = 0; i < 5; i++) {
|
|
183
|
-
if(i === 0) {
|
|
184
|
-
palette.push(this.tint(color, (5 - i) * 0.19));
|
|
185
|
-
palette.push(this.tint(color, (4.8 - i) * 0.19));
|
|
186
|
-
palette.push(this.tint(color, (4.55 - i) * 0.19));
|
|
187
|
-
} else {
|
|
188
|
-
palette.push(this.tint(color, (5 - i) * 0.19));
|
|
189
|
-
}
|
|
190
|
-
}
|
|
191
|
-
palette.push(color);
|
|
192
|
-
for (let i = 1; i < 5; i++) {
|
|
193
|
-
palette.push(this.shade(color, i * 0.15));
|
|
194
|
-
}
|
|
195
|
-
return palette;
|
|
196
|
-
}
|
|
197
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
<div class="layout-breadcrumb-container">
|
|
2
|
-
<nav class="layout-breadcrumb">
|
|
3
|
-
<ol>
|
|
4
|
-
<!-- <li><i class="pi pi-home"></i></li>
|
|
5
|
-
<ng-template ngFor let-item let-last="last" [ngForOf]="breadcrumbs$ | async">
|
|
6
|
-
<li><i class="pi pi-angle-right"></i></li>
|
|
7
|
-
<li><span>{{item.label}}</span></li>
|
|
8
|
-
</ng-template> -->
|
|
9
|
-
<p-breadcrumb [model]="items" [home]="home" styleClass="layout-breadcrumb pl-4 py-2"></p-breadcrumb>
|
|
10
|
-
<div class="layout-breadcrumb-buttons flex align-items-center pr-3">
|
|
11
|
-
<!-- <button pButton pRipple type="button" icon="pi pi-power-off" class="p-button-rounded p-button-text p-button-plain mr-1"></button> -->
|
|
12
|
-
</div>
|
|
13
|
-
</ol>
|
|
14
|
-
</nav>
|
|
15
|
-
<!-- <div class="layout-breadcrumb-buttons">
|
|
16
|
-
<button pButton pRipple type="button" icon="pi pi-cloud-upload" class="p-button-rounded p-button-text p-button-plain"></button>
|
|
17
|
-
<button pButton pRipple type="button" icon="pi pi-bookmark" class="p-button-rounded p-button-text p-button-plain"></button>
|
|
18
|
-
<button pButton pRipple type="button" icon="pi pi-power-off" class="p-button-rounded p-button-text p-button-plain"></button>
|
|
19
|
-
</div> -->
|
|
20
|
-
</div>
|
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
import { Component, OnDestroy, OnInit, ChangeDetectorRef } from '@angular/core';
|
|
2
|
-
import { ActivatedRouteSnapshot, NavigationEnd, Router } from '@angular/router';
|
|
3
|
-
import { MenuItem } from 'primeng/api';
|
|
4
|
-
import { BehaviorSubject, Subscription } from 'rxjs';
|
|
5
|
-
import { filter } from 'rxjs/operators';
|
|
6
|
-
import { MenuService } from '../core/servicios/menu.service';
|
|
7
|
-
import { UtilsService } from '../core/servicios/utils.service';
|
|
8
|
-
import { BreadcrumbModule } from 'primeng/breadcrumb';
|
|
9
|
-
|
|
10
|
-
interface Breadcrumb {
|
|
11
|
-
label: string;
|
|
12
|
-
url?: string;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
@Component({
|
|
16
|
-
selector: 'app-breadcrumb',
|
|
17
|
-
imports: [BreadcrumbModule],
|
|
18
|
-
standalone: true,
|
|
19
|
-
templateUrl: './app.breadcrumb.component.html'
|
|
20
|
-
})
|
|
21
|
-
export class AppBreadcrumbComponent implements OnInit, OnDestroy {
|
|
22
|
-
private subscription = new Subscription();
|
|
23
|
-
items: MenuItem[] = [];
|
|
24
|
-
home: MenuItem;
|
|
25
|
-
|
|
26
|
-
private readonly _breadcrumbs$ = new BehaviorSubject<Breadcrumb[]>([]);
|
|
27
|
-
readonly breadcrumbs$ = this._breadcrumbs$.asObservable();
|
|
28
|
-
|
|
29
|
-
constructor(
|
|
30
|
-
private router: Router,
|
|
31
|
-
private menuService: MenuService,
|
|
32
|
-
private utilsService: UtilsService,
|
|
33
|
-
private cd: ChangeDetectorRef // Importando ChangeDetectorRef
|
|
34
|
-
) {
|
|
35
|
-
this.router.events.pipe(filter(event => event instanceof NavigationEnd)).subscribe(() => {
|
|
36
|
-
const root = this.router.routerState.snapshot.root;
|
|
37
|
-
const breadcrumbs: Breadcrumb[] = [];
|
|
38
|
-
this.addBreadcrumb(root, [], breadcrumbs);
|
|
39
|
-
this._breadcrumbs$.next(breadcrumbs);
|
|
40
|
-
this.cd.detectChanges(); // Marcando para detección de cambios
|
|
41
|
-
});
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
ngOnInit(): void {
|
|
45
|
-
this.subscription.add(
|
|
46
|
-
this.menuService.breadcrumb.subscribe(items => {
|
|
47
|
-
this.items = items;
|
|
48
|
-
this.cd.detectChanges(); // Marcando para detección de cambios
|
|
49
|
-
})
|
|
50
|
-
);
|
|
51
|
-
if (window.location.href.toString().includes('admonPortal')) {
|
|
52
|
-
this.home = { icon: 'pi pi-home', routerLink: '/'+ this.utilsService.obtenerBase() + '/admonPortal/inicio' };
|
|
53
|
-
} else {
|
|
54
|
-
this.home = { icon: 'pi pi-home', routerLink: '/'+ this.utilsService.obtenerBase() + '/inicio' };
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
ngOnDestroy(): void {
|
|
59
|
-
this.subscription.unsubscribe();
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
private addBreadcrumb(route: ActivatedRouteSnapshot, parentUrl: string[], breadcrumbs: Breadcrumb[]) {
|
|
63
|
-
const routeUrl = parentUrl.concat(route.url.map(url => url.path));
|
|
64
|
-
const breadcrumb = route.data['breadcrumb'];
|
|
65
|
-
const parentBreadcrumb = route.parent && route.parent.data ? route.parent.data['breadcrumb'] : null;
|
|
66
|
-
|
|
67
|
-
if (breadcrumb && breadcrumb !== parentBreadcrumb) {
|
|
68
|
-
breadcrumbs.push({
|
|
69
|
-
label: route.data['breadcrumb'],
|
|
70
|
-
url: '/' + routeUrl.join('/'),
|
|
71
|
-
});
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
if (route.firstChild) {
|
|
75
|
-
this.addBreadcrumb(route.firstChild, routeUrl, breadcrumbs);
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
}
|