@senior-gestao-pessoas/payroll-core 9.3.0-d3341f01-2532-4915-b7ea-ac938a442b19 → 9.3.0-d71ffa7e-4847-40d5-bab1-68cfbfa80b16
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.
- package/bundles/senior-gestao-pessoas-payroll-core.umd.js +12 -2
- package/bundles/senior-gestao-pessoas-payroll-core.umd.js.map +1 -1
- package/bundles/senior-gestao-pessoas-payroll-core.umd.min.js +1 -1
- package/bundles/senior-gestao-pessoas-payroll-core.umd.min.js.map +1 -1
- package/components/historical-pix-account/historical-pix-account.component.d.ts +4 -2
- package/esm2015/components/historical-pix-account/historical-pix-account.component.js +14 -4
- package/esm5/components/historical-pix-account/historical-pix-account.component.js +14 -4
- package/fesm2015/senior-gestao-pessoas-payroll-core.js +12 -2
- package/fesm2015/senior-gestao-pessoas-payroll-core.js.map +1 -1
- package/fesm5/senior-gestao-pessoas-payroll-core.js +12 -2
- package/fesm5/senior-gestao-pessoas-payroll-core.js.map +1 -1
- package/package.json +1 -1
- package/senior-gestao-pessoas-payroll-core.metadata.json +1 -1
|
@@ -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,7 +9493,9 @@
|
|
|
9492
9493
|
}
|
|
9493
9494
|
else {
|
|
9494
9495
|
_this.isOnlyEdit.emit(true);
|
|
9495
|
-
|
|
9496
|
+
console.log('listFromApp', _this.listFromApp);
|
|
9497
|
+
if (_this.listFromApp.length == 0) {
|
|
9498
|
+
console.log('ENTER IN EDIT');
|
|
9496
9499
|
rowData["index"] = key;
|
|
9497
9500
|
_this.pixAccountItemInput = { currentItem: rowData, listData: _this.listDataNoPage, isEditMode: true };
|
|
9498
9501
|
_this.visible = true;
|
|
@@ -9510,7 +9513,7 @@
|
|
|
9510
9513
|
}
|
|
9511
9514
|
else {
|
|
9512
9515
|
_this.isOnlyDelete.emit(true);
|
|
9513
|
-
if (
|
|
9516
|
+
if (_this.listFromApp.length == 0) {
|
|
9514
9517
|
_this.loading = true;
|
|
9515
9518
|
_this.deleteAnnuityItem(key);
|
|
9516
9519
|
}
|
|
@@ -9524,6 +9527,13 @@
|
|
|
9524
9527
|
HistoricalPixAccountComponent.prototype.ngOnInit = function () {
|
|
9525
9528
|
this.formGroup.setControl(this.fieldFormGroup, this.historicalPixAccountList);
|
|
9526
9529
|
};
|
|
9530
|
+
HistoricalPixAccountComponent.prototype.ngOnChanges = function (changes) {
|
|
9531
|
+
if (changes['listDataReciever'] && changes['listDataReciever'].currentValue) {
|
|
9532
|
+
console.log('changes', changes['listDataReciever'].currentValue);
|
|
9533
|
+
this.listFromApp = changes['listDataReciever'].currentValue;
|
|
9534
|
+
console.log('listFromApp', this.listFromApp);
|
|
9535
|
+
}
|
|
9536
|
+
};
|
|
9527
9537
|
HistoricalPixAccountComponent.prototype.createFormGroup = function () {
|
|
9528
9538
|
this.historicalPixAccountList = this.formBuilder.group({
|
|
9529
9539
|
historicalPixAccountList: this.formBuilder.control(null),
|