sigesp 0.8.71-220304 → 0.8.74-20220504

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 (55) hide show
  1. package/bundles/sigesp.umd.js +849 -132
  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/MAsignacionCargo.model.js +93 -21
  10. package/esm2015/lib/core/models/SNO/MBeneficiario.model.js +7 -11
  11. package/esm2015/lib/core/models/SNO/MCargaMasiva.model.js +34 -0
  12. package/esm2015/lib/core/models/SNO/MCargosPersonal.model.js +18 -27
  13. package/esm2015/lib/core/models/SNO/MConceptosNomina.model.js +7 -1
  14. package/esm2015/lib/core/models/SNO/MConcursante.model.js +72 -13
  15. package/esm2015/lib/core/models/SNO/MConfiguracionSNO.model.js +1 -6
  16. package/esm2015/lib/core/models/SNO/MDefinicionNomina.model.js +84 -1
  17. package/esm2015/lib/core/models/SNO/MFideicomiso.model.js +333 -6
  18. package/esm2015/lib/core/models/SNO/MNominaSimple.model.js +5 -11
  19. package/esm2015/lib/core/models/SNO/MPermisos.model.js +61 -0
  20. package/esm2015/lib/core/models/SNO/MPersonal.model.js +3 -1
  21. package/esm2015/lib/core/models/SNO/MPersonalNomina.model.js +4 -4
  22. package/esm2015/lib/core/models/SNO/MPlantillaConstancia.model.js +31 -0
  23. package/esm2015/lib/core/models/SNO/MPrimaGrados.model.js +4 -1
  24. package/esm2015/lib/core/models/SNO/MPrimasConcepto.model.js +4 -1
  25. package/esm2015/lib/core/models/SNO/MRango.model.js +7 -2
  26. package/esm2015/lib/core/models/SNO/MRequisitosConcursante.model.js +4 -1
  27. package/esm2015/lib/core/models/SNO/MTabulador.model.js +15 -20
  28. package/esm2015/lib/core/models/SSS/userPermit.model.js +5 -1
  29. package/esm2015/lib/sigesp.service.js +1 -2
  30. package/esm2015/public-api.js +6 -2
  31. package/fesm2015/sigesp.js +772 -114
  32. package/fesm2015/sigesp.js.map +1 -1
  33. package/lib/core/interfaces/Nomina.d.ts +63 -31
  34. package/lib/core/interfaces/RecursosHumanos.d.ts +209 -54
  35. package/lib/core/interfaces/Seguridad.d.ts +2 -0
  36. package/lib/core/interfaces/Usuario.d.ts +13 -0
  37. package/lib/core/models/SNO/MAsignacionCargo.model.d.ts +35 -4
  38. package/lib/core/models/SNO/MBeneficiario.model.d.ts +2 -0
  39. package/lib/core/models/SNO/MCargaMasiva.model.d.ts +12 -0
  40. package/lib/core/models/SNO/MCargosPersonal.model.d.ts +6 -3
  41. package/lib/core/models/SNO/MConceptosNomina.model.d.ts +2 -0
  42. package/lib/core/models/SNO/MConcursante.model.d.ts +23 -4
  43. package/lib/core/models/SNO/MDefinicionNomina.model.d.ts +27 -1
  44. package/lib/core/models/SNO/MFideicomiso.model.d.ts +115 -2
  45. package/lib/core/models/SNO/MNominaSimple.model.d.ts +2 -0
  46. package/lib/core/models/SNO/MPermisos.model.d.ts +21 -0
  47. package/lib/core/models/SNO/MPersonal.model.d.ts +1 -0
  48. package/lib/core/models/SNO/MPersonalNomina.model.d.ts +1 -1
  49. package/lib/core/models/SNO/MPlantillaConstancia.model.d.ts +11 -0
  50. package/lib/core/models/SNO/MRango.model.d.ts +2 -1
  51. package/lib/core/models/SNO/MTabulador.model.d.ts +7 -5
  52. package/lib/core/models/SSS/userPermit.model.d.ts +2 -0
  53. package/package.json +1 -1
  54. package/public-api.d.ts +6 -2
  55. package/sigesp.metadata.json +1 -1
@@ -434,7 +434,7 @@
434
434
  _this.denominacionEstatus = '';
435
435
  _this.nombreCompleto = '';
436
436
  _this.nominaRac = 0;
437
- _this.estatausPersonal = '';
437
+ _this.situacionPersonal = '';
438
438
  _this.montoPension = 0;
439
439
  if (e) {
440
440
  _this.idEmpresa = parseInt(e.id_empresa);
@@ -515,7 +515,7 @@
515
515
  _this.denominacionEstatus = e.staper == '3' ? 'EGRESADO' : 'SUSPENDIDO';
516
516
  _this.apellidoPersonal = e.apeper;
517
517
  _this.nombreCompleto = _this.nombrePersonal + ' ' + _this.apellidoPersonal;
518
- _this.estatausPersonal = e.estper;
518
+ _this.situacionPersonal = e.situacion;
519
519
  _this.montoPension = +e.monpen;
520
520
  _this.nominaRac = parseInt(e.racnom);
521
521
  if (_this.nominaRac == 0) {
@@ -526,7 +526,7 @@
526
526
  if (_this.idTabulador >= 0 && _this.nominaRac == 1) {
527
527
  _this.sueldoPersonal = _this.montoSaldoGrado;
528
528
  }
529
- if (_this.estatausPersonal == '2') {
529
+ if (_this.situacionPersonal == 'J') {
530
530
  _this.sueldoPersonal = _this.montoPension;
531
531
  }
532
532
  if (_this.idAgencia > 0) {
@@ -3359,7 +3359,6 @@
3359
3359
  _this.registroasistenciaincidencia = I.regasiinc;
3360
3360
  _this.manejoIndependienteModulo = parseInt(I.manindmod);
3361
3361
  _this.digitosCodigoConcepto = parseInt(I.digcodcon);
3362
- _this.segmentarPersonal = parseInt(I.segper);
3363
3362
  }
3364
3363
  else {
3365
3364
  _this.isNew = true;
@@ -3367,9 +3366,6 @@
3367
3366
  return _this;
3368
3367
  }
3369
3368
  MConfiguracionSNO.prototype.dataInterface = function () {
3370
- if (this.segmentarPersonal == 0) {
3371
- this.segmentarPersonal = 10000;
3372
- }
3373
3369
  return {
3374
3370
  id_empresa: this.idEmpresa.toString(),
3375
3371
  id_sno: this.idNomina.toString(),
@@ -3495,7 +3491,6 @@
3495
3491
  regasiinc: this.registroasistenciaincidencia,
3496
3492
  manindmod: this.manejoIndependienteModulo.toString(),
3497
3493
  digcodcon: this.digitosCodigoConcepto.toString(),
3498
- segper: this.segmentarPersonal.toString(),
3499
3494
  };
3500
3495
  };
3501
3496
  return MConfiguracionSNO;
@@ -3676,6 +3671,7 @@
3676
3671
  _this.idPeriodoNomina = 0;
3677
3672
  _this.idPeriodoRestablecerNomina = 0;
3678
3673
  _this.estatusIncidencia = 0;
3674
+ _this.segmentarPersonal = 3000;
3679
3675
  _this.periodosNomina = [];
3680
3676
  if (e) {
3681
3677
  _this.idEmpresa = parseInt(e.id_empresa);
@@ -3741,6 +3737,7 @@
3741
3737
  _this.periodosNomina = e.periodos.map(function (e) { return new MPeriodoNomina(e); });
3742
3738
  _this.idPeriodoNomina = parseInt(e.id_periodoactual);
3743
3739
  _this.idPeriodoRestablecerNomina = parseInt(e.id_perresnom);
3740
+ _this.segmentarPersonal = parseInt(e.segper);
3744
3741
  }
3745
3742
  else {
3746
3743
  _this.isNew = true;
@@ -3749,6 +3746,9 @@
3749
3746
  }
3750
3747
  MDefinicionNomina.prototype.dataInterface = function () {
3751
3748
  this.getPeriodoNomina();
3749
+ if (this.segmentarPersonal == 0) {
3750
+ this.segmentarPersonal = 10000;
3751
+ }
3752
3752
  return {
3753
3753
  id_empresa: this.idEmpresa.toString(),
3754
3754
  id_nomina: this.idNomina.toString(),
@@ -3814,6 +3814,7 @@
3814
3814
  id_periodoactual: this.idPeriodoNomina.toString(),
3815
3815
  id_perresnom: this.idPeriodoRestablecerNomina.toString(),
3816
3816
  estincidencia: this.estatusIncidencia.toString(),
3817
+ segper: this.segmentarPersonal.toString(),
3817
3818
  periodos: this.periodosNomina.map((function (e) { return e.dataInterface(); })),
3818
3819
  };
3819
3820
  };
@@ -3915,6 +3916,87 @@
3915
3916
  return this.periodosNomina[this.indice()].fechaHastaperiodo;
3916
3917
  };
3917
3918
  return MDefinicionNomina;
3919
+ }(MBasicModel));
3920
+ var MNominaSimple = /** @class */ (function (_super) {
3921
+ __extends(MNominaSimple, _super);
3922
+ function MNominaSimple(e) {
3923
+ if (e === void 0) { e = null; }
3924
+ var _this = _super.call(this) || this;
3925
+ _this.idEmpresa = 0;
3926
+ _this.idNomina = 0;
3927
+ _this.codigoNomina = '';
3928
+ _this.denominacioNomina = '';
3929
+ _this.idPeriodoActual = 0;
3930
+ _this.totalPeriodo = 0;
3931
+ _this.estatus = '';
3932
+ _this.estatusPeriodo = 0;
3933
+ _this.calculada = false;
3934
+ _this.prenomina = false;
3935
+ _this.idCargo = 0;
3936
+ _this.codigoCargo = '';
3937
+ _this.denominacionCargo = '';
3938
+ _this.nominaRac = 0;
3939
+ _this.simbolo = '';
3940
+ _this.color = '';
3941
+ _this.estatusPersonal = 0;
3942
+ _this.denominacionEstatuspersonal = '';
3943
+ _this.descripcionPeriodoNomina = '';
3944
+ _this.periodoActualNomina = '';
3945
+ _this.editable = false;
3946
+ if (e) {
3947
+ _this.idEmpresa = parseInt(e.id_empresa);
3948
+ _this.idNomina = parseInt(e.id_nomina);
3949
+ _this.codigoNomina = e.codnom;
3950
+ _this.denominacioNomina = e.dennom;
3951
+ _this.idPeriodoActual = +e.id_periodoactual;
3952
+ _this.totalPeriodo = parseFloat(e.totper),
3953
+ _this.estatusPeriodo = parseInt(e.cerper);
3954
+ _this.calculada = e.calculado == '1' ? true : false;
3955
+ _this.prenomina = e.prenomina == '1' ? true : false;
3956
+ _this.estatus = _this.calculada ? 'Calculada' :
3957
+ !_this.calculada && _this.prenomina ? 'Pre-Calculada' : 'Sin Calcular';
3958
+ _this.editable = (_this.calculada || _this.prenomina) ? false : true;
3959
+ _this.idCargo = parseInt(e.id_carper);
3960
+ _this.codigoCargo = e.codcar;
3961
+ _this.denominacionCargo = e.descar;
3962
+ _this.nominaRac = parseInt(e.racnom);
3963
+ _this.nominaRac == 1 ? _this.simbolo = 'check' : _this.simbolo = '';
3964
+ _this.nominaRac == 1 ? _this.color = 'primary' : _this.color = '';
3965
+ _this.estatusPersonal = parseInt(e.staper);
3966
+ _this.estatusPersonal == 0 ? _this.denominacionEstatuspersonal = "NO ASIGNADO" :
3967
+ _this.estatusPersonal == 1 ? _this.denominacionEstatuspersonal = "ACTIVO" :
3968
+ _this.estatusPersonal == 2 ? _this.denominacionEstatuspersonal = "VACACIONES" :
3969
+ _this.estatusPersonal == 3 ? _this.denominacionEstatuspersonal = "EGRESADO" :
3970
+ _this.denominacionEstatuspersonal = "SUSPENDIDO";
3971
+ _this.descripcionPeriodoNomina = e.despernom;
3972
+ _this.periodoActualNomina = e.peractnom;
3973
+ }
3974
+ else {
3975
+ _this.isNew = false;
3976
+ }
3977
+ return _this;
3978
+ }
3979
+ MNominaSimple.prototype.dataInterface = function () {
3980
+ return {
3981
+ id_empresa: this.idEmpresa.toString(),
3982
+ id_nomina: this.idNomina.toString(),
3983
+ codnom: this.codigoNomina,
3984
+ dennom: this.denominacioNomina,
3985
+ id_periodoactual: this.idPeriodoActual.toString(),
3986
+ totper: this.totalPeriodo.toString(),
3987
+ cerper: this.estatusPeriodo.toString(),
3988
+ prenomina: this.prenomina ? '1' : '0',
3989
+ calculado: this.calculada ? '1' : '0',
3990
+ id_carper: this.idCargo.toString(),
3991
+ descar: this.denominacionCargo,
3992
+ codcar: this.codigoCargo,
3993
+ racnom: this.nominaRac.toString(),
3994
+ staper: this.estatusPersonal.toString(),
3995
+ despernom: this.descripcionPeriodoNomina,
3996
+ peractnom: this.periodoActualNomina,
3997
+ };
3998
+ };
3999
+ return MNominaSimple;
3918
4000
  }(MBasicModel));
3919
4001
 
3920
4002
  var MAsignacionCargo = /** @class */ (function (_super) {
@@ -3926,9 +4008,6 @@
3926
4008
  _this.idAsignacionCargo = 0;
3927
4009
  _this.codigoAsignacionCargo = '';
3928
4010
  _this.denominacionAsignacionCargo = '';
3929
- _this.idOrganigrama = 0;
3930
- _this.codigoOrganigrama = '';
3931
- _this.denominacionOrganigrama = '';
3932
4011
  _this.idEp1 = 0;
3933
4012
  _this.idEp2 = 0;
3934
4013
  _this.idEp3 = 0;
@@ -3953,14 +4032,15 @@
3953
4032
  _this.totalCargos = 0;
3954
4033
  _this.numeroCargosOcupados = 0;
3955
4034
  _this.disponibilidadCargos = 0;
4035
+ _this.detallesNominas = [];
4036
+ _this.nominaEliminar = [];
4037
+ _this.detallesOrganigrama = [];
4038
+ _this.organigramaEliminar = [];
3956
4039
  if (e) {
3957
4040
  _this.idEmpresa = parseInt(e.id_empresa);
3958
4041
  _this.idAsignacionCargo = parseInt(e.id_carper);
3959
4042
  _this.codigoAsignacionCargo = e.codcar;
3960
4043
  _this.denominacionAsignacionCargo = e.descar;
3961
- _this.idOrganigrama = parseInt(e.id_organigrama);
3962
- _this.codigoOrganigrama = e.codestorg;
3963
- _this.denominacionOrganigrama = e.denestorg;
3964
4044
  _this.idEp1 = parseInt(e.id_ep1);
3965
4045
  _this.idEp2 = parseInt(e.id_ep2);
3966
4046
  _this.idEp3 = parseInt(e.id_ep3);
@@ -3985,6 +4065,12 @@
3985
4065
  _this.totalCargos = parseInt(e.totcar);
3986
4066
  _this.numeroCargosOcupados = parseInt(e.numocucar);
3987
4067
  _this.disponibilidadCargos = parseInt(e.disponibilidad);
4068
+ if (e.detalles_nomina) {
4069
+ _this.detallesNominas = e.detalles_nomina.map(function (e) { return new MCargosNominas(e); });
4070
+ }
4071
+ if (e.detalles_organigrama) {
4072
+ _this.detallesOrganigrama = e.detalles_organigrama.map(function (e) { return new MCargoEstructuraOrganizativa(e); });
4073
+ }
3988
4074
  }
3989
4075
  else {
3990
4076
  _this.isNew = true;
@@ -3997,39 +4083,115 @@
3997
4083
  id_carper: this.idAsignacionCargo.toString(),
3998
4084
  codcar: this.codigoAsignacionCargo,
3999
4085
  descar: this.denominacionAsignacionCargo,
4000
- id_organigrama: this.idOrganigrama.toString(),
4001
- codestorg: this.codigoOrganigrama,
4002
- denestorg: this.denominacionOrganigrama,
4003
4086
  id_ep1: this.idEp1.toString(),
4004
4087
  id_ep2: this.idEp2.toString(),
4005
4088
  id_ep3: this.idEp3.toString(),
4006
4089
  id_ep4: this.idEp4.toString(),
4007
4090
  id_ep5: this.idEp5.toString(),
4008
- codigo_estructura: this.codigoEstructura,
4009
- denominacion_estructura: this.denominacionEstructura,
4010
4091
  clacar: this.claseCargo,
4011
4092
  id_dedicacion: this.idDedicacion.toString(),
4012
- codded: this.codigoDedicacion,
4013
- dended: this.denominacionDedicacion,
4014
4093
  id_tipopersonal: this.idTipoPersonal.toString(),
4015
- codtipper: this.codigoTipoPersonal,
4016
- dentipper: this.denominacionTipoPersonal,
4017
4094
  id_tabulador: this.idTabulador.toString(),
4018
- codtab: this.codigoTipoPersonal,
4019
- destab: this.denominacionTabulador,
4020
4095
  codgra: this.codigoGrado,
4021
4096
  codpas: this.codigoPaso,
4022
- monsalgra: this.salario.toString(),
4023
- moncomgra: this.compensacion.toString(),
4024
4097
  totcar: this.totalCargos.toString(),
4025
4098
  numocucar: this.numeroCargosOcupados.toString(),
4026
- disponibilidad: this.disponibilidadCargos.toString(),
4099
+ detalles_nomina: this.detallesNominas.map(function (e) { return e.dataInterface(); }),
4100
+ detalles_organigrama: this.detallesOrganigrama.map(function (e) { return e.dataInterface(); }),
4101
+ eliminar_nomina: this.nominaEliminar,
4102
+ eliminar_organigrama: this.organigramaEliminar,
4027
4103
  };
4028
4104
  };
4029
4105
  return MAsignacionCargo;
4106
+ }(MBasicModel));
4107
+ var MCargoEstructuraOrganizativa = /** @class */ (function (_super) {
4108
+ __extends(MCargoEstructuraOrganizativa, _super);
4109
+ function MCargoEstructuraOrganizativa(e) {
4110
+ if (e === void 0) { e = null; }
4111
+ var _this = _super.call(this) || this;
4112
+ _this.idEmpresa = 0;
4113
+ _this.idCargoPersonal = 0;
4114
+ _this.idOrganigrama = 0;
4115
+ _this.idDtCargoEstructura = 0;
4116
+ _this.idPersonal = 0;
4117
+ _this.codigoEstructuraOrganizativa = '';
4118
+ _this.denominacionEstructuraOrganizativa = '';
4119
+ _this.nivel = 0;
4120
+ if (e) {
4121
+ _this.idEmpresa = parseInt(e.id_empresa);
4122
+ _this.idCargoPersonal = parseInt(e.id_carper);
4123
+ _this.idOrganigrama = parseInt(e.id_organigrama);
4124
+ _this.codigoEstructuraOrganizativa = e.codestorg;
4125
+ _this.denominacionEstructuraOrganizativa = e.denestorg;
4126
+ _this.idPersonal = parseInt(e.id_personal);
4127
+ _this.nivel = parseInt(e.nivel);
4128
+ }
4129
+ else {
4130
+ _this.isNew = true;
4131
+ }
4132
+ return _this;
4133
+ }
4134
+ MCargoEstructuraOrganizativa.prototype.dataInterface = function () {
4135
+ return {
4136
+ id_empresa: this.idEmpresa.toString(),
4137
+ id_carper: this.idCargoPersonal.toString(),
4138
+ id_organigrama: this.idOrganigrama.toString(),
4139
+ id_dt: this.idDtCargoEstructura.toString(),
4140
+ id_personal: this.idPersonal.toString(),
4141
+ };
4142
+ };
4143
+ return MCargoEstructuraOrganizativa;
4144
+ }(MBasicModel));
4145
+ var MCargosNominas = /** @class */ (function (_super) {
4146
+ __extends(MCargosNominas, _super);
4147
+ function MCargosNominas(e) {
4148
+ if (e === void 0) { e = null; }
4149
+ var _this = _super.call(this) || this;
4150
+ _this.idEmpresa = 0;
4151
+ _this.idNomina = 0;
4152
+ _this.idCargo = 0;
4153
+ _this.codigoNomina = '';
4154
+ _this.denominacionNomina = '';
4155
+ _this.estatus = '';
4156
+ _this.idDtNomina = 0;
4157
+ _this.periodoActualNomina = '001';
4158
+ _this.idPeriodoActual = 0;
4159
+ _this.nominaRac = 0;
4160
+ _this.descripcionPeriodoNomina = '';
4161
+ _this.prenomina = false;
4162
+ _this.editables = false;
4163
+ _this.calculada = false;
4164
+ if (e) {
4165
+ _this.idEmpresa = parseInt(e.id_empresa);
4166
+ _this.idNomina = parseInt(e.id_nomina);
4167
+ _this.idCargo = parseInt(e.id_carper);
4168
+ _this.codigoNomina = e.codnom;
4169
+ _this.denominacionNomina = e.dennom;
4170
+ _this.idDtNomina = parseInt(e.id_dt_carnom);
4171
+ _this.periodoActualNomina = e.peractnom;
4172
+ _this.calculada = e.calculado == '1' ? true : false;
4173
+ _this.prenomina = e.prenomina == '1' ? true : false;
4174
+ _this.estatus = _this.calculada ? 'Calculada' :
4175
+ !_this.calculada && _this.prenomina ? 'Pre-Calculada' : 'Sin Calcular';
4176
+ _this.editables = (_this.calculada || _this.prenomina) ? false : true;
4177
+ }
4178
+ else {
4179
+ _this.isNew = true;
4180
+ }
4181
+ return _this;
4182
+ }
4183
+ MCargosNominas.prototype.dataInterface = function () {
4184
+ return {
4185
+ id_empresa: this.idEmpresa.toString(),
4186
+ id_nomina: this.idNomina.toString(),
4187
+ id_carper: this.idCargo.toString(),
4188
+ id_dt_carnom: this.idDtNomina.toString(),
4189
+ };
4190
+ };
4191
+ return MCargosNominas;
4030
4192
  }(MBasicModel));
4031
4193
 
4032
- var MNominaSimple = /** @class */ (function () {
4194
+ var MNominaSimple$1 = /** @class */ (function () {
4033
4195
  function MNominaSimple(e) {
4034
4196
  if (e === void 0) { e = null; }
4035
4197
  this.idEmpresa = 0;
@@ -4048,6 +4210,8 @@
4048
4210
  this.nominaRac = 0;
4049
4211
  this.simbolo = '';
4050
4212
  this.color = '';
4213
+ this.periodoActualNomina = '';
4214
+ this.descripcionPeriodoNomina = '';
4051
4215
  if (e) {
4052
4216
  this.idEmpresa = parseInt(e.id_empresa);
4053
4217
  this.idNnomina = parseInt(e.id_nomina);
@@ -4066,23 +4230,15 @@
4066
4230
  this.nominaRac = parseInt(e.racnom);
4067
4231
  this.nominaRac == 1 ? this.simbolo = 'check' : this.simbolo = '';
4068
4232
  this.nominaRac == 1 ? this.color = 'primary' : this.color = '';
4233
+ this.descripcionPeriodoNomina = e.despernom;
4234
+ this.periodoActualNomina = e.peractnom;
4069
4235
  }
4070
4236
  }
4071
4237
  MNominaSimple.prototype.dataInterface = function () {
4072
4238
  return {
4073
4239
  id_empresa: this.idEmpresa.toString(),
4074
4240
  id_nomina: this.idNnomina.toString(),
4075
- codnom: this.codigoNomina,
4076
- dennom: this.denominacioNomina,
4077
- id_periodoactual: this.idPeriodoActual.toString(),
4078
- totper: this.totalPeriodo.toString(),
4079
- cerper: this.estatusPeriodo.toString(),
4080
- prenomina: this.prenomina ? '1' : '0',
4081
- calculado: this.calculada ? '1' : '0',
4082
4241
  id_carper: this.idCargo.toString(),
4083
- descar: this.denominacionCargo,
4084
- codcar: this.codigoCargo,
4085
- racnom: this.nominaRac.toString(),
4086
4242
  };
4087
4243
  };
4088
4244
  return MNominaSimple;
@@ -4193,6 +4349,7 @@
4193
4349
  _this.nombreEstadoNacimiento = '';
4194
4350
  _this.codigoProfesion = '';
4195
4351
  _this.denominacionProfesion = '';
4352
+ _this.montoPension = 0;
4196
4353
  if (p) {
4197
4354
  _this.idEmpresa = +p.id_empresa;
4198
4355
  _this.idPersonal = +p.id_personal;
@@ -4305,6 +4462,7 @@
4305
4462
  _this.nombrePaisNacimiento = p.despai_nac;
4306
4463
  _this.codigoProfesion = p.codpro;
4307
4464
  _this.denominacionProfesion = p.denpro;
4465
+ _this.montoPension = +p.monpen;
4308
4466
  }
4309
4467
  else {
4310
4468
  _this.isNew = true;
@@ -6468,7 +6626,7 @@
6468
6626
  SigespService.prototype.getPersonalNominaResumida = function (idPersonal, tipo) {
6469
6627
  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) {
6470
6628
  if (res.success) {
6471
- res.data = res.data.map(function (e) { return new MNominaSimple(e); });
6629
+ res.data = res.data.map(function (e) { return new MNominaSimple$1(e); });
6472
6630
  }
6473
6631
  return res;
6474
6632
  }));
@@ -6504,7 +6662,6 @@
6504
6662
  return this.http.post(this.URL + "/dao/sss/log_dao.php", body, {
6505
6663
  headers: this.getHttpHeaders()
6506
6664
  }).pipe(operators.map(function (res) {
6507
- console.log("Log : ", res);
6508
6665
  return res;
6509
6666
  }));
6510
6667
  };
@@ -7178,6 +7335,8 @@
7178
7335
  _this.userData.name = permit.nomusu;
7179
7336
  _this.userData.lastname = permit.apeusu;
7180
7337
  _this.userData.username = permit.codusu;
7338
+ _this.descripcion = permit.descripcion;
7339
+ _this.id_record = parseInt(permit.id_record);
7181
7340
  }
7182
7341
  else {
7183
7342
  _this.isNew = true;
@@ -7189,6 +7348,8 @@
7189
7348
  activo: this.active ? '1' : '0',
7190
7349
  codintper: this.internalPermit,
7191
7350
  codsis: this.systemCode,
7351
+ descripcion: this.descripcion,
7352
+ id_record: this.id_record.toString(),
7192
7353
  id_permiso: this.id.toString(),
7193
7354
  id_usuario: this.userData.id ? this.userData.id.toString() : null,
7194
7355
  apeusu: this.userData.lastname ? this.userData.lastname : null,
@@ -7457,6 +7618,8 @@
7457
7618
  _this.nexoFamiliar = '';
7458
7619
  _this.nombreBanco = '';
7459
7620
  _this.denominacionTipoCuenta = '';
7621
+ _this.medidaActiva = false;
7622
+ _this.tribunal = '';
7460
7623
  if (e) {
7461
7624
  _this.idEmpresa = parseInt(e.id_empresa);
7462
7625
  _this.idPersonal = parseInt(e.id_personal);
@@ -7471,6 +7634,8 @@
7471
7634
  _this.numeroExpedienteBeneficiario = e.numexpben;
7472
7635
  _this.porcentajePagoBeneficiario = parseFloat(e.porpagben);
7473
7636
  _this.montoPagoBeneficiario = parseFloat(e.monpagben);
7637
+ _this.medidaActiva = e.medact == '1' ? true : false;
7638
+ _this.tribunal = e.tribunal;
7474
7639
  _this.nombreCheque = e.nompro;
7475
7640
  _this.cedulaAutorizado = e.cedpro;
7476
7641
  _this.nombreFamiliar = e.nomfam;
@@ -7502,16 +7667,8 @@
7502
7667
  ctabanben: this.cuentaBancoBeneficiario,
7503
7668
  forpagben: this.formaPagoBeneficiario,
7504
7669
  numexpben: this.numeroExpedienteBeneficiario,
7505
- cedpro: this.cedulaAutorizado,
7506
- nompro: this.nombreCheque,
7507
- nomfam: this.nombreFamiliar,
7508
- apefam: this.apellidoFamiliar,
7509
- cedfam: this.cedulaFamiliar,
7510
- dirfam: this.direccionFamiliar,
7511
- telfam: this.telefonoFamiliar,
7512
- nexfam: this.nexoFamiliar,
7513
- nomban: this.nombreBanco,
7514
- nomtipcta: this.denominacionTipoCuenta
7670
+ medact: this.medidaActiva ? '1' : '0',
7671
+ tribunal: this.tribunal,
7515
7672
  };
7516
7673
  };
7517
7674
  return MBeneficiario;
@@ -7522,6 +7679,7 @@
7522
7679
  function MCargosPersonal(p) {
7523
7680
  if (p === void 0) { p = null; }
7524
7681
  var _this = _super.call(this) || this;
7682
+ _this.idEmpresa = 0;
7525
7683
  _this.idPersonal = 0;
7526
7684
  _this.idCargo = 0;
7527
7685
  _this.codigoCargo = '';
@@ -7529,7 +7687,6 @@
7529
7687
  _this.codigoDedicacion = '';
7530
7688
  _this.denominacionDedicacion = '';
7531
7689
  _this.denominacionTipoPersonalSno = '';
7532
- _this.idOrganigrama = 0;
7533
7690
  _this.idUbicacionFisica = 0;
7534
7691
  _this.denominacionUbicacionFisica = '';
7535
7692
  _this.codigoUbicacionFisica = '';
@@ -7541,17 +7698,15 @@
7541
7698
  _this.codigoPaso = '0';
7542
7699
  _this.codigoTabulador = '';
7543
7700
  _this.denominacionTabulador = '';
7544
- _this.codigoOrganigrama = '';
7545
- _this.denominacionOrganigrama = '';
7546
7701
  _this.idPersonalCargo = 0;
7547
7702
  _this.montoSalarioGrado = 0;
7548
7703
  _this.montoCompensacionGrado = 0;
7549
7704
  _this.estatusMPPPE = false;
7705
+ _this.detallesOrganigrama = [];
7706
+ _this.organigramaEliminar = [];
7707
+ _this.detallesNomina = [];
7550
7708
  if (p) {
7551
7709
  _this.idPersonal = parseInt(p.id_personal);
7552
- _this.idOrganigrama = parseInt(p.id_organigrama);
7553
- _this.codigoOrganigrama = p.codestorg;
7554
- _this.denominacionOrganigrama = p.denestorg;
7555
7710
  _this.idCargo = +p.id_carper;
7556
7711
  _this.codigoCargo = p.codcar;
7557
7712
  _this.descripcionCargo = p.descar;
@@ -7573,6 +7728,12 @@
7573
7728
  _this.montoSalarioGrado = parseFloat(p.moncomgra);
7574
7729
  _this.montoCompensacionGrado = parseFloat(p.moncomgra);
7575
7730
  _this.estatusMPPPE = p.estmpppe == '1' ? true : false;
7731
+ if (p.detalles_organigrama) {
7732
+ _this.detallesOrganigrama = p.detalles_organigrama.map(function (e) { return new MCargoEstructuraOrganizativa(e); });
7733
+ }
7734
+ if (p.detalles_nomina) {
7735
+ _this.detallesNomina = p.detalles_nomina.map(function (e) { return new MNominaSimple(e); });
7736
+ }
7576
7737
  }
7577
7738
  else {
7578
7739
  _this.isNew = true;
@@ -7581,31 +7742,16 @@
7581
7742
  }
7582
7743
  MCargosPersonal.prototype.dataInterface = function () {
7583
7744
  return {
7584
- id_organigrama: this.idOrganigrama.toString(),
7585
- codestorg: this.codigoOrganigrama,
7586
- denestorg: this.denominacionOrganigrama,
7745
+ id_empresa: this.idEmpresa.toString(),
7746
+ id_personal: this.idPersonal.toString(),
7587
7747
  id_carper: this.idCargo.toString(),
7588
- descar: this.descripcionCargo.toString(),
7589
- codcar: this.codigoCargo,
7590
- codded: this.codigoDedicacion,
7591
- dended: this.denominacionDedicacion,
7592
- dentipper: this.denominacionTipoPersonalSno,
7593
- id_ubifis: this.idUbicacionFisica.toString(),
7594
- codubifis: this.codigoUbicacionFisica,
7595
- denubifis: this.denominacionUbicacionFisica,
7596
- codtipper: this.codigoTipoPersonalSno,
7597
- id_dedicacion: this.idDedicacion.toString(),
7598
- id_tipopersonal: this.idTipoPersonalSno.toString(),
7599
7748
  id_tabulador: this.idTabulador.toString(),
7600
7749
  codgra: this.codigoGrado,
7601
7750
  codpas: this.codigoPaso,
7602
- codtab: this.codigoTabulador,
7603
- destab: this.denominacionTabulador,
7751
+ id_ubifis: this.idUbicacionFisica.toString(),
7604
7752
  id_personalcargo: this.idPersonalCargo.toString(),
7605
- id_personal: this.idPersonal.toString(),
7606
- moncomgra: this.montoCompensacionGrado.toString(),
7607
- monsalgra: this.montoSalarioGrado.toString(),
7608
- estmpppe: this.estatusMPPPE ? '1' : '0',
7753
+ detalles_organigrama: this.detallesOrganigrama.map(function (e) { return e.dataInterface(); }),
7754
+ eliminar_organigrama: this.organigramaEliminar,
7609
7755
  };
7610
7756
  };
7611
7757
  return MCargosPersonal;
@@ -7886,6 +8032,8 @@
7886
8032
  _this.formulaReducida = '';
7887
8033
  _this.nombreSigno = '';
7888
8034
  _this.orden = 0;
8035
+ _this.evaluarEnPrenomina = 0;
8036
+ _this.antiguedadComplementaria = 0;
7889
8037
  if (e) {
7890
8038
  _this.idEmpresa = +e.id_empresa;
7891
8039
  _this.idNomina = +e.id_nomina;
@@ -7954,6 +8102,8 @@
7954
8102
  _this.formulaReducida = e.forcon.substr(0, 40);
7955
8103
  }
7956
8104
  _this.nombreSigno = _this.denominacionSigno(_this.signoConcepto);
8105
+ _this.evaluarEnPrenomina = +e.evaprenom;
8106
+ _this.antiguedadComplementaria = +e.antigcomp;
7957
8107
  }
7958
8108
  else {
7959
8109
  _this.isNew = true;
@@ -8022,6 +8172,8 @@
8022
8172
  regincidencia: this.registroIncidencia,
8023
8173
  forincidencia: this.formulaIncidencia,
8024
8174
  orden: this.orden.toString(),
8175
+ evaprenom: this.evaluarEnPrenomina.toString(),
8176
+ antigcomp: this.antiguedadComplementaria.toString(),
8025
8177
  };
8026
8178
  };
8027
8179
  MConceptosNomina.prototype.denominacionSigno = function (sig) {
@@ -8268,27 +8420,33 @@
8268
8420
  return MConstantePersonalNomina;
8269
8421
  }(MBasicModel));
8270
8422
 
8271
- var MRango = /** @class */ (function () {
8423
+ var MRango = /** @class */ (function (_super) {
8424
+ __extends(MRango, _super);
8272
8425
  function MRango(e) {
8273
8426
  if (e === void 0) { e = null; }
8274
- this.idEmpresa = 0;
8275
- this.idComponente = 0;
8276
- this.IdRango = 0;
8277
- this.IdCategoria = 0;
8278
- this.codigoRango = '';
8279
- this.denominacionRango = '';
8280
- this.nombreAbreviatura = '';
8281
- this.codigoCategoriaRango = '';
8427
+ var _this = _super.call(this) || this;
8428
+ _this.idEmpresa = 0;
8429
+ _this.idComponente = 0;
8430
+ _this.IdRango = 0;
8431
+ _this.IdCategoria = 0;
8432
+ _this.codigoRango = '';
8433
+ _this.denominacionRango = '';
8434
+ _this.nombreAbreviatura = '';
8435
+ _this.codigoCategoriaRango = '';
8282
8436
  if (e) {
8283
- this.idEmpresa = parseInt(e.id_empresa);
8284
- this.idComponente = parseInt(e.id_componente);
8285
- this.IdRango = parseInt(e.id_rango);
8286
- this.IdCategoria = parseInt(e.id_catrango);
8287
- this.codigoRango = e.codran;
8288
- this.denominacionRango = e.denran;
8289
- this.nombreAbreviatura = e.nomabr;
8290
- this.codigoCategoriaRango = e.codcatran;
8437
+ _this.idEmpresa = parseInt(e.id_empresa);
8438
+ _this.idComponente = parseInt(e.id_componente);
8439
+ _this.IdRango = parseInt(e.id_rango);
8440
+ _this.IdCategoria = parseInt(e.id_catrango);
8441
+ _this.codigoRango = e.codran;
8442
+ _this.denominacionRango = e.denran;
8443
+ _this.nombreAbreviatura = e.nomabr;
8444
+ _this.codigoCategoriaRango = e.codcatran;
8445
+ }
8446
+ else {
8447
+ _this.isNew = true;
8291
8448
  }
8449
+ return _this;
8292
8450
  }
8293
8451
  MRango.prototype.dataInterface = function () {
8294
8452
  return {
@@ -8303,7 +8461,7 @@
8303
8461
  };
8304
8462
  };
8305
8463
  return MRango;
8306
- }());
8464
+ }(MBasicModel));
8307
8465
 
8308
8466
  var MComponete = /** @class */ (function (_super) {
8309
8467
  __extends(MComponete, _super);
@@ -8348,43 +8506,55 @@
8348
8506
  var _this = _super.call(this) || this;
8349
8507
  _this.idEmpresa = 0;
8350
8508
  _this.idConcurso = 0;
8509
+ _this.codigoConcurso = '';
8351
8510
  _this.idConcursante = 0;
8352
8511
  _this.cedula = '';
8353
8512
  _this.idProfesion = 0;
8354
- _this.fechaRegistro = '';
8355
- _this.nombre = '';
8356
- _this.apellido = '';
8513
+ _this.profesion = '';
8514
+ _this.nombreProfesion = '';
8515
+ _this.fechaInscripcion = '';
8516
+ _this.nombres = '';
8517
+ _this.apellidos = '';
8357
8518
  _this.direccion = '';
8358
8519
  _this.fechaNacimiento = '';
8359
8520
  _this.estadoCivil = '';
8360
8521
  _this.codigoPais = '';
8522
+ _this.nombrePais = '';
8361
8523
  _this.codigoEstado = '';
8524
+ _this.nombreEstado = '';
8362
8525
  _this.nacionalidad = '';
8363
8526
  _this.telefono = '';
8364
8527
  _this.celular = '';
8365
8528
  _this.correo = '';
8366
8529
  _this.genero = '';
8367
8530
  _this.nivelAcademico = 0;
8531
+ _this.estatusRequisitos = 1;
8368
8532
  if (e) {
8369
8533
  _this.idEmpresa = parseInt(e.id_empresa);
8370
- _this.idConcursante = parseInt(e.id_concurso);
8534
+ _this.idConcurso = parseInt(e.id_concurso);
8535
+ _this.codigoConcurso = e.codcon;
8371
8536
  _this.idConcursante = parseInt(e.id_concursante);
8372
8537
  _this.cedula = e.cedper;
8373
8538
  _this.idProfesion = parseInt(e.id_profesion);
8374
- _this.fechaRegistro = e.fecreg;
8375
- _this.nombre = e.nomper;
8376
- _this.apellido = e.apeper;
8539
+ _this.profesion = e.profesion;
8540
+ _this.nombreProfesion = e.nombre_profesion;
8541
+ _this.fechaInscripcion = e.fecreg;
8542
+ _this.nombres = e.nomper;
8543
+ _this.apellidos = e.apeper;
8377
8544
  _this.direccion = e.dirper;
8378
8545
  _this.fechaNacimiento = e.fecnacper;
8379
8546
  _this.estadoCivil = e.estcivper;
8380
8547
  _this.codigoPais = e.codpai;
8548
+ _this.nombrePais = e.nombre_pais;
8381
8549
  _this.codigoEstado = e.codest;
8550
+ _this.nombreEstado = e.nombre_estado;
8382
8551
  _this.nacionalidad = e.nacper;
8383
8552
  _this.telefono = e.telhabper;
8384
8553
  _this.celular = e.telmovper;
8385
8554
  _this.correo = e.emaper;
8386
8555
  _this.genero = e.sexper;
8387
8556
  _this.nivelAcademico = parseInt(e.nivacaper);
8557
+ _this.estatusRequisitos = parseInt(e.estconper);
8388
8558
  }
8389
8559
  return _this;
8390
8560
  }
@@ -8392,26 +8562,76 @@
8392
8562
  return {
8393
8563
  id_empresa: this.idEmpresa.toString(),
8394
8564
  id_concurso: this.idConcurso.toString(),
8395
- id_concursante: this.idConcurso.toString(),
8565
+ codcon: this.codigoConcurso,
8566
+ id_concursante: this.idConcursante.toString(),
8396
8567
  cedper: this.cedula,
8397
8568
  id_profesion: this.idProfesion.toString(),
8398
- fecreg: this.fechaRegistro,
8399
- nomper: this.nombre,
8400
- apeper: this.apellido,
8569
+ profesion: this.profesion,
8570
+ nombre_profesion: this.nombreProfesion,
8571
+ fecreg: this.fechaInscripcion,
8572
+ nomper: this.nombres,
8573
+ apeper: this.apellidos,
8401
8574
  dirper: this.direccion,
8402
8575
  fecnacper: this.fechaNacimiento,
8403
8576
  estcivper: this.estadoCivil,
8404
8577
  codpai: this.codigoPais,
8578
+ nombre_pais: this.nombrePais,
8405
8579
  codest: this.codigoEstado,
8580
+ nombre_estado: this.nombreEstado,
8406
8581
  nacper: this.nacionalidad,
8407
8582
  telhabper: this.telefono,
8408
8583
  telmovper: this.celular,
8409
8584
  emaper: this.correo,
8410
8585
  sexper: this.genero,
8411
- nivacaper: this.nivelAcademico.toString()
8586
+ nivacaper: this.nivelAcademico.toString(),
8587
+ estconper: this.estatusRequisitos.toString()
8412
8588
  };
8413
8589
  };
8414
8590
  return MConcursante;
8591
+ }(MBasicModel));
8592
+ var MTrabajosConcursantes = /** @class */ (function (_super) {
8593
+ __extends(MTrabajosConcursantes, _super);
8594
+ function MTrabajosConcursantes(e) {
8595
+ var _this = _super.call(this) || this;
8596
+ _this.idEmpresa = 0;
8597
+ _this.idConcurso = 0;
8598
+ _this.idConcursante = 0;
8599
+ _this.idTrabajo = 0;
8600
+ _this.codigo = '';
8601
+ _this.empresaTrabajoAnterior = '';
8602
+ _this.cargoTrabajoAnterior = '';
8603
+ _this.fechaIngreso = '';
8604
+ _this.fechaRetiro = '';
8605
+ if (e) {
8606
+ _this.idEmpresa = parseInt(e.id_empresa);
8607
+ _this.idConcurso = parseInt(e.id_concurso);
8608
+ _this.idConcursante = parseInt(e.id_concursante);
8609
+ _this.idTrabajo = parseInt(e.id_trabajocon);
8610
+ _this.codigo = e.codtraper;
8611
+ _this.empresaTrabajoAnterior = e.emptraper;
8612
+ _this.cargoTrabajoAnterior = e.cartraant;
8613
+ _this.fechaIngreso = e.fecingtraant;
8614
+ _this.fechaRetiro = e.fecrettraant;
8615
+ }
8616
+ else {
8617
+ _this.isNew = true;
8618
+ }
8619
+ return _this;
8620
+ }
8621
+ MTrabajosConcursantes.prototype.dataInterface = function () {
8622
+ return {
8623
+ id_empresa: this.idEmpresa.toString(),
8624
+ id_concurso: this.idConcurso.toString(),
8625
+ id_concursante: this.idConcursante.toString(),
8626
+ id_trabajocon: this.idTrabajo.toString(),
8627
+ codtraper: this.codigo,
8628
+ emptraper: this.empresaTrabajoAnterior,
8629
+ cartraant: this.cargoTrabajoAnterior,
8630
+ fecingtraant: this.fechaIngreso,
8631
+ fecrettraant: this.fechaRetiro
8632
+ };
8633
+ };
8634
+ return MTrabajosConcursantes;
8415
8635
  }(MBasicModel));
8416
8636
 
8417
8637
  var MRequisitosConcursos = /** @class */ (function (_super) {
@@ -8913,8 +9133,8 @@
8913
9133
  _this.idfideicomiso = 0;
8914
9134
  _this.codigoFideicomiso = '';
8915
9135
  _this.fichaFideicomico = '';
8916
- _this.ubicacionFideicomiso = '';
8917
9136
  _this.cuentaFideicomiso = '';
9137
+ _this.idCuentaFideicomiso = 0;
8918
9138
  _this.fechaIngresoFideicomiso = '1900-01-01';
8919
9139
  _this.capitalizacionFideicomiso = 'N';
8920
9140
  _this.capitalizarAntiguedadComplementaria = 0;
@@ -8924,14 +9144,17 @@
8924
9144
  _this.scgCuentaAntiguedadFideicomiso = '';
8925
9145
  _this.scgcuentaInteresFideicomiso = '';
8926
9146
  _this.calcularIteresFideicomiso = 0;
9147
+ _this.idUbicacionFisica = 0;
9148
+ _this.denominacionUbicacionFisica = '';
9149
+ _this.codigoUbicacionFisica = '';
8927
9150
  if (e) {
8928
9151
  _this.idEmpresa = parseInt(e.id_empresa);
8929
9152
  _this.idPersonal = parseInt(e.id_personal);
8930
9153
  _this.idfideicomiso = parseInt(e.id_fideicomiso);
8931
9154
  _this.codigoFideicomiso = e.codfid;
8932
9155
  _this.fichaFideicomico = e.ficfid;
8933
- _this.ubicacionFideicomiso = e.ubifid;
8934
- _this.cuentaFideicomiso = e.cuefid;
9156
+ _this.idCuentaFideicomiso = parseInt(e.id_ctabanper);
9157
+ _this.cuentaFideicomiso = e.ctabanper;
8935
9158
  _this.fechaIngresoFideicomiso = e.fecingfid;
8936
9159
  _this.capitalizacionFideicomiso = e.capfid;
8937
9160
  _this.capitalizarAntiguedadComplementaria = parseInt(e.capantcom);
@@ -8941,6 +9164,12 @@
8941
9164
  _this.scgCuentaAntiguedadFideicomiso = e.scg_cuentafid;
8942
9165
  _this.scgcuentaInteresFideicomiso = e.scg_cuentaintfid;
8943
9166
  _this.calcularIteresFideicomiso = +e.calintfid;
9167
+ _this.idUbicacionFisica = parseInt(e.id_ubifis);
9168
+ _this.denominacionUbicacionFisica = e.denubifis;
9169
+ _this.codigoUbicacionFisica = e.codubifis;
9170
+ }
9171
+ else {
9172
+ _this.isNew = true;
8944
9173
  }
8945
9174
  return _this;
8946
9175
  }
@@ -8951,8 +9180,7 @@
8951
9180
  id_fideicomiso: this.idfideicomiso.toString(),
8952
9181
  codfid: this.codigoFideicomiso,
8953
9182
  ficfid: this.fichaFideicomico,
8954
- ubifid: this.ubicacionFideicomiso,
8955
- cuefid: this.cuentaFideicomiso,
9183
+ id_ctabanper: this.idCuentaFideicomiso.toString(),
8956
9184
  fecingfid: this.fechaIngresoFideicomiso,
8957
9185
  capfid: this.capitalizacionFideicomiso,
8958
9186
  capantcom: this.capitalizarAntiguedadComplementaria.toString(),
@@ -8962,9 +9190,350 @@
8962
9190
  scg_cuentafid: this.scgCuentaAntiguedadFideicomiso,
8963
9191
  scg_cuentaintfid: this.scgcuentaInteresFideicomiso,
8964
9192
  calintfid: +this.calcularIteresFideicomiso,
9193
+ id_ubifis: this.idUbicacionFisica.toString(),
8965
9194
  };
8966
9195
  };
8967
9196
  return MFideicomiso;
9197
+ }(MBasicModel));
9198
+ var MConfiguracionFideicomiso = /** @class */ (function (_super) {
9199
+ __extends(MConfiguracionFideicomiso, _super);
9200
+ function MConfiguracionFideicomiso(e) {
9201
+ var _this = _super.call(this) || this;
9202
+ _this.idEmpresa = 0;
9203
+ _this.idFideicomisoConfiguracion = 0;
9204
+ _this.idDedicacion = 0;
9205
+ _this.idTipoPersonal = 0;
9206
+ _this.anioCursoFideicomiso = '';
9207
+ _this.diaBonoVacacionalFideicomiso = 0;
9208
+ _this.diasBonoFinAnio = 0;
9209
+ _this.cuentaFideicomiso = '';
9210
+ _this.denominacionDedicacion = '';
9211
+ _this.codigoDedicacion = '';
9212
+ _this.codigoTipoPersonal = '';
9213
+ _this.denominacionTipoPersonal = '';
9214
+ _this.formulaFideicomiso = 'xxx';
9215
+ if (e) {
9216
+ _this.idEmpresa = parseInt(e.id_empresa);
9217
+ _this.idDedicacion = parseInt(e.id_dedicacion);
9218
+ _this.idTipoPersonal = parseInt(e.id_tipopersonal);
9219
+ _this.anioCursoFideicomiso = e.anocurfid;
9220
+ _this.diaBonoVacacionalFideicomiso = parseInt(e.diabonvacfid);
9221
+ _this.diasBonoFinAnio = parseInt(e.diabonfinfid);
9222
+ _this.cuentaFideicomiso = e.cuefid;
9223
+ _this.denominacionDedicacion = e.dended;
9224
+ _this.codigoDedicacion = e.codded;
9225
+ _this.codigoTipoPersonal = e.codtipper;
9226
+ _this.denominacionTipoPersonal = e.dentipper;
9227
+ _this.idFideicomisoConfiguracion = parseInt(e.id_fidconfig);
9228
+ _this.formulaFideicomiso = e.forfid;
9229
+ }
9230
+ else {
9231
+ _this.isNew = true;
9232
+ }
9233
+ return _this;
9234
+ }
9235
+ MConfiguracionFideicomiso.prototype.dataInterface = function () {
9236
+ return {
9237
+ id_empresa: this.idEmpresa.toString(),
9238
+ id_fidconfig: this.idFideicomisoConfiguracion.toString(),
9239
+ id_dedicacion: this.idDedicacion.toString(),
9240
+ id_tipopersonal: this.idTipoPersonal.toString(),
9241
+ anocurfid: this.anioCursoFideicomiso,
9242
+ diabonvacfid: this.diaBonoVacacionalFideicomiso.toString(),
9243
+ diabonfinfid: this.diasBonoFinAnio.toString(),
9244
+ cuefid: this.cuentaFideicomiso,
9245
+ forfid: this.formulaFideicomiso,
9246
+ };
9247
+ };
9248
+ return MConfiguracionFideicomiso;
9249
+ }(MBasicModel));
9250
+ var MFideicomisoInteres = /** @class */ (function (_super) {
9251
+ __extends(MFideicomisoInteres, _super);
9252
+ function MFideicomisoInteres(e) {
9253
+ var _this = _super.call(this) || this;
9254
+ _this.idEmpresa = 0;
9255
+ _this.idInteresFideicomiso = 0;
9256
+ _this.mesInteres = 0;
9257
+ _this.anioInteres = 0;
9258
+ _this.numeroGacetaInteres = '';
9259
+ _this.fechaVigenciaGacetaInteres = '1900-01-01';
9260
+ _this.montoTasaInteres = 0;
9261
+ if (e) {
9262
+ _this.idEmpresa = parseInt(e.id_empresa);
9263
+ _this.idInteresFideicomiso = parseInt(e.id_intfide);
9264
+ _this.mesInteres = parseInt(e.mesint);
9265
+ _this.anioInteres = parseInt(e.anoint);
9266
+ _this.numeroGacetaInteres = e.nrogacint;
9267
+ _this.fechaVigenciaGacetaInteres = e.fecviggacint;
9268
+ _this.montoTasaInteres = +e.montasint;
9269
+ }
9270
+ else {
9271
+ _this.isNew = true;
9272
+ }
9273
+ return _this;
9274
+ }
9275
+ MFideicomisoInteres.prototype.dataInterface = function () {
9276
+ return {
9277
+ id_empresa: this.idEmpresa.toString(),
9278
+ id_intfide: this.idInteresFideicomiso.toString(),
9279
+ mesint: this.mesInteres.toString(),
9280
+ anoint: this.anioInteres.toString(),
9281
+ nrogacint: this.numeroGacetaInteres,
9282
+ fecviggacint: this.fechaVigenciaGacetaInteres,
9283
+ montasint: this.montoTasaInteres.toString(),
9284
+ };
9285
+ };
9286
+ return MFideicomisoInteres;
9287
+ }(MBasicModel));
9288
+ var MCalculoPrestacion = /** @class */ (function (_super) {
9289
+ __extends(MCalculoPrestacion, _super);
9290
+ function MCalculoPrestacion(e) {
9291
+ if (e === void 0) { e = null; }
9292
+ var _this = _super.call(this) || this;
9293
+ _this.idEmpresa = 0;
9294
+ _this.mes = '';
9295
+ _this.anio = '';
9296
+ _this.cedulaDesde = '';
9297
+ _this.cedulaHasta = '';
9298
+ _this.mesCalculado = '';
9299
+ _this.anioCalculado = '';
9300
+ if (e) {
9301
+ _this.idEmpresa = parseInt(e.id_empresa);
9302
+ _this.mes = e.mes;
9303
+ _this.anio = e.anio;
9304
+ _this.cedulaDesde = e.cedula_desde;
9305
+ _this.cedulaDesde = e.cedula_hasta;
9306
+ _this.mesCalculado = e.mescal;
9307
+ _this.anioCalculado = e.aniocal;
9308
+ }
9309
+ else {
9310
+ _this.isNew = true;
9311
+ }
9312
+ return _this;
9313
+ }
9314
+ MCalculoPrestacion.prototype.dataInterface = function () {
9315
+ return {
9316
+ id_empresa: this.idEmpresa.toString(),
9317
+ mes: this.mes,
9318
+ anio: this.anio,
9319
+ cedula_desde: this.cedulaDesde,
9320
+ cedula_hasta: this.cedulaHasta,
9321
+ mescal: this.mesCalculado,
9322
+ aniocal: this.anioCalculado,
9323
+ };
9324
+ };
9325
+ return MCalculoPrestacion;
9326
+ }(MBasicModel));
9327
+ var MFideicomisoPeriodo = /** @class */ (function (_super) {
9328
+ __extends(MFideicomisoPeriodo, _super);
9329
+ function MFideicomisoPeriodo(e) {
9330
+ if (e === void 0) { e = null; }
9331
+ var _this = _super.call(this) || this;
9332
+ _this.idEmpresa = 0;
9333
+ _this.idPersonal = 0;
9334
+ _this.idNomina = 0;
9335
+ _this.codigoNomina = '';
9336
+ _this.idFideicomiso = 0;
9337
+ _this.anioCursoPeriodo = '';
9338
+ _this.mesCursoPeriodo = '';
9339
+ _this.sueldointergralPeronal = 0;
9340
+ _this.bonoExtraPersonal = 0;
9341
+ _this.bonoVacacionalPersonal = 0;
9342
+ _this.bonoFinPersonal = 0;
9343
+ _this.aportePersonal = 0;
9344
+ _this.diaFideicomiso = 0;
9345
+ _this.diaAdicional = 0;
9346
+ _this.metodoPrestacion = 0;
9347
+ _this.metodoAdicional = 0;
9348
+ _this.bonoVacionalAdicional = 0;
9349
+ _this.bonoFinAdicional = 0;
9350
+ _this.sueldoIntegralAdicional = 0;
9351
+ _this.aportePrestacion = 0;
9352
+ _this.aporteAdicionalPersonal = 0;
9353
+ _this.codigoUsuario = '';
9354
+ _this.idDtFideicomisoPeriodo = 0;
9355
+ _this.cedulaPersonal = '';
9356
+ _this.nombrePersonal = '';
9357
+ _this.apellidoPersonal = '';
9358
+ _this.fechaIngresoPersonal = '1900-01-01';
9359
+ _this.estatusPersonal = '';
9360
+ _this.codigoPersonal = '';
9361
+ _this.denominacionEstatus = '';
9362
+ _this.denominacionMes = '';
9363
+ if (e) {
9364
+ _this.idEmpresa = +e.id_empresa;
9365
+ _this.idPersonal = +e.id_personal;
9366
+ _this.idNomina = +e.id_nomina;
9367
+ _this.codigoNomina = e.codnom;
9368
+ _this.idFideicomiso = +e.id_dt_fideiperiodo;
9369
+ _this.anioCursoPeriodo = e.anocurper;
9370
+ _this.mesCursoPeriodo = e.mescurper;
9371
+ _this.sueldointergralPeronal = +e.sueintper;
9372
+ _this.bonoExtraPersonal = +e.bonextper;
9373
+ _this.bonoVacacionalPersonal = +e.bonvacper;
9374
+ _this.bonoFinPersonal = +e.bonfinper;
9375
+ _this.aportePersonal = +e.apoper;
9376
+ _this.diaFideicomiso = +e.diafid;
9377
+ _this.diaAdicional = +e.diaadi;
9378
+ _this.metodoPrestacion = +e.metodopre;
9379
+ _this.metodoAdicional = +e.metodoadi;
9380
+ _this.bonoVacionalAdicional = +e.bonvacadiper;
9381
+ _this.bonoFinAdicional = +e.bonfinadiper;
9382
+ _this.sueldoIntegralAdicional = +e.sueintadiper;
9383
+ _this.aportePrestacion = +e.apopreper;
9384
+ _this.aporteAdicionalPersonal = +e.apoadiper;
9385
+ _this.codigoUsuario = e.codusu;
9386
+ _this.idDtFideicomisoPeriodo = +e.id_dt_fideiperiodo;
9387
+ _this.cedulaPersonal = e.cedper;
9388
+ _this.nombrePersonal = e.nomper;
9389
+ _this.apellidoPersonal = e.apeper;
9390
+ _this.fechaIngresoPersonal = e.fecingper;
9391
+ _this.estatusPersonal = e.estper;
9392
+ _this.codigoPersonal = e.codper;
9393
+ _this.estatusPersonal == '0' ? _this.denominacionEstatus = 'PRE-INGRESO' :
9394
+ _this.estatusPersonal == '1' ? _this.denominacionEstatus = 'ACTIVO' :
9395
+ _this.estatusPersonal == '2' ? _this.denominacionEstatus = 'NINGUNO' :
9396
+ _this.estatusPersonal == '3' ? _this.denominacionEstatus = 'EGRESADO' :
9397
+ _this.estatusPersonal == '4' ? _this.denominacionEstatus = 'REMOCIÓN' :
9398
+ _this.estatusPersonal == '5' ? _this.denominacionEstatus = 'RETIRO' :
9399
+ _this.estatusPersonal == '6' ? _this.denominacionEstatus = 'DESTITUCIÓN' :
9400
+ _this.estatusPersonal == '7' ? _this.denominacionEstatus = 'LIQUIDACIÓN' : '';
9401
+ _this.mesCursoPeriodo == '01' ? _this.denominacionMes = 'ENERO' :
9402
+ _this.mesCursoPeriodo == '02' ? _this.denominacionMes = 'FEBREO' :
9403
+ _this.mesCursoPeriodo == '03' ? _this.denominacionMes = 'MARZO' :
9404
+ _this.mesCursoPeriodo == '04' ? _this.denominacionMes = 'ABRIL' :
9405
+ _this.mesCursoPeriodo == '05' ? _this.denominacionMes = 'MAYO' :
9406
+ _this.mesCursoPeriodo == '06' ? _this.denominacionMes = 'JUNIO' :
9407
+ _this.mesCursoPeriodo == '07' ? _this.denominacionMes = 'JULIO' : '';
9408
+ _this.mesCursoPeriodo == '08' ? _this.denominacionMes = 'AGOSTO' :
9409
+ _this.mesCursoPeriodo == '09' ? _this.denominacionMes = 'SEPTIEMBRE' :
9410
+ _this.mesCursoPeriodo == '10' ? _this.denominacionMes = 'OCTUBRE' :
9411
+ _this.mesCursoPeriodo == '11' ? _this.denominacionMes = 'NOVIEMBRE' :
9412
+ _this.mesCursoPeriodo == '12' ? _this.denominacionMes = 'DICIEMBRE' : '';
9413
+ }
9414
+ else {
9415
+ _this.isNew = true;
9416
+ }
9417
+ return _this;
9418
+ }
9419
+ return MFideicomisoPeriodo;
9420
+ }(MBasicModel));
9421
+ var MFideicomisoPeriodoInteresCatalogo = /** @class */ (function (_super) {
9422
+ __extends(MFideicomisoPeriodoInteresCatalogo, _super);
9423
+ function MFideicomisoPeriodoInteresCatalogo(e) {
9424
+ if (e === void 0) { e = null; }
9425
+ var _this = _super.call(this) || this;
9426
+ _this.idPersonal = 0;
9427
+ _this.codigoPersonal = '';
9428
+ _this.cedulaPersonal = '';
9429
+ _this.nombrePersonal = '';
9430
+ _this.apellidoPersonal = '';
9431
+ _this.fechaIngresoPersonal = '1900-01-01';
9432
+ _this.estatusPersonal = '';
9433
+ _this.denominacionEstatus = '';
9434
+ _this.interes = [];
9435
+ if (e) {
9436
+ _this.idPersonal = +e.id_personal;
9437
+ _this.codigoPersonal = e.codper;
9438
+ _this.cedulaPersonal = e.cedper;
9439
+ _this.nombrePersonal = e.nomper;
9440
+ _this.apellidoPersonal = e.apeper;
9441
+ _this.estatusPersonal = e.estper;
9442
+ _this.fechaIngresoPersonal = e.fecingper;
9443
+ _this.estatusPersonal == '0' ? _this.denominacionEstatus = 'PRE-INGRESO' :
9444
+ _this.estatusPersonal == '1' ? _this.denominacionEstatus = 'ACTIVO' :
9445
+ _this.estatusPersonal == '2' ? _this.denominacionEstatus = 'NINGUNO' :
9446
+ _this.estatusPersonal == '3' ? _this.denominacionEstatus = 'EGRESADO' :
9447
+ _this.estatusPersonal == '4' ? _this.denominacionEstatus = 'REMOCIÓN' :
9448
+ _this.estatusPersonal == '5' ? _this.denominacionEstatus = 'RETIRO' :
9449
+ _this.estatusPersonal == '6' ? _this.denominacionEstatus = 'DESTITUCIÓN' :
9450
+ _this.estatusPersonal == '7' ? _this.denominacionEstatus = 'LIQUIDACIÓN' : '';
9451
+ if (e.intereses) {
9452
+ _this.interes = e.intereses.map(function (e) { return new MFideicomisoPeriodoInteres(e); });
9453
+ }
9454
+ }
9455
+ else {
9456
+ _this.isNew = true;
9457
+ }
9458
+ return _this;
9459
+ }
9460
+ return MFideicomisoPeriodoInteresCatalogo;
9461
+ }(MBasicModel));
9462
+ var MFideicomisoPeriodoInteres = /** @class */ (function (_super) {
9463
+ __extends(MFideicomisoPeriodoInteres, _super);
9464
+ function MFideicomisoPeriodoInteres(e) {
9465
+ if (e === void 0) { e = null; }
9466
+ var _this = _super.call(this) || this;
9467
+ _this.idEmpresa = 0;
9468
+ _this.idPersonal = 0;
9469
+ _this.idNomina = 0;
9470
+ _this.mesInteres = 0;
9471
+ _this.anioInteres = '';
9472
+ _this.montoAnteriorAcumulado = 0;
9473
+ _this.montoAnterior = 0;
9474
+ _this.porcentajeInteres = 0;
9475
+ _this.montoInteres = 0;
9476
+ _this.montoCapital = 0;
9477
+ _this.anticipoPrestamo = 0;
9478
+ _this.idDtFide = 0;
9479
+ _this.cedulaPersonal = '';
9480
+ _this.nombrePersonal = '';
9481
+ _this.apellidoPersonal = '';
9482
+ _this.fechaIngresoPersonal = '1900-01-01';
9483
+ _this.estatusPersonal = '';
9484
+ _this.codigoPersonal = '';
9485
+ _this.denominacionEstatus = '';
9486
+ _this.denominacionMes = '';
9487
+ _this.capital = 0;
9488
+ _this.codigoNomina = '';
9489
+ if (e) {
9490
+ _this.idEmpresa = +e.id_empresa;
9491
+ _this.idPersonal = +e.id_personal;
9492
+ _this.idNomina = +e.id_nomina;
9493
+ _this.mesInteres = +e.mesint;
9494
+ _this.anioInteres = e.anoint;
9495
+ _this.montoAnteriorAcumulado = +e.monantacu;
9496
+ _this.montoAnterior = +e.monant;
9497
+ _this.porcentajeInteres = +e.porint;
9498
+ _this.montoInteres = +e.monint;
9499
+ _this.montoCapital = +e.moncap;
9500
+ _this.anticipoPrestamo = +e.antpre;
9501
+ _this.capital = +e.capital;
9502
+ _this.idDtFide = +e.id_dt_fidperint;
9503
+ _this.cedulaPersonal = e.cedper;
9504
+ _this.nombrePersonal = e.nomper;
9505
+ _this.apellidoPersonal = e.apeper;
9506
+ _this.fechaIngresoPersonal = e.fecingper;
9507
+ _this.estatusPersonal = e.estper;
9508
+ _this.codigoPersonal = e.codper;
9509
+ _this.estatusPersonal == '0' ? _this.denominacionEstatus = 'PRE-INGRESO' :
9510
+ _this.estatusPersonal == '1' ? _this.denominacionEstatus = 'ACTIVO' :
9511
+ _this.estatusPersonal == '2' ? _this.denominacionEstatus = 'NINGUNO' :
9512
+ _this.estatusPersonal == '3' ? _this.denominacionEstatus = 'EGRESADO' :
9513
+ _this.estatusPersonal == '4' ? _this.denominacionEstatus = 'REMOCIÓN' :
9514
+ _this.estatusPersonal == '5' ? _this.denominacionEstatus = 'RETIRO' :
9515
+ _this.estatusPersonal == '6' ? _this.denominacionEstatus = 'DESTITUCIÓN' :
9516
+ _this.estatusPersonal == '7' ? _this.denominacionEstatus = 'LIQUIDACIÓN' : '';
9517
+ _this.mesInteres == 1 ? _this.denominacionMes = 'ENERO' :
9518
+ _this.mesInteres == 2 ? _this.denominacionMes = 'FEBREO' :
9519
+ _this.mesInteres == 3 ? _this.denominacionMes = 'MARZO' :
9520
+ _this.mesInteres == 4 ? _this.denominacionMes = 'ABRIL' :
9521
+ _this.mesInteres == 5 ? _this.denominacionMes = 'MAYO' :
9522
+ _this.mesInteres == 6 ? _this.denominacionMes = 'JUNIO' :
9523
+ _this.mesInteres == 7 ? _this.denominacionMes = 'JULIO' : '';
9524
+ _this.mesInteres == 8 ? _this.denominacionMes = 'AGOSTO' :
9525
+ _this.mesInteres == 9 ? _this.denominacionMes = 'SEPTIEMBRE' :
9526
+ _this.mesInteres == 10 ? _this.denominacionMes = 'OCTUBRE' :
9527
+ _this.mesInteres == 11 ? _this.denominacionMes = 'NOVIEMBRE' :
9528
+ _this.mesInteres == 12 ? _this.denominacionMes = 'DICIEMBRE' : '';
9529
+ _this.codigoNomina = e.codnom;
9530
+ }
9531
+ else {
9532
+ _this.isNew = true;
9533
+ }
9534
+ return _this;
9535
+ }
9536
+ return MFideicomisoPeriodoInteres;
8968
9537
  }(MBasicModel));
8969
9538
 
8970
9539
  var MFormacionAcademica = /** @class */ (function (_super) {
@@ -9040,6 +9609,9 @@
9040
9609
  _this.IdDetallePrima = parseInt(e.id_dt_prima);
9041
9610
  _this.isNew = false;
9042
9611
  }
9612
+ else {
9613
+ _this.isNew = true;
9614
+ }
9043
9615
  return _this;
9044
9616
  }
9045
9617
  MPrimaGrados.prototype.dataInterface = function () {
@@ -9126,6 +9698,9 @@
9126
9698
  _this.codigoConcepto = e.codconc;
9127
9699
  _this.nombreConcepto = e.nomcon;
9128
9700
  }
9701
+ else {
9702
+ _this.isNew = true;
9703
+ }
9129
9704
  return _this;
9130
9705
  }
9131
9706
  MPrimasConcepto.prototype.dataInterface = function () {
@@ -9168,6 +9743,9 @@
9168
9743
  _this.requisitosEntregado = e.entreqcon;
9169
9744
  _this.cantidadEntregado = parseInt(e.canentreqcon);
9170
9745
  }
9746
+ else {
9747
+ _this.isNew = true;
9748
+ }
9171
9749
  return _this;
9172
9750
  }
9173
9751
  MRequisitosConcursante.prototype.dataInterface = function () {
@@ -9588,7 +10166,7 @@
9588
10166
  if (e === void 0) { e = null; }
9589
10167
  var _this = _super.call(this) || this;
9590
10168
  _this.idEmpresa = 0;
9591
- _this.idTabulador = 0;
10169
+ _this.idTabulador = -1;
9592
10170
  _this.codigoTabulador = '';
9593
10171
  _this.descripcionTabulador = '';
9594
10172
  _this.totalPasosXGrados = 0;
@@ -9641,20 +10219,28 @@
9641
10219
  this.idTabulador = 0;
9642
10220
  this.codigoNomina = '';
9643
10221
  this.denominacionNomina = '';
9644
- this.estatusNomina = '';
10222
+ this.estatus = '';
9645
10223
  this.idDtNomina = 0;
9646
10224
  this.periodoActualNomina = '001';
9647
- this.periodosNomina = [];
10225
+ this.idPeriodoActual = 0;
10226
+ this.nominaRac = 0;
10227
+ this.descripcionPeriodoNomina = '';
10228
+ this.prenomina = false;
10229
+ this.editable = false;
10230
+ this.calculada = false;
9648
10231
  if (e) {
9649
10232
  this.idEmpresa = parseInt(e.id_empresa);
9650
10233
  this.idNomina = parseInt(e.id_nomina);
9651
10234
  this.idTabulador = parseInt(e.id_tabulador);
9652
10235
  this.codigoNomina = e.codnom;
9653
10236
  this.denominacionNomina = e.dennom;
9654
- this.estatusNomina = e.estnom;
9655
10237
  this.idDtNomina = parseInt(e.id_dt_tabnom);
9656
10238
  this.periodoActualNomina = e.peractnom;
9657
- this.periodosNomina = e.periodos.map(function (e) { return new MPeriodoNomina(e); });
10239
+ this.calculada = e.calculado == '1' ? true : false;
10240
+ this.prenomina = e.prenomina == '1' ? true : false;
10241
+ this.estatus = this.calculada ? 'Calculada' :
10242
+ !this.calculada && this.prenomina ? 'Pre-Calculada' : 'Sin Calcular';
10243
+ this.editable = (this.calculada || this.prenomina) ? false : true;
9658
10244
  }
9659
10245
  }
9660
10246
  MTabuladorNominas.prototype.dataInterface = function () {
@@ -9662,22 +10248,9 @@
9662
10248
  id_empresa: this.idEmpresa.toString(),
9663
10249
  id_nomina: this.idNomina.toString(),
9664
10250
  id_tabulador: this.idTabulador.toString(),
9665
- codnom: this.codigoNomina,
9666
- dennom: this.denominacionNomina,
9667
- estnom: this.estatusNomina,
9668
- id_dt_tabnom: this.idDtNomina.toString(),
9669
- periodos: this.periodosNomina.map((function (e) { return e.dataInterface(); })),
9670
- peractnom: this.periodoActualNomina,
10251
+ id_dt_tabnom: this.idDtNomina.toString()
9671
10252
  };
9672
10253
  };
9673
- MTabuladorNominas.prototype.indice = function () {
9674
- var _this = this;
9675
- return this.periodosNomina.findIndex(function (e) { return e.codigoPeriodo == _this.periodoActualNomina; });
9676
- };
9677
- MTabuladorNominas.prototype.editable = function () {
9678
- var i = this.indice();
9679
- return this.periodosNomina[i].periodoEditable();
9680
- };
9681
10254
  return MTabuladorNominas;
9682
10255
  }());
9683
10256
 
@@ -10248,6 +10821,140 @@
10248
10821
  return MPersonalJubilado;
10249
10822
  }(MBasicModel));
10250
10823
 
10824
+ var MPermisos = /** @class */ (function (_super) {
10825
+ __extends(MPermisos, _super);
10826
+ function MPermisos(e) {
10827
+ var _this = _super.call(this) || this;
10828
+ _this.idEmpresa = 0;
10829
+ _this.idPersonal = 0;
10830
+ _this.idPermiso = 0;
10831
+ _this.fechaInicioPermiso = '';
10832
+ _this.fechaFinPermiso = '';
10833
+ _this.numeroDiasPermiso = 0;
10834
+ _this.afectaVacaionesPermiso = '0';
10835
+ _this.tipoPermiso = '2';
10836
+ _this.observacionPermiso = '';
10837
+ _this.remuneradoPermiso = '1';
10838
+ _this.totalHorasPermiso = 0;
10839
+ _this.descontarVacaciones = 0;
10840
+ _this.codigoPermiso = '';
10841
+ _this.idTipoEnfermedad = 0;
10842
+ _this.denominacionEnfermedad = '';
10843
+ if (e) {
10844
+ _this.idEmpresa = +e.id_empresa;
10845
+ _this.idPersonal = +e.id_personal;
10846
+ _this.idPermiso = +e.id_permiso;
10847
+ _this.fechaInicioPermiso = e.fecfinper;
10848
+ _this.fechaFinPermiso = e.fecfinper;
10849
+ _this.numeroDiasPermiso = +e.numdiapero;
10850
+ _this.afectaVacaionesPermiso = e.afevacper.toString();
10851
+ _this.tipoPermiso = e.tipper.toString();
10852
+ _this.observacionPermiso = e.obsper;
10853
+ _this.remuneradoPermiso = e.remper.toString();
10854
+ _this.totalHorasPermiso = +e.tothorper;
10855
+ _this.descontarVacaciones = +e.desvacper;
10856
+ _this.codigoPermiso = e.codpermiso;
10857
+ _this.idTipoEnfermedad = parseInt(e.id_enfermedad);
10858
+ _this.denominacionEnfermedad = e.denenf;
10859
+ }
10860
+ else {
10861
+ _this.isNew = true;
10862
+ }
10863
+ return _this;
10864
+ }
10865
+ MPermisos.prototype.dataInterface = function () {
10866
+ return {
10867
+ id_empresa: this.idEmpresa,
10868
+ id_personal: this.idPersonal,
10869
+ id_permiso: this.idPermiso,
10870
+ feciniper: this.fechaInicioPermiso,
10871
+ fecfinper: this.fechaFinPermiso,
10872
+ numdiapero: this.numeroDiasPermiso,
10873
+ afevacper: +this.afectaVacaionesPermiso,
10874
+ tipper: +this.tipoPermiso,
10875
+ obsper: this.observacionPermiso,
10876
+ remper: +this.remuneradoPermiso,
10877
+ tothorper: this.totalHorasPermiso,
10878
+ desvacper: this.descontarVacaciones,
10879
+ codpermiso: this.codigoPermiso,
10880
+ id_enfermedad: this.idTipoEnfermedad.toString(),
10881
+ denenf: this.denominacionEnfermedad
10882
+ };
10883
+ };
10884
+ return MPermisos;
10885
+ }(MBasicModel));
10886
+
10887
+ var MCargaMasiva = /** @class */ (function (_super) {
10888
+ __extends(MCargaMasiva, _super);
10889
+ function MCargaMasiva(e) {
10890
+ if (e === void 0) { e = null; }
10891
+ var _this = _super.call(this) || this;
10892
+ _this.proceso = '';
10893
+ _this.id_nomina = 0;
10894
+ _this.tipo = '';
10895
+ _this.nombreArchivo = '';
10896
+ _this.base64textString = '';
10897
+ _this.modulo = '';
10898
+ if (e) {
10899
+ _this.proceso = e.proceso;
10900
+ _this.id_nomina = e.id_nomina;
10901
+ _this.tipo = e.tipo;
10902
+ _this.nombreArchivo = e.nombreArchivo;
10903
+ _this.base64textString = e.base64textString;
10904
+ _this.modulo = e.modulo;
10905
+ }
10906
+ else {
10907
+ _this.isNew;
10908
+ }
10909
+ return _this;
10910
+ }
10911
+ MCargaMasiva.prototype.dataInterface = function () {
10912
+ return {
10913
+ proceso: this.proceso,
10914
+ id_nomina: this.id_nomina,
10915
+ tipo: this.tipo,
10916
+ nombreArchivo: this.nombreArchivo,
10917
+ base64textString: this.base64textString,
10918
+ modulo: this.modulo
10919
+ };
10920
+ };
10921
+ return MCargaMasiva;
10922
+ }(MBasicModel));
10923
+
10924
+ var MPlantillasConstancia = /** @class */ (function (_super) {
10925
+ __extends(MPlantillasConstancia, _super);
10926
+ function MPlantillasConstancia(e) {
10927
+ if (e === void 0) { e = null; }
10928
+ var _this = _super.call(this) || this;
10929
+ _this.idConstancia = 0;
10930
+ _this.codigoConstancia = '';
10931
+ _this.descripcionConstancia = '';
10932
+ _this.plantillaRTF = '';
10933
+ _this.archivoConstancia = '';
10934
+ if (e) {
10935
+ _this.idConstancia = e.id_constancia;
10936
+ _this.codigoConstancia = e.codconstra;
10937
+ _this.descripcionConstancia = e.desconstra;
10938
+ _this.plantillaRTF = e.plantilla_rtf;
10939
+ _this.archivoConstancia = e.archivo;
10940
+ }
10941
+ else {
10942
+ _this.isNew = true;
10943
+ }
10944
+ return _this;
10945
+ }
10946
+ MPlantillasConstancia.prototype.dataInterface = function () {
10947
+ return {
10948
+ id_constancia: this.idConstancia,
10949
+ codconstra: this.codigoConstancia,
10950
+ desconstra: this.descripcionConstancia,
10951
+ plantilla_rtf: this.plantillaRTF,
10952
+ archivo: this.archivoConstancia
10953
+ };
10954
+ };
10955
+ return MPlantillasConstancia;
10956
+ }(MBasicModel));
10957
+
10251
10958
  var customPaginator = /** @class */ (function (_super) {
10252
10959
  __extends(customPaginator, _super);
10253
10960
  function customPaginator() {
@@ -10296,7 +11003,9 @@
10296
11003
  exports.MBankAccountType = MBankAccountType;
10297
11004
  exports.MBasicModel = MBasicModel;
10298
11005
  exports.MBeneficiario = MBeneficiario;
11006
+ exports.MCalculoPrestacion = MCalculoPrestacion;
10299
11007
  exports.MCargaFamiliar = MCargaFamiliar;
11008
+ exports.MCargaMasiva = MCargaMasiva;
10300
11009
  exports.MCargo = MCargo;
10301
11010
  exports.MCargosPersonal = MCargosPersonal;
10302
11011
  exports.MCentroCosto = MCentroCosto;
@@ -10320,6 +11029,7 @@
10320
11029
  exports.MConcurso = MConcurso;
10321
11030
  exports.MConfigSOC = MConfigSOC;
10322
11031
  exports.MConfigSSS = MConfigSSS;
11032
+ exports.MConfiguracionFideicomiso = MConfiguracionFideicomiso;
10323
11033
  exports.MConfiguracionSCG = MConfiguracionSCG;
10324
11034
  exports.MConfiguracionSNO = MConfiguracionSNO;
10325
11035
  exports.MConfigurationRPC = MConfigurationRPC;
@@ -10356,6 +11066,10 @@
10356
11066
  exports.MFamiliares = MFamiliares;
10357
11067
  exports.MFeriados = MFeriados;
10358
11068
  exports.MFideicomiso = MFideicomiso;
11069
+ exports.MFideicomisoInteres = MFideicomisoInteres;
11070
+ exports.MFideicomisoPeriodo = MFideicomisoPeriodo;
11071
+ exports.MFideicomisoPeriodoInteres = MFideicomisoPeriodoInteres;
11072
+ exports.MFideicomisoPeriodoInteresCatalogo = MFideicomisoPeriodoInteresCatalogo;
10359
11073
  exports.MFormacionAcademica = MFormacionAcademica;
10360
11074
  exports.MFuenteFinanciamiento = MFuenteFinanciamiento;
10361
11075
  exports.MGrados = MGrados;
@@ -10365,14 +11079,16 @@
10365
11079
  exports.MMoneda = MMoneda;
10366
11080
  exports.MMonedaConfig = MMonedaConfig;
10367
11081
  exports.MMunicipality = MMunicipality;
10368
- exports.MNominaSimple = MNominaSimple;
11082
+ exports.MNominaSimple = MNominaSimple$1;
10369
11083
  exports.MOrganizationType = MOrganizationType;
10370
11084
  exports.MParish = MParish;
10371
11085
  exports.MPeriodoNomina = MPeriodoNomina;
11086
+ exports.MPermisos = MPermisos;
10372
11087
  exports.MPersonal = MPersonal;
10373
11088
  exports.MPersonalJubilado = MPersonalJubilado;
10374
11089
  exports.MPersonalNomina = MPersonalNomina;
10375
11090
  exports.MPlanUnicoCuenta = MPlanUnicoCuenta;
11091
+ exports.MPlantillasConstancia = MPlantillasConstancia;
10376
11092
  exports.MPrimaGrados = MPrimaGrados;
10377
11093
  exports.MPrimasConcepto = MPrimasConcepto;
10378
11094
  exports.MProveedor = MProveedor;
@@ -10401,6 +11117,7 @@
10401
11117
  exports.MTipoPersonal = MTipoPersonal;
10402
11118
  exports.MTiposEnfermedad = MTiposEnfermedad;
10403
11119
  exports.MTrabajoAnterior = MTrabajoAnterior;
11120
+ exports.MTrabajosConcursantes = MTrabajosConcursantes;
10404
11121
  exports.MUbicacionFisica = MUbicacionFisica;
10405
11122
  exports.MUnidadTributaria = MUnidadTributaria;
10406
11123
  exports.MUserDetail = MUserDetail;