impaktapps-ui-builder 0.0.88 → 0.0.89
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 +3 -5
- package/dist/impaktapps-ui-builder.es.js.map +1 -1
- package/dist/impaktapps-ui-builder.umd.js +12 -12
- package/dist/impaktapps-ui-builder.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/impaktapps-ui-builder/runtime/services/events.ts +2 -2
- package/src/impaktapps-ui-builder/runtime/services/service.ts +1 -2
|
@@ -9268,7 +9268,7 @@ function executeCustomHandler(params) {
|
|
|
9268
9268
|
}
|
|
9269
9269
|
}
|
|
9270
9270
|
function mergeFormdata(handlerResponse, componentName, eventConfig, store2, service2, formDataHolder) {
|
|
9271
|
-
if (eventConfig.type === "Select" &&
|
|
9271
|
+
if (eventConfig.type === "Select" && (handlerResponse == null ? void 0 : handlerResponse.data)) {
|
|
9272
9272
|
store2.setSchema((pre) => {
|
|
9273
9273
|
var _a;
|
|
9274
9274
|
return {
|
|
@@ -9282,7 +9282,7 @@ function mergeFormdata(handlerResponse, componentName, eventConfig, store2, serv
|
|
|
9282
9282
|
}
|
|
9283
9283
|
};
|
|
9284
9284
|
});
|
|
9285
|
-
} else if (eventConfig.type === "MultipleSelect" &&
|
|
9285
|
+
} else if (eventConfig.type === "MultipleSelect" && (handlerResponse == null ? void 0 : handlerResponse.data)) {
|
|
9286
9286
|
store2.setSchema((pre) => {
|
|
9287
9287
|
var _a;
|
|
9288
9288
|
return {
|
|
@@ -9481,10 +9481,9 @@ var service = (funcParams) => {
|
|
|
9481
9481
|
}
|
|
9482
9482
|
const config = pageData == null ? void 0 : pageData.config;
|
|
9483
9483
|
const uiSchema = pageData == null ? void 0 : pageData.uiSchema;
|
|
9484
|
-
|
|
9484
|
+
new CustomEvent("pageNameChanged", {
|
|
9485
9485
|
detail: { pageName: config.label }
|
|
9486
9486
|
});
|
|
9487
|
-
window.dispatchEvent(event2);
|
|
9488
9487
|
const theme = (_b = (_a = funcParams == null ? void 0 : funcParams.store) == null ? void 0 : _a.theme) == null ? void 0 : _b.myTheme;
|
|
9489
9488
|
uiSchema.elements.push(
|
|
9490
9489
|
{
|
|
@@ -9592,7 +9591,6 @@ var service = (funcParams) => {
|
|
|
9592
9591
|
}
|
|
9593
9592
|
);
|
|
9594
9593
|
const schema2 = (_d = pageData == null ? void 0 : pageData.schema) != null ? _d : { type: "object", properties: {} };
|
|
9595
|
-
eventGroups = {};
|
|
9596
9594
|
eventGroups = extractEvents(config);
|
|
9597
9595
|
executeEventsParameters = {
|
|
9598
9596
|
config: {},
|