impaktapps-ui-builder 0.0.359 → 0.0.361
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 +13 -12
- package/dist/impaktapps-ui-builder.es.js.map +1 -1
- package/dist/impaktapps-ui-builder.umd.js +8 -8
- package/dist/impaktapps-ui-builder.umd.js.map +1 -1
- package/dist/src/impaktapps-ui-builder/runtime/services/service.d.ts +0 -1
- package/package.json +1 -1
- package/src/impaktapps-ui-builder/builder/build/buildWrapperSection.ts +3 -0
- package/src/impaktapps-ui-builder/runtime/services/events.ts +1 -1
- package/src/impaktapps-ui-builder/runtime/services/service.ts +9 -11
|
@@ -8307,7 +8307,7 @@ async function mergeFormdata(handlerResponse, componentName, eventConfig, store2
|
|
|
8307
8307
|
...(_a = pre.properties) == null ? void 0 : _a[componentName],
|
|
8308
8308
|
type: "array",
|
|
8309
8309
|
items: {
|
|
8310
|
-
oneOf: handlerResponse.data
|
|
8310
|
+
oneOf: handlerResponse == null ? void 0 : handlerResponse.data
|
|
8311
8311
|
}
|
|
8312
8312
|
}
|
|
8313
8313
|
}
|
|
@@ -8570,23 +8570,21 @@ var service = (funcParams) => {
|
|
|
8570
8570
|
await this.callHandler("onStepperBack");
|
|
8571
8571
|
param.handleBack();
|
|
8572
8572
|
},
|
|
8573
|
-
StepperSkipHandler: async function(param) {
|
|
8574
|
-
await this.callHandler("onStepperSkip");
|
|
8575
|
-
param.handleSkip();
|
|
8576
|
-
},
|
|
8577
8573
|
StepperNextHandler: async function(param) {
|
|
8578
8574
|
await this.callHandler("onStepperNext");
|
|
8579
8575
|
param.handleNext();
|
|
8580
8576
|
},
|
|
8581
8577
|
callHandler: async function(eventType) {
|
|
8582
|
-
var _a, _b;
|
|
8578
|
+
var _a, _b, _c;
|
|
8583
8579
|
const path = ((_a = funcParams.dynamicData) == null ? void 0 : _a.tableButtonPath) || funcParams.dynamicData.path.split(".")[0];
|
|
8584
|
-
|
|
8585
|
-
|
|
8586
|
-
|
|
8587
|
-
|
|
8588
|
-
|
|
8589
|
-
|
|
8580
|
+
if (((_b = eventGroups == null ? void 0 : eventGroups[eventType]) == null ? void 0 : _b[path]) !== void 0) {
|
|
8581
|
+
for (const eventConfig of (_c = eventGroups == null ? void 0 : eventGroups[eventType]) == null ? void 0 : _c[path]) {
|
|
8582
|
+
await executeEvents({
|
|
8583
|
+
...executeEventsParameters,
|
|
8584
|
+
config: eventConfig,
|
|
8585
|
+
componentName: path
|
|
8586
|
+
});
|
|
8587
|
+
}
|
|
8590
8588
|
}
|
|
8591
8589
|
},
|
|
8592
8590
|
downloadFile: downloadFile$1
|
|
@@ -9411,6 +9409,9 @@ const buildWrapperSection = (config, componentScope) => {
|
|
|
9411
9409
|
const wrapper = _.cloneDeep(WrapperSection);
|
|
9412
9410
|
wrapper.config.main.label = config.label;
|
|
9413
9411
|
wrapper.config.main.divider = config.divider === "YES" ? true : false;
|
|
9412
|
+
if (config.style) {
|
|
9413
|
+
wrapper.config.style = JSON.parse(config.style);
|
|
9414
|
+
}
|
|
9414
9415
|
return wrapper;
|
|
9415
9416
|
};
|
|
9416
9417
|
var TextInputField = {
|