impaktapps-ui-builder 0.0.382-alpha.334 → 0.0.382-alpha.336

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.
@@ -8897,23 +8897,18 @@ const executeEvents = async (params2) => {
8897
8897
  await executeEvents({ ...params2, config: actionConfig, parentEventOutput: finalResponse });
8898
8898
  }
8899
8899
  }
8900
+ return finalResponse;
8900
8901
  };
8901
8902
  async function executeEventsHandler(params2) {
8902
8903
  var _a, _b, _c;
8903
8904
  if (params2.config.Handler === "api") {
8904
- const res = await executeApiEventHandler(params2);
8905
- await asyncOperation();
8906
- return res;
8905
+ return await executeApiEventHandler(params2);
8907
8906
  } else if (params2.config.Handler === "inBuiltFunction") {
8908
8907
  return await executeInBuiltFunctionHandler(params2);
8909
8908
  } else if (params2.config.Handler === "custom") {
8910
- const res = await executeCustomHandler(params2);
8911
- await asyncOperation();
8912
- return res;
8909
+ return await executeCustomHandler(params2);
8913
8910
  } else if (params2.config.Handler === "refresh") {
8914
- const res = await executeRefreshHandler(params2);
8915
- await asyncOperation();
8916
- return res;
8911
+ return await executeRefreshHandler(params2);
8917
8912
  } else if (params2.config.Handler === "mergeFormdata") {
8918
8913
  const result = await mergeFormdata(
8919
8914
  params2.parentEventOutput,
@@ -8922,9 +8917,7 @@ async function executeEventsHandler(params2) {
8922
8917
  params2.store,
8923
8918
  params2.service
8924
8919
  );
8925
- const res = result;
8926
- await asyncOperation();
8927
- return res;
8920
+ return result;
8928
8921
  } else if (params2.config.Handler === "onBackHandler") {
8929
8922
  return (_a = params2.store.functionParameters) == null ? void 0 : _a.handleBack();
8930
8923
  } else if (params2.config.Handler === "onNextHandler") {
@@ -9006,7 +8999,6 @@ async function mergeFormdata(handlerResponse, componentName, eventConfig, store2
9006
8999
  store2.setFormdata((pre) => {
9007
9000
  return { ...pre, ...handlerResponse == null ? void 0 : handlerResponse.data };
9008
9001
  });
9009
- await asyncOperation();
9010
9002
  }
9011
9003
  } else {
9012
9004
  if (handlerResponse) {
@@ -9301,11 +9293,12 @@ var service = (funcParams) => {
9301
9293
  if (((_b = eventGroups == null ? void 0 : eventGroups[eventType]) == null ? void 0 : _b[path]) !== void 0) {
9302
9294
  for (const eventConfig of (_c = eventGroups == null ? void 0 : eventGroups[eventType]) == null ? void 0 : _c[path]) {
9303
9295
  executeEventsParameters.store.functionParameters = functionParameters;
9304
- await executeEvents({
9296
+ const res = await executeEvents({
9305
9297
  ...executeEventsParameters,
9306
9298
  config: eventConfig,
9307
9299
  componentName: path
9308
9300
  });
9301
+ console.log("valll", res);
9309
9302
  }
9310
9303
  }
9311
9304
  },