general-library-union 3.3.39 → 3.3.41

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 (659) hide show
  1. package/.browserslistrc +15 -0
  2. package/.editorconfig +16 -0
  3. package/.vscode/extensions.json +4 -0
  4. package/.vscode/launch.json +20 -0
  5. package/.vscode/tasks.json +42 -0
  6. package/angular.json +143 -0
  7. package/karma.conf.js +44 -0
  8. package/ng-package.json +21 -0
  9. package/package.json +73 -62
  10. package/{public-api.d.ts → public-api.ts} +206 -164
  11. package/src/app/app.component.html +12 -0
  12. package/src/app/app.component.scss +0 -0
  13. package/src/app/app.component.spec.ts +29 -0
  14. package/src/app/app.component.ts +34 -0
  15. package/src/app/app.config.ts +43 -0
  16. package/src/app/app.module.ts +10 -0
  17. package/src/app/app.routes.ts +88 -0
  18. package/src/app/core/componentes/breadcrumb/breadcrumb.component.html +6 -0
  19. package/src/app/core/componentes/breadcrumb/breadcrumb.component.scss +0 -0
  20. package/src/app/core/componentes/breadcrumb/breadcrumb.component.ts +39 -0
  21. package/src/app/core/componentes/carga-breadcrumb/carga-breadcrumb.component.html +1 -0
  22. package/src/app/core/componentes/carga-breadcrumb/carga-breadcrumb.component.scss +0 -0
  23. package/src/app/core/componentes/carga-breadcrumb/carga-breadcrumb.component.ts +31 -0
  24. package/src/app/core/componentes/carga-pantalla-completa/carga-pantalla-completa.component.html +9 -0
  25. package/src/app/core/componentes/carga-pantalla-completa/carga-pantalla-completa.component.scss +28 -0
  26. package/src/app/core/componentes/carga-pantalla-completa/carga-pantalla-completa.component.ts +32 -0
  27. package/src/app/core/componentes/filtro-general/filtro-general.component.html +36 -0
  28. package/src/app/core/componentes/filtro-general/filtro-general.component.scss +3 -0
  29. package/src/app/core/componentes/filtro-general/filtro-general.component.ts +218 -0
  30. package/src/app/core/componentes/footer/footer.component.html +13 -0
  31. package/src/app/core/componentes/footer/footer.component.scss +3 -0
  32. package/src/app/core/componentes/footer/footer.component.ts +20 -0
  33. package/src/app/core/componentes/formulariodinamico/formulariodinamico.component.html +267 -0
  34. package/src/app/core/componentes/formulariodinamico/formulariodinamico.component.scss +21 -0
  35. package/src/app/core/componentes/formulariodinamico/formulariodinamico.component.ts +278 -0
  36. package/src/app/core/componentes/formulariodinamico/objetosformulario/{Cambio.d.ts → Cambio.ts} +13 -7
  37. package/src/app/core/componentes/formulariodinamico/objetosformulario/CampoFormulario.ts +118 -0
  38. package/src/app/core/componentes/formulariodinamico/objetosformulario/CampoFormularioCons.ts +76 -0
  39. package/src/app/core/componentes/formulariodinamico/objetosformulario/CampoFormularioNuevo.ts +67 -0
  40. package/src/app/core/componentes/formulariodinamico/objetosformulario/HashDirective.ts +11 -0
  41. package/src/app/core/componentes/inicio-component/inicio-component.component.html +29 -0
  42. package/src/app/core/componentes/inicio-component/inicio-component.component.scss +63 -0
  43. package/src/app/core/componentes/inicio-component/inicio-component.component.ts +68 -0
  44. package/src/app/core/componentes/menu/menu.component.html +13 -0
  45. package/src/app/core/componentes/menu/menu.component.scss +36 -0
  46. package/src/app/core/componentes/menu/menu.component.ts +35 -0
  47. package/src/app/core/componentes/tabla-general/tabla-general.component.html +90 -0
  48. package/src/app/core/componentes/tabla-general/tabla-general.component.scss +0 -0
  49. package/src/app/core/componentes/tabla-general/tabla-general.component.ts +96 -0
  50. package/src/app/core/core.module.ts +22 -0
  51. package/src/app/core/errores/authentication.error.ts +6 -0
  52. package/src/app/core/modelos/error-response.model.ts +9 -0
  53. package/src/app/core/modelos/table-column.model.ts +10 -0
  54. package/src/app/core/modelos/user.model.ts +6 -0
  55. package/src/app/core/plantilla-general/plantilla-general.template.html +139 -0
  56. package/src/app/core/plantilla-general/plantilla-general.template.scss +37 -0
  57. package/src/app/core/plantilla-general/plantilla-general.template.ts +233 -0
  58. package/src/app/core/servicios/auth.service.ts +189 -0
  59. package/src/app/core/servicios/cargar-control-funcionalidad.service.ts +48 -0
  60. package/src/app/core/servicios/click-posicion.service.ts +16 -0
  61. package/src/app/core/servicios/data-exporter-table.utils.ts +78 -0
  62. package/src/app/core/servicios/error-interceptor.service.ts +208 -0
  63. package/src/app/core/servicios/guardias/auth.guard.ts +51 -0
  64. package/src/app/core/servicios/guardias/publico.guard.ts +26 -0
  65. package/src/app/core/servicios/interceptores/loading-interceptor.ts +37 -0
  66. package/src/app/core/servicios/interceptores/token-interceptor.service.ts +177 -0
  67. package/src/app/core/servicios/loading.service.ts +48 -0
  68. package/src/app/core/servicios/menu.service.ts +153 -0
  69. package/src/app/core/servicios/spinner-service.ts +18 -0
  70. package/src/app/core/servicios/storage.service.ts +68 -0
  71. package/src/app/core/servicios/template.service.ts +91 -0
  72. package/src/app/core/servicios/toast.service.ts +114 -0
  73. package/src/app/core/servicios/utils.service.ts +398 -0
  74. package/src/app/core/sharedlib.module.ts +11 -0
  75. package/src/app/core/utilidades/color.util.ts +197 -0
  76. package/src/app/layout/api/{menuchangeevent.d.ts → menuchangeevent.ts} +4 -4
  77. package/src/app/layout/app.breadcrumb.component.html +20 -0
  78. package/src/app/layout/app.breadcrumb.component.ts +78 -0
  79. package/src/app/layout/app.footer.component.html +18 -0
  80. package/src/app/layout/app.footer.component.ts +15 -0
  81. package/src/app/layout/app.layout.component.html +20 -0
  82. package/src/app/layout/app.layout.component.ts +201 -0
  83. package/src/app/layout/app.layout.module.ts +9 -0
  84. package/src/app/layout/app.menu.component.html +6 -0
  85. package/src/app/layout/app.menu.component.ts +51 -0
  86. package/src/app/layout/app.menu.service.ts +23 -0
  87. package/src/app/layout/app.menuitem.component.ts +252 -0
  88. package/src/app/layout/app.menuprofile.component.html +35 -0
  89. package/src/app/layout/app.menuprofile.component.ts +60 -0
  90. package/src/app/layout/app.rightmenu.component.html +72 -0
  91. package/src/app/layout/app.rightmenu.component.ts +24 -0
  92. package/src/app/layout/app.sidebar.component.html +40 -0
  93. package/src/app/layout/app.sidebar.component.ts +81 -0
  94. package/src/app/layout/app.topbar.component.html +194 -0
  95. package/src/app/layout/app.topbar.component.ts +378 -0
  96. package/src/app/layout/config/app.config.component.html +125 -0
  97. package/src/app/layout/config/app.config.component.ts +206 -0
  98. package/src/app/layout/config/app.config.module.ts +11 -0
  99. package/src/app/layout/service/app.layout.service.ts +191 -0
  100. package/src/app/publico/pages/login/login.page.html +53 -0
  101. package/src/app/publico/pages/login/login.page.scss +210 -0
  102. package/src/app/publico/pages/login/login.page.ts +130 -0
  103. package/src/app/publico/pages/not-found/not-found.page.html +36 -0
  104. package/src/app/publico/pages/not-found/not-found.page.scss +2 -0
  105. package/src/app/publico/pages/not-found/not-found.page.ts +46 -0
  106. package/src/app/publico/pages/seleccion-rol/seleccion-rol.component.html +58 -0
  107. package/src/app/publico/pages/seleccion-rol/seleccion-rol.component.scss +46 -0
  108. package/src/app/publico/pages/seleccion-rol/seleccion-rol.component.ts +176 -0
  109. package/src/app/publico/pages/timeout/timeout.page.html +24 -0
  110. package/src/app/publico/pages/timeout/timeout.page.scss +2 -0
  111. package/src/app/publico/pages/timeout/timeout.page.ts +18 -0
  112. package/src/app/seguridad/constantes/ConstantesGenerales.ts +30 -0
  113. package/src/app/seguridad/constantes/ReporteEntradaConstantes.ts +18 -0
  114. package/src/app/seguridad/constantes/ReporteFuenteConstantes.ts +13 -0
  115. package/src/app/seguridad/modelos/AplicacionModel.ts +11 -0
  116. package/src/app/seguridad/modelos/ArchivoPortalModel.ts +16 -0
  117. package/src/app/seguridad/modelos/AtributoPuntoModel.ts +9 -0
  118. package/src/app/seguridad/modelos/AtributoSSOportalModel.ts +22 -0
  119. package/src/app/seguridad/modelos/{AuditoriaArchivoModel.d.ts → AuditoriaArchivoModel.ts} +13 -10
  120. package/src/app/seguridad/modelos/CargueLineaModel.ts +17 -0
  121. package/src/app/seguridad/modelos/ColoresRGB.ts +17 -0
  122. package/src/app/seguridad/modelos/ColumnaFuenteModel.ts +9 -0
  123. package/src/app/seguridad/modelos/{ColumnaWraperModel.d.ts → ColumnaWraperModel.ts} +7 -6
  124. package/src/app/seguridad/modelos/ComplementoModel.ts +10 -0
  125. package/src/app/seguridad/modelos/ComponentePaginaModel.ts +22 -0
  126. package/src/app/seguridad/modelos/ConexionModel.ts +15 -0
  127. package/src/app/seguridad/modelos/{ContenidoHtmlPortalModel.d.ts → ContenidoHtmlPortalModel.ts} +25 -20
  128. package/src/app/seguridad/modelos/ControlFuncionModel.ts +10 -0
  129. package/src/app/seguridad/modelos/CorreoModel.ts +45 -0
  130. package/src/app/seguridad/modelos/{CorreoOrgEmpModModel.d.ts → CorreoOrgEmpModModel.ts} +11 -8
  131. package/src/app/seguridad/modelos/CorreoWSModel.ts +49 -0
  132. package/src/app/seguridad/modelos/CruceRecursoPuntoModel.ts +14 -0
  133. package/src/app/seguridad/modelos/{DatoInicioModel.d.ts → DatoInicioModel.ts} +7 -6
  134. package/src/app/seguridad/modelos/{EjecucionReporteDataModel.d.ts → EjecucionReporteDataModel.ts} +21 -20
  135. package/src/app/seguridad/modelos/EmpresaModel.ts +25 -0
  136. package/src/app/seguridad/modelos/EmpresaSeguridadModel.ts +19 -0
  137. package/src/app/seguridad/modelos/{EntradaComplementoModel.d.ts → EntradaComplementoModel.ts} +9 -6
  138. package/src/app/seguridad/modelos/EtiquetaModel.ts +4 -0
  139. package/src/app/seguridad/modelos/Etiquetas.ts +14 -0
  140. package/src/app/seguridad/modelos/{ForeingWraperModel.d.ts → ForeingWraperModel.ts} +9 -6
  141. package/src/app/seguridad/modelos/FuenteCampoAtributoModel.ts +21 -0
  142. package/src/app/seguridad/modelos/{FuenteCampoModel.d.ts → FuenteCampoModel.ts} +20 -16
  143. package/src/app/seguridad/modelos/FuenteDato.ts +19 -0
  144. package/src/app/seguridad/modelos/FuenteEntradaModel.ts +9 -0
  145. package/src/app/seguridad/modelos/{FuenteGeneralModel.d.ts → FuenteGeneralModel.ts} +55 -36
  146. package/src/app/seguridad/modelos/FuenteLineaServicioModel.ts +19 -0
  147. package/src/app/seguridad/modelos/FuenteProcesoGeneralModel.ts +14 -0
  148. package/src/app/seguridad/modelos/{FuenteServicioModel.d.ts → FuenteServicioModel.ts} +61 -47
  149. package/src/app/seguridad/modelos/FuncionalidadModel.ts +12 -0
  150. package/src/app/seguridad/modelos/GeneralModel.ts +16 -0
  151. package/src/app/seguridad/modelos/{GrupoAccesoModel.d.ts → GrupoAccesoModel.ts} +9 -6
  152. package/src/app/seguridad/modelos/GrupoControlFuncionModel.ts +12 -0
  153. package/src/app/seguridad/modelos/GrupoFuenteModel.ts +17 -0
  154. package/src/app/seguridad/modelos/GrupoPermisoModel.ts +16 -0
  155. package/src/app/seguridad/modelos/{JoinFromModel.d.ts → JoinFromModel.ts} +4 -4
  156. package/src/app/seguridad/modelos/ListaServicioModel.ts +18 -0
  157. package/src/app/seguridad/modelos/LlaveForaneaModel.ts +6 -0
  158. package/src/app/seguridad/modelos/LoginModel.ts +19 -0
  159. package/src/app/seguridad/modelos/MensajeSistemaModel.ts +10 -0
  160. package/src/app/seguridad/modelos/{MenuPortalModel.d.ts → MenuPortalModel.ts} +5 -4
  161. package/src/app/seguridad/modelos/ModulosModel.ts +17 -0
  162. package/src/app/seguridad/modelos/{ObjetoReporteModel.d.ts → ObjetoReporteModel.ts} +6 -5
  163. package/src/app/seguridad/modelos/PaginaPortalModel.ts +23 -0
  164. package/src/app/seguridad/modelos/ParametroComponenteModel.ts +9 -0
  165. package/src/app/seguridad/modelos/ParametrosGeneralModel.ts +16 -0
  166. package/src/app/seguridad/modelos/PermisoFuncionModel.ts +11 -0
  167. package/src/app/seguridad/modelos/PermisocontenidoModel.ts +20 -0
  168. package/src/app/seguridad/modelos/{PeticionModel.d.ts → PeticionModel.ts} +20 -15
  169. package/src/app/seguridad/modelos/PreguntaSeguridadModel.ts +9 -0
  170. package/src/app/seguridad/modelos/PropiedadModel.ts +12 -0
  171. package/src/app/seguridad/modelos/PublicacionWebModel.ts +29 -0
  172. package/src/app/seguridad/modelos/PuntoProcesoModel.ts +7 -0
  173. package/src/app/seguridad/modelos/RecursoPunto.ts +13 -0
  174. package/src/app/seguridad/modelos/RecursoPuntoModel.ts +13 -0
  175. package/src/app/seguridad/modelos/ReporteBanda.ts +9 -0
  176. package/src/app/seguridad/modelos/ReporteColumna.ts +33 -0
  177. package/src/app/seguridad/modelos/ReporteColumnario.ts +82 -0
  178. package/src/app/seguridad/modelos/ReporteColumnarioMarcador.ts +31 -0
  179. package/src/app/seguridad/modelos/{ReporteEntradaModel.d.ts → ReporteEntradaModel.ts} +21 -19
  180. package/src/app/seguridad/modelos/{ReporteFuenteModel.d.ts → ReporteFuenteModel.ts} +141 -87
  181. package/src/app/seguridad/modelos/ReporteMarcador.ts +40 -0
  182. package/src/app/seguridad/modelos/ReporteSoporte.ts +10 -0
  183. package/src/app/seguridad/modelos/ReporteTabla.ts +14 -0
  184. package/src/app/seguridad/modelos/RespuestaModel.ts +9 -0
  185. package/src/app/seguridad/modelos/{RolModel.d.ts → RolModel.ts} +41 -37
  186. package/src/app/seguridad/modelos/ServidorCorreoModel.ts +31 -0
  187. package/src/app/seguridad/modelos/SistemaMensajeModel.ts +11 -0
  188. package/src/app/seguridad/modelos/SitioPortalModel.ts +29 -0
  189. package/src/app/seguridad/modelos/TablaFromModel.ts +5 -0
  190. package/src/app/seguridad/modelos/TareasModel.ts +54 -0
  191. package/src/app/seguridad/modelos/TextoModel.ts +11 -0
  192. package/src/app/seguridad/modelos/TipoEtiqueta.ts +8 -0
  193. package/src/app/seguridad/modelos/UnionModel.ts +14 -0
  194. package/src/app/seguridad/modelos/{UsuarioModel.d.ts → UsuarioModel.ts} +60 -49
  195. package/src/app/seguridad/modelos/UsuariogrupoModel.ts +27 -0
  196. package/src/app/seguridad/modelos/aplicacion-propiedad-model.ts +16 -0
  197. package/src/app/seguridad/modelos/contenidoCorreoModel.ts +13 -0
  198. package/src/app/shared/componentes/input-helper-seleccion-plantilla/input-helper-seleccion-plantilla.component.html +47 -0
  199. package/src/app/shared/componentes/input-helper-seleccion-plantilla/input-helper-seleccion-plantilla.component.scss +8 -0
  200. package/src/app/shared/componentes/input-helper-seleccion-plantilla/input-helper-seleccion-plantilla.component.ts +144 -0
  201. package/src/app/shared/servicios/cargar-archivos.service.ts +51 -0
  202. package/src/app/shared/servicios/cargar-mapas.service.ts +43 -0
  203. package/src/app/shared/servicios/encriptado-basico.service.ts +54 -0
  204. package/src/app/shared/servicios/encriptador-simetrico.service.ts +29 -0
  205. package/src/app/shared/servicios/general.service.ts +124 -0
  206. package/src/app/shared/servicios/parametros-navegacion.service.ts +20 -0
  207. package/src/app/shared/servicios/plantillas.service.ts +22 -0
  208. package/src/app/shared/servicios/tarea.service.ts +71 -0
  209. package/src/app/shared/utilidades/translate-loader.util.ts +44 -0
  210. package/src/app/webcommon/pages/cargue-plantilla/cargue-plantilla-general/cargue-plantilla-general.component.html +175 -0
  211. package/src/app/webcommon/pages/cargue-plantilla/cargue-plantilla-general/cargue-plantilla-general.component.scss +78 -0
  212. package/src/app/webcommon/pages/cargue-plantilla/cargue-plantilla-general/cargue-plantilla-general.component.ts +438 -0
  213. package/src/app/webcommon/pages/ejecucion-reporte/detalle-campo-reporte/detalle-campo-reporte.component.html +87 -0
  214. package/src/app/webcommon/pages/ejecucion-reporte/detalle-campo-reporte/detalle-campo-reporte.component.scss +0 -0
  215. package/src/app/webcommon/pages/ejecucion-reporte/detalle-campo-reporte/detalle-campo-reporte.component.ts +189 -0
  216. package/src/app/webcommon/pages/ejecucion-reporte/detalle-distribucion-reporte/detalle-distribucion-reporte.component.html +117 -0
  217. package/src/app/webcommon/pages/ejecucion-reporte/detalle-distribucion-reporte/detalle-distribucion-reporte.component.scss +0 -0
  218. package/src/app/webcommon/pages/ejecucion-reporte/detalle-distribucion-reporte/detalle-distribucion-reporte.component.ts +87 -0
  219. package/src/app/webcommon/pages/ejecucion-reporte/detalle-ejecucion-reporte/detalle-ejecucion-reporte.page.html +158 -0
  220. package/src/app/webcommon/pages/ejecucion-reporte/detalle-ejecucion-reporte/detalle-ejecucion-reporte.page.scss +6 -0
  221. package/src/app/webcommon/pages/ejecucion-reporte/detalle-ejecucion-reporte/detalle-ejecucion-reporte.page.ts +345 -0
  222. package/src/app/webcommon/pages/ejecucion-reporte/detalle-entrada-reporte/detalle-entrada-reporte.component.html +131 -0
  223. package/src/app/webcommon/pages/ejecucion-reporte/detalle-entrada-reporte/detalle-entrada-reporte.component.scss +0 -0
  224. package/src/app/webcommon/pages/ejecucion-reporte/detalle-entrada-reporte/detalle-entrada-reporte.component.ts +198 -0
  225. package/src/app/webcommon/pages/ejecucion-reporte/detalle-punto-proceso-reporte/detalle-punto-proceso-reporte.component.html +206 -0
  226. package/src/app/webcommon/pages/ejecucion-reporte/detalle-punto-proceso-reporte/detalle-punto-proceso-reporte.component.scss +3 -0
  227. package/src/app/webcommon/pages/ejecucion-reporte/detalle-punto-proceso-reporte/detalle-punto-proceso-reporte.component.ts +328 -0
  228. package/src/app/webcommon/pages/ejecucion-reporte/detalle-tipo-reporte/detalle-tipo-reporte.component.html +2121 -0
  229. package/src/app/webcommon/pages/ejecucion-reporte/detalle-tipo-reporte/detalle-tipo-reporte.component.scss +241 -0
  230. package/src/app/webcommon/pages/ejecucion-reporte/detalle-tipo-reporte/detalle-tipo-reporte.component.ts +1698 -0
  231. package/src/app/webcommon/pages/ejecucion-reporte/listado-ejecucion-reporte/listado-ejecucion-reporte.page.html +33 -0
  232. package/src/app/webcommon/pages/ejecucion-reporte/listado-ejecucion-reporte/listado-ejecucion-reporte.page.scss +0 -0
  233. package/src/app/webcommon/pages/ejecucion-reporte/listado-ejecucion-reporte/listado-ejecucion-reporte.page.ts +96 -0
  234. package/src/app/webcommon/pages/ejecucion-reporte-externo/listado-ejecucion-reporte-externo/listado-ejecucion-reporte-externo.component.html +56 -0
  235. package/src/app/webcommon/pages/ejecucion-reporte-externo/listado-ejecucion-reporte-externo/listado-ejecucion-reporte-externo.component.scss +0 -0
  236. package/src/app/webcommon/pages/ejecucion-reporte-externo/listado-ejecucion-reporte-externo/listado-ejecucion-reporte-externo.component.ts +113 -0
  237. package/src/app/webcommon/pages/fuente/importar-fuente-con/importar-fuente-con.component.html +394 -0
  238. package/src/app/webcommon/pages/fuente/importar-fuente-con/importar-fuente-con.component.scss +10 -0
  239. package/src/app/webcommon/pages/fuente/importar-fuente-con/importar-fuente-con.component.ts +610 -0
  240. package/src/app/webcommon/pages/fuente/importar-fuente-general/importar-fuente-general.component.html +130 -0
  241. package/src/app/webcommon/pages/fuente/importar-fuente-general/importar-fuente-general.component.scss +0 -0
  242. package/src/app/webcommon/pages/fuente/importar-fuente-general/importar-fuente-general.component.ts +172 -0
  243. package/src/app/webcommon/pages/fuente-reporte/fuente-reporte.component.html +404 -0
  244. package/src/app/webcommon/pages/fuente-reporte/fuente-reporte.component.scss +5 -0
  245. package/src/app/webcommon/pages/fuente-reporte/fuente-reporte.component.ts +763 -0
  246. package/src/app/webcommon/pages/fuenteGeneral/fuente-general-servicio/fuente-general-servicio.component.html +145 -0
  247. package/src/app/webcommon/pages/fuenteGeneral/fuente-general-servicio/fuente-general-servicio.component.scss +0 -0
  248. package/src/app/webcommon/pages/fuenteGeneral/fuente-general-servicio/fuente-general-servicio.component.ts +302 -0
  249. package/src/app/webcommon/pages/fuenteGeneral/listado-fuente-general/listado-fuente-general.page.html +19 -0
  250. package/src/app/webcommon/pages/fuenteGeneral/listado-fuente-general/listado-fuente-general.page.scss +0 -0
  251. package/src/app/webcommon/pages/fuenteGeneral/listado-fuente-general/listado-fuente-general.page.ts +88 -0
  252. package/src/app/webcommon/pages/fuenteGeneral/mantenimiento-fuente-general/mantenimiento-fuente-general.page.html +714 -0
  253. package/src/app/webcommon/pages/fuenteGeneral/mantenimiento-fuente-general/mantenimiento-fuente-general.page.scss +0 -0
  254. package/src/app/webcommon/pages/fuenteGeneral/mantenimiento-fuente-general/mantenimiento-fuente-general.page.ts +688 -0
  255. package/src/app/webcommon/pipes/dashboard.pipe.ts +79 -0
  256. package/src/app/webcommon/pipes/fuente.pipe.ts +207 -0
  257. package/src/app/webcommon/pipes/general.pipe.ts +1046 -0
  258. package/src/app/webcommon/pipes/reporte-columnario.pipe.ts +101 -0
  259. package/src/app/webcommon/pipes/reporte-fuente.pipe.ts +306 -0
  260. package/src/app/webcommon/pipes/sara-general.pipe.ts +289 -0
  261. package/src/app/webcommon/popups/popup-campos-fuente-general/popup-campos-fuente-general.component.html +90 -0
  262. package/src/app/webcommon/popups/popup-campos-fuente-general/popup-campos-fuente-general.component.scss +0 -0
  263. package/src/app/webcommon/popups/popup-campos-fuente-general/popup-campos-fuente-general.component.ts +262 -0
  264. package/src/app/webcommon/popups/popup-convertir-plantillas/popup-convertir-plantillas.component.html +50 -0
  265. package/src/app/webcommon/popups/popup-convertir-plantillas/popup-convertir-plantillas.component.scss +0 -0
  266. package/src/app/webcommon/popups/popup-convertir-plantillas/popup-convertir-plantillas.component.ts +135 -0
  267. package/src/app/webcommon/popups/popup-editor-formula/popup-editor-formula.component.html +44 -0
  268. package/src/app/webcommon/popups/popup-editor-formula/popup-editor-formula.component.scss +0 -0
  269. package/src/app/webcommon/popups/popup-editor-formula/popup-editor-formula.component.ts +66 -0
  270. package/src/app/webcommon/popups/popup-punto-proceso/popup-punto-proceso.component.html +41 -0
  271. package/src/app/webcommon/popups/popup-punto-proceso/popup-punto-proceso.component.scss +0 -0
  272. package/src/app/webcommon/popups/popup-punto-proceso/popup-punto-proceso.component.ts +283 -0
  273. package/src/app/webcommon/popups/popup-recurso/popup-recurso.component.html +179 -0
  274. package/src/app/webcommon/popups/popup-recurso/popup-recurso.component.scss +3 -0
  275. package/src/app/webcommon/popups/popup-recurso/popup-recurso.component.ts +266 -0
  276. package/src/app/webcommon/popups/popup-reporte/popup-reporte.component.html +273 -0
  277. package/src/app/webcommon/popups/popup-reporte/popup-reporte.component.scss +13 -0
  278. package/src/app/webcommon/popups/popup-reporte/popup-reporte.component.ts +566 -0
  279. package/src/app/webcommon/popups/popup-sentencia/popup-sentencia.component.html +10 -0
  280. package/src/app/webcommon/popups/popup-sentencia/popup-sentencia.component.scss +5 -0
  281. package/src/app/webcommon/popups/popup-sentencia/popup-sentencia.component.ts +58 -0
  282. package/src/app/webcommon/popups/popup-tablas-fuente/popup-tablas-fuente.component.html +71 -0
  283. package/src/app/webcommon/popups/popup-tablas-fuente/popup-tablas-fuente.component.scss +0 -0
  284. package/src/app/webcommon/popups/popup-tablas-fuente/popup-tablas-fuente.component.ts +154 -0
  285. package/src/app/webcommon/popups/punto-proceso-comp/punto-proceso-comp.component.html +11 -0
  286. package/src/app/webcommon/popups/punto-proceso-comp/punto-proceso-comp.component.scss +0 -0
  287. package/src/app/webcommon/popups/punto-proceso-comp/punto-proceso-comp.component.ts +82 -0
  288. package/src/app/webcommon/services/carguelinea.service.ts +74 -0
  289. package/src/app/webcommon/services/dashboard.service.ts +258 -0
  290. package/src/app/webcommon/services/ejecucionreporte.service.ts +160 -0
  291. package/src/app/webcommon/services/fechaUtils.service.ts +133 -0
  292. package/src/app/webcommon/services/fuentegeneral.service.ts +74 -0
  293. package/src/app/webcommon/services/homologacion.service.ts +49 -0
  294. package/src/app/webcommon/services/plantillas.service.ts +165 -0
  295. package/src/app/webcommon/services/reportes.service.ts +133 -0
  296. package/src/app/webcommon/webcommon.module.ts +11 -0
  297. package/src/assets/layout/styles/layout/topbar/_topbar_main.scss +4 -4
  298. package/src/environments/environment.prod.ts +3 -0
  299. package/src/environments/environment.ts +25 -0
  300. package/src/favicon.ico +0 -0
  301. package/src/index.html +14 -0
  302. package/src/main.ts +12 -0
  303. package/src/polyfills.ts +53 -0
  304. package/src/styles/primeng/sass/overrides/_theme_styles.scss +0 -7
  305. package/src/test.ts +14 -0
  306. package/tsconfig.app.json +15 -0
  307. package/tsconfig.json +35 -0
  308. package/tsconfig.spec.json +18 -0
  309. package/esm2022/general-library-union.mjs +0 -5
  310. package/esm2022/public-api.mjs +0 -183
  311. package/esm2022/src/app/core/componentes/breadcrumb/breadcrumb.component.mjs +0 -40
  312. package/esm2022/src/app/core/componentes/carga-pantalla-completa/carga-pantalla-completa.component.mjs +0 -28
  313. package/esm2022/src/app/core/componentes/filtro-general/filtro-general.component.mjs +0 -214
  314. package/esm2022/src/app/core/componentes/footer/footer.component.mjs +0 -16
  315. package/esm2022/src/app/core/componentes/formulariodinamico/formulariodinamico.component.mjs +0 -276
  316. package/esm2022/src/app/core/componentes/formulariodinamico/objetosformulario/Cambio.mjs +0 -11
  317. package/esm2022/src/app/core/componentes/formulariodinamico/objetosformulario/CampoFormulario.mjs +0 -124
  318. package/esm2022/src/app/core/componentes/formulariodinamico/objetosformulario/CampoFormularioCons.mjs +0 -73
  319. package/esm2022/src/app/core/componentes/formulariodinamico/objetosformulario/CampoFormularioNuevo.mjs +0 -59
  320. package/esm2022/src/app/core/componentes/formulariodinamico/objetosformulario/HashDirective.mjs +0 -21
  321. package/esm2022/src/app/core/componentes/inicio-component/inicio-component.component.mjs +0 -70
  322. package/esm2022/src/app/core/componentes/menu/menu.component.mjs +0 -37
  323. package/esm2022/src/app/core/componentes/tabla-general/tabla-general.component.mjs +0 -93
  324. package/esm2022/src/app/core/core.module.mjs +0 -23
  325. package/esm2022/src/app/core/errores/authentication.error.mjs +0 -7
  326. package/esm2022/src/app/core/modelos/error-response.model.mjs +0 -2
  327. package/esm2022/src/app/core/modelos/table-column.model.mjs +0 -2
  328. package/esm2022/src/app/core/modelos/user.model.mjs +0 -7
  329. package/esm2022/src/app/core/plantilla-general/plantilla-general.template.mjs +0 -230
  330. package/esm2022/src/app/core/servicios/auth.service.mjs +0 -185
  331. package/esm2022/src/app/core/servicios/cargar-control-funcionalidad.service.mjs +0 -54
  332. package/esm2022/src/app/core/servicios/click-posicion.service.mjs +0 -20
  333. package/esm2022/src/app/core/servicios/data-exporter-table.utils.mjs +0 -64
  334. package/esm2022/src/app/core/servicios/error-interceptor.service.mjs +0 -214
  335. package/esm2022/src/app/core/servicios/guardias/auth.guard.mjs +0 -66
  336. package/esm2022/src/app/core/servicios/guardias/publico.guard.mjs +0 -35
  337. package/esm2022/src/app/core/servicios/interceptores/loading-interceptor.mjs +0 -37
  338. package/esm2022/src/app/core/servicios/interceptores/token-interceptor.service.mjs +0 -180
  339. package/esm2022/src/app/core/servicios/loading.service.mjs +0 -43
  340. package/esm2022/src/app/core/servicios/menu.service.mjs +0 -146
  341. package/esm2022/src/app/core/servicios/spinner-service.mjs +0 -22
  342. package/esm2022/src/app/core/servicios/storage.service.mjs +0 -68
  343. package/esm2022/src/app/core/servicios/template.service.mjs +0 -99
  344. package/esm2022/src/app/core/servicios/toast.service.mjs +0 -120
  345. package/esm2022/src/app/core/servicios/utils.service.mjs +0 -364
  346. package/esm2022/src/app/core/sharedlib.module.mjs +0 -16
  347. package/esm2022/src/app/core/utilidades/color.util.mjs +0 -177
  348. package/esm2022/src/app/layout/api/menuchangeevent.mjs +0 -2
  349. package/esm2022/src/app/layout/app.breadcrumb.component.mjs +0 -71
  350. package/esm2022/src/app/layout/app.footer.component.mjs +0 -18
  351. package/esm2022/src/app/layout/app.layout.component.mjs +0 -188
  352. package/esm2022/src/app/layout/app.layout.module.mjs +0 -15
  353. package/esm2022/src/app/layout/app.menu.component.mjs +0 -51
  354. package/esm2022/src/app/layout/app.menu.service.mjs +0 -24
  355. package/esm2022/src/app/layout/app.menuitem.component.mjs +0 -296
  356. package/esm2022/src/app/layout/app.menuprofile.component.mjs +0 -78
  357. package/esm2022/src/app/layout/app.rightmenu.component.mjs +0 -24
  358. package/esm2022/src/app/layout/app.sidebar.component.mjs +0 -92
  359. package/esm2022/src/app/layout/app.topbar.component.mjs +0 -385
  360. package/esm2022/src/app/layout/service/app.layout.service.mjs +0 -134
  361. package/esm2022/src/app/publico/pages/login/login.page.mjs +0 -132
  362. package/esm2022/src/app/publico/pages/not-found/not-found.page.mjs +0 -51
  363. package/esm2022/src/app/publico/pages/seleccion-rol/seleccion-rol.component.mjs +0 -167
  364. package/esm2022/src/app/publico/pages/timeout/timeout.page.mjs +0 -20
  365. package/esm2022/src/app/seguridad/constantes/ConstantesGenerales.mjs +0 -30
  366. package/esm2022/src/app/seguridad/constantes/ReporteEntradaConstantes.mjs +0 -19
  367. package/esm2022/src/app/seguridad/modelos/AplicacionModel.mjs +0 -8
  368. package/esm2022/src/app/seguridad/modelos/ArchivoPortalModel.mjs +0 -14
  369. package/esm2022/src/app/seguridad/modelos/AtributoPuntoModel.mjs +0 -9
  370. package/esm2022/src/app/seguridad/modelos/AtributoSSOportalModel.mjs +0 -17
  371. package/esm2022/src/app/seguridad/modelos/AuditoriaArchivoModel.mjs +0 -11
  372. package/esm2022/src/app/seguridad/modelos/CargueLineaModel.mjs +0 -13
  373. package/esm2022/src/app/seguridad/modelos/ColoresRGB.mjs +0 -18
  374. package/esm2022/src/app/seguridad/modelos/ColumnaFuenteModel.mjs +0 -9
  375. package/esm2022/src/app/seguridad/modelos/ColumnaWraperModel.mjs +0 -6
  376. package/esm2022/src/app/seguridad/modelos/ComplementoModel.mjs +0 -7
  377. package/esm2022/src/app/seguridad/modelos/ComponentePaginaModel.mjs +0 -21
  378. package/esm2022/src/app/seguridad/modelos/ConexionModel.mjs +0 -14
  379. package/esm2022/src/app/seguridad/modelos/ContenidoHtmlPortalModel.mjs +0 -21
  380. package/esm2022/src/app/seguridad/modelos/ControlFuncionModel.mjs +0 -8
  381. package/esm2022/src/app/seguridad/modelos/CorreoModel.mjs +0 -35
  382. package/esm2022/src/app/seguridad/modelos/CorreoOrgEmpModModel.mjs +0 -9
  383. package/esm2022/src/app/seguridad/modelos/CorreoWSModel.mjs +0 -37
  384. package/esm2022/src/app/seguridad/modelos/CruceRecursoPuntoModel.mjs +0 -14
  385. package/esm2022/src/app/seguridad/modelos/DatoInicioModel.mjs +0 -6
  386. package/esm2022/src/app/seguridad/modelos/EjecucionReporteDataModel.mjs +0 -14
  387. package/esm2022/src/app/seguridad/modelos/EmpresaModel.mjs +0 -25
  388. package/esm2022/src/app/seguridad/modelos/EmpresaSeguridadModel.mjs +0 -19
  389. package/esm2022/src/app/seguridad/modelos/EntradaComplementoModel.mjs +0 -7
  390. package/esm2022/src/app/seguridad/modelos/EtiquetaModel.mjs +0 -5
  391. package/esm2022/src/app/seguridad/modelos/Etiquetas.mjs +0 -12
  392. package/esm2022/src/app/seguridad/modelos/ForeingWraperModel.mjs +0 -6
  393. package/esm2022/src/app/seguridad/modelos/FuenteCampoAtributoModel.mjs +0 -16
  394. package/esm2022/src/app/seguridad/modelos/FuenteCampoModel.mjs +0 -17
  395. package/esm2022/src/app/seguridad/modelos/FuenteDato.mjs +0 -19
  396. package/esm2022/src/app/seguridad/modelos/FuenteEntradaModel.mjs +0 -9
  397. package/esm2022/src/app/seguridad/modelos/FuenteGeneralModel.mjs +0 -37
  398. package/esm2022/src/app/seguridad/modelos/FuenteLineaServicioModel.mjs +0 -16
  399. package/esm2022/src/app/seguridad/modelos/FuenteProcesoGeneralModel.mjs +0 -11
  400. package/esm2022/src/app/seguridad/modelos/FuenteServicioModel.mjs +0 -51
  401. package/esm2022/src/app/seguridad/modelos/FuncionalidadModel.mjs +0 -10
  402. package/esm2022/src/app/seguridad/modelos/GeneralModel.mjs +0 -15
  403. package/esm2022/src/app/seguridad/modelos/GrupoAccesoModel.mjs +0 -7
  404. package/esm2022/src/app/seguridad/modelos/GrupoControlFuncionModel.mjs +0 -10
  405. package/esm2022/src/app/seguridad/modelos/GrupoFuenteModel.mjs +0 -13
  406. package/esm2022/src/app/seguridad/modelos/GrupoPermisoModel.mjs +0 -14
  407. package/esm2022/src/app/seguridad/modelos/JoinFromModel.mjs +0 -5
  408. package/esm2022/src/app/seguridad/modelos/ListaServicioModel.mjs +0 -17
  409. package/esm2022/src/app/seguridad/modelos/LlaveForaneaModel.mjs +0 -7
  410. package/esm2022/src/app/seguridad/modelos/LoginModel.mjs +0 -15
  411. package/esm2022/src/app/seguridad/modelos/MensajeSistemaModel.mjs +0 -8
  412. package/esm2022/src/app/seguridad/modelos/MenuPortalModel.mjs +0 -5
  413. package/esm2022/src/app/seguridad/modelos/ModulosModel.mjs +0 -18
  414. package/esm2022/src/app/seguridad/modelos/ObjetoReporteModel.mjs +0 -6
  415. package/esm2022/src/app/seguridad/modelos/PaginaPortalModel.mjs +0 -20
  416. package/esm2022/src/app/seguridad/modelos/ParametroComponenteModel.mjs +0 -9
  417. package/esm2022/src/app/seguridad/modelos/ParametrosGeneralModel.mjs +0 -15
  418. package/esm2022/src/app/seguridad/modelos/PermisoFuncionModel.mjs +0 -9
  419. package/esm2022/src/app/seguridad/modelos/PermisocontenidoModel.mjs +0 -20
  420. package/esm2022/src/app/seguridad/modelos/PeticionModel.mjs +0 -16
  421. package/esm2022/src/app/seguridad/modelos/PreguntaSeguridadModel.mjs +0 -7
  422. package/esm2022/src/app/seguridad/modelos/PropiedadModel.mjs +0 -10
  423. package/esm2022/src/app/seguridad/modelos/PublicacionWebModel.mjs +0 -27
  424. package/esm2022/src/app/seguridad/modelos/PuntoProcesoModel.mjs +0 -7
  425. package/esm2022/src/app/seguridad/modelos/RecursoPunto.mjs +0 -13
  426. package/esm2022/src/app/seguridad/modelos/RecursoPuntoModel.mjs +0 -13
  427. package/esm2022/src/app/seguridad/modelos/ReporteBanda.mjs +0 -8
  428. package/esm2022/src/app/seguridad/modelos/ReporteColumna.mjs +0 -33
  429. package/esm2022/src/app/seguridad/modelos/ReporteColumnario.mjs +0 -69
  430. package/esm2022/src/app/seguridad/modelos/ReporteColumnarioMarcador.mjs +0 -24
  431. package/esm2022/src/app/seguridad/modelos/ReporteEntradaModel.mjs +0 -20
  432. package/esm2022/src/app/seguridad/modelos/ReporteFuenteModel.mjs +0 -124
  433. package/esm2022/src/app/seguridad/modelos/ReporteMarcador.mjs +0 -40
  434. package/esm2022/src/app/seguridad/modelos/ReporteSoporte.mjs +0 -10
  435. package/esm2022/src/app/seguridad/modelos/ReporteTabla.mjs +0 -13
  436. package/esm2022/src/app/seguridad/modelos/RespuestaModel.mjs +0 -9
  437. package/esm2022/src/app/seguridad/modelos/RolModel.mjs +0 -39
  438. package/esm2022/src/app/seguridad/modelos/ServidorCorreoModel.mjs +0 -28
  439. package/esm2022/src/app/seguridad/modelos/SistemaMensajeModel.mjs +0 -9
  440. package/esm2022/src/app/seguridad/modelos/SitioPortalModel.mjs +0 -25
  441. package/esm2022/src/app/seguridad/modelos/TablaFromModel.mjs +0 -5
  442. package/esm2022/src/app/seguridad/modelos/TareasModel.mjs +0 -55
  443. package/esm2022/src/app/seguridad/modelos/TextoModel.mjs +0 -9
  444. package/esm2022/src/app/seguridad/modelos/TipoEtiqueta.mjs +0 -8
  445. package/esm2022/src/app/seguridad/modelos/UnionModel.mjs +0 -12
  446. package/esm2022/src/app/seguridad/modelos/UsuarioModel.mjs +0 -53
  447. package/esm2022/src/app/seguridad/modelos/UsuariogrupoModel.mjs +0 -24
  448. package/esm2022/src/app/seguridad/modelos/aplicacion-propiedad-model.mjs +0 -15
  449. package/esm2022/src/app/seguridad/modelos/contenidoCorreoModel.mjs +0 -10
  450. package/esm2022/src/app/shared/componentes/input-helper-seleccion-plantilla/input-helper-seleccion-plantilla.component.mjs +0 -154
  451. package/esm2022/src/app/shared/servicios/cargar-archivos.service.mjs +0 -54
  452. package/esm2022/src/app/shared/servicios/cargar-mapas.service.mjs +0 -46
  453. package/esm2022/src/app/shared/servicios/encriptado-basico.service.mjs +0 -53
  454. package/esm2022/src/app/shared/servicios/general.service.mjs +0 -104
  455. package/esm2022/src/app/shared/servicios/parametros-navegacion.service.mjs +0 -21
  456. package/esm2022/src/app/webcommon/pages/cargue-plantilla/cargue-plantilla-general/cargue-plantilla-general.component.mjs +0 -378
  457. package/esm2022/src/app/webcommon/pages/ejecucion-reporte/detalle-campo-reporte/detalle-campo-reporte.component.mjs +0 -187
  458. package/esm2022/src/app/webcommon/pages/ejecucion-reporte/detalle-distribucion-reporte/detalle-distribucion-reporte.component.mjs +0 -85
  459. package/esm2022/src/app/webcommon/pages/ejecucion-reporte/detalle-ejecucion-reporte/detalle-ejecucion-reporte.page.mjs +0 -347
  460. package/esm2022/src/app/webcommon/pages/ejecucion-reporte/detalle-entrada-reporte/detalle-entrada-reporte.component.mjs +0 -206
  461. package/esm2022/src/app/webcommon/pages/ejecucion-reporte/detalle-punto-proceso-reporte/detalle-punto-proceso-reporte.component.mjs +0 -327
  462. package/esm2022/src/app/webcommon/pages/ejecucion-reporte/detalle-tipo-reporte/detalle-tipo-reporte.component.mjs +0 -1590
  463. package/esm2022/src/app/webcommon/pages/ejecucion-reporte/listado-ejecucion-reporte/listado-ejecucion-reporte.page.mjs +0 -105
  464. package/esm2022/src/app/webcommon/pages/ejecucion-reporte-externo/listado-ejecucion-reporte-externo/listado-ejecucion-reporte-externo.component.mjs +0 -115
  465. package/esm2022/src/app/webcommon/pages/fuente/importar-fuente-con/importar-fuente-con.component.mjs +0 -597
  466. package/esm2022/src/app/webcommon/pages/fuente/importar-fuente-general/importar-fuente-general.component.mjs +0 -177
  467. package/esm2022/src/app/webcommon/pages/fuente-reporte/fuente-reporte.component.mjs +0 -769
  468. package/esm2022/src/app/webcommon/pages/fuenteGeneral/fuente-general-servicio/fuente-general-servicio.component.mjs +0 -331
  469. package/esm2022/src/app/webcommon/pages/fuenteGeneral/listado-fuente-general/listado-fuente-general.page.mjs +0 -95
  470. package/esm2022/src/app/webcommon/pages/fuenteGeneral/mantenimiento-fuente-general/mantenimiento-fuente-general.page.mjs +0 -675
  471. package/esm2022/src/app/webcommon/pipes/dashboard.pipe.mjs +0 -86
  472. package/esm2022/src/app/webcommon/pipes/fuente.pipe.mjs +0 -201
  473. package/esm2022/src/app/webcommon/pipes/general.pipe.mjs +0 -918
  474. package/esm2022/src/app/webcommon/pipes/reporte-columnario.pipe.mjs +0 -115
  475. package/esm2022/src/app/webcommon/pipes/reporte-fuente.pipe.mjs +0 -301
  476. package/esm2022/src/app/webcommon/popups/popup-campos-fuente-general/popup-campos-fuente-general.component.mjs +0 -267
  477. package/esm2022/src/app/webcommon/popups/popup-convertir-plantillas/popup-convertir-plantillas.component.mjs +0 -128
  478. package/esm2022/src/app/webcommon/popups/popup-editor-formula/popup-editor-formula.component.mjs +0 -73
  479. package/esm2022/src/app/webcommon/popups/popup-punto-proceso/popup-punto-proceso.component.mjs +0 -293
  480. package/esm2022/src/app/webcommon/popups/popup-recurso/popup-recurso.component.mjs +0 -269
  481. package/esm2022/src/app/webcommon/popups/popup-reporte/popup-reporte.component.mjs +0 -565
  482. package/esm2022/src/app/webcommon/popups/popup-sentencia/popup-sentencia.component.mjs +0 -64
  483. package/esm2022/src/app/webcommon/popups/popup-tablas-fuente/popup-tablas-fuente.component.mjs +0 -162
  484. package/esm2022/src/app/webcommon/popups/punto-proceso-comp/punto-proceso-comp.component.mjs +0 -89
  485. package/esm2022/src/app/webcommon/services/carguelinea.service.mjs +0 -69
  486. package/esm2022/src/app/webcommon/services/dashboard.service.mjs +0 -253
  487. package/esm2022/src/app/webcommon/services/ejecucionreporte.service.mjs +0 -114
  488. package/esm2022/src/app/webcommon/services/fechaUtils.service.mjs +0 -102
  489. package/esm2022/src/app/webcommon/services/fuentegeneral.service.mjs +0 -68
  490. package/esm2022/src/app/webcommon/services/homologacion.service.mjs +0 -50
  491. package/esm2022/src/app/webcommon/services/plantillas.service.mjs +0 -129
  492. package/esm2022/src/app/webcommon/services/reportes.service.mjs +0 -95
  493. package/esm2022/src/app/webcommon/webcommon.module.mjs +0 -15
  494. package/esm2022/src/environments/environment.mjs +0 -24
  495. package/fesm2022/general-library-union.mjs +0 -16177
  496. package/fesm2022/general-library-union.mjs.map +0 -1
  497. package/index.d.ts +0 -5
  498. package/src/app/core/componentes/breadcrumb/breadcrumb.component.d.ts +0 -18
  499. package/src/app/core/componentes/carga-pantalla-completa/carga-pantalla-completa.component.d.ts +0 -14
  500. package/src/app/core/componentes/filtro-general/filtro-general.component.d.ts +0 -36
  501. package/src/app/core/componentes/footer/footer.component.d.ts +0 -9
  502. package/src/app/core/componentes/formulariodinamico/formulariodinamico.component.d.ts +0 -50
  503. package/src/app/core/componentes/formulariodinamico/objetosformulario/CampoFormulario.d.ts +0 -44
  504. package/src/app/core/componentes/formulariodinamico/objetosformulario/CampoFormularioCons.d.ts +0 -45
  505. package/src/app/core/componentes/formulariodinamico/objetosformulario/CampoFormularioNuevo.d.ts +0 -33
  506. package/src/app/core/componentes/formulariodinamico/objetosformulario/HashDirective.d.ts +0 -9
  507. package/src/app/core/componentes/inicio-component/inicio-component.component.d.ts +0 -26
  508. package/src/app/core/componentes/menu/menu.component.d.ts +0 -16
  509. package/src/app/core/componentes/tabla-general/tabla-general.component.d.ts +0 -32
  510. package/src/app/core/core.module.d.ts +0 -8
  511. package/src/app/core/errores/authentication.error.d.ts +0 -3
  512. package/src/app/core/modelos/error-response.model.d.ts +0 -9
  513. package/src/app/core/modelos/table-column.model.d.ts +0 -12
  514. package/src/app/core/modelos/user.model.d.ts +0 -6
  515. package/src/app/core/plantilla-general/plantilla-general.template.d.ts +0 -89
  516. package/src/app/core/servicios/auth.service.d.ts +0 -52
  517. package/src/app/core/servicios/cargar-control-funcionalidad.service.d.ts +0 -19
  518. package/src/app/core/servicios/click-posicion.service.d.ts +0 -11
  519. package/src/app/core/servicios/data-exporter-table.utils.d.ts +0 -11
  520. package/src/app/core/servicios/error-interceptor.service.d.ts +0 -41
  521. package/src/app/core/servicios/guardias/auth.guard.d.ts +0 -17
  522. package/src/app/core/servicios/guardias/publico.guard.d.ts +0 -13
  523. package/src/app/core/servicios/interceptores/loading-interceptor.d.ts +0 -11
  524. package/src/app/core/servicios/interceptores/token-interceptor.service.d.ts +0 -26
  525. package/src/app/core/servicios/loading.service.d.ts +0 -22
  526. package/src/app/core/servicios/menu.service.d.ts +0 -35
  527. package/src/app/core/servicios/spinner-service.d.ts +0 -9
  528. package/src/app/core/servicios/storage.service.d.ts +0 -37
  529. package/src/app/core/servicios/template.service.d.ts +0 -20
  530. package/src/app/core/servicios/toast.service.d.ts +0 -48
  531. package/src/app/core/servicios/utils.service.d.ts +0 -46
  532. package/src/app/core/sharedlib.module.d.ts +0 -6
  533. package/src/app/core/utilidades/color.util.d.ts +0 -70
  534. package/src/app/layout/app.breadcrumb.component.d.ts +0 -28
  535. package/src/app/layout/app.footer.component.d.ts +0 -8
  536. package/src/app/layout/app.layout.component.d.ts +0 -39
  537. package/src/app/layout/app.layout.module.d.ts +0 -6
  538. package/src/app/layout/app.menu.component.d.ts +0 -19
  539. package/src/app/layout/app.menu.service.d.ts +0 -12
  540. package/src/app/layout/app.menuitem.component.d.ts +0 -41
  541. package/src/app/layout/app.menuprofile.component.d.ts +0 -18
  542. package/src/app/layout/app.rightmenu.component.d.ts +0 -10
  543. package/src/app/layout/app.sidebar.component.d.ts +0 -34
  544. package/src/app/layout/app.topbar.component.d.ts +0 -86
  545. package/src/app/layout/service/app.layout.service.d.ts +0 -57
  546. package/src/app/publico/pages/login/login.page.d.ts +0 -40
  547. package/src/app/publico/pages/not-found/not-found.page.d.ts +0 -17
  548. package/src/app/publico/pages/seleccion-rol/seleccion-rol.component.d.ts +0 -41
  549. package/src/app/publico/pages/timeout/timeout.page.d.ts +0 -10
  550. package/src/app/seguridad/constantes/ConstantesGenerales.d.ts +0 -25
  551. package/src/app/seguridad/constantes/ReporteEntradaConstantes.d.ts +0 -7
  552. package/src/app/seguridad/modelos/AplicacionModel.d.ts +0 -7
  553. package/src/app/seguridad/modelos/ArchivoPortalModel.d.ts +0 -13
  554. package/src/app/seguridad/modelos/AtributoPuntoModel.d.ts +0 -8
  555. package/src/app/seguridad/modelos/AtributoSSOportalModel.d.ts +0 -16
  556. package/src/app/seguridad/modelos/CargueLineaModel.d.ts +0 -12
  557. package/src/app/seguridad/modelos/ColoresRGB.d.ts +0 -17
  558. package/src/app/seguridad/modelos/ColumnaFuenteModel.d.ts +0 -8
  559. package/src/app/seguridad/modelos/ComplementoModel.d.ts +0 -6
  560. package/src/app/seguridad/modelos/ComponentePaginaModel.d.ts +0 -20
  561. package/src/app/seguridad/modelos/ConexionModel.d.ts +0 -13
  562. package/src/app/seguridad/modelos/ControlFuncionModel.d.ts +0 -7
  563. package/src/app/seguridad/modelos/CorreoModel.d.ts +0 -31
  564. package/src/app/seguridad/modelos/CorreoWSModel.d.ts +0 -33
  565. package/src/app/seguridad/modelos/CruceRecursoPuntoModel.d.ts +0 -13
  566. package/src/app/seguridad/modelos/EmpresaModel.d.ts +0 -23
  567. package/src/app/seguridad/modelos/EmpresaSeguridadModel.d.ts +0 -18
  568. package/src/app/seguridad/modelos/EtiquetaModel.d.ts +0 -4
  569. package/src/app/seguridad/modelos/Etiquetas.d.ts +0 -10
  570. package/src/app/seguridad/modelos/FuenteCampoAtributoModel.d.ts +0 -15
  571. package/src/app/seguridad/modelos/FuenteDato.d.ts +0 -18
  572. package/src/app/seguridad/modelos/FuenteEntradaModel.d.ts +0 -8
  573. package/src/app/seguridad/modelos/FuenteLineaServicioModel.d.ts +0 -16
  574. package/src/app/seguridad/modelos/FuenteProcesoGeneralModel.d.ts +0 -10
  575. package/src/app/seguridad/modelos/FuncionalidadModel.d.ts +0 -8
  576. package/src/app/seguridad/modelos/GeneralModel.d.ts +0 -8
  577. package/src/app/seguridad/modelos/GrupoControlFuncionModel.d.ts +0 -9
  578. package/src/app/seguridad/modelos/GrupoFuenteModel.d.ts +0 -13
  579. package/src/app/seguridad/modelos/GrupoPermisoModel.d.ts +0 -13
  580. package/src/app/seguridad/modelos/ListaServicioModel.d.ts +0 -16
  581. package/src/app/seguridad/modelos/LlaveForaneaModel.d.ts +0 -6
  582. package/src/app/seguridad/modelos/LoginModel.d.ts +0 -17
  583. package/src/app/seguridad/modelos/MensajeSistemaModel.d.ts +0 -7
  584. package/src/app/seguridad/modelos/ModulosModel.d.ts +0 -14
  585. package/src/app/seguridad/modelos/PaginaPortalModel.d.ts +0 -19
  586. package/src/app/seguridad/modelos/ParametroComponenteModel.d.ts +0 -8
  587. package/src/app/seguridad/modelos/ParametrosGeneralModel.d.ts +0 -8
  588. package/src/app/seguridad/modelos/PermisoFuncionModel.d.ts +0 -8
  589. package/src/app/seguridad/modelos/PermisocontenidoModel.d.ts +0 -18
  590. package/src/app/seguridad/modelos/PreguntaSeguridadModel.d.ts +0 -6
  591. package/src/app/seguridad/modelos/PropiedadModel.d.ts +0 -9
  592. package/src/app/seguridad/modelos/PublicacionWebModel.d.ts +0 -25
  593. package/src/app/seguridad/modelos/PuntoProcesoModel.d.ts +0 -6
  594. package/src/app/seguridad/modelos/RecursoPunto.d.ts +0 -12
  595. package/src/app/seguridad/modelos/RecursoPuntoModel.d.ts +0 -12
  596. package/src/app/seguridad/modelos/ReporteBanda.d.ts +0 -7
  597. package/src/app/seguridad/modelos/ReporteColumna.d.ts +0 -32
  598. package/src/app/seguridad/modelos/ReporteColumnario.d.ts +0 -68
  599. package/src/app/seguridad/modelos/ReporteColumnarioMarcador.d.ts +0 -23
  600. package/src/app/seguridad/modelos/ReporteMarcador.d.ts +0 -39
  601. package/src/app/seguridad/modelos/ReporteSoporte.d.ts +0 -9
  602. package/src/app/seguridad/modelos/ReporteTabla.d.ts +0 -12
  603. package/src/app/seguridad/modelos/RespuestaModel.d.ts +0 -8
  604. package/src/app/seguridad/modelos/ServidorCorreoModel.d.ts +0 -25
  605. package/src/app/seguridad/modelos/SistemaMensajeModel.d.ts +0 -8
  606. package/src/app/seguridad/modelos/SitioPortalModel.d.ts +0 -24
  607. package/src/app/seguridad/modelos/TablaFromModel.d.ts +0 -4
  608. package/src/app/seguridad/modelos/TareasModel.d.ts +0 -50
  609. package/src/app/seguridad/modelos/TextoModel.d.ts +0 -8
  610. package/src/app/seguridad/modelos/TipoEtiqueta.d.ts +0 -7
  611. package/src/app/seguridad/modelos/UnionModel.d.ts +0 -11
  612. package/src/app/seguridad/modelos/UsuariogrupoModel.d.ts +0 -22
  613. package/src/app/seguridad/modelos/aplicacion-propiedad-model.d.ts +0 -13
  614. package/src/app/seguridad/modelos/contenidoCorreoModel.d.ts +0 -9
  615. package/src/app/shared/componentes/input-helper-seleccion-plantilla/input-helper-seleccion-plantilla.component.d.ts +0 -47
  616. package/src/app/shared/servicios/cargar-archivos.service.d.ts +0 -15
  617. package/src/app/shared/servicios/cargar-mapas.service.d.ts +0 -18
  618. package/src/app/shared/servicios/encriptado-basico.service.d.ts +0 -10
  619. package/src/app/shared/servicios/general.service.d.ts +0 -24
  620. package/src/app/shared/servicios/parametros-navegacion.service.d.ts +0 -9
  621. package/src/app/webcommon/pages/cargue-plantilla/cargue-plantilla-general/cargue-plantilla-general.component.d.ts +0 -79
  622. package/src/app/webcommon/pages/ejecucion-reporte/detalle-campo-reporte/detalle-campo-reporte.component.d.ts +0 -79
  623. package/src/app/webcommon/pages/ejecucion-reporte/detalle-distribucion-reporte/detalle-distribucion-reporte.component.d.ts +0 -29
  624. package/src/app/webcommon/pages/ejecucion-reporte/detalle-ejecucion-reporte/detalle-ejecucion-reporte.page.d.ts +0 -69
  625. package/src/app/webcommon/pages/ejecucion-reporte/detalle-entrada-reporte/detalle-entrada-reporte.component.d.ts +0 -51
  626. package/src/app/webcommon/pages/ejecucion-reporte/detalle-punto-proceso-reporte/detalle-punto-proceso-reporte.component.d.ts +0 -77
  627. package/src/app/webcommon/pages/ejecucion-reporte/detalle-tipo-reporte/detalle-tipo-reporte.component.d.ts +0 -279
  628. package/src/app/webcommon/pages/ejecucion-reporte/listado-ejecucion-reporte/listado-ejecucion-reporte.page.d.ts +0 -42
  629. package/src/app/webcommon/pages/ejecucion-reporte-externo/listado-ejecucion-reporte-externo/listado-ejecucion-reporte-externo.component.d.ts +0 -36
  630. package/src/app/webcommon/pages/fuente/importar-fuente-con/importar-fuente-con.component.d.ts +0 -146
  631. package/src/app/webcommon/pages/fuente/importar-fuente-general/importar-fuente-general.component.d.ts +0 -49
  632. package/src/app/webcommon/pages/fuente-reporte/fuente-reporte.component.d.ts +0 -132
  633. package/src/app/webcommon/pages/fuenteGeneral/fuente-general-servicio/fuente-general-servicio.component.d.ts +0 -64
  634. package/src/app/webcommon/pages/fuenteGeneral/listado-fuente-general/listado-fuente-general.page.d.ts +0 -33
  635. package/src/app/webcommon/pages/fuenteGeneral/mantenimiento-fuente-general/mantenimiento-fuente-general.page.d.ts +0 -149
  636. package/src/app/webcommon/pipes/dashboard.pipe.d.ts +0 -48
  637. package/src/app/webcommon/pipes/fuente.pipe.d.ts +0 -136
  638. package/src/app/webcommon/pipes/general.pipe.d.ts +0 -647
  639. package/src/app/webcommon/pipes/reporte-columnario.pipe.d.ts +0 -59
  640. package/src/app/webcommon/pipes/reporte-fuente.pipe.d.ts +0 -193
  641. package/src/app/webcommon/popups/popup-campos-fuente-general/popup-campos-fuente-general.component.d.ts +0 -59
  642. package/src/app/webcommon/popups/popup-convertir-plantillas/popup-convertir-plantillas.component.d.ts +0 -27
  643. package/src/app/webcommon/popups/popup-editor-formula/popup-editor-formula.component.d.ts +0 -21
  644. package/src/app/webcommon/popups/popup-punto-proceso/popup-punto-proceso.component.d.ts +0 -64
  645. package/src/app/webcommon/popups/popup-recurso/popup-recurso.component.d.ts +0 -63
  646. package/src/app/webcommon/popups/popup-reporte/popup-reporte.component.d.ts +0 -105
  647. package/src/app/webcommon/popups/popup-sentencia/popup-sentencia.component.d.ts +0 -21
  648. package/src/app/webcommon/popups/popup-tablas-fuente/popup-tablas-fuente.component.d.ts +0 -42
  649. package/src/app/webcommon/popups/punto-proceso-comp/punto-proceso-comp.component.d.ts +0 -30
  650. package/src/app/webcommon/services/carguelinea.service.d.ts +0 -19
  651. package/src/app/webcommon/services/dashboard.service.d.ts +0 -27
  652. package/src/app/webcommon/services/ejecucionreporte.service.d.ts +0 -34
  653. package/src/app/webcommon/services/fechaUtils.service.d.ts +0 -31
  654. package/src/app/webcommon/services/fuentegeneral.service.d.ts +0 -24
  655. package/src/app/webcommon/services/homologacion.service.d.ts +0 -17
  656. package/src/app/webcommon/services/plantillas.service.d.ts +0 -26
  657. package/src/app/webcommon/services/reportes.service.d.ts +0 -35
  658. package/src/app/webcommon/webcommon.module.d.ts +0 -6
  659. package/src/environments/environment.d.ts +0 -7
@@ -0,0 +1,160 @@
1
+ import { HttpClient, HttpErrorResponse } from '@angular/common/http';
2
+ import { Injectable } from '@angular/core';
3
+ import { Observable, catchError, map, of, throwError } from 'rxjs';
4
+ import { GeneralModel } from '../../seguridad/modelos/GeneralModel';
5
+ import { ErrorIntecertorService } from '../../core/servicios/error-interceptor.service';
6
+ import { UtilsService } from '../../core/servicios/utils.service';
7
+
8
+ @Injectable({
9
+ providedIn: 'root'
10
+ })
11
+ export class EjecucionReporteService {
12
+
13
+ listProcedure(objetoFiltro: GeneralModel) {
14
+ throw new Error('Method not implemented.');
15
+ }
16
+
17
+ constructor(private httpClient: HttpClient, private errorInterceptor: ErrorIntecertorService, private utilsService: UtilsService) {
18
+ this.handleError = this.handleError.bind(this);
19
+ }
20
+
21
+ private handleError(error: HttpErrorResponse) {
22
+ console.log(error)
23
+ if (error.status === 500) {
24
+ //Llamado a interceptor
25
+ this.errorInterceptor.showError(JSON.stringify(error.error));
26
+ // A client-side or network error occurred. Handle it accordingly.
27
+ console.error('An error occurred:', error.error);
28
+ } else {
29
+ // The backend returned an unsuccessful response code.
30
+ // The response body may contain clues as to what went wrong.
31
+ console.error(
32
+ `Backend returned code ${error.status}, body was: `, error.error);
33
+ }
34
+ // Return an observable with a user-facing error message.
35
+ return throwError(() => new Error('Something bad happened; please try again later.'));
36
+ }
37
+
38
+ getDatosEjecucionReporte(reporte): Observable<any> {
39
+ return this.httpClient.post<any>(`${this.utilsService.obtenerUrlApi()}/requieretoken/reporte/consultar`, reporte).pipe(
40
+ catchError(this.handleError)
41
+ );
42
+ }
43
+
44
+ guardarReporte(reporte: any): Observable<any> {
45
+ return this.httpClient.post<any>(`${this.utilsService.obtenerUrlApi()}/requieretoken/reporte/guardarReporte`, reporte).pipe(
46
+ catchError(this.handleError)
47
+ );
48
+ }
49
+
50
+ eliminarReporte(reporte: any): Observable<any> {
51
+ return this.httpClient.post<any>(`${this.utilsService.obtenerUrlApi()}/requieretoken/reporte/eliminarReporte`, reporte).pipe(
52
+ catchError(this.handleError)
53
+ );
54
+ }
55
+
56
+ consultarListas(): Observable<any> {
57
+ return this.httpClient.get<any>(`${this.utilsService.obtenerUrlApi()}/requieretoken/reporte/consultarListas`).pipe(
58
+ catchError(this.handleError)
59
+ );
60
+ }
61
+
62
+ guardarEntrada(entrada: any): Observable<any> {
63
+ return this.httpClient.post<any>(`${this.utilsService.obtenerUrlApi()}/requieretoken/reporte/guardarEntrada`, entrada).pipe(
64
+ catchError(this.handleError)
65
+ );
66
+ }
67
+
68
+ cargarCampos(entrada: any): Observable<any[]> {
69
+ return this.httpClient.post<any[]>(`${this.utilsService.obtenerUrlApi()}/requieretoken/reporte/cargarCampos`, entrada).pipe(
70
+ catchError(this.handleError)
71
+ );
72
+ }
73
+
74
+ construirColumnas(entrada: any): Observable<any[]> {
75
+ return this.httpClient.post<any[]>(`${this.utilsService.obtenerUrlApi()}/requieretoken/reporte/construirColumnas`, entrada).pipe(
76
+ catchError(this.handleError)
77
+ );
78
+ }
79
+
80
+ generarJasper(llaveReporte, jasper): Observable<any> {
81
+ let formData = new FormData();
82
+ formData.append("llaveReporte", llaveReporte);
83
+ formData.append("jasper", jasper);
84
+ return this.httpClient.post<any>(`${this.utilsService.obtenerUrlApi()}/requieretoken/reporte/generarJasper`, formData).pipe(
85
+ catchError(this.handleError)
86
+ );
87
+ }
88
+
89
+ eliminarEjecucionReporte(reporte: any): Observable<any> {
90
+ return this.httpClient.post<any>(`${this.utilsService.obtenerUrlApi()}/requieretoken/reporte/eliminarEjecucionReporte`, reporte).pipe(
91
+ catchError(this.handleError)
92
+ );
93
+ }
94
+
95
+ obtenerListaEntradaEjecucion(reporte: any): Observable<any> {
96
+ return this.httpClient.post<any>(`${this.utilsService.obtenerUrlApi()}/requieretoken/reporte/obtenerListaEntradaEjecucion`, reporte).pipe(
97
+ catchError(this.handleError)
98
+ );
99
+ }
100
+
101
+ obtenerSentencia(reporte: any): Observable<any> {
102
+ return this.httpClient.post<any>(`${this.utilsService.obtenerUrlApi()}/requieretoken/reporte/obtenerSentencia`, reporte).pipe(
103
+ catchError(this.handleError)
104
+ );
105
+ }
106
+
107
+ enviarSegundoPlano(reporte: any): Observable<any> {
108
+ return this.httpClient.post<any>(`${this.utilsService.obtenerUrlApi()}/requieretoken/reporte/enviarSegundoPlano`, reporte).pipe(
109
+ catchError(this.handleError)
110
+ );
111
+ }
112
+
113
+ descargarReporte(reporte: any): Observable<any> {
114
+ return this.httpClient.post<any>(`${this.utilsService.obtenerUrlApi()}/requieretoken/reporte/descargarReporte`, reporte).pipe(
115
+ catchError(this.handleError)
116
+ );
117
+ }
118
+
119
+ generarTabla(reporte: any): Observable<any> {
120
+ return this.httpClient.post<any>(`${this.utilsService.obtenerUrlApi()}/requieretoken/reporte/generarTabla`, reporte).pipe(
121
+ catchError(this.handleError)
122
+ );
123
+ }
124
+
125
+ actualizarReporteColumnaOrden(reporte: any): Observable<any> {
126
+ return this.httpClient.post<any>(`${this.utilsService.obtenerUrlApi()}/requieretoken/reporte/actualizarReporteColumnaOrden`, reporte).pipe(
127
+ catchError(this.handleError)
128
+ );
129
+ }
130
+
131
+ descargarArchivo(parametroGeneral: any): Observable<any> {
132
+
133
+ const url = `${this.utilsService.obtenerUrlApi()}/requieretoken/generalSara/descargarArchivo`;
134
+ return this.httpClient.post(url, parametroGeneral, {
135
+
136
+ responseType: 'blob',
137
+ headers: {
138
+ 'Content-Type': 'application/json'
139
+ }
140
+ })
141
+ }
142
+
143
+ descargarArchivoMasivo(parametroGeneral: any): Observable<Blob> {
144
+
145
+ const url = `${this.utilsService.obtenerUrlApi()}/requieretoken/generalSara/descargarArchivoMasivo`;
146
+ return this.httpClient.post(url, parametroGeneral, {
147
+ responseType: 'blob',
148
+ headers: {
149
+ 'Content-Type': 'application/json'
150
+ }
151
+ })
152
+ }
153
+
154
+ verGrafico(reporte: any): Observable<any> {
155
+ return this.httpClient.post<any>(`${this.utilsService.obtenerUrlApi()}/requieretoken/reporte/verGrafico`, reporte).pipe(
156
+ catchError(this.handleError)
157
+ );
158
+ }
159
+
160
+ }
@@ -0,0 +1,133 @@
1
+ import { HttpClient, HttpRequest, HttpEvent, HttpErrorResponse } from '@angular/common/http';
2
+ import { Observable, catchError, throwError } from 'rxjs';
3
+ import { Injectable } from '@angular/core';
4
+ import { GeneralModel } from '../../seguridad/modelos/GeneralModel';
5
+ import { ErrorIntecertorService } from '../../core/servicios/error-interceptor.service';
6
+
7
+ import { CookieService } from 'ngx-cookie-service';
8
+ import { UtilsService } from '../../core/servicios/utils.service';
9
+
10
+ @Injectable({
11
+ providedIn: 'root'
12
+ })
13
+ export class FechaUtilsService {
14
+
15
+
16
+ listProcedure(objetoFiltro: GeneralModel) {
17
+ throw new Error('Method not implemented.');
18
+ }
19
+
20
+ constructor(private httpClient: HttpClient, private errorInterceptor: ErrorIntecertorService, private cookieService: CookieService, private utilService: UtilsService) {
21
+ this.handleError = this.handleError.bind(this);
22
+ }
23
+
24
+ private handleError(error: HttpErrorResponse) {
25
+ if (error.status === 500) {
26
+ //Llamado a interceptor
27
+ this.errorInterceptor.showError(JSON.stringify(error.error));
28
+ // A client-side or network error occurred. Handle it accordingly.
29
+ console.error('An error occurred:', error.error);
30
+ } else {
31
+ // The backend returned an unsuccessful response code.
32
+ // The response body may contain clues as to what went wrong.
33
+ console.error(
34
+ `Backend returned code ${error.status}, body was: `, error.error);
35
+ }
36
+ // Return an observable with a user-facing error message.
37
+ return throwError(() => new Error('Something bad happened; please try again later.'));
38
+ }
39
+
40
+ horaMinuto(general: any): Observable<any> {
41
+
42
+ const year = general.getFullYear();
43
+ const month = general.getMonth() + 1;
44
+ const day = general.getDate();
45
+ const hours = general.getHours();
46
+ const minutes = general.getMinutes();
47
+ const seconds = general.getUTCSeconds();
48
+ const milliseconds = general.getUTCMilliseconds();
49
+ const fechaFormateada = `${year}-${month.toString().padStart(2, '0')}-${day.toString().padStart(2, '0')} ${hours.toString().padStart(2, '0')}:${minutes.toString().padStart(2, '0')}:${seconds.toString().padStart(2, '0')}.${milliseconds}`;
50
+
51
+ return this.httpClient.post<any>(`${this.utilService.obtenerUrlApi()}/requieretoken/webcommon/fechaUtils/horaMinuto`, fechaFormateada).pipe(
52
+ catchError(this.handleError)
53
+ );
54
+ }
55
+
56
+ horaminutoFecha(general: any): Observable<any> {
57
+
58
+ return this.httpClient.post<any>(`${this.utilService.obtenerUrlApi()}/requieretoken/webcommon/fechaUtils/horaminutoFecha`, general).pipe(
59
+ catchError(this.handleError)
60
+ );
61
+ }
62
+
63
+ formatFecha(general: any): Observable<any> {
64
+ return this.httpClient.post<any>(`${this.utilService.obtenerUrlApi()}/requieretoken/webcommon/fechaUtils/formatFecha`, general).pipe(
65
+ catchError(this.handleError)
66
+ );
67
+ }
68
+
69
+ sumaDiaFecha(general: any): Observable<any> {
70
+ return this.httpClient.post<any>(`${this.utilService.obtenerUrlApi()}/requieretoken/webcommon/fechaUtils/sumaDiaFecha`, general).pipe(
71
+ catchError(this.handleError)
72
+ );
73
+ }
74
+
75
+ primerDiaSemana(general: any): Observable<any> {
76
+ return this.httpClient.post<any>(`${this.utilService.obtenerUrlApi()}/requieretoken/webcommon/fechaUtils/primerDiaSemana`, general).pipe(
77
+ catchError(this.handleError)
78
+ );
79
+ }
80
+
81
+ cambiarDiaSemana(general: any): Observable<any> {
82
+ return this.httpClient.post<any>(`${this.utilService.obtenerUrlApi()}/requieretoken/webcommon/fechaUtils/cambiarDiaSemana`, general).pipe(
83
+ catchError(this.handleError)
84
+ );
85
+ }
86
+
87
+ calcularHoras(general: any): Observable<any> {
88
+ return this.httpClient.post<any>(`${this.utilService.obtenerUrlApi()}/requieretoken/webcommon/fechaUtils/calcularHoras`, general).pipe(
89
+ catchError(this.handleError)
90
+ );
91
+ }
92
+
93
+ fechaTexto(general: any): Observable<any> {
94
+ return this.httpClient.post<any>(`${this.utilService.obtenerUrlApi()}/requieretoken/webcommon/fechaUtils/fechaTexto`, general).pipe(
95
+ catchError(this.handleError)
96
+ );
97
+ }
98
+
99
+ fechasTexto(general: any): Observable<any> {
100
+ return this.httpClient.post<any>(`${this.utilService.obtenerUrlApi()}/requieretoken/webcommon/fechaUtils/fechasTexto`, general).pipe(
101
+ catchError(this.handleError)
102
+ );
103
+ }
104
+
105
+ obtenerFecha(general: any): Observable<any> {
106
+ return this.httpClient.post<any>(`${this.utilService.obtenerUrlApi()}/requieretoken/webcommon/fechaUtils/obtenerFecha`, general).pipe(
107
+ catchError(this.handleError)
108
+ );
109
+ }
110
+
111
+ ultimoDiaMes(general: any): Observable<any> {
112
+ return this.httpClient.post<any>(`${this.utilService.obtenerUrlApi()}/requieretoken/webcommon/fechaUtils/ultimoDiaMes`, general).pipe(
113
+ catchError(this.handleError)
114
+ );
115
+ }
116
+
117
+ obtenerListadoAnios(fecha: Date, aniosMin: number, aniosMax: number): number[] {
118
+ const anios: number[] = [];
119
+ const anioActual = fecha.getFullYear();
120
+ const anioMax = anioActual + aniosMax;
121
+ for (let anio = anioMax; anio >= (anioActual - aniosMin); anio--) {
122
+ anios.push(anio);
123
+ }
124
+ return anios;
125
+ }
126
+
127
+ obtenerFechaSencilla(fecha: Date): Date {
128
+ const nuevaFecha = new Date(fecha);
129
+ nuevaFecha.setHours(0, 0, 0, 0);
130
+ return nuevaFecha;
131
+ }
132
+
133
+ }
@@ -0,0 +1,74 @@
1
+ import { HttpClient, HttpErrorResponse } from '@angular/common/http';
2
+ import { Injectable } from '@angular/core';
3
+ import { Observable, catchError, throwError } from 'rxjs';
4
+
5
+ import { GeneralModel } from '../../seguridad/modelos/GeneralModel';
6
+ import { ErrorIntecertorService } from '../../core/servicios/error-interceptor.service';
7
+ import { CookieService } from 'ngx-cookie-service';
8
+
9
+ @Injectable({
10
+ providedIn: 'root'
11
+ })
12
+ export class FuenteGeneralService{
13
+
14
+ listProcedure(objetoFiltro: GeneralModel) {
15
+ throw new Error('Method not implemented.');
16
+ }
17
+
18
+ constructor(private httpClient: HttpClient , private errorInterceptor : ErrorIntecertorService, private cookieService: CookieService) {
19
+ this.handleError = this.handleError.bind(this);
20
+ }
21
+
22
+ private handleError(error: HttpErrorResponse) {
23
+ if (error.status === 500) {
24
+ //Llamado a interceptor
25
+ this.errorInterceptor.showError(JSON.stringify(error.error));
26
+ // A client-side or network error occurred. Handle it accordingly.
27
+ console.error('An error occurred:', error.error);
28
+ } else {
29
+ // The backend returned an unsuccessful response code.
30
+ // The response body may contain clues as to what went wrong.
31
+ console.error(
32
+ `Backend returned code ${error.status}, body was: `, error.error);
33
+ }
34
+ // Return an observable with a user-facing error message.
35
+ return throwError(() => new Error('Something bad happened; please try again later.'));
36
+ }
37
+
38
+ getUrl(): string | null {
39
+ return this.cookieService.get('urlnucleo')
40
+ }
41
+
42
+ obtenerListaServicio(general: any): Observable<any[]> {
43
+ return this.httpClient.post<any[]>(`${this.getUrl()}/requieretoken/webcommon/obtenerListaServicio`, general).pipe(
44
+ catchError(this.handleError)
45
+ );
46
+ }
47
+ obtenerListaHomologacion(general: any): Observable<any[]> {
48
+ return this.httpClient.post<any[]>(`${this.getUrl()}/requieretoken/webcommon/obtenerListaHomologacion`, general).pipe(
49
+ catchError(this.handleError)
50
+ );
51
+ }
52
+ cargarCampos(general: any): Observable<any[]> {
53
+ return this.httpClient.post<any[]>(`${this.getUrl()}/requieretoken/webcommon/cargarCampos`, general).pipe(
54
+ catchError(this.handleError)
55
+ );
56
+ }
57
+ guardarCampos(general: any): Observable<any[]> {
58
+ return this.httpClient.post<any[]>(`${this.getUrl()}/requieretoken/webcommon/guardarCamposServicio`, general).pipe(
59
+ catchError(this.handleError)
60
+ );
61
+ }
62
+ validarCondicion(general: any): Observable<any> {
63
+ return this.httpClient.post<any>(`${this.getUrl()}/requieretoken/webcommon/validarcondicion`, general);
64
+ }
65
+ eliminarServicio(general: any): Observable<number> {
66
+ return this.httpClient.post<number>(`${this.getUrl()}/requieretoken/webcommon/eliminarServicio`, general).pipe(
67
+ catchError(this.handleError)
68
+ );
69
+ }
70
+ validarFormulaFuente(general: any): Observable<boolean> {
71
+ return this.httpClient.post<boolean>(`${this.getUrl()}/requieretoken/webcommon/validarFormulaFuente`, general);
72
+ }
73
+
74
+ }
@@ -0,0 +1,49 @@
1
+ import { HttpClient, HttpErrorResponse } from '@angular/common/http';
2
+ import { Injectable } from '@angular/core';
3
+ import { ErrorIntecertorService } from '../../core/servicios/error-interceptor.service';
4
+ import { Observable, catchError, throwError } from 'rxjs';
5
+
6
+ import { CookieService } from 'ngx-cookie-service';
7
+
8
+ @Injectable({
9
+ providedIn: 'root'
10
+ })
11
+ export class HomologacionService {
12
+
13
+ constructor(private httpClient: HttpClient , private errorInterceptor : ErrorIntecertorService, private cookieService: CookieService) {
14
+ this.handleError = this.handleError.bind(this);
15
+ }
16
+
17
+ private handleError(error: HttpErrorResponse) {
18
+ if (error.status === 500) {
19
+ //Llamado a interceptor
20
+ this.errorInterceptor.showError(JSON.stringify(error.error));
21
+ // A client-side or network error occurred. Handle it accordingly.
22
+ console.error('An error occurred:', error.error);
23
+ } else {
24
+ // The backend returned an unsuccessful response code.
25
+ // The response body may contain clues as to what went wrong.
26
+ console.error(
27
+ `Backend returned code ${error.status}, body was: `, error.error);
28
+ }
29
+ // Return an observable with a user-facing error message.
30
+ return throwError(() => new Error('Something bad happened; please try again later.'));
31
+ }
32
+
33
+ getUrl(): string | null {
34
+ return this.cookieService.get('urlnucleo')
35
+ }
36
+
37
+ obtenerListaHomologacion(general: any): Observable<any> {
38
+ return this.httpClient.post<any[]>(`${this.getUrl()}/requieretoken/sarageneral/obtenerListaHomologacion`, general).pipe(
39
+ catchError(this.handleError)
40
+ );
41
+ }
42
+
43
+ obtenerListaDestino(general: any): Observable<any> {
44
+ return this.httpClient.post<any[]>(`${this.getUrl()}/requieretoken/sarageneral/homologacion/obtenerListaDestino`, general).pipe(
45
+ catchError(this.handleError)
46
+ );
47
+ }
48
+
49
+ }
@@ -0,0 +1,165 @@
1
+ import { HttpClient, HttpErrorResponse, HttpEvent, HttpParams, HttpRequest } from '@angular/common/http';
2
+ import { Injectable } from '@angular/core';
3
+ import { Observable, catchError, throwError } from 'rxjs';
4
+ import { GeneralModel } from '../../seguridad/modelos/GeneralModel';
5
+ import { ErrorIntecertorService } from '../../core/servicios/error-interceptor.service';
6
+ import { CookieService } from 'ngx-cookie-service';
7
+
8
+ @Injectable({
9
+ providedIn: 'root'
10
+ })
11
+ export class PlantillasService {
12
+
13
+ listProcedure(objetoFiltro: GeneralModel) {
14
+ throw new Error('Method not implemented.');
15
+ }
16
+
17
+ constructor(private httpClient: HttpClient, private errorInterceptor: ErrorIntecertorService, private cookieService: CookieService) {
18
+ this.handleError = this.handleError.bind(this);
19
+ }
20
+
21
+ private handleError(error: HttpErrorResponse) {
22
+ if (error.status === 500) {
23
+ //Llamado a interceptor
24
+ this.errorInterceptor.showError(JSON.stringify(error.error));
25
+ // A client-side or network error occurred. Handle it accordingly.
26
+ console.error('An error occurred:', error.error);
27
+ } else {
28
+ // The backend returned an unsuccessful response code.
29
+ // The response body may contain clues as to what went wrong.
30
+ console.error(
31
+ `Backend returned code ${error.status}, body was: `, error.error);
32
+ }
33
+ // Return an observable with a user-facing error message.
34
+ return throwError(() => new Error('Something bad happened; please try again later.'));
35
+ }
36
+
37
+ obtenerArchivos(propiedad, aplicativo, extensiones?, anexoPropiedad?, seleccionarPadre?): Observable<any> {
38
+ let url = this.cookieService.get('urlnucleo')
39
+ let formData = new FormData();
40
+ formData.append("propiedad", propiedad);
41
+ formData.append("aplicativo", aplicativo);
42
+ formData.append("extensiones", extensiones);
43
+ formData.append("anexoPropiedad", anexoPropiedad);
44
+ formData.append("seleccionarPadre", seleccionarPadre);
45
+ return this.httpClient.post<any>(`${url}/requieretoken/plantillas/obtenerArchivos`, formData).pipe(
46
+ catchError(this.handleError)
47
+ );
48
+ }
49
+
50
+ crearCarpeta(ruta: string, rutaHija: string, nombreCarpeta: string): Observable<any> {
51
+ let url = this.cookieService.get('urlnucleo')
52
+ let formData = new FormData();
53
+ formData.append("ruta", ruta);
54
+ formData.append("rutaHija", rutaHija);
55
+ formData.append("nombreCarpeta", nombreCarpeta);
56
+ return this.httpClient.post<any>(`${url}/requieretoken/plantillas/crearCarpeta`, formData).pipe(
57
+ catchError(this.handleError)
58
+ );
59
+ }
60
+
61
+ eliminarCarpeta(ruta: string, rutaHija: string) {
62
+
63
+ let url = this.cookieService.get('urlnucleo')
64
+ let formData = new FormData();
65
+ formData.append("ruta", ruta);
66
+ formData.append("rutaHija", rutaHija);
67
+ return this.httpClient.post<any>(`${url}/requieretoken/plantillas/eliminarCarpeta`, formData).pipe(
68
+ catchError(this.handleError)
69
+ );
70
+ }
71
+
72
+ cargarDocumentoTemporal(archivoSeleccionadoAnexo: File) {
73
+
74
+ let url = this.cookieService.get('urlnucleo')
75
+ let formData = new FormData();
76
+ formData.append("archivo", archivoSeleccionadoAnexo);
77
+
78
+ return this.httpClient.post<any>(`${url}/requieretoken/plantillas/cargarDocumentoTemporal`, formData).pipe(
79
+ catchError(this.handleError)
80
+ );
81
+ }
82
+
83
+ existeDocumento(ruta: string, rutaHija: string, informacionArchivo: any) {
84
+
85
+ let parametrosArchivo = { ...informacionArchivo };
86
+
87
+ let url = this.cookieService.get('urlnucleo');
88
+ let formData = new FormData();
89
+ formData.append("ruta", ruta);
90
+ formData.append("rutaHija", rutaHija);
91
+ formData.append("file", String(parametrosArchivo.file));
92
+ parametrosArchivo.file = null;
93
+ formData.append("informacionArchivo", JSON.stringify(parametrosArchivo));
94
+
95
+ return this.httpClient.post<any>(`${url}/requieretoken/plantillas/existeDocumento`, formData).pipe(
96
+ catchError(this.handleError)
97
+ );
98
+ }
99
+
100
+ cargarDocumento(ruta: string, rutaHija: string, informacionArchivo: any) {
101
+
102
+ let parametrosArchivo = { ...informacionArchivo };
103
+
104
+ let url = this.cookieService.get('urlnucleo');
105
+ let formData = new FormData();
106
+ formData.append("ruta", ruta);
107
+ formData.append("rutaHija", rutaHija);
108
+ formData.append("file", String(parametrosArchivo.file));
109
+ parametrosArchivo.file = null;
110
+ formData.append("informacionArchivo", JSON.stringify(parametrosArchivo));
111
+
112
+ return this.httpClient.post<any>(`${url}/requieretoken/plantillas/cargarDocumento`, formData).pipe(
113
+ catchError(this.handleError)
114
+ );
115
+ }
116
+
117
+ consultarListadoPlanillasAConvertir(rutaPlantilla: string, filtro: string): Observable<any[]> {
118
+ let url = this.cookieService.get('urlnucleo')
119
+ let formData = new FormData();
120
+ formData.append("rutaPlantilla", rutaPlantilla);
121
+ formData.append("filtro", filtro);
122
+
123
+ return this.httpClient.post<any>(`${url}/requieretoken/plantillas/consultarlistadoplanillasaconvertir`, formData).pipe(
124
+ catchError(this.handleError)
125
+ );
126
+ }
127
+
128
+ convertirArchivo(listaSeleccionados: any[]): Observable<unknown> {
129
+ let url = this.cookieService.get('urlnucleo')
130
+ let formData = new FormData();
131
+ formData.append("listaSeleccionados", JSON.stringify(listaSeleccionados));
132
+
133
+ return this.httpClient.post<any>(`${url}/requieretoken/plantillas/convertirArchivo`, formData).pipe(
134
+ catchError(this.handleError)
135
+ );
136
+ }
137
+
138
+ consultarArchivoHtml(rutaPrincipal: string, rutaHija: any): Observable<string> {
139
+ let url = this.cookieService.get('urlnucleo')
140
+ let formData = new FormData();
141
+ formData.append("rutaPrincipal", rutaPrincipal);
142
+ formData.append("rutaHija", rutaHija);
143
+
144
+ return this.httpClient.post<string>(`${url}/requieretoken/plantillas/consultarArchivoHtml`, formData, {
145
+ responseType: 'text' as 'json'
146
+ }).pipe(
147
+ catchError(this.handleError)
148
+ );
149
+ }
150
+
151
+ guardarArchivoHtml(rutaPrincipal: string, rutaHija: any, modificarHTML: string): Observable<unknown> {
152
+ let url = this.cookieService.get('urlnucleo')
153
+ let formData = new FormData();
154
+ formData.append("rutaPrincipal", rutaPrincipal);
155
+ formData.append("rutaHija", rutaHija);
156
+ formData.append("modificarHTML", modificarHTML);
157
+
158
+ return this.httpClient.post<string>(`${url}/requieretoken/plantillas/guardarArchivoHtml`, formData, {
159
+ responseType: 'text' as 'json'
160
+ }).pipe(
161
+ catchError(this.handleError)
162
+ );
163
+ }
164
+
165
+ }