@senior-gestao-pessoas/payroll-core 9.3.0-c5927d2c-fb18-4ed1-af2e-a5bdbe45b54d → 9.3.0-ce4e33bc-a617-435b-b394-9a9e3ca226f4

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.
@@ -9268,6 +9268,9 @@ var HistoricalPixAccountComponent = /** @class */ (function () {
9268
9268
  this.isViewMode = false;
9269
9269
  this.withSideBar = true;
9270
9270
  this.defaultCpfNumber = null;
9271
+ this.isOnlyView = new EventEmitter();
9272
+ this.isOnlyEdit = new EventEmitter();
9273
+ this.isOnlyDelete = new EventEmitter();
9271
9274
  this.visibleChange = new EventEmitter();
9272
9275
  this.ngUnsubscribe = new Subject();
9273
9276
  this.orderBy = {
@@ -9307,7 +9310,7 @@ var HistoricalPixAccountComponent = /** @class */ (function () {
9307
9310
  _this.visible = true;
9308
9311
  }
9309
9312
  else {
9310
- _this.isNotAllowMessage();
9313
+ _this.isOnlyView.emit(true);
9311
9314
  }
9312
9315
  },
9313
9316
  },
@@ -9321,7 +9324,7 @@ var HistoricalPixAccountComponent = /** @class */ (function () {
9321
9324
  _this.visible = true;
9322
9325
  }
9323
9326
  else {
9324
- _this.isNotAllowMessage();
9327
+ _this.isOnlyEdit.emit(true);
9325
9328
  }
9326
9329
  },
9327
9330
  },
@@ -9334,7 +9337,7 @@ var HistoricalPixAccountComponent = /** @class */ (function () {
9334
9337
  _this.deleteAnnuityItem(key);
9335
9338
  }
9336
9339
  else {
9337
- _this.isNotAllowMessage();
9340
+ _this.isOnlyDelete.emit(true);
9338
9341
  }
9339
9342
  },
9340
9343
  },
@@ -9638,6 +9641,15 @@ var HistoricalPixAccountComponent = /** @class */ (function () {
9638
9641
  __decorate([
9639
9642
  Input()
9640
9643
  ], HistoricalPixAccountComponent.prototype, "permission", void 0);
9644
+ __decorate([
9645
+ Output()
9646
+ ], HistoricalPixAccountComponent.prototype, "isOnlyView", void 0);
9647
+ __decorate([
9648
+ Output()
9649
+ ], HistoricalPixAccountComponent.prototype, "isOnlyEdit", void 0);
9650
+ __decorate([
9651
+ Output()
9652
+ ], HistoricalPixAccountComponent.prototype, "isOnlyDelete", void 0);
9641
9653
  __decorate([
9642
9654
  Input()
9643
9655
  ], HistoricalPixAccountComponent.prototype, "dateChange", null);
@@ -10302,7 +10314,7 @@ var HistoricalPixAccountListComponent = /** @class */ (function () {
10302
10314
  this.endPoint = "hcm/payroll/queries/historicalEmployeePixQuery";
10303
10315
  this.keyPayload = "historicalEmployeePix";
10304
10316
  this.withSidebar = true;
10305
- this.isOnlyView = false;
10317
+ this.isOnlyView = new EventEmitter();
10306
10318
  this.enableView = new EventEmitter();
10307
10319
  this.ngUnsubscribe = new Subject();
10308
10320
  this.loading = true;
@@ -10373,12 +10385,12 @@ var HistoricalPixAccountListComponent = /** @class */ (function () {
10373
10385
  if (_this.isAllowToViewHistorical) {
10374
10386
  var dateChange = rowData && rowData.dateChange && moment$e(rowData.dateChange, _this.dateFormat).format("YYYY-MM-DD");
10375
10387
  if (_this.withSidebar) {
10388
+ _this.isOnlyView.emit(true);
10376
10389
  _this.router.navigate(["historical-pix-account/" + dateChange], {
10377
10390
  relativeTo: _this.activatedRoute,
10378
10391
  });
10379
10392
  }
10380
10393
  else {
10381
- _this.isOnlyView = true;
10382
10394
  _this.enableView.emit(dateChange);
10383
10395
  }
10384
10396
  }
@@ -10536,7 +10548,7 @@ var HistoricalPixAccountListComponent = /** @class */ (function () {
10536
10548
  Input()
10537
10549
  ], HistoricalPixAccountListComponent.prototype, "withSidebar", void 0);
10538
10550
  __decorate([
10539
- Input()
10551
+ Output()
10540
10552
  ], HistoricalPixAccountListComponent.prototype, "isOnlyView", void 0);
10541
10553
  __decorate([
10542
10554
  Output()