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/dist/impaktapps-ui-builder.es.js +6 -7
- package/dist/impaktapps-ui-builder.es.js.map +1 -1
- package/dist/impaktapps-ui-builder.umd.js +2 -2
- 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 -3
- package/src/impaktapps-ui-builder/builder/services/pageMaster.ts +3 -3
- package/src/impaktapps-ui-builder/builder/services/utils.ts +1 -1
|
@@ -8887,7 +8887,7 @@ function okHandler(store2) {
|
|
|
8887
8887
|
const path = (_a = store2.searchParams) == null ? void 0 : _a.get("path");
|
|
8888
8888
|
if (_.isEmpty(store2.ctx.core.errors)) {
|
|
8889
8889
|
saveFormdataInSessionStorage(store2.ctx.core.data, path);
|
|
8890
|
-
addToScopeKey(store2.ctx.core.data);
|
|
8890
|
+
addToScopeKey(store2.ctx.core.data.name);
|
|
8891
8891
|
store2.navigate(-1);
|
|
8892
8892
|
store2.setNotify({
|
|
8893
8893
|
SuccessMessage: "Save Successfully",
|
|
@@ -9149,7 +9149,6 @@ var Component = (store2, dynamicData2, submitHandler, service2) => {
|
|
|
9149
9149
|
},
|
|
9150
9150
|
okHandler: () => {
|
|
9151
9151
|
okHandler(store2);
|
|
9152
|
-
addToScopeKey(store2.ctx.core.data);
|
|
9153
9152
|
},
|
|
9154
9153
|
saveHandler: async () => await saveHandler(store2, service2, submitHandler),
|
|
9155
9154
|
onChange: function() {
|
|
@@ -9169,7 +9168,7 @@ var Component = (store2, dynamicData2, submitHandler, service2) => {
|
|
|
9169
9168
|
const path = (_a = store2.searchParams) == null ? void 0 : _a.get("path");
|
|
9170
9169
|
const id = (_b = store2.searchParams) == null ? void 0 : _b.get("id");
|
|
9171
9170
|
saveFormdataInSessionStorage(store2.ctx.core.data, path);
|
|
9172
|
-
addToScopeKey(store2.ctx.core.data);
|
|
9171
|
+
addToScopeKey(store2.ctx.core.data.name);
|
|
9173
9172
|
if (path) {
|
|
9174
9173
|
const path2 = (_c = store2.searchParams) == null ? void 0 : _c.get("path");
|
|
9175
9174
|
const finalPath = `${path2}.elements[${rowId}]`;
|
|
@@ -9214,7 +9213,7 @@ var Component = (store2, dynamicData2, submitHandler, service2) => {
|
|
|
9214
9213
|
}
|
|
9215
9214
|
const path = (_a = store2.searchParams) == null ? void 0 : _a.get("path");
|
|
9216
9215
|
saveFormdataInSessionStorage(store2.ctx.core.data, path);
|
|
9217
|
-
addToScopeKey(store2.ctx.core.data);
|
|
9216
|
+
addToScopeKey(store2.ctx.core.data.name);
|
|
9218
9217
|
const finalPath = `${path}.elements[${store2.formData.elements.length}]`;
|
|
9219
9218
|
store2.searchParams.set("path", finalPath);
|
|
9220
9219
|
store2.setSearchParams(store2.searchParams);
|
|
@@ -9417,7 +9416,7 @@ var pageMaster = (funcParams) => {
|
|
|
9417
9416
|
store2.formData.elements = [];
|
|
9418
9417
|
}
|
|
9419
9418
|
const response = saveFormdataInSessionStorage(store2.ctx.core.data);
|
|
9420
|
-
addToScopeKey(store2.ctx.core.data);
|
|
9419
|
+
addToScopeKey(store2.ctx.core.data.name);
|
|
9421
9420
|
if (id) {
|
|
9422
9421
|
store2.navigate(
|
|
9423
9422
|
`/Component?path=${`elements[${response == null ? void 0 : response.elements.length}]`}&id=${id}`
|
|
@@ -9443,7 +9442,7 @@ var pageMaster = (funcParams) => {
|
|
|
9443
9442
|
store2.formData.events = [];
|
|
9444
9443
|
}
|
|
9445
9444
|
saveFormdataInSessionStorage(store2.ctx.core.data);
|
|
9446
|
-
addToScopeKey(store2.ctx.core.data);
|
|
9445
|
+
addToScopeKey(store2.ctx.core.data.name);
|
|
9447
9446
|
const finalPath = `events[${store2.formData.events.length}]`;
|
|
9448
9447
|
store2.navigate(`/ComponentEvents?path=${finalPath}&id=${id}`);
|
|
9449
9448
|
},
|
|
@@ -9454,7 +9453,7 @@ var pageMaster = (funcParams) => {
|
|
|
9454
9453
|
const rowId = dynamicData2.path.split(".")[1];
|
|
9455
9454
|
const id = (_a = store2.searchParams) == null ? void 0 : _a.get("id");
|
|
9456
9455
|
saveFormdataInSessionStorage(store2.ctx.core.data);
|
|
9457
|
-
addToScopeKey(store2.ctx.core.data);
|
|
9456
|
+
addToScopeKey(store2.ctx.core.data.name);
|
|
9458
9457
|
const finalPath = `events[${rowId}]`;
|
|
9459
9458
|
store2.navigate(`/ComponentEvents?path=${finalPath}&id=${id}`);
|
|
9460
9459
|
},
|