@senior-gestao-pessoas/payroll-core 9.3.0-06538e11-08fa-4c6f-9e67-58f132131fe8 → 9.3.0-0c9b8608-8eb2-4a54-a822-926f0794fa8c
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 +30 -4
- 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/esm2015/components/historical-pix-account/historical-pix-account.component.js +31 -5
- package/esm2015/components/historical-pix-account-list/historical-pix-account-list.component.js +2 -2
- package/esm5/components/historical-pix-account/historical-pix-account.component.js +31 -5
- package/esm5/components/historical-pix-account-list/historical-pix-account-list.component.js +2 -2
- package/fesm2015/senior-gestao-pessoas-payroll-core.js +30 -4
- package/fesm2015/senior-gestao-pessoas-payroll-core.js.map +1 -1
- package/fesm5/senior-gestao-pessoas-payroll-core.js +30 -4
- 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,12 @@
|
|
|
9473
9477
|
_this.visible = true;
|
|
9474
9478
|
}
|
|
9475
9479
|
else {
|
|
9476
|
-
_this.
|
|
9480
|
+
_this.isOnlyView.emit(true);
|
|
9481
|
+
if (_this.listDataReciever.length == 0) {
|
|
9482
|
+
rowData["index"] = key;
|
|
9483
|
+
_this.pixAccountItemInput = { currentItem: rowData, listData: _this.listDataNoPage, isEditMode: false };
|
|
9484
|
+
_this.visible = true;
|
|
9485
|
+
}
|
|
9477
9486
|
}
|
|
9478
9487
|
},
|
|
9479
9488
|
},
|
|
@@ -9487,7 +9496,12 @@
|
|
|
9487
9496
|
_this.visible = true;
|
|
9488
9497
|
}
|
|
9489
9498
|
else {
|
|
9490
|
-
_this.
|
|
9499
|
+
_this.isOnlyEdit.emit(true);
|
|
9500
|
+
if (_this.listDataReciever.length == 0) {
|
|
9501
|
+
rowData["index"] = key;
|
|
9502
|
+
_this.pixAccountItemInput = { currentItem: rowData, listData: _this.listDataNoPage, isEditMode: false };
|
|
9503
|
+
_this.visible = true;
|
|
9504
|
+
}
|
|
9491
9505
|
}
|
|
9492
9506
|
},
|
|
9493
9507
|
},
|
|
@@ -9500,7 +9514,7 @@
|
|
|
9500
9514
|
_this.deleteAnnuityItem(key);
|
|
9501
9515
|
}
|
|
9502
9516
|
else {
|
|
9503
|
-
_this.
|
|
9517
|
+
_this.isOnlyDelete.emit(true);
|
|
9504
9518
|
}
|
|
9505
9519
|
},
|
|
9506
9520
|
},
|
|
@@ -9804,6 +9818,18 @@
|
|
|
9804
9818
|
__decorate([
|
|
9805
9819
|
core.Input()
|
|
9806
9820
|
], HistoricalPixAccountComponent.prototype, "permission", void 0);
|
|
9821
|
+
__decorate([
|
|
9822
|
+
core.Input()
|
|
9823
|
+
], HistoricalPixAccountComponent.prototype, "listDataReciever", void 0);
|
|
9824
|
+
__decorate([
|
|
9825
|
+
core.Output()
|
|
9826
|
+
], HistoricalPixAccountComponent.prototype, "isOnlyView", void 0);
|
|
9827
|
+
__decorate([
|
|
9828
|
+
core.Output()
|
|
9829
|
+
], HistoricalPixAccountComponent.prototype, "isOnlyEdit", void 0);
|
|
9830
|
+
__decorate([
|
|
9831
|
+
core.Output()
|
|
9832
|
+
], HistoricalPixAccountComponent.prototype, "isOnlyDelete", void 0);
|
|
9807
9833
|
__decorate([
|
|
9808
9834
|
core.Input()
|
|
9809
9835
|
], HistoricalPixAccountComponent.prototype, "dateChange", null);
|
|
@@ -10539,12 +10565,12 @@
|
|
|
10539
10565
|
if (_this.isAllowToViewHistorical) {
|
|
10540
10566
|
var dateChange = rowData && rowData.dateChange && moment$e(rowData.dateChange, _this.dateFormat).format("YYYY-MM-DD");
|
|
10541
10567
|
if (_this.withSidebar) {
|
|
10568
|
+
_this.isOnlyView.emit(true);
|
|
10542
10569
|
_this.router.navigate(["historical-pix-account/" + dateChange], {
|
|
10543
10570
|
relativeTo: _this.activatedRoute,
|
|
10544
10571
|
});
|
|
10545
10572
|
}
|
|
10546
10573
|
else {
|
|
10547
|
-
_this.isOnlyView.emit(true);
|
|
10548
10574
|
_this.enableView.emit(dateChange);
|
|
10549
10575
|
}
|
|
10550
10576
|
}
|