impaktapps-ui-builder 0.0.409-s → 0.0.409-u

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,12 @@ const extractEvents = (eventConfig) => {
8746
8747
  return eventGroups;
8747
8748
  };
8748
8749
  var service = (funcParams) => {
8750
+ eventGroups = {};
8751
+ if (pageData) {
8752
+ if (!lodash.exports.isEmpty(pageData) && typeof pageData === "object") {
8753
+ eventGroups = extractEvents(pageData == null ? void 0 : pageData.config);
8754
+ }
8755
+ }
8749
8756
  let executeEventsParameters = {
8750
8757
  config: {},
8751
8758
  componentName: "",
@@ -8761,7 +8768,6 @@ var service = (funcParams) => {
8761
8768
  setPage: async function() {
8762
8769
  var _a;
8763
8770
  funcParams.store.setFormdata({});
8764
- let pageData;
8765
8771
  const pageBasicDetailString = localStorage.getItem("pagemasterMetaData");
8766
8772
  if (pageBasicDetailString) {
8767
8773
  pageData = JSON.parse(pageBasicDetailString);