general-library-union 3.3.47 → 3.3.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 +214 -0
- package/esm2022/src/app/core/componentes/footer/footer.component.mjs +16 -0
- package/esm2022/src/app/core/componentes/formulariodinamico/formulariodinamico.component.mjs +276 -0
- package/esm2022/src/app/core/componentes/formulariodinamico/objetosformulario/Cambio.mjs +11 -0
- package/esm2022/src/app/core/componentes/formulariodinamico/objetosformulario/CampoFormulario.mjs +124 -0
- package/esm2022/src/app/core/componentes/formulariodinamico/objetosformulario/CampoFormularioCons.mjs +73 -0
- package/esm2022/src/app/core/componentes/formulariodinamico/objetosformulario/CampoFormularioNuevo.mjs +59 -0
- package/esm2022/src/app/core/componentes/formulariodinamico/objetosformulario/HashDirective.mjs +21 -0
- package/esm2022/src/app/core/componentes/inicio-component/inicio-component.component.mjs +70 -0
- package/esm2022/src/app/core/componentes/menu/menu.component.mjs +37 -0
- package/esm2022/src/app/core/componentes/tabla-general/tabla-general.component.mjs +93 -0
- package/esm2022/src/app/core/core.module.mjs +23 -0
- package/esm2022/src/app/core/errores/authentication.error.mjs +7 -0
- package/esm2022/src/app/core/modelos/error-response.model.mjs +2 -0
- package/esm2022/src/app/core/modelos/table-column.model.mjs +2 -0
- package/esm2022/src/app/core/modelos/user.model.mjs +7 -0
- package/esm2022/src/app/core/plantilla-general/plantilla-general.template.mjs +230 -0
- package/esm2022/src/app/core/servicios/auth.service.mjs +185 -0
- package/esm2022/src/app/core/servicios/cargar-control-funcionalidad.service.mjs +54 -0
- package/esm2022/src/app/core/servicios/click-posicion.service.mjs +20 -0
- package/esm2022/src/app/core/servicios/data-exporter-table.utils.mjs +64 -0
- package/esm2022/src/app/core/servicios/error-interceptor.service.mjs +214 -0
- package/esm2022/src/app/core/servicios/guardias/auth.guard.mjs +66 -0
- package/esm2022/src/app/core/servicios/guardias/publico.guard.mjs +35 -0
- package/esm2022/src/app/core/servicios/interceptores/loading-interceptor.mjs +37 -0
- package/esm2022/src/app/core/servicios/interceptores/token-interceptor.service.mjs +180 -0
- package/esm2022/src/app/core/servicios/loading.service.mjs +43 -0
- package/esm2022/src/app/core/servicios/menu.service.mjs +146 -0
- package/esm2022/src/app/core/servicios/spinner-service.mjs +22 -0
- package/esm2022/src/app/core/servicios/storage.service.mjs +68 -0
- package/esm2022/src/app/core/servicios/template.service.mjs +99 -0
- package/esm2022/src/app/core/servicios/toast.service.mjs +120 -0
- package/esm2022/src/app/core/servicios/utils.service.mjs +364 -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 +383 -0
- package/esm2022/src/app/layout/service/app.layout.service.mjs +134 -0
- package/esm2022/src/app/publico/pages/login/login.page.mjs +132 -0
- package/esm2022/src/app/publico/pages/not-found/not-found.page.mjs +51 -0
- package/esm2022/src/app/publico/pages/seleccion-rol/seleccion-rol.component.mjs +167 -0
- package/esm2022/src/app/publico/pages/timeout/timeout.page.mjs +20 -0
- package/esm2022/src/app/seguridad/constantes/ConstantesGenerales.mjs +30 -0
- package/esm2022/src/app/seguridad/constantes/ReporteEntradaConstantes.mjs +19 -0
- package/esm2022/src/app/seguridad/modelos/AplicacionModel.mjs +8 -0
- package/esm2022/src/app/seguridad/modelos/ArchivoPortalModel.mjs +14 -0
- package/esm2022/src/app/seguridad/modelos/AtributoPuntoModel.mjs +9 -0
- package/esm2022/src/app/seguridad/modelos/AtributoSSOportalModel.mjs +17 -0
- package/esm2022/src/app/seguridad/modelos/AuditoriaArchivoModel.mjs +11 -0
- package/esm2022/src/app/seguridad/modelos/CargueLineaModel.mjs +13 -0
- package/esm2022/src/app/seguridad/modelos/ColoresRGB.mjs +18 -0
- package/esm2022/src/app/seguridad/modelos/ColumnaFuenteModel.mjs +9 -0
- package/esm2022/src/app/seguridad/modelos/ColumnaWraperModel.mjs +6 -0
- package/esm2022/src/app/seguridad/modelos/ComplementoModel.mjs +7 -0
- package/esm2022/src/app/seguridad/modelos/ComponentePaginaModel.mjs +21 -0
- package/esm2022/src/app/seguridad/modelos/ConexionModel.mjs +14 -0
- package/esm2022/src/app/seguridad/modelos/ContenidoHtmlPortalModel.mjs +21 -0
- package/esm2022/src/app/seguridad/modelos/ControlFuncionModel.mjs +8 -0
- package/esm2022/src/app/seguridad/modelos/CorreoModel.mjs +35 -0
- package/esm2022/src/app/seguridad/modelos/CorreoOrgEmpModModel.mjs +9 -0
- package/esm2022/src/app/seguridad/modelos/CorreoWSModel.mjs +37 -0
- package/esm2022/src/app/seguridad/modelos/CruceRecursoPuntoModel.mjs +14 -0
- package/esm2022/src/app/seguridad/modelos/DatoInicioModel.mjs +6 -0
- package/esm2022/src/app/seguridad/modelos/EjecucionReporteDataModel.mjs +14 -0
- package/esm2022/src/app/seguridad/modelos/EmpresaModel.mjs +25 -0
- package/esm2022/src/app/seguridad/modelos/EmpresaSeguridadModel.mjs +19 -0
- package/esm2022/src/app/seguridad/modelos/EntradaComplementoModel.mjs +7 -0
- package/esm2022/src/app/seguridad/modelos/EtiquetaModel.mjs +5 -0
- package/esm2022/src/app/seguridad/modelos/Etiquetas.mjs +12 -0
- package/esm2022/src/app/seguridad/modelos/ForeingWraperModel.mjs +6 -0
- package/esm2022/src/app/seguridad/modelos/FuenteCampoAtributoModel.mjs +16 -0
- package/esm2022/src/app/seguridad/modelos/FuenteCampoModel.mjs +17 -0
- package/esm2022/src/app/seguridad/modelos/FuenteDato.mjs +19 -0
- package/esm2022/src/app/seguridad/modelos/FuenteEntradaModel.mjs +9 -0
- package/esm2022/src/app/seguridad/modelos/FuenteGeneralModel.mjs +37 -0
- package/esm2022/src/app/seguridad/modelos/FuenteLineaServicioModel.mjs +16 -0
- package/esm2022/src/app/seguridad/modelos/FuenteProcesoGeneralModel.mjs +11 -0
- package/esm2022/src/app/seguridad/modelos/FuenteServicioModel.mjs +51 -0
- package/esm2022/src/app/seguridad/modelos/FuncionalidadModel.mjs +10 -0
- package/esm2022/src/app/seguridad/modelos/GeneralModel.mjs +15 -0
- package/esm2022/src/app/seguridad/modelos/GrupoAccesoModel.mjs +7 -0
- package/esm2022/src/app/seguridad/modelos/GrupoControlFuncionModel.mjs +10 -0
- package/esm2022/src/app/seguridad/modelos/GrupoFuenteModel.mjs +13 -0
- package/esm2022/src/app/seguridad/modelos/GrupoPermisoModel.mjs +14 -0
- package/esm2022/src/app/seguridad/modelos/JoinFromModel.mjs +5 -0
- package/esm2022/src/app/seguridad/modelos/ListaServicioModel.mjs +17 -0
- package/esm2022/src/app/seguridad/modelos/LlaveForaneaModel.mjs +7 -0
- package/esm2022/src/app/seguridad/modelos/LoginModel.mjs +15 -0
- package/esm2022/src/app/seguridad/modelos/MensajeSistemaModel.mjs +8 -0
- package/esm2022/src/app/seguridad/modelos/MenuPortalModel.mjs +5 -0
- package/esm2022/src/app/seguridad/modelos/ModulosModel.mjs +18 -0
- package/esm2022/src/app/seguridad/modelos/ObjetoReporteModel.mjs +6 -0
- package/esm2022/src/app/seguridad/modelos/PaginaPortalModel.mjs +20 -0
- package/esm2022/src/app/seguridad/modelos/ParametroComponenteModel.mjs +9 -0
- package/esm2022/src/app/seguridad/modelos/ParametrosGeneralModel.mjs +15 -0
- package/esm2022/src/app/seguridad/modelos/PermisoFuncionModel.mjs +9 -0
- package/esm2022/src/app/seguridad/modelos/PermisocontenidoModel.mjs +20 -0
- package/esm2022/src/app/seguridad/modelos/PeticionModel.mjs +16 -0
- package/esm2022/src/app/seguridad/modelos/PreguntaSeguridadModel.mjs +7 -0
- package/esm2022/src/app/seguridad/modelos/PropiedadModel.mjs +10 -0
- package/esm2022/src/app/seguridad/modelos/PublicacionWebModel.mjs +27 -0
- package/esm2022/src/app/seguridad/modelos/PuntoProcesoModel.mjs +7 -0
- package/esm2022/src/app/seguridad/modelos/RecursoPunto.mjs +13 -0
- package/esm2022/src/app/seguridad/modelos/RecursoPuntoModel.mjs +13 -0
- package/esm2022/src/app/seguridad/modelos/ReporteBanda.mjs +8 -0
- package/esm2022/src/app/seguridad/modelos/ReporteColumna.mjs +33 -0
- package/esm2022/src/app/seguridad/modelos/ReporteColumnario.mjs +69 -0
- package/esm2022/src/app/seguridad/modelos/ReporteColumnarioMarcador.mjs +24 -0
- package/esm2022/src/app/seguridad/modelos/ReporteEntradaModel.mjs +20 -0
- package/esm2022/src/app/seguridad/modelos/ReporteFuenteModel.mjs +124 -0
- package/esm2022/src/app/seguridad/modelos/ReporteMarcador.mjs +40 -0
- package/esm2022/src/app/seguridad/modelos/ReporteSoporte.mjs +10 -0
- package/esm2022/src/app/seguridad/modelos/ReporteTabla.mjs +13 -0
- package/esm2022/src/app/seguridad/modelos/RespuestaModel.mjs +9 -0
- package/esm2022/src/app/seguridad/modelos/RolModel.mjs +39 -0
- package/esm2022/src/app/seguridad/modelos/ServidorCorreoModel.mjs +28 -0
- package/esm2022/src/app/seguridad/modelos/SistemaMensajeModel.mjs +9 -0
- package/esm2022/src/app/seguridad/modelos/SitioPortalModel.mjs +25 -0
- package/esm2022/src/app/seguridad/modelos/TablaFromModel.mjs +5 -0
- package/esm2022/src/app/seguridad/modelos/TareasModel.mjs +55 -0
- package/esm2022/src/app/seguridad/modelos/TextoModel.mjs +9 -0
- package/esm2022/src/app/seguridad/modelos/TipoEtiqueta.mjs +8 -0
- package/esm2022/src/app/seguridad/modelos/UnionModel.mjs +12 -0
- package/esm2022/src/app/seguridad/modelos/UsuarioModel.mjs +53 -0
- package/esm2022/src/app/seguridad/modelos/UsuariogrupoModel.mjs +24 -0
- package/esm2022/src/app/seguridad/modelos/aplicacion-propiedad-model.mjs +15 -0
- package/esm2022/src/app/seguridad/modelos/contenidoCorreoModel.mjs +10 -0
- package/esm2022/src/app/shared/componentes/input-helper-seleccion-plantilla/input-helper-seleccion-plantilla.component.mjs +154 -0
- package/esm2022/src/app/shared/servicios/cargar-archivos.service.mjs +54 -0
- package/esm2022/src/app/shared/servicios/cargar-mapas.service.mjs +46 -0
- package/esm2022/src/app/shared/servicios/encriptado-basico.service.mjs +53 -0
- package/esm2022/src/app/shared/servicios/general.service.mjs +104 -0
- package/esm2022/src/app/shared/servicios/parametros-navegacion.service.mjs +21 -0
- package/esm2022/src/app/webcommon/pages/cargue-plantilla/cargue-plantilla-general/cargue-plantilla-general.component.mjs +378 -0
- package/esm2022/src/app/webcommon/pages/ejecucion-reporte/detalle-campo-reporte/detalle-campo-reporte.component.mjs +187 -0
- package/esm2022/src/app/webcommon/pages/ejecucion-reporte/detalle-distribucion-reporte/detalle-distribucion-reporte.component.mjs +85 -0
- package/esm2022/src/app/webcommon/pages/ejecucion-reporte/detalle-ejecucion-reporte/detalle-ejecucion-reporte.page.mjs +347 -0
- package/esm2022/src/app/webcommon/pages/ejecucion-reporte/detalle-entrada-reporte/detalle-entrada-reporte.component.mjs +206 -0
- package/esm2022/src/app/webcommon/pages/ejecucion-reporte/detalle-punto-proceso-reporte/detalle-punto-proceso-reporte.component.mjs +327 -0
- package/esm2022/src/app/webcommon/pages/ejecucion-reporte/detalle-tipo-reporte/detalle-tipo-reporte.component.mjs +1590 -0
- package/esm2022/src/app/webcommon/pages/ejecucion-reporte/listado-ejecucion-reporte/listado-ejecucion-reporte.page.mjs +105 -0
- package/esm2022/src/app/webcommon/pages/ejecucion-reporte-externo/listado-ejecucion-reporte-externo/listado-ejecucion-reporte-externo.component.mjs +115 -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 +565 -0
- package/esm2022/src/app/webcommon/popups/popup-sentencia/popup-sentencia.component.mjs +64 -0
- package/esm2022/src/app/webcommon/popups/popup-tablas-fuente/popup-tablas-fuente.component.mjs +162 -0
- package/esm2022/src/app/webcommon/popups/punto-proceso-comp/punto-proceso-comp.component.mjs +89 -0
- package/esm2022/src/app/webcommon/services/carguelinea.service.mjs +69 -0
- package/esm2022/src/app/webcommon/services/dashboard.service.mjs +253 -0
- package/esm2022/src/app/webcommon/services/ejecucionreporte.service.mjs +114 -0
- package/esm2022/src/app/webcommon/services/fechaUtils.service.mjs +102 -0
- package/esm2022/src/app/webcommon/services/fuentegeneral.service.mjs +68 -0
- package/esm2022/src/app/webcommon/services/homologacion.service.mjs +50 -0
- package/esm2022/src/app/webcommon/services/plantillas.service.mjs +129 -0
- package/esm2022/src/app/webcommon/services/reportes.service.mjs +95 -0
- package/esm2022/src/app/webcommon/webcommon.module.mjs +15 -0
- package/esm2022/src/environments/environment.mjs +24 -0
- package/fesm2022/general-library-union.mjs +16176 -0
- package/fesm2022/general-library-union.mjs.map +1 -0
- package/index.d.ts +5 -0
- package/package.json +62 -73
- package/{public-api.ts → public-api.d.ts} +164 -206
- package/src/app/core/componentes/breadcrumb/breadcrumb.component.d.ts +18 -0
- package/src/app/core/componentes/carga-pantalla-completa/carga-pantalla-completa.component.d.ts +14 -0
- package/src/app/core/componentes/filtro-general/filtro-general.component.d.ts +36 -0
- package/src/app/core/componentes/footer/footer.component.d.ts +9 -0
- package/src/app/core/componentes/formulariodinamico/formulariodinamico.component.d.ts +50 -0
- package/src/app/core/componentes/formulariodinamico/objetosformulario/{Cambio.ts → Cambio.d.ts} +7 -13
- package/src/app/core/componentes/formulariodinamico/objetosformulario/CampoFormulario.d.ts +44 -0
- package/src/app/core/componentes/formulariodinamico/objetosformulario/CampoFormularioCons.d.ts +45 -0
- package/src/app/core/componentes/formulariodinamico/objetosformulario/CampoFormularioNuevo.d.ts +33 -0
- package/src/app/core/componentes/formulariodinamico/objetosformulario/HashDirective.d.ts +9 -0
- package/src/app/core/componentes/inicio-component/inicio-component.component.d.ts +26 -0
- package/src/app/core/componentes/menu/menu.component.d.ts +16 -0
- package/src/app/core/componentes/tabla-general/tabla-general.component.d.ts +32 -0
- package/src/app/core/core.module.d.ts +8 -0
- package/src/app/core/errores/authentication.error.d.ts +3 -0
- package/src/app/core/modelos/error-response.model.d.ts +9 -0
- package/src/app/core/modelos/table-column.model.d.ts +12 -0
- package/src/app/core/modelos/user.model.d.ts +6 -0
- package/src/app/core/plantilla-general/plantilla-general.template.d.ts +89 -0
- package/src/app/core/servicios/auth.service.d.ts +52 -0
- package/src/app/core/servicios/cargar-control-funcionalidad.service.d.ts +19 -0
- package/src/app/core/servicios/click-posicion.service.d.ts +11 -0
- package/src/app/core/servicios/data-exporter-table.utils.d.ts +11 -0
- package/src/app/core/servicios/error-interceptor.service.d.ts +41 -0
- package/src/app/core/servicios/guardias/auth.guard.d.ts +17 -0
- package/src/app/core/servicios/guardias/publico.guard.d.ts +13 -0
- package/src/app/core/servicios/interceptores/loading-interceptor.d.ts +11 -0
- package/src/app/core/servicios/interceptores/token-interceptor.service.d.ts +26 -0
- package/src/app/core/servicios/loading.service.d.ts +22 -0
- package/src/app/core/servicios/menu.service.d.ts +35 -0
- package/src/app/core/servicios/spinner-service.d.ts +9 -0
- package/src/app/core/servicios/storage.service.d.ts +37 -0
- package/src/app/core/servicios/template.service.d.ts +20 -0
- package/src/app/core/servicios/toast.service.d.ts +48 -0
- package/src/app/core/servicios/utils.service.d.ts +46 -0
- package/src/app/core/sharedlib.module.d.ts +6 -0
- package/src/app/core/utilidades/color.util.d.ts +70 -0
- package/src/app/layout/api/{menuchangeevent.ts → menuchangeevent.d.ts} +4 -4
- package/src/app/layout/app.breadcrumb.component.d.ts +28 -0
- package/src/app/layout/app.footer.component.d.ts +8 -0
- package/src/app/layout/app.layout.component.d.ts +39 -0
- package/src/app/layout/app.layout.module.d.ts +6 -0
- package/src/app/layout/app.menu.component.d.ts +19 -0
- package/src/app/layout/app.menu.service.d.ts +12 -0
- package/src/app/layout/app.menuitem.component.d.ts +41 -0
- package/src/app/layout/app.menuprofile.component.d.ts +18 -0
- package/src/app/layout/app.rightmenu.component.d.ts +10 -0
- package/src/app/layout/app.sidebar.component.d.ts +34 -0
- package/src/app/layout/app.topbar.component.d.ts +86 -0
- package/src/app/layout/service/app.layout.service.d.ts +57 -0
- package/src/app/publico/pages/login/login.page.d.ts +40 -0
- package/src/app/publico/pages/not-found/not-found.page.d.ts +17 -0
- package/src/app/publico/pages/seleccion-rol/seleccion-rol.component.d.ts +41 -0
- package/src/app/publico/pages/timeout/timeout.page.d.ts +10 -0
- package/src/app/seguridad/constantes/ConstantesGenerales.d.ts +25 -0
- package/src/app/seguridad/constantes/ReporteEntradaConstantes.d.ts +7 -0
- package/src/app/seguridad/modelos/AplicacionModel.d.ts +7 -0
- package/src/app/seguridad/modelos/ArchivoPortalModel.d.ts +13 -0
- package/src/app/seguridad/modelos/AtributoPuntoModel.d.ts +8 -0
- package/src/app/seguridad/modelos/AtributoSSOportalModel.d.ts +16 -0
- package/src/app/seguridad/modelos/{AuditoriaArchivoModel.ts → AuditoriaArchivoModel.d.ts} +10 -13
- package/src/app/seguridad/modelos/CargueLineaModel.d.ts +12 -0
- package/src/app/seguridad/modelos/ColoresRGB.d.ts +17 -0
- package/src/app/seguridad/modelos/ColumnaFuenteModel.d.ts +8 -0
- package/src/app/seguridad/modelos/{ColumnaWraperModel.ts → ColumnaWraperModel.d.ts} +6 -7
- package/src/app/seguridad/modelos/ComplementoModel.d.ts +6 -0
- package/src/app/seguridad/modelos/ComponentePaginaModel.d.ts +20 -0
- package/src/app/seguridad/modelos/ConexionModel.d.ts +13 -0
- package/src/app/seguridad/modelos/{ContenidoHtmlPortalModel.ts → ContenidoHtmlPortalModel.d.ts} +20 -25
- package/src/app/seguridad/modelos/ControlFuncionModel.d.ts +7 -0
- package/src/app/seguridad/modelos/CorreoModel.d.ts +31 -0
- package/src/app/seguridad/modelos/{CorreoOrgEmpModModel.ts → CorreoOrgEmpModModel.d.ts} +8 -11
- package/src/app/seguridad/modelos/CorreoWSModel.d.ts +33 -0
- package/src/app/seguridad/modelos/CruceRecursoPuntoModel.d.ts +13 -0
- package/src/app/seguridad/modelos/{DatoInicioModel.ts → DatoInicioModel.d.ts} +6 -7
- package/src/app/seguridad/modelos/{EjecucionReporteDataModel.ts → EjecucionReporteDataModel.d.ts} +20 -21
- package/src/app/seguridad/modelos/EmpresaModel.d.ts +23 -0
- package/src/app/seguridad/modelos/EmpresaSeguridadModel.d.ts +18 -0
- package/src/app/seguridad/modelos/{EntradaComplementoModel.ts → EntradaComplementoModel.d.ts} +6 -9
- package/src/app/seguridad/modelos/EtiquetaModel.d.ts +4 -0
- package/src/app/seguridad/modelos/Etiquetas.d.ts +10 -0
- package/src/app/seguridad/modelos/{ForeingWraperModel.ts → ForeingWraperModel.d.ts} +6 -9
- package/src/app/seguridad/modelos/FuenteCampoAtributoModel.d.ts +15 -0
- package/src/app/seguridad/modelos/{FuenteCampoModel.ts → FuenteCampoModel.d.ts} +16 -20
- package/src/app/seguridad/modelos/FuenteDato.d.ts +18 -0
- package/src/app/seguridad/modelos/FuenteEntradaModel.d.ts +8 -0
- package/src/app/seguridad/modelos/{FuenteGeneralModel.ts → FuenteGeneralModel.d.ts} +36 -55
- package/src/app/seguridad/modelos/FuenteLineaServicioModel.d.ts +16 -0
- package/src/app/seguridad/modelos/FuenteProcesoGeneralModel.d.ts +10 -0
- package/src/app/seguridad/modelos/{FuenteServicioModel.ts → FuenteServicioModel.d.ts} +47 -61
- package/src/app/seguridad/modelos/FuncionalidadModel.d.ts +8 -0
- package/src/app/seguridad/modelos/GeneralModel.d.ts +8 -0
- package/src/app/seguridad/modelos/{GrupoAccesoModel.ts → GrupoAccesoModel.d.ts} +6 -9
- package/src/app/seguridad/modelos/GrupoControlFuncionModel.d.ts +9 -0
- package/src/app/seguridad/modelos/GrupoFuenteModel.d.ts +13 -0
- package/src/app/seguridad/modelos/GrupoPermisoModel.d.ts +13 -0
- package/src/app/seguridad/modelos/{JoinFromModel.ts → JoinFromModel.d.ts} +4 -4
- package/src/app/seguridad/modelos/ListaServicioModel.d.ts +16 -0
- package/src/app/seguridad/modelos/LlaveForaneaModel.d.ts +6 -0
- package/src/app/seguridad/modelos/LoginModel.d.ts +17 -0
- package/src/app/seguridad/modelos/MensajeSistemaModel.d.ts +7 -0
- package/src/app/seguridad/modelos/{MenuPortalModel.ts → MenuPortalModel.d.ts} +4 -5
- package/src/app/seguridad/modelos/ModulosModel.d.ts +14 -0
- package/src/app/seguridad/modelos/{ObjetoReporteModel.ts → ObjetoReporteModel.d.ts} +5 -6
- package/src/app/seguridad/modelos/PaginaPortalModel.d.ts +19 -0
- package/src/app/seguridad/modelos/ParametroComponenteModel.d.ts +8 -0
- package/src/app/seguridad/modelos/ParametrosGeneralModel.d.ts +8 -0
- package/src/app/seguridad/modelos/PermisoFuncionModel.d.ts +8 -0
- package/src/app/seguridad/modelos/PermisocontenidoModel.d.ts +18 -0
- package/src/app/seguridad/modelos/{PeticionModel.ts → PeticionModel.d.ts} +15 -20
- package/src/app/seguridad/modelos/PreguntaSeguridadModel.d.ts +6 -0
- package/src/app/seguridad/modelos/PropiedadModel.d.ts +9 -0
- package/src/app/seguridad/modelos/PublicacionWebModel.d.ts +25 -0
- package/src/app/seguridad/modelos/PuntoProcesoModel.d.ts +6 -0
- package/src/app/seguridad/modelos/RecursoPunto.d.ts +12 -0
- package/src/app/seguridad/modelos/RecursoPuntoModel.d.ts +12 -0
- package/src/app/seguridad/modelos/ReporteBanda.d.ts +7 -0
- package/src/app/seguridad/modelos/ReporteColumna.d.ts +32 -0
- package/src/app/seguridad/modelos/ReporteColumnario.d.ts +68 -0
- package/src/app/seguridad/modelos/ReporteColumnarioMarcador.d.ts +23 -0
- package/src/app/seguridad/modelos/{ReporteEntradaModel.ts → ReporteEntradaModel.d.ts} +19 -21
- package/src/app/seguridad/modelos/{ReporteFuenteModel.ts → ReporteFuenteModel.d.ts} +87 -141
- package/src/app/seguridad/modelos/ReporteMarcador.d.ts +39 -0
- package/src/app/seguridad/modelos/ReporteSoporte.d.ts +9 -0
- package/src/app/seguridad/modelos/ReporteTabla.d.ts +12 -0
- package/src/app/seguridad/modelos/RespuestaModel.d.ts +8 -0
- package/src/app/seguridad/modelos/{RolModel.ts → RolModel.d.ts} +37 -41
- package/src/app/seguridad/modelos/ServidorCorreoModel.d.ts +25 -0
- package/src/app/seguridad/modelos/SistemaMensajeModel.d.ts +8 -0
- package/src/app/seguridad/modelos/SitioPortalModel.d.ts +24 -0
- package/src/app/seguridad/modelos/TablaFromModel.d.ts +4 -0
- package/src/app/seguridad/modelos/TareasModel.d.ts +50 -0
- package/src/app/seguridad/modelos/TextoModel.d.ts +8 -0
- package/src/app/seguridad/modelos/TipoEtiqueta.d.ts +7 -0
- package/src/app/seguridad/modelos/UnionModel.d.ts +11 -0
- package/src/app/seguridad/modelos/{UsuarioModel.ts → UsuarioModel.d.ts} +49 -60
- package/src/app/seguridad/modelos/UsuariogrupoModel.d.ts +22 -0
- package/src/app/seguridad/modelos/aplicacion-propiedad-model.d.ts +13 -0
- package/src/app/seguridad/modelos/contenidoCorreoModel.d.ts +9 -0
- package/src/app/shared/componentes/input-helper-seleccion-plantilla/input-helper-seleccion-plantilla.component.d.ts +47 -0
- package/src/app/shared/servicios/cargar-archivos.service.d.ts +15 -0
- package/src/app/shared/servicios/cargar-mapas.service.d.ts +18 -0
- package/src/app/shared/servicios/encriptado-basico.service.d.ts +10 -0
- package/src/app/shared/servicios/general.service.d.ts +24 -0
- package/src/app/shared/servicios/parametros-navegacion.service.d.ts +9 -0
- package/src/app/webcommon/pages/cargue-plantilla/cargue-plantilla-general/cargue-plantilla-general.component.d.ts +79 -0
- package/src/app/webcommon/pages/ejecucion-reporte/detalle-campo-reporte/detalle-campo-reporte.component.d.ts +79 -0
- package/src/app/webcommon/pages/ejecucion-reporte/detalle-distribucion-reporte/detalle-distribucion-reporte.component.d.ts +29 -0
- package/src/app/webcommon/pages/ejecucion-reporte/detalle-ejecucion-reporte/detalle-ejecucion-reporte.page.d.ts +69 -0
- package/src/app/webcommon/pages/ejecucion-reporte/detalle-entrada-reporte/detalle-entrada-reporte.component.d.ts +51 -0
- package/src/app/webcommon/pages/ejecucion-reporte/detalle-punto-proceso-reporte/detalle-punto-proceso-reporte.component.d.ts +77 -0
- package/src/app/webcommon/pages/ejecucion-reporte/detalle-tipo-reporte/detalle-tipo-reporte.component.d.ts +279 -0
- package/src/app/webcommon/pages/ejecucion-reporte/listado-ejecucion-reporte/listado-ejecucion-reporte.page.d.ts +42 -0
- package/src/app/webcommon/pages/ejecucion-reporte-externo/listado-ejecucion-reporte-externo/listado-ejecucion-reporte-externo.component.d.ts +36 -0
- package/src/app/webcommon/pages/fuente/importar-fuente-con/importar-fuente-con.component.d.ts +146 -0
- package/src/app/webcommon/pages/fuente/importar-fuente-general/importar-fuente-general.component.d.ts +49 -0
- package/src/app/webcommon/pages/fuente-reporte/fuente-reporte.component.d.ts +132 -0
- package/src/app/webcommon/pages/fuenteGeneral/fuente-general-servicio/fuente-general-servicio.component.d.ts +64 -0
- package/src/app/webcommon/pages/fuenteGeneral/listado-fuente-general/listado-fuente-general.page.d.ts +33 -0
- package/src/app/webcommon/pages/fuenteGeneral/mantenimiento-fuente-general/mantenimiento-fuente-general.page.d.ts +149 -0
- package/src/app/webcommon/pipes/dashboard.pipe.d.ts +48 -0
- package/src/app/webcommon/pipes/fuente.pipe.d.ts +136 -0
- package/src/app/webcommon/pipes/general.pipe.d.ts +647 -0
- package/src/app/webcommon/pipes/reporte-columnario.pipe.d.ts +59 -0
- package/src/app/webcommon/pipes/reporte-fuente.pipe.d.ts +193 -0
- package/src/app/webcommon/popups/popup-campos-fuente-general/popup-campos-fuente-general.component.d.ts +59 -0
- package/src/app/webcommon/popups/popup-convertir-plantillas/popup-convertir-plantillas.component.d.ts +27 -0
- package/src/app/webcommon/popups/popup-editor-formula/popup-editor-formula.component.d.ts +21 -0
- package/src/app/webcommon/popups/popup-punto-proceso/popup-punto-proceso.component.d.ts +64 -0
- package/src/app/webcommon/popups/popup-recurso/popup-recurso.component.d.ts +63 -0
- package/src/app/webcommon/popups/popup-reporte/popup-reporte.component.d.ts +105 -0
- package/src/app/webcommon/popups/popup-sentencia/popup-sentencia.component.d.ts +21 -0
- package/src/app/webcommon/popups/popup-tablas-fuente/popup-tablas-fuente.component.d.ts +42 -0
- package/src/app/webcommon/popups/punto-proceso-comp/punto-proceso-comp.component.d.ts +30 -0
- package/src/app/webcommon/services/carguelinea.service.d.ts +19 -0
- package/src/app/webcommon/services/dashboard.service.d.ts +27 -0
- package/src/app/webcommon/services/ejecucionreporte.service.d.ts +34 -0
- package/src/app/webcommon/services/fechaUtils.service.d.ts +31 -0
- package/src/app/webcommon/services/fuentegeneral.service.d.ts +24 -0
- package/src/app/webcommon/services/homologacion.service.d.ts +17 -0
- package/src/app/webcommon/services/plantillas.service.d.ts +26 -0
- package/src/app/webcommon/services/reportes.service.d.ts +35 -0
- package/src/app/webcommon/webcommon.module.d.ts +6 -0
- package/src/environments/environment.d.ts +7 -0
- package/.browserslistrc +0 -15
- package/.editorconfig +0 -16
- package/.vscode/extensions.json +0 -4
- package/.vscode/launch.json +0 -20
- package/.vscode/tasks.json +0 -42
- package/angular.json +0 -143
- package/karma.conf.js +0 -44
- package/ng-package.json +0 -21
- package/src/app/app.component.html +0 -12
- package/src/app/app.component.scss +0 -0
- package/src/app/app.component.spec.ts +0 -29
- package/src/app/app.component.ts +0 -34
- package/src/app/app.config.ts +0 -43
- package/src/app/app.module.ts +0 -10
- package/src/app/app.routes.ts +0 -88
- package/src/app/core/componentes/breadcrumb/breadcrumb.component.html +0 -6
- package/src/app/core/componentes/breadcrumb/breadcrumb.component.scss +0 -0
- package/src/app/core/componentes/breadcrumb/breadcrumb.component.ts +0 -39
- package/src/app/core/componentes/carga-breadcrumb/carga-breadcrumb.component.html +0 -1
- package/src/app/core/componentes/carga-breadcrumb/carga-breadcrumb.component.scss +0 -0
- package/src/app/core/componentes/carga-breadcrumb/carga-breadcrumb.component.ts +0 -31
- package/src/app/core/componentes/carga-pantalla-completa/carga-pantalla-completa.component.html +0 -9
- package/src/app/core/componentes/carga-pantalla-completa/carga-pantalla-completa.component.scss +0 -28
- package/src/app/core/componentes/carga-pantalla-completa/carga-pantalla-completa.component.ts +0 -32
- package/src/app/core/componentes/filtro-general/filtro-general.component.html +0 -36
- package/src/app/core/componentes/filtro-general/filtro-general.component.scss +0 -3
- package/src/app/core/componentes/filtro-general/filtro-general.component.ts +0 -218
- package/src/app/core/componentes/footer/footer.component.html +0 -13
- package/src/app/core/componentes/footer/footer.component.scss +0 -3
- package/src/app/core/componentes/footer/footer.component.ts +0 -20
- package/src/app/core/componentes/formulariodinamico/formulariodinamico.component.html +0 -267
- package/src/app/core/componentes/formulariodinamico/formulariodinamico.component.scss +0 -21
- package/src/app/core/componentes/formulariodinamico/formulariodinamico.component.ts +0 -278
- package/src/app/core/componentes/formulariodinamico/objetosformulario/CampoFormulario.ts +0 -118
- package/src/app/core/componentes/formulariodinamico/objetosformulario/CampoFormularioCons.ts +0 -76
- package/src/app/core/componentes/formulariodinamico/objetosformulario/CampoFormularioNuevo.ts +0 -67
- package/src/app/core/componentes/formulariodinamico/objetosformulario/HashDirective.ts +0 -11
- package/src/app/core/componentes/inicio-component/inicio-component.component.html +0 -29
- package/src/app/core/componentes/inicio-component/inicio-component.component.scss +0 -63
- package/src/app/core/componentes/inicio-component/inicio-component.component.ts +0 -68
- package/src/app/core/componentes/menu/menu.component.html +0 -13
- package/src/app/core/componentes/menu/menu.component.scss +0 -36
- package/src/app/core/componentes/menu/menu.component.ts +0 -35
- package/src/app/core/componentes/tabla-general/tabla-general.component.html +0 -90
- package/src/app/core/componentes/tabla-general/tabla-general.component.scss +0 -0
- package/src/app/core/componentes/tabla-general/tabla-general.component.ts +0 -96
- package/src/app/core/core.module.ts +0 -22
- package/src/app/core/errores/authentication.error.ts +0 -6
- package/src/app/core/modelos/error-response.model.ts +0 -9
- package/src/app/core/modelos/table-column.model.ts +0 -10
- package/src/app/core/modelos/user.model.ts +0 -6
- package/src/app/core/plantilla-general/plantilla-general.template.html +0 -139
- package/src/app/core/plantilla-general/plantilla-general.template.scss +0 -37
- package/src/app/core/plantilla-general/plantilla-general.template.ts +0 -233
- package/src/app/core/servicios/auth.service.ts +0 -189
- package/src/app/core/servicios/cargar-control-funcionalidad.service.ts +0 -48
- package/src/app/core/servicios/click-posicion.service.ts +0 -16
- package/src/app/core/servicios/data-exporter-table.utils.ts +0 -78
- package/src/app/core/servicios/error-interceptor.service.ts +0 -208
- package/src/app/core/servicios/guardias/auth.guard.ts +0 -51
- package/src/app/core/servicios/guardias/publico.guard.ts +0 -26
- package/src/app/core/servicios/interceptores/loading-interceptor.ts +0 -37
- package/src/app/core/servicios/interceptores/token-interceptor.service.ts +0 -177
- package/src/app/core/servicios/loading.service.ts +0 -48
- package/src/app/core/servicios/menu.service.ts +0 -153
- package/src/app/core/servicios/spinner-service.ts +0 -18
- package/src/app/core/servicios/storage.service.ts +0 -68
- package/src/app/core/servicios/template.service.ts +0 -91
- package/src/app/core/servicios/toast.service.ts +0 -114
- package/src/app/core/servicios/utils.service.ts +0 -398
- 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 -194
- package/src/app/layout/app.topbar.component.ts +0 -378
- package/src/app/layout/config/app.config.component.html +0 -125
- package/src/app/layout/config/app.config.component.ts +0 -206
- package/src/app/layout/config/app.config.module.ts +0 -11
- package/src/app/layout/service/app.layout.service.ts +0 -191
- package/src/app/publico/pages/login/login.page.html +0 -53
- package/src/app/publico/pages/login/login.page.scss +0 -210
- package/src/app/publico/pages/login/login.page.ts +0 -130
- package/src/app/publico/pages/not-found/not-found.page.html +0 -36
- package/src/app/publico/pages/not-found/not-found.page.scss +0 -2
- package/src/app/publico/pages/not-found/not-found.page.ts +0 -46
- package/src/app/publico/pages/seleccion-rol/seleccion-rol.component.html +0 -58
- package/src/app/publico/pages/seleccion-rol/seleccion-rol.component.scss +0 -46
- package/src/app/publico/pages/seleccion-rol/seleccion-rol.component.ts +0 -176
- package/src/app/publico/pages/timeout/timeout.page.html +0 -24
- package/src/app/publico/pages/timeout/timeout.page.scss +0 -2
- package/src/app/publico/pages/timeout/timeout.page.ts +0 -18
- package/src/app/seguridad/constantes/ConstantesGenerales.ts +0 -30
- package/src/app/seguridad/constantes/ReporteEntradaConstantes.ts +0 -18
- package/src/app/seguridad/constantes/ReporteFuenteConstantes.ts +0 -13
- package/src/app/seguridad/modelos/AplicacionModel.ts +0 -11
- package/src/app/seguridad/modelos/ArchivoPortalModel.ts +0 -16
- package/src/app/seguridad/modelos/AtributoPuntoModel.ts +0 -9
- package/src/app/seguridad/modelos/AtributoSSOportalModel.ts +0 -22
- package/src/app/seguridad/modelos/CargueLineaModel.ts +0 -17
- package/src/app/seguridad/modelos/ColoresRGB.ts +0 -17
- package/src/app/seguridad/modelos/ColumnaFuenteModel.ts +0 -9
- package/src/app/seguridad/modelos/ComplementoModel.ts +0 -10
- package/src/app/seguridad/modelos/ComponentePaginaModel.ts +0 -22
- package/src/app/seguridad/modelos/ConexionModel.ts +0 -15
- package/src/app/seguridad/modelos/ControlFuncionModel.ts +0 -10
- package/src/app/seguridad/modelos/CorreoModel.ts +0 -45
- package/src/app/seguridad/modelos/CorreoWSModel.ts +0 -49
- package/src/app/seguridad/modelos/CruceRecursoPuntoModel.ts +0 -14
- package/src/app/seguridad/modelos/EmpresaModel.ts +0 -25
- package/src/app/seguridad/modelos/EmpresaSeguridadModel.ts +0 -19
- package/src/app/seguridad/modelos/EtiquetaModel.ts +0 -4
- package/src/app/seguridad/modelos/Etiquetas.ts +0 -14
- package/src/app/seguridad/modelos/FuenteCampoAtributoModel.ts +0 -21
- package/src/app/seguridad/modelos/FuenteDato.ts +0 -19
- package/src/app/seguridad/modelos/FuenteEntradaModel.ts +0 -9
- package/src/app/seguridad/modelos/FuenteLineaServicioModel.ts +0 -19
- package/src/app/seguridad/modelos/FuenteProcesoGeneralModel.ts +0 -14
- package/src/app/seguridad/modelos/FuncionalidadModel.ts +0 -12
- package/src/app/seguridad/modelos/GeneralModel.ts +0 -16
- package/src/app/seguridad/modelos/GrupoControlFuncionModel.ts +0 -12
- package/src/app/seguridad/modelos/GrupoFuenteModel.ts +0 -17
- package/src/app/seguridad/modelos/GrupoPermisoModel.ts +0 -16
- package/src/app/seguridad/modelos/ListaServicioModel.ts +0 -18
- package/src/app/seguridad/modelos/LlaveForaneaModel.ts +0 -6
- package/src/app/seguridad/modelos/LoginModel.ts +0 -19
- package/src/app/seguridad/modelos/MensajeSistemaModel.ts +0 -10
- package/src/app/seguridad/modelos/ModulosModel.ts +0 -17
- package/src/app/seguridad/modelos/PaginaPortalModel.ts +0 -23
- package/src/app/seguridad/modelos/ParametroComponenteModel.ts +0 -9
- package/src/app/seguridad/modelos/ParametrosGeneralModel.ts +0 -16
- package/src/app/seguridad/modelos/PermisoFuncionModel.ts +0 -11
- package/src/app/seguridad/modelos/PermisocontenidoModel.ts +0 -20
- package/src/app/seguridad/modelos/PreguntaSeguridadModel.ts +0 -9
- package/src/app/seguridad/modelos/PropiedadModel.ts +0 -12
- package/src/app/seguridad/modelos/PublicacionWebModel.ts +0 -29
- package/src/app/seguridad/modelos/PuntoProcesoModel.ts +0 -7
- package/src/app/seguridad/modelos/RecursoPunto.ts +0 -13
- package/src/app/seguridad/modelos/RecursoPuntoModel.ts +0 -13
- package/src/app/seguridad/modelos/ReporteBanda.ts +0 -9
- package/src/app/seguridad/modelos/ReporteColumna.ts +0 -33
- package/src/app/seguridad/modelos/ReporteColumnario.ts +0 -82
- package/src/app/seguridad/modelos/ReporteColumnarioMarcador.ts +0 -31
- package/src/app/seguridad/modelos/ReporteMarcador.ts +0 -40
- package/src/app/seguridad/modelos/ReporteSoporte.ts +0 -10
- package/src/app/seguridad/modelos/ReporteTabla.ts +0 -14
- package/src/app/seguridad/modelos/RespuestaModel.ts +0 -9
- package/src/app/seguridad/modelos/ServidorCorreoModel.ts +0 -31
- package/src/app/seguridad/modelos/SistemaMensajeModel.ts +0 -11
- package/src/app/seguridad/modelos/SitioPortalModel.ts +0 -29
- package/src/app/seguridad/modelos/TablaFromModel.ts +0 -5
- package/src/app/seguridad/modelos/TareasModel.ts +0 -54
- package/src/app/seguridad/modelos/TextoModel.ts +0 -11
- package/src/app/seguridad/modelos/TipoEtiqueta.ts +0 -8
- package/src/app/seguridad/modelos/UnionModel.ts +0 -14
- package/src/app/seguridad/modelos/UsuariogrupoModel.ts +0 -27
- package/src/app/seguridad/modelos/aplicacion-propiedad-model.ts +0 -16
- package/src/app/seguridad/modelos/contenidoCorreoModel.ts +0 -13
- package/src/app/shared/componentes/input-helper-seleccion-plantilla/input-helper-seleccion-plantilla.component.html +0 -47
- package/src/app/shared/componentes/input-helper-seleccion-plantilla/input-helper-seleccion-plantilla.component.scss +0 -8
- package/src/app/shared/componentes/input-helper-seleccion-plantilla/input-helper-seleccion-plantilla.component.ts +0 -144
- package/src/app/shared/servicios/cargar-archivos.service.ts +0 -51
- package/src/app/shared/servicios/cargar-mapas.service.ts +0 -43
- package/src/app/shared/servicios/encriptado-basico.service.ts +0 -54
- package/src/app/shared/servicios/encriptador-simetrico.service.ts +0 -29
- package/src/app/shared/servicios/general.service.ts +0 -124
- package/src/app/shared/servicios/parametros-navegacion.service.ts +0 -20
- package/src/app/shared/servicios/plantillas.service.ts +0 -22
- package/src/app/shared/servicios/tarea.service.ts +0 -71
- package/src/app/shared/utilidades/translate-loader.util.ts +0 -44
- package/src/app/webcommon/pages/cargue-plantilla/cargue-plantilla-general/cargue-plantilla-general.component.html +0 -175
- package/src/app/webcommon/pages/cargue-plantilla/cargue-plantilla-general/cargue-plantilla-general.component.scss +0 -78
- package/src/app/webcommon/pages/cargue-plantilla/cargue-plantilla-general/cargue-plantilla-general.component.ts +0 -438
- package/src/app/webcommon/pages/ejecucion-reporte/detalle-campo-reporte/detalle-campo-reporte.component.html +0 -87
- package/src/app/webcommon/pages/ejecucion-reporte/detalle-campo-reporte/detalle-campo-reporte.component.scss +0 -0
- package/src/app/webcommon/pages/ejecucion-reporte/detalle-campo-reporte/detalle-campo-reporte.component.ts +0 -189
- package/src/app/webcommon/pages/ejecucion-reporte/detalle-distribucion-reporte/detalle-distribucion-reporte.component.html +0 -117
- package/src/app/webcommon/pages/ejecucion-reporte/detalle-distribucion-reporte/detalle-distribucion-reporte.component.scss +0 -0
- package/src/app/webcommon/pages/ejecucion-reporte/detalle-distribucion-reporte/detalle-distribucion-reporte.component.ts +0 -87
- package/src/app/webcommon/pages/ejecucion-reporte/detalle-ejecucion-reporte/detalle-ejecucion-reporte.page.html +0 -158
- package/src/app/webcommon/pages/ejecucion-reporte/detalle-ejecucion-reporte/detalle-ejecucion-reporte.page.scss +0 -6
- package/src/app/webcommon/pages/ejecucion-reporte/detalle-ejecucion-reporte/detalle-ejecucion-reporte.page.ts +0 -345
- package/src/app/webcommon/pages/ejecucion-reporte/detalle-entrada-reporte/detalle-entrada-reporte.component.html +0 -131
- package/src/app/webcommon/pages/ejecucion-reporte/detalle-entrada-reporte/detalle-entrada-reporte.component.scss +0 -0
- package/src/app/webcommon/pages/ejecucion-reporte/detalle-entrada-reporte/detalle-entrada-reporte.component.ts +0 -198
- package/src/app/webcommon/pages/ejecucion-reporte/detalle-punto-proceso-reporte/detalle-punto-proceso-reporte.component.html +0 -206
- package/src/app/webcommon/pages/ejecucion-reporte/detalle-punto-proceso-reporte/detalle-punto-proceso-reporte.component.scss +0 -3
- package/src/app/webcommon/pages/ejecucion-reporte/detalle-punto-proceso-reporte/detalle-punto-proceso-reporte.component.ts +0 -328
- package/src/app/webcommon/pages/ejecucion-reporte/detalle-tipo-reporte/detalle-tipo-reporte.component.html +0 -2121
- package/src/app/webcommon/pages/ejecucion-reporte/detalle-tipo-reporte/detalle-tipo-reporte.component.scss +0 -241
- package/src/app/webcommon/pages/ejecucion-reporte/detalle-tipo-reporte/detalle-tipo-reporte.component.ts +0 -1698
- package/src/app/webcommon/pages/ejecucion-reporte/listado-ejecucion-reporte/listado-ejecucion-reporte.page.html +0 -33
- package/src/app/webcommon/pages/ejecucion-reporte/listado-ejecucion-reporte/listado-ejecucion-reporte.page.scss +0 -0
- package/src/app/webcommon/pages/ejecucion-reporte/listado-ejecucion-reporte/listado-ejecucion-reporte.page.ts +0 -96
- package/src/app/webcommon/pages/ejecucion-reporte-externo/listado-ejecucion-reporte-externo/listado-ejecucion-reporte-externo.component.html +0 -56
- 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 -113
- 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 -566
- package/src/app/webcommon/popups/popup-sentencia/popup-sentencia.component.html +0 -10
- package/src/app/webcommon/popups/popup-sentencia/popup-sentencia.component.scss +0 -5
- package/src/app/webcommon/popups/popup-sentencia/popup-sentencia.component.ts +0 -58
- package/src/app/webcommon/popups/popup-tablas-fuente/popup-tablas-fuente.component.html +0 -71
- package/src/app/webcommon/popups/popup-tablas-fuente/popup-tablas-fuente.component.scss +0 -0
- package/src/app/webcommon/popups/popup-tablas-fuente/popup-tablas-fuente.component.ts +0 -154
- package/src/app/webcommon/popups/punto-proceso-comp/punto-proceso-comp.component.html +0 -11
- package/src/app/webcommon/popups/punto-proceso-comp/punto-proceso-comp.component.scss +0 -0
- package/src/app/webcommon/popups/punto-proceso-comp/punto-proceso-comp.component.ts +0 -82
- package/src/app/webcommon/services/carguelinea.service.ts +0 -74
- package/src/app/webcommon/services/dashboard.service.ts +0 -258
- package/src/app/webcommon/services/ejecucionreporte.service.ts +0 -160
- package/src/app/webcommon/services/fechaUtils.service.ts +0 -133
- package/src/app/webcommon/services/fuentegeneral.service.ts +0 -74
- package/src/app/webcommon/services/homologacion.service.ts +0 -49
- package/src/app/webcommon/services/plantillas.service.ts +0 -165
- package/src/app/webcommon/services/reportes.service.ts +0 -133
- package/src/app/webcommon/webcommon.module.ts +0 -11
- package/src/environments/environment.prod.ts +0 -3
- package/src/environments/environment.ts +0 -25
- package/src/favicon.ico +0 -0
- package/src/index.html +0 -14
- package/src/main.ts +0 -12
- package/src/polyfills.ts +0 -53
- package/src/test.ts +0 -14
- package/tsconfig.app.json +0 -15
- package/tsconfig.json +0 -35
- package/tsconfig.spec.json +0 -18
|
@@ -1,2121 +0,0 @@
|
|
|
1
|
-
<p-tabView (onChange)="cambiarTab($event)">
|
|
2
|
-
<p-tabPanel header="{{'excel' | translate }}" [selected]="true">
|
|
3
|
-
<div class="card col-md-12">
|
|
4
|
-
<div class="Detallereporte mt-2">
|
|
5
|
-
<p class="font-semibold">{{'debe' | translate}} {{'indicar' | translate}} {{'plantilla' | translate}} {{'y' | translate}}
|
|
6
|
-
{{'hoja' | translate}} {{'para' | translate}} {{'que' | translate}} {{'esta' | translate}}
|
|
7
|
-
{{'opcion' | translate}} {{'se' | translate}} {{'active' | translate}}
|
|
8
|
-
</p>
|
|
9
|
-
<div class="p-fluid p-formgrid grid">
|
|
10
|
-
<div class="field col-12 md:col-4">
|
|
11
|
-
<app-input-helper-seleccion-plantilla [readonly]="false" [showDialog]="false"
|
|
12
|
-
[label]="reporteFuente.archivoTodo ? reporteFuente.archivoTodo: ''"
|
|
13
|
-
[extensiones]="'xls;xlsx'" [mostraroblicargo]="true" [labelrar]="'plantilla' | translate"
|
|
14
|
-
(onSelected)="obtenerArchivo($event)"></app-input-helper-seleccion-plantilla>
|
|
15
|
-
|
|
16
|
-
</div>
|
|
17
|
-
|
|
18
|
-
<div class="field col-12 md:col-4">
|
|
19
|
-
<p-floatLabel>
|
|
20
|
-
<input pInputText type="text" [(ngModel)]="reporteFuente.hojaExcel" size="25" maxlength="20">
|
|
21
|
-
<label>{{'nombre' | translate }} {{'de' | translate }} {{'la' | translate }} {{'hoja' |
|
|
22
|
-
translate }}</label>
|
|
23
|
-
</p-floatLabel>
|
|
24
|
-
</div>
|
|
25
|
-
|
|
26
|
-
<div class="field col-12 md:col-4">
|
|
27
|
-
<p-floatLabel>
|
|
28
|
-
<p-dropdown [options]="listaTipoCifrado" [autoDisplayFirst]="false" [showClear]="true"
|
|
29
|
-
[(ngModel)]="reporteFuente.cifradoExcel" optionLabel="nombre"
|
|
30
|
-
optionValue="llaveTabla"></p-dropdown>
|
|
31
|
-
<label>{{'tipocifrado' | translate }}</label>
|
|
32
|
-
</p-floatLabel>
|
|
33
|
-
</div>
|
|
34
|
-
</div>
|
|
35
|
-
|
|
36
|
-
<!--BOTONES-->
|
|
37
|
-
<div class="flex justify-content-end mb-3">
|
|
38
|
-
<button pButton pRipple class="ml-2 p-button p-button-raised"
|
|
39
|
-
icon="glyphicons glyphicons-refresh" label="{{'link_actualizar' | translate}}"
|
|
40
|
-
(click)="actualizar()">
|
|
41
|
-
</button>
|
|
42
|
-
</div>
|
|
43
|
-
</div>
|
|
44
|
-
</div>
|
|
45
|
-
|
|
46
|
-
<p-pickList [source]="listaExcel" [target]="listaNoExcel" sourceHeader="Asociado" sourceFilterPlaceholder="Asociado"
|
|
47
|
-
targetHeader="Desasociado" [dragdrop]="true" [responsive]="true" targetFilterPlaceholder="Desasociado"
|
|
48
|
-
filterBy="sintaxis" (onSourceReorder)="moverAAsociado($event)"
|
|
49
|
-
(onMoveAllToTarget)="moverADesasociado($event)" (onMoveAllToSource)="moverAAsociado($event)"
|
|
50
|
-
(onMoveToTarget)="moverADesasociado($event)" (onMoveToSource)="moverAAsociado($event)">
|
|
51
|
-
<ng-template let-excel pTemplate="item">
|
|
52
|
-
<div>
|
|
53
|
-
<label>{{excel.nombre}}</label>
|
|
54
|
-
</div>
|
|
55
|
-
</ng-template>
|
|
56
|
-
</p-pickList>
|
|
57
|
-
|
|
58
|
-
<div class="mt-4">
|
|
59
|
-
<div class="flex justify-content-between align-items-center mt-2 mb-2">
|
|
60
|
-
<h1 class="text-xl">{{'marcadores' | translate}}</h1>
|
|
61
|
-
<button pButton pRipple class="p-button-secondary font-semibold" icon="pi pi-plus"
|
|
62
|
-
(click)="nuevoMarcadorExcel()" label="{{'link_nuevo' | translate}}" *ngIf="!verNuevoMarcadorExcel">
|
|
63
|
-
</button>
|
|
64
|
-
<div class="flex justify-content-end mb-1" *ngIf="verNuevoMarcadorExcel">
|
|
65
|
-
<button pButton pRipple (click)="verNuevoMarcadorExcel = false" label= "{{'listado' | translate}} {{'marcadores' | translate}}"
|
|
66
|
-
icon="pi pi-chevron-left" class="p-button-text font-semibold flex-shrink-0 "></button>
|
|
67
|
-
</div>
|
|
68
|
-
</div>
|
|
69
|
-
<p-table [value]="listaMarcadorExcel" responsiveLayout="scroll" [scrollable]="true"
|
|
70
|
-
dataKey="llaveTabla" selectionMode="single" [selection]="reporteMarcadorExcel" [rows]="10"
|
|
71
|
-
[totalRecords]="listaMarcadorExcel.length" [paginator]="listaMarcadorExcel.length > 10"
|
|
72
|
-
(onRowSelect)="verDetalleMarcadorExcel($event)" (onRowUnselect)="verDetalleMarcadorExcel($event)" *ngIf="!verNuevoMarcadorExcel">
|
|
73
|
-
<ng-template pTemplate="header">
|
|
74
|
-
|
|
75
|
-
<tr class="fondoTablaPincipal">
|
|
76
|
-
<th>{{'descripcion' | translate }}</th>
|
|
77
|
-
</tr>
|
|
78
|
-
</ng-template>
|
|
79
|
-
<ng-template pTemplate="body" let-marcador>
|
|
80
|
-
<tr [pSelectableRow]="marcador">
|
|
81
|
-
<td>{{marcador.descripcion}}</td>
|
|
82
|
-
</tr>
|
|
83
|
-
</ng-template>
|
|
84
|
-
<ng-template pTemplate="emptymessage">
|
|
85
|
-
<tr>
|
|
86
|
-
<td colspan="100" class="p-3 font-medium emptymessage">{{'mensajetablavacia' | translate}}</td>
|
|
87
|
-
</tr>
|
|
88
|
-
</ng-template>
|
|
89
|
-
</p-table>
|
|
90
|
-
|
|
91
|
-
<div class="card mt-3" *ngIf="verNuevoMarcadorExcel">
|
|
92
|
-
<h5 class="mt-3"><i class="glyphicons glyphicons-book"></i>{{'detalle' | translate}}</h5>
|
|
93
|
-
<div class="Detallereporte mt-4 ">
|
|
94
|
-
<form [formGroup]="formMarcadorExcel" >
|
|
95
|
-
<div class="col-md-12 p-fluid p-formgrid grid">
|
|
96
|
-
|
|
97
|
-
<div class="field col-12 md:col-4">
|
|
98
|
-
<p-floatLabel>
|
|
99
|
-
<input pInputText type="text" formControlName="descripcion" size="25" maxlength="4000">
|
|
100
|
-
<label>{{'descripcion' | translate }} *</label>
|
|
101
|
-
</p-floatLabel>
|
|
102
|
-
</div>
|
|
103
|
-
|
|
104
|
-
<div class="field col-12 md:col-4">
|
|
105
|
-
<p-floatLabel>
|
|
106
|
-
<input pInputText type="text" formControlName="marcador" size="25" maxlength="4000">
|
|
107
|
-
<label>{{'marcador' | translate }} *</label>
|
|
108
|
-
</p-floatLabel>
|
|
109
|
-
</div>
|
|
110
|
-
|
|
111
|
-
<div class="field col-12 md:col-4">
|
|
112
|
-
<p-floatLabel>
|
|
113
|
-
<p-dropdown
|
|
114
|
-
[options]="[{label: 'Imagen Fija', value: 'IF'}, {label: 'Marcador', value: 'MA'}]"
|
|
115
|
-
[autoDisplayFirst]="false" formControlName="tipo" optionLabel="label"
|
|
116
|
-
optionValue="value"></p-dropdown>
|
|
117
|
-
<label>{{'tipo' | translate }} *</label>
|
|
118
|
-
</p-floatLabel>
|
|
119
|
-
</div>
|
|
120
|
-
|
|
121
|
-
<div class="field col-12 md:col-12" [hidden]="esImagenFija">
|
|
122
|
-
<p-floatLabel>
|
|
123
|
-
<textarea class="w-full min-h-150 max-h-200" pInputTextarea formControlName="textoRegistro"></textarea>
|
|
124
|
-
<label>{{'valor' | translate }} *</label>
|
|
125
|
-
</p-floatLabel>
|
|
126
|
-
</div>
|
|
127
|
-
|
|
128
|
-
<div class="field col-12 md:col-4" [hidden]="esMarcador">
|
|
129
|
-
<p-floatLabel>
|
|
130
|
-
<p-dropdown
|
|
131
|
-
[options]="[{label: 'Unica', value: 'U'}, {label: 'Cada Empresa', value: 'C'}]"
|
|
132
|
-
[autoDisplayFirst]="false" formControlName="origen" optionLabel="label"
|
|
133
|
-
optionValue="value"></p-dropdown>
|
|
134
|
-
<label>{{'origen' | translate }} *</label>
|
|
135
|
-
</p-floatLabel>
|
|
136
|
-
</div>
|
|
137
|
-
|
|
138
|
-
<div class="field col-12 md:col-4" [hidden]="esMarcador">
|
|
139
|
-
<app-input-helper-seleccion-plantilla [readonly]="false" [showDialog]="false"
|
|
140
|
-
formControlName="textoRegistro"
|
|
141
|
-
[label]="reporteMarcadorExcel.textoRegistro ? reporteMarcadorExcel.textoRegistro: ''"
|
|
142
|
-
[extensiones]="'jpg;png'" (onSelected)="obtenerArchivoMarcadorExcel($event)"
|
|
143
|
-
[propiedad]="'ruta_recursos'" [labelrar]="('recursos' | translate)" [labelarch]="'recurso' | translate" [mostrarX]="true"
|
|
144
|
-
[mostraroblicargo]="!(!utilsService.validarCampoObligatorio(reporteMarcadorExcel.textoRegistro) && clickGuardarMarcadorExcel)"
|
|
145
|
-
[anexoPropiedad]="reporteMarcadorExcel.origen =='C' ? llaveEmpresa: ''"
|
|
146
|
-
[propiedadDeSistema]="true"></app-input-helper-seleccion-plantilla>
|
|
147
|
-
</div>
|
|
148
|
-
</div>
|
|
149
|
-
</form>
|
|
150
|
-
<!--BOTONES-->
|
|
151
|
-
<div class="flex justify-content-end mb-3" *ngIf="verNuevoMarcadorExcel">
|
|
152
|
-
<button pButton pRipple class="ml-2 p-button-raised" icon="glyphicons {{reporteMarcadorExcel.llave ? 'glyphicons-refresh' : 'glyphicons-floppy-save'}}"
|
|
153
|
-
label="{{reporteMarcadorExcel.llave ? ('link_actualizar' | translate) : ('link_guardar' | translate)}}" (click)="guardarMarcadorExcel()">
|
|
154
|
-
</button>
|
|
155
|
-
<button pButton pRipple class="ml-2 p-button-outlined" icon="glyphicons glyphicons-bin"
|
|
156
|
-
*ngIf="reporteMarcadorExcel.llave != null" label="{{'link_eliminar' | translate}}"
|
|
157
|
-
(click)="eliminarMarcadorExcel($event)">
|
|
158
|
-
</button>
|
|
159
|
-
</div>
|
|
160
|
-
</div>
|
|
161
|
-
</div>
|
|
162
|
-
</div>
|
|
163
|
-
</p-tabPanel>
|
|
164
|
-
<p-tabPanel header="{{'plantilla' | translate }}">
|
|
165
|
-
<div class="card col-md-12">
|
|
166
|
-
<div class="Detallereporte mt-2">
|
|
167
|
-
<div class="p-fluid p-formgrid grid">
|
|
168
|
-
|
|
169
|
-
<div class="field col-12 md:col-4">
|
|
170
|
-
<p-floatLabel>
|
|
171
|
-
<p-dropdown [options]="listaSiNo" [(ngModel)]="reporteFuente.unicoArchivo" [autoDisplayFirst]="false" [showClear]="true"
|
|
172
|
-
optionLabel="nombre" optionValue="codigo"></p-dropdown>
|
|
173
|
-
<label>{{'soporte' | translate }} {{'unico' | translate }}</label>
|
|
174
|
-
</p-floatLabel>
|
|
175
|
-
</div>
|
|
176
|
-
|
|
177
|
-
<div class="field col-12 md:col-4">
|
|
178
|
-
<p-floatLabel>
|
|
179
|
-
<p-dropdown [options]="listaSiNo" [(ngModel)]="reporteFuente.descargarFuente" [autoDisplayFirst]="false" [showClear]="true"
|
|
180
|
-
optionLabel="nombre" optionValue="codigo"></p-dropdown>
|
|
181
|
-
<label>{{'descargardoc' | translate }}</label>
|
|
182
|
-
</p-floatLabel>
|
|
183
|
-
</div>
|
|
184
|
-
|
|
185
|
-
<div class="field col-12 md:col-4">
|
|
186
|
-
<p-floatLabel>
|
|
187
|
-
<p-dropdown [options]="listaSiNo" [(ngModel)]="reporteFuente.generarPin" [autoDisplayFirst]="false" [showClear]="true"
|
|
188
|
-
optionLabel="nombre" optionValue="codigo"></p-dropdown>
|
|
189
|
-
<label>{{'generarpin' | translate }}</label>
|
|
190
|
-
</p-floatLabel>
|
|
191
|
-
</div>
|
|
192
|
-
|
|
193
|
-
<div class="field col-12 md:col-4">
|
|
194
|
-
<p-floatLabel>
|
|
195
|
-
<p-dropdown [options]="listaColumnas" [(ngModel)]="reporteFuente.campoAgrupacionPlanilla"
|
|
196
|
-
[autoDisplayFirst]="false" [showClear]="true" optionLabel="nombre" optionValue="llaveTabla"></p-dropdown>
|
|
197
|
-
<label>{{'agruparpor' | translate }}</label>
|
|
198
|
-
</p-floatLabel>
|
|
199
|
-
</div>
|
|
200
|
-
|
|
201
|
-
<div class="field col-12 md:col-4">
|
|
202
|
-
<p-floatLabel>
|
|
203
|
-
<input pInputText type="text" [(ngModel)]="reporteFuente.nombreAgrupacionPlanilla" size="25"
|
|
204
|
-
maxlength="100">
|
|
205
|
-
<label>{{'nombrearchivoagrupacion' | translate }}</label>
|
|
206
|
-
</p-floatLabel>
|
|
207
|
-
</div>
|
|
208
|
-
|
|
209
|
-
<div class="field col-12 md:col-4">
|
|
210
|
-
<p-floatLabel>
|
|
211
|
-
<p-dropdown [options]="listaTipoCifrado" [autoDisplayFirst]="false" [showClear]="true"
|
|
212
|
-
[(ngModel)]="reporteFuente.cifradoPlanilla" optionLabel="nombre"
|
|
213
|
-
optionValue="llaveTabla"></p-dropdown>
|
|
214
|
-
<label>{{'tipocifrado' | translate }}</label>
|
|
215
|
-
</p-floatLabel>
|
|
216
|
-
</div>
|
|
217
|
-
|
|
218
|
-
<div class="field col-12 md:col-4" [hidden]="reporteFuente.unicoArchivo == 'N'">
|
|
219
|
-
<app-input-helper-seleccion-plantilla [readonly]="false" [showDialog]="false"
|
|
220
|
-
[label]="reporteFuente.archivoIndividual ? reporteFuente.archivoIndividual: ''"
|
|
221
|
-
[labelrar]="'archivo' | translate" [labelarch]="'archivo' | translate" [mostraroblicargo]="true"
|
|
222
|
-
(onSelected)="obtenerArchivoPlanilla($event)"></app-input-helper-seleccion-plantilla>
|
|
223
|
-
</div>
|
|
224
|
-
|
|
225
|
-
</div>
|
|
226
|
-
<!--BOTONES-->
|
|
227
|
-
<div class="flex justify-content-end mb-3">
|
|
228
|
-
<button pButton pRipple class="ml-2 p-button p-button-raised" icon="glyphicons glyphicons-refresh"
|
|
229
|
-
label="{{'link_actualizar' | translate}}" (click)="actualizar()">
|
|
230
|
-
</button>
|
|
231
|
-
</div>
|
|
232
|
-
</div>
|
|
233
|
-
</div>
|
|
234
|
-
|
|
235
|
-
<p-tabView >
|
|
236
|
-
<p-tabPanel header="{{'marcadores' | translate }}" [selected]="true">
|
|
237
|
-
|
|
238
|
-
<div class="flex justify-content-end align-items-center mb-3">
|
|
239
|
-
<button pButton pRipple class="p-button-secondary font-semibold mb-2" icon="pi pi-plus"
|
|
240
|
-
(click)="nuevoMarcador()" label="{{'link_nuevo' | translate}}" *ngIf="!verNuevoMarcador">
|
|
241
|
-
</button>
|
|
242
|
-
<div class="flex justify-content-end mb-1" *ngIf="verNuevoMarcador">
|
|
243
|
-
<button pButton pRipple (click)="verNuevoMarcador = false" label= "{{'listado' | translate}} {{'marcadores' | translate}}"
|
|
244
|
-
icon="pi pi-chevron-left" class="p-button-text font-semibold flex-shrink-0 "></button>
|
|
245
|
-
</div>
|
|
246
|
-
</div>
|
|
247
|
-
<p-table [value]="listaMarcadores" [scrollable]="true" responsiveLayout="scroll"
|
|
248
|
-
dataKey="llaveTabla" selectionMode="single" [selection]="reporteMarcador"
|
|
249
|
-
[rows]="10" [totalRecords]="listaMarcadores.length"
|
|
250
|
-
[paginator]="listaMarcadores.length > 10" *ngIf="!verNuevoMarcador"
|
|
251
|
-
(onRowSelect)="verDetalleMarcador($event)" (onRowUnselect)="verDetalleMarcador($event)">
|
|
252
|
-
<ng-template pTemplate="header">
|
|
253
|
-
|
|
254
|
-
<tr class="fondoTablaPincipal">
|
|
255
|
-
<th>{{'descripcion' | translate }}</th>
|
|
256
|
-
<th>{{'tipo' | translate }}</th>
|
|
257
|
-
<th>{{'columna' | translate }}</th>
|
|
258
|
-
<th>{{'marcador' | translate }}</th>
|
|
259
|
-
</tr>
|
|
260
|
-
<th>
|
|
261
|
-
</ng-template>
|
|
262
|
-
<ng-template pTemplate="body" let-marcador>
|
|
263
|
-
<tr [pSelectableRow]="marcador">
|
|
264
|
-
<td>{{marcador.descripcion}}</td>
|
|
265
|
-
<td>{{marcador.tipo | reporteFuentePipe : 'listaTipoDatoMarcadores'}}</td>
|
|
266
|
-
<td>{{marcador.tipo == 'IF' ? marcador.textoRegistro : marcador.nombreColumna}}</td>
|
|
267
|
-
<td>{{marcador.marcador}}</td>
|
|
268
|
-
</tr>
|
|
269
|
-
</ng-template>
|
|
270
|
-
<ng-template pTemplate="emptymessage">
|
|
271
|
-
<tr>
|
|
272
|
-
<td colspan="100" class="p-3 font-medium emptymessage">{{'mensajetablavacia' | translate}}</td>
|
|
273
|
-
</tr>
|
|
274
|
-
</ng-template>
|
|
275
|
-
</p-table>
|
|
276
|
-
|
|
277
|
-
<div class="card col-md-12" *ngIf="verNuevoMarcador">
|
|
278
|
-
<div class="Detallereporte mt-2">
|
|
279
|
-
<form [formGroup]="formMarcador">
|
|
280
|
-
<p class="font-semibold">{{'indique' | translate}} {{'en' | translate}} {{'que' | translate}} {{'columna' | translate}} {{'desea' | translate}} {{'que' | translate}} {{'aparezca' | translate}} {{'la' | translate}} {{'informacion' | translate}}. {{'la' | translate}} {{'primera' | translate}} {{'columna' | translate}} {{'es' | translate}} {{'la' | translate}} 1.</p>
|
|
281
|
-
<div class="p-fluid p-formgrid grid" >
|
|
282
|
-
<div class="field col-12 md:col-4">
|
|
283
|
-
<p-floatLabel>
|
|
284
|
-
<input pInputText type="text" formControlName="descripcion" size="25"
|
|
285
|
-
maxlength="4000">
|
|
286
|
-
<label>{{'descripcion' | translate }} *</label>
|
|
287
|
-
</p-floatLabel>
|
|
288
|
-
</div>
|
|
289
|
-
|
|
290
|
-
<div class="field col-12 md:col-4">
|
|
291
|
-
<p-floatLabel>
|
|
292
|
-
<p-dropdown [options]="listaTipoMarcador" [autoDisplayFirst]="false"
|
|
293
|
-
formControlName="tipo" optionLabel="nombre"
|
|
294
|
-
optionValue="codigo"></p-dropdown>
|
|
295
|
-
<label>{{'tipo' | translate }} *</label>
|
|
296
|
-
</p-floatLabel>
|
|
297
|
-
</div>
|
|
298
|
-
|
|
299
|
-
<div class="field col-12 md:col-4"
|
|
300
|
-
[hidden]="!(['MA','IM','MR','IF','QR','BC','G1'].includes(reporteMarcador.tipo))">
|
|
301
|
-
<p-floatLabel>
|
|
302
|
-
<input pInputText type="text" formControlName="marcador" size="25">
|
|
303
|
-
<label>{{'marcador' | translate }}</label>
|
|
304
|
-
</p-floatLabel>
|
|
305
|
-
</div>
|
|
306
|
-
|
|
307
|
-
<div class="field col-12 md:col-4" [hidden]="reporteMarcador.tipo != 'TB'">
|
|
308
|
-
<p-floatLabel>
|
|
309
|
-
<input pInputText type="text" formControlName="tabla" size="25">
|
|
310
|
-
<label>{{'tabla' | translate }}</label>
|
|
311
|
-
</p-floatLabel>
|
|
312
|
-
</div>
|
|
313
|
-
|
|
314
|
-
<div class="field col-12 md:col-4" [hidden]="reporteMarcador.tipo != 'IF'">
|
|
315
|
-
<p-floatLabel>
|
|
316
|
-
<p-dropdown
|
|
317
|
-
[options]="[{label: 'Unica', value: 'U'}, {label: 'Cada Empresa', value: 'C'}]"
|
|
318
|
-
[autoDisplayFirst]="false" [showClear]="true" formControlName="origen" optionLabel="label"
|
|
319
|
-
optionValue="value"></p-dropdown>
|
|
320
|
-
<label>{{'origen' | translate }}</label>
|
|
321
|
-
</p-floatLabel>
|
|
322
|
-
</div>
|
|
323
|
-
|
|
324
|
-
<div class="field col-12 md:col-4"
|
|
325
|
-
[hidden]="reporteMarcador.tipo != 'IF' || !reporteMarcador.origen">
|
|
326
|
-
<app-input-helper-seleccion-plantilla [readonly]="false" [showDialog]="false"
|
|
327
|
-
formControlName="textoRegistro"
|
|
328
|
-
[label]="reporteMarcador.textoRegistro ? reporteMarcador.textoRegistro: ''"
|
|
329
|
-
[extensiones]="'jpg;png'" (onSelected)="obtenerArchivoMarcador($event)"
|
|
330
|
-
[propiedad]="'ruta_recursos'" [labelrar]="'recursossssss' | translate"
|
|
331
|
-
[anexoPropiedad]="reporteMarcador.origen =='C' ? llaveEmpresa: ''"
|
|
332
|
-
[propiedadDeSistema]="true"></app-input-helper-seleccion-plantilla>
|
|
333
|
-
</div>
|
|
334
|
-
|
|
335
|
-
<div class="field col-12 md:col-4"
|
|
336
|
-
[hidden]="!['MA','IM','QR','BC','G1'].includes(reporteMarcador.tipo)">
|
|
337
|
-
<p-floatLabel>
|
|
338
|
-
<p-dropdown [options]="listaColumnas" formControlName="reporteColumna" [showClear]="true" [autoDisplayFirst]="false"
|
|
339
|
-
optionLabel="nombre" optionValue="llaveTabla"></p-dropdown>
|
|
340
|
-
<label>{{'columna' | translate }}</label>
|
|
341
|
-
</p-floatLabel>
|
|
342
|
-
</div>
|
|
343
|
-
|
|
344
|
-
<div class="field col-12 md:col-4" [hidden]="reporteMarcador.tipo != 'MA'">
|
|
345
|
-
<p-floatLabel>
|
|
346
|
-
<input pInputText type="text" formControlName="formato" size="25">
|
|
347
|
-
<label>{{'formato' | translate }}</label>
|
|
348
|
-
</p-floatLabel>
|
|
349
|
-
</div>
|
|
350
|
-
|
|
351
|
-
<div class="field col-12 md:col-4"
|
|
352
|
-
[hidden]="!['IM','IF','QR','BC','G1'].includes(reporteMarcador.tipo)">
|
|
353
|
-
<p-floatLabel>
|
|
354
|
-
<p-inputNumber formControlName="ancho" [maxlength]="5"> </p-inputNumber>
|
|
355
|
-
<label>{{'ancho' | translate }}</label>
|
|
356
|
-
</p-floatLabel>
|
|
357
|
-
</div>
|
|
358
|
-
|
|
359
|
-
<div class="field col-12 md:col-4"
|
|
360
|
-
[hidden]="!['IM','IF','QR','BC','G1'].includes(reporteMarcador.tipo)">
|
|
361
|
-
<p-floatLabel>
|
|
362
|
-
<p-inputNumber formControlName="alto" [maxlength]="5"> </p-inputNumber>
|
|
363
|
-
<label>{{'alto' | translate }}</label>
|
|
364
|
-
</p-floatLabel>
|
|
365
|
-
</div>
|
|
366
|
-
|
|
367
|
-
<div class="field col-12 md:col-4" [hidden]="reporteMarcador.tipo != 'MR'">
|
|
368
|
-
<p-floatLabel>
|
|
369
|
-
<textarea class="w-full min-h-150 max-h-200" pInputTextarea formControlName="grupo1"></textarea>
|
|
370
|
-
<label>{{'grupo1' | translate }}</label>
|
|
371
|
-
</p-floatLabel>
|
|
372
|
-
</div>
|
|
373
|
-
|
|
374
|
-
<div class="field col-12 md:col-4" [hidden]="reporteMarcador.tipo != 'MR'">
|
|
375
|
-
<p-floatLabel>
|
|
376
|
-
<textarea class="w-full min-h-150 max-h-200" pInputTextarea formControlName="grupo2"></textarea>
|
|
377
|
-
<label>{{'grupo2' | translate }}</label>
|
|
378
|
-
</p-floatLabel>
|
|
379
|
-
</div>
|
|
380
|
-
|
|
381
|
-
<div class="field col-12 md:col-4" [hidden]="reporteMarcador.tipo != 'MR'">
|
|
382
|
-
<p-floatLabel>
|
|
383
|
-
<textarea class="w-full min-h-150 max-h-200" pInputTextarea formControlName="grupo3"></textarea>
|
|
384
|
-
<label>{{'grupo3' | translate }}</label>
|
|
385
|
-
</p-floatLabel>
|
|
386
|
-
</div>
|
|
387
|
-
|
|
388
|
-
<div class="field col-12 md:col-4" [hidden]="reporteMarcador.tipo != 'MR'">
|
|
389
|
-
<p-floatLabel>
|
|
390
|
-
<textarea class="w-full min-h-150 max-h-200" pInputTextarea formControlName="finalGrupo"></textarea>
|
|
391
|
-
<label>{{'finalgrupo' | translate }}</label>
|
|
392
|
-
</p-floatLabel>
|
|
393
|
-
</div>
|
|
394
|
-
|
|
395
|
-
<div class="field col-12 md:col-4" [hidden]="reporteMarcador.tipo != 'MR'">
|
|
396
|
-
<p-floatLabel>
|
|
397
|
-
<textarea class="w-full min-h-150 max-h-200" pInputTextarea formControlName="textoRegistro"></textarea>
|
|
398
|
-
<label>{{'texto' | translate }}</label>
|
|
399
|
-
</p-floatLabel>
|
|
400
|
-
</div>
|
|
401
|
-
|
|
402
|
-
<div class="field col-12 md:col-4"
|
|
403
|
-
[hidden]="!['MR','TB'].includes(reporteMarcador.tipo)">
|
|
404
|
-
<p-floatLabel>
|
|
405
|
-
<p-dropdown [options]="listaSiNo" formControlName="tieneSql" [showClear]="true" [autoDisplayFirst]="false"
|
|
406
|
-
optionLabel="nombre" optionValue="codigo"></p-dropdown>
|
|
407
|
-
<label>{{'sql' | translate }}</label>
|
|
408
|
-
</p-floatLabel>
|
|
409
|
-
</div>
|
|
410
|
-
|
|
411
|
-
<div class="field col-12 md:col-4" [hidden]="reporteMarcador.tipo != 'TB'">
|
|
412
|
-
<p-floatLabel>
|
|
413
|
-
<p-dropdown [options]="listaTipoGrafico_JFC" [autoDisplayFirst]="false" [showClear]="true"
|
|
414
|
-
formControlName="tipoGrafico" optionLabel="nombre"
|
|
415
|
-
optionValue="codigo"></p-dropdown>
|
|
416
|
-
<label>{{'grafica' | translate }}</label>
|
|
417
|
-
</p-floatLabel>
|
|
418
|
-
</div>
|
|
419
|
-
|
|
420
|
-
<div class="field col-12 md:col-12"
|
|
421
|
-
[hidden]="!(['MR','TB'].includes(reporteMarcador.tipo) && (['S'].includes(reporteMarcador.tieneSql)))">
|
|
422
|
-
<p-floatLabel>
|
|
423
|
-
<textarea class="w-full min-h-150 max-h-200" pInputTextarea formControlName="query"></textarea>
|
|
424
|
-
<label>{{'consulta' | translate }}</label>
|
|
425
|
-
</p-floatLabel>
|
|
426
|
-
</div>
|
|
427
|
-
|
|
428
|
-
<div class="field col-12 md:col-4"
|
|
429
|
-
[hidden]="!(['MR','TB'].includes(reporteMarcador.tipo) && (['N'].includes(reporteMarcador.tieneSql)))">
|
|
430
|
-
<p-floatLabel>
|
|
431
|
-
<p-dropdown [options]="listaFuentes" [autoDisplayFirst]="false" [showClear]="true"
|
|
432
|
-
formControlName="fuente" optionLabel="descripcion"
|
|
433
|
-
optionValue="llave"></p-dropdown>
|
|
434
|
-
<label>{{'fuente' | translate }}</label>
|
|
435
|
-
</p-floatLabel>
|
|
436
|
-
</div>
|
|
437
|
-
|
|
438
|
-
<div class="field col-12 md:col-4" [hidden]="!reporteMarcador.tipoGrafico">
|
|
439
|
-
<p-floatLabel>
|
|
440
|
-
<input pInputText type="text" formControlName="marcadorGrafico" size="25">
|
|
441
|
-
<label>{{'marcadorgrafica' | translate }}</label>
|
|
442
|
-
</p-floatLabel>
|
|
443
|
-
</div>
|
|
444
|
-
|
|
445
|
-
<div class="field col-12 md:col-4"
|
|
446
|
-
[hidden]="!['A'].includes(reporteMarcador.tipoGrafico)">
|
|
447
|
-
<p-floatLabel>
|
|
448
|
-
<input pInputText type="text" formControlName="titulox" size="25">
|
|
449
|
-
<label>{{'titulo' | translate }} X</label>
|
|
450
|
-
</p-floatLabel>
|
|
451
|
-
</div>
|
|
452
|
-
|
|
453
|
-
<div class="field col-12 md:col-4"
|
|
454
|
-
[hidden]="!['A'].includes(reporteMarcador.tipoGrafico)">
|
|
455
|
-
<p-floatLabel>
|
|
456
|
-
<input pInputText type="text" formControlName="tituloy" size="25">
|
|
457
|
-
<label>{{'titulo' | translate }} Y</label>
|
|
458
|
-
</p-floatLabel>
|
|
459
|
-
</div>
|
|
460
|
-
|
|
461
|
-
<div class="field col-12 md:col-4" [hidden]="!reporteMarcador.tipoGrafico">
|
|
462
|
-
<p-floatLabel>
|
|
463
|
-
<input pInputText type="text" formControlName="banda" size="25">
|
|
464
|
-
<label>{{'colordinamico' | translate }}</label>
|
|
465
|
-
</p-floatLabel>
|
|
466
|
-
</div>
|
|
467
|
-
|
|
468
|
-
<div class="field col-12 md:col-4" [hidden]="!reporteMarcador.tipoGrafico">
|
|
469
|
-
<p-floatLabel>
|
|
470
|
-
<input pInputText type="text" formControlName="anchoJasperLabel" size="25">
|
|
471
|
-
<label>{{'numerocategorias' | translate }}</label>
|
|
472
|
-
</p-floatLabel>
|
|
473
|
-
</div>
|
|
474
|
-
|
|
475
|
-
<div class="field col-12 md:col-12"
|
|
476
|
-
[hidden]="!(['MR','TB'].includes(reporteMarcador.tipo) && (['N'].includes(reporteMarcador.tieneSql)))">
|
|
477
|
-
<p-floatLabel>
|
|
478
|
-
<textarea class="w-full min-h-150 max-h-200" pInputTextarea formControlName="filtro"></textarea>
|
|
479
|
-
<label>{{'filtro' | translate }}</label>
|
|
480
|
-
</p-floatLabel>
|
|
481
|
-
</div>
|
|
482
|
-
</div>
|
|
483
|
-
</form>
|
|
484
|
-
|
|
485
|
-
<!--BOTONES-->
|
|
486
|
-
<div class="flex justify-content-end mb-3">
|
|
487
|
-
<button pButton pRipple class="ml-2 p-button p-button-raised"
|
|
488
|
-
icon="glyphicons {{reporteMarcador.llave ? 'glyphicons-refresh' : 'glyphicons-floppy-save' }}" label="{{reporteMarcador.llave ? ('link_actualizar' | translate) : ('link_guardar' | translate)}}"
|
|
489
|
-
(click)="guardarMarcador()">
|
|
490
|
-
</button>
|
|
491
|
-
<button pButton pRipple class="ml-2 p-button-outlined" icon="glyphicons glyphicons-bin"
|
|
492
|
-
*ngIf="reporteMarcador.llave != null" label="{{'link_eliminar' | translate}}"
|
|
493
|
-
(click)="eliminarMarcador($event)">
|
|
494
|
-
</button>
|
|
495
|
-
</div>
|
|
496
|
-
</div>
|
|
497
|
-
</div>
|
|
498
|
-
<div *ngIf="verNuevoMarcador && reporteMarcador.llave != null && (reporteMarcador.tipo == 'MR' || reporteMarcador.tipo == 'TB')">
|
|
499
|
-
<div class="flex justify-content-end align-items-center mb-3">
|
|
500
|
-
<button pButton label="{{'link_nuevo' | translate}}" (click)="nuevoCampoTabla()" icon="pi pi-plus" [disabled]="bloquearCampoMarcador"
|
|
501
|
-
class="p-ripple p-element p-button p-component p-button-secondary mb-2"></button>
|
|
502
|
-
</div>
|
|
503
|
-
<p-table [value]="listaCamposMarcador" responsiveLayout="scroll" styleClass="p-datatable-striped"
|
|
504
|
-
[rows]="10" [totalRecords]="listaCamposMarcador.length" [scrollable]="true"
|
|
505
|
-
[paginator]="listaCamposMarcador.length > 10"
|
|
506
|
-
[showCurrentPageReport]="true" currentPageReportTemplate="{first} al {last} de {totalRecords} registros"
|
|
507
|
-
editMode="row" dataKey="llave">
|
|
508
|
-
<ng-template pTemplate="header">
|
|
509
|
-
<tr class="fondoTablaPincipal">
|
|
510
|
-
<th style="width: 10%;">{{'columna' | translate }}</th>
|
|
511
|
-
<th style="width: 10%;">{{'campo' | translate }}</th>
|
|
512
|
-
<th style="width: 10%;">{{'formato' | translate }}</th>
|
|
513
|
-
<th style="width: 10%;" *ngIf="reporteMarcador.tipo == 'TB'">{{'tipo' | translate }}</th>
|
|
514
|
-
<th style="width: 10%;"*ngIf="reporteMarcador.tipo == 'TB'">{{'medidas' | translate }}</th>
|
|
515
|
-
<th style="width: 10%;"> </th>
|
|
516
|
-
</tr>
|
|
517
|
-
<tr class="TablaNuevoRegistro" *ngIf="verReporteMarcadorDetalle">
|
|
518
|
-
<td style="width: 10%;">
|
|
519
|
-
<input pInputText [(ngModel)]="campoMarcadorInsertar.columna" oninput="this.value = this.value.replace(/[^0-9]/g, '');"
|
|
520
|
-
[class.ng-dirty]="!utilsService.validarCampoObligatorio(campoMarcadorInsertar.columna) && clickGuardarMarcadorCampo"
|
|
521
|
-
[class.ng-invalid]="!utilsService.validarCampoObligatorio(campoMarcadorInsertar.columna) && clickGuardarMarcadorCampo" />
|
|
522
|
-
</td>
|
|
523
|
-
<td style="width: 10%;">
|
|
524
|
-
<input pInputText type="text" [(ngModel)]="campoMarcadorInsertar.campoFuente"
|
|
525
|
-
[class.ng-dirty]="!utilsService.validarCampoObligatorio(campoMarcadorInsertar.campoFuente) && clickGuardarMarcadorCampo"
|
|
526
|
-
[class.ng-invalid]="!utilsService.validarCampoObligatorio(campoMarcadorInsertar.campoFuente) && clickGuardarMarcadorCampo">
|
|
527
|
-
</td>
|
|
528
|
-
<td style="width: 10%;">
|
|
529
|
-
<input pInputText type="text" [(ngModel)]="campoMarcadorInsertar.formato">
|
|
530
|
-
</td>
|
|
531
|
-
<td style="width: 10%;" *ngIf="reporteMarcador.tipo == 'TB'">
|
|
532
|
-
<p-dropdown [options]="listaGrafico" optionLabel="nombre" optionValue="codigo"
|
|
533
|
-
[(ngModel)]="campoMarcadorInsertar.tipo" appendTo="body" [autoZIndex]="false"
|
|
534
|
-
[autoDisplayFirst]="false" [showClear]="true"></p-dropdown>
|
|
535
|
-
</td>
|
|
536
|
-
<td style="width: 10%;" *ngIf="reporteMarcador.tipo == 'TB'">
|
|
537
|
-
<div *ngIf="campoMarcadorInsertar.tipo =='I'">
|
|
538
|
-
<p-floatLabel>
|
|
539
|
-
<input pInputText type="text" [(ngModel)]="campoMarcadorInsertar.ancho">
|
|
540
|
-
<label>{{'ancho' | translate}}</label>
|
|
541
|
-
</p-floatLabel>
|
|
542
|
-
<p-floatLabel>
|
|
543
|
-
<input pInputText type="text" [(ngModel)]="campoMarcadorInsertar.alto">
|
|
544
|
-
<label>{{'alto' | translate}}</label>
|
|
545
|
-
</p-floatLabel>
|
|
546
|
-
</div>
|
|
547
|
-
</td>
|
|
548
|
-
<td style="width: 10%;" >
|
|
549
|
-
<div class="flex justify-content-end">
|
|
550
|
-
<button pButton pRipple type="button" icon="pi pi-check" (click)="agregarCampoMarcador(campoMarcadorInsertar)"
|
|
551
|
-
class="p-element p-ripple p-button-rounded p-button-success mr-2 mb-2 p-button p-component p-button-icon-only"></button>
|
|
552
|
-
<button pButton pRipple type="button" (click)="verReporteMarcadorDetalle = false; bloquearCampoMarcador = false" icon="pi pi-times"
|
|
553
|
-
class="p-element p-ripple p-button-rounded p-button-danger mr-2 mb-2 p-button p-component p-button-icon-only"></button>
|
|
554
|
-
</div>
|
|
555
|
-
</td>
|
|
556
|
-
</tr>
|
|
557
|
-
</ng-template>
|
|
558
|
-
<ng-template pTemplate="body" let-campo let-editing="editing" let-ri="rowIndex">
|
|
559
|
-
<tr [pEditableRow]="campo">
|
|
560
|
-
<td style="width: 10%;">
|
|
561
|
-
<p-cellEditor>
|
|
562
|
-
<ng-template pTemplate="input">
|
|
563
|
-
<input pInputText type="text" [(ngModel)]="campo.columna" oninput="this.value = this.value.replace(/[^0-9]/g, '').slice(0, 5);"
|
|
564
|
-
[class.ng-dirty]="!utilsService.validarCampoObligatorio(campo.columna) && clickGuardarMarcadorCampo"
|
|
565
|
-
[class.ng-invalid]="!utilsService.validarCampoObligatorio(campo.columna) && clickGuardarMarcadorCampo" />
|
|
566
|
-
</ng-template>
|
|
567
|
-
<ng-template pTemplate="output">
|
|
568
|
-
{{campo.columna}}
|
|
569
|
-
</ng-template>
|
|
570
|
-
</p-cellEditor>
|
|
571
|
-
</td>
|
|
572
|
-
<td style="width: 10%;">
|
|
573
|
-
<p-cellEditor>
|
|
574
|
-
<ng-template pTemplate="input">
|
|
575
|
-
<input pInputText type="text" [(ngModel)]="campo.campoFuente"
|
|
576
|
-
[class.ng-dirty]="!utilsService.validarCampoObligatorio(campo.campoFuente) && clickGuardarMarcadorCampo"
|
|
577
|
-
[class.ng-invalid]="!utilsService.validarCampoObligatorio(campo.campoFuente) && clickGuardarMarcadorCampo">
|
|
578
|
-
</ng-template>
|
|
579
|
-
<ng-template pTemplate="output">
|
|
580
|
-
{{campo.campoFuente}}
|
|
581
|
-
</ng-template>
|
|
582
|
-
</p-cellEditor>
|
|
583
|
-
</td>
|
|
584
|
-
|
|
585
|
-
<td style="width: 10%;">
|
|
586
|
-
<p-cellEditor>
|
|
587
|
-
<ng-template pTemplate="input">
|
|
588
|
-
<input pInputText type="text" [(ngModel)]="campo.formato">
|
|
589
|
-
</ng-template>
|
|
590
|
-
<ng-template pTemplate="output">
|
|
591
|
-
{{campo.formato}}
|
|
592
|
-
</ng-template>
|
|
593
|
-
</p-cellEditor>
|
|
594
|
-
</td>
|
|
595
|
-
|
|
596
|
-
<td style="width: 10%;" *ngIf="reporteMarcador.tipo == 'TB'">
|
|
597
|
-
<p-cellEditor>
|
|
598
|
-
<ng-template pTemplate="input">
|
|
599
|
-
<p-dropdown [options]="listaGrafico" optionLabel="nombre" optionValue="codigo"
|
|
600
|
-
[(ngModel)]="campo.tipo" appendTo="body" [autoZIndex]="false"
|
|
601
|
-
[autoDisplayFirst]="false" [showClear]="true"></p-dropdown>
|
|
602
|
-
</ng-template>
|
|
603
|
-
<ng-template pTemplate="output">
|
|
604
|
-
{{campo.tipo | reporteFuentePipe :'listaRecursoGrafica'}}
|
|
605
|
-
</ng-template>
|
|
606
|
-
</p-cellEditor>
|
|
607
|
-
</td>
|
|
608
|
-
|
|
609
|
-
<td style="width: 10%;" *ngIf="reporteMarcador.tipo == 'TB'">
|
|
610
|
-
<p-cellEditor>
|
|
611
|
-
<ng-template pTemplate="input">
|
|
612
|
-
<div *ngIf="campo.tipo =='I'">
|
|
613
|
-
<p-floatLabel>
|
|
614
|
-
<input pInputText type="text" [(ngModel)]="campo.ancho">
|
|
615
|
-
<label>{{'ancho' | translate}}</label>
|
|
616
|
-
</p-floatLabel>
|
|
617
|
-
<p-floatLabel>
|
|
618
|
-
<input pInputText type="text" [(ngModel)]="campo.alto">
|
|
619
|
-
<label>{{'alto' | translate}}</label>
|
|
620
|
-
</p-floatLabel>
|
|
621
|
-
</div>
|
|
622
|
-
</ng-template>
|
|
623
|
-
<ng-template pTemplate="output">
|
|
624
|
-
<div *ngIf="campo.tipo =='I'">
|
|
625
|
-
{{'ancho' | translate}}: {{campo.ancho}} <br/>
|
|
626
|
-
{{'alto' | translate}}: {{campo.alto}}
|
|
627
|
-
</div>
|
|
628
|
-
</ng-template>
|
|
629
|
-
</p-cellEditor>
|
|
630
|
-
</td>
|
|
631
|
-
<td style="width: 10%;">
|
|
632
|
-
<div class="flex justify-content-end">
|
|
633
|
-
<!-- CHECK GUARDAR -->
|
|
634
|
-
<button *ngIf="editing" pButton pRipple type="button" pSaveEditableRow
|
|
635
|
-
icon="pi pi-check" (click)="agregarCampoMarcador(campo)"
|
|
636
|
-
class="p-element p-ripple p-button-rounded p-button-success mr-2 mb-2 p-button p-component p-button-icon-only"></button>
|
|
637
|
-
<!-- CANCELAR -->
|
|
638
|
-
<button *ngIf="editing" pButton pRipple type="button" pCancelEditableRow
|
|
639
|
-
icon="pi pi-times" (click)="cargarListaCampoMarcadorAsync()"
|
|
640
|
-
class="p-element p-ripple p-button-rounded p-button-danger mr-2 mb-2 p-button p-component p-button-icon-only"></button>
|
|
641
|
-
<!-- EDITAR -->
|
|
642
|
-
<button *ngIf="!editing" pButton pRipple type="button" pInitEditableRow [disabled]="bloquearCampoMarcador"
|
|
643
|
-
icon="glyphicons glyphicons-pencil" (click)="editarCampoMarcador()"
|
|
644
|
-
class="p-element p-ripple p-button-rounded p-button-secondary mr-2 mb-2 p-button p-component p-button-icon-only"></button>
|
|
645
|
-
<!-- ELIMINAR -->
|
|
646
|
-
<button *ngIf="!editing" pButton pRipple type="button" pDeleteEditableRow [disabled]="bloquearCampoMarcador"
|
|
647
|
-
icon="pi pi-trash" (click)="eliminarCampoMarcador($event,campo)"
|
|
648
|
-
class="p-element p-ripple p-button-rounded p-button-outlined mr-2 mb-2 p-button p-component p-button-icon-only"></button>
|
|
649
|
-
</div>
|
|
650
|
-
</td>
|
|
651
|
-
|
|
652
|
-
</tr>
|
|
653
|
-
</ng-template>
|
|
654
|
-
<ng-template pTemplate="emptymessage">
|
|
655
|
-
<tr>
|
|
656
|
-
<td colspan="100" class="p-3 font-medium emptymessage">{{'mensajetablavacia' | translate}}</td>
|
|
657
|
-
</tr>
|
|
658
|
-
</ng-template>
|
|
659
|
-
</p-table>
|
|
660
|
-
</div>
|
|
661
|
-
</p-tabPanel>
|
|
662
|
-
<p-tabPanel header="{{'soporte' | translate }} {{'archivo' | translate }}s"
|
|
663
|
-
*ngIf="reporteFuente.unicoArchivo == 'N'">
|
|
664
|
-
<div class="flex justify-content-end align-items-center mb-3">
|
|
665
|
-
<button pButton label="{{'link_nuevo' | translate}}" (click)="nuevoSoporte()" icon="pi pi-plus"
|
|
666
|
-
[disabled]="habilitaCampo" class="p-ripple p-element p-button p-component p-button-secondary mb-2"></button>
|
|
667
|
-
</div>
|
|
668
|
-
<p-table [value]="listaSoportes" responsiveLayout="scroll" styleClass="p-datatable-striped"
|
|
669
|
-
[rows]="10" [totalRecords]="listaSoportes.length"
|
|
670
|
-
[paginator]="listaSoportes.length > 10"
|
|
671
|
-
[showCurrentPageReport]="true" currentPageReportTemplate="{first} al {last} de {totalRecords} registros"
|
|
672
|
-
editMode="row" dataKey="llaveTabla">
|
|
673
|
-
<ng-template pTemplate="header">
|
|
674
|
-
<tr class="fondoTablaPincipal">
|
|
675
|
-
<th style="width: 45%">{{'descripcion' | translate}}</th>
|
|
676
|
-
<th style="width: 45%">{{'archivo' | translate}}</th>
|
|
677
|
-
<th style="width: 10%"> </th>
|
|
678
|
-
</tr>
|
|
679
|
-
<tr class="TablaNuevoRegistro" *ngIf="verSoporteArchivoDetalle">
|
|
680
|
-
<td style="width: 45%">
|
|
681
|
-
<input pInputText type="text" [(ngModel)]="soporteIngresar.descripcion" style="width: -webkit-fill-available"
|
|
682
|
-
[class.ng-dirty]="!utilsService.validarCampoObligatorio(soporteIngresar.descripcion) && clickGuardarSoporteArchivo"
|
|
683
|
-
[class.ng-invalid]="!utilsService.validarCampoObligatorio(soporteIngresar.descripcion) && clickGuardarSoporteArchivo">
|
|
684
|
-
</td>
|
|
685
|
-
<td style="width: 45%">
|
|
686
|
-
<app-input-helper-seleccion-plantilla [readonly]="false" [showDialog]="false" [mostrarX]="true"
|
|
687
|
-
[label]="soporteIngresar.archivoIndividual ? soporteIngresar.archivoIndividual: ''" [labelarch]="'archivo' | translate"
|
|
688
|
-
[mostrarLabelInput]="false" [mostraroblicargo]="true" [booleano]="!utilsService.validarCampoObligatorio(soporteIngresar.archivoIndividual) && clickGuardarSoporteArchivo"
|
|
689
|
-
(onSelected)="obtenerArchivoSoporte($event, soporteIngresar)"></app-input-helper-seleccion-plantilla>
|
|
690
|
-
</td>
|
|
691
|
-
<td style="width: 10%">
|
|
692
|
-
<div class="flex justify-content-end">
|
|
693
|
-
<button pButton pRipple type="button" icon="pi pi-check" (click)="agregarSoporte(soporteIngresar)"
|
|
694
|
-
class="p-element p-ripple p-button-rounded p-button-success mr-2 mb-2 p-button p-component p-button-icon-only"></button>
|
|
695
|
-
<button pButton pRipple type="button" (click)="verSoporteArchivoDetalle = false" icon="pi pi-times" (click)="cancelarSoporte()"
|
|
696
|
-
class="p-element p-ripple p-button-rounded p-button-danger mr-2 mb-2 p-button p-component p-button-icon-only"></button>
|
|
697
|
-
</div>
|
|
698
|
-
</td>
|
|
699
|
-
</tr>
|
|
700
|
-
</ng-template>
|
|
701
|
-
<ng-template pTemplate="body" let-soporte let-editing="editing" let-ri="rowIndex">
|
|
702
|
-
<tr [pEditableRow]="soporte" style="width: 100%">
|
|
703
|
-
<td style="width: 45%">
|
|
704
|
-
<p-cellEditor>
|
|
705
|
-
<ng-template pTemplate="input">
|
|
706
|
-
<input pInputText type="text" [(ngModel)]="soporte.descripcion" style="width: -webkit-fill-available"
|
|
707
|
-
[class.ng-dirty]="!utilsService.validarCampoObligatorio(soporte.descripcion) && clickGuardarSoporteArchivo"
|
|
708
|
-
[class.ng-invalid]="!utilsService.validarCampoObligatorio(soporte.descripcion) && clickGuardarSoporteArchivo">
|
|
709
|
-
</ng-template>
|
|
710
|
-
<ng-template pTemplate="output">
|
|
711
|
-
{{soporte.descripcion}}
|
|
712
|
-
</ng-template>
|
|
713
|
-
</p-cellEditor>
|
|
714
|
-
</td>
|
|
715
|
-
<td style="width: 45%">
|
|
716
|
-
<p-cellEditor>
|
|
717
|
-
<ng-template pTemplate="input">
|
|
718
|
-
<app-input-helper-seleccion-plantilla [readonly]="false" [showDialog]="false" [mostrarX]="true"
|
|
719
|
-
[label]="soporte.archivoIndividual ? soporte.archivoIndividual: ''"
|
|
720
|
-
[mostrarLabelInput]="false" [booleano]="!utilsService.validarCampoObligatorio(soporte.archivoIndividual) && clickGuardarSoporteArchivo"
|
|
721
|
-
(onSelected)="obtenerArchivoSoporte($event, soporte)"></app-input-helper-seleccion-plantilla>
|
|
722
|
-
</ng-template>
|
|
723
|
-
<ng-template pTemplate="output">
|
|
724
|
-
{{soporte.archivoIndividual}}
|
|
725
|
-
</ng-template>
|
|
726
|
-
</p-cellEditor>
|
|
727
|
-
</td>
|
|
728
|
-
<td style="width: 10%">
|
|
729
|
-
<div class="flex justify-content-end">
|
|
730
|
-
<!-- CHECK GUARDAR -->
|
|
731
|
-
<button *ngIf="editing" pButton pRipple type="button" pSaveEditableRow
|
|
732
|
-
icon="pi pi-check" (click)="agregarSoporte(soporte)"
|
|
733
|
-
class="p-element p-ripple p-button-rounded p-button-success mr-2 mb-2 p-button p-component p-button-icon-only"></button>
|
|
734
|
-
<!-- CANCELAR -->
|
|
735
|
-
<button *ngIf="editing" pButton pRipple type="button" pCancelEditableRow
|
|
736
|
-
icon="pi pi-times" (click)="cancelarEdicion()"
|
|
737
|
-
class="p-element p-ripple p-button-rounded p-button-danger mr-2 mb-2 p-button p-component p-button-icon-only"></button>
|
|
738
|
-
<!-- EDITAR -->
|
|
739
|
-
<button *ngIf="!editing" pButton pRipple type="button" pInitEditableRow
|
|
740
|
-
icon="glyphicons glyphicons-pencil" [disabled]="habilitaCampo" (click)="iniciarEdicion()"
|
|
741
|
-
class="p-element p-ripple p-button-rounded p-button-secondary mr-2 mb-2 p-button p-component p-button-icon-only"></button>
|
|
742
|
-
<!-- ELIMINAR -->
|
|
743
|
-
<button *ngIf="!editing" pButton pRipple type="button" pDeleteEditableRow
|
|
744
|
-
icon="pi pi-trash" (click)="eliminarSoporte($event, soporte)" [disabled]="habilitaCampo"
|
|
745
|
-
class="p-element p-ripple p-button-rounded p-button-outlined mr-2 mb-2 p-button p-component p-button-icon-only"></button>
|
|
746
|
-
</div>
|
|
747
|
-
</td>
|
|
748
|
-
</tr>
|
|
749
|
-
</ng-template>
|
|
750
|
-
<ng-template pTemplate="emptymessage">
|
|
751
|
-
<tr>
|
|
752
|
-
<td colspan="100" class="p-3 font-medium emptymessage">{{'mensajetablavacia' | translate}}</td>
|
|
753
|
-
</tr>
|
|
754
|
-
</ng-template>
|
|
755
|
-
</p-table>
|
|
756
|
-
</p-tabPanel>
|
|
757
|
-
</p-tabView>
|
|
758
|
-
</p-tabPanel>
|
|
759
|
-
<p-tabPanel header="{{'reporte' | translate }} {{'dinamico' | translate }}">
|
|
760
|
-
<div class="card col-md-12">
|
|
761
|
-
<div class="Detallereporte mt-2">
|
|
762
|
-
<div class="p-fluid p-formgrid grid">
|
|
763
|
-
|
|
764
|
-
<div class="field col-12 md:col-4">
|
|
765
|
-
<p-floatLabel>
|
|
766
|
-
<p-dropdown [options]="listaSiNo" [(ngModel)]="reporteFuente.dobleLinea" [showClear]="true" [autoDisplayFirst]="false"
|
|
767
|
-
optionLabel="nombre" optionValue="codigo"></p-dropdown>
|
|
768
|
-
<label>{{'doblelinea' | translate }}</label>
|
|
769
|
-
</p-floatLabel>
|
|
770
|
-
</div>
|
|
771
|
-
|
|
772
|
-
<div class="field col-12 md:col-4">
|
|
773
|
-
<p-floatLabel>
|
|
774
|
-
<input pInputText type="text" [(ngModel)]="reporteFuente.tituloParametro" size="25"
|
|
775
|
-
maxlength="100">
|
|
776
|
-
<label>{{'descripcion' | translate }}</label>
|
|
777
|
-
</p-floatLabel>
|
|
778
|
-
</div>
|
|
779
|
-
|
|
780
|
-
<div class="field col-12 md:col-4">
|
|
781
|
-
<p-floatLabel>
|
|
782
|
-
<p-dropdown [options]="listaTipoCifrado" [autoDisplayFirst]="false" [showClear]="true"
|
|
783
|
-
[(ngModel)]="reporteFuente.cifradoJasper" optionLabel="nombre"
|
|
784
|
-
optionValue="llaveTabla"></p-dropdown>
|
|
785
|
-
<label>{{'tipocifrado' | translate }}</label>
|
|
786
|
-
</p-floatLabel>
|
|
787
|
-
</div>
|
|
788
|
-
</div>
|
|
789
|
-
<!--BOTONES-->
|
|
790
|
-
<div class="flex justify-content-end mb-3">
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
<button pButton pRipple class="ml-2 p-button-outlined background-100" icon="glyphicons glyphicons-restart"
|
|
794
|
-
label="{{'link_generar' | translate}}" (click)="generarJasper()">
|
|
795
|
-
</button>
|
|
796
|
-
<button pButton pRipple class="ml-2 p-button p-button-raised" icon="glyphicons glyphicons-refresh"
|
|
797
|
-
label="{{'link_actualizar' | translate}}" (click)="actualizar()">
|
|
798
|
-
</button>
|
|
799
|
-
<button pButton pRipple class="ml-2 p-button-outlined" icon="pi pi-download" *ngIf="existeJasper"
|
|
800
|
-
label="{{'link_descargar' | translate}}" (click)="descargarJasper()">
|
|
801
|
-
</button>
|
|
802
|
-
|
|
803
|
-
</div>
|
|
804
|
-
</div>
|
|
805
|
-
</div>
|
|
806
|
-
|
|
807
|
-
<div class="flex justify-content-end align-items-center mt-2 mb-2">
|
|
808
|
-
<div class="flex justify-content-end mb-1" *ngIf="bandaSeleccionada.key">
|
|
809
|
-
<button pButton pRipple (click)="regresarBandaSeleccionada()" label= "{{'listado' | translate}} {{'bandas' | translate}}"
|
|
810
|
-
icon="pi pi-chevron-left" class="p-button-text font-semibold flex-shrink-0 "></button>
|
|
811
|
-
</div>
|
|
812
|
-
</div>
|
|
813
|
-
<p-table [value]="listaTipoBanda" [scrollable]="true" responsiveLayout="scroll"
|
|
814
|
-
dataKey="llaveTabla" selectionMode="single" [rows]="10"
|
|
815
|
-
[totalRecords]="listaTipoBanda.length" [paginator]="listaTipoBanda.length > 10"
|
|
816
|
-
(onRowSelect)="verBanda($event)" (onRowUnselect)="verBanda($event)" *ngIf="!bandaSeleccionada.key">
|
|
817
|
-
<ng-template pTemplate="header">
|
|
818
|
-
|
|
819
|
-
<tr class="fondoTablaPincipal">
|
|
820
|
-
<th>{{'banda' | translate }}</th>
|
|
821
|
-
</tr>
|
|
822
|
-
<th>
|
|
823
|
-
</ng-template>
|
|
824
|
-
<ng-template pTemplate="body" let-banda>
|
|
825
|
-
<tr [pSelectableRow]="banda">
|
|
826
|
-
<td>{{banda.value}}</td>
|
|
827
|
-
</tr>
|
|
828
|
-
</ng-template>
|
|
829
|
-
<ng-template pTemplate="emptymessage">
|
|
830
|
-
<tr>
|
|
831
|
-
<td colspan="100" class="p-3 font-medium emptymessage">{{'mensajetablavacia' | translate}}</td>
|
|
832
|
-
</tr>
|
|
833
|
-
</ng-template>
|
|
834
|
-
</p-table>
|
|
835
|
-
|
|
836
|
-
<p-tabView *ngIf="bandaSeleccionada.key && verTabBanda">
|
|
837
|
-
<p-tabPanel header="{{'caracteristicas' | translate}}"
|
|
838
|
-
*ngIf="!['detalle','summary'].includes(bandaSeleccionada.key)">
|
|
839
|
-
<div class="card col-md-12">
|
|
840
|
-
<div class="Detallereporte mt-2">
|
|
841
|
-
<div class="p-fluid p-formgrid grid" >
|
|
842
|
-
<div class="field col-12 md:col-6">
|
|
843
|
-
<p-floatLabel>
|
|
844
|
-
<p-dropdown [options]="listaSiNo" [autoDisplayFirst]="false" [showClear]="true" optionLabel="nombre" optionValue="codigo"
|
|
845
|
-
[(ngModel)]="reporteBanda.totales" ></p-dropdown>
|
|
846
|
-
<label>{{'total' | translate }}</label>
|
|
847
|
-
</p-floatLabel>
|
|
848
|
-
</div>
|
|
849
|
-
<div class="field col-12 md:col-6">
|
|
850
|
-
<p-floatLabel>
|
|
851
|
-
<input pInputText type="text" [(ngModel)]="reporteBanda.titulo" maxlength="200">
|
|
852
|
-
<label>{{'titulo' | translate }}</label>
|
|
853
|
-
</p-floatLabel>
|
|
854
|
-
</div>
|
|
855
|
-
</div>
|
|
856
|
-
<!--BOTONES-->
|
|
857
|
-
<div class="flex justify-content-end mb-3">
|
|
858
|
-
<button pButton pRipple class="ml-2 p-button p-button-raised" icon="glyphicons glyphicons-floppy-save"
|
|
859
|
-
label="{{'link_guardar' | translate}}" (click)="guardarCaracteristicaBanda()">
|
|
860
|
-
</button>
|
|
861
|
-
</div>
|
|
862
|
-
</div>
|
|
863
|
-
</div>
|
|
864
|
-
</p-tabPanel>
|
|
865
|
-
<p-tabPanel header="{{bandaSeleccionada.value}}" *ngIf="!nuevaBanda">
|
|
866
|
-
<div class="flex justify-content-end align-items-center mt-2 mb-2">
|
|
867
|
-
<div class="flex justify-content-end mb-1" >
|
|
868
|
-
<button pButton label="{{'link_nuevo' | translate}}" (click)="nuevoMarcadorDinamico()" icon="pi pi-plus"
|
|
869
|
-
class="p-ripple p-element p-button p-component p-button-secondary mb-2" *ngIf="!nuevoReporteMarcadorDinamico"></button>
|
|
870
|
-
</div>
|
|
871
|
-
</div>
|
|
872
|
-
<p-table [value]="listaMarcadorDinamico" [scrollable]="true"
|
|
873
|
-
responsiveLayout="scroll" dataKey="llaveTabla" selectionMode="single"
|
|
874
|
-
[rows]="10" [totalRecords]="listaMarcadorDinamico.length"
|
|
875
|
-
[paginator]="listaMarcadorDinamico.length > 10" *ngIf="!nuevoReporteMarcadorDinamico"
|
|
876
|
-
(onRowSelect)="verMarcadorDinamico($event)" (onRowUnselect)="verMarcadorDinamico($event)">
|
|
877
|
-
<ng-template pTemplate="header">
|
|
878
|
-
|
|
879
|
-
<tr class="fondoTablaPincipal">
|
|
880
|
-
<th>{{'banda' | translate }}</th>
|
|
881
|
-
<th>{{'orden' | translate }}</th>
|
|
882
|
-
<th>{{'columna' | translate }}</th>
|
|
883
|
-
<th>{{'etiqueta' | translate }}</th>
|
|
884
|
-
<th>{{'formato' | translate }}</th>
|
|
885
|
-
<th>{{'ancho' | translate }}</th>
|
|
886
|
-
<th>{{'operacion' | translate }}</th>
|
|
887
|
-
</tr>
|
|
888
|
-
<th>
|
|
889
|
-
</ng-template>
|
|
890
|
-
<ng-template pTemplate="body" let-dinamico>
|
|
891
|
-
<tr [pSelectableRow]="dinamico">
|
|
892
|
-
<td>{{dinamico.banda}}</td>
|
|
893
|
-
<td>{{dinamico.banda ? dinamico.alto : ''}}</td>
|
|
894
|
-
<td>{{dinamico.marcador}}</td>
|
|
895
|
-
<td>{{dinamico.banda ? dinamico.descripcion : ''}}</td>
|
|
896
|
-
<td>{{dinamico.banda ? dinamico.formato : ''}}</td>
|
|
897
|
-
<td>{{['detalle'].includes(dinamico.banda) ? dinamico.ancho : ''}}</td>
|
|
898
|
-
<td>{{dinamico.banda ? dinamico.operacion : ''}}</td>
|
|
899
|
-
</tr>
|
|
900
|
-
</ng-template>
|
|
901
|
-
<ng-template pTemplate="emptymessage">
|
|
902
|
-
<tr>
|
|
903
|
-
<td colspan="100" class="p-3 font-medium emptymessage">{{'mensajetablavacia' | translate}}</td>
|
|
904
|
-
</tr>
|
|
905
|
-
</ng-template>
|
|
906
|
-
</p-table>
|
|
907
|
-
|
|
908
|
-
<div *ngIf="nuevoReporteMarcadorDinamico">
|
|
909
|
-
<div class="card col-md-12">
|
|
910
|
-
<div class="Detallereporte mt-2">
|
|
911
|
-
<div class="flex justify-content-between align-items-center mb-2">
|
|
912
|
-
<p class="font-semibold mt-3">{{'indique' | translate}} {{'en' | translate}} {{'que' | translate}} {{'columna' | translate}} {{'desea' | translate}} {{'que' | translate}} {{'aparezca' | translate}} {{'la' | translate}} {{'informacion' | translate}}. {{'la' | translate}} {{'primera' | translate}} {{'columna' | translate}} {{'es' | translate}} {{'la' | translate}} 1.</p>
|
|
913
|
-
<button pButton pRipple (click)="nuevoReporteMarcadorDinamico = false" label= "{{'listado' | translate}} {{bandaSeleccionada.value}}"
|
|
914
|
-
icon="pi pi-chevron-left" class="p-button-text font-semibold flex-shrink-0 " *ngIf="nuevoReporteMarcadorDinamico"></button>
|
|
915
|
-
</div>
|
|
916
|
-
<form [formGroup]="formReporteDinamico" class="p-fluid grid">
|
|
917
|
-
<div class="field col-12 md:col-4">
|
|
918
|
-
<p-floatLabel>
|
|
919
|
-
<p-dropdown [options]="listaTipoCampoJasperDinamico"
|
|
920
|
-
[autoDisplayFirst]="false" formControlName="tipoCampo"
|
|
921
|
-
optionLabel="value" optionValue="key"></p-dropdown>
|
|
922
|
-
<label>{{'tipocampo' | translate }} *</label>
|
|
923
|
-
</p-floatLabel>
|
|
924
|
-
</div>
|
|
925
|
-
<div class="field col-12 md:col-4" *ngIf="reporteMarcadorDinamico.tipoCampo =='C'">
|
|
926
|
-
<p-floatLabel>
|
|
927
|
-
<p-dropdown [options]="listaTipoDatoSintaxis" [autoDisplayFirst]="false"
|
|
928
|
-
formControlName="tipoDato" optionLabel="value"
|
|
929
|
-
optionValue="key"></p-dropdown>
|
|
930
|
-
<label>{{'tipodato' | translate }} *</label>
|
|
931
|
-
</p-floatLabel>
|
|
932
|
-
</div>
|
|
933
|
-
<div class="field col-12 md:col-4">
|
|
934
|
-
<p-floatLabel>
|
|
935
|
-
<input pInputText formControlName="alto" maxlength="5"
|
|
936
|
-
oninput="this.value = this.value.replace(/[^0-9]/g, '').slice(0, 5);" />
|
|
937
|
-
<label>{{'orden' | translate }} *</label>
|
|
938
|
-
</p-floatLabel>
|
|
939
|
-
</div>
|
|
940
|
-
<div class="field col-12 md:col-4" *ngIf="reporteMarcadorDinamico.tipoCampo !='C'">
|
|
941
|
-
<p-floatLabel>
|
|
942
|
-
<p-dropdown [options]="listaColumnas" [autoDisplayFirst]="false"
|
|
943
|
-
formControlName="marcador" optionLabel="nombre" optionValue="llaveTabla"
|
|
944
|
-
*ngIf="!reporteMarcadorDinamico.llave && reporteMarcadorDinamico.tipoCampo !='C'"></p-dropdown>
|
|
945
|
-
<input pInputText type="text" formControlName="marcador" size="25"
|
|
946
|
-
*ngIf="reporteMarcadorDinamico.llave && reporteMarcadorDinamico.tipoCampo !='C'">
|
|
947
|
-
<label>{{'columna' | translate }} *</label>
|
|
948
|
-
</p-floatLabel>
|
|
949
|
-
</div>
|
|
950
|
-
|
|
951
|
-
<div class="field col-12 md:col-12" *ngIf="reporteMarcadorDinamico.tipoCampo =='C'">
|
|
952
|
-
<p-floatLabel>
|
|
953
|
-
<textarea class="w-full min-h-150 max-h-200" pInputTextarea formControlName="filtro"></textarea>
|
|
954
|
-
<label>{{'sintaxis' | translate }} *</label>
|
|
955
|
-
</p-floatLabel>
|
|
956
|
-
</div>
|
|
957
|
-
|
|
958
|
-
<div class="field col-12 md:col-12">
|
|
959
|
-
<p-fieldset class="fieldsintitulo" class="fieldsintitulo">
|
|
960
|
-
<div class="p-fluid grid">
|
|
961
|
-
<div class="field col-12 md:col-6 lg:col-6 mb-0">
|
|
962
|
-
<label class="font-semibold text-gray-900 text-base ml-1">{{'resultado' | translate}}</label>
|
|
963
|
-
</div>
|
|
964
|
-
<div class="field col-12 md:col-6 lg:col-6 mb-0" *ngIf="reporteMarcadorDinamico.tipoCampo =='C'"></div>
|
|
965
|
-
<div class="field col-12 md:col-6 lg:col-6 mb-0" *ngIf="reporteMarcadorDinamico.tipoCampo !='C'">
|
|
966
|
-
<label class="font-semibold text-gray-900 text-base ml-1" >{{'label' | translate}}</label>
|
|
967
|
-
</div>
|
|
968
|
-
<div class="field col-12 md:col-6 lg:col-6">
|
|
969
|
-
<p-floatLabel>
|
|
970
|
-
<input pInputText type="text" formControlName="formato" />
|
|
971
|
-
<label>{{'formato' | translate }}</label>
|
|
972
|
-
</p-floatLabel>
|
|
973
|
-
</div>
|
|
974
|
-
<div class="field col-12 md:col-6 lg:col-6" *ngIf="reporteMarcadorDinamico.tipoCampo !='C'">
|
|
975
|
-
<p-floatLabel>
|
|
976
|
-
<input pInputText type="text" formControlName="descripcion" />
|
|
977
|
-
<label>{{'titulo' | translate }}</label>
|
|
978
|
-
</p-floatLabel>
|
|
979
|
-
</div>
|
|
980
|
-
<div class="field col-12 md:col-6 lg:col-6">
|
|
981
|
-
<p-floatLabel>
|
|
982
|
-
<input pInputText type="text" formControlName="ancho"
|
|
983
|
-
oninput="this.value = this.value.replace(/[^0-9]/g, '').slice(0, 5);" />
|
|
984
|
-
<label>{{'ancho' | translate }} *</label>
|
|
985
|
-
</p-floatLabel>
|
|
986
|
-
</div>
|
|
987
|
-
<div class="field col-12 md:col-6 lg:col-6" *ngIf="reporteMarcadorDinamico.tipoCampo !='C' && 'detalle' == reporteMarcadorDinamico.banda "></div>
|
|
988
|
-
<div class="field col-12 md:col-6 lg:col-6" *ngIf="reporteMarcadorDinamico.tipoCampo !='C' && 'detalle' != reporteMarcadorDinamico.banda ">
|
|
989
|
-
<p-floatLabel>
|
|
990
|
-
<input pInputText type="text" formControlName="anchoJasperLabel"
|
|
991
|
-
oninput="this.value = this.value.replace(/[^0-9]/g, '').slice(0, 5);"/>
|
|
992
|
-
<label>{{'ancho' | translate }}</label>
|
|
993
|
-
</p-floatLabel>
|
|
994
|
-
</div>
|
|
995
|
-
<div class="field col-12 md:col-6 lg:col-6" *ngIf="'detalle' != reporteMarcadorDinamico.banda">
|
|
996
|
-
<p-floatLabel>
|
|
997
|
-
<input pInputText type="text" formControlName="resultadoX"
|
|
998
|
-
oninput="this.value = this.value.replace(/[^0-9]/g, '').slice(0, 5);"/>
|
|
999
|
-
<label>{{'x' | translate }} *</label>
|
|
1000
|
-
</p-floatLabel>
|
|
1001
|
-
</div>
|
|
1002
|
-
<div class="field col-12 md:col-6 lg:col-6" *ngIf="reporteMarcadorDinamico.tipoCampo !='C' && 'detalle' != reporteMarcadorDinamico.banda ">
|
|
1003
|
-
<p-floatLabel>
|
|
1004
|
-
<input pInputText type="text" formControlName="titulox"
|
|
1005
|
-
oninput="this.value = this.value.replace(/[^0-9]/g, '').slice(0, 5);"/>
|
|
1006
|
-
<label>{{'x' | translate }}</label>
|
|
1007
|
-
</p-floatLabel>
|
|
1008
|
-
</div>
|
|
1009
|
-
<div class="field col-12 md:col-6 lg:col-6" *ngIf="'detalle' != reporteMarcadorDinamico.banda">
|
|
1010
|
-
<p-floatLabel>
|
|
1011
|
-
<input pInputText type="text" formControlName="resultadoY"
|
|
1012
|
-
oninput="this.value = this.value.replace(/[^0-9]/g, '').slice(0, 5);"/>
|
|
1013
|
-
<label>{{'y' | translate }} *</label>
|
|
1014
|
-
</p-floatLabel>
|
|
1015
|
-
</div>
|
|
1016
|
-
<div class="field col-12 md:col-6 lg:col-6" *ngIf="reporteMarcadorDinamico.tipoCampo !='C' && 'detalle' != reporteMarcadorDinamico.banda ">
|
|
1017
|
-
<p-floatLabel>
|
|
1018
|
-
<input pInputText type="text" formControlName="tituloy"
|
|
1019
|
-
oninput="this.value = this.value.replace(/[^0-9]/g, '').slice(0, 5);"/>
|
|
1020
|
-
<label>{{'y' | translate }}</label>
|
|
1021
|
-
</p-floatLabel>
|
|
1022
|
-
</div>
|
|
1023
|
-
<div class="field col-12 md:col-6 lg:col-6">
|
|
1024
|
-
<p-floatLabel>
|
|
1025
|
-
<p-dropdown [options]="listaAlineacion" [autoDisplayFirst]="false"
|
|
1026
|
-
formControlName="tipoReporte" optionLabel="nombre" optionValue="codigo" ></p-dropdown>
|
|
1027
|
-
<label>{{'alineacion' | translate }} *</label>
|
|
1028
|
-
</p-floatLabel>
|
|
1029
|
-
</div>
|
|
1030
|
-
<div class="field col-12 md:col-6 lg:col-6" *ngIf="reporteMarcadorDinamico.tipoCampo !='C'">
|
|
1031
|
-
<p-floatLabel>
|
|
1032
|
-
<p-dropdown [options]="listaAlineacion" [autoDisplayFirst]="false" [showClear]="true"
|
|
1033
|
-
formControlName="tipoGrafico" optionLabel="nombre" optionValue="codigo" ></p-dropdown>
|
|
1034
|
-
<label>{{'alineacion' | translate }}</label>
|
|
1035
|
-
</p-floatLabel>
|
|
1036
|
-
</div>
|
|
1037
|
-
<div class="field col-12 md:col-6 lg:col-6" *ngIf="reporteMarcadorDinamico.tipoDato == 'N' && reporteMarcadorDinamico.tipoCampo !='C'">
|
|
1038
|
-
<p-floatLabel>
|
|
1039
|
-
<p-dropdown [options]="listaOperaciones" [autoDisplayFirst]="false" [showClear]="true"
|
|
1040
|
-
formControlName="operacion" optionLabel="nombre" optionValue="codigo" ></p-dropdown>
|
|
1041
|
-
<label>{{'operacion' | translate }}</label>
|
|
1042
|
-
</p-floatLabel>
|
|
1043
|
-
</div>
|
|
1044
|
-
</div>
|
|
1045
|
-
</p-fieldset>
|
|
1046
|
-
</div>
|
|
1047
|
-
</form>
|
|
1048
|
-
|
|
1049
|
-
<!--BOTONES-->
|
|
1050
|
-
<div class="flex justify-content-end mb-3" >
|
|
1051
|
-
<button pButton pRipple class="ml-2 p-button p-button-raised" icon="glyphicons {{reporteMarcadorDinamico.llave ? 'glyphicons-refresh' : 'glyphicons-floppy-save'}}"
|
|
1052
|
-
label="{{reporteMarcadorDinamico.llave ? ('link_actualizar' | translate) : ('link_guardar' | translate)}}" (click)="guardarColumnaDinamico()">
|
|
1053
|
-
</button>
|
|
1054
|
-
<button pButton pRipple class="ml-2 p-button-outlined" icon="glyphicons glyphicons-bin"
|
|
1055
|
-
*ngIf="reporteMarcadorDinamico.llave != null" label="{{'link_eliminar' | translate}}"
|
|
1056
|
-
(click)="eliminarColumnaDinamico($event)">
|
|
1057
|
-
</button>
|
|
1058
|
-
</div>
|
|
1059
|
-
</div>
|
|
1060
|
-
</div>
|
|
1061
|
-
</div>
|
|
1062
|
-
</p-tabPanel>
|
|
1063
|
-
|
|
1064
|
-
</p-tabView>
|
|
1065
|
-
</p-tabPanel>
|
|
1066
|
-
<p-tabPanel header="{{'reporte' | translate }} {{'texto' | translate }}">
|
|
1067
|
-
<div class="card col-md-12">
|
|
1068
|
-
<div class="Detallereporte mt-2">
|
|
1069
|
-
<div class="p-fluid p-formgrid grid">
|
|
1070
|
-
|
|
1071
|
-
<div class="field col-12 md:col-4">
|
|
1072
|
-
<p-floatLabel>
|
|
1073
|
-
<input pInputText type="text" [(ngModel)]="reporteFuente.archivoTexto" size="50"
|
|
1074
|
-
maxlength="200">
|
|
1075
|
-
<label>{{'nombrearchivo' | translate }}</label>
|
|
1076
|
-
</p-floatLabel>
|
|
1077
|
-
</div>
|
|
1078
|
-
|
|
1079
|
-
<div class="field col-12 md:col-4">
|
|
1080
|
-
<p-floatLabel>
|
|
1081
|
-
<p-dropdown [options]="listaSeparadores" [(ngModel)]="reporteFuente.separador"
|
|
1082
|
-
[class.ng-dirty]="!utilsService.validarCampoObligatorio(reporteFuente.separador) && clickGuardarReporteTexto"
|
|
1083
|
-
[class.ng-invalid]="!utilsService.validarCampoObligatorio(reporteFuente.separador) && clickGuardarReporteTexto"
|
|
1084
|
-
[autoDisplayFirst]="false" optionLabel="nombre" optionValue="codigo" ></p-dropdown>
|
|
1085
|
-
<label>{{'separador' | translate }}*</label>
|
|
1086
|
-
</p-floatLabel>
|
|
1087
|
-
</div>
|
|
1088
|
-
|
|
1089
|
-
<div class="field col-12 md:col-4">
|
|
1090
|
-
<p-floatLabel>
|
|
1091
|
-
<p-dropdown [options]="listaTipoCifrado" [autoDisplayFirst]="false" [showClear]="true"
|
|
1092
|
-
[(ngModel)]="reporteFuente.cifradoTexto" optionLabel="nombre"
|
|
1093
|
-
optionValue="llaveTabla"></p-dropdown>
|
|
1094
|
-
<label>{{'tipocifrado' | translate }}</label>
|
|
1095
|
-
</p-floatLabel>
|
|
1096
|
-
</div>
|
|
1097
|
-
|
|
1098
|
-
</div>
|
|
1099
|
-
<!--BOTONES-->
|
|
1100
|
-
<div class="flex justify-content-end mb-3">
|
|
1101
|
-
<button pButton pRipple class="ml-2 p-button p-button-raised" icon="glyphicons glyphicons-refresh"
|
|
1102
|
-
label="{{'link_actualizar' | translate}}" (click)="actualizarSeparador()">
|
|
1103
|
-
</button>
|
|
1104
|
-
</div>
|
|
1105
|
-
</div>
|
|
1106
|
-
</div>
|
|
1107
|
-
|
|
1108
|
-
<div class="flex justify-content-between lign-items-center mb-3">
|
|
1109
|
-
<h1 class="text-xl">{{'marcadores' | translate}}</h1>
|
|
1110
|
-
<button pButton pRipple class="p-button-secondary font-semibold" icon="pi pi-plus"
|
|
1111
|
-
(click)="nuevoMarcadorTexto()" label="{{'link_nuevo' | translate}}" *ngIf="!verNuevoMarcadorTexto">
|
|
1112
|
-
</button>
|
|
1113
|
-
<div class="flex justify-content-end mb-1" *ngIf="verNuevoMarcadorTexto">
|
|
1114
|
-
<button pButton pRipple (click)="verNuevoMarcadorTexto = false; clickGuardarMarcadorTexto = false;" label= "{{'listado' | translate}} {{'marcadores' | translate}}"
|
|
1115
|
-
icon="pi pi-chevron-left" class="p-button-text font-semibold flex-shrink-0 "></button>
|
|
1116
|
-
</div>
|
|
1117
|
-
</div>
|
|
1118
|
-
<p-table [value]="listaMarcadoresTexto" [scrollable]="true" responsiveLayout="scroll"
|
|
1119
|
-
dataKey="llaveTabla" selectionMode="single"
|
|
1120
|
-
[rows]="10" [totalRecords]="listaMarcadoresTexto.length"
|
|
1121
|
-
[paginator]="listaMarcadoresTexto.length > 10" *ngIf="!verNuevoMarcadorTexto"
|
|
1122
|
-
(onRowSelect)="verMarcadorTexto($event)" (onRowUnselect)="verMarcadorTexto($event)">
|
|
1123
|
-
<ng-template pTemplate="header">
|
|
1124
|
-
|
|
1125
|
-
<tr class="fondoTablaPincipal">
|
|
1126
|
-
<th>{{'tipo' | translate }}</th>
|
|
1127
|
-
<th>{{'columna' | translate }}</th>
|
|
1128
|
-
<th>{{'formato' | translate }}</th>
|
|
1129
|
-
<th>{{'orden' | translate }}</th>
|
|
1130
|
-
</tr>
|
|
1131
|
-
<th>
|
|
1132
|
-
</ng-template>
|
|
1133
|
-
<ng-template pTemplate="body" let-marctexto>
|
|
1134
|
-
<tr [pSelectableRow]="marctexto">
|
|
1135
|
-
<td>{{marctexto.tipoGrafico | reporteFuentePipe : 'listaTipoMarcadoresTexto'}}</td>
|
|
1136
|
-
<td>{{marctexto.nombreColumna}}</td>
|
|
1137
|
-
<td>{{marctexto.formato}}</td>
|
|
1138
|
-
<td>{{marctexto.alto}}</td>
|
|
1139
|
-
</tr>
|
|
1140
|
-
</ng-template>
|
|
1141
|
-
<ng-template pTemplate="emptymessage">
|
|
1142
|
-
<tr>
|
|
1143
|
-
<td colspan="100" class="p-3 font-medium emptymessage">{{'mensajetablavacia' | translate}}</td>
|
|
1144
|
-
</tr>
|
|
1145
|
-
</ng-template>
|
|
1146
|
-
</p-table>
|
|
1147
|
-
<div class="card mt-3" *ngIf="verNuevoMarcadorTexto">
|
|
1148
|
-
<h5 class="mt-3"><i class="glyphicons glyphicons-notes"></i>{{'detalle' | translate}}</h5>
|
|
1149
|
-
<div class="Detallereporte mt-2">
|
|
1150
|
-
<div class="p-fluid p-formgrid grid" >
|
|
1151
|
-
<div class="field col-12 md:col-4">
|
|
1152
|
-
<p-floatLabel>
|
|
1153
|
-
<p-dropdown [options]="listaTipoMarcadorTexto" [autoDisplayFirst]="false"
|
|
1154
|
-
[(ngModel)]="marcadorTexto.tipoGrafico" optionLabel="nombre" optionValue="codigo"
|
|
1155
|
-
[class.ng-dirty]="!utilsService.validarCampoObligatorio(marcadorTexto.tipoGrafico) && clickGuardarMarcadorTexto"
|
|
1156
|
-
[class.ng-invalid]="!utilsService.validarCampoObligatorio(marcadorTexto.tipoGrafico) && clickGuardarMarcadorTexto"></p-dropdown>
|
|
1157
|
-
<label>{{'tipo' | translate }} *</label>
|
|
1158
|
-
</p-floatLabel>
|
|
1159
|
-
</div>
|
|
1160
|
-
|
|
1161
|
-
<div class="field col-12 md:col-4" *ngIf="marcadorTexto.tipoGrafico == 'D'">
|
|
1162
|
-
<p-floatLabel>
|
|
1163
|
-
<p-dropdown [options]="listaColumnas" [autoDisplayFirst]="false"
|
|
1164
|
-
[(ngModel)]="marcadorTexto.reporteColumna" optionLabel="nombre" optionValue="llaveTabla"
|
|
1165
|
-
[class.ng-dirty]="!utilsService.validarCampoObligatorio(marcadorTexto.reporteColumna) && clickGuardarMarcadorTexto"
|
|
1166
|
-
[class.ng-invalid]="!utilsService.validarCampoObligatorio(marcadorTexto.reporteColumna) && clickGuardarMarcadorTexto"></p-dropdown>
|
|
1167
|
-
<label>{{'columna' | translate }} *</label>
|
|
1168
|
-
</p-floatLabel>
|
|
1169
|
-
</div>
|
|
1170
|
-
|
|
1171
|
-
<div class="field col-12 md:col-4" *ngIf="marcadorTexto.tipoGrafico">
|
|
1172
|
-
<p-floatLabel>
|
|
1173
|
-
<input pInputText type="text" [(ngModel)]="marcadorTexto.formato" maxlength="50"
|
|
1174
|
-
[class.ng-dirty]="!utilsService.validarCampoObligatorio(marcadorTexto.formato) && clickGuardarMarcadorTexto"
|
|
1175
|
-
[class.ng-invalid]="!utilsService.validarCampoObligatorio(marcadorTexto.formato) && clickGuardarMarcadorTexto">
|
|
1176
|
-
<label>{{marcadorTexto.tipoGrafico == 'D' ? ('formato' | translate)+'*' : ('valor' | translate)+'*' }}</label>
|
|
1177
|
-
</p-floatLabel>
|
|
1178
|
-
</div>
|
|
1179
|
-
|
|
1180
|
-
<div class="field col-12 md:col-4" *ngIf="marcadorTexto.tipoGrafico == 'D'">
|
|
1181
|
-
<p-floatLabel>
|
|
1182
|
-
<input pInputText type="text" [(ngModel)]="marcadorTexto.ancho" maxlength="22"
|
|
1183
|
-
oninput="this.value = this.value.replace(/[^0-9]/g, '').slice(0, 5);"
|
|
1184
|
-
[class.ng-dirty]="!utilsService.validarCampoObligatorio(marcadorTexto.ancho) && clickGuardarMarcadorTexto"
|
|
1185
|
-
[class.ng-invalid]="!utilsService.validarCampoObligatorio(marcadorTexto.ancho) && clickGuardarMarcadorTexto">
|
|
1186
|
-
<label>{{'ancho' | translate}} *</label>
|
|
1187
|
-
</p-floatLabel>
|
|
1188
|
-
</div>
|
|
1189
|
-
|
|
1190
|
-
<div class="field col-12 md:col-4" *ngIf="marcadorTexto.tipoGrafico">
|
|
1191
|
-
<p-floatLabel>
|
|
1192
|
-
<input pInputText type="text" [(ngModel)]="marcadorTexto.alto" maxlength="22"
|
|
1193
|
-
oninput="this.value = this.value.replace(/[^0-9]/g, '').slice(0, 5);"
|
|
1194
|
-
[class.ng-dirty]="!utilsService.validarCampoObligatorio(marcadorTexto.alto) && clickGuardarMarcadorTexto"
|
|
1195
|
-
[class.ng-invalid]="!utilsService.validarCampoObligatorio(marcadorTexto.alto) && clickGuardarMarcadorTexto">
|
|
1196
|
-
<label>{{'orden' | translate}} *</label>
|
|
1197
|
-
</p-floatLabel>
|
|
1198
|
-
</div>
|
|
1199
|
-
</div>
|
|
1200
|
-
<!--BOTONES-->
|
|
1201
|
-
<div class="flex justify-content-end mb-3" >
|
|
1202
|
-
<button pButton pRipple class="ml-2 p-button p-button-raised" icon="glyphicons {{marcadorTexto.llave ? 'glyphicons-refresh' : 'glyphicons-floppy-save'}}"
|
|
1203
|
-
label="{{marcadorTexto.llave ? ('link_actualizar' | translate) : ('link_guardar' | translate)}}" (click)="guardarMarcadorTexto()">
|
|
1204
|
-
</button>
|
|
1205
|
-
<button pButton pRipple class="ml-2 p-button-outlined" icon="glyphicons glyphicons-bin"
|
|
1206
|
-
*ngIf="marcadorTexto.llave != null" label="{{'link_eliminar' | translate}}"
|
|
1207
|
-
(click)="eliminarMarcadoTexto($event)">
|
|
1208
|
-
</button>
|
|
1209
|
-
</div>
|
|
1210
|
-
</div>
|
|
1211
|
-
</div>
|
|
1212
|
-
</p-tabPanel>
|
|
1213
|
-
<p-tabPanel header="{{'tabla' | translate }}">
|
|
1214
|
-
<div class="card col-md-12">
|
|
1215
|
-
<div class="Detallereporte mt-2">
|
|
1216
|
-
<div class="p-fluid p-formgrid grid" >
|
|
1217
|
-
<div class="field col-12 md:col-4">
|
|
1218
|
-
<p-floatLabel>
|
|
1219
|
-
<input pInputText type="text" [(ngModel)]="reporteFuente.nombreTabla" maxlength="4000">
|
|
1220
|
-
<label>{{'nombretabla' | translate }}</label>
|
|
1221
|
-
</p-floatLabel>
|
|
1222
|
-
</div>
|
|
1223
|
-
<div class="field col-12 md:col-8">
|
|
1224
|
-
<!--BOTONES-->
|
|
1225
|
-
<div class="flex justify-content-end mt-1 mb-1">
|
|
1226
|
-
<button pButton pRipple class="ml-2 p-button p-button-raised" icon="glyphicons glyphicons-refresh"
|
|
1227
|
-
label="{{'link_actualizar' | translate}}" (click)="actualizar()">
|
|
1228
|
-
</button>
|
|
1229
|
-
</div>
|
|
1230
|
-
</div>
|
|
1231
|
-
</div>
|
|
1232
|
-
</div>
|
|
1233
|
-
</div>
|
|
1234
|
-
|
|
1235
|
-
<p-pickList [source]="listaTabla" [target]="listaNoTabla" sourceHeader="Asociado" sourceFilterPlaceholder="Asociado"
|
|
1236
|
-
targetHeader="Desasociado" [dragdrop]="true" [responsive]="true" targetFilterPlaceholder="Desasociado"
|
|
1237
|
-
filterBy="nombre" *ngIf="isFuente()" (onSourceReorder)="reorderTabla($event)"
|
|
1238
|
-
(onMoveAllToTarget)="moverADesasociadoTabla($event)" (onMoveAllToSource)="moverAAsociadoTabla($event)"
|
|
1239
|
-
(onMoveToTarget)="moverADesasociadoTabla($event)" (onMoveToSource)="moverAAsociadoTabla($event)">
|
|
1240
|
-
<ng-template let-tabla pTemplate="item">
|
|
1241
|
-
<div>
|
|
1242
|
-
<label>{{tabla.nombre}}</label>
|
|
1243
|
-
</div>
|
|
1244
|
-
</ng-template>
|
|
1245
|
-
</p-pickList>
|
|
1246
|
-
</p-tabPanel>
|
|
1247
|
-
<p-tabPanel header="{{'archivoxml' | translate }}">
|
|
1248
|
-
<div class="card col-md-12">
|
|
1249
|
-
<div class="Detallereporte mt-2">
|
|
1250
|
-
<div class="p-fluid p-formgrid grid">
|
|
1251
|
-
|
|
1252
|
-
<div class="field col-12 md:col-6">
|
|
1253
|
-
<p-floatLabel>
|
|
1254
|
-
<textarea class="w-full min-h-50 max-h-100" pInputTextarea [(ngModel)]="reporteFuente.tagEncabezado"></textarea>
|
|
1255
|
-
<label>{{'tagencabezado' | translate }}</label>
|
|
1256
|
-
</p-floatLabel>
|
|
1257
|
-
</div>
|
|
1258
|
-
|
|
1259
|
-
<div class="field col-12 md:col-6">
|
|
1260
|
-
<p-floatLabel>
|
|
1261
|
-
<textarea class="w-full min-h-50 max-h-100" pInputTextarea [(ngModel)]="reporteFuente.tagCierreEncabezado"></textarea>
|
|
1262
|
-
<label>{{'tagcierreencabezado' | translate }}</label>
|
|
1263
|
-
</p-floatLabel>
|
|
1264
|
-
</div>
|
|
1265
|
-
|
|
1266
|
-
<div class="field col-12 md:col-6">
|
|
1267
|
-
<p-floatLabel>
|
|
1268
|
-
<textarea class="w-full min-h-50 max-h-100" pInputTextarea [(ngModel)]="reporteFuente.estructuraRegistro"></textarea>
|
|
1269
|
-
<label>{{'tagregistro' | translate }}</label>
|
|
1270
|
-
</p-floatLabel>
|
|
1271
|
-
</div>
|
|
1272
|
-
|
|
1273
|
-
<div class="field col-12 md:col-6">
|
|
1274
|
-
<p-floatLabel>
|
|
1275
|
-
<p-dropdown [options]="listaTipoCifrado" [autoDisplayFirst]="false" [showClear]="true"
|
|
1276
|
-
[(ngModel)]="reporteFuente.cifradoXml" optionLabel="nombre"
|
|
1277
|
-
optionValue="llaveTabla"></p-dropdown>
|
|
1278
|
-
<label>{{'tipocifrado' | translate }}</label>
|
|
1279
|
-
</p-floatLabel>
|
|
1280
|
-
</div>
|
|
1281
|
-
|
|
1282
|
-
</div>
|
|
1283
|
-
<!--BOTONES-->
|
|
1284
|
-
<div class="flex justify-content-end mb-3">
|
|
1285
|
-
<button pButton pRipple class="ml-2 p-button p-button-raised" icon="glyphicons glyphicons-refresh"
|
|
1286
|
-
label="{{'link_actualizar' | translate}}" (click)="actualizar()">
|
|
1287
|
-
</button>
|
|
1288
|
-
</div>
|
|
1289
|
-
</div>
|
|
1290
|
-
</div>
|
|
1291
|
-
<div class="flex justify-content-between align-items-center mb-3">
|
|
1292
|
-
<h1 class="text-xl">{{'marcadores' | translate}}</h1>
|
|
1293
|
-
<button pButton pRipple class="p-button-secondary font-semibold" icon="pi pi-plus"
|
|
1294
|
-
(click)="nuevoMarcadorXML()" label="{{'link_nuevo' | translate}}" *ngIf="!verNuevoMarcadorXML">
|
|
1295
|
-
</button>
|
|
1296
|
-
<div class="flex justify-content-end mb-1" *ngIf="verNuevoMarcadorXML">
|
|
1297
|
-
<button pButton pRipple (click)="verNuevoMarcadorXML = false; clickGuardarMarcadorXML = false;" label= "{{'listado' | translate}} {{'marcadores' | translate}}"
|
|
1298
|
-
icon="pi pi-chevron-left" class="p-button-text font-semibold flex-shrink-0 "></button>
|
|
1299
|
-
</div>
|
|
1300
|
-
</div>
|
|
1301
|
-
<p-table [value]="listaXML" [scrollable]="true" responsiveLayout="scroll"
|
|
1302
|
-
dataKey="llaveTabla" selectionMode="single"
|
|
1303
|
-
[rows]="10" [totalRecords]="listaXML.length"
|
|
1304
|
-
[paginator]="listaXML.length > 10" *ngIf="!verNuevoMarcadorXML"
|
|
1305
|
-
(onRowSelect)="verMarcadorXML($event)" (onRowUnselect)="verMarcadorXML($event)">
|
|
1306
|
-
<ng-template pTemplate="header">
|
|
1307
|
-
|
|
1308
|
-
<tr class="fondoTablaPincipal">
|
|
1309
|
-
<th>{{'descripcion' | translate }}</th>
|
|
1310
|
-
<th>{{'tipo' | translate }}</th>
|
|
1311
|
-
<th>{{'columna' | translate }}</th>
|
|
1312
|
-
<th>{{'marcador' | translate }}</th>
|
|
1313
|
-
</tr>
|
|
1314
|
-
<th>
|
|
1315
|
-
</ng-template>
|
|
1316
|
-
<ng-template pTemplate="body" let-marctexto>
|
|
1317
|
-
<tr [pSelectableRow]="marctexto">
|
|
1318
|
-
<td>{{marctexto.descripcion}}</td>
|
|
1319
|
-
<td>{{marctexto.tipo | reporteFuentePipe : 'listaTipoDatoMarcadores'}}</td>
|
|
1320
|
-
<td>{{marctexto.nombreColumna}}</td>
|
|
1321
|
-
<td>{{marctexto.marcador}}</td>
|
|
1322
|
-
</tr>
|
|
1323
|
-
</ng-template>
|
|
1324
|
-
<ng-template pTemplate="emptymessage">
|
|
1325
|
-
<tr>
|
|
1326
|
-
<td colspan="100" class="p-3 font-medium emptymessage">{{'mensajetablavacia' | translate}}</td>
|
|
1327
|
-
</tr>
|
|
1328
|
-
</ng-template>
|
|
1329
|
-
</p-table>
|
|
1330
|
-
<div class="card mt-3" *ngIf="verNuevoMarcadorXML">
|
|
1331
|
-
<h5 class="mt-3"><i class="glyphicons glyphicons-notes"></i>{{'detalle' | translate}}</h5>
|
|
1332
|
-
<div class="Detallereporte mt-2">
|
|
1333
|
-
<div class="p-fluid p-formgrid grid" >
|
|
1334
|
-
<div class="field col-12 md:col-4" >
|
|
1335
|
-
<p-floatLabel>
|
|
1336
|
-
<input pInputText type="text" [(ngModel)]="marcadorXML.descripcion" maxlength="100"
|
|
1337
|
-
[class.ng-dirty]="!utilsService.validarCampoObligatorio(marcadorXML.descripcion) && clickGuardarMarcadorXML"
|
|
1338
|
-
[class.ng-invalid]="!utilsService.validarCampoObligatorio(marcadorXML.descripcion) && clickGuardarMarcadorXML">
|
|
1339
|
-
<label>{{'descripcion' | translate}} *</label>
|
|
1340
|
-
</p-floatLabel>
|
|
1341
|
-
</div>
|
|
1342
|
-
|
|
1343
|
-
<div class="field col-12 md:col-4">
|
|
1344
|
-
<p-floatLabel>
|
|
1345
|
-
<p-dropdown [options]="listaTipoMarcadorXML" [autoDisplayFirst]="false"
|
|
1346
|
-
[(ngModel)]="marcadorXML.tipo" optionLabel="nombre" optionValue="codigo"
|
|
1347
|
-
[class.ng-dirty]="!utilsService.validarCampoObligatorio(marcadorXML.tipo) && clickGuardarMarcadorXML"
|
|
1348
|
-
[class.ng-invalid]="!utilsService.validarCampoObligatorio(marcadorXML.tipo) && clickGuardarMarcadorXML"></p-dropdown>
|
|
1349
|
-
<label>{{'tipo' | translate }} *</label>
|
|
1350
|
-
</p-floatLabel>
|
|
1351
|
-
</div>
|
|
1352
|
-
|
|
1353
|
-
<div class="field col-12 md:col-4" *ngIf="['MA','MR'].includes(marcadorXML.tipo)" >
|
|
1354
|
-
<p-floatLabel>
|
|
1355
|
-
<input pInputText type="text" [(ngModel)]="marcadorXML.marcador" >
|
|
1356
|
-
<label>{{'marcador' | translate}}</label>
|
|
1357
|
-
</p-floatLabel>
|
|
1358
|
-
</div>
|
|
1359
|
-
|
|
1360
|
-
<div class="field col-12 md:col-4" *ngIf="marcadorXML.tipo == 'TB'" >
|
|
1361
|
-
<p-floatLabel>
|
|
1362
|
-
<input pInputText type="text" [(ngModel)]="marcadorXML.marcador" maxlength="5"
|
|
1363
|
-
oninput="this.value = this.value.replace(/[^0-9]/g, '').slice(0, 5);" >
|
|
1364
|
-
<label>{{'tabla' | translate}}</label>
|
|
1365
|
-
</p-floatLabel>
|
|
1366
|
-
</div>
|
|
1367
|
-
|
|
1368
|
-
<div class="field col-12 md:col-4" *ngIf="marcadorXML.tipo == 'MA'" >
|
|
1369
|
-
<p-floatLabel>
|
|
1370
|
-
<p-dropdown [options]="listaColumnas" [autoDisplayFirst]="false" [showClear]="true"
|
|
1371
|
-
[(ngModel)]="marcadorXML.reporteColumna" optionLabel="nombre" optionValue="llaveTabla" ></p-dropdown>
|
|
1372
|
-
<label>{{'columna' | translate }}</label>
|
|
1373
|
-
</p-floatLabel>
|
|
1374
|
-
</div>
|
|
1375
|
-
|
|
1376
|
-
<div class="field col-12 md:col-4" *ngIf="marcadorXML.tipo == 'MA'" >
|
|
1377
|
-
<p-floatLabel>
|
|
1378
|
-
<input pInputText type="text" [(ngModel)]="marcadorXML.formato" >
|
|
1379
|
-
<label>{{'formato' | translate}}</label>
|
|
1380
|
-
</p-floatLabel>
|
|
1381
|
-
</div>
|
|
1382
|
-
|
|
1383
|
-
<div class="field col-12 md:col-4" *ngIf="marcadorXML.tipo == 'MR'">
|
|
1384
|
-
<p-floatLabel>
|
|
1385
|
-
<textarea class="w-full min-h-150 max-h-200" pInputTextarea [(ngModel)]="marcadorXML.textoRegistro" ></textarea>
|
|
1386
|
-
<label>{{'texto' | translate }}</label>
|
|
1387
|
-
</p-floatLabel>
|
|
1388
|
-
</div>
|
|
1389
|
-
|
|
1390
|
-
<div class="field col-12 md:col-4" *ngIf="['MR','TB'].includes(marcadorXML.tipo)">
|
|
1391
|
-
<p-floatLabel>
|
|
1392
|
-
<p-dropdown [options]="listaFuentes" [autoDisplayFirst]="false" [showClear]="true"
|
|
1393
|
-
[(ngModel)]="marcadorXML.fuente" optionLabel="descripcion" optionValue="llave"></p-dropdown>
|
|
1394
|
-
<label>{{'fuente' | translate }}</label>
|
|
1395
|
-
</p-floatLabel>
|
|
1396
|
-
</div>
|
|
1397
|
-
|
|
1398
|
-
<div class="field col-12 md:col-4" *ngIf="['MR','TB'].includes(marcadorXML.tipo)">
|
|
1399
|
-
<p-floatLabel>
|
|
1400
|
-
<textarea class="w-full min-h-150 max-h-200" pInputTextarea [(ngModel)]="marcadorXML.filtro"></textarea>
|
|
1401
|
-
<label>{{'filtro' | translate }}</label>
|
|
1402
|
-
</p-floatLabel>
|
|
1403
|
-
</div>
|
|
1404
|
-
|
|
1405
|
-
<div class="field col-12 md:col-4" *ngIf="marcadorXML.tipo == 'TB'">
|
|
1406
|
-
<p-floatLabel>
|
|
1407
|
-
<textarea class="w-full min-h-150 max-h-200" pInputTextarea [(ngModel)]="marcadorXML.estructuraTablaXML"></textarea>
|
|
1408
|
-
<label>{{'estructuratabla' | translate }}</label>
|
|
1409
|
-
</p-floatLabel>
|
|
1410
|
-
</div>
|
|
1411
|
-
</div>
|
|
1412
|
-
<!--BOTONES-->
|
|
1413
|
-
<div class="flex justify-content-end mb-3" >
|
|
1414
|
-
<button pButton pRipple class="ml-2 p-button p-button-raised" icon="glyphicons {{marcadorXML.llave ? 'glyphicons-refresh' : 'glyphicons-floppy-save'}}"
|
|
1415
|
-
label="{{marcadorXML.llave ? ('link_actualizar' | translate) : ('link_guardar' | translate)}}" (click)="guardarMarcadorXML()">
|
|
1416
|
-
</button>
|
|
1417
|
-
<button pButton pRipple class="ml-2 p-button-outlined" icon="glyphicons glyphicons-bin"
|
|
1418
|
-
*ngIf="marcadorXML.llave != null" label="{{'link_eliminar' | translate}}"
|
|
1419
|
-
(click)="eliminarMarcadorXML($event)">
|
|
1420
|
-
</button>
|
|
1421
|
-
</div>
|
|
1422
|
-
</div>
|
|
1423
|
-
</div>
|
|
1424
|
-
<div *ngIf="verNuevoMarcadorXML && marcadorXML.llave != null && (marcadorXML.tipo == 'MR' || marcadorXML.tipo == 'TB')">
|
|
1425
|
-
<div class="flex justify-content-end align-items-center mb-3">
|
|
1426
|
-
<button pButton label="{{'link_nuevo' | translate}}" (click)="nuevoCampoTablaXML()" icon="pi pi-plus" [disabled]="habilitaCampo"
|
|
1427
|
-
class="p-ripple p-element p-button p-component p-button-secondary mb-2"></button>
|
|
1428
|
-
</div>
|
|
1429
|
-
<p-table [value]="listaCamposMarcadorXML" responsiveLayout="scroll" styleClass="p-datatable-striped"
|
|
1430
|
-
[rows]="10" [totalRecords]="listaCamposMarcadorXML.length"
|
|
1431
|
-
[paginator]="listaCamposMarcadorXML.length > 10"
|
|
1432
|
-
[showCurrentPageReport]="true" currentPageReportTemplate="{first} al {last} de {totalRecords} registros"
|
|
1433
|
-
editMode="row" dataKey="llave">
|
|
1434
|
-
<ng-template pTemplate="header">
|
|
1435
|
-
<tr class="fondoTablaPincipal">
|
|
1436
|
-
<th style="width: 30%;">{{'campo' | translate }}</th>
|
|
1437
|
-
<th style="width: 30%;">{{'marcador' | translate }}</th>
|
|
1438
|
-
<th style="width: 30%;">{{'formato' | translate }}</th>
|
|
1439
|
-
<th style="width: 10%"> </th>
|
|
1440
|
-
</tr>
|
|
1441
|
-
<tr class="TablaNuevoRegistro" *ngIf="verReporteMarcadorDetalleXML">
|
|
1442
|
-
<td style="width: 30%;">
|
|
1443
|
-
<input pInputText type="text" [(ngModel)]="campoMarcadorInsertarXML.campoFuente" style="width: -webkit-fill-available"
|
|
1444
|
-
[class.ng-dirty]="!utilsService.validarCampoObligatorio(campoMarcadorInsertarXML.campoFuente) && clickGuardarMarcadorCampoXML"
|
|
1445
|
-
[class.ng-invalid]="!utilsService.validarCampoObligatorio(campoMarcadorInsertarXML.campoFuente) && clickGuardarMarcadorCampoXML">
|
|
1446
|
-
</td>
|
|
1447
|
-
<td style="width: 30%;">
|
|
1448
|
-
<input pInputText type="text" [(ngModel)]="campoMarcadorInsertarXML.marcador" style="width: -webkit-fill-available"
|
|
1449
|
-
[class.ng-dirty]="!utilsService.validarCampoObligatorio(campoMarcadorInsertarXML.marcador) && clickGuardarMarcadorCampoXML"
|
|
1450
|
-
[class.ng-invalid]="!utilsService.validarCampoObligatorio(campoMarcadorInsertarXML.marcador) && clickGuardarMarcadorCampoXML">
|
|
1451
|
-
</td>
|
|
1452
|
-
<td style="width: 30%;">
|
|
1453
|
-
<input pInputText type="text" [(ngModel)]="campoMarcadorInsertarXML.formato" style="width: -webkit-fill-available">
|
|
1454
|
-
</td>
|
|
1455
|
-
<td style="width: 10%">
|
|
1456
|
-
<div class="flex justify-content-end" >
|
|
1457
|
-
<button pButton pRipple type="button" icon="pi pi-check" (click)="agregarCampoMarcadorXML(campoMarcadorInsertarXML)"
|
|
1458
|
-
class="p-element p-ripple p-button-rounded p-button-success mr-2 mb-2 p-button p-component p-button-icon-only"></button>
|
|
1459
|
-
<button pButton pRipple type="button" (click)="verReporteMarcadorDetalleXML = false; habilitaCampo = false;" icon="pi pi-times"
|
|
1460
|
-
class="p-element p-ripple p-button-rounded p-button-danger mr-2 mb-2 p-button p-component p-button-icon-only"></button>
|
|
1461
|
-
</div>
|
|
1462
|
-
</td>
|
|
1463
|
-
</tr>
|
|
1464
|
-
</ng-template>
|
|
1465
|
-
<ng-template pTemplate="body" let-campo let-editing="editing" let-ri="rowIndex">
|
|
1466
|
-
<tr [pEditableRow]="campo">
|
|
1467
|
-
<td style="width: 30%;">
|
|
1468
|
-
<p-cellEditor>
|
|
1469
|
-
<ng-template pTemplate="input">
|
|
1470
|
-
<input pInputText type="text" [(ngModel)]="campo.campoFuente" style="width: -webkit-fill-available"
|
|
1471
|
-
[class.ng-dirty]="!utilsService.validarCampoObligatorio(campo.campoFuente) && clickGuardarMarcadorCampoXML"
|
|
1472
|
-
[class.ng-invalid]="!utilsService.validarCampoObligatorio(campo.campoFuente) && clickGuardarMarcadorCampoXML">
|
|
1473
|
-
</ng-template>
|
|
1474
|
-
<ng-template pTemplate="output">
|
|
1475
|
-
{{campo.campoFuente}}
|
|
1476
|
-
</ng-template>
|
|
1477
|
-
</p-cellEditor>
|
|
1478
|
-
</td>
|
|
1479
|
-
<td style="width: 30%;">
|
|
1480
|
-
<p-cellEditor>
|
|
1481
|
-
<ng-template pTemplate="input">
|
|
1482
|
-
<input pInputText type="text" [(ngModel)]="campo.marcador" style="width: -webkit-fill-available"
|
|
1483
|
-
[class.ng-dirty]="!utilsService.validarCampoObligatorio(campo.marcador) && clickGuardarMarcadorCampoXML"
|
|
1484
|
-
[class.ng-invalid]="!utilsService.validarCampoObligatorio(campo.marcador) && clickGuardarMarcadorCampoXML">
|
|
1485
|
-
</ng-template>
|
|
1486
|
-
<ng-template pTemplate="output">
|
|
1487
|
-
{{campo.marcador}}
|
|
1488
|
-
</ng-template>
|
|
1489
|
-
</p-cellEditor>
|
|
1490
|
-
</td>
|
|
1491
|
-
<td style="width: 30%;">
|
|
1492
|
-
<p-cellEditor>
|
|
1493
|
-
<ng-template pTemplate="input">
|
|
1494
|
-
<input pInputText type="text" [(ngModel)]="campo.formato" style="width: -webkit-fill-available">
|
|
1495
|
-
</ng-template>
|
|
1496
|
-
<ng-template pTemplate="output">
|
|
1497
|
-
{{campo.formato}}
|
|
1498
|
-
</ng-template>
|
|
1499
|
-
</p-cellEditor>
|
|
1500
|
-
</td>
|
|
1501
|
-
|
|
1502
|
-
|
|
1503
|
-
<td style="width: 10%">
|
|
1504
|
-
<div class="flex justify-content-end">
|
|
1505
|
-
<!-- CHECK GUARDAR -->
|
|
1506
|
-
<button *ngIf="editing" pButton pRipple type="button" pSaveEditableRow
|
|
1507
|
-
icon="pi pi-check" (click)="agregarCampoMarcadorXML(campo)"
|
|
1508
|
-
class="p-element p-ripple p-button-rounded p-button-success mr-2 mb-2 p-button p-component p-button-icon-only"></button>
|
|
1509
|
-
<!-- CANCELAR -->
|
|
1510
|
-
<button *ngIf="editing" pButton pRipple type="button" pCancelEditableRow
|
|
1511
|
-
icon="pi pi-times" (click)="cargarListaCampoMarcadorXMLAsync()"
|
|
1512
|
-
class="p-element p-ripple p-button-rounded p-button-danger mr-2 mb-2 p-button p-component p-button-icon-only"></button>
|
|
1513
|
-
<!-- EDITAR -->
|
|
1514
|
-
<button *ngIf="!editing" pButton pRipple type="button" pInitEditableRow
|
|
1515
|
-
icon="glyphicons glyphicons-pencil" [disabled]="habilitaCampo" (click)="iniciarEdicion()"
|
|
1516
|
-
class="p-element p-ripple p-button-rounded p-button-secondary mr-2 mb-2 p-button p-component p-button-icon-only"></button>
|
|
1517
|
-
<!-- ELIMINAR -->
|
|
1518
|
-
<button *ngIf="!editing" pButton pRipple type="button" pDeleteEditableRow
|
|
1519
|
-
icon="pi pi-trash" [disabled]="habilitaCampo" (click)="eliminarCampoMarcadorXML($event,campo)"
|
|
1520
|
-
class="p-element p-ripple p-button-rounded p-button-outlined mr-2 mb-2 p-button p-component p-button-icon-only"></button>
|
|
1521
|
-
</div>
|
|
1522
|
-
</td>
|
|
1523
|
-
</tr>
|
|
1524
|
-
</ng-template>
|
|
1525
|
-
<ng-template pTemplate="emptymessage">
|
|
1526
|
-
<tr>
|
|
1527
|
-
<td colspan="100" class="p-3 font-medium emptymessage">{{'mensajetablavacia' | translate}}</td>
|
|
1528
|
-
</tr>
|
|
1529
|
-
</ng-template>
|
|
1530
|
-
</p-table>
|
|
1531
|
-
</div>
|
|
1532
|
-
</p-tabPanel>
|
|
1533
|
-
<p-tabPanel header="{{'columnario' | translate }}">
|
|
1534
|
-
<p-accordion (onOpen)="cambiarTabColumnario($event)" >
|
|
1535
|
-
<p-accordionTab [selected]="true" >
|
|
1536
|
-
<ng-template pTemplate="header"><i class="glyphicons glyphicons-notes"></i>
|
|
1537
|
-
{{'columnasbasicas'|translate}}
|
|
1538
|
-
</ng-template>
|
|
1539
|
-
<div class="flex justify-content-end align-items-center mt-2 mb-2">
|
|
1540
|
-
<button pButton pRipple class="p-button-secondary font-semibold" icon="pi pi-plus"
|
|
1541
|
-
(click)="nuevoColumnaBasica()" label="{{'link_nuevo' | translate}}" *ngIf="!verNuevoReporteColumnario">
|
|
1542
|
-
</button>
|
|
1543
|
-
<div class="flex justify-content-end mb-1" *ngIf="verNuevoReporteColumnario">
|
|
1544
|
-
<button pButton pRipple (click)="verNuevoReporteColumnario = false; clickGuardarReporteColumnario = false;" label= "{{'listado' | translate}} {{'columnasbasicas' | translate}}"
|
|
1545
|
-
icon="pi pi-chevron-left" class="p-button-text font-semibold flex-shrink-0 "></button>
|
|
1546
|
-
</div>
|
|
1547
|
-
</div>
|
|
1548
|
-
<p-table [value]="listaReporteColumnario" [scrollable]="true" responsiveLayout="scroll"
|
|
1549
|
-
dataKey="llaveTabla" selectionMode="single"
|
|
1550
|
-
[rows]="10" [totalRecords]="listaReporteColumnario.length"
|
|
1551
|
-
[paginator]="listaReporteColumnario.length > 10" *ngIf="!verNuevoReporteColumnario"
|
|
1552
|
-
(onRowSelect)="verReporteColumnario($event)" (onRowUnselect)="verReporteColumnario($event)">
|
|
1553
|
-
<ng-template pTemplate="header">
|
|
1554
|
-
|
|
1555
|
-
<tr class="fondoTablaPincipal">
|
|
1556
|
-
<th>{{'nombre' | translate }}</th>
|
|
1557
|
-
<th>{{'columna' | translate }}</th>
|
|
1558
|
-
<th>{{'tipo' | translate }}</th>
|
|
1559
|
-
<th>{{'orden' | translate }}</th>
|
|
1560
|
-
<th>{{'operacion' | translate }}</th>
|
|
1561
|
-
</tr>
|
|
1562
|
-
<th>
|
|
1563
|
-
</ng-template>
|
|
1564
|
-
<ng-template pTemplate="body" let-bean>
|
|
1565
|
-
<tr [pSelectableRow]="bean">
|
|
1566
|
-
<td>{{bean.nombre}}</td>
|
|
1567
|
-
<td>{{bean.nombreColumna}}</td>
|
|
1568
|
-
<td>{{bean.tipo | reporteColumnarioPipe: 'listaTipoColumna'}}</td>
|
|
1569
|
-
<td>{{bean.orden}}</td>
|
|
1570
|
-
<td>{{bean.operacion | reporteColumnarioPipe: 'listaOperacion'}}</td>
|
|
1571
|
-
</tr>
|
|
1572
|
-
</ng-template>
|
|
1573
|
-
<ng-template pTemplate="emptymessage">
|
|
1574
|
-
<tr>
|
|
1575
|
-
<td colspan="100" class="p-3 font-medium emptymessage">{{'mensajetablavacia' | translate}}</td>
|
|
1576
|
-
</tr>
|
|
1577
|
-
</ng-template>
|
|
1578
|
-
</p-table>
|
|
1579
|
-
<div *ngIf="verNuevoReporteColumnario">
|
|
1580
|
-
<div class="Detallereporte mt-2">
|
|
1581
|
-
<div class="p-fluid p-formgrid grid" >
|
|
1582
|
-
<div class="field col-12 md:col-4" >
|
|
1583
|
-
<p-floatLabel>
|
|
1584
|
-
<input pInputText type="text" [(ngModel)]="columnaBasica.nombre" maxlength="100"
|
|
1585
|
-
[class.ng-dirty]="!utilsService.validarCampoObligatorio(columnaBasica.nombre) && clickGuardarReporteColumnario"
|
|
1586
|
-
[class.ng-invalid]="!utilsService.validarCampoObligatorio(columnaBasica.nombre) && clickGuardarReporteColumnario">
|
|
1587
|
-
<label>{{'nombre' | translate}} *</label>
|
|
1588
|
-
</p-floatLabel>
|
|
1589
|
-
</div>
|
|
1590
|
-
|
|
1591
|
-
<div class="field col-12 md:col-4">
|
|
1592
|
-
<p-floatLabel>
|
|
1593
|
-
<p-dropdown [options]="listaTipoColumnas" [autoDisplayFirst]="false" appendTo="body"
|
|
1594
|
-
[(ngModel)]="columnaBasica.tipo" optionLabel="nombre" optionValue="codigo"
|
|
1595
|
-
[class.ng-dirty]="!utilsService.validarCampoObligatorio(columnaBasica.tipo) && clickGuardarReporteColumnario"
|
|
1596
|
-
[class.ng-invalid]="!utilsService.validarCampoObligatorio(columnaBasica.tipo) && clickGuardarReporteColumnario"></p-dropdown>
|
|
1597
|
-
<label>{{'tipocolumna' | translate }} *</label>
|
|
1598
|
-
</p-floatLabel>
|
|
1599
|
-
</div>
|
|
1600
|
-
|
|
1601
|
-
<div class="field col-12 md:col-4">
|
|
1602
|
-
<p-floatLabel>
|
|
1603
|
-
<p-dropdown [options]="listaColumnas" [autoDisplayFirst]="false" appendTo="body"
|
|
1604
|
-
[(ngModel)]="columnaBasica.reporteColumna" optionLabel="nombre" optionValue="llaveTabla"
|
|
1605
|
-
[class.ng-dirty]="!utilsService.validarCampoObligatorio(columnaBasica.reporteColumna) && clickGuardarReporteColumnario"
|
|
1606
|
-
[class.ng-invalid]="!utilsService.validarCampoObligatorio(columnaBasica.reporteColumna) && clickGuardarReporteColumnario"></p-dropdown>
|
|
1607
|
-
<label>{{'columna' | translate }} *</label>
|
|
1608
|
-
</p-floatLabel>
|
|
1609
|
-
</div>
|
|
1610
|
-
|
|
1611
|
-
<div class="field col-12 md:col-4" *ngIf="columnaBasica.tipo == 'D'">
|
|
1612
|
-
<p-floatLabel>
|
|
1613
|
-
<p-dropdown [options]="listaOperacionesColumnario" [autoDisplayFirst]="false" appendTo="body"
|
|
1614
|
-
[(ngModel)]="columnaBasica.operacion" optionLabel="nombre" optionValue="codigo"
|
|
1615
|
-
[class.ng-dirty]="!utilsService.validarCampoObligatorio(columnaBasica.operacion) && clickGuardarReporteColumnario"
|
|
1616
|
-
[class.ng-invalid]="!utilsService.validarCampoObligatorio(columnaBasica.operacion) && clickGuardarReporteColumnario"></p-dropdown>
|
|
1617
|
-
<label>{{'operacion' | translate }} *</label>
|
|
1618
|
-
</p-floatLabel>
|
|
1619
|
-
</div>
|
|
1620
|
-
|
|
1621
|
-
<div class="field col-12 md:col-4" *ngIf="isTipoColumna()">
|
|
1622
|
-
<p-floatLabel>
|
|
1623
|
-
<p-dropdown [options]="listaOperacionesExcelColumnario" [autoDisplayFirst]="false" appendTo="body"
|
|
1624
|
-
[(ngModel)]="columnaBasica.operacionHorizontal" optionLabel="nombre" optionValue="codigo"
|
|
1625
|
-
[class.ng-dirty]="!utilsService.validarCampoObligatorio(columnaBasica.operacionHorizontal) && clickGuardarReporteColumnario"
|
|
1626
|
-
[class.ng-invalid]="!utilsService.validarCampoObligatorio(columnaBasica.operacionHorizontal) && clickGuardarReporteColumnario"></p-dropdown>
|
|
1627
|
-
<label>{{'operacionhorizontal' | translate }} *</label>
|
|
1628
|
-
</p-floatLabel>
|
|
1629
|
-
</div>
|
|
1630
|
-
<!-- fila Operacion Vertical -->
|
|
1631
|
-
<div class="field col-12 md:col-4" *ngIf="isTipoColumna()">
|
|
1632
|
-
<p-floatLabel>
|
|
1633
|
-
<input pInputText type="text" [(ngModel)]="columnaBasica.columnaOperacionVertical" maxlength="5"
|
|
1634
|
-
oninput="this.value = this.value.replace(/[^0-9]/g, '').slice(0, 5);"
|
|
1635
|
-
[class.ng-dirty]="!utilsService.validarCampoObligatorio(columnaBasica.columnaOperacionVertical) && clickGuardarReporteColumnario"
|
|
1636
|
-
[class.ng-invalid]="!utilsService.validarCampoObligatorio(columnaBasica.columnaOperacionVertical) && clickGuardarReporteColumnario">
|
|
1637
|
-
<label>{{'columnaoperacion' | translate}} *</label>
|
|
1638
|
-
</p-floatLabel>
|
|
1639
|
-
</div>
|
|
1640
|
-
<!-- Operacion Verticial -->
|
|
1641
|
-
<div class="field col-12 md:col-4" *ngIf="isTipoColumna()">
|
|
1642
|
-
<p-floatLabel>
|
|
1643
|
-
<p-dropdown [options]="listaOperacionesExcelColumnario" [autoDisplayFirst]="false" appendTo="body"
|
|
1644
|
-
[(ngModel)]="columnaBasica.operacionVertical" optionLabel="nombre" optionValue="codigo"
|
|
1645
|
-
[class.ng-dirty]="!utilsService.validarCampoObligatorio(columnaBasica.operacionVertical) && clickGuardarReporteColumnario"
|
|
1646
|
-
[class.ng-invalid]="!utilsService.validarCampoObligatorio(columnaBasica.operacionVertical) && clickGuardarReporteColumnario"></p-dropdown>
|
|
1647
|
-
<label>{{'operacionvertical' | translate }} *</label>
|
|
1648
|
-
</p-floatLabel>
|
|
1649
|
-
</div>
|
|
1650
|
-
<!-- Orden -->
|
|
1651
|
-
<div class="field col-12 md:col-4" *ngIf="isMostrarOrden()">
|
|
1652
|
-
<p-floatLabel>
|
|
1653
|
-
<input pInputText type="text" [(ngModel)]="columnaBasica.orden" maxlength="5"
|
|
1654
|
-
oninput="this.value = this.value.replace(/[^0-9]/g, '').slice(0, 5);"
|
|
1655
|
-
[class.ng-dirty]="!utilsService.validarCampoObligatorio(columnaBasica.orden) && clickGuardarReporteColumnario"
|
|
1656
|
-
[class.ng-invalid]="!utilsService.validarCampoObligatorio(columnaBasica.orden) && clickGuardarReporteColumnario">
|
|
1657
|
-
<label>{{'orden' | translate}} *</label>
|
|
1658
|
-
</p-floatLabel>
|
|
1659
|
-
</div>
|
|
1660
|
-
<!-- Ordenamiento Filas -->
|
|
1661
|
-
<div class="field col-12 md:col-4" *ngIf="isTipoLabel() || isTipoFila()">
|
|
1662
|
-
<p-floatLabel>
|
|
1663
|
-
<p-dropdown [options]="listaOrdenamiento" [autoDisplayFirst]="false" [showClear]="false" appendTo="body"
|
|
1664
|
-
[(ngModel)]="columnaBasica.orderBy" optionLabel="nombre" optionValue="codigo"
|
|
1665
|
-
[class.ng-dirty]="!utilsService.validarCampoObligatorio(columnaBasica.orderBy) && clickGuardarReporteColumnario"
|
|
1666
|
-
[class.ng-invalid]="!utilsService.validarCampoObligatorio(columnaBasica.orderBy) && clickGuardarReporteColumnario"></p-dropdown>
|
|
1667
|
-
<label>{{'ordenamiento' | translate }} *</label>
|
|
1668
|
-
</p-floatLabel>
|
|
1669
|
-
</div>
|
|
1670
|
-
<!-- Ordenamiento Datos de la consulta -->
|
|
1671
|
-
<div class="field col-12 md:col-4" *ngIf="isMostrarOrdenConsulta()">
|
|
1672
|
-
<p-floatLabel>
|
|
1673
|
-
<input pInputText type="text" [(ngModel)]="columnaBasica.ordenConsulta" maxlength="5"
|
|
1674
|
-
[class.ng-dirty]="!utilsService.validarCampoObligatorio(columnaBasica.ordenConsulta) && clickGuardarReporteColumnario"
|
|
1675
|
-
[class.ng-invalid]="!utilsService.validarCampoObligatorio(columnaBasica.ordenConsulta) && clickGuardarReporteColumnario"
|
|
1676
|
-
oninput="this.value = this.value.replace(/[^0-9]/g, '').slice(0, 5);" >
|
|
1677
|
-
<label>{{'ordenconsulta' | translate}} *</label>
|
|
1678
|
-
</p-floatLabel>
|
|
1679
|
-
</div>
|
|
1680
|
-
</div>
|
|
1681
|
-
<!--BOTONES-->
|
|
1682
|
-
<div class="flex justify-content-end mb-3" >
|
|
1683
|
-
<button pButton pRipple class="ml-2 p-button p-button-raised" icon="glyphicons {{columnaBasica.llaveTabla ? 'glyphicons-refresh' : 'glyphicons-floppy-save'}}"
|
|
1684
|
-
label="{{columnaBasica.llaveTabla ? ('link_actualizar' | translate) : ('link_guardar' | translate)}}" (click)="guardarColumnaBasica()">
|
|
1685
|
-
</button>
|
|
1686
|
-
<button pButton pRipple class="ml-2 p-button-outlined" icon="glyphicons glyphicons-bin"
|
|
1687
|
-
*ngIf="columnaBasica.llaveTabla != null" label="{{'link_eliminar' | translate}}"
|
|
1688
|
-
(click)="eliminarColumnaBasica($event)">
|
|
1689
|
-
</button>
|
|
1690
|
-
</div>
|
|
1691
|
-
</div>
|
|
1692
|
-
</div>
|
|
1693
|
-
</p-accordionTab>
|
|
1694
|
-
</p-accordion>
|
|
1695
|
-
<p-accordion (onOpen)="cambiarTabColumnario($event)">
|
|
1696
|
-
<p-accordionTab >
|
|
1697
|
-
<ng-template pTemplate="header"><i class="glyphicons glyphicons-notes"></i>
|
|
1698
|
-
{{'datosadicionales'|translate}}
|
|
1699
|
-
</ng-template>
|
|
1700
|
-
<p-fieldset class="fieldsintitulo" >
|
|
1701
|
-
<div class="Detallereporte mt-2">
|
|
1702
|
-
<div class="p-fluid p-formgrid grid">
|
|
1703
|
-
|
|
1704
|
-
<div class="field col-12 md:col-3">
|
|
1705
|
-
<p-floatLabel>
|
|
1706
|
-
<app-input-helper-seleccion-plantilla [readonly]="false" [showDialog]="false"
|
|
1707
|
-
[label]="reporteFuente.archivoExcelColumnario ? reporteFuente.archivoExcelColumnario: ''"
|
|
1708
|
-
[extensiones]="'xls;xlsx;xlsm'" [mostraroblicargo]="true" [labelrar]="'plantilla' | translate"
|
|
1709
|
-
(onSelected)="obtenerArchivoColumnario($event)"></app-input-helper-seleccion-plantilla>
|
|
1710
|
-
</p-floatLabel>
|
|
1711
|
-
</div>
|
|
1712
|
-
|
|
1713
|
-
<div class="field col-12 md:col-3">
|
|
1714
|
-
<p-floatLabel>
|
|
1715
|
-
<input pInputText type="text" [(ngModel)]="reporteFuente.hojaExcel" size="25" maxlength="20">
|
|
1716
|
-
<label>{{'nombre' | translate }} {{'de' | translate }} {{'la' | translate }} {{'hoja' |
|
|
1717
|
-
translate }}</label>
|
|
1718
|
-
</p-floatLabel>
|
|
1719
|
-
</div>
|
|
1720
|
-
|
|
1721
|
-
<div class="field col-12 md:col-3">
|
|
1722
|
-
<p-floatLabel>
|
|
1723
|
-
<input pInputText [(ngModel)]="reporteFuente.filaInicioColumnario" maxlength="5"
|
|
1724
|
-
oninput="this.value = this.value.replace(/[^0-9]/g, '').slice(0, 5);" />
|
|
1725
|
-
<label>{{'filainiciocolumnario' | translate }}</label>
|
|
1726
|
-
</p-floatLabel>
|
|
1727
|
-
</div>
|
|
1728
|
-
|
|
1729
|
-
<div class="field col-12 md:col-3">
|
|
1730
|
-
<p-floatLabel>
|
|
1731
|
-
<p-dropdown [options]="listaTipoCifrado" [autoDisplayFirst]="false" [showClear]="true" appendTo="body"
|
|
1732
|
-
[(ngModel)]="reporteFuente.cifradoColumnario" optionLabel="nombre"
|
|
1733
|
-
optionValue="llaveTabla"></p-dropdown>
|
|
1734
|
-
<label>{{'tipocifrado' | translate }}</label>
|
|
1735
|
-
</p-floatLabel>
|
|
1736
|
-
</div>
|
|
1737
|
-
|
|
1738
|
-
<div class="field col-12 md:col-12">
|
|
1739
|
-
<p-floatLabel>
|
|
1740
|
-
<textarea class="w-full min-h-50 max-h-100" pInputTextarea [(ngModel)]="reporteFuente.sintaxisColumnario"></textarea>
|
|
1741
|
-
<label>{{'sintaxiscolumnario' | translate }}</label>
|
|
1742
|
-
</p-floatLabel>
|
|
1743
|
-
</div>
|
|
1744
|
-
|
|
1745
|
-
</div>
|
|
1746
|
-
<!--BOTONES-->
|
|
1747
|
-
<div class="flex justify-content-end mb-3">
|
|
1748
|
-
<button pButton pRipple class="ml-2 p-button p-button-raised" icon="glyphicons glyphicons-refresh"
|
|
1749
|
-
label="{{'link_actualizar' | translate}}" (click)="actualizar()">
|
|
1750
|
-
</button>
|
|
1751
|
-
</div>
|
|
1752
|
-
</div>
|
|
1753
|
-
</p-fieldset>
|
|
1754
|
-
<div class="flex justify-content-between align-items-center mb-3 mt-3">
|
|
1755
|
-
<h1 class="text-xl">{{'columnaadicional' | translate}}</h1>
|
|
1756
|
-
<button pButton pRipple class="p-button-secondary font-semibold" icon="pi pi-plus"
|
|
1757
|
-
(click)="nuevaColumnaAdicional()" label="{{'link_nuevo' | translate}}" *ngIf="!verNuevoColumnaAdicional">
|
|
1758
|
-
</button>
|
|
1759
|
-
<div class="flex justify-content-end mb-1" *ngIf="verNuevoColumnaAdicional">
|
|
1760
|
-
<button pButton pRipple (click)="verNuevoColumnaAdicional = false; clickGuardarColumnaAdicional = false;" label= "{{'listado' | translate}} {{'columnaadicional' | translate}}"
|
|
1761
|
-
icon="pi pi-chevron-left" class="p-button-text font-semibold flex-shrink-0 "></button>
|
|
1762
|
-
</div>
|
|
1763
|
-
</div>
|
|
1764
|
-
<p-table [value]="columnasAdicionales" [scrollable]="true" responsiveLayout="scroll"
|
|
1765
|
-
dataKey="llaveTabla" selectionMode="single"
|
|
1766
|
-
[rows]="10" [totalRecords]="columnasAdicionales.length"
|
|
1767
|
-
[paginator]="columnasAdicionales.length > 10" *ngIf="!verNuevoColumnaAdicional"
|
|
1768
|
-
(onRowSelect)="verDetalleAdicional($event)" (onRowUnselect)="verDetalleAdicional($event)">
|
|
1769
|
-
<ng-template pTemplate="header">
|
|
1770
|
-
<tr class="fondoTablaPincipal">
|
|
1771
|
-
<th>{{'nombre' | translate }}</th>
|
|
1772
|
-
<th>{{'orden' | translate }}</th>
|
|
1773
|
-
</tr>
|
|
1774
|
-
<th>
|
|
1775
|
-
</ng-template>
|
|
1776
|
-
<ng-template pTemplate="body" let-columnaadicional>
|
|
1777
|
-
<tr [pSelectableRow]="columnaadicional">
|
|
1778
|
-
<td>{{columnaadicional.nombre}}</td>
|
|
1779
|
-
<td>{{columnaadicional.orden}}</td>
|
|
1780
|
-
</tr>
|
|
1781
|
-
</ng-template>
|
|
1782
|
-
<ng-template pTemplate="emptymessage">
|
|
1783
|
-
<tr>
|
|
1784
|
-
<td colspan="100" class="p-3 font-medium emptymessage">{{'mensajetablavacia' | translate}}</td>
|
|
1785
|
-
</tr>
|
|
1786
|
-
</ng-template>
|
|
1787
|
-
</p-table>
|
|
1788
|
-
<p-fieldset class="fieldsintitulo" *ngIf="verNuevoColumnaAdicional">
|
|
1789
|
-
<div class="Detallereporte mt-2">
|
|
1790
|
-
<div class="p-fluid p-formgrid grid" >
|
|
1791
|
-
<div class="field col-12 md:col-3" >
|
|
1792
|
-
<p-floatLabel>
|
|
1793
|
-
<input pInputText type="text" [(ngModel)]="columnaAdicional.nombre" maxlength="100"
|
|
1794
|
-
[class.ng-dirty]="!utilsService.validarCampoObligatorio(columnaAdicional.nombre) && clickGuardarColumnaAdicional"
|
|
1795
|
-
[class.ng-invalid]="!utilsService.validarCampoObligatorio(columnaAdicional.nombre) && clickGuardarColumnaAdicional">
|
|
1796
|
-
<label>{{'alias' | translate}} *</label>
|
|
1797
|
-
</p-floatLabel>
|
|
1798
|
-
</div>
|
|
1799
|
-
|
|
1800
|
-
<div class="field col-12 md:col-3" >
|
|
1801
|
-
<p-floatLabel>
|
|
1802
|
-
<input pInputText [(ngModel)]="columnaAdicional.orden" maxlength="5"
|
|
1803
|
-
oninput="this.value = this.value.replace(/[^0-9]/g, '').slice(0, 5);"
|
|
1804
|
-
[class.ng-dirty]="!utilsService.validarCampoObligatorio(columnaAdicional.orden) && clickGuardarColumnaAdicional"
|
|
1805
|
-
[class.ng-invalid]="!utilsService.validarCampoObligatorio(columnaAdicional.orden) && clickGuardarColumnaAdicional" />
|
|
1806
|
-
<label>{{'orden' | translate}} *</label>
|
|
1807
|
-
</p-floatLabel>
|
|
1808
|
-
</div>
|
|
1809
|
-
|
|
1810
|
-
<div class="field col-12 md:col-3">
|
|
1811
|
-
<p-floatLabel>
|
|
1812
|
-
<p-dropdown [options]="listaOrdenamiento" [autoDisplayFirst]="false" appendTo="body"
|
|
1813
|
-
[(ngModel)]="columnaAdicional.orderBy" optionLabel="nombre" optionValue="codigo"
|
|
1814
|
-
[class.ng-dirty]="!utilsService.validarCampoObligatorio(columnaAdicional.orderBy) && clickGuardarColumnaAdicional"
|
|
1815
|
-
[class.ng-invalid]="!utilsService.validarCampoObligatorio(columnaAdicional.orderBy) && clickGuardarColumnaAdicional"></p-dropdown>
|
|
1816
|
-
<label>{{'ordenamiento' | translate }} *</label>
|
|
1817
|
-
</p-floatLabel>
|
|
1818
|
-
</div>
|
|
1819
|
-
|
|
1820
|
-
<div class="field col-12 md:col-3" >
|
|
1821
|
-
<p-floatLabel>
|
|
1822
|
-
<input pInputText [(ngModel)]="columnaAdicional.ordenConsulta" maxlength="5"
|
|
1823
|
-
oninput="this.value = this.value.replace(/[^0-9]/g, '').slice(0, 5);"
|
|
1824
|
-
[class.ng-dirty]="!utilsService.validarCampoObligatorio(columnaAdicional.ordenConsulta) && clickGuardarColumnaAdicional"
|
|
1825
|
-
[class.ng-invalid]="!utilsService.validarCampoObligatorio(columnaAdicional.ordenConsulta) && clickGuardarColumnaAdicional" />
|
|
1826
|
-
<label>{{'ordenconsulta' | translate}} *</label>
|
|
1827
|
-
</p-floatLabel>
|
|
1828
|
-
</div>
|
|
1829
|
-
|
|
1830
|
-
<div class="field col-12 md:col-12" >
|
|
1831
|
-
<p-floatLabel>
|
|
1832
|
-
<textarea class="w-full min-h-50 max-h-100" pInputTextarea [(ngModel)]="columnaAdicional.sintaxis" maxlength="4000"
|
|
1833
|
-
[class.ng-dirty]="!utilsService.validarCampoObligatorio(columnaAdicional.sintaxis) && clickGuardarColumnaAdicional"
|
|
1834
|
-
[class.ng-invalid]="!utilsService.validarCampoObligatorio(columnaAdicional.sintaxis) && clickGuardarColumnaAdicional"></textarea>
|
|
1835
|
-
<label>{{'sintaxis' | translate}} *</label>
|
|
1836
|
-
</p-floatLabel>
|
|
1837
|
-
</div>
|
|
1838
|
-
</div>
|
|
1839
|
-
<!--BOTONES-->
|
|
1840
|
-
<div class="flex justify-content-end mb-3" >
|
|
1841
|
-
<button pButton pRipple class="ml-2 p-button p-button-raised" icon="glyphicons {{columnaAdicional.llaveTabla ? 'glyphicons-refresh' : 'glyphicons-floppy-save'}}"
|
|
1842
|
-
label="{{columnaAdicional.llaveTabla ? ('link_actualizar' | translate) : ('link_guardar' | translate)}}" (click)="guardarColumnaAdicional()">
|
|
1843
|
-
</button>
|
|
1844
|
-
<button pButton pRipple class="ml-2 p-button-outlined" icon="glyphicons glyphicons-bin"
|
|
1845
|
-
*ngIf="columnaAdicional.llaveTabla != null" label="{{'link_eliminar' | translate}}"
|
|
1846
|
-
(click)="eliminarColumnaAdicional($event)">
|
|
1847
|
-
</button>
|
|
1848
|
-
</div>
|
|
1849
|
-
</div>
|
|
1850
|
-
</p-fieldset>
|
|
1851
|
-
</p-accordionTab>
|
|
1852
|
-
<p-accordionTab >
|
|
1853
|
-
<ng-template pTemplate="header"><i class="glyphicons glyphicons-notes"></i>
|
|
1854
|
-
{{'marcadores'|translate}}
|
|
1855
|
-
</ng-template>
|
|
1856
|
-
<div class="flex justify-content-end align-items-center mb-3">
|
|
1857
|
-
<button pButton pRipple class="p-button-secondary font-semibold" icon="pi pi-plus"
|
|
1858
|
-
(click)="nuevoMarcadorColumnario()" label="{{'link_nuevo' | translate}}" *ngIf="!verNuevoMarcadorColumnario">
|
|
1859
|
-
</button>
|
|
1860
|
-
<div class="flex justify-content-end mb-1" *ngIf="verNuevoMarcadorColumnario">
|
|
1861
|
-
<button pButton pRipple (click)="verNuevoMarcadorColumnario = false; clickGuardarMarcadorColumnario = false;" label= "{{'listado' | translate}} {{'marcador' | translate}}"
|
|
1862
|
-
icon="pi pi-chevron-left" class="p-button-text font-semibold flex-shrink-0 "></button>
|
|
1863
|
-
</div>
|
|
1864
|
-
</div>
|
|
1865
|
-
<p-table [value]="marcadoresColumnario" [scrollable]="true" responsiveLayout="scroll"
|
|
1866
|
-
dataKey="llaveTabla" selectionMode="single"
|
|
1867
|
-
[rows]="10" [totalRecords]="marcadoresColumnario.length"
|
|
1868
|
-
[paginator]="marcadoresColumnario.length > 10" *ngIf="!verNuevoMarcadorColumnario"
|
|
1869
|
-
(onRowSelect)="verDetalleMarcadorColumnario($event)" (onRowUnselect)="verDetalleMarcadorColumnario($event)">
|
|
1870
|
-
<ng-template pTemplate="header">
|
|
1871
|
-
<tr class="fondoTablaPincipal">
|
|
1872
|
-
<th>{{'nombre' | translate }}</th>
|
|
1873
|
-
<th>{{'tipomarcador' | translate }}</th>
|
|
1874
|
-
</tr>
|
|
1875
|
-
<th>
|
|
1876
|
-
</ng-template>
|
|
1877
|
-
<ng-template pTemplate="body" let-marcador>
|
|
1878
|
-
<tr [pSelectableRow]="marcador">
|
|
1879
|
-
<td>{{marcador.marcador}}</td>
|
|
1880
|
-
<td>{{marcador.tipo | reporteColumnarioPipe: 'listaTipoMarcador'}}</td>
|
|
1881
|
-
</tr>
|
|
1882
|
-
</ng-template>
|
|
1883
|
-
<ng-template pTemplate="emptymessage">
|
|
1884
|
-
<tr>
|
|
1885
|
-
<td colspan="100" class="p-3 font-medium emptymessage">{{'mensajetablavacia' | translate}}</td>
|
|
1886
|
-
</tr>
|
|
1887
|
-
</ng-template>
|
|
1888
|
-
</p-table>
|
|
1889
|
-
<div *ngIf="verNuevoMarcadorColumnario">
|
|
1890
|
-
<div class="Detallereporte mt-2">
|
|
1891
|
-
<div class="p-fluid p-formgrid grid" >
|
|
1892
|
-
<div class="field col-12 md:col-4" >
|
|
1893
|
-
<p-floatLabel>
|
|
1894
|
-
<input pInputText [(ngModel)]="marcadorColumnario.descripcion" maxlength="4000"
|
|
1895
|
-
[class.ng-dirty]="!utilsService.validarCampoObligatorio(marcadorColumnario.descripcion) && clickGuardarMarcadorColumnario"
|
|
1896
|
-
[class.ng-invalid]="!utilsService.validarCampoObligatorio(marcadorColumnario.descripcion) && clickGuardarMarcadorColumnario" />
|
|
1897
|
-
<label>{{'descripcion' | translate}} *</label>
|
|
1898
|
-
</p-floatLabel>
|
|
1899
|
-
</div>
|
|
1900
|
-
|
|
1901
|
-
<div class="field col-12 md:col-4" >
|
|
1902
|
-
<p-floatLabel>
|
|
1903
|
-
<input pInputText [(ngModel)]="marcadorColumnario.marcador" maxlength="50"
|
|
1904
|
-
[class.ng-dirty]="!utilsService.validarCampoObligatorio(marcadorColumnario.marcador) && clickGuardarMarcadorColumnario"
|
|
1905
|
-
[class.ng-invalid]="!utilsService.validarCampoObligatorio(marcadorColumnario.marcador) && clickGuardarMarcadorColumnario" />
|
|
1906
|
-
<label>{{'marcador' | translate}} *</label>
|
|
1907
|
-
</p-floatLabel>
|
|
1908
|
-
</div>
|
|
1909
|
-
|
|
1910
|
-
<div class="field col-12 md:col-4">
|
|
1911
|
-
<p-floatLabel>
|
|
1912
|
-
<p-dropdown [options]="listaTipoMarcadorColumnario" [autoDisplayFirst]="false" appendTo="body"
|
|
1913
|
-
[(ngModel)]="marcadorColumnario.tipo" optionLabel="nombre" optionValue="codigo"
|
|
1914
|
-
[class.ng-dirty]="!utilsService.validarCampoObligatorio(marcadorColumnario.tipo) && clickGuardarMarcadorColumnario"
|
|
1915
|
-
[class.ng-invalid]="!utilsService.validarCampoObligatorio(marcadorColumnario.tipo) && clickGuardarMarcadorColumnario"></p-dropdown>
|
|
1916
|
-
<label>{{'tipo' | translate }} *</label>
|
|
1917
|
-
</p-floatLabel>
|
|
1918
|
-
</div>
|
|
1919
|
-
|
|
1920
|
-
<div class="field col-12 md:col-12" >
|
|
1921
|
-
<p-floatLabel>
|
|
1922
|
-
<textarea class="w-full min-h-50 max-h-100" pInputTextarea [(ngModel)]="marcadorColumnario.textoRegistro" maxlength="4000"
|
|
1923
|
-
[class.ng-dirty]="!utilsService.validarCampoObligatorio(marcadorColumnario.textoRegistro) && clickGuardarMarcadorColumnario"
|
|
1924
|
-
[class.ng-invalid]="!utilsService.validarCampoObligatorio(marcadorColumnario.textoRegistro) && clickGuardarMarcadorColumnario"></textarea>
|
|
1925
|
-
<label>{{'valor' | translate}} *</label>
|
|
1926
|
-
</p-floatLabel>
|
|
1927
|
-
</div>
|
|
1928
|
-
</div>
|
|
1929
|
-
<!--BOTONES-->
|
|
1930
|
-
<div class="flex justify-content-end mb-3" >
|
|
1931
|
-
<button pButton pRipple class="ml-2 p-button p-button-raised" icon="glyphicons {{marcadorColumnario.llaveTabla ? 'glyphicons-refresh' : 'glyphicons-floppy-save'}}"
|
|
1932
|
-
label="{{marcadorColumnario.llaveTabla ? ('link_actualizar' | translate) : ('link_guardar' | translate)}}" (click)="guardarMarcadorColumnario()">
|
|
1933
|
-
</button>
|
|
1934
|
-
<button pButton pRipple class="ml-2 p-button-outlined" icon="glyphicons glyphicons-bin"
|
|
1935
|
-
*ngIf="marcadorColumnario.llaveTabla != null" label="{{'link_eliminar' | translate}}"
|
|
1936
|
-
(click)="eliminarMarcadorColumnario($event)">
|
|
1937
|
-
</button>
|
|
1938
|
-
</div>
|
|
1939
|
-
</div>
|
|
1940
|
-
</div>
|
|
1941
|
-
</p-accordionTab>
|
|
1942
|
-
</p-accordion>
|
|
1943
|
-
</p-tabPanel>
|
|
1944
|
-
<p-tabPanel header="{{'grafica' | translate }}">
|
|
1945
|
-
<div class="card col-md-12">
|
|
1946
|
-
<div class="Detallereporte mt-2">
|
|
1947
|
-
<div class="p-fluid p-formgrid grid">
|
|
1948
|
-
|
|
1949
|
-
<div class="field col-12 md:col-4">
|
|
1950
|
-
<p-floatLabel>
|
|
1951
|
-
<input pInputText type="text" [(ngModel)]="reporteFuente.codigo" size="25"
|
|
1952
|
-
maxlength="100">
|
|
1953
|
-
<label>{{'codigo' | translate }}</label>
|
|
1954
|
-
</p-floatLabel>
|
|
1955
|
-
</div>
|
|
1956
|
-
|
|
1957
|
-
<div class="field col-12 md:col-4">
|
|
1958
|
-
<p-floatLabel>
|
|
1959
|
-
<input pInputText type="text" [(ngModel)]="reporteFuente.tituloGrafico" size="25"
|
|
1960
|
-
maxlength="100">
|
|
1961
|
-
<label>{{'titulo' | translate }}</label>
|
|
1962
|
-
</p-floatLabel>
|
|
1963
|
-
</div>
|
|
1964
|
-
|
|
1965
|
-
<div class="field col-12 md:col-4">
|
|
1966
|
-
<p-floatLabel>
|
|
1967
|
-
<p-dropdown [options]="listaTipoGrafico" [autoDisplayFirst]="false" [showClear]="true"
|
|
1968
|
-
[(ngModel)]="reporteFuente.tipoGrafico" optionLabel="nombre"
|
|
1969
|
-
optionValue="codigo"></p-dropdown>
|
|
1970
|
-
<label>{{'tipo' | translate }}</label>
|
|
1971
|
-
</p-floatLabel>
|
|
1972
|
-
</div>
|
|
1973
|
-
</div>
|
|
1974
|
-
|
|
1975
|
-
<!--BOTONES-->
|
|
1976
|
-
<div class="flex justify-content-end mb-3" *ngIf="isSql()">
|
|
1977
|
-
<button pButton pRipple class="ml-2 p-button p-button-raised" icon="glyphicons glyphicons-refresh"
|
|
1978
|
-
label="{{'link_actualizar' | translate}}" (click)="guardarGrafico()">
|
|
1979
|
-
</button>
|
|
1980
|
-
<button pButton pRipple class="ml-2 p-button-outlined background-100" icon="pi pi-eye"
|
|
1981
|
-
label="{{'link_ver' | translate}}" (click)="verGrafico()">
|
|
1982
|
-
</button>
|
|
1983
|
-
</div>
|
|
1984
|
-
</div>
|
|
1985
|
-
</div>
|
|
1986
|
-
|
|
1987
|
-
<p-table [value]="paginadorColumnas" responsiveLayout="scroll" [scrollable]="true"
|
|
1988
|
-
[rows]="20" [totalRecords]="paginadorColumnas.length" [paginator]="paginadorColumnas.length > 20" >
|
|
1989
|
-
<ng-template pTemplate="header">
|
|
1990
|
-
|
|
1991
|
-
<tr class="fondoTablaPincipal">
|
|
1992
|
-
<th>{{'columna' | translate }}</th>
|
|
1993
|
-
<th>{{'sintaxis' | translate }}</th>
|
|
1994
|
-
<th>{{'tipo' | translate }}</th>
|
|
1995
|
-
<th>{{'accion' | translate }}</th>
|
|
1996
|
-
</tr>
|
|
1997
|
-
</ng-template>
|
|
1998
|
-
<ng-template pTemplate="body" let-bean>
|
|
1999
|
-
<tr [pSelectableRow]="bean">
|
|
2000
|
-
<td>{{bean.nombre}}</td>
|
|
2001
|
-
<td>{{bean.sintaxis}}</td>
|
|
2002
|
-
<td>{{bean.tipoDato | reporteFuentePipe : 'listaTipoDato'}}</td>
|
|
2003
|
-
<td>
|
|
2004
|
-
<p-dropdown [options]="listaGraficoSencillo" [autoDisplayFirst]="false" [showClear]="true"
|
|
2005
|
-
[(ngModel)]="bean.graficoFuente" optionLabel="nombre"
|
|
2006
|
-
optionValue="codigo"></p-dropdown>
|
|
2007
|
-
</td>
|
|
2008
|
-
</tr>
|
|
2009
|
-
</ng-template>
|
|
2010
|
-
<ng-template pTemplate="emptymessage">
|
|
2011
|
-
<tr>
|
|
2012
|
-
<td colspan="100" class="p-3 font-medium emptymessage">{{'mensajetablavacia' | translate}}</td>
|
|
2013
|
-
</tr>
|
|
2014
|
-
</ng-template>
|
|
2015
|
-
</p-table>
|
|
2016
|
-
|
|
2017
|
-
<div class="flex justify-content-between align-items-center mt-2 mb-2">
|
|
2018
|
-
<h1 class="text-xl">Colores</h1>
|
|
2019
|
-
<button pButton label="{{'link_nuevo' | translate}}" (click)="nuevoColorCategoria()" icon="pi pi-plus"
|
|
2020
|
-
[disabled]="habilitaCampo" class="p-ripple p-element p-button p-component p-button-secondary mb-2"></button>
|
|
2021
|
-
</div>
|
|
2022
|
-
<p-table [value]="paginadorColoresGrafica" responsiveLayout="scroll" styleClass="p-datatable-striped"
|
|
2023
|
-
[rows]="10" [totalRecords]="paginadorColoresGrafica.length"
|
|
2024
|
-
[paginator]="paginadorColoresGrafica.length > 10"
|
|
2025
|
-
[showCurrentPageReport]="true" currentPageReportTemplate="{first} al {last} de {totalRecords} registros"
|
|
2026
|
-
editMode="row" dataKey="llaveTabla">
|
|
2027
|
-
<ng-template pTemplate="header">
|
|
2028
|
-
<tr class="fondoTablaPincipal">
|
|
2029
|
-
<th style="width: 45%">{{'categoria' | translate}}</th>
|
|
2030
|
-
<th style="width: 45%">{{'color' | translate}}</th>
|
|
2031
|
-
<th style="width: 10%"> </th>
|
|
2032
|
-
</tr>
|
|
2033
|
-
<tr class="TablaNuevoRegistro" *ngIf="verColorCategoriaDetalle">
|
|
2034
|
-
<td style="width: 45%">
|
|
2035
|
-
<input pInputText type="text" [(ngModel)]="colorCategoria.titulo" style="width: -webkit-fill-available"
|
|
2036
|
-
[class.ng-dirty]="!utilsService.validarCampoObligatorio(colorCategoria.titulo) && clickGuardarColorCategoria"
|
|
2037
|
-
[class.ng-invalid]="!utilsService.validarCampoObligatorio(colorCategoria.titulo) && clickGuardarColorCategoria">
|
|
2038
|
-
</td>
|
|
2039
|
-
<td style="width: 45%">
|
|
2040
|
-
<div style="width: 100%">
|
|
2041
|
-
<p-colorPicker [(ngModel)]="colorCategoria.banda" appendTo="body"
|
|
2042
|
-
[class.ng-dirty]="!utilsService.validarCampoObligatorio(colorCategoria.banda) && clickGuardarColorCategoria"
|
|
2043
|
-
[class.ng-invalid]="!utilsService.validarCampoObligatorio(colorCategoria.banda) && clickGuardarColorCategoria" />
|
|
2044
|
-
</div>
|
|
2045
|
-
</td>
|
|
2046
|
-
<td style="width: 10%">
|
|
2047
|
-
<div class="flex justify-content-end">
|
|
2048
|
-
<button pButton pRipple type="button" icon="pi pi-check" (click)="agregarColorCategoria(colorCategoria)"
|
|
2049
|
-
class="p-element p-ripple p-button-rounded p-button-success mr-2 mb-2 p-button p-component p-button-icon-only"></button>
|
|
2050
|
-
<button pButton pRipple type="button" (click)="verColorCategoriaDetalle = false" icon="pi pi-times" (click)="cancelarColorCategoria()"
|
|
2051
|
-
class="p-element p-ripple p-button-rounded p-button-danger mr-2 mb-2 p-button p-component p-button-icon-only"></button>
|
|
2052
|
-
</div>
|
|
2053
|
-
</td>
|
|
2054
|
-
</tr>
|
|
2055
|
-
</ng-template>
|
|
2056
|
-
<ng-template pTemplate="body" let-color let-editing="editing" let-ri="rowIndex">
|
|
2057
|
-
<tr [pEditableRow]="color" style="width: 100%">
|
|
2058
|
-
<td style="width: 45%">
|
|
2059
|
-
<p-cellEditor>
|
|
2060
|
-
<ng-template pTemplate="input">
|
|
2061
|
-
<input pInputText type="text" [(ngModel)]="color.titulo" style="width: -webkit-fill-available"
|
|
2062
|
-
[class.ng-dirty]="!utilsService.validarCampoObligatorio(color.titulo) && clickGuardarColorCategoria"
|
|
2063
|
-
[class.ng-invalid]="!utilsService.validarCampoObligatorio(color.titulo) && clickGuardarColorCategoria">
|
|
2064
|
-
</ng-template>
|
|
2065
|
-
<ng-template pTemplate="output">
|
|
2066
|
-
{{color.titulo}}
|
|
2067
|
-
</ng-template>
|
|
2068
|
-
</p-cellEditor>
|
|
2069
|
-
</td>
|
|
2070
|
-
<td style="width: 45%">
|
|
2071
|
-
<p-cellEditor>
|
|
2072
|
-
<ng-template pTemplate="input">
|
|
2073
|
-
<div style="width: 100%">
|
|
2074
|
-
<p-colorPicker [(ngModel)]="color.banda" appendTo="body"
|
|
2075
|
-
[class.ng-dirty]="!utilsService.validarCampoObligatorio(color.banda) && clickGuardarColorCategoria"
|
|
2076
|
-
[class.ng-invalid]="!utilsService.validarCampoObligatorio(color.banda) && clickGuardarColorCategoria"/>
|
|
2077
|
-
</div>
|
|
2078
|
-
</ng-template>
|
|
2079
|
-
<ng-template pTemplate="output">
|
|
2080
|
-
<p-colorPicker [(ngModel)]="color.banda" [disabled]="true" />
|
|
2081
|
-
</ng-template>
|
|
2082
|
-
</p-cellEditor>
|
|
2083
|
-
</td>
|
|
2084
|
-
<td style="width: 10%">
|
|
2085
|
-
<div class="flex justify-content-end">
|
|
2086
|
-
<!-- CHECK GUARDAR -->
|
|
2087
|
-
<button *ngIf="editing" pButton pRipple type="button" pSaveEditableRow
|
|
2088
|
-
icon="pi pi-check" (click)="agregarColorCategoria(color)"
|
|
2089
|
-
class="p-element p-ripple p-button-rounded p-button-success mr-2 mb-2 p-button p-component p-button-icon-only"></button>
|
|
2090
|
-
<!-- CANCELAR -->
|
|
2091
|
-
<button *ngIf="editing" pButton pRipple type="button" pCancelEditableRow
|
|
2092
|
-
icon="pi pi-times" (click)="cancelarEdicionColor()"
|
|
2093
|
-
class="p-element p-ripple p-button-rounded p-button-danger mr-2 mb-2 p-button p-component p-button-icon-only"></button>
|
|
2094
|
-
<!-- EDITAR -->
|
|
2095
|
-
<button *ngIf="!editing" pButton pRipple type="button" pInitEditableRow
|
|
2096
|
-
icon="glyphicons glyphicons-pencil" [disabled]="habilitaCampo" (click)="iniciarEdicion()"
|
|
2097
|
-
class="p-element p-ripple p-button-rounded p-button-secondary mr-2 mb-2 p-button p-component p-button-icon-only"></button>
|
|
2098
|
-
<!-- ELIMINAR -->
|
|
2099
|
-
<button *ngIf="!editing" pButton pRipple type="button" pDeleteEditableRow
|
|
2100
|
-
icon="pi pi-trash" (click)="eliminarColorCategoria($event, color)" [disabled]="habilitaCampo"
|
|
2101
|
-
class="p-element p-ripple p-button-rounded p-button-outlined mr-2 mb-2 p-button p-component p-button-icon-only"></button>
|
|
2102
|
-
</div>
|
|
2103
|
-
</td>
|
|
2104
|
-
</tr>
|
|
2105
|
-
</ng-template>
|
|
2106
|
-
<ng-template pTemplate="emptymessage">
|
|
2107
|
-
<tr>
|
|
2108
|
-
<td colspan="100" class="p-3 font-medium emptymessage">{{'mensajetablavacia' | translate}}</td>
|
|
2109
|
-
</tr>
|
|
2110
|
-
</ng-template>
|
|
2111
|
-
</p-table>
|
|
2112
|
-
<div #divGrafica class="flex justify-content-between card mt-3" *ngIf="grafica">
|
|
2113
|
-
<h1 class="text-xl">{{'grafica' | translate}}</h1>
|
|
2114
|
-
<div style="width: 35%"></div>
|
|
2115
|
-
<div style="width: 30%">
|
|
2116
|
-
<p-chart [type]="tipoGrafica" [data]="grafica.datosGrafica.data" [options]="grafica.datosGrafica.options"></p-chart>
|
|
2117
|
-
</div>
|
|
2118
|
-
<div style="width: 35%"></div>
|
|
2119
|
-
</div>
|
|
2120
|
-
</p-tabPanel>
|
|
2121
|
-
</p-tabView>
|