impaktapps-ui-builder 1.0.217 → 1.0.218
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 +16 -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/buildTabSection.ts +1 -1
- package/src/impaktapps-ui-builder/builder/build/uischema/buildPropertiesSection.ts +1 -1
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/Component/schema.ts +14 -0
|
@@ -6456,6 +6456,20 @@ const ComponentSchema = {
|
|
|
6456
6456
|
}
|
|
6457
6457
|
}
|
|
6458
6458
|
},
|
|
6459
|
+
sectionLabelsAndIcons: {
|
|
6460
|
+
type: "array",
|
|
6461
|
+
items: {
|
|
6462
|
+
type: "object",
|
|
6463
|
+
properties: {
|
|
6464
|
+
label: {
|
|
6465
|
+
type: "string"
|
|
6466
|
+
},
|
|
6467
|
+
icon: {
|
|
6468
|
+
type: "string"
|
|
6469
|
+
}
|
|
6470
|
+
}
|
|
6471
|
+
}
|
|
6472
|
+
},
|
|
6459
6473
|
Table_Download_Keys_Name: {
|
|
6460
6474
|
type: "array",
|
|
6461
6475
|
items: {
|
|
@@ -8145,7 +8159,7 @@ const buildPropertiesSection = function(type) {
|
|
|
8145
8159
|
getRadioInputField("verticalOrientation", "Vertical Orientation", ["YES", "NO"]),
|
|
8146
8160
|
getRadioInputField("lazyLoad", "Lazy Load", ["YES", "NO"]),
|
|
8147
8161
|
emptyBox$1("TabEmpty"),
|
|
8148
|
-
getArrayControlMultiField("sectionLabelsAndIcons", "label", "
|
|
8162
|
+
getArrayControlMultiField("sectionLabelsAndIcons", "label", "icon", "Label", "Icon")
|
|
8149
8163
|
];
|
|
8150
8164
|
break;
|
|
8151
8165
|
case "Table":
|
|
@@ -11376,7 +11390,7 @@ const buildTabSection = (config2, componentScope2) => {
|
|
|
11376
11390
|
}
|
|
11377
11391
|
if (config2.sectionLabelsAndIcons) {
|
|
11378
11392
|
tab.config.main.tabLabels = config2.sectionLabelsAndIcons.map((e) => e.label);
|
|
11379
|
-
tab.config.main.tabIcons = config2.sectionLabelsAndIcons.map((e) => e.
|
|
11393
|
+
tab.config.main.tabIcons = config2.sectionLabelsAndIcons.map((e) => e.icon);
|
|
11380
11394
|
}
|
|
11381
11395
|
if (config2.style) {
|
|
11382
11396
|
tab.config.style = JSON.parse(config2.style);
|