@churchillliving/se-ui-toolkit 6.53.524 → 6.53.525
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 +4 -4
- package/bundles/churchillliving-se-ui-toolkit.umd.js.map +1 -1
- package/esm2015/lib/components/base/grid/grid.component.js +5 -5
- package/fesm2015/churchillliving-se-ui-toolkit.js +4 -4
- package/fesm2015/churchillliving-se-ui-toolkit.js.map +1 -1
- package/package.json +1 -1
|
@@ -5745,7 +5745,7 @@
|
|
|
5745
5745
|
var valueProp = (_f = (_e = (_d = column === null || column === void 0 ? void 0 : column.lookupControl) === null || _d === void 0 ? void 0 : _d.data) === null || _e === void 0 ? void 0 : _e.valueProp) === null || _f === void 0 ? void 0 : _f.toLowerCase();
|
|
5746
5746
|
var columnField = (_g = column === null || column === void 0 ? void 0 : column.field) === null || _g === void 0 ? void 0 : _g.toLowerCase();
|
|
5747
5747
|
if (column.displayField) {
|
|
5748
|
-
if (row.hasOwnProperty((_h = column.displayField) === null || _h === void 0 ? void 0 : _h.toLowerCase())) {
|
|
5748
|
+
if (row === null || row === void 0 ? void 0 : row.hasOwnProperty((_h = column.displayField) === null || _h === void 0 ? void 0 : _h.toLowerCase())) {
|
|
5749
5749
|
row[columnField] = res[valueProp ? valueProp : columnField];
|
|
5750
5750
|
row[(_j = column.displayField) === null || _j === void 0 ? void 0 : _j.toLowerCase()] = res[labelProp ? labelProp : column.displayField.toLowerCase()];
|
|
5751
5751
|
}
|
|
@@ -5814,10 +5814,10 @@
|
|
|
5814
5814
|
};
|
|
5815
5815
|
// set lookup value that display in readOnlyMode
|
|
5816
5816
|
GridComponent.prototype.setLookupReadOnlyValue = function (row, column) {
|
|
5817
|
-
var _a, _b, _c;
|
|
5817
|
+
var _a, _b, _c, _d, _e;
|
|
5818
5818
|
var value = '';
|
|
5819
|
-
if (typeof ((_a = row[column.field + '_obj']) === null || _a === void 0 ? void 0 : _a.text) === "object" && ((_b = row[column.field + '_obj']) === null || _b === void 0 ? void 0 : _b.text).hasOwnProperty('text')) {
|
|
5820
|
-
value = (
|
|
5819
|
+
if (typeof ((_a = row[column.field + '_obj']) === null || _a === void 0 ? void 0 : _a.text) === "object" && ((_b = row[column.field + '_obj']) === null || _b === void 0 ? void 0 : _b.text) && ((_d = ((_c = row[column.field + '_obj']) === null || _c === void 0 ? void 0 : _c.text)) === null || _d === void 0 ? void 0 : _d.hasOwnProperty('text'))) {
|
|
5820
|
+
value = (_e = row[column.field + '_obj']) === null || _e === void 0 ? void 0 : _e.text.text;
|
|
5821
5821
|
}
|
|
5822
5822
|
else {
|
|
5823
5823
|
value = row[column.field];
|