sigesp 0.9.94-20240130 → 0.9.95-20240130
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 +46 -1
- 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/models/SPG/UnidadAdministradoraCentral.js +43 -0
- package/esm2015/lib/core/models/SPG/administrativeUnit.model.js +2 -2
- package/esm2015/public-api.js +2 -1
- package/fesm2015/sigesp.js +43 -2
- package/fesm2015/sigesp.js.map +1 -1
- package/lib/core/models/SPG/UnidadAdministradoraCentral.d.ts +15 -0
- package/package.json +1 -1
- package/public-api.d.ts +2 -1
- package/sigesp.metadata.json +1 -1
package/bundles/sigesp.umd.js
CHANGED
|
@@ -4007,12 +4007,12 @@
|
|
|
4007
4007
|
if (unidad) {
|
|
4008
4008
|
_this.idEmpresa = unidad.id_empresa;
|
|
4009
4009
|
_this.idEnterprise = unidad.id_enterprise;
|
|
4010
|
+
_this.id = unidad.id_uniadm;
|
|
4010
4011
|
_this.codigo = unidad.coduniadm;
|
|
4011
4012
|
_this.denominacion = unidad.denuniadm;
|
|
4012
4013
|
_this.unidadCentral = unidad.coduac;
|
|
4013
4014
|
_this.emiteRequisicion = unidad.estemireq;
|
|
4014
4015
|
_this.centroCosto = unidad.codcencos;
|
|
4015
|
-
_this.id = unidad.id_uniadm;
|
|
4016
4016
|
_this.denominacionUnidadCentral = unidad.denuac;
|
|
4017
4017
|
if (unidad.estructuras) {
|
|
4018
4018
|
_this.estructuras = unidad.estructuras.map(function (e) { return new MEstructuras(e); });
|
|
@@ -9402,6 +9402,50 @@
|
|
|
9402
9402
|
return MProcedencia;
|
|
9403
9403
|
}(MBasicModel));
|
|
9404
9404
|
|
|
9405
|
+
var MUnidadAdministradoraCentral = /** @class */ (function (_super) {
|
|
9406
|
+
__extends(MUnidadAdministradoraCentral, _super);
|
|
9407
|
+
function MUnidadAdministradoraCentral(e) {
|
|
9408
|
+
var _this = _super.call(this) || this;
|
|
9409
|
+
_this.idEmpresa = 0;
|
|
9410
|
+
_this.idEnterprise = 0;
|
|
9411
|
+
_this.idUnidadAdministradora = 0;
|
|
9412
|
+
_this.codigoUnidadCentral = '';
|
|
9413
|
+
_this.denominacionUnidadCentral = '';
|
|
9414
|
+
_this.tipoUnidad = false;
|
|
9415
|
+
_this.responsableUnidad = '';
|
|
9416
|
+
_this.unidadOrganizativa = [];
|
|
9417
|
+
if (e) {
|
|
9418
|
+
_this.idEmpresa = e.id_empresa;
|
|
9419
|
+
_this.idEnterprise = e.id_enterprise;
|
|
9420
|
+
_this.codigoUnidadCentral = e.codigouac;
|
|
9421
|
+
_this.denominacionUnidadCentral = e.denuac;
|
|
9422
|
+
_this.idUnidadAdministradora = +e.coduac;
|
|
9423
|
+
_this.tipoUnidad = e.tipuac == '1';
|
|
9424
|
+
_this.responsableUnidad = e.resuac;
|
|
9425
|
+
if (e.unidad_organizativa) {
|
|
9426
|
+
_this.unidadOrganizativa = e.unidad_organizativa.map(function (e) { return new MAdministrativeUnit(e); });
|
|
9427
|
+
}
|
|
9428
|
+
}
|
|
9429
|
+
else {
|
|
9430
|
+
_this.isNew = true;
|
|
9431
|
+
}
|
|
9432
|
+
return _this;
|
|
9433
|
+
}
|
|
9434
|
+
MUnidadAdministradoraCentral.prototype.dataInterface = function () {
|
|
9435
|
+
return {
|
|
9436
|
+
id_enterprise: this.idEnterprise,
|
|
9437
|
+
id_empresa: this.idEmpresa,
|
|
9438
|
+
coduac: this.idUnidadAdministradora.toString(),
|
|
9439
|
+
codigouac: this.codigoUnidadCentral,
|
|
9440
|
+
denuac: this.denominacionUnidadCentral,
|
|
9441
|
+
resuac: this.responsableUnidad,
|
|
9442
|
+
tipuac: this.tipoUnidad ? '1' : '0',
|
|
9443
|
+
unidad_organizativa: this.unidadOrganizativa.map(function (e) { return e.dataInterface(); }),
|
|
9444
|
+
};
|
|
9445
|
+
};
|
|
9446
|
+
return MUnidadAdministradoraCentral;
|
|
9447
|
+
}(MBasicModel));
|
|
9448
|
+
|
|
9405
9449
|
var MAccountMarriage = /** @class */ (function (_super) {
|
|
9406
9450
|
__extends(MAccountMarriage, _super);
|
|
9407
9451
|
function MAccountMarriage(marriage) {
|
|
@@ -15441,6 +15485,7 @@
|
|
|
15441
15485
|
exports.MTrabajoAnterior = MTrabajoAnterior;
|
|
15442
15486
|
exports.MTrabajosConcursantes = MTrabajosConcursantes;
|
|
15443
15487
|
exports.MUbicacionFisica = MUbicacionFisica;
|
|
15488
|
+
exports.MUnidadAdministradoraCentral = MUnidadAdministradoraCentral;
|
|
15444
15489
|
exports.MUnidadTributaria = MUnidadTributaria;
|
|
15445
15490
|
exports.MUserDetail = MUserDetail;
|
|
15446
15491
|
exports.MUserPermit = MUserPermit;
|