impaktapps-ui-builder 0.0.412-mtreemap.4 → 0.0.412-mtreemap.6

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.
@@ -41,7 +41,7 @@ const PageMasterSchema = {
41
41
  }
42
42
  }
43
43
  },
44
- required: ["template", "name"]
44
+ required: ["template", "name", "label"]
45
45
  };
46
46
  const PageMasterUiSchema = {
47
47
  type: "HorizontalLayout",
@@ -6702,12 +6702,7 @@ const EmptyBox = {
6702
6702
  widget: "EmptyBox"
6703
6703
  },
6704
6704
  config: {
6705
- layout: {
6706
- xs: 11,
6707
- sm: 11,
6708
- md: 5.5,
6709
- lg: 5.5
6710
- },
6705
+ layout: { xs: 0, sm: 4, md: 4, lg: 4 },
6711
6706
  main: {}
6712
6707
  }
6713
6708
  };
@@ -6726,12 +6721,7 @@ const cardLayout = {
6726
6721
  widget: "SelectInputField"
6727
6722
  },
6728
6723
  config: {
6729
- layout: {
6730
- xs: 11,
6731
- sm: 11,
6732
- md: 5.5,
6733
- lg: 5.5
6734
- },
6724
+ layout: { xs: 11, sm: 4, md: 4, lg: 4 },
6735
6725
  main: {
6736
6726
  label: "Screen Size"
6737
6727
  }
@@ -6744,12 +6734,7 @@ const cardLayout = {
6744
6734
  widget: "InputField"
6745
6735
  },
6746
6736
  config: {
6747
- layout: {
6748
- xs: 11,
6749
- sm: 11,
6750
- md: 5.5,
6751
- lg: 5.5
6752
- },
6737
+ layout: { xs: 11, sm: 4, md: 4, lg: 4 },
6753
6738
  main: {
6754
6739
  label: "Value",
6755
6740
  type: "number",
@@ -6757,7 +6742,8 @@ const cardLayout = {
6757
6742
  errorMessage: "Number Can't be greater than 12 and can't be less than 0."
6758
6743
  }
6759
6744
  }
6760
- }
6745
+ },
6746
+ EmptyBox
6761
6747
  ]
6762
6748
  }
6763
6749
  }
@@ -6779,12 +6765,7 @@ const getArrayControl = (parentScope, childScope, childLabel) => {
6779
6765
  widget: "InputField"
6780
6766
  },
6781
6767
  config: {
6782
- layout: {
6783
- xs: 11,
6784
- sm: 11,
6785
- md: 5.5,
6786
- lg: 5.5
6787
- },
6768
+ layout: { xs: 11, sm: 4, md: 4, lg: 4 },
6788
6769
  main: {
6789
6770
  label: childLabel || "Labels for Tab"
6790
6771
  }
@@ -6804,12 +6785,7 @@ sizeHolder.options.detail.elements[1] = {
6804
6785
  widget: "InputField"
6805
6786
  },
6806
6787
  config: {
6807
- layout: {
6808
- xs: 11,
6809
- sm: 11,
6810
- md: 5.5,
6811
- lg: 5.5
6812
- },
6788
+ layout: { xs: 11, sm: 4, md: 4, lg: 4 },
6813
6789
  main: {
6814
6790
  label: "Size"
6815
6791
  }
@@ -6823,12 +6799,7 @@ const getInputField = (scope, label) => {
6823
6799
  widget: "InputField"
6824
6800
  },
6825
6801
  config: {
6826
- layout: {
6827
- xs: 11,
6828
- sm: 11,
6829
- md: 5.5,
6830
- lg: 5.5
6831
- },
6802
+ layout: { xs: 11, sm: 4, md: 4, lg: 4 },
6832
6803
  main: {
6833
6804
  label
6834
6805
  }
@@ -6843,12 +6814,7 @@ const getRadioInputField = (scope, label, options) => {
6843
6814
  widget: "RadioInputField"
6844
6815
  },
6845
6816
  config: {
6846
- layout: {
6847
- xs: 11,
6848
- sm: 11,
6849
- md: 5.5,
6850
- lg: 5.5
6851
- },
6817
+ layout: { xs: 11, sm: 4, md: 4, lg: 4 },
6852
6818
  main: {
6853
6819
  label,
6854
6820
  options
@@ -6891,7 +6857,7 @@ const getSelectField = (scope, label, options) => {
6891
6857
  widget: "SelectInputField"
6892
6858
  },
6893
6859
  config: {
6894
- layout: { xs: 11, sm: 11, md: 5.5, lg: 5.5 },
6860
+ layout: { xs: 11, sm: 4, md: 4, lg: 4 },
6895
6861
  main: {
6896
6862
  label,
6897
6863
  type: "text"
@@ -6929,6 +6895,8 @@ const buildPropertiesSection = function(type) {
6929
6895
  getInputField("elevation", "Card Elevation"),
6930
6896
  getInputField("height", "Grid height"),
6931
6897
  getInputField("justifyContent", "justifyContent"),
6898
+ EmptyBox,
6899
+ EmptyBox,
6932
6900
  cardLayout
6933
6901
  ];
6934
6902
  break;
@@ -6946,8 +6914,7 @@ const buildPropertiesSection = function(type) {
6946
6914
  uiSchema.elements = [
6947
6915
  getRadioInputField("fullScreen", "FullScreen", ["YES", "NO"]),
6948
6916
  getRadioInputField("fullWidth", "FullWidth", ["YES", "NO"]),
6949
- getInputField("maxWidth", "Max. Width"),
6950
- EmptyBox
6917
+ getInputField("maxWidth", "Max. Width")
6951
6918
  ];
6952
6919
  break;
6953
6920
  case "Text":
@@ -7232,12 +7199,7 @@ const ValueTab = {
7232
7199
  widget: "InputField"
7233
7200
  },
7234
7201
  config: {
7235
- layout: {
7236
- xs: 11,
7237
- sm: 11,
7238
- md: 5.5,
7239
- lg: 5.5
7240
- },
7202
+ layout: { xs: 11, sm: 4, md: 4, lg: 4 },
7241
7203
  main: {
7242
7204
  label: "Label"
7243
7205
  }
@@ -7250,16 +7212,21 @@ const ValueTab = {
7250
7212
  widget: "InputField"
7251
7213
  },
7252
7214
  config: {
7253
- layout: {
7254
- xs: 11,
7255
- sm: 11,
7256
- md: 5.5,
7257
- lg: 5.5
7258
- },
7215
+ layout: { xs: 11, sm: 4, md: 4, lg: 4 },
7259
7216
  main: {
7260
7217
  label: "Value"
7261
7218
  }
7262
7219
  }
7220
+ },
7221
+ {
7222
+ type: "Control",
7223
+ scope: "#/properties/emptyBox",
7224
+ options: {
7225
+ widget: "EmptyBox"
7226
+ },
7227
+ config: {
7228
+ layout: { xs: 0, sm: 4, md: 4, lg: 4 }
7229
+ }
7263
7230
  }
7264
7231
  ]
7265
7232
  }