general-library-union 2.3.35 → 2.3.36

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 (594) 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 +130 -0
  7. package/karma.conf.js +44 -0
  8. package/ng-package.json +21 -0
  9. package/package.json +68 -57
  10. package/{public-api.d.ts → public-api.ts} +188 -154
  11. package/src/app/app.component.html +0 -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 +12 -0
  15. package/src/app/app.config.ts +8 -0
  16. package/src/app/app.module.ts +10 -0
  17. package/src/app/app.routes.ts +3 -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 +34 -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 +154 -0
  30. package/src/app/core/componentes/footer/footer.component.html +19 -0
  31. package/src/app/core/componentes/footer/footer.component.scss +3 -0
  32. package/src/app/core/componentes/footer/footer.component.ts +24 -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 +229 -0
  58. package/src/app/core/servicios/auth.service.ts +183 -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 +55 -0
  61. package/src/app/core/servicios/error-interceptor.service.ts +145 -0
  62. package/src/app/core/servicios/guardias/auth.guard.ts +51 -0
  63. package/src/app/core/servicios/guardias/publico.guard.ts +22 -0
  64. package/src/app/core/servicios/interceptores/token-interceptor.service.ts +110 -0
  65. package/src/app/core/servicios/loading.service.ts +48 -0
  66. package/src/app/core/servicios/menu.service.ts +89 -0
  67. package/src/app/core/servicios/storage.service.ts +68 -0
  68. package/src/app/core/servicios/template.service.ts +91 -0
  69. package/src/app/core/servicios/toast.service.ts +89 -0
  70. package/src/app/core/servicios/utils.service.ts +331 -0
  71. package/src/app/core/sharedlib.module.ts +11 -0
  72. package/src/app/core/utilidades/color.util.ts +197 -0
  73. package/src/app/layout/api/{menuchangeevent.d.ts → menuchangeevent.ts} +4 -4
  74. package/src/app/layout/app.breadcrumb.component.html +20 -0
  75. package/src/app/layout/app.breadcrumb.component.ts +74 -0
  76. package/src/app/layout/app.footer.component.html +18 -0
  77. package/src/app/layout/app.footer.component.ts +15 -0
  78. package/src/app/layout/app.layout.component.html +20 -0
  79. package/src/app/layout/app.layout.component.ts +201 -0
  80. package/src/app/layout/app.layout.module.ts +9 -0
  81. package/src/app/layout/app.menu.component.html +6 -0
  82. package/src/app/layout/app.menu.component.ts +40 -0
  83. package/src/app/layout/app.menu.service.ts +23 -0
  84. package/src/app/layout/app.menuitem.component.ts +250 -0
  85. package/src/app/layout/app.menuprofile.component.html +35 -0
  86. package/src/app/layout/app.menuprofile.component.ts +60 -0
  87. package/src/app/layout/app.rightmenu.component.html +72 -0
  88. package/src/app/layout/app.rightmenu.component.ts +24 -0
  89. package/src/app/layout/app.sidebar.component.html +40 -0
  90. package/src/app/layout/app.sidebar.component.ts +80 -0
  91. package/src/app/layout/app.topbar.component.html +214 -0
  92. package/src/app/layout/app.topbar.component.ts +326 -0
  93. package/src/app/layout/config/app.config.component.html +125 -0
  94. package/src/app/layout/config/app.config.component.ts +206 -0
  95. package/src/app/layout/config/app.config.module.ts +11 -0
  96. package/src/app/layout/service/app.layout.service.ts +191 -0
  97. package/src/app/publico/pages/login/login.page.html +53 -0
  98. package/src/app/publico/pages/login/login.page.scss +122 -0
  99. package/src/app/publico/pages/login/login.page.ts +127 -0
  100. package/src/app/publico/pages/not-found/not-found.page.html +25 -0
  101. package/src/app/publico/pages/not-found/not-found.page.scss +2 -0
  102. package/src/app/publico/pages/not-found/not-found.page.ts +41 -0
  103. package/src/app/publico/pages/seleccion-rol/seleccion-rol.component.html +58 -0
  104. package/src/app/publico/pages/seleccion-rol/seleccion-rol.component.scss +49 -0
  105. package/src/app/publico/pages/seleccion-rol/seleccion-rol.component.ts +169 -0
  106. package/src/app/publico/pages/timeout/timeout.page.html +21 -0
  107. package/src/app/publico/pages/timeout/timeout.page.scss +2 -0
  108. package/src/app/publico/pages/timeout/timeout.page.ts +18 -0
  109. package/src/app/seguridad/constantes/ConstantesGenerales.ts +30 -0
  110. package/src/app/seguridad/constantes/ReporteEntradaConstantes.ts +18 -0
  111. package/src/app/seguridad/constantes/ReporteFuenteConstantes.ts +13 -0
  112. package/src/app/seguridad/modelos/AplicacionModel.ts +11 -0
  113. package/src/app/seguridad/modelos/ArchivoPortalModel.ts +16 -0
  114. package/src/app/seguridad/modelos/AtributoPuntoModel.ts +9 -0
  115. package/src/app/seguridad/modelos/AtributoSSOportalModel.ts +22 -0
  116. package/src/app/seguridad/modelos/{AuditoriaArchivoModel.d.ts → AuditoriaArchivoModel.ts} +13 -10
  117. package/src/app/seguridad/modelos/CargueLineaModel.ts +17 -0
  118. package/src/app/seguridad/modelos/ColoresRGB.ts +17 -0
  119. package/src/app/seguridad/modelos/ComplementoModel.ts +10 -0
  120. package/src/app/seguridad/modelos/ComponentePaginaModel.ts +22 -0
  121. package/src/app/seguridad/modelos/ConexionModel.ts +15 -0
  122. package/src/app/seguridad/modelos/{ContenidoHtmlPortalModel.d.ts → ContenidoHtmlPortalModel.ts} +25 -20
  123. package/src/app/seguridad/modelos/ControlFuncionModel.ts +10 -0
  124. package/src/app/seguridad/modelos/CorreoModel.ts +45 -0
  125. package/src/app/seguridad/modelos/CorreoWSModel.ts +49 -0
  126. package/src/app/seguridad/modelos/CruceRecursoPuntoModel.ts +14 -0
  127. package/src/app/seguridad/modelos/{DatoInicioModel.d.ts → DatoInicioModel.ts} +7 -6
  128. package/src/app/seguridad/modelos/{EjecucionReporteDataModel.d.ts → EjecucionReporteDataModel.ts} +21 -20
  129. package/src/app/seguridad/modelos/EmpresaModel.ts +25 -0
  130. package/src/app/seguridad/modelos/EmpresaSeguridadModel.ts +19 -0
  131. package/src/app/seguridad/modelos/{EntradaComplementoModel.d.ts → EntradaComplementoModel.ts} +9 -6
  132. package/src/app/seguridad/modelos/EtiquetaModel.ts +4 -0
  133. package/src/app/seguridad/modelos/Etiquetas.ts +14 -0
  134. package/src/app/seguridad/modelos/FuenteCampoAtributoModel.ts +21 -0
  135. package/src/app/seguridad/modelos/{FuenteCampoModel.d.ts → FuenteCampoModel.ts} +20 -16
  136. package/src/app/seguridad/modelos/FuenteDato.ts +19 -0
  137. package/src/app/seguridad/modelos/FuenteEntradaModel.ts +9 -0
  138. package/src/app/seguridad/modelos/{FuenteGeneralModel.d.ts → FuenteGeneralModel.ts} +55 -36
  139. package/src/app/seguridad/modelos/FuenteLineaServicioModel.ts +19 -0
  140. package/src/app/seguridad/modelos/FuenteProcesoGeneralModel.ts +14 -0
  141. package/src/app/seguridad/modelos/{FuenteServicioModel.d.ts → FuenteServicioModel.ts} +61 -47
  142. package/src/app/seguridad/modelos/FuncionalidadModel.ts +12 -0
  143. package/src/app/seguridad/modelos/GeneralModel.ts +16 -0
  144. package/src/app/seguridad/modelos/{GrupoAccesoModel.d.ts → GrupoAccesoModel.ts} +9 -6
  145. package/src/app/seguridad/modelos/GrupoControlFuncionModel.ts +12 -0
  146. package/src/app/seguridad/modelos/GrupoFuenteModel.ts +17 -0
  147. package/src/app/seguridad/modelos/GrupoPermisoModel.ts +16 -0
  148. package/src/app/seguridad/modelos/ListaServicioModel.ts +18 -0
  149. package/src/app/seguridad/modelos/LoginModel.ts +19 -0
  150. package/src/app/seguridad/modelos/MensajeSistemaModel.ts +10 -0
  151. package/src/app/seguridad/modelos/{MenuPortalModel.d.ts → MenuPortalModel.ts} +5 -4
  152. package/src/app/seguridad/modelos/ModulosModel.ts +17 -0
  153. package/src/app/seguridad/modelos/PaginaPortalModel.ts +23 -0
  154. package/src/app/seguridad/modelos/ParametroComponenteModel.ts +9 -0
  155. package/src/app/seguridad/modelos/ParametrosGeneralModel.ts +16 -0
  156. package/src/app/seguridad/modelos/PermisoFuncionModel.ts +11 -0
  157. package/src/app/seguridad/modelos/PermisocontenidoModel.ts +20 -0
  158. package/src/app/seguridad/modelos/{PeticionModel.d.ts → PeticionModel.ts} +20 -15
  159. package/src/app/seguridad/modelos/PreguntaSeguridadModel.ts +9 -0
  160. package/src/app/seguridad/modelos/PropiedadModel.ts +12 -0
  161. package/src/app/seguridad/modelos/PublicacionWebModel.ts +29 -0
  162. package/src/app/seguridad/modelos/PuntoProcesoModel.ts +7 -0
  163. package/src/app/seguridad/modelos/RecursoPunto.ts +13 -0
  164. package/src/app/seguridad/modelos/RecursoPuntoModel.ts +13 -0
  165. package/src/app/seguridad/modelos/ReporteBanda.ts +9 -0
  166. package/src/app/seguridad/modelos/ReporteColumna.ts +33 -0
  167. package/src/app/seguridad/modelos/ReporteColumnario.ts +82 -0
  168. package/src/app/seguridad/modelos/ReporteColumnarioMarcador.ts +31 -0
  169. package/src/app/seguridad/modelos/{ReporteEntradaModel.d.ts → ReporteEntradaModel.ts} +21 -19
  170. package/src/app/seguridad/modelos/{ReporteFuenteModel.d.ts → ReporteFuenteModel.ts} +141 -87
  171. package/src/app/seguridad/modelos/ReporteMarcador.ts +40 -0
  172. package/src/app/seguridad/modelos/ReporteSoporte.ts +10 -0
  173. package/src/app/seguridad/modelos/ReporteTabla.ts +14 -0
  174. package/src/app/seguridad/modelos/RespuestaModel.ts +10 -0
  175. package/src/app/seguridad/modelos/{RolModel.d.ts → RolModel.ts} +41 -37
  176. package/src/app/seguridad/modelos/ServidorCorreoModel.ts +31 -0
  177. package/src/app/seguridad/modelos/SistemaMensajeModel.ts +11 -0
  178. package/src/app/seguridad/modelos/SitioPortalModel.ts +29 -0
  179. package/src/app/seguridad/modelos/TareasModel.ts +54 -0
  180. package/src/app/seguridad/modelos/TextoModel.ts +11 -0
  181. package/src/app/seguridad/modelos/TipoEtiqueta.ts +8 -0
  182. package/src/app/seguridad/modelos/UnionModel.ts +14 -0
  183. package/src/app/seguridad/modelos/{UsuarioModel.d.ts → UsuarioModel.ts} +60 -49
  184. package/src/app/seguridad/modelos/UsuariogrupoModel.ts +27 -0
  185. package/src/app/seguridad/modelos/aplicacion-propiedad-model.ts +16 -0
  186. package/src/app/seguridad/modelos/contenidoCorreoModel.ts +13 -0
  187. package/src/app/shared/componentes/input-helper-seleccion-plantilla/input-helper-seleccion-plantilla.component.html +47 -0
  188. package/src/app/shared/componentes/input-helper-seleccion-plantilla/input-helper-seleccion-plantilla.component.scss +8 -0
  189. package/src/app/shared/componentes/input-helper-seleccion-plantilla/input-helper-seleccion-plantilla.component.ts +141 -0
  190. package/src/app/shared/servicios/cargar-archivos.service.ts +51 -0
  191. package/src/app/shared/servicios/cargar-mapas.service.ts +43 -0
  192. package/src/app/shared/servicios/encriptado-basico.service.ts +54 -0
  193. package/src/app/shared/servicios/encriptador-simetrico.service.ts +29 -0
  194. package/src/app/shared/servicios/general.service.ts +124 -0
  195. package/src/app/shared/servicios/parametros-navegacion.service.ts +20 -0
  196. package/src/app/shared/servicios/plantillas.service.ts +22 -0
  197. package/src/app/webcommon/pages/ejecucion-reporte/detalle-campo-reporte/detalle-campo-reporte.component.html +87 -0
  198. package/src/app/webcommon/pages/ejecucion-reporte/detalle-campo-reporte/detalle-campo-reporte.component.scss +0 -0
  199. package/src/app/webcommon/pages/ejecucion-reporte/detalle-campo-reporte/detalle-campo-reporte.component.ts +189 -0
  200. package/src/app/webcommon/pages/ejecucion-reporte/detalle-distribucion-reporte/detalle-distribucion-reporte.component.html +117 -0
  201. package/src/app/webcommon/pages/ejecucion-reporte/detalle-distribucion-reporte/detalle-distribucion-reporte.component.scss +0 -0
  202. package/src/app/webcommon/pages/ejecucion-reporte/detalle-distribucion-reporte/detalle-distribucion-reporte.component.ts +87 -0
  203. package/src/app/webcommon/pages/ejecucion-reporte/detalle-ejecucion-reporte/detalle-ejecucion-reporte.page.html +158 -0
  204. package/src/app/webcommon/pages/ejecucion-reporte/detalle-ejecucion-reporte/detalle-ejecucion-reporte.page.scss +6 -0
  205. package/src/app/webcommon/pages/ejecucion-reporte/detalle-ejecucion-reporte/detalle-ejecucion-reporte.page.ts +345 -0
  206. package/src/app/webcommon/pages/ejecucion-reporte/detalle-entrada-reporte/detalle-entrada-reporte.component.html +131 -0
  207. package/src/app/webcommon/pages/ejecucion-reporte/detalle-entrada-reporte/detalle-entrada-reporte.component.scss +0 -0
  208. package/src/app/webcommon/pages/ejecucion-reporte/detalle-entrada-reporte/detalle-entrada-reporte.component.ts +198 -0
  209. package/src/app/webcommon/pages/ejecucion-reporte/detalle-punto-proceso-reporte/detalle-punto-proceso-reporte.component.html +206 -0
  210. package/src/app/webcommon/pages/ejecucion-reporte/detalle-punto-proceso-reporte/detalle-punto-proceso-reporte.component.scss +3 -0
  211. package/src/app/webcommon/pages/ejecucion-reporte/detalle-punto-proceso-reporte/detalle-punto-proceso-reporte.component.ts +329 -0
  212. package/src/app/webcommon/pages/ejecucion-reporte/detalle-tipo-reporte/detalle-tipo-reporte.component.html +1940 -0
  213. package/src/app/webcommon/pages/ejecucion-reporte/detalle-tipo-reporte/detalle-tipo-reporte.component.scss +241 -0
  214. package/src/app/webcommon/pages/ejecucion-reporte/detalle-tipo-reporte/detalle-tipo-reporte.component.ts +1550 -0
  215. package/src/app/webcommon/pages/ejecucion-reporte/listado-ejecucion-reporte/listado-ejecucion-reporte.page.html +33 -0
  216. package/src/app/webcommon/pages/ejecucion-reporte/listado-ejecucion-reporte/listado-ejecucion-reporte.page.scss +0 -0
  217. package/src/app/webcommon/pages/ejecucion-reporte/listado-ejecucion-reporte/listado-ejecucion-reporte.page.ts +96 -0
  218. package/src/app/webcommon/pages/ejecucion-reporte-externo/listado-ejecucion-reporte-externo/listado-ejecucion-reporte-externo.component.html +47 -0
  219. package/src/app/webcommon/pages/ejecucion-reporte-externo/listado-ejecucion-reporte-externo/listado-ejecucion-reporte-externo.component.scss +0 -0
  220. package/src/app/webcommon/pages/ejecucion-reporte-externo/listado-ejecucion-reporte-externo/listado-ejecucion-reporte-externo.component.ts +95 -0
  221. package/src/app/webcommon/pages/fuente/importar-fuente-con/importar-fuente-con.component.html +391 -0
  222. package/src/app/webcommon/pages/fuente/importar-fuente-con/importar-fuente-con.component.scss +10 -0
  223. package/src/app/webcommon/pages/fuente/importar-fuente-con/importar-fuente-con.component.ts +612 -0
  224. package/src/app/webcommon/pages/fuente/importar-fuente-general/importar-fuente-general.component.html +130 -0
  225. package/src/app/webcommon/pages/fuente/importar-fuente-general/importar-fuente-general.component.scss +0 -0
  226. package/src/app/webcommon/pages/fuente/importar-fuente-general/importar-fuente-general.component.ts +172 -0
  227. package/src/app/webcommon/pages/fuenteGeneral/fuente-general-servicio/fuente-general-servicio.component.html +145 -0
  228. package/src/app/webcommon/pages/fuenteGeneral/fuente-general-servicio/fuente-general-servicio.component.scss +0 -0
  229. package/src/app/webcommon/pages/fuenteGeneral/fuente-general-servicio/fuente-general-servicio.component.ts +300 -0
  230. package/src/app/webcommon/pages/fuenteGeneral/listado-fuente-general/listado-fuente-general.page.html +19 -0
  231. package/src/app/webcommon/pages/fuenteGeneral/listado-fuente-general/listado-fuente-general.page.scss +0 -0
  232. package/src/app/webcommon/pages/fuenteGeneral/listado-fuente-general/listado-fuente-general.page.ts +86 -0
  233. package/src/app/webcommon/pages/fuenteGeneral/mantenimiento-fuente-general/mantenimiento-fuente-general.page.html +703 -0
  234. package/src/app/webcommon/pages/fuenteGeneral/mantenimiento-fuente-general/mantenimiento-fuente-general.page.scss +0 -0
  235. package/src/app/webcommon/pages/fuenteGeneral/mantenimiento-fuente-general/mantenimiento-fuente-general.page.ts +682 -0
  236. package/src/app/webcommon/pipes/fuente.pipe.ts +207 -0
  237. package/src/app/webcommon/pipes/general.pipe.ts +1034 -0
  238. package/src/app/webcommon/pipes/reporte-columnario.pipe.ts +101 -0
  239. package/src/app/webcommon/pipes/reporte-fuente.pipe.ts +300 -0
  240. package/src/app/webcommon/pipes/sara-general.pipe.ts +289 -0
  241. package/src/app/webcommon/popups/popup-campos-fuente-general/popup-campos-fuente-general.component.html +90 -0
  242. package/src/app/webcommon/popups/popup-campos-fuente-general/popup-campos-fuente-general.component.scss +0 -0
  243. package/src/app/webcommon/popups/popup-campos-fuente-general/popup-campos-fuente-general.component.ts +248 -0
  244. package/src/app/webcommon/popups/popup-punto-proceso/popup-punto-proceso.component.html +41 -0
  245. package/src/app/webcommon/popups/popup-punto-proceso/popup-punto-proceso.component.scss +0 -0
  246. package/src/app/webcommon/popups/popup-punto-proceso/popup-punto-proceso.component.ts +283 -0
  247. package/src/app/webcommon/popups/popup-recurso/popup-recurso.component.html +175 -0
  248. package/src/app/webcommon/popups/popup-recurso/popup-recurso.component.scss +3 -0
  249. package/src/app/webcommon/popups/popup-recurso/popup-recurso.component.ts +265 -0
  250. package/src/app/webcommon/popups/popup-reporte/popup-reporte.component.html +261 -0
  251. package/src/app/webcommon/popups/popup-reporte/popup-reporte.component.scss +13 -0
  252. package/src/app/webcommon/popups/popup-reporte/popup-reporte.component.ts +512 -0
  253. package/src/app/webcommon/popups/popup-sentencia/popup-sentencia.component.html +10 -0
  254. package/src/app/webcommon/popups/popup-sentencia/popup-sentencia.component.scss +5 -0
  255. package/src/app/webcommon/popups/popup-sentencia/popup-sentencia.component.ts +58 -0
  256. package/src/app/webcommon/popups/punto-proceso-comp/punto-proceso-comp.component.html +11 -0
  257. package/src/app/webcommon/popups/punto-proceso-comp/punto-proceso-comp.component.scss +0 -0
  258. package/src/app/webcommon/popups/punto-proceso-comp/punto-proceso-comp.component.ts +82 -0
  259. package/src/app/webcommon/services/carguelinea.service.ts +72 -0
  260. package/src/app/webcommon/services/ejecucionreporte.service.ts +158 -0
  261. package/src/app/webcommon/services/fechaUtils.service.ts +120 -0
  262. package/src/app/webcommon/services/fuentegeneral.service.ts +74 -0
  263. package/src/app/webcommon/services/homologacion.service.ts +49 -0
  264. package/src/app/webcommon/services/plantillas.service.ts +49 -0
  265. package/src/app/webcommon/services/reportes.service.ts +60 -0
  266. package/src/app/webcommon/webcommon.module.ts +11 -0
  267. package/src/environments/environment.prod.ts +3 -0
  268. package/src/environments/environment.ts +23 -0
  269. package/src/favicon.ico +0 -0
  270. package/src/index.html +14 -0
  271. package/src/main.ts +6 -0
  272. package/src/polyfills.ts +53 -0
  273. package/src/styles/primeng/sass/overrides/_theme_styles.scss +2 -0
  274. package/src/styles/primeng/sass/overrides/_theme_styles_dark.scss +2 -0
  275. package/src/test.ts +14 -0
  276. package/tsconfig.app.json +15 -0
  277. package/tsconfig.json +35 -0
  278. package/tsconfig.spec.json +18 -0
  279. package/esm2022/general-library-union.mjs +0 -5
  280. package/esm2022/public-api.mjs +0 -170
  281. package/esm2022/src/app/core/componentes/breadcrumb/breadcrumb.component.mjs +0 -35
  282. package/esm2022/src/app/core/componentes/carga-pantalla-completa/carga-pantalla-completa.component.mjs +0 -28
  283. package/esm2022/src/app/core/componentes/filtro-general/filtro-general.component.mjs +0 -153
  284. package/esm2022/src/app/core/componentes/footer/footer.component.mjs +0 -22
  285. package/esm2022/src/app/core/componentes/formulariodinamico/formulariodinamico.component.mjs +0 -272
  286. package/esm2022/src/app/core/componentes/formulariodinamico/objetosformulario/Cambio.mjs +0 -11
  287. package/esm2022/src/app/core/componentes/formulariodinamico/objetosformulario/CampoFormulario.mjs +0 -124
  288. package/esm2022/src/app/core/componentes/formulariodinamico/objetosformulario/CampoFormularioCons.mjs +0 -73
  289. package/esm2022/src/app/core/componentes/formulariodinamico/objetosformulario/CampoFormularioNuevo.mjs +0 -59
  290. package/esm2022/src/app/core/componentes/formulariodinamico/objetosformulario/HashDirective.mjs +0 -21
  291. package/esm2022/src/app/core/componentes/inicio-component/inicio-component.component.mjs +0 -67
  292. package/esm2022/src/app/core/componentes/menu/menu.component.mjs +0 -37
  293. package/esm2022/src/app/core/componentes/tabla-general/tabla-general.component.mjs +0 -93
  294. package/esm2022/src/app/core/core.module.mjs +0 -23
  295. package/esm2022/src/app/core/errores/authentication.error.mjs +0 -7
  296. package/esm2022/src/app/core/modelos/error-response.model.mjs +0 -2
  297. package/esm2022/src/app/core/modelos/table-column.model.mjs +0 -2
  298. package/esm2022/src/app/core/modelos/user.model.mjs +0 -7
  299. package/esm2022/src/app/core/plantilla-general/plantilla-general.template.mjs +0 -225
  300. package/esm2022/src/app/core/servicios/auth.service.mjs +0 -180
  301. package/esm2022/src/app/core/servicios/cargar-control-funcionalidad.service.mjs +0 -57
  302. package/esm2022/src/app/core/servicios/data-exporter-table.utils.mjs +0 -44
  303. package/esm2022/src/app/core/servicios/error-interceptor.service.mjs +0 -147
  304. package/esm2022/src/app/core/servicios/guardias/auth.guard.mjs +0 -66
  305. package/esm2022/src/app/core/servicios/guardias/publico.guard.mjs +0 -30
  306. package/esm2022/src/app/core/servicios/interceptores/token-interceptor.service.mjs +0 -120
  307. package/esm2022/src/app/core/servicios/loading.service.mjs +0 -43
  308. package/esm2022/src/app/core/servicios/menu.service.mjs +0 -88
  309. package/esm2022/src/app/core/servicios/storage.service.mjs +0 -68
  310. package/esm2022/src/app/core/servicios/template.service.mjs +0 -99
  311. package/esm2022/src/app/core/servicios/toast.service.mjs +0 -91
  312. package/esm2022/src/app/core/servicios/utils.service.mjs +0 -305
  313. package/esm2022/src/app/core/sharedlib.module.mjs +0 -16
  314. package/esm2022/src/app/core/utilidades/color.util.mjs +0 -177
  315. package/esm2022/src/app/layout/api/menuchangeevent.mjs +0 -2
  316. package/esm2022/src/app/layout/app.breadcrumb.component.mjs +0 -66
  317. package/esm2022/src/app/layout/app.footer.component.mjs +0 -21
  318. package/esm2022/src/app/layout/app.layout.component.mjs +0 -188
  319. package/esm2022/src/app/layout/app.layout.module.mjs +0 -15
  320. package/esm2022/src/app/layout/app.menu.component.mjs +0 -40
  321. package/esm2022/src/app/layout/app.menu.service.mjs +0 -24
  322. package/esm2022/src/app/layout/app.menuitem.component.mjs +0 -295
  323. package/esm2022/src/app/layout/app.menuprofile.component.mjs +0 -78
  324. package/esm2022/src/app/layout/app.rightmenu.component.mjs +0 -24
  325. package/esm2022/src/app/layout/app.sidebar.component.mjs +0 -91
  326. package/esm2022/src/app/layout/app.topbar.component.mjs +0 -334
  327. package/esm2022/src/app/layout/service/app.layout.service.mjs +0 -134
  328. package/esm2022/src/app/publico/pages/login/login.page.mjs +0 -127
  329. package/esm2022/src/app/publico/pages/not-found/not-found.page.mjs +0 -47
  330. package/esm2022/src/app/publico/pages/seleccion-rol/seleccion-rol.component.mjs +0 -159
  331. package/esm2022/src/app/publico/pages/timeout/timeout.page.mjs +0 -20
  332. package/esm2022/src/app/seguridad/modelos/AplicacionModel.mjs +0 -8
  333. package/esm2022/src/app/seguridad/modelos/ArchivoPortalModel.mjs +0 -14
  334. package/esm2022/src/app/seguridad/modelos/AtributoPuntoModel.mjs +0 -9
  335. package/esm2022/src/app/seguridad/modelos/AtributoSSOportalModel.mjs +0 -17
  336. package/esm2022/src/app/seguridad/modelos/AuditoriaArchivoModel.mjs +0 -11
  337. package/esm2022/src/app/seguridad/modelos/CargueLineaModel.mjs +0 -13
  338. package/esm2022/src/app/seguridad/modelos/ColoresRGB.mjs +0 -18
  339. package/esm2022/src/app/seguridad/modelos/ComplementoModel.mjs +0 -7
  340. package/esm2022/src/app/seguridad/modelos/ComponentePaginaModel.mjs +0 -21
  341. package/esm2022/src/app/seguridad/modelos/ConexionModel.mjs +0 -14
  342. package/esm2022/src/app/seguridad/modelos/ContenidoHtmlPortalModel.mjs +0 -21
  343. package/esm2022/src/app/seguridad/modelos/ControlFuncionModel.mjs +0 -8
  344. package/esm2022/src/app/seguridad/modelos/CorreoModel.mjs +0 -35
  345. package/esm2022/src/app/seguridad/modelos/CorreoWSModel.mjs +0 -37
  346. package/esm2022/src/app/seguridad/modelos/CruceRecursoPuntoModel.mjs +0 -14
  347. package/esm2022/src/app/seguridad/modelos/DatoInicioModel.mjs +0 -6
  348. package/esm2022/src/app/seguridad/modelos/EjecucionReporteDataModel.mjs +0 -14
  349. package/esm2022/src/app/seguridad/modelos/EmpresaModel.mjs +0 -25
  350. package/esm2022/src/app/seguridad/modelos/EmpresaSeguridadModel.mjs +0 -19
  351. package/esm2022/src/app/seguridad/modelos/EntradaComplementoModel.mjs +0 -7
  352. package/esm2022/src/app/seguridad/modelos/EtiquetaModel.mjs +0 -5
  353. package/esm2022/src/app/seguridad/modelos/Etiquetas.mjs +0 -12
  354. package/esm2022/src/app/seguridad/modelos/FuenteCampoAtributoModel.mjs +0 -16
  355. package/esm2022/src/app/seguridad/modelos/FuenteCampoModel.mjs +0 -17
  356. package/esm2022/src/app/seguridad/modelos/FuenteDato.mjs +0 -19
  357. package/esm2022/src/app/seguridad/modelos/FuenteEntradaModel.mjs +0 -9
  358. package/esm2022/src/app/seguridad/modelos/FuenteGeneralModel.mjs +0 -37
  359. package/esm2022/src/app/seguridad/modelos/FuenteLineaServicioModel.mjs +0 -16
  360. package/esm2022/src/app/seguridad/modelos/FuenteProcesoGeneralModel.mjs +0 -11
  361. package/esm2022/src/app/seguridad/modelos/FuenteServicioModel.mjs +0 -51
  362. package/esm2022/src/app/seguridad/modelos/FuncionalidadModel.mjs +0 -10
  363. package/esm2022/src/app/seguridad/modelos/GeneralModel.mjs +0 -15
  364. package/esm2022/src/app/seguridad/modelos/GrupoAccesoModel.mjs +0 -7
  365. package/esm2022/src/app/seguridad/modelos/GrupoControlFuncionModel.mjs +0 -10
  366. package/esm2022/src/app/seguridad/modelos/GrupoFuenteModel.mjs +0 -13
  367. package/esm2022/src/app/seguridad/modelos/GrupoPermisoModel.mjs +0 -14
  368. package/esm2022/src/app/seguridad/modelos/ListaServicioModel.mjs +0 -17
  369. package/esm2022/src/app/seguridad/modelos/LoginModel.mjs +0 -15
  370. package/esm2022/src/app/seguridad/modelos/MensajeSistemaModel.mjs +0 -8
  371. package/esm2022/src/app/seguridad/modelos/MenuPortalModel.mjs +0 -5
  372. package/esm2022/src/app/seguridad/modelos/ModulosModel.mjs +0 -18
  373. package/esm2022/src/app/seguridad/modelos/PaginaPortalModel.mjs +0 -20
  374. package/esm2022/src/app/seguridad/modelos/ParametroComponenteModel.mjs +0 -9
  375. package/esm2022/src/app/seguridad/modelos/ParametrosGeneralModel.mjs +0 -15
  376. package/esm2022/src/app/seguridad/modelos/PermisoFuncionModel.mjs +0 -9
  377. package/esm2022/src/app/seguridad/modelos/PermisocontenidoModel.mjs +0 -20
  378. package/esm2022/src/app/seguridad/modelos/PeticionModel.mjs +0 -16
  379. package/esm2022/src/app/seguridad/modelos/PreguntaSeguridadModel.mjs +0 -7
  380. package/esm2022/src/app/seguridad/modelos/PropiedadModel.mjs +0 -10
  381. package/esm2022/src/app/seguridad/modelos/PublicacionWebModel.mjs +0 -27
  382. package/esm2022/src/app/seguridad/modelos/PuntoProcesoModel.mjs +0 -7
  383. package/esm2022/src/app/seguridad/modelos/RecursoPunto.mjs +0 -13
  384. package/esm2022/src/app/seguridad/modelos/RecursoPuntoModel.mjs +0 -13
  385. package/esm2022/src/app/seguridad/modelos/ReporteBanda.mjs +0 -8
  386. package/esm2022/src/app/seguridad/modelos/ReporteColumna.mjs +0 -33
  387. package/esm2022/src/app/seguridad/modelos/ReporteColumnario.mjs +0 -69
  388. package/esm2022/src/app/seguridad/modelos/ReporteColumnarioMarcador.mjs +0 -24
  389. package/esm2022/src/app/seguridad/modelos/ReporteEntradaModel.mjs +0 -20
  390. package/esm2022/src/app/seguridad/modelos/ReporteFuenteModel.mjs +0 -124
  391. package/esm2022/src/app/seguridad/modelos/ReporteMarcador.mjs +0 -40
  392. package/esm2022/src/app/seguridad/modelos/ReporteSoporte.mjs +0 -10
  393. package/esm2022/src/app/seguridad/modelos/ReporteTabla.mjs +0 -13
  394. package/esm2022/src/app/seguridad/modelos/RespuestaModel.mjs +0 -9
  395. package/esm2022/src/app/seguridad/modelos/RolModel.mjs +0 -39
  396. package/esm2022/src/app/seguridad/modelos/ServidorCorreoModel.mjs +0 -28
  397. package/esm2022/src/app/seguridad/modelos/SistemaMensajeModel.mjs +0 -9
  398. package/esm2022/src/app/seguridad/modelos/SitioPortalModel.mjs +0 -25
  399. package/esm2022/src/app/seguridad/modelos/TareasModel.mjs +0 -54
  400. package/esm2022/src/app/seguridad/modelos/TextoModel.mjs +0 -9
  401. package/esm2022/src/app/seguridad/modelos/TipoEtiqueta.mjs +0 -8
  402. package/esm2022/src/app/seguridad/modelos/UnionModel.mjs +0 -12
  403. package/esm2022/src/app/seguridad/modelos/UsuarioModel.mjs +0 -53
  404. package/esm2022/src/app/seguridad/modelos/UsuariogrupoModel.mjs +0 -24
  405. package/esm2022/src/app/seguridad/modelos/aplicacion-propiedad-model.mjs +0 -15
  406. package/esm2022/src/app/seguridad/modelos/contenidoCorreoModel.mjs +0 -10
  407. package/esm2022/src/app/shared/componentes/input-helper-seleccion-plantilla/input-helper-seleccion-plantilla.component.mjs +0 -151
  408. package/esm2022/src/app/shared/servicios/cargar-archivos.service.mjs +0 -54
  409. package/esm2022/src/app/shared/servicios/cargar-mapas.service.mjs +0 -46
  410. package/esm2022/src/app/shared/servicios/encriptado-basico.service.mjs +0 -53
  411. package/esm2022/src/app/shared/servicios/general.service.mjs +0 -104
  412. package/esm2022/src/app/shared/servicios/parametros-navegacion.service.mjs +0 -21
  413. package/esm2022/src/app/webcommon/pages/ejecucion-reporte/detalle-campo-reporte/detalle-campo-reporte.component.mjs +0 -187
  414. package/esm2022/src/app/webcommon/pages/ejecucion-reporte/detalle-distribucion-reporte/detalle-distribucion-reporte.component.mjs +0 -85
  415. package/esm2022/src/app/webcommon/pages/ejecucion-reporte/detalle-ejecucion-reporte/detalle-ejecucion-reporte.page.mjs +0 -347
  416. package/esm2022/src/app/webcommon/pages/ejecucion-reporte/detalle-entrada-reporte/detalle-entrada-reporte.component.mjs +0 -206
  417. package/esm2022/src/app/webcommon/pages/ejecucion-reporte/detalle-punto-proceso-reporte/detalle-punto-proceso-reporte.component.mjs +0 -328
  418. package/esm2022/src/app/webcommon/pages/ejecucion-reporte/detalle-tipo-reporte/detalle-tipo-reporte.component.mjs +0 -1448
  419. package/esm2022/src/app/webcommon/pages/ejecucion-reporte/listado-ejecucion-reporte/listado-ejecucion-reporte.page.mjs +0 -105
  420. package/esm2022/src/app/webcommon/pages/ejecucion-reporte-externo/listado-ejecucion-reporte-externo/listado-ejecucion-reporte-externo.component.mjs +0 -95
  421. package/esm2022/src/app/webcommon/pages/fuente/importar-fuente-con/importar-fuente-con.component.mjs +0 -599
  422. package/esm2022/src/app/webcommon/pages/fuente/importar-fuente-general/importar-fuente-general.component.mjs +0 -177
  423. package/esm2022/src/app/webcommon/pages/fuenteGeneral/fuente-general-servicio/fuente-general-servicio.component.mjs +0 -327
  424. package/esm2022/src/app/webcommon/pages/fuenteGeneral/listado-fuente-general/listado-fuente-general.page.mjs +0 -93
  425. package/esm2022/src/app/webcommon/pages/fuenteGeneral/mantenimiento-fuente-general/mantenimiento-fuente-general.page.mjs +0 -671
  426. package/esm2022/src/app/webcommon/pipes/fuente.pipe.mjs +0 -201
  427. package/esm2022/src/app/webcommon/pipes/general.pipe.mjs +0 -907
  428. package/esm2022/src/app/webcommon/pipes/reporte-columnario.pipe.mjs +0 -115
  429. package/esm2022/src/app/webcommon/pipes/reporte-fuente.pipe.mjs +0 -296
  430. package/esm2022/src/app/webcommon/popups/popup-campos-fuente-general/popup-campos-fuente-general.component.mjs +0 -253
  431. package/esm2022/src/app/webcommon/popups/popup-punto-proceso/popup-punto-proceso.component.mjs +0 -293
  432. package/esm2022/src/app/webcommon/popups/popup-recurso/popup-recurso.component.mjs +0 -268
  433. package/esm2022/src/app/webcommon/popups/popup-reporte/popup-reporte.component.mjs +0 -508
  434. package/esm2022/src/app/webcommon/popups/popup-sentencia/popup-sentencia.component.mjs +0 -64
  435. package/esm2022/src/app/webcommon/popups/punto-proceso-comp/punto-proceso-comp.component.mjs +0 -89
  436. package/esm2022/src/app/webcommon/services/carguelinea.service.mjs +0 -69
  437. package/esm2022/src/app/webcommon/services/ejecucionreporte.service.mjs +0 -114
  438. package/esm2022/src/app/webcommon/services/fechaUtils.service.mjs +0 -88
  439. package/esm2022/src/app/webcommon/services/fuentegeneral.service.mjs +0 -68
  440. package/esm2022/src/app/webcommon/services/homologacion.service.mjs +0 -50
  441. package/esm2022/src/app/webcommon/services/plantillas.service.mjs +0 -53
  442. package/esm2022/src/app/webcommon/services/reportes.service.mjs +0 -53
  443. package/esm2022/src/app/webcommon/webcommon.module.mjs +0 -15
  444. package/esm2022/src/environments/environment.mjs +0 -22
  445. package/fesm2022/general-library-union.mjs +0 -13507
  446. package/fesm2022/general-library-union.mjs.map +0 -1
  447. package/index.d.ts +0 -5
  448. package/src/app/core/componentes/breadcrumb/breadcrumb.component.d.ts +0 -18
  449. package/src/app/core/componentes/carga-pantalla-completa/carga-pantalla-completa.component.d.ts +0 -14
  450. package/src/app/core/componentes/filtro-general/filtro-general.component.d.ts +0 -26
  451. package/src/app/core/componentes/footer/footer.component.d.ts +0 -11
  452. package/src/app/core/componentes/formulariodinamico/formulariodinamico.component.d.ts +0 -46
  453. package/src/app/core/componentes/formulariodinamico/objetosformulario/CampoFormulario.d.ts +0 -44
  454. package/src/app/core/componentes/formulariodinamico/objetosformulario/CampoFormularioCons.d.ts +0 -45
  455. package/src/app/core/componentes/formulariodinamico/objetosformulario/CampoFormularioNuevo.d.ts +0 -33
  456. package/src/app/core/componentes/formulariodinamico/objetosformulario/HashDirective.d.ts +0 -9
  457. package/src/app/core/componentes/inicio-component/inicio-component.component.d.ts +0 -24
  458. package/src/app/core/componentes/menu/menu.component.d.ts +0 -16
  459. package/src/app/core/componentes/tabla-general/tabla-general.component.d.ts +0 -32
  460. package/src/app/core/core.module.d.ts +0 -8
  461. package/src/app/core/errores/authentication.error.d.ts +0 -3
  462. package/src/app/core/modelos/error-response.model.d.ts +0 -9
  463. package/src/app/core/modelos/table-column.model.d.ts +0 -12
  464. package/src/app/core/modelos/user.model.d.ts +0 -6
  465. package/src/app/core/plantilla-general/plantilla-general.template.d.ts +0 -89
  466. package/src/app/core/servicios/auth.service.d.ts +0 -52
  467. package/src/app/core/servicios/cargar-control-funcionalidad.service.d.ts +0 -19
  468. package/src/app/core/servicios/data-exporter-table.utils.d.ts +0 -8
  469. package/src/app/core/servicios/error-interceptor.service.d.ts +0 -41
  470. package/src/app/core/servicios/guardias/auth.guard.d.ts +0 -17
  471. package/src/app/core/servicios/guardias/publico.guard.d.ts +0 -13
  472. package/src/app/core/servicios/interceptores/token-interceptor.service.d.ts +0 -21
  473. package/src/app/core/servicios/loading.service.d.ts +0 -22
  474. package/src/app/core/servicios/menu.service.d.ts +0 -34
  475. package/src/app/core/servicios/storage.service.d.ts +0 -37
  476. package/src/app/core/servicios/template.service.d.ts +0 -20
  477. package/src/app/core/servicios/toast.service.d.ts +0 -46
  478. package/src/app/core/servicios/utils.service.d.ts +0 -40
  479. package/src/app/core/sharedlib.module.d.ts +0 -6
  480. package/src/app/core/utilidades/color.util.d.ts +0 -70
  481. package/src/app/layout/app.breadcrumb.component.d.ts +0 -28
  482. package/src/app/layout/app.footer.component.d.ts +0 -10
  483. package/src/app/layout/app.layout.component.d.ts +0 -39
  484. package/src/app/layout/app.layout.module.d.ts +0 -6
  485. package/src/app/layout/app.menu.component.d.ts +0 -19
  486. package/src/app/layout/app.menu.service.d.ts +0 -12
  487. package/src/app/layout/app.menuitem.component.d.ts +0 -40
  488. package/src/app/layout/app.menuprofile.component.d.ts +0 -18
  489. package/src/app/layout/app.rightmenu.component.d.ts +0 -10
  490. package/src/app/layout/app.sidebar.component.d.ts +0 -33
  491. package/src/app/layout/app.topbar.component.d.ts +0 -78
  492. package/src/app/layout/service/app.layout.service.d.ts +0 -57
  493. package/src/app/publico/pages/login/login.page.d.ts +0 -40
  494. package/src/app/publico/pages/not-found/not-found.page.d.ts +0 -16
  495. package/src/app/publico/pages/seleccion-rol/seleccion-rol.component.d.ts +0 -41
  496. package/src/app/publico/pages/timeout/timeout.page.d.ts +0 -10
  497. package/src/app/seguridad/modelos/AplicacionModel.d.ts +0 -7
  498. package/src/app/seguridad/modelos/ArchivoPortalModel.d.ts +0 -13
  499. package/src/app/seguridad/modelos/AtributoPuntoModel.d.ts +0 -8
  500. package/src/app/seguridad/modelos/AtributoSSOportalModel.d.ts +0 -16
  501. package/src/app/seguridad/modelos/CargueLineaModel.d.ts +0 -12
  502. package/src/app/seguridad/modelos/ColoresRGB.d.ts +0 -17
  503. package/src/app/seguridad/modelos/ComplementoModel.d.ts +0 -6
  504. package/src/app/seguridad/modelos/ComponentePaginaModel.d.ts +0 -20
  505. package/src/app/seguridad/modelos/ConexionModel.d.ts +0 -13
  506. package/src/app/seguridad/modelos/ControlFuncionModel.d.ts +0 -7
  507. package/src/app/seguridad/modelos/CorreoModel.d.ts +0 -31
  508. package/src/app/seguridad/modelos/CorreoWSModel.d.ts +0 -33
  509. package/src/app/seguridad/modelos/CruceRecursoPuntoModel.d.ts +0 -13
  510. package/src/app/seguridad/modelos/EmpresaModel.d.ts +0 -23
  511. package/src/app/seguridad/modelos/EmpresaSeguridadModel.d.ts +0 -18
  512. package/src/app/seguridad/modelos/EtiquetaModel.d.ts +0 -4
  513. package/src/app/seguridad/modelos/Etiquetas.d.ts +0 -10
  514. package/src/app/seguridad/modelos/FuenteCampoAtributoModel.d.ts +0 -15
  515. package/src/app/seguridad/modelos/FuenteDato.d.ts +0 -18
  516. package/src/app/seguridad/modelos/FuenteEntradaModel.d.ts +0 -8
  517. package/src/app/seguridad/modelos/FuenteLineaServicioModel.d.ts +0 -16
  518. package/src/app/seguridad/modelos/FuenteProcesoGeneralModel.d.ts +0 -10
  519. package/src/app/seguridad/modelos/FuncionalidadModel.d.ts +0 -8
  520. package/src/app/seguridad/modelos/GeneralModel.d.ts +0 -8
  521. package/src/app/seguridad/modelos/GrupoControlFuncionModel.d.ts +0 -9
  522. package/src/app/seguridad/modelos/GrupoFuenteModel.d.ts +0 -13
  523. package/src/app/seguridad/modelos/GrupoPermisoModel.d.ts +0 -13
  524. package/src/app/seguridad/modelos/ListaServicioModel.d.ts +0 -16
  525. package/src/app/seguridad/modelos/LoginModel.d.ts +0 -17
  526. package/src/app/seguridad/modelos/MensajeSistemaModel.d.ts +0 -7
  527. package/src/app/seguridad/modelos/ModulosModel.d.ts +0 -14
  528. package/src/app/seguridad/modelos/PaginaPortalModel.d.ts +0 -19
  529. package/src/app/seguridad/modelos/ParametroComponenteModel.d.ts +0 -8
  530. package/src/app/seguridad/modelos/ParametrosGeneralModel.d.ts +0 -8
  531. package/src/app/seguridad/modelos/PermisoFuncionModel.d.ts +0 -8
  532. package/src/app/seguridad/modelos/PermisocontenidoModel.d.ts +0 -18
  533. package/src/app/seguridad/modelos/PreguntaSeguridadModel.d.ts +0 -6
  534. package/src/app/seguridad/modelos/PropiedadModel.d.ts +0 -9
  535. package/src/app/seguridad/modelos/PublicacionWebModel.d.ts +0 -25
  536. package/src/app/seguridad/modelos/PuntoProcesoModel.d.ts +0 -6
  537. package/src/app/seguridad/modelos/RecursoPunto.d.ts +0 -12
  538. package/src/app/seguridad/modelos/RecursoPuntoModel.d.ts +0 -12
  539. package/src/app/seguridad/modelos/ReporteBanda.d.ts +0 -7
  540. package/src/app/seguridad/modelos/ReporteColumna.d.ts +0 -32
  541. package/src/app/seguridad/modelos/ReporteColumnario.d.ts +0 -68
  542. package/src/app/seguridad/modelos/ReporteColumnarioMarcador.d.ts +0 -23
  543. package/src/app/seguridad/modelos/ReporteMarcador.d.ts +0 -39
  544. package/src/app/seguridad/modelos/ReporteSoporte.d.ts +0 -9
  545. package/src/app/seguridad/modelos/ReporteTabla.d.ts +0 -12
  546. package/src/app/seguridad/modelos/RespuestaModel.d.ts +0 -8
  547. package/src/app/seguridad/modelos/ServidorCorreoModel.d.ts +0 -25
  548. package/src/app/seguridad/modelos/SistemaMensajeModel.d.ts +0 -8
  549. package/src/app/seguridad/modelos/SitioPortalModel.d.ts +0 -24
  550. package/src/app/seguridad/modelos/TareasModel.d.ts +0 -49
  551. package/src/app/seguridad/modelos/TextoModel.d.ts +0 -8
  552. package/src/app/seguridad/modelos/TipoEtiqueta.d.ts +0 -7
  553. package/src/app/seguridad/modelos/UnionModel.d.ts +0 -11
  554. package/src/app/seguridad/modelos/UsuariogrupoModel.d.ts +0 -22
  555. package/src/app/seguridad/modelos/aplicacion-propiedad-model.d.ts +0 -13
  556. package/src/app/seguridad/modelos/contenidoCorreoModel.d.ts +0 -9
  557. package/src/app/shared/componentes/input-helper-seleccion-plantilla/input-helper-seleccion-plantilla.component.d.ts +0 -47
  558. package/src/app/shared/servicios/cargar-archivos.service.d.ts +0 -15
  559. package/src/app/shared/servicios/cargar-mapas.service.d.ts +0 -18
  560. package/src/app/shared/servicios/encriptado-basico.service.d.ts +0 -10
  561. package/src/app/shared/servicios/general.service.d.ts +0 -24
  562. package/src/app/shared/servicios/parametros-navegacion.service.d.ts +0 -9
  563. package/src/app/webcommon/pages/ejecucion-reporte/detalle-campo-reporte/detalle-campo-reporte.component.d.ts +0 -79
  564. package/src/app/webcommon/pages/ejecucion-reporte/detalle-distribucion-reporte/detalle-distribucion-reporte.component.d.ts +0 -29
  565. package/src/app/webcommon/pages/ejecucion-reporte/detalle-ejecucion-reporte/detalle-ejecucion-reporte.page.d.ts +0 -69
  566. package/src/app/webcommon/pages/ejecucion-reporte/detalle-entrada-reporte/detalle-entrada-reporte.component.d.ts +0 -51
  567. package/src/app/webcommon/pages/ejecucion-reporte/detalle-punto-proceso-reporte/detalle-punto-proceso-reporte.component.d.ts +0 -77
  568. package/src/app/webcommon/pages/ejecucion-reporte/detalle-tipo-reporte/detalle-tipo-reporte.component.d.ts +0 -251
  569. package/src/app/webcommon/pages/ejecucion-reporte/listado-ejecucion-reporte/listado-ejecucion-reporte.page.d.ts +0 -42
  570. package/src/app/webcommon/pages/ejecucion-reporte-externo/listado-ejecucion-reporte-externo/listado-ejecucion-reporte-externo.component.d.ts +0 -33
  571. package/src/app/webcommon/pages/fuente/importar-fuente-con/importar-fuente-con.component.d.ts +0 -143
  572. package/src/app/webcommon/pages/fuente/importar-fuente-general/importar-fuente-general.component.d.ts +0 -49
  573. package/src/app/webcommon/pages/fuenteGeneral/fuente-general-servicio/fuente-general-servicio.component.d.ts +0 -64
  574. package/src/app/webcommon/pages/fuenteGeneral/listado-fuente-general/listado-fuente-general.page.d.ts +0 -33
  575. package/src/app/webcommon/pages/fuenteGeneral/mantenimiento-fuente-general/mantenimiento-fuente-general.page.d.ts +0 -148
  576. package/src/app/webcommon/pipes/fuente.pipe.d.ts +0 -136
  577. package/src/app/webcommon/pipes/general.pipe.d.ts +0 -637
  578. package/src/app/webcommon/pipes/reporte-columnario.pipe.d.ts +0 -59
  579. package/src/app/webcommon/pipes/reporte-fuente.pipe.d.ts +0 -189
  580. package/src/app/webcommon/popups/popup-campos-fuente-general/popup-campos-fuente-general.component.d.ts +0 -58
  581. package/src/app/webcommon/popups/popup-punto-proceso/popup-punto-proceso.component.d.ts +0 -64
  582. package/src/app/webcommon/popups/popup-recurso/popup-recurso.component.d.ts +0 -63
  583. package/src/app/webcommon/popups/popup-reporte/popup-reporte.component.d.ts +0 -97
  584. package/src/app/webcommon/popups/popup-sentencia/popup-sentencia.component.d.ts +0 -21
  585. package/src/app/webcommon/popups/punto-proceso-comp/punto-proceso-comp.component.d.ts +0 -30
  586. package/src/app/webcommon/services/carguelinea.service.d.ts +0 -19
  587. package/src/app/webcommon/services/ejecucionreporte.service.d.ts +0 -34
  588. package/src/app/webcommon/services/fechaUtils.service.d.ts +0 -28
  589. package/src/app/webcommon/services/fuentegeneral.service.d.ts +0 -24
  590. package/src/app/webcommon/services/homologacion.service.d.ts +0 -17
  591. package/src/app/webcommon/services/plantillas.service.d.ts +0 -17
  592. package/src/app/webcommon/services/reportes.service.d.ts +0 -19
  593. package/src/app/webcommon/webcommon.module.d.ts +0 -6
  594. package/src/environments/environment.d.ts +0 -4
@@ -0,0 +1,512 @@
1
+ import { Component, EventEmitter, Input, OnInit, Output } from '@angular/core';
2
+ import { TranslateModule, TranslateService } from '@ngx-translate/core';
3
+ import { GeneralPipe } from '../../pipes/general.pipe';
4
+ import { GeneralService } from '../../../shared/servicios/general.service';
5
+ import { GeneralModel } from '../../../seguridad/modelos/GeneralModel';
6
+ import { CargarArchivosService } from '../../../shared/servicios/cargar-archivos.service';
7
+ import { EncriptadoBasicoService } from '../../../shared/servicios/encriptado-basico.service';
8
+ import { ConfirmationService, MenuItem, MessageService } from 'primeng/api';
9
+ import { ReporteFuentePipe } from '../../pipes/reporte-fuente.pipe';
10
+ import { EjecucionReporteService } from '../../services/ejecucionreporte.service';
11
+ import { ReporteFuenteModel } from '../../../seguridad/modelos/ReporteFuenteModel';
12
+ import { ReporteEntradaModel } from '../../../seguridad/modelos/ReporteEntradaModel';
13
+ import { ReporteSoporteModel } from '../../../seguridad/modelos/ReporteSoporte';
14
+ import { TableColumn } from '../../../core/modelos/table-column.model';
15
+ import { ToastService } from '../../../core/servicios/toast.service';
16
+ import { UtilsService } from '../../../core/servicios/utils.service';
17
+ import { AuthService } from '../../../core/servicios/auth.service';
18
+ import { CargarControlFuncionalidadService } from '../../../core/servicios/cargar-control-funcionalidad.service';
19
+ import { DialogModule } from 'primeng/dialog';
20
+ import { ConfirmPopupModule } from 'primeng/confirmpopup';
21
+ import { AccordionModule } from 'primeng/accordion';
22
+ import { TableModule } from 'primeng/table';
23
+ import { CommonModule, DatePipe } from '@angular/common';
24
+ import { FieldsetModule } from 'primeng/fieldset';
25
+ import { InputNumberModule } from 'primeng/inputnumber';
26
+ import { InputTextModule } from 'primeng/inputtext';
27
+ import { DropdownModule } from 'primeng/dropdown';
28
+ import { CalendarModule } from 'primeng/calendar';
29
+ import { RadioButtonModule } from 'primeng/radiobutton';
30
+ import { PopupSentenciaComponent } from '../popup-sentencia/popup-sentencia.component';
31
+ import { FormsModule } from '@angular/forms';
32
+ import { FloatLabelModule } from 'primeng/floatlabel';
33
+
34
+ @Component({
35
+ selector: 'app-popup-reporte',
36
+ imports: [CommonModule, DialogModule, ConfirmPopupModule, AccordionModule, TableModule, TranslateModule, DatePipe, FieldsetModule, InputNumberModule, InputTextModule, DropdownModule, CalendarModule, RadioButtonModule, PopupSentenciaComponent, FormsModule, FloatLabelModule],
37
+ standalone: true,
38
+ providers: [MessageService, ConfirmationService],
39
+ templateUrl: './popup-reporte.component.html',
40
+ styleUrls: ['./popup-reporte.component.scss']
41
+ })
42
+ export class PopupReporteComponent implements OnInit {
43
+
44
+ @Input() public mostrar = false;
45
+ @Input() public aplicacion: string;
46
+ @Input() public reporte: ReporteFuenteModel = new ReporteFuenteModel;
47
+ @Input() public entradasPuntoProceso: any[]=[];
48
+ @Output() public regresar: EventEmitter<any> = new EventEmitter();
49
+
50
+ public panel: string = 'entrada';
51
+ public operacion: string;
52
+ public listaEntrada: ReporteEntradaModel[] = [];
53
+ public listaSegundoPlano: any[] = [];
54
+ public parametros: any[] = [];
55
+ public elementoBorrar: any = {};
56
+ public generaciones: any[] = [];
57
+ public operaciones: any[] = [];
58
+ public mostrarOtraSeleccion: boolean;
59
+ public mostrarArchivosSoporte: boolean;
60
+ public mostrarConsultaCasoError: boolean;
61
+ public correo: string;
62
+ public tipoReporte: string;
63
+ public soporteBase: string;
64
+ public tipoArchivo: string;
65
+ public bloquearCorreo: boolean;
66
+ public mapaTipoArchivos;
67
+ public listadoArchivoSoporte: ReporteSoporteModel[] = [];
68
+ public mostrarPopupSentencia: boolean;
69
+
70
+ public items: MenuItem[];
71
+ public vistaVisualizar: string;
72
+ paginator={rows:2,totalRecords:0}
73
+ public mostrarParametros: boolean;
74
+ public mostrarQueDeseaHacer: boolean;
75
+
76
+ public columnas: TableColumn[] = [];
77
+ public listaRegistro: any[] = [];
78
+
79
+ public existeJasper: boolean = false;
80
+
81
+ constructor(private generalService: GeneralService,
82
+ private ejecucionReporteService: EjecucionReporteService,
83
+ private confirmationService: ConfirmationService,
84
+ private notificacionService: ToastService,
85
+ private authService: AuthService,
86
+ private translateService: TranslateService,
87
+ private cargarArchivoService: CargarArchivosService,
88
+ public utilsService: UtilsService,
89
+ private controlFuncionalidad: CargarControlFuncionalidadService,
90
+ private encriptadoBasico: EncriptadoBasicoService,
91
+ private reporteFuentePipe: ReporteFuentePipe,
92
+ private generalPipe: GeneralPipe,
93
+ private cargarArchivo: CargarArchivosService,
94
+ private encriptadorArchivo: EncriptadoBasicoService,) { }
95
+
96
+ ngOnInit(): void {
97
+ this.mapaTipoArchivos = this.reporteFuentePipe.MAPA_TIPO_ARCHIVOS;
98
+ }
99
+
100
+ async mostrarPopup(){
101
+ this.panel = 'entrada';
102
+ this.mostrarQueDeseaHacer = false;
103
+ this.tipoReporte = null;
104
+ this.mostrarConsultaCasoError = this.validarControlFuncionalidad('reporte:versentenciaerror');
105
+ this.operacion = null;
106
+ this.elementoBorrar = {}
107
+ this.listaSegundoPlano = []
108
+ this.listaRegistro = [];
109
+ this.columnas = [];
110
+ this.existeJasper = false;
111
+ if (this.reporte.llave) {
112
+ var resultado = await this.ejecucionReporteService.getDatosEjecucionReporte({llave: this.reporte.llave}).toPromise();
113
+ this.reporte = resultado.reporte;
114
+ delete this.reporte['alias']
115
+ this.cargarListaEntrada();
116
+ this.traerSegundoPlano();
117
+ this.cargarCorreo();
118
+ await this.validarExisteJasper();
119
+ await this.cargarGeneraciones();
120
+ this.cargarOperaciones();
121
+
122
+ }
123
+ }
124
+
125
+ cargarMenu(){
126
+ this.items = [
127
+
128
+ {
129
+ label: this.translateService.instant('ejecucion'),
130
+ icon: 'glyphicons glyphicons-plus-sign',
131
+ command: (event) => {
132
+ this.vistaVisualizar = 'entrada';
133
+ },
134
+ },
135
+ {
136
+ label: this.translateService.instant('segundoplano'),
137
+ icon: 'glyphicons glyphicons-file-minus',
138
+ command: (event) => {
139
+ this.vistaVisualizar = 'segundoplano';
140
+ },
141
+ visible: this.listaSegundoPlano.length > 0,
142
+ }
143
+ ]
144
+ }
145
+
146
+ async cargarGeneraciones(){
147
+ this.generaciones = [];
148
+ if ( this.utilsService.isNotBlank(this.reporte.tituloParametro) && this.existeJasper){
149
+ this.generaciones.push({value: this.reporteFuentePipe.GENERACION_JASPERDINAMICO,
150
+ label: this.reporteFuentePipe.DESC_GENERACION_JASPERDINAMICO})
151
+ }
152
+ if (this.utilsService.isNotBlank(this.reporte.jasperFijo) && this.utilsService.isNotBlank(this.reporte.modoFijo)){
153
+ this.generaciones.push({value: this.reporteFuentePipe.GENERACION_JASPERFIJO,
154
+ label: this.reporteFuentePipe.DESC_GENERACION_JASPERFIJO})
155
+ }
156
+ if (this.utilsService.isNotBlank(this.reporte.archivoTodo) && this.utilsService.isNotBlank(this.reporte.hojaExcel)){
157
+ this.generaciones.push({value: this.reporteFuentePipe.GENERACION_EXCEL,
158
+ label: this.reporteFuentePipe.DESC_GENERACION_EXCEL})
159
+ }
160
+ if (this.utilsService.isNotBlank(this.reporte.archivoIndividual) || this.reporte.unicoArchivo == 'N'){
161
+ this.generaciones.push({value: this.reporteFuentePipe.GENERACION_PLANTILLA,
162
+ label: this.reporteFuentePipe.DESC_GENERACION_PLANTILLA})
163
+ }
164
+ if (this.utilsService.isNotBlank(this.reporte.separador)){
165
+ this.generaciones.push({value: this.reporteFuentePipe.GENERACION_ARCHIVOPLANO,
166
+ label: this.reporteFuentePipe.DESC_GENERACION_ARCHIVOPLANO})
167
+ }
168
+ if (this.utilsService.isNotBlank(this.reporte.nombreTabla)){
169
+ this.generaciones.push({value: this.reporteFuentePipe.GENERACION_TABLA,
170
+ label: this.reporteFuentePipe.DESC_GENERACION_TABLA})
171
+ }
172
+ if (this.utilsService.isNotBlank(this.reporte.tagEncabezado) && this.utilsService.isNotBlank(this.reporte.estructuraRegistro)){
173
+ this.generaciones.push({value: this.reporteFuentePipe.GENERACION_XML,
174
+ label: this.reporteFuentePipe.DESC_GENERACION_XML})
175
+ }
176
+ if (this.utilsService.isNotBlank(this.reporte.archivoExcelColumnario) && this.utilsService.isNotBlank(this.reporte.hojaExcelColumnario)){
177
+ this.generaciones.push({value: this.reporteFuentePipe.GENERACION_COLUMNARIO,
178
+ label: this.reporteFuentePipe.DESC_GENERACION_COLUMNARIO})
179
+ }
180
+ }
181
+
182
+ async validarExisteJasper(){
183
+ try {
184
+ var data = await this.cargarArchivo.descargarArchivo(this.encriptadorArchivo.encriptar('reportes/' + this.reporte.llave + '.jrxml'), 'ruta_plantillas', this.aplicacion).toPromise();
185
+ if (data) {
186
+ this.existeJasper = true;
187
+ }
188
+ } catch (error) {
189
+ this.existeJasper = false;
190
+ }
191
+ }
192
+
193
+ cargarOperaciones(){
194
+ this.bloquearCorreo = true;
195
+ this.operaciones = [];
196
+ if (this.tipoReporte){
197
+ if (this.tipoReporte != this.reporteFuentePipe.GENERACION_TABLA) {
198
+ this.operaciones.push({value: this.reporteFuentePipe.OPERACION_DESCARGAR,
199
+ label: this.reporteFuentePipe.DESC_OPERACION_DESCARGAR});
200
+
201
+ if (this.validarControlFuncionalidad('reporte:enviocorreo')){
202
+ this.bloquearCorreo = false;
203
+ }
204
+ this.operaciones.push({value: this.reporteFuentePipe.OPERACION_ENVIARCORREO,
205
+ label: this.reporteFuentePipe.DESC_OPERACION_ENVIARCORREO});
206
+ if (this.reporteFuentePipe.MOMENTOS_SEGUNDO_PLANO == this.reporte.momento) {
207
+ this.operaciones.push({value: this.reporteFuentePipe.OPERACION_SEGUNDOPLANO,
208
+ label: this.reporteFuentePipe.DESC_OPERACION_SEGUNDOPLANO});
209
+ }
210
+ if ((this.tipoReporte == this.reporteFuentePipe.GENERACION_JASPERFIJO && this.reporte.modoFijo == 'P')
211
+ || this.tipoReporte == this.reporteFuentePipe.GENERACION_PLANTILLA && this.reporte.descargarFuente != 'S'){
212
+
213
+ if (this.reporte.archivoHtml && this.reporte.campoEmail){
214
+ this.operaciones.push({value: this.reporteFuentePipe.OPERACION_ENVIOMASIVO,
215
+ label: this.reporteFuentePipe.DESC_OPERACION_ENVIOMASIVO});
216
+ }
217
+ if (this.reporte.publicacion && this.reporte.campoPublica){
218
+ this.operaciones.push({value: this.reporteFuentePipe.OPERACION_PUBLICAR,
219
+ label: this.reporteFuentePipe.DESC_OPERACION_PUBLICAR});
220
+ }
221
+ if (this.reporte.archivoHtml && this.reporte.campoEmail && this.reporte.publicacion && this.reporte.campoPublica ){
222
+ this.operaciones.push({value: this.reporteFuentePipe.OPERACION_CORREOPUBLICAR,
223
+ label: this.reporteFuentePipe.DESC_OPERACION_CORREOPUBLICAR});
224
+ }
225
+ }
226
+ //pte proceso externo
227
+ }
228
+ }
229
+ }
230
+
231
+ cambioValorLista(event, parametro){
232
+ if (event.value){
233
+ let lista = event.value.split(':')
234
+ if (parametro.unionDTO.tipoDato == 'N'){
235
+ parametro.unionDTO.valor = parseInt(lista[0])
236
+ } else {
237
+ parametro.unionDTO.valor = lista[0]
238
+ }
239
+ }
240
+ }
241
+
242
+ cambioSoporteBase(event) {
243
+ if (this.soporteBase == null) {
244
+ this.cargarOperaciones();
245
+ return;
246
+ }
247
+ this.generalService.queryForObject(new GeneralModel('ReporteSoporteDTO', null, false, {llaveTabla: this.soporteBase})).subscribe(archivoBase => {
248
+ if (archivoBase == null) {
249
+ return;
250
+ }
251
+ this.soporteBase = archivoBase.llaveTabla;
252
+ this.reporte.archivoIndividual = archivoBase.archivoIndividual;
253
+ this.cargarOperaciones();
254
+ });
255
+
256
+ }
257
+
258
+ cargarCorreo(){
259
+ this.generalService.queryForObject(new GeneralModel('UsuarioDTO', null, true, {login: this.authService.getTokenKey('usuario')})).subscribe(data => {
260
+ this.correo = data.email;
261
+ })
262
+ }
263
+
264
+ cargarListaEntrada(){
265
+ this.mostrarParametros = false;
266
+ if (this.entradasPuntoProceso.length > 0){
267
+ this.parametros = this.entradasPuntoProceso;
268
+ this.parametros.forEach(element => {
269
+ if (element.unionDTO.solicitar == 'S'){
270
+ this.mostrarParametros = true;
271
+ }
272
+ if (element.unionDTO.tipoDato == 'F' && element.unionDTO.valor != null){
273
+ element.unionDTO.valor = new Date(element.unionDTO.valor)
274
+ }
275
+ })
276
+ } else {
277
+ this.ejecucionReporteService.obtenerListaEntradaEjecucion(this.reporte).subscribe(data => {
278
+ this.parametros = data;
279
+ this.parametros.forEach(element => {
280
+ if (element.unionDTO.solicitar == 'S'){
281
+ this.mostrarParametros = true;
282
+ }
283
+ if (element.unionDTO.tipoDato == 'F' && element.unionDTO.valor != null){
284
+ element.unionDTO.valor = new Date(element.unionDTO.valor)
285
+ }
286
+ })
287
+ })
288
+ }
289
+ }
290
+
291
+ traerSegundoPlano(){
292
+ let usuario = this.authService.getTokenKey('usuario')
293
+ this.generalService.queryForList(new GeneralModel('EjecucionReporteDTO', null, false, {
294
+ adicionado: usuario,
295
+ reporteFuente: this.reporte.llave})).subscribe(data => {
296
+ this.listaSegundoPlano = data;
297
+ this.paginator.totalRecords = this.listaSegundoPlano.length;
298
+ })
299
+ }
300
+
301
+ verSegundoPlano(event){
302
+ this.elementoBorrar = event.data;
303
+ this.elementoBorrar.fechaAdicionado = this.elementoBorrar.fechaAdicionado ? new Date(this.elementoBorrar.fechaAdicionado) : null
304
+ this.elementoBorrar.inicia = this.elementoBorrar.inicia ? new Date(this.elementoBorrar.inicia) : null
305
+ this.elementoBorrar.termina = this.elementoBorrar.termina ? new Date(this.elementoBorrar.termina) : null
306
+ this.operacion = 'historico'
307
+ this.panel = 'resultado'
308
+ }
309
+
310
+ eliminarSegundoPlano(event){
311
+ this.confirmationService.confirm({
312
+ target: event.target,
313
+ message: this.generalPipe.MENSAJE_ELIMINAR_CONFIRMAR,
314
+ acceptLabel: this.generalPipe.SI_DESC,
315
+ header: this.translateService.instant('confirmar'),
316
+ accept: () => {
317
+ this.ejecucionReporteService.eliminarEjecucionReporte(this.elementoBorrar).subscribe(data =>{
318
+ this.notificacionService.showInfo(this.generalPipe.MENSAJE_ELIMINAR)
319
+ this.regresarSegundoPlano();
320
+ this.traerSegundoPlano();
321
+ })
322
+ }
323
+ })
324
+ }
325
+
326
+ descargarArchivo(){
327
+ this.cargarArchivoService.descargarArchivo(this.encriptadoBasico.encriptar(this.elementoBorrar.archivo)).subscribe(blob => {
328
+
329
+ const a = document.createElement('a')
330
+ const objectUrl = URL.createObjectURL(blob)
331
+ a.href = objectUrl
332
+ let partes = this.elementoBorrar.archivo.split(".");
333
+ let extension = partes[partes.length - 1];
334
+ a.download = this.utilsService.generarLlave() + '.' + extension;
335
+ a.click();
336
+ URL.revokeObjectURL(objectUrl);
337
+ });
338
+ }
339
+
340
+ cambioTipoReporte(event){
341
+ this.mostrarQueDeseaHacer = true;
342
+ if (this.tipoReporte == this.reporteFuentePipe.GENERACION_PLANTILLA && this.reporte.unicoArchivo == 'N' ){
343
+ this.mostrarArchivosSoporte = true;
344
+ this.generalService.queryForList(new GeneralModel('ReporteSoporteDTO', null, false, {
345
+ reporteFuente: this.reporte.llave,
346
+ tipo:'S'
347
+ })).subscribe(data => {
348
+ this.listadoArchivoSoporte = data;
349
+ })
350
+ } else {
351
+ this.mostrarArchivosSoporte = false;
352
+ this.listadoArchivoSoporte = [];
353
+ this.tipoArchivo = null;
354
+ this.operacion = null;
355
+ this.cargarOperaciones();
356
+ //this.descargarArchivo = null;
357
+ }
358
+ }
359
+
360
+ cambioTipoArchivo(event){
361
+ this.cargarOperaciones();
362
+ }
363
+
364
+ regresarSegundoPlano(){
365
+ this.elementoBorrar = {}
366
+ this.panel = 'entrada'
367
+ this.operacion = null;
368
+ }
369
+
370
+ ocultar(){
371
+ this.tipoReporte = null;
372
+ this.mostrar = false;
373
+ this.regresar.emit(false);
374
+ }
375
+
376
+ validarControlFuncionalidad(valor: string): boolean {
377
+ return this.controlFuncionalidad.getControlFuncionalidad(valor);
378
+ }
379
+
380
+ sentencia(){
381
+ this.mostrarPopupSentencia = true
382
+ }
383
+
384
+ regresarSentencia(event){
385
+ this.mostrarPopupSentencia = false;
386
+ }
387
+
388
+ enviarSegundoPlano(){
389
+ let listaEntrada = []
390
+ this.parametros.forEach(element => {
391
+ listaEntrada.push(element.unionDTO)
392
+ })
393
+ this.ejecucionReporteService.enviarSegundoPlano({
394
+ reporte: this.reporte,
395
+ parametros: listaEntrada,
396
+ tipoReporte: this.tipoReporte,
397
+ operacion: this.operacion,
398
+ correo: this.correo,
399
+ }).subscribe(data => {
400
+ this.notificacionService.showInfo(data.mensaje)
401
+ })
402
+ }
403
+
404
+ descargarReporte(){
405
+
406
+ if('F' == this.tipoReporte){
407
+ this.reporte.tipoArchivo = this.tipoArchivo;
408
+ }
409
+
410
+ let listaEntrada = []
411
+ this.parametros.forEach(element => {
412
+ listaEntrada.push(element.unionDTO)
413
+ })
414
+ this.ejecucionReporteService.descargarReporte({
415
+ reporte: this.reporte,
416
+ parametros: listaEntrada,
417
+ tipoReporte: this.tipoReporte,
418
+ operacion: this.operacion,
419
+ correo: this.correo,
420
+ endpointGeneradorReportes: ''
421
+ }).subscribe({
422
+ next: data =>{
423
+ console.log(data)
424
+ this.notificacionService.showInfo(data.mensaje)
425
+ if (!data.archivo) {
426
+ return;
427
+ }
428
+ const decodedData = atob(data.archivo);
429
+ const byteNumbers = new Array(decodedData.length);
430
+ for (let i = 0; i < decodedData.length; i++) {
431
+ byteNumbers[i] = decodedData.charCodeAt(i);
432
+ }
433
+ const byteArray = new Uint8Array(byteNumbers);
434
+
435
+ // Crea un objeto Blob con los bytes decodificados y el tipo MIME del archivo
436
+ const blob = new Blob([byteArray], { type: data.mime });
437
+
438
+ // Crea una URL del objeto Blob
439
+ const url = URL.createObjectURL(blob);
440
+
441
+ // Crea un enlace de descarga y haz clic en él para iniciar la descarga
442
+ const link = document.createElement('a');
443
+ link.href = url;
444
+ link.download = data.nombreArchivo + data.extension;
445
+ document.body.appendChild(link);
446
+ link.click();
447
+
448
+ // Limpia la URL creada
449
+ URL.revokeObjectURL(url);
450
+ }
451
+ })
452
+ }
453
+
454
+ descargarReporteSinHilo(){
455
+ let listaEntrada = []
456
+ this.parametros.forEach(element => {
457
+ listaEntrada.push(element.unionDTO)
458
+ })
459
+ this.ejecucionReporteService.descargarReporte({
460
+ next: data =>{
461
+ this.notificacionService.showInfo(data.mensaje)
462
+ const decodedData = atob(data.archivo);
463
+ const byteNumbers = new Array(decodedData.length);
464
+ for (let i = 0; i < decodedData.length; i++) {
465
+ byteNumbers[i] = decodedData.charCodeAt(i);
466
+ }
467
+ const byteArray = new Uint8Array(byteNumbers);
468
+
469
+ // Crea un objeto Blob con los bytes decodificados y el tipo MIME del archivo
470
+ const blob = new Blob([byteArray], { type: data.mime });
471
+
472
+ // Crea una URL del objeto Blob
473
+ const url = URL.createObjectURL(blob);
474
+
475
+ // Crea un enlace de descarga y haz clic en él para iniciar la descarga
476
+ const link = document.createElement('a');
477
+ link.href = url;
478
+ link.download = data.nombreArchivo + '.' + data.extension;
479
+ document.body.appendChild(link);
480
+ link.click();
481
+
482
+ // Limpia la URL creada
483
+ URL.revokeObjectURL(url);
484
+ },
485
+ error: err => {
486
+ this.notificacionService.showError(JSON.stringify(err.error.mensajeEtiqueta))
487
+ }
488
+ })
489
+ }
490
+
491
+ generarTabla(){
492
+ this.panel = 'resultado'
493
+ let listaEntrada = []
494
+ this.columnas = [];
495
+ this.parametros.forEach(element => {
496
+ listaEntrada.push(element.unionDTO)
497
+ })
498
+ this.ejecucionReporteService.generarTabla({reporte: this.reporte, parametros: listaEntrada}).subscribe(data => {
499
+ var columna: TableColumn;
500
+ data.columnas.forEach(element => {
501
+ columna = {
502
+ field: element.nombre.toLowerCase(),
503
+ header: element.nombre,
504
+ width: 300,
505
+ canOrder: true,
506
+ };
507
+ this.columnas.push(columna)
508
+ });
509
+ this.listaRegistro = data.listaRegistro;
510
+ })
511
+ }
512
+ }
@@ -0,0 +1,10 @@
1
+ <p-dialog id='popupSentencia' header="{{'sentencia' | translate}}" [(visible)]="mostrarPopup" (onShow)="mostrar()"
2
+ [breakpoints]="{'960px': '75vw', '640px': '100vw'}" [style]="{width: '50vw'}" (onHide)="ocultar()" [modal]="true">
3
+
4
+ <p-panel>
5
+ <textarea pInputTextarea [(ngModel)]="sentencia" rows="5" cols="30"
6
+ [disabled]="true"
7
+ class="min-w-full p-inputtextarea p-inputtext p-component p-element max-w-max">
8
+ </textarea>
9
+ </p-panel>
10
+ </p-dialog>
@@ -0,0 +1,5 @@
1
+ :host ::ng-deep .min-w-full{
2
+ height: 330px !important;
3
+ width: 100% !important;
4
+ }
5
+
@@ -0,0 +1,58 @@
1
+ import { Component, OnInit, Input, Output, EventEmitter } from '@angular/core';
2
+ import { ToastService } from '../../../core/servicios/toast.service';
3
+ import { ReporteFuenteModel } from '../../../seguridad/modelos/ReporteFuenteModel';
4
+ import { EjecucionReporteService } from '../../services/ejecucionreporte.service';
5
+ import { DialogModule } from 'primeng/dialog';
6
+ import { InputTextarea, InputTextareaModule } from 'primeng/inputtextarea';
7
+ import { PanelModule } from 'primeng/panel';
8
+ import { TranslateModule } from '@ngx-translate/core';
9
+ import { FormsModule } from '@angular/forms';
10
+ import { MessageService } from 'primeng/api';
11
+
12
+ @Component({
13
+ selector: 'app-popup-sentencia',
14
+ imports: [DialogModule, InputTextareaModule, PanelModule, TranslateModule, FormsModule,],
15
+ standalone: true,
16
+ providers: [MessageService],
17
+ templateUrl: './popup-sentencia.component.html',
18
+ styleUrls: ['./popup-sentencia.component.scss']
19
+ })
20
+ export class PopupSentenciaComponent implements OnInit {
21
+
22
+ @Output() public regresar: EventEmitter<any> = new EventEmitter();
23
+ @Input() public reporte: ReporteFuenteModel;
24
+ @Input() public parametros: any[] = [];
25
+ public listaEntrada: any[] = []
26
+
27
+ public sentencia: string;
28
+ @Input() public mostrarPopup: boolean;
29
+
30
+ constructor(private reporteService: EjecucionReporteService,
31
+ private notifService: ToastService) { }
32
+
33
+ ngOnInit(): void {
34
+ }
35
+
36
+ mostrar(){
37
+ this.sentencia = ''
38
+ this.parametros.forEach(element => {
39
+ this.listaEntrada.push(element.unionDTO)
40
+ });
41
+
42
+ this.reporteService.obtenerSentencia({
43
+ reporteFuenteDTO: this.reporte,
44
+ listaReporteEntrada: this.listaEntrada
45
+ }).subscribe({
46
+ next: (data) => {
47
+ this.sentencia = data.resultado;
48
+ },
49
+ })
50
+ }
51
+
52
+ ocultar(){
53
+ this.mostrarPopup = false;
54
+ this.regresar.emit(false);
55
+
56
+ }
57
+
58
+ }
@@ -0,0 +1,11 @@
1
+ <!--botones-->
2
+ <div class="flex justify-content-end">
3
+ <button pButton pRipple class="m-2 p-button p-button-secondary" *ngIf="reportes.length > 0"
4
+ icon="glyphicons glyphicons-print" label="Reportes" (click)="verReportes()">
5
+ </button>
6
+
7
+ <button pButton pRipple class="m-2 p-button-outlined claro" *ngIf="fuentes.length > 0"
8
+ icon="glyphicons glyphicons-upload" label="Cargue Masivo" (click)="verFuentes()">
9
+ </button>
10
+ </div>
11
+ <app-popup-punto-proceso #popupPuntoProceso *ngIf="verPopupPuntoProceso"></app-popup-punto-proceso>
@@ -0,0 +1,82 @@
1
+ import { Component, Input, OnInit, ViewChild } from '@angular/core';
2
+ import { PopupPuntoProcesoComponent } from '../popup-punto-proceso/popup-punto-proceso.component';
3
+ import { PuntoProcesoModel } from '../../../seguridad/modelos/PuntoProcesoModel';
4
+ import { AtributoPuntoModel } from '../../../seguridad/modelos/AtributoPuntoModel';
5
+ import { RecursoPuntoModel } from '../../../seguridad/modelos/RecursoPuntoModel';
6
+ import { GeneralModel } from '../../../seguridad/modelos/GeneralModel';
7
+ import { GeneralService } from '../../../shared/servicios/general.service';
8
+ import { UtilsService } from '../../../core/servicios/utils.service';
9
+ import { AuthService } from '../../../core/servicios/auth.service';
10
+ import { CommonModule } from '@angular/common';
11
+ import { ButtonModule } from 'primeng/button';
12
+
13
+ @Component({
14
+ selector: 'app-punto-proceso-comp',
15
+ imports: [CommonModule, PopupPuntoProcesoComponent, ButtonModule],
16
+ standalone: true,
17
+ templateUrl: './punto-proceso-comp.component.html',
18
+ styleUrls: ['./punto-proceso-comp.component.scss']
19
+ })
20
+ export class PuntoProcesoCompComponent implements OnInit {
21
+
22
+ public punto: PuntoProcesoModel;
23
+ public destino;
24
+ public reportes: RecursoPuntoModel[] = [];
25
+ public fuentes: any[] = [];
26
+ public atributos: AtributoPuntoModel[] = [];
27
+
28
+ @Input() public key: string;
29
+ @Input() public componente: any;
30
+ public verPopupPuntoProceso: boolean;
31
+ @ViewChild('popupPuntoProceso') popupPuntoProceso: PopupPuntoProcesoComponent;
32
+
33
+ constructor(private generalService: GeneralService,
34
+ private utilsService: UtilsService,
35
+ private authService: AuthService,) { }
36
+
37
+ ngOnInit(): void {
38
+ if (!this.key) {
39
+ return;
40
+ }
41
+ this.cargarPunto().then(data => {});
42
+ }
43
+
44
+ async cargarPunto() {
45
+ let filtro: PuntoProcesoModel = new PuntoProcesoModel();
46
+ filtro.punto = this.key;
47
+ filtro = await this.generalService.queryForObject(new GeneralModel('PuntoProcesoDTO', null, false, filtro)).toPromise();
48
+ let filtroRecursos: RecursoPuntoModel = new RecursoPuntoModel();
49
+ filtroRecursos.puntoProceso = filtro.llaveTabla;
50
+ let aliasRol = this.authService.getTokenKey('aliasRol');
51
+ if (!aliasRol) {
52
+ aliasRol = '--NOVALIDO--'
53
+ }
54
+ filtroRecursos.rolUsuario = aliasRol;
55
+ let lista: RecursoPuntoModel[] = await this.generalService.queryForList(new GeneralModel('RecursoPuntoDTO', null, false, filtroRecursos)).toPromise();
56
+ lista.forEach(element => {
57
+ if (element.tipo){
58
+ if (element.tipo == 'F') {
59
+ this.fuentes.push(element);
60
+ } else if (element.tipo == 'R') {
61
+ this.reportes.push(element)
62
+ }
63
+ }
64
+ });
65
+ let filtroAtributo: AtributoPuntoModel = new AtributoPuntoModel();
66
+ filtroAtributo.puntoProceso = filtro.llaveTabla;
67
+ this.atributos = await this.generalService.queryForList(new GeneralModel('AtributoPuntoDTO', null, false, filtroAtributo)).toPromise();
68
+ }
69
+
70
+ async verReportes(){
71
+ this.verPopupPuntoProceso = true;
72
+ await this.utilsService.sleep(100);
73
+ await this.popupPuntoProceso.mostrar(this.reportes, 'R', this.componente);
74
+ }
75
+
76
+ async verFuentes(){
77
+ this.verPopupPuntoProceso = true;
78
+ await this.utilsService.sleep(100);
79
+ await this.popupPuntoProceso.mostrarFuente(this.fuentes, 'F', this.componente);
80
+ }
81
+
82
+ }