@myissue/vue-website-page-builder 3.5.32 → 3.5.33
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.
|
@@ -31856,7 +31856,7 @@ function em(o) {
|
|
|
31856
31856
|
const r = (i = o == null ? void 0 : o.settings) == null ? void 0 : i.themeColorPresets;
|
|
31857
31857
|
kt.value = Xl(r ?? null), Rs(kt.value, e), Wi = !0;
|
|
31858
31858
|
}
|
|
31859
|
-
function
|
|
31859
|
+
function dce() {
|
|
31860
31860
|
typeof localStorage < "u" && localStorage.removeItem(Pa), Wi = !1, kt.value = Xl(null);
|
|
31861
31861
|
}
|
|
31862
31862
|
function Zl(o) {
|
|
@@ -36504,13 +36504,13 @@ const PQ = /* @__PURE__ */ mn(kQ, [["render", TQ]]), MQ = ["srcdoc"], Gp = 280,
|
|
|
36504
36504
|
_: 1
|
|
36505
36505
|
}));
|
|
36506
36506
|
}
|
|
36507
|
-
}), $ee = ["disabled"], _ee = {
|
|
36508
|
-
class: "
|
|
36507
|
+
}), $ee = ["disabled"], _ee = { class: "pbx-pageDesignOpenButtonIcon" }, Bee = {
|
|
36508
|
+
class: "material-symbols-outlined",
|
|
36509
36509
|
"aria-hidden": "true"
|
|
36510
|
-
},
|
|
36510
|
+
}, Iee = { key: 0 }, Hee = {
|
|
36511
36511
|
key: 1,
|
|
36512
36512
|
class: "pbx-inline-block pbx-animate-spin"
|
|
36513
|
-
},
|
|
36513
|
+
}, Dee = { class: "pbx-pageDesignOpenButtonText" }, Ree = { class: "pbx-pageDesignOpenButtonLabel" }, zee = { class: "pbx-pageDesignOpenButtonHint" }, rr = /* @__PURE__ */ ie({
|
|
36514
36514
|
__name: "HtmlActionButton",
|
|
36515
36515
|
props: {
|
|
36516
36516
|
icon: {},
|
|
@@ -36527,12 +36527,14 @@ const PQ = /* @__PURE__ */ mn(kQ, [["render", TQ]]), MQ = ["srcdoc"], Gp = 280,
|
|
|
36527
36527
|
onClick: t[0] || (t[0] = (r) => e.$emit("click"))
|
|
36528
36528
|
}, [
|
|
36529
36529
|
d("span", _ee, [
|
|
36530
|
-
|
|
36531
|
-
|
|
36530
|
+
d("span", Bee, [
|
|
36531
|
+
o.isLoading ? A("", !0) : (y(), w("span", Iee, f(o.icon), 1)),
|
|
36532
|
+
o.isLoading ? (y(), w("span", Hee, "refresh")) : A("", !0)
|
|
36533
|
+
])
|
|
36532
36534
|
]),
|
|
36533
|
-
d("span",
|
|
36534
|
-
d("span",
|
|
36535
|
-
d("span",
|
|
36535
|
+
d("span", Dee, [
|
|
36536
|
+
d("span", Ree, f(o.label), 1),
|
|
36537
|
+
d("span", zee, f(o.hint), 1)
|
|
36536
36538
|
]),
|
|
36537
36539
|
t[1] || (t[1] = d("span", {
|
|
36538
36540
|
class: "pbx-pageDesignOpenButtonArrow material-symbols-outlined",
|
|
@@ -36583,7 +36585,7 @@ function lR(o, e = !1) {
|
|
|
36583
36585
|
}
|
|
36584
36586
|
return o.endsWith("/>") || nm.some((t) => o.startsWith(`<${t}`));
|
|
36585
36587
|
}
|
|
36586
|
-
function
|
|
36588
|
+
function Oee(o) {
|
|
36587
36589
|
if (!o) return "";
|
|
36588
36590
|
const e = sR(o), t = " ";
|
|
36589
36591
|
let r = 0, i = "";
|
|
@@ -36597,7 +36599,7 @@ function zee(o) {
|
|
|
36597
36599
|
`, l && !p && !lR(s) && r++;
|
|
36598
36600
|
}), i.trimEnd();
|
|
36599
36601
|
}
|
|
36600
|
-
function
|
|
36602
|
+
function Nee(o) {
|
|
36601
36603
|
const e = o.match(/^<(\/?)([\w-]+)(.*?)(\/?)>$/);
|
|
36602
36604
|
if (!e) return o;
|
|
36603
36605
|
const [, t, r, i, n] = e, a = t === "/", s = i.trim(), l = a ? `<span class="html-tag-symbol"></</span><span class="html-tag-name">${r}</span>` : `<span class="html-tag-symbol"><</span><span class="html-tag-name">${r}</span>`, p = s.replace(
|
|
@@ -36606,7 +36608,7 @@ function Oee(o) {
|
|
|
36606
36608
|
), c = n ? '<span class="html-tag-symbol"> /></span>' : '<span class="html-tag-symbol">></span>';
|
|
36607
36609
|
return p ? `${l} ${p}${c}` : `${l}${c}`;
|
|
36608
36610
|
}
|
|
36609
|
-
function
|
|
36611
|
+
function Fee(o) {
|
|
36610
36612
|
if (!o) return "";
|
|
36611
36613
|
const e = sR(o), t = " ";
|
|
36612
36614
|
let r = 0, i = "";
|
|
@@ -36621,7 +36623,7 @@ function Nee(o) {
|
|
|
36621
36623
|
`;
|
|
36622
36624
|
return;
|
|
36623
36625
|
}
|
|
36624
|
-
i += u +
|
|
36626
|
+
i += u + Nee(l) + `
|
|
36625
36627
|
`, !c && !lR(l, !0) && r++;
|
|
36626
36628
|
}), i.trimEnd();
|
|
36627
36629
|
}
|
|
@@ -36633,7 +36635,7 @@ function Ze(o = 200) {
|
|
|
36633
36635
|
const fs = S(!1), am = S(""), ys = S(""), Yp = S("element"), Di = S(!1), Mn = S(null);
|
|
36634
36636
|
function tp() {
|
|
36635
36637
|
function o(r, i, n = "element") {
|
|
36636
|
-
am.value = r, ys.value =
|
|
36638
|
+
am.value = r, ys.value = Oee(i), Yp.value = n, Mn.value = null, Di.value = !1, fs.value = !0;
|
|
36637
36639
|
}
|
|
36638
36640
|
function e() {
|
|
36639
36641
|
fs.value = !1, Mn.value = null, Di.value = !1;
|
|
@@ -36660,7 +36662,7 @@ function tp() {
|
|
|
36660
36662
|
saveHtmlEditor: t
|
|
36661
36663
|
};
|
|
36662
36664
|
}
|
|
36663
|
-
const
|
|
36665
|
+
const jee = { class: "pbx-editorSectionDesc" }, Vee = { class: "pbx-inspectorActionStack" }, qee = /* @__PURE__ */ ie({
|
|
36664
36666
|
name: "ElementHtmlEditorSettingsEditor",
|
|
36665
36667
|
__name: "ElementHtmlEditorSettingsEditor",
|
|
36666
36668
|
setup(o) {
|
|
@@ -36674,8 +36676,8 @@ const Fee = { class: "pbx-editorSectionDesc" }, jee = { class: "pbx-inspectorAct
|
|
|
36674
36676
|
ze(f(g(e)("Element HTML")), 1)
|
|
36675
36677
|
]),
|
|
36676
36678
|
content: q(() => [
|
|
36677
|
-
d("p",
|
|
36678
|
-
d("div",
|
|
36679
|
+
d("p", jee, f(g(e)("Element HTML editor description")), 1),
|
|
36680
|
+
d("div", Vee, [
|
|
36679
36681
|
R(rr, {
|
|
36680
36682
|
icon: "visibility",
|
|
36681
36683
|
label: g(e)("View element HTML"),
|
|
@@ -36694,13 +36696,13 @@ const Fee = { class: "pbx-editorSectionDesc" }, jee = { class: "pbx-inspectorAct
|
|
|
36694
36696
|
}));
|
|
36695
36697
|
}
|
|
36696
36698
|
});
|
|
36697
|
-
function
|
|
36699
|
+
function Uee(o) {
|
|
36698
36700
|
return new Promise((e, t) => {
|
|
36699
36701
|
const r = new window.Image();
|
|
36700
36702
|
r.onload = e, r.onerror = t, r.src = o;
|
|
36701
36703
|
});
|
|
36702
36704
|
}
|
|
36703
|
-
const
|
|
36705
|
+
const Wee = { class: "pbx-editorFieldGroup" }, Gee = { class: "pbx-editorFieldGroup" }, Kee = ["src"], Jee = { class: "pbx-editorFieldGroup pbx-rounded-lg pbx-border pbx-border-solid pbx-border-gray-200 pbx-bg-gray-50 pbx-px-4 pbx-py-8 pbx-text-center" }, Yee = { class: "pbx-editorSectionDesc pbx-mb-0" }, Qee = /* @__PURE__ */ ie({
|
|
36704
36706
|
__name: "ImageEditor",
|
|
36705
36707
|
setup(o) {
|
|
36706
36708
|
const { translate: e } = Se(), t = Ne, r = ir("CustomMediaComponent", null), i = S(null), n = S(!1), a = S(!1), s = S(""), l = S(""), p = S(""), c = S(null), u = S(null), b = S(null), m = L(() => (t.getBasePrimaryImage && C(t.getBasePrimaryImage), t.getBasePrimaryImage));
|
|
@@ -36732,7 +36734,7 @@ const Uee = { class: "pbx-editorFieldGroup" }, Wee = { class: "pbx-editorFieldGr
|
|
|
36732
36734
|
a.value = !1;
|
|
36733
36735
|
};
|
|
36734
36736
|
}, C = async function(P) {
|
|
36735
|
-
n.value = !0, P && typeof P == "string" && P.length > 2 && (await
|
|
36737
|
+
n.value = !0, P && typeof P == "string" && P.length > 2 && (await Uee(P), await Ze(200), n.value = !1);
|
|
36736
36738
|
};
|
|
36737
36739
|
return (P, k) => (y(), w(oe, null, [
|
|
36738
36740
|
R(tt, {
|
|
@@ -36743,7 +36745,7 @@ const Uee = { class: "pbx-editorFieldGroup" }, Wee = { class: "pbx-editorFieldGr
|
|
|
36743
36745
|
ze(f(g(e)("Image")), 1)
|
|
36744
36746
|
]),
|
|
36745
36747
|
content: q(() => [
|
|
36746
|
-
$e(d("div",
|
|
36748
|
+
$e(d("div", Wee, [...k[1] || (k[1] = [
|
|
36747
36749
|
d("div", { class: "pbx-flex pbx-min-h-40 pbx-items-center pbx-justify-center" }, [
|
|
36748
36750
|
d("div", { class: "pbx-inline-block pbx-h-8 pbx-w-8 pbx-animate-spin pbx-rounded-full pbx-border-4 pbx-border-solid pbx-border-current pbx-border-r-transparent pbx-align-[-0.125em] motion-reduce:pbx-animate-[spin_1.5s_linear_infinite]" }, [
|
|
36749
36751
|
d("span", { class: "!pbx-absolute !pbx-m-px !pbx-h-px !pbx-w-px !pbx-overflow-hidden !pbx-whitespace-nowrap !pbx-border-0 !pbx-p-0 !pbx-[clip:rect(0,0,0,0)]" }, "Loading...")
|
|
@@ -36752,18 +36754,18 @@ const Uee = { class: "pbx-editorFieldGroup" }, Wee = { class: "pbx-editorFieldGr
|
|
|
36752
36754
|
])], 512), [
|
|
36753
36755
|
[$r, n.value]
|
|
36754
36756
|
]),
|
|
36755
|
-
$e(d("div",
|
|
36757
|
+
$e(d("div", Gee, [
|
|
36756
36758
|
d("img", {
|
|
36757
36759
|
class: "pbx-w-full pbx-cursor-pointer pbx-rounded-lg pbx-object-cover pbx-object-center",
|
|
36758
36760
|
src: m.value ?? void 0,
|
|
36759
36761
|
onClick: v,
|
|
36760
36762
|
alt: "image"
|
|
36761
|
-
}, null, 8,
|
|
36763
|
+
}, null, 8, Kee)
|
|
36762
36764
|
], 512), [
|
|
36763
36765
|
[$r, m.value && !n.value]
|
|
36764
36766
|
]),
|
|
36765
|
-
$e(d("div",
|
|
36766
|
-
d("p",
|
|
36767
|
+
$e(d("div", Jee, [
|
|
36768
|
+
d("p", Yee, f(g(e)("No image has been selected.")), 1)
|
|
36767
36769
|
], 512), [
|
|
36768
36770
|
[$r, !n.value && !m.value]
|
|
36769
36771
|
])
|
|
@@ -36822,13 +36824,13 @@ const Uee = { class: "pbx-editorFieldGroup" }, Wee = { class: "pbx-editorFieldGr
|
|
|
36822
36824
|
"pbx-bg-opacity-95",
|
|
36823
36825
|
"pbx-bg-opacity-100"
|
|
36824
36826
|
]
|
|
36825
|
-
},
|
|
36827
|
+
}, Xee = { class: "pbx-editorFieldGroup" }, Zee = { class: "pbx-relative" }, ete = { class: "pbx-flex pbx-items-center pbx-gap-2" }, tte = { key: 0 }, ote = { class: "pbx-flex pbx-items-center" }, rte = { key: 0 }, ite = {
|
|
36826
36828
|
key: 2,
|
|
36827
36829
|
class: "pbx-ml-3"
|
|
36828
|
-
},
|
|
36830
|
+
}, nte = {
|
|
36829
36831
|
key: 3,
|
|
36830
36832
|
class: "pbx-ml-3"
|
|
36831
|
-
},
|
|
36833
|
+
}, ate = /* @__PURE__ */ ie({
|
|
36832
36834
|
__name: "BackgroundOpacityControl",
|
|
36833
36835
|
setup(o) {
|
|
36834
36836
|
const e = Fe(), { translate: t } = Se(), r = Ne, i = S(null), n = L(() => r.getBackgroundOpacity);
|
|
@@ -36838,21 +36840,21 @@ const Uee = { class: "pbx-editorFieldGroup" }, Wee = { class: "pbx-editorFieldGr
|
|
|
36838
36840
|
i.value = a, await e.initializeElementStyles();
|
|
36839
36841
|
},
|
|
36840
36842
|
{ immediate: !0 }
|
|
36841
|
-
), (a, s) => (y(), w("div",
|
|
36843
|
+
), (a, s) => (y(), w("div", Xee, [
|
|
36842
36844
|
R(g(Ba), {
|
|
36843
36845
|
as: "div",
|
|
36844
36846
|
modelValue: i.value,
|
|
36845
36847
|
"onUpdate:modelValue": s[0] || (s[0] = (l) => i.value = l)
|
|
36846
36848
|
}, {
|
|
36847
36849
|
default: q(() => [
|
|
36848
|
-
d("div",
|
|
36850
|
+
d("div", Zee, [
|
|
36849
36851
|
R(g(Ia), {
|
|
36850
36852
|
class: "pbx-myPrimarySelect",
|
|
36851
36853
|
id: "bg-opacity"
|
|
36852
36854
|
}, {
|
|
36853
36855
|
default: q(() => [
|
|
36854
|
-
d("span",
|
|
36855
|
-
i.value === "none" ? (y(), w("div",
|
|
36856
|
+
d("span", ete, [
|
|
36857
|
+
i.value === "none" ? (y(), w("div", tte, [...s[1] || (s[1] = [
|
|
36856
36858
|
d("div", { class: "pbx-myPrimaryColorPreview pbx-border-none" }, [
|
|
36857
36859
|
d("span", { class: "material-symbols-outlined" }, " ev_shadow ")
|
|
36858
36860
|
], -1)
|
|
@@ -36889,8 +36891,8 @@ const Uee = { class: "pbx-editorFieldGroup" }, Wee = { class: "pbx-editorFieldGr
|
|
|
36889
36891
|
"pbx-relative pbx-cursor-default pbx-select-none pbx-py-2 pbx-pl-3 pbx-pr-9"
|
|
36890
36892
|
])
|
|
36891
36893
|
}, [
|
|
36892
|
-
d("div",
|
|
36893
|
-
l === "none" ? (y(), w("div",
|
|
36894
|
+
d("div", ote, [
|
|
36895
|
+
l === "none" ? (y(), w("div", rte, [...s[2] || (s[2] = [
|
|
36894
36896
|
d("div", { class: "pbx-myPrimaryColorPreview pbx-border-none" }, [
|
|
36895
36897
|
d("span", { class: "material-symbols-outlined" }, " ev_shadow ")
|
|
36896
36898
|
], -1)
|
|
@@ -36899,8 +36901,8 @@ const Uee = { class: "pbx-editorFieldGroup" }, Wee = { class: "pbx-editorFieldGr
|
|
|
36899
36901
|
key: 1,
|
|
36900
36902
|
class: O(["pbx-aspect-square pbx-w-6 pbx-h-6 pbx-bg-gray-950", `${l}`])
|
|
36901
36903
|
}, null, 2)) : A("", !0),
|
|
36902
|
-
l === "none" ? (y(), w("span",
|
|
36903
|
-
l !== "none" ? (y(), w("span",
|
|
36904
|
+
l === "none" ? (y(), w("span", ite, f(g(t)("Transparent")), 1)) : A("", !0),
|
|
36905
|
+
l !== "none" ? (y(), w("span", nte, f(l), 1)) : A("", !0)
|
|
36904
36906
|
])
|
|
36905
36907
|
], 2)
|
|
36906
36908
|
]),
|
|
@@ -36918,13 +36920,13 @@ const Uee = { class: "pbx-editorFieldGroup" }, Wee = { class: "pbx-editorFieldGr
|
|
|
36918
36920
|
}, 8, ["modelValue"])
|
|
36919
36921
|
]));
|
|
36920
36922
|
}
|
|
36921
|
-
}),
|
|
36923
|
+
}), ste = { class: "pbx-editorFieldGroup" }, lte = { class: "pbx-relative" }, pte = { class: "pbx-flex pbx-items-center pbx-gap-2" }, dte = { key: 0 }, cte = { class: "pbx-flex pbx-items-center" }, ute = { key: 0 }, bte = {
|
|
36922
36924
|
key: 2,
|
|
36923
36925
|
class: "pbx-ml-3"
|
|
36924
|
-
},
|
|
36926
|
+
}, mte = {
|
|
36925
36927
|
key: 3,
|
|
36926
36928
|
class: "pbx-ml-3"
|
|
36927
|
-
},
|
|
36929
|
+
}, gte = /* @__PURE__ */ ie({
|
|
36928
36930
|
__name: "OpacityControl",
|
|
36929
36931
|
setup(o) {
|
|
36930
36932
|
const e = Fe(), { translate: t } = Se(), r = Ne, i = S(null), n = L(() => r.getOpacity);
|
|
@@ -36934,21 +36936,21 @@ const Uee = { class: "pbx-editorFieldGroup" }, Wee = { class: "pbx-editorFieldGr
|
|
|
36934
36936
|
i.value = a, await e.initializeElementStyles();
|
|
36935
36937
|
},
|
|
36936
36938
|
{ immediate: !0 }
|
|
36937
|
-
), (a, s) => (y(), w("div",
|
|
36939
|
+
), (a, s) => (y(), w("div", ste, [
|
|
36938
36940
|
R(g(Ba), {
|
|
36939
36941
|
as: "div",
|
|
36940
36942
|
modelValue: i.value,
|
|
36941
36943
|
"onUpdate:modelValue": s[0] || (s[0] = (l) => i.value = l)
|
|
36942
36944
|
}, {
|
|
36943
36945
|
default: q(() => [
|
|
36944
|
-
d("div",
|
|
36946
|
+
d("div", lte, [
|
|
36945
36947
|
R(g(Ia), {
|
|
36946
36948
|
class: "pbx-myPrimarySelect",
|
|
36947
36949
|
id: "default-opacity"
|
|
36948
36950
|
}, {
|
|
36949
36951
|
default: q(() => [
|
|
36950
|
-
d("span",
|
|
36951
|
-
i.value === "none" ? (y(), w("div",
|
|
36952
|
+
d("span", pte, [
|
|
36953
|
+
i.value === "none" ? (y(), w("div", dte, [...s[1] || (s[1] = [
|
|
36952
36954
|
d("div", { class: "pbx-myPrimaryColorPreview pbx-border-none" }, [
|
|
36953
36955
|
d("span", { class: "material-symbols-outlined" }, " ev_shadow ")
|
|
36954
36956
|
], -1)
|
|
@@ -36985,8 +36987,8 @@ const Uee = { class: "pbx-editorFieldGroup" }, Wee = { class: "pbx-editorFieldGr
|
|
|
36985
36987
|
"pbx-relative pbx-cursor-default pbx-select-none pbx-py-2 pbx-pl-3 pbx-pr-9"
|
|
36986
36988
|
])
|
|
36987
36989
|
}, [
|
|
36988
|
-
d("div",
|
|
36989
|
-
l === "none" ? (y(), w("div",
|
|
36990
|
+
d("div", cte, [
|
|
36991
|
+
l === "none" ? (y(), w("div", ute, [...s[2] || (s[2] = [
|
|
36990
36992
|
d("div", { class: "pbx-myPrimaryColorPreview pbx-border-none" }, [
|
|
36991
36993
|
d("span", { class: "material-symbols-outlined" }, " ev_shadow ")
|
|
36992
36994
|
], -1)
|
|
@@ -36995,8 +36997,8 @@ const Uee = { class: "pbx-editorFieldGroup" }, Wee = { class: "pbx-editorFieldGr
|
|
|
36995
36997
|
key: 1,
|
|
36996
36998
|
class: O(["pbx-aspect-square pbx-w-6 pbx-h-6 pbx-bg-gray-950", `${l}`])
|
|
36997
36999
|
}, null, 2)) : A("", !0),
|
|
36998
|
-
l === "none" ? (y(), w("span",
|
|
36999
|
-
l !== "none" ? (y(), w("span",
|
|
37000
|
+
l === "none" ? (y(), w("span", bte, f(g(t)("Transparent")), 1)) : A("", !0),
|
|
37001
|
+
l !== "none" ? (y(), w("span", mte, f(l), 1)) : A("", !0)
|
|
37000
37002
|
])
|
|
37001
37003
|
], 2)
|
|
37002
37004
|
]),
|
|
@@ -37014,7 +37016,7 @@ const Uee = { class: "pbx-editorFieldGroup" }, Wee = { class: "pbx-editorFieldGr
|
|
|
37014
37016
|
}, 8, ["modelValue"])
|
|
37015
37017
|
]));
|
|
37016
37018
|
}
|
|
37017
|
-
}),
|
|
37019
|
+
}), xte = { class: "pbx-editorSectionTitle" }, hte = { class: "pbx-editorSectionTitle" }, fte = /* @__PURE__ */ ie({
|
|
37018
37020
|
__name: "OpacityEditor",
|
|
37019
37021
|
setup(o) {
|
|
37020
37022
|
const { translate: e } = Se();
|
|
@@ -37023,16 +37025,16 @@ const Uee = { class: "pbx-editorFieldGroup" }, Wee = { class: "pbx-editorFieldGr
|
|
|
37023
37025
|
ze(f(g(e)("Opacity & Transparency")), 1)
|
|
37024
37026
|
]),
|
|
37025
37027
|
content: q(() => [
|
|
37026
|
-
d("p",
|
|
37027
|
-
R(
|
|
37028
|
+
d("p", xte, f(g(e)("Opacity")), 1),
|
|
37029
|
+
R(gte),
|
|
37028
37030
|
r[0] || (r[0] = d("hr", null, null, -1)),
|
|
37029
|
-
d("p",
|
|
37030
|
-
R(
|
|
37031
|
+
d("p", hte, f(g(e)("Background Opacity")), 1),
|
|
37032
|
+
R(ate)
|
|
37031
37033
|
]),
|
|
37032
37034
|
_: 1
|
|
37033
37035
|
}));
|
|
37034
37036
|
}
|
|
37035
|
-
}),
|
|
37037
|
+
}), yte = {
|
|
37036
37038
|
key: 0,
|
|
37037
37039
|
class: "pbx-text-[9px] pbx-font-medium pbx-uppercase pbx-tracking-wide pbx-text-gray-400 pbx-leading-none"
|
|
37038
37040
|
}, Ri = /* @__PURE__ */ ie({
|
|
@@ -37057,7 +37059,7 @@ const Uee = { class: "pbx-editorFieldGroup" }, Wee = { class: "pbx-editorFieldGr
|
|
|
37057
37059
|
d("div", {
|
|
37058
37060
|
class: O(["pbx-flex pbx-flex-col pbx-items-center pbx-justify-center", o.sideLabel ? "pbx-min-w-[2.75rem]" : "pbx-min-w-[2.25rem]"])
|
|
37059
37061
|
}, [
|
|
37060
|
-
o.sideLabel ? (y(), w("span",
|
|
37062
|
+
o.sideLabel ? (y(), w("span", yte, f(o.sideLabel), 1)) : A("", !0),
|
|
37061
37063
|
d("span", {
|
|
37062
37064
|
class: O(["pbx-font-semibold pbx-tabular-nums pbx-text-gray-800", o.sideLabel ? "pbx-text-xs" : "pbx-text-sm"])
|
|
37063
37065
|
}, f(o.value), 3)
|
|
@@ -37516,10 +37518,10 @@ const Uee = { class: "pbx-editorFieldGroup" }, Wee = { class: "pbx-editorFieldGr
|
|
|
37516
37518
|
"pbx-ml-80",
|
|
37517
37519
|
"pbx-ml-96"
|
|
37518
37520
|
]
|
|
37519
|
-
},
|
|
37521
|
+
}, vte = { class: "pbx-editorSectionTitle" }, wte = { class: "pbx-editorSectionDesc" }, Ste = { class: "pbx-mb-4 pbx-space-y-2 pbx-rounded-xl pbx-border pbx-border-solid pbx-border-gray-200 pbx-bg-white pbx-p-3" }, kte = { class: "pbx-flex pbx-items-center pbx-justify-between pbx-gap-3" }, Cte = { class: "pbx-text-xs pbx-font-medium pbx-text-gray-500" }, Tte = { class: "pbx-flex pbx-items-center pbx-justify-between pbx-gap-3" }, Pte = { class: "pbx-text-xs pbx-font-medium pbx-text-gray-500" }, Mte = { class: "pbx-editorSectionTitle" }, Lte = { class: "pbx-flex pbx-flex-col pbx-items-center pbx-justify-center" }, Ete = { class: "pbx-mb-3 pbx-flex pbx-justify-center" }, Ate = {
|
|
37520
37522
|
class: "pbx-items-center pbx-gap-2",
|
|
37521
37523
|
style: { display: "grid", "grid-template-columns": "auto 1fr auto" }
|
|
37522
|
-
},
|
|
37524
|
+
}, $te = { class: "pbx-flex pbx-h-10 pbx-items-center pbx-justify-center pbx-rounded-lg pbx-border pbx-border-solid pbx-border-gray-200/80 pbx-bg-white pbx-shadow-sm" }, _te = { class: "pbx-select-none pbx-text-[10px] pbx-font-medium pbx-text-gray-400" }, Bte = { class: "pbx-mt-3 pbx-flex pbx-justify-center" }, pR = /* @__PURE__ */ ie({
|
|
37523
37525
|
__name: "SpacingControl",
|
|
37524
37526
|
props: {
|
|
37525
37527
|
mode: {}
|
|
@@ -37627,11 +37629,11 @@ const Uee = { class: "pbx-editorFieldGroup" }, Wee = { class: "pbx-editorFieldGr
|
|
|
37627
37629
|
ze(f(g(t)(n.value ? "Padding" : "Margin")), 1)
|
|
37628
37630
|
]),
|
|
37629
37631
|
content: q(() => [
|
|
37630
|
-
d("p",
|
|
37631
|
-
d("p",
|
|
37632
|
-
d("div",
|
|
37633
|
-
d("div",
|
|
37634
|
-
d("span",
|
|
37632
|
+
d("p", vte, f(g(t)("All sides")), 1),
|
|
37633
|
+
d("p", wte, f(g(t)("Applies across all screen sizes")), 1),
|
|
37634
|
+
d("div", Ste, [
|
|
37635
|
+
d("div", kte, [
|
|
37636
|
+
d("span", Cte, f(g(t)("Vertical")), 1),
|
|
37635
37637
|
R(Ri, {
|
|
37636
37638
|
value: B(l.value),
|
|
37637
37639
|
onDecrement: Q[0] || (Q[0] = (be) => T(-1)),
|
|
@@ -37639,8 +37641,8 @@ const Uee = { class: "pbx-editorFieldGroup" }, Wee = { class: "pbx-editorFieldGr
|
|
|
37639
37641
|
}, null, 8, ["value"])
|
|
37640
37642
|
]),
|
|
37641
37643
|
Q[12] || (Q[12] = d("div", { class: "pbx-h-px pbx-bg-gray-100" }, null, -1)),
|
|
37642
|
-
d("div",
|
|
37643
|
-
d("span",
|
|
37644
|
+
d("div", Tte, [
|
|
37645
|
+
d("span", Pte, f(g(t)("Horizontal")), 1),
|
|
37644
37646
|
R(Ri, {
|
|
37645
37647
|
value: B(p.value),
|
|
37646
37648
|
onDecrement: Q[2] || (Q[2] = (be) => _(-1)),
|
|
@@ -37649,12 +37651,12 @@ const Uee = { class: "pbx-editorFieldGroup" }, Wee = { class: "pbx-editorFieldGr
|
|
|
37649
37651
|
])
|
|
37650
37652
|
]),
|
|
37651
37653
|
Q[13] || (Q[13] = d("hr", null, null, -1)),
|
|
37652
|
-
d("div",
|
|
37654
|
+
d("div", Mte, f(g(t)(n.value ? "Padding" : "Margin")), 1),
|
|
37653
37655
|
d("div", {
|
|
37654
37656
|
class: O(["pbx-relative pbx-rounded-full pbx-border pbx-border-solid pbx-p-8 pbx-pt-8 pbx-flex pbx-items-center pbx-justify-center", [a.value, s.value]])
|
|
37655
37657
|
}, [
|
|
37656
|
-
d("div",
|
|
37657
|
-
d("div",
|
|
37658
|
+
d("div", Lte, [
|
|
37659
|
+
d("div", Ete, [
|
|
37658
37660
|
R(Ri, {
|
|
37659
37661
|
value: E(),
|
|
37660
37662
|
"side-label": g(t)("top"),
|
|
@@ -37662,7 +37664,7 @@ const Uee = { class: "pbx-editorFieldGroup" }, Wee = { class: "pbx-editorFieldGr
|
|
|
37662
37664
|
onIncrement: Q[5] || (Q[5] = (be) => J(1))
|
|
37663
37665
|
}, null, 8, ["value", "side-label"])
|
|
37664
37666
|
]),
|
|
37665
|
-
d("div",
|
|
37667
|
+
d("div", Ate, [
|
|
37666
37668
|
R(Ri, {
|
|
37667
37669
|
value: M(),
|
|
37668
37670
|
"side-label": g(t)("left"),
|
|
@@ -37670,8 +37672,8 @@ const Uee = { class: "pbx-editorFieldGroup" }, Wee = { class: "pbx-editorFieldGr
|
|
|
37670
37672
|
onDecrement: Q[6] || (Q[6] = (be) => j(-1)),
|
|
37671
37673
|
onIncrement: Q[7] || (Q[7] = (be) => j(1))
|
|
37672
37674
|
}, null, 8, ["value", "side-label"]),
|
|
37673
|
-
d("div",
|
|
37674
|
-
d("span",
|
|
37675
|
+
d("div", $te, [
|
|
37676
|
+
d("span", _te, f(g(t)("element")), 1)
|
|
37675
37677
|
]),
|
|
37676
37678
|
R(Ri, {
|
|
37677
37679
|
value: I(),
|
|
@@ -37681,7 +37683,7 @@ const Uee = { class: "pbx-editorFieldGroup" }, Wee = { class: "pbx-editorFieldGr
|
|
|
37681
37683
|
onIncrement: Q[9] || (Q[9] = (be) => F(1))
|
|
37682
37684
|
}, null, 8, ["value", "side-label"])
|
|
37683
37685
|
]),
|
|
37684
|
-
d("div",
|
|
37686
|
+
d("div", Bte, [
|
|
37685
37687
|
R(Ri, {
|
|
37686
37688
|
value: H(),
|
|
37687
37689
|
"side-label": g(t)("bottom"),
|
|
@@ -37761,34 +37763,34 @@ const Uee = { class: "pbx-editorFieldGroup" }, Wee = { class: "pbx-editorFieldGr
|
|
|
37761
37763
|
"pbx-rounded-br-3xl",
|
|
37762
37764
|
"pbx-rounded-br-full"
|
|
37763
37765
|
]
|
|
37764
|
-
},
|
|
37766
|
+
}, Ite = { class: "pbx-editorSectionTitle" }, Hte = { class: "pbx-editorFieldGroup" }, Dte = {
|
|
37765
37767
|
for: "global-border-radius",
|
|
37766
37768
|
class: "pbx-myPrimaryInputLabel"
|
|
37767
|
-
},
|
|
37769
|
+
}, Rte = {
|
|
37768
37770
|
disabled: "",
|
|
37769
37771
|
value: ""
|
|
37770
|
-
},
|
|
37772
|
+
}, zte = { class: "pbx-editorSectionTitle" }, Ote = { class: "pbx-editorFieldGroup" }, Nte = {
|
|
37771
37773
|
for: "border-radius-top-left",
|
|
37772
37774
|
class: "pbx-myPrimaryInputLabel"
|
|
37773
|
-
},
|
|
37775
|
+
}, Fte = {
|
|
37774
37776
|
disabled: "",
|
|
37775
37777
|
value: ""
|
|
37776
|
-
},
|
|
37778
|
+
}, jte = { class: "pbx-editorFieldGroup" }, Vte = {
|
|
37777
37779
|
for: "border-radius-top-right",
|
|
37778
37780
|
class: "pbx-myPrimaryInputLabel"
|
|
37779
|
-
},
|
|
37781
|
+
}, qte = {
|
|
37780
37782
|
disabled: "",
|
|
37781
37783
|
value: ""
|
|
37782
|
-
},
|
|
37784
|
+
}, Ute = { class: "pbx-editorFieldGroup" }, Wte = {
|
|
37783
37785
|
for: "border-radius-bottom-left",
|
|
37784
37786
|
class: "pbx-myPrimaryInputLabel"
|
|
37785
|
-
},
|
|
37787
|
+
}, Gte = {
|
|
37786
37788
|
disabled: "",
|
|
37787
37789
|
value: ""
|
|
37788
|
-
},
|
|
37790
|
+
}, Kte = { class: "pbx-editorFieldGroup" }, Jte = {
|
|
37789
37791
|
for: "border-radius-bottom-right",
|
|
37790
37792
|
class: "pbx-myPrimaryInputLabel"
|
|
37791
|
-
},
|
|
37793
|
+
}, Yte = {
|
|
37792
37794
|
disabled: "",
|
|
37793
37795
|
value: ""
|
|
37794
37796
|
}, uR = /* @__PURE__ */ ie({
|
|
@@ -37830,77 +37832,77 @@ const Uee = { class: "pbx-editorFieldGroup" }, Wee = { class: "pbx-editorFieldGr
|
|
|
37830
37832
|
ze(f(g(e)("Border Radius")), 1)
|
|
37831
37833
|
]),
|
|
37832
37834
|
content: q(() => [
|
|
37833
|
-
d("p",
|
|
37834
|
-
d("div",
|
|
37835
|
-
d("label",
|
|
37835
|
+
d("p", Ite, f(g(e)("Global")), 1),
|
|
37836
|
+
d("div", Hte, [
|
|
37837
|
+
d("label", Dte, f(g(e)("Border Radius")), 1),
|
|
37836
37838
|
$e(d("select", {
|
|
37837
37839
|
id: "global-border-radius",
|
|
37838
37840
|
"onUpdate:modelValue": x[0] || (x[0] = (v) => i.value = v),
|
|
37839
37841
|
class: "pbx-myPrimarySelect",
|
|
37840
37842
|
onChange: x[1] || (x[1] = (v) => g(t).handleBorderRadiusGlobal(i.value ?? void 0))
|
|
37841
37843
|
}, [
|
|
37842
|
-
d("option",
|
|
37844
|
+
d("option", Rte, f(g(e)("Select")), 1),
|
|
37843
37845
|
(y(!0), w(oe, null, ve(g(Bo).roundedGlobal, (v) => (y(), w("option", { key: v }, f(v), 1))), 128))
|
|
37844
37846
|
], 544), [
|
|
37845
37847
|
[Lt, i.value]
|
|
37846
37848
|
])
|
|
37847
37849
|
]),
|
|
37848
37850
|
x[10] || (x[10] = d("hr", null, null, -1)),
|
|
37849
|
-
d("p",
|
|
37850
|
-
d("div",
|
|
37851
|
-
d("label",
|
|
37851
|
+
d("p", zte, f(g(e)("Specific")), 1),
|
|
37852
|
+
d("div", Ote, [
|
|
37853
|
+
d("label", Nte, f(g(e)("Border Radius top left")), 1),
|
|
37852
37854
|
$e(d("select", {
|
|
37853
37855
|
id: "border-radius-top-left",
|
|
37854
37856
|
"onUpdate:modelValue": x[2] || (x[2] = (v) => n.value = v),
|
|
37855
37857
|
class: "pbx-myPrimarySelect",
|
|
37856
37858
|
onChange: x[3] || (x[3] = (v) => g(t).handleBorderRadiusTopLeft(n.value ?? void 0))
|
|
37857
37859
|
}, [
|
|
37858
|
-
d("option",
|
|
37860
|
+
d("option", Fte, f(g(e)("Select")), 1),
|
|
37859
37861
|
(y(!0), w(oe, null, ve(g(Bo).roundedTopLeft, (v) => (y(), w("option", { key: v }, f(v), 1))), 128))
|
|
37860
37862
|
], 544), [
|
|
37861
37863
|
[Lt, n.value]
|
|
37862
37864
|
])
|
|
37863
37865
|
]),
|
|
37864
37866
|
x[11] || (x[11] = d("hr", null, null, -1)),
|
|
37865
|
-
d("div",
|
|
37866
|
-
d("label",
|
|
37867
|
+
d("div", jte, [
|
|
37868
|
+
d("label", Vte, f(g(e)("Border Radius top right")), 1),
|
|
37867
37869
|
$e(d("select", {
|
|
37868
37870
|
id: "border-radius-top-right",
|
|
37869
37871
|
"onUpdate:modelValue": x[4] || (x[4] = (v) => a.value = v),
|
|
37870
37872
|
class: "pbx-myPrimarySelect",
|
|
37871
37873
|
onChange: x[5] || (x[5] = (v) => g(t).handleBorderRadiusTopRight(a.value ?? void 0))
|
|
37872
37874
|
}, [
|
|
37873
|
-
d("option",
|
|
37875
|
+
d("option", qte, f(g(e)("Select")), 1),
|
|
37874
37876
|
(y(!0), w(oe, null, ve(g(Bo).roundedTopRight, (v) => (y(), w("option", { key: v }, f(v), 1))), 128))
|
|
37875
37877
|
], 544), [
|
|
37876
37878
|
[Lt, a.value]
|
|
37877
37879
|
])
|
|
37878
37880
|
]),
|
|
37879
37881
|
x[12] || (x[12] = d("hr", null, null, -1)),
|
|
37880
|
-
d("div",
|
|
37881
|
-
d("label",
|
|
37882
|
+
d("div", Ute, [
|
|
37883
|
+
d("label", Wte, f(g(e)("Border Radius bottom left")), 1),
|
|
37882
37884
|
$e(d("select", {
|
|
37883
37885
|
id: "border-radius-bottom-left",
|
|
37884
37886
|
"onUpdate:modelValue": x[6] || (x[6] = (v) => s.value = v),
|
|
37885
37887
|
class: "pbx-myPrimarySelect",
|
|
37886
37888
|
onChange: x[7] || (x[7] = (v) => g(t).handleBorderRadiusBottomleft(s.value ?? void 0))
|
|
37887
37889
|
}, [
|
|
37888
|
-
d("option",
|
|
37890
|
+
d("option", Gte, f(g(e)("Select")), 1),
|
|
37889
37891
|
(y(!0), w(oe, null, ve(g(Bo).roundedBottomLeft, (v) => (y(), w("option", { key: v }, f(v), 1))), 128))
|
|
37890
37892
|
], 544), [
|
|
37891
37893
|
[Lt, s.value]
|
|
37892
37894
|
])
|
|
37893
37895
|
]),
|
|
37894
37896
|
x[13] || (x[13] = d("hr", null, null, -1)),
|
|
37895
|
-
d("div",
|
|
37896
|
-
d("label",
|
|
37897
|
+
d("div", Kte, [
|
|
37898
|
+
d("label", Jte, f(g(e)("Border Radius bottom right")), 1),
|
|
37897
37899
|
$e(d("select", {
|
|
37898
37900
|
id: "border-radius-bottom-right",
|
|
37899
37901
|
"onUpdate:modelValue": x[8] || (x[8] = (v) => l.value = v),
|
|
37900
37902
|
class: "pbx-myPrimarySelect",
|
|
37901
37903
|
onChange: x[9] || (x[9] = (v) => g(t).handleBorderRadiusBottomRight(l.value ?? void 0))
|
|
37902
37904
|
}, [
|
|
37903
|
-
d("option",
|
|
37905
|
+
d("option", Yte, f(g(e)("Select")), 1),
|
|
37904
37906
|
(y(!0), w(oe, null, ve(g(Bo).roundedBottomRight, (v) => (y(), w("option", { key: v }, f(v), 1))), 128))
|
|
37905
37907
|
], 544), [
|
|
37906
37908
|
[Lt, l.value]
|
|
@@ -38155,25 +38157,25 @@ const Uee = { class: "pbx-editorFieldGroup" }, Wee = { class: "pbx-editorFieldGr
|
|
|
38155
38157
|
"pbx-border-rose-800",
|
|
38156
38158
|
"pbx-border-rose-900"
|
|
38157
38159
|
]
|
|
38158
|
-
},
|
|
38160
|
+
}, Qte = { class: "pbx-editorSectionTitle" }, Xte = { class: "pbx-editorFieldGroup" }, Zte = {
|
|
38159
38161
|
for: "border-style",
|
|
38160
38162
|
class: "pbx-myPrimaryInputLabel"
|
|
38161
|
-
},
|
|
38163
|
+
}, eoe = {
|
|
38162
38164
|
disabled: "",
|
|
38163
38165
|
value: ""
|
|
38164
|
-
},
|
|
38166
|
+
}, toe = { class: "pbx-editorFieldGroup" }, ooe = {
|
|
38165
38167
|
for: "border-width",
|
|
38166
38168
|
class: "pbx-myPrimaryInputLabel"
|
|
38167
|
-
},
|
|
38169
|
+
}, roe = {
|
|
38168
38170
|
disabled: "",
|
|
38169
38171
|
value: ""
|
|
38170
|
-
},
|
|
38172
|
+
}, ioe = { class: "pbx-editorFieldGroup" }, noe = {
|
|
38171
38173
|
for: "border-color",
|
|
38172
38174
|
class: "pbx-myPrimaryInputLabel"
|
|
38173
|
-
},
|
|
38175
|
+
}, aoe = { class: "pbx-flex pbx-items-center pbx-gap-2" }, soe = { key: 0 }, loe = { class: "pbx-block pbx-truncate" }, poe = { class: "pbx-flex pbx-items-center" }, doe = { key: 0 }, coe = {
|
|
38174
38176
|
key: 2,
|
|
38175
38177
|
class: "pbx-ml-3"
|
|
38176
|
-
},
|
|
38178
|
+
}, uoe = {
|
|
38177
38179
|
key: 3,
|
|
38178
38180
|
class: "pbx-ml-3"
|
|
38179
38181
|
}, bR = /* @__PURE__ */ ie({
|
|
@@ -38204,39 +38206,39 @@ const Uee = { class: "pbx-editorFieldGroup" }, Wee = { class: "pbx-editorFieldGr
|
|
|
38204
38206
|
ze(f(g(e)("Border Style, Width & Color")), 1)
|
|
38205
38207
|
]),
|
|
38206
38208
|
content: q(() => [
|
|
38207
|
-
d("p",
|
|
38208
|
-
d("div",
|
|
38209
|
-
d("label",
|
|
38209
|
+
d("p", Qte, f(g(e)("Border")), 1),
|
|
38210
|
+
d("div", Xte, [
|
|
38211
|
+
d("label", Zte, f(g(e)("Border Style")), 1),
|
|
38210
38212
|
$e(d("select", {
|
|
38211
38213
|
id: "border-style",
|
|
38212
38214
|
"onUpdate:modelValue": u[0] || (u[0] = (b) => i.value = b),
|
|
38213
38215
|
class: "pbx-myPrimarySelect",
|
|
38214
38216
|
onChange: u[1] || (u[1] = (b) => g(t).handleBorderStyle(i.value ?? void 0))
|
|
38215
38217
|
}, [
|
|
38216
|
-
d("option",
|
|
38218
|
+
d("option", eoe, f(g(e)("Select")), 1),
|
|
38217
38219
|
(y(!0), w(oe, null, ve(g(Xi).borderStyle, (b) => (y(), w("option", { key: b }, f(b), 1))), 128))
|
|
38218
38220
|
], 544), [
|
|
38219
38221
|
[Lt, i.value]
|
|
38220
38222
|
])
|
|
38221
38223
|
]),
|
|
38222
38224
|
u[8] || (u[8] = d("hr", null, null, -1)),
|
|
38223
|
-
d("div",
|
|
38224
|
-
d("label",
|
|
38225
|
+
d("div", toe, [
|
|
38226
|
+
d("label", ooe, f(g(e)("Border Width")), 1),
|
|
38225
38227
|
$e(d("select", {
|
|
38226
38228
|
id: "border-width",
|
|
38227
38229
|
"onUpdate:modelValue": u[2] || (u[2] = (b) => n.value = b),
|
|
38228
38230
|
class: "pbx-myPrimarySelect",
|
|
38229
38231
|
onChange: u[3] || (u[3] = (b) => g(t).handleBorderWidth(n.value ?? void 0))
|
|
38230
38232
|
}, [
|
|
38231
|
-
d("option",
|
|
38233
|
+
d("option", roe, f(g(e)("Select")), 1),
|
|
38232
38234
|
(y(!0), w(oe, null, ve(g(Xi).borderWidth, (b) => (y(), w("option", { key: b }, f(b), 1))), 128))
|
|
38233
38235
|
], 544), [
|
|
38234
38236
|
[Lt, n.value]
|
|
38235
38237
|
])
|
|
38236
38238
|
]),
|
|
38237
38239
|
u[9] || (u[9] = d("hr", null, null, -1)),
|
|
38238
|
-
d("div",
|
|
38239
|
-
d("label",
|
|
38240
|
+
d("div", ioe, [
|
|
38241
|
+
d("label", noe, f(g(e)("Border Color")), 1),
|
|
38240
38242
|
R(g(Ba), {
|
|
38241
38243
|
as: "div",
|
|
38242
38244
|
modelValue: a.value,
|
|
@@ -38253,8 +38255,8 @@ const Uee = { class: "pbx-editorFieldGroup" }, Wee = { class: "pbx-editorFieldGr
|
|
|
38253
38255
|
default: q(() => {
|
|
38254
38256
|
var m;
|
|
38255
38257
|
return [
|
|
38256
|
-
d("span",
|
|
38257
|
-
p.value === "none" ? (y(), w("div",
|
|
38258
|
+
d("span", aoe, [
|
|
38259
|
+
p.value === "none" ? (y(), w("div", soe, [...u[6] || (u[6] = [
|
|
38258
38260
|
d("div", { class: "pbx-myPrimaryColorPreview pbx-border-none" }, [
|
|
38259
38261
|
d("span", { class: "material-symbols-outlined" }, " ev_shadow ")
|
|
38260
38262
|
], -1)
|
|
@@ -38263,7 +38265,7 @@ const Uee = { class: "pbx-editorFieldGroup" }, Wee = { class: "pbx-editorFieldGr
|
|
|
38263
38265
|
key: 1,
|
|
38264
38266
|
class: O(["pbx-aspect-square pbx-w-6 pbx-h-6 pbx-border-solid pbx-border pbx-border-gray-100 pbx-rounded-sm", `pbx-bg-${(m = a.value) == null ? void 0 : m.replace("pbx-border-", "")}`])
|
|
38265
38267
|
}, null, 2)) : A("", !0),
|
|
38266
|
-
d("span",
|
|
38268
|
+
d("span", loe, f(a.value), 1)
|
|
38267
38269
|
])
|
|
38268
38270
|
];
|
|
38269
38271
|
}),
|
|
@@ -38290,8 +38292,8 @@ const Uee = { class: "pbx-editorFieldGroup" }, Wee = { class: "pbx-editorFieldGr
|
|
|
38290
38292
|
"pbx-relative pbx-cursor-default pbx-select-none pbx-py-2 pbx-pl-3 pbx-pr-9"
|
|
38291
38293
|
])
|
|
38292
38294
|
}, [
|
|
38293
|
-
d("div",
|
|
38294
|
-
m === "none" ? (y(), w("div",
|
|
38295
|
+
d("div", poe, [
|
|
38296
|
+
m === "none" ? (y(), w("div", doe, [...u[7] || (u[7] = [
|
|
38295
38297
|
d("div", { class: "pbx-myPrimaryColorPreview pbx-border-none" }, [
|
|
38296
38298
|
d("span", { class: "material-symbols-outlined" }, " ev_shadow ")
|
|
38297
38299
|
], -1)
|
|
@@ -38300,8 +38302,8 @@ const Uee = { class: "pbx-editorFieldGroup" }, Wee = { class: "pbx-editorFieldGr
|
|
|
38300
38302
|
key: 1,
|
|
38301
38303
|
class: O(["pbx-aspect-square pbx-w-6 pbx-h-6 pbx-bg-gray-950", `pbx-bg-${m.replace("pbx-border-", "")}`])
|
|
38302
38304
|
}, null, 2)) : A("", !0),
|
|
38303
|
-
m === "none" ? (y(), w("span",
|
|
38304
|
-
m !== "none" ? (y(), w("span",
|
|
38305
|
+
m === "none" ? (y(), w("span", coe, f(g(e)("Transparent")), 1)) : A("", !0),
|
|
38306
|
+
m !== "none" ? (y(), w("span", uoe, f(m), 1)) : A("", !0)
|
|
38305
38307
|
])
|
|
38306
38308
|
], 2)
|
|
38307
38309
|
]),
|
|
@@ -38322,7 +38324,7 @@ const Uee = { class: "pbx-editorFieldGroup" }, Wee = { class: "pbx-editorFieldGr
|
|
|
38322
38324
|
_: 1
|
|
38323
38325
|
}));
|
|
38324
38326
|
}
|
|
38325
|
-
}),
|
|
38327
|
+
}), boe = { class: "pbx-flex pbx-items-center pbx-justify-between pbx-gap-4 pbx-rounded-lg pbx-border pbx-border-solid pbx-border-gray-100 pbx-bg-gray-50 pbx-px-4 pbx-py-3" }, moe = { class: "pbx-text-sm pbx-font-semibold pbx-text-myPrimaryDarkGrayColor pbx-my-0" }, goe = { class: "pbx-text-xs pbx-text-gray-500 pbx-my-0" }, xoe = { class: "pbx-grid pbx-grid-cols-1 pbx-gap-3" }, hoe = ["for"], foe = { class: "pbx-flex pbx-justify-between pbx-items-center pbx-gap-4 pbx-border pbx-border-gray-200 pbx-py-4 pbx-px-3 pbx-rounded-lg" }, yoe = ["id", "value", "onInput", "onBlur"], voe = { class: "pbx-relative pbx-flex-shrink-0" }, woe = ["title", "onClick"], Soe = { class: "pbx-border-t pbx-border-gray-100 pbx-pt-4 pbx-mt-2 pbx-flex pbx-items-center pbx-justify-between pbx-gap-3" }, koe = { class: "pbx-text-sm pbx-font-semibold pbx-text-myPrimaryDarkGrayColor pbx-my-0" }, Coe = { class: "pbx-text-xs pbx-text-gray-500 pbx-my-0" }, Toe = /* @__PURE__ */ ie({
|
|
38326
38328
|
__name: "ThemeColorPresetManager",
|
|
38327
38329
|
props: {
|
|
38328
38330
|
embedded: { type: Boolean }
|
|
@@ -38382,17 +38384,17 @@ const Uee = { class: "pbx-editorFieldGroup" }, Wee = { class: "pbx-editorFieldGr
|
|
|
38382
38384
|
d("div", {
|
|
38383
38385
|
class: O(["pbx-flex pbx-flex-col pbx-gap-4", o.embedded ? "" : "pbx-mb-20"])
|
|
38384
38386
|
}, [
|
|
38385
|
-
d("div",
|
|
38387
|
+
d("div", boe, [
|
|
38386
38388
|
d("div", null, [
|
|
38387
|
-
d("p",
|
|
38388
|
-
d("p",
|
|
38389
|
+
d("p", moe, f(g(e)("Enable theme color presets")), 1),
|
|
38390
|
+
d("p", goe, f(g(e)("Use saved hex colors in text and background color menus")), 1)
|
|
38389
38391
|
]),
|
|
38390
38392
|
R(_o, {
|
|
38391
38393
|
"model-value": g(n).enabled,
|
|
38392
38394
|
"onUpdate:modelValue": g(a)
|
|
38393
38395
|
}, null, 8, ["model-value", "onUpdate:modelValue"])
|
|
38394
38396
|
]),
|
|
38395
|
-
d("div",
|
|
38397
|
+
d("div", xoe, [
|
|
38396
38398
|
(y(!0), w(oe, null, ve(g(n).colors, ($) => (y(), w("div", {
|
|
38397
38399
|
key: $.id,
|
|
38398
38400
|
class: "pbx-myInputGroup"
|
|
@@ -38400,8 +38402,8 @@ const Uee = { class: "pbx-editorFieldGroup" }, Wee = { class: "pbx-editorFieldGr
|
|
|
38400
38402
|
d("label", {
|
|
38401
38403
|
for: `color-input-${$.id}`,
|
|
38402
38404
|
class: "pbx-myPrimaryInputLabel"
|
|
38403
|
-
}, f(g(e)($.label)), 9,
|
|
38404
|
-
d("div",
|
|
38405
|
+
}, f(g(e)($.label)), 9, hoe),
|
|
38406
|
+
d("div", foe, [
|
|
38405
38407
|
R(_o, {
|
|
38406
38408
|
"model-value": $.enabled,
|
|
38407
38409
|
"onUpdate:modelValue": (T) => h($.id, T)
|
|
@@ -38415,8 +38417,8 @@ const Uee = { class: "pbx-editorFieldGroup" }, Wee = { class: "pbx-editorFieldGr
|
|
|
38415
38417
|
class: "pbx-myPrimaryInput pbx-w-full",
|
|
38416
38418
|
onInput: (T) => b($, T),
|
|
38417
38419
|
onBlur: (T) => m($)
|
|
38418
|
-
}, null, 40,
|
|
38419
|
-
d("div",
|
|
38420
|
+
}, null, 40, yoe),
|
|
38421
|
+
d("div", voe, [
|
|
38420
38422
|
d("button", {
|
|
38421
38423
|
type: "button",
|
|
38422
38424
|
title: $.color,
|
|
@@ -38429,7 +38431,7 @@ const Uee = { class: "pbx-editorFieldGroup" }, Wee = { class: "pbx-editorFieldGr
|
|
|
38429
38431
|
inset 0 0 0 1px rgba(96, 96, 96, 0.1)`, transition: `box-shadow 0.15s,
|
|
38430
38432
|
border-color 0.15s` }])
|
|
38431
38433
|
}, null, 4)
|
|
38432
|
-
], 8,
|
|
38434
|
+
], 8, woe),
|
|
38433
38435
|
v.value === $.id ? (y(), w("div", {
|
|
38434
38436
|
key: 0,
|
|
38435
38437
|
class: "pbx-fixed pbx-inset-0 pbx-z-40",
|
|
@@ -38451,10 +38453,10 @@ const Uee = { class: "pbx-editorFieldGroup" }, Wee = { class: "pbx-editorFieldGr
|
|
|
38451
38453
|
])
|
|
38452
38454
|
]))), 128))
|
|
38453
38455
|
]),
|
|
38454
|
-
d("div",
|
|
38456
|
+
d("div", Soe, [
|
|
38455
38457
|
d("div", null, [
|
|
38456
|
-
d("p",
|
|
38457
|
-
d("p",
|
|
38458
|
+
d("p", koe, f(g(e)("Reset to provided defaults")), 1),
|
|
38459
|
+
d("p", Coe, f(g(e)("Restore the original colors provided to the page builder")), 1)
|
|
38458
38460
|
]),
|
|
38459
38461
|
d("button", {
|
|
38460
38462
|
type: "button",
|
|
@@ -38487,7 +38489,7 @@ const Uee = { class: "pbx-editorFieldGroup" }, Wee = { class: "pbx-editorFieldGr
|
|
|
38487
38489
|
}, 8, ["showDynamicModalBuilder", "title", "description", "firstButtonText", "thirdButtonText"])
|
|
38488
38490
|
], 64));
|
|
38489
38491
|
}
|
|
38490
|
-
}),
|
|
38492
|
+
}), Poe = /* @__PURE__ */ ie({
|
|
38491
38493
|
__name: "ThemeColorSettingsEditor",
|
|
38492
38494
|
setup(o) {
|
|
38493
38495
|
const { translate: e } = Se();
|
|
@@ -38496,24 +38498,24 @@ const Uee = { class: "pbx-editorFieldGroup" }, Wee = { class: "pbx-editorFieldGr
|
|
|
38496
38498
|
ze(f(g(e)("Theme & colors")), 1)
|
|
38497
38499
|
]),
|
|
38498
38500
|
content: q(() => [
|
|
38499
|
-
R(
|
|
38501
|
+
R(Toe, { embedded: "" })
|
|
38500
38502
|
]),
|
|
38501
38503
|
_: 1
|
|
38502
38504
|
}));
|
|
38503
38505
|
}
|
|
38504
|
-
}),
|
|
38506
|
+
}), Moe = { class: "pbx-editorSectionDesc" }, Loe = { class: "pbx-editorFieldGroup" }, Eoe = {
|
|
38505
38507
|
for: "page-meta-title",
|
|
38506
38508
|
class: "pbx-myPrimaryInputLabel"
|
|
38507
|
-
},
|
|
38509
|
+
}, Aoe = ["placeholder"], $oe = { class: "pbx-editorFieldGroup" }, _oe = {
|
|
38508
38510
|
for: "page-meta-description",
|
|
38509
38511
|
class: "pbx-myPrimaryInputLabel"
|
|
38510
|
-
},
|
|
38512
|
+
}, Boe = ["placeholder"], Ioe = ["disabled"], Hoe = {
|
|
38511
38513
|
key: 0,
|
|
38512
38514
|
class: "material-symbols-outlined"
|
|
38513
|
-
},
|
|
38515
|
+
}, Doe = {
|
|
38514
38516
|
key: 1,
|
|
38515
38517
|
class: "material-symbols-outlined pbx-animate-spin"
|
|
38516
|
-
},
|
|
38518
|
+
}, Roe = /* @__PURE__ */ ie({
|
|
38517
38519
|
name: "PageMetaSettingsEditor",
|
|
38518
38520
|
__name: "PageMetaSettingsEditor",
|
|
38519
38521
|
setup(o) {
|
|
@@ -38542,28 +38544,28 @@ const Uee = { class: "pbx-editorFieldGroup" }, Wee = { class: "pbx-editorFieldGr
|
|
|
38542
38544
|
ze(f(g(e)("Page Meta")), 1)
|
|
38543
38545
|
]),
|
|
38544
38546
|
content: q(() => [
|
|
38545
|
-
d("p",
|
|
38546
|
-
d("div",
|
|
38547
|
-
d("label",
|
|
38547
|
+
d("p", Moe, f(g(e)("Page meta description")), 1),
|
|
38548
|
+
d("div", Loe, [
|
|
38549
|
+
d("label", Eoe, f(g(e)("Meta title")), 1),
|
|
38548
38550
|
$e(d("input", {
|
|
38549
38551
|
id: "page-meta-title",
|
|
38550
38552
|
"onUpdate:modelValue": p[0] || (p[0] = (c) => i.value = c),
|
|
38551
38553
|
type: "text",
|
|
38552
38554
|
class: "pbx-myPrimaryInput pbx-w-full",
|
|
38553
38555
|
placeholder: g(e)("Meta title placeholder")
|
|
38554
|
-
}, null, 8,
|
|
38556
|
+
}, null, 8, Aoe), [
|
|
38555
38557
|
[Co, i.value]
|
|
38556
38558
|
])
|
|
38557
38559
|
]),
|
|
38558
|
-
d("div",
|
|
38559
|
-
d("label",
|
|
38560
|
+
d("div", $oe, [
|
|
38561
|
+
d("label", _oe, f(g(e)("Meta description")), 1),
|
|
38560
38562
|
$e(d("textarea", {
|
|
38561
38563
|
id: "page-meta-description",
|
|
38562
38564
|
"onUpdate:modelValue": p[1] || (p[1] = (c) => n.value = c),
|
|
38563
38565
|
rows: "3",
|
|
38564
38566
|
class: "pbx-myPrimaryInput pbx-w-full pbx-resize-y",
|
|
38565
38567
|
placeholder: g(e)("Meta description placeholder")
|
|
38566
|
-
}, null, 8,
|
|
38568
|
+
}, null, 8, Boe), [
|
|
38567
38569
|
[Co, n.value]
|
|
38568
38570
|
])
|
|
38569
38571
|
]),
|
|
@@ -38574,17 +38576,17 @@ const Uee = { class: "pbx-editorFieldGroup" }, Wee = { class: "pbx-editorFieldGr
|
|
|
38574
38576
|
onClick: s
|
|
38575
38577
|
}, [
|
|
38576
38578
|
ze(f(g(e)("Save")) + " ", 1),
|
|
38577
|
-
a.value ? A("", !0) : (y(), w("span",
|
|
38578
|
-
a.value ? (y(), w("span",
|
|
38579
|
-
], 8,
|
|
38579
|
+
a.value ? A("", !0) : (y(), w("span", Hoe, "check")),
|
|
38580
|
+
a.value ? (y(), w("span", Doe, "refresh")) : A("", !0)
|
|
38581
|
+
], 8, Ioe)
|
|
38580
38582
|
]),
|
|
38581
38583
|
_: 1
|
|
38582
38584
|
}));
|
|
38583
38585
|
}
|
|
38584
|
-
}),
|
|
38586
|
+
}), zoe = {
|
|
38585
38587
|
key: 0,
|
|
38586
38588
|
class: "pbx-fixed pbx-inset-0 pbx-z-[9999]"
|
|
38587
|
-
},
|
|
38589
|
+
}, Ooe = { class: "pbx-flex pbx-gap-2 pbx-justify-between pbx-items-center pbx-py-2 pbx-px-2 pbx-mb-2 pbx-border-b pbx-border-gray-200" }, Noe = { class: "pbx-myQuaternaryHeader pbx-my-0 pbx-py-0 pbx-text-black" }, Foe = { class: "pbx-pt-4 pbx-px-2" }, mR = /* @__PURE__ */ ie({
|
|
38588
38590
|
__name: "FloatingSidePanel",
|
|
38589
38591
|
props: {
|
|
38590
38592
|
title: {
|
|
@@ -38620,7 +38622,7 @@ const Uee = { class: "pbx-editorFieldGroup" }, Wee = { class: "pbx-editorFieldGr
|
|
|
38620
38622
|
return (a, s) => (y(), me(hi, { to: "body" }, [
|
|
38621
38623
|
R(Oo, { name: "popup-fade" }, {
|
|
38622
38624
|
default: q(() => [
|
|
38623
|
-
o.showSidebarPanel ? (y(), w("div",
|
|
38625
|
+
o.showSidebarPanel ? (y(), w("div", zoe, [
|
|
38624
38626
|
d("div", {
|
|
38625
38627
|
class: O(["pbx-fixed pbx-inset-0 pbx-bg-black pbx-opacity-20 pbx-z-40", { "pbx-pointer-events-none": !o.closeOnOverlayClick }]),
|
|
38626
38628
|
onClick: n
|
|
@@ -38633,15 +38635,15 @@ const Uee = { class: "pbx-editorFieldGroup" }, Wee = { class: "pbx-editorFieldGr
|
|
|
38633
38635
|
onClick: s[0] || (s[0] = Ce(() => {
|
|
38634
38636
|
}, ["stop"]))
|
|
38635
38637
|
}, [
|
|
38636
|
-
d("div",
|
|
38637
|
-
d("span",
|
|
38638
|
+
d("div", Ooe, [
|
|
38639
|
+
d("span", Noe, f(o.title), 1),
|
|
38638
38640
|
d("span", { onClick: i }, [...s[1] || (s[1] = [
|
|
38639
38641
|
d("div", { class: "pbx-h-10 pbx-w-10 pbx-cursor-pointer pbx-rounded-full pbx-flex pbx-items-center pbx-border-none pbx-justify-center pbx-bg-gray-50 pbx-aspect-square hover:pbx-bg-myPrimaryLinkColor hover:pbx-text-white focus-visible:pbx-ring-0 pbx-text-black" }, [
|
|
38640
38642
|
d("span", { class: "material-symbols-outlined" }, " close ")
|
|
38641
38643
|
], -1)
|
|
38642
38644
|
])])
|
|
38643
38645
|
]),
|
|
38644
|
-
d("div",
|
|
38646
|
+
d("div", Foe, [
|
|
38645
38647
|
Io(a.$slots, "default")
|
|
38646
38648
|
])
|
|
38647
38649
|
], 2)
|
|
@@ -38651,16 +38653,16 @@ const Uee = { class: "pbx-editorFieldGroup" }, Wee = { class: "pbx-editorFieldGr
|
|
|
38651
38653
|
})
|
|
38652
38654
|
]));
|
|
38653
38655
|
}
|
|
38654
|
-
}),
|
|
38656
|
+
}), joe = { class: "pbx-overflow-y-auto" }, Voe = {
|
|
38655
38657
|
key: 0,
|
|
38656
38658
|
class: "pbx-flex pbx-items-center pbx-justify-center pbx-gap-2"
|
|
38657
|
-
},
|
|
38659
|
+
}, qoe = { class: "pbx-bg-gray-100 pbx-rounded-full pbx-w-32 pbx-h-32 pbx-flex pbx-items-center pbx-justify-center" }, Uoe = { class: "pbx-text-center" }, Woe = { class: "pbx-lg:pbx-text-7xl pbx-text-5xl" }, Goe = {
|
|
38658
38660
|
key: 1,
|
|
38659
38661
|
class: "pbx-w-full pbx-space-y-5"
|
|
38660
|
-
},
|
|
38662
|
+
}, Koe = { class: "pbx-text-base pbx-font-semibold pbx-text-center pbx-text-myPrimaryDarkGrayColor" }, Joe = { class: "pbx-seoCheckGroupTitle" }, Yoe = { class: "pbx-space-y-2" }, Qoe = { class: "pbx-pageDesignOpenButtonText" }, Xoe = { class: "pbx-pageDesignOpenButtonLabel" }, Zoe = { class: "pbx-pageDesignOpenButtonHint" }, ere = {
|
|
38661
38663
|
key: 2,
|
|
38662
38664
|
class: "pbx-text-gray-500 pbx-text-center pbx-py-8"
|
|
38663
|
-
},
|
|
38665
|
+
}, tre = /* @__PURE__ */ ie({
|
|
38664
38666
|
__name: "SeoCheckPanel",
|
|
38665
38667
|
props: {
|
|
38666
38668
|
seoResult: {}
|
|
@@ -38675,30 +38677,30 @@ const Uee = { class: "pbx-editorFieldGroup" }, Wee = { class: "pbx-editorFieldGr
|
|
|
38675
38677
|
}
|
|
38676
38678
|
return Array.from(i.entries()).map(([n, a]) => ({ title: n, checks: a }));
|
|
38677
38679
|
});
|
|
38678
|
-
return (i, n) => (y(), w("div",
|
|
38679
|
-
o.seoResult ? (y(), w("div",
|
|
38680
|
+
return (i, n) => (y(), w("div", joe, [
|
|
38681
|
+
o.seoResult ? (y(), w("div", Voe, [
|
|
38680
38682
|
d("div", {
|
|
38681
38683
|
class: "pbx-relative pbx-my-4 pbx-rounded-full pbx-flex pbx-items-center pbx-justify-center pbx-w-36 pbx-h-36",
|
|
38682
38684
|
style: _e({
|
|
38683
38685
|
background: `conic-gradient(${o.seoResult.score < 50 ? "#ef4444" : "#50C878"} ${o.seoResult.score}%, #e5e7eb 0)`
|
|
38684
38686
|
})
|
|
38685
38687
|
}, [
|
|
38686
|
-
d("div",
|
|
38687
|
-
d("div",
|
|
38688
|
-
d("span",
|
|
38688
|
+
d("div", qoe, [
|
|
38689
|
+
d("div", Uoe, [
|
|
38690
|
+
d("span", Woe, f(o.seoResult.score), 1),
|
|
38689
38691
|
n[0] || (n[0] = d("span", { class: "pbx-text-xl" }, "%", -1))
|
|
38690
38692
|
])
|
|
38691
38693
|
])
|
|
38692
38694
|
], 4)
|
|
38693
38695
|
])) : A("", !0),
|
|
38694
|
-
r.value.length ? (y(), w("div",
|
|
38695
|
-
d("h3",
|
|
38696
|
+
r.value.length ? (y(), w("div", Goe, [
|
|
38697
|
+
d("h3", Koe, f(g(t)("SEO Check Results")), 1),
|
|
38696
38698
|
(y(!0), w(oe, null, ve(r.value, (a) => (y(), w("div", {
|
|
38697
38699
|
key: a.title,
|
|
38698
38700
|
class: "pbx-space-y-2"
|
|
38699
38701
|
}, [
|
|
38700
|
-
d("h4",
|
|
38701
|
-
d("ul",
|
|
38702
|
+
d("h4", Joe, f(g(t)(a.title)), 1),
|
|
38703
|
+
d("ul", Yoe, [
|
|
38702
38704
|
(y(!0), w(oe, null, ve(a.checks, (s, l) => (y(), w("li", {
|
|
38703
38705
|
key: l,
|
|
38704
38706
|
class: O(["pbx-seoCheckRow", s.passed ? "pbx-seoCheckRow--pass" : "pbx-seoCheckRow--fail"])
|
|
@@ -38707,17 +38709,17 @@ const Uee = { class: "pbx-editorFieldGroup" }, Wee = { class: "pbx-editorFieldGr
|
|
|
38707
38709
|
class: O(["pbx-seoCheckRowIcon material-symbols-outlined", s.passed ? "pbx-seoCheckRowIcon--pass" : "pbx-seoCheckRowIcon--fail"]),
|
|
38708
38710
|
"aria-hidden": "true"
|
|
38709
38711
|
}, f(s.passed ? "check" : "close"), 3),
|
|
38710
|
-
d("span",
|
|
38711
|
-
d("span",
|
|
38712
|
-
d("span",
|
|
38712
|
+
d("span", Qoe, [
|
|
38713
|
+
d("span", Xoe, f(g(t)(s.check)), 1),
|
|
38714
|
+
d("span", Zoe, f(s.details), 1)
|
|
38713
38715
|
])
|
|
38714
38716
|
], 2))), 128))
|
|
38715
38717
|
])
|
|
38716
38718
|
]))), 128))
|
|
38717
|
-
])) : (y(), w("div",
|
|
38719
|
+
])) : (y(), w("div", ere, f(g(t)("No SEO checks available.")), 1))
|
|
38718
38720
|
]));
|
|
38719
38721
|
}
|
|
38720
|
-
}),
|
|
38722
|
+
}), ore = { class: "pbx-editorSectionDesc" }, rre = /* @__PURE__ */ ie({
|
|
38721
38723
|
name: "SeoCheckSettingsEditor",
|
|
38722
38724
|
__name: "SeoCheckSettingsEditor",
|
|
38723
38725
|
setup(o) {
|
|
@@ -38737,7 +38739,7 @@ const Uee = { class: "pbx-editorFieldGroup" }, Wee = { class: "pbx-editorFieldGr
|
|
|
38737
38739
|
ze(f(g(e)("SEO Check")), 1)
|
|
38738
38740
|
]),
|
|
38739
38741
|
content: q(() => [
|
|
38740
|
-
d("p",
|
|
38742
|
+
d("p", ore, f(g(e)("SEO check description")), 1),
|
|
38741
38743
|
R(rr, {
|
|
38742
38744
|
icon: "circle_circle",
|
|
38743
38745
|
label: g(e)("Run SEO check"),
|
|
@@ -38755,13 +38757,13 @@ const Uee = { class: "pbx-editorFieldGroup" }, Wee = { class: "pbx-editorFieldGr
|
|
|
38755
38757
|
onCloseSidebarPanel: s
|
|
38756
38758
|
}, {
|
|
38757
38759
|
default: q(() => [
|
|
38758
|
-
R(
|
|
38760
|
+
R(tre, { "seo-result": r.value }, null, 8, ["seo-result"])
|
|
38759
38761
|
]),
|
|
38760
38762
|
_: 1
|
|
38761
38763
|
}, 8, ["title", "showSidebarPanel"])
|
|
38762
38764
|
], 64));
|
|
38763
38765
|
}
|
|
38764
|
-
}),
|
|
38766
|
+
}), ire = { class: "pbx-editorSectionDesc" }, nre = { class: "pbx-pageDesignOpenButtonText" }, are = { class: "pbx-pageDesignOpenButtonLabel" }, sre = { class: "pbx-pageDesignOpenButtonHint" }, lre = /* @__PURE__ */ ie({
|
|
38765
38767
|
name: "RemoveAllComponentsSettingsEditor",
|
|
38766
38768
|
__name: "RemoveAllComponentsSettingsEditor",
|
|
38767
38769
|
setup(o) {
|
|
@@ -38779,16 +38781,16 @@ const Uee = { class: "pbx-editorFieldGroup" }, Wee = { class: "pbx-editorFieldGr
|
|
|
38779
38781
|
ze(f(g(e)("Page layout")), 1)
|
|
38780
38782
|
]),
|
|
38781
38783
|
content: q(() => [
|
|
38782
|
-
d("p",
|
|
38784
|
+
d("p", ire, f(g(e)("Remove all components description")), 1),
|
|
38783
38785
|
d("button", {
|
|
38784
38786
|
type: "button",
|
|
38785
38787
|
class: "pbx-pageDesignOpenButton pbx-pageDesignOpenButton--danger",
|
|
38786
38788
|
onClick: v
|
|
38787
38789
|
}, [
|
|
38788
38790
|
P[3] || (P[3] = d("span", { class: "material-symbols-outlined" }, "delete_forever", -1)),
|
|
38789
|
-
d("span",
|
|
38790
|
-
d("span",
|
|
38791
|
-
d("span",
|
|
38791
|
+
d("span", nre, [
|
|
38792
|
+
d("span", are, f(g(e)("Remove all Components")), 1),
|
|
38793
|
+
d("span", sre, f(g(e)("Clear every section from the page")), 1)
|
|
38792
38794
|
]),
|
|
38793
38795
|
P[4] || (P[4] = d("span", {
|
|
38794
38796
|
class: "pbx-pageDesignOpenButtonArrow material-symbols-outlined",
|
|
@@ -38829,7 +38831,7 @@ const Uee = { class: "pbx-editorFieldGroup" }, Wee = { class: "pbx-editorFieldGr
|
|
|
38829
38831
|
}, 8, ["showDynamicModalBuilder", "type", "gridColumnAmount", "title", "description", "isLoading", "firstButtonText", "secondButtonText", "thirdButtonText"])
|
|
38830
38832
|
], 64));
|
|
38831
38833
|
}
|
|
38832
|
-
}),
|
|
38834
|
+
}), pre = { class: "pbx-editorSectionDesc" }, dre = { class: "pbx-pageDesignOpenButtonText" }, cre = { class: "pbx-pageDesignOpenButtonLabel" }, ure = { class: "pbx-pageDesignOpenButtonHint" }, bre = /* @__PURE__ */ ie({
|
|
38833
38835
|
name: "PageDesignSettingsEditor",
|
|
38834
38836
|
__name: "PageDesignSettingsEditor",
|
|
38835
38837
|
emits: ["open"],
|
|
@@ -38840,16 +38842,16 @@ const Uee = { class: "pbx-editorFieldGroup" }, Wee = { class: "pbx-editorFieldGr
|
|
|
38840
38842
|
ze(f(g(e)("Page Design")), 1)
|
|
38841
38843
|
]),
|
|
38842
38844
|
content: q(() => [
|
|
38843
|
-
d("p",
|
|
38845
|
+
d("p", pre, f(g(e)("Page design description")), 1),
|
|
38844
38846
|
d("button", {
|
|
38845
38847
|
type: "button",
|
|
38846
38848
|
class: "pbx-pageDesignOpenButton",
|
|
38847
38849
|
onClick: r[0] || (r[0] = (i) => t.$emit("open"))
|
|
38848
38850
|
}, [
|
|
38849
38851
|
R(Al),
|
|
38850
|
-
d("span",
|
|
38851
|
-
d("span",
|
|
38852
|
-
d("span",
|
|
38852
|
+
d("span", dre, [
|
|
38853
|
+
d("span", cre, f(g(e)("Open page design")), 1),
|
|
38854
|
+
d("span", ure, f(g(e)("Typography, colors, spacing & more")), 1)
|
|
38853
38855
|
]),
|
|
38854
38856
|
r[1] || (r[1] = d("span", {
|
|
38855
38857
|
class: "pbx-pageDesignOpenButtonArrow material-symbols-outlined",
|
|
@@ -38860,7 +38862,7 @@ const Uee = { class: "pbx-editorFieldGroup" }, Wee = { class: "pbx-editorFieldGr
|
|
|
38860
38862
|
_: 1
|
|
38861
38863
|
}));
|
|
38862
38864
|
}
|
|
38863
|
-
}),
|
|
38865
|
+
}), mre = { class: "pbx-editorSectionDesc" }, gre = { class: "pbx-inspectorActionStack" }, xre = /* @__PURE__ */ ie({
|
|
38864
38866
|
name: "PageHtmlEditorSettingsEditor",
|
|
38865
38867
|
__name: "PageHtmlEditorSettingsEditor",
|
|
38866
38868
|
setup(o) {
|
|
@@ -38876,8 +38878,8 @@ const Uee = { class: "pbx-editorFieldGroup" }, Wee = { class: "pbx-editorFieldGr
|
|
|
38876
38878
|
ze(f(g(e)("HTML Editor")), 1)
|
|
38877
38879
|
]),
|
|
38878
38880
|
content: q(() => [
|
|
38879
|
-
d("p",
|
|
38880
|
-
d("div",
|
|
38881
|
+
d("p", mre, f(g(e)("Page HTML editor description")), 1),
|
|
38882
|
+
d("div", gre, [
|
|
38881
38883
|
R(rr, {
|
|
38882
38884
|
icon: "visibility",
|
|
38883
38885
|
label: g(e)("View page HTML"),
|
|
@@ -38897,7 +38899,7 @@ const Uee = { class: "pbx-editorFieldGroup" }, Wee = { class: "pbx-editorFieldGr
|
|
|
38897
38899
|
}
|
|
38898
38900
|
}), Mr = function(o) {
|
|
38899
38901
|
return !o || typeof o == "object" && o.constructor === Object && Object.keys(o).length === 0;
|
|
38900
|
-
},
|
|
38902
|
+
}, hre = "3.5.33", fre = (o) => /^[a-z][a-z0-9+.-]*:/i.test(o) || o.startsWith("//");
|
|
38901
38903
|
function gR(o, e) {
|
|
38902
38904
|
if (!o)
|
|
38903
38905
|
return console.warn("No valid pagebuilder element passed"), "";
|
|
@@ -38916,7 +38918,7 @@ function gR(o, e) {
|
|
|
38916
38918
|
const n = e.imageUrlPrefix;
|
|
38917
38919
|
t.querySelectorAll("img").forEach((s) => {
|
|
38918
38920
|
const l = s.getAttribute("src") || "";
|
|
38919
|
-
l && !l.startsWith("http") && !
|
|
38921
|
+
l && !l.startsWith("http") && !fre(l) && // extra safety
|
|
38920
38922
|
n && !l.startsWith(n) && s.setAttribute("src", n + l.replace(/^\/+/, ""));
|
|
38921
38923
|
});
|
|
38922
38924
|
}
|
|
@@ -38941,10 +38943,10 @@ async function Xc(o) {
|
|
|
38941
38943
|
return e(t("Clipboard unavailable"), "error"), !1;
|
|
38942
38944
|
}
|
|
38943
38945
|
}
|
|
38944
|
-
const
|
|
38946
|
+
const yre = ["title", "aria-label"], vre = { class: "pbx-inspectorIdChipText" }, wre = {
|
|
38945
38947
|
class: "pbx-inspectorIdChipIcon material-symbols-outlined",
|
|
38946
38948
|
"aria-hidden": "true"
|
|
38947
|
-
},
|
|
38949
|
+
}, Sre = {
|
|
38948
38950
|
key: 1,
|
|
38949
38951
|
class: "pbx-inspectorValue"
|
|
38950
38952
|
}, lm = /* @__PURE__ */ ie({
|
|
@@ -38974,38 +38976,38 @@ const fre = ["title", "aria-label"], yre = { class: "pbx-inspectorIdChipText" },
|
|
|
38974
38976
|
"aria-label": `${g(t)("Copy ID")}: ${i.value}`,
|
|
38975
38977
|
onClick: a
|
|
38976
38978
|
}, [
|
|
38977
|
-
d("span",
|
|
38978
|
-
d("span",
|
|
38979
|
-
], 8,
|
|
38979
|
+
d("span", vre, f(n.value), 1),
|
|
38980
|
+
d("span", wre, f(r.value ? "check" : "content_copy"), 1)
|
|
38981
|
+
], 8, yre)) : (y(), w("span", Sre, "—"));
|
|
38980
38982
|
}
|
|
38981
|
-
}),
|
|
38983
|
+
}), kre = { class: "pbx-selectedHtmlInspector" }, Cre = { class: "pbx-editorSectionDesc" }, Tre = { class: "pbx-editorFieldGroup" }, Pre = { class: "pbx-editorSectionTitle" }, Mre = { class: "pbx-inspectorCard" }, Lre = { class: "pbx-inspectorLabel" }, Ere = { class: "pbx-editorFieldGroup" }, Are = { class: "pbx-editorSectionTitle" }, $re = ["aria-label"], _re = ["aria-selected"], Bre = ["aria-selected"], Ire = ["aria-selected"], Hre = { class: "pbx-inspectorPanel" }, Dre = {
|
|
38982
38984
|
key: 0,
|
|
38983
38985
|
role: "tabpanel"
|
|
38984
|
-
},
|
|
38986
|
+
}, Rre = {
|
|
38985
38987
|
key: 0,
|
|
38986
38988
|
class: "pbx-inspectorEmpty"
|
|
38987
|
-
},
|
|
38989
|
+
}, zre = { class: "pbx-inspectorMeta pbx-mb-3" }, Ore = {
|
|
38988
38990
|
key: 0,
|
|
38989
38991
|
class: "pbx-inspectorMetaRow"
|
|
38990
|
-
},
|
|
38992
|
+
}, Nre = { class: "pbx-inspectorFieldLabel" }, Fre = { class: "pbx-inspectorValue pbx-inspectorValueBreak" }, jre = { class: "pbx-inspectorMetaRow pbx-inspectorMetaRowStacked" }, Vre = { class: "pbx-inspectorFieldLabel" }, qre = { class: "pbx-inspectorActionStack" }, Ure = {
|
|
38991
38993
|
key: 1,
|
|
38992
38994
|
role: "tabpanel"
|
|
38993
|
-
},
|
|
38995
|
+
}, Wre = {
|
|
38994
38996
|
key: 0,
|
|
38995
38997
|
class: "pbx-inspectorEmpty"
|
|
38996
|
-
},
|
|
38998
|
+
}, Gre = { class: "pbx-inspectorMeta pbx-mb-3" }, Kre = { class: "pbx-inspectorMetaRow" }, Jre = { class: "pbx-inspectorFieldLabel" }, Yre = { class: "pbx-inspectorMetaRow" }, Qre = { class: "pbx-inspectorFieldLabel" }, Xre = { class: "pbx-inspectorValue" }, Zre = { class: "pbx-inspectorMetaRow pbx-inspectorMetaRowStacked" }, eie = { class: "pbx-inspectorFieldLabel" }, tie = {
|
|
38997
38999
|
key: 2,
|
|
38998
39000
|
role: "tabpanel"
|
|
38999
|
-
},
|
|
39001
|
+
}, oie = ["aria-expanded", "aria-label"], rie = { class: "pbx-inspectorComponentsSummaryContent" }, iie = ["aria-label"], nie = {
|
|
39000
39002
|
class: "pbx-inspectorComponentsSummaryChevron material-symbols-outlined",
|
|
39001
39003
|
"aria-hidden": "true"
|
|
39002
|
-
},
|
|
39004
|
+
}, aie = {
|
|
39003
39005
|
key: 1,
|
|
39004
39006
|
class: "pbx-inspectorComponentsSummary pbx-inspectorComponentsSummaryEmpty"
|
|
39005
|
-
},
|
|
39007
|
+
}, sie = { class: "pbx-inspectorList" }, lie = ["aria-expanded", "aria-label", "onClick"], pie = { class: "pbx-inspectorComponentCardTitleContent" }, die = { class: "pbx-inspectorListIndex" }, cie = { class: "pbx-inspectorListTitle" }, uie = {
|
|
39006
39008
|
class: "pbx-inspectorComponentsSummaryChevron material-symbols-outlined",
|
|
39007
39009
|
"aria-hidden": "true"
|
|
39008
|
-
},
|
|
39010
|
+
}, bie = { class: "pbx-inspectorComponentCardBody" }, mie = { class: "pbx-inspectorMeta pbx-inspectorComponentCardMeta" }, gie = { class: "pbx-inspectorMetaRow" }, xie = { class: "pbx-inspectorFieldLabel" }, hie = { class: "pbx-inspectorMetaRow pbx-inspectorMetaRowStacked" }, fie = { class: "pbx-inspectorFieldLabel" }, yie = { class: "pbx-inspectorComponentCardFooter" }, vie = /* @__PURE__ */ ie({
|
|
39009
39011
|
__name: "SelectedHtmlInspector",
|
|
39010
39012
|
setup(o) {
|
|
39011
39013
|
const { translate: e } = Se(), { openHtmlViewer: t } = ep(), { openHtmlEditor: r } = tp(), i = Ne, n = L(() => i.getElement), a = L(() => i.getComponent), s = L(() => i.getComponents), l = S("element"), p = L(() => {
|
|
@@ -39085,26 +39087,26 @@ const fre = ["title", "aria-label"], yre = { class: "pbx-inspectorIdChipText" },
|
|
|
39085
39087
|
function J(F) {
|
|
39086
39088
|
return sm(F.html_code || "");
|
|
39087
39089
|
}
|
|
39088
|
-
return (F, N) => (y(), w("div",
|
|
39089
|
-
d("p",
|
|
39090
|
+
return (F, N) => (y(), w("div", kre, [
|
|
39091
|
+
d("p", Cre, f(g(e)(
|
|
39090
39092
|
"Overview of Selected Element, Component, and Components. This section provides real-time updates based on your HTML selection."
|
|
39091
39093
|
)), 1),
|
|
39092
|
-
d("div",
|
|
39093
|
-
d("h4",
|
|
39094
|
-
d("div",
|
|
39094
|
+
d("div", Tre, [
|
|
39095
|
+
d("h4", Pre, f(g(e)("Types")), 1),
|
|
39096
|
+
d("div", Mre, [
|
|
39095
39097
|
(y(!0), w(oe, null, ve(k.value, (j) => (y(), w("div", {
|
|
39096
39098
|
key: j.label,
|
|
39097
39099
|
class: "pbx-inspectorRow"
|
|
39098
39100
|
}, [
|
|
39099
|
-
d("span",
|
|
39101
|
+
d("span", Lre, f(j.label), 1),
|
|
39100
39102
|
d("span", {
|
|
39101
39103
|
class: O(["pbx-inspectorBadge", j.tone === "active" ? "pbx-inspectorBadgeActive" : "pbx-inspectorBadgeMuted"])
|
|
39102
39104
|
}, f(j.value), 3)
|
|
39103
39105
|
]))), 128))
|
|
39104
39106
|
])
|
|
39105
39107
|
]),
|
|
39106
|
-
d("div",
|
|
39107
|
-
d("h4",
|
|
39108
|
+
d("div", Ere, [
|
|
39109
|
+
d("h4", Are, f(g(e)("Content")), 1),
|
|
39108
39110
|
d("div", {
|
|
39109
39111
|
class: "pbx-inspectorTabs",
|
|
39110
39112
|
role: "tablist",
|
|
@@ -39116,39 +39118,39 @@ const fre = ["title", "aria-label"], yre = { class: "pbx-inspectorIdChipText" },
|
|
|
39116
39118
|
"aria-selected": l.value === "element",
|
|
39117
39119
|
class: O(["pbx-inspectorTab pbx-font-sans", { "pbx-inspectorTabActive": l.value === "element" }]),
|
|
39118
39120
|
onClick: N[0] || (N[0] = (j) => M("element"))
|
|
39119
|
-
}, f(g(e)("Element")), 11,
|
|
39121
|
+
}, f(g(e)("Element")), 11, _re),
|
|
39120
39122
|
d("button", {
|
|
39121
39123
|
type: "button",
|
|
39122
39124
|
role: "tab",
|
|
39123
39125
|
"aria-selected": l.value === "component",
|
|
39124
39126
|
class: O(["pbx-inspectorTab pbx-font-sans", { "pbx-inspectorTabActive": l.value === "component" }]),
|
|
39125
39127
|
onClick: N[1] || (N[1] = (j) => M("component"))
|
|
39126
|
-
}, f(g(e)("Component")), 11,
|
|
39128
|
+
}, f(g(e)("Component")), 11, Bre),
|
|
39127
39129
|
d("button", {
|
|
39128
39130
|
type: "button",
|
|
39129
39131
|
role: "tab",
|
|
39130
39132
|
"aria-selected": l.value === "components",
|
|
39131
39133
|
class: O(["pbx-inspectorTab pbx-font-sans", { "pbx-inspectorTabActive": l.value === "components" }]),
|
|
39132
39134
|
onClick: N[2] || (N[2] = (j) => M("components"))
|
|
39133
|
-
}, f(g(e)("Components")), 11,
|
|
39134
|
-
], 8,
|
|
39135
|
-
d("div",
|
|
39136
|
-
l.value === "element" ? (y(), w("div",
|
|
39135
|
+
}, f(g(e)("Components")), 11, Ire)
|
|
39136
|
+
], 8, $re),
|
|
39137
|
+
d("div", Hre, [
|
|
39138
|
+
l.value === "element" ? (y(), w("div", Dre, [
|
|
39137
39139
|
n.value ? (y(), w(oe, { key: 1 }, [
|
|
39138
|
-
d("div",
|
|
39139
|
-
H.value !== null ? (y(), w("div",
|
|
39140
|
-
d("span",
|
|
39141
|
-
d("span",
|
|
39140
|
+
d("div", zre, [
|
|
39141
|
+
H.value !== null ? (y(), w("div", Ore, [
|
|
39142
|
+
d("span", Nre, f(g(e)("Element src:")), 1),
|
|
39143
|
+
d("span", Fre, f(H.value), 1)
|
|
39142
39144
|
])) : A("", !0),
|
|
39143
|
-
d("div",
|
|
39144
|
-
d("span",
|
|
39145
|
+
d("div", jre, [
|
|
39146
|
+
d("span", Vre, f(g(e)("Element classes:")), 1),
|
|
39145
39147
|
R(zs, {
|
|
39146
39148
|
classes: B.value,
|
|
39147
39149
|
"empty-placeholder": ""
|
|
39148
39150
|
}, null, 8, ["classes"])
|
|
39149
39151
|
])
|
|
39150
39152
|
]),
|
|
39151
|
-
d("div",
|
|
39153
|
+
d("div", qre, [
|
|
39152
39154
|
R(rr, {
|
|
39153
39155
|
icon: "visibility",
|
|
39154
39156
|
label: g(e)("View element HTML"),
|
|
@@ -39162,23 +39164,23 @@ const fre = ["title", "aria-label"], yre = { class: "pbx-inspectorIdChipText" },
|
|
|
39162
39164
|
onClick: I
|
|
39163
39165
|
}, null, 8, ["label", "hint"])
|
|
39164
39166
|
])
|
|
39165
|
-
], 64)) : (y(), w("p",
|
|
39167
|
+
], 64)) : (y(), w("p", Rre, f(g(e)("No Element selected")), 1))
|
|
39166
39168
|
])) : A("", !0),
|
|
39167
|
-
l.value === "component" ? (y(), w("div",
|
|
39169
|
+
l.value === "component" ? (y(), w("div", Ure, [
|
|
39168
39170
|
a.value ? (y(), w(oe, { key: 1 }, [
|
|
39169
|
-
d("div",
|
|
39170
|
-
d("div",
|
|
39171
|
-
d("span",
|
|
39171
|
+
d("div", Gre, [
|
|
39172
|
+
d("div", Kre, [
|
|
39173
|
+
d("span", Jre, f(g(e)("ID:")), 1),
|
|
39172
39174
|
R(lm, {
|
|
39173
39175
|
value: a.value.id
|
|
39174
39176
|
}, null, 8, ["value"])
|
|
39175
39177
|
]),
|
|
39176
|
-
d("div",
|
|
39177
|
-
d("span",
|
|
39178
|
-
d("span",
|
|
39178
|
+
d("div", Yre, [
|
|
39179
|
+
d("span", Qre, f(g(e)("Title:")), 1),
|
|
39180
|
+
d("span", Xre, f(a.value.title || "—"), 1)
|
|
39179
39181
|
]),
|
|
39180
|
-
d("div",
|
|
39181
|
-
d("span",
|
|
39182
|
+
d("div", Zre, [
|
|
39183
|
+
d("span", eie, f(g(e)("Component classes:")), 1),
|
|
39182
39184
|
R(zs, {
|
|
39183
39185
|
classes: E.value,
|
|
39184
39186
|
"empty-placeholder": ""
|
|
@@ -39191,9 +39193,9 @@ const fre = ["title", "aria-label"], yre = { class: "pbx-inspectorIdChipText" },
|
|
|
39191
39193
|
hint: g(e)("Preview component markup"),
|
|
39192
39194
|
onClick: _
|
|
39193
39195
|
}, null, 8, ["label", "hint"])
|
|
39194
|
-
], 64)) : (y(), w("p",
|
|
39196
|
+
], 64)) : (y(), w("p", Wre, f(g(e)("No Component selected")), 1))
|
|
39195
39197
|
])) : A("", !0),
|
|
39196
|
-
l.value === "components" ? (y(), w("div",
|
|
39198
|
+
l.value === "components" ? (y(), w("div", tie, [
|
|
39197
39199
|
p.value ? (y(), w("button", {
|
|
39198
39200
|
key: 0,
|
|
39199
39201
|
type: "button",
|
|
@@ -39202,17 +39204,17 @@ const fre = ["title", "aria-label"], yre = { class: "pbx-inspectorIdChipText" },
|
|
|
39202
39204
|
"aria-label": g(e)("Components"),
|
|
39203
39205
|
onClick: b
|
|
39204
39206
|
}, [
|
|
39205
|
-
d("span",
|
|
39207
|
+
d("span", rie, [
|
|
39206
39208
|
d("span", null, f(g(e)("You have added")), 1),
|
|
39207
39209
|
d("span", {
|
|
39208
39210
|
class: "pbx-inspectorCountBadge",
|
|
39209
39211
|
"aria-label": `${p.value} ${g(e)("Components")}`
|
|
39210
|
-
}, f(p.value), 9,
|
|
39212
|
+
}, f(p.value), 9, iie),
|
|
39211
39213
|
d("span", null, f(g(e)("Components")), 1)
|
|
39212
39214
|
]),
|
|
39213
|
-
d("span",
|
|
39214
|
-
], 10,
|
|
39215
|
-
$e(d("div",
|
|
39215
|
+
d("span", nie, f(c.value ? "expand_less" : "expand_more"), 1)
|
|
39216
|
+
], 10, oie)) : (y(), w("div", aie, f(g(e)("No Components added yet")), 1)),
|
|
39217
|
+
$e(d("div", sie, [
|
|
39216
39218
|
(y(!0), w(oe, null, ve(s.value, (j, U) => (y(), w("article", {
|
|
39217
39219
|
key: String(j.id ?? j.title ?? U),
|
|
39218
39220
|
class: "pbx-inspectorComponentCard"
|
|
@@ -39224,29 +39226,29 @@ const fre = ["title", "aria-label"], yre = { class: "pbx-inspectorIdChipText" },
|
|
|
39224
39226
|
"aria-label": j.title || g(e)("Component"),
|
|
39225
39227
|
onClick: (Q) => x(j, U)
|
|
39226
39228
|
}, [
|
|
39227
|
-
d("span",
|
|
39228
|
-
d("span",
|
|
39229
|
-
d("span",
|
|
39229
|
+
d("span", pie, [
|
|
39230
|
+
d("span", die, "#" + f(U + 1), 1),
|
|
39231
|
+
d("span", cie, f(j.title || g(e)("Component")), 1)
|
|
39230
39232
|
]),
|
|
39231
|
-
d("span",
|
|
39232
|
-
], 8,
|
|
39233
|
-
$e(d("div",
|
|
39234
|
-
d("div",
|
|
39235
|
-
d("div",
|
|
39236
|
-
d("span",
|
|
39233
|
+
d("span", uie, f(h(j, U) ? "expand_less" : "expand_more"), 1)
|
|
39234
|
+
], 8, lie),
|
|
39235
|
+
$e(d("div", bie, [
|
|
39236
|
+
d("div", mie, [
|
|
39237
|
+
d("div", gie, [
|
|
39238
|
+
d("span", xie, f(g(e)("ID:")), 1),
|
|
39237
39239
|
R(lm, {
|
|
39238
39240
|
value: j.id
|
|
39239
39241
|
}, null, 8, ["value"])
|
|
39240
39242
|
]),
|
|
39241
|
-
d("div",
|
|
39242
|
-
d("span",
|
|
39243
|
+
d("div", hie, [
|
|
39244
|
+
d("span", fie, f(g(e)("Component classes:")), 1),
|
|
39243
39245
|
R(zs, {
|
|
39244
39246
|
classes: J(j),
|
|
39245
39247
|
"empty-placeholder": ""
|
|
39246
39248
|
}, null, 8, ["classes"])
|
|
39247
39249
|
])
|
|
39248
39250
|
]),
|
|
39249
|
-
d("div",
|
|
39251
|
+
d("div", yie, [
|
|
39250
39252
|
R(rr, {
|
|
39251
39253
|
icon: "visibility",
|
|
39252
39254
|
label: g(e)("View component HTML"),
|
|
@@ -39266,82 +39268,82 @@ const fre = ["title", "aria-label"], yre = { class: "pbx-inspectorIdChipText" },
|
|
|
39266
39268
|
])
|
|
39267
39269
|
]));
|
|
39268
39270
|
}
|
|
39269
|
-
}),
|
|
39271
|
+
}), wie = {
|
|
39270
39272
|
key: 0,
|
|
39271
39273
|
class: "pbx-flex pbx-items-center pbx-gap-1 pbx-border-0 pbx-border-solid pbx-border-b pbx-border-gray-100 pbx-pb-3 pbx-pt-1 pbx-overflow-x-auto"
|
|
39272
|
-
},
|
|
39274
|
+
}, Sie = { key: 1 }, kie = { key: 0 }, Cie = { class: "pbx-flex pbx-items-left pbx-flex-col pbx-gap-1" }, Tie = { class: "pbx-myQuaternaryHeader" }, Pie = {
|
|
39273
39275
|
key: 1,
|
|
39274
39276
|
class: "pbx-editorSectionDesc"
|
|
39275
|
-
},
|
|
39277
|
+
}, Mie = {
|
|
39276
39278
|
key: 2,
|
|
39277
39279
|
class: "pbx-editorSectionDesc"
|
|
39278
|
-
},
|
|
39280
|
+
}, Lie = {
|
|
39279
39281
|
key: 3,
|
|
39280
39282
|
class: "pbx-editorSectionDesc"
|
|
39281
|
-
},
|
|
39283
|
+
}, Eie = { class: "pbx-settingsSection" }, Aie = { class: "pbx-settingsSectionTitle" }, $ie = { class: "pbx-overflow-hidden pbx-shadow-xs md:pbx-rounded-lg pbx-border pbx-border-gray-200" }, _ie = { class: "pbx-overflow-x-auto" }, Bie = { class: "pbx-min-w-full" }, Iie = { class: "pbx-bg-gray-50" }, Hie = {
|
|
39282
39284
|
scope: "col",
|
|
39283
39285
|
class: "pbx-px-6 pbx-py-3 pbx-text-left pbx-text-xs pbx-font-medium pbx-text-gray-500 pbx-uppercase pbx-tracking-wider"
|
|
39284
|
-
},
|
|
39286
|
+
}, Die = {
|
|
39285
39287
|
scope: "col",
|
|
39286
39288
|
class: "pbx-px-6 pbx-py-3 pbx-text-left pbx-text-xs pbx-font-medium pbx-text-gray-500 pbx-uppercase pbx-tracking-wider"
|
|
39287
|
-
},
|
|
39289
|
+
}, Rie = { class: "pbx-bg-white pbx-divide-y pbx-divide-gray-200" }, zie = { class: "pbx-px-6 pbx-py-4 pbx-whitespace-nowrap pbx-text-sm pbx-font-medium pbx-text-gray-900" }, Oie = { class: "pbx-min-w-[30rem] pbx-w-max" }, Nie = { class: "pbx-px-6 pbx-py-4 pbx-whitespace-nowrap pbx-text-sm pbx-text-gray-500" }, Fie = { class: "pbx-min-w-[30rem] pbx-w-max" }, jie = { class: "pbx-inline-flex pbx-items-center pbx-px-2.5 pbx-py-0.5 pbx-rounded-full pbx-text-xs pbx-font-medium pbx-bg-blue-100 pbx-text-blue-800" }, Vie = {
|
|
39288
39290
|
key: 0,
|
|
39289
39291
|
class: "pbx-settingsSection"
|
|
39290
|
-
},
|
|
39292
|
+
}, qie = { class: "pbx-settingsSectionTitle" }, Uie = { class: "pbx-overflow-hidden pbx-shadow-xs md:pbx-rounded-lg pbx-border pbx-border-gray-200" }, Wie = { class: "pbx-overflow-x-auto" }, Gie = { class: "pbx-min-w-full" }, Kie = { class: "pbx-bg-gray-50" }, Jie = {
|
|
39291
39293
|
scope: "col",
|
|
39292
39294
|
class: "pbx-px-6 pbx-py-3 pbx-text-left pbx-text-xs pbx-font-medium pbx-text-gray-500 pbx-uppercase pbx-tracking-wider"
|
|
39293
|
-
},
|
|
39295
|
+
}, Yie = {
|
|
39294
39296
|
scope: "col",
|
|
39295
39297
|
class: "pbx-px-6 pbx-py-3 pbx-text-left pbx-text-xs pbx-font-medium pbx-text-gray-500 pbx-uppercase pbx-tracking-wider"
|
|
39296
|
-
},
|
|
39298
|
+
}, Qie = { class: "pbx-bg-white pbx-divide-y pbx-divide-gray-200" }, Xie = { key: 0 }, Zie = { class: "pbx-px-6 pbx-py-4 pbx-whitespace-nowrap pbx-text-sm pbx-font-medium pbx-text-gray-900" }, ene = { class: "pbx-min-w-[30rem] pbx-w-max" }, tne = { class: "pbx-px-6 pbx-py-4 pbx-whitespace-nowrap pbx-text-sm pbx-text-gray-500" }, one = { class: "pbx-min-w-[30rem] pbx-w-max" }, rne = { key: 1 }, ine = { class: "pbx-px-6 pbx-py-4 pbx-whitespace-nowrap pbx-text-sm pbx-font-medium pbx-text-gray-900" }, nne = { class: "pbx-min-w-[30rem] pbx-w-max" }, ane = { class: "pbx-px-6 pbx-py-4 pbx-whitespace-nowrap pbx-text-sm pbx-text-gray-500" }, sne = { class: "pbx-min-w-[30rem] pbx-w-max" }, lne = {
|
|
39297
39299
|
key: 1,
|
|
39298
39300
|
class: "pbx-settingsSection"
|
|
39299
|
-
},
|
|
39301
|
+
}, pne = { class: "pbx-settingsSectionTitle" }, dne = { class: "pbx-overflow-hidden pbx-shadow-xs md:pbx-rounded-lg pbx-border pbx-border-gray-200" }, cne = { class: "pbx-overflow-x-auto" }, une = { class: "pbx-min-w-full" }, bne = { class: "pbx-bg-gray-50" }, mne = {
|
|
39300
39302
|
scope: "col",
|
|
39301
39303
|
class: "pbx-px-6 pbx-py-3 pbx-text-left pbx-text-xs pbx-font-medium pbx-text-gray-500 pbx-uppercase pbx-tracking-wider"
|
|
39302
|
-
},
|
|
39304
|
+
}, gne = {
|
|
39303
39305
|
scope: "col",
|
|
39304
39306
|
class: "pbx-px-6 pbx-py-3 pbx-text-left pbx-text-xs pbx-font-medium pbx-text-gray-500 pbx-uppercase pbx-tracking-wider"
|
|
39305
|
-
},
|
|
39307
|
+
}, xne = { class: "pbx-bg-white pbx-divide-y pbx-divide-gray-200" }, hne = { class: "pbx-px-6 pbx-py-4 pbx-whitespace-nowrap pbx-text-sm pbx-font-medium pbx-text-gray-900" }, fne = { class: "pbx-min-w-[30rem] pbx-w-max" }, yne = { class: "pbx-px-6 pbx-py-4 pbx-whitespace-nowrap pbx-text-sm pbx-text-gray-500" }, vne = { class: "pbx-min-w-[30rem] pbx-w-max" }, wne = { class: "pbx-flex pbx-items-center pbx-space-x-3" }, Sne = ["src"], kne = { class: "pbx-px-6 pbx-py-4 pbx-whitespace-nowrap pbx-text-sm pbx-font-medium pbx-text-gray-900" }, Cne = { class: "pbx-min-w-[30rem] pbx-w-max" }, Tne = { class: "pbx-px-6 pbx-py-4 pbx-whitespace-nowrap pbx-text-sm pbx-text-gray-500" }, Pne = { class: "pbx-min-w-[30rem] pbx-w-max" }, Mne = { class: "pbx-whitespace-nowrap" }, Lne = {
|
|
39306
39308
|
key: 2,
|
|
39307
39309
|
class: "pbx-settingsSection"
|
|
39308
|
-
},
|
|
39310
|
+
}, Ene = { class: "pbx-settingsSectionTitle" }, Ane = { class: "pbx-overflow-hidden pbx-shadow-xs md:pbx-rounded-lg pbx-border pbx-border-gray-200" }, $ne = { class: "pbx-overflow-x-auto" }, _ne = { class: "pbx-w-max pbx-min-w-full" }, Bne = { class: "pbx-bg-gray-50" }, Ine = {
|
|
39309
39311
|
scope: "col",
|
|
39310
39312
|
class: "pbx-px-6 pbx-py-3 pbx-text-left pbx-text-xs pbx-font-medium pbx-text-gray-500 pbx-uppercase pbx-tracking-wider"
|
|
39311
|
-
},
|
|
39313
|
+
}, Hne = {
|
|
39312
39314
|
scope: "col",
|
|
39313
39315
|
class: "pbx-px-6 pbx-py-3 pbx-text-left pbx-text-xs pbx-font-medium pbx-text-gray-500 pbx-uppercase pbx-tracking-wider"
|
|
39314
|
-
},
|
|
39316
|
+
}, Dne = { class: "pbx-bg-white pbx-divide-y pbx-divide-gray-200" }, Rne = { class: "pbx-px-6 pbx-py-4 pbx-whitespace-nowrap pbx-text-sm pbx-font-medium pbx-text-gray-900" }, zne = { class: "pbx-min-w-[30rem] pbx-w-max" }, One = { class: "pbx-px-6 pbx-py-4 pbx-whitespace-nowrap pbx-text-sm pbx-text-gray-500" }, Nne = { class: "pbx-min-w-[30rem] pbx-w-max" }, Fne = { key: 0 }, jne = { class: "pbx-px-6 pbx-py-4 pbx-whitespace-nowrap pbx-text-sm pbx-font-medium pbx-text-gray-900" }, Vne = { class: "pbx-min-w-[30rem] pbx-w-max" }, qne = { class: "pbx-px-6 pbx-py-4 pbx-whitespace-nowrap pbx-text-sm pbx-text-gray-500" }, Une = { class: "pbx-min-w-[30rem] pbx-w-max" }, Wne = { class: "pbx-inline-flex pbx-items-center pbx-px-2.5 pbx-py-0.5 pbx-rounded-full pbx-text-xs pbx-font-medium" }, Gne = {
|
|
39315
39317
|
key: 5,
|
|
39316
39318
|
class: "pbx-px-2 pbx-settingsSectionGroup"
|
|
39317
|
-
},
|
|
39319
|
+
}, Kne = {
|
|
39318
39320
|
key: 0,
|
|
39319
39321
|
class: "pbx-settingsSection"
|
|
39320
|
-
},
|
|
39322
|
+
}, Jne = { class: "pbx-settingsSectionTitle" }, Yne = { class: "pbx-overflow-hidden pbx-shadow-xs md:pbx-rounded-lg pbx-border pbx-border-gray-200" }, Qne = { class: "pbx-overflow-x-auto" }, Xne = { class: "pbx-min-w-full" }, Zne = { class: "pbx-bg-gray-50" }, eae = {
|
|
39321
39323
|
scope: "col",
|
|
39322
39324
|
class: "pbx-px-6 pbx-py-3 pbx-text-left pbx-text-xs pbx-font-medium pbx-text-gray-500 pbx-uppercase pbx-tracking-wider"
|
|
39323
|
-
},
|
|
39325
|
+
}, tae = {
|
|
39324
39326
|
scope: "col",
|
|
39325
39327
|
class: "pbx-px-6 pbx-py-3 pbx-text-left pbx-text-xs pbx-font-medium pbx-text-gray-500 pbx-uppercase pbx-tracking-wider"
|
|
39326
|
-
},
|
|
39328
|
+
}, oae = { class: "pbx-bg-white pbx-divide-y pbx-divide-gray-200" }, rae = { class: "pbx-px-6 pbx-py-4 pbx-whitespace-nowrap pbx-text-sm pbx-font-medium pbx-text-gray-900" }, iae = { class: "pbx-min-w-[30rem] pbx-w-max" }, nae = { class: "pbx-px-6 pbx-py-4 pbx-whitespace-nowrap pbx-text-sm pbx-text-gray-500" }, aae = { class: "pbx-min-w-[30rem] pbx-w-max" }, sae = { class: "pbx-px-6 pbx-py-4 pbx-whitespace-nowrap pbx-text-sm pbx-text-gray-500" }, lae = { class: "pbx-min-w-[30rem] pbx-w-max" }, pae = { class: "pbx-px-6 pbx-py-4 pbx-whitespace-nowrap pbx-text-sm pbx-font-medium pbx-text-gray-900" }, dae = { class: "pbx-min-w-[30rem] pbx-w-max" }, cae = {
|
|
39327
39329
|
key: 0,
|
|
39328
39330
|
class: "pbx-px-6 pbx-py-4 pbx-whitespace-nowrap pbx-text-sm pbx-text-gray-500"
|
|
39329
|
-
},
|
|
39331
|
+
}, uae = { class: "pbx-min-w-[30rem] pbx-w-max" }, bae = { class: "pbx-flex pbx-items-center pbx-space-x-3" }, mae = ["src"], gae = { class: "pbx-px-6 pbx-py-4 pbx-whitespace-nowrap pbx-text-sm pbx-font-medium pbx-text-gray-900" }, xae = { class: "pbx-min-w-[30rem] pbx-w-max" }, hae = {
|
|
39330
39332
|
key: 0,
|
|
39331
39333
|
class: "pbx-px-6 pbx-py-4 pbx-whitespace-nowrap pbx-text-sm pbx-text-gray-500"
|
|
39332
|
-
},
|
|
39334
|
+
}, fae = { class: "pbx-min-w-[30rem] pbx-w-max" }, yae = {
|
|
39333
39335
|
key: 1,
|
|
39334
39336
|
class: "pbx-settingsSection"
|
|
39335
|
-
},
|
|
39337
|
+
}, vae = { class: "pbx-settingsSectionTitle" }, wae = { class: "pbx-overflow-hidden pbx-shadow-xs md:pbx-rounded-lg pbx-border pbx-border-gray-200" }, Sae = { class: "pbx-overflow-x-auto" }, kae = { class: "pbx-min-w-full" }, Cae = { class: "pbx-bg-gray-50" }, Tae = {
|
|
39336
39338
|
scope: "col",
|
|
39337
39339
|
class: "pbx-px-6 pbx-py-3 pbx-text-left pbx-text-xs pbx-font-medium pbx-text-gray-500 pbx-uppercase pbx-tracking-wider"
|
|
39338
|
-
},
|
|
39340
|
+
}, Pae = {
|
|
39339
39341
|
scope: "col",
|
|
39340
39342
|
class: "pbx-px-6 pbx-py-3 pbx-text-left pbx-text-xs pbx-font-medium pbx-text-gray-500 pbx-uppercase pbx-tracking-wider"
|
|
39341
|
-
},
|
|
39343
|
+
}, Mae = { class: "pbx-bg-white pbx-divide-y pbx-divide-gray-200" }, Lae = { key: 0 }, Eae = { class: "pbx-px-6 pbx-py-4 pbx-whitespace-nowrap pbx-text-sm pbx-font-medium pbx-text-gray-900" }, Aae = { class: "pbx-min-w-[30rem] pbx-w-max" }, $ae = { class: "pbx-px-6 pbx-py-4 pbx-whitespace-nowrap pbx-text-sm pbx-text-gray-500" }, _ae = { class: "pbx-min-w-[30rem] pbx-w-max" }, Bae = { key: 1 }, Iae = { class: "pbx-px-6 pbx-py-4 pbx-whitespace-nowrap pbx-text-sm pbx-font-medium pbx-text-gray-900" }, Hae = { class: "pbx-min-w-[30rem] pbx-w-max" }, Dae = { class: "pbx-px-6 pbx-py-4 pbx-whitespace-nowrap pbx-text-sm pbx-text-gray-500" }, Rae = { class: "pbx-min-w-[30rem] pbx-w-max" }, zae = { key: 2 }, Oae = { class: "pbx-px-6 pbx-py-4 pbx-whitespace-nowrap pbx-text-sm pbx-font-medium pbx-text-gray-900" }, Nae = { class: "pbx-min-w-[30rem] pbx-w-max" }, Fae = { class: "pbx-px-6 pbx-py-4 pbx-whitespace-nowrap pbx-text-sm pbx-text-gray-500" }, jae = { class: "pbx-min-w-[30rem] pbx-w-max" }, Vae = {
|
|
39342
39344
|
key: 0,
|
|
39343
39345
|
class: "pbx-flex pbx-items-left pbx-flex-col pbx-gap-1"
|
|
39344
|
-
},
|
|
39346
|
+
}, qae = { class: "pbx-myQuaternaryHeader" }, Uae = { class: "pbx-myPrimaryParagraph pbx-text-xs" }, Wae = { class: "pbx-settingsSection pbx-whitespace-pre-wrap pbx-text-white pbx-overflow-hidden pbx-bg-gray-900" }, Gae = { class: "pbx-flex bg-gray-800/40 pbx-ring-1 ring-white/5" }, Kae = { class: "pbx-mb-px pbx-flex pbx-text-xs pbx-font-medium pbx-text-myPrimaryMediumGrayColor" }, Jae = { class: "pbx-px-4 pbx-py-4 pbx-text-white" }, Yae = { class: "pbx-px-4 pbx-pb-8 pbx-pt-4 pbx-text-white pbx-text-xs pbx-break-all" }, Qae = { class: "pbx-myPrimaryParagraph pbx-text-xs pbx-text-white" }, Xae = { key: 0 }, Zae = { class: "pbx-editorFieldGroup" }, ese = { key: 1 }, tse = { class: "pbx-myPrimaryParagraph pbx-mt-6 pbx-text-gray-500" }, sa = /* @__PURE__ */ ie({
|
|
39345
39347
|
__name: "PageBuilderSettings",
|
|
39346
39348
|
props: {
|
|
39347
39349
|
embeddedSection: {}
|
|
@@ -39426,7 +39428,7 @@ const fre = ["title", "aria-label"], yre = { class: "pbx-inspectorIdChipText" },
|
|
|
39426
39428
|
i.value ? "pbx-editorEmbeddedSettings" : "pbx-inset-x-0 pbx-h-[90vh] pbx-bg-white pbx-overflow-x-scroll lg:pbx-pt-2 pbx-pt-2"
|
|
39427
39429
|
])
|
|
39428
39430
|
}, [
|
|
39429
|
-
i.value ? A("", !0) : (y(), w("div",
|
|
39431
|
+
i.value ? A("", !0) : (y(), w("div", wie, [
|
|
39430
39432
|
d("button", {
|
|
39431
39433
|
onClick: E[0] || (E[0] = (K) => c("overview")),
|
|
39432
39434
|
type: "button",
|
|
@@ -39470,10 +39472,10 @@ const fre = ["title", "aria-label"], yre = { class: "pbx-inspectorIdChipText" },
|
|
|
39470
39472
|
d("span", null, f(g(t)("Selected HTML")), 1)
|
|
39471
39473
|
], 2)
|
|
39472
39474
|
])),
|
|
39473
|
-
u.value ? (y(), w("div",
|
|
39474
|
-
b.value ? (y(), w("div",
|
|
39475
|
-
d("div",
|
|
39476
|
-
d("h3",
|
|
39475
|
+
u.value ? (y(), w("div", Sie, [
|
|
39476
|
+
b.value ? (y(), w("div", kie, [
|
|
39477
|
+
d("div", Cie, [
|
|
39478
|
+
d("h3", Tie, f(g(t)("Configuration Overview")), 1),
|
|
39477
39479
|
d("p", {
|
|
39478
39480
|
class: O(i.value ? "pbx-editorSectionDesc" : "pbx-myPrimaryParagraph pbx-text-xs")
|
|
39479
39481
|
}, f(g(t)(
|
|
@@ -39481,34 +39483,34 @@ const fre = ["title", "aria-label"], yre = { class: "pbx-inspectorIdChipText" },
|
|
|
39481
39483
|
)), 3)
|
|
39482
39484
|
])
|
|
39483
39485
|
])) : A("", !0),
|
|
39484
|
-
o.embeddedSection === "overviewApp" ? (y(), w("p",
|
|
39485
|
-
o.embeddedSection === "overviewUser" ? (y(), w("p",
|
|
39486
|
-
o.embeddedSection === "overviewConfig" ? (y(), w("p",
|
|
39486
|
+
o.embeddedSection === "overviewApp" ? (y(), w("p", Pie, f(g(t)("Application version, resource metadata, logo, and form configuration.")), 1)) : A("", !0),
|
|
39487
|
+
o.embeddedSection === "overviewUser" ? (y(), w("p", Mie, f(g(t)("Current user profile and saved application preferences.")), 1)) : A("", !0),
|
|
39488
|
+
o.embeddedSection === "overviewConfig" ? (y(), w("p", Lie, f(g(t)(
|
|
39487
39489
|
"Complete configuration object currently used by the Page Builder. Includes user information, branding settings, and other context-specific data needed for rendering and managing the builder environment."
|
|
39488
39490
|
)), 1)) : A("", !0),
|
|
39489
39491
|
m.value ? (y(), w("div", {
|
|
39490
39492
|
key: 4,
|
|
39491
39493
|
class: O(["pbx-px-2 pbx-settingsSectionGroup", b.value && !i.value ? "pbx-mt-8" : ""])
|
|
39492
39494
|
}, [
|
|
39493
|
-
d("div",
|
|
39494
|
-
d("h4",
|
|
39495
|
-
d("div",
|
|
39496
|
-
d("div",
|
|
39497
|
-
d("table",
|
|
39498
|
-
d("thead",
|
|
39495
|
+
d("div", Eie, [
|
|
39496
|
+
d("h4", Aie, f(g(t)("Version Information")), 1),
|
|
39497
|
+
d("div", $ie, [
|
|
39498
|
+
d("div", _ie, [
|
|
39499
|
+
d("table", Bie, [
|
|
39500
|
+
d("thead", Iie, [
|
|
39499
39501
|
d("tr", null, [
|
|
39500
|
-
d("th",
|
|
39501
|
-
d("th",
|
|
39502
|
+
d("th", Hie, f(g(t)("App")), 1),
|
|
39503
|
+
d("th", Die, f(g(t)("Version")), 1)
|
|
39502
39504
|
])
|
|
39503
39505
|
]),
|
|
39504
|
-
d("tbody",
|
|
39506
|
+
d("tbody", Rie, [
|
|
39505
39507
|
d("tr", null, [
|
|
39506
|
-
d("td",
|
|
39507
|
-
d("div",
|
|
39508
|
+
d("td", zie, [
|
|
39509
|
+
d("div", Oie, f(g(t)("Page Builder")), 1)
|
|
39508
39510
|
]),
|
|
39509
|
-
d("td",
|
|
39510
|
-
d("div",
|
|
39511
|
-
d("span",
|
|
39511
|
+
d("td", Nie, [
|
|
39512
|
+
d("div", Fie, [
|
|
39513
|
+
d("span", jie, f(g(hre)), 1)
|
|
39512
39514
|
])
|
|
39513
39515
|
])
|
|
39514
39516
|
])
|
|
@@ -39517,32 +39519,32 @@ const fre = ["title", "aria-label"], yre = { class: "pbx-inspectorIdChipText" },
|
|
|
39517
39519
|
])
|
|
39518
39520
|
])
|
|
39519
39521
|
]),
|
|
39520
|
-
(H = s.value) != null && H.resourceData && !g(Mr)(s.value.resourceData) ? (y(), w("div",
|
|
39521
|
-
d("h4",
|
|
39522
|
-
d("div",
|
|
39523
|
-
d("div",
|
|
39524
|
-
d("table",
|
|
39525
|
-
d("thead",
|
|
39522
|
+
(H = s.value) != null && H.resourceData && !g(Mr)(s.value.resourceData) ? (y(), w("div", Vie, [
|
|
39523
|
+
d("h4", qie, f(g(t)("Resource Data")), 1),
|
|
39524
|
+
d("div", Uie, [
|
|
39525
|
+
d("div", Wie, [
|
|
39526
|
+
d("table", Gie, [
|
|
39527
|
+
d("thead", Kie, [
|
|
39526
39528
|
d("tr", null, [
|
|
39527
|
-
d("th",
|
|
39528
|
-
d("th",
|
|
39529
|
+
d("th", Jie, f(g(t)("Property")), 1),
|
|
39530
|
+
d("th", Yie, f(g(t)("Value")), 1)
|
|
39529
39531
|
])
|
|
39530
39532
|
]),
|
|
39531
|
-
d("tbody",
|
|
39532
|
-
(I = (M = s.value) == null ? void 0 : M.resourceData) != null && I.title ? (y(), w("tr",
|
|
39533
|
-
d("td",
|
|
39534
|
-
d("div",
|
|
39533
|
+
d("tbody", Qie, [
|
|
39534
|
+
(I = (M = s.value) == null ? void 0 : M.resourceData) != null && I.title ? (y(), w("tr", Xie, [
|
|
39535
|
+
d("td", Zie, [
|
|
39536
|
+
d("div", ene, f(g(t)("Title")), 1)
|
|
39535
39537
|
]),
|
|
39536
|
-
d("td",
|
|
39537
|
-
d("div",
|
|
39538
|
+
d("td", tne, [
|
|
39539
|
+
d("div", one, f(s.value.resourceData.title), 1)
|
|
39538
39540
|
])
|
|
39539
39541
|
])) : A("", !0),
|
|
39540
|
-
(T = ($ = s.value) == null ? void 0 : $.resourceData) != null && T.id ? (y(), w("tr",
|
|
39541
|
-
d("td",
|
|
39542
|
-
d("div",
|
|
39542
|
+
(T = ($ = s.value) == null ? void 0 : $.resourceData) != null && T.id ? (y(), w("tr", rne, [
|
|
39543
|
+
d("td", ine, [
|
|
39544
|
+
d("div", nne, f(g(t)("ID")), 1)
|
|
39543
39545
|
]),
|
|
39544
|
-
d("td",
|
|
39545
|
-
d("div",
|
|
39546
|
+
d("td", ane, [
|
|
39547
|
+
d("div", sne, f(s.value.resourceData.id), 1)
|
|
39546
39548
|
])
|
|
39547
39549
|
])) : A("", !0)
|
|
39548
39550
|
])
|
|
@@ -39550,41 +39552,41 @@ const fre = ["title", "aria-label"], yre = { class: "pbx-inspectorIdChipText" },
|
|
|
39550
39552
|
])
|
|
39551
39553
|
])
|
|
39552
39554
|
])) : A("", !0),
|
|
39553
|
-
s.value && s.value.pageBuilderLogo && !g(Mr)(s.value.pageBuilderLogo) ? (y(), w("div",
|
|
39554
|
-
d("h4",
|
|
39555
|
-
d("div",
|
|
39556
|
-
d("div",
|
|
39557
|
-
d("table",
|
|
39558
|
-
d("thead",
|
|
39555
|
+
s.value && s.value.pageBuilderLogo && !g(Mr)(s.value.pageBuilderLogo) ? (y(), w("div", lne, [
|
|
39556
|
+
d("h4", pne, f(g(t)("Logo Configuration")), 1),
|
|
39557
|
+
d("div", dne, [
|
|
39558
|
+
d("div", cne, [
|
|
39559
|
+
d("table", une, [
|
|
39560
|
+
d("thead", bne, [
|
|
39559
39561
|
d("tr", null, [
|
|
39560
|
-
d("th",
|
|
39561
|
-
d("th",
|
|
39562
|
+
d("th", mne, f(g(t)("Property")), 1),
|
|
39563
|
+
d("th", gne, f(g(t)("Value")), 1)
|
|
39562
39564
|
])
|
|
39563
39565
|
]),
|
|
39564
|
-
d("tbody",
|
|
39566
|
+
d("tbody", xne, [
|
|
39565
39567
|
d("tr", null, [
|
|
39566
|
-
d("td",
|
|
39567
|
-
d("div",
|
|
39568
|
+
d("td", hne, [
|
|
39569
|
+
d("div", fne, f(g(t)("Logo")), 1)
|
|
39568
39570
|
]),
|
|
39569
|
-
d("td",
|
|
39570
|
-
d("div",
|
|
39571
|
-
d("div",
|
|
39571
|
+
d("td", yne, [
|
|
39572
|
+
d("div", vne, [
|
|
39573
|
+
d("div", wne, [
|
|
39572
39574
|
d("img", {
|
|
39573
39575
|
class: "pbx-h-4",
|
|
39574
39576
|
src: s.value.pageBuilderLogo.src,
|
|
39575
39577
|
alt: "Logo"
|
|
39576
|
-
}, null, 8,
|
|
39578
|
+
}, null, 8, Sne)
|
|
39577
39579
|
])
|
|
39578
39580
|
])
|
|
39579
39581
|
])
|
|
39580
39582
|
]),
|
|
39581
39583
|
d("tr", null, [
|
|
39582
|
-
d("td",
|
|
39583
|
-
d("div",
|
|
39584
|
+
d("td", kne, [
|
|
39585
|
+
d("div", Cne, f(g(t)("Logo URL")), 1)
|
|
39584
39586
|
]),
|
|
39585
|
-
d("td",
|
|
39586
|
-
d("div",
|
|
39587
|
-
d("span",
|
|
39587
|
+
d("td", Tne, [
|
|
39588
|
+
d("div", Pne, [
|
|
39589
|
+
d("span", Mne, f(s.value.pageBuilderLogo.src), 1)
|
|
39588
39590
|
])
|
|
39589
39591
|
])
|
|
39590
39592
|
])
|
|
@@ -39593,24 +39595,24 @@ const fre = ["title", "aria-label"], yre = { class: "pbx-inspectorIdChipText" },
|
|
|
39593
39595
|
])
|
|
39594
39596
|
])
|
|
39595
39597
|
])) : A("", !0),
|
|
39596
|
-
(_ = s.value) != null && _.updateOrCreate && !g(Mr)(s.value.updateOrCreate) ? (y(), w("div",
|
|
39597
|
-
d("h4",
|
|
39598
|
-
d("div",
|
|
39599
|
-
d("div",
|
|
39600
|
-
d("table",
|
|
39601
|
-
d("thead",
|
|
39598
|
+
(_ = s.value) != null && _.updateOrCreate && !g(Mr)(s.value.updateOrCreate) ? (y(), w("div", Lne, [
|
|
39599
|
+
d("h4", Ene, f(g(t)("Form Type")), 1),
|
|
39600
|
+
d("div", Ane, [
|
|
39601
|
+
d("div", $ne, [
|
|
39602
|
+
d("table", _ne, [
|
|
39603
|
+
d("thead", Bne, [
|
|
39602
39604
|
d("tr", null, [
|
|
39603
|
-
d("th",
|
|
39604
|
-
d("th",
|
|
39605
|
+
d("th", Ine, f(g(t)("Mode")), 1),
|
|
39606
|
+
d("th", Hne, f(g(t)("Description")), 1)
|
|
39605
39607
|
])
|
|
39606
39608
|
]),
|
|
39607
|
-
d("tbody",
|
|
39609
|
+
d("tbody", Dne, [
|
|
39608
39610
|
d("tr", null, [
|
|
39609
|
-
d("td",
|
|
39610
|
-
d("div",
|
|
39611
|
+
d("td", Rne, [
|
|
39612
|
+
d("div", zne, f(g(t)("Form Type")), 1)
|
|
39611
39613
|
]),
|
|
39612
|
-
d("td",
|
|
39613
|
-
d("div",
|
|
39614
|
+
d("td", One, [
|
|
39615
|
+
d("div", Nne, [
|
|
39614
39616
|
d("span", {
|
|
39615
39617
|
class: O([
|
|
39616
39618
|
"pbx-inline-flex pbx-items-center pbx-px-2.5 pbx-py-0.5 pbx-rounded-full pbx-text-xs pbx-font-medium",
|
|
@@ -39620,13 +39622,13 @@ const fre = ["title", "aria-label"], yre = { class: "pbx-inspectorIdChipText" },
|
|
|
39620
39622
|
])
|
|
39621
39623
|
])
|
|
39622
39624
|
]),
|
|
39623
|
-
s.value.updateOrCreate.formName && s.value.updateOrCreate.formName.length > 0 ? (y(), w("tr",
|
|
39624
|
-
d("td",
|
|
39625
|
-
d("div",
|
|
39625
|
+
s.value.updateOrCreate.formName && s.value.updateOrCreate.formName.length > 0 ? (y(), w("tr", Fne, [
|
|
39626
|
+
d("td", jne, [
|
|
39627
|
+
d("div", Vne, f(g(t)("Form Name")), 1)
|
|
39626
39628
|
]),
|
|
39627
|
-
d("td",
|
|
39628
|
-
d("div",
|
|
39629
|
-
d("span",
|
|
39629
|
+
d("td", qne, [
|
|
39630
|
+
d("div", Une, [
|
|
39631
|
+
d("span", Wne, f(s.value.updateOrCreate.formName), 1)
|
|
39630
39632
|
])
|
|
39631
39633
|
])
|
|
39632
39634
|
])) : A("", !0)
|
|
@@ -39636,57 +39638,57 @@ const fre = ["title", "aria-label"], yre = { class: "pbx-inspectorIdChipText" },
|
|
|
39636
39638
|
])
|
|
39637
39639
|
])) : A("", !0)
|
|
39638
39640
|
], 2)) : A("", !0),
|
|
39639
|
-
h.value ? (y(), w("div",
|
|
39640
|
-
(J = s.value) != null && J.userForPageBuilder && !g(Mr)(s.value.userForPageBuilder) ? (y(), w("div",
|
|
39641
|
-
d("h4",
|
|
39642
|
-
d("div",
|
|
39643
|
-
d("div",
|
|
39644
|
-
d("table",
|
|
39645
|
-
d("thead",
|
|
39641
|
+
h.value ? (y(), w("div", Gne, [
|
|
39642
|
+
(J = s.value) != null && J.userForPageBuilder && !g(Mr)(s.value.userForPageBuilder) ? (y(), w("div", Kne, [
|
|
39643
|
+
d("h4", Jne, f(g(t)("User Information")), 1),
|
|
39644
|
+
d("div", Yne, [
|
|
39645
|
+
d("div", Qne, [
|
|
39646
|
+
d("table", Xne, [
|
|
39647
|
+
d("thead", Zne, [
|
|
39646
39648
|
d("tr", null, [
|
|
39647
|
-
d("th",
|
|
39648
|
-
d("th",
|
|
39649
|
+
d("th", eae, f(g(t)("Property")), 1),
|
|
39650
|
+
d("th", tae, f(g(t)("Value")), 1)
|
|
39649
39651
|
])
|
|
39650
39652
|
]),
|
|
39651
|
-
d("tbody",
|
|
39653
|
+
d("tbody", oae, [
|
|
39652
39654
|
d("tr", null, [
|
|
39653
|
-
d("td",
|
|
39654
|
-
d("div",
|
|
39655
|
+
d("td", rae, [
|
|
39656
|
+
d("div", iae, f(g(t)("User Name")), 1)
|
|
39655
39657
|
]),
|
|
39656
|
-
d("td",
|
|
39657
|
-
d("div",
|
|
39658
|
+
d("td", nae, [
|
|
39659
|
+
d("div", aae, f(s.value.userForPageBuilder.name), 1)
|
|
39658
39660
|
])
|
|
39659
39661
|
]),
|
|
39660
39662
|
d("tr", null, [
|
|
39661
39663
|
E[6] || (E[6] = d("td", { class: "pbx-px-6 pbx-py-4 pbx-whitespace-nowrap pbx-text-sm pbx-font-medium pbx-text-gray-900" }, [
|
|
39662
39664
|
d("div", { class: "pbx-min-w-[30rem] pbx-w-max" }, "ID")
|
|
39663
39665
|
], -1)),
|
|
39664
|
-
d("td",
|
|
39665
|
-
d("div",
|
|
39666
|
+
d("td", sae, [
|
|
39667
|
+
d("div", lae, f(s.value.userForPageBuilder.id), 1)
|
|
39666
39668
|
])
|
|
39667
39669
|
]),
|
|
39668
39670
|
d("tr", null, [
|
|
39669
|
-
d("td",
|
|
39670
|
-
d("div",
|
|
39671
|
+
d("td", pae, [
|
|
39672
|
+
d("div", dae, f(g(t)("Image")), 1)
|
|
39671
39673
|
]),
|
|
39672
|
-
s.value.userForPageBuilder.image && typeof s.value.userForPageBuilder.image == "string" && s.value.userForPageBuilder.image.length > 2 ? (y(), w("td",
|
|
39673
|
-
d("div",
|
|
39674
|
-
d("div",
|
|
39674
|
+
s.value.userForPageBuilder.image && typeof s.value.userForPageBuilder.image == "string" && s.value.userForPageBuilder.image.length > 2 ? (y(), w("td", cae, [
|
|
39675
|
+
d("div", uae, [
|
|
39676
|
+
d("div", bae, [
|
|
39675
39677
|
d("img", {
|
|
39676
39678
|
class: "pbx-block pbx-inset-0 pbx-object-top pbx-h-10 pbx-min-h-10 pbx-max-h-10 pbx-w-10 pbx-min-w-10 pbx-max-w-10 pbx-object-cover pbx-rounded-full",
|
|
39677
39679
|
src: s.value.userForPageBuilder.image,
|
|
39678
39680
|
alt: "image"
|
|
39679
|
-
}, null, 8,
|
|
39681
|
+
}, null, 8, mae)
|
|
39680
39682
|
])
|
|
39681
39683
|
])
|
|
39682
39684
|
])) : A("", !0)
|
|
39683
39685
|
]),
|
|
39684
39686
|
d("tr", null, [
|
|
39685
|
-
d("td",
|
|
39686
|
-
d("div",
|
|
39687
|
+
d("td", gae, [
|
|
39688
|
+
d("div", xae, f(g(t)("Image URL")), 1)
|
|
39687
39689
|
]),
|
|
39688
|
-
s.value.userForPageBuilder.image && typeof s.value.userForPageBuilder.image == "string" && s.value.userForPageBuilder.image.length > 2 ? (y(), w("td",
|
|
39689
|
-
d("div",
|
|
39690
|
+
s.value.userForPageBuilder.image && typeof s.value.userForPageBuilder.image == "string" && s.value.userForPageBuilder.image.length > 2 ? (y(), w("td", hae, [
|
|
39691
|
+
d("div", fae, f(s.value.userForPageBuilder.image), 1)
|
|
39690
39692
|
])) : A("", !0)
|
|
39691
39693
|
])
|
|
39692
39694
|
])
|
|
@@ -39694,32 +39696,32 @@ const fre = ["title", "aria-label"], yre = { class: "pbx-inspectorIdChipText" },
|
|
|
39694
39696
|
])
|
|
39695
39697
|
])
|
|
39696
39698
|
])) : A("", !0),
|
|
39697
|
-
(F = s.value) != null && F.userSettings && !g(Mr)(s.value.userSettings) ? (y(), w("div",
|
|
39698
|
-
d("h4",
|
|
39699
|
-
d("div",
|
|
39700
|
-
d("div",
|
|
39701
|
-
d("table",
|
|
39702
|
-
d("thead",
|
|
39699
|
+
(F = s.value) != null && F.userSettings && !g(Mr)(s.value.userSettings) ? (y(), w("div", yae, [
|
|
39700
|
+
d("h4", vae, f(g(t)("User Settings")), 1),
|
|
39701
|
+
d("div", wae, [
|
|
39702
|
+
d("div", Sae, [
|
|
39703
|
+
d("table", kae, [
|
|
39704
|
+
d("thead", Cae, [
|
|
39703
39705
|
d("tr", null, [
|
|
39704
|
-
d("th",
|
|
39705
|
-
d("th",
|
|
39706
|
+
d("th", Tae, f(g(t)("Setting")), 1),
|
|
39707
|
+
d("th", Pae, f(g(t)("Value")), 1)
|
|
39706
39708
|
])
|
|
39707
39709
|
]),
|
|
39708
|
-
d("tbody",
|
|
39709
|
-
(j = (N = s.value) == null ? void 0 : N.userSettings) != null && j.language ? (y(), w("tr",
|
|
39710
|
-
d("td",
|
|
39711
|
-
d("div",
|
|
39710
|
+
d("tbody", Mae, [
|
|
39711
|
+
(j = (N = s.value) == null ? void 0 : N.userSettings) != null && j.language ? (y(), w("tr", Lae, [
|
|
39712
|
+
d("td", Eae, [
|
|
39713
|
+
d("div", Aae, f(g(t)("Language")), 1)
|
|
39712
39714
|
]),
|
|
39713
|
-
d("td",
|
|
39714
|
-
d("div",
|
|
39715
|
+
d("td", $ae, [
|
|
39716
|
+
d("div", _ae, f(s.value.userSettings.language), 1)
|
|
39715
39717
|
])
|
|
39716
39718
|
])) : A("", !0),
|
|
39717
|
-
((Q = (U = s.value) == null ? void 0 : U.userSettings) == null ? void 0 : Q.autoSave) !== void 0 ? (y(), w("tr",
|
|
39718
|
-
d("td",
|
|
39719
|
-
d("div",
|
|
39719
|
+
((Q = (U = s.value) == null ? void 0 : U.userSettings) == null ? void 0 : Q.autoSave) !== void 0 ? (y(), w("tr", Bae, [
|
|
39720
|
+
d("td", Iae, [
|
|
39721
|
+
d("div", Hae, f(g(t)("Auto Save")), 1)
|
|
39720
39722
|
]),
|
|
39721
|
-
d("td",
|
|
39722
|
-
d("div",
|
|
39723
|
+
d("td", Dae, [
|
|
39724
|
+
d("div", Rae, [
|
|
39723
39725
|
d("span", {
|
|
39724
39726
|
class: O([
|
|
39725
39727
|
"pbx-inline-flex pbx-items-center pbx-px-2.5 pbx-py-0.5 pbx-rounded-full pbx-text-xs pbx-font-medium",
|
|
@@ -39729,12 +39731,12 @@ const fre = ["title", "aria-label"], yre = { class: "pbx-inspectorIdChipText" },
|
|
|
39729
39731
|
])
|
|
39730
39732
|
])
|
|
39731
39733
|
])) : A("", !0),
|
|
39732
|
-
((pe = (be = s.value) == null ? void 0 : be.userSettings) == null ? void 0 : pe.notifications) !== void 0 ? (y(), w("tr",
|
|
39733
|
-
d("td",
|
|
39734
|
-
d("div",
|
|
39734
|
+
((pe = (be = s.value) == null ? void 0 : be.userSettings) == null ? void 0 : pe.notifications) !== void 0 ? (y(), w("tr", zae, [
|
|
39735
|
+
d("td", Oae, [
|
|
39736
|
+
d("div", Nae, f(g(t)("Notifications")), 1)
|
|
39735
39737
|
]),
|
|
39736
|
-
d("td",
|
|
39737
|
-
d("div",
|
|
39738
|
+
d("td", Fae, [
|
|
39739
|
+
d("div", jae, [
|
|
39738
39740
|
d("span", {
|
|
39739
39741
|
class: O([
|
|
39740
39742
|
"pbx-inline-flex pbx-items-center pbx-px-2.5 pbx-py-0.5 pbx-rounded-full pbx-text-xs pbx-font-medium",
|
|
@@ -39754,20 +39756,20 @@ const fre = ["title", "aria-label"], yre = { class: "pbx-inspectorIdChipText" },
|
|
|
39754
39756
|
key: 6,
|
|
39755
39757
|
class: O(["pbx-settingsSectionGroup", b.value ? "pbx-mt-12" : ""])
|
|
39756
39758
|
}, [
|
|
39757
|
-
b.value ? (y(), w("div",
|
|
39758
|
-
d("h3",
|
|
39759
|
-
d("p",
|
|
39759
|
+
b.value ? (y(), w("div", Vae, [
|
|
39760
|
+
d("h3", qae, f(g(t)("Complete Configuration Overview")), 1),
|
|
39761
|
+
d("p", Uae, f(g(t)(
|
|
39760
39762
|
"Complete configuration object currently used by the Page Builder. Includes user information, branding settings, and other context-specific data needed for rendering and managing the builder environment."
|
|
39761
39763
|
)), 1)
|
|
39762
39764
|
])) : A("", !0),
|
|
39763
|
-
d("div",
|
|
39764
|
-
d("div",
|
|
39765
|
-
d("div",
|
|
39766
|
-
d("div",
|
|
39765
|
+
d("div", Wae, [
|
|
39766
|
+
d("div", Gae, [
|
|
39767
|
+
d("div", Kae, [
|
|
39768
|
+
d("div", Jae, f(g(t)("Configuration")), 1)
|
|
39767
39769
|
])
|
|
39768
39770
|
]),
|
|
39769
|
-
d("div",
|
|
39770
|
-
d("p",
|
|
39771
|
+
d("div", Yae, [
|
|
39772
|
+
d("p", Qae, " config: " + f(JSON.stringify(s.value, null, 4)), 1)
|
|
39771
39773
|
])
|
|
39772
39774
|
])
|
|
39773
39775
|
], 2)) : A("", !0)
|
|
@@ -39776,13 +39778,13 @@ const fre = ["title", "aria-label"], yre = { class: "pbx-inspectorIdChipText" },
|
|
|
39776
39778
|
key: 2,
|
|
39777
39779
|
class: O(i.value ? "" : "pbx-min-h-screen pbx-mt-4")
|
|
39778
39780
|
}, [
|
|
39779
|
-
Array.isArray(l.value) && l.value.length >= 1 ? (y(), w("div",
|
|
39781
|
+
Array.isArray(l.value) && l.value.length >= 1 ? (y(), w("div", Xae, [
|
|
39780
39782
|
d("p", {
|
|
39781
39783
|
class: O(["pbx-editorSectionDesc", i.value ? "" : "pbx-mb-10"])
|
|
39782
39784
|
}, f(g(t)(
|
|
39783
39785
|
"Export the entire page as a standalone HTML file. This includes all sections, content, and applied styles, making it ready for use or integration elsewhere."
|
|
39784
39786
|
)), 3),
|
|
39785
|
-
d("div",
|
|
39787
|
+
d("div", Zae, [
|
|
39786
39788
|
d("button", {
|
|
39787
39789
|
onClick: k,
|
|
39788
39790
|
type: "button",
|
|
@@ -39791,8 +39793,8 @@ const fre = ["title", "aria-label"], yre = { class: "pbx-inspectorIdChipText" },
|
|
|
39791
39793
|
d("span", null, f(g(t)("Download HTML file")), 1)
|
|
39792
39794
|
])
|
|
39793
39795
|
])
|
|
39794
|
-
])) : (y(), w("div",
|
|
39795
|
-
d("p",
|
|
39796
|
+
])) : (y(), w("div", ese, [
|
|
39797
|
+
d("p", tse, f(g(t)(
|
|
39796
39798
|
"No components added yet. Add components to the page to enable HTML download."
|
|
39797
39799
|
)), 1)
|
|
39798
39800
|
]))
|
|
@@ -39801,16 +39803,16 @@ const fre = ["title", "aria-label"], yre = { class: "pbx-inspectorIdChipText" },
|
|
|
39801
39803
|
key: 3,
|
|
39802
39804
|
class: O(i.value ? "" : "pbx-min-h-screen pbx-mt-4")
|
|
39803
39805
|
}, [
|
|
39804
|
-
R(
|
|
39806
|
+
R(vie)
|
|
39805
39807
|
], 2)) : A("", !0)
|
|
39806
39808
|
], 2);
|
|
39807
39809
|
};
|
|
39808
39810
|
}
|
|
39809
|
-
}),
|
|
39811
|
+
}), ose = { class: "pbx-flex pbx-flex-col pbx-gap-2" }, rse = /* @__PURE__ */ ie({
|
|
39810
39812
|
__name: "OverviewSettingsSection",
|
|
39811
39813
|
setup(o) {
|
|
39812
39814
|
const { translate: e } = Se();
|
|
39813
|
-
return (t, r) => (y(), w("div",
|
|
39815
|
+
return (t, r) => (y(), w("div", ose, [
|
|
39814
39816
|
R(tt, null, {
|
|
39815
39817
|
title: q(() => [
|
|
39816
39818
|
ze(f(g(e)("App & Resource")), 1)
|
|
@@ -39840,7 +39842,7 @@ const fre = ["title", "aria-label"], yre = { class: "pbx-inspectorIdChipText" },
|
|
|
39840
39842
|
})
|
|
39841
39843
|
]));
|
|
39842
39844
|
}
|
|
39843
|
-
}),
|
|
39845
|
+
}), ise = /* @__PURE__ */ ie({
|
|
39844
39846
|
__name: "DownloadHtmlSettingsSection",
|
|
39845
39847
|
setup(o) {
|
|
39846
39848
|
const { translate: e } = Se();
|
|
@@ -39854,7 +39856,7 @@ const fre = ["title", "aria-label"], yre = { class: "pbx-inspectorIdChipText" },
|
|
|
39854
39856
|
_: 1
|
|
39855
39857
|
}));
|
|
39856
39858
|
}
|
|
39857
|
-
}),
|
|
39859
|
+
}), nse = /* @__PURE__ */ ie({
|
|
39858
39860
|
__name: "SelectedHtmlSettingsSection",
|
|
39859
39861
|
setup(o) {
|
|
39860
39862
|
const { translate: e } = Se();
|
|
@@ -39868,31 +39870,31 @@ const fre = ["title", "aria-label"], yre = { class: "pbx-inspectorIdChipText" },
|
|
|
39868
39870
|
_: 1
|
|
39869
39871
|
}));
|
|
39870
39872
|
}
|
|
39871
|
-
}),
|
|
39873
|
+
}), ase = { class: "pbx-myPrimaryParagraph pbx-font-medium pbx-pt-6" }, sse = { class: "pbx-my-2 pbx-py-2" }, lse = {
|
|
39872
39874
|
for: "font-desktop",
|
|
39873
39875
|
class: "pbx-myPrimaryInputLabel"
|
|
39874
|
-
},
|
|
39876
|
+
}, pse = {
|
|
39875
39877
|
disabled: "",
|
|
39876
39878
|
value: ""
|
|
39877
|
-
},
|
|
39879
|
+
}, dse = { class: "pbx-my-2 pbx-py-2" }, cse = {
|
|
39878
39880
|
for: "font-weight",
|
|
39879
39881
|
class: "pbx-myPrimaryInputLabel"
|
|
39880
|
-
},
|
|
39882
|
+
}, use = {
|
|
39881
39883
|
disabled: "",
|
|
39882
39884
|
value: ""
|
|
39883
|
-
},
|
|
39885
|
+
}, bse = { class: "pbx-my-2 pbx-py-2" }, mse = {
|
|
39884
39886
|
for: "font-family",
|
|
39885
39887
|
class: "pbx-myPrimaryInputLabel"
|
|
39886
|
-
},
|
|
39888
|
+
}, gse = { value: null }, xse = ["value"], hse = {
|
|
39887
39889
|
key: 0,
|
|
39888
39890
|
class: "pbx-mt-2 pbx-mb-0 pbx-text-xs pbx-text-gray-500"
|
|
39889
|
-
},
|
|
39891
|
+
}, fse = { class: "pbx-my-2 pbx-py-2" }, yse = {
|
|
39890
39892
|
for: "font-style",
|
|
39891
39893
|
class: "pbx-myPrimaryInputLabel"
|
|
39892
|
-
},
|
|
39894
|
+
}, vse = {
|
|
39893
39895
|
disabled: "",
|
|
39894
39896
|
value: ""
|
|
39895
|
-
},
|
|
39897
|
+
}, wse = /* @__PURE__ */ ie({
|
|
39896
39898
|
__name: "TypographyControl",
|
|
39897
39899
|
setup(o) {
|
|
39898
39900
|
const { translate: e } = Se(), t = Fe(), r = Ne, i = S(null), n = S(null), a = S(null), s = S(null), l = S(null), p = S(null), c = S(""), u = S(null), b = L(() => r.getElement), m = L(() => r.getFontBase), h = L(() => r.getFontDesktop), x = L(() => r.getFontTablet), v = L(() => r.getFontMobile), C = L(() => r.getFontWeight), P = L(() => r.getFontFamily), k = L(() => r.getFontStyle), B = L(() => r.getPageBuilderConfig), E = L(
|
|
@@ -39963,17 +39965,17 @@ const fre = ["title", "aria-label"], yre = { class: "pbx-inspectorIdChipText" },
|
|
|
39963
39965
|
ze(f(g(e)("Typographies")), 1)
|
|
39964
39966
|
]),
|
|
39965
39967
|
content: q(() => [
|
|
39966
|
-
d("p",
|
|
39968
|
+
d("p", ase, f(g(e)("Font Appearance")), 1),
|
|
39967
39969
|
A("", !0),
|
|
39968
|
-
d("div",
|
|
39969
|
-
d("label",
|
|
39970
|
+
d("div", sse, [
|
|
39971
|
+
d("label", lse, f(g(e)("Font size")), 1),
|
|
39970
39972
|
$e(d("select", {
|
|
39971
39973
|
id: "font-desktop",
|
|
39972
39974
|
"onUpdate:modelValue": T[2] || (T[2] = (_) => n.value = _),
|
|
39973
39975
|
class: "pbx-myPrimarySelect",
|
|
39974
39976
|
onChange: T[3] || (T[3] = (_) => g(t).handleFontSizeDesktop(n.value ?? void 0))
|
|
39975
39977
|
}, [
|
|
39976
|
-
d("option",
|
|
39978
|
+
d("option", pse, f(g(e)("Select")), 1),
|
|
39977
39979
|
(y(!0), w(oe, null, ve(g(Ji).fontDesktop, (_) => (y(), w("option", { key: _ }, f(_), 1))), 128))
|
|
39978
39980
|
], 544), [
|
|
39979
39981
|
[Lt, n.value]
|
|
@@ -39981,49 +39983,49 @@ const fre = ["title", "aria-label"], yre = { class: "pbx-inspectorIdChipText" },
|
|
|
39981
39983
|
]),
|
|
39982
39984
|
A("", !0),
|
|
39983
39985
|
T[13] || (T[13] = d("hr", null, null, -1)),
|
|
39984
|
-
d("div",
|
|
39985
|
-
d("label",
|
|
39986
|
+
d("div", dse, [
|
|
39987
|
+
d("label", cse, f(g(e)("Font weight")), 1),
|
|
39986
39988
|
$e(d("select", {
|
|
39987
39989
|
id: "font-weight",
|
|
39988
39990
|
"onUpdate:modelValue": T[8] || (T[8] = (_) => l.value = _),
|
|
39989
39991
|
class: "pbx-myPrimarySelect",
|
|
39990
39992
|
onChange: T[9] || (T[9] = (_) => g(t).handleFontWeight(l.value ?? void 0))
|
|
39991
39993
|
}, [
|
|
39992
|
-
d("option",
|
|
39994
|
+
d("option", use, f(g(e)("Select")), 1),
|
|
39993
39995
|
(y(!0), w(oe, null, ve(g(zo).fontWeight, (_) => (y(), w("option", { key: _ }, f(_), 1))), 128))
|
|
39994
39996
|
], 544), [
|
|
39995
39997
|
[Lt, l.value]
|
|
39996
39998
|
])
|
|
39997
39999
|
]),
|
|
39998
40000
|
T[14] || (T[14] = d("hr", null, null, -1)),
|
|
39999
|
-
d("div",
|
|
40000
|
-
d("label",
|
|
40001
|
+
d("div", bse, [
|
|
40002
|
+
d("label", mse, f(g(e)("Font family")), 1),
|
|
40001
40003
|
$e(d("select", {
|
|
40002
40004
|
id: "font-family",
|
|
40003
40005
|
"onUpdate:modelValue": T[10] || (T[10] = (_) => p.value = _),
|
|
40004
40006
|
class: "pbx-myPrimarySelect",
|
|
40005
40007
|
onChange: M
|
|
40006
40008
|
}, [
|
|
40007
|
-
d("option",
|
|
40009
|
+
d("option", gse, f(g(e)("No font family")), 1),
|
|
40008
40010
|
(y(!0), w(oe, null, ve(E.value.filter((_) => _.value !== "none"), (_) => (y(), w("option", {
|
|
40009
40011
|
key: _.value,
|
|
40010
40012
|
value: _.value
|
|
40011
|
-
}, f(_.label), 9,
|
|
40013
|
+
}, f(_.label), 9, xse))), 128))
|
|
40012
40014
|
], 544), [
|
|
40013
40015
|
[Lt, p.value]
|
|
40014
40016
|
]),
|
|
40015
|
-
!H.value && c.value ? (y(), w("p",
|
|
40017
|
+
!H.value && c.value ? (y(), w("p", hse, f(g(e)("Inherited")) + ": " + f(c.value), 1)) : A("", !0)
|
|
40016
40018
|
]),
|
|
40017
40019
|
T[15] || (T[15] = d("hr", null, null, -1)),
|
|
40018
|
-
d("div",
|
|
40019
|
-
d("label",
|
|
40020
|
+
d("div", fse, [
|
|
40021
|
+
d("label", yse, f(g(e)("Font Style")), 1),
|
|
40020
40022
|
$e(d("select", {
|
|
40021
40023
|
id: "font-style",
|
|
40022
40024
|
"onUpdate:modelValue": T[11] || (T[11] = (_) => u.value = _),
|
|
40023
40025
|
class: "pbx-myPrimarySelect",
|
|
40024
40026
|
onChange: T[12] || (T[12] = (_) => g(t).handleFontStyle(u.value ?? void 0))
|
|
40025
40027
|
}, [
|
|
40026
|
-
d("option",
|
|
40028
|
+
d("option", vse, f(g(e)("Select")), 1),
|
|
40027
40029
|
(y(!0), w(oe, null, ve(g(zo).fontStyle, (_) => (y(), w("option", { key: _ }, f(_), 1))), 128))
|
|
40028
40030
|
], 544), [
|
|
40029
40031
|
[Lt, u.value]
|
|
@@ -40033,10 +40035,10 @@ const fre = ["title", "aria-label"], yre = { class: "pbx-inspectorIdChipText" },
|
|
|
40033
40035
|
_: 1
|
|
40034
40036
|
}));
|
|
40035
40037
|
}
|
|
40036
|
-
}),
|
|
40038
|
+
}), Sse = { class: "pbx-pageDesignEditor pbx-min-h-[60rem]" }, kse = {
|
|
40037
40039
|
key: 0,
|
|
40038
40040
|
class: "pbx-pageDesignLoading"
|
|
40039
|
-
},
|
|
40041
|
+
}, Cse = { class: "pbx-editorSectionDesc pbx-pageDesignIntro" }, Tse = { class: "pbx-pageDesignSection" }, Pse = { class: "pbx-pageDesignSectionTitle" }, Mse = { class: "pbx-pageDesignCard" }, Lse = { class: "pbx-pageDesignToggleRow" }, Ese = { class: "pbx-pageDesignToggleCopy" }, Ase = { class: "pbx-pageDesignToggleLabel" }, $se = { class: "pbx-pageDesignToggleHint" }, _se = { class: "pbx-pageDesignSection" }, Bse = { class: "pbx-pageDesignCard pbx-pageDesignCardWide" }, Ise = { class: "pbx-pageDesignSection" }, Hse = { class: "pbx-pageDesignSectionTitle" }, Dse = { class: "pbx-pageDesignGrid" }, Rse = { class: "pbx-pageDesignCard" }, zse = { class: "pbx-pageDesignCardLabel pbx-px-2" }, Ose = { class: "pbx-pageDesignCard" }, Nse = { class: "pbx-pageDesignCardLabel pbx-px-2" }, Fse = { class: "pbx-pageDesignSection" }, jse = { class: "pbx-pageDesignSectionTitle" }, Vse = { class: "pbx-pageDesignGrid" }, qse = { class: "pbx-pageDesignCard" }, Use = { class: "pbx-pageDesignCard" }, Wse = { class: "pbx-pageDesignSection" }, Gse = { class: "pbx-pageDesignSectionTitle" }, Kse = { class: "pbx-pageDesignGrid" }, Jse = { class: "pbx-pageDesignCard" }, Yse = { class: "pbx-pageDesignCard" }, Qse = { class: "pbx-pageDesignSection" }, Xse = { class: "pbx-pageDesignSectionTitle" }, Zse = { class: "pbx-pageDesignGrid" }, ele = { class: "pbx-pageDesignCard" }, tle = { class: "pbx-pageDesignCard" }, ole = /* @__PURE__ */ ie({
|
|
40040
40042
|
name: "PageDesignEditor",
|
|
40041
40043
|
__name: "PageDesignEditor",
|
|
40042
40044
|
props: {
|
|
@@ -40051,23 +40053,23 @@ const fre = ["title", "aria-label"], yre = { class: "pbx-inspectorIdChipText" },
|
|
|
40051
40053
|
const s = t.setGlobalFullWidth(a);
|
|
40052
40054
|
r.value++, await s;
|
|
40053
40055
|
};
|
|
40054
|
-
return (a, s) => (y(), w("div",
|
|
40055
|
-
o.isLoading ? (y(), w("div",
|
|
40056
|
+
return (a, s) => (y(), w("div", Sse, [
|
|
40057
|
+
o.isLoading ? (y(), w("div", kse, [...s[0] || (s[0] = [
|
|
40056
40058
|
d("div", {
|
|
40057
40059
|
class: "pbx-inline-block pbx-h-8 pbx-w-8 pbx-animate-spin pbx-rounded-full pbx-border-4 pbx-border-solid pbx-border-current pbx-border-r-transparent",
|
|
40058
40060
|
role: "status"
|
|
40059
40061
|
}, null, -1)
|
|
40060
40062
|
])])) : (y(), w(oe, { key: 1 }, [
|
|
40061
|
-
d("p",
|
|
40063
|
+
d("p", Cse, f(g(e)(
|
|
40062
40064
|
"Apply styles that affect the entire page. These settings include global font family, text color, background color, and other universal styles that apply to all sections."
|
|
40063
40065
|
)), 1),
|
|
40064
|
-
d("section",
|
|
40065
|
-
d("h4",
|
|
40066
|
-
d("div",
|
|
40067
|
-
d("div",
|
|
40068
|
-
d("div",
|
|
40069
|
-
d("p",
|
|
40070
|
-
d("p",
|
|
40066
|
+
d("section", Tse, [
|
|
40067
|
+
d("h4", Pse, f(g(e)("Layout")), 1),
|
|
40068
|
+
d("div", Mse, [
|
|
40069
|
+
d("div", Lse, [
|
|
40070
|
+
d("div", Ese, [
|
|
40071
|
+
d("p", Ase, f(g(e)("Full-width page")), 1),
|
|
40072
|
+
d("p", $se, f(g(e)("Stretch all sections across browser width")), 1)
|
|
40071
40073
|
]),
|
|
40072
40074
|
R(_o, {
|
|
40073
40075
|
"model-value": i.value,
|
|
@@ -40076,53 +40078,53 @@ const fre = ["title", "aria-label"], yre = { class: "pbx-inspectorIdChipText" },
|
|
|
40076
40078
|
])
|
|
40077
40079
|
])
|
|
40078
40080
|
]),
|
|
40079
|
-
d("section",
|
|
40080
|
-
d("div",
|
|
40081
|
-
R(
|
|
40081
|
+
d("section", _se, [
|
|
40082
|
+
d("div", Bse, [
|
|
40083
|
+
R(wse)
|
|
40082
40084
|
])
|
|
40083
40085
|
]),
|
|
40084
|
-
d("section",
|
|
40085
|
-
d("h4",
|
|
40086
|
-
d("div",
|
|
40087
|
-
d("div",
|
|
40088
|
-
d("p",
|
|
40086
|
+
d("section", Ise, [
|
|
40087
|
+
d("h4", Hse, f(g(e)("Colors")), 1),
|
|
40088
|
+
d("div", Dse, [
|
|
40089
|
+
d("div", Rse, [
|
|
40090
|
+
d("p", zse, f(g(e)("Text Color")), 1),
|
|
40089
40091
|
R(JD, { globalPageLayout: !0 })
|
|
40090
40092
|
]),
|
|
40091
|
-
d("div",
|
|
40092
|
-
d("p",
|
|
40093
|
+
d("div", Ose, [
|
|
40094
|
+
d("p", Nse, f(g(e)("Background Color")), 1),
|
|
40093
40095
|
R(YD, { globalPageLayout: !0 })
|
|
40094
40096
|
])
|
|
40095
40097
|
])
|
|
40096
40098
|
]),
|
|
40097
|
-
d("section",
|
|
40098
|
-
d("h4",
|
|
40099
|
-
d("div",
|
|
40100
|
-
d("div",
|
|
40099
|
+
d("section", Fse, [
|
|
40100
|
+
d("h4", jse, f(g(e)("Spacing")), 1),
|
|
40101
|
+
d("div", Vse, [
|
|
40102
|
+
d("div", qse, [
|
|
40101
40103
|
R(dR)
|
|
40102
40104
|
]),
|
|
40103
|
-
d("div",
|
|
40105
|
+
d("div", Use, [
|
|
40104
40106
|
R(cR)
|
|
40105
40107
|
])
|
|
40106
40108
|
])
|
|
40107
40109
|
]),
|
|
40108
|
-
d("section",
|
|
40109
|
-
d("h4",
|
|
40110
|
-
d("div",
|
|
40111
|
-
d("div",
|
|
40110
|
+
d("section", Wse, [
|
|
40111
|
+
d("h4", Gse, f(g(e)("Borders")), 1),
|
|
40112
|
+
d("div", Kse, [
|
|
40113
|
+
d("div", Jse, [
|
|
40112
40114
|
R(uR)
|
|
40113
40115
|
]),
|
|
40114
|
-
d("div",
|
|
40116
|
+
d("div", Yse, [
|
|
40115
40117
|
R(bR)
|
|
40116
40118
|
])
|
|
40117
40119
|
])
|
|
40118
40120
|
]),
|
|
40119
|
-
d("section",
|
|
40120
|
-
d("h4",
|
|
40121
|
-
d("div",
|
|
40122
|
-
d("div",
|
|
40121
|
+
d("section", Qse, [
|
|
40122
|
+
d("h4", Xse, f(g(e)("Advanced")), 1),
|
|
40123
|
+
d("div", Zse, [
|
|
40124
|
+
d("div", ele, [
|
|
40123
40125
|
R(nR)
|
|
40124
40126
|
]),
|
|
40125
|
-
d("div",
|
|
40127
|
+
d("div", tle, [
|
|
40126
40128
|
R(aR)
|
|
40127
40129
|
])
|
|
40128
40130
|
])
|
|
@@ -40130,13 +40132,13 @@ const fre = ["title", "aria-label"], yre = { class: "pbx-inspectorIdChipText" },
|
|
|
40130
40132
|
], 64))
|
|
40131
40133
|
]));
|
|
40132
40134
|
}
|
|
40133
|
-
}),
|
|
40135
|
+
}), rle = { class: "pbx-flex pbx-h-full pbx-flex-col" }, ile = { class: "pbx-flex pbx-flex-row pbx-justify-between pbx-pt-7 pbx-pr-4 pbx-pl-4 pbx-items-center pbx-mb-3" }, nle = ["aria-label"], ale = { class: "pbx-font-medium pbx-text-sm" }, sle = { class: "pbx-lowercase" }, lle = { class: "pbx-px-4 pbx-mb-3" }, ple = ["aria-label"], dle = ["aria-selected"], cle = ["aria-selected"], ule = ["aria-selected"], ble = { class: "pbx-flex pbx-flex-col pbx-gap-2" }, mle = {
|
|
40134
40136
|
key: 0,
|
|
40135
40137
|
class: "pbx-flex pbx-flex-col pbx-gap-2"
|
|
40136
|
-
},
|
|
40138
|
+
}, gle = {
|
|
40137
40139
|
key: 1,
|
|
40138
40140
|
class: "pbx-rounded-xl pbx-border pbx-border-solid pbx-border-gray-200 pbx-bg-white pbx-px-4 pbx-py-8 pbx-text-center"
|
|
40139
|
-
},
|
|
40141
|
+
}, xle = { class: "pbx-myPrimaryParagraph pbx-text-sm pbx-text-gray-500 pbx-my-0" }, hle = { class: "pbx-flex pbx-flex-col pbx-gap-2" }, fle = { class: "pbx-flex pbx-flex-col pbx-gap-2" }, yle = /* @__PURE__ */ ie({
|
|
40140
40142
|
__name: "RightSidebarEditor",
|
|
40141
40143
|
emits: ["closeEditor"],
|
|
40142
40144
|
setup(o) {
|
|
@@ -40181,8 +40183,8 @@ const fre = ["title", "aria-label"], yre = { class: "pbx-inspectorIdChipText" },
|
|
|
40181
40183
|
P && P.removeAttribute("data-global-selected"), h.value = !1, x.value = !1;
|
|
40182
40184
|
};
|
|
40183
40185
|
return (P, k) => (y(), w(oe, null, [
|
|
40184
|
-
d("div",
|
|
40185
|
-
d("div",
|
|
40186
|
+
d("div", rle, [
|
|
40187
|
+
d("div", ile, [
|
|
40186
40188
|
d("button", {
|
|
40187
40189
|
type: "button",
|
|
40188
40190
|
onClick: k[0] || (k[0] = (B) => P.$emit("closeEditor")),
|
|
@@ -40193,17 +40195,17 @@ const fre = ["title", "aria-label"], yre = { class: "pbx-inspectorIdChipText" },
|
|
|
40193
40195
|
class: "material-symbols-outlined",
|
|
40194
40196
|
"aria-hidden": "true"
|
|
40195
40197
|
}, " close ", -1)
|
|
40196
|
-
])], 8,
|
|
40197
|
-
d("p",
|
|
40198
|
+
])], 8, nle),
|
|
40199
|
+
d("p", ale, [
|
|
40198
40200
|
l.value ? (y(), w(oe, { key: 0 }, [
|
|
40199
40201
|
ze(f(g(e)("Editing")) + " ", 1),
|
|
40200
|
-
d("span",
|
|
40202
|
+
d("span", sle, "<" + f(s.value) + ">", 1)
|
|
40201
40203
|
], 64)) : (y(), w(oe, { key: 1 }, [
|
|
40202
40204
|
ze(f(g(e)("Properties")), 1)
|
|
40203
40205
|
], 64))
|
|
40204
40206
|
])
|
|
40205
40207
|
]),
|
|
40206
|
-
d("div",
|
|
40208
|
+
d("div", lle, [
|
|
40207
40209
|
d("div", {
|
|
40208
40210
|
class: "pbx-grid pbx-grid-cols-3 pbx-gap-1 pbx-rounded-xl pbx-border pbx-border-solid pbx-border-gray-200 pbx-bg-white pbx-p-1",
|
|
40209
40211
|
role: "tablist",
|
|
@@ -40218,7 +40220,7 @@ const fre = ["title", "aria-label"], yre = { class: "pbx-inspectorIdChipText" },
|
|
|
40218
40220
|
n.value === "styles" ? "pbx-bg-myPrimaryLinkColor pbx-text-white pbx-shadow-sm" : "pbx-bg-transparent pbx-text-myPrimaryDarkGrayColor hover:pbx-bg-gray-50"
|
|
40219
40221
|
]),
|
|
40220
40222
|
onClick: k[1] || (k[1] = (B) => m("styles"))
|
|
40221
|
-
}, f(g(e)("Styles")), 11,
|
|
40223
|
+
}, f(g(e)("Styles")), 11, dle),
|
|
40222
40224
|
d("button", {
|
|
40223
40225
|
type: "button",
|
|
40224
40226
|
role: "tab",
|
|
@@ -40228,7 +40230,7 @@ const fre = ["title", "aria-label"], yre = { class: "pbx-inspectorIdChipText" },
|
|
|
40228
40230
|
n.value === "settings" ? "pbx-bg-myPrimaryLinkColor pbx-text-white pbx-shadow-sm" : "pbx-bg-transparent pbx-text-myPrimaryDarkGrayColor hover:pbx-bg-gray-50"
|
|
40229
40231
|
]),
|
|
40230
40232
|
onClick: k[2] || (k[2] = (B) => m("settings"))
|
|
40231
|
-
}, f(g(e)("Settings")), 11,
|
|
40233
|
+
}, f(g(e)("Settings")), 11, cle),
|
|
40232
40234
|
d("button", {
|
|
40233
40235
|
type: "button",
|
|
40234
40236
|
role: "tab",
|
|
@@ -40238,8 +40240,8 @@ const fre = ["title", "aria-label"], yre = { class: "pbx-inspectorIdChipText" },
|
|
|
40238
40240
|
n.value === "tools" ? "pbx-bg-myPrimaryLinkColor pbx-text-white pbx-shadow-sm" : "pbx-bg-transparent pbx-text-myPrimaryDarkGrayColor hover:pbx-bg-gray-50"
|
|
40239
40241
|
]),
|
|
40240
40242
|
onClick: k[3] || (k[3] = (B) => m("tools"))
|
|
40241
|
-
}, f(g(e)("Tools")), 11,
|
|
40242
|
-
], 8,
|
|
40243
|
+
}, f(g(e)("Tools")), 11, ule)
|
|
40244
|
+
], 8, ple)
|
|
40243
40245
|
]),
|
|
40244
40246
|
d("div", {
|
|
40245
40247
|
ref_key: "scrollContainer",
|
|
@@ -40247,37 +40249,37 @@ const fre = ["title", "aria-label"], yre = { class: "pbx-inspectorIdChipText" },
|
|
|
40247
40249
|
onScroll: b,
|
|
40248
40250
|
class: "pbx-pl-3 pbx-pr-3 pbx-mb-4 pbx-flex-1 pbx-overflow-y-scroll"
|
|
40249
40251
|
}, [
|
|
40250
|
-
$e(d("div",
|
|
40251
|
-
l.value ? (y(), w("div",
|
|
40252
|
-
p.value ? (y(), me(
|
|
40253
|
-
R(
|
|
40252
|
+
$e(d("div", ble, [
|
|
40253
|
+
l.value ? (y(), w("div", mle, [
|
|
40254
|
+
p.value ? (y(), me(Qee, { key: 0 })) : A("", !0),
|
|
40255
|
+
R(fte),
|
|
40254
40256
|
R(dR),
|
|
40255
40257
|
R(cR),
|
|
40256
40258
|
R(uR),
|
|
40257
40259
|
R(bR),
|
|
40258
40260
|
R(nR),
|
|
40259
40261
|
R(aR),
|
|
40260
|
-
R(
|
|
40261
|
-
])) : (y(), w("div",
|
|
40262
|
-
d("p",
|
|
40262
|
+
R(qee)
|
|
40263
|
+
])) : (y(), w("div", gle, [
|
|
40264
|
+
d("p", xle, f(g(e)("No Element selected")), 1)
|
|
40263
40265
|
]))
|
|
40264
40266
|
], 512), [
|
|
40265
40267
|
[$r, n.value === "styles"]
|
|
40266
40268
|
]),
|
|
40267
|
-
$e(d("div",
|
|
40268
|
-
R(
|
|
40269
|
-
R(
|
|
40270
|
-
R(
|
|
40271
|
-
R(
|
|
40272
|
-
R(
|
|
40273
|
-
R(
|
|
40269
|
+
$e(d("div", hle, [
|
|
40270
|
+
R(bre, { onOpen: v }),
|
|
40271
|
+
R(Poe),
|
|
40272
|
+
R(Roe),
|
|
40273
|
+
R(rre),
|
|
40274
|
+
R(xre),
|
|
40275
|
+
R(lre)
|
|
40274
40276
|
], 512), [
|
|
40275
40277
|
[$r, n.value === "settings"]
|
|
40276
40278
|
]),
|
|
40277
|
-
$e(d("div",
|
|
40278
|
-
R(ose),
|
|
40279
|
+
$e(d("div", fle, [
|
|
40279
40280
|
R(rse),
|
|
40280
|
-
R(ise)
|
|
40281
|
+
R(ise),
|
|
40282
|
+
R(nse)
|
|
40281
40283
|
], 512), [
|
|
40282
40284
|
[$r, n.value === "tools"]
|
|
40283
40285
|
])
|
|
@@ -40292,37 +40294,37 @@ const fre = ["title", "aria-label"], yre = { class: "pbx-inspectorIdChipText" },
|
|
|
40292
40294
|
maxHeight: ""
|
|
40293
40295
|
}, {
|
|
40294
40296
|
default: q(() => [
|
|
40295
|
-
R(
|
|
40297
|
+
R(ole, { isLoading: x.value }, null, 8, ["isLoading"])
|
|
40296
40298
|
]),
|
|
40297
40299
|
_: 1
|
|
40298
40300
|
}, 8, ["showModalBuilder", "title"])
|
|
40299
40301
|
], 64));
|
|
40300
40302
|
}
|
|
40301
|
-
}),
|
|
40303
|
+
}), vle = { class: "pbx-flex pbx-items-center pbx-justify-center pbx-ml-2" }, wle = { class: "pbx-mr-2" }, Sle = {
|
|
40302
40304
|
key: 0,
|
|
40303
40305
|
class: "pbx-flex pbx-items-center pbx-myPrimaryTag pbx-whitespace-nowrap pbx-py-0 pbx-gap-2"
|
|
40304
|
-
},
|
|
40306
|
+
}, kle = { class: "pbx-text-white pbx-rounded-full pbx-bg-myPrimaryBrandColor pbx-flex pbx-justify-center pbx-items-center pbx-text-xs pbx-d pbx-min-d pbx-max-d lg:pbx-w-8 lg:pbx-h-8 lg:pbx-min-w-8 lg:pbx-max-w-8 pbx-w-8 pbx-h-8 pbx-min-w-8 pbx-max-w-8 pbx-font-normal" }, Cle = {
|
|
40305
40307
|
key: 1,
|
|
40306
40308
|
class: "pbx-flex pbx-items-center lg:pbx-myPrimaryTag pbx-whitespace-nowrap pbx-py-0 pbx-gap-4 pbx-w-max pbx-h-12 pbx-ml-2"
|
|
40307
|
-
},
|
|
40309
|
+
}, Tle = { class: "pbx-text-white pbx-flex-shrink-0 pbx-d pbx-w-10 pbx-h-10 pbx-rounded-full pbx-flex pbx-justify-center pbx-items-center pbx-text-xs pbx-rounded-l-full" }, Ple = ["src"], Mle = /* @__PURE__ */ ie({
|
|
40308
40310
|
__name: "ToolbarOption",
|
|
40309
40311
|
setup(o) {
|
|
40310
40312
|
const e = Ne, t = L(() => e.getPageBuilderConfig);
|
|
40311
40313
|
return (r, i) => {
|
|
40312
40314
|
var n;
|
|
40313
40315
|
return y(), w("div", null, [
|
|
40314
|
-
d("div",
|
|
40315
|
-
d("div",
|
|
40316
|
-
t.value && t.value.userForPageBuilder && t.value.userForPageBuilder.name && (!t.value.userForPageBuilder.image || typeof t.value.userForPageBuilder.image == "string" && ((n = t.value.userForPageBuilder.image) == null ? void 0 : n.length) < 2) ? (y(), w("div",
|
|
40317
|
-
d("div",
|
|
40316
|
+
d("div", vle, [
|
|
40317
|
+
d("div", wle, [
|
|
40318
|
+
t.value && t.value.userForPageBuilder && t.value.userForPageBuilder.name && (!t.value.userForPageBuilder.image || typeof t.value.userForPageBuilder.image == "string" && ((n = t.value.userForPageBuilder.image) == null ? void 0 : n.length) < 2) ? (y(), w("div", Sle, [
|
|
40319
|
+
d("div", kle, f(typeof t.value.userForPageBuilder.name == "string" && t.value.userForPageBuilder.name[0]), 1)
|
|
40318
40320
|
])) : A("", !0),
|
|
40319
|
-
t.value && t.value.userForPageBuilder && t.value.userForPageBuilder.name && t.value.userForPageBuilder.image && typeof t.value.userForPageBuilder.image == "string" && t.value.userForPageBuilder.image.length > 2 ? (y(), w("div",
|
|
40320
|
-
d("div",
|
|
40321
|
+
t.value && t.value.userForPageBuilder && t.value.userForPageBuilder.name && t.value.userForPageBuilder.image && typeof t.value.userForPageBuilder.image == "string" && t.value.userForPageBuilder.image.length > 2 ? (y(), w("div", Cle, [
|
|
40322
|
+
d("div", Tle, [
|
|
40321
40323
|
d("img", {
|
|
40322
40324
|
alt: "Avatar",
|
|
40323
40325
|
src: `${t.value.userForPageBuilder.image}`,
|
|
40324
40326
|
class: "pbx-block pbx-inset-0 pbx-object-top pbx-d pbx-min-d pbx-max-d lg:pbx-w-8 lg:pbx-h-8 lg:pbx-min-w-8 lg:pbx-max-w-8 pbx-w-8 pbx-h-8 pbx-min-w-8 pbx-max-w-8 pbx-object-cover pbx-rounded-full"
|
|
40325
|
-
}, null, 8,
|
|
40327
|
+
}, null, 8, Ple)
|
|
40326
40328
|
])
|
|
40327
40329
|
])) : A("", !0)
|
|
40328
40330
|
])
|
|
@@ -40332,13 +40334,13 @@ const fre = ["title", "aria-label"], yre = { class: "pbx-inspectorIdChipText" },
|
|
|
40332
40334
|
}
|
|
40333
40335
|
});
|
|
40334
40336
|
let Qp = null;
|
|
40335
|
-
function
|
|
40337
|
+
function Lle() {
|
|
40336
40338
|
return (o, e = 300) => {
|
|
40337
40339
|
Qp && clearTimeout(Qp), Qp = setTimeout(o, e);
|
|
40338
40340
|
};
|
|
40339
40341
|
}
|
|
40340
|
-
const
|
|
40341
|
-
function
|
|
40342
|
+
const Ele = {};
|
|
40343
|
+
function Ale(o, e) {
|
|
40342
40344
|
return y(), me(hi, { to: "body" }, [
|
|
40343
40345
|
e[0] || (e[0] = d("div", { class: "pbx-bg-white pbx-flex pbx-justify-center pbx-items-center min-pbx-h-screen pbx-h-screen pbx-w-screen pbx-fixed pbx-inset-0 pbx-z-[10000]" }, [
|
|
40344
40346
|
d("div", { class: "pbx-absolute pbx-top-1/3" }, [
|
|
@@ -40351,19 +40353,19 @@ function Ele(o, e) {
|
|
|
40351
40353
|
], -1))
|
|
40352
40354
|
]);
|
|
40353
40355
|
}
|
|
40354
|
-
const xR = /* @__PURE__ */ mn(
|
|
40356
|
+
const xR = /* @__PURE__ */ mn(Ele, [["render", Ale]]), $le = { class: "pbx-text-sm pbx-font-semibold pbx-text-myPrimaryDarkGrayColor pbx-mb-2" }, _le = { class: "pbx-flex pbx-gap-2" }, Ble = { class: "pbx-text-xs pbx-text-gray-500 pbx-mt-2 pbx-mb-0" }, Ile = { class: "pbx-text-sm pbx-font-semibold pbx-text-myPrimaryDarkGrayColor pbx-mb-2" }, Hle = { class: "pbx-flex pbx-items-center pbx-justify-center" }, Dle = {
|
|
40355
40357
|
class: "pbx-inline-grid pbx-gap-1 pbx-py-8 pbx-px-2 pbx-rounded-xl pbx-border pbx-border-solid pbx-border-gray-200 pbx-bg-gray-50 pbx-w-full pbx-justify-center",
|
|
40356
40358
|
style: { "grid-template-columns": "repeat(3, 2.5rem)" }
|
|
40357
|
-
},
|
|
40359
|
+
}, Rle = ["title", "onClick"], zle = { class: "pbx-text-sm pbx-font-semibold pbx-text-myPrimaryDarkGrayColor pbx-mb-2" }, Ole = { class: "pbx-grid pbx-grid-cols-2 pbx-gap-2" }, Nle = ["onClick"], Fle = {
|
|
40358
40360
|
for: "image-alt-text",
|
|
40359
40361
|
class: "pbx-text-sm pbx-font-semibold pbx-text-myPrimaryDarkGrayColor pbx-mb-2 pbx-block"
|
|
40360
|
-
},
|
|
40362
|
+
}, jle = { class: "pbx-flex pbx-justify-between pbx-items-center pbx-gap-4 pbx-border pbx-border-gray-200 pbx-py-4 pbx-px-3 pbx-rounded-lg" }, Vle = ["placeholder", "onKeydown"], qle = ["disabled", "title"], Ule = {
|
|
40361
40363
|
key: 0,
|
|
40362
40364
|
class: "material-symbols-outlined pbx-materialIconXl"
|
|
40363
|
-
},
|
|
40365
|
+
}, Wle = {
|
|
40364
40366
|
key: 1,
|
|
40365
40367
|
class: "material-symbols-outlined pbx-animate-spin"
|
|
40366
|
-
},
|
|
40368
|
+
}, Gle = { class: "pbx-text-xs pbx-text-gray-500 pbx-mt-2 pbx-mb-0" }, Kle = /* @__PURE__ */ ie({
|
|
40367
40369
|
__name: "ImageSettingsModal",
|
|
40368
40370
|
props: {
|
|
40369
40371
|
show: { type: Boolean }
|
|
@@ -40433,8 +40435,8 @@ const xR = /* @__PURE__ */ mn(Lle, [["render", Ele]]), Ale = { class: "pbx-text-
|
|
|
40433
40435
|
}, ["stop"]))
|
|
40434
40436
|
}, [
|
|
40435
40437
|
d("div", null, [
|
|
40436
|
-
d("p",
|
|
40437
|
-
d("div",
|
|
40438
|
+
d("p", $le, f(g(t)("Image fit")), 1),
|
|
40439
|
+
d("div", _le, [
|
|
40438
40440
|
d("button", {
|
|
40439
40441
|
type: "button",
|
|
40440
40442
|
class: O([
|
|
@@ -40452,12 +40454,12 @@ const xR = /* @__PURE__ */ mn(Lle, [["render", Ele]]), Ale = { class: "pbx-text-
|
|
|
40452
40454
|
onClick: M[1] || (M[1] = (I) => C("pbx-object-contain"))
|
|
40453
40455
|
}, f(g(t)("Contain")), 3)
|
|
40454
40456
|
]),
|
|
40455
|
-
d("p",
|
|
40457
|
+
d("p", Ble, f(g(t)("Cover fills the frame and may crop. Contain shows the full image.")), 1)
|
|
40456
40458
|
]),
|
|
40457
40459
|
d("div", null, [
|
|
40458
|
-
d("p",
|
|
40459
|
-
d("div",
|
|
40460
|
-
d("div",
|
|
40460
|
+
d("p", Ile, f(g(t)("Crop focus")), 1),
|
|
40461
|
+
d("div", Hle, [
|
|
40462
|
+
d("div", Dle, [
|
|
40461
40463
|
(y(!0), w(oe, null, ve(c.flat(), (I) => (y(), w("button", {
|
|
40462
40464
|
key: I,
|
|
40463
40465
|
type: "button",
|
|
@@ -40469,13 +40471,13 @@ const xR = /* @__PURE__ */ mn(Lle, [["render", Ele]]), Ale = { class: "pbx-text-
|
|
|
40469
40471
|
onClick: ($) => P(I)
|
|
40470
40472
|
}, [...M[5] || (M[5] = [
|
|
40471
40473
|
d("span", { class: "material-symbols-outlined pbx-materialIconBase" }, "crop_free", -1)
|
|
40472
|
-
])], 10,
|
|
40474
|
+
])], 10, Rle))), 128))
|
|
40473
40475
|
])
|
|
40474
40476
|
])
|
|
40475
40477
|
]),
|
|
40476
40478
|
d("div", null, [
|
|
40477
|
-
d("p",
|
|
40478
|
-
d("div",
|
|
40479
|
+
d("p", zle, f(g(t)("Shape")), 1),
|
|
40480
|
+
d("div", Ole, [
|
|
40479
40481
|
(y(), w(oe, null, ve(E, (I) => d("button", {
|
|
40480
40482
|
key: I.id,
|
|
40481
40483
|
type: "button",
|
|
@@ -40484,12 +40486,12 @@ const xR = /* @__PURE__ */ mn(Lle, [["render", Ele]]), Ale = { class: "pbx-text-
|
|
|
40484
40486
|
m.value === I.id ? "pbx-border-myPrimaryLinkColor pbx-bg-myPrimaryLinkColor pbx-text-white" : "pbx-border-gray-200 pbx-bg-white pbx-text-gray-700 hover:pbx-border-gray-300"
|
|
40485
40487
|
]),
|
|
40486
40488
|
onClick: ($) => k(I.id)
|
|
40487
|
-
}, f(g(t)(I.labelKey)), 11,
|
|
40489
|
+
}, f(g(t)(I.labelKey)), 11, Nle)), 64))
|
|
40488
40490
|
])
|
|
40489
40491
|
]),
|
|
40490
40492
|
d("div", null, [
|
|
40491
|
-
d("label",
|
|
40492
|
-
d("div",
|
|
40493
|
+
d("label", Fle, f(g(t)("Alt text")), 1),
|
|
40494
|
+
d("div", jle, [
|
|
40493
40495
|
$e(d("input", {
|
|
40494
40496
|
id: "image-alt-text",
|
|
40495
40497
|
"onUpdate:modelValue": M[2] || (M[2] = (I) => s.value = I),
|
|
@@ -40497,7 +40499,7 @@ const xR = /* @__PURE__ */ mn(Lle, [["render", Ele]]), Ale = { class: "pbx-text-
|
|
|
40497
40499
|
class: "pbx-myPrimaryInput pbx-flex-1 pbx-min-w-0",
|
|
40498
40500
|
placeholder: g(t)("Describe this image for accessibility"),
|
|
40499
40501
|
onKeydown: pa(Ce(B, ["prevent"]), ["enter"])
|
|
40500
|
-
}, null, 40,
|
|
40502
|
+
}, null, 40, Vle), [
|
|
40501
40503
|
[Co, s.value]
|
|
40502
40504
|
]),
|
|
40503
40505
|
d("button", {
|
|
@@ -40510,15 +40512,15 @@ const xR = /* @__PURE__ */ mn(Lle, [["render", Ele]]), Ale = { class: "pbx-text-
|
|
|
40510
40512
|
title: g(t)("Save"),
|
|
40511
40513
|
onClick: B
|
|
40512
40514
|
}, [
|
|
40513
|
-
p.value ? A("", !0) : (y(), w("span",
|
|
40514
|
-
p.value ? (y(), w("span",
|
|
40515
|
-
], 10,
|
|
40515
|
+
p.value ? A("", !0) : (y(), w("span", Ule, "check")),
|
|
40516
|
+
p.value ? (y(), w("span", Wle, "refresh")) : A("", !0)
|
|
40517
|
+
], 10, qle)
|
|
40516
40518
|
]),
|
|
40517
|
-
d("p",
|
|
40519
|
+
d("p", Gle, f(g(t)("Helps screen readers and SEO understand the image content.")), 1)
|
|
40518
40520
|
])
|
|
40519
40521
|
], 32));
|
|
40520
40522
|
}
|
|
40521
|
-
}),
|
|
40523
|
+
}), Jle = { class: "pbx-flex-1 pbx-flex pbx-justify-center pbx-items-center pbx-py-2 pbx-w-full pbx-gap-1" }, Yle = ["disabled", "aria-label", "title"], Qle = ["aria-label"], Xle = ["disabled", "aria-label", "title"], Zle = /* @__PURE__ */ ie({
|
|
40522
40524
|
__name: "UndoRedo",
|
|
40523
40525
|
emits: ["toolbar-hide-request"],
|
|
40524
40526
|
setup(o, { expose: e, emit: t }) {
|
|
@@ -40529,7 +40531,7 @@ const xR = /* @__PURE__ */ mn(Lle, [["render", Ele]]), Ale = { class: "pbx-text-
|
|
|
40529
40531
|
};
|
|
40530
40532
|
return e({ handleUndo: b, handleRedo: m, canUndo: c, canRedo: u }), (h, x) => (y(), w(oe, null, [
|
|
40531
40533
|
s.value ? (y(), me(xR, { key: 0 })) : A("", !0),
|
|
40532
|
-
d("div",
|
|
40534
|
+
d("div", Jle, [
|
|
40533
40535
|
d("button", {
|
|
40534
40536
|
type: "button",
|
|
40535
40537
|
disabled: !c.value,
|
|
@@ -40544,12 +40546,12 @@ const xR = /* @__PURE__ */ mn(Lle, [["render", Ele]]), Ale = { class: "pbx-text-
|
|
|
40544
40546
|
class: "material-symbols-outlined",
|
|
40545
40547
|
"aria-hidden": "true"
|
|
40546
40548
|
}, " undo ", -1)
|
|
40547
|
-
])], 10,
|
|
40549
|
+
])], 10, Yle),
|
|
40548
40550
|
d("div", {
|
|
40549
40551
|
class: "pbx-text-xs pbx-text-gray-600 pbx-mx-2 pbx-py-3 pbx-px-2 pbx-border-solid pbx-border pbx-border-gray-200 pbx-rounded-full",
|
|
40550
40552
|
"aria-live": "polite",
|
|
40551
40553
|
"aria-label": `${l.value + 1} ${g(i)("of")} ${p.value}`
|
|
40552
|
-
}, f(l.value + 1) + "/" + f(p.value), 9,
|
|
40554
|
+
}, f(l.value + 1) + "/" + f(p.value), 9, Qle),
|
|
40553
40555
|
d("button", {
|
|
40554
40556
|
type: "button",
|
|
40555
40557
|
disabled: !u.value,
|
|
@@ -40564,11 +40566,11 @@ const xR = /* @__PURE__ */ mn(Lle, [["render", Ele]]), Ale = { class: "pbx-text-
|
|
|
40564
40566
|
class: "material-symbols-outlined",
|
|
40565
40567
|
"aria-hidden": "true"
|
|
40566
40568
|
}, " redo ", -1)
|
|
40567
|
-
])], 10,
|
|
40569
|
+
])], 10, Xle)
|
|
40568
40570
|
])
|
|
40569
40571
|
], 64));
|
|
40570
40572
|
}
|
|
40571
|
-
}),
|
|
40573
|
+
}), epe = ["width", "height"], tpe = /* @__PURE__ */ ie({
|
|
40572
40574
|
__name: "LayersIcon",
|
|
40573
40575
|
props: {
|
|
40574
40576
|
size: { default: 24 }
|
|
@@ -40582,18 +40584,18 @@ const xR = /* @__PURE__ */ mn(Lle, [["render", Ele]]), Ale = { class: "pbx-text-
|
|
|
40582
40584
|
"aria-hidden": "true"
|
|
40583
40585
|
}, [...t[0] || (t[0] = [
|
|
40584
40586
|
Zd('<title>layers</title><g fill="none"><path d="M9.12015 8.16C10.1529 7.38542 10.6693 6.99813 11.2364 6.84884C11.737 6.71706 12.2632 6.71705 12.7638 6.84883C13.331 6.99812 13.8474 7.38541 14.8801 8.15999L20.5868 12.44C21.7448 13.3085 22.3238 13.7427 22.5308 14.275C22.7122 14.7413 22.7122 15.2586 22.5308 15.7249C22.3238 16.2573 21.7448 16.6915 20.5868 17.56L14.8801 21.84C13.8474 22.6146 13.331 23.0019 12.7638 23.1512C12.2632 23.2829 11.737 23.2829 11.2364 23.1512C10.6693 23.0019 10.1529 22.6146 9.12014 21.84L3.41349 17.56C2.25552 16.6915 1.67654 16.2573 1.4695 15.7249C1.28816 15.2586 1.28816 14.7413 1.46951 14.275C1.67655 13.7427 2.25553 13.3085 3.41349 12.44L9.12015 8.16Z" fill="url(#layers-icon-gradient-0)" data-glass="origin" mask="url(#layers-icon-mask)"></path><path d="M9.12015 8.16C10.1529 7.38542 10.6693 6.99813 11.2364 6.84884C11.737 6.71706 12.2632 6.71705 12.7638 6.84883C13.331 6.99812 13.8474 7.38541 14.8801 8.15999L20.5868 12.44C21.7448 13.3085 22.3238 13.7427 22.5308 14.275C22.7122 14.7413 22.7122 15.2586 22.5308 15.7249C22.3238 16.2573 21.7448 16.6915 20.5868 17.56L14.8801 21.84C13.8474 22.6146 13.331 23.0019 12.7638 23.1512C12.2632 23.2829 11.737 23.2829 11.2364 23.1512C10.6693 23.0019 10.1529 22.6146 9.12014 21.84L3.41349 17.56C2.25552 16.6915 1.67654 16.2573 1.4695 15.7249C1.28816 15.2586 1.28816 14.7413 1.46951 14.275C1.67655 13.7427 2.25553 13.3085 3.41349 12.44L9.12015 8.16Z" fill="url(#layers-icon-gradient-0)" data-glass="clone" filter="url(#layers-icon-filter)" clip-path="url(#layers-icon-clip)"></path><path d="M9.12015 2.15999C10.1529 1.38542 10.6693 0.998128 11.2364 0.848835C11.737 0.717055 12.2632 0.717055 12.7638 0.848834C13.331 0.998124 13.8474 1.38541 14.8801 2.15999L20.5868 6.43998C21.7448 7.30845 22.3238 7.74269 22.5308 8.27503C22.7122 8.74132 22.7122 9.25864 22.5308 9.72492C22.3238 10.2573 21.7448 10.6915 20.5868 11.56L14.8801 15.84C13.8474 16.6146 13.331 17.0019 12.7638 17.1512C12.2632 17.2829 11.737 17.2829 11.2364 17.1512C10.6693 17.0019 10.1529 16.6146 9.12014 15.84L3.41349 11.56C2.25552 10.6915 1.67654 10.2573 1.4695 9.72492C1.28816 9.25864 1.28816 8.74132 1.46951 8.27504C1.67655 7.74269 2.25553 7.30846 3.41349 6.43998L9.12015 2.15999Z" fill="url(#layers-icon-gradient-1)" data-glass="blur"></path><path d="M11.237 0.848781C11.7375 0.717108 12.2639 0.717038 12.7644 0.848781C13.3314 0.998119 13.8479 1.38584 14.8806 2.1603L20.5866 6.44056C21.7446 7.30903 22.3239 7.74317 22.5309 8.27552C22.7121 8.74164 22.7121 9.25861 22.5309 9.72473C22.3239 10.2571 21.7446 10.6912 20.5866 11.5597L14.8806 15.8399L14.194 16.3507C13.5865 16.7934 13.1897 17.0395 12.7644 17.1515L12.5749 17.1944C12.1953 17.2685 11.805 17.2685 11.4255 17.1944L11.237 17.1515C10.8117 17.0395 10.4147 16.7933 9.80733 16.3507L9.12081 15.8399L3.4138 11.5597C2.25593 10.6913 1.67649 10.2571 1.46947 9.72473C1.31093 9.31688 1.29097 8.86987 1.4099 8.45227L1.46947 8.27552C1.62471 7.87635 1.98934 7.53197 2.65013 7.01868L3.4138 6.44056L9.12081 2.1603C10.0243 1.48266 10.5323 1.10089 11.0251 0.916164L11.237 0.848781ZM12.5729 1.57436C12.1975 1.47557 11.8029 1.47554 11.4274 1.57436C11.0366 1.67728 10.6561 1.94538 9.57003 2.75991L3.86399 7.04017C3.27389 7.48274 2.87129 7.78513 2.58665 8.04114C2.30554 8.29399 2.20972 8.44147 2.16868 8.547C2.05534 8.83843 2.05534 9.16182 2.16868 9.45325C2.20973 9.55878 2.30557 9.70629 2.58665 9.95911C2.87129 10.2151 3.27391 10.5175 3.86399 10.9601L9.57003 15.2403C10.6561 16.0549 11.0366 16.323 11.4274 16.4259C11.8029 16.5247 12.1975 16.5247 12.5729 16.4259C12.9638 16.323 13.3443 16.0549 14.4304 15.2403L20.1374 10.9601C20.7272 10.5177 21.1292 10.215 21.4137 9.95911C21.6947 9.70637 21.7906 9.55877 21.8317 9.45325C21.945 9.16182 21.945 8.83843 21.8317 8.547C21.7906 8.44148 21.6948 8.2939 21.4137 8.04114C21.1292 7.7852 20.7272 7.48254 20.1374 7.04017L14.4304 2.75991C13.3443 1.94534 12.9638 1.67725 12.5729 1.57436Z" fill="url(#layers-icon-gradient-2)"></path><defs><linearGradient id="layers-icon-gradient-0" x1="12" y1="6.75" x2="12" y2="23.25" gradientUnits="userSpaceOnUse"><stop stop-color="#575757"></stop><stop offset="1" stop-color="#151515"></stop></linearGradient><linearGradient id="layers-icon-gradient-1" x1="12" y1=".75" x2="12" y2="17.25" gradientUnits="userSpaceOnUse"><stop stop-color="#E3E3E5" stop-opacity=".6"></stop><stop offset="1" stop-color="#BBBBC0" stop-opacity=".6"></stop></linearGradient><linearGradient id="layers-icon-gradient-2" x1="12" y1=".75" x2="12" y2="10.305" gradientUnits="userSpaceOnUse"><stop stop-color="#fff"></stop><stop offset="1" stop-color="#fff" stop-opacity="0"></stop></linearGradient><filter id="layers-icon-filter" x="-100%" y="-100%" width="400%" height="400%" filterUnits="objectBoundingBox" primitiveUnits="userSpaceOnUse"><feGaussianBlur stdDeviation="2" x="0%" y="0%" width="100%" height="100%" in="SourceGraphic" edgeMode="none" result="blur"></feGaussianBlur></filter><clipPath id="layers-icon-clip"><path d="M9.12015 2.15999C10.1529 1.38542 10.6693 0.998128 11.2364 0.848835C11.737 0.717055 12.2632 0.717055 12.7638 0.848834C13.331 0.998124 13.8474 1.38541 14.8801 2.15999L20.5868 6.43998C21.7448 7.30845 22.3238 7.74269 22.5308 8.27503C22.7122 8.74132 22.7122 9.25864 22.5308 9.72492C22.3238 10.2573 21.7448 10.6915 20.5868 11.56L14.8801 15.84C13.8474 16.6146 13.331 17.0019 12.7638 17.1512C12.2632 17.2829 11.737 17.2829 11.2364 17.1512C10.6693 17.0019 10.1529 16.6146 9.12014 15.84L3.41349 11.56C2.25552 10.6915 1.67654 10.2573 1.4695 9.72492C1.28816 9.25864 1.28816 8.74132 1.46951 8.27504C1.67655 7.74269 2.25553 7.30846 3.41349 6.43998L9.12015 2.15999Z" fill="url(#layers-icon-gradient-1)"></path></clipPath><mask id="layers-icon-mask"><rect width="100%" height="100%" fill="#FFF"></rect><path d="M9.12015 2.15999C10.1529 1.38542 10.6693 0.998128 11.2364 0.848835C11.737 0.717055 12.2632 0.717055 12.7638 0.848834C13.331 0.998124 13.8474 1.38541 14.8801 2.15999L20.5868 6.43998C21.7448 7.30845 22.3238 7.74269 22.5308 8.27503C22.7122 8.74132 22.7122 9.25864 22.5308 9.72492C22.3238 10.2573 21.7448 10.6915 20.5868 11.56L14.8801 15.84C13.8474 16.6146 13.331 17.0019 12.7638 17.1512C12.2632 17.2829 11.737 17.2829 11.2364 17.1512C10.6693 17.0019 10.1529 16.6146 9.12014 15.84L3.41349 11.56C2.25552 10.6915 1.67654 10.2573 1.4695 9.72492C1.28816 9.25864 1.28816 8.74132 1.46951 8.27504C1.67655 7.74269 2.25553 7.30846 3.41349 6.43998L9.12015 2.15999Z" fill="#000"></path></mask></defs></g>', 2)
|
|
40585
|
-
])], 8,
|
|
40587
|
+
])], 8, epe));
|
|
40586
40588
|
}
|
|
40587
|
-
}),
|
|
40589
|
+
}), ope = {
|
|
40588
40590
|
key: 0,
|
|
40589
40591
|
class: "pbx-inspectorEmpty"
|
|
40590
|
-
},
|
|
40592
|
+
}, rpe = {
|
|
40591
40593
|
key: 1,
|
|
40592
40594
|
class: "pbx-htmlCodeViewer"
|
|
40593
|
-
},
|
|
40595
|
+
}, ipe = { class: "pbx-htmlCodeViewerToolbar" }, npe = { class: "pbx-htmlCodeViewerToolbarLeft" }, ape = { class: "pbx-htmlCodeViewerMeta" }, spe = { class: "pbx-htmlCodeViewerMeta pbx-htmlCodeViewerMetaMuted" }, lpe = {
|
|
40594
40596
|
class: "material-symbols-outlined",
|
|
40595
40597
|
"aria-hidden": "true"
|
|
40596
|
-
},
|
|
40598
|
+
}, ppe = { class: "pbx-htmlCodeViewerSurface" }, dpe = { class: "pbx-htmlCodeViewerPre" }, cpe = ["innerHTML"], upe = /* @__PURE__ */ ie({
|
|
40597
40599
|
__name: "HtmlCodeViewerModal",
|
|
40598
40600
|
props: {
|
|
40599
40601
|
show: { type: Boolean },
|
|
@@ -40602,7 +40604,7 @@ const xR = /* @__PURE__ */ mn(Lle, [["render", Ele]]), Ale = { class: "pbx-text-
|
|
|
40602
40604
|
},
|
|
40603
40605
|
emits: ["close"],
|
|
40604
40606
|
setup(o) {
|
|
40605
|
-
const e = o, { translate: t } = Se(), r = S(!1), i = L(() =>
|
|
40607
|
+
const e = o, { translate: t } = Se(), r = S(!1), i = L(() => Fee(e.html)), n = L(() => e.html ? i.value.split(`
|
|
40606
40608
|
`).filter((s) => s.trim().length > 0).length : 0);
|
|
40607
40609
|
async function a() {
|
|
40608
40610
|
if (!e.html) return;
|
|
@@ -40619,51 +40621,51 @@ const xR = /* @__PURE__ */ mn(Lle, [["render", Ele]]), Ale = { class: "pbx-text-
|
|
|
40619
40621
|
}, {
|
|
40620
40622
|
default: q(() => [
|
|
40621
40623
|
d("div", null, [
|
|
40622
|
-
o.html ? (y(), w("div",
|
|
40623
|
-
d("div",
|
|
40624
|
-
d("div",
|
|
40624
|
+
o.html ? (y(), w("div", rpe, [
|
|
40625
|
+
d("div", ipe, [
|
|
40626
|
+
d("div", npe, [
|
|
40625
40627
|
l[1] || (l[1] = d("span", { class: "pbx-htmlCodeViewerBadge" }, "HTML", -1)),
|
|
40626
|
-
d("span",
|
|
40627
|
-
d("span",
|
|
40628
|
+
d("span", ape, f(n.value) + " " + f(g(t)("lines")), 1),
|
|
40629
|
+
d("span", spe, f(g(t)("Read-only")), 1)
|
|
40628
40630
|
]),
|
|
40629
40631
|
d("button", {
|
|
40630
40632
|
type: "button",
|
|
40631
40633
|
class: "pbx-htmlCodeViewerCopy",
|
|
40632
40634
|
onClick: a
|
|
40633
40635
|
}, [
|
|
40634
|
-
d("span",
|
|
40636
|
+
d("span", lpe, f(r.value ? "check" : "content_copy"), 1)
|
|
40635
40637
|
])
|
|
40636
40638
|
]),
|
|
40637
|
-
d("div",
|
|
40638
|
-
d("pre",
|
|
40639
|
-
d("code", { innerHTML: i.value }, null, 8,
|
|
40639
|
+
d("div", ppe, [
|
|
40640
|
+
d("pre", dpe, [
|
|
40641
|
+
d("code", { innerHTML: i.value }, null, 8, cpe)
|
|
40640
40642
|
])
|
|
40641
40643
|
])
|
|
40642
|
-
])) : (y(), w("p",
|
|
40644
|
+
])) : (y(), w("p", ope, f(g(t)("No HTML available")), 1))
|
|
40643
40645
|
])
|
|
40644
40646
|
]),
|
|
40645
40647
|
_: 1
|
|
40646
40648
|
}, 8, ["showModalBuilder", "title"]));
|
|
40647
40649
|
}
|
|
40648
|
-
}),
|
|
40650
|
+
}), bpe = { class: "pbx-min-h-[10rem] pbx-py-6" }, mpe = {
|
|
40649
40651
|
key: 0,
|
|
40650
40652
|
class: "pbx-inspectorEmpty"
|
|
40651
|
-
},
|
|
40653
|
+
}, gpe = {
|
|
40652
40654
|
key: 1,
|
|
40653
40655
|
class: "pbx-htmlCodeViewer"
|
|
40654
|
-
},
|
|
40656
|
+
}, xpe = { class: "pbx-htmlCodeViewerToolbar" }, hpe = { class: "pbx-htmlCodeViewerToolbarLeft" }, fpe = { class: "pbx-htmlCodeViewerBadge" }, ype = { class: "pbx-htmlCodeViewerMeta" }, vpe = { class: "pbx-htmlCodeViewerMeta pbx-htmlCodeViewerMetaMuted" }, wpe = {
|
|
40655
40657
|
class: "material-symbols-outlined",
|
|
40656
40658
|
"aria-hidden": "true"
|
|
40657
|
-
},
|
|
40659
|
+
}, Spe = { class: "pbx-htmlCodeViewerSurface" }, kpe = ["value", "aria-label", "readonly"], Cpe = { class: "pbx-flex pbx-justify-end pbx-min-h-6 pbx-mt-2" }, Tpe = {
|
|
40658
40660
|
key: 0,
|
|
40659
40661
|
class: "pbx-myPrimaryParagraphError"
|
|
40660
|
-
},
|
|
40662
|
+
}, Ppe = ["disabled"], Mpe = ["disabled"], Lpe = {
|
|
40661
40663
|
key: 0,
|
|
40662
40664
|
class: "material-symbols-outlined"
|
|
40663
|
-
},
|
|
40665
|
+
}, Epe = {
|
|
40664
40666
|
key: 1,
|
|
40665
40667
|
class: "material-symbols-outlined pbx-animate-spin"
|
|
40666
|
-
},
|
|
40668
|
+
}, Ape = /* @__PURE__ */ ie({
|
|
40667
40669
|
__name: "HtmlEditorModal",
|
|
40668
40670
|
props: {
|
|
40669
40671
|
show: { type: Boolean },
|
|
@@ -40700,7 +40702,7 @@ const xR = /* @__PURE__ */ mn(Lle, [["render", Ele]]), Ale = { class: "pbx-text-
|
|
|
40700
40702
|
class: "pbx-mySecondaryButton",
|
|
40701
40703
|
disabled: o.isLoading,
|
|
40702
40704
|
onClick: c[0] || (c[0] = (u) => p.$emit("close"))
|
|
40703
|
-
}, f(g(i)("Close")), 9,
|
|
40705
|
+
}, f(g(i)("Close")), 9, Ppe),
|
|
40704
40706
|
o.readOnly ? A("", !0) : (y(), w("button", {
|
|
40705
40707
|
key: 0,
|
|
40706
40708
|
type: "button",
|
|
@@ -40709,28 +40711,28 @@ const xR = /* @__PURE__ */ mn(Lle, [["render", Ele]]), Ale = { class: "pbx-text-
|
|
|
40709
40711
|
onClick: c[1] || (c[1] = (u) => p.$emit("save"))
|
|
40710
40712
|
}, [
|
|
40711
40713
|
ze(f(g(i)("Save")) + " ", 1),
|
|
40712
|
-
o.isLoading ? A("", !0) : (y(), w("span",
|
|
40713
|
-
o.isLoading ? (y(), w("span",
|
|
40714
|
-
], 8,
|
|
40714
|
+
o.isLoading ? A("", !0) : (y(), w("span", Lpe, "check")),
|
|
40715
|
+
o.isLoading ? (y(), w("span", Epe, "refresh")) : A("", !0)
|
|
40716
|
+
], 8, Mpe))
|
|
40715
40717
|
]),
|
|
40716
40718
|
default: q(() => [
|
|
40717
|
-
d("div",
|
|
40718
|
-
o.html ? (y(), w("div",
|
|
40719
|
-
d("div",
|
|
40720
|
-
d("div",
|
|
40721
|
-
d("span",
|
|
40722
|
-
d("span",
|
|
40723
|
-
d("span",
|
|
40719
|
+
d("div", bpe, [
|
|
40720
|
+
o.html ? (y(), w("div", gpe, [
|
|
40721
|
+
d("div", xpe, [
|
|
40722
|
+
d("div", hpe, [
|
|
40723
|
+
d("span", fpe, f(o.badge), 1),
|
|
40724
|
+
d("span", ype, f(a.value) + " " + f(g(i)("lines")), 1),
|
|
40725
|
+
d("span", vpe, f(o.readOnly ? g(i)("Read-only") : g(i)("Editable")), 1)
|
|
40724
40726
|
]),
|
|
40725
40727
|
d("button", {
|
|
40726
40728
|
type: "button",
|
|
40727
40729
|
class: "pbx-htmlCodeViewerCopy",
|
|
40728
40730
|
onClick: l
|
|
40729
40731
|
}, [
|
|
40730
|
-
d("span",
|
|
40732
|
+
d("span", wpe, f(n.value ? "check" : "content_copy"), 1)
|
|
40731
40733
|
])
|
|
40732
40734
|
]),
|
|
40733
|
-
d("div",
|
|
40735
|
+
d("div", Spe, [
|
|
40734
40736
|
d("textarea", {
|
|
40735
40737
|
id: "html-editor",
|
|
40736
40738
|
class: "pbx-htmlCodeEditorTextarea",
|
|
@@ -40739,22 +40741,22 @@ const xR = /* @__PURE__ */ mn(Lle, [["render", Ele]]), Ale = { class: "pbx-text-
|
|
|
40739
40741
|
readonly: o.readOnly,
|
|
40740
40742
|
spellcheck: "false",
|
|
40741
40743
|
onInput: s
|
|
40742
|
-
}, null, 40,
|
|
40744
|
+
}, null, 40, kpe)
|
|
40743
40745
|
])
|
|
40744
|
-
])) : (y(), w("p",
|
|
40746
|
+
])) : (y(), w("p", mpe, f(g(i)("No HTML available")), 1))
|
|
40745
40747
|
]),
|
|
40746
|
-
d("div",
|
|
40747
|
-
o.error ? (y(), w("p",
|
|
40748
|
+
d("div", Cpe, [
|
|
40749
|
+
o.error ? (y(), w("p", Tpe, "Error: " + f(o.error), 1)) : A("", !0)
|
|
40748
40750
|
])
|
|
40749
40751
|
]),
|
|
40750
40752
|
_: 1
|
|
40751
40753
|
}, 8, ["showModalBuilder", "title"]));
|
|
40752
40754
|
}
|
|
40753
|
-
}),
|
|
40755
|
+
}), $pe = {
|
|
40754
40756
|
class: "pbx-pointer-events-none pbx-fixed pbx-right-6 pbx-top-6 pbx-z-[10010] pbx-flex pbx-flex-col pbx-items-end pbx-gap-3",
|
|
40755
40757
|
"aria-live": "polite",
|
|
40756
40758
|
"aria-relevant": "additions removals"
|
|
40757
|
-
},
|
|
40759
|
+
}, _pe = { class: "pbx-toastMessage" }, Bpe = ["onClick"], Ipe = /* @__PURE__ */ ie({
|
|
40758
40760
|
__name: "ToastContainer",
|
|
40759
40761
|
setup(o) {
|
|
40760
40762
|
const { toasts: e, hideToast: t } = wt(), r = {
|
|
@@ -40762,7 +40764,7 @@ const xR = /* @__PURE__ */ mn(Lle, [["render", Ele]]), Ale = { class: "pbx-text-
|
|
|
40762
40764
|
error: "pbx-toastError",
|
|
40763
40765
|
warning: "pbx-toastWarning"
|
|
40764
40766
|
};
|
|
40765
|
-
return (i, n) => (y(), w("div",
|
|
40767
|
+
return (i, n) => (y(), w("div", $pe, [
|
|
40766
40768
|
R(IR, {
|
|
40767
40769
|
name: "pbx-toast",
|
|
40768
40770
|
tag: "div",
|
|
@@ -40774,7 +40776,7 @@ const xR = /* @__PURE__ */ mn(Lle, [["render", Ele]]), Ale = { class: "pbx-text-
|
|
|
40774
40776
|
class: O(["pbx-toast", r[a.type]]),
|
|
40775
40777
|
role: "status"
|
|
40776
40778
|
}, [
|
|
40777
|
-
d("span",
|
|
40779
|
+
d("span", _pe, f(a.message), 1),
|
|
40778
40780
|
d("button", {
|
|
40779
40781
|
type: "button",
|
|
40780
40782
|
class: "pbx-toastClose",
|
|
@@ -40785,22 +40787,22 @@ const xR = /* @__PURE__ */ mn(Lle, [["render", Ele]]), Ale = { class: "pbx-text-
|
|
|
40785
40787
|
class: "material-symbols-outlined pbx-materialIcon18",
|
|
40786
40788
|
"aria-hidden": "true"
|
|
40787
40789
|
}, " close_small ", -1)
|
|
40788
|
-
])], 8,
|
|
40790
|
+
])], 8, Bpe)
|
|
40789
40791
|
], 2))), 128))
|
|
40790
40792
|
]),
|
|
40791
40793
|
_: 1
|
|
40792
40794
|
})
|
|
40793
40795
|
]));
|
|
40794
40796
|
}
|
|
40795
|
-
}),
|
|
40796
|
-
function
|
|
40797
|
+
}), Hpe = /* @__PURE__ */ mn(Ipe, [["__scopeId", "data-v-f80eecd8"]]);
|
|
40798
|
+
function Dpe(o) {
|
|
40797
40799
|
return o instanceof HTMLElement ? !!o.closest(
|
|
40798
40800
|
'input, textarea, select, [contenteditable="true"], .pbx-inline-tiptap-editor, .ProseMirror'
|
|
40799
40801
|
) : !1;
|
|
40800
40802
|
}
|
|
40801
|
-
function
|
|
40803
|
+
function Rpe(o) {
|
|
40802
40804
|
const e = (t) => {
|
|
40803
|
-
if (o.isBlocked() ||
|
|
40805
|
+
if (o.isBlocked() || Dpe(t.target)) return;
|
|
40804
40806
|
const r = t.metaKey || t.ctrlKey;
|
|
40805
40807
|
if (r && t.key.toLowerCase() === "z" && !t.shiftKey) {
|
|
40806
40808
|
t.preventDefault(), o.canUndo() && o.onUndo();
|
|
@@ -40830,15 +40832,15 @@ const hR = "--pbx-brand-color", fR = "--pbx-brand-color-rgb";
|
|
|
40830
40832
|
function yR(o) {
|
|
40831
40833
|
return o != null && o.trim() ? vo(o) ?? o.trim() : null;
|
|
40832
40834
|
}
|
|
40833
|
-
function
|
|
40835
|
+
function zpe(o) {
|
|
40834
40836
|
const e = yR(o);
|
|
40835
40837
|
if (!e) return null;
|
|
40836
40838
|
const t = UD(e);
|
|
40837
40839
|
return t ? `${t.r} ${t.g} ${t.b}` : null;
|
|
40838
40840
|
}
|
|
40839
|
-
function
|
|
40841
|
+
function Ope(o) {
|
|
40840
40842
|
if (typeof document > "u") return;
|
|
40841
|
-
const e = yR(o), t =
|
|
40843
|
+
const e = yR(o), t = zpe(o);
|
|
40842
40844
|
if (e && t) {
|
|
40843
40845
|
document.documentElement.style.setProperty(hR, e), document.documentElement.style.setProperty(fR, t);
|
|
40844
40846
|
return;
|
|
@@ -40848,22 +40850,22 @@ function zpe(o) {
|
|
|
40848
40850
|
function vR() {
|
|
40849
40851
|
typeof document > "u" || (document.documentElement.style.removeProperty(hR), document.documentElement.style.removeProperty(fR));
|
|
40850
40852
|
}
|
|
40851
|
-
const
|
|
40853
|
+
const Npe = { class: "lg:pbx-min-w-full lg:pbx-max-w-full lg:pbx-w-full pbx-mx-auto pbx-flex pbx-flex-col pbx-font-sans pbx-text-black pbx-border-solid pbx-border pbx-border-gray-400 pbx-inset-x-0 pbx-z-10 pbx-bg-white pbx-overflow-x-auto pbx-h-full" }, Fpe = {
|
|
40852
40854
|
id: "pagebuilder-navbar",
|
|
40853
40855
|
class: "lg:pbx-min-w-full lg:pbx-max-w-full lg:pbx-w-full pbx-min-w-[64rem] pbx-max-w-[64rem] pbx-w-[64rem] pbx-flex-1 pbx-bg-myPrimaryLightGrayColor pbx-flex pbx-items-center pbx-justify-between pbx-border-0 pbx-border-solid pbx-border-b pbx-border-gray-200 pbx-mb-2 pbx-font-sans pbx-min-h-20"
|
|
40854
|
-
},
|
|
40856
|
+
}, jpe = ["src"], Vpe = { class: "pbx-flex pbx-items-center pbx-justify-center" }, qpe = ["disabled", "aria-label", "title"], Upe = {
|
|
40855
40857
|
key: 0,
|
|
40856
40858
|
class: "pbx-h-10 pbx-w-4 pbx-cursor-pointer pbx-rounded-full pbx-flex pbx-items-center pbx-justify-center"
|
|
40857
|
-
},
|
|
40859
|
+
}, Wpe = {
|
|
40858
40860
|
key: 1,
|
|
40859
40861
|
class: "pbx-h-10 pbx-w-4 pbx-cursor-pointer pbx-rounded-full pbx-flex pbx-items-center pbx-justify-center"
|
|
40860
|
-
},
|
|
40862
|
+
}, Gpe = ["disabled", "aria-label"], Kpe = {
|
|
40861
40863
|
key: 0,
|
|
40862
40864
|
class: "pbx-h-10 pbx-w-4 pbx-cursor-pointer pbx-rounded-full pbx-flex pbx-items-center pbx-justify-center"
|
|
40863
|
-
},
|
|
40865
|
+
}, Jpe = {
|
|
40864
40866
|
key: 1,
|
|
40865
40867
|
class: "pbx-h-10 pbx-w-4 pbx-cursor-pointer pbx-rounded-full pbx-flex pbx-items-center pbx-justify-center"
|
|
40866
|
-
},
|
|
40868
|
+
}, Ype = { class: "lg:pbx-block pbx-hidden" }, Qpe = { class: "lg:pbx-hidden pbx-block" }, Xpe = ["aria-label", "title"], Zpe = { class: "pbx-h-10 pbx-w-10 pbx-rounded-full pbx-flex pbx-items-center pbx-border-none pbx-justify-center pbx-bg-gray-50 pbx-aspect-square hover:pbx-bg-myPrimaryLinkColor focus-visible:pbx-ring-0 pbx-text-black hover:pbx-text-white" }, ede = { class: "lg:pbx-block lg:pbx-pr-4 pbx-hidden" }, tde = ["aria-label", "title"], ode = { class: "lg:pbx-block lg:pbx-pr-4 pbx-hidden" }, rde = ["aria-label", "title"], ide = { class: "pbx-h-10 pbx-w-10 pbx-rounded-full pbx-flex pbx-items-center pbx-border-none pbx-justify-center pbx-bg-gray-50 pbx-aspect-square hover:pbx-bg-myPrimaryLinkColor focus-visible:pbx-ring-0 pbx-text-black hover:pbx-text-white" }, nde = {
|
|
40867
40869
|
fill: "currentColor",
|
|
40868
40870
|
height: "22",
|
|
40869
40871
|
viewBox: "0 0 22 22",
|
|
@@ -40871,7 +40873,7 @@ const Ope = { class: "lg:pbx-min-w-full lg:pbx-max-w-full lg:pbx-w-full pbx-mx-a
|
|
|
40871
40873
|
xmlns: "http://www.w3.org/2000/svg",
|
|
40872
40874
|
style: { display: "block" },
|
|
40873
40875
|
"aria-hidden": "true"
|
|
40874
|
-
},
|
|
40876
|
+
}, ade = ["aria-label", "title"], sde = { class: "pbx-h-10 pbx-w-10 pbx-rounded-full pbx-flex pbx-items-center pbx-border-none pbx-justify-center pbx-bg-gray-50 pbx-aspect-square hover:pbx-bg-myPrimaryLinkColor focus-visible:pbx-ring-0 pbx-text-black hover:pbx-text-white" }, lde = {
|
|
40875
40877
|
fill: "currentColor",
|
|
40876
40878
|
height: "22",
|
|
40877
40879
|
viewBox: "0 0 22 22",
|
|
@@ -40879,38 +40881,38 @@ const Ope = { class: "lg:pbx-min-w-full lg:pbx-max-w-full lg:pbx-w-full pbx-mx-a
|
|
|
40879
40881
|
xmlns: "http://www.w3.org/2000/svg",
|
|
40880
40882
|
style: { display: "block" },
|
|
40881
40883
|
"aria-hidden": "true"
|
|
40882
|
-
},
|
|
40884
|
+
}, pde = { class: "pbx-flex-1 pbx-flex gap-2 pbx-items-center pbx-justify-end" }, dde = {
|
|
40883
40885
|
key: 0,
|
|
40884
40886
|
class: "pbx-flex-1 pbx-ml-2"
|
|
40885
|
-
},
|
|
40887
|
+
}, cde = {
|
|
40886
40888
|
key: 0,
|
|
40887
40889
|
class: "pbx-flex-1 pbx-flex pbx-justify-end pbx-items-center pbx-ml-2 lg:pbx-mr-4 pbx-mr-2"
|
|
40888
|
-
},
|
|
40890
|
+
}, ude = ["value"], bde = ["value"], mde = {
|
|
40889
40891
|
key: 2,
|
|
40890
40892
|
class: "pbx-flex-1 pbx-ml-2 pbx-mr-2"
|
|
40891
|
-
},
|
|
40893
|
+
}, gde = ["aria-label"], xde = {
|
|
40892
40894
|
id: "pagebuilder-main",
|
|
40893
40895
|
class: "lg:pbx-min-w-full lg:pbx-max-w-full lg:pbx-w-full pbx-min-w-[64rem] pbx-max-w-[64rem] pbx-w-[64rem] pbx-flex-1 pbx-relative pbx-h-full pbx-flex pbx-pb-2 pbx-gap-2"
|
|
40894
|
-
},
|
|
40896
|
+
}, hde = {
|
|
40895
40897
|
id: "pbxEditToolbar",
|
|
40896
40898
|
class: "pbx-z-30 pbx-flex pbx-flex-wrap pbx-gap-x-2 pbx-gap-y-1 pbx-justify-start pbx-items-center pbx-content-start pbx-rounded-sm pbx-px-2 pbx-py-0 pbx-h-0 pbx-relative pbx-box-border"
|
|
40897
|
-
},
|
|
40899
|
+
}, fde = {
|
|
40898
40900
|
key: 0,
|
|
40899
40901
|
"data-pbx-insert-btn": ""
|
|
40900
|
-
},
|
|
40902
|
+
}, yde = { class: "pbx-flex pbx-justify-center pbx-w-full pbx-absolute pbx-items-center pbx-gap-3" }, vde = { class: "pbx-flex pbx-items-center pbx-gap-2" }, wde = { class: "pbx-font-medium pbx-break-words lg:pbx-text-lg md:pbx-text-lg pbx-text-base pbx-font-sans" }, Sde = { class: "pbx-flex pbx-items-center pbx-gap-2" }, kde = { class: "pbx-font-medium pbx-break-words lg:pbx-text-lg md:pbx-text-lg pbx-text-base pbx-font-sans" }, Cde = {
|
|
40901
40903
|
key: 1,
|
|
40902
40904
|
"data-pbx-insert-btn": ""
|
|
40903
|
-
},
|
|
40905
|
+
}, Tde = { class: "pbx-flex pbx-justify-end pbx-w-full pbx-h-0 pbx-items-center pbx-rounded-r-full pbx-z-10" }, Pde = { class: "pbx-flex pbx-items-center" }, Mde = { class: "pbx-flex pbx-items-center" }, Lde = { class: "lg:pbx-block pbx-hidden" }, Ede = { class: "pbx-flex pbx-items-center" }, Ade = ["innerHTML", "onMouseup"], $de = {
|
|
40904
40906
|
key: 1,
|
|
40905
40907
|
"data-pbx-insert-btn": ""
|
|
40906
|
-
},
|
|
40908
|
+
}, _de = { class: "pbx-flex pbx-justify-end pbx-w-full pbx-h-0 pbx-items-center pbx-rounded-r-full pbx-z-10" }, Bde = { class: "pbx-flex pbx-items-center" }, Ide = ["onClick"], Hde = { class: "pbx-flex pbx-items-center" }, Dde = { class: "lg:pbx-block pbx-hidden" }, Rde = ["onClick"], zde = { class: "pbx-flex pbx-items-center" }, Ode = {
|
|
40907
40909
|
fill: "currentColor",
|
|
40908
40910
|
height: "22",
|
|
40909
40911
|
viewBox: "0 0 22 22",
|
|
40910
40912
|
width: "22",
|
|
40911
40913
|
xmlns: "http://www.w3.org/2000/svg",
|
|
40912
40914
|
style: { display: "block" }
|
|
40913
|
-
},
|
|
40915
|
+
}, cce = /* @__PURE__ */ ie({
|
|
40914
40916
|
__name: "PageBuilder",
|
|
40915
40917
|
props: {
|
|
40916
40918
|
CustomMediaLibraryComponent: {
|
|
@@ -41047,7 +41049,7 @@ const Ope = { class: "lg:pbx-min-w-full lg:pbx-max-w-full lg:pbx-w-full pbx-mx-a
|
|
|
41047
41049
|
return (z = (G = de.value) == null ? void 0 : G.settings) == null ? void 0 : z.brandColor;
|
|
41048
41050
|
},
|
|
41049
41051
|
(G) => {
|
|
41050
|
-
|
|
41052
|
+
Ope(G);
|
|
41051
41053
|
},
|
|
41052
41054
|
{ immediate: !0 }
|
|
41053
41055
|
);
|
|
@@ -41096,7 +41098,7 @@ const Ope = { class: "lg:pbx-min-w-full lg:pbx-max-w-full lg:pbx-w-full pbx-mx-a
|
|
|
41096
41098
|
style: mo.value.getAttribute("style"),
|
|
41097
41099
|
class: mo.value.getAttribute("class"),
|
|
41098
41100
|
dataImage: mo.value.getAttribute("data-image")
|
|
41099
|
-
}), za =
|
|
41101
|
+
}), za = Lle();
|
|
41100
41102
|
se(xn, async (G, z) => {
|
|
41101
41103
|
((G == null ? void 0 : G.src) !== (z == null ? void 0 : z.src) || (G == null ? void 0 : G.href) !== (z == null ? void 0 : z.href) || (G == null ? void 0 : G.style) !== (z == null ? void 0 : z.style) || (G == null ? void 0 : G.class) !== (z == null ? void 0 : z.class) || (G == null ? void 0 : G.dataImage) !== (z == null ? void 0 : z.dataImage)) && za(async () => {
|
|
41102
41104
|
await t.initializeElementStyles();
|
|
@@ -41144,7 +41146,7 @@ const Ope = { class: "lg:pbx-min-w-full lg:pbx-max-w-full lg:pbx-w-full pbx-mx-a
|
|
|
41144
41146
|
}, Ei = () => {
|
|
41145
41147
|
xo.value = !1, t.setImageSettingsModalOpen(!1);
|
|
41146
41148
|
};
|
|
41147
|
-
|
|
41149
|
+
Rpe({
|
|
41148
41150
|
canUndo: () => k.getHistoryIndex > 0,
|
|
41149
41151
|
canRedo: () => k.getHistoryIndex < k.getHistoryLength - 1,
|
|
41150
41152
|
isBlocked: () => Fa.value || He.value || k.getInlineTipTapEditor || bt.value || co.value || I.value || st.value || go.value || s.value || r.value || ee.value || lo.value || xo.value,
|
|
@@ -41278,7 +41280,7 @@ const Ope = { class: "lg:pbx-min-w-full lg:pbx-max-w-full lg:pbx-w-full pbx-mx-a
|
|
|
41278
41280
|
]),
|
|
41279
41281
|
_: 1
|
|
41280
41282
|
})) : A("", !0),
|
|
41281
|
-
d("div",
|
|
41283
|
+
d("div", Npe, [
|
|
41282
41284
|
Fa.value && !Si.value || He.value ? (y(), me(xR, { key: 0 })) : A("", !0),
|
|
41283
41285
|
R(ro, {
|
|
41284
41286
|
title: "The builder hasn’t started yet",
|
|
@@ -41420,7 +41422,7 @@ const Ope = { class: "lg:pbx-min-w-full lg:pbx-max-w-full lg:pbx-w-full pbx-mx-a
|
|
|
41420
41422
|
])]),
|
|
41421
41423
|
_: 1
|
|
41422
41424
|
}, 8, ["showDynamicModalBuilder", "isLoading", "type", "gridColumnAmount", "title", "description", "firstButtonText", "secondButtonText", "thirdButtonText"]),
|
|
41423
|
-
d("div",
|
|
41425
|
+
d("div", Fpe, [
|
|
41424
41426
|
de.value && de.value.pageBuilderLogo && de.value.pageBuilderLogo.src ? (y(), w("div", {
|
|
41425
41427
|
key: 0,
|
|
41426
41428
|
onClick: z[10] || (z[10] = Ce(
|
|
@@ -41435,9 +41437,9 @@ const Ope = { class: "lg:pbx-min-w-full lg:pbx-max-w-full lg:pbx-w-full pbx-mx-a
|
|
|
41435
41437
|
class: "pbx-h-6",
|
|
41436
41438
|
src: de.value.pageBuilderLogo.src,
|
|
41437
41439
|
alt: "Logo"
|
|
41438
|
-
}, null, 8,
|
|
41440
|
+
}, null, 8, jpe)
|
|
41439
41441
|
])) : A("", !0),
|
|
41440
|
-
R(
|
|
41442
|
+
R(Zle, {
|
|
41441
41443
|
ref_key: "undoRedoRef",
|
|
41442
41444
|
ref: fn,
|
|
41443
41445
|
onToolbarHideRequest: ap
|
|
@@ -41451,7 +41453,7 @@ const Ope = { class: "lg:pbx-min-w-full lg:pbx-max-w-full lg:pbx-w-full pbx-mx-a
|
|
|
41451
41453
|
)),
|
|
41452
41454
|
class: "pbx-flex-1 pbx-flex pbx-justify-center pbx-items-center pbx-py-2 pbx-w-full"
|
|
41453
41455
|
}, [
|
|
41454
|
-
d("div",
|
|
41456
|
+
d("div", Vpe, [
|
|
41455
41457
|
d("button", {
|
|
41456
41458
|
class: "pbx-mySecondaryButton pbx-h-6 pbx-flex pbx-gap-2 pbx-mr-2",
|
|
41457
41459
|
onClick: z[11] || (z[11] = Ce(
|
|
@@ -41465,20 +41467,20 @@ const Ope = { class: "lg:pbx-min-w-full lg:pbx-max-w-full lg:pbx-w-full pbx-mx-a
|
|
|
41465
41467
|
"aria-label": g(x)("Save"),
|
|
41466
41468
|
title: `${g(x)("Save")} (Ctrl+S)`
|
|
41467
41469
|
}, [
|
|
41468
|
-
br.value ? A("", !0) : (y(), w("div",
|
|
41470
|
+
br.value ? A("", !0) : (y(), w("div", Upe, [...z[36] || (z[36] = [
|
|
41469
41471
|
d("span", {
|
|
41470
41472
|
class: "material-symbols-outlined",
|
|
41471
41473
|
"aria-hidden": "true"
|
|
41472
41474
|
}, "save", -1)
|
|
41473
41475
|
])])),
|
|
41474
|
-
br.value ? (y(), w("div",
|
|
41476
|
+
br.value ? (y(), w("div", Wpe, [...z[37] || (z[37] = [
|
|
41475
41477
|
d("span", { class: "pbx-relative pbx-flex pbx-size-3" }, [
|
|
41476
41478
|
d("span", { class: "pbx-absolute pbx-inline-flex pbx-h-full pbx-w-full pbx-animate-ping pbx-rounded-full pbx-bg-gray-400 pbx-opacity-75" }),
|
|
41477
41479
|
d("span", { class: "pbx-relative pbx-inline-flex pbx-size-3 pbx-rounded-full pbx-bg-green-200" })
|
|
41478
41480
|
], -1)
|
|
41479
41481
|
])])) : A("", !0),
|
|
41480
41482
|
d("div", null, f(g(x)("Save")), 1)
|
|
41481
|
-
], 8,
|
|
41483
|
+
], 8, qpe),
|
|
41482
41484
|
de.value && de.value.updateOrCreate && de.value.updateOrCreate.formType === "update" ? (y(), w("button", {
|
|
41483
41485
|
key: 0,
|
|
41484
41486
|
class: "pbx-mySecondaryButton pbx-h-6 pbx-flex pbx-gap-2 lg:pbx-mr-2 pbx-mr-2",
|
|
@@ -41492,22 +41494,22 @@ const Ope = { class: "lg:pbx-min-w-full lg:pbx-max-w-full lg:pbx-w-full pbx-mx-a
|
|
|
41492
41494
|
disabled: Vo.value,
|
|
41493
41495
|
"aria-label": g(x)("Reset Page")
|
|
41494
41496
|
}, [
|
|
41495
|
-
Vo.value ? A("", !0) : (y(), w("div",
|
|
41497
|
+
Vo.value ? A("", !0) : (y(), w("div", Kpe, [...z[38] || (z[38] = [
|
|
41496
41498
|
d("span", { class: "material-symbols-outlined" }, " settings_backup_restore ", -1)
|
|
41497
41499
|
])])),
|
|
41498
|
-
Vo.value ? (y(), w("div",
|
|
41500
|
+
Vo.value ? (y(), w("div", Jpe, [...z[39] || (z[39] = [
|
|
41499
41501
|
d("span", { class: "pbx-relative pbx-flex pbx-size-3" }, [
|
|
41500
41502
|
d("span", { class: "pbx-absolute pbx-inline-flex pbx-h-full pbx-w-full pbx-animate-ping pbx-rounded-full pbx-bg-gray-400 pbx-opacity-75" }),
|
|
41501
41503
|
d("span", { class: "pbx-relative pbx-inline-flex pbx-size-3 pbx-rounded-full pbx-bg-green-200" })
|
|
41502
41504
|
], -1)
|
|
41503
41505
|
])])) : A("", !0),
|
|
41504
|
-
d("div",
|
|
41506
|
+
d("div", Ype, [
|
|
41505
41507
|
d("span", null, f(g(x)("Reset Page")), 1)
|
|
41506
41508
|
]),
|
|
41507
|
-
d("div",
|
|
41509
|
+
d("div", Qpe, [
|
|
41508
41510
|
d("span", null, f(g(x)("Reset")), 1)
|
|
41509
41511
|
])
|
|
41510
|
-
], 8,
|
|
41512
|
+
], 8, Gpe)) : A("", !0)
|
|
41511
41513
|
])
|
|
41512
41514
|
]),
|
|
41513
41515
|
d("div", {
|
|
@@ -41537,11 +41539,11 @@ const Ope = { class: "lg:pbx-min-w-full lg:pbx-max-w-full lg:pbx-w-full pbx-mx-a
|
|
|
41537
41539
|
g(k).setComponentArrayAddMethod("unshift"), qr();
|
|
41538
41540
|
})
|
|
41539
41541
|
}, [
|
|
41540
|
-
d("span",
|
|
41541
|
-
R(
|
|
41542
|
+
d("span", Zpe, [
|
|
41543
|
+
R(tpe)
|
|
41542
41544
|
]),
|
|
41543
|
-
d("span",
|
|
41544
|
-
], 8,
|
|
41545
|
+
d("span", ede, f(g(x)("Add")), 1)
|
|
41546
|
+
], 8, Xpe),
|
|
41545
41547
|
B.value ? (y(), w("button", {
|
|
41546
41548
|
key: 0,
|
|
41547
41549
|
type: "button",
|
|
@@ -41553,8 +41555,8 @@ const Ope = { class: "lg:pbx-min-w-full lg:pbx-max-w-full lg:pbx-w-full pbx-mx-a
|
|
|
41553
41555
|
z[40] || (z[40] = d("span", { class: "pbx-h-10 pbx-w-10 pbx-rounded-full pbx-flex pbx-items-center pbx-border-none pbx-justify-center pbx-bg-gray-50 pbx-aspect-square hover:pbx-bg-myPrimaryLinkColor focus-visible:pbx-ring-0 pbx-text-black hover:pbx-text-white" }, [
|
|
41554
41556
|
d("span", { class: "material-symbols-outlined" }, " shopping_bag ")
|
|
41555
41557
|
], -1)),
|
|
41556
|
-
d("span",
|
|
41557
|
-
], 8,
|
|
41558
|
+
d("span", ode, f(g(x)("Products")), 1)
|
|
41559
|
+
], 8, tde)) : A("", !0),
|
|
41558
41560
|
d("button", {
|
|
41559
41561
|
type: "button",
|
|
41560
41562
|
class: "pbx-mr-2 pbx-flex pbx-items-center pbx-justify-center pbx-gap-2 pbx-border-0 pbx-bg-transparent pbx-cursor-pointer",
|
|
@@ -41564,9 +41566,9 @@ const Ope = { class: "lg:pbx-min-w-full lg:pbx-max-w-full lg:pbx-w-full pbx-mx-a
|
|
|
41564
41566
|
g(k).setMenuRight(!1), g(k).setElement(null), await g(t).clearHtmlSelection(), Bt();
|
|
41565
41567
|
})
|
|
41566
41568
|
}, [
|
|
41567
|
-
d("span",
|
|
41569
|
+
d("span", ide, [
|
|
41568
41570
|
d("span", null, [
|
|
41569
|
-
(y(), w("svg",
|
|
41571
|
+
(y(), w("svg", nde, [...z[41] || (z[41] = [
|
|
41570
41572
|
d("path", {
|
|
41571
41573
|
"clip-rule": "evenodd",
|
|
41572
41574
|
d: "M2 3h18v13h-8v2h3v2H7v-2h3v-2H2V3zm2 2v9h14V5H4z",
|
|
@@ -41575,7 +41577,7 @@ const Ope = { class: "lg:pbx-min-w-full lg:pbx-max-w-full lg:pbx-w-full pbx-mx-a
|
|
|
41575
41577
|
])]))
|
|
41576
41578
|
])
|
|
41577
41579
|
])
|
|
41578
|
-
], 8,
|
|
41580
|
+
], 8, rde),
|
|
41579
41581
|
d("button", {
|
|
41580
41582
|
type: "button",
|
|
41581
41583
|
class: "lg:pbx-flex pbx-hidden pbx-items-center pbx-justify-center pbx-mr-2 pbx-border-0 pbx-bg-transparent pbx-cursor-pointer",
|
|
@@ -41585,16 +41587,16 @@ const Ope = { class: "lg:pbx-min-w-full lg:pbx-max-w-full lg:pbx-w-full pbx-mx-a
|
|
|
41585
41587
|
g(k).setMenuRight(!1), g(k).setElement(null), await g(t).clearHtmlSelection(), wi();
|
|
41586
41588
|
})
|
|
41587
41589
|
}, [
|
|
41588
|
-
d("span",
|
|
41589
|
-
(y(), w("svg",
|
|
41590
|
+
d("span", sde, [
|
|
41591
|
+
(y(), w("svg", lde, [...z[42] || (z[42] = [
|
|
41590
41592
|
d("path", { d: "M14 16H8v2h6v-2z" }, null, -1),
|
|
41591
41593
|
d("path", { d: "M14 1H8a3 3 0 00-3 3v14a3 3 0 003 3h6a3 3 0 003-3V4a3 3 0 00-3-3zM7 4a1 1 0 011-1h6a1 1 0 011 1v14a1 1 0 01-1 1H8a1 1 0 01-1-1V4z" }, null, -1)
|
|
41592
41594
|
])]))
|
|
41593
41595
|
])
|
|
41594
|
-
], 8,
|
|
41596
|
+
], 8, ade)
|
|
41595
41597
|
])
|
|
41596
41598
|
]),
|
|
41597
|
-
d("div",
|
|
41599
|
+
d("div", pde, [
|
|
41598
41600
|
d("div", {
|
|
41599
41601
|
onClick: z[19] || (z[19] = Ce(
|
|
41600
41602
|
async () => {
|
|
@@ -41604,9 +41606,9 @@ const Ope = { class: "lg:pbx-min-w-full lg:pbx-max-w-full lg:pbx-w-full pbx-mx-a
|
|
|
41604
41606
|
)),
|
|
41605
41607
|
class: O(["pbx-flex pbx-items-center pbx-py-2 pbx-w-full", [o.showCloseButton ? "pbx-justify-between" : "pbx-justify-end"]])
|
|
41606
41608
|
}, [
|
|
41607
|
-
R(
|
|
41609
|
+
R(Mle)
|
|
41608
41610
|
], 2),
|
|
41609
|
-
o.showPublishButton ? (y(), w("div",
|
|
41611
|
+
o.showPublishButton ? (y(), w("div", dde, [
|
|
41610
41612
|
d("button", {
|
|
41611
41613
|
class: "pbx-myPrimaryButton",
|
|
41612
41614
|
onClick: z[20] || (z[20] = async () => {
|
|
@@ -41615,7 +41617,7 @@ const Ope = { class: "lg:pbx-min-w-full lg:pbx-max-w-full lg:pbx-w-full pbx-mx-a
|
|
|
41615
41617
|
}, f(g(x)("Publish")), 1)
|
|
41616
41618
|
])) : A("", !0),
|
|
41617
41619
|
g(t) && de.value && de.value.userSettings && de.value.userSettings.language && !((ge = de.value.userSettings.language) != null && ge.disableLanguageDropDown) ? (y(), w(oe, { key: 1 }, [
|
|
41618
|
-
de.value && de.value.userSettings && de.value.userSettings.language ? (y(), w("div",
|
|
41620
|
+
de.value && de.value.userSettings && de.value.userSettings.language ? (y(), w("div", cde, [
|
|
41619
41621
|
$e(d("select", {
|
|
41620
41622
|
id: "pbx-lang",
|
|
41621
41623
|
class: "pbx-myPrimarySelect pbx-min-w-20",
|
|
@@ -41629,17 +41631,17 @@ const Ope = { class: "lg:pbx-min-w-full lg:pbx-max-w-full lg:pbx-w-full pbx-mx-a
|
|
|
41629
41631
|
), (V) => (y(), w("option", {
|
|
41630
41632
|
key: V,
|
|
41631
41633
|
value: V
|
|
41632
|
-
}, f(V), 9,
|
|
41634
|
+
}, f(V), 9, ude))), 128)) : A("", !0),
|
|
41633
41635
|
!de.value.userSettings.language.enable || Array.isArray(de.value.userSettings.language.enable) && de.value.userSettings.language.enable.length === 0 ? (y(!0), w(oe, { key: 1 }, ve(g(t).availableLanguage(), (V) => (y(), w("option", {
|
|
41634
41636
|
key: V,
|
|
41635
41637
|
value: V
|
|
41636
|
-
}, f(V), 9,
|
|
41638
|
+
}, f(V), 9, bde))), 128)) : A("", !0)
|
|
41637
41639
|
], 512), [
|
|
41638
41640
|
[Lt, ae.value]
|
|
41639
41641
|
])
|
|
41640
41642
|
])) : A("", !0)
|
|
41641
41643
|
], 64)) : A("", !0),
|
|
41642
|
-
o.showCloseButton ? (y(), w("div",
|
|
41644
|
+
o.showCloseButton ? (y(), w("div", mde, [
|
|
41643
41645
|
d("button", {
|
|
41644
41646
|
type: "button",
|
|
41645
41647
|
class: "pbx-h-10 pbx-w-10 pbx-flex-end pbx-cursor-pointer pbx-rounded-full pbx-flex pbx-items-center pbx-border-none pbx-justify-center pbx-bg-gray-50 pbx-aspect-square hover:pbx-bg-myPrimaryLinkColor hover:pbx-text-white hover:pbx-fill-white focus-visible:pbx-ring-0",
|
|
@@ -41652,11 +41654,11 @@ const Ope = { class: "lg:pbx-min-w-full lg:pbx-max-w-full lg:pbx-w-full pbx-mx-a
|
|
|
41652
41654
|
class: "material-symbols-outlined",
|
|
41653
41655
|
"aria-hidden": "true"
|
|
41654
41656
|
}, " close ", -1)
|
|
41655
|
-
])], 8,
|
|
41657
|
+
])], 8, gde)
|
|
41656
41658
|
])) : A("", !0)
|
|
41657
41659
|
])
|
|
41658
41660
|
]),
|
|
41659
|
-
d("div",
|
|
41661
|
+
d("div", xde, [
|
|
41660
41662
|
d("main", {
|
|
41661
41663
|
ref_key: "pbxBuilderWrapper",
|
|
41662
41664
|
ref: Wo,
|
|
@@ -41664,7 +41666,7 @@ const Ope = { class: "lg:pbx-min-w-full lg:pbx-max-w-full lg:pbx-w-full pbx-mx-a
|
|
|
41664
41666
|
class: O(["pbx-transition-all pbx-duration-300 pbx-p-1 pbx-flex pbx-flex-col pbx-grow pbx-rounded-tr-2xl pbx-rounded-tl-2xl pbx-border-solid pbx-border pbx-border-gray-200 pbx-items-stretch pbx-text-black pbx-h-[100vh] pbx-overflow-y-scroll pbx-relative pbx-pt-16", [(To.value, "pbx-w-full")]]),
|
|
41665
41667
|
style: _e(No.value)
|
|
41666
41668
|
}, [
|
|
41667
|
-
d("div",
|
|
41669
|
+
d("div", hde, [
|
|
41668
41670
|
mo.value ? (y(), me(yQ, {
|
|
41669
41671
|
key: 0,
|
|
41670
41672
|
ref_key: "selectedElementToolbarRef",
|
|
@@ -41680,14 +41682,14 @@ const Ope = { class: "lg:pbx-min-w-full lg:pbx-max-w-full lg:pbx-w-full pbx-mx-a
|
|
|
41680
41682
|
class: O([nt.value, "pbx-text-black"]),
|
|
41681
41683
|
onDblclickCapture: Na
|
|
41682
41684
|
}, [
|
|
41683
|
-
Array.isArray(Mo.value) && Mo.value.length === 0 ? (y(), w("div",
|
|
41684
|
-
d("div",
|
|
41685
|
+
Array.isArray(Mo.value) && Mo.value.length === 0 ? (y(), w("div", fde, [
|
|
41686
|
+
d("div", yde, [
|
|
41685
41687
|
d("div", {
|
|
41686
41688
|
onClick: z[23] || (z[23] = (V) => uo(0)),
|
|
41687
41689
|
class: "pbx-py-4 pbx-px-4 pbx-my-4 pbx-rounded-full pbx-bg-gray-100 pbx-text-gray-600 pbx-flex pbx-items-center pbx-justify-center hover:pbx-text-white hover:pbx-bg-gray-900 pbx-cursor-pointer"
|
|
41688
41690
|
}, [
|
|
41689
|
-
d("div",
|
|
41690
|
-
d("span",
|
|
41691
|
+
d("div", vde, [
|
|
41692
|
+
d("span", wde, f(g(x)("Add new Components")), 1)
|
|
41691
41693
|
])
|
|
41692
41694
|
]),
|
|
41693
41695
|
B.value ? (y(), w("div", {
|
|
@@ -41695,23 +41697,23 @@ const Ope = { class: "lg:pbx-min-w-full lg:pbx-max-w-full lg:pbx-w-full pbx-mx-a
|
|
|
41695
41697
|
onClick: z[24] || (z[24] = (V) => bo(0)),
|
|
41696
41698
|
class: "pbx-py-4 pbx-px-4 pbx-my-4 pbx-rounded-full pbx-bg-gray-100 pbx-text-gray-600 pbx-flex pbx-items-center pbx-justify-center hover:pbx-text-white hover:pbx-bg-gray-900 pbx-cursor-pointer"
|
|
41697
41699
|
}, [
|
|
41698
|
-
d("div",
|
|
41700
|
+
d("div", Sde, [
|
|
41699
41701
|
z[44] || (z[44] = d("span", { class: "material-symbols-outlined" }, "shopping_bag", -1)),
|
|
41700
|
-
d("span",
|
|
41702
|
+
d("span", kde, f(g(x)("Products")), 1)
|
|
41701
41703
|
])
|
|
41702
41704
|
])) : A("", !0)
|
|
41703
41705
|
])
|
|
41704
41706
|
])) : A("", !0),
|
|
41705
|
-
Array.isArray(Mo.value) && Mo.value.length != 0 ? (y(), w("div",
|
|
41706
|
-
d("div",
|
|
41707
|
-
d("div",
|
|
41707
|
+
Array.isArray(Mo.value) && Mo.value.length != 0 ? (y(), w("div", Cde, [
|
|
41708
|
+
d("div", Tde, [
|
|
41709
|
+
d("div", Pde, [
|
|
41708
41710
|
d("div", {
|
|
41709
41711
|
onClick: z[25] || (z[25] = (V) => uo(0)),
|
|
41710
41712
|
class: "pbx-addsection-btn pbx-font-sans pbx-rounded-l-full pbx-rounded-r-none pbx-bg-gray-100 pbx-text-gray-600 pbx-z-50 pbx-flex pbx-items-center pbx-justify-center hover:pbx-text-white hover:pbx-bg-gray-900 pbx-cursor-pointer"
|
|
41711
41713
|
}, [
|
|
41712
|
-
d("div",
|
|
41714
|
+
d("div", Mde, [
|
|
41713
41715
|
z[45] || (z[45] = d("span", { class: "material-symbols-outlined" }, " add ", -1)),
|
|
41714
|
-
d("span",
|
|
41716
|
+
d("span", Lde, f(g(x)("Add")), 1)
|
|
41715
41717
|
])
|
|
41716
41718
|
]),
|
|
41717
41719
|
B.value ? (y(), w("div", {
|
|
@@ -41719,7 +41721,7 @@ const Ope = { class: "lg:pbx-min-w-full lg:pbx-max-w-full lg:pbx-w-full pbx-mx-a
|
|
|
41719
41721
|
onClick: z[26] || (z[26] = (V) => bo(0)),
|
|
41720
41722
|
class: "pbx-addsection-btn pbx-font-sans pbx-rounded-l-none pbx-bg-gray-100 pbx-text-gray-600 pbx-z-50 pbx-flex pbx-items-center pbx-justify-center hover:pbx-text-white hover:pbx-bg-gray-900 pbx-cursor-pointer pbx-border-l pbx-border-gray-200"
|
|
41721
41723
|
}, [
|
|
41722
|
-
d("div",
|
|
41724
|
+
d("div", Ede, [
|
|
41723
41725
|
z[46] || (z[46] = d("span", { class: "material-symbols-outlined" }, " shopping_bag ", -1)),
|
|
41724
41726
|
A("", !0)
|
|
41725
41727
|
])
|
|
@@ -41735,29 +41737,29 @@ const Ope = { class: "lg:pbx-min-w-full lg:pbx-max-w-full lg:pbx-w-full pbx-mx-a
|
|
|
41735
41737
|
"data-pagebuilder-content": "",
|
|
41736
41738
|
innerHTML: V.html_code,
|
|
41737
41739
|
onMouseup: (Qe) => Oa(V)
|
|
41738
|
-
}, null, 40,
|
|
41739
|
-
Array.isArray(Mo.value) && Mo.value.length != 0 ? (y(), w("div",
|
|
41740
|
-
d("div",
|
|
41741
|
-
d("div",
|
|
41740
|
+
}, null, 40, Ade)) : A("", !0),
|
|
41741
|
+
Array.isArray(Mo.value) && Mo.value.length != 0 ? (y(), w("div", $de, [
|
|
41742
|
+
d("div", _de, [
|
|
41743
|
+
d("div", Bde, [
|
|
41742
41744
|
d("div", {
|
|
41743
41745
|
onClick: (Qe) => uo(ue + 1),
|
|
41744
41746
|
class: "pbx-addsection-btn pbx-font-sans pbx-rounded-l-full pbx-rounded-r-none pbx-bg-gray-100 pbx-text-gray-600 pbx-z-50 pbx-flex pbx-items-center pbx-justify-center hover:pbx-text-white hover:pbx-bg-gray-900 pbx-cursor-pointer"
|
|
41745
41747
|
}, [
|
|
41746
|
-
d("div",
|
|
41748
|
+
d("div", Hde, [
|
|
41747
41749
|
z[47] || (z[47] = d("span", { class: "material-symbols-outlined" }, " add ", -1)),
|
|
41748
|
-
d("span",
|
|
41750
|
+
d("span", Dde, f(g(x)("Add")), 1)
|
|
41749
41751
|
])
|
|
41750
|
-
], 8,
|
|
41752
|
+
], 8, Ide),
|
|
41751
41753
|
B.value ? (y(), w("div", {
|
|
41752
41754
|
key: 0,
|
|
41753
41755
|
onClick: (Qe) => bo(ue + 1),
|
|
41754
41756
|
class: "pbx-addsection-btn pbx-font-sans pbx-rounded-l-none pbx-bg-gray-100 pbx-text-gray-600 pbx-z-50 pbx-flex pbx-items-center pbx-justify-center hover:pbx-text-white hover:pbx-bg-gray-900 pbx-cursor-pointer pbx-border-l pbx-border-gray-200"
|
|
41755
41757
|
}, [
|
|
41756
|
-
d("div",
|
|
41758
|
+
d("div", zde, [
|
|
41757
41759
|
z[48] || (z[48] = d("span", { class: "material-symbols-outlined" }, " shopping_bag ", -1)),
|
|
41758
41760
|
A("", !0)
|
|
41759
41761
|
])
|
|
41760
|
-
], 8,
|
|
41762
|
+
], 8, Rde)) : A("", !0)
|
|
41761
41763
|
])
|
|
41762
41764
|
])
|
|
41763
41765
|
])) : A("", !0)
|
|
@@ -41778,7 +41780,7 @@ const Ope = { class: "lg:pbx-min-w-full lg:pbx-max-w-full lg:pbx-w-full pbx-mx-a
|
|
|
41778
41780
|
To.value ? "pbx-w-96 pbx-bg-myPrimaryLightGrayColor pbx-items-stretch" : "pbx-w-0 pbx-mr-0"
|
|
41779
41781
|
]])
|
|
41780
41782
|
}, [
|
|
41781
|
-
R(
|
|
41783
|
+
R(yle, {
|
|
41782
41784
|
onCloseEditor: z[27] || (z[27] = (V) => g(k).setMenuRight(!1))
|
|
41783
41785
|
})
|
|
41784
41786
|
], 2)) : (y(), w("div", {
|
|
@@ -41807,7 +41809,7 @@ const Ope = { class: "lg:pbx-min-w-full lg:pbx-max-w-full lg:pbx-w-full pbx-mx-a
|
|
|
41807
41809
|
class: "pbx-h-10 pbx-w-10 pbx-cursor-pointer pbx-rounded-full pbx-flex pbx-items-center pbx-border-none pbx-justify-center pbx-bg-gray-50 pbx-aspect-square hover:pbx-bg-myPrimaryLinkColor focus-visible:pbx-ring-0 pbx-text-black hover:pbx-text-white"
|
|
41808
41810
|
}, [
|
|
41809
41811
|
d("span", null, [
|
|
41810
|
-
(y(), w("svg",
|
|
41812
|
+
(y(), w("svg", Ode, [...z[49] || (z[49] = [
|
|
41811
41813
|
d("g", { "clip-path": "url(#prefix__clip0_1645_485)" }, [
|
|
41812
41814
|
d("path", {
|
|
41813
41815
|
"clip-rule": "evenodd",
|
|
@@ -41840,11 +41842,11 @@ const Ope = { class: "lg:pbx-min-w-full lg:pbx-max-w-full lg:pbx-w-full pbx-mx-a
|
|
|
41840
41842
|
onCloseSidebarPanel: Ei
|
|
41841
41843
|
}, {
|
|
41842
41844
|
default: q(() => [
|
|
41843
|
-
R(
|
|
41845
|
+
R(Kle, { show: xo.value }, null, 8, ["show"])
|
|
41844
41846
|
]),
|
|
41845
41847
|
_: 1
|
|
41846
41848
|
}, 8, ["title", "showSidebarPanel"]),
|
|
41847
|
-
R(
|
|
41849
|
+
R(Ape, {
|
|
41848
41850
|
show: g(s),
|
|
41849
41851
|
title: g(l),
|
|
41850
41852
|
html: g(p),
|
|
@@ -41854,13 +41856,13 @@ const Ope = { class: "lg:pbx-min-w-full lg:pbx-max-w-full lg:pbx-w-full pbx-mx-a
|
|
|
41854
41856
|
onClose: g(b),
|
|
41855
41857
|
onSave: g(m)
|
|
41856
41858
|
}, null, 8, ["show", "title", "html", "is-loading", "error", "onClose", "onSave"]),
|
|
41857
|
-
R(
|
|
41859
|
+
R(upe, {
|
|
41858
41860
|
show: g(r),
|
|
41859
41861
|
title: g(i),
|
|
41860
41862
|
html: g(n),
|
|
41861
41863
|
onClose: g(a)
|
|
41862
41864
|
}, null, 8, ["show", "title", "html", "onClose"]),
|
|
41863
|
-
R(
|
|
41865
|
+
R(Hpe)
|
|
41864
41866
|
], 64);
|
|
41865
41867
|
};
|
|
41866
41868
|
}
|
|
@@ -41899,28 +41901,28 @@ const Xp = {
|
|
|
41899
41901
|
}, ht = [];
|
|
41900
41902
|
for (let o = 0; o < 256; ++o)
|
|
41901
41903
|
ht.push((o + 256).toString(16).slice(1));
|
|
41902
|
-
function
|
|
41904
|
+
function Nde(o, e = 0) {
|
|
41903
41905
|
return (ht[o[e + 0]] + ht[o[e + 1]] + ht[o[e + 2]] + ht[o[e + 3]] + "-" + ht[o[e + 4]] + ht[o[e + 5]] + "-" + ht[o[e + 6]] + ht[o[e + 7]] + "-" + ht[o[e + 8]] + ht[o[e + 9]] + "-" + ht[o[e + 10]] + ht[o[e + 11]] + ht[o[e + 12]] + ht[o[e + 13]] + ht[o[e + 14]] + ht[o[e + 15]]).toLowerCase();
|
|
41904
41906
|
}
|
|
41905
|
-
const
|
|
41906
|
-
function
|
|
41907
|
-
return crypto.getRandomValues(
|
|
41907
|
+
const Fde = new Uint8Array(16);
|
|
41908
|
+
function jde() {
|
|
41909
|
+
return crypto.getRandomValues(Fde);
|
|
41908
41910
|
}
|
|
41909
41911
|
function pm(o, e, t) {
|
|
41910
|
-
return crypto.randomUUID ? crypto.randomUUID() :
|
|
41912
|
+
return crypto.randomUUID ? crypto.randomUUID() : Vde(o);
|
|
41911
41913
|
}
|
|
41912
|
-
function
|
|
41914
|
+
function Vde(o, e, t) {
|
|
41913
41915
|
var i;
|
|
41914
41916
|
o = o || {};
|
|
41915
|
-
const r = o.random ?? ((i = o.rng) == null ? void 0 : i.call(o)) ??
|
|
41917
|
+
const r = o.random ?? ((i = o.rng) == null ? void 0 : i.call(o)) ?? jde();
|
|
41916
41918
|
if (r.length < 16)
|
|
41917
41919
|
throw new Error("Random bytes length must be >= 16");
|
|
41918
|
-
return r[6] = r[6] & 15 | 64, r[8] = r[8] & 63 | 128,
|
|
41920
|
+
return r[6] = r[6] & 15 | 64, r[8] = r[8] & 63 | 128, Nde(r);
|
|
41919
41921
|
}
|
|
41920
41922
|
function Ct(o) {
|
|
41921
41923
|
return o.replace(/&/g, "&").replace(/</g, "<").replace(/>/g, ">").replace(/"/g, """);
|
|
41922
41924
|
}
|
|
41923
|
-
const Zp = "hidden",
|
|
41925
|
+
const Zp = "hidden", qde = /* @__PURE__ */ new Set([
|
|
41924
41926
|
"id",
|
|
41925
41927
|
"title",
|
|
41926
41928
|
"description",
|
|
@@ -41933,11 +41935,11 @@ const Zp = "hidden", Vde = /* @__PURE__ */ new Set([
|
|
|
41933
41935
|
"buttonText",
|
|
41934
41936
|
"sku"
|
|
41935
41937
|
]);
|
|
41936
|
-
function
|
|
41938
|
+
function Ude(o) {
|
|
41937
41939
|
return o ? ' target="_blank" rel="noopener noreferrer"' : "";
|
|
41938
41940
|
}
|
|
41939
|
-
function
|
|
41940
|
-
const r = e.cardStyle ?? "minimal", i = e.roundedImages ?? !1, n = e.openInNewTab ?? !1, a = e.hidePrice ?? !1, s = e.hideImage ?? !1, l = e.hideButton ?? !1, p =
|
|
41941
|
+
function Wde(o, e = {}, t = !1) {
|
|
41942
|
+
const r = e.cardStyle ?? "minimal", i = e.roundedImages ?? !1, n = e.openInNewTab ?? !1, a = e.hidePrice ?? !1, s = e.hideImage ?? !1, l = e.hideButton ?? !1, p = Ude(n), c = _l[r] ?? _l.minimal, u = [
|
|
41941
41943
|
eR(i),
|
|
41942
41944
|
s ? Zp : ""
|
|
41943
41945
|
].filter(Boolean).join(" "), b = o.id != null ? String(o.id) : "", m = o.title ? Ct(o.title) : "", h = o.description ? Ct(o.description) : "", x = o.price != null ? Ct(String(o.price)) : "", v = o.compareAtPrice != null ? Ct(String(o.compareAtPrice)) : "", C = o.badge ? Ct(o.badge) : "", P = o.image ? Ct(o.image) : "", k = o.imageAlt ? Ct(o.imageAlt) : m || "Product", B = o.url ? Ct(o.url) : "", E = o.buttonText ? Ct(o.buttonText) : "";
|
|
@@ -41947,7 +41949,7 @@ function Ude(o, e = {}, t = !1) {
|
|
|
41947
41949
|
H = B ? `<div class="${u}" data-pb-no-inline-text><a href="${B}"${p}>${N}</a></div>` : `<div class="${u}" data-pb-no-inline-text>${N}</div>`;
|
|
41948
41950
|
}
|
|
41949
41951
|
const M = C ? `<div class="product-card-badge text-xs font-medium uppercase tracking-wide text-gray-500 pt-2"><p>${C}</p></div>` : t ? '<div class="product-card-badge text-xs font-medium uppercase tracking-wide text-gray-500 pt-2 min-h-6"></div>' : "", I = m ? `<div class="product-card-title text-lg font-semibold text-gray-900 pt-2 min-h-16">${B ? `<p><a href="${B}"${p}>${m}</a></p>` : `<p>${m}</p>`}</div>` : "", $ = h ? `<div class="product-card-description text-sm text-gray-600 pt-1"><p>${h}</p></div>` : "", T = Object.entries(o).filter(
|
|
41950
|
-
([N, j]) => !
|
|
41952
|
+
([N, j]) => !qde.has(N) && j != null && String(j).trim() !== ""
|
|
41951
41953
|
), _ = T.length ? `<div class="product-card-custom-fields text-sm text-gray-600 pt-1">${T.map(([N, j]) => `<div class="product-card-custom-field product-card-custom-field-${N.toLowerCase().replace(/[^a-z0-9]+/g, "-").replace(/^-+|-+$/g, "")}"><p><strong>${Ct(N)}</strong>: ${Ct(String(j))}</p></div>`).join("")}</div>` : "";
|
|
41952
41954
|
let J = "";
|
|
41953
41955
|
if (!!(x || v || B && E)) {
|
|
@@ -41980,9 +41982,9 @@ function Ude(o, e = {}, t = !1) {
|
|
|
41980
41982
|
].filter(Boolean).join(`
|
|
41981
41983
|
`);
|
|
41982
41984
|
}
|
|
41983
|
-
function
|
|
41985
|
+
function Gde(o, e = "grid-3", t = "Products", r = {}) {
|
|
41984
41986
|
if (!o.length) return "";
|
|
41985
|
-
const i = o.map((x) => x.id != null ? String(x.id) : "").filter(Boolean).join(","), n = r.mobileColumns === 2 ? 2 : 1, a = r.cardStyle ?? "minimal", s = r.roundedImages ?? !1, l = r.openInNewTab ?? !1, p = r.hidePrice ?? !1, c = r.hideImage ?? !1, u = r.hideButton ?? !1, b = o.some((x) => !!x.badge), m = o.map((x) =>
|
|
41987
|
+
const i = o.map((x) => x.id != null ? String(x.id) : "").filter(Boolean).join(","), n = r.mobileColumns === 2 ? 2 : 1, a = r.cardStyle ?? "minimal", s = r.roundedImages ?? !1, l = r.openInNewTab ?? !1, p = r.hidePrice ?? !1, c = r.hideImage ?? !1, u = r.hideButton ?? !1, b = o.some((x) => !!x.badge), m = o.map((x) => Wde(x, r, b)).join(`
|
|
41986
41988
|
`), h = ZD(e, n);
|
|
41987
41989
|
return `<section data-component-title="${Ct(t)}" data-pbx-product-section="true" data-pbx-product-ids="${Ct(i)}" data-pbx-product-layout="${Ct(String(e))}" data-pbx-product-mobile-cols="${n}" data-pbx-product-card-style="${Ct(a)}" data-pbx-product-rounded-images="${s ? "true" : "false"}" data-pbx-product-open-in-new-tab="${l ? "true" : "false"}" data-pbx-product-hide-price="${p ? "true" : "false"}" data-pbx-product-hide-image="${c ? "true" : "false"}" data-pbx-product-hide-button="${u ? "true" : "false"}">
|
|
41988
41990
|
<div class="pbx-py-8 pbx-px-4"><div class="pbx-mx-auto pbx-max-w-7xl"><div class="${h}" data-pbx-product-grid="true">
|
|
@@ -42009,7 +42011,7 @@ function Wn(o) {
|
|
|
42009
42011
|
description: typeof e.description == "string" ? e.description : ""
|
|
42010
42012
|
};
|
|
42011
42013
|
}
|
|
42012
|
-
function
|
|
42014
|
+
function Kde(o, e) {
|
|
42013
42015
|
return {
|
|
42014
42016
|
...o,
|
|
42015
42017
|
meta: {
|
|
@@ -42018,7 +42020,7 @@ function Gde(o, e) {
|
|
|
42018
42020
|
}
|
|
42019
42021
|
};
|
|
42020
42022
|
}
|
|
42021
|
-
function
|
|
42023
|
+
function Jde(o, e, t = 180) {
|
|
42022
42024
|
const r = e.getBoundingClientRect(), i = o.getBoundingClientRect(), a = r.top - i.top + o.scrollTop - o.clientHeight / 2 + e.clientHeight / 2, s = o.scrollTop, l = a - s;
|
|
42023
42025
|
if (Math.abs(l) < 1) {
|
|
42024
42026
|
window.dispatchEvent(new CustomEvent("pagebuilder:layout-change"));
|
|
@@ -42034,7 +42036,7 @@ function Kde(o, e, t = 180) {
|
|
|
42034
42036
|
};
|
|
42035
42037
|
requestAnimationFrame(c);
|
|
42036
42038
|
}
|
|
42037
|
-
const
|
|
42039
|
+
const Yde = [
|
|
42038
42040
|
"en",
|
|
42039
42041
|
"zh-Hans",
|
|
42040
42042
|
"fr",
|
|
@@ -42048,7 +42050,7 @@ const Jde = [
|
|
|
42048
42050
|
"da",
|
|
42049
42051
|
"it"
|
|
42050
42052
|
], vs = "pbx-full-width-component";
|
|
42051
|
-
class
|
|
42053
|
+
class Qde {
|
|
42052
42054
|
constructor(e) {
|
|
42053
42055
|
// Class properties with types
|
|
42054
42056
|
Ee(this, "fontSizeRegex", /^(sm:|md:|lg:|xl:|2xl:)?pbx-text-(xs|sm|base|lg|xl|2xl|3xl|4xl|5xl|6xl|7xl|8xl|9xl)$/);
|
|
@@ -42257,7 +42259,7 @@ class Yde {
|
|
|
42257
42259
|
* @returns {AvailableLanguage[]} An array of available language codes.
|
|
42258
42260
|
*/
|
|
42259
42261
|
availableLanguage() {
|
|
42260
|
-
return
|
|
42262
|
+
return Yde;
|
|
42261
42263
|
}
|
|
42262
42264
|
/**
|
|
42263
42265
|
* Sets the current language in the page builder state.
|
|
@@ -43545,7 +43547,7 @@ class Yde {
|
|
|
43545
43547
|
if (a) {
|
|
43546
43548
|
a.classList.add("pbx-reorder-highlight");
|
|
43547
43549
|
const s = a.previousElementSibling, l = a.nextElementSibling;
|
|
43548
|
-
s && s.tagName === "SECTION" && s.classList.add("pbx-sibling-highlight"), l && l.tagName === "SECTION" && l.classList.add("pbx-sibling-highlight"), n && (
|
|
43550
|
+
s && s.tagName === "SECTION" && s.classList.add("pbx-sibling-highlight"), l && l.tagName === "SECTION" && l.classList.add("pbx-sibling-highlight"), n && (Jde(n, a), window.setTimeout(() => {
|
|
43549
43551
|
a.classList.remove("pbx-reorder-highlight"), s && s.tagName === "SECTION" && s.classList.remove("pbx-sibling-highlight"), l && l.tagName === "SECTION" && l.classList.remove("pbx-sibling-highlight");
|
|
43550
43552
|
}, 280));
|
|
43551
43553
|
}
|
|
@@ -44043,7 +44045,7 @@ ${a}
|
|
|
44043
44045
|
const r = { ...this.getPageMeta(), ...e }, i = document.querySelector("#pagebuilder");
|
|
44044
44046
|
i && td(i, r);
|
|
44045
44047
|
const n = this.readCurrentPageSettings() ?? this._lastKnownPageSettings ?? { classes: "", style: "" };
|
|
44046
|
-
this._lastKnownPageSettings =
|
|
44048
|
+
this._lastKnownPageSettings = Kde(n, r), await this.handleAutoSave();
|
|
44047
44049
|
}
|
|
44048
44050
|
async analyzeSEO() {
|
|
44049
44051
|
const e = await this.returnLatestComponents();
|
|
@@ -44220,7 +44222,7 @@ ${a}
|
|
|
44220
44222
|
async insertProducts(e, t = {}) {
|
|
44221
44223
|
if (!e.length) return;
|
|
44222
44224
|
t.method && this.pageBuilderStateStore.setComponentArrayAddMethod(t.method);
|
|
44223
|
-
const r = t.sectionTitle ?? "Products", i =
|
|
44225
|
+
const r = t.sectionTitle ?? "Products", i = Gde(e, t.layout ?? "grid-3", r, {
|
|
44224
44226
|
cardStyle: t.cardStyle,
|
|
44225
44227
|
roundedImages: t.roundedImages,
|
|
44226
44228
|
openInNewTab: t.openInNewTab,
|
|
@@ -44520,22 +44522,22 @@ ${a}
|
|
|
44520
44522
|
await ce(), this.setBasePrimaryImageFromSelectedElement(), this.handleHyperlink(void 0, null, !1), this.handleOpacity(void 0), this.handleBackgroundOpacity(void 0), this.handleBackgroundColor(void 0), this.handleTextColor(void 0), 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.handleFontSizeBase(void 0), this.handleFontSizeDesktop(void 0), this.handleFontSizeTablet(void 0), this.handleFontSizeMobile(void 0), this.handleFontWeight(void 0), this.handleFontFamily(void 0), this.handleFontStyle(void 0), this.handleVerticalPadding(void 0), this.handleHorizontalPadding(void 0), this.handleTopPadding(void 0), this.handleRightPadding(void 0), this.handleBottomPadding(void 0), this.handleLeftPadding(void 0), this.handleVerticalMargin(void 0), this.handleHorizontalMargin(void 0), this.handleTopMargin(void 0), this.handleRightMargin(void 0), this.handleBottomMargin(void 0), this.handleLeftMargin(void 0), this.isSelectedElementImage() && (this.handleImageObjectFit(void 0), this.handleImageObjectPosition(void 0), this.handleImageAspectRatio(void 0)), await this.syncCurrentClasses(), await this.syncCurrentStyles();
|
|
44521
44523
|
}
|
|
44522
44524
|
}
|
|
44523
|
-
const
|
|
44525
|
+
const uce = {
|
|
44524
44526
|
install: (o) => {
|
|
44525
|
-
const e = Ne, t = new
|
|
44527
|
+
const e = Ne, t = new Qde(e);
|
|
44526
44528
|
BU(t), o.config.globalProperties.$pageBuilder = t;
|
|
44527
44529
|
}
|
|
44528
44530
|
};
|
|
44529
44531
|
export {
|
|
44530
|
-
|
|
44532
|
+
cce as PageBuilder,
|
|
44531
44533
|
ou as PageBuilderPreview,
|
|
44532
|
-
|
|
44533
|
-
|
|
44534
|
+
Qde as PageBuilderService,
|
|
44535
|
+
Gde as buildProductSectionHtml,
|
|
44534
44536
|
jD as buildStorageKey,
|
|
44535
44537
|
MU as createPinia,
|
|
44536
44538
|
Fe as getPageBuilder,
|
|
44537
|
-
|
|
44538
|
-
|
|
44539
|
+
uce as pageBuilder,
|
|
44540
|
+
dce as resetThemeColorPresets,
|
|
44539
44541
|
uD as sharedPageBuilderPinia,
|
|
44540
44542
|
Ne as sharedPageBuilderStore,
|
|
44541
44543
|
iR as usePageBuilderModal,
|