@myissue/vue-website-page-builder 3.2.71 → 3.2.72
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.
|
@@ -1160,28 +1160,13 @@ class Se {
|
|
|
1160
1160
|
const t = e.querySelector("[hovered]");
|
|
1161
1161
|
t && t.removeAttribute("hovered");
|
|
1162
1162
|
const o = [];
|
|
1163
|
-
|
|
1163
|
+
e.querySelectorAll("section[data-componentid]").forEach((n) => {
|
|
1164
1164
|
o.push({
|
|
1165
1165
|
html_code: n.outerHTML,
|
|
1166
1166
|
id: n.getAttribute("data-componentid"),
|
|
1167
1167
|
title: n.getAttribute("title") || n.getAttribute("data-componentid") || "Untitled Component"
|
|
1168
1168
|
});
|
|
1169
|
-
}), this.
|
|
1170
|
-
const n = {
|
|
1171
|
-
components: o,
|
|
1172
|
-
savedAt: (/* @__PURE__ */ new Date()).toISOString()
|
|
1173
|
-
};
|
|
1174
|
-
localStorage.setItem(this.getLocalStorageItemName.value, JSON.stringify(n));
|
|
1175
|
-
return;
|
|
1176
|
-
}
|
|
1177
|
-
if (typeof this.getLocalStorageItemName.value == "string" && this.getLocalStorageItemName.value) {
|
|
1178
|
-
const n = {
|
|
1179
|
-
components: o,
|
|
1180
|
-
savedAt: (/* @__PURE__ */ new Date()).toISOString()
|
|
1181
|
-
};
|
|
1182
|
-
localStorage.setItem(this.getLocalStorageItemName.value, JSON.stringify(n));
|
|
1183
|
-
}
|
|
1184
|
-
await new Promise((n) => n());
|
|
1169
|
+
}), this.getLocalStorageItemName.value && localStorage.setItem(this.getLocalStorageItemName.value, JSON.stringify(o)), await new Promise((n) => n());
|
|
1185
1170
|
});
|
|
1186
1171
|
this.nextTick = Ve(), this.containsPagebuilder = document.querySelector("#contains-pagebuilder"), this.pageBuilderStateStore = e, this.getTextAreaVueModel = $(() => this.pageBuilderStateStore.getTextAreaVueModel), this.getLocalStorageItemName = $(
|
|
1187
1172
|
() => this.pageBuilderStateStore.getLocalStorageItemName
|
|
@@ -23015,7 +23000,7 @@ const k3 = ["src"], S3 = {
|
|
|
23015
23000
|
}, Xk = { class: "overflow-hidden shadow ring-1 ring-black ring-opacity-5 md:rounded-lg" }, Zk = { class: "overflow-x-auto" }, e6 = { class: "w-max" }, t6 = { class: "bg-white divide-y divide-gray-200" }, r6 = { class: "px-6 py-4 whitespace-nowrap text-sm text-gray-500" }, o6 = { class: "min-w-[30rem] w-max" }, n6 = { key: 0 }, i6 = { key: 1 }, s6 = { key: 0 }, a6 = { class: "px-6 py-4 whitespace-nowrap text-sm text-gray-500" }, l6 = { class: "min-w-[30rem] w-max" }, d6 = { class: "inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium" }, c6 = { class: "mt-4 mb-4 py-8 border-b border-myPrimbryLightGrayColor" }, p6 = { class: "mt-4 whitespace-pre-wrap text-white overflow-hidden bg-gray-900" }, u6 = { class: "px-4 pb-8 pt-4 text-white text-xs break-all" }, m6 = { class: "myPrimaryParagraph text-xs text-white" }, h6 = {
|
|
23016
23001
|
__name: "PageBuilderSettings",
|
|
23017
23002
|
setup(r) {
|
|
23018
|
-
const e = "v3.2.
|
|
23003
|
+
const e = "v3.2.72", t = be;
|
|
23019
23004
|
new Se(t);
|
|
23020
23005
|
const o = O(null), n = $(() => t.getConfigPageBuilder), i = $(() => t.getComponents), s = function(l, d) {
|
|
23021
23006
|
const c = document.createElement("a");
|