impaktapps-ui-builder 0.0.390 → 0.0.392
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 -6
- 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/dist/src/impaktapps-ui-builder/builder/build/uischema/lazyLoadingTable.d.ts +1 -0
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/table.d.ts +1 -0
- package/dist/src/impaktapps-ui-builder/runtime/services/service.d.ts +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 +5 -2
- package/src/impaktapps-ui-builder/builder/build/buildWrapperSection.ts +1 -0
- package/src/impaktapps-ui-builder/builder/build/uischema/buildPropertiesSection.ts +1 -0
- package/src/impaktapps-ui-builder/builder/build/uischema/lazyLoadingTable.ts +1 -0
- package/src/impaktapps-ui-builder/builder/build/uischema/table.ts +1 -0
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/event/schema.ts +1 -1
- package/src/impaktapps-ui-builder/runtime/services/service.ts +2 -2
|
@@ -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,7 +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" },
|
|
7728
|
-
{ title: "
|
|
7730
|
+
{ title: "Mount Event", const: "onMount" },
|
|
7729
7731
|
{ title: "Success", const: "Success" },
|
|
7730
7732
|
{ title: "onStart", const: "onStart" },
|
|
7731
7733
|
{ title: "File Upload Event", const: "onUpload" },
|
|
@@ -8665,8 +8667,8 @@ var service = (funcParams) => {
|
|
|
8665
8667
|
onClick: async function() {
|
|
8666
8668
|
await this.callHandler("onClick");
|
|
8667
8669
|
},
|
|
8668
|
-
|
|
8669
|
-
await this.callHandler("
|
|
8670
|
+
onMount: async function() {
|
|
8671
|
+
await this.callHandler("onMount");
|
|
8670
8672
|
},
|
|
8671
8673
|
onFileDownload: async function() {
|
|
8672
8674
|
await this.callHandler("onDownload");
|
|
@@ -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,10 @@ var Tabsection = {
|
|
|
9576
9579
|
};
|
|
9577
9580
|
const buildTabSection = (config, componentScope) => {
|
|
9578
9581
|
const tab = _.cloneDeep(Tabsection);
|
|
9582
|
+
tab.scopeName = componentScope;
|
|
9583
|
+
if (config.orientation) {
|
|
9584
|
+
tab.config.main.orientation = config.orientation === "YES" ? "vertical" : "horizontal";
|
|
9585
|
+
}
|
|
9579
9586
|
if (config.sectionLabels) {
|
|
9580
9587
|
tab.config.main.tabLabels = config.sectionLabels.map((e) => e.label);
|
|
9581
9588
|
}
|
|
@@ -9595,6 +9602,7 @@ var WrapperSection = {
|
|
|
9595
9602
|
};
|
|
9596
9603
|
const buildWrapperSection = (config, componentScope) => {
|
|
9597
9604
|
const wrapper = _.cloneDeep(WrapperSection);
|
|
9605
|
+
wrapper.scopeName = componentScope;
|
|
9598
9606
|
wrapper.config.main.label = config.label;
|
|
9599
9607
|
wrapper.config.main.divider = config.divider === "YES" ? true : false;
|
|
9600
9608
|
if (config.style) {
|
|
@@ -9751,6 +9759,7 @@ var Table = {
|
|
|
9751
9759
|
elements: [],
|
|
9752
9760
|
config: {
|
|
9753
9761
|
main: {
|
|
9762
|
+
onMount: "onMount",
|
|
9754
9763
|
allRowData: [],
|
|
9755
9764
|
downloadAllData: false,
|
|
9756
9765
|
columns: {
|
|
@@ -9769,6 +9778,7 @@ var lazyLoadingTable = {
|
|
|
9769
9778
|
elements: [],
|
|
9770
9779
|
config: {
|
|
9771
9780
|
main: {
|
|
9781
|
+
onMount: "onMount",
|
|
9772
9782
|
columns: {}
|
|
9773
9783
|
}
|
|
9774
9784
|
}
|
|
@@ -10791,13 +10801,13 @@ const buildUiSchema = (config) => {
|
|
|
10791
10801
|
elements = buildPanField(config, componentScope);
|
|
10792
10802
|
break;
|
|
10793
10803
|
case "TabSection":
|
|
10794
|
-
elements = buildTabSection(config);
|
|
10804
|
+
elements = buildTabSection(config, componentScope);
|
|
10795
10805
|
break;
|
|
10796
10806
|
case "RunnerBoyProgressBar":
|
|
10797
10807
|
elements = RunnerBoyProgressbar(config, componentScope);
|
|
10798
10808
|
break;
|
|
10799
10809
|
case "WrapperSection":
|
|
10800
|
-
elements = buildWrapperSection(config);
|
|
10810
|
+
elements = buildWrapperSection(config, componentScope);
|
|
10801
10811
|
break;
|
|
10802
10812
|
case "Text":
|
|
10803
10813
|
elements = buildTextField(config, componentScope);
|