impaktapps-ui-builder 0.0.409-e → 0.0.409-g
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 +18 -13
- 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/buildUiSchema.ts +1 -0
- package/src/impaktapps-ui-builder/builder/build/buildWrapperSection.ts +16 -13
- package/src/impaktapps-ui-builder/builder/build/uischema/buildPropertiesSection.ts +10 -9
|
@@ -6693,6 +6693,18 @@ const EventSection = {
|
|
|
6693
6693
|
}
|
|
6694
6694
|
]
|
|
6695
6695
|
};
|
|
6696
|
+
var emptyBox = {
|
|
6697
|
+
type: "Control",
|
|
6698
|
+
scope: "#/properties/emptyBox",
|
|
6699
|
+
options: {
|
|
6700
|
+
widget: "EmptyBox"
|
|
6701
|
+
},
|
|
6702
|
+
config: {
|
|
6703
|
+
layout: { xs: 12, sm: 12, md: 5.5, lg: 5.5 },
|
|
6704
|
+
main: {},
|
|
6705
|
+
style: {}
|
|
6706
|
+
}
|
|
6707
|
+
};
|
|
6696
6708
|
const EmptyBox = {
|
|
6697
6709
|
type: "Control",
|
|
6698
6710
|
scope: `#/properties/empty`,
|
|
@@ -7037,7 +7049,8 @@ const buildPropertiesSection = function(type) {
|
|
|
7037
7049
|
uiSchema.elements = [
|
|
7038
7050
|
getRadioInputField("divider", "Divider", ["YES", "No"]),
|
|
7039
7051
|
getRadioInputField("isAccordion", "Accordion", ["YES", "No"]),
|
|
7040
|
-
|
|
7052
|
+
getRadioInputField("defaultStyle", "Default Style", ["YES", "No"]),
|
|
7053
|
+
emptyBox
|
|
7041
7054
|
];
|
|
7042
7055
|
break;
|
|
7043
7056
|
case "TabSection":
|
|
@@ -9732,6 +9745,9 @@ const buildWrapperSection = (config, componentScope) => {
|
|
|
9732
9745
|
wrapper.config.main.label = config.label;
|
|
9733
9746
|
wrapper.config.main.divider = config.divider === "YES" ? true : false;
|
|
9734
9747
|
wrapper.config.main.isAccordion = config.isAccordion === "YES" ? true : false;
|
|
9748
|
+
if (config.defaultStyle) {
|
|
9749
|
+
wrapper.config.main.defaultStyle = config.defaultStyle === "YES" ? true : false;
|
|
9750
|
+
}
|
|
9735
9751
|
if (config.style) {
|
|
9736
9752
|
wrapper.config.style = JSON.parse(config.style);
|
|
9737
9753
|
}
|
|
@@ -10540,18 +10556,6 @@ const buildRadio = (config, componentScope) => {
|
|
|
10540
10556
|
}
|
|
10541
10557
|
return Radio;
|
|
10542
10558
|
};
|
|
10543
|
-
var emptyBox = {
|
|
10544
|
-
type: "Control",
|
|
10545
|
-
scope: "#/properties/emptyBox",
|
|
10546
|
-
options: {
|
|
10547
|
-
widget: "EmptyBox"
|
|
10548
|
-
},
|
|
10549
|
-
config: {
|
|
10550
|
-
layout: { xs: 12, sm: 12, md: 5.5, lg: 5.5 },
|
|
10551
|
-
main: {},
|
|
10552
|
-
style: {}
|
|
10553
|
-
}
|
|
10554
|
-
};
|
|
10555
10559
|
const buildEmptyBox = (config, componentScope) => {
|
|
10556
10560
|
const EmptyBox2 = _.cloneDeep(emptyBox);
|
|
10557
10561
|
if (config.layout) {
|
|
@@ -10995,6 +10999,7 @@ const buildUiSchema = (config) => {
|
|
|
10995
10999
|
switch (config.type) {
|
|
10996
11000
|
case "TreeMap":
|
|
10997
11001
|
elements = buildTreeMap(config, componentScope);
|
|
11002
|
+
break;
|
|
10998
11003
|
case "DateTime":
|
|
10999
11004
|
elements = buildDateTime(config, componentScope);
|
|
11000
11005
|
break;
|