@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
|
@@ -9298,8 +9298,6 @@ var HistoricalPixAccountComponent = /** @class */ (function () {
|
|
|
9298
9298
|
if (rowData === void 0) { rowData = {}; }
|
|
9299
9299
|
return [
|
|
9300
9300
|
{
|
|
9301
|
-
isNotAllowMessage: _this.isNotAllowMessage(_this.isAllowToViewHistorical),
|
|
9302
|
-
visible: _this.isEditMode,
|
|
9303
9301
|
label: _this.translateService.instant("hcm.payroll.employees_image_cropper_view"),
|
|
9304
9302
|
command: function () {
|
|
9305
9303
|
if (_this.isAllowToViewHistorical) {
|
|
@@ -9308,13 +9306,12 @@ var HistoricalPixAccountComponent = /** @class */ (function () {
|
|
|
9308
9306
|
_this.visible = true;
|
|
9309
9307
|
}
|
|
9310
9308
|
else {
|
|
9311
|
-
|
|
9309
|
+
_this.visible = false;
|
|
9310
|
+
_this.isNotAllowMessage();
|
|
9312
9311
|
}
|
|
9313
9312
|
},
|
|
9314
9313
|
},
|
|
9315
9314
|
{
|
|
9316
|
-
isNotAllowMessage: _this.isNotAllowMessage(_this.isAllowToEditHistorical),
|
|
9317
|
-
visible: !!(!_this.isEditMode && _this.withSideBar),
|
|
9318
9315
|
label: _this.translateService.instant("hcm.payroll.edit"),
|
|
9319
9316
|
command: function () {
|
|
9320
9317
|
if (_this.isAllowToEditHistorical) {
|
|
@@ -9323,13 +9320,12 @@ var HistoricalPixAccountComponent = /** @class */ (function () {
|
|
|
9323
9320
|
_this.visible = true;
|
|
9324
9321
|
}
|
|
9325
9322
|
else {
|
|
9326
|
-
|
|
9323
|
+
_this.visible = false;
|
|
9324
|
+
_this.isNotAllowMessage();
|
|
9327
9325
|
}
|
|
9328
9326
|
},
|
|
9329
9327
|
},
|
|
9330
9328
|
{
|
|
9331
|
-
isNotAllowMessage: _this.isNotAllowMessage(_this.isAllowToDeleteHistorical),
|
|
9332
|
-
visible: !_this.isEditMode,
|
|
9333
9329
|
label: _this.translateService.instant("hcm.payroll.delete"),
|
|
9334
9330
|
command: function () {
|
|
9335
9331
|
if (_this.isAllowToDeleteHistorical) {
|
|
@@ -9337,7 +9333,8 @@ var HistoricalPixAccountComponent = /** @class */ (function () {
|
|
|
9337
9333
|
_this.deleteAnnuityItem(key);
|
|
9338
9334
|
}
|
|
9339
9335
|
else {
|
|
9340
|
-
|
|
9336
|
+
_this.visible = false;
|
|
9337
|
+
_this.isNotAllowMessage();
|
|
9341
9338
|
}
|
|
9342
9339
|
},
|
|
9343
9340
|
},
|
|
@@ -9404,14 +9401,12 @@ var HistoricalPixAccountComponent = /** @class */ (function () {
|
|
|
9404
9401
|
this.pixAccountItemInput = {};
|
|
9405
9402
|
this.visible = true;
|
|
9406
9403
|
};
|
|
9407
|
-
HistoricalPixAccountComponent.prototype.isNotAllowMessage = function (
|
|
9408
|
-
|
|
9409
|
-
|
|
9410
|
-
|
|
9411
|
-
|
|
9412
|
-
|
|
9413
|
-
});
|
|
9414
|
-
}
|
|
9404
|
+
HistoricalPixAccountComponent.prototype.isNotAllowMessage = function () {
|
|
9405
|
+
this.messageService.add({
|
|
9406
|
+
severity: "error",
|
|
9407
|
+
summary: this.translateService.instant("hcm.payroll.error"),
|
|
9408
|
+
detail: this.translateService.instant("hcm.payroll.permission_error_not_allowed"),
|
|
9409
|
+
});
|
|
9415
9410
|
};
|
|
9416
9411
|
HistoricalPixAccountComponent.prototype.deleteAnnuityItem = function (index) {
|
|
9417
9412
|
var newlist = __spread(this.getHistoricalPixAccountList());
|
|
@@ -10384,11 +10379,7 @@ var HistoricalPixAccountListComponent = /** @class */ (function () {
|
|
|
10384
10379
|
_this.enableView.emit(dateChange);
|
|
10385
10380
|
}
|
|
10386
10381
|
else {
|
|
10387
|
-
_this.
|
|
10388
|
-
severity: "error",
|
|
10389
|
-
summary: _this.translateService.instant("hcm.payroll.error"),
|
|
10390
|
-
detail: _this.translateService.instant("hcm.payroll.permission_error_not_allowed"),
|
|
10391
|
-
});
|
|
10382
|
+
_this.isNotAllowMessage();
|
|
10392
10383
|
}
|
|
10393
10384
|
},
|
|
10394
10385
|
},
|
|
@@ -10399,11 +10390,7 @@ var HistoricalPixAccountListComponent = /** @class */ (function () {
|
|
|
10399
10390
|
_this.delete(rowData.id, rowData.dateChange);
|
|
10400
10391
|
}
|
|
10401
10392
|
else {
|
|
10402
|
-
_this.
|
|
10403
|
-
severity: "error",
|
|
10404
|
-
summary: _this.translateService.instant("hcm.payroll.error"),
|
|
10405
|
-
detail: _this.translateService.instant("hcm.payroll.permission_error_not_allowed"),
|
|
10406
|
-
});
|
|
10393
|
+
_this.isNotAllowMessage();
|
|
10407
10394
|
}
|
|
10408
10395
|
},
|
|
10409
10396
|
},
|
|
@@ -10461,6 +10448,13 @@ var HistoricalPixAccountListComponent = /** @class */ (function () {
|
|
|
10461
10448
|
});
|
|
10462
10449
|
}
|
|
10463
10450
|
};
|
|
10451
|
+
HistoricalPixAccountListComponent.prototype.isNotAllowMessage = function () {
|
|
10452
|
+
this.messageService.add({
|
|
10453
|
+
severity: "error",
|
|
10454
|
+
summary: this.translateService.instant("hcm.payroll.error"),
|
|
10455
|
+
detail: this.translateService.instant("hcm.payroll.permission_error_not_allowed"),
|
|
10456
|
+
});
|
|
10457
|
+
};
|
|
10464
10458
|
HistoricalPixAccountListComponent.prototype.onGridLoad = function (payload) {
|
|
10465
10459
|
if (payload && payload.length) {
|
|
10466
10460
|
this.lastRecord = payload[0];
|