impaktapps-ui-builder 0.0.382-alpha.328 → 0.0.382-alpha.329
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,7 +9148,7 @@ var service = (funcParams) => {
|
|
|
9148
9148
|
lodash.exports.debounce(async function() {
|
|
9149
9149
|
await this.callHandler("onClick");
|
|
9150
9150
|
}, 300);
|
|
9151
|
-
|
|
9151
|
+
lodash.exports.throttle(async (executeEventsParams) => {
|
|
9152
9152
|
await executeEvents(executeEventsParams);
|
|
9153
9153
|
}, 1e3);
|
|
9154
9154
|
return {
|
|
@@ -9278,14 +9278,17 @@ var service = (funcParams) => {
|
|
|
9278
9278
|
callHandler: async function(eventType, functionParameters) {
|
|
9279
9279
|
var _a, _b, _c;
|
|
9280
9280
|
const path = ((_a = funcParams.dynamicData) == null ? void 0 : _a.tableButtonPath) || funcParams.dynamicData.path.split(".")[0];
|
|
9281
|
+
const throttledExecuteEvents2 = lodash.exports.throttle(async (eventConfig) => {
|
|
9282
|
+
executeEventsParameters.store.functionParameters = functionParameters;
|
|
9283
|
+
await executeEvents({
|
|
9284
|
+
...executeEventsParameters,
|
|
9285
|
+
config: eventConfig,
|
|
9286
|
+
componentName: path
|
|
9287
|
+
});
|
|
9288
|
+
}, 1e3);
|
|
9281
9289
|
if (((_b = eventGroups == null ? void 0 : eventGroups[eventType]) == null ? void 0 : _b[path]) !== void 0) {
|
|
9282
9290
|
for (const eventConfig of (_c = eventGroups == null ? void 0 : eventGroups[eventType]) == null ? void 0 : _c[path]) {
|
|
9283
|
-
|
|
9284
|
-
await throttledExecuteEvents({
|
|
9285
|
-
...executeEventsParameters,
|
|
9286
|
-
config: eventConfig,
|
|
9287
|
-
componentName: path
|
|
9288
|
-
});
|
|
9291
|
+
await throttledExecuteEvents2(eventConfig);
|
|
9289
9292
|
}
|
|
9290
9293
|
}
|
|
9291
9294
|
},
|