sigesp 0.8.73-220307 → 0.8.76-20220506

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 (80) hide show
  1. package/bundles/sigesp.umd.js +2599 -291
  2. package/bundles/sigesp.umd.js.map +1 -1
  3. package/bundles/sigesp.umd.min.js +1 -1
  4. package/bundles/sigesp.umd.min.js.map +1 -1
  5. package/esm2015/lib/core/interfaces/Nomina.js +1 -1
  6. package/esm2015/lib/core/interfaces/RecursosHumanos.js +1 -1
  7. package/esm2015/lib/core/interfaces/Seguridad.js +1 -1
  8. package/esm2015/lib/core/interfaces/Usuario.js +1 -1
  9. package/esm2015/lib/core/models/SNO/MArchivosTxt.model.js +38 -0
  10. package/esm2015/lib/core/models/SNO/MAsignacionCargo.model.js +94 -21
  11. package/esm2015/lib/core/models/SNO/MAspectoEvaluacion.model.js +48 -1
  12. package/esm2015/lib/core/models/SNO/MBeneficiario.model.js +7 -11
  13. package/esm2015/lib/core/models/SNO/MCargaMasiva.model.js +34 -0
  14. package/esm2015/lib/core/models/SNO/MCargosPersonal.model.js +18 -27
  15. package/esm2015/lib/core/models/SNO/MConceptosNomina.model.js +7 -1
  16. package/esm2015/lib/core/models/SNO/MConcursante.model.js +245 -13
  17. package/esm2015/lib/core/models/SNO/MConcurso.model.js +176 -1
  18. package/esm2015/lib/core/models/SNO/MDefinicionNomina.model.js +78 -1
  19. package/esm2015/lib/core/models/SNO/MEstructuraOrganizativa.model.js +58 -1
  20. package/esm2015/lib/core/models/SNO/MFamiliares.model.js +7 -1
  21. package/esm2015/lib/core/models/SNO/MFideicomiso.model.js +333 -6
  22. package/esm2015/lib/core/models/SNO/MHojaTiempo.model.js +45 -1
  23. package/esm2015/lib/core/models/SNO/MImpuestoSobreRenta.model.js +70 -0
  24. package/esm2015/lib/core/models/SNO/MMetodoBanco.model.js +99 -0
  25. package/esm2015/lib/core/models/SNO/MNominaSimple.model.js +24 -15
  26. package/esm2015/lib/core/models/SNO/MPeriodosPlan.model.js +46 -0
  27. package/esm2015/lib/core/models/SNO/MPermisos.model.js +61 -0
  28. package/esm2015/lib/core/models/SNO/MPersonal.model.js +90 -1
  29. package/esm2015/lib/core/models/SNO/MPlantillaConstancia.model.js +31 -0
  30. package/esm2015/lib/core/models/SNO/MPrestamo.model.js +212 -0
  31. package/esm2015/lib/core/models/SNO/MPrimaGrados.model.js +4 -3
  32. package/esm2015/lib/core/models/SNO/MPrimasConcepto.model.js +4 -1
  33. package/esm2015/lib/core/models/SNO/MRango.model.js +7 -2
  34. package/esm2015/lib/core/models/SNO/MReportesRRHH.js +402 -0
  35. package/esm2015/lib/core/models/SNO/MRequisitosConcursante.model.js +5 -2
  36. package/esm2015/lib/core/models/SNO/MTabulador.model.js +15 -20
  37. package/esm2015/lib/core/models/SNO/MVacacionesPersonal.model.js +4 -1
  38. package/esm2015/lib/core/models/SSS/userPermit.model.js +5 -1
  39. package/esm2015/lib/sigesp.service.js +1 -2
  40. package/esm2015/public-api.js +17 -7
  41. package/esm2015/sigesp.js +11 -11
  42. package/fesm2015/sigesp.js +2344 -222
  43. package/fesm2015/sigesp.js.map +1 -1
  44. package/lib/core/interfaces/Nomina.d.ts +61 -30
  45. package/lib/core/interfaces/RecursosHumanos.d.ts +490 -64
  46. package/lib/core/interfaces/Seguridad.d.ts +2 -0
  47. package/lib/core/interfaces/Usuario.d.ts +13 -0
  48. package/lib/core/models/SNO/MArchivosTxt.model.d.ts +14 -0
  49. package/lib/core/models/SNO/MAsignacionCargo.model.d.ts +35 -4
  50. package/lib/core/models/SNO/MAspectoEvaluacion.model.d.ts +16 -1
  51. package/lib/core/models/SNO/MBeneficiario.model.d.ts +2 -0
  52. package/lib/core/models/SNO/MCargaMasiva.model.d.ts +12 -0
  53. package/lib/core/models/SNO/MCargosPersonal.model.d.ts +6 -3
  54. package/lib/core/models/SNO/MConceptosNomina.model.d.ts +2 -0
  55. package/lib/core/models/SNO/MConcursante.model.d.ts +78 -4
  56. package/lib/core/models/SNO/MConcurso.model.d.ts +58 -1
  57. package/lib/core/models/SNO/MDefinicionNomina.model.d.ts +26 -1
  58. package/lib/core/models/SNO/MEstructuraOrganizativa.model.d.ts +19 -0
  59. package/lib/core/models/SNO/MFamiliares.model.d.ts +1 -0
  60. package/lib/core/models/SNO/MFideicomiso.model.d.ts +115 -2
  61. package/lib/core/models/SNO/MHojaTiempo.model.d.ts +14 -0
  62. package/lib/core/models/SNO/MImpuestoSobreRenta.model.d.ts +24 -0
  63. package/lib/core/models/SNO/MMetodoBanco.model.d.ts +33 -0
  64. package/lib/core/models/SNO/MNominaSimple.model.d.ts +8 -2
  65. package/lib/core/models/SNO/MPeriodosPlan.model.d.ts +16 -0
  66. package/lib/core/models/SNO/MPermisos.model.d.ts +21 -0
  67. package/lib/core/models/SNO/MPersonal.model.d.ts +31 -1
  68. package/lib/core/models/SNO/MPlantillaConstancia.model.d.ts +11 -0
  69. package/lib/core/models/SNO/MPrestamo.model.d.ts +66 -0
  70. package/lib/core/models/SNO/MPrimaGrados.model.d.ts +0 -1
  71. package/lib/core/models/SNO/MRango.model.d.ts +2 -1
  72. package/lib/core/models/SNO/MReportesRRHH.d.ts +130 -0
  73. package/lib/core/models/SNO/MRequisitosConcursante.model.d.ts +1 -1
  74. package/lib/core/models/SNO/MTabulador.model.d.ts +7 -5
  75. package/lib/core/models/SNO/MVacacionesPersonal.model.d.ts +1 -0
  76. package/lib/core/models/SSS/userPermit.model.d.ts +2 -0
  77. package/package.json +1 -1
  78. package/public-api.d.ts +17 -7
  79. package/sigesp.d.ts +26 -25
  80. package/sigesp.metadata.json +1 -1
@@ -684,6 +684,9 @@
684
684
  _this.fechaHastaPeriodo = e.fechasper;
685
685
  _this.codigoPeriodo = e.codperi;
686
686
  }
687
+ else {
688
+ _this.isNew = true;
689
+ }
687
690
  return _this;
688
691
  }
689
692
  MHojaTiempo.prototype.dataInterface = function () {
@@ -709,6 +712,50 @@
709
712
  };
710
713
  };
711
714
  return MHojaTiempo;
715
+ }(MBasicModel));
716
+ var MHorario = /** @class */ (function (_super) {
717
+ __extends(MHorario, _super);
718
+ function MHorario(e) {
719
+ var _this = _super.call(this) || this;
720
+ _this.idEmpresa = 0;
721
+ _this.idHora = 0;
722
+ _this.codigoHorario = '';
723
+ _this.denominacionHorario = '';
724
+ _this.tipoHorario = 'F';
725
+ _this.horaInicial = '0';
726
+ _this.horaFinal = '0';
727
+ _this.horasLaborales = '0';
728
+ _this.horaDescanco = '0';
729
+ if (e) {
730
+ _this.idEmpresa = +e.id_empresa;
731
+ _this.idHora = +e.id_hora;
732
+ _this.codigoHorario = e.codhor;
733
+ _this.denominacionHorario = e.denhor;
734
+ _this.tipoHorario = e.tiphor;
735
+ _this.horaInicial = e.horini;
736
+ _this.horaFinal = e.horfin;
737
+ _this.horasLaborales = e.horlab;
738
+ _this.horaDescanco = e.hordes;
739
+ }
740
+ else {
741
+ _this.isNew = true;
742
+ }
743
+ return _this;
744
+ }
745
+ MHorario.prototype.dataInterface = function () {
746
+ return {
747
+ id_empresa: this.idEmpresa,
748
+ id_hora: this.idHora,
749
+ codhor: this.codigoHorario,
750
+ denhor: this.denominacionHorario,
751
+ tiphor: this.tipoHorario,
752
+ horini: this.horaInicial,
753
+ horfin: this.horaFinal,
754
+ horlab: this.horasLaborales,
755
+ hordes: this.horaDescanco,
756
+ };
757
+ };
758
+ return MHorario;
712
759
  }(MBasicModel));
713
760
 
714
761
  var MUsuario = /** @class */ (function () {
@@ -3916,6 +3963,87 @@
3916
3963
  return this.periodosNomina[this.indice()].fechaHastaperiodo;
3917
3964
  };
3918
3965
  return MDefinicionNomina;
3966
+ }(MBasicModel));
3967
+ var MNominaSimple = /** @class */ (function (_super) {
3968
+ __extends(MNominaSimple, _super);
3969
+ function MNominaSimple(e) {
3970
+ if (e === void 0) { e = null; }
3971
+ var _this = _super.call(this) || this;
3972
+ _this.idEmpresa = 0;
3973
+ _this.idNomina = 0;
3974
+ _this.codigoNomina = '';
3975
+ _this.denominacioNomina = '';
3976
+ _this.idPeriodoActual = 0;
3977
+ _this.totalPeriodo = 0;
3978
+ _this.estatus = '';
3979
+ _this.estatusPeriodo = 0;
3980
+ _this.calculada = false;
3981
+ _this.prenomina = false;
3982
+ _this.idCargo = 0;
3983
+ _this.codigoCargo = '';
3984
+ _this.denominacionCargo = '';
3985
+ _this.nominaRac = 0;
3986
+ _this.simbolo = '';
3987
+ _this.color = '';
3988
+ _this.estatusPersonal = 0;
3989
+ _this.denominacionEstatuspersonal = '';
3990
+ _this.descripcionPeriodoNomina = '';
3991
+ _this.periodoActualNomina = '';
3992
+ _this.editable = false;
3993
+ if (e) {
3994
+ _this.idEmpresa = parseInt(e.id_empresa);
3995
+ _this.idNomina = parseInt(e.id_nomina);
3996
+ _this.codigoNomina = e.codnom;
3997
+ _this.denominacioNomina = e.dennom;
3998
+ _this.idPeriodoActual = +e.id_periodoactual;
3999
+ _this.totalPeriodo = parseFloat(e.totper),
4000
+ _this.estatusPeriodo = parseInt(e.cerper);
4001
+ _this.calculada = e.calculado == '1' ? true : false;
4002
+ _this.prenomina = e.prenomina == '1' ? true : false;
4003
+ _this.estatus = _this.calculada ? 'Calculada' :
4004
+ !_this.calculada && _this.prenomina ? 'Pre-Calculada' : 'Sin Calcular';
4005
+ _this.editable = (_this.calculada || _this.prenomina) ? false : true;
4006
+ _this.idCargo = parseInt(e.id_carper);
4007
+ _this.codigoCargo = e.codcar;
4008
+ _this.denominacionCargo = e.descar;
4009
+ _this.nominaRac = parseInt(e.racnom);
4010
+ _this.nominaRac == 1 ? _this.simbolo = 'check' : _this.simbolo = '';
4011
+ _this.nominaRac == 1 ? _this.color = 'primary' : _this.color = '';
4012
+ _this.estatusPersonal = parseInt(e.staper);
4013
+ _this.estatusPersonal == 0 ? _this.denominacionEstatuspersonal = "NO ASIGNADO" :
4014
+ _this.estatusPersonal == 1 ? _this.denominacionEstatuspersonal = "ACTIVO" :
4015
+ _this.estatusPersonal == 2 ? _this.denominacionEstatuspersonal = "VACACIONES" :
4016
+ _this.estatusPersonal == 3 ? _this.denominacionEstatuspersonal = "EGRESADO" :
4017
+ _this.denominacionEstatuspersonal = "SUSPENDIDO";
4018
+ _this.descripcionPeriodoNomina = e.despernom;
4019
+ _this.periodoActualNomina = e.peractnom;
4020
+ }
4021
+ else {
4022
+ _this.isNew = false;
4023
+ }
4024
+ return _this;
4025
+ }
4026
+ MNominaSimple.prototype.dataInterface = function () {
4027
+ return {
4028
+ id_empresa: this.idEmpresa.toString(),
4029
+ id_nomina: this.idNomina.toString(),
4030
+ codnom: this.codigoNomina,
4031
+ dennom: this.denominacioNomina,
4032
+ id_periodoactual: this.idPeriodoActual.toString(),
4033
+ totper: this.totalPeriodo.toString(),
4034
+ cerper: this.estatusPeriodo.toString(),
4035
+ prenomina: this.prenomina ? '1' : '0',
4036
+ calculado: this.calculada ? '1' : '0',
4037
+ id_carper: this.idCargo.toString(),
4038
+ descar: this.denominacionCargo,
4039
+ codcar: this.codigoCargo,
4040
+ racnom: this.nominaRac.toString(),
4041
+ staper: this.estatusPersonal.toString(),
4042
+ despernom: this.descripcionPeriodoNomina,
4043
+ peractnom: this.periodoActualNomina,
4044
+ };
4045
+ };
4046
+ return MNominaSimple;
3919
4047
  }(MBasicModel));
3920
4048
 
3921
4049
  var MAsignacionCargo = /** @class */ (function (_super) {
@@ -3927,9 +4055,6 @@
3927
4055
  _this.idAsignacionCargo = 0;
3928
4056
  _this.codigoAsignacionCargo = '';
3929
4057
  _this.denominacionAsignacionCargo = '';
3930
- _this.idOrganigrama = 0;
3931
- _this.codigoOrganigrama = '';
3932
- _this.denominacionOrganigrama = '';
3933
4058
  _this.idEp1 = 0;
3934
4059
  _this.idEp2 = 0;
3935
4060
  _this.idEp3 = 0;
@@ -3954,14 +4079,15 @@
3954
4079
  _this.totalCargos = 0;
3955
4080
  _this.numeroCargosOcupados = 0;
3956
4081
  _this.disponibilidadCargos = 0;
4082
+ _this.detallesNominas = [];
4083
+ _this.nominaEliminar = [];
4084
+ _this.detallesOrganigrama = [];
4085
+ _this.organigramaEliminar = [];
3957
4086
  if (e) {
3958
4087
  _this.idEmpresa = parseInt(e.id_empresa);
3959
4088
  _this.idAsignacionCargo = parseInt(e.id_carper);
3960
4089
  _this.codigoAsignacionCargo = e.codcar;
3961
4090
  _this.denominacionAsignacionCargo = e.descar;
3962
- _this.idOrganigrama = parseInt(e.id_organigrama);
3963
- _this.codigoOrganigrama = e.codestorg;
3964
- _this.denominacionOrganigrama = e.denestorg;
3965
4091
  _this.idEp1 = parseInt(e.id_ep1);
3966
4092
  _this.idEp2 = parseInt(e.id_ep2);
3967
4093
  _this.idEp3 = parseInt(e.id_ep3);
@@ -3986,6 +4112,12 @@
3986
4112
  _this.totalCargos = parseInt(e.totcar);
3987
4113
  _this.numeroCargosOcupados = parseInt(e.numocucar);
3988
4114
  _this.disponibilidadCargos = parseInt(e.disponibilidad);
4115
+ if (e.detalles_nomina) {
4116
+ _this.detallesNominas = e.detalles_nomina.map(function (e) { return new MCargosNominas(e); });
4117
+ }
4118
+ if (e.detalles_organigrama) {
4119
+ _this.detallesOrganigrama = e.detalles_organigrama.map(function (e) { return new MCargoEstructuraOrganizativa(e); });
4120
+ }
3989
4121
  }
3990
4122
  else {
3991
4123
  _this.isNew = true;
@@ -3998,96 +4130,183 @@
3998
4130
  id_carper: this.idAsignacionCargo.toString(),
3999
4131
  codcar: this.codigoAsignacionCargo,
4000
4132
  descar: this.denominacionAsignacionCargo,
4001
- id_organigrama: this.idOrganigrama.toString(),
4002
- codestorg: this.codigoOrganigrama,
4003
- denestorg: this.denominacionOrganigrama,
4004
4133
  id_ep1: this.idEp1.toString(),
4005
4134
  id_ep2: this.idEp2.toString(),
4006
4135
  id_ep3: this.idEp3.toString(),
4007
4136
  id_ep4: this.idEp4.toString(),
4008
4137
  id_ep5: this.idEp5.toString(),
4009
- codigo_estructura: this.codigoEstructura,
4010
- denominacion_estructura: this.denominacionEstructura,
4011
4138
  clacar: this.claseCargo,
4012
4139
  id_dedicacion: this.idDedicacion.toString(),
4013
- codded: this.codigoDedicacion,
4014
- dended: this.denominacionDedicacion,
4015
4140
  id_tipopersonal: this.idTipoPersonal.toString(),
4016
- codtipper: this.codigoTipoPersonal,
4017
- dentipper: this.denominacionTipoPersonal,
4018
4141
  id_tabulador: this.idTabulador.toString(),
4019
- codtab: this.codigoTipoPersonal,
4020
- destab: this.denominacionTabulador,
4021
4142
  codgra: this.codigoGrado,
4022
4143
  codpas: this.codigoPaso,
4023
- monsalgra: this.salario.toString(),
4024
- moncomgra: this.compensacion.toString(),
4025
4144
  totcar: this.totalCargos.toString(),
4026
4145
  numocucar: this.numeroCargosOcupados.toString(),
4027
- disponibilidad: this.disponibilidadCargos.toString(),
4146
+ detalles_nomina: this.detallesNominas.map(function (e) { return e.dataInterface(); }),
4147
+ detalles_organigrama: this.detallesOrganigrama.map(function (e) { return e.dataInterface(); }),
4148
+ eliminar_nomina: this.nominaEliminar,
4149
+ eliminar_organigrama: this.organigramaEliminar,
4028
4150
  };
4029
4151
  };
4030
4152
  return MAsignacionCargo;
4153
+ }(MBasicModel));
4154
+ var MCargoEstructuraOrganizativa = /** @class */ (function (_super) {
4155
+ __extends(MCargoEstructuraOrganizativa, _super);
4156
+ function MCargoEstructuraOrganizativa(e) {
4157
+ if (e === void 0) { e = null; }
4158
+ var _this = _super.call(this) || this;
4159
+ _this.idEmpresa = 0;
4160
+ _this.idCargoPersonal = 0;
4161
+ _this.idOrganigrama = 0;
4162
+ _this.idDtCargoEstructura = 0;
4163
+ _this.idPersonal = 0;
4164
+ _this.codigoEstructuraOrganizativa = '';
4165
+ _this.denominacionEstructuraOrganizativa = '';
4166
+ _this.nivel = 0;
4167
+ if (e) {
4168
+ _this.idEmpresa = parseInt(e.id_empresa);
4169
+ _this.idCargoPersonal = parseInt(e.id_carper);
4170
+ _this.idOrganigrama = parseInt(e.id_organigrama);
4171
+ _this.codigoEstructuraOrganizativa = e.codestorg;
4172
+ _this.denominacionEstructuraOrganizativa = e.denestorg;
4173
+ _this.idPersonal = parseInt(e.id_personal);
4174
+ _this.nivel = parseInt(e.nivel);
4175
+ _this.idDtCargoEstructura = parseInt(e.id_dt);
4176
+ }
4177
+ else {
4178
+ _this.isNew = true;
4179
+ }
4180
+ return _this;
4181
+ }
4182
+ MCargoEstructuraOrganizativa.prototype.dataInterface = function () {
4183
+ return {
4184
+ id_empresa: this.idEmpresa.toString(),
4185
+ id_carper: this.idCargoPersonal.toString(),
4186
+ id_organigrama: this.idOrganigrama.toString(),
4187
+ id_dt: this.idDtCargoEstructura.toString(),
4188
+ id_personal: this.idPersonal.toString(),
4189
+ };
4190
+ };
4191
+ return MCargoEstructuraOrganizativa;
4192
+ }(MBasicModel));
4193
+ var MCargosNominas = /** @class */ (function (_super) {
4194
+ __extends(MCargosNominas, _super);
4195
+ function MCargosNominas(e) {
4196
+ if (e === void 0) { e = null; }
4197
+ var _this = _super.call(this) || this;
4198
+ _this.idEmpresa = 0;
4199
+ _this.idNomina = 0;
4200
+ _this.idCargo = 0;
4201
+ _this.codigoNomina = '';
4202
+ _this.denominacionNomina = '';
4203
+ _this.estatus = '';
4204
+ _this.idDtNomina = 0;
4205
+ _this.periodoActualNomina = '001';
4206
+ _this.idPeriodoActual = 0;
4207
+ _this.nominaRac = 0;
4208
+ _this.descripcionPeriodoNomina = '';
4209
+ _this.prenomina = false;
4210
+ _this.editables = false;
4211
+ _this.calculada = false;
4212
+ if (e) {
4213
+ _this.idEmpresa = parseInt(e.id_empresa);
4214
+ _this.idNomina = parseInt(e.id_nomina);
4215
+ _this.idCargo = parseInt(e.id_carper);
4216
+ _this.codigoNomina = e.codnom;
4217
+ _this.denominacionNomina = e.dennom;
4218
+ _this.idDtNomina = parseInt(e.id_dt_carnom);
4219
+ _this.periodoActualNomina = e.peractnom;
4220
+ _this.calculada = e.calculado == '1' ? true : false;
4221
+ _this.prenomina = e.prenomina == '1' ? true : false;
4222
+ _this.estatus = _this.calculada ? 'Calculada' :
4223
+ !_this.calculada && _this.prenomina ? 'Pre-Calculada' : 'Sin Calcular';
4224
+ _this.editables = (_this.calculada || _this.prenomina) ? false : true;
4225
+ }
4226
+ else {
4227
+ _this.isNew = true;
4228
+ }
4229
+ return _this;
4230
+ }
4231
+ MCargosNominas.prototype.dataInterface = function () {
4232
+ return {
4233
+ id_empresa: this.idEmpresa.toString(),
4234
+ id_nomina: this.idNomina.toString(),
4235
+ id_carper: this.idCargo.toString(),
4236
+ id_dt_carnom: this.idDtNomina.toString(),
4237
+ };
4238
+ };
4239
+ return MCargosNominas;
4031
4240
  }(MBasicModel));
4032
4241
 
4033
- var MNominaSimple = /** @class */ (function () {
4242
+ var MNominaSimple$1 = /** @class */ (function (_super) {
4243
+ __extends(MNominaSimple, _super);
4034
4244
  function MNominaSimple(e) {
4035
4245
  if (e === void 0) { e = null; }
4036
- this.idEmpresa = 0;
4037
- this.idNnomina = 0;
4038
- this.codigoNomina = '';
4039
- this.denominacioNomina = '';
4040
- this.idPeriodoActual = 0;
4041
- this.totalPeriodo = 0;
4042
- this.estatus = '';
4043
- this.estatusPeriodo = 0;
4044
- this.calculada = false;
4045
- this.prenomina = false;
4046
- this.idCargo = 0;
4047
- this.codigoCargo = '';
4048
- this.denominacionCargo = '';
4049
- this.nominaRac = 0;
4050
- this.simbolo = '';
4051
- this.color = '';
4246
+ var _this = _super.call(this) || this;
4247
+ _this.idEmpresa = 0;
4248
+ _this.idNomina = 0;
4249
+ _this.codigoNomina = '';
4250
+ _this.denominacioNomina = '';
4251
+ _this.idPeriodoActual = 0;
4252
+ _this.totalPeriodo = 0;
4253
+ _this.estatus = '';
4254
+ _this.estatusPeriodo = 0;
4255
+ _this.calculada = false;
4256
+ _this.prenomina = false;
4257
+ _this.idCargo = 0;
4258
+ _this.codigoCargo = '';
4259
+ _this.denominacionCargo = '';
4260
+ _this.nominaRac = 0;
4261
+ _this.simbolo = '';
4262
+ _this.color = '';
4263
+ _this.estatusPersonal = 0;
4264
+ _this.denominacionEstatuspersonal = '';
4265
+ _this.descripcionPeriodoNomina = '';
4266
+ _this.periodoActualNomina = '';
4267
+ _this.editable = false;
4052
4268
  if (e) {
4053
- this.idEmpresa = parseInt(e.id_empresa);
4054
- this.idNnomina = parseInt(e.id_nomina);
4055
- this.codigoNomina = e.codnom;
4056
- this.denominacioNomina = e.dennom;
4057
- this.idPeriodoActual = +e.id_periodoactual;
4058
- this.totalPeriodo = parseFloat(e.totper),
4059
- this.estatusPeriodo = parseInt(e.cerper);
4060
- this.calculada = e.calculado == '1' ? true : false;
4061
- this.prenomina = e.prenomina == '1' ? true : false;
4062
- this.estatus = this.calculada ? 'Calculada' :
4063
- !this.calculada && this.prenomina ? 'Pre-Calculada' : 'Sin Calcular';
4064
- this.idCargo = parseInt(e.id_carper);
4065
- this.codigoCargo = e.codcar;
4066
- this.denominacionCargo = e.descar;
4067
- this.nominaRac = parseInt(e.racnom);
4068
- this.nominaRac == 1 ? this.simbolo = 'check' : this.simbolo = '';
4069
- this.nominaRac == 1 ? this.color = 'primary' : this.color = '';
4269
+ _this.idEmpresa = parseInt(e.id_empresa);
4270
+ _this.idNomina = parseInt(e.id_nomina);
4271
+ _this.codigoNomina = e.codnom;
4272
+ _this.denominacioNomina = e.dennom;
4273
+ _this.idPeriodoActual = +e.id_periodoactual;
4274
+ _this.totalPeriodo = parseFloat(e.totper),
4275
+ _this.estatusPeriodo = parseInt(e.cerper);
4276
+ _this.calculada = e.calculado == '1' ? true : false;
4277
+ _this.prenomina = e.prenomina == '1' ? true : false;
4278
+ _this.estatus = _this.calculada ? 'Calculada' :
4279
+ !_this.calculada && _this.prenomina ? 'Pre-Calculada' : 'Sin Calcular';
4280
+ _this.editable = (_this.calculada || _this.prenomina) ? false : true;
4281
+ _this.idCargo = parseInt(e.id_carper);
4282
+ _this.codigoCargo = e.codcar;
4283
+ _this.denominacionCargo = e.descar;
4284
+ _this.nominaRac = parseInt(e.racnom);
4285
+ _this.nominaRac == 1 ? _this.simbolo = 'check' : _this.simbolo = '';
4286
+ _this.nominaRac == 1 ? _this.color = 'primary' : _this.color = '';
4287
+ _this.estatusPersonal = parseInt(e.staper);
4288
+ _this.estatusPersonal == 0 ? _this.denominacionEstatuspersonal = "NO ASIGNADO" :
4289
+ _this.estatusPersonal == 1 ? _this.denominacionEstatuspersonal = "ACTIVO" :
4290
+ _this.estatusPersonal == 2 ? _this.denominacionEstatuspersonal = "VACACIONES" :
4291
+ _this.estatusPersonal == 3 ? _this.denominacionEstatuspersonal = "EGRESADO" :
4292
+ _this.denominacionEstatuspersonal = "SUSPENDIDO";
4293
+ _this.descripcionPeriodoNomina = e.despernom;
4294
+ _this.periodoActualNomina = e.peractnom;
4295
+ }
4296
+ else {
4297
+ _this.isNew = true;
4070
4298
  }
4299
+ return _this;
4071
4300
  }
4072
4301
  MNominaSimple.prototype.dataInterface = function () {
4073
4302
  return {
4074
4303
  id_empresa: this.idEmpresa.toString(),
4075
- id_nomina: this.idNnomina.toString(),
4076
- codnom: this.codigoNomina,
4077
- dennom: this.denominacioNomina,
4078
- id_periodoactual: this.idPeriodoActual.toString(),
4079
- totper: this.totalPeriodo.toString(),
4080
- cerper: this.estatusPeriodo.toString(),
4081
- prenomina: this.prenomina ? '1' : '0',
4082
- calculado: this.calculada ? '1' : '0',
4304
+ id_nomina: this.idNomina.toString(),
4083
4305
  id_carper: this.idCargo.toString(),
4084
- descar: this.denominacionCargo,
4085
- codcar: this.codigoCargo,
4086
- racnom: this.nominaRac.toString(),
4087
4306
  };
4088
4307
  };
4089
4308
  return MNominaSimple;
4090
- }());
4309
+ }(MBasicModel));
4091
4310
 
4092
4311
  var MPersonal = /** @class */ (function (_super) {
4093
4312
  __extends(MPersonal, _super);
@@ -4415,6 +4634,102 @@
4415
4634
  };
4416
4635
  };
4417
4636
  return MPersonal;
4637
+ }(MBasicModel));
4638
+ var MCambioEstatusPersonal = /** @class */ (function (_super) {
4639
+ __extends(MCambioEstatusPersonal, _super);
4640
+ function MCambioEstatusPersonal(e) {
4641
+ if (e === void 0) { e = null; }
4642
+ var _this = _super.call(this) || this;
4643
+ _this.idPersonal = 0;
4644
+ _this.codigoPersonal = '';
4645
+ _this.estatusActual = '2';
4646
+ _this.estatusNuevo = '2';
4647
+ _this.fechaEgreso = '';
4648
+ _this.causaEgreso = '';
4649
+ _this.preaviso = '1';
4650
+ _this.idCausales = 0;
4651
+ _this.observacion = '';
4652
+ _this.fechaReingreso = '1900-01-01';
4653
+ if (e) {
4654
+ _this.idPersonal = e.idPersonal;
4655
+ _this.codigoPersonal = e.codigoPersonal;
4656
+ _this.estatusActual = e.estatusActual;
4657
+ _this.estatusNuevo = e.estatusNuevo;
4658
+ _this.fechaEgreso = e.fechaEgreso;
4659
+ _this.causaEgreso = e.causaEgreso;
4660
+ _this.preaviso = e.preaviso;
4661
+ _this.idCausales = e.idCausales;
4662
+ _this.observacion = e.observacion;
4663
+ _this.fechaReingreso = e.fechaReingreso;
4664
+ }
4665
+ return _this;
4666
+ }
4667
+ MCambioEstatusPersonal.prototype.dataInterface = function () {
4668
+ return {
4669
+ idPersonal: this.idPersonal,
4670
+ codigoPersonal: this.codigoPersonal,
4671
+ estatusActual: this.estatusActual,
4672
+ estatusNuevo: this.estatusNuevo,
4673
+ fechaEgreso: this.fechaEgreso,
4674
+ causaEgreso: this.causaEgreso,
4675
+ preaviso: this.preaviso,
4676
+ idCausales: this.idCausales,
4677
+ observacion: this.observacion,
4678
+ fechaReingreso: this.fechaReingreso,
4679
+ };
4680
+ };
4681
+ return MCambioEstatusPersonal;
4682
+ }(MBasicModel));
4683
+ var MPersonalCuentaBanco = /** @class */ (function (_super) {
4684
+ __extends(MPersonalCuentaBanco, _super);
4685
+ function MPersonalCuentaBanco(e) {
4686
+ var _this = _super.call(this) || this;
4687
+ _this.idEmpresa = 0;
4688
+ _this.idPersonal = 0;
4689
+ _this.idCuentaBancoPersonal = -1;
4690
+ _this.codigoCuentaBancoPersonal = '';
4691
+ _this.denominacionCuentaBancoPersonal = '';
4692
+ _this.idBanco = 0;
4693
+ _this.idTipoCuentaBanco = 0;
4694
+ _this.cuentaBancoPersonal = '';
4695
+ _this.estatusCuentaBanco = '1';
4696
+ _this.tipoCuentaPrincipal = '0';
4697
+ _this.codigoBanco = '';
4698
+ _this.cuentaReducida = '';
4699
+ if (e) {
4700
+ _this.idEmpresa = parseInt(e.id_empresa);
4701
+ _this.idPersonal = parseInt(e.id_personal);
4702
+ _this.idCuentaBancoPersonal = parseInt(e.id_ctabanper);
4703
+ _this.codigoCuentaBancoPersonal = e.codctabanper;
4704
+ _this.denominacionCuentaBancoPersonal = e.denctabanper;
4705
+ _this.idBanco = parseInt(e.id_banco);
4706
+ _this.idTipoCuentaBanco = parseInt(e.id_tipocta);
4707
+ _this.cuentaBancoPersonal = e.ctabanper;
4708
+ _this.estatusCuentaBanco = e.estctabco;
4709
+ _this.tipoCuentaPrincipal = e.tipctapri;
4710
+ _this.codigoBanco = _this.cuentaBancoPersonal.substring(0, 4);
4711
+ _this.cuentaReducida = _this.cuentaBancoPersonal.slice(4);
4712
+ }
4713
+ else {
4714
+ _this.isNew = true;
4715
+ }
4716
+ return _this;
4717
+ }
4718
+ MPersonalCuentaBanco.prototype.dataInterface = function () {
4719
+ return {
4720
+ id_empresa: this.idEmpresa.toString(),
4721
+ id_personal: this.idPersonal.toString(),
4722
+ id_ctabanper: this.idCuentaBancoPersonal.toString(),
4723
+ codctabanper: this.codigoCuentaBancoPersonal,
4724
+ denctabanper: this.denominacionCuentaBancoPersonal,
4725
+ id_banco: this.idBanco.toString(),
4726
+ id_tipocta: this.idTipoCuentaBanco.toString(),
4727
+ ctabanper: this.cuentaBancoPersonal,
4728
+ estctabco: this.estatusCuentaBanco,
4729
+ tipctapri: this.tipoCuentaPrincipal,
4730
+ };
4731
+ };
4732
+ return MPersonalCuentaBanco;
4418
4733
  }(MBasicModel));
4419
4734
 
4420
4735
  var MDetaContable = /** @class */ (function (_super) {
@@ -6471,7 +6786,7 @@
6471
6786
  SigespService.prototype.getPersonalNominaResumida = function (idPersonal, tipo) {
6472
6787
  return this.http.get(this.URL + "/dao/sno/personal_dao.php?idPersonal=" + idPersonal + "&tipo=" + tipo, { headers: this.getHttpHeaders() }).pipe(operators.retry(3), operators.catchError(this.handlerError), operators.map(function (res) {
6473
6788
  if (res.success) {
6474
- res.data = res.data.map(function (e) { return new MNominaSimple(e); });
6789
+ res.data = res.data.map(function (e) { return new MNominaSimple$1(e); });
6475
6790
  }
6476
6791
  return res;
6477
6792
  }));
@@ -6507,7 +6822,6 @@
6507
6822
  return this.http.post(this.URL + "/dao/sss/log_dao.php", body, {
6508
6823
  headers: this.getHttpHeaders()
6509
6824
  }).pipe(operators.map(function (res) {
6510
- console.log("Log : ", res);
6511
6825
  return res;
6512
6826
  }));
6513
6827
  };
@@ -7181,6 +7495,8 @@
7181
7495
  _this.userData.name = permit.nomusu;
7182
7496
  _this.userData.lastname = permit.apeusu;
7183
7497
  _this.userData.username = permit.codusu;
7498
+ _this.descripcion = permit.descripcion;
7499
+ _this.id_record = parseInt(permit.id_record);
7184
7500
  }
7185
7501
  else {
7186
7502
  _this.isNew = true;
@@ -7192,6 +7508,8 @@
7192
7508
  activo: this.active ? '1' : '0',
7193
7509
  codintper: this.internalPermit,
7194
7510
  codsis: this.systemCode,
7511
+ descripcion: this.descripcion,
7512
+ id_record: this.id_record.toString(),
7195
7513
  id_permiso: this.id.toString(),
7196
7514
  id_usuario: this.userData.id ? this.userData.id.toString() : null,
7197
7515
  apeusu: this.userData.lastname ? this.userData.lastname : null,
@@ -7394,16 +7712,56 @@
7394
7712
  return MArchivoTxtCampo;
7395
7713
  }(MBasicModel));
7396
7714
 
7397
- var MAspectoEvaluacion = /** @class */ (function (_super) {
7398
- __extends(MAspectoEvaluacion, _super);
7399
- function MAspectoEvaluacion(e) {
7715
+ var MArchivosTxt = /** @class */ (function (_super) {
7716
+ __extends(MArchivosTxt, _super);
7717
+ function MArchivosTxt(e) {
7718
+ if (e === void 0) { e = null; }
7400
7719
  var _this = _super.call(this) || this;
7401
7720
  _this.idEmpresa = 0;
7402
- _this.idTipoEvaluacion = 0;
7403
- _this.idAspectoEvaluacion = 0;
7404
- _this.codigoTipoEvaluacion = '';
7405
- _this.denominacionTipoEvaluacion = '';
7406
- _this.codigoAspecto = '';
7721
+ _this.idArchivoTxt = 0;
7722
+ _this.codigoArchivo = '';
7723
+ _this.denominacionArchivo = '';
7724
+ _this.tipoArchivo = 'I';
7725
+ _this.acumularMonto = false;
7726
+ _this.campos = [];
7727
+ if (e) {
7728
+ e.acumon == '1' ? _this.acumularMonto = true : _this.acumularMonto = false;
7729
+ _this.idEmpresa = parseInt(e.id_empresa);
7730
+ _this.idArchivoTxt = parseInt(e.id_archivotxt);
7731
+ _this.codigoArchivo = e.codarch;
7732
+ _this.denominacionArchivo = e.denarch;
7733
+ _this.tipoArchivo = e.tiparch;
7734
+ _this.campos = e.campos.map(function (e) { return new MArchivoTxtCampo(e); });
7735
+ }
7736
+ else {
7737
+ _this.isNew = true;
7738
+ }
7739
+ return _this;
7740
+ }
7741
+ MArchivosTxt.prototype.dataInterface = function () {
7742
+ return {
7743
+ id_empresa: this.idEmpresa.toString(),
7744
+ id_archivotxt: this.idArchivoTxt.toString(),
7745
+ codarch: this.codigoArchivo,
7746
+ denarch: this.denominacionArchivo,
7747
+ tiparch: this.tipoArchivo,
7748
+ acumon: this.acumularMonto ? '1' : '0',
7749
+ campos: this.campos.map(function (e) { return e.dataInterface(); }),
7750
+ };
7751
+ };
7752
+ return MArchivosTxt;
7753
+ }(MBasicModel));
7754
+
7755
+ var MAspectoEvaluacion = /** @class */ (function (_super) {
7756
+ __extends(MAspectoEvaluacion, _super);
7757
+ function MAspectoEvaluacion(e) {
7758
+ var _this = _super.call(this) || this;
7759
+ _this.idEmpresa = 0;
7760
+ _this.idTipoEvaluacion = 0;
7761
+ _this.idAspectoEvaluacion = 0;
7762
+ _this.codigoTipoEvaluacion = '';
7763
+ _this.denominacionTipoEvaluacion = '';
7764
+ _this.codigoAspecto = '';
7407
7765
  _this.denominacionAspecto = '';
7408
7766
  if (e) {
7409
7767
  _this.idEmpresa = parseInt(e.id_empresa);
@@ -7431,6 +7789,57 @@
7431
7789
  };
7432
7790
  };
7433
7791
  return MAspectoEvaluacion;
7792
+ }(MBasicModel));
7793
+ var MItemsEvalucion = /** @class */ (function (_super) {
7794
+ __extends(MItemsEvalucion, _super);
7795
+ function MItemsEvalucion(e) {
7796
+ if (e === void 0) { e = null; }
7797
+ var _this = _super.call(this) || this;
7798
+ _this.idEmpresa = 0;
7799
+ _this.idTipoEvaluacion = 0;
7800
+ _this.idAspectoEvaluacion = 0;
7801
+ _this.idItems = 0;
7802
+ _this.codigoItems = '';
7803
+ _this.denominacionItems = '';
7804
+ _this.valorMaximo = 0;
7805
+ _this.codigoTipoEvaluacion = '';
7806
+ _this.denominacionTipoEvaluacion = '';
7807
+ _this.codigoAspecto = '';
7808
+ _this.denominacionAspecto = '';
7809
+ if (e) {
7810
+ _this.idEmpresa = parseInt(e.id_empresa);
7811
+ _this.idTipoEvaluacion = parseInt(e.id_tipoeval);
7812
+ _this.idAspectoEvaluacion = parseInt(e.id_aspecto);
7813
+ _this.idItems = parseInt(e.id_item);
7814
+ _this.codigoItems = e.codite;
7815
+ _this.denominacionItems = e.denite;
7816
+ _this.valorMaximo = e.valormax;
7817
+ _this.codigoTipoEvaluacion = e.codtipeval;
7818
+ _this.denominacionTipoEvaluacion = e.dentipeval;
7819
+ _this.codigoAspecto = e.codasp;
7820
+ _this.denominacionAspecto = e.denasp;
7821
+ }
7822
+ else {
7823
+ _this.isNew = true;
7824
+ }
7825
+ return _this;
7826
+ }
7827
+ MItemsEvalucion.prototype.dataInterface = function () {
7828
+ return {
7829
+ id_empresa: this.idEmpresa.toString(),
7830
+ id_tipoeval: this.idTipoEvaluacion.toString(),
7831
+ id_aspecto: this.idAspectoEvaluacion.toString(),
7832
+ id_item: this.idItems.toString(),
7833
+ codite: this.codigoItems,
7834
+ denite: this.denominacionItems,
7835
+ valormax: this.valorMaximo,
7836
+ codasp: this.codigoAspecto,
7837
+ denasp: this.denominacionAspecto,
7838
+ codtipeval: this.codigoTipoEvaluacion,
7839
+ dentipeval: this.denominacionTipoEvaluacion,
7840
+ };
7841
+ };
7842
+ return MItemsEvalucion;
7434
7843
  }(MBasicModel));
7435
7844
 
7436
7845
  var MBeneficiario = /** @class */ (function (_super) {
@@ -7460,6 +7869,8 @@
7460
7869
  _this.nexoFamiliar = '';
7461
7870
  _this.nombreBanco = '';
7462
7871
  _this.denominacionTipoCuenta = '';
7872
+ _this.medidaActiva = false;
7873
+ _this.tribunal = '';
7463
7874
  if (e) {
7464
7875
  _this.idEmpresa = parseInt(e.id_empresa);
7465
7876
  _this.idPersonal = parseInt(e.id_personal);
@@ -7474,6 +7885,8 @@
7474
7885
  _this.numeroExpedienteBeneficiario = e.numexpben;
7475
7886
  _this.porcentajePagoBeneficiario = parseFloat(e.porpagben);
7476
7887
  _this.montoPagoBeneficiario = parseFloat(e.monpagben);
7888
+ _this.medidaActiva = e.medact == '1' ? true : false;
7889
+ _this.tribunal = e.tribunal;
7477
7890
  _this.nombreCheque = e.nompro;
7478
7891
  _this.cedulaAutorizado = e.cedpro;
7479
7892
  _this.nombreFamiliar = e.nomfam;
@@ -7505,16 +7918,8 @@
7505
7918
  ctabanben: this.cuentaBancoBeneficiario,
7506
7919
  forpagben: this.formaPagoBeneficiario,
7507
7920
  numexpben: this.numeroExpedienteBeneficiario,
7508
- cedpro: this.cedulaAutorizado,
7509
- nompro: this.nombreCheque,
7510
- nomfam: this.nombreFamiliar,
7511
- apefam: this.apellidoFamiliar,
7512
- cedfam: this.cedulaFamiliar,
7513
- dirfam: this.direccionFamiliar,
7514
- telfam: this.telefonoFamiliar,
7515
- nexfam: this.nexoFamiliar,
7516
- nomban: this.nombreBanco,
7517
- nomtipcta: this.denominacionTipoCuenta
7921
+ medact: this.medidaActiva ? '1' : '0',
7922
+ tribunal: this.tribunal,
7518
7923
  };
7519
7924
  };
7520
7925
  return MBeneficiario;
@@ -7525,6 +7930,7 @@
7525
7930
  function MCargosPersonal(p) {
7526
7931
  if (p === void 0) { p = null; }
7527
7932
  var _this = _super.call(this) || this;
7933
+ _this.idEmpresa = 0;
7528
7934
  _this.idPersonal = 0;
7529
7935
  _this.idCargo = 0;
7530
7936
  _this.codigoCargo = '';
@@ -7532,7 +7938,6 @@
7532
7938
  _this.codigoDedicacion = '';
7533
7939
  _this.denominacionDedicacion = '';
7534
7940
  _this.denominacionTipoPersonalSno = '';
7535
- _this.idOrganigrama = 0;
7536
7941
  _this.idUbicacionFisica = 0;
7537
7942
  _this.denominacionUbicacionFisica = '';
7538
7943
  _this.codigoUbicacionFisica = '';
@@ -7544,17 +7949,15 @@
7544
7949
  _this.codigoPaso = '0';
7545
7950
  _this.codigoTabulador = '';
7546
7951
  _this.denominacionTabulador = '';
7547
- _this.codigoOrganigrama = '';
7548
- _this.denominacionOrganigrama = '';
7549
7952
  _this.idPersonalCargo = 0;
7550
7953
  _this.montoSalarioGrado = 0;
7551
7954
  _this.montoCompensacionGrado = 0;
7552
7955
  _this.estatusMPPPE = false;
7956
+ _this.detallesOrganigrama = [];
7957
+ _this.organigramaEliminar = [];
7958
+ _this.detallesNomina = [];
7553
7959
  if (p) {
7554
7960
  _this.idPersonal = parseInt(p.id_personal);
7555
- _this.idOrganigrama = parseInt(p.id_organigrama);
7556
- _this.codigoOrganigrama = p.codestorg;
7557
- _this.denominacionOrganigrama = p.denestorg;
7558
7961
  _this.idCargo = +p.id_carper;
7559
7962
  _this.codigoCargo = p.codcar;
7560
7963
  _this.descripcionCargo = p.descar;
@@ -7576,6 +7979,12 @@
7576
7979
  _this.montoSalarioGrado = parseFloat(p.moncomgra);
7577
7980
  _this.montoCompensacionGrado = parseFloat(p.moncomgra);
7578
7981
  _this.estatusMPPPE = p.estmpppe == '1' ? true : false;
7982
+ if (p.detalles_organigrama) {
7983
+ _this.detallesOrganigrama = p.detalles_organigrama.map(function (e) { return new MCargoEstructuraOrganizativa(e); });
7984
+ }
7985
+ if (p.detalles_nomina) {
7986
+ _this.detallesNomina = p.detalles_nomina.map(function (e) { return new MNominaSimple(e); });
7987
+ }
7579
7988
  }
7580
7989
  else {
7581
7990
  _this.isNew = true;
@@ -7584,31 +7993,16 @@
7584
7993
  }
7585
7994
  MCargosPersonal.prototype.dataInterface = function () {
7586
7995
  return {
7587
- id_organigrama: this.idOrganigrama.toString(),
7588
- codestorg: this.codigoOrganigrama,
7589
- denestorg: this.denominacionOrganigrama,
7996
+ id_empresa: this.idEmpresa.toString(),
7997
+ id_personal: this.idPersonal.toString(),
7590
7998
  id_carper: this.idCargo.toString(),
7591
- descar: this.descripcionCargo.toString(),
7592
- codcar: this.codigoCargo,
7593
- codded: this.codigoDedicacion,
7594
- dended: this.denominacionDedicacion,
7595
- dentipper: this.denominacionTipoPersonalSno,
7596
- id_ubifis: this.idUbicacionFisica.toString(),
7597
- codubifis: this.codigoUbicacionFisica,
7598
- denubifis: this.denominacionUbicacionFisica,
7599
- codtipper: this.codigoTipoPersonalSno,
7600
- id_dedicacion: this.idDedicacion.toString(),
7601
- id_tipopersonal: this.idTipoPersonalSno.toString(),
7602
7999
  id_tabulador: this.idTabulador.toString(),
7603
8000
  codgra: this.codigoGrado,
7604
8001
  codpas: this.codigoPaso,
7605
- codtab: this.codigoTabulador,
7606
- destab: this.denominacionTabulador,
8002
+ id_ubifis: this.idUbicacionFisica.toString(),
7607
8003
  id_personalcargo: this.idPersonalCargo.toString(),
7608
- id_personal: this.idPersonal.toString(),
7609
- moncomgra: this.montoCompensacionGrado.toString(),
7610
- monsalgra: this.montoSalarioGrado.toString(),
7611
- estmpppe: this.estatusMPPPE ? '1' : '0',
8004
+ detalles_organigrama: this.detallesOrganigrama.map(function (e) { return e.dataInterface(); }),
8005
+ eliminar_organigrama: this.organigramaEliminar,
7612
8006
  };
7613
8007
  };
7614
8008
  return MCargosPersonal;
@@ -7889,6 +8283,8 @@
7889
8283
  _this.formulaReducida = '';
7890
8284
  _this.nombreSigno = '';
7891
8285
  _this.orden = 0;
8286
+ _this.evaluarEnPrenomina = 0;
8287
+ _this.antiguedadComplementaria = 0;
7892
8288
  if (e) {
7893
8289
  _this.idEmpresa = +e.id_empresa;
7894
8290
  _this.idNomina = +e.id_nomina;
@@ -7957,6 +8353,8 @@
7957
8353
  _this.formulaReducida = e.forcon.substr(0, 40);
7958
8354
  }
7959
8355
  _this.nombreSigno = _this.denominacionSigno(_this.signoConcepto);
8356
+ _this.evaluarEnPrenomina = +e.evaprenom;
8357
+ _this.antiguedadComplementaria = +e.antigcomp;
7960
8358
  }
7961
8359
  else {
7962
8360
  _this.isNew = true;
@@ -8025,6 +8423,8 @@
8025
8423
  regincidencia: this.registroIncidencia,
8026
8424
  forincidencia: this.formulaIncidencia,
8027
8425
  orden: this.orden.toString(),
8426
+ evaprenom: this.evaluarEnPrenomina.toString(),
8427
+ antigcomp: this.antiguedadComplementaria.toString(),
8028
8428
  };
8029
8429
  };
8030
8430
  MConceptosNomina.prototype.denominacionSigno = function (sig) {
@@ -8271,27 +8671,33 @@
8271
8671
  return MConstantePersonalNomina;
8272
8672
  }(MBasicModel));
8273
8673
 
8274
- var MRango = /** @class */ (function () {
8674
+ var MRango = /** @class */ (function (_super) {
8675
+ __extends(MRango, _super);
8275
8676
  function MRango(e) {
8276
8677
  if (e === void 0) { e = null; }
8277
- this.idEmpresa = 0;
8278
- this.idComponente = 0;
8279
- this.IdRango = 0;
8280
- this.IdCategoria = 0;
8281
- this.codigoRango = '';
8282
- this.denominacionRango = '';
8283
- this.nombreAbreviatura = '';
8284
- this.codigoCategoriaRango = '';
8678
+ var _this = _super.call(this) || this;
8679
+ _this.idEmpresa = 0;
8680
+ _this.idComponente = 0;
8681
+ _this.IdRango = 0;
8682
+ _this.IdCategoria = 0;
8683
+ _this.codigoRango = '';
8684
+ _this.denominacionRango = '';
8685
+ _this.nombreAbreviatura = '';
8686
+ _this.codigoCategoriaRango = '';
8285
8687
  if (e) {
8286
- this.idEmpresa = parseInt(e.id_empresa);
8287
- this.idComponente = parseInt(e.id_componente);
8288
- this.IdRango = parseInt(e.id_rango);
8289
- this.IdCategoria = parseInt(e.id_catrango);
8290
- this.codigoRango = e.codran;
8291
- this.denominacionRango = e.denran;
8292
- this.nombreAbreviatura = e.nomabr;
8293
- this.codigoCategoriaRango = e.codcatran;
8688
+ _this.idEmpresa = parseInt(e.id_empresa);
8689
+ _this.idComponente = parseInt(e.id_componente);
8690
+ _this.IdRango = parseInt(e.id_rango);
8691
+ _this.IdCategoria = parseInt(e.id_catrango);
8692
+ _this.codigoRango = e.codran;
8693
+ _this.denominacionRango = e.denran;
8694
+ _this.nombreAbreviatura = e.nomabr;
8695
+ _this.codigoCategoriaRango = e.codcatran;
8696
+ }
8697
+ else {
8698
+ _this.isNew = true;
8294
8699
  }
8700
+ return _this;
8295
8701
  }
8296
8702
  MRango.prototype.dataInterface = function () {
8297
8703
  return {
@@ -8306,7 +8712,7 @@
8306
8712
  };
8307
8713
  };
8308
8714
  return MRango;
8309
- }());
8715
+ }(MBasicModel));
8310
8716
 
8311
8717
  var MComponete = /** @class */ (function (_super) {
8312
8718
  __extends(MComponete, _super);
@@ -8351,43 +8757,55 @@
8351
8757
  var _this = _super.call(this) || this;
8352
8758
  _this.idEmpresa = 0;
8353
8759
  _this.idConcurso = 0;
8760
+ _this.codigoConcurso = '';
8354
8761
  _this.idConcursante = 0;
8355
8762
  _this.cedula = '';
8356
8763
  _this.idProfesion = 0;
8357
- _this.fechaRegistro = '';
8358
- _this.nombre = '';
8359
- _this.apellido = '';
8764
+ _this.profesion = '';
8765
+ _this.nombreProfesion = '';
8766
+ _this.fechaInscripcion = '';
8767
+ _this.nombres = '';
8768
+ _this.apellidos = '';
8360
8769
  _this.direccion = '';
8361
8770
  _this.fechaNacimiento = '';
8362
8771
  _this.estadoCivil = '';
8363
8772
  _this.codigoPais = '';
8773
+ _this.nombrePais = '';
8364
8774
  _this.codigoEstado = '';
8775
+ _this.nombreEstado = '';
8365
8776
  _this.nacionalidad = '';
8366
8777
  _this.telefono = '';
8367
8778
  _this.celular = '';
8368
8779
  _this.correo = '';
8369
8780
  _this.genero = '';
8370
8781
  _this.nivelAcademico = 0;
8782
+ _this.estatusRequisitos = 1;
8371
8783
  if (e) {
8372
8784
  _this.idEmpresa = parseInt(e.id_empresa);
8373
- _this.idConcursante = parseInt(e.id_concurso);
8785
+ _this.idConcurso = parseInt(e.id_concurso);
8786
+ _this.codigoConcurso = e.codcon;
8374
8787
  _this.idConcursante = parseInt(e.id_concursante);
8375
8788
  _this.cedula = e.cedper;
8376
8789
  _this.idProfesion = parseInt(e.id_profesion);
8377
- _this.fechaRegistro = e.fecreg;
8378
- _this.nombre = e.nomper;
8379
- _this.apellido = e.apeper;
8790
+ _this.profesion = e.profesion;
8791
+ _this.nombreProfesion = e.nombre_profesion;
8792
+ _this.fechaInscripcion = e.fecreg;
8793
+ _this.nombres = e.nomper;
8794
+ _this.apellidos = e.apeper;
8380
8795
  _this.direccion = e.dirper;
8381
8796
  _this.fechaNacimiento = e.fecnacper;
8382
8797
  _this.estadoCivil = e.estcivper;
8383
8798
  _this.codigoPais = e.codpai;
8799
+ _this.nombrePais = e.nombre_pais;
8384
8800
  _this.codigoEstado = e.codest;
8801
+ _this.nombreEstado = e.nombre_estado;
8385
8802
  _this.nacionalidad = e.nacper;
8386
8803
  _this.telefono = e.telhabper;
8387
8804
  _this.celular = e.telmovper;
8388
8805
  _this.correo = e.emaper;
8389
8806
  _this.genero = e.sexper;
8390
8807
  _this.nivelAcademico = parseInt(e.nivacaper);
8808
+ _this.estatusRequisitos = parseInt(e.estconper);
8391
8809
  }
8392
8810
  return _this;
8393
8811
  }
@@ -8395,26 +8813,265 @@
8395
8813
  return {
8396
8814
  id_empresa: this.idEmpresa.toString(),
8397
8815
  id_concurso: this.idConcurso.toString(),
8398
- id_concursante: this.idConcurso.toString(),
8816
+ codcon: this.codigoConcurso,
8817
+ id_concursante: this.idConcursante.toString(),
8399
8818
  cedper: this.cedula,
8400
8819
  id_profesion: this.idProfesion.toString(),
8401
- fecreg: this.fechaRegistro,
8402
- nomper: this.nombre,
8403
- apeper: this.apellido,
8820
+ profesion: this.profesion,
8821
+ nombre_profesion: this.nombreProfesion,
8822
+ fecreg: this.fechaInscripcion,
8823
+ nomper: this.nombres,
8824
+ apeper: this.apellidos,
8404
8825
  dirper: this.direccion,
8405
8826
  fecnacper: this.fechaNacimiento,
8406
8827
  estcivper: this.estadoCivil,
8407
8828
  codpai: this.codigoPais,
8829
+ nombre_pais: this.nombrePais,
8408
8830
  codest: this.codigoEstado,
8831
+ nombre_estado: this.nombreEstado,
8409
8832
  nacper: this.nacionalidad,
8410
8833
  telhabper: this.telefono,
8411
8834
  telmovper: this.celular,
8412
8835
  emaper: this.correo,
8413
8836
  sexper: this.genero,
8414
- nivacaper: this.nivelAcademico.toString()
8837
+ nivacaper: this.nivelAcademico.toString(),
8838
+ estconper: this.estatusRequisitos.toString()
8415
8839
  };
8416
8840
  };
8417
8841
  return MConcursante;
8842
+ }(MBasicModel));
8843
+ var MTrabajosConcursantes = /** @class */ (function (_super) {
8844
+ __extends(MTrabajosConcursantes, _super);
8845
+ function MTrabajosConcursantes(e) {
8846
+ var _this = _super.call(this) || this;
8847
+ _this.idEmpresa = 0;
8848
+ _this.idConcurso = 0;
8849
+ _this.idConcursante = 0;
8850
+ _this.idTrabajo = 0;
8851
+ _this.codigo = '';
8852
+ _this.empresaTrabajoAnterior = '';
8853
+ _this.cargoTrabajoAnterior = '';
8854
+ _this.fechaIngreso = '';
8855
+ _this.fechaRetiro = '';
8856
+ if (e) {
8857
+ _this.idEmpresa = parseInt(e.id_empresa);
8858
+ _this.idConcurso = parseInt(e.id_concurso);
8859
+ _this.idConcursante = parseInt(e.id_concursante);
8860
+ _this.idTrabajo = parseInt(e.id_trabajocon);
8861
+ _this.codigo = e.codtraper;
8862
+ _this.empresaTrabajoAnterior = e.emptraper;
8863
+ _this.cargoTrabajoAnterior = e.cartraant;
8864
+ _this.fechaIngreso = e.fecingtraant;
8865
+ _this.fechaRetiro = e.fecrettraant;
8866
+ }
8867
+ else {
8868
+ _this.isNew = true;
8869
+ }
8870
+ return _this;
8871
+ }
8872
+ MTrabajosConcursantes.prototype.dataInterface = function () {
8873
+ return {
8874
+ id_empresa: this.idEmpresa.toString(),
8875
+ id_concurso: this.idConcurso.toString(),
8876
+ id_concursante: this.idConcursante.toString(),
8877
+ id_trabajocon: this.idTrabajo.toString(),
8878
+ codtraper: this.codigo,
8879
+ emptraper: this.empresaTrabajoAnterior,
8880
+ cartraant: this.cargoTrabajoAnterior,
8881
+ fecingtraant: this.fechaIngreso,
8882
+ fecrettraant: this.fechaRetiro
8883
+ };
8884
+ };
8885
+ return MTrabajosConcursantes;
8886
+ }(MBasicModel));
8887
+ var MEstudiosConcursantes = /** @class */ (function (_super) {
8888
+ __extends(MEstudiosConcursantes, _super);
8889
+ function MEstudiosConcursantes(e) {
8890
+ if (e === void 0) { e = null; }
8891
+ var _this = _super.call(this) || this;
8892
+ _this.idEmpresa = 0;
8893
+ _this.idConcurso = 0;
8894
+ _this.idConcursante = 0;
8895
+ _this.idEstudio = 0;
8896
+ _this.codigoEstudio = '';
8897
+ _this.institutoEstudio = '';
8898
+ _this.descripcionEstudio = '';
8899
+ _this.fechaInicioEstudio = '';
8900
+ _this.fechaFinEstudio = '';
8901
+ _this.tituloObtenido = 0;
8902
+ _this.yearAprobados = 0;
8903
+ _this.horasEstudiosRealizadas = 0;
8904
+ if (e) {
8905
+ _this.idEmpresa = parseInt(e.id_empresa);
8906
+ _this.idConcurso = parseInt(e.id_concurso);
8907
+ _this.idConcursante = parseInt(e.id_concursante);
8908
+ _this.idEstudio = parseInt(e.id_estudiocon);
8909
+ _this.codigoEstudio = e.codestrea;
8910
+ _this.institutoEstudio = e.insestper;
8911
+ _this.descripcionEstudio = e.desestper;
8912
+ _this.fechaInicioEstudio = e.fecinireaest;
8913
+ _this.fechaFinEstudio = e.fecfinestrea;
8914
+ _this.tituloObtenido = parseInt(e.titestper);
8915
+ _this.yearAprobados = parseInt(e.anoaprestper);
8916
+ _this.horasEstudiosRealizadas = parseInt(e.horestrea);
8917
+ }
8918
+ else {
8919
+ _this.isNew = true;
8920
+ }
8921
+ return _this;
8922
+ }
8923
+ MEstudiosConcursantes.prototype.dataInterface = function () {
8924
+ return {
8925
+ id_empresa: this.idEmpresa.toString(),
8926
+ id_concurso: this.idConcurso.toString(),
8927
+ id_concursante: this.idConcursante.toString(),
8928
+ id_estudiocon: this.idEstudio.toString(),
8929
+ codestrea: this.codigoEstudio,
8930
+ insestper: this.institutoEstudio,
8931
+ desestper: this.descripcionEstudio,
8932
+ fecinireaest: this.fechaInicioEstudio,
8933
+ fecfinestrea: this.fechaFinEstudio,
8934
+ titestper: this.tituloObtenido.toString(),
8935
+ anoaprestper: this.yearAprobados.toString(),
8936
+ horestrea: this.horasEstudiosRealizadas.toString(),
8937
+ };
8938
+ };
8939
+ return MEstudiosConcursantes;
8940
+ }(MBasicModel));
8941
+ var MExperienciaLaboral = /** @class */ (function (_super) {
8942
+ __extends(MExperienciaLaboral, _super);
8943
+ function MExperienciaLaboral(e) {
8944
+ if (e === void 0) { e = null; }
8945
+ var _this = _super.call(this) || this;
8946
+ _this.idEmpresa = 0;
8947
+ _this.idConcurso = 0;
8948
+ _this.idConcursante = 0;
8949
+ _this.idTrabajoConcursante = 0;
8950
+ _this.codigoTrabajo = '';
8951
+ _this.empresa = '';
8952
+ _this.cargo = '';
8953
+ _this.fechaIngreso = '';
8954
+ _this.fechaRetiro = '';
8955
+ if (e) {
8956
+ _this.idEmpresa = parseInt(e.id_empresa);
8957
+ _this.idConcursante = parseInt(e.id_concurso);
8958
+ _this.idConcursante = parseInt(e.id_concursante);
8959
+ _this.idTrabajoConcursante = parseInt(e.id_trabajocon);
8960
+ _this.codigoTrabajo = e.codtra;
8961
+ _this.empresa = e.emptraper;
8962
+ _this.cargo = e.cartraant;
8963
+ _this.fechaIngreso = e.fecingtraant;
8964
+ _this.fechaRetiro = e.fecrettraant;
8965
+ }
8966
+ else {
8967
+ _this.isNew = true;
8968
+ }
8969
+ return _this;
8970
+ }
8971
+ MExperienciaLaboral.prototype.dataInterface = function () {
8972
+ return {
8973
+ id_empresa: this.idEmpresa.toString(),
8974
+ id_concurso: this.idConcurso.toString(),
8975
+ id_concursante: this.idConcursante.toString(),
8976
+ id_trabajocon: this.idTrabajoConcursante.toString(),
8977
+ codtra: this.codigoTrabajo,
8978
+ emptraper: this.empresa,
8979
+ cartraant: this.cargo,
8980
+ fecingtraant: this.fechaIngreso,
8981
+ fecrettraant: this.fechaRetiro
8982
+ };
8983
+ };
8984
+ return MExperienciaLaboral;
8985
+ }(MBasicModel));
8986
+ var MFamiliaConcursante = /** @class */ (function (_super) {
8987
+ __extends(MFamiliaConcursante, _super);
8988
+ function MFamiliaConcursante(e) {
8989
+ if (e === void 0) { e = null; }
8990
+ var _this = _super.call(this) || this;
8991
+ _this.idEmpresa = 0;
8992
+ _this.idConcurso = 0;
8993
+ _this.idConcursante = 0;
8994
+ _this.idFamiliar = 0;
8995
+ _this.codigo = '';
8996
+ _this.cedula = '';
8997
+ _this.nombre = '';
8998
+ _this.apellido = '';
8999
+ _this.sexo = '';
9000
+ _this.nexo = '';
9001
+ _this.fecha = '';
9002
+ if (e) {
9003
+ _this.idEmpresa = parseInt(e.id_empresa);
9004
+ _this.idConcurso = parseInt(e.id_concurso);
9005
+ _this.idConcursante = parseInt(e.id_concursante);
9006
+ _this.idFamiliar = parseInt(e.id_familiacon);
9007
+ _this.codigo = e.codfam;
9008
+ _this.cedula = e.cedfam;
9009
+ _this.nombre = e.nomfam;
9010
+ _this.apellido = e.apefam;
9011
+ _this.sexo = e.sexfam;
9012
+ _this.nexo = e.nexfam;
9013
+ _this.fecha = e.fecnacfam;
9014
+ }
9015
+ else {
9016
+ _this.isNew = true;
9017
+ }
9018
+ return _this;
9019
+ }
9020
+ MFamiliaConcursante.prototype.dataInterface = function () {
9021
+ return {
9022
+ id_empresa: this.idEmpresa.toString(),
9023
+ id_concurso: this.idConcurso.toString(),
9024
+ id_concursante: this.idConcursante.toString(),
9025
+ id_familiacon: this.idFamiliar.toString(),
9026
+ codfam: this.codigo,
9027
+ cedfam: this.cedula,
9028
+ nomfam: this.nombre,
9029
+ apefam: this.apellido,
9030
+ sexfam: this.sexo,
9031
+ nexfam: this.nexo,
9032
+ fecnacfam: this.fecha,
9033
+ };
9034
+ };
9035
+ return MFamiliaConcursante;
9036
+ }(MBasicModel));
9037
+ var MFormacionInformal = /** @class */ (function (_super) {
9038
+ __extends(MFormacionInformal, _super);
9039
+ function MFormacionInformal(e) {
9040
+ if (e === void 0) { e = null; }
9041
+ var _this = _super.call(this) || this;
9042
+ _this.idEmpresa = 0;
9043
+ _this.idConcurso = 0;
9044
+ _this.idConcursante = 0;
9045
+ _this.idCurso = 0;
9046
+ _this.codigoCurso = '';
9047
+ _this.descripcionCurso = '';
9048
+ _this.horasCurso = 0;
9049
+ if (e) {
9050
+ _this.idEmpresa = parseInt(e.id_empresa);
9051
+ _this.idConcursante = parseInt(e.id_concurso);
9052
+ _this.idConcursante = parseInt(e.id_concursante);
9053
+ _this.idCurso = parseInt(e.id_curso);
9054
+ _this.codigoCurso = e.codcur;
9055
+ _this.descripcionCurso = e.desestrea;
9056
+ _this.horasCurso = parseInt(e.horestrea);
9057
+ }
9058
+ else {
9059
+ _this.isNew = true;
9060
+ }
9061
+ return _this;
9062
+ }
9063
+ MFormacionInformal.prototype.dataInterface = function () {
9064
+ return {
9065
+ id_empresa: this.idEmpresa.toString(),
9066
+ id_concurso: this.idConcurso.toString(),
9067
+ id_concursante: this.idConcurso.toString(),
9068
+ id_curso: this.idCurso.toString(),
9069
+ codcur: this.codigoCurso,
9070
+ desestrea: this.descripcionCurso,
9071
+ horestrea: this.horasCurso.toString()
9072
+ };
9073
+ };
9074
+ return MFormacionInformal;
8418
9075
  }(MBasicModel));
8419
9076
 
8420
9077
  var MRequisitosConcursos = /** @class */ (function (_super) {
@@ -8512,7 +9169,193 @@
8512
9169
  };
8513
9170
  };
8514
9171
  return MConcurso;
8515
- }(MBasicModel));
9172
+ }(MBasicModel));
9173
+ var MPrevioEvaluacion = /** @class */ (function (_super) {
9174
+ __extends(MPrevioEvaluacion, _super);
9175
+ function MPrevioEvaluacion(e) {
9176
+ if (e === void 0) { e = null; }
9177
+ var _this = _super.call(this) || this;
9178
+ _this.idEmpresa = 0;
9179
+ _this.idPrevio = 0;
9180
+ _this.proceso = '';
9181
+ _this.idConcurso = 0;
9182
+ _this.codigoConcurso = '';
9183
+ _this.nombreConcurso = '';
9184
+ _this.idConcursante = 0;
9185
+ _this.codigoConcursante = '';
9186
+ _this.nombreConcursante = '';
9187
+ _this.idTipoEvaluacion = 0;
9188
+ _this.codigoTipoEvaluacion = '';
9189
+ _this.nombreTipoEvaluacion = '';
9190
+ _this.fechaRegistro = '';
9191
+ _this.valorMinimoRequerido = 0;
9192
+ _this.usuarioRegistro = '';
9193
+ _this.horaRegistro = '';
9194
+ _this.estatusRegistro = 0;
9195
+ _this.detallesRegistro = [];
9196
+ if (e) {
9197
+ _this.idEmpresa = parseInt(e.id_empresa);
9198
+ _this.idPrevio = parseInt(e.id_previo);
9199
+ _this.proceso = e.proceso;
9200
+ _this.idConcurso = parseInt(e.id_concurso);
9201
+ _this.codigoConcurso = e.codcon,
9202
+ _this.nombreConcurso = e.dencon,
9203
+ _this.idConcursante = parseInt(e.id_concursante);
9204
+ _this.codigoConcursante = e.cedper,
9205
+ _this.nombreConcursante = e.nomper,
9206
+ _this.idTipoEvaluacion = parseInt(e.id_tipoeval);
9207
+ _this.codigoTipoEvaluacion = e.codtipeval;
9208
+ _this.nombreTipoEvaluacion = e.dentipeval;
9209
+ _this.fechaRegistro = e.fecha;
9210
+ _this.valorMinimoRequerido = parseFloat(e.punreqmin);
9211
+ _this.usuarioRegistro = e.usuario;
9212
+ _this.horaRegistro = e.hora;
9213
+ _this.estatusRegistro = parseInt(e.estatus);
9214
+ _this.tipo = e.tipo;
9215
+ _this.detallesRegistro = e.detalles.map(function (e) { return new MPrevioEvaluacionDt(e); });
9216
+ }
9217
+ else {
9218
+ _this.isNew = true;
9219
+ }
9220
+ return _this;
9221
+ }
9222
+ MPrevioEvaluacion.prototype.dataInterface = function () {
9223
+ return {
9224
+ id_empresa: this.idEmpresa.toString(),
9225
+ id_previo: this.idPrevio.toString(),
9226
+ proceso: this.proceso,
9227
+ id_concurso: this.idConcurso.toString(),
9228
+ codcon: this.codigoConcurso,
9229
+ dencon: this.nombreConcurso,
9230
+ id_concursante: this.idConcursante.toString(),
9231
+ cedper: this.codigoConcursante,
9232
+ nomper: this.nombreConcursante,
9233
+ id_tipoeval: this.idTipoEvaluacion.toString(),
9234
+ codtipeval: this.codigoTipoEvaluacion,
9235
+ dentipeval: this.nombreTipoEvaluacion,
9236
+ fecha: this.fechaRegistro,
9237
+ punreqmin: this.valorMinimoRequerido.toString(),
9238
+ usuario: this.usuarioRegistro,
9239
+ hora: this.horaRegistro,
9240
+ estatus: this.estatusRegistro.toString(),
9241
+ tipo: this.tipo,
9242
+ detalles: this.detallesRegistro.map(function (e) { return e.dataInterface(); })
9243
+ };
9244
+ };
9245
+ return MPrevioEvaluacion;
9246
+ }(MBasicModel));
9247
+ var MPrevioEvaluacionDt = /** @class */ (function (_super) {
9248
+ __extends(MPrevioEvaluacionDt, _super);
9249
+ function MPrevioEvaluacionDt(e) {
9250
+ if (e === void 0) { e = null; }
9251
+ var _this = _super.call(this) || this;
9252
+ _this.idEmpresa = 0;
9253
+ _this.idPrevio = 0;
9254
+ _this.idAspecto = 0;
9255
+ _this.idTipoEvaluacion = 0;
9256
+ _this.idItem = 0;
9257
+ _this.idDtPrevio = 0;
9258
+ _this.codigo = '';
9259
+ _this.descripcion = '';
9260
+ _this.puntos = 0;
9261
+ _this.valorMaximo = 0;
9262
+ if (e) {
9263
+ _this.idEmpresa = parseInt(e.id_empresa);
9264
+ _this.idPrevio = parseInt(e.id_previo);
9265
+ _this.idAspecto = parseInt(e.id_aspecto);
9266
+ _this.idTipoEvaluacion = parseInt(e.id_tipoeval);
9267
+ _this.idItem = parseInt(e.id_item);
9268
+ _this.idDtPrevio = parseInt(e.id_dt_previo);
9269
+ _this.codigo = e.codite;
9270
+ _this.descripcion = e.denite;
9271
+ _this.puntos = parseInt(e.puntos);
9272
+ _this.valorMaximo = parseInt(e.valormax);
9273
+ }
9274
+ else {
9275
+ _this.isNew = true;
9276
+ }
9277
+ return _this;
9278
+ }
9279
+ MPrevioEvaluacionDt.prototype.dataInterface = function () {
9280
+ return {
9281
+ id_empresa: this.idEmpresa.toString(),
9282
+ id_previo: this.idPrevio.toString(),
9283
+ id_tipoeval: this.idTipoEvaluacion.toString(),
9284
+ id_aspecto: this.idAspecto.toString(),
9285
+ id_item: this.idItem.toString(),
9286
+ codite: this.codigo,
9287
+ denite: this.descripcion,
9288
+ puntos: this.puntos.toString(),
9289
+ valormax: this.valorMaximo.toString(),
9290
+ id_dt_previo: this.idDtPrevio.toString(),
9291
+ };
9292
+ };
9293
+ return MPrevioEvaluacionDt;
9294
+ }(MBasicModel));
9295
+ var MResultadosEvaluacion = /** @class */ (function (_super) {
9296
+ __extends(MResultadosEvaluacion, _super);
9297
+ function MResultadosEvaluacion(e) {
9298
+ var _this = _super.call(this) || this;
9299
+ _this.idEmpresa = 0;
9300
+ _this.idEvaluacion = 0;
9301
+ _this.idConcurso = 0;
9302
+ _this.codigoConcurso = '';
9303
+ _this.nombreConcurso = '';
9304
+ _this.idConcursante = 0;
9305
+ _this.codigoConcursante = '';
9306
+ _this.nombreConcursante = '';
9307
+ _this.observacion = '';
9308
+ _this.fechaRegistro = '';
9309
+ _this.resultado_tec = 0;
9310
+ _this.resultado_total = 0;
9311
+ _this.resultado_psi = 0;
9312
+ _this.resultado_rqm = 0;
9313
+ _this.usuarioRegistro = '';
9314
+ if (e) {
9315
+ _this.idEmpresa = parseInt(e.id_empresa);
9316
+ _this.idEvaluacion = parseInt(e.id_evaluacion);
9317
+ _this.idConcurso = parseInt(e.id_concurso);
9318
+ _this.codigoConcurso = e.codcon,
9319
+ _this.nombreConcurso = e.dencon,
9320
+ _this.idConcursante = parseInt(e.id_concursante);
9321
+ _this.codigoConcursante = e.cedper,
9322
+ _this.nombreConcursante = e.nomper,
9323
+ _this.observacion = e.observacion,
9324
+ _this.fechaRegistro = e.fecha;
9325
+ _this.usuarioRegistro = e.usuario;
9326
+ _this.resultado_tec = parseFloat(e.resultado_tec);
9327
+ _this.resultado_total = parseFloat(e.resultado_total);
9328
+ _this.resultado_psi = parseFloat(e.resultado_psi);
9329
+ _this.resultado_rqm = parseFloat(e.resultado_rqm);
9330
+ _this.conclusion = e.conclusion;
9331
+ }
9332
+ else {
9333
+ _this.isNew = true;
9334
+ }
9335
+ return _this;
9336
+ }
9337
+ MResultadosEvaluacion.prototype.dataInterface = function () {
9338
+ return {
9339
+ id_empresa: this.idEmpresa.toString(),
9340
+ id_evaluacion: this.idEvaluacion.toString(),
9341
+ id_concurso: this.idConcurso.toString(),
9342
+ codcon: this.codigoConcurso,
9343
+ dencon: this.nombreConcurso,
9344
+ id_concursante: this.idConcursante.toString(),
9345
+ cedper: this.codigoConcursante,
9346
+ nomper: this.nombreConcursante,
9347
+ observacion: this.observacion,
9348
+ fecha: this.fechaRegistro,
9349
+ usuario: this.usuarioRegistro,
9350
+ resultado_tec: this.resultado_tec.toString(),
9351
+ resultado_psi: this.resultado_psi.toString(),
9352
+ resultado_total: this.resultado_total.toString(),
9353
+ resultado_rqm: this.resultado_rqm.toString(),
9354
+ conclusion: this.conclusion,
9355
+ };
9356
+ };
9357
+ return MResultadosEvaluacion;
9358
+ }(MBasicModel));
8516
9359
 
8517
9360
  var MTipoPersonal = /** @class */ (function (_super) {
8518
9361
  __extends(MTipoPersonal, _super);
@@ -8753,6 +9596,25 @@
8753
9596
  _this.idEp4 = 0;
8754
9597
  _this.idEp5 = 0;
8755
9598
  _this.codigoPadre = '';
9599
+ _this.codigoPais = '000058';
9600
+ _this.nombrePais = 'Venezuela';
9601
+ _this.codigoEstado = '';
9602
+ _this.nombreEstado = '';
9603
+ _this.codigoMunicipio = '';
9604
+ _this.nombreMunicipio = '';
9605
+ _this.codigoParroquia = '';
9606
+ _this.nombreParroquia = '';
9607
+ _this.estatusmpppe = 0;
9608
+ _this.ubicacionBolivariana = 0;
9609
+ _this.ubicacionFrontera = 0;
9610
+ _this.ubicacionIndigena = 0;
9611
+ _this.ubicacionInsular = 0;
9612
+ _this.ubicacionMarginal = 0;
9613
+ _this.ubicacionNocturno = 0;
9614
+ _this.ubicacionPlanta = 0;
9615
+ _this.ubicacionRobinson = 0;
9616
+ _this.ubicacionZona = 0;
9617
+ _this.ubicacionNoAplica = 0;
8756
9618
  if (e) {
8757
9619
  _this.idEmpresa = parseInt(e.id_empresa);
8758
9620
  _this.idOrganigrama = parseInt(e.id_organigrama);
@@ -8767,6 +9629,25 @@
8767
9629
  _this.idEp4 = parseInt(e.id_ep4);
8768
9630
  _this.idEp5 = parseInt(e.id_ep5);
8769
9631
  _this.codigoPadre = e.codpadre;
9632
+ _this.codigoPais = e.codpai;
9633
+ _this.nombrePais = e.despai;
9634
+ _this.codigoEstado = e.codest;
9635
+ _this.nombreEstado = e.desest;
9636
+ _this.codigoMunicipio = e.codmun;
9637
+ _this.nombreMunicipio = e.desmun;
9638
+ _this.codigoParroquia = e.codpar;
9639
+ _this.nombreParroquia = e.despar;
9640
+ _this.estatusmpppe = e.estmpppe;
9641
+ _this.ubicacionBolivariana = e.ubibolivariana;
9642
+ _this.ubicacionFrontera = e.ubifrontera;
9643
+ _this.ubicacionIndigena = e.ubiindigena;
9644
+ _this.ubicacionInsular = e.ubiinsular;
9645
+ _this.ubicacionMarginal = e.ubimarginal;
9646
+ _this.ubicacionNocturno = e.ubinocturno;
9647
+ _this.ubicacionPlanta = e.ubiplanta;
9648
+ _this.ubicacionRobinson = e.ubirobinson;
9649
+ _this.ubicacionZona = e.ubizona;
9650
+ _this.ubicacionNoAplica = e.ubinoaplica;
8770
9651
  }
8771
9652
  return _this;
8772
9653
  }
@@ -8785,6 +9666,25 @@
8785
9666
  id_ep4: this.idEp4.toString(),
8786
9667
  id_ep5: this.idEp5.toString(),
8787
9668
  codpadre: this.codigoPadre,
9669
+ codpai: this.codigoPais,
9670
+ despai: this.nombrePais,
9671
+ codest: this.codigoEstado,
9672
+ desest: this.nombreEstado,
9673
+ codmun: this.codigoMunicipio,
9674
+ desmun: this.nombreMunicipio,
9675
+ codpar: this.codigoParroquia,
9676
+ despar: this.nombreParroquia,
9677
+ estmpppe: this.estatusmpppe,
9678
+ ubibolivariana: this.ubicacionBolivariana,
9679
+ ubifrontera: this.ubicacionFrontera,
9680
+ ubiindigena: this.ubicacionIndigena,
9681
+ ubiinsular: this.ubicacionInsular,
9682
+ ubimarginal: this.ubicacionMarginal,
9683
+ ubinocturno: this.ubicacionNocturno,
9684
+ ubiplanta: this.ubicacionPlanta,
9685
+ ubirobinson: this.ubicacionRobinson,
9686
+ ubizona: this.ubicacionZona,
9687
+ ubinoaplica: this.ubicacionNoAplica
8788
9688
  };
8789
9689
  };
8790
9690
  return MEstructuraOrganizativa;
@@ -8813,6 +9713,7 @@
8813
9713
  _this.codigoFamiliar = '';
8814
9714
  _this.direccionFamiliar = '';
8815
9715
  _this.telefonoFamiliar = '';
9716
+ _this.hijoDiscapacidad = '0';
8816
9717
  if (e) {
8817
9718
  _this.idEmpresa = parseInt(e.id_empresa);
8818
9719
  _this.idPersonal = parseInt(e.id_personal);
@@ -8833,6 +9734,10 @@
8833
9734
  _this.codigoFamiliar = e.codfam;
8834
9735
  _this.direccionFamiliar = e.dirfam;
8835
9736
  _this.telefonoFamiliar = e.telfam;
9737
+ _this.hijoDiscapacidad = e.hijodiscapacitado;
9738
+ }
9739
+ else {
9740
+ _this.isNew = true;
8836
9741
  }
8837
9742
  return _this;
8838
9743
  }
@@ -8857,6 +9762,7 @@
8857
9762
  codfam: this.codigoFamiliar,
8858
9763
  dirfam: this.direccionFamiliar,
8859
9764
  telfam: this.telefonoFamiliar,
9765
+ hijodiscapacitado: this.hijoDiscapacidad,
8860
9766
  };
8861
9767
  };
8862
9768
  return MFamiliares;
@@ -8916,8 +9822,8 @@
8916
9822
  _this.idfideicomiso = 0;
8917
9823
  _this.codigoFideicomiso = '';
8918
9824
  _this.fichaFideicomico = '';
8919
- _this.ubicacionFideicomiso = '';
8920
9825
  _this.cuentaFideicomiso = '';
9826
+ _this.idCuentaFideicomiso = 0;
8921
9827
  _this.fechaIngresoFideicomiso = '1900-01-01';
8922
9828
  _this.capitalizacionFideicomiso = 'N';
8923
9829
  _this.capitalizarAntiguedadComplementaria = 0;
@@ -8927,14 +9833,17 @@
8927
9833
  _this.scgCuentaAntiguedadFideicomiso = '';
8928
9834
  _this.scgcuentaInteresFideicomiso = '';
8929
9835
  _this.calcularIteresFideicomiso = 0;
9836
+ _this.idUbicacionFisica = 0;
9837
+ _this.denominacionUbicacionFisica = '';
9838
+ _this.codigoUbicacionFisica = '';
8930
9839
  if (e) {
8931
9840
  _this.idEmpresa = parseInt(e.id_empresa);
8932
9841
  _this.idPersonal = parseInt(e.id_personal);
8933
9842
  _this.idfideicomiso = parseInt(e.id_fideicomiso);
8934
9843
  _this.codigoFideicomiso = e.codfid;
8935
9844
  _this.fichaFideicomico = e.ficfid;
8936
- _this.ubicacionFideicomiso = e.ubifid;
8937
- _this.cuentaFideicomiso = e.cuefid;
9845
+ _this.idCuentaFideicomiso = parseInt(e.id_ctabanper);
9846
+ _this.cuentaFideicomiso = e.ctabanper;
8938
9847
  _this.fechaIngresoFideicomiso = e.fecingfid;
8939
9848
  _this.capitalizacionFideicomiso = e.capfid;
8940
9849
  _this.capitalizarAntiguedadComplementaria = parseInt(e.capantcom);
@@ -8944,6 +9853,12 @@
8944
9853
  _this.scgCuentaAntiguedadFideicomiso = e.scg_cuentafid;
8945
9854
  _this.scgcuentaInteresFideicomiso = e.scg_cuentaintfid;
8946
9855
  _this.calcularIteresFideicomiso = +e.calintfid;
9856
+ _this.idUbicacionFisica = parseInt(e.id_ubifis);
9857
+ _this.denominacionUbicacionFisica = e.denubifis;
9858
+ _this.codigoUbicacionFisica = e.codubifis;
9859
+ }
9860
+ else {
9861
+ _this.isNew = true;
8947
9862
  }
8948
9863
  return _this;
8949
9864
  }
@@ -8954,8 +9869,7 @@
8954
9869
  id_fideicomiso: this.idfideicomiso.toString(),
8955
9870
  codfid: this.codigoFideicomiso,
8956
9871
  ficfid: this.fichaFideicomico,
8957
- ubifid: this.ubicacionFideicomiso,
8958
- cuefid: this.cuentaFideicomiso,
9872
+ id_ctabanper: this.idCuentaFideicomiso.toString(),
8959
9873
  fecingfid: this.fechaIngresoFideicomiso,
8960
9874
  capfid: this.capitalizacionFideicomiso,
8961
9875
  capantcom: this.capitalizarAntiguedadComplementaria.toString(),
@@ -8965,147 +9879,489 @@
8965
9879
  scg_cuentafid: this.scgCuentaAntiguedadFideicomiso,
8966
9880
  scg_cuentaintfid: this.scgcuentaInteresFideicomiso,
8967
9881
  calintfid: +this.calcularIteresFideicomiso,
9882
+ id_ubifis: this.idUbicacionFisica.toString(),
8968
9883
  };
8969
9884
  };
8970
9885
  return MFideicomiso;
8971
- }(MBasicModel));
8972
-
8973
- var MFormacionAcademica = /** @class */ (function (_super) {
8974
- __extends(MFormacionAcademica, _super);
8975
- function MFormacionAcademica(e) {
9886
+ }(MBasicModel));
9887
+ var MConfiguracionFideicomiso = /** @class */ (function (_super) {
9888
+ __extends(MConfiguracionFideicomiso, _super);
9889
+ function MConfiguracionFideicomiso(e) {
8976
9890
  var _this = _super.call(this) || this;
8977
9891
  _this.idEmpresa = 0;
8978
- _this.idConcurso = 0;
8979
- _this.idConcursante = 0;
8980
- _this.idEstudioConcursante = 0;
8981
- _this.codigoEstudio = '';
8982
- _this.institutoEstudio = '';
8983
- _this.descripcionEstudio = '';
8984
- _this.fechaInicial = '';
8985
- _this.fechaFin = '';
8986
- _this.tituloObtenido = '';
8987
- _this.yearAprobados = 0;
9892
+ _this.idFideicomisoConfiguracion = 0;
9893
+ _this.idDedicacion = 0;
9894
+ _this.idTipoPersonal = 0;
9895
+ _this.anioCursoFideicomiso = '';
9896
+ _this.diaBonoVacacionalFideicomiso = 0;
9897
+ _this.diasBonoFinAnio = 0;
9898
+ _this.cuentaFideicomiso = '';
9899
+ _this.denominacionDedicacion = '';
9900
+ _this.codigoDedicacion = '';
9901
+ _this.codigoTipoPersonal = '';
9902
+ _this.denominacionTipoPersonal = '';
9903
+ _this.formulaFideicomiso = 'xxx';
8988
9904
  if (e) {
8989
9905
  _this.idEmpresa = parseInt(e.id_empresa);
8990
- _this.idConcurso = parseInt(e.id_concurso);
8991
- _this.idConcursante = parseInt(e.id_concursante);
8992
- _this.idEstudioConcursante = parseInt(e.id_estudiocon);
8993
- _this.codigoEstudio = e.codestrea;
8994
- _this.institutoEstudio = e.insestper;
8995
- _this.descripcionEstudio = e.desestper;
8996
- _this.fechaInicial = e.fecinireaest;
8997
- _this.fechaFin = e.fecfinestrea;
8998
- _this.tituloObtenido = e.titestper;
8999
- _this.yearAprobados = parseInt(e.anoaprestper);
9906
+ _this.idDedicacion = parseInt(e.id_dedicacion);
9907
+ _this.idTipoPersonal = parseInt(e.id_tipopersonal);
9908
+ _this.anioCursoFideicomiso = e.anocurfid;
9909
+ _this.diaBonoVacacionalFideicomiso = parseInt(e.diabonvacfid);
9910
+ _this.diasBonoFinAnio = parseInt(e.diabonfinfid);
9911
+ _this.cuentaFideicomiso = e.cuefid;
9912
+ _this.denominacionDedicacion = e.dended;
9913
+ _this.codigoDedicacion = e.codded;
9914
+ _this.codigoTipoPersonal = e.codtipper;
9915
+ _this.denominacionTipoPersonal = e.dentipper;
9916
+ _this.idFideicomisoConfiguracion = parseInt(e.id_fidconfig);
9917
+ _this.formulaFideicomiso = e.forfid;
9918
+ }
9919
+ else {
9920
+ _this.isNew = true;
9000
9921
  }
9001
9922
  return _this;
9002
9923
  }
9003
- MFormacionAcademica.prototype.dataInterface = function () {
9924
+ MConfiguracionFideicomiso.prototype.dataInterface = function () {
9004
9925
  return {
9005
9926
  id_empresa: this.idEmpresa.toString(),
9006
- id_concurso: this.idConcurso.toString(),
9007
- id_concursante: this.idConcursante.toString(),
9008
- id_estudiocon: this.idEstudioConcursante.toString(),
9009
- codestrea: this.codigoEstudio,
9010
- insestper: this.institutoEstudio,
9011
- desestper: this.descripcionEstudio,
9012
- fecinireaest: this.fechaInicial,
9013
- fecfinestrea: this.fechaFin,
9014
- titestper: this.tituloObtenido,
9015
- anoaprestper: this.yearAprobados.toString()
9927
+ id_fidconfig: this.idFideicomisoConfiguracion.toString(),
9928
+ id_dedicacion: this.idDedicacion.toString(),
9929
+ id_tipopersonal: this.idTipoPersonal.toString(),
9930
+ anocurfid: this.anioCursoFideicomiso,
9931
+ diabonvacfid: this.diaBonoVacacionalFideicomiso.toString(),
9932
+ diabonfinfid: this.diasBonoFinAnio.toString(),
9933
+ cuefid: this.cuentaFideicomiso,
9934
+ forfid: this.formulaFideicomiso,
9016
9935
  };
9017
9936
  };
9018
- return MFormacionAcademica;
9019
- }(MBasicModel));
9020
-
9021
- var MPrimaGrados = /** @class */ (function (_super) {
9022
- __extends(MPrimaGrados, _super);
9023
- function MPrimaGrados(e) {
9024
- if (e === void 0) { e = null; }
9937
+ return MConfiguracionFideicomiso;
9938
+ }(MBasicModel));
9939
+ var MFideicomisoInteres = /** @class */ (function (_super) {
9940
+ __extends(MFideicomisoInteres, _super);
9941
+ function MFideicomisoInteres(e) {
9025
9942
  var _this = _super.call(this) || this;
9026
9943
  _this.idEmpresa = 0;
9027
- _this.idTabulador = 0;
9028
- _this.codigoGrado = '';
9029
- _this.codigoPaso = '';
9030
- _this.codigoPrima = '';
9031
- _this.descripcionPrima = '';
9032
- _this.montoPrima = 0;
9033
- _this.IdDetallePrima = 0;
9034
- _this.isNew = true;
9944
+ _this.idInteresFideicomiso = 0;
9945
+ _this.mesInteres = 0;
9946
+ _this.anioInteres = 0;
9947
+ _this.numeroGacetaInteres = '';
9948
+ _this.fechaVigenciaGacetaInteres = '1900-01-01';
9949
+ _this.montoTasaInteres = 0;
9035
9950
  if (e) {
9036
9951
  _this.idEmpresa = parseInt(e.id_empresa);
9037
- _this.idTabulador = parseInt(e.id_tabulador);
9038
- _this.codigoGrado = e.codgra;
9039
- _this.codigoPaso = e.codpas;
9040
- _this.codigoPrima = e.codpri;
9041
- _this.descripcionPrima = e.despri;
9042
- _this.montoPrima = parseInt(e.monpri);
9043
- _this.IdDetallePrima = parseInt(e.id_dt_prima);
9044
- _this.isNew = false;
9952
+ _this.idInteresFideicomiso = parseInt(e.id_intfide);
9953
+ _this.mesInteres = parseInt(e.mesint);
9954
+ _this.anioInteres = parseInt(e.anoint);
9955
+ _this.numeroGacetaInteres = e.nrogacint;
9956
+ _this.fechaVigenciaGacetaInteres = e.fecviggacint;
9957
+ _this.montoTasaInteres = +e.montasint;
9958
+ }
9959
+ else {
9960
+ _this.isNew = true;
9045
9961
  }
9046
9962
  return _this;
9047
9963
  }
9048
- MPrimaGrados.prototype.dataInterface = function () {
9964
+ MFideicomisoInteres.prototype.dataInterface = function () {
9049
9965
  return {
9050
9966
  id_empresa: this.idEmpresa.toString(),
9051
- id_tabulador: this.idTabulador.toString(),
9052
- codgra: this.codigoGrado,
9053
- codpas: this.codigoPaso,
9054
- codpri: this.codigoPrima,
9055
- despri: this.descripcionPrima,
9056
- monpri: this.montoPrima.toString(),
9057
- id_dt_prima: this.IdDetallePrima.toString(),
9967
+ id_intfide: this.idInteresFideicomiso.toString(),
9968
+ mesint: this.mesInteres.toString(),
9969
+ anoint: this.anioInteres.toString(),
9970
+ nrogacint: this.numeroGacetaInteres,
9971
+ fecviggacint: this.fechaVigenciaGacetaInteres,
9972
+ montasint: this.montoTasaInteres.toString(),
9058
9973
  };
9059
9974
  };
9060
- return MPrimaGrados;
9061
- }(MBasicModel));
9062
-
9063
- var MGrados = /** @class */ (function (_super) {
9064
- __extends(MGrados, _super);
9065
- function MGrados(e) {
9975
+ return MFideicomisoInteres;
9976
+ }(MBasicModel));
9977
+ var MCalculoPrestacion = /** @class */ (function (_super) {
9978
+ __extends(MCalculoPrestacion, _super);
9979
+ function MCalculoPrestacion(e) {
9066
9980
  if (e === void 0) { e = null; }
9067
9981
  var _this = _super.call(this) || this;
9068
9982
  _this.idEmpresa = 0;
9069
- _this.idTabulador = 0;
9070
- _this.codigoGrado = 0;
9071
- _this.codigoPaso = 0;
9072
- _this.montoSalario = 0;
9073
- _this.montoCompensacion = 0;
9074
- _this.yearDesde = 0;
9075
- _this.yearHasta = 0;
9076
- _this.IdDetalleGrado = 0;
9077
- _this.detallePrima = [];
9983
+ _this.mes = '';
9984
+ _this.anio = '';
9985
+ _this.cedulaDesde = '';
9986
+ _this.cedulaHasta = '';
9987
+ _this.mesCalculado = '';
9988
+ _this.anioCalculado = '';
9078
9989
  if (e) {
9079
9990
  _this.idEmpresa = parseInt(e.id_empresa);
9080
- _this.idTabulador = parseInt(e.id_tabulador);
9081
- _this.codigoGrado = parseInt(e.codgra);
9082
- _this.codigoPaso = parseInt(e.codpas);
9083
- _this.montoSalario = parseFloat(e.monsalgra);
9084
- _this.montoCompensacion = parseFloat(e.moncomgra);
9085
- _this.yearDesde = parseInt(e.aniodes);
9086
- _this.yearHasta = parseInt(e.aniohas);
9087
- _this.IdDetalleGrado = parseInt(e.id_dt_grado);
9088
- _this.detallePrima = e.detalles_prima.map(function (e) { return new MPrimaGrados(e); });
9991
+ _this.mes = e.mes;
9992
+ _this.anio = e.anio;
9993
+ _this.cedulaDesde = e.cedula_desde;
9994
+ _this.cedulaDesde = e.cedula_hasta;
9995
+ _this.mesCalculado = e.mescal;
9996
+ _this.anioCalculado = e.aniocal;
9997
+ }
9998
+ else {
9999
+ _this.isNew = true;
9089
10000
  }
9090
10001
  return _this;
9091
10002
  }
9092
- MGrados.prototype.dataInterface = function () {
10003
+ MCalculoPrestacion.prototype.dataInterface = function () {
9093
10004
  return {
9094
10005
  id_empresa: this.idEmpresa.toString(),
9095
- id_tabulador: this.idTabulador.toString(),
9096
- codgra: this.codigoGrado.toString(),
9097
- codpas: this.codigoPaso.toString(),
9098
- monsalgra: this.montoSalario.toString(),
9099
- moncomgra: this.montoCompensacion.toString(),
9100
- aniodes: this.yearDesde.toString(),
9101
- aniohas: this.yearHasta.toString(),
9102
- id_dt_grado: this.IdDetalleGrado.toString(),
9103
- detalles_prima: this.detallePrima.map(function (e) { return e.dataInterface(); })
10006
+ mes: this.mes,
10007
+ anio: this.anio,
10008
+ cedula_desde: this.cedulaDesde,
10009
+ cedula_hasta: this.cedulaHasta,
10010
+ mescal: this.mesCalculado,
10011
+ aniocal: this.anioCalculado,
9104
10012
  };
9105
10013
  };
9106
- return MGrados;
9107
- }(MBasicModel));
9108
-
10014
+ return MCalculoPrestacion;
10015
+ }(MBasicModel));
10016
+ var MFideicomisoPeriodo = /** @class */ (function (_super) {
10017
+ __extends(MFideicomisoPeriodo, _super);
10018
+ function MFideicomisoPeriodo(e) {
10019
+ if (e === void 0) { e = null; }
10020
+ var _this = _super.call(this) || this;
10021
+ _this.idEmpresa = 0;
10022
+ _this.idPersonal = 0;
10023
+ _this.idNomina = 0;
10024
+ _this.codigoNomina = '';
10025
+ _this.idFideicomiso = 0;
10026
+ _this.anioCursoPeriodo = '';
10027
+ _this.mesCursoPeriodo = '';
10028
+ _this.sueldointergralPeronal = 0;
10029
+ _this.bonoExtraPersonal = 0;
10030
+ _this.bonoVacacionalPersonal = 0;
10031
+ _this.bonoFinPersonal = 0;
10032
+ _this.aportePersonal = 0;
10033
+ _this.diaFideicomiso = 0;
10034
+ _this.diaAdicional = 0;
10035
+ _this.metodoPrestacion = 0;
10036
+ _this.metodoAdicional = 0;
10037
+ _this.bonoVacionalAdicional = 0;
10038
+ _this.bonoFinAdicional = 0;
10039
+ _this.sueldoIntegralAdicional = 0;
10040
+ _this.aportePrestacion = 0;
10041
+ _this.aporteAdicionalPersonal = 0;
10042
+ _this.codigoUsuario = '';
10043
+ _this.idDtFideicomisoPeriodo = 0;
10044
+ _this.cedulaPersonal = '';
10045
+ _this.nombrePersonal = '';
10046
+ _this.apellidoPersonal = '';
10047
+ _this.fechaIngresoPersonal = '1900-01-01';
10048
+ _this.estatusPersonal = '';
10049
+ _this.codigoPersonal = '';
10050
+ _this.denominacionEstatus = '';
10051
+ _this.denominacionMes = '';
10052
+ if (e) {
10053
+ _this.idEmpresa = +e.id_empresa;
10054
+ _this.idPersonal = +e.id_personal;
10055
+ _this.idNomina = +e.id_nomina;
10056
+ _this.codigoNomina = e.codnom;
10057
+ _this.idFideicomiso = +e.id_dt_fideiperiodo;
10058
+ _this.anioCursoPeriodo = e.anocurper;
10059
+ _this.mesCursoPeriodo = e.mescurper;
10060
+ _this.sueldointergralPeronal = +e.sueintper;
10061
+ _this.bonoExtraPersonal = +e.bonextper;
10062
+ _this.bonoVacacionalPersonal = +e.bonvacper;
10063
+ _this.bonoFinPersonal = +e.bonfinper;
10064
+ _this.aportePersonal = +e.apoper;
10065
+ _this.diaFideicomiso = +e.diafid;
10066
+ _this.diaAdicional = +e.diaadi;
10067
+ _this.metodoPrestacion = +e.metodopre;
10068
+ _this.metodoAdicional = +e.metodoadi;
10069
+ _this.bonoVacionalAdicional = +e.bonvacadiper;
10070
+ _this.bonoFinAdicional = +e.bonfinadiper;
10071
+ _this.sueldoIntegralAdicional = +e.sueintadiper;
10072
+ _this.aportePrestacion = +e.apopreper;
10073
+ _this.aporteAdicionalPersonal = +e.apoadiper;
10074
+ _this.codigoUsuario = e.codusu;
10075
+ _this.idDtFideicomisoPeriodo = +e.id_dt_fideiperiodo;
10076
+ _this.cedulaPersonal = e.cedper;
10077
+ _this.nombrePersonal = e.nomper;
10078
+ _this.apellidoPersonal = e.apeper;
10079
+ _this.fechaIngresoPersonal = e.fecingper;
10080
+ _this.estatusPersonal = e.estper;
10081
+ _this.codigoPersonal = e.codper;
10082
+ _this.estatusPersonal == '0' ? _this.denominacionEstatus = 'PRE-INGRESO' :
10083
+ _this.estatusPersonal == '1' ? _this.denominacionEstatus = 'ACTIVO' :
10084
+ _this.estatusPersonal == '2' ? _this.denominacionEstatus = 'NINGUNO' :
10085
+ _this.estatusPersonal == '3' ? _this.denominacionEstatus = 'EGRESADO' :
10086
+ _this.estatusPersonal == '4' ? _this.denominacionEstatus = 'REMOCIÓN' :
10087
+ _this.estatusPersonal == '5' ? _this.denominacionEstatus = 'RETIRO' :
10088
+ _this.estatusPersonal == '6' ? _this.denominacionEstatus = 'DESTITUCIÓN' :
10089
+ _this.estatusPersonal == '7' ? _this.denominacionEstatus = 'LIQUIDACIÓN' : '';
10090
+ _this.mesCursoPeriodo == '01' ? _this.denominacionMes = 'ENERO' :
10091
+ _this.mesCursoPeriodo == '02' ? _this.denominacionMes = 'FEBREO' :
10092
+ _this.mesCursoPeriodo == '03' ? _this.denominacionMes = 'MARZO' :
10093
+ _this.mesCursoPeriodo == '04' ? _this.denominacionMes = 'ABRIL' :
10094
+ _this.mesCursoPeriodo == '05' ? _this.denominacionMes = 'MAYO' :
10095
+ _this.mesCursoPeriodo == '06' ? _this.denominacionMes = 'JUNIO' :
10096
+ _this.mesCursoPeriodo == '07' ? _this.denominacionMes = 'JULIO' : '';
10097
+ _this.mesCursoPeriodo == '08' ? _this.denominacionMes = 'AGOSTO' :
10098
+ _this.mesCursoPeriodo == '09' ? _this.denominacionMes = 'SEPTIEMBRE' :
10099
+ _this.mesCursoPeriodo == '10' ? _this.denominacionMes = 'OCTUBRE' :
10100
+ _this.mesCursoPeriodo == '11' ? _this.denominacionMes = 'NOVIEMBRE' :
10101
+ _this.mesCursoPeriodo == '12' ? _this.denominacionMes = 'DICIEMBRE' : '';
10102
+ }
10103
+ else {
10104
+ _this.isNew = true;
10105
+ }
10106
+ return _this;
10107
+ }
10108
+ return MFideicomisoPeriodo;
10109
+ }(MBasicModel));
10110
+ var MFideicomisoPeriodoInteresCatalogo = /** @class */ (function (_super) {
10111
+ __extends(MFideicomisoPeriodoInteresCatalogo, _super);
10112
+ function MFideicomisoPeriodoInteresCatalogo(e) {
10113
+ if (e === void 0) { e = null; }
10114
+ var _this = _super.call(this) || this;
10115
+ _this.idPersonal = 0;
10116
+ _this.codigoPersonal = '';
10117
+ _this.cedulaPersonal = '';
10118
+ _this.nombrePersonal = '';
10119
+ _this.apellidoPersonal = '';
10120
+ _this.fechaIngresoPersonal = '1900-01-01';
10121
+ _this.estatusPersonal = '';
10122
+ _this.denominacionEstatus = '';
10123
+ _this.interes = [];
10124
+ if (e) {
10125
+ _this.idPersonal = +e.id_personal;
10126
+ _this.codigoPersonal = e.codper;
10127
+ _this.cedulaPersonal = e.cedper;
10128
+ _this.nombrePersonal = e.nomper;
10129
+ _this.apellidoPersonal = e.apeper;
10130
+ _this.estatusPersonal = e.estper;
10131
+ _this.fechaIngresoPersonal = e.fecingper;
10132
+ _this.estatusPersonal == '0' ? _this.denominacionEstatus = 'PRE-INGRESO' :
10133
+ _this.estatusPersonal == '1' ? _this.denominacionEstatus = 'ACTIVO' :
10134
+ _this.estatusPersonal == '2' ? _this.denominacionEstatus = 'NINGUNO' :
10135
+ _this.estatusPersonal == '3' ? _this.denominacionEstatus = 'EGRESADO' :
10136
+ _this.estatusPersonal == '4' ? _this.denominacionEstatus = 'REMOCIÓN' :
10137
+ _this.estatusPersonal == '5' ? _this.denominacionEstatus = 'RETIRO' :
10138
+ _this.estatusPersonal == '6' ? _this.denominacionEstatus = 'DESTITUCIÓN' :
10139
+ _this.estatusPersonal == '7' ? _this.denominacionEstatus = 'LIQUIDACIÓN' : '';
10140
+ if (e.intereses) {
10141
+ _this.interes = e.intereses.map(function (e) { return new MFideicomisoPeriodoInteres(e); });
10142
+ }
10143
+ }
10144
+ else {
10145
+ _this.isNew = true;
10146
+ }
10147
+ return _this;
10148
+ }
10149
+ return MFideicomisoPeriodoInteresCatalogo;
10150
+ }(MBasicModel));
10151
+ var MFideicomisoPeriodoInteres = /** @class */ (function (_super) {
10152
+ __extends(MFideicomisoPeriodoInteres, _super);
10153
+ function MFideicomisoPeriodoInteres(e) {
10154
+ if (e === void 0) { e = null; }
10155
+ var _this = _super.call(this) || this;
10156
+ _this.idEmpresa = 0;
10157
+ _this.idPersonal = 0;
10158
+ _this.idNomina = 0;
10159
+ _this.mesInteres = 0;
10160
+ _this.anioInteres = '';
10161
+ _this.montoAnteriorAcumulado = 0;
10162
+ _this.montoAnterior = 0;
10163
+ _this.porcentajeInteres = 0;
10164
+ _this.montoInteres = 0;
10165
+ _this.montoCapital = 0;
10166
+ _this.anticipoPrestamo = 0;
10167
+ _this.idDtFide = 0;
10168
+ _this.cedulaPersonal = '';
10169
+ _this.nombrePersonal = '';
10170
+ _this.apellidoPersonal = '';
10171
+ _this.fechaIngresoPersonal = '1900-01-01';
10172
+ _this.estatusPersonal = '';
10173
+ _this.codigoPersonal = '';
10174
+ _this.denominacionEstatus = '';
10175
+ _this.denominacionMes = '';
10176
+ _this.capital = 0;
10177
+ _this.codigoNomina = '';
10178
+ if (e) {
10179
+ _this.idEmpresa = +e.id_empresa;
10180
+ _this.idPersonal = +e.id_personal;
10181
+ _this.idNomina = +e.id_nomina;
10182
+ _this.mesInteres = +e.mesint;
10183
+ _this.anioInteres = e.anoint;
10184
+ _this.montoAnteriorAcumulado = +e.monantacu;
10185
+ _this.montoAnterior = +e.monant;
10186
+ _this.porcentajeInteres = +e.porint;
10187
+ _this.montoInteres = +e.monint;
10188
+ _this.montoCapital = +e.moncap;
10189
+ _this.anticipoPrestamo = +e.antpre;
10190
+ _this.capital = +e.capital;
10191
+ _this.idDtFide = +e.id_dt_fidperint;
10192
+ _this.cedulaPersonal = e.cedper;
10193
+ _this.nombrePersonal = e.nomper;
10194
+ _this.apellidoPersonal = e.apeper;
10195
+ _this.fechaIngresoPersonal = e.fecingper;
10196
+ _this.estatusPersonal = e.estper;
10197
+ _this.codigoPersonal = e.codper;
10198
+ _this.estatusPersonal == '0' ? _this.denominacionEstatus = 'PRE-INGRESO' :
10199
+ _this.estatusPersonal == '1' ? _this.denominacionEstatus = 'ACTIVO' :
10200
+ _this.estatusPersonal == '2' ? _this.denominacionEstatus = 'NINGUNO' :
10201
+ _this.estatusPersonal == '3' ? _this.denominacionEstatus = 'EGRESADO' :
10202
+ _this.estatusPersonal == '4' ? _this.denominacionEstatus = 'REMOCIÓN' :
10203
+ _this.estatusPersonal == '5' ? _this.denominacionEstatus = 'RETIRO' :
10204
+ _this.estatusPersonal == '6' ? _this.denominacionEstatus = 'DESTITUCIÓN' :
10205
+ _this.estatusPersonal == '7' ? _this.denominacionEstatus = 'LIQUIDACIÓN' : '';
10206
+ _this.mesInteres == 1 ? _this.denominacionMes = 'ENERO' :
10207
+ _this.mesInteres == 2 ? _this.denominacionMes = 'FEBREO' :
10208
+ _this.mesInteres == 3 ? _this.denominacionMes = 'MARZO' :
10209
+ _this.mesInteres == 4 ? _this.denominacionMes = 'ABRIL' :
10210
+ _this.mesInteres == 5 ? _this.denominacionMes = 'MAYO' :
10211
+ _this.mesInteres == 6 ? _this.denominacionMes = 'JUNIO' :
10212
+ _this.mesInteres == 7 ? _this.denominacionMes = 'JULIO' : '';
10213
+ _this.mesInteres == 8 ? _this.denominacionMes = 'AGOSTO' :
10214
+ _this.mesInteres == 9 ? _this.denominacionMes = 'SEPTIEMBRE' :
10215
+ _this.mesInteres == 10 ? _this.denominacionMes = 'OCTUBRE' :
10216
+ _this.mesInteres == 11 ? _this.denominacionMes = 'NOVIEMBRE' :
10217
+ _this.mesInteres == 12 ? _this.denominacionMes = 'DICIEMBRE' : '';
10218
+ _this.codigoNomina = e.codnom;
10219
+ }
10220
+ else {
10221
+ _this.isNew = true;
10222
+ }
10223
+ return _this;
10224
+ }
10225
+ return MFideicomisoPeriodoInteres;
10226
+ }(MBasicModel));
10227
+
10228
+ var MFormacionAcademica = /** @class */ (function (_super) {
10229
+ __extends(MFormacionAcademica, _super);
10230
+ function MFormacionAcademica(e) {
10231
+ var _this = _super.call(this) || this;
10232
+ _this.idEmpresa = 0;
10233
+ _this.idConcurso = 0;
10234
+ _this.idConcursante = 0;
10235
+ _this.idEstudioConcursante = 0;
10236
+ _this.codigoEstudio = '';
10237
+ _this.institutoEstudio = '';
10238
+ _this.descripcionEstudio = '';
10239
+ _this.fechaInicial = '';
10240
+ _this.fechaFin = '';
10241
+ _this.tituloObtenido = '';
10242
+ _this.yearAprobados = 0;
10243
+ if (e) {
10244
+ _this.idEmpresa = parseInt(e.id_empresa);
10245
+ _this.idConcurso = parseInt(e.id_concurso);
10246
+ _this.idConcursante = parseInt(e.id_concursante);
10247
+ _this.idEstudioConcursante = parseInt(e.id_estudiocon);
10248
+ _this.codigoEstudio = e.codestrea;
10249
+ _this.institutoEstudio = e.insestper;
10250
+ _this.descripcionEstudio = e.desestper;
10251
+ _this.fechaInicial = e.fecinireaest;
10252
+ _this.fechaFin = e.fecfinestrea;
10253
+ _this.tituloObtenido = e.titestper;
10254
+ _this.yearAprobados = parseInt(e.anoaprestper);
10255
+ }
10256
+ return _this;
10257
+ }
10258
+ MFormacionAcademica.prototype.dataInterface = function () {
10259
+ return {
10260
+ id_empresa: this.idEmpresa.toString(),
10261
+ id_concurso: this.idConcurso.toString(),
10262
+ id_concursante: this.idConcursante.toString(),
10263
+ id_estudiocon: this.idEstudioConcursante.toString(),
10264
+ codestrea: this.codigoEstudio,
10265
+ insestper: this.institutoEstudio,
10266
+ desestper: this.descripcionEstudio,
10267
+ fecinireaest: this.fechaInicial,
10268
+ fecfinestrea: this.fechaFin,
10269
+ titestper: this.tituloObtenido,
10270
+ anoaprestper: this.yearAprobados.toString()
10271
+ };
10272
+ };
10273
+ return MFormacionAcademica;
10274
+ }(MBasicModel));
10275
+
10276
+ var MPrimaGrados = /** @class */ (function (_super) {
10277
+ __extends(MPrimaGrados, _super);
10278
+ function MPrimaGrados(e) {
10279
+ if (e === void 0) { e = null; }
10280
+ var _this = _super.call(this) || this;
10281
+ _this.idEmpresa = 0;
10282
+ _this.idTabulador = 0;
10283
+ _this.codigoGrado = '';
10284
+ _this.codigoPaso = '';
10285
+ _this.codigoPrima = '';
10286
+ _this.descripcionPrima = '';
10287
+ _this.montoPrima = 0;
10288
+ _this.IdDetallePrima = 0;
10289
+ if (e) {
10290
+ _this.idEmpresa = parseInt(e.id_empresa);
10291
+ _this.idTabulador = parseInt(e.id_tabulador);
10292
+ _this.codigoGrado = e.codgra;
10293
+ _this.codigoPaso = e.codpas;
10294
+ _this.codigoPrima = e.codpri;
10295
+ _this.descripcionPrima = e.despri;
10296
+ _this.montoPrima = parseInt(e.monpri);
10297
+ _this.IdDetallePrima = parseInt(e.id_dt_prima);
10298
+ }
10299
+ else {
10300
+ _this.isNew = true;
10301
+ }
10302
+ return _this;
10303
+ }
10304
+ MPrimaGrados.prototype.dataInterface = function () {
10305
+ return {
10306
+ id_empresa: this.idEmpresa.toString(),
10307
+ id_tabulador: this.idTabulador.toString(),
10308
+ codgra: this.codigoGrado,
10309
+ codpas: this.codigoPaso,
10310
+ codpri: this.codigoPrima,
10311
+ despri: this.descripcionPrima,
10312
+ monpri: this.montoPrima.toString(),
10313
+ id_dt_prima: this.IdDetallePrima.toString(),
10314
+ };
10315
+ };
10316
+ return MPrimaGrados;
10317
+ }(MBasicModel));
10318
+
10319
+ var MGrados = /** @class */ (function (_super) {
10320
+ __extends(MGrados, _super);
10321
+ function MGrados(e) {
10322
+ if (e === void 0) { e = null; }
10323
+ var _this = _super.call(this) || this;
10324
+ _this.idEmpresa = 0;
10325
+ _this.idTabulador = 0;
10326
+ _this.codigoGrado = 0;
10327
+ _this.codigoPaso = 0;
10328
+ _this.montoSalario = 0;
10329
+ _this.montoCompensacion = 0;
10330
+ _this.yearDesde = 0;
10331
+ _this.yearHasta = 0;
10332
+ _this.IdDetalleGrado = 0;
10333
+ _this.detallePrima = [];
10334
+ if (e) {
10335
+ _this.idEmpresa = parseInt(e.id_empresa);
10336
+ _this.idTabulador = parseInt(e.id_tabulador);
10337
+ _this.codigoGrado = parseInt(e.codgra);
10338
+ _this.codigoPaso = parseInt(e.codpas);
10339
+ _this.montoSalario = parseFloat(e.monsalgra);
10340
+ _this.montoCompensacion = parseFloat(e.moncomgra);
10341
+ _this.yearDesde = parseInt(e.aniodes);
10342
+ _this.yearHasta = parseInt(e.aniohas);
10343
+ _this.IdDetalleGrado = parseInt(e.id_dt_grado);
10344
+ _this.detallePrima = e.detalles_prima.map(function (e) { return new MPrimaGrados(e); });
10345
+ }
10346
+ return _this;
10347
+ }
10348
+ MGrados.prototype.dataInterface = function () {
10349
+ return {
10350
+ id_empresa: this.idEmpresa.toString(),
10351
+ id_tabulador: this.idTabulador.toString(),
10352
+ codgra: this.codigoGrado.toString(),
10353
+ codpas: this.codigoPaso.toString(),
10354
+ monsalgra: this.montoSalario.toString(),
10355
+ moncomgra: this.montoCompensacion.toString(),
10356
+ aniodes: this.yearDesde.toString(),
10357
+ aniohas: this.yearHasta.toString(),
10358
+ id_dt_grado: this.IdDetalleGrado.toString(),
10359
+ detalles_prima: this.detallePrima.map(function (e) { return e.dataInterface(); })
10360
+ };
10361
+ };
10362
+ return MGrados;
10363
+ }(MBasicModel));
10364
+
9109
10365
  var MPrimasConcepto = /** @class */ (function (_super) {
9110
10366
  __extends(MPrimasConcepto, _super);
9111
10367
  function MPrimasConcepto(e) {
@@ -9129,6 +10385,9 @@
9129
10385
  _this.codigoConcepto = e.codconc;
9130
10386
  _this.nombreConcepto = e.nomcon;
9131
10387
  }
10388
+ else {
10389
+ _this.isNew = true;
10390
+ }
9132
10391
  return _this;
9133
10392
  }
9134
10393
  MPrimasConcepto.prototype.dataInterface = function () {
@@ -9146,9 +10405,9 @@
9146
10405
  return MPrimasConcepto;
9147
10406
  }(MBasicModel));
9148
10407
 
9149
- var MRequisitosConcursante = /** @class */ (function (_super) {
9150
- __extends(MRequisitosConcursante, _super);
9151
- function MRequisitosConcursante(e) {
10408
+ var MRequisitosConcursantes = /** @class */ (function (_super) {
10409
+ __extends(MRequisitosConcursantes, _super);
10410
+ function MRequisitosConcursantes(e) {
9152
10411
  if (e === void 0) { e = null; }
9153
10412
  var _this = _super.call(this) || this;
9154
10413
  _this.idEmpresa = 0;
@@ -9171,9 +10430,12 @@
9171
10430
  _this.requisitosEntregado = e.entreqcon;
9172
10431
  _this.cantidadEntregado = parseInt(e.canentreqcon);
9173
10432
  }
10433
+ else {
10434
+ _this.isNew = true;
10435
+ }
9174
10436
  return _this;
9175
10437
  }
9176
- MRequisitosConcursante.prototype.dataInterface = function () {
10438
+ MRequisitosConcursantes.prototype.dataInterface = function () {
9177
10439
  return {
9178
10440
  id_empresa: this.idEmpresa.toString(),
9179
10441
  id_concurso: this.idConcurso.toString(),
@@ -9186,7 +10448,7 @@
9186
10448
  canentreqcon: this.cantidadEntregado.toString()
9187
10449
  };
9188
10450
  };
9189
- return MRequisitosConcursante;
10451
+ return MRequisitosConcursantes;
9190
10452
  }(MBasicModel));
9191
10453
 
9192
10454
  var MRequisitosMinimos = /** @class */ (function (_super) {
@@ -9591,7 +10853,7 @@
9591
10853
  if (e === void 0) { e = null; }
9592
10854
  var _this = _super.call(this) || this;
9593
10855
  _this.idEmpresa = 0;
9594
- _this.idTabulador = 0;
10856
+ _this.idTabulador = -1;
9595
10857
  _this.codigoTabulador = '';
9596
10858
  _this.descripcionTabulador = '';
9597
10859
  _this.totalPasosXGrados = 0;
@@ -9644,20 +10906,28 @@
9644
10906
  this.idTabulador = 0;
9645
10907
  this.codigoNomina = '';
9646
10908
  this.denominacionNomina = '';
9647
- this.estatusNomina = '';
10909
+ this.estatus = '';
9648
10910
  this.idDtNomina = 0;
9649
10911
  this.periodoActualNomina = '001';
9650
- this.periodosNomina = [];
9651
- if (e) {
9652
- this.idEmpresa = parseInt(e.id_empresa);
9653
- this.idNomina = parseInt(e.id_nomina);
10912
+ this.idPeriodoActual = 0;
10913
+ this.nominaRac = 0;
10914
+ this.descripcionPeriodoNomina = '';
10915
+ this.prenomina = false;
10916
+ this.editable = false;
10917
+ this.calculada = false;
10918
+ if (e) {
10919
+ this.idEmpresa = parseInt(e.id_empresa);
10920
+ this.idNomina = parseInt(e.id_nomina);
9654
10921
  this.idTabulador = parseInt(e.id_tabulador);
9655
10922
  this.codigoNomina = e.codnom;
9656
10923
  this.denominacionNomina = e.dennom;
9657
- this.estatusNomina = e.estnom;
9658
10924
  this.idDtNomina = parseInt(e.id_dt_tabnom);
9659
10925
  this.periodoActualNomina = e.peractnom;
9660
- this.periodosNomina = e.periodos.map(function (e) { return new MPeriodoNomina(e); });
10926
+ this.calculada = e.calculado == '1' ? true : false;
10927
+ this.prenomina = e.prenomina == '1' ? true : false;
10928
+ this.estatus = this.calculada ? 'Calculada' :
10929
+ !this.calculada && this.prenomina ? 'Pre-Calculada' : 'Sin Calcular';
10930
+ this.editable = (this.calculada || this.prenomina) ? false : true;
9661
10931
  }
9662
10932
  }
9663
10933
  MTabuladorNominas.prototype.dataInterface = function () {
@@ -9665,22 +10935,9 @@
9665
10935
  id_empresa: this.idEmpresa.toString(),
9666
10936
  id_nomina: this.idNomina.toString(),
9667
10937
  id_tabulador: this.idTabulador.toString(),
9668
- codnom: this.codigoNomina,
9669
- dennom: this.denominacionNomina,
9670
- estnom: this.estatusNomina,
9671
- id_dt_tabnom: this.idDtNomina.toString(),
9672
- periodos: this.periodosNomina.map((function (e) { return e.dataInterface(); })),
9673
- peractnom: this.periodoActualNomina,
10938
+ id_dt_tabnom: this.idDtNomina.toString()
9674
10939
  };
9675
10940
  };
9676
- MTabuladorNominas.prototype.indice = function () {
9677
- var _this = this;
9678
- return this.periodosNomina.findIndex(function (e) { return e.codigoPeriodo == _this.periodoActualNomina; });
9679
- };
9680
- MTabuladorNominas.prototype.editable = function () {
9681
- var i = this.indice();
9682
- return this.periodosNomina[i].periodoEditable();
9683
- };
9684
10941
  return MTabuladorNominas;
9685
10942
  }());
9686
10943
 
@@ -9953,6 +11210,7 @@
9953
11210
  _this.codigoUsuario = '';
9954
11211
  _this.diaVacacionesCalendario = 0;
9955
11212
  _this.diasHabiles = 0;
11213
+ _this.procesarFueraPeriodo = 0;
9956
11214
  if (e) {
9957
11215
  _this.idEmpresa = parseInt(e.id_empresa);
9958
11216
  _this.idPersonal = parseInt(e.id_personal);
@@ -9986,6 +11244,7 @@
9986
11244
  _this.codigoUsuario = (e.codusu);
9987
11245
  _this.diaVacacionesCalendario = parseInt(e.diavaccal);
9988
11246
  _this.diasHabiles = parseInt(e.diahab);
11247
+ _this.procesarFueraPeriodo = parseInt(e.profueper);
9989
11248
  }
9990
11249
  return _this;
9991
11250
  }
@@ -10023,6 +11282,7 @@
10023
11282
  codusu: this.codigoUsuario,
10024
11283
  diavaccal: this.diaVacacionesCalendario.toString(),
10025
11284
  diahab: this.diasHabiles.toString(),
11285
+ profueper: this.procesarFueraPeriodo.toString(),
10026
11286
  };
10027
11287
  };
10028
11288
  return MVacacionesPersonal;
@@ -10251,6 +11511,1021 @@
10251
11511
  return MPersonalJubilado;
10252
11512
  }(MBasicModel));
10253
11513
 
11514
+ var MPermisos = /** @class */ (function (_super) {
11515
+ __extends(MPermisos, _super);
11516
+ function MPermisos(e) {
11517
+ var _this = _super.call(this) || this;
11518
+ _this.idEmpresa = 0;
11519
+ _this.idPersonal = 0;
11520
+ _this.idPermiso = 0;
11521
+ _this.fechaInicioPermiso = '';
11522
+ _this.fechaFinPermiso = '';
11523
+ _this.numeroDiasPermiso = 0;
11524
+ _this.afectaVacaionesPermiso = '0';
11525
+ _this.tipoPermiso = '2';
11526
+ _this.observacionPermiso = '';
11527
+ _this.remuneradoPermiso = '1';
11528
+ _this.totalHorasPermiso = 0;
11529
+ _this.descontarVacaciones = 0;
11530
+ _this.codigoPermiso = '';
11531
+ _this.idTipoEnfermedad = 0;
11532
+ _this.denominacionEnfermedad = '';
11533
+ if (e) {
11534
+ _this.idEmpresa = +e.id_empresa;
11535
+ _this.idPersonal = +e.id_personal;
11536
+ _this.idPermiso = +e.id_permiso;
11537
+ _this.fechaInicioPermiso = e.fecfinper;
11538
+ _this.fechaFinPermiso = e.fecfinper;
11539
+ _this.numeroDiasPermiso = +e.numdiapero;
11540
+ _this.afectaVacaionesPermiso = e.afevacper.toString();
11541
+ _this.tipoPermiso = e.tipper.toString();
11542
+ _this.observacionPermiso = e.obsper;
11543
+ _this.remuneradoPermiso = e.remper.toString();
11544
+ _this.totalHorasPermiso = +e.tothorper;
11545
+ _this.descontarVacaciones = +e.desvacper;
11546
+ _this.codigoPermiso = e.codpermiso;
11547
+ _this.idTipoEnfermedad = parseInt(e.id_enfermedad);
11548
+ _this.denominacionEnfermedad = e.denenf;
11549
+ }
11550
+ else {
11551
+ _this.isNew = true;
11552
+ }
11553
+ return _this;
11554
+ }
11555
+ MPermisos.prototype.dataInterface = function () {
11556
+ return {
11557
+ id_empresa: this.idEmpresa,
11558
+ id_personal: this.idPersonal,
11559
+ id_permiso: this.idPermiso,
11560
+ feciniper: this.fechaInicioPermiso,
11561
+ fecfinper: this.fechaFinPermiso,
11562
+ numdiapero: this.numeroDiasPermiso,
11563
+ afevacper: +this.afectaVacaionesPermiso,
11564
+ tipper: +this.tipoPermiso,
11565
+ obsper: this.observacionPermiso,
11566
+ remper: +this.remuneradoPermiso,
11567
+ tothorper: this.totalHorasPermiso,
11568
+ desvacper: this.descontarVacaciones,
11569
+ codpermiso: this.codigoPermiso,
11570
+ id_enfermedad: this.idTipoEnfermedad.toString(),
11571
+ denenf: this.denominacionEnfermedad
11572
+ };
11573
+ };
11574
+ return MPermisos;
11575
+ }(MBasicModel));
11576
+
11577
+ var MCargaMasiva = /** @class */ (function (_super) {
11578
+ __extends(MCargaMasiva, _super);
11579
+ function MCargaMasiva(e) {
11580
+ if (e === void 0) { e = null; }
11581
+ var _this = _super.call(this) || this;
11582
+ _this.proceso = '';
11583
+ _this.id_nomina = 0;
11584
+ _this.tipo = '';
11585
+ _this.nombreArchivo = '';
11586
+ _this.base64textString = '';
11587
+ _this.modulo = '';
11588
+ if (e) {
11589
+ _this.proceso = e.proceso;
11590
+ _this.id_nomina = e.id_nomina;
11591
+ _this.tipo = e.tipo;
11592
+ _this.nombreArchivo = e.nombreArchivo;
11593
+ _this.base64textString = e.base64textString;
11594
+ _this.modulo = e.modulo;
11595
+ }
11596
+ else {
11597
+ _this.isNew;
11598
+ }
11599
+ return _this;
11600
+ }
11601
+ MCargaMasiva.prototype.dataInterface = function () {
11602
+ return {
11603
+ proceso: this.proceso,
11604
+ id_nomina: this.id_nomina,
11605
+ tipo: this.tipo,
11606
+ nombreArchivo: this.nombreArchivo,
11607
+ base64textString: this.base64textString,
11608
+ modulo: this.modulo
11609
+ };
11610
+ };
11611
+ return MCargaMasiva;
11612
+ }(MBasicModel));
11613
+
11614
+ var MPlantillasConstancia = /** @class */ (function (_super) {
11615
+ __extends(MPlantillasConstancia, _super);
11616
+ function MPlantillasConstancia(e) {
11617
+ if (e === void 0) { e = null; }
11618
+ var _this = _super.call(this) || this;
11619
+ _this.idConstancia = 0;
11620
+ _this.codigoConstancia = '';
11621
+ _this.descripcionConstancia = '';
11622
+ _this.plantillaRTF = '';
11623
+ _this.archivoConstancia = '';
11624
+ if (e) {
11625
+ _this.idConstancia = e.id_constancia;
11626
+ _this.codigoConstancia = e.codconstra;
11627
+ _this.descripcionConstancia = e.desconstra;
11628
+ _this.plantillaRTF = e.plantilla_rtf;
11629
+ _this.archivoConstancia = e.archivo;
11630
+ }
11631
+ else {
11632
+ _this.isNew = true;
11633
+ }
11634
+ return _this;
11635
+ }
11636
+ MPlantillasConstancia.prototype.dataInterface = function () {
11637
+ return {
11638
+ id_constancia: this.idConstancia,
11639
+ codconstra: this.codigoConstancia,
11640
+ desconstra: this.descripcionConstancia,
11641
+ plantilla_rtf: this.plantillaRTF,
11642
+ archivo: this.archivoConstancia
11643
+ };
11644
+ };
11645
+ return MPlantillasConstancia;
11646
+ }(MBasicModel));
11647
+
11648
+ var MImpuestoSobreRenta = /** @class */ (function (_super) {
11649
+ __extends(MImpuestoSobreRenta, _super);
11650
+ function MImpuestoSobreRenta(e) {
11651
+ var _this = _super.call(this) || this;
11652
+ _this.idEmpresa = 0;
11653
+ _this.idPersonal = 0;
11654
+ _this.idImpuestoSobreRenta = 0;
11655
+ _this.porcentajeIsr = 0;
11656
+ _this.idConcepto = 0;
11657
+ _this.enero = 0;
11658
+ _this.febrero = 0;
11659
+ _this.marzo = 0;
11660
+ _this.abril = 0;
11661
+ _this.mayo = 0;
11662
+ _this.junio = 0;
11663
+ _this.julio = 0;
11664
+ _this.agosto = 0;
11665
+ _this.septiembre = 0;
11666
+ _this.octubre = 0;
11667
+ _this.noviembre = 0;
11668
+ _this.diciembre = 0;
11669
+ _this.denominacionConcepto = '';
11670
+ if (e) {
11671
+ _this.idEmpresa = +e.id_empresa;
11672
+ _this.idPersonal = +e.id_personal;
11673
+ _this.idImpuestoSobreRenta = +e.id_isr;
11674
+ _this.porcentajeIsr = +e.porisr;
11675
+ _this.idConcepto = +e.id_conret;
11676
+ _this.enero = +e.enero;
11677
+ _this.febrero = +e.febrero;
11678
+ _this.marzo = +e.marzo;
11679
+ _this.abril = +e.abril;
11680
+ _this.mayo = +e.mayo;
11681
+ _this.junio = +e.junio;
11682
+ _this.julio = +e.julio;
11683
+ _this.agosto = +e.agosto;
11684
+ _this.septiembre = +e.septiembre;
11685
+ _this.octubre = +e.octubre;
11686
+ _this.noviembre = +e.noviembre;
11687
+ _this.diciembre = +e.diciembre;
11688
+ _this.denominacionConcepto = e.desact;
11689
+ }
11690
+ else {
11691
+ _this.isNew = true;
11692
+ }
11693
+ return _this;
11694
+ }
11695
+ MImpuestoSobreRenta.prototype.dataInterface = function () {
11696
+ return {
11697
+ id_empresa: this.idEmpresa,
11698
+ id_personal: this.idPersonal,
11699
+ id_isr: this.idImpuestoSobreRenta,
11700
+ porisr: this.porcentajeIsr,
11701
+ id_conret: this.idConcepto,
11702
+ enero: this.enero,
11703
+ febrero: this.febrero,
11704
+ marzo: this.marzo,
11705
+ abril: this.abril,
11706
+ mayo: this.mayo,
11707
+ junio: this.junio,
11708
+ julio: this.julio,
11709
+ agosto: this.agosto,
11710
+ septiembre: this.septiembre,
11711
+ octubre: this.octubre,
11712
+ noviembre: this.noviembre,
11713
+ diciembre: this.diciembre,
11714
+ desact: this.denominacionConcepto
11715
+ };
11716
+ };
11717
+ return MImpuestoSobreRenta;
11718
+ }(MBasicModel));
11719
+
11720
+ var MMetodoBanco = /** @class */ (function (_super) {
11721
+ __extends(MMetodoBanco, _super);
11722
+ function MMetodoBanco(e) {
11723
+ if (e === void 0) { e = null; }
11724
+ var _this = _super.call(this) || this;
11725
+ _this.idEmpresa = 0;
11726
+ _this.idMetodoBanco = 0;
11727
+ _this.id = 0;
11728
+ _this.codigoMetodo = '';
11729
+ _this.denominacionMetodo = '';
11730
+ _this.tipoMetodo = '';
11731
+ _this.codigoEmpresaNominal = '';
11732
+ _this.tipoCuentaCreditoNominal = '';
11733
+ _this.tipoCuentaDebitoNominal = '';
11734
+ _this.codigoOficinaNomina = '';
11735
+ _this.pagoTaquillaNomina = 0;
11736
+ _this.numeroReferencia = 0;
11737
+ _this.numeroConvenio = '';
11738
+ _this.activo = 0;
11739
+ if (e) {
11740
+ _this.idEmpresa = parseInt(e.id_empresa);
11741
+ _this.idMetodoBanco = parseInt(e.id_metbco);
11742
+ _this.codigoMetodo = e.codmet;
11743
+ _this.denominacionMetodo = e.denmet;
11744
+ _this.tipoMetodo = e.tipmet;
11745
+ _this.id = parseInt(e.id_banco);
11746
+ _this.codigoEmpresaNominal = e.codempnom;
11747
+ _this.tipoCuentaCreditoNominal = e.tipcuecrenom;
11748
+ _this.tipoCuentaDebitoNominal = e.tipcuedebnom;
11749
+ _this.codigoOficinaNomina = e.codofinom;
11750
+ _this.pagoTaquillaNomina = parseInt(e.pagtaqnom);
11751
+ _this.numeroReferencia = parseInt(e.nroref);
11752
+ _this.activo = parseInt(e.activo);
11753
+ _this.numeroConvenio = e.numconnom;
11754
+ }
11755
+ else {
11756
+ _this.isNew = true;
11757
+ }
11758
+ return _this;
11759
+ }
11760
+ MMetodoBanco.prototype.dataInterface = function () {
11761
+ return {
11762
+ id_empresa: this.idEmpresa.toString(),
11763
+ id_metbco: this.idMetodoBanco.toString(),
11764
+ codmet: this.codigoMetodo,
11765
+ denmet: this.denominacionMetodo,
11766
+ tipmet: this.tipoMetodo,
11767
+ id_banco: this.id.toString(),
11768
+ codempnom: this.codigoEmpresaNominal,
11769
+ tipcuecrenom: this.tipoCuentaCreditoNominal,
11770
+ tipcuedebnom: this.tipoCuentaDebitoNominal,
11771
+ codofinom: this.codigoOficinaNomina,
11772
+ pagtaqnom: this.pagoTaquillaNomina.toString(),
11773
+ nroref: this.numeroReferencia.toString(),
11774
+ activo: this.activo.toString(),
11775
+ numconnom: this.numeroConvenio,
11776
+ };
11777
+ };
11778
+ return MMetodoBanco;
11779
+ }(MBasicModel));
11780
+ var MMetodos = /** @class */ (function (_super) {
11781
+ __extends(MMetodos, _super);
11782
+ function MMetodos(e) {
11783
+ if (e === void 0) { e = null; }
11784
+ var _this = _super.call(this) || this;
11785
+ _this.idEmpresa = 0;
11786
+ _this.idMetodo = 0;
11787
+ _this.codigoMetodo = '';
11788
+ _this.denominacionMetodo = '';
11789
+ _this.montoMetodo = 0;
11790
+ _this.metodoCestaTicket = '';
11791
+ _this.codigoProducto = '';
11792
+ _this.montoDescuentoDia = 0;
11793
+ _this.numeroTarjeta = '';
11794
+ if (e) {
11795
+ _this.idEmpresa = parseInt(e.id_empresa);
11796
+ _this.idMetodo = parseInt(e.id_metodo);
11797
+ _this.codigoMetodo = e.codmet;
11798
+ _this.denominacionMetodo = e.denmet;
11799
+ _this.montoMetodo = +e.monmet;
11800
+ _this.metodoCestaTicket = e.metcestic;
11801
+ _this.codigoProducto = e.codprod;
11802
+ _this.montoDescuentoDia = +e.mondesdia;
11803
+ _this.numeroTarjeta = e.nrotarjeta;
11804
+ }
11805
+ else {
11806
+ _this.isNew = true;
11807
+ }
11808
+ return _this;
11809
+ }
11810
+ MMetodos.prototype.dataInterface = function () {
11811
+ return {
11812
+ id_empresa: this.idEmpresa.toString(),
11813
+ id_metodo: this.idMetodo.toString(),
11814
+ codmet: this.codigoMetodo,
11815
+ denmet: this.denominacionMetodo,
11816
+ monmet: this.montoMetodo,
11817
+ metcestic: this.metodoCestaTicket,
11818
+ codprod: this.codigoProducto,
11819
+ mondesdia: this.montoDescuentoDia,
11820
+ nrotarjeta: this.numeroTarjeta,
11821
+ };
11822
+ };
11823
+ return MMetodos;
11824
+ }(MBasicModel));
11825
+
11826
+ var MPeriodosPlan = /** @class */ (function (_super) {
11827
+ __extends(MPeriodosPlan, _super);
11828
+ function MPeriodosPlan(e) {
11829
+ if (e === void 0) { e = null; }
11830
+ var _this = _super.call(this) || this;
11831
+ _this.idEmpresa = 0;
11832
+ _this.idPlanHorario = 0;
11833
+ _this.codigoPeriodoPlan = '';
11834
+ _this.denominacionPeriodoPlan = '';
11835
+ _this.fechaPeriodoPlan = '1900-01-01';
11836
+ _this.idPeriodo = 0;
11837
+ _this.codigoPeriodo = '';
11838
+ _this.idHorario = 0;
11839
+ _this.incidencias = '';
11840
+ _this.idDetalle = 0;
11841
+ if (e) {
11842
+ _this.idEmpresa = +e.id_empresa;
11843
+ _this.idPlanHorario = +e.id_planhor;
11844
+ _this.codigoPeriodo = e.codperplan;
11845
+ _this.denominacionPeriodoPlan = e.denperplan;
11846
+ _this.fechaPeriodoPlan = e.fecperplan;
11847
+ _this.idPeriodo = +e.id_periodo;
11848
+ _this.codigoPeriodo = e.codperi;
11849
+ _this.idHorario = +e.id_hora;
11850
+ _this.incidencias = e.incidencias;
11851
+ _this.idDetalle = +e.id_detalle;
11852
+ }
11853
+ else {
11854
+ _this.isNew = true;
11855
+ }
11856
+ return _this;
11857
+ }
11858
+ MPeriodosPlan.prototype.dataInterface = function () {
11859
+ return {
11860
+ id_empresa: this.idEmpresa.toString(),
11861
+ id_planhor: this.idPlanHorario.toString(),
11862
+ codperplan: this.codigoPeriodoPlan,
11863
+ denperplan: this.denominacionPeriodoPlan,
11864
+ fecperplan: this.fechaPeriodoPlan,
11865
+ id_periodo: this.idPeriodo.toString(),
11866
+ codperi: this.codigoPeriodo,
11867
+ id_hora: this.idHorario.toString(),
11868
+ incidencias: this.incidencias,
11869
+ id_detalle: this.idDetalle.toString(),
11870
+ };
11871
+ };
11872
+ return MPeriodosPlan;
11873
+ }(MBasicModel));
11874
+
11875
+ var MPrestamo = /** @class */ (function (_super) {
11876
+ __extends(MPrestamo, _super);
11877
+ function MPrestamo(e) {
11878
+ if (e === void 0) { e = null; }
11879
+ var _this = _super.call(this) || this;
11880
+ _this.idEmpresa = 0;
11881
+ _this.idPersonal = 0;
11882
+ _this.idPrestamo = 0;
11883
+ _this.numeroPrestamo = 0;
11884
+ _this.idTipoPrestamo = 0;
11885
+ _this.idNomina = 0;
11886
+ _this.idConcepto = 0;
11887
+ _this.montoPrestamo = 0;
11888
+ _this.numeroCuotasPrestamo = 0;
11889
+ _this.idPeriodo = 0;
11890
+ _this.motoAmortizacionPrestamo = 0;
11891
+ _this.estatusPrestamo = 1;
11892
+ _this.fechaPrestamo = '1900-01-01';
11893
+ _this.observacionRecalculoPrestamo = '';
11894
+ _this.observacionSuspencionPrestamo = '';
11895
+ _this.tipoCuota = '0';
11896
+ _this.denominacionTipoPrestamo = '';
11897
+ _this.codigoTipoPrestamo = '';
11898
+ _this.denominacionNomina = '';
11899
+ _this.codigoNomina = '';
11900
+ _this.denominacionConcepto = '';
11901
+ _this.codigoConcepto = '';
11902
+ _this.codigoPeriodo = '';
11903
+ _this.fechaFinPeriodo = '1900-01-01';
11904
+ _this.montoCuotaPrestamo = 0;
11905
+ _this.saldoPrestamo = 0;
11906
+ _this.numeroPeriodoNomina = 0;
11907
+ _this.periodos = [];
11908
+ _this.amortizacion = [];
11909
+ if (e) {
11910
+ _this.idEmpresa = +e.id_empresa;
11911
+ _this.idPrestamo = +e.id_prestamo;
11912
+ _this.idPersonal = +e.id_personal;
11913
+ _this.numeroPrestamo = +e.numpre;
11914
+ _this.idTipoPrestamo = +e.id_tipoprestamo;
11915
+ _this.idNomina = +e.id_nomina;
11916
+ _this.idConcepto = +e.id_concepto;
11917
+ _this.montoPrestamo = +e.monpre;
11918
+ _this.numeroCuotasPrestamo = +e.numcuopre;
11919
+ _this.idPeriodo = +e.id_periodo;
11920
+ _this.motoAmortizacionPrestamo = +e.monamopre;
11921
+ _this.estatusPrestamo = +e.estpre;
11922
+ _this.fechaPrestamo = e.fecpre;
11923
+ _this.observacionRecalculoPrestamo = e.obsrecpre;
11924
+ _this.observacionSuspencionPrestamo = e.obssuspre;
11925
+ _this.tipoCuota = e.tipcuopre;
11926
+ _this.denominacionTipoPrestamo = e.destippre;
11927
+ _this.codigoTipoPrestamo = e.codtippre;
11928
+ _this.denominacionNomina = e.dennom;
11929
+ _this.codigoNomina = e.codnom;
11930
+ _this.denominacionConcepto = e.nomcon;
11931
+ _this.codigoConcepto = e.codconc;
11932
+ _this.codigoPeriodo = e.codperi;
11933
+ _this.fechaFinPeriodo = e.fechasper;
11934
+ _this.numeroPeriodoNomina = +e.numpernom;
11935
+ _this.periodos = e.periodos.map(function (e) { return new MPrestamosPeriodo(e); });
11936
+ _this.amortizacion = e.amortizacion.map(function (e) { return new MPrestamoAmortizacion(e); });
11937
+ _this.montoCuotaPrestamo = _this.calcularCuotas();
11938
+ _this.saldoPrestamo = _this.calcularSaldo();
11939
+ }
11940
+ else {
11941
+ _this.isNew = true;
11942
+ }
11943
+ return _this;
11944
+ }
11945
+ MPrestamo.prototype.dataInterface = function () {
11946
+ return {
11947
+ id_empresa: this.idEmpresa,
11948
+ id_personal: this.idPersonal,
11949
+ id_prestamo: this.idPrestamo,
11950
+ numpre: this.numeroPrestamo,
11951
+ id_tipoprestamo: this.idTipoPrestamo,
11952
+ id_nomina: this.idNomina,
11953
+ id_concepto: this.idConcepto,
11954
+ monpre: this.montoPrestamo,
11955
+ numcuopre: this.numeroCuotasPrestamo,
11956
+ id_periodo: this.idPeriodo,
11957
+ monamopre: this.motoAmortizacionPrestamo,
11958
+ estpre: this.estatusPrestamo,
11959
+ fecpre: this.fechaPrestamo,
11960
+ obsrecpre: this.observacionRecalculoPrestamo,
11961
+ obssuspre: this.observacionSuspencionPrestamo,
11962
+ tipcuopre: this.tipoCuota,
11963
+ dennom: this.denominacionNomina,
11964
+ codnom: this.codigoNomina,
11965
+ destippre: this.denominacionTipoPrestamo,
11966
+ codtippre: this.codigoTipoPrestamo,
11967
+ nomcon: this.denominacionConcepto,
11968
+ codconc: this.codigoConcepto,
11969
+ codperi: this.codigoPeriodo,
11970
+ fechasper: this.fechaFinPeriodo,
11971
+ numpernom: this.numeroPeriodoNomina,
11972
+ periodos: this.periodos.map((function (e) { return e.dataInterface(); })),
11973
+ amortizacion: this.amortizacion.map((function (e) { return e.dataInterface(); }))
11974
+ };
11975
+ };
11976
+ MPrestamo.prototype.calcularCuotas = function () {
11977
+ var i = this.periodos.length - 1;
11978
+ if (i > 0) {
11979
+ return this.periodos[i].montoCuota;
11980
+ }
11981
+ return 0;
11982
+ };
11983
+ MPrestamo.prototype.calcularSaldo = function () {
11984
+ var montoPago = 0;
11985
+ this.periodos.forEach(function (element) {
11986
+ if (element.estatusCuota == 1) {
11987
+ montoPago = montoPago + element.montoCuota;
11988
+ }
11989
+ });
11990
+ return this.montoPrestamo - this.motoAmortizacionPrestamo - montoPago;
11991
+ };
11992
+ MPrestamo.prototype.cuotasCanceladas = function () {
11993
+ var cuotas = 0;
11994
+ this.periodos.forEach(function (element) {
11995
+ if (element.estatusCuota == 1) {
11996
+ cuotas = cuotas + 1;
11997
+ }
11998
+ });
11999
+ return cuotas;
12000
+ };
12001
+ return MPrestamo;
12002
+ }(MBasicModel));
12003
+ var MPrestamosPeriodo = /** @class */ (function (_super) {
12004
+ __extends(MPrestamosPeriodo, _super);
12005
+ function MPrestamosPeriodo(e) {
12006
+ var _this = _super.call(this) || this;
12007
+ _this.idEmpresa = 0;
12008
+ _this.idPersonal = 0;
12009
+ _this.idPrestamo = 0;
12010
+ _this.numeroCuota = 0;
12011
+ _this.idPeriodo = 0;
12012
+ _this.fechaInicioPeriodo = '';
12013
+ _this.fechaFinPeriodo = '';
12014
+ _this.montoCuota = 0;
12015
+ _this.estatusCuota = 0;
12016
+ if (e) {
12017
+ _this.idEmpresa = +e.id_empresa;
12018
+ _this.idPersonal = +e.id_personal;
12019
+ _this.idPrestamo = +e.id_prestamo;
12020
+ _this.numeroCuota = +e.numcuo;
12021
+ _this.idPeriodo = +e.id_periodocob;
12022
+ _this.fechaInicioPeriodo = e.feciniper;
12023
+ _this.fechaFinPeriodo = e.fecfinper;
12024
+ _this.montoCuota = +e.moncuo;
12025
+ _this.estatusCuota = +e.estcuo;
12026
+ _this.codigoPeriodo = e.codperipre;
12027
+ _this.denominacionEstatus = _this.denominacion();
12028
+ }
12029
+ else {
12030
+ _this.isNew = true;
12031
+ }
12032
+ return _this;
12033
+ }
12034
+ MPrestamosPeriodo.prototype.dataInterface = function () {
12035
+ return {
12036
+ id_empresa: this.idEmpresa,
12037
+ id_personal: this.idPersonal,
12038
+ id_prestamo: this.idPrestamo,
12039
+ numcuo: this.numeroCuota,
12040
+ id_periodocob: this.idPeriodo,
12041
+ feciniper: this.fechaInicioPeriodo,
12042
+ fecfinper: this.fechaFinPeriodo,
12043
+ moncuo: this.montoCuota,
12044
+ estcuo: this.estatusCuota,
12045
+ codperipre: this.codigoPeriodo
12046
+ };
12047
+ };
12048
+ MPrestamosPeriodo.prototype.denominacion = function () {
12049
+ if (this.estatusCuota == 1) {
12050
+ return 'Cancelado';
12051
+ }
12052
+ else
12053
+ return 'No Cancelado';
12054
+ };
12055
+ return MPrestamosPeriodo;
12056
+ }(MBasicModel));
12057
+ var MPrestamoAmortizacion = /** @class */ (function (_super) {
12058
+ __extends(MPrestamoAmortizacion, _super);
12059
+ function MPrestamoAmortizacion(e) {
12060
+ var _this = _super.call(this) || this;
12061
+ _this.idEmpresa = 0;
12062
+ _this.idPersonal = 0;
12063
+ _this.idPrestamo = 0;
12064
+ _this.numeroAmortizacion = 0;
12065
+ _this.idPeriodoAmortizacion = 0;
12066
+ _this.fecchaAmortizacion = '1900-01-01';
12067
+ _this.montoAmortizacion = 0;
12068
+ _this.descripcionAmortizacion = '';
12069
+ if (e) {
12070
+ _this.idEmpresa = +e.id_empresa;
12071
+ _this.idPersonal = +e.id_personal;
12072
+ _this.idPrestamo = +e.id_prestamo;
12073
+ _this.numeroAmortizacion = +e.numamo;
12074
+ _this.idPeriodoAmortizacion = +e.id_periodoamo;
12075
+ _this.fecchaAmortizacion = e.fecamo;
12076
+ _this.montoAmortizacion = +e.monamo;
12077
+ _this.descripcionAmortizacion = e.desamo;
12078
+ }
12079
+ return _this;
12080
+ }
12081
+ MPrestamoAmortizacion.prototype.dataInterface = function () {
12082
+ return {
12083
+ id_empresa: this.idEmpresa,
12084
+ id_personal: this.idPersonal,
12085
+ id_prestamo: this.idPrestamo,
12086
+ numamo: this.numeroAmortizacion,
12087
+ id_periodoamo: this.idPeriodoAmortizacion,
12088
+ fecamo: this.fecchaAmortizacion,
12089
+ monamo: this.montoAmortizacion,
12090
+ desamo: this.descripcionAmortizacion,
12091
+ };
12092
+ };
12093
+ return MPrestamoAmortizacion;
12094
+ }(MBasicModel));
12095
+
12096
+ var MRConsolidadoConceptos = /** @class */ (function (_super) {
12097
+ __extends(MRConsolidadoConceptos, _super);
12098
+ function MRConsolidadoConceptos(e) {
12099
+ if (e === void 0) { e = null; }
12100
+ var _this = _super.call(this) || this;
12101
+ _this.idNominaDes = 0;
12102
+ _this.idNominaHas = 0;
12103
+ _this.codigoNominaDes = "";
12104
+ _this.codigoNominaHas = "";
12105
+ _this.idPersonalDes = 0;
12106
+ _this.idPersonalHas = 0;
12107
+ _this.codigoPersonalDes = "";
12108
+ _this.codigoPersonalHas = "";
12109
+ _this.ordenDesde = 0;
12110
+ _this.ordenHasta = 0;
12111
+ _this.idConceptoDes = 0;
12112
+ _this.idConceptoHas = 0;
12113
+ _this.codigoConceptoDes = "";
12114
+ _this.codigoConceptoHas = "";
12115
+ _this.tipoConcepto = "";
12116
+ _this.idPeriodoDes = 0;
12117
+ _this.idPeriodoHas = 0;
12118
+ _this.codidoPeriodoDes = "";
12119
+ _this.codidoPeriodoHas = "";
12120
+ _this.annocurso = 0;
12121
+ _this.orden = "1";
12122
+ _this.reporte = "";
12123
+ if (e) {
12124
+ _this.idNominaDes = e.id_nominaDes;
12125
+ _this.idNominaHas = e.id_nominaHas;
12126
+ _this.codigoNominaDes = e.codnomDes;
12127
+ _this.codigoNominaHas = e.codnomHas;
12128
+ _this.idPersonalDes = e.id_personalDes;
12129
+ _this.idPersonalHas = e.id_personalHas;
12130
+ _this.codigoPersonalDes = e.codperDes;
12131
+ _this.codigoPersonalHas = e.codperHas;
12132
+ _this.ordenDesde = e.ordenDesde;
12133
+ _this.ordenHasta = e.ordenHasta;
12134
+ _this.idConceptoDes = e.id_conceptoDes;
12135
+ _this.idConceptoHas = e.id_conceptoHas;
12136
+ _this.codigoConceptoDes = e.codconcDes;
12137
+ _this.codigoConceptoHas = e.codconcHas;
12138
+ _this.tipoConcepto = e.tipconc;
12139
+ _this.idPeriodoDes = e.id_periodoDes;
12140
+ _this.idPeriodoHas = e.id_periodoHas;
12141
+ _this.codidoPeriodoDes = e.codperiDes;
12142
+ _this.codidoPeriodoHas = e.codperiHas;
12143
+ _this.annocurso = e.anocur;
12144
+ _this.orden = e.orden;
12145
+ _this.reporte = e.reporte;
12146
+ }
12147
+ else {
12148
+ _this.isNew = true;
12149
+ }
12150
+ return _this;
12151
+ }
12152
+ MRConsolidadoConceptos.prototype.dataInterface = function () {
12153
+ return {
12154
+ id_nominaDes: this.idNominaDes,
12155
+ id_nominaHas: this.idNominaHas,
12156
+ codnomDes: this.codigoNominaDes,
12157
+ codnomHas: this.codigoNominaHas,
12158
+ id_personalDes: this.idPersonalDes,
12159
+ id_personalHas: this.idPersonalHas,
12160
+ codperDes: this.codigoPersonalDes,
12161
+ codperHas: this.codigoPersonalHas,
12162
+ ordenDesde: this.ordenDesde,
12163
+ ordenHasta: this.ordenHasta,
12164
+ id_conceptoDes: this.idConceptoDes,
12165
+ id_conceptoHas: this.idConceptoHas,
12166
+ codconcDes: this.codigoConceptoDes,
12167
+ codconcHas: this.codigoConceptoHas,
12168
+ tipconc: this.tipoConcepto,
12169
+ id_periodoDes: this.idPeriodoDes,
12170
+ id_periodoHas: this.idPeriodoHas,
12171
+ codperiDes: this.codidoPeriodoDes,
12172
+ codperiHas: this.codidoPeriodoHas,
12173
+ anocur: this.annocurso,
12174
+ orden: this.orden,
12175
+ reporte: this.reporte
12176
+ };
12177
+ };
12178
+ return MRConsolidadoConceptos;
12179
+ }(MBasicModel));
12180
+ var MRConstanciaTrabajo = /** @class */ (function (_super) {
12181
+ __extends(MRConstanciaTrabajo, _super);
12182
+ function MRConstanciaTrabajo(e) {
12183
+ if (e === void 0) { e = null; }
12184
+ var _this = _super.call(this) || this;
12185
+ _this.id_constancia = 0;
12186
+ _this.codigoconstancia = '';
12187
+ _this.plantilla_rtf = '';
12188
+ _this.archivo = '';
12189
+ _this.id_nomina = 0;
12190
+ _this.codigonomina = '';
12191
+ _this.id_personalDes = 0;
12192
+ _this.id_personalHas = 0;
12193
+ _this.codigopersonalDes = '';
12194
+ _this.codigopersonalHas = '';
12195
+ _this.orden = '1';
12196
+ if (e) {
12197
+ _this.id_constancia = e.id_constancia;
12198
+ _this.codigoconstancia = e.codconstra;
12199
+ _this.plantilla_rtf = e.plantilla_rtf;
12200
+ _this.archivo = e.archivo;
12201
+ _this.id_nomina = e.id_nomina;
12202
+ _this.codigonomina = e.codnom;
12203
+ _this.id_personalDes = e.id_personalDes;
12204
+ _this.id_personalHas = e.id_personalHas;
12205
+ _this.codigopersonalDes = e.codperDes;
12206
+ _this.codigopersonalHas = e.codperHas;
12207
+ _this.orden = e.orden;
12208
+ }
12209
+ else {
12210
+ _this.isNew = true;
12211
+ }
12212
+ return _this;
12213
+ }
12214
+ MRConstanciaTrabajo.prototype.dataInterface = function () {
12215
+ return {
12216
+ id_constancia: this.id_constancia,
12217
+ codconstra: this.codigoconstancia,
12218
+ plantilla_rtf: this.plantilla_rtf,
12219
+ archivo: this.archivo,
12220
+ id_nomina: this.id_nomina,
12221
+ codnom: this.codigonomina,
12222
+ id_personalDes: this.id_personalDes,
12223
+ id_personalHas: this.id_personalHas,
12224
+ codperDes: this.codigopersonalDes,
12225
+ codperHas: this.codigopersonalHas,
12226
+ orden: this.orden,
12227
+ };
12228
+ };
12229
+ return MRConstanciaTrabajo;
12230
+ }(MBasicModel));
12231
+ var MRArchivoTXT = /** @class */ (function (_super) {
12232
+ __extends(MRArchivoTXT, _super);
12233
+ function MRArchivoTXT(e) {
12234
+ if (e === void 0) { e = null; }
12235
+ var _this = _super.call(this) || this;
12236
+ _this.nombrearchivo = '';
12237
+ if (e) {
12238
+ _this.nombrearchivo = e.nombrearchivo;
12239
+ }
12240
+ else {
12241
+ _this.isNew = true;
12242
+ }
12243
+ return _this;
12244
+ }
12245
+ MRArchivoTXT.prototype.dataInterface = function () {
12246
+ return {
12247
+ nombrearchivo: this.nombrearchivo
12248
+ };
12249
+ };
12250
+ return MRArchivoTXT;
12251
+ }(MBasicModel));
12252
+ var MRListadoPersonal = /** @class */ (function (_super) {
12253
+ __extends(MRListadoPersonal, _super);
12254
+ function MRListadoPersonal(e) {
12255
+ if (e === void 0) { e = null; }
12256
+ var _this = _super.call(this) || this;
12257
+ _this.idNominaDes = 0;
12258
+ _this.idNominaHas = 0;
12259
+ _this.codigoNominaDes = "";
12260
+ _this.codigoNominaHas = "";
12261
+ _this.denominacionNominaDes = "";
12262
+ _this.denominacionNominaHas = "";
12263
+ _this.id_personalDes = 0;
12264
+ _this.id_personalHas = 0;
12265
+ _this.codigoPersonalDes = "";
12266
+ _this.codigoPersonalHas = "";
12267
+ _this.nombrePersonalDes = "";
12268
+ _this.nombrePersonalHas = "";
12269
+ _this.estatusPersonal = 1;
12270
+ _this.causaEgresoPer = "";
12271
+ _this.sexo = "";
12272
+ _this.codigoPais = "000058";
12273
+ _this.codigoEstado = "";
12274
+ _this.codigoMunicipio = "";
12275
+ _this.codigoParroquia = "";
12276
+ _this.nombrePais = "Venezuela";
12277
+ _this.nombreEstado = "";
12278
+ _this.nombreMunicipio = "";
12279
+ _this.nombreParroquia = "";
12280
+ _this.statusPersonalNomina = "";
12281
+ _this.fechaDesde = "";
12282
+ _this.fechaHasta = "";
12283
+ _this.orden = "1";
12284
+ _this.reporte = "";
12285
+ if (e) {
12286
+ _this.idNominaDes = e.id_nominaDes;
12287
+ _this.idNominaHas = e.id_nominaHas;
12288
+ _this.codigoNominaDes = e.codnomDes;
12289
+ _this.codigoNominaHas = e.codnomHas;
12290
+ _this.denominacionNominaDes = e.dennomDes;
12291
+ _this.denominacionNominaHas = e.dennomHas;
12292
+ _this.id_personalDes = e.id_personalDes;
12293
+ _this.id_personalHas = e.id_personalHas;
12294
+ _this.codigoPersonalDes = e.codperDes;
12295
+ _this.codigoPersonalHas = e.codperHas;
12296
+ _this.nombrePersonalDes = e.nomperDes;
12297
+ _this.nombrePersonalHas = e.nomperHas;
12298
+ _this.estatusPersonal = e.estper;
12299
+ _this.causaEgresoPer = e.cauegrper;
12300
+ _this.sexo = e.sexper;
12301
+ _this.codigoPais = e.codpai;
12302
+ _this.codigoEstado = e.codest;
12303
+ _this.codigoMunicipio = e.codmun;
12304
+ _this.codigoParroquia = e.codpar;
12305
+ _this.nombrePais = e.despai;
12306
+ _this.nombreEstado = e.desest;
12307
+ _this.nombreMunicipio = e.desmun;
12308
+ _this.nombreParroquia = e.despar;
12309
+ _this.statusPersonalNomina = e.staper;
12310
+ _this.fechaDesde = e.fechaDes;
12311
+ _this.fechaHasta = e.fechaHas;
12312
+ _this.orden = e.orden;
12313
+ _this.reporte = e.reporte;
12314
+ }
12315
+ else {
12316
+ _this.isNew = true;
12317
+ }
12318
+ return _this;
12319
+ }
12320
+ MRListadoPersonal.prototype.dataInterface = function () {
12321
+ return {
12322
+ id_nominaDes: this.idNominaDes,
12323
+ id_nominaHas: this.idNominaHas,
12324
+ codnomDes: this.codigoNominaDes,
12325
+ codnomHas: this.codigoNominaHas,
12326
+ dennomDes: this.denominacionNominaDes,
12327
+ dennomHas: this.denominacionNominaHas,
12328
+ id_personalDes: this.id_personalDes,
12329
+ id_personalHas: this.id_personalHas,
12330
+ codperDes: this.codigoPersonalDes,
12331
+ codperHas: this.codigoPersonalHas,
12332
+ nomperDes: this.nombrePersonalDes,
12333
+ nomperHas: this.nombrePersonalHas,
12334
+ estper: this.estatusPersonal,
12335
+ cauegrper: this.causaEgresoPer,
12336
+ sexper: this.sexo,
12337
+ codpai: this.codigoPais,
12338
+ codest: this.codigoEstado,
12339
+ codmun: this.codigoMunicipio,
12340
+ codpar: this.codigoParroquia,
12341
+ despai: this.nombrePais,
12342
+ desest: this.nombreEstado,
12343
+ desmun: this.nombreMunicipio,
12344
+ despar: this.nombreParroquia,
12345
+ staper: this.statusPersonalNomina,
12346
+ fechaDes: this.fechaDesde,
12347
+ fechaHas: this.fechaHasta,
12348
+ orden: this.orden,
12349
+ reporte: this.reporte
12350
+ };
12351
+ };
12352
+ return MRListadoPersonal;
12353
+ }(MBasicModel));
12354
+ var MRListadoSindicato = /** @class */ (function (_super) {
12355
+ __extends(MRListadoSindicato, _super);
12356
+ function MRListadoSindicato(e) {
12357
+ if (e === void 0) { e = null; }
12358
+ var _this = _super.call(this) || this;
12359
+ _this.idSindicatoDes = 0;
12360
+ _this.idSindicatoHas = 0;
12361
+ _this.codigoSindicatoDes = '';
12362
+ _this.codigoSindicatoHas = '';
12363
+ _this.reporte = '';
12364
+ if (e) {
12365
+ _this.idSindicatoDes = e.id_sindicatoDes;
12366
+ _this.idSindicatoHas = e.id_sindicatoHas;
12367
+ _this.codigoSindicatoDes = e.codSindicatoDes;
12368
+ _this.codigoSindicatoHas = e.codSindicatoHas;
12369
+ _this.reporte = e.reporte;
12370
+ }
12371
+ else {
12372
+ _this.isNew = true;
12373
+ }
12374
+ return _this;
12375
+ }
12376
+ MRListadoSindicato.prototype.dataInterface = function () {
12377
+ return {
12378
+ id_sindicatoDes: this.idSindicatoDes,
12379
+ id_sindicatoHas: this.idSindicatoHas,
12380
+ codSindicatoDes: this.codigoSindicatoDes,
12381
+ codSindicatoHas: this.codigoSindicatoHas,
12382
+ reporte: this.reporte,
12383
+ };
12384
+ };
12385
+ return MRListadoSindicato;
12386
+ }(MBasicModel));
12387
+ var MRListadoTipoPersonal = /** @class */ (function (_super) {
12388
+ __extends(MRListadoTipoPersonal, _super);
12389
+ function MRListadoTipoPersonal(e) {
12390
+ if (e === void 0) { e = null; }
12391
+ var _this = _super.call(this) || this;
12392
+ _this.idUbicacionFisica = 0;
12393
+ _this.codigoUbicacionFisica = "";
12394
+ _this.denominacionUbicacionFisica = "";
12395
+ _this.codigoPais = '000058';
12396
+ _this.nombrePais = 'Venezuela';
12397
+ _this.codigoEstado = '---';
12398
+ _this.nombreEstado = '';
12399
+ _this.codigoMunicipio = '---';
12400
+ _this.nombreMunicipio = '';
12401
+ _this.codigoParroquia = '---';
12402
+ _this.nombreParroquia = '';
12403
+ _this.reporte = '';
12404
+ _this.estatusPersonal = '';
12405
+ _this.idOrganigrama = 0;
12406
+ _this.codigoEstOrganizativa = '';
12407
+ _this.denominacionEstOrganizativa = '';
12408
+ _this.orden = '1';
12409
+ if (e) {
12410
+ _this.idUbicacionFisica = e.id_ubifis;
12411
+ _this.codigoUbicacionFisica = e.codubifis;
12412
+ _this.denominacionUbicacionFisica = e.denubifis;
12413
+ _this.codigoPais = '000058';
12414
+ _this.nombrePais = 'Venezuela';
12415
+ _this.codigoEstado = e.codest;
12416
+ _this.nombreEstado = e.desest;
12417
+ _this.codigoMunicipio = e.codmun;
12418
+ _this.nombreMunicipio = e.desmun;
12419
+ _this.codigoParroquia = e.codpar;
12420
+ _this.nombreParroquia = e.despar;
12421
+ _this.estatusPersonal = e.estper;
12422
+ _this.idOrganigrama = e.id_organigrama;
12423
+ _this.codigoEstOrganizativa = e.codestorg;
12424
+ _this.denominacionEstOrganizativa = e.denestorg;
12425
+ _this.reporte = e.reporte;
12426
+ _this.orden = e.orden;
12427
+ }
12428
+ else {
12429
+ _this.isNew = true;
12430
+ }
12431
+ return _this;
12432
+ }
12433
+ MRListadoTipoPersonal.prototype.dataInterface = function () {
12434
+ return {
12435
+ id_ubifis: this.idUbicacionFisica,
12436
+ codubifis: this.codigoUbicacionFisica,
12437
+ denubifis: this.denominacionUbicacionFisica,
12438
+ codpai: this.codigoPais,
12439
+ despai: this.nombrePais,
12440
+ codest: this.codigoEstado,
12441
+ desest: this.nombreEstado,
12442
+ codmun: this.codigoMunicipio,
12443
+ desmun: this.nombreMunicipio,
12444
+ codpar: this.codigoParroquia,
12445
+ despar: this.nombreParroquia,
12446
+ estper: this.estatusPersonal,
12447
+ id_organigrama: this.idOrganigrama,
12448
+ codestorg: this.codigoEstOrganizativa,
12449
+ denestorg: this.denominacionEstOrganizativa,
12450
+ reporte: this.reporte,
12451
+ orden: this.orden
12452
+ };
12453
+ };
12454
+ return MRListadoTipoPersonal;
12455
+ }(MBasicModel));
12456
+ var MRPeriodo = /** @class */ (function (_super) {
12457
+ __extends(MRPeriodo, _super);
12458
+ function MRPeriodo(e) {
12459
+ if (e === void 0) { e = null; }
12460
+ var _this = _super.call(this) || this;
12461
+ _this.idPeriodo = 0;
12462
+ _this.codigoPeriodo = '';
12463
+ _this.fechaDesdePeriodo = '1900-01-01';
12464
+ _this.fechaHastaperiodo = '1900-01-01';
12465
+ if (e) {
12466
+ _this.idPeriodo = parseInt(e.id_periodo);
12467
+ _this.codigoPeriodo = e.codperi;
12468
+ _this.fechaDesdePeriodo = e.fecdesper;
12469
+ _this.fechaHastaperiodo = e.fechasper;
12470
+ }
12471
+ else {
12472
+ _this.isNew = true;
12473
+ }
12474
+ return _this;
12475
+ }
12476
+ MRPeriodo.prototype.dataInterface = function () {
12477
+ return {
12478
+ id_periodo: this.idPeriodo.toString(),
12479
+ codperi: this.codigoPeriodo,
12480
+ fecdesper: this.fechaDesdePeriodo,
12481
+ fechasper: this.fechaHastaperiodo
12482
+ };
12483
+ };
12484
+ return MRPeriodo;
12485
+ }(MBasicModel));
12486
+ var MRRetenciones = /** @class */ (function (_super) {
12487
+ __extends(MRRetenciones, _super);
12488
+ function MRRetenciones(e) {
12489
+ if (e === void 0) { e = null; }
12490
+ var _this = _super.call(this) || this;
12491
+ _this.id_nomina = 0;
12492
+ _this.codigonomina = '';
12493
+ _this.id_personalDes = 0;
12494
+ _this.id_personalHas = 0;
12495
+ _this.codigopersonalDes = "";
12496
+ _this.codigopersonalHas = "";
12497
+ _this.annocurso = "";
12498
+ _this.reporte = "";
12499
+ if (e) {
12500
+ _this.id_nomina = e.id_nomina;
12501
+ _this.codigonomina = e.codnom;
12502
+ _this.id_personalDes = e.id_personalDes;
12503
+ _this.id_personalHas = e.id_personalHas;
12504
+ _this.codigopersonalDes = e.codperDes;
12505
+ _this.codigopersonalHas = e.codperHas;
12506
+ _this.annocurso = e.annocurso;
12507
+ _this.reporte = e.reporte;
12508
+ }
12509
+ else {
12510
+ _this.isNew = true;
12511
+ }
12512
+ return _this;
12513
+ }
12514
+ MRRetenciones.prototype.dataInterface = function () {
12515
+ return {
12516
+ id_nomina: this.id_nomina,
12517
+ codnom: this.codigonomina,
12518
+ id_personalDes: this.id_personalDes,
12519
+ id_personalHas: this.id_personalHas,
12520
+ codperDes: this.codigopersonalDes,
12521
+ codperHas: this.codigopersonalHas,
12522
+ annocurso: this.annocurso,
12523
+ reporte: this.reporte
12524
+ };
12525
+ };
12526
+ return MRRetenciones;
12527
+ }(MBasicModel));
12528
+
10254
12529
  var customPaginator = /** @class */ (function (_super) {
10255
12530
  __extends(customPaginator, _super);
10256
12531
  function customPaginator() {
@@ -10293,14 +12568,20 @@
10293
12568
  exports.MAllStructure = MAllStructure;
10294
12569
  exports.MAnticipoPrestaciones = MAnticipoPrestaciones;
10295
12570
  exports.MArchivoTxtCampo = MArchivoTxtCampo;
12571
+ exports.MArchivosTxt = MArchivosTxt;
10296
12572
  exports.MAsignacionCargo = MAsignacionCargo;
10297
12573
  exports.MAspectoEvaluacion = MAspectoEvaluacion;
10298
12574
  exports.MBank = MBank;
10299
12575
  exports.MBankAccountType = MBankAccountType;
10300
12576
  exports.MBasicModel = MBasicModel;
10301
12577
  exports.MBeneficiario = MBeneficiario;
12578
+ exports.MCalculoPrestacion = MCalculoPrestacion;
12579
+ exports.MCambioEstatusPersonal = MCambioEstatusPersonal;
10302
12580
  exports.MCargaFamiliar = MCargaFamiliar;
12581
+ exports.MCargaMasiva = MCargaMasiva;
10303
12582
  exports.MCargo = MCargo;
12583
+ exports.MCargoEstructuraOrganizativa = MCargoEstructuraOrganizativa;
12584
+ exports.MCargosNominas = MCargosNominas;
10304
12585
  exports.MCargosPersonal = MCargosPersonal;
10305
12586
  exports.MCentroCosto = MCentroCosto;
10306
12587
  exports.MCity = MCity;
@@ -10323,6 +12604,7 @@
10323
12604
  exports.MConcurso = MConcurso;
10324
12605
  exports.MConfigSOC = MConfigSOC;
10325
12606
  exports.MConfigSSS = MConfigSSS;
12607
+ exports.MConfiguracionFideicomiso = MConfiguracionFideicomiso;
10326
12608
  exports.MConfiguracionSCG = MConfiguracionSCG;
10327
12609
  exports.MConfiguracionSNO = MConfiguracionSNO;
10328
12610
  exports.MConfigurationRPC = MConfigurationRPC;
@@ -10356,35 +12638,60 @@
10356
12638
  exports.MEstructuraPresupuestariaOne = MEstructuraPresupuestariaOne;
10357
12639
  exports.MEstructuraPresupuestariaThree = MEstructuraPresupuestariaThree;
10358
12640
  exports.MEstructuraPresupuestariaTwo = MEstructuraPresupuestariaTwo;
12641
+ exports.MEstudiosConcursantes = MEstudiosConcursantes;
12642
+ exports.MExperienciaLaboral = MExperienciaLaboral;
12643
+ exports.MFamiliaConcursante = MFamiliaConcursante;
10359
12644
  exports.MFamiliares = MFamiliares;
10360
12645
  exports.MFeriados = MFeriados;
10361
12646
  exports.MFideicomiso = MFideicomiso;
12647
+ exports.MFideicomisoInteres = MFideicomisoInteres;
12648
+ exports.MFideicomisoPeriodo = MFideicomisoPeriodo;
12649
+ exports.MFideicomisoPeriodoInteres = MFideicomisoPeriodoInteres;
12650
+ exports.MFideicomisoPeriodoInteresCatalogo = MFideicomisoPeriodoInteresCatalogo;
10362
12651
  exports.MFormacionAcademica = MFormacionAcademica;
12652
+ exports.MFormacionInformal = MFormacionInformal;
10363
12653
  exports.MFuenteFinanciamiento = MFuenteFinanciamiento;
10364
12654
  exports.MGrados = MGrados;
10365
12655
  exports.MGroup = MGroup;
10366
12656
  exports.MHojaTiempo = MHojaTiempo;
12657
+ exports.MImpuestoSobreRenta = MImpuestoSobreRenta;
12658
+ exports.MItemsEvalucion = MItemsEvalucion;
10367
12659
  exports.MLog = MLog;
12660
+ exports.MMetodoBanco = MMetodoBanco;
12661
+ exports.MMetodos = MMetodos;
10368
12662
  exports.MMoneda = MMoneda;
10369
12663
  exports.MMonedaConfig = MMonedaConfig;
10370
12664
  exports.MMunicipality = MMunicipality;
10371
- exports.MNominaSimple = MNominaSimple;
12665
+ exports.MNominaSimple = MNominaSimple$1;
10372
12666
  exports.MOrganizationType = MOrganizationType;
10373
12667
  exports.MParish = MParish;
10374
12668
  exports.MPeriodoNomina = MPeriodoNomina;
12669
+ exports.MPeriodosPlan = MPeriodosPlan;
12670
+ exports.MPermisos = MPermisos;
10375
12671
  exports.MPersonal = MPersonal;
12672
+ exports.MPersonalCuentaBanco = MPersonalCuentaBanco;
10376
12673
  exports.MPersonalJubilado = MPersonalJubilado;
10377
12674
  exports.MPersonalNomina = MPersonalNomina;
10378
12675
  exports.MPlanUnicoCuenta = MPlanUnicoCuenta;
12676
+ exports.MPlantillasConstancia = MPlantillasConstancia;
12677
+ exports.MPrestamo = MPrestamo;
12678
+ exports.MPrestamoAmortizacion = MPrestamoAmortizacion;
12679
+ exports.MPrestamosPeriodo = MPrestamosPeriodo;
12680
+ exports.MPrevioEvaluacion = MPrevioEvaluacion;
12681
+ exports.MPrevioEvaluacionDt = MPrevioEvaluacionDt;
10379
12682
  exports.MPrimaGrados = MPrimaGrados;
10380
12683
  exports.MPrimasConcepto = MPrimasConcepto;
10381
12684
  exports.MProveedor = MProveedor;
10382
12685
  exports.MProviderBankAccount = MProviderBankAccount;
10383
12686
  exports.MProviderBeneficiary = MProviderBeneficiary;
12687
+ exports.MRArchivoTXT = MRArchivoTXT;
12688
+ exports.MRConsolidadoConceptos = MRConsolidadoConceptos;
12689
+ exports.MRConstanciaTrabajo = MRConstanciaTrabajo;
10384
12690
  exports.MRango = MRango;
10385
- exports.MRequisitosConcursante = MRequisitosConcursante;
12691
+ exports.MRequisitosConcursantes = MRequisitosConcursantes;
10386
12692
  exports.MRequisitosConcursos = MRequisitosConcursos;
10387
12693
  exports.MRequisitosMinimos = MRequisitosMinimos;
12694
+ exports.MResultadosEvaluacion = MResultadosEvaluacion;
10388
12695
  exports.MRights = MRights;
10389
12696
  exports.MSalarioHistorico = MSalarioHistorico;
10390
12697
  exports.MService = MService;
@@ -10404,6 +12711,7 @@
10404
12711
  exports.MTipoPersonal = MTipoPersonal;
10405
12712
  exports.MTiposEnfermedad = MTiposEnfermedad;
10406
12713
  exports.MTrabajoAnterior = MTrabajoAnterior;
12714
+ exports.MTrabajosConcursantes = MTrabajosConcursantes;
10407
12715
  exports.MUbicacionFisica = MUbicacionFisica;
10408
12716
  exports.MUnidadTributaria = MUnidadTributaria;
10409
12717
  exports.MUserDetail = MUserDetail;
@@ -10417,16 +12725,16 @@
10417
12725
  exports.Signo = Signo;
10418
12726
  exports.TipoCestaTicket = TipoCestaTicket;
10419
12727
  exports.customPaginator = customPaginator;
10420
- exports.ɵc = AppComponent;
10421
- exports.ɵd = SharedModule;
10422
- exports.ɵe = CatalogoComponent;
10423
- exports.ɵg = ConfirmComponent;
10424
- exports.ɵh = IconComponent;
10425
- exports.ɵi = TableSelectComponent;
10426
- exports.ɵj = CatalogoEstructurasComponent;
10427
- exports.ɵk = CatalogoDobleInputComponent;
10428
- exports.ɵl = IsoCurrencyPipe;
10429
- exports.ɵm = CustonMaterialModule;
12728
+ exports.ɵe = AppComponent;
12729
+ exports.ɵf = SharedModule;
12730
+ exports.ɵg = CatalogoComponent;
12731
+ exports.ɵi = ConfirmComponent;
12732
+ exports.ɵj = IconComponent;
12733
+ exports.ɵk = TableSelectComponent;
12734
+ exports.ɵl = CatalogoEstructurasComponent;
12735
+ exports.ɵm = CatalogoDobleInputComponent;
12736
+ exports.ɵn = IsoCurrencyPipe;
12737
+ exports.ɵo = CustonMaterialModule;
10430
12738
 
10431
12739
  Object.defineProperty(exports, '__esModule', { value: true });
10432
12740