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
|
@@ -11,7 +11,7 @@ interface funcParamsProps {
|
|
|
11
11
|
declare const _default: (funcParams: funcParamsProps) => {
|
|
12
12
|
setPage: () => Promise<void>;
|
|
13
13
|
onClick: () => Promise<void>;
|
|
14
|
-
|
|
14
|
+
onMount: () => Promise<void>;
|
|
15
15
|
onFileDownload: () => Promise<void>;
|
|
16
16
|
onFileUpload: () => Promise<void>;
|
|
17
17
|
onPaginationChange: (paginationValues: any) => Promise<any>;
|
package/package.json
CHANGED
|
@@ -3,6 +3,11 @@ import _ from "lodash";
|
|
|
3
3
|
|
|
4
4
|
export const buildTabSection = (config:any,componentScope:string) => {
|
|
5
5
|
const tab: any = _.cloneDeep(Tabsection);
|
|
6
|
+
tab.scopeName = componentScope;
|
|
7
|
+
|
|
8
|
+
if(config.lazyLoad){
|
|
9
|
+
tab.config.main.lazyLoad = config.lazyLoad === "YES" ?true:false;
|
|
10
|
+
}
|
|
6
11
|
if(config.orientation){
|
|
7
12
|
tab.config.main.orientation = config.orientation === "YES" ?'vertical':'horizontal';
|
|
8
13
|
}
|
|
@@ -4,6 +4,7 @@ import _ from "lodash";
|
|
|
4
4
|
|
|
5
5
|
export const buildWrapperSection = (config,componentScope) =>{
|
|
6
6
|
const wrapper: any = _.cloneDeep(WrapperSection);
|
|
7
|
+
wrapper.scopeName = componentScope;
|
|
7
8
|
wrapper.config.main.label = config.label;
|
|
8
9
|
wrapper.config.main.divider = config.divider === "YES" ? true : false;
|
|
9
10
|
if (config.style) {
|
|
@@ -371,7 +371,8 @@ export const buildPropertiesSection = function (type: String) {
|
|
|
371
371
|
|
|
372
372
|
case "TabSection":
|
|
373
373
|
uiSchema.elements = [
|
|
374
|
-
getRadioInputField("verticalOrientation", "Vertical Orientation", ["YES", "NO"]),
|
|
374
|
+
getRadioInputField("verticalOrientation", "Vertical Orientation", ["YES", "NO"]),
|
|
375
|
+
getRadioInputField("lazyLoad", "Lazy Load", ["YES", "NO"]),
|
|
375
376
|
getArrayControl("sectionLabels", "label"),
|
|
376
377
|
]
|
|
377
378
|
break;
|
|
@@ -41,7 +41,7 @@ export const EventSchema = {
|
|
|
41
41
|
{ title: "Click Event", const: "onClick" },
|
|
42
42
|
{ title: "Load Event", const: "onLoad" },
|
|
43
43
|
{ title: "Change Event", const: "onChange" },
|
|
44
|
-
{ title: "
|
|
44
|
+
{ title: "Mount Event", const: "onMount" },
|
|
45
45
|
{ title: "Success", const: "Success" },
|
|
46
46
|
{ title: "onStart", const: "onStart" },
|
|
47
47
|
|
|
@@ -91,8 +91,8 @@ export default (funcParams: funcParamsProps) => {
|
|
|
91
91
|
onClick: async function () {
|
|
92
92
|
await this.callHandler("onClick")
|
|
93
93
|
},
|
|
94
|
-
|
|
95
|
-
await this.callHandler("
|
|
94
|
+
onMount: async function () {
|
|
95
|
+
await this.callHandler("onMount")
|
|
96
96
|
},
|
|
97
97
|
onFileDownload: async function () {
|
|
98
98
|
await this.callHandler("onDownload")
|