@churchillliving/se-ui-toolkit 6.52.99 → 6.53.1
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 -6
- package/bundles/churchillliving-se-ui-toolkit.umd.js.map +1 -1
- package/esm2015/lib/components/base/grid/grid.component.js +12 -7
- package/fesm2015/churchillliving-se-ui-toolkit.js +11 -6
- package/fesm2015/churchillliving-se-ui-toolkit.js.map +1 -1
- package/package.json +1 -1
|
@@ -4276,7 +4276,7 @@
|
|
|
4276
4276
|
Object.entries(selectedRow).forEach(function (_3) {
|
|
4277
4277
|
var _4 = __read(_3, 2), key = _4[0], value = _4[1];
|
|
4278
4278
|
_this.columns.forEach(function (col) {
|
|
4279
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
4279
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
4280
4280
|
_this.setDropdownFilterValue(col, row, key);
|
|
4281
4281
|
// set the autoComplete Value in edit mode
|
|
4282
4282
|
if (col.type === exports.EGridColumnType.AUTOCOMPLETE &&
|
|
@@ -4310,7 +4310,12 @@
|
|
|
4310
4310
|
col.type === exports.EGridColumnType.DATE) {
|
|
4311
4311
|
value = (value === null || value === void 0 ? void 0 : value.action) ? value.text : value;
|
|
4312
4312
|
if (row[col.field] !== null) {
|
|
4313
|
-
row[key] =
|
|
4313
|
+
if (((_h = row[key]) === null || _h === void 0 ? void 0 : _h.action) && ((_k = Object.keys((_j = row[key]) === null || _j === void 0 ? void 0 : _j.action)) === null || _k === void 0 ? void 0 : _k.length) > 0) {
|
|
4314
|
+
row[key].text = new Date(value);
|
|
4315
|
+
}
|
|
4316
|
+
else {
|
|
4317
|
+
row[key] = new Date(value);
|
|
4318
|
+
}
|
|
4314
4319
|
}
|
|
4315
4320
|
// check the Minutes pattern
|
|
4316
4321
|
if ((col.showTime || col.timeOnly) &&
|
|
@@ -4320,7 +4325,7 @@
|
|
|
4320
4325
|
}
|
|
4321
4326
|
}
|
|
4322
4327
|
if (col.type === exports.EGridColumnType.DIALOG &&
|
|
4323
|
-
((
|
|
4328
|
+
((_l = col.filter) === null || _l === void 0 ? void 0 : _l.type) === 'calendar' &&
|
|
4324
4329
|
col.field.toLowerCase() === key.toLowerCase()) {
|
|
4325
4330
|
if (value === null) {
|
|
4326
4331
|
row[key] = new Date();
|
|
@@ -4330,10 +4335,10 @@
|
|
|
4330
4335
|
}
|
|
4331
4336
|
}
|
|
4332
4337
|
if (col.type === exports.EGridColumnType.LINK &&
|
|
4333
|
-
((
|
|
4338
|
+
((_m = col.field) === null || _m === void 0 ? void 0 : _m.toLowerCase()) === (key === null || key === void 0 ? void 0 : key.toLowerCase()) &&
|
|
4334
4339
|
(col.allowSave === true || col.allowSave === undefined)) {
|
|
4335
4340
|
if (col.editLink === true) {
|
|
4336
|
-
row[key] = (
|
|
4341
|
+
row[key] = (_o = row[col.field + '_obj']) === null || _o === void 0 ? void 0 : _o.hyperlink;
|
|
4337
4342
|
}
|
|
4338
4343
|
else if (col.editLink === false || col.editLink === undefined) {
|
|
4339
4344
|
row[key] = value;
|
|
@@ -5230,7 +5235,7 @@
|
|
|
5230
5235
|
this.editAllRecord = true;
|
|
5231
5236
|
}
|
|
5232
5237
|
this.hideEditAllRowsBtn = false;
|
|
5233
|
-
this.sortDisabled =
|
|
5238
|
+
this.sortDisabled = true;
|
|
5234
5239
|
}
|
|
5235
5240
|
}
|
|
5236
5241
|
};
|