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.
@@ -7,6 +7,7 @@ declare const _default: {
7
7
  elements: any[];
8
8
  config: {
9
9
  main: {
10
+ onMount: string;
10
11
  columns: {};
11
12
  };
12
13
  };
@@ -7,6 +7,7 @@ declare const _default: {
7
7
  elements: any[];
8
8
  config: {
9
9
  main: {
10
+ onMount: string;
10
11
  allRowData: any[];
11
12
  downloadAllData: boolean;
12
13
  columns: {
@@ -11,7 +11,7 @@ interface funcParamsProps {
11
11
  declare const _default: (funcParams: funcParamsProps) => {
12
12
  setPage: () => Promise<void>;
13
13
  onClick: () => Promise<void>;
14
- onLazyLoad: () => Promise<void>;
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "impaktapps-ui-builder",
3
- "version": "0.0.391",
3
+ "version": "0.0.392",
4
4
  "scripts": {
5
5
  "dev": "vite",
6
6
  "build": "tsc && vite build",
@@ -3,6 +3,7 @@ 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;
6
7
  if(config.orientation){
7
8
  tab.config.main.orientation = config.orientation === "YES" ?'vertical':'horizontal';
8
9
  }
@@ -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) {
@@ -7,6 +7,7 @@ export default {
7
7
  elements:[],
8
8
  config: {
9
9
  main: {
10
+ onMount:"onMount",
10
11
  columns: {
11
12
  },
12
13
  },
@@ -7,6 +7,7 @@ export default {
7
7
  elements:[],
8
8
  config: {
9
9
  main: {
10
+ onMount:"onMount",
10
11
  //@ts-ignore
11
12
  allRowData:[],
12
13
  downloadAllData:false,
@@ -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: "Lazy Load Event", const: "onLazyLoad" },
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
- onLazyLoad: async function () {
95
- await this.callHandler("onLazyLoad")
94
+ onMount: async function () {
95
+ await this.callHandler("onMount")
96
96
  },
97
97
  onFileDownload: async function () {
98
98
  await this.callHandler("onDownload")