@senior-gestao-pessoas/payroll-core 9.3.0-ac36b888-edb7-44ba-bf81-c8f7ad64dd56 → 9.3.0-b2587f77-b947-40a7-9008-40b2e83f2be9

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.
@@ -9438,6 +9438,7 @@
9438
9438
  this.isOnlyView = new core.EventEmitter();
9439
9439
  this.isOnlyEdit = new core.EventEmitter();
9440
9440
  this.isOnlyDelete = new core.EventEmitter();
9441
+ this.listFromApp = [];
9441
9442
  this.visibleChange = new core.EventEmitter();
9442
9443
  this.ngUnsubscribe = new rxjs.Subject();
9443
9444
  this.orderBy = {
@@ -9478,11 +9479,6 @@
9478
9479
  }
9479
9480
  else {
9480
9481
  _this.isOnlyView.emit(true);
9481
- if (!_this.listDataReciever || _this.listDataReciever.length == 0) {
9482
- rowData["index"] = key;
9483
- _this.pixAccountItemInput = { currentItem: rowData, listData: _this.listDataNoPage, isEditMode: false };
9484
- _this.visible = true;
9485
- }
9486
9482
  }
9487
9483
  },
9488
9484
  },
@@ -9497,9 +9493,9 @@
9497
9493
  }
9498
9494
  else {
9499
9495
  _this.isOnlyEdit.emit(true);
9500
- if (!_this.listDataReciever || _this.listDataReciever.length == 0) {
9496
+ if (!_this.listFromApp) {
9501
9497
  rowData["index"] = key;
9502
- _this.pixAccountItemInput = { currentItem: rowData, listData: _this.listDataNoPage, isEditMode: false };
9498
+ _this.pixAccountItemInput = { currentItem: rowData, listData: _this.listDataNoPage, isEditMode: true };
9503
9499
  _this.visible = true;
9504
9500
  }
9505
9501
  }
@@ -9515,6 +9511,10 @@
9515
9511
  }
9516
9512
  else {
9517
9513
  _this.isOnlyDelete.emit(true);
9514
+ if (!_this.listFromApp) {
9515
+ _this.loading = true;
9516
+ _this.deleteAnnuityItem(key);
9517
+ }
9518
9518
  }
9519
9519
  },
9520
9520
  },
@@ -9525,6 +9525,11 @@
9525
9525
  HistoricalPixAccountComponent.prototype.ngOnInit = function () {
9526
9526
  this.formGroup.setControl(this.fieldFormGroup, this.historicalPixAccountList);
9527
9527
  };
9528
+ HistoricalPixAccountComponent.prototype.ngOnChanges = function (changes) {
9529
+ if (changes['listDataReciever'] && changes['listDataReciever'].currentValue) {
9530
+ this.listFromApp = changes['listDataReciever'].currentValue;
9531
+ }
9532
+ };
9528
9533
  HistoricalPixAccountComponent.prototype.createFormGroup = function () {
9529
9534
  this.historicalPixAccountList = this.formBuilder.group({
9530
9535
  historicalPixAccountList: this.formBuilder.control(null),