@senior-gestao-pessoas/payroll-core 9.3.0-91e42bbe-0783-45c0-91c2-ac243803cb3c → 9.3.0-c5927d2c-fb18-4ed1-af2e-a5bdbe45b54d

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.
@@ -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 = false;
10471
10472
  this.enableView = new core.EventEmitter();
10472
10473
  this.ngUnsubscribe = new rxjs.Subject();
10473
10474
  this.loading = true;
@@ -10537,12 +10538,15 @@
10537
10538
  command: function () {
10538
10539
  if (_this.isAllowToViewHistorical) {
10539
10540
  var dateChange = rowData && rowData.dateChange && moment$e(rowData.dateChange, _this.dateFormat).format("YYYY-MM-DD");
10540
- if (_this.withSidebar)
10541
+ if (_this.withSidebar) {
10541
10542
  _this.router.navigate(["historical-pix-account/" + dateChange], {
10542
10543
  relativeTo: _this.activatedRoute,
10543
10544
  });
10544
- else
10545
+ }
10546
+ else {
10547
+ _this.isOnlyView = true;
10545
10548
  _this.enableView.emit(dateChange);
10549
+ }
10546
10550
  }
10547
10551
  else {
10548
10552
  _this.isNotAllowMessage();
@@ -10697,6 +10701,9 @@
10697
10701
  __decorate([
10698
10702
  core.Input()
10699
10703
  ], HistoricalPixAccountListComponent.prototype, "withSidebar", void 0);
10704
+ __decorate([
10705
+ core.Input()
10706
+ ], HistoricalPixAccountListComponent.prototype, "isOnlyView", void 0);
10700
10707
  __decorate([
10701
10708
  core.Output()
10702
10709
  ], HistoricalPixAccountListComponent.prototype, "enableView", void 0);