impaktapps-ui-builder 0.0.382-alpha.19 → 0.0.382-alpha.20

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.
@@ -6893,6 +6893,7 @@ const buildPropertiesSection = function(type) {
6893
6893
  getInputField("elevation", "Card Elevation"),
6894
6894
  getInputField("height", "Grid height"),
6895
6895
  getInputField("justifyContent", "justifyContent"),
6896
+ EmptyBox,
6896
6897
  cardLayout
6897
6898
  ];
6898
6899
  break;
@@ -6903,6 +6904,7 @@ const buildPropertiesSection = function(type) {
6903
6904
  getInputField("resetText", "Reset Text"),
6904
6905
  getInputField("completeText", "Complete Text"),
6905
6906
  getSelectField("orientation", "Orientation Type"),
6907
+ EmptyBox,
6906
6908
  getArrayControl("sectionLabels", "label")
6907
6909
  ];
6908
6910
  break;
@@ -6918,12 +6920,14 @@ const buildPropertiesSection = function(type) {
6918
6920
  uiSchema.elements = [
6919
6921
  getInputField("placeholder", "Placeholder"),
6920
6922
  EmptyBox,
6923
+ EmptyBox,
6921
6924
  getArrayControl("InputFormatingAndMasking", "formatElement", "Format Element")
6922
6925
  ];
6923
6926
  break;
6924
6927
  case "TextArea":
6925
6928
  uiSchema.elements = [
6926
6929
  getInputField("placeholder", "Placeholder"),
6930
+ EmptyBox,
6927
6931
  EmptyBox
6928
6932
  ];
6929
6933
  break;
@@ -6933,7 +6937,8 @@ const buildPropertiesSection = function(type) {
6933
6937
  getInputField("heading", "Container Heading"),
6934
6938
  getInputField("heading", "Container Heading"),
6935
6939
  getInputField("speedoCaption", "Speedometer Caption"),
6936
- getInputField("width", "Speedometer Width")
6940
+ getInputField("width", "Speedometer Width"),
6941
+ EmptyBox
6937
6942
  ];
6938
6943
  break;
6939
6944
  case "RankCard":
@@ -6941,7 +6946,9 @@ const buildPropertiesSection = function(type) {
6941
6946
  getInputField("rank", "Rank"),
6942
6947
  getInputField("image", "Image Url"),
6943
6948
  getInputField("title", "Card Title"),
6944
- getInputField("description", "Card Description")
6949
+ getInputField("description", "Card Description"),
6950
+ EmptyBox,
6951
+ EmptyBox
6945
6952
  ];
6946
6953
  break;
6947
6954
  case "LeaderBoard":
@@ -6950,6 +6957,7 @@ const buildPropertiesSection = function(type) {
6950
6957
  getInputField("firstImage", "First Image url"),
6951
6958
  getInputField("secondImage", "Second Image url"),
6952
6959
  getInputField("thirdImage", "Third Image url"),
6960
+ EmptyBox,
6953
6961
  getTextArea("functionCode", "Write Compare Code", false)
6954
6962
  ];
6955
6963
  break;
@@ -6965,7 +6973,9 @@ const buildPropertiesSection = function(type) {
6965
6973
  getInputField("heading", "Heading"),
6966
6974
  getInputField("bottomLabel_1", "First BottomLabel"),
6967
6975
  getInputField("bottomLabel_2", "Second BottomLabel"),
6968
- getInputField("bottomLabel_3", "Third BottomLabel")
6976
+ getInputField("bottomLabel_3", "Third BottomLabel"),
6977
+ EmptyBox,
6978
+ EmptyBox
6969
6979
  ];
6970
6980
  break;
6971
6981
  case "card":
@@ -6999,7 +7009,7 @@ const buildPropertiesSection = function(type) {
6999
7009
  ];
7000
7010
  break;
7001
7011
  case "WrapperSection":
7002
- uiSchema.elements = [getRadioInputField("divider", "Divider", ["YES", "No"]), EmptyBox];
7012
+ uiSchema.elements = [getRadioInputField("divider", "Divider", ["YES", "No"]), EmptyBox, EmptyBox];
7003
7013
  break;
7004
7014
  case "TabSection":
7005
7015
  uiSchema.elements = [
@@ -7027,12 +7037,14 @@ const buildPropertiesSection = function(type) {
7027
7037
  case "Select":
7028
7038
  uiSchema.elements = [
7029
7039
  getRadioInputField("lazyLoading", "Lazy Loading", ["YES", "NO"]),
7030
- getRadioInputField("freeSolo", "FreeSolo", ["YES", "NO"])
7040
+ getRadioInputField("freeSolo", "FreeSolo", ["YES", "NO"]),
7041
+ EmptyBox
7031
7042
  ];
7032
7043
  break;
7033
7044
  case "MultipleSelect":
7034
7045
  uiSchema.elements = [
7035
7046
  getRadioInputField("lazyLoading", "Lazy Loading", ["YES", "NO"]),
7047
+ EmptyBox,
7036
7048
  EmptyBox
7037
7049
  ];
7038
7050
  break;
@@ -8091,7 +8103,7 @@ const APISection = {
8091
8103
  widget: "SelectInputField"
8092
8104
  },
8093
8105
  config: {
8094
- layout: { xs: 11, sm: 11, md: 5.5, lg: 5.5 },
8106
+ layout: { xs: 11, sm: 4, md: 4, lg: 4 },
8095
8107
  main: {
8096
8108
  label: "Method",
8097
8109
  type: "text"
@@ -8105,7 +8117,7 @@ const APISection = {
8105
8117
  widget: "InputField"
8106
8118
  },
8107
8119
  config: {
8108
- layout: { xs: 11, sm: 11, md: 5.5, lg: 5.5 },
8120
+ layout: { xs: 11, sm: 4, md: 4, lg: 4 },
8109
8121
  main: {
8110
8122
  label: "Path",
8111
8123
  type: "text",
@@ -8114,6 +8126,26 @@ const APISection = {
8114
8126
  }
8115
8127
  }
8116
8128
  },
8129
+ {
8130
+ type: "Control",
8131
+ scope: "#/properties/emptyBox",
8132
+ options: {
8133
+ widget: "EmptyBox"
8134
+ },
8135
+ config: {
8136
+ layout: { xs: 0, sm: 4, md: 4, lg: 4 }
8137
+ }
8138
+ },
8139
+ {
8140
+ type: "Control",
8141
+ scope: "#/properties/emptyBox",
8142
+ options: {
8143
+ widget: "EmptyBox"
8144
+ },
8145
+ config: {
8146
+ layout: { xs: 0, sm: 4, md: 4, lg: 4 }
8147
+ }
8148
+ },
8117
8149
  {
8118
8150
  type: "Control",
8119
8151
  scope: "#/properties/headers",
@@ -8130,12 +8162,7 @@ const APISection = {
8130
8162
  widget: "InputField"
8131
8163
  },
8132
8164
  config: {
8133
- layout: {
8134
- xs: 11,
8135
- sm: 11,
8136
- md: 5.5,
8137
- lg: 5.5
8138
- },
8165
+ layout: { xs: 11, sm: 4, md: 4, lg: 4 },
8139
8166
  main: {
8140
8167
  label: "Key"
8141
8168
  }
@@ -8148,12 +8175,7 @@ const APISection = {
8148
8175
  widget: "InputField"
8149
8176
  },
8150
8177
  config: {
8151
- layout: {
8152
- xs: 11,
8153
- sm: 11,
8154
- md: 5.5,
8155
- lg: 5.5
8156
- },
8178
+ layout: { xs: 11, sm: 4, md: 4, lg: 4 },
8157
8179
  main: {
8158
8180
  label: "Value"
8159
8181
  }
@@ -8179,12 +8201,7 @@ const APISection = {
8179
8201
  widget: "InputField"
8180
8202
  },
8181
8203
  config: {
8182
- layout: {
8183
- xs: 11,
8184
- sm: 11,
8185
- md: 5.5,
8186
- lg: 5.5
8187
- },
8204
+ layout: { xs: 11, sm: 4, md: 4, lg: 4 },
8188
8205
  main: {
8189
8206
  label: "Key"
8190
8207
  }
@@ -8197,12 +8214,7 @@ const APISection = {
8197
8214
  widget: "InputField"
8198
8215
  },
8199
8216
  config: {
8200
- layout: {
8201
- xs: 11,
8202
- sm: 11,
8203
- md: 5.5,
8204
- lg: 5.5
8205
- },
8217
+ layout: { xs: 11, sm: 4, md: 4, lg: 4 },
8206
8218
  main: {
8207
8219
  label: "Value"
8208
8220
  }
@@ -8280,17 +8292,17 @@ var event = (store2, dynamicData2, submitHandler, service2) => {
8280
8292
  const schema2 = _.cloneDeep(EventSchema);
8281
8293
  if (handlerType) {
8282
8294
  if (handlerType === "custom") {
8283
- uiSchema.elements[0].elements[0].elements[2] = getTextArea("eventCode", "Write Custom Code", false);
8295
+ uiSchema.elements[0].elements[0].elements[3] = getTextArea("eventCode", "Write Custom Code", false);
8284
8296
  schema2.required = ["eventType", "Handler", "eventCode"];
8285
8297
  } else if (handlerType === "api") {
8286
8298
  uiSchema.elements[0].elements[0].elements[2] = APISection;
8287
8299
  schema2.required = ["eventType", "Handler", "method", "path"];
8288
8300
  } else if (handlerType === "inBuiltFunction") {
8289
8301
  uiSchema.elements[0].elements[0].elements[2] = getSelectField("inBuiltFunctionType", "Function Name");
8290
- uiSchema.elements[0].elements[0].elements[3] = getTextArea("funcParametersCode", "Write Custom Code for Functions Parameter", true, { xs: 12, sm: 12, md: 6 });
8302
+ uiSchema.elements[0].elements[0].elements[3] = getTextArea("funcParametersCode", "Write Custom Code for Functions Parameter", true, 12);
8291
8303
  schema2.required = ["eventType", "Handler", "inBuiltFunctionType"];
8292
8304
  } else if (handlerType === "refresh") {
8293
- uiSchema.elements[0].elements[0].elements[2] = refreshSectionUiSchema;
8305
+ uiSchema.elements[0].elements[0].elements[3] = refreshSectionUiSchema;
8294
8306
  schema2.properties.refreshElements.required = ["value"];
8295
8307
  schema2.properties.refreshElements.items.required = ["value"];
8296
8308
  schema2.required = ["eventType", "Handler", "refreshElements"];