general-library-union 3.2.97 → 3.2.98

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