general-library-union 2.3.36 → 2.3.38

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/esm2022/general-library-union.mjs +5 -0
  2. package/esm2022/public-api.mjs +170 -0
  3. package/esm2022/src/app/core/componentes/breadcrumb/breadcrumb.component.mjs +35 -0
  4. package/esm2022/src/app/core/componentes/carga-pantalla-completa/carga-pantalla-completa.component.mjs +28 -0
  5. package/esm2022/src/app/core/componentes/filtro-general/filtro-general.component.mjs +153 -0
  6. package/esm2022/src/app/core/componentes/footer/footer.component.mjs +22 -0
  7. package/esm2022/src/app/core/componentes/formulariodinamico/formulariodinamico.component.mjs +272 -0
  8. package/esm2022/src/app/core/componentes/formulariodinamico/objetosformulario/Cambio.mjs +11 -0
  9. package/esm2022/src/app/core/componentes/formulariodinamico/objetosformulario/CampoFormulario.mjs +124 -0
  10. package/esm2022/src/app/core/componentes/formulariodinamico/objetosformulario/CampoFormularioCons.mjs +73 -0
  11. package/esm2022/src/app/core/componentes/formulariodinamico/objetosformulario/CampoFormularioNuevo.mjs +59 -0
  12. package/esm2022/src/app/core/componentes/formulariodinamico/objetosformulario/HashDirective.mjs +21 -0
  13. package/esm2022/src/app/core/componentes/inicio-component/inicio-component.component.mjs +67 -0
  14. package/esm2022/src/app/core/componentes/menu/menu.component.mjs +37 -0
  15. package/esm2022/src/app/core/componentes/tabla-general/tabla-general.component.mjs +93 -0
  16. package/esm2022/src/app/core/core.module.mjs +23 -0
  17. package/esm2022/src/app/core/errores/authentication.error.mjs +7 -0
  18. package/esm2022/src/app/core/modelos/error-response.model.mjs +2 -0
  19. package/esm2022/src/app/core/modelos/table-column.model.mjs +2 -0
  20. package/esm2022/src/app/core/modelos/user.model.mjs +7 -0
  21. package/esm2022/src/app/core/plantilla-general/plantilla-general.template.mjs +225 -0
  22. package/esm2022/src/app/core/servicios/auth.service.mjs +180 -0
  23. package/esm2022/src/app/core/servicios/cargar-control-funcionalidad.service.mjs +57 -0
  24. package/esm2022/src/app/core/servicios/data-exporter-table.utils.mjs +44 -0
  25. package/esm2022/src/app/core/servicios/error-interceptor.service.mjs +147 -0
  26. package/esm2022/src/app/core/servicios/guardias/auth.guard.mjs +66 -0
  27. package/esm2022/src/app/core/servicios/guardias/publico.guard.mjs +30 -0
  28. package/esm2022/src/app/core/servicios/interceptores/token-interceptor.service.mjs +120 -0
  29. package/esm2022/src/app/core/servicios/loading.service.mjs +43 -0
  30. package/esm2022/src/app/core/servicios/menu.service.mjs +88 -0
  31. package/esm2022/src/app/core/servicios/storage.service.mjs +68 -0
  32. package/esm2022/src/app/core/servicios/template.service.mjs +99 -0
  33. package/esm2022/src/app/core/servicios/toast.service.mjs +91 -0
  34. package/esm2022/src/app/core/servicios/utils.service.mjs +305 -0
  35. package/esm2022/src/app/core/sharedlib.module.mjs +16 -0
  36. package/esm2022/src/app/core/utilidades/color.util.mjs +177 -0
  37. package/esm2022/src/app/layout/api/menuchangeevent.mjs +2 -0
  38. package/esm2022/src/app/layout/app.breadcrumb.component.mjs +66 -0
  39. package/esm2022/src/app/layout/app.footer.component.mjs +21 -0
  40. package/esm2022/src/app/layout/app.layout.component.mjs +188 -0
  41. package/esm2022/src/app/layout/app.layout.module.mjs +15 -0
  42. package/esm2022/src/app/layout/app.menu.component.mjs +40 -0
  43. package/esm2022/src/app/layout/app.menu.service.mjs +24 -0
  44. package/esm2022/src/app/layout/app.menuitem.component.mjs +295 -0
  45. package/esm2022/src/app/layout/app.menuprofile.component.mjs +78 -0
  46. package/esm2022/src/app/layout/app.rightmenu.component.mjs +24 -0
  47. package/esm2022/src/app/layout/app.sidebar.component.mjs +91 -0
  48. package/esm2022/src/app/layout/app.topbar.component.mjs +334 -0
  49. package/esm2022/src/app/layout/service/app.layout.service.mjs +134 -0
  50. package/esm2022/src/app/publico/pages/login/login.page.mjs +127 -0
  51. package/esm2022/src/app/publico/pages/not-found/not-found.page.mjs +47 -0
  52. package/esm2022/src/app/publico/pages/seleccion-rol/seleccion-rol.component.mjs +159 -0
  53. package/esm2022/src/app/publico/pages/timeout/timeout.page.mjs +20 -0
  54. package/esm2022/src/app/seguridad/modelos/AplicacionModel.mjs +8 -0
  55. package/esm2022/src/app/seguridad/modelos/ArchivoPortalModel.mjs +14 -0
  56. package/esm2022/src/app/seguridad/modelos/AtributoPuntoModel.mjs +9 -0
  57. package/esm2022/src/app/seguridad/modelos/AtributoSSOportalModel.mjs +17 -0
  58. package/esm2022/src/app/seguridad/modelos/AuditoriaArchivoModel.mjs +11 -0
  59. package/esm2022/src/app/seguridad/modelos/CargueLineaModel.mjs +13 -0
  60. package/esm2022/src/app/seguridad/modelos/ColoresRGB.mjs +18 -0
  61. package/esm2022/src/app/seguridad/modelos/ComplementoModel.mjs +7 -0
  62. package/esm2022/src/app/seguridad/modelos/ComponentePaginaModel.mjs +21 -0
  63. package/esm2022/src/app/seguridad/modelos/ConexionModel.mjs +14 -0
  64. package/esm2022/src/app/seguridad/modelos/ContenidoHtmlPortalModel.mjs +21 -0
  65. package/esm2022/src/app/seguridad/modelos/ControlFuncionModel.mjs +8 -0
  66. package/esm2022/src/app/seguridad/modelos/CorreoModel.mjs +35 -0
  67. package/esm2022/src/app/seguridad/modelos/CorreoWSModel.mjs +37 -0
  68. package/esm2022/src/app/seguridad/modelos/CruceRecursoPuntoModel.mjs +14 -0
  69. package/esm2022/src/app/seguridad/modelos/DatoInicioModel.mjs +6 -0
  70. package/esm2022/src/app/seguridad/modelos/EjecucionReporteDataModel.mjs +14 -0
  71. package/esm2022/src/app/seguridad/modelos/EmpresaModel.mjs +25 -0
  72. package/esm2022/src/app/seguridad/modelos/EmpresaSeguridadModel.mjs +19 -0
  73. package/esm2022/src/app/seguridad/modelos/EntradaComplementoModel.mjs +7 -0
  74. package/esm2022/src/app/seguridad/modelos/EtiquetaModel.mjs +5 -0
  75. package/esm2022/src/app/seguridad/modelos/Etiquetas.mjs +12 -0
  76. package/esm2022/src/app/seguridad/modelos/FuenteCampoAtributoModel.mjs +16 -0
  77. package/esm2022/src/app/seguridad/modelos/FuenteCampoModel.mjs +17 -0
  78. package/esm2022/src/app/seguridad/modelos/FuenteDato.mjs +19 -0
  79. package/esm2022/src/app/seguridad/modelos/FuenteEntradaModel.mjs +9 -0
  80. package/esm2022/src/app/seguridad/modelos/FuenteGeneralModel.mjs +37 -0
  81. package/esm2022/src/app/seguridad/modelos/FuenteLineaServicioModel.mjs +16 -0
  82. package/esm2022/src/app/seguridad/modelos/FuenteProcesoGeneralModel.mjs +11 -0
  83. package/esm2022/src/app/seguridad/modelos/FuenteServicioModel.mjs +51 -0
  84. package/esm2022/src/app/seguridad/modelos/FuncionalidadModel.mjs +10 -0
  85. package/esm2022/src/app/seguridad/modelos/GeneralModel.mjs +15 -0
  86. package/esm2022/src/app/seguridad/modelos/GrupoAccesoModel.mjs +7 -0
  87. package/esm2022/src/app/seguridad/modelos/GrupoControlFuncionModel.mjs +10 -0
  88. package/esm2022/src/app/seguridad/modelos/GrupoFuenteModel.mjs +13 -0
  89. package/esm2022/src/app/seguridad/modelos/GrupoPermisoModel.mjs +14 -0
  90. package/esm2022/src/app/seguridad/modelos/ListaServicioModel.mjs +17 -0
  91. package/esm2022/src/app/seguridad/modelos/LoginModel.mjs +15 -0
  92. package/esm2022/src/app/seguridad/modelos/MensajeSistemaModel.mjs +8 -0
  93. package/esm2022/src/app/seguridad/modelos/MenuPortalModel.mjs +5 -0
  94. package/esm2022/src/app/seguridad/modelos/ModulosModel.mjs +18 -0
  95. package/esm2022/src/app/seguridad/modelos/PaginaPortalModel.mjs +20 -0
  96. package/esm2022/src/app/seguridad/modelos/ParametroComponenteModel.mjs +9 -0
  97. package/esm2022/src/app/seguridad/modelos/ParametrosGeneralModel.mjs +15 -0
  98. package/esm2022/src/app/seguridad/modelos/PermisoFuncionModel.mjs +9 -0
  99. package/esm2022/src/app/seguridad/modelos/PermisocontenidoModel.mjs +20 -0
  100. package/esm2022/src/app/seguridad/modelos/PeticionModel.mjs +16 -0
  101. package/esm2022/src/app/seguridad/modelos/PreguntaSeguridadModel.mjs +7 -0
  102. package/esm2022/src/app/seguridad/modelos/PropiedadModel.mjs +10 -0
  103. package/esm2022/src/app/seguridad/modelos/PublicacionWebModel.mjs +27 -0
  104. package/esm2022/src/app/seguridad/modelos/PuntoProcesoModel.mjs +7 -0
  105. package/esm2022/src/app/seguridad/modelos/RecursoPunto.mjs +13 -0
  106. package/esm2022/src/app/seguridad/modelos/RecursoPuntoModel.mjs +13 -0
  107. package/esm2022/src/app/seguridad/modelos/ReporteBanda.mjs +8 -0
  108. package/esm2022/src/app/seguridad/modelos/ReporteColumna.mjs +33 -0
  109. package/esm2022/src/app/seguridad/modelos/ReporteColumnario.mjs +69 -0
  110. package/esm2022/src/app/seguridad/modelos/ReporteColumnarioMarcador.mjs +24 -0
  111. package/esm2022/src/app/seguridad/modelos/ReporteEntradaModel.mjs +20 -0
  112. package/esm2022/src/app/seguridad/modelos/ReporteFuenteModel.mjs +124 -0
  113. package/esm2022/src/app/seguridad/modelos/ReporteMarcador.mjs +40 -0
  114. package/esm2022/src/app/seguridad/modelos/ReporteSoporte.mjs +10 -0
  115. package/esm2022/src/app/seguridad/modelos/ReporteTabla.mjs +13 -0
  116. package/esm2022/src/app/seguridad/modelos/RespuestaModel.mjs +9 -0
  117. package/esm2022/src/app/seguridad/modelos/RolModel.mjs +39 -0
  118. package/esm2022/src/app/seguridad/modelos/ServidorCorreoModel.mjs +28 -0
  119. package/esm2022/src/app/seguridad/modelos/SistemaMensajeModel.mjs +9 -0
  120. package/esm2022/src/app/seguridad/modelos/SitioPortalModel.mjs +25 -0
  121. package/esm2022/src/app/seguridad/modelos/TareasModel.mjs +54 -0
  122. package/esm2022/src/app/seguridad/modelos/TextoModel.mjs +9 -0
  123. package/esm2022/src/app/seguridad/modelos/TipoEtiqueta.mjs +8 -0
  124. package/esm2022/src/app/seguridad/modelos/UnionModel.mjs +12 -0
  125. package/esm2022/src/app/seguridad/modelos/UsuarioModel.mjs +53 -0
  126. package/esm2022/src/app/seguridad/modelos/UsuariogrupoModel.mjs +24 -0
  127. package/esm2022/src/app/seguridad/modelos/aplicacion-propiedad-model.mjs +15 -0
  128. package/esm2022/src/app/seguridad/modelos/contenidoCorreoModel.mjs +10 -0
  129. package/esm2022/src/app/shared/componentes/input-helper-seleccion-plantilla/input-helper-seleccion-plantilla.component.mjs +151 -0
  130. package/esm2022/src/app/shared/servicios/cargar-archivos.service.mjs +54 -0
  131. package/esm2022/src/app/shared/servicios/cargar-mapas.service.mjs +46 -0
  132. package/esm2022/src/app/shared/servicios/encriptado-basico.service.mjs +53 -0
  133. package/esm2022/src/app/shared/servicios/general.service.mjs +104 -0
  134. package/esm2022/src/app/shared/servicios/parametros-navegacion.service.mjs +21 -0
  135. package/esm2022/src/app/webcommon/pages/ejecucion-reporte/detalle-campo-reporte/detalle-campo-reporte.component.mjs +187 -0
  136. package/esm2022/src/app/webcommon/pages/ejecucion-reporte/detalle-distribucion-reporte/detalle-distribucion-reporte.component.mjs +85 -0
  137. package/esm2022/src/app/webcommon/pages/ejecucion-reporte/detalle-ejecucion-reporte/detalle-ejecucion-reporte.page.mjs +347 -0
  138. package/esm2022/src/app/webcommon/pages/ejecucion-reporte/detalle-entrada-reporte/detalle-entrada-reporte.component.mjs +206 -0
  139. package/esm2022/src/app/webcommon/pages/ejecucion-reporte/detalle-punto-proceso-reporte/detalle-punto-proceso-reporte.component.mjs +328 -0
  140. package/esm2022/src/app/webcommon/pages/ejecucion-reporte/detalle-tipo-reporte/detalle-tipo-reporte.component.mjs +1448 -0
  141. package/esm2022/src/app/webcommon/pages/ejecucion-reporte/listado-ejecucion-reporte/listado-ejecucion-reporte.page.mjs +105 -0
  142. package/esm2022/src/app/webcommon/pages/ejecucion-reporte-externo/listado-ejecucion-reporte-externo/listado-ejecucion-reporte-externo.component.mjs +95 -0
  143. package/esm2022/src/app/webcommon/pages/fuente/importar-fuente-con/importar-fuente-con.component.mjs +599 -0
  144. package/esm2022/src/app/webcommon/pages/fuente/importar-fuente-general/importar-fuente-general.component.mjs +177 -0
  145. package/esm2022/src/app/webcommon/pages/fuenteGeneral/fuente-general-servicio/fuente-general-servicio.component.mjs +327 -0
  146. package/esm2022/src/app/webcommon/pages/fuenteGeneral/listado-fuente-general/listado-fuente-general.page.mjs +93 -0
  147. package/esm2022/src/app/webcommon/pages/fuenteGeneral/mantenimiento-fuente-general/mantenimiento-fuente-general.page.mjs +671 -0
  148. package/esm2022/src/app/webcommon/pipes/fuente.pipe.mjs +201 -0
  149. package/esm2022/src/app/webcommon/pipes/general.pipe.mjs +907 -0
  150. package/esm2022/src/app/webcommon/pipes/reporte-columnario.pipe.mjs +115 -0
  151. package/esm2022/src/app/webcommon/pipes/reporte-fuente.pipe.mjs +296 -0
  152. package/esm2022/src/app/webcommon/popups/popup-campos-fuente-general/popup-campos-fuente-general.component.mjs +253 -0
  153. package/esm2022/src/app/webcommon/popups/popup-punto-proceso/popup-punto-proceso.component.mjs +293 -0
  154. package/esm2022/src/app/webcommon/popups/popup-recurso/popup-recurso.component.mjs +268 -0
  155. package/esm2022/src/app/webcommon/popups/popup-reporte/popup-reporte.component.mjs +508 -0
  156. package/esm2022/src/app/webcommon/popups/popup-sentencia/popup-sentencia.component.mjs +64 -0
  157. package/esm2022/src/app/webcommon/popups/punto-proceso-comp/punto-proceso-comp.component.mjs +89 -0
  158. package/esm2022/src/app/webcommon/services/carguelinea.service.mjs +69 -0
  159. package/esm2022/src/app/webcommon/services/ejecucionreporte.service.mjs +114 -0
  160. package/esm2022/src/app/webcommon/services/fechaUtils.service.mjs +88 -0
  161. package/esm2022/src/app/webcommon/services/fuentegeneral.service.mjs +68 -0
  162. package/esm2022/src/app/webcommon/services/homologacion.service.mjs +50 -0
  163. package/esm2022/src/app/webcommon/services/plantillas.service.mjs +53 -0
  164. package/esm2022/src/app/webcommon/services/reportes.service.mjs +53 -0
  165. package/esm2022/src/app/webcommon/webcommon.module.mjs +15 -0
  166. package/esm2022/src/environments/environment.mjs +22 -0
  167. package/fesm2022/general-library-union.mjs +13507 -0
  168. package/fesm2022/general-library-union.mjs.map +1 -0
  169. package/index.d.ts +5 -0
  170. package/package.json +57 -68
  171. package/{public-api.ts → public-api.d.ts} +154 -188
  172. package/src/app/core/componentes/breadcrumb/breadcrumb.component.d.ts +18 -0
  173. package/src/app/core/componentes/carga-pantalla-completa/carga-pantalla-completa.component.d.ts +14 -0
  174. package/src/app/core/componentes/filtro-general/filtro-general.component.d.ts +26 -0
  175. package/src/app/core/componentes/footer/footer.component.d.ts +11 -0
  176. package/src/app/core/componentes/formulariodinamico/formulariodinamico.component.d.ts +46 -0
  177. package/src/app/core/componentes/formulariodinamico/objetosformulario/{Cambio.ts → Cambio.d.ts} +7 -13
  178. package/src/app/core/componentes/formulariodinamico/objetosformulario/CampoFormulario.d.ts +44 -0
  179. package/src/app/core/componentes/formulariodinamico/objetosformulario/CampoFormularioCons.d.ts +45 -0
  180. package/src/app/core/componentes/formulariodinamico/objetosformulario/CampoFormularioNuevo.d.ts +33 -0
  181. package/src/app/core/componentes/formulariodinamico/objetosformulario/HashDirective.d.ts +9 -0
  182. package/src/app/core/componentes/inicio-component/inicio-component.component.d.ts +24 -0
  183. package/src/app/core/componentes/menu/menu.component.d.ts +16 -0
  184. package/src/app/core/componentes/tabla-general/tabla-general.component.d.ts +32 -0
  185. package/src/app/core/core.module.d.ts +8 -0
  186. package/src/app/core/errores/authentication.error.d.ts +3 -0
  187. package/src/app/core/modelos/error-response.model.d.ts +9 -0
  188. package/src/app/core/modelos/table-column.model.d.ts +12 -0
  189. package/src/app/core/modelos/user.model.d.ts +6 -0
  190. package/src/app/core/plantilla-general/plantilla-general.template.d.ts +89 -0
  191. package/src/app/core/servicios/auth.service.d.ts +52 -0
  192. package/src/app/core/servicios/cargar-control-funcionalidad.service.d.ts +19 -0
  193. package/src/app/core/servicios/data-exporter-table.utils.d.ts +8 -0
  194. package/src/app/core/servicios/error-interceptor.service.d.ts +41 -0
  195. package/src/app/core/servicios/guardias/auth.guard.d.ts +17 -0
  196. package/src/app/core/servicios/guardias/publico.guard.d.ts +13 -0
  197. package/src/app/core/servicios/interceptores/token-interceptor.service.d.ts +21 -0
  198. package/src/app/core/servicios/loading.service.d.ts +22 -0
  199. package/src/app/core/servicios/menu.service.d.ts +34 -0
  200. package/src/app/core/servicios/storage.service.d.ts +37 -0
  201. package/src/app/core/servicios/template.service.d.ts +20 -0
  202. package/src/app/core/servicios/toast.service.d.ts +46 -0
  203. package/src/app/core/servicios/utils.service.d.ts +40 -0
  204. package/src/app/core/sharedlib.module.d.ts +6 -0
  205. package/src/app/core/utilidades/color.util.d.ts +70 -0
  206. package/src/app/layout/api/{menuchangeevent.ts → menuchangeevent.d.ts} +4 -4
  207. package/src/app/layout/app.breadcrumb.component.d.ts +28 -0
  208. package/src/app/layout/app.footer.component.d.ts +10 -0
  209. package/src/app/layout/app.layout.component.d.ts +39 -0
  210. package/src/app/layout/app.layout.module.d.ts +6 -0
  211. package/src/app/layout/app.menu.component.d.ts +19 -0
  212. package/src/app/layout/app.menu.service.d.ts +12 -0
  213. package/src/app/layout/app.menuitem.component.d.ts +40 -0
  214. package/src/app/layout/app.menuprofile.component.d.ts +18 -0
  215. package/src/app/layout/app.rightmenu.component.d.ts +10 -0
  216. package/src/app/layout/app.sidebar.component.d.ts +33 -0
  217. package/src/app/layout/app.topbar.component.d.ts +78 -0
  218. package/src/app/layout/service/app.layout.service.d.ts +57 -0
  219. package/src/app/publico/pages/login/login.page.d.ts +40 -0
  220. package/src/app/publico/pages/not-found/not-found.page.d.ts +16 -0
  221. package/src/app/publico/pages/seleccion-rol/seleccion-rol.component.d.ts +41 -0
  222. package/src/app/publico/pages/timeout/timeout.page.d.ts +10 -0
  223. package/src/app/seguridad/modelos/AplicacionModel.d.ts +7 -0
  224. package/src/app/seguridad/modelos/ArchivoPortalModel.d.ts +13 -0
  225. package/src/app/seguridad/modelos/AtributoPuntoModel.d.ts +8 -0
  226. package/src/app/seguridad/modelos/AtributoSSOportalModel.d.ts +16 -0
  227. package/src/app/seguridad/modelos/{AuditoriaArchivoModel.ts → AuditoriaArchivoModel.d.ts} +10 -13
  228. package/src/app/seguridad/modelos/CargueLineaModel.d.ts +12 -0
  229. package/src/app/seguridad/modelos/ColoresRGB.d.ts +17 -0
  230. package/src/app/seguridad/modelos/ComplementoModel.d.ts +6 -0
  231. package/src/app/seguridad/modelos/ComponentePaginaModel.d.ts +20 -0
  232. package/src/app/seguridad/modelos/ConexionModel.d.ts +13 -0
  233. package/src/app/seguridad/modelos/{ContenidoHtmlPortalModel.ts → ContenidoHtmlPortalModel.d.ts} +20 -25
  234. package/src/app/seguridad/modelos/ControlFuncionModel.d.ts +7 -0
  235. package/src/app/seguridad/modelos/CorreoModel.d.ts +31 -0
  236. package/src/app/seguridad/modelos/CorreoWSModel.d.ts +33 -0
  237. package/src/app/seguridad/modelos/CruceRecursoPuntoModel.d.ts +13 -0
  238. package/src/app/seguridad/modelos/{DatoInicioModel.ts → DatoInicioModel.d.ts} +6 -7
  239. package/src/app/seguridad/modelos/{EjecucionReporteDataModel.ts → EjecucionReporteDataModel.d.ts} +20 -21
  240. package/src/app/seguridad/modelos/EmpresaModel.d.ts +23 -0
  241. package/src/app/seguridad/modelos/EmpresaSeguridadModel.d.ts +18 -0
  242. package/src/app/seguridad/modelos/{EntradaComplementoModel.ts → EntradaComplementoModel.d.ts} +6 -9
  243. package/src/app/seguridad/modelos/EtiquetaModel.d.ts +4 -0
  244. package/src/app/seguridad/modelos/Etiquetas.d.ts +10 -0
  245. package/src/app/seguridad/modelos/FuenteCampoAtributoModel.d.ts +15 -0
  246. package/src/app/seguridad/modelos/{FuenteCampoModel.ts → FuenteCampoModel.d.ts} +16 -20
  247. package/src/app/seguridad/modelos/FuenteDato.d.ts +18 -0
  248. package/src/app/seguridad/modelos/FuenteEntradaModel.d.ts +8 -0
  249. package/src/app/seguridad/modelos/{FuenteGeneralModel.ts → FuenteGeneralModel.d.ts} +36 -55
  250. package/src/app/seguridad/modelos/FuenteLineaServicioModel.d.ts +16 -0
  251. package/src/app/seguridad/modelos/FuenteProcesoGeneralModel.d.ts +10 -0
  252. package/src/app/seguridad/modelos/{FuenteServicioModel.ts → FuenteServicioModel.d.ts} +47 -61
  253. package/src/app/seguridad/modelos/FuncionalidadModel.d.ts +8 -0
  254. package/src/app/seguridad/modelos/GeneralModel.d.ts +8 -0
  255. package/src/app/seguridad/modelos/{GrupoAccesoModel.ts → GrupoAccesoModel.d.ts} +6 -9
  256. package/src/app/seguridad/modelos/GrupoControlFuncionModel.d.ts +9 -0
  257. package/src/app/seguridad/modelos/GrupoFuenteModel.d.ts +13 -0
  258. package/src/app/seguridad/modelos/GrupoPermisoModel.d.ts +13 -0
  259. package/src/app/seguridad/modelos/ListaServicioModel.d.ts +16 -0
  260. package/src/app/seguridad/modelos/LoginModel.d.ts +17 -0
  261. package/src/app/seguridad/modelos/MensajeSistemaModel.d.ts +7 -0
  262. package/src/app/seguridad/modelos/{MenuPortalModel.ts → MenuPortalModel.d.ts} +4 -5
  263. package/src/app/seguridad/modelos/ModulosModel.d.ts +14 -0
  264. package/src/app/seguridad/modelos/PaginaPortalModel.d.ts +19 -0
  265. package/src/app/seguridad/modelos/ParametroComponenteModel.d.ts +8 -0
  266. package/src/app/seguridad/modelos/ParametrosGeneralModel.d.ts +8 -0
  267. package/src/app/seguridad/modelos/PermisoFuncionModel.d.ts +8 -0
  268. package/src/app/seguridad/modelos/PermisocontenidoModel.d.ts +18 -0
  269. package/src/app/seguridad/modelos/{PeticionModel.ts → PeticionModel.d.ts} +15 -20
  270. package/src/app/seguridad/modelos/PreguntaSeguridadModel.d.ts +6 -0
  271. package/src/app/seguridad/modelos/PropiedadModel.d.ts +9 -0
  272. package/src/app/seguridad/modelos/PublicacionWebModel.d.ts +25 -0
  273. package/src/app/seguridad/modelos/PuntoProcesoModel.d.ts +6 -0
  274. package/src/app/seguridad/modelos/RecursoPunto.d.ts +12 -0
  275. package/src/app/seguridad/modelos/RecursoPuntoModel.d.ts +12 -0
  276. package/src/app/seguridad/modelos/ReporteBanda.d.ts +7 -0
  277. package/src/app/seguridad/modelos/ReporteColumna.d.ts +32 -0
  278. package/src/app/seguridad/modelos/ReporteColumnario.d.ts +68 -0
  279. package/src/app/seguridad/modelos/ReporteColumnarioMarcador.d.ts +23 -0
  280. package/src/app/seguridad/modelos/{ReporteEntradaModel.ts → ReporteEntradaModel.d.ts} +19 -21
  281. package/src/app/seguridad/modelos/{ReporteFuenteModel.ts → ReporteFuenteModel.d.ts} +87 -141
  282. package/src/app/seguridad/modelos/ReporteMarcador.d.ts +39 -0
  283. package/src/app/seguridad/modelos/ReporteSoporte.d.ts +9 -0
  284. package/src/app/seguridad/modelos/ReporteTabla.d.ts +12 -0
  285. package/src/app/seguridad/modelos/RespuestaModel.d.ts +8 -0
  286. package/src/app/seguridad/modelos/{RolModel.ts → RolModel.d.ts} +37 -41
  287. package/src/app/seguridad/modelos/ServidorCorreoModel.d.ts +25 -0
  288. package/src/app/seguridad/modelos/SistemaMensajeModel.d.ts +8 -0
  289. package/src/app/seguridad/modelos/SitioPortalModel.d.ts +24 -0
  290. package/src/app/seguridad/modelos/TareasModel.d.ts +49 -0
  291. package/src/app/seguridad/modelos/TextoModel.d.ts +8 -0
  292. package/src/app/seguridad/modelos/TipoEtiqueta.d.ts +7 -0
  293. package/src/app/seguridad/modelos/UnionModel.d.ts +11 -0
  294. package/src/app/seguridad/modelos/{UsuarioModel.ts → UsuarioModel.d.ts} +49 -60
  295. package/src/app/seguridad/modelos/UsuariogrupoModel.d.ts +22 -0
  296. package/src/app/seguridad/modelos/aplicacion-propiedad-model.d.ts +13 -0
  297. package/src/app/seguridad/modelos/contenidoCorreoModel.d.ts +9 -0
  298. package/src/app/shared/componentes/input-helper-seleccion-plantilla/input-helper-seleccion-plantilla.component.d.ts +47 -0
  299. package/src/app/shared/servicios/cargar-archivos.service.d.ts +15 -0
  300. package/src/app/shared/servicios/cargar-mapas.service.d.ts +18 -0
  301. package/src/app/shared/servicios/encriptado-basico.service.d.ts +10 -0
  302. package/src/app/shared/servicios/general.service.d.ts +24 -0
  303. package/src/app/shared/servicios/parametros-navegacion.service.d.ts +9 -0
  304. package/src/app/webcommon/pages/ejecucion-reporte/detalle-campo-reporte/detalle-campo-reporte.component.d.ts +79 -0
  305. package/src/app/webcommon/pages/ejecucion-reporte/detalle-distribucion-reporte/detalle-distribucion-reporte.component.d.ts +29 -0
  306. package/src/app/webcommon/pages/ejecucion-reporte/detalle-ejecucion-reporte/detalle-ejecucion-reporte.page.d.ts +69 -0
  307. package/src/app/webcommon/pages/ejecucion-reporte/detalle-entrada-reporte/detalle-entrada-reporte.component.d.ts +51 -0
  308. package/src/app/webcommon/pages/ejecucion-reporte/detalle-punto-proceso-reporte/detalle-punto-proceso-reporte.component.d.ts +77 -0
  309. package/src/app/webcommon/pages/ejecucion-reporte/detalle-tipo-reporte/detalle-tipo-reporte.component.d.ts +251 -0
  310. package/src/app/webcommon/pages/ejecucion-reporte/listado-ejecucion-reporte/listado-ejecucion-reporte.page.d.ts +42 -0
  311. package/src/app/webcommon/pages/ejecucion-reporte-externo/listado-ejecucion-reporte-externo/listado-ejecucion-reporte-externo.component.d.ts +33 -0
  312. package/src/app/webcommon/pages/fuente/importar-fuente-con/importar-fuente-con.component.d.ts +143 -0
  313. package/src/app/webcommon/pages/fuente/importar-fuente-general/importar-fuente-general.component.d.ts +49 -0
  314. package/src/app/webcommon/pages/fuenteGeneral/fuente-general-servicio/fuente-general-servicio.component.d.ts +64 -0
  315. package/src/app/webcommon/pages/fuenteGeneral/listado-fuente-general/listado-fuente-general.page.d.ts +33 -0
  316. package/src/app/webcommon/pages/fuenteGeneral/mantenimiento-fuente-general/mantenimiento-fuente-general.page.d.ts +148 -0
  317. package/src/app/webcommon/pipes/fuente.pipe.d.ts +136 -0
  318. package/src/app/webcommon/pipes/general.pipe.d.ts +637 -0
  319. package/src/app/webcommon/pipes/reporte-columnario.pipe.d.ts +59 -0
  320. package/src/app/webcommon/pipes/reporte-fuente.pipe.d.ts +189 -0
  321. package/src/app/webcommon/popups/popup-campos-fuente-general/popup-campos-fuente-general.component.d.ts +58 -0
  322. package/src/app/webcommon/popups/popup-punto-proceso/popup-punto-proceso.component.d.ts +64 -0
  323. package/src/app/webcommon/popups/popup-recurso/popup-recurso.component.d.ts +63 -0
  324. package/src/app/webcommon/popups/popup-reporte/popup-reporte.component.d.ts +97 -0
  325. package/src/app/webcommon/popups/popup-sentencia/popup-sentencia.component.d.ts +21 -0
  326. package/src/app/webcommon/popups/punto-proceso-comp/punto-proceso-comp.component.d.ts +30 -0
  327. package/src/app/webcommon/services/carguelinea.service.d.ts +19 -0
  328. package/src/app/webcommon/services/ejecucionreporte.service.d.ts +34 -0
  329. package/src/app/webcommon/services/fechaUtils.service.d.ts +28 -0
  330. package/src/app/webcommon/services/fuentegeneral.service.d.ts +24 -0
  331. package/src/app/webcommon/services/homologacion.service.d.ts +17 -0
  332. package/src/app/webcommon/services/plantillas.service.d.ts +17 -0
  333. package/src/app/webcommon/services/reportes.service.d.ts +19 -0
  334. package/src/app/webcommon/webcommon.module.d.ts +6 -0
  335. package/src/environments/environment.d.ts +4 -0
  336. package/src/styles/primeng/sass/overrides/_theme_styles.scss +0 -1
  337. package/src/styles/primeng/sass/overrides/_theme_styles_dark.scss +0 -1
  338. package/.browserslistrc +0 -15
  339. package/.editorconfig +0 -16
  340. package/.vscode/extensions.json +0 -4
  341. package/.vscode/launch.json +0 -20
  342. package/.vscode/tasks.json +0 -42
  343. package/angular.json +0 -130
  344. package/karma.conf.js +0 -44
  345. package/ng-package.json +0 -21
  346. package/src/app/app.component.html +0 -0
  347. package/src/app/app.component.scss +0 -0
  348. package/src/app/app.component.spec.ts +0 -29
  349. package/src/app/app.component.ts +0 -12
  350. package/src/app/app.config.ts +0 -8
  351. package/src/app/app.module.ts +0 -10
  352. package/src/app/app.routes.ts +0 -3
  353. package/src/app/core/componentes/breadcrumb/breadcrumb.component.html +0 -6
  354. package/src/app/core/componentes/breadcrumb/breadcrumb.component.scss +0 -0
  355. package/src/app/core/componentes/breadcrumb/breadcrumb.component.ts +0 -34
  356. package/src/app/core/componentes/carga-breadcrumb/carga-breadcrumb.component.html +0 -1
  357. package/src/app/core/componentes/carga-breadcrumb/carga-breadcrumb.component.scss +0 -0
  358. package/src/app/core/componentes/carga-breadcrumb/carga-breadcrumb.component.ts +0 -31
  359. package/src/app/core/componentes/carga-pantalla-completa/carga-pantalla-completa.component.html +0 -9
  360. package/src/app/core/componentes/carga-pantalla-completa/carga-pantalla-completa.component.scss +0 -28
  361. package/src/app/core/componentes/carga-pantalla-completa/carga-pantalla-completa.component.ts +0 -32
  362. package/src/app/core/componentes/filtro-general/filtro-general.component.html +0 -34
  363. package/src/app/core/componentes/filtro-general/filtro-general.component.scss +0 -3
  364. package/src/app/core/componentes/filtro-general/filtro-general.component.ts +0 -154
  365. package/src/app/core/componentes/footer/footer.component.html +0 -19
  366. package/src/app/core/componentes/footer/footer.component.scss +0 -3
  367. package/src/app/core/componentes/footer/footer.component.ts +0 -24
  368. package/src/app/core/componentes/formulariodinamico/formulariodinamico.component.html +0 -267
  369. package/src/app/core/componentes/formulariodinamico/formulariodinamico.component.scss +0 -21
  370. package/src/app/core/componentes/formulariodinamico/formulariodinamico.component.ts +0 -275
  371. package/src/app/core/componentes/formulariodinamico/objetosformulario/CampoFormulario.ts +0 -118
  372. package/src/app/core/componentes/formulariodinamico/objetosformulario/CampoFormularioCons.ts +0 -76
  373. package/src/app/core/componentes/formulariodinamico/objetosformulario/CampoFormularioNuevo.ts +0 -67
  374. package/src/app/core/componentes/formulariodinamico/objetosformulario/HashDirective.ts +0 -11
  375. package/src/app/core/componentes/inicio-component/inicio-component.component.html +0 -29
  376. package/src/app/core/componentes/inicio-component/inicio-component.component.scss +0 -69
  377. package/src/app/core/componentes/inicio-component/inicio-component.component.ts +0 -65
  378. package/src/app/core/componentes/menu/menu.component.html +0 -13
  379. package/src/app/core/componentes/menu/menu.component.scss +0 -36
  380. package/src/app/core/componentes/menu/menu.component.ts +0 -35
  381. package/src/app/core/componentes/tabla-general/tabla-general.component.html +0 -90
  382. package/src/app/core/componentes/tabla-general/tabla-general.component.scss +0 -0
  383. package/src/app/core/componentes/tabla-general/tabla-general.component.ts +0 -96
  384. package/src/app/core/core.module.ts +0 -22
  385. package/src/app/core/errores/authentication.error.ts +0 -6
  386. package/src/app/core/modelos/error-response.model.ts +0 -9
  387. package/src/app/core/modelos/table-column.model.ts +0 -10
  388. package/src/app/core/modelos/user.model.ts +0 -6
  389. package/src/app/core/plantilla-general/plantilla-general.template.html +0 -139
  390. package/src/app/core/plantilla-general/plantilla-general.template.scss +0 -37
  391. package/src/app/core/plantilla-general/plantilla-general.template.ts +0 -229
  392. package/src/app/core/servicios/auth.service.ts +0 -183
  393. package/src/app/core/servicios/cargar-control-funcionalidad.service.ts +0 -49
  394. package/src/app/core/servicios/data-exporter-table.utils.ts +0 -55
  395. package/src/app/core/servicios/error-interceptor.service.ts +0 -145
  396. package/src/app/core/servicios/guardias/auth.guard.ts +0 -51
  397. package/src/app/core/servicios/guardias/publico.guard.ts +0 -22
  398. package/src/app/core/servicios/interceptores/token-interceptor.service.ts +0 -110
  399. package/src/app/core/servicios/loading.service.ts +0 -48
  400. package/src/app/core/servicios/menu.service.ts +0 -89
  401. package/src/app/core/servicios/storage.service.ts +0 -68
  402. package/src/app/core/servicios/template.service.ts +0 -91
  403. package/src/app/core/servicios/toast.service.ts +0 -89
  404. package/src/app/core/servicios/utils.service.ts +0 -331
  405. package/src/app/core/sharedlib.module.ts +0 -11
  406. package/src/app/core/utilidades/color.util.ts +0 -197
  407. package/src/app/layout/app.breadcrumb.component.html +0 -20
  408. package/src/app/layout/app.breadcrumb.component.ts +0 -74
  409. package/src/app/layout/app.footer.component.html +0 -18
  410. package/src/app/layout/app.footer.component.ts +0 -15
  411. package/src/app/layout/app.layout.component.html +0 -20
  412. package/src/app/layout/app.layout.component.ts +0 -201
  413. package/src/app/layout/app.layout.module.ts +0 -9
  414. package/src/app/layout/app.menu.component.html +0 -6
  415. package/src/app/layout/app.menu.component.ts +0 -40
  416. package/src/app/layout/app.menu.service.ts +0 -23
  417. package/src/app/layout/app.menuitem.component.ts +0 -250
  418. package/src/app/layout/app.menuprofile.component.html +0 -35
  419. package/src/app/layout/app.menuprofile.component.ts +0 -60
  420. package/src/app/layout/app.rightmenu.component.html +0 -72
  421. package/src/app/layout/app.rightmenu.component.ts +0 -24
  422. package/src/app/layout/app.sidebar.component.html +0 -40
  423. package/src/app/layout/app.sidebar.component.ts +0 -80
  424. package/src/app/layout/app.topbar.component.html +0 -214
  425. package/src/app/layout/app.topbar.component.ts +0 -326
  426. package/src/app/layout/config/app.config.component.html +0 -125
  427. package/src/app/layout/config/app.config.component.ts +0 -206
  428. package/src/app/layout/config/app.config.module.ts +0 -11
  429. package/src/app/layout/service/app.layout.service.ts +0 -191
  430. package/src/app/publico/pages/login/login.page.html +0 -53
  431. package/src/app/publico/pages/login/login.page.scss +0 -122
  432. package/src/app/publico/pages/login/login.page.ts +0 -127
  433. package/src/app/publico/pages/not-found/not-found.page.html +0 -25
  434. package/src/app/publico/pages/not-found/not-found.page.scss +0 -2
  435. package/src/app/publico/pages/not-found/not-found.page.ts +0 -41
  436. package/src/app/publico/pages/seleccion-rol/seleccion-rol.component.html +0 -58
  437. package/src/app/publico/pages/seleccion-rol/seleccion-rol.component.scss +0 -49
  438. package/src/app/publico/pages/seleccion-rol/seleccion-rol.component.ts +0 -169
  439. package/src/app/publico/pages/timeout/timeout.page.html +0 -21
  440. package/src/app/publico/pages/timeout/timeout.page.scss +0 -2
  441. package/src/app/publico/pages/timeout/timeout.page.ts +0 -18
  442. package/src/app/seguridad/constantes/ConstantesGenerales.ts +0 -30
  443. package/src/app/seguridad/constantes/ReporteEntradaConstantes.ts +0 -18
  444. package/src/app/seguridad/constantes/ReporteFuenteConstantes.ts +0 -13
  445. package/src/app/seguridad/modelos/AplicacionModel.ts +0 -11
  446. package/src/app/seguridad/modelos/ArchivoPortalModel.ts +0 -16
  447. package/src/app/seguridad/modelos/AtributoPuntoModel.ts +0 -9
  448. package/src/app/seguridad/modelos/AtributoSSOportalModel.ts +0 -22
  449. package/src/app/seguridad/modelos/CargueLineaModel.ts +0 -17
  450. package/src/app/seguridad/modelos/ColoresRGB.ts +0 -17
  451. package/src/app/seguridad/modelos/ComplementoModel.ts +0 -10
  452. package/src/app/seguridad/modelos/ComponentePaginaModel.ts +0 -22
  453. package/src/app/seguridad/modelos/ConexionModel.ts +0 -15
  454. package/src/app/seguridad/modelos/ControlFuncionModel.ts +0 -10
  455. package/src/app/seguridad/modelos/CorreoModel.ts +0 -45
  456. package/src/app/seguridad/modelos/CorreoWSModel.ts +0 -49
  457. package/src/app/seguridad/modelos/CruceRecursoPuntoModel.ts +0 -14
  458. package/src/app/seguridad/modelos/EmpresaModel.ts +0 -25
  459. package/src/app/seguridad/modelos/EmpresaSeguridadModel.ts +0 -19
  460. package/src/app/seguridad/modelos/EtiquetaModel.ts +0 -4
  461. package/src/app/seguridad/modelos/Etiquetas.ts +0 -14
  462. package/src/app/seguridad/modelos/FuenteCampoAtributoModel.ts +0 -21
  463. package/src/app/seguridad/modelos/FuenteDato.ts +0 -19
  464. package/src/app/seguridad/modelos/FuenteEntradaModel.ts +0 -9
  465. package/src/app/seguridad/modelos/FuenteLineaServicioModel.ts +0 -19
  466. package/src/app/seguridad/modelos/FuenteProcesoGeneralModel.ts +0 -14
  467. package/src/app/seguridad/modelos/FuncionalidadModel.ts +0 -12
  468. package/src/app/seguridad/modelos/GeneralModel.ts +0 -16
  469. package/src/app/seguridad/modelos/GrupoControlFuncionModel.ts +0 -12
  470. package/src/app/seguridad/modelos/GrupoFuenteModel.ts +0 -17
  471. package/src/app/seguridad/modelos/GrupoPermisoModel.ts +0 -16
  472. package/src/app/seguridad/modelos/ListaServicioModel.ts +0 -18
  473. package/src/app/seguridad/modelos/LoginModel.ts +0 -19
  474. package/src/app/seguridad/modelos/MensajeSistemaModel.ts +0 -10
  475. package/src/app/seguridad/modelos/ModulosModel.ts +0 -17
  476. package/src/app/seguridad/modelos/PaginaPortalModel.ts +0 -23
  477. package/src/app/seguridad/modelos/ParametroComponenteModel.ts +0 -9
  478. package/src/app/seguridad/modelos/ParametrosGeneralModel.ts +0 -16
  479. package/src/app/seguridad/modelos/PermisoFuncionModel.ts +0 -11
  480. package/src/app/seguridad/modelos/PermisocontenidoModel.ts +0 -20
  481. package/src/app/seguridad/modelos/PreguntaSeguridadModel.ts +0 -9
  482. package/src/app/seguridad/modelos/PropiedadModel.ts +0 -12
  483. package/src/app/seguridad/modelos/PublicacionWebModel.ts +0 -29
  484. package/src/app/seguridad/modelos/PuntoProcesoModel.ts +0 -7
  485. package/src/app/seguridad/modelos/RecursoPunto.ts +0 -13
  486. package/src/app/seguridad/modelos/RecursoPuntoModel.ts +0 -13
  487. package/src/app/seguridad/modelos/ReporteBanda.ts +0 -9
  488. package/src/app/seguridad/modelos/ReporteColumna.ts +0 -33
  489. package/src/app/seguridad/modelos/ReporteColumnario.ts +0 -82
  490. package/src/app/seguridad/modelos/ReporteColumnarioMarcador.ts +0 -31
  491. package/src/app/seguridad/modelos/ReporteMarcador.ts +0 -40
  492. package/src/app/seguridad/modelos/ReporteSoporte.ts +0 -10
  493. package/src/app/seguridad/modelos/ReporteTabla.ts +0 -14
  494. package/src/app/seguridad/modelos/RespuestaModel.ts +0 -10
  495. package/src/app/seguridad/modelos/ServidorCorreoModel.ts +0 -31
  496. package/src/app/seguridad/modelos/SistemaMensajeModel.ts +0 -11
  497. package/src/app/seguridad/modelos/SitioPortalModel.ts +0 -29
  498. package/src/app/seguridad/modelos/TareasModel.ts +0 -54
  499. package/src/app/seguridad/modelos/TextoModel.ts +0 -11
  500. package/src/app/seguridad/modelos/TipoEtiqueta.ts +0 -8
  501. package/src/app/seguridad/modelos/UnionModel.ts +0 -14
  502. package/src/app/seguridad/modelos/UsuariogrupoModel.ts +0 -27
  503. package/src/app/seguridad/modelos/aplicacion-propiedad-model.ts +0 -16
  504. package/src/app/seguridad/modelos/contenidoCorreoModel.ts +0 -13
  505. package/src/app/shared/componentes/input-helper-seleccion-plantilla/input-helper-seleccion-plantilla.component.html +0 -47
  506. package/src/app/shared/componentes/input-helper-seleccion-plantilla/input-helper-seleccion-plantilla.component.scss +0 -8
  507. package/src/app/shared/componentes/input-helper-seleccion-plantilla/input-helper-seleccion-plantilla.component.ts +0 -141
  508. package/src/app/shared/servicios/cargar-archivos.service.ts +0 -51
  509. package/src/app/shared/servicios/cargar-mapas.service.ts +0 -43
  510. package/src/app/shared/servicios/encriptado-basico.service.ts +0 -54
  511. package/src/app/shared/servicios/encriptador-simetrico.service.ts +0 -29
  512. package/src/app/shared/servicios/general.service.ts +0 -124
  513. package/src/app/shared/servicios/parametros-navegacion.service.ts +0 -20
  514. package/src/app/shared/servicios/plantillas.service.ts +0 -22
  515. package/src/app/webcommon/pages/ejecucion-reporte/detalle-campo-reporte/detalle-campo-reporte.component.html +0 -87
  516. package/src/app/webcommon/pages/ejecucion-reporte/detalle-campo-reporte/detalle-campo-reporte.component.scss +0 -0
  517. package/src/app/webcommon/pages/ejecucion-reporte/detalle-campo-reporte/detalle-campo-reporte.component.ts +0 -189
  518. package/src/app/webcommon/pages/ejecucion-reporte/detalle-distribucion-reporte/detalle-distribucion-reporte.component.html +0 -117
  519. package/src/app/webcommon/pages/ejecucion-reporte/detalle-distribucion-reporte/detalle-distribucion-reporte.component.scss +0 -0
  520. package/src/app/webcommon/pages/ejecucion-reporte/detalle-distribucion-reporte/detalle-distribucion-reporte.component.ts +0 -87
  521. package/src/app/webcommon/pages/ejecucion-reporte/detalle-ejecucion-reporte/detalle-ejecucion-reporte.page.html +0 -158
  522. package/src/app/webcommon/pages/ejecucion-reporte/detalle-ejecucion-reporte/detalle-ejecucion-reporte.page.scss +0 -6
  523. package/src/app/webcommon/pages/ejecucion-reporte/detalle-ejecucion-reporte/detalle-ejecucion-reporte.page.ts +0 -345
  524. package/src/app/webcommon/pages/ejecucion-reporte/detalle-entrada-reporte/detalle-entrada-reporte.component.html +0 -131
  525. package/src/app/webcommon/pages/ejecucion-reporte/detalle-entrada-reporte/detalle-entrada-reporte.component.scss +0 -0
  526. package/src/app/webcommon/pages/ejecucion-reporte/detalle-entrada-reporte/detalle-entrada-reporte.component.ts +0 -198
  527. package/src/app/webcommon/pages/ejecucion-reporte/detalle-punto-proceso-reporte/detalle-punto-proceso-reporte.component.html +0 -206
  528. package/src/app/webcommon/pages/ejecucion-reporte/detalle-punto-proceso-reporte/detalle-punto-proceso-reporte.component.scss +0 -3
  529. package/src/app/webcommon/pages/ejecucion-reporte/detalle-punto-proceso-reporte/detalle-punto-proceso-reporte.component.ts +0 -329
  530. package/src/app/webcommon/pages/ejecucion-reporte/detalle-tipo-reporte/detalle-tipo-reporte.component.html +0 -1940
  531. package/src/app/webcommon/pages/ejecucion-reporte/detalle-tipo-reporte/detalle-tipo-reporte.component.scss +0 -241
  532. package/src/app/webcommon/pages/ejecucion-reporte/detalle-tipo-reporte/detalle-tipo-reporte.component.ts +0 -1550
  533. package/src/app/webcommon/pages/ejecucion-reporte/listado-ejecucion-reporte/listado-ejecucion-reporte.page.html +0 -33
  534. package/src/app/webcommon/pages/ejecucion-reporte/listado-ejecucion-reporte/listado-ejecucion-reporte.page.scss +0 -0
  535. package/src/app/webcommon/pages/ejecucion-reporte/listado-ejecucion-reporte/listado-ejecucion-reporte.page.ts +0 -96
  536. package/src/app/webcommon/pages/ejecucion-reporte-externo/listado-ejecucion-reporte-externo/listado-ejecucion-reporte-externo.component.html +0 -47
  537. package/src/app/webcommon/pages/ejecucion-reporte-externo/listado-ejecucion-reporte-externo/listado-ejecucion-reporte-externo.component.scss +0 -0
  538. package/src/app/webcommon/pages/ejecucion-reporte-externo/listado-ejecucion-reporte-externo/listado-ejecucion-reporte-externo.component.ts +0 -95
  539. package/src/app/webcommon/pages/fuente/importar-fuente-con/importar-fuente-con.component.html +0 -391
  540. package/src/app/webcommon/pages/fuente/importar-fuente-con/importar-fuente-con.component.scss +0 -10
  541. package/src/app/webcommon/pages/fuente/importar-fuente-con/importar-fuente-con.component.ts +0 -612
  542. package/src/app/webcommon/pages/fuente/importar-fuente-general/importar-fuente-general.component.html +0 -130
  543. package/src/app/webcommon/pages/fuente/importar-fuente-general/importar-fuente-general.component.scss +0 -0
  544. package/src/app/webcommon/pages/fuente/importar-fuente-general/importar-fuente-general.component.ts +0 -172
  545. package/src/app/webcommon/pages/fuenteGeneral/fuente-general-servicio/fuente-general-servicio.component.html +0 -145
  546. package/src/app/webcommon/pages/fuenteGeneral/fuente-general-servicio/fuente-general-servicio.component.scss +0 -0
  547. package/src/app/webcommon/pages/fuenteGeneral/fuente-general-servicio/fuente-general-servicio.component.ts +0 -300
  548. package/src/app/webcommon/pages/fuenteGeneral/listado-fuente-general/listado-fuente-general.page.html +0 -19
  549. package/src/app/webcommon/pages/fuenteGeneral/listado-fuente-general/listado-fuente-general.page.scss +0 -0
  550. package/src/app/webcommon/pages/fuenteGeneral/listado-fuente-general/listado-fuente-general.page.ts +0 -86
  551. package/src/app/webcommon/pages/fuenteGeneral/mantenimiento-fuente-general/mantenimiento-fuente-general.page.html +0 -703
  552. package/src/app/webcommon/pages/fuenteGeneral/mantenimiento-fuente-general/mantenimiento-fuente-general.page.scss +0 -0
  553. package/src/app/webcommon/pages/fuenteGeneral/mantenimiento-fuente-general/mantenimiento-fuente-general.page.ts +0 -682
  554. package/src/app/webcommon/pipes/fuente.pipe.ts +0 -207
  555. package/src/app/webcommon/pipes/general.pipe.ts +0 -1034
  556. package/src/app/webcommon/pipes/reporte-columnario.pipe.ts +0 -101
  557. package/src/app/webcommon/pipes/reporte-fuente.pipe.ts +0 -300
  558. package/src/app/webcommon/pipes/sara-general.pipe.ts +0 -289
  559. package/src/app/webcommon/popups/popup-campos-fuente-general/popup-campos-fuente-general.component.html +0 -90
  560. package/src/app/webcommon/popups/popup-campos-fuente-general/popup-campos-fuente-general.component.scss +0 -0
  561. package/src/app/webcommon/popups/popup-campos-fuente-general/popup-campos-fuente-general.component.ts +0 -248
  562. package/src/app/webcommon/popups/popup-punto-proceso/popup-punto-proceso.component.html +0 -41
  563. package/src/app/webcommon/popups/popup-punto-proceso/popup-punto-proceso.component.scss +0 -0
  564. package/src/app/webcommon/popups/popup-punto-proceso/popup-punto-proceso.component.ts +0 -283
  565. package/src/app/webcommon/popups/popup-recurso/popup-recurso.component.html +0 -175
  566. package/src/app/webcommon/popups/popup-recurso/popup-recurso.component.scss +0 -3
  567. package/src/app/webcommon/popups/popup-recurso/popup-recurso.component.ts +0 -265
  568. package/src/app/webcommon/popups/popup-reporte/popup-reporte.component.html +0 -261
  569. package/src/app/webcommon/popups/popup-reporte/popup-reporte.component.scss +0 -13
  570. package/src/app/webcommon/popups/popup-reporte/popup-reporte.component.ts +0 -512
  571. package/src/app/webcommon/popups/popup-sentencia/popup-sentencia.component.html +0 -10
  572. package/src/app/webcommon/popups/popup-sentencia/popup-sentencia.component.scss +0 -5
  573. package/src/app/webcommon/popups/popup-sentencia/popup-sentencia.component.ts +0 -58
  574. package/src/app/webcommon/popups/punto-proceso-comp/punto-proceso-comp.component.html +0 -11
  575. package/src/app/webcommon/popups/punto-proceso-comp/punto-proceso-comp.component.scss +0 -0
  576. package/src/app/webcommon/popups/punto-proceso-comp/punto-proceso-comp.component.ts +0 -82
  577. package/src/app/webcommon/services/carguelinea.service.ts +0 -72
  578. package/src/app/webcommon/services/ejecucionreporte.service.ts +0 -158
  579. package/src/app/webcommon/services/fechaUtils.service.ts +0 -120
  580. package/src/app/webcommon/services/fuentegeneral.service.ts +0 -74
  581. package/src/app/webcommon/services/homologacion.service.ts +0 -49
  582. package/src/app/webcommon/services/plantillas.service.ts +0 -49
  583. package/src/app/webcommon/services/reportes.service.ts +0 -60
  584. package/src/app/webcommon/webcommon.module.ts +0 -11
  585. package/src/environments/environment.prod.ts +0 -3
  586. package/src/environments/environment.ts +0 -23
  587. package/src/favicon.ico +0 -0
  588. package/src/index.html +0 -14
  589. package/src/main.ts +0 -6
  590. package/src/polyfills.ts +0 -53
  591. package/src/test.ts +0 -14
  592. package/tsconfig.app.json +0 -15
  593. package/tsconfig.json +0 -35
  594. package/tsconfig.spec.json +0 -18
@@ -1,229 +0,0 @@
1
- import { AfterViewInit, Component, OnDestroy, OnInit, Renderer2, ViewChild } from '@angular/core';
2
- import { ActivatedRoute, Router } from '@angular/router';
3
- import { AuthService } from '../../core/servicios/auth.service';
4
- import { MenuService } from '../..//core/servicios/menu.service';
5
- import { StorageService } from '../../core/servicios/storage.service';
6
- import { PrimeNGConfig } from 'primeng/api';
7
- import { Subscription } from 'rxjs';
8
- import { ModulosModel } from '../../seguridad/modelos/ModulosModel';
9
- import { TareasModel } from '../../seguridad/modelos/TareasModel';
10
- import { AutoComplete, AutoCompleteModule } from 'primeng/autocomplete';
11
- import { trigger, style, transition, animate, AnimationEvent } from '@angular/animations';
12
- import { CargarControlFuncionalidadService } from '../servicios/cargar-control-funcionalidad.service';
13
- import { UtilsService } from '../servicios/utils.service';
14
- import { StyleClassModule } from 'primeng/styleclass';
15
- import { CommonModule } from '@angular/common';
16
- import { FormsModule } from '@angular/forms';
17
- import { AppSidebarComponent } from '../../layout/app.sidebar.component';
18
- import { AppTopbarComponent } from '../../layout/app.topbar.component';
19
- import { AppFooterComponent } from '../../layout/app.footer.component';
20
- import { AppRightMenuComponent } from '../../layout/app.rightmenu.component';
21
- import { AppBreadcrumbComponent } from '../../layout/app.breadcrumb.component';
22
- @Component({
23
- selector: 'app-plantilla-general',
24
- imports: [StyleClassModule, CommonModule, AutoCompleteModule, FormsModule, AppSidebarComponent, AppBreadcrumbComponent, AppTopbarComponent, AppRightMenuComponent,AppFooterComponent],
25
- standalone: true,
26
- templateUrl: './plantilla-general.template.html',
27
- styleUrls: ['./plantilla-general.template.scss'],
28
- animations: [
29
- trigger('topbarActionPanelAnimation', [
30
- transition(':enter', [
31
- style({ opacity: 0, transform: 'scaleY(0.8)' }),
32
- animate('.12s cubic-bezier(0, 0, 0.2, 1)', style({ opacity: 1, transform: '*' })),
33
- ]),
34
- transition(':leave', [animate('.1s linear', style({ opacity: 0 }))]),
35
- ]),
36
- ],
37
- })
38
- export class PlantillaGeneralTemplate implements OnInit, AfterViewInit, OnDestroy {
39
- modulo: string;
40
- intervalId: number;
41
- menuActive: boolean = true;
42
- mobileMenuActive: boolean = false;
43
- mobileTopbarActive: boolean = false;
44
- menuClick: boolean = false;
45
- topbarItemClick: boolean = false;
46
- activeTopbarItem: string = '';
47
- search: boolean = false;
48
- searchClick: boolean = false;
49
-
50
- documentClickListener!: () => void;
51
-
52
- nombreEmpresa: string = '1 - Unión Soluciones';
53
- modulosDisponibles: ModulosModel[] = new Array();
54
- tareaSeleccionadas: TareasModel;
55
- tareasFiltradas: TareasModel[];
56
-
57
- @ViewChild('searchInput') searchInputViewChild!: AutoComplete;
58
-
59
-
60
- constructor(
61
- private primeConfig: PrimeNGConfig,
62
- private renderer: Renderer2,
63
- private menuService: MenuService,
64
- private authService: AuthService,
65
- private router: Router,
66
- private storage: StorageService,
67
- private activatedRoute: ActivatedRoute,
68
- private utilsService: UtilsService,
69
- private storageService: StorageService,
70
- private controlFuncionalidad: CargarControlFuncionalidadService
71
- ) {}
72
-
73
- /**
74
- * Activa ripple de PrimeNG para las animaciones de los botones
75
- */
76
- ngOnInit(): void {
77
- this.modulosDisponibles = JSON.parse(this.storage.getItem('modulos'));
78
- this.activatedRoute.data.subscribe((v) =>{
79
- //this.modulosDisponibles = v['modulosDisponibles']
80
- this.primeConfig.ripple = true;
81
- this.modulo = this.storage.getItem('moduloSeleccionado')
82
- });
83
- }
84
-
85
- /**
86
- * Después de crear la vista y sub-vistas inicializa las tareas y eventos básicos como
87
- * el timer de sesión, cargar el menú y eventos del html para ocultar menús.
88
- */
89
- ngAfterViewInit(): void {
90
- this.documentClickListener = this.renderer.listen('body', 'click', () => {
91
- if (!this.topbarItemClick) {
92
- this.activeTopbarItem = '';
93
- }
94
-
95
- if (!this.menuClick) {
96
- if (this.mobileMenuActive) {
97
- this.mobileMenuActive = false;
98
- }
99
- }
100
-
101
- if (!this.searchClick) {
102
- this.search = false;
103
- }
104
-
105
- this.searchClick = false;
106
- this.topbarItemClick = false;
107
- this.menuClick = false;
108
- this.modulo = this.storage.getItem('moduloSeleccionado')
109
- let moduloSeleccionado: ModulosModel = new ModulosModel(this.modulo, '');
110
- this.cambioModulo(moduloSeleccionado, false)
111
- });
112
-
113
- this.menuService.loadTareas().subscribe(() => {
114
- setTimeout(() => {
115
- this.menuService.setTareasDelModulo(this.modulo);
116
- });
117
- });
118
-
119
- // Cada 5 minutos verifica que el token no haya expirado
120
- this.intervalId = window.setInterval(() => {
121
- if (!this.authService.isTokenValid()) {
122
- this.authService.deleteToken();
123
- this.router.navigateByUrl(this.utilsService.obtenerBase() + '/timeout');
124
- }
125
- }, 300_000);
126
- }
127
-
128
- /**
129
- * Limpia el componente de las subscripciones
130
- */
131
- ngOnDestroy(): void {
132
- clearInterval(this.intervalId);
133
- }
134
-
135
- /**
136
- * Muestra/Esconte el menú principal de navegación
137
- * @param event
138
- */
139
- onMenuButtonClick(event: { preventDefault: () => void }): void {
140
- this.menuActive = !this.menuActive;
141
- this.menuClick = true;
142
-
143
- if (this._isMobile()) {
144
- this.mobileMenuActive = !this.mobileMenuActive;
145
- }
146
-
147
- event.preventDefault();
148
- }
149
-
150
- /**
151
- * Si el sitio esta en móviles, muestra/esconde el menú de la barra superior (los tres puntos)
152
- * @param event
153
- */
154
- onTopbarMobileButtonClick(event: { preventDefault: () => void }): void {
155
- this.mobileTopbarActive = !this.mobileTopbarActive;
156
- event.preventDefault();
157
- }
158
-
159
- /**
160
- * Muestra/Esconde los menus emergentes de la barra superior (Buscar, Módulos y Perfil).
161
- * @param event
162
- * @param item
163
- */
164
- onTopbarItemClick(event: { preventDefault: () => void }, item: string): void {
165
- this.topbarItemClick = true;
166
-
167
- if (this.activeTopbarItem === item) {
168
- this.activeTopbarItem = '';
169
- } else {
170
- this.activeTopbarItem = item;
171
- }
172
-
173
- if (item === 'search') {
174
- this.search = !this.search;
175
- this.searchClick = !this.searchClick;
176
- }
177
-
178
- event.preventDefault();
179
- }
180
-
181
- /**
182
- * Si la pantalla tiene un ancho menor o igual a 991 es un dispositivo móvil.
183
- * @returns boolean
184
- */
185
- private _isMobile(): boolean {
186
- return window.innerWidth <= 991;
187
- }
188
-
189
- onSearchAnimationEnd(event: AnimationEvent) {
190
- switch (event.toState) {
191
- case 'visible':
192
- //this.searchInputViewChild.f;
193
- break;
194
- }
195
- }
196
-
197
- salir() {
198
- this.authService.deleteToken();
199
- this.controlFuncionalidad.eliminarFuncionalidades();
200
- this.router.navigateByUrl(this.utilsService.obtenerBase() + '/login');
201
- }
202
-
203
- cambioModulo(modulo: ModulosModel, navegar: boolean): void {
204
- this.storageService.setItem('moduloSeleccionado', modulo.llave)
205
- this.menuService.setTareasDelModulo(modulo.llave);
206
- if (navegar){
207
- this.router.navigateByUrl( this.utilsService.obtenerBase() + '/inicio');
208
- }
209
- }
210
-
211
- filterTarea(event) {
212
- const filtered: TareasModel[] = [];
213
- let tareas: TareasModel[] = this.storageService.getItem('__tareas') != null ? JSON.parse(this.storageService.getItem('__tareas')) : '';
214
- const query = event.query;
215
- for (let i = 0; i < tareas.length; i++) {
216
- const country = tareas[i];
217
- if (country.descripcion.toLowerCase().includes(query.toLowerCase())) {
218
- filtered.push(country);
219
- }
220
- }
221
- this.tareasFiltradas = filtered;
222
- }
223
-
224
- tareaSeleccion() {
225
- if (this.tareaSeleccionadas != null) {
226
- this.router.navigate([this.utilsService.obtenerBase() + this.tareaSeleccionadas.urlprincipal.replace(/.jsf/, '')]);
227
- }
228
- }
229
- }
@@ -1,183 +0,0 @@
1
- import { HttpClient, HttpHeaders } from '@angular/common/http';
2
- import { Injectable, Inject } from '@angular/core';
3
- import { catchError, map, Observable, tap } from 'rxjs';
4
- import { UserLoginCredentials } from '../modelos/user.model';
5
- import { AuthenticationError } from '../errores/authentication.error';
6
- import { StorageService } from './storage.service';
7
- import { CargarControlFuncionalidadService } from './cargar-control-funcionalidad.service';
8
- import { CookieService } from 'ngx-cookie-service';
9
- import { TareasModel } from '../../seguridad/modelos/TareasModel';
10
- import { ModulosModel } from '../../seguridad/modelos/ModulosModel';
11
- import { RolModel } from '../../seguridad/modelos/RolModel';
12
- import { environment } from '../../../environments/environment';
13
- import * as CryptoJS from 'crypto-js';
14
-
15
-
16
- @Injectable({
17
- providedIn: 'root',
18
- })
19
- export class AuthService {
20
- constructor(
21
- private http: HttpClient,
22
- private storageService: StorageService,
23
- private controlFuncionalidad: CargarControlFuncionalidadService,
24
- private cookieService: CookieService) {}
25
-
26
- /**
27
- * Realiza la petición para autenticar al usuario. Devuelve el token que generó el servicio.
28
- * @param credentials Objeto con los datos de acceso
29
- * @returns Token válido
30
- */
31
- login(credentials: UserLoginCredentials, urlapinucleo, tokenPublico): Observable<string> {
32
- const url = `${urlapinucleo}/authentication/login`;
33
- if (!this.cookieService.get('urlnucleo')){
34
- this.cookieService.set('urlnucleo', urlapinucleo);
35
- }
36
- var headers = new HttpHeaders().set('Authorization', `Bearer ${tokenPublico}`)
37
- return this.http.post<string>(url, credentials, {headers}).pipe(
38
- map((data) => {
39
- const token = (data as any)?.token as string;
40
- this.storageService.setItem('token', token);
41
-
42
- /**********************************
43
- * Control funcionalidades
44
- **********************************/
45
- /* let rol: any = {}
46
- rol.codigoRol = this.getTokenKey('llaveRol');
47
- this.controlFuncionalidad.cargarFuncionalidad(rol, `${urlapinucleo}/authentication/funcionalidades`, headers).subscribe({});
48
- */
49
- var listRoles = (data as any)?.listaRoles;
50
- console.log(listRoles)
51
- if (listRoles.length > 1 ){
52
- this.storageService.setItem('roles', JSON.stringify(listRoles));
53
- //this.mostrarRoles = true;
54
- }if (listRoles.length == 1 ){
55
- let rol: any = {}
56
- rol.codigoRol = this.getTokenKey('llaveRol');
57
- rol.aplicacion = this.getTokenKey('aplicacion');
58
- this.controlFuncionalidad.cargarFuncionalidad(rol, `${urlapinucleo}/authentication/funcionalidades`, headers).subscribe({});
59
- /********************************************************************************************/
60
- /* Codigo temporal para mantener las tareas, pero estas deben ser obtenidas por un servicio */
61
- var tareas: TareasModel[] = (data as any).tareasmodulo;
62
- console.log(tareas)
63
- this.storageService.setItem('__tareas', JSON.stringify(tareas));
64
- var modulosDeTareas = tareas.filter((obj, index, self) => {
65
- return index === self.findIndex((o) => o.modulo === obj.modulo);
66
- });
67
- var modulos: ModulosModel[] = [];
68
- modulosDeTareas.forEach(data => {
69
- let modulo: ModulosModel = {
70
- llave: data.modulo,
71
- descripcion: data.nombreModulo,
72
- icono: data.iconoModulo
73
- }
74
- modulos.push(modulo)
75
- })
76
- this.storageService.setItem('modulos', JSON.stringify(modulos));
77
- if (this.storageService.getItem('moduloFavorito') !== undefined && this.storageService.getItem('moduloFavorito')){
78
- this.storageService.setItem('moduloSeleccionado', this.storageService.getItem('moduloFavorito'));
79
- }else {
80
- this.storageService.setItem('moduloSeleccionado', (data as any)?.modulodefecto);
81
- }
82
- }
83
- let tokenDecrypt = CryptoJS.AES.encrypt(JSON.stringify((data as any)?.autenticacionUsuarioDTO), environment.crypto_secret_key)
84
- this.storageService.setItem('autenticacionUsuarioDTO', tokenDecrypt.toString());
85
-
86
- /********************************************************************************************/
87
- return token;
88
- }),
89
- catchError((error) => {
90
- if (error.status >= 400) {
91
- throw new AuthenticationError('Usuario/contraseña inválido.');
92
- }
93
- throw error;
94
- })
95
- );
96
- }
97
-
98
- /**
99
- * Devuelve el token almacenado en el storage o vacio si no lo encuentra
100
- * @returns Token
101
- */
102
- getToken(): string {
103
- return this.storageService.getItem('token', '');
104
- }
105
-
106
- /**
107
- * Devuelve el valor asociado a la llave que se encuentra almacenado en el token.
108
- * @param key Llave presente en el objeto del token
109
- * @returns Valor almacenado
110
- */
111
- getTokenKey(key: string): string {
112
- try {
113
- const data = this._decodeToken();
114
- return data[key].toString();
115
- } catch (error) {
116
- return undefined;
117
- }
118
- }
119
-
120
- /**
121
- * Indica si el token almacenado en el storage es válido verificando que se
122
- * pueda decodificar y que el tiempo actual sea menor al de expiración.
123
- * @returns
124
- */
125
- isTokenValid(): boolean {
126
- try {
127
- const data = this._decodeToken();
128
- const expiryTime = data.exp;
129
- const currentTime = Math.floor(new Date().getTime() / 1000);
130
- if((currentTime <= expiryTime) && this.getTokenKey('numeroEmpresa') && this.getTokenKey('nombreConexion')){
131
- return true
132
- }
133
- return false;
134
- } catch (error) {
135
- return false;
136
- }
137
- }
138
-
139
- /**
140
- * Borra el token del usuario para invalidar la sesión
141
- */
142
- deleteToken(): void {
143
- this.storageService.removeItem('token');
144
- }
145
-
146
- /**
147
- * Decodifica el token que esta almacenado y devuelve el objeto que representa
148
- * @returns Información almacenada en el Token
149
- */
150
- private _decodeToken(): any {
151
- try {
152
- const token = this.getToken();
153
- const data = token.split('.')[1];
154
- return JSON.parse(atob(data));
155
- } catch (error) {
156
- throw error;
157
- }
158
- }
159
-
160
- public refrescarToken(objeto: any, token): Observable<any> {
161
- let url = this.cookieService.get('urlnucleo')
162
- let headers = new HttpHeaders()
163
- .set('Authorization', `Bearer ${token}`);
164
- return this.http.post<any>(`${url}/authentication/refrescarToken`, objeto, { headers });
165
- }
166
-
167
- public generarTokenPublico(urlnucleo?) {
168
- let url = this.cookieService.get('urlnucleo')
169
- if (!url){
170
- url = urlnucleo
171
- }
172
- return this.http.get<any>(`${url}/authentication/generarTokenPublico`);
173
- }
174
-
175
- public seleccionRol(_rolSeleccionado: RolModel, urlnucleo?): Observable<any> {
176
- let url = this.cookieService.get('urlnucleo')
177
- if (!url){
178
- url = urlnucleo
179
- }
180
- return this.http.post<any>(`${url}/requieretoken/rol/seleccionado`, _rolSeleccionado);
181
- }
182
-
183
- }
@@ -1,49 +0,0 @@
1
- import { HttpClient, HttpHeaders } from '@angular/common/http';
2
- import { Injectable } from '@angular/core';
3
- import { catchError, map, Observable } from 'rxjs';
4
- import { AuthenticationError } from '../errores/authentication.error';
5
- import { StorageService } from './storage.service';
6
- import { UtilsService } from './utils.service';
7
-
8
- @Injectable({
9
- providedIn: 'root'
10
- })
11
- export class CargarControlFuncionalidadService {
12
-
13
- constructor(private httpClient: HttpClient, private storageService: StorageService, private utilsService: UtilsService) { }
14
-
15
- cargarFuncionalidad(rol: any, url : string, headers: HttpHeaders): Observable<string> {
16
- return this.httpClient.post<any>(url, rol, {headers}).pipe(
17
- map((data) => {
18
- const controlFuncionalidades = (data as any)?.controlFuncionalidades as string;
19
- this.storageService.setItem('controlFuncionalidades', controlFuncionalidades);
20
- return null;
21
- }), catchError((error) => {
22
- if (error.status >= 400) {
23
- throw new AuthenticationError('Error consultando control de funcionalidades.');
24
- }
25
- throw error;
26
- })
27
- );
28
- }
29
-
30
- getControlFuncionalidad(valor: string) : boolean{
31
- if (this.storageService.getItem('controlFuncionalidades') != null){
32
- let listaFuncionalidades = this.storageService.getItem('controlFuncionalidades');
33
- var validar = listaFuncionalidades.indexOf(valor);
34
- if(validar !== -1){
35
- return true;
36
- }else{
37
- return false;
38
- }
39
- }
40
- return false;
41
- }
42
-
43
- /**
44
- * Borra controles de funcionalidad en la sesión
45
- */
46
- eliminarFuncionalidades(): void {
47
- this.storageService.removeItem('controlFuncionalidades');
48
- }
49
- }
@@ -1,55 +0,0 @@
1
- import jsPDF from "jspdf";
2
- import "jspdf-autotable";
3
- import * as FileSaver from 'file-saver';
4
- import { Workbook } from 'exceljs';
5
-
6
- export class DataExporter {
7
-
8
- constructor() { }
9
-
10
- exportPdf(lista: any[], exportColumns: any[], nombreArchivo: string) {
11
- console.log(lista);
12
- const doc = new jsPDF('p', 'pt');
13
- doc['autoTable'](exportColumns, lista);
14
- doc.save(nombreArchivo + ".pdf");
15
- }
16
-
17
- async exportExcel(lista: any[], nombreArchivo: string) {
18
- const workbook = new Workbook();
19
- const worksheet = workbook.addWorksheet('data');
20
-
21
- worksheet.columns = Object.keys(lista[0]).map(key => ({ header: key, key }));
22
-
23
- lista.forEach(item => {
24
- worksheet.addRow(item);
25
- });
26
-
27
- const buffer = await workbook.xlsx.writeBuffer();
28
- this.saveAsExcelFile(buffer, nombreArchivo);
29
- }
30
-
31
- async exportExcelColumnas(lista: any[], nombreArchivo: string, columnas: string[]) {
32
- const workbook = new Workbook();
33
- const worksheet = workbook.addWorksheet('data');
34
-
35
- worksheet.columns = columnas.map(col => ({ header: col, key: col }));
36
-
37
- lista.forEach(item => {
38
- const filteredItem: any = {};
39
- columnas.forEach(col => {
40
- filteredItem[col] = item[col];
41
- });
42
- worksheet.addRow(filteredItem);
43
- });
44
-
45
- const buffer = await workbook.xlsx.writeBuffer();
46
- this.saveAsExcelFile(buffer, nombreArchivo);
47
- }
48
-
49
- saveAsExcelFile(buffer: any, fileName: string): void {
50
- const EXCEL_TYPE = 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet;charset=UTF-8';
51
- const EXCEL_EXTENSION = '.xlsx';
52
- const data: Blob = new Blob([buffer], { type: EXCEL_TYPE });
53
- FileSaver.saveAs(data, `${fileName}_export_${new Date().getTime()}${EXCEL_EXTENSION}`);
54
- }
55
- }
@@ -1,145 +0,0 @@
1
- import { Injectable } from '@angular/core';
2
- import Swal from 'sweetalert2';
3
- import { ErrorResponseModel } from '../modelos/error-response.model';
4
- import { UtilsService } from './utils.service';
5
- import { Router } from '@angular/router';
6
- import { AuthService } from './auth.service';
7
- import { StorageService } from './storage.service';
8
-
9
- @Injectable({
10
- providedIn: 'root'
11
- })
12
- export class ErrorIntecertorService {
13
-
14
- constructor(private utilsService: UtilsService,
15
- private route: Router,
16
- private authService: AuthService,
17
- private storageService: StorageService,
18
- ) { }
19
-
20
- /**
21
- * Muestra un mensaje de error según el tipo de error proporcionado.
22
- * @param errorJson El objeto JSON que representa el error.
23
- */
24
- showError(errorJson: string): void {
25
- const error: ErrorResponseModel = JSON.parse(errorJson);
26
- if (error.codigo == 'UNI-DB-002' || error.codigo == 'UNI-DB-003'
27
- || error.mensaje.includes('Se produjo un error de red') || error.mensaje.includes('El servicio no está disponible')) {
28
- this.storageService.setItem('mensaje_notfound', error.mensaje);
29
- this.storageService.setItem('url_regresar', window.location.href);
30
- window.location.href = window.location.origin + '/' + this.utilsService.obtenerBase() + '/not-found'
31
- //this.route.navigate([this.utilsService.obtenerBase()+'/not-found']);
32
- return;
33
- }
34
- if (error.tipo === 'INF') {
35
- this.showInfo(error.mensaje, error.codigo);
36
- } else if (error.tipo === 'WAR') {
37
- this.showWarning(error.mensaje, error.codigo, error.causa, error.accion, error.traza);
38
- } else if (error.tipo === 'ERR') {
39
- this.showErrorDetails(error.mensaje, error.codigo, error.traza, error.causa);
40
- }
41
- }
42
-
43
- /**
44
- * Muestra un mensaje de información con el código.
45
- * @param mensaje El mensaje a mostrar.
46
- * @param codigo El código asociado al mensaje.
47
- */
48
- private showInfo(mensaje: string, codigo: string): void {
49
- Swal.fire({
50
- background: '#f7bfbf',
51
- position: 'top-end',
52
- html: '<div style="text-align: left;">' +
53
- '<p style="text-align: left;"><b>Código:</b> ' + codigo + '</p>' +
54
- '<p style="text-align: left; font-size:12px">' + mensaje + '</p>' +
55
- '</div>',
56
- showConfirmButton: false,
57
- timer: 5500,
58
- color: '#ff0000'
59
- });
60
- }
61
-
62
- /**
63
- * Muestra una advertencia con detalles adicionales como causa, acción y traza.
64
- * @param mensaje El mensaje a mostrar.
65
- * @param codigo El código asociado al mensaje.
66
- * @param causa La causa del error.
67
- * @param accion La acción recomendada.
68
- * @param traza La traza del error.
69
- */
70
- private showWarning(mensaje: string, codigo: string, causa: string, accion: string, traza: string): void {
71
- let contenidoHtml = `<p class="msjError">${mensaje}</p>`
72
- contenidoHtml = contenidoHtml + (this.utilsService.validarCampoObligatorio(codigo) ? `<p class="cauError"><b>Código:</b> ${codigo}</p>` : ' ');
73
- contenidoHtml = contenidoHtml + (this.utilsService.validarCampoObligatorio(causa) ? `<p class="cauError"><b>Causa:</b> ${causa}</p>` : ' ');
74
- contenidoHtml = contenidoHtml + (this.utilsService.validarCampoObligatorio(accion) ? `<p class="cauError"><b>Acción Recomendada:</b> ${accion}</p>` : ' ');
75
- let contenidoPlusHtml = `<p class="msjError">${mensaje.slice(0, 100)}</p><button id="verMasButton">Ver más</button> <button id="Ok">OK</button>`;
76
-
77
- Swal.fire({
78
- title: '<span style="color: var(--color-700);">' + 'Advertencia' + '</span>',
79
- html: contenidoHtml,
80
- icon: 'warning',
81
- showCancelButton: false,
82
- showCloseButton: true,
83
- showConfirmButton: true,
84
- didOpen: () => {
85
- const OkButton = document.getElementById('Ok');
86
- OkButton.classList.add('swal2-styled', 'swal2-cancel', 'btn-ok');
87
- OkButton.addEventListener('click', () => {
88
- Swal.close();
89
- });
90
- },
91
- });
92
- }
93
-
94
- /**
95
- * Muestra un mensaje de error con detalles adicionales como el código de error y la traza.
96
- * @param mensaje El mensaje a mostrar.
97
- * @param errorCode El código de error asociado al mensaje.
98
- * @param traza La traza del error.
99
- */
100
- private showErrorDetails(mensaje: string, codigo: string, traza: string, causa? : string): void {
101
- let contenidoHtml = `<p class="msjError">${mensaje}</p><p class="codError"><b>Código:</b> ${codigo}</p><p class="traError"><b>Traza:</b> ${traza}</p><p class="cauError">`;
102
- if (causa!= null && causa != undefined) {
103
- contenidoHtml = `<p class="msjError">${mensaje}</p><p class="codError"><b>Código:</b> ${codigo}</p><p class="traError"><b>Traza:</b> ${traza}</p><p class="cauError"><b>Causa:</b> ${causa}</p>`;
104
- }
105
- let contenidoPlusHtml = `<p class="msjError">${mensaje.slice(0, 100)}</p><button id="verMasButton">Ver más</button> <button class="btn-ok" id="Ok">OK</button>`;
106
-
107
- Swal.fire({
108
- title: '<span style="color: var(--color-700);">' + 'Error' + '</span>',
109
- html: (mensaje.length + traza.length) > 100 ? contenidoPlusHtml : contenidoHtml,
110
- icon: 'error',
111
- showCancelButton: false,
112
- showCloseButton: true,
113
- showConfirmButton: false,
114
- customClass: 'my-swal',
115
- didOpen: () => {
116
- if ((mensaje.length + traza.length) > 100) {
117
- // Agregar estilos al botón "Ver más"
118
- const verMasButton = document.getElementById('verMasButton');
119
- verMasButton.classList.add('swal2-styled', 'swal2-cancel', 'btn-vermas' );
120
-
121
- const OkButton = document.getElementById('Ok');
122
- OkButton.classList.add('swal2-styled', 'swal2-cancel' , 'btn-ok');
123
-
124
- // Agregar un evento al botón "Ver más" para mostrar todo el contenido cuando se hace clic
125
- verMasButton.addEventListener('click', () => {
126
- Swal.update({
127
- html: contenidoHtml,
128
- showConfirmButton: true,
129
- });
130
- });
131
-
132
- OkButton.addEventListener('click', () => {
133
- Swal.close();
134
- });
135
- }
136
- else{
137
- Swal.update({
138
- html: contenidoHtml,
139
- showConfirmButton: true,
140
- });
141
- }
142
- },
143
- });
144
- }
145
- }