@churchillliving/se-ui-toolkit 6.53.523 → 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.
@@ -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 = (_c = row[column.field + '_obj']) === null || _c === void 0 ? void 0 : _c.text.text;
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];
@@ -7464,9 +7464,12 @@
7464
7464
  if (formSection.disabled) {
7465
7465
  return this.disabledSectionFields(formSection, true);
7466
7466
  }
7467
- else {
7467
+ else if (formSection.disabled === false) {
7468
7468
  return this.disabledSectionFields(formSection, false);
7469
7469
  }
7470
+ else {
7471
+ return formSection;
7472
+ }
7470
7473
  };
7471
7474
  FormComponent.prototype.disabledSectionFields = function (formSection, disabled) {
7472
7475
  formSection.fields.map(function (field) {