@churchillliving/se-ui-toolkit 6.53.309 → 6.53.311
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 +11 -4
- package/bundles/churchillliving-se-ui-toolkit.umd.js.map +1 -1
- package/esm2015/lib/components/base/grid/grid.component.js +11 -4
- package/esm2015/lib/components/base/report/reportGenerateBtn/generate-report-btn/generate-report-btn.component.js +2 -2
- package/fesm2015/churchillliving-se-ui-toolkit.js +11 -4
- package/fesm2015/churchillliving-se-ui-toolkit.js.map +1 -1
- package/package.json +1 -1
|
@@ -4916,6 +4916,7 @@
|
|
|
4916
4916
|
GridComponent.prototype.onRowEditSave = function (selectedRow) {
|
|
4917
4917
|
var _this = this;
|
|
4918
4918
|
var automCompleteTempData = [];
|
|
4919
|
+
var lookupInfo = {};
|
|
4919
4920
|
this.selectedColumns.forEach(function (column) {
|
|
4920
4921
|
var _3;
|
|
4921
4922
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
|
|
@@ -5009,6 +5010,7 @@
|
|
|
5009
5010
|
if (column.type === exports.EGridColumnType.LOOKUP_INPUT &&
|
|
5010
5011
|
column.field &&
|
|
5011
5012
|
typeof row[column.field] === 'object') {
|
|
5013
|
+
lookupInfo = Object.assign({}, row[column.field]);
|
|
5012
5014
|
var newRow = Object.assign({}, row);
|
|
5013
5015
|
newRow[column.field] = (_a = newRow[column.field]) === null || _a === void 0 ? void 0 : _a.value;
|
|
5014
5016
|
row = Object.assign({}, newRow);
|
|
@@ -5105,12 +5107,17 @@
|
|
|
5105
5107
|
}
|
|
5106
5108
|
}
|
|
5107
5109
|
}
|
|
5108
|
-
|
|
5109
|
-
if (column.type === exports.EGridColumnType.AUTOCOMPLETE &&
|
|
5110
|
+
else if (column.type === exports.EGridColumnType.AUTOCOMPLETE &&
|
|
5110
5111
|
selectedRow[column.field]) {
|
|
5112
|
+
// set autocompelet array data after save row
|
|
5111
5113
|
selectedRow[column.field] = automCompleteTempData;
|
|
5112
5114
|
}
|
|
5113
|
-
if (column.type === exports.EGridColumnType.
|
|
5115
|
+
else if (column.type === exports.EGridColumnType.LOOKUP_INPUT &&
|
|
5116
|
+
selectedRow[column.field]) {
|
|
5117
|
+
// set LOOKUP_INPUT data after save row
|
|
5118
|
+
selectedRow[column.field] = lookupInfo;
|
|
5119
|
+
}
|
|
5120
|
+
else if (column.type === exports.EGridColumnType.DROPDOWN &&
|
|
5114
5121
|
column.optionLabel &&
|
|
5115
5122
|
column.optionValue) {
|
|
5116
5123
|
_this.setDropdownValue(column, selectedRow);
|
|
@@ -9111,7 +9118,7 @@
|
|
|
9111
9118
|
var filters = [];
|
|
9112
9119
|
if (this.params && this.params.length > 0) {
|
|
9113
9120
|
this.params.forEach(function (param) {
|
|
9114
|
-
|
|
9121
|
+
Object.keys(param).map(function (key) { return (filters.push({ field: key, matchMode: 'equal', operator: 'and', value: param[key] })); });
|
|
9115
9122
|
});
|
|
9116
9123
|
}
|
|
9117
9124
|
else {
|