impaktapps-ui-builder 1.0.407 → 1.0.408
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 -4
- 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 +6 -4
package/package.json
CHANGED
|
@@ -127,7 +127,7 @@ const getArrayControl = (parentScope: string, childScope: string, childLabel?: s
|
|
|
127
127
|
],
|
|
128
128
|
}
|
|
129
129
|
};
|
|
130
|
-
const getArrayControlMultiField = (parentScope: string, firstFieldScope: string, secondFieldScope: string, firstFieldLabel?: string, secondFieldLabel?: string) => {
|
|
130
|
+
const getArrayControlMultiField = (parentScope: string, firstFieldScope: string, secondFieldScope: string, firstFieldLabel?: string, secondFieldLabel?: string, arrayLabel?: string) => {
|
|
131
131
|
return {
|
|
132
132
|
type: "Control",
|
|
133
133
|
scope: `#/properties/${parentScope}`,
|
|
@@ -136,7 +136,9 @@ const getArrayControlMultiField = (parentScope: string, firstFieldScope: string,
|
|
|
136
136
|
},
|
|
137
137
|
config: {
|
|
138
138
|
layout: 12,
|
|
139
|
-
main: {
|
|
139
|
+
main: {
|
|
140
|
+
label: arrayLabel,
|
|
141
|
+
},
|
|
140
142
|
style: {
|
|
141
143
|
marginLeft: "-24px",
|
|
142
144
|
marginBottom: "24px !important",
|
|
@@ -585,8 +587,8 @@ export const buildPropertiesSection = function (type: String) {
|
|
|
585
587
|
{ label: "Month and Year", value: "Month and Year" }
|
|
586
588
|
]),
|
|
587
589
|
emptyBox("GraphEmpty1", { xs: 0, sm: 0, md: 4, lg: 6 }),
|
|
588
|
-
getArrayControlMultiField("legendLabels", "key", "value", "Key", "Label"),
|
|
589
|
-
getArrayControlMultiField("pieArcColors", "key", "value", "Key", "Color"),
|
|
590
|
+
getArrayControlMultiField("legendLabels", "key", "value", "Key", "Label", "Configure Bar Labels"),
|
|
591
|
+
getArrayControlMultiField("pieArcColors", "key", "value", "Key", "Color", "Configure Bar Colors"),
|
|
590
592
|
];
|
|
591
593
|
break;
|
|
592
594
|
case "WrapperSection":
|