impaktapps-ui-builder 0.0.105-4.alpha-4 → 0.0.105-4.alpha-5
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 -15
- package/dist/impaktapps-ui-builder.es.js.map +1 -1
- package/dist/impaktapps-ui-builder.umd.js +8 -8
- 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/runtime/services/service.ts +11 -8
|
@@ -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
|
@@ -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) => {
|
|
@@ -90,13 +91,15 @@ export default (funcParams: funcParamsProps) => {
|
|
|
90
91
|
}
|
|
91
92
|
const config = pageData?.config;
|
|
92
93
|
|
|
93
|
-
const pathParts = funcParams.store.location.pathname.split("/");
|
|
94
|
-
const programId = JSON.parse(window.sessionStorage.getItem("ProgramID") || "{}")?.value;
|
|
95
|
-
if (pathParts?.[1] === "page" && pathParts?.[2] === "program_name") {
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
}
|
|
94
|
+
// const pathParts = funcParams.store.location.pathname.split("/");
|
|
95
|
+
// const programId = JSON.parse(window.sessionStorage.getItem("ProgramID") || "{}")?.value;
|
|
96
|
+
// if (pathParts?.[1] === "page" && pathParts?.[2] === "program_name") {
|
|
97
|
+
// if(programId){
|
|
98
|
+
// funcParams.store.setFormdata((pre) => ({ ...pre, programId: programId }));
|
|
99
|
+
// }
|
|
100
|
+
// }
|
|
101
|
+
|
|
102
|
+
funcParams?.setExternaldata();
|
|
100
103
|
|
|
101
104
|
const uiSchema = pageData?.uiSchema;
|
|
102
105
|
const event = new CustomEvent('pageNameChanged', {
|