@myissue/vue-website-page-builder 3.2.49 → 3.2.50
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.50", 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");
|