impaktapps-ui-builder 0.0.382-alpha.326 → 0.0.382-alpha.327
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.
|
@@ -9148,6 +9148,9 @@ var service = (funcParams) => {
|
|
|
9148
9148
|
const handleButtonClick = lodash.exports.debounce(async function() {
|
|
9149
9149
|
await this.callHandler("onClick");
|
|
9150
9150
|
}, 300);
|
|
9151
|
+
const throttledExecuteEvents = lodash.exports.throttle(async (executeEventsParams) => {
|
|
9152
|
+
await executeEvents(executeEventsParams);
|
|
9153
|
+
}, 1e3);
|
|
9151
9154
|
return {
|
|
9152
9155
|
setPage: async function() {
|
|
9153
9156
|
funcParams.store.setFormdata({});
|
|
@@ -9278,7 +9281,7 @@ var service = (funcParams) => {
|
|
|
9278
9281
|
if (((_b = eventGroups == null ? void 0 : eventGroups[eventType]) == null ? void 0 : _b[path]) !== void 0) {
|
|
9279
9282
|
for (const eventConfig of (_c = eventGroups == null ? void 0 : eventGroups[eventType]) == null ? void 0 : _c[path]) {
|
|
9280
9283
|
executeEventsParameters.store.functionParameters = functionParameters;
|
|
9281
|
-
await
|
|
9284
|
+
await throttledExecuteEvents({
|
|
9282
9285
|
...executeEventsParameters,
|
|
9283
9286
|
config: eventConfig,
|
|
9284
9287
|
componentName: path
|