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.
- package/dist/impaktapps-ui-builder.es.js +6 -17
- package/dist/impaktapps-ui-builder.es.js.map +1 -1
- package/dist/impaktapps-ui-builder.umd.js +6 -6
- package/dist/impaktapps-ui-builder.umd.js.map +1 -1
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/file.d.ts +0 -3
- package/package.json +1 -1
- package/src/impaktapps-ui-builder/builder/build/buildUploadFileIcon.ts +3 -3
- package/src/impaktapps-ui-builder/builder/build/uischema/file.ts +3 -3
- package/src/impaktapps-ui-builder/builder/services/component.ts +1 -1
- package/src/impaktapps-ui-builder/runtime/services/events.ts +3 -20
|
@@ -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", "
|
|
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
|
|
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
|
-
|
|
10105
|
-
|
|
10106
|
-
|
|
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
|
}
|