@churchillliving/se-ui-toolkit 6.53.5 → 6.53.6
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 -18
- 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 -19
- package/fesm2015/churchillliving-se-ui-toolkit.js +7 -18
- package/fesm2015/churchillliving-se-ui-toolkit.js.map +1 -1
- package/lib/components/base/grid/grid.component.d.ts +0 -1
- package/package.json +1 -1
|
@@ -3270,7 +3270,6 @@
|
|
|
3270
3270
|
this.editModeChecked = true;
|
|
3271
3271
|
this.editModeunCkecked = false;
|
|
3272
3272
|
this.calendarFormat = 'mm/dd/y';
|
|
3273
|
-
this.setDropdownFilter = true;
|
|
3274
3273
|
// apply checked/unChecked prop for CheckBox of the Table
|
|
3275
3274
|
this.checked = true;
|
|
3276
3275
|
this.unChecked = false;
|
|
@@ -4053,17 +4052,17 @@
|
|
|
4053
4052
|
var _this = this;
|
|
4054
4053
|
this.onClickEvent(column, row);
|
|
4055
4054
|
setTimeout(function () {
|
|
4056
|
-
var _a, _b, _c
|
|
4057
|
-
if (column.data && column.data.data) {
|
|
4058
|
-
column.data.data = (
|
|
4055
|
+
var _a, _b, _c;
|
|
4056
|
+
if (column.data && column.data.data && row[column.field + '_obj']) {
|
|
4057
|
+
column.data.data = (_a = row[column.field + '_obj']) === null || _a === void 0 ? void 0 : _a.dialogData;
|
|
4059
4058
|
}
|
|
4060
4059
|
if (column.component && column.data && _this.rowClickData) {
|
|
4061
4060
|
var keys = Object.keys(_this.rowClickData);
|
|
4062
4061
|
column.data.data = autoSetLookupData(column.data.data, _this.rowClickData);
|
|
4063
4062
|
var ref = _this.dialogService.open(column.component, column.data);
|
|
4064
|
-
var componentName = (
|
|
4063
|
+
var componentName = (_b = column.component) === null || _b === void 0 ? void 0 : _b.name;
|
|
4065
4064
|
if (componentName) {
|
|
4066
|
-
_this.pageLoggerService.savePageLoggerInfo((
|
|
4065
|
+
_this.pageLoggerService.savePageLoggerInfo((_c = _this.router.url) === null || _c === void 0 ? void 0 : _c.substring(1), componentName);
|
|
4067
4066
|
}
|
|
4068
4067
|
ref.onClose.subscribe(function (data) {
|
|
4069
4068
|
if (data && column.onReturn) {
|
|
@@ -4282,10 +4281,7 @@
|
|
|
4282
4281
|
var _4 = __read(_3, 2), key = _4[0], value = _4[1];
|
|
4283
4282
|
_this.columns.forEach(function (col) {
|
|
4284
4283
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
4285
|
-
|
|
4286
|
-
_this.setDropdownFilterValue(col, row, key);
|
|
4287
|
-
_this.setDropdownFilter = false;
|
|
4288
|
-
}
|
|
4284
|
+
_this.setDropdownFilterValue(col, row, key);
|
|
4289
4285
|
// set the autoComplete Value in edit mode
|
|
4290
4286
|
if (col.type === exports.EGridColumnType.AUTOCOMPLETE &&
|
|
4291
4287
|
((_a = col.field) === null || _a === void 0 ? void 0 : _a.toLowerCase()) === (key === null || key === void 0 ? void 0 : key.toLowerCase()) &&
|
|
@@ -4395,14 +4391,7 @@
|
|
|
4395
4391
|
newFilters_1.push(newFilter);
|
|
4396
4392
|
});
|
|
4397
4393
|
}
|
|
4398
|
-
|
|
4399
|
-
// col,
|
|
4400
|
-
// obj.uniqueKey,
|
|
4401
|
-
// obj.valueProp,
|
|
4402
|
-
// obj.labelProp,
|
|
4403
|
-
// newFilters,
|
|
4404
|
-
// row
|
|
4405
|
-
// );
|
|
4394
|
+
this.gridService.setDropdownData(col, obj.uniqueKey, obj.valueProp, obj.labelProp, newFilters_1, row);
|
|
4406
4395
|
var option = col.data.find(function (x) { var _a; return x.label === ((_a = row[col.field]) === null || _a === void 0 ? void 0 : _a.toString()); });
|
|
4407
4396
|
if (option) {
|
|
4408
4397
|
row[col.field] = option.value;
|