@senior-gestao-pessoas/payroll-core 9.3.0-8ebe41a8-581c-4d97-97b8-ab18d24ec02c → 9.3.0-99a8011c-ce6f-42d8-bae5-a9d40dcf3e7b
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 +12 -5
- 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-list/historical-pix-account-list.component.d.ts +1 -0
- package/esm2015/components/historical-pix-account/historical-pix-account.component.js +1 -4
- package/esm2015/components/historical-pix-account-list/historical-pix-account-list.component.js +13 -3
- package/esm5/components/historical-pix-account/historical-pix-account.component.js +1 -4
- package/esm5/components/historical-pix-account-list/historical-pix-account-list.component.js +13 -3
- package/fesm2015/senior-gestao-pessoas-payroll-core.js +12 -5
- package/fesm2015/senior-gestao-pessoas-payroll-core.js.map +1 -1
- package/fesm5/senior-gestao-pessoas-payroll-core.js +12 -5
- 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
|
@@ -9307,7 +9307,6 @@ var HistoricalPixAccountComponent = /** @class */ (function () {
|
|
|
9307
9307
|
_this.visible = true;
|
|
9308
9308
|
}
|
|
9309
9309
|
else {
|
|
9310
|
-
_this.visible = false;
|
|
9311
9310
|
_this.isNotAllowMessage();
|
|
9312
9311
|
}
|
|
9313
9312
|
},
|
|
@@ -9322,7 +9321,6 @@ var HistoricalPixAccountComponent = /** @class */ (function () {
|
|
|
9322
9321
|
_this.visible = true;
|
|
9323
9322
|
}
|
|
9324
9323
|
else {
|
|
9325
|
-
_this.visible = false;
|
|
9326
9324
|
_this.isNotAllowMessage();
|
|
9327
9325
|
}
|
|
9328
9326
|
},
|
|
@@ -9336,7 +9334,6 @@ var HistoricalPixAccountComponent = /** @class */ (function () {
|
|
|
9336
9334
|
_this.deleteAnnuityItem(key);
|
|
9337
9335
|
}
|
|
9338
9336
|
else {
|
|
9339
|
-
_this.visible = false;
|
|
9340
9337
|
_this.isNotAllowMessage();
|
|
9341
9338
|
}
|
|
9342
9339
|
},
|
|
@@ -10305,6 +10302,7 @@ var HistoricalPixAccountListComponent = /** @class */ (function () {
|
|
|
10305
10302
|
this.endPoint = "hcm/payroll/queries/historicalEmployeePixQuery";
|
|
10306
10303
|
this.keyPayload = "historicalEmployeePix";
|
|
10307
10304
|
this.withSidebar = true;
|
|
10305
|
+
this.isOnlyView = new EventEmitter();
|
|
10308
10306
|
this.enableView = new EventEmitter();
|
|
10309
10307
|
this.ngUnsubscribe = new Subject();
|
|
10310
10308
|
this.loading = true;
|
|
@@ -10372,14 +10370,20 @@ var HistoricalPixAccountListComponent = /** @class */ (function () {
|
|
|
10372
10370
|
{
|
|
10373
10371
|
label: this.translateService.instant("hcm.payroll.employees_image_cropper_view"),
|
|
10374
10372
|
command: function () {
|
|
10373
|
+
console.log('COMMAND CALLED');
|
|
10374
|
+
console.log('this.isAllowToViewHistorical', _this.isAllowToViewHistorical);
|
|
10375
10375
|
if (_this.isAllowToViewHistorical) {
|
|
10376
10376
|
var dateChange = rowData && rowData.dateChange && moment$e(rowData.dateChange, _this.dateFormat).format("YYYY-MM-DD");
|
|
10377
|
-
|
|
10377
|
+
console.log('withSidebar', _this.withSidebar);
|
|
10378
|
+
if (_this.withSidebar) {
|
|
10379
|
+
_this.isOnlyView.emit(true);
|
|
10378
10380
|
_this.router.navigate(["historical-pix-account/" + dateChange], {
|
|
10379
10381
|
relativeTo: _this.activatedRoute,
|
|
10380
10382
|
});
|
|
10381
|
-
|
|
10383
|
+
}
|
|
10384
|
+
else {
|
|
10382
10385
|
_this.enableView.emit(dateChange);
|
|
10386
|
+
}
|
|
10383
10387
|
}
|
|
10384
10388
|
else {
|
|
10385
10389
|
_this.isNotAllowMessage();
|
|
@@ -10534,6 +10538,9 @@ var HistoricalPixAccountListComponent = /** @class */ (function () {
|
|
|
10534
10538
|
__decorate([
|
|
10535
10539
|
Input()
|
|
10536
10540
|
], HistoricalPixAccountListComponent.prototype, "withSidebar", void 0);
|
|
10541
|
+
__decorate([
|
|
10542
|
+
Output()
|
|
10543
|
+
], HistoricalPixAccountListComponent.prototype, "isOnlyView", void 0);
|
|
10537
10544
|
__decorate([
|
|
10538
10545
|
Output()
|
|
10539
10546
|
], HistoricalPixAccountListComponent.prototype, "enableView", void 0);
|