@senior-gestao-pessoas/payroll-core 9.3.0-d99b0dbd-5fc0-4b98-979b-fe30c751fa36 → 9.3.0-fdc2ca03-c046-451a-bb4a-4d788fbde8cb
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 +13 -15
- 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 +4 -1
- package/esm2015/components/historical-pix-account-list/historical-pix-account-list.component.js +7 -16
- package/esm5/components/historical-pix-account/historical-pix-account.component.js +8 -1
- package/esm5/components/historical-pix-account-list/historical-pix-account-list.component.js +7 -16
- package/fesm2015/senior-gestao-pessoas-payroll-core.js +9 -15
- package/fesm2015/senior-gestao-pessoas-payroll-core.js.map +1 -1
- package/fesm5/senior-gestao-pessoas-payroll-core.js +13 -15
- 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
|
@@ -9563,6 +9563,13 @@ var HistoricalPixAccountComponent = /** @class */ (function () {
|
|
|
9563
9563
|
enumerable: true,
|
|
9564
9564
|
configurable: true
|
|
9565
9565
|
});
|
|
9566
|
+
Object.defineProperty(HistoricalPixAccountComponent.prototype, "isAllowToViewHistorical", {
|
|
9567
|
+
get: function () {
|
|
9568
|
+
return (this.permission["Visualizar"]);
|
|
9569
|
+
},
|
|
9570
|
+
enumerable: true,
|
|
9571
|
+
configurable: true
|
|
9572
|
+
});
|
|
9566
9573
|
HistoricalPixAccountComponent.ctorParameters = function () { return [
|
|
9567
9574
|
{ type: TranslateService },
|
|
9568
9575
|
{ type: ChangeDetectorRef },
|
|
@@ -10351,23 +10358,14 @@ var HistoricalPixAccountListComponent = /** @class */ (function () {
|
|
|
10351
10358
|
{
|
|
10352
10359
|
label: this.translateService.instant("hcm.payroll.employees_image_cropper_view"),
|
|
10353
10360
|
command: function () {
|
|
10354
|
-
|
|
10355
|
-
|
|
10356
|
-
|
|
10357
|
-
_this.
|
|
10358
|
-
|
|
10359
|
-
});
|
|
10360
|
-
}
|
|
10361
|
-
else {
|
|
10362
|
-
_this.enableView.emit(dateChange);
|
|
10363
|
-
}
|
|
10361
|
+
var dateChange = rowData && rowData.dateChange && moment$e(rowData.dateChange, _this.dateFormat).format("YYYY-MM-DD");
|
|
10362
|
+
if (_this.withSidebar) {
|
|
10363
|
+
_this.router.navigate(["historical-pix-account/" + dateChange], {
|
|
10364
|
+
relativeTo: _this.activatedRoute,
|
|
10365
|
+
});
|
|
10364
10366
|
}
|
|
10365
10367
|
else {
|
|
10366
|
-
_this.
|
|
10367
|
-
severity: "error",
|
|
10368
|
-
summary: _this.translateService.instant("hcm.payroll.error"),
|
|
10369
|
-
detail: _this.translateService.instant("hcm.payroll.permission_error_not_allowed"),
|
|
10370
|
-
});
|
|
10368
|
+
_this.enableView.emit(dateChange);
|
|
10371
10369
|
}
|
|
10372
10370
|
},
|
|
10373
10371
|
},
|