impaktapps-ui-builder 0.0.382-alpha.53 → 0.0.382-alpha.55

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.
@@ -126,6 +126,7 @@ async function mergeFormdata(handlerResponse: any, componentName: string, eventC
126
126
  }
127
127
  else if (eventConfig.type === "page") {
128
128
  if (!(_.isEmpty(handlerResponse?.data) && handlerResponse?.data)) {
129
+ console.log("console : " , handlerResponse);
129
130
  store.setFormdata((pre: any) => { return { ...pre, ...handlerResponse?.data } })
130
131
  }
131
132
  }
@@ -32,7 +32,7 @@ export const extractEvents = (eventConfig: any) => {
32
32
  if (!(!!SuccessEvent) && event.eventType === "onLoad") {
33
33
  event.events.push({ Handler: "mergeFormdata", eventType: "Success", type: compType, lazyLoading: eventConfig.lazyLoading === "YES" ? true : false })
34
34
  }
35
- if (!(!!SuccessEvent) && (event.eventType === "onBack" || event.eventType === "onNext" || event.eventType === "onReset")) {
35
+ if (!(!!SuccessEvent) && (event.eventType === "onBack" || event.eventType === "onNext"|| event.eventType === "onReset")) {
36
36
  event.events.push({ Handler: `${event.eventType}Handler`, eventType: "Success", type: compType, lazyLoading: eventConfig.lazyLoading === "YES" ? true : false })
37
37
  }
38
38
  eventGroups[event.eventType][eventConfigObj.name].push({ ...event, type: compType })
@@ -62,7 +62,7 @@ export default (funcParams: funcParamsProps) => {
62
62
  let executeEventsParameters: handlersProps = {
63
63
  config: {}, componentName: "",
64
64
  store: funcParams.store, dynamicData: funcParams.dynamicData, userValue: funcParams.userValue, service: funcParams.service,
65
- serviceHolder: { downloadFile, download: doDownload }, eventGroups
65
+ serviceHolder: { downloadFile,download:doDownload }, eventGroups
66
66
  };
67
67
  return {
68
68
  setPage: async function () {
@@ -195,7 +195,7 @@ export default (funcParams: funcParamsProps) => {
195
195
  }
196
196
  },
197
197
  downloadFile: downloadFile,
198
- download: doDownload,
198
+ download:doDownload,
199
199
  };
200
200
  };
201
201