sigesp 0.9.82-20231024 → 0.9.84-20231102
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 +204 -111
- 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/CuentaInstitucional.js +1 -1
- package/esm2015/lib/core/models/SCG/IncomeAccount.js +4 -2
- package/esm2015/lib/core/models/SCG/accountMarriage.model.js +16 -5
- package/esm2015/lib/core/models/SCG/cuentaInstitucional.model.js +83 -23
- package/esm2015/lib/core/models/SCG/planUnicoCuenta.model.js +14 -4
- package/esm2015/lib/sigesp.service.js +7 -1
- package/fesm2015/sigesp.js +115 -30
- package/fesm2015/sigesp.js.map +1 -1
- package/lib/core/interfaces/CuentaInstitucional.d.ts +2 -0
- package/lib/core/models/SCG/IncomeAccount.d.ts +2 -1
- package/lib/core/models/SCG/accountMarriage.model.d.ts +4 -2
- package/lib/core/models/SCG/cuentaInstitucional.model.d.ts +8 -2
- package/lib/core/models/SCG/planUnicoCuenta.model.d.ts +4 -2
- package/lib/sigesp.service.d.ts +1 -0
- package/package.json +1 -1
- package/sigesp.metadata.json +1 -1
package/bundles/sigesp.umd.js
CHANGED
|
@@ -1431,32 +1431,93 @@
|
|
|
1431
1431
|
return MCuentaPresupuesto;
|
|
1432
1432
|
}());
|
|
1433
1433
|
|
|
1434
|
-
var MCuentaInstitucional = /** @class */ (function () {
|
|
1434
|
+
var MCuentaInstitucional = /** @class */ (function (_super) {
|
|
1435
|
+
__extends(MCuentaInstitucional, _super);
|
|
1435
1436
|
function MCuentaInstitucional(institucional) {
|
|
1436
|
-
|
|
1437
|
-
|
|
1438
|
-
|
|
1439
|
-
|
|
1440
|
-
|
|
1441
|
-
|
|
1442
|
-
|
|
1443
|
-
|
|
1444
|
-
|
|
1445
|
-
|
|
1446
|
-
|
|
1447
|
-
|
|
1448
|
-
|
|
1449
|
-
|
|
1450
|
-
|
|
1451
|
-
|
|
1452
|
-
|
|
1453
|
-
|
|
1454
|
-
|
|
1455
|
-
|
|
1456
|
-
|
|
1437
|
+
var _this = _super.call(this) || this;
|
|
1438
|
+
_this.cuenta = '';
|
|
1439
|
+
_this.cueproacu = '';
|
|
1440
|
+
_this.denominacion = '';
|
|
1441
|
+
_this.enero = '';
|
|
1442
|
+
_this.febrero = '';
|
|
1443
|
+
_this.marzo = '';
|
|
1444
|
+
_this.abril = '';
|
|
1445
|
+
_this.mayo = '';
|
|
1446
|
+
_this.junio = '';
|
|
1447
|
+
_this.julio = '';
|
|
1448
|
+
_this.agosto = '';
|
|
1449
|
+
_this.septiembre = '';
|
|
1450
|
+
_this.octubre = '';
|
|
1451
|
+
_this.noviembre = '';
|
|
1452
|
+
_this.diciembre = '';
|
|
1453
|
+
_this.asignado = '';
|
|
1454
|
+
_this.distribuir = '';
|
|
1455
|
+
_this.status = '';
|
|
1456
|
+
_this.idEmpresa = '';
|
|
1457
|
+
_this.nivel = '';
|
|
1458
|
+
_this.referencia = '';
|
|
1459
|
+
_this.denominacionCuentaProvisionAcumulada = '';
|
|
1460
|
+
_this.denominacionCuentaReferencia = '';
|
|
1461
|
+
_this.denominacionEstatus = '';
|
|
1462
|
+
_this.isNew = false;
|
|
1463
|
+
if (institucional) {
|
|
1464
|
+
_this.cuenta = institucional.sc_cuenta;
|
|
1465
|
+
_this.cueproacu = institucional.cueproacu;
|
|
1466
|
+
_this.denominacion = institucional.denominacion;
|
|
1467
|
+
_this.enero = institucional.enero;
|
|
1468
|
+
_this.febrero = institucional.febrero;
|
|
1469
|
+
_this.marzo = institucional.marzo;
|
|
1470
|
+
_this.abril = institucional.abril;
|
|
1471
|
+
_this.mayo = institucional.mayo;
|
|
1472
|
+
_this.junio = institucional.junio;
|
|
1473
|
+
_this.julio = institucional.julio;
|
|
1474
|
+
_this.agosto = institucional.agosto;
|
|
1475
|
+
_this.septiembre = institucional.septiembre;
|
|
1476
|
+
_this.octubre = institucional.octubre;
|
|
1477
|
+
_this.noviembre = institucional.noviembre;
|
|
1478
|
+
_this.diciembre = institucional.diciembre;
|
|
1479
|
+
_this.asignado = institucional.asignado;
|
|
1480
|
+
_this.distribuir = institucional.distribuir;
|
|
1481
|
+
_this.status = institucional.estatus;
|
|
1482
|
+
_this.idEmpresa = institucional.id_empresa;
|
|
1483
|
+
_this.nivel = institucional.nivel;
|
|
1484
|
+
_this.referencia = institucional.referencia;
|
|
1485
|
+
_this.denominacionCuentaProvisionAcumulada = institucional.dencueproacu;
|
|
1486
|
+
_this.denominacionCuentaReferencia = institucional.denctareferecia;
|
|
1487
|
+
institucional.estatus == 'C' ? _this.denominacionEstatus = 'Movimiento' : _this.denominacionEstatus = 'Totalizadora';
|
|
1488
|
+
}
|
|
1489
|
+
else {
|
|
1490
|
+
_this.isNew = true;
|
|
1491
|
+
}
|
|
1492
|
+
return _this;
|
|
1457
1493
|
}
|
|
1494
|
+
MCuentaInstitucional.prototype.dataInterface = function () {
|
|
1495
|
+
return {
|
|
1496
|
+
sc_cuenta: this.cuenta,
|
|
1497
|
+
cueproacu: this.cueproacu,
|
|
1498
|
+
denominacion: this.denominacion,
|
|
1499
|
+
dencueproacu: this.denominacionCuentaProvisionAcumulada,
|
|
1500
|
+
enero: this.enero,
|
|
1501
|
+
febrero: this.febrero,
|
|
1502
|
+
marzo: this.marzo,
|
|
1503
|
+
abril: this.abril,
|
|
1504
|
+
mayo: this.mayo,
|
|
1505
|
+
junio: this.junio,
|
|
1506
|
+
julio: this.julio,
|
|
1507
|
+
agosto: this.agosto,
|
|
1508
|
+
septiembre: this.septiembre,
|
|
1509
|
+
octubre: this.octubre,
|
|
1510
|
+
noviembre: this.noviembre,
|
|
1511
|
+
diciembre: this.diciembre,
|
|
1512
|
+
asignado: this.asignado,
|
|
1513
|
+
distribuir: this.distribuir,
|
|
1514
|
+
estatus: this.status,
|
|
1515
|
+
id_empresa: this.idEmpresa,
|
|
1516
|
+
nivel: this.nivel,
|
|
1517
|
+
};
|
|
1518
|
+
};
|
|
1458
1519
|
return MCuentaInstitucional;
|
|
1459
|
-
}());
|
|
1520
|
+
}(MBasicModel));
|
|
1460
1521
|
|
|
1461
1522
|
var MMoneda = /** @class */ (function (_super) {
|
|
1462
1523
|
__extends(MMoneda, _super);
|
|
@@ -1743,13 +1804,24 @@
|
|
|
1743
1804
|
return MConfiguracionSCG;
|
|
1744
1805
|
}(MBasicModel));
|
|
1745
1806
|
|
|
1746
|
-
var MPlanUnicoCuenta = /** @class */ (function () {
|
|
1807
|
+
var MPlanUnicoCuenta = /** @class */ (function (_super) {
|
|
1808
|
+
__extends(MPlanUnicoCuenta, _super);
|
|
1747
1809
|
function MPlanUnicoCuenta(plan) {
|
|
1748
|
-
|
|
1749
|
-
|
|
1810
|
+
var _this = _super.call(this) || this;
|
|
1811
|
+
if (plan) {
|
|
1812
|
+
_this.denominacion = plan.denominacion;
|
|
1813
|
+
_this.cuenta = plan.sc_cuenta;
|
|
1814
|
+
}
|
|
1815
|
+
return _this;
|
|
1750
1816
|
}
|
|
1817
|
+
MPlanUnicoCuenta.prototype.dataInterface = function () {
|
|
1818
|
+
return {
|
|
1819
|
+
denominacion: this.denominacion,
|
|
1820
|
+
sc_cuenta: this.cuenta,
|
|
1821
|
+
};
|
|
1822
|
+
};
|
|
1751
1823
|
return MPlanUnicoCuenta;
|
|
1752
|
-
}());
|
|
1824
|
+
}(MBasicModel));
|
|
1753
1825
|
|
|
1754
1826
|
var TableSelectComponent = /** @class */ (function () {
|
|
1755
1827
|
//disableMasterToggle: boolean = false;
|
|
@@ -2629,89 +2701,92 @@
|
|
|
2629
2701
|
}());
|
|
2630
2702
|
// TERMINAR EL MODELO
|
|
2631
2703
|
|
|
2632
|
-
var MCuentaIngresos = /** @class */ (function () {
|
|
2704
|
+
var MCuentaIngresos = /** @class */ (function (_super) {
|
|
2705
|
+
__extends(MCuentaIngresos, _super);
|
|
2633
2706
|
function MCuentaIngresos(cuenta, isNew) {
|
|
2634
2707
|
if (cuenta === void 0) { cuenta = null; }
|
|
2635
2708
|
if (isNew === void 0) { isNew = false; }
|
|
2636
|
-
|
|
2637
|
-
|
|
2638
|
-
|
|
2639
|
-
|
|
2640
|
-
|
|
2641
|
-
|
|
2642
|
-
|
|
2643
|
-
|
|
2644
|
-
|
|
2645
|
-
|
|
2646
|
-
|
|
2647
|
-
|
|
2648
|
-
|
|
2649
|
-
|
|
2650
|
-
|
|
2651
|
-
|
|
2652
|
-
|
|
2653
|
-
|
|
2654
|
-
|
|
2655
|
-
|
|
2656
|
-
|
|
2657
|
-
|
|
2658
|
-
|
|
2659
|
-
|
|
2660
|
-
|
|
2661
|
-
|
|
2662
|
-
|
|
2663
|
-
|
|
2664
|
-
|
|
2665
|
-
|
|
2666
|
-
|
|
2667
|
-
|
|
2668
|
-
|
|
2669
|
-
|
|
2670
|
-
|
|
2671
|
-
|
|
2672
|
-
|
|
2673
|
-
|
|
2709
|
+
var _this = _super.call(this) || this;
|
|
2710
|
+
_this.idEmpresa = null;
|
|
2711
|
+
_this.nivel = null;
|
|
2712
|
+
_this.denominacion = '';
|
|
2713
|
+
_this.cuenta = null;
|
|
2714
|
+
_this.cuentaContable = null;
|
|
2715
|
+
_this.cuentaONCOP = null;
|
|
2716
|
+
_this.clasificador = null;
|
|
2717
|
+
_this.referencia = null;
|
|
2718
|
+
_this.estado = null;
|
|
2719
|
+
_this.aumento = 0;
|
|
2720
|
+
_this.cobrado = 0;
|
|
2721
|
+
_this.anticipoCobrado = 0;
|
|
2722
|
+
_this.devengado = 0;
|
|
2723
|
+
_this.disminucion = 0;
|
|
2724
|
+
_this.distribuir = 0;
|
|
2725
|
+
_this.previsto = 0;
|
|
2726
|
+
_this.enero = 0;
|
|
2727
|
+
_this.febrero = 0;
|
|
2728
|
+
_this.marzo = 0;
|
|
2729
|
+
_this.abril = 0;
|
|
2730
|
+
_this.mayo = 0;
|
|
2731
|
+
_this.junio = 0;
|
|
2732
|
+
_this.julio = 0;
|
|
2733
|
+
_this.agosto = 0;
|
|
2734
|
+
_this.septiembre = 0;
|
|
2735
|
+
_this.octubre = 0;
|
|
2736
|
+
_this.noviembre = 0;
|
|
2737
|
+
_this.diciembre = 0;
|
|
2738
|
+
_this.selected = false;
|
|
2739
|
+
_this.isNew = false;
|
|
2740
|
+
_this.error = false;
|
|
2741
|
+
_this.idEP1 = 0;
|
|
2742
|
+
_this.idEP2 = 0;
|
|
2743
|
+
_this.idEP3 = 0;
|
|
2744
|
+
_this.idEP4 = 0;
|
|
2745
|
+
_this.idEP5 = 0;
|
|
2746
|
+
_this.id = null;
|
|
2747
|
+
_this.estructura = null;
|
|
2674
2748
|
if (cuenta) {
|
|
2675
|
-
|
|
2676
|
-
|
|
2677
|
-
|
|
2678
|
-
|
|
2679
|
-
|
|
2680
|
-
|
|
2681
|
-
|
|
2682
|
-
|
|
2683
|
-
|
|
2684
|
-
|
|
2685
|
-
|
|
2686
|
-
|
|
2687
|
-
|
|
2688
|
-
|
|
2689
|
-
|
|
2690
|
-
|
|
2691
|
-
|
|
2692
|
-
|
|
2693
|
-
|
|
2694
|
-
|
|
2695
|
-
|
|
2696
|
-
|
|
2697
|
-
|
|
2698
|
-
|
|
2699
|
-
|
|
2700
|
-
|
|
2701
|
-
|
|
2702
|
-
|
|
2703
|
-
|
|
2704
|
-
|
|
2705
|
-
|
|
2706
|
-
|
|
2707
|
-
|
|
2708
|
-
|
|
2709
|
-
|
|
2710
|
-
|
|
2749
|
+
_this.idEmpresa = parseInt(cuenta.id_empresa);
|
|
2750
|
+
_this.nivel = parseInt(cuenta.nivel);
|
|
2751
|
+
_this.denominacion = cuenta.denspi;
|
|
2752
|
+
_this.cuenta = cuenta.spi_cuenta;
|
|
2753
|
+
_this.cuentaContable = cuenta.sc_cuenta;
|
|
2754
|
+
_this.referencia = parseInt(cuenta.referencia);
|
|
2755
|
+
_this.estado = cuenta.stamov;
|
|
2756
|
+
_this.aumento = parseInt(cuenta.aumento);
|
|
2757
|
+
_this.cobrado = parseInt(cuenta.cobrado);
|
|
2758
|
+
_this.anticipoCobrado = parseInt(cuenta.cobrado_anticipado);
|
|
2759
|
+
_this.devengado = parseInt(cuenta.devengado);
|
|
2760
|
+
_this.distribuir = parseInt(cuenta.distribuir);
|
|
2761
|
+
_this.devengado = parseInt(cuenta.devengado);
|
|
2762
|
+
_this.previsto = parseInt(cuenta.previsto);
|
|
2763
|
+
_this.enero = parseInt(cuenta.enero);
|
|
2764
|
+
_this.febrero = parseInt(cuenta.febrero);
|
|
2765
|
+
_this.marzo = parseInt(cuenta.marzo);
|
|
2766
|
+
_this.abril = parseInt(cuenta.abril);
|
|
2767
|
+
_this.mayo = parseInt(cuenta.mayo);
|
|
2768
|
+
_this.junio = parseInt(cuenta.junio);
|
|
2769
|
+
_this.julio = parseInt(cuenta.julio);
|
|
2770
|
+
_this.agosto = parseInt(cuenta.agosto);
|
|
2771
|
+
_this.septiembre = parseInt(cuenta.septiembre);
|
|
2772
|
+
_this.octubre = parseInt(cuenta.octubre);
|
|
2773
|
+
_this.noviembre = parseInt(cuenta.noviembre);
|
|
2774
|
+
_this.diciembre = parseInt(cuenta.diciembre);
|
|
2775
|
+
_this.clasificador = cuenta.codcuecla;
|
|
2776
|
+
_this.cuentaONCOP = cuenta.cueoncop;
|
|
2777
|
+
_this.isNew = isNew;
|
|
2778
|
+
_this.idEP1 = parseInt(cuenta.id_ep1);
|
|
2779
|
+
_this.idEP2 = parseInt(cuenta.id_ep2);
|
|
2780
|
+
_this.idEP3 = parseInt(cuenta.id_ep3);
|
|
2781
|
+
_this.idEP4 = parseInt(cuenta.id_ep4);
|
|
2782
|
+
_this.idEP5 = parseInt(cuenta.id_ep5);
|
|
2783
|
+
_this.id = cuenta.id_del_spicta ? parseInt(cuenta.id_del_spicta) : 0;
|
|
2784
|
+
_this.estructura = cuenta.estructura ? cuenta.estructura : "";
|
|
2711
2785
|
}
|
|
2786
|
+
return _this;
|
|
2712
2787
|
}
|
|
2713
2788
|
return MCuentaIngresos;
|
|
2714
|
-
}());
|
|
2789
|
+
}(MBasicModel));
|
|
2715
2790
|
|
|
2716
2791
|
var MIncomeStructureAccount = /** @class */ (function () {
|
|
2717
2792
|
function MIncomeStructureAccount(account, level) {
|
|
@@ -6947,6 +7022,12 @@
|
|
|
6947
7022
|
}
|
|
6948
7023
|
return false;
|
|
6949
7024
|
};
|
|
7025
|
+
SigespService.prototype.onlyNumbers2 = function (event) {
|
|
7026
|
+
if (!isNaN(+event.key) || event.keyCode == 32 || event.keyCode == 8 || event.keyCode == 46) {
|
|
7027
|
+
return true;
|
|
7028
|
+
}
|
|
7029
|
+
return false;
|
|
7030
|
+
};
|
|
6950
7031
|
/**
|
|
6951
7032
|
* @description Permite (a-z A-Z á-ú ñÑ üÜ ',.) que se escriban numeros en el input (Usar en keypress)
|
|
6952
7033
|
* @param event Evento del teclado
|
|
@@ -8779,17 +8860,29 @@
|
|
|
8779
8860
|
return MProcedencia;
|
|
8780
8861
|
}(MBasicModel));
|
|
8781
8862
|
|
|
8782
|
-
var MAccountMarriage = /** @class */ (function () {
|
|
8863
|
+
var MAccountMarriage = /** @class */ (function (_super) {
|
|
8864
|
+
__extends(MAccountMarriage, _super);
|
|
8783
8865
|
function MAccountMarriage(marriage) {
|
|
8784
|
-
|
|
8785
|
-
|
|
8786
|
-
|
|
8787
|
-
|
|
8788
|
-
|
|
8789
|
-
|
|
8866
|
+
var _this = _super.call(this) || this;
|
|
8867
|
+
_this.idEmpresa = null;
|
|
8868
|
+
_this.cuentaContable = null;
|
|
8869
|
+
_this.cuentaInstitucional = null;
|
|
8870
|
+
if (marriage) {
|
|
8871
|
+
_this.idEmpresa = parseInt(marriage.id_empresa);
|
|
8872
|
+
_this.cuentaContable = parseInt(marriage.sig_cuenta);
|
|
8873
|
+
_this.cuentaInstitucional = parseInt(marriage.sc_cuenta);
|
|
8874
|
+
}
|
|
8875
|
+
return _this;
|
|
8790
8876
|
}
|
|
8877
|
+
MAccountMarriage.prototype.dataInterface = function () {
|
|
8878
|
+
return {
|
|
8879
|
+
id_empresa: this.idEmpresa.toString(),
|
|
8880
|
+
sc_cuenta: this.cuentaContable.toString(),
|
|
8881
|
+
sig_cuenta: this.cuentaInstitucional.toString(),
|
|
8882
|
+
};
|
|
8883
|
+
};
|
|
8791
8884
|
return MAccountMarriage;
|
|
8792
|
-
}());
|
|
8885
|
+
}(MBasicModel));
|
|
8793
8886
|
|
|
8794
8887
|
var MServiceType = /** @class */ (function (_super) {
|
|
8795
8888
|
__extends(MServiceType, _super);
|