@myissue/vue-website-page-builder 3.2.60 → 3.2.62

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.
@@ -1546,7 +1546,7 @@ class St {
1546
1546
  if (!this.pageBuilderStateStore.getConfigPageBuilder) return;
1547
1547
  e && t !== void 0 && this.setComponentsFromData(t);
1548
1548
  const o = this.areComponentsStoredInLocalStorage();
1549
- ((i = (n = this.pageBuilderStateStore.getConfigPageBuilder) == null ? void 0 : n.updateOrCreate) == null ? void 0 : i.formType) === "create" && o && this.setComponentsFromData(o), ((a = (s = this.pageBuilderStateStore.getConfigPageBuilder) == null ? void 0 : s.updateOrCreate) == null ? void 0 : a.formType) === "update" && t && this.setComponentsFromData(t);
1549
+ ((i = (n = this.pageBuilderStateStore.getConfigPageBuilder) == null ? void 0 : n.updateOrCreate) == null ? void 0 : i.formType) === "create" && (this.pageBuilderStateStore.setComponents([]), o && this.setComponentsFromData(o)), ((a = (s = this.pageBuilderStateStore.getConfigPageBuilder) == null ? void 0 : s.updateOrCreate) == null ? void 0 : a.formType) === "update" && t && this.setComponentsFromData(t);
1550
1550
  }
1551
1551
  async handlePageBuilderMethods() {
1552
1552
  await new Promise((t) => requestAnimationFrame(t)), this.handleHyperlink(void 0, null, !1), this.handleOpacity(void 0), this.handleBackgroundOpacity(void 0), this.showBasePrimaryImage(), this.handleBorderStyle(void 0), this.handleBorderWidth(void 0), this.handleBorderColor(void 0), this.handleBorderRadiusGlobal(void 0), this.handleBorderRadiusTopLeft(void 0), this.handleBorderRadiusTopRight(void 0), this.handleBorderRadiusBottomleft(void 0), this.handleBorderRadiusBottomRight(void 0), this.handleFontSize(void 0), this.handleFontWeight(void 0), this.handleFontFamily(void 0), this.handleFontStyle(void 0), this.handleVerticalPadding(void 0), this.handleHorizontalPadding(void 0), this.handleVerticalMargin(void 0), this.handleHorizontalMargin(void 0), this.handleBackgroundColor(void 0), this.handleTextColor(void 0), await this.currentClasses();
@@ -22975,7 +22975,7 @@ const v3 = ["src"], k3 = {
22975
22975
  }, zk = { class: "overflow-hidden shadow ring-1 ring-black ring-opacity-5 md:rounded-lg" }, Fk = { class: "overflow-x-auto" }, Hk = { class: "min-w-full" }, jk = { class: "bg-white divide-y divide-gray-200" }, Vk = { class: "px-6 py-4 whitespace-nowrap text-sm text-gray-500 min-w-64 max-w-64" }, Wk = { key: 0 }, qk = { key: 1 }, Uk = { key: 0 }, Kk = { class: "px-6 py-4 whitespace-nowrap text-sm text-gray-500 min-w-64 max-w-64" }, Gk = { class: "inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium" }, Jk = { class: "mt-4 mb-4 py-8 border-b border-myPrimbryLightGrayColor" }, Yk = { class: "mt-4 whitespace-pre-wrap text-white overflow-hidden bg-gray-900" }, Qk = { class: "px-4 pb-8 pt-4 text-white text-xs break-all" }, Xk = { class: "myPrimaryParagraph text-xs text-white" }, Zk = {
22976
22976
  __name: "PageBuilderSettings",
22977
22977
  setup(r) {
22978
- const t = "v3.2.60", e = bt;
22978
+ const t = "v3.2.62", e = bt;
22979
22979
  new St(e);
22980
22980
  const o = O(null), n = $(() => e.getConfigPageBuilder), i = $(() => e.getComponents), s = function(l, d) {
22981
22981
  const c = document.createElement("a");
@@ -23757,7 +23757,6 @@ const SS = {
23757
23757
  },
23758
23758
  { immediate: !0 }
23759
23759
  ), er(async () => {
23760
- o.setComponents(null);
23761
23760
  const k = s.value;
23762
23761
  _(k), n.updateLocalStorageItemName(), await n.clearHtmlSelection(), await n.setEventListenersForElements();
23763
23762
  }), (k, x) => (v(), C("div", SS, [