@senior-gestao-pessoas/payroll-core 9.3.0-8e3650be-79b5-4803-9eab-ad01b4739d46 → 9.3.0-f0e95122-ee14-4fff-b114-c382ed3407eb
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 +24 -8
- 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 +1 -0
- package/esm2015/components/historical-pix-account/historical-pix-account.component.js +18 -6
- package/esm2015/components/historical-pix-account-list/historical-pix-account-list.component.js +4 -4
- package/esm5/components/historical-pix-account/historical-pix-account.component.js +22 -6
- package/esm5/components/historical-pix-account-list/historical-pix-account-list.component.js +4 -4
- package/fesm2015/senior-gestao-pessoas-payroll-core.js +20 -8
- package/fesm2015/senior-gestao-pessoas-payroll-core.js.map +1 -1
- package/fesm5/senior-gestao-pessoas-payroll-core.js +24 -8
- 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
|
@@ -9301,9 +9301,18 @@ var HistoricalPixAccountComponent = /** @class */ (function () {
|
|
|
9301
9301
|
visible: _this.isEditMode,
|
|
9302
9302
|
label: _this.translateService.instant("hcm.payroll.employees_image_cropper_view"),
|
|
9303
9303
|
command: function () {
|
|
9304
|
-
rowData
|
|
9305
|
-
|
|
9306
|
-
|
|
9304
|
+
if (_this.isAllowToViewHistorical && rowData) {
|
|
9305
|
+
rowData["index"] = key;
|
|
9306
|
+
_this.pixAccountItemInput = { currentItem: rowData, listData: _this.listDataNoPage, isEditMode: false };
|
|
9307
|
+
_this.visible = true;
|
|
9308
|
+
}
|
|
9309
|
+
else {
|
|
9310
|
+
_this.messageService.add({
|
|
9311
|
+
severity: "error",
|
|
9312
|
+
summary: _this.translateService.instant("hcm.payroll.error"),
|
|
9313
|
+
detail: _this.translateService.instant("hcm.payroll.permission_error_not_allowed"),
|
|
9314
|
+
});
|
|
9315
|
+
}
|
|
9307
9316
|
},
|
|
9308
9317
|
},
|
|
9309
9318
|
{
|
|
@@ -9551,14 +9560,21 @@ var HistoricalPixAccountComponent = /** @class */ (function () {
|
|
|
9551
9560
|
};
|
|
9552
9561
|
Object.defineProperty(HistoricalPixAccountComponent.prototype, "isAllowToDeleteHistorical", {
|
|
9553
9562
|
get: function () {
|
|
9554
|
-
return (this.permission["
|
|
9563
|
+
return (this.permission["Excluir"]);
|
|
9555
9564
|
},
|
|
9556
9565
|
enumerable: true,
|
|
9557
9566
|
configurable: true
|
|
9558
9567
|
});
|
|
9559
9568
|
Object.defineProperty(HistoricalPixAccountComponent.prototype, "isAllowToEditHistorical", {
|
|
9560
9569
|
get: function () {
|
|
9561
|
-
return (this.permission["
|
|
9570
|
+
return (this.permission["Editar"]);
|
|
9571
|
+
},
|
|
9572
|
+
enumerable: true,
|
|
9573
|
+
configurable: true
|
|
9574
|
+
});
|
|
9575
|
+
Object.defineProperty(HistoricalPixAccountComponent.prototype, "isAllowToViewHistorical", {
|
|
9576
|
+
get: function () {
|
|
9577
|
+
return (this.permission["Visualizar"]);
|
|
9562
9578
|
},
|
|
9563
9579
|
enumerable: true,
|
|
9564
9580
|
configurable: true
|
|
@@ -10447,21 +10463,21 @@ var HistoricalPixAccountListComponent = /** @class */ (function () {
|
|
|
10447
10463
|
};
|
|
10448
10464
|
Object.defineProperty(HistoricalPixAccountListComponent.prototype, "isAllowToAddHistorical", {
|
|
10449
10465
|
get: function () {
|
|
10450
|
-
return (this.permission["
|
|
10466
|
+
return (this.permission["Incluir"]);
|
|
10451
10467
|
},
|
|
10452
10468
|
enumerable: true,
|
|
10453
10469
|
configurable: true
|
|
10454
10470
|
});
|
|
10455
10471
|
Object.defineProperty(HistoricalPixAccountListComponent.prototype, "isAllowToDeleteHistorical", {
|
|
10456
10472
|
get: function () {
|
|
10457
|
-
return (this.permission["
|
|
10473
|
+
return (this.permission["Excluir"]);
|
|
10458
10474
|
},
|
|
10459
10475
|
enumerable: true,
|
|
10460
10476
|
configurable: true
|
|
10461
10477
|
});
|
|
10462
10478
|
Object.defineProperty(HistoricalPixAccountListComponent.prototype, "isAllowToViewHistorical", {
|
|
10463
10479
|
get: function () {
|
|
10464
|
-
return (this.permission["
|
|
10480
|
+
return (this.permission["Visualizar"]);
|
|
10465
10481
|
},
|
|
10466
10482
|
enumerable: true,
|
|
10467
10483
|
configurable: true
|