impaktapps-ui-builder 0.0.344 → 0.0.345
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 +6 -3
- package/dist/impaktapps-ui-builder.es.js.map +1 -1
- package/dist/impaktapps-ui-builder.umd.js +6 -6
- package/dist/impaktapps-ui-builder.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/impaktapps-ui-builder/builder/services/component.ts +2 -1
- package/src/impaktapps-ui-builder/builder/services/event.ts +2 -1
- package/src/impaktapps-ui-builder/builder/services/pageMaster.ts +2 -1
|
@@ -7336,7 +7336,8 @@ var Component = (store2, dynamicData2, submitHandler, service2) => {
|
|
|
7336
7336
|
const path = (_b = store2.searchParams) == null ? void 0 : _b.get("path");
|
|
7337
7337
|
saveFormdataInLocalStorage(store2.ctx.core.data, path);
|
|
7338
7338
|
const config = localStorage.getItem("pageFormdata");
|
|
7339
|
-
const
|
|
7339
|
+
const actualConfig = JSON.parse(config);
|
|
7340
|
+
const isSubmitted = await saveHandler(store2, service2, submitHandler, actualConfig);
|
|
7340
7341
|
if (isSubmitted) {
|
|
7341
7342
|
localStorage.removeItem("pageFormdata");
|
|
7342
7343
|
store2.navigate(`/PageMaster?id=${id}`);
|
|
@@ -7485,7 +7486,8 @@ var pageMaster = (funcParams) => {
|
|
|
7485
7486
|
savePageHandler: async () => {
|
|
7486
7487
|
saveFormdataInLocalStorage(store2.ctx.core.data);
|
|
7487
7488
|
const config2 = localStorage.getItem("pageFormdata");
|
|
7488
|
-
const
|
|
7489
|
+
const actualConfig = JSON.parse(config2);
|
|
7490
|
+
const isSubmitted = await saveHandler(store2, service2, submitHandler, actualConfig);
|
|
7489
7491
|
if (isSubmitted) {
|
|
7490
7492
|
localStorage.removeItem("pageFormdata");
|
|
7491
7493
|
store2.navigate("/PageMasterRecords");
|
|
@@ -8140,7 +8142,8 @@ var event = (store2, dynamicData2, submitHandler, service2) => {
|
|
|
8140
8142
|
const path = (_b = store2.searchParams) == null ? void 0 : _b.get("path");
|
|
8141
8143
|
saveFormdataInLocalStorage(store2.ctx.core.data, path);
|
|
8142
8144
|
const config = localStorage.getItem("pageFormdata");
|
|
8143
|
-
const
|
|
8145
|
+
const actualConfig = JSON.parse(config);
|
|
8146
|
+
const isSubmitted = await saveHandler(store2, service2, submitHandler, actualConfig);
|
|
8144
8147
|
if (isSubmitted) {
|
|
8145
8148
|
localStorage.removeItem("pageFormdata");
|
|
8146
8149
|
store2.navigate(`/PageMaster?id=${id}`);
|