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