impaktapps-ui-builder 0.0.412-mtreemap.35 → 0.0.412-mtreemap.36

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.
@@ -7954,8 +7954,8 @@ const refreshPage = (type, store2) => {
7954
7954
  Validation: ValidationSection
7955
7955
  };
7956
7956
  const elements = (_a = sectionLabels[type]) == null ? void 0 : _a.map((e) => sectionUiSchema[e]);
7957
- UiSchema.elements[0].config.main.tabLabels = sectionLabels[type] || ["Core", "Style", "Event", "Validation"];
7958
- UiSchema.elements[0].elements = elements || [CoreSection, StyleSection, EventSection, ValidationSection];
7957
+ UiSchema.elements[1].config.main.tabLabels = sectionLabels[type] || ["Core", "Style", "Event", "Validation"];
7958
+ UiSchema.elements[1].elements = elements || [CoreSection, StyleSection, EventSection, ValidationSection];
7959
7959
  }
7960
7960
  store2.setUiSchema(UiSchema);
7961
7961
  };
@@ -8903,20 +8903,20 @@ var event = (store2, dynamicData2, submitHandler, service2, functionsName) => {
8903
8903
  const schema2 = _.cloneDeep(EventSchema);
8904
8904
  if (handlerType) {
8905
8905
  if (handlerType === "custom") {
8906
- uiSchema.elements[0].elements[0].elements[2] = getRadioInputField("isSync", "Run in Sync", ["Yes", "No"]);
8907
- uiSchema.elements[0].elements[0].elements[3] = getTextArea("eventCode", "Write Custom Code", false);
8906
+ uiSchema.elements[1].elements[0].elements[2] = getRadioInputField("isSync", "Run in Sync", ["Yes", "No"]);
8907
+ uiSchema.elements[1].elements[0].elements[3] = getTextArea("eventCode", "Write Custom Code", false);
8908
8908
  schema2.required = ["eventType", "Handler", "eventCode"];
8909
8909
  } else if (handlerType === "api") {
8910
- uiSchema.elements[0].elements[0].elements[2] = emptyBox;
8911
- uiSchema.elements[0].elements[0].elements[3] = APISection;
8910
+ uiSchema.elements[1].elements[0].elements[2] = emptyBox;
8911
+ uiSchema.elements[1].elements[0].elements[3] = APISection;
8912
8912
  schema2.required = ["eventType", "Handler", "method", "path"];
8913
8913
  } else if (handlerType === "inBuiltFunction") {
8914
- uiSchema.elements[0].elements[0].elements[2] = getSelectField("inBuiltFunctionType", "Function Name");
8915
- uiSchema.elements[0].elements[0].elements[3] = getTextArea("funcParametersCode", "Write Custom Code for Functions Parameter", true);
8914
+ uiSchema.elements[1].elements[0].elements[2] = getSelectField("inBuiltFunctionType", "Function Name");
8915
+ uiSchema.elements[1].elements[0].elements[3] = getTextArea("funcParametersCode", "Write Custom Code for Functions Parameter", true);
8916
8916
  schema2.required = ["eventType", "Handler", "inBuiltFunctionType"];
8917
8917
  } else if (handlerType === "refresh") {
8918
- uiSchema.elements[0].elements[0].elements[2] = emptyBox;
8919
- uiSchema.elements[0].elements[0].elements[3] = refreshSectionUiSchema;
8918
+ uiSchema.elements[1].elements[0].elements[2] = emptyBox;
8919
+ uiSchema.elements[1].elements[0].elements[3] = refreshSectionUiSchema;
8920
8920
  schema2.properties.refreshElements.required = ["value"];
8921
8921
  schema2.properties.refreshElements.items.required = ["value"];
8922
8922
  schema2.required = ["eventType", "Handler", "refreshElements"];