sigesp 1.1.53-20250619 → 1.1.56-20250722

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (602) hide show
  1. package/.browserslistrc +12 -0
  2. package/.editorconfig +13 -0
  3. package/angular.json +161 -0
  4. package/e2e/protractor.conf.js +32 -0
  5. package/e2e/src/app.e2e-spec.ts +23 -0
  6. package/e2e/src/app.po.ts +11 -0
  7. package/e2e/tsconfig.json +13 -0
  8. package/karma.conf.js +32 -0
  9. package/lib +0 -0
  10. package/package.json +73 -31
  11. package/projects/sigesp/README.md +24 -0
  12. package/projects/sigesp/karma.conf.js +32 -0
  13. package/projects/sigesp/ng-package.json +7 -0
  14. package/projects/sigesp/package.json +11 -0
  15. package/projects/sigesp/src/lib/app/app.component.html +1 -0
  16. package/projects/sigesp/src/lib/app/app.component.scss +0 -0
  17. package/projects/sigesp/src/lib/app/app.component.ts +15 -0
  18. package/projects/sigesp/src/lib/app/app.module.ts +21 -0
  19. package/projects/sigesp/src/lib/core/interfaces/Auditoria.ts +72 -0
  20. package/projects/sigesp/src/lib/core/interfaces/Banco.ts +639 -0
  21. package/projects/sigesp/src/lib/core/interfaces/Catalogo.ts +15 -0
  22. package/projects/sigesp/src/lib/core/interfaces/CentroCosto.ts +22 -0
  23. package/projects/sigesp/src/lib/core/interfaces/Clasificacion.ts +6 -0
  24. package/projects/sigesp/src/lib/core/interfaces/Cliente.ts +36 -0
  25. package/projects/sigesp/src/lib/core/interfaces/ComprobantePresupuestario.ts +52 -0
  26. package/projects/sigesp/src/lib/core/interfaces/Comunidad.ts +12 -0
  27. package/projects/sigesp/src/lib/core/interfaces/Configuracion.ts +100 -0
  28. package/projects/sigesp/src/lib/core/interfaces/ConfiguracionRPC.ts +10 -0
  29. package/projects/sigesp/src/lib/core/interfaces/ConfiguracionSCG.ts +53 -0
  30. package/projects/sigesp/src/lib/core/interfaces/ConfigurationSPG.ts +51 -0
  31. package/projects/sigesp/src/lib/core/interfaces/Constantes.ts +468 -0
  32. package/projects/sigesp/src/lib/core/interfaces/CuentaEgresos.ts +164 -0
  33. package/projects/sigesp/src/lib/core/interfaces/CuentaIngreso.ts +38 -0
  34. package/projects/sigesp/src/lib/core/interfaces/CuentaIngresoEstructura.ts +27 -0
  35. package/projects/sigesp/src/lib/core/interfaces/CuentaInstitucional.ts +28 -0
  36. package/projects/sigesp/src/lib/core/interfaces/CuentaPresupuesto.ts +10 -0
  37. package/projects/sigesp/src/lib/core/interfaces/CuentasPorPagar.ts +40 -0
  38. package/projects/sigesp/src/lib/core/interfaces/Documento.ts +6 -0
  39. package/projects/sigesp/src/lib/core/interfaces/EntradaSuministro.ts +93 -0
  40. package/projects/sigesp/src/lib/core/interfaces/Especialidad.ts +4 -0
  41. package/projects/sigesp/src/lib/core/interfaces/EstructuraPresupuestaria.ts +90 -0
  42. package/projects/sigesp/src/lib/core/interfaces/FuenteFinanciamiento.ts +14 -0
  43. package/projects/sigesp/src/lib/core/interfaces/IBancoCuentasPorPagar.ts +196 -0
  44. package/projects/sigesp/src/lib/core/interfaces/ITipoDepositos.ts +32 -0
  45. package/projects/sigesp/src/lib/core/interfaces/Integracion.ts +6 -0
  46. package/projects/sigesp/src/lib/core/interfaces/Lugares.ts +45 -0
  47. package/projects/sigesp/src/lib/core/interfaces/Moneda.ts +22 -0
  48. package/projects/sigesp/src/lib/core/interfaces/Nomina.ts +614 -0
  49. package/projects/sigesp/src/lib/core/interfaces/PlanUnicoCuenta.ts +4 -0
  50. package/projects/sigesp/src/lib/core/interfaces/Presupuesto.ts +145 -0
  51. package/{lib/core/interfaces/Proveedor.d.ts → projects/sigesp/src/lib/core/interfaces/Proveedor.ts} +26 -22
  52. package/projects/sigesp/src/lib/core/interfaces/RecursosHumanos.ts +1743 -0
  53. package/{lib/core/interfaces/Request.d.ts → projects/sigesp/src/lib/core/interfaces/Request.ts} +4 -3
  54. package/projects/sigesp/src/lib/core/interfaces/Response.ts +7 -0
  55. package/projects/sigesp/src/lib/core/interfaces/Seguridad.ts +120 -0
  56. package/projects/sigesp/src/lib/core/interfaces/Servicios.ts +70 -0
  57. package/projects/sigesp/src/lib/core/interfaces/Sistema.ts +21 -0
  58. package/projects/sigesp/src/lib/core/interfaces/Tributos.ts +80 -0
  59. package/projects/sigesp/src/lib/core/interfaces/UnidadTributaria.ts +11 -0
  60. package/projects/sigesp/src/lib/core/interfaces/Usuario.ts +57 -0
  61. package/projects/sigesp/src/lib/core/interfaces/UsuarioPrefijo.ts +13 -0
  62. package/projects/sigesp/src/lib/core/models/CFG/Empresa.model.ts +121 -0
  63. package/projects/sigesp/src/lib/core/models/CFG/Enterprise.model.ts +74 -0
  64. package/projects/sigesp/src/lib/core/models/CFG/MPrefijo.model.ts +69 -0
  65. package/projects/sigesp/src/lib/core/models/CFG/Procede.model.ts +34 -0
  66. package/projects/sigesp/src/lib/core/models/CFG/TasaCambio.model.ts +43 -0
  67. package/projects/sigesp/src/lib/core/models/CFG/comunidad.model.ts +34 -0
  68. package/projects/sigesp/src/lib/core/models/CFG/locations.model.ts +189 -0
  69. package/projects/sigesp/src/lib/core/models/CFG/moneda.model.ts +82 -0
  70. package/projects/sigesp/src/lib/core/models/CFG/userPrefix.model.ts +51 -0
  71. package/projects/sigesp/src/lib/core/models/CXP/MConceptosCXP.model.ts +36 -0
  72. package/projects/sigesp/src/lib/core/models/CXP/MTipoDocumentoCXP.model.ts +49 -0
  73. package/projects/sigesp/src/lib/core/models/RPC/clasification.model.ts +22 -0
  74. package/projects/sigesp/src/lib/core/models/RPC/configuracionRPC.model.ts +27 -0
  75. package/projects/sigesp/src/lib/core/models/RPC/document.model.ts +20 -0
  76. package/projects/sigesp/src/lib/core/models/RPC/proveedores.model.ts +15 -0
  77. package/projects/sigesp/src/lib/core/models/RPC/providerBeneficiary.model.ts +316 -0
  78. package/projects/sigesp/src/lib/core/models/RPC/specialty.model.ts +14 -0
  79. package/projects/sigesp/src/lib/core/models/SCB/bank.model.ts +205 -0
  80. package/projects/sigesp/src/lib/core/models/SCG/IncomeAccount.ts +134 -0
  81. package/projects/sigesp/src/lib/core/models/SCG/accountMarriage.model.ts +33 -0
  82. package/projects/sigesp/src/lib/core/models/SCG/centroCosto.model.ts +83 -0
  83. package/projects/sigesp/src/lib/core/models/SCG/configuracionSCG.model.ts +166 -0
  84. package/projects/sigesp/src/lib/core/models/SCG/cuentaInstitucional.model.ts +97 -0
  85. package/projects/sigesp/src/lib/core/models/SCG/planUnicoCuenta.model.ts +22 -0
  86. package/projects/sigesp/src/lib/core/models/SFV/MClienteModel.ts +119 -0
  87. package/projects/sigesp/src/lib/core/models/SIV/MDetaContable.model.ts +65 -0
  88. package/projects/sigesp/src/lib/core/models/SIV/MDetaEntrada.model.ts +98 -0
  89. package/projects/sigesp/src/lib/core/models/SIV/MEntradaSuministro.model.ts +135 -0
  90. package/projects/sigesp/src/lib/core/models/SIV/MTipoDepositos.model.ts +109 -0
  91. package/projects/sigesp/src/lib/core/models/SNO/MAnticipoPrestaciones.model.ts +112 -0
  92. package/projects/sigesp/src/lib/core/models/SNO/MArchivoTxtCampo.model.ts +63 -0
  93. package/projects/sigesp/src/lib/core/models/SNO/MArchivosTxt.model.ts +53 -0
  94. package/projects/sigesp/src/lib/core/models/SNO/MAsignacionCargo.model.ts +235 -0
  95. package/projects/sigesp/src/lib/core/models/SNO/MAspectoEvaluacion.model.ts +97 -0
  96. package/projects/sigesp/src/lib/core/models/SNO/MAuditoria.model.ts +67 -0
  97. package/projects/sigesp/src/lib/core/models/SNO/MBeneficiario.model.ts +139 -0
  98. package/projects/sigesp/src/lib/core/models/SNO/MCargaFamiliar.model.ts +54 -0
  99. package/projects/sigesp/src/lib/core/models/SNO/MCargaMasiva.model.ts +37 -0
  100. package/projects/sigesp/src/lib/core/models/SNO/MCargosPersonal.model.ts +123 -0
  101. package/projects/sigesp/src/lib/core/models/SNO/MClasificacionObrero.mdel.ts +48 -0
  102. package/projects/sigesp/src/lib/core/models/SNO/MCodigoUnicoRac.model.ts +41 -0
  103. package/projects/sigesp/src/lib/core/models/SNO/MComponete.model.ts +40 -0
  104. package/projects/sigesp/src/lib/core/models/SNO/MConceptoVacaciones.model.ts +94 -0
  105. package/projects/sigesp/src/lib/core/models/SNO/MConceptosNomina.model.ts +246 -0
  106. package/projects/sigesp/src/lib/core/models/SNO/MConceptosPersonalNomina.model.ts +103 -0
  107. package/projects/sigesp/src/lib/core/models/SNO/MConcursante.model.ts +333 -0
  108. package/projects/sigesp/src/lib/core/models/SNO/MConcurso.model.ts +267 -0
  109. package/projects/sigesp/src/lib/core/models/SNO/MConfiguracionSNO.model.ts +422 -0
  110. package/projects/sigesp/src/lib/core/models/SNO/MConstanteNomina.model.ts +76 -0
  111. package/projects/sigesp/src/lib/core/models/SNO/MConstantePersonalNomina.model.ts +85 -0
  112. package/projects/sigesp/src/lib/core/models/SNO/MDedicacion.model.ts +37 -0
  113. package/projects/sigesp/src/lib/core/models/SNO/MDefinicionNomina.model.ts +320 -0
  114. package/projects/sigesp/src/lib/core/models/SNO/MDefinicionesBasicas.model.ts +82 -0
  115. package/projects/sigesp/src/lib/core/models/SNO/MDeudaAnterior.model.ts +42 -0
  116. package/projects/sigesp/src/lib/core/models/SNO/MEncargaduria.model.ts +142 -0
  117. package/projects/sigesp/src/lib/core/models/SNO/MEscalaEvaluacion.model.ts +43 -0
  118. package/projects/sigesp/src/lib/core/models/SNO/MEscalaEvaluacionDt.model.ts +40 -0
  119. package/projects/sigesp/src/lib/core/models/SNO/MEstructuraOrganizativa.model.ts +136 -0
  120. package/projects/sigesp/src/lib/core/models/SNO/MFamiliares.model.ts +91 -0
  121. package/projects/sigesp/src/lib/core/models/SNO/MFeriados.model.ts +46 -0
  122. package/projects/sigesp/src/lib/core/models/SNO/MFideicomiso.model.ts +423 -0
  123. package/projects/sigesp/src/lib/core/models/SNO/MFormacionAcademica.model.ts +52 -0
  124. package/projects/sigesp/src/lib/core/models/SNO/MGrado.model.ts +50 -0
  125. package/projects/sigesp/src/lib/core/models/SNO/MHojaTiempo.model.ts +128 -0
  126. package/projects/sigesp/src/lib/core/models/SNO/MImpuestoSobreRenta.model.ts +77 -0
  127. package/projects/sigesp/src/lib/core/models/SNO/MMetodoBanco.model.ts +113 -0
  128. package/projects/sigesp/src/lib/core/models/SNO/MNominaSimple.model.ts +86 -0
  129. package/projects/sigesp/src/lib/core/models/SNO/MPeriodoNomina.model.ts +205 -0
  130. package/projects/sigesp/src/lib/core/models/SNO/MPermisos.model.ts +70 -0
  131. package/projects/sigesp/src/lib/core/models/SNO/MPersonal.model.ts +659 -0
  132. package/projects/sigesp/src/lib/core/models/SNO/MPersonalJubilado.model.ts +71 -0
  133. package/projects/sigesp/src/lib/core/models/SNO/MPersonalNomina.model.ts +323 -0
  134. package/projects/sigesp/src/lib/core/models/SNO/MPlanHorario.model.ts +134 -0
  135. package/projects/sigesp/src/lib/core/models/SNO/MPlantillaConstancia.model.ts +33 -0
  136. package/projects/sigesp/src/lib/core/models/SNO/MPrestamo.model.ts +242 -0
  137. package/projects/sigesp/src/lib/core/models/SNO/MPrimaGrados.model.ts +46 -0
  138. package/projects/sigesp/src/lib/core/models/SNO/MPrimasConcepto.model.ts +45 -0
  139. package/projects/sigesp/src/lib/core/models/SNO/MRango.model.ts +45 -0
  140. package/projects/sigesp/src/lib/core/models/SNO/MReportesRRHH.ts +425 -0
  141. package/projects/sigesp/src/lib/core/models/SNO/MRequisitosConcursante.model.ts +48 -0
  142. package/projects/sigesp/src/lib/core/models/SNO/MRequisitosConcursos.model.ts +41 -0
  143. package/projects/sigesp/src/lib/core/models/SNO/MRequisitosMinimos.model.ts +123 -0
  144. package/projects/sigesp/src/lib/core/models/SNO/MSalarioHistorico.model.ts +75 -0
  145. package/projects/sigesp/src/lib/core/models/SNO/MSolicitudEmpleo.model.ts +125 -0
  146. package/projects/sigesp/src/lib/core/models/SNO/MTablaVacaciones.model.ts +61 -0
  147. package/projects/sigesp/src/lib/core/models/SNO/MTablaVacacionesPeriodo.model.ts +45 -0
  148. package/projects/sigesp/src/lib/core/models/SNO/MTabulador.model.ts +108 -0
  149. package/projects/sigesp/src/lib/core/models/SNO/MTipoEvaluacion.model.ts +85 -0
  150. package/projects/sigesp/src/lib/core/models/SNO/MTipoPersonal.model.ts +37 -0
  151. package/projects/sigesp/src/lib/core/models/SNO/MTiposEnfermedad.model.ts +40 -0
  152. package/projects/sigesp/src/lib/core/models/SNO/MTrabajoAnterior.model.ts +70 -0
  153. package/projects/sigesp/src/lib/core/models/SNO/MUbicacionFisica.model.ts +63 -0
  154. package/projects/sigesp/src/lib/core/models/SNO/MVacacionesPersonal.model.ts +119 -0
  155. package/projects/sigesp/src/lib/core/models/SOC/charge.model.ts +81 -0
  156. package/projects/sigesp/src/lib/core/models/SOC/clause.model.ts +39 -0
  157. package/projects/sigesp/src/lib/core/models/SOC/clauseModality.model.ts +43 -0
  158. package/projects/sigesp/src/lib/core/models/SOC/configuracionSOC.model.ts +71 -0
  159. package/projects/sigesp/src/lib/core/models/SOC/service.model.ts +53 -0
  160. package/projects/sigesp/src/lib/core/models/SOC/serviceCharge.model.ts +42 -0
  161. package/projects/sigesp/src/lib/core/models/SOC/serviceType.model.ts +39 -0
  162. package/projects/sigesp/src/lib/core/models/SPG/UnidadAdministradoraCentral.ts +50 -0
  163. package/projects/sigesp/src/lib/core/models/SPG/administrativeUnit.model.ts +185 -0
  164. package/projects/sigesp/src/lib/core/models/SPG/comprobantePresupuestario.model.ts +148 -0
  165. package/projects/sigesp/src/lib/core/models/SPG/configurationSPG.model.ts +140 -0
  166. package/projects/sigesp/src/lib/core/models/SPG/cuentaPresupuesto.model.ts +194 -0
  167. package/projects/sigesp/src/lib/core/models/SPG/estructuraPresupuestaria.model.ts +261 -0
  168. package/projects/sigesp/src/lib/core/models/SPG/expensiveAccount.model.ts +104 -0
  169. package/projects/sigesp/src/lib/core/models/SPG/fuenteFinanciamiento.model.ts +54 -0
  170. package/projects/sigesp/src/lib/core/models/SPG/incomeStructureAccount.model.ts +88 -0
  171. package/projects/sigesp/src/lib/core/models/SPG/organizationType.model.ts +16 -0
  172. package/projects/sigesp/src/lib/core/models/SSS/component.model.ts +51 -0
  173. package/projects/sigesp/src/lib/core/models/SSS/group.model.ts +39 -0
  174. package/projects/sigesp/src/lib/core/models/SSS/log.model.ts +36 -0
  175. package/projects/sigesp/src/lib/core/models/SSS/securityConfiguration.model.ts +26 -0
  176. package/projects/sigesp/src/lib/core/models/SSS/sistema.ts +87 -0
  177. package/projects/sigesp/src/lib/core/models/SSS/user.model.ts +52 -0
  178. package/projects/sigesp/src/lib/core/models/SSS/userDetail.model.ts +84 -0
  179. package/projects/sigesp/src/lib/core/models/SSS/userPermit.model.ts +61 -0
  180. package/projects/sigesp/src/lib/core/models/SSS/userRights.model.ts +113 -0
  181. package/projects/sigesp/src/lib/core/models/STB/MCargosAdicionales.ts +97 -0
  182. package/projects/sigesp/src/lib/core/models/STB/deduction.model.ts +100 -0
  183. package/projects/sigesp/src/lib/core/models/STB/deductionType.model.ts +23 -0
  184. package/projects/sigesp/src/lib/core/models/STB/unidadTributaria.model.ts +25 -0
  185. package/projects/sigesp/src/lib/core/models/basic-model.model.ts +9 -0
  186. package/projects/sigesp/src/lib/shared/components/catalogo/catalogo.component.html +45 -0
  187. package/projects/sigesp/src/lib/shared/components/catalogo/catalogo.component.scss +82 -0
  188. package/projects/sigesp/src/lib/shared/components/catalogo/catalogo.component.ts +71 -0
  189. package/projects/sigesp/src/lib/shared/components/catalogo-doble-input/catalogo-doble-input.component.html +57 -0
  190. package/projects/sigesp/src/lib/shared/components/catalogo-doble-input/catalogo-doble-input.component.scss +82 -0
  191. package/projects/sigesp/src/lib/shared/components/catalogo-doble-input/catalogo-doble-input.component.ts +80 -0
  192. package/projects/sigesp/src/lib/shared/components/catalogo-estructuras/catalogo-estructuras.component.html +121 -0
  193. package/projects/sigesp/src/lib/shared/components/catalogo-estructuras/catalogo-estructuras.component.scss +81 -0
  194. package/projects/sigesp/src/lib/shared/components/catalogo-estructuras/catalogo-estructuras.component.ts +68 -0
  195. package/projects/sigesp/src/lib/shared/components/confirm/confirm.component.html +15 -0
  196. package/projects/sigesp/src/lib/shared/components/confirm/confirm.component.scss +37 -0
  197. package/projects/sigesp/src/lib/shared/components/confirm/confirm.component.ts +32 -0
  198. package/projects/sigesp/src/lib/shared/components/icon/flUhRq6tzZclQEJ-Vdg-IuiaDsNc.woff2 +0 -0
  199. package/projects/sigesp/src/lib/shared/components/icon/icon.component.html +6 -0
  200. package/projects/sigesp/src/lib/shared/components/icon/icon.component.scss +22 -0
  201. package/projects/sigesp/src/lib/shared/components/icon/icon.component.ts +19 -0
  202. package/projects/sigesp/src/lib/shared/components/table-select/table-select.component.html +73 -0
  203. package/projects/sigesp/src/lib/shared/components/table-select/table-select.component.scss +86 -0
  204. package/projects/sigesp/src/lib/shared/components/table-select/table-select.component.ts +102 -0
  205. package/projects/sigesp/src/lib/shared/material/customPaginator.ts +22 -0
  206. package/projects/sigesp/src/lib/shared/material/material.module.ts +144 -0
  207. package/projects/sigesp/src/lib/shared/pipes/iso-currency.pipe.ts +44 -0
  208. package/projects/sigesp/src/lib/shared/shared.module.ts +41 -0
  209. package/projects/sigesp/src/lib/sigesp.service.ts +2446 -0
  210. package/projects/sigesp/src/lib/validation.service.ts +172 -0
  211. package/projects/sigesp/src/public-api.ts +488 -0
  212. package/projects/sigesp/src/test.ts +23 -0
  213. package/projects/sigesp/tsconfig.lib.json +27 -0
  214. package/projects/sigesp/tsconfig.lib.prod.json +6 -0
  215. package/projects/sigesp/tsconfig.spec.json +17 -0
  216. package/projects/sigesp/tslint.json +17 -0
  217. package/src/app/app.component.html +11 -0
  218. package/src/app/app.component.scss +0 -0
  219. package/src/app/app.component.ts +110 -0
  220. package/src/app/app.module.ts +22 -0
  221. package/src/assets/.gitkeep +0 -0
  222. package/src/assets/icons/flUhRq6tzZclQEJ-Vdg-IuiaDsNc.woff2 +0 -0
  223. package/src/environments/environment.prod.ts +3 -0
  224. package/src/environments/environment.ts +16 -0
  225. package/src/favicon.ico +0 -0
  226. package/src/index.html +15 -0
  227. package/src/main.ts +13 -0
  228. package/src/polyfills.ts +53 -0
  229. package/src/styles.scss +101 -0
  230. package/src/test.ts +22 -0
  231. package/tsconfig.app.json +18 -0
  232. package/tsconfig.json +36 -0
  233. package/tsconfig.spec.json +18 -0
  234. package/tslint.json +155 -0
  235. package/esm2020/lib/app/app.component.mjs +0 -14
  236. package/esm2020/lib/app/app.module.mjs +0 -34
  237. package/esm2020/lib/core/interfaces/Auditoria.mjs +0 -49
  238. package/esm2020/lib/core/interfaces/Banco.mjs +0 -2
  239. package/esm2020/lib/core/interfaces/Catalogo.mjs +0 -2
  240. package/esm2020/lib/core/interfaces/CentroCosto.mjs +0 -2
  241. package/esm2020/lib/core/interfaces/Clasificacion.mjs +0 -2
  242. package/esm2020/lib/core/interfaces/Cliente.mjs +0 -2
  243. package/esm2020/lib/core/interfaces/ComprobantePresupuestario.mjs +0 -2
  244. package/esm2020/lib/core/interfaces/Comunidad.mjs +0 -2
  245. package/esm2020/lib/core/interfaces/Configuracion.mjs +0 -2
  246. package/esm2020/lib/core/interfaces/ConfiguracionRPC.mjs +0 -2
  247. package/esm2020/lib/core/interfaces/ConfiguracionSCG.mjs +0 -2
  248. package/esm2020/lib/core/interfaces/ConfigurationSPG.mjs +0 -2
  249. package/esm2020/lib/core/interfaces/Constantes.mjs +0 -369
  250. package/esm2020/lib/core/interfaces/CuentaEgresos.mjs +0 -2
  251. package/esm2020/lib/core/interfaces/CuentaIngreso.mjs +0 -2
  252. package/esm2020/lib/core/interfaces/CuentaIngresoEstructura.mjs +0 -2
  253. package/esm2020/lib/core/interfaces/CuentaInstitucional.mjs +0 -2
  254. package/esm2020/lib/core/interfaces/CuentaPresupuesto.mjs +0 -2
  255. package/esm2020/lib/core/interfaces/CuentasPorPagar.mjs +0 -2
  256. package/esm2020/lib/core/interfaces/Documento.mjs +0 -2
  257. package/esm2020/lib/core/interfaces/EntradaSuministro.mjs +0 -2
  258. package/esm2020/lib/core/interfaces/Especialidad.mjs +0 -2
  259. package/esm2020/lib/core/interfaces/EstructuraPresupuestaria.mjs +0 -2
  260. package/esm2020/lib/core/interfaces/FuenteFinanciamiento.mjs +0 -2
  261. package/esm2020/lib/core/interfaces/IBancoCuentasPorPagar.mjs +0 -2
  262. package/esm2020/lib/core/interfaces/ITipoDepositos.mjs +0 -2
  263. package/esm2020/lib/core/interfaces/Integracion.mjs +0 -2
  264. package/esm2020/lib/core/interfaces/Lugares.mjs +0 -2
  265. package/esm2020/lib/core/interfaces/Moneda.mjs +0 -2
  266. package/esm2020/lib/core/interfaces/Nomina.mjs +0 -29
  267. package/esm2020/lib/core/interfaces/PlanUnicoCuenta.mjs +0 -2
  268. package/esm2020/lib/core/interfaces/Presupuesto.mjs +0 -2
  269. package/esm2020/lib/core/interfaces/Proveedor.mjs +0 -2
  270. package/esm2020/lib/core/interfaces/RecursosHumanos.mjs +0 -4
  271. package/esm2020/lib/core/interfaces/Request.mjs +0 -2
  272. package/esm2020/lib/core/interfaces/Response.mjs +0 -2
  273. package/esm2020/lib/core/interfaces/Seguridad.mjs +0 -2
  274. package/esm2020/lib/core/interfaces/Servicios.mjs +0 -2
  275. package/esm2020/lib/core/interfaces/Sistema.mjs +0 -2
  276. package/esm2020/lib/core/interfaces/Tributos.mjs +0 -2
  277. package/esm2020/lib/core/interfaces/UnidadTributaria.mjs +0 -2
  278. package/esm2020/lib/core/interfaces/Usuario.mjs +0 -2
  279. package/esm2020/lib/core/interfaces/UsuarioPrefijo.mjs +0 -2
  280. package/esm2020/lib/core/models/CFG/Empresa.model.mjs +0 -115
  281. package/esm2020/lib/core/models/CFG/Enterprise.model.mjs +0 -70
  282. package/esm2020/lib/core/models/CFG/MPrefijo.model.mjs +0 -67
  283. package/esm2020/lib/core/models/CFG/Procede.model.mjs +0 -31
  284. package/esm2020/lib/core/models/CFG/TasaCambio.model.mjs +0 -40
  285. package/esm2020/lib/core/models/CFG/comunidad.model.mjs +0 -22
  286. package/esm2020/lib/core/models/CFG/locations.model.mjs +0 -170
  287. package/esm2020/lib/core/models/CFG/moneda.model.mjs +0 -72
  288. package/esm2020/lib/core/models/CFG/userPrefix.model.mjs +0 -49
  289. package/esm2020/lib/core/models/CXP/MConceptosCXP.model.mjs +0 -34
  290. package/esm2020/lib/core/models/CXP/MTipoDocumentoCXP.model.mjs +0 -44
  291. package/esm2020/lib/core/models/RPC/clasification.model.mjs +0 -16
  292. package/esm2020/lib/core/models/RPC/configuracionRPC.model.mjs +0 -23
  293. package/esm2020/lib/core/models/RPC/document.model.mjs +0 -16
  294. package/esm2020/lib/core/models/RPC/proveedores.model.mjs +0 -9
  295. package/esm2020/lib/core/models/RPC/providerBeneficiary.model.mjs +0 -285
  296. package/esm2020/lib/core/models/RPC/specialty.model.mjs +0 -12
  297. package/esm2020/lib/core/models/SCB/bank.model.mjs +0 -181
  298. package/esm2020/lib/core/models/SCG/IncomeAccount.mjs +0 -127
  299. package/esm2020/lib/core/models/SCG/accountMarriage.model.mjs +0 -29
  300. package/esm2020/lib/core/models/SCG/centroCosto.model.mjs +0 -75
  301. package/esm2020/lib/core/models/SCG/configuracionSCG.model.mjs +0 -161
  302. package/esm2020/lib/core/models/SCG/cuentaInstitucional.model.mjs +0 -95
  303. package/esm2020/lib/core/models/SCG/planUnicoCuenta.model.mjs +0 -17
  304. package/esm2020/lib/core/models/SFV/MClienteModel.mjs +0 -116
  305. package/esm2020/lib/core/models/SIV/MDetaContable.model.mjs +0 -62
  306. package/esm2020/lib/core/models/SIV/MDetaEntrada.model.mjs +0 -94
  307. package/esm2020/lib/core/models/SIV/MEntradaSuministro.model.mjs +0 -132
  308. package/esm2020/lib/core/models/SIV/MTipoDepositos.model.mjs +0 -103
  309. package/esm2020/lib/core/models/SNO/MAnticipoPrestaciones.model.mjs +0 -100
  310. package/esm2020/lib/core/models/SNO/MArchivoTxtCampo.model.mjs +0 -61
  311. package/esm2020/lib/core/models/SNO/MArchivosTxt.model.mjs +0 -41
  312. package/esm2020/lib/core/models/SNO/MAsignacionCargo.model.mjs +0 -221
  313. package/esm2020/lib/core/models/SNO/MAspectoEvaluacion.model.mjs +0 -90
  314. package/esm2020/lib/core/models/SNO/MAuditoria.model.mjs +0 -61
  315. package/esm2020/lib/core/models/SNO/MBeneficiario.model.mjs +0 -137
  316. package/esm2020/lib/core/models/SNO/MCargaFamiliar.model.mjs +0 -52
  317. package/esm2020/lib/core/models/SNO/MCargaMasiva.model.mjs +0 -34
  318. package/esm2020/lib/core/models/SNO/MCargosPersonal.model.mjs +0 -116
  319. package/esm2020/lib/core/models/SNO/MClasificacionObrero.mdel.mjs +0 -46
  320. package/esm2020/lib/core/models/SNO/MCodigoUnicoRac.model.mjs +0 -39
  321. package/esm2020/lib/core/models/SNO/MComponete.model.mjs +0 -38
  322. package/esm2020/lib/core/models/SNO/MConceptoVacaciones.model.mjs +0 -85
  323. package/esm2020/lib/core/models/SNO/MConceptosNomina.model.mjs +0 -241
  324. package/esm2020/lib/core/models/SNO/MConceptosPersonalNomina.model.mjs +0 -97
  325. package/esm2020/lib/core/models/SNO/MConcursante.model.mjs +0 -317
  326. package/esm2020/lib/core/models/SNO/MConcurso.model.mjs +0 -246
  327. package/esm2020/lib/core/models/SNO/MConfiguracionSNO.model.mjs +0 -416
  328. package/esm2020/lib/core/models/SNO/MConstanteNomina.model.mjs +0 -70
  329. package/esm2020/lib/core/models/SNO/MConstantePersonalNomina.model.mjs +0 -79
  330. package/esm2020/lib/core/models/SNO/MDedicacion.model.mjs +0 -35
  331. package/esm2020/lib/core/models/SNO/MDefinicionNomina.model.mjs +0 -304
  332. package/esm2020/lib/core/models/SNO/MDefinicionesBasicas.model.mjs +0 -72
  333. package/esm2020/lib/core/models/SNO/MDeudaAnterior.model.mjs +0 -40
  334. package/esm2020/lib/core/models/SNO/MEncargaduria.model.mjs +0 -138
  335. package/esm2020/lib/core/models/SNO/MEscalaEvaluacion.model.mjs +0 -38
  336. package/esm2020/lib/core/models/SNO/MEscalaEvaluacionDt.model.mjs +0 -37
  337. package/esm2020/lib/core/models/SNO/MEstructuraOrganizativa.model.mjs +0 -130
  338. package/esm2020/lib/core/models/SNO/MFamiliares.model.mjs +0 -86
  339. package/esm2020/lib/core/models/SNO/MFeriados.model.mjs +0 -43
  340. package/esm2020/lib/core/models/SNO/MFideicomiso.model.mjs +0 -406
  341. package/esm2020/lib/core/models/SNO/MFormacionAcademica.model.mjs +0 -49
  342. package/esm2020/lib/core/models/SNO/MGrado.model.mjs +0 -44
  343. package/esm2020/lib/core/models/SNO/MHojaTiempo.model.mjs +0 -117
  344. package/esm2020/lib/core/models/SNO/MImpuestoSobreRenta.model.mjs +0 -73
  345. package/esm2020/lib/core/models/SNO/MMetodoBanco.model.mjs +0 -105
  346. package/esm2020/lib/core/models/SNO/MNominaSimple.model.mjs +0 -79
  347. package/esm2020/lib/core/models/SNO/MPeriodoNomina.model.mjs +0 -201
  348. package/esm2020/lib/core/models/SNO/MPermisos.model.mjs +0 -68
  349. package/esm2020/lib/core/models/SNO/MPersonal.model.mjs +0 -638
  350. package/esm2020/lib/core/models/SNO/MPersonalJubilado.model.mjs +0 -64
  351. package/esm2020/lib/core/models/SNO/MPersonalNomina.model.mjs +0 -315
  352. package/esm2020/lib/core/models/SNO/MPlanHorario.model.mjs +0 -117
  353. package/esm2020/lib/core/models/SNO/MPlantillaConstancia.model.mjs +0 -31
  354. package/esm2020/lib/core/models/SNO/MPrestamo.model.mjs +0 -221
  355. package/esm2020/lib/core/models/SNO/MPrimaGrados.model.mjs +0 -43
  356. package/esm2020/lib/core/models/SNO/MPrimasConcepto.model.mjs +0 -43
  357. package/esm2020/lib/core/models/SNO/MRango.model.mjs +0 -43
  358. package/esm2020/lib/core/models/SNO/MReportesRRHH.mjs +0 -402
  359. package/esm2020/lib/core/models/SNO/MRequisitosConcursante.model.mjs +0 -46
  360. package/esm2020/lib/core/models/SNO/MRequisitosConcursos.model.mjs +0 -37
  361. package/esm2020/lib/core/models/SNO/MRequisitosMinimos.model.mjs +0 -113
  362. package/esm2020/lib/core/models/SNO/MSalarioHistorico.model.mjs +0 -70
  363. package/esm2020/lib/core/models/SNO/MSolicitudEmpleo.model.mjs +0 -121
  364. package/esm2020/lib/core/models/SNO/MTablaVacaciones.model.mjs +0 -57
  365. package/esm2020/lib/core/models/SNO/MTablaVacacionesPeriodo.model.mjs +0 -40
  366. package/esm2020/lib/core/models/SNO/MTabulador.model.mjs +0 -96
  367. package/esm2020/lib/core/models/SNO/MTipoEvaluacion.model.mjs +0 -75
  368. package/esm2020/lib/core/models/SNO/MTipoPersonal.model.mjs +0 -34
  369. package/esm2020/lib/core/models/SNO/MTiposEnfermedad.model.mjs +0 -37
  370. package/esm2020/lib/core/models/SNO/MTrabajoAnterior.model.mjs +0 -65
  371. package/esm2020/lib/core/models/SNO/MUbicacionFisica.model.mjs +0 -61
  372. package/esm2020/lib/core/models/SNO/MVacacionesPersonal.model.mjs +0 -115
  373. package/esm2020/lib/core/models/SOC/charge.model.mjs +0 -69
  374. package/esm2020/lib/core/models/SOC/clause.model.mjs +0 -34
  375. package/esm2020/lib/core/models/SOC/clauseModality.model.mjs +0 -38
  376. package/esm2020/lib/core/models/SOC/configuracionSOC.model.mjs +0 -65
  377. package/esm2020/lib/core/models/SOC/service.model.mjs +0 -49
  378. package/esm2020/lib/core/models/SOC/serviceCharge.model.mjs +0 -40
  379. package/esm2020/lib/core/models/SOC/serviceType.model.mjs +0 -34
  380. package/esm2020/lib/core/models/SPG/UnidadAdministradoraCentral.mjs +0 -46
  381. package/esm2020/lib/core/models/SPG/administrativeUnit.model.mjs +0 -130
  382. package/esm2020/lib/core/models/SPG/comprobantePresupuestario.model.mjs +0 -101
  383. package/esm2020/lib/core/models/SPG/configurationSPG.model.mjs +0 -120
  384. package/esm2020/lib/core/models/SPG/cuentaPresupuesto.model.mjs +0 -184
  385. package/esm2020/lib/core/models/SPG/estructuraPresupuestaria.model.mjs +0 -186
  386. package/esm2020/lib/core/models/SPG/expensiveAccount.model.mjs +0 -100
  387. package/esm2020/lib/core/models/SPG/fuenteFinanciamiento.model.mjs +0 -52
  388. package/esm2020/lib/core/models/SPG/incomeStructureAccount.model.mjs +0 -85
  389. package/esm2020/lib/core/models/SPG/organizationType.model.mjs +0 -12
  390. package/esm2020/lib/core/models/SSS/component.model.mjs +0 -44
  391. package/esm2020/lib/core/models/SSS/group.model.mjs +0 -30
  392. package/esm2020/lib/core/models/SSS/log.model.mjs +0 -29
  393. package/esm2020/lib/core/models/SSS/securityConfiguration.model.mjs +0 -20
  394. package/esm2020/lib/core/models/SSS/sistema.mjs +0 -73
  395. package/esm2020/lib/core/models/SSS/user.model.mjs +0 -32
  396. package/esm2020/lib/core/models/SSS/userDetail.model.mjs +0 -79
  397. package/esm2020/lib/core/models/SSS/userPermit.model.mjs +0 -47
  398. package/esm2020/lib/core/models/SSS/userRights.model.mjs +0 -104
  399. package/esm2020/lib/core/models/STB/MCargosAdicionales.mjs +0 -87
  400. package/esm2020/lib/core/models/STB/deduction.model.mjs +0 -90
  401. package/esm2020/lib/core/models/STB/deductionType.model.mjs +0 -20
  402. package/esm2020/lib/core/models/STB/unidadTributaria.model.mjs +0 -14
  403. package/esm2020/lib/core/models/basic-model.model.mjs +0 -8
  404. package/esm2020/lib/shared/components/catalogo/catalogo.component.mjs +0 -76
  405. package/esm2020/lib/shared/components/catalogo-doble-input/catalogo-doble-input.component.mjs +0 -87
  406. package/esm2020/lib/shared/components/catalogo-estructuras/catalogo-estructuras.component.mjs +0 -74
  407. package/esm2020/lib/shared/components/confirm/confirm.component.mjs +0 -35
  408. package/esm2020/lib/shared/components/icon/icon.component.mjs +0 -22
  409. package/esm2020/lib/shared/components/table-select/table-select.component.mjs +0 -99
  410. package/esm2020/lib/shared/material/customPaginator.mjs +0 -24
  411. package/esm2020/lib/shared/material/material.module.mjs +0 -322
  412. package/esm2020/lib/shared/pipes/iso-currency.pipe.mjs +0 -43
  413. package/esm2020/lib/shared/shared.module.mjs +0 -66
  414. package/esm2020/lib/sigesp.service.mjs +0 -1829
  415. package/esm2020/lib/validation.service.mjs +0 -131
  416. package/esm2020/public-api.mjs +0 -156
  417. package/esm2020/sigesp.mjs +0 -5
  418. package/fesm2015/sigesp.mjs +0 -14888
  419. package/fesm2015/sigesp.mjs.map +0 -1
  420. package/fesm2020/sigesp.mjs +0 -14851
  421. package/fesm2020/sigesp.mjs.map +0 -1
  422. package/index.d.ts +0 -5
  423. package/lib/app/app.component.d.ts +0 -8
  424. package/lib/app/app.module.d.ts +0 -10
  425. package/lib/core/interfaces/Auditoria.d.ts +0 -19
  426. package/lib/core/interfaces/Banco.d.ts +0 -599
  427. package/lib/core/interfaces/Catalogo.d.ts +0 -13
  428. package/lib/core/interfaces/CentroCosto.d.ts +0 -21
  429. package/lib/core/interfaces/Clasificacion.d.ts +0 -6
  430. package/lib/core/interfaces/Cliente.d.ts +0 -36
  431. package/lib/core/interfaces/ComprobantePresupuestario.d.ts +0 -51
  432. package/lib/core/interfaces/Comunidad.d.ts +0 -12
  433. package/lib/core/interfaces/Configuracion.d.ts +0 -91
  434. package/lib/core/interfaces/ConfiguracionRPC.d.ts +0 -10
  435. package/lib/core/interfaces/ConfiguracionSCG.d.ts +0 -52
  436. package/lib/core/interfaces/ConfigurationSPG.d.ts +0 -49
  437. package/lib/core/interfaces/Constantes.d.ts +0 -85
  438. package/lib/core/interfaces/CuentaEgresos.d.ts +0 -158
  439. package/lib/core/interfaces/CuentaIngreso.d.ts +0 -38
  440. package/lib/core/interfaces/CuentaIngresoEstructura.d.ts +0 -26
  441. package/lib/core/interfaces/CuentaInstitucional.d.ts +0 -28
  442. package/lib/core/interfaces/CuentaPresupuesto.d.ts +0 -9
  443. package/lib/core/interfaces/CuentasPorPagar.d.ts +0 -37
  444. package/lib/core/interfaces/Documento.d.ts +0 -6
  445. package/lib/core/interfaces/EntradaSuministro.d.ts +0 -87
  446. package/lib/core/interfaces/Especialidad.d.ts +0 -4
  447. package/lib/core/interfaces/EstructuraPresupuestaria.d.ts +0 -83
  448. package/lib/core/interfaces/FuenteFinanciamiento.d.ts +0 -14
  449. package/lib/core/interfaces/IBancoCuentasPorPagar.d.ts +0 -190
  450. package/lib/core/interfaces/ITipoDepositos.d.ts +0 -31
  451. package/lib/core/interfaces/Integracion.d.ts +0 -6
  452. package/lib/core/interfaces/Lugares.d.ts +0 -40
  453. package/lib/core/interfaces/Moneda.d.ts +0 -20
  454. package/lib/core/interfaces/Nomina.d.ts +0 -554
  455. package/lib/core/interfaces/PlanUnicoCuenta.d.ts +0 -4
  456. package/lib/core/interfaces/Presupuesto.d.ts +0 -128
  457. package/lib/core/interfaces/RecursosHumanos.d.ts +0 -1627
  458. package/lib/core/interfaces/Response.d.ts +0 -7
  459. package/lib/core/interfaces/Seguridad.d.ts +0 -112
  460. package/lib/core/interfaces/Servicios.d.ts +0 -64
  461. package/lib/core/interfaces/Sistema.d.ts +0 -19
  462. package/lib/core/interfaces/Tributos.d.ts +0 -75
  463. package/lib/core/interfaces/UnidadTributaria.d.ts +0 -11
  464. package/lib/core/interfaces/Usuario.d.ts +0 -52
  465. package/lib/core/interfaces/UsuarioPrefijo.d.ts +0 -13
  466. package/lib/core/models/CFG/Empresa.model.d.ts +0 -39
  467. package/lib/core/models/CFG/Enterprise.model.d.ts +0 -24
  468. package/lib/core/models/CFG/MPrefijo.model.d.ts +0 -23
  469. package/lib/core/models/CFG/Procede.model.d.ts +0 -11
  470. package/lib/core/models/CFG/TasaCambio.model.d.ts +0 -14
  471. package/lib/core/models/CFG/comunidad.model.d.ts +0 -15
  472. package/lib/core/models/CFG/locations.model.d.ts +0 -54
  473. package/lib/core/models/CFG/moneda.model.d.ts +0 -26
  474. package/lib/core/models/CFG/userPrefix.model.d.ts +0 -17
  475. package/lib/core/models/CXP/MConceptosCXP.model.d.ts +0 -12
  476. package/lib/core/models/CXP/MTipoDocumentoCXP.model.d.ts +0 -16
  477. package/lib/core/models/RPC/clasification.model.d.ts +0 -11
  478. package/lib/core/models/RPC/configuracionRPC.model.d.ts +0 -12
  479. package/lib/core/models/RPC/document.model.d.ts +0 -11
  480. package/lib/core/models/RPC/proveedores.model.d.ts +0 -8
  481. package/lib/core/models/RPC/providerBeneficiary.model.d.ts +0 -116
  482. package/lib/core/models/RPC/specialty.model.d.ts +0 -9
  483. package/lib/core/models/SCB/bank.model.d.ts +0 -63
  484. package/lib/core/models/SCG/IncomeAccount.d.ts +0 -45
  485. package/lib/core/models/SCG/accountMarriage.model.d.ts +0 -11
  486. package/lib/core/models/SCG/centroCosto.model.d.ts +0 -27
  487. package/lib/core/models/SCG/configuracionSCG.model.d.ts +0 -56
  488. package/lib/core/models/SCG/cuentaInstitucional.model.d.ts +0 -34
  489. package/lib/core/models/SCG/planUnicoCuenta.model.d.ts +0 -8
  490. package/lib/core/models/SFV/MClienteModel.d.ts +0 -40
  491. package/lib/core/models/SIV/MDetaContable.model.d.ts +0 -21
  492. package/lib/core/models/SIV/MDetaEntrada.model.d.ts +0 -33
  493. package/lib/core/models/SIV/MEntradaSuministro.model.d.ts +0 -47
  494. package/lib/core/models/SIV/MTipoDepositos.model.d.ts +0 -35
  495. package/lib/core/models/SNO/MAnticipoPrestaciones.model.d.ts +0 -32
  496. package/lib/core/models/SNO/MArchivoTxtCampo.model.d.ts +0 -21
  497. package/lib/core/models/SNO/MArchivosTxt.model.d.ts +0 -15
  498. package/lib/core/models/SNO/MAsignacionCargo.model.d.ts +0 -87
  499. package/lib/core/models/SNO/MAspectoEvaluacion.model.d.ts +0 -30
  500. package/lib/core/models/SNO/MAuditoria.model.d.ts +0 -21
  501. package/lib/core/models/SNO/MBeneficiario.model.d.ts +0 -48
  502. package/lib/core/models/SNO/MCargaFamiliar.model.d.ts +0 -18
  503. package/lib/core/models/SNO/MCargaMasiva.model.d.ts +0 -12
  504. package/lib/core/models/SNO/MCargosPersonal.model.d.ts +0 -48
  505. package/lib/core/models/SNO/MClasificacionObrero.mdel.d.ts +0 -16
  506. package/lib/core/models/SNO/MCodigoUnicoRac.model.d.ts +0 -14
  507. package/lib/core/models/SNO/MComponete.model.d.ts +0 -14
  508. package/lib/core/models/SNO/MConceptoVacaciones.model.d.ts +0 -30
  509. package/lib/core/models/SNO/MConceptosNomina.model.d.ts +0 -84
  510. package/lib/core/models/SNO/MConceptosPersonalNomina.model.d.ts +0 -34
  511. package/lib/core/models/SNO/MConcursante.model.d.ts +0 -104
  512. package/lib/core/models/SNO/MConcurso.model.d.ts +0 -83
  513. package/lib/core/models/SNO/MConfiguracionSNO.model.d.ts +0 -140
  514. package/lib/core/models/SNO/MConstanteNomina.model.d.ts +0 -24
  515. package/lib/core/models/SNO/MConstantePersonalNomina.model.d.ts +0 -27
  516. package/lib/core/models/SNO/MDedicacion.model.d.ts +0 -13
  517. package/lib/core/models/SNO/MDefinicionNomina.model.d.ts +0 -115
  518. package/lib/core/models/SNO/MDefinicionesBasicas.model.d.ts +0 -25
  519. package/lib/core/models/SNO/MDeudaAnterior.model.d.ts +0 -14
  520. package/lib/core/models/SNO/MEncargaduria.model.d.ts +0 -47
  521. package/lib/core/models/SNO/MEscalaEvaluacion.model.d.ts +0 -15
  522. package/lib/core/models/SNO/MEscalaEvaluacionDt.model.d.ts +0 -14
  523. package/lib/core/models/SNO/MEstructuraOrganizativa.model.d.ts +0 -46
  524. package/lib/core/models/SNO/MFamiliares.model.d.ts +0 -31
  525. package/lib/core/models/SNO/MFeriados.model.d.ts +0 -16
  526. package/lib/core/models/SNO/MFideicomiso.model.d.ts +0 -143
  527. package/lib/core/models/SNO/MFormacionAcademica.model.d.ts +0 -18
  528. package/lib/core/models/SNO/MGrado.model.d.ts +0 -18
  529. package/lib/core/models/SNO/MHojaTiempo.model.d.ts +0 -40
  530. package/lib/core/models/SNO/MImpuestoSobreRenta.model.d.ts +0 -25
  531. package/lib/core/models/SNO/MMetodoBanco.model.d.ts +0 -35
  532. package/lib/core/models/SNO/MNominaSimple.model.d.ts +0 -34
  533. package/lib/core/models/SNO/MPeriodoNomina.model.d.ts +0 -57
  534. package/lib/core/models/SNO/MPermisos.model.d.ts +0 -24
  535. package/lib/core/models/SNO/MPersonal.model.d.ts +0 -219
  536. package/lib/core/models/SNO/MPersonalJubilado.model.d.ts +0 -23
  537. package/lib/core/models/SNO/MPersonalNomina.model.d.ts +0 -102
  538. package/lib/core/models/SNO/MPlanHorario.model.d.ts +0 -41
  539. package/lib/core/models/SNO/MPlantillaConstancia.model.d.ts +0 -11
  540. package/lib/core/models/SNO/MPrestamo.model.d.ts +0 -69
  541. package/lib/core/models/SNO/MPrimaGrados.model.d.ts +0 -15
  542. package/lib/core/models/SNO/MPrimasConcepto.model.d.ts +0 -15
  543. package/lib/core/models/SNO/MRango.model.d.ts +0 -15
  544. package/lib/core/models/SNO/MReportesRRHH.d.ts +0 -130
  545. package/lib/core/models/SNO/MRequisitosConcursante.model.d.ts +0 -16
  546. package/lib/core/models/SNO/MRequisitosConcursos.model.d.ts +0 -14
  547. package/lib/core/models/SNO/MRequisitosMinimos.model.d.ts +0 -39
  548. package/lib/core/models/SNO/MSalarioHistorico.model.d.ts +0 -25
  549. package/lib/core/models/SNO/MSolicitudEmpleo.model.d.ts +0 -42
  550. package/lib/core/models/SNO/MTablaVacaciones.model.d.ts +0 -15
  551. package/lib/core/models/SNO/MTablaVacacionesPeriodo.model.d.ts +0 -15
  552. package/lib/core/models/SNO/MTabulador.model.d.ts +0 -39
  553. package/lib/core/models/SNO/MTipoEvaluacion.model.d.ts +0 -28
  554. package/lib/core/models/SNO/MTipoPersonal.model.d.ts +0 -13
  555. package/lib/core/models/SNO/MTiposEnfermedad.model.d.ts +0 -14
  556. package/lib/core/models/SNO/MTrabajoAnterior.model.d.ts +0 -24
  557. package/lib/core/models/SNO/MUbicacionFisica.model.d.ts +0 -21
  558. package/lib/core/models/SNO/MVacacionesPersonal.model.d.ts +0 -40
  559. package/lib/core/models/SOC/charge.model.d.ts +0 -25
  560. package/lib/core/models/SOC/clause.model.d.ts +0 -12
  561. package/lib/core/models/SOC/clauseModality.model.d.ts +0 -14
  562. package/lib/core/models/SOC/configuracionSOC.model.d.ts +0 -21
  563. package/lib/core/models/SOC/service.model.d.ts +0 -17
  564. package/lib/core/models/SOC/serviceCharge.model.d.ts +0 -14
  565. package/lib/core/models/SOC/serviceType.model.d.ts +0 -12
  566. package/lib/core/models/SPG/UnidadAdministradoraCentral.d.ts +0 -16
  567. package/lib/core/models/SPG/administrativeUnit.model.d.ts +0 -64
  568. package/lib/core/models/SPG/comprobantePresupuestario.model.d.ts +0 -56
  569. package/lib/core/models/SPG/configurationSPG.model.d.ts +0 -46
  570. package/lib/core/models/SPG/cuentaPresupuesto.model.d.ts +0 -65
  571. package/lib/core/models/SPG/estructuraPresupuestaria.model.d.ts +0 -119
  572. package/lib/core/models/SPG/expensiveAccount.model.d.ts +0 -50
  573. package/lib/core/models/SPG/fuenteFinanciamiento.model.d.ts +0 -18
  574. package/lib/core/models/SPG/incomeStructureAccount.model.d.ts +0 -40
  575. package/lib/core/models/SPG/organizationType.model.d.ts +0 -9
  576. package/lib/core/models/SSS/component.model.d.ts +0 -16
  577. package/lib/core/models/SSS/group.model.d.ts +0 -16
  578. package/lib/core/models/SSS/log.model.d.ts +0 -15
  579. package/lib/core/models/SSS/securityConfiguration.model.d.ts +0 -9
  580. package/lib/core/models/SSS/sistema.d.ts +0 -25
  581. package/lib/core/models/SSS/user.model.d.ts +0 -22
  582. package/lib/core/models/SSS/userDetail.model.d.ts +0 -28
  583. package/lib/core/models/SSS/userPermit.model.d.ts +0 -18
  584. package/lib/core/models/SSS/userRights.model.d.ts +0 -35
  585. package/lib/core/models/STB/MCargosAdicionales.d.ts +0 -33
  586. package/lib/core/models/STB/deduction.model.d.ts +0 -30
  587. package/lib/core/models/STB/deductionType.model.d.ts +0 -9
  588. package/lib/core/models/STB/unidadTributaria.model.d.ts +0 -13
  589. package/lib/core/models/basic-model.model.d.ts +0 -6
  590. package/lib/shared/components/catalogo/catalogo.component.d.ts +0 -35
  591. package/lib/shared/components/catalogo-doble-input/catalogo-doble-input.component.d.ts +0 -39
  592. package/lib/shared/components/catalogo-estructuras/catalogo-estructuras.component.d.ts +0 -38
  593. package/lib/shared/components/confirm/confirm.component.d.ts +0 -21
  594. package/lib/shared/components/icon/icon.component.d.ts +0 -11
  595. package/lib/shared/components/table-select/table-select.component.d.ts +0 -39
  596. package/lib/shared/material/customPaginator.d.ts +0 -9
  597. package/lib/shared/material/material.module.d.ts +0 -48
  598. package/lib/shared/pipes/iso-currency.pipe.d.ts +0 -13
  599. package/lib/shared/shared.module.d.ts +0 -16
  600. package/lib/sigesp.service.d.ts +0 -901
  601. package/lib/validation.service.d.ts +0 -15
  602. package/public-api.d.ts +0 -164
@@ -0,0 +1,87 @@
1
+ import { MBasicModel } from '../basic-model.model';
2
+ import { ISistema, IUsuarioSistema } from '../../interfaces/Sistema';
3
+ import { MUserDetail } from './userDetail.model';
4
+
5
+ export class MSistema extends MBasicModel{
6
+
7
+ public nombre: string = null;
8
+ public codigo: string = null;
9
+ public estado: string = null;
10
+ public imagen: string = null;
11
+ public usuarios: MUserDetail[] = [];
12
+ public eliminados: MUserDetail[] = [];
13
+
14
+ constructor(sis?: ISistema){
15
+ super();
16
+ if(sis){
17
+ this.nombre = sis.nomsis;
18
+ this.codigo = sis.codsis;
19
+ this.estado = sis.estsis;
20
+ this.imagen =sis.imgsis;
21
+ if(sis.usuarios){
22
+ this.usuarios = sis.usuarios.map(e => new MUserDetail(e));
23
+ }
24
+ } else{
25
+ this.isNew=true;
26
+ }
27
+ }
28
+
29
+ public dataInterface():ISistema{
30
+ return{
31
+ codsis: this.nombre,
32
+ nomsis: this.codigo,
33
+ estsis: this.estado,
34
+ imgsis: this.imagen,
35
+ usuarios: this.usuarios.map(function(e){return e.turnToInterface()}),
36
+ }
37
+ }
38
+
39
+
40
+
41
+ }
42
+
43
+
44
+ export class MUsuarioSistema extends MBasicModel{
45
+ public idEmpresa: number= 0;
46
+ public idUsuario: number= 0;
47
+ public codigoSistema: string= '';
48
+ public nombreSistema: string= '';
49
+ public estausSistema: number= 0;
50
+ public imagenSistema: string= '';
51
+ public ruta: string= '';
52
+ public tipoSistema: number= 0;
53
+
54
+
55
+ constructor(sis?: IUsuarioSistema){
56
+ super();
57
+ if(sis){
58
+ this.idEmpresa= +sis.id_empresa;
59
+ this.idUsuario=+sis.id_usuario;
60
+ this.codigoSistema=sis.codsis;
61
+ this.nombreSistema=sis.nomsis;
62
+ this.estausSistema=+sis.estsis;
63
+ this.imagenSistema=sis.imgsis;
64
+ this.ruta=sis.accsis;
65
+ this.tipoSistema=+sis.tipsis;
66
+
67
+ } else{
68
+ this.isNew=true;
69
+ }
70
+ }
71
+
72
+ public dataInterface():IUsuarioSistema{
73
+ return{
74
+ id_empresa: this.idEmpresa.toString(),
75
+ id_usuario: this.idUsuario.toString(),
76
+ codsis: this.codigoSistema,
77
+ nomsis: this.nombreSistema,
78
+ estsis: this.estausSistema.toString(),
79
+ imgsis: this.imagenSistema,
80
+ accsis: this.ruta,
81
+ tipsis: this.tipoSistema.toString(),
82
+ }
83
+ }
84
+
85
+
86
+
87
+ }
@@ -0,0 +1,52 @@
1
+ import { IUsuario, IConexionDB, IEmpresa } from '../../interfaces/Usuario';
2
+ import { MBasicModel } from '../basic-model.model';
3
+
4
+ export class MUsuario extends MBasicModel{
5
+
6
+ public nombre: string;
7
+ public apellido: string;
8
+ public conexionDB: IConexionDB;
9
+ public enterprise:number;
10
+ public empresa: IEmpresa;
11
+ public token: string;
12
+ public foto: string;
13
+ public id: number;
14
+ public procede?: string;
15
+ public codsis?: string;
16
+ public nomina?:number;
17
+ public periodo?:number;
18
+ public carpeta?:string;
19
+ public sistema?:string;
20
+ public fuente?:string;
21
+ private interface: IUsuario = null;
22
+
23
+ constructor(user?: IUsuario) {
24
+ super();
25
+ if (user){
26
+ this.apellido = user.apellido;
27
+ this.nombre = user.nombre;
28
+ this.conexionDB = user.conexionDB;
29
+ this.enterprise=+user.id_enterprise;
30
+ this.empresa = user.empresa;
31
+ this.token = user.token;
32
+ this.procede = user.procede;
33
+ this.codsis = user.codsis;
34
+ this.foto = user.foto;
35
+ this.id = +user.id_usuario;
36
+ this.interface = user;
37
+ this.nomina= +user.nomina;
38
+ this.periodo= +user.periodo;
39
+ this.carpeta=user.carpeta;
40
+ this.sistema=user.sistema;
41
+ this.fuente=user.fuente;
42
+ } else {
43
+ this.isNew=true;
44
+ }
45
+
46
+ }
47
+
48
+
49
+ public getInterface(){
50
+ return this.interface;
51
+ }
52
+ }
@@ -0,0 +1,84 @@
1
+ import { MBasicModel } from '../basic-model.model';
2
+ import { IUserDetail } from '../../interfaces/Seguridad';
3
+ import { MRights } from '../SSS/userRights.model';
4
+ import { formatDate } from '@angular/common';
5
+
6
+ export class MUserDetail extends MBasicModel {
7
+ public id: number = 0;
8
+ public idCompany: number=0;
9
+ public idEnterprise:number=0;
10
+ public lastName: string = '';
11
+ public identification: string = '';
12
+ public username: string;
13
+ public email: string='';
14
+ public status: number;
15
+ public blockDate: string = '1900-01-01';
16
+ public passDate: string = '1900-01-01';
17
+ public birthday:string = '1900-01-01';
18
+ public registrationDate:string =formatDate(new Date(), 'yyyy-MM-dd', 'en-US');
19
+ public photo: string = 'default.png';
20
+ public name: string = '';
21
+ public notes: string = '';
22
+ public password: string = '';
23
+ public telephone: string = '';
24
+ public admin: boolean = false;
25
+ public rights: MRights[] = [];
26
+ public ultcon:string='';
27
+ public id_personal:number=0;
28
+
29
+ constructor(user?: IUserDetail){
30
+ super();
31
+ if (user) {
32
+ this.idCompany=parseInt(user.id_empresa);
33
+ this.idEnterprise=parseInt(user.id_enterprise);
34
+ this.id = parseInt(user.id_usuario);
35
+ this.lastName = user.apeusu;
36
+ this.identification = user.cedusu;
37
+ this.username = user.codusu;
38
+ this.email = user.emausu;
39
+ this.status = parseInt(user.estusu);
40
+ this.blockDate = user.fecblousu;
41
+ this.passDate = user.feccampwd;
42
+ this.birthday = user.fecnac;
43
+ this.registrationDate = user.fecregusu,
44
+ this.photo = user.fotusu;
45
+ this.name = user.nomusu;
46
+ this.notes = user.obsusu;
47
+ this.password = user.pwdusu;
48
+ this.telephone = user.telusu;
49
+ this.admin = user.usuadm == "1";
50
+ this.ultcon=user.ultcon;
51
+ this.id_personal= +user.id_personal;
52
+ this.rights = user.derechos ? user.derechos.map(e => new MRights(e)) : [];
53
+ } else {
54
+ this.isNew = true;
55
+ }
56
+ }
57
+
58
+ public turnToInterface(): IUserDetail{
59
+ return {
60
+ apeusu: this.lastName,
61
+ cedusu: this.identification,
62
+ codusu: this.username,
63
+ emausu: this.email,
64
+ estusu: this.status.toString(),
65
+ fecblousu: this.blockDate,
66
+ feccampwd: this.passDate,
67
+ fecnac: this.birthday,
68
+ fecregusu: this.registrationDate,
69
+ fotusu: this.photo,
70
+ id_empresa: this.idCompany.toString(),
71
+ id_enterprise: this.idEnterprise.toString(),
72
+ id_usuario: this.id.toString(),
73
+ nomusu: this.name,
74
+ obsusu: this.notes,
75
+ pwdusu: this.password,
76
+ telusu: this.telephone,
77
+ usuadm: this.admin ? '1' : '2',
78
+ ultcon:this.ultcon,
79
+ id_personal:this.id_personal.toString(),
80
+ derechos: this.rights.map(e => e.interface())
81
+ }
82
+ }
83
+
84
+ }
@@ -0,0 +1,61 @@
1
+ import { MBasicModel } from '../basic-model.model';
2
+ import { IUserPermit } from '../../interfaces/Seguridad';
3
+
4
+ export class MUserPermit extends MBasicModel {
5
+
6
+ public id: number = null;
7
+ public systemCode: string = '---';
8
+ public internalPermit: string = null;
9
+ public active: boolean = false;
10
+ public userData: {
11
+ id: number,
12
+ name: string,
13
+ lastname: string,
14
+ username: string
15
+ } = {
16
+ id: null,
17
+ name: null,
18
+ lastname: null,
19
+ username: null
20
+ }
21
+ public descripcion: string;
22
+ public id_record: number;
23
+
24
+ constructor(permit: IUserPermit = null){
25
+
26
+ super();
27
+
28
+ if (permit) {
29
+ this.id = parseInt(permit.id_permiso);
30
+ this.systemCode = permit.codsis;
31
+ this.internalPermit = permit.codintper;
32
+ this.active = permit.activo == '1';
33
+ this.userData.id = parseInt(permit.id_usuario);
34
+ this.userData.name = permit.nomusu;
35
+ this.userData.lastname = permit.apeusu;
36
+ this.userData.username = permit.codusu;
37
+ this.descripcion = permit.descripcion;
38
+ this.id_record = parseInt(permit.id_record);
39
+ } else {
40
+ this.isNew = true;
41
+ }
42
+
43
+ }
44
+
45
+ public interface(): IUserPermit{
46
+ return {
47
+ activo: this.active ? '1' : '0',
48
+ codintper: this.internalPermit,
49
+ codsis: this.systemCode,
50
+ descripcion: this.descripcion,
51
+ id_record: this.id_record.toString(),
52
+ id_permiso: this.id.toString(),
53
+ id_usuario: this.userData.id ? this.userData.id.toString() : null,
54
+ apeusu: this.userData.lastname ? this.userData.lastname : null,
55
+ codusu: this.userData.username ? this.userData.username : null,
56
+ nomusu: this.userData.name ? this.userData.name : null,
57
+ isNew: this.isNew ? '1' : '0'
58
+ }
59
+ }
60
+
61
+ }
@@ -0,0 +1,113 @@
1
+ import { MBasicModel } from '../basic-model.model';
2
+ import { IRights } from '../../interfaces/Seguridad'
3
+
4
+ export class MRights extends MBasicModel {
5
+
6
+ public id: number = null;
7
+ public userId: number = null;
8
+ public groupId: number = null;
9
+ public componentId: number = null;
10
+ public systemCode: string = null;
11
+ public admin: boolean = false;
12
+ public insert: boolean = false;
13
+ public update: boolean = false;
14
+ public get: boolean = false;
15
+ public delete: boolean = false;
16
+ public cancel: boolean = false;
17
+ public download: boolean = false;
18
+ public executeProcess: boolean = false;
19
+ public sendEmail: boolean = false;
20
+ public print: boolean = false;
21
+ public visible: boolean = false;
22
+ public aprobar: boolean=false;
23
+ public revaprobar: boolean=false;
24
+ public anular_sc: boolean=false;
25
+ public revanular_sc : boolean=false;
26
+ public contabilizar: boolean=false;
27
+ public revcontabilizar: boolean=false;
28
+ public anular_c: boolean=false;
29
+ public revanular_c: boolean=false;
30
+ public children: MRights[] = [];
31
+ public icon: string = '';
32
+ public componentName: string = '';
33
+ public all: boolean = false;
34
+ public fatherId: number = null;
35
+
36
+ constructor(right: IRights = null){
37
+
38
+ super()
39
+
40
+ if (right) {
41
+
42
+ this.userId = right.id_usuario ? parseInt(right.id_usuario.toString()) : null;
43
+ this.groupId = right.id_grupo ? parseInt(right.id_grupo.toString()) : null;
44
+ this.componentId = parseInt(right.id_component.toString());
45
+ this.systemCode = right.codsis;
46
+ this.admin = right.administrador == "1";
47
+ this.insert = right.insertar == "1";
48
+ this.update = right.actualizar == "1";
49
+ this.get = right.consultar == "1";
50
+ this.delete = right.eliminar == "1";
51
+ this.cancel = right.anular == "1";
52
+ this.download = right.descargar == "1";
53
+ this.executeProcess = right.ejecutar__procesar_ == "1";
54
+ this.sendEmail = right.enviar__correo_ == "1";
55
+ this.print = right.imprimir == "1";
56
+ this.visible = right.visible == "1";
57
+ this.aprobar = right.aprobar == "1";
58
+ this.revaprobar = right.revaprobar == "1";
59
+ this.anular_sc = right.anular_sc == "1";
60
+ this.revanular_sc = right.revanular_sc == "1";
61
+ this.contabilizar = right.contabilizar == "1";
62
+ this.revcontabilizar = right.revcontabilizar == "1";
63
+ this.anular_c = right.anular_c == "1";
64
+ this.revanular_c = right.revanular_c == "1";
65
+ this.children = right.children.map(e => new MRights(e));
66
+ this.icon = right.icono;
67
+ this.id = parseInt(right.id.toString());
68
+ this.componentName = right.nomcom;
69
+ this.fatherId = right.id_padre ? parseInt(right.id_padre.toString()): null;
70
+
71
+ } else {
72
+ this.isNew = true;
73
+ }
74
+
75
+ }
76
+
77
+ public interface(): IRights{
78
+ return {
79
+ actualizar: this.update ? "1" : "0",
80
+ administrador: this.admin ? "1" : "0",
81
+ anular: this.cancel ? "1" : "0",
82
+ children: this.children.map(e => e.interface()),
83
+ codsis: this.systemCode,
84
+ consultar: this.get ? "1" : "0",
85
+ descargar: this.download ? "1" : "0",
86
+ ejecutar__procesar_: this.executeProcess ? "1" : "0",
87
+ eliminar: this.delete ? "1" : "0",
88
+ enviar__correo_: this.sendEmail ? "1" : "0",
89
+ id_component: this.componentId,
90
+ id_empresa: 0,
91
+ imprimir: this.print ? "1" : "0",
92
+ insertar: this.insert ? "1" : "0",
93
+ visible: this.visible ? "1" : "0",
94
+ aprobar: this.aprobar ? "1" : "0",
95
+ revaprobar: this.revaprobar ? "1" : "0",
96
+ anular_sc: this.anular_sc ? "1" : "0",
97
+ revanular_sc: this.revanular_sc ? "1" : "0",
98
+ contabilizar: this.contabilizar ? "1" : "0",
99
+ revcontabilizar: this.revcontabilizar ? "1" : "0",
100
+ anular_c: this.anular_c ? "1" : "0",
101
+ revanular_c: this.revanular_c ? "1" : "0",
102
+ codusu: '---',
103
+ id_grupo: this.groupId,
104
+ id_usuario: this.userId,
105
+ icono: this.icon,
106
+ id: this.id,
107
+ nomcom: this.componentName,
108
+ id_padre: this.fatherId,
109
+ isNew: this.isNew ? "1" : "0"
110
+ }
111
+ }
112
+
113
+ }
@@ -0,0 +1,97 @@
1
+ import { ICargoAdicional } from "../../interfaces/Tributos";
2
+ import { MBasicModel } from "../basic-model.model";
3
+
4
+ export class MCargosAdicionales extends MBasicModel{
5
+
6
+ public isNew: boolean = false;
7
+ public error: boolean = false;
8
+ public idEmpresa: number = 0;
9
+ public id: number = 0;
10
+ public codigo: string = "";
11
+ public denominacion: string = "";
12
+ public codigoEstruraPresupuestaria: string ='';
13
+ public porcentaje: number = 0;
14
+ public formula: string = "";
15
+ public tipo: number = 0;
16
+ public cuenta: string = "";
17
+ public idEp1:number=0;
18
+ public idEp2:number=0;
19
+ public idEp3:number=0;
20
+ public idEp4:number=0;
21
+ public idEp5:number=0;
22
+ public idCentroCosto:number=0;
23
+ public idFuenteFinanciamiento:number=0;
24
+ public denominacionCuenta:string=''
25
+ public idUnidadOrganizativa:number=0;
26
+ public codigoUnidadOrganizativa:string=''
27
+ public denominacionUnidadOrganizativa:string=''
28
+ public codigoCentroCosto:string='---';
29
+ public denominacionCentroCosto:string='';
30
+ public codigoFuenteFinanciamiento:number=0;
31
+ public codigoFuenteFinanciamientoMostrar:string='';
32
+ public denominacionFuenteFinanciamiento:string='';
33
+
34
+
35
+
36
+
37
+ //public estadoTipoPresupuesto: string = "E"
38
+
39
+ constructor(charge?: ICargoAdicional){
40
+ super();
41
+ if (charge){
42
+ this.idEmpresa = parseInt(charge.id_empresa);
43
+ this.id = parseInt(charge.id_cargoadi);
44
+ this.codigo = charge.codcar;
45
+ this.denominacion = charge.dencar;
46
+ this.codigoEstruraPresupuestaria = charge.codestpre;
47
+ this.porcentaje = parseFloat(charge.porcar);
48
+ this.formula = charge.formula;
49
+ this.tipo = parseInt(charge.tipo);
50
+ this.cuenta = charge.cuenta;
51
+ this.idEp1=+charge.id_ep1;
52
+ this.idEp2=+charge.id_ep2;
53
+ this.idEp3=+charge.id_ep3;
54
+ this.idEp4=+charge.id_ep4;
55
+ this.idEp5=+charge.id_ep5;
56
+ this.denominacionCuenta=charge.dencuenta;
57
+ this.denominacionCuenta=charge.dencuenta;
58
+ this.idUnidadOrganizativa=+charge.id_uniadm;
59
+ this.codigoUnidadOrganizativa=charge.coduniadm;
60
+ this.denominacionUnidadOrganizativa=charge.denuniadm;
61
+ this.codigoCentroCosto=charge.codcencos;
62
+ this.denominacionCentroCosto=charge.dencencos;
63
+ this.codigoFuenteFinanciamiento=+charge.id_fuenfin;
64
+ this.codigoFuenteFinanciamientoMostrar=charge.codigoftefin;
65
+ this.denominacionFuenteFinanciamiento=charge.denfuefin;
66
+
67
+ } else {
68
+ this.isNew = true;
69
+ }
70
+ }
71
+
72
+ public dataInterface():ICargoAdicional{
73
+ return {
74
+ id_empresa: this.idEmpresa.toString(),
75
+ id_cargoadi: this.id.toString(),
76
+ codcar: this.codigo,
77
+ dencar: this.denominacion,
78
+ codestpre: this.codigoEstruraPresupuestaria,
79
+ porcar: this.porcentaje.toString(),
80
+ formula: this.formula,
81
+ tipo: this.tipo.toString(),
82
+ cuenta: this.cuenta,
83
+ id_ep1:this.idEp1.toString(),
84
+ id_ep2:this.idEp2.toString(),
85
+ id_ep3:this.idEp3.toString(),
86
+ id_ep4:this.idEp4.toString(),
87
+ id_ep5:this.idEp5.toString(),
88
+ dencuenta:this.denominacionCuenta,
89
+ id_uniadm:this.idUnidadOrganizativa.toString(),
90
+ codcencos:this.codigoCentroCosto,
91
+ id_cencos:this.idCentroCosto.toString(),
92
+ id_fuenfin:this.idFuenteFinanciamiento.toString(),
93
+ }
94
+ }
95
+
96
+
97
+ }
@@ -0,0 +1,100 @@
1
+ import { MBasicModel } from '../basic-model.model';
2
+ import { IConceptoRetencion, IDeduction } from '../../interfaces/Tributos';
3
+
4
+ export class MDeduction extends MBasicModel{
5
+
6
+ public companyId:number=null;
7
+ public idEnterprise:number=0;
8
+ public id: number = null;
9
+ public deductionType: number = null;
10
+ public codeDeduction:string="";
11
+ public description: string = "";
12
+ public formula: string = "";
13
+ public account: string = "";
14
+ public percentage: number = 0;
15
+ public deducible: number = 0;
16
+ public tipopers: string = null;
17
+ public id_conret: number = 0;
18
+ public customerRetentionAccount: string = "";
19
+ public statusCommercial: number=0;
20
+
21
+ constructor(deduction?: IDeduction){
22
+ super();
23
+
24
+ if (deduction) {
25
+ this.id = parseInt(deduction.id_deduccion);
26
+ this.idEnterprise=+deduction.id_enterprise;
27
+ this.deductionType = parseInt(deduction.id_tipded);
28
+ this.description = deduction.dended;
29
+ this.formula = deduction.formula;
30
+ this.account = deduction.sc_cuenta;
31
+ this.percentage = parseFloat(deduction.porded);
32
+ this.deducible = parseFloat(deduction.deducible);
33
+ this.tipopers = deduction.tipopers;
34
+ this.id_conret = parseFloat(deduction.id_conret);
35
+ this.codeDeduction=deduction.codded;
36
+ this.companyId=parseInt(deduction.id_empresa);
37
+ this.customerRetentionAccount=deduction.sc_cuenta_retcli
38
+ this.statusCommercial= +deduction.estdedaplcom;
39
+ } else {
40
+ this.isNew = true;
41
+ }
42
+ }
43
+
44
+ public dataInterface():IDeduction {
45
+ return {
46
+ id_empresa: this.companyId.toString(),
47
+ id_enterprise:this.idEnterprise.toString(),
48
+ id_deduccion: this.id.toString(),
49
+ codded:this.codeDeduction,
50
+ id_tipded: this.id.toString(),
51
+ dended: this.description,
52
+ porded: this.percentage.toString(),
53
+ formula: this.formula,
54
+ sc_cuenta: this.account,
55
+ deducible: this.deducible.toString(),
56
+ tipopers: this.tipopers.toString(),
57
+ id_conret: this.id_conret.toString(),
58
+ sc_cuenta_retcli:this.customerRetentionAccount,
59
+ estdedaplcom: this.statusCommercial.toString(),
60
+ }
61
+ }
62
+
63
+ }
64
+
65
+ export class MConceptoRetencion extends MBasicModel{
66
+
67
+ public idEmpresa:number=0;
68
+ public idEnterprise:number=0;
69
+ public idConceptoRetencion:number=0;
70
+ public codigoConceptoRetencion:string='';
71
+ public descripcionActividad:string='';
72
+ public observacionConceptoRetencion:string='';
73
+
74
+
75
+ constructor(concepto?: IConceptoRetencion){
76
+ super();
77
+ if (concepto) {
78
+ this.idEmpresa=parseInt(concepto.id_empresa);
79
+ this.idEnterprise=+concepto.id_enterprise;
80
+ this.idConceptoRetencion=parseInt(concepto.id_conret);
81
+ this.codigoConceptoRetencion=concepto.codconret;
82
+ this.descripcionActividad=concepto.desact;
83
+ this.observacionConceptoRetencion=concepto.obsconret;
84
+ } else {
85
+ this.isNew = true;
86
+ }
87
+ }
88
+
89
+ public dataInterface():IConceptoRetencion {
90
+ return {
91
+ id_empresa: this.idEmpresa.toString(),
92
+ id_enterprise:this.idEnterprise.toString(),
93
+ id_conret:this.idConceptoRetencion.toString(),
94
+ codconret:this.codigoConceptoRetencion,
95
+ desact:this.descripcionActividad,
96
+ obsconret: this.observacionConceptoRetencion,
97
+ }
98
+ }
99
+
100
+ }
@@ -0,0 +1,23 @@
1
+ import { IDeductionType } from '../../interfaces/Tributos';
2
+ import { MBasicModel } from '../basic-model.model';
3
+
4
+ export class MDeductionType extends MBasicModel{
5
+
6
+ public code: string = null;
7
+ public description: string = null;
8
+ public abbreviation: string = null;
9
+ public id: number = null;
10
+
11
+ constructor(type: IDeductionType = null){
12
+ super();
13
+ if (type) {
14
+ this.id = parseInt(type.id_tipded)
15
+ this.code = type.codtipded;
16
+ this.description = type.destipded;
17
+ this.abbreviation = type.abrtipded;
18
+ } else {
19
+ this.isNew = true;
20
+ }
21
+ }
22
+
23
+ }
@@ -0,0 +1,25 @@
1
+ import { IUnidadTributaria } from '../../interfaces/UnidadTributaria';
2
+
3
+ export class MUnidadTributaria {
4
+ public año: string;
5
+ public nro_decreto: string;
6
+ public fecha_decreto: string;
7
+ public entrada_vigencia: string;
8
+ public publicacion_gaceta: string;
9
+ public nro_gaceta: string;
10
+ public idEmpresa: string;
11
+ public idUnidadTributaria: string;
12
+ public valorut: string;
13
+
14
+ constructor(unidad: IUnidadTributaria) {
15
+ this.año = unidad.anno;
16
+ this.nro_decreto = unidad.decnro;
17
+ this.fecha_decreto = unidad.fecdec;
18
+ this.entrada_vigencia = unidad.fecentvig;
19
+ this.publicacion_gaceta = unidad.fecpubgac;
20
+ this.nro_gaceta = unidad.gacofinro;
21
+ this.idEmpresa = unidad.id_empresa;
22
+ this.idUnidadTributaria = unidad.id_ut;
23
+ this.valorut = unidad.valunitri;
24
+ }
25
+ }
@@ -0,0 +1,9 @@
1
+ export class MBasicModel{
2
+
3
+ public isNew: boolean = false;
4
+ public error: boolean = false;
5
+ public selected: boolean = false;
6
+
7
+ constructor(){}
8
+
9
+ }