impaktapps-ui-builder 0.0.391 → 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 +9 -5
- 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/buildTabSection.ts +1 -0
- package/src/impaktapps-ui-builder/builder/build/buildWrapperSection.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
|
@@ -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,7 @@ var Tabsection = {
|
|
|
9579
9579
|
};
|
|
9580
9580
|
const buildTabSection = (config, componentScope) => {
|
|
9581
9581
|
const tab = _.cloneDeep(Tabsection);
|
|
9582
|
+
tab.scopeName = componentScope;
|
|
9582
9583
|
if (config.orientation) {
|
|
9583
9584
|
tab.config.main.orientation = config.orientation === "YES" ? "vertical" : "horizontal";
|
|
9584
9585
|
}
|
|
@@ -9601,6 +9602,7 @@ var WrapperSection = {
|
|
|
9601
9602
|
};
|
|
9602
9603
|
const buildWrapperSection = (config, componentScope) => {
|
|
9603
9604
|
const wrapper = _.cloneDeep(WrapperSection);
|
|
9605
|
+
wrapper.scopeName = componentScope;
|
|
9604
9606
|
wrapper.config.main.label = config.label;
|
|
9605
9607
|
wrapper.config.main.divider = config.divider === "YES" ? true : false;
|
|
9606
9608
|
if (config.style) {
|
|
@@ -9757,6 +9759,7 @@ var Table = {
|
|
|
9757
9759
|
elements: [],
|
|
9758
9760
|
config: {
|
|
9759
9761
|
main: {
|
|
9762
|
+
onMount: "onMount",
|
|
9760
9763
|
allRowData: [],
|
|
9761
9764
|
downloadAllData: false,
|
|
9762
9765
|
columns: {
|
|
@@ -9775,6 +9778,7 @@ var lazyLoadingTable = {
|
|
|
9775
9778
|
elements: [],
|
|
9776
9779
|
config: {
|
|
9777
9780
|
main: {
|
|
9781
|
+
onMount: "onMount",
|
|
9778
9782
|
columns: {}
|
|
9779
9783
|
}
|
|
9780
9784
|
}
|
|
@@ -10797,13 +10801,13 @@ const buildUiSchema = (config) => {
|
|
|
10797
10801
|
elements = buildPanField(config, componentScope);
|
|
10798
10802
|
break;
|
|
10799
10803
|
case "TabSection":
|
|
10800
|
-
elements = buildTabSection(config);
|
|
10804
|
+
elements = buildTabSection(config, componentScope);
|
|
10801
10805
|
break;
|
|
10802
10806
|
case "RunnerBoyProgressBar":
|
|
10803
10807
|
elements = RunnerBoyProgressbar(config, componentScope);
|
|
10804
10808
|
break;
|
|
10805
10809
|
case "WrapperSection":
|
|
10806
|
-
elements = buildWrapperSection(config);
|
|
10810
|
+
elements = buildWrapperSection(config, componentScope);
|
|
10807
10811
|
break;
|
|
10808
10812
|
case "Text":
|
|
10809
10813
|
elements = buildTextField(config, componentScope);
|