@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.
@@ -9434,6 +9434,7 @@
9434
9434
  this.isViewMode = false;
9435
9435
  this.withSideBar = true;
9436
9436
  this.defaultCpfNumber = null;
9437
+ this.listDataReciever = [];
9437
9438
  this.isOnlyView = new core.EventEmitter();
9438
9439
  this.isOnlyEdit = new core.EventEmitter();
9439
9440
  this.isOnlyDelete = new core.EventEmitter();
@@ -9491,6 +9492,11 @@
9491
9492
  }
9492
9493
  else {
9493
9494
  _this.isOnlyEdit.emit(true);
9495
+ if (!_this.listDataReciever && _this.listDataReciever.length == 0) {
9496
+ rowData["index"] = key;
9497
+ _this.pixAccountItemInput = { currentItem: rowData, listData: _this.listDataNoPage, isEditMode: true };
9498
+ _this.visible = true;
9499
+ }
9494
9500
  }
9495
9501
  },
9496
9502
  },
@@ -9504,6 +9510,10 @@
9504
9510
  }
9505
9511
  else {
9506
9512
  _this.isOnlyDelete.emit(true);
9513
+ if (!_this.listDataReciever && _this.listDataReciever.length == 0) {
9514
+ _this.loading = true;
9515
+ _this.deleteAnnuityItem(key);
9516
+ }
9507
9517
  }
9508
9518
  },
9509
9519
  },
@@ -9807,6 +9817,9 @@
9807
9817
  __decorate([
9808
9818
  core.Input()
9809
9819
  ], HistoricalPixAccountComponent.prototype, "permission", void 0);
9820
+ __decorate([
9821
+ core.Input()
9822
+ ], HistoricalPixAccountComponent.prototype, "listDataReciever", void 0);
9810
9823
  __decorate([
9811
9824
  core.Output()
9812
9825
  ], HistoricalPixAccountComponent.prototype, "isOnlyView", void 0);