general-library-union 2.3.40 → 2.3.41
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2022/general-library-union.mjs +5 -0
- package/esm2022/public-api.mjs +170 -0
- package/esm2022/src/app/core/componentes/breadcrumb/breadcrumb.component.mjs +35 -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 +153 -0
- package/esm2022/src/app/core/componentes/footer/footer.component.mjs +22 -0
- package/esm2022/src/app/core/componentes/formulariodinamico/formulariodinamico.component.mjs +272 -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 +67 -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 +225 -0
- package/esm2022/src/app/core/servicios/auth.service.mjs +180 -0
- package/esm2022/src/app/core/servicios/cargar-control-funcionalidad.service.mjs +57 -0
- package/esm2022/src/app/core/servicios/data-exporter-table.utils.mjs +44 -0
- package/esm2022/src/app/core/servicios/error-interceptor.service.mjs +147 -0
- package/esm2022/src/app/core/servicios/guardias/auth.guard.mjs +66 -0
- package/esm2022/src/app/core/servicios/guardias/publico.guard.mjs +30 -0
- package/esm2022/src/app/core/servicios/interceptores/token-interceptor.service.mjs +120 -0
- package/esm2022/src/app/core/servicios/loading.service.mjs +43 -0
- package/esm2022/src/app/core/servicios/menu.service.mjs +88 -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 +91 -0
- package/esm2022/src/app/core/servicios/utils.service.mjs +305 -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 +66 -0
- package/esm2022/src/app/layout/app.footer.component.mjs +21 -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 +40 -0
- package/esm2022/src/app/layout/app.menu.service.mjs +24 -0
- package/esm2022/src/app/layout/app.menuitem.component.mjs +295 -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 +91 -0
- package/esm2022/src/app/layout/app.topbar.component.mjs +334 -0
- package/esm2022/src/app/layout/service/app.layout.service.mjs +134 -0
- package/esm2022/src/app/publico/pages/login/login.page.mjs +127 -0
- package/esm2022/src/app/publico/pages/not-found/not-found.page.mjs +47 -0
- package/esm2022/src/app/publico/pages/seleccion-rol/seleccion-rol.component.mjs +159 -0
- package/esm2022/src/app/publico/pages/timeout/timeout.page.mjs +20 -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/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/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/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/ListaServicioModel.mjs +17 -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/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/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 +151 -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/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 +328 -0
- package/esm2022/src/app/webcommon/pages/ejecucion-reporte/detalle-tipo-reporte/detalle-tipo-reporte.component.mjs +1448 -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 +95 -0
- package/esm2022/src/app/webcommon/pages/fuente/importar-fuente-con/importar-fuente-con.component.mjs +599 -0
- package/esm2022/src/app/webcommon/pages/fuente/importar-fuente-general/importar-fuente-general.component.mjs +177 -0
- package/esm2022/src/app/webcommon/pages/fuenteGeneral/fuente-general-servicio/fuente-general-servicio.component.mjs +327 -0
- package/esm2022/src/app/webcommon/pages/fuenteGeneral/listado-fuente-general/listado-fuente-general.page.mjs +93 -0
- package/esm2022/src/app/webcommon/pages/fuenteGeneral/mantenimiento-fuente-general/mantenimiento-fuente-general.page.mjs +671 -0
- package/esm2022/src/app/webcommon/pipes/fuente.pipe.mjs +201 -0
- package/esm2022/src/app/webcommon/pipes/general.pipe.mjs +907 -0
- package/esm2022/src/app/webcommon/pipes/reporte-columnario.pipe.mjs +115 -0
- package/esm2022/src/app/webcommon/pipes/reporte-fuente.pipe.mjs +296 -0
- package/esm2022/src/app/webcommon/popups/popup-campos-fuente-general/popup-campos-fuente-general.component.mjs +253 -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 +268 -0
- package/esm2022/src/app/webcommon/popups/popup-reporte/popup-reporte.component.mjs +508 -0
- package/esm2022/src/app/webcommon/popups/popup-sentencia/popup-sentencia.component.mjs +64 -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/ejecucionreporte.service.mjs +114 -0
- package/esm2022/src/app/webcommon/services/fechaUtils.service.mjs +88 -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 +53 -0
- package/esm2022/src/app/webcommon/services/reportes.service.mjs +53 -0
- package/esm2022/src/app/webcommon/webcommon.module.mjs +15 -0
- package/esm2022/src/environments/environment.mjs +22 -0
- package/fesm2022/general-library-union.mjs +13507 -0
- package/fesm2022/general-library-union.mjs.map +1 -0
- package/index.d.ts +5 -0
- package/package.json +57 -68
- package/{public-api.ts → public-api.d.ts} +154 -188
- 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 +26 -0
- package/src/app/core/componentes/footer/footer.component.d.ts +11 -0
- package/src/app/core/componentes/formulariodinamico/formulariodinamico.component.d.ts +46 -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 +24 -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/data-exporter-table.utils.d.ts +8 -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/token-interceptor.service.d.ts +21 -0
- package/src/app/core/servicios/loading.service.d.ts +22 -0
- package/src/app/core/servicios/menu.service.d.ts +34 -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 +46 -0
- package/src/app/core/servicios/utils.service.d.ts +40 -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 +10 -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 +40 -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 +33 -0
- package/src/app/layout/app.topbar.component.d.ts +78 -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 +16 -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/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/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/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/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/ListaServicioModel.d.ts +16 -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/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/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/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 +251 -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 +33 -0
- package/src/app/webcommon/pages/fuente/importar-fuente-con/importar-fuente-con.component.d.ts +143 -0
- package/src/app/webcommon/pages/fuente/importar-fuente-general/importar-fuente-general.component.d.ts +49 -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 +148 -0
- package/src/app/webcommon/pipes/fuente.pipe.d.ts +136 -0
- package/src/app/webcommon/pipes/general.pipe.d.ts +637 -0
- package/src/app/webcommon/pipes/reporte-columnario.pipe.d.ts +59 -0
- package/src/app/webcommon/pipes/reporte-fuente.pipe.d.ts +189 -0
- package/src/app/webcommon/popups/popup-campos-fuente-general/popup-campos-fuente-general.component.d.ts +58 -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 +97 -0
- package/src/app/webcommon/popups/popup-sentencia/popup-sentencia.component.d.ts +21 -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/ejecucionreporte.service.d.ts +34 -0
- package/src/app/webcommon/services/fechaUtils.service.d.ts +28 -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 +17 -0
- package/src/app/webcommon/services/reportes.service.d.ts +19 -0
- package/src/app/webcommon/webcommon.module.d.ts +6 -0
- package/src/environments/environment.d.ts +4 -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 -130
- package/karma.conf.js +0 -44
- package/ng-package.json +0 -21
- package/src/app/app.component.html +0 -0
- package/src/app/app.component.scss +0 -0
- package/src/app/app.component.spec.ts +0 -29
- package/src/app/app.component.ts +0 -12
- package/src/app/app.config.ts +0 -8
- package/src/app/app.module.ts +0 -10
- package/src/app/app.routes.ts +0 -3
- 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 -34
- 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 -34
- 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 -154
- package/src/app/core/componentes/footer/footer.component.html +0 -19
- package/src/app/core/componentes/footer/footer.component.scss +0 -3
- package/src/app/core/componentes/footer/footer.component.ts +0 -24
- 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 -275
- 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 -69
- package/src/app/core/componentes/inicio-component/inicio-component.component.ts +0 -65
- 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 -229
- package/src/app/core/servicios/auth.service.ts +0 -183
- package/src/app/core/servicios/cargar-control-funcionalidad.service.ts +0 -49
- package/src/app/core/servicios/data-exporter-table.utils.ts +0 -55
- package/src/app/core/servicios/error-interceptor.service.ts +0 -145
- package/src/app/core/servicios/guardias/auth.guard.ts +0 -51
- package/src/app/core/servicios/guardias/publico.guard.ts +0 -22
- package/src/app/core/servicios/interceptores/token-interceptor.service.ts +0 -110
- package/src/app/core/servicios/loading.service.ts +0 -48
- package/src/app/core/servicios/menu.service.ts +0 -89
- 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 -89
- package/src/app/core/servicios/utils.service.ts +0 -331
- 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 -74
- 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 -40
- package/src/app/layout/app.menu.service.ts +0 -23
- package/src/app/layout/app.menuitem.component.ts +0 -250
- 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 -80
- package/src/app/layout/app.topbar.component.html +0 -214
- package/src/app/layout/app.topbar.component.ts +0 -326
- 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 -122
- package/src/app/publico/pages/login/login.page.ts +0 -127
- package/src/app/publico/pages/not-found/not-found.page.html +0 -25
- 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 -41
- 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 -169
- package/src/app/publico/pages/timeout/timeout.page.html +0 -21
- 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/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/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 -10
- 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/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 -141
- 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/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 -329
- package/src/app/webcommon/pages/ejecucion-reporte/detalle-tipo-reporte/detalle-tipo-reporte.component.html +0 -1940
- 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 -1550
- 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 -47
- 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 -95
- package/src/app/webcommon/pages/fuente/importar-fuente-con/importar-fuente-con.component.html +0 -391
- 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 -612
- 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/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 -300
- 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 -86
- package/src/app/webcommon/pages/fuenteGeneral/mantenimiento-fuente-general/mantenimiento-fuente-general.page.html +0 -703
- 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 -682
- package/src/app/webcommon/pipes/fuente.pipe.ts +0 -207
- package/src/app/webcommon/pipes/general.pipe.ts +0 -1034
- package/src/app/webcommon/pipes/reporte-columnario.pipe.ts +0 -101
- package/src/app/webcommon/pipes/reporte-fuente.pipe.ts +0 -300
- 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 -248
- 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 -175
- 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 -265
- package/src/app/webcommon/popups/popup-reporte/popup-reporte.component.html +0 -261
- 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 -512
- 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/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 -72
- package/src/app/webcommon/services/ejecucionreporte.service.ts +0 -158
- package/src/app/webcommon/services/fechaUtils.service.ts +0 -120
- 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 -49
- package/src/app/webcommon/services/reportes.service.ts +0 -60
- package/src/app/webcommon/webcommon.module.ts +0 -11
- package/src/environments/environment.prod.ts +0 -3
- package/src/environments/environment.ts +0 -23
- package/src/favicon.ico +0 -0
- package/src/index.html +0 -14
- package/src/main.ts +0 -6
- 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,300 +0,0 @@
|
|
|
1
|
-
import { Component, OnInit, Input, Output, EventEmitter } from '@angular/core';
|
|
2
|
-
import { ConfirmationService, MessageService } from 'primeng/api';
|
|
3
|
-
import { GeneralService } from '../../../../shared/servicios/general.service';
|
|
4
|
-
import { GeneralModel } from '../../../../seguridad/modelos/GeneralModel';
|
|
5
|
-
import { ToastService } from '../../../../core/servicios/toast.service';
|
|
6
|
-
import { ParametrosGeneralModel } from '../../../../seguridad/modelos/ParametrosGeneralModel';
|
|
7
|
-
import { FuenteGeneralModel } from '../../../../seguridad/modelos/FuenteGeneralModel';
|
|
8
|
-
import { FuenteGeneralService } from '../../../services/fuentegeneral.service';
|
|
9
|
-
import { cargarmapasGlobal } from '../../../../shared/servicios/cargar-mapas.service';
|
|
10
|
-
import { FuenteServicioModel } from '../../../../seguridad/modelos/FuenteServicioModel';
|
|
11
|
-
import { GeneralPipe } from '../../../pipes/general.pipe';
|
|
12
|
-
import { FuentePipe } from '../../../pipes/fuente.pipe';
|
|
13
|
-
import { UtilsService } from '../../../../core/servicios/utils.service';
|
|
14
|
-
import { FormBuilder, FormControl, FormGroup, FormsModule, ReactiveFormsModule, ValidationErrors, Validators } from '@angular/forms';
|
|
15
|
-
import { TranslateModule } from '@ngx-translate/core';
|
|
16
|
-
import { CommonModule } from '@angular/common';
|
|
17
|
-
import { DropdownModule } from 'primeng/dropdown';
|
|
18
|
-
import { ConfirmPopupModule } from 'primeng/confirmpopup';
|
|
19
|
-
import { InputTextareaModule } from 'primeng/inputtextarea';
|
|
20
|
-
import { AccordionModule } from 'primeng/accordion';
|
|
21
|
-
import { TableModule } from 'primeng/table';
|
|
22
|
-
import { FiltroGeneralComponent } from '../../../../core/componentes/filtro-general/filtro-general.component';
|
|
23
|
-
import { TablaGeneralComponent } from '../../../../core/componentes/tabla-general/tabla-general.component';
|
|
24
|
-
@Component({
|
|
25
|
-
selector: 'app-fuente-general-servicio',
|
|
26
|
-
imports: [TranslateModule, CommonModule, ReactiveFormsModule, DropdownModule, ConfirmPopupModule, InputTextareaModule, AccordionModule, TableModule, FormsModule, FiltroGeneralComponent, TablaGeneralComponent,],
|
|
27
|
-
standalone: true,
|
|
28
|
-
providers: [MessageService],
|
|
29
|
-
templateUrl: './fuente-general-servicio.component.html',
|
|
30
|
-
styleUrls: ['./fuente-general-servicio.component.scss']
|
|
31
|
-
})
|
|
32
|
-
export class FuenteGeneralServicioComponent implements OnInit {
|
|
33
|
-
cargandoFormulario: boolean;
|
|
34
|
-
listaServicios: any[];
|
|
35
|
-
formulario: FormGroup;
|
|
36
|
-
listaFiltro: any[];
|
|
37
|
-
@Input()
|
|
38
|
-
fuenteGeneral: FuenteGeneralModel;
|
|
39
|
-
@Input()
|
|
40
|
-
fuenteServicioDTO: FuenteServicioModel;
|
|
41
|
-
@Input()
|
|
42
|
-
unica: boolean;
|
|
43
|
-
@Input()
|
|
44
|
-
servicios;
|
|
45
|
-
@Input()
|
|
46
|
-
camposFuente: [];
|
|
47
|
-
@Input()
|
|
48
|
-
isNew: boolean;
|
|
49
|
-
@Input()
|
|
50
|
-
fuente;
|
|
51
|
-
@Output()
|
|
52
|
-
regresar = new EventEmitter();
|
|
53
|
-
mapaservicio;
|
|
54
|
-
campos: any[] = [];
|
|
55
|
-
homologaciones: any[] = [];
|
|
56
|
-
mostrarFiltro: boolean;
|
|
57
|
-
serviciosValidar: FuenteServicioModel[] = [];
|
|
58
|
-
mapaFiltros;
|
|
59
|
-
paginator = {
|
|
60
|
-
rows: 5,
|
|
61
|
-
totalRecords: 0,
|
|
62
|
-
};
|
|
63
|
-
cargar: boolean;
|
|
64
|
-
validadorService: boolean = true;
|
|
65
|
-
constructor(private fuenteService: FuenteGeneralService, public fuentePipe: FuentePipe, public generalPipe: GeneralPipe, private generalService: GeneralService,
|
|
66
|
-
private cargarMapas: cargarmapasGlobal, private notificacionesBusService: ToastService, private confirmationService: ConfirmationService, private formBuilder: FormBuilder, public utilsService: UtilsService) { }
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
ngOnInit(): void {
|
|
70
|
-
this.ver();
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
async ver() {
|
|
74
|
-
try {
|
|
75
|
-
if (!this.isNew) {
|
|
76
|
-
this.fuenteServicioDTO = this.fuenteServicioDTO;
|
|
77
|
-
} else {
|
|
78
|
-
this.fuenteServicioDTO = new FuenteServicioModel();
|
|
79
|
-
}
|
|
80
|
-
await this.cargarMapaServicios();
|
|
81
|
-
this.homologaciones = await this.cargarMapas.cargarSelectItemString('llaveTabla', 'descripcion', new GeneralModel('HomologacionGeneralDTO', null, false, { estado: this.generalPipe.ESTADO_ACTIVO }));
|
|
82
|
-
this.fuente = this.fuenteGeneral.llaveTabla;
|
|
83
|
-
await this.cargarFormulario();
|
|
84
|
-
this.serviciosValidar = await this.generalService.queryForList(new GeneralModel('FuenteServicioDTO', null, false, { fuente: this.fuente, tipo: 'Servicio' })).toPromise();
|
|
85
|
-
this.mostrarFiltro = false;
|
|
86
|
-
await this.cargarCampos();
|
|
87
|
-
if (this.fuenteServicioDTO.predefinido != null) {
|
|
88
|
-
this.mostrarFiltro = true;
|
|
89
|
-
}
|
|
90
|
-
this.cargar = true
|
|
91
|
-
} catch (error) {
|
|
92
|
-
console.log(JSON.stringify(error));
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
async cargarFormulario() {
|
|
97
|
-
this.formulario = this.formBuilder.group({
|
|
98
|
-
fuente: new FormControl(this.fuenteServicioDTO.fuente ? this.fuenteServicioDTO.fuente : this.fuente),
|
|
99
|
-
llaveTabla: new FormControl(this.fuenteServicioDTO?.llaveTabla),
|
|
100
|
-
descripcion: new FormControl(this.fuenteServicioDTO.descripcion),
|
|
101
|
-
servicio: new FormControl(this.fuenteServicioDTO?.servicio, [Validators.required]),
|
|
102
|
-
orden: new FormControl(this.fuenteServicioDTO?.orden, [Validators.required]),
|
|
103
|
-
origen: new FormControl(this.fuenteServicioDTO?.origen),
|
|
104
|
-
filtro: new FormControl(this.fuenteServicioDTO?.filtro),
|
|
105
|
-
validador: new FormControl(this.fuenteServicioDTO?.validador),
|
|
106
|
-
detenerServicio: new FormControl(this.fuenteServicioDTO?.detenerServicio, [Validators.required]),
|
|
107
|
-
});
|
|
108
|
-
this.cargandoFormulario = true
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
async cargarMapaServicios() {
|
|
112
|
-
let map: Map<string, string> = new Map<string, string>();
|
|
113
|
-
this.servicios.forEach(element => {
|
|
114
|
-
map.set(element.codigo, element.descripcion);
|
|
115
|
-
})
|
|
116
|
-
this.mapaservicio = Array.from(map, ([key, label]) => ({ key, label }));
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
public ocultar() {
|
|
121
|
-
this.regresar.emit();
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
async cargarCampos() {
|
|
125
|
-
if (this.servicios == null || this.servicios.length <= 0 || this.fuenteServicioDTO.servicio == null || this.fuenteServicioDTO.servicio == '') {
|
|
126
|
-
return
|
|
127
|
-
}
|
|
128
|
-
this.campos = null;
|
|
129
|
-
this.campos = await this.fuenteService.cargarCampos(new ParametrosGeneralModel(null, null, this.servicios, { fuenteServicioDTO: this.fuenteServicioDTO })).toPromise();
|
|
130
|
-
this.paginator.totalRecords = this.campos.length;
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
async guardar() {
|
|
134
|
-
try {
|
|
135
|
-
await this.validar();
|
|
136
|
-
const sleep = (m) => new Promise((r) => setTimeout(r, m));
|
|
137
|
-
await sleep(10);
|
|
138
|
-
if (this.formulario.valid) {
|
|
139
|
-
if (this.isNew) {
|
|
140
|
-
this.fuenteServicioDTO = await this.generalService.crearRegistro(new GeneralModel('FuenteServicioDTO', null, false, this.formulario.value)).toPromise();
|
|
141
|
-
await this.cargarFormulario()
|
|
142
|
-
this.cargarCampos();
|
|
143
|
-
this.isNew = false;
|
|
144
|
-
this.notificacionesBusService.showInfo(this.generalPipe.MENSAJE_GUARDAR);
|
|
145
|
-
return null;
|
|
146
|
-
}
|
|
147
|
-
if ((await this.generalService.update(new GeneralModel('FuenteServicioDTO', null, false, this.formulario.value)).toPromise()) <= 0) {
|
|
148
|
-
this.notificacionesBusService.showWarning(this.generalPipe.MENSAJE_ACTUALIZAR_NO);
|
|
149
|
-
return null;
|
|
150
|
-
}
|
|
151
|
-
await this.guardarCampos();
|
|
152
|
-
this.notificacionesBusService.showSuccess(this.generalPipe.MENSAJE_ACTUALIZAR);
|
|
153
|
-
} else {
|
|
154
|
-
let comodinValidador: boolean = false;
|
|
155
|
-
Object.keys(this.formulario.controls).forEach((key) => {
|
|
156
|
-
if (this.formulario.get(key).errors) {
|
|
157
|
-
if (this.formulario.get(key).errors['errors']) {
|
|
158
|
-
this.formulario.get(key).markAsDirty();
|
|
159
|
-
comodinValidador = true;
|
|
160
|
-
return;
|
|
161
|
-
}
|
|
162
|
-
this.formulario.get(key).markAsDirty();
|
|
163
|
-
}
|
|
164
|
-
|
|
165
|
-
});
|
|
166
|
-
if (comodinValidador == false) {
|
|
167
|
-
this.notificacionesBusService.showError('Faltan campos obligatorios');
|
|
168
|
-
}
|
|
169
|
-
}
|
|
170
|
-
|
|
171
|
-
return null;
|
|
172
|
-
} catch (error) {
|
|
173
|
-
this.notificacionesBusService.showError('error', error);
|
|
174
|
-
}
|
|
175
|
-
}
|
|
176
|
-
|
|
177
|
-
eliminar(event) {
|
|
178
|
-
this.confirmationService.confirm({
|
|
179
|
-
target: event.target,
|
|
180
|
-
message: this.generalPipe.MENSAJE_ELIMINAR_CONFIRMAR,
|
|
181
|
-
acceptLabel: 'Si',
|
|
182
|
-
accept: () => {
|
|
183
|
-
this.setEliminar();
|
|
184
|
-
},
|
|
185
|
-
reject: () => {
|
|
186
|
-
}
|
|
187
|
-
});
|
|
188
|
-
}
|
|
189
|
-
|
|
190
|
-
async setEliminar() {
|
|
191
|
-
try {
|
|
192
|
-
if ((await this.fuenteService.eliminarServicio(new ParametrosGeneralModel(null, null, null, { fuenteServicioDTO: this.fuenteServicioDTO })).toPromise()) <= 0) {
|
|
193
|
-
this.notificacionesBusService.showWarning(this.generalPipe.MENSAJE_ELIMINAR_NO);
|
|
194
|
-
}
|
|
195
|
-
this.notificacionesBusService.showSuccess(this.generalPipe.MENSAJE_ELIMINAR);
|
|
196
|
-
this.ocultar();
|
|
197
|
-
} catch (error) {
|
|
198
|
-
this.notificacionesBusService.showError(error.message);
|
|
199
|
-
}
|
|
200
|
-
}
|
|
201
|
-
|
|
202
|
-
async validar() {
|
|
203
|
-
|
|
204
|
-
let err: ValidationErrors = { 'errors': true };
|
|
205
|
-
this.formulario.get('filtro').setErrors(null);
|
|
206
|
-
const sleep = (m) => new Promise((r) => setTimeout(r, m));
|
|
207
|
-
let validador = true;
|
|
208
|
-
if (this.formulario.get('filtro').value == null || this.formulario.get('filtro').value == '') {
|
|
209
|
-
this.formulario.get('filtro').setValue(null);
|
|
210
|
-
}
|
|
211
|
-
if ((this.formulario.get('filtro').value != null) && (this.formulario.get('filtro').value.length > 0)) {
|
|
212
|
-
if (this.fuenteGeneral.motor != this.generalPipe.SI) {
|
|
213
|
-
if (this.formulario.get('filtro').value.includes('?') || this.formulario.get('filtro').value.includes(':')) {
|
|
214
|
-
this.notificacionesBusService.showWarning(this.fuentePipe.MENSAJE_SERVICIO_FORMULA_FILTRO_NO_VALIDA);
|
|
215
|
-
this.formulario.get('filtro').setErrors(err);
|
|
216
|
-
validador = false;
|
|
217
|
-
return validador;
|
|
218
|
-
}
|
|
219
|
-
try {
|
|
220
|
-
await sleep(1000);
|
|
221
|
-
let validarcondicion = await this.fuenteService.validarCondicion(new ParametrosGeneralModel(null, null, null, { filtro: this.formulario.get('filtro').value })).toPromise();
|
|
222
|
-
if (!validarcondicion) {
|
|
223
|
-
validador = false;
|
|
224
|
-
this.formulario.get('filtro').setErrors(err);
|
|
225
|
-
}
|
|
226
|
-
} catch (error) {
|
|
227
|
-
validador = false;
|
|
228
|
-
this.formulario.get('filtro').setErrors(err);
|
|
229
|
-
this.notificacionesBusService.showError(error.error);
|
|
230
|
-
return validador;
|
|
231
|
-
}
|
|
232
|
-
}
|
|
233
|
-
}
|
|
234
|
-
if (this.serviciosValidar == null || this.serviciosValidar.length <= 0) {
|
|
235
|
-
return validador;
|
|
236
|
-
}
|
|
237
|
-
let valicontador = true
|
|
238
|
-
this.serviciosValidar.forEach(element => {
|
|
239
|
-
if (this.formulario.get('llaveTabla').value != element.llaveTabla) {
|
|
240
|
-
if (this.formulario.get('orden').value == element.orden) {
|
|
241
|
-
valicontador = false;
|
|
242
|
-
}
|
|
243
|
-
}
|
|
244
|
-
});
|
|
245
|
-
if (!valicontador) {
|
|
246
|
-
this.notificacionesBusService.showInfo(this.generalPipe.MENSAJE_ORDEN_REPETIDO);
|
|
247
|
-
validador = false;
|
|
248
|
-
this.formulario.get('orden').setErrors(err);
|
|
249
|
-
}
|
|
250
|
-
return validador;
|
|
251
|
-
}
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
async validarCampos() {
|
|
255
|
-
let validar = true;
|
|
256
|
-
let obligatorios = false;
|
|
257
|
-
this.campos.forEach(async element => {
|
|
258
|
-
element.error = null;
|
|
259
|
-
if (element.campo.valorDefecto != null && element.campo.valorDefecto.length > 0) {
|
|
260
|
-
try {
|
|
261
|
-
validar = await this.fuenteService.validarFormulaFuente(new ParametrosGeneralModel(null, null, null, { valorDefecto: element.campo.valorDefecto })).toPromise();
|
|
262
|
-
} catch (error) {
|
|
263
|
-
element.error = error.error;
|
|
264
|
-
validar = false;
|
|
265
|
-
}
|
|
266
|
-
} else if (element.campo.obligatorio) {
|
|
267
|
-
element.error = this.fuentePipe.MENSAJE_OBLIGATORIO;
|
|
268
|
-
obligatorios = true;
|
|
269
|
-
validar = false;
|
|
270
|
-
}
|
|
271
|
-
});
|
|
272
|
-
if (obligatorios) {
|
|
273
|
-
this.notificacionesBusService.showWarning('Apartado de Campos tiene campos obligatorios.');
|
|
274
|
-
} else if (!validar) {
|
|
275
|
-
this.notificacionesBusService.showInfo(this.fuentePipe.MENSAJE_EXISTEN_ERRORES_FORMULA);
|
|
276
|
-
return false;
|
|
277
|
-
}
|
|
278
|
-
return validar;
|
|
279
|
-
}
|
|
280
|
-
|
|
281
|
-
async guardarCampos() {
|
|
282
|
-
try {
|
|
283
|
-
let validador = await this.validarCampos();
|
|
284
|
-
if (validador) {
|
|
285
|
-
this.fuenteService.guardarCampos(new ParametrosGeneralModel(null, null, this.campos, { fuenteServicioDTO: this.formulario.value })).toPromise();
|
|
286
|
-
// await this.cargarCampos();
|
|
287
|
-
}
|
|
288
|
-
} catch (error) {
|
|
289
|
-
this.notificacionesBusService.showError(error.message);
|
|
290
|
-
}
|
|
291
|
-
}
|
|
292
|
-
|
|
293
|
-
transform(value: any, ...args: any): any {
|
|
294
|
-
let result = value;
|
|
295
|
-
if (args[0] == 'mapaServicio') { this.mapaservicio.forEach(data => { if (data.key === value) { result = data.label } }); }
|
|
296
|
-
return result;
|
|
297
|
-
}
|
|
298
|
-
|
|
299
|
-
}
|
|
300
|
-
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
<h1>{{ 'fuente'| translate}}</h1>
|
|
2
|
-
<div class="flex justify-content-between align-items-center mb-3">
|
|
3
|
-
<app-filtro-general [filtros]="filters" [datatable]="tablaGeneral">
|
|
4
|
-
<ng-template let-form>
|
|
5
|
-
<ng-container [formGroup]="form">
|
|
6
|
-
<span class="p-float-label">
|
|
7
|
-
<input pInputText autofocus type="text" id="descripcion" formControlName="descripcion"
|
|
8
|
-
autocomplete="off" />
|
|
9
|
-
<label for="descripcion">{{'filtro' | translate}}</label>
|
|
10
|
-
</span>
|
|
11
|
-
</ng-container>
|
|
12
|
-
</ng-template>
|
|
13
|
-
</app-filtro-general>
|
|
14
|
-
<button pButton label="{{'link_nuevo' | translate}}" (click)="nuevo()" icon="pi pi-plus"
|
|
15
|
-
class="p-ripple p-element p-button p-component p-button-secondary mb-2"></button>
|
|
16
|
-
</div>
|
|
17
|
-
<app-tabla-general #tablaGeneral [columns]="columns" [value]="listaResultado" [rows]="paginator.rows"
|
|
18
|
-
[totalRecords]="paginator.totalRecords" (onLoad)="cargarlistado($event)" (onRowSelect)="seleccion($event)"
|
|
19
|
-
[loading]="loading"></app-tabla-general>
|
|
File without changes
|
package/src/app/webcommon/pages/fuenteGeneral/listado-fuente-general/listado-fuente-general.page.ts
DELETED
|
@@ -1,86 +0,0 @@
|
|
|
1
|
-
import { Component, OnInit } from '@angular/core';
|
|
2
|
-
import { TranslateModule, TranslateService } from '@ngx-translate/core';
|
|
3
|
-
import { GeneralService } from '../../../../shared/servicios/general.service';
|
|
4
|
-
import { GeneralModel } from '../../../../seguridad/modelos/GeneralModel';
|
|
5
|
-
import { UtilsService } from '../../../../core/servicios/utils.service';
|
|
6
|
-
import { FuenteGeneralModel } from '../../../../seguridad/modelos/FuenteGeneralModel';
|
|
7
|
-
import { ActivatedRoute, Router } from '@angular/router';
|
|
8
|
-
import { MenuService } from '../../../../core/servicios/menu.service'
|
|
9
|
-
import { AuthService } from '../../../../core/servicios/auth.service';
|
|
10
|
-
import { FiltroGeneralComponent } from '../../../../core/componentes/filtro-general/filtro-general.component';
|
|
11
|
-
import { TablaGeneralComponent } from '../../../../core/componentes/tabla-general/tabla-general.component';
|
|
12
|
-
import { CommonModule } from '@angular/common';
|
|
13
|
-
import { ButtonModule } from 'primeng/button';
|
|
14
|
-
import { ReactiveFormsModule } from '@angular/forms';
|
|
15
|
-
|
|
16
|
-
@Component({
|
|
17
|
-
imports: [TranslateModule, CommonModule, FiltroGeneralComponent, TablaGeneralComponent, ButtonModule, ReactiveFormsModule],
|
|
18
|
-
standalone: true,
|
|
19
|
-
templateUrl: './listado-fuente-general.page.html',
|
|
20
|
-
styleUrls: ['./listado-fuente-general.page.scss']
|
|
21
|
-
})
|
|
22
|
-
export class ListadoFuenteGeneralPage implements OnInit {
|
|
23
|
-
|
|
24
|
-
columns : any[] = [];
|
|
25
|
-
filters : any[] = [];
|
|
26
|
-
loading: boolean;
|
|
27
|
-
listaResultado: FuenteGeneralModel[] = [];
|
|
28
|
-
paginator = {
|
|
29
|
-
rows: 10,
|
|
30
|
-
totalRecords: 0,
|
|
31
|
-
};
|
|
32
|
-
constructor(private generalServices : GeneralService,
|
|
33
|
-
private authService: AuthService,
|
|
34
|
-
private translateService : TranslateService,
|
|
35
|
-
private router: Router, public utilsService: UtilsService,
|
|
36
|
-
private activatedRoute: ActivatedRoute,
|
|
37
|
-
private menuService: MenuService) { }
|
|
38
|
-
|
|
39
|
-
ngOnInit(): void {
|
|
40
|
-
this.menuService.setBreadcrumb([{ label: 'Fuente General' }]);
|
|
41
|
-
this.columns = [
|
|
42
|
-
{
|
|
43
|
-
field: 'descripcion',
|
|
44
|
-
header: this.translateService.instant('descripcion'),
|
|
45
|
-
width: 100,
|
|
46
|
-
},
|
|
47
|
-
];
|
|
48
|
-
this.filters = [
|
|
49
|
-
{
|
|
50
|
-
field: 'descripcion',
|
|
51
|
-
header: this.translateService.instant('descripcion'),
|
|
52
|
-
matchMode: 'contains',
|
|
53
|
-
}
|
|
54
|
-
];
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
cargarlistado(event){
|
|
59
|
-
this.loading = true
|
|
60
|
-
this.listaResultado = []
|
|
61
|
-
let objeto = {
|
|
62
|
-
paginacionRegistroInicial: event.first,
|
|
63
|
-
paginacionRegistroFinal: event.rows,
|
|
64
|
-
fuenteGeneral: 'S',
|
|
65
|
-
aplicacion: this.authService.getTokenKey('aplicacion').padEnd(10),
|
|
66
|
-
descripcion: event.filters?.descripcion?.value ? '%' + event.filters?.descripcion?.value + '%' : null
|
|
67
|
-
}
|
|
68
|
-
let general = new GeneralModel('FuenteGeneralDTO', null, false, objeto)
|
|
69
|
-
console.log(objeto)
|
|
70
|
-
this.generalServices.queryForList(general).subscribe(data => {
|
|
71
|
-
this.listaResultado = data;
|
|
72
|
-
this.generalServices.cantidadRegistros(general).subscribe(data => {
|
|
73
|
-
this.paginator.totalRecords = data;
|
|
74
|
-
this.loading = false;
|
|
75
|
-
})
|
|
76
|
-
});
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
seleccion(evento){
|
|
80
|
-
this.router.navigate([this.utilsService.obtenerBase() + '/webcommon/fuentearchivo/fuente/fuenteGeneral/US_editar/mantenimiento',evento.llaveTabla]);
|
|
81
|
-
}
|
|
82
|
-
nuevo(){
|
|
83
|
-
this.router.navigate([this.utilsService.obtenerBase() + '/webcommon/fuentearchivo/fuente/fuenteGeneral/US_editar/mantenimiento']);
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
}
|