@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.
@@ -9307,7 +9307,6 @@ var HistoricalPixAccountComponent = /** @class */ (function () {
9307
9307
  _this.visible = true;
9308
9308
  }
9309
9309
  else {
9310
- _this.visible = false;
9311
9310
  _this.isNotAllowMessage();
9312
9311
  }
9313
9312
  },
@@ -9322,7 +9321,6 @@ var HistoricalPixAccountComponent = /** @class */ (function () {
9322
9321
  _this.visible = true;
9323
9322
  }
9324
9323
  else {
9325
- _this.visible = false;
9326
9324
  _this.isNotAllowMessage();
9327
9325
  }
9328
9326
  },
@@ -9336,7 +9334,6 @@ var HistoricalPixAccountComponent = /** @class */ (function () {
9336
9334
  _this.deleteAnnuityItem(key);
9337
9335
  }
9338
9336
  else {
9339
- _this.visible = false;
9340
9337
  _this.isNotAllowMessage();
9341
9338
  }
9342
9339
  },
@@ -10305,6 +10302,7 @@ var HistoricalPixAccountListComponent = /** @class */ (function () {
10305
10302
  this.endPoint = "hcm/payroll/queries/historicalEmployeePixQuery";
10306
10303
  this.keyPayload = "historicalEmployeePix";
10307
10304
  this.withSidebar = true;
10305
+ this.isOnlyView = false;
10308
10306
  this.enableView = new EventEmitter();
10309
10307
  this.ngUnsubscribe = new Subject();
10310
10308
  this.loading = true;
@@ -10374,12 +10372,15 @@ var HistoricalPixAccountListComponent = /** @class */ (function () {
10374
10372
  command: function () {
10375
10373
  if (_this.isAllowToViewHistorical) {
10376
10374
  var dateChange = rowData && rowData.dateChange && moment$e(rowData.dateChange, _this.dateFormat).format("YYYY-MM-DD");
10377
- if (_this.withSidebar)
10375
+ if (_this.withSidebar) {
10378
10376
  _this.router.navigate(["historical-pix-account/" + dateChange], {
10379
10377
  relativeTo: _this.activatedRoute,
10380
10378
  });
10381
- else
10379
+ }
10380
+ else {
10381
+ _this.isOnlyView = true;
10382
10382
  _this.enableView.emit(dateChange);
10383
+ }
10383
10384
  }
10384
10385
  else {
10385
10386
  _this.isNotAllowMessage();
@@ -10534,6 +10535,9 @@ var HistoricalPixAccountListComponent = /** @class */ (function () {
10534
10535
  __decorate([
10535
10536
  Input()
10536
10537
  ], HistoricalPixAccountListComponent.prototype, "withSidebar", void 0);
10538
+ __decorate([
10539
+ Input()
10540
+ ], HistoricalPixAccountListComponent.prototype, "isOnlyView", void 0);
10537
10541
  __decorate([
10538
10542
  Output()
10539
10543
  ], HistoricalPixAccountListComponent.prototype, "enableView", void 0);