general-library-union 2.3.35 → 2.3.36

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (594) hide show
  1. package/.browserslistrc +15 -0
  2. package/.editorconfig +16 -0
  3. package/.vscode/extensions.json +4 -0
  4. package/.vscode/launch.json +20 -0
  5. package/.vscode/tasks.json +42 -0
  6. package/angular.json +130 -0
  7. package/karma.conf.js +44 -0
  8. package/ng-package.json +21 -0
  9. package/package.json +68 -57
  10. package/{public-api.d.ts → public-api.ts} +188 -154
  11. package/src/app/app.component.html +0 -0
  12. package/src/app/app.component.scss +0 -0
  13. package/src/app/app.component.spec.ts +29 -0
  14. package/src/app/app.component.ts +12 -0
  15. package/src/app/app.config.ts +8 -0
  16. package/src/app/app.module.ts +10 -0
  17. package/src/app/app.routes.ts +3 -0
  18. package/src/app/core/componentes/breadcrumb/breadcrumb.component.html +6 -0
  19. package/src/app/core/componentes/breadcrumb/breadcrumb.component.scss +0 -0
  20. package/src/app/core/componentes/breadcrumb/breadcrumb.component.ts +34 -0
  21. package/src/app/core/componentes/carga-breadcrumb/carga-breadcrumb.component.html +1 -0
  22. package/src/app/core/componentes/carga-breadcrumb/carga-breadcrumb.component.scss +0 -0
  23. package/src/app/core/componentes/carga-breadcrumb/carga-breadcrumb.component.ts +31 -0
  24. package/src/app/core/componentes/carga-pantalla-completa/carga-pantalla-completa.component.html +9 -0
  25. package/src/app/core/componentes/carga-pantalla-completa/carga-pantalla-completa.component.scss +28 -0
  26. package/src/app/core/componentes/carga-pantalla-completa/carga-pantalla-completa.component.ts +32 -0
  27. package/src/app/core/componentes/filtro-general/filtro-general.component.html +34 -0
  28. package/src/app/core/componentes/filtro-general/filtro-general.component.scss +3 -0
  29. package/src/app/core/componentes/filtro-general/filtro-general.component.ts +154 -0
  30. package/src/app/core/componentes/footer/footer.component.html +19 -0
  31. package/src/app/core/componentes/footer/footer.component.scss +3 -0
  32. package/src/app/core/componentes/footer/footer.component.ts +24 -0
  33. package/src/app/core/componentes/formulariodinamico/formulariodinamico.component.html +267 -0
  34. package/src/app/core/componentes/formulariodinamico/formulariodinamico.component.scss +21 -0
  35. package/src/app/core/componentes/formulariodinamico/formulariodinamico.component.ts +275 -0
  36. package/src/app/core/componentes/formulariodinamico/objetosformulario/{Cambio.d.ts → Cambio.ts} +13 -7
  37. package/src/app/core/componentes/formulariodinamico/objetosformulario/CampoFormulario.ts +118 -0
  38. package/src/app/core/componentes/formulariodinamico/objetosformulario/CampoFormularioCons.ts +76 -0
  39. package/src/app/core/componentes/formulariodinamico/objetosformulario/CampoFormularioNuevo.ts +67 -0
  40. package/src/app/core/componentes/formulariodinamico/objetosformulario/HashDirective.ts +11 -0
  41. package/src/app/core/componentes/inicio-component/inicio-component.component.html +29 -0
  42. package/src/app/core/componentes/inicio-component/inicio-component.component.scss +69 -0
  43. package/src/app/core/componentes/inicio-component/inicio-component.component.ts +65 -0
  44. package/src/app/core/componentes/menu/menu.component.html +13 -0
  45. package/src/app/core/componentes/menu/menu.component.scss +36 -0
  46. package/src/app/core/componentes/menu/menu.component.ts +35 -0
  47. package/src/app/core/componentes/tabla-general/tabla-general.component.html +90 -0
  48. package/src/app/core/componentes/tabla-general/tabla-general.component.scss +0 -0
  49. package/src/app/core/componentes/tabla-general/tabla-general.component.ts +96 -0
  50. package/src/app/core/core.module.ts +22 -0
  51. package/src/app/core/errores/authentication.error.ts +6 -0
  52. package/src/app/core/modelos/error-response.model.ts +9 -0
  53. package/src/app/core/modelos/table-column.model.ts +10 -0
  54. package/src/app/core/modelos/user.model.ts +6 -0
  55. package/src/app/core/plantilla-general/plantilla-general.template.html +139 -0
  56. package/src/app/core/plantilla-general/plantilla-general.template.scss +37 -0
  57. package/src/app/core/plantilla-general/plantilla-general.template.ts +229 -0
  58. package/src/app/core/servicios/auth.service.ts +183 -0
  59. package/src/app/core/servicios/cargar-control-funcionalidad.service.ts +49 -0
  60. package/src/app/core/servicios/data-exporter-table.utils.ts +55 -0
  61. package/src/app/core/servicios/error-interceptor.service.ts +145 -0
  62. package/src/app/core/servicios/guardias/auth.guard.ts +51 -0
  63. package/src/app/core/servicios/guardias/publico.guard.ts +22 -0
  64. package/src/app/core/servicios/interceptores/token-interceptor.service.ts +110 -0
  65. package/src/app/core/servicios/loading.service.ts +48 -0
  66. package/src/app/core/servicios/menu.service.ts +89 -0
  67. package/src/app/core/servicios/storage.service.ts +68 -0
  68. package/src/app/core/servicios/template.service.ts +91 -0
  69. package/src/app/core/servicios/toast.service.ts +89 -0
  70. package/src/app/core/servicios/utils.service.ts +331 -0
  71. package/src/app/core/sharedlib.module.ts +11 -0
  72. package/src/app/core/utilidades/color.util.ts +197 -0
  73. package/src/app/layout/api/{menuchangeevent.d.ts → menuchangeevent.ts} +4 -4
  74. package/src/app/layout/app.breadcrumb.component.html +20 -0
  75. package/src/app/layout/app.breadcrumb.component.ts +74 -0
  76. package/src/app/layout/app.footer.component.html +18 -0
  77. package/src/app/layout/app.footer.component.ts +15 -0
  78. package/src/app/layout/app.layout.component.html +20 -0
  79. package/src/app/layout/app.layout.component.ts +201 -0
  80. package/src/app/layout/app.layout.module.ts +9 -0
  81. package/src/app/layout/app.menu.component.html +6 -0
  82. package/src/app/layout/app.menu.component.ts +40 -0
  83. package/src/app/layout/app.menu.service.ts +23 -0
  84. package/src/app/layout/app.menuitem.component.ts +250 -0
  85. package/src/app/layout/app.menuprofile.component.html +35 -0
  86. package/src/app/layout/app.menuprofile.component.ts +60 -0
  87. package/src/app/layout/app.rightmenu.component.html +72 -0
  88. package/src/app/layout/app.rightmenu.component.ts +24 -0
  89. package/src/app/layout/app.sidebar.component.html +40 -0
  90. package/src/app/layout/app.sidebar.component.ts +80 -0
  91. package/src/app/layout/app.topbar.component.html +214 -0
  92. package/src/app/layout/app.topbar.component.ts +326 -0
  93. package/src/app/layout/config/app.config.component.html +125 -0
  94. package/src/app/layout/config/app.config.component.ts +206 -0
  95. package/src/app/layout/config/app.config.module.ts +11 -0
  96. package/src/app/layout/service/app.layout.service.ts +191 -0
  97. package/src/app/publico/pages/login/login.page.html +53 -0
  98. package/src/app/publico/pages/login/login.page.scss +122 -0
  99. package/src/app/publico/pages/login/login.page.ts +127 -0
  100. package/src/app/publico/pages/not-found/not-found.page.html +25 -0
  101. package/src/app/publico/pages/not-found/not-found.page.scss +2 -0
  102. package/src/app/publico/pages/not-found/not-found.page.ts +41 -0
  103. package/src/app/publico/pages/seleccion-rol/seleccion-rol.component.html +58 -0
  104. package/src/app/publico/pages/seleccion-rol/seleccion-rol.component.scss +49 -0
  105. package/src/app/publico/pages/seleccion-rol/seleccion-rol.component.ts +169 -0
  106. package/src/app/publico/pages/timeout/timeout.page.html +21 -0
  107. package/src/app/publico/pages/timeout/timeout.page.scss +2 -0
  108. package/src/app/publico/pages/timeout/timeout.page.ts +18 -0
  109. package/src/app/seguridad/constantes/ConstantesGenerales.ts +30 -0
  110. package/src/app/seguridad/constantes/ReporteEntradaConstantes.ts +18 -0
  111. package/src/app/seguridad/constantes/ReporteFuenteConstantes.ts +13 -0
  112. package/src/app/seguridad/modelos/AplicacionModel.ts +11 -0
  113. package/src/app/seguridad/modelos/ArchivoPortalModel.ts +16 -0
  114. package/src/app/seguridad/modelos/AtributoPuntoModel.ts +9 -0
  115. package/src/app/seguridad/modelos/AtributoSSOportalModel.ts +22 -0
  116. package/src/app/seguridad/modelos/{AuditoriaArchivoModel.d.ts → AuditoriaArchivoModel.ts} +13 -10
  117. package/src/app/seguridad/modelos/CargueLineaModel.ts +17 -0
  118. package/src/app/seguridad/modelos/ColoresRGB.ts +17 -0
  119. package/src/app/seguridad/modelos/ComplementoModel.ts +10 -0
  120. package/src/app/seguridad/modelos/ComponentePaginaModel.ts +22 -0
  121. package/src/app/seguridad/modelos/ConexionModel.ts +15 -0
  122. package/src/app/seguridad/modelos/{ContenidoHtmlPortalModel.d.ts → ContenidoHtmlPortalModel.ts} +25 -20
  123. package/src/app/seguridad/modelos/ControlFuncionModel.ts +10 -0
  124. package/src/app/seguridad/modelos/CorreoModel.ts +45 -0
  125. package/src/app/seguridad/modelos/CorreoWSModel.ts +49 -0
  126. package/src/app/seguridad/modelos/CruceRecursoPuntoModel.ts +14 -0
  127. package/src/app/seguridad/modelos/{DatoInicioModel.d.ts → DatoInicioModel.ts} +7 -6
  128. package/src/app/seguridad/modelos/{EjecucionReporteDataModel.d.ts → EjecucionReporteDataModel.ts} +21 -20
  129. package/src/app/seguridad/modelos/EmpresaModel.ts +25 -0
  130. package/src/app/seguridad/modelos/EmpresaSeguridadModel.ts +19 -0
  131. package/src/app/seguridad/modelos/{EntradaComplementoModel.d.ts → EntradaComplementoModel.ts} +9 -6
  132. package/src/app/seguridad/modelos/EtiquetaModel.ts +4 -0
  133. package/src/app/seguridad/modelos/Etiquetas.ts +14 -0
  134. package/src/app/seguridad/modelos/FuenteCampoAtributoModel.ts +21 -0
  135. package/src/app/seguridad/modelos/{FuenteCampoModel.d.ts → FuenteCampoModel.ts} +20 -16
  136. package/src/app/seguridad/modelos/FuenteDato.ts +19 -0
  137. package/src/app/seguridad/modelos/FuenteEntradaModel.ts +9 -0
  138. package/src/app/seguridad/modelos/{FuenteGeneralModel.d.ts → FuenteGeneralModel.ts} +55 -36
  139. package/src/app/seguridad/modelos/FuenteLineaServicioModel.ts +19 -0
  140. package/src/app/seguridad/modelos/FuenteProcesoGeneralModel.ts +14 -0
  141. package/src/app/seguridad/modelos/{FuenteServicioModel.d.ts → FuenteServicioModel.ts} +61 -47
  142. package/src/app/seguridad/modelos/FuncionalidadModel.ts +12 -0
  143. package/src/app/seguridad/modelos/GeneralModel.ts +16 -0
  144. package/src/app/seguridad/modelos/{GrupoAccesoModel.d.ts → GrupoAccesoModel.ts} +9 -6
  145. package/src/app/seguridad/modelos/GrupoControlFuncionModel.ts +12 -0
  146. package/src/app/seguridad/modelos/GrupoFuenteModel.ts +17 -0
  147. package/src/app/seguridad/modelos/GrupoPermisoModel.ts +16 -0
  148. package/src/app/seguridad/modelos/ListaServicioModel.ts +18 -0
  149. package/src/app/seguridad/modelos/LoginModel.ts +19 -0
  150. package/src/app/seguridad/modelos/MensajeSistemaModel.ts +10 -0
  151. package/src/app/seguridad/modelos/{MenuPortalModel.d.ts → MenuPortalModel.ts} +5 -4
  152. package/src/app/seguridad/modelos/ModulosModel.ts +17 -0
  153. package/src/app/seguridad/modelos/PaginaPortalModel.ts +23 -0
  154. package/src/app/seguridad/modelos/ParametroComponenteModel.ts +9 -0
  155. package/src/app/seguridad/modelos/ParametrosGeneralModel.ts +16 -0
  156. package/src/app/seguridad/modelos/PermisoFuncionModel.ts +11 -0
  157. package/src/app/seguridad/modelos/PermisocontenidoModel.ts +20 -0
  158. package/src/app/seguridad/modelos/{PeticionModel.d.ts → PeticionModel.ts} +20 -15
  159. package/src/app/seguridad/modelos/PreguntaSeguridadModel.ts +9 -0
  160. package/src/app/seguridad/modelos/PropiedadModel.ts +12 -0
  161. package/src/app/seguridad/modelos/PublicacionWebModel.ts +29 -0
  162. package/src/app/seguridad/modelos/PuntoProcesoModel.ts +7 -0
  163. package/src/app/seguridad/modelos/RecursoPunto.ts +13 -0
  164. package/src/app/seguridad/modelos/RecursoPuntoModel.ts +13 -0
  165. package/src/app/seguridad/modelos/ReporteBanda.ts +9 -0
  166. package/src/app/seguridad/modelos/ReporteColumna.ts +33 -0
  167. package/src/app/seguridad/modelos/ReporteColumnario.ts +82 -0
  168. package/src/app/seguridad/modelos/ReporteColumnarioMarcador.ts +31 -0
  169. package/src/app/seguridad/modelos/{ReporteEntradaModel.d.ts → ReporteEntradaModel.ts} +21 -19
  170. package/src/app/seguridad/modelos/{ReporteFuenteModel.d.ts → ReporteFuenteModel.ts} +141 -87
  171. package/src/app/seguridad/modelos/ReporteMarcador.ts +40 -0
  172. package/src/app/seguridad/modelos/ReporteSoporte.ts +10 -0
  173. package/src/app/seguridad/modelos/ReporteTabla.ts +14 -0
  174. package/src/app/seguridad/modelos/RespuestaModel.ts +10 -0
  175. package/src/app/seguridad/modelos/{RolModel.d.ts → RolModel.ts} +41 -37
  176. package/src/app/seguridad/modelos/ServidorCorreoModel.ts +31 -0
  177. package/src/app/seguridad/modelos/SistemaMensajeModel.ts +11 -0
  178. package/src/app/seguridad/modelos/SitioPortalModel.ts +29 -0
  179. package/src/app/seguridad/modelos/TareasModel.ts +54 -0
  180. package/src/app/seguridad/modelos/TextoModel.ts +11 -0
  181. package/src/app/seguridad/modelos/TipoEtiqueta.ts +8 -0
  182. package/src/app/seguridad/modelos/UnionModel.ts +14 -0
  183. package/src/app/seguridad/modelos/{UsuarioModel.d.ts → UsuarioModel.ts} +60 -49
  184. package/src/app/seguridad/modelos/UsuariogrupoModel.ts +27 -0
  185. package/src/app/seguridad/modelos/aplicacion-propiedad-model.ts +16 -0
  186. package/src/app/seguridad/modelos/contenidoCorreoModel.ts +13 -0
  187. package/src/app/shared/componentes/input-helper-seleccion-plantilla/input-helper-seleccion-plantilla.component.html +47 -0
  188. package/src/app/shared/componentes/input-helper-seleccion-plantilla/input-helper-seleccion-plantilla.component.scss +8 -0
  189. package/src/app/shared/componentes/input-helper-seleccion-plantilla/input-helper-seleccion-plantilla.component.ts +141 -0
  190. package/src/app/shared/servicios/cargar-archivos.service.ts +51 -0
  191. package/src/app/shared/servicios/cargar-mapas.service.ts +43 -0
  192. package/src/app/shared/servicios/encriptado-basico.service.ts +54 -0
  193. package/src/app/shared/servicios/encriptador-simetrico.service.ts +29 -0
  194. package/src/app/shared/servicios/general.service.ts +124 -0
  195. package/src/app/shared/servicios/parametros-navegacion.service.ts +20 -0
  196. package/src/app/shared/servicios/plantillas.service.ts +22 -0
  197. package/src/app/webcommon/pages/ejecucion-reporte/detalle-campo-reporte/detalle-campo-reporte.component.html +87 -0
  198. package/src/app/webcommon/pages/ejecucion-reporte/detalle-campo-reporte/detalle-campo-reporte.component.scss +0 -0
  199. package/src/app/webcommon/pages/ejecucion-reporte/detalle-campo-reporte/detalle-campo-reporte.component.ts +189 -0
  200. package/src/app/webcommon/pages/ejecucion-reporte/detalle-distribucion-reporte/detalle-distribucion-reporte.component.html +117 -0
  201. package/src/app/webcommon/pages/ejecucion-reporte/detalle-distribucion-reporte/detalle-distribucion-reporte.component.scss +0 -0
  202. package/src/app/webcommon/pages/ejecucion-reporte/detalle-distribucion-reporte/detalle-distribucion-reporte.component.ts +87 -0
  203. package/src/app/webcommon/pages/ejecucion-reporte/detalle-ejecucion-reporte/detalle-ejecucion-reporte.page.html +158 -0
  204. package/src/app/webcommon/pages/ejecucion-reporte/detalle-ejecucion-reporte/detalle-ejecucion-reporte.page.scss +6 -0
  205. package/src/app/webcommon/pages/ejecucion-reporte/detalle-ejecucion-reporte/detalle-ejecucion-reporte.page.ts +345 -0
  206. package/src/app/webcommon/pages/ejecucion-reporte/detalle-entrada-reporte/detalle-entrada-reporte.component.html +131 -0
  207. package/src/app/webcommon/pages/ejecucion-reporte/detalle-entrada-reporte/detalle-entrada-reporte.component.scss +0 -0
  208. package/src/app/webcommon/pages/ejecucion-reporte/detalle-entrada-reporte/detalle-entrada-reporte.component.ts +198 -0
  209. package/src/app/webcommon/pages/ejecucion-reporte/detalle-punto-proceso-reporte/detalle-punto-proceso-reporte.component.html +206 -0
  210. package/src/app/webcommon/pages/ejecucion-reporte/detalle-punto-proceso-reporte/detalle-punto-proceso-reporte.component.scss +3 -0
  211. package/src/app/webcommon/pages/ejecucion-reporte/detalle-punto-proceso-reporte/detalle-punto-proceso-reporte.component.ts +329 -0
  212. package/src/app/webcommon/pages/ejecucion-reporte/detalle-tipo-reporte/detalle-tipo-reporte.component.html +1940 -0
  213. package/src/app/webcommon/pages/ejecucion-reporte/detalle-tipo-reporte/detalle-tipo-reporte.component.scss +241 -0
  214. package/src/app/webcommon/pages/ejecucion-reporte/detalle-tipo-reporte/detalle-tipo-reporte.component.ts +1550 -0
  215. package/src/app/webcommon/pages/ejecucion-reporte/listado-ejecucion-reporte/listado-ejecucion-reporte.page.html +33 -0
  216. package/src/app/webcommon/pages/ejecucion-reporte/listado-ejecucion-reporte/listado-ejecucion-reporte.page.scss +0 -0
  217. package/src/app/webcommon/pages/ejecucion-reporte/listado-ejecucion-reporte/listado-ejecucion-reporte.page.ts +96 -0
  218. package/src/app/webcommon/pages/ejecucion-reporte-externo/listado-ejecucion-reporte-externo/listado-ejecucion-reporte-externo.component.html +47 -0
  219. package/src/app/webcommon/pages/ejecucion-reporte-externo/listado-ejecucion-reporte-externo/listado-ejecucion-reporte-externo.component.scss +0 -0
  220. package/src/app/webcommon/pages/ejecucion-reporte-externo/listado-ejecucion-reporte-externo/listado-ejecucion-reporte-externo.component.ts +95 -0
  221. package/src/app/webcommon/pages/fuente/importar-fuente-con/importar-fuente-con.component.html +391 -0
  222. package/src/app/webcommon/pages/fuente/importar-fuente-con/importar-fuente-con.component.scss +10 -0
  223. package/src/app/webcommon/pages/fuente/importar-fuente-con/importar-fuente-con.component.ts +612 -0
  224. package/src/app/webcommon/pages/fuente/importar-fuente-general/importar-fuente-general.component.html +130 -0
  225. package/src/app/webcommon/pages/fuente/importar-fuente-general/importar-fuente-general.component.scss +0 -0
  226. package/src/app/webcommon/pages/fuente/importar-fuente-general/importar-fuente-general.component.ts +172 -0
  227. package/src/app/webcommon/pages/fuenteGeneral/fuente-general-servicio/fuente-general-servicio.component.html +145 -0
  228. package/src/app/webcommon/pages/fuenteGeneral/fuente-general-servicio/fuente-general-servicio.component.scss +0 -0
  229. package/src/app/webcommon/pages/fuenteGeneral/fuente-general-servicio/fuente-general-servicio.component.ts +300 -0
  230. package/src/app/webcommon/pages/fuenteGeneral/listado-fuente-general/listado-fuente-general.page.html +19 -0
  231. package/src/app/webcommon/pages/fuenteGeneral/listado-fuente-general/listado-fuente-general.page.scss +0 -0
  232. package/src/app/webcommon/pages/fuenteGeneral/listado-fuente-general/listado-fuente-general.page.ts +86 -0
  233. package/src/app/webcommon/pages/fuenteGeneral/mantenimiento-fuente-general/mantenimiento-fuente-general.page.html +703 -0
  234. package/src/app/webcommon/pages/fuenteGeneral/mantenimiento-fuente-general/mantenimiento-fuente-general.page.scss +0 -0
  235. package/src/app/webcommon/pages/fuenteGeneral/mantenimiento-fuente-general/mantenimiento-fuente-general.page.ts +682 -0
  236. package/src/app/webcommon/pipes/fuente.pipe.ts +207 -0
  237. package/src/app/webcommon/pipes/general.pipe.ts +1034 -0
  238. package/src/app/webcommon/pipes/reporte-columnario.pipe.ts +101 -0
  239. package/src/app/webcommon/pipes/reporte-fuente.pipe.ts +300 -0
  240. package/src/app/webcommon/pipes/sara-general.pipe.ts +289 -0
  241. package/src/app/webcommon/popups/popup-campos-fuente-general/popup-campos-fuente-general.component.html +90 -0
  242. package/src/app/webcommon/popups/popup-campos-fuente-general/popup-campos-fuente-general.component.scss +0 -0
  243. package/src/app/webcommon/popups/popup-campos-fuente-general/popup-campos-fuente-general.component.ts +248 -0
  244. package/src/app/webcommon/popups/popup-punto-proceso/popup-punto-proceso.component.html +41 -0
  245. package/src/app/webcommon/popups/popup-punto-proceso/popup-punto-proceso.component.scss +0 -0
  246. package/src/app/webcommon/popups/popup-punto-proceso/popup-punto-proceso.component.ts +283 -0
  247. package/src/app/webcommon/popups/popup-recurso/popup-recurso.component.html +175 -0
  248. package/src/app/webcommon/popups/popup-recurso/popup-recurso.component.scss +3 -0
  249. package/src/app/webcommon/popups/popup-recurso/popup-recurso.component.ts +265 -0
  250. package/src/app/webcommon/popups/popup-reporte/popup-reporte.component.html +261 -0
  251. package/src/app/webcommon/popups/popup-reporte/popup-reporte.component.scss +13 -0
  252. package/src/app/webcommon/popups/popup-reporte/popup-reporte.component.ts +512 -0
  253. package/src/app/webcommon/popups/popup-sentencia/popup-sentencia.component.html +10 -0
  254. package/src/app/webcommon/popups/popup-sentencia/popup-sentencia.component.scss +5 -0
  255. package/src/app/webcommon/popups/popup-sentencia/popup-sentencia.component.ts +58 -0
  256. package/src/app/webcommon/popups/punto-proceso-comp/punto-proceso-comp.component.html +11 -0
  257. package/src/app/webcommon/popups/punto-proceso-comp/punto-proceso-comp.component.scss +0 -0
  258. package/src/app/webcommon/popups/punto-proceso-comp/punto-proceso-comp.component.ts +82 -0
  259. package/src/app/webcommon/services/carguelinea.service.ts +72 -0
  260. package/src/app/webcommon/services/ejecucionreporte.service.ts +158 -0
  261. package/src/app/webcommon/services/fechaUtils.service.ts +120 -0
  262. package/src/app/webcommon/services/fuentegeneral.service.ts +74 -0
  263. package/src/app/webcommon/services/homologacion.service.ts +49 -0
  264. package/src/app/webcommon/services/plantillas.service.ts +49 -0
  265. package/src/app/webcommon/services/reportes.service.ts +60 -0
  266. package/src/app/webcommon/webcommon.module.ts +11 -0
  267. package/src/environments/environment.prod.ts +3 -0
  268. package/src/environments/environment.ts +23 -0
  269. package/src/favicon.ico +0 -0
  270. package/src/index.html +14 -0
  271. package/src/main.ts +6 -0
  272. package/src/polyfills.ts +53 -0
  273. package/src/styles/primeng/sass/overrides/_theme_styles.scss +2 -0
  274. package/src/styles/primeng/sass/overrides/_theme_styles_dark.scss +2 -0
  275. package/src/test.ts +14 -0
  276. package/tsconfig.app.json +15 -0
  277. package/tsconfig.json +35 -0
  278. package/tsconfig.spec.json +18 -0
  279. package/esm2022/general-library-union.mjs +0 -5
  280. package/esm2022/public-api.mjs +0 -170
  281. package/esm2022/src/app/core/componentes/breadcrumb/breadcrumb.component.mjs +0 -35
  282. package/esm2022/src/app/core/componentes/carga-pantalla-completa/carga-pantalla-completa.component.mjs +0 -28
  283. package/esm2022/src/app/core/componentes/filtro-general/filtro-general.component.mjs +0 -153
  284. package/esm2022/src/app/core/componentes/footer/footer.component.mjs +0 -22
  285. package/esm2022/src/app/core/componentes/formulariodinamico/formulariodinamico.component.mjs +0 -272
  286. package/esm2022/src/app/core/componentes/formulariodinamico/objetosformulario/Cambio.mjs +0 -11
  287. package/esm2022/src/app/core/componentes/formulariodinamico/objetosformulario/CampoFormulario.mjs +0 -124
  288. package/esm2022/src/app/core/componentes/formulariodinamico/objetosformulario/CampoFormularioCons.mjs +0 -73
  289. package/esm2022/src/app/core/componentes/formulariodinamico/objetosformulario/CampoFormularioNuevo.mjs +0 -59
  290. package/esm2022/src/app/core/componentes/formulariodinamico/objetosformulario/HashDirective.mjs +0 -21
  291. package/esm2022/src/app/core/componentes/inicio-component/inicio-component.component.mjs +0 -67
  292. package/esm2022/src/app/core/componentes/menu/menu.component.mjs +0 -37
  293. package/esm2022/src/app/core/componentes/tabla-general/tabla-general.component.mjs +0 -93
  294. package/esm2022/src/app/core/core.module.mjs +0 -23
  295. package/esm2022/src/app/core/errores/authentication.error.mjs +0 -7
  296. package/esm2022/src/app/core/modelos/error-response.model.mjs +0 -2
  297. package/esm2022/src/app/core/modelos/table-column.model.mjs +0 -2
  298. package/esm2022/src/app/core/modelos/user.model.mjs +0 -7
  299. package/esm2022/src/app/core/plantilla-general/plantilla-general.template.mjs +0 -225
  300. package/esm2022/src/app/core/servicios/auth.service.mjs +0 -180
  301. package/esm2022/src/app/core/servicios/cargar-control-funcionalidad.service.mjs +0 -57
  302. package/esm2022/src/app/core/servicios/data-exporter-table.utils.mjs +0 -44
  303. package/esm2022/src/app/core/servicios/error-interceptor.service.mjs +0 -147
  304. package/esm2022/src/app/core/servicios/guardias/auth.guard.mjs +0 -66
  305. package/esm2022/src/app/core/servicios/guardias/publico.guard.mjs +0 -30
  306. package/esm2022/src/app/core/servicios/interceptores/token-interceptor.service.mjs +0 -120
  307. package/esm2022/src/app/core/servicios/loading.service.mjs +0 -43
  308. package/esm2022/src/app/core/servicios/menu.service.mjs +0 -88
  309. package/esm2022/src/app/core/servicios/storage.service.mjs +0 -68
  310. package/esm2022/src/app/core/servicios/template.service.mjs +0 -99
  311. package/esm2022/src/app/core/servicios/toast.service.mjs +0 -91
  312. package/esm2022/src/app/core/servicios/utils.service.mjs +0 -305
  313. package/esm2022/src/app/core/sharedlib.module.mjs +0 -16
  314. package/esm2022/src/app/core/utilidades/color.util.mjs +0 -177
  315. package/esm2022/src/app/layout/api/menuchangeevent.mjs +0 -2
  316. package/esm2022/src/app/layout/app.breadcrumb.component.mjs +0 -66
  317. package/esm2022/src/app/layout/app.footer.component.mjs +0 -21
  318. package/esm2022/src/app/layout/app.layout.component.mjs +0 -188
  319. package/esm2022/src/app/layout/app.layout.module.mjs +0 -15
  320. package/esm2022/src/app/layout/app.menu.component.mjs +0 -40
  321. package/esm2022/src/app/layout/app.menu.service.mjs +0 -24
  322. package/esm2022/src/app/layout/app.menuitem.component.mjs +0 -295
  323. package/esm2022/src/app/layout/app.menuprofile.component.mjs +0 -78
  324. package/esm2022/src/app/layout/app.rightmenu.component.mjs +0 -24
  325. package/esm2022/src/app/layout/app.sidebar.component.mjs +0 -91
  326. package/esm2022/src/app/layout/app.topbar.component.mjs +0 -334
  327. package/esm2022/src/app/layout/service/app.layout.service.mjs +0 -134
  328. package/esm2022/src/app/publico/pages/login/login.page.mjs +0 -127
  329. package/esm2022/src/app/publico/pages/not-found/not-found.page.mjs +0 -47
  330. package/esm2022/src/app/publico/pages/seleccion-rol/seleccion-rol.component.mjs +0 -159
  331. package/esm2022/src/app/publico/pages/timeout/timeout.page.mjs +0 -20
  332. package/esm2022/src/app/seguridad/modelos/AplicacionModel.mjs +0 -8
  333. package/esm2022/src/app/seguridad/modelos/ArchivoPortalModel.mjs +0 -14
  334. package/esm2022/src/app/seguridad/modelos/AtributoPuntoModel.mjs +0 -9
  335. package/esm2022/src/app/seguridad/modelos/AtributoSSOportalModel.mjs +0 -17
  336. package/esm2022/src/app/seguridad/modelos/AuditoriaArchivoModel.mjs +0 -11
  337. package/esm2022/src/app/seguridad/modelos/CargueLineaModel.mjs +0 -13
  338. package/esm2022/src/app/seguridad/modelos/ColoresRGB.mjs +0 -18
  339. package/esm2022/src/app/seguridad/modelos/ComplementoModel.mjs +0 -7
  340. package/esm2022/src/app/seguridad/modelos/ComponentePaginaModel.mjs +0 -21
  341. package/esm2022/src/app/seguridad/modelos/ConexionModel.mjs +0 -14
  342. package/esm2022/src/app/seguridad/modelos/ContenidoHtmlPortalModel.mjs +0 -21
  343. package/esm2022/src/app/seguridad/modelos/ControlFuncionModel.mjs +0 -8
  344. package/esm2022/src/app/seguridad/modelos/CorreoModel.mjs +0 -35
  345. package/esm2022/src/app/seguridad/modelos/CorreoWSModel.mjs +0 -37
  346. package/esm2022/src/app/seguridad/modelos/CruceRecursoPuntoModel.mjs +0 -14
  347. package/esm2022/src/app/seguridad/modelos/DatoInicioModel.mjs +0 -6
  348. package/esm2022/src/app/seguridad/modelos/EjecucionReporteDataModel.mjs +0 -14
  349. package/esm2022/src/app/seguridad/modelos/EmpresaModel.mjs +0 -25
  350. package/esm2022/src/app/seguridad/modelos/EmpresaSeguridadModel.mjs +0 -19
  351. package/esm2022/src/app/seguridad/modelos/EntradaComplementoModel.mjs +0 -7
  352. package/esm2022/src/app/seguridad/modelos/EtiquetaModel.mjs +0 -5
  353. package/esm2022/src/app/seguridad/modelos/Etiquetas.mjs +0 -12
  354. package/esm2022/src/app/seguridad/modelos/FuenteCampoAtributoModel.mjs +0 -16
  355. package/esm2022/src/app/seguridad/modelos/FuenteCampoModel.mjs +0 -17
  356. package/esm2022/src/app/seguridad/modelos/FuenteDato.mjs +0 -19
  357. package/esm2022/src/app/seguridad/modelos/FuenteEntradaModel.mjs +0 -9
  358. package/esm2022/src/app/seguridad/modelos/FuenteGeneralModel.mjs +0 -37
  359. package/esm2022/src/app/seguridad/modelos/FuenteLineaServicioModel.mjs +0 -16
  360. package/esm2022/src/app/seguridad/modelos/FuenteProcesoGeneralModel.mjs +0 -11
  361. package/esm2022/src/app/seguridad/modelos/FuenteServicioModel.mjs +0 -51
  362. package/esm2022/src/app/seguridad/modelos/FuncionalidadModel.mjs +0 -10
  363. package/esm2022/src/app/seguridad/modelos/GeneralModel.mjs +0 -15
  364. package/esm2022/src/app/seguridad/modelos/GrupoAccesoModel.mjs +0 -7
  365. package/esm2022/src/app/seguridad/modelos/GrupoControlFuncionModel.mjs +0 -10
  366. package/esm2022/src/app/seguridad/modelos/GrupoFuenteModel.mjs +0 -13
  367. package/esm2022/src/app/seguridad/modelos/GrupoPermisoModel.mjs +0 -14
  368. package/esm2022/src/app/seguridad/modelos/ListaServicioModel.mjs +0 -17
  369. package/esm2022/src/app/seguridad/modelos/LoginModel.mjs +0 -15
  370. package/esm2022/src/app/seguridad/modelos/MensajeSistemaModel.mjs +0 -8
  371. package/esm2022/src/app/seguridad/modelos/MenuPortalModel.mjs +0 -5
  372. package/esm2022/src/app/seguridad/modelos/ModulosModel.mjs +0 -18
  373. package/esm2022/src/app/seguridad/modelos/PaginaPortalModel.mjs +0 -20
  374. package/esm2022/src/app/seguridad/modelos/ParametroComponenteModel.mjs +0 -9
  375. package/esm2022/src/app/seguridad/modelos/ParametrosGeneralModel.mjs +0 -15
  376. package/esm2022/src/app/seguridad/modelos/PermisoFuncionModel.mjs +0 -9
  377. package/esm2022/src/app/seguridad/modelos/PermisocontenidoModel.mjs +0 -20
  378. package/esm2022/src/app/seguridad/modelos/PeticionModel.mjs +0 -16
  379. package/esm2022/src/app/seguridad/modelos/PreguntaSeguridadModel.mjs +0 -7
  380. package/esm2022/src/app/seguridad/modelos/PropiedadModel.mjs +0 -10
  381. package/esm2022/src/app/seguridad/modelos/PublicacionWebModel.mjs +0 -27
  382. package/esm2022/src/app/seguridad/modelos/PuntoProcesoModel.mjs +0 -7
  383. package/esm2022/src/app/seguridad/modelos/RecursoPunto.mjs +0 -13
  384. package/esm2022/src/app/seguridad/modelos/RecursoPuntoModel.mjs +0 -13
  385. package/esm2022/src/app/seguridad/modelos/ReporteBanda.mjs +0 -8
  386. package/esm2022/src/app/seguridad/modelos/ReporteColumna.mjs +0 -33
  387. package/esm2022/src/app/seguridad/modelos/ReporteColumnario.mjs +0 -69
  388. package/esm2022/src/app/seguridad/modelos/ReporteColumnarioMarcador.mjs +0 -24
  389. package/esm2022/src/app/seguridad/modelos/ReporteEntradaModel.mjs +0 -20
  390. package/esm2022/src/app/seguridad/modelos/ReporteFuenteModel.mjs +0 -124
  391. package/esm2022/src/app/seguridad/modelos/ReporteMarcador.mjs +0 -40
  392. package/esm2022/src/app/seguridad/modelos/ReporteSoporte.mjs +0 -10
  393. package/esm2022/src/app/seguridad/modelos/ReporteTabla.mjs +0 -13
  394. package/esm2022/src/app/seguridad/modelos/RespuestaModel.mjs +0 -9
  395. package/esm2022/src/app/seguridad/modelos/RolModel.mjs +0 -39
  396. package/esm2022/src/app/seguridad/modelos/ServidorCorreoModel.mjs +0 -28
  397. package/esm2022/src/app/seguridad/modelos/SistemaMensajeModel.mjs +0 -9
  398. package/esm2022/src/app/seguridad/modelos/SitioPortalModel.mjs +0 -25
  399. package/esm2022/src/app/seguridad/modelos/TareasModel.mjs +0 -54
  400. package/esm2022/src/app/seguridad/modelos/TextoModel.mjs +0 -9
  401. package/esm2022/src/app/seguridad/modelos/TipoEtiqueta.mjs +0 -8
  402. package/esm2022/src/app/seguridad/modelos/UnionModel.mjs +0 -12
  403. package/esm2022/src/app/seguridad/modelos/UsuarioModel.mjs +0 -53
  404. package/esm2022/src/app/seguridad/modelos/UsuariogrupoModel.mjs +0 -24
  405. package/esm2022/src/app/seguridad/modelos/aplicacion-propiedad-model.mjs +0 -15
  406. package/esm2022/src/app/seguridad/modelos/contenidoCorreoModel.mjs +0 -10
  407. package/esm2022/src/app/shared/componentes/input-helper-seleccion-plantilla/input-helper-seleccion-plantilla.component.mjs +0 -151
  408. package/esm2022/src/app/shared/servicios/cargar-archivos.service.mjs +0 -54
  409. package/esm2022/src/app/shared/servicios/cargar-mapas.service.mjs +0 -46
  410. package/esm2022/src/app/shared/servicios/encriptado-basico.service.mjs +0 -53
  411. package/esm2022/src/app/shared/servicios/general.service.mjs +0 -104
  412. package/esm2022/src/app/shared/servicios/parametros-navegacion.service.mjs +0 -21
  413. package/esm2022/src/app/webcommon/pages/ejecucion-reporte/detalle-campo-reporte/detalle-campo-reporte.component.mjs +0 -187
  414. package/esm2022/src/app/webcommon/pages/ejecucion-reporte/detalle-distribucion-reporte/detalle-distribucion-reporte.component.mjs +0 -85
  415. package/esm2022/src/app/webcommon/pages/ejecucion-reporte/detalle-ejecucion-reporte/detalle-ejecucion-reporte.page.mjs +0 -347
  416. package/esm2022/src/app/webcommon/pages/ejecucion-reporte/detalle-entrada-reporte/detalle-entrada-reporte.component.mjs +0 -206
  417. package/esm2022/src/app/webcommon/pages/ejecucion-reporte/detalle-punto-proceso-reporte/detalle-punto-proceso-reporte.component.mjs +0 -328
  418. package/esm2022/src/app/webcommon/pages/ejecucion-reporte/detalle-tipo-reporte/detalle-tipo-reporte.component.mjs +0 -1448
  419. package/esm2022/src/app/webcommon/pages/ejecucion-reporte/listado-ejecucion-reporte/listado-ejecucion-reporte.page.mjs +0 -105
  420. package/esm2022/src/app/webcommon/pages/ejecucion-reporte-externo/listado-ejecucion-reporte-externo/listado-ejecucion-reporte-externo.component.mjs +0 -95
  421. package/esm2022/src/app/webcommon/pages/fuente/importar-fuente-con/importar-fuente-con.component.mjs +0 -599
  422. package/esm2022/src/app/webcommon/pages/fuente/importar-fuente-general/importar-fuente-general.component.mjs +0 -177
  423. package/esm2022/src/app/webcommon/pages/fuenteGeneral/fuente-general-servicio/fuente-general-servicio.component.mjs +0 -327
  424. package/esm2022/src/app/webcommon/pages/fuenteGeneral/listado-fuente-general/listado-fuente-general.page.mjs +0 -93
  425. package/esm2022/src/app/webcommon/pages/fuenteGeneral/mantenimiento-fuente-general/mantenimiento-fuente-general.page.mjs +0 -671
  426. package/esm2022/src/app/webcommon/pipes/fuente.pipe.mjs +0 -201
  427. package/esm2022/src/app/webcommon/pipes/general.pipe.mjs +0 -907
  428. package/esm2022/src/app/webcommon/pipes/reporte-columnario.pipe.mjs +0 -115
  429. package/esm2022/src/app/webcommon/pipes/reporte-fuente.pipe.mjs +0 -296
  430. package/esm2022/src/app/webcommon/popups/popup-campos-fuente-general/popup-campos-fuente-general.component.mjs +0 -253
  431. package/esm2022/src/app/webcommon/popups/popup-punto-proceso/popup-punto-proceso.component.mjs +0 -293
  432. package/esm2022/src/app/webcommon/popups/popup-recurso/popup-recurso.component.mjs +0 -268
  433. package/esm2022/src/app/webcommon/popups/popup-reporte/popup-reporte.component.mjs +0 -508
  434. package/esm2022/src/app/webcommon/popups/popup-sentencia/popup-sentencia.component.mjs +0 -64
  435. package/esm2022/src/app/webcommon/popups/punto-proceso-comp/punto-proceso-comp.component.mjs +0 -89
  436. package/esm2022/src/app/webcommon/services/carguelinea.service.mjs +0 -69
  437. package/esm2022/src/app/webcommon/services/ejecucionreporte.service.mjs +0 -114
  438. package/esm2022/src/app/webcommon/services/fechaUtils.service.mjs +0 -88
  439. package/esm2022/src/app/webcommon/services/fuentegeneral.service.mjs +0 -68
  440. package/esm2022/src/app/webcommon/services/homologacion.service.mjs +0 -50
  441. package/esm2022/src/app/webcommon/services/plantillas.service.mjs +0 -53
  442. package/esm2022/src/app/webcommon/services/reportes.service.mjs +0 -53
  443. package/esm2022/src/app/webcommon/webcommon.module.mjs +0 -15
  444. package/esm2022/src/environments/environment.mjs +0 -22
  445. package/fesm2022/general-library-union.mjs +0 -13507
  446. package/fesm2022/general-library-union.mjs.map +0 -1
  447. package/index.d.ts +0 -5
  448. package/src/app/core/componentes/breadcrumb/breadcrumb.component.d.ts +0 -18
  449. package/src/app/core/componentes/carga-pantalla-completa/carga-pantalla-completa.component.d.ts +0 -14
  450. package/src/app/core/componentes/filtro-general/filtro-general.component.d.ts +0 -26
  451. package/src/app/core/componentes/footer/footer.component.d.ts +0 -11
  452. package/src/app/core/componentes/formulariodinamico/formulariodinamico.component.d.ts +0 -46
  453. package/src/app/core/componentes/formulariodinamico/objetosformulario/CampoFormulario.d.ts +0 -44
  454. package/src/app/core/componentes/formulariodinamico/objetosformulario/CampoFormularioCons.d.ts +0 -45
  455. package/src/app/core/componentes/formulariodinamico/objetosformulario/CampoFormularioNuevo.d.ts +0 -33
  456. package/src/app/core/componentes/formulariodinamico/objetosformulario/HashDirective.d.ts +0 -9
  457. package/src/app/core/componentes/inicio-component/inicio-component.component.d.ts +0 -24
  458. package/src/app/core/componentes/menu/menu.component.d.ts +0 -16
  459. package/src/app/core/componentes/tabla-general/tabla-general.component.d.ts +0 -32
  460. package/src/app/core/core.module.d.ts +0 -8
  461. package/src/app/core/errores/authentication.error.d.ts +0 -3
  462. package/src/app/core/modelos/error-response.model.d.ts +0 -9
  463. package/src/app/core/modelos/table-column.model.d.ts +0 -12
  464. package/src/app/core/modelos/user.model.d.ts +0 -6
  465. package/src/app/core/plantilla-general/plantilla-general.template.d.ts +0 -89
  466. package/src/app/core/servicios/auth.service.d.ts +0 -52
  467. package/src/app/core/servicios/cargar-control-funcionalidad.service.d.ts +0 -19
  468. package/src/app/core/servicios/data-exporter-table.utils.d.ts +0 -8
  469. package/src/app/core/servicios/error-interceptor.service.d.ts +0 -41
  470. package/src/app/core/servicios/guardias/auth.guard.d.ts +0 -17
  471. package/src/app/core/servicios/guardias/publico.guard.d.ts +0 -13
  472. package/src/app/core/servicios/interceptores/token-interceptor.service.d.ts +0 -21
  473. package/src/app/core/servicios/loading.service.d.ts +0 -22
  474. package/src/app/core/servicios/menu.service.d.ts +0 -34
  475. package/src/app/core/servicios/storage.service.d.ts +0 -37
  476. package/src/app/core/servicios/template.service.d.ts +0 -20
  477. package/src/app/core/servicios/toast.service.d.ts +0 -46
  478. package/src/app/core/servicios/utils.service.d.ts +0 -40
  479. package/src/app/core/sharedlib.module.d.ts +0 -6
  480. package/src/app/core/utilidades/color.util.d.ts +0 -70
  481. package/src/app/layout/app.breadcrumb.component.d.ts +0 -28
  482. package/src/app/layout/app.footer.component.d.ts +0 -10
  483. package/src/app/layout/app.layout.component.d.ts +0 -39
  484. package/src/app/layout/app.layout.module.d.ts +0 -6
  485. package/src/app/layout/app.menu.component.d.ts +0 -19
  486. package/src/app/layout/app.menu.service.d.ts +0 -12
  487. package/src/app/layout/app.menuitem.component.d.ts +0 -40
  488. package/src/app/layout/app.menuprofile.component.d.ts +0 -18
  489. package/src/app/layout/app.rightmenu.component.d.ts +0 -10
  490. package/src/app/layout/app.sidebar.component.d.ts +0 -33
  491. package/src/app/layout/app.topbar.component.d.ts +0 -78
  492. package/src/app/layout/service/app.layout.service.d.ts +0 -57
  493. package/src/app/publico/pages/login/login.page.d.ts +0 -40
  494. package/src/app/publico/pages/not-found/not-found.page.d.ts +0 -16
  495. package/src/app/publico/pages/seleccion-rol/seleccion-rol.component.d.ts +0 -41
  496. package/src/app/publico/pages/timeout/timeout.page.d.ts +0 -10
  497. package/src/app/seguridad/modelos/AplicacionModel.d.ts +0 -7
  498. package/src/app/seguridad/modelos/ArchivoPortalModel.d.ts +0 -13
  499. package/src/app/seguridad/modelos/AtributoPuntoModel.d.ts +0 -8
  500. package/src/app/seguridad/modelos/AtributoSSOportalModel.d.ts +0 -16
  501. package/src/app/seguridad/modelos/CargueLineaModel.d.ts +0 -12
  502. package/src/app/seguridad/modelos/ColoresRGB.d.ts +0 -17
  503. package/src/app/seguridad/modelos/ComplementoModel.d.ts +0 -6
  504. package/src/app/seguridad/modelos/ComponentePaginaModel.d.ts +0 -20
  505. package/src/app/seguridad/modelos/ConexionModel.d.ts +0 -13
  506. package/src/app/seguridad/modelos/ControlFuncionModel.d.ts +0 -7
  507. package/src/app/seguridad/modelos/CorreoModel.d.ts +0 -31
  508. package/src/app/seguridad/modelos/CorreoWSModel.d.ts +0 -33
  509. package/src/app/seguridad/modelos/CruceRecursoPuntoModel.d.ts +0 -13
  510. package/src/app/seguridad/modelos/EmpresaModel.d.ts +0 -23
  511. package/src/app/seguridad/modelos/EmpresaSeguridadModel.d.ts +0 -18
  512. package/src/app/seguridad/modelos/EtiquetaModel.d.ts +0 -4
  513. package/src/app/seguridad/modelos/Etiquetas.d.ts +0 -10
  514. package/src/app/seguridad/modelos/FuenteCampoAtributoModel.d.ts +0 -15
  515. package/src/app/seguridad/modelos/FuenteDato.d.ts +0 -18
  516. package/src/app/seguridad/modelos/FuenteEntradaModel.d.ts +0 -8
  517. package/src/app/seguridad/modelos/FuenteLineaServicioModel.d.ts +0 -16
  518. package/src/app/seguridad/modelos/FuenteProcesoGeneralModel.d.ts +0 -10
  519. package/src/app/seguridad/modelos/FuncionalidadModel.d.ts +0 -8
  520. package/src/app/seguridad/modelos/GeneralModel.d.ts +0 -8
  521. package/src/app/seguridad/modelos/GrupoControlFuncionModel.d.ts +0 -9
  522. package/src/app/seguridad/modelos/GrupoFuenteModel.d.ts +0 -13
  523. package/src/app/seguridad/modelos/GrupoPermisoModel.d.ts +0 -13
  524. package/src/app/seguridad/modelos/ListaServicioModel.d.ts +0 -16
  525. package/src/app/seguridad/modelos/LoginModel.d.ts +0 -17
  526. package/src/app/seguridad/modelos/MensajeSistemaModel.d.ts +0 -7
  527. package/src/app/seguridad/modelos/ModulosModel.d.ts +0 -14
  528. package/src/app/seguridad/modelos/PaginaPortalModel.d.ts +0 -19
  529. package/src/app/seguridad/modelos/ParametroComponenteModel.d.ts +0 -8
  530. package/src/app/seguridad/modelos/ParametrosGeneralModel.d.ts +0 -8
  531. package/src/app/seguridad/modelos/PermisoFuncionModel.d.ts +0 -8
  532. package/src/app/seguridad/modelos/PermisocontenidoModel.d.ts +0 -18
  533. package/src/app/seguridad/modelos/PreguntaSeguridadModel.d.ts +0 -6
  534. package/src/app/seguridad/modelos/PropiedadModel.d.ts +0 -9
  535. package/src/app/seguridad/modelos/PublicacionWebModel.d.ts +0 -25
  536. package/src/app/seguridad/modelos/PuntoProcesoModel.d.ts +0 -6
  537. package/src/app/seguridad/modelos/RecursoPunto.d.ts +0 -12
  538. package/src/app/seguridad/modelos/RecursoPuntoModel.d.ts +0 -12
  539. package/src/app/seguridad/modelos/ReporteBanda.d.ts +0 -7
  540. package/src/app/seguridad/modelos/ReporteColumna.d.ts +0 -32
  541. package/src/app/seguridad/modelos/ReporteColumnario.d.ts +0 -68
  542. package/src/app/seguridad/modelos/ReporteColumnarioMarcador.d.ts +0 -23
  543. package/src/app/seguridad/modelos/ReporteMarcador.d.ts +0 -39
  544. package/src/app/seguridad/modelos/ReporteSoporte.d.ts +0 -9
  545. package/src/app/seguridad/modelos/ReporteTabla.d.ts +0 -12
  546. package/src/app/seguridad/modelos/RespuestaModel.d.ts +0 -8
  547. package/src/app/seguridad/modelos/ServidorCorreoModel.d.ts +0 -25
  548. package/src/app/seguridad/modelos/SistemaMensajeModel.d.ts +0 -8
  549. package/src/app/seguridad/modelos/SitioPortalModel.d.ts +0 -24
  550. package/src/app/seguridad/modelos/TareasModel.d.ts +0 -49
  551. package/src/app/seguridad/modelos/TextoModel.d.ts +0 -8
  552. package/src/app/seguridad/modelos/TipoEtiqueta.d.ts +0 -7
  553. package/src/app/seguridad/modelos/UnionModel.d.ts +0 -11
  554. package/src/app/seguridad/modelos/UsuariogrupoModel.d.ts +0 -22
  555. package/src/app/seguridad/modelos/aplicacion-propiedad-model.d.ts +0 -13
  556. package/src/app/seguridad/modelos/contenidoCorreoModel.d.ts +0 -9
  557. package/src/app/shared/componentes/input-helper-seleccion-plantilla/input-helper-seleccion-plantilla.component.d.ts +0 -47
  558. package/src/app/shared/servicios/cargar-archivos.service.d.ts +0 -15
  559. package/src/app/shared/servicios/cargar-mapas.service.d.ts +0 -18
  560. package/src/app/shared/servicios/encriptado-basico.service.d.ts +0 -10
  561. package/src/app/shared/servicios/general.service.d.ts +0 -24
  562. package/src/app/shared/servicios/parametros-navegacion.service.d.ts +0 -9
  563. package/src/app/webcommon/pages/ejecucion-reporte/detalle-campo-reporte/detalle-campo-reporte.component.d.ts +0 -79
  564. package/src/app/webcommon/pages/ejecucion-reporte/detalle-distribucion-reporte/detalle-distribucion-reporte.component.d.ts +0 -29
  565. package/src/app/webcommon/pages/ejecucion-reporte/detalle-ejecucion-reporte/detalle-ejecucion-reporte.page.d.ts +0 -69
  566. package/src/app/webcommon/pages/ejecucion-reporte/detalle-entrada-reporte/detalle-entrada-reporte.component.d.ts +0 -51
  567. package/src/app/webcommon/pages/ejecucion-reporte/detalle-punto-proceso-reporte/detalle-punto-proceso-reporte.component.d.ts +0 -77
  568. package/src/app/webcommon/pages/ejecucion-reporte/detalle-tipo-reporte/detalle-tipo-reporte.component.d.ts +0 -251
  569. package/src/app/webcommon/pages/ejecucion-reporte/listado-ejecucion-reporte/listado-ejecucion-reporte.page.d.ts +0 -42
  570. package/src/app/webcommon/pages/ejecucion-reporte-externo/listado-ejecucion-reporte-externo/listado-ejecucion-reporte-externo.component.d.ts +0 -33
  571. package/src/app/webcommon/pages/fuente/importar-fuente-con/importar-fuente-con.component.d.ts +0 -143
  572. package/src/app/webcommon/pages/fuente/importar-fuente-general/importar-fuente-general.component.d.ts +0 -49
  573. package/src/app/webcommon/pages/fuenteGeneral/fuente-general-servicio/fuente-general-servicio.component.d.ts +0 -64
  574. package/src/app/webcommon/pages/fuenteGeneral/listado-fuente-general/listado-fuente-general.page.d.ts +0 -33
  575. package/src/app/webcommon/pages/fuenteGeneral/mantenimiento-fuente-general/mantenimiento-fuente-general.page.d.ts +0 -148
  576. package/src/app/webcommon/pipes/fuente.pipe.d.ts +0 -136
  577. package/src/app/webcommon/pipes/general.pipe.d.ts +0 -637
  578. package/src/app/webcommon/pipes/reporte-columnario.pipe.d.ts +0 -59
  579. package/src/app/webcommon/pipes/reporte-fuente.pipe.d.ts +0 -189
  580. package/src/app/webcommon/popups/popup-campos-fuente-general/popup-campos-fuente-general.component.d.ts +0 -58
  581. package/src/app/webcommon/popups/popup-punto-proceso/popup-punto-proceso.component.d.ts +0 -64
  582. package/src/app/webcommon/popups/popup-recurso/popup-recurso.component.d.ts +0 -63
  583. package/src/app/webcommon/popups/popup-reporte/popup-reporte.component.d.ts +0 -97
  584. package/src/app/webcommon/popups/popup-sentencia/popup-sentencia.component.d.ts +0 -21
  585. package/src/app/webcommon/popups/punto-proceso-comp/punto-proceso-comp.component.d.ts +0 -30
  586. package/src/app/webcommon/services/carguelinea.service.d.ts +0 -19
  587. package/src/app/webcommon/services/ejecucionreporte.service.d.ts +0 -34
  588. package/src/app/webcommon/services/fechaUtils.service.d.ts +0 -28
  589. package/src/app/webcommon/services/fuentegeneral.service.d.ts +0 -24
  590. package/src/app/webcommon/services/homologacion.service.d.ts +0 -17
  591. package/src/app/webcommon/services/plantillas.service.d.ts +0 -17
  592. package/src/app/webcommon/services/reportes.service.d.ts +0 -19
  593. package/src/app/webcommon/webcommon.module.d.ts +0 -6
  594. package/src/environments/environment.d.ts +0 -4
@@ -0,0 +1,72 @@
1
+ import { HttpClient, HttpRequest, HttpEvent,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 CargueLineaService{
13
+
14
+
15
+ listProcedure(objetoFiltro: GeneralModel) {
16
+ throw new Error('Method not implemented.');
17
+ }
18
+
19
+ constructor(private httpClient: HttpClient , private errorInterceptor : ErrorIntecertorService, private cookieService: CookieService) {
20
+ this.handleError = this.handleError.bind(this);
21
+ }
22
+
23
+ private handleError(error: HttpErrorResponse) {
24
+ if (error.status === 500) {
25
+ //Llamado a interceptor
26
+ this.errorInterceptor.showError(JSON.stringify(error.error));
27
+ // A client-side or network error occurred. Handle it accordingly.
28
+ console.error('An error occurred:', error.error);
29
+ } else {
30
+ // The backend returned an unsuccessful response code.
31
+ // The response body may contain clues as to what went wrong.
32
+ console.error(
33
+ `Backend returned code ${error.status}, body was: `, error.error);
34
+ }
35
+ // Return an observable with a user-facing error message.
36
+ return throwError(() => new Error('Something bad happened; please try again later.'));
37
+ }
38
+
39
+ eliminarProceso(general): Observable<any[]> {
40
+ let url = this.cookieService.get('urlnucleo')
41
+ return this.httpClient.post<any[]>(`${url}/requieretoken/sarageneral/carguelinea/eliminarProceso`, general).pipe(
42
+ catchError(this.handleError)
43
+ );
44
+ }
45
+
46
+ ejecutar(accion, archivo, fuenteDTO, procesoDTO, entradas, campos, datos, lineasCargadas): Observable<HttpEvent<{}>> {
47
+ let url = this.cookieService.get('urlnucleo')
48
+ let formData = new FormData();
49
+ formData.append("archivo", archivo);
50
+ formData.append("fuenteDTO", JSON.stringify(fuenteDTO));
51
+ formData.append("accion", accion);
52
+ formData.append("procesoDTO", JSON.stringify(procesoDTO));
53
+ formData.append("entradas", JSON.stringify(entradas));
54
+ formData.append("campos", JSON.stringify(campos));
55
+ formData.append("datos", JSON.stringify(datos));
56
+ formData.append("lineasCargadas", JSON.stringify(lineasCargadas));
57
+
58
+ const req = new HttpRequest('POST', `${url}/requieretoken/sarageneral/carguelinea/ejecutar`, formData, {
59
+ reportProgress: true,
60
+ })
61
+ return this.httpClient.request(req).pipe(
62
+ catchError(this.handleError)
63
+ );
64
+ }
65
+
66
+ cancelarProceso(general): Observable<any> {
67
+ let url = this.cookieService.get('urlnucleo')
68
+ return this.httpClient.post<any>(`${url}/requieretoken/sarageneral/carguelinea/cancelarProceso`, general).pipe(
69
+ catchError(this.handleError)
70
+ );
71
+ }
72
+ }
@@ -0,0 +1,158 @@
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 { CookieService } from 'ngx-cookie-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 cookieService: CookieService) {
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
+ getUrl(): string | null {
39
+ return this.cookieService.get('urlnucleo')
40
+ }
41
+
42
+ getDatosEjecucionReporte(reporte): Observable<any> {
43
+ return this.httpClient.post<any>(`${this.getUrl()}/requieretoken/reporte/consultar`, reporte).pipe(
44
+ catchError(this.handleError)
45
+ );
46
+ }
47
+
48
+ guardarReporte(reporte: any): Observable<any> {
49
+ return this.httpClient.post<any>(`${this.getUrl()}/requieretoken/reporte/guardarReporte`, reporte).pipe(
50
+ catchError(this.handleError)
51
+ );
52
+ }
53
+
54
+ eliminarReporte(reporte: any): Observable<any> {
55
+ return this.httpClient.post<any>(`${this.getUrl()}/requieretoken/reporte/eliminarReporte`, reporte).pipe(
56
+ catchError(this.handleError)
57
+ );
58
+ }
59
+
60
+ consultarListas(): Observable<any> {
61
+ return this.httpClient.get<any>(`${this.getUrl()}/requieretoken/reporte/consultarListas`).pipe(
62
+ catchError(this.handleError)
63
+ );
64
+ }
65
+
66
+ guardarEntrada(entrada: any): Observable<any> {
67
+ return this.httpClient.post<any>(`${this.getUrl()}/requieretoken/reporte/guardarEntrada`, entrada).pipe(
68
+ catchError(this.handleError)
69
+ );
70
+ }
71
+
72
+ cargarCampos(entrada: any): Observable<any[]> {
73
+ return this.httpClient.post<any[]>(`${this.getUrl()}/requieretoken/reporte/cargarCampos`, entrada).pipe(
74
+ catchError(this.handleError)
75
+ );
76
+ }
77
+
78
+ construirColumnas(entrada: any): Observable<any[]> {
79
+ return this.httpClient.post<any[]>(`${this.getUrl()}/requieretoken/reporte/construirColumnas`, entrada).pipe(
80
+ catchError(this.handleError)
81
+ );
82
+ }
83
+
84
+ generarJasper(llaveReporte, jasper): Observable<any> {
85
+ let formData = new FormData();
86
+ formData.append("llaveReporte", llaveReporte);
87
+ formData.append("jasper", jasper);
88
+ return this.httpClient.post<any>(`${this.getUrl()}/requieretoken/reporte/generarJasper`, formData).pipe(
89
+ catchError(this.handleError)
90
+ );
91
+ }
92
+
93
+ eliminarEjecucionReporte(reporte: any): Observable<any> {
94
+ return this.httpClient.post<any>(`${this.getUrl()}/requieretoken/reporte/eliminarEjecucionReporte`, reporte).pipe(
95
+ catchError(this.handleError)
96
+ );
97
+ }
98
+
99
+ obtenerListaEntradaEjecucion(reporte: any): Observable<any> {
100
+ return this.httpClient.post<any>(`${this.getUrl()}/requieretoken/reporte/obtenerListaEntradaEjecucion`, reporte).pipe(
101
+ catchError(this.handleError)
102
+ );
103
+ }
104
+
105
+ obtenerSentencia(reporte: any): Observable<any> {
106
+ return this.httpClient.post<any>(`${this.getUrl()}/requieretoken/reporte/obtenerSentencia`, reporte).pipe(
107
+ catchError(this.handleError)
108
+ );
109
+ }
110
+
111
+ enviarSegundoPlano(reporte: any): Observable<any> {
112
+ return this.httpClient.post<any>(`${this.getUrl()}/requieretoken/reporte/enviarSegundoPlano`, reporte).pipe(
113
+ catchError(this.handleError)
114
+ );
115
+ }
116
+
117
+ descargarReporte(reporte: any): Observable<any> {
118
+ return this.httpClient.post<any>(`${this.getUrl()}/requieretoken/reporte/descargarReporte`, reporte).pipe(
119
+ catchError(this.handleError)
120
+ );
121
+ }
122
+
123
+ generarTabla(reporte: any): Observable<any> {
124
+ return this.httpClient.post<any>(`${this.getUrl()}/requieretoken/reporte/generarTabla`, reporte).pipe(
125
+ catchError(this.handleError)
126
+ );
127
+ }
128
+
129
+ actualizarReporteColumnaOrden(reporte: any): Observable<any> {
130
+ return this.httpClient.post<any>(`${this.getUrl()}/requieretoken/reporte/actualizarReporteColumnaOrden`, reporte).pipe(
131
+ catchError(this.handleError)
132
+ );
133
+ }
134
+
135
+ descargarArchivo(parametroGeneral: any): Observable<any> {
136
+
137
+ const url = `${this.getUrl()}/requieretoken/generalSara/descargarArchivo`;
138
+ return this.httpClient.post(url, parametroGeneral, {
139
+
140
+ responseType: 'blob',
141
+ headers: {
142
+ 'Content-Type': 'application/json'
143
+ }
144
+ })
145
+ }
146
+
147
+ descargarArchivoMasivo(parametroGeneral: any): Observable<Blob> {
148
+
149
+ const url = `${this.getUrl()}/requieretoken/generalSara/descargarArchivoMasivo`;
150
+ return this.httpClient.post(url, parametroGeneral, {
151
+ responseType: 'blob',
152
+ headers: {
153
+ 'Content-Type': 'application/json'
154
+ }
155
+ })
156
+ }
157
+
158
+ }
@@ -0,0 +1,120 @@
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
+
9
+ @Injectable({
10
+ providedIn: 'root'
11
+ })
12
+ export class FechaUtilsService {
13
+
14
+
15
+ listProcedure(objetoFiltro: GeneralModel) {
16
+ throw new Error('Method not implemented.');
17
+ }
18
+
19
+ constructor(private httpClient: HttpClient, private errorInterceptor: ErrorIntecertorService, private cookieService: CookieService) {
20
+ this.handleError = this.handleError.bind(this);
21
+ }
22
+
23
+ getUrl(): string | null {
24
+ return this.cookieService.get('urlnucleo')
25
+ }
26
+
27
+ private handleError(error: HttpErrorResponse) {
28
+ if (error.status === 500) {
29
+ //Llamado a interceptor
30
+ this.errorInterceptor.showError(JSON.stringify(error.error));
31
+ // A client-side or network error occurred. Handle it accordingly.
32
+ console.error('An error occurred:', error.error);
33
+ } else {
34
+ // The backend returned an unsuccessful response code.
35
+ // The response body may contain clues as to what went wrong.
36
+ console.error(
37
+ `Backend returned code ${error.status}, body was: `, error.error);
38
+ }
39
+ // Return an observable with a user-facing error message.
40
+ return throwError(() => new Error('Something bad happened; please try again later.'));
41
+ }
42
+
43
+ horaMinuto(general: any): Observable<any> {
44
+
45
+ const year = general.getFullYear();
46
+ const month = general.getMonth() + 1;
47
+ const day = general.getDate();
48
+ const hours = general.getHours();
49
+ const minutes = general.getMinutes();
50
+ const seconds = general.getUTCSeconds();
51
+ const milliseconds = general.getUTCMilliseconds();
52
+ 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}`;
53
+
54
+ return this.httpClient.post<any>(`${this.getUrl()}/requieretoken/webcommon/fechaUtils/horaMinuto`, fechaFormateada).pipe(
55
+ catchError(this.handleError)
56
+ );
57
+ }
58
+
59
+ horaminutoFecha(general: any): Observable<any> {
60
+
61
+ return this.httpClient.post<any>(`${this.getUrl()}/requieretoken/webcommon/fechaUtils/horaminutoFecha`, general).pipe(
62
+ catchError(this.handleError)
63
+ );
64
+ }
65
+
66
+ formatFecha(general: any): Observable<any> {
67
+ return this.httpClient.post<any>(`${this.getUrl()}/requieretoken/webcommon/fechaUtils/formatFecha`, general).pipe(
68
+ catchError(this.handleError)
69
+ );
70
+ }
71
+
72
+ sumaDiaFecha(general: any): Observable<any> {
73
+ return this.httpClient.post<any>(`${this.getUrl()}/requieretoken/webcommon/fechaUtils/sumaDiaFecha`, general).pipe(
74
+ catchError(this.handleError)
75
+ );
76
+ }
77
+
78
+ primerDiaSemana(general: any): Observable<any> {
79
+ return this.httpClient.post<any>(`${this.getUrl()}/requieretoken/webcommon/fechaUtils/primerDiaSemana`, general).pipe(
80
+ catchError(this.handleError)
81
+ );
82
+ }
83
+
84
+ cambiarDiaSemana(general: any): Observable<any> {
85
+ return this.httpClient.post<any>(`${this.getUrl()}/requieretoken/webcommon/fechaUtils/cambiarDiaSemana`, general).pipe(
86
+ catchError(this.handleError)
87
+ );
88
+ }
89
+
90
+ calcularHoras(general: any): Observable<any> {
91
+ return this.httpClient.post<any>(`${this.getUrl()}/requieretoken/webcommon/fechaUtils/calcularHoras`, general).pipe(
92
+ catchError(this.handleError)
93
+ );
94
+ }
95
+
96
+ fechaTexto(general: any): Observable<any> {
97
+ return this.httpClient.post<any>(`${this.getUrl()}/requieretoken/webcommon/fechaUtils/fechaTexto`, general).pipe(
98
+ catchError(this.handleError)
99
+ );
100
+ }
101
+
102
+ fechasTexto(general: any): Observable<any> {
103
+ return this.httpClient.post<any>(`${this.getUrl()}/requieretoken/webcommon/fechaUtils/fechasTexto`, general).pipe(
104
+ catchError(this.handleError)
105
+ );
106
+ }
107
+
108
+ obtenerFecha(general: any): Observable<any> {
109
+ return this.httpClient.post<any>(`${this.getUrl()}/requieretoken/webcommon/fechaUtils/obtenerFecha`, general).pipe(
110
+ catchError(this.handleError)
111
+ );
112
+ }
113
+
114
+ ultimoDiaMes(general: any): Observable<any> {
115
+ return this.httpClient.post<any>(`${this.getUrl()}/requieretoken/webcommon/fechaUtils/ultimoDiaMes`, general).pipe(
116
+ catchError(this.handleError)
117
+ );
118
+ }
119
+
120
+ }
@@ -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,49 @@
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?): 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
+ return this.httpClient.post<any>(`${url}/requieretoken/plantillas/obtenerArchivos`, formData).pipe(
45
+ catchError(this.handleError)
46
+ );
47
+ }
48
+
49
+ }
@@ -0,0 +1,60 @@
1
+ import { HttpClient, HttpErrorResponse } from '@angular/common/http';
2
+ import { Injectable } from '@angular/core';
3
+ import { GeneralModel } from '../../seguridad/modelos/GeneralModel';
4
+ import { ErrorIntecertorService } from '../../core/servicios/error-interceptor.service';
5
+ import { throwError, Observable, catchError } from 'rxjs';
6
+
7
+ import { CookieService } from 'ngx-cookie-service';
8
+
9
+
10
+ @Injectable({
11
+ providedIn: 'root'
12
+ })
13
+
14
+ export class ReportesService{
15
+
16
+
17
+ listProcedure(objetoFiltro: GeneralModel) {
18
+ throw new Error('Method not implemented.');
19
+ }
20
+
21
+ constructor(private httpClient: HttpClient , private errorInterceptor : ErrorIntecertorService, private cookieService: CookieService) {
22
+ this.handleError = this.handleError.bind(this);
23
+ }
24
+
25
+ private handleError(error: HttpErrorResponse) {
26
+ if (error.status === 500) {
27
+ //Llamado a interceptor
28
+ this.errorInterceptor.showError(JSON.stringify(error.error));
29
+ // A client-side or network error occurred. Handle it accordingly.
30
+ console.error('An error occurred:', error.error);
31
+ } else {
32
+ // The backend returned an unsuccessful response code.
33
+ // The response body may contain clues as to what went wrong.
34
+ console.error(
35
+ `Backend returned code ${error.status}, body was: `, error.error);
36
+ }
37
+ // Return an observable with a user-facing error message.
38
+ return throwError(() => new Error('Something bad happened; please try again later.'));
39
+ }
40
+
41
+ obtenerProcesoExterno(general: any): Observable<any> {
42
+ return this.httpClient.post<any>(`${this.getUrl()}/requieretoken/sarageneral/reporte/obtenerProcesoExterno`, general).pipe(
43
+ catchError(this.handleError)
44
+ );
45
+ }
46
+
47
+ getUrl(): string | null {
48
+ return this.cookieService.get('urlnucleo')
49
+ }
50
+
51
+ obtenerRutaPlantilla(general: any): Observable<any> {
52
+ return this.httpClient.post<any>(`${this.getUrl()}/requieretoken/sarageneral/reporte/obtenerRutaPlantilla`, general).pipe(
53
+ catchError(this.handleError)
54
+ );
55
+ }
56
+
57
+
58
+
59
+
60
+ }
@@ -0,0 +1,11 @@
1
+ import { NgModule } from '@angular/core';
2
+
3
+ @NgModule({
4
+ declarations: [
5
+ ],
6
+ imports: [
7
+ ],
8
+ })
9
+ export class WebCommonModule {
10
+
11
+ }
@@ -0,0 +1,3 @@
1
+ export const environment = {
2
+ production: true
3
+ };
@@ -0,0 +1,23 @@
1
+ // This file can be replaced during build by using the `fileReplacements` array.
2
+ // `ng build` replaces `environment.ts` with `environment.prod.ts`.
3
+ // The list of file replacements can be found in `angular.json`.
4
+
5
+
6
+ export const environment = {
7
+ production: false,
8
+ crypto_secret_key: 'qwerty.123.zrtr*ty#qryt',
9
+ // urlapi: "http://192.168.2.64:7878",
10
+ /*urlapinucleo: "http://localhost:7878",
11
+ urlapicorreo: "http://localhost:7880",
12
+ crypto_secret_key: 'qwerty.123.zrtr*ty#qryt',
13
+ codigoAplicacion: '13',
14
+ nombreAplicacion: "MANA"*/
15
+ };
16
+ /*
17
+ * For easier debugging in development mode, you can import the following file
18
+ * to ignore zone related error stack frames such as `zone.run`, `zoneDelegate.invokeTask`.
19
+ *
20
+ * This import should be commented out in production mode because it will have a negative impact
21
+ * on performance if an error is thrown.
22
+ */
23
+ // import 'zone.js/plugins/zone-error'; // Included with Angular CLI.
Binary file
package/src/index.html ADDED
@@ -0,0 +1,14 @@
1
+ <!doctype html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <title>generalLibraryUnion</title>
6
+ <base href="/">
7
+ <meta name="viewport" content="width=device-width, initial-scale=1">
8
+ <link rel="icon" type="image/x-icon" href="favicon.ico">
9
+ <link id="theme-link" rel="stylesheet" type="text/css" href="assets/layout/styles/theme/theme-light/indigo/theme.css">
10
+ </head>
11
+ <body>
12
+ <app-root></app-root>
13
+ </body>
14
+ </html>
package/src/main.ts ADDED
@@ -0,0 +1,6 @@
1
+ import { bootstrapApplication } from '@angular/platform-browser';
2
+ import { appConfig } from './app/app.config';
3
+ import { AppComponent } from './app/app.component';
4
+
5
+ bootstrapApplication(AppComponent, appConfig)
6
+ .catch((err) => console.error(err));