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,267 +0,0 @@
|
|
|
1
|
-
<p-table [value]="campos">
|
|
2
|
-
<ng-template pTemplate="body" let-campo>
|
|
3
|
-
<tr *ngIf="validarVisibilidadCampos(campo)">
|
|
4
|
-
<td style="width: 20%;">
|
|
5
|
-
<label *ngIf="campo.editable != 'N'" [style.color]="campo.resaltado ? 'var(--color-500) !important' : ''"
|
|
6
|
-
[class]="campo.tipo == 'I' ? 'font-bold color-400 mt-7' : ''">
|
|
7
|
-
{{ campo.descripcion }}
|
|
8
|
-
<ng-container *ngIf="campo.editable != 'N' && campo.obligatorio">*</ng-container>
|
|
9
|
-
</label>
|
|
10
|
-
</td>
|
|
11
|
-
<td style="width: 80%">
|
|
12
|
-
<div class="p-fluid p-formgrid grid">
|
|
13
|
-
<div [ngClass]="campo.ayuda && campo.editable != 'N' ? 'col-11' : 'col-12'">
|
|
14
|
-
<!--campo tipo FECHA-->
|
|
15
|
-
<p-calendar
|
|
16
|
-
class="w-full"
|
|
17
|
-
appendTo="body"
|
|
18
|
-
type="text"
|
|
19
|
-
[(ngModel)]="campo.valor"
|
|
20
|
-
[disabled]="!editable || campo.editable == 'L'"
|
|
21
|
-
dateFormat="dd/mm/yy"
|
|
22
|
-
[tabIndex]="campo.orden + 1"
|
|
23
|
-
*ngIf="campo.tipo == 'F' && campo.editable != 'N'"
|
|
24
|
-
[showIcon]="true"
|
|
25
|
-
[style.color]="campo.resaltado ? 'var(--color-500) !important' : ''"
|
|
26
|
-
[pTooltip]="campo.novedad ? campo.novedad : null" tooltipPosition="top"
|
|
27
|
-
[class.ng-dirty]="campo.obligatorio ? (!utilsService.validarCampoObligatorio(campo.valor) && validando) : false"
|
|
28
|
-
[class.ng-invalid]="campo.obligatorio ? (!utilsService.validarCampoObligatorio(campo.valor) && validando) : false"
|
|
29
|
-
|
|
30
|
-
></p-calendar>
|
|
31
|
-
|
|
32
|
-
<!--campo tipo HORA-->
|
|
33
|
-
<p-calendar
|
|
34
|
-
class="w-full"
|
|
35
|
-
appendTo="body"
|
|
36
|
-
[(ngModel)]="campo.valor"
|
|
37
|
-
[disabled]="!editable || campo.editable == 'L'"
|
|
38
|
-
[tabIndex]="campo.orden + 1"
|
|
39
|
-
*ngIf="campo.tipo == 'X' && campo.editable != 'N'"
|
|
40
|
-
[showTime]="true"
|
|
41
|
-
[showSeconds]="true"
|
|
42
|
-
[style.color]="campo.resaltado ? 'var(--color-500) !important' : ''"
|
|
43
|
-
[pTooltip]="campo.novedad ? campo.novedad : null" tooltipPosition="top"
|
|
44
|
-
[class.ng-dirty]="campo.obligatorio ? (!utilsService.validarCampoObligatorio(campo.valor) && validando) : false"
|
|
45
|
-
[class.ng-invalid]="campo.obligatorio ? (!utilsService.validarCampoObligatorio(campo.valor) && validando) : false"
|
|
46
|
-
></p-calendar>
|
|
47
|
-
|
|
48
|
-
<!--campo tipo HORA VALOR-->
|
|
49
|
-
<input
|
|
50
|
-
pInputText
|
|
51
|
-
type="time"
|
|
52
|
-
[disabled]="!editable || campo.editable == 'L'"
|
|
53
|
-
[(ngModel)]="campo.valor"
|
|
54
|
-
[tabIndex]="campo.orden + 1"
|
|
55
|
-
*ngIf="campo.tipo == 'Z' && campo.editable != 'N'"
|
|
56
|
-
[style.color]="campo.resaltado ? 'var(--color-500) !important' : ''"
|
|
57
|
-
[pTooltip]="campo.novedad ? campo.novedad : null" tooltipPosition="top"
|
|
58
|
-
[class.ng-dirty]="campo.obligatorio ? (!utilsService.validarCampoObligatorio(campo.valor) && validando) : false"
|
|
59
|
-
[class.ng-invalid]="campo.obligatorio ? (!utilsService.validarCampoObligatorio(campo.valor) && validando) : false"
|
|
60
|
-
/>
|
|
61
|
-
|
|
62
|
-
<!--campo tipo TEXTO-->
|
|
63
|
-
<input
|
|
64
|
-
pInputText
|
|
65
|
-
[disabled]="!editable || campo.editable == 'L'"
|
|
66
|
-
[(ngModel)]="campo.valor"
|
|
67
|
-
[tabIndex]="campo.orden + 1"
|
|
68
|
-
*ngIf="campo.tipo == 'T' && campo.editable != 'N'"
|
|
69
|
-
[style.color]="campo.resaltado ? 'var(--color-500) !important' : ''"
|
|
70
|
-
[pTooltip]="campo.novedad ? campo.novedad : null" tooltipPosition="top"
|
|
71
|
-
[class.ng-dirty]="campo.obligatorio ? (!utilsService.validarCampoObligatorio(campo.valor) && validando) : false"
|
|
72
|
-
[class.ng-invalid]="campo.obligatorio ? (!utilsService.validarCampoObligatorio(campo.valor) && validando) : false"
|
|
73
|
-
/>
|
|
74
|
-
|
|
75
|
-
<!--campo tipo AREA TEXTO-->
|
|
76
|
-
<textarea
|
|
77
|
-
pInputTextarea
|
|
78
|
-
[(ngModel)]="campo.valor"
|
|
79
|
-
rows="5"
|
|
80
|
-
cols="5"
|
|
81
|
-
[tabIndex]="campo.orden + 1"
|
|
82
|
-
[disabled]="!editable || campo.editable == 'L'"
|
|
83
|
-
*ngIf="campo.tipo == 'A' && campo.editable != 'N'"
|
|
84
|
-
class="w-full p-inputtextarea p-inputtext p-component p-element min-h-100 max-h-250"
|
|
85
|
-
[style.color]="campo.resaltado ? 'var(--color-500) !important' : ''"
|
|
86
|
-
[pTooltip]="campo.novedad ? campo.novedad : null" tooltipPosition="top"
|
|
87
|
-
[class.ng-dirty]="campo.obligatorio ? (!utilsService.validarCampoObligatorio(campo.valor) && validando) : false"
|
|
88
|
-
[class.ng-invalid]="campo.obligatorio ? (!utilsService.validarCampoObligatorio(campo.valor) && validando) : false"
|
|
89
|
-
>
|
|
90
|
-
</textarea>
|
|
91
|
-
|
|
92
|
-
<!--campo tipo NUMERO-->
|
|
93
|
-
<p-inputNumber
|
|
94
|
-
[disabled]="!editable || campo.editable == 'L'"
|
|
95
|
-
[(ngModel)]="campo.valor"
|
|
96
|
-
[tabIndex]="campo.orden + 1"
|
|
97
|
-
[maxlength]="campo.longitud"
|
|
98
|
-
*ngIf="campo.tipo == 'N' && campo.editable != 'N'"
|
|
99
|
-
[style.color]="campo.resaltado ? 'var(--color-500) !important' : ''"
|
|
100
|
-
[pTooltip]="campo.novedad ? campo.novedad : null" tooltipPosition="top"
|
|
101
|
-
[class.ng-dirty]="campo.obligatorio ? (!utilsService.validarCampoObligatorio(campo.valor) && validando) : false"
|
|
102
|
-
[class.ng-invalid]="campo.obligatorio ? (!utilsService.validarCampoObligatorio(campo.valor) && validando) : false"
|
|
103
|
-
>
|
|
104
|
-
</p-inputNumber>
|
|
105
|
-
|
|
106
|
-
<!--campo tipo DECIMAL-->
|
|
107
|
-
<p-inputNumber
|
|
108
|
-
[disabled]="!editable || campo.editable == 'L'"
|
|
109
|
-
[(ngModel)]="campo.valor"
|
|
110
|
-
mode="decimal"
|
|
111
|
-
[minFractionDigits]="2"
|
|
112
|
-
*ngIf="campo.tipo == 'D' && campo.editable != 'N'"
|
|
113
|
-
[style.color]="campo.resaltado ? 'var(--color-500) !important' : ''"
|
|
114
|
-
[pTooltip]="campo.novedad ? campo.novedad : null" tooltipPosition="top"
|
|
115
|
-
[class.ng-dirty]="campo.obligatorio ? (!utilsService.validarCampoObligatorio(campo.valor) && validando) : false"
|
|
116
|
-
[class.ng-invalid]="campo.obligatorio ? (!utilsService.validarCampoObligatorio(campo.valor) && validando) : false"
|
|
117
|
-
>
|
|
118
|
-
</p-inputNumber>
|
|
119
|
-
|
|
120
|
-
<!--campo tipo SECRET-->
|
|
121
|
-
<p-password
|
|
122
|
-
[feedback]="false"
|
|
123
|
-
[disabled]="!editable || campo.editable == 'L'"
|
|
124
|
-
[(ngModel)]="campo.valor"
|
|
125
|
-
[tabIndex]="campo.orden + 1"
|
|
126
|
-
*ngIf="campo.tipo == 'S' && campo.editable != 'N'"
|
|
127
|
-
[style.color]="campo.resaltado ? 'var(--color-500) !important' : ''"
|
|
128
|
-
[pTooltip]="campo.novedad ? campo.novedad : null" tooltipPosition="top"
|
|
129
|
-
[class.ng-dirty]="campo.obligatorio ? (!utilsService.validarCampoObligatorio(campo.valor) && validando) : false"
|
|
130
|
-
[class.ng-invalid]="campo.obligatorio ? (!utilsService.validarCampoObligatorio(campo.valor) && validando) : false"
|
|
131
|
-
></p-password>
|
|
132
|
-
|
|
133
|
-
<!--campo tipo COMBO-->
|
|
134
|
-
<p-dropdown
|
|
135
|
-
class="w-full"
|
|
136
|
-
appendTo="body"
|
|
137
|
-
[options]="campo.lista"
|
|
138
|
-
[autoDisplayFirst]="false"
|
|
139
|
-
[(ngModel)]="campo.valor"
|
|
140
|
-
[disabled]="!editable || campo.editable == 'L'"
|
|
141
|
-
*ngIf="campo.tipo == 'C' && campo.editable != 'N'"
|
|
142
|
-
[showClear]="!campo.obligatorio"
|
|
143
|
-
[style.color]="campo.resaltado ? 'var(--color-500) !important' : ''"
|
|
144
|
-
[pTooltip]="campo.novedad ? campo.novedad : null" tooltipPosition="top"
|
|
145
|
-
[class.ng-dirty]="campo.obligatorio ? (!utilsService.validarCampoObligatorio(campo.valor) && validando) : false"
|
|
146
|
-
[class.ng-invalid]="campo.obligatorio ? (!utilsService.validarCampoObligatorio(campo.valor) && validando) : false"
|
|
147
|
-
>
|
|
148
|
-
</p-dropdown>
|
|
149
|
-
|
|
150
|
-
<!--campo tipo LOGICO-->
|
|
151
|
-
<div *ngIf="campo.tipo == 'L' && campo.editable != 'N'">
|
|
152
|
-
<div class="col-md-12">
|
|
153
|
-
<div class="p-fluid p-formgrid grid">
|
|
154
|
-
<div *ngFor="let valor of listaSiNoRadioButton" class="mt-4 col-12 md:col-2 field-checkbox">
|
|
155
|
-
<p-radioButton
|
|
156
|
-
[inputId]="valor.key"
|
|
157
|
-
name="valor"
|
|
158
|
-
[value]="valor.key"
|
|
159
|
-
[label]="valor.name"
|
|
160
|
-
[(ngModel)]="campo.valor"
|
|
161
|
-
[disabled]="!editable || campo.editable == 'L'"
|
|
162
|
-
[style.color]="campo.resaltado ? 'var(--color-500) !important' : ''"
|
|
163
|
-
[pTooltip]="campo.novedad ? campo.novedad : null" tooltipPosition="top"
|
|
164
|
-
[class.ng-dirty]="campo.obligatorio ? (!utilsService.validarCampoObligatorio(campo.valor) && validando) : false"
|
|
165
|
-
[class.ng-invalid]="campo.obligatorio ? (!utilsService.validarCampoObligatorio(campo.valor) && validando) : false"
|
|
166
|
-
></p-radioButton>
|
|
167
|
-
<label> </label>
|
|
168
|
-
</div>
|
|
169
|
-
</div>
|
|
170
|
-
</div>
|
|
171
|
-
</div>
|
|
172
|
-
<!--campo tipo RADIO-->
|
|
173
|
-
<div *ngIf="campo.tipo == 'R' && campo.editable != 'N'">
|
|
174
|
-
<div class="col-md-12">
|
|
175
|
-
<div class="p-fluid p-formgrid grid">
|
|
176
|
-
<div *ngFor="let valor of campo.lista" class="mt-4 col-12 md:col-2 field-checkbox">
|
|
177
|
-
<p-radioButton
|
|
178
|
-
[inputId]="valor.value"
|
|
179
|
-
name="valor"
|
|
180
|
-
[value]="valor.value"
|
|
181
|
-
[label]="valor.label"
|
|
182
|
-
[(ngModel)]="campo.valor"
|
|
183
|
-
[disabled]="!editable || campo.editable == 'L'"
|
|
184
|
-
[style.color]="campo.resaltado ? 'var(--color-500) !important' : ''"
|
|
185
|
-
[pTooltip]="campo.novedad ? campo.novedad : null" tooltipPosition="top"
|
|
186
|
-
[class.ng-dirty]="campo.obligatorio ? (!utilsService.validarCampoObligatorio(campo.valor) && validando) : false"
|
|
187
|
-
[class.ng-invalid]="campo.obligatorio ? (!utilsService.validarCampoObligatorio(campo.valor) && validando) : false"
|
|
188
|
-
></p-radioButton>
|
|
189
|
-
</div>
|
|
190
|
-
</div>
|
|
191
|
-
</div>
|
|
192
|
-
</div>
|
|
193
|
-
|
|
194
|
-
<!--campo tipo CHECKBOX-->
|
|
195
|
-
<div *ngIf="campo.tipo == 'H' && campo.editable != 'N'">
|
|
196
|
-
<div class="col-md-12">
|
|
197
|
-
<div class="p-fluid p-formgrid grid">
|
|
198
|
-
<div *ngFor="let valor of campo.lista" class="col-12 md:col-3 field-checkbox">
|
|
199
|
-
<p-checkbox
|
|
200
|
-
[inputId]="valor.value"
|
|
201
|
-
name="valor"
|
|
202
|
-
[value]="valor"
|
|
203
|
-
[(ngModel)]="campo.valor"
|
|
204
|
-
[disabled]="!editable || campo.editable == 'L'"
|
|
205
|
-
[style.color]="campo.resaltado ? 'var(--color-500) !important' : ''"
|
|
206
|
-
[pTooltip]="campo.novedad ? campo.novedad : null" tooltipPosition="top"
|
|
207
|
-
[class.ng-dirty]="campo.obligatorio ? (!utilsService.validarCampoObligatorio(campo.valor) && validando) : false"
|
|
208
|
-
[class.ng-invalid]="campo.obligatorio ? (!utilsService.validarCampoObligatorio(campo.valor) && validando) : false"
|
|
209
|
-
></p-checkbox>
|
|
210
|
-
<label [for]="valor.value">{{ valor.label }}</label>
|
|
211
|
-
</div>
|
|
212
|
-
</div>
|
|
213
|
-
</div>
|
|
214
|
-
</div>
|
|
215
|
-
|
|
216
|
-
<!--campo tipo AUTOCOMPLETAR-->
|
|
217
|
-
<p-autoComplete
|
|
218
|
-
*ngIf="
|
|
219
|
-
(campo.tipo == 'O' || campo.tipo == 'Y') && campo.editable != 'N'
|
|
220
|
-
"
|
|
221
|
-
[disabled]="!editable || campo.editable == 'L'"
|
|
222
|
-
[(ngModel)]="campo.valor"
|
|
223
|
-
[suggestions]="campo.listaAutocompleteFiltrada"
|
|
224
|
-
(completeMethod)="campo.filtrarAutocomplete($event)"
|
|
225
|
-
field="label"
|
|
226
|
-
[dropdown]="true"
|
|
227
|
-
[style.color]="campo.resaltado ? 'var(--color-500) !important' : ''"
|
|
228
|
-
[pTooltip]="campo.novedad ? campo.novedad : null" tooltipPosition="top"
|
|
229
|
-
[class.ng-dirty]="campo.obligatorio ? (!utilsService.validarCampoObligatorio(campo.valor) && validando) : false"
|
|
230
|
-
[class.ng-invalid]="campo.obligatorio ? (!utilsService.validarCampoObligatorio(campo.valor) && validando) : false"
|
|
231
|
-
>
|
|
232
|
-
<ng-template let-valor pTemplate="item">
|
|
233
|
-
<div>
|
|
234
|
-
<div>{{ valor.label }}</div>
|
|
235
|
-
</div>
|
|
236
|
-
</ng-template>
|
|
237
|
-
</p-autoComplete>
|
|
238
|
-
|
|
239
|
-
<!--campo tipo POPUP-->
|
|
240
|
-
<div class="field" *ngIf="campo.tipo == 'P' && campo.editable != 'N'" >
|
|
241
|
-
<ng-container *ngFor="let item of campo.listaPopups" [hash]="item"></ng-container>
|
|
242
|
-
</div>
|
|
243
|
-
<div *ngIf="verMensajeFuncion" class="text-center w-1">
|
|
244
|
-
<label>{{ campo.mensajeFuncion }}</label>
|
|
245
|
-
</div>
|
|
246
|
-
<div *ngIf="isMensaje">
|
|
247
|
-
<label style="color: red" *ngIf="campo.mensaje">{{ campo.mensaje }}</label>
|
|
248
|
-
</div>
|
|
249
|
-
</div>
|
|
250
|
-
|
|
251
|
-
<div *ngIf="campo.ayuda && campo.editable != 'N'" class="col-1 contenedor" >
|
|
252
|
-
<span
|
|
253
|
-
class="w-1rem"
|
|
254
|
-
style="color: var(--color-400)"
|
|
255
|
-
tooltipStyleClass="tw-250"
|
|
256
|
-
[hideDelay]="1800"
|
|
257
|
-
pTooltip="{{ campo.ayuda }}"
|
|
258
|
-
tooltipPosition="top"
|
|
259
|
-
*ngIf="campo.ayuda && campo.editable != 'N'"
|
|
260
|
-
><i class="pi pi-question-circle"></i
|
|
261
|
-
></span>
|
|
262
|
-
</div>
|
|
263
|
-
</div>
|
|
264
|
-
</td>
|
|
265
|
-
</tr>
|
|
266
|
-
</ng-template>
|
|
267
|
-
</p-table>
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
.contenedor {
|
|
2
|
-
display: flex;
|
|
3
|
-
justify-content: center; /* Centrado horizontal */
|
|
4
|
-
align-items: center; /* Centrado vertical */
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
:host ::ng-deep .subtitulo{
|
|
8
|
-
display: table;
|
|
9
|
-
margin-top: 12px;
|
|
10
|
-
margin-bottom: 30px;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
:host ::ng-deep .subtitulo label{
|
|
14
|
-
position: absolute;
|
|
15
|
-
font-weight: 600;
|
|
16
|
-
color: #232323;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
:host ::ng-deep .p-datatable table{
|
|
20
|
-
background: #fafafa;
|
|
21
|
-
}
|
|
@@ -1,278 +0,0 @@
|
|
|
1
|
-
import { Component, OnChanges, Input, OnInit, ComponentRef, Type, ViewChild, ViewContainerRef, ViewChildren, QueryList, AfterViewInit, ElementRef } from '@angular/core';
|
|
2
|
-
import { CampoFormularioModel } from './objetosformulario/CampoFormulario';
|
|
3
|
-
import { HashDirective } from './objetosformulario/HashDirective';
|
|
4
|
-
import { UtilsService } from '../../../core/servicios/utils.service';
|
|
5
|
-
import { GeneralService } from '../../../shared/servicios/general.service';
|
|
6
|
-
import { AuthService } from '../../servicios/auth.service';
|
|
7
|
-
import { Cambio } from './objetosformulario/Cambio';
|
|
8
|
-
import { FormsModule } from '@angular/forms';
|
|
9
|
-
import { CalendarModule } from 'primeng/calendar';
|
|
10
|
-
import { CheckboxModule } from 'primeng/checkbox';
|
|
11
|
-
import { InputTextareaModule } from 'primeng/inputtextarea';
|
|
12
|
-
import { InputTextModule } from 'primeng/inputtext';
|
|
13
|
-
import { RadioButtonModule } from 'primeng/radiobutton';
|
|
14
|
-
import { TooltipModule } from 'primeng/tooltip';
|
|
15
|
-
import { DropdownModule } from 'primeng/dropdown';
|
|
16
|
-
import { PasswordModule } from 'primeng/password';
|
|
17
|
-
import { CommonModule } from '@angular/common';
|
|
18
|
-
import { InputNumberModule } from 'primeng/inputnumber';
|
|
19
|
-
import { AutoCompleteModule } from 'primeng/autocomplete';
|
|
20
|
-
import { TableModule } from 'primeng/table';
|
|
21
|
-
|
|
22
|
-
@Component({
|
|
23
|
-
selector: 'formulario-dinamico',
|
|
24
|
-
imports: [FormsModule, CalendarModule, CheckboxModule, InputTextareaModule, InputTextModule, RadioButtonModule, TooltipModule, DropdownModule, PasswordModule, CommonModule, InputNumberModule, AutoCompleteModule, HashDirective, TableModule],
|
|
25
|
-
standalone: true,
|
|
26
|
-
templateUrl: './formulariodinamico.component.html',
|
|
27
|
-
styleUrls: ['./formulariodinamico.component.scss']
|
|
28
|
-
})
|
|
29
|
-
export class FormulariodinamicoComponent implements OnInit, AfterViewInit, OnChanges {
|
|
30
|
-
|
|
31
|
-
@Input() campos: CampoFormularioModel[];
|
|
32
|
-
listaSiNoRadioButton: any[] = [{ name: 'Si', key: 'S' }, { name: 'No', key: 'N' }];
|
|
33
|
-
@ViewChild ('popup', { read: ViewContainerRef }) vcr: ViewContainerRef;
|
|
34
|
-
@ViewChildren(HashDirective) private hashes: QueryList<HashDirective>;
|
|
35
|
-
@Input() editable: boolean;
|
|
36
|
-
@Input() objeto: any;
|
|
37
|
-
@Input() isMensaje: boolean = false;
|
|
38
|
-
public validando: boolean = false;
|
|
39
|
-
verMensajeFuncion: boolean = false;
|
|
40
|
-
public autoZIndex: string = 'true';
|
|
41
|
-
public listaCompRef: {value: ComponentRef<any>, label: string}[] = [];
|
|
42
|
-
|
|
43
|
-
constructor(public utilsService: UtilsService, private generalService: GeneralService, private authService: AuthService) { }
|
|
44
|
-
|
|
45
|
-
ngOnChanges(){
|
|
46
|
-
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
ngAfterViewInit(): void {
|
|
50
|
-
|
|
51
|
-
this.verMensajeFuncion = false;
|
|
52
|
-
this.listaCompRef = [];
|
|
53
|
-
this.campos.forEach(campo => {
|
|
54
|
-
if(campo.mensajeFuncion){
|
|
55
|
-
this.verMensajeFuncion = true;
|
|
56
|
-
}
|
|
57
|
-
if (campo.tipo == 'P'){
|
|
58
|
-
if (campo.popupComponent){
|
|
59
|
-
this.mostrarPopupFormulario(campo).then(data => {});
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
})
|
|
63
|
-
this.campos.sort((a, b) => a.orden - b.orden);
|
|
64
|
-
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
ngOnInit(): void {
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
modificar(objeto: any, editable: boolean) {
|
|
71
|
-
this.limpiar();
|
|
72
|
-
this.objeto = objeto;
|
|
73
|
-
this.editable = editable;
|
|
74
|
-
this.campos.forEach(campo => {
|
|
75
|
-
if (!campo.caracteristica){
|
|
76
|
-
for (let atributo in objeto) {
|
|
77
|
-
let valor = objeto[atributo];
|
|
78
|
-
if (atributo == campo.campo){
|
|
79
|
-
this.cargarValor(campo.campo, valor, null);
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
if(campo.campoDepende!= null){
|
|
84
|
-
this.campos.forEach(campo2 => {
|
|
85
|
-
if(campo2.campo == campo.campoDepende){
|
|
86
|
-
campo2.campoReferencia = campo.valor;
|
|
87
|
-
}
|
|
88
|
-
})
|
|
89
|
-
}
|
|
90
|
-
})
|
|
91
|
-
|
|
92
|
-
this.campos.sort((a, b) => a.orden - b.orden);
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
modificarValorCamposAdicionales(objeto: any, idGrupo: string) {
|
|
96
|
-
this.objeto = objeto;
|
|
97
|
-
this.campos.forEach(campo => {
|
|
98
|
-
if(idGrupo == campo.idGrupoPertenece) {
|
|
99
|
-
if (!campo.caracteristica){
|
|
100
|
-
for (let atributo in objeto) {
|
|
101
|
-
let valor = objeto[atributo];
|
|
102
|
-
if (atributo == campo.campo){
|
|
103
|
-
this.cargarValor(campo.campo, valor, null);
|
|
104
|
-
}
|
|
105
|
-
}
|
|
106
|
-
}
|
|
107
|
-
if(campo.campoDepende!= null){
|
|
108
|
-
this.campos.forEach(campo2 => {
|
|
109
|
-
if(campo2.campo == campo.campoDepende){
|
|
110
|
-
campo2.campoReferencia = campo.valor;
|
|
111
|
-
}
|
|
112
|
-
})
|
|
113
|
-
}
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
})
|
|
117
|
-
|
|
118
|
-
this.campos.sort((a, b) => a.orden - b.orden);
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
guardar(){
|
|
122
|
-
this.campos.forEach(data => {
|
|
123
|
-
})
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
setValorPopup(objeto){
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
async loadComponentDynamic<T>(campo: CampoFormularioModel, component: Type<T>, props: Partial<T>) {
|
|
130
|
-
var container = this.getContainerFor(campo.popup)
|
|
131
|
-
container.clear();
|
|
132
|
-
const hasProps: boolean = !!Object.keys(props).length;
|
|
133
|
-
const compRef: ComponentRef<any> = container.createComponent( component ); //Angular 13
|
|
134
|
-
|
|
135
|
-
if (hasProps) {
|
|
136
|
-
for (let key of Object.keys(props)) {
|
|
137
|
-
compRef.instance[key] = props[key];
|
|
138
|
-
}
|
|
139
|
-
}
|
|
140
|
-
const componente = new campo.popupComponent();
|
|
141
|
-
if('getDescripcionLlave' in componente ){
|
|
142
|
-
compRef.instance['label'] = await componente.getDescripcionLlave(this.generalService, this.authService, campo.valor, campo)
|
|
143
|
-
}
|
|
144
|
-
this.listaCompRef.push({value:compRef, label: campo.popup});
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
getContainerFor(name: string) {
|
|
148
|
-
return this.hashes.find(x => x.hash === name).vcRef;
|
|
149
|
-
}
|
|
150
|
-
|
|
151
|
-
async mostrarPopupFormulario(campo: CampoFormularioModel){
|
|
152
|
-
await this.loadComponentDynamic(campo, campo.popupComponent, campo.propiedadesPopupComponent)
|
|
153
|
-
|
|
154
|
-
}
|
|
155
|
-
|
|
156
|
-
validar(): boolean{
|
|
157
|
-
this.validando = true;
|
|
158
|
-
var validador = true;
|
|
159
|
-
this.campos.forEach(campo => {
|
|
160
|
-
if (campo.tipo == 'P') {
|
|
161
|
-
console.log('entra tipo p');
|
|
162
|
-
console.log(campo)
|
|
163
|
-
//var container = this.getContainerFor(campo.popup)
|
|
164
|
-
console.log(this.listaCompRef)
|
|
165
|
-
var listaResultado = this.listaCompRef.filter(data => data.label == campo.popup);
|
|
166
|
-
if (listaResultado.length > 0) {
|
|
167
|
-
var filtroComponente = listaResultado[0].value;
|
|
168
|
-
console.log(filtroComponente)
|
|
169
|
-
filtroComponente.instance['booleano'] = campo.obligatorio && !this.utilsService.validarCampoObligatorio(campo.valor);
|
|
170
|
-
filtroComponente.changeDetectorRef.detectChanges();
|
|
171
|
-
console.log(filtroComponente)
|
|
172
|
-
}
|
|
173
|
-
|
|
174
|
-
}
|
|
175
|
-
if (campo.obligatorio && !this.utilsService.validarCampoObligatorio(campo.valor) ){
|
|
176
|
-
validador = validador && false;
|
|
177
|
-
}
|
|
178
|
-
})
|
|
179
|
-
return validador;
|
|
180
|
-
}
|
|
181
|
-
|
|
182
|
-
getObjecto(): any{
|
|
183
|
-
var campos2 = this.campos.filter(data => !data.caracteristica);
|
|
184
|
-
campos2.forEach(campo => {
|
|
185
|
-
this.objeto[campo.campo] = campo.valor;
|
|
186
|
-
})
|
|
187
|
-
return this.objeto;
|
|
188
|
-
}
|
|
189
|
-
|
|
190
|
-
camposCaracteristicaClear(){
|
|
191
|
-
for (let i = 0; i < this.campos.length; i++){
|
|
192
|
-
if (this.campos[i].caracteristica){
|
|
193
|
-
this.campos.splice(i, 1)
|
|
194
|
-
}
|
|
195
|
-
}
|
|
196
|
-
}
|
|
197
|
-
|
|
198
|
-
cargarValor(campo: string, valor: any, dato: any) {
|
|
199
|
-
this.campos.forEach(campoF => {
|
|
200
|
-
if (campoF.campo == campo) {
|
|
201
|
-
//campoF.cargar(valor);
|
|
202
|
-
campoF.valor = valor;
|
|
203
|
-
campoF.dato = dato;
|
|
204
|
-
}
|
|
205
|
-
})
|
|
206
|
-
}
|
|
207
|
-
|
|
208
|
-
getCamposCaracteristica() {
|
|
209
|
-
var camposReturn: CampoFormularioModel[] = [];
|
|
210
|
-
this.campos.forEach(campo => {
|
|
211
|
-
if (campo.caracteristica) {
|
|
212
|
-
camposReturn.push(campo);
|
|
213
|
-
}
|
|
214
|
-
})
|
|
215
|
-
return camposReturn;
|
|
216
|
-
}
|
|
217
|
-
|
|
218
|
-
obtenerCampo(campo: string){
|
|
219
|
-
var retorno = null
|
|
220
|
-
this.campos.forEach(cam => {
|
|
221
|
-
if(cam.campo != null && cam.campo == campo){
|
|
222
|
-
retorno = cam;
|
|
223
|
-
}
|
|
224
|
-
})
|
|
225
|
-
return retorno;
|
|
226
|
-
}
|
|
227
|
-
|
|
228
|
-
limpiar() {
|
|
229
|
-
if (this.campos != null && this.campos.length > 0){
|
|
230
|
-
this.campos.forEach(campo => {
|
|
231
|
-
campo.valor = null;
|
|
232
|
-
campo.resaltado = false;
|
|
233
|
-
campo.mensajeFuncion = null;
|
|
234
|
-
})
|
|
235
|
-
}
|
|
236
|
-
}
|
|
237
|
-
|
|
238
|
-
validarVisibilidadCampos(campo: CampoFormularioModel): boolean {
|
|
239
|
-
|
|
240
|
-
if ((campo.tipo == 'N' && campo.editable == 'N')) {
|
|
241
|
-
return false;
|
|
242
|
-
}
|
|
243
|
-
|
|
244
|
-
return true;
|
|
245
|
-
}
|
|
246
|
-
|
|
247
|
-
editarPermisoCamposPorIdGrupo(idGrupo: string, permisoCampo: string) {
|
|
248
|
-
this.campos.forEach(campo => {
|
|
249
|
-
if (idGrupo != campo.idGrupoPertenece || campo.editable == 'L') {
|
|
250
|
-
return;
|
|
251
|
-
}
|
|
252
|
-
campo.editable = permisoCampo;
|
|
253
|
-
})
|
|
254
|
-
}
|
|
255
|
-
|
|
256
|
-
getCambios(): Cambio[] {
|
|
257
|
-
const cambios: Cambio[] = [];
|
|
258
|
-
for (const campo of this.campos) {
|
|
259
|
-
if (campo.isCambio()) {
|
|
260
|
-
cambios.push(new Cambio(campo.original, campo.valor, campo));
|
|
261
|
-
}
|
|
262
|
-
}
|
|
263
|
-
return cambios;
|
|
264
|
-
}
|
|
265
|
-
|
|
266
|
-
removerCamposIdGrupo(idGrupo: string) {
|
|
267
|
-
var camposRemover: CampoFormularioModel[] = [];
|
|
268
|
-
this.campos.forEach(campo => {
|
|
269
|
-
if (idGrupo != campo.idGrupoPertenece) {
|
|
270
|
-
return;
|
|
271
|
-
}
|
|
272
|
-
camposRemover.push(campo);
|
|
273
|
-
})
|
|
274
|
-
this.campos = this.campos.filter(obj => !camposRemover.some(objEliminar => objEliminar.campo === obj.campo));
|
|
275
|
-
|
|
276
|
-
}
|
|
277
|
-
|
|
278
|
-
}
|
|
@@ -1,118 +0,0 @@
|
|
|
1
|
-
import { Type } from '@angular/core';
|
|
2
|
-
import { SelectItem } from 'primeng/api';
|
|
3
|
-
import { CampoFormularioCons } from './CampoFormularioCons';
|
|
4
|
-
|
|
5
|
-
export class CampoFormularioModel {
|
|
6
|
-
|
|
7
|
-
caracteristica: boolean;
|
|
8
|
-
tipo: string;
|
|
9
|
-
descripcion: string;
|
|
10
|
-
descripcionAdicional: string;
|
|
11
|
-
valor: any;
|
|
12
|
-
longitud: number;
|
|
13
|
-
decimales: number;
|
|
14
|
-
campo: string;
|
|
15
|
-
obligatorio: boolean;
|
|
16
|
-
lista: SelectItem[];
|
|
17
|
-
listaRespuesta: string[];
|
|
18
|
-
mensaje: string;
|
|
19
|
-
popup: string;
|
|
20
|
-
titulo: boolean;
|
|
21
|
-
textoPopup: string;
|
|
22
|
-
original: any;
|
|
23
|
-
dato: any;
|
|
24
|
-
orden: number;
|
|
25
|
-
resaltado: boolean;
|
|
26
|
-
editable: string;
|
|
27
|
-
novedad: any;
|
|
28
|
-
campoTabla: string;
|
|
29
|
-
funcion: string;
|
|
30
|
-
mensajeFuncion: string;
|
|
31
|
-
campoDepende: string;
|
|
32
|
-
campoReferencia: any;
|
|
33
|
-
campoReferenciaDos: any;
|
|
34
|
-
limpiarPopup: boolean;
|
|
35
|
-
idGrupoPertenece: string;
|
|
36
|
-
ayuda: string;
|
|
37
|
-
validarEspecial: string;
|
|
38
|
-
popupComponent: Type<any>;
|
|
39
|
-
propiedadesPopupComponent: Partial<any>
|
|
40
|
-
listaPopups: any[]
|
|
41
|
-
|
|
42
|
-
//campos creados por primeng
|
|
43
|
-
listaAutocompleteFiltrada: SelectItem[];
|
|
44
|
-
|
|
45
|
-
constructor(tipo: string, descripcion: string, longitud: number, decimales: number,
|
|
46
|
-
campo: string, obligatorio: boolean, lista: SelectItem[], popup: string, editable: string) {
|
|
47
|
-
this.tipo = this.ajustar(tipo);
|
|
48
|
-
this.descripcion = descripcion;
|
|
49
|
-
this.longitud = longitud;
|
|
50
|
-
this.decimales = decimales;
|
|
51
|
-
this.campo = campo;
|
|
52
|
-
this.obligatorio = obligatorio;
|
|
53
|
-
this.lista = lista;
|
|
54
|
-
this.listaRespuesta = [];
|
|
55
|
-
this.popup = popup;
|
|
56
|
-
this.editable= editable;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
private ajustar(tipo2){
|
|
60
|
-
let tipo = tipo2;
|
|
61
|
-
if (tipo2 == ('1')) tipo = CampoFormularioCons.CHECK;
|
|
62
|
-
if (tipo2 == ('2')) tipo = CampoFormularioCons.RADIO;
|
|
63
|
-
if (tipo2 == ('3')) tipo = CampoFormularioCons.COMBO;
|
|
64
|
-
if (tipo2 == ('4')) tipo = CampoFormularioCons.TEXTO;
|
|
65
|
-
if (tipo2 == ('5')) tipo = CampoFormularioCons.NUMERO;
|
|
66
|
-
if (tipo2 == ('6')) tipo = CampoFormularioCons.POPUP;
|
|
67
|
-
if (tipo2 == ('7')) tipo = CampoFormularioCons.POPUP;
|
|
68
|
-
if (tipo2 == ('8')) tipo = CampoFormularioCons.FECHA;
|
|
69
|
-
if (tipo2 == ('9')) tipo = CampoFormularioCons.TEXTOAREA;
|
|
70
|
-
if (tipo2 == ('11')) tipo = CampoFormularioCons.POPUP;
|
|
71
|
-
if (tipo2 == ('12')) tipo = CampoFormularioCons.POPUP;
|
|
72
|
-
if (tipo2 == ('13')) tipo = CampoFormularioCons.LOGICO;
|
|
73
|
-
if (tipo2 == ('14')) tipo = CampoFormularioCons.POPUP;
|
|
74
|
-
if (tipo2 == ('15')) tipo = CampoFormularioCons.POPUP;
|
|
75
|
-
if (tipo2 == ('16')){
|
|
76
|
-
tipo = CampoFormularioCons.TITULO;
|
|
77
|
-
this.titulo=true;
|
|
78
|
-
}
|
|
79
|
-
if (tipo2 == ('17')) tipo = CampoFormularioCons.DECIMAL;
|
|
80
|
-
if (tipo2 == ('18')) tipo = CampoFormularioCons.SECRET;
|
|
81
|
-
if (tipo2 == ('19')) tipo = CampoFormularioCons.HORA;
|
|
82
|
-
return tipo
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
filtrarAutocomplete(event) {
|
|
86
|
-
let filtered : any[] = [];
|
|
87
|
-
let query = event.query;
|
|
88
|
-
for(let i = 0; i < this.lista.length; i++) {
|
|
89
|
-
let objeto = this.lista[i];
|
|
90
|
-
console.log(objeto)
|
|
91
|
-
if (objeto.label.toLowerCase().indexOf(query.toLowerCase()) == 0) {
|
|
92
|
-
filtered.push(objeto);
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
this.listaAutocompleteFiltrada = filtered;
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
isCambio(): boolean {
|
|
100
|
-
if (this.tipo === CampoFormularioCons.TEXTO || this.tipo === CampoFormularioCons.TEXTOAREA || this.tipo === CampoFormularioCons.SECRET) {
|
|
101
|
-
return (this.original == null ? '' : '' + this.original.toString().trim()) != (this.valor == null ? '' : '' + this.valor.toString().trim());
|
|
102
|
-
}
|
|
103
|
-
if (this.tipo === CampoFormularioCons.CHECK) {
|
|
104
|
-
let respuestas = '';
|
|
105
|
-
for (const item of this.listaRespuesta) {
|
|
106
|
-
respuestas += item + ';';
|
|
107
|
-
}
|
|
108
|
-
return (this.original == null ? '' : '' + this.original) != (respuestas == null ? '' : '' + respuestas);
|
|
109
|
-
}
|
|
110
|
-
return (this.original == null ? '' : '' + this.original) != (this.valor == null ? '' : '' + this.valor);
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
cargarValorPopup(event){
|
|
114
|
-
console.log('cargarValorPopup')
|
|
115
|
-
console.log(event)
|
|
116
|
-
this.valor = event;
|
|
117
|
-
}
|
|
118
|
-
}
|