impaktapps-ui-builder 0.0.391 → 0.0.393
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 +13 -6
- package/dist/impaktapps-ui-builder.es.js.map +1 -1
- package/dist/impaktapps-ui-builder.umd.js +5 -5
- 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/buildTabSection.ts +5 -0
- package/src/impaktapps-ui-builder/builder/build/buildWrapperSection.ts +1 -0
- package/src/impaktapps-ui-builder/builder/build/uischema/buildPropertiesSection.ts +2 -1
- 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
|
@@ -7021,7 +7021,7 @@ const buildPropertiesSection = function(type) {
|
|
|
7021
7021
|
case "TabSection":
|
|
7022
7022
|
uiSchema.elements = [
|
|
7023
7023
|
getRadioInputField("verticalOrientation", "Vertical Orientation", ["YES", "NO"]),
|
|
7024
|
-
|
|
7024
|
+
getRadioInputField("lazyLoad", "Lazy Load", ["YES", "NO"]),
|
|
7025
7025
|
getArrayControl("sectionLabels", "label")
|
|
7026
7026
|
];
|
|
7027
7027
|
break;
|
|
@@ -7727,7 +7727,7 @@ const EventSchema = {
|
|
|
7727
7727
|
{ title: "Click Event", const: "onClick" },
|
|
7728
7728
|
{ title: "Load Event", const: "onLoad" },
|
|
7729
7729
|
{ title: "Change Event", const: "onChange" },
|
|
7730
|
-
{ title: "
|
|
7730
|
+
{ title: "Mount Event", const: "onMount" },
|
|
7731
7731
|
{ title: "Success", const: "Success" },
|
|
7732
7732
|
{ title: "onStart", const: "onStart" },
|
|
7733
7733
|
{ title: "File Upload Event", const: "onUpload" },
|
|
@@ -8667,8 +8667,8 @@ var service = (funcParams) => {
|
|
|
8667
8667
|
onClick: async function() {
|
|
8668
8668
|
await this.callHandler("onClick");
|
|
8669
8669
|
},
|
|
8670
|
-
|
|
8671
|
-
await this.callHandler("
|
|
8670
|
+
onMount: async function() {
|
|
8671
|
+
await this.callHandler("onMount");
|
|
8672
8672
|
},
|
|
8673
8673
|
onFileDownload: async function() {
|
|
8674
8674
|
await this.callHandler("onDownload");
|
|
@@ -9579,6 +9579,10 @@ var Tabsection = {
|
|
|
9579
9579
|
};
|
|
9580
9580
|
const buildTabSection = (config, componentScope) => {
|
|
9581
9581
|
const tab = _.cloneDeep(Tabsection);
|
|
9582
|
+
tab.scopeName = componentScope;
|
|
9583
|
+
if (config.lazyLoad) {
|
|
9584
|
+
tab.config.main.lazyLoad = config.lazyLoad === "YES" ? true : false;
|
|
9585
|
+
}
|
|
9582
9586
|
if (config.orientation) {
|
|
9583
9587
|
tab.config.main.orientation = config.orientation === "YES" ? "vertical" : "horizontal";
|
|
9584
9588
|
}
|
|
@@ -9601,6 +9605,7 @@ var WrapperSection = {
|
|
|
9601
9605
|
};
|
|
9602
9606
|
const buildWrapperSection = (config, componentScope) => {
|
|
9603
9607
|
const wrapper = _.cloneDeep(WrapperSection);
|
|
9608
|
+
wrapper.scopeName = componentScope;
|
|
9604
9609
|
wrapper.config.main.label = config.label;
|
|
9605
9610
|
wrapper.config.main.divider = config.divider === "YES" ? true : false;
|
|
9606
9611
|
if (config.style) {
|
|
@@ -9757,6 +9762,7 @@ var Table = {
|
|
|
9757
9762
|
elements: [],
|
|
9758
9763
|
config: {
|
|
9759
9764
|
main: {
|
|
9765
|
+
onMount: "onMount",
|
|
9760
9766
|
allRowData: [],
|
|
9761
9767
|
downloadAllData: false,
|
|
9762
9768
|
columns: {
|
|
@@ -9775,6 +9781,7 @@ var lazyLoadingTable = {
|
|
|
9775
9781
|
elements: [],
|
|
9776
9782
|
config: {
|
|
9777
9783
|
main: {
|
|
9784
|
+
onMount: "onMount",
|
|
9778
9785
|
columns: {}
|
|
9779
9786
|
}
|
|
9780
9787
|
}
|
|
@@ -10797,13 +10804,13 @@ const buildUiSchema = (config) => {
|
|
|
10797
10804
|
elements = buildPanField(config, componentScope);
|
|
10798
10805
|
break;
|
|
10799
10806
|
case "TabSection":
|
|
10800
|
-
elements = buildTabSection(config);
|
|
10807
|
+
elements = buildTabSection(config, componentScope);
|
|
10801
10808
|
break;
|
|
10802
10809
|
case "RunnerBoyProgressBar":
|
|
10803
10810
|
elements = RunnerBoyProgressbar(config, componentScope);
|
|
10804
10811
|
break;
|
|
10805
10812
|
case "WrapperSection":
|
|
10806
|
-
elements = buildWrapperSection(config);
|
|
10813
|
+
elements = buildWrapperSection(config, componentScope);
|
|
10807
10814
|
break;
|
|
10808
10815
|
case "Text":
|
|
10809
10816
|
elements = buildTextField(config, componentScope);
|