general-library-union 2.4.99 → 2.5.1

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 (640) 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} +197 -159
  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 +154 -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 +55 -0
  61. package/src/app/core/servicios/error-interceptor.service.ts +146 -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/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 +153 -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 +351 -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 +78 -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 +51 -0
  83. package/src/app/layout/app.menu.service.ts +23 -0
  84. package/src/app/layout/app.menuitem.component.ts +252 -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 +81 -0
  91. package/src/app/layout/app.topbar.component.html +214 -0
  92. package/src/app/layout/app.topbar.component.ts +335 -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 +166 -0
  99. package/src/app/publico/pages/login/login.page.ts +128 -0
  100. package/src/app/publico/pages/not-found/not-found.page.html +35 -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 +46 -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 +176 -0
  106. package/src/app/publico/pages/timeout/timeout.page.html +24 -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/ColumnaFuenteModel.ts +9 -0
  120. package/src/app/seguridad/modelos/{ColumnaWraperModel.d.ts → ColumnaWraperModel.ts} +7 -6
  121. package/src/app/seguridad/modelos/ComplementoModel.ts +10 -0
  122. package/src/app/seguridad/modelos/ComponentePaginaModel.ts +22 -0
  123. package/src/app/seguridad/modelos/ConexionModel.ts +15 -0
  124. package/src/app/seguridad/modelos/{ContenidoHtmlPortalModel.d.ts → ContenidoHtmlPortalModel.ts} +25 -20
  125. package/src/app/seguridad/modelos/ControlFuncionModel.ts +10 -0
  126. package/src/app/seguridad/modelos/CorreoModel.ts +45 -0
  127. package/src/app/seguridad/modelos/CorreoWSModel.ts +49 -0
  128. package/src/app/seguridad/modelos/CruceRecursoPuntoModel.ts +14 -0
  129. package/src/app/seguridad/modelos/{DatoInicioModel.d.ts → DatoInicioModel.ts} +7 -6
  130. package/src/app/seguridad/modelos/{EjecucionReporteDataModel.d.ts → EjecucionReporteDataModel.ts} +21 -20
  131. package/src/app/seguridad/modelos/EmpresaModel.ts +25 -0
  132. package/src/app/seguridad/modelos/EmpresaSeguridadModel.ts +19 -0
  133. package/src/app/seguridad/modelos/{EntradaComplementoModel.d.ts → EntradaComplementoModel.ts} +9 -6
  134. package/src/app/seguridad/modelos/EtiquetaModel.ts +4 -0
  135. package/src/app/seguridad/modelos/Etiquetas.ts +14 -0
  136. package/src/app/seguridad/modelos/{ForeingWraperModel.d.ts → ForeingWraperModel.ts} +9 -6
  137. package/src/app/seguridad/modelos/FuenteCampoAtributoModel.ts +21 -0
  138. package/src/app/seguridad/modelos/{FuenteCampoModel.d.ts → FuenteCampoModel.ts} +20 -16
  139. package/src/app/seguridad/modelos/FuenteDato.ts +19 -0
  140. package/src/app/seguridad/modelos/FuenteEntradaModel.ts +9 -0
  141. package/src/app/seguridad/modelos/{FuenteGeneralModel.d.ts → FuenteGeneralModel.ts} +55 -36
  142. package/src/app/seguridad/modelos/FuenteLineaServicioModel.ts +19 -0
  143. package/src/app/seguridad/modelos/FuenteProcesoGeneralModel.ts +14 -0
  144. package/src/app/seguridad/modelos/{FuenteServicioModel.d.ts → FuenteServicioModel.ts} +61 -47
  145. package/src/app/seguridad/modelos/FuncionalidadModel.ts +12 -0
  146. package/src/app/seguridad/modelos/GeneralModel.ts +16 -0
  147. package/src/app/seguridad/modelos/{GrupoAccesoModel.d.ts → GrupoAccesoModel.ts} +9 -6
  148. package/src/app/seguridad/modelos/GrupoControlFuncionModel.ts +12 -0
  149. package/src/app/seguridad/modelos/GrupoFuenteModel.ts +17 -0
  150. package/src/app/seguridad/modelos/GrupoPermisoModel.ts +16 -0
  151. package/src/app/seguridad/modelos/{JoinFromModel.d.ts → JoinFromModel.ts} +4 -4
  152. package/src/app/seguridad/modelos/ListaServicioModel.ts +18 -0
  153. package/src/app/seguridad/modelos/LlaveForaneaModel.ts +6 -0
  154. package/src/app/seguridad/modelos/LoginModel.ts +19 -0
  155. package/src/app/seguridad/modelos/MensajeSistemaModel.ts +10 -0
  156. package/src/app/seguridad/modelos/{MenuPortalModel.d.ts → MenuPortalModel.ts} +5 -4
  157. package/src/app/seguridad/modelos/ModulosModel.ts +17 -0
  158. package/src/app/seguridad/modelos/{ObjetoReporteModel.d.ts → ObjetoReporteModel.ts} +6 -5
  159. package/src/app/seguridad/modelos/PaginaPortalModel.ts +23 -0
  160. package/src/app/seguridad/modelos/ParametroComponenteModel.ts +9 -0
  161. package/src/app/seguridad/modelos/ParametrosGeneralModel.ts +16 -0
  162. package/src/app/seguridad/modelos/PermisoFuncionModel.ts +11 -0
  163. package/src/app/seguridad/modelos/PermisocontenidoModel.ts +20 -0
  164. package/src/app/seguridad/modelos/{PeticionModel.d.ts → PeticionModel.ts} +20 -15
  165. package/src/app/seguridad/modelos/PreguntaSeguridadModel.ts +9 -0
  166. package/src/app/seguridad/modelos/PropiedadModel.ts +12 -0
  167. package/src/app/seguridad/modelos/PublicacionWebModel.ts +29 -0
  168. package/src/app/seguridad/modelos/PuntoProcesoModel.ts +7 -0
  169. package/src/app/seguridad/modelos/RecursoPunto.ts +13 -0
  170. package/src/app/seguridad/modelos/RecursoPuntoModel.ts +13 -0
  171. package/src/app/seguridad/modelos/ReporteBanda.ts +9 -0
  172. package/src/app/seguridad/modelos/ReporteColumna.ts +33 -0
  173. package/src/app/seguridad/modelos/ReporteColumnario.ts +82 -0
  174. package/src/app/seguridad/modelos/ReporteColumnarioMarcador.ts +31 -0
  175. package/src/app/seguridad/modelos/{ReporteEntradaModel.d.ts → ReporteEntradaModel.ts} +21 -19
  176. package/src/app/seguridad/modelos/{ReporteFuenteModel.d.ts → ReporteFuenteModel.ts} +141 -87
  177. package/src/app/seguridad/modelos/ReporteMarcador.ts +40 -0
  178. package/src/app/seguridad/modelos/ReporteSoporte.ts +10 -0
  179. package/src/app/seguridad/modelos/ReporteTabla.ts +14 -0
  180. package/src/app/seguridad/modelos/RespuestaModel.ts +10 -0
  181. package/src/app/seguridad/modelos/{RolModel.d.ts → RolModel.ts} +41 -37
  182. package/src/app/seguridad/modelos/ServidorCorreoModel.ts +31 -0
  183. package/src/app/seguridad/modelos/SistemaMensajeModel.ts +11 -0
  184. package/src/app/seguridad/modelos/SitioPortalModel.ts +29 -0
  185. package/src/app/seguridad/modelos/TablaFromModel.ts +5 -0
  186. package/src/app/seguridad/modelos/TareasModel.ts +54 -0
  187. package/src/app/seguridad/modelos/TextoModel.ts +11 -0
  188. package/src/app/seguridad/modelos/TipoEtiqueta.ts +8 -0
  189. package/src/app/seguridad/modelos/UnionModel.ts +14 -0
  190. package/src/app/seguridad/modelos/{UsuarioModel.d.ts → UsuarioModel.ts} +60 -49
  191. package/src/app/seguridad/modelos/UsuariogrupoModel.ts +27 -0
  192. package/src/app/seguridad/modelos/aplicacion-propiedad-model.ts +16 -0
  193. package/src/app/seguridad/modelos/contenidoCorreoModel.ts +13 -0
  194. package/src/app/shared/componentes/input-helper-seleccion-plantilla/input-helper-seleccion-plantilla.component.html +47 -0
  195. package/src/app/shared/componentes/input-helper-seleccion-plantilla/input-helper-seleccion-plantilla.component.scss +8 -0
  196. package/src/app/shared/componentes/input-helper-seleccion-plantilla/input-helper-seleccion-plantilla.component.ts +141 -0
  197. package/src/app/shared/servicios/cargar-archivos.service.ts +51 -0
  198. package/src/app/shared/servicios/cargar-mapas.service.ts +43 -0
  199. package/src/app/shared/servicios/encriptado-basico.service.ts +54 -0
  200. package/src/app/shared/servicios/encriptador-simetrico.service.ts +29 -0
  201. package/src/app/shared/servicios/general.service.ts +124 -0
  202. package/src/app/shared/servicios/parametros-navegacion.service.ts +20 -0
  203. package/src/app/shared/servicios/plantillas.service.ts +22 -0
  204. package/src/app/shared/utilidades/translate-loader.util.ts +44 -0
  205. package/src/app/webcommon/pages/cargue-plantilla/cargue-plantilla-general/cargue-plantilla-general.component.html +167 -0
  206. package/src/app/webcommon/pages/cargue-plantilla/cargue-plantilla-general/cargue-plantilla-general.component.scss +11 -0
  207. package/src/app/webcommon/pages/cargue-plantilla/cargue-plantilla-general/cargue-plantilla-general.component.ts +425 -0
  208. package/src/app/webcommon/pages/ejecucion-reporte/detalle-campo-reporte/detalle-campo-reporte.component.html +87 -0
  209. package/src/app/webcommon/pages/ejecucion-reporte/detalle-campo-reporte/detalle-campo-reporte.component.scss +0 -0
  210. package/src/app/webcommon/pages/ejecucion-reporte/detalle-campo-reporte/detalle-campo-reporte.component.ts +189 -0
  211. package/src/app/webcommon/pages/ejecucion-reporte/detalle-distribucion-reporte/detalle-distribucion-reporte.component.html +117 -0
  212. package/src/app/webcommon/pages/ejecucion-reporte/detalle-distribucion-reporte/detalle-distribucion-reporte.component.scss +0 -0
  213. package/src/app/webcommon/pages/ejecucion-reporte/detalle-distribucion-reporte/detalle-distribucion-reporte.component.ts +87 -0
  214. package/src/app/webcommon/pages/ejecucion-reporte/detalle-ejecucion-reporte/detalle-ejecucion-reporte.page.html +158 -0
  215. package/src/app/webcommon/pages/ejecucion-reporte/detalle-ejecucion-reporte/detalle-ejecucion-reporte.page.scss +6 -0
  216. package/src/app/webcommon/pages/ejecucion-reporte/detalle-ejecucion-reporte/detalle-ejecucion-reporte.page.ts +345 -0
  217. package/src/app/webcommon/pages/ejecucion-reporte/detalle-entrada-reporte/detalle-entrada-reporte.component.html +131 -0
  218. package/src/app/webcommon/pages/ejecucion-reporte/detalle-entrada-reporte/detalle-entrada-reporte.component.scss +0 -0
  219. package/src/app/webcommon/pages/ejecucion-reporte/detalle-entrada-reporte/detalle-entrada-reporte.component.ts +198 -0
  220. package/src/app/webcommon/pages/ejecucion-reporte/detalle-punto-proceso-reporte/detalle-punto-proceso-reporte.component.html +206 -0
  221. package/src/app/webcommon/pages/ejecucion-reporte/detalle-punto-proceso-reporte/detalle-punto-proceso-reporte.component.scss +3 -0
  222. package/src/app/webcommon/pages/ejecucion-reporte/detalle-punto-proceso-reporte/detalle-punto-proceso-reporte.component.ts +329 -0
  223. package/src/app/webcommon/pages/ejecucion-reporte/detalle-tipo-reporte/detalle-tipo-reporte.component.html +2114 -0
  224. package/src/app/webcommon/pages/ejecucion-reporte/detalle-tipo-reporte/detalle-tipo-reporte.component.scss +241 -0
  225. package/src/app/webcommon/pages/ejecucion-reporte/detalle-tipo-reporte/detalle-tipo-reporte.component.ts +1677 -0
  226. package/src/app/webcommon/pages/ejecucion-reporte/listado-ejecucion-reporte/listado-ejecucion-reporte.page.html +33 -0
  227. package/src/app/webcommon/pages/ejecucion-reporte/listado-ejecucion-reporte/listado-ejecucion-reporte.page.scss +0 -0
  228. package/src/app/webcommon/pages/ejecucion-reporte/listado-ejecucion-reporte/listado-ejecucion-reporte.page.ts +96 -0
  229. package/src/app/webcommon/pages/ejecucion-reporte-externo/listado-ejecucion-reporte-externo/listado-ejecucion-reporte-externo.component.html +47 -0
  230. package/src/app/webcommon/pages/ejecucion-reporte-externo/listado-ejecucion-reporte-externo/listado-ejecucion-reporte-externo.component.scss +0 -0
  231. package/src/app/webcommon/pages/ejecucion-reporte-externo/listado-ejecucion-reporte-externo/listado-ejecucion-reporte-externo.component.ts +95 -0
  232. package/src/app/webcommon/pages/fuente/importar-fuente-con/importar-fuente-con.component.html +394 -0
  233. package/src/app/webcommon/pages/fuente/importar-fuente-con/importar-fuente-con.component.scss +10 -0
  234. package/src/app/webcommon/pages/fuente/importar-fuente-con/importar-fuente-con.component.ts +599 -0
  235. package/src/app/webcommon/pages/fuente/importar-fuente-general/importar-fuente-general.component.html +130 -0
  236. package/src/app/webcommon/pages/fuente/importar-fuente-general/importar-fuente-general.component.scss +0 -0
  237. package/src/app/webcommon/pages/fuente/importar-fuente-general/importar-fuente-general.component.ts +172 -0
  238. package/src/app/webcommon/pages/fuente-reporte/fuente-reporte.component.html +376 -0
  239. package/src/app/webcommon/pages/fuente-reporte/fuente-reporte.component.scss +5 -0
  240. package/src/app/webcommon/pages/fuente-reporte/fuente-reporte.component.ts +749 -0
  241. package/src/app/webcommon/pages/fuenteGeneral/fuente-general-servicio/fuente-general-servicio.component.html +145 -0
  242. package/src/app/webcommon/pages/fuenteGeneral/fuente-general-servicio/fuente-general-servicio.component.scss +0 -0
  243. package/src/app/webcommon/pages/fuenteGeneral/fuente-general-servicio/fuente-general-servicio.component.ts +302 -0
  244. package/src/app/webcommon/pages/fuenteGeneral/listado-fuente-general/listado-fuente-general.page.html +19 -0
  245. package/src/app/webcommon/pages/fuenteGeneral/listado-fuente-general/listado-fuente-general.page.scss +0 -0
  246. package/src/app/webcommon/pages/fuenteGeneral/listado-fuente-general/listado-fuente-general.page.ts +89 -0
  247. package/src/app/webcommon/pages/fuenteGeneral/mantenimiento-fuente-general/mantenimiento-fuente-general.page.html +713 -0
  248. package/src/app/webcommon/pages/fuenteGeneral/mantenimiento-fuente-general/mantenimiento-fuente-general.page.scss +0 -0
  249. package/src/app/webcommon/pages/fuenteGeneral/mantenimiento-fuente-general/mantenimiento-fuente-general.page.ts +688 -0
  250. package/src/app/webcommon/pipes/dashboard.pipe.ts +79 -0
  251. package/src/app/webcommon/pipes/fuente.pipe.ts +207 -0
  252. package/src/app/webcommon/pipes/general.pipe.ts +1043 -0
  253. package/src/app/webcommon/pipes/reporte-columnario.pipe.ts +101 -0
  254. package/src/app/webcommon/pipes/reporte-fuente.pipe.ts +306 -0
  255. package/src/app/webcommon/pipes/sara-general.pipe.ts +289 -0
  256. package/src/app/webcommon/popups/popup-campos-fuente-general/popup-campos-fuente-general.component.html +90 -0
  257. package/src/app/webcommon/popups/popup-campos-fuente-general/popup-campos-fuente-general.component.scss +0 -0
  258. package/src/app/webcommon/popups/popup-campos-fuente-general/popup-campos-fuente-general.component.ts +262 -0
  259. package/src/app/webcommon/popups/popup-convertir-plantillas/popup-convertir-plantillas.component.html +50 -0
  260. package/src/app/webcommon/popups/popup-convertir-plantillas/popup-convertir-plantillas.component.scss +0 -0
  261. package/src/app/webcommon/popups/popup-convertir-plantillas/popup-convertir-plantillas.component.ts +135 -0
  262. package/src/app/webcommon/popups/popup-punto-proceso/popup-punto-proceso.component.html +41 -0
  263. package/src/app/webcommon/popups/popup-punto-proceso/popup-punto-proceso.component.scss +0 -0
  264. package/src/app/webcommon/popups/popup-punto-proceso/popup-punto-proceso.component.ts +283 -0
  265. package/src/app/webcommon/popups/popup-recurso/popup-recurso.component.html +179 -0
  266. package/src/app/webcommon/popups/popup-recurso/popup-recurso.component.scss +3 -0
  267. package/src/app/webcommon/popups/popup-recurso/popup-recurso.component.ts +266 -0
  268. package/src/app/webcommon/popups/popup-reporte/popup-reporte.component.html +261 -0
  269. package/src/app/webcommon/popups/popup-reporte/popup-reporte.component.scss +13 -0
  270. package/src/app/webcommon/popups/popup-reporte/popup-reporte.component.ts +513 -0
  271. package/src/app/webcommon/popups/popup-sentencia/popup-sentencia.component.html +10 -0
  272. package/src/app/webcommon/popups/popup-sentencia/popup-sentencia.component.scss +5 -0
  273. package/src/app/webcommon/popups/popup-sentencia/popup-sentencia.component.ts +58 -0
  274. package/src/app/webcommon/popups/popup-tablas-fuente/popup-tablas-fuente.component.html +71 -0
  275. package/src/app/webcommon/popups/popup-tablas-fuente/popup-tablas-fuente.component.scss +0 -0
  276. package/src/app/webcommon/popups/popup-tablas-fuente/popup-tablas-fuente.component.ts +151 -0
  277. package/src/app/webcommon/popups/punto-proceso-comp/punto-proceso-comp.component.html +11 -0
  278. package/src/app/webcommon/popups/punto-proceso-comp/punto-proceso-comp.component.scss +0 -0
  279. package/src/app/webcommon/popups/punto-proceso-comp/punto-proceso-comp.component.ts +82 -0
  280. package/src/app/webcommon/services/carguelinea.service.ts +72 -0
  281. package/src/app/webcommon/services/dashboard.service.ts +258 -0
  282. package/src/app/webcommon/services/ejecucionreporte.service.ts +160 -0
  283. package/src/app/webcommon/services/fechaUtils.service.ts +117 -0
  284. package/src/app/webcommon/services/fuentegeneral.service.ts +74 -0
  285. package/src/app/webcommon/services/homologacion.service.ts +49 -0
  286. package/src/app/webcommon/services/plantillas.service.ts +165 -0
  287. package/src/app/webcommon/services/reportes.service.ts +133 -0
  288. package/src/app/webcommon/webcommon.module.ts +11 -0
  289. package/src/environments/environment.prod.ts +3 -0
  290. package/src/environments/environment.ts +25 -0
  291. package/src/favicon.ico +0 -0
  292. package/src/index.html +14 -0
  293. package/src/main.ts +11 -0
  294. package/src/polyfills.ts +53 -0
  295. package/src/test.ts +14 -0
  296. package/tsconfig.app.json +15 -0
  297. package/tsconfig.json +35 -0
  298. package/tsconfig.spec.json +18 -0
  299. package/esm2022/general-library-union.mjs +0 -5
  300. package/esm2022/public-api.mjs +0 -177
  301. package/esm2022/src/app/core/componentes/breadcrumb/breadcrumb.component.mjs +0 -40
  302. package/esm2022/src/app/core/componentes/carga-pantalla-completa/carga-pantalla-completa.component.mjs +0 -28
  303. package/esm2022/src/app/core/componentes/filtro-general/filtro-general.component.mjs +0 -153
  304. package/esm2022/src/app/core/componentes/footer/footer.component.mjs +0 -16
  305. package/esm2022/src/app/core/componentes/formulariodinamico/formulariodinamico.component.mjs +0 -272
  306. package/esm2022/src/app/core/componentes/formulariodinamico/objetosformulario/Cambio.mjs +0 -11
  307. package/esm2022/src/app/core/componentes/formulariodinamico/objetosformulario/CampoFormulario.mjs +0 -124
  308. package/esm2022/src/app/core/componentes/formulariodinamico/objetosformulario/CampoFormularioCons.mjs +0 -73
  309. package/esm2022/src/app/core/componentes/formulariodinamico/objetosformulario/CampoFormularioNuevo.mjs +0 -59
  310. package/esm2022/src/app/core/componentes/formulariodinamico/objetosformulario/HashDirective.mjs +0 -21
  311. package/esm2022/src/app/core/componentes/inicio-component/inicio-component.component.mjs +0 -67
  312. package/esm2022/src/app/core/componentes/menu/menu.component.mjs +0 -37
  313. package/esm2022/src/app/core/componentes/tabla-general/tabla-general.component.mjs +0 -93
  314. package/esm2022/src/app/core/core.module.mjs +0 -23
  315. package/esm2022/src/app/core/errores/authentication.error.mjs +0 -7
  316. package/esm2022/src/app/core/modelos/error-response.model.mjs +0 -2
  317. package/esm2022/src/app/core/modelos/table-column.model.mjs +0 -2
  318. package/esm2022/src/app/core/modelos/user.model.mjs +0 -7
  319. package/esm2022/src/app/core/plantilla-general/plantilla-general.template.mjs +0 -230
  320. package/esm2022/src/app/core/servicios/auth.service.mjs +0 -185
  321. package/esm2022/src/app/core/servicios/cargar-control-funcionalidad.service.mjs +0 -57
  322. package/esm2022/src/app/core/servicios/data-exporter-table.utils.mjs +0 -44
  323. package/esm2022/src/app/core/servicios/error-interceptor.service.mjs +0 -148
  324. package/esm2022/src/app/core/servicios/guardias/auth.guard.mjs +0 -66
  325. package/esm2022/src/app/core/servicios/guardias/publico.guard.mjs +0 -35
  326. package/esm2022/src/app/core/servicios/interceptores/token-interceptor.service.mjs +0 -120
  327. package/esm2022/src/app/core/servicios/loading.service.mjs +0 -43
  328. package/esm2022/src/app/core/servicios/menu.service.mjs +0 -146
  329. package/esm2022/src/app/core/servicios/storage.service.mjs +0 -68
  330. package/esm2022/src/app/core/servicios/template.service.mjs +0 -99
  331. package/esm2022/src/app/core/servicios/toast.service.mjs +0 -91
  332. package/esm2022/src/app/core/servicios/utils.service.mjs +0 -324
  333. package/esm2022/src/app/core/sharedlib.module.mjs +0 -16
  334. package/esm2022/src/app/core/utilidades/color.util.mjs +0 -177
  335. package/esm2022/src/app/layout/api/menuchangeevent.mjs +0 -2
  336. package/esm2022/src/app/layout/app.breadcrumb.component.mjs +0 -71
  337. package/esm2022/src/app/layout/app.footer.component.mjs +0 -18
  338. package/esm2022/src/app/layout/app.layout.component.mjs +0 -188
  339. package/esm2022/src/app/layout/app.layout.module.mjs +0 -15
  340. package/esm2022/src/app/layout/app.menu.component.mjs +0 -51
  341. package/esm2022/src/app/layout/app.menu.service.mjs +0 -24
  342. package/esm2022/src/app/layout/app.menuitem.component.mjs +0 -296
  343. package/esm2022/src/app/layout/app.menuprofile.component.mjs +0 -78
  344. package/esm2022/src/app/layout/app.rightmenu.component.mjs +0 -24
  345. package/esm2022/src/app/layout/app.sidebar.component.mjs +0 -92
  346. package/esm2022/src/app/layout/app.topbar.component.mjs +0 -345
  347. package/esm2022/src/app/layout/service/app.layout.service.mjs +0 -134
  348. package/esm2022/src/app/publico/pages/login/login.page.mjs +0 -129
  349. package/esm2022/src/app/publico/pages/not-found/not-found.page.mjs +0 -51
  350. package/esm2022/src/app/publico/pages/seleccion-rol/seleccion-rol.component.mjs +0 -167
  351. package/esm2022/src/app/publico/pages/timeout/timeout.page.mjs +0 -20
  352. package/esm2022/src/app/seguridad/constantes/ConstantesGenerales.mjs +0 -30
  353. package/esm2022/src/app/seguridad/constantes/ReporteEntradaConstantes.mjs +0 -19
  354. package/esm2022/src/app/seguridad/modelos/AplicacionModel.mjs +0 -8
  355. package/esm2022/src/app/seguridad/modelos/ArchivoPortalModel.mjs +0 -14
  356. package/esm2022/src/app/seguridad/modelos/AtributoPuntoModel.mjs +0 -9
  357. package/esm2022/src/app/seguridad/modelos/AtributoSSOportalModel.mjs +0 -17
  358. package/esm2022/src/app/seguridad/modelos/AuditoriaArchivoModel.mjs +0 -11
  359. package/esm2022/src/app/seguridad/modelos/CargueLineaModel.mjs +0 -13
  360. package/esm2022/src/app/seguridad/modelos/ColoresRGB.mjs +0 -18
  361. package/esm2022/src/app/seguridad/modelos/ColumnaFuenteModel.mjs +0 -9
  362. package/esm2022/src/app/seguridad/modelos/ColumnaWraperModel.mjs +0 -6
  363. package/esm2022/src/app/seguridad/modelos/ComplementoModel.mjs +0 -7
  364. package/esm2022/src/app/seguridad/modelos/ComponentePaginaModel.mjs +0 -21
  365. package/esm2022/src/app/seguridad/modelos/ConexionModel.mjs +0 -14
  366. package/esm2022/src/app/seguridad/modelos/ContenidoHtmlPortalModel.mjs +0 -21
  367. package/esm2022/src/app/seguridad/modelos/ControlFuncionModel.mjs +0 -8
  368. package/esm2022/src/app/seguridad/modelos/CorreoModel.mjs +0 -35
  369. package/esm2022/src/app/seguridad/modelos/CorreoWSModel.mjs +0 -37
  370. package/esm2022/src/app/seguridad/modelos/CruceRecursoPuntoModel.mjs +0 -14
  371. package/esm2022/src/app/seguridad/modelos/DatoInicioModel.mjs +0 -6
  372. package/esm2022/src/app/seguridad/modelos/EjecucionReporteDataModel.mjs +0 -14
  373. package/esm2022/src/app/seguridad/modelos/EmpresaModel.mjs +0 -25
  374. package/esm2022/src/app/seguridad/modelos/EmpresaSeguridadModel.mjs +0 -19
  375. package/esm2022/src/app/seguridad/modelos/EntradaComplementoModel.mjs +0 -7
  376. package/esm2022/src/app/seguridad/modelos/EtiquetaModel.mjs +0 -5
  377. package/esm2022/src/app/seguridad/modelos/Etiquetas.mjs +0 -12
  378. package/esm2022/src/app/seguridad/modelos/ForeingWraperModel.mjs +0 -6
  379. package/esm2022/src/app/seguridad/modelos/FuenteCampoAtributoModel.mjs +0 -16
  380. package/esm2022/src/app/seguridad/modelos/FuenteCampoModel.mjs +0 -17
  381. package/esm2022/src/app/seguridad/modelos/FuenteDato.mjs +0 -19
  382. package/esm2022/src/app/seguridad/modelos/FuenteEntradaModel.mjs +0 -9
  383. package/esm2022/src/app/seguridad/modelos/FuenteGeneralModel.mjs +0 -37
  384. package/esm2022/src/app/seguridad/modelos/FuenteLineaServicioModel.mjs +0 -16
  385. package/esm2022/src/app/seguridad/modelos/FuenteProcesoGeneralModel.mjs +0 -11
  386. package/esm2022/src/app/seguridad/modelos/FuenteServicioModel.mjs +0 -51
  387. package/esm2022/src/app/seguridad/modelos/FuncionalidadModel.mjs +0 -10
  388. package/esm2022/src/app/seguridad/modelos/GeneralModel.mjs +0 -15
  389. package/esm2022/src/app/seguridad/modelos/GrupoAccesoModel.mjs +0 -7
  390. package/esm2022/src/app/seguridad/modelos/GrupoControlFuncionModel.mjs +0 -10
  391. package/esm2022/src/app/seguridad/modelos/GrupoFuenteModel.mjs +0 -13
  392. package/esm2022/src/app/seguridad/modelos/GrupoPermisoModel.mjs +0 -14
  393. package/esm2022/src/app/seguridad/modelos/JoinFromModel.mjs +0 -5
  394. package/esm2022/src/app/seguridad/modelos/ListaServicioModel.mjs +0 -17
  395. package/esm2022/src/app/seguridad/modelos/LlaveForaneaModel.mjs +0 -7
  396. package/esm2022/src/app/seguridad/modelos/LoginModel.mjs +0 -15
  397. package/esm2022/src/app/seguridad/modelos/MensajeSistemaModel.mjs +0 -8
  398. package/esm2022/src/app/seguridad/modelos/MenuPortalModel.mjs +0 -5
  399. package/esm2022/src/app/seguridad/modelos/ModulosModel.mjs +0 -18
  400. package/esm2022/src/app/seguridad/modelos/ObjetoReporteModel.mjs +0 -6
  401. package/esm2022/src/app/seguridad/modelos/PaginaPortalModel.mjs +0 -20
  402. package/esm2022/src/app/seguridad/modelos/ParametroComponenteModel.mjs +0 -9
  403. package/esm2022/src/app/seguridad/modelos/ParametrosGeneralModel.mjs +0 -15
  404. package/esm2022/src/app/seguridad/modelos/PermisoFuncionModel.mjs +0 -9
  405. package/esm2022/src/app/seguridad/modelos/PermisocontenidoModel.mjs +0 -20
  406. package/esm2022/src/app/seguridad/modelos/PeticionModel.mjs +0 -16
  407. package/esm2022/src/app/seguridad/modelos/PreguntaSeguridadModel.mjs +0 -7
  408. package/esm2022/src/app/seguridad/modelos/PropiedadModel.mjs +0 -10
  409. package/esm2022/src/app/seguridad/modelos/PublicacionWebModel.mjs +0 -27
  410. package/esm2022/src/app/seguridad/modelos/PuntoProcesoModel.mjs +0 -7
  411. package/esm2022/src/app/seguridad/modelos/RecursoPunto.mjs +0 -13
  412. package/esm2022/src/app/seguridad/modelos/RecursoPuntoModel.mjs +0 -13
  413. package/esm2022/src/app/seguridad/modelos/ReporteBanda.mjs +0 -8
  414. package/esm2022/src/app/seguridad/modelos/ReporteColumna.mjs +0 -33
  415. package/esm2022/src/app/seguridad/modelos/ReporteColumnario.mjs +0 -69
  416. package/esm2022/src/app/seguridad/modelos/ReporteColumnarioMarcador.mjs +0 -24
  417. package/esm2022/src/app/seguridad/modelos/ReporteEntradaModel.mjs +0 -20
  418. package/esm2022/src/app/seguridad/modelos/ReporteFuenteModel.mjs +0 -124
  419. package/esm2022/src/app/seguridad/modelos/ReporteMarcador.mjs +0 -40
  420. package/esm2022/src/app/seguridad/modelos/ReporteSoporte.mjs +0 -10
  421. package/esm2022/src/app/seguridad/modelos/ReporteTabla.mjs +0 -13
  422. package/esm2022/src/app/seguridad/modelos/RespuestaModel.mjs +0 -9
  423. package/esm2022/src/app/seguridad/modelos/RolModel.mjs +0 -39
  424. package/esm2022/src/app/seguridad/modelos/ServidorCorreoModel.mjs +0 -28
  425. package/esm2022/src/app/seguridad/modelos/SistemaMensajeModel.mjs +0 -9
  426. package/esm2022/src/app/seguridad/modelos/SitioPortalModel.mjs +0 -25
  427. package/esm2022/src/app/seguridad/modelos/TablaFromModel.mjs +0 -5
  428. package/esm2022/src/app/seguridad/modelos/TareasModel.mjs +0 -54
  429. package/esm2022/src/app/seguridad/modelos/TextoModel.mjs +0 -9
  430. package/esm2022/src/app/seguridad/modelos/TipoEtiqueta.mjs +0 -8
  431. package/esm2022/src/app/seguridad/modelos/UnionModel.mjs +0 -12
  432. package/esm2022/src/app/seguridad/modelos/UsuarioModel.mjs +0 -53
  433. package/esm2022/src/app/seguridad/modelos/UsuariogrupoModel.mjs +0 -24
  434. package/esm2022/src/app/seguridad/modelos/aplicacion-propiedad-model.mjs +0 -15
  435. package/esm2022/src/app/seguridad/modelos/contenidoCorreoModel.mjs +0 -10
  436. package/esm2022/src/app/shared/componentes/input-helper-seleccion-plantilla/input-helper-seleccion-plantilla.component.mjs +0 -151
  437. package/esm2022/src/app/shared/servicios/cargar-archivos.service.mjs +0 -54
  438. package/esm2022/src/app/shared/servicios/cargar-mapas.service.mjs +0 -46
  439. package/esm2022/src/app/shared/servicios/encriptado-basico.service.mjs +0 -53
  440. package/esm2022/src/app/shared/servicios/general.service.mjs +0 -104
  441. package/esm2022/src/app/shared/servicios/parametros-navegacion.service.mjs +0 -21
  442. package/esm2022/src/app/webcommon/pages/cargue-plantilla/cargue-plantilla-general/cargue-plantilla-general.component.mjs +0 -371
  443. package/esm2022/src/app/webcommon/pages/ejecucion-reporte/detalle-campo-reporte/detalle-campo-reporte.component.mjs +0 -187
  444. package/esm2022/src/app/webcommon/pages/ejecucion-reporte/detalle-distribucion-reporte/detalle-distribucion-reporte.component.mjs +0 -85
  445. package/esm2022/src/app/webcommon/pages/ejecucion-reporte/detalle-ejecucion-reporte/detalle-ejecucion-reporte.page.mjs +0 -347
  446. package/esm2022/src/app/webcommon/pages/ejecucion-reporte/detalle-entrada-reporte/detalle-entrada-reporte.component.mjs +0 -206
  447. package/esm2022/src/app/webcommon/pages/ejecucion-reporte/detalle-punto-proceso-reporte/detalle-punto-proceso-reporte.component.mjs +0 -328
  448. package/esm2022/src/app/webcommon/pages/ejecucion-reporte/detalle-tipo-reporte/detalle-tipo-reporte.component.mjs +0 -1569
  449. package/esm2022/src/app/webcommon/pages/ejecucion-reporte/listado-ejecucion-reporte/listado-ejecucion-reporte.page.mjs +0 -105
  450. package/esm2022/src/app/webcommon/pages/ejecucion-reporte-externo/listado-ejecucion-reporte-externo/listado-ejecucion-reporte-externo.component.mjs +0 -95
  451. package/esm2022/src/app/webcommon/pages/fuente/importar-fuente-con/importar-fuente-con.component.mjs +0 -588
  452. package/esm2022/src/app/webcommon/pages/fuente/importar-fuente-general/importar-fuente-general.component.mjs +0 -177
  453. package/esm2022/src/app/webcommon/pages/fuente-reporte/fuente-reporte.component.mjs +0 -749
  454. package/esm2022/src/app/webcommon/pages/fuenteGeneral/fuente-general-servicio/fuente-general-servicio.component.mjs +0 -331
  455. package/esm2022/src/app/webcommon/pages/fuenteGeneral/listado-fuente-general/listado-fuente-general.page.mjs +0 -96
  456. package/esm2022/src/app/webcommon/pages/fuenteGeneral/mantenimiento-fuente-general/mantenimiento-fuente-general.page.mjs +0 -675
  457. package/esm2022/src/app/webcommon/pipes/dashboard.pipe.mjs +0 -86
  458. package/esm2022/src/app/webcommon/pipes/fuente.pipe.mjs +0 -201
  459. package/esm2022/src/app/webcommon/pipes/general.pipe.mjs +0 -916
  460. package/esm2022/src/app/webcommon/pipes/reporte-columnario.pipe.mjs +0 -115
  461. package/esm2022/src/app/webcommon/pipes/reporte-fuente.pipe.mjs +0 -301
  462. package/esm2022/src/app/webcommon/popups/popup-campos-fuente-general/popup-campos-fuente-general.component.mjs +0 -267
  463. package/esm2022/src/app/webcommon/popups/popup-convertir-plantillas/popup-convertir-plantillas.component.mjs +0 -128
  464. package/esm2022/src/app/webcommon/popups/popup-punto-proceso/popup-punto-proceso.component.mjs +0 -293
  465. package/esm2022/src/app/webcommon/popups/popup-recurso/popup-recurso.component.mjs +0 -269
  466. package/esm2022/src/app/webcommon/popups/popup-reporte/popup-reporte.component.mjs +0 -509
  467. package/esm2022/src/app/webcommon/popups/popup-sentencia/popup-sentencia.component.mjs +0 -64
  468. package/esm2022/src/app/webcommon/popups/popup-tablas-fuente/popup-tablas-fuente.component.mjs +0 -159
  469. package/esm2022/src/app/webcommon/popups/punto-proceso-comp/punto-proceso-comp.component.mjs +0 -89
  470. package/esm2022/src/app/webcommon/services/carguelinea.service.mjs +0 -69
  471. package/esm2022/src/app/webcommon/services/dashboard.service.mjs +0 -253
  472. package/esm2022/src/app/webcommon/services/ejecucionreporte.service.mjs +0 -114
  473. package/esm2022/src/app/webcommon/services/fechaUtils.service.mjs +0 -88
  474. package/esm2022/src/app/webcommon/services/fuentegeneral.service.mjs +0 -68
  475. package/esm2022/src/app/webcommon/services/homologacion.service.mjs +0 -50
  476. package/esm2022/src/app/webcommon/services/plantillas.service.mjs +0 -129
  477. package/esm2022/src/app/webcommon/services/reportes.service.mjs +0 -95
  478. package/esm2022/src/app/webcommon/webcommon.module.mjs +0 -15
  479. package/esm2022/src/environments/environment.mjs +0 -24
  480. package/fesm2022/general-library-union.mjs +0 -15585
  481. package/fesm2022/general-library-union.mjs.map +0 -1
  482. package/index.d.ts +0 -5
  483. package/src/app/core/componentes/breadcrumb/breadcrumb.component.d.ts +0 -18
  484. package/src/app/core/componentes/carga-pantalla-completa/carga-pantalla-completa.component.d.ts +0 -14
  485. package/src/app/core/componentes/filtro-general/filtro-general.component.d.ts +0 -26
  486. package/src/app/core/componentes/footer/footer.component.d.ts +0 -9
  487. package/src/app/core/componentes/formulariodinamico/formulariodinamico.component.d.ts +0 -46
  488. package/src/app/core/componentes/formulariodinamico/objetosformulario/CampoFormulario.d.ts +0 -44
  489. package/src/app/core/componentes/formulariodinamico/objetosformulario/CampoFormularioCons.d.ts +0 -45
  490. package/src/app/core/componentes/formulariodinamico/objetosformulario/CampoFormularioNuevo.d.ts +0 -33
  491. package/src/app/core/componentes/formulariodinamico/objetosformulario/HashDirective.d.ts +0 -9
  492. package/src/app/core/componentes/inicio-component/inicio-component.component.d.ts +0 -24
  493. package/src/app/core/componentes/menu/menu.component.d.ts +0 -16
  494. package/src/app/core/componentes/tabla-general/tabla-general.component.d.ts +0 -32
  495. package/src/app/core/core.module.d.ts +0 -8
  496. package/src/app/core/errores/authentication.error.d.ts +0 -3
  497. package/src/app/core/modelos/error-response.model.d.ts +0 -9
  498. package/src/app/core/modelos/table-column.model.d.ts +0 -12
  499. package/src/app/core/modelos/user.model.d.ts +0 -6
  500. package/src/app/core/plantilla-general/plantilla-general.template.d.ts +0 -89
  501. package/src/app/core/servicios/auth.service.d.ts +0 -52
  502. package/src/app/core/servicios/cargar-control-funcionalidad.service.d.ts +0 -19
  503. package/src/app/core/servicios/data-exporter-table.utils.d.ts +0 -8
  504. package/src/app/core/servicios/error-interceptor.service.d.ts +0 -41
  505. package/src/app/core/servicios/guardias/auth.guard.d.ts +0 -17
  506. package/src/app/core/servicios/guardias/publico.guard.d.ts +0 -13
  507. package/src/app/core/servicios/interceptores/token-interceptor.service.d.ts +0 -21
  508. package/src/app/core/servicios/loading.service.d.ts +0 -22
  509. package/src/app/core/servicios/menu.service.d.ts +0 -35
  510. package/src/app/core/servicios/storage.service.d.ts +0 -37
  511. package/src/app/core/servicios/template.service.d.ts +0 -20
  512. package/src/app/core/servicios/toast.service.d.ts +0 -46
  513. package/src/app/core/servicios/utils.service.d.ts +0 -42
  514. package/src/app/core/sharedlib.module.d.ts +0 -6
  515. package/src/app/core/utilidades/color.util.d.ts +0 -70
  516. package/src/app/layout/app.breadcrumb.component.d.ts +0 -28
  517. package/src/app/layout/app.footer.component.d.ts +0 -8
  518. package/src/app/layout/app.layout.component.d.ts +0 -39
  519. package/src/app/layout/app.layout.module.d.ts +0 -6
  520. package/src/app/layout/app.menu.component.d.ts +0 -19
  521. package/src/app/layout/app.menu.service.d.ts +0 -12
  522. package/src/app/layout/app.menuitem.component.d.ts +0 -41
  523. package/src/app/layout/app.menuprofile.component.d.ts +0 -18
  524. package/src/app/layout/app.rightmenu.component.d.ts +0 -10
  525. package/src/app/layout/app.sidebar.component.d.ts +0 -34
  526. package/src/app/layout/app.topbar.component.d.ts +0 -79
  527. package/src/app/layout/service/app.layout.service.d.ts +0 -57
  528. package/src/app/publico/pages/login/login.page.d.ts +0 -40
  529. package/src/app/publico/pages/not-found/not-found.page.d.ts +0 -17
  530. package/src/app/publico/pages/seleccion-rol/seleccion-rol.component.d.ts +0 -41
  531. package/src/app/publico/pages/timeout/timeout.page.d.ts +0 -10
  532. package/src/app/seguridad/constantes/ConstantesGenerales.d.ts +0 -25
  533. package/src/app/seguridad/constantes/ReporteEntradaConstantes.d.ts +0 -7
  534. package/src/app/seguridad/modelos/AplicacionModel.d.ts +0 -7
  535. package/src/app/seguridad/modelos/ArchivoPortalModel.d.ts +0 -13
  536. package/src/app/seguridad/modelos/AtributoPuntoModel.d.ts +0 -8
  537. package/src/app/seguridad/modelos/AtributoSSOportalModel.d.ts +0 -16
  538. package/src/app/seguridad/modelos/CargueLineaModel.d.ts +0 -12
  539. package/src/app/seguridad/modelos/ColoresRGB.d.ts +0 -17
  540. package/src/app/seguridad/modelos/ColumnaFuenteModel.d.ts +0 -8
  541. package/src/app/seguridad/modelos/ComplementoModel.d.ts +0 -6
  542. package/src/app/seguridad/modelos/ComponentePaginaModel.d.ts +0 -20
  543. package/src/app/seguridad/modelos/ConexionModel.d.ts +0 -13
  544. package/src/app/seguridad/modelos/ControlFuncionModel.d.ts +0 -7
  545. package/src/app/seguridad/modelos/CorreoModel.d.ts +0 -31
  546. package/src/app/seguridad/modelos/CorreoWSModel.d.ts +0 -33
  547. package/src/app/seguridad/modelos/CruceRecursoPuntoModel.d.ts +0 -13
  548. package/src/app/seguridad/modelos/EmpresaModel.d.ts +0 -23
  549. package/src/app/seguridad/modelos/EmpresaSeguridadModel.d.ts +0 -18
  550. package/src/app/seguridad/modelos/EtiquetaModel.d.ts +0 -4
  551. package/src/app/seguridad/modelos/Etiquetas.d.ts +0 -10
  552. package/src/app/seguridad/modelos/FuenteCampoAtributoModel.d.ts +0 -15
  553. package/src/app/seguridad/modelos/FuenteDato.d.ts +0 -18
  554. package/src/app/seguridad/modelos/FuenteEntradaModel.d.ts +0 -8
  555. package/src/app/seguridad/modelos/FuenteLineaServicioModel.d.ts +0 -16
  556. package/src/app/seguridad/modelos/FuenteProcesoGeneralModel.d.ts +0 -10
  557. package/src/app/seguridad/modelos/FuncionalidadModel.d.ts +0 -8
  558. package/src/app/seguridad/modelos/GeneralModel.d.ts +0 -8
  559. package/src/app/seguridad/modelos/GrupoControlFuncionModel.d.ts +0 -9
  560. package/src/app/seguridad/modelos/GrupoFuenteModel.d.ts +0 -13
  561. package/src/app/seguridad/modelos/GrupoPermisoModel.d.ts +0 -13
  562. package/src/app/seguridad/modelos/ListaServicioModel.d.ts +0 -16
  563. package/src/app/seguridad/modelos/LlaveForaneaModel.d.ts +0 -6
  564. package/src/app/seguridad/modelos/LoginModel.d.ts +0 -17
  565. package/src/app/seguridad/modelos/MensajeSistemaModel.d.ts +0 -7
  566. package/src/app/seguridad/modelos/ModulosModel.d.ts +0 -14
  567. package/src/app/seguridad/modelos/PaginaPortalModel.d.ts +0 -19
  568. package/src/app/seguridad/modelos/ParametroComponenteModel.d.ts +0 -8
  569. package/src/app/seguridad/modelos/ParametrosGeneralModel.d.ts +0 -8
  570. package/src/app/seguridad/modelos/PermisoFuncionModel.d.ts +0 -8
  571. package/src/app/seguridad/modelos/PermisocontenidoModel.d.ts +0 -18
  572. package/src/app/seguridad/modelos/PreguntaSeguridadModel.d.ts +0 -6
  573. package/src/app/seguridad/modelos/PropiedadModel.d.ts +0 -9
  574. package/src/app/seguridad/modelos/PublicacionWebModel.d.ts +0 -25
  575. package/src/app/seguridad/modelos/PuntoProcesoModel.d.ts +0 -6
  576. package/src/app/seguridad/modelos/RecursoPunto.d.ts +0 -12
  577. package/src/app/seguridad/modelos/RecursoPuntoModel.d.ts +0 -12
  578. package/src/app/seguridad/modelos/ReporteBanda.d.ts +0 -7
  579. package/src/app/seguridad/modelos/ReporteColumna.d.ts +0 -32
  580. package/src/app/seguridad/modelos/ReporteColumnario.d.ts +0 -68
  581. package/src/app/seguridad/modelos/ReporteColumnarioMarcador.d.ts +0 -23
  582. package/src/app/seguridad/modelos/ReporteMarcador.d.ts +0 -39
  583. package/src/app/seguridad/modelos/ReporteSoporte.d.ts +0 -9
  584. package/src/app/seguridad/modelos/ReporteTabla.d.ts +0 -12
  585. package/src/app/seguridad/modelos/RespuestaModel.d.ts +0 -8
  586. package/src/app/seguridad/modelos/ServidorCorreoModel.d.ts +0 -25
  587. package/src/app/seguridad/modelos/SistemaMensajeModel.d.ts +0 -8
  588. package/src/app/seguridad/modelos/SitioPortalModel.d.ts +0 -24
  589. package/src/app/seguridad/modelos/TablaFromModel.d.ts +0 -4
  590. package/src/app/seguridad/modelos/TareasModel.d.ts +0 -49
  591. package/src/app/seguridad/modelos/TextoModel.d.ts +0 -8
  592. package/src/app/seguridad/modelos/TipoEtiqueta.d.ts +0 -7
  593. package/src/app/seguridad/modelos/UnionModel.d.ts +0 -11
  594. package/src/app/seguridad/modelos/UsuariogrupoModel.d.ts +0 -22
  595. package/src/app/seguridad/modelos/aplicacion-propiedad-model.d.ts +0 -13
  596. package/src/app/seguridad/modelos/contenidoCorreoModel.d.ts +0 -9
  597. package/src/app/shared/componentes/input-helper-seleccion-plantilla/input-helper-seleccion-plantilla.component.d.ts +0 -47
  598. package/src/app/shared/servicios/cargar-archivos.service.d.ts +0 -15
  599. package/src/app/shared/servicios/cargar-mapas.service.d.ts +0 -18
  600. package/src/app/shared/servicios/encriptado-basico.service.d.ts +0 -10
  601. package/src/app/shared/servicios/general.service.d.ts +0 -24
  602. package/src/app/shared/servicios/parametros-navegacion.service.d.ts +0 -9
  603. package/src/app/webcommon/pages/cargue-plantilla/cargue-plantilla-general/cargue-plantilla-general.component.d.ts +0 -78
  604. package/src/app/webcommon/pages/ejecucion-reporte/detalle-campo-reporte/detalle-campo-reporte.component.d.ts +0 -79
  605. package/src/app/webcommon/pages/ejecucion-reporte/detalle-distribucion-reporte/detalle-distribucion-reporte.component.d.ts +0 -29
  606. package/src/app/webcommon/pages/ejecucion-reporte/detalle-ejecucion-reporte/detalle-ejecucion-reporte.page.d.ts +0 -69
  607. package/src/app/webcommon/pages/ejecucion-reporte/detalle-entrada-reporte/detalle-entrada-reporte.component.d.ts +0 -51
  608. package/src/app/webcommon/pages/ejecucion-reporte/detalle-punto-proceso-reporte/detalle-punto-proceso-reporte.component.d.ts +0 -77
  609. package/src/app/webcommon/pages/ejecucion-reporte/detalle-tipo-reporte/detalle-tipo-reporte.component.d.ts +0 -275
  610. package/src/app/webcommon/pages/ejecucion-reporte/listado-ejecucion-reporte/listado-ejecucion-reporte.page.d.ts +0 -42
  611. package/src/app/webcommon/pages/ejecucion-reporte-externo/listado-ejecucion-reporte-externo/listado-ejecucion-reporte-externo.component.d.ts +0 -33
  612. package/src/app/webcommon/pages/fuente/importar-fuente-con/importar-fuente-con.component.d.ts +0 -143
  613. package/src/app/webcommon/pages/fuente/importar-fuente-general/importar-fuente-general.component.d.ts +0 -49
  614. package/src/app/webcommon/pages/fuente-reporte/fuente-reporte.component.d.ts +0 -128
  615. package/src/app/webcommon/pages/fuenteGeneral/fuente-general-servicio/fuente-general-servicio.component.d.ts +0 -64
  616. package/src/app/webcommon/pages/fuenteGeneral/listado-fuente-general/listado-fuente-general.page.d.ts +0 -33
  617. package/src/app/webcommon/pages/fuenteGeneral/mantenimiento-fuente-general/mantenimiento-fuente-general.page.d.ts +0 -149
  618. package/src/app/webcommon/pipes/dashboard.pipe.d.ts +0 -48
  619. package/src/app/webcommon/pipes/fuente.pipe.d.ts +0 -136
  620. package/src/app/webcommon/pipes/general.pipe.d.ts +0 -646
  621. package/src/app/webcommon/pipes/reporte-columnario.pipe.d.ts +0 -59
  622. package/src/app/webcommon/pipes/reporte-fuente.pipe.d.ts +0 -193
  623. package/src/app/webcommon/popups/popup-campos-fuente-general/popup-campos-fuente-general.component.d.ts +0 -59
  624. package/src/app/webcommon/popups/popup-convertir-plantillas/popup-convertir-plantillas.component.d.ts +0 -27
  625. package/src/app/webcommon/popups/popup-punto-proceso/popup-punto-proceso.component.d.ts +0 -64
  626. package/src/app/webcommon/popups/popup-recurso/popup-recurso.component.d.ts +0 -63
  627. package/src/app/webcommon/popups/popup-reporte/popup-reporte.component.d.ts +0 -97
  628. package/src/app/webcommon/popups/popup-sentencia/popup-sentencia.component.d.ts +0 -21
  629. package/src/app/webcommon/popups/popup-tablas-fuente/popup-tablas-fuente.component.d.ts +0 -42
  630. package/src/app/webcommon/popups/punto-proceso-comp/punto-proceso-comp.component.d.ts +0 -30
  631. package/src/app/webcommon/services/carguelinea.service.d.ts +0 -19
  632. package/src/app/webcommon/services/dashboard.service.d.ts +0 -27
  633. package/src/app/webcommon/services/ejecucionreporte.service.d.ts +0 -34
  634. package/src/app/webcommon/services/fechaUtils.service.d.ts +0 -29
  635. package/src/app/webcommon/services/fuentegeneral.service.d.ts +0 -24
  636. package/src/app/webcommon/services/homologacion.service.d.ts +0 -17
  637. package/src/app/webcommon/services/plantillas.service.d.ts +0 -26
  638. package/src/app/webcommon/services/reportes.service.d.ts +0 -35
  639. package/src/app/webcommon/webcommon.module.d.ts +0 -6
  640. package/src/environments/environment.d.ts +0 -7
@@ -0,0 +1,513 @@
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
+ this.aplicacion = this.authService.getTokenKey('aplicacion')
99
+ }
100
+
101
+ async mostrarPopup(){
102
+ this.panel = 'entrada';
103
+ this.mostrarQueDeseaHacer = false;
104
+ this.tipoReporte = null;
105
+ this.mostrarConsultaCasoError = this.validarControlFuncionalidad('reporte:versentenciaerror');
106
+ this.operacion = null;
107
+ this.elementoBorrar = {}
108
+ this.listaSegundoPlano = []
109
+ this.listaRegistro = [];
110
+ this.columnas = [];
111
+ this.existeJasper = false;
112
+ if (this.reporte.llave) {
113
+ var resultado = await this.ejecucionReporteService.getDatosEjecucionReporte({llave: this.reporte.llave}).toPromise();
114
+ this.reporte = resultado.reporte;
115
+ delete this.reporte['alias']
116
+ this.cargarListaEntrada();
117
+ this.traerSegundoPlano();
118
+ this.cargarCorreo();
119
+ await this.validarExisteJasper();
120
+ await this.cargarGeneraciones();
121
+ this.cargarOperaciones();
122
+
123
+ }
124
+ }
125
+
126
+ cargarMenu(){
127
+ this.items = [
128
+
129
+ {
130
+ label: this.translateService.instant('ejecucion'),
131
+ icon: 'glyphicons glyphicons-plus-sign',
132
+ command: (event) => {
133
+ this.vistaVisualizar = 'entrada';
134
+ },
135
+ },
136
+ {
137
+ label: this.translateService.instant('segundoplano'),
138
+ icon: 'glyphicons glyphicons-file-minus',
139
+ command: (event) => {
140
+ this.vistaVisualizar = 'segundoplano';
141
+ },
142
+ visible: this.listaSegundoPlano.length > 0,
143
+ }
144
+ ]
145
+ }
146
+
147
+ async cargarGeneraciones(){
148
+ this.generaciones = [];
149
+ if ( this.utilsService.isNotBlank(this.reporte.tituloParametro) && this.existeJasper){
150
+ this.generaciones.push({value: this.reporteFuentePipe.GENERACION_JASPERDINAMICO,
151
+ label: this.reporteFuentePipe.DESC_GENERACION_JASPERDINAMICO})
152
+ }
153
+ if (this.utilsService.isNotBlank(this.reporte.jasperFijo) && this.utilsService.isNotBlank(this.reporte.modoFijo)){
154
+ this.generaciones.push({value: this.reporteFuentePipe.GENERACION_JASPERFIJO,
155
+ label: this.reporteFuentePipe.DESC_GENERACION_JASPERFIJO})
156
+ }
157
+ if (this.utilsService.isNotBlank(this.reporte.archivoTodo) && this.utilsService.isNotBlank(this.reporte.hojaExcel)){
158
+ this.generaciones.push({value: this.reporteFuentePipe.GENERACION_EXCEL,
159
+ label: this.reporteFuentePipe.DESC_GENERACION_EXCEL})
160
+ }
161
+ if (this.utilsService.isNotBlank(this.reporte.archivoIndividual) || this.reporte.unicoArchivo == 'N'){
162
+ this.generaciones.push({value: this.reporteFuentePipe.GENERACION_PLANTILLA,
163
+ label: this.reporteFuentePipe.DESC_GENERACION_PLANTILLA})
164
+ }
165
+ if (this.utilsService.isNotBlank(this.reporte.separador)){
166
+ this.generaciones.push({value: this.reporteFuentePipe.GENERACION_ARCHIVOPLANO,
167
+ label: this.reporteFuentePipe.DESC_GENERACION_ARCHIVOPLANO})
168
+ }
169
+ if (this.utilsService.isNotBlank(this.reporte.nombreTabla)){
170
+ this.generaciones.push({value: this.reporteFuentePipe.GENERACION_TABLA,
171
+ label: this.reporteFuentePipe.DESC_GENERACION_TABLA})
172
+ }
173
+ if (this.utilsService.isNotBlank(this.reporte.tagEncabezado) && this.utilsService.isNotBlank(this.reporte.estructuraRegistro)){
174
+ this.generaciones.push({value: this.reporteFuentePipe.GENERACION_XML,
175
+ label: this.reporteFuentePipe.DESC_GENERACION_XML})
176
+ }
177
+ if (this.utilsService.isNotBlank(this.reporte.archivoExcelColumnario) && this.utilsService.isNotBlank(this.reporte.hojaExcelColumnario)){
178
+ this.generaciones.push({value: this.reporteFuentePipe.GENERACION_COLUMNARIO,
179
+ label: this.reporteFuentePipe.DESC_GENERACION_COLUMNARIO})
180
+ }
181
+ }
182
+
183
+ async validarExisteJasper(){
184
+ try {
185
+ var data = await this.cargarArchivo.descargarArchivo(this.encriptadorArchivo.encriptar('reportes/' + this.reporte.llave + '.jrxml'), 'ruta_plantillas', this.aplicacion).toPromise();
186
+ if (data) {
187
+ this.existeJasper = true;
188
+ }
189
+ } catch (error) {
190
+ this.existeJasper = false;
191
+ }
192
+ }
193
+
194
+ cargarOperaciones(){
195
+ this.bloquearCorreo = true;
196
+ this.operaciones = [];
197
+ if (this.tipoReporte){
198
+ if (this.tipoReporte != this.reporteFuentePipe.GENERACION_TABLA) {
199
+ this.operaciones.push({value: this.reporteFuentePipe.OPERACION_DESCARGAR,
200
+ label: this.reporteFuentePipe.DESC_OPERACION_DESCARGAR});
201
+
202
+ if (this.validarControlFuncionalidad('reporte:enviocorreo')){
203
+ this.bloquearCorreo = false;
204
+ }
205
+ this.operaciones.push({value: this.reporteFuentePipe.OPERACION_ENVIARCORREO,
206
+ label: this.reporteFuentePipe.DESC_OPERACION_ENVIARCORREO});
207
+ if (this.reporteFuentePipe.MOMENTOS_SEGUNDO_PLANO == this.reporte.momento) {
208
+ this.operaciones.push({value: this.reporteFuentePipe.OPERACION_SEGUNDOPLANO,
209
+ label: this.reporteFuentePipe.DESC_OPERACION_SEGUNDOPLANO});
210
+ }
211
+ if ((this.tipoReporte == this.reporteFuentePipe.GENERACION_JASPERFIJO && this.reporte.modoFijo == 'P')
212
+ || this.tipoReporte == this.reporteFuentePipe.GENERACION_PLANTILLA && this.reporte.descargarFuente != 'S'){
213
+
214
+ if (this.reporte.archivoHtml && this.reporte.campoEmail){
215
+ this.operaciones.push({value: this.reporteFuentePipe.OPERACION_ENVIOMASIVO,
216
+ label: this.reporteFuentePipe.DESC_OPERACION_ENVIOMASIVO});
217
+ }
218
+ if (this.reporte.publicacion && this.reporte.campoPublica){
219
+ this.operaciones.push({value: this.reporteFuentePipe.OPERACION_PUBLICAR,
220
+ label: this.reporteFuentePipe.DESC_OPERACION_PUBLICAR});
221
+ }
222
+ if (this.reporte.archivoHtml && this.reporte.campoEmail && this.reporte.publicacion && this.reporte.campoPublica ){
223
+ this.operaciones.push({value: this.reporteFuentePipe.OPERACION_CORREOPUBLICAR,
224
+ label: this.reporteFuentePipe.DESC_OPERACION_CORREOPUBLICAR});
225
+ }
226
+ }
227
+ //pte proceso externo
228
+ }
229
+ }
230
+ }
231
+
232
+ cambioValorLista(event, parametro){
233
+ if (event.value){
234
+ let lista = event.value.split(':')
235
+ if (parametro.unionDTO.tipoDato == 'N'){
236
+ parametro.unionDTO.valor = parseInt(lista[0])
237
+ } else {
238
+ parametro.unionDTO.valor = lista[0]
239
+ }
240
+ }
241
+ }
242
+
243
+ cambioSoporteBase(event) {
244
+ if (this.soporteBase == null) {
245
+ this.cargarOperaciones();
246
+ return;
247
+ }
248
+ this.generalService.queryForObject(new GeneralModel('ReporteSoporteDTO', null, false, {llaveTabla: this.soporteBase})).subscribe(archivoBase => {
249
+ if (archivoBase == null) {
250
+ return;
251
+ }
252
+ this.soporteBase = archivoBase.llaveTabla;
253
+ this.reporte.archivoIndividual = archivoBase.archivoIndividual;
254
+ this.cargarOperaciones();
255
+ });
256
+
257
+ }
258
+
259
+ cargarCorreo(){
260
+ this.generalService.queryForObject(new GeneralModel('UsuarioDTO', null, true, {login: this.authService.getTokenKey('usuario')})).subscribe(data => {
261
+ this.correo = data.email;
262
+ })
263
+ }
264
+
265
+ cargarListaEntrada(){
266
+ this.mostrarParametros = false;
267
+ if (this.entradasPuntoProceso.length > 0){
268
+ this.parametros = this.entradasPuntoProceso;
269
+ this.parametros.forEach(element => {
270
+ if (element.unionDTO.solicitar == 'S'){
271
+ this.mostrarParametros = true;
272
+ }
273
+ if (element.unionDTO.tipoDato == 'F' && element.unionDTO.valor != null){
274
+ element.unionDTO.valor = new Date(element.unionDTO.valor)
275
+ }
276
+ })
277
+ } else {
278
+ this.ejecucionReporteService.obtenerListaEntradaEjecucion(this.reporte).subscribe(data => {
279
+ this.parametros = data;
280
+ this.parametros.forEach(element => {
281
+ if (element.unionDTO.solicitar == 'S'){
282
+ this.mostrarParametros = true;
283
+ }
284
+ if (element.unionDTO.tipoDato == 'F' && element.unionDTO.valor != null){
285
+ element.unionDTO.valor = new Date(element.unionDTO.valor)
286
+ }
287
+ })
288
+ })
289
+ }
290
+ }
291
+
292
+ traerSegundoPlano(){
293
+ let usuario = this.authService.getTokenKey('usuario')
294
+ this.generalService.queryForList(new GeneralModel('EjecucionReporteDTO', null, false, {
295
+ adicionado: usuario,
296
+ reporteFuente: this.reporte.llave})).subscribe(data => {
297
+ this.listaSegundoPlano = data;
298
+ this.paginator.totalRecords = this.listaSegundoPlano.length;
299
+ })
300
+ }
301
+
302
+ verSegundoPlano(event){
303
+ this.elementoBorrar = event.data;
304
+ this.elementoBorrar.fechaAdicionado = this.elementoBorrar.fechaAdicionado ? new Date(this.elementoBorrar.fechaAdicionado) : null
305
+ this.elementoBorrar.inicia = this.elementoBorrar.inicia ? new Date(this.elementoBorrar.inicia) : null
306
+ this.elementoBorrar.termina = this.elementoBorrar.termina ? new Date(this.elementoBorrar.termina) : null
307
+ this.operacion = 'historico'
308
+ this.panel = 'resultado'
309
+ }
310
+
311
+ eliminarSegundoPlano(event){
312
+ this.confirmationService.confirm({
313
+ target: event.target,
314
+ message: this.generalPipe.MENSAJE_ELIMINAR_CONFIRMAR,
315
+ acceptLabel: this.generalPipe.SI_DESC,
316
+ header: this.translateService.instant('confirmar'),
317
+ accept: () => {
318
+ this.ejecucionReporteService.eliminarEjecucionReporte(this.elementoBorrar).subscribe(data =>{
319
+ this.notificacionService.showInfo(this.generalPipe.MENSAJE_ELIMINAR)
320
+ this.regresarSegundoPlano();
321
+ this.traerSegundoPlano();
322
+ })
323
+ }
324
+ })
325
+ }
326
+
327
+ descargarArchivo(){
328
+ this.cargarArchivoService.descargarArchivo(this.encriptadoBasico.encriptar(this.elementoBorrar.archivo)).subscribe(blob => {
329
+
330
+ const a = document.createElement('a')
331
+ const objectUrl = URL.createObjectURL(blob)
332
+ a.href = objectUrl
333
+ let partes = this.elementoBorrar.archivo.split(".");
334
+ let extension = partes[partes.length - 1];
335
+ a.download = this.utilsService.generarLlave() + '.' + extension;
336
+ a.click();
337
+ URL.revokeObjectURL(objectUrl);
338
+ });
339
+ }
340
+
341
+ cambioTipoReporte(event){
342
+ this.mostrarQueDeseaHacer = true;
343
+ if (this.tipoReporte == this.reporteFuentePipe.GENERACION_PLANTILLA && this.reporte.unicoArchivo == 'N' ){
344
+ this.mostrarArchivosSoporte = true;
345
+ this.generalService.queryForList(new GeneralModel('ReporteSoporteDTO', null, false, {
346
+ reporteFuente: this.reporte.llave,
347
+ tipo:'S'
348
+ })).subscribe(data => {
349
+ this.listadoArchivoSoporte = data;
350
+ })
351
+ } else {
352
+ this.mostrarArchivosSoporte = false;
353
+ this.listadoArchivoSoporte = [];
354
+ this.tipoArchivo = null;
355
+ this.operacion = null;
356
+ this.cargarOperaciones();
357
+ //this.descargarArchivo = null;
358
+ }
359
+ }
360
+
361
+ cambioTipoArchivo(event){
362
+ this.cargarOperaciones();
363
+ }
364
+
365
+ regresarSegundoPlano(){
366
+ this.elementoBorrar = {}
367
+ this.panel = 'entrada'
368
+ this.operacion = null;
369
+ }
370
+
371
+ ocultar(){
372
+ this.tipoReporte = null;
373
+ this.mostrar = false;
374
+ this.regresar.emit(false);
375
+ }
376
+
377
+ validarControlFuncionalidad(valor: string): boolean {
378
+ return this.controlFuncionalidad.getControlFuncionalidad(valor);
379
+ }
380
+
381
+ sentencia(){
382
+ this.mostrarPopupSentencia = true
383
+ }
384
+
385
+ regresarSentencia(event){
386
+ this.mostrarPopupSentencia = false;
387
+ }
388
+
389
+ enviarSegundoPlano(){
390
+ let listaEntrada = []
391
+ this.parametros.forEach(element => {
392
+ listaEntrada.push(element.unionDTO)
393
+ })
394
+ this.ejecucionReporteService.enviarSegundoPlano({
395
+ reporte: this.reporte,
396
+ parametros: listaEntrada,
397
+ tipoReporte: this.tipoReporte,
398
+ operacion: this.operacion,
399
+ correo: this.correo,
400
+ }).subscribe(data => {
401
+ this.notificacionService.showInfo(data.mensaje)
402
+ })
403
+ }
404
+
405
+ descargarReporte(){
406
+
407
+ if('F' == this.tipoReporte){
408
+ this.reporte.tipoArchivo = this.tipoArchivo;
409
+ }
410
+
411
+ let listaEntrada = []
412
+ this.parametros.forEach(element => {
413
+ listaEntrada.push(element.unionDTO)
414
+ })
415
+ this.ejecucionReporteService.descargarReporte({
416
+ reporte: this.reporte,
417
+ parametros: listaEntrada,
418
+ tipoReporte: this.tipoReporte,
419
+ operacion: this.operacion,
420
+ correo: this.correo,
421
+ endpointGeneradorReportes: ''
422
+ }).subscribe({
423
+ next: data =>{
424
+ console.log(data)
425
+ this.notificacionService.showInfo(data.mensaje)
426
+ if (!data.archivo) {
427
+ return;
428
+ }
429
+ const decodedData = atob(data.archivo);
430
+ const byteNumbers = new Array(decodedData.length);
431
+ for (let i = 0; i < decodedData.length; i++) {
432
+ byteNumbers[i] = decodedData.charCodeAt(i);
433
+ }
434
+ const byteArray = new Uint8Array(byteNumbers);
435
+
436
+ // Crea un objeto Blob con los bytes decodificados y el tipo MIME del archivo
437
+ const blob = new Blob([byteArray], { type: data.mime });
438
+
439
+ // Crea una URL del objeto Blob
440
+ const url = URL.createObjectURL(blob);
441
+
442
+ // Crea un enlace de descarga y haz clic en él para iniciar la descarga
443
+ const link = document.createElement('a');
444
+ link.href = url;
445
+ link.download = data.nombreArchivo + data.extension;
446
+ document.body.appendChild(link);
447
+ link.click();
448
+
449
+ // Limpia la URL creada
450
+ URL.revokeObjectURL(url);
451
+ }
452
+ })
453
+ }
454
+
455
+ descargarReporteSinHilo(){
456
+ let listaEntrada = []
457
+ this.parametros.forEach(element => {
458
+ listaEntrada.push(element.unionDTO)
459
+ })
460
+ this.ejecucionReporteService.descargarReporte({
461
+ next: data =>{
462
+ this.notificacionService.showInfo(data.mensaje)
463
+ const decodedData = atob(data.archivo);
464
+ const byteNumbers = new Array(decodedData.length);
465
+ for (let i = 0; i < decodedData.length; i++) {
466
+ byteNumbers[i] = decodedData.charCodeAt(i);
467
+ }
468
+ const byteArray = new Uint8Array(byteNumbers);
469
+
470
+ // Crea un objeto Blob con los bytes decodificados y el tipo MIME del archivo
471
+ const blob = new Blob([byteArray], { type: data.mime });
472
+
473
+ // Crea una URL del objeto Blob
474
+ const url = URL.createObjectURL(blob);
475
+
476
+ // Crea un enlace de descarga y haz clic en él para iniciar la descarga
477
+ const link = document.createElement('a');
478
+ link.href = url;
479
+ link.download = data.nombreArchivo + '.' + data.extension;
480
+ document.body.appendChild(link);
481
+ link.click();
482
+
483
+ // Limpia la URL creada
484
+ URL.revokeObjectURL(url);
485
+ },
486
+ error: err => {
487
+ this.notificacionService.showError(JSON.stringify(err.error.mensajeEtiqueta))
488
+ }
489
+ })
490
+ }
491
+
492
+ generarTabla(){
493
+ this.panel = 'resultado'
494
+ let listaEntrada = []
495
+ this.columnas = [];
496
+ this.parametros.forEach(element => {
497
+ listaEntrada.push(element.unionDTO)
498
+ })
499
+ this.ejecucionReporteService.generarTabla({reporte: this.reporte, parametros: listaEntrada}).subscribe(data => {
500
+ var columna: TableColumn;
501
+ data.columnas.forEach(element => {
502
+ columna = {
503
+ field: element.nombre.toLowerCase(),
504
+ header: element.nombre,
505
+ width: 300,
506
+ canOrder: true,
507
+ };
508
+ this.columnas.push(columna)
509
+ });
510
+ this.listaRegistro = data.listaRegistro;
511
+ })
512
+ }
513
+ }
@@ -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,71 @@
1
+ <p-confirmDialog #cd key="eliminar">
2
+ <ng-template pTemplate="footer">
3
+ <div class="mt-3">
4
+ <button type="button"
5
+ class="p-button-outlined-button-secondary p-button-outlined p-button p-component" pButton
6
+ icon="pi pi-times" label="No" (click)="cd.reject()"></button>
7
+ <button type="button" pButton icon="pi pi-check" label="Si" class="p-button-raised"
8
+ (click)="cd.accept()"></button>
9
+ </div>
10
+ </ng-template>
11
+ </p-confirmDialog>
12
+ <p-dialog id='popupfuenteTablas' header="{{'fuente' | translate}}"
13
+ [(visible)]="visible" [breakpoints]="{'960px': '75vw', '640px': '100vw'}" [style]="{width: '50vw'}"
14
+ (onHide)="ocultarPopup()" [modal]="true">
15
+ <div class="flex justify-content-between align-items-center mb-3">
16
+ <app-filtro-general [filtros]="filters" (metodoRegresar)="cargaLazy($event)">
17
+ <ng-template let-form>
18
+ <ng-container [formGroup]="form">
19
+ <span class="p-float-label">
20
+ <input pInputText autofocus type="text" id="descripcion" formControlName="descripcion" [(ngModel)]="filtroTabla"
21
+ autocomplete="off" />
22
+ <label for="descripcion">{{'filtro' | translate}}</label>
23
+ </span>
24
+ </ng-container>
25
+ </ng-template>
26
+ </app-filtro-general>
27
+
28
+ <button pButton pRipple class="ml-2 p-ripple p-element p-button p-component p-button-secondary"
29
+ icon="pi pi-plus" label="{{'adicionar' | translate}}"
30
+ (click)="seleccionarTabla()">
31
+ </button>
32
+
33
+ </div>
34
+
35
+ <p-table #tablaGeneral id="tabla_lista_tipo_entidad" [value]="paginadorTablas" [scrollable]="true"
36
+ [totalRecords]="paginadorTablas.length" scrollDirection="both" scrollDirection="horizontal"
37
+ responsiveLayout="scroll" scrollDirection="horizontal" [paginator]="paginadorTablas.length > 10"
38
+ [rows]="10" styleClass="p-datatable-striped"
39
+ [showCurrentPageReport]="true" editMode="row" [globalFilterFields]="['objeto']"
40
+ currentPageReportTemplate="{first} al {last} de {totalRecords} registros"
41
+ dataKey="alias">
42
+ <ng-template pTemplate="header">
43
+ <tr>
44
+ <th style="width:25%" alignFrozen="left" pFrozenColumn>
45
+ <p-checkbox [style]="{'margin-left': '1%','margin-right':'1%'}"
46
+ [(ngModel)]="seleccionGeneral" [binary]="true" [ngModel]="todosSeleccionados()"
47
+ (ngModelChange)="actualizarSeleccion($event)"></p-checkbox>
48
+ <span style="margin-left:1%">{{'tabla' | translate}}</span>
49
+ </th>
50
+ </tr>
51
+ </ng-template>
52
+ <ng-template pTemplate="body" let-tabla>
53
+ <tr>
54
+ <td style="width:25%">
55
+ <p-checkbox class="mr-2 " [(ngModel)]="tabla.check" [binary]="true" inputId="binary">
56
+ </p-checkbox>
57
+ {{tabla.objeto}}
58
+ </td>
59
+ </tr>
60
+ </ng-template>
61
+ <ng-template pTemplate="emptymessage">
62
+ <tr class="p-3 font-medium emptymessage">
63
+ <td colspan="5">
64
+ {{'mensajetablavacia' | translate}}
65
+ </td>
66
+ </tr>
67
+ </ng-template>
68
+ </p-table>
69
+
70
+
71
+ </p-dialog>