@senior-gestao-pessoas/payroll-core 9.3.0-3956a1cf-41cb-4c73-952b-4f96be631787 → 9.3.0-67156c70-a6d2-48ad-bbe1-7e90a9c21e6f
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 +21 -27
- 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 +0 -2
- 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 +13 -18
- package/esm2015/components/historical-pix-account-list/historical-pix-account-list.component.js +10 -11
- package/esm5/components/historical-pix-account/historical-pix-account.component.js +13 -18
- package/esm5/components/historical-pix-account-list/historical-pix-account-list.component.js +10 -11
- package/fesm2015/senior-gestao-pessoas-payroll-core.js +21 -27
- package/fesm2015/senior-gestao-pessoas-payroll-core.js.map +1 -1
- package/fesm5/senior-gestao-pessoas-payroll-core.js +21 -27
- 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
|
@@ -9464,8 +9464,6 @@
|
|
|
9464
9464
|
if (rowData === void 0) { rowData = {}; }
|
|
9465
9465
|
return [
|
|
9466
9466
|
{
|
|
9467
|
-
isNotAllowMessage: _this.isNotAllowMessage(_this.isAllowToViewHistorical),
|
|
9468
|
-
visible: _this.isEditMode,
|
|
9469
9467
|
label: _this.translateService.instant("hcm.payroll.employees_image_cropper_view"),
|
|
9470
9468
|
command: function () {
|
|
9471
9469
|
if (_this.isAllowToViewHistorical) {
|
|
@@ -9474,13 +9472,12 @@
|
|
|
9474
9472
|
_this.visible = true;
|
|
9475
9473
|
}
|
|
9476
9474
|
else {
|
|
9477
|
-
|
|
9475
|
+
_this.visible = false;
|
|
9476
|
+
_this.isNotAllowMessage();
|
|
9478
9477
|
}
|
|
9479
9478
|
},
|
|
9480
9479
|
},
|
|
9481
9480
|
{
|
|
9482
|
-
isNotAllowMessage: _this.isNotAllowMessage(_this.isAllowToEditHistorical),
|
|
9483
|
-
visible: !!(!_this.isEditMode && _this.withSideBar),
|
|
9484
9481
|
label: _this.translateService.instant("hcm.payroll.edit"),
|
|
9485
9482
|
command: function () {
|
|
9486
9483
|
if (_this.isAllowToEditHistorical) {
|
|
@@ -9489,13 +9486,12 @@
|
|
|
9489
9486
|
_this.visible = true;
|
|
9490
9487
|
}
|
|
9491
9488
|
else {
|
|
9492
|
-
|
|
9489
|
+
_this.visible = false;
|
|
9490
|
+
_this.isNotAllowMessage();
|
|
9493
9491
|
}
|
|
9494
9492
|
},
|
|
9495
9493
|
},
|
|
9496
9494
|
{
|
|
9497
|
-
isNotAllowMessage: _this.isNotAllowMessage(_this.isAllowToDeleteHistorical),
|
|
9498
|
-
visible: !_this.isEditMode,
|
|
9499
9495
|
label: _this.translateService.instant("hcm.payroll.delete"),
|
|
9500
9496
|
command: function () {
|
|
9501
9497
|
if (_this.isAllowToDeleteHistorical) {
|
|
@@ -9503,7 +9499,8 @@
|
|
|
9503
9499
|
_this.deleteAnnuityItem(key);
|
|
9504
9500
|
}
|
|
9505
9501
|
else {
|
|
9506
|
-
|
|
9502
|
+
_this.visible = false;
|
|
9503
|
+
_this.isNotAllowMessage();
|
|
9507
9504
|
}
|
|
9508
9505
|
},
|
|
9509
9506
|
},
|
|
@@ -9570,14 +9567,12 @@
|
|
|
9570
9567
|
this.pixAccountItemInput = {};
|
|
9571
9568
|
this.visible = true;
|
|
9572
9569
|
};
|
|
9573
|
-
HistoricalPixAccountComponent.prototype.isNotAllowMessage = function (
|
|
9574
|
-
|
|
9575
|
-
|
|
9576
|
-
|
|
9577
|
-
|
|
9578
|
-
|
|
9579
|
-
});
|
|
9580
|
-
}
|
|
9570
|
+
HistoricalPixAccountComponent.prototype.isNotAllowMessage = function () {
|
|
9571
|
+
this.messageService.add({
|
|
9572
|
+
severity: "error",
|
|
9573
|
+
summary: this.translateService.instant("hcm.payroll.error"),
|
|
9574
|
+
detail: this.translateService.instant("hcm.payroll.permission_error_not_allowed"),
|
|
9575
|
+
});
|
|
9581
9576
|
};
|
|
9582
9577
|
HistoricalPixAccountComponent.prototype.deleteAnnuityItem = function (index) {
|
|
9583
9578
|
var newlist = __spread(this.getHistoricalPixAccountList());
|
|
@@ -10550,11 +10545,7 @@
|
|
|
10550
10545
|
_this.enableView.emit(dateChange);
|
|
10551
10546
|
}
|
|
10552
10547
|
else {
|
|
10553
|
-
_this.
|
|
10554
|
-
severity: "error",
|
|
10555
|
-
summary: _this.translateService.instant("hcm.payroll.error"),
|
|
10556
|
-
detail: _this.translateService.instant("hcm.payroll.permission_error_not_allowed"),
|
|
10557
|
-
});
|
|
10548
|
+
_this.isNotAllowMessage();
|
|
10558
10549
|
}
|
|
10559
10550
|
},
|
|
10560
10551
|
},
|
|
@@ -10565,11 +10556,7 @@
|
|
|
10565
10556
|
_this.delete(rowData.id, rowData.dateChange);
|
|
10566
10557
|
}
|
|
10567
10558
|
else {
|
|
10568
|
-
_this.
|
|
10569
|
-
severity: "error",
|
|
10570
|
-
summary: _this.translateService.instant("hcm.payroll.error"),
|
|
10571
|
-
detail: _this.translateService.instant("hcm.payroll.permission_error_not_allowed"),
|
|
10572
|
-
});
|
|
10559
|
+
_this.isNotAllowMessage();
|
|
10573
10560
|
}
|
|
10574
10561
|
},
|
|
10575
10562
|
},
|
|
@@ -10627,6 +10614,13 @@
|
|
|
10627
10614
|
});
|
|
10628
10615
|
}
|
|
10629
10616
|
};
|
|
10617
|
+
HistoricalPixAccountListComponent.prototype.isNotAllowMessage = function () {
|
|
10618
|
+
this.messageService.add({
|
|
10619
|
+
severity: "error",
|
|
10620
|
+
summary: this.translateService.instant("hcm.payroll.error"),
|
|
10621
|
+
detail: this.translateService.instant("hcm.payroll.permission_error_not_allowed"),
|
|
10622
|
+
});
|
|
10623
|
+
};
|
|
10630
10624
|
HistoricalPixAccountListComponent.prototype.onGridLoad = function (payload) {
|
|
10631
10625
|
if (payload && payload.length) {
|
|
10632
10626
|
this.lastRecord = payload[0];
|