impaktapps-ui-builder 0.0.384-alpha.0 → 0.0.384-alpha.2
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 +5 -2
- package/dist/impaktapps-ui-builder.es.js.map +1 -1
- package/dist/impaktapps-ui-builder.umd.js +5 -5
- 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 -0
- package/src/impaktapps-ui-builder/builder/services/pageMaster.ts +1 -1
- package/src/impaktapps-ui-builder/builder/services/utils.ts +6 -1
|
@@ -7253,10 +7253,12 @@ const getFormdataFromLocalStorage = (path) => {
|
|
|
7253
7253
|
return returnValue || pageFormdata;
|
|
7254
7254
|
};
|
|
7255
7255
|
async function saveHandler(store2, service2, submitHandler, pageName) {
|
|
7256
|
-
var _a, _b;
|
|
7256
|
+
var _a, _b, _c;
|
|
7257
7257
|
(_a = store2.searchParams) == null ? void 0 : _a.get("id");
|
|
7258
7258
|
const path = (_b = store2.searchParams) == null ? void 0 : _b.get("path");
|
|
7259
7259
|
saveFormdataInLocalStorage(store2.ctx.core.data, path);
|
|
7260
|
+
const id = (_c = store2.searchParams) == null ? void 0 : _c.get("id");
|
|
7261
|
+
console.log("iddd", id);
|
|
7260
7262
|
const config = JSON.parse(localStorage.getItem("pageFormdata"));
|
|
7261
7263
|
if (_.isEmpty(store2.ctx.core.errors)) {
|
|
7262
7264
|
try {
|
|
@@ -7357,8 +7359,9 @@ var Component = (store2, dynamicData2, submitHandler, service2) => {
|
|
|
7357
7359
|
},
|
|
7358
7360
|
refreshPage,
|
|
7359
7361
|
getFormdata: function() {
|
|
7360
|
-
var _a;
|
|
7362
|
+
var _a, _b;
|
|
7361
7363
|
const path = (_a = store2.searchParams) == null ? void 0 : _a.get("path");
|
|
7364
|
+
(_b = store2.searchParams) == null ? void 0 : _b.get("id");
|
|
7362
7365
|
return getFormdataFromLocalStorage(path);
|
|
7363
7366
|
},
|
|
7364
7367
|
getSchema: function() {
|