impaktapps-ui-builder 0.0.382-alpha.338 → 0.0.382-alpha.340
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
|
@@ -131,10 +131,9 @@ export default (funcParams: funcParamsProps) => {
|
|
|
131
131
|
},
|
|
132
132
|
onClick: async function () {
|
|
133
133
|
// alert("Loading");
|
|
134
|
-
funcParams.dynamicData(true);
|
|
134
|
+
funcParams.dynamicData?.setLoading(true);
|
|
135
135
|
await this.callHandler("onClick");
|
|
136
|
-
|
|
137
|
-
funcParams.dynamicData(true);
|
|
136
|
+
funcParams.dynamicData?.setLoading(false);
|
|
138
137
|
},
|
|
139
138
|
onFileDownload: async function () {
|
|
140
139
|
await this.callHandler("onDownload");
|
|
@@ -164,7 +163,7 @@ export default (funcParams: funcParamsProps) => {
|
|
|
164
163
|
},
|
|
165
164
|
onChange: async function () {
|
|
166
165
|
if (eventGroups.onChange) {
|
|
167
|
-
funcParams.dynamicData(true);
|
|
166
|
+
funcParams.dynamicData?.setLoading(true);
|
|
168
167
|
const ChangeEventsKeysArray = Object.keys(eventGroups.onChange);
|
|
169
168
|
await Promise.all(
|
|
170
169
|
ChangeEventsKeysArray.map(async (componentName: string) => {
|
|
@@ -178,7 +177,7 @@ export default (funcParams: funcParamsProps) => {
|
|
|
178
177
|
}
|
|
179
178
|
})
|
|
180
179
|
);
|
|
181
|
-
funcParams.dynamicData(false);
|
|
180
|
+
funcParams.dynamicData?.setLoading(false);
|
|
182
181
|
}
|
|
183
182
|
},
|
|
184
183
|
updateConfigApiBody: async function (paramValue, apiBody) {
|