@senior-gestao-pessoas/payroll-core 9.3.0-96656ff7-d237-4819-9ab8-984d01f3ff5b → 9.3.0-a077689b-20b5-4a6b-9e4f-5cf29bb85406

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 = {
@@ -9492,9 +9493,10 @@
9492
9493
  }
9493
9494
  else {
9494
9495
  _this.isOnlyEdit.emit(true);
9495
- if (!_this.listDataReciever) {
9496
+ if (!_this.listFromApp) {
9497
+ console.log('ENTER IN EDIT');
9496
9498
  rowData["index"] = key;
9497
- _this.pixAccountItemInput = { currentItem: rowData, listData: _this.listDataNoPage, isEditMode: false };
9499
+ _this.pixAccountItemInput = { currentItem: rowData, listData: _this.listDataNoPage, isEditMode: true };
9498
9500
  _this.visible = true;
9499
9501
  }
9500
9502
  }
@@ -9510,7 +9512,7 @@
9510
9512
  }
9511
9513
  else {
9512
9514
  _this.isOnlyDelete.emit(true);
9513
- if (!_this.listDataReciever) {
9515
+ if (!_this.listFromApp) {
9514
9516
  _this.loading = true;
9515
9517
  _this.deleteAnnuityItem(key);
9516
9518
  }
@@ -9524,6 +9526,13 @@
9524
9526
  HistoricalPixAccountComponent.prototype.ngOnInit = function () {
9525
9527
  this.formGroup.setControl(this.fieldFormGroup, this.historicalPixAccountList);
9526
9528
  };
9529
+ HistoricalPixAccountComponent.prototype.ngOnChanges = function (changes) {
9530
+ if (changes['listDataReciever'] && changes['listDataReciever'].currentValue) {
9531
+ console.log('changes', changes['listDataReciever'].currentValue);
9532
+ this.listFromApp = changes['listDataReciever'].currentValue;
9533
+ console.log('listFromApp', this.listFromApp);
9534
+ }
9535
+ };
9527
9536
  HistoricalPixAccountComponent.prototype.createFormGroup = function () {
9528
9537
  this.historicalPixAccountList = this.formBuilder.group({
9529
9538
  historicalPixAccountList: this.formBuilder.control(null),