general-library-union 3.3.39 → 3.3.41
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.browserslistrc +15 -0
- package/.editorconfig +16 -0
- package/.vscode/extensions.json +4 -0
- package/.vscode/launch.json +20 -0
- package/.vscode/tasks.json +42 -0
- package/angular.json +143 -0
- package/karma.conf.js +44 -0
- package/ng-package.json +21 -0
- package/package.json +73 -62
- package/{public-api.d.ts → public-api.ts} +206 -164
- package/src/app/app.component.html +12 -0
- package/src/app/app.component.scss +0 -0
- package/src/app/app.component.spec.ts +29 -0
- package/src/app/app.component.ts +34 -0
- package/src/app/app.config.ts +43 -0
- package/src/app/app.module.ts +10 -0
- package/src/app/app.routes.ts +88 -0
- package/src/app/core/componentes/breadcrumb/breadcrumb.component.html +6 -0
- package/src/app/core/componentes/breadcrumb/breadcrumb.component.scss +0 -0
- package/src/app/core/componentes/breadcrumb/breadcrumb.component.ts +39 -0
- package/src/app/core/componentes/carga-breadcrumb/carga-breadcrumb.component.html +1 -0
- package/src/app/core/componentes/carga-breadcrumb/carga-breadcrumb.component.scss +0 -0
- package/src/app/core/componentes/carga-breadcrumb/carga-breadcrumb.component.ts +31 -0
- package/src/app/core/componentes/carga-pantalla-completa/carga-pantalla-completa.component.html +9 -0
- package/src/app/core/componentes/carga-pantalla-completa/carga-pantalla-completa.component.scss +28 -0
- package/src/app/core/componentes/carga-pantalla-completa/carga-pantalla-completa.component.ts +32 -0
- package/src/app/core/componentes/filtro-general/filtro-general.component.html +36 -0
- package/src/app/core/componentes/filtro-general/filtro-general.component.scss +3 -0
- package/src/app/core/componentes/filtro-general/filtro-general.component.ts +218 -0
- package/src/app/core/componentes/footer/footer.component.html +13 -0
- package/src/app/core/componentes/footer/footer.component.scss +3 -0
- package/src/app/core/componentes/footer/footer.component.ts +20 -0
- package/src/app/core/componentes/formulariodinamico/formulariodinamico.component.html +267 -0
- package/src/app/core/componentes/formulariodinamico/formulariodinamico.component.scss +21 -0
- package/src/app/core/componentes/formulariodinamico/formulariodinamico.component.ts +278 -0
- package/src/app/core/componentes/formulariodinamico/objetosformulario/{Cambio.d.ts → Cambio.ts} +13 -7
- package/src/app/core/componentes/formulariodinamico/objetosformulario/CampoFormulario.ts +118 -0
- package/src/app/core/componentes/formulariodinamico/objetosformulario/CampoFormularioCons.ts +76 -0
- package/src/app/core/componentes/formulariodinamico/objetosformulario/CampoFormularioNuevo.ts +67 -0
- package/src/app/core/componentes/formulariodinamico/objetosformulario/HashDirective.ts +11 -0
- package/src/app/core/componentes/inicio-component/inicio-component.component.html +29 -0
- package/src/app/core/componentes/inicio-component/inicio-component.component.scss +63 -0
- package/src/app/core/componentes/inicio-component/inicio-component.component.ts +68 -0
- package/src/app/core/componentes/menu/menu.component.html +13 -0
- package/src/app/core/componentes/menu/menu.component.scss +36 -0
- package/src/app/core/componentes/menu/menu.component.ts +35 -0
- package/src/app/core/componentes/tabla-general/tabla-general.component.html +90 -0
- package/src/app/core/componentes/tabla-general/tabla-general.component.scss +0 -0
- package/src/app/core/componentes/tabla-general/tabla-general.component.ts +96 -0
- package/src/app/core/core.module.ts +22 -0
- package/src/app/core/errores/authentication.error.ts +6 -0
- package/src/app/core/modelos/error-response.model.ts +9 -0
- package/src/app/core/modelos/table-column.model.ts +10 -0
- package/src/app/core/modelos/user.model.ts +6 -0
- package/src/app/core/plantilla-general/plantilla-general.template.html +139 -0
- package/src/app/core/plantilla-general/plantilla-general.template.scss +37 -0
- package/src/app/core/plantilla-general/plantilla-general.template.ts +233 -0
- package/src/app/core/servicios/auth.service.ts +189 -0
- package/src/app/core/servicios/cargar-control-funcionalidad.service.ts +48 -0
- package/src/app/core/servicios/click-posicion.service.ts +16 -0
- package/src/app/core/servicios/data-exporter-table.utils.ts +78 -0
- package/src/app/core/servicios/error-interceptor.service.ts +208 -0
- package/src/app/core/servicios/guardias/auth.guard.ts +51 -0
- package/src/app/core/servicios/guardias/publico.guard.ts +26 -0
- package/src/app/core/servicios/interceptores/loading-interceptor.ts +37 -0
- package/src/app/core/servicios/interceptores/token-interceptor.service.ts +177 -0
- package/src/app/core/servicios/loading.service.ts +48 -0
- package/src/app/core/servicios/menu.service.ts +153 -0
- package/src/app/core/servicios/spinner-service.ts +18 -0
- package/src/app/core/servicios/storage.service.ts +68 -0
- package/src/app/core/servicios/template.service.ts +91 -0
- package/src/app/core/servicios/toast.service.ts +114 -0
- package/src/app/core/servicios/utils.service.ts +398 -0
- package/src/app/core/sharedlib.module.ts +11 -0
- package/src/app/core/utilidades/color.util.ts +197 -0
- package/src/app/layout/api/{menuchangeevent.d.ts → menuchangeevent.ts} +4 -4
- package/src/app/layout/app.breadcrumb.component.html +20 -0
- package/src/app/layout/app.breadcrumb.component.ts +78 -0
- package/src/app/layout/app.footer.component.html +18 -0
- package/src/app/layout/app.footer.component.ts +15 -0
- package/src/app/layout/app.layout.component.html +20 -0
- package/src/app/layout/app.layout.component.ts +201 -0
- package/src/app/layout/app.layout.module.ts +9 -0
- package/src/app/layout/app.menu.component.html +6 -0
- package/src/app/layout/app.menu.component.ts +51 -0
- package/src/app/layout/app.menu.service.ts +23 -0
- package/src/app/layout/app.menuitem.component.ts +252 -0
- package/src/app/layout/app.menuprofile.component.html +35 -0
- package/src/app/layout/app.menuprofile.component.ts +60 -0
- package/src/app/layout/app.rightmenu.component.html +72 -0
- package/src/app/layout/app.rightmenu.component.ts +24 -0
- package/src/app/layout/app.sidebar.component.html +40 -0
- package/src/app/layout/app.sidebar.component.ts +81 -0
- package/src/app/layout/app.topbar.component.html +194 -0
- package/src/app/layout/app.topbar.component.ts +378 -0
- package/src/app/layout/config/app.config.component.html +125 -0
- package/src/app/layout/config/app.config.component.ts +206 -0
- package/src/app/layout/config/app.config.module.ts +11 -0
- package/src/app/layout/service/app.layout.service.ts +191 -0
- package/src/app/publico/pages/login/login.page.html +53 -0
- package/src/app/publico/pages/login/login.page.scss +210 -0
- package/src/app/publico/pages/login/login.page.ts +130 -0
- package/src/app/publico/pages/not-found/not-found.page.html +36 -0
- package/src/app/publico/pages/not-found/not-found.page.scss +2 -0
- package/src/app/publico/pages/not-found/not-found.page.ts +46 -0
- package/src/app/publico/pages/seleccion-rol/seleccion-rol.component.html +58 -0
- package/src/app/publico/pages/seleccion-rol/seleccion-rol.component.scss +46 -0
- package/src/app/publico/pages/seleccion-rol/seleccion-rol.component.ts +176 -0
- package/src/app/publico/pages/timeout/timeout.page.html +24 -0
- package/src/app/publico/pages/timeout/timeout.page.scss +2 -0
- package/src/app/publico/pages/timeout/timeout.page.ts +18 -0
- package/src/app/seguridad/constantes/ConstantesGenerales.ts +30 -0
- package/src/app/seguridad/constantes/ReporteEntradaConstantes.ts +18 -0
- package/src/app/seguridad/constantes/ReporteFuenteConstantes.ts +13 -0
- package/src/app/seguridad/modelos/AplicacionModel.ts +11 -0
- package/src/app/seguridad/modelos/ArchivoPortalModel.ts +16 -0
- package/src/app/seguridad/modelos/AtributoPuntoModel.ts +9 -0
- package/src/app/seguridad/modelos/AtributoSSOportalModel.ts +22 -0
- package/src/app/seguridad/modelos/{AuditoriaArchivoModel.d.ts → AuditoriaArchivoModel.ts} +13 -10
- package/src/app/seguridad/modelos/CargueLineaModel.ts +17 -0
- package/src/app/seguridad/modelos/ColoresRGB.ts +17 -0
- package/src/app/seguridad/modelos/ColumnaFuenteModel.ts +9 -0
- package/src/app/seguridad/modelos/{ColumnaWraperModel.d.ts → ColumnaWraperModel.ts} +7 -6
- package/src/app/seguridad/modelos/ComplementoModel.ts +10 -0
- package/src/app/seguridad/modelos/ComponentePaginaModel.ts +22 -0
- package/src/app/seguridad/modelos/ConexionModel.ts +15 -0
- package/src/app/seguridad/modelos/{ContenidoHtmlPortalModel.d.ts → ContenidoHtmlPortalModel.ts} +25 -20
- package/src/app/seguridad/modelos/ControlFuncionModel.ts +10 -0
- package/src/app/seguridad/modelos/CorreoModel.ts +45 -0
- package/src/app/seguridad/modelos/{CorreoOrgEmpModModel.d.ts → CorreoOrgEmpModModel.ts} +11 -8
- package/src/app/seguridad/modelos/CorreoWSModel.ts +49 -0
- package/src/app/seguridad/modelos/CruceRecursoPuntoModel.ts +14 -0
- package/src/app/seguridad/modelos/{DatoInicioModel.d.ts → DatoInicioModel.ts} +7 -6
- package/src/app/seguridad/modelos/{EjecucionReporteDataModel.d.ts → EjecucionReporteDataModel.ts} +21 -20
- package/src/app/seguridad/modelos/EmpresaModel.ts +25 -0
- package/src/app/seguridad/modelos/EmpresaSeguridadModel.ts +19 -0
- package/src/app/seguridad/modelos/{EntradaComplementoModel.d.ts → EntradaComplementoModel.ts} +9 -6
- package/src/app/seguridad/modelos/EtiquetaModel.ts +4 -0
- package/src/app/seguridad/modelos/Etiquetas.ts +14 -0
- package/src/app/seguridad/modelos/{ForeingWraperModel.d.ts → ForeingWraperModel.ts} +9 -6
- package/src/app/seguridad/modelos/FuenteCampoAtributoModel.ts +21 -0
- package/src/app/seguridad/modelos/{FuenteCampoModel.d.ts → FuenteCampoModel.ts} +20 -16
- package/src/app/seguridad/modelos/FuenteDato.ts +19 -0
- package/src/app/seguridad/modelos/FuenteEntradaModel.ts +9 -0
- package/src/app/seguridad/modelos/{FuenteGeneralModel.d.ts → FuenteGeneralModel.ts} +55 -36
- package/src/app/seguridad/modelos/FuenteLineaServicioModel.ts +19 -0
- package/src/app/seguridad/modelos/FuenteProcesoGeneralModel.ts +14 -0
- package/src/app/seguridad/modelos/{FuenteServicioModel.d.ts → FuenteServicioModel.ts} +61 -47
- package/src/app/seguridad/modelos/FuncionalidadModel.ts +12 -0
- package/src/app/seguridad/modelos/GeneralModel.ts +16 -0
- package/src/app/seguridad/modelos/{GrupoAccesoModel.d.ts → GrupoAccesoModel.ts} +9 -6
- package/src/app/seguridad/modelos/GrupoControlFuncionModel.ts +12 -0
- package/src/app/seguridad/modelos/GrupoFuenteModel.ts +17 -0
- package/src/app/seguridad/modelos/GrupoPermisoModel.ts +16 -0
- package/src/app/seguridad/modelos/{JoinFromModel.d.ts → JoinFromModel.ts} +4 -4
- package/src/app/seguridad/modelos/ListaServicioModel.ts +18 -0
- package/src/app/seguridad/modelos/LlaveForaneaModel.ts +6 -0
- package/src/app/seguridad/modelos/LoginModel.ts +19 -0
- package/src/app/seguridad/modelos/MensajeSistemaModel.ts +10 -0
- package/src/app/seguridad/modelos/{MenuPortalModel.d.ts → MenuPortalModel.ts} +5 -4
- package/src/app/seguridad/modelos/ModulosModel.ts +17 -0
- package/src/app/seguridad/modelos/{ObjetoReporteModel.d.ts → ObjetoReporteModel.ts} +6 -5
- package/src/app/seguridad/modelos/PaginaPortalModel.ts +23 -0
- package/src/app/seguridad/modelos/ParametroComponenteModel.ts +9 -0
- package/src/app/seguridad/modelos/ParametrosGeneralModel.ts +16 -0
- package/src/app/seguridad/modelos/PermisoFuncionModel.ts +11 -0
- package/src/app/seguridad/modelos/PermisocontenidoModel.ts +20 -0
- package/src/app/seguridad/modelos/{PeticionModel.d.ts → PeticionModel.ts} +20 -15
- package/src/app/seguridad/modelos/PreguntaSeguridadModel.ts +9 -0
- package/src/app/seguridad/modelos/PropiedadModel.ts +12 -0
- package/src/app/seguridad/modelos/PublicacionWebModel.ts +29 -0
- package/src/app/seguridad/modelos/PuntoProcesoModel.ts +7 -0
- package/src/app/seguridad/modelos/RecursoPunto.ts +13 -0
- package/src/app/seguridad/modelos/RecursoPuntoModel.ts +13 -0
- package/src/app/seguridad/modelos/ReporteBanda.ts +9 -0
- package/src/app/seguridad/modelos/ReporteColumna.ts +33 -0
- package/src/app/seguridad/modelos/ReporteColumnario.ts +82 -0
- package/src/app/seguridad/modelos/ReporteColumnarioMarcador.ts +31 -0
- package/src/app/seguridad/modelos/{ReporteEntradaModel.d.ts → ReporteEntradaModel.ts} +21 -19
- package/src/app/seguridad/modelos/{ReporteFuenteModel.d.ts → ReporteFuenteModel.ts} +141 -87
- package/src/app/seguridad/modelos/ReporteMarcador.ts +40 -0
- package/src/app/seguridad/modelos/ReporteSoporte.ts +10 -0
- package/src/app/seguridad/modelos/ReporteTabla.ts +14 -0
- package/src/app/seguridad/modelos/RespuestaModel.ts +9 -0
- package/src/app/seguridad/modelos/{RolModel.d.ts → RolModel.ts} +41 -37
- package/src/app/seguridad/modelos/ServidorCorreoModel.ts +31 -0
- package/src/app/seguridad/modelos/SistemaMensajeModel.ts +11 -0
- package/src/app/seguridad/modelos/SitioPortalModel.ts +29 -0
- package/src/app/seguridad/modelos/TablaFromModel.ts +5 -0
- package/src/app/seguridad/modelos/TareasModel.ts +54 -0
- package/src/app/seguridad/modelos/TextoModel.ts +11 -0
- package/src/app/seguridad/modelos/TipoEtiqueta.ts +8 -0
- package/src/app/seguridad/modelos/UnionModel.ts +14 -0
- package/src/app/seguridad/modelos/{UsuarioModel.d.ts → UsuarioModel.ts} +60 -49
- package/src/app/seguridad/modelos/UsuariogrupoModel.ts +27 -0
- package/src/app/seguridad/modelos/aplicacion-propiedad-model.ts +16 -0
- package/src/app/seguridad/modelos/contenidoCorreoModel.ts +13 -0
- package/src/app/shared/componentes/input-helper-seleccion-plantilla/input-helper-seleccion-plantilla.component.html +47 -0
- package/src/app/shared/componentes/input-helper-seleccion-plantilla/input-helper-seleccion-plantilla.component.scss +8 -0
- package/src/app/shared/componentes/input-helper-seleccion-plantilla/input-helper-seleccion-plantilla.component.ts +144 -0
- package/src/app/shared/servicios/cargar-archivos.service.ts +51 -0
- package/src/app/shared/servicios/cargar-mapas.service.ts +43 -0
- package/src/app/shared/servicios/encriptado-basico.service.ts +54 -0
- package/src/app/shared/servicios/encriptador-simetrico.service.ts +29 -0
- package/src/app/shared/servicios/general.service.ts +124 -0
- package/src/app/shared/servicios/parametros-navegacion.service.ts +20 -0
- package/src/app/shared/servicios/plantillas.service.ts +22 -0
- package/src/app/shared/servicios/tarea.service.ts +71 -0
- package/src/app/shared/utilidades/translate-loader.util.ts +44 -0
- package/src/app/webcommon/pages/cargue-plantilla/cargue-plantilla-general/cargue-plantilla-general.component.html +175 -0
- package/src/app/webcommon/pages/cargue-plantilla/cargue-plantilla-general/cargue-plantilla-general.component.scss +78 -0
- package/src/app/webcommon/pages/cargue-plantilla/cargue-plantilla-general/cargue-plantilla-general.component.ts +438 -0
- package/src/app/webcommon/pages/ejecucion-reporte/detalle-campo-reporte/detalle-campo-reporte.component.html +87 -0
- package/src/app/webcommon/pages/ejecucion-reporte/detalle-campo-reporte/detalle-campo-reporte.component.scss +0 -0
- package/src/app/webcommon/pages/ejecucion-reporte/detalle-campo-reporte/detalle-campo-reporte.component.ts +189 -0
- package/src/app/webcommon/pages/ejecucion-reporte/detalle-distribucion-reporte/detalle-distribucion-reporte.component.html +117 -0
- package/src/app/webcommon/pages/ejecucion-reporte/detalle-distribucion-reporte/detalle-distribucion-reporte.component.scss +0 -0
- package/src/app/webcommon/pages/ejecucion-reporte/detalle-distribucion-reporte/detalle-distribucion-reporte.component.ts +87 -0
- package/src/app/webcommon/pages/ejecucion-reporte/detalle-ejecucion-reporte/detalle-ejecucion-reporte.page.html +158 -0
- package/src/app/webcommon/pages/ejecucion-reporte/detalle-ejecucion-reporte/detalle-ejecucion-reporte.page.scss +6 -0
- package/src/app/webcommon/pages/ejecucion-reporte/detalle-ejecucion-reporte/detalle-ejecucion-reporte.page.ts +345 -0
- package/src/app/webcommon/pages/ejecucion-reporte/detalle-entrada-reporte/detalle-entrada-reporte.component.html +131 -0
- package/src/app/webcommon/pages/ejecucion-reporte/detalle-entrada-reporte/detalle-entrada-reporte.component.scss +0 -0
- package/src/app/webcommon/pages/ejecucion-reporte/detalle-entrada-reporte/detalle-entrada-reporte.component.ts +198 -0
- package/src/app/webcommon/pages/ejecucion-reporte/detalle-punto-proceso-reporte/detalle-punto-proceso-reporte.component.html +206 -0
- package/src/app/webcommon/pages/ejecucion-reporte/detalle-punto-proceso-reporte/detalle-punto-proceso-reporte.component.scss +3 -0
- package/src/app/webcommon/pages/ejecucion-reporte/detalle-punto-proceso-reporte/detalle-punto-proceso-reporte.component.ts +328 -0
- package/src/app/webcommon/pages/ejecucion-reporte/detalle-tipo-reporte/detalle-tipo-reporte.component.html +2121 -0
- package/src/app/webcommon/pages/ejecucion-reporte/detalle-tipo-reporte/detalle-tipo-reporte.component.scss +241 -0
- package/src/app/webcommon/pages/ejecucion-reporte/detalle-tipo-reporte/detalle-tipo-reporte.component.ts +1698 -0
- package/src/app/webcommon/pages/ejecucion-reporte/listado-ejecucion-reporte/listado-ejecucion-reporte.page.html +33 -0
- package/src/app/webcommon/pages/ejecucion-reporte/listado-ejecucion-reporte/listado-ejecucion-reporte.page.scss +0 -0
- package/src/app/webcommon/pages/ejecucion-reporte/listado-ejecucion-reporte/listado-ejecucion-reporte.page.ts +96 -0
- package/src/app/webcommon/pages/ejecucion-reporte-externo/listado-ejecucion-reporte-externo/listado-ejecucion-reporte-externo.component.html +56 -0
- package/src/app/webcommon/pages/ejecucion-reporte-externo/listado-ejecucion-reporte-externo/listado-ejecucion-reporte-externo.component.scss +0 -0
- package/src/app/webcommon/pages/ejecucion-reporte-externo/listado-ejecucion-reporte-externo/listado-ejecucion-reporte-externo.component.ts +113 -0
- package/src/app/webcommon/pages/fuente/importar-fuente-con/importar-fuente-con.component.html +394 -0
- package/src/app/webcommon/pages/fuente/importar-fuente-con/importar-fuente-con.component.scss +10 -0
- package/src/app/webcommon/pages/fuente/importar-fuente-con/importar-fuente-con.component.ts +610 -0
- package/src/app/webcommon/pages/fuente/importar-fuente-general/importar-fuente-general.component.html +130 -0
- package/src/app/webcommon/pages/fuente/importar-fuente-general/importar-fuente-general.component.scss +0 -0
- package/src/app/webcommon/pages/fuente/importar-fuente-general/importar-fuente-general.component.ts +172 -0
- package/src/app/webcommon/pages/fuente-reporte/fuente-reporte.component.html +404 -0
- package/src/app/webcommon/pages/fuente-reporte/fuente-reporte.component.scss +5 -0
- package/src/app/webcommon/pages/fuente-reporte/fuente-reporte.component.ts +763 -0
- package/src/app/webcommon/pages/fuenteGeneral/fuente-general-servicio/fuente-general-servicio.component.html +145 -0
- package/src/app/webcommon/pages/fuenteGeneral/fuente-general-servicio/fuente-general-servicio.component.scss +0 -0
- package/src/app/webcommon/pages/fuenteGeneral/fuente-general-servicio/fuente-general-servicio.component.ts +302 -0
- package/src/app/webcommon/pages/fuenteGeneral/listado-fuente-general/listado-fuente-general.page.html +19 -0
- package/src/app/webcommon/pages/fuenteGeneral/listado-fuente-general/listado-fuente-general.page.scss +0 -0
- package/src/app/webcommon/pages/fuenteGeneral/listado-fuente-general/listado-fuente-general.page.ts +88 -0
- package/src/app/webcommon/pages/fuenteGeneral/mantenimiento-fuente-general/mantenimiento-fuente-general.page.html +714 -0
- package/src/app/webcommon/pages/fuenteGeneral/mantenimiento-fuente-general/mantenimiento-fuente-general.page.scss +0 -0
- package/src/app/webcommon/pages/fuenteGeneral/mantenimiento-fuente-general/mantenimiento-fuente-general.page.ts +688 -0
- package/src/app/webcommon/pipes/dashboard.pipe.ts +79 -0
- package/src/app/webcommon/pipes/fuente.pipe.ts +207 -0
- package/src/app/webcommon/pipes/general.pipe.ts +1046 -0
- package/src/app/webcommon/pipes/reporte-columnario.pipe.ts +101 -0
- package/src/app/webcommon/pipes/reporte-fuente.pipe.ts +306 -0
- package/src/app/webcommon/pipes/sara-general.pipe.ts +289 -0
- package/src/app/webcommon/popups/popup-campos-fuente-general/popup-campos-fuente-general.component.html +90 -0
- package/src/app/webcommon/popups/popup-campos-fuente-general/popup-campos-fuente-general.component.scss +0 -0
- package/src/app/webcommon/popups/popup-campos-fuente-general/popup-campos-fuente-general.component.ts +262 -0
- package/src/app/webcommon/popups/popup-convertir-plantillas/popup-convertir-plantillas.component.html +50 -0
- package/src/app/webcommon/popups/popup-convertir-plantillas/popup-convertir-plantillas.component.scss +0 -0
- package/src/app/webcommon/popups/popup-convertir-plantillas/popup-convertir-plantillas.component.ts +135 -0
- package/src/app/webcommon/popups/popup-editor-formula/popup-editor-formula.component.html +44 -0
- package/src/app/webcommon/popups/popup-editor-formula/popup-editor-formula.component.scss +0 -0
- package/src/app/webcommon/popups/popup-editor-formula/popup-editor-formula.component.ts +66 -0
- package/src/app/webcommon/popups/popup-punto-proceso/popup-punto-proceso.component.html +41 -0
- package/src/app/webcommon/popups/popup-punto-proceso/popup-punto-proceso.component.scss +0 -0
- package/src/app/webcommon/popups/popup-punto-proceso/popup-punto-proceso.component.ts +283 -0
- package/src/app/webcommon/popups/popup-recurso/popup-recurso.component.html +179 -0
- package/src/app/webcommon/popups/popup-recurso/popup-recurso.component.scss +3 -0
- package/src/app/webcommon/popups/popup-recurso/popup-recurso.component.ts +266 -0
- package/src/app/webcommon/popups/popup-reporte/popup-reporte.component.html +273 -0
- package/src/app/webcommon/popups/popup-reporte/popup-reporte.component.scss +13 -0
- package/src/app/webcommon/popups/popup-reporte/popup-reporte.component.ts +566 -0
- package/src/app/webcommon/popups/popup-sentencia/popup-sentencia.component.html +10 -0
- package/src/app/webcommon/popups/popup-sentencia/popup-sentencia.component.scss +5 -0
- package/src/app/webcommon/popups/popup-sentencia/popup-sentencia.component.ts +58 -0
- package/src/app/webcommon/popups/popup-tablas-fuente/popup-tablas-fuente.component.html +71 -0
- package/src/app/webcommon/popups/popup-tablas-fuente/popup-tablas-fuente.component.scss +0 -0
- package/src/app/webcommon/popups/popup-tablas-fuente/popup-tablas-fuente.component.ts +154 -0
- package/src/app/webcommon/popups/punto-proceso-comp/punto-proceso-comp.component.html +11 -0
- package/src/app/webcommon/popups/punto-proceso-comp/punto-proceso-comp.component.scss +0 -0
- package/src/app/webcommon/popups/punto-proceso-comp/punto-proceso-comp.component.ts +82 -0
- package/src/app/webcommon/services/carguelinea.service.ts +74 -0
- package/src/app/webcommon/services/dashboard.service.ts +258 -0
- package/src/app/webcommon/services/ejecucionreporte.service.ts +160 -0
- package/src/app/webcommon/services/fechaUtils.service.ts +133 -0
- package/src/app/webcommon/services/fuentegeneral.service.ts +74 -0
- package/src/app/webcommon/services/homologacion.service.ts +49 -0
- package/src/app/webcommon/services/plantillas.service.ts +165 -0
- package/src/app/webcommon/services/reportes.service.ts +133 -0
- package/src/app/webcommon/webcommon.module.ts +11 -0
- package/src/assets/layout/styles/layout/topbar/_topbar_main.scss +4 -4
- package/src/environments/environment.prod.ts +3 -0
- package/src/environments/environment.ts +25 -0
- package/src/favicon.ico +0 -0
- package/src/index.html +14 -0
- package/src/main.ts +12 -0
- package/src/polyfills.ts +53 -0
- package/src/styles/primeng/sass/overrides/_theme_styles.scss +0 -7
- package/src/test.ts +14 -0
- package/tsconfig.app.json +15 -0
- package/tsconfig.json +35 -0
- package/tsconfig.spec.json +18 -0
- package/esm2022/general-library-union.mjs +0 -5
- package/esm2022/public-api.mjs +0 -183
- package/esm2022/src/app/core/componentes/breadcrumb/breadcrumb.component.mjs +0 -40
- package/esm2022/src/app/core/componentes/carga-pantalla-completa/carga-pantalla-completa.component.mjs +0 -28
- package/esm2022/src/app/core/componentes/filtro-general/filtro-general.component.mjs +0 -214
- package/esm2022/src/app/core/componentes/footer/footer.component.mjs +0 -16
- package/esm2022/src/app/core/componentes/formulariodinamico/formulariodinamico.component.mjs +0 -276
- package/esm2022/src/app/core/componentes/formulariodinamico/objetosformulario/Cambio.mjs +0 -11
- package/esm2022/src/app/core/componentes/formulariodinamico/objetosformulario/CampoFormulario.mjs +0 -124
- package/esm2022/src/app/core/componentes/formulariodinamico/objetosformulario/CampoFormularioCons.mjs +0 -73
- package/esm2022/src/app/core/componentes/formulariodinamico/objetosformulario/CampoFormularioNuevo.mjs +0 -59
- package/esm2022/src/app/core/componentes/formulariodinamico/objetosformulario/HashDirective.mjs +0 -21
- package/esm2022/src/app/core/componentes/inicio-component/inicio-component.component.mjs +0 -70
- package/esm2022/src/app/core/componentes/menu/menu.component.mjs +0 -37
- package/esm2022/src/app/core/componentes/tabla-general/tabla-general.component.mjs +0 -93
- package/esm2022/src/app/core/core.module.mjs +0 -23
- package/esm2022/src/app/core/errores/authentication.error.mjs +0 -7
- package/esm2022/src/app/core/modelos/error-response.model.mjs +0 -2
- package/esm2022/src/app/core/modelos/table-column.model.mjs +0 -2
- package/esm2022/src/app/core/modelos/user.model.mjs +0 -7
- package/esm2022/src/app/core/plantilla-general/plantilla-general.template.mjs +0 -230
- package/esm2022/src/app/core/servicios/auth.service.mjs +0 -185
- package/esm2022/src/app/core/servicios/cargar-control-funcionalidad.service.mjs +0 -54
- package/esm2022/src/app/core/servicios/click-posicion.service.mjs +0 -20
- package/esm2022/src/app/core/servicios/data-exporter-table.utils.mjs +0 -64
- package/esm2022/src/app/core/servicios/error-interceptor.service.mjs +0 -214
- package/esm2022/src/app/core/servicios/guardias/auth.guard.mjs +0 -66
- package/esm2022/src/app/core/servicios/guardias/publico.guard.mjs +0 -35
- package/esm2022/src/app/core/servicios/interceptores/loading-interceptor.mjs +0 -37
- package/esm2022/src/app/core/servicios/interceptores/token-interceptor.service.mjs +0 -180
- package/esm2022/src/app/core/servicios/loading.service.mjs +0 -43
- package/esm2022/src/app/core/servicios/menu.service.mjs +0 -146
- package/esm2022/src/app/core/servicios/spinner-service.mjs +0 -22
- package/esm2022/src/app/core/servicios/storage.service.mjs +0 -68
- package/esm2022/src/app/core/servicios/template.service.mjs +0 -99
- package/esm2022/src/app/core/servicios/toast.service.mjs +0 -120
- package/esm2022/src/app/core/servicios/utils.service.mjs +0 -364
- package/esm2022/src/app/core/sharedlib.module.mjs +0 -16
- package/esm2022/src/app/core/utilidades/color.util.mjs +0 -177
- package/esm2022/src/app/layout/api/menuchangeevent.mjs +0 -2
- package/esm2022/src/app/layout/app.breadcrumb.component.mjs +0 -71
- package/esm2022/src/app/layout/app.footer.component.mjs +0 -18
- package/esm2022/src/app/layout/app.layout.component.mjs +0 -188
- package/esm2022/src/app/layout/app.layout.module.mjs +0 -15
- package/esm2022/src/app/layout/app.menu.component.mjs +0 -51
- package/esm2022/src/app/layout/app.menu.service.mjs +0 -24
- package/esm2022/src/app/layout/app.menuitem.component.mjs +0 -296
- package/esm2022/src/app/layout/app.menuprofile.component.mjs +0 -78
- package/esm2022/src/app/layout/app.rightmenu.component.mjs +0 -24
- package/esm2022/src/app/layout/app.sidebar.component.mjs +0 -92
- package/esm2022/src/app/layout/app.topbar.component.mjs +0 -385
- package/esm2022/src/app/layout/service/app.layout.service.mjs +0 -134
- package/esm2022/src/app/publico/pages/login/login.page.mjs +0 -132
- package/esm2022/src/app/publico/pages/not-found/not-found.page.mjs +0 -51
- package/esm2022/src/app/publico/pages/seleccion-rol/seleccion-rol.component.mjs +0 -167
- package/esm2022/src/app/publico/pages/timeout/timeout.page.mjs +0 -20
- package/esm2022/src/app/seguridad/constantes/ConstantesGenerales.mjs +0 -30
- package/esm2022/src/app/seguridad/constantes/ReporteEntradaConstantes.mjs +0 -19
- package/esm2022/src/app/seguridad/modelos/AplicacionModel.mjs +0 -8
- package/esm2022/src/app/seguridad/modelos/ArchivoPortalModel.mjs +0 -14
- package/esm2022/src/app/seguridad/modelos/AtributoPuntoModel.mjs +0 -9
- package/esm2022/src/app/seguridad/modelos/AtributoSSOportalModel.mjs +0 -17
- package/esm2022/src/app/seguridad/modelos/AuditoriaArchivoModel.mjs +0 -11
- package/esm2022/src/app/seguridad/modelos/CargueLineaModel.mjs +0 -13
- package/esm2022/src/app/seguridad/modelos/ColoresRGB.mjs +0 -18
- package/esm2022/src/app/seguridad/modelos/ColumnaFuenteModel.mjs +0 -9
- package/esm2022/src/app/seguridad/modelos/ColumnaWraperModel.mjs +0 -6
- package/esm2022/src/app/seguridad/modelos/ComplementoModel.mjs +0 -7
- package/esm2022/src/app/seguridad/modelos/ComponentePaginaModel.mjs +0 -21
- package/esm2022/src/app/seguridad/modelos/ConexionModel.mjs +0 -14
- package/esm2022/src/app/seguridad/modelos/ContenidoHtmlPortalModel.mjs +0 -21
- package/esm2022/src/app/seguridad/modelos/ControlFuncionModel.mjs +0 -8
- package/esm2022/src/app/seguridad/modelos/CorreoModel.mjs +0 -35
- package/esm2022/src/app/seguridad/modelos/CorreoOrgEmpModModel.mjs +0 -9
- package/esm2022/src/app/seguridad/modelos/CorreoWSModel.mjs +0 -37
- package/esm2022/src/app/seguridad/modelos/CruceRecursoPuntoModel.mjs +0 -14
- package/esm2022/src/app/seguridad/modelos/DatoInicioModel.mjs +0 -6
- package/esm2022/src/app/seguridad/modelos/EjecucionReporteDataModel.mjs +0 -14
- package/esm2022/src/app/seguridad/modelos/EmpresaModel.mjs +0 -25
- package/esm2022/src/app/seguridad/modelos/EmpresaSeguridadModel.mjs +0 -19
- package/esm2022/src/app/seguridad/modelos/EntradaComplementoModel.mjs +0 -7
- package/esm2022/src/app/seguridad/modelos/EtiquetaModel.mjs +0 -5
- package/esm2022/src/app/seguridad/modelos/Etiquetas.mjs +0 -12
- package/esm2022/src/app/seguridad/modelos/ForeingWraperModel.mjs +0 -6
- package/esm2022/src/app/seguridad/modelos/FuenteCampoAtributoModel.mjs +0 -16
- package/esm2022/src/app/seguridad/modelos/FuenteCampoModel.mjs +0 -17
- package/esm2022/src/app/seguridad/modelos/FuenteDato.mjs +0 -19
- package/esm2022/src/app/seguridad/modelos/FuenteEntradaModel.mjs +0 -9
- package/esm2022/src/app/seguridad/modelos/FuenteGeneralModel.mjs +0 -37
- package/esm2022/src/app/seguridad/modelos/FuenteLineaServicioModel.mjs +0 -16
- package/esm2022/src/app/seguridad/modelos/FuenteProcesoGeneralModel.mjs +0 -11
- package/esm2022/src/app/seguridad/modelos/FuenteServicioModel.mjs +0 -51
- package/esm2022/src/app/seguridad/modelos/FuncionalidadModel.mjs +0 -10
- package/esm2022/src/app/seguridad/modelos/GeneralModel.mjs +0 -15
- package/esm2022/src/app/seguridad/modelos/GrupoAccesoModel.mjs +0 -7
- package/esm2022/src/app/seguridad/modelos/GrupoControlFuncionModel.mjs +0 -10
- package/esm2022/src/app/seguridad/modelos/GrupoFuenteModel.mjs +0 -13
- package/esm2022/src/app/seguridad/modelos/GrupoPermisoModel.mjs +0 -14
- package/esm2022/src/app/seguridad/modelos/JoinFromModel.mjs +0 -5
- package/esm2022/src/app/seguridad/modelos/ListaServicioModel.mjs +0 -17
- package/esm2022/src/app/seguridad/modelos/LlaveForaneaModel.mjs +0 -7
- package/esm2022/src/app/seguridad/modelos/LoginModel.mjs +0 -15
- package/esm2022/src/app/seguridad/modelos/MensajeSistemaModel.mjs +0 -8
- package/esm2022/src/app/seguridad/modelos/MenuPortalModel.mjs +0 -5
- package/esm2022/src/app/seguridad/modelos/ModulosModel.mjs +0 -18
- package/esm2022/src/app/seguridad/modelos/ObjetoReporteModel.mjs +0 -6
- package/esm2022/src/app/seguridad/modelos/PaginaPortalModel.mjs +0 -20
- package/esm2022/src/app/seguridad/modelos/ParametroComponenteModel.mjs +0 -9
- package/esm2022/src/app/seguridad/modelos/ParametrosGeneralModel.mjs +0 -15
- package/esm2022/src/app/seguridad/modelos/PermisoFuncionModel.mjs +0 -9
- package/esm2022/src/app/seguridad/modelos/PermisocontenidoModel.mjs +0 -20
- package/esm2022/src/app/seguridad/modelos/PeticionModel.mjs +0 -16
- package/esm2022/src/app/seguridad/modelos/PreguntaSeguridadModel.mjs +0 -7
- package/esm2022/src/app/seguridad/modelos/PropiedadModel.mjs +0 -10
- package/esm2022/src/app/seguridad/modelos/PublicacionWebModel.mjs +0 -27
- package/esm2022/src/app/seguridad/modelos/PuntoProcesoModel.mjs +0 -7
- package/esm2022/src/app/seguridad/modelos/RecursoPunto.mjs +0 -13
- package/esm2022/src/app/seguridad/modelos/RecursoPuntoModel.mjs +0 -13
- package/esm2022/src/app/seguridad/modelos/ReporteBanda.mjs +0 -8
- package/esm2022/src/app/seguridad/modelos/ReporteColumna.mjs +0 -33
- package/esm2022/src/app/seguridad/modelos/ReporteColumnario.mjs +0 -69
- package/esm2022/src/app/seguridad/modelos/ReporteColumnarioMarcador.mjs +0 -24
- package/esm2022/src/app/seguridad/modelos/ReporteEntradaModel.mjs +0 -20
- package/esm2022/src/app/seguridad/modelos/ReporteFuenteModel.mjs +0 -124
- package/esm2022/src/app/seguridad/modelos/ReporteMarcador.mjs +0 -40
- package/esm2022/src/app/seguridad/modelos/ReporteSoporte.mjs +0 -10
- package/esm2022/src/app/seguridad/modelos/ReporteTabla.mjs +0 -13
- package/esm2022/src/app/seguridad/modelos/RespuestaModel.mjs +0 -9
- package/esm2022/src/app/seguridad/modelos/RolModel.mjs +0 -39
- package/esm2022/src/app/seguridad/modelos/ServidorCorreoModel.mjs +0 -28
- package/esm2022/src/app/seguridad/modelos/SistemaMensajeModel.mjs +0 -9
- package/esm2022/src/app/seguridad/modelos/SitioPortalModel.mjs +0 -25
- package/esm2022/src/app/seguridad/modelos/TablaFromModel.mjs +0 -5
- package/esm2022/src/app/seguridad/modelos/TareasModel.mjs +0 -55
- package/esm2022/src/app/seguridad/modelos/TextoModel.mjs +0 -9
- package/esm2022/src/app/seguridad/modelos/TipoEtiqueta.mjs +0 -8
- package/esm2022/src/app/seguridad/modelos/UnionModel.mjs +0 -12
- package/esm2022/src/app/seguridad/modelos/UsuarioModel.mjs +0 -53
- package/esm2022/src/app/seguridad/modelos/UsuariogrupoModel.mjs +0 -24
- package/esm2022/src/app/seguridad/modelos/aplicacion-propiedad-model.mjs +0 -15
- package/esm2022/src/app/seguridad/modelos/contenidoCorreoModel.mjs +0 -10
- package/esm2022/src/app/shared/componentes/input-helper-seleccion-plantilla/input-helper-seleccion-plantilla.component.mjs +0 -154
- package/esm2022/src/app/shared/servicios/cargar-archivos.service.mjs +0 -54
- package/esm2022/src/app/shared/servicios/cargar-mapas.service.mjs +0 -46
- package/esm2022/src/app/shared/servicios/encriptado-basico.service.mjs +0 -53
- package/esm2022/src/app/shared/servicios/general.service.mjs +0 -104
- package/esm2022/src/app/shared/servicios/parametros-navegacion.service.mjs +0 -21
- package/esm2022/src/app/webcommon/pages/cargue-plantilla/cargue-plantilla-general/cargue-plantilla-general.component.mjs +0 -378
- package/esm2022/src/app/webcommon/pages/ejecucion-reporte/detalle-campo-reporte/detalle-campo-reporte.component.mjs +0 -187
- package/esm2022/src/app/webcommon/pages/ejecucion-reporte/detalle-distribucion-reporte/detalle-distribucion-reporte.component.mjs +0 -85
- package/esm2022/src/app/webcommon/pages/ejecucion-reporte/detalle-ejecucion-reporte/detalle-ejecucion-reporte.page.mjs +0 -347
- package/esm2022/src/app/webcommon/pages/ejecucion-reporte/detalle-entrada-reporte/detalle-entrada-reporte.component.mjs +0 -206
- package/esm2022/src/app/webcommon/pages/ejecucion-reporte/detalle-punto-proceso-reporte/detalle-punto-proceso-reporte.component.mjs +0 -327
- package/esm2022/src/app/webcommon/pages/ejecucion-reporte/detalle-tipo-reporte/detalle-tipo-reporte.component.mjs +0 -1590
- package/esm2022/src/app/webcommon/pages/ejecucion-reporte/listado-ejecucion-reporte/listado-ejecucion-reporte.page.mjs +0 -105
- package/esm2022/src/app/webcommon/pages/ejecucion-reporte-externo/listado-ejecucion-reporte-externo/listado-ejecucion-reporte-externo.component.mjs +0 -115
- package/esm2022/src/app/webcommon/pages/fuente/importar-fuente-con/importar-fuente-con.component.mjs +0 -597
- package/esm2022/src/app/webcommon/pages/fuente/importar-fuente-general/importar-fuente-general.component.mjs +0 -177
- package/esm2022/src/app/webcommon/pages/fuente-reporte/fuente-reporte.component.mjs +0 -769
- package/esm2022/src/app/webcommon/pages/fuenteGeneral/fuente-general-servicio/fuente-general-servicio.component.mjs +0 -331
- package/esm2022/src/app/webcommon/pages/fuenteGeneral/listado-fuente-general/listado-fuente-general.page.mjs +0 -95
- package/esm2022/src/app/webcommon/pages/fuenteGeneral/mantenimiento-fuente-general/mantenimiento-fuente-general.page.mjs +0 -675
- package/esm2022/src/app/webcommon/pipes/dashboard.pipe.mjs +0 -86
- package/esm2022/src/app/webcommon/pipes/fuente.pipe.mjs +0 -201
- package/esm2022/src/app/webcommon/pipes/general.pipe.mjs +0 -918
- package/esm2022/src/app/webcommon/pipes/reporte-columnario.pipe.mjs +0 -115
- package/esm2022/src/app/webcommon/pipes/reporte-fuente.pipe.mjs +0 -301
- package/esm2022/src/app/webcommon/popups/popup-campos-fuente-general/popup-campos-fuente-general.component.mjs +0 -267
- package/esm2022/src/app/webcommon/popups/popup-convertir-plantillas/popup-convertir-plantillas.component.mjs +0 -128
- package/esm2022/src/app/webcommon/popups/popup-editor-formula/popup-editor-formula.component.mjs +0 -73
- package/esm2022/src/app/webcommon/popups/popup-punto-proceso/popup-punto-proceso.component.mjs +0 -293
- package/esm2022/src/app/webcommon/popups/popup-recurso/popup-recurso.component.mjs +0 -269
- package/esm2022/src/app/webcommon/popups/popup-reporte/popup-reporte.component.mjs +0 -565
- package/esm2022/src/app/webcommon/popups/popup-sentencia/popup-sentencia.component.mjs +0 -64
- package/esm2022/src/app/webcommon/popups/popup-tablas-fuente/popup-tablas-fuente.component.mjs +0 -162
- package/esm2022/src/app/webcommon/popups/punto-proceso-comp/punto-proceso-comp.component.mjs +0 -89
- package/esm2022/src/app/webcommon/services/carguelinea.service.mjs +0 -69
- package/esm2022/src/app/webcommon/services/dashboard.service.mjs +0 -253
- package/esm2022/src/app/webcommon/services/ejecucionreporte.service.mjs +0 -114
- package/esm2022/src/app/webcommon/services/fechaUtils.service.mjs +0 -102
- package/esm2022/src/app/webcommon/services/fuentegeneral.service.mjs +0 -68
- package/esm2022/src/app/webcommon/services/homologacion.service.mjs +0 -50
- package/esm2022/src/app/webcommon/services/plantillas.service.mjs +0 -129
- package/esm2022/src/app/webcommon/services/reportes.service.mjs +0 -95
- package/esm2022/src/app/webcommon/webcommon.module.mjs +0 -15
- package/esm2022/src/environments/environment.mjs +0 -24
- package/fesm2022/general-library-union.mjs +0 -16177
- package/fesm2022/general-library-union.mjs.map +0 -1
- package/index.d.ts +0 -5
- package/src/app/core/componentes/breadcrumb/breadcrumb.component.d.ts +0 -18
- package/src/app/core/componentes/carga-pantalla-completa/carga-pantalla-completa.component.d.ts +0 -14
- package/src/app/core/componentes/filtro-general/filtro-general.component.d.ts +0 -36
- package/src/app/core/componentes/footer/footer.component.d.ts +0 -9
- package/src/app/core/componentes/formulariodinamico/formulariodinamico.component.d.ts +0 -50
- package/src/app/core/componentes/formulariodinamico/objetosformulario/CampoFormulario.d.ts +0 -44
- package/src/app/core/componentes/formulariodinamico/objetosformulario/CampoFormularioCons.d.ts +0 -45
- package/src/app/core/componentes/formulariodinamico/objetosformulario/CampoFormularioNuevo.d.ts +0 -33
- package/src/app/core/componentes/formulariodinamico/objetosformulario/HashDirective.d.ts +0 -9
- package/src/app/core/componentes/inicio-component/inicio-component.component.d.ts +0 -26
- package/src/app/core/componentes/menu/menu.component.d.ts +0 -16
- package/src/app/core/componentes/tabla-general/tabla-general.component.d.ts +0 -32
- package/src/app/core/core.module.d.ts +0 -8
- package/src/app/core/errores/authentication.error.d.ts +0 -3
- package/src/app/core/modelos/error-response.model.d.ts +0 -9
- package/src/app/core/modelos/table-column.model.d.ts +0 -12
- package/src/app/core/modelos/user.model.d.ts +0 -6
- package/src/app/core/plantilla-general/plantilla-general.template.d.ts +0 -89
- package/src/app/core/servicios/auth.service.d.ts +0 -52
- package/src/app/core/servicios/cargar-control-funcionalidad.service.d.ts +0 -19
- package/src/app/core/servicios/click-posicion.service.d.ts +0 -11
- package/src/app/core/servicios/data-exporter-table.utils.d.ts +0 -11
- package/src/app/core/servicios/error-interceptor.service.d.ts +0 -41
- package/src/app/core/servicios/guardias/auth.guard.d.ts +0 -17
- package/src/app/core/servicios/guardias/publico.guard.d.ts +0 -13
- package/src/app/core/servicios/interceptores/loading-interceptor.d.ts +0 -11
- package/src/app/core/servicios/interceptores/token-interceptor.service.d.ts +0 -26
- package/src/app/core/servicios/loading.service.d.ts +0 -22
- package/src/app/core/servicios/menu.service.d.ts +0 -35
- package/src/app/core/servicios/spinner-service.d.ts +0 -9
- package/src/app/core/servicios/storage.service.d.ts +0 -37
- package/src/app/core/servicios/template.service.d.ts +0 -20
- package/src/app/core/servicios/toast.service.d.ts +0 -48
- package/src/app/core/servicios/utils.service.d.ts +0 -46
- package/src/app/core/sharedlib.module.d.ts +0 -6
- package/src/app/core/utilidades/color.util.d.ts +0 -70
- package/src/app/layout/app.breadcrumb.component.d.ts +0 -28
- package/src/app/layout/app.footer.component.d.ts +0 -8
- package/src/app/layout/app.layout.component.d.ts +0 -39
- package/src/app/layout/app.layout.module.d.ts +0 -6
- package/src/app/layout/app.menu.component.d.ts +0 -19
- package/src/app/layout/app.menu.service.d.ts +0 -12
- package/src/app/layout/app.menuitem.component.d.ts +0 -41
- package/src/app/layout/app.menuprofile.component.d.ts +0 -18
- package/src/app/layout/app.rightmenu.component.d.ts +0 -10
- package/src/app/layout/app.sidebar.component.d.ts +0 -34
- package/src/app/layout/app.topbar.component.d.ts +0 -86
- package/src/app/layout/service/app.layout.service.d.ts +0 -57
- package/src/app/publico/pages/login/login.page.d.ts +0 -40
- package/src/app/publico/pages/not-found/not-found.page.d.ts +0 -17
- package/src/app/publico/pages/seleccion-rol/seleccion-rol.component.d.ts +0 -41
- package/src/app/publico/pages/timeout/timeout.page.d.ts +0 -10
- package/src/app/seguridad/constantes/ConstantesGenerales.d.ts +0 -25
- package/src/app/seguridad/constantes/ReporteEntradaConstantes.d.ts +0 -7
- package/src/app/seguridad/modelos/AplicacionModel.d.ts +0 -7
- package/src/app/seguridad/modelos/ArchivoPortalModel.d.ts +0 -13
- package/src/app/seguridad/modelos/AtributoPuntoModel.d.ts +0 -8
- package/src/app/seguridad/modelos/AtributoSSOportalModel.d.ts +0 -16
- package/src/app/seguridad/modelos/CargueLineaModel.d.ts +0 -12
- package/src/app/seguridad/modelos/ColoresRGB.d.ts +0 -17
- package/src/app/seguridad/modelos/ColumnaFuenteModel.d.ts +0 -8
- package/src/app/seguridad/modelos/ComplementoModel.d.ts +0 -6
- package/src/app/seguridad/modelos/ComponentePaginaModel.d.ts +0 -20
- package/src/app/seguridad/modelos/ConexionModel.d.ts +0 -13
- package/src/app/seguridad/modelos/ControlFuncionModel.d.ts +0 -7
- package/src/app/seguridad/modelos/CorreoModel.d.ts +0 -31
- package/src/app/seguridad/modelos/CorreoWSModel.d.ts +0 -33
- package/src/app/seguridad/modelos/CruceRecursoPuntoModel.d.ts +0 -13
- package/src/app/seguridad/modelos/EmpresaModel.d.ts +0 -23
- package/src/app/seguridad/modelos/EmpresaSeguridadModel.d.ts +0 -18
- package/src/app/seguridad/modelos/EtiquetaModel.d.ts +0 -4
- package/src/app/seguridad/modelos/Etiquetas.d.ts +0 -10
- package/src/app/seguridad/modelos/FuenteCampoAtributoModel.d.ts +0 -15
- package/src/app/seguridad/modelos/FuenteDato.d.ts +0 -18
- package/src/app/seguridad/modelos/FuenteEntradaModel.d.ts +0 -8
- package/src/app/seguridad/modelos/FuenteLineaServicioModel.d.ts +0 -16
- package/src/app/seguridad/modelos/FuenteProcesoGeneralModel.d.ts +0 -10
- package/src/app/seguridad/modelos/FuncionalidadModel.d.ts +0 -8
- package/src/app/seguridad/modelos/GeneralModel.d.ts +0 -8
- package/src/app/seguridad/modelos/GrupoControlFuncionModel.d.ts +0 -9
- package/src/app/seguridad/modelos/GrupoFuenteModel.d.ts +0 -13
- package/src/app/seguridad/modelos/GrupoPermisoModel.d.ts +0 -13
- package/src/app/seguridad/modelos/ListaServicioModel.d.ts +0 -16
- package/src/app/seguridad/modelos/LlaveForaneaModel.d.ts +0 -6
- package/src/app/seguridad/modelos/LoginModel.d.ts +0 -17
- package/src/app/seguridad/modelos/MensajeSistemaModel.d.ts +0 -7
- package/src/app/seguridad/modelos/ModulosModel.d.ts +0 -14
- package/src/app/seguridad/modelos/PaginaPortalModel.d.ts +0 -19
- package/src/app/seguridad/modelos/ParametroComponenteModel.d.ts +0 -8
- package/src/app/seguridad/modelos/ParametrosGeneralModel.d.ts +0 -8
- package/src/app/seguridad/modelos/PermisoFuncionModel.d.ts +0 -8
- package/src/app/seguridad/modelos/PermisocontenidoModel.d.ts +0 -18
- package/src/app/seguridad/modelos/PreguntaSeguridadModel.d.ts +0 -6
- package/src/app/seguridad/modelos/PropiedadModel.d.ts +0 -9
- package/src/app/seguridad/modelos/PublicacionWebModel.d.ts +0 -25
- package/src/app/seguridad/modelos/PuntoProcesoModel.d.ts +0 -6
- package/src/app/seguridad/modelos/RecursoPunto.d.ts +0 -12
- package/src/app/seguridad/modelos/RecursoPuntoModel.d.ts +0 -12
- package/src/app/seguridad/modelos/ReporteBanda.d.ts +0 -7
- package/src/app/seguridad/modelos/ReporteColumna.d.ts +0 -32
- package/src/app/seguridad/modelos/ReporteColumnario.d.ts +0 -68
- package/src/app/seguridad/modelos/ReporteColumnarioMarcador.d.ts +0 -23
- package/src/app/seguridad/modelos/ReporteMarcador.d.ts +0 -39
- package/src/app/seguridad/modelos/ReporteSoporte.d.ts +0 -9
- package/src/app/seguridad/modelos/ReporteTabla.d.ts +0 -12
- package/src/app/seguridad/modelos/RespuestaModel.d.ts +0 -8
- package/src/app/seguridad/modelos/ServidorCorreoModel.d.ts +0 -25
- package/src/app/seguridad/modelos/SistemaMensajeModel.d.ts +0 -8
- package/src/app/seguridad/modelos/SitioPortalModel.d.ts +0 -24
- package/src/app/seguridad/modelos/TablaFromModel.d.ts +0 -4
- package/src/app/seguridad/modelos/TareasModel.d.ts +0 -50
- package/src/app/seguridad/modelos/TextoModel.d.ts +0 -8
- package/src/app/seguridad/modelos/TipoEtiqueta.d.ts +0 -7
- package/src/app/seguridad/modelos/UnionModel.d.ts +0 -11
- package/src/app/seguridad/modelos/UsuariogrupoModel.d.ts +0 -22
- package/src/app/seguridad/modelos/aplicacion-propiedad-model.d.ts +0 -13
- package/src/app/seguridad/modelos/contenidoCorreoModel.d.ts +0 -9
- package/src/app/shared/componentes/input-helper-seleccion-plantilla/input-helper-seleccion-plantilla.component.d.ts +0 -47
- package/src/app/shared/servicios/cargar-archivos.service.d.ts +0 -15
- package/src/app/shared/servicios/cargar-mapas.service.d.ts +0 -18
- package/src/app/shared/servicios/encriptado-basico.service.d.ts +0 -10
- package/src/app/shared/servicios/general.service.d.ts +0 -24
- package/src/app/shared/servicios/parametros-navegacion.service.d.ts +0 -9
- package/src/app/webcommon/pages/cargue-plantilla/cargue-plantilla-general/cargue-plantilla-general.component.d.ts +0 -79
- package/src/app/webcommon/pages/ejecucion-reporte/detalle-campo-reporte/detalle-campo-reporte.component.d.ts +0 -79
- package/src/app/webcommon/pages/ejecucion-reporte/detalle-distribucion-reporte/detalle-distribucion-reporte.component.d.ts +0 -29
- package/src/app/webcommon/pages/ejecucion-reporte/detalle-ejecucion-reporte/detalle-ejecucion-reporte.page.d.ts +0 -69
- package/src/app/webcommon/pages/ejecucion-reporte/detalle-entrada-reporte/detalle-entrada-reporte.component.d.ts +0 -51
- package/src/app/webcommon/pages/ejecucion-reporte/detalle-punto-proceso-reporte/detalle-punto-proceso-reporte.component.d.ts +0 -77
- package/src/app/webcommon/pages/ejecucion-reporte/detalle-tipo-reporte/detalle-tipo-reporte.component.d.ts +0 -279
- package/src/app/webcommon/pages/ejecucion-reporte/listado-ejecucion-reporte/listado-ejecucion-reporte.page.d.ts +0 -42
- package/src/app/webcommon/pages/ejecucion-reporte-externo/listado-ejecucion-reporte-externo/listado-ejecucion-reporte-externo.component.d.ts +0 -36
- package/src/app/webcommon/pages/fuente/importar-fuente-con/importar-fuente-con.component.d.ts +0 -146
- package/src/app/webcommon/pages/fuente/importar-fuente-general/importar-fuente-general.component.d.ts +0 -49
- package/src/app/webcommon/pages/fuente-reporte/fuente-reporte.component.d.ts +0 -132
- package/src/app/webcommon/pages/fuenteGeneral/fuente-general-servicio/fuente-general-servicio.component.d.ts +0 -64
- package/src/app/webcommon/pages/fuenteGeneral/listado-fuente-general/listado-fuente-general.page.d.ts +0 -33
- package/src/app/webcommon/pages/fuenteGeneral/mantenimiento-fuente-general/mantenimiento-fuente-general.page.d.ts +0 -149
- package/src/app/webcommon/pipes/dashboard.pipe.d.ts +0 -48
- package/src/app/webcommon/pipes/fuente.pipe.d.ts +0 -136
- package/src/app/webcommon/pipes/general.pipe.d.ts +0 -647
- package/src/app/webcommon/pipes/reporte-columnario.pipe.d.ts +0 -59
- package/src/app/webcommon/pipes/reporte-fuente.pipe.d.ts +0 -193
- package/src/app/webcommon/popups/popup-campos-fuente-general/popup-campos-fuente-general.component.d.ts +0 -59
- package/src/app/webcommon/popups/popup-convertir-plantillas/popup-convertir-plantillas.component.d.ts +0 -27
- package/src/app/webcommon/popups/popup-editor-formula/popup-editor-formula.component.d.ts +0 -21
- package/src/app/webcommon/popups/popup-punto-proceso/popup-punto-proceso.component.d.ts +0 -64
- package/src/app/webcommon/popups/popup-recurso/popup-recurso.component.d.ts +0 -63
- package/src/app/webcommon/popups/popup-reporte/popup-reporte.component.d.ts +0 -105
- package/src/app/webcommon/popups/popup-sentencia/popup-sentencia.component.d.ts +0 -21
- package/src/app/webcommon/popups/popup-tablas-fuente/popup-tablas-fuente.component.d.ts +0 -42
- package/src/app/webcommon/popups/punto-proceso-comp/punto-proceso-comp.component.d.ts +0 -30
- package/src/app/webcommon/services/carguelinea.service.d.ts +0 -19
- package/src/app/webcommon/services/dashboard.service.d.ts +0 -27
- package/src/app/webcommon/services/ejecucionreporte.service.d.ts +0 -34
- package/src/app/webcommon/services/fechaUtils.service.d.ts +0 -31
- package/src/app/webcommon/services/fuentegeneral.service.d.ts +0 -24
- package/src/app/webcommon/services/homologacion.service.d.ts +0 -17
- package/src/app/webcommon/services/plantillas.service.d.ts +0 -26
- package/src/app/webcommon/services/reportes.service.d.ts +0 -35
- package/src/app/webcommon/webcommon.module.d.ts +0 -6
- package/src/environments/environment.d.ts +0 -7
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
<p-dialog id='popupReImprimirRegresion' header="{{'campos' | translate}}" [(visible)]="mostrar"
|
|
2
|
+
[breakpoints]="{'960px': '75vw', '640px': '100vw'}" [style]="{width: '50vw'}" (onHide)="ocultar()" [modal]="true">
|
|
3
|
+
<div *ngIf="cargando">
|
|
4
|
+
<form [formGroup]="formulario">
|
|
5
|
+
<div class="field col-12 md:col-12 lg:col-12">
|
|
6
|
+
|
|
7
|
+
<div class="p-fluid grid">
|
|
8
|
+
<div class="field col-3 md:col-3 lg:col-12">
|
|
9
|
+
<span class="p-float-label">
|
|
10
|
+
<input class="w-full" pInputText autofocus type="text" formControlName="descripcion" required/>
|
|
11
|
+
<label for="descripcion">{{'descripcion' | translate}} * </label>
|
|
12
|
+
</span>
|
|
13
|
+
</div>
|
|
14
|
+
<div class="field col-3 md:col-3 lg:col-3">
|
|
15
|
+
<span class="p-float-label">
|
|
16
|
+
<p-dropdown [options]="fuentePipe.LISTA_TIPO_DATO" appendTo="body" [autoZIndex]="false" formControlName="tipoDato"
|
|
17
|
+
[autoDisplayFirst]="false" optionValue="codigo" optionLabel="nombre" [showClear]="false" (onChange)="actionCambioTipo($event)">
|
|
18
|
+
</p-dropdown>
|
|
19
|
+
<label for="descripcion">{{'tipo' | translate}} de {{'dato' |
|
|
20
|
+
translate}}*</label>
|
|
21
|
+
</span>
|
|
22
|
+
</div>
|
|
23
|
+
<div class="field col-3 md:col-3 lg:col-3" *ngIf="rompimiento || agrupamiento">
|
|
24
|
+
<span class="p-float-label">
|
|
25
|
+
<input class="w-full" pInputText autofocus type="text" formControlName="tipoInformacion" required
|
|
26
|
+
maxlength="10" />
|
|
27
|
+
<label for="tipoInformacion">{{'tipo' | translate}} {{'informacion' |
|
|
28
|
+
translate}} * </label>
|
|
29
|
+
</span>
|
|
30
|
+
</div>
|
|
31
|
+
<div class="field col-3 md:col-3 lg:col-3" *ngIf="conSeparador">
|
|
32
|
+
<span class="p-float-label">
|
|
33
|
+
<input class="w-full" pInputText autofocus formControlName="columna" required
|
|
34
|
+
onkeypress='return event.charCode >= 48 && event.charCode <= 57' type="text" maxlength="2" />
|
|
35
|
+
<label for="descripcion">{{'columna' | translate}} * </label>
|
|
36
|
+
</span>
|
|
37
|
+
</div>
|
|
38
|
+
<div class="field col-3 md:col-3 lg:col-3">
|
|
39
|
+
<span class="p-float-label">
|
|
40
|
+
<input class="w-full" pInputText autofocus formControlName="posicionInicial"
|
|
41
|
+
onkeypress='return event.charCode >= 48 && event.charCode <= 57' type="text" maxlength="4" />
|
|
42
|
+
<label for="descripcion">{{'posicioninicial' | translate}}</label>
|
|
43
|
+
</span>
|
|
44
|
+
</div>
|
|
45
|
+
<div class="field col-3 md:col-3 lg:col-3">
|
|
46
|
+
<span class="p-float-label">
|
|
47
|
+
<input class="w-full" pInputText autofocus formControlName="posicionFinal" (onchange)="this.formulario.get('posicionFinal').updateValueAndValidity()"
|
|
48
|
+
onkeypress='return event.charCode >= 48 && event.charCode <= 57' type="text" maxlength="4" />
|
|
49
|
+
<label for="descripcion">{{'posicionfinal' | translate}}</label>
|
|
50
|
+
</span>
|
|
51
|
+
</div>
|
|
52
|
+
<div class="field col-3 md:col-3 lg:col-3" *ngIf="formulario.get('tipoDato').value == 'F'">
|
|
53
|
+
<span class="p-float-label">
|
|
54
|
+
<input class="w-full" pInputText autofocus type="text" formControlName="formato"
|
|
55
|
+
maxlength="50" />
|
|
56
|
+
<label for="descripcion">{{'formato' | translate}} *</label>
|
|
57
|
+
</span>
|
|
58
|
+
</div>
|
|
59
|
+
<div class="field col-3 md:col-3 lg:col-3" *ngIf="formulario.get('tipoDato').value == 'N'">
|
|
60
|
+
<span class="p-float-label">
|
|
61
|
+
<p-dropdown [options]="fuentePipe.LISTA_FORMATOS" formControlName="formato" appendTo="body" [autoZIndex]="false"
|
|
62
|
+
[autoDisplayFirst]="true" optionValue="codigo" optionLabel="nombre" [showClear]="false">
|
|
63
|
+
</p-dropdown>
|
|
64
|
+
<label for="descripcion">{{'formato' | translate}}
|
|
65
|
+
</label>
|
|
66
|
+
</span>
|
|
67
|
+
</div>
|
|
68
|
+
<div class="field col-3 md:col-3 lg:col-3" *ngIf="formulario.get('tipoDato').value == this.fuentePipe.DECIMAL || formulario.get('tipoDato').value == this.fuentePipe.NUMERO || formulario.get('tipoDato').value == this.fuentePipe.TEXTO || formulario.get('tipoDato').value == this.fuentePipe.FECHA">
|
|
69
|
+
<span class="p-float-label">
|
|
70
|
+
<p-dropdown [options]="homologaciones" formControlName="homologacion" appendTo="body" [autoZIndex]="false"
|
|
71
|
+
[autoDisplayFirst]="false" optionValue="key" optionLabel="label" [showClear]="true">
|
|
72
|
+
</p-dropdown>
|
|
73
|
+
<label for="descripcion">{{'homologacion' | translate}} </label>
|
|
74
|
+
</span>
|
|
75
|
+
</div>
|
|
76
|
+
</div>
|
|
77
|
+
<div class="flex justify-content-end align-content-center mt-3">
|
|
78
|
+
<button pButton pRipple class="ml-2 p-button-raised" (click)="guardar()"
|
|
79
|
+
icon="glyphicons glyphicons-refresh" label="Actualizar" *ngIf="!isNew"></button>
|
|
80
|
+
<button pButton pRipple class="ml-2 p-button-raised" (click)="guardar()"
|
|
81
|
+
icon="glyphicons glyphicons-floppy-save" label="Guardar" *ngIf="isNew"></button>
|
|
82
|
+
<button pButton pRipple class="ml-2 p-button-outlined"
|
|
83
|
+
(click)="eliminar($event,formulario.value)" icon="glyphicons glyphicons-bin" label="Eliminar"
|
|
84
|
+
*ngIf="!isNew"></button>
|
|
85
|
+
</div>
|
|
86
|
+
|
|
87
|
+
</div>
|
|
88
|
+
</form>
|
|
89
|
+
</div>
|
|
90
|
+
</p-dialog>
|
|
File without changes
|
|
@@ -0,0 +1,262 @@
|
|
|
1
|
+
import { Component, OnInit, Input, Output, EventEmitter, ViewChild } from '@angular/core';
|
|
2
|
+
import { FuentePipe } from '../../pipes/fuente.pipe';
|
|
3
|
+
import { ConfirmationService, MessageService } from 'primeng/api';
|
|
4
|
+
import { AbstractControl, AsyncValidatorFn, FormBuilder, FormControl, FormGroup, FormsModule, ReactiveFormsModule, ValidationErrors, Validators } from '@angular/forms';
|
|
5
|
+
import { Observable, of } from 'rxjs';
|
|
6
|
+
import { cargarmapasGlobal } from '../../../shared/servicios/cargar-mapas.service';
|
|
7
|
+
import { GeneralService } from '../../../shared/servicios/general.service';
|
|
8
|
+
import { FuenteCampoModel } from '../../../seguridad/modelos/FuenteCampoModel';
|
|
9
|
+
import { GeneralPipe } from '../../pipes/general.pipe';
|
|
10
|
+
import { FuenteGeneralModel } from '../../../seguridad/modelos/FuenteGeneralModel';
|
|
11
|
+
import {GeneralModel} from '../../../seguridad/modelos/GeneralModel';
|
|
12
|
+
import { ToastService } from '../../../core/servicios/toast.service';
|
|
13
|
+
import { UtilsService } from '../../../core/servicios/utils.service';
|
|
14
|
+
import { TranslateModule } from '@ngx-translate/core';
|
|
15
|
+
import { CommonModule } from '@angular/common';
|
|
16
|
+
import { DialogModule } from 'primeng/dialog';
|
|
17
|
+
import { DropdownModule } from 'primeng/dropdown';
|
|
18
|
+
import { FiltroGeneralComponent } from '../../../core/componentes/filtro-general/filtro-general.component';
|
|
19
|
+
import { TablaGeneralComponent } from '../../../core/componentes/tabla-general/tabla-general.component';
|
|
20
|
+
import { TableModule } from 'primeng/table';
|
|
21
|
+
import { AccordionModule } from 'primeng/accordion';
|
|
22
|
+
import { InputTextareaModule } from 'primeng/inputtextarea';
|
|
23
|
+
import { ConfirmPopupModule } from 'primeng/confirmpopup';
|
|
24
|
+
import { InputTextModule } from 'primeng/inputtext';
|
|
25
|
+
import { ButtonModule } from 'primeng/button';
|
|
26
|
+
|
|
27
|
+
@Component({
|
|
28
|
+
selector: 'app-popup-campos-fuente-general',
|
|
29
|
+
imports: [ButtonModule,TranslateModule, CommonModule, DialogModule, ReactiveFormsModule, DropdownModule,TranslateModule,InputTextModule, CommonModule, ReactiveFormsModule, DropdownModule, ConfirmPopupModule, InputTextareaModule, AccordionModule, TableModule, FormsModule, FiltroGeneralComponent, TablaGeneralComponent,],
|
|
30
|
+
standalone: true,
|
|
31
|
+
providers: [MessageService],
|
|
32
|
+
templateUrl: './popup-campos-fuente-general.component.html',
|
|
33
|
+
styleUrls: ['./popup-campos-fuente-general.component.scss']
|
|
34
|
+
})
|
|
35
|
+
export class PopupCamposFuenteGeneralComponent implements OnInit {
|
|
36
|
+
@Input()
|
|
37
|
+
mostrar: boolean;
|
|
38
|
+
@Input()
|
|
39
|
+
campo: FuenteCampoModel;
|
|
40
|
+
@Input()
|
|
41
|
+
fuenteDTO: FuenteGeneralModel;
|
|
42
|
+
@Output()
|
|
43
|
+
regresar = new EventEmitter();
|
|
44
|
+
@Output()
|
|
45
|
+
regresarNuevo = new EventEmitter();
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
isNew: boolean = true;
|
|
50
|
+
homologaciones;
|
|
51
|
+
fuenteCampoDTO: FuenteCampoModel = new FuenteCampoModel()
|
|
52
|
+
cargando: boolean;
|
|
53
|
+
|
|
54
|
+
formulario: FormGroup;
|
|
55
|
+
|
|
56
|
+
/* BOOLEANOS */
|
|
57
|
+
public formato: boolean = false;
|
|
58
|
+
public formatoNumero: boolean = false;
|
|
59
|
+
public serviciosMotor: boolean = false;
|
|
60
|
+
public unicoRegistro: boolean = false;
|
|
61
|
+
public agrupamiento: boolean = false;
|
|
62
|
+
public rompimiento: boolean = false;
|
|
63
|
+
public mostrarHoja: boolean = false;
|
|
64
|
+
public sinSeparador: boolean = false;
|
|
65
|
+
public conSeparador: boolean = false;
|
|
66
|
+
public servicioWeb: boolean = false;
|
|
67
|
+
public nuevoRCampo: boolean = false;
|
|
68
|
+
public homologacion: boolean = false;
|
|
69
|
+
mensaje: string;
|
|
70
|
+
|
|
71
|
+
constructor(public fuentePipe: FuentePipe, public generalPipe: GeneralPipe, private cargarmapasGlobal: cargarmapasGlobal, private notificacionesBusService: ToastService, private generalService: GeneralService,
|
|
72
|
+
private us: UtilsService, private confirmationService: ConfirmationService, private formBuilder: FormBuilder) { }
|
|
73
|
+
|
|
74
|
+
ngOnInit(): void {
|
|
75
|
+
this.cargar();
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
async cargar() {
|
|
79
|
+
if (this.campo.llaveTabla != null) {
|
|
80
|
+
this.isNew = false;
|
|
81
|
+
this.fuenteCampoDTO = this.campo;
|
|
82
|
+
}
|
|
83
|
+
await this.cargaBooleanos();
|
|
84
|
+
if (this.homologacion) {
|
|
85
|
+
this.homologaciones = await this.cargarmapasGlobal.cargarSelectItemString('llaveTabla', 'descripcion', new GeneralModel('HomologacionGeneralDTO', null, false, { estado: this.generalPipe.ESTADO_ACTIVO }));
|
|
86
|
+
}
|
|
87
|
+
this.formulario = this.formBuilder.group({
|
|
88
|
+
llaveTabla: new FormControl((this.fuenteCampoDTO?.llaveTabla) ? this.fuenteCampoDTO?.llaveTabla : this.us.generarLlave()),
|
|
89
|
+
fuente: new FormControl(this.fuenteCampoDTO.fuente ? this.fuenteCampoDTO.fuente : this.fuenteDTO.llaveTabla),
|
|
90
|
+
origen: new FormControl(this.fuenteCampoDTO.origen ? this.fuenteCampoDTO.origen : 'C'),
|
|
91
|
+
descripcion: new FormControl(this.fuenteCampoDTO.descripcion, [Validators.required]),
|
|
92
|
+
tipoDato: new FormControl(this.fuenteCampoDTO?.tipoDato, [Validators.required]),
|
|
93
|
+
tipoInformacion: new FormControl(this.fuenteCampoDTO.tipoInformacion),
|
|
94
|
+
columna: new FormControl(this.fuenteCampoDTO?.columna),
|
|
95
|
+
posicionInicial: new FormControl(this.fuenteCampoDTO.posicionInicial, ),
|
|
96
|
+
posicionFinal: new FormControl(this.fuenteCampoDTO.posicionFinal),
|
|
97
|
+
formato: new FormControl(this.fuenteCampoDTO.formato,),
|
|
98
|
+
homologacion: new FormControl(this.fuenteCampoDTO.homologacion),
|
|
99
|
+
});
|
|
100
|
+
if (this.rompimiento || this.agrupamiento) {
|
|
101
|
+
this.formulario.get('tipoInformacion').addValidators([Validators.required]);
|
|
102
|
+
this.formulario.get('tipoInformacion').updateValueAndValidity()
|
|
103
|
+
}
|
|
104
|
+
if (this.conSeparador) {
|
|
105
|
+
this.formulario.get('columna').addValidators([Validators.required]);
|
|
106
|
+
this.formulario.get('columna').updateValueAndValidity()
|
|
107
|
+
}
|
|
108
|
+
this.cargando = true
|
|
109
|
+
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
async actionCambioTipo(event) {
|
|
113
|
+
if (event.value == 'F') {
|
|
114
|
+
this.formulario.get('formato').addValidators([Validators.required]);
|
|
115
|
+
} else {
|
|
116
|
+
this.formulario.get('formato').clearValidators();
|
|
117
|
+
}
|
|
118
|
+
if (this.formulario.get('tipoDato').value == this.fuentePipe.DECIMAL || this.formulario.get('tipoDato').value == this.fuentePipe.NUMERO || this.formulario.get('tipoDato').value == this.fuentePipe.TEXTO || this.formulario.get('tipoDato').value == this.fuentePipe.FECHA) {
|
|
119
|
+
this.homologaciones = await this.cargarmapasGlobal.cargarSelectItemString('llaveTabla', 'descripcion', new GeneralModel('HomologacionGeneralDTO', null, false, { estado: this.generalPipe.ESTADO_ACTIVO }));
|
|
120
|
+
} else {
|
|
121
|
+
|
|
122
|
+
}
|
|
123
|
+
this.formulario.get('formato').updateValueAndValidity()
|
|
124
|
+
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
async guardar() {
|
|
128
|
+
try {
|
|
129
|
+
console.log(this.formulario);
|
|
130
|
+
let err: ValidationErrors = { 'mayorQue': true };
|
|
131
|
+
this.formulario.get('posicionFinal').clearValidators();
|
|
132
|
+
this.formulario.get('posicionFinal').updateValueAndValidity();
|
|
133
|
+
if (this.formulario.valid ) {
|
|
134
|
+
if(( (this.formulario.get('posicionFinal').value != null && this.formulario.get('posicionFinal').value != '') && (this.formulario.get('posicionInicial').value != null && this.formulario.get('posicionInicial').value != '')) &&
|
|
135
|
+
(this.formulario.get('posicionFinal').value <= this.formulario.get('posicionInicial').value)){
|
|
136
|
+
this.mensaje = 'El valor no debe ser mayor a ' + this.formulario.get('posicionInicial').value
|
|
137
|
+
this.formulario.get('posicionFinal').setErrors(err);
|
|
138
|
+
this.validator();
|
|
139
|
+
return
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
if (this.isNew) {
|
|
143
|
+
let data = await this.generalService.crearRegistro(new GeneralModel('FuenteCampoDTO', null, false, this.formulario.getRawValue())).toPromise();
|
|
144
|
+
this.notificacionesBusService.showInfo(this.generalPipe.MENSAJE_GUARDAR);
|
|
145
|
+
this.regresarNuevo.emit(data)
|
|
146
|
+
await this.ocultar();
|
|
147
|
+
return;
|
|
148
|
+
}
|
|
149
|
+
if ((await this.generalService.update(new GeneralModel('FuenteCampoDTO', null, false, this.formulario.getRawValue())).toPromise()) <= 0) {
|
|
150
|
+
this.notificacionesBusService.showInfo('Registro NO Actualizado');
|
|
151
|
+
return;
|
|
152
|
+
}
|
|
153
|
+
this.notificacionesBusService.showInfo('Registro Actualizado');
|
|
154
|
+
this.ocultar();
|
|
155
|
+
}
|
|
156
|
+
else {
|
|
157
|
+
this.validator();
|
|
158
|
+
}
|
|
159
|
+
} catch (error) {
|
|
160
|
+
console.log(JSON.stringify(error));
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
validator(){
|
|
165
|
+
let comodinValidador: boolean = false;
|
|
166
|
+
Object.keys(this.formulario.controls).forEach((key) => {
|
|
167
|
+
if (this.formulario.get(key).errors) {
|
|
168
|
+
if (this.formulario.get(key).errors['mayorQue']) {
|
|
169
|
+
this.formulario.get(key).markAsDirty();
|
|
170
|
+
comodinValidador = true;
|
|
171
|
+
this.notificacionesBusService.showWarning(this.mensaje);
|
|
172
|
+
return;
|
|
173
|
+
}
|
|
174
|
+
this.formulario.get(key).markAsDirty();
|
|
175
|
+
}
|
|
176
|
+
});
|
|
177
|
+
if (comodinValidador == false) {
|
|
178
|
+
this.notificacionesBusService.showError('Faltan campos obligatorios');
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
|
|
183
|
+
|
|
184
|
+
eliminar(event, cDelete: FuenteCampoModel) {
|
|
185
|
+
this.confirmationService.confirm({
|
|
186
|
+
target: event.target,
|
|
187
|
+
message: this.generalPipe.MENSAJE_ELIMINAR_CONFIRMAR,
|
|
188
|
+
acceptLabel:'Si',
|
|
189
|
+
accept: () => {
|
|
190
|
+
this.setEliminar(cDelete);
|
|
191
|
+
},
|
|
192
|
+
reject: () => {
|
|
193
|
+
|
|
194
|
+
}
|
|
195
|
+
});
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
async setEliminar(cDelete: FuenteCampoModel) {
|
|
199
|
+
if ((await this.generalService.delete(new GeneralModel('FuenteCampoDTO', null, false, cDelete)).toPromise()) <= 0) {
|
|
200
|
+
this.notificacionesBusService.showWarning(this.generalPipe.MENSAJE_ELIMINAR_NO);
|
|
201
|
+
this.ocultar();
|
|
202
|
+
return
|
|
203
|
+
}
|
|
204
|
+
this.notificacionesBusService.showInfo(this.generalPipe.MENSAJE_ELIMINAR);
|
|
205
|
+
this.ocultar();
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
public ocultar() {
|
|
209
|
+
this.mostrar = false;
|
|
210
|
+
this.campo = new FuenteCampoModel();
|
|
211
|
+
this.fuenteCampoDTO = new FuenteCampoModel();
|
|
212
|
+
this.regresar.emit();
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
async cargaBooleanos() {
|
|
216
|
+
this.agrupamiento = this.fuenteDTO != null && this.fuenteDTO.tipo == this.fuentePipe.AGRUPAMIENTO;
|
|
217
|
+
this.rompimiento = this.fuenteDTO != null && this.fuenteDTO.tipo == this.fuentePipe.ROMPIMIENTO;
|
|
218
|
+
this.unicoRegistro = this.fuenteDTO != null && this.fuenteDTO.tipo == this.fuentePipe.UNICO_REGISTRO ? true : false;
|
|
219
|
+
this.mostrarHoja = this.unicoRegistro && this.fuenteDTO.excel == this.generalPipe.SI ? true : false;
|
|
220
|
+
this.sinSeparador = this.fuenteDTO != null && this.fuenteDTO.separador == this.fuentePipe.SIN_SEPARADOR ? true : false;
|
|
221
|
+
this.conSeparador = this.fuenteDTO != null && this.fuenteDTO.separador != null && this.fuenteDTO.separador != this.fuentePipe.SIN_SEPARADOR ? true : false;
|
|
222
|
+
this.serviciosMotor = this.fuenteDTO.motor == this.generalPipe.SI ? true : false;
|
|
223
|
+
this.formato = this.fuenteDTO != null && this.campo.tipoDato == this.fuentePipe.FECHA ? true : false;
|
|
224
|
+
this.formatoNumero = this.fuenteDTO != null && this.campo.tipoDato == this.fuentePipe.NUMERO ? true : false;
|
|
225
|
+
this.homologacion = this.fuenteDTO != null && (this.campo.tipoDato == this.fuentePipe.DECIMAL || this.campo.tipoDato == this.fuentePipe.NUMERO || this.campo.tipoDato == this.fuentePipe.TEXTO || this.campo.tipoDato == this.fuentePipe.FECHA) ? true : false;
|
|
226
|
+
if (this.fuenteDTO == null || this.fuenteDTO.proceso == null) {
|
|
227
|
+
this.servicioWeb = false;
|
|
228
|
+
} if (this.fuenteDTO.proceso == this.fuentePipe.SERVICIO) {
|
|
229
|
+
this.fuenteDTO.ejecucion = this.fuentePipe.SERVICIO_EJECUCION;
|
|
230
|
+
this.fuenteDTO.tipo = this.fuentePipe.UNICO_REGISTRO;
|
|
231
|
+
this.fuenteDTO.separador = this.fuentePipe.COMA;
|
|
232
|
+
this.servicioWeb = true;
|
|
233
|
+
}
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
noNulo(key): AsyncValidatorFn {
|
|
237
|
+
return (control: AbstractControl): Observable<ValidationErrors> => {
|
|
238
|
+
let bReturn: boolean = true;
|
|
239
|
+
if (this.formulario?.controls[key].value == '') {
|
|
240
|
+
bReturn = true;
|
|
241
|
+
}
|
|
242
|
+
let err: ValidationErrors = { 'nulo': true };
|
|
243
|
+
return bReturn ? of(null) : of(err);
|
|
244
|
+
};
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
|
|
248
|
+
mayorQue(key, keyCompara): AsyncValidatorFn {
|
|
249
|
+
return (control: AbstractControl): Observable<ValidationErrors> => {
|
|
250
|
+
let bReturn: boolean = true;
|
|
251
|
+
console.log('entro');
|
|
252
|
+
if (this.formulario?.controls[key].value < this.formulario?.controls[keyCompara].value) {
|
|
253
|
+
this.mensaje = 'El valor no debe ser mayor a ' + this.formulario.controls[keyCompara].value
|
|
254
|
+
console.log('entro mas');
|
|
255
|
+
bReturn = false;
|
|
256
|
+
}
|
|
257
|
+
let err: ValidationErrors = { 'mayorQue': true };
|
|
258
|
+
return bReturn ? of(null) : of(err);
|
|
259
|
+
};
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
<p-dialog header="{{ 'seleccione' | translate }}" [(visible)]="showDialog" (onHide)="ocultar()"
|
|
2
|
+
[breakpoints]="{'960px': '75vw', '640px': '100vw'}" [style]="{ width: '30vw' }">
|
|
3
|
+
|
|
4
|
+
<div class="flex justify-content-end align-items-center mb-2">
|
|
5
|
+
<!-- Botón de Reportes-->
|
|
6
|
+
<button pButton pRipple label="{{'continuar' | translate}}" icon="glyphicons glyphicons-check"
|
|
7
|
+
class="p-button-secondary font-semibold mr-2 border-solid-1 border-color-75"
|
|
8
|
+
(click)="continuar()"></button>
|
|
9
|
+
</div>
|
|
10
|
+
|
|
11
|
+
<p-table #tablaGeneral id="tabla_listado_control_prorroga" [value]="listaArchivo" responsiveLayout="scroll"
|
|
12
|
+
[rows]="10" scrollDirection="horizontal" styleClass="p-datatable-striped" [paginator]="listaArchivo.length > 10"
|
|
13
|
+
[scrollable]="true" [totalRecords]="listaArchivo.length" [showCurrentPageReport]="true"
|
|
14
|
+
[rowsPerPageOptions]="[10, 20, 50]" currentPageReportTemplate="{first} al {last} de {totalRecords} registros">
|
|
15
|
+
|
|
16
|
+
<ng-template pTemplate="header">
|
|
17
|
+
<tr>
|
|
18
|
+
@if(listaArchivo.length > 0){
|
|
19
|
+
<th style="max-width:50px; margin-left: 2px;">
|
|
20
|
+
<p-checkbox [(ngModel)]="seleccionarTodo" (onChange)="cambiarEstadoCheck()" [binary]="true"
|
|
21
|
+
(click)="$event.stopPropagation()">
|
|
22
|
+
</p-checkbox>
|
|
23
|
+
</th>
|
|
24
|
+
}
|
|
25
|
+
<th>{{'descripcion' | translate}}</th>
|
|
26
|
+
</tr>
|
|
27
|
+
<th></th>
|
|
28
|
+
</ng-template>
|
|
29
|
+
|
|
30
|
+
<ng-template pTemplate="body" let-dato>
|
|
31
|
+
<tr>
|
|
32
|
+
<td style="max-width:50px">
|
|
33
|
+
<div class="field-checkbox">
|
|
34
|
+
<p-checkbox class="ml-1" [(ngModel)]="dato.check" [binary]="true" (onChange)="estadoCheck(dato)"
|
|
35
|
+
(click)="$event.stopPropagation()">
|
|
36
|
+
</p-checkbox>
|
|
37
|
+
</div>
|
|
38
|
+
</td>
|
|
39
|
+
<td>{{dato.nombre}}</td>
|
|
40
|
+
</tr>
|
|
41
|
+
</ng-template>
|
|
42
|
+
|
|
43
|
+
<ng-template pTemplate="emptymessage">
|
|
44
|
+
<tr class="p-3 font-medium emptymessage">
|
|
45
|
+
<td colspan="10"> {{'mensajetablavacia' | translate}}</td>
|
|
46
|
+
</tr>
|
|
47
|
+
</ng-template>
|
|
48
|
+
</p-table>
|
|
49
|
+
|
|
50
|
+
</p-dialog>
|
|
File without changes
|
package/src/app/webcommon/popups/popup-convertir-plantillas/popup-convertir-plantillas.component.ts
ADDED
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
import { Component, EventEmitter, Input, OnInit, Output } from '@angular/core';
|
|
2
|
+
import { TranslateModule, TranslateService } from '@ngx-translate/core';
|
|
3
|
+
import { PrimeTemplate } from 'primeng/api';
|
|
4
|
+
import { DialogModule } from 'primeng/dialog';
|
|
5
|
+
import { TableModule } from 'primeng/table';
|
|
6
|
+
import { PlantillasService } from '../../services/plantillas.service';
|
|
7
|
+
import { firstValueFrom } from 'rxjs';
|
|
8
|
+
import { CheckboxModule } from 'primeng/checkbox';
|
|
9
|
+
import { FormsModule } from '@angular/forms';
|
|
10
|
+
import { Ripple } from 'primeng/ripple';
|
|
11
|
+
import { ButtonDirective } from 'primeng/button';
|
|
12
|
+
import { ToastService } from '../../../core/servicios/toast.service';
|
|
13
|
+
|
|
14
|
+
@Component({
|
|
15
|
+
selector: 'app-popup-convertir-plantillas',
|
|
16
|
+
standalone: true,
|
|
17
|
+
imports: [DialogModule,
|
|
18
|
+
TableModule,
|
|
19
|
+
PrimeTemplate,
|
|
20
|
+
TranslateModule,
|
|
21
|
+
CheckboxModule,
|
|
22
|
+
FormsModule,
|
|
23
|
+
ButtonDirective,
|
|
24
|
+
Ripple,],
|
|
25
|
+
templateUrl: './popup-convertir-plantillas.component.html',
|
|
26
|
+
styleUrl: './popup-convertir-plantillas.component.scss'
|
|
27
|
+
})
|
|
28
|
+
export class PopupConvertirPlantillasComponent implements OnInit {
|
|
29
|
+
|
|
30
|
+
@Output() onSelected: EventEmitter<any> = new EventEmitter();
|
|
31
|
+
|
|
32
|
+
@Output() regresar: EventEmitter<any> = new EventEmitter();
|
|
33
|
+
|
|
34
|
+
@Input() showDialog: boolean = false;
|
|
35
|
+
|
|
36
|
+
listaArchivo: any[];
|
|
37
|
+
listaSeleccionados: any[] = [];
|
|
38
|
+
seleccionar: boolean = true;
|
|
39
|
+
seleccionarTodo: boolean = false;
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
constructor(private plantillasService: PlantillasService, public translateService: TranslateService, private toastService: ToastService,) { }
|
|
43
|
+
|
|
44
|
+
public ocultar() {
|
|
45
|
+
this.showDialog = false;
|
|
46
|
+
this.regresar.emit(false);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
ngOnInit(): void {
|
|
50
|
+
this.listaArchivo = [];
|
|
51
|
+
this.listaSeleccionados = [];
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
async buscar(rutaPlantilla: string, filtro: string) {
|
|
55
|
+
|
|
56
|
+
let data = await firstValueFrom(this.plantillasService.consultarListadoPlanillasAConvertir(rutaPlantilla, filtro));
|
|
57
|
+
|
|
58
|
+
this.listaArchivo = data;
|
|
59
|
+
|
|
60
|
+
if (!(this.listaArchivo.length > 0)) {
|
|
61
|
+
this.toastService.showWarning("No existe plantillas para convertir");
|
|
62
|
+
this.ocultar();
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
this.showDialog = true;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
cambiarEstadoCheck() {
|
|
69
|
+
|
|
70
|
+
if (this.seleccionar) {
|
|
71
|
+
this.seleccionar = false;
|
|
72
|
+
for (let per of this.listaArchivo) {
|
|
73
|
+
per.check = true;
|
|
74
|
+
}
|
|
75
|
+
} else {
|
|
76
|
+
this.seleccionar = true;
|
|
77
|
+
for (let per of this.listaArchivo) {
|
|
78
|
+
per.check = false;
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
return null;
|
|
82
|
+
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
estadoCheck(dato: any) {
|
|
86
|
+
|
|
87
|
+
let isvalidar = false;
|
|
88
|
+
|
|
89
|
+
for (let per of this.listaArchivo) {
|
|
90
|
+
if (!per.check) {
|
|
91
|
+
isvalidar = true;
|
|
92
|
+
break;
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
if (isvalidar) {
|
|
97
|
+
this.seleccionar = true;
|
|
98
|
+
this.seleccionarTodo = false;
|
|
99
|
+
} else {
|
|
100
|
+
this.seleccionar = false;
|
|
101
|
+
this.seleccionarTodo = true;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
async continuar() {
|
|
107
|
+
|
|
108
|
+
if (await this.selecciona()) {
|
|
109
|
+
//Guarda el documento
|
|
110
|
+
await firstValueFrom(this.plantillasService.convertirArchivo(this.listaSeleccionados));
|
|
111
|
+
this.toastService.showSuccess("Se han convertido exitosamente los registros seleccionados");
|
|
112
|
+
this.ocultar();
|
|
113
|
+
|
|
114
|
+
} else {
|
|
115
|
+
this.toastService.showWarning("Seleccione al menos un registro");
|
|
116
|
+
return;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
async selecciona(): Promise<boolean> {
|
|
122
|
+
|
|
123
|
+
this.listaSeleccionados = [];
|
|
124
|
+
|
|
125
|
+
if (this.listaArchivo.length > 0) {
|
|
126
|
+
for (let ser of this.listaArchivo) {
|
|
127
|
+
if (ser.check) {
|
|
128
|
+
this.listaSeleccionados.push(ser);
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
return this.listaSeleccionados.length > 0;
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
<p-dialog header="{{'atributo' | translate}}s" [(visible)]="visible" appendTo="body" [style]="{width: '47vw'}"
|
|
2
|
+
(onHide)="ocultarPopup()" [modal]="true" [draggable]="false" [resizable]="false">
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
<div class="flex justify-content-between align-items-center mt-2 mb-3">
|
|
6
|
+
<app-filtro-general #filtroGeneral [filtros]="filters" (metodoRegresar)="filtro($event,tablaGeneral)">
|
|
7
|
+
<ng-template let-form>
|
|
8
|
+
<ng-container [formGroup]="form">
|
|
9
|
+
<div class="flex mt-3">
|
|
10
|
+
<div class="mr-3 w-full">
|
|
11
|
+
<span class="p-float-label">
|
|
12
|
+
<input pInputText type="text" id="filtro" formControlName="filtro"
|
|
13
|
+
autocomplete="off" />
|
|
14
|
+
<label for="filtro"> {{'atributo' | translate}}</label>
|
|
15
|
+
</span>
|
|
16
|
+
</div>
|
|
17
|
+
</div>
|
|
18
|
+
</ng-container>
|
|
19
|
+
</ng-template>
|
|
20
|
+
</app-filtro-general>
|
|
21
|
+
</div>
|
|
22
|
+
<p-table #tablaGeneral styleClass="p-datatable-striped input-helper-datatable"
|
|
23
|
+
[globalFilterFields]="['nombre']"
|
|
24
|
+
[value]="variables" [rows]="10" [paginator]="variables.length > 10" [totalRecords]="variables.length"
|
|
25
|
+
[showCurrentPageReport]="true" currentPageReportTemplate="{first} al {last} de {totalRecords} registros">
|
|
26
|
+
<ng-template pTemplate="header">
|
|
27
|
+
<tr style="width: 100%;">
|
|
28
|
+
<th style="width: 100%;">{{'nombre' | translate}} {{'atributo' | translate}}</th>
|
|
29
|
+
</tr>
|
|
30
|
+
<th></th>
|
|
31
|
+
</ng-template>
|
|
32
|
+
|
|
33
|
+
<ng-template pTemplate="body" let-objeto>
|
|
34
|
+
<tr [pSelectableRow]="objeto" style="width: 100%;">
|
|
35
|
+
<td style="width: 100%;">{{objeto.nombre}}</td>
|
|
36
|
+
</tr>
|
|
37
|
+
</ng-template>
|
|
38
|
+
<ng-template pTemplate="emptymessage">
|
|
39
|
+
<tr class="p-3 font-medium emptymessage">
|
|
40
|
+
<td colspan="1">{{'mensajetablavacia' | translate}}</td>
|
|
41
|
+
</tr>
|
|
42
|
+
</ng-template>
|
|
43
|
+
</p-table>
|
|
44
|
+
</p-dialog>
|
|
File without changes
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import { Component, ViewChild } from '@angular/core';
|
|
2
|
+
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
|
|
3
|
+
import { TranslateModule, TranslateService } from '@ngx-translate/core';
|
|
4
|
+
import { PrimeTemplate } from 'primeng/api';
|
|
5
|
+
import { DialogModule } from 'primeng/dialog';
|
|
6
|
+
import { InputTextModule } from 'primeng/inputtext';
|
|
7
|
+
import { Table, TableModule } from 'primeng/table';
|
|
8
|
+
import { FiltroGeneralComponent } from '../../../core/componentes/filtro-general/filtro-general.component';
|
|
9
|
+
|
|
10
|
+
@Component({
|
|
11
|
+
selector: 'app-popup-editor-formula',
|
|
12
|
+
standalone: true,
|
|
13
|
+
imports: [DialogModule, TableModule, PrimeTemplate, FormsModule, ReactiveFormsModule, InputTextModule, TranslateModule, FiltroGeneralComponent],
|
|
14
|
+
templateUrl: './popup-editor-formula.component.html',
|
|
15
|
+
styleUrl: './popup-editor-formula.component.scss'
|
|
16
|
+
})
|
|
17
|
+
export class PopupEditorFormulaComponent {
|
|
18
|
+
|
|
19
|
+
constructor(private translateService: TranslateService){
|
|
20
|
+
this.filters = [
|
|
21
|
+
{
|
|
22
|
+
field: 'filtro',
|
|
23
|
+
header: this.translateService.instant('filtro'),
|
|
24
|
+
matchMode: 'contains',
|
|
25
|
+
},
|
|
26
|
+
];
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
public listaLenguajes: any[] ;
|
|
30
|
+
filters = [];
|
|
31
|
+
// private ILenguaje lenguaje ;
|
|
32
|
+
public formula: string;
|
|
33
|
+
// private NodoFormula base;
|
|
34
|
+
// private NodoFormula nodoActual;
|
|
35
|
+
public variables: any[] = [];
|
|
36
|
+
visible: boolean;
|
|
37
|
+
@ViewChild('tablaGeneral') tablaGeneral : Table
|
|
38
|
+
@ViewChild('filtroGeneral') filtroGeneral : FiltroGeneralComponent
|
|
39
|
+
// private NodoConstante constante;
|
|
40
|
+
|
|
41
|
+
public editar(formula: string,destino: string,variables: any[]){
|
|
42
|
+
//getBean(SessionActivaBean.class).setUrlPopup("/webcommon/inc-templates/editorFormula.xhtml");
|
|
43
|
+
this.formula= formula;
|
|
44
|
+
//setDestino(destino);
|
|
45
|
+
this.variables = variables;
|
|
46
|
+
this.mostrarPopup();
|
|
47
|
+
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
mostrarPopup(){
|
|
51
|
+
this.visible = true;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
ocultarPopup(){
|
|
55
|
+
this.visible = false;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
filtro(event,tablaPuestoTrabajo: Table){
|
|
59
|
+
if(event?.filtro?.value != null){
|
|
60
|
+
this.tablaGeneral.filterGlobal(event.filtro.value,'contains');
|
|
61
|
+
}else{
|
|
62
|
+
tablaPuestoTrabajo.clear();
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
}
|