impaktapps-ui-builder 1.0.72-flickering.2 → 1.0.72-flickering.4

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.
@@ -8386,7 +8386,7 @@ const sectionLabels = {
8386
8386
  HorizontalLayout: ["Core", "Components", "Properties", "Style", "Validation"],
8387
8387
  TabSection: ["Core", "Components", "Properties", "Style", "Validation"],
8388
8388
  SpeedoMeter: ["Core", "Properties", "Events", "Style", "Validation"],
8389
- card: ["Core", "Properties", "Events", "Style", "Validation"],
8389
+ card: ["Core", "Properties", "Events", "Validation"],
8390
8390
  UploadFile: ["Core", "Events", "Style", "Validation"],
8391
8391
  UploadFileIcon: ["Core", "Events", "Style", "Validation"],
8392
8392
  Graph: ["Core", "Properties", "Events", "Style", "Validation"],
@@ -10053,7 +10053,7 @@ function executeCustomHandler(params) {
10053
10053
  }
10054
10054
  }
10055
10055
  function mergeFormdata(handlerResponse, componentName, eventConfig, store2, service2, formDataHolder) {
10056
- var _a, _b, _c, _d, _e;
10056
+ var _a, _b, _c;
10057
10057
  if (eventConfig.type === "Select" && (handlerResponse == null ? void 0 : handlerResponse.data)) {
10058
10058
  if (!_.isEmpty(handlerResponse == null ? void 0 : handlerResponse.data)) {
10059
10059
  store2.setSchema((pre) => {
@@ -10101,15 +10101,10 @@ function mergeFormdata(handlerResponse, componentName, eventConfig, store2, serv
10101
10101
  }
10102
10102
  } else if (eventConfig.type === "Table" && eventConfig.lazyLoading) {
10103
10103
  if (handlerResponse && (handlerResponse == null ? void 0 : handlerResponse.data)) {
10104
- const tableData = Array.isArray((_a = handlerResponse.data) == null ? void 0 : _a.data) ? _(handlerResponse.data.data) : _((_b = handlerResponse.data) == null ? void 0 : _b.data);
10105
- const rowCount = (_e = (_d = (_c = handlerResponse.data) == null ? void 0 : _c.meta) == null ? void 0 : _d.totalRowCount) != null ? _e : null;
10106
- const newFormDataHolder = {
10107
- ...formDataHolder,
10108
- [componentName]: tableData,
10109
- [`${componentName}_RowCount`]: rowCount
10110
- };
10111
- store2.setFormdata((prev) => {
10112
- return { ...prev, ...newFormDataHolder };
10104
+ formDataHolder[componentName] = (_a = handlerResponse.data) == null ? void 0 : _a.data;
10105
+ formDataHolder[`${componentName}_RowCount`] = (_c = (_b = handlerResponse.data) == null ? void 0 : _b.meta) == null ? void 0 : _c.totalRowCount;
10106
+ store2.setFormdata((pre) => {
10107
+ return { ...pre, ...formDataHolder };
10113
10108
  });
10114
10109
  }
10115
10110
  } else {
@@ -11210,9 +11205,6 @@ const uploadFileIcon = {
11210
11205
  "required": true,
11211
11206
  "errorMessage": "Attachment File is not uploaded"
11212
11207
  },
11213
- "style": {
11214
- "backgroundColor": "none"
11215
- },
11216
11208
  layout: { xs: 6, sm: 6, md: 4, lg: 3 }
11217
11209
  },
11218
11210
  "options": {
@@ -12253,9 +12245,6 @@ const buildUploadFileIcon = (config2, componentScope2) => {
12253
12245
  if (config2.layout) {
12254
12246
  UploadFileIcon.config.layout = createLayoutFormat(config2.layout);
12255
12247
  }
12256
- if (config2.style) {
12257
- UploadFileIcon.config.style = config2.style;
12258
- }
12259
12248
  if (config2.required) {
12260
12249
  UploadFileIcon.config.main.required = true;
12261
12250
  }