sigesp 1.0.16-20240818 → 1.0.18-20240821

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 (576) hide show
  1. package/README.md +9 -12
  2. package/karma.conf.js +32 -0
  3. package/ng-package.json +7 -0
  4. package/package.json +11 -31
  5. package/src/lib/app/app.component.html +1 -0
  6. package/src/lib/app/app.component.scss +0 -0
  7. package/src/lib/app/app.component.ts +15 -0
  8. package/src/lib/app/app.module.ts +21 -0
  9. package/src/lib/core/interfaces/Auditoria.ts +72 -0
  10. package/src/lib/core/interfaces/Banco.ts +633 -0
  11. package/src/lib/core/interfaces/Catalogo.ts +15 -0
  12. package/src/lib/core/interfaces/CentroCosto.ts +20 -0
  13. package/src/lib/core/interfaces/Clasificacion.ts +6 -0
  14. package/src/lib/core/interfaces/Cliente.ts +36 -0
  15. package/src/lib/core/interfaces/ComprobantePresupuestario.ts +43 -0
  16. package/src/lib/core/interfaces/Comunidad.ts +12 -0
  17. package/src/lib/core/interfaces/Configuracion.ts +110 -0
  18. package/src/lib/core/interfaces/ConfiguracionRPC.ts +10 -0
  19. package/src/lib/core/interfaces/ConfiguracionSCG.ts +54 -0
  20. package/src/lib/core/interfaces/ConfigurationSPG.ts +43 -0
  21. package/src/lib/core/interfaces/Constantes.ts +463 -0
  22. package/src/lib/core/interfaces/CuentaEgresos.ts +159 -0
  23. package/src/lib/core/interfaces/CuentaIngreso.ts +37 -0
  24. package/src/lib/core/interfaces/CuentaIngresoEstructura.ts +25 -0
  25. package/src/lib/core/interfaces/CuentaInstitucional.ts +26 -0
  26. package/src/lib/core/interfaces/CuentaPresupuesto.ts +7 -0
  27. package/src/lib/core/interfaces/CuentasPorPagar.ts +40 -0
  28. package/src/lib/core/interfaces/Documento.ts +6 -0
  29. package/src/lib/core/interfaces/EntradaSuministro.ts +93 -0
  30. package/src/lib/core/interfaces/Especialidad.ts +4 -0
  31. package/src/lib/core/interfaces/EstructuraPresupuestaria.ts +96 -0
  32. package/src/lib/core/interfaces/FuenteFinanciamiento.ts +7 -0
  33. package/src/lib/core/interfaces/IBancoCuentasPorPagar.ts +192 -0
  34. package/src/lib/core/interfaces/ITipoDepositos.ts +17 -0
  35. package/src/lib/core/interfaces/Integracion.ts +6 -0
  36. package/src/lib/core/interfaces/Lugares.ts +45 -0
  37. package/src/lib/core/interfaces/Moneda.ts +22 -0
  38. package/src/lib/core/interfaces/Nomina.ts +607 -0
  39. package/src/lib/core/interfaces/PlanUnicoCuenta.ts +4 -0
  40. package/src/lib/core/interfaces/Presupuesto.ts +132 -0
  41. package/src/lib/core/interfaces/Proveedor.ts +79 -0
  42. package/src/lib/core/interfaces/RecursosHumanos.ts +1728 -0
  43. package/{lib/core/interfaces/Request.d.ts → src/lib/core/interfaces/Request.ts} +4 -3
  44. package/src/lib/core/interfaces/Response.ts +7 -0
  45. package/src/lib/core/interfaces/Seguridad.ts +118 -0
  46. package/src/lib/core/interfaces/Servicios.ts +64 -0
  47. package/src/lib/core/interfaces/Sistema.ts +21 -0
  48. package/src/lib/core/interfaces/Tributos.ts +78 -0
  49. package/src/lib/core/interfaces/UnidadTributaria.ts +11 -0
  50. package/src/lib/core/interfaces/Usuario.ts +57 -0
  51. package/src/lib/core/interfaces/UsuarioPrefijo.ts +12 -0
  52. package/src/lib/core/models/CFG/Empresa.model.ts +155 -0
  53. package/src/lib/core/models/CFG/Enterprise.model.ts +74 -0
  54. package/src/lib/core/models/CFG/MPrefijo.model.ts +66 -0
  55. package/src/lib/core/models/CFG/Procede.model.ts +34 -0
  56. package/src/lib/core/models/CFG/TasaCambio.model.ts +37 -0
  57. package/src/lib/core/models/CFG/comunidad.model.ts +34 -0
  58. package/src/lib/core/models/CFG/locations.model.ts +189 -0
  59. package/src/lib/core/models/CFG/moneda.model.ts +82 -0
  60. package/src/lib/core/models/CFG/userPrefix.model.ts +48 -0
  61. package/src/lib/core/models/CXP/MConceptosCXP.model.ts +36 -0
  62. package/src/lib/core/models/CXP/MTipoDocumentoCXP.model.ts +49 -0
  63. package/src/lib/core/models/RPC/clasification.model.ts +22 -0
  64. package/src/lib/core/models/RPC/configuracionRPC.model.ts +27 -0
  65. package/src/lib/core/models/RPC/document.model.ts +20 -0
  66. package/src/lib/core/models/RPC/proveedores.model.ts +15 -0
  67. package/src/lib/core/models/RPC/providerBeneficiary.model.ts +164 -0
  68. package/src/lib/core/models/RPC/specialty.model.ts +14 -0
  69. package/src/lib/core/models/SCB/bank.model.ts +205 -0
  70. package/src/lib/core/models/SCG/IncomeAccount.ts +87 -0
  71. package/src/lib/core/models/SCG/accountMarriage.model.ts +33 -0
  72. package/src/lib/core/models/SCG/centroCosto.model.ts +72 -0
  73. package/src/lib/core/models/SCG/configuracionSCG.model.ts +172 -0
  74. package/src/lib/core/models/SCG/cuentaInstitucional.model.ts +91 -0
  75. package/src/lib/core/models/SCG/planUnicoCuenta.model.ts +22 -0
  76. package/src/lib/core/models/SFV/MClienteModel.ts +119 -0
  77. package/src/lib/core/models/SIV/MDetaContable.model.ts +65 -0
  78. package/src/lib/core/models/SIV/MDetaEntrada.model.ts +98 -0
  79. package/src/lib/core/models/SIV/MEntradaSuministro.model.ts +135 -0
  80. package/src/lib/core/models/SIV/MTipoDepositos.model.ts +65 -0
  81. package/src/lib/core/models/SNO/MAnticipoPrestaciones.model.ts +112 -0
  82. package/src/lib/core/models/SNO/MArchivoTxtCampo.model.ts +63 -0
  83. package/src/lib/core/models/SNO/MArchivosTxt.model.ts +53 -0
  84. package/src/lib/core/models/SNO/MAsignacionCargo.model.ts +218 -0
  85. package/src/lib/core/models/SNO/MAspectoEvaluacion.model.ts +97 -0
  86. package/src/lib/core/models/SNO/MAuditoria.model.ts +67 -0
  87. package/src/lib/core/models/SNO/MBeneficiario.model.ts +139 -0
  88. package/src/lib/core/models/SNO/MCargaFamiliar.model.ts +54 -0
  89. package/src/lib/core/models/SNO/MCargaMasiva.model.ts +37 -0
  90. package/src/lib/core/models/SNO/MCargosPersonal.model.ts +108 -0
  91. package/src/lib/core/models/SNO/MClasificacionObrero.mdel.ts +48 -0
  92. package/src/lib/core/models/SNO/MCodigoUnicoRac.model.ts +41 -0
  93. package/src/lib/core/models/SNO/MComponete.model.ts +40 -0
  94. package/src/lib/core/models/SNO/MConceptoVacaciones.model.ts +94 -0
  95. package/src/lib/core/models/SNO/MConceptosNomina.model.ts +240 -0
  96. package/src/lib/core/models/SNO/MConceptosPersonalNomina.model.ts +103 -0
  97. package/src/lib/core/models/SNO/MConcursante.model.ts +333 -0
  98. package/src/lib/core/models/SNO/MConcurso.model.ts +267 -0
  99. package/src/lib/core/models/SNO/MConfiguracionSNO.model.ts +412 -0
  100. package/src/lib/core/models/SNO/MConstanteNomina.model.ts +76 -0
  101. package/src/lib/core/models/SNO/MConstantePersonalNomina.model.ts +85 -0
  102. package/src/lib/core/models/SNO/MDedicacion.model.ts +37 -0
  103. package/src/lib/core/models/SNO/MDefinicionNomina.model.ts +330 -0
  104. package/src/lib/core/models/SNO/MDefinicionesBasicas.model.ts +94 -0
  105. package/src/lib/core/models/SNO/MDeudaAnterior.model.ts +42 -0
  106. package/src/lib/core/models/SNO/MEncargaduria.model.ts +142 -0
  107. package/src/lib/core/models/SNO/MEscalaEvaluacion.model.ts +43 -0
  108. package/src/lib/core/models/SNO/MEscalaEvaluacionDt.model.ts +40 -0
  109. package/src/lib/core/models/SNO/MEstructuraOrganizativa.model.ts +125 -0
  110. package/src/lib/core/models/SNO/MFamiliares.model.ts +91 -0
  111. package/src/lib/core/models/SNO/MFeriados.model.ts +46 -0
  112. package/src/lib/core/models/SNO/MFideicomiso.model.ts +423 -0
  113. package/src/lib/core/models/SNO/MFormacionAcademica.model.ts +52 -0
  114. package/src/lib/core/models/SNO/MGrado.model.ts +50 -0
  115. package/src/lib/core/models/SNO/MHojaTiempo.model.ts +128 -0
  116. package/src/lib/core/models/SNO/MImpuestoSobreRenta.model.ts +77 -0
  117. package/src/lib/core/models/SNO/MMetodoBanco.model.ts +113 -0
  118. package/src/lib/core/models/SNO/MNominaSimple.model.ts +93 -0
  119. package/src/lib/core/models/SNO/MPeriodoNomina.model.ts +196 -0
  120. package/src/lib/core/models/SNO/MPermisos.model.ts +70 -0
  121. package/src/lib/core/models/SNO/MPersonal.model.ts +659 -0
  122. package/src/lib/core/models/SNO/MPersonalJubilado.model.ts +71 -0
  123. package/src/lib/core/models/SNO/MPersonalNomina.model.ts +328 -0
  124. package/src/lib/core/models/SNO/MPlanHorario.model.ts +134 -0
  125. package/src/lib/core/models/SNO/MPlantillaConstancia.model.ts +33 -0
  126. package/src/lib/core/models/SNO/MPrestamo.model.ts +242 -0
  127. package/src/lib/core/models/SNO/MPrimaGrados.model.ts +46 -0
  128. package/src/lib/core/models/SNO/MPrimasConcepto.model.ts +45 -0
  129. package/src/lib/core/models/SNO/MRango.model.ts +45 -0
  130. package/src/lib/core/models/SNO/MReportesRRHH.ts +425 -0
  131. package/src/lib/core/models/SNO/MRequisitosConcursante.model.ts +48 -0
  132. package/src/lib/core/models/SNO/MRequisitosConcursos.model.ts +41 -0
  133. package/src/lib/core/models/SNO/MRequisitosMinimos.model.ts +123 -0
  134. package/src/lib/core/models/SNO/MSalarioHistorico.model.ts +75 -0
  135. package/src/lib/core/models/SNO/MSolicitudEmpleo.model.ts +125 -0
  136. package/src/lib/core/models/SNO/MTablaVacaciones.model.ts +61 -0
  137. package/src/lib/core/models/SNO/MTablaVacacionesPeriodo.model.ts +45 -0
  138. package/src/lib/core/models/SNO/MTabulador.model.ts +108 -0
  139. package/src/lib/core/models/SNO/MTipoEvaluacion.model.ts +85 -0
  140. package/src/lib/core/models/SNO/MTipoPersonal.model.ts +37 -0
  141. package/src/lib/core/models/SNO/MTiposEnfermedad.model.ts +40 -0
  142. package/src/lib/core/models/SNO/MTrabajoAnterior.model.ts +70 -0
  143. package/src/lib/core/models/SNO/MUbicacionFisica.model.ts +63 -0
  144. package/src/lib/core/models/SNO/MVacacionesPersonal.model.ts +119 -0
  145. package/src/lib/core/models/SOC/charge.model.ts +78 -0
  146. package/src/lib/core/models/SOC/clause.model.ts +36 -0
  147. package/src/lib/core/models/SOC/clauseModality.model.ts +40 -0
  148. package/src/lib/core/models/SOC/configuracionSOC.model.ts +68 -0
  149. package/src/lib/core/models/SOC/service.model.ts +50 -0
  150. package/src/lib/core/models/SOC/serviceCharge.model.ts +39 -0
  151. package/src/lib/core/models/SOC/serviceType.model.ts +36 -0
  152. package/src/lib/core/models/SPG/UnidadAdministradoraCentral.ts +47 -0
  153. package/src/lib/core/models/SPG/administrativeUnit.model.ts +153 -0
  154. package/src/lib/core/models/SPG/comprobantePresupuestario.model.ts +93 -0
  155. package/src/lib/core/models/SPG/configurationSPG.model.ts +88 -0
  156. package/src/lib/core/models/SPG/cuentaPresupuesto.model.ts +131 -0
  157. package/src/lib/core/models/SPG/estructuraPresupuestaria.model.ts +280 -0
  158. package/src/lib/core/models/SPG/expensiveAccount.model.ts +114 -0
  159. package/src/lib/core/models/SPG/fuenteFinanciamiento.model.ts +33 -0
  160. package/src/lib/core/models/SPG/incomeStructureAccount.model.ts +84 -0
  161. package/src/lib/core/models/SPG/organizationType.model.ts +16 -0
  162. package/src/lib/core/models/SSS/component.model.ts +51 -0
  163. package/src/lib/core/models/SSS/group.model.ts +39 -0
  164. package/src/lib/core/models/SSS/log.model.ts +36 -0
  165. package/src/lib/core/models/SSS/securityConfiguration.model.ts +26 -0
  166. package/src/lib/core/models/SSS/sistema.ts +85 -0
  167. package/src/lib/core/models/SSS/user.model.ts +52 -0
  168. package/src/lib/core/models/SSS/userDetail.model.ts +78 -0
  169. package/src/lib/core/models/SSS/userPermit.model.ts +61 -0
  170. package/src/lib/core/models/SSS/userRights.model.ts +113 -0
  171. package/src/lib/core/models/STB/MCargosAdicionales.ts +93 -0
  172. package/src/lib/core/models/STB/deduction.model.ts +100 -0
  173. package/src/lib/core/models/STB/deductionType.model.ts +23 -0
  174. package/src/lib/core/models/STB/unidadTributaria.model.ts +25 -0
  175. package/src/lib/core/models/basic-model.model.ts +9 -0
  176. package/src/lib/shared/components/catalogo/catalogo.component.html +45 -0
  177. package/src/lib/shared/components/catalogo/catalogo.component.scss +82 -0
  178. package/src/lib/shared/components/catalogo/catalogo.component.ts +71 -0
  179. package/src/lib/shared/components/catalogo-doble-input/catalogo-doble-input.component.html +57 -0
  180. package/src/lib/shared/components/catalogo-doble-input/catalogo-doble-input.component.scss +82 -0
  181. package/src/lib/shared/components/catalogo-doble-input/catalogo-doble-input.component.ts +80 -0
  182. package/src/lib/shared/components/catalogo-estructuras/catalogo-estructuras.component.html +121 -0
  183. package/src/lib/shared/components/catalogo-estructuras/catalogo-estructuras.component.scss +81 -0
  184. package/src/lib/shared/components/catalogo-estructuras/catalogo-estructuras.component.ts +68 -0
  185. package/src/lib/shared/components/confirm/confirm.component.html +15 -0
  186. package/src/lib/shared/components/confirm/confirm.component.scss +37 -0
  187. package/src/lib/shared/components/confirm/confirm.component.ts +32 -0
  188. package/src/lib/shared/components/icon/flUhRq6tzZclQEJ-Vdg-IuiaDsNc.woff2 +0 -0
  189. package/src/lib/shared/components/icon/icon.component.html +6 -0
  190. package/src/lib/shared/components/icon/icon.component.scss +22 -0
  191. package/src/lib/shared/components/icon/icon.component.ts +19 -0
  192. package/src/lib/shared/components/table-select/table-select.component.html +73 -0
  193. package/src/lib/shared/components/table-select/table-select.component.scss +86 -0
  194. package/src/lib/shared/components/table-select/table-select.component.ts +102 -0
  195. package/src/lib/shared/material/customPaginator.ts +22 -0
  196. package/src/lib/shared/material/material.module.ts +144 -0
  197. package/src/lib/shared/pipes/iso-currency.pipe.ts +44 -0
  198. package/src/lib/shared/shared.module.ts +41 -0
  199. package/src/lib/sigesp.service.ts +2770 -0
  200. package/src/lib/validation.service.ts +172 -0
  201. package/src/public-api.ts +489 -0
  202. package/src/test.ts +23 -0
  203. package/tsconfig.lib.json +27 -0
  204. package/tsconfig.lib.prod.json +6 -0
  205. package/tsconfig.spec.json +17 -0
  206. package/tslint.json +17 -0
  207. package/LICENSE +0 -21
  208. package/esm2020/lib/app/app.component.mjs +0 -14
  209. package/esm2020/lib/app/app.module.mjs +0 -34
  210. package/esm2020/lib/core/interfaces/Auditoria.mjs +0 -49
  211. package/esm2020/lib/core/interfaces/Banco.mjs +0 -2
  212. package/esm2020/lib/core/interfaces/Catalogo.mjs +0 -2
  213. package/esm2020/lib/core/interfaces/CentroCosto.mjs +0 -2
  214. package/esm2020/lib/core/interfaces/Clasificacion.mjs +0 -2
  215. package/esm2020/lib/core/interfaces/Cliente.mjs +0 -2
  216. package/esm2020/lib/core/interfaces/ComprobantePresupuestario.mjs +0 -2
  217. package/esm2020/lib/core/interfaces/Comunidad.mjs +0 -2
  218. package/esm2020/lib/core/interfaces/Configuracion.mjs +0 -2
  219. package/esm2020/lib/core/interfaces/ConfiguracionRPC.mjs +0 -2
  220. package/esm2020/lib/core/interfaces/ConfiguracionSCG.mjs +0 -2
  221. package/esm2020/lib/core/interfaces/ConfigurationSPG.mjs +0 -2
  222. package/esm2020/lib/core/interfaces/Constantes.mjs +0 -365
  223. package/esm2020/lib/core/interfaces/CuentaEgresos.mjs +0 -2
  224. package/esm2020/lib/core/interfaces/CuentaIngreso.mjs +0 -2
  225. package/esm2020/lib/core/interfaces/CuentaIngresoEstructura.mjs +0 -2
  226. package/esm2020/lib/core/interfaces/CuentaInstitucional.mjs +0 -2
  227. package/esm2020/lib/core/interfaces/CuentaPresupuesto.mjs +0 -2
  228. package/esm2020/lib/core/interfaces/CuentasPorPagar.mjs +0 -2
  229. package/esm2020/lib/core/interfaces/Documento.mjs +0 -2
  230. package/esm2020/lib/core/interfaces/EntradaSuministro.mjs +0 -2
  231. package/esm2020/lib/core/interfaces/Especialidad.mjs +0 -2
  232. package/esm2020/lib/core/interfaces/EstructuraPresupuestaria.mjs +0 -2
  233. package/esm2020/lib/core/interfaces/FuenteFinanciamiento.mjs +0 -2
  234. package/esm2020/lib/core/interfaces/IBancoCuentasPorPagar.mjs +0 -2
  235. package/esm2020/lib/core/interfaces/ITipoDepositos.mjs +0 -2
  236. package/esm2020/lib/core/interfaces/Integracion.mjs +0 -2
  237. package/esm2020/lib/core/interfaces/Lugares.mjs +0 -2
  238. package/esm2020/lib/core/interfaces/Moneda.mjs +0 -2
  239. package/esm2020/lib/core/interfaces/Nomina.mjs +0 -27
  240. package/esm2020/lib/core/interfaces/PlanUnicoCuenta.mjs +0 -2
  241. package/esm2020/lib/core/interfaces/Presupuesto.mjs +0 -2
  242. package/esm2020/lib/core/interfaces/Proveedor.mjs +0 -2
  243. package/esm2020/lib/core/interfaces/RecursosHumanos.mjs +0 -4
  244. package/esm2020/lib/core/interfaces/Request.mjs +0 -2
  245. package/esm2020/lib/core/interfaces/Response.mjs +0 -2
  246. package/esm2020/lib/core/interfaces/Seguridad.mjs +0 -2
  247. package/esm2020/lib/core/interfaces/Servicios.mjs +0 -2
  248. package/esm2020/lib/core/interfaces/Sistema.mjs +0 -2
  249. package/esm2020/lib/core/interfaces/Tributos.mjs +0 -2
  250. package/esm2020/lib/core/interfaces/UnidadTributaria.mjs +0 -2
  251. package/esm2020/lib/core/interfaces/Usuario.mjs +0 -2
  252. package/esm2020/lib/core/interfaces/UsuarioPrefijo.mjs +0 -2
  253. package/esm2020/lib/core/models/CFG/Empresa.model.mjs +0 -151
  254. package/esm2020/lib/core/models/CFG/Enterprise.model.mjs +0 -70
  255. package/esm2020/lib/core/models/CFG/MPrefijo.model.mjs +0 -64
  256. package/esm2020/lib/core/models/CFG/Procede.model.mjs +0 -31
  257. package/esm2020/lib/core/models/CFG/TasaCambio.model.mjs +0 -34
  258. package/esm2020/lib/core/models/CFG/comunidad.model.mjs +0 -22
  259. package/esm2020/lib/core/models/CFG/locations.model.mjs +0 -170
  260. package/esm2020/lib/core/models/CFG/moneda.model.mjs +0 -72
  261. package/esm2020/lib/core/models/CFG/userPrefix.model.mjs +0 -46
  262. package/esm2020/lib/core/models/CXP/MConceptosCXP.model.mjs +0 -34
  263. package/esm2020/lib/core/models/CXP/MTipoDocumentoCXP.model.mjs +0 -44
  264. package/esm2020/lib/core/models/RPC/clasification.model.mjs +0 -16
  265. package/esm2020/lib/core/models/RPC/configuracionRPC.model.mjs +0 -23
  266. package/esm2020/lib/core/models/RPC/document.model.mjs +0 -16
  267. package/esm2020/lib/core/models/RPC/proveedores.model.mjs +0 -9
  268. package/esm2020/lib/core/models/RPC/providerBeneficiary.model.mjs +0 -164
  269. package/esm2020/lib/core/models/RPC/specialty.model.mjs +0 -12
  270. package/esm2020/lib/core/models/SCB/bank.model.mjs +0 -181
  271. package/esm2020/lib/core/models/SCG/IncomeAccount.mjs +0 -83
  272. package/esm2020/lib/core/models/SCG/accountMarriage.model.mjs +0 -29
  273. package/esm2020/lib/core/models/SCG/centroCosto.model.mjs +0 -65
  274. package/esm2020/lib/core/models/SCG/configuracionSCG.model.mjs +0 -169
  275. package/esm2020/lib/core/models/SCG/cuentaInstitucional.model.mjs +0 -89
  276. package/esm2020/lib/core/models/SCG/planUnicoCuenta.model.mjs +0 -17
  277. package/esm2020/lib/core/models/SFV/MClienteModel.mjs +0 -116
  278. package/esm2020/lib/core/models/SIV/MDetaContable.model.mjs +0 -62
  279. package/esm2020/lib/core/models/SIV/MDetaEntrada.model.mjs +0 -94
  280. package/esm2020/lib/core/models/SIV/MEntradaSuministro.model.mjs +0 -132
  281. package/esm2020/lib/core/models/SIV/MTipoDepositos.model.mjs +0 -61
  282. package/esm2020/lib/core/models/SNO/MAnticipoPrestaciones.model.mjs +0 -100
  283. package/esm2020/lib/core/models/SNO/MArchivoTxtCampo.model.mjs +0 -61
  284. package/esm2020/lib/core/models/SNO/MArchivosTxt.model.mjs +0 -41
  285. package/esm2020/lib/core/models/SNO/MAsignacionCargo.model.mjs +0 -205
  286. package/esm2020/lib/core/models/SNO/MAspectoEvaluacion.model.mjs +0 -90
  287. package/esm2020/lib/core/models/SNO/MAuditoria.model.mjs +0 -61
  288. package/esm2020/lib/core/models/SNO/MBeneficiario.model.mjs +0 -137
  289. package/esm2020/lib/core/models/SNO/MCargaFamiliar.model.mjs +0 -52
  290. package/esm2020/lib/core/models/SNO/MCargaMasiva.model.mjs +0 -34
  291. package/esm2020/lib/core/models/SNO/MCargosPersonal.model.mjs +0 -101
  292. package/esm2020/lib/core/models/SNO/MClasificacionObrero.mdel.mjs +0 -46
  293. package/esm2020/lib/core/models/SNO/MCodigoUnicoRac.model.mjs +0 -39
  294. package/esm2020/lib/core/models/SNO/MComponete.model.mjs +0 -38
  295. package/esm2020/lib/core/models/SNO/MConceptoVacaciones.model.mjs +0 -85
  296. package/esm2020/lib/core/models/SNO/MConceptosNomina.model.mjs +0 -231
  297. package/esm2020/lib/core/models/SNO/MConceptosPersonalNomina.model.mjs +0 -97
  298. package/esm2020/lib/core/models/SNO/MConcursante.model.mjs +0 -317
  299. package/esm2020/lib/core/models/SNO/MConcurso.model.mjs +0 -246
  300. package/esm2020/lib/core/models/SNO/MConfiguracionSNO.model.mjs +0 -410
  301. package/esm2020/lib/core/models/SNO/MConstanteNomina.model.mjs +0 -70
  302. package/esm2020/lib/core/models/SNO/MConstantePersonalNomina.model.mjs +0 -79
  303. package/esm2020/lib/core/models/SNO/MDedicacion.model.mjs +0 -35
  304. package/esm2020/lib/core/models/SNO/MDefinicionNomina.model.mjs +0 -309
  305. package/esm2020/lib/core/models/SNO/MDefinicionesBasicas.model.mjs +0 -84
  306. package/esm2020/lib/core/models/SNO/MDeudaAnterior.model.mjs +0 -40
  307. package/esm2020/lib/core/models/SNO/MEncargaduria.model.mjs +0 -138
  308. package/esm2020/lib/core/models/SNO/MEscalaEvaluacion.model.mjs +0 -38
  309. package/esm2020/lib/core/models/SNO/MEscalaEvaluacionDt.model.mjs +0 -37
  310. package/esm2020/lib/core/models/SNO/MEstructuraOrganizativa.model.mjs +0 -119
  311. package/esm2020/lib/core/models/SNO/MFamiliares.model.mjs +0 -86
  312. package/esm2020/lib/core/models/SNO/MFeriados.model.mjs +0 -43
  313. package/esm2020/lib/core/models/SNO/MFideicomiso.model.mjs +0 -406
  314. package/esm2020/lib/core/models/SNO/MFormacionAcademica.model.mjs +0 -49
  315. package/esm2020/lib/core/models/SNO/MGrado.model.mjs +0 -47
  316. package/esm2020/lib/core/models/SNO/MHojaTiempo.model.mjs +0 -117
  317. package/esm2020/lib/core/models/SNO/MImpuestoSobreRenta.model.mjs +0 -73
  318. package/esm2020/lib/core/models/SNO/MMetodoBanco.model.mjs +0 -105
  319. package/esm2020/lib/core/models/SNO/MNominaSimple.model.mjs +0 -86
  320. package/esm2020/lib/core/models/SNO/MPeriodoNomina.model.mjs +0 -184
  321. package/esm2020/lib/core/models/SNO/MPermisos.model.mjs +0 -68
  322. package/esm2020/lib/core/models/SNO/MPersonal.model.mjs +0 -638
  323. package/esm2020/lib/core/models/SNO/MPersonalJubilado.model.mjs +0 -64
  324. package/esm2020/lib/core/models/SNO/MPersonalNomina.model.mjs +0 -313
  325. package/esm2020/lib/core/models/SNO/MPlanHorario.model.mjs +0 -117
  326. package/esm2020/lib/core/models/SNO/MPlantillaConstancia.model.mjs +0 -31
  327. package/esm2020/lib/core/models/SNO/MPrestamo.model.mjs +0 -221
  328. package/esm2020/lib/core/models/SNO/MPrimaGrados.model.mjs +0 -43
  329. package/esm2020/lib/core/models/SNO/MPrimasConcepto.model.mjs +0 -43
  330. package/esm2020/lib/core/models/SNO/MRango.model.mjs +0 -43
  331. package/esm2020/lib/core/models/SNO/MReportesRRHH.mjs +0 -402
  332. package/esm2020/lib/core/models/SNO/MRequisitosConcursante.model.mjs +0 -46
  333. package/esm2020/lib/core/models/SNO/MRequisitosConcursos.model.mjs +0 -37
  334. package/esm2020/lib/core/models/SNO/MRequisitosMinimos.model.mjs +0 -113
  335. package/esm2020/lib/core/models/SNO/MSalarioHistorico.model.mjs +0 -70
  336. package/esm2020/lib/core/models/SNO/MSolicitudEmpleo.model.mjs +0 -121
  337. package/esm2020/lib/core/models/SNO/MTablaVacaciones.model.mjs +0 -57
  338. package/esm2020/lib/core/models/SNO/MTablaVacacionesPeriodo.model.mjs +0 -40
  339. package/esm2020/lib/core/models/SNO/MTabulador.model.mjs +0 -96
  340. package/esm2020/lib/core/models/SNO/MTipoEvaluacion.model.mjs +0 -75
  341. package/esm2020/lib/core/models/SNO/MTipoPersonal.model.mjs +0 -34
  342. package/esm2020/lib/core/models/SNO/MTiposEnfermedad.model.mjs +0 -37
  343. package/esm2020/lib/core/models/SNO/MTrabajoAnterior.model.mjs +0 -65
  344. package/esm2020/lib/core/models/SNO/MUbicacionFisica.model.mjs +0 -61
  345. package/esm2020/lib/core/models/SNO/MVacacionesPersonal.model.mjs +0 -115
  346. package/esm2020/lib/core/models/SOC/charge.model.mjs +0 -66
  347. package/esm2020/lib/core/models/SOC/clause.model.mjs +0 -31
  348. package/esm2020/lib/core/models/SOC/clauseModality.model.mjs +0 -35
  349. package/esm2020/lib/core/models/SOC/configuracionSOC.model.mjs +0 -62
  350. package/esm2020/lib/core/models/SOC/service.model.mjs +0 -46
  351. package/esm2020/lib/core/models/SOC/serviceCharge.model.mjs +0 -37
  352. package/esm2020/lib/core/models/SOC/serviceType.model.mjs +0 -31
  353. package/esm2020/lib/core/models/SPG/UnidadAdministradoraCentral.mjs +0 -43
  354. package/esm2020/lib/core/models/SPG/administrativeUnit.model.mjs +0 -112
  355. package/esm2020/lib/core/models/SPG/comprobantePresupuestario.model.mjs +0 -51
  356. package/esm2020/lib/core/models/SPG/configurationSPG.model.mjs +0 -59
  357. package/esm2020/lib/core/models/SPG/cuentaPresupuesto.model.mjs +0 -120
  358. package/esm2020/lib/core/models/SPG/estructuraPresupuestaria.model.mjs +0 -176
  359. package/esm2020/lib/core/models/SPG/expensiveAccount.model.mjs +0 -108
  360. package/esm2020/lib/core/models/SPG/fuenteFinanciamiento.model.mjs +0 -31
  361. package/esm2020/lib/core/models/SPG/incomeStructureAccount.model.mjs +0 -81
  362. package/esm2020/lib/core/models/SPG/organizationType.model.mjs +0 -12
  363. package/esm2020/lib/core/models/SSS/component.model.mjs +0 -44
  364. package/esm2020/lib/core/models/SSS/group.model.mjs +0 -30
  365. package/esm2020/lib/core/models/SSS/log.model.mjs +0 -29
  366. package/esm2020/lib/core/models/SSS/securityConfiguration.model.mjs +0 -20
  367. package/esm2020/lib/core/models/SSS/sistema.mjs +0 -71
  368. package/esm2020/lib/core/models/SSS/user.model.mjs +0 -32
  369. package/esm2020/lib/core/models/SSS/userDetail.model.mjs +0 -73
  370. package/esm2020/lib/core/models/SSS/userPermit.model.mjs +0 -47
  371. package/esm2020/lib/core/models/SSS/userRights.model.mjs +0 -104
  372. package/esm2020/lib/core/models/STB/MCargosAdicionales.mjs +0 -84
  373. package/esm2020/lib/core/models/STB/deduction.model.mjs +0 -90
  374. package/esm2020/lib/core/models/STB/deductionType.model.mjs +0 -20
  375. package/esm2020/lib/core/models/STB/unidadTributaria.model.mjs +0 -14
  376. package/esm2020/lib/core/models/basic-model.model.mjs +0 -8
  377. package/esm2020/lib/shared/components/catalogo/catalogo.component.mjs +0 -76
  378. package/esm2020/lib/shared/components/catalogo-doble-input/catalogo-doble-input.component.mjs +0 -87
  379. package/esm2020/lib/shared/components/catalogo-estructuras/catalogo-estructuras.component.mjs +0 -74
  380. package/esm2020/lib/shared/components/confirm/confirm.component.mjs +0 -35
  381. package/esm2020/lib/shared/components/icon/icon.component.mjs +0 -22
  382. package/esm2020/lib/shared/components/table-select/table-select.component.mjs +0 -99
  383. package/esm2020/lib/shared/material/customPaginator.mjs +0 -24
  384. package/esm2020/lib/shared/material/material.module.mjs +0 -322
  385. package/esm2020/lib/shared/pipes/iso-currency.pipe.mjs +0 -43
  386. package/esm2020/lib/shared/shared.module.mjs +0 -66
  387. package/esm2020/lib/sigesp.service.mjs +0 -2064
  388. package/esm2020/lib/validation.service.mjs +0 -131
  389. package/esm2020/public-api.mjs +0 -156
  390. package/esm2020/sigesp.mjs +0 -5
  391. package/fesm2015/sigesp.mjs +0 -14622
  392. package/fesm2015/sigesp.mjs.map +0 -1
  393. package/fesm2020/sigesp.mjs +0 -14581
  394. package/fesm2020/sigesp.mjs.map +0 -1
  395. package/index.d.ts +0 -5
  396. package/lib/app/app.component.d.ts +0 -8
  397. package/lib/app/app.module.d.ts +0 -10
  398. package/lib/core/interfaces/Auditoria.d.ts +0 -19
  399. package/lib/core/interfaces/Banco.d.ts +0 -593
  400. package/lib/core/interfaces/Catalogo.d.ts +0 -13
  401. package/lib/core/interfaces/CentroCosto.d.ts +0 -18
  402. package/lib/core/interfaces/Clasificacion.d.ts +0 -6
  403. package/lib/core/interfaces/Cliente.d.ts +0 -36
  404. package/lib/core/interfaces/ComprobantePresupuestario.d.ts +0 -42
  405. package/lib/core/interfaces/Comunidad.d.ts +0 -12
  406. package/lib/core/interfaces/Configuracion.d.ts +0 -101
  407. package/lib/core/interfaces/ConfiguracionRPC.d.ts +0 -10
  408. package/lib/core/interfaces/ConfiguracionSCG.d.ts +0 -54
  409. package/lib/core/interfaces/ConfigurationSPG.d.ts +0 -42
  410. package/lib/core/interfaces/Constantes.d.ts +0 -82
  411. package/lib/core/interfaces/CuentaEgresos.d.ts +0 -153
  412. package/lib/core/interfaces/CuentaIngreso.d.ts +0 -37
  413. package/lib/core/interfaces/CuentaIngresoEstructura.d.ts +0 -24
  414. package/lib/core/interfaces/CuentaInstitucional.d.ts +0 -26
  415. package/lib/core/interfaces/CuentaPresupuesto.d.ts +0 -6
  416. package/lib/core/interfaces/CuentasPorPagar.d.ts +0 -37
  417. package/lib/core/interfaces/Documento.d.ts +0 -6
  418. package/lib/core/interfaces/EntradaSuministro.d.ts +0 -87
  419. package/lib/core/interfaces/Especialidad.d.ts +0 -4
  420. package/lib/core/interfaces/EstructuraPresupuestaria.d.ts +0 -89
  421. package/lib/core/interfaces/FuenteFinanciamiento.d.ts +0 -7
  422. package/lib/core/interfaces/IBancoCuentasPorPagar.d.ts +0 -186
  423. package/lib/core/interfaces/ITipoDepositos.d.ts +0 -17
  424. package/lib/core/interfaces/Integracion.d.ts +0 -6
  425. package/lib/core/interfaces/Lugares.d.ts +0 -40
  426. package/lib/core/interfaces/Moneda.d.ts +0 -20
  427. package/lib/core/interfaces/Nomina.d.ts +0 -548
  428. package/lib/core/interfaces/PlanUnicoCuenta.d.ts +0 -4
  429. package/lib/core/interfaces/Presupuesto.d.ts +0 -122
  430. package/lib/core/interfaces/Proveedor.d.ts +0 -75
  431. package/lib/core/interfaces/RecursosHumanos.d.ts +0 -1616
  432. package/lib/core/interfaces/Response.d.ts +0 -7
  433. package/lib/core/interfaces/Seguridad.d.ts +0 -110
  434. package/lib/core/interfaces/Servicios.d.ts +0 -58
  435. package/lib/core/interfaces/Sistema.d.ts +0 -19
  436. package/lib/core/interfaces/Tributos.d.ts +0 -73
  437. package/lib/core/interfaces/UnidadTributaria.d.ts +0 -11
  438. package/lib/core/interfaces/Usuario.d.ts +0 -52
  439. package/lib/core/interfaces/UsuarioPrefijo.d.ts +0 -12
  440. package/lib/core/models/CFG/Empresa.model.d.ts +0 -52
  441. package/lib/core/models/CFG/Enterprise.model.d.ts +0 -24
  442. package/lib/core/models/CFG/MPrefijo.model.d.ts +0 -22
  443. package/lib/core/models/CFG/Procede.model.d.ts +0 -11
  444. package/lib/core/models/CFG/TasaCambio.model.d.ts +0 -12
  445. package/lib/core/models/CFG/comunidad.model.d.ts +0 -15
  446. package/lib/core/models/CFG/locations.model.d.ts +0 -54
  447. package/lib/core/models/CFG/moneda.model.d.ts +0 -26
  448. package/lib/core/models/CFG/userPrefix.model.d.ts +0 -16
  449. package/lib/core/models/CXP/MConceptosCXP.model.d.ts +0 -12
  450. package/lib/core/models/CXP/MTipoDocumentoCXP.model.d.ts +0 -16
  451. package/lib/core/models/RPC/clasification.model.d.ts +0 -11
  452. package/lib/core/models/RPC/configuracionRPC.model.d.ts +0 -12
  453. package/lib/core/models/RPC/document.model.d.ts +0 -11
  454. package/lib/core/models/RPC/proveedores.model.d.ts +0 -8
  455. package/lib/core/models/RPC/providerBeneficiary.model.d.ts +0 -75
  456. package/lib/core/models/RPC/specialty.model.d.ts +0 -9
  457. package/lib/core/models/SCB/bank.model.d.ts +0 -63
  458. package/lib/core/models/SCG/IncomeAccount.d.ts +0 -43
  459. package/lib/core/models/SCG/accountMarriage.model.d.ts +0 -11
  460. package/lib/core/models/SCG/centroCosto.model.d.ts +0 -23
  461. package/lib/core/models/SCG/configuracionSCG.model.d.ts +0 -58
  462. package/lib/core/models/SCG/cuentaInstitucional.model.d.ts +0 -32
  463. package/lib/core/models/SCG/planUnicoCuenta.model.d.ts +0 -8
  464. package/lib/core/models/SFV/MClienteModel.d.ts +0 -40
  465. package/lib/core/models/SIV/MDetaContable.model.d.ts +0 -21
  466. package/lib/core/models/SIV/MDetaEntrada.model.d.ts +0 -33
  467. package/lib/core/models/SIV/MEntradaSuministro.model.d.ts +0 -47
  468. package/lib/core/models/SIV/MTipoDepositos.model.d.ts +0 -21
  469. package/lib/core/models/SNO/MAnticipoPrestaciones.model.d.ts +0 -32
  470. package/lib/core/models/SNO/MArchivoTxtCampo.model.d.ts +0 -21
  471. package/lib/core/models/SNO/MArchivosTxt.model.d.ts +0 -15
  472. package/lib/core/models/SNO/MAsignacionCargo.model.d.ts +0 -79
  473. package/lib/core/models/SNO/MAspectoEvaluacion.model.d.ts +0 -30
  474. package/lib/core/models/SNO/MAuditoria.model.d.ts +0 -21
  475. package/lib/core/models/SNO/MBeneficiario.model.d.ts +0 -48
  476. package/lib/core/models/SNO/MCargaFamiliar.model.d.ts +0 -18
  477. package/lib/core/models/SNO/MCargaMasiva.model.d.ts +0 -12
  478. package/lib/core/models/SNO/MCargosPersonal.model.d.ts +0 -40
  479. package/lib/core/models/SNO/MClasificacionObrero.mdel.d.ts +0 -16
  480. package/lib/core/models/SNO/MCodigoUnicoRac.model.d.ts +0 -14
  481. package/lib/core/models/SNO/MComponete.model.d.ts +0 -14
  482. package/lib/core/models/SNO/MConceptoVacaciones.model.d.ts +0 -30
  483. package/lib/core/models/SNO/MConceptosNomina.model.d.ts +0 -77
  484. package/lib/core/models/SNO/MConceptosPersonalNomina.model.d.ts +0 -34
  485. package/lib/core/models/SNO/MConcursante.model.d.ts +0 -104
  486. package/lib/core/models/SNO/MConcurso.model.d.ts +0 -83
  487. package/lib/core/models/SNO/MConfiguracionSNO.model.d.ts +0 -138
  488. package/lib/core/models/SNO/MConstanteNomina.model.d.ts +0 -24
  489. package/lib/core/models/SNO/MConstantePersonalNomina.model.d.ts +0 -27
  490. package/lib/core/models/SNO/MDedicacion.model.d.ts +0 -13
  491. package/lib/core/models/SNO/MDefinicionNomina.model.d.ts +0 -119
  492. package/lib/core/models/SNO/MDefinicionesBasicas.model.d.ts +0 -26
  493. package/lib/core/models/SNO/MDeudaAnterior.model.d.ts +0 -14
  494. package/lib/core/models/SNO/MEncargaduria.model.d.ts +0 -47
  495. package/lib/core/models/SNO/MEscalaEvaluacion.model.d.ts +0 -15
  496. package/lib/core/models/SNO/MEscalaEvaluacionDt.model.d.ts +0 -14
  497. package/lib/core/models/SNO/MEstructuraOrganizativa.model.d.ts +0 -42
  498. package/lib/core/models/SNO/MFamiliares.model.d.ts +0 -31
  499. package/lib/core/models/SNO/MFeriados.model.d.ts +0 -16
  500. package/lib/core/models/SNO/MFideicomiso.model.d.ts +0 -143
  501. package/lib/core/models/SNO/MFormacionAcademica.model.d.ts +0 -18
  502. package/lib/core/models/SNO/MGrado.model.d.ts +0 -18
  503. package/lib/core/models/SNO/MHojaTiempo.model.d.ts +0 -40
  504. package/lib/core/models/SNO/MImpuestoSobreRenta.model.d.ts +0 -25
  505. package/lib/core/models/SNO/MMetodoBanco.model.d.ts +0 -35
  506. package/lib/core/models/SNO/MNominaSimple.model.d.ts +0 -36
  507. package/lib/core/models/SNO/MPeriodoNomina.model.d.ts +0 -58
  508. package/lib/core/models/SNO/MPermisos.model.d.ts +0 -24
  509. package/lib/core/models/SNO/MPersonal.model.d.ts +0 -219
  510. package/lib/core/models/SNO/MPersonalJubilado.model.d.ts +0 -23
  511. package/lib/core/models/SNO/MPersonalNomina.model.d.ts +0 -100
  512. package/lib/core/models/SNO/MPlanHorario.model.d.ts +0 -41
  513. package/lib/core/models/SNO/MPlantillaConstancia.model.d.ts +0 -11
  514. package/lib/core/models/SNO/MPrestamo.model.d.ts +0 -69
  515. package/lib/core/models/SNO/MPrimaGrados.model.d.ts +0 -15
  516. package/lib/core/models/SNO/MPrimasConcepto.model.d.ts +0 -15
  517. package/lib/core/models/SNO/MRango.model.d.ts +0 -15
  518. package/lib/core/models/SNO/MReportesRRHH.d.ts +0 -130
  519. package/lib/core/models/SNO/MRequisitosConcursante.model.d.ts +0 -16
  520. package/lib/core/models/SNO/MRequisitosConcursos.model.d.ts +0 -14
  521. package/lib/core/models/SNO/MRequisitosMinimos.model.d.ts +0 -39
  522. package/lib/core/models/SNO/MSalarioHistorico.model.d.ts +0 -25
  523. package/lib/core/models/SNO/MSolicitudEmpleo.model.d.ts +0 -42
  524. package/lib/core/models/SNO/MTablaVacaciones.model.d.ts +0 -15
  525. package/lib/core/models/SNO/MTablaVacacionesPeriodo.model.d.ts +0 -15
  526. package/lib/core/models/SNO/MTabulador.model.d.ts +0 -39
  527. package/lib/core/models/SNO/MTipoEvaluacion.model.d.ts +0 -28
  528. package/lib/core/models/SNO/MTipoPersonal.model.d.ts +0 -13
  529. package/lib/core/models/SNO/MTiposEnfermedad.model.d.ts +0 -14
  530. package/lib/core/models/SNO/MTrabajoAnterior.model.d.ts +0 -24
  531. package/lib/core/models/SNO/MUbicacionFisica.model.d.ts +0 -21
  532. package/lib/core/models/SNO/MVacacionesPersonal.model.d.ts +0 -40
  533. package/lib/core/models/SOC/charge.model.d.ts +0 -24
  534. package/lib/core/models/SOC/clause.model.d.ts +0 -11
  535. package/lib/core/models/SOC/clauseModality.model.d.ts +0 -13
  536. package/lib/core/models/SOC/configuracionSOC.model.d.ts +0 -20
  537. package/lib/core/models/SOC/service.model.d.ts +0 -16
  538. package/lib/core/models/SOC/serviceCharge.model.d.ts +0 -13
  539. package/lib/core/models/SOC/serviceType.model.d.ts +0 -11
  540. package/lib/core/models/SPG/UnidadAdministradoraCentral.d.ts +0 -15
  541. package/lib/core/models/SPG/administrativeUnit.model.d.ts +0 -58
  542. package/lib/core/models/SPG/comprobantePresupuestario.model.d.ts +0 -46
  543. package/lib/core/models/SPG/configurationSPG.model.d.ts +0 -37
  544. package/lib/core/models/SPG/cuentaPresupuesto.model.d.ts +0 -57
  545. package/lib/core/models/SPG/estructuraPresupuestaria.model.d.ts +0 -123
  546. package/lib/core/models/SPG/expensiveAccount.model.d.ts +0 -49
  547. package/lib/core/models/SPG/fuenteFinanciamiento.model.d.ts +0 -11
  548. package/lib/core/models/SPG/incomeStructureAccount.model.d.ts +0 -38
  549. package/lib/core/models/SPG/organizationType.model.d.ts +0 -9
  550. package/lib/core/models/SSS/component.model.d.ts +0 -16
  551. package/lib/core/models/SSS/group.model.d.ts +0 -16
  552. package/lib/core/models/SSS/log.model.d.ts +0 -15
  553. package/lib/core/models/SSS/securityConfiguration.model.d.ts +0 -9
  554. package/lib/core/models/SSS/sistema.d.ts +0 -25
  555. package/lib/core/models/SSS/user.model.d.ts +0 -22
  556. package/lib/core/models/SSS/userDetail.model.d.ts +0 -26
  557. package/lib/core/models/SSS/userPermit.model.d.ts +0 -18
  558. package/lib/core/models/SSS/userRights.model.d.ts +0 -35
  559. package/lib/core/models/STB/MCargosAdicionales.d.ts +0 -31
  560. package/lib/core/models/STB/deduction.model.d.ts +0 -30
  561. package/lib/core/models/STB/deductionType.model.d.ts +0 -9
  562. package/lib/core/models/STB/unidadTributaria.model.d.ts +0 -13
  563. package/lib/core/models/basic-model.model.d.ts +0 -6
  564. package/lib/shared/components/catalogo/catalogo.component.d.ts +0 -35
  565. package/lib/shared/components/catalogo-doble-input/catalogo-doble-input.component.d.ts +0 -39
  566. package/lib/shared/components/catalogo-estructuras/catalogo-estructuras.component.d.ts +0 -38
  567. package/lib/shared/components/confirm/confirm.component.d.ts +0 -21
  568. package/lib/shared/components/icon/icon.component.d.ts +0 -11
  569. package/lib/shared/components/table-select/table-select.component.d.ts +0 -39
  570. package/lib/shared/material/customPaginator.d.ts +0 -9
  571. package/lib/shared/material/material.module.d.ts +0 -48
  572. package/lib/shared/pipes/iso-currency.pipe.d.ts +0 -13
  573. package/lib/shared/shared.module.d.ts +0 -16
  574. package/lib/sigesp.service.d.ts +0 -1060
  575. package/lib/validation.service.d.ts +0 -15
  576. package/public-api.d.ts +0 -164
@@ -0,0 +1,280 @@
1
+ import { IEstructuraPresupuestariaOne, IEstructuraPresupuestariaTwo,
2
+ IEstructuraPresupuestariaThree, IEstructuraPresupuestariaFour,
3
+ IEstructuraPresupuestariaFiveComplete, IEstructuraPresupuestariaFive,
4
+ IEstructuraPresupuestariaThreeComplete
5
+ } from '../../interfaces/EstructuraPresupuestaria';
6
+
7
+ export class MEstructuraPresupuestariaOne {
8
+ public codigoEstructuraProgramatica: string;
9
+ public denominacionEstructuraProgramatica: string;
10
+ public estatusClasificacion: string;
11
+ public idEmpresa: string;
12
+ public cuentaContable: string;
13
+ public idEstructura: string;
14
+ public isNew: boolean = false;
15
+
16
+ constructor(eP: IEstructuraPresupuestariaOne) {
17
+ this.codigoEstructuraProgramatica = eP.codestpro1;
18
+ this.denominacionEstructuraProgramatica = eP.denestpro1;
19
+ this.idEmpresa = eP.id_empresa;
20
+ this.cuentaContable = eP.sc_cuenta;
21
+ this.estatusClasificacion = eP.estcla;
22
+ this.idEstructura = eP.id_ep1;
23
+ }
24
+ }
25
+
26
+ export class MEstructuraPresupuestariaTwo {
27
+ public codigoEstructuraProgramatica: string;
28
+ public denominacionEstructuraProgramatica: string;
29
+ public estatusClasificacion: string;
30
+ public idEmpresa: string;
31
+ public idEstructuraOne: string;
32
+ public idEstructuraTwo: string;
33
+ public isNew: boolean = false;
34
+
35
+ constructor(eP: IEstructuraPresupuestariaTwo) {
36
+ this.codigoEstructuraProgramatica = eP.codestpro2;
37
+ this.denominacionEstructuraProgramatica = eP.denestpro2;
38
+ this.idEmpresa = eP.id_empresa;
39
+ this.estatusClasificacion = eP.estcla;
40
+ this.idEstructuraOne = eP.id_ep1;
41
+ this.idEstructuraTwo = eP.id_ep2;
42
+
43
+ }
44
+ }
45
+
46
+ export class MEstructuraPresupuestariaThree {
47
+ public codigoCentroCosto: string;
48
+ public codigoEstructuraProgramatica: string;
49
+ public codigoFuenteFinanciamiento: string;
50
+ public denominacionEstructuraProgramatica: string;
51
+ public estatusClasificacion: string;
52
+ public idEmpresa: string;
53
+ public idEstructuraOne: string;
54
+ public idEstructuraTwo: string;
55
+ public idEstructuraThree: string;
56
+ public isNew: boolean = false;
57
+
58
+ constructor(ep: IEstructuraPresupuestariaThree) {
59
+ this.codigoCentroCosto = ep.codcencos;
60
+ this.codigoEstructuraProgramatica = ep.codestpro3;
61
+ this.codigoFuenteFinanciamiento = ep.codfuefin;
62
+ this.denominacionEstructuraProgramatica = ep.denestpro3;
63
+ this.estatusClasificacion = ep.estcla;
64
+ this.idEmpresa = ep.id_empresa;
65
+ this.idEstructuraOne = ep.id_ep1;
66
+ this.idEstructuraTwo = ep.id_ep2;
67
+ this.idEstructuraThree = ep.id_ep3;
68
+ }
69
+ }
70
+
71
+ export class MEstructuraPresupuestariaThreeComplete {
72
+ public idEmpresa: string;
73
+ public idEstricturaOne: string;
74
+ public idEstricturaTwo: string;
75
+ public idEstricturaThree: string;
76
+ public codigoEstructuraProgramaticaOne: string;
77
+ public codigoEstructuraProgramaticaTwo: string;
78
+ public codigoEstructuraProgramaticaThree: string;
79
+ public denominacionEstructuraProgramaticaOne: string;
80
+ public denominacionEstructuraProgramaticaTwo: string;
81
+ public denominacionEstructuraProgramaticaThree: string;
82
+ public estatusClasificacion: string;
83
+ public codigoCentroCosto: string;
84
+ public codigoFuenteFinanciamiento: string;
85
+ public isNew: boolean = false;
86
+
87
+ constructor(ep: IEstructuraPresupuestariaThreeComplete) {
88
+ this.idEmpresa = ep.id_empresa;
89
+ this.idEstricturaOne = ep.id_ep1;
90
+ this.idEstricturaTwo = ep.id_ep2;
91
+ this.idEstricturaThree = ep.id_ep3;
92
+ this.codigoEstructuraProgramaticaOne = ep.codestpro1;
93
+ this.codigoEstructuraProgramaticaTwo = ep.codestpro2;
94
+ this.codigoEstructuraProgramaticaThree = ep.codestpro3;
95
+ this.denominacionEstructuraProgramaticaOne = ep.denestpro1;
96
+ this.denominacionEstructuraProgramaticaTwo = ep.denestpro2;
97
+ this.denominacionEstructuraProgramaticaThree = ep.denestpro3;
98
+ this.estatusClasificacion = ep.estcla;
99
+ this.codigoCentroCosto = ep.codcencos;
100
+ this.codigoFuenteFinanciamiento = ep.codfuefin;
101
+ }
102
+ }
103
+
104
+ export class MEstructuraPresupuestariaFour {
105
+ public codigoEstructuraProgramatica: string;
106
+ public denominacionEstructuraProgramatica: string;
107
+ public estatusClasificacion: string;
108
+ public idEmpresa: string;
109
+ public idEstructuraOne: string;
110
+ public idEstructuraTwo: string;
111
+ public idEstructuraThree: string;
112
+ public idEstructuraFour: string;
113
+ public isNew: boolean = false;
114
+
115
+ constructor(ep: IEstructuraPresupuestariaFour) {
116
+ this.codigoEstructuraProgramatica = ep.codestpro4;
117
+ this.denominacionEstructuraProgramatica = ep.denestpro4;
118
+ this.estatusClasificacion = ep.estcla;
119
+ this.idEmpresa = ep.id_empresa;
120
+ this.idEstructuraOne = ep.id_ep1;
121
+ this.idEstructuraTwo = ep.id_ep2;
122
+ this.idEstructuraThree = ep.id_ep3;
123
+ this.idEstructuraFour = ep.id_ep4;
124
+ }
125
+ }
126
+
127
+ export class MEstructuraPresupuestariaFive {
128
+ public idEmpresa: string;
129
+ public idEstructuraOne: string;
130
+ public idEstructuraTwo: string;
131
+ public idEstructuraThree: string;
132
+ public idEstructuraFour: string;
133
+ public idEstructuraFive: string;
134
+ public codigoEstructuraProgramatica: string;
135
+ public denominacionEstructuraProgramatica: string;
136
+ public estatusClasificacion: string;
137
+ public codigoCentroCosto: string;
138
+ public codigoFuenteFinanciamiento: string;
139
+ public isNew: boolean = false;
140
+
141
+
142
+ constructor(ep: IEstructuraPresupuestariaFive) {
143
+ this.idEmpresa = ep.id_empresa;
144
+ this.idEstructuraOne = ep.id_ep1;
145
+ this.idEstructuraTwo = ep.id_ep2;
146
+ this.idEstructuraThree = ep.id_ep3;
147
+ this.idEstructuraFour = ep.id_ep4;
148
+ this.idEstructuraFive = ep.id_ep5;
149
+ this.codigoEstructuraProgramatica = ep.codestpro5;
150
+ this.denominacionEstructuraProgramatica = ep.denestpro5;
151
+ this.estatusClasificacion = ep.estcla;
152
+ this.codigoCentroCosto = ep.codcencos;
153
+ this.codigoFuenteFinanciamiento = ep.codfuefin;
154
+ }
155
+ public dataInterface():IEstructuraPresupuestariaFive {
156
+ return{
157
+ id_empresa: this.idEmpresa,
158
+ id_ep1: this.idEstructuraOne,
159
+ id_ep2: this.idEstructuraTwo,
160
+ id_ep3: this.idEstructuraThree,
161
+ id_ep4: this.idEstructuraFour,
162
+ id_ep5: this.idEstructuraFive,
163
+ codestpro5: this.codigoEstructuraProgramatica,
164
+ denestpro5: this.denominacionEstructuraProgramatica,
165
+ estcla: this.estatusClasificacion,
166
+ codcencos: this.codigoCentroCosto,
167
+ codfuefin: this.codigoFuenteFinanciamiento,
168
+ }
169
+ }
170
+ }
171
+
172
+ export class MEstructuraPresupuestariaFiveComplete {
173
+ public codigoCentroCosto: string;
174
+ public codigoEstructuraProgramaticaOne: string;
175
+ public codigoEstructuraProgramaticaTwo: string;
176
+ public codigoEstructuraProgramaticaThree: string;
177
+ public codigoEstructuraProgramaticaFour: string;
178
+ public codigoEstructuraProgramatica: string;
179
+ public codigoFuenteFinanciera: string;
180
+ public codigoFuenteFinancieraParaMostrar: string;
181
+ public denominacionFueteFinanaciamiento: string;
182
+ public denominacionEstructuraProgramaticaOne: string;
183
+ public denominacionEstructuraProgramaticaTwo: string;
184
+ public denominacionEstructuraProgramaticaThree: string;
185
+ public denominacionEstructuraProgramaticaFour: string;
186
+ public denominacionEstructuraProgramatica: string;
187
+ public estatusClasificacion: string;
188
+ public tipo: string;
189
+ public idEmpresa: string;
190
+ public idEstructuraOne: string;
191
+ public idEstructuraTwo: string;
192
+ public idEstructuraThree: string;
193
+ public idEstructuraFor: string;
194
+ public idEstructuraFive: string;
195
+ public estructura: string = null;
196
+ public denominacion: string = null;
197
+ public level: number = null;
198
+ public isNew: boolean = false;
199
+
200
+ constructor(ep: IEstructuraPresupuestariaFiveComplete, level: number = null) {
201
+
202
+ if(ep){
203
+ this.codigoCentroCosto = ep.codcencos;
204
+ this.codigoEstructuraProgramaticaOne = ep.codestpro1;
205
+ this.codigoEstructuraProgramaticaTwo = ep.codestpro2;
206
+ this.codigoEstructuraProgramaticaThree = ep.codestpro3;
207
+ this.codigoEstructuraProgramaticaFour = ep.codestpro4 ? ep.codestpro4 : '---';
208
+ this.codigoEstructuraProgramatica = ep.codestpro5 ? ep.codestpro5 : '---';
209
+ this.codigoFuenteFinanciera = ep.codfuefin;
210
+ this.codigoFuenteFinancieraParaMostrar= ep.codigoftefin;
211
+ this.denominacionFueteFinanaciamiento=ep.denfuefin;
212
+ this.denominacionEstructuraProgramaticaOne = ep.denestpro1;
213
+ this.denominacionEstructuraProgramaticaTwo = ep.denestpro2;
214
+ this.denominacionEstructuraProgramaticaThree = ep.denestpro3;
215
+ this.denominacionEstructuraProgramaticaFour = ep.denestpro4 ? ep.denestpro4 : '---';
216
+ this.denominacionEstructuraProgramatica = ep.denestpro5 ? ep.denestpro5 : '---';
217
+ this.estatusClasificacion = ep.estcla;
218
+ this.tipo = ep.estcla == "P" ? "PROYECTO" : "ACC. CENT.";
219
+ this.idEmpresa = ep.id_empresa;
220
+ this.idEstructuraOne = ep.id_ep1;
221
+ this.idEstructuraTwo = ep.id_ep2;
222
+ this.idEstructuraThree = ep.id_ep3;
223
+ this.idEstructuraFor = ep.id_ep4 ? ep.id_ep4 : '0';
224
+ this.idEstructuraFive = ep.id_ep5 ? ep.id_ep5 : '0';
225
+
226
+ if (level) {
227
+ this.level = level;
228
+ if (level == 3) {
229
+ this.estructura = `${ep.codestpro1}-${ep.codestpro2}-${ep.codestpro3}`
230
+ this.denominacion = this.denominacionEstructuraProgramaticaThree
231
+ } else {
232
+ this.estructura = `${ep.codestpro1}-${ep.codestpro2}-${ep.codestpro3}-${ep.codestpro4}-${ep.codestpro5}`
233
+ this.denominacion = this.denominacionEstructuraProgramatica
234
+ }
235
+ }
236
+ }
237
+ }
238
+
239
+ public dataInterface():IEstructuraPresupuestariaFiveComplete{
240
+ return {
241
+ codcencos: this.codigoCentroCosto,
242
+ codestpro1: this.codigoEstructuraProgramaticaOne,
243
+ codestpro2: this.codigoEstructuraProgramaticaTwo,
244
+ codestpro3: this.codigoEstructuraProgramaticaThree,
245
+ codestpro4: this.codigoEstructuraProgramaticaFour,
246
+ codestpro5: this.codigoEstructuraProgramatica,
247
+ codfuefin: this.codigoFuenteFinanciera,
248
+ denestpro1: this.denominacionEstructuraProgramaticaOne,
249
+ denestpro2: this.denominacionEstructuraProgramaticaTwo,
250
+ denestpro3: this.denominacionEstructuraProgramaticaThree,
251
+ denestpro4: this.denominacionEstructuraProgramaticaFour,
252
+ denestpro5: this.denominacionEstructuraProgramatica,
253
+ estcla: this.estatusClasificacion,
254
+ id_empresa: this.idEmpresa,
255
+ id_ep1: this.idEstructuraOne,
256
+ id_ep2: this.idEstructuraTwo,
257
+ id_ep3: this.idEstructuraThree,
258
+ id_ep4: this.idEstructuraFor,
259
+ id_ep5: this.idEstructuraFive,
260
+ codigoftefin: this.codigoFuenteFinancieraParaMostrar,
261
+ denfuefin: this.denominacionFueteFinanaciamiento,
262
+ }
263
+ }
264
+ }
265
+
266
+ export class MAllStructure {
267
+ public structureOne: MEstructuraPresupuestariaOne[];
268
+ public structureTwo: MEstructuraPresupuestariaTwo[];
269
+ public structureThree: MEstructuraPresupuestariaThree[];
270
+ public structureFour: MEstructuraPresupuestariaFour[];
271
+ public structureFive: MEstructuraPresupuestariaFive[];
272
+
273
+ constructor({structureOne, structureTwo, structureThree, structureFour, structureFive}) {
274
+ this.structureOne = structureOne;
275
+ this.structureTwo = structureTwo;
276
+ this.structureThree = structureThree;
277
+ this.structureFour = structureFour;
278
+ this.structureFive = structureFive
279
+ }
280
+ }
@@ -0,0 +1,114 @@
1
+ import { ICuentaEgresos } from '../../interfaces/CuentaEgresos';
2
+ import { MBasicModel } from '../basic-model.model';
3
+
4
+ export class MCuentaEgresos extends MBasicModel{
5
+
6
+ public idEmpresa: number = 0;
7
+ public nivel: number = 0;
8
+ public denominacion: string = '';
9
+ public cuenta: string = '';
10
+ public cuentaContable: string = '------------';
11
+ public cuentaONCOP: string = '------------';
12
+ public clasificador: string = '------------';
13
+ public referencia: string = '';
14
+ public aumento: number = 0;
15
+ public asignado: number = 0;
16
+ public causado: number = 0;
17
+ public disminucion: number = 0;
18
+ public distribuir: number = 0;
19
+ public precomprometido: number = 0;
20
+ public pagado: number = 0;
21
+ public enero: number = 0;
22
+ public febrero: number = 0;
23
+ public marzo: number = 0;
24
+ public abril: number = 0;
25
+ public mayo: number = 0;
26
+ public junio: number = 0;
27
+ public julio: number = 0;
28
+ public agosto: number = 0;
29
+ public septiembre: number = 0;
30
+ public octubre: number = 0;
31
+ public noviembre: number = 0;
32
+ public diciembre: number = 0;
33
+ public idEP1: number = 0;
34
+ public idEP2: number = 0;
35
+ public idEP3: number = 0;
36
+ public idEP4: number = 0;
37
+ public idEP5: number = 0;
38
+ public codestpro1: string = '';
39
+ public codestpro2: string = '';
40
+ public codestpro3: string = '';
41
+ public codestpro4: string = '';
42
+ public codestpro5: string = '';
43
+ public estructura: string = '';
44
+ public selected: boolean = false;
45
+ public isNew: boolean = false;
46
+ public error: boolean = false;
47
+ public status: string='';
48
+ public id: number = 0;
49
+ public codfuefin: number= 0;
50
+
51
+ constructor(cuenta?: ICuentaEgresos, level?: number, isNew?: boolean){
52
+ super();
53
+ if(cuenta){
54
+ this.idEmpresa = parseInt(cuenta.id_empresa);
55
+ this.nivel = parseInt(cuenta.nivel);
56
+ this.denominacion = cuenta.denspgcta;
57
+ this.cuenta = cuenta.spg_cuenta;
58
+ this.cuentaContable = cuenta.sc_cuenta;
59
+ this.status=cuenta.status;
60
+ this.referencia = cuenta.referencia;
61
+ this.aumento = parseFloat(cuenta.aumento);
62
+ this.asignado = parseFloat(cuenta.asignado);
63
+ this.causado = parseFloat(cuenta.causado);
64
+ this.pagado = parseFloat(cuenta.pagado)
65
+ this.distribuir = parseFloat(cuenta.distribuir);
66
+ this.disminucion = parseFloat(cuenta.disminiucion);
67
+ this.precomprometido = parseFloat(cuenta.precomprometido)
68
+ this.enero = parseFloat(cuenta.enero);
69
+ this.febrero = parseFloat(cuenta.febrero);
70
+ this.marzo = parseFloat(cuenta.marzo);
71
+ this.abril = parseFloat(cuenta.abril);
72
+ this.mayo = parseFloat(cuenta.mayo);
73
+ this.junio = parseFloat(cuenta.junio);
74
+ this.julio = parseFloat(cuenta.julio);
75
+ this.agosto = parseFloat(cuenta.agosto);
76
+ this.septiembre = parseFloat(cuenta.septiembre);
77
+ this.octubre = parseFloat(cuenta.octubre);
78
+ this.noviembre = parseFloat(cuenta.noviembre);
79
+ this.diciembre = parseFloat(cuenta.diciembre);
80
+ this.clasificador = cuenta.codcuecla;
81
+ this.cuentaONCOP = cuenta.cueoncop;
82
+ this.idEP1 = parseInt(cuenta.id_ep1);
83
+ this.idEP2 = parseInt(cuenta.id_ep2);
84
+ this.idEP3 = parseInt(cuenta.id_ep3);
85
+ this.idEP4 = parseInt(cuenta.id_ep4);
86
+ this.idEP5 = parseInt(cuenta.id_ep5);
87
+ this.codfuefin = parseInt(cuenta.codfuefin);
88
+ this.id = cuenta.id_del_spgcta ? parseInt(cuenta.id_del_spgcta) : 0;
89
+
90
+ this.codestpro1 = cuenta.estructura ? cuenta.estructura.codestpro1 : '';
91
+ this.codestpro2 = cuenta.estructura ? cuenta.estructura.codestpro2 : '';
92
+ this.codestpro3 = cuenta.estructura ? cuenta.estructura.codestpro3 : '';
93
+ this.codestpro4 = cuenta.estructura ? cuenta.estructura.codestpro4 : '';
94
+ this.codestpro5 = cuenta.estructura ? cuenta.estructura.codestpro5 : '';
95
+
96
+ if (cuenta.estructura && level) {
97
+ if (level == 3) {
98
+ this.estructura = `${this.codestpro1}-${this.codestpro2}-${this.codestpro3}`
99
+ } else if (level == 4) {
100
+ this.estructura = `${this.codestpro1}-${this.codestpro2}-${this.codestpro3}-${this.codestpro4}`
101
+ } else {
102
+ this.estructura = `${this.codestpro1}-${this.codestpro2}-${this.codestpro3}-${this.codestpro4}-${this.codestpro5}`
103
+ }
104
+ }
105
+
106
+ this.isNew = false
107
+
108
+ } else{
109
+ this.isNew = true
110
+ }
111
+
112
+ }
113
+
114
+ }
@@ -0,0 +1,33 @@
1
+ import { IFuenteFinanciamiento } from '../../interfaces/FuenteFinanciamiento';
2
+ import { MBasicModel } from '../basic-model.model';
3
+
4
+ export class MFuenteFinanciamiento extends MBasicModel{
5
+ public codigoFuenteFinanciamiento: string='';
6
+ public denominacionFuenteFinanciamiento: string='';
7
+ public explicacionFuenteFinanciamiento: string='';
8
+ public idEmpresa: string='0';
9
+ public codigo: string='0';
10
+
11
+ constructor(fuente?: IFuenteFinanciamiento) {
12
+ super();
13
+ if(fuente){
14
+ this.codigoFuenteFinanciamiento = fuente.codfuefin;
15
+ this.denominacionFuenteFinanciamiento = fuente.denfuefin;
16
+ this.explicacionFuenteFinanciamiento = fuente.expfuefin;
17
+ this.idEmpresa = fuente.id_empresa;
18
+ this.codigo = fuente.codigoftefin
19
+ } else {
20
+ this.isNew=true
21
+ }
22
+ }
23
+
24
+ public dataInterface():IFuenteFinanciamiento{
25
+ return{
26
+ codfuefin: this.codigoFuenteFinanciamiento,
27
+ denfuefin: this.denominacionFuenteFinanciamiento,
28
+ expfuefin: this.explicacionFuenteFinanciamiento,
29
+ id_empresa: this.idEmpresa,
30
+ codigoftefin: this.codigo,
31
+ }
32
+ }
33
+ }
@@ -0,0 +1,84 @@
1
+ import { IIncomeStructureAccount } from '../../interfaces/CuentaIngresoEstructura';
2
+
3
+ export class MIncomeStructureAccount{
4
+
5
+ public idEmpresa: number = null;
6
+ public idEP1: string = null;
7
+ public idEP2: string = null;
8
+ public idEP3: string = null;
9
+ public idEP4: string = null;
10
+ public idEP5: string = null;
11
+ public codestpro1: string = null;
12
+ public codestpro2: string = null;
13
+ public codestpro3: string = null;
14
+ public codestpro4: string = null;
15
+ public codestpro5: string = null;
16
+ public denestpro1: string = null;
17
+ public denestpro2: string = null;
18
+ public denestpro3: string = null;
19
+ public denestpro4: string = null;
20
+ public denestpro5: string = null;
21
+ public cuenta: string = null;
22
+ public previsto: number = null;
23
+ public enero: number = null;
24
+ public febrero: number = null;
25
+ public marzo: number = null;
26
+ public abril: number = null;
27
+ public mayo: number = null;
28
+ public junio: number = null;
29
+ public julio: number = null;
30
+ public agosto: number = null;
31
+ public septiembre: number = null;
32
+ public octubre: number = null;
33
+ public noviembre: number = null;
34
+ public diciembre: number = null;
35
+ public new: boolean = false;
36
+ public structure: string = '';
37
+ public distribuir: number = -1;
38
+ public denominacion: string = '';
39
+
40
+ constructor(account: IIncomeStructureAccount, level: number){
41
+ this.idEmpresa = parseInt(account.id_empresa);
42
+ this.idEP1 = account.id_ep1;
43
+ this.idEP2 = account.id_ep2;
44
+ this.idEP3 = account.id_ep3;
45
+ this.idEP4 = account.id_ep4;
46
+ this.idEP5 = account.id_ep5;
47
+ this.codestpro1 = account.estructura.codestpro1;
48
+ this.codestpro2 = account.estructura.codestpro2;
49
+ this.codestpro3 = account.estructura.codestpro3;
50
+ this.codestpro4 = account.estructura.codestpro4;
51
+ this.codestpro5 = account.estructura.codestpro5;
52
+ this.denestpro1 = account.estructura.denestpro1;
53
+ this.denestpro2 = account.estructura.denestpro2;
54
+ this.denestpro3 = account.estructura.denestpro3;
55
+ this.denestpro4 = account.estructura.denestpro4;
56
+ this.denestpro5 = account.estructura.denestpro5;
57
+ this.cuenta = account.spi_cuenta;
58
+ this.previsto = parseFloat(account.previsto);
59
+ this.enero = parseFloat(account.enero);
60
+ this.febrero = parseFloat(account.febrero);
61
+ this.marzo = parseFloat(account.marzo);
62
+ this.abril = parseFloat(account.abril);
63
+ this.mayo = parseFloat(account.mayo);
64
+ this.junio = parseFloat(account.junio);
65
+ this.julio = parseFloat(account.julio);
66
+ this.agosto = parseFloat(account.agosto);
67
+ this.septiembre = parseFloat(account.septiembre);
68
+ this.octubre = parseFloat(account.octubre);
69
+ this.noviembre = parseFloat(account.noviembre);
70
+ this.diciembre = parseFloat(account.diciembre);
71
+
72
+ if (level == 3) {
73
+ this.structure = `${this.codestpro1}-${this.codestpro2}-${this.codestpro3}`;
74
+ this.denominacion = account.estructura.denestpro3;
75
+ } else if (level == 4) {
76
+ this.structure = `${this.codestpro1}-${this.codestpro2}-${this.codestpro3}-${this.codestpro4}`;
77
+ this.denominacion = account.estructura.denestpro4;
78
+ } else {
79
+ this.structure = `${this.codestpro1}-${this.codestpro2}-${this.codestpro3}-${this.codestpro4}-${this.codestpro5}`;
80
+ this.denominacion = account.estructura.denestpro5
81
+ }
82
+ }
83
+
84
+ }
@@ -0,0 +1,16 @@
1
+ import { IOrganizationType } from '../../interfaces/Proveedor';
2
+
3
+ export class MOrganizationType{
4
+
5
+ public id: number = null;
6
+ public denomination: string = null;
7
+ public selected: boolean = false;
8
+ public error: boolean = false;
9
+ public isNew: boolean = false;
10
+
11
+ constructor(type: IOrganizationType){
12
+ this.id = parseInt(type.id_tiporg);
13
+ this.denomination = type.dentiporg;
14
+ }
15
+
16
+ }
@@ -0,0 +1,51 @@
1
+ import { IComponent } from '../../interfaces/Seguridad';
2
+ import { MBasicModel } from '../basic-model.model';
3
+
4
+ export class MComponent extends MBasicModel{
5
+
6
+ id: number = null;
7
+ systemCode: string = '';
8
+ name: string = '';
9
+ internalName: string = '';
10
+ url: string = '';
11
+ type: number = 0;
12
+ icon: string = '';
13
+ order: number = 0;
14
+ fatherId: number = null;
15
+ children: MComponent[] = [];
16
+
17
+ constructor(comp: IComponent = null){
18
+ super();
19
+ if (comp) {
20
+ this.id = parseInt(comp.id_component);
21
+ this.systemCode = comp.codsis;
22
+ this.name = comp.nomcom;
23
+ this.internalName = comp.nomintcom;
24
+ this.url = comp.url;
25
+ this.type = parseInt(comp.tipo);
26
+ this.icon = comp.icono;
27
+ this.order = parseInt(comp.orden);
28
+ this.fatherId = comp.id_padre ? parseInt(comp.id_padre) : null;
29
+ this.children = comp.children.map(e => new MComponent(e));
30
+ }
31
+ }
32
+
33
+ public interface(): IComponent{
34
+
35
+ return {
36
+ children: this.children.map(e => e.interface()),
37
+ codsis: this.systemCode,
38
+ icono: this.icon,
39
+ id_component: this.id.toString(),
40
+ id_padre: this.fatherId ? this.fatherId.toString() : null,
41
+ nomcom: this.name,
42
+ nomintcom: this.internalName,
43
+ orden: this.order.toString(),
44
+ url: this.url,
45
+ tipo: this.type.toString(),
46
+ new: this.isNew ? '1' : '0'
47
+ }
48
+
49
+ }
50
+
51
+ }
@@ -0,0 +1,39 @@
1
+ import { MBasicModel } from '../basic-model.model';
2
+ import { IGroup } from '../../interfaces/Seguridad';
3
+ import { MRights } from './userRights.model';
4
+ import { MUserDetail } from './userDetail.model';
5
+
6
+ export class MGroup extends MBasicModel {
7
+
8
+ public id: number = null;
9
+ public code: string = '';
10
+ public name: string = '';
11
+ public status: boolean = true;
12
+ public notes: string = '';
13
+ public users: MUserDetail[] = [];
14
+ public deletedUsers: MUserDetail[] = [];
15
+ public rights: MRights[] = []
16
+
17
+ constructor(group?: IGroup){
18
+ super();
19
+
20
+ if (group) {
21
+
22
+ this.id = parseInt(group.id_grupo);
23
+ this.code = group.codgru;
24
+ this.name = group.nomgru;
25
+ this.status = group.estgru == '1';
26
+ this.notes = group.obsgru;
27
+ this.rights = group.derechos ? group.derechos.map(e => new MRights(e)) : [];
28
+ this.users = group.usuarios.map(e => new MUserDetail(e));
29
+
30
+ }
31
+
32
+ }
33
+
34
+ public deleteAll(){
35
+ this.deletedUsers = this.users;
36
+ this.users = [];
37
+ }
38
+
39
+ }
@@ -0,0 +1,36 @@
1
+ import { MBasicModel } from '../basic-model.model';
2
+ import { ILog } from '../../interfaces/Seguridad';
3
+
4
+ export class MLog extends MBasicModel {
5
+
6
+ public id_usuario : number = 0;
7
+ public id_component : number = 0;
8
+ public codsis: string = '';
9
+ public evento: string = '';
10
+ public deslog: string = '';
11
+ public equlog: string = '';
12
+ public fecsys: string = '';
13
+ public feclog: string = '';
14
+ public id_empresa: number = 0;
15
+ public id_log: number = 0;
16
+
17
+ constructor(record: ILog=null){
18
+
19
+ super();
20
+ if (record){
21
+ this.id_usuario = record.id_usuario;
22
+ this.id_component = record.id_component;
23
+ this.codsis = record.codsis;
24
+ this.evento = record.evento;
25
+ this.deslog = record.deslog;
26
+ this.equlog = record.equlog;
27
+ this.fecsys = record.fecsys;
28
+ this.feclog = record.feclog;
29
+ this.id_empresa = record.id_empresa;
30
+ this.id_log = parseInt(record.id_log);
31
+ }
32
+
33
+ }
34
+
35
+
36
+ }
@@ -0,0 +1,26 @@
1
+ import { MBasicModel } from '../basic-model.model';
2
+ import { IConfigSSS } from '../../interfaces/Seguridad';
3
+
4
+ export class MConfigSSS extends MBasicModel{
5
+
6
+ public id: number = null;
7
+ public blockTime: number = 1000;
8
+ public chances: number = 0;
9
+ public blockUsers: boolean = false;
10
+
11
+ constructor(config?: IConfigSSS){
12
+
13
+ super();
14
+
15
+ if (config) {
16
+ this.id = parseInt(config.id_sss);
17
+ this.blockTime = parseFloat(config.tiemaxesp);
18
+ this.chances = parseInt(config.nromaxclvinv);
19
+ this.blockUsers = config.blousuclvinv == '1';
20
+ } else {
21
+ this.isNew = true;
22
+ }
23
+
24
+ }
25
+
26
+ }