impaktapps-ui-builder 0.0.591 → 0.0.595

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "impaktapps-ui-builder",
3
- "version": "0.0.591",
3
+ "version": "0.0.595",
4
4
  "scripts": {
5
5
  "dev": "vite",
6
6
  "build": "tsc && vite build",
@@ -175,7 +175,7 @@ function mergeFormdata(handlerResponse: any, componentName: string, eventConfig:
175
175
  })
176
176
  }
177
177
  else if (eventConfig.type === "page") {
178
- if (!(_.isEmpty(handlerResponse?.data) && handlerResponse?.data)) {
178
+ if ((!_.isEmpty(handlerResponse?.data)) && handlerResponse?.data) {
179
179
  store.newData = {
180
180
  ...store.newData,
181
181
  ...handlerResponse?.data
@@ -12,7 +12,7 @@ const notifyUiSchema = {
12
12
  },
13
13
  layout: 6,
14
14
  };
15
- let formDataHolder = {}
15
+
16
16
  interface funcParamsProps {
17
17
  store: any,
18
18
  dynamicData: any,
@@ -62,6 +62,7 @@ export const extractEvents = (eventConfig: any) => {
62
62
  };
63
63
  export default (funcParams: funcParamsProps) => {
64
64
  eventGroups = {}
65
+ const formDataHolder = {}
65
66
  if (pageData) {
66
67
  if ((!isEmpty(pageData)) && typeof pageData === "object") {
67
68
  eventGroups = extractEvents(pageData?.config)