general-library-union 2.9.19 → 2.9.21

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.
Files changed (648) hide show
  1. package/.browserslistrc +15 -0
  2. package/.editorconfig +16 -0
  3. package/.vscode/extensions.json +4 -0
  4. package/.vscode/launch.json +20 -0
  5. package/.vscode/tasks.json +42 -0
  6. package/angular.json +143 -0
  7. package/karma.conf.js +44 -0
  8. package/ng-package.json +21 -0
  9. package/package.json +73 -62
  10. package/{public-api.d.ts → public-api.ts} +201 -161
  11. package/src/app/app.component.html +12 -0
  12. package/src/app/app.component.scss +0 -0
  13. package/src/app/app.component.spec.ts +29 -0
  14. package/src/app/app.component.ts +34 -0
  15. package/src/app/app.config.ts +43 -0
  16. package/src/app/app.module.ts +10 -0
  17. package/src/app/app.routes.ts +88 -0
  18. package/src/app/core/componentes/breadcrumb/breadcrumb.component.html +6 -0
  19. package/src/app/core/componentes/breadcrumb/breadcrumb.component.scss +0 -0
  20. package/src/app/core/componentes/breadcrumb/breadcrumb.component.ts +39 -0
  21. package/src/app/core/componentes/carga-breadcrumb/carga-breadcrumb.component.html +1 -0
  22. package/src/app/core/componentes/carga-breadcrumb/carga-breadcrumb.component.scss +0 -0
  23. package/src/app/core/componentes/carga-breadcrumb/carga-breadcrumb.component.ts +31 -0
  24. package/src/app/core/componentes/carga-pantalla-completa/carga-pantalla-completa.component.html +9 -0
  25. package/src/app/core/componentes/carga-pantalla-completa/carga-pantalla-completa.component.scss +28 -0
  26. package/src/app/core/componentes/carga-pantalla-completa/carga-pantalla-completa.component.ts +32 -0
  27. package/src/app/core/componentes/filtro-general/filtro-general.component.html +34 -0
  28. package/src/app/core/componentes/filtro-general/filtro-general.component.scss +3 -0
  29. package/src/app/core/componentes/filtro-general/filtro-general.component.ts +202 -0
  30. package/src/app/core/componentes/footer/footer.component.html +13 -0
  31. package/src/app/core/componentes/footer/footer.component.scss +3 -0
  32. package/src/app/core/componentes/footer/footer.component.ts +20 -0
  33. package/src/app/core/componentes/formulariodinamico/formulariodinamico.component.html +267 -0
  34. package/src/app/core/componentes/formulariodinamico/formulariodinamico.component.scss +21 -0
  35. package/src/app/core/componentes/formulariodinamico/formulariodinamico.component.ts +275 -0
  36. package/src/app/core/componentes/formulariodinamico/objetosformulario/{Cambio.d.ts → Cambio.ts} +13 -7
  37. package/src/app/core/componentes/formulariodinamico/objetosformulario/CampoFormulario.ts +118 -0
  38. package/src/app/core/componentes/formulariodinamico/objetosformulario/CampoFormularioCons.ts +76 -0
  39. package/src/app/core/componentes/formulariodinamico/objetosformulario/CampoFormularioNuevo.ts +67 -0
  40. package/src/app/core/componentes/formulariodinamico/objetosformulario/HashDirective.ts +11 -0
  41. package/src/app/core/componentes/inicio-component/inicio-component.component.html +29 -0
  42. package/src/app/core/componentes/inicio-component/inicio-component.component.scss +69 -0
  43. package/src/app/core/componentes/inicio-component/inicio-component.component.ts +65 -0
  44. package/src/app/core/componentes/menu/menu.component.html +13 -0
  45. package/src/app/core/componentes/menu/menu.component.scss +36 -0
  46. package/src/app/core/componentes/menu/menu.component.ts +35 -0
  47. package/src/app/core/componentes/tabla-general/tabla-general.component.html +90 -0
  48. package/src/app/core/componentes/tabla-general/tabla-general.component.scss +0 -0
  49. package/src/app/core/componentes/tabla-general/tabla-general.component.ts +96 -0
  50. package/src/app/core/core.module.ts +22 -0
  51. package/src/app/core/errores/authentication.error.ts +6 -0
  52. package/src/app/core/modelos/error-response.model.ts +9 -0
  53. package/src/app/core/modelos/table-column.model.ts +10 -0
  54. package/src/app/core/modelos/user.model.ts +6 -0
  55. package/src/app/core/plantilla-general/plantilla-general.template.html +139 -0
  56. package/src/app/core/plantilla-general/plantilla-general.template.scss +37 -0
  57. package/src/app/core/plantilla-general/plantilla-general.template.ts +233 -0
  58. package/src/app/core/servicios/auth.service.ts +189 -0
  59. package/src/app/core/servicios/cargar-control-funcionalidad.service.ts +49 -0
  60. package/src/app/core/servicios/data-exporter-table.utils.ts +78 -0
  61. package/src/app/core/servicios/error-interceptor.service.ts +208 -0
  62. package/src/app/core/servicios/guardias/auth.guard.ts +51 -0
  63. package/src/app/core/servicios/guardias/publico.guard.ts +26 -0
  64. package/src/app/core/servicios/interceptores/loading-interceptor.ts +37 -0
  65. package/src/app/core/servicios/interceptores/token-interceptor.service.ts +177 -0
  66. package/src/app/core/servicios/loading.service.ts +48 -0
  67. package/src/app/core/servicios/menu.service.ts +153 -0
  68. package/src/app/core/servicios/spinner-service.ts +18 -0
  69. package/src/app/core/servicios/storage.service.ts +68 -0
  70. package/src/app/core/servicios/template.service.ts +91 -0
  71. package/src/app/core/servicios/toast.service.ts +114 -0
  72. package/src/app/core/servicios/utils.service.ts +362 -0
  73. package/src/app/core/sharedlib.module.ts +11 -0
  74. package/src/app/core/utilidades/color.util.ts +197 -0
  75. package/src/app/layout/api/{menuchangeevent.d.ts → menuchangeevent.ts} +4 -4
  76. package/src/app/layout/app.breadcrumb.component.html +20 -0
  77. package/src/app/layout/app.breadcrumb.component.ts +78 -0
  78. package/src/app/layout/app.footer.component.html +18 -0
  79. package/src/app/layout/app.footer.component.ts +15 -0
  80. package/src/app/layout/app.layout.component.html +20 -0
  81. package/src/app/layout/app.layout.component.ts +201 -0
  82. package/src/app/layout/app.layout.module.ts +9 -0
  83. package/src/app/layout/app.menu.component.html +6 -0
  84. package/src/app/layout/app.menu.component.ts +51 -0
  85. package/src/app/layout/app.menu.service.ts +23 -0
  86. package/src/app/layout/app.menuitem.component.ts +252 -0
  87. package/src/app/layout/app.menuprofile.component.html +35 -0
  88. package/src/app/layout/app.menuprofile.component.ts +60 -0
  89. package/src/app/layout/app.rightmenu.component.html +72 -0
  90. package/src/app/layout/app.rightmenu.component.ts +24 -0
  91. package/src/app/layout/app.sidebar.component.html +40 -0
  92. package/src/app/layout/app.sidebar.component.ts +81 -0
  93. package/src/app/layout/app.topbar.component.html +214 -0
  94. package/src/app/layout/app.topbar.component.ts +335 -0
  95. package/src/app/layout/config/app.config.component.html +125 -0
  96. package/src/app/layout/config/app.config.component.ts +206 -0
  97. package/src/app/layout/config/app.config.module.ts +11 -0
  98. package/src/app/layout/service/app.layout.service.ts +191 -0
  99. package/src/app/publico/pages/login/login.page.html +53 -0
  100. package/src/app/publico/pages/login/login.page.scss +166 -0
  101. package/src/app/publico/pages/login/login.page.ts +128 -0
  102. package/src/app/publico/pages/not-found/not-found.page.html +35 -0
  103. package/src/app/publico/pages/not-found/not-found.page.scss +2 -0
  104. package/src/app/publico/pages/not-found/not-found.page.ts +46 -0
  105. package/src/app/publico/pages/seleccion-rol/seleccion-rol.component.html +58 -0
  106. package/src/app/publico/pages/seleccion-rol/seleccion-rol.component.scss +49 -0
  107. package/src/app/publico/pages/seleccion-rol/seleccion-rol.component.ts +176 -0
  108. package/src/app/publico/pages/timeout/timeout.page.html +24 -0
  109. package/src/app/publico/pages/timeout/timeout.page.scss +2 -0
  110. package/src/app/publico/pages/timeout/timeout.page.ts +18 -0
  111. package/src/app/seguridad/constantes/ConstantesGenerales.ts +30 -0
  112. package/src/app/seguridad/constantes/ReporteEntradaConstantes.ts +18 -0
  113. package/src/app/seguridad/constantes/ReporteFuenteConstantes.ts +13 -0
  114. package/src/app/seguridad/modelos/AplicacionModel.ts +11 -0
  115. package/src/app/seguridad/modelos/ArchivoPortalModel.ts +16 -0
  116. package/src/app/seguridad/modelos/AtributoPuntoModel.ts +9 -0
  117. package/src/app/seguridad/modelos/AtributoSSOportalModel.ts +22 -0
  118. package/src/app/seguridad/modelos/{AuditoriaArchivoModel.d.ts → AuditoriaArchivoModel.ts} +13 -10
  119. package/src/app/seguridad/modelos/CargueLineaModel.ts +17 -0
  120. package/src/app/seguridad/modelos/ColoresRGB.ts +17 -0
  121. package/src/app/seguridad/modelos/ColumnaFuenteModel.ts +9 -0
  122. package/src/app/seguridad/modelos/{ColumnaWraperModel.d.ts → ColumnaWraperModel.ts} +7 -6
  123. package/src/app/seguridad/modelos/ComplementoModel.ts +10 -0
  124. package/src/app/seguridad/modelos/ComponentePaginaModel.ts +22 -0
  125. package/src/app/seguridad/modelos/ConexionModel.ts +15 -0
  126. package/src/app/seguridad/modelos/{ContenidoHtmlPortalModel.d.ts → ContenidoHtmlPortalModel.ts} +25 -20
  127. package/src/app/seguridad/modelos/ControlFuncionModel.ts +10 -0
  128. package/src/app/seguridad/modelos/CorreoModel.ts +45 -0
  129. package/src/app/seguridad/modelos/CorreoWSModel.ts +49 -0
  130. package/src/app/seguridad/modelos/CruceRecursoPuntoModel.ts +14 -0
  131. package/src/app/seguridad/modelos/{DatoInicioModel.d.ts → DatoInicioModel.ts} +7 -6
  132. package/src/app/seguridad/modelos/{EjecucionReporteDataModel.d.ts → EjecucionReporteDataModel.ts} +21 -20
  133. package/src/app/seguridad/modelos/EmpresaModel.ts +25 -0
  134. package/src/app/seguridad/modelos/EmpresaSeguridadModel.ts +19 -0
  135. package/src/app/seguridad/modelos/{EntradaComplementoModel.d.ts → EntradaComplementoModel.ts} +9 -6
  136. package/src/app/seguridad/modelos/EtiquetaModel.ts +4 -0
  137. package/src/app/seguridad/modelos/Etiquetas.ts +14 -0
  138. package/src/app/seguridad/modelos/{ForeingWraperModel.d.ts → ForeingWraperModel.ts} +9 -6
  139. package/src/app/seguridad/modelos/FuenteCampoAtributoModel.ts +21 -0
  140. package/src/app/seguridad/modelos/{FuenteCampoModel.d.ts → FuenteCampoModel.ts} +20 -16
  141. package/src/app/seguridad/modelos/FuenteDato.ts +19 -0
  142. package/src/app/seguridad/modelos/FuenteEntradaModel.ts +9 -0
  143. package/src/app/seguridad/modelos/{FuenteGeneralModel.d.ts → FuenteGeneralModel.ts} +55 -36
  144. package/src/app/seguridad/modelos/FuenteLineaServicioModel.ts +19 -0
  145. package/src/app/seguridad/modelos/FuenteProcesoGeneralModel.ts +14 -0
  146. package/src/app/seguridad/modelos/{FuenteServicioModel.d.ts → FuenteServicioModel.ts} +61 -47
  147. package/src/app/seguridad/modelos/FuncionalidadModel.ts +12 -0
  148. package/src/app/seguridad/modelos/GeneralModel.ts +16 -0
  149. package/src/app/seguridad/modelos/{GrupoAccesoModel.d.ts → GrupoAccesoModel.ts} +9 -6
  150. package/src/app/seguridad/modelos/GrupoControlFuncionModel.ts +12 -0
  151. package/src/app/seguridad/modelos/GrupoFuenteModel.ts +17 -0
  152. package/src/app/seguridad/modelos/GrupoPermisoModel.ts +16 -0
  153. package/src/app/seguridad/modelos/{JoinFromModel.d.ts → JoinFromModel.ts} +4 -4
  154. package/src/app/seguridad/modelos/ListaServicioModel.ts +18 -0
  155. package/src/app/seguridad/modelos/LlaveForaneaModel.ts +6 -0
  156. package/src/app/seguridad/modelos/LoginModel.ts +19 -0
  157. package/src/app/seguridad/modelos/MensajeSistemaModel.ts +10 -0
  158. package/src/app/seguridad/modelos/{MenuPortalModel.d.ts → MenuPortalModel.ts} +5 -4
  159. package/src/app/seguridad/modelos/ModulosModel.ts +17 -0
  160. package/src/app/seguridad/modelos/{ObjetoReporteModel.d.ts → ObjetoReporteModel.ts} +6 -5
  161. package/src/app/seguridad/modelos/PaginaPortalModel.ts +23 -0
  162. package/src/app/seguridad/modelos/ParametroComponenteModel.ts +9 -0
  163. package/src/app/seguridad/modelos/ParametrosGeneralModel.ts +16 -0
  164. package/src/app/seguridad/modelos/PermisoFuncionModel.ts +11 -0
  165. package/src/app/seguridad/modelos/PermisocontenidoModel.ts +20 -0
  166. package/src/app/seguridad/modelos/{PeticionModel.d.ts → PeticionModel.ts} +20 -15
  167. package/src/app/seguridad/modelos/PreguntaSeguridadModel.ts +9 -0
  168. package/src/app/seguridad/modelos/PropiedadModel.ts +12 -0
  169. package/src/app/seguridad/modelos/PublicacionWebModel.ts +29 -0
  170. package/src/app/seguridad/modelos/PuntoProcesoModel.ts +7 -0
  171. package/src/app/seguridad/modelos/RecursoPunto.ts +13 -0
  172. package/src/app/seguridad/modelos/RecursoPuntoModel.ts +13 -0
  173. package/src/app/seguridad/modelos/ReporteBanda.ts +9 -0
  174. package/src/app/seguridad/modelos/ReporteColumna.ts +33 -0
  175. package/src/app/seguridad/modelos/ReporteColumnario.ts +82 -0
  176. package/src/app/seguridad/modelos/ReporteColumnarioMarcador.ts +31 -0
  177. package/src/app/seguridad/modelos/{ReporteEntradaModel.d.ts → ReporteEntradaModel.ts} +21 -19
  178. package/src/app/seguridad/modelos/{ReporteFuenteModel.d.ts → ReporteFuenteModel.ts} +141 -87
  179. package/src/app/seguridad/modelos/ReporteMarcador.ts +40 -0
  180. package/src/app/seguridad/modelos/ReporteSoporte.ts +10 -0
  181. package/src/app/seguridad/modelos/ReporteTabla.ts +14 -0
  182. package/src/app/seguridad/modelos/RespuestaModel.ts +10 -0
  183. package/src/app/seguridad/modelos/{RolModel.d.ts → RolModel.ts} +41 -37
  184. package/src/app/seguridad/modelos/ServidorCorreoModel.ts +31 -0
  185. package/src/app/seguridad/modelos/SistemaMensajeModel.ts +11 -0
  186. package/src/app/seguridad/modelos/SitioPortalModel.ts +29 -0
  187. package/src/app/seguridad/modelos/TablaFromModel.ts +5 -0
  188. package/src/app/seguridad/modelos/TareasModel.ts +54 -0
  189. package/src/app/seguridad/modelos/TextoModel.ts +11 -0
  190. package/src/app/seguridad/modelos/TipoEtiqueta.ts +8 -0
  191. package/src/app/seguridad/modelos/UnionModel.ts +14 -0
  192. package/src/app/seguridad/modelos/{UsuarioModel.d.ts → UsuarioModel.ts} +60 -49
  193. package/src/app/seguridad/modelos/UsuariogrupoModel.ts +27 -0
  194. package/src/app/seguridad/modelos/aplicacion-propiedad-model.ts +16 -0
  195. package/src/app/seguridad/modelos/contenidoCorreoModel.ts +13 -0
  196. package/src/app/shared/componentes/input-helper-seleccion-plantilla/input-helper-seleccion-plantilla.component.html +47 -0
  197. package/src/app/shared/componentes/input-helper-seleccion-plantilla/input-helper-seleccion-plantilla.component.scss +8 -0
  198. package/src/app/shared/componentes/input-helper-seleccion-plantilla/input-helper-seleccion-plantilla.component.ts +144 -0
  199. package/src/app/shared/servicios/cargar-archivos.service.ts +51 -0
  200. package/src/app/shared/servicios/cargar-mapas.service.ts +43 -0
  201. package/src/app/shared/servicios/encriptado-basico.service.ts +54 -0
  202. package/src/app/shared/servicios/encriptador-simetrico.service.ts +29 -0
  203. package/src/app/shared/servicios/general.service.ts +124 -0
  204. package/src/app/shared/servicios/parametros-navegacion.service.ts +20 -0
  205. package/src/app/shared/servicios/plantillas.service.ts +22 -0
  206. package/src/app/shared/servicios/tarea.service.ts +71 -0
  207. package/src/app/shared/utilidades/translate-loader.util.ts +44 -0
  208. package/src/app/webcommon/pages/cargue-plantilla/cargue-plantilla-general/cargue-plantilla-general.component.html +167 -0
  209. package/src/app/webcommon/pages/cargue-plantilla/cargue-plantilla-general/cargue-plantilla-general.component.scss +11 -0
  210. package/src/app/webcommon/pages/cargue-plantilla/cargue-plantilla-general/cargue-plantilla-general.component.ts +425 -0
  211. package/src/app/webcommon/pages/ejecucion-reporte/detalle-campo-reporte/detalle-campo-reporte.component.html +87 -0
  212. package/src/app/webcommon/pages/ejecucion-reporte/detalle-campo-reporte/detalle-campo-reporte.component.scss +0 -0
  213. package/src/app/webcommon/pages/ejecucion-reporte/detalle-campo-reporte/detalle-campo-reporte.component.ts +189 -0
  214. package/src/app/webcommon/pages/ejecucion-reporte/detalle-distribucion-reporte/detalle-distribucion-reporte.component.html +117 -0
  215. package/src/app/webcommon/pages/ejecucion-reporte/detalle-distribucion-reporte/detalle-distribucion-reporte.component.scss +0 -0
  216. package/src/app/webcommon/pages/ejecucion-reporte/detalle-distribucion-reporte/detalle-distribucion-reporte.component.ts +87 -0
  217. package/src/app/webcommon/pages/ejecucion-reporte/detalle-ejecucion-reporte/detalle-ejecucion-reporte.page.html +158 -0
  218. package/src/app/webcommon/pages/ejecucion-reporte/detalle-ejecucion-reporte/detalle-ejecucion-reporte.page.scss +6 -0
  219. package/src/app/webcommon/pages/ejecucion-reporte/detalle-ejecucion-reporte/detalle-ejecucion-reporte.page.ts +345 -0
  220. package/src/app/webcommon/pages/ejecucion-reporte/detalle-entrada-reporte/detalle-entrada-reporte.component.html +131 -0
  221. package/src/app/webcommon/pages/ejecucion-reporte/detalle-entrada-reporte/detalle-entrada-reporte.component.scss +0 -0
  222. package/src/app/webcommon/pages/ejecucion-reporte/detalle-entrada-reporte/detalle-entrada-reporte.component.ts +198 -0
  223. package/src/app/webcommon/pages/ejecucion-reporte/detalle-punto-proceso-reporte/detalle-punto-proceso-reporte.component.html +206 -0
  224. package/src/app/webcommon/pages/ejecucion-reporte/detalle-punto-proceso-reporte/detalle-punto-proceso-reporte.component.scss +3 -0
  225. package/src/app/webcommon/pages/ejecucion-reporte/detalle-punto-proceso-reporte/detalle-punto-proceso-reporte.component.ts +329 -0
  226. package/src/app/webcommon/pages/ejecucion-reporte/detalle-tipo-reporte/detalle-tipo-reporte.component.html +2114 -0
  227. package/src/app/webcommon/pages/ejecucion-reporte/detalle-tipo-reporte/detalle-tipo-reporte.component.scss +241 -0
  228. package/src/app/webcommon/pages/ejecucion-reporte/detalle-tipo-reporte/detalle-tipo-reporte.component.ts +1677 -0
  229. package/src/app/webcommon/pages/ejecucion-reporte/listado-ejecucion-reporte/listado-ejecucion-reporte.page.html +33 -0
  230. package/src/app/webcommon/pages/ejecucion-reporte/listado-ejecucion-reporte/listado-ejecucion-reporte.page.scss +0 -0
  231. package/src/app/webcommon/pages/ejecucion-reporte/listado-ejecucion-reporte/listado-ejecucion-reporte.page.ts +96 -0
  232. package/src/app/webcommon/pages/ejecucion-reporte-externo/listado-ejecucion-reporte-externo/listado-ejecucion-reporte-externo.component.html +54 -0
  233. package/src/app/webcommon/pages/ejecucion-reporte-externo/listado-ejecucion-reporte-externo/listado-ejecucion-reporte-externo.component.scss +0 -0
  234. package/src/app/webcommon/pages/ejecucion-reporte-externo/listado-ejecucion-reporte-externo/listado-ejecucion-reporte-externo.component.ts +111 -0
  235. package/src/app/webcommon/pages/fuente/importar-fuente-con/importar-fuente-con.component.html +394 -0
  236. package/src/app/webcommon/pages/fuente/importar-fuente-con/importar-fuente-con.component.scss +10 -0
  237. package/src/app/webcommon/pages/fuente/importar-fuente-con/importar-fuente-con.component.ts +599 -0
  238. package/src/app/webcommon/pages/fuente/importar-fuente-general/importar-fuente-general.component.html +130 -0
  239. package/src/app/webcommon/pages/fuente/importar-fuente-general/importar-fuente-general.component.scss +0 -0
  240. package/src/app/webcommon/pages/fuente/importar-fuente-general/importar-fuente-general.component.ts +172 -0
  241. package/src/app/webcommon/pages/fuente-reporte/fuente-reporte.component.html +376 -0
  242. package/src/app/webcommon/pages/fuente-reporte/fuente-reporte.component.scss +5 -0
  243. package/src/app/webcommon/pages/fuente-reporte/fuente-reporte.component.ts +749 -0
  244. package/src/app/webcommon/pages/fuenteGeneral/fuente-general-servicio/fuente-general-servicio.component.html +145 -0
  245. package/src/app/webcommon/pages/fuenteGeneral/fuente-general-servicio/fuente-general-servicio.component.scss +0 -0
  246. package/src/app/webcommon/pages/fuenteGeneral/fuente-general-servicio/fuente-general-servicio.component.ts +302 -0
  247. package/src/app/webcommon/pages/fuenteGeneral/listado-fuente-general/listado-fuente-general.page.html +19 -0
  248. package/src/app/webcommon/pages/fuenteGeneral/listado-fuente-general/listado-fuente-general.page.scss +0 -0
  249. package/src/app/webcommon/pages/fuenteGeneral/listado-fuente-general/listado-fuente-general.page.ts +89 -0
  250. package/src/app/webcommon/pages/fuenteGeneral/mantenimiento-fuente-general/mantenimiento-fuente-general.page.html +714 -0
  251. package/src/app/webcommon/pages/fuenteGeneral/mantenimiento-fuente-general/mantenimiento-fuente-general.page.scss +0 -0
  252. package/src/app/webcommon/pages/fuenteGeneral/mantenimiento-fuente-general/mantenimiento-fuente-general.page.ts +688 -0
  253. package/src/app/webcommon/pipes/dashboard.pipe.ts +79 -0
  254. package/src/app/webcommon/pipes/fuente.pipe.ts +207 -0
  255. package/src/app/webcommon/pipes/general.pipe.ts +1043 -0
  256. package/src/app/webcommon/pipes/reporte-columnario.pipe.ts +101 -0
  257. package/src/app/webcommon/pipes/reporte-fuente.pipe.ts +306 -0
  258. package/src/app/webcommon/pipes/sara-general.pipe.ts +289 -0
  259. package/src/app/webcommon/popups/popup-campos-fuente-general/popup-campos-fuente-general.component.html +90 -0
  260. package/src/app/webcommon/popups/popup-campos-fuente-general/popup-campos-fuente-general.component.scss +0 -0
  261. package/src/app/webcommon/popups/popup-campos-fuente-general/popup-campos-fuente-general.component.ts +262 -0
  262. package/src/app/webcommon/popups/popup-convertir-plantillas/popup-convertir-plantillas.component.html +50 -0
  263. package/src/app/webcommon/popups/popup-convertir-plantillas/popup-convertir-plantillas.component.scss +0 -0
  264. package/src/app/webcommon/popups/popup-convertir-plantillas/popup-convertir-plantillas.component.ts +135 -0
  265. package/src/app/webcommon/popups/popup-punto-proceso/popup-punto-proceso.component.html +41 -0
  266. package/src/app/webcommon/popups/popup-punto-proceso/popup-punto-proceso.component.scss +0 -0
  267. package/src/app/webcommon/popups/popup-punto-proceso/popup-punto-proceso.component.ts +283 -0
  268. package/src/app/webcommon/popups/popup-recurso/popup-recurso.component.html +179 -0
  269. package/src/app/webcommon/popups/popup-recurso/popup-recurso.component.scss +3 -0
  270. package/src/app/webcommon/popups/popup-recurso/popup-recurso.component.ts +266 -0
  271. package/src/app/webcommon/popups/popup-reporte/popup-reporte.component.html +261 -0
  272. package/src/app/webcommon/popups/popup-reporte/popup-reporte.component.scss +13 -0
  273. package/src/app/webcommon/popups/popup-reporte/popup-reporte.component.ts +519 -0
  274. package/src/app/webcommon/popups/popup-sentencia/popup-sentencia.component.html +10 -0
  275. package/src/app/webcommon/popups/popup-sentencia/popup-sentencia.component.scss +5 -0
  276. package/src/app/webcommon/popups/popup-sentencia/popup-sentencia.component.ts +58 -0
  277. package/src/app/webcommon/popups/popup-tablas-fuente/popup-tablas-fuente.component.html +71 -0
  278. package/src/app/webcommon/popups/popup-tablas-fuente/popup-tablas-fuente.component.scss +0 -0
  279. package/src/app/webcommon/popups/popup-tablas-fuente/popup-tablas-fuente.component.ts +151 -0
  280. package/src/app/webcommon/popups/punto-proceso-comp/punto-proceso-comp.component.html +11 -0
  281. package/src/app/webcommon/popups/punto-proceso-comp/punto-proceso-comp.component.scss +0 -0
  282. package/src/app/webcommon/popups/punto-proceso-comp/punto-proceso-comp.component.ts +82 -0
  283. package/src/app/webcommon/services/carguelinea.service.ts +72 -0
  284. package/src/app/webcommon/services/dashboard.service.ts +258 -0
  285. package/src/app/webcommon/services/ejecucionreporte.service.ts +160 -0
  286. package/src/app/webcommon/services/fechaUtils.service.ts +117 -0
  287. package/src/app/webcommon/services/fuentegeneral.service.ts +74 -0
  288. package/src/app/webcommon/services/homologacion.service.ts +49 -0
  289. package/src/app/webcommon/services/plantillas.service.ts +165 -0
  290. package/src/app/webcommon/services/reportes.service.ts +133 -0
  291. package/src/app/webcommon/webcommon.module.ts +11 -0
  292. package/src/environments/environment.prod.ts +3 -0
  293. package/src/environments/environment.ts +25 -0
  294. package/src/favicon.ico +0 -0
  295. package/src/index.html +14 -0
  296. package/src/main.ts +12 -0
  297. package/src/polyfills.ts +53 -0
  298. package/src/styles/primeng/sass/overrides/_theme_styles_dark.scss +1 -5
  299. package/src/test.ts +14 -0
  300. package/tsconfig.app.json +15 -0
  301. package/tsconfig.json +35 -0
  302. package/tsconfig.spec.json +18 -0
  303. package/esm2022/general-library-union.mjs +0 -5
  304. package/esm2022/public-api.mjs +0 -180
  305. package/esm2022/src/app/core/componentes/breadcrumb/breadcrumb.component.mjs +0 -40
  306. package/esm2022/src/app/core/componentes/carga-pantalla-completa/carga-pantalla-completa.component.mjs +0 -28
  307. package/esm2022/src/app/core/componentes/filtro-general/filtro-general.component.mjs +0 -194
  308. package/esm2022/src/app/core/componentes/footer/footer.component.mjs +0 -16
  309. package/esm2022/src/app/core/componentes/formulariodinamico/formulariodinamico.component.mjs +0 -272
  310. package/esm2022/src/app/core/componentes/formulariodinamico/objetosformulario/Cambio.mjs +0 -11
  311. package/esm2022/src/app/core/componentes/formulariodinamico/objetosformulario/CampoFormulario.mjs +0 -124
  312. package/esm2022/src/app/core/componentes/formulariodinamico/objetosformulario/CampoFormularioCons.mjs +0 -73
  313. package/esm2022/src/app/core/componentes/formulariodinamico/objetosformulario/CampoFormularioNuevo.mjs +0 -59
  314. package/esm2022/src/app/core/componentes/formulariodinamico/objetosformulario/HashDirective.mjs +0 -21
  315. package/esm2022/src/app/core/componentes/inicio-component/inicio-component.component.mjs +0 -67
  316. package/esm2022/src/app/core/componentes/menu/menu.component.mjs +0 -37
  317. package/esm2022/src/app/core/componentes/tabla-general/tabla-general.component.mjs +0 -93
  318. package/esm2022/src/app/core/core.module.mjs +0 -23
  319. package/esm2022/src/app/core/errores/authentication.error.mjs +0 -7
  320. package/esm2022/src/app/core/modelos/error-response.model.mjs +0 -2
  321. package/esm2022/src/app/core/modelos/table-column.model.mjs +0 -2
  322. package/esm2022/src/app/core/modelos/user.model.mjs +0 -7
  323. package/esm2022/src/app/core/plantilla-general/plantilla-general.template.mjs +0 -230
  324. package/esm2022/src/app/core/servicios/auth.service.mjs +0 -185
  325. package/esm2022/src/app/core/servicios/cargar-control-funcionalidad.service.mjs +0 -57
  326. package/esm2022/src/app/core/servicios/data-exporter-table.utils.mjs +0 -64
  327. package/esm2022/src/app/core/servicios/error-interceptor.service.mjs +0 -214
  328. package/esm2022/src/app/core/servicios/guardias/auth.guard.mjs +0 -66
  329. package/esm2022/src/app/core/servicios/guardias/publico.guard.mjs +0 -35
  330. package/esm2022/src/app/core/servicios/interceptores/loading-interceptor.mjs +0 -37
  331. package/esm2022/src/app/core/servicios/interceptores/token-interceptor.service.mjs +0 -180
  332. package/esm2022/src/app/core/servicios/loading.service.mjs +0 -43
  333. package/esm2022/src/app/core/servicios/menu.service.mjs +0 -146
  334. package/esm2022/src/app/core/servicios/spinner-service.mjs +0 -22
  335. package/esm2022/src/app/core/servicios/storage.service.mjs +0 -68
  336. package/esm2022/src/app/core/servicios/template.service.mjs +0 -99
  337. package/esm2022/src/app/core/servicios/toast.service.mjs +0 -120
  338. package/esm2022/src/app/core/servicios/utils.service.mjs +0 -335
  339. package/esm2022/src/app/core/sharedlib.module.mjs +0 -16
  340. package/esm2022/src/app/core/utilidades/color.util.mjs +0 -177
  341. package/esm2022/src/app/layout/api/menuchangeevent.mjs +0 -2
  342. package/esm2022/src/app/layout/app.breadcrumb.component.mjs +0 -71
  343. package/esm2022/src/app/layout/app.footer.component.mjs +0 -18
  344. package/esm2022/src/app/layout/app.layout.component.mjs +0 -188
  345. package/esm2022/src/app/layout/app.layout.module.mjs +0 -15
  346. package/esm2022/src/app/layout/app.menu.component.mjs +0 -51
  347. package/esm2022/src/app/layout/app.menu.service.mjs +0 -24
  348. package/esm2022/src/app/layout/app.menuitem.component.mjs +0 -296
  349. package/esm2022/src/app/layout/app.menuprofile.component.mjs +0 -78
  350. package/esm2022/src/app/layout/app.rightmenu.component.mjs +0 -24
  351. package/esm2022/src/app/layout/app.sidebar.component.mjs +0 -92
  352. package/esm2022/src/app/layout/app.topbar.component.mjs +0 -345
  353. package/esm2022/src/app/layout/service/app.layout.service.mjs +0 -134
  354. package/esm2022/src/app/publico/pages/login/login.page.mjs +0 -129
  355. package/esm2022/src/app/publico/pages/not-found/not-found.page.mjs +0 -51
  356. package/esm2022/src/app/publico/pages/seleccion-rol/seleccion-rol.component.mjs +0 -167
  357. package/esm2022/src/app/publico/pages/timeout/timeout.page.mjs +0 -20
  358. package/esm2022/src/app/seguridad/constantes/ConstantesGenerales.mjs +0 -30
  359. package/esm2022/src/app/seguridad/constantes/ReporteEntradaConstantes.mjs +0 -19
  360. package/esm2022/src/app/seguridad/modelos/AplicacionModel.mjs +0 -8
  361. package/esm2022/src/app/seguridad/modelos/ArchivoPortalModel.mjs +0 -14
  362. package/esm2022/src/app/seguridad/modelos/AtributoPuntoModel.mjs +0 -9
  363. package/esm2022/src/app/seguridad/modelos/AtributoSSOportalModel.mjs +0 -17
  364. package/esm2022/src/app/seguridad/modelos/AuditoriaArchivoModel.mjs +0 -11
  365. package/esm2022/src/app/seguridad/modelos/CargueLineaModel.mjs +0 -13
  366. package/esm2022/src/app/seguridad/modelos/ColoresRGB.mjs +0 -18
  367. package/esm2022/src/app/seguridad/modelos/ColumnaFuenteModel.mjs +0 -9
  368. package/esm2022/src/app/seguridad/modelos/ColumnaWraperModel.mjs +0 -6
  369. package/esm2022/src/app/seguridad/modelos/ComplementoModel.mjs +0 -7
  370. package/esm2022/src/app/seguridad/modelos/ComponentePaginaModel.mjs +0 -21
  371. package/esm2022/src/app/seguridad/modelos/ConexionModel.mjs +0 -14
  372. package/esm2022/src/app/seguridad/modelos/ContenidoHtmlPortalModel.mjs +0 -21
  373. package/esm2022/src/app/seguridad/modelos/ControlFuncionModel.mjs +0 -8
  374. package/esm2022/src/app/seguridad/modelos/CorreoModel.mjs +0 -35
  375. package/esm2022/src/app/seguridad/modelos/CorreoWSModel.mjs +0 -37
  376. package/esm2022/src/app/seguridad/modelos/CruceRecursoPuntoModel.mjs +0 -14
  377. package/esm2022/src/app/seguridad/modelos/DatoInicioModel.mjs +0 -6
  378. package/esm2022/src/app/seguridad/modelos/EjecucionReporteDataModel.mjs +0 -14
  379. package/esm2022/src/app/seguridad/modelos/EmpresaModel.mjs +0 -25
  380. package/esm2022/src/app/seguridad/modelos/EmpresaSeguridadModel.mjs +0 -19
  381. package/esm2022/src/app/seguridad/modelos/EntradaComplementoModel.mjs +0 -7
  382. package/esm2022/src/app/seguridad/modelos/EtiquetaModel.mjs +0 -5
  383. package/esm2022/src/app/seguridad/modelos/Etiquetas.mjs +0 -12
  384. package/esm2022/src/app/seguridad/modelos/ForeingWraperModel.mjs +0 -6
  385. package/esm2022/src/app/seguridad/modelos/FuenteCampoAtributoModel.mjs +0 -16
  386. package/esm2022/src/app/seguridad/modelos/FuenteCampoModel.mjs +0 -17
  387. package/esm2022/src/app/seguridad/modelos/FuenteDato.mjs +0 -19
  388. package/esm2022/src/app/seguridad/modelos/FuenteEntradaModel.mjs +0 -9
  389. package/esm2022/src/app/seguridad/modelos/FuenteGeneralModel.mjs +0 -37
  390. package/esm2022/src/app/seguridad/modelos/FuenteLineaServicioModel.mjs +0 -16
  391. package/esm2022/src/app/seguridad/modelos/FuenteProcesoGeneralModel.mjs +0 -11
  392. package/esm2022/src/app/seguridad/modelos/FuenteServicioModel.mjs +0 -51
  393. package/esm2022/src/app/seguridad/modelos/FuncionalidadModel.mjs +0 -10
  394. package/esm2022/src/app/seguridad/modelos/GeneralModel.mjs +0 -15
  395. package/esm2022/src/app/seguridad/modelos/GrupoAccesoModel.mjs +0 -7
  396. package/esm2022/src/app/seguridad/modelos/GrupoControlFuncionModel.mjs +0 -10
  397. package/esm2022/src/app/seguridad/modelos/GrupoFuenteModel.mjs +0 -13
  398. package/esm2022/src/app/seguridad/modelos/GrupoPermisoModel.mjs +0 -14
  399. package/esm2022/src/app/seguridad/modelos/JoinFromModel.mjs +0 -5
  400. package/esm2022/src/app/seguridad/modelos/ListaServicioModel.mjs +0 -17
  401. package/esm2022/src/app/seguridad/modelos/LlaveForaneaModel.mjs +0 -7
  402. package/esm2022/src/app/seguridad/modelos/LoginModel.mjs +0 -15
  403. package/esm2022/src/app/seguridad/modelos/MensajeSistemaModel.mjs +0 -8
  404. package/esm2022/src/app/seguridad/modelos/MenuPortalModel.mjs +0 -5
  405. package/esm2022/src/app/seguridad/modelos/ModulosModel.mjs +0 -18
  406. package/esm2022/src/app/seguridad/modelos/ObjetoReporteModel.mjs +0 -6
  407. package/esm2022/src/app/seguridad/modelos/PaginaPortalModel.mjs +0 -20
  408. package/esm2022/src/app/seguridad/modelos/ParametroComponenteModel.mjs +0 -9
  409. package/esm2022/src/app/seguridad/modelos/ParametrosGeneralModel.mjs +0 -15
  410. package/esm2022/src/app/seguridad/modelos/PermisoFuncionModel.mjs +0 -9
  411. package/esm2022/src/app/seguridad/modelos/PermisocontenidoModel.mjs +0 -20
  412. package/esm2022/src/app/seguridad/modelos/PeticionModel.mjs +0 -16
  413. package/esm2022/src/app/seguridad/modelos/PreguntaSeguridadModel.mjs +0 -7
  414. package/esm2022/src/app/seguridad/modelos/PropiedadModel.mjs +0 -10
  415. package/esm2022/src/app/seguridad/modelos/PublicacionWebModel.mjs +0 -27
  416. package/esm2022/src/app/seguridad/modelos/PuntoProcesoModel.mjs +0 -7
  417. package/esm2022/src/app/seguridad/modelos/RecursoPunto.mjs +0 -13
  418. package/esm2022/src/app/seguridad/modelos/RecursoPuntoModel.mjs +0 -13
  419. package/esm2022/src/app/seguridad/modelos/ReporteBanda.mjs +0 -8
  420. package/esm2022/src/app/seguridad/modelos/ReporteColumna.mjs +0 -33
  421. package/esm2022/src/app/seguridad/modelos/ReporteColumnario.mjs +0 -69
  422. package/esm2022/src/app/seguridad/modelos/ReporteColumnarioMarcador.mjs +0 -24
  423. package/esm2022/src/app/seguridad/modelos/ReporteEntradaModel.mjs +0 -20
  424. package/esm2022/src/app/seguridad/modelos/ReporteFuenteModel.mjs +0 -124
  425. package/esm2022/src/app/seguridad/modelos/ReporteMarcador.mjs +0 -40
  426. package/esm2022/src/app/seguridad/modelos/ReporteSoporte.mjs +0 -10
  427. package/esm2022/src/app/seguridad/modelos/ReporteTabla.mjs +0 -13
  428. package/esm2022/src/app/seguridad/modelos/RespuestaModel.mjs +0 -9
  429. package/esm2022/src/app/seguridad/modelos/RolModel.mjs +0 -39
  430. package/esm2022/src/app/seguridad/modelos/ServidorCorreoModel.mjs +0 -28
  431. package/esm2022/src/app/seguridad/modelos/SistemaMensajeModel.mjs +0 -9
  432. package/esm2022/src/app/seguridad/modelos/SitioPortalModel.mjs +0 -25
  433. package/esm2022/src/app/seguridad/modelos/TablaFromModel.mjs +0 -5
  434. package/esm2022/src/app/seguridad/modelos/TareasModel.mjs +0 -54
  435. package/esm2022/src/app/seguridad/modelos/TextoModel.mjs +0 -9
  436. package/esm2022/src/app/seguridad/modelos/TipoEtiqueta.mjs +0 -8
  437. package/esm2022/src/app/seguridad/modelos/UnionModel.mjs +0 -12
  438. package/esm2022/src/app/seguridad/modelos/UsuarioModel.mjs +0 -53
  439. package/esm2022/src/app/seguridad/modelos/UsuariogrupoModel.mjs +0 -24
  440. package/esm2022/src/app/seguridad/modelos/aplicacion-propiedad-model.mjs +0 -15
  441. package/esm2022/src/app/seguridad/modelos/contenidoCorreoModel.mjs +0 -10
  442. package/esm2022/src/app/shared/componentes/input-helper-seleccion-plantilla/input-helper-seleccion-plantilla.component.mjs +0 -154
  443. package/esm2022/src/app/shared/servicios/cargar-archivos.service.mjs +0 -54
  444. package/esm2022/src/app/shared/servicios/cargar-mapas.service.mjs +0 -46
  445. package/esm2022/src/app/shared/servicios/encriptado-basico.service.mjs +0 -53
  446. package/esm2022/src/app/shared/servicios/general.service.mjs +0 -104
  447. package/esm2022/src/app/shared/servicios/parametros-navegacion.service.mjs +0 -21
  448. package/esm2022/src/app/webcommon/pages/cargue-plantilla/cargue-plantilla-general/cargue-plantilla-general.component.mjs +0 -370
  449. package/esm2022/src/app/webcommon/pages/ejecucion-reporte/detalle-campo-reporte/detalle-campo-reporte.component.mjs +0 -187
  450. package/esm2022/src/app/webcommon/pages/ejecucion-reporte/detalle-distribucion-reporte/detalle-distribucion-reporte.component.mjs +0 -85
  451. package/esm2022/src/app/webcommon/pages/ejecucion-reporte/detalle-ejecucion-reporte/detalle-ejecucion-reporte.page.mjs +0 -347
  452. package/esm2022/src/app/webcommon/pages/ejecucion-reporte/detalle-entrada-reporte/detalle-entrada-reporte.component.mjs +0 -206
  453. package/esm2022/src/app/webcommon/pages/ejecucion-reporte/detalle-punto-proceso-reporte/detalle-punto-proceso-reporte.component.mjs +0 -328
  454. package/esm2022/src/app/webcommon/pages/ejecucion-reporte/detalle-tipo-reporte/detalle-tipo-reporte.component.mjs +0 -1569
  455. package/esm2022/src/app/webcommon/pages/ejecucion-reporte/listado-ejecucion-reporte/listado-ejecucion-reporte.page.mjs +0 -105
  456. package/esm2022/src/app/webcommon/pages/ejecucion-reporte-externo/listado-ejecucion-reporte-externo/listado-ejecucion-reporte-externo.component.mjs +0 -114
  457. package/esm2022/src/app/webcommon/pages/fuente/importar-fuente-con/importar-fuente-con.component.mjs +0 -588
  458. package/esm2022/src/app/webcommon/pages/fuente/importar-fuente-general/importar-fuente-general.component.mjs +0 -177
  459. package/esm2022/src/app/webcommon/pages/fuente-reporte/fuente-reporte.component.mjs +0 -749
  460. package/esm2022/src/app/webcommon/pages/fuenteGeneral/fuente-general-servicio/fuente-general-servicio.component.mjs +0 -331
  461. package/esm2022/src/app/webcommon/pages/fuenteGeneral/listado-fuente-general/listado-fuente-general.page.mjs +0 -96
  462. package/esm2022/src/app/webcommon/pages/fuenteGeneral/mantenimiento-fuente-general/mantenimiento-fuente-general.page.mjs +0 -675
  463. package/esm2022/src/app/webcommon/pipes/dashboard.pipe.mjs +0 -86
  464. package/esm2022/src/app/webcommon/pipes/fuente.pipe.mjs +0 -201
  465. package/esm2022/src/app/webcommon/pipes/general.pipe.mjs +0 -916
  466. package/esm2022/src/app/webcommon/pipes/reporte-columnario.pipe.mjs +0 -115
  467. package/esm2022/src/app/webcommon/pipes/reporte-fuente.pipe.mjs +0 -301
  468. package/esm2022/src/app/webcommon/popups/popup-campos-fuente-general/popup-campos-fuente-general.component.mjs +0 -267
  469. package/esm2022/src/app/webcommon/popups/popup-convertir-plantillas/popup-convertir-plantillas.component.mjs +0 -128
  470. package/esm2022/src/app/webcommon/popups/popup-punto-proceso/popup-punto-proceso.component.mjs +0 -293
  471. package/esm2022/src/app/webcommon/popups/popup-recurso/popup-recurso.component.mjs +0 -269
  472. package/esm2022/src/app/webcommon/popups/popup-reporte/popup-reporte.component.mjs +0 -515
  473. package/esm2022/src/app/webcommon/popups/popup-sentencia/popup-sentencia.component.mjs +0 -64
  474. package/esm2022/src/app/webcommon/popups/popup-tablas-fuente/popup-tablas-fuente.component.mjs +0 -159
  475. package/esm2022/src/app/webcommon/popups/punto-proceso-comp/punto-proceso-comp.component.mjs +0 -89
  476. package/esm2022/src/app/webcommon/services/carguelinea.service.mjs +0 -69
  477. package/esm2022/src/app/webcommon/services/dashboard.service.mjs +0 -253
  478. package/esm2022/src/app/webcommon/services/ejecucionreporte.service.mjs +0 -114
  479. package/esm2022/src/app/webcommon/services/fechaUtils.service.mjs +0 -88
  480. package/esm2022/src/app/webcommon/services/fuentegeneral.service.mjs +0 -68
  481. package/esm2022/src/app/webcommon/services/homologacion.service.mjs +0 -50
  482. package/esm2022/src/app/webcommon/services/plantillas.service.mjs +0 -129
  483. package/esm2022/src/app/webcommon/services/reportes.service.mjs +0 -95
  484. package/esm2022/src/app/webcommon/webcommon.module.mjs +0 -15
  485. package/esm2022/src/environments/environment.mjs +0 -24
  486. package/fesm2022/general-library-union.mjs +0 -15885
  487. package/fesm2022/general-library-union.mjs.map +0 -1
  488. package/index.d.ts +0 -5
  489. package/src/app/core/componentes/breadcrumb/breadcrumb.component.d.ts +0 -18
  490. package/src/app/core/componentes/carga-pantalla-completa/carga-pantalla-completa.component.d.ts +0 -14
  491. package/src/app/core/componentes/filtro-general/filtro-general.component.d.ts +0 -34
  492. package/src/app/core/componentes/footer/footer.component.d.ts +0 -9
  493. package/src/app/core/componentes/formulariodinamico/formulariodinamico.component.d.ts +0 -46
  494. package/src/app/core/componentes/formulariodinamico/objetosformulario/CampoFormulario.d.ts +0 -44
  495. package/src/app/core/componentes/formulariodinamico/objetosformulario/CampoFormularioCons.d.ts +0 -45
  496. package/src/app/core/componentes/formulariodinamico/objetosformulario/CampoFormularioNuevo.d.ts +0 -33
  497. package/src/app/core/componentes/formulariodinamico/objetosformulario/HashDirective.d.ts +0 -9
  498. package/src/app/core/componentes/inicio-component/inicio-component.component.d.ts +0 -24
  499. package/src/app/core/componentes/menu/menu.component.d.ts +0 -16
  500. package/src/app/core/componentes/tabla-general/tabla-general.component.d.ts +0 -32
  501. package/src/app/core/core.module.d.ts +0 -8
  502. package/src/app/core/errores/authentication.error.d.ts +0 -3
  503. package/src/app/core/modelos/error-response.model.d.ts +0 -9
  504. package/src/app/core/modelos/table-column.model.d.ts +0 -12
  505. package/src/app/core/modelos/user.model.d.ts +0 -6
  506. package/src/app/core/plantilla-general/plantilla-general.template.d.ts +0 -89
  507. package/src/app/core/servicios/auth.service.d.ts +0 -52
  508. package/src/app/core/servicios/cargar-control-funcionalidad.service.d.ts +0 -19
  509. package/src/app/core/servicios/data-exporter-table.utils.d.ts +0 -11
  510. package/src/app/core/servicios/error-interceptor.service.d.ts +0 -41
  511. package/src/app/core/servicios/guardias/auth.guard.d.ts +0 -17
  512. package/src/app/core/servicios/guardias/publico.guard.d.ts +0 -13
  513. package/src/app/core/servicios/interceptores/loading-interceptor.d.ts +0 -11
  514. package/src/app/core/servicios/interceptores/token-interceptor.service.d.ts +0 -26
  515. package/src/app/core/servicios/loading.service.d.ts +0 -22
  516. package/src/app/core/servicios/menu.service.d.ts +0 -35
  517. package/src/app/core/servicios/spinner-service.d.ts +0 -9
  518. package/src/app/core/servicios/storage.service.d.ts +0 -37
  519. package/src/app/core/servicios/template.service.d.ts +0 -20
  520. package/src/app/core/servicios/toast.service.d.ts +0 -48
  521. package/src/app/core/servicios/utils.service.d.ts +0 -42
  522. package/src/app/core/sharedlib.module.d.ts +0 -6
  523. package/src/app/core/utilidades/color.util.d.ts +0 -70
  524. package/src/app/layout/app.breadcrumb.component.d.ts +0 -28
  525. package/src/app/layout/app.footer.component.d.ts +0 -8
  526. package/src/app/layout/app.layout.component.d.ts +0 -39
  527. package/src/app/layout/app.layout.module.d.ts +0 -6
  528. package/src/app/layout/app.menu.component.d.ts +0 -19
  529. package/src/app/layout/app.menu.service.d.ts +0 -12
  530. package/src/app/layout/app.menuitem.component.d.ts +0 -41
  531. package/src/app/layout/app.menuprofile.component.d.ts +0 -18
  532. package/src/app/layout/app.rightmenu.component.d.ts +0 -10
  533. package/src/app/layout/app.sidebar.component.d.ts +0 -34
  534. package/src/app/layout/app.topbar.component.d.ts +0 -79
  535. package/src/app/layout/service/app.layout.service.d.ts +0 -57
  536. package/src/app/publico/pages/login/login.page.d.ts +0 -40
  537. package/src/app/publico/pages/not-found/not-found.page.d.ts +0 -17
  538. package/src/app/publico/pages/seleccion-rol/seleccion-rol.component.d.ts +0 -41
  539. package/src/app/publico/pages/timeout/timeout.page.d.ts +0 -10
  540. package/src/app/seguridad/constantes/ConstantesGenerales.d.ts +0 -25
  541. package/src/app/seguridad/constantes/ReporteEntradaConstantes.d.ts +0 -7
  542. package/src/app/seguridad/modelos/AplicacionModel.d.ts +0 -7
  543. package/src/app/seguridad/modelos/ArchivoPortalModel.d.ts +0 -13
  544. package/src/app/seguridad/modelos/AtributoPuntoModel.d.ts +0 -8
  545. package/src/app/seguridad/modelos/AtributoSSOportalModel.d.ts +0 -16
  546. package/src/app/seguridad/modelos/CargueLineaModel.d.ts +0 -12
  547. package/src/app/seguridad/modelos/ColoresRGB.d.ts +0 -17
  548. package/src/app/seguridad/modelos/ColumnaFuenteModel.d.ts +0 -8
  549. package/src/app/seguridad/modelos/ComplementoModel.d.ts +0 -6
  550. package/src/app/seguridad/modelos/ComponentePaginaModel.d.ts +0 -20
  551. package/src/app/seguridad/modelos/ConexionModel.d.ts +0 -13
  552. package/src/app/seguridad/modelos/ControlFuncionModel.d.ts +0 -7
  553. package/src/app/seguridad/modelos/CorreoModel.d.ts +0 -31
  554. package/src/app/seguridad/modelos/CorreoWSModel.d.ts +0 -33
  555. package/src/app/seguridad/modelos/CruceRecursoPuntoModel.d.ts +0 -13
  556. package/src/app/seguridad/modelos/EmpresaModel.d.ts +0 -23
  557. package/src/app/seguridad/modelos/EmpresaSeguridadModel.d.ts +0 -18
  558. package/src/app/seguridad/modelos/EtiquetaModel.d.ts +0 -4
  559. package/src/app/seguridad/modelos/Etiquetas.d.ts +0 -10
  560. package/src/app/seguridad/modelos/FuenteCampoAtributoModel.d.ts +0 -15
  561. package/src/app/seguridad/modelos/FuenteDato.d.ts +0 -18
  562. package/src/app/seguridad/modelos/FuenteEntradaModel.d.ts +0 -8
  563. package/src/app/seguridad/modelos/FuenteLineaServicioModel.d.ts +0 -16
  564. package/src/app/seguridad/modelos/FuenteProcesoGeneralModel.d.ts +0 -10
  565. package/src/app/seguridad/modelos/FuncionalidadModel.d.ts +0 -8
  566. package/src/app/seguridad/modelos/GeneralModel.d.ts +0 -8
  567. package/src/app/seguridad/modelos/GrupoControlFuncionModel.d.ts +0 -9
  568. package/src/app/seguridad/modelos/GrupoFuenteModel.d.ts +0 -13
  569. package/src/app/seguridad/modelos/GrupoPermisoModel.d.ts +0 -13
  570. package/src/app/seguridad/modelos/ListaServicioModel.d.ts +0 -16
  571. package/src/app/seguridad/modelos/LlaveForaneaModel.d.ts +0 -6
  572. package/src/app/seguridad/modelos/LoginModel.d.ts +0 -17
  573. package/src/app/seguridad/modelos/MensajeSistemaModel.d.ts +0 -7
  574. package/src/app/seguridad/modelos/ModulosModel.d.ts +0 -14
  575. package/src/app/seguridad/modelos/PaginaPortalModel.d.ts +0 -19
  576. package/src/app/seguridad/modelos/ParametroComponenteModel.d.ts +0 -8
  577. package/src/app/seguridad/modelos/ParametrosGeneralModel.d.ts +0 -8
  578. package/src/app/seguridad/modelos/PermisoFuncionModel.d.ts +0 -8
  579. package/src/app/seguridad/modelos/PermisocontenidoModel.d.ts +0 -18
  580. package/src/app/seguridad/modelos/PreguntaSeguridadModel.d.ts +0 -6
  581. package/src/app/seguridad/modelos/PropiedadModel.d.ts +0 -9
  582. package/src/app/seguridad/modelos/PublicacionWebModel.d.ts +0 -25
  583. package/src/app/seguridad/modelos/PuntoProcesoModel.d.ts +0 -6
  584. package/src/app/seguridad/modelos/RecursoPunto.d.ts +0 -12
  585. package/src/app/seguridad/modelos/RecursoPuntoModel.d.ts +0 -12
  586. package/src/app/seguridad/modelos/ReporteBanda.d.ts +0 -7
  587. package/src/app/seguridad/modelos/ReporteColumna.d.ts +0 -32
  588. package/src/app/seguridad/modelos/ReporteColumnario.d.ts +0 -68
  589. package/src/app/seguridad/modelos/ReporteColumnarioMarcador.d.ts +0 -23
  590. package/src/app/seguridad/modelos/ReporteMarcador.d.ts +0 -39
  591. package/src/app/seguridad/modelos/ReporteSoporte.d.ts +0 -9
  592. package/src/app/seguridad/modelos/ReporteTabla.d.ts +0 -12
  593. package/src/app/seguridad/modelos/RespuestaModel.d.ts +0 -8
  594. package/src/app/seguridad/modelos/ServidorCorreoModel.d.ts +0 -25
  595. package/src/app/seguridad/modelos/SistemaMensajeModel.d.ts +0 -8
  596. package/src/app/seguridad/modelos/SitioPortalModel.d.ts +0 -24
  597. package/src/app/seguridad/modelos/TablaFromModel.d.ts +0 -4
  598. package/src/app/seguridad/modelos/TareasModel.d.ts +0 -49
  599. package/src/app/seguridad/modelos/TextoModel.d.ts +0 -8
  600. package/src/app/seguridad/modelos/TipoEtiqueta.d.ts +0 -7
  601. package/src/app/seguridad/modelos/UnionModel.d.ts +0 -11
  602. package/src/app/seguridad/modelos/UsuariogrupoModel.d.ts +0 -22
  603. package/src/app/seguridad/modelos/aplicacion-propiedad-model.d.ts +0 -13
  604. package/src/app/seguridad/modelos/contenidoCorreoModel.d.ts +0 -9
  605. package/src/app/shared/componentes/input-helper-seleccion-plantilla/input-helper-seleccion-plantilla.component.d.ts +0 -47
  606. package/src/app/shared/servicios/cargar-archivos.service.d.ts +0 -15
  607. package/src/app/shared/servicios/cargar-mapas.service.d.ts +0 -18
  608. package/src/app/shared/servicios/encriptado-basico.service.d.ts +0 -10
  609. package/src/app/shared/servicios/general.service.d.ts +0 -24
  610. package/src/app/shared/servicios/parametros-navegacion.service.d.ts +0 -9
  611. package/src/app/webcommon/pages/cargue-plantilla/cargue-plantilla-general/cargue-plantilla-general.component.d.ts +0 -78
  612. package/src/app/webcommon/pages/ejecucion-reporte/detalle-campo-reporte/detalle-campo-reporte.component.d.ts +0 -79
  613. package/src/app/webcommon/pages/ejecucion-reporte/detalle-distribucion-reporte/detalle-distribucion-reporte.component.d.ts +0 -29
  614. package/src/app/webcommon/pages/ejecucion-reporte/detalle-ejecucion-reporte/detalle-ejecucion-reporte.page.d.ts +0 -69
  615. package/src/app/webcommon/pages/ejecucion-reporte/detalle-entrada-reporte/detalle-entrada-reporte.component.d.ts +0 -51
  616. package/src/app/webcommon/pages/ejecucion-reporte/detalle-punto-proceso-reporte/detalle-punto-proceso-reporte.component.d.ts +0 -77
  617. package/src/app/webcommon/pages/ejecucion-reporte/detalle-tipo-reporte/detalle-tipo-reporte.component.d.ts +0 -275
  618. package/src/app/webcommon/pages/ejecucion-reporte/listado-ejecucion-reporte/listado-ejecucion-reporte.page.d.ts +0 -42
  619. package/src/app/webcommon/pages/ejecucion-reporte-externo/listado-ejecucion-reporte-externo/listado-ejecucion-reporte-externo.component.d.ts +0 -35
  620. package/src/app/webcommon/pages/fuente/importar-fuente-con/importar-fuente-con.component.d.ts +0 -143
  621. package/src/app/webcommon/pages/fuente/importar-fuente-general/importar-fuente-general.component.d.ts +0 -49
  622. package/src/app/webcommon/pages/fuente-reporte/fuente-reporte.component.d.ts +0 -128
  623. package/src/app/webcommon/pages/fuenteGeneral/fuente-general-servicio/fuente-general-servicio.component.d.ts +0 -64
  624. package/src/app/webcommon/pages/fuenteGeneral/listado-fuente-general/listado-fuente-general.page.d.ts +0 -33
  625. package/src/app/webcommon/pages/fuenteGeneral/mantenimiento-fuente-general/mantenimiento-fuente-general.page.d.ts +0 -149
  626. package/src/app/webcommon/pipes/dashboard.pipe.d.ts +0 -48
  627. package/src/app/webcommon/pipes/fuente.pipe.d.ts +0 -136
  628. package/src/app/webcommon/pipes/general.pipe.d.ts +0 -646
  629. package/src/app/webcommon/pipes/reporte-columnario.pipe.d.ts +0 -59
  630. package/src/app/webcommon/pipes/reporte-fuente.pipe.d.ts +0 -193
  631. package/src/app/webcommon/popups/popup-campos-fuente-general/popup-campos-fuente-general.component.d.ts +0 -59
  632. package/src/app/webcommon/popups/popup-convertir-plantillas/popup-convertir-plantillas.component.d.ts +0 -27
  633. package/src/app/webcommon/popups/popup-punto-proceso/popup-punto-proceso.component.d.ts +0 -64
  634. package/src/app/webcommon/popups/popup-recurso/popup-recurso.component.d.ts +0 -63
  635. package/src/app/webcommon/popups/popup-reporte/popup-reporte.component.d.ts +0 -97
  636. package/src/app/webcommon/popups/popup-sentencia/popup-sentencia.component.d.ts +0 -21
  637. package/src/app/webcommon/popups/popup-tablas-fuente/popup-tablas-fuente.component.d.ts +0 -42
  638. package/src/app/webcommon/popups/punto-proceso-comp/punto-proceso-comp.component.d.ts +0 -30
  639. package/src/app/webcommon/services/carguelinea.service.d.ts +0 -19
  640. package/src/app/webcommon/services/dashboard.service.d.ts +0 -27
  641. package/src/app/webcommon/services/ejecucionreporte.service.d.ts +0 -34
  642. package/src/app/webcommon/services/fechaUtils.service.d.ts +0 -29
  643. package/src/app/webcommon/services/fuentegeneral.service.d.ts +0 -24
  644. package/src/app/webcommon/services/homologacion.service.d.ts +0 -17
  645. package/src/app/webcommon/services/plantillas.service.d.ts +0 -26
  646. package/src/app/webcommon/services/reportes.service.d.ts +0 -35
  647. package/src/app/webcommon/webcommon.module.d.ts +0 -6
  648. package/src/environments/environment.d.ts +0 -7
@@ -0,0 +1,206 @@
1
+ <!--<p-confirmDialog header="'confirmar')" icon="pi pi-exclamation-triangle"></p-confirmDialog>-->
2
+ <p-confirmPopup></p-confirmPopup>
3
+
4
+ <div class="flex justify-content-between align-items-center mt-3 mb-3">
5
+ <h1 class="text-xl">{{'punto' | translate }} {{'proceso' | translate }} </h1>
6
+ <button pButton pRipple class="p-button-secondary font-semibold" icon="pi pi-plus" (click)="nuevoPuntoProceso()"
7
+ label="{{'link_nuevo' | translate}}" *ngIf="vistaVisualizar !='detalle'" >
8
+ </button>
9
+ <div class="flex justify-content-end mb-1" *ngIf="vistaVisualizar =='detalle'">
10
+ <button pButton pRipple (click)="vistaVisualizar = null" label= "{{'listado' | translate}} {{'punto' | translate}} {{'proceso' | translate}}"
11
+ icon="pi pi-chevron-left" class="p-button-text font-semibold flex-shrink-0 "></button>
12
+ </div>
13
+ </div>
14
+
15
+ <p-table [value]="listaRecursoPunto" [scrollable]="true" responsiveLayout="scroll" selectionMode="single" dataKey="puntoProceso"
16
+ (onRowSelect)="verAction($event)" (onRowUnselect)="verAction($event)" [rows]="paginator.rows" [totalRecords]="paginator.totalRecords" *ngIf="vistaVisualizar != 'detalle'"
17
+ [paginator]="paginator.totalRecords > paginator.rows" [lazy]="true" (onLazyLoad)="cargar($event)">
18
+ <ng-template pTemplate="header">
19
+
20
+ <tr class="fondoTablaPincipal">
21
+ <th>{{'punto' | translate }} {{'proceso' | translate }} </th>
22
+ </tr>
23
+ <th>
24
+ </ng-template>
25
+ <ng-template pTemplate="body" let-punto>
26
+ <tr [pSelectableRow]="punto">
27
+ <td>{{punto.puntoProcesoDescripcion}}</td>
28
+ </tr>
29
+ </ng-template>
30
+ <ng-template pTemplate="emptymessage">
31
+ <tr>
32
+ <td colspan="100" class="p-3 font-medium emptymessage">{{'mensajetablavacia' | translate}}</td>
33
+ </tr>
34
+ </ng-template>
35
+ </p-table>
36
+
37
+ <div *ngIf="vistaVisualizar == 'detalle'">
38
+ <p-tabView class="mb-0">
39
+ <p-tabPanel [header]="'basica' | translate">
40
+ <div class="card col-md-12">
41
+ <div class="Detallereporte mt-3">
42
+
43
+ <div class="field col-12 md:col-12">
44
+ <p-floatLabel>
45
+ <p-dropdown [options]="listaPuntosProceso" [autoDisplayFirst]="false"
46
+ optionLabel="label" optionValue="key" [(ngModel)]="recursoPuntoDTO.puntoProceso"
47
+ [class]="!utilsService.validarCampoObligatorio(recursoPuntoDTO.puntoProceso) && clickGuardar ? 'ng-invalid ng-dirty' : ''" >
48
+ </p-dropdown>
49
+ <label htmlFor="puntoProceso">{{'punto' | translate }} {{'proceso' | translate }} *</label>
50
+ </p-floatLabel>
51
+ </div>
52
+
53
+
54
+ <!--BOTONES-->
55
+ <div class="flex justify-content-end mb-3">
56
+ <button pButton pRipple class="ml-2 p-button p-button-raised"
57
+ icon="glyphicons {{!nuevo ? 'glyphicons-refresh' : 'glyphicons-floppy-save'}} " label ="{{!nuevo ? ('link_actualizar' | translate) : ('link_guardar' | translate)}}"
58
+ (click)="guardar()">
59
+ </button>
60
+ <button pButton pRipple class="ml-2 mr-2 p-button-outlined" icon="glyphicons glyphicons-bin" *ngIf="!nuevo"
61
+ label="{{'link_eliminar' | translate}}" (click)="eliminar($event)">
62
+ </button>
63
+ </div>
64
+ </div>
65
+
66
+ </div>
67
+ </p-tabPanel>
68
+ <p-tabPanel [header]="'cruce' | translate" *ngIf="!nuevo">
69
+ <div class="flex justify-content-end align-items-center mb-2">
70
+ <button pButton label="{{'link_nuevo' | translate}}" (click)="nuevoCruce()" icon="pi pi-plus" [disabled]="habilitaCampo"
71
+ class="p-ripple p-element p-button p-component p-button-secondary mb-2"></button>
72
+ </div>
73
+ <p-table #tablaGeneral [value]="listaCruce" responsiveLayout="scroll" styleClass="p-datatable-striped"
74
+ [rows]="10" [totalRecords]="listaCruce.length"
75
+ [paginator]="listaCruce.length > 10"
76
+ [showCurrentPageReport]="true" currentPageReportTemplate="{first} al {last} de {totalRecords} registros"
77
+ editMode="row" dataKey="llaveTabla">
78
+ <ng-template pTemplate="header">
79
+ <tr class="fondoTablaPincipal">
80
+ <th style="width: 45%;">{{'entrada' | translate}}</th>
81
+ <th style="width: 45%;">{{'valor' | translate}}</th>
82
+ <th style="width: 10%;"> </th>
83
+ </tr>
84
+ <tr class="TablaNuevoRegistro" *ngIf="vistaVisualizarDetalle === 'nuevoCruce'">
85
+ <td style="width: 45%;">
86
+ <p-dropdown [options]="listaEntrada" optionValue="llave"
87
+ [class]="!utilsService.validarCampoObligatorio(cruceRecursoPunto.reporteEntrada) && clickGuardarCruce ? 'ng-invalid ng-dirty' : ''"
88
+ [autoDisplayFirst]="false "optionLabel="descripcion" appendTo="body" [autoZIndex]="false"
89
+ [(ngModel)]="cruceRecursoPunto.reporteEntrada"></p-dropdown>
90
+ </td>
91
+ <td style="width: 45%;">
92
+ <p-dropdown [options]="listadoAtributoPunto" optionValue="key"
93
+ [class]="!utilsService.validarCampoObligatorio(cruceRecursoPunto.atributoPunto) && clickGuardarCruce ? 'ng-invalid ng-dirty' : ''"
94
+ [autoDisplayFirst]="false" optionLabel="label" appendTo="body" [autoZIndex]="false"
95
+ [(ngModel)]="cruceRecursoPunto.atributoPunto" ></p-dropdown>
96
+ </td>
97
+ <td style="width: 10%;">
98
+ <div class="flex justify-content-end">
99
+ <button pButton pRipple type="button" icon="pi pi-check" (click)="agregarCruce(null,true)"
100
+ class="p-element p-ripple p-button-rounded p-button-success mr-2 mb-2 p-button p-component p-button-icon-only"></button>
101
+ <button pButton pRipple type="button" (click)="cancelarCruce()" icon="pi pi-times"
102
+ class="p-element p-ripple p-button-rounded p-button-danger mr-2 mb-2 p-button p-component p-button-icon-only"></button>
103
+ </div>
104
+ </td>
105
+ </tr>
106
+ </ng-template>
107
+ <ng-template pTemplate="body" let-cruce let-editing="editing" let-ri="rowIndex">
108
+ <tr [pEditableRow]="cruce" >
109
+ <td style="width: 45%;">
110
+ <p-cellEditor>
111
+ <ng-template pTemplate="input">
112
+ <p-dropdown [options]="listaEntrada" optionValue="llave"
113
+ [class]="!utilsService.validarCampoObligatorio(cruce.reporteEntrada) && clickGuardarCruce ? 'ng-invalid ng-dirty' : ''"
114
+ [autoDisplayFirst]="false "optionLabel="descripcion" appendTo="body" [autoZIndex]="false"
115
+ [(ngModel)]="cruce.reporteEntrada"></p-dropdown>
116
+ </ng-template>
117
+ <ng-template pTemplate="output">
118
+ {{cruce.descripcionEntrada}}
119
+ </ng-template>
120
+ </p-cellEditor>
121
+ </td>
122
+ <td style="width: 45%;">
123
+ <p-cellEditor>
124
+ <ng-template pTemplate="input">
125
+ <p-dropdown [options]="listadoAtributoPunto" optionValue="key"
126
+ [class]="!utilsService.validarCampoObligatorio(cruce.atributoPunto) && clickGuardarCruce ? 'ng-invalid ng-dirty' : ''"
127
+ [autoDisplayFirst]="false" optionLabel="label" appendTo="body" [autoZIndex]="false"
128
+ [(ngModel)]="cruce.atributoPunto" ></p-dropdown>
129
+ </ng-template>
130
+ <ng-template pTemplate="output">
131
+ {{cruce.atributoPuntoDescripcion}}
132
+ </ng-template>
133
+ </p-cellEditor>
134
+ </td>
135
+ <td style="width: 10%;">
136
+ <div class="flex justify-content-end">
137
+ <!-- CHECK GUARDAR -->
138
+ <button *ngIf="editing" pButton pRipple type="button" pSaveEditableRow
139
+ icon="pi pi-check" (click)="agregarCruce(cruce, false)"
140
+ class="p-element p-ripple p-button-rounded p-button-success mr-2 mb-2 p-button p-component p-button-icon-only"></button>
141
+ <!-- CANCELAR -->
142
+ <button *ngIf="editing" pButton pRipple type="button" pCancelEditableRow
143
+ icon="pi pi-times" (click)="cancelarEdicion()"
144
+ class="p-element p-ripple p-button-rounded p-button-danger mr-2 mb-2 p-button p-component p-button-icon-only"></button>
145
+ <!-- EDITAR -->
146
+ <button *ngIf="!editing" pButton pRipple type="button" pInitEditableRow
147
+ icon="glyphicons glyphicons-pencil" [disabled]="habilitaCampo" (click)="iniciarEdicion()"
148
+ class="p-element p-ripple p-button-rounded p-button-secondary mr-2 mb-2 p-button p-component p-button-icon-only"></button>
149
+ <!-- ELIMINAR -->
150
+ <button *ngIf="!editing" pButton pRipple type="button" pDeleteEditableRow
151
+ icon="pi pi-trash" (click)="eliminarCruce($event,cruce)" [disabled]="habilitaCampo"
152
+ class="p-element p-ripple p-button-rounded p-button-outlined mr-2 mb-2 p-button p-component p-button-icon-only"></button>
153
+ </div>
154
+ </td>
155
+ </tr>
156
+ </ng-template>
157
+ <ng-template pTemplate="emptymessage">
158
+ <tr>
159
+ <td colspan="100" class="p-3 font-medium emptymessage">{{'mensajetablavacia' | translate}}</td>
160
+ </tr>
161
+ </ng-template>
162
+ </p-table>
163
+ </p-tabPanel>
164
+ <p-tabPanel [header]="'filtro' | translate" *ngIf="!nuevo">
165
+ <div class="card">
166
+ <p-table [value]="listaAtributoPunto" responsiveLayout="scroll" [scrollable]="true"
167
+ scrollDirection="horizontal" styleClass="p-datatable-striped" >
168
+ <ng-template pTemplate="header">
169
+ <tr>
170
+ <th class="w-6rem">{{'descripcion' | translate}}</th>
171
+ <th class="w-6rem">{{'codigo' | translate}}</th>
172
+ </tr>
173
+ </ng-template>
174
+ <ng-template pTemplate="body" let-element>
175
+ <tr>
176
+ <td class="w-6rem">
177
+ {{element.descripcion}}
178
+ </td>
179
+ <td class="w-6rem">
180
+ {{element.codigo}}
181
+ </td>
182
+ </tr>
183
+ </ng-template>
184
+ <ng-template pTemplate="emptymessage">
185
+ <tr>
186
+ <td colspan="100" class="p-3 font-medium emptymessage">{{'mensajetablavacia' | translate}}</td>
187
+ </tr>
188
+ </ng-template>
189
+ </p-table>
190
+
191
+ <div class="field col-12 md:col-12 lg:col-12 mt-3">
192
+ <p-floatLabel>
193
+ <textarea class="w-full min-h-150 max-h-200" rows="5" cols="30" pInputTextarea
194
+ [(ngModel)]="recursoPuntoDTO.filtro" autofocus [autoResize]="true"> </textarea>
195
+ <label class=" w-full" for="descripcion">{{'filtro' | translate}}</label>
196
+ </p-floatLabel>
197
+ </div>
198
+ <div class="flex justify-content-end align-content-center mt-3">
199
+ <button pButton pRipple class="ml-2 p-button-raised" (click)="guardar()"
200
+ icon="glyphicons glyphicons-refresh" label="{{'link_actualizar' | translate}}" ></button>
201
+ </div>
202
+ </div>
203
+ </p-tabPanel>
204
+ </p-tabView>
205
+
206
+ </div>
@@ -0,0 +1,329 @@
1
+ import { Component, Input, OnChanges, OnInit } from '@angular/core';
2
+ import { GeneralPipe } from '../../../pipes/general.pipe';
3
+ import { GeneralService } from '../../../../shared/servicios/general.service';
4
+ import { ToastService } from '../../../../core/servicios/toast.service';
5
+ import { GeneralModel } from '../../../../seguridad/modelos/GeneralModel';
6
+ import { RecursoPuntoModel } from '../../../../seguridad/modelos/RecursoPuntoModel';
7
+ import { CruceRecursoPuntoModel } from '../../../../seguridad/modelos/CruceRecursoPuntoModel';
8
+ import { AtributoPuntoModel } from '../../../../seguridad/modelos/AtributoPuntoModel';
9
+ import { PuntoProcesoModel } from '../../../../seguridad/modelos/PuntoProcesoModel';
10
+ import { ConfirmationService, MessageService } from 'primeng/api';
11
+ import { UtilsService } from '../../../../core/servicios/utils.service';
12
+ import { cargarmapasGlobal } from '../../../../shared/servicios/cargar-mapas.service';
13
+ import { TranslateModule } from '@ngx-translate/core';
14
+ import { CommonModule } from '@angular/common';
15
+ import { ConfirmPopupModule } from 'primeng/confirmpopup';
16
+ import { ButtonModule } from 'primeng/button';
17
+ import { TableModule } from 'primeng/table';
18
+ import { TabViewModule } from 'primeng/tabview';
19
+ import { DropdownModule } from 'primeng/dropdown';
20
+ import { FormsModule } from '@angular/forms';
21
+ import { InputTextareaModule } from 'primeng/inputtextarea';
22
+ import { FloatLabelModule } from 'primeng/floatlabel';
23
+
24
+ @Component({
25
+ selector: 'detalle-punto-proceso-reporte',
26
+ imports: [TranslateModule, CommonModule, ConfirmPopupModule, ButtonModule, TableModule, TabViewModule, DropdownModule, FormsModule, InputTextareaModule, FloatLabelModule],
27
+ standalone: true,
28
+ templateUrl: './detalle-punto-proceso-reporte.component.html',
29
+ styleUrls: ['./detalle-punto-proceso-reporte.component.scss'],
30
+ providers: [ConfirmationService, MessageService]
31
+ })
32
+ export class DetallePuntoProcesoReporteComponent implements OnInit {
33
+
34
+ public vistaVisualizar: string;
35
+ public vistaVisualizarDetalle: string;
36
+ public listaRecursoPunto: RecursoPuntoModel[] = []
37
+
38
+ @Input() public modificarReporte : boolean;
39
+ @Input() public llaveReporte : string;
40
+ @Input() public llaveFuente : string;
41
+ @Input() public tipoRecurso : string;
42
+
43
+ recursoPuntoDTO: RecursoPuntoModel = new RecursoPuntoModel;
44
+ destino: String;
45
+ nuevo: boolean;
46
+ recursosValidar: RecursoPuntoModel[] = [];
47
+ cruces: CruceRecursoPuntoModel[] = [];
48
+ listaEntrada: any[] = [];
49
+ listaPuntosProceso: any[] = [];
50
+ listaAtributoPunto: AtributoPuntoModel[] = [];
51
+ listadoAtributoPunto: any[] = [];
52
+ listaCruce: CruceRecursoPuntoModel[] = [];
53
+ cruceRecursoPunto: CruceRecursoPuntoModel = new CruceRecursoPuntoModel();
54
+ clickGuardar: boolean;
55
+ clickGuardarCruce: boolean;
56
+ paginatorCruce = {
57
+ rows: 10,
58
+ totalRecords: 0,
59
+ };
60
+ paginator = {
61
+ rows: 10,
62
+ totalRecords: 0,
63
+ };
64
+ public habilitaCampo: boolean = false;
65
+
66
+ constructor(private generalService: GeneralService, private cargarMapas: cargarmapasGlobal, private notificacionBusService: ToastService, private generalPipe: GeneralPipe,
67
+ public utilsService: UtilsService,private notificacionesBusService: ToastService,private confirmationService: ConfirmationService) { }
68
+
69
+
70
+ ngOnInit(): void {
71
+ this.cargarListas();
72
+ }
73
+
74
+ verAction(event){
75
+ this.recursoPuntoDTO = event.data;
76
+ this.nuevo = false;
77
+ this.vistaVisualizar = 'detalle'
78
+ this.ver(this.recursoPuntoDTO, this.llaveReporte, null, 'R').then(data =>{})
79
+ }
80
+
81
+ nuevoPuntoProceso(){
82
+ this.ver(null, this.llaveReporte, null, 'R').then(data =>{})
83
+
84
+ }
85
+
86
+ cargar(event){
87
+ this.generalService.queryForList(new GeneralModel('RecursoPuntoDTO', null, false, {
88
+ reporteFuente: this.llaveReporte,
89
+ paginacionRegistroInicial: event.first,
90
+ paginacionRegistroFinal: event.rows,
91
+ })).subscribe(data => {
92
+ this.listaRecursoPunto = data;
93
+ this.generalService.cantidadRegistros(new GeneralModel('RecursoPuntoDTO', null, false, {
94
+ reporteFuente: this.llaveReporte
95
+ })).subscribe(data => {
96
+ this.paginator.totalRecords = data;
97
+ })
98
+ })
99
+
100
+ }
101
+
102
+ async cargarListas() {
103
+ this.listaPuntosProceso = await this.cargarMapas.cargarSelectItemString('llaveTabla', 'descripcion', new GeneralModel('PuntoProcesoDTO', null, false, new PuntoProcesoModel()));
104
+ }
105
+
106
+ async loadCruce() {
107
+ this.listaCruce = await this.generalService.queryForList(new GeneralModel('CruceRecursoPuntoDTO', 'CruceRecursoPunto.consultarCrucePorRecurso', false, {recursoPunto: this.recursoPuntoDTO.llaveTabla})).toPromise();
108
+ }
109
+
110
+
111
+
112
+ async ver(recursoPuntoDTO: RecursoPuntoModel, llave: any, destino: String, tipoRecurso) {
113
+ this.vistaVisualizar = 'detalle';
114
+ this.llaveReporte = llave;
115
+ this.tipoRecurso = tipoRecurso;
116
+ this.nuevo = recursoPuntoDTO == null;
117
+ this.recursoPuntoDTO = this.nuevo ? new RecursoPuntoModel() : recursoPuntoDTO;
118
+ await this.cargarRecursoPunto();
119
+ await this.cargarEntradas();
120
+ if (!this.nuevo) {
121
+ await this.loadCruce();
122
+ await this.cargarAtributos(recursoPuntoDTO.puntoProceso);
123
+ }
124
+ }
125
+
126
+ eliminar(event){
127
+ this.confirmationService.confirm({
128
+ target: event.target,
129
+ message: this.generalPipe.MENSAJE_ELIMINAR_CONFIRMAR,
130
+ acceptLabel: this.generalPipe.SI_DESC,
131
+ accept: () => {
132
+ this.setRespuesta().then(data => {});
133
+ },
134
+ reject: () => {
135
+ }
136
+ });
137
+ }
138
+
139
+ async setRespuesta(){
140
+ if(this.validarEliminacion()){
141
+ this.recursoPuntoDTO.fechaAdicionado = null;
142
+ this.recursoPuntoDTO.fechaModificado = null;
143
+ await this.generalService.delete(new GeneralModel('RecursoPuntoDTO',null, false,this.recursoPuntoDTO)).toPromise();
144
+ await this.loadCruce();
145
+ this.notificacionBusService.showInfo(this.generalPipe.MENSAJE_ELIMINAR);
146
+ this.ocultar();
147
+ return
148
+ }else {
149
+ this.notificacionesBusService.showWarning('Debe eliminar los cruces primero');
150
+ }
151
+ }
152
+
153
+ validarEliminacion(){
154
+ console.log(this.listaCruce.length)
155
+ console.log(this.listaCruce.length <= 0)
156
+
157
+ let validador = this.listaCruce.length <= 0;
158
+ return validador;
159
+ }
160
+
161
+ async cargarRecursoPunto() {
162
+ let verificar: RecursoPuntoModel = new RecursoPuntoModel();
163
+ if (this.tipoRecurso == 'F') {
164
+ verificar.fuente = this.llaveReporte;
165
+ } else if (this.tipoRecurso == 'R') {
166
+ verificar.reporteFuente = this.llaveReporte;
167
+ }
168
+ this.recursosValidar = await this.generalService.queryForList(new GeneralModel('RecursoPuntoDTO', null, false, verificar)).toPromise();
169
+
170
+ }
171
+
172
+ async cargarEntradas() {
173
+ this.listaEntrada = await this.generalService.queryForList(new GeneralModel('ReporteEntradaDTO', null, false, {reporteFuente: this.llaveReporte})).toPromise();
174
+ }
175
+
176
+ async cargarCruce() {
177
+ if (this.recursoPuntoDTO.llaveTabla == null) {
178
+ return;
179
+ }
180
+ this.cruces = await this.generalService.queryForList(new GeneralModel('CruceRecursoPuntoDTO', 'CruceRecursoPunto.consultarCrucePorRecurso', true, { recursoPunto: this.recursoPuntoDTO.llaveTabla })).toPromise();
181
+ }
182
+
183
+ async cargarAtributos(puntoProceso) {
184
+ this.listadoAtributoPunto = await this.cargarMapas.cargarSelectItemString('llaveTabla', 'descripcion', new GeneralModel('AtributoPuntoDTO', null, false, { puntoProceso: puntoProceso }));
185
+ this.listaAtributoPunto = await this.generalService.queryForList(new GeneralModel('AtributoPuntoDTO', null, false, { puntoProceso: puntoProceso })).toPromise();
186
+ }
187
+
188
+ async guardar() {
189
+ this.clickGuardar = true;
190
+ if (this.validar()) {
191
+ this.recursoPuntoDTO.fechaAdicionado = this.recursoPuntoDTO.fechaAdicionado ? new Date(this.recursoPuntoDTO.fechaAdicionado) : null;
192
+ this.recursoPuntoDTO.fechaModificado = this.recursoPuntoDTO.fechaModificado ? new Date(this.recursoPuntoDTO.fechaModificado) : null;
193
+ if (this.nuevo) {
194
+ if (this.tipoRecurso == 'F') {
195
+ this.recursoPuntoDTO.fuente = this.llaveReporte;
196
+ } else if (this.tipoRecurso == 'R') {
197
+ this.recursoPuntoDTO.reporteFuente = this.llaveReporte;
198
+ }
199
+ this.recursoPuntoDTO.tipo = this.tipoRecurso;
200
+ this.recursoPuntoDTO = await this.generalService.crearRegistro(new GeneralModel('RecursoPuntoDTO', null, false, this.recursoPuntoDTO)).toPromise();
201
+ this.notificacionBusService.showInfo(this.generalPipe.MENSAJE_GUARDAR);
202
+ await this.cargarAtributos(this.recursoPuntoDTO.puntoProceso);
203
+ this.nuevo = false;
204
+ this.clickGuardar = false;
205
+ return null
206
+ }
207
+ if ((await this.generalService.update(new GeneralModel('RecursoPuntoDTO', null, false, this.recursoPuntoDTO)).toPromise()) <= 0) {
208
+ this.notificacionBusService.showInfo(this.generalPipe.MENSAJE_ACTUALIZAR_NO);
209
+ return null;
210
+ }
211
+ await this.cargarAtributos(this.recursoPuntoDTO.puntoProceso);
212
+ await this.loadCruce()
213
+ this.notificacionBusService.showInfo(this.generalPipe.MENSAJE_ACTUALIZAR);
214
+ this.clickGuardar = false;
215
+ }
216
+ return null;
217
+ }
218
+
219
+ nuevoCruce() {
220
+ this.habilitaCampo = true;
221
+ this.cruceRecursoPunto = new CruceRecursoPuntoModel();
222
+ this.vistaVisualizarDetalle = 'nuevoCruce'
223
+ }
224
+ cancelarCruce() {
225
+ this.vistaVisualizarDetalle = null;
226
+ this.habilitaCampo = false;
227
+ }
228
+
229
+ async agregarCruce(cruce?, nuevo?) {
230
+ this.clickGuardarCruce = true;
231
+ if (nuevo) {
232
+ if (!this.validarCruce(this.cruceRecursoPunto)) {
233
+ this.notificacionBusService.showError('Faltan campos obligatorios')
234
+ return;
235
+ }
236
+ this.clickGuardarCruce = false;
237
+ this.cruceRecursoPunto.recursoPunto = this.recursoPuntoDTO.llaveTabla;
238
+ this.cruceRecursoPunto.llaveTabla = this.utilsService.generarLlave();
239
+ await this.generalService.crearRegistro(new GeneralModel('CruceRecursoPuntoDTO', null, false, this.cruceRecursoPunto)).toPromise();
240
+ this.notificacionBusService.showInfo(this.generalPipe.MENSAJE_GUARDAR);
241
+ this.vistaVisualizarDetalle = null;
242
+ } else {
243
+ this.cruceRecursoPunto = cruce
244
+ if (!this.validarCruce(this.cruceRecursoPunto)) {
245
+ this.notificacionBusService.showError('Faltan campos obligatorios')
246
+ return;
247
+ }
248
+ if ((await this.generalService.update(new GeneralModel('CruceRecursoPuntoDTO', null, false, this.cruceRecursoPunto)).toPromise()) <= 0) {
249
+ this.notificacionBusService.showWarning(this.generalPipe.MENSAJE_ACTUALIZAR_NO);
250
+ }
251
+ this.notificacionBusService.showSuccess(this.generalPipe.MENSAJE_ACTUALIZAR);
252
+ }
253
+ await this.cargarCruce();
254
+ await this.loadCruce();
255
+ this.habilitaCampo = false;
256
+ }
257
+
258
+ eliminarCruce(event, cruce){
259
+ this.habilitaCampo = true;
260
+ this.confirmationService.confirm({
261
+ target: event.target,
262
+ message: this.generalPipe.MENSAJE_ELIMINAR_CONFIRMAR,
263
+ acceptLabel: this.generalPipe.SI_DESC,
264
+ accept: () => {
265
+ this.setEliminarCruce(cruce).then(data => {});
266
+ this.habilitaCampo = false;
267
+ }
268
+ });
269
+ }
270
+
271
+ iniciarEdicion() {
272
+ this.habilitaCampo = true;
273
+ }
274
+
275
+ async cancelarEdicion() {
276
+ await this.loadCruce();
277
+ this.habilitaCampo = false;
278
+
279
+ }
280
+
281
+ async setEliminarCruce(cruce){
282
+ if ((await this.generalService.delete(new GeneralModel('CruceRecursoPuntoDTO', null, false, cruce)).toPromise()) <= 0) {
283
+ this.notificacionesBusService.showWarning(this.generalPipe.MENSAJE_ELIMINAR_NO);
284
+ return
285
+ }
286
+ this.notificacionesBusService.showInfo(this.generalPipe.MENSAJE_ELIMINAR);
287
+ await this.loadCruce();
288
+ }
289
+
290
+ validar() {
291
+ let validar = true;
292
+ if (this.recursosValidar == null || this.recursosValidar.length <= 0) {
293
+ return validar;
294
+ }
295
+ this.recursosValidar.forEach(element => {
296
+ if ((element.llaveTabla != this.recursoPuntoDTO.llaveTabla) && element.puntoProceso == this.recursoPuntoDTO.puntoProceso) {
297
+ this.notificacionBusService.showInfo(this.generalPipe.MENSAJE_PUNTO_PROCESO_REPETIDO);
298
+ validar = false
299
+ }
300
+ });
301
+ validar = validar && this.utilsService.validarCampoObligatorio(this.recursoPuntoDTO.puntoProceso)
302
+ return validar;
303
+ }
304
+ validarCruce(cruce: CruceRecursoPuntoModel) {
305
+ var validador: boolean = true;
306
+ validador = validador && this.utilsService.validarCampoObligatorio(cruce.reporteEntrada)
307
+ validador = validador && this.utilsService.validarCampoObligatorio(cruce.atributoPunto)
308
+ if(this.tipoRecurso == null){
309
+ this.notificacionBusService.showError('No se encuentra el recurso');
310
+ validador = validador && false
311
+ }
312
+ this.cruces.forEach(async element => {
313
+ if (this.tipoRecurso == 'F' && element.reporteEntrada == this.cruceRecursoPunto.reporteEntrada) {
314
+ this.notificacionBusService.showInfo(this.generalPipe.MENSAJE_PARAMETRO_REPETIDO);
315
+ validador = validador && false;
316
+ } else {
317
+ this.notificacionBusService.showInfo(this.generalPipe.MENSAJE_PARAMETRO_REPETIDO);
318
+ validador = validador && false;
319
+ }
320
+ });
321
+ return validador;
322
+ }
323
+
324
+ public ocultar() {
325
+ this.vistaVisualizar = null;
326
+ }
327
+
328
+
329
+ }