general-library-union 3.3.47 → 3.3.49

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 (657) hide show
  1. package/esm2022/general-library-union.mjs +5 -0
  2. package/esm2022/public-api.mjs +183 -0
  3. package/esm2022/src/app/core/componentes/breadcrumb/breadcrumb.component.mjs +40 -0
  4. package/esm2022/src/app/core/componentes/carga-pantalla-completa/carga-pantalla-completa.component.mjs +28 -0
  5. package/esm2022/src/app/core/componentes/filtro-general/filtro-general.component.mjs +214 -0
  6. package/esm2022/src/app/core/componentes/footer/footer.component.mjs +16 -0
  7. package/esm2022/src/app/core/componentes/formulariodinamico/formulariodinamico.component.mjs +276 -0
  8. package/esm2022/src/app/core/componentes/formulariodinamico/objetosformulario/Cambio.mjs +11 -0
  9. package/esm2022/src/app/core/componentes/formulariodinamico/objetosformulario/CampoFormulario.mjs +124 -0
  10. package/esm2022/src/app/core/componentes/formulariodinamico/objetosformulario/CampoFormularioCons.mjs +73 -0
  11. package/esm2022/src/app/core/componentes/formulariodinamico/objetosformulario/CampoFormularioNuevo.mjs +59 -0
  12. package/esm2022/src/app/core/componentes/formulariodinamico/objetosformulario/HashDirective.mjs +21 -0
  13. package/esm2022/src/app/core/componentes/inicio-component/inicio-component.component.mjs +70 -0
  14. package/esm2022/src/app/core/componentes/menu/menu.component.mjs +37 -0
  15. package/esm2022/src/app/core/componentes/tabla-general/tabla-general.component.mjs +93 -0
  16. package/esm2022/src/app/core/core.module.mjs +23 -0
  17. package/esm2022/src/app/core/errores/authentication.error.mjs +7 -0
  18. package/esm2022/src/app/core/modelos/error-response.model.mjs +2 -0
  19. package/esm2022/src/app/core/modelos/table-column.model.mjs +2 -0
  20. package/esm2022/src/app/core/modelos/user.model.mjs +7 -0
  21. package/esm2022/src/app/core/plantilla-general/plantilla-general.template.mjs +230 -0
  22. package/esm2022/src/app/core/servicios/auth.service.mjs +185 -0
  23. package/esm2022/src/app/core/servicios/cargar-control-funcionalidad.service.mjs +54 -0
  24. package/esm2022/src/app/core/servicios/click-posicion.service.mjs +20 -0
  25. package/esm2022/src/app/core/servicios/data-exporter-table.utils.mjs +64 -0
  26. package/esm2022/src/app/core/servicios/error-interceptor.service.mjs +214 -0
  27. package/esm2022/src/app/core/servicios/guardias/auth.guard.mjs +66 -0
  28. package/esm2022/src/app/core/servicios/guardias/publico.guard.mjs +35 -0
  29. package/esm2022/src/app/core/servicios/interceptores/loading-interceptor.mjs +37 -0
  30. package/esm2022/src/app/core/servicios/interceptores/token-interceptor.service.mjs +180 -0
  31. package/esm2022/src/app/core/servicios/loading.service.mjs +43 -0
  32. package/esm2022/src/app/core/servicios/menu.service.mjs +146 -0
  33. package/esm2022/src/app/core/servicios/spinner-service.mjs +22 -0
  34. package/esm2022/src/app/core/servicios/storage.service.mjs +68 -0
  35. package/esm2022/src/app/core/servicios/template.service.mjs +99 -0
  36. package/esm2022/src/app/core/servicios/toast.service.mjs +120 -0
  37. package/esm2022/src/app/core/servicios/utils.service.mjs +364 -0
  38. package/esm2022/src/app/core/sharedlib.module.mjs +16 -0
  39. package/esm2022/src/app/core/utilidades/color.util.mjs +177 -0
  40. package/esm2022/src/app/layout/api/menuchangeevent.mjs +2 -0
  41. package/esm2022/src/app/layout/app.breadcrumb.component.mjs +71 -0
  42. package/esm2022/src/app/layout/app.footer.component.mjs +18 -0
  43. package/esm2022/src/app/layout/app.layout.component.mjs +188 -0
  44. package/esm2022/src/app/layout/app.layout.module.mjs +15 -0
  45. package/esm2022/src/app/layout/app.menu.component.mjs +51 -0
  46. package/esm2022/src/app/layout/app.menu.service.mjs +24 -0
  47. package/esm2022/src/app/layout/app.menuitem.component.mjs +296 -0
  48. package/esm2022/src/app/layout/app.menuprofile.component.mjs +78 -0
  49. package/esm2022/src/app/layout/app.rightmenu.component.mjs +24 -0
  50. package/esm2022/src/app/layout/app.sidebar.component.mjs +92 -0
  51. package/esm2022/src/app/layout/app.topbar.component.mjs +383 -0
  52. package/esm2022/src/app/layout/service/app.layout.service.mjs +134 -0
  53. package/esm2022/src/app/publico/pages/login/login.page.mjs +132 -0
  54. package/esm2022/src/app/publico/pages/not-found/not-found.page.mjs +51 -0
  55. package/esm2022/src/app/publico/pages/seleccion-rol/seleccion-rol.component.mjs +167 -0
  56. package/esm2022/src/app/publico/pages/timeout/timeout.page.mjs +20 -0
  57. package/esm2022/src/app/seguridad/constantes/ConstantesGenerales.mjs +30 -0
  58. package/esm2022/src/app/seguridad/constantes/ReporteEntradaConstantes.mjs +19 -0
  59. package/esm2022/src/app/seguridad/modelos/AplicacionModel.mjs +8 -0
  60. package/esm2022/src/app/seguridad/modelos/ArchivoPortalModel.mjs +14 -0
  61. package/esm2022/src/app/seguridad/modelos/AtributoPuntoModel.mjs +9 -0
  62. package/esm2022/src/app/seguridad/modelos/AtributoSSOportalModel.mjs +17 -0
  63. package/esm2022/src/app/seguridad/modelos/AuditoriaArchivoModel.mjs +11 -0
  64. package/esm2022/src/app/seguridad/modelos/CargueLineaModel.mjs +13 -0
  65. package/esm2022/src/app/seguridad/modelos/ColoresRGB.mjs +18 -0
  66. package/esm2022/src/app/seguridad/modelos/ColumnaFuenteModel.mjs +9 -0
  67. package/esm2022/src/app/seguridad/modelos/ColumnaWraperModel.mjs +6 -0
  68. package/esm2022/src/app/seguridad/modelos/ComplementoModel.mjs +7 -0
  69. package/esm2022/src/app/seguridad/modelos/ComponentePaginaModel.mjs +21 -0
  70. package/esm2022/src/app/seguridad/modelos/ConexionModel.mjs +14 -0
  71. package/esm2022/src/app/seguridad/modelos/ContenidoHtmlPortalModel.mjs +21 -0
  72. package/esm2022/src/app/seguridad/modelos/ControlFuncionModel.mjs +8 -0
  73. package/esm2022/src/app/seguridad/modelos/CorreoModel.mjs +35 -0
  74. package/esm2022/src/app/seguridad/modelos/CorreoOrgEmpModModel.mjs +9 -0
  75. package/esm2022/src/app/seguridad/modelos/CorreoWSModel.mjs +37 -0
  76. package/esm2022/src/app/seguridad/modelos/CruceRecursoPuntoModel.mjs +14 -0
  77. package/esm2022/src/app/seguridad/modelos/DatoInicioModel.mjs +6 -0
  78. package/esm2022/src/app/seguridad/modelos/EjecucionReporteDataModel.mjs +14 -0
  79. package/esm2022/src/app/seguridad/modelos/EmpresaModel.mjs +25 -0
  80. package/esm2022/src/app/seguridad/modelos/EmpresaSeguridadModel.mjs +19 -0
  81. package/esm2022/src/app/seguridad/modelos/EntradaComplementoModel.mjs +7 -0
  82. package/esm2022/src/app/seguridad/modelos/EtiquetaModel.mjs +5 -0
  83. package/esm2022/src/app/seguridad/modelos/Etiquetas.mjs +12 -0
  84. package/esm2022/src/app/seguridad/modelos/ForeingWraperModel.mjs +6 -0
  85. package/esm2022/src/app/seguridad/modelos/FuenteCampoAtributoModel.mjs +16 -0
  86. package/esm2022/src/app/seguridad/modelos/FuenteCampoModel.mjs +17 -0
  87. package/esm2022/src/app/seguridad/modelos/FuenteDato.mjs +19 -0
  88. package/esm2022/src/app/seguridad/modelos/FuenteEntradaModel.mjs +9 -0
  89. package/esm2022/src/app/seguridad/modelos/FuenteGeneralModel.mjs +37 -0
  90. package/esm2022/src/app/seguridad/modelos/FuenteLineaServicioModel.mjs +16 -0
  91. package/esm2022/src/app/seguridad/modelos/FuenteProcesoGeneralModel.mjs +11 -0
  92. package/esm2022/src/app/seguridad/modelos/FuenteServicioModel.mjs +51 -0
  93. package/esm2022/src/app/seguridad/modelos/FuncionalidadModel.mjs +10 -0
  94. package/esm2022/src/app/seguridad/modelos/GeneralModel.mjs +15 -0
  95. package/esm2022/src/app/seguridad/modelos/GrupoAccesoModel.mjs +7 -0
  96. package/esm2022/src/app/seguridad/modelos/GrupoControlFuncionModel.mjs +10 -0
  97. package/esm2022/src/app/seguridad/modelos/GrupoFuenteModel.mjs +13 -0
  98. package/esm2022/src/app/seguridad/modelos/GrupoPermisoModel.mjs +14 -0
  99. package/esm2022/src/app/seguridad/modelos/JoinFromModel.mjs +5 -0
  100. package/esm2022/src/app/seguridad/modelos/ListaServicioModel.mjs +17 -0
  101. package/esm2022/src/app/seguridad/modelos/LlaveForaneaModel.mjs +7 -0
  102. package/esm2022/src/app/seguridad/modelos/LoginModel.mjs +15 -0
  103. package/esm2022/src/app/seguridad/modelos/MensajeSistemaModel.mjs +8 -0
  104. package/esm2022/src/app/seguridad/modelos/MenuPortalModel.mjs +5 -0
  105. package/esm2022/src/app/seguridad/modelos/ModulosModel.mjs +18 -0
  106. package/esm2022/src/app/seguridad/modelos/ObjetoReporteModel.mjs +6 -0
  107. package/esm2022/src/app/seguridad/modelos/PaginaPortalModel.mjs +20 -0
  108. package/esm2022/src/app/seguridad/modelos/ParametroComponenteModel.mjs +9 -0
  109. package/esm2022/src/app/seguridad/modelos/ParametrosGeneralModel.mjs +15 -0
  110. package/esm2022/src/app/seguridad/modelos/PermisoFuncionModel.mjs +9 -0
  111. package/esm2022/src/app/seguridad/modelos/PermisocontenidoModel.mjs +20 -0
  112. package/esm2022/src/app/seguridad/modelos/PeticionModel.mjs +16 -0
  113. package/esm2022/src/app/seguridad/modelos/PreguntaSeguridadModel.mjs +7 -0
  114. package/esm2022/src/app/seguridad/modelos/PropiedadModel.mjs +10 -0
  115. package/esm2022/src/app/seguridad/modelos/PublicacionWebModel.mjs +27 -0
  116. package/esm2022/src/app/seguridad/modelos/PuntoProcesoModel.mjs +7 -0
  117. package/esm2022/src/app/seguridad/modelos/RecursoPunto.mjs +13 -0
  118. package/esm2022/src/app/seguridad/modelos/RecursoPuntoModel.mjs +13 -0
  119. package/esm2022/src/app/seguridad/modelos/ReporteBanda.mjs +8 -0
  120. package/esm2022/src/app/seguridad/modelos/ReporteColumna.mjs +33 -0
  121. package/esm2022/src/app/seguridad/modelos/ReporteColumnario.mjs +69 -0
  122. package/esm2022/src/app/seguridad/modelos/ReporteColumnarioMarcador.mjs +24 -0
  123. package/esm2022/src/app/seguridad/modelos/ReporteEntradaModel.mjs +20 -0
  124. package/esm2022/src/app/seguridad/modelos/ReporteFuenteModel.mjs +124 -0
  125. package/esm2022/src/app/seguridad/modelos/ReporteMarcador.mjs +40 -0
  126. package/esm2022/src/app/seguridad/modelos/ReporteSoporte.mjs +10 -0
  127. package/esm2022/src/app/seguridad/modelos/ReporteTabla.mjs +13 -0
  128. package/esm2022/src/app/seguridad/modelos/RespuestaModel.mjs +9 -0
  129. package/esm2022/src/app/seguridad/modelos/RolModel.mjs +39 -0
  130. package/esm2022/src/app/seguridad/modelos/ServidorCorreoModel.mjs +28 -0
  131. package/esm2022/src/app/seguridad/modelos/SistemaMensajeModel.mjs +9 -0
  132. package/esm2022/src/app/seguridad/modelos/SitioPortalModel.mjs +25 -0
  133. package/esm2022/src/app/seguridad/modelos/TablaFromModel.mjs +5 -0
  134. package/esm2022/src/app/seguridad/modelos/TareasModel.mjs +55 -0
  135. package/esm2022/src/app/seguridad/modelos/TextoModel.mjs +9 -0
  136. package/esm2022/src/app/seguridad/modelos/TipoEtiqueta.mjs +8 -0
  137. package/esm2022/src/app/seguridad/modelos/UnionModel.mjs +12 -0
  138. package/esm2022/src/app/seguridad/modelos/UsuarioModel.mjs +53 -0
  139. package/esm2022/src/app/seguridad/modelos/UsuariogrupoModel.mjs +24 -0
  140. package/esm2022/src/app/seguridad/modelos/aplicacion-propiedad-model.mjs +15 -0
  141. package/esm2022/src/app/seguridad/modelos/contenidoCorreoModel.mjs +10 -0
  142. package/esm2022/src/app/shared/componentes/input-helper-seleccion-plantilla/input-helper-seleccion-plantilla.component.mjs +154 -0
  143. package/esm2022/src/app/shared/servicios/cargar-archivos.service.mjs +54 -0
  144. package/esm2022/src/app/shared/servicios/cargar-mapas.service.mjs +46 -0
  145. package/esm2022/src/app/shared/servicios/encriptado-basico.service.mjs +53 -0
  146. package/esm2022/src/app/shared/servicios/general.service.mjs +104 -0
  147. package/esm2022/src/app/shared/servicios/parametros-navegacion.service.mjs +21 -0
  148. package/esm2022/src/app/webcommon/pages/cargue-plantilla/cargue-plantilla-general/cargue-plantilla-general.component.mjs +378 -0
  149. package/esm2022/src/app/webcommon/pages/ejecucion-reporte/detalle-campo-reporte/detalle-campo-reporte.component.mjs +187 -0
  150. package/esm2022/src/app/webcommon/pages/ejecucion-reporte/detalle-distribucion-reporte/detalle-distribucion-reporte.component.mjs +85 -0
  151. package/esm2022/src/app/webcommon/pages/ejecucion-reporte/detalle-ejecucion-reporte/detalle-ejecucion-reporte.page.mjs +347 -0
  152. package/esm2022/src/app/webcommon/pages/ejecucion-reporte/detalle-entrada-reporte/detalle-entrada-reporte.component.mjs +206 -0
  153. package/esm2022/src/app/webcommon/pages/ejecucion-reporte/detalle-punto-proceso-reporte/detalle-punto-proceso-reporte.component.mjs +327 -0
  154. package/esm2022/src/app/webcommon/pages/ejecucion-reporte/detalle-tipo-reporte/detalle-tipo-reporte.component.mjs +1590 -0
  155. package/esm2022/src/app/webcommon/pages/ejecucion-reporte/listado-ejecucion-reporte/listado-ejecucion-reporte.page.mjs +105 -0
  156. package/esm2022/src/app/webcommon/pages/ejecucion-reporte-externo/listado-ejecucion-reporte-externo/listado-ejecucion-reporte-externo.component.mjs +115 -0
  157. package/esm2022/src/app/webcommon/pages/fuente/importar-fuente-con/importar-fuente-con.component.mjs +597 -0
  158. package/esm2022/src/app/webcommon/pages/fuente/importar-fuente-general/importar-fuente-general.component.mjs +177 -0
  159. package/esm2022/src/app/webcommon/pages/fuente-reporte/fuente-reporte.component.mjs +769 -0
  160. package/esm2022/src/app/webcommon/pages/fuenteGeneral/fuente-general-servicio/fuente-general-servicio.component.mjs +331 -0
  161. package/esm2022/src/app/webcommon/pages/fuenteGeneral/listado-fuente-general/listado-fuente-general.page.mjs +95 -0
  162. package/esm2022/src/app/webcommon/pages/fuenteGeneral/mantenimiento-fuente-general/mantenimiento-fuente-general.page.mjs +675 -0
  163. package/esm2022/src/app/webcommon/pipes/dashboard.pipe.mjs +86 -0
  164. package/esm2022/src/app/webcommon/pipes/fuente.pipe.mjs +201 -0
  165. package/esm2022/src/app/webcommon/pipes/general.pipe.mjs +918 -0
  166. package/esm2022/src/app/webcommon/pipes/reporte-columnario.pipe.mjs +115 -0
  167. package/esm2022/src/app/webcommon/pipes/reporte-fuente.pipe.mjs +301 -0
  168. package/esm2022/src/app/webcommon/popups/popup-campos-fuente-general/popup-campos-fuente-general.component.mjs +267 -0
  169. package/esm2022/src/app/webcommon/popups/popup-convertir-plantillas/popup-convertir-plantillas.component.mjs +128 -0
  170. package/esm2022/src/app/webcommon/popups/popup-editor-formula/popup-editor-formula.component.mjs +73 -0
  171. package/esm2022/src/app/webcommon/popups/popup-punto-proceso/popup-punto-proceso.component.mjs +293 -0
  172. package/esm2022/src/app/webcommon/popups/popup-recurso/popup-recurso.component.mjs +269 -0
  173. package/esm2022/src/app/webcommon/popups/popup-reporte/popup-reporte.component.mjs +565 -0
  174. package/esm2022/src/app/webcommon/popups/popup-sentencia/popup-sentencia.component.mjs +64 -0
  175. package/esm2022/src/app/webcommon/popups/popup-tablas-fuente/popup-tablas-fuente.component.mjs +162 -0
  176. package/esm2022/src/app/webcommon/popups/punto-proceso-comp/punto-proceso-comp.component.mjs +89 -0
  177. package/esm2022/src/app/webcommon/services/carguelinea.service.mjs +69 -0
  178. package/esm2022/src/app/webcommon/services/dashboard.service.mjs +253 -0
  179. package/esm2022/src/app/webcommon/services/ejecucionreporte.service.mjs +114 -0
  180. package/esm2022/src/app/webcommon/services/fechaUtils.service.mjs +102 -0
  181. package/esm2022/src/app/webcommon/services/fuentegeneral.service.mjs +68 -0
  182. package/esm2022/src/app/webcommon/services/homologacion.service.mjs +50 -0
  183. package/esm2022/src/app/webcommon/services/plantillas.service.mjs +129 -0
  184. package/esm2022/src/app/webcommon/services/reportes.service.mjs +95 -0
  185. package/esm2022/src/app/webcommon/webcommon.module.mjs +15 -0
  186. package/esm2022/src/environments/environment.mjs +24 -0
  187. package/fesm2022/general-library-union.mjs +16176 -0
  188. package/fesm2022/general-library-union.mjs.map +1 -0
  189. package/index.d.ts +5 -0
  190. package/package.json +62 -73
  191. package/{public-api.ts → public-api.d.ts} +164 -206
  192. package/src/app/core/componentes/breadcrumb/breadcrumb.component.d.ts +18 -0
  193. package/src/app/core/componentes/carga-pantalla-completa/carga-pantalla-completa.component.d.ts +14 -0
  194. package/src/app/core/componentes/filtro-general/filtro-general.component.d.ts +36 -0
  195. package/src/app/core/componentes/footer/footer.component.d.ts +9 -0
  196. package/src/app/core/componentes/formulariodinamico/formulariodinamico.component.d.ts +50 -0
  197. package/src/app/core/componentes/formulariodinamico/objetosformulario/{Cambio.ts → Cambio.d.ts} +7 -13
  198. package/src/app/core/componentes/formulariodinamico/objetosformulario/CampoFormulario.d.ts +44 -0
  199. package/src/app/core/componentes/formulariodinamico/objetosformulario/CampoFormularioCons.d.ts +45 -0
  200. package/src/app/core/componentes/formulariodinamico/objetosformulario/CampoFormularioNuevo.d.ts +33 -0
  201. package/src/app/core/componentes/formulariodinamico/objetosformulario/HashDirective.d.ts +9 -0
  202. package/src/app/core/componentes/inicio-component/inicio-component.component.d.ts +26 -0
  203. package/src/app/core/componentes/menu/menu.component.d.ts +16 -0
  204. package/src/app/core/componentes/tabla-general/tabla-general.component.d.ts +32 -0
  205. package/src/app/core/core.module.d.ts +8 -0
  206. package/src/app/core/errores/authentication.error.d.ts +3 -0
  207. package/src/app/core/modelos/error-response.model.d.ts +9 -0
  208. package/src/app/core/modelos/table-column.model.d.ts +12 -0
  209. package/src/app/core/modelos/user.model.d.ts +6 -0
  210. package/src/app/core/plantilla-general/plantilla-general.template.d.ts +89 -0
  211. package/src/app/core/servicios/auth.service.d.ts +52 -0
  212. package/src/app/core/servicios/cargar-control-funcionalidad.service.d.ts +19 -0
  213. package/src/app/core/servicios/click-posicion.service.d.ts +11 -0
  214. package/src/app/core/servicios/data-exporter-table.utils.d.ts +11 -0
  215. package/src/app/core/servicios/error-interceptor.service.d.ts +41 -0
  216. package/src/app/core/servicios/guardias/auth.guard.d.ts +17 -0
  217. package/src/app/core/servicios/guardias/publico.guard.d.ts +13 -0
  218. package/src/app/core/servicios/interceptores/loading-interceptor.d.ts +11 -0
  219. package/src/app/core/servicios/interceptores/token-interceptor.service.d.ts +26 -0
  220. package/src/app/core/servicios/loading.service.d.ts +22 -0
  221. package/src/app/core/servicios/menu.service.d.ts +35 -0
  222. package/src/app/core/servicios/spinner-service.d.ts +9 -0
  223. package/src/app/core/servicios/storage.service.d.ts +37 -0
  224. package/src/app/core/servicios/template.service.d.ts +20 -0
  225. package/src/app/core/servicios/toast.service.d.ts +48 -0
  226. package/src/app/core/servicios/utils.service.d.ts +46 -0
  227. package/src/app/core/sharedlib.module.d.ts +6 -0
  228. package/src/app/core/utilidades/color.util.d.ts +70 -0
  229. package/src/app/layout/api/{menuchangeevent.ts → menuchangeevent.d.ts} +4 -4
  230. package/src/app/layout/app.breadcrumb.component.d.ts +28 -0
  231. package/src/app/layout/app.footer.component.d.ts +8 -0
  232. package/src/app/layout/app.layout.component.d.ts +39 -0
  233. package/src/app/layout/app.layout.module.d.ts +6 -0
  234. package/src/app/layout/app.menu.component.d.ts +19 -0
  235. package/src/app/layout/app.menu.service.d.ts +12 -0
  236. package/src/app/layout/app.menuitem.component.d.ts +41 -0
  237. package/src/app/layout/app.menuprofile.component.d.ts +18 -0
  238. package/src/app/layout/app.rightmenu.component.d.ts +10 -0
  239. package/src/app/layout/app.sidebar.component.d.ts +34 -0
  240. package/src/app/layout/app.topbar.component.d.ts +86 -0
  241. package/src/app/layout/service/app.layout.service.d.ts +57 -0
  242. package/src/app/publico/pages/login/login.page.d.ts +40 -0
  243. package/src/app/publico/pages/not-found/not-found.page.d.ts +17 -0
  244. package/src/app/publico/pages/seleccion-rol/seleccion-rol.component.d.ts +41 -0
  245. package/src/app/publico/pages/timeout/timeout.page.d.ts +10 -0
  246. package/src/app/seguridad/constantes/ConstantesGenerales.d.ts +25 -0
  247. package/src/app/seguridad/constantes/ReporteEntradaConstantes.d.ts +7 -0
  248. package/src/app/seguridad/modelos/AplicacionModel.d.ts +7 -0
  249. package/src/app/seguridad/modelos/ArchivoPortalModel.d.ts +13 -0
  250. package/src/app/seguridad/modelos/AtributoPuntoModel.d.ts +8 -0
  251. package/src/app/seguridad/modelos/AtributoSSOportalModel.d.ts +16 -0
  252. package/src/app/seguridad/modelos/{AuditoriaArchivoModel.ts → AuditoriaArchivoModel.d.ts} +10 -13
  253. package/src/app/seguridad/modelos/CargueLineaModel.d.ts +12 -0
  254. package/src/app/seguridad/modelos/ColoresRGB.d.ts +17 -0
  255. package/src/app/seguridad/modelos/ColumnaFuenteModel.d.ts +8 -0
  256. package/src/app/seguridad/modelos/{ColumnaWraperModel.ts → ColumnaWraperModel.d.ts} +6 -7
  257. package/src/app/seguridad/modelos/ComplementoModel.d.ts +6 -0
  258. package/src/app/seguridad/modelos/ComponentePaginaModel.d.ts +20 -0
  259. package/src/app/seguridad/modelos/ConexionModel.d.ts +13 -0
  260. package/src/app/seguridad/modelos/{ContenidoHtmlPortalModel.ts → ContenidoHtmlPortalModel.d.ts} +20 -25
  261. package/src/app/seguridad/modelos/ControlFuncionModel.d.ts +7 -0
  262. package/src/app/seguridad/modelos/CorreoModel.d.ts +31 -0
  263. package/src/app/seguridad/modelos/{CorreoOrgEmpModModel.ts → CorreoOrgEmpModModel.d.ts} +8 -11
  264. package/src/app/seguridad/modelos/CorreoWSModel.d.ts +33 -0
  265. package/src/app/seguridad/modelos/CruceRecursoPuntoModel.d.ts +13 -0
  266. package/src/app/seguridad/modelos/{DatoInicioModel.ts → DatoInicioModel.d.ts} +6 -7
  267. package/src/app/seguridad/modelos/{EjecucionReporteDataModel.ts → EjecucionReporteDataModel.d.ts} +20 -21
  268. package/src/app/seguridad/modelos/EmpresaModel.d.ts +23 -0
  269. package/src/app/seguridad/modelos/EmpresaSeguridadModel.d.ts +18 -0
  270. package/src/app/seguridad/modelos/{EntradaComplementoModel.ts → EntradaComplementoModel.d.ts} +6 -9
  271. package/src/app/seguridad/modelos/EtiquetaModel.d.ts +4 -0
  272. package/src/app/seguridad/modelos/Etiquetas.d.ts +10 -0
  273. package/src/app/seguridad/modelos/{ForeingWraperModel.ts → ForeingWraperModel.d.ts} +6 -9
  274. package/src/app/seguridad/modelos/FuenteCampoAtributoModel.d.ts +15 -0
  275. package/src/app/seguridad/modelos/{FuenteCampoModel.ts → FuenteCampoModel.d.ts} +16 -20
  276. package/src/app/seguridad/modelos/FuenteDato.d.ts +18 -0
  277. package/src/app/seguridad/modelos/FuenteEntradaModel.d.ts +8 -0
  278. package/src/app/seguridad/modelos/{FuenteGeneralModel.ts → FuenteGeneralModel.d.ts} +36 -55
  279. package/src/app/seguridad/modelos/FuenteLineaServicioModel.d.ts +16 -0
  280. package/src/app/seguridad/modelos/FuenteProcesoGeneralModel.d.ts +10 -0
  281. package/src/app/seguridad/modelos/{FuenteServicioModel.ts → FuenteServicioModel.d.ts} +47 -61
  282. package/src/app/seguridad/modelos/FuncionalidadModel.d.ts +8 -0
  283. package/src/app/seguridad/modelos/GeneralModel.d.ts +8 -0
  284. package/src/app/seguridad/modelos/{GrupoAccesoModel.ts → GrupoAccesoModel.d.ts} +6 -9
  285. package/src/app/seguridad/modelos/GrupoControlFuncionModel.d.ts +9 -0
  286. package/src/app/seguridad/modelos/GrupoFuenteModel.d.ts +13 -0
  287. package/src/app/seguridad/modelos/GrupoPermisoModel.d.ts +13 -0
  288. package/src/app/seguridad/modelos/{JoinFromModel.ts → JoinFromModel.d.ts} +4 -4
  289. package/src/app/seguridad/modelos/ListaServicioModel.d.ts +16 -0
  290. package/src/app/seguridad/modelos/LlaveForaneaModel.d.ts +6 -0
  291. package/src/app/seguridad/modelos/LoginModel.d.ts +17 -0
  292. package/src/app/seguridad/modelos/MensajeSistemaModel.d.ts +7 -0
  293. package/src/app/seguridad/modelos/{MenuPortalModel.ts → MenuPortalModel.d.ts} +4 -5
  294. package/src/app/seguridad/modelos/ModulosModel.d.ts +14 -0
  295. package/src/app/seguridad/modelos/{ObjetoReporteModel.ts → ObjetoReporteModel.d.ts} +5 -6
  296. package/src/app/seguridad/modelos/PaginaPortalModel.d.ts +19 -0
  297. package/src/app/seguridad/modelos/ParametroComponenteModel.d.ts +8 -0
  298. package/src/app/seguridad/modelos/ParametrosGeneralModel.d.ts +8 -0
  299. package/src/app/seguridad/modelos/PermisoFuncionModel.d.ts +8 -0
  300. package/src/app/seguridad/modelos/PermisocontenidoModel.d.ts +18 -0
  301. package/src/app/seguridad/modelos/{PeticionModel.ts → PeticionModel.d.ts} +15 -20
  302. package/src/app/seguridad/modelos/PreguntaSeguridadModel.d.ts +6 -0
  303. package/src/app/seguridad/modelos/PropiedadModel.d.ts +9 -0
  304. package/src/app/seguridad/modelos/PublicacionWebModel.d.ts +25 -0
  305. package/src/app/seguridad/modelos/PuntoProcesoModel.d.ts +6 -0
  306. package/src/app/seguridad/modelos/RecursoPunto.d.ts +12 -0
  307. package/src/app/seguridad/modelos/RecursoPuntoModel.d.ts +12 -0
  308. package/src/app/seguridad/modelos/ReporteBanda.d.ts +7 -0
  309. package/src/app/seguridad/modelos/ReporteColumna.d.ts +32 -0
  310. package/src/app/seguridad/modelos/ReporteColumnario.d.ts +68 -0
  311. package/src/app/seguridad/modelos/ReporteColumnarioMarcador.d.ts +23 -0
  312. package/src/app/seguridad/modelos/{ReporteEntradaModel.ts → ReporteEntradaModel.d.ts} +19 -21
  313. package/src/app/seguridad/modelos/{ReporteFuenteModel.ts → ReporteFuenteModel.d.ts} +87 -141
  314. package/src/app/seguridad/modelos/ReporteMarcador.d.ts +39 -0
  315. package/src/app/seguridad/modelos/ReporteSoporte.d.ts +9 -0
  316. package/src/app/seguridad/modelos/ReporteTabla.d.ts +12 -0
  317. package/src/app/seguridad/modelos/RespuestaModel.d.ts +8 -0
  318. package/src/app/seguridad/modelos/{RolModel.ts → RolModel.d.ts} +37 -41
  319. package/src/app/seguridad/modelos/ServidorCorreoModel.d.ts +25 -0
  320. package/src/app/seguridad/modelos/SistemaMensajeModel.d.ts +8 -0
  321. package/src/app/seguridad/modelos/SitioPortalModel.d.ts +24 -0
  322. package/src/app/seguridad/modelos/TablaFromModel.d.ts +4 -0
  323. package/src/app/seguridad/modelos/TareasModel.d.ts +50 -0
  324. package/src/app/seguridad/modelos/TextoModel.d.ts +8 -0
  325. package/src/app/seguridad/modelos/TipoEtiqueta.d.ts +7 -0
  326. package/src/app/seguridad/modelos/UnionModel.d.ts +11 -0
  327. package/src/app/seguridad/modelos/{UsuarioModel.ts → UsuarioModel.d.ts} +49 -60
  328. package/src/app/seguridad/modelos/UsuariogrupoModel.d.ts +22 -0
  329. package/src/app/seguridad/modelos/aplicacion-propiedad-model.d.ts +13 -0
  330. package/src/app/seguridad/modelos/contenidoCorreoModel.d.ts +9 -0
  331. package/src/app/shared/componentes/input-helper-seleccion-plantilla/input-helper-seleccion-plantilla.component.d.ts +47 -0
  332. package/src/app/shared/servicios/cargar-archivos.service.d.ts +15 -0
  333. package/src/app/shared/servicios/cargar-mapas.service.d.ts +18 -0
  334. package/src/app/shared/servicios/encriptado-basico.service.d.ts +10 -0
  335. package/src/app/shared/servicios/general.service.d.ts +24 -0
  336. package/src/app/shared/servicios/parametros-navegacion.service.d.ts +9 -0
  337. package/src/app/webcommon/pages/cargue-plantilla/cargue-plantilla-general/cargue-plantilla-general.component.d.ts +79 -0
  338. package/src/app/webcommon/pages/ejecucion-reporte/detalle-campo-reporte/detalle-campo-reporte.component.d.ts +79 -0
  339. package/src/app/webcommon/pages/ejecucion-reporte/detalle-distribucion-reporte/detalle-distribucion-reporte.component.d.ts +29 -0
  340. package/src/app/webcommon/pages/ejecucion-reporte/detalle-ejecucion-reporte/detalle-ejecucion-reporte.page.d.ts +69 -0
  341. package/src/app/webcommon/pages/ejecucion-reporte/detalle-entrada-reporte/detalle-entrada-reporte.component.d.ts +51 -0
  342. package/src/app/webcommon/pages/ejecucion-reporte/detalle-punto-proceso-reporte/detalle-punto-proceso-reporte.component.d.ts +77 -0
  343. package/src/app/webcommon/pages/ejecucion-reporte/detalle-tipo-reporte/detalle-tipo-reporte.component.d.ts +279 -0
  344. package/src/app/webcommon/pages/ejecucion-reporte/listado-ejecucion-reporte/listado-ejecucion-reporte.page.d.ts +42 -0
  345. package/src/app/webcommon/pages/ejecucion-reporte-externo/listado-ejecucion-reporte-externo/listado-ejecucion-reporte-externo.component.d.ts +36 -0
  346. package/src/app/webcommon/pages/fuente/importar-fuente-con/importar-fuente-con.component.d.ts +146 -0
  347. package/src/app/webcommon/pages/fuente/importar-fuente-general/importar-fuente-general.component.d.ts +49 -0
  348. package/src/app/webcommon/pages/fuente-reporte/fuente-reporte.component.d.ts +132 -0
  349. package/src/app/webcommon/pages/fuenteGeneral/fuente-general-servicio/fuente-general-servicio.component.d.ts +64 -0
  350. package/src/app/webcommon/pages/fuenteGeneral/listado-fuente-general/listado-fuente-general.page.d.ts +33 -0
  351. package/src/app/webcommon/pages/fuenteGeneral/mantenimiento-fuente-general/mantenimiento-fuente-general.page.d.ts +149 -0
  352. package/src/app/webcommon/pipes/dashboard.pipe.d.ts +48 -0
  353. package/src/app/webcommon/pipes/fuente.pipe.d.ts +136 -0
  354. package/src/app/webcommon/pipes/general.pipe.d.ts +647 -0
  355. package/src/app/webcommon/pipes/reporte-columnario.pipe.d.ts +59 -0
  356. package/src/app/webcommon/pipes/reporte-fuente.pipe.d.ts +193 -0
  357. package/src/app/webcommon/popups/popup-campos-fuente-general/popup-campos-fuente-general.component.d.ts +59 -0
  358. package/src/app/webcommon/popups/popup-convertir-plantillas/popup-convertir-plantillas.component.d.ts +27 -0
  359. package/src/app/webcommon/popups/popup-editor-formula/popup-editor-formula.component.d.ts +21 -0
  360. package/src/app/webcommon/popups/popup-punto-proceso/popup-punto-proceso.component.d.ts +64 -0
  361. package/src/app/webcommon/popups/popup-recurso/popup-recurso.component.d.ts +63 -0
  362. package/src/app/webcommon/popups/popup-reporte/popup-reporte.component.d.ts +105 -0
  363. package/src/app/webcommon/popups/popup-sentencia/popup-sentencia.component.d.ts +21 -0
  364. package/src/app/webcommon/popups/popup-tablas-fuente/popup-tablas-fuente.component.d.ts +42 -0
  365. package/src/app/webcommon/popups/punto-proceso-comp/punto-proceso-comp.component.d.ts +30 -0
  366. package/src/app/webcommon/services/carguelinea.service.d.ts +19 -0
  367. package/src/app/webcommon/services/dashboard.service.d.ts +27 -0
  368. package/src/app/webcommon/services/ejecucionreporte.service.d.ts +34 -0
  369. package/src/app/webcommon/services/fechaUtils.service.d.ts +31 -0
  370. package/src/app/webcommon/services/fuentegeneral.service.d.ts +24 -0
  371. package/src/app/webcommon/services/homologacion.service.d.ts +17 -0
  372. package/src/app/webcommon/services/plantillas.service.d.ts +26 -0
  373. package/src/app/webcommon/services/reportes.service.d.ts +35 -0
  374. package/src/app/webcommon/webcommon.module.d.ts +6 -0
  375. package/src/environments/environment.d.ts +7 -0
  376. package/.browserslistrc +0 -15
  377. package/.editorconfig +0 -16
  378. package/.vscode/extensions.json +0 -4
  379. package/.vscode/launch.json +0 -20
  380. package/.vscode/tasks.json +0 -42
  381. package/angular.json +0 -143
  382. package/karma.conf.js +0 -44
  383. package/ng-package.json +0 -21
  384. package/src/app/app.component.html +0 -12
  385. package/src/app/app.component.scss +0 -0
  386. package/src/app/app.component.spec.ts +0 -29
  387. package/src/app/app.component.ts +0 -34
  388. package/src/app/app.config.ts +0 -43
  389. package/src/app/app.module.ts +0 -10
  390. package/src/app/app.routes.ts +0 -88
  391. package/src/app/core/componentes/breadcrumb/breadcrumb.component.html +0 -6
  392. package/src/app/core/componentes/breadcrumb/breadcrumb.component.scss +0 -0
  393. package/src/app/core/componentes/breadcrumb/breadcrumb.component.ts +0 -39
  394. package/src/app/core/componentes/carga-breadcrumb/carga-breadcrumb.component.html +0 -1
  395. package/src/app/core/componentes/carga-breadcrumb/carga-breadcrumb.component.scss +0 -0
  396. package/src/app/core/componentes/carga-breadcrumb/carga-breadcrumb.component.ts +0 -31
  397. package/src/app/core/componentes/carga-pantalla-completa/carga-pantalla-completa.component.html +0 -9
  398. package/src/app/core/componentes/carga-pantalla-completa/carga-pantalla-completa.component.scss +0 -28
  399. package/src/app/core/componentes/carga-pantalla-completa/carga-pantalla-completa.component.ts +0 -32
  400. package/src/app/core/componentes/filtro-general/filtro-general.component.html +0 -36
  401. package/src/app/core/componentes/filtro-general/filtro-general.component.scss +0 -3
  402. package/src/app/core/componentes/filtro-general/filtro-general.component.ts +0 -218
  403. package/src/app/core/componentes/footer/footer.component.html +0 -13
  404. package/src/app/core/componentes/footer/footer.component.scss +0 -3
  405. package/src/app/core/componentes/footer/footer.component.ts +0 -20
  406. package/src/app/core/componentes/formulariodinamico/formulariodinamico.component.html +0 -267
  407. package/src/app/core/componentes/formulariodinamico/formulariodinamico.component.scss +0 -21
  408. package/src/app/core/componentes/formulariodinamico/formulariodinamico.component.ts +0 -278
  409. package/src/app/core/componentes/formulariodinamico/objetosformulario/CampoFormulario.ts +0 -118
  410. package/src/app/core/componentes/formulariodinamico/objetosformulario/CampoFormularioCons.ts +0 -76
  411. package/src/app/core/componentes/formulariodinamico/objetosformulario/CampoFormularioNuevo.ts +0 -67
  412. package/src/app/core/componentes/formulariodinamico/objetosformulario/HashDirective.ts +0 -11
  413. package/src/app/core/componentes/inicio-component/inicio-component.component.html +0 -29
  414. package/src/app/core/componentes/inicio-component/inicio-component.component.scss +0 -63
  415. package/src/app/core/componentes/inicio-component/inicio-component.component.ts +0 -68
  416. package/src/app/core/componentes/menu/menu.component.html +0 -13
  417. package/src/app/core/componentes/menu/menu.component.scss +0 -36
  418. package/src/app/core/componentes/menu/menu.component.ts +0 -35
  419. package/src/app/core/componentes/tabla-general/tabla-general.component.html +0 -90
  420. package/src/app/core/componentes/tabla-general/tabla-general.component.scss +0 -0
  421. package/src/app/core/componentes/tabla-general/tabla-general.component.ts +0 -96
  422. package/src/app/core/core.module.ts +0 -22
  423. package/src/app/core/errores/authentication.error.ts +0 -6
  424. package/src/app/core/modelos/error-response.model.ts +0 -9
  425. package/src/app/core/modelos/table-column.model.ts +0 -10
  426. package/src/app/core/modelos/user.model.ts +0 -6
  427. package/src/app/core/plantilla-general/plantilla-general.template.html +0 -139
  428. package/src/app/core/plantilla-general/plantilla-general.template.scss +0 -37
  429. package/src/app/core/plantilla-general/plantilla-general.template.ts +0 -233
  430. package/src/app/core/servicios/auth.service.ts +0 -189
  431. package/src/app/core/servicios/cargar-control-funcionalidad.service.ts +0 -48
  432. package/src/app/core/servicios/click-posicion.service.ts +0 -16
  433. package/src/app/core/servicios/data-exporter-table.utils.ts +0 -78
  434. package/src/app/core/servicios/error-interceptor.service.ts +0 -208
  435. package/src/app/core/servicios/guardias/auth.guard.ts +0 -51
  436. package/src/app/core/servicios/guardias/publico.guard.ts +0 -26
  437. package/src/app/core/servicios/interceptores/loading-interceptor.ts +0 -37
  438. package/src/app/core/servicios/interceptores/token-interceptor.service.ts +0 -177
  439. package/src/app/core/servicios/loading.service.ts +0 -48
  440. package/src/app/core/servicios/menu.service.ts +0 -153
  441. package/src/app/core/servicios/spinner-service.ts +0 -18
  442. package/src/app/core/servicios/storage.service.ts +0 -68
  443. package/src/app/core/servicios/template.service.ts +0 -91
  444. package/src/app/core/servicios/toast.service.ts +0 -114
  445. package/src/app/core/servicios/utils.service.ts +0 -398
  446. package/src/app/core/sharedlib.module.ts +0 -11
  447. package/src/app/core/utilidades/color.util.ts +0 -197
  448. package/src/app/layout/app.breadcrumb.component.html +0 -20
  449. package/src/app/layout/app.breadcrumb.component.ts +0 -78
  450. package/src/app/layout/app.footer.component.html +0 -18
  451. package/src/app/layout/app.footer.component.ts +0 -15
  452. package/src/app/layout/app.layout.component.html +0 -20
  453. package/src/app/layout/app.layout.component.ts +0 -201
  454. package/src/app/layout/app.layout.module.ts +0 -9
  455. package/src/app/layout/app.menu.component.html +0 -6
  456. package/src/app/layout/app.menu.component.ts +0 -51
  457. package/src/app/layout/app.menu.service.ts +0 -23
  458. package/src/app/layout/app.menuitem.component.ts +0 -252
  459. package/src/app/layout/app.menuprofile.component.html +0 -35
  460. package/src/app/layout/app.menuprofile.component.ts +0 -60
  461. package/src/app/layout/app.rightmenu.component.html +0 -72
  462. package/src/app/layout/app.rightmenu.component.ts +0 -24
  463. package/src/app/layout/app.sidebar.component.html +0 -40
  464. package/src/app/layout/app.sidebar.component.ts +0 -81
  465. package/src/app/layout/app.topbar.component.html +0 -194
  466. package/src/app/layout/app.topbar.component.ts +0 -378
  467. package/src/app/layout/config/app.config.component.html +0 -125
  468. package/src/app/layout/config/app.config.component.ts +0 -206
  469. package/src/app/layout/config/app.config.module.ts +0 -11
  470. package/src/app/layout/service/app.layout.service.ts +0 -191
  471. package/src/app/publico/pages/login/login.page.html +0 -53
  472. package/src/app/publico/pages/login/login.page.scss +0 -210
  473. package/src/app/publico/pages/login/login.page.ts +0 -130
  474. package/src/app/publico/pages/not-found/not-found.page.html +0 -36
  475. package/src/app/publico/pages/not-found/not-found.page.scss +0 -2
  476. package/src/app/publico/pages/not-found/not-found.page.ts +0 -46
  477. package/src/app/publico/pages/seleccion-rol/seleccion-rol.component.html +0 -58
  478. package/src/app/publico/pages/seleccion-rol/seleccion-rol.component.scss +0 -46
  479. package/src/app/publico/pages/seleccion-rol/seleccion-rol.component.ts +0 -176
  480. package/src/app/publico/pages/timeout/timeout.page.html +0 -24
  481. package/src/app/publico/pages/timeout/timeout.page.scss +0 -2
  482. package/src/app/publico/pages/timeout/timeout.page.ts +0 -18
  483. package/src/app/seguridad/constantes/ConstantesGenerales.ts +0 -30
  484. package/src/app/seguridad/constantes/ReporteEntradaConstantes.ts +0 -18
  485. package/src/app/seguridad/constantes/ReporteFuenteConstantes.ts +0 -13
  486. package/src/app/seguridad/modelos/AplicacionModel.ts +0 -11
  487. package/src/app/seguridad/modelos/ArchivoPortalModel.ts +0 -16
  488. package/src/app/seguridad/modelos/AtributoPuntoModel.ts +0 -9
  489. package/src/app/seguridad/modelos/AtributoSSOportalModel.ts +0 -22
  490. package/src/app/seguridad/modelos/CargueLineaModel.ts +0 -17
  491. package/src/app/seguridad/modelos/ColoresRGB.ts +0 -17
  492. package/src/app/seguridad/modelos/ColumnaFuenteModel.ts +0 -9
  493. package/src/app/seguridad/modelos/ComplementoModel.ts +0 -10
  494. package/src/app/seguridad/modelos/ComponentePaginaModel.ts +0 -22
  495. package/src/app/seguridad/modelos/ConexionModel.ts +0 -15
  496. package/src/app/seguridad/modelos/ControlFuncionModel.ts +0 -10
  497. package/src/app/seguridad/modelos/CorreoModel.ts +0 -45
  498. package/src/app/seguridad/modelos/CorreoWSModel.ts +0 -49
  499. package/src/app/seguridad/modelos/CruceRecursoPuntoModel.ts +0 -14
  500. package/src/app/seguridad/modelos/EmpresaModel.ts +0 -25
  501. package/src/app/seguridad/modelos/EmpresaSeguridadModel.ts +0 -19
  502. package/src/app/seguridad/modelos/EtiquetaModel.ts +0 -4
  503. package/src/app/seguridad/modelos/Etiquetas.ts +0 -14
  504. package/src/app/seguridad/modelos/FuenteCampoAtributoModel.ts +0 -21
  505. package/src/app/seguridad/modelos/FuenteDato.ts +0 -19
  506. package/src/app/seguridad/modelos/FuenteEntradaModel.ts +0 -9
  507. package/src/app/seguridad/modelos/FuenteLineaServicioModel.ts +0 -19
  508. package/src/app/seguridad/modelos/FuenteProcesoGeneralModel.ts +0 -14
  509. package/src/app/seguridad/modelos/FuncionalidadModel.ts +0 -12
  510. package/src/app/seguridad/modelos/GeneralModel.ts +0 -16
  511. package/src/app/seguridad/modelos/GrupoControlFuncionModel.ts +0 -12
  512. package/src/app/seguridad/modelos/GrupoFuenteModel.ts +0 -17
  513. package/src/app/seguridad/modelos/GrupoPermisoModel.ts +0 -16
  514. package/src/app/seguridad/modelos/ListaServicioModel.ts +0 -18
  515. package/src/app/seguridad/modelos/LlaveForaneaModel.ts +0 -6
  516. package/src/app/seguridad/modelos/LoginModel.ts +0 -19
  517. package/src/app/seguridad/modelos/MensajeSistemaModel.ts +0 -10
  518. package/src/app/seguridad/modelos/ModulosModel.ts +0 -17
  519. package/src/app/seguridad/modelos/PaginaPortalModel.ts +0 -23
  520. package/src/app/seguridad/modelos/ParametroComponenteModel.ts +0 -9
  521. package/src/app/seguridad/modelos/ParametrosGeneralModel.ts +0 -16
  522. package/src/app/seguridad/modelos/PermisoFuncionModel.ts +0 -11
  523. package/src/app/seguridad/modelos/PermisocontenidoModel.ts +0 -20
  524. package/src/app/seguridad/modelos/PreguntaSeguridadModel.ts +0 -9
  525. package/src/app/seguridad/modelos/PropiedadModel.ts +0 -12
  526. package/src/app/seguridad/modelos/PublicacionWebModel.ts +0 -29
  527. package/src/app/seguridad/modelos/PuntoProcesoModel.ts +0 -7
  528. package/src/app/seguridad/modelos/RecursoPunto.ts +0 -13
  529. package/src/app/seguridad/modelos/RecursoPuntoModel.ts +0 -13
  530. package/src/app/seguridad/modelos/ReporteBanda.ts +0 -9
  531. package/src/app/seguridad/modelos/ReporteColumna.ts +0 -33
  532. package/src/app/seguridad/modelos/ReporteColumnario.ts +0 -82
  533. package/src/app/seguridad/modelos/ReporteColumnarioMarcador.ts +0 -31
  534. package/src/app/seguridad/modelos/ReporteMarcador.ts +0 -40
  535. package/src/app/seguridad/modelos/ReporteSoporte.ts +0 -10
  536. package/src/app/seguridad/modelos/ReporteTabla.ts +0 -14
  537. package/src/app/seguridad/modelos/RespuestaModel.ts +0 -9
  538. package/src/app/seguridad/modelos/ServidorCorreoModel.ts +0 -31
  539. package/src/app/seguridad/modelos/SistemaMensajeModel.ts +0 -11
  540. package/src/app/seguridad/modelos/SitioPortalModel.ts +0 -29
  541. package/src/app/seguridad/modelos/TablaFromModel.ts +0 -5
  542. package/src/app/seguridad/modelos/TareasModel.ts +0 -54
  543. package/src/app/seguridad/modelos/TextoModel.ts +0 -11
  544. package/src/app/seguridad/modelos/TipoEtiqueta.ts +0 -8
  545. package/src/app/seguridad/modelos/UnionModel.ts +0 -14
  546. package/src/app/seguridad/modelos/UsuariogrupoModel.ts +0 -27
  547. package/src/app/seguridad/modelos/aplicacion-propiedad-model.ts +0 -16
  548. package/src/app/seguridad/modelos/contenidoCorreoModel.ts +0 -13
  549. package/src/app/shared/componentes/input-helper-seleccion-plantilla/input-helper-seleccion-plantilla.component.html +0 -47
  550. package/src/app/shared/componentes/input-helper-seleccion-plantilla/input-helper-seleccion-plantilla.component.scss +0 -8
  551. package/src/app/shared/componentes/input-helper-seleccion-plantilla/input-helper-seleccion-plantilla.component.ts +0 -144
  552. package/src/app/shared/servicios/cargar-archivos.service.ts +0 -51
  553. package/src/app/shared/servicios/cargar-mapas.service.ts +0 -43
  554. package/src/app/shared/servicios/encriptado-basico.service.ts +0 -54
  555. package/src/app/shared/servicios/encriptador-simetrico.service.ts +0 -29
  556. package/src/app/shared/servicios/general.service.ts +0 -124
  557. package/src/app/shared/servicios/parametros-navegacion.service.ts +0 -20
  558. package/src/app/shared/servicios/plantillas.service.ts +0 -22
  559. package/src/app/shared/servicios/tarea.service.ts +0 -71
  560. package/src/app/shared/utilidades/translate-loader.util.ts +0 -44
  561. package/src/app/webcommon/pages/cargue-plantilla/cargue-plantilla-general/cargue-plantilla-general.component.html +0 -175
  562. package/src/app/webcommon/pages/cargue-plantilla/cargue-plantilla-general/cargue-plantilla-general.component.scss +0 -78
  563. package/src/app/webcommon/pages/cargue-plantilla/cargue-plantilla-general/cargue-plantilla-general.component.ts +0 -438
  564. package/src/app/webcommon/pages/ejecucion-reporte/detalle-campo-reporte/detalle-campo-reporte.component.html +0 -87
  565. package/src/app/webcommon/pages/ejecucion-reporte/detalle-campo-reporte/detalle-campo-reporte.component.scss +0 -0
  566. package/src/app/webcommon/pages/ejecucion-reporte/detalle-campo-reporte/detalle-campo-reporte.component.ts +0 -189
  567. package/src/app/webcommon/pages/ejecucion-reporte/detalle-distribucion-reporte/detalle-distribucion-reporte.component.html +0 -117
  568. package/src/app/webcommon/pages/ejecucion-reporte/detalle-distribucion-reporte/detalle-distribucion-reporte.component.scss +0 -0
  569. package/src/app/webcommon/pages/ejecucion-reporte/detalle-distribucion-reporte/detalle-distribucion-reporte.component.ts +0 -87
  570. package/src/app/webcommon/pages/ejecucion-reporte/detalle-ejecucion-reporte/detalle-ejecucion-reporte.page.html +0 -158
  571. package/src/app/webcommon/pages/ejecucion-reporte/detalle-ejecucion-reporte/detalle-ejecucion-reporte.page.scss +0 -6
  572. package/src/app/webcommon/pages/ejecucion-reporte/detalle-ejecucion-reporte/detalle-ejecucion-reporte.page.ts +0 -345
  573. package/src/app/webcommon/pages/ejecucion-reporte/detalle-entrada-reporte/detalle-entrada-reporte.component.html +0 -131
  574. package/src/app/webcommon/pages/ejecucion-reporte/detalle-entrada-reporte/detalle-entrada-reporte.component.scss +0 -0
  575. package/src/app/webcommon/pages/ejecucion-reporte/detalle-entrada-reporte/detalle-entrada-reporte.component.ts +0 -198
  576. package/src/app/webcommon/pages/ejecucion-reporte/detalle-punto-proceso-reporte/detalle-punto-proceso-reporte.component.html +0 -206
  577. package/src/app/webcommon/pages/ejecucion-reporte/detalle-punto-proceso-reporte/detalle-punto-proceso-reporte.component.scss +0 -3
  578. package/src/app/webcommon/pages/ejecucion-reporte/detalle-punto-proceso-reporte/detalle-punto-proceso-reporte.component.ts +0 -328
  579. package/src/app/webcommon/pages/ejecucion-reporte/detalle-tipo-reporte/detalle-tipo-reporte.component.html +0 -2121
  580. package/src/app/webcommon/pages/ejecucion-reporte/detalle-tipo-reporte/detalle-tipo-reporte.component.scss +0 -241
  581. package/src/app/webcommon/pages/ejecucion-reporte/detalle-tipo-reporte/detalle-tipo-reporte.component.ts +0 -1698
  582. package/src/app/webcommon/pages/ejecucion-reporte/listado-ejecucion-reporte/listado-ejecucion-reporte.page.html +0 -33
  583. package/src/app/webcommon/pages/ejecucion-reporte/listado-ejecucion-reporte/listado-ejecucion-reporte.page.scss +0 -0
  584. package/src/app/webcommon/pages/ejecucion-reporte/listado-ejecucion-reporte/listado-ejecucion-reporte.page.ts +0 -96
  585. package/src/app/webcommon/pages/ejecucion-reporte-externo/listado-ejecucion-reporte-externo/listado-ejecucion-reporte-externo.component.html +0 -56
  586. package/src/app/webcommon/pages/ejecucion-reporte-externo/listado-ejecucion-reporte-externo/listado-ejecucion-reporte-externo.component.scss +0 -0
  587. package/src/app/webcommon/pages/ejecucion-reporte-externo/listado-ejecucion-reporte-externo/listado-ejecucion-reporte-externo.component.ts +0 -113
  588. package/src/app/webcommon/pages/fuente/importar-fuente-con/importar-fuente-con.component.html +0 -394
  589. package/src/app/webcommon/pages/fuente/importar-fuente-con/importar-fuente-con.component.scss +0 -10
  590. package/src/app/webcommon/pages/fuente/importar-fuente-con/importar-fuente-con.component.ts +0 -610
  591. package/src/app/webcommon/pages/fuente/importar-fuente-general/importar-fuente-general.component.html +0 -130
  592. package/src/app/webcommon/pages/fuente/importar-fuente-general/importar-fuente-general.component.scss +0 -0
  593. package/src/app/webcommon/pages/fuente/importar-fuente-general/importar-fuente-general.component.ts +0 -172
  594. package/src/app/webcommon/pages/fuente-reporte/fuente-reporte.component.html +0 -404
  595. package/src/app/webcommon/pages/fuente-reporte/fuente-reporte.component.scss +0 -5
  596. package/src/app/webcommon/pages/fuente-reporte/fuente-reporte.component.ts +0 -763
  597. package/src/app/webcommon/pages/fuenteGeneral/fuente-general-servicio/fuente-general-servicio.component.html +0 -145
  598. package/src/app/webcommon/pages/fuenteGeneral/fuente-general-servicio/fuente-general-servicio.component.scss +0 -0
  599. package/src/app/webcommon/pages/fuenteGeneral/fuente-general-servicio/fuente-general-servicio.component.ts +0 -302
  600. package/src/app/webcommon/pages/fuenteGeneral/listado-fuente-general/listado-fuente-general.page.html +0 -19
  601. package/src/app/webcommon/pages/fuenteGeneral/listado-fuente-general/listado-fuente-general.page.scss +0 -0
  602. package/src/app/webcommon/pages/fuenteGeneral/listado-fuente-general/listado-fuente-general.page.ts +0 -88
  603. package/src/app/webcommon/pages/fuenteGeneral/mantenimiento-fuente-general/mantenimiento-fuente-general.page.html +0 -714
  604. package/src/app/webcommon/pages/fuenteGeneral/mantenimiento-fuente-general/mantenimiento-fuente-general.page.scss +0 -0
  605. package/src/app/webcommon/pages/fuenteGeneral/mantenimiento-fuente-general/mantenimiento-fuente-general.page.ts +0 -688
  606. package/src/app/webcommon/pipes/dashboard.pipe.ts +0 -79
  607. package/src/app/webcommon/pipes/fuente.pipe.ts +0 -207
  608. package/src/app/webcommon/pipes/general.pipe.ts +0 -1046
  609. package/src/app/webcommon/pipes/reporte-columnario.pipe.ts +0 -101
  610. package/src/app/webcommon/pipes/reporte-fuente.pipe.ts +0 -306
  611. package/src/app/webcommon/pipes/sara-general.pipe.ts +0 -289
  612. package/src/app/webcommon/popups/popup-campos-fuente-general/popup-campos-fuente-general.component.html +0 -90
  613. package/src/app/webcommon/popups/popup-campos-fuente-general/popup-campos-fuente-general.component.scss +0 -0
  614. package/src/app/webcommon/popups/popup-campos-fuente-general/popup-campos-fuente-general.component.ts +0 -262
  615. package/src/app/webcommon/popups/popup-convertir-plantillas/popup-convertir-plantillas.component.html +0 -50
  616. package/src/app/webcommon/popups/popup-convertir-plantillas/popup-convertir-plantillas.component.scss +0 -0
  617. package/src/app/webcommon/popups/popup-convertir-plantillas/popup-convertir-plantillas.component.ts +0 -135
  618. package/src/app/webcommon/popups/popup-editor-formula/popup-editor-formula.component.html +0 -44
  619. package/src/app/webcommon/popups/popup-editor-formula/popup-editor-formula.component.scss +0 -0
  620. package/src/app/webcommon/popups/popup-editor-formula/popup-editor-formula.component.ts +0 -66
  621. package/src/app/webcommon/popups/popup-punto-proceso/popup-punto-proceso.component.html +0 -41
  622. package/src/app/webcommon/popups/popup-punto-proceso/popup-punto-proceso.component.scss +0 -0
  623. package/src/app/webcommon/popups/popup-punto-proceso/popup-punto-proceso.component.ts +0 -283
  624. package/src/app/webcommon/popups/popup-recurso/popup-recurso.component.html +0 -179
  625. package/src/app/webcommon/popups/popup-recurso/popup-recurso.component.scss +0 -3
  626. package/src/app/webcommon/popups/popup-recurso/popup-recurso.component.ts +0 -266
  627. package/src/app/webcommon/popups/popup-reporte/popup-reporte.component.html +0 -273
  628. package/src/app/webcommon/popups/popup-reporte/popup-reporte.component.scss +0 -13
  629. package/src/app/webcommon/popups/popup-reporte/popup-reporte.component.ts +0 -566
  630. package/src/app/webcommon/popups/popup-sentencia/popup-sentencia.component.html +0 -10
  631. package/src/app/webcommon/popups/popup-sentencia/popup-sentencia.component.scss +0 -5
  632. package/src/app/webcommon/popups/popup-sentencia/popup-sentencia.component.ts +0 -58
  633. package/src/app/webcommon/popups/popup-tablas-fuente/popup-tablas-fuente.component.html +0 -71
  634. package/src/app/webcommon/popups/popup-tablas-fuente/popup-tablas-fuente.component.scss +0 -0
  635. package/src/app/webcommon/popups/popup-tablas-fuente/popup-tablas-fuente.component.ts +0 -154
  636. package/src/app/webcommon/popups/punto-proceso-comp/punto-proceso-comp.component.html +0 -11
  637. package/src/app/webcommon/popups/punto-proceso-comp/punto-proceso-comp.component.scss +0 -0
  638. package/src/app/webcommon/popups/punto-proceso-comp/punto-proceso-comp.component.ts +0 -82
  639. package/src/app/webcommon/services/carguelinea.service.ts +0 -74
  640. package/src/app/webcommon/services/dashboard.service.ts +0 -258
  641. package/src/app/webcommon/services/ejecucionreporte.service.ts +0 -160
  642. package/src/app/webcommon/services/fechaUtils.service.ts +0 -133
  643. package/src/app/webcommon/services/fuentegeneral.service.ts +0 -74
  644. package/src/app/webcommon/services/homologacion.service.ts +0 -49
  645. package/src/app/webcommon/services/plantillas.service.ts +0 -165
  646. package/src/app/webcommon/services/reportes.service.ts +0 -133
  647. package/src/app/webcommon/webcommon.module.ts +0 -11
  648. package/src/environments/environment.prod.ts +0 -3
  649. package/src/environments/environment.ts +0 -25
  650. package/src/favicon.ico +0 -0
  651. package/src/index.html +0 -14
  652. package/src/main.ts +0 -12
  653. package/src/polyfills.ts +0 -53
  654. package/src/test.ts +0 -14
  655. package/tsconfig.app.json +0 -15
  656. package/tsconfig.json +0 -35
  657. package/tsconfig.spec.json +0 -18
@@ -1,763 +0,0 @@
1
- import { PopupEditorFormulaComponent } from './../../popups/popup-editor-formula/popup-editor-formula.component';
2
- import { GeneralPipe } from './../../pipes/general.pipe';
3
- import { ToastService } from './../../../core/servicios/toast.service';
4
- import { Component, OnInit, ViewChild } from '@angular/core';
5
- import { ColumnaFuenteModel } from '../../../seguridad/modelos/ColumnaFuenteModel';
6
- import { FuenteDatoModel } from '../../../seguridad/modelos/FuenteDato';
7
- import { ReporteColumnaModel } from '../../../seguridad/modelos/ReporteColumna';
8
- import { TablaFromModel } from '../../../seguridad/modelos/TablaFromModel';
9
- import { JoinFromModel } from '../../../seguridad/modelos/JoinFromModel';
10
- import { ReportesService } from '../../services/reportes.service';
11
- import { LlaveForaneaModel } from '../../../seguridad/modelos/LlaveForaneaModel';
12
- import { ForeingWraperModel } from '../../../seguridad/modelos/ForeingWraperModel';
13
- import { GeneralService } from '../../../shared/servicios/general.service';
14
- import { GeneralModel } from '../../../seguridad/modelos/GeneralModel';
15
- import { ColumnaWraperModel } from '../../../seguridad/modelos/ColumnaWraperModel';
16
- import { UtilsService } from '../../../core/servicios/utils.service';
17
- import { ConfirmationService, MenuItem, MessageService } from 'primeng/api';
18
- import { TranslateModule, TranslateService } from '@ngx-translate/core';
19
- import { ConstantesGenerales } from '../../../seguridad/constantes/ConstantesGenerales';
20
- import { ButtonModule } from 'primeng/button';
21
- import { ConfirmPopupModule } from 'primeng/confirmpopup';
22
- import { InputTextareaModule } from 'primeng/inputtextarea';
23
- import { InputTextModule } from 'primeng/inputtext';
24
- import { CommonModule, NgIf } from '@angular/common';
25
- import { AccordionModule } from 'primeng/accordion';
26
- import { DropdownModule } from 'primeng/dropdown';
27
- import { FormsModule, ReactiveFormsModule } from '@angular/forms';
28
- import { TableModule } from 'primeng/table';
29
- import { TablaGeneralComponent } from '../../../core/componentes/tabla-general/tabla-general.component';
30
- import { FiltroGeneralComponent } from '../../../core/componentes/filtro-general/filtro-general.component';
31
- import { MenuService } from '../../../core/servicios/menu.service';
32
- import { SplitButtonModule } from 'primeng/splitbutton';
33
- import { TabViewModule } from 'primeng/tabview';
34
- import { StepsModule } from 'primeng/steps';
35
- import { PopupTablasFuenteComponent } from '../../popups/popup-tablas-fuente/popup-tablas-fuente.component';
36
- import { CheckboxModule } from 'primeng/checkbox';
37
- import { TooltipModule } from 'primeng/tooltip';
38
- import { ReporteEntradaConstantes } from '../../../seguridad/constantes/ReporteEntradaConstantes';
39
- import { ProgressBarModule } from 'primeng/progressbar';
40
- import { ConfirmDialogModule } from 'primeng/confirmdialog';
41
-
42
-
43
-
44
- @Component({
45
- selector: 'app-fuente-reporte',
46
- standalone: true,
47
- imports: [ProgressBarModule,TooltipModule,CheckboxModule,PopupTablasFuenteComponent,StepsModule,CommonModule,TabViewModule,SplitButtonModule,NgIf,
48
- TranslateModule, InputTextModule,CommonModule, AccordionModule, DropdownModule, FormsModule, TableModule, TablaGeneralComponent, FiltroGeneralComponent,
49
- ButtonModule, ReactiveFormsModule, GeneralPipe, InputTextareaModule, ConfirmPopupModule, ButtonModule,ConfirmDialogModule,PopupEditorFormulaComponent],
50
- providers: [MessageService,ConfirmationService],
51
- templateUrl: './fuente-reporte.component.html',
52
- styleUrl: './fuente-reporte.component.scss'
53
- })
54
- export class FuenteReporteComponent implements OnInit {
55
-
56
- public fuente: FuenteDatoModel = new FuenteDatoModel();
57
- public vistaVisualizar: string
58
- public tablasFrom: TablaFromModel[] = []; // from TablaFrom
59
- public joinsFrom: JoinFromModel[] = []; //from JoinFrom
60
- public columnas: ReporteColumnaModel[] = [];
61
- public listaColumnas: any[] = [];
62
- public listaJoin: any[] = [];
63
- public col1: string;
64
- public col2: string;
65
- public campos: ColumnaFuenteModel[] = [];
66
- public camposSeleccionar: ColumnaWraperModel[] = [];
67
- public mostrarSeleccionar: boolean;
68
- public campoFormula: ColumnaFuenteModel = new ColumnaFuenteModel();
69
- public actual: number;
70
- public tabPrincipal: number;
71
- public basico: boolean;
72
- public seleccionGeneral: boolean;
73
- public foraneas: any[] = [];
74
- public descripcion: string;
75
- public query: string;
76
- public paginador: FuenteDatoModel[] = [];
77
- public filtro: FuenteDatoModel = new FuenteDatoModel();
78
- public paginator = {
79
- rows: 10,
80
- totalRecords: 0,
81
- };
82
- public columns : any[] = [];
83
- public filters : any[] = [];
84
- public loading : boolean;
85
- public menu: MenuItem[] = [];
86
- public items: MenuItem[] = [];
87
- public mapaMensajes: Map<number,string> = new Map<number,string>();
88
- @ViewChild('popupTablasFuenteUI') popupTablasFuenteUI: PopupTablasFuenteComponent;
89
- @ViewChild('popupEditorFormula') popupEditorFormula: PopupEditorFormulaComponent;
90
- public tiposDato = ReporteEntradaConstantes.tipoDato
91
- public clickGuardar: boolean;
92
- public verNuevoJoin: boolean;
93
- public activeIndex: number = 0;
94
- public cargarPaso: boolean;
95
- loadingGenerar: boolean;
96
- errorQuery: boolean;
97
- tipoDatos: Map<string, string> = new Map<string, string>();
98
-
99
- constructor(private menuService: MenuService,private notificationBusService: ToastService, private reportesSvc: ReportesService, private generalSvc: GeneralService, public utilsService: UtilsService, private confirmationService: ConfirmationService, private translateService: TranslateService,
100
- public messageService: MessageService, private generalPipe: GeneralPipe) { }
101
-
102
- ngOnInit(): void {
103
- this.tipoDatos = ReporteEntradaConstantes.tipoDato;
104
- console.log(this.tipoDatos.get('F'));
105
- this.listaColumnas = [];
106
- this.campos = [];
107
- this.listaJoin = [];
108
- this.columnas = [];
109
- this.tablasFrom = [];
110
- this.camposSeleccionar = [];
111
- this.joinsFrom = [];
112
- this.actual = 0;
113
- this.menuService.setBreadcrumb([{ label: 'Fuente Reporte' }]);
114
- this.columns = [
115
- {
116
- field: 'descripcion',
117
- header: this.translateService.instant('descripcion'),
118
- width: 100,
119
- },
120
- ];
121
- this.filters = [
122
- {
123
- field: 'descripcion',
124
- header: this.translateService.instant('descripcion'),
125
- matchMode: 'contains',
126
- }
127
- ];
128
- this.initStep();
129
- }
130
-
131
- public async load(event) {
132
- try {
133
- this.loading =true;
134
- this.filtro.paginacionRegistroInicial = event?.first != null ? event?.first : 0;
135
- this.filtro.paginacionRegistroFinal = event?.rows != null ? event?.rows : 10;
136
- this.filtro.origen = ("F");
137
- this.filtro.descripcion = event?.filters.descripcion?.value ? ConstantesGenerales.PORCENTAJE + event?.filters.descripcion?.value + ConstantesGenerales.PORCENTAJE : null
138
- this.paginador = await this.reportesSvc.consultarFuenteDato(this.filtro).toPromise();
139
- this.paginator.totalRecords = await this.reportesSvc.cantidadFuenteDato(this.filtro).toPromise();
140
- } catch (e) {
141
- console.error(e);
142
- }
143
- this.loading =false;
144
- }
145
-
146
-
147
- public limpiarCampos() {
148
- this.descripcion = null;
149
- }
150
-
151
- public async siguiente() {
152
- try {
153
- if (this.validarWizard()) {
154
- this.cargarPaso = true;
155
- if (this.actual < 3) {
156
- if (this.actual == 0) {
157
- this.foraneas = [];
158
- if (this.tablasFrom.length == 0) { // No selecciono ninguna tabla
159
- this.notificationBusService.showInfo("Debe seleccionar al menos un objeto.");
160
- this.cargarPaso = false;
161
- return;
162
- } else if (this.tablasFrom.length == 1) { // Solo selecciono una, por eso no hay que generar joins.
163
- this.actual++;
164
- } else {
165
- let nombresTablas = [];
166
- for (let tabla of this.tablasFrom) {
167
- if (!nombresTablas.includes(tabla.tabla)) {
168
- nombresTablas.push(tabla.tabla);
169
- }
170
- }
171
- this.foraneas = [];
172
- //List<LlaveForanea>
173
- let llaves: LlaveForaneaModel[] = await this.reportesSvc.getLlaves(nombresTablas).toPromise();
174
- for (let i = 0; i < this.tablasFrom.length; i++) {
175
- for (let j = 0; j < this.tablasFrom.length; j++) {
176
- for (let foranea of llaves) {
177
- if (foranea.tabla1 == (this.tablasFrom[i].tabla) && foranea.tabla2 == (this.tablasFrom[j].tabla)) {
178
- let nuevo: ForeingWraperModel = new ForeingWraperModel();
179
- nuevo.alias1 = (this.tablasFrom[i].alias);
180
- nuevo.alias2 = (this.tablasFrom[j].alias);
181
- nuevo.llave = (foranea);
182
- this.foraneas.push(nuevo);
183
- }
184
- }
185
- }
186
- }
187
-
188
- }
189
-
190
- // Cargo las columnas para los siguientes procesos.
191
-
192
- this.columnas = [];
193
- this.listaColumnas = [];
194
- this.camposSeleccionar = [];
195
-
196
- for (let from of this.tablasFrom) {
197
- //ReporteColumnaDTO
198
- let ta = new ReporteColumnaModel();
199
- ta.reporteFuente = (from.tabla);
200
- //List<ReporteColumnaDTO>
201
- let nuevas: ReporteColumnaModel[] = await this.generalSvc.queryForList(new GeneralModel('ReporteColumnaDTO', 'Reportes.consultarColumnas', false, ta)).toPromise();
202
- this.cargarListasColumnas(nuevas, from.alias);
203
- }
204
-
205
- }
206
- this.actual++;
207
- } else {
208
- this.terminarPasos();
209
- }
210
- this.cargarPaso = false;
211
- }
212
- } catch (e) {
213
- console.error(e);
214
- this.cargarPaso = false;
215
- }
216
- }
217
-
218
- private async cargarListasColumnas(nuevas: ReporteColumnaModel[], alias: string) {
219
- for (let col of nuevas) {
220
- col.reporteFuente = (alias);
221
- this.columnas.push(col);
222
- this.listaColumnas.push({ value: col.reporteFuente + '.' + col.nombre, label: col.reporteFuente + '.' + col.nombre });
223
- let campo = new ColumnaWraperModel();
224
- campo.columna = col;
225
- campo.alias = col.nombre;
226
- this.camposSeleccionar.push(campo);
227
- }
228
- }
229
-
230
- public async terminarPasos() {
231
- this.loadingGenerar = true;
232
- let camposSql = "";
233
- let i = 0;
234
- for (let col of this.camposSeleccionar) {
235
- if (col.seleccionado) {
236
- camposSql += (i == 0 ? "" : ",") + col.columna.nombre + " as " + col.alias;
237
- i++;
238
- }
239
- }
240
-
241
- this.fuente.whereJoin = (this.generarSqlJoin());
242
- this.fuente.fromSql = (this.generarSqlFrom());
243
- let where = "";
244
- let estaBlancoWhereJoin: boolean = this.fuente.whereJoin == null || "" == (this.fuente.whereJoin);
245
- let estaBlancoWhereAdicional: boolean = this.fuente.whereAdicional == null || "" == (this.fuente.whereAdicional);
246
- if (!estaBlancoWhereJoin || !estaBlancoWhereAdicional) {
247
- where = " \nWHERE ";
248
- if (!estaBlancoWhereJoin && !estaBlancoWhereAdicional) {
249
- where += this.fuente.whereJoin + " AND \n(" + this.fuente.whereAdicional + ")";
250
- } else if (!estaBlancoWhereJoin) {
251
- where += this.fuente.whereJoin;
252
- } else {
253
- where += this.fuente.whereAdicional;
254
- }
255
- }
256
- try {
257
- let sql = "SELECT \n" + camposSql + " \nFROM \n" + this.fuente.fromSql + where;
258
- await this.reportesSvc.validarQuery(sql).toPromise();
259
- this.fuente.query = (sql);
260
- this.query = sql;
261
- this.tabPrincipal = 0;
262
- this.tablasFrom = [];
263
- this.construirColumnas();
264
- this.actual = 0;
265
- this.notificationBusService.showInfo('Query creada satisfactoriamente.');
266
- this.loadingGenerar = false;
267
- } catch (e) {
268
- console.error(e);
269
- this.loadingGenerar = false;
270
- }
271
- }
272
-
273
- public async adicionarForanea(evento) {
274
- try {
275
- //ForeingWraper
276
- let foranea: ForeingWraperModel = evento.data;
277
- for (let rel of foranea.llave.relaciones) {
278
- let par = rel.split(":");
279
- let join = new JoinFromModel();
280
- join.columna1 = (foranea.alias1 + "." + par[0]);
281
- join.columna2 = (foranea.alias2 + "." + par[1]);
282
- if(this.joinsFrom.some(data => data.columna1 === join.columna1 && data.columna2 === join.columna2)){
283
- this.notificationBusService.showWarning('Registro ya se encuentra asociado.')
284
- }else{
285
- this.joinsFrom.push(join);
286
- }
287
-
288
- }
289
- } catch (e) {
290
- console.error(e);
291
- }
292
- }
293
-
294
- public async eliminar() {
295
- this.confirmationService.confirm({
296
- target: event.target,
297
- key: 'eliminar',
298
- message: this.generalPipe.MENSAJE_ELIMINAR_CONFIRMAR,
299
- acceptLabel: this.generalPipe.SI_DESC,
300
- header: this.translateService.instant('confirmar'),
301
- accept: () => {
302
- this.setRespuesta(true)
303
- },
304
- reject: () => {
305
-
306
- }
307
- });
308
- }
309
-
310
- public async setRespuesta(respuesta: boolean) {
311
- try {
312
- if (respuesta) {
313
- this.reportesSvc.eliminarFuenteDatosConHijos(this.fuente).toPromise();
314
- this.regresar();
315
- this.notificationBusService.showInfo("La fuente ha sido eliminada.");
316
- }
317
- } catch (e) {
318
- console.error(e);
319
- }
320
- }
321
-
322
- public anterior() {
323
- if (this.actual > 0){
324
- if(this.actual == 2 && this.tablasFrom.length == 1){
325
- this.actual = 0;
326
- }else{
327
- this.actual--;
328
- }
329
- }
330
-
331
- }
332
-
333
- public async validarQuery() {
334
- try {
335
- if (this.utilsService.validarTextoSQL(this.query, true, true, 8000, true) == null) {
336
- this.reportesSvc.validarQuery(this.query);
337
- this.errorQuery = false;
338
- this.notificationBusService.showInfo("El query esta correcto.");
339
- }else{
340
- this.errorQuery = true;
341
- this.notificationBusService.showError(this.utilsService.validarTextoSQL(this.query, true, true, 8000, true));
342
- }
343
- } catch (e) {
344
- this.errorQuery = true;
345
- this.notificationBusService.showError(e)
346
- }
347
- }
348
-
349
- public adicionarJoin() {
350
- try {
351
- if (this.col1 != null && this.col2 != null) {
352
- // TODO: Falta validar el tipo
353
- let nuevo = new JoinFromModel();
354
- nuevo.columna1 = (this.col1);
355
- nuevo.columna2 = (this.col2);
356
- this.joinsFrom.push(nuevo);
357
- this.cancelarNuevoJoin();
358
- } else {
359
- this.notificationBusService.showWarning("Debe seleccionar dos campos");
360
- }
361
- } catch (e) {
362
- console.error(e);
363
- }
364
- }
365
-
366
- nuevoJoin(){
367
- this.verNuevoJoin = true;
368
- this.col1 = '';
369
- this.col2 = '';
370
- }
371
-
372
- cancelarNuevoJoin(){
373
- this.verNuevoJoin = false;
374
- this.col1 = '';
375
- this.col2 = '';
376
- }
377
-
378
- public eliminarJoin(ae) {
379
- try {
380
- //let join = (JoinFrom) ((UIParameter) ae.getComponent().findComponent("join")).getValue();
381
- this.joinsFrom = this.joinsFrom.filter((data) => data.columna1 !== ae?.columna1);
382
- } catch (e) {
383
- console.error(e);
384
- }
385
- }
386
-
387
- public eliminarTabla(ae) {
388
- try {
389
- //TablaFrom tabla = (TablaFrom) ((UIParameter) ae.getComponent().findComponent("tabla")).getValue();
390
- this.tablasFrom = this.tablasFrom.filter((data) => data != ae);
391
- this.notificationBusService.showWarning(this.generalPipe.MENSAJE_ELIMINAR);
392
- } catch (e) {
393
- console.error(e);
394
- }
395
- }
396
-
397
- public buscarTabla() {
398
- this.popupTablasFuenteUI.buscarTabla("fuenteUI.tablaSeleccionada");
399
- }
400
-
401
- public setTablaSeleccionada(tablaSeleccionada: any[]) {
402
- try {
403
- let tablas = [];
404
- for (let tabla of this.tablasFrom) {
405
- if (!tablas.includes(tabla.tabla)) {
406
- tablas.push(tabla.tabla);
407
- }
408
- }
409
- tablaSeleccionada.forEach(element => {
410
- this.cargarTablaEnLista(element.objeto);
411
- });
412
- } catch (e) {
413
- console.error(e);
414
- }
415
- }
416
-
417
- private cargarTablaEnLista(tabla: string) {
418
- let par = tabla.split("_");
419
- let alias = par[0];
420
- let i = 1;
421
- let tablaTemp = new TablaFromModel()
422
- tablaTemp.alias = alias;
423
- while (this.tablasFrom.includes(tablaTemp)) {
424
- alias = tabla + (i++);
425
- }
426
- let tem = new TablaFromModel();
427
- tem.tabla = tabla;
428
- tem.alias = alias;
429
- this.tablasFrom.push(tem);
430
- return alias;
431
- }
432
-
433
-
434
-
435
- public cambioJoin(ce) {
436
- try {
437
- this.listaJoin = [];
438
- let nuevo = ce.value;
439
- if (nuevo != null) {
440
- //ReporteColumnaDTO
441
- let act: ReporteColumnaModel = null;
442
- for (let col of this.columnas) {
443
- if (nuevo ==(col.reporteFuente + "." + col.nombre)) {
444
- act = col;
445
- break;
446
- }
447
- }
448
- for (let col of this.columnas) {
449
- if (!col.reporteFuente.startsWith(act.reporteFuente) && col.tipoDato == (act.tipoDato) && col.orden == (act.orden)) {
450
- let val = col.reporteFuente + "." + col.nombre;
451
- this.listaJoin.push({ value: val, label: val });
452
- }
453
- }
454
- }
455
- } catch (e) {
456
- console.error(e);
457
- }
458
- }
459
-
460
- public editarCampo(evento) {
461
- try {
462
- let col: ColumnaFuenteModel = evento.data;
463
- this.campoFormula = col;
464
- let vars = [];
465
- for (let campo of this.campos) {
466
- let var1: any;
467
- var1.nombre = (campo.nombre);
468
- var1.tipo = (campo.tipoDato);
469
- vars.push(var1);
470
- }
471
- //getBean(EditorFormulaUI.class).editar(col.getSintaxis(), "fuenteUI.formula", vars);
472
- } catch (e) {
473
- console.error(e);
474
- }
475
- }
476
-
477
- public editarWhere() {
478
- try {
479
- let vars = [];
480
- for (let col of this.columnas) {
481
- vars.push({nombre: col.reporteFuente + "." + col.nombre, tipo: col.tipoDato});
482
- }
483
- this.popupEditorFormula.editar(this.fuente.whereAdicional,'fuenteUI.fuente.whereAdicional',vars);
484
- //getBean(EditorFormulaUI.class).editar(fuente.getWhereAdicional(), "fuenteUI.fuente.whereAdicional", vars);
485
- } catch (e) {
486
- console.error(e);
487
- }
488
- }
489
-
490
- public setFormula(formula) {
491
- if (this.campoFormula != null) {
492
- this.campoFormula.sintaxis = (formula);
493
- }
494
- this.campoFormula = null;
495
- }
496
-
497
- public adicionarColumnas() {
498
- for (let col of this.camposSeleccionar) {
499
- col.seleccionado = (false);
500
- }
501
- this.mostrarSeleccionar = true;
502
- }
503
-
504
- public agregarSeleccionados() {
505
- try {
506
- for (let col of this.camposSeleccionar) {
507
- if (col.seleccionado) {
508
- //ColumnaFuenteDTO
509
- let campo = new ColumnaFuenteModel();
510
- campo.fuenteDato = (this.fuente.llave);
511
- campo.nombre = (col.columna.nombre);
512
- campo.sintaxis = (col.columna.nombre);
513
- this.campos.push(campo);
514
- }
515
- }
516
- this.ocultarSeleccionar();
517
- } catch (e) {
518
- console.error(e);
519
- }
520
- }
521
-
522
- public ocultarSeleccionar() {
523
- this.mostrarSeleccionar = false;
524
- }
525
-
526
- public async verDetalle(evento) {
527
- try {
528
- this.vistaVisualizar = 'mantenimiento';
529
- let fuenteDatoDTO = evento;
530
- this.fuente = new FuenteDatoModel();
531
- this.fuente.llave = (fuenteDatoDTO.llave);
532
- this.fuente = await this.reportesSvc.consultarUnicaFuenteDato(this.fuente).toPromise();
533
- if (this.fuente.query2 != null) {
534
- this.query = this.fuente.query + this.fuente.query2;
535
- } else {
536
- this.query = this.fuente.query;
537
- }
538
- //ColumnaFuenteDTO
539
- let col = new ColumnaFuenteModel();
540
- col.fuenteDato = (this.fuente.llave);
541
- this.campos = await this.reportesSvc.consultarColumnasFuente(col).toPromise();
542
- this.actual = 0;
543
- this.menuService.setBreadcrumb([{ label: 'Fuente Reporte', command: (event) => this.regresar() }, {label: 'Mantenimiento Fuente', }]);
544
- this.cargasOpciones();
545
- } catch (e) {
546
- console.error(e);
547
- }
548
- }
549
-
550
- public nuevo() {
551
- try {
552
- this.vistaVisualizar = 'mantenimiento';
553
- this.fuente = new FuenteDatoModel();
554
- this.fuente.origen = ("F");
555
- this.campos = [];
556
- this.query = null;
557
- this.tabPrincipal = 0;
558
- this.actual = 0;
559
- this.menuService.setBreadcrumb([{ label: 'Fuente Reporte', command: (event) => this.regresar() }, {label: 'Mantenimiento Fuente', }]);
560
- this.cargasOpciones();
561
- } catch (e) {
562
- console.error(e);
563
- }
564
- }
565
-
566
- cargasOpciones(){
567
- this.menu= [{label: this.translateService.instant('link_eliminar'), icon: 'glyphicons glyphicons-bin', visible: this.fuente.llave != null, command: (event) => {this.eliminar()}},
568
- {label: this.translateService.instant('link_validar'), icon: 'glyphicons glyphicons-check', command: (event) => {this.validarQuery()}},
569
- {label: this.translateService.instant('link_generar'), icon: 'glyphicons glyphicons-refresh',visible: this.fuente.llave != null, command: (event) => {this.construirColumnas()}},
570
- ]
571
- }
572
-
573
- regresar(){
574
- console.log('hola');
575
-
576
- this.vistaVisualizar = null;
577
- this.ngOnInit();
578
- }
579
-
580
- private validar(): boolean {
581
- let res = true;
582
- this.clickGuardar = true;
583
- res = res && this.utilsService.validarCampoObligatorio(this.fuente.descripcion);
584
- res = res && (this.utilsService.validarTextoSQL(this.query, true, true, 8000, true) == null);
585
- return res;
586
- }
587
-
588
- /**
589
- * Registra/actualiza la informacion general de la fuente de datos
590
- */
591
- public async guardar() {
592
- try {
593
- if (this.validar()) {
594
- this.clickGuardar = false;
595
- if (this.query.length > 4000) {
596
- this.fuente.query = (this.query.substring(0, 3999));
597
- this.fuente.query2 = (this.query.substring(3999, this.query.length));
598
- } else {
599
- this.fuente.query = (this.query);
600
- this.fuente.query2 = (null);
601
- }
602
-
603
- if (this.fuente.llave == null) {
604
- this.fuente.llave = (this.utilsService.generarLlave());
605
- await this.reportesSvc.insertarFuenteDato(this.fuente).toPromise();
606
- this.cargasOpciones();
607
-
608
- } else {
609
- await this.reportesSvc.actualizarFuenteDato(this.fuente).toPromise();
610
- }
611
- this.notificationBusService.showInfo("Los cambios han sido guardados");
612
- }else{
613
- this.notificationBusService.showError(this.generalPipe.MENSAJE_CAMPOS_OBLIGATORIOS);
614
- }
615
- } catch (e) {
616
- console.error(e);
617
- }
618
- }//guardar
619
-
620
- /**
621
- * Registra/actualiza las columnas generados para la fuente de datos como registros de tipo 'ColumnaFuente'
622
- */
623
- public async guardarCampos() {
624
- try {
625
- if (this.fuente.llave == null) {
626
- this.notificationBusService.showInfo("Por favor diligencie primero los datos de la fuente");
627
- return;
628
- }
629
- if (this.validarCampos()) {
630
- await this.reportesSvc.actualizarColumnasFuente(this.fuente, this.campos).toPromise();
631
- this.notificationBusService.showInfo("Se han guardado los campos");
632
- }
633
- } catch (e) {
634
- console.error(e);
635
- }
636
- }//guardarCampos
637
-
638
- /**
639
- * Verifica que los valores asociados a los campos para la creacion de las columnas de la fuente sean válidos
640
- * @return false en caso de que los valores asignados a los campos sean nulos o no sean palabras válidas de acuerdo
641
- * con las condiciones dadas por ValidadorUtil.validarPalabra()),
642
- * en caso contrario retorna true
643
- */
644
- private validarCampos() {
645
- for (let col of this.campos) {
646
- if (col.nombre == null || !this.utilsService.validarPalabra(col.nombre)) {
647
- this.notificationBusService.showInfo("Nombre no valido (" + col.nombre + ")");
648
- return false;
649
- }
650
- }
651
-
652
- return true;
653
- }
654
-
655
- /**
656
- * Construye las columnas de la fuente de datos, con base en los campos obtenidos
657
- * de la consulta SQL asociada
658
- */
659
- public async construirColumnas() {
660
- try {
661
- this.campos = await this.reportesSvc.getColumnasSql(this.query).toPromise();
662
- this.notificationBusService.showSuccess('Tabla generada satisfactoriamente.');
663
- } catch (e) {
664
- console.error(e);
665
- }
666
- }//construirColumnas
667
-
668
-
669
-
670
- private validarWizard() {
671
- let alias: string[] = [];
672
- for (let tabla of this.tablasFrom) {
673
- if (alias.includes(tabla.alias)) {
674
- this.notificationBusService.showInfo("No se puede repetir el alias de las tablas.");
675
- return false;
676
- } else {
677
- alias.push(tabla.alias);
678
- }
679
- }
680
- alias = [];
681
- for (let col of this.camposSeleccionar) {
682
- if (col.seleccionado) {
683
- if (alias.includes(col.alias)) {
684
- this.notificationBusService.showInfo("No se puede repetir el alias de las columnas.");
685
- return false;
686
- } else {
687
- alias.push(col.alias);
688
- }
689
- }
690
- }
691
-
692
- return true;
693
- }
694
-
695
- private generarSqlFrom() {
696
- let res = "";
697
- let i = 0;
698
- for (let tabla of this.tablasFrom) {
699
- res += (i == 0 ? "" : ",") + tabla.tabla + " " + tabla.alias;
700
- i++;
701
- }
702
- return res;
703
- }
704
-
705
- private generarSqlJoin() {
706
- let res = "";
707
- let i = 0;
708
- for (let join of this.joinsFrom) {
709
- res += (i == 0 ? "" : " AND ") + join.columna1 + " = " + join.columna2;
710
- i++;
711
- }
712
- return res;
713
- }
714
-
715
- //IMPLEMENTACION STEPER
716
- initStep(){
717
- this.mapaMensajes.set(0,'Seleccione las tablas o vistas de donde desea obtener la informaci'+this.generalPipe.O_TIDLE_MIN+'n.')
718
- this.mapaMensajes.set(1,'Indique de qu'+this.generalPipe.E_TILDE_MIN+' manera se relacionan los objetos entre s'+this.generalPipe.I_TILDE_MIN+'.')
719
- this.mapaMensajes.set(2,'Indique los filtros adicionales que desee realizar sobre la informaci'+this.generalPipe.O_TIDLE_MIN+'n.')
720
- this.mapaMensajes.set(3,'Seleccione los campos que desee ver en la consulta.')
721
- this.items = [
722
- {
723
- label: this.translateService.instant('from'),
724
- command: (event) => {console.log(event);},
725
- disabled: true,
726
- title:'Seleccione las tablas o vistas de donde desea obtener la informacion.'
727
- },
728
- {
729
- label: this.translateService.instant('join'),
730
- command: (event) => {console.log(event);},
731
- disabled: true,
732
- title: 'Indique de que manera se relaccionan los objetos entre si.'
733
- },
734
- {
735
- label: this.translateService.instant('where'),
736
- command: (event) => {console.log(event);},
737
- disabled: true,
738
- title: 'Indique los filtros adicionales que desee realizar sobre la informacion.'
739
- },
740
- {
741
- label: this.translateService.instant('campos'),
742
- command: (event) => {console.log(event);},
743
- disabled: true,
744
- }
745
- ];
746
- }
747
-
748
- actualizarSeleccion(booleanogeneral: boolean): void {
749
- this.camposSeleccionar.forEach((elemento) => {
750
- elemento.seleccionado = booleanogeneral;
751
- });
752
- }
753
-
754
- todosSeleccionados(): boolean {
755
- return this.camposSeleccionar.every(elemento => elemento.seleccionado);
756
- }
757
-
758
- isQueryValido(): boolean{
759
- return this.utilsService.validarTextoSQL(this.query, true, true, 8000, true) == null;
760
- }
761
-
762
-
763
- }