impaktapps-ui-builder 1.0.57-alpha.1 → 1.0.57-alpha.2
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 +1 -3
- package/dist/impaktapps-ui-builder.es.js.map +1 -1
- package/dist/impaktapps-ui-builder.umd.js +7 -7
- package/dist/impaktapps-ui-builder.umd.js.map +1 -1
- package/dist/src/impaktapps-ui-builder/runtime/services/service.d.ts +1 -0
- package/package.json +1 -1
- package/src/impaktapps-ui-builder/builder/build/buildTabSection.ts +1 -3
- package/src/impaktapps-ui-builder/runtime/services/service.ts +5 -1
|
@@ -5,6 +5,7 @@ interface funcParamsProps {
|
|
|
5
5
|
userValue: any;
|
|
6
6
|
pageDataProvider: any;
|
|
7
7
|
functionsProvider?: Record<string, any>;
|
|
8
|
+
setExternaldata?: any;
|
|
8
9
|
}
|
|
9
10
|
export declare const extractEvents: (eventConfig: any) => any;
|
|
10
11
|
declare const _default: (funcParams: funcParamsProps) => {
|
package/package.json
CHANGED
|
@@ -4,9 +4,7 @@ import _ from "lodash";
|
|
|
4
4
|
export const buildTabSection = (config:any,componentScope:string) => {
|
|
5
5
|
const tab: any = _.cloneDeep(Tabsection);
|
|
6
6
|
tab.scope = componentScope;
|
|
7
|
-
|
|
8
|
-
tab.config.style = JSON.parse(config.style)
|
|
9
|
-
}
|
|
7
|
+
|
|
10
8
|
if(config.lazyLoad){
|
|
11
9
|
tab.config.main.lazyLoad = config.lazyLoad === "YES" ?true:false;
|
|
12
10
|
}
|
|
@@ -19,7 +19,8 @@ interface funcParamsProps {
|
|
|
19
19
|
service: any,
|
|
20
20
|
userValue: any,
|
|
21
21
|
pageDataProvider: any,
|
|
22
|
-
functionsProvider?: Record<string, any
|
|
22
|
+
functionsProvider?: Record<string, any>,
|
|
23
|
+
setExternaldata?: any
|
|
23
24
|
}
|
|
24
25
|
let pageData: any = false;
|
|
25
26
|
export const extractEvents = (eventConfig: any) => {
|
|
@@ -77,6 +78,9 @@ export default (funcParams: funcParamsProps) => {
|
|
|
77
78
|
eventGroups = {};
|
|
78
79
|
pageData = await funcParams.pageDataProvider();
|
|
79
80
|
const config = pageData?.config;
|
|
81
|
+
|
|
82
|
+
funcParams?.setExternaldata();
|
|
83
|
+
|
|
80
84
|
const uiSchema = pageData?.uiSchema;
|
|
81
85
|
const event = new CustomEvent('pageNameChanged', {
|
|
82
86
|
detail: { pageName: config.label, hasBackIcon: true }
|