impaktapps-ui-builder 1.0.215 → 1.0.216
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 +19 -8
- 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/buildAreaGraph.ts +1 -1
- package/src/impaktapps-ui-builder/builder/build/buildHorizontalBarGraph.ts +1 -1
- package/src/impaktapps-ui-builder/builder/build/buildLineGraph.ts +1 -1
- package/src/impaktapps-ui-builder/builder/build/buildPieGraph.ts +1 -1
- package/src/impaktapps-ui-builder/builder/build/buildStackBarGraph.ts +1 -1
- package/src/impaktapps-ui-builder/builder/build/buildTabSection.ts +2 -2
- package/src/impaktapps-ui-builder/builder/build/uischema/buildPropertiesSection.ts +1 -1
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/Component/schema.ts +11 -0
|
@@ -6536,6 +6536,17 @@ const ComponentSchema = {
|
|
|
6536
6536
|
}
|
|
6537
6537
|
}
|
|
6538
6538
|
},
|
|
6539
|
+
tabIcons: {
|
|
6540
|
+
type: "array",
|
|
6541
|
+
items: {
|
|
6542
|
+
type: "object",
|
|
6543
|
+
properties: {
|
|
6544
|
+
url: {
|
|
6545
|
+
type: "string"
|
|
6546
|
+
}
|
|
6547
|
+
}
|
|
6548
|
+
}
|
|
6549
|
+
},
|
|
6539
6550
|
InputFormatingAndMasking: {
|
|
6540
6551
|
type: "array",
|
|
6541
6552
|
items: {
|
|
@@ -8135,7 +8146,7 @@ const buildPropertiesSection = function(type) {
|
|
|
8135
8146
|
getRadioInputField("lazyLoad", "Lazy Load", ["YES", "NO"]),
|
|
8136
8147
|
emptyBox$1("TabEmpty"),
|
|
8137
8148
|
getArrayControl("sectionLabels", "label"),
|
|
8138
|
-
getArrayControl("
|
|
8149
|
+
getArrayControl("tabIcons", "tabIconsUrl", "Icon Url")
|
|
8139
8150
|
];
|
|
8140
8151
|
break;
|
|
8141
8152
|
case "Table":
|
|
@@ -11134,7 +11145,7 @@ const buildHorizontalBarGraph = (config2, componentScope2) => {
|
|
|
11134
11145
|
horizontalBarGraph.config.main.legendDirection = config2.legendDirection === "Row" ? "row" : "column";
|
|
11135
11146
|
}
|
|
11136
11147
|
if (config2.pieArcColors) {
|
|
11137
|
-
horizontalBarGraph.config.style.
|
|
11148
|
+
horizontalBarGraph.config.style.colorMap = createKeyValueMap(config2.pieArcColors);
|
|
11138
11149
|
}
|
|
11139
11150
|
if (config2.xAxisValue) {
|
|
11140
11151
|
horizontalBarGraph.config.main.xAxisValue = config2.xAxisValue;
|
|
@@ -11274,7 +11285,7 @@ const buildPieGraph = (config2, componentScope2) => {
|
|
|
11274
11285
|
pieGraph.config.main.xAxisValue = config2.xAxisValue;
|
|
11275
11286
|
}
|
|
11276
11287
|
if (config2.pieArcColors) {
|
|
11277
|
-
pieGraph.config.style.
|
|
11288
|
+
pieGraph.config.style.colorMap = createKeyValueMap(config2.pieArcColors);
|
|
11278
11289
|
}
|
|
11279
11290
|
return pieGraph;
|
|
11280
11291
|
};
|
|
@@ -11300,7 +11311,7 @@ const buildStackbarGraph = (config2, componentScope2) => {
|
|
|
11300
11311
|
barGraph.config.main.legendLabels = createKeyValueMap(config2.legendLabels);
|
|
11301
11312
|
}
|
|
11302
11313
|
if (config2.pieArcColors) {
|
|
11303
|
-
barGraph.config.style.
|
|
11314
|
+
barGraph.config.style.colorMap = createKeyValueMap(config2.pieArcColors);
|
|
11304
11315
|
}
|
|
11305
11316
|
if (config2.xAxisValue) {
|
|
11306
11317
|
barGraph.config.main.xAxisValue = config2.xAxisValue;
|
|
@@ -11370,8 +11381,8 @@ const buildTabSection = (config2, componentScope2) => {
|
|
|
11370
11381
|
if (config2.style) {
|
|
11371
11382
|
tab.config.style = JSON.parse(config2.style);
|
|
11372
11383
|
}
|
|
11373
|
-
if (config2.
|
|
11374
|
-
tab.config.main.
|
|
11384
|
+
if (config2.tabIcons) {
|
|
11385
|
+
tab.config.main.tabIcons = flatObjectValueInArray(config2.tabIcons);
|
|
11375
11386
|
}
|
|
11376
11387
|
tab.config.main.id = config2.name;
|
|
11377
11388
|
return tab;
|
|
@@ -12331,7 +12342,7 @@ const buildLineGraph = (config2, componentScope2) => {
|
|
|
12331
12342
|
lineGraph.config.main.legendLabels = createKeyValueMap(config2.legendLabels);
|
|
12332
12343
|
}
|
|
12333
12344
|
if (config2.pieArcColors) {
|
|
12334
|
-
lineGraph.config.style.
|
|
12345
|
+
lineGraph.config.style.colorMap = createKeyValueMap(config2.pieArcColors);
|
|
12335
12346
|
}
|
|
12336
12347
|
lineGraph.scope = componentScope2;
|
|
12337
12348
|
return lineGraph;
|
|
@@ -12858,7 +12869,7 @@ const buildAreaGraph = (config2, componentScope2) => {
|
|
|
12858
12869
|
AreaGraph.config.style.containerStyle.height = config2.height;
|
|
12859
12870
|
}
|
|
12860
12871
|
if (config2.pieArcColors) {
|
|
12861
|
-
AreaGraph.config.style.
|
|
12872
|
+
AreaGraph.config.style.colorMap = createKeyValueMap(config2.pieArcColors);
|
|
12862
12873
|
}
|
|
12863
12874
|
if (config2.xAxisFormatType) {
|
|
12864
12875
|
AreaGraph.config.main.xAxisFormatType = config2.xAxisFormatType;
|