impaktapps-ui-builder 0.0.412-mtreemap.2 → 0.0.412-mtreemap.3
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.
- package/dist/impaktapps-ui-builder.es.js +48 -29
- package/dist/impaktapps-ui-builder.es.js.map +1 -1
- package/dist/impaktapps-ui-builder.umd.js +1 -1
- package/dist/impaktapps-ui-builder.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/impaktapps-ui-builder/builder/build/uischema/buildPropertiesSection.ts +48 -29
|
@@ -6699,7 +6699,12 @@ const EmptyBox = {
|
|
|
6699
6699
|
widget: "EmptyBox"
|
|
6700
6700
|
},
|
|
6701
6701
|
config: {
|
|
6702
|
-
layout: {
|
|
6702
|
+
layout: {
|
|
6703
|
+
xs: 11,
|
|
6704
|
+
sm: 11,
|
|
6705
|
+
md: 5.5,
|
|
6706
|
+
lg: 5.5
|
|
6707
|
+
},
|
|
6703
6708
|
main: {}
|
|
6704
6709
|
}
|
|
6705
6710
|
};
|
|
@@ -6718,7 +6723,12 @@ const cardLayout = {
|
|
|
6718
6723
|
widget: "SelectInputField"
|
|
6719
6724
|
},
|
|
6720
6725
|
config: {
|
|
6721
|
-
layout: {
|
|
6726
|
+
layout: {
|
|
6727
|
+
xs: 11,
|
|
6728
|
+
sm: 11,
|
|
6729
|
+
md: 5.5,
|
|
6730
|
+
lg: 5.5
|
|
6731
|
+
},
|
|
6722
6732
|
main: {
|
|
6723
6733
|
label: "Screen Size"
|
|
6724
6734
|
}
|
|
@@ -6731,7 +6741,12 @@ const cardLayout = {
|
|
|
6731
6741
|
widget: "InputField"
|
|
6732
6742
|
},
|
|
6733
6743
|
config: {
|
|
6734
|
-
layout: {
|
|
6744
|
+
layout: {
|
|
6745
|
+
xs: 11,
|
|
6746
|
+
sm: 11,
|
|
6747
|
+
md: 5.5,
|
|
6748
|
+
lg: 5.5
|
|
6749
|
+
},
|
|
6735
6750
|
main: {
|
|
6736
6751
|
label: "Value",
|
|
6737
6752
|
type: "number",
|
|
@@ -6739,8 +6754,7 @@ const cardLayout = {
|
|
|
6739
6754
|
errorMessage: "Number Can't be greater than 12 and can't be less than 0."
|
|
6740
6755
|
}
|
|
6741
6756
|
}
|
|
6742
|
-
}
|
|
6743
|
-
EmptyBox
|
|
6757
|
+
}
|
|
6744
6758
|
]
|
|
6745
6759
|
}
|
|
6746
6760
|
}
|
|
@@ -6762,13 +6776,17 @@ const getArrayControl = (parentScope, childScope, childLabel) => {
|
|
|
6762
6776
|
widget: "InputField"
|
|
6763
6777
|
},
|
|
6764
6778
|
config: {
|
|
6765
|
-
layout: {
|
|
6779
|
+
layout: {
|
|
6780
|
+
xs: 11,
|
|
6781
|
+
sm: 11,
|
|
6782
|
+
md: 5.5,
|
|
6783
|
+
lg: 5.5
|
|
6784
|
+
},
|
|
6766
6785
|
main: {
|
|
6767
6786
|
label: childLabel || "Labels for Tab"
|
|
6768
6787
|
}
|
|
6769
6788
|
}
|
|
6770
6789
|
},
|
|
6771
|
-
EmptyBox,
|
|
6772
6790
|
EmptyBox
|
|
6773
6791
|
]
|
|
6774
6792
|
}
|
|
@@ -6783,7 +6801,12 @@ sizeHolder.options.detail.elements[1] = {
|
|
|
6783
6801
|
widget: "InputField"
|
|
6784
6802
|
},
|
|
6785
6803
|
config: {
|
|
6786
|
-
layout: {
|
|
6804
|
+
layout: {
|
|
6805
|
+
xs: 11,
|
|
6806
|
+
sm: 11,
|
|
6807
|
+
md: 5.5,
|
|
6808
|
+
lg: 5.5
|
|
6809
|
+
},
|
|
6787
6810
|
main: {
|
|
6788
6811
|
label: "Size"
|
|
6789
6812
|
}
|
|
@@ -6797,7 +6820,12 @@ const getInputField = (scope, label) => {
|
|
|
6797
6820
|
widget: "InputField"
|
|
6798
6821
|
},
|
|
6799
6822
|
config: {
|
|
6800
|
-
layout: {
|
|
6823
|
+
layout: {
|
|
6824
|
+
xs: 11,
|
|
6825
|
+
sm: 11,
|
|
6826
|
+
md: 5.5,
|
|
6827
|
+
lg: 5.5
|
|
6828
|
+
},
|
|
6801
6829
|
main: {
|
|
6802
6830
|
label
|
|
6803
6831
|
}
|
|
@@ -6812,7 +6840,12 @@ const getRadioInputField = (scope, label, options) => {
|
|
|
6812
6840
|
widget: "RadioInputField"
|
|
6813
6841
|
},
|
|
6814
6842
|
config: {
|
|
6815
|
-
layout: {
|
|
6843
|
+
layout: {
|
|
6844
|
+
xs: 11,
|
|
6845
|
+
sm: 11,
|
|
6846
|
+
md: 5.5,
|
|
6847
|
+
lg: 5.5
|
|
6848
|
+
},
|
|
6816
6849
|
main: {
|
|
6817
6850
|
label,
|
|
6818
6851
|
options
|
|
@@ -6855,7 +6888,7 @@ const getSelectField = (scope, label, options) => {
|
|
|
6855
6888
|
widget: "SelectInputField"
|
|
6856
6889
|
},
|
|
6857
6890
|
config: {
|
|
6858
|
-
layout: { xs: 11, sm:
|
|
6891
|
+
layout: { xs: 11, sm: 11, md: 5.5, lg: 5.5 },
|
|
6859
6892
|
main: {
|
|
6860
6893
|
label,
|
|
6861
6894
|
type: "text"
|
|
@@ -6893,8 +6926,6 @@ const buildPropertiesSection = function(type) {
|
|
|
6893
6926
|
getInputField("elevation", "Card Elevation"),
|
|
6894
6927
|
getInputField("height", "Grid height"),
|
|
6895
6928
|
getInputField("justifyContent", "justifyContent"),
|
|
6896
|
-
EmptyBox,
|
|
6897
|
-
EmptyBox,
|
|
6898
6929
|
cardLayout
|
|
6899
6930
|
];
|
|
6900
6931
|
break;
|
|
@@ -6905,7 +6936,6 @@ const buildPropertiesSection = function(type) {
|
|
|
6905
6936
|
getInputField("resetText", "Reset Text"),
|
|
6906
6937
|
getInputField("completeText", "Complete Text"),
|
|
6907
6938
|
getSelectField("orientation", "Orientation Type"),
|
|
6908
|
-
EmptyBox,
|
|
6909
6939
|
getArrayControl("sectionLabels", "label")
|
|
6910
6940
|
];
|
|
6911
6941
|
break;
|
|
@@ -6921,14 +6951,12 @@ const buildPropertiesSection = function(type) {
|
|
|
6921
6951
|
uiSchema.elements = [
|
|
6922
6952
|
getInputField("placeholder", "Placeholder"),
|
|
6923
6953
|
EmptyBox,
|
|
6924
|
-
EmptyBox,
|
|
6925
6954
|
getArrayControl("InputFormatingAndMasking", "formatElement", "Format Element")
|
|
6926
6955
|
];
|
|
6927
6956
|
break;
|
|
6928
6957
|
case "TextArea":
|
|
6929
6958
|
uiSchema.elements = [
|
|
6930
6959
|
getInputField("placeholder", "Placeholder"),
|
|
6931
|
-
EmptyBox,
|
|
6932
6960
|
EmptyBox
|
|
6933
6961
|
];
|
|
6934
6962
|
break;
|
|
@@ -6938,8 +6966,7 @@ const buildPropertiesSection = function(type) {
|
|
|
6938
6966
|
getInputField("heading", "Container Heading"),
|
|
6939
6967
|
getInputField("heading", "Container Heading"),
|
|
6940
6968
|
getInputField("speedoCaption", "Speedometer Caption"),
|
|
6941
|
-
getInputField("width", "Speedometer Width")
|
|
6942
|
-
EmptyBox
|
|
6969
|
+
getInputField("width", "Speedometer Width")
|
|
6943
6970
|
];
|
|
6944
6971
|
break;
|
|
6945
6972
|
case "RankCard":
|
|
@@ -6947,9 +6974,7 @@ const buildPropertiesSection = function(type) {
|
|
|
6947
6974
|
getInputField("rank", "Rank"),
|
|
6948
6975
|
getInputField("image", "Image Url"),
|
|
6949
6976
|
getInputField("title", "Card Title"),
|
|
6950
|
-
getInputField("description", "Card Description")
|
|
6951
|
-
EmptyBox,
|
|
6952
|
-
EmptyBox
|
|
6977
|
+
getInputField("description", "Card Description")
|
|
6953
6978
|
];
|
|
6954
6979
|
break;
|
|
6955
6980
|
case "LeaderBoard":
|
|
@@ -6958,8 +6983,6 @@ const buildPropertiesSection = function(type) {
|
|
|
6958
6983
|
getInputField("firstImage", "First Image url"),
|
|
6959
6984
|
getInputField("secondImage", "Second Image url"),
|
|
6960
6985
|
getInputField("thirdImage", "Third Image url"),
|
|
6961
|
-
EmptyBox,
|
|
6962
|
-
EmptyBox,
|
|
6963
6986
|
getTextArea("functionCode", "Write Compare Code", false)
|
|
6964
6987
|
];
|
|
6965
6988
|
break;
|
|
@@ -6975,9 +6998,7 @@ const buildPropertiesSection = function(type) {
|
|
|
6975
6998
|
getInputField("heading", "Heading"),
|
|
6976
6999
|
getInputField("bottomLabel_1", "First BottomLabel"),
|
|
6977
7000
|
getInputField("bottomLabel_2", "Second BottomLabel"),
|
|
6978
|
-
getInputField("bottomLabel_3", "Third BottomLabel")
|
|
6979
|
-
EmptyBox,
|
|
6980
|
-
EmptyBox
|
|
7001
|
+
getInputField("bottomLabel_3", "Third BottomLabel")
|
|
6981
7002
|
];
|
|
6982
7003
|
break;
|
|
6983
7004
|
case "card":
|
|
@@ -7048,14 +7069,12 @@ const buildPropertiesSection = function(type) {
|
|
|
7048
7069
|
case "Select":
|
|
7049
7070
|
uiSchema.elements = [
|
|
7050
7071
|
getRadioInputField("lazyLoading", "Lazy Loading", ["YES", "NO"]),
|
|
7051
|
-
getRadioInputField("freeSolo", "FreeSolo", ["YES", "NO"])
|
|
7052
|
-
EmptyBox
|
|
7072
|
+
getRadioInputField("freeSolo", "FreeSolo", ["YES", "NO"])
|
|
7053
7073
|
];
|
|
7054
7074
|
break;
|
|
7055
7075
|
case "MultipleSelect":
|
|
7056
7076
|
uiSchema.elements = [
|
|
7057
7077
|
getRadioInputField("lazyLoading", "Lazy Loading", ["YES", "NO"]),
|
|
7058
|
-
EmptyBox,
|
|
7059
7078
|
EmptyBox
|
|
7060
7079
|
];
|
|
7061
7080
|
break;
|