impaktapps-ui-builder 1.0.310 → 1.0.312

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": "1.0.310",
3
+ "version": "1.0.312",
4
4
  "scripts": {
5
5
  "dev": "vite",
6
6
  "build": "tsc && vite build",
@@ -281,7 +281,6 @@ export default (store: any, dynamicData: any, submitHandler: any, service: any)
281
281
  },
282
282
  okHandler: () => {
283
283
  okHandler(store);
284
- addToScopeKey(store.ctx.core.data);
285
284
  },
286
285
  saveHandler: async () => await saveHandler(store, service, submitHandler),
287
286
  onChange: function () {
@@ -306,7 +305,7 @@ export default (store: any, dynamicData: any, submitHandler: any, service: any)
306
305
  const id = store.searchParams?.get("id");
307
306
  saveFormdataInSessionStorage(store.ctx.core.data, path)
308
307
 
309
- addToScopeKey(store.ctx.core.data);
308
+ addToScopeKey(store.ctx.core.data.name);
310
309
  if (path) {
311
310
  const path = store.searchParams?.get("path");
312
311
  const finalPath = `${path}.elements[${rowId}]`
@@ -348,7 +347,7 @@ export default (store: any, dynamicData: any, submitHandler: any, service: any)
348
347
  }
349
348
  const path = store.searchParams?.get("path");
350
349
  saveFormdataInSessionStorage(store.ctx.core.data, path)
351
- addToScopeKey(store.ctx.core.data);
350
+ addToScopeKey(store.ctx.core.data.name);
352
351
 
353
352
  const finalPath = `${path}.elements[${store.formData.elements.length}]`
354
353
  store.searchParams.set("path", finalPath)
@@ -60,7 +60,7 @@ export default (funcParams: funcParamsProps) => {
60
60
  store.formData.elements = []
61
61
  }
62
62
  const response = saveFormdataInSessionStorage(store.ctx.core.data)
63
- addToScopeKey(store.ctx.core.data);
63
+ addToScopeKey(store.ctx.core.data.name);
64
64
 
65
65
  if (id) {
66
66
  store.navigate(
@@ -87,7 +87,7 @@ export default (funcParams: funcParamsProps) => {
87
87
  store.formData.events = []
88
88
  }
89
89
  saveFormdataInSessionStorage(store.ctx.core.data)
90
- addToScopeKey(store.ctx.core.data);
90
+ addToScopeKey(store.ctx.core.data.name);
91
91
  const finalPath = `events[${store.formData.events.length}]`
92
92
  store.navigate(`/ComponentEvents?path=${finalPath}&id=${id}`)
93
93
  },
@@ -96,7 +96,7 @@ export default (funcParams: funcParamsProps) => {
96
96
  const rowId = dynamicData.path.split(".")[1];
97
97
  const id = store.searchParams?.get("id");
98
98
  saveFormdataInSessionStorage(store.ctx.core.data)
99
- addToScopeKey(store.ctx.core.data);
99
+ addToScopeKey(store.ctx.core.data.name);
100
100
  const finalPath = `events[${rowId}]`
101
101
  store.navigate(`/ComponentEvents?path=${finalPath}&id=${id}`)
102
102
  },
@@ -177,7 +177,7 @@ export function okHandler(store: any) {
177
177
  const path = store.searchParams?.get("path");
178
178
  if (_.isEmpty(store.ctx.core.errors)) {
179
179
  saveFormdataInSessionStorage(store.ctx.core.data, path);
180
- addToScopeKey(store.ctx.core.data);
180
+ addToScopeKey(store.ctx.core.data.name);
181
181
  store.navigate(-1)
182
182
  store.setNotify({
183
183
  SuccessMessage: "Save Successfully",