@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
|
@@ -9473,7 +9473,6 @@
|
|
|
9473
9473
|
_this.visible = true;
|
|
9474
9474
|
}
|
|
9475
9475
|
else {
|
|
9476
|
-
_this.visible = false;
|
|
9477
9476
|
_this.isNotAllowMessage();
|
|
9478
9477
|
}
|
|
9479
9478
|
},
|
|
@@ -9488,7 +9487,6 @@
|
|
|
9488
9487
|
_this.visible = true;
|
|
9489
9488
|
}
|
|
9490
9489
|
else {
|
|
9491
|
-
_this.visible = false;
|
|
9492
9490
|
_this.isNotAllowMessage();
|
|
9493
9491
|
}
|
|
9494
9492
|
},
|
|
@@ -9502,7 +9500,6 @@
|
|
|
9502
9500
|
_this.deleteAnnuityItem(key);
|
|
9503
9501
|
}
|
|
9504
9502
|
else {
|
|
9505
|
-
_this.visible = false;
|
|
9506
9503
|
_this.isNotAllowMessage();
|
|
9507
9504
|
}
|
|
9508
9505
|
},
|
|
@@ -10471,6 +10468,7 @@
|
|
|
10471
10468
|
this.endPoint = "hcm/payroll/queries/historicalEmployeePixQuery";
|
|
10472
10469
|
this.keyPayload = "historicalEmployeePix";
|
|
10473
10470
|
this.withSidebar = true;
|
|
10471
|
+
this.isOnlyView = new core.EventEmitter();
|
|
10474
10472
|
this.enableView = new core.EventEmitter();
|
|
10475
10473
|
this.ngUnsubscribe = new rxjs.Subject();
|
|
10476
10474
|
this.loading = true;
|
|
@@ -10538,14 +10536,20 @@
|
|
|
10538
10536
|
{
|
|
10539
10537
|
label: this.translateService.instant("hcm.payroll.employees_image_cropper_view"),
|
|
10540
10538
|
command: function () {
|
|
10539
|
+
console.log('COMMAND CALLED');
|
|
10540
|
+
console.log('this.isAllowToViewHistorical', _this.isAllowToViewHistorical);
|
|
10541
10541
|
if (_this.isAllowToViewHistorical) {
|
|
10542
10542
|
var dateChange = rowData && rowData.dateChange && moment$e(rowData.dateChange, _this.dateFormat).format("YYYY-MM-DD");
|
|
10543
|
-
|
|
10543
|
+
console.log('withSidebar', _this.withSidebar);
|
|
10544
|
+
if (_this.withSidebar) {
|
|
10545
|
+
_this.isOnlyView.emit(true);
|
|
10544
10546
|
_this.router.navigate(["historical-pix-account/" + dateChange], {
|
|
10545
10547
|
relativeTo: _this.activatedRoute,
|
|
10546
10548
|
});
|
|
10547
|
-
|
|
10549
|
+
}
|
|
10550
|
+
else {
|
|
10548
10551
|
_this.enableView.emit(dateChange);
|
|
10552
|
+
}
|
|
10549
10553
|
}
|
|
10550
10554
|
else {
|
|
10551
10555
|
_this.isNotAllowMessage();
|
|
@@ -10700,6 +10704,9 @@
|
|
|
10700
10704
|
__decorate([
|
|
10701
10705
|
core.Input()
|
|
10702
10706
|
], HistoricalPixAccountListComponent.prototype, "withSidebar", void 0);
|
|
10707
|
+
__decorate([
|
|
10708
|
+
core.Output()
|
|
10709
|
+
], HistoricalPixAccountListComponent.prototype, "isOnlyView", void 0);
|
|
10703
10710
|
__decorate([
|
|
10704
10711
|
core.Output()
|
|
10705
10712
|
], HistoricalPixAccountListComponent.prototype, "enableView", void 0);
|