impaktapps-ui-builder 0.0.382-alpha.59 → 0.0.382-alpha.60

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.
@@ -8653,11 +8653,13 @@ var service = (funcParams) => {
8653
8653
  }
8654
8654
  },
8655
8655
  onChange: async function() {
8656
+ var _a, _b;
8656
8657
  if (eventGroups.onChange) {
8658
+ (_a = funcParams.dynamicData) == null ? void 0 : _a.setLoading(true);
8657
8659
  const ChangeEventsKeysArray = Object.keys(eventGroups.onChange);
8658
8660
  Promise.all(ChangeEventsKeysArray.map(async (componentName) => {
8659
- var _a, _b;
8660
- if (((_a = funcParams.store) == null ? void 0 : _a.formData[componentName]) !== funcParams.store.newData[componentName] && ((_b = funcParams.store) == null ? void 0 : _b.newData[componentName]) !== void 0) {
8661
+ var _a2, _b2;
8662
+ if (((_a2 = funcParams.store) == null ? void 0 : _a2.formData[componentName]) !== funcParams.store.newData[componentName] && ((_b2 = funcParams.store) == null ? void 0 : _b2.newData[componentName]) !== void 0) {
8661
8663
  for (const eventConfig of eventGroups.onChange[componentName]) {
8662
8664
  await executeEvents({
8663
8665
  ...executeEventsParameters,
@@ -8667,6 +8669,7 @@ var service = (funcParams) => {
8667
8669
  }
8668
8670
  }
8669
8671
  }));
8672
+ (_b = funcParams.dynamicData) == null ? void 0 : _b.setLoading(false);
8670
8673
  }
8671
8674
  },
8672
8675
  updateConfigApiBody: async function(paramValue, apiBody) {