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
|
@@ -7040,6 +7040,29 @@ const componentBasicUiSchema = (theme) => {
|
|
|
7040
7040
|
}
|
|
7041
7041
|
]
|
|
7042
7042
|
},
|
|
7043
|
+
{
|
|
7044
|
+
type: "Control",
|
|
7045
|
+
scope: "#/properties/pageName",
|
|
7046
|
+
options: {
|
|
7047
|
+
widget: "Box"
|
|
7048
|
+
},
|
|
7049
|
+
config: {
|
|
7050
|
+
layout: 12,
|
|
7051
|
+
main: {
|
|
7052
|
+
heading: ""
|
|
7053
|
+
},
|
|
7054
|
+
style: {
|
|
7055
|
+
paddingLeft: theme.spacing(3),
|
|
7056
|
+
width: "100%",
|
|
7057
|
+
fontSize: "10px",
|
|
7058
|
+
color: theme.palette.grey[600],
|
|
7059
|
+
position: "relative",
|
|
7060
|
+
bottom: "0px",
|
|
7061
|
+
borderBottom: `1px solid ${theme.palette.common.black}29`,
|
|
7062
|
+
borderTop: `1px solid ${theme.palette.common.black}29`
|
|
7063
|
+
}
|
|
7064
|
+
}
|
|
7065
|
+
},
|
|
7043
7066
|
{
|
|
7044
7067
|
type: "Control",
|
|
7045
7068
|
scope: "#/properties/notify",
|
|
@@ -7487,11 +7510,14 @@ const getArrayControl = (parentScope, childScope, childLabel) => {
|
|
|
7487
7510
|
return {
|
|
7488
7511
|
type: "Control",
|
|
7489
7512
|
scope: `#/properties/${parentScope}`,
|
|
7513
|
+
options: {
|
|
7514
|
+
widget: "Array"
|
|
7515
|
+
},
|
|
7490
7516
|
config: {
|
|
7491
7517
|
layout: 12,
|
|
7492
7518
|
main: {
|
|
7493
|
-
label:
|
|
7494
|
-
childElementLabel:
|
|
7519
|
+
label: childLabel,
|
|
7520
|
+
childElementLabel: childLabel
|
|
7495
7521
|
},
|
|
7496
7522
|
style: {
|
|
7497
7523
|
marginLeft: "-24px",
|
|
@@ -7706,7 +7732,8 @@ const buildPropertiesSection = function(type) {
|
|
|
7706
7732
|
uiSchema.elements = [
|
|
7707
7733
|
getInputField("placeholder", "Placeholder"),
|
|
7708
7734
|
getRadioInputField("enableCodeEditor", "Enable Code Editor", ["YES", "NO"]),
|
|
7709
|
-
getInputField("codeEditorLanguage", "Enter Code Language")
|
|
7735
|
+
getInputField("codeEditorLanguage", "Enter Code Language"),
|
|
7736
|
+
emptyBox$1("TextEmpty1", { xs: 0, sm: 0, md: 0, lg: 3 })
|
|
7710
7737
|
];
|
|
7711
7738
|
break;
|
|
7712
7739
|
case "SpeedoMeter":
|
|
@@ -7786,7 +7813,7 @@ const buildPropertiesSection = function(type) {
|
|
|
7786
7813
|
getInputField("xAxisValue", "X-AxisValue"),
|
|
7787
7814
|
getRadioInputField("bottomAxisAngle", "Bottom Axis Angled", ["YES", "No"]),
|
|
7788
7815
|
getInputField("leftMargin", "Left Margin"),
|
|
7789
|
-
emptyBox$1("GraphEmpty1", { xs: 6, sm: 0, md: 8, lg:
|
|
7816
|
+
emptyBox$1("GraphEmpty1", { xs: 6, sm: 0, md: 8, lg: 6 }),
|
|
7790
7817
|
getArrayControl("legendLabels", "label"),
|
|
7791
7818
|
getArrayControl("pieArcColors", "color")
|
|
7792
7819
|
];
|