@senior-gestao-pessoas/payroll-core 9.3.0-91e42bbe-0783-45c0-91c2-ac243803cb3c → 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 -2
- 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-list/historical-pix-account-list.component.js +13 -3
- package/esm5/components/historical-pix-account-list/historical-pix-account-list.component.js +13 -3
- package/fesm2015/senior-gestao-pessoas-payroll-core.js +12 -2
- package/fesm2015/senior-gestao-pessoas-payroll-core.js.map +1 -1
- package/fesm5/senior-gestao-pessoas-payroll-core.js +12 -2
- 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
|
@@ -10468,6 +10468,7 @@
|
|
|
10468
10468
|
this.endPoint = "hcm/payroll/queries/historicalEmployeePixQuery";
|
|
10469
10469
|
this.keyPayload = "historicalEmployeePix";
|
|
10470
10470
|
this.withSidebar = true;
|
|
10471
|
+
this.isOnlyView = new core.EventEmitter();
|
|
10471
10472
|
this.enableView = new core.EventEmitter();
|
|
10472
10473
|
this.ngUnsubscribe = new rxjs.Subject();
|
|
10473
10474
|
this.loading = true;
|
|
@@ -10535,14 +10536,20 @@
|
|
|
10535
10536
|
{
|
|
10536
10537
|
label: this.translateService.instant("hcm.payroll.employees_image_cropper_view"),
|
|
10537
10538
|
command: function () {
|
|
10539
|
+
console.log('COMMAND CALLED');
|
|
10540
|
+
console.log('this.isAllowToViewHistorical', _this.isAllowToViewHistorical);
|
|
10538
10541
|
if (_this.isAllowToViewHistorical) {
|
|
10539
10542
|
var dateChange = rowData && rowData.dateChange && moment$e(rowData.dateChange, _this.dateFormat).format("YYYY-MM-DD");
|
|
10540
|
-
|
|
10543
|
+
console.log('withSidebar', _this.withSidebar);
|
|
10544
|
+
if (_this.withSidebar) {
|
|
10545
|
+
_this.isOnlyView.emit(true);
|
|
10541
10546
|
_this.router.navigate(["historical-pix-account/" + dateChange], {
|
|
10542
10547
|
relativeTo: _this.activatedRoute,
|
|
10543
10548
|
});
|
|
10544
|
-
|
|
10549
|
+
}
|
|
10550
|
+
else {
|
|
10545
10551
|
_this.enableView.emit(dateChange);
|
|
10552
|
+
}
|
|
10546
10553
|
}
|
|
10547
10554
|
else {
|
|
10548
10555
|
_this.isNotAllowMessage();
|
|
@@ -10697,6 +10704,9 @@
|
|
|
10697
10704
|
__decorate([
|
|
10698
10705
|
core.Input()
|
|
10699
10706
|
], HistoricalPixAccountListComponent.prototype, "withSidebar", void 0);
|
|
10707
|
+
__decorate([
|
|
10708
|
+
core.Output()
|
|
10709
|
+
], HistoricalPixAccountListComponent.prototype, "isOnlyView", void 0);
|
|
10700
10710
|
__decorate([
|
|
10701
10711
|
core.Output()
|
|
10702
10712
|
], HistoricalPixAccountListComponent.prototype, "enableView", void 0);
|