@senior-gestao-pessoas/payroll-core 9.3.0-ce4e33bc-a617-435b-b394-9a9e3ca226f4 → 9.3.0-d3341f01-2532-4915-b7ea-ac938a442b19

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,7 @@ var HistoricalPixAccountComponent = /** @class */ (function () {
9268
9268
  this.isViewMode = false;
9269
9269
  this.withSideBar = true;
9270
9270
  this.defaultCpfNumber = null;
9271
+ this.listDataReciever = [];
9271
9272
  this.isOnlyView = new EventEmitter();
9272
9273
  this.isOnlyEdit = new EventEmitter();
9273
9274
  this.isOnlyDelete = new EventEmitter();
@@ -9325,6 +9326,11 @@ var HistoricalPixAccountComponent = /** @class */ (function () {
9325
9326
  }
9326
9327
  else {
9327
9328
  _this.isOnlyEdit.emit(true);
9329
+ if (!_this.listDataReciever && _this.listDataReciever.length == 0) {
9330
+ rowData["index"] = key;
9331
+ _this.pixAccountItemInput = { currentItem: rowData, listData: _this.listDataNoPage, isEditMode: true };
9332
+ _this.visible = true;
9333
+ }
9328
9334
  }
9329
9335
  },
9330
9336
  },
@@ -9338,6 +9344,10 @@ var HistoricalPixAccountComponent = /** @class */ (function () {
9338
9344
  }
9339
9345
  else {
9340
9346
  _this.isOnlyDelete.emit(true);
9347
+ if (!_this.listDataReciever && _this.listDataReciever.length == 0) {
9348
+ _this.loading = true;
9349
+ _this.deleteAnnuityItem(key);
9350
+ }
9341
9351
  }
9342
9352
  },
9343
9353
  },
@@ -9641,6 +9651,9 @@ var HistoricalPixAccountComponent = /** @class */ (function () {
9641
9651
  __decorate([
9642
9652
  Input()
9643
9653
  ], HistoricalPixAccountComponent.prototype, "permission", void 0);
9654
+ __decorate([
9655
+ Input()
9656
+ ], HistoricalPixAccountComponent.prototype, "listDataReciever", void 0);
9644
9657
  __decorate([
9645
9658
  Output()
9646
9659
  ], HistoricalPixAccountComponent.prototype, "isOnlyView", void 0);