general-library-union 3.0.48 → 3.0.50

Sign up to get free protection for your applications and to get access to all the features.
Files changed (653) hide show
  1. package/esm2022/general-library-union.mjs +5 -0
  2. package/esm2022/public-api.mjs +180 -0
  3. package/esm2022/src/app/core/componentes/breadcrumb/breadcrumb.component.mjs +40 -0
  4. package/esm2022/src/app/core/componentes/carga-pantalla-completa/carga-pantalla-completa.component.mjs +28 -0
  5. package/esm2022/src/app/core/componentes/filtro-general/filtro-general.component.mjs +196 -0
  6. package/esm2022/src/app/core/componentes/footer/footer.component.mjs +16 -0
  7. package/esm2022/src/app/core/componentes/formulariodinamico/formulariodinamico.component.mjs +272 -0
  8. package/esm2022/src/app/core/componentes/formulariodinamico/objetosformulario/Cambio.mjs +11 -0
  9. package/esm2022/src/app/core/componentes/formulariodinamico/objetosformulario/CampoFormulario.mjs +124 -0
  10. package/esm2022/src/app/core/componentes/formulariodinamico/objetosformulario/CampoFormularioCons.mjs +73 -0
  11. package/esm2022/src/app/core/componentes/formulariodinamico/objetosformulario/CampoFormularioNuevo.mjs +59 -0
  12. package/esm2022/src/app/core/componentes/formulariodinamico/objetosformulario/HashDirective.mjs +21 -0
  13. package/esm2022/src/app/core/componentes/inicio-component/inicio-component.component.mjs +72 -0
  14. package/esm2022/src/app/core/componentes/menu/menu.component.mjs +37 -0
  15. package/esm2022/src/app/core/componentes/tabla-general/tabla-general.component.mjs +93 -0
  16. package/esm2022/src/app/core/core.module.mjs +23 -0
  17. package/esm2022/src/app/core/errores/authentication.error.mjs +7 -0
  18. package/esm2022/src/app/core/modelos/error-response.model.mjs +2 -0
  19. package/esm2022/src/app/core/modelos/table-column.model.mjs +2 -0
  20. package/esm2022/src/app/core/modelos/user.model.mjs +7 -0
  21. package/esm2022/src/app/core/plantilla-general/plantilla-general.template.mjs +230 -0
  22. package/esm2022/src/app/core/servicios/auth.service.mjs +185 -0
  23. package/esm2022/src/app/core/servicios/cargar-control-funcionalidad.service.mjs +57 -0
  24. package/esm2022/src/app/core/servicios/data-exporter-table.utils.mjs +64 -0
  25. package/esm2022/src/app/core/servicios/error-interceptor.service.mjs +214 -0
  26. package/esm2022/src/app/core/servicios/guardias/auth.guard.mjs +66 -0
  27. package/esm2022/src/app/core/servicios/guardias/publico.guard.mjs +35 -0
  28. package/esm2022/src/app/core/servicios/interceptores/loading-interceptor.mjs +37 -0
  29. package/esm2022/src/app/core/servicios/interceptores/token-interceptor.service.mjs +180 -0
  30. package/esm2022/src/app/core/servicios/loading.service.mjs +43 -0
  31. package/esm2022/src/app/core/servicios/menu.service.mjs +146 -0
  32. package/esm2022/src/app/core/servicios/spinner-service.mjs +22 -0
  33. package/esm2022/src/app/core/servicios/storage.service.mjs +68 -0
  34. package/esm2022/src/app/core/servicios/template.service.mjs +99 -0
  35. package/esm2022/src/app/core/servicios/toast.service.mjs +120 -0
  36. package/esm2022/src/app/core/servicios/utils.service.mjs +338 -0
  37. package/esm2022/src/app/core/sharedlib.module.mjs +16 -0
  38. package/esm2022/src/app/core/utilidades/color.util.mjs +177 -0
  39. package/esm2022/src/app/layout/api/menuchangeevent.mjs +2 -0
  40. package/esm2022/src/app/layout/app.breadcrumb.component.mjs +71 -0
  41. package/esm2022/src/app/layout/app.footer.component.mjs +18 -0
  42. package/esm2022/src/app/layout/app.layout.component.mjs +188 -0
  43. package/esm2022/src/app/layout/app.layout.module.mjs +15 -0
  44. package/esm2022/src/app/layout/app.menu.component.mjs +51 -0
  45. package/esm2022/src/app/layout/app.menu.service.mjs +24 -0
  46. package/esm2022/src/app/layout/app.menuitem.component.mjs +296 -0
  47. package/esm2022/src/app/layout/app.menuprofile.component.mjs +78 -0
  48. package/esm2022/src/app/layout/app.rightmenu.component.mjs +24 -0
  49. package/esm2022/src/app/layout/app.sidebar.component.mjs +92 -0
  50. package/esm2022/src/app/layout/app.topbar.component.mjs +346 -0
  51. package/esm2022/src/app/layout/service/app.layout.service.mjs +134 -0
  52. package/esm2022/src/app/publico/pages/login/login.page.mjs +129 -0
  53. package/esm2022/src/app/publico/pages/not-found/not-found.page.mjs +51 -0
  54. package/esm2022/src/app/publico/pages/seleccion-rol/seleccion-rol.component.mjs +167 -0
  55. package/esm2022/src/app/publico/pages/timeout/timeout.page.mjs +20 -0
  56. package/esm2022/src/app/seguridad/constantes/ConstantesGenerales.mjs +30 -0
  57. package/esm2022/src/app/seguridad/constantes/ReporteEntradaConstantes.mjs +19 -0
  58. package/esm2022/src/app/seguridad/modelos/AplicacionModel.mjs +8 -0
  59. package/esm2022/src/app/seguridad/modelos/ArchivoPortalModel.mjs +14 -0
  60. package/esm2022/src/app/seguridad/modelos/AtributoPuntoModel.mjs +9 -0
  61. package/esm2022/src/app/seguridad/modelos/AtributoSSOportalModel.mjs +17 -0
  62. package/esm2022/src/app/seguridad/modelos/AuditoriaArchivoModel.mjs +11 -0
  63. package/esm2022/src/app/seguridad/modelos/CargueLineaModel.mjs +13 -0
  64. package/esm2022/src/app/seguridad/modelos/ColoresRGB.mjs +18 -0
  65. package/esm2022/src/app/seguridad/modelos/ColumnaFuenteModel.mjs +9 -0
  66. package/esm2022/src/app/seguridad/modelos/ColumnaWraperModel.mjs +6 -0
  67. package/esm2022/src/app/seguridad/modelos/ComplementoModel.mjs +7 -0
  68. package/esm2022/src/app/seguridad/modelos/ComponentePaginaModel.mjs +21 -0
  69. package/esm2022/src/app/seguridad/modelos/ConexionModel.mjs +14 -0
  70. package/esm2022/src/app/seguridad/modelos/ContenidoHtmlPortalModel.mjs +21 -0
  71. package/esm2022/src/app/seguridad/modelos/ControlFuncionModel.mjs +8 -0
  72. package/esm2022/src/app/seguridad/modelos/CorreoModel.mjs +35 -0
  73. package/esm2022/src/app/seguridad/modelos/CorreoWSModel.mjs +37 -0
  74. package/esm2022/src/app/seguridad/modelos/CruceRecursoPuntoModel.mjs +14 -0
  75. package/esm2022/src/app/seguridad/modelos/DatoInicioModel.mjs +6 -0
  76. package/esm2022/src/app/seguridad/modelos/EjecucionReporteDataModel.mjs +14 -0
  77. package/esm2022/src/app/seguridad/modelos/EmpresaModel.mjs +25 -0
  78. package/esm2022/src/app/seguridad/modelos/EmpresaSeguridadModel.mjs +19 -0
  79. package/esm2022/src/app/seguridad/modelos/EntradaComplementoModel.mjs +7 -0
  80. package/esm2022/src/app/seguridad/modelos/EtiquetaModel.mjs +5 -0
  81. package/esm2022/src/app/seguridad/modelos/Etiquetas.mjs +12 -0
  82. package/esm2022/src/app/seguridad/modelos/ForeingWraperModel.mjs +6 -0
  83. package/esm2022/src/app/seguridad/modelos/FuenteCampoAtributoModel.mjs +16 -0
  84. package/esm2022/src/app/seguridad/modelos/FuenteCampoModel.mjs +17 -0
  85. package/esm2022/src/app/seguridad/modelos/FuenteDato.mjs +19 -0
  86. package/esm2022/src/app/seguridad/modelos/FuenteEntradaModel.mjs +9 -0
  87. package/esm2022/src/app/seguridad/modelos/FuenteGeneralModel.mjs +37 -0
  88. package/esm2022/src/app/seguridad/modelos/FuenteLineaServicioModel.mjs +16 -0
  89. package/esm2022/src/app/seguridad/modelos/FuenteProcesoGeneralModel.mjs +11 -0
  90. package/esm2022/src/app/seguridad/modelos/FuenteServicioModel.mjs +51 -0
  91. package/esm2022/src/app/seguridad/modelos/FuncionalidadModel.mjs +10 -0
  92. package/esm2022/src/app/seguridad/modelos/GeneralModel.mjs +15 -0
  93. package/esm2022/src/app/seguridad/modelos/GrupoAccesoModel.mjs +7 -0
  94. package/esm2022/src/app/seguridad/modelos/GrupoControlFuncionModel.mjs +10 -0
  95. package/esm2022/src/app/seguridad/modelos/GrupoFuenteModel.mjs +13 -0
  96. package/esm2022/src/app/seguridad/modelos/GrupoPermisoModel.mjs +14 -0
  97. package/esm2022/src/app/seguridad/modelos/JoinFromModel.mjs +5 -0
  98. package/esm2022/src/app/seguridad/modelos/ListaServicioModel.mjs +17 -0
  99. package/esm2022/src/app/seguridad/modelos/LlaveForaneaModel.mjs +7 -0
  100. package/esm2022/src/app/seguridad/modelos/LoginModel.mjs +15 -0
  101. package/esm2022/src/app/seguridad/modelos/MensajeSistemaModel.mjs +8 -0
  102. package/esm2022/src/app/seguridad/modelos/MenuPortalModel.mjs +5 -0
  103. package/esm2022/src/app/seguridad/modelos/ModulosModel.mjs +18 -0
  104. package/esm2022/src/app/seguridad/modelos/ObjetoReporteModel.mjs +6 -0
  105. package/esm2022/src/app/seguridad/modelos/PaginaPortalModel.mjs +20 -0
  106. package/esm2022/src/app/seguridad/modelos/ParametroComponenteModel.mjs +9 -0
  107. package/esm2022/src/app/seguridad/modelos/ParametrosGeneralModel.mjs +15 -0
  108. package/esm2022/src/app/seguridad/modelos/PermisoFuncionModel.mjs +9 -0
  109. package/esm2022/src/app/seguridad/modelos/PermisocontenidoModel.mjs +20 -0
  110. package/esm2022/src/app/seguridad/modelos/PeticionModel.mjs +16 -0
  111. package/esm2022/src/app/seguridad/modelos/PreguntaSeguridadModel.mjs +7 -0
  112. package/esm2022/src/app/seguridad/modelos/PropiedadModel.mjs +10 -0
  113. package/esm2022/src/app/seguridad/modelos/PublicacionWebModel.mjs +27 -0
  114. package/esm2022/src/app/seguridad/modelos/PuntoProcesoModel.mjs +7 -0
  115. package/esm2022/src/app/seguridad/modelos/RecursoPunto.mjs +13 -0
  116. package/esm2022/src/app/seguridad/modelos/RecursoPuntoModel.mjs +13 -0
  117. package/esm2022/src/app/seguridad/modelos/ReporteBanda.mjs +8 -0
  118. package/esm2022/src/app/seguridad/modelos/ReporteColumna.mjs +33 -0
  119. package/esm2022/src/app/seguridad/modelos/ReporteColumnario.mjs +69 -0
  120. package/esm2022/src/app/seguridad/modelos/ReporteColumnarioMarcador.mjs +24 -0
  121. package/esm2022/src/app/seguridad/modelos/ReporteEntradaModel.mjs +20 -0
  122. package/esm2022/src/app/seguridad/modelos/ReporteFuenteModel.mjs +124 -0
  123. package/esm2022/src/app/seguridad/modelos/ReporteMarcador.mjs +40 -0
  124. package/esm2022/src/app/seguridad/modelos/ReporteSoporte.mjs +10 -0
  125. package/esm2022/src/app/seguridad/modelos/ReporteTabla.mjs +13 -0
  126. package/esm2022/src/app/seguridad/modelos/RespuestaModel.mjs +9 -0
  127. package/esm2022/src/app/seguridad/modelos/RolModel.mjs +39 -0
  128. package/esm2022/src/app/seguridad/modelos/ServidorCorreoModel.mjs +28 -0
  129. package/esm2022/src/app/seguridad/modelos/SistemaMensajeModel.mjs +9 -0
  130. package/esm2022/src/app/seguridad/modelos/SitioPortalModel.mjs +25 -0
  131. package/esm2022/src/app/seguridad/modelos/TablaFromModel.mjs +5 -0
  132. package/esm2022/src/app/seguridad/modelos/TareasModel.mjs +54 -0
  133. package/esm2022/src/app/seguridad/modelos/TextoModel.mjs +9 -0
  134. package/esm2022/src/app/seguridad/modelos/TipoEtiqueta.mjs +8 -0
  135. package/esm2022/src/app/seguridad/modelos/UnionModel.mjs +12 -0
  136. package/esm2022/src/app/seguridad/modelos/UsuarioModel.mjs +53 -0
  137. package/esm2022/src/app/seguridad/modelos/UsuariogrupoModel.mjs +24 -0
  138. package/esm2022/src/app/seguridad/modelos/aplicacion-propiedad-model.mjs +15 -0
  139. package/esm2022/src/app/seguridad/modelos/contenidoCorreoModel.mjs +10 -0
  140. package/esm2022/src/app/shared/componentes/input-helper-seleccion-plantilla/input-helper-seleccion-plantilla.component.mjs +154 -0
  141. package/esm2022/src/app/shared/servicios/cargar-archivos.service.mjs +54 -0
  142. package/esm2022/src/app/shared/servicios/cargar-mapas.service.mjs +46 -0
  143. package/esm2022/src/app/shared/servicios/encriptado-basico.service.mjs +53 -0
  144. package/esm2022/src/app/shared/servicios/general.service.mjs +104 -0
  145. package/esm2022/src/app/shared/servicios/parametros-navegacion.service.mjs +21 -0
  146. package/esm2022/src/app/webcommon/pages/cargue-plantilla/cargue-plantilla-general/cargue-plantilla-general.component.mjs +378 -0
  147. package/esm2022/src/app/webcommon/pages/ejecucion-reporte/detalle-campo-reporte/detalle-campo-reporte.component.mjs +187 -0
  148. package/esm2022/src/app/webcommon/pages/ejecucion-reporte/detalle-distribucion-reporte/detalle-distribucion-reporte.component.mjs +85 -0
  149. package/esm2022/src/app/webcommon/pages/ejecucion-reporte/detalle-ejecucion-reporte/detalle-ejecucion-reporte.page.mjs +347 -0
  150. package/esm2022/src/app/webcommon/pages/ejecucion-reporte/detalle-entrada-reporte/detalle-entrada-reporte.component.mjs +206 -0
  151. package/esm2022/src/app/webcommon/pages/ejecucion-reporte/detalle-punto-proceso-reporte/detalle-punto-proceso-reporte.component.mjs +329 -0
  152. package/esm2022/src/app/webcommon/pages/ejecucion-reporte/detalle-tipo-reporte/detalle-tipo-reporte.component.mjs +1583 -0
  153. package/esm2022/src/app/webcommon/pages/ejecucion-reporte/listado-ejecucion-reporte/listado-ejecucion-reporte.page.mjs +105 -0
  154. package/esm2022/src/app/webcommon/pages/ejecucion-reporte-externo/listado-ejecucion-reporte-externo/listado-ejecucion-reporte-externo.component.mjs +114 -0
  155. package/esm2022/src/app/webcommon/pages/fuente/importar-fuente-con/importar-fuente-con.component.mjs +588 -0
  156. package/esm2022/src/app/webcommon/pages/fuente/importar-fuente-general/importar-fuente-general.component.mjs +177 -0
  157. package/esm2022/src/app/webcommon/pages/fuente-reporte/fuente-reporte.component.mjs +767 -0
  158. package/esm2022/src/app/webcommon/pages/fuenteGeneral/fuente-general-servicio/fuente-general-servicio.component.mjs +331 -0
  159. package/esm2022/src/app/webcommon/pages/fuenteGeneral/listado-fuente-general/listado-fuente-general.page.mjs +96 -0
  160. package/esm2022/src/app/webcommon/pages/fuenteGeneral/mantenimiento-fuente-general/mantenimiento-fuente-general.page.mjs +675 -0
  161. package/esm2022/src/app/webcommon/pipes/dashboard.pipe.mjs +86 -0
  162. package/esm2022/src/app/webcommon/pipes/fuente.pipe.mjs +201 -0
  163. package/esm2022/src/app/webcommon/pipes/general.pipe.mjs +916 -0
  164. package/esm2022/src/app/webcommon/pipes/reporte-columnario.pipe.mjs +115 -0
  165. package/esm2022/src/app/webcommon/pipes/reporte-fuente.pipe.mjs +301 -0
  166. package/esm2022/src/app/webcommon/popups/popup-campos-fuente-general/popup-campos-fuente-general.component.mjs +267 -0
  167. package/esm2022/src/app/webcommon/popups/popup-convertir-plantillas/popup-convertir-plantillas.component.mjs +128 -0
  168. package/esm2022/src/app/webcommon/popups/popup-editor-formula/popup-editor-formula.component.mjs +73 -0
  169. package/esm2022/src/app/webcommon/popups/popup-punto-proceso/popup-punto-proceso.component.mjs +293 -0
  170. package/esm2022/src/app/webcommon/popups/popup-recurso/popup-recurso.component.mjs +269 -0
  171. package/esm2022/src/app/webcommon/popups/popup-reporte/popup-reporte.component.mjs +555 -0
  172. package/esm2022/src/app/webcommon/popups/popup-sentencia/popup-sentencia.component.mjs +64 -0
  173. package/esm2022/src/app/webcommon/popups/popup-tablas-fuente/popup-tablas-fuente.component.mjs +162 -0
  174. package/esm2022/src/app/webcommon/popups/punto-proceso-comp/punto-proceso-comp.component.mjs +89 -0
  175. package/esm2022/src/app/webcommon/services/carguelinea.service.mjs +69 -0
  176. package/esm2022/src/app/webcommon/services/dashboard.service.mjs +253 -0
  177. package/esm2022/src/app/webcommon/services/ejecucionreporte.service.mjs +114 -0
  178. package/esm2022/src/app/webcommon/services/fechaUtils.service.mjs +97 -0
  179. package/esm2022/src/app/webcommon/services/fuentegeneral.service.mjs +68 -0
  180. package/esm2022/src/app/webcommon/services/homologacion.service.mjs +50 -0
  181. package/esm2022/src/app/webcommon/services/plantillas.service.mjs +129 -0
  182. package/esm2022/src/app/webcommon/services/reportes.service.mjs +95 -0
  183. package/esm2022/src/app/webcommon/webcommon.module.mjs +15 -0
  184. package/esm2022/src/environments/environment.mjs +24 -0
  185. package/fesm2022/general-library-union.mjs +16036 -0
  186. package/fesm2022/general-library-union.mjs.map +1 -0
  187. package/index.d.ts +5 -0
  188. package/package.json +62 -73
  189. package/{public-api.ts → public-api.d.ts} +161 -201
  190. package/src/app/core/componentes/breadcrumb/breadcrumb.component.d.ts +18 -0
  191. package/src/app/core/componentes/carga-pantalla-completa/carga-pantalla-completa.component.d.ts +14 -0
  192. package/src/app/core/componentes/filtro-general/filtro-general.component.d.ts +34 -0
  193. package/src/app/core/componentes/footer/footer.component.d.ts +9 -0
  194. package/src/app/core/componentes/formulariodinamico/formulariodinamico.component.d.ts +46 -0
  195. package/src/app/core/componentes/formulariodinamico/objetosformulario/{Cambio.ts → Cambio.d.ts} +7 -13
  196. package/src/app/core/componentes/formulariodinamico/objetosformulario/CampoFormulario.d.ts +44 -0
  197. package/src/app/core/componentes/formulariodinamico/objetosformulario/CampoFormularioCons.d.ts +45 -0
  198. package/src/app/core/componentes/formulariodinamico/objetosformulario/CampoFormularioNuevo.d.ts +33 -0
  199. package/src/app/core/componentes/formulariodinamico/objetosformulario/HashDirective.d.ts +9 -0
  200. package/src/app/core/componentes/inicio-component/inicio-component.component.d.ts +26 -0
  201. package/src/app/core/componentes/menu/menu.component.d.ts +16 -0
  202. package/src/app/core/componentes/tabla-general/tabla-general.component.d.ts +32 -0
  203. package/src/app/core/core.module.d.ts +8 -0
  204. package/src/app/core/errores/authentication.error.d.ts +3 -0
  205. package/src/app/core/modelos/error-response.model.d.ts +9 -0
  206. package/src/app/core/modelos/table-column.model.d.ts +12 -0
  207. package/src/app/core/modelos/user.model.d.ts +6 -0
  208. package/src/app/core/plantilla-general/plantilla-general.template.d.ts +89 -0
  209. package/src/app/core/servicios/auth.service.d.ts +52 -0
  210. package/src/app/core/servicios/cargar-control-funcionalidad.service.d.ts +19 -0
  211. package/src/app/core/servicios/data-exporter-table.utils.d.ts +11 -0
  212. package/src/app/core/servicios/error-interceptor.service.d.ts +41 -0
  213. package/src/app/core/servicios/guardias/auth.guard.d.ts +17 -0
  214. package/src/app/core/servicios/guardias/publico.guard.d.ts +13 -0
  215. package/src/app/core/servicios/interceptores/loading-interceptor.d.ts +11 -0
  216. package/src/app/core/servicios/interceptores/token-interceptor.service.d.ts +26 -0
  217. package/src/app/core/servicios/loading.service.d.ts +22 -0
  218. package/src/app/core/servicios/menu.service.d.ts +35 -0
  219. package/src/app/core/servicios/spinner-service.d.ts +9 -0
  220. package/src/app/core/servicios/storage.service.d.ts +37 -0
  221. package/src/app/core/servicios/template.service.d.ts +20 -0
  222. package/src/app/core/servicios/toast.service.d.ts +48 -0
  223. package/src/app/core/servicios/utils.service.d.ts +43 -0
  224. package/src/app/core/sharedlib.module.d.ts +6 -0
  225. package/src/app/core/utilidades/color.util.d.ts +70 -0
  226. package/src/app/layout/api/{menuchangeevent.ts → menuchangeevent.d.ts} +4 -4
  227. package/src/app/layout/app.breadcrumb.component.d.ts +28 -0
  228. package/src/app/layout/app.footer.component.d.ts +8 -0
  229. package/src/app/layout/app.layout.component.d.ts +39 -0
  230. package/src/app/layout/app.layout.module.d.ts +6 -0
  231. package/src/app/layout/app.menu.component.d.ts +19 -0
  232. package/src/app/layout/app.menu.service.d.ts +12 -0
  233. package/src/app/layout/app.menuitem.component.d.ts +41 -0
  234. package/src/app/layout/app.menuprofile.component.d.ts +18 -0
  235. package/src/app/layout/app.rightmenu.component.d.ts +10 -0
  236. package/src/app/layout/app.sidebar.component.d.ts +34 -0
  237. package/src/app/layout/app.topbar.component.d.ts +79 -0
  238. package/src/app/layout/service/app.layout.service.d.ts +57 -0
  239. package/src/app/publico/pages/login/login.page.d.ts +40 -0
  240. package/src/app/publico/pages/not-found/not-found.page.d.ts +17 -0
  241. package/src/app/publico/pages/seleccion-rol/seleccion-rol.component.d.ts +41 -0
  242. package/src/app/publico/pages/timeout/timeout.page.d.ts +10 -0
  243. package/src/app/seguridad/constantes/ConstantesGenerales.d.ts +25 -0
  244. package/src/app/seguridad/constantes/ReporteEntradaConstantes.d.ts +7 -0
  245. package/src/app/seguridad/modelos/AplicacionModel.d.ts +7 -0
  246. package/src/app/seguridad/modelos/ArchivoPortalModel.d.ts +13 -0
  247. package/src/app/seguridad/modelos/AtributoPuntoModel.d.ts +8 -0
  248. package/src/app/seguridad/modelos/AtributoSSOportalModel.d.ts +16 -0
  249. package/src/app/seguridad/modelos/{AuditoriaArchivoModel.ts → AuditoriaArchivoModel.d.ts} +10 -13
  250. package/src/app/seguridad/modelos/CargueLineaModel.d.ts +12 -0
  251. package/src/app/seguridad/modelos/ColoresRGB.d.ts +17 -0
  252. package/src/app/seguridad/modelos/ColumnaFuenteModel.d.ts +8 -0
  253. package/src/app/seguridad/modelos/{ColumnaWraperModel.ts → ColumnaWraperModel.d.ts} +6 -7
  254. package/src/app/seguridad/modelos/ComplementoModel.d.ts +6 -0
  255. package/src/app/seguridad/modelos/ComponentePaginaModel.d.ts +20 -0
  256. package/src/app/seguridad/modelos/ConexionModel.d.ts +13 -0
  257. package/src/app/seguridad/modelos/{ContenidoHtmlPortalModel.ts → ContenidoHtmlPortalModel.d.ts} +20 -25
  258. package/src/app/seguridad/modelos/ControlFuncionModel.d.ts +7 -0
  259. package/src/app/seguridad/modelos/CorreoModel.d.ts +31 -0
  260. package/src/app/seguridad/modelos/CorreoWSModel.d.ts +33 -0
  261. package/src/app/seguridad/modelos/CruceRecursoPuntoModel.d.ts +13 -0
  262. package/src/app/seguridad/modelos/{DatoInicioModel.ts → DatoInicioModel.d.ts} +6 -7
  263. package/src/app/seguridad/modelos/{EjecucionReporteDataModel.ts → EjecucionReporteDataModel.d.ts} +20 -21
  264. package/src/app/seguridad/modelos/EmpresaModel.d.ts +23 -0
  265. package/src/app/seguridad/modelos/EmpresaSeguridadModel.d.ts +18 -0
  266. package/src/app/seguridad/modelos/{EntradaComplementoModel.ts → EntradaComplementoModel.d.ts} +6 -9
  267. package/src/app/seguridad/modelos/EtiquetaModel.d.ts +4 -0
  268. package/src/app/seguridad/modelos/Etiquetas.d.ts +10 -0
  269. package/src/app/seguridad/modelos/{ForeingWraperModel.ts → ForeingWraperModel.d.ts} +6 -9
  270. package/src/app/seguridad/modelos/FuenteCampoAtributoModel.d.ts +15 -0
  271. package/src/app/seguridad/modelos/{FuenteCampoModel.ts → FuenteCampoModel.d.ts} +16 -20
  272. package/src/app/seguridad/modelos/FuenteDato.d.ts +18 -0
  273. package/src/app/seguridad/modelos/FuenteEntradaModel.d.ts +8 -0
  274. package/src/app/seguridad/modelos/{FuenteGeneralModel.ts → FuenteGeneralModel.d.ts} +36 -55
  275. package/src/app/seguridad/modelos/FuenteLineaServicioModel.d.ts +16 -0
  276. package/src/app/seguridad/modelos/FuenteProcesoGeneralModel.d.ts +10 -0
  277. package/src/app/seguridad/modelos/{FuenteServicioModel.ts → FuenteServicioModel.d.ts} +47 -61
  278. package/src/app/seguridad/modelos/FuncionalidadModel.d.ts +8 -0
  279. package/src/app/seguridad/modelos/GeneralModel.d.ts +8 -0
  280. package/src/app/seguridad/modelos/{GrupoAccesoModel.ts → GrupoAccesoModel.d.ts} +6 -9
  281. package/src/app/seguridad/modelos/GrupoControlFuncionModel.d.ts +9 -0
  282. package/src/app/seguridad/modelos/GrupoFuenteModel.d.ts +13 -0
  283. package/src/app/seguridad/modelos/GrupoPermisoModel.d.ts +13 -0
  284. package/src/app/seguridad/modelos/{JoinFromModel.ts → JoinFromModel.d.ts} +4 -4
  285. package/src/app/seguridad/modelos/ListaServicioModel.d.ts +16 -0
  286. package/src/app/seguridad/modelos/LlaveForaneaModel.d.ts +6 -0
  287. package/src/app/seguridad/modelos/LoginModel.d.ts +17 -0
  288. package/src/app/seguridad/modelos/MensajeSistemaModel.d.ts +7 -0
  289. package/src/app/seguridad/modelos/{MenuPortalModel.ts → MenuPortalModel.d.ts} +4 -5
  290. package/src/app/seguridad/modelos/ModulosModel.d.ts +14 -0
  291. package/src/app/seguridad/modelos/{ObjetoReporteModel.ts → ObjetoReporteModel.d.ts} +5 -6
  292. package/src/app/seguridad/modelos/PaginaPortalModel.d.ts +19 -0
  293. package/src/app/seguridad/modelos/ParametroComponenteModel.d.ts +8 -0
  294. package/src/app/seguridad/modelos/ParametrosGeneralModel.d.ts +8 -0
  295. package/src/app/seguridad/modelos/PermisoFuncionModel.d.ts +8 -0
  296. package/src/app/seguridad/modelos/PermisocontenidoModel.d.ts +18 -0
  297. package/src/app/seguridad/modelos/{PeticionModel.ts → PeticionModel.d.ts} +15 -20
  298. package/src/app/seguridad/modelos/PreguntaSeguridadModel.d.ts +6 -0
  299. package/src/app/seguridad/modelos/PropiedadModel.d.ts +9 -0
  300. package/src/app/seguridad/modelos/PublicacionWebModel.d.ts +25 -0
  301. package/src/app/seguridad/modelos/PuntoProcesoModel.d.ts +6 -0
  302. package/src/app/seguridad/modelos/RecursoPunto.d.ts +12 -0
  303. package/src/app/seguridad/modelos/RecursoPuntoModel.d.ts +12 -0
  304. package/src/app/seguridad/modelos/ReporteBanda.d.ts +7 -0
  305. package/src/app/seguridad/modelos/ReporteColumna.d.ts +32 -0
  306. package/src/app/seguridad/modelos/ReporteColumnario.d.ts +68 -0
  307. package/src/app/seguridad/modelos/ReporteColumnarioMarcador.d.ts +23 -0
  308. package/src/app/seguridad/modelos/{ReporteEntradaModel.ts → ReporteEntradaModel.d.ts} +19 -21
  309. package/src/app/seguridad/modelos/{ReporteFuenteModel.ts → ReporteFuenteModel.d.ts} +87 -141
  310. package/src/app/seguridad/modelos/ReporteMarcador.d.ts +39 -0
  311. package/src/app/seguridad/modelos/ReporteSoporte.d.ts +9 -0
  312. package/src/app/seguridad/modelos/ReporteTabla.d.ts +12 -0
  313. package/src/app/seguridad/modelos/RespuestaModel.d.ts +8 -0
  314. package/src/app/seguridad/modelos/{RolModel.ts → RolModel.d.ts} +37 -41
  315. package/src/app/seguridad/modelos/ServidorCorreoModel.d.ts +25 -0
  316. package/src/app/seguridad/modelos/SistemaMensajeModel.d.ts +8 -0
  317. package/src/app/seguridad/modelos/SitioPortalModel.d.ts +24 -0
  318. package/src/app/seguridad/modelos/TablaFromModel.d.ts +4 -0
  319. package/src/app/seguridad/modelos/TareasModel.d.ts +49 -0
  320. package/src/app/seguridad/modelos/TextoModel.d.ts +8 -0
  321. package/src/app/seguridad/modelos/TipoEtiqueta.d.ts +7 -0
  322. package/src/app/seguridad/modelos/UnionModel.d.ts +11 -0
  323. package/src/app/seguridad/modelos/{UsuarioModel.ts → UsuarioModel.d.ts} +49 -60
  324. package/src/app/seguridad/modelos/UsuariogrupoModel.d.ts +22 -0
  325. package/src/app/seguridad/modelos/aplicacion-propiedad-model.d.ts +13 -0
  326. package/src/app/seguridad/modelos/contenidoCorreoModel.d.ts +9 -0
  327. package/src/app/shared/componentes/input-helper-seleccion-plantilla/input-helper-seleccion-plantilla.component.d.ts +47 -0
  328. package/src/app/shared/servicios/cargar-archivos.service.d.ts +15 -0
  329. package/src/app/shared/servicios/cargar-mapas.service.d.ts +18 -0
  330. package/src/app/shared/servicios/encriptado-basico.service.d.ts +10 -0
  331. package/src/app/shared/servicios/general.service.d.ts +24 -0
  332. package/src/app/shared/servicios/parametros-navegacion.service.d.ts +9 -0
  333. package/src/app/webcommon/pages/cargue-plantilla/cargue-plantilla-general/cargue-plantilla-general.component.d.ts +79 -0
  334. package/src/app/webcommon/pages/ejecucion-reporte/detalle-campo-reporte/detalle-campo-reporte.component.d.ts +79 -0
  335. package/src/app/webcommon/pages/ejecucion-reporte/detalle-distribucion-reporte/detalle-distribucion-reporte.component.d.ts +29 -0
  336. package/src/app/webcommon/pages/ejecucion-reporte/detalle-ejecucion-reporte/detalle-ejecucion-reporte.page.d.ts +69 -0
  337. package/src/app/webcommon/pages/ejecucion-reporte/detalle-entrada-reporte/detalle-entrada-reporte.component.d.ts +51 -0
  338. package/src/app/webcommon/pages/ejecucion-reporte/detalle-punto-proceso-reporte/detalle-punto-proceso-reporte.component.d.ts +77 -0
  339. package/src/app/webcommon/pages/ejecucion-reporte/detalle-tipo-reporte/detalle-tipo-reporte.component.d.ts +278 -0
  340. package/src/app/webcommon/pages/ejecucion-reporte/listado-ejecucion-reporte/listado-ejecucion-reporte.page.d.ts +42 -0
  341. package/src/app/webcommon/pages/ejecucion-reporte-externo/listado-ejecucion-reporte-externo/listado-ejecucion-reporte-externo.component.d.ts +35 -0
  342. package/src/app/webcommon/pages/fuente/importar-fuente-con/importar-fuente-con.component.d.ts +143 -0
  343. package/src/app/webcommon/pages/fuente/importar-fuente-general/importar-fuente-general.component.d.ts +49 -0
  344. package/src/app/webcommon/pages/fuente-reporte/fuente-reporte.component.d.ts +131 -0
  345. package/src/app/webcommon/pages/fuenteGeneral/fuente-general-servicio/fuente-general-servicio.component.d.ts +64 -0
  346. package/src/app/webcommon/pages/fuenteGeneral/listado-fuente-general/listado-fuente-general.page.d.ts +33 -0
  347. package/src/app/webcommon/pages/fuenteGeneral/mantenimiento-fuente-general/mantenimiento-fuente-general.page.d.ts +149 -0
  348. package/src/app/webcommon/pipes/dashboard.pipe.d.ts +48 -0
  349. package/src/app/webcommon/pipes/fuente.pipe.d.ts +136 -0
  350. package/src/app/webcommon/pipes/general.pipe.d.ts +646 -0
  351. package/src/app/webcommon/pipes/reporte-columnario.pipe.d.ts +59 -0
  352. package/src/app/webcommon/pipes/reporte-fuente.pipe.d.ts +193 -0
  353. package/src/app/webcommon/popups/popup-campos-fuente-general/popup-campos-fuente-general.component.d.ts +59 -0
  354. package/src/app/webcommon/popups/popup-convertir-plantillas/popup-convertir-plantillas.component.d.ts +27 -0
  355. package/src/app/webcommon/popups/popup-editor-formula/popup-editor-formula.component.d.ts +21 -0
  356. package/src/app/webcommon/popups/popup-punto-proceso/popup-punto-proceso.component.d.ts +64 -0
  357. package/src/app/webcommon/popups/popup-recurso/popup-recurso.component.d.ts +63 -0
  358. package/src/app/webcommon/popups/popup-reporte/popup-reporte.component.d.ts +105 -0
  359. package/src/app/webcommon/popups/popup-sentencia/popup-sentencia.component.d.ts +21 -0
  360. package/src/app/webcommon/popups/popup-tablas-fuente/popup-tablas-fuente.component.d.ts +42 -0
  361. package/src/app/webcommon/popups/punto-proceso-comp/punto-proceso-comp.component.d.ts +30 -0
  362. package/src/app/webcommon/services/carguelinea.service.d.ts +19 -0
  363. package/src/app/webcommon/services/dashboard.service.d.ts +27 -0
  364. package/src/app/webcommon/services/ejecucionreporte.service.d.ts +34 -0
  365. package/src/app/webcommon/services/fechaUtils.service.d.ts +30 -0
  366. package/src/app/webcommon/services/fuentegeneral.service.d.ts +24 -0
  367. package/src/app/webcommon/services/homologacion.service.d.ts +17 -0
  368. package/src/app/webcommon/services/plantillas.service.d.ts +26 -0
  369. package/src/app/webcommon/services/reportes.service.d.ts +35 -0
  370. package/src/app/webcommon/webcommon.module.d.ts +6 -0
  371. package/src/environments/environment.d.ts +7 -0
  372. package/src/styles/primeng/sass/overrides/_theme_styles.scss +1 -3
  373. package/.browserslistrc +0 -15
  374. package/.editorconfig +0 -16
  375. package/.vscode/extensions.json +0 -4
  376. package/.vscode/launch.json +0 -20
  377. package/.vscode/tasks.json +0 -42
  378. package/angular.json +0 -143
  379. package/karma.conf.js +0 -44
  380. package/ng-package.json +0 -21
  381. package/src/app/app.component.html +0 -12
  382. package/src/app/app.component.scss +0 -0
  383. package/src/app/app.component.spec.ts +0 -29
  384. package/src/app/app.component.ts +0 -34
  385. package/src/app/app.config.ts +0 -43
  386. package/src/app/app.module.ts +0 -10
  387. package/src/app/app.routes.ts +0 -88
  388. package/src/app/core/componentes/breadcrumb/breadcrumb.component.html +0 -6
  389. package/src/app/core/componentes/breadcrumb/breadcrumb.component.scss +0 -0
  390. package/src/app/core/componentes/breadcrumb/breadcrumb.component.ts +0 -39
  391. package/src/app/core/componentes/carga-breadcrumb/carga-breadcrumb.component.html +0 -1
  392. package/src/app/core/componentes/carga-breadcrumb/carga-breadcrumb.component.scss +0 -0
  393. package/src/app/core/componentes/carga-breadcrumb/carga-breadcrumb.component.ts +0 -31
  394. package/src/app/core/componentes/carga-pantalla-completa/carga-pantalla-completa.component.html +0 -9
  395. package/src/app/core/componentes/carga-pantalla-completa/carga-pantalla-completa.component.scss +0 -28
  396. package/src/app/core/componentes/carga-pantalla-completa/carga-pantalla-completa.component.ts +0 -32
  397. package/src/app/core/componentes/filtro-general/filtro-general.component.html +0 -36
  398. package/src/app/core/componentes/filtro-general/filtro-general.component.scss +0 -3
  399. package/src/app/core/componentes/filtro-general/filtro-general.component.ts +0 -203
  400. package/src/app/core/componentes/footer/footer.component.html +0 -13
  401. package/src/app/core/componentes/footer/footer.component.scss +0 -3
  402. package/src/app/core/componentes/footer/footer.component.ts +0 -20
  403. package/src/app/core/componentes/formulariodinamico/formulariodinamico.component.html +0 -267
  404. package/src/app/core/componentes/formulariodinamico/formulariodinamico.component.scss +0 -21
  405. package/src/app/core/componentes/formulariodinamico/formulariodinamico.component.ts +0 -275
  406. package/src/app/core/componentes/formulariodinamico/objetosformulario/CampoFormulario.ts +0 -118
  407. package/src/app/core/componentes/formulariodinamico/objetosformulario/CampoFormularioCons.ts +0 -76
  408. package/src/app/core/componentes/formulariodinamico/objetosformulario/CampoFormularioNuevo.ts +0 -67
  409. package/src/app/core/componentes/formulariodinamico/objetosformulario/HashDirective.ts +0 -11
  410. package/src/app/core/componentes/inicio-component/inicio-component.component.html +0 -29
  411. package/src/app/core/componentes/inicio-component/inicio-component.component.scss +0 -69
  412. package/src/app/core/componentes/inicio-component/inicio-component.component.ts +0 -70
  413. package/src/app/core/componentes/menu/menu.component.html +0 -13
  414. package/src/app/core/componentes/menu/menu.component.scss +0 -36
  415. package/src/app/core/componentes/menu/menu.component.ts +0 -35
  416. package/src/app/core/componentes/tabla-general/tabla-general.component.html +0 -90
  417. package/src/app/core/componentes/tabla-general/tabla-general.component.scss +0 -0
  418. package/src/app/core/componentes/tabla-general/tabla-general.component.ts +0 -96
  419. package/src/app/core/core.module.ts +0 -22
  420. package/src/app/core/errores/authentication.error.ts +0 -6
  421. package/src/app/core/modelos/error-response.model.ts +0 -9
  422. package/src/app/core/modelos/table-column.model.ts +0 -10
  423. package/src/app/core/modelos/user.model.ts +0 -6
  424. package/src/app/core/plantilla-general/plantilla-general.template.html +0 -139
  425. package/src/app/core/plantilla-general/plantilla-general.template.scss +0 -37
  426. package/src/app/core/plantilla-general/plantilla-general.template.ts +0 -233
  427. package/src/app/core/servicios/auth.service.ts +0 -189
  428. package/src/app/core/servicios/cargar-control-funcionalidad.service.ts +0 -49
  429. package/src/app/core/servicios/data-exporter-table.utils.ts +0 -78
  430. package/src/app/core/servicios/error-interceptor.service.ts +0 -208
  431. package/src/app/core/servicios/guardias/auth.guard.ts +0 -51
  432. package/src/app/core/servicios/guardias/publico.guard.ts +0 -26
  433. package/src/app/core/servicios/interceptores/loading-interceptor.ts +0 -37
  434. package/src/app/core/servicios/interceptores/token-interceptor.service.ts +0 -177
  435. package/src/app/core/servicios/loading.service.ts +0 -48
  436. package/src/app/core/servicios/menu.service.ts +0 -153
  437. package/src/app/core/servicios/spinner-service.ts +0 -18
  438. package/src/app/core/servicios/storage.service.ts +0 -68
  439. package/src/app/core/servicios/template.service.ts +0 -91
  440. package/src/app/core/servicios/toast.service.ts +0 -114
  441. package/src/app/core/servicios/utils.service.ts +0 -367
  442. package/src/app/core/sharedlib.module.ts +0 -11
  443. package/src/app/core/utilidades/color.util.ts +0 -197
  444. package/src/app/layout/app.breadcrumb.component.html +0 -20
  445. package/src/app/layout/app.breadcrumb.component.ts +0 -78
  446. package/src/app/layout/app.footer.component.html +0 -18
  447. package/src/app/layout/app.footer.component.ts +0 -15
  448. package/src/app/layout/app.layout.component.html +0 -20
  449. package/src/app/layout/app.layout.component.ts +0 -201
  450. package/src/app/layout/app.layout.module.ts +0 -9
  451. package/src/app/layout/app.menu.component.html +0 -6
  452. package/src/app/layout/app.menu.component.ts +0 -51
  453. package/src/app/layout/app.menu.service.ts +0 -23
  454. package/src/app/layout/app.menuitem.component.ts +0 -252
  455. package/src/app/layout/app.menuprofile.component.html +0 -35
  456. package/src/app/layout/app.menuprofile.component.ts +0 -60
  457. package/src/app/layout/app.rightmenu.component.html +0 -72
  458. package/src/app/layout/app.rightmenu.component.ts +0 -24
  459. package/src/app/layout/app.sidebar.component.html +0 -40
  460. package/src/app/layout/app.sidebar.component.ts +0 -81
  461. package/src/app/layout/app.topbar.component.html +0 -214
  462. package/src/app/layout/app.topbar.component.ts +0 -336
  463. package/src/app/layout/config/app.config.component.html +0 -125
  464. package/src/app/layout/config/app.config.component.ts +0 -206
  465. package/src/app/layout/config/app.config.module.ts +0 -11
  466. package/src/app/layout/service/app.layout.service.ts +0 -191
  467. package/src/app/publico/pages/login/login.page.html +0 -53
  468. package/src/app/publico/pages/login/login.page.scss +0 -166
  469. package/src/app/publico/pages/login/login.page.ts +0 -128
  470. package/src/app/publico/pages/not-found/not-found.page.html +0 -35
  471. package/src/app/publico/pages/not-found/not-found.page.scss +0 -2
  472. package/src/app/publico/pages/not-found/not-found.page.ts +0 -46
  473. package/src/app/publico/pages/seleccion-rol/seleccion-rol.component.html +0 -58
  474. package/src/app/publico/pages/seleccion-rol/seleccion-rol.component.scss +0 -49
  475. package/src/app/publico/pages/seleccion-rol/seleccion-rol.component.ts +0 -176
  476. package/src/app/publico/pages/timeout/timeout.page.html +0 -24
  477. package/src/app/publico/pages/timeout/timeout.page.scss +0 -2
  478. package/src/app/publico/pages/timeout/timeout.page.ts +0 -18
  479. package/src/app/seguridad/constantes/ConstantesGenerales.ts +0 -30
  480. package/src/app/seguridad/constantes/ReporteEntradaConstantes.ts +0 -18
  481. package/src/app/seguridad/constantes/ReporteFuenteConstantes.ts +0 -13
  482. package/src/app/seguridad/modelos/AplicacionModel.ts +0 -11
  483. package/src/app/seguridad/modelos/ArchivoPortalModel.ts +0 -16
  484. package/src/app/seguridad/modelos/AtributoPuntoModel.ts +0 -9
  485. package/src/app/seguridad/modelos/AtributoSSOportalModel.ts +0 -22
  486. package/src/app/seguridad/modelos/CargueLineaModel.ts +0 -17
  487. package/src/app/seguridad/modelos/ColoresRGB.ts +0 -17
  488. package/src/app/seguridad/modelos/ColumnaFuenteModel.ts +0 -9
  489. package/src/app/seguridad/modelos/ComplementoModel.ts +0 -10
  490. package/src/app/seguridad/modelos/ComponentePaginaModel.ts +0 -22
  491. package/src/app/seguridad/modelos/ConexionModel.ts +0 -15
  492. package/src/app/seguridad/modelos/ControlFuncionModel.ts +0 -10
  493. package/src/app/seguridad/modelos/CorreoModel.ts +0 -45
  494. package/src/app/seguridad/modelos/CorreoWSModel.ts +0 -49
  495. package/src/app/seguridad/modelos/CruceRecursoPuntoModel.ts +0 -14
  496. package/src/app/seguridad/modelos/EmpresaModel.ts +0 -25
  497. package/src/app/seguridad/modelos/EmpresaSeguridadModel.ts +0 -19
  498. package/src/app/seguridad/modelos/EtiquetaModel.ts +0 -4
  499. package/src/app/seguridad/modelos/Etiquetas.ts +0 -14
  500. package/src/app/seguridad/modelos/FuenteCampoAtributoModel.ts +0 -21
  501. package/src/app/seguridad/modelos/FuenteDato.ts +0 -19
  502. package/src/app/seguridad/modelos/FuenteEntradaModel.ts +0 -9
  503. package/src/app/seguridad/modelos/FuenteLineaServicioModel.ts +0 -19
  504. package/src/app/seguridad/modelos/FuenteProcesoGeneralModel.ts +0 -14
  505. package/src/app/seguridad/modelos/FuncionalidadModel.ts +0 -12
  506. package/src/app/seguridad/modelos/GeneralModel.ts +0 -16
  507. package/src/app/seguridad/modelos/GrupoControlFuncionModel.ts +0 -12
  508. package/src/app/seguridad/modelos/GrupoFuenteModel.ts +0 -17
  509. package/src/app/seguridad/modelos/GrupoPermisoModel.ts +0 -16
  510. package/src/app/seguridad/modelos/ListaServicioModel.ts +0 -18
  511. package/src/app/seguridad/modelos/LlaveForaneaModel.ts +0 -6
  512. package/src/app/seguridad/modelos/LoginModel.ts +0 -19
  513. package/src/app/seguridad/modelos/MensajeSistemaModel.ts +0 -10
  514. package/src/app/seguridad/modelos/ModulosModel.ts +0 -17
  515. package/src/app/seguridad/modelos/PaginaPortalModel.ts +0 -23
  516. package/src/app/seguridad/modelos/ParametroComponenteModel.ts +0 -9
  517. package/src/app/seguridad/modelos/ParametrosGeneralModel.ts +0 -16
  518. package/src/app/seguridad/modelos/PermisoFuncionModel.ts +0 -11
  519. package/src/app/seguridad/modelos/PermisocontenidoModel.ts +0 -20
  520. package/src/app/seguridad/modelos/PreguntaSeguridadModel.ts +0 -9
  521. package/src/app/seguridad/modelos/PropiedadModel.ts +0 -12
  522. package/src/app/seguridad/modelos/PublicacionWebModel.ts +0 -29
  523. package/src/app/seguridad/modelos/PuntoProcesoModel.ts +0 -7
  524. package/src/app/seguridad/modelos/RecursoPunto.ts +0 -13
  525. package/src/app/seguridad/modelos/RecursoPuntoModel.ts +0 -13
  526. package/src/app/seguridad/modelos/ReporteBanda.ts +0 -9
  527. package/src/app/seguridad/modelos/ReporteColumna.ts +0 -33
  528. package/src/app/seguridad/modelos/ReporteColumnario.ts +0 -82
  529. package/src/app/seguridad/modelos/ReporteColumnarioMarcador.ts +0 -31
  530. package/src/app/seguridad/modelos/ReporteMarcador.ts +0 -40
  531. package/src/app/seguridad/modelos/ReporteSoporte.ts +0 -10
  532. package/src/app/seguridad/modelos/ReporteTabla.ts +0 -14
  533. package/src/app/seguridad/modelos/RespuestaModel.ts +0 -10
  534. package/src/app/seguridad/modelos/ServidorCorreoModel.ts +0 -31
  535. package/src/app/seguridad/modelos/SistemaMensajeModel.ts +0 -11
  536. package/src/app/seguridad/modelos/SitioPortalModel.ts +0 -29
  537. package/src/app/seguridad/modelos/TablaFromModel.ts +0 -5
  538. package/src/app/seguridad/modelos/TareasModel.ts +0 -54
  539. package/src/app/seguridad/modelos/TextoModel.ts +0 -11
  540. package/src/app/seguridad/modelos/TipoEtiqueta.ts +0 -8
  541. package/src/app/seguridad/modelos/UnionModel.ts +0 -14
  542. package/src/app/seguridad/modelos/UsuariogrupoModel.ts +0 -27
  543. package/src/app/seguridad/modelos/aplicacion-propiedad-model.ts +0 -16
  544. package/src/app/seguridad/modelos/contenidoCorreoModel.ts +0 -13
  545. package/src/app/shared/componentes/input-helper-seleccion-plantilla/input-helper-seleccion-plantilla.component.html +0 -47
  546. package/src/app/shared/componentes/input-helper-seleccion-plantilla/input-helper-seleccion-plantilla.component.scss +0 -8
  547. package/src/app/shared/componentes/input-helper-seleccion-plantilla/input-helper-seleccion-plantilla.component.ts +0 -144
  548. package/src/app/shared/servicios/cargar-archivos.service.ts +0 -51
  549. package/src/app/shared/servicios/cargar-mapas.service.ts +0 -43
  550. package/src/app/shared/servicios/encriptado-basico.service.ts +0 -54
  551. package/src/app/shared/servicios/encriptador-simetrico.service.ts +0 -29
  552. package/src/app/shared/servicios/general.service.ts +0 -124
  553. package/src/app/shared/servicios/parametros-navegacion.service.ts +0 -20
  554. package/src/app/shared/servicios/plantillas.service.ts +0 -22
  555. package/src/app/shared/servicios/tarea.service.ts +0 -71
  556. package/src/app/shared/utilidades/translate-loader.util.ts +0 -44
  557. package/src/app/webcommon/pages/cargue-plantilla/cargue-plantilla-general/cargue-plantilla-general.component.html +0 -175
  558. package/src/app/webcommon/pages/cargue-plantilla/cargue-plantilla-general/cargue-plantilla-general.component.scss +0 -78
  559. package/src/app/webcommon/pages/cargue-plantilla/cargue-plantilla-general/cargue-plantilla-general.component.ts +0 -438
  560. package/src/app/webcommon/pages/ejecucion-reporte/detalle-campo-reporte/detalle-campo-reporte.component.html +0 -87
  561. package/src/app/webcommon/pages/ejecucion-reporte/detalle-campo-reporte/detalle-campo-reporte.component.scss +0 -0
  562. package/src/app/webcommon/pages/ejecucion-reporte/detalle-campo-reporte/detalle-campo-reporte.component.ts +0 -189
  563. package/src/app/webcommon/pages/ejecucion-reporte/detalle-distribucion-reporte/detalle-distribucion-reporte.component.html +0 -117
  564. package/src/app/webcommon/pages/ejecucion-reporte/detalle-distribucion-reporte/detalle-distribucion-reporte.component.scss +0 -0
  565. package/src/app/webcommon/pages/ejecucion-reporte/detalle-distribucion-reporte/detalle-distribucion-reporte.component.ts +0 -87
  566. package/src/app/webcommon/pages/ejecucion-reporte/detalle-ejecucion-reporte/detalle-ejecucion-reporte.page.html +0 -158
  567. package/src/app/webcommon/pages/ejecucion-reporte/detalle-ejecucion-reporte/detalle-ejecucion-reporte.page.scss +0 -6
  568. package/src/app/webcommon/pages/ejecucion-reporte/detalle-ejecucion-reporte/detalle-ejecucion-reporte.page.ts +0 -345
  569. package/src/app/webcommon/pages/ejecucion-reporte/detalle-entrada-reporte/detalle-entrada-reporte.component.html +0 -131
  570. package/src/app/webcommon/pages/ejecucion-reporte/detalle-entrada-reporte/detalle-entrada-reporte.component.scss +0 -0
  571. package/src/app/webcommon/pages/ejecucion-reporte/detalle-entrada-reporte/detalle-entrada-reporte.component.ts +0 -198
  572. package/src/app/webcommon/pages/ejecucion-reporte/detalle-punto-proceso-reporte/detalle-punto-proceso-reporte.component.html +0 -206
  573. package/src/app/webcommon/pages/ejecucion-reporte/detalle-punto-proceso-reporte/detalle-punto-proceso-reporte.component.scss +0 -3
  574. package/src/app/webcommon/pages/ejecucion-reporte/detalle-punto-proceso-reporte/detalle-punto-proceso-reporte.component.ts +0 -330
  575. package/src/app/webcommon/pages/ejecucion-reporte/detalle-tipo-reporte/detalle-tipo-reporte.component.html +0 -2121
  576. package/src/app/webcommon/pages/ejecucion-reporte/detalle-tipo-reporte/detalle-tipo-reporte.component.scss +0 -241
  577. package/src/app/webcommon/pages/ejecucion-reporte/detalle-tipo-reporte/detalle-tipo-reporte.component.ts +0 -1694
  578. package/src/app/webcommon/pages/ejecucion-reporte/listado-ejecucion-reporte/listado-ejecucion-reporte.page.html +0 -33
  579. package/src/app/webcommon/pages/ejecucion-reporte/listado-ejecucion-reporte/listado-ejecucion-reporte.page.scss +0 -0
  580. package/src/app/webcommon/pages/ejecucion-reporte/listado-ejecucion-reporte/listado-ejecucion-reporte.page.ts +0 -96
  581. package/src/app/webcommon/pages/ejecucion-reporte-externo/listado-ejecucion-reporte-externo/listado-ejecucion-reporte-externo.component.html +0 -54
  582. package/src/app/webcommon/pages/ejecucion-reporte-externo/listado-ejecucion-reporte-externo/listado-ejecucion-reporte-externo.component.scss +0 -0
  583. package/src/app/webcommon/pages/ejecucion-reporte-externo/listado-ejecucion-reporte-externo/listado-ejecucion-reporte-externo.component.ts +0 -111
  584. package/src/app/webcommon/pages/fuente/importar-fuente-con/importar-fuente-con.component.html +0 -394
  585. package/src/app/webcommon/pages/fuente/importar-fuente-con/importar-fuente-con.component.scss +0 -10
  586. package/src/app/webcommon/pages/fuente/importar-fuente-con/importar-fuente-con.component.ts +0 -599
  587. package/src/app/webcommon/pages/fuente/importar-fuente-general/importar-fuente-general.component.html +0 -130
  588. package/src/app/webcommon/pages/fuente/importar-fuente-general/importar-fuente-general.component.scss +0 -0
  589. package/src/app/webcommon/pages/fuente/importar-fuente-general/importar-fuente-general.component.ts +0 -172
  590. package/src/app/webcommon/pages/fuente-reporte/fuente-reporte.component.html +0 -403
  591. package/src/app/webcommon/pages/fuente-reporte/fuente-reporte.component.scss +0 -5
  592. package/src/app/webcommon/pages/fuente-reporte/fuente-reporte.component.ts +0 -761
  593. package/src/app/webcommon/pages/fuenteGeneral/fuente-general-servicio/fuente-general-servicio.component.html +0 -145
  594. package/src/app/webcommon/pages/fuenteGeneral/fuente-general-servicio/fuente-general-servicio.component.scss +0 -0
  595. package/src/app/webcommon/pages/fuenteGeneral/fuente-general-servicio/fuente-general-servicio.component.ts +0 -302
  596. package/src/app/webcommon/pages/fuenteGeneral/listado-fuente-general/listado-fuente-general.page.html +0 -19
  597. package/src/app/webcommon/pages/fuenteGeneral/listado-fuente-general/listado-fuente-general.page.scss +0 -0
  598. package/src/app/webcommon/pages/fuenteGeneral/listado-fuente-general/listado-fuente-general.page.ts +0 -89
  599. package/src/app/webcommon/pages/fuenteGeneral/mantenimiento-fuente-general/mantenimiento-fuente-general.page.html +0 -714
  600. package/src/app/webcommon/pages/fuenteGeneral/mantenimiento-fuente-general/mantenimiento-fuente-general.page.scss +0 -0
  601. package/src/app/webcommon/pages/fuenteGeneral/mantenimiento-fuente-general/mantenimiento-fuente-general.page.ts +0 -688
  602. package/src/app/webcommon/pipes/dashboard.pipe.ts +0 -79
  603. package/src/app/webcommon/pipes/fuente.pipe.ts +0 -207
  604. package/src/app/webcommon/pipes/general.pipe.ts +0 -1043
  605. package/src/app/webcommon/pipes/reporte-columnario.pipe.ts +0 -101
  606. package/src/app/webcommon/pipes/reporte-fuente.pipe.ts +0 -306
  607. package/src/app/webcommon/pipes/sara-general.pipe.ts +0 -289
  608. package/src/app/webcommon/popups/popup-campos-fuente-general/popup-campos-fuente-general.component.html +0 -90
  609. package/src/app/webcommon/popups/popup-campos-fuente-general/popup-campos-fuente-general.component.scss +0 -0
  610. package/src/app/webcommon/popups/popup-campos-fuente-general/popup-campos-fuente-general.component.ts +0 -262
  611. package/src/app/webcommon/popups/popup-convertir-plantillas/popup-convertir-plantillas.component.html +0 -50
  612. package/src/app/webcommon/popups/popup-convertir-plantillas/popup-convertir-plantillas.component.scss +0 -0
  613. package/src/app/webcommon/popups/popup-convertir-plantillas/popup-convertir-plantillas.component.ts +0 -135
  614. package/src/app/webcommon/popups/popup-editor-formula/popup-editor-formula.component.html +0 -44
  615. package/src/app/webcommon/popups/popup-editor-formula/popup-editor-formula.component.scss +0 -0
  616. package/src/app/webcommon/popups/popup-editor-formula/popup-editor-formula.component.ts +0 -66
  617. package/src/app/webcommon/popups/popup-punto-proceso/popup-punto-proceso.component.html +0 -41
  618. package/src/app/webcommon/popups/popup-punto-proceso/popup-punto-proceso.component.scss +0 -0
  619. package/src/app/webcommon/popups/popup-punto-proceso/popup-punto-proceso.component.ts +0 -283
  620. package/src/app/webcommon/popups/popup-recurso/popup-recurso.component.html +0 -179
  621. package/src/app/webcommon/popups/popup-recurso/popup-recurso.component.scss +0 -3
  622. package/src/app/webcommon/popups/popup-recurso/popup-recurso.component.ts +0 -266
  623. package/src/app/webcommon/popups/popup-reporte/popup-reporte.component.html +0 -273
  624. package/src/app/webcommon/popups/popup-reporte/popup-reporte.component.scss +0 -13
  625. package/src/app/webcommon/popups/popup-reporte/popup-reporte.component.ts +0 -557
  626. package/src/app/webcommon/popups/popup-sentencia/popup-sentencia.component.html +0 -10
  627. package/src/app/webcommon/popups/popup-sentencia/popup-sentencia.component.scss +0 -5
  628. package/src/app/webcommon/popups/popup-sentencia/popup-sentencia.component.ts +0 -58
  629. package/src/app/webcommon/popups/popup-tablas-fuente/popup-tablas-fuente.component.html +0 -71
  630. package/src/app/webcommon/popups/popup-tablas-fuente/popup-tablas-fuente.component.scss +0 -0
  631. package/src/app/webcommon/popups/popup-tablas-fuente/popup-tablas-fuente.component.ts +0 -154
  632. package/src/app/webcommon/popups/punto-proceso-comp/punto-proceso-comp.component.html +0 -11
  633. package/src/app/webcommon/popups/punto-proceso-comp/punto-proceso-comp.component.scss +0 -0
  634. package/src/app/webcommon/popups/punto-proceso-comp/punto-proceso-comp.component.ts +0 -82
  635. package/src/app/webcommon/services/carguelinea.service.ts +0 -74
  636. package/src/app/webcommon/services/dashboard.service.ts +0 -258
  637. package/src/app/webcommon/services/ejecucionreporte.service.ts +0 -160
  638. package/src/app/webcommon/services/fechaUtils.service.ts +0 -127
  639. package/src/app/webcommon/services/fuentegeneral.service.ts +0 -74
  640. package/src/app/webcommon/services/homologacion.service.ts +0 -49
  641. package/src/app/webcommon/services/plantillas.service.ts +0 -165
  642. package/src/app/webcommon/services/reportes.service.ts +0 -133
  643. package/src/app/webcommon/webcommon.module.ts +0 -11
  644. package/src/environments/environment.prod.ts +0 -3
  645. package/src/environments/environment.ts +0 -25
  646. package/src/favicon.ico +0 -0
  647. package/src/index.html +0 -14
  648. package/src/main.ts +0 -12
  649. package/src/polyfills.ts +0 -53
  650. package/src/test.ts +0 -14
  651. package/tsconfig.app.json +0 -15
  652. package/tsconfig.json +0 -35
  653. package/tsconfig.spec.json +0 -18
@@ -1,1694 +0,0 @@
1
- import { Component, OnInit, Input, OnDestroy } from '@angular/core';
2
- import { FormBuilder, FormControl, FormGroup, FormsModule, ReactiveFormsModule, Validators } from '@angular/forms';
3
- import { GeneralPipe } from '../../../pipes/general.pipe';
4
- import { GeneralService } from '../../../../shared/servicios/general.service';
5
- import { GeneralModel } from '../../../../seguridad/modelos/GeneralModel';
6
- import { CargarArchivosService } from '../../../../shared/servicios/cargar-archivos.service';
7
- import { EncriptadoBasicoService } from '../../../../shared/servicios/encriptado-basico.service';
8
- import { ConfirmationService, MessageService } from 'primeng/api';
9
- import { Subscription } from 'rxjs';
10
-
11
- import { ReporteFuentePipe } from '../../../pipes/reporte-fuente.pipe';
12
- import { EjecucionReporteService } from '../../../services/ejecucionreporte.service';
13
- import { TranslateModule, TranslateService } from '@ngx-translate/core';
14
- import { FuentePipe } from '../../../pipes/fuente.pipe';
15
- import { ReporteColumnarioPipe } from '../../../pipes/reporte-columnario.pipe';
16
- import { ReporteColumnaModel } from '../../../../seguridad/modelos/ReporteColumna';
17
- import { ReporteMarcadorModel } from '../../../../seguridad/modelos/ReporteMarcador';
18
- import { ReporteTablaModel } from '../../../../seguridad/modelos/ReporteTabla';
19
- import { ReporteColumnarioModel } from '../../../../seguridad/modelos/ReporteColumnario';
20
- import { ReporteFuenteModel } from '../../../../seguridad/modelos/ReporteFuenteModel';
21
- import { ReporteColumnarioMarcadorModel } from '../../../../seguridad/modelos/ReporteColumnarioMarcador';
22
- import { ReporteBandaModel } from '../../../../seguridad/modelos/ReporteBanda';
23
- import { ReporteSoporteModel } from '../../../../seguridad/modelos/ReporteSoporte';
24
- import { ToastService } from '../../../../core/servicios/toast.service';
25
- import { UtilsService } from '../../../../core/servicios/utils.service';
26
- import { AuthService } from '../../../../core/servicios/auth.service';
27
- import { TableModule } from 'primeng/table';
28
- import { TabViewModule } from 'primeng/tabview';
29
- import { InputHelperSeleccionPlantillaComponent } from '../../../../shared/componentes/input-helper-seleccion-plantilla/input-helper-seleccion-plantilla.component';
30
- import { DropdownModule } from 'primeng/dropdown';
31
- import { CommonModule } from '@angular/common';
32
- import { ButtonModule } from 'primeng/button';
33
- import { PickListModule } from 'primeng/picklist';
34
- import { FieldsetModule } from 'primeng/fieldset';
35
- import { AccordionModule } from 'primeng/accordion';
36
- import { InputTextModule } from 'primeng/inputtext';
37
- import { InputTextareaModule } from 'primeng/inputtextarea';
38
- import { FloatLabelModule } from 'primeng/floatlabel';
39
- import { InputNumberModule } from 'primeng/inputnumber';
40
- import { DashboardService } from '../../../services/dashboard.service';
41
- import { ChartModule } from 'primeng/chart';
42
- import { DashboardPipe } from '../../../pipes/dashboard.pipe';
43
- import { ColorPickerModule } from 'primeng/colorpicker';
44
-
45
- @Component({
46
- selector: 'detalle-tipo-reporte',
47
- imports: [TranslateModule, TableModule, TabViewModule, InputHelperSeleccionPlantillaComponent, ReporteColumnarioPipe, ReporteFuentePipe, DropdownModule, FormsModule, ReactiveFormsModule, CommonModule, ButtonModule, PickListModule, FieldsetModule, AccordionModule, InputTextModule, InputTextareaModule, FloatLabelModule, InputNumberModule, FieldsetModule, ChartModule, ColorPickerModule],
48
- standalone: true,
49
- providers: [MessageService],
50
- templateUrl: './detalle-tipo-reporte.component.html',
51
- styleUrls: ['./detalle-tipo-reporte.component.scss']
52
- })
53
- export class DetalleTipoReporteComponent implements OnInit, OnDestroy {
54
-
55
- public listaTipoCifrado: any[] = [];
56
- //tab excel
57
- public listaExcel: ReporteColumnaModel[] = [];
58
- public listaNoExcel: ReporteColumnaModel[] = [];
59
- public listaMarcadorExcel: ReporteMarcadorModel[] = [];
60
- public reporteMarcadorExcel: ReporteMarcadorModel = new ReporteMarcadorModel;
61
- public formMarcadorExcel: FormGroup;
62
- public verNuevoMarcadorExcel: boolean = false;
63
- public esMarcador: boolean = false;
64
- public esImagenFija: boolean = false;
65
-
66
- //tab plantillas
67
- public listaColumnas: any[] = [];
68
- public listaMarcadores: ReporteMarcadorModel[] = [];
69
- public listaTipoMarcador;
70
- public listaTipoGrafico_JFC;
71
- public listaGrafico;
72
- public listaGraficoSencillo;
73
- public listaAlineacion;
74
- public listaOperaciones;
75
- public reporteMarcador: ReporteMarcadorModel = new ReporteMarcadorModel;
76
- public formMarcador: FormGroup;
77
- public origenMarcador: string = null;
78
- public verNuevoMarcador: boolean = false;
79
- public listaCamposMarcador: ReporteTablaModel[] = [];
80
- public campoMarcadorInsertar: ReporteTablaModel = new ReporteTablaModel;
81
- public listaSoportes: ReporteSoporteModel[] = [];
82
- public soporteIngresar: ReporteSoporteModel = new ReporteSoporteModel;
83
- public clickGuardarMarcadorCampo: boolean = false
84
- public clickGuardarMarcadorExcel: boolean = false;
85
- public verReporteMarcadorDetalle: boolean = false;
86
- public verSoporteArchivoDetalle: boolean = false;
87
- public clickGuardarSoporteArchivo: boolean = false;
88
- public habilitaCampo: boolean = false;
89
-
90
- public bloquearCampoMarcador: boolean = false;
91
- public bloquearSoporte: boolean = false;
92
-
93
-
94
- //reporte dinamico
95
- public listaTipoBanda = [
96
- {key: 'banda1', value: 'Banda 1'},
97
- {key: 'banda2', value: 'Banda 2'},
98
- {key: 'banda3', value: 'Banda 3'},
99
- {key: 'banda4', value: 'Banda 4'},
100
- {key: 'banda5', value: 'Banda 5'},
101
- {key: 'detalle', value: 'Detalle'},
102
- {key: 'summary', value: 'Resumen'},
103
- ]
104
- public existeJasper: boolean = false;
105
- public bandaSeleccionada = {key: null, value: null};
106
- public nuevaBanda: boolean = false;
107
- public verTabBanda: boolean = false;
108
- public nuevoReporteMarcadorDinamico: boolean = false;
109
- public reporteMarcadorDinamico: ReporteMarcadorModel = new ReporteMarcadorModel;
110
- public reporteBanda: ReporteBandaModel = new ReporteBandaModel;
111
- public formReporteDinamico: FormGroup;
112
- public listaMarcadorDinamico: ReporteMarcadorModel[] = []
113
- public listaTipoCampoJasperDinamico = [
114
- {key: 'C', value: 'Calculo'},
115
- {key: 'T', value: 'Columna'},
116
- ]
117
- public listaTipoDatoSintaxis = [
118
- {key: 'F', value: 'Fecha'},
119
- {key: 'N', value: 'Numero'},
120
- {key: 'T', value: 'Texto'},
121
- ]
122
-
123
- //reporte tabla
124
- public listaTabla: ReporteColumnaModel[] = [];
125
- public listaNoTabla: ReporteColumnaModel[] = [];
126
-
127
-
128
- //reporte texto
129
- public listaSeparadores;
130
- public clickGuardarReporteTexto: boolean = false;
131
- public listaMarcadoresTexto: ReporteMarcadorModel[] = [];
132
- public marcadorTexto: ReporteMarcadorModel = new ReporteMarcadorModel()
133
- public verNuevoMarcadorTexto: boolean = false;
134
- public listaTipoMarcadorTexto;
135
- public clickGuardarMarcadorTexto: boolean = false
136
-
137
- //reporte XML
138
- public listaTipoMarcadorXML;
139
- public listaXML: ReporteMarcadorModel[] = []
140
- public marcadorXML: ReporteMarcadorModel = new ReporteMarcadorModel
141
- public clickGuardarMarcadorXML: boolean = false;
142
- public verNuevoMarcadorXML: boolean = false;
143
- public listaCamposMarcadorXML: ReporteTablaModel[] = [];
144
- public campoMarcadorInsertarXML: ReporteTablaModel = new ReporteTablaModel;
145
- public verReporteMarcadorDetalleXML: boolean = false;
146
- public clickGuardarMarcadorCampoXML: boolean = false;
147
-
148
- //reporte columnario
149
- public listaReporteColumnario: ReporteColumnarioModel[] = [];
150
- public verNuevoReporteColumnario: boolean = false;
151
- public columnaBasica: ReporteColumnarioModel;
152
- public clickGuardarReporteColumnario: boolean = false;
153
- public listaTipoColumnas;
154
- public listaOperacionesColumnario;
155
- public listaOperacionesExcelColumnario;
156
- public listaOrdenamiento;
157
-
158
- public verNuevoColumnaAdicional: boolean = false;
159
- public clickGuardarColumnaAdicional: boolean = false;
160
- public columnasAdicionales: ReporteColumnarioModel[] = [];
161
- public columnaAdicional: ReporteColumnarioModel;
162
-
163
- public listaTipoMarcadorColumnario;
164
- public verNuevoMarcadorColumnario: boolean = false;
165
- public clickGuardarMarcadorColumnario: boolean = false;
166
- public marcadoresColumnario: ReporteColumnarioMarcadorModel[] = [];
167
- public marcadorColumnario: ReporteColumnarioMarcadorModel;
168
-
169
- //grafica
170
- public listaTipoGrafico;
171
- public paginadorColumnas: ReporteColumnaModel[] = [];
172
- public paginadorColoresGrafica: ReporteBandaModel[] = [];
173
- public colorCategoria: ReporteBandaModel = new ReporteBandaModel();
174
- public verColorCategoriaDetalle: boolean = false;
175
- public clickGuardarColorCategoria: boolean = false;
176
- public grafica;
177
- public tipoGrafica: "bar" | "line" | "scatter" | "bubble" | "pie" | "doughnut" | "polarArea" | "radar";
178
-
179
- public reporteFuente : ReporteFuenteModel = new ReporteFuenteModel();
180
- public llaveEmpresa: string;
181
- public listaSiNo;
182
- @Input() public llaveReporte : string;
183
- @Input() public aplicacion : string;
184
- @Input() public listaFuentes: any[] = [];
185
-
186
- _subsciprtions: Subscription[] = [];
187
-
188
- constructor(private formBuilder: FormBuilder,
189
- private notificacionesBusService: ToastService,
190
- private generalService: GeneralService,
191
- private generalPipe: GeneralPipe,
192
- private authService: AuthService,
193
- private reporteFuentePipe: ReporteFuentePipe,
194
- private confirmationService: ConfirmationService,
195
- private cargarArchivo: CargarArchivosService,
196
- private encriptadorArchivo: EncriptadoBasicoService,
197
- public utilsService: UtilsService,
198
- private translateService: TranslateService,
199
- private fuentePipe: FuentePipe,
200
- private reporteColumnarioPipe: ReporteColumnarioPipe,
201
- private reporteService: EjecucionReporteService,
202
- private dashboardService: DashboardService,
203
- private dashboardPipe: DashboardPipe,) {
204
- }
205
-
206
- ngOnInit(): void {
207
- this.aplicacion = this.authService.getTokenKey('aplicacion')
208
- this.llaveEmpresa = this.authService.getTokenKey('llaveEmpresa');
209
- this.listaSiNo = this.generalPipe.LISTA_SINO;
210
- this.listaTipoMarcadorColumnario = this.reporteColumnarioPipe.MAPA_TIPO_MARCADOR;
211
- this.listaTipoColumnas = this.reporteColumnarioPipe.MAPA_TIPO_COLUMNAS;
212
- this.listaOperacionesColumnario = this.reporteColumnarioPipe.MAPA_OPERACIONES_COLUMNARIO;
213
- this.listaOperacionesExcelColumnario = this.reporteColumnarioPipe.MAPA_OPERACIONES_COLUMNARIO_EXCEL;
214
- this.listaOrdenamiento = this.reporteColumnarioPipe.MAPA_ORDENAMIENTO;
215
- this.listaSeparadores = this.fuentePipe.LISTA_SEPARADORES;
216
- this.listaTipoMarcador = this.reporteFuentePipe.LISTA_MARCADORES;
217
- this.listaTipoGrafico_JFC = this.reporteFuentePipe.LISTA_TIPO_GRAFICO_JFC;
218
- this.listaGrafico = this.reporteFuentePipe.LISTA_RECURSO_GRAFICA;
219
- this.listaGraficoSencillo = this.reporteFuentePipe.RECURSO_GRAFICA;
220
- this.listaAlineacion = this.reporteFuentePipe.LISTA_ALINEACION;
221
- this.listaOperaciones = this.generalPipe.MAPAOPERACIONES;
222
- this.listaTipoMarcadorTexto = this.reporteFuentePipe.TIPOMARCADORESTEXTO;
223
- this.listaTipoMarcadorXML = this.reporteFuentePipe.LISTA_MARCADORES_XML;
224
- this.listaTipoGrafico = this.reporteFuentePipe.LISTA_TIPO_GRAFICO;
225
- this.cargar();
226
- this.cargarFormMarcadorExcel();
227
- this.cargarFormMarcador();
228
- this.cargarFormDinamico();
229
- this.agregarSubscripciones();
230
- //this.cargarListas();
231
-
232
- }
233
-
234
- ngOnDestroy(){
235
- this._subsciprtions.forEach((sub) => {
236
- sub.unsubscribe();
237
- });
238
- }
239
-
240
- agregarSubscripciones() {
241
- this._subsciprtions.push(
242
- this.formMarcadorExcel.get('tipo').valueChanges.subscribe((value) => {
243
- const textoRegistroControl = this.formMarcadorExcel.get('textoRegistro');
244
- const origenControl = this.formMarcadorExcel.get('origen');
245
- if (!value){
246
- this.esImagenFija = true;
247
- this.esMarcador = true;
248
- origenControl.clearValidators();
249
- textoRegistroControl.clearValidators();
250
- } else if (['MA'].includes(value)) {
251
- this.esImagenFija = false;
252
- this.esMarcador = true;
253
- textoRegistroControl.setValidators(Validators.required);
254
- origenControl.clearValidators();
255
- } else if (['IF'].includes(value)) {
256
- this.esImagenFija = true;
257
- this.esMarcador = false;
258
- origenControl.setValidators(Validators.required);
259
- textoRegistroControl.setValidators(Validators.required);
260
- }
261
- textoRegistroControl.updateValueAndValidity();
262
- origenControl.updateValueAndValidity();
263
- })
264
- );
265
-
266
- this._subsciprtions.push(
267
- this.formMarcador.get('tipo').valueChanges.subscribe((value) => {
268
- console.log('entra a tipo: ')
269
- console.log(value)
270
- this.formMarcador.clearValidators();
271
- this.reporteMarcador.tipo = value;
272
- if (this.reporteMarcador.tipo == this.reporteFuentePipe.MARCADORTABLA){
273
- // this.reporteMarcador.tieneSql = 'N'
274
- // this.formMarcador.get('tieneSql').setValue('N')
275
- }
276
- this.formMarcador.updateValueAndValidity();
277
- })
278
- );
279
-
280
- this._subsciprtions.push(
281
- this.formMarcador.get('origen').valueChanges.subscribe((value) => {
282
- this.formMarcador.clearValidators();
283
- this.reporteMarcador.origen = value;
284
- this.formMarcador.updateValueAndValidity();
285
- })
286
- );
287
-
288
- this._subsciprtions.push(
289
- this.formMarcador.get('tieneSql').valueChanges.subscribe((value) => {
290
- console.log('entra a tieneSql: ')
291
- console.log(value)
292
- this.formMarcador.clearValidators();
293
- this.reporteMarcador.tieneSql = value;
294
- this.formMarcador.updateValueAndValidity();
295
- })
296
- );
297
-
298
- this._subsciprtions.push(
299
- this.formMarcador.get('tipoGrafico').valueChanges.subscribe((value) => {
300
- this.formMarcador.clearValidators();
301
- this.reporteMarcador.tipoGrafico = value;
302
- this.formMarcador.updateValueAndValidity();
303
- })
304
- );
305
-
306
- this._subsciprtions.push(
307
- this.formMarcadorExcel.get('origen').valueChanges.subscribe((value) => {
308
- if (['U'].includes(value)) {
309
- this.reporteMarcadorExcel.origen = 'U'
310
- } else if (['C'].includes(value)) {
311
- this.reporteMarcadorExcel.origen = 'C'
312
- }
313
- })
314
- );
315
-
316
- this._subsciprtions.push(
317
- this.formReporteDinamico.get('tipoCampo').valueChanges.subscribe((value) => {
318
- this.reporteMarcadorDinamico.tipoCampo = value;
319
- const resultadoXControl = this.formReporteDinamico.get('resultadoX');
320
- const resultadoYControl = this.formReporteDinamico.get('resultadoY');
321
- if (this.bandaSeleccionada.key != 'detalle') {
322
- resultadoXControl.setValidators(Validators.required);
323
- resultadoYControl.setValidators(Validators.required);
324
- } else {
325
- resultadoXControl.clearValidators();
326
- resultadoYControl.clearValidators();
327
- }
328
-
329
- const marcadorControl = this.formReporteDinamico.get('marcador');
330
- const filtroControl = this.formReporteDinamico.get('filtro');
331
- const tipoDatoControl = this.formReporteDinamico.get('tipoDato');
332
- if (this.reporteMarcadorDinamico.tipoCampo == 'T') {
333
- marcadorControl.setValidators(Validators.required);
334
- filtroControl.clearValidators();
335
- tipoDatoControl.clearValidators();
336
- } else {
337
- marcadorControl.clearValidators();
338
- filtroControl.setValidators(Validators.required);
339
- tipoDatoControl.setValidators(Validators.required);
340
- }
341
- marcadorControl.updateValueAndValidity();
342
- filtroControl.updateValueAndValidity();
343
- tipoDatoControl.updateValueAndValidity();
344
- resultadoXControl.updateValueAndValidity();
345
- resultadoYControl.updateValueAndValidity();
346
- }),
347
- this.formReporteDinamico.get('tipoDato').valueChanges.subscribe((value) => {
348
- this.reporteMarcadorDinamico.tipoDato = value
349
- })
350
- );
351
- }
352
-
353
- cambiarTab(event){
354
- switch (event.index) {
355
- case 0:
356
- this.cargar();
357
- this.cargarListasExcel();
358
- break;
359
- case 1:
360
- this.cargarListaMarcadores();
361
- if (this.reporteFuente.unicoArchivo == 'N'){
362
- this.cargarListaSoportes();
363
- }
364
- break;
365
- case 2:
366
- this.validarExisteJasper();
367
- break;
368
- case 3:
369
- this.cargarListaMarcadoresTexto();
370
- break;
371
- case 4:
372
- this.cargarListasTabla();
373
- break;
374
- case 5:
375
- this.cargarListaXML();
376
- break;
377
- case 6:
378
- this.cargarReporteColumnario();
379
- break;
380
- case 7:
381
- this.cargarGraficasColumnas();
382
- break;
383
- default:
384
- break;
385
- }
386
- }
387
-
388
- cargarListasTabla(){
389
- this.generalService.queryForList(new GeneralModel('ReporteColumnaDTO', null, false, {buscarOrdenTabla: 'S', ordenarTabla: 'S', reporteFuente: this.reporteFuente.llave})).subscribe(data => {
390
- this.listaTabla = data;
391
- })
392
- this.generalService.queryForList(new GeneralModel('ReporteColumnaDTO', null, false, {buscarOrdenTabla: 'N', reporteFuente: this.reporteFuente.llave})).subscribe(data => {
393
- this.listaNoTabla = data;
394
- })
395
- }
396
-
397
- cargarListaMarcadores(){
398
- this.generalService.queryForList(new GeneralModel('ReporteMarcadorDTO', null, false, {tipoReporte: 'P', reporteFuente: this.reporteFuente.llave, ordenDinamico: this.generalPipe.SI})).subscribe(data => {
399
- this.listaMarcadores = data;
400
- })
401
- }
402
-
403
- cargarListasExcel(){
404
- this.generalService.queryForList(new GeneralModel('ReporteColumnaDTO', null, false, {ordenExcel: 'S', reporteFuente: this.reporteFuente.llave})).subscribe(data => {
405
- this.listaExcel = data;
406
- })
407
- this.generalService.queryForList(new GeneralModel('ReporteColumnaDTO', null, false, {ordenExcel: 'N', reporteFuente: this.reporteFuente.llave})).subscribe(data => {
408
- this.listaNoExcel = data;
409
- })
410
- this.generalService.queryForList(new GeneralModel('ReporteMarcadorDTO', null, false, {tipoReporte: 'E', reporteFuente: this.reporteFuente.llave, ordenDinamico: this.generalPipe.SI})).subscribe(data => {
411
- this.listaMarcadorExcel = data;
412
- })
413
- }
414
-
415
- cargarListaColumnas(){
416
- this.listaColumnas = [];
417
- this.generalService.queryForList(new GeneralModel('ReporteColumnaDTO', null, false, {reporteFuente: this.reporteFuente.llave})).subscribe(data => {
418
- this.listaColumnas = data;
419
- })
420
- }
421
-
422
- cargarListas(){
423
- this.listaTipoCifrado = [];
424
- this.generalService.queryForList(new GeneralModel('EncripcionArchivoDTO', null, false, {})).subscribe(data => {
425
- this.listaTipoCifrado = data;
426
- })
427
- this.cargarListaColumnas();
428
- }
429
-
430
- cargarFormMarcadorExcel(){
431
- this.formMarcadorExcel = this.formBuilder.group({
432
- descripcion: new FormControl(this.reporteMarcadorExcel.descripcion, [Validators.required, Validators.maxLength(100)]),
433
- marcador: new FormControl(this.reporteMarcadorExcel.marcador, [Validators.required, Validators.maxLength(50)]),
434
- tipo: new FormControl(this.reporteMarcadorExcel.tipo, [Validators.required]),
435
- textoRegistro: new FormControl(this.reporteMarcadorExcel.textoRegistro),
436
- origen: new FormControl(this.reporteMarcadorExcel.origen),
437
- //campos bd
438
- llave: new FormControl(this.reporteMarcadorExcel.llave),
439
- reporteFuente: new FormControl(this.reporteFuente.llave),
440
- tipoReporte: new FormControl('E')
441
- })
442
- }
443
-
444
- cargarFormMarcador(){
445
- this.formMarcador = this.formBuilder.group({
446
- descripcion: new FormControl(this.reporteMarcador.descripcion, [Validators.required, Validators.maxLength(100)]),
447
- tipo: new FormControl(this.reporteMarcador.tipo, [Validators.required]),
448
- marcador: new FormControl(this.reporteMarcador.marcador, [Validators.maxLength(50)]),
449
- tabla: new FormControl(this.reporteMarcador.tabla),
450
- origen: new FormControl(this.reporteMarcador.origen),
451
- textoRegistro: new FormControl(this.reporteMarcador.textoRegistro),
452
- reporteColumna: new FormControl(this.reporteMarcador.reporteColumna),
453
- formato: new FormControl(this.reporteMarcador.formato),
454
- ancho: new FormControl(this.reporteMarcador.ancho),
455
- alto: new FormControl(this.reporteMarcador.alto),
456
- grupo1: new FormControl(this.reporteMarcador.grupo1),
457
- grupo2: new FormControl(this.reporteMarcador.grupo2),
458
- grupo3: new FormControl(this.reporteMarcador.grupo3),
459
- finalGrupo: new FormControl(this.reporteMarcador.finalGrupo),
460
- tieneSql: new FormControl(this.reporteMarcador.tieneSql),
461
- query: new FormControl(this.reporteMarcador.query),
462
- fuente: new FormControl(this.reporteMarcador.fuente),
463
- tipoGrafico: new FormControl(this.reporteMarcador.tipoGrafico),
464
- marcadorGrafico: new FormControl(this.reporteMarcador.marcadorGrafico),
465
- titulox: new FormControl(this.reporteMarcador.titulox),
466
- tituloy: new FormControl(this.reporteMarcador.tituloy),
467
- banda: new FormControl(this.reporteMarcador.banda),
468
- anchoJasperLabel: new FormControl(this.reporteMarcador.anchoJasperLabel),
469
- filtro: new FormControl(this.reporteMarcador.filtro),
470
- //campos bd
471
- llave: new FormControl(this.reporteMarcador.llave),
472
- reporteFuente: new FormControl(this.reporteFuente.llave),
473
- tipoReporte: new FormControl('N')
474
- })
475
- }
476
-
477
- cargarFormDinamico(){
478
- this.formReporteDinamico = this.formBuilder.group({
479
- tipoCampo: new FormControl(this.reporteMarcadorDinamico.tipoCampo, [Validators.required]),
480
- tipoDato: new FormControl(this.reporteMarcadorDinamico.tipoDato),
481
- filtro: new FormControl(this.reporteMarcadorDinamico.filtro),
482
- marcador: new FormControl(this.reporteMarcadorDinamico.marcador),
483
- alto: new FormControl(this.reporteMarcadorDinamico.alto, [Validators.required]),
484
- formato: new FormControl(this.reporteMarcadorDinamico.formato),
485
- descripcion: new FormControl(this.reporteMarcadorDinamico.descripcion),
486
- ancho: new FormControl(this.reporteMarcadorDinamico.ancho, [Validators.required]),
487
- anchoJasperLabel: new FormControl(this.reporteMarcadorDinamico.anchoJasperLabel),
488
- resultadoX: new FormControl(this.reporteMarcadorDinamico.resultadoX ),
489
- resultadoY: new FormControl(this.reporteMarcadorDinamico.resultadoY ),
490
- titulox: new FormControl(this.reporteMarcadorDinamico.titulox),
491
- tituloy: new FormControl(this.reporteMarcadorDinamico.tituloy),
492
- tipoReporte: new FormControl(this.reporteMarcadorDinamico.tipoReporte, [Validators.required]),
493
- tipoGrafico: new FormControl(this.reporteMarcadorDinamico.tipoGrafico),
494
- operacion: new FormControl(this.reporteMarcadorDinamico.operacion),
495
- //campos tabla
496
- origen: new FormControl('D'),
497
- banda: new FormControl(this.bandaSeleccionada.key),
498
- reporteFuente: new FormControl(this.reporteFuente.llave),
499
- llave: new FormControl(this.reporteMarcadorDinamico.llave),
500
-
501
- })
502
- }
503
-
504
- cargar(){
505
- this.existeJasper = false;
506
- if (this.llaveReporte){
507
- this.generalService.queryForObject(new GeneralModel('ReporteFuenteDTO', null, false, {llave: this.llaveReporte})).subscribe(data => {
508
- this.reporteFuente = data;
509
- this.cargarListasExcel();
510
- this.cargarListas();
511
- })
512
- }
513
- }
514
-
515
- public actualizar(){
516
- if (this.reporteFuente.llave){
517
- this.generalService.update(new GeneralModel('ReporteFuenteDTO', null, false, this.reporteFuente)).subscribe(data => {
518
- this.notificacionesBusService.showSuccess(this.generalPipe.MENSAJE_ACTUALIZAR);
519
- if (this.reporteFuente.unicoArchivo == 'N'){
520
- }
521
- });
522
- } else {
523
- this.reporteService.guardarReporte(this.reporteFuente).subscribe(data => {
524
- this.reporteFuente = data;
525
- this.notificacionesBusService.showSuccess(this.generalPipe.MENSAJE_GUARDAR);
526
- });
527
- }
528
- }
529
-
530
- obtenerArchivo(event){
531
- this.reporteFuente.archivoTodo = event.data
532
- }
533
-
534
- obtenerArchivoMarcadorExcel(event){
535
- this.reporteMarcador.textoRegistro = event.data
536
- }
537
-
538
- obtenerArchivoMarcador(event){
539
- this.reporteMarcador.textoRegistro = event.data
540
- }
541
-
542
- obtenerArchivoPlanilla(event){
543
- this.reporteFuente.archivoIndividual = event.data
544
- }
545
-
546
- obtenerArchivoSoporte(event, soporte){
547
- soporte.archivoIndividual = event.data
548
- }
549
-
550
- obtenerArchivoColumnario(event){
551
- this.reporteFuente.archivoExcelColumnario = event.data
552
- }
553
-
554
-
555
- moverAAsociado(event){
556
- this.reporteService.actualizarReporteColumnaOrden({
557
- listaAsociado: this.listaExcel,
558
- excel: true
559
- }).subscribe(data => {this.notificacionesBusService.showInfo(this.generalPipe.MENSAJE_ACTUALIZAR_VARIOS)})
560
- }
561
-
562
- moverADesasociado(event){
563
- this.reporteService.actualizarReporteColumnaOrden({
564
- listaDesasociado: this.listaNoExcel,
565
- excel: true
566
- }).subscribe(data => {this.notificacionesBusService.showInfo(this.generalPipe.MENSAJE_ACTUALIZAR_VARIOS)})
567
- }
568
-
569
- moverAAsociadoTabla(event){
570
- this.reporteService.actualizarReporteColumnaOrden({
571
- listaAsociado: this.listaTabla,
572
- excel: false
573
- }).subscribe(data => {this.notificacionesBusService.showInfo(this.generalPipe.MENSAJE_ACTUALIZAR_VARIOS)})
574
- }
575
-
576
- moverADesasociadoTabla(event){
577
- this.reporteService.actualizarReporteColumnaOrden({
578
- listaDesasociado: this.listaNoTabla,
579
- excel: false
580
- }).subscribe(data => {this.notificacionesBusService.showInfo(this.generalPipe.MENSAJE_ACTUALIZAR_VARIOS)})
581
- }
582
-
583
- reorderTabla(event){
584
- this.reporteService.actualizarReporteColumnaOrden({
585
- listaAsociado: this.listaTabla,
586
- excel: false
587
- }).subscribe(data => {this.notificacionesBusService.showInfo(this.generalPipe.MENSAJE_ACTUALIZAR_VARIOS)})
588
- }
589
-
590
- verDetalleMarcadorExcel(event){
591
- this.formMarcadorExcel.reset();
592
- this.verNuevoMarcadorExcel = true;
593
- this.reporteMarcadorExcel = event.data;
594
- this.formMarcadorExcel.patchValue(this.reporteMarcadorExcel)
595
- }
596
-
597
- nuevoMarcadorExcel(){
598
- this.formMarcadorExcel.reset();
599
- this.verNuevoMarcadorExcel = true;
600
- this.esMarcador = false;
601
- this.esImagenFija = false;
602
- this.reporteMarcadorExcel = new ReporteMarcadorModel();
603
- this.formMarcadorExcel.patchValue(this.reporteMarcadorExcel)
604
- this.formMarcadorExcel.get('tipo').setValue(null)
605
- }
606
-
607
- guardarMarcadorExcel(){
608
- this.clickGuardarMarcadorExcel = true;
609
- if (this.formMarcadorExcel.valid){
610
- let llaveRegistro = this.formMarcadorExcel.get('llave').value
611
- this.formMarcadorExcel.get('reporteFuente').setValue(this.reporteFuente.llave)
612
- this.formMarcadorExcel.get('tipoReporte').setValue('E')
613
- if (llaveRegistro){
614
- this.generalService.update(new GeneralModel('ReporteMarcadorDTO', null, false, this.formMarcadorExcel.value)).subscribe( data => {
615
- this.notificacionesBusService.showSuccess(this.generalPipe.MENSAJE_ACTUALIZAR);
616
- this.generalService.queryForList(new GeneralModel('ReporteMarcadorDTO', null, false, {tipoReporte: 'E', reporteFuente: this.reporteFuente.llave, ordenDinamico: this.generalPipe.SI})).subscribe(data => {
617
- this.listaMarcadorExcel = data;
618
- })
619
- })
620
- } else {
621
- this.formMarcadorExcel.get('llave').setValue(this.utilsService.generarLlave())
622
- this.generalService.crearRegistro(new GeneralModel('ReporteMarcadorDTO', null, false, this.formMarcadorExcel.value)).subscribe( data => {
623
- this.verNuevoMarcadorExcel = false
624
- this.notificacionesBusService.showSuccess(this.generalPipe.MENSAJE_GUARDAR);
625
- this.generalService.queryForList(new GeneralModel('ReporteMarcadorDTO', null, false, {tipoReporte: 'E', reporteFuente: this.reporteFuente.llave, ordenDinamico: this.generalPipe.SI})).subscribe(data => {
626
- this.listaMarcadorExcel = data;
627
- })
628
- })
629
- }
630
- this.clickGuardarMarcadorExcel = false;
631
- } else {
632
- this.notificacionesBusService.showError('Faltan campos obligatorios')
633
- Object.keys(this.formMarcadorExcel.controls).forEach((key) => {
634
- if (this.formMarcadorExcel.get(key).errors) {
635
- this.formMarcadorExcel.get(key).markAsDirty();
636
- }
637
- });
638
- }
639
- }
640
-
641
- eliminarMarcadorExcel(event){
642
- this.confirmationService.confirm({
643
- target: event.target,
644
- message: this.generalPipe.MENSAJE_ELIMINAR_CONFIRMAR,
645
- acceptLabel: this.generalPipe.SI_DESC,
646
- header: this.translateService.instant('confirmar'),
647
- accept: () => {
648
- this.generalService.delete(new GeneralModel('ReporteMarcadorDTO', null, false, this.reporteMarcadorExcel)).subscribe(data =>{
649
- this.formMarcadorExcel.reset();
650
- this.verNuevoMarcadorExcel = false;
651
- this.reporteMarcadorExcel = new ReporteMarcadorModel();
652
- this.notificacionesBusService.showInfo(this.generalPipe.MENSAJE_ELIMINAR)
653
- this.generalService.queryForList(new GeneralModel('ReporteMarcadorDTO', null, false, {tipoReporte: 'E', reporteFuente: this.reporteFuente.llave, ordenDinamico: this.generalPipe.SI})).subscribe(data => {
654
- this.listaMarcadorExcel = data;
655
- })
656
- })
657
- }
658
- })
659
-
660
- }
661
-
662
- //plantilla
663
-
664
- cargarListaCampoMarcador() {
665
- this.generalService.queryForList(new GeneralModel('ReporteTablaDTO', null, false, { reporteMarcador: this.reporteMarcador.llave})).subscribe(data => {
666
- this.listaCamposMarcador = data;
667
- })
668
- }
669
-
670
- async cargarListaCampoMarcadorAsync() {
671
- this.bloquearCampoMarcador = false;
672
- this.listaCamposMarcador = await this.generalService.queryForList(new GeneralModel('ReporteTablaDTO', null, false, { reporteMarcador: this.reporteMarcador.llave})).toPromise();
673
- }
674
-
675
- verDetalleMarcador(event){
676
- //this.formMarcador.reset();
677
- this.verNuevoMarcador = true;
678
- this.reporteMarcador = event.data;
679
- this.formMarcador.patchValue(this.reporteMarcador)
680
- this.formMarcador.get('tipo').setValue(this.reporteMarcador.tipo)
681
-
682
- this.cargarListaCampoMarcador();
683
- }
684
-
685
- nuevoMarcador(){
686
- //this.formMarcador.reset();
687
- this.formMarcador.reset({}, { emitEvent: false });
688
-
689
- this.verNuevoMarcador = true;
690
- this.reporteMarcador = new ReporteMarcadorModel();
691
- this.formMarcador.patchValue(this.reporteMarcador)
692
- this.formMarcador.get('tipoReporte').setValue('P')
693
- //this.formMarcador.get('tipo').setValue(null)
694
- }
695
-
696
- guardarMarcador(){
697
- if (this.formMarcador.valid){
698
- let llaveRegistro = this.formMarcador.get('llave').value
699
- this.formMarcador.get('reporteFuente').setValue(this.reporteFuente.llave)
700
- //this.formMarcador.get('tipoReporte').setValue('N')
701
- if (llaveRegistro){
702
- this.generalService.update(new GeneralModel('ReporteMarcadorDTO', null, false, this.formMarcador.value)).subscribe( data => {
703
- this.notificacionesBusService.showSuccess(this.generalPipe.MENSAJE_ACTUALIZAR);
704
- this.cargarListaMarcadores();
705
- if (this.reporteFuente.unicoArchivo == 'N'){
706
- this.cargarListaSoportes();
707
- }
708
- })
709
- } else {
710
- this.formMarcador.get('llave').setValue(this.utilsService.generarLlave())
711
- this.generalService.crearRegistro(new GeneralModel('ReporteMarcadorDTO', null, false, this.formMarcador.value)).subscribe( data => {
712
- this.verNuevoMarcador = false;
713
- this.notificacionesBusService.showSuccess(this.generalPipe.MENSAJE_GUARDAR);
714
- this.cargarListaMarcadores();
715
- if (this.reporteFuente.unicoArchivo == 'N'){
716
- this.cargarListaSoportes();
717
- }
718
- })
719
- }
720
- } else {
721
- this.notificacionesBusService.showError('Faltan campos obligatorios')
722
- Object.keys(this.formMarcador.controls).forEach((key) => {
723
- if (this.formMarcador.get(key).errors) {
724
- this.formMarcador.get(key).markAsDirty();
725
- }
726
- });
727
- }
728
- }
729
-
730
- eliminarMarcador(event){
731
- this.confirmationService.confirm({
732
- target: event.target,
733
- message: this.generalPipe.MENSAJE_ELIMINAR_CONFIRMAR,
734
- acceptLabel: this.generalPipe.SI_DESC,
735
- header: this.translateService.instant('confirmar'),
736
- accept: () => {
737
- this.generalService.delete(new GeneralModel('ReporteMarcadorDTO', null, false, this.reporteMarcador)).subscribe(data =>{
738
- this.notificacionesBusService.showInfo(this.generalPipe.MENSAJE_ELIMINAR)
739
- this.formMarcador.reset();
740
- this.verNuevoMarcador = false;
741
- this.reporteMarcador = new ReporteMarcadorModel();
742
- this.cargarListaMarcadores();
743
- })
744
- }
745
- })
746
- }
747
-
748
- eliminarCampoMarcador(event, objeto){
749
- this.confirmationService.confirm({
750
- target: event.target,
751
- message: this.generalPipe.MENSAJE_ELIMINAR_CONFIRMAR,
752
- acceptLabel: this.generalPipe.SI_DESC,
753
- header: this.translateService.instant('confirmar'),
754
- accept: () => {
755
- this.generalService.delete(new GeneralModel('ReporteTablaDTO', null, false, objeto)).subscribe(data => {
756
- this.notificacionesBusService.showInfo(this.generalPipe.MENSAJE_ELIMINAR);
757
- this.cargarListaCampoMarcador();
758
- })
759
- }
760
- })
761
- }
762
-
763
- nuevoCampoTabla(){
764
- this.verReporteMarcadorDetalle = true;
765
- this.bloquearCampoMarcador = true;
766
- this.campoMarcadorInsertar = new ReporteTablaModel();
767
- this.campoMarcadorInsertar.reporteMarcador = this.reporteMarcador.llave
768
- }
769
-
770
- validarCampoMarcador(campoMarcador){
771
- var validador: boolean = true;
772
- validador = validador && this.utilsService.validarCampoObligatorio(campoMarcador.columna)
773
- validador = validador && this.utilsService.validarCampoObligatorio(campoMarcador.campoFuente)
774
- return validador;
775
- }
776
-
777
- editarCampoMarcador() {
778
- this.bloquearCampoMarcador = true;
779
- }
780
-
781
- agregarCampoMarcador(campoMarcador){
782
- this.clickGuardarMarcadorCampo = true;
783
- if (!this.validarCampoMarcador(campoMarcador)){
784
- this.notificacionesBusService.showError('Faltan campos obligatorios');
785
- return;
786
- }
787
- campoMarcador.reporteMarcador = this.reporteMarcador.llave;
788
- if ('I' == campoMarcador.tipo){
789
- if (!campoMarcador.ancho || campoMarcador.ancho == 0){
790
- campoMarcador.ancho = 10;
791
- }
792
- if (!campoMarcador.alto || campoMarcador.alto == 0){
793
- campoMarcador.alto = 10;
794
- }
795
- }
796
- if (['G'].includes(campoMarcador.tipo)){
797
- campoMarcador.columna = 0;
798
- }
799
- if (campoMarcador.llave){
800
- this.generalService.update(new GeneralModel('ReporteTablaDTO', null, false, campoMarcador)).subscribe(data => {
801
- this.notificacionesBusService.showSuccess(this.generalPipe.MENSAJE_ACTUALIZAR);
802
- this.clickGuardarMarcadorCampo = false;
803
- campoMarcador = new ReporteTablaModel;
804
- this.bloquearCampoMarcador = false;
805
- this.cargarListaCampoMarcador();
806
- })
807
- } else {
808
- campoMarcador.llave = this.utilsService.generarLlave();
809
- this.generalService.crearRegistro(new GeneralModel('ReporteTablaDTO', null, false, campoMarcador)).subscribe(data => {
810
- this.notificacionesBusService.showSuccess(this.generalPipe.MENSAJE_GUARDAR);
811
- this.clickGuardarMarcadorCampo = false;
812
- campoMarcador = new ReporteTablaModel;
813
- this.verReporteMarcadorDetalle = false;
814
- this.campoMarcadorInsertar = new ReporteTablaModel();
815
- this.bloquearCampoMarcador = false;
816
- this.cargarListaCampoMarcador();
817
- })
818
- }
819
- }
820
-
821
- cargarListaSoportes(){
822
- this.generalService.queryForList(new GeneralModel('ReporteSoporteDTO', null, false, {reporteFuente: this.reporteFuente.llave, tipo: 'S'})).subscribe(data => {
823
- this.listaSoportes = data;
824
- })
825
- }
826
-
827
- async cargarListaSoportesAsync(){
828
- this.listaSoportes = await this.generalService.queryForList(new GeneralModel('ReporteSoporteDTO', null, false, {reporteFuente: this.reporteFuente.llave, tipo: 'S'})).toPromise()
829
- }
830
-
831
- nuevoSoporte(){
832
- this.soporteIngresar = new ReporteSoporteModel();
833
- this.verSoporteArchivoDetalle = true;
834
- this.habilitaCampo = true;
835
- }
836
-
837
- cancelarSoporte() {
838
- this.soporteIngresar = new ReporteSoporteModel();
839
- this.verSoporteArchivoDetalle = false;
840
- this.habilitaCampo = false;
841
- }
842
-
843
- validarSoporte(soporte){
844
- var validador: boolean = true;
845
- validador = validador && this.utilsService.validarCampoObligatorio(soporte.descripcion)
846
- validador = validador && this.utilsService.validarCampoObligatorio(soporte.archivoIndividual)
847
- return validador;
848
- }
849
-
850
- agregarSoporte(soporte){
851
- this.clickGuardarSoporteArchivo = true;
852
- if (!this.validarSoporte(soporte)){
853
- this.notificacionesBusService.showError('Faltan campos obligatorios')
854
- return;
855
- }
856
- if (!soporte.llaveTabla){
857
- soporte.tipo = 'S'
858
- soporte.reporteFuente = this.reporteFuente.llave
859
- this.generalService.crearRegistro(new GeneralModel('ReporteSoporteDTO', null, false, soporte)).subscribe(data => {
860
- this.notificacionesBusService.showSuccess(this.generalPipe.MENSAJE_GUARDAR);
861
- soporte = new ReporteSoporteModel;
862
- this.cargarListaSoportes();
863
- this.verSoporteArchivoDetalle = false;
864
- this.clickGuardarSoporteArchivo = false;
865
- })
866
- } else {
867
- this.generalService.update(new GeneralModel('ReporteSoporteDTO', null, false, soporte)).subscribe(data => {
868
- this.notificacionesBusService.showSuccess(this.generalPipe.MENSAJE_ACTUALIZAR);
869
- this.cargarListaSoportes();
870
- this.verSoporteArchivoDetalle = false;
871
- this.clickGuardarSoporteArchivo = false;
872
- soporte = new ReporteSoporteModel;
873
- })
874
- }
875
- this.habilitaCampo = false;
876
- }
877
-
878
- eliminarSoporte(event, soporte){
879
- this.habilitaCampo = true;
880
- this.confirmationService.confirm({
881
- target: event.target,
882
- message: this.generalPipe.MENSAJE_ELIMINAR_CONFIRMAR,
883
- acceptLabel: this.generalPipe.SI_DESC,
884
- header: this.translateService.instant('confirmar'),
885
- accept: () => {
886
- this.generalService.delete(new GeneralModel('ReporteSoporteDTO', null, false, soporte)).subscribe(data => {
887
- this.notificacionesBusService.showInfo(this.generalPipe.MENSAJE_ELIMINAR);
888
- this.cargarListaSoportes();
889
- this.habilitaCampo = false;
890
- })
891
- }
892
- })
893
- }
894
-
895
- iniciarEdicion() {
896
- this.habilitaCampo = true;
897
- }
898
-
899
- async cancelarEdicion() {
900
- this.cargarListaSoportesAsync();
901
- this.habilitaCampo = false;
902
-
903
- }
904
-
905
- //Reporte Dinamico
906
-
907
- generarJasper(){
908
- this.reporteService.generarJasper(this.reporteFuente.llave, 'compensacion/ReportesBase') .subscribe({
909
- next: (data) => {
910
- this.notificacionesBusService.showSuccess('Se ha generado el jasper exitosamente')
911
- this.validarExisteJasper();
912
- }
913
- });
914
- }
915
-
916
-
917
- descargarJasper() {
918
-
919
- let propiedad = 'ruta_plantillas';
920
- //Ruta archivo
921
- this.aplicacion = this.authService.getTokenKey('aplicacion')
922
- this.cargarArchivo.descargarArchivo(this.encriptadorArchivo.encriptar('reportes/' + this.reporteFuente.llave + '.jrxml'), propiedad, this.aplicacion).subscribe({
923
- next: blob => {
924
- const a = document.createElement('a')
925
- const objectUrl = URL.createObjectURL(blob)
926
- a.href = objectUrl
927
- a.download = this.reporteFuente.llave + '.jrxml' //documento.archivoorigen;
928
- a.click();
929
- URL.revokeObjectURL(objectUrl);
930
- }
931
- });
932
- }
933
-
934
- nuevoMarcadorDinamico(){
935
- this.reporteMarcadorDinamico = new ReporteMarcadorModel
936
- this.reporteMarcadorDinamico.origen = 'D'
937
- this.reporteMarcadorDinamico.reporteFuente = this.reporteFuente.llave
938
- this.reporteMarcadorDinamico.banda = this.bandaSeleccionada.key
939
- this.formReporteDinamico.reset();
940
- this.formReporteDinamico.patchValue(this.reporteMarcadorDinamico)
941
- this.nuevoReporteMarcadorDinamico = true
942
- }
943
-
944
- verMarcadorDinamico(event){
945
- this.reporteMarcadorDinamico = event.data;
946
- this.formReporteDinamico.patchValue(this.reporteMarcadorDinamico)
947
- this.nuevoReporteMarcadorDinamico = true;
948
- }
949
-
950
- async verBanda(event){
951
- this.verTabBanda = false;
952
- this.bandaSeleccionada = event.data;
953
- this.reporteMarcadorDinamico = new ReporteMarcadorModel;
954
- this.nuevoReporteMarcadorDinamico = false;
955
- this.nuevaBanda = false;
956
- if (['detalle','summary'].includes(this.bandaSeleccionada.key)){
957
- await this.cargarListaMarcadorDinamico();
958
- } else {
959
- this.reporteBanda = await this.generalService.queryForObject(new GeneralModel('ReporteBandaDTO', null, false, {reporteFuente: this.reporteFuente.llave, banda: this.bandaSeleccionada.key})).toPromise();
960
- if (!this.reporteBanda) {
961
- this.nuevaBanda = true;
962
- if (['detalle','summary'].includes(this.bandaSeleccionada.key)){
963
- this.nuevaBanda = false;
964
- }
965
- this.reporteBanda = new ReporteBandaModel;
966
- this.reporteBanda.totales = 'S'
967
- } else {
968
- await this.cargarListaMarcadorDinamico()
969
- }
970
- }
971
- await this.sleep(25)
972
- this.verTabBanda = true;
973
- }
974
-
975
- async cargarListaMarcadorDinamico(){
976
- this.listaMarcadorDinamico = await this.generalService.queryForList(new GeneralModel('ReporteMarcadorDTO', null, false, {
977
- reporteFuente: this.reporteFuente.llave,
978
- banda: this.bandaSeleccionada.key,
979
- ordenDinamico: 'S',
980
- origen: 'D'
981
- })).toPromise();
982
- }
983
-
984
- async guardarCaracteristicaBanda(){
985
- if(this.nuevaBanda) {
986
- this.reporteBanda.reporteFuente = this.reporteFuente.llave;
987
- this.reporteBanda.banda = this.bandaSeleccionada.key;
988
- this.reporteBanda = await this.generalService.crearRegistro(new GeneralModel('ReporteBandaDTO', null, false, this.reporteBanda)).toPromise();
989
- }else {
990
- await this.generalService.update(new GeneralModel('ReporteBandaDTO', null, false, this.reporteBanda)).toPromise();
991
- }
992
- await this.sleep(25)
993
- this.nuevaBanda=false;
994
- this.notificacionesBusService.showInfo("Se actualizaron las caracteristicas de "+this.bandaSeleccionada.value);
995
- }
996
-
997
- async guardarColumnaDinamico(){
998
- if (!this.formReporteDinamico.valid) {
999
- this.notificacionesBusService.showError('Faltan campos obligatorios');
1000
- Object.keys(this.formReporteDinamico.controls).forEach((key) => {
1001
- if (this.formReporteDinamico.get(key).errors) {
1002
- this.formReporteDinamico.get(key).markAsDirty();
1003
- }
1004
- });
1005
- return;
1006
- }
1007
- this.reporteMarcadorDinamico = this.formReporteDinamico.value;
1008
- if(this.utilsService.isBlank(this.reporteMarcadorDinamico.llave)){
1009
- this.reporteMarcadorDinamico.llave = this.utilsService.generarLlave();
1010
- this.reporteMarcadorDinamico.origen = 'D';
1011
- if(this.reporteMarcadorDinamico.tipoCampo == 'C'){
1012
- this.reporteMarcadorDinamico.marcador = this.reporteMarcadorDinamico.filtro;
1013
- this.reporteMarcadorDinamico.reporteColumna = null;
1014
- }else{
1015
- var columna = new ReporteColumnaModel();
1016
- columna.llaveTabla = this.reporteMarcadorDinamico.marcador;
1017
- columna = await this.generalService.queryForObject(new GeneralModel('ReporteColumnaDTO', null, false, columna)).toPromise();
1018
-
1019
- this.reporteMarcadorDinamico.marcador = columna.nombre;
1020
- this.reporteMarcadorDinamico.reporteColumna = columna.llaveTabla;
1021
- this.reporteMarcadorDinamico.filtro = columna.sintaxis;
1022
- this.reporteMarcadorDinamico.tipoDato = columna.tipoDato;
1023
- }
1024
- await this.generalService.crearRegistro(new GeneralModel('ReporteMarcadorDTO', null, false, this.reporteMarcadorDinamico)).toPromise();
1025
- }else{
1026
- if(this.reporteMarcadorDinamico.tipoCampo == 'C'){
1027
- this.reporteMarcadorDinamico.marcador = this.reporteMarcadorDinamico.filtro;
1028
- }
1029
- await this.generalService.update(new GeneralModel('ReporteMarcadorDTO', null, false, this.reporteMarcadorDinamico)).toPromise();
1030
- }
1031
- this.reporteMarcadorDinamico = null;
1032
- this.nuevoReporteMarcadorDinamico = false;
1033
- await this.cargarListaMarcadorDinamico()
1034
- this.notificacionesBusService.showInfo('Se ha guardado el cambio');
1035
- }
1036
-
1037
- regresarBandaSeleccionada(){
1038
- this.bandaSeleccionada = {key: null, value: null}
1039
- }
1040
-
1041
- async eliminarColumnaDinamico(event) {
1042
- this.confirmationService.confirm({
1043
- target: event.target,
1044
- message: this.generalPipe.MENSAJE_ELIMINAR_CONFIRMAR,
1045
- acceptLabel: this.generalPipe.SI_DESC,
1046
- header: this.translateService.instant('confirmar'),
1047
- accept: async () => {
1048
- await this.generalService.delete(new GeneralModel('ReporteMarcadorDTO', null, false, this.reporteMarcadorDinamico )).toPromise();
1049
- this.notificacionesBusService.showInfo(this.generalPipe.MENSAJE_ELIMINAR)
1050
- this.reporteMarcadorDinamico = new ReporteMarcadorModel()
1051
- this.nuevoReporteMarcadorDinamico = false;
1052
- await this.cargarListaMarcadorDinamico()
1053
- }
1054
- })
1055
- }
1056
-
1057
- validarSeparador(){
1058
- var validador: boolean = true;
1059
- validador = validador && this.utilsService.validarCampoObligatorio(this.reporteFuente.separador);
1060
- return validador;
1061
- }
1062
-
1063
- actualizarSeparador(){
1064
- this.clickGuardarReporteTexto = true;
1065
- if (!this.validarSeparador()){
1066
- this.notificacionesBusService.showError('Faltan campos obligatorios')
1067
- return;
1068
- }
1069
- this.actualizar();
1070
- }
1071
-
1072
- cargarListaMarcadoresTexto(){
1073
- this.generalService.queryForList(new GeneralModel('ReporteMarcadorDTO', null, false, {
1074
- tipoReporte: this.reporteFuentePipe.REPORTEARCHIVOPLANO,
1075
- reporteFuente: this.reporteFuente.llave,
1076
- ordenDinamico: this.generalPipe.SI
1077
- })).subscribe(data => {
1078
- this.listaMarcadoresTexto = data;
1079
- })
1080
- }
1081
-
1082
- verMarcadorTexto(event){
1083
- this.verNuevoMarcadorTexto = true;
1084
- this.marcadorTexto = event.data;
1085
- }
1086
-
1087
- nuevoMarcadorTexto(){
1088
- this.verNuevoMarcadorTexto = true;
1089
- this.marcadorTexto = new ReporteMarcadorModel();
1090
- this.marcadorTexto.tipoReporte = this.reporteFuentePipe.REPORTEARCHIVOPLANO;
1091
- }
1092
-
1093
- validarMarcadorTexto() : boolean{
1094
- var validador: boolean = true;
1095
- validador = validador && this.utilsService.validarCampoObligatorio(this.marcadorTexto.tipoGrafico);
1096
- validador = validador && this.utilsService.validarCampoObligatorio(this.marcadorTexto.alto);
1097
- if (this.reporteFuentePipe.MARCADORTEXTOFIJO == this.marcadorTexto.tipoGrafico){
1098
- validador = validador && this.utilsService.validarCampoObligatorio(this.marcadorTexto.formato);
1099
- }
1100
- if (this.reporteFuentePipe.MARCADORTEXTODINAMICO == this.marcadorTexto.tipoGrafico){
1101
- validador = validador && this.utilsService.validarCampoObligatorio(this.marcadorTexto.ancho);
1102
- validador = validador && this.utilsService.validarCampoObligatorio(this.marcadorTexto.reporteColumna);
1103
- }
1104
- return validador;
1105
- }
1106
-
1107
- async guardarMarcadorTexto(){
1108
- this.clickGuardarMarcadorTexto = true;
1109
- if (!this.validarMarcadorTexto()) {
1110
- this.notificacionesBusService.showError('Faltan campos obligatorios');
1111
- return;
1112
- }
1113
- this.clickGuardarMarcadorTexto = false;
1114
- this.marcadorTexto.reporteFuente = this.reporteFuente.llave;
1115
- if (this.marcadorTexto.llave){
1116
- await this.generalService.update(new GeneralModel('ReporteMarcadorDTO', null, false, this.marcadorTexto)).toPromise();
1117
- this.notificacionesBusService.showInfo(this.generalPipe.MENSAJE_ACTUALIZAR);
1118
- } else {
1119
- this.marcadorTexto.llave = this.utilsService.generarLlave();
1120
- await this.generalService.crearRegistro(new GeneralModel('ReporteMarcadorDTO', null, false, this.marcadorTexto)).toPromise();
1121
- this.notificacionesBusService.showInfo(this.generalPipe.MENSAJE_GUARDAR);
1122
- }
1123
- this.cargarListaMarcadoresTexto();
1124
- this.verNuevoMarcadorTexto = false;
1125
- }
1126
-
1127
- eliminarMarcadoTexto(event){
1128
- this.confirmationService.confirm({
1129
- target: event.target,
1130
- message: this.generalPipe.MENSAJE_ELIMINAR_CONFIRMAR,
1131
- acceptLabel: this.generalPipe.SI_DESC,
1132
- header: this.translateService.instant('confirmar'),
1133
- accept: async () => {
1134
- await this.generalService.delete(new GeneralModel('ReporteMarcadorDTO', null, false, this.marcadorTexto)).toPromise();
1135
- this.verNuevoMarcadorTexto = false;
1136
- this.marcadorTexto = new ReporteMarcadorModel();
1137
- this.cargarListaMarcadoresTexto();
1138
- this.notificacionesBusService.showInfo(this.generalPipe.MENSAJE_ELIMINAR)
1139
- }
1140
- })
1141
- }
1142
-
1143
- cargarListaXML(){
1144
- this.generalService.queryForList(new GeneralModel('ReporteMarcadorDTO', null, false, {
1145
- tipoReporte: 'X',
1146
- origen: 'X',
1147
- reporteFuente: this.reporteFuente.llave,
1148
- ordenDinamico: this.generalPipe.SI
1149
- })).subscribe(data => {
1150
- this.listaXML = data;
1151
- })
1152
- }
1153
-
1154
- nuevoMarcadorXML(){
1155
- this.marcadorXML = new ReporteMarcadorModel();
1156
- this.marcadorXML.tipoReporte = 'X';
1157
- this.marcadorXML.origen = 'X';
1158
- this.verNuevoMarcadorXML = true;
1159
- }
1160
-
1161
- verMarcadorXML(event){
1162
- this.marcadorXML = event.data;
1163
- this.verNuevoMarcadorXML = true;
1164
- if (this.marcadorXML.tipo == 'MR' || this.marcadorXML.tipo == 'TB'){
1165
- this.cargarListaCampoMarcadorXML();
1166
- }
1167
- }
1168
-
1169
- validarMarcadorXML(){
1170
- var validador: boolean = true;
1171
- validador = validador && this.utilsService.validarCampoObligatorio(this.marcadorXML.descripcion);
1172
- validador = validador && this.utilsService.validarCampoObligatorio(this.marcadorXML.tipo);
1173
- return validador
1174
- }
1175
-
1176
- guardarMarcadorXML(){
1177
- this.clickGuardarMarcadorXML = true;
1178
- if (!this.validarMarcadorXML()){
1179
- this.notificacionesBusService.showError('Faltan campos obligatorios');
1180
- return;
1181
- }
1182
- this.marcadorXML.reporteFuente = this.reporteFuente.llave;
1183
- if (this.marcadorXML.llave){
1184
- this.generalService.update(new GeneralModel('ReporteMarcadorDTO', null, false, this.marcadorXML)).subscribe(data => {
1185
- this.notificacionesBusService.showInfo(this.generalPipe.MENSAJE_ACTUALIZAR);
1186
- this.marcadorXML = new ReporteMarcadorModel();
1187
- this.verNuevoMarcadorXML = false;
1188
- this.cargarListaXML();
1189
- })
1190
- } else {
1191
- this.marcadorXML.llave = this.utilsService.generarLlave();
1192
- this.generalService.crearRegistro(new GeneralModel('ReporteMarcadorDTO', null, false, this.marcadorXML)).subscribe(data => {
1193
- this.notificacionesBusService.showInfo(this.generalPipe.MENSAJE_GUARDAR);
1194
- this.marcadorXML = new ReporteMarcadorModel();
1195
- this.verNuevoMarcadorXML = false;
1196
- this.cargarListaXML();
1197
- })
1198
- }
1199
- this.clickGuardarMarcadorXML = false;
1200
- }
1201
-
1202
- eliminarMarcadorXML(event){
1203
- this.confirmationService.confirm({
1204
- target: event.target,
1205
- message: this.generalPipe.MENSAJE_ELIMINAR_CONFIRMAR,
1206
- acceptLabel: this.generalPipe.SI_DESC,
1207
- header: this.translateService.instant('confirmar'),
1208
- accept: async () => {
1209
- await this.generalService.delete(new GeneralModel('ReporteMarcadorDTO', null, false, this.marcadorXML)).toPromise();
1210
- this.notificacionesBusService.showInfo(this.generalPipe.MENSAJE_ELIMINAR);
1211
- this.marcadorXML = new ReporteMarcadorModel();
1212
- this.verNuevoMarcadorXML = false;
1213
- this.cargarListaXML();
1214
- }
1215
- })
1216
- }
1217
-
1218
- nuevoCampoTablaXML(){
1219
- this.verReporteMarcadorDetalleXML = true;
1220
- this.campoMarcadorInsertarXML = new ReporteTablaModel();
1221
- this.campoMarcadorInsertarXML.reporteMarcador = this.marcadorXML.llave
1222
- this.habilitaCampo = true;
1223
- }
1224
-
1225
- cargarListaCampoMarcadorXML() {
1226
- this.generalService.queryForList(new GeneralModel('ReporteTablaDTO', null, false, { reporteMarcador: this.marcadorXML.llave})).subscribe(data => {
1227
- this.listaCamposMarcadorXML = data;
1228
- })
1229
- }
1230
-
1231
- async cargarListaCampoMarcadorXMLAsync() {
1232
- this.habilitaCampo = false;
1233
- this.listaCamposMarcadorXML = await this.generalService.queryForList(new GeneralModel('ReporteTablaDTO', null, false, { reporteMarcador: this.marcadorXML.llave})).toPromise();
1234
- }
1235
-
1236
- validarCampoMarcadorXML(campoMarcador){
1237
- var validador: boolean = true;
1238
- validador = validador && this.utilsService.validarCampoObligatorio(campoMarcador.campoFuente);
1239
- validador = validador && this.utilsService.validarCampoObligatorio(campoMarcador.marcador);
1240
- return validador;
1241
- }
1242
-
1243
- agregarCampoMarcadorXML(campo: ReporteTablaModel){
1244
- this.clickGuardarMarcadorCampoXML = true;
1245
- if (!this.validarCampoMarcadorXML(campo)){
1246
- this.notificacionesBusService.showError('Faltan campos obligatorios')
1247
- return;
1248
- }
1249
- if (campo.llave){
1250
- this.generalService.update(new GeneralModel('ReporteTablaDTO', null, false, campo)).subscribe(data => {
1251
- this.notificacionesBusService.showInfo(this.generalPipe.MENSAJE_ACTUALIZAR);
1252
- this.campoMarcadorInsertarXML = new ReporteTablaModel();
1253
- this.habilitaCampo = false;
1254
- this.cargarListaCampoMarcadorXML();
1255
- })
1256
- } else {
1257
- campo.columna = 0;
1258
- campo.llave = this.utilsService.generarLlave();
1259
- this.generalService.crearRegistro(new GeneralModel('ReporteTablaDTO', null, false, campo)).subscribe(data => {
1260
- this.notificacionesBusService.showInfo(this.generalPipe.MENSAJE_GUARDAR);
1261
- campo = new ReporteTablaModel();
1262
- this.habilitaCampo = false;
1263
- this.cargarListaCampoMarcadorXML();
1264
- })
1265
- }
1266
- this.clickGuardarMarcadorCampoXML = false;
1267
- this.verReporteMarcadorDetalleXML = false;
1268
- }
1269
-
1270
- eliminarCampoMarcadorXML(event, objeto){
1271
- this.confirmationService.confirm({
1272
- target: event.target,
1273
- message: this.generalPipe.MENSAJE_ELIMINAR_CONFIRMAR,
1274
- acceptLabel: this.generalPipe.SI_DESC,
1275
- header: this.translateService.instant('confirmar'),
1276
- accept: () => {
1277
- this.generalService.delete(new GeneralModel('ReporteTablaDTO', null, false, objeto)).subscribe(data => {
1278
- this.notificacionesBusService.showInfo(this.generalPipe.MENSAJE_ELIMINAR);
1279
- this.cargarListaCampoMarcadorXML();
1280
- })
1281
- }
1282
- })
1283
- }
1284
-
1285
- cambiarTabColumnario(event){
1286
- switch (event.index) {
1287
- case 0:
1288
- this.cargarReporteColumnario();
1289
- break;
1290
- case 1:
1291
- this.cargarDatosAdicionales();
1292
- break;
1293
- case 2:
1294
- this.cargarMarcadoresColumnario();
1295
- break;
1296
- }
1297
- }
1298
-
1299
- cargarMarcadoresColumnario() {
1300
- this.generalService.queryForList(new GeneralModel('ReporteColumnarioMarcadorDTO', null, false, {reporteFuente: this.reporteFuente.llave})).subscribe(data => {
1301
- this.marcadoresColumnario = data;
1302
- })
1303
- }
1304
-
1305
-
1306
- cargarDatosAdicionales() {
1307
- this.generalService.queryForList(new GeneralModel('ReporteColumnarioDTO', null, false, {reporteFuente: this.reporteFuente.llave, filtroColumnaBasica: 'N'})).subscribe(data => {
1308
- this.columnasAdicionales = data;
1309
- })
1310
- }
1311
-
1312
- cargarReporteColumnario(){
1313
- this.generalService.queryForList(new GeneralModel('ReporteColumnarioDTO', null, false, {reporteFuente: this.reporteFuente.llave, filtroColumnaBasica: 'S'})).subscribe(data => {
1314
- this.listaReporteColumnario = data;
1315
- })
1316
- }
1317
-
1318
- cargarGraficasColumnas() {
1319
- this.generalService.queryForList(new GeneralModel('ReporteColumnaDTO', null, false, {reporteFuente: this.reporteFuente.llave})).subscribe(data => {
1320
- this.paginadorColumnas = data;
1321
- })
1322
- this.generalService.queryForList(new GeneralModel('ReporteBandaDTO', null, false, {reporteFuente: this.reporteFuente.llave, totales: 'C'})).subscribe(data => {
1323
- this.paginadorColoresGrafica = data;
1324
- })
1325
- }
1326
-
1327
- validarExisteJasper(){
1328
- this.cargarArchivo.descargarArchivo(this.encriptadorArchivo.encriptar('reportes/' + this.reporteFuente.llave + '.jrxml'), 'ruta_plantillas', this.aplicacion).subscribe(
1329
- (response) => {
1330
- this.existeJasper = true;
1331
- },
1332
- (error) => {
1333
- this.existeJasper = false;
1334
- }
1335
- )
1336
- }
1337
-
1338
- verReporteColumnario(event){
1339
- this.columnaBasica = event.data;
1340
- this.verNuevoReporteColumnario = true;
1341
- }
1342
-
1343
- nuevoColumnaBasica(){
1344
- this.columnaBasica = new ReporteColumnarioModel();
1345
- this.columnaBasica.reporteFuente = this.reporteFuente.llave;
1346
- this.verNuevoReporteColumnario = true;
1347
- }
1348
-
1349
- validarColumnaBasica(){
1350
- var validador: boolean = true;
1351
- validador = validador && this.utilsService.validarCampoObligatorio(this.columnaBasica.nombre);
1352
- validador = validador && this.utilsService.validarCampoObligatorio(this.columnaBasica.tipo);
1353
- validador = validador && this.utilsService.validarCampoObligatorio(this.columnaBasica.reporteColumna);
1354
- if (validador){
1355
- if (this.isMostrarOrden()){
1356
- validador = validador && this.utilsService.validarCampoObligatorio(this.columnaBasica.orden);
1357
- }
1358
- if (this.isMostrarOrdenConsulta()){
1359
- validador = validador && this.utilsService.validarCampoObligatorio(this.columnaBasica.ordenConsulta);
1360
- }
1361
- if (this.reporteColumnarioPipe.TIPO_CELDA == this.columnaBasica.tipo) {
1362
- validador = validador && this.utilsService.validarCampoObligatorio(this.columnaBasica.operacion);
1363
- } else if (this.reporteColumnarioPipe.TIPO_COLUMNA== this.columnaBasica.tipo) {
1364
- validador = validador && this.utilsService.validarCampoObligatorio(this.columnaBasica.operacionHorizontal);
1365
- validador = validador && this.utilsService.validarCampoObligatorio(this.columnaBasica.operacionVertical);
1366
- validador = validador && this.utilsService.validarCampoObligatorio(this.columnaBasica.columnaOperacionVertical);
1367
- } else if (this.reporteColumnarioPipe.TIPO_LABEL == this.columnaBasica.tipo) {
1368
- validador = validador && this.utilsService.validarCampoObligatorio(this.columnaBasica.orderBy);
1369
- }
1370
- }
1371
- return validador;
1372
- }
1373
-
1374
- async verificarColumnasValidas(reporteColumnarioDTO): Promise<boolean> {
1375
- var tipo=reporteColumnarioDTO.tipo;
1376
- if(this.reporteColumnarioPipe.TIPO_FILA == reporteColumnarioDTO.tipo){
1377
- return true;
1378
- }
1379
- var filtro=new ReporteColumnarioModel();
1380
- filtro.reporteFuente = reporteColumnarioDTO.reporteFuente;
1381
- filtro.diferenteColumnario = reporteColumnarioDTO.llaveTabla;
1382
- filtro.tipo = tipo;
1383
- var cantidad= await this.generalService.cantidadRegistros(new GeneralModel('ReporteColumnarioDTO', null, false, filtro)).toPromise();
1384
- if(cantidad==0){
1385
- return true;
1386
- }
1387
- if(this.reporteColumnarioPipe.TIPO_COLUMNA == reporteColumnarioDTO.tipo){
1388
- this.notificacionesBusService.showWarning("El reporte solo puede contener 1 registro con tipo "+this.reporteColumnarioPipe.TIPO_COLUMNA_DESC);
1389
- return false;
1390
- }else if(this.reporteColumnarioPipe.TIPO_CELDA == reporteColumnarioDTO.tipo){
1391
- this.notificacionesBusService.showWarning("El reporte solo puede contener 1 registro con tipo "+this.reporteColumnarioPipe.TIPO_CELDA_DESC);
1392
- return false;
1393
- }
1394
- return true;
1395
- }
1396
-
1397
- async guardarColumnaBasica(){
1398
- this.clickGuardarReporteColumnario = true;
1399
- if (!this.validarColumnaBasica()){
1400
- this.notificacionesBusService.showError('Faltan campos obligatorios');
1401
- return;
1402
- }
1403
-
1404
- if (await this.verificarColumnasValidas(this.columnaBasica)){
1405
- if (this.columnaBasica.llaveTabla) {
1406
- await this.generalService.update(new GeneralModel('ReporteColumnarioDTO', null, false, this.columnaBasica)).toPromise();
1407
- this.columnaBasica = new ReporteColumnarioModel();
1408
- this.verNuevoReporteColumnario = false;
1409
- this.notificacionesBusService.showInfo(this.generalPipe.MENSAJE_ACTUALIZAR);
1410
- } else {
1411
- await this.generalService.crearRegistro(new GeneralModel('ReporteColumnarioDTO', null, false, this.columnaBasica)).toPromise();
1412
- this.columnaBasica = new ReporteColumnarioModel();
1413
- this.verNuevoReporteColumnario = false;
1414
- this.notificacionesBusService.showInfo(this.generalPipe.MENSAJE_GUARDAR);
1415
- }
1416
- this.clickGuardarReporteColumnario = false;
1417
- this.cargarReporteColumnario();
1418
- }
1419
- }
1420
-
1421
- eliminarColumnaBasica(event){
1422
- this.confirmationService.confirm({
1423
- target: event.target,
1424
- message: this.generalPipe.MENSAJE_ELIMINAR_CONFIRMAR,
1425
- acceptLabel: this.generalPipe.SI_DESC,
1426
- header: this.translateService.instant('confirmar'),
1427
- accept: () => {
1428
- this.generalService.delete(new GeneralModel('ReporteColumnarioDTO', null, false, this.columnaBasica)).subscribe(data => {
1429
- this.notificacionesBusService.showInfo(this.generalPipe.MENSAJE_ELIMINAR);
1430
- this.verNuevoReporteColumnario = false;
1431
- this.columnaBasica = new ReporteColumnarioModel();
1432
- this.cargarReporteColumnario();
1433
- })
1434
-
1435
- }
1436
- })
1437
- }
1438
-
1439
- nuevaColumnaAdicional() {
1440
- this.columnaAdicional = new ReporteColumnarioModel();
1441
- this.columnaAdicional.reporteFuente = this.reporteFuente.llave;
1442
- this.columnaAdicional.tipo = this.reporteColumnarioPipe.TIPO_ADICIONAL;
1443
- this.verNuevoColumnaAdicional = true;
1444
- }
1445
-
1446
- verDetalleAdicional(event) {
1447
- this.columnaAdicional = event.data;
1448
- this.verNuevoColumnaAdicional = true;
1449
- }
1450
-
1451
- validarColumnaAdicional() {
1452
- var validador: boolean = true;
1453
- validador = validador && this.utilsService.validarCampoObligatorio(this.columnaAdicional.nombre);
1454
- validador = validador && this.utilsService.validarCampoObligatorio(this.columnaAdicional.sintaxis);
1455
- validador = validador && this.utilsService.validarCampoObligatorio(this.columnaAdicional.orden);
1456
- validador = validador && this.utilsService.validarCampoObligatorio(this.columnaAdicional.orderBy);
1457
- validador = validador && this.utilsService.validarCampoObligatorio(this.columnaAdicional.ordenConsulta);
1458
- return validador;
1459
- }
1460
-
1461
- async guardarColumnaAdicional() {
1462
- this.clickGuardarColumnaAdicional = true;
1463
- if (!this.validarColumnaAdicional()){
1464
- this.notificacionesBusService.showError('Faltan campos obligatorios');
1465
- return;
1466
- }
1467
- if (this.columnaAdicional.llaveTabla) {
1468
- await this.generalService.update(new GeneralModel('ReporteColumnarioDTO', null, false, this.columnaAdicional)).toPromise();
1469
- this.columnaAdicional = new ReporteColumnarioModel();
1470
- this.verNuevoColumnaAdicional = false;
1471
- this.notificacionesBusService.showInfo(this.generalPipe.MENSAJE_ACTUALIZAR);
1472
- } else {
1473
- await this.generalService.crearRegistro(new GeneralModel('ReporteColumnarioDTO', null, false, this.columnaAdicional)).toPromise();
1474
- this.columnaAdicional = new ReporteColumnarioModel();
1475
- this.verNuevoColumnaAdicional = false;
1476
- this.notificacionesBusService.showInfo(this.generalPipe.MENSAJE_GUARDAR);
1477
- }
1478
- this.clickGuardarColumnaAdicional = false;
1479
- this.cargarDatosAdicionales();
1480
- }
1481
-
1482
- eliminarColumnaAdicional(event) {
1483
- this.confirmationService.confirm({
1484
- target: event.target,
1485
- message: this.generalPipe.MENSAJE_ELIMINAR_CONFIRMAR,
1486
- acceptLabel: this.generalPipe.SI_DESC,
1487
- header: this.translateService.instant('confirmar'),
1488
- accept: () => {
1489
- this.generalService.delete(new GeneralModel('ReporteColumnarioDTO', null, false, this.columnaAdicional)).subscribe(data => {
1490
- this.notificacionesBusService.showInfo(this.generalPipe.MENSAJE_ELIMINAR);
1491
- this.verNuevoColumnaAdicional = false;
1492
- this.columnaAdicional = new ReporteColumnarioModel();
1493
- this.cargarDatosAdicionales();
1494
- })
1495
- }
1496
- })
1497
- }
1498
-
1499
- nuevoMarcadorColumnario() {
1500
- this.marcadorColumnario = new ReporteColumnarioMarcadorModel();
1501
- this.marcadorColumnario.reporteFuente = this.reporteFuente.llave;
1502
- this.verNuevoMarcadorColumnario = true;
1503
- }
1504
-
1505
- verDetalleMarcadorColumnario(event) {
1506
- this.marcadorColumnario = event.data;
1507
- this.verNuevoMarcadorColumnario = true;
1508
- }
1509
-
1510
- validarMarcadorColumnario() {
1511
- var validador: boolean = true;
1512
- validador = validador && this.utilsService.validarCampoObligatorio(this.marcadorColumnario.marcador);
1513
- validador = validador && this.utilsService.validarCampoObligatorio(this.marcadorColumnario.tipo);
1514
- validador = validador && this.utilsService.validarCampoObligatorio(this.marcadorColumnario.textoRegistro);
1515
- validador = validador && this.utilsService.validarCampoObligatorio(this.marcadorColumnario.descripcion);
1516
- return validador;
1517
- }
1518
-
1519
- async guardarMarcadorColumnario() {
1520
- this.clickGuardarMarcadorColumnario = true;
1521
- if (!this.validarMarcadorColumnario()){
1522
- this.notificacionesBusService.showError('Faltan campos obligatorios');
1523
- return;
1524
- }
1525
- if (this.marcadorColumnario.llaveTabla) {
1526
- await this.generalService.update(new GeneralModel('ReporteColumnarioMarcadorDTO', null, false, this.marcadorColumnario)).toPromise();
1527
- this.marcadorColumnario = new ReporteColumnarioMarcadorModel();
1528
- this.verNuevoMarcadorColumnario = false;
1529
- this.notificacionesBusService.showInfo(this.generalPipe.MENSAJE_ACTUALIZAR);
1530
- } else {
1531
- await this.generalService.crearRegistro(new GeneralModel('ReporteColumnarioMarcadorDTO', null, false, this.marcadorColumnario)).toPromise();
1532
- this.marcadorColumnario = new ReporteColumnarioMarcadorModel();
1533
- this.verNuevoMarcadorColumnario = false;
1534
- this.notificacionesBusService.showInfo(this.generalPipe.MENSAJE_GUARDAR);
1535
- }
1536
- this.clickGuardarMarcadorColumnario = false;
1537
- this.cargarMarcadoresColumnario();
1538
- }
1539
-
1540
- eliminarMarcadorColumnario(event) {
1541
- this.confirmationService.confirm({
1542
- target: event.target,
1543
- message: this.generalPipe.MENSAJE_ELIMINAR_CONFIRMAR,
1544
- acceptLabel: this.generalPipe.SI_DESC,
1545
- header: this.translateService.instant('confirmar'),
1546
- accept: () => {
1547
- this.generalService.delete(new GeneralModel('ReporteColumnarioMarcadorDTO', null, false, this.marcadorColumnario)).subscribe(data => {
1548
- this.notificacionesBusService.showInfo(this.generalPipe.MENSAJE_ELIMINAR);
1549
- this.verNuevoMarcadorColumnario = false;
1550
- this.marcadorColumnario = new ReporteColumnarioMarcadorModel();
1551
- this.cargarMarcadoresColumnario();
1552
- })
1553
- }
1554
- })
1555
- }
1556
-
1557
- public guardarGrafico() {
1558
- this.actualizar();
1559
- this.paginadorColumnas.forEach(data => {
1560
- this.generalService.update(new GeneralModel('ReporteColumnaDTO', null, false, data)).subscribe(data => {})
1561
- });
1562
- }
1563
-
1564
- public verGrafico() {
1565
- this.reporteService.verGrafico({llaveReporte: this.reporteFuente.llave}).subscribe(data => {
1566
- let columna = this.dashboardService.cargarGrafica({accion: data.tipoGrafico, datosGrafica: data});
1567
- this.grafica = columna;
1568
- let respuesta = this.dashboardPipe.TIPO_GRAFICO_CHART.filter(data => data.codigo == columna.datosGrafica.tipoGrafico);
1569
- if (respuesta.length < 0) {
1570
- return;
1571
- }
1572
- columna.tipoGrafico = respuesta[0].codigoChart;
1573
- this.tipoGrafica = columna.tipoGrafico;
1574
- console.log(this.tipoGrafica)
1575
- })
1576
- }
1577
-
1578
- nuevoColorCategoria(){
1579
- this.colorCategoria = new ReporteBandaModel();
1580
- this.colorCategoria.banda = '#FFFFFF';
1581
- this.verColorCategoriaDetalle = true;
1582
- this.habilitaCampo = true;
1583
- }
1584
-
1585
- cancelarColorCategoria() {
1586
- this.colorCategoria = new ReporteBandaModel();
1587
- this.verColorCategoriaDetalle = false;
1588
- this.habilitaCampo = false;
1589
- }
1590
-
1591
- validarColorCategoria(color){
1592
- var validador: boolean = true;
1593
- validador = validador && this.utilsService.validarCampoObligatorio(color.titulo)
1594
- validador = validador && this.utilsService.validarCampoObligatorio(color.banda)
1595
- return validador;
1596
- }
1597
-
1598
- agregarColorCategoria(color){
1599
- this.clickGuardarColorCategoria = true;
1600
- if (!this.validarColorCategoria(color)){
1601
- this.notificacionesBusService.showError('Faltan campos obligatorios')
1602
- return;
1603
- }
1604
- if (!color.llaveTabla){
1605
- color.totales = 'C'
1606
- color.reporteFuente = this.reporteFuente.llave
1607
- this.generalService.crearRegistro(new GeneralModel('ReporteBandaDTO', null, false, color)).subscribe(data => {
1608
- this.notificacionesBusService.showSuccess(this.generalPipe.MENSAJE_GUARDAR);
1609
- color = new ReporteBandaModel();
1610
- this.cargarGraficasColumnas();
1611
- this.verColorCategoriaDetalle = false;
1612
- this.clickGuardarColorCategoria = false;
1613
- })
1614
- } else {
1615
- this.generalService.update(new GeneralModel('ReporteBandaDTO', null, false, color)).subscribe(data => {
1616
- this.notificacionesBusService.showSuccess(this.generalPipe.MENSAJE_ACTUALIZAR);
1617
- this.cargarGraficasColumnas();
1618
- this.verColorCategoriaDetalle = false;
1619
- this.clickGuardarColorCategoria = false;
1620
- color = new ReporteBandaModel();
1621
- })
1622
- }
1623
- this.habilitaCampo = false;
1624
- }
1625
-
1626
- eliminarColorCategoria(event, color){
1627
- this.habilitaCampo = true;
1628
- this.confirmationService.confirm({
1629
- target: event.target,
1630
- message: this.generalPipe.MENSAJE_ELIMINAR_CONFIRMAR,
1631
- acceptLabel: this.generalPipe.SI_DESC,
1632
- header: this.translateService.instant('confirmar'),
1633
- accept: () => {
1634
- this.generalService.delete(new GeneralModel('ReporteBandaDTO', null, false, color)).subscribe(data => {
1635
- this.notificacionesBusService.showInfo(this.generalPipe.MENSAJE_ELIMINAR);
1636
- this.cargarGraficasColumnas();
1637
- this.habilitaCampo = false;
1638
- })
1639
- }
1640
- })
1641
- }
1642
-
1643
- async cancelarEdicionColor() {
1644
- this.cargarGraficasColumnas();
1645
- this.habilitaCampo = false;
1646
- }
1647
-
1648
- public isFijo():boolean{
1649
- return this.filtroOrigenFuente(this.reporteFuentePipe.FIJO);
1650
- }
1651
-
1652
- public isSql():boolean{
1653
- return this.filtroOrigenFuente(this.reporteFuentePipe.SQL);
1654
- }
1655
-
1656
- /**
1657
- * Permite conocer si se debe presentar en la interfaz los campos referentes a orden consulta
1658
- * @return Si se debe mostrar se retornara true, de lo contrario false
1659
- */
1660
- isMostrarOrdenConsulta(){
1661
- return this.reporteColumnarioPipe.TIPO_FILA == this.columnaBasica.tipo;
1662
- }
1663
-
1664
-
1665
- isMostrarOrden(){
1666
- return this.reporteColumnarioPipe.TIPO_FILA == this.columnaBasica.tipo||
1667
- this.reporteColumnarioPipe.TIPO_COLUMNA == this.columnaBasica.tipo||this.reporteColumnarioPipe.TIPO_LABEL == this.columnaBasica.tipo;
1668
- }
1669
-
1670
- isTipoColumna(){
1671
- return this.reporteColumnarioPipe.TIPO_COLUMNA == this.columnaBasica.tipo;
1672
- }
1673
-
1674
-
1675
- isTipoFila(){
1676
- return this.reporteColumnarioPipe.TIPO_FILA == this.columnaBasica.tipo;
1677
- }
1678
-
1679
- isTipoLabel(){
1680
- return this.reporteColumnarioPipe.TIPO_LABEL == this.columnaBasica.tipo;
1681
- }
1682
-
1683
- sleep(ms: number): Promise<void> {
1684
- return new Promise((resolve) => setTimeout(resolve, ms));
1685
- }
1686
-
1687
- public isFuente():boolean{
1688
- return this.filtroOrigenFuente(this.reporteFuentePipe.FUENTE);
1689
- }
1690
-
1691
- public filtroOrigenFuente(tipo:string):boolean{
1692
- return this.reporteFuente.origenFuente == tipo;
1693
- }
1694
- }