impaktapps-ui-builder 0.0.390 → 0.0.391
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 +7 -1
- 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/buildLeaderboard.ts +8 -6
- package/src/impaktapps-ui-builder/builder/build/buildTabSection.ts +4 -2
- package/src/impaktapps-ui-builder/builder/build/uischema/buildPropertiesSection.ts +1 -0
|
@@ -7020,6 +7020,8 @@ const buildPropertiesSection = function(type) {
|
|
|
7020
7020
|
break;
|
|
7021
7021
|
case "TabSection":
|
|
7022
7022
|
uiSchema.elements = [
|
|
7023
|
+
getRadioInputField("verticalOrientation", "Vertical Orientation", ["YES", "NO"]),
|
|
7024
|
+
EmptyBox,
|
|
7023
7025
|
getArrayControl("sectionLabels", "label")
|
|
7024
7026
|
];
|
|
7025
7027
|
break;
|
|
@@ -9124,6 +9126,7 @@ const buildLeaderBoard = (config) => {
|
|
|
9124
9126
|
});
|
|
9125
9127
|
LeaderBoard.elements[9].elements = modifyColumns;
|
|
9126
9128
|
}
|
|
9129
|
+
LeaderBoard.config.main.label = config.label;
|
|
9127
9130
|
if (config.name) {
|
|
9128
9131
|
LeaderBoard.elements[0].scope = `#/properties/${config.name}/properties/firstImage`;
|
|
9129
9132
|
LeaderBoard.elements[3].scope = `#/properties/${config.name}/properties/firstName`;
|
|
@@ -9143,7 +9146,7 @@ const buildLeaderBoard = (config) => {
|
|
|
9143
9146
|
LeaderBoard.elements[2].config.main.url = config.thirdImage;
|
|
9144
9147
|
}
|
|
9145
9148
|
if (config.layout) {
|
|
9146
|
-
LeaderBoard.config.layout = config.layout;
|
|
9149
|
+
LeaderBoard.config.layout = createLayoutFormat(config.layout);
|
|
9147
9150
|
}
|
|
9148
9151
|
return LeaderBoard;
|
|
9149
9152
|
};
|
|
@@ -9576,6 +9579,9 @@ var Tabsection = {
|
|
|
9576
9579
|
};
|
|
9577
9580
|
const buildTabSection = (config, componentScope) => {
|
|
9578
9581
|
const tab = _.cloneDeep(Tabsection);
|
|
9582
|
+
if (config.orientation) {
|
|
9583
|
+
tab.config.main.orientation = config.orientation === "YES" ? "vertical" : "horizontal";
|
|
9584
|
+
}
|
|
9579
9585
|
if (config.sectionLabels) {
|
|
9580
9586
|
tab.config.main.tabLabels = config.sectionLabels.map((e) => e.label);
|
|
9581
9587
|
}
|