@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.
- package/bundles/senior-gestao-pessoas-payroll-core.umd.js +12 -3
- 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 -5
- package/esm5/components/historical-pix-account/historical-pix-account.component.js +14 -5
- package/fesm2015/senior-gestao-pessoas-payroll-core.js +12 -3
- package/fesm2015/senior-gestao-pessoas-payroll-core.js.map +1 -1
- package/fesm5/senior-gestao-pessoas-payroll-core.js +12 -3
- 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
|
@@ -9272,6 +9272,7 @@ var HistoricalPixAccountComponent = /** @class */ (function () {
|
|
|
9272
9272
|
this.isOnlyView = new EventEmitter();
|
|
9273
9273
|
this.isOnlyEdit = new EventEmitter();
|
|
9274
9274
|
this.isOnlyDelete = new EventEmitter();
|
|
9275
|
+
this.listFromApp = [];
|
|
9275
9276
|
this.visibleChange = new EventEmitter();
|
|
9276
9277
|
this.ngUnsubscribe = new Subject();
|
|
9277
9278
|
this.orderBy = {
|
|
@@ -9326,9 +9327,10 @@ var HistoricalPixAccountComponent = /** @class */ (function () {
|
|
|
9326
9327
|
}
|
|
9327
9328
|
else {
|
|
9328
9329
|
_this.isOnlyEdit.emit(true);
|
|
9329
|
-
if (!_this.
|
|
9330
|
+
if (!_this.listFromApp) {
|
|
9331
|
+
console.log('ENTER IN EDIT');
|
|
9330
9332
|
rowData["index"] = key;
|
|
9331
|
-
_this.pixAccountItemInput = { currentItem: rowData, listData: _this.listDataNoPage, isEditMode:
|
|
9333
|
+
_this.pixAccountItemInput = { currentItem: rowData, listData: _this.listDataNoPage, isEditMode: true };
|
|
9332
9334
|
_this.visible = true;
|
|
9333
9335
|
}
|
|
9334
9336
|
}
|
|
@@ -9344,7 +9346,7 @@ var HistoricalPixAccountComponent = /** @class */ (function () {
|
|
|
9344
9346
|
}
|
|
9345
9347
|
else {
|
|
9346
9348
|
_this.isOnlyDelete.emit(true);
|
|
9347
|
-
if (!_this.
|
|
9349
|
+
if (!_this.listFromApp) {
|
|
9348
9350
|
_this.loading = true;
|
|
9349
9351
|
_this.deleteAnnuityItem(key);
|
|
9350
9352
|
}
|
|
@@ -9358,6 +9360,13 @@ var HistoricalPixAccountComponent = /** @class */ (function () {
|
|
|
9358
9360
|
HistoricalPixAccountComponent.prototype.ngOnInit = function () {
|
|
9359
9361
|
this.formGroup.setControl(this.fieldFormGroup, this.historicalPixAccountList);
|
|
9360
9362
|
};
|
|
9363
|
+
HistoricalPixAccountComponent.prototype.ngOnChanges = function (changes) {
|
|
9364
|
+
if (changes['listDataReciever'] && changes['listDataReciever'].currentValue) {
|
|
9365
|
+
console.log('changes', changes['listDataReciever'].currentValue);
|
|
9366
|
+
this.listFromApp = changes['listDataReciever'].currentValue;
|
|
9367
|
+
console.log('listFromApp', this.listFromApp);
|
|
9368
|
+
}
|
|
9369
|
+
};
|
|
9361
9370
|
HistoricalPixAccountComponent.prototype.createFormGroup = function () {
|
|
9362
9371
|
this.historicalPixAccountList = this.formBuilder.group({
|
|
9363
9372
|
historicalPixAccountList: this.formBuilder.control(null),
|