impaktapps-ui-builder 1.0.152 → 1.0.153
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 +6 -2
- 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/buildProgressBar.ts +4 -1
- package/src/impaktapps-ui-builder/builder/build/buildWrapperSection.ts +1 -0
- package/src/impaktapps-ui-builder/builder/build/uischema/buildPropertiesSection.ts +3 -4
package/package.json
CHANGED
|
@@ -8,8 +8,11 @@ export const buildProgressBar = (config: any, componentScope: any) => {
|
|
|
8
8
|
if (config.layout) {
|
|
9
9
|
ProgressBar.config.layout = config.layout;
|
|
10
10
|
}
|
|
11
|
-
|
|
11
|
+
|
|
12
12
|
ProgressBar.config.main.heading = config.label;
|
|
13
|
+
if(config.variant){
|
|
14
|
+
ProgressBar.config.main.variant = config.variant
|
|
15
|
+
}
|
|
13
16
|
if (config.pieArcColors) {
|
|
14
17
|
ProgressBar.config.main.colorRange = flatObjectValueInArray(config.pieArcColors);
|
|
15
18
|
}
|
|
@@ -8,6 +8,7 @@ export const buildWrapperSection = (config, componentScope) => {
|
|
|
8
8
|
wrapper.config.main.label = config.label;
|
|
9
9
|
wrapper.config.main.divider = config.divider === "YES" ? true : false;
|
|
10
10
|
wrapper.config.main.isAccordion = config.isAccordion === "No" ? false : true;
|
|
11
|
+
wrapper.config.main.defaultClosed = config.defaultClosed === "YES"?true:false;
|
|
11
12
|
if(config.defaultStyle){
|
|
12
13
|
wrapper.config.defaultStyle = config.defaultStyle ==="YES" ? true : false;
|
|
13
14
|
}
|
|
@@ -390,10 +390,8 @@ export const buildPropertiesSection = function (type: String) {
|
|
|
390
390
|
getInputField("bottomLabel_2", "Second BottomLabel"),
|
|
391
391
|
getInputField("bottomLabel_3", "Third BottomLabel"),
|
|
392
392
|
getInputField("size", "Size"),
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
{ label: "Horizontal", value: "horizontal" },
|
|
396
|
-
]),
|
|
393
|
+
getRadioInputField("variant", "Variant", ["circular", "horizontal"]),
|
|
394
|
+
|
|
397
395
|
getArrayControl("pieArcColors", "color","Color"),
|
|
398
396
|
];
|
|
399
397
|
break;
|
|
@@ -457,6 +455,7 @@ export const buildPropertiesSection = function (type: String) {
|
|
|
457
455
|
getRadioInputField("isAccordion", "Accordion", ["YES", "No"])
|
|
458
456
|
, getRadioInputField("defaultStyle", "Default Style", ["YES", "No"]),
|
|
459
457
|
getInputField("rowSpacing", "Row Spacing"),
|
|
458
|
+
getRadioInputField("defaultClosed", "Default Closed", ["YES", "No"]),
|
|
460
459
|
emptyBox("WrapperSectionEmpty1", { xs: 6, sm: 0, md: 4, lg: 4 }), emptyBox("WrapperSectionEmpty2")
|
|
461
460
|
]
|
|
462
461
|
break;
|