impaktapps-ui-builder 0.0.343 → 0.0.344
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 -4
- 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/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
|
@@ -7331,9 +7331,10 @@ var Component = (store2, dynamicData2, submitHandler, service2) => {
|
|
|
7331
7331
|
}
|
|
7332
7332
|
},
|
|
7333
7333
|
savePageHandler: async () => {
|
|
7334
|
-
var _a;
|
|
7334
|
+
var _a, _b;
|
|
7335
7335
|
const id = (_a = store2.searchParams) == null ? void 0 : _a.get("id");
|
|
7336
|
-
|
|
7336
|
+
const path = (_b = store2.searchParams) == null ? void 0 : _b.get("path");
|
|
7337
|
+
saveFormdataInLocalStorage(store2.ctx.core.data, path);
|
|
7337
7338
|
const config = localStorage.getItem("pageFormdata");
|
|
7338
7339
|
const isSubmitted = await saveHandler(store2, service2, submitHandler, config);
|
|
7339
7340
|
if (isSubmitted) {
|
|
@@ -8134,9 +8135,10 @@ var event = (store2, dynamicData2, submitHandler, service2) => {
|
|
|
8134
8135
|
return EventSchema;
|
|
8135
8136
|
},
|
|
8136
8137
|
savePageHandler: async () => {
|
|
8137
|
-
var _a;
|
|
8138
|
+
var _a, _b;
|
|
8138
8139
|
const id = (_a = store2.searchParams) == null ? void 0 : _a.get("id");
|
|
8139
|
-
|
|
8140
|
+
const path = (_b = store2.searchParams) == null ? void 0 : _b.get("path");
|
|
8141
|
+
saveFormdataInLocalStorage(store2.ctx.core.data, path);
|
|
8140
8142
|
const config = localStorage.getItem("pageFormdata");
|
|
8141
8143
|
const isSubmitted = await saveHandler(store2, service2, submitHandler, config);
|
|
8142
8144
|
if (isSubmitted) {
|