impaktapps-ui-builder 0.0.101-alpha.272 → 0.0.101-alpha.274

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "impaktapps-ui-builder",
3
- "version": "0.0.101-alpha.272",
3
+ "version": "0.0.101-alpha.274",
4
4
  "scripts": {
5
5
  "dev": "vite",
6
6
  "build": "tsc && vite build",
@@ -84,18 +84,15 @@ export default (funcParams: funcParamsProps) => {
84
84
  // if (pageBasicDetailString) {
85
85
  // pageData = JSON.parse(pageBasicDetailString)
86
86
  // } else {
87
- pageData = await funcParams.pageDataProvider();
88
- sessionStorage.setItem("pagemasterMetaData", JSON.stringify({
89
- schema: pageData?.schema,
90
- uiSchema: pageData?.uiSchema, config: pageData?.config
91
- }))
87
+ pageData = await funcParams.pageDataProvider();
88
+
92
89
  // }
93
90
  const config = pageData?.config;
94
91
  const uiSchema = pageData?.uiSchema;
95
- const event = new CustomEvent('pageNameChanged', {
96
- detail: { pageName: config.label }
97
- });
98
- window.dispatchEvent(event)
92
+ // const event = new CustomEvent('pageNameChanged', {
93
+ // detail: { pageName: config.label }
94
+ // });
95
+ // window.dispatchEvent(event)
99
96
  const theme = funcParams?.store?.theme?.myTheme;
100
97
  uiSchema.elements.push(
101
98
  {
@@ -226,6 +223,10 @@ export default (funcParams: funcParamsProps) => {
226
223
  )
227
224
  uiSchema.elements.push(notifyUiSchema);
228
225
  funcParams.store.setUiSchema(uiSchema);
226
+ sessionStorage.setItem("pagemasterMetaData", JSON.stringify({
227
+ schema: pageData?.schema,
228
+ uiSchema: pageData?.uiSchema, config: pageData?.config
229
+ }))
229
230
  },
230
231
  onCellRenderer: (cellParams) => {
231
232
  if (eventGroups.onCellRenderer) {