@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.
@@ -10302,6 +10302,7 @@ var HistoricalPixAccountListComponent = /** @class */ (function () {
10302
10302
  this.endPoint = "hcm/payroll/queries/historicalEmployeePixQuery";
10303
10303
  this.keyPayload = "historicalEmployeePix";
10304
10304
  this.withSidebar = true;
10305
+ this.isOnlyView = false;
10305
10306
  this.enableView = new EventEmitter();
10306
10307
  this.ngUnsubscribe = new Subject();
10307
10308
  this.loading = true;
@@ -10371,12 +10372,15 @@ var HistoricalPixAccountListComponent = /** @class */ (function () {
10371
10372
  command: function () {
10372
10373
  if (_this.isAllowToViewHistorical) {
10373
10374
  var dateChange = rowData && rowData.dateChange && moment$e(rowData.dateChange, _this.dateFormat).format("YYYY-MM-DD");
10374
- if (_this.withSidebar)
10375
+ if (_this.withSidebar) {
10375
10376
  _this.router.navigate(["historical-pix-account/" + dateChange], {
10376
10377
  relativeTo: _this.activatedRoute,
10377
10378
  });
10378
- else
10379
+ }
10380
+ else {
10381
+ _this.isOnlyView = true;
10379
10382
  _this.enableView.emit(dateChange);
10383
+ }
10380
10384
  }
10381
10385
  else {
10382
10386
  _this.isNotAllowMessage();
@@ -10531,6 +10535,9 @@ var HistoricalPixAccountListComponent = /** @class */ (function () {
10531
10535
  __decorate([
10532
10536
  Input()
10533
10537
  ], HistoricalPixAccountListComponent.prototype, "withSidebar", void 0);
10538
+ __decorate([
10539
+ Input()
10540
+ ], HistoricalPixAccountListComponent.prototype, "isOnlyView", void 0);
10534
10541
  __decorate([
10535
10542
  Output()
10536
10543
  ], HistoricalPixAccountListComponent.prototype, "enableView", void 0);