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