impaktapps-ui-builder 0.0.101-alpha.25 → 0.0.101-alpha.27
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 +31 -4
- package/dist/impaktapps-ui-builder.es.js.map +1 -1
- package/dist/impaktapps-ui-builder.umd.js +5 -5
- 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 +7 -3
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/Component/uiSchema.ts +24 -0
package/package.json
CHANGED
|
@@ -90,11 +90,14 @@ const getArrayControl = (parentScope: string, childScope: string, childLabel?: s
|
|
|
90
90
|
return {
|
|
91
91
|
type: "Control",
|
|
92
92
|
scope: `#/properties/${parentScope}`,
|
|
93
|
+
options: {
|
|
94
|
+
widget: "Array"
|
|
95
|
+
},
|
|
93
96
|
config: {
|
|
94
97
|
layout: 12,
|
|
95
98
|
main: {
|
|
96
|
-
label:
|
|
97
|
-
childElementLabel:
|
|
99
|
+
label: childLabel,
|
|
100
|
+
childElementLabel: childLabel,
|
|
98
101
|
},
|
|
99
102
|
style: {
|
|
100
103
|
marginLeft: "-24px",
|
|
@@ -329,6 +332,7 @@ export const buildPropertiesSection = function (type: String) {
|
|
|
329
332
|
getInputField("placeholder", "Placeholder"),
|
|
330
333
|
getRadioInputField("enableCodeEditor", "Enable Code Editor",["YES", "NO"]),
|
|
331
334
|
getInputField("codeEditorLanguage", "Enter Code Language"),
|
|
335
|
+
emptyBox("TextEmpty1", {xs: 0, sm: 0, md: 0, lg: 3 }),
|
|
332
336
|
]
|
|
333
337
|
break;
|
|
334
338
|
|
|
@@ -415,7 +419,7 @@ export const buildPropertiesSection = function (type: String) {
|
|
|
415
419
|
getInputField("xAxisValue", "X-AxisValue"),
|
|
416
420
|
getRadioInputField("bottomAxisAngle", "Bottom Axis Angled", ["YES", "No"]),
|
|
417
421
|
getInputField("leftMargin", "Left Margin"),
|
|
418
|
-
emptyBox("GraphEmpty1", {xs: 6, sm: 0, md: 8, lg:
|
|
422
|
+
emptyBox("GraphEmpty1", {xs: 6, sm: 0, md: 8, lg: 6 }),
|
|
419
423
|
getArrayControl("legendLabels", "label"),
|
|
420
424
|
getArrayControl("pieArcColors", "color"),
|
|
421
425
|
];
|
|
@@ -623,6 +623,30 @@ export const componentBasicUiSchema: any = (theme)=>{
|
|
|
623
623
|
},
|
|
624
624
|
]
|
|
625
625
|
},
|
|
626
|
+
{
|
|
627
|
+
type: "Control",
|
|
628
|
+
scope: "#/properties/pageName",
|
|
629
|
+
|
|
630
|
+
options: {
|
|
631
|
+
widget: "Box",
|
|
632
|
+
},
|
|
633
|
+
config: {
|
|
634
|
+
layout: 12,
|
|
635
|
+
main: {
|
|
636
|
+
heading: "",
|
|
637
|
+
},
|
|
638
|
+
style: {
|
|
639
|
+
paddingLeft: theme.spacing(3),
|
|
640
|
+
width:"100%",
|
|
641
|
+
fontSize:"10px",
|
|
642
|
+
color:theme.palette.grey[600],
|
|
643
|
+
position: "relative",
|
|
644
|
+
bottom: "0px",
|
|
645
|
+
borderBottom: `1px solid ${theme.palette.common.black}29`,
|
|
646
|
+
borderTop: `1px solid ${theme.palette.common.black}29`,
|
|
647
|
+
},
|
|
648
|
+
},
|
|
649
|
+
},
|
|
626
650
|
{
|
|
627
651
|
type: "Control",
|
|
628
652
|
scope: "#/properties/notify",
|