impaktapps-ui-builder 0.0.412-f → 0.0.412-g
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 -0
- package/dist/impaktapps-ui-builder.es.js.map +1 -1
- package/dist/impaktapps-ui-builder.umd.js +1 -1
- package/dist/impaktapps-ui-builder.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/impaktapps-ui-builder/runtime/services/events.ts +7 -8
- package/src/impaktapps-ui-builder/runtime/services/service.ts +3 -7
|
@@ -8619,6 +8619,10 @@ function mergeFormdata(handlerResponse, componentName, eventConfig, store2, serv
|
|
|
8619
8619
|
});
|
|
8620
8620
|
} else if (eventConfig.type === "page") {
|
|
8621
8621
|
if (!(_.isEmpty(handlerResponse == null ? void 0 : handlerResponse.data) && (handlerResponse == null ? void 0 : handlerResponse.data))) {
|
|
8622
|
+
store2.newData = {
|
|
8623
|
+
...store2.newData,
|
|
8624
|
+
...handlerResponse == null ? void 0 : handlerResponse.data
|
|
8625
|
+
};
|
|
8622
8626
|
store2.setFormdata((pre) => {
|
|
8623
8627
|
return { ...pre, ...handlerResponse == null ? void 0 : handlerResponse.data };
|
|
8624
8628
|
});
|
|
@@ -8773,6 +8777,7 @@ var service = (funcParams) => {
|
|
|
8773
8777
|
setPage: async function() {
|
|
8774
8778
|
var _a;
|
|
8775
8779
|
funcParams.store.setFormdata({});
|
|
8780
|
+
funcParams.store.newData = {};
|
|
8776
8781
|
const pageBasicDetailString = localStorage.getItem("pagemasterMetaData");
|
|
8777
8782
|
if (pageBasicDetailString) {
|
|
8778
8783
|
pageData = JSON.parse(pageBasicDetailString);
|