impaktapps-ui-builder 0.0.409-s → 0.0.409-t
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.
|
@@ -8706,6 +8706,7 @@ const notifyUiSchema = {
|
|
|
8706
8706
|
},
|
|
8707
8707
|
layout: 6
|
|
8708
8708
|
};
|
|
8709
|
+
let pageData = false;
|
|
8709
8710
|
const extractEvents = (eventConfig) => {
|
|
8710
8711
|
function extractsConfigEvents(eventConfigObj) {
|
|
8711
8712
|
if (eventConfigObj.events) {
|
|
@@ -8746,6 +8747,11 @@ const extractEvents = (eventConfig) => {
|
|
|
8746
8747
|
return eventGroups;
|
|
8747
8748
|
};
|
|
8748
8749
|
var service = (funcParams) => {
|
|
8750
|
+
if (pageData) {
|
|
8751
|
+
if (!lodash.exports.isEmpty(pageData) && typeof pageData === "object") {
|
|
8752
|
+
eventGroups = extractEvents(pageData == null ? void 0 : pageData.config);
|
|
8753
|
+
}
|
|
8754
|
+
}
|
|
8749
8755
|
let executeEventsParameters = {
|
|
8750
8756
|
config: {},
|
|
8751
8757
|
componentName: "",
|
|
@@ -8761,7 +8767,6 @@ var service = (funcParams) => {
|
|
|
8761
8767
|
setPage: async function() {
|
|
8762
8768
|
var _a;
|
|
8763
8769
|
funcParams.store.setFormdata({});
|
|
8764
|
-
let pageData;
|
|
8765
8770
|
const pageBasicDetailString = localStorage.getItem("pagemasterMetaData");
|
|
8766
8771
|
if (pageBasicDetailString) {
|
|
8767
8772
|
pageData = JSON.parse(pageBasicDetailString);
|