sigesp 1.0.18-20240821 → 1.0.20-20240822

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/LICENSE +21 -0
  2. package/README.md +12 -9
  3. package/esm2020/lib/app/app.component.mjs +14 -0
  4. package/esm2020/lib/app/app.module.mjs +34 -0
  5. package/esm2020/lib/core/interfaces/Auditoria.mjs +49 -0
  6. package/esm2020/lib/core/interfaces/Banco.mjs +2 -0
  7. package/esm2020/lib/core/interfaces/Catalogo.mjs +2 -0
  8. package/esm2020/lib/core/interfaces/CentroCosto.mjs +2 -0
  9. package/esm2020/lib/core/interfaces/Clasificacion.mjs +2 -0
  10. package/esm2020/lib/core/interfaces/Cliente.mjs +2 -0
  11. package/esm2020/lib/core/interfaces/ComprobantePresupuestario.mjs +2 -0
  12. package/esm2020/lib/core/interfaces/Comunidad.mjs +2 -0
  13. package/esm2020/lib/core/interfaces/Configuracion.mjs +2 -0
  14. package/esm2020/lib/core/interfaces/ConfiguracionRPC.mjs +2 -0
  15. package/esm2020/lib/core/interfaces/ConfiguracionSCG.mjs +2 -0
  16. package/esm2020/lib/core/interfaces/ConfigurationSPG.mjs +2 -0
  17. package/esm2020/lib/core/interfaces/Constantes.mjs +365 -0
  18. package/esm2020/lib/core/interfaces/CuentaEgresos.mjs +2 -0
  19. package/esm2020/lib/core/interfaces/CuentaIngreso.mjs +2 -0
  20. package/esm2020/lib/core/interfaces/CuentaIngresoEstructura.mjs +2 -0
  21. package/esm2020/lib/core/interfaces/CuentaInstitucional.mjs +2 -0
  22. package/esm2020/lib/core/interfaces/CuentaPresupuesto.mjs +2 -0
  23. package/esm2020/lib/core/interfaces/CuentasPorPagar.mjs +2 -0
  24. package/esm2020/lib/core/interfaces/Documento.mjs +2 -0
  25. package/esm2020/lib/core/interfaces/EntradaSuministro.mjs +2 -0
  26. package/esm2020/lib/core/interfaces/Especialidad.mjs +2 -0
  27. package/esm2020/lib/core/interfaces/EstructuraPresupuestaria.mjs +2 -0
  28. package/esm2020/lib/core/interfaces/FuenteFinanciamiento.mjs +2 -0
  29. package/esm2020/lib/core/interfaces/IBancoCuentasPorPagar.mjs +2 -0
  30. package/esm2020/lib/core/interfaces/ITipoDepositos.mjs +2 -0
  31. package/esm2020/lib/core/interfaces/Integracion.mjs +2 -0
  32. package/esm2020/lib/core/interfaces/Lugares.mjs +2 -0
  33. package/esm2020/lib/core/interfaces/Moneda.mjs +2 -0
  34. package/esm2020/lib/core/interfaces/Nomina.mjs +27 -0
  35. package/esm2020/lib/core/interfaces/PlanUnicoCuenta.mjs +2 -0
  36. package/esm2020/lib/core/interfaces/Presupuesto.mjs +2 -0
  37. package/esm2020/lib/core/interfaces/Proveedor.mjs +2 -0
  38. package/esm2020/lib/core/interfaces/RecursosHumanos.mjs +4 -0
  39. package/esm2020/lib/core/interfaces/Request.mjs +2 -0
  40. package/esm2020/lib/core/interfaces/Response.mjs +2 -0
  41. package/esm2020/lib/core/interfaces/Seguridad.mjs +2 -0
  42. package/esm2020/lib/core/interfaces/Servicios.mjs +2 -0
  43. package/esm2020/lib/core/interfaces/Sistema.mjs +2 -0
  44. package/esm2020/lib/core/interfaces/Tributos.mjs +2 -0
  45. package/esm2020/lib/core/interfaces/UnidadTributaria.mjs +2 -0
  46. package/esm2020/lib/core/interfaces/Usuario.mjs +2 -0
  47. package/esm2020/lib/core/interfaces/UsuarioPrefijo.mjs +2 -0
  48. package/esm2020/lib/core/models/CFG/Empresa.model.mjs +151 -0
  49. package/esm2020/lib/core/models/CFG/Enterprise.model.mjs +70 -0
  50. package/esm2020/lib/core/models/CFG/MPrefijo.model.mjs +64 -0
  51. package/esm2020/lib/core/models/CFG/Procede.model.mjs +31 -0
  52. package/esm2020/lib/core/models/CFG/TasaCambio.model.mjs +34 -0
  53. package/esm2020/lib/core/models/CFG/comunidad.model.mjs +22 -0
  54. package/esm2020/lib/core/models/CFG/locations.model.mjs +170 -0
  55. package/esm2020/lib/core/models/CFG/moneda.model.mjs +72 -0
  56. package/esm2020/lib/core/models/CFG/userPrefix.model.mjs +46 -0
  57. package/esm2020/lib/core/models/CXP/MConceptosCXP.model.mjs +34 -0
  58. package/esm2020/lib/core/models/CXP/MTipoDocumentoCXP.model.mjs +44 -0
  59. package/esm2020/lib/core/models/RPC/clasification.model.mjs +16 -0
  60. package/esm2020/lib/core/models/RPC/configuracionRPC.model.mjs +23 -0
  61. package/esm2020/lib/core/models/RPC/document.model.mjs +16 -0
  62. package/esm2020/lib/core/models/RPC/proveedores.model.mjs +9 -0
  63. package/esm2020/lib/core/models/RPC/providerBeneficiary.model.mjs +164 -0
  64. package/esm2020/lib/core/models/RPC/specialty.model.mjs +12 -0
  65. package/esm2020/lib/core/models/SCB/bank.model.mjs +181 -0
  66. package/esm2020/lib/core/models/SCG/IncomeAccount.mjs +83 -0
  67. package/esm2020/lib/core/models/SCG/accountMarriage.model.mjs +29 -0
  68. package/esm2020/lib/core/models/SCG/centroCosto.model.mjs +65 -0
  69. package/esm2020/lib/core/models/SCG/configuracionSCG.model.mjs +169 -0
  70. package/esm2020/lib/core/models/SCG/cuentaInstitucional.model.mjs +89 -0
  71. package/esm2020/lib/core/models/SCG/planUnicoCuenta.model.mjs +17 -0
  72. package/esm2020/lib/core/models/SFV/MClienteModel.mjs +116 -0
  73. package/esm2020/lib/core/models/SIV/MDetaContable.model.mjs +62 -0
  74. package/esm2020/lib/core/models/SIV/MDetaEntrada.model.mjs +94 -0
  75. package/esm2020/lib/core/models/SIV/MEntradaSuministro.model.mjs +132 -0
  76. package/esm2020/lib/core/models/SIV/MTipoDepositos.model.mjs +61 -0
  77. package/esm2020/lib/core/models/SNO/MAnticipoPrestaciones.model.mjs +100 -0
  78. package/esm2020/lib/core/models/SNO/MArchivoTxtCampo.model.mjs +61 -0
  79. package/esm2020/lib/core/models/SNO/MArchivosTxt.model.mjs +41 -0
  80. package/esm2020/lib/core/models/SNO/MAsignacionCargo.model.mjs +205 -0
  81. package/esm2020/lib/core/models/SNO/MAspectoEvaluacion.model.mjs +90 -0
  82. package/esm2020/lib/core/models/SNO/MAuditoria.model.mjs +61 -0
  83. package/esm2020/lib/core/models/SNO/MBeneficiario.model.mjs +137 -0
  84. package/esm2020/lib/core/models/SNO/MCargaFamiliar.model.mjs +52 -0
  85. package/esm2020/lib/core/models/SNO/MCargaMasiva.model.mjs +34 -0
  86. package/esm2020/lib/core/models/SNO/MCargosPersonal.model.mjs +101 -0
  87. package/esm2020/lib/core/models/SNO/MClasificacionObrero.mdel.mjs +46 -0
  88. package/esm2020/lib/core/models/SNO/MCodigoUnicoRac.model.mjs +39 -0
  89. package/esm2020/lib/core/models/SNO/MComponete.model.mjs +38 -0
  90. package/esm2020/lib/core/models/SNO/MConceptoVacaciones.model.mjs +85 -0
  91. package/esm2020/lib/core/models/SNO/MConceptosNomina.model.mjs +199 -0
  92. package/esm2020/lib/core/models/SNO/MConceptosPersonalNomina.model.mjs +97 -0
  93. package/esm2020/lib/core/models/SNO/MConcursante.model.mjs +317 -0
  94. package/esm2020/lib/core/models/SNO/MConcurso.model.mjs +246 -0
  95. package/esm2020/lib/core/models/SNO/MConfiguracionSNO.model.mjs +410 -0
  96. package/esm2020/lib/core/models/SNO/MConstanteNomina.model.mjs +70 -0
  97. package/esm2020/lib/core/models/SNO/MConstantePersonalNomina.model.mjs +79 -0
  98. package/esm2020/lib/core/models/SNO/MDedicacion.model.mjs +35 -0
  99. package/esm2020/lib/core/models/SNO/MDefinicionNomina.model.mjs +313 -0
  100. package/esm2020/lib/core/models/SNO/MDefinicionesBasicas.model.mjs +84 -0
  101. package/esm2020/lib/core/models/SNO/MDeudaAnterior.model.mjs +40 -0
  102. package/esm2020/lib/core/models/SNO/MEncargaduria.model.mjs +138 -0
  103. package/esm2020/lib/core/models/SNO/MEscalaEvaluacion.model.mjs +38 -0
  104. package/esm2020/lib/core/models/SNO/MEscalaEvaluacionDt.model.mjs +37 -0
  105. package/esm2020/lib/core/models/SNO/MEstructuraOrganizativa.model.mjs +119 -0
  106. package/esm2020/lib/core/models/SNO/MFamiliares.model.mjs +86 -0
  107. package/esm2020/lib/core/models/SNO/MFeriados.model.mjs +43 -0
  108. package/esm2020/lib/core/models/SNO/MFideicomiso.model.mjs +406 -0
  109. package/esm2020/lib/core/models/SNO/MFormacionAcademica.model.mjs +49 -0
  110. package/esm2020/lib/core/models/SNO/MGrado.model.mjs +47 -0
  111. package/esm2020/lib/core/models/SNO/MHojaTiempo.model.mjs +117 -0
  112. package/esm2020/lib/core/models/SNO/MImpuestoSobreRenta.model.mjs +73 -0
  113. package/esm2020/lib/core/models/SNO/MMetodoBanco.model.mjs +105 -0
  114. package/esm2020/lib/core/models/SNO/MNominaSimple.model.mjs +86 -0
  115. package/esm2020/lib/core/models/SNO/MPeriodoNomina.model.mjs +184 -0
  116. package/esm2020/lib/core/models/SNO/MPermisos.model.mjs +68 -0
  117. package/esm2020/lib/core/models/SNO/MPersonal.model.mjs +638 -0
  118. package/esm2020/lib/core/models/SNO/MPersonalJubilado.model.mjs +64 -0
  119. package/esm2020/lib/core/models/SNO/MPersonalNomina.model.mjs +313 -0
  120. package/esm2020/lib/core/models/SNO/MPlanHorario.model.mjs +117 -0
  121. package/esm2020/lib/core/models/SNO/MPlantillaConstancia.model.mjs +31 -0
  122. package/esm2020/lib/core/models/SNO/MPrestamo.model.mjs +221 -0
  123. package/esm2020/lib/core/models/SNO/MPrimaGrados.model.mjs +43 -0
  124. package/esm2020/lib/core/models/SNO/MPrimasConcepto.model.mjs +43 -0
  125. package/esm2020/lib/core/models/SNO/MRango.model.mjs +43 -0
  126. package/esm2020/lib/core/models/SNO/MReportesRRHH.mjs +402 -0
  127. package/esm2020/lib/core/models/SNO/MRequisitosConcursante.model.mjs +46 -0
  128. package/esm2020/lib/core/models/SNO/MRequisitosConcursos.model.mjs +37 -0
  129. package/esm2020/lib/core/models/SNO/MRequisitosMinimos.model.mjs +113 -0
  130. package/esm2020/lib/core/models/SNO/MSalarioHistorico.model.mjs +70 -0
  131. package/esm2020/lib/core/models/SNO/MSolicitudEmpleo.model.mjs +121 -0
  132. package/esm2020/lib/core/models/SNO/MTablaVacaciones.model.mjs +57 -0
  133. package/esm2020/lib/core/models/SNO/MTablaVacacionesPeriodo.model.mjs +40 -0
  134. package/esm2020/lib/core/models/SNO/MTabulador.model.mjs +96 -0
  135. package/esm2020/lib/core/models/SNO/MTipoEvaluacion.model.mjs +75 -0
  136. package/esm2020/lib/core/models/SNO/MTipoPersonal.model.mjs +34 -0
  137. package/esm2020/lib/core/models/SNO/MTiposEnfermedad.model.mjs +37 -0
  138. package/esm2020/lib/core/models/SNO/MTrabajoAnterior.model.mjs +65 -0
  139. package/esm2020/lib/core/models/SNO/MUbicacionFisica.model.mjs +61 -0
  140. package/esm2020/lib/core/models/SNO/MVacacionesPersonal.model.mjs +115 -0
  141. package/esm2020/lib/core/models/SOC/charge.model.mjs +66 -0
  142. package/esm2020/lib/core/models/SOC/clause.model.mjs +31 -0
  143. package/esm2020/lib/core/models/SOC/clauseModality.model.mjs +35 -0
  144. package/esm2020/lib/core/models/SOC/configuracionSOC.model.mjs +62 -0
  145. package/esm2020/lib/core/models/SOC/service.model.mjs +46 -0
  146. package/esm2020/lib/core/models/SOC/serviceCharge.model.mjs +37 -0
  147. package/esm2020/lib/core/models/SOC/serviceType.model.mjs +31 -0
  148. package/esm2020/lib/core/models/SPG/UnidadAdministradoraCentral.mjs +43 -0
  149. package/esm2020/lib/core/models/SPG/administrativeUnit.model.mjs +112 -0
  150. package/esm2020/lib/core/models/SPG/comprobantePresupuestario.model.mjs +51 -0
  151. package/esm2020/lib/core/models/SPG/configurationSPG.model.mjs +59 -0
  152. package/esm2020/lib/core/models/SPG/cuentaPresupuesto.model.mjs +120 -0
  153. package/esm2020/lib/core/models/SPG/estructuraPresupuestaria.model.mjs +176 -0
  154. package/esm2020/lib/core/models/SPG/expensiveAccount.model.mjs +108 -0
  155. package/esm2020/lib/core/models/SPG/fuenteFinanciamiento.model.mjs +31 -0
  156. package/esm2020/lib/core/models/SPG/incomeStructureAccount.model.mjs +81 -0
  157. package/esm2020/lib/core/models/SPG/organizationType.model.mjs +12 -0
  158. package/esm2020/lib/core/models/SSS/component.model.mjs +44 -0
  159. package/esm2020/lib/core/models/SSS/group.model.mjs +30 -0
  160. package/esm2020/lib/core/models/SSS/log.model.mjs +29 -0
  161. package/esm2020/lib/core/models/SSS/securityConfiguration.model.mjs +20 -0
  162. package/esm2020/lib/core/models/SSS/sistema.mjs +71 -0
  163. package/esm2020/lib/core/models/SSS/user.model.mjs +32 -0
  164. package/esm2020/lib/core/models/SSS/userDetail.model.mjs +73 -0
  165. package/esm2020/lib/core/models/SSS/userPermit.model.mjs +47 -0
  166. package/esm2020/lib/core/models/SSS/userRights.model.mjs +104 -0
  167. package/esm2020/lib/core/models/STB/MCargosAdicionales.mjs +84 -0
  168. package/esm2020/lib/core/models/STB/deduction.model.mjs +90 -0
  169. package/esm2020/lib/core/models/STB/deductionType.model.mjs +20 -0
  170. package/esm2020/lib/core/models/STB/unidadTributaria.model.mjs +14 -0
  171. package/esm2020/lib/core/models/basic-model.model.mjs +8 -0
  172. package/esm2020/lib/shared/components/catalogo/catalogo.component.mjs +76 -0
  173. package/esm2020/lib/shared/components/catalogo-doble-input/catalogo-doble-input.component.mjs +87 -0
  174. package/esm2020/lib/shared/components/catalogo-estructuras/catalogo-estructuras.component.mjs +74 -0
  175. package/esm2020/lib/shared/components/confirm/confirm.component.mjs +35 -0
  176. package/esm2020/lib/shared/components/icon/icon.component.mjs +22 -0
  177. package/esm2020/lib/shared/components/table-select/table-select.component.mjs +99 -0
  178. package/esm2020/lib/shared/material/customPaginator.mjs +24 -0
  179. package/esm2020/lib/shared/material/material.module.mjs +322 -0
  180. package/esm2020/lib/shared/pipes/iso-currency.pipe.mjs +43 -0
  181. package/esm2020/lib/shared/shared.module.mjs +66 -0
  182. package/esm2020/lib/sigesp.service.mjs +2064 -0
  183. package/esm2020/lib/validation.service.mjs +131 -0
  184. package/esm2020/public-api.mjs +156 -0
  185. package/esm2020/sigesp.mjs +5 -0
  186. package/fesm2015/sigesp.mjs +14594 -0
  187. package/fesm2015/sigesp.mjs.map +1 -0
  188. package/fesm2020/sigesp.mjs +14553 -0
  189. package/fesm2020/sigesp.mjs.map +1 -0
  190. package/index.d.ts +5 -0
  191. package/lib/app/app.component.d.ts +8 -0
  192. package/lib/app/app.module.d.ts +10 -0
  193. package/lib/core/interfaces/Auditoria.d.ts +19 -0
  194. package/lib/core/interfaces/Banco.d.ts +593 -0
  195. package/lib/core/interfaces/Catalogo.d.ts +13 -0
  196. package/lib/core/interfaces/CentroCosto.d.ts +18 -0
  197. package/lib/core/interfaces/Clasificacion.d.ts +6 -0
  198. package/lib/core/interfaces/Cliente.d.ts +36 -0
  199. package/lib/core/interfaces/ComprobantePresupuestario.d.ts +42 -0
  200. package/lib/core/interfaces/Comunidad.d.ts +12 -0
  201. package/lib/core/interfaces/Configuracion.d.ts +101 -0
  202. package/lib/core/interfaces/ConfiguracionRPC.d.ts +10 -0
  203. package/lib/core/interfaces/ConfiguracionSCG.d.ts +54 -0
  204. package/lib/core/interfaces/ConfigurationSPG.d.ts +42 -0
  205. package/lib/core/interfaces/Constantes.d.ts +84 -0
  206. package/lib/core/interfaces/CuentaEgresos.d.ts +153 -0
  207. package/lib/core/interfaces/CuentaIngreso.d.ts +37 -0
  208. package/lib/core/interfaces/CuentaIngresoEstructura.d.ts +24 -0
  209. package/lib/core/interfaces/CuentaInstitucional.d.ts +26 -0
  210. package/lib/core/interfaces/CuentaPresupuesto.d.ts +6 -0
  211. package/lib/core/interfaces/CuentasPorPagar.d.ts +37 -0
  212. package/lib/core/interfaces/Documento.d.ts +6 -0
  213. package/lib/core/interfaces/EntradaSuministro.d.ts +87 -0
  214. package/lib/core/interfaces/Especialidad.d.ts +4 -0
  215. package/lib/core/interfaces/EstructuraPresupuestaria.d.ts +89 -0
  216. package/lib/core/interfaces/FuenteFinanciamiento.d.ts +7 -0
  217. package/lib/core/interfaces/IBancoCuentasPorPagar.d.ts +186 -0
  218. package/lib/core/interfaces/ITipoDepositos.d.ts +17 -0
  219. package/lib/core/interfaces/Integracion.d.ts +6 -0
  220. package/lib/core/interfaces/Lugares.d.ts +40 -0
  221. package/lib/core/interfaces/Moneda.d.ts +20 -0
  222. package/lib/core/interfaces/Nomina.d.ts +539 -0
  223. package/lib/core/interfaces/PlanUnicoCuenta.d.ts +4 -0
  224. package/lib/core/interfaces/Presupuesto.d.ts +122 -0
  225. package/lib/core/interfaces/Proveedor.d.ts +75 -0
  226. package/lib/core/interfaces/RecursosHumanos.d.ts +1616 -0
  227. package/{src/lib/core/interfaces/Request.ts → lib/core/interfaces/Request.d.ts} +3 -4
  228. package/lib/core/interfaces/Response.d.ts +7 -0
  229. package/lib/core/interfaces/Seguridad.d.ts +110 -0
  230. package/lib/core/interfaces/Servicios.d.ts +58 -0
  231. package/lib/core/interfaces/Sistema.d.ts +19 -0
  232. package/lib/core/interfaces/Tributos.d.ts +73 -0
  233. package/lib/core/interfaces/UnidadTributaria.d.ts +11 -0
  234. package/lib/core/interfaces/Usuario.d.ts +52 -0
  235. package/lib/core/interfaces/UsuarioPrefijo.d.ts +12 -0
  236. package/lib/core/models/CFG/Empresa.model.d.ts +52 -0
  237. package/lib/core/models/CFG/Enterprise.model.d.ts +24 -0
  238. package/lib/core/models/CFG/MPrefijo.model.d.ts +22 -0
  239. package/lib/core/models/CFG/Procede.model.d.ts +11 -0
  240. package/lib/core/models/CFG/TasaCambio.model.d.ts +12 -0
  241. package/lib/core/models/CFG/comunidad.model.d.ts +15 -0
  242. package/lib/core/models/CFG/locations.model.d.ts +54 -0
  243. package/lib/core/models/CFG/moneda.model.d.ts +26 -0
  244. package/lib/core/models/CFG/userPrefix.model.d.ts +16 -0
  245. package/lib/core/models/CXP/MConceptosCXP.model.d.ts +12 -0
  246. package/lib/core/models/CXP/MTipoDocumentoCXP.model.d.ts +16 -0
  247. package/lib/core/models/RPC/clasification.model.d.ts +11 -0
  248. package/lib/core/models/RPC/configuracionRPC.model.d.ts +12 -0
  249. package/lib/core/models/RPC/document.model.d.ts +11 -0
  250. package/lib/core/models/RPC/proveedores.model.d.ts +8 -0
  251. package/lib/core/models/RPC/providerBeneficiary.model.d.ts +75 -0
  252. package/lib/core/models/RPC/specialty.model.d.ts +9 -0
  253. package/lib/core/models/SCB/bank.model.d.ts +63 -0
  254. package/lib/core/models/SCG/IncomeAccount.d.ts +43 -0
  255. package/lib/core/models/SCG/accountMarriage.model.d.ts +11 -0
  256. package/lib/core/models/SCG/centroCosto.model.d.ts +23 -0
  257. package/lib/core/models/SCG/configuracionSCG.model.d.ts +58 -0
  258. package/lib/core/models/SCG/cuentaInstitucional.model.d.ts +32 -0
  259. package/lib/core/models/SCG/planUnicoCuenta.model.d.ts +8 -0
  260. package/lib/core/models/SFV/MClienteModel.d.ts +40 -0
  261. package/lib/core/models/SIV/MDetaContable.model.d.ts +21 -0
  262. package/lib/core/models/SIV/MDetaEntrada.model.d.ts +33 -0
  263. package/lib/core/models/SIV/MEntradaSuministro.model.d.ts +47 -0
  264. package/lib/core/models/SIV/MTipoDepositos.model.d.ts +21 -0
  265. package/lib/core/models/SNO/MAnticipoPrestaciones.model.d.ts +32 -0
  266. package/lib/core/models/SNO/MArchivoTxtCampo.model.d.ts +21 -0
  267. package/lib/core/models/SNO/MArchivosTxt.model.d.ts +15 -0
  268. package/lib/core/models/SNO/MAsignacionCargo.model.d.ts +79 -0
  269. package/lib/core/models/SNO/MAspectoEvaluacion.model.d.ts +30 -0
  270. package/lib/core/models/SNO/MAuditoria.model.d.ts +21 -0
  271. package/lib/core/models/SNO/MBeneficiario.model.d.ts +48 -0
  272. package/lib/core/models/SNO/MCargaFamiliar.model.d.ts +18 -0
  273. package/lib/core/models/SNO/MCargaMasiva.model.d.ts +12 -0
  274. package/lib/core/models/SNO/MCargosPersonal.model.d.ts +40 -0
  275. package/lib/core/models/SNO/MClasificacionObrero.mdel.d.ts +16 -0
  276. package/lib/core/models/SNO/MCodigoUnicoRac.model.d.ts +14 -0
  277. package/lib/core/models/SNO/MComponete.model.d.ts +14 -0
  278. package/lib/core/models/SNO/MConceptoVacaciones.model.d.ts +30 -0
  279. package/lib/core/models/SNO/MConceptosNomina.model.d.ts +67 -0
  280. package/lib/core/models/SNO/MConceptosPersonalNomina.model.d.ts +34 -0
  281. package/lib/core/models/SNO/MConcursante.model.d.ts +104 -0
  282. package/lib/core/models/SNO/MConcurso.model.d.ts +83 -0
  283. package/lib/core/models/SNO/MConfiguracionSNO.model.d.ts +138 -0
  284. package/lib/core/models/SNO/MConstanteNomina.model.d.ts +24 -0
  285. package/lib/core/models/SNO/MConstantePersonalNomina.model.d.ts +27 -0
  286. package/lib/core/models/SNO/MDedicacion.model.d.ts +13 -0
  287. package/lib/core/models/SNO/MDefinicionNomina.model.d.ts +119 -0
  288. package/lib/core/models/SNO/MDefinicionesBasicas.model.d.ts +26 -0
  289. package/lib/core/models/SNO/MDeudaAnterior.model.d.ts +14 -0
  290. package/lib/core/models/SNO/MEncargaduria.model.d.ts +47 -0
  291. package/lib/core/models/SNO/MEscalaEvaluacion.model.d.ts +15 -0
  292. package/lib/core/models/SNO/MEscalaEvaluacionDt.model.d.ts +14 -0
  293. package/lib/core/models/SNO/MEstructuraOrganizativa.model.d.ts +42 -0
  294. package/lib/core/models/SNO/MFamiliares.model.d.ts +31 -0
  295. package/lib/core/models/SNO/MFeriados.model.d.ts +16 -0
  296. package/lib/core/models/SNO/MFideicomiso.model.d.ts +143 -0
  297. package/lib/core/models/SNO/MFormacionAcademica.model.d.ts +18 -0
  298. package/lib/core/models/SNO/MGrado.model.d.ts +18 -0
  299. package/lib/core/models/SNO/MHojaTiempo.model.d.ts +40 -0
  300. package/lib/core/models/SNO/MImpuestoSobreRenta.model.d.ts +25 -0
  301. package/lib/core/models/SNO/MMetodoBanco.model.d.ts +35 -0
  302. package/lib/core/models/SNO/MNominaSimple.model.d.ts +36 -0
  303. package/lib/core/models/SNO/MPeriodoNomina.model.d.ts +58 -0
  304. package/lib/core/models/SNO/MPermisos.model.d.ts +24 -0
  305. package/lib/core/models/SNO/MPersonal.model.d.ts +219 -0
  306. package/lib/core/models/SNO/MPersonalJubilado.model.d.ts +23 -0
  307. package/lib/core/models/SNO/MPersonalNomina.model.d.ts +100 -0
  308. package/lib/core/models/SNO/MPlanHorario.model.d.ts +41 -0
  309. package/lib/core/models/SNO/MPlantillaConstancia.model.d.ts +11 -0
  310. package/lib/core/models/SNO/MPrestamo.model.d.ts +69 -0
  311. package/lib/core/models/SNO/MPrimaGrados.model.d.ts +15 -0
  312. package/lib/core/models/SNO/MPrimasConcepto.model.d.ts +15 -0
  313. package/lib/core/models/SNO/MRango.model.d.ts +15 -0
  314. package/lib/core/models/SNO/MReportesRRHH.d.ts +130 -0
  315. package/lib/core/models/SNO/MRequisitosConcursante.model.d.ts +16 -0
  316. package/lib/core/models/SNO/MRequisitosConcursos.model.d.ts +14 -0
  317. package/lib/core/models/SNO/MRequisitosMinimos.model.d.ts +39 -0
  318. package/lib/core/models/SNO/MSalarioHistorico.model.d.ts +25 -0
  319. package/lib/core/models/SNO/MSolicitudEmpleo.model.d.ts +42 -0
  320. package/lib/core/models/SNO/MTablaVacaciones.model.d.ts +15 -0
  321. package/lib/core/models/SNO/MTablaVacacionesPeriodo.model.d.ts +15 -0
  322. package/lib/core/models/SNO/MTabulador.model.d.ts +39 -0
  323. package/lib/core/models/SNO/MTipoEvaluacion.model.d.ts +28 -0
  324. package/lib/core/models/SNO/MTipoPersonal.model.d.ts +13 -0
  325. package/lib/core/models/SNO/MTiposEnfermedad.model.d.ts +14 -0
  326. package/lib/core/models/SNO/MTrabajoAnterior.model.d.ts +24 -0
  327. package/lib/core/models/SNO/MUbicacionFisica.model.d.ts +21 -0
  328. package/lib/core/models/SNO/MVacacionesPersonal.model.d.ts +40 -0
  329. package/lib/core/models/SOC/charge.model.d.ts +24 -0
  330. package/lib/core/models/SOC/clause.model.d.ts +11 -0
  331. package/lib/core/models/SOC/clauseModality.model.d.ts +13 -0
  332. package/lib/core/models/SOC/configuracionSOC.model.d.ts +20 -0
  333. package/lib/core/models/SOC/service.model.d.ts +16 -0
  334. package/lib/core/models/SOC/serviceCharge.model.d.ts +13 -0
  335. package/lib/core/models/SOC/serviceType.model.d.ts +11 -0
  336. package/lib/core/models/SPG/UnidadAdministradoraCentral.d.ts +15 -0
  337. package/lib/core/models/SPG/administrativeUnit.model.d.ts +58 -0
  338. package/lib/core/models/SPG/comprobantePresupuestario.model.d.ts +46 -0
  339. package/lib/core/models/SPG/configurationSPG.model.d.ts +37 -0
  340. package/lib/core/models/SPG/cuentaPresupuesto.model.d.ts +57 -0
  341. package/lib/core/models/SPG/estructuraPresupuestaria.model.d.ts +123 -0
  342. package/lib/core/models/SPG/expensiveAccount.model.d.ts +49 -0
  343. package/lib/core/models/SPG/fuenteFinanciamiento.model.d.ts +11 -0
  344. package/lib/core/models/SPG/incomeStructureAccount.model.d.ts +38 -0
  345. package/lib/core/models/SPG/organizationType.model.d.ts +9 -0
  346. package/lib/core/models/SSS/component.model.d.ts +16 -0
  347. package/lib/core/models/SSS/group.model.d.ts +16 -0
  348. package/lib/core/models/SSS/log.model.d.ts +15 -0
  349. package/lib/core/models/SSS/securityConfiguration.model.d.ts +9 -0
  350. package/lib/core/models/SSS/sistema.d.ts +25 -0
  351. package/lib/core/models/SSS/user.model.d.ts +22 -0
  352. package/lib/core/models/SSS/userDetail.model.d.ts +26 -0
  353. package/lib/core/models/SSS/userPermit.model.d.ts +18 -0
  354. package/lib/core/models/SSS/userRights.model.d.ts +35 -0
  355. package/lib/core/models/STB/MCargosAdicionales.d.ts +31 -0
  356. package/lib/core/models/STB/deduction.model.d.ts +30 -0
  357. package/lib/core/models/STB/deductionType.model.d.ts +9 -0
  358. package/lib/core/models/STB/unidadTributaria.model.d.ts +13 -0
  359. package/lib/core/models/basic-model.model.d.ts +6 -0
  360. package/lib/shared/components/catalogo/catalogo.component.d.ts +35 -0
  361. package/lib/shared/components/catalogo-doble-input/catalogo-doble-input.component.d.ts +39 -0
  362. package/lib/shared/components/catalogo-estructuras/catalogo-estructuras.component.d.ts +38 -0
  363. package/lib/shared/components/confirm/confirm.component.d.ts +21 -0
  364. package/lib/shared/components/icon/icon.component.d.ts +11 -0
  365. package/lib/shared/components/table-select/table-select.component.d.ts +39 -0
  366. package/lib/shared/material/customPaginator.d.ts +9 -0
  367. package/lib/shared/material/material.module.d.ts +48 -0
  368. package/lib/shared/pipes/iso-currency.pipe.d.ts +13 -0
  369. package/lib/shared/shared.module.d.ts +16 -0
  370. package/lib/sigesp.service.d.ts +1060 -0
  371. package/lib/validation.service.d.ts +15 -0
  372. package/package.json +31 -11
  373. package/public-api.d.ts +164 -0
  374. package/karma.conf.js +0 -32
  375. package/ng-package.json +0 -7
  376. package/src/lib/app/app.component.html +0 -1
  377. package/src/lib/app/app.component.scss +0 -0
  378. package/src/lib/app/app.component.ts +0 -15
  379. package/src/lib/app/app.module.ts +0 -21
  380. package/src/lib/core/interfaces/Auditoria.ts +0 -72
  381. package/src/lib/core/interfaces/Banco.ts +0 -633
  382. package/src/lib/core/interfaces/Catalogo.ts +0 -15
  383. package/src/lib/core/interfaces/CentroCosto.ts +0 -20
  384. package/src/lib/core/interfaces/Clasificacion.ts +0 -6
  385. package/src/lib/core/interfaces/Cliente.ts +0 -36
  386. package/src/lib/core/interfaces/ComprobantePresupuestario.ts +0 -43
  387. package/src/lib/core/interfaces/Comunidad.ts +0 -12
  388. package/src/lib/core/interfaces/Configuracion.ts +0 -110
  389. package/src/lib/core/interfaces/ConfiguracionRPC.ts +0 -10
  390. package/src/lib/core/interfaces/ConfiguracionSCG.ts +0 -54
  391. package/src/lib/core/interfaces/ConfigurationSPG.ts +0 -43
  392. package/src/lib/core/interfaces/Constantes.ts +0 -463
  393. package/src/lib/core/interfaces/CuentaEgresos.ts +0 -159
  394. package/src/lib/core/interfaces/CuentaIngreso.ts +0 -37
  395. package/src/lib/core/interfaces/CuentaIngresoEstructura.ts +0 -25
  396. package/src/lib/core/interfaces/CuentaInstitucional.ts +0 -26
  397. package/src/lib/core/interfaces/CuentaPresupuesto.ts +0 -7
  398. package/src/lib/core/interfaces/CuentasPorPagar.ts +0 -40
  399. package/src/lib/core/interfaces/Documento.ts +0 -6
  400. package/src/lib/core/interfaces/EntradaSuministro.ts +0 -93
  401. package/src/lib/core/interfaces/Especialidad.ts +0 -4
  402. package/src/lib/core/interfaces/EstructuraPresupuestaria.ts +0 -96
  403. package/src/lib/core/interfaces/FuenteFinanciamiento.ts +0 -7
  404. package/src/lib/core/interfaces/IBancoCuentasPorPagar.ts +0 -192
  405. package/src/lib/core/interfaces/ITipoDepositos.ts +0 -17
  406. package/src/lib/core/interfaces/Integracion.ts +0 -6
  407. package/src/lib/core/interfaces/Lugares.ts +0 -45
  408. package/src/lib/core/interfaces/Moneda.ts +0 -22
  409. package/src/lib/core/interfaces/Nomina.ts +0 -607
  410. package/src/lib/core/interfaces/PlanUnicoCuenta.ts +0 -4
  411. package/src/lib/core/interfaces/Presupuesto.ts +0 -132
  412. package/src/lib/core/interfaces/Proveedor.ts +0 -79
  413. package/src/lib/core/interfaces/RecursosHumanos.ts +0 -1728
  414. package/src/lib/core/interfaces/Response.ts +0 -7
  415. package/src/lib/core/interfaces/Seguridad.ts +0 -118
  416. package/src/lib/core/interfaces/Servicios.ts +0 -64
  417. package/src/lib/core/interfaces/Sistema.ts +0 -21
  418. package/src/lib/core/interfaces/Tributos.ts +0 -78
  419. package/src/lib/core/interfaces/UnidadTributaria.ts +0 -11
  420. package/src/lib/core/interfaces/Usuario.ts +0 -57
  421. package/src/lib/core/interfaces/UsuarioPrefijo.ts +0 -12
  422. package/src/lib/core/models/CFG/Empresa.model.ts +0 -155
  423. package/src/lib/core/models/CFG/Enterprise.model.ts +0 -74
  424. package/src/lib/core/models/CFG/MPrefijo.model.ts +0 -66
  425. package/src/lib/core/models/CFG/Procede.model.ts +0 -34
  426. package/src/lib/core/models/CFG/TasaCambio.model.ts +0 -37
  427. package/src/lib/core/models/CFG/comunidad.model.ts +0 -34
  428. package/src/lib/core/models/CFG/locations.model.ts +0 -189
  429. package/src/lib/core/models/CFG/moneda.model.ts +0 -82
  430. package/src/lib/core/models/CFG/userPrefix.model.ts +0 -48
  431. package/src/lib/core/models/CXP/MConceptosCXP.model.ts +0 -36
  432. package/src/lib/core/models/CXP/MTipoDocumentoCXP.model.ts +0 -49
  433. package/src/lib/core/models/RPC/clasification.model.ts +0 -22
  434. package/src/lib/core/models/RPC/configuracionRPC.model.ts +0 -27
  435. package/src/lib/core/models/RPC/document.model.ts +0 -20
  436. package/src/lib/core/models/RPC/proveedores.model.ts +0 -15
  437. package/src/lib/core/models/RPC/providerBeneficiary.model.ts +0 -164
  438. package/src/lib/core/models/RPC/specialty.model.ts +0 -14
  439. package/src/lib/core/models/SCB/bank.model.ts +0 -205
  440. package/src/lib/core/models/SCG/IncomeAccount.ts +0 -87
  441. package/src/lib/core/models/SCG/accountMarriage.model.ts +0 -33
  442. package/src/lib/core/models/SCG/centroCosto.model.ts +0 -72
  443. package/src/lib/core/models/SCG/configuracionSCG.model.ts +0 -172
  444. package/src/lib/core/models/SCG/cuentaInstitucional.model.ts +0 -91
  445. package/src/lib/core/models/SCG/planUnicoCuenta.model.ts +0 -22
  446. package/src/lib/core/models/SFV/MClienteModel.ts +0 -119
  447. package/src/lib/core/models/SIV/MDetaContable.model.ts +0 -65
  448. package/src/lib/core/models/SIV/MDetaEntrada.model.ts +0 -98
  449. package/src/lib/core/models/SIV/MEntradaSuministro.model.ts +0 -135
  450. package/src/lib/core/models/SIV/MTipoDepositos.model.ts +0 -65
  451. package/src/lib/core/models/SNO/MAnticipoPrestaciones.model.ts +0 -112
  452. package/src/lib/core/models/SNO/MArchivoTxtCampo.model.ts +0 -63
  453. package/src/lib/core/models/SNO/MArchivosTxt.model.ts +0 -53
  454. package/src/lib/core/models/SNO/MAsignacionCargo.model.ts +0 -218
  455. package/src/lib/core/models/SNO/MAspectoEvaluacion.model.ts +0 -97
  456. package/src/lib/core/models/SNO/MAuditoria.model.ts +0 -67
  457. package/src/lib/core/models/SNO/MBeneficiario.model.ts +0 -139
  458. package/src/lib/core/models/SNO/MCargaFamiliar.model.ts +0 -54
  459. package/src/lib/core/models/SNO/MCargaMasiva.model.ts +0 -37
  460. package/src/lib/core/models/SNO/MCargosPersonal.model.ts +0 -108
  461. package/src/lib/core/models/SNO/MClasificacionObrero.mdel.ts +0 -48
  462. package/src/lib/core/models/SNO/MCodigoUnicoRac.model.ts +0 -41
  463. package/src/lib/core/models/SNO/MComponete.model.ts +0 -40
  464. package/src/lib/core/models/SNO/MConceptoVacaciones.model.ts +0 -94
  465. package/src/lib/core/models/SNO/MConceptosNomina.model.ts +0 -240
  466. package/src/lib/core/models/SNO/MConceptosPersonalNomina.model.ts +0 -103
  467. package/src/lib/core/models/SNO/MConcursante.model.ts +0 -333
  468. package/src/lib/core/models/SNO/MConcurso.model.ts +0 -267
  469. package/src/lib/core/models/SNO/MConfiguracionSNO.model.ts +0 -412
  470. package/src/lib/core/models/SNO/MConstanteNomina.model.ts +0 -76
  471. package/src/lib/core/models/SNO/MConstantePersonalNomina.model.ts +0 -85
  472. package/src/lib/core/models/SNO/MDedicacion.model.ts +0 -37
  473. package/src/lib/core/models/SNO/MDefinicionNomina.model.ts +0 -330
  474. package/src/lib/core/models/SNO/MDefinicionesBasicas.model.ts +0 -94
  475. package/src/lib/core/models/SNO/MDeudaAnterior.model.ts +0 -42
  476. package/src/lib/core/models/SNO/MEncargaduria.model.ts +0 -142
  477. package/src/lib/core/models/SNO/MEscalaEvaluacion.model.ts +0 -43
  478. package/src/lib/core/models/SNO/MEscalaEvaluacionDt.model.ts +0 -40
  479. package/src/lib/core/models/SNO/MEstructuraOrganizativa.model.ts +0 -125
  480. package/src/lib/core/models/SNO/MFamiliares.model.ts +0 -91
  481. package/src/lib/core/models/SNO/MFeriados.model.ts +0 -46
  482. package/src/lib/core/models/SNO/MFideicomiso.model.ts +0 -423
  483. package/src/lib/core/models/SNO/MFormacionAcademica.model.ts +0 -52
  484. package/src/lib/core/models/SNO/MGrado.model.ts +0 -50
  485. package/src/lib/core/models/SNO/MHojaTiempo.model.ts +0 -128
  486. package/src/lib/core/models/SNO/MImpuestoSobreRenta.model.ts +0 -77
  487. package/src/lib/core/models/SNO/MMetodoBanco.model.ts +0 -113
  488. package/src/lib/core/models/SNO/MNominaSimple.model.ts +0 -93
  489. package/src/lib/core/models/SNO/MPeriodoNomina.model.ts +0 -196
  490. package/src/lib/core/models/SNO/MPermisos.model.ts +0 -70
  491. package/src/lib/core/models/SNO/MPersonal.model.ts +0 -659
  492. package/src/lib/core/models/SNO/MPersonalJubilado.model.ts +0 -71
  493. package/src/lib/core/models/SNO/MPersonalNomina.model.ts +0 -328
  494. package/src/lib/core/models/SNO/MPlanHorario.model.ts +0 -134
  495. package/src/lib/core/models/SNO/MPlantillaConstancia.model.ts +0 -33
  496. package/src/lib/core/models/SNO/MPrestamo.model.ts +0 -242
  497. package/src/lib/core/models/SNO/MPrimaGrados.model.ts +0 -46
  498. package/src/lib/core/models/SNO/MPrimasConcepto.model.ts +0 -45
  499. package/src/lib/core/models/SNO/MRango.model.ts +0 -45
  500. package/src/lib/core/models/SNO/MReportesRRHH.ts +0 -425
  501. package/src/lib/core/models/SNO/MRequisitosConcursante.model.ts +0 -48
  502. package/src/lib/core/models/SNO/MRequisitosConcursos.model.ts +0 -41
  503. package/src/lib/core/models/SNO/MRequisitosMinimos.model.ts +0 -123
  504. package/src/lib/core/models/SNO/MSalarioHistorico.model.ts +0 -75
  505. package/src/lib/core/models/SNO/MSolicitudEmpleo.model.ts +0 -125
  506. package/src/lib/core/models/SNO/MTablaVacaciones.model.ts +0 -61
  507. package/src/lib/core/models/SNO/MTablaVacacionesPeriodo.model.ts +0 -45
  508. package/src/lib/core/models/SNO/MTabulador.model.ts +0 -108
  509. package/src/lib/core/models/SNO/MTipoEvaluacion.model.ts +0 -85
  510. package/src/lib/core/models/SNO/MTipoPersonal.model.ts +0 -37
  511. package/src/lib/core/models/SNO/MTiposEnfermedad.model.ts +0 -40
  512. package/src/lib/core/models/SNO/MTrabajoAnterior.model.ts +0 -70
  513. package/src/lib/core/models/SNO/MUbicacionFisica.model.ts +0 -63
  514. package/src/lib/core/models/SNO/MVacacionesPersonal.model.ts +0 -119
  515. package/src/lib/core/models/SOC/charge.model.ts +0 -78
  516. package/src/lib/core/models/SOC/clause.model.ts +0 -36
  517. package/src/lib/core/models/SOC/clauseModality.model.ts +0 -40
  518. package/src/lib/core/models/SOC/configuracionSOC.model.ts +0 -68
  519. package/src/lib/core/models/SOC/service.model.ts +0 -50
  520. package/src/lib/core/models/SOC/serviceCharge.model.ts +0 -39
  521. package/src/lib/core/models/SOC/serviceType.model.ts +0 -36
  522. package/src/lib/core/models/SPG/UnidadAdministradoraCentral.ts +0 -47
  523. package/src/lib/core/models/SPG/administrativeUnit.model.ts +0 -153
  524. package/src/lib/core/models/SPG/comprobantePresupuestario.model.ts +0 -93
  525. package/src/lib/core/models/SPG/configurationSPG.model.ts +0 -88
  526. package/src/lib/core/models/SPG/cuentaPresupuesto.model.ts +0 -131
  527. package/src/lib/core/models/SPG/estructuraPresupuestaria.model.ts +0 -280
  528. package/src/lib/core/models/SPG/expensiveAccount.model.ts +0 -114
  529. package/src/lib/core/models/SPG/fuenteFinanciamiento.model.ts +0 -33
  530. package/src/lib/core/models/SPG/incomeStructureAccount.model.ts +0 -84
  531. package/src/lib/core/models/SPG/organizationType.model.ts +0 -16
  532. package/src/lib/core/models/SSS/component.model.ts +0 -51
  533. package/src/lib/core/models/SSS/group.model.ts +0 -39
  534. package/src/lib/core/models/SSS/log.model.ts +0 -36
  535. package/src/lib/core/models/SSS/securityConfiguration.model.ts +0 -26
  536. package/src/lib/core/models/SSS/sistema.ts +0 -85
  537. package/src/lib/core/models/SSS/user.model.ts +0 -52
  538. package/src/lib/core/models/SSS/userDetail.model.ts +0 -78
  539. package/src/lib/core/models/SSS/userPermit.model.ts +0 -61
  540. package/src/lib/core/models/SSS/userRights.model.ts +0 -113
  541. package/src/lib/core/models/STB/MCargosAdicionales.ts +0 -93
  542. package/src/lib/core/models/STB/deduction.model.ts +0 -100
  543. package/src/lib/core/models/STB/deductionType.model.ts +0 -23
  544. package/src/lib/core/models/STB/unidadTributaria.model.ts +0 -25
  545. package/src/lib/core/models/basic-model.model.ts +0 -9
  546. package/src/lib/shared/components/catalogo/catalogo.component.html +0 -45
  547. package/src/lib/shared/components/catalogo/catalogo.component.scss +0 -82
  548. package/src/lib/shared/components/catalogo/catalogo.component.ts +0 -71
  549. package/src/lib/shared/components/catalogo-doble-input/catalogo-doble-input.component.html +0 -57
  550. package/src/lib/shared/components/catalogo-doble-input/catalogo-doble-input.component.scss +0 -82
  551. package/src/lib/shared/components/catalogo-doble-input/catalogo-doble-input.component.ts +0 -80
  552. package/src/lib/shared/components/catalogo-estructuras/catalogo-estructuras.component.html +0 -121
  553. package/src/lib/shared/components/catalogo-estructuras/catalogo-estructuras.component.scss +0 -81
  554. package/src/lib/shared/components/catalogo-estructuras/catalogo-estructuras.component.ts +0 -68
  555. package/src/lib/shared/components/confirm/confirm.component.html +0 -15
  556. package/src/lib/shared/components/confirm/confirm.component.scss +0 -37
  557. package/src/lib/shared/components/confirm/confirm.component.ts +0 -32
  558. package/src/lib/shared/components/icon/flUhRq6tzZclQEJ-Vdg-IuiaDsNc.woff2 +0 -0
  559. package/src/lib/shared/components/icon/icon.component.html +0 -6
  560. package/src/lib/shared/components/icon/icon.component.scss +0 -22
  561. package/src/lib/shared/components/icon/icon.component.ts +0 -19
  562. package/src/lib/shared/components/table-select/table-select.component.html +0 -73
  563. package/src/lib/shared/components/table-select/table-select.component.scss +0 -86
  564. package/src/lib/shared/components/table-select/table-select.component.ts +0 -102
  565. package/src/lib/shared/material/customPaginator.ts +0 -22
  566. package/src/lib/shared/material/material.module.ts +0 -144
  567. package/src/lib/shared/pipes/iso-currency.pipe.ts +0 -44
  568. package/src/lib/shared/shared.module.ts +0 -41
  569. package/src/lib/sigesp.service.ts +0 -2770
  570. package/src/lib/validation.service.ts +0 -172
  571. package/src/public-api.ts +0 -489
  572. package/src/test.ts +0 -23
  573. package/tsconfig.lib.json +0 -27
  574. package/tsconfig.lib.prod.json +0 -6
  575. package/tsconfig.spec.json +0 -17
  576. package/tslint.json +0 -17
@@ -1,280 +0,0 @@
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
- }
@@ -1,114 +0,0 @@
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
- }
@@ -1,33 +0,0 @@
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
- }
@@ -1,84 +0,0 @@
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
- }
@@ -1,16 +0,0 @@
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
- }
@@ -1,51 +0,0 @@
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
- }
@@ -1,39 +0,0 @@
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
- }
@@ -1,36 +0,0 @@
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
- }
@@ -1,26 +0,0 @@
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
- }