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

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.382-alpha.336",
3
+ "version": "0.0.382-alpha.338",
4
4
  "scripts": {
5
5
  "dev": "vite",
6
6
  "build": "tsc && vite build",
@@ -130,7 +130,11 @@ export default (funcParams: funcParamsProps) => {
130
130
  });
131
131
  },
132
132
  onClick: async function () {
133
+ // alert("Loading");
134
+ funcParams.dynamicData(true);
133
135
  await this.callHandler("onClick");
136
+ // alert("end");
137
+ funcParams.dynamicData(true);
134
138
  },
135
139
  onFileDownload: async function () {
136
140
  await this.callHandler("onDownload");
@@ -160,6 +164,7 @@ export default (funcParams: funcParamsProps) => {
160
164
  },
161
165
  onChange: async function () {
162
166
  if (eventGroups.onChange) {
167
+ funcParams.dynamicData(true);
163
168
  const ChangeEventsKeysArray = Object.keys(eventGroups.onChange);
164
169
  await Promise.all(
165
170
  ChangeEventsKeysArray.map(async (componentName: string) => {
@@ -173,6 +178,7 @@ export default (funcParams: funcParamsProps) => {
173
178
  }
174
179
  })
175
180
  );
181
+ funcParams.dynamicData(false);
176
182
  }
177
183
  },
178
184
  updateConfigApiBody: async function (paramValue, apiBody) {
@@ -234,7 +240,7 @@ export default (funcParams: funcParamsProps) => {
234
240
  config: eventConfig,
235
241
  componentName: path
236
242
  })
237
- console.log("valll", res);
243
+ // console.log("valll", res);
238
244
  }
239
245
  }
240
246
  },