@myissue/vue-website-page-builder 3.4.47 → 3.4.49
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.
|
@@ -3,7 +3,10 @@ var n1 = (n, e, t) => e in n ? t1(n, e, { enumerable: !0, configurable: !0, writ
|
|
|
3
3
|
var de = (n, e, t) => n1(n, typeof e != "symbol" ? e + "" : e, t);
|
|
4
4
|
import * as ya from "vue";
|
|
5
5
|
import { defineComponent as tt, computed as A, createBlock as oe, openBlock as y, Teleport as i1, createElementVNode as c, createElementBlock as w, createCommentVNode as E, normalizeClass as j, toDisplayString as C, renderSlot as xn, ref as k, watchEffect as ci, Fragment as J, withCtx as V, nextTick as te, readonly as r1, effectScope as rp, markRaw as Yt, toRaw as ze, hasInjectionContext as o1, inject as an, getCurrentInstance as op, watch as Y, unref as g, reactive as s1, isRef as Di, isReactive as fl, toRef as Qo, getCurrentScope as l1, onScopeDispose as a1, toRefs as va, withDirectives as le, renderList as ne, vModelSelect as ve, createTextVNode as Se, withKeys as As, vModelText as Bn, withModifiers as Xe, provide as Ut, resolveDynamicComponent as sp, createVNode as z, vShow as Is, onMounted as Pn, cloneVNode as d1, h as Ln, onUnmounted as p1, Transition as Ht, shallowRef as c1, onBeforeUnmount as lp, customRef as u1, onBeforeMount as h1, createStaticVNode as ap, normalizeStyle as f1 } from "vue";
|
|
6
|
-
const b1 = {
|
|
6
|
+
const b1 = {
|
|
7
|
+
id: "pbx-modal",
|
|
8
|
+
class: "pbx-font-sans"
|
|
9
|
+
}, m1 = {
|
|
7
10
|
key: 0,
|
|
8
11
|
class: "pbx-fixed pbx-inset-0 pbx-z-40 pbx-flex pbx-items-center pbx-justify-center pbx-mx-4",
|
|
9
12
|
role: "dialog",
|
|
@@ -7073,7 +7076,7 @@ const AS = /* @__PURE__ */ LS("pageBuilderState", {
|
|
|
7073
7076
|
}, Uw = { class: "pbx-overflow-hidden pbx-shadow pbx-ring-1 pbx-ring-black pbx-ring-opacity-5 md:pbx-rounded-lg" }, Gw = { class: "pbx-overflow-x-auto" }, Kw = { class: "pbx-w-max" }, Jw = { class: "pbx-bg-white pbx-divide-y pbx-divide-gray-200" }, Yw = { class: "pbx-px-6 pbx-py-4 pbx-whitespace-nowrap pbx-text-sm pbx-text-gray-500" }, Qw = { class: "pbx-min-w-[30rem] pbx-w-max" }, Xw = { key: 0 }, Zw = { key: 1 }, e2 = { key: 0 }, t2 = { class: "pbx-px-6 pbx-py-4 pbx-whitespace-nowrap pbx-text-sm pbx-text-gray-500" }, n2 = { class: "pbx-min-w-[30rem] pbx-w-max" }, i2 = { class: "pbx-inline-flex pbx-items-center pbx-px-2.5 pbx-py-0.5 pbx-rounded-full pbx-text-xs pbx-font-medium" }, r2 = { class: "pbx-mt-4 pbx-mb-4 pbx-py-8 pbx-px-2 pbx-border pbx-border-solid pbx-border-gray-600 pbx-rounded-xl" }, o2 = { class: "pbx-mt-4 pbx-whitespace-pre-wrap pbx-text-white pbx-overflow-hidden pbx-bg-gray-900" }, s2 = { class: "pbx-px-4 pbx-pb-8 pbx-pt-4 pbx-text-white pbx-text-xs pbx-break-all" }, l2 = { class: "pbx-myPrimaryParagraph pbx-text-xs pbx-text-white" }, a2 = {
|
|
7074
7077
|
__name: "PageBuilderSettings",
|
|
7075
7078
|
setup(n) {
|
|
7076
|
-
const e = "3.4.
|
|
7079
|
+
const e = "3.4.49", t = he, i = A(() => t.getPageBuilderConfig);
|
|
7077
7080
|
return (r, o) => {
|
|
7078
7081
|
var s, l, a, d, p, u, h, f, b, m, x, v, T, S, M, B;
|
|
7079
7082
|
return y(), w("div", IS, [
|
|
@@ -25174,10 +25177,10 @@ const UP = { class: "pbx-my-2 pbx-py-2" }, GP = {
|
|
|
25174
25177
|
}, lL = {
|
|
25175
25178
|
key: 0,
|
|
25176
25179
|
class: "pbx-min-h-[2.5rem] pbx-flex pbx-items-center pbx-justify-start"
|
|
25177
|
-
}, aL = { class: "pbx-myPrimaryInputError pbx-mt-2 pbx-mb-0 pbx-py-0 pbx-self-start" }, dL = { class: "pbx-blockease-linear pbx-duration-200 pbx-block pbx-ease-linear" }, pL = { key: 0 }, cL = { class: "pbx-relative pbx-rounded-lg" }, uL = { class: "pbx-flex pbx-flex-wrap pbx-items-center pbx-
|
|
25180
|
+
}, aL = { class: "pbx-myPrimaryInputError pbx-mt-2 pbx-mb-0 pbx-py-0 pbx-self-start" }, dL = { class: "pbx-blockease-linear pbx-duration-200 pbx-block pbx-ease-linear" }, pL = { key: 0 }, cL = { class: "pbx-relative pbx-rounded-lg pbx-px-2" }, uL = { class: "pbx-flex pbx-flex-wrap pbx-items-center pbx-border-solid pbx-p-1 pbx-border pbx-border-gray-200 pbx-shadow-sm pbx-mb-4" }, hL = { class: "pbx-flex pbx-items-center pbx-justify-start pbx-gap-2 pbx-mr-6" }, fL = { class: "pbx-py-1 pbx-px-1 pbx-flex pbx-items-center pbx-justify-start pbx-gap-2 pbx-border pbxborder-gray-100 pbx-my-0.5 pbx-mx-0.5" }, bL = { class: "pbx-py-1 pbx-px-1 pbx-flex pbx-items-center pbx-justify-start pbx-gap-2 pbx-border pbxborder-gray-100 pbx-my-0.5 pbx-mx-0.5" }, mL = { class: "pbx-py-1 pbx-px-1 pbx-flex pbx-items-center pbx-justify-start pbx-gap-2 pbx-border pbxborder-gray-100 pbx-my-0.5 pbx-mx-0.5" }, xL = { class: "pbx-py-1 pbx-px-1 pbx-flex pbx-items-center pbx-justify-start pbx-gap-2 pbx-border pbxborder-gray-100 pbx-my-0.5 pbx-mx-0.5" }, gL = { class: "pbx-py-1 pbx-px-1 pbx-flex pbx-items-center pbx-justify-start pbx-gap-2 pbx-border pbxborder-gray-100 pbx-my-0.5 pbx-mx-0.5" }, yL = { class: "pbx-py-1 pbx-px-1 pbx-flex pbx-items-center pbx-justify-start pbx-gap-2 pbx-border pbxborder-gray-100 pbx-my-0.5 pbx-mx-0.5" }, vL = { class: "pbx-py-1 pbx-px-1 pbx-flex pbx-items-center pbx-justify-start pbx-gap-2 pbx-border pbxborder-gray-100 pbx-my-0.5 pbx-mx-0.5" }, SL = { class: "pbx-py-1 pbx-px-1 pbx-flex pbx-items-center pbx-justify-start pbx-gap-2 pbx-border pbxborder-gray-100 pbx-my-0.5 pbx-mx-0.5" }, wL = { class: "pbx-py-1 pbx-px-1 pbx-flex pbx-items-center pbx-justify-start pbx-gap-2 pbx-border pbxborder-gray-100 pbx-my-0.5 pbx-mx-0.5" }, CL = { class: "pbx-py-1 pbx-px-1 pbx-flex pbx-items-center pbx-justify-start pbx-gap-2 pbx-border pbxborder-gray-100 pbx-my-0.5 pbx-mx-0.5" }, kL = { class: "pbx-py-1 pbx-px-1 pbx-flex pbx-items-center pbx-justify-start pbx-gap-2 pbx-border pbxborder-gray-100 pbx-my-0.5 pbx-mx-0.5" }, TL = { class: "pbx-py-1 pbx-px-1 pbx-flex pbx-items-center pbx-gap-2 pbx-border pbxborder-gray-100 pbx-my-0.5 pbx-mx-0.5 pbx-relative" }, ML = {
|
|
25178
25181
|
key: 0,
|
|
25179
|
-
class: "pbx-top-
|
|
25180
|
-
}, EL = { class: "
|
|
25182
|
+
class: "pbx-top-full pbx-absolute pbx-z-40 pbx-left-1/2 pbx-transform pbx--translate-x-1/2 pbx-w-72 pbx-select-none"
|
|
25183
|
+
}, EL = { class: "pbx-rounded-3xl pbx-border pbx-border-gray-100 pbx-bg-white pbx-shadow-lg pbx-pt-4 pbx-pb-4 pbx-flex pbx-flex-col pbx-overflow-y-auto pbx-max-h-[50vh] pbx-mx-4 pbx-pl-2 pbx-pr-4" }, BL = {
|
|
25181
25184
|
__name: "TipTapInput",
|
|
25182
25185
|
setup(n) {
|
|
25183
25186
|
const e = Me(), { translate: t } = Te(), i = he, r = k(!1), o = k(""), s = k(1), l = k(""), a = k(""), d = k(""), p = k(null), u = k(null), h = k(null), f = k(null), b = k(null), m = A(() => i.getElement), x = k(""), v = A(() => S.value ? S.value.getHTML() : null), T = k(0);
|
|
@@ -25433,7 +25436,7 @@ const UP = { class: "pbx-my-2 pbx-py-2" }, GP = {
|
|
|
25433
25436
|
c("button", {
|
|
25434
25437
|
onClick: F,
|
|
25435
25438
|
type: "button",
|
|
25436
|
-
class: j(["pbx-h-10 pbx-px-
|
|
25439
|
+
class: j(["pbx-h-10 pbx-px-12 pbx-flex-end pbx-cursor-pointer pbx-rounded-sm pbx-flex pbx-items-center pbx-justify-center hover:pbx-bg-gray-100 pbx-text-myPrimaryDarkGrayColor pbx-font-medium", {
|
|
25437
25440
|
"pbx-bg-myPrimaryLinkColor pbx-text-white hover:pbx-text-white hover:pbx-bg-myPrimaryLinkColor": O.value
|
|
25438
25441
|
}])
|
|
25439
25442
|
}, C(g(t)("Font Appearance")), 3),
|
|
@@ -25800,10 +25803,16 @@ const UP = { class: "pbx-my-2 pbx-py-2" }, GP = {
|
|
|
25800
25803
|
_: 1
|
|
25801
25804
|
}));
|
|
25802
25805
|
}
|
|
25803
|
-
}, XL = { class: "pbx-mb-4 pbx-flex pbx-justify-start pbx-items-center pbx-gap-2 pbx-border-b pbx-border-solid pbx-border-gray-200 pbx-pb-4 pbx-overflow-x-auto" }, ZL = { class: "pbx-flex pbx-justify-center pbx-items-center pbx-gap-2" }, e5 = {
|
|
25806
|
+
}, XL = { class: "pbx-mb-4 pbx-flex pbx-justify-start pbx-items-center pbx-gap-2 pbx-border-b pbx-border-solid pbx-border-gray-200 pbx-pb-4 pbx-overflow-x-auto" }, ZL = { class: "pbx-flex pbx-justify-center pbx-items-center pbx-gap-2" }, e5 = {
|
|
25804
25807
|
key: 0,
|
|
25805
25808
|
class: "pbx-min-h-[50rem]"
|
|
25806
|
-
},
|
|
25809
|
+
}, t5 = { key: 0 }, n5 = { class: "pbx-myPrimaryParagraph pbx-mt-12 pbx-mb-8" }, i5 = { class: "pbx-my-2 pbx-py-2" }, r5 = {
|
|
25810
|
+
key: 1,
|
|
25811
|
+
class: "pbx-min-h-[50rem]"
|
|
25812
|
+
}, o5 = { class: "pbx-myPrimaryParagraph pbx-mt-12 pbx-mb-8" }, s5 = { class: "pbx-my-1" }, l5 = { class: "pbx-my-1" }, a5 = { class: "pbx-my-1" }, d5 = { class: "pbx-my-1" }, p5 = { class: "pbx-my-1" }, c5 = { class: "pbx-my-1" }, u5 = { class: "pbx-my-1" }, h5 = { class: "pbx-my-1" }, f5 = { class: "pbx-my-1" }, b5 = { class: "pbx-my-1" }, m5 = {
|
|
25813
|
+
key: 2,
|
|
25814
|
+
class: "pbx-min-h-[50rem]"
|
|
25815
|
+
}, x5 = { class: "pbx-w-full pbx-inset-x-0 pbx-h-[90vh] pbx-bg-white pbx-overflow-x-scroll lg:pbx-pt-2 pbx-pt-2" }, g5 = { class: "pbx-flex pbx-items-left pbx-flex-col pbx-myPrimaryGap pbx-border-myPrimaryMediumGrayColor" }, y5 = { class: "pbx-myPrimaryParagraph" }, v5 = { class: "pbx-myPrimaryParagraph pbx-text-xs pbx-pb-2" }, S5 = { class: "pbx-text-gray-100 pbx-overflow-hidden pbx-bg-gray-900" }, w5 = { class: "pbx-flex pbx-bg-gray-900 pbx-ring-1 ring-white/5" }, C5 = { class: "pbx-mb-px pbx-flex pbx-text-xs pbx-font-medium pbx-text-myPrimaryMediumGrayColor" }, k5 = { class: "pbx-px-4 pbx-py-4 pbx-text-gray-100" }, T5 = { class: "pbx-px-4 pbx-pb-8 pbx-pt-4 pbx-text-gray-100 pbx-text-xs" }, M5 = { class: "pbx-text-xs pbx-pb-2" }, E5 = { class: "pbx-text-xs pbx-pb-2" }, B5 = { class: "pbx-text-xs pbx-pb-2" }, P5 = { class: "pbx-myPrimaryParagraph pbx-text-xs pbx-pb-2" }, L5 = { class: "pbx-overflow-hidden pbx-bg-gray-900" }, A5 = { class: "pbx-flex pbx-bg-gray-900 pbx-ring-1 ring-white/5" }, I5 = { class: "pbx-mb-px pbx-flex pbx-text-xs pbx-font-medium pbx-text-myPrimaryMediumGrayColor" }, $5 = { class: "pbx-px-4 pbx-pb-8 pbx-pt-4 pbx-text-gray-100 pbx-text-xs pbx-break-all" }, D5 = { key: 0 }, O5 = { key: 0 }, _5 = { class: "pbx-pb-2 pbx-text-xs" }, N5 = {
|
|
25807
25816
|
key: 1,
|
|
25808
25817
|
class: "pbx-overflow-hidden pbx-border-solid pbx-border pbx-border-gray-100 pbx-mb-6"
|
|
25809
25818
|
}, H5 = { class: "pbx-border-0 pbx-bg-gray-900 pbx-pt-4 pbx-1 pbx-border-solid pbx-border-b pbx-border-gray-200" }, R5 = { class: "pbx-overflow-x-auto" }, z5 = { class: "pbx-min-w-full" }, F5 = { class: "pbx-bg-gray-900" }, j5 = { class: "pbx-px-6 pbx-py-3 pbx-text-left pbx-text-xs pbx-text-gray-100 pbx-font-normal" }, V5 = { class: "pbx-bg-gray-900 pbx-divide-y pbx-divide-gray-200" }, q5 = { class: "pbx-border-0 pbx-px-6 pbx-py-3 pbx-text-left pbx-text-xs pbx-text-gray-100 pbx-font-normal pbx-border-solid pbx-border-b" }, W5 = { class: "pbx-overflow-x-auto" }, U5 = { class: "pbx-min-w-full" }, G5 = { class: "pbx-bg-gray-900" }, K5 = { class: "pbx-px-6 pbx-py-3 pbx-text-left pbx-text-xs pbx-text-gray-100 pbx-font-normal" }, J5 = { class: "pbx-bg-gray-900 pbx-divide-y pbx-divide-gray-200" }, Y5 = { class: "pbx-px-6 pbx-py-3 pbx-text-left pbx-text-xs pbx-text-gray-100 pbx-font-normal pbx-whitespace-pre-line" }, Q5 = { class: "pbx-overflow-x-auto" }, X5 = { class: "pbx-min-w-full" }, Z5 = { class: "pbx-bg-gray-900" }, eA = { class: "pbx-px-6 pbx-py-3 pbx-text-left pbx-text-xs pbx-text-gray-100 pbx-font-normal" }, tA = { class: "pbx-bg-gray-900 pbx-divide-y pbx-divide-gray-200" }, nA = { class: "pbx-px-6 pbx-py-3 pbx-text-left pbx-text-xs pbx-text-gray-100 pbx-font-normal" }, iA = { key: 1 }, rA = { key: 0 }, oA = { class: "pbx-pb-2 pbx-text-xs" }, sA = {
|
|
@@ -26245,19 +26254,19 @@ const UP = { class: "pbx-my-2 pbx-py-2" }, GP = {
|
|
|
26245
26254
|
}, e9 = { class: "pbx-flex pbx-flex-col pbx-items-center pbx-justify-center pbx-myPrimaryGap" }, t9 = { class: "pbx-flex pbx-gap-2 pbx-items-center pbx-justify-center pbx-relative" }, n9 = {
|
|
26246
26255
|
key: 0,
|
|
26247
26256
|
class: "pbx-top-0 pbx-left-full pbx-ml-2 pbx-absolute pbx-z-40 lg:pbx-w-[35rem] pbx-w-[30rem]"
|
|
26248
|
-
}, i9 = { class: "lg:pbx-mr-10 pbx-rounded-3xl pbx-border pbx-border-gray-100 pbx-bg-white pbx-shadow-lg pbx-pt-4 pbx-pb-4 pbx-flex pbx-flex-col pbx-
|
|
26257
|
+
}, i9 = { class: "lg:pbx-mr-10 pbx-rounded-3xl pbx-border pbx-border-gray-100 pbx-bg-white pbx-shadow-lg pbx-pt-4 pbx-pb-4 pbx-flex pbx-flex-col pbx-min-h-[35rem] pbx-max-h-[35rem] pbx-mx-4 pbx-pl-2 pbx-pr-4" }, r9 = { class: "pbx-overflow-y-auto" }, o9 = { class: "pbx-flex pbx-items-center pbx-justify-center pbx-gap-2" }, s9 = { class: "pbx-lg:pbx-text-base pbx-text-sm pbx-font-semibold pbx-text-center pbx-min-h-14 pbx-flex pbx-justify-center pbx-items-center" }, l9 = { class: "pbx-bg-gray-100 pbx-rounded-full pbx-w-32 pbx-h-32 pbx-flex pbx-items-center pbx-justify-center" }, a9 = { class: "text-center" }, d9 = { class: "pbx-lg:pbx-text-7xl pbx-text-5xl" }, p9 = {
|
|
26249
26258
|
key: 0,
|
|
26250
26259
|
class: "pbx-w-full"
|
|
26251
|
-
},
|
|
26260
|
+
}, c9 = { class: "pbx-text-xl pbx-font-semibold pbx-mb-4 pbx-text-center" }, u9 = { class: "pbx-space-y-4" }, h9 = { class: "pbx-flex-shrink-0 pbx-mt-1" }, f9 = {
|
|
26252
26261
|
key: 0,
|
|
26253
26262
|
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-myPrimaryLinkColor pbx-aspect-square hover:pbx-bg-myPrimaryLinkColor focus-visible:pbx-ring-0 pbx-text-white hover:pbx-text-white"
|
|
26254
|
-
},
|
|
26263
|
+
}, b9 = {
|
|
26255
26264
|
key: 1,
|
|
26256
26265
|
class: "pbx-select-none 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-myPrimaryErrorColor pbx-aspect-square hover:pbx-bg-myPrimaryErrorColor hover:pbx-text-white pbx-text-white"
|
|
26257
|
-
},
|
|
26266
|
+
}, m9 = { class: "pbx-flex-1" }, x9 = { class: "pbx-text-sm pbx-text-gray-600" }, g9 = {
|
|
26258
26267
|
key: 1,
|
|
26259
26268
|
class: "pbx-text-gray-500 pbx-text-center"
|
|
26260
|
-
},
|
|
26269
|
+
}, y9 = { class: "pbx-flex pbx-gap-2 pbx-items-center pbx-justify-center" }, v9 = {
|
|
26261
26270
|
__name: "ComponentTopMenu",
|
|
26262
26271
|
setup(n) {
|
|
26263
26272
|
const { translate: e } = Te(), t = he, i = Me(), r = k(!1), o = k(!1), s = k(""), l = k(1), a = k(""), d = k(""), p = k(""), u = k(null), h = k(null), f = k(null), b = k(null), m = k(null), x = function() {
|
|
@@ -26314,49 +26323,51 @@ const UP = { class: "pbx-my-2 pbx-py-2" }, GP = {
|
|
|
26314
26323
|
c("span", { class: "material-symbols-outlined" }, " close ", -1)
|
|
26315
26324
|
])])
|
|
26316
26325
|
]),
|
|
26317
|
-
c("div",
|
|
26318
|
-
c("div",
|
|
26326
|
+
c("div", r9, [
|
|
26327
|
+
c("div", null, [
|
|
26319
26328
|
c("div", o9, [
|
|
26320
|
-
|
|
26321
|
-
|
|
26322
|
-
|
|
26323
|
-
|
|
26324
|
-
|
|
26325
|
-
|
|
26326
|
-
|
|
26327
|
-
|
|
26329
|
+
c("div", s9, [
|
|
26330
|
+
L.value ? (y(), w("div", {
|
|
26331
|
+
key: 0,
|
|
26332
|
+
class: "pbx-relative pbx-my-4 pbx-rounded-full pbx-flex pbx-items-center pbx-justify-center pbx-w-36 pbx-h-36",
|
|
26333
|
+
style: f1({
|
|
26334
|
+
background: `conic-gradient(${L.value.score < 50 ? "#ef4444" : "#50C878"} ${L.value.score}%, #e5e7eb 0)`
|
|
26335
|
+
})
|
|
26336
|
+
}, [
|
|
26328
26337
|
c("div", l9, [
|
|
26329
|
-
c("
|
|
26330
|
-
|
|
26338
|
+
c("div", a9, [
|
|
26339
|
+
c("span", d9, C(L.value.score), 1),
|
|
26340
|
+
F[5] || (F[5] = c("span", { class: "pbx-text-xl" }, "%", -1))
|
|
26341
|
+
])
|
|
26331
26342
|
])
|
|
26332
|
-
])
|
|
26333
|
-
]
|
|
26334
|
-
])
|
|
26335
|
-
|
|
26336
|
-
|
|
26337
|
-
|
|
26338
|
-
|
|
26339
|
-
|
|
26340
|
-
|
|
26341
|
-
|
|
26342
|
-
|
|
26343
|
-
|
|
26344
|
-
|
|
26345
|
-
|
|
26346
|
-
|
|
26347
|
-
|
|
26348
|
-
|
|
26349
|
-
])
|
|
26350
|
-
|
|
26351
|
-
|
|
26352
|
-
|
|
26353
|
-
|
|
26354
|
-
|
|
26355
|
-
|
|
26356
|
-
])
|
|
26357
|
-
]
|
|
26358
|
-
])
|
|
26359
|
-
])
|
|
26343
|
+
], 4)) : E("", !0)
|
|
26344
|
+
])
|
|
26345
|
+
]),
|
|
26346
|
+
L.value && L.value.checks && L.value.checks.length ? (y(), w("div", p9, [
|
|
26347
|
+
c("h3", c9, C(g(e)("SEO Check Results")), 1),
|
|
26348
|
+
c("ul", u9, [
|
|
26349
|
+
(y(!0), w(J, null, ne(L.value.checks, (Q, _) => (y(), w("li", {
|
|
26350
|
+
key: _,
|
|
26351
|
+
class: j(["pbx-flex pbx-items-start pbx-gap-4 pbx-p-4 pbx-bg-white pbx-rounded-lg pbx-shadow-sm pbx-border-2", Q.passed ? "pbx-border-emerald-500" : "pbx-border-red-600"])
|
|
26352
|
+
}, [
|
|
26353
|
+
c("div", h9, [
|
|
26354
|
+
Q.passed ? (y(), w("div", f9, [...F[6] || (F[6] = [
|
|
26355
|
+
c("span", { class: "material-symbols-outlined" }, " check ", -1)
|
|
26356
|
+
])])) : E("", !0),
|
|
26357
|
+
Q.passed ? E("", !0) : (y(), w("div", b9, [...F[7] || (F[7] = [
|
|
26358
|
+
c("span", { class: "material-symbols-outlined" }, " check_indeterminate_small ", -1)
|
|
26359
|
+
])]))
|
|
26360
|
+
]),
|
|
26361
|
+
c("div", m9, [
|
|
26362
|
+
c("p", {
|
|
26363
|
+
class: j(["pbx-text-lg pbx-font-medium", Q.passed ? "pbx-text-green-700" : "pbx-text-red-700"])
|
|
26364
|
+
}, C(Q.check), 3),
|
|
26365
|
+
c("p", x9, C(Q.details), 1)
|
|
26366
|
+
])
|
|
26367
|
+
], 2))), 128))
|
|
26368
|
+
])
|
|
26369
|
+
])) : (y(), w("div", g9, " No SEO checks available. "))
|
|
26370
|
+
])
|
|
26360
26371
|
])
|
|
26361
26372
|
])
|
|
26362
26373
|
])
|
|
@@ -26382,7 +26393,7 @@ const UP = { class: "pbx-my-2 pbx-py-2" }, GP = {
|
|
|
26382
26393
|
c("span", { class: "material-symbols-outlined" }, " deployed_code ", -1)
|
|
26383
26394
|
])])
|
|
26384
26395
|
]),
|
|
26385
|
-
c("div",
|
|
26396
|
+
c("div", y9, [
|
|
26386
26397
|
c("div", {
|
|
26387
26398
|
onClick: F[1] || (F[1] = async () => {
|
|
26388
26399
|
await g(i).clearHtmlSelection(), H();
|
|
@@ -26454,7 +26465,7 @@ const UP = { class: "pbx-my-2 pbx-py-2" }, GP = {
|
|
|
26454
26465
|
}, 8, ["showModalBuilder"])
|
|
26455
26466
|
]));
|
|
26456
26467
|
}
|
|
26457
|
-
},
|
|
26468
|
+
}, S9 = [
|
|
26458
26469
|
{
|
|
26459
26470
|
html_code: `
|
|
26460
26471
|
<section>
|
|
@@ -27399,7 +27410,7 @@ const UP = { class: "pbx-my-2 pbx-py-2" }, GP = {
|
|
|
27399
27410
|
}
|
|
27400
27411
|
}
|
|
27401
27412
|
];
|
|
27402
|
-
function
|
|
27413
|
+
function w9() {
|
|
27403
27414
|
const n = an("closeAddComponentModal", null), e = an("closeMediaLibraryModal", null);
|
|
27404
27415
|
return {
|
|
27405
27416
|
closeAddComponentModal: n || (() => {
|
|
@@ -27414,16 +27425,16 @@ function S9() {
|
|
|
27414
27425
|
})
|
|
27415
27426
|
};
|
|
27416
27427
|
}
|
|
27417
|
-
const
|
|
27428
|
+
const C9 = {
|
|
27418
27429
|
key: 0,
|
|
27419
27430
|
class: "pbx-min-h-[90vh] pbx-h-[90vh]"
|
|
27420
|
-
},
|
|
27431
|
+
}, k9 = { class: "pbx-flex pbx-items-center pbx-justify-center" }, T9 = { 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]" }, M9 = { 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)]" }, E9 = { key: 1 }, B9 = { class: "pbx-mb-4 pbx-flex pbx-jusitify-left pbx-items-center pbx-gap-2 pbx-border-b pbx-border-solid pbx-border-gray-200 pbx-pb-4 pbx-overflow-auto" }, P9 = ["onClick"], L9 = {
|
|
27421
27432
|
key: 0,
|
|
27422
27433
|
class: "pbx-mb-8"
|
|
27423
|
-
},
|
|
27434
|
+
}, A9 = { class: "pbx-myQuaternaryHeader pbx-mb-4" }, I9 = { class: "pbx-mb-4 pbx-flex pbx-jusitify-left pbx-items-center pbx-gap-2 pbx-border-b pbx-border-solid pbx-border-gray-200 pbx-pb-4 pbx-overflow-auto" }, $9 = ["onClick"], D9 = { class: "pbx-min-h-[96rem]" }, O9 = { class: "pbx-grid pbx-grid-cols-1 sm:pbx-grid-cols-2 md:pbx-grid-cols-3 pbx-gap-4 pbx-pb-4" }, _9 = ["onClick"], N9 = { class: "pbx-overflow-hidden pbx-whitespace-pre-line pbx-flex-1 pbx-h-auto pbx-border-0 pbx-border-solid pbx-border-b pbx-border-gray-200 pbx-py-2 pbx-px-2" }, H9 = ["innerHTML"], R9 = { class: "pbx-p-3" }, z9 = { class: "pbx-myPrimaryParagraph pbx-text-sm pbx-font-normal" }, F9 = { class: "pbx-myPrimaryParagraph pbx-text-xs pbx-font-normal pbx-pt-2" }, j9 = { class: "pbx-mb-8" }, V9 = { class: "pbx-myQuaternaryHeader pbx-mb-4" }, q9 = { class: "pbx-px-2 pbx-grid pbx-grid-cols-1 sm:pbx-grid-cols-2 md:pbx-grid-cols-3 lg:pbx-grid-cols-4 pbx-gap-4" }, W9 = ["onClick"], U9 = { class: "pbx-max-h-72 pbx-cursor-pointer pbx-object-contain pbx-bg-white pbx-mx-auto" }, G9 = { class: "pbx-myPrimaryParagraph pbx-text-base pbx-font-medium" }, K9 = { class: "pbx-myPrimaryParagraph pbx-text-xs pbx-font-normal pbx-pt-2" }, J9 = {
|
|
27424
27435
|
key: 0,
|
|
27425
27436
|
class: "pbx-px-2"
|
|
27426
|
-
},
|
|
27437
|
+
}, Y9 = { class: "pbx-myQuaternaryHeader pbx-mb-4" }, Q9 = { class: "pbx-mb-4 pbx-flex pbx-jusitify-left pbx-items-center pbx-gap-2 pbx-border-b pbx-border-solid pbx-border-gray-200 pbx-pb-4 pbx-overflow-auto" }, X9 = ["onClick"], Z9 = { class: "pbx-min-h-[96rem]" }, eI = { class: "pbx-grid pbx-grid-cols-1 sm:pbx-grid-cols-2 md:pbx-grid-cols-3 pbx-gap-4 pbx-pb-4" }, tI = ["onClick"], nI = { class: "pbx-overflow-hidden pbx-whitespace-pre-line pbx-flex-1 pbx-h-auto pbx-border-0 pbx-border-solid pbx-border-b pbx-border-gray-200 pbx-py-2 pbx-px-2" }, iI = ["innerHTML"], rI = { class: "pbx-p-3" }, oI = { class: "pbx-myPrimaryParagraph pbx-text-sm pbx-font-normal" }, sI = { class: "pbx-myPrimaryParagraph pbx-text-xs pbx-font-normal pbx-pt-2" }, lI = /* @__PURE__ */ tt({
|
|
27427
27438
|
__name: "DefaultBuilderComponents",
|
|
27428
27439
|
props: {
|
|
27429
27440
|
customMediaComponent: {
|
|
@@ -27438,7 +27449,7 @@ const w9 = {
|
|
|
27438
27449
|
}), a = A(() => s.value === "All" ? Bs[0].components.data : Bs[0].components.data.filter((x) => x.category === s.value)), d = k("All"), p = A(() => {
|
|
27439
27450
|
const x = Ps[0].themes.data.map((v) => v.category);
|
|
27440
27451
|
return ["All", ...new Set(x)];
|
|
27441
|
-
}), u = A(() => d.value === "All" ? Ps[0].themes.data : Ps[0].themes.data.filter((x) => x.category === d.value)), { closeAddComponentModal: h } =
|
|
27452
|
+
}), u = A(() => d.value === "All" ? Ps[0].themes.data : Ps[0].themes.data.filter((x) => x.category === d.value)), { closeAddComponentModal: h } = w9(), f = async function(x) {
|
|
27442
27453
|
i.value = !0;
|
|
27443
27454
|
const v = x.replace(/Layouts and visual\./g, e("Layouts and visual.")).replace(
|
|
27444
27455
|
/Start customizing by editing this default text directly in the editor\./g,
|
|
@@ -27465,15 +27476,15 @@ const w9 = {
|
|
|
27465
27476
|
};
|
|
27466
27477
|
};
|
|
27467
27478
|
return (x, v) => (y(), w("div", null, [
|
|
27468
|
-
i.value ? (y(), w("div",
|
|
27469
|
-
c("div",
|
|
27470
|
-
c("div",
|
|
27471
|
-
c("span",
|
|
27479
|
+
i.value ? (y(), w("div", C9, [
|
|
27480
|
+
c("div", k9, [
|
|
27481
|
+
c("div", T9, [
|
|
27482
|
+
c("span", M9, C(g(e)("Loading...")), 1)
|
|
27472
27483
|
])
|
|
27473
27484
|
])
|
|
27474
27485
|
])) : E("", !0),
|
|
27475
|
-
i.value ? E("", !0) : (y(), w("div",
|
|
27476
|
-
c("div",
|
|
27486
|
+
i.value ? E("", !0) : (y(), w("div", E9, [
|
|
27487
|
+
c("div", B9, [
|
|
27477
27488
|
(y(!0), w(J, null, ne(o.value, (T) => (y(), w("button", {
|
|
27478
27489
|
key: T,
|
|
27479
27490
|
onClick: (S) => r.value = T,
|
|
@@ -27494,86 +27505,86 @@ const w9 = {
|
|
|
27494
27505
|
])
|
|
27495
27506
|
], -1)),
|
|
27496
27507
|
c("span", null, C(g(e)(T)), 1)
|
|
27497
|
-
], 10,
|
|
27508
|
+
], 10, P9))), 128))
|
|
27498
27509
|
]),
|
|
27499
|
-
r.value === "Themes" ? (y(), w("div",
|
|
27500
|
-
c("h3",
|
|
27501
|
-
c("div",
|
|
27510
|
+
r.value === "Themes" ? (y(), w("div", L9, [
|
|
27511
|
+
c("h3", A9, C(g(e)("Themes")), 1),
|
|
27512
|
+
c("div", I9, [
|
|
27502
27513
|
(y(!0), w(J, null, ne(p.value, (T) => (y(), w("button", {
|
|
27503
27514
|
key: T,
|
|
27504
27515
|
onClick: (S) => d.value = T,
|
|
27505
27516
|
class: j(["pbx-mySecondaryButton pbx-text-xs pbx-px-4", [
|
|
27506
27517
|
d.value === T ? "pbx-bg-myPrimaryLinkColor pbx-text-white hover:pbx-bg-myPrimaryLinkColor hover:pbx-text-white" : "hover:pbx-bg-myPrimaryLinkColor hover:pbx-text-white"
|
|
27507
27518
|
]])
|
|
27508
|
-
}, C(g(e)(T)), 11,
|
|
27519
|
+
}, C(g(e)(T)), 11, $9))), 128))
|
|
27509
27520
|
]),
|
|
27510
|
-
c("div",
|
|
27511
|
-
c("div",
|
|
27521
|
+
c("div", D9, [
|
|
27522
|
+
c("div", O9, [
|
|
27512
27523
|
(y(!0), w(J, null, ne(u.value, (T) => (y(), w("div", {
|
|
27513
27524
|
key: T.title,
|
|
27514
27525
|
class: "pbx-border-solid pbx-border pbx-border-gray-400 pbx-overflow-hidden hover:pbx-border-myPrimaryLinkColor pbx-duration-100 pbx-cursor-pointer pbx-max-h-[30rem]",
|
|
27515
27526
|
onClick: (S) => f(T.html_code)
|
|
27516
27527
|
}, [
|
|
27517
|
-
c("div",
|
|
27528
|
+
c("div", N9, [
|
|
27518
27529
|
c("div", {
|
|
27519
27530
|
class: "pbx-w-64 pbx-h-96 pbx-object-cover pbx-cursor-pointer pbx-bg-white pbx-mx-auto pbx-flex pbx-items-center pbx-justify-center pbx-theme-cover",
|
|
27520
27531
|
innerHTML: T.cover_image
|
|
27521
|
-
}, null, 8,
|
|
27532
|
+
}, null, 8, H9)
|
|
27522
27533
|
]),
|
|
27523
|
-
c("div",
|
|
27524
|
-
c("h4",
|
|
27525
|
-
c("div",
|
|
27534
|
+
c("div", R9, [
|
|
27535
|
+
c("h4", z9, C(g(e)(T.title)), 1),
|
|
27536
|
+
c("div", F9, C(g(e)("Click to add theme")), 1)
|
|
27526
27537
|
])
|
|
27527
|
-
], 8,
|
|
27538
|
+
], 8, _9))), 128))
|
|
27528
27539
|
])
|
|
27529
27540
|
])
|
|
27530
27541
|
])) : E("", !0),
|
|
27531
27542
|
r.value === "Components" ? (y(), w(J, { key: 1 }, [
|
|
27532
|
-
c("div",
|
|
27533
|
-
c("h3",
|
|
27534
|
-
c("div",
|
|
27535
|
-
(y(!0), w(J, null, ne(g(
|
|
27543
|
+
c("div", j9, [
|
|
27544
|
+
c("h3", V9, C(g(e)("Helper Components")), 1),
|
|
27545
|
+
c("div", q9, [
|
|
27546
|
+
(y(!0), w(J, null, ne(g(S9), (T) => (y(), w("div", {
|
|
27536
27547
|
key: T.title,
|
|
27537
27548
|
class: "pbx-border-solid pbx-border pbx-border-gray-400 pbx-overflow-hidden hover:pbx-border-myPrimaryLinkColor pbx-duration-100 pbx-cursor-pointer pbx-max-h-96 pbx-p-4",
|
|
27538
27549
|
onClick: (S) => b(T)
|
|
27539
27550
|
}, [
|
|
27540
|
-
c("div",
|
|
27551
|
+
c("div", U9, [
|
|
27541
27552
|
E("", !0),
|
|
27542
|
-
c("h4",
|
|
27553
|
+
c("h4", G9, C(g(e)(T.title)), 1)
|
|
27543
27554
|
]),
|
|
27544
|
-
c("div",
|
|
27545
|
-
], 8,
|
|
27555
|
+
c("div", K9, C(g(e)("Click to add")) + " " + C(T.title.toLowerCase()) + " " + C(g(e)("component")), 1)
|
|
27556
|
+
], 8, W9))), 128))
|
|
27546
27557
|
])
|
|
27547
27558
|
]),
|
|
27548
|
-
n.customMediaComponent ? (y(), w("div",
|
|
27549
|
-
c("h3",
|
|
27550
|
-
c("div",
|
|
27559
|
+
n.customMediaComponent ? (y(), w("div", J9, [
|
|
27560
|
+
c("h3", Y9, C(g(e)("Layout Components")), 1),
|
|
27561
|
+
c("div", Q9, [
|
|
27551
27562
|
(y(!0), w(J, null, ne(l.value, (T) => (y(), w("button", {
|
|
27552
27563
|
key: T,
|
|
27553
27564
|
onClick: (S) => s.value = T,
|
|
27554
27565
|
class: j(["pbx-mySecondaryButton pbx-text-xs pbx-px-4", [
|
|
27555
27566
|
s.value === T ? "pbx-bg-myPrimaryLinkColor pbx-text-white hover:pbx-bg-myPrimaryLinkColor hover:pbx-text-white" : "hover:pbx-bg-myPrimaryLinkColor hover:pbx-text-white"
|
|
27556
27567
|
]])
|
|
27557
|
-
}, C(g(e)(T)), 11,
|
|
27568
|
+
}, C(g(e)(T)), 11, X9))), 128))
|
|
27558
27569
|
]),
|
|
27559
|
-
c("div",
|
|
27560
|
-
c("div",
|
|
27570
|
+
c("div", Z9, [
|
|
27571
|
+
c("div", eI, [
|
|
27561
27572
|
(y(!0), w(J, null, ne(a.value, (T) => (y(), w("div", {
|
|
27562
27573
|
key: T.title,
|
|
27563
27574
|
class: "pbx-border-solid pbx-border pbx-border-gray-400 pbx-overflow-hidden hover:pbx-border-myPrimaryLinkColor pbx-duration-100 pbx-cursor-pointer pbx-max-h-96",
|
|
27564
27575
|
onClick: (S) => b(m(T))
|
|
27565
27576
|
}, [
|
|
27566
|
-
c("div",
|
|
27577
|
+
c("div", nI, [
|
|
27567
27578
|
c("div", {
|
|
27568
27579
|
class: "pbx-w-64 pbx-h-64 pbx-object-cover pbx-cursor-pointer pbx-bg-white pbx-mx-auto pbx-flex pbx-items-center pbx-justify-center pbx-theme-cover",
|
|
27569
27580
|
innerHTML: T.cover_image
|
|
27570
|
-
}, null, 8,
|
|
27581
|
+
}, null, 8, iI)
|
|
27571
27582
|
]),
|
|
27572
|
-
c("div",
|
|
27573
|
-
c("h4",
|
|
27574
|
-
c("div",
|
|
27583
|
+
c("div", rI, [
|
|
27584
|
+
c("h4", oI, C(g(e)(T.title)), 1),
|
|
27585
|
+
c("div", sI, C(g(e)("Click to add component")), 1)
|
|
27575
27586
|
])
|
|
27576
|
-
], 8,
|
|
27587
|
+
], 8, tI))), 128))
|
|
27577
27588
|
])
|
|
27578
27589
|
])
|
|
27579
27590
|
])) : E("", !0)
|
|
@@ -27584,7 +27595,7 @@ const w9 = {
|
|
|
27584
27595
|
]))
|
|
27585
27596
|
]));
|
|
27586
27597
|
}
|
|
27587
|
-
}),
|
|
27598
|
+
}), aI = /* @__PURE__ */ Bo(lI, [["__scopeId", "data-v-dc00b1ce"]]), dI = { class: "pbx-w-full pbx-inset-x-0 pbx-bg-white pbx-overflow-x-auto lg:pbx-pt-2 pbx-pt-2" }, pI = { key: 0 }, cI = { key: 1 }, uI = {
|
|
27588
27599
|
__name: "BuilderComponents",
|
|
27589
27600
|
props: {
|
|
27590
27601
|
firstButtonText: {
|
|
@@ -27617,12 +27628,12 @@ const w9 = {
|
|
|
27617
27628
|
maxHeight: ""
|
|
27618
27629
|
}, {
|
|
27619
27630
|
default: V(() => [
|
|
27620
|
-
c("div",
|
|
27631
|
+
c("div", dI, [
|
|
27621
27632
|
c("div", null, [
|
|
27622
|
-
n.CustomBuilderComponents ? (y(), w("div",
|
|
27633
|
+
n.CustomBuilderComponents ? (y(), w("div", pI, [
|
|
27623
27634
|
(y(), oe(sp(n.CustomBuilderComponents)))
|
|
27624
|
-
])) : (y(), w("div",
|
|
27625
|
-
z(
|
|
27635
|
+
])) : (y(), w("div", cI, [
|
|
27636
|
+
z(aI, { customMediaComponent: g(t) }, null, 8, ["customMediaComponent"])
|
|
27626
27637
|
]))
|
|
27627
27638
|
])
|
|
27628
27639
|
])
|
|
@@ -27630,7 +27641,7 @@ const w9 = {
|
|
|
27630
27641
|
_: 1
|
|
27631
27642
|
}, 8, ["title", "showModalBuilder"]));
|
|
27632
27643
|
}
|
|
27633
|
-
},
|
|
27644
|
+
}, hI = { class: "pbx-flex pbx-h-full pbx-flex-col" }, fI = { class: "pbx-flex pbx-flex-row pbx-justify-between pbx-pt-7 pbx-pr-4 pbx-pl-4 pbx-items-center pbx-mb-3" }, bI = { class: "pbx-font-medium pbx-text-sm" }, mI = { class: "pbx-lowercase" }, xI = { class: "pbx-mb-1" }, gI = { class: "pbx-my-1" }, yI = { class: "pbx-my-1" }, vI = { class: "pbx-my-1" }, SI = { class: "pbx-my-1" }, wI = { class: "pbx-my-1" }, CI = { class: "pbx-my-1" }, kI = { class: "pbx-my-1" }, TI = {
|
|
27634
27645
|
__name: "RightSidebarEditor",
|
|
27635
27646
|
emits: ["closeEditor"],
|
|
27636
27647
|
setup(n) {
|
|
@@ -27651,8 +27662,8 @@ const w9 = {
|
|
|
27651
27662
|
function a() {
|
|
27652
27663
|
s.value && (l = s.value.scrollTop);
|
|
27653
27664
|
}
|
|
27654
|
-
return (d, p) => (y(), w("div",
|
|
27655
|
-
c("div",
|
|
27665
|
+
return (d, p) => (y(), w("div", hI, [
|
|
27666
|
+
c("div", fI, [
|
|
27656
27667
|
c("button", {
|
|
27657
27668
|
type: "button",
|
|
27658
27669
|
onClick: p[0] || (p[0] = (u) => d.$emit("closeEditor")),
|
|
@@ -27660,9 +27671,9 @@ const w9 = {
|
|
|
27660
27671
|
}, [...p[1] || (p[1] = [
|
|
27661
27672
|
c("span", { class: "material-symbols-outlined" }, " close ", -1)
|
|
27662
27673
|
])]),
|
|
27663
|
-
c("p",
|
|
27674
|
+
c("p", bI, [
|
|
27664
27675
|
Se(C(g(e)("Editing")) + " ", 1),
|
|
27665
|
-
c("span",
|
|
27676
|
+
c("span", mI, "<" + C(o.value) + ">", 1)
|
|
27666
27677
|
])
|
|
27667
27678
|
]),
|
|
27668
27679
|
c("div", {
|
|
@@ -27672,28 +27683,28 @@ const w9 = {
|
|
|
27672
27683
|
class: "pbx-pl-3 pbx-pr-3 pbx-mb-4 pbx-overflow-y-scroll"
|
|
27673
27684
|
}, [
|
|
27674
27685
|
le(c("div", null, [
|
|
27675
|
-
c("article",
|
|
27686
|
+
c("article", xI, [
|
|
27676
27687
|
z(iC)
|
|
27677
27688
|
]),
|
|
27678
|
-
c("article",
|
|
27689
|
+
c("article", gI, [
|
|
27679
27690
|
z(nk)
|
|
27680
27691
|
]),
|
|
27681
|
-
c("article",
|
|
27692
|
+
c("article", yI, [
|
|
27682
27693
|
z(hy)
|
|
27683
27694
|
]),
|
|
27684
|
-
c("article",
|
|
27695
|
+
c("article", vI, [
|
|
27685
27696
|
z(fy)
|
|
27686
27697
|
]),
|
|
27687
|
-
c("article",
|
|
27698
|
+
c("article", SI, [
|
|
27688
27699
|
z(by)
|
|
27689
27700
|
]),
|
|
27690
|
-
c("article",
|
|
27701
|
+
c("article", wI, [
|
|
27691
27702
|
z(gy)
|
|
27692
27703
|
]),
|
|
27693
|
-
c("article",
|
|
27704
|
+
c("article", CI, [
|
|
27694
27705
|
z(ey)
|
|
27695
27706
|
]),
|
|
27696
|
-
c("article",
|
|
27707
|
+
c("article", kI, [
|
|
27697
27708
|
z(ty)
|
|
27698
27709
|
])
|
|
27699
27710
|
], 512), [
|
|
@@ -27702,34 +27713,34 @@ const w9 = {
|
|
|
27702
27713
|
], 544)
|
|
27703
27714
|
]));
|
|
27704
27715
|
}
|
|
27705
|
-
},
|
|
27716
|
+
}, MI = { class: "pbx-flex pbx-items-center pbx-justify-center" }, EI = { class: "pbx-mr-2" }, BI = {
|
|
27706
27717
|
key: 0,
|
|
27707
27718
|
class: "pbx-flex pbx-items-center pbx-myPrimaryTag pbx-whitespace-nowrap pbx-py-0 pbx-gap-2"
|
|
27708
|
-
},
|
|
27719
|
+
}, PI = { 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" }, LI = { class: "pbx-hidden pbx-text-xs pbx-d lg:pbx-flex pbx-items-center pbx-font-normal pbx-w-max pbx-break-keep" }, AI = {
|
|
27709
27720
|
key: 1,
|
|
27710
27721
|
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"
|
|
27711
|
-
},
|
|
27722
|
+
}, II = { 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" }, $I = ["src"], DI = { class: "pbx-hidden pbx-text-xs pbx-d lg:pbx-flex pbx-items-center pbx-font-normal pbx-w-max pbx-break-keep" }, OI = {
|
|
27712
27723
|
__name: "ToolbarOption",
|
|
27713
27724
|
setup(n) {
|
|
27714
27725
|
const e = he, t = A(() => e.getPageBuilderConfig);
|
|
27715
27726
|
return (i, r) => {
|
|
27716
27727
|
var o;
|
|
27717
27728
|
return y(), w("div", null, [
|
|
27718
|
-
c("div",
|
|
27719
|
-
c("div",
|
|
27720
|
-
t.value && t.value.userForPageBuilder && t.value.userForPageBuilder.name && (!t.value.userForPageBuilder.image || typeof t.value.userForPageBuilder.image == "string" && ((o = t.value.userForPageBuilder.image) == null ? void 0 : o.length) < 2) ? (y(), w("div",
|
|
27721
|
-
c("div",
|
|
27722
|
-
c("div",
|
|
27729
|
+
c("div", MI, [
|
|
27730
|
+
c("div", EI, [
|
|
27731
|
+
t.value && t.value.userForPageBuilder && t.value.userForPageBuilder.name && (!t.value.userForPageBuilder.image || typeof t.value.userForPageBuilder.image == "string" && ((o = t.value.userForPageBuilder.image) == null ? void 0 : o.length) < 2) ? (y(), w("div", BI, [
|
|
27732
|
+
c("div", PI, C(typeof t.value.userForPageBuilder.name == "string" && t.value.userForPageBuilder.name[0]), 1),
|
|
27733
|
+
c("div", LI, C(t.value.userForPageBuilder.name), 1)
|
|
27723
27734
|
])) : E("", !0),
|
|
27724
|
-
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",
|
|
27725
|
-
c("div",
|
|
27735
|
+
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", AI, [
|
|
27736
|
+
c("div", II, [
|
|
27726
27737
|
c("img", {
|
|
27727
27738
|
alt: "Avatar",
|
|
27728
27739
|
src: `${t.value.userForPageBuilder.image}`,
|
|
27729
27740
|
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"
|
|
27730
|
-
}, null, 8,
|
|
27741
|
+
}, null, 8, $I)
|
|
27731
27742
|
]),
|
|
27732
|
-
c("div",
|
|
27743
|
+
c("div", DI, C(t.value.userForPageBuilder.name), 1)
|
|
27733
27744
|
])) : E("", !0)
|
|
27734
27745
|
])
|
|
27735
27746
|
])
|
|
@@ -27738,14 +27749,14 @@ const w9 = {
|
|
|
27738
27749
|
}
|
|
27739
27750
|
};
|
|
27740
27751
|
let Ls = null;
|
|
27741
|
-
function
|
|
27752
|
+
function _I() {
|
|
27742
27753
|
return (n, e = 300) => {
|
|
27743
27754
|
Ls && clearTimeout(Ls), Ls = setTimeout(n, e);
|
|
27744
27755
|
};
|
|
27745
27756
|
}
|
|
27746
|
-
const
|
|
27747
|
-
function
|
|
27748
|
-
return y(), w("div",
|
|
27757
|
+
const NI = {}, HI = { 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]" };
|
|
27758
|
+
function RI(n, e) {
|
|
27759
|
+
return y(), w("div", HI, [...e[0] || (e[0] = [
|
|
27749
27760
|
c("div", { class: "pbx-absolute pbx-top-1/3" }, [
|
|
27750
27761
|
c("div", { class: "pbx-flex pbx-items-center pbx-justify-center pbx-mt-4" }, [
|
|
27751
27762
|
c("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]" }, [
|
|
@@ -27755,7 +27766,7 @@ function HI(n, e) {
|
|
|
27755
27766
|
], -1)
|
|
27756
27767
|
])]);
|
|
27757
27768
|
}
|
|
27758
|
-
const W0 = /* @__PURE__ */ Bo(
|
|
27769
|
+
const W0 = /* @__PURE__ */ Bo(NI, [["render", RI]]), zI = { 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" }, FI = /* @__PURE__ */ tt({
|
|
27759
27770
|
__name: "UndoRedo",
|
|
27760
27771
|
emits: ["toolbar-hide-request"],
|
|
27761
27772
|
setup(n, { emit: e }) {
|
|
@@ -27781,7 +27792,7 @@ const W0 = /* @__PURE__ */ Bo(_I, [["render", HI]]), RI = { class: "pbx-text-xs
|
|
|
27781
27792
|
}, [...f[1] || (f[1] = [
|
|
27782
27793
|
c("span", { class: "material-symbols-outlined" }, " undo ", -1)
|
|
27783
27794
|
])], 2),
|
|
27784
|
-
c("div",
|
|
27795
|
+
c("div", zI, C(s.value + 1) + "/" + C(l.value), 1),
|
|
27785
27796
|
c("div", {
|
|
27786
27797
|
onClick: u,
|
|
27787
27798
|
class: j(["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 pbx-text-black hover:pbx-text-white", [
|
|
@@ -27793,55 +27804,55 @@ const W0 = /* @__PURE__ */ Bo(_I, [["render", HI]]), RI = { class: "pbx-text-xs
|
|
|
27793
27804
|
])
|
|
27794
27805
|
], 64));
|
|
27795
27806
|
}
|
|
27796
|
-
}),
|
|
27807
|
+
}), jI = { 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" }, VI = { class: "pbx-flex pbx-justify-end pbx-min-h-6" }, qI = {
|
|
27797
27808
|
key: 0,
|
|
27798
27809
|
class: "pbx-myPrimaryParagraphError"
|
|
27799
|
-
},
|
|
27810
|
+
}, WI = { class: "pbx-border-0 pbx-border-solid pbx-border-t pbx-border-gray-200 pbx-flex pbx-items-center pbx-justify-end" }, UI = { class: "pbx-py-4 pbx-flex sm:pbx-justify-end pbx-justify-center" }, GI = { class: "sm:pbx-grid-cols-2 sm:pbx-items-end sm:pbx-justify-end pbx-flex sm:pbx-flex-row pbx-flex-col pbx-myPrimaryGap sm:pbx-w-5/6 pbx-w-full" }, KI = {
|
|
27800
27811
|
key: 1,
|
|
27801
27812
|
class: "pbx-flex pbx-items-center pbx-my-2 pbx-justify-end"
|
|
27802
|
-
},
|
|
27813
|
+
}, JI = { class: "pbx-flex pbx-justify-end pbx-min-h-6" }, YI = {
|
|
27803
27814
|
key: 0,
|
|
27804
27815
|
class: "pbx-myPrimaryParagraphError"
|
|
27805
|
-
},
|
|
27816
|
+
}, QI = { class: "pbx-border-0 pbx-border-solid pbx-border-t pbx-border-gray-200 pbx-flex pbx-items-center pbx-justify-end" }, XI = { class: "pbx-py-4 pbx-flex sm:pbx-justify-end pbx-justify-center" }, ZI = { class: "sm:pbx-grid-cols-2 sm:pbx-items-end sm:pbx-justify-end pbx-flex sm:pbx-flex-row pbx-flex-col pbx-myPrimaryGap sm:pbx-w-5/6 pbx-w-full" }, e$ = {
|
|
27806
27817
|
key: 1,
|
|
27807
27818
|
class: "pbx-flex pbx-items-center pbx-my-2 pbx-justify-end"
|
|
27808
|
-
},
|
|
27819
|
+
}, t$ = {
|
|
27809
27820
|
id: "pagebuilder-navbar",
|
|
27810
27821
|
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"
|
|
27811
|
-
},
|
|
27822
|
+
}, n$ = ["src"], i$ = { class: "pbx-flex pbx-items-center pbx-justify-center" }, r$ = ["disabled"], o$ = {
|
|
27812
27823
|
key: 0,
|
|
27813
27824
|
class: "pbx-h-10 pbx-w-4 pbx-cursor-pointer pbx-rounded-full pbx-flex pbx-items-center pbx-justify-center"
|
|
27814
|
-
},
|
|
27825
|
+
}, s$ = {
|
|
27815
27826
|
key: 1,
|
|
27816
27827
|
class: "pbx-h-10 pbx-w-4 pbx-cursor-pointer pbx-rounded-full pbx-flex pbx-items-center pbx-justify-center"
|
|
27817
|
-
},
|
|
27828
|
+
}, l$ = ["disabled"], a$ = {
|
|
27818
27829
|
key: 0,
|
|
27819
27830
|
class: "pbx-h-10 pbx-w-4 pbx-cursor-pointer pbx-rounded-full pbx-flex pbx-items-center pbx-justify-center"
|
|
27820
|
-
},
|
|
27831
|
+
}, d$ = {
|
|
27821
27832
|
key: 1,
|
|
27822
27833
|
class: "pbx-h-10 pbx-w-4 pbx-cursor-pointer pbx-rounded-full pbx-flex pbx-items-center pbx-justify-center"
|
|
27823
|
-
},
|
|
27834
|
+
}, p$ = { class: "lg:pbx-block pbx-hidden" }, c$ = { class: "lg:pbx-hidden pbx-block" }, u$ = { class: "pbx-flex pbx-items-center pbx-justify-center pbx-gap-2 pbx-border-gray-200" }, h$ = { class: "lg:pbx-block pbx-hidden" }, f$ = { class: "pbx-whitespace-nowrap pbx-cursor-pointer" }, b$ = { class: "pbx-flex pbx-items-center pbx-justify-center pbx-mr-2" }, m$ = { class: "lg:pbx-flex pbx-hidden pbx-items-center pbx-justify-center" }, x$ = { class: "pbx-flex-1 pbx-flex gap-2 pbx-items-center pbx-justify-end" }, g$ = {
|
|
27824
27835
|
key: 0,
|
|
27825
27836
|
class: "pbx-flex-1 pbx-ml-2"
|
|
27826
|
-
},
|
|
27837
|
+
}, y$ = {
|
|
27827
27838
|
key: 0,
|
|
27828
27839
|
class: "pbx-flex-1 pbx-flex pbx-justify-end pbx-items-center pbx-ml-2 lg:pbx-mr-4 pbx-mr-2"
|
|
27829
|
-
},
|
|
27840
|
+
}, v$ = ["value"], S$ = ["value"], w$ = {
|
|
27830
27841
|
key: 2,
|
|
27831
27842
|
class: "pbx-flex-1 pbx-ml-2 pbx-mr-2"
|
|
27832
|
-
},
|
|
27843
|
+
}, C$ = {
|
|
27833
27844
|
id: "pagebuilder-main",
|
|
27834
27845
|
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"
|
|
27835
|
-
},
|
|
27846
|
+
}, k$ = { class: "pbx-mx-2 pbx-flex pbx-flex-col pbx-myPrimaryGap pbx-items-stretch" }, T$ = { class: "pbx-flex pbx-gap-2 pbx-items-center pbx-justify-center" }, M$ = {
|
|
27836
27847
|
id: "pbxEditToolbar",
|
|
27837
27848
|
class: "pbx-z-30 pbx-flex pbx-gap-2 pbx-justify-center pbx-items-center pbx-rounded-sm pbx-px-2 pbx-h-0 pbx-relative"
|
|
27838
|
-
},
|
|
27849
|
+
}, E$ = {
|
|
27839
27850
|
id: "pagebuilder",
|
|
27840
27851
|
class: "pbx-text-black pbx-font-sans"
|
|
27841
|
-
},
|
|
27852
|
+
}, B$ = ["innerHTML", "onMouseup"], P$ = {
|
|
27842
27853
|
id: "pagebuilder-footer",
|
|
27843
27854
|
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-flex pbx-items-center pbx-justify-center pbx-border-0 pbx-border-t pbx-border-t-gray-200 pbx-border-solid pbx-bg-myPrimaryLightGrayColor pbx-py-4"
|
|
27844
|
-
},
|
|
27855
|
+
}, L$ = { class: "lg:pbx-block pbx-hidden" }, A$ = { class: "pbx-whitespace-nowrap" }, N$ = {
|
|
27845
27856
|
__name: "PageBuilder",
|
|
27846
27857
|
props: {
|
|
27847
27858
|
CustomMediaLibraryComponent: {
|
|
@@ -27911,7 +27922,7 @@ const W0 = /* @__PURE__ */ Bo(_I, [["render", HI]]), RI = { class: "pbx-text-xs
|
|
|
27911
27922
|
style: se.value.getAttribute("style"),
|
|
27912
27923
|
class: se.value.getAttribute("class"),
|
|
27913
27924
|
dataImage: se.value.getAttribute("data-image")
|
|
27914
|
-
}), ir =
|
|
27925
|
+
}), ir = _I();
|
|
27915
27926
|
Y(nr, async (K, P) => {
|
|
27916
27927
|
((K == null ? void 0 : K.src) !== (P == null ? void 0 : P.src) || (K == null ? void 0 : K.href) !== (P == null ? void 0 : P.href) || (K == null ? void 0 : K.style) !== (P == null ? void 0 : P.style) || (K == null ? void 0 : K.class) !== (P == null ? void 0 : P.class) || (K == null ? void 0 : K.dataImage) !== (P == null ? void 0 : P.dataImage)) && ir(async () => {
|
|
27917
27928
|
await t.initializeElementStyles();
|
|
@@ -27999,7 +28010,7 @@ const W0 = /* @__PURE__ */ Bo(_I, [["render", HI]]), RI = { class: "pbx-text-xs
|
|
|
27999
28010
|
attributes: !0,
|
|
28000
28011
|
attributeFilter: ["selected"]
|
|
28001
28012
|
}), window.addEventListener("scroll", pr), window.addEventListener("resize", pr), await Be(1e4), Ko(), await Be(1e4), Ko(), await Be(1e4), Ko();
|
|
28002
|
-
}), (K, P) => (y(), w("div",
|
|
28013
|
+
}), (K, P) => (y(), w("div", jI, [
|
|
28003
28014
|
or.value && !$.value || b.value ? (y(), oe(W0, { key: 0 })) : E("", !0),
|
|
28004
28015
|
z($t, {
|
|
28005
28016
|
title: "The builder hasn’t started yet",
|
|
@@ -28014,7 +28025,7 @@ const W0 = /* @__PURE__ */ Bo(_I, [["render", HI]]), RI = { class: "pbx-text-xs
|
|
|
28014
28025
|
])]),
|
|
28015
28026
|
_: 1
|
|
28016
28027
|
}, 8, ["showModalBuilder"]),
|
|
28017
|
-
_.value ? (y(), oe(
|
|
28028
|
+
_.value ? (y(), oe(uI, {
|
|
28018
28029
|
key: 1,
|
|
28019
28030
|
show: _.value,
|
|
28020
28031
|
firstButtonText: He.value,
|
|
@@ -28100,12 +28111,12 @@ const W0 = /* @__PURE__ */ Bo(_I, [["render", HI]]), RI = { class: "pbx-text-xs
|
|
|
28100
28111
|
}, null, 512), [
|
|
28101
28112
|
[Bn, ar.value]
|
|
28102
28113
|
]),
|
|
28103
|
-
c("div",
|
|
28104
|
-
Mt.value ? (y(), w("p",
|
|
28114
|
+
c("div", VI, [
|
|
28115
|
+
Mt.value ? (y(), w("p", qI, " Error: " + C(Mt.value), 1)) : E("", !0)
|
|
28105
28116
|
]),
|
|
28106
|
-
c("div",
|
|
28107
|
-
c("div",
|
|
28108
|
-
c("div",
|
|
28117
|
+
c("div", WI, [
|
|
28118
|
+
c("div", UI, [
|
|
28119
|
+
c("div", GI, [
|
|
28109
28120
|
gt.value ? E("", !0) : (y(), w(J, { key: 0 }, [
|
|
28110
28121
|
c("button", {
|
|
28111
28122
|
onClick: Go,
|
|
@@ -28118,7 +28129,7 @@ const W0 = /* @__PURE__ */ Bo(_I, [["render", HI]]), RI = { class: "pbx-text-xs
|
|
|
28118
28129
|
class: "pbx-myPrimaryButton"
|
|
28119
28130
|
}, C(g(r)("Save")), 1)
|
|
28120
28131
|
], 64)),
|
|
28121
|
-
gt.value ? (y(), w("div",
|
|
28132
|
+
gt.value ? (y(), w("div", KI, [...P[26] || (P[26] = [
|
|
28122
28133
|
c("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]" }, [
|
|
28123
28134
|
c("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...")
|
|
28124
28135
|
], -1)
|
|
@@ -28136,12 +28147,12 @@ const W0 = /* @__PURE__ */ Bo(_I, [["render", HI]]), RI = { class: "pbx-text-xs
|
|
|
28136
28147
|
}, null, 512), [
|
|
28137
28148
|
[Bn, dr.value]
|
|
28138
28149
|
]),
|
|
28139
|
-
c("div",
|
|
28140
|
-
Mt.value ? (y(), w("p",
|
|
28150
|
+
c("div", JI, [
|
|
28151
|
+
Mt.value ? (y(), w("p", YI, " Error: " + C(Mt.value), 1)) : E("", !0)
|
|
28141
28152
|
]),
|
|
28142
|
-
c("div",
|
|
28143
|
-
c("div",
|
|
28144
|
-
c("div",
|
|
28153
|
+
c("div", QI, [
|
|
28154
|
+
c("div", XI, [
|
|
28155
|
+
c("div", ZI, [
|
|
28145
28156
|
gt.value ? E("", !0) : (y(), w(J, { key: 0 }, [
|
|
28146
28157
|
c("button", {
|
|
28147
28158
|
onClick: Go,
|
|
@@ -28154,7 +28165,7 @@ const W0 = /* @__PURE__ */ Bo(_I, [["render", HI]]), RI = { class: "pbx-text-xs
|
|
|
28154
28165
|
class: "pbx-myPrimaryButton"
|
|
28155
28166
|
}, C(g(r)("Save")), 1)
|
|
28156
28167
|
], 64)),
|
|
28157
|
-
gt.value ? (y(), w("div",
|
|
28168
|
+
gt.value ? (y(), w("div", e$, [...P[27] || (P[27] = [
|
|
28158
28169
|
c("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]" }, [
|
|
28159
28170
|
c("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...")
|
|
28160
28171
|
], -1)
|
|
@@ -28166,7 +28177,7 @@ const W0 = /* @__PURE__ */ Bo(_I, [["render", HI]]), RI = { class: "pbx-text-xs
|
|
|
28166
28177
|
]),
|
|
28167
28178
|
_: 1
|
|
28168
28179
|
}, 8, ["showModalBuilder", "title"]),
|
|
28169
|
-
c("div",
|
|
28180
|
+
c("div", t$, [
|
|
28170
28181
|
x.value && x.value.pageBuilderLogo && x.value.pageBuilderLogo.src ? (y(), w("div", {
|
|
28171
28182
|
key: 0,
|
|
28172
28183
|
onClick: P[2] || (P[2] = Xe(
|
|
@@ -28181,9 +28192,9 @@ const W0 = /* @__PURE__ */ Bo(_I, [["render", HI]]), RI = { class: "pbx-text-xs
|
|
|
28181
28192
|
class: "pbx-h-6",
|
|
28182
28193
|
src: x.value.pageBuilderLogo.src,
|
|
28183
28194
|
alt: "Logo"
|
|
28184
|
-
}, null, 8,
|
|
28195
|
+
}, null, 8, n$)
|
|
28185
28196
|
])) : E("", !0),
|
|
28186
|
-
z(
|
|
28197
|
+
z(FI, { onToolbarHideRequest: X0 }),
|
|
28187
28198
|
c("div", {
|
|
28188
28199
|
onClick: P[5] || (P[5] = Xe(
|
|
28189
28200
|
async () => {
|
|
@@ -28193,7 +28204,7 @@ const W0 = /* @__PURE__ */ Bo(_I, [["render", HI]]), RI = { class: "pbx-text-xs
|
|
|
28193
28204
|
)),
|
|
28194
28205
|
class: "pbx-flex-1 pbx-flex pbx-justify-center pbx-items-center pbx-py-2 pbx-w-full"
|
|
28195
28206
|
}, [
|
|
28196
|
-
c("div",
|
|
28207
|
+
c("div", i$, [
|
|
28197
28208
|
c("button", {
|
|
28198
28209
|
class: "pbx-mySecondaryButton pbx-h-6 pbx-flex pbx-gap-2 pbx-mr-2",
|
|
28199
28210
|
onClick: P[3] || (P[3] = Xe(
|
|
@@ -28205,17 +28216,17 @@ const W0 = /* @__PURE__ */ Bo(_I, [["render", HI]]), RI = { class: "pbx-text-xs
|
|
|
28205
28216
|
type: "button",
|
|
28206
28217
|
disabled: jn.value
|
|
28207
28218
|
}, [
|
|
28208
|
-
jn.value ? E("", !0) : (y(), w("div",
|
|
28219
|
+
jn.value ? E("", !0) : (y(), w("div", o$, [...P[28] || (P[28] = [
|
|
28209
28220
|
c("span", { class: "material-symbols-outlined" }, "save", -1)
|
|
28210
28221
|
])])),
|
|
28211
|
-
jn.value ? (y(), w("div",
|
|
28222
|
+
jn.value ? (y(), w("div", s$, [...P[29] || (P[29] = [
|
|
28212
28223
|
c("span", { class: "pbx-relative pbx-flex pbx-size-3" }, [
|
|
28213
28224
|
c("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" }),
|
|
28214
28225
|
c("span", { class: "pbx-relative pbx-inline-flex pbx-size-3 pbx-rounded-full pbx-bg-green-200" })
|
|
28215
28226
|
], -1)
|
|
28216
28227
|
])])) : E("", !0),
|
|
28217
28228
|
c("div", null, C(g(r)("Save")), 1)
|
|
28218
|
-
], 8,
|
|
28229
|
+
], 8, r$),
|
|
28219
28230
|
x.value && x.value.updateOrCreate && x.value.updateOrCreate.formType === "update" ? (y(), w("button", {
|
|
28220
28231
|
key: 0,
|
|
28221
28232
|
class: "pbx-mySecondaryButton pbx-h-6 pbx-flex pbx-gap-2 lg:pbx-mr-2 pbx-mr-2",
|
|
@@ -28228,22 +28239,22 @@ const W0 = /* @__PURE__ */ Bo(_I, [["render", HI]]), RI = { class: "pbx-text-xs
|
|
|
28228
28239
|
type: "button",
|
|
28229
28240
|
disabled: hn.value
|
|
28230
28241
|
}, [
|
|
28231
|
-
hn.value ? E("", !0) : (y(), w("div",
|
|
28242
|
+
hn.value ? E("", !0) : (y(), w("div", a$, [...P[30] || (P[30] = [
|
|
28232
28243
|
c("span", { class: "material-symbols-outlined" }, " settings_backup_restore ", -1)
|
|
28233
28244
|
])])),
|
|
28234
|
-
hn.value ? (y(), w("div",
|
|
28245
|
+
hn.value ? (y(), w("div", d$, [...P[31] || (P[31] = [
|
|
28235
28246
|
c("span", { class: "pbx-relative pbx-flex pbx-size-3" }, [
|
|
28236
28247
|
c("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" }),
|
|
28237
28248
|
c("span", { class: "pbx-relative pbx-inline-flex pbx-size-3 pbx-rounded-full pbx-bg-green-200" })
|
|
28238
28249
|
], -1)
|
|
28239
28250
|
])])) : E("", !0),
|
|
28240
|
-
c("div",
|
|
28251
|
+
c("div", p$, [
|
|
28241
28252
|
c("span", null, C(g(r)("Reset Page")), 1)
|
|
28242
28253
|
]),
|
|
28243
|
-
c("div",
|
|
28254
|
+
c("div", c$, [
|
|
28244
28255
|
c("span", null, C(g(r)("Reset")), 1)
|
|
28245
28256
|
])
|
|
28246
|
-
], 8,
|
|
28257
|
+
], 8, l$)) : E("", !0)
|
|
28247
28258
|
])
|
|
28248
28259
|
]),
|
|
28249
28260
|
c("div", {
|
|
@@ -28270,16 +28281,16 @@ const W0 = /* @__PURE__ */ Bo(_I, [["render", HI]]), RI = { class: "pbx-text-xs
|
|
|
28270
28281
|
g(l).setComponentArrayAddMethod("unshift"), ut();
|
|
28271
28282
|
})
|
|
28272
28283
|
}, [
|
|
28273
|
-
c("div",
|
|
28274
|
-
c("span",
|
|
28275
|
-
c("div",
|
|
28284
|
+
c("div", u$, [
|
|
28285
|
+
c("span", h$, [
|
|
28286
|
+
c("div", f$, C(g(r)("Add new Components")), 1)
|
|
28276
28287
|
]),
|
|
28277
28288
|
P[32] || (P[32] = c("span", { 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" }, [
|
|
28278
28289
|
c("span", { class: "pbx-myMediumIcon material-symbols-outlined" }, " interests ")
|
|
28279
28290
|
], -1))
|
|
28280
28291
|
])
|
|
28281
28292
|
]),
|
|
28282
|
-
c("div",
|
|
28293
|
+
c("div", b$, [
|
|
28283
28294
|
c("div", {
|
|
28284
28295
|
onClick: P[7] || (P[7] = async () => {
|
|
28285
28296
|
g(l).setMenuRight(!1), g(l).setElement(null), await g(t).clearHtmlSelection(), H();
|
|
@@ -28307,7 +28318,7 @@ const W0 = /* @__PURE__ */ Bo(_I, [["render", HI]]), RI = { class: "pbx-text-xs
|
|
|
28307
28318
|
], -1)
|
|
28308
28319
|
])])
|
|
28309
28320
|
]),
|
|
28310
|
-
c("div",
|
|
28321
|
+
c("div", m$, [
|
|
28311
28322
|
c("div", {
|
|
28312
28323
|
onClick: P[8] || (P[8] = async () => {
|
|
28313
28324
|
g(l).setMenuRight(!1), g(l).setElement(null), await g(t).clearHtmlSelection(), q();
|
|
@@ -28318,7 +28329,7 @@ const W0 = /* @__PURE__ */ Bo(_I, [["render", HI]]), RI = { class: "pbx-text-xs
|
|
|
28318
28329
|
])
|
|
28319
28330
|
])
|
|
28320
28331
|
]),
|
|
28321
|
-
c("div",
|
|
28332
|
+
c("div", x$, [
|
|
28322
28333
|
c("div", {
|
|
28323
28334
|
onClick: P[11] || (P[11] = Xe(
|
|
28324
28335
|
async () => {
|
|
@@ -28328,9 +28339,9 @@ const W0 = /* @__PURE__ */ Bo(_I, [["render", HI]]), RI = { class: "pbx-text-xs
|
|
|
28328
28339
|
)),
|
|
28329
28340
|
class: j(["pbx-flex pbx-items-center pbx-py-2 pbx-w-full", [n.showCloseButton ? "pbx-justify-between" : "pbx-justify-end"]])
|
|
28330
28341
|
}, [
|
|
28331
|
-
z(
|
|
28342
|
+
z(OI)
|
|
28332
28343
|
], 2),
|
|
28333
|
-
n.showPublishButton ? (y(), w("div",
|
|
28344
|
+
n.showPublishButton ? (y(), w("div", g$, [
|
|
28334
28345
|
c("button", {
|
|
28335
28346
|
class: "pbx-myPrimaryButton",
|
|
28336
28347
|
onClick: P[12] || (P[12] = async () => {
|
|
@@ -28339,7 +28350,7 @@ const W0 = /* @__PURE__ */ Bo(_I, [["render", HI]]), RI = { class: "pbx-text-xs
|
|
|
28339
28350
|
}, C(g(r)("Publish")), 1)
|
|
28340
28351
|
])) : E("", !0),
|
|
28341
28352
|
g(t) && x.value && x.value.userSettings && x.value.userSettings.language && !x.value.userSettings.language.disableLanguageDropDown ? (y(), w(J, { key: 1 }, [
|
|
28342
|
-
x.value && x.value.userSettings && x.value.userSettings.language ? (y(), w("div",
|
|
28353
|
+
x.value && x.value.userSettings && x.value.userSettings.language ? (y(), w("div", y$, [
|
|
28343
28354
|
le(c("select", {
|
|
28344
28355
|
id: "pbx-lang",
|
|
28345
28356
|
class: "pbx-myPrimarySelect pbx-min-w-20",
|
|
@@ -28348,17 +28359,17 @@ const W0 = /* @__PURE__ */ Bo(_I, [["render", HI]]), RI = { class: "pbx-text-xs
|
|
|
28348
28359
|
Array.isArray(x.value.userSettings.language.enable) && x.value.userSettings.language.enable.length >= 1 ? (y(!0), w(J, { key: 0 }, ne(g(t).availableLanguage().filter((ce) => x.value.userSettings.language.enable.includes(ce)), (ce) => (y(), w("option", {
|
|
28349
28360
|
key: ce,
|
|
28350
28361
|
value: ce
|
|
28351
|
-
}, C(ce), 9,
|
|
28362
|
+
}, C(ce), 9, v$))), 128)) : E("", !0),
|
|
28352
28363
|
!x.value.userSettings.language.enable || Array.isArray(x.value.userSettings.language.enable) && x.value.userSettings.language.enable.length === 0 ? (y(!0), w(J, { key: 1 }, ne(g(t).availableLanguage(), (ce) => (y(), w("option", {
|
|
28353
28364
|
key: ce,
|
|
28354
28365
|
value: ce
|
|
28355
|
-
}, C(ce), 9,
|
|
28366
|
+
}, C(ce), 9, S$))), 128)) : E("", !0)
|
|
28356
28367
|
], 512), [
|
|
28357
28368
|
[ve, h.value]
|
|
28358
28369
|
])
|
|
28359
28370
|
])) : E("", !0)
|
|
28360
28371
|
], 64)) : E("", !0),
|
|
28361
|
-
n.showCloseButton ? (y(), w("div",
|
|
28372
|
+
n.showCloseButton ? (y(), w("div", w$, [
|
|
28362
28373
|
c("button", {
|
|
28363
28374
|
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",
|
|
28364
28375
|
onClick: P[14] || (P[14] = async () => {
|
|
@@ -28370,7 +28381,7 @@ const W0 = /* @__PURE__ */ Bo(_I, [["render", HI]]), RI = { class: "pbx-text-xs
|
|
|
28370
28381
|
])) : E("", !0)
|
|
28371
28382
|
])
|
|
28372
28383
|
]),
|
|
28373
|
-
c("div",
|
|
28384
|
+
c("div", C$, [
|
|
28374
28385
|
c("div", {
|
|
28375
28386
|
onClick: P[17] || (P[17] = Xe(
|
|
28376
28387
|
async () => {
|
|
@@ -28381,8 +28392,8 @@ const W0 = /* @__PURE__ */ Bo(_I, [["render", HI]]), RI = { class: "pbx-text-xs
|
|
|
28381
28392
|
id: "pagebuilder-left-menu",
|
|
28382
28393
|
class: "pbx-w-16 pbx-pt-7 pbx-pb-2 pbx-bg-myPrimaryLightGrayColor pbx-rounded-r-2xl pbx-shadow-sm"
|
|
28383
28394
|
}, [
|
|
28384
|
-
c("div",
|
|
28385
|
-
c("div",
|
|
28395
|
+
c("div", k$, [
|
|
28396
|
+
c("div", T$, [
|
|
28386
28397
|
c("button", {
|
|
28387
28398
|
type: "button",
|
|
28388
28399
|
onClick: P[15] || (P[15] = () => {
|
|
@@ -28401,7 +28412,7 @@ const W0 = /* @__PURE__ */ Bo(_I, [["render", HI]]), RI = { class: "pbx-text-xs
|
|
|
28401
28412
|
["self"]
|
|
28402
28413
|
))
|
|
28403
28414
|
}, [
|
|
28404
|
-
z(
|
|
28415
|
+
z(v9)
|
|
28405
28416
|
])
|
|
28406
28417
|
])
|
|
28407
28418
|
]),
|
|
@@ -28411,10 +28422,10 @@ const W0 = /* @__PURE__ */ Bo(_I, [["render", HI]]), RI = { class: "pbx-text-xs
|
|
|
28411
28422
|
id: "page-builder-wrapper",
|
|
28412
28423
|
class: j(["pbx-transition-all pbx-duration-300 pbx-font-sans 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", [(v.value, "pbx-w-full")]])
|
|
28413
28424
|
}, [
|
|
28414
|
-
c("div",
|
|
28425
|
+
c("div", M$, [
|
|
28415
28426
|
se.value ? (y(), oe(KL, { key: 0 })) : E("", !0)
|
|
28416
28427
|
]),
|
|
28417
|
-
c("div",
|
|
28428
|
+
c("div", E$, [
|
|
28418
28429
|
(y(!0), w(J, null, ne(Wo.value, (ce) => (y(), w(J, {
|
|
28419
28430
|
key: ce.id
|
|
28420
28431
|
}, [
|
|
@@ -28422,7 +28433,7 @@ const W0 = /* @__PURE__ */ Bo(_I, [["render", HI]]), RI = { class: "pbx-text-xs
|
|
|
28422
28433
|
key: 0,
|
|
28423
28434
|
innerHTML: ce.html_code,
|
|
28424
28435
|
onMouseup: (cr) => rr(ce)
|
|
28425
|
-
}, null, 40,
|
|
28436
|
+
}, null, 40, B$)) : E("", !0)
|
|
28426
28437
|
], 64))), 128))
|
|
28427
28438
|
])
|
|
28428
28439
|
], 2),
|
|
@@ -28440,7 +28451,7 @@ const W0 = /* @__PURE__ */ Bo(_I, [["render", HI]]), RI = { class: "pbx-text-xs
|
|
|
28440
28451
|
v.value ? "pbx-w-80 pbx-bg-myPrimaryLightGrayColor pbx-items-stretch" : "bpx-w-0 pbx-mr-0"
|
|
28441
28452
|
]])
|
|
28442
28453
|
}, [
|
|
28443
|
-
z(
|
|
28454
|
+
z(TI, {
|
|
28444
28455
|
onCloseEditor: P[18] || (P[18] = (ce) => g(l).setMenuRight(!1))
|
|
28445
28456
|
})
|
|
28446
28457
|
], 2)) : (y(), w("div", {
|
|
@@ -28501,15 +28512,15 @@ const W0 = /* @__PURE__ */ Bo(_I, [["render", HI]]), RI = { class: "pbx-text-xs
|
|
|
28501
28512
|
_: 1
|
|
28502
28513
|
})
|
|
28503
28514
|
]),
|
|
28504
|
-
c("div",
|
|
28515
|
+
c("div", P$, [
|
|
28505
28516
|
c("div", {
|
|
28506
28517
|
onClick: P[22] || (P[22] = () => {
|
|
28507
28518
|
g(l).setComponentArrayAddMethod("push"), ut();
|
|
28508
28519
|
}),
|
|
28509
28520
|
class: "pbx-flex pbx-items-center pbx-justify-center pbx-gap-2 pbx-cursor-pointer"
|
|
28510
28521
|
}, [
|
|
28511
|
-
c("span",
|
|
28512
|
-
c("div",
|
|
28522
|
+
c("span", L$, [
|
|
28523
|
+
c("div", A$, C(g(r)("Add to the bottom")), 1)
|
|
28513
28524
|
]),
|
|
28514
28525
|
P[38] || (P[38] = c("div", { class: "pbx-flex pbx-gap-2 pbx-items-center pbx-justify-center" }, [
|
|
28515
28526
|
c("button", {
|
|
@@ -28523,7 +28534,7 @@ const W0 = /* @__PURE__ */ Bo(_I, [["render", HI]]), RI = { class: "pbx-text-xs
|
|
|
28523
28534
|
])
|
|
28524
28535
|
]));
|
|
28525
28536
|
}
|
|
28526
|
-
},
|
|
28537
|
+
}, H$ = {
|
|
28527
28538
|
install: (n) => {
|
|
28528
28539
|
if (!n.config.globalProperties.$pageBuilder) {
|
|
28529
28540
|
const e = he, t = new $1(e);
|
|
@@ -28532,13 +28543,13 @@ const W0 = /* @__PURE__ */ Bo(_I, [["render", HI]]), RI = { class: "pbx-text-xs
|
|
|
28532
28543
|
}
|
|
28533
28544
|
};
|
|
28534
28545
|
export {
|
|
28535
|
-
|
|
28546
|
+
N$ as PageBuilder,
|
|
28536
28547
|
Sa as Preview,
|
|
28537
28548
|
MS as createPinia,
|
|
28538
28549
|
Me as getPageBuilder,
|
|
28539
|
-
|
|
28550
|
+
H$ as pageBuilder,
|
|
28540
28551
|
Zg as sharedPageBuilderPinia,
|
|
28541
28552
|
he as sharedPageBuilderStore,
|
|
28542
|
-
|
|
28553
|
+
w9 as usePageBuilderModal,
|
|
28543
28554
|
AS as usePageBuilderStateStore
|
|
28544
28555
|
};
|