impaktapps-ui-builder 0.0.389 → 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 +8 -1
- package/dist/impaktapps-ui-builder.es.js.map +1 -1
- package/dist/impaktapps-ui-builder.umd.js +4 -4
- 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
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/event/schema.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;
|
|
@@ -7725,6 +7727,7 @@ const EventSchema = {
|
|
|
7725
7727
|
{ title: "Click Event", const: "onClick" },
|
|
7726
7728
|
{ title: "Load Event", const: "onLoad" },
|
|
7727
7729
|
{ title: "Change Event", const: "onChange" },
|
|
7730
|
+
{ title: "Lazy Load Event", const: "onLazyLoad" },
|
|
7728
7731
|
{ title: "Success", const: "Success" },
|
|
7729
7732
|
{ title: "onStart", const: "onStart" },
|
|
7730
7733
|
{ title: "File Upload Event", const: "onUpload" },
|
|
@@ -9123,6 +9126,7 @@ const buildLeaderBoard = (config) => {
|
|
|
9123
9126
|
});
|
|
9124
9127
|
LeaderBoard.elements[9].elements = modifyColumns;
|
|
9125
9128
|
}
|
|
9129
|
+
LeaderBoard.config.main.label = config.label;
|
|
9126
9130
|
if (config.name) {
|
|
9127
9131
|
LeaderBoard.elements[0].scope = `#/properties/${config.name}/properties/firstImage`;
|
|
9128
9132
|
LeaderBoard.elements[3].scope = `#/properties/${config.name}/properties/firstName`;
|
|
@@ -9142,7 +9146,7 @@ const buildLeaderBoard = (config) => {
|
|
|
9142
9146
|
LeaderBoard.elements[2].config.main.url = config.thirdImage;
|
|
9143
9147
|
}
|
|
9144
9148
|
if (config.layout) {
|
|
9145
|
-
LeaderBoard.config.layout = config.layout;
|
|
9149
|
+
LeaderBoard.config.layout = createLayoutFormat(config.layout);
|
|
9146
9150
|
}
|
|
9147
9151
|
return LeaderBoard;
|
|
9148
9152
|
};
|
|
@@ -9575,6 +9579,9 @@ var Tabsection = {
|
|
|
9575
9579
|
};
|
|
9576
9580
|
const buildTabSection = (config, componentScope) => {
|
|
9577
9581
|
const tab = _.cloneDeep(Tabsection);
|
|
9582
|
+
if (config.orientation) {
|
|
9583
|
+
tab.config.main.orientation = config.orientation === "YES" ? "vertical" : "horizontal";
|
|
9584
|
+
}
|
|
9578
9585
|
if (config.sectionLabels) {
|
|
9579
9586
|
tab.config.main.tabLabels = config.sectionLabels.map((e) => e.label);
|
|
9580
9587
|
}
|