sigesp 0.9.87-20231113 → 0.9.88-20231115
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.
- package/bundles/sigesp.umd.js +152 -43
- package/bundles/sigesp.umd.js.map +1 -1
- package/bundles/sigesp.umd.min.js +1 -1
- package/bundles/sigesp.umd.min.js.map +1 -1
- package/esm2015/lib/core/interfaces/Presupuesto.js +1 -1
- package/esm2015/lib/core/interfaces/Tributos.js +1 -1
- package/esm2015/lib/core/models/SPG/administrativeUnit.model.js +63 -1
- package/esm2015/lib/core/models/SPG/fuenteFinanciamiento.model.js +23 -7
- package/esm2015/lib/core/models/STB/MCargosAdicionales.js +25 -3
- package/esm2015/public-api.js +2 -2
- package/fesm2015/sigesp.js +106 -9
- package/fesm2015/sigesp.js.map +1 -1
- package/lib/core/interfaces/Presupuesto.d.ts +38 -0
- package/lib/core/interfaces/Tributos.d.ts +8 -0
- package/lib/core/models/SPG/administrativeUnit.model.d.ts +42 -2
- package/lib/core/models/SPG/fuenteFinanciamiento.model.d.ts +4 -2
- package/lib/core/models/STB/MCargosAdicionales.d.ts +10 -1
- package/package.json +1 -1
- package/public-api.d.ts +3 -3
- package/sigesp.metadata.json +1 -1
package/bundles/sigesp.umd.js
CHANGED
|
@@ -2226,16 +2226,33 @@
|
|
|
2226
2226
|
return MUsuarioCentroCosto;
|
|
2227
2227
|
}(MBasicModel));
|
|
2228
2228
|
|
|
2229
|
-
var MFuenteFinanciamiento = /** @class */ (function () {
|
|
2229
|
+
var MFuenteFinanciamiento = /** @class */ (function (_super) {
|
|
2230
|
+
__extends(MFuenteFinanciamiento, _super);
|
|
2230
2231
|
function MFuenteFinanciamiento(fuente) {
|
|
2231
|
-
|
|
2232
|
-
|
|
2233
|
-
|
|
2234
|
-
|
|
2235
|
-
|
|
2232
|
+
var _this = _super.call(this) || this;
|
|
2233
|
+
if (fuente) {
|
|
2234
|
+
_this.codigoFuenteFinanciamiento = fuente.codfuefin;
|
|
2235
|
+
_this.denominacionFuenteFinanciamiento = fuente.denfuefin;
|
|
2236
|
+
_this.explicacionFuenteFinanciamiento = fuente.expfuefin;
|
|
2237
|
+
_this.idEmpresa = fuente.id_empresa;
|
|
2238
|
+
_this.codigo = fuente.codigoftefin;
|
|
2239
|
+
}
|
|
2240
|
+
else {
|
|
2241
|
+
_this.isNew = true;
|
|
2242
|
+
}
|
|
2243
|
+
return _this;
|
|
2236
2244
|
}
|
|
2245
|
+
MFuenteFinanciamiento.prototype.dataInterface = function () {
|
|
2246
|
+
return {
|
|
2247
|
+
codfuefin: this.codigoFuenteFinanciamiento,
|
|
2248
|
+
denfuefin: this.denominacionFuenteFinanciamiento,
|
|
2249
|
+
expfuefin: this.explicacionFuenteFinanciamiento,
|
|
2250
|
+
id_empresa: this.idEmpresa,
|
|
2251
|
+
codigoftefin: this.codigo,
|
|
2252
|
+
};
|
|
2253
|
+
};
|
|
2237
2254
|
return MFuenteFinanciamiento;
|
|
2238
|
-
}());
|
|
2255
|
+
}(MBasicModel));
|
|
2239
2256
|
|
|
2240
2257
|
var MCuentaEgresos = /** @class */ (function () {
|
|
2241
2258
|
function MCuentaEgresos(cuenta) {
|
|
@@ -3800,6 +3817,7 @@
|
|
|
3800
3817
|
_this.centroCosto = '';
|
|
3801
3818
|
_this.id = 0;
|
|
3802
3819
|
_this.denominacionUnidadCentral = '';
|
|
3820
|
+
_this.estructuras = [];
|
|
3803
3821
|
if (unidad) {
|
|
3804
3822
|
_this.idEmpresa = unidad.id_empresa;
|
|
3805
3823
|
_this.idEnterprise = unidad.id_enterprise;
|
|
@@ -3810,6 +3828,7 @@
|
|
|
3810
3828
|
_this.centroCosto = unidad.codcencos;
|
|
3811
3829
|
_this.id = unidad.id_uniadm;
|
|
3812
3830
|
_this.denominacionUnidadCentral = unidad.denuac;
|
|
3831
|
+
_this.estructuras = unidad.estructuras.map(function (e) { return new MEstructuras(e); });
|
|
3813
3832
|
}
|
|
3814
3833
|
else {
|
|
3815
3834
|
_this.isNew = true;
|
|
@@ -3826,9 +3845,74 @@
|
|
|
3826
3845
|
estemireq: this.emiteRequisicion,
|
|
3827
3846
|
codcencos: this.centroCosto,
|
|
3828
3847
|
id_uniadm: this.id,
|
|
3848
|
+
estructuras: this.estructuras.map(function (e) { return e.dataInterface(); }),
|
|
3829
3849
|
};
|
|
3830
3850
|
};
|
|
3831
3851
|
return MAdministrativeUnit;
|
|
3852
|
+
}(MBasicModel));
|
|
3853
|
+
var MEstructuras = /** @class */ (function (_super) {
|
|
3854
|
+
__extends(MEstructuras, _super);
|
|
3855
|
+
function MEstructuras(dt) {
|
|
3856
|
+
var _this = _super.call(this) || this;
|
|
3857
|
+
_this.fuentes = [];
|
|
3858
|
+
if (dt) {
|
|
3859
|
+
_this.cuentaContable = dt.cuentacontable;
|
|
3860
|
+
_this.cuentaPresupuestaria = dt.cuentapresupuestaria;
|
|
3861
|
+
_this.denominacion = dt.denominacion;
|
|
3862
|
+
_this.estructura = dt.estructura;
|
|
3863
|
+
_this.fuentes = dt.fuentes.map(function (e) { return new MFuenteFinanciamiento(e); });
|
|
3864
|
+
_this.idEp1 = parseInt(dt.id_ep1);
|
|
3865
|
+
_this.idEp2 = parseInt(dt.id_ep2);
|
|
3866
|
+
_this.idEp3 = parseInt(dt.id_ep3);
|
|
3867
|
+
_this.idEp4 = parseInt(dt.id_ep4);
|
|
3868
|
+
_this.idEp5 = parseInt(dt.id_ep5);
|
|
3869
|
+
_this.monto = parseFloat(dt.monto);
|
|
3870
|
+
_this.estatus = dt.status;
|
|
3871
|
+
_this.codigoEep1 = dt.codeep1;
|
|
3872
|
+
_this.codigoEep2 = dt.codeep2;
|
|
3873
|
+
_this.codigoEep3 = dt.codeep3;
|
|
3874
|
+
_this.codigoEep4 = dt.codeep4;
|
|
3875
|
+
_this.codigoEep5 = dt.codeep5;
|
|
3876
|
+
_this.denominacionEstructura = dt.denestructura;
|
|
3877
|
+
_this.denominacion5 = dt.status;
|
|
3878
|
+
_this.denominacion3 = dt.status;
|
|
3879
|
+
_this.idDtUni = parseInt(dt.id_dt_uniadm);
|
|
3880
|
+
_this.idUnidadAdministrativa = parseInt(dt.id_uniadm);
|
|
3881
|
+
}
|
|
3882
|
+
return _this;
|
|
3883
|
+
}
|
|
3884
|
+
MEstructuras.prototype.dataInterface = function () {
|
|
3885
|
+
return {
|
|
3886
|
+
id_ep1: this.idEp1.toString(),
|
|
3887
|
+
id_ep2: this.idEp2.toString(),
|
|
3888
|
+
id_ep3: this.idEp3.toString(),
|
|
3889
|
+
id_ep4: this.idEp4.toString(),
|
|
3890
|
+
id_ep5: this.idEp5.toString(),
|
|
3891
|
+
id_dt_uniadm: this.idDtUni.toString(),
|
|
3892
|
+
id_uniadm: this.idUnidadAdministrativa.toString(),
|
|
3893
|
+
};
|
|
3894
|
+
};
|
|
3895
|
+
return MEstructuras;
|
|
3896
|
+
}(MBasicModel));
|
|
3897
|
+
var MCuentasSpSC = /** @class */ (function (_super) {
|
|
3898
|
+
__extends(MCuentasSpSC, _super);
|
|
3899
|
+
function MCuentasSpSC(dt) {
|
|
3900
|
+
var _this = _super.call(this) || this;
|
|
3901
|
+
if (dt) {
|
|
3902
|
+
_this.codioCentroCosto = dt.codcencos;
|
|
3903
|
+
_this.codigoFFMostrar = dt.codigoftefin;
|
|
3904
|
+
_this.codigoUnidadAdministradora = dt.coduniadm;
|
|
3905
|
+
_this.denominacionCuenta = dt.denominacion;
|
|
3906
|
+
_this.estructura = dt.estructura;
|
|
3907
|
+
_this.cuentaContable = dt.cuentacontable;
|
|
3908
|
+
_this.cuentaPresupuestaria = dt.cuentapresupuestaria;
|
|
3909
|
+
_this.estatusClasificacion = dt.estcla;
|
|
3910
|
+
_this.denominacionEstatusClasificacion = dt.denestcla;
|
|
3911
|
+
_this.tipo = dt.tipo;
|
|
3912
|
+
}
|
|
3913
|
+
return _this;
|
|
3914
|
+
}
|
|
3915
|
+
return MCuentasSpSC;
|
|
3832
3916
|
}(MBasicModel));
|
|
3833
3917
|
|
|
3834
3918
|
var MComponent = /** @class */ (function (_super) {
|
|
@@ -6355,46 +6439,66 @@
|
|
|
6355
6439
|
return MExchangeRate;
|
|
6356
6440
|
}(MBasicModel));
|
|
6357
6441
|
|
|
6358
|
-
var MCargosAdicionales = /** @class */ (function () {
|
|
6442
|
+
var MCargosAdicionales = /** @class */ (function (_super) {
|
|
6443
|
+
__extends(MCargosAdicionales, _super);
|
|
6359
6444
|
//public estadoTipoPresupuesto: string = "E"
|
|
6360
6445
|
function MCargosAdicionales(charge) {
|
|
6361
|
-
|
|
6362
|
-
|
|
6363
|
-
|
|
6364
|
-
|
|
6365
|
-
|
|
6366
|
-
|
|
6367
|
-
|
|
6368
|
-
|
|
6369
|
-
|
|
6370
|
-
|
|
6371
|
-
|
|
6372
|
-
|
|
6373
|
-
|
|
6374
|
-
|
|
6375
|
-
|
|
6376
|
-
|
|
6377
|
-
|
|
6446
|
+
var _this = _super.call(this) || this;
|
|
6447
|
+
_this.isNew = false;
|
|
6448
|
+
_this.error = false;
|
|
6449
|
+
_this.idEmpresa = 0;
|
|
6450
|
+
_this.id = 0;
|
|
6451
|
+
_this.codigo = "";
|
|
6452
|
+
_this.denominacion = "";
|
|
6453
|
+
_this.codigoEstruraPresupuestaria = '';
|
|
6454
|
+
_this.porcentaje = 0;
|
|
6455
|
+
_this.formula = "";
|
|
6456
|
+
_this.tipo = 0;
|
|
6457
|
+
_this.cuenta = "";
|
|
6458
|
+
_this.idEp1 = 0;
|
|
6459
|
+
_this.idEp2 = 0;
|
|
6460
|
+
_this.idEp3 = 0;
|
|
6461
|
+
_this.idEp4 = 0;
|
|
6462
|
+
_this.idEp5 = 0;
|
|
6463
|
+
_this.denominacionCuenta = '';
|
|
6464
|
+
_this.idUnidadOrganizativa = 0;
|
|
6465
|
+
_this.codigoUnidadOrganizativa = '';
|
|
6466
|
+
_this.denominacionUnidadOrganizativa = '';
|
|
6467
|
+
_this.codigoCentroCosto = '---';
|
|
6468
|
+
_this.denominacionCentroCosto = '';
|
|
6469
|
+
_this.codigoFuenteFinanciamiento = 0;
|
|
6470
|
+
_this.codigoFuenteFinanciamientoMostrar = '';
|
|
6471
|
+
_this.denominacionFuenteFinanciamiento = '';
|
|
6378
6472
|
if (charge) {
|
|
6379
|
-
|
|
6380
|
-
|
|
6381
|
-
|
|
6382
|
-
|
|
6383
|
-
|
|
6384
|
-
|
|
6385
|
-
|
|
6386
|
-
|
|
6387
|
-
|
|
6388
|
-
|
|
6389
|
-
|
|
6390
|
-
|
|
6391
|
-
|
|
6392
|
-
|
|
6393
|
-
|
|
6473
|
+
_this.idEmpresa = parseInt(charge.id_empresa);
|
|
6474
|
+
_this.id = parseInt(charge.id_cargoadi);
|
|
6475
|
+
_this.codigo = charge.codcar;
|
|
6476
|
+
_this.denominacion = charge.dencar;
|
|
6477
|
+
_this.codigoEstruraPresupuestaria = charge.codestpre;
|
|
6478
|
+
_this.porcentaje = parseFloat(charge.porcar);
|
|
6479
|
+
_this.formula = charge.formula;
|
|
6480
|
+
_this.tipo = parseInt(charge.tipo);
|
|
6481
|
+
_this.cuenta = charge.cuenta;
|
|
6482
|
+
_this.idEp1 = +charge.id_ep1;
|
|
6483
|
+
_this.idEp2 = +charge.id_ep2;
|
|
6484
|
+
_this.idEp3 = +charge.id_ep3;
|
|
6485
|
+
_this.idEp4 = +charge.id_ep4;
|
|
6486
|
+
_this.idEp5 = +charge.id_ep5;
|
|
6487
|
+
_this.denominacionCuenta = charge.dencuenta;
|
|
6488
|
+
_this.denominacionCuenta = charge.dencuenta;
|
|
6489
|
+
_this.idUnidadOrganizativa = +charge.id_uniadm;
|
|
6490
|
+
_this.codigoUnidadOrganizativa = charge.coduniadm;
|
|
6491
|
+
_this.denominacionUnidadOrganizativa = charge.denuniadm;
|
|
6492
|
+
_this.codigoCentroCosto = charge.codcencos;
|
|
6493
|
+
_this.denominacionCentroCosto = charge.dencencos;
|
|
6494
|
+
_this.codigoFuenteFinanciamiento = +charge.codfuefin;
|
|
6495
|
+
_this.codigoFuenteFinanciamientoMostrar = charge.codigoftefin;
|
|
6496
|
+
_this.denominacionFuenteFinanciamiento = charge.denfuefin;
|
|
6394
6497
|
}
|
|
6395
6498
|
else {
|
|
6396
|
-
|
|
6499
|
+
_this.isNew = true;
|
|
6397
6500
|
}
|
|
6501
|
+
return _this;
|
|
6398
6502
|
}
|
|
6399
6503
|
MCargosAdicionales.prototype.dataInterface = function () {
|
|
6400
6504
|
return {
|
|
@@ -6412,11 +6516,14 @@
|
|
|
6412
6516
|
id_ep3: this.idEp3.toString(),
|
|
6413
6517
|
id_ep4: this.idEp4.toString(),
|
|
6414
6518
|
id_ep5: this.idEp5.toString(),
|
|
6415
|
-
dencuenta: this.denominacionCuenta
|
|
6519
|
+
dencuenta: this.denominacionCuenta,
|
|
6520
|
+
codfuefin: this.codigoFuenteFinanciamiento.toString(),
|
|
6521
|
+
id_uniadm: this.idUnidadOrganizativa.toString(),
|
|
6522
|
+
codcencos: this.codigoCentroCosto,
|
|
6416
6523
|
};
|
|
6417
6524
|
};
|
|
6418
6525
|
return MCargosAdicionales;
|
|
6419
|
-
}());
|
|
6526
|
+
}(MBasicModel));
|
|
6420
6527
|
|
|
6421
6528
|
var MClient = /** @class */ (function () {
|
|
6422
6529
|
function MClient(e) {
|
|
@@ -15033,6 +15140,7 @@
|
|
|
15033
15140
|
exports.MCuentaIngresos = MCuentaIngresos;
|
|
15034
15141
|
exports.MCuentaInstitucional = MCuentaInstitucional;
|
|
15035
15142
|
exports.MCuentaPresupuesto = MCuentaPresupuesto;
|
|
15143
|
+
exports.MCuentasSpSC = MCuentasSpSC;
|
|
15036
15144
|
exports.MDedicacion = MDedicacion;
|
|
15037
15145
|
exports.MDeduction = MDeduction;
|
|
15038
15146
|
exports.MDeductionType = MDeductionType;
|
|
@@ -15055,6 +15163,7 @@
|
|
|
15055
15163
|
exports.MEstructuraPresupuestariaOne = MEstructuraPresupuestariaOne;
|
|
15056
15164
|
exports.MEstructuraPresupuestariaThree = MEstructuraPresupuestariaThree;
|
|
15057
15165
|
exports.MEstructuraPresupuestariaTwo = MEstructuraPresupuestariaTwo;
|
|
15166
|
+
exports.MEstructuras = MEstructuras;
|
|
15058
15167
|
exports.MEstudiosConcursantes = MEstudiosConcursantes;
|
|
15059
15168
|
exports.MEstudiosRealizados = MEstudiosRealizados;
|
|
15060
15169
|
exports.MExchangeRate = MExchangeRate;
|