@myissue/vue-website-page-builder 3.2.49 → 3.2.51
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.
|
@@ -1116,17 +1116,11 @@ class St {
|
|
|
1116
1116
|
});
|
|
1117
1117
|
ht(this, "handleAutoSave", async () => {
|
|
1118
1118
|
const t = this.pageBuilderStateStore.getConfigPageBuilder;
|
|
1119
|
-
|
|
1120
|
-
if (typeof t.userSettings.autoSave == "boolean" && t.userSettings.autoSave !== !1)
|
|
1121
|
-
this.pageBuilderStateStore.setIsSaving(!0), await this.delay(200), await this.saveComponentsLocalStorage(), this.pageBuilderStateStore.setIsSaving(!1);
|
|
1122
|
-
else return;
|
|
1119
|
+
t && t.userSettings && typeof t.userSettings.autoSave == "boolean" && t.userSettings.autoSave !== !1 && (this.pageBuilderStateStore.setIsSaving(!0), await this.delay(200), await this.saveComponentsLocalStorage(), this.pageBuilderStateStore.setIsSaving(!1)), t.userSettings || (this.pageBuilderStateStore.setIsSaving(!0), await this.delay(200), await this.saveComponentsLocalStorage(), this.pageBuilderStateStore.setIsSaving(!1));
|
|
1123
1120
|
});
|
|
1124
1121
|
ht(this, "handleManualSave", async () => {
|
|
1125
1122
|
const t = this.pageBuilderStateStore.getConfigPageBuilder;
|
|
1126
|
-
|
|
1127
|
-
if (typeof t.userSettings.autoSave == "boolean" && !t.userSettings.autoSave || typeof t.userSettings.autoSave == "boolean" && t.userSettings.autoSave)
|
|
1128
|
-
this.pageBuilderStateStore.setIsSaving(!0), await this.delay(200), await this.saveComponentsLocalStorage(), this.pageBuilderStateStore.setIsSaving(!1);
|
|
1129
|
-
else return;
|
|
1123
|
+
t && t.userSettings && (typeof t.userSettings.autoSave == "boolean" && !t.userSettings.autoSave || typeof t.userSettings.autoSave == "boolean" && t.userSettings.autoSave) && (this.pageBuilderStateStore.setIsSaving(!0), await this.delay(200), await this.saveComponentsLocalStorage(), this.pageBuilderStateStore.setIsSaving(!1)), t.userSettings || (this.pageBuilderStateStore.setIsSaving(!0), await this.delay(200), await this.saveComponentsLocalStorage(), this.pageBuilderStateStore.setIsSaving(!1));
|
|
1130
1124
|
});
|
|
1131
1125
|
ht(this, "ensureTextAreaHasContent", () => {
|
|
1132
1126
|
if (!this.getElement.value || typeof this.getElement.value.innerHTML != "string")
|
|
@@ -22981,7 +22975,7 @@ const x3 = ["src"], v3 = {
|
|
|
22981
22975
|
}, _k = { class: "overflow-hidden shadow ring-1 ring-black ring-opacity-5 md:rounded-lg" }, zk = { class: "overflow-x-auto" }, Fk = { class: "min-w-full" }, Hk = { class: "bg-white divide-y divide-gray-200" }, jk = { class: "px-6 py-4 whitespace-nowrap text-sm text-gray-500" }, Vk = { key: 0 }, Wk = { key: 1 }, qk = { key: 0 }, Uk = { class: "px-6 py-4 whitespace-nowrap text-sm text-gray-500" }, Kk = { class: "inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium" }, Gk = { class: "mt-4 mb-4 py-8 border-b border-myPrimbryLightGrayColor" }, Jk = { class: "mt-4 whitespace-pre-wrap text-white overflow-hidden bg-gray-900" }, Yk = { class: "px-4 pb-8 pt-4 text-white text-xs break-all" }, Qk = { class: "myPrimaryParagraph text-xs text-white" }, Xk = {
|
|
22982
22976
|
__name: "PageBuilderSettings",
|
|
22983
22977
|
setup(r) {
|
|
22984
|
-
const t = "v3.2.
|
|
22978
|
+
const t = "v3.2.51", e = bt;
|
|
22985
22979
|
new St(e);
|
|
22986
22980
|
const o = O(null), n = $(() => e.getConfigPageBuilder), i = $(() => e.getComponents), s = function(l, d) {
|
|
22987
22981
|
const c = document.createElement("a");
|
|
@@ -23535,7 +23529,7 @@ const x3 = ["src"], v3 = {
|
|
|
23535
23529
|
}, pS = { class: "flex gap-2 items-center myPrimaryParagraph font-medium text-xs py-1 px-2 rounded-full lg:border lg:border-gray-200 lg:shadow-sm" }, uS = {
|
|
23536
23530
|
key: 0,
|
|
23537
23531
|
class: "flex items-center myPrimaryTag py-0"
|
|
23538
|
-
}, mS = { class: "text-white rounded-full bg-myPrimaryBrandColor flex justify-center items-center text-xs h-8 min-h-8 max-h-8 w-8 min-w-8 max-w-8" }, hS = { class: "hidden text-xs h-8 lg:flex items-center" }, gS = {
|
|
23532
|
+
}, mS = { class: "text-white rounded-full bg-myPrimaryBrandColor flex justify-center items-center text-xs h-8 min-h-8 max-h-8 w-8 min-w-8 max-w-8" }, hS = { class: "hidden text-xs h-8 lg:flex items-center font-normal" }, gS = {
|
|
23539
23533
|
key: 1,
|
|
23540
23534
|
class: "flex items-center lg:myPrimaryTag py-0 gap-4"
|
|
23541
23535
|
}, fS = { class: "text-white flex-shrink-0 h-8 w-8 rounded-full flex justify-center items-center text-xs rounded-l-full" }, bS = ["src"], yS = { class: "hidden text-xs h-8 lg:flex items-center" }, wS = {
|
|
@@ -23575,19 +23569,19 @@ const x3 = ["src"], v3 = {
|
|
|
23575
23569
|
u("div", yS, z(e.value.userForPageBuilder.name), 1)
|
|
23576
23570
|
])) : I("", !0),
|
|
23577
23571
|
u("button", {
|
|
23578
|
-
class: "cursor-pointer lg:block hidden myPrimaryTag",
|
|
23572
|
+
class: "cursor-pointer lg:block hidden myPrimaryTag font-normal",
|
|
23579
23573
|
type: "button",
|
|
23580
23574
|
onClick: B[0] || (B[0] = () => {
|
|
23581
23575
|
A(o).clearHtmlSelection(), E();
|
|
23582
23576
|
})
|
|
23583
23577
|
}, " Config Overview "),
|
|
23584
23578
|
u("button", {
|
|
23585
|
-
class: "cursor-pointer lg:block hidden myPrimaryTag",
|
|
23579
|
+
class: "cursor-pointer lg:block hidden myPrimaryTag font-normal",
|
|
23586
23580
|
type: "button",
|
|
23587
23581
|
onClick: T
|
|
23588
23582
|
}, " HTML Overview "),
|
|
23589
23583
|
u("button", {
|
|
23590
|
-
class: "cursor-pointer lg:block hidden myPrimaryTag bg-myPrimaryErrorColor text-white",
|
|
23584
|
+
class: "cursor-pointer lg:block hidden myPrimaryTag font-normal bg-myPrimaryErrorColor text-white",
|
|
23591
23585
|
type: "button",
|
|
23592
23586
|
onClick: B[1] || (B[1] = () => {
|
|
23593
23587
|
A(o).clearHtmlSelection(), f();
|