general-library-union 3.2.47 → 3.2.49
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2022/general-library-union.mjs +5 -0
- package/esm2022/public-api.mjs +183 -0
- package/esm2022/src/app/core/componentes/breadcrumb/breadcrumb.component.mjs +40 -0
- package/esm2022/src/app/core/componentes/carga-pantalla-completa/carga-pantalla-completa.component.mjs +28 -0
- package/esm2022/src/app/core/componentes/filtro-general/filtro-general.component.mjs +203 -0
- package/esm2022/src/app/core/componentes/footer/footer.component.mjs +16 -0
- package/esm2022/src/app/core/componentes/formulariodinamico/formulariodinamico.component.mjs +276 -0
- package/esm2022/src/app/core/componentes/formulariodinamico/objetosformulario/Cambio.mjs +11 -0
- package/esm2022/src/app/core/componentes/formulariodinamico/objetosformulario/CampoFormulario.mjs +124 -0
- package/esm2022/src/app/core/componentes/formulariodinamico/objetosformulario/CampoFormularioCons.mjs +73 -0
- package/esm2022/src/app/core/componentes/formulariodinamico/objetosformulario/CampoFormularioNuevo.mjs +59 -0
- package/esm2022/src/app/core/componentes/formulariodinamico/objetosformulario/HashDirective.mjs +21 -0
- package/esm2022/src/app/core/componentes/inicio-component/inicio-component.component.mjs +72 -0
- package/esm2022/src/app/core/componentes/menu/menu.component.mjs +37 -0
- package/esm2022/src/app/core/componentes/tabla-general/tabla-general.component.mjs +93 -0
- package/esm2022/src/app/core/core.module.mjs +23 -0
- package/esm2022/src/app/core/errores/authentication.error.mjs +7 -0
- package/esm2022/src/app/core/modelos/error-response.model.mjs +2 -0
- package/esm2022/src/app/core/modelos/table-column.model.mjs +2 -0
- package/esm2022/src/app/core/modelos/user.model.mjs +7 -0
- package/esm2022/src/app/core/plantilla-general/plantilla-general.template.mjs +230 -0
- package/esm2022/src/app/core/servicios/auth.service.mjs +185 -0
- package/esm2022/src/app/core/servicios/cargar-control-funcionalidad.service.mjs +54 -0
- package/esm2022/src/app/core/servicios/click-posicion.service.mjs +20 -0
- package/esm2022/src/app/core/servicios/data-exporter-table.utils.mjs +64 -0
- package/esm2022/src/app/core/servicios/error-interceptor.service.mjs +214 -0
- package/esm2022/src/app/core/servicios/guardias/auth.guard.mjs +66 -0
- package/esm2022/src/app/core/servicios/guardias/publico.guard.mjs +35 -0
- package/esm2022/src/app/core/servicios/interceptores/loading-interceptor.mjs +37 -0
- package/esm2022/src/app/core/servicios/interceptores/token-interceptor.service.mjs +180 -0
- package/esm2022/src/app/core/servicios/loading.service.mjs +43 -0
- package/esm2022/src/app/core/servicios/menu.service.mjs +146 -0
- package/esm2022/src/app/core/servicios/spinner-service.mjs +22 -0
- package/esm2022/src/app/core/servicios/storage.service.mjs +68 -0
- package/esm2022/src/app/core/servicios/template.service.mjs +99 -0
- package/esm2022/src/app/core/servicios/toast.service.mjs +120 -0
- package/esm2022/src/app/core/servicios/utils.service.mjs +349 -0
- package/esm2022/src/app/core/sharedlib.module.mjs +16 -0
- package/esm2022/src/app/core/utilidades/color.util.mjs +177 -0
- package/esm2022/src/app/layout/api/menuchangeevent.mjs +2 -0
- package/esm2022/src/app/layout/app.breadcrumb.component.mjs +71 -0
- package/esm2022/src/app/layout/app.footer.component.mjs +18 -0
- package/esm2022/src/app/layout/app.layout.component.mjs +188 -0
- package/esm2022/src/app/layout/app.layout.module.mjs +15 -0
- package/esm2022/src/app/layout/app.menu.component.mjs +51 -0
- package/esm2022/src/app/layout/app.menu.service.mjs +24 -0
- package/esm2022/src/app/layout/app.menuitem.component.mjs +296 -0
- package/esm2022/src/app/layout/app.menuprofile.component.mjs +78 -0
- package/esm2022/src/app/layout/app.rightmenu.component.mjs +24 -0
- package/esm2022/src/app/layout/app.sidebar.component.mjs +92 -0
- package/esm2022/src/app/layout/app.topbar.component.mjs +346 -0
- package/esm2022/src/app/layout/service/app.layout.service.mjs +134 -0
- package/esm2022/src/app/publico/pages/login/login.page.mjs +132 -0
- package/esm2022/src/app/publico/pages/not-found/not-found.page.mjs +51 -0
- package/esm2022/src/app/publico/pages/seleccion-rol/seleccion-rol.component.mjs +167 -0
- package/esm2022/src/app/publico/pages/timeout/timeout.page.mjs +20 -0
- package/esm2022/src/app/seguridad/constantes/ConstantesGenerales.mjs +30 -0
- package/esm2022/src/app/seguridad/constantes/ReporteEntradaConstantes.mjs +19 -0
- package/esm2022/src/app/seguridad/modelos/AplicacionModel.mjs +8 -0
- package/esm2022/src/app/seguridad/modelos/ArchivoPortalModel.mjs +14 -0
- package/esm2022/src/app/seguridad/modelos/AtributoPuntoModel.mjs +9 -0
- package/esm2022/src/app/seguridad/modelos/AtributoSSOportalModel.mjs +17 -0
- package/esm2022/src/app/seguridad/modelos/AuditoriaArchivoModel.mjs +11 -0
- package/esm2022/src/app/seguridad/modelos/CargueLineaModel.mjs +13 -0
- package/esm2022/src/app/seguridad/modelos/ColoresRGB.mjs +18 -0
- package/esm2022/src/app/seguridad/modelos/ColumnaFuenteModel.mjs +9 -0
- package/esm2022/src/app/seguridad/modelos/ColumnaWraperModel.mjs +6 -0
- package/esm2022/src/app/seguridad/modelos/ComplementoModel.mjs +7 -0
- package/esm2022/src/app/seguridad/modelos/ComponentePaginaModel.mjs +21 -0
- package/esm2022/src/app/seguridad/modelos/ConexionModel.mjs +14 -0
- package/esm2022/src/app/seguridad/modelos/ContenidoHtmlPortalModel.mjs +21 -0
- package/esm2022/src/app/seguridad/modelos/ControlFuncionModel.mjs +8 -0
- package/esm2022/src/app/seguridad/modelos/CorreoModel.mjs +35 -0
- package/esm2022/src/app/seguridad/modelos/CorreoOrgEmpModModel.mjs +9 -0
- package/esm2022/src/app/seguridad/modelos/CorreoWSModel.mjs +37 -0
- package/esm2022/src/app/seguridad/modelos/CruceRecursoPuntoModel.mjs +14 -0
- package/esm2022/src/app/seguridad/modelos/DatoInicioModel.mjs +6 -0
- package/esm2022/src/app/seguridad/modelos/EjecucionReporteDataModel.mjs +14 -0
- package/esm2022/src/app/seguridad/modelos/EmpresaModel.mjs +25 -0
- package/esm2022/src/app/seguridad/modelos/EmpresaSeguridadModel.mjs +19 -0
- package/esm2022/src/app/seguridad/modelos/EntradaComplementoModel.mjs +7 -0
- package/esm2022/src/app/seguridad/modelos/EtiquetaModel.mjs +5 -0
- package/esm2022/src/app/seguridad/modelos/Etiquetas.mjs +12 -0
- package/esm2022/src/app/seguridad/modelos/ForeingWraperModel.mjs +6 -0
- package/esm2022/src/app/seguridad/modelos/FuenteCampoAtributoModel.mjs +16 -0
- package/esm2022/src/app/seguridad/modelos/FuenteCampoModel.mjs +17 -0
- package/esm2022/src/app/seguridad/modelos/FuenteDato.mjs +19 -0
- package/esm2022/src/app/seguridad/modelos/FuenteEntradaModel.mjs +9 -0
- package/esm2022/src/app/seguridad/modelos/FuenteGeneralModel.mjs +37 -0
- package/esm2022/src/app/seguridad/modelos/FuenteLineaServicioModel.mjs +16 -0
- package/esm2022/src/app/seguridad/modelos/FuenteProcesoGeneralModel.mjs +11 -0
- package/esm2022/src/app/seguridad/modelos/FuenteServicioModel.mjs +51 -0
- package/esm2022/src/app/seguridad/modelos/FuncionalidadModel.mjs +10 -0
- package/esm2022/src/app/seguridad/modelos/GeneralModel.mjs +15 -0
- package/esm2022/src/app/seguridad/modelos/GrupoAccesoModel.mjs +7 -0
- package/esm2022/src/app/seguridad/modelos/GrupoControlFuncionModel.mjs +10 -0
- package/esm2022/src/app/seguridad/modelos/GrupoFuenteModel.mjs +13 -0
- package/esm2022/src/app/seguridad/modelos/GrupoPermisoModel.mjs +14 -0
- package/esm2022/src/app/seguridad/modelos/JoinFromModel.mjs +5 -0
- package/esm2022/src/app/seguridad/modelos/ListaServicioModel.mjs +17 -0
- package/esm2022/src/app/seguridad/modelos/LlaveForaneaModel.mjs +7 -0
- package/esm2022/src/app/seguridad/modelos/LoginModel.mjs +15 -0
- package/esm2022/src/app/seguridad/modelos/MensajeSistemaModel.mjs +8 -0
- package/esm2022/src/app/seguridad/modelos/MenuPortalModel.mjs +5 -0
- package/esm2022/src/app/seguridad/modelos/ModulosModel.mjs +18 -0
- package/esm2022/src/app/seguridad/modelos/ObjetoReporteModel.mjs +6 -0
- package/esm2022/src/app/seguridad/modelos/PaginaPortalModel.mjs +20 -0
- package/esm2022/src/app/seguridad/modelos/ParametroComponenteModel.mjs +9 -0
- package/esm2022/src/app/seguridad/modelos/ParametrosGeneralModel.mjs +15 -0
- package/esm2022/src/app/seguridad/modelos/PermisoFuncionModel.mjs +9 -0
- package/esm2022/src/app/seguridad/modelos/PermisocontenidoModel.mjs +20 -0
- package/esm2022/src/app/seguridad/modelos/PeticionModel.mjs +16 -0
- package/esm2022/src/app/seguridad/modelos/PreguntaSeguridadModel.mjs +7 -0
- package/esm2022/src/app/seguridad/modelos/PropiedadModel.mjs +10 -0
- package/esm2022/src/app/seguridad/modelos/PublicacionWebModel.mjs +27 -0
- package/esm2022/src/app/seguridad/modelos/PuntoProcesoModel.mjs +7 -0
- package/esm2022/src/app/seguridad/modelos/RecursoPunto.mjs +13 -0
- package/esm2022/src/app/seguridad/modelos/RecursoPuntoModel.mjs +13 -0
- package/esm2022/src/app/seguridad/modelos/ReporteBanda.mjs +8 -0
- package/esm2022/src/app/seguridad/modelos/ReporteColumna.mjs +33 -0
- package/esm2022/src/app/seguridad/modelos/ReporteColumnario.mjs +69 -0
- package/esm2022/src/app/seguridad/modelos/ReporteColumnarioMarcador.mjs +24 -0
- package/esm2022/src/app/seguridad/modelos/ReporteEntradaModel.mjs +20 -0
- package/esm2022/src/app/seguridad/modelos/ReporteFuenteModel.mjs +124 -0
- package/esm2022/src/app/seguridad/modelos/ReporteMarcador.mjs +40 -0
- package/esm2022/src/app/seguridad/modelos/ReporteSoporte.mjs +10 -0
- package/esm2022/src/app/seguridad/modelos/ReporteTabla.mjs +13 -0
- package/esm2022/src/app/seguridad/modelos/RespuestaModel.mjs +9 -0
- package/esm2022/src/app/seguridad/modelos/RolModel.mjs +39 -0
- package/esm2022/src/app/seguridad/modelos/ServidorCorreoModel.mjs +28 -0
- package/esm2022/src/app/seguridad/modelos/SistemaMensajeModel.mjs +9 -0
- package/esm2022/src/app/seguridad/modelos/SitioPortalModel.mjs +25 -0
- package/esm2022/src/app/seguridad/modelos/TablaFromModel.mjs +5 -0
- package/esm2022/src/app/seguridad/modelos/TareasModel.mjs +54 -0
- package/esm2022/src/app/seguridad/modelos/TextoModel.mjs +9 -0
- package/esm2022/src/app/seguridad/modelos/TipoEtiqueta.mjs +8 -0
- package/esm2022/src/app/seguridad/modelos/UnionModel.mjs +12 -0
- package/esm2022/src/app/seguridad/modelos/UsuarioModel.mjs +53 -0
- package/esm2022/src/app/seguridad/modelos/UsuariogrupoModel.mjs +24 -0
- package/esm2022/src/app/seguridad/modelos/aplicacion-propiedad-model.mjs +15 -0
- package/esm2022/src/app/seguridad/modelos/contenidoCorreoModel.mjs +10 -0
- package/esm2022/src/app/shared/componentes/input-helper-seleccion-plantilla/input-helper-seleccion-plantilla.component.mjs +154 -0
- package/esm2022/src/app/shared/servicios/cargar-archivos.service.mjs +54 -0
- package/esm2022/src/app/shared/servicios/cargar-mapas.service.mjs +46 -0
- package/esm2022/src/app/shared/servicios/encriptado-basico.service.mjs +53 -0
- package/esm2022/src/app/shared/servicios/general.service.mjs +104 -0
- package/esm2022/src/app/shared/servicios/parametros-navegacion.service.mjs +21 -0
- package/esm2022/src/app/webcommon/pages/cargue-plantilla/cargue-plantilla-general/cargue-plantilla-general.component.mjs +378 -0
- package/esm2022/src/app/webcommon/pages/ejecucion-reporte/detalle-campo-reporte/detalle-campo-reporte.component.mjs +187 -0
- package/esm2022/src/app/webcommon/pages/ejecucion-reporte/detalle-distribucion-reporte/detalle-distribucion-reporte.component.mjs +85 -0
- package/esm2022/src/app/webcommon/pages/ejecucion-reporte/detalle-ejecucion-reporte/detalle-ejecucion-reporte.page.mjs +347 -0
- package/esm2022/src/app/webcommon/pages/ejecucion-reporte/detalle-entrada-reporte/detalle-entrada-reporte.component.mjs +206 -0
- package/esm2022/src/app/webcommon/pages/ejecucion-reporte/detalle-punto-proceso-reporte/detalle-punto-proceso-reporte.component.mjs +327 -0
- package/esm2022/src/app/webcommon/pages/ejecucion-reporte/detalle-tipo-reporte/detalle-tipo-reporte.component.mjs +1590 -0
- package/esm2022/src/app/webcommon/pages/ejecucion-reporte/listado-ejecucion-reporte/listado-ejecucion-reporte.page.mjs +105 -0
- package/esm2022/src/app/webcommon/pages/ejecucion-reporte-externo/listado-ejecucion-reporte-externo/listado-ejecucion-reporte-externo.component.mjs +114 -0
- package/esm2022/src/app/webcommon/pages/fuente/importar-fuente-con/importar-fuente-con.component.mjs +597 -0
- package/esm2022/src/app/webcommon/pages/fuente/importar-fuente-general/importar-fuente-general.component.mjs +177 -0
- package/esm2022/src/app/webcommon/pages/fuente-reporte/fuente-reporte.component.mjs +769 -0
- package/esm2022/src/app/webcommon/pages/fuenteGeneral/fuente-general-servicio/fuente-general-servicio.component.mjs +331 -0
- package/esm2022/src/app/webcommon/pages/fuenteGeneral/listado-fuente-general/listado-fuente-general.page.mjs +95 -0
- package/esm2022/src/app/webcommon/pages/fuenteGeneral/mantenimiento-fuente-general/mantenimiento-fuente-general.page.mjs +675 -0
- package/esm2022/src/app/webcommon/pipes/dashboard.pipe.mjs +86 -0
- package/esm2022/src/app/webcommon/pipes/fuente.pipe.mjs +201 -0
- package/esm2022/src/app/webcommon/pipes/general.pipe.mjs +918 -0
- package/esm2022/src/app/webcommon/pipes/reporte-columnario.pipe.mjs +115 -0
- package/esm2022/src/app/webcommon/pipes/reporte-fuente.pipe.mjs +301 -0
- package/esm2022/src/app/webcommon/popups/popup-campos-fuente-general/popup-campos-fuente-general.component.mjs +267 -0
- package/esm2022/src/app/webcommon/popups/popup-convertir-plantillas/popup-convertir-plantillas.component.mjs +128 -0
- package/esm2022/src/app/webcommon/popups/popup-editor-formula/popup-editor-formula.component.mjs +73 -0
- package/esm2022/src/app/webcommon/popups/popup-punto-proceso/popup-punto-proceso.component.mjs +293 -0
- package/esm2022/src/app/webcommon/popups/popup-recurso/popup-recurso.component.mjs +269 -0
- package/esm2022/src/app/webcommon/popups/popup-reporte/popup-reporte.component.mjs +563 -0
- package/esm2022/src/app/webcommon/popups/popup-sentencia/popup-sentencia.component.mjs +64 -0
- package/esm2022/src/app/webcommon/popups/popup-tablas-fuente/popup-tablas-fuente.component.mjs +162 -0
- package/esm2022/src/app/webcommon/popups/punto-proceso-comp/punto-proceso-comp.component.mjs +89 -0
- package/esm2022/src/app/webcommon/services/carguelinea.service.mjs +69 -0
- package/esm2022/src/app/webcommon/services/dashboard.service.mjs +253 -0
- package/esm2022/src/app/webcommon/services/ejecucionreporte.service.mjs +114 -0
- package/esm2022/src/app/webcommon/services/fechaUtils.service.mjs +97 -0
- package/esm2022/src/app/webcommon/services/fuentegeneral.service.mjs +68 -0
- package/esm2022/src/app/webcommon/services/homologacion.service.mjs +50 -0
- package/esm2022/src/app/webcommon/services/plantillas.service.mjs +129 -0
- package/esm2022/src/app/webcommon/services/reportes.service.mjs +95 -0
- package/esm2022/src/app/webcommon/webcommon.module.mjs +15 -0
- package/esm2022/src/environments/environment.mjs +24 -0
- package/fesm2022/general-library-union.mjs +16105 -0
- package/fesm2022/general-library-union.mjs.map +1 -0
- package/index.d.ts +5 -0
- package/package.json +62 -73
- package/{public-api.ts → public-api.d.ts} +164 -206
- package/src/app/core/componentes/breadcrumb/breadcrumb.component.d.ts +18 -0
- package/src/app/core/componentes/carga-pantalla-completa/carga-pantalla-completa.component.d.ts +14 -0
- package/src/app/core/componentes/filtro-general/filtro-general.component.d.ts +36 -0
- package/src/app/core/componentes/footer/footer.component.d.ts +9 -0
- package/src/app/core/componentes/formulariodinamico/formulariodinamico.component.d.ts +50 -0
- package/src/app/core/componentes/formulariodinamico/objetosformulario/{Cambio.ts → Cambio.d.ts} +7 -13
- package/src/app/core/componentes/formulariodinamico/objetosformulario/CampoFormulario.d.ts +44 -0
- package/src/app/core/componentes/formulariodinamico/objetosformulario/CampoFormularioCons.d.ts +45 -0
- package/src/app/core/componentes/formulariodinamico/objetosformulario/CampoFormularioNuevo.d.ts +33 -0
- package/src/app/core/componentes/formulariodinamico/objetosformulario/HashDirective.d.ts +9 -0
- package/src/app/core/componentes/inicio-component/inicio-component.component.d.ts +26 -0
- package/src/app/core/componentes/menu/menu.component.d.ts +16 -0
- package/src/app/core/componentes/tabla-general/tabla-general.component.d.ts +32 -0
- package/src/app/core/core.module.d.ts +8 -0
- package/src/app/core/errores/authentication.error.d.ts +3 -0
- package/src/app/core/modelos/error-response.model.d.ts +9 -0
- package/src/app/core/modelos/table-column.model.d.ts +12 -0
- package/src/app/core/modelos/user.model.d.ts +6 -0
- package/src/app/core/plantilla-general/plantilla-general.template.d.ts +89 -0
- package/src/app/core/servicios/auth.service.d.ts +52 -0
- package/src/app/core/servicios/cargar-control-funcionalidad.service.d.ts +19 -0
- package/src/app/core/servicios/click-posicion.service.d.ts +11 -0
- package/src/app/core/servicios/data-exporter-table.utils.d.ts +11 -0
- package/src/app/core/servicios/error-interceptor.service.d.ts +41 -0
- package/src/app/core/servicios/guardias/auth.guard.d.ts +17 -0
- package/src/app/core/servicios/guardias/publico.guard.d.ts +13 -0
- package/src/app/core/servicios/interceptores/loading-interceptor.d.ts +11 -0
- package/src/app/core/servicios/interceptores/token-interceptor.service.d.ts +26 -0
- package/src/app/core/servicios/loading.service.d.ts +22 -0
- package/src/app/core/servicios/menu.service.d.ts +35 -0
- package/src/app/core/servicios/spinner-service.d.ts +9 -0
- package/src/app/core/servicios/storage.service.d.ts +37 -0
- package/src/app/core/servicios/template.service.d.ts +20 -0
- package/src/app/core/servicios/toast.service.d.ts +48 -0
- package/src/app/core/servicios/utils.service.d.ts +45 -0
- package/src/app/core/sharedlib.module.d.ts +6 -0
- package/src/app/core/utilidades/color.util.d.ts +70 -0
- package/src/app/layout/api/{menuchangeevent.ts → menuchangeevent.d.ts} +4 -4
- package/src/app/layout/app.breadcrumb.component.d.ts +28 -0
- package/src/app/layout/app.footer.component.d.ts +8 -0
- package/src/app/layout/app.layout.component.d.ts +39 -0
- package/src/app/layout/app.layout.module.d.ts +6 -0
- package/src/app/layout/app.menu.component.d.ts +19 -0
- package/src/app/layout/app.menu.service.d.ts +12 -0
- package/src/app/layout/app.menuitem.component.d.ts +41 -0
- package/src/app/layout/app.menuprofile.component.d.ts +18 -0
- package/src/app/layout/app.rightmenu.component.d.ts +10 -0
- package/src/app/layout/app.sidebar.component.d.ts +34 -0
- package/src/app/layout/app.topbar.component.d.ts +79 -0
- package/src/app/layout/service/app.layout.service.d.ts +57 -0
- package/src/app/publico/pages/login/login.page.d.ts +40 -0
- package/src/app/publico/pages/not-found/not-found.page.d.ts +17 -0
- package/src/app/publico/pages/seleccion-rol/seleccion-rol.component.d.ts +41 -0
- package/src/app/publico/pages/timeout/timeout.page.d.ts +10 -0
- package/src/app/seguridad/constantes/ConstantesGenerales.d.ts +25 -0
- package/src/app/seguridad/constantes/ReporteEntradaConstantes.d.ts +7 -0
- package/src/app/seguridad/modelos/AplicacionModel.d.ts +7 -0
- package/src/app/seguridad/modelos/ArchivoPortalModel.d.ts +13 -0
- package/src/app/seguridad/modelos/AtributoPuntoModel.d.ts +8 -0
- package/src/app/seguridad/modelos/AtributoSSOportalModel.d.ts +16 -0
- package/src/app/seguridad/modelos/{AuditoriaArchivoModel.ts → AuditoriaArchivoModel.d.ts} +10 -13
- package/src/app/seguridad/modelos/CargueLineaModel.d.ts +12 -0
- package/src/app/seguridad/modelos/ColoresRGB.d.ts +17 -0
- package/src/app/seguridad/modelos/ColumnaFuenteModel.d.ts +8 -0
- package/src/app/seguridad/modelos/{ColumnaWraperModel.ts → ColumnaWraperModel.d.ts} +6 -7
- package/src/app/seguridad/modelos/ComplementoModel.d.ts +6 -0
- package/src/app/seguridad/modelos/ComponentePaginaModel.d.ts +20 -0
- package/src/app/seguridad/modelos/ConexionModel.d.ts +13 -0
- package/src/app/seguridad/modelos/{ContenidoHtmlPortalModel.ts → ContenidoHtmlPortalModel.d.ts} +20 -25
- package/src/app/seguridad/modelos/ControlFuncionModel.d.ts +7 -0
- package/src/app/seguridad/modelos/CorreoModel.d.ts +31 -0
- package/src/app/seguridad/modelos/{CorreoOrgEmpModModel.ts → CorreoOrgEmpModModel.d.ts} +8 -11
- package/src/app/seguridad/modelos/CorreoWSModel.d.ts +33 -0
- package/src/app/seguridad/modelos/CruceRecursoPuntoModel.d.ts +13 -0
- package/src/app/seguridad/modelos/{DatoInicioModel.ts → DatoInicioModel.d.ts} +6 -7
- package/src/app/seguridad/modelos/{EjecucionReporteDataModel.ts → EjecucionReporteDataModel.d.ts} +20 -21
- package/src/app/seguridad/modelos/EmpresaModel.d.ts +23 -0
- package/src/app/seguridad/modelos/EmpresaSeguridadModel.d.ts +18 -0
- package/src/app/seguridad/modelos/{EntradaComplementoModel.ts → EntradaComplementoModel.d.ts} +6 -9
- package/src/app/seguridad/modelos/EtiquetaModel.d.ts +4 -0
- package/src/app/seguridad/modelos/Etiquetas.d.ts +10 -0
- package/src/app/seguridad/modelos/{ForeingWraperModel.ts → ForeingWraperModel.d.ts} +6 -9
- package/src/app/seguridad/modelos/FuenteCampoAtributoModel.d.ts +15 -0
- package/src/app/seguridad/modelos/{FuenteCampoModel.ts → FuenteCampoModel.d.ts} +16 -20
- package/src/app/seguridad/modelos/FuenteDato.d.ts +18 -0
- package/src/app/seguridad/modelos/FuenteEntradaModel.d.ts +8 -0
- package/src/app/seguridad/modelos/{FuenteGeneralModel.ts → FuenteGeneralModel.d.ts} +36 -55
- package/src/app/seguridad/modelos/FuenteLineaServicioModel.d.ts +16 -0
- package/src/app/seguridad/modelos/FuenteProcesoGeneralModel.d.ts +10 -0
- package/src/app/seguridad/modelos/{FuenteServicioModel.ts → FuenteServicioModel.d.ts} +47 -61
- package/src/app/seguridad/modelos/FuncionalidadModel.d.ts +8 -0
- package/src/app/seguridad/modelos/GeneralModel.d.ts +8 -0
- package/src/app/seguridad/modelos/{GrupoAccesoModel.ts → GrupoAccesoModel.d.ts} +6 -9
- package/src/app/seguridad/modelos/GrupoControlFuncionModel.d.ts +9 -0
- package/src/app/seguridad/modelos/GrupoFuenteModel.d.ts +13 -0
- package/src/app/seguridad/modelos/GrupoPermisoModel.d.ts +13 -0
- package/src/app/seguridad/modelos/{JoinFromModel.ts → JoinFromModel.d.ts} +4 -4
- package/src/app/seguridad/modelos/ListaServicioModel.d.ts +16 -0
- package/src/app/seguridad/modelos/LlaveForaneaModel.d.ts +6 -0
- package/src/app/seguridad/modelos/LoginModel.d.ts +17 -0
- package/src/app/seguridad/modelos/MensajeSistemaModel.d.ts +7 -0
- package/src/app/seguridad/modelos/{MenuPortalModel.ts → MenuPortalModel.d.ts} +4 -5
- package/src/app/seguridad/modelos/ModulosModel.d.ts +14 -0
- package/src/app/seguridad/modelos/{ObjetoReporteModel.ts → ObjetoReporteModel.d.ts} +5 -6
- package/src/app/seguridad/modelos/PaginaPortalModel.d.ts +19 -0
- package/src/app/seguridad/modelos/ParametroComponenteModel.d.ts +8 -0
- package/src/app/seguridad/modelos/ParametrosGeneralModel.d.ts +8 -0
- package/src/app/seguridad/modelos/PermisoFuncionModel.d.ts +8 -0
- package/src/app/seguridad/modelos/PermisocontenidoModel.d.ts +18 -0
- package/src/app/seguridad/modelos/{PeticionModel.ts → PeticionModel.d.ts} +15 -20
- package/src/app/seguridad/modelos/PreguntaSeguridadModel.d.ts +6 -0
- package/src/app/seguridad/modelos/PropiedadModel.d.ts +9 -0
- package/src/app/seguridad/modelos/PublicacionWebModel.d.ts +25 -0
- package/src/app/seguridad/modelos/PuntoProcesoModel.d.ts +6 -0
- package/src/app/seguridad/modelos/RecursoPunto.d.ts +12 -0
- package/src/app/seguridad/modelos/RecursoPuntoModel.d.ts +12 -0
- package/src/app/seguridad/modelos/ReporteBanda.d.ts +7 -0
- package/src/app/seguridad/modelos/ReporteColumna.d.ts +32 -0
- package/src/app/seguridad/modelos/ReporteColumnario.d.ts +68 -0
- package/src/app/seguridad/modelos/ReporteColumnarioMarcador.d.ts +23 -0
- package/src/app/seguridad/modelos/{ReporteEntradaModel.ts → ReporteEntradaModel.d.ts} +19 -21
- package/src/app/seguridad/modelos/{ReporteFuenteModel.ts → ReporteFuenteModel.d.ts} +87 -141
- package/src/app/seguridad/modelos/ReporteMarcador.d.ts +39 -0
- package/src/app/seguridad/modelos/ReporteSoporte.d.ts +9 -0
- package/src/app/seguridad/modelos/ReporteTabla.d.ts +12 -0
- package/src/app/seguridad/modelos/RespuestaModel.d.ts +8 -0
- package/src/app/seguridad/modelos/{RolModel.ts → RolModel.d.ts} +37 -41
- package/src/app/seguridad/modelos/ServidorCorreoModel.d.ts +25 -0
- package/src/app/seguridad/modelos/SistemaMensajeModel.d.ts +8 -0
- package/src/app/seguridad/modelos/SitioPortalModel.d.ts +24 -0
- package/src/app/seguridad/modelos/TablaFromModel.d.ts +4 -0
- package/src/app/seguridad/modelos/TareasModel.d.ts +49 -0
- package/src/app/seguridad/modelos/TextoModel.d.ts +8 -0
- package/src/app/seguridad/modelos/TipoEtiqueta.d.ts +7 -0
- package/src/app/seguridad/modelos/UnionModel.d.ts +11 -0
- package/src/app/seguridad/modelos/{UsuarioModel.ts → UsuarioModel.d.ts} +49 -60
- package/src/app/seguridad/modelos/UsuariogrupoModel.d.ts +22 -0
- package/src/app/seguridad/modelos/aplicacion-propiedad-model.d.ts +13 -0
- package/src/app/seguridad/modelos/contenidoCorreoModel.d.ts +9 -0
- package/src/app/shared/componentes/input-helper-seleccion-plantilla/input-helper-seleccion-plantilla.component.d.ts +47 -0
- package/src/app/shared/servicios/cargar-archivos.service.d.ts +15 -0
- package/src/app/shared/servicios/cargar-mapas.service.d.ts +18 -0
- package/src/app/shared/servicios/encriptado-basico.service.d.ts +10 -0
- package/src/app/shared/servicios/general.service.d.ts +24 -0
- package/src/app/shared/servicios/parametros-navegacion.service.d.ts +9 -0
- package/src/app/webcommon/pages/cargue-plantilla/cargue-plantilla-general/cargue-plantilla-general.component.d.ts +79 -0
- package/src/app/webcommon/pages/ejecucion-reporte/detalle-campo-reporte/detalle-campo-reporte.component.d.ts +79 -0
- package/src/app/webcommon/pages/ejecucion-reporte/detalle-distribucion-reporte/detalle-distribucion-reporte.component.d.ts +29 -0
- package/src/app/webcommon/pages/ejecucion-reporte/detalle-ejecucion-reporte/detalle-ejecucion-reporte.page.d.ts +69 -0
- package/src/app/webcommon/pages/ejecucion-reporte/detalle-entrada-reporte/detalle-entrada-reporte.component.d.ts +51 -0
- package/src/app/webcommon/pages/ejecucion-reporte/detalle-punto-proceso-reporte/detalle-punto-proceso-reporte.component.d.ts +77 -0
- package/src/app/webcommon/pages/ejecucion-reporte/detalle-tipo-reporte/detalle-tipo-reporte.component.d.ts +279 -0
- package/src/app/webcommon/pages/ejecucion-reporte/listado-ejecucion-reporte/listado-ejecucion-reporte.page.d.ts +42 -0
- package/src/app/webcommon/pages/ejecucion-reporte-externo/listado-ejecucion-reporte-externo/listado-ejecucion-reporte-externo.component.d.ts +35 -0
- package/src/app/webcommon/pages/fuente/importar-fuente-con/importar-fuente-con.component.d.ts +146 -0
- package/src/app/webcommon/pages/fuente/importar-fuente-general/importar-fuente-general.component.d.ts +49 -0
- package/src/app/webcommon/pages/fuente-reporte/fuente-reporte.component.d.ts +132 -0
- package/src/app/webcommon/pages/fuenteGeneral/fuente-general-servicio/fuente-general-servicio.component.d.ts +64 -0
- package/src/app/webcommon/pages/fuenteGeneral/listado-fuente-general/listado-fuente-general.page.d.ts +33 -0
- package/src/app/webcommon/pages/fuenteGeneral/mantenimiento-fuente-general/mantenimiento-fuente-general.page.d.ts +149 -0
- package/src/app/webcommon/pipes/dashboard.pipe.d.ts +48 -0
- package/src/app/webcommon/pipes/fuente.pipe.d.ts +136 -0
- package/src/app/webcommon/pipes/general.pipe.d.ts +647 -0
- package/src/app/webcommon/pipes/reporte-columnario.pipe.d.ts +59 -0
- package/src/app/webcommon/pipes/reporte-fuente.pipe.d.ts +193 -0
- package/src/app/webcommon/popups/popup-campos-fuente-general/popup-campos-fuente-general.component.d.ts +59 -0
- package/src/app/webcommon/popups/popup-convertir-plantillas/popup-convertir-plantillas.component.d.ts +27 -0
- package/src/app/webcommon/popups/popup-editor-formula/popup-editor-formula.component.d.ts +21 -0
- package/src/app/webcommon/popups/popup-punto-proceso/popup-punto-proceso.component.d.ts +64 -0
- package/src/app/webcommon/popups/popup-recurso/popup-recurso.component.d.ts +63 -0
- package/src/app/webcommon/popups/popup-reporte/popup-reporte.component.d.ts +105 -0
- package/src/app/webcommon/popups/popup-sentencia/popup-sentencia.component.d.ts +21 -0
- package/src/app/webcommon/popups/popup-tablas-fuente/popup-tablas-fuente.component.d.ts +42 -0
- package/src/app/webcommon/popups/punto-proceso-comp/punto-proceso-comp.component.d.ts +30 -0
- package/src/app/webcommon/services/carguelinea.service.d.ts +19 -0
- package/src/app/webcommon/services/dashboard.service.d.ts +27 -0
- package/src/app/webcommon/services/ejecucionreporte.service.d.ts +34 -0
- package/src/app/webcommon/services/fechaUtils.service.d.ts +30 -0
- package/src/app/webcommon/services/fuentegeneral.service.d.ts +24 -0
- package/src/app/webcommon/services/homologacion.service.d.ts +17 -0
- package/src/app/webcommon/services/plantillas.service.d.ts +26 -0
- package/src/app/webcommon/services/reportes.service.d.ts +35 -0
- package/src/app/webcommon/webcommon.module.d.ts +6 -0
- package/src/environments/environment.d.ts +7 -0
- package/.browserslistrc +0 -15
- package/.editorconfig +0 -16
- package/.vscode/extensions.json +0 -4
- package/.vscode/launch.json +0 -20
- package/.vscode/tasks.json +0 -42
- package/angular.json +0 -143
- package/karma.conf.js +0 -44
- package/ng-package.json +0 -21
- package/src/app/app.component.html +0 -12
- package/src/app/app.component.scss +0 -0
- package/src/app/app.component.spec.ts +0 -29
- package/src/app/app.component.ts +0 -34
- package/src/app/app.config.ts +0 -43
- package/src/app/app.module.ts +0 -10
- package/src/app/app.routes.ts +0 -88
- package/src/app/core/componentes/breadcrumb/breadcrumb.component.html +0 -6
- package/src/app/core/componentes/breadcrumb/breadcrumb.component.scss +0 -0
- package/src/app/core/componentes/breadcrumb/breadcrumb.component.ts +0 -39
- package/src/app/core/componentes/carga-breadcrumb/carga-breadcrumb.component.html +0 -1
- package/src/app/core/componentes/carga-breadcrumb/carga-breadcrumb.component.scss +0 -0
- package/src/app/core/componentes/carga-breadcrumb/carga-breadcrumb.component.ts +0 -31
- package/src/app/core/componentes/carga-pantalla-completa/carga-pantalla-completa.component.html +0 -9
- package/src/app/core/componentes/carga-pantalla-completa/carga-pantalla-completa.component.scss +0 -28
- package/src/app/core/componentes/carga-pantalla-completa/carga-pantalla-completa.component.ts +0 -32
- package/src/app/core/componentes/filtro-general/filtro-general.component.html +0 -36
- package/src/app/core/componentes/filtro-general/filtro-general.component.scss +0 -3
- package/src/app/core/componentes/filtro-general/filtro-general.component.ts +0 -207
- package/src/app/core/componentes/footer/footer.component.html +0 -13
- package/src/app/core/componentes/footer/footer.component.scss +0 -3
- package/src/app/core/componentes/footer/footer.component.ts +0 -20
- package/src/app/core/componentes/formulariodinamico/formulariodinamico.component.html +0 -267
- package/src/app/core/componentes/formulariodinamico/formulariodinamico.component.scss +0 -21
- package/src/app/core/componentes/formulariodinamico/formulariodinamico.component.ts +0 -278
- package/src/app/core/componentes/formulariodinamico/objetosformulario/CampoFormulario.ts +0 -118
- package/src/app/core/componentes/formulariodinamico/objetosformulario/CampoFormularioCons.ts +0 -76
- package/src/app/core/componentes/formulariodinamico/objetosformulario/CampoFormularioNuevo.ts +0 -67
- package/src/app/core/componentes/formulariodinamico/objetosformulario/HashDirective.ts +0 -11
- package/src/app/core/componentes/inicio-component/inicio-component.component.html +0 -29
- package/src/app/core/componentes/inicio-component/inicio-component.component.scss +0 -63
- package/src/app/core/componentes/inicio-component/inicio-component.component.ts +0 -70
- package/src/app/core/componentes/menu/menu.component.html +0 -13
- package/src/app/core/componentes/menu/menu.component.scss +0 -36
- package/src/app/core/componentes/menu/menu.component.ts +0 -35
- package/src/app/core/componentes/tabla-general/tabla-general.component.html +0 -90
- package/src/app/core/componentes/tabla-general/tabla-general.component.scss +0 -0
- package/src/app/core/componentes/tabla-general/tabla-general.component.ts +0 -96
- package/src/app/core/core.module.ts +0 -22
- package/src/app/core/errores/authentication.error.ts +0 -6
- package/src/app/core/modelos/error-response.model.ts +0 -9
- package/src/app/core/modelos/table-column.model.ts +0 -10
- package/src/app/core/modelos/user.model.ts +0 -6
- package/src/app/core/plantilla-general/plantilla-general.template.html +0 -139
- package/src/app/core/plantilla-general/plantilla-general.template.scss +0 -37
- package/src/app/core/plantilla-general/plantilla-general.template.ts +0 -233
- package/src/app/core/servicios/auth.service.ts +0 -189
- package/src/app/core/servicios/cargar-control-funcionalidad.service.ts +0 -48
- package/src/app/core/servicios/click-posicion.service.ts +0 -16
- package/src/app/core/servicios/data-exporter-table.utils.ts +0 -78
- package/src/app/core/servicios/error-interceptor.service.ts +0 -208
- package/src/app/core/servicios/guardias/auth.guard.ts +0 -51
- package/src/app/core/servicios/guardias/publico.guard.ts +0 -26
- package/src/app/core/servicios/interceptores/loading-interceptor.ts +0 -37
- package/src/app/core/servicios/interceptores/token-interceptor.service.ts +0 -177
- package/src/app/core/servicios/loading.service.ts +0 -48
- package/src/app/core/servicios/menu.service.ts +0 -153
- package/src/app/core/servicios/spinner-service.ts +0 -18
- package/src/app/core/servicios/storage.service.ts +0 -68
- package/src/app/core/servicios/template.service.ts +0 -91
- package/src/app/core/servicios/toast.service.ts +0 -114
- package/src/app/core/servicios/utils.service.ts +0 -381
- package/src/app/core/sharedlib.module.ts +0 -11
- package/src/app/core/utilidades/color.util.ts +0 -197
- package/src/app/layout/app.breadcrumb.component.html +0 -20
- package/src/app/layout/app.breadcrumb.component.ts +0 -78
- package/src/app/layout/app.footer.component.html +0 -18
- package/src/app/layout/app.footer.component.ts +0 -15
- package/src/app/layout/app.layout.component.html +0 -20
- package/src/app/layout/app.layout.component.ts +0 -201
- package/src/app/layout/app.layout.module.ts +0 -9
- package/src/app/layout/app.menu.component.html +0 -6
- package/src/app/layout/app.menu.component.ts +0 -51
- package/src/app/layout/app.menu.service.ts +0 -23
- package/src/app/layout/app.menuitem.component.ts +0 -252
- package/src/app/layout/app.menuprofile.component.html +0 -35
- package/src/app/layout/app.menuprofile.component.ts +0 -60
- package/src/app/layout/app.rightmenu.component.html +0 -72
- package/src/app/layout/app.rightmenu.component.ts +0 -24
- package/src/app/layout/app.sidebar.component.html +0 -40
- package/src/app/layout/app.sidebar.component.ts +0 -81
- package/src/app/layout/app.topbar.component.html +0 -214
- package/src/app/layout/app.topbar.component.ts +0 -336
- package/src/app/layout/config/app.config.component.html +0 -125
- package/src/app/layout/config/app.config.component.ts +0 -206
- package/src/app/layout/config/app.config.module.ts +0 -11
- package/src/app/layout/service/app.layout.service.ts +0 -191
- package/src/app/publico/pages/login/login.page.html +0 -53
- package/src/app/publico/pages/login/login.page.scss +0 -210
- package/src/app/publico/pages/login/login.page.ts +0 -130
- package/src/app/publico/pages/not-found/not-found.page.html +0 -36
- package/src/app/publico/pages/not-found/not-found.page.scss +0 -2
- package/src/app/publico/pages/not-found/not-found.page.ts +0 -46
- package/src/app/publico/pages/seleccion-rol/seleccion-rol.component.html +0 -58
- package/src/app/publico/pages/seleccion-rol/seleccion-rol.component.scss +0 -49
- package/src/app/publico/pages/seleccion-rol/seleccion-rol.component.ts +0 -176
- package/src/app/publico/pages/timeout/timeout.page.html +0 -24
- package/src/app/publico/pages/timeout/timeout.page.scss +0 -2
- package/src/app/publico/pages/timeout/timeout.page.ts +0 -18
- package/src/app/seguridad/constantes/ConstantesGenerales.ts +0 -30
- package/src/app/seguridad/constantes/ReporteEntradaConstantes.ts +0 -18
- package/src/app/seguridad/constantes/ReporteFuenteConstantes.ts +0 -13
- package/src/app/seguridad/modelos/AplicacionModel.ts +0 -11
- package/src/app/seguridad/modelos/ArchivoPortalModel.ts +0 -16
- package/src/app/seguridad/modelos/AtributoPuntoModel.ts +0 -9
- package/src/app/seguridad/modelos/AtributoSSOportalModel.ts +0 -22
- package/src/app/seguridad/modelos/CargueLineaModel.ts +0 -17
- package/src/app/seguridad/modelos/ColoresRGB.ts +0 -17
- package/src/app/seguridad/modelos/ColumnaFuenteModel.ts +0 -9
- package/src/app/seguridad/modelos/ComplementoModel.ts +0 -10
- package/src/app/seguridad/modelos/ComponentePaginaModel.ts +0 -22
- package/src/app/seguridad/modelos/ConexionModel.ts +0 -15
- package/src/app/seguridad/modelos/ControlFuncionModel.ts +0 -10
- package/src/app/seguridad/modelos/CorreoModel.ts +0 -45
- package/src/app/seguridad/modelos/CorreoWSModel.ts +0 -49
- package/src/app/seguridad/modelos/CruceRecursoPuntoModel.ts +0 -14
- package/src/app/seguridad/modelos/EmpresaModel.ts +0 -25
- package/src/app/seguridad/modelos/EmpresaSeguridadModel.ts +0 -19
- package/src/app/seguridad/modelos/EtiquetaModel.ts +0 -4
- package/src/app/seguridad/modelos/Etiquetas.ts +0 -14
- package/src/app/seguridad/modelos/FuenteCampoAtributoModel.ts +0 -21
- package/src/app/seguridad/modelos/FuenteDato.ts +0 -19
- package/src/app/seguridad/modelos/FuenteEntradaModel.ts +0 -9
- package/src/app/seguridad/modelos/FuenteLineaServicioModel.ts +0 -19
- package/src/app/seguridad/modelos/FuenteProcesoGeneralModel.ts +0 -14
- package/src/app/seguridad/modelos/FuncionalidadModel.ts +0 -12
- package/src/app/seguridad/modelos/GeneralModel.ts +0 -16
- package/src/app/seguridad/modelos/GrupoControlFuncionModel.ts +0 -12
- package/src/app/seguridad/modelos/GrupoFuenteModel.ts +0 -17
- package/src/app/seguridad/modelos/GrupoPermisoModel.ts +0 -16
- package/src/app/seguridad/modelos/ListaServicioModel.ts +0 -18
- package/src/app/seguridad/modelos/LlaveForaneaModel.ts +0 -6
- package/src/app/seguridad/modelos/LoginModel.ts +0 -19
- package/src/app/seguridad/modelos/MensajeSistemaModel.ts +0 -10
- package/src/app/seguridad/modelos/ModulosModel.ts +0 -17
- package/src/app/seguridad/modelos/PaginaPortalModel.ts +0 -23
- package/src/app/seguridad/modelos/ParametroComponenteModel.ts +0 -9
- package/src/app/seguridad/modelos/ParametrosGeneralModel.ts +0 -16
- package/src/app/seguridad/modelos/PermisoFuncionModel.ts +0 -11
- package/src/app/seguridad/modelos/PermisocontenidoModel.ts +0 -20
- package/src/app/seguridad/modelos/PreguntaSeguridadModel.ts +0 -9
- package/src/app/seguridad/modelos/PropiedadModel.ts +0 -12
- package/src/app/seguridad/modelos/PublicacionWebModel.ts +0 -29
- package/src/app/seguridad/modelos/PuntoProcesoModel.ts +0 -7
- package/src/app/seguridad/modelos/RecursoPunto.ts +0 -13
- package/src/app/seguridad/modelos/RecursoPuntoModel.ts +0 -13
- package/src/app/seguridad/modelos/ReporteBanda.ts +0 -9
- package/src/app/seguridad/modelos/ReporteColumna.ts +0 -33
- package/src/app/seguridad/modelos/ReporteColumnario.ts +0 -82
- package/src/app/seguridad/modelos/ReporteColumnarioMarcador.ts +0 -31
- package/src/app/seguridad/modelos/ReporteMarcador.ts +0 -40
- package/src/app/seguridad/modelos/ReporteSoporte.ts +0 -10
- package/src/app/seguridad/modelos/ReporteTabla.ts +0 -14
- package/src/app/seguridad/modelos/RespuestaModel.ts +0 -9
- package/src/app/seguridad/modelos/ServidorCorreoModel.ts +0 -31
- package/src/app/seguridad/modelos/SistemaMensajeModel.ts +0 -11
- package/src/app/seguridad/modelos/SitioPortalModel.ts +0 -29
- package/src/app/seguridad/modelos/TablaFromModel.ts +0 -5
- package/src/app/seguridad/modelos/TareasModel.ts +0 -54
- package/src/app/seguridad/modelos/TextoModel.ts +0 -11
- package/src/app/seguridad/modelos/TipoEtiqueta.ts +0 -8
- package/src/app/seguridad/modelos/UnionModel.ts +0 -14
- package/src/app/seguridad/modelos/UsuariogrupoModel.ts +0 -27
- package/src/app/seguridad/modelos/aplicacion-propiedad-model.ts +0 -16
- package/src/app/seguridad/modelos/contenidoCorreoModel.ts +0 -13
- package/src/app/shared/componentes/input-helper-seleccion-plantilla/input-helper-seleccion-plantilla.component.html +0 -47
- package/src/app/shared/componentes/input-helper-seleccion-plantilla/input-helper-seleccion-plantilla.component.scss +0 -8
- package/src/app/shared/componentes/input-helper-seleccion-plantilla/input-helper-seleccion-plantilla.component.ts +0 -144
- package/src/app/shared/servicios/cargar-archivos.service.ts +0 -51
- package/src/app/shared/servicios/cargar-mapas.service.ts +0 -43
- package/src/app/shared/servicios/encriptado-basico.service.ts +0 -54
- package/src/app/shared/servicios/encriptador-simetrico.service.ts +0 -29
- package/src/app/shared/servicios/general.service.ts +0 -124
- package/src/app/shared/servicios/parametros-navegacion.service.ts +0 -20
- package/src/app/shared/servicios/plantillas.service.ts +0 -22
- package/src/app/shared/servicios/tarea.service.ts +0 -71
- package/src/app/shared/utilidades/translate-loader.util.ts +0 -44
- package/src/app/webcommon/pages/cargue-plantilla/cargue-plantilla-general/cargue-plantilla-general.component.html +0 -175
- package/src/app/webcommon/pages/cargue-plantilla/cargue-plantilla-general/cargue-plantilla-general.component.scss +0 -78
- package/src/app/webcommon/pages/cargue-plantilla/cargue-plantilla-general/cargue-plantilla-general.component.ts +0 -438
- package/src/app/webcommon/pages/ejecucion-reporte/detalle-campo-reporte/detalle-campo-reporte.component.html +0 -87
- package/src/app/webcommon/pages/ejecucion-reporte/detalle-campo-reporte/detalle-campo-reporte.component.scss +0 -0
- package/src/app/webcommon/pages/ejecucion-reporte/detalle-campo-reporte/detalle-campo-reporte.component.ts +0 -189
- package/src/app/webcommon/pages/ejecucion-reporte/detalle-distribucion-reporte/detalle-distribucion-reporte.component.html +0 -117
- package/src/app/webcommon/pages/ejecucion-reporte/detalle-distribucion-reporte/detalle-distribucion-reporte.component.scss +0 -0
- package/src/app/webcommon/pages/ejecucion-reporte/detalle-distribucion-reporte/detalle-distribucion-reporte.component.ts +0 -87
- package/src/app/webcommon/pages/ejecucion-reporte/detalle-ejecucion-reporte/detalle-ejecucion-reporte.page.html +0 -158
- package/src/app/webcommon/pages/ejecucion-reporte/detalle-ejecucion-reporte/detalle-ejecucion-reporte.page.scss +0 -6
- package/src/app/webcommon/pages/ejecucion-reporte/detalle-ejecucion-reporte/detalle-ejecucion-reporte.page.ts +0 -345
- package/src/app/webcommon/pages/ejecucion-reporte/detalle-entrada-reporte/detalle-entrada-reporte.component.html +0 -131
- package/src/app/webcommon/pages/ejecucion-reporte/detalle-entrada-reporte/detalle-entrada-reporte.component.scss +0 -0
- package/src/app/webcommon/pages/ejecucion-reporte/detalle-entrada-reporte/detalle-entrada-reporte.component.ts +0 -198
- package/src/app/webcommon/pages/ejecucion-reporte/detalle-punto-proceso-reporte/detalle-punto-proceso-reporte.component.html +0 -206
- package/src/app/webcommon/pages/ejecucion-reporte/detalle-punto-proceso-reporte/detalle-punto-proceso-reporte.component.scss +0 -3
- package/src/app/webcommon/pages/ejecucion-reporte/detalle-punto-proceso-reporte/detalle-punto-proceso-reporte.component.ts +0 -328
- package/src/app/webcommon/pages/ejecucion-reporte/detalle-tipo-reporte/detalle-tipo-reporte.component.html +0 -2121
- package/src/app/webcommon/pages/ejecucion-reporte/detalle-tipo-reporte/detalle-tipo-reporte.component.scss +0 -241
- package/src/app/webcommon/pages/ejecucion-reporte/detalle-tipo-reporte/detalle-tipo-reporte.component.ts +0 -1698
- package/src/app/webcommon/pages/ejecucion-reporte/listado-ejecucion-reporte/listado-ejecucion-reporte.page.html +0 -33
- package/src/app/webcommon/pages/ejecucion-reporte/listado-ejecucion-reporte/listado-ejecucion-reporte.page.scss +0 -0
- package/src/app/webcommon/pages/ejecucion-reporte/listado-ejecucion-reporte/listado-ejecucion-reporte.page.ts +0 -96
- package/src/app/webcommon/pages/ejecucion-reporte-externo/listado-ejecucion-reporte-externo/listado-ejecucion-reporte-externo.component.html +0 -54
- package/src/app/webcommon/pages/ejecucion-reporte-externo/listado-ejecucion-reporte-externo/listado-ejecucion-reporte-externo.component.scss +0 -0
- package/src/app/webcommon/pages/ejecucion-reporte-externo/listado-ejecucion-reporte-externo/listado-ejecucion-reporte-externo.component.ts +0 -111
- package/src/app/webcommon/pages/fuente/importar-fuente-con/importar-fuente-con.component.html +0 -394
- package/src/app/webcommon/pages/fuente/importar-fuente-con/importar-fuente-con.component.scss +0 -10
- package/src/app/webcommon/pages/fuente/importar-fuente-con/importar-fuente-con.component.ts +0 -610
- package/src/app/webcommon/pages/fuente/importar-fuente-general/importar-fuente-general.component.html +0 -130
- package/src/app/webcommon/pages/fuente/importar-fuente-general/importar-fuente-general.component.scss +0 -0
- package/src/app/webcommon/pages/fuente/importar-fuente-general/importar-fuente-general.component.ts +0 -172
- package/src/app/webcommon/pages/fuente-reporte/fuente-reporte.component.html +0 -404
- package/src/app/webcommon/pages/fuente-reporte/fuente-reporte.component.scss +0 -5
- package/src/app/webcommon/pages/fuente-reporte/fuente-reporte.component.ts +0 -763
- package/src/app/webcommon/pages/fuenteGeneral/fuente-general-servicio/fuente-general-servicio.component.html +0 -145
- package/src/app/webcommon/pages/fuenteGeneral/fuente-general-servicio/fuente-general-servicio.component.scss +0 -0
- package/src/app/webcommon/pages/fuenteGeneral/fuente-general-servicio/fuente-general-servicio.component.ts +0 -302
- package/src/app/webcommon/pages/fuenteGeneral/listado-fuente-general/listado-fuente-general.page.html +0 -19
- package/src/app/webcommon/pages/fuenteGeneral/listado-fuente-general/listado-fuente-general.page.scss +0 -0
- package/src/app/webcommon/pages/fuenteGeneral/listado-fuente-general/listado-fuente-general.page.ts +0 -88
- package/src/app/webcommon/pages/fuenteGeneral/mantenimiento-fuente-general/mantenimiento-fuente-general.page.html +0 -714
- package/src/app/webcommon/pages/fuenteGeneral/mantenimiento-fuente-general/mantenimiento-fuente-general.page.scss +0 -0
- package/src/app/webcommon/pages/fuenteGeneral/mantenimiento-fuente-general/mantenimiento-fuente-general.page.ts +0 -688
- package/src/app/webcommon/pipes/dashboard.pipe.ts +0 -79
- package/src/app/webcommon/pipes/fuente.pipe.ts +0 -207
- package/src/app/webcommon/pipes/general.pipe.ts +0 -1046
- package/src/app/webcommon/pipes/reporte-columnario.pipe.ts +0 -101
- package/src/app/webcommon/pipes/reporte-fuente.pipe.ts +0 -306
- package/src/app/webcommon/pipes/sara-general.pipe.ts +0 -289
- package/src/app/webcommon/popups/popup-campos-fuente-general/popup-campos-fuente-general.component.html +0 -90
- package/src/app/webcommon/popups/popup-campos-fuente-general/popup-campos-fuente-general.component.scss +0 -0
- package/src/app/webcommon/popups/popup-campos-fuente-general/popup-campos-fuente-general.component.ts +0 -262
- package/src/app/webcommon/popups/popup-convertir-plantillas/popup-convertir-plantillas.component.html +0 -50
- package/src/app/webcommon/popups/popup-convertir-plantillas/popup-convertir-plantillas.component.scss +0 -0
- package/src/app/webcommon/popups/popup-convertir-plantillas/popup-convertir-plantillas.component.ts +0 -135
- package/src/app/webcommon/popups/popup-editor-formula/popup-editor-formula.component.html +0 -44
- package/src/app/webcommon/popups/popup-editor-formula/popup-editor-formula.component.scss +0 -0
- package/src/app/webcommon/popups/popup-editor-formula/popup-editor-formula.component.ts +0 -66
- package/src/app/webcommon/popups/popup-punto-proceso/popup-punto-proceso.component.html +0 -41
- package/src/app/webcommon/popups/popup-punto-proceso/popup-punto-proceso.component.scss +0 -0
- package/src/app/webcommon/popups/popup-punto-proceso/popup-punto-proceso.component.ts +0 -283
- package/src/app/webcommon/popups/popup-recurso/popup-recurso.component.html +0 -179
- package/src/app/webcommon/popups/popup-recurso/popup-recurso.component.scss +0 -3
- package/src/app/webcommon/popups/popup-recurso/popup-recurso.component.ts +0 -266
- package/src/app/webcommon/popups/popup-reporte/popup-reporte.component.html +0 -273
- package/src/app/webcommon/popups/popup-reporte/popup-reporte.component.scss +0 -13
- package/src/app/webcommon/popups/popup-reporte/popup-reporte.component.ts +0 -564
- package/src/app/webcommon/popups/popup-sentencia/popup-sentencia.component.html +0 -10
- package/src/app/webcommon/popups/popup-sentencia/popup-sentencia.component.scss +0 -5
- package/src/app/webcommon/popups/popup-sentencia/popup-sentencia.component.ts +0 -58
- package/src/app/webcommon/popups/popup-tablas-fuente/popup-tablas-fuente.component.html +0 -71
- package/src/app/webcommon/popups/popup-tablas-fuente/popup-tablas-fuente.component.scss +0 -0
- package/src/app/webcommon/popups/popup-tablas-fuente/popup-tablas-fuente.component.ts +0 -154
- package/src/app/webcommon/popups/punto-proceso-comp/punto-proceso-comp.component.html +0 -11
- package/src/app/webcommon/popups/punto-proceso-comp/punto-proceso-comp.component.scss +0 -0
- package/src/app/webcommon/popups/punto-proceso-comp/punto-proceso-comp.component.ts +0 -82
- package/src/app/webcommon/services/carguelinea.service.ts +0 -74
- package/src/app/webcommon/services/dashboard.service.ts +0 -258
- package/src/app/webcommon/services/ejecucionreporte.service.ts +0 -160
- package/src/app/webcommon/services/fechaUtils.service.ts +0 -127
- package/src/app/webcommon/services/fuentegeneral.service.ts +0 -74
- package/src/app/webcommon/services/homologacion.service.ts +0 -49
- package/src/app/webcommon/services/plantillas.service.ts +0 -165
- package/src/app/webcommon/services/reportes.service.ts +0 -133
- package/src/app/webcommon/webcommon.module.ts +0 -11
- package/src/environments/environment.prod.ts +0 -3
- package/src/environments/environment.ts +0 -25
- package/src/favicon.ico +0 -0
- package/src/index.html +0 -14
- package/src/main.ts +0 -12
- package/src/polyfills.ts +0 -53
- package/src/test.ts +0 -14
- package/tsconfig.app.json +0 -15
- package/tsconfig.json +0 -35
- package/tsconfig.spec.json +0 -18
|
@@ -1,90 +0,0 @@
|
|
|
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
|
|
@@ -1,262 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,50 +0,0 @@
|
|
|
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
DELETED
|
@@ -1,135 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,44 +0,0 @@
|
|
|
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
|
|
@@ -1,66 +0,0 @@
|
|
|
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
|
-
}
|