impaktapps-ui-builder 0.0.23 → 0.0.25
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 +4 -2
- package/dist/impaktapps-ui-builder.es.js.map +1 -1
- package/dist/impaktapps-ui-builder.umd.js +1 -1
- package/dist/impaktapps-ui-builder.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/impaktapps-ui-builder/runtime/services/events.ts +4 -4
- package/src/impaktapps-ui-builder/runtime/services/service.ts +2 -0
|
@@ -7922,7 +7922,7 @@ async function executeApiEventHandler(apiHandlerConfig, componentName2, store2,
|
|
|
7922
7922
|
);
|
|
7923
7923
|
return { response, events: apiHandlerConfig == null ? void 0 : apiHandlerConfig.events };
|
|
7924
7924
|
}
|
|
7925
|
-
async function executeInBuiltFunctionHandler(refreshHandlerConfig, componentName, store, dynamicData, service, serviceHolder,
|
|
7925
|
+
async function executeInBuiltFunctionHandler(refreshHandlerConfig, componentName, store, dynamicData, userValue, service, serviceHolder, parentEventOutput) {
|
|
7926
7926
|
let parameter = {};
|
|
7927
7927
|
if (refreshHandlerConfig.funcParametersCode) {
|
|
7928
7928
|
const makeFunc = eval(refreshHandlerConfig.funcParametersCode);
|
|
@@ -7931,7 +7931,7 @@ async function executeInBuiltFunctionHandler(refreshHandlerConfig, componentName
|
|
|
7931
7931
|
serviceHolder[refreshHandlerConfig.inBuiltFunctionType](parameter);
|
|
7932
7932
|
return { response: void 0, events: refreshHandlerConfig == null ? void 0 : refreshHandlerConfig.events };
|
|
7933
7933
|
}
|
|
7934
|
-
async function executeCustomHandler(customHandlerConfig, componentName, store, dynamicData, service, serviceHolder,
|
|
7934
|
+
async function executeCustomHandler(customHandlerConfig, componentName, store, dynamicData, userValue, service, serviceHolder, parentEventOutput) {
|
|
7935
7935
|
const makeFunc = eval(customHandlerConfig.eventCode);
|
|
7936
7936
|
makeFunc(store, dynamicData, userValue, parentEventOutput, service);
|
|
7937
7937
|
return { response: void 0, events: customHandlerConfig == null ? void 0 : customHandlerConfig.events };
|
|
@@ -8021,6 +8021,8 @@ const extractEvents = (eventConfig) => {
|
|
|
8021
8021
|
eventConfigObj.events.forEach((event2) => {
|
|
8022
8022
|
if (eventConfigObj.type) {
|
|
8023
8023
|
compType = eventConfigObj.type;
|
|
8024
|
+
} else {
|
|
8025
|
+
compType = "page";
|
|
8024
8026
|
}
|
|
8025
8027
|
if (!eventGroups[event2.eventType]) {
|
|
8026
8028
|
eventGroups[event2.eventType] = {};
|