impaktapps-ui-builder 1.0.71-alpha.4 → 1.0.72-flickering.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.
@@ -7902,7 +7902,8 @@ const buildPropertiesSection = function(type) {
7902
7902
  case "Image":
7903
7903
  uiSchema.elements = [
7904
7904
  getInputField("imageUrl", "Image URL"),
7905
- getInputField("height", "Image Height")
7905
+ getInputField("height", "Image Height"),
7906
+ emptyBox$1("imageEmpty", { xs: 0, sm: 0, md: 4, lg: 6 })
7906
7907
  ];
7907
7908
  break;
7908
7909
  }
@@ -10050,7 +10051,7 @@ function executeCustomHandler(params) {
10050
10051
  }
10051
10052
  }
10052
10053
  function mergeFormdata(handlerResponse, componentName, eventConfig, store2, service2, formDataHolder) {
10053
- var _a, _b, _c;
10054
+ var _a, _b, _c, _d, _e;
10054
10055
  if (eventConfig.type === "Select" && (handlerResponse == null ? void 0 : handlerResponse.data)) {
10055
10056
  if (!_.isEmpty(handlerResponse == null ? void 0 : handlerResponse.data)) {
10056
10057
  store2.setSchema((pre) => {
@@ -10098,10 +10099,15 @@ function mergeFormdata(handlerResponse, componentName, eventConfig, store2, serv
10098
10099
  }
10099
10100
  } else if (eventConfig.type === "Table" && eventConfig.lazyLoading) {
10100
10101
  if (handlerResponse && (handlerResponse == null ? void 0 : handlerResponse.data)) {
10101
- formDataHolder[componentName] = (_a = handlerResponse.data) == null ? void 0 : _a.data;
10102
- formDataHolder[`${componentName}_RowCount`] = (_c = (_b = handlerResponse.data) == null ? void 0 : _b.meta) == null ? void 0 : _c.totalRowCount;
10103
- store2.setFormdata((pre) => {
10104
- return { ...pre, ...formDataHolder };
10102
+ const tableData = Array.isArray((_a = handlerResponse.data) == null ? void 0 : _a.data) ? _(handlerResponse.data.data) : _((_b = handlerResponse.data) == null ? void 0 : _b.data);
10103
+ const rowCount = (_e = (_d = (_c = handlerResponse.data) == null ? void 0 : _c.meta) == null ? void 0 : _d.totalRowCount) != null ? _e : null;
10104
+ const newFormDataHolder = {
10105
+ ...formDataHolder,
10106
+ [componentName]: tableData,
10107
+ [`${componentName}_RowCount`]: rowCount
10108
+ };
10109
+ store2.setFormdata((prev) => {
10110
+ return { ...prev, ...newFormDataHolder };
10105
10111
  });
10106
10112
  }
10107
10113
  } else {