impaktapps-ui-builder 0.0.382-alpha.326 → 0.0.382-alpha.328
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.
|
@@ -9145,9 +9145,12 @@ var service = (funcParams) => {
|
|
|
9145
9145
|
serviceHolder: { downloadFile: downloadFile$1, download: doDownload },
|
|
9146
9146
|
eventGroups
|
|
9147
9147
|
};
|
|
9148
|
-
|
|
9148
|
+
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({});
|
|
@@ -9178,7 +9181,7 @@ var service = (funcParams) => {
|
|
|
9178
9181
|
});
|
|
9179
9182
|
},
|
|
9180
9183
|
onClick: async function() {
|
|
9181
|
-
|
|
9184
|
+
await this.callHandler("onClick");
|
|
9182
9185
|
},
|
|
9183
9186
|
onFileDownload: async function() {
|
|
9184
9187
|
await this.callHandler("onDownload");
|
|
@@ -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
|