impaktapps-ui-builder 1.0.308 → 1.0.309

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.
@@ -9090,7 +9090,7 @@ function refreshPage(type, store2, formdata) {
9090
9090
  }
9091
9091
  store2.setUiSchema(UiSchema);
9092
9092
  }
9093
- const debouncedNameValidator = _.debounce((store2, newName) => {
9093
+ const debouncedScopeNameValidator = _.debounce((store2, newName) => {
9094
9094
  if (doesScopeNameExist(newName)) {
9095
9095
  store2.setValidation("ValidateAndShow");
9096
9096
  store2.setNotify({
@@ -9156,7 +9156,7 @@ var Component = (store2, dynamicData2, submitHandler, service2) => {
9156
9156
  this.refreshPage((_d = store2 == null ? void 0 : store2.newData) == null ? void 0 : _d.type, store2);
9157
9157
  }
9158
9158
  if (((_e = store2 == null ? void 0 : store2.formData) == null ? void 0 : _e.name) !== ((_f = store2 == null ? void 0 : store2.newData) == null ? void 0 : _f.name) && ((_g = store2 == null ? void 0 : store2.newData) == null ? void 0 : _g.name) !== void 0) {
9159
- debouncedNameValidator(store2, store2.newData.name);
9159
+ debouncedScopeNameValidator(store2, store2.newData.name);
9160
9160
  }
9161
9161
  },
9162
9162
  editComponents: function() {
@@ -10311,7 +10311,7 @@ var event = (store2, dynamicData2, submitHandler, service2, functionsName) => {
10311
10311
  });
10312
10312
  uiSchema.elements[0].elements[0].elements[3] = APISection;
10313
10313
  if (!(formdata == null ? void 0 : formdata.apiBody)) {
10314
- store22.setFormdata((prev) => ({ ...prev, apiBody: "async (store, dynamicData, user, body, service) => {\n\n\n}" }));
10314
+ store22.setFormdata((prev) => ({ ...prev, apiBody: "(store, dynamicData, user, body, service) => {\n\n\n}" }));
10315
10315
  }
10316
10316
  schema2.required = ["eventType", "Handler", "method", "path"];
10317
10317
  } else if (handlerType === "inBuiltFunction") {