general-library-union 3.0.48 → 3.0.50

Sign up to get free protection for your applications and to get access to all the features.
Files changed (653) hide show
  1. package/esm2022/general-library-union.mjs +5 -0
  2. package/esm2022/public-api.mjs +180 -0
  3. package/esm2022/src/app/core/componentes/breadcrumb/breadcrumb.component.mjs +40 -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 +196 -0
  6. package/esm2022/src/app/core/componentes/footer/footer.component.mjs +16 -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 +72 -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 +230 -0
  22. package/esm2022/src/app/core/servicios/auth.service.mjs +185 -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 +64 -0
  25. package/esm2022/src/app/core/servicios/error-interceptor.service.mjs +214 -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 +35 -0
  28. package/esm2022/src/app/core/servicios/interceptores/loading-interceptor.mjs +37 -0
  29. package/esm2022/src/app/core/servicios/interceptores/token-interceptor.service.mjs +180 -0
  30. package/esm2022/src/app/core/servicios/loading.service.mjs +43 -0
  31. package/esm2022/src/app/core/servicios/menu.service.mjs +146 -0
  32. package/esm2022/src/app/core/servicios/spinner-service.mjs +22 -0
  33. package/esm2022/src/app/core/servicios/storage.service.mjs +68 -0
  34. package/esm2022/src/app/core/servicios/template.service.mjs +99 -0
  35. package/esm2022/src/app/core/servicios/toast.service.mjs +120 -0
  36. package/esm2022/src/app/core/servicios/utils.service.mjs +338 -0
  37. package/esm2022/src/app/core/sharedlib.module.mjs +16 -0
  38. package/esm2022/src/app/core/utilidades/color.util.mjs +177 -0
  39. package/esm2022/src/app/layout/api/menuchangeevent.mjs +2 -0
  40. package/esm2022/src/app/layout/app.breadcrumb.component.mjs +71 -0
  41. package/esm2022/src/app/layout/app.footer.component.mjs +18 -0
  42. package/esm2022/src/app/layout/app.layout.component.mjs +188 -0
  43. package/esm2022/src/app/layout/app.layout.module.mjs +15 -0
  44. package/esm2022/src/app/layout/app.menu.component.mjs +51 -0
  45. package/esm2022/src/app/layout/app.menu.service.mjs +24 -0
  46. package/esm2022/src/app/layout/app.menuitem.component.mjs +296 -0
  47. package/esm2022/src/app/layout/app.menuprofile.component.mjs +78 -0
  48. package/esm2022/src/app/layout/app.rightmenu.component.mjs +24 -0
  49. package/esm2022/src/app/layout/app.sidebar.component.mjs +92 -0
  50. package/esm2022/src/app/layout/app.topbar.component.mjs +346 -0
  51. package/esm2022/src/app/layout/service/app.layout.service.mjs +134 -0
  52. package/esm2022/src/app/publico/pages/login/login.page.mjs +129 -0
  53. package/esm2022/src/app/publico/pages/not-found/not-found.page.mjs +51 -0
  54. package/esm2022/src/app/publico/pages/seleccion-rol/seleccion-rol.component.mjs +167 -0
  55. package/esm2022/src/app/publico/pages/timeout/timeout.page.mjs +20 -0
  56. package/esm2022/src/app/seguridad/constantes/ConstantesGenerales.mjs +30 -0
  57. package/esm2022/src/app/seguridad/constantes/ReporteEntradaConstantes.mjs +19 -0
  58. package/esm2022/src/app/seguridad/modelos/AplicacionModel.mjs +8 -0
  59. package/esm2022/src/app/seguridad/modelos/ArchivoPortalModel.mjs +14 -0
  60. package/esm2022/src/app/seguridad/modelos/AtributoPuntoModel.mjs +9 -0
  61. package/esm2022/src/app/seguridad/modelos/AtributoSSOportalModel.mjs +17 -0
  62. package/esm2022/src/app/seguridad/modelos/AuditoriaArchivoModel.mjs +11 -0
  63. package/esm2022/src/app/seguridad/modelos/CargueLineaModel.mjs +13 -0
  64. package/esm2022/src/app/seguridad/modelos/ColoresRGB.mjs +18 -0
  65. package/esm2022/src/app/seguridad/modelos/ColumnaFuenteModel.mjs +9 -0
  66. package/esm2022/src/app/seguridad/modelos/ColumnaWraperModel.mjs +6 -0
  67. package/esm2022/src/app/seguridad/modelos/ComplementoModel.mjs +7 -0
  68. package/esm2022/src/app/seguridad/modelos/ComponentePaginaModel.mjs +21 -0
  69. package/esm2022/src/app/seguridad/modelos/ConexionModel.mjs +14 -0
  70. package/esm2022/src/app/seguridad/modelos/ContenidoHtmlPortalModel.mjs +21 -0
  71. package/esm2022/src/app/seguridad/modelos/ControlFuncionModel.mjs +8 -0
  72. package/esm2022/src/app/seguridad/modelos/CorreoModel.mjs +35 -0
  73. package/esm2022/src/app/seguridad/modelos/CorreoWSModel.mjs +37 -0
  74. package/esm2022/src/app/seguridad/modelos/CruceRecursoPuntoModel.mjs +14 -0
  75. package/esm2022/src/app/seguridad/modelos/DatoInicioModel.mjs +6 -0
  76. package/esm2022/src/app/seguridad/modelos/EjecucionReporteDataModel.mjs +14 -0
  77. package/esm2022/src/app/seguridad/modelos/EmpresaModel.mjs +25 -0
  78. package/esm2022/src/app/seguridad/modelos/EmpresaSeguridadModel.mjs +19 -0
  79. package/esm2022/src/app/seguridad/modelos/EntradaComplementoModel.mjs +7 -0
  80. package/esm2022/src/app/seguridad/modelos/EtiquetaModel.mjs +5 -0
  81. package/esm2022/src/app/seguridad/modelos/Etiquetas.mjs +12 -0
  82. package/esm2022/src/app/seguridad/modelos/ForeingWraperModel.mjs +6 -0
  83. package/esm2022/src/app/seguridad/modelos/FuenteCampoAtributoModel.mjs +16 -0
  84. package/esm2022/src/app/seguridad/modelos/FuenteCampoModel.mjs +17 -0
  85. package/esm2022/src/app/seguridad/modelos/FuenteDato.mjs +19 -0
  86. package/esm2022/src/app/seguridad/modelos/FuenteEntradaModel.mjs +9 -0
  87. package/esm2022/src/app/seguridad/modelos/FuenteGeneralModel.mjs +37 -0
  88. package/esm2022/src/app/seguridad/modelos/FuenteLineaServicioModel.mjs +16 -0
  89. package/esm2022/src/app/seguridad/modelos/FuenteProcesoGeneralModel.mjs +11 -0
  90. package/esm2022/src/app/seguridad/modelos/FuenteServicioModel.mjs +51 -0
  91. package/esm2022/src/app/seguridad/modelos/FuncionalidadModel.mjs +10 -0
  92. package/esm2022/src/app/seguridad/modelos/GeneralModel.mjs +15 -0
  93. package/esm2022/src/app/seguridad/modelos/GrupoAccesoModel.mjs +7 -0
  94. package/esm2022/src/app/seguridad/modelos/GrupoControlFuncionModel.mjs +10 -0
  95. package/esm2022/src/app/seguridad/modelos/GrupoFuenteModel.mjs +13 -0
  96. package/esm2022/src/app/seguridad/modelos/GrupoPermisoModel.mjs +14 -0
  97. package/esm2022/src/app/seguridad/modelos/JoinFromModel.mjs +5 -0
  98. package/esm2022/src/app/seguridad/modelos/ListaServicioModel.mjs +17 -0
  99. package/esm2022/src/app/seguridad/modelos/LlaveForaneaModel.mjs +7 -0
  100. package/esm2022/src/app/seguridad/modelos/LoginModel.mjs +15 -0
  101. package/esm2022/src/app/seguridad/modelos/MensajeSistemaModel.mjs +8 -0
  102. package/esm2022/src/app/seguridad/modelos/MenuPortalModel.mjs +5 -0
  103. package/esm2022/src/app/seguridad/modelos/ModulosModel.mjs +18 -0
  104. package/esm2022/src/app/seguridad/modelos/ObjetoReporteModel.mjs +6 -0
  105. package/esm2022/src/app/seguridad/modelos/PaginaPortalModel.mjs +20 -0
  106. package/esm2022/src/app/seguridad/modelos/ParametroComponenteModel.mjs +9 -0
  107. package/esm2022/src/app/seguridad/modelos/ParametrosGeneralModel.mjs +15 -0
  108. package/esm2022/src/app/seguridad/modelos/PermisoFuncionModel.mjs +9 -0
  109. package/esm2022/src/app/seguridad/modelos/PermisocontenidoModel.mjs +20 -0
  110. package/esm2022/src/app/seguridad/modelos/PeticionModel.mjs +16 -0
  111. package/esm2022/src/app/seguridad/modelos/PreguntaSeguridadModel.mjs +7 -0
  112. package/esm2022/src/app/seguridad/modelos/PropiedadModel.mjs +10 -0
  113. package/esm2022/src/app/seguridad/modelos/PublicacionWebModel.mjs +27 -0
  114. package/esm2022/src/app/seguridad/modelos/PuntoProcesoModel.mjs +7 -0
  115. package/esm2022/src/app/seguridad/modelos/RecursoPunto.mjs +13 -0
  116. package/esm2022/src/app/seguridad/modelos/RecursoPuntoModel.mjs +13 -0
  117. package/esm2022/src/app/seguridad/modelos/ReporteBanda.mjs +8 -0
  118. package/esm2022/src/app/seguridad/modelos/ReporteColumna.mjs +33 -0
  119. package/esm2022/src/app/seguridad/modelos/ReporteColumnario.mjs +69 -0
  120. package/esm2022/src/app/seguridad/modelos/ReporteColumnarioMarcador.mjs +24 -0
  121. package/esm2022/src/app/seguridad/modelos/ReporteEntradaModel.mjs +20 -0
  122. package/esm2022/src/app/seguridad/modelos/ReporteFuenteModel.mjs +124 -0
  123. package/esm2022/src/app/seguridad/modelos/ReporteMarcador.mjs +40 -0
  124. package/esm2022/src/app/seguridad/modelos/ReporteSoporte.mjs +10 -0
  125. package/esm2022/src/app/seguridad/modelos/ReporteTabla.mjs +13 -0
  126. package/esm2022/src/app/seguridad/modelos/RespuestaModel.mjs +9 -0
  127. package/esm2022/src/app/seguridad/modelos/RolModel.mjs +39 -0
  128. package/esm2022/src/app/seguridad/modelos/ServidorCorreoModel.mjs +28 -0
  129. package/esm2022/src/app/seguridad/modelos/SistemaMensajeModel.mjs +9 -0
  130. package/esm2022/src/app/seguridad/modelos/SitioPortalModel.mjs +25 -0
  131. package/esm2022/src/app/seguridad/modelos/TablaFromModel.mjs +5 -0
  132. package/esm2022/src/app/seguridad/modelos/TareasModel.mjs +54 -0
  133. package/esm2022/src/app/seguridad/modelos/TextoModel.mjs +9 -0
  134. package/esm2022/src/app/seguridad/modelos/TipoEtiqueta.mjs +8 -0
  135. package/esm2022/src/app/seguridad/modelos/UnionModel.mjs +12 -0
  136. package/esm2022/src/app/seguridad/modelos/UsuarioModel.mjs +53 -0
  137. package/esm2022/src/app/seguridad/modelos/UsuariogrupoModel.mjs +24 -0
  138. package/esm2022/src/app/seguridad/modelos/aplicacion-propiedad-model.mjs +15 -0
  139. package/esm2022/src/app/seguridad/modelos/contenidoCorreoModel.mjs +10 -0
  140. package/esm2022/src/app/shared/componentes/input-helper-seleccion-plantilla/input-helper-seleccion-plantilla.component.mjs +154 -0
  141. package/esm2022/src/app/shared/servicios/cargar-archivos.service.mjs +54 -0
  142. package/esm2022/src/app/shared/servicios/cargar-mapas.service.mjs +46 -0
  143. package/esm2022/src/app/shared/servicios/encriptado-basico.service.mjs +53 -0
  144. package/esm2022/src/app/shared/servicios/general.service.mjs +104 -0
  145. package/esm2022/src/app/shared/servicios/parametros-navegacion.service.mjs +21 -0
  146. package/esm2022/src/app/webcommon/pages/cargue-plantilla/cargue-plantilla-general/cargue-plantilla-general.component.mjs +378 -0
  147. package/esm2022/src/app/webcommon/pages/ejecucion-reporte/detalle-campo-reporte/detalle-campo-reporte.component.mjs +187 -0
  148. package/esm2022/src/app/webcommon/pages/ejecucion-reporte/detalle-distribucion-reporte/detalle-distribucion-reporte.component.mjs +85 -0
  149. package/esm2022/src/app/webcommon/pages/ejecucion-reporte/detalle-ejecucion-reporte/detalle-ejecucion-reporte.page.mjs +347 -0
  150. package/esm2022/src/app/webcommon/pages/ejecucion-reporte/detalle-entrada-reporte/detalle-entrada-reporte.component.mjs +206 -0
  151. package/esm2022/src/app/webcommon/pages/ejecucion-reporte/detalle-punto-proceso-reporte/detalle-punto-proceso-reporte.component.mjs +329 -0
  152. package/esm2022/src/app/webcommon/pages/ejecucion-reporte/detalle-tipo-reporte/detalle-tipo-reporte.component.mjs +1583 -0
  153. package/esm2022/src/app/webcommon/pages/ejecucion-reporte/listado-ejecucion-reporte/listado-ejecucion-reporte.page.mjs +105 -0
  154. package/esm2022/src/app/webcommon/pages/ejecucion-reporte-externo/listado-ejecucion-reporte-externo/listado-ejecucion-reporte-externo.component.mjs +114 -0
  155. package/esm2022/src/app/webcommon/pages/fuente/importar-fuente-con/importar-fuente-con.component.mjs +588 -0
  156. package/esm2022/src/app/webcommon/pages/fuente/importar-fuente-general/importar-fuente-general.component.mjs +177 -0
  157. package/esm2022/src/app/webcommon/pages/fuente-reporte/fuente-reporte.component.mjs +767 -0
  158. package/esm2022/src/app/webcommon/pages/fuenteGeneral/fuente-general-servicio/fuente-general-servicio.component.mjs +331 -0
  159. package/esm2022/src/app/webcommon/pages/fuenteGeneral/listado-fuente-general/listado-fuente-general.page.mjs +96 -0
  160. package/esm2022/src/app/webcommon/pages/fuenteGeneral/mantenimiento-fuente-general/mantenimiento-fuente-general.page.mjs +675 -0
  161. package/esm2022/src/app/webcommon/pipes/dashboard.pipe.mjs +86 -0
  162. package/esm2022/src/app/webcommon/pipes/fuente.pipe.mjs +201 -0
  163. package/esm2022/src/app/webcommon/pipes/general.pipe.mjs +916 -0
  164. package/esm2022/src/app/webcommon/pipes/reporte-columnario.pipe.mjs +115 -0
  165. package/esm2022/src/app/webcommon/pipes/reporte-fuente.pipe.mjs +301 -0
  166. package/esm2022/src/app/webcommon/popups/popup-campos-fuente-general/popup-campos-fuente-general.component.mjs +267 -0
  167. package/esm2022/src/app/webcommon/popups/popup-convertir-plantillas/popup-convertir-plantillas.component.mjs +128 -0
  168. package/esm2022/src/app/webcommon/popups/popup-editor-formula/popup-editor-formula.component.mjs +73 -0
  169. package/esm2022/src/app/webcommon/popups/popup-punto-proceso/popup-punto-proceso.component.mjs +293 -0
  170. package/esm2022/src/app/webcommon/popups/popup-recurso/popup-recurso.component.mjs +269 -0
  171. package/esm2022/src/app/webcommon/popups/popup-reporte/popup-reporte.component.mjs +555 -0
  172. package/esm2022/src/app/webcommon/popups/popup-sentencia/popup-sentencia.component.mjs +64 -0
  173. package/esm2022/src/app/webcommon/popups/popup-tablas-fuente/popup-tablas-fuente.component.mjs +162 -0
  174. package/esm2022/src/app/webcommon/popups/punto-proceso-comp/punto-proceso-comp.component.mjs +89 -0
  175. package/esm2022/src/app/webcommon/services/carguelinea.service.mjs +69 -0
  176. package/esm2022/src/app/webcommon/services/dashboard.service.mjs +253 -0
  177. package/esm2022/src/app/webcommon/services/ejecucionreporte.service.mjs +114 -0
  178. package/esm2022/src/app/webcommon/services/fechaUtils.service.mjs +97 -0
  179. package/esm2022/src/app/webcommon/services/fuentegeneral.service.mjs +68 -0
  180. package/esm2022/src/app/webcommon/services/homologacion.service.mjs +50 -0
  181. package/esm2022/src/app/webcommon/services/plantillas.service.mjs +129 -0
  182. package/esm2022/src/app/webcommon/services/reportes.service.mjs +95 -0
  183. package/esm2022/src/app/webcommon/webcommon.module.mjs +15 -0
  184. package/esm2022/src/environments/environment.mjs +24 -0
  185. package/fesm2022/general-library-union.mjs +16036 -0
  186. package/fesm2022/general-library-union.mjs.map +1 -0
  187. package/index.d.ts +5 -0
  188. package/package.json +62 -73
  189. package/{public-api.ts → public-api.d.ts} +161 -201
  190. package/src/app/core/componentes/breadcrumb/breadcrumb.component.d.ts +18 -0
  191. package/src/app/core/componentes/carga-pantalla-completa/carga-pantalla-completa.component.d.ts +14 -0
  192. package/src/app/core/componentes/filtro-general/filtro-general.component.d.ts +34 -0
  193. package/src/app/core/componentes/footer/footer.component.d.ts +9 -0
  194. package/src/app/core/componentes/formulariodinamico/formulariodinamico.component.d.ts +46 -0
  195. package/src/app/core/componentes/formulariodinamico/objetosformulario/{Cambio.ts → Cambio.d.ts} +7 -13
  196. package/src/app/core/componentes/formulariodinamico/objetosformulario/CampoFormulario.d.ts +44 -0
  197. package/src/app/core/componentes/formulariodinamico/objetosformulario/CampoFormularioCons.d.ts +45 -0
  198. package/src/app/core/componentes/formulariodinamico/objetosformulario/CampoFormularioNuevo.d.ts +33 -0
  199. package/src/app/core/componentes/formulariodinamico/objetosformulario/HashDirective.d.ts +9 -0
  200. package/src/app/core/componentes/inicio-component/inicio-component.component.d.ts +26 -0
  201. package/src/app/core/componentes/menu/menu.component.d.ts +16 -0
  202. package/src/app/core/componentes/tabla-general/tabla-general.component.d.ts +32 -0
  203. package/src/app/core/core.module.d.ts +8 -0
  204. package/src/app/core/errores/authentication.error.d.ts +3 -0
  205. package/src/app/core/modelos/error-response.model.d.ts +9 -0
  206. package/src/app/core/modelos/table-column.model.d.ts +12 -0
  207. package/src/app/core/modelos/user.model.d.ts +6 -0
  208. package/src/app/core/plantilla-general/plantilla-general.template.d.ts +89 -0
  209. package/src/app/core/servicios/auth.service.d.ts +52 -0
  210. package/src/app/core/servicios/cargar-control-funcionalidad.service.d.ts +19 -0
  211. package/src/app/core/servicios/data-exporter-table.utils.d.ts +11 -0
  212. package/src/app/core/servicios/error-interceptor.service.d.ts +41 -0
  213. package/src/app/core/servicios/guardias/auth.guard.d.ts +17 -0
  214. package/src/app/core/servicios/guardias/publico.guard.d.ts +13 -0
  215. package/src/app/core/servicios/interceptores/loading-interceptor.d.ts +11 -0
  216. package/src/app/core/servicios/interceptores/token-interceptor.service.d.ts +26 -0
  217. package/src/app/core/servicios/loading.service.d.ts +22 -0
  218. package/src/app/core/servicios/menu.service.d.ts +35 -0
  219. package/src/app/core/servicios/spinner-service.d.ts +9 -0
  220. package/src/app/core/servicios/storage.service.d.ts +37 -0
  221. package/src/app/core/servicios/template.service.d.ts +20 -0
  222. package/src/app/core/servicios/toast.service.d.ts +48 -0
  223. package/src/app/core/servicios/utils.service.d.ts +43 -0
  224. package/src/app/core/sharedlib.module.d.ts +6 -0
  225. package/src/app/core/utilidades/color.util.d.ts +70 -0
  226. package/src/app/layout/api/{menuchangeevent.ts → menuchangeevent.d.ts} +4 -4
  227. package/src/app/layout/app.breadcrumb.component.d.ts +28 -0
  228. package/src/app/layout/app.footer.component.d.ts +8 -0
  229. package/src/app/layout/app.layout.component.d.ts +39 -0
  230. package/src/app/layout/app.layout.module.d.ts +6 -0
  231. package/src/app/layout/app.menu.component.d.ts +19 -0
  232. package/src/app/layout/app.menu.service.d.ts +12 -0
  233. package/src/app/layout/app.menuitem.component.d.ts +41 -0
  234. package/src/app/layout/app.menuprofile.component.d.ts +18 -0
  235. package/src/app/layout/app.rightmenu.component.d.ts +10 -0
  236. package/src/app/layout/app.sidebar.component.d.ts +34 -0
  237. package/src/app/layout/app.topbar.component.d.ts +79 -0
  238. package/src/app/layout/service/app.layout.service.d.ts +57 -0
  239. package/src/app/publico/pages/login/login.page.d.ts +40 -0
  240. package/src/app/publico/pages/not-found/not-found.page.d.ts +17 -0
  241. package/src/app/publico/pages/seleccion-rol/seleccion-rol.component.d.ts +41 -0
  242. package/src/app/publico/pages/timeout/timeout.page.d.ts +10 -0
  243. package/src/app/seguridad/constantes/ConstantesGenerales.d.ts +25 -0
  244. package/src/app/seguridad/constantes/ReporteEntradaConstantes.d.ts +7 -0
  245. package/src/app/seguridad/modelos/AplicacionModel.d.ts +7 -0
  246. package/src/app/seguridad/modelos/ArchivoPortalModel.d.ts +13 -0
  247. package/src/app/seguridad/modelos/AtributoPuntoModel.d.ts +8 -0
  248. package/src/app/seguridad/modelos/AtributoSSOportalModel.d.ts +16 -0
  249. package/src/app/seguridad/modelos/{AuditoriaArchivoModel.ts → AuditoriaArchivoModel.d.ts} +10 -13
  250. package/src/app/seguridad/modelos/CargueLineaModel.d.ts +12 -0
  251. package/src/app/seguridad/modelos/ColoresRGB.d.ts +17 -0
  252. package/src/app/seguridad/modelos/ColumnaFuenteModel.d.ts +8 -0
  253. package/src/app/seguridad/modelos/{ColumnaWraperModel.ts → ColumnaWraperModel.d.ts} +6 -7
  254. package/src/app/seguridad/modelos/ComplementoModel.d.ts +6 -0
  255. package/src/app/seguridad/modelos/ComponentePaginaModel.d.ts +20 -0
  256. package/src/app/seguridad/modelos/ConexionModel.d.ts +13 -0
  257. package/src/app/seguridad/modelos/{ContenidoHtmlPortalModel.ts → ContenidoHtmlPortalModel.d.ts} +20 -25
  258. package/src/app/seguridad/modelos/ControlFuncionModel.d.ts +7 -0
  259. package/src/app/seguridad/modelos/CorreoModel.d.ts +31 -0
  260. package/src/app/seguridad/modelos/CorreoWSModel.d.ts +33 -0
  261. package/src/app/seguridad/modelos/CruceRecursoPuntoModel.d.ts +13 -0
  262. package/src/app/seguridad/modelos/{DatoInicioModel.ts → DatoInicioModel.d.ts} +6 -7
  263. package/src/app/seguridad/modelos/{EjecucionReporteDataModel.ts → EjecucionReporteDataModel.d.ts} +20 -21
  264. package/src/app/seguridad/modelos/EmpresaModel.d.ts +23 -0
  265. package/src/app/seguridad/modelos/EmpresaSeguridadModel.d.ts +18 -0
  266. package/src/app/seguridad/modelos/{EntradaComplementoModel.ts → EntradaComplementoModel.d.ts} +6 -9
  267. package/src/app/seguridad/modelos/EtiquetaModel.d.ts +4 -0
  268. package/src/app/seguridad/modelos/Etiquetas.d.ts +10 -0
  269. package/src/app/seguridad/modelos/{ForeingWraperModel.ts → ForeingWraperModel.d.ts} +6 -9
  270. package/src/app/seguridad/modelos/FuenteCampoAtributoModel.d.ts +15 -0
  271. package/src/app/seguridad/modelos/{FuenteCampoModel.ts → FuenteCampoModel.d.ts} +16 -20
  272. package/src/app/seguridad/modelos/FuenteDato.d.ts +18 -0
  273. package/src/app/seguridad/modelos/FuenteEntradaModel.d.ts +8 -0
  274. package/src/app/seguridad/modelos/{FuenteGeneralModel.ts → FuenteGeneralModel.d.ts} +36 -55
  275. package/src/app/seguridad/modelos/FuenteLineaServicioModel.d.ts +16 -0
  276. package/src/app/seguridad/modelos/FuenteProcesoGeneralModel.d.ts +10 -0
  277. package/src/app/seguridad/modelos/{FuenteServicioModel.ts → FuenteServicioModel.d.ts} +47 -61
  278. package/src/app/seguridad/modelos/FuncionalidadModel.d.ts +8 -0
  279. package/src/app/seguridad/modelos/GeneralModel.d.ts +8 -0
  280. package/src/app/seguridad/modelos/{GrupoAccesoModel.ts → GrupoAccesoModel.d.ts} +6 -9
  281. package/src/app/seguridad/modelos/GrupoControlFuncionModel.d.ts +9 -0
  282. package/src/app/seguridad/modelos/GrupoFuenteModel.d.ts +13 -0
  283. package/src/app/seguridad/modelos/GrupoPermisoModel.d.ts +13 -0
  284. package/src/app/seguridad/modelos/{JoinFromModel.ts → JoinFromModel.d.ts} +4 -4
  285. package/src/app/seguridad/modelos/ListaServicioModel.d.ts +16 -0
  286. package/src/app/seguridad/modelos/LlaveForaneaModel.d.ts +6 -0
  287. package/src/app/seguridad/modelos/LoginModel.d.ts +17 -0
  288. package/src/app/seguridad/modelos/MensajeSistemaModel.d.ts +7 -0
  289. package/src/app/seguridad/modelos/{MenuPortalModel.ts → MenuPortalModel.d.ts} +4 -5
  290. package/src/app/seguridad/modelos/ModulosModel.d.ts +14 -0
  291. package/src/app/seguridad/modelos/{ObjetoReporteModel.ts → ObjetoReporteModel.d.ts} +5 -6
  292. package/src/app/seguridad/modelos/PaginaPortalModel.d.ts +19 -0
  293. package/src/app/seguridad/modelos/ParametroComponenteModel.d.ts +8 -0
  294. package/src/app/seguridad/modelos/ParametrosGeneralModel.d.ts +8 -0
  295. package/src/app/seguridad/modelos/PermisoFuncionModel.d.ts +8 -0
  296. package/src/app/seguridad/modelos/PermisocontenidoModel.d.ts +18 -0
  297. package/src/app/seguridad/modelos/{PeticionModel.ts → PeticionModel.d.ts} +15 -20
  298. package/src/app/seguridad/modelos/PreguntaSeguridadModel.d.ts +6 -0
  299. package/src/app/seguridad/modelos/PropiedadModel.d.ts +9 -0
  300. package/src/app/seguridad/modelos/PublicacionWebModel.d.ts +25 -0
  301. package/src/app/seguridad/modelos/PuntoProcesoModel.d.ts +6 -0
  302. package/src/app/seguridad/modelos/RecursoPunto.d.ts +12 -0
  303. package/src/app/seguridad/modelos/RecursoPuntoModel.d.ts +12 -0
  304. package/src/app/seguridad/modelos/ReporteBanda.d.ts +7 -0
  305. package/src/app/seguridad/modelos/ReporteColumna.d.ts +32 -0
  306. package/src/app/seguridad/modelos/ReporteColumnario.d.ts +68 -0
  307. package/src/app/seguridad/modelos/ReporteColumnarioMarcador.d.ts +23 -0
  308. package/src/app/seguridad/modelos/{ReporteEntradaModel.ts → ReporteEntradaModel.d.ts} +19 -21
  309. package/src/app/seguridad/modelos/{ReporteFuenteModel.ts → ReporteFuenteModel.d.ts} +87 -141
  310. package/src/app/seguridad/modelos/ReporteMarcador.d.ts +39 -0
  311. package/src/app/seguridad/modelos/ReporteSoporte.d.ts +9 -0
  312. package/src/app/seguridad/modelos/ReporteTabla.d.ts +12 -0
  313. package/src/app/seguridad/modelos/RespuestaModel.d.ts +8 -0
  314. package/src/app/seguridad/modelos/{RolModel.ts → RolModel.d.ts} +37 -41
  315. package/src/app/seguridad/modelos/ServidorCorreoModel.d.ts +25 -0
  316. package/src/app/seguridad/modelos/SistemaMensajeModel.d.ts +8 -0
  317. package/src/app/seguridad/modelos/SitioPortalModel.d.ts +24 -0
  318. package/src/app/seguridad/modelos/TablaFromModel.d.ts +4 -0
  319. package/src/app/seguridad/modelos/TareasModel.d.ts +49 -0
  320. package/src/app/seguridad/modelos/TextoModel.d.ts +8 -0
  321. package/src/app/seguridad/modelos/TipoEtiqueta.d.ts +7 -0
  322. package/src/app/seguridad/modelos/UnionModel.d.ts +11 -0
  323. package/src/app/seguridad/modelos/{UsuarioModel.ts → UsuarioModel.d.ts} +49 -60
  324. package/src/app/seguridad/modelos/UsuariogrupoModel.d.ts +22 -0
  325. package/src/app/seguridad/modelos/aplicacion-propiedad-model.d.ts +13 -0
  326. package/src/app/seguridad/modelos/contenidoCorreoModel.d.ts +9 -0
  327. package/src/app/shared/componentes/input-helper-seleccion-plantilla/input-helper-seleccion-plantilla.component.d.ts +47 -0
  328. package/src/app/shared/servicios/cargar-archivos.service.d.ts +15 -0
  329. package/src/app/shared/servicios/cargar-mapas.service.d.ts +18 -0
  330. package/src/app/shared/servicios/encriptado-basico.service.d.ts +10 -0
  331. package/src/app/shared/servicios/general.service.d.ts +24 -0
  332. package/src/app/shared/servicios/parametros-navegacion.service.d.ts +9 -0
  333. package/src/app/webcommon/pages/cargue-plantilla/cargue-plantilla-general/cargue-plantilla-general.component.d.ts +79 -0
  334. package/src/app/webcommon/pages/ejecucion-reporte/detalle-campo-reporte/detalle-campo-reporte.component.d.ts +79 -0
  335. package/src/app/webcommon/pages/ejecucion-reporte/detalle-distribucion-reporte/detalle-distribucion-reporte.component.d.ts +29 -0
  336. package/src/app/webcommon/pages/ejecucion-reporte/detalle-ejecucion-reporte/detalle-ejecucion-reporte.page.d.ts +69 -0
  337. package/src/app/webcommon/pages/ejecucion-reporte/detalle-entrada-reporte/detalle-entrada-reporte.component.d.ts +51 -0
  338. package/src/app/webcommon/pages/ejecucion-reporte/detalle-punto-proceso-reporte/detalle-punto-proceso-reporte.component.d.ts +77 -0
  339. package/src/app/webcommon/pages/ejecucion-reporte/detalle-tipo-reporte/detalle-tipo-reporte.component.d.ts +278 -0
  340. package/src/app/webcommon/pages/ejecucion-reporte/listado-ejecucion-reporte/listado-ejecucion-reporte.page.d.ts +42 -0
  341. package/src/app/webcommon/pages/ejecucion-reporte-externo/listado-ejecucion-reporte-externo/listado-ejecucion-reporte-externo.component.d.ts +35 -0
  342. package/src/app/webcommon/pages/fuente/importar-fuente-con/importar-fuente-con.component.d.ts +143 -0
  343. package/src/app/webcommon/pages/fuente/importar-fuente-general/importar-fuente-general.component.d.ts +49 -0
  344. package/src/app/webcommon/pages/fuente-reporte/fuente-reporte.component.d.ts +131 -0
  345. package/src/app/webcommon/pages/fuenteGeneral/fuente-general-servicio/fuente-general-servicio.component.d.ts +64 -0
  346. package/src/app/webcommon/pages/fuenteGeneral/listado-fuente-general/listado-fuente-general.page.d.ts +33 -0
  347. package/src/app/webcommon/pages/fuenteGeneral/mantenimiento-fuente-general/mantenimiento-fuente-general.page.d.ts +149 -0
  348. package/src/app/webcommon/pipes/dashboard.pipe.d.ts +48 -0
  349. package/src/app/webcommon/pipes/fuente.pipe.d.ts +136 -0
  350. package/src/app/webcommon/pipes/general.pipe.d.ts +646 -0
  351. package/src/app/webcommon/pipes/reporte-columnario.pipe.d.ts +59 -0
  352. package/src/app/webcommon/pipes/reporte-fuente.pipe.d.ts +193 -0
  353. package/src/app/webcommon/popups/popup-campos-fuente-general/popup-campos-fuente-general.component.d.ts +59 -0
  354. package/src/app/webcommon/popups/popup-convertir-plantillas/popup-convertir-plantillas.component.d.ts +27 -0
  355. package/src/app/webcommon/popups/popup-editor-formula/popup-editor-formula.component.d.ts +21 -0
  356. package/src/app/webcommon/popups/popup-punto-proceso/popup-punto-proceso.component.d.ts +64 -0
  357. package/src/app/webcommon/popups/popup-recurso/popup-recurso.component.d.ts +63 -0
  358. package/src/app/webcommon/popups/popup-reporte/popup-reporte.component.d.ts +105 -0
  359. package/src/app/webcommon/popups/popup-sentencia/popup-sentencia.component.d.ts +21 -0
  360. package/src/app/webcommon/popups/popup-tablas-fuente/popup-tablas-fuente.component.d.ts +42 -0
  361. package/src/app/webcommon/popups/punto-proceso-comp/punto-proceso-comp.component.d.ts +30 -0
  362. package/src/app/webcommon/services/carguelinea.service.d.ts +19 -0
  363. package/src/app/webcommon/services/dashboard.service.d.ts +27 -0
  364. package/src/app/webcommon/services/ejecucionreporte.service.d.ts +34 -0
  365. package/src/app/webcommon/services/fechaUtils.service.d.ts +30 -0
  366. package/src/app/webcommon/services/fuentegeneral.service.d.ts +24 -0
  367. package/src/app/webcommon/services/homologacion.service.d.ts +17 -0
  368. package/src/app/webcommon/services/plantillas.service.d.ts +26 -0
  369. package/src/app/webcommon/services/reportes.service.d.ts +35 -0
  370. package/src/app/webcommon/webcommon.module.d.ts +6 -0
  371. package/src/environments/environment.d.ts +7 -0
  372. package/src/styles/primeng/sass/overrides/_theme_styles.scss +1 -3
  373. package/.browserslistrc +0 -15
  374. package/.editorconfig +0 -16
  375. package/.vscode/extensions.json +0 -4
  376. package/.vscode/launch.json +0 -20
  377. package/.vscode/tasks.json +0 -42
  378. package/angular.json +0 -143
  379. package/karma.conf.js +0 -44
  380. package/ng-package.json +0 -21
  381. package/src/app/app.component.html +0 -12
  382. package/src/app/app.component.scss +0 -0
  383. package/src/app/app.component.spec.ts +0 -29
  384. package/src/app/app.component.ts +0 -34
  385. package/src/app/app.config.ts +0 -43
  386. package/src/app/app.module.ts +0 -10
  387. package/src/app/app.routes.ts +0 -88
  388. package/src/app/core/componentes/breadcrumb/breadcrumb.component.html +0 -6
  389. package/src/app/core/componentes/breadcrumb/breadcrumb.component.scss +0 -0
  390. package/src/app/core/componentes/breadcrumb/breadcrumb.component.ts +0 -39
  391. package/src/app/core/componentes/carga-breadcrumb/carga-breadcrumb.component.html +0 -1
  392. package/src/app/core/componentes/carga-breadcrumb/carga-breadcrumb.component.scss +0 -0
  393. package/src/app/core/componentes/carga-breadcrumb/carga-breadcrumb.component.ts +0 -31
  394. package/src/app/core/componentes/carga-pantalla-completa/carga-pantalla-completa.component.html +0 -9
  395. package/src/app/core/componentes/carga-pantalla-completa/carga-pantalla-completa.component.scss +0 -28
  396. package/src/app/core/componentes/carga-pantalla-completa/carga-pantalla-completa.component.ts +0 -32
  397. package/src/app/core/componentes/filtro-general/filtro-general.component.html +0 -36
  398. package/src/app/core/componentes/filtro-general/filtro-general.component.scss +0 -3
  399. package/src/app/core/componentes/filtro-general/filtro-general.component.ts +0 -203
  400. package/src/app/core/componentes/footer/footer.component.html +0 -13
  401. package/src/app/core/componentes/footer/footer.component.scss +0 -3
  402. package/src/app/core/componentes/footer/footer.component.ts +0 -20
  403. package/src/app/core/componentes/formulariodinamico/formulariodinamico.component.html +0 -267
  404. package/src/app/core/componentes/formulariodinamico/formulariodinamico.component.scss +0 -21
  405. package/src/app/core/componentes/formulariodinamico/formulariodinamico.component.ts +0 -275
  406. package/src/app/core/componentes/formulariodinamico/objetosformulario/CampoFormulario.ts +0 -118
  407. package/src/app/core/componentes/formulariodinamico/objetosformulario/CampoFormularioCons.ts +0 -76
  408. package/src/app/core/componentes/formulariodinamico/objetosformulario/CampoFormularioNuevo.ts +0 -67
  409. package/src/app/core/componentes/formulariodinamico/objetosformulario/HashDirective.ts +0 -11
  410. package/src/app/core/componentes/inicio-component/inicio-component.component.html +0 -29
  411. package/src/app/core/componentes/inicio-component/inicio-component.component.scss +0 -69
  412. package/src/app/core/componentes/inicio-component/inicio-component.component.ts +0 -70
  413. package/src/app/core/componentes/menu/menu.component.html +0 -13
  414. package/src/app/core/componentes/menu/menu.component.scss +0 -36
  415. package/src/app/core/componentes/menu/menu.component.ts +0 -35
  416. package/src/app/core/componentes/tabla-general/tabla-general.component.html +0 -90
  417. package/src/app/core/componentes/tabla-general/tabla-general.component.scss +0 -0
  418. package/src/app/core/componentes/tabla-general/tabla-general.component.ts +0 -96
  419. package/src/app/core/core.module.ts +0 -22
  420. package/src/app/core/errores/authentication.error.ts +0 -6
  421. package/src/app/core/modelos/error-response.model.ts +0 -9
  422. package/src/app/core/modelos/table-column.model.ts +0 -10
  423. package/src/app/core/modelos/user.model.ts +0 -6
  424. package/src/app/core/plantilla-general/plantilla-general.template.html +0 -139
  425. package/src/app/core/plantilla-general/plantilla-general.template.scss +0 -37
  426. package/src/app/core/plantilla-general/plantilla-general.template.ts +0 -233
  427. package/src/app/core/servicios/auth.service.ts +0 -189
  428. package/src/app/core/servicios/cargar-control-funcionalidad.service.ts +0 -49
  429. package/src/app/core/servicios/data-exporter-table.utils.ts +0 -78
  430. package/src/app/core/servicios/error-interceptor.service.ts +0 -208
  431. package/src/app/core/servicios/guardias/auth.guard.ts +0 -51
  432. package/src/app/core/servicios/guardias/publico.guard.ts +0 -26
  433. package/src/app/core/servicios/interceptores/loading-interceptor.ts +0 -37
  434. package/src/app/core/servicios/interceptores/token-interceptor.service.ts +0 -177
  435. package/src/app/core/servicios/loading.service.ts +0 -48
  436. package/src/app/core/servicios/menu.service.ts +0 -153
  437. package/src/app/core/servicios/spinner-service.ts +0 -18
  438. package/src/app/core/servicios/storage.service.ts +0 -68
  439. package/src/app/core/servicios/template.service.ts +0 -91
  440. package/src/app/core/servicios/toast.service.ts +0 -114
  441. package/src/app/core/servicios/utils.service.ts +0 -367
  442. package/src/app/core/sharedlib.module.ts +0 -11
  443. package/src/app/core/utilidades/color.util.ts +0 -197
  444. package/src/app/layout/app.breadcrumb.component.html +0 -20
  445. package/src/app/layout/app.breadcrumb.component.ts +0 -78
  446. package/src/app/layout/app.footer.component.html +0 -18
  447. package/src/app/layout/app.footer.component.ts +0 -15
  448. package/src/app/layout/app.layout.component.html +0 -20
  449. package/src/app/layout/app.layout.component.ts +0 -201
  450. package/src/app/layout/app.layout.module.ts +0 -9
  451. package/src/app/layout/app.menu.component.html +0 -6
  452. package/src/app/layout/app.menu.component.ts +0 -51
  453. package/src/app/layout/app.menu.service.ts +0 -23
  454. package/src/app/layout/app.menuitem.component.ts +0 -252
  455. package/src/app/layout/app.menuprofile.component.html +0 -35
  456. package/src/app/layout/app.menuprofile.component.ts +0 -60
  457. package/src/app/layout/app.rightmenu.component.html +0 -72
  458. package/src/app/layout/app.rightmenu.component.ts +0 -24
  459. package/src/app/layout/app.sidebar.component.html +0 -40
  460. package/src/app/layout/app.sidebar.component.ts +0 -81
  461. package/src/app/layout/app.topbar.component.html +0 -214
  462. package/src/app/layout/app.topbar.component.ts +0 -336
  463. package/src/app/layout/config/app.config.component.html +0 -125
  464. package/src/app/layout/config/app.config.component.ts +0 -206
  465. package/src/app/layout/config/app.config.module.ts +0 -11
  466. package/src/app/layout/service/app.layout.service.ts +0 -191
  467. package/src/app/publico/pages/login/login.page.html +0 -53
  468. package/src/app/publico/pages/login/login.page.scss +0 -166
  469. package/src/app/publico/pages/login/login.page.ts +0 -128
  470. package/src/app/publico/pages/not-found/not-found.page.html +0 -35
  471. package/src/app/publico/pages/not-found/not-found.page.scss +0 -2
  472. package/src/app/publico/pages/not-found/not-found.page.ts +0 -46
  473. package/src/app/publico/pages/seleccion-rol/seleccion-rol.component.html +0 -58
  474. package/src/app/publico/pages/seleccion-rol/seleccion-rol.component.scss +0 -49
  475. package/src/app/publico/pages/seleccion-rol/seleccion-rol.component.ts +0 -176
  476. package/src/app/publico/pages/timeout/timeout.page.html +0 -24
  477. package/src/app/publico/pages/timeout/timeout.page.scss +0 -2
  478. package/src/app/publico/pages/timeout/timeout.page.ts +0 -18
  479. package/src/app/seguridad/constantes/ConstantesGenerales.ts +0 -30
  480. package/src/app/seguridad/constantes/ReporteEntradaConstantes.ts +0 -18
  481. package/src/app/seguridad/constantes/ReporteFuenteConstantes.ts +0 -13
  482. package/src/app/seguridad/modelos/AplicacionModel.ts +0 -11
  483. package/src/app/seguridad/modelos/ArchivoPortalModel.ts +0 -16
  484. package/src/app/seguridad/modelos/AtributoPuntoModel.ts +0 -9
  485. package/src/app/seguridad/modelos/AtributoSSOportalModel.ts +0 -22
  486. package/src/app/seguridad/modelos/CargueLineaModel.ts +0 -17
  487. package/src/app/seguridad/modelos/ColoresRGB.ts +0 -17
  488. package/src/app/seguridad/modelos/ColumnaFuenteModel.ts +0 -9
  489. package/src/app/seguridad/modelos/ComplementoModel.ts +0 -10
  490. package/src/app/seguridad/modelos/ComponentePaginaModel.ts +0 -22
  491. package/src/app/seguridad/modelos/ConexionModel.ts +0 -15
  492. package/src/app/seguridad/modelos/ControlFuncionModel.ts +0 -10
  493. package/src/app/seguridad/modelos/CorreoModel.ts +0 -45
  494. package/src/app/seguridad/modelos/CorreoWSModel.ts +0 -49
  495. package/src/app/seguridad/modelos/CruceRecursoPuntoModel.ts +0 -14
  496. package/src/app/seguridad/modelos/EmpresaModel.ts +0 -25
  497. package/src/app/seguridad/modelos/EmpresaSeguridadModel.ts +0 -19
  498. package/src/app/seguridad/modelos/EtiquetaModel.ts +0 -4
  499. package/src/app/seguridad/modelos/Etiquetas.ts +0 -14
  500. package/src/app/seguridad/modelos/FuenteCampoAtributoModel.ts +0 -21
  501. package/src/app/seguridad/modelos/FuenteDato.ts +0 -19
  502. package/src/app/seguridad/modelos/FuenteEntradaModel.ts +0 -9
  503. package/src/app/seguridad/modelos/FuenteLineaServicioModel.ts +0 -19
  504. package/src/app/seguridad/modelos/FuenteProcesoGeneralModel.ts +0 -14
  505. package/src/app/seguridad/modelos/FuncionalidadModel.ts +0 -12
  506. package/src/app/seguridad/modelos/GeneralModel.ts +0 -16
  507. package/src/app/seguridad/modelos/GrupoControlFuncionModel.ts +0 -12
  508. package/src/app/seguridad/modelos/GrupoFuenteModel.ts +0 -17
  509. package/src/app/seguridad/modelos/GrupoPermisoModel.ts +0 -16
  510. package/src/app/seguridad/modelos/ListaServicioModel.ts +0 -18
  511. package/src/app/seguridad/modelos/LlaveForaneaModel.ts +0 -6
  512. package/src/app/seguridad/modelos/LoginModel.ts +0 -19
  513. package/src/app/seguridad/modelos/MensajeSistemaModel.ts +0 -10
  514. package/src/app/seguridad/modelos/ModulosModel.ts +0 -17
  515. package/src/app/seguridad/modelos/PaginaPortalModel.ts +0 -23
  516. package/src/app/seguridad/modelos/ParametroComponenteModel.ts +0 -9
  517. package/src/app/seguridad/modelos/ParametrosGeneralModel.ts +0 -16
  518. package/src/app/seguridad/modelos/PermisoFuncionModel.ts +0 -11
  519. package/src/app/seguridad/modelos/PermisocontenidoModel.ts +0 -20
  520. package/src/app/seguridad/modelos/PreguntaSeguridadModel.ts +0 -9
  521. package/src/app/seguridad/modelos/PropiedadModel.ts +0 -12
  522. package/src/app/seguridad/modelos/PublicacionWebModel.ts +0 -29
  523. package/src/app/seguridad/modelos/PuntoProcesoModel.ts +0 -7
  524. package/src/app/seguridad/modelos/RecursoPunto.ts +0 -13
  525. package/src/app/seguridad/modelos/RecursoPuntoModel.ts +0 -13
  526. package/src/app/seguridad/modelos/ReporteBanda.ts +0 -9
  527. package/src/app/seguridad/modelos/ReporteColumna.ts +0 -33
  528. package/src/app/seguridad/modelos/ReporteColumnario.ts +0 -82
  529. package/src/app/seguridad/modelos/ReporteColumnarioMarcador.ts +0 -31
  530. package/src/app/seguridad/modelos/ReporteMarcador.ts +0 -40
  531. package/src/app/seguridad/modelos/ReporteSoporte.ts +0 -10
  532. package/src/app/seguridad/modelos/ReporteTabla.ts +0 -14
  533. package/src/app/seguridad/modelos/RespuestaModel.ts +0 -10
  534. package/src/app/seguridad/modelos/ServidorCorreoModel.ts +0 -31
  535. package/src/app/seguridad/modelos/SistemaMensajeModel.ts +0 -11
  536. package/src/app/seguridad/modelos/SitioPortalModel.ts +0 -29
  537. package/src/app/seguridad/modelos/TablaFromModel.ts +0 -5
  538. package/src/app/seguridad/modelos/TareasModel.ts +0 -54
  539. package/src/app/seguridad/modelos/TextoModel.ts +0 -11
  540. package/src/app/seguridad/modelos/TipoEtiqueta.ts +0 -8
  541. package/src/app/seguridad/modelos/UnionModel.ts +0 -14
  542. package/src/app/seguridad/modelos/UsuariogrupoModel.ts +0 -27
  543. package/src/app/seguridad/modelos/aplicacion-propiedad-model.ts +0 -16
  544. package/src/app/seguridad/modelos/contenidoCorreoModel.ts +0 -13
  545. package/src/app/shared/componentes/input-helper-seleccion-plantilla/input-helper-seleccion-plantilla.component.html +0 -47
  546. package/src/app/shared/componentes/input-helper-seleccion-plantilla/input-helper-seleccion-plantilla.component.scss +0 -8
  547. package/src/app/shared/componentes/input-helper-seleccion-plantilla/input-helper-seleccion-plantilla.component.ts +0 -144
  548. package/src/app/shared/servicios/cargar-archivos.service.ts +0 -51
  549. package/src/app/shared/servicios/cargar-mapas.service.ts +0 -43
  550. package/src/app/shared/servicios/encriptado-basico.service.ts +0 -54
  551. package/src/app/shared/servicios/encriptador-simetrico.service.ts +0 -29
  552. package/src/app/shared/servicios/general.service.ts +0 -124
  553. package/src/app/shared/servicios/parametros-navegacion.service.ts +0 -20
  554. package/src/app/shared/servicios/plantillas.service.ts +0 -22
  555. package/src/app/shared/servicios/tarea.service.ts +0 -71
  556. package/src/app/shared/utilidades/translate-loader.util.ts +0 -44
  557. package/src/app/webcommon/pages/cargue-plantilla/cargue-plantilla-general/cargue-plantilla-general.component.html +0 -175
  558. package/src/app/webcommon/pages/cargue-plantilla/cargue-plantilla-general/cargue-plantilla-general.component.scss +0 -78
  559. package/src/app/webcommon/pages/cargue-plantilla/cargue-plantilla-general/cargue-plantilla-general.component.ts +0 -438
  560. package/src/app/webcommon/pages/ejecucion-reporte/detalle-campo-reporte/detalle-campo-reporte.component.html +0 -87
  561. package/src/app/webcommon/pages/ejecucion-reporte/detalle-campo-reporte/detalle-campo-reporte.component.scss +0 -0
  562. package/src/app/webcommon/pages/ejecucion-reporte/detalle-campo-reporte/detalle-campo-reporte.component.ts +0 -189
  563. package/src/app/webcommon/pages/ejecucion-reporte/detalle-distribucion-reporte/detalle-distribucion-reporte.component.html +0 -117
  564. package/src/app/webcommon/pages/ejecucion-reporte/detalle-distribucion-reporte/detalle-distribucion-reporte.component.scss +0 -0
  565. package/src/app/webcommon/pages/ejecucion-reporte/detalle-distribucion-reporte/detalle-distribucion-reporte.component.ts +0 -87
  566. package/src/app/webcommon/pages/ejecucion-reporte/detalle-ejecucion-reporte/detalle-ejecucion-reporte.page.html +0 -158
  567. package/src/app/webcommon/pages/ejecucion-reporte/detalle-ejecucion-reporte/detalle-ejecucion-reporte.page.scss +0 -6
  568. package/src/app/webcommon/pages/ejecucion-reporte/detalle-ejecucion-reporte/detalle-ejecucion-reporte.page.ts +0 -345
  569. package/src/app/webcommon/pages/ejecucion-reporte/detalle-entrada-reporte/detalle-entrada-reporte.component.html +0 -131
  570. package/src/app/webcommon/pages/ejecucion-reporte/detalle-entrada-reporte/detalle-entrada-reporte.component.scss +0 -0
  571. package/src/app/webcommon/pages/ejecucion-reporte/detalle-entrada-reporte/detalle-entrada-reporte.component.ts +0 -198
  572. package/src/app/webcommon/pages/ejecucion-reporte/detalle-punto-proceso-reporte/detalle-punto-proceso-reporte.component.html +0 -206
  573. package/src/app/webcommon/pages/ejecucion-reporte/detalle-punto-proceso-reporte/detalle-punto-proceso-reporte.component.scss +0 -3
  574. package/src/app/webcommon/pages/ejecucion-reporte/detalle-punto-proceso-reporte/detalle-punto-proceso-reporte.component.ts +0 -330
  575. package/src/app/webcommon/pages/ejecucion-reporte/detalle-tipo-reporte/detalle-tipo-reporte.component.html +0 -2121
  576. package/src/app/webcommon/pages/ejecucion-reporte/detalle-tipo-reporte/detalle-tipo-reporte.component.scss +0 -241
  577. package/src/app/webcommon/pages/ejecucion-reporte/detalle-tipo-reporte/detalle-tipo-reporte.component.ts +0 -1694
  578. package/src/app/webcommon/pages/ejecucion-reporte/listado-ejecucion-reporte/listado-ejecucion-reporte.page.html +0 -33
  579. package/src/app/webcommon/pages/ejecucion-reporte/listado-ejecucion-reporte/listado-ejecucion-reporte.page.scss +0 -0
  580. package/src/app/webcommon/pages/ejecucion-reporte/listado-ejecucion-reporte/listado-ejecucion-reporte.page.ts +0 -96
  581. package/src/app/webcommon/pages/ejecucion-reporte-externo/listado-ejecucion-reporte-externo/listado-ejecucion-reporte-externo.component.html +0 -54
  582. package/src/app/webcommon/pages/ejecucion-reporte-externo/listado-ejecucion-reporte-externo/listado-ejecucion-reporte-externo.component.scss +0 -0
  583. package/src/app/webcommon/pages/ejecucion-reporte-externo/listado-ejecucion-reporte-externo/listado-ejecucion-reporte-externo.component.ts +0 -111
  584. package/src/app/webcommon/pages/fuente/importar-fuente-con/importar-fuente-con.component.html +0 -394
  585. package/src/app/webcommon/pages/fuente/importar-fuente-con/importar-fuente-con.component.scss +0 -10
  586. package/src/app/webcommon/pages/fuente/importar-fuente-con/importar-fuente-con.component.ts +0 -599
  587. package/src/app/webcommon/pages/fuente/importar-fuente-general/importar-fuente-general.component.html +0 -130
  588. package/src/app/webcommon/pages/fuente/importar-fuente-general/importar-fuente-general.component.scss +0 -0
  589. package/src/app/webcommon/pages/fuente/importar-fuente-general/importar-fuente-general.component.ts +0 -172
  590. package/src/app/webcommon/pages/fuente-reporte/fuente-reporte.component.html +0 -403
  591. package/src/app/webcommon/pages/fuente-reporte/fuente-reporte.component.scss +0 -5
  592. package/src/app/webcommon/pages/fuente-reporte/fuente-reporte.component.ts +0 -761
  593. package/src/app/webcommon/pages/fuenteGeneral/fuente-general-servicio/fuente-general-servicio.component.html +0 -145
  594. package/src/app/webcommon/pages/fuenteGeneral/fuente-general-servicio/fuente-general-servicio.component.scss +0 -0
  595. package/src/app/webcommon/pages/fuenteGeneral/fuente-general-servicio/fuente-general-servicio.component.ts +0 -302
  596. package/src/app/webcommon/pages/fuenteGeneral/listado-fuente-general/listado-fuente-general.page.html +0 -19
  597. package/src/app/webcommon/pages/fuenteGeneral/listado-fuente-general/listado-fuente-general.page.scss +0 -0
  598. package/src/app/webcommon/pages/fuenteGeneral/listado-fuente-general/listado-fuente-general.page.ts +0 -89
  599. package/src/app/webcommon/pages/fuenteGeneral/mantenimiento-fuente-general/mantenimiento-fuente-general.page.html +0 -714
  600. package/src/app/webcommon/pages/fuenteGeneral/mantenimiento-fuente-general/mantenimiento-fuente-general.page.scss +0 -0
  601. package/src/app/webcommon/pages/fuenteGeneral/mantenimiento-fuente-general/mantenimiento-fuente-general.page.ts +0 -688
  602. package/src/app/webcommon/pipes/dashboard.pipe.ts +0 -79
  603. package/src/app/webcommon/pipes/fuente.pipe.ts +0 -207
  604. package/src/app/webcommon/pipes/general.pipe.ts +0 -1043
  605. package/src/app/webcommon/pipes/reporte-columnario.pipe.ts +0 -101
  606. package/src/app/webcommon/pipes/reporte-fuente.pipe.ts +0 -306
  607. package/src/app/webcommon/pipes/sara-general.pipe.ts +0 -289
  608. package/src/app/webcommon/popups/popup-campos-fuente-general/popup-campos-fuente-general.component.html +0 -90
  609. package/src/app/webcommon/popups/popup-campos-fuente-general/popup-campos-fuente-general.component.scss +0 -0
  610. package/src/app/webcommon/popups/popup-campos-fuente-general/popup-campos-fuente-general.component.ts +0 -262
  611. package/src/app/webcommon/popups/popup-convertir-plantillas/popup-convertir-plantillas.component.html +0 -50
  612. package/src/app/webcommon/popups/popup-convertir-plantillas/popup-convertir-plantillas.component.scss +0 -0
  613. package/src/app/webcommon/popups/popup-convertir-plantillas/popup-convertir-plantillas.component.ts +0 -135
  614. package/src/app/webcommon/popups/popup-editor-formula/popup-editor-formula.component.html +0 -44
  615. package/src/app/webcommon/popups/popup-editor-formula/popup-editor-formula.component.scss +0 -0
  616. package/src/app/webcommon/popups/popup-editor-formula/popup-editor-formula.component.ts +0 -66
  617. package/src/app/webcommon/popups/popup-punto-proceso/popup-punto-proceso.component.html +0 -41
  618. package/src/app/webcommon/popups/popup-punto-proceso/popup-punto-proceso.component.scss +0 -0
  619. package/src/app/webcommon/popups/popup-punto-proceso/popup-punto-proceso.component.ts +0 -283
  620. package/src/app/webcommon/popups/popup-recurso/popup-recurso.component.html +0 -179
  621. package/src/app/webcommon/popups/popup-recurso/popup-recurso.component.scss +0 -3
  622. package/src/app/webcommon/popups/popup-recurso/popup-recurso.component.ts +0 -266
  623. package/src/app/webcommon/popups/popup-reporte/popup-reporte.component.html +0 -273
  624. package/src/app/webcommon/popups/popup-reporte/popup-reporte.component.scss +0 -13
  625. package/src/app/webcommon/popups/popup-reporte/popup-reporte.component.ts +0 -557
  626. package/src/app/webcommon/popups/popup-sentencia/popup-sentencia.component.html +0 -10
  627. package/src/app/webcommon/popups/popup-sentencia/popup-sentencia.component.scss +0 -5
  628. package/src/app/webcommon/popups/popup-sentencia/popup-sentencia.component.ts +0 -58
  629. package/src/app/webcommon/popups/popup-tablas-fuente/popup-tablas-fuente.component.html +0 -71
  630. package/src/app/webcommon/popups/popup-tablas-fuente/popup-tablas-fuente.component.scss +0 -0
  631. package/src/app/webcommon/popups/popup-tablas-fuente/popup-tablas-fuente.component.ts +0 -154
  632. package/src/app/webcommon/popups/punto-proceso-comp/punto-proceso-comp.component.html +0 -11
  633. package/src/app/webcommon/popups/punto-proceso-comp/punto-proceso-comp.component.scss +0 -0
  634. package/src/app/webcommon/popups/punto-proceso-comp/punto-proceso-comp.component.ts +0 -82
  635. package/src/app/webcommon/services/carguelinea.service.ts +0 -74
  636. package/src/app/webcommon/services/dashboard.service.ts +0 -258
  637. package/src/app/webcommon/services/ejecucionreporte.service.ts +0 -160
  638. package/src/app/webcommon/services/fechaUtils.service.ts +0 -127
  639. package/src/app/webcommon/services/fuentegeneral.service.ts +0 -74
  640. package/src/app/webcommon/services/homologacion.service.ts +0 -49
  641. package/src/app/webcommon/services/plantillas.service.ts +0 -165
  642. package/src/app/webcommon/services/reportes.service.ts +0 -133
  643. package/src/app/webcommon/webcommon.module.ts +0 -11
  644. package/src/environments/environment.prod.ts +0 -3
  645. package/src/environments/environment.ts +0 -25
  646. package/src/favicon.ico +0 -0
  647. package/src/index.html +0 -14
  648. package/src/main.ts +0 -12
  649. package/src/polyfills.ts +0 -53
  650. package/src/test.ts +0 -14
  651. package/tsconfig.app.json +0 -15
  652. package/tsconfig.json +0 -35
  653. package/tsconfig.spec.json +0 -18
@@ -1,78 +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[], nombreHoja?: string) {
32
- const workbook = new Workbook();
33
- const worksheet = workbook.addWorksheet(nombreHoja ? nombreHoja : '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}${EXCEL_EXTENSION}`);
54
- }
55
-
56
- exportCSV(lista: any[], columnas: string[], nombreArchivo: string) {
57
- const listaParaExportar = lista;
58
- const csvContent = this.convertirAFormatoCSV(listaParaExportar, columnas );
59
- this.descargarArchivoCSV(csvContent, nombreArchivo);
60
- }
61
-
62
- convertirAFormatoCSV(data: any[], columns: string[]) {
63
- const csvHeader = columns.join(',') + '\n';
64
- const csvRows = data.map(item => columns.map(col => item[col]).join(',')).join('\n');
65
- return csvHeader + csvRows + '\n';
66
- }
67
-
68
- descargarArchivoCSV(csvContent: any, nombreArchivo: string) {
69
- const blob = new Blob([csvContent], { type: 'text/csv;charset=utf-8;' });
70
- const url = window.URL.createObjectURL(blob);
71
- const link = document.createElement('a');
72
- link.href = url;
73
- link.setAttribute('download', `${nombreArchivo}.csv`);
74
- document.body.appendChild(link);
75
- link.click();
76
- document.body.removeChild(link);
77
- }
78
- }
@@ -1,208 +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
- || error.mensaje?.includes('Conexion no valida')) {
29
- this.storageService.setItem('mensaje_notfound', error.mensaje);
30
- this.storageService.setItem('url_regresar', window.location.href);
31
- window.location.href = window.location.origin + '/' + this.utilsService.obtenerBase() + '/not-found'
32
- //this.route.navigate([this.utilsService.obtenerBase()+'/not-found']);
33
- return;
34
- }
35
- if (error.tipo === 'INF') {
36
- this.showInfo(error.mensaje, error.codigo);
37
- } else if (error.tipo === 'WAR') {
38
- this.showWarning(error.mensaje, error.codigo, error.causa, error.accion, error.traza);
39
- } else if (error.tipo === 'ERR') {
40
- this.showErrorDetails(error.mensaje ? error.mensaje : '', error.codigo, error.traza, error.causa);
41
- }
42
- }
43
-
44
- /**
45
- * Muestra un mensaje de información con el código.
46
- * @param mensaje El mensaje a mostrar.
47
- * @param codigo El código asociado al mensaje.
48
- */
49
- private showInfo(mensaje: string, codigo: string): void {
50
- Swal.fire({
51
- background: '#f7bfbf',
52
- position: 'top-end',
53
- html: '<div style="text-align: left;">' +
54
- '<p style="text-align: left;"><b>Código:</b> ' + codigo + '</p>' +
55
- '<p style="text-align: left; font-size:12px">' + mensaje + '</p>' +
56
- '</div>',
57
- showConfirmButton: false,
58
- timer: 5500,
59
- color: '#ff0000'
60
- }).then((result) => {
61
- if (result.isConfirmed) {
62
- this.utilsService.sleep(500).then(data => {
63
- this.utilsService.resizeWindowIFrame();
64
- })
65
- } else if (result.dismiss === Swal.DismissReason.cancel) {
66
- this.utilsService.sleep(500).then(data => {
67
- this.utilsService.resizeWindowIFrame();
68
- })
69
- } else if (result.dismiss === Swal.DismissReason.close) {
70
- this.utilsService.sleep(500).then(data => {
71
- this.utilsService.resizeWindowIFrame();
72
- })
73
- }
74
- });
75
- this.utilsService.sleep(500).then(data => {
76
- this.utilsService.resizeWindowIFrame();
77
- })
78
- }
79
-
80
- /**
81
- * Muestra una advertencia con detalles adicionales como causa, acción y traza.
82
- * @param mensaje El mensaje a mostrar.
83
- * @param codigo El código asociado al mensaje.
84
- * @param causa La causa del error.
85
- * @param accion La acción recomendada.
86
- * @param traza La traza del error.
87
- */
88
- private showWarning(mensaje: string, codigo: string, causa: string, accion: string, traza: string): void {
89
- let contenidoHtml = `<p class="msjError">${mensaje}</p>`
90
- contenidoHtml = contenidoHtml + (this.utilsService.validarCampoObligatorio(codigo) ? `<p class="cauError"><b>Código:</b> ${codigo}</p>` : ' ');
91
- contenidoHtml = contenidoHtml + (this.utilsService.validarCampoObligatorio(causa) ? `<p class="cauError"><b>Causa:</b> ${causa}</p>` : ' ');
92
- contenidoHtml = contenidoHtml + (this.utilsService.validarCampoObligatorio(accion) ? `<p class="cauError"><b>Acción Recomendada:</b> ${accion}</p>` : ' ');
93
- let contenidoPlusHtml = `<p class="msjError">${mensaje.slice(0, 100)}</p><button id="verMasButton">Ver más</button> <button id="Ok">OK</button>`;
94
-
95
- Swal.fire({
96
- title: '<span style="color: var(--color-700);">' + 'Advertencia' + '</span>',
97
- html: contenidoHtml,
98
- icon: 'warning',
99
- showCancelButton: false,
100
- showCloseButton: true,
101
- showConfirmButton: true,
102
- didOpen: () => {
103
- const OkButton = document.getElementById('Ok');
104
- OkButton.classList.add('swal2-styled', 'swal2-cancel', 'btn-ok');
105
- OkButton.addEventListener('click', () => {
106
- Swal.close();
107
- this.utilsService.sleep(500).then(data => {
108
- this.utilsService.resizeWindowIFrame();
109
- })
110
- });
111
- },
112
- }).then((result) => {
113
- if (result.isConfirmed) {
114
- this.utilsService.sleep(500).then(data => {
115
- this.utilsService.resizeWindowIFrame();
116
- })
117
- } else if (result.dismiss === Swal.DismissReason.cancel) {
118
- this.utilsService.sleep(500).then(data => {
119
- this.utilsService.resizeWindowIFrame();
120
- })
121
- } else if (result.dismiss === Swal.DismissReason.close) {
122
- this.utilsService.sleep(500).then(data => {
123
- this.utilsService.resizeWindowIFrame();
124
- })
125
- }
126
- });
127
-
128
- this.utilsService.sleep(500).then(data => {
129
- this.utilsService.resizeWindowIFrame();
130
- })
131
- }
132
-
133
- /**
134
- * Muestra un mensaje de error con detalles adicionales como el código de error y la traza.
135
- * @param mensaje El mensaje a mostrar.
136
- * @param errorCode El código de error asociado al mensaje.
137
- * @param traza La traza del error.
138
- */
139
- private showErrorDetails(mensaje: string, codigo: string, traza: string, causa? : string): void {
140
- 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">`;
141
- if (causa!= null && causa != undefined) {
142
- 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>`;
143
- }
144
- 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>`;
145
-
146
- Swal.fire({
147
- title: '<span style="color: var(--color-700);">' + 'Error' + '</span>',
148
- html: (mensaje.length + traza.length) > 100 ? contenidoPlusHtml : contenidoHtml,
149
- icon: 'error',
150
- showCancelButton: false,
151
- showCloseButton: true,
152
- showConfirmButton: false,
153
- customClass: 'my-swal',
154
- didOpen: () => {
155
- if ((mensaje.length + traza.length) > 100) {
156
- // Agregar estilos al botón "Ver más"
157
- const verMasButton = document.getElementById('verMasButton');
158
- verMasButton.classList.add('swal2-styled', 'swal2-cancel', 'btn-vermas' );
159
-
160
- const OkButton = document.getElementById('Ok');
161
- OkButton.classList.add('swal2-styled', 'swal2-cancel' , 'btn-ok');
162
-
163
- // Agregar un evento al botón "Ver más" para mostrar todo el contenido cuando se hace clic
164
- verMasButton.addEventListener('click', () => {
165
- Swal.update({
166
- html: contenidoHtml,
167
- showConfirmButton: true,
168
- });
169
- this.utilsService.sleep(500).then(data => {
170
- this.utilsService.resizeWindowIFrame();
171
- })
172
- });
173
-
174
- OkButton.addEventListener('click', () => {
175
- Swal.close();
176
- this.utilsService.sleep(500).then(data => {
177
- this.utilsService.resizeWindowIFrame();
178
- })
179
- });
180
- }
181
- else{
182
- Swal.update({
183
- html: contenidoHtml,
184
- showConfirmButton: true,
185
- });
186
- }
187
- },
188
- }).then((result) => {
189
- if (result.isConfirmed) {
190
- this.utilsService.sleep(500).then(data => {
191
- this.utilsService.resizeWindowIFrame();
192
- })
193
- } else if (result.dismiss === Swal.DismissReason.cancel) {
194
- this.utilsService.sleep(500).then(data => {
195
- this.utilsService.resizeWindowIFrame();
196
- })
197
- } else if (result.dismiss === Swal.DismissReason.close) {
198
- this.utilsService.sleep(500).then(data => {
199
- this.utilsService.resizeWindowIFrame();
200
- })
201
- }
202
- });
203
-
204
- this.utilsService.sleep(500).then(data => {
205
- this.utilsService.resizeWindowIFrame();
206
- })
207
- }
208
- }
@@ -1,51 +0,0 @@
1
- import { Injectable } from '@angular/core';
2
- import { CanLoad, Route, Router, UrlSegment, UrlTree } from '@angular/router';
3
- import { Observable } from 'rxjs';
4
- import { AuthService } from '../../../core/servicios/auth.service';
5
- import { ToastService } from '../../../core/servicios/toast.service';
6
- import { StorageService } from '../storage.service';
7
- import { UtilsService } from '../utils.service';
8
-
9
- @Injectable({
10
- providedIn: 'root',
11
- })
12
- export class AuthGuard implements CanLoad {
13
- constructor(private authService: AuthService, private utilsService: UtilsService, private route: Router, private toastService: ToastService, private storageService: StorageService) {}
14
-
15
- canLoad(route: Route, segments: UrlSegment[]): any {//Observable<boolean | UrlTree> | Promise<boolean | UrlTree> | boolean | UrlTree {
16
- if (!this.authService.isTokenValid()) {
17
- this.authService.deleteToken();
18
- this.toastService.showError('Tu sesión no es válida. Primero debes autenticarte con tu usuario y contraseña.', 'Acceso Denegado');
19
- return this.route.createUrlTree(['/' + this.utilsService.obtenerBase() +'/login']);
20
- }
21
- let aplicacion = this.authService.getTokenKey('aplicacion');
22
- console.log('aplicacion:'+aplicacion)
23
- if (aplicacion.trim() == '10') {
24
- return true;
25
- }
26
- let tareasss = JSON.parse(this.storageService.getItem('__tareas'));
27
- let ruta = '';
28
- let continuar = true;
29
- segments.forEach(data => {
30
- if (continuar){
31
- if (data.path !== 'US_editar'){
32
- ruta = ruta + '/' + data.path
33
- } else {
34
- continuar = false;
35
- }
36
- }
37
- })
38
- let respuesta = false;
39
- console.log(ruta)
40
- tareasss.forEach(element => {
41
- if ( element.urlprincipal.replace(/.jsf/, '') === ruta){
42
- respuesta = true;
43
- }
44
- });
45
-
46
- if (!respuesta){
47
- return this.route.createUrlTree(['/'+this.utilsService.obtenerBase()+'/not-found']);
48
- }
49
- return respuesta;
50
- }
51
- }
@@ -1,26 +0,0 @@
1
- import { Injectable } from '@angular/core';
2
- import { ActivatedRouteSnapshot, CanActivate, Router, RouterStateSnapshot, UrlTree } from '@angular/router';
3
- import { Observable } from 'rxjs';
4
- import { AuthService } from '../../../core/servicios/auth.service';
5
- import { UtilsService } from '../utils.service';
6
-
7
- @Injectable({
8
- providedIn: 'root',
9
- })
10
- export class PublicoGuard implements CanActivate {
11
- constructor(private authService: AuthService, private route: Router, private utilsService: UtilsService) {}
12
-
13
- canActivate(
14
- route: ActivatedRouteSnapshot,
15
- state: RouterStateSnapshot
16
- ): any{//Observable<boolean | UrlTree> | Promise<boolean | UrlTree> | boolean | UrlTree {
17
- if (this.authService.isTokenValid()) {
18
- if (window.location.href.toString().includes('admonPortal')) {
19
- return this.route.createUrlTree(['/' + this.utilsService.obtenerBase()+ '/admonPortal/inicio']);
20
- } else {
21
- return this.route.createUrlTree(['/' + this.utilsService.obtenerBase()+ '/inicio']);
22
- }
23
- }
24
- return true;
25
- }
26
- }
@@ -1,37 +0,0 @@
1
- import { Inject, Injectable } from '@angular/core';
2
- import { HttpInterceptor, HttpRequest, HttpHandler, HttpEvent, HttpErrorResponse } from '@angular/common/http';
3
- import { Observable, throwError, TimeoutError, timer } from 'rxjs';
4
- import { catchError, finalize, timeoutWith } from 'rxjs/operators';
5
- import { SpinnerService } from '../spinner-service';
6
-
7
- @Injectable({
8
- providedIn: 'root',
9
- })
10
-
11
- export class LoadingInterceptor implements HttpInterceptor {
12
-
13
- constructor(private spinnerService: SpinnerService) {}
14
-
15
- intercept(req: HttpRequest<any>, next: HttpHandler): Observable<HttpEvent<any>>{
16
- var spinnerActivated = false;
17
- var timeElapsed: number = 0;
18
- var intervalId: any;
19
- intervalId = setInterval(() => {
20
- timeElapsed++;
21
- if (timeElapsed > 5 && !spinnerActivated) {
22
- spinnerActivated = true;
23
- this.spinnerService.show();
24
- }
25
- }, 1000);
26
-
27
- return next.handle(req).pipe(
28
- finalize(() => {
29
- this.spinnerService.hide();
30
- if (intervalId) {
31
- clearInterval(intervalId);
32
- }
33
- })
34
- );
35
- }
36
-
37
- }
@@ -1,177 +0,0 @@
1
- import { Injectable } from '@angular/core';
2
- import { Router } from '@angular/router';
3
- import { HttpRequest, HttpHandler, HttpEvent, HttpInterceptor, HttpErrorResponse } from '@angular/common/http';
4
- import { catchError, EMPTY, from, Observable, throwError, timeout, TimeoutError } from 'rxjs';
5
- import { AuthService } from '../auth.service';
6
- import { StorageService } from '../../servicios/storage.service';
7
- import { UtilsService } from '../utils.service';
8
- import { ToastService } from '../toast.service';
9
- import { ErrorIntecertorService } from '../error-interceptor.service';
10
-
11
-
12
- @Injectable({
13
- providedIn: 'root',
14
- })
15
- export class TokenInterceptorService implements HttpInterceptor {
16
- constructor(private router: Router,
17
- private authService: AuthService,
18
- private storage: StorageService,
19
- private errorInterceptor: ErrorIntecertorService,
20
- private storageService: StorageService,
21
- private utilsService: UtilsService) {}
22
-
23
- intercept(request: HttpRequest<any>, next: HttpHandler): Observable<HttpEvent<any>>{
24
- return from(this.interceptDetalle(request, next)).pipe(
25
- catchError((error: any) => {
26
- if (error instanceof TimeoutError) {
27
- this.errorInterceptor.showError(JSON.stringify({tipo: 'ERR', traza: '.', mensaje: 'El servicio no está disponible. Por favor, inténtelo más tarde.'}).toString());
28
- } else if (error instanceof HttpErrorResponse) {
29
- if (error.error instanceof ErrorEvent) {
30
- // A client-side or network error occurred
31
- if (error.error.message.includes('ERR_CONNECTION_REFUSED')) {
32
- this.errorInterceptor.showError(JSON.stringify({tipo: 'ERR', traza: '.', mensaje: 'El servicio no está disponible. Por favor, inténtelo más tarde.'}).toString());
33
- } else {
34
- this.errorInterceptor.showError(JSON.stringify({tipo: 'ERR', traza: '.', mensaje: 'Se produjo un error de red. Por favor, inténtelo más tarde.'}).toString());
35
- }
36
- } else {
37
- if (error.status == 0) {
38
- this.errorInterceptor.showError(JSON.stringify({tipo: 'ERR', traza: '.', mensaje: 'Se produjo un error de red. Por favor, inténtelo más tarde.'}).toString());
39
- } else {
40
- console.error(`Error HTTP: ${error.status} - ${error.message}`);
41
- }
42
- }
43
- }
44
- return throwError(error);
45
- })
46
- );
47
- }
48
-
49
- async interceptDetalle(request: HttpRequest<any>, next: HttpHandler): Promise<HttpEvent<any>> {
50
- if (request.url.includes('/requieretoken') && !request.url.includes('/portalPublico')) {
51
- let token = this.authService.getToken();
52
- if (token){
53
- let fechaActual = new Date();
54
- let fechaExpTokenIni = new Date(this.storage.getDecodedJWT().exp * 1000)
55
- let fechaExpTokenFin = new Date(this.storage.getDecodedJWT().exp * 1000)
56
- fechaExpTokenIni.setMinutes(fechaExpTokenIni.getMinutes() - 10);
57
- if (fechaActual >= fechaExpTokenIni && fechaActual<=fechaExpTokenFin){
58
- var tokenPublico = await this.authService.generarTokenPublico().toPromise()
59
- var tokenRefrescar = await this.authService.refrescarToken({token: token }, (tokenPublico as any)?.token as string).toPromise();
60
- token = (tokenRefrescar as any)?.token as string;
61
- this.authService.deleteToken()
62
- this.storage.setItem('token', token);
63
- }
64
- }
65
- }
66
- return await this.setearTokenRequest(request, next).toPromise();
67
- }
68
-
69
- setearTokenRequest(request: HttpRequest<any>, next: HttpHandler): Observable<HttpEvent<any>>{
70
- var basePortal: string = this.utilsService.obtenerBase();
71
- let token = this.authService.getToken();
72
- if (request.url.includes('/requieretoken') && !request.url.includes('/portalPublico')) {
73
- request = request.clone({
74
- headers: request.headers.set('Authorization', `Bearer ${token}`),
75
- });
76
- }
77
-
78
- request = request.clone({
79
- headers: request.headers.set('Base', basePortal),
80
- });
81
-
82
- return next.handle(request).pipe(
83
- catchError((error) => {
84
- if (error.status === 401) {
85
- this.authService.deleteToken();
86
- this.storageService.removeItem('roles')
87
- this.storageService.removeItem('autenticacionUsuarioDTO')
88
- this.storageService.removeItem('rol_seleccionado')
89
- this.storageService.removeItem('token')
90
- this.storageService.removeItem('__tareas')
91
- this.storageService.removeItem('modulos')
92
- this.storageService.removeItem('moduloSeleccionado')
93
- if (this.authService.getTokenKey('aplicacion') == '10') {
94
- var idDBSeguridad;
95
- var idSitio;
96
- for (const match of this.urlNavegador.matchAll(/(?<inicio>.*)\/(?<seguridad>.*)\/(?<sitio>.*)\/(?<pagina>.*)/g)) {
97
- idDBSeguridad = match.groups?.['seguridad'];
98
- idSitio = match.groups?.['sitio'];
99
- }
100
- const dataToken = this.obtenerTokenSyncrono(request.url);
101
- const sessionSitio = this.portaltraerSitioSincrono(request.url, idDBSeguridad, idSitio, dataToken.token);
102
- const urlLocal2 = `${idDBSeguridad}/${sessionSitio.codigo}/${sessionSitio.codigoPaginaInicio}`;
103
- this.navegar(urlLocal2);
104
- } else {
105
- this.router.navigateByUrl(this.utilsService.obtenerBase() + '/login');
106
- }
107
- return EMPTY;
108
- }
109
- if (error instanceof TimeoutError) {
110
- this.errorInterceptor.showError(JSON.stringify({tipo: 'ERR', traza: '.', mensaje: 'El servicio no está disponible. Por favor, inténtelo más tarde.'}).toString());
111
- } else if (error instanceof HttpErrorResponse) {
112
- if (error.error instanceof ErrorEvent) {
113
- // A client-side or network error occurred
114
- if (error.error.message.includes('ERR_CONNECTION_REFUSED')) {
115
- this.errorInterceptor.showError(JSON.stringify({tipo: 'ERR', traza: '.', mensaje: 'El servicio no está disponible. Por favor, inténtelo más tarde.'}).toString());
116
- } else {
117
- this.errorInterceptor.showError(JSON.stringify({tipo: 'ERR', traza: '.', mensaje: 'Se produjo un error de red. Por favor, inténtelo más tarde.'}).toString());
118
- }
119
- } else {
120
- if (error.status == 0) {
121
- this.errorInterceptor.showError(JSON.stringify({tipo: 'ERR', traza: '.', mensaje: 'Se produjo un error de red. Por favor, inténtelo más tarde.'}).toString());
122
- } else {
123
- console.error(`Error HTTP: ${error.status} - ${error.message}`);
124
- }
125
- }
126
- }
127
- return throwError(() => error);
128
- })
129
- );
130
- }
131
-
132
- portaltraerSitioSincrono(url: string, idDBSeguridad: any, idSitio: any, token: string): any {
133
- const xhr = new XMLHttpRequest();
134
- let result;
135
-
136
- xhr.open('POST', url+'/portal/traerSitio', false);
137
- xhr.setRequestHeader('Content-Type', 'application/json');
138
- xhr.setRequestHeader('Authorization', `Bearer ${token}`);
139
- xhr.setRequestHeader('Base', this.utilsService.obtenerBase());
140
- xhr.onreadystatechange = () => {
141
- result = JSON.parse(xhr.responseText);
142
- result.status = xhr.status;
143
- };
144
- xhr.send(`{"conexion": "${idDBSeguridad}", "sitio": "${idSitio}", "url": "${window.parent.location.origin}"}`);
145
-
146
- return result;
147
- }
148
-
149
- obtenerTokenSyncrono(url): any {
150
- const xhr = new XMLHttpRequest();
151
- let result;
152
-
153
- xhr.open('GET', url+'/authentication/generarTokenPublico', false);
154
- xhr.setRequestHeader('Content-Type', 'application/json');
155
- xhr.setRequestHeader('Base', this.utilsService.obtenerBase());
156
- xhr.onreadystatechange = () => {
157
- // if (xhr.readyState === XMLHttpRequest.DONE && xhr.status === 200) {
158
- // result = JSON.parse(xhr.responseText);
159
- // }
160
- result = JSON.parse(xhr.responseText);
161
- result.status = xhr.status;
162
- };
163
- xhr.send();
164
-
165
- return result;
166
- }
167
-
168
- private navegar(url: any) {
169
- window.location.href = window.location.origin + '/' + url;
170
- }
171
-
172
- get urlNavegador(): string {
173
- const urlPathname = window.location.pathname;
174
- return urlPathname;
175
- }
176
-
177
- }
@@ -1,48 +0,0 @@
1
- import { Injectable } from '@angular/core';
2
- import { BehaviorSubject } from 'rxjs';
3
-
4
- @Injectable({
5
- providedIn: 'root'
6
- })
7
- export class LoadingService {
8
-
9
- private _loadingFullScreen: BehaviorSubject<boolean> = new BehaviorSubject<boolean>(false);
10
- private _loadingFullScreenObservable$ = this._loadingFullScreen.asObservable();
11
-
12
- private _loadingBreadCrumb: BehaviorSubject<boolean> = new BehaviorSubject<boolean>(false);
13
- private _loadingBreadCrumbObservable$ = this._loadingBreadCrumb.asObservable();
14
-
15
- constructor() { }
16
-
17
- /**
18
- * Observable del loading full screen
19
- */
20
- get loadingFullScreen() {
21
- return this._loadingFullScreenObservable$;
22
- }
23
-
24
- /**
25
- * Observable del loading en el breadcrumb
26
- */
27
-
28
- get loadingBreadCrumb() {
29
- return this._loadingBreadCrumbObservable$;
30
- }
31
-
32
- public startFullScreenLoading(): void{
33
- this._loadingFullScreen.next(true);
34
- }
35
-
36
- public endFullScreenLoading(): void {
37
- this._loadingFullScreen.next(false);
38
- }
39
-
40
- public startBreadCrumLoading(): void {
41
- this._loadingBreadCrumb.next(true);
42
- }
43
-
44
- public endBreadCrumLoading(): void {
45
- this._loadingBreadCrumb.next(false);
46
- }
47
-
48
- }