@senior-gestao-pessoas/payroll-core 9.3.0-91e42bbe-0783-45c0-91c2-ac243803cb3c → 9.3.0-96656ff7-d237-4819-9ab8-984d01f3ff5b
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/senior-gestao-pessoas-payroll-core.umd.js +37 -5
- package/bundles/senior-gestao-pessoas-payroll-core.umd.js.map +1 -1
- package/bundles/senior-gestao-pessoas-payroll-core.umd.min.js +1 -1
- package/bundles/senior-gestao-pessoas-payroll-core.umd.min.js.map +1 -1
- package/components/historical-pix-account/historical-pix-account.component.d.ts +5 -1
- package/components/historical-pix-account-list/historical-pix-account-list.component.d.ts +1 -0
- package/esm2015/components/historical-pix-account/historical-pix-account.component.js +30 -5
- package/esm2015/components/historical-pix-account-list/historical-pix-account-list.component.js +10 -3
- package/esm5/components/historical-pix-account/historical-pix-account.component.js +30 -5
- package/esm5/components/historical-pix-account-list/historical-pix-account-list.component.js +10 -3
- package/fesm2015/senior-gestao-pessoas-payroll-core.js +37 -5
- package/fesm2015/senior-gestao-pessoas-payroll-core.js.map +1 -1
- package/fesm5/senior-gestao-pessoas-payroll-core.js +37 -5
- package/fesm5/senior-gestao-pessoas-payroll-core.js.map +1 -1
- package/package.json +1 -1
- package/senior-gestao-pessoas-payroll-core.metadata.json +1 -1
|
@@ -9434,6 +9434,10 @@
|
|
|
9434
9434
|
this.isViewMode = false;
|
|
9435
9435
|
this.withSideBar = true;
|
|
9436
9436
|
this.defaultCpfNumber = null;
|
|
9437
|
+
this.listDataReciever = [];
|
|
9438
|
+
this.isOnlyView = new core.EventEmitter();
|
|
9439
|
+
this.isOnlyEdit = new core.EventEmitter();
|
|
9440
|
+
this.isOnlyDelete = new core.EventEmitter();
|
|
9437
9441
|
this.visibleChange = new core.EventEmitter();
|
|
9438
9442
|
this.ngUnsubscribe = new rxjs.Subject();
|
|
9439
9443
|
this.orderBy = {
|
|
@@ -9473,7 +9477,7 @@
|
|
|
9473
9477
|
_this.visible = true;
|
|
9474
9478
|
}
|
|
9475
9479
|
else {
|
|
9476
|
-
_this.
|
|
9480
|
+
_this.isOnlyView.emit(true);
|
|
9477
9481
|
}
|
|
9478
9482
|
},
|
|
9479
9483
|
},
|
|
@@ -9487,7 +9491,12 @@
|
|
|
9487
9491
|
_this.visible = true;
|
|
9488
9492
|
}
|
|
9489
9493
|
else {
|
|
9490
|
-
_this.
|
|
9494
|
+
_this.isOnlyEdit.emit(true);
|
|
9495
|
+
if (!_this.listDataReciever) {
|
|
9496
|
+
rowData["index"] = key;
|
|
9497
|
+
_this.pixAccountItemInput = { currentItem: rowData, listData: _this.listDataNoPage, isEditMode: false };
|
|
9498
|
+
_this.visible = true;
|
|
9499
|
+
}
|
|
9491
9500
|
}
|
|
9492
9501
|
},
|
|
9493
9502
|
},
|
|
@@ -9500,7 +9509,11 @@
|
|
|
9500
9509
|
_this.deleteAnnuityItem(key);
|
|
9501
9510
|
}
|
|
9502
9511
|
else {
|
|
9503
|
-
_this.
|
|
9512
|
+
_this.isOnlyDelete.emit(true);
|
|
9513
|
+
if (!_this.listDataReciever) {
|
|
9514
|
+
_this.loading = true;
|
|
9515
|
+
_this.deleteAnnuityItem(key);
|
|
9516
|
+
}
|
|
9504
9517
|
}
|
|
9505
9518
|
},
|
|
9506
9519
|
},
|
|
@@ -9804,6 +9817,18 @@
|
|
|
9804
9817
|
__decorate([
|
|
9805
9818
|
core.Input()
|
|
9806
9819
|
], HistoricalPixAccountComponent.prototype, "permission", void 0);
|
|
9820
|
+
__decorate([
|
|
9821
|
+
core.Input()
|
|
9822
|
+
], HistoricalPixAccountComponent.prototype, "listDataReciever", void 0);
|
|
9823
|
+
__decorate([
|
|
9824
|
+
core.Output()
|
|
9825
|
+
], HistoricalPixAccountComponent.prototype, "isOnlyView", void 0);
|
|
9826
|
+
__decorate([
|
|
9827
|
+
core.Output()
|
|
9828
|
+
], HistoricalPixAccountComponent.prototype, "isOnlyEdit", void 0);
|
|
9829
|
+
__decorate([
|
|
9830
|
+
core.Output()
|
|
9831
|
+
], HistoricalPixAccountComponent.prototype, "isOnlyDelete", void 0);
|
|
9807
9832
|
__decorate([
|
|
9808
9833
|
core.Input()
|
|
9809
9834
|
], HistoricalPixAccountComponent.prototype, "dateChange", null);
|
|
@@ -10468,6 +10493,7 @@
|
|
|
10468
10493
|
this.endPoint = "hcm/payroll/queries/historicalEmployeePixQuery";
|
|
10469
10494
|
this.keyPayload = "historicalEmployeePix";
|
|
10470
10495
|
this.withSidebar = true;
|
|
10496
|
+
this.isOnlyView = new core.EventEmitter();
|
|
10471
10497
|
this.enableView = new core.EventEmitter();
|
|
10472
10498
|
this.ngUnsubscribe = new rxjs.Subject();
|
|
10473
10499
|
this.loading = true;
|
|
@@ -10537,12 +10563,15 @@
|
|
|
10537
10563
|
command: function () {
|
|
10538
10564
|
if (_this.isAllowToViewHistorical) {
|
|
10539
10565
|
var dateChange = rowData && rowData.dateChange && moment$e(rowData.dateChange, _this.dateFormat).format("YYYY-MM-DD");
|
|
10540
|
-
if (_this.withSidebar)
|
|
10566
|
+
if (_this.withSidebar) {
|
|
10567
|
+
_this.isOnlyView.emit(true);
|
|
10541
10568
|
_this.router.navigate(["historical-pix-account/" + dateChange], {
|
|
10542
10569
|
relativeTo: _this.activatedRoute,
|
|
10543
10570
|
});
|
|
10544
|
-
|
|
10571
|
+
}
|
|
10572
|
+
else {
|
|
10545
10573
|
_this.enableView.emit(dateChange);
|
|
10574
|
+
}
|
|
10546
10575
|
}
|
|
10547
10576
|
else {
|
|
10548
10577
|
_this.isNotAllowMessage();
|
|
@@ -10697,6 +10726,9 @@
|
|
|
10697
10726
|
__decorate([
|
|
10698
10727
|
core.Input()
|
|
10699
10728
|
], HistoricalPixAccountListComponent.prototype, "withSidebar", void 0);
|
|
10729
|
+
__decorate([
|
|
10730
|
+
core.Output()
|
|
10731
|
+
], HistoricalPixAccountListComponent.prototype, "isOnlyView", void 0);
|
|
10700
10732
|
__decorate([
|
|
10701
10733
|
core.Output()
|
|
10702
10734
|
], HistoricalPixAccountListComponent.prototype, "enableView", void 0);
|