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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "impaktapps-ui-builder",
3
- "version": "1.0.407",
3
+ "version": "1.0.408",
4
4
  "scripts": {
5
5
  "dev": "vite",
6
6
  "build": "tsc && vite build",
@@ -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":