sigesp 1.1.55-20250722 → 1.1.56-20250722

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 (602) hide show
  1. package/.browserslistrc +12 -0
  2. package/.editorconfig +13 -0
  3. package/angular.json +161 -0
  4. package/e2e/protractor.conf.js +32 -0
  5. package/e2e/src/app.e2e-spec.ts +23 -0
  6. package/e2e/src/app.po.ts +11 -0
  7. package/e2e/tsconfig.json +13 -0
  8. package/karma.conf.js +32 -0
  9. package/lib +0 -0
  10. package/package.json +73 -31
  11. package/projects/sigesp/README.md +24 -0
  12. package/projects/sigesp/karma.conf.js +32 -0
  13. package/projects/sigesp/ng-package.json +7 -0
  14. package/projects/sigesp/package.json +11 -0
  15. package/projects/sigesp/src/lib/app/app.component.html +1 -0
  16. package/projects/sigesp/src/lib/app/app.component.scss +0 -0
  17. package/projects/sigesp/src/lib/app/app.component.ts +15 -0
  18. package/projects/sigesp/src/lib/app/app.module.ts +21 -0
  19. package/projects/sigesp/src/lib/core/interfaces/Auditoria.ts +72 -0
  20. package/projects/sigesp/src/lib/core/interfaces/Banco.ts +639 -0
  21. package/projects/sigesp/src/lib/core/interfaces/Catalogo.ts +15 -0
  22. package/projects/sigesp/src/lib/core/interfaces/CentroCosto.ts +22 -0
  23. package/projects/sigesp/src/lib/core/interfaces/Clasificacion.ts +6 -0
  24. package/projects/sigesp/src/lib/core/interfaces/Cliente.ts +36 -0
  25. package/projects/sigesp/src/lib/core/interfaces/ComprobantePresupuestario.ts +52 -0
  26. package/projects/sigesp/src/lib/core/interfaces/Comunidad.ts +12 -0
  27. package/projects/sigesp/src/lib/core/interfaces/Configuracion.ts +100 -0
  28. package/projects/sigesp/src/lib/core/interfaces/ConfiguracionRPC.ts +10 -0
  29. package/projects/sigesp/src/lib/core/interfaces/ConfiguracionSCG.ts +53 -0
  30. package/projects/sigesp/src/lib/core/interfaces/ConfigurationSPG.ts +51 -0
  31. package/projects/sigesp/src/lib/core/interfaces/Constantes.ts +468 -0
  32. package/projects/sigesp/src/lib/core/interfaces/CuentaEgresos.ts +164 -0
  33. package/projects/sigesp/src/lib/core/interfaces/CuentaIngreso.ts +38 -0
  34. package/projects/sigesp/src/lib/core/interfaces/CuentaIngresoEstructura.ts +27 -0
  35. package/projects/sigesp/src/lib/core/interfaces/CuentaInstitucional.ts +28 -0
  36. package/projects/sigesp/src/lib/core/interfaces/CuentaPresupuesto.ts +10 -0
  37. package/projects/sigesp/src/lib/core/interfaces/CuentasPorPagar.ts +40 -0
  38. package/projects/sigesp/src/lib/core/interfaces/Documento.ts +6 -0
  39. package/projects/sigesp/src/lib/core/interfaces/EntradaSuministro.ts +93 -0
  40. package/projects/sigesp/src/lib/core/interfaces/Especialidad.ts +4 -0
  41. package/projects/sigesp/src/lib/core/interfaces/EstructuraPresupuestaria.ts +90 -0
  42. package/projects/sigesp/src/lib/core/interfaces/FuenteFinanciamiento.ts +14 -0
  43. package/projects/sigesp/src/lib/core/interfaces/IBancoCuentasPorPagar.ts +196 -0
  44. package/projects/sigesp/src/lib/core/interfaces/ITipoDepositos.ts +32 -0
  45. package/projects/sigesp/src/lib/core/interfaces/Integracion.ts +6 -0
  46. package/projects/sigesp/src/lib/core/interfaces/Lugares.ts +45 -0
  47. package/projects/sigesp/src/lib/core/interfaces/Moneda.ts +22 -0
  48. package/projects/sigesp/src/lib/core/interfaces/Nomina.ts +614 -0
  49. package/projects/sigesp/src/lib/core/interfaces/PlanUnicoCuenta.ts +4 -0
  50. package/projects/sigesp/src/lib/core/interfaces/Presupuesto.ts +145 -0
  51. package/{lib/core/interfaces/Proveedor.d.ts → projects/sigesp/src/lib/core/interfaces/Proveedor.ts} +26 -22
  52. package/projects/sigesp/src/lib/core/interfaces/RecursosHumanos.ts +1743 -0
  53. package/{lib/core/interfaces/Request.d.ts → projects/sigesp/src/lib/core/interfaces/Request.ts} +4 -3
  54. package/projects/sigesp/src/lib/core/interfaces/Response.ts +7 -0
  55. package/projects/sigesp/src/lib/core/interfaces/Seguridad.ts +120 -0
  56. package/projects/sigesp/src/lib/core/interfaces/Servicios.ts +70 -0
  57. package/projects/sigesp/src/lib/core/interfaces/Sistema.ts +21 -0
  58. package/projects/sigesp/src/lib/core/interfaces/Tributos.ts +80 -0
  59. package/projects/sigesp/src/lib/core/interfaces/UnidadTributaria.ts +11 -0
  60. package/projects/sigesp/src/lib/core/interfaces/Usuario.ts +57 -0
  61. package/projects/sigesp/src/lib/core/interfaces/UsuarioPrefijo.ts +13 -0
  62. package/projects/sigesp/src/lib/core/models/CFG/Empresa.model.ts +121 -0
  63. package/projects/sigesp/src/lib/core/models/CFG/Enterprise.model.ts +74 -0
  64. package/projects/sigesp/src/lib/core/models/CFG/MPrefijo.model.ts +69 -0
  65. package/projects/sigesp/src/lib/core/models/CFG/Procede.model.ts +34 -0
  66. package/projects/sigesp/src/lib/core/models/CFG/TasaCambio.model.ts +43 -0
  67. package/projects/sigesp/src/lib/core/models/CFG/comunidad.model.ts +34 -0
  68. package/projects/sigesp/src/lib/core/models/CFG/locations.model.ts +189 -0
  69. package/projects/sigesp/src/lib/core/models/CFG/moneda.model.ts +82 -0
  70. package/projects/sigesp/src/lib/core/models/CFG/userPrefix.model.ts +51 -0
  71. package/projects/sigesp/src/lib/core/models/CXP/MConceptosCXP.model.ts +36 -0
  72. package/projects/sigesp/src/lib/core/models/CXP/MTipoDocumentoCXP.model.ts +49 -0
  73. package/projects/sigesp/src/lib/core/models/RPC/clasification.model.ts +22 -0
  74. package/projects/sigesp/src/lib/core/models/RPC/configuracionRPC.model.ts +27 -0
  75. package/projects/sigesp/src/lib/core/models/RPC/document.model.ts +20 -0
  76. package/projects/sigesp/src/lib/core/models/RPC/proveedores.model.ts +15 -0
  77. package/projects/sigesp/src/lib/core/models/RPC/providerBeneficiary.model.ts +316 -0
  78. package/projects/sigesp/src/lib/core/models/RPC/specialty.model.ts +14 -0
  79. package/projects/sigesp/src/lib/core/models/SCB/bank.model.ts +205 -0
  80. package/projects/sigesp/src/lib/core/models/SCG/IncomeAccount.ts +134 -0
  81. package/projects/sigesp/src/lib/core/models/SCG/accountMarriage.model.ts +33 -0
  82. package/projects/sigesp/src/lib/core/models/SCG/centroCosto.model.ts +83 -0
  83. package/projects/sigesp/src/lib/core/models/SCG/configuracionSCG.model.ts +166 -0
  84. package/projects/sigesp/src/lib/core/models/SCG/cuentaInstitucional.model.ts +97 -0
  85. package/projects/sigesp/src/lib/core/models/SCG/planUnicoCuenta.model.ts +22 -0
  86. package/projects/sigesp/src/lib/core/models/SFV/MClienteModel.ts +119 -0
  87. package/projects/sigesp/src/lib/core/models/SIV/MDetaContable.model.ts +65 -0
  88. package/projects/sigesp/src/lib/core/models/SIV/MDetaEntrada.model.ts +98 -0
  89. package/projects/sigesp/src/lib/core/models/SIV/MEntradaSuministro.model.ts +135 -0
  90. package/projects/sigesp/src/lib/core/models/SIV/MTipoDepositos.model.ts +109 -0
  91. package/projects/sigesp/src/lib/core/models/SNO/MAnticipoPrestaciones.model.ts +112 -0
  92. package/projects/sigesp/src/lib/core/models/SNO/MArchivoTxtCampo.model.ts +63 -0
  93. package/projects/sigesp/src/lib/core/models/SNO/MArchivosTxt.model.ts +53 -0
  94. package/projects/sigesp/src/lib/core/models/SNO/MAsignacionCargo.model.ts +235 -0
  95. package/projects/sigesp/src/lib/core/models/SNO/MAspectoEvaluacion.model.ts +97 -0
  96. package/projects/sigesp/src/lib/core/models/SNO/MAuditoria.model.ts +67 -0
  97. package/projects/sigesp/src/lib/core/models/SNO/MBeneficiario.model.ts +139 -0
  98. package/projects/sigesp/src/lib/core/models/SNO/MCargaFamiliar.model.ts +54 -0
  99. package/projects/sigesp/src/lib/core/models/SNO/MCargaMasiva.model.ts +37 -0
  100. package/projects/sigesp/src/lib/core/models/SNO/MCargosPersonal.model.ts +123 -0
  101. package/projects/sigesp/src/lib/core/models/SNO/MClasificacionObrero.mdel.ts +48 -0
  102. package/projects/sigesp/src/lib/core/models/SNO/MCodigoUnicoRac.model.ts +41 -0
  103. package/projects/sigesp/src/lib/core/models/SNO/MComponete.model.ts +40 -0
  104. package/projects/sigesp/src/lib/core/models/SNO/MConceptoVacaciones.model.ts +94 -0
  105. package/projects/sigesp/src/lib/core/models/SNO/MConceptosNomina.model.ts +246 -0
  106. package/projects/sigesp/src/lib/core/models/SNO/MConceptosPersonalNomina.model.ts +103 -0
  107. package/projects/sigesp/src/lib/core/models/SNO/MConcursante.model.ts +333 -0
  108. package/projects/sigesp/src/lib/core/models/SNO/MConcurso.model.ts +267 -0
  109. package/projects/sigesp/src/lib/core/models/SNO/MConfiguracionSNO.model.ts +422 -0
  110. package/projects/sigesp/src/lib/core/models/SNO/MConstanteNomina.model.ts +76 -0
  111. package/projects/sigesp/src/lib/core/models/SNO/MConstantePersonalNomina.model.ts +85 -0
  112. package/projects/sigesp/src/lib/core/models/SNO/MDedicacion.model.ts +37 -0
  113. package/projects/sigesp/src/lib/core/models/SNO/MDefinicionNomina.model.ts +320 -0
  114. package/projects/sigesp/src/lib/core/models/SNO/MDefinicionesBasicas.model.ts +82 -0
  115. package/projects/sigesp/src/lib/core/models/SNO/MDeudaAnterior.model.ts +42 -0
  116. package/projects/sigesp/src/lib/core/models/SNO/MEncargaduria.model.ts +142 -0
  117. package/projects/sigesp/src/lib/core/models/SNO/MEscalaEvaluacion.model.ts +43 -0
  118. package/projects/sigesp/src/lib/core/models/SNO/MEscalaEvaluacionDt.model.ts +40 -0
  119. package/projects/sigesp/src/lib/core/models/SNO/MEstructuraOrganizativa.model.ts +136 -0
  120. package/projects/sigesp/src/lib/core/models/SNO/MFamiliares.model.ts +91 -0
  121. package/projects/sigesp/src/lib/core/models/SNO/MFeriados.model.ts +46 -0
  122. package/projects/sigesp/src/lib/core/models/SNO/MFideicomiso.model.ts +423 -0
  123. package/projects/sigesp/src/lib/core/models/SNO/MFormacionAcademica.model.ts +52 -0
  124. package/projects/sigesp/src/lib/core/models/SNO/MGrado.model.ts +50 -0
  125. package/projects/sigesp/src/lib/core/models/SNO/MHojaTiempo.model.ts +128 -0
  126. package/projects/sigesp/src/lib/core/models/SNO/MImpuestoSobreRenta.model.ts +77 -0
  127. package/projects/sigesp/src/lib/core/models/SNO/MMetodoBanco.model.ts +113 -0
  128. package/projects/sigesp/src/lib/core/models/SNO/MNominaSimple.model.ts +86 -0
  129. package/projects/sigesp/src/lib/core/models/SNO/MPeriodoNomina.model.ts +205 -0
  130. package/projects/sigesp/src/lib/core/models/SNO/MPermisos.model.ts +70 -0
  131. package/projects/sigesp/src/lib/core/models/SNO/MPersonal.model.ts +659 -0
  132. package/projects/sigesp/src/lib/core/models/SNO/MPersonalJubilado.model.ts +71 -0
  133. package/projects/sigesp/src/lib/core/models/SNO/MPersonalNomina.model.ts +323 -0
  134. package/projects/sigesp/src/lib/core/models/SNO/MPlanHorario.model.ts +134 -0
  135. package/projects/sigesp/src/lib/core/models/SNO/MPlantillaConstancia.model.ts +33 -0
  136. package/projects/sigesp/src/lib/core/models/SNO/MPrestamo.model.ts +242 -0
  137. package/projects/sigesp/src/lib/core/models/SNO/MPrimaGrados.model.ts +46 -0
  138. package/projects/sigesp/src/lib/core/models/SNO/MPrimasConcepto.model.ts +45 -0
  139. package/projects/sigesp/src/lib/core/models/SNO/MRango.model.ts +45 -0
  140. package/projects/sigesp/src/lib/core/models/SNO/MReportesRRHH.ts +425 -0
  141. package/projects/sigesp/src/lib/core/models/SNO/MRequisitosConcursante.model.ts +48 -0
  142. package/projects/sigesp/src/lib/core/models/SNO/MRequisitosConcursos.model.ts +41 -0
  143. package/projects/sigesp/src/lib/core/models/SNO/MRequisitosMinimos.model.ts +123 -0
  144. package/projects/sigesp/src/lib/core/models/SNO/MSalarioHistorico.model.ts +75 -0
  145. package/projects/sigesp/src/lib/core/models/SNO/MSolicitudEmpleo.model.ts +125 -0
  146. package/projects/sigesp/src/lib/core/models/SNO/MTablaVacaciones.model.ts +61 -0
  147. package/projects/sigesp/src/lib/core/models/SNO/MTablaVacacionesPeriodo.model.ts +45 -0
  148. package/projects/sigesp/src/lib/core/models/SNO/MTabulador.model.ts +108 -0
  149. package/projects/sigesp/src/lib/core/models/SNO/MTipoEvaluacion.model.ts +85 -0
  150. package/projects/sigesp/src/lib/core/models/SNO/MTipoPersonal.model.ts +37 -0
  151. package/projects/sigesp/src/lib/core/models/SNO/MTiposEnfermedad.model.ts +40 -0
  152. package/projects/sigesp/src/lib/core/models/SNO/MTrabajoAnterior.model.ts +70 -0
  153. package/projects/sigesp/src/lib/core/models/SNO/MUbicacionFisica.model.ts +63 -0
  154. package/projects/sigesp/src/lib/core/models/SNO/MVacacionesPersonal.model.ts +119 -0
  155. package/projects/sigesp/src/lib/core/models/SOC/charge.model.ts +81 -0
  156. package/projects/sigesp/src/lib/core/models/SOC/clause.model.ts +39 -0
  157. package/projects/sigesp/src/lib/core/models/SOC/clauseModality.model.ts +43 -0
  158. package/projects/sigesp/src/lib/core/models/SOC/configuracionSOC.model.ts +71 -0
  159. package/projects/sigesp/src/lib/core/models/SOC/service.model.ts +53 -0
  160. package/projects/sigesp/src/lib/core/models/SOC/serviceCharge.model.ts +42 -0
  161. package/projects/sigesp/src/lib/core/models/SOC/serviceType.model.ts +39 -0
  162. package/projects/sigesp/src/lib/core/models/SPG/UnidadAdministradoraCentral.ts +50 -0
  163. package/projects/sigesp/src/lib/core/models/SPG/administrativeUnit.model.ts +185 -0
  164. package/projects/sigesp/src/lib/core/models/SPG/comprobantePresupuestario.model.ts +148 -0
  165. package/projects/sigesp/src/lib/core/models/SPG/configurationSPG.model.ts +140 -0
  166. package/projects/sigesp/src/lib/core/models/SPG/cuentaPresupuesto.model.ts +194 -0
  167. package/projects/sigesp/src/lib/core/models/SPG/estructuraPresupuestaria.model.ts +261 -0
  168. package/projects/sigesp/src/lib/core/models/SPG/expensiveAccount.model.ts +104 -0
  169. package/projects/sigesp/src/lib/core/models/SPG/fuenteFinanciamiento.model.ts +54 -0
  170. package/projects/sigesp/src/lib/core/models/SPG/incomeStructureAccount.model.ts +88 -0
  171. package/projects/sigesp/src/lib/core/models/SPG/organizationType.model.ts +16 -0
  172. package/projects/sigesp/src/lib/core/models/SSS/component.model.ts +51 -0
  173. package/projects/sigesp/src/lib/core/models/SSS/group.model.ts +39 -0
  174. package/projects/sigesp/src/lib/core/models/SSS/log.model.ts +36 -0
  175. package/projects/sigesp/src/lib/core/models/SSS/securityConfiguration.model.ts +26 -0
  176. package/projects/sigesp/src/lib/core/models/SSS/sistema.ts +87 -0
  177. package/projects/sigesp/src/lib/core/models/SSS/user.model.ts +52 -0
  178. package/projects/sigesp/src/lib/core/models/SSS/userDetail.model.ts +84 -0
  179. package/projects/sigesp/src/lib/core/models/SSS/userPermit.model.ts +61 -0
  180. package/projects/sigesp/src/lib/core/models/SSS/userRights.model.ts +113 -0
  181. package/projects/sigesp/src/lib/core/models/STB/MCargosAdicionales.ts +97 -0
  182. package/projects/sigesp/src/lib/core/models/STB/deduction.model.ts +100 -0
  183. package/projects/sigesp/src/lib/core/models/STB/deductionType.model.ts +23 -0
  184. package/projects/sigesp/src/lib/core/models/STB/unidadTributaria.model.ts +25 -0
  185. package/projects/sigesp/src/lib/core/models/basic-model.model.ts +9 -0
  186. package/projects/sigesp/src/lib/shared/components/catalogo/catalogo.component.html +45 -0
  187. package/projects/sigesp/src/lib/shared/components/catalogo/catalogo.component.scss +82 -0
  188. package/projects/sigesp/src/lib/shared/components/catalogo/catalogo.component.ts +71 -0
  189. package/projects/sigesp/src/lib/shared/components/catalogo-doble-input/catalogo-doble-input.component.html +57 -0
  190. package/projects/sigesp/src/lib/shared/components/catalogo-doble-input/catalogo-doble-input.component.scss +82 -0
  191. package/projects/sigesp/src/lib/shared/components/catalogo-doble-input/catalogo-doble-input.component.ts +80 -0
  192. package/projects/sigesp/src/lib/shared/components/catalogo-estructuras/catalogo-estructuras.component.html +121 -0
  193. package/projects/sigesp/src/lib/shared/components/catalogo-estructuras/catalogo-estructuras.component.scss +81 -0
  194. package/projects/sigesp/src/lib/shared/components/catalogo-estructuras/catalogo-estructuras.component.ts +68 -0
  195. package/projects/sigesp/src/lib/shared/components/confirm/confirm.component.html +15 -0
  196. package/projects/sigesp/src/lib/shared/components/confirm/confirm.component.scss +37 -0
  197. package/projects/sigesp/src/lib/shared/components/confirm/confirm.component.ts +32 -0
  198. package/projects/sigesp/src/lib/shared/components/icon/flUhRq6tzZclQEJ-Vdg-IuiaDsNc.woff2 +0 -0
  199. package/projects/sigesp/src/lib/shared/components/icon/icon.component.html +6 -0
  200. package/projects/sigesp/src/lib/shared/components/icon/icon.component.scss +22 -0
  201. package/projects/sigesp/src/lib/shared/components/icon/icon.component.ts +19 -0
  202. package/projects/sigesp/src/lib/shared/components/table-select/table-select.component.html +73 -0
  203. package/projects/sigesp/src/lib/shared/components/table-select/table-select.component.scss +86 -0
  204. package/projects/sigesp/src/lib/shared/components/table-select/table-select.component.ts +102 -0
  205. package/projects/sigesp/src/lib/shared/material/customPaginator.ts +22 -0
  206. package/projects/sigesp/src/lib/shared/material/material.module.ts +144 -0
  207. package/projects/sigesp/src/lib/shared/pipes/iso-currency.pipe.ts +44 -0
  208. package/projects/sigesp/src/lib/shared/shared.module.ts +41 -0
  209. package/projects/sigesp/src/lib/sigesp.service.ts +2446 -0
  210. package/projects/sigesp/src/lib/validation.service.ts +172 -0
  211. package/projects/sigesp/src/public-api.ts +488 -0
  212. package/projects/sigesp/src/test.ts +23 -0
  213. package/projects/sigesp/tsconfig.lib.json +27 -0
  214. package/projects/sigesp/tsconfig.lib.prod.json +6 -0
  215. package/projects/sigesp/tsconfig.spec.json +17 -0
  216. package/projects/sigesp/tslint.json +17 -0
  217. package/src/app/app.component.html +11 -0
  218. package/src/app/app.component.scss +0 -0
  219. package/src/app/app.component.ts +110 -0
  220. package/src/app/app.module.ts +22 -0
  221. package/src/assets/.gitkeep +0 -0
  222. package/src/assets/icons/flUhRq6tzZclQEJ-Vdg-IuiaDsNc.woff2 +0 -0
  223. package/src/environments/environment.prod.ts +3 -0
  224. package/src/environments/environment.ts +16 -0
  225. package/src/favicon.ico +0 -0
  226. package/src/index.html +15 -0
  227. package/src/main.ts +13 -0
  228. package/src/polyfills.ts +53 -0
  229. package/src/styles.scss +101 -0
  230. package/src/test.ts +22 -0
  231. package/tsconfig.app.json +18 -0
  232. package/tsconfig.json +36 -0
  233. package/tsconfig.spec.json +18 -0
  234. package/tslint.json +155 -0
  235. package/esm2020/lib/app/app.component.mjs +0 -14
  236. package/esm2020/lib/app/app.module.mjs +0 -34
  237. package/esm2020/lib/core/interfaces/Auditoria.mjs +0 -49
  238. package/esm2020/lib/core/interfaces/Banco.mjs +0 -2
  239. package/esm2020/lib/core/interfaces/Catalogo.mjs +0 -2
  240. package/esm2020/lib/core/interfaces/CentroCosto.mjs +0 -2
  241. package/esm2020/lib/core/interfaces/Clasificacion.mjs +0 -2
  242. package/esm2020/lib/core/interfaces/Cliente.mjs +0 -2
  243. package/esm2020/lib/core/interfaces/ComprobantePresupuestario.mjs +0 -2
  244. package/esm2020/lib/core/interfaces/Comunidad.mjs +0 -2
  245. package/esm2020/lib/core/interfaces/Configuracion.mjs +0 -2
  246. package/esm2020/lib/core/interfaces/ConfiguracionRPC.mjs +0 -2
  247. package/esm2020/lib/core/interfaces/ConfiguracionSCG.mjs +0 -2
  248. package/esm2020/lib/core/interfaces/ConfigurationSPG.mjs +0 -2
  249. package/esm2020/lib/core/interfaces/Constantes.mjs +0 -369
  250. package/esm2020/lib/core/interfaces/CuentaEgresos.mjs +0 -2
  251. package/esm2020/lib/core/interfaces/CuentaIngreso.mjs +0 -2
  252. package/esm2020/lib/core/interfaces/CuentaIngresoEstructura.mjs +0 -2
  253. package/esm2020/lib/core/interfaces/CuentaInstitucional.mjs +0 -2
  254. package/esm2020/lib/core/interfaces/CuentaPresupuesto.mjs +0 -2
  255. package/esm2020/lib/core/interfaces/CuentasPorPagar.mjs +0 -2
  256. package/esm2020/lib/core/interfaces/Documento.mjs +0 -2
  257. package/esm2020/lib/core/interfaces/EntradaSuministro.mjs +0 -2
  258. package/esm2020/lib/core/interfaces/Especialidad.mjs +0 -2
  259. package/esm2020/lib/core/interfaces/EstructuraPresupuestaria.mjs +0 -2
  260. package/esm2020/lib/core/interfaces/FuenteFinanciamiento.mjs +0 -2
  261. package/esm2020/lib/core/interfaces/IBancoCuentasPorPagar.mjs +0 -2
  262. package/esm2020/lib/core/interfaces/ITipoDepositos.mjs +0 -2
  263. package/esm2020/lib/core/interfaces/Integracion.mjs +0 -2
  264. package/esm2020/lib/core/interfaces/Lugares.mjs +0 -2
  265. package/esm2020/lib/core/interfaces/Moneda.mjs +0 -2
  266. package/esm2020/lib/core/interfaces/Nomina.mjs +0 -29
  267. package/esm2020/lib/core/interfaces/PlanUnicoCuenta.mjs +0 -2
  268. package/esm2020/lib/core/interfaces/Presupuesto.mjs +0 -2
  269. package/esm2020/lib/core/interfaces/Proveedor.mjs +0 -2
  270. package/esm2020/lib/core/interfaces/RecursosHumanos.mjs +0 -4
  271. package/esm2020/lib/core/interfaces/Request.mjs +0 -2
  272. package/esm2020/lib/core/interfaces/Response.mjs +0 -2
  273. package/esm2020/lib/core/interfaces/Seguridad.mjs +0 -2
  274. package/esm2020/lib/core/interfaces/Servicios.mjs +0 -2
  275. package/esm2020/lib/core/interfaces/Sistema.mjs +0 -2
  276. package/esm2020/lib/core/interfaces/Tributos.mjs +0 -2
  277. package/esm2020/lib/core/interfaces/UnidadTributaria.mjs +0 -2
  278. package/esm2020/lib/core/interfaces/Usuario.mjs +0 -2
  279. package/esm2020/lib/core/interfaces/UsuarioPrefijo.mjs +0 -2
  280. package/esm2020/lib/core/models/CFG/Empresa.model.mjs +0 -115
  281. package/esm2020/lib/core/models/CFG/Enterprise.model.mjs +0 -70
  282. package/esm2020/lib/core/models/CFG/MPrefijo.model.mjs +0 -67
  283. package/esm2020/lib/core/models/CFG/Procede.model.mjs +0 -31
  284. package/esm2020/lib/core/models/CFG/TasaCambio.model.mjs +0 -40
  285. package/esm2020/lib/core/models/CFG/comunidad.model.mjs +0 -22
  286. package/esm2020/lib/core/models/CFG/locations.model.mjs +0 -170
  287. package/esm2020/lib/core/models/CFG/moneda.model.mjs +0 -72
  288. package/esm2020/lib/core/models/CFG/userPrefix.model.mjs +0 -49
  289. package/esm2020/lib/core/models/CXP/MConceptosCXP.model.mjs +0 -34
  290. package/esm2020/lib/core/models/CXP/MTipoDocumentoCXP.model.mjs +0 -44
  291. package/esm2020/lib/core/models/RPC/clasification.model.mjs +0 -16
  292. package/esm2020/lib/core/models/RPC/configuracionRPC.model.mjs +0 -23
  293. package/esm2020/lib/core/models/RPC/document.model.mjs +0 -16
  294. package/esm2020/lib/core/models/RPC/proveedores.model.mjs +0 -9
  295. package/esm2020/lib/core/models/RPC/providerBeneficiary.model.mjs +0 -285
  296. package/esm2020/lib/core/models/RPC/specialty.model.mjs +0 -12
  297. package/esm2020/lib/core/models/SCB/bank.model.mjs +0 -181
  298. package/esm2020/lib/core/models/SCG/IncomeAccount.mjs +0 -127
  299. package/esm2020/lib/core/models/SCG/accountMarriage.model.mjs +0 -29
  300. package/esm2020/lib/core/models/SCG/centroCosto.model.mjs +0 -75
  301. package/esm2020/lib/core/models/SCG/configuracionSCG.model.mjs +0 -161
  302. package/esm2020/lib/core/models/SCG/cuentaInstitucional.model.mjs +0 -95
  303. package/esm2020/lib/core/models/SCG/planUnicoCuenta.model.mjs +0 -17
  304. package/esm2020/lib/core/models/SFV/MClienteModel.mjs +0 -116
  305. package/esm2020/lib/core/models/SIV/MDetaContable.model.mjs +0 -62
  306. package/esm2020/lib/core/models/SIV/MDetaEntrada.model.mjs +0 -94
  307. package/esm2020/lib/core/models/SIV/MEntradaSuministro.model.mjs +0 -132
  308. package/esm2020/lib/core/models/SIV/MTipoDepositos.model.mjs +0 -103
  309. package/esm2020/lib/core/models/SNO/MAnticipoPrestaciones.model.mjs +0 -100
  310. package/esm2020/lib/core/models/SNO/MArchivoTxtCampo.model.mjs +0 -61
  311. package/esm2020/lib/core/models/SNO/MArchivosTxt.model.mjs +0 -41
  312. package/esm2020/lib/core/models/SNO/MAsignacionCargo.model.mjs +0 -221
  313. package/esm2020/lib/core/models/SNO/MAspectoEvaluacion.model.mjs +0 -90
  314. package/esm2020/lib/core/models/SNO/MAuditoria.model.mjs +0 -61
  315. package/esm2020/lib/core/models/SNO/MBeneficiario.model.mjs +0 -137
  316. package/esm2020/lib/core/models/SNO/MCargaFamiliar.model.mjs +0 -52
  317. package/esm2020/lib/core/models/SNO/MCargaMasiva.model.mjs +0 -34
  318. package/esm2020/lib/core/models/SNO/MCargosPersonal.model.mjs +0 -116
  319. package/esm2020/lib/core/models/SNO/MClasificacionObrero.mdel.mjs +0 -46
  320. package/esm2020/lib/core/models/SNO/MCodigoUnicoRac.model.mjs +0 -39
  321. package/esm2020/lib/core/models/SNO/MComponete.model.mjs +0 -38
  322. package/esm2020/lib/core/models/SNO/MConceptoVacaciones.model.mjs +0 -85
  323. package/esm2020/lib/core/models/SNO/MConceptosNomina.model.mjs +0 -241
  324. package/esm2020/lib/core/models/SNO/MConceptosPersonalNomina.model.mjs +0 -97
  325. package/esm2020/lib/core/models/SNO/MConcursante.model.mjs +0 -317
  326. package/esm2020/lib/core/models/SNO/MConcurso.model.mjs +0 -246
  327. package/esm2020/lib/core/models/SNO/MConfiguracionSNO.model.mjs +0 -416
  328. package/esm2020/lib/core/models/SNO/MConstanteNomina.model.mjs +0 -70
  329. package/esm2020/lib/core/models/SNO/MConstantePersonalNomina.model.mjs +0 -79
  330. package/esm2020/lib/core/models/SNO/MDedicacion.model.mjs +0 -35
  331. package/esm2020/lib/core/models/SNO/MDefinicionNomina.model.mjs +0 -304
  332. package/esm2020/lib/core/models/SNO/MDefinicionesBasicas.model.mjs +0 -72
  333. package/esm2020/lib/core/models/SNO/MDeudaAnterior.model.mjs +0 -40
  334. package/esm2020/lib/core/models/SNO/MEncargaduria.model.mjs +0 -138
  335. package/esm2020/lib/core/models/SNO/MEscalaEvaluacion.model.mjs +0 -38
  336. package/esm2020/lib/core/models/SNO/MEscalaEvaluacionDt.model.mjs +0 -37
  337. package/esm2020/lib/core/models/SNO/MEstructuraOrganizativa.model.mjs +0 -130
  338. package/esm2020/lib/core/models/SNO/MFamiliares.model.mjs +0 -86
  339. package/esm2020/lib/core/models/SNO/MFeriados.model.mjs +0 -43
  340. package/esm2020/lib/core/models/SNO/MFideicomiso.model.mjs +0 -406
  341. package/esm2020/lib/core/models/SNO/MFormacionAcademica.model.mjs +0 -49
  342. package/esm2020/lib/core/models/SNO/MGrado.model.mjs +0 -44
  343. package/esm2020/lib/core/models/SNO/MHojaTiempo.model.mjs +0 -117
  344. package/esm2020/lib/core/models/SNO/MImpuestoSobreRenta.model.mjs +0 -73
  345. package/esm2020/lib/core/models/SNO/MMetodoBanco.model.mjs +0 -105
  346. package/esm2020/lib/core/models/SNO/MNominaSimple.model.mjs +0 -79
  347. package/esm2020/lib/core/models/SNO/MPeriodoNomina.model.mjs +0 -201
  348. package/esm2020/lib/core/models/SNO/MPermisos.model.mjs +0 -68
  349. package/esm2020/lib/core/models/SNO/MPersonal.model.mjs +0 -638
  350. package/esm2020/lib/core/models/SNO/MPersonalJubilado.model.mjs +0 -64
  351. package/esm2020/lib/core/models/SNO/MPersonalNomina.model.mjs +0 -315
  352. package/esm2020/lib/core/models/SNO/MPlanHorario.model.mjs +0 -117
  353. package/esm2020/lib/core/models/SNO/MPlantillaConstancia.model.mjs +0 -31
  354. package/esm2020/lib/core/models/SNO/MPrestamo.model.mjs +0 -221
  355. package/esm2020/lib/core/models/SNO/MPrimaGrados.model.mjs +0 -43
  356. package/esm2020/lib/core/models/SNO/MPrimasConcepto.model.mjs +0 -43
  357. package/esm2020/lib/core/models/SNO/MRango.model.mjs +0 -43
  358. package/esm2020/lib/core/models/SNO/MReportesRRHH.mjs +0 -402
  359. package/esm2020/lib/core/models/SNO/MRequisitosConcursante.model.mjs +0 -46
  360. package/esm2020/lib/core/models/SNO/MRequisitosConcursos.model.mjs +0 -37
  361. package/esm2020/lib/core/models/SNO/MRequisitosMinimos.model.mjs +0 -113
  362. package/esm2020/lib/core/models/SNO/MSalarioHistorico.model.mjs +0 -70
  363. package/esm2020/lib/core/models/SNO/MSolicitudEmpleo.model.mjs +0 -121
  364. package/esm2020/lib/core/models/SNO/MTablaVacaciones.model.mjs +0 -57
  365. package/esm2020/lib/core/models/SNO/MTablaVacacionesPeriodo.model.mjs +0 -40
  366. package/esm2020/lib/core/models/SNO/MTabulador.model.mjs +0 -96
  367. package/esm2020/lib/core/models/SNO/MTipoEvaluacion.model.mjs +0 -75
  368. package/esm2020/lib/core/models/SNO/MTipoPersonal.model.mjs +0 -34
  369. package/esm2020/lib/core/models/SNO/MTiposEnfermedad.model.mjs +0 -37
  370. package/esm2020/lib/core/models/SNO/MTrabajoAnterior.model.mjs +0 -65
  371. package/esm2020/lib/core/models/SNO/MUbicacionFisica.model.mjs +0 -61
  372. package/esm2020/lib/core/models/SNO/MVacacionesPersonal.model.mjs +0 -115
  373. package/esm2020/lib/core/models/SOC/charge.model.mjs +0 -69
  374. package/esm2020/lib/core/models/SOC/clause.model.mjs +0 -34
  375. package/esm2020/lib/core/models/SOC/clauseModality.model.mjs +0 -38
  376. package/esm2020/lib/core/models/SOC/configuracionSOC.model.mjs +0 -65
  377. package/esm2020/lib/core/models/SOC/service.model.mjs +0 -49
  378. package/esm2020/lib/core/models/SOC/serviceCharge.model.mjs +0 -40
  379. package/esm2020/lib/core/models/SOC/serviceType.model.mjs +0 -34
  380. package/esm2020/lib/core/models/SPG/UnidadAdministradoraCentral.mjs +0 -46
  381. package/esm2020/lib/core/models/SPG/administrativeUnit.model.mjs +0 -137
  382. package/esm2020/lib/core/models/SPG/comprobantePresupuestario.model.mjs +0 -101
  383. package/esm2020/lib/core/models/SPG/configurationSPG.model.mjs +0 -120
  384. package/esm2020/lib/core/models/SPG/cuentaPresupuesto.model.mjs +0 -184
  385. package/esm2020/lib/core/models/SPG/estructuraPresupuestaria.model.mjs +0 -186
  386. package/esm2020/lib/core/models/SPG/expensiveAccount.model.mjs +0 -100
  387. package/esm2020/lib/core/models/SPG/fuenteFinanciamiento.model.mjs +0 -52
  388. package/esm2020/lib/core/models/SPG/incomeStructureAccount.model.mjs +0 -85
  389. package/esm2020/lib/core/models/SPG/organizationType.model.mjs +0 -12
  390. package/esm2020/lib/core/models/SSS/component.model.mjs +0 -44
  391. package/esm2020/lib/core/models/SSS/group.model.mjs +0 -30
  392. package/esm2020/lib/core/models/SSS/log.model.mjs +0 -29
  393. package/esm2020/lib/core/models/SSS/securityConfiguration.model.mjs +0 -20
  394. package/esm2020/lib/core/models/SSS/sistema.mjs +0 -73
  395. package/esm2020/lib/core/models/SSS/user.model.mjs +0 -32
  396. package/esm2020/lib/core/models/SSS/userDetail.model.mjs +0 -79
  397. package/esm2020/lib/core/models/SSS/userPermit.model.mjs +0 -47
  398. package/esm2020/lib/core/models/SSS/userRights.model.mjs +0 -104
  399. package/esm2020/lib/core/models/STB/MCargosAdicionales.mjs +0 -87
  400. package/esm2020/lib/core/models/STB/deduction.model.mjs +0 -90
  401. package/esm2020/lib/core/models/STB/deductionType.model.mjs +0 -20
  402. package/esm2020/lib/core/models/STB/unidadTributaria.model.mjs +0 -14
  403. package/esm2020/lib/core/models/basic-model.model.mjs +0 -8
  404. package/esm2020/lib/shared/components/catalogo/catalogo.component.mjs +0 -76
  405. package/esm2020/lib/shared/components/catalogo-doble-input/catalogo-doble-input.component.mjs +0 -87
  406. package/esm2020/lib/shared/components/catalogo-estructuras/catalogo-estructuras.component.mjs +0 -74
  407. package/esm2020/lib/shared/components/confirm/confirm.component.mjs +0 -35
  408. package/esm2020/lib/shared/components/icon/icon.component.mjs +0 -22
  409. package/esm2020/lib/shared/components/table-select/table-select.component.mjs +0 -99
  410. package/esm2020/lib/shared/material/customPaginator.mjs +0 -24
  411. package/esm2020/lib/shared/material/material.module.mjs +0 -322
  412. package/esm2020/lib/shared/pipes/iso-currency.pipe.mjs +0 -43
  413. package/esm2020/lib/shared/shared.module.mjs +0 -66
  414. package/esm2020/lib/sigesp.service.mjs +0 -1829
  415. package/esm2020/lib/validation.service.mjs +0 -131
  416. package/esm2020/public-api.mjs +0 -156
  417. package/esm2020/sigesp.mjs +0 -5
  418. package/fesm2015/sigesp.mjs +0 -14895
  419. package/fesm2015/sigesp.mjs.map +0 -1
  420. package/fesm2020/sigesp.mjs +0 -14858
  421. package/fesm2020/sigesp.mjs.map +0 -1
  422. package/index.d.ts +0 -5
  423. package/lib/app/app.component.d.ts +0 -8
  424. package/lib/app/app.module.d.ts +0 -10
  425. package/lib/core/interfaces/Auditoria.d.ts +0 -19
  426. package/lib/core/interfaces/Banco.d.ts +0 -599
  427. package/lib/core/interfaces/Catalogo.d.ts +0 -13
  428. package/lib/core/interfaces/CentroCosto.d.ts +0 -21
  429. package/lib/core/interfaces/Clasificacion.d.ts +0 -6
  430. package/lib/core/interfaces/Cliente.d.ts +0 -36
  431. package/lib/core/interfaces/ComprobantePresupuestario.d.ts +0 -51
  432. package/lib/core/interfaces/Comunidad.d.ts +0 -12
  433. package/lib/core/interfaces/Configuracion.d.ts +0 -91
  434. package/lib/core/interfaces/ConfiguracionRPC.d.ts +0 -10
  435. package/lib/core/interfaces/ConfiguracionSCG.d.ts +0 -52
  436. package/lib/core/interfaces/ConfigurationSPG.d.ts +0 -49
  437. package/lib/core/interfaces/Constantes.d.ts +0 -85
  438. package/lib/core/interfaces/CuentaEgresos.d.ts +0 -158
  439. package/lib/core/interfaces/CuentaIngreso.d.ts +0 -38
  440. package/lib/core/interfaces/CuentaIngresoEstructura.d.ts +0 -26
  441. package/lib/core/interfaces/CuentaInstitucional.d.ts +0 -28
  442. package/lib/core/interfaces/CuentaPresupuesto.d.ts +0 -9
  443. package/lib/core/interfaces/CuentasPorPagar.d.ts +0 -37
  444. package/lib/core/interfaces/Documento.d.ts +0 -6
  445. package/lib/core/interfaces/EntradaSuministro.d.ts +0 -87
  446. package/lib/core/interfaces/Especialidad.d.ts +0 -4
  447. package/lib/core/interfaces/EstructuraPresupuestaria.d.ts +0 -83
  448. package/lib/core/interfaces/FuenteFinanciamiento.d.ts +0 -14
  449. package/lib/core/interfaces/IBancoCuentasPorPagar.d.ts +0 -190
  450. package/lib/core/interfaces/ITipoDepositos.d.ts +0 -31
  451. package/lib/core/interfaces/Integracion.d.ts +0 -6
  452. package/lib/core/interfaces/Lugares.d.ts +0 -40
  453. package/lib/core/interfaces/Moneda.d.ts +0 -20
  454. package/lib/core/interfaces/Nomina.d.ts +0 -554
  455. package/lib/core/interfaces/PlanUnicoCuenta.d.ts +0 -4
  456. package/lib/core/interfaces/Presupuesto.d.ts +0 -132
  457. package/lib/core/interfaces/RecursosHumanos.d.ts +0 -1627
  458. package/lib/core/interfaces/Response.d.ts +0 -7
  459. package/lib/core/interfaces/Seguridad.d.ts +0 -112
  460. package/lib/core/interfaces/Servicios.d.ts +0 -64
  461. package/lib/core/interfaces/Sistema.d.ts +0 -19
  462. package/lib/core/interfaces/Tributos.d.ts +0 -75
  463. package/lib/core/interfaces/UnidadTributaria.d.ts +0 -11
  464. package/lib/core/interfaces/Usuario.d.ts +0 -52
  465. package/lib/core/interfaces/UsuarioPrefijo.d.ts +0 -13
  466. package/lib/core/models/CFG/Empresa.model.d.ts +0 -39
  467. package/lib/core/models/CFG/Enterprise.model.d.ts +0 -24
  468. package/lib/core/models/CFG/MPrefijo.model.d.ts +0 -23
  469. package/lib/core/models/CFG/Procede.model.d.ts +0 -11
  470. package/lib/core/models/CFG/TasaCambio.model.d.ts +0 -14
  471. package/lib/core/models/CFG/comunidad.model.d.ts +0 -15
  472. package/lib/core/models/CFG/locations.model.d.ts +0 -54
  473. package/lib/core/models/CFG/moneda.model.d.ts +0 -26
  474. package/lib/core/models/CFG/userPrefix.model.d.ts +0 -17
  475. package/lib/core/models/CXP/MConceptosCXP.model.d.ts +0 -12
  476. package/lib/core/models/CXP/MTipoDocumentoCXP.model.d.ts +0 -16
  477. package/lib/core/models/RPC/clasification.model.d.ts +0 -11
  478. package/lib/core/models/RPC/configuracionRPC.model.d.ts +0 -12
  479. package/lib/core/models/RPC/document.model.d.ts +0 -11
  480. package/lib/core/models/RPC/proveedores.model.d.ts +0 -8
  481. package/lib/core/models/RPC/providerBeneficiary.model.d.ts +0 -116
  482. package/lib/core/models/RPC/specialty.model.d.ts +0 -9
  483. package/lib/core/models/SCB/bank.model.d.ts +0 -63
  484. package/lib/core/models/SCG/IncomeAccount.d.ts +0 -45
  485. package/lib/core/models/SCG/accountMarriage.model.d.ts +0 -11
  486. package/lib/core/models/SCG/centroCosto.model.d.ts +0 -27
  487. package/lib/core/models/SCG/configuracionSCG.model.d.ts +0 -56
  488. package/lib/core/models/SCG/cuentaInstitucional.model.d.ts +0 -34
  489. package/lib/core/models/SCG/planUnicoCuenta.model.d.ts +0 -8
  490. package/lib/core/models/SFV/MClienteModel.d.ts +0 -40
  491. package/lib/core/models/SIV/MDetaContable.model.d.ts +0 -21
  492. package/lib/core/models/SIV/MDetaEntrada.model.d.ts +0 -33
  493. package/lib/core/models/SIV/MEntradaSuministro.model.d.ts +0 -47
  494. package/lib/core/models/SIV/MTipoDepositos.model.d.ts +0 -35
  495. package/lib/core/models/SNO/MAnticipoPrestaciones.model.d.ts +0 -32
  496. package/lib/core/models/SNO/MArchivoTxtCampo.model.d.ts +0 -21
  497. package/lib/core/models/SNO/MArchivosTxt.model.d.ts +0 -15
  498. package/lib/core/models/SNO/MAsignacionCargo.model.d.ts +0 -87
  499. package/lib/core/models/SNO/MAspectoEvaluacion.model.d.ts +0 -30
  500. package/lib/core/models/SNO/MAuditoria.model.d.ts +0 -21
  501. package/lib/core/models/SNO/MBeneficiario.model.d.ts +0 -48
  502. package/lib/core/models/SNO/MCargaFamiliar.model.d.ts +0 -18
  503. package/lib/core/models/SNO/MCargaMasiva.model.d.ts +0 -12
  504. package/lib/core/models/SNO/MCargosPersonal.model.d.ts +0 -48
  505. package/lib/core/models/SNO/MClasificacionObrero.mdel.d.ts +0 -16
  506. package/lib/core/models/SNO/MCodigoUnicoRac.model.d.ts +0 -14
  507. package/lib/core/models/SNO/MComponete.model.d.ts +0 -14
  508. package/lib/core/models/SNO/MConceptoVacaciones.model.d.ts +0 -30
  509. package/lib/core/models/SNO/MConceptosNomina.model.d.ts +0 -84
  510. package/lib/core/models/SNO/MConceptosPersonalNomina.model.d.ts +0 -34
  511. package/lib/core/models/SNO/MConcursante.model.d.ts +0 -104
  512. package/lib/core/models/SNO/MConcurso.model.d.ts +0 -83
  513. package/lib/core/models/SNO/MConfiguracionSNO.model.d.ts +0 -140
  514. package/lib/core/models/SNO/MConstanteNomina.model.d.ts +0 -24
  515. package/lib/core/models/SNO/MConstantePersonalNomina.model.d.ts +0 -27
  516. package/lib/core/models/SNO/MDedicacion.model.d.ts +0 -13
  517. package/lib/core/models/SNO/MDefinicionNomina.model.d.ts +0 -115
  518. package/lib/core/models/SNO/MDefinicionesBasicas.model.d.ts +0 -25
  519. package/lib/core/models/SNO/MDeudaAnterior.model.d.ts +0 -14
  520. package/lib/core/models/SNO/MEncargaduria.model.d.ts +0 -47
  521. package/lib/core/models/SNO/MEscalaEvaluacion.model.d.ts +0 -15
  522. package/lib/core/models/SNO/MEscalaEvaluacionDt.model.d.ts +0 -14
  523. package/lib/core/models/SNO/MEstructuraOrganizativa.model.d.ts +0 -46
  524. package/lib/core/models/SNO/MFamiliares.model.d.ts +0 -31
  525. package/lib/core/models/SNO/MFeriados.model.d.ts +0 -16
  526. package/lib/core/models/SNO/MFideicomiso.model.d.ts +0 -143
  527. package/lib/core/models/SNO/MFormacionAcademica.model.d.ts +0 -18
  528. package/lib/core/models/SNO/MGrado.model.d.ts +0 -18
  529. package/lib/core/models/SNO/MHojaTiempo.model.d.ts +0 -40
  530. package/lib/core/models/SNO/MImpuestoSobreRenta.model.d.ts +0 -25
  531. package/lib/core/models/SNO/MMetodoBanco.model.d.ts +0 -35
  532. package/lib/core/models/SNO/MNominaSimple.model.d.ts +0 -34
  533. package/lib/core/models/SNO/MPeriodoNomina.model.d.ts +0 -57
  534. package/lib/core/models/SNO/MPermisos.model.d.ts +0 -24
  535. package/lib/core/models/SNO/MPersonal.model.d.ts +0 -219
  536. package/lib/core/models/SNO/MPersonalJubilado.model.d.ts +0 -23
  537. package/lib/core/models/SNO/MPersonalNomina.model.d.ts +0 -102
  538. package/lib/core/models/SNO/MPlanHorario.model.d.ts +0 -41
  539. package/lib/core/models/SNO/MPlantillaConstancia.model.d.ts +0 -11
  540. package/lib/core/models/SNO/MPrestamo.model.d.ts +0 -69
  541. package/lib/core/models/SNO/MPrimaGrados.model.d.ts +0 -15
  542. package/lib/core/models/SNO/MPrimasConcepto.model.d.ts +0 -15
  543. package/lib/core/models/SNO/MRango.model.d.ts +0 -15
  544. package/lib/core/models/SNO/MReportesRRHH.d.ts +0 -130
  545. package/lib/core/models/SNO/MRequisitosConcursante.model.d.ts +0 -16
  546. package/lib/core/models/SNO/MRequisitosConcursos.model.d.ts +0 -14
  547. package/lib/core/models/SNO/MRequisitosMinimos.model.d.ts +0 -39
  548. package/lib/core/models/SNO/MSalarioHistorico.model.d.ts +0 -25
  549. package/lib/core/models/SNO/MSolicitudEmpleo.model.d.ts +0 -42
  550. package/lib/core/models/SNO/MTablaVacaciones.model.d.ts +0 -15
  551. package/lib/core/models/SNO/MTablaVacacionesPeriodo.model.d.ts +0 -15
  552. package/lib/core/models/SNO/MTabulador.model.d.ts +0 -39
  553. package/lib/core/models/SNO/MTipoEvaluacion.model.d.ts +0 -28
  554. package/lib/core/models/SNO/MTipoPersonal.model.d.ts +0 -13
  555. package/lib/core/models/SNO/MTiposEnfermedad.model.d.ts +0 -14
  556. package/lib/core/models/SNO/MTrabajoAnterior.model.d.ts +0 -24
  557. package/lib/core/models/SNO/MUbicacionFisica.model.d.ts +0 -21
  558. package/lib/core/models/SNO/MVacacionesPersonal.model.d.ts +0 -40
  559. package/lib/core/models/SOC/charge.model.d.ts +0 -25
  560. package/lib/core/models/SOC/clause.model.d.ts +0 -12
  561. package/lib/core/models/SOC/clauseModality.model.d.ts +0 -14
  562. package/lib/core/models/SOC/configuracionSOC.model.d.ts +0 -21
  563. package/lib/core/models/SOC/service.model.d.ts +0 -17
  564. package/lib/core/models/SOC/serviceCharge.model.d.ts +0 -14
  565. package/lib/core/models/SOC/serviceType.model.d.ts +0 -12
  566. package/lib/core/models/SPG/UnidadAdministradoraCentral.d.ts +0 -16
  567. package/lib/core/models/SPG/administrativeUnit.model.d.ts +0 -67
  568. package/lib/core/models/SPG/comprobantePresupuestario.model.d.ts +0 -56
  569. package/lib/core/models/SPG/configurationSPG.model.d.ts +0 -46
  570. package/lib/core/models/SPG/cuentaPresupuesto.model.d.ts +0 -65
  571. package/lib/core/models/SPG/estructuraPresupuestaria.model.d.ts +0 -119
  572. package/lib/core/models/SPG/expensiveAccount.model.d.ts +0 -50
  573. package/lib/core/models/SPG/fuenteFinanciamiento.model.d.ts +0 -18
  574. package/lib/core/models/SPG/incomeStructureAccount.model.d.ts +0 -40
  575. package/lib/core/models/SPG/organizationType.model.d.ts +0 -9
  576. package/lib/core/models/SSS/component.model.d.ts +0 -16
  577. package/lib/core/models/SSS/group.model.d.ts +0 -16
  578. package/lib/core/models/SSS/log.model.d.ts +0 -15
  579. package/lib/core/models/SSS/securityConfiguration.model.d.ts +0 -9
  580. package/lib/core/models/SSS/sistema.d.ts +0 -25
  581. package/lib/core/models/SSS/user.model.d.ts +0 -22
  582. package/lib/core/models/SSS/userDetail.model.d.ts +0 -28
  583. package/lib/core/models/SSS/userPermit.model.d.ts +0 -18
  584. package/lib/core/models/SSS/userRights.model.d.ts +0 -35
  585. package/lib/core/models/STB/MCargosAdicionales.d.ts +0 -33
  586. package/lib/core/models/STB/deduction.model.d.ts +0 -30
  587. package/lib/core/models/STB/deductionType.model.d.ts +0 -9
  588. package/lib/core/models/STB/unidadTributaria.model.d.ts +0 -13
  589. package/lib/core/models/basic-model.model.d.ts +0 -6
  590. package/lib/shared/components/catalogo/catalogo.component.d.ts +0 -35
  591. package/lib/shared/components/catalogo-doble-input/catalogo-doble-input.component.d.ts +0 -39
  592. package/lib/shared/components/catalogo-estructuras/catalogo-estructuras.component.d.ts +0 -38
  593. package/lib/shared/components/confirm/confirm.component.d.ts +0 -21
  594. package/lib/shared/components/icon/icon.component.d.ts +0 -11
  595. package/lib/shared/components/table-select/table-select.component.d.ts +0 -39
  596. package/lib/shared/material/customPaginator.d.ts +0 -9
  597. package/lib/shared/material/material.module.d.ts +0 -48
  598. package/lib/shared/pipes/iso-currency.pipe.d.ts +0 -13
  599. package/lib/shared/shared.module.d.ts +0 -16
  600. package/lib/sigesp.service.d.ts +0 -901
  601. package/lib/validation.service.d.ts +0 -15
  602. package/public-api.d.ts +0 -164
@@ -0,0 +1,45 @@
1
+ <div class="container">
2
+
3
+ <!-- HEADER DE EL COMPONENTE -->
4
+ <div class="header mainColor">
5
+ <!-- TÍTULO -->
6
+ <h2>{{dialogData.title}}</h2>
7
+ <!-- BTN CERRAR -->
8
+ <div class="close">
9
+ <div class="btn" (click)="closeDialog()">
10
+ <mat-icon>close</mat-icon>
11
+ </div>
12
+ </div>
13
+ </div>
14
+
15
+ <!-- BODY -->
16
+ <div class="body">
17
+ <!-- FILTER -->
18
+ <div class="filter">
19
+ <mat-form-field class="input">
20
+ <input type="text" matInput placeholder="Filtrar" (keyup)="filterTable($event)">
21
+ </mat-form-field>
22
+ </div>
23
+
24
+ <!-- TABLA -->
25
+ <div class="table-container">
26
+ <table mat-table [dataSource]="dataSource" matSort>
27
+ <!-- DATA -->
28
+ <ng-container *ngFor="let column of colunms;let i = index" [matColumnDef]="column">
29
+ <th mat-header-cell *matHeaderCellDef mat-sort-header>
30
+ {{ (names[i] ? names[i] : column) | uppercase}}
31
+ </th>
32
+ <td mat-cell *matCellDef="let row" (click)="closeDialog(row)">
33
+ {{row[column]}}
34
+ </td>
35
+ </ng-container>
36
+
37
+ <tr mat-header-row *matHeaderRowDef="colunms"></tr>
38
+ <tr mat-row *matRowDef="let row; columns: colunms;" class="row"></tr>
39
+ </table>
40
+ </div>
41
+ <mat-paginator [pageSizeOptions]="[5, 10, 25, 100]" showFirstLastButtons class="paginator"></mat-paginator>
42
+ </div>
43
+
44
+ </div>
45
+
@@ -0,0 +1,82 @@
1
+
2
+ .container {
3
+
4
+ .header {
5
+ padding: 15px;
6
+ text-align: center;
7
+ border-radius: 5px 5px 0 0;
8
+ display: grid;
9
+ grid-template-columns: repeat(10, 10%);
10
+
11
+ h2 {
12
+ margin: 0;
13
+ grid-column: 1/10;
14
+ text-align: left;
15
+ }
16
+
17
+ .close {
18
+ grid-column: 10/11;
19
+ display: flex;
20
+ justify-content: center;
21
+ align-items: center;
22
+
23
+ .btn {
24
+ width: 30px;
25
+ height: 30px;
26
+ background: white;
27
+ border-radius: 50%;
28
+ display: flex;
29
+ justify-content: center;
30
+ align-items: center;
31
+ cursor: pointer;
32
+
33
+ mat-icon {
34
+ color: black;
35
+ }
36
+ }
37
+ }
38
+ }
39
+
40
+ .body {
41
+ padding: 15px;
42
+ margin-top: 10px;
43
+
44
+ .filter {
45
+
46
+ .input {
47
+ width: 100%;
48
+ }
49
+ }
50
+
51
+ .table-container {
52
+ max-height: 500px;
53
+ overflow: auto;
54
+
55
+ table {
56
+ width: 100%;
57
+
58
+ .row {
59
+
60
+ &:hover {
61
+ background: #777;
62
+ cursor: pointer;
63
+ }
64
+ }
65
+
66
+ td, th {
67
+ padding: 5px 7.5px !important;
68
+ &:first-child{
69
+ padding-left: 24px !important;
70
+ }
71
+ &:last-child{
72
+ padding-right: 24px !important;
73
+ }
74
+ }
75
+ }
76
+ }
77
+
78
+ .paginator {
79
+ margin-top: 15px;
80
+ }
81
+ }
82
+ }
@@ -0,0 +1,71 @@
1
+ import { Component, OnInit, ViewChild, Optional, Inject } from '@angular/core';
2
+ import { MatTableDataSource } from '@angular/material/table';
3
+ import { MatPaginator } from '@angular/material/paginator';
4
+ import { MatSort } from '@angular/material/sort';
5
+ import { MatDialogRef } from '@angular/material/dialog';
6
+ import { MAT_DIALOG_DATA } from '@angular/material/dialog';
7
+ import { ICatalogo } from '../../../core/interfaces/Catalogo';
8
+
9
+ @Component({
10
+ selector: 'app-catalogo',
11
+ templateUrl: './catalogo.component.html',
12
+ styleUrls: ['./catalogo.component.scss']
13
+ })
14
+ export class CatalogoComponent implements OnInit {
15
+
16
+ @ViewChild(MatPaginator) paginator: MatPaginator;
17
+ @ViewChild(MatSort) sort: MatSort;
18
+
19
+ public dataSource: MatTableDataSource<ICatalogo>;
20
+ public colunms: string[];
21
+ public names: string[] = [];
22
+
23
+ constructor(@Optional() private dialogRef: MatDialogRef<CatalogoComponent>,
24
+ @Optional() @Inject(MAT_DIALOG_DATA) public dialogData: ICatalogo) { }
25
+
26
+ ngOnInit() {
27
+ this.colunms = this.dialogData.columns
28
+ this.dataSource = new MatTableDataSource(this.dialogData.dataSource);
29
+ this.dataSource.paginator = this.paginator;
30
+ this.dataSource.sort = this.sort;
31
+ if (this.dialogData.columnNames) {
32
+ this.names = this.dialogData.columnNames
33
+ }
34
+ }
35
+
36
+ ngAfterViewInit() {
37
+ this.dataSource.paginator = this.paginator;
38
+ this.dataSource.sort = this.sort;
39
+ }
40
+
41
+ /**
42
+ * @description Filtra la tabla de proveedores
43
+ * @param filterValue Palabra clave para filtrar,
44
+ * @return void
45
+ * @author Miguel Ramírez
46
+ */
47
+ public filterTable(event: any): void {
48
+ const filterValue = (event.target as HTMLInputElement).value;
49
+ this.dataSource.filter = filterValue.trim().toLowerCase();
50
+
51
+ if (this.dataSource.paginator) {
52
+ this.dataSource.paginator.firstPage();
53
+ }
54
+ }
55
+
56
+
57
+
58
+ /**
59
+ * @description Manda a cerrar el dialog
60
+ * @param data Data que se va a mandar de respuesta
61
+ * @return void
62
+ * @author Miguel Ramírez
63
+ */
64
+ public closeDialog(data?: any): void {
65
+ this.dialogRef.close((data) ? data : null);
66
+ }
67
+
68
+
69
+
70
+
71
+ }
@@ -0,0 +1,57 @@
1
+ <div class="container">
2
+
3
+ <!-- HEADER DE EL COMPONENTE -->
4
+ <div class="header mainColor">
5
+ <!-- TÍTULO -->
6
+ <h2>{{dialogData.title}}</h2>
7
+ <!-- BTN CERRAR -->
8
+ <div class="close">
9
+ <div class="btn" (click)="closeDialog()">
10
+ <mat-icon>close</mat-icon>
11
+ </div>
12
+ </div>
13
+ </div>
14
+
15
+ <!-- BODY -->
16
+ <div class="body">
17
+ <!-- FILTER -->
18
+ <div class="filter">
19
+ <mat-form-field class="input">
20
+ <input type="text" matInput
21
+ placeholder="Filtrar por {{filterData[0].placeholder}}"
22
+ (keyup)="filterTable(first, $event)"
23
+ [(ngModel)]="first">
24
+ </mat-form-field>
25
+ </div>
26
+
27
+ <div class="filter">
28
+ <mat-form-field class="input">
29
+ <input type="text" matInput
30
+ placeholder="Filtrar por {{filterData[1].placeholder}}"
31
+ (keyup)="filterTable(second, $event)"
32
+ [(ngModel)]="second">
33
+ </mat-form-field>
34
+ </div>
35
+
36
+ <!-- TABLA -->
37
+ <div class="table-container">
38
+ <table mat-table [dataSource]="dataSource" matSort>
39
+ <!-- DATA -->
40
+ <ng-container *ngFor="let column of colunms;let i = index" [matColumnDef]="column">
41
+ <th mat-header-cell *matHeaderCellDef mat-sort-header>
42
+ {{ (names[i] ? names[i] : column) | uppercase}}
43
+ </th>
44
+ <td mat-cell *matCellDef="let row" (click)="closeDialog(row)">
45
+ {{row[column]}}
46
+ </td>
47
+ </ng-container>
48
+
49
+ <tr mat-header-row *matHeaderRowDef="colunms"></tr>
50
+ <tr mat-row *matRowDef="let row; columns: colunms;" class="row"></tr>
51
+ </table>
52
+ </div>
53
+ <mat-paginator [pageSizeOptions]="[5, 10, 25, 100]" showFirstLastButtons class="paginator"></mat-paginator>
54
+ </div>
55
+
56
+ </div>
57
+
@@ -0,0 +1,82 @@
1
+
2
+ .container {
3
+
4
+ .header {
5
+ padding: 15px;
6
+ text-align: center;
7
+ border-radius: 5px 5px 0 0;
8
+ display: grid;
9
+ grid-template-columns: repeat(10, 10%);
10
+
11
+ h2 {
12
+ margin: 0;
13
+ grid-column: 1/10;
14
+ text-align: left;
15
+ }
16
+
17
+ .close {
18
+ grid-column: 10/11;
19
+ display: flex;
20
+ justify-content: center;
21
+ align-items: center;
22
+
23
+ .btn {
24
+ width: 30px;
25
+ height: 30px;
26
+ background: white;
27
+ border-radius: 50%;
28
+ display: flex;
29
+ justify-content: center;
30
+ align-items: center;
31
+ cursor: pointer;
32
+
33
+ mat-icon {
34
+ color: black;
35
+ }
36
+ }
37
+ }
38
+ }
39
+
40
+ .body {
41
+ padding: 15px;
42
+ margin-top: 10px;
43
+
44
+ .filter {
45
+
46
+ .input {
47
+ width: 100%;
48
+ }
49
+ }
50
+
51
+ .table-container {
52
+ max-height: 500px;
53
+ overflow: auto;
54
+
55
+ table {
56
+ width: 100%;
57
+
58
+ .row {
59
+
60
+ &:hover {
61
+ background: #777;
62
+ cursor: pointer;
63
+ }
64
+ }
65
+
66
+ td, th {
67
+ padding: 5px 7.5px !important;
68
+ &:first-child{
69
+ padding-left: 24px !important;
70
+ }
71
+ &:last-child{
72
+ padding-right: 24px !important;
73
+ }
74
+ }
75
+ }
76
+ }
77
+
78
+ .paginator {
79
+ margin-top: 15px;
80
+ }
81
+ }
82
+ }
@@ -0,0 +1,80 @@
1
+ import { Component, OnInit, ViewChild, Optional, Inject } from '@angular/core';
2
+ import { MatTableDataSource } from '@angular/material/table';
3
+ import { MatPaginator } from '@angular/material/paginator';
4
+ import { MatSort } from '@angular/material/sort';
5
+ import { MatDialogRef } from '@angular/material/dialog';
6
+ import { MAT_DIALOG_DATA } from '@angular/material/dialog';
7
+ import { ICatalogo, filterData } from '../../../core/interfaces/Catalogo';
8
+ import { CatalogoComponent } from '../catalogo/catalogo.component';
9
+
10
+ @Component({
11
+ selector: 'app-catalogo-doble-input',
12
+ templateUrl: './catalogo-doble-input.component.html',
13
+ styleUrls: ['./catalogo-doble-input.component.scss']
14
+ })
15
+ export class CatalogoDobleInputComponent implements OnInit {
16
+
17
+ @ViewChild(MatPaginator) paginator: MatPaginator;
18
+ @ViewChild(MatSort) sort: MatSort;
19
+
20
+ public dataSource: MatTableDataSource<any>;
21
+ public colunms: string[];
22
+ public names: string[] = [];
23
+ public filterData: filterData[] = [];
24
+ public first: string = '';
25
+ public second: string = '';
26
+
27
+ constructor(@Optional() private dialogRef: MatDialogRef<CatalogoComponent>,
28
+ @Optional() @Inject(MAT_DIALOG_DATA) public dialogData: ICatalogo) { }
29
+
30
+ ngOnInit() {
31
+ this.colunms = this.dialogData.columns
32
+ this.dataSource = new MatTableDataSource(this.dialogData.dataSource);
33
+ this.dataSource.paginator = this.paginator;
34
+ this.dataSource.sort = this.sort;
35
+ this.filterData = this.dialogData.filterData
36
+ if (this.dialogData.columnNames) {
37
+ this.names = this.dialogData.columnNames
38
+ }
39
+
40
+ this.dataSource.filterPredicate = (data, filter) => {
41
+ let f: string = data[this.filterData[0].property].toString().toLowerCase();
42
+ let s: string = data[this.filterData[1].property].toString().toLowerCase();
43
+ return (f.includes(this.first.toLowerCase()) && s.includes(this.second.toLowerCase()));
44
+ }
45
+
46
+ }
47
+
48
+ ngAfterViewInit() {
49
+ this.dataSource.paginator = this.paginator;
50
+ this.dataSource.sort = this.sort;
51
+ }
52
+
53
+
54
+ /**
55
+ * @description Filtra la tabla de proveedores
56
+ * @param filterValue Palabra clave para filtrar,
57
+ * @return void
58
+ * @author Carlos Albornoz
59
+ */
60
+ public filterTable(filterValue: string, event: KeyboardEvent): void {
61
+ if (event.key !== 'Tab') {
62
+ this.dataSource.filter = filterValue.toLowerCase();
63
+ if (this.dataSource.paginator) {
64
+ this.dataSource.paginator.firstPage();
65
+ }
66
+ }
67
+
68
+ }
69
+
70
+ /**
71
+ * @description Manda a cerrar el dialog
72
+ * @param data Data que se va a mandar de respuesta
73
+ * @return void
74
+ * @author Miguel Ramírez
75
+ */
76
+ public closeDialog(data?: any): void {
77
+ this.dialogRef.close((data) ? data : null);
78
+ }
79
+
80
+ }
@@ -0,0 +1,121 @@
1
+ <div class="container">
2
+
3
+ <!-- HEADER DE EL COMPONENTE -->
4
+ <div class="header mainColor">
5
+ <!-- TÍTULO -->
6
+ <h2>Catálogo Estructura Presupuestaria</h2>
7
+ <!-- BTN CERRAR -->
8
+ <div class="close" (click)="closeDialog()">
9
+ <div class="btn">
10
+ <mat-icon>close</mat-icon>
11
+ </div>
12
+ </div>
13
+ </div>
14
+
15
+ <!-- BODY -->
16
+ <div class="body">
17
+ <!-- FILTER -->
18
+ <div class="filter">
19
+ <mat-form-field class="input">
20
+ <input type="text" matInput placeholder="Filtrar" (keyup)="filterTable($event)">
21
+ </mat-form-field>
22
+ </div>
23
+
24
+ <!-- TABLA -->
25
+ <div class="table-container">
26
+ <table mat-table [dataSource]="dataSource" matSort>
27
+ <!-- columna 1 -->
28
+ <ng-container [matColumnDef]="colunms[0]">
29
+ <th mat-header-cell *matHeaderCellDef mat-sort-header>
30
+ {{ colunms[0] | uppercase }}
31
+ </th>
32
+ <td mat-cell *matCellDef="let element"> {{element.codigoEstructuraProgramaticaOne}} </td>
33
+ </ng-container>
34
+ <!-- columna 2 -->
35
+ <ng-container [matColumnDef]="colunms[1]">
36
+ <th mat-header-cell *matHeaderCellDef mat-sort-header>
37
+ {{ colunms[1] | uppercase }}
38
+ </th>
39
+ <td mat-cell *matCellDef="let element"> {{element.codigoEstructuraProgramaticaTwo}} </td>
40
+ </ng-container>
41
+
42
+ <!-- SI EL NÚMERO DE NIVELES ES MAYOR A 3 -->
43
+ <ng-container *ngIf="dialogData.configuration.nombresEstructuraPresupuestaria.length > 3">
44
+ <!-- columna 3 -->
45
+ <ng-container [matColumnDef]="colunms[2]">
46
+ <th mat-header-cell *matHeaderCellDef mat-sort-header>
47
+ {{ colunms[2] | uppercase }}
48
+ </th>
49
+ <td mat-cell *matCellDef="let element"> {{element.codigoEstructuraProgramaticaThree}} </td>
50
+ </ng-container>
51
+ <!-- columna 4 -->
52
+ <ng-container [matColumnDef]="colunms[3]">
53
+ <th mat-header-cell *matHeaderCellDef mat-sort-header>
54
+ {{ colunms[3] | uppercase }}
55
+ </th>
56
+ <td mat-cell *matCellDef="let element"> {{element.codigoEstructuraProgramaticaFour}} </td>
57
+ </ng-container>
58
+ <!-- columna 5 -->
59
+ <ng-container [matColumnDef]="colunms[4]">
60
+ <th mat-header-cell *matHeaderCellDef mat-sort-header>
61
+ {{ colunms[4] | uppercase }}
62
+ </th>
63
+ <td mat-cell *matCellDef="let element"> {{element.codigoEstructuraProgramatica}} </td>
64
+ </ng-container>
65
+ <!-- columna 6 -->
66
+ <ng-container [matColumnDef]="colunms[5]">
67
+ <th mat-header-cell *matHeaderCellDef mat-sort-header>
68
+ {{ colunms[5] | uppercase }}
69
+ </th>
70
+ <td mat-cell *matCellDef="let element">
71
+ {{ element.denominacionEstructuraProgramatica }}
72
+ </td>
73
+ </ng-container>
74
+ <!-- columna 7 -->
75
+ <ng-container [matColumnDef]="colunms[6]">
76
+ <th mat-header-cell *matHeaderCellDef mat-sort-header>
77
+ {{ colunms[6] | uppercase }}
78
+ </th>
79
+ <td mat-cell *matCellDef="let element"> PROGRAMÁTICA </td>
80
+ </ng-container>
81
+ </ng-container>
82
+
83
+ <!-- SI EL NÚMERO DE NIVELES ES MENOR A 3 -->
84
+ <ng-container *ngIf="dialogData.configuration.nombresEstructuraPresupuestaria.length <= 3">
85
+ <!-- columna 3 -->
86
+ <ng-container [matColumnDef]="colunms[2]">
87
+ <th mat-header-cell *matHeaderCellDef mat-sort-header>
88
+ {{ colunms[2] | uppercase }}
89
+ </th>
90
+ <td mat-cell *matCellDef="let element">
91
+ {{element.codigoEstructuraProgramatica}}
92
+ </td>
93
+ </ng-container>
94
+ <!-- columna 4 -->
95
+ <ng-container [matColumnDef]="colunms[5]">
96
+ <th mat-header-cell *matHeaderCellDef mat-sort-header>
97
+ {{ colunms[3] | uppercase }}
98
+ </th>
99
+ <td mat-cell *matCellDef="let element">
100
+ {{ element.denominacionEstructuraProgramatica }}
101
+ </td>
102
+ </ng-container>
103
+ <!-- columna 5 -->
104
+ <ng-container [matColumnDef]="colunms[6]">
105
+ <th mat-header-cell *matHeaderCellDef mat-sort-header>
106
+ {{ colunms[4] | uppercase }}
107
+ </th>
108
+ <td mat-cell *matCellDef="let element">
109
+ {{ (element.estatusClasificacion == 'P') ? 'PROYECTO' : 'ACCIÓN' }}
110
+ </td>
111
+ </ng-container>
112
+ </ng-container>
113
+
114
+ <tr mat-header-row *matHeaderRowDef="colunms"></tr>
115
+ <tr mat-row *matRowDef="let row; columns: colunms;" class="row" (click)="closeDialog(row)"></tr>
116
+ </table>
117
+ </div>
118
+ <mat-paginator [pageSizeOptions]="[5, 10, 25, 100]" showFirstLastButtons class="paginator"></mat-paginator>
119
+ </div>
120
+
121
+ </div>
@@ -0,0 +1,81 @@
1
+ .container {
2
+
3
+ .header {
4
+ padding: 15px;
5
+ text-align: center;
6
+ border-radius: 5px 5px 0 0;
7
+ display: grid;
8
+ grid-template-columns: repeat(10, 10%);
9
+
10
+ h2 {
11
+ margin: 0;
12
+ grid-column: 1/10;
13
+ text-align: left;
14
+ }
15
+
16
+ .close {
17
+ grid-column: 10/11;
18
+ display: flex;
19
+ justify-content: center;
20
+ align-items: center;
21
+
22
+ .btn {
23
+ width: 30px;
24
+ height: 30px;
25
+ background: white;
26
+ border-radius: 50%;
27
+ display: flex;
28
+ justify-content: center;
29
+ align-items: center;
30
+ cursor: pointer;
31
+
32
+ mat-icon {
33
+ color: black;
34
+ }
35
+ }
36
+ }
37
+ }
38
+
39
+ .body {
40
+ padding: 15px;
41
+ margin-top: 10px;
42
+
43
+ .filter {
44
+
45
+ .input {
46
+ width: 100%;
47
+ }
48
+ }
49
+
50
+ .table-container {
51
+ max-height: 500px;
52
+ overflow: auto;
53
+
54
+ table {
55
+ width: 100%;
56
+
57
+ .row {
58
+
59
+ &:hover {
60
+ background: #777;
61
+ cursor: pointer;
62
+ }
63
+ }
64
+
65
+ td, th {
66
+ padding: 5px 7.5px !important;
67
+ &:first-child{
68
+ padding-left: 24px !important;
69
+ }
70
+ &:last-child{
71
+ padding-right: 24px !important;
72
+ }
73
+ }
74
+ }
75
+ }
76
+
77
+ .paginator {
78
+ margin-top: 15px;
79
+ }
80
+ }
81
+ }
@@ -0,0 +1,68 @@
1
+ import { Component, OnInit, ViewChild, Optional, Inject } from '@angular/core';
2
+ import { MatTableDataSource } from '@angular/material/table';
3
+ import { MatPaginator } from '@angular/material/paginator';
4
+ import { MatSort } from '@angular/material/sort';
5
+ import { MatDialogRef } from '@angular/material/dialog';
6
+ import { MAT_DIALOG_DATA } from '@angular/material/dialog';
7
+ import { MConfigurationSPG } from '../../../core/models/SPG/configurationSPG.model';
8
+
9
+
10
+ @Component({
11
+ selector: 'app-catalogo-estructuras',
12
+ templateUrl: './catalogo-estructuras.component.html',
13
+ styleUrls: ['./catalogo-estructuras.component.scss']
14
+ })
15
+ export class CatalogoEstructurasComponent implements OnInit {
16
+
17
+ @ViewChild(MatPaginator, {static: true}) public paginator: MatPaginator;
18
+ @ViewChild(MatSort, {static: true}) public sort: MatSort;
19
+
20
+ public dataSource: MatTableDataSource<any[]>;
21
+ public colunms: string[];
22
+
23
+ constructor(@Optional() private dialogRef: MatDialogRef<CatalogoEstructurasComponent>,
24
+ @Optional() @Inject(MAT_DIALOG_DATA) public dialogData: IDialogData) { }
25
+
26
+ ngOnInit() {
27
+ const { nombresEstructuraPresupuestaria } = this.dialogData.configuration;
28
+ const [one, two, three, four, five] = nombresEstructuraPresupuestaria;
29
+ if (+this.dialogData.configuration.numerosNiveles > 3) {
30
+ this.colunms = [one, two, three, four, five, 'Denominación', 'Tipo'];
31
+ } else {
32
+ this.colunms = [one, two, three, 'Denominación', 'Tipo'];
33
+ }
34
+ this.dataSource = new MatTableDataSource(this.dialogData.data);
35
+ this.dataSource.paginator = this.paginator;
36
+ this.dataSource.sort = this.sort;
37
+ }
38
+
39
+ /**
40
+ * @description Filtra la tabla de proveedores
41
+ * @param filterValue Palabra clave para filtrar,
42
+ * @return void
43
+ * @author Miguel Ramírez
44
+ */
45
+ public filterTable(filterValue: any): void {
46
+ this.dataSource.filter = filterValue.target.value.trim().toLowerCase();
47
+
48
+ if (this.dataSource.paginator) {
49
+ this.dataSource.paginator.firstPage();
50
+ }
51
+ }
52
+
53
+ /**
54
+ * @description Manda a cerrar el dialog
55
+ * @param data Data que se va a mandar de respuesta
56
+ * @return void
57
+ * @author Miguel Ramírez
58
+ */
59
+ public closeDialog(data?: any): void {
60
+ this.dialogRef.close((data) ? data : null);
61
+ }
62
+
63
+ }
64
+
65
+ interface IDialogData {
66
+ data: any[],
67
+ configuration: MConfigurationSPG
68
+ }