@churchillliving/se-ui-toolkit 6.53.394 → 6.53.395
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/churchillliving-se-ui-toolkit.umd.js +7 -1
- package/bundles/churchillliving-se-ui-toolkit.umd.js.map +1 -1
- package/churchillliving-se-ui-toolkit.metadata.json +1 -1
- package/esm2015/lib/components/base/grid/grid.component.js +8 -2
- package/fesm2015/churchillliving-se-ui-toolkit.js +7 -1
- package/fesm2015/churchillliving-se-ui-toolkit.js.map +1 -1
- package/lib/components/base/grid/grid.component.d.ts +1 -0
- package/package.json +1 -1
|
@@ -3720,6 +3720,7 @@
|
|
|
3720
3720
|
this.dropDownFilter = {};
|
|
3721
3721
|
this.dropdownInput = false;
|
|
3722
3722
|
this.saveAllRecord = false;
|
|
3723
|
+
this.generateRowsDataCopy = true;
|
|
3723
3724
|
this.editAllRecord = false;
|
|
3724
3725
|
this.cancelAllRecords = false;
|
|
3725
3726
|
this.addNewRowCheck = false;
|
|
@@ -4325,7 +4326,7 @@
|
|
|
4325
4326
|
if (globalSearchbtn) {
|
|
4326
4327
|
this.searchGridFilter = false;
|
|
4327
4328
|
}
|
|
4328
|
-
if (((_f = this.rowsData) === null || _f === void 0 ? void 0 : _f.length) > 0) {
|
|
4329
|
+
if (((_f = this.rowsData) === null || _f === void 0 ? void 0 : _f.length) > 0 && this.generateRowsDataCopy) {
|
|
4329
4330
|
this.rowsDataCopy = JSON.parse(JSON.stringify(this.rowsData));
|
|
4330
4331
|
}
|
|
4331
4332
|
}
|
|
@@ -5305,6 +5306,7 @@
|
|
|
5305
5306
|
gridRowsData[index] = rowInfo;
|
|
5306
5307
|
}
|
|
5307
5308
|
}
|
|
5309
|
+
this.generateRowsDataCopy = false;
|
|
5308
5310
|
this.rowsChange.emit(this.rowsData);
|
|
5309
5311
|
this.onGridRowActions.emit(gridRowsData);
|
|
5310
5312
|
};
|
|
@@ -5760,6 +5762,7 @@
|
|
|
5760
5762
|
}
|
|
5761
5763
|
if (valueChange) {
|
|
5762
5764
|
this.browserCloseEvent(true);
|
|
5765
|
+
this.generateRowsDataCopy = false;
|
|
5763
5766
|
this.rowsChange.emit(this.rowsData);
|
|
5764
5767
|
if (column.onChange) {
|
|
5765
5768
|
column.onChange(row);
|
|
@@ -5963,6 +5966,7 @@
|
|
|
5963
5966
|
}
|
|
5964
5967
|
this.setDropdowndataValue = false;
|
|
5965
5968
|
this.isCheckBoxChangeEventCalled = false;
|
|
5969
|
+
this.generateRowsDataCopy = false;
|
|
5966
5970
|
this.rowsChange.emit(this.rowsData);
|
|
5967
5971
|
if (column.aggregate && column.aggregate.length > 0) {
|
|
5968
5972
|
this.aggregateFooter = true;
|
|
@@ -5975,6 +5979,7 @@
|
|
|
5975
5979
|
if ((_a = this.rowsChange.observers) === null || _a === void 0 ? void 0 : _a.length) {
|
|
5976
5980
|
this.isCheckBoxChangeEventCalled = true;
|
|
5977
5981
|
}
|
|
5982
|
+
this.generateRowsDataCopy = false;
|
|
5978
5983
|
this.rowsChange.emit(this.rowsData);
|
|
5979
5984
|
};
|
|
5980
5985
|
// set dropdown displayField value base on optionLabel & optionValue.
|
|
@@ -6106,6 +6111,7 @@
|
|
|
6106
6111
|
_this.onRowUpdate.emit(_this.setRowsData(_this.checklist));
|
|
6107
6112
|
}
|
|
6108
6113
|
else {
|
|
6114
|
+
_this.generateRowsDataCopy = true;
|
|
6109
6115
|
_this.onRowUpdate.emit(_this.saveRecordArray);
|
|
6110
6116
|
}
|
|
6111
6117
|
_this.saveRecordArray = [];
|