@myissue/vue-website-page-builder 3.4.46 → 3.4.48
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.48", 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,7 +25803,7 @@ 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" }, ZL = { class: "pbx-flex pbx-justify-center pbx-items-center pbx-gap-2" }, e5 = { key: 0 }, t5 = {
|
|
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 = { key: 0 }, t5 = {
|
|
25804
25807
|
key: 0,
|
|
25805
25808
|
class: "pbx-min-h-[50rem]"
|
|
25806
25809
|
}, n5 = { class: "pbx-myPrimaryParagraph pbx-mt-12 pbx-mb-8" }, i5 = { class: "pbx-my-2 pbx-py-2" }, r5 = { key: 1 }, 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 = { key: 2 }, 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 = {
|
|
@@ -26245,19 +26248,19 @@ const UP = { class: "pbx-my-2 pbx-py-2" }, GP = {
|
|
|
26245
26248
|
}, 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
26249
|
key: 0,
|
|
26247
26250
|
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-
|
|
26251
|
+
}, 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
26252
|
key: 0,
|
|
26250
26253
|
class: "pbx-w-full"
|
|
26251
|
-
},
|
|
26254
|
+
}, 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
26255
|
key: 0,
|
|
26253
26256
|
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
|
-
},
|
|
26257
|
+
}, b9 = {
|
|
26255
26258
|
key: 1,
|
|
26256
26259
|
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
|
-
},
|
|
26260
|
+
}, m9 = { class: "pbx-flex-1" }, x9 = { class: "pbx-text-sm pbx-text-gray-600" }, g9 = {
|
|
26258
26261
|
key: 1,
|
|
26259
26262
|
class: "pbx-text-gray-500 pbx-text-center"
|
|
26260
|
-
},
|
|
26263
|
+
}, y9 = { class: "pbx-flex pbx-gap-2 pbx-items-center pbx-justify-center" }, v9 = {
|
|
26261
26264
|
__name: "ComponentTopMenu",
|
|
26262
26265
|
setup(n) {
|
|
26263
26266
|
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() {
|
|
@@ -26300,7 +26303,7 @@ const UP = { class: "pbx-my-2 pbx-py-2" }, GP = {
|
|
|
26300
26303
|
onClick: $
|
|
26301
26304
|
}),
|
|
26302
26305
|
c("div", {
|
|
26303
|
-
class: "pbx-top-0 pbx-left-0 pbx-ml-2 pbx-absolute pbx-z-40 lg:pbx-w-[35rem] pbx-w-[
|
|
26306
|
+
class: "pbx-top-0 pbx-left-0 pbx-ml-2 pbx-absolute pbx-z-40 lg:pbx-w-[35rem] pbx-w-[25rem]",
|
|
26304
26307
|
onClick: F[0] || (F[0] = Xe(() => {
|
|
26305
26308
|
}, ["stop"]))
|
|
26306
26309
|
}, [
|
|
@@ -26314,49 +26317,51 @@ const UP = { class: "pbx-my-2 pbx-py-2" }, GP = {
|
|
|
26314
26317
|
c("span", { class: "material-symbols-outlined" }, " close ", -1)
|
|
26315
26318
|
])])
|
|
26316
26319
|
]),
|
|
26317
|
-
c("div",
|
|
26318
|
-
c("div",
|
|
26320
|
+
c("div", r9, [
|
|
26321
|
+
c("div", null, [
|
|
26319
26322
|
c("div", o9, [
|
|
26320
|
-
|
|
26321
|
-
|
|
26322
|
-
|
|
26323
|
-
|
|
26324
|
-
|
|
26325
|
-
|
|
26326
|
-
|
|
26327
|
-
|
|
26323
|
+
c("div", s9, [
|
|
26324
|
+
L.value ? (y(), w("div", {
|
|
26325
|
+
key: 0,
|
|
26326
|
+
class: "pbx-relative pbx-my-4 pbx-rounded-full pbx-flex pbx-items-center pbx-justify-center pbx-w-36 pbx-h-36",
|
|
26327
|
+
style: f1({
|
|
26328
|
+
background: `conic-gradient(${L.value.score < 50 ? "#ef4444" : "#50C878"} ${L.value.score}%, #e5e7eb 0)`
|
|
26329
|
+
})
|
|
26330
|
+
}, [
|
|
26328
26331
|
c("div", l9, [
|
|
26329
|
-
c("
|
|
26330
|
-
|
|
26332
|
+
c("div", a9, [
|
|
26333
|
+
c("span", d9, C(L.value.score), 1),
|
|
26334
|
+
F[5] || (F[5] = c("span", { class: "pbx-text-xl" }, "%", -1))
|
|
26335
|
+
])
|
|
26331
26336
|
])
|
|
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
|
-
])
|
|
26337
|
+
], 4)) : E("", !0)
|
|
26338
|
+
])
|
|
26339
|
+
]),
|
|
26340
|
+
L.value && L.value.checks && L.value.checks.length ? (y(), w("div", p9, [
|
|
26341
|
+
c("h3", c9, C(g(e)("SEO Check Results")), 1),
|
|
26342
|
+
c("ul", u9, [
|
|
26343
|
+
(y(!0), w(J, null, ne(L.value.checks, (Q, _) => (y(), w("li", {
|
|
26344
|
+
key: _,
|
|
26345
|
+
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"])
|
|
26346
|
+
}, [
|
|
26347
|
+
c("div", h9, [
|
|
26348
|
+
Q.passed ? (y(), w("div", f9, [...F[6] || (F[6] = [
|
|
26349
|
+
c("span", { class: "material-symbols-outlined" }, " check ", -1)
|
|
26350
|
+
])])) : E("", !0),
|
|
26351
|
+
Q.passed ? E("", !0) : (y(), w("div", b9, [...F[7] || (F[7] = [
|
|
26352
|
+
c("span", { class: "material-symbols-outlined" }, " check_indeterminate_small ", -1)
|
|
26353
|
+
])]))
|
|
26354
|
+
]),
|
|
26355
|
+
c("div", m9, [
|
|
26356
|
+
c("p", {
|
|
26357
|
+
class: j(["pbx-text-lg pbx-font-medium", Q.passed ? "pbx-text-green-700" : "pbx-text-red-700"])
|
|
26358
|
+
}, C(Q.check), 3),
|
|
26359
|
+
c("p", x9, C(Q.details), 1)
|
|
26360
|
+
])
|
|
26361
|
+
], 2))), 128))
|
|
26362
|
+
])
|
|
26363
|
+
])) : (y(), w("div", g9, " No SEO checks available. "))
|
|
26364
|
+
])
|
|
26360
26365
|
])
|
|
26361
26366
|
])
|
|
26362
26367
|
])
|
|
@@ -26382,7 +26387,7 @@ const UP = { class: "pbx-my-2 pbx-py-2" }, GP = {
|
|
|
26382
26387
|
c("span", { class: "material-symbols-outlined" }, " deployed_code ", -1)
|
|
26383
26388
|
])])
|
|
26384
26389
|
]),
|
|
26385
|
-
c("div",
|
|
26390
|
+
c("div", y9, [
|
|
26386
26391
|
c("div", {
|
|
26387
26392
|
onClick: F[1] || (F[1] = async () => {
|
|
26388
26393
|
await g(i).clearHtmlSelection(), H();
|
|
@@ -26454,7 +26459,7 @@ const UP = { class: "pbx-my-2 pbx-py-2" }, GP = {
|
|
|
26454
26459
|
}, 8, ["showModalBuilder"])
|
|
26455
26460
|
]));
|
|
26456
26461
|
}
|
|
26457
|
-
},
|
|
26462
|
+
}, S9 = [
|
|
26458
26463
|
{
|
|
26459
26464
|
html_code: `
|
|
26460
26465
|
<section>
|
|
@@ -27399,7 +27404,7 @@ const UP = { class: "pbx-my-2 pbx-py-2" }, GP = {
|
|
|
27399
27404
|
}
|
|
27400
27405
|
}
|
|
27401
27406
|
];
|
|
27402
|
-
function
|
|
27407
|
+
function w9() {
|
|
27403
27408
|
const n = an("closeAddComponentModal", null), e = an("closeMediaLibraryModal", null);
|
|
27404
27409
|
return {
|
|
27405
27410
|
closeAddComponentModal: n || (() => {
|
|
@@ -27414,16 +27419,16 @@ function S9() {
|
|
|
27414
27419
|
})
|
|
27415
27420
|
};
|
|
27416
27421
|
}
|
|
27417
|
-
const
|
|
27422
|
+
const C9 = {
|
|
27418
27423
|
key: 0,
|
|
27419
27424
|
class: "pbx-min-h-[90vh] pbx-h-[90vh]"
|
|
27420
|
-
},
|
|
27425
|
+
}, 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
27426
|
key: 0,
|
|
27422
27427
|
class: "pbx-mb-8"
|
|
27423
|
-
},
|
|
27428
|
+
}, 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
27429
|
key: 0,
|
|
27425
27430
|
class: "pbx-px-2"
|
|
27426
|
-
},
|
|
27431
|
+
}, 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
27432
|
__name: "DefaultBuilderComponents",
|
|
27428
27433
|
props: {
|
|
27429
27434
|
customMediaComponent: {
|
|
@@ -27438,7 +27443,7 @@ const w9 = {
|
|
|
27438
27443
|
}), 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
27444
|
const x = Ps[0].themes.data.map((v) => v.category);
|
|
27440
27445
|
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 } =
|
|
27446
|
+
}), 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
27447
|
i.value = !0;
|
|
27443
27448
|
const v = x.replace(/Layouts and visual\./g, e("Layouts and visual.")).replace(
|
|
27444
27449
|
/Start customizing by editing this default text directly in the editor\./g,
|
|
@@ -27465,15 +27470,15 @@ const w9 = {
|
|
|
27465
27470
|
};
|
|
27466
27471
|
};
|
|
27467
27472
|
return (x, v) => (y(), w("div", null, [
|
|
27468
|
-
i.value ? (y(), w("div",
|
|
27469
|
-
c("div",
|
|
27470
|
-
c("div",
|
|
27471
|
-
c("span",
|
|
27473
|
+
i.value ? (y(), w("div", C9, [
|
|
27474
|
+
c("div", k9, [
|
|
27475
|
+
c("div", T9, [
|
|
27476
|
+
c("span", M9, C(g(e)("Loading...")), 1)
|
|
27472
27477
|
])
|
|
27473
27478
|
])
|
|
27474
27479
|
])) : E("", !0),
|
|
27475
|
-
i.value ? E("", !0) : (y(), w("div",
|
|
27476
|
-
c("div",
|
|
27480
|
+
i.value ? E("", !0) : (y(), w("div", E9, [
|
|
27481
|
+
c("div", B9, [
|
|
27477
27482
|
(y(!0), w(J, null, ne(o.value, (T) => (y(), w("button", {
|
|
27478
27483
|
key: T,
|
|
27479
27484
|
onClick: (S) => r.value = T,
|
|
@@ -27494,86 +27499,86 @@ const w9 = {
|
|
|
27494
27499
|
])
|
|
27495
27500
|
], -1)),
|
|
27496
27501
|
c("span", null, C(g(e)(T)), 1)
|
|
27497
|
-
], 10,
|
|
27502
|
+
], 10, P9))), 128))
|
|
27498
27503
|
]),
|
|
27499
|
-
r.value === "Themes" ? (y(), w("div",
|
|
27500
|
-
c("h3",
|
|
27501
|
-
c("div",
|
|
27504
|
+
r.value === "Themes" ? (y(), w("div", L9, [
|
|
27505
|
+
c("h3", A9, C(g(e)("Themes")), 1),
|
|
27506
|
+
c("div", I9, [
|
|
27502
27507
|
(y(!0), w(J, null, ne(p.value, (T) => (y(), w("button", {
|
|
27503
27508
|
key: T,
|
|
27504
27509
|
onClick: (S) => d.value = T,
|
|
27505
27510
|
class: j(["pbx-mySecondaryButton pbx-text-xs pbx-px-4", [
|
|
27506
27511
|
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
27512
|
]])
|
|
27508
|
-
}, C(g(e)(T)), 11,
|
|
27513
|
+
}, C(g(e)(T)), 11, $9))), 128))
|
|
27509
27514
|
]),
|
|
27510
|
-
c("div",
|
|
27511
|
-
c("div",
|
|
27515
|
+
c("div", D9, [
|
|
27516
|
+
c("div", O9, [
|
|
27512
27517
|
(y(!0), w(J, null, ne(u.value, (T) => (y(), w("div", {
|
|
27513
27518
|
key: T.title,
|
|
27514
27519
|
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
27520
|
onClick: (S) => f(T.html_code)
|
|
27516
27521
|
}, [
|
|
27517
|
-
c("div",
|
|
27522
|
+
c("div", N9, [
|
|
27518
27523
|
c("div", {
|
|
27519
27524
|
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
27525
|
innerHTML: T.cover_image
|
|
27521
|
-
}, null, 8,
|
|
27526
|
+
}, null, 8, H9)
|
|
27522
27527
|
]),
|
|
27523
|
-
c("div",
|
|
27524
|
-
c("h4",
|
|
27525
|
-
c("div",
|
|
27528
|
+
c("div", R9, [
|
|
27529
|
+
c("h4", z9, C(g(e)(T.title)), 1),
|
|
27530
|
+
c("div", F9, C(g(e)("Click to add theme")), 1)
|
|
27526
27531
|
])
|
|
27527
|
-
], 8,
|
|
27532
|
+
], 8, _9))), 128))
|
|
27528
27533
|
])
|
|
27529
27534
|
])
|
|
27530
27535
|
])) : E("", !0),
|
|
27531
27536
|
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(
|
|
27537
|
+
c("div", j9, [
|
|
27538
|
+
c("h3", V9, C(g(e)("Helper Components")), 1),
|
|
27539
|
+
c("div", q9, [
|
|
27540
|
+
(y(!0), w(J, null, ne(g(S9), (T) => (y(), w("div", {
|
|
27536
27541
|
key: T.title,
|
|
27537
27542
|
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
27543
|
onClick: (S) => b(T)
|
|
27539
27544
|
}, [
|
|
27540
|
-
c("div",
|
|
27545
|
+
c("div", U9, [
|
|
27541
27546
|
E("", !0),
|
|
27542
|
-
c("h4",
|
|
27547
|
+
c("h4", G9, C(g(e)(T.title)), 1)
|
|
27543
27548
|
]),
|
|
27544
|
-
c("div",
|
|
27545
|
-
], 8,
|
|
27549
|
+
c("div", K9, C(g(e)("Click to add")) + " " + C(T.title.toLowerCase()) + " " + C(g(e)("component")), 1)
|
|
27550
|
+
], 8, W9))), 128))
|
|
27546
27551
|
])
|
|
27547
27552
|
]),
|
|
27548
|
-
n.customMediaComponent ? (y(), w("div",
|
|
27549
|
-
c("h3",
|
|
27550
|
-
c("div",
|
|
27553
|
+
n.customMediaComponent ? (y(), w("div", J9, [
|
|
27554
|
+
c("h3", Y9, C(g(e)("Layout Components")), 1),
|
|
27555
|
+
c("div", Q9, [
|
|
27551
27556
|
(y(!0), w(J, null, ne(l.value, (T) => (y(), w("button", {
|
|
27552
27557
|
key: T,
|
|
27553
27558
|
onClick: (S) => s.value = T,
|
|
27554
27559
|
class: j(["pbx-mySecondaryButton pbx-text-xs pbx-px-4", [
|
|
27555
27560
|
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
27561
|
]])
|
|
27557
|
-
}, C(g(e)(T)), 11,
|
|
27562
|
+
}, C(g(e)(T)), 11, X9))), 128))
|
|
27558
27563
|
]),
|
|
27559
|
-
c("div",
|
|
27560
|
-
c("div",
|
|
27564
|
+
c("div", Z9, [
|
|
27565
|
+
c("div", eI, [
|
|
27561
27566
|
(y(!0), w(J, null, ne(a.value, (T) => (y(), w("div", {
|
|
27562
27567
|
key: T.title,
|
|
27563
27568
|
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
27569
|
onClick: (S) => b(m(T))
|
|
27565
27570
|
}, [
|
|
27566
|
-
c("div",
|
|
27571
|
+
c("div", nI, [
|
|
27567
27572
|
c("div", {
|
|
27568
27573
|
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
27574
|
innerHTML: T.cover_image
|
|
27570
|
-
}, null, 8,
|
|
27575
|
+
}, null, 8, iI)
|
|
27571
27576
|
]),
|
|
27572
|
-
c("div",
|
|
27573
|
-
c("h4",
|
|
27574
|
-
c("div",
|
|
27577
|
+
c("div", rI, [
|
|
27578
|
+
c("h4", oI, C(g(e)(T.title)), 1),
|
|
27579
|
+
c("div", sI, C(g(e)("Click to add component")), 1)
|
|
27575
27580
|
])
|
|
27576
|
-
], 8,
|
|
27581
|
+
], 8, tI))), 128))
|
|
27577
27582
|
])
|
|
27578
27583
|
])
|
|
27579
27584
|
])) : E("", !0)
|
|
@@ -27584,7 +27589,7 @@ const w9 = {
|
|
|
27584
27589
|
]))
|
|
27585
27590
|
]));
|
|
27586
27591
|
}
|
|
27587
|
-
}),
|
|
27592
|
+
}), 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
27593
|
__name: "BuilderComponents",
|
|
27589
27594
|
props: {
|
|
27590
27595
|
firstButtonText: {
|
|
@@ -27617,12 +27622,12 @@ const w9 = {
|
|
|
27617
27622
|
maxHeight: ""
|
|
27618
27623
|
}, {
|
|
27619
27624
|
default: V(() => [
|
|
27620
|
-
c("div",
|
|
27625
|
+
c("div", dI, [
|
|
27621
27626
|
c("div", null, [
|
|
27622
|
-
n.CustomBuilderComponents ? (y(), w("div",
|
|
27627
|
+
n.CustomBuilderComponents ? (y(), w("div", pI, [
|
|
27623
27628
|
(y(), oe(sp(n.CustomBuilderComponents)))
|
|
27624
|
-
])) : (y(), w("div",
|
|
27625
|
-
z(
|
|
27629
|
+
])) : (y(), w("div", cI, [
|
|
27630
|
+
z(aI, { customMediaComponent: g(t) }, null, 8, ["customMediaComponent"])
|
|
27626
27631
|
]))
|
|
27627
27632
|
])
|
|
27628
27633
|
])
|
|
@@ -27630,7 +27635,7 @@ const w9 = {
|
|
|
27630
27635
|
_: 1
|
|
27631
27636
|
}, 8, ["title", "showModalBuilder"]));
|
|
27632
27637
|
}
|
|
27633
|
-
},
|
|
27638
|
+
}, 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
27639
|
__name: "RightSidebarEditor",
|
|
27635
27640
|
emits: ["closeEditor"],
|
|
27636
27641
|
setup(n) {
|
|
@@ -27651,8 +27656,8 @@ const w9 = {
|
|
|
27651
27656
|
function a() {
|
|
27652
27657
|
s.value && (l = s.value.scrollTop);
|
|
27653
27658
|
}
|
|
27654
|
-
return (d, p) => (y(), w("div",
|
|
27655
|
-
c("div",
|
|
27659
|
+
return (d, p) => (y(), w("div", hI, [
|
|
27660
|
+
c("div", fI, [
|
|
27656
27661
|
c("button", {
|
|
27657
27662
|
type: "button",
|
|
27658
27663
|
onClick: p[0] || (p[0] = (u) => d.$emit("closeEditor")),
|
|
@@ -27660,9 +27665,9 @@ const w9 = {
|
|
|
27660
27665
|
}, [...p[1] || (p[1] = [
|
|
27661
27666
|
c("span", { class: "material-symbols-outlined" }, " close ", -1)
|
|
27662
27667
|
])]),
|
|
27663
|
-
c("p",
|
|
27668
|
+
c("p", bI, [
|
|
27664
27669
|
Se(C(g(e)("Editing")) + " ", 1),
|
|
27665
|
-
c("span",
|
|
27670
|
+
c("span", mI, "<" + C(o.value) + ">", 1)
|
|
27666
27671
|
])
|
|
27667
27672
|
]),
|
|
27668
27673
|
c("div", {
|
|
@@ -27672,28 +27677,28 @@ const w9 = {
|
|
|
27672
27677
|
class: "pbx-pl-3 pbx-pr-3 pbx-mb-4 pbx-overflow-y-scroll"
|
|
27673
27678
|
}, [
|
|
27674
27679
|
le(c("div", null, [
|
|
27675
|
-
c("article",
|
|
27680
|
+
c("article", xI, [
|
|
27676
27681
|
z(iC)
|
|
27677
27682
|
]),
|
|
27678
|
-
c("article",
|
|
27683
|
+
c("article", gI, [
|
|
27679
27684
|
z(nk)
|
|
27680
27685
|
]),
|
|
27681
|
-
c("article",
|
|
27686
|
+
c("article", yI, [
|
|
27682
27687
|
z(hy)
|
|
27683
27688
|
]),
|
|
27684
|
-
c("article",
|
|
27689
|
+
c("article", vI, [
|
|
27685
27690
|
z(fy)
|
|
27686
27691
|
]),
|
|
27687
|
-
c("article",
|
|
27692
|
+
c("article", SI, [
|
|
27688
27693
|
z(by)
|
|
27689
27694
|
]),
|
|
27690
|
-
c("article",
|
|
27695
|
+
c("article", wI, [
|
|
27691
27696
|
z(gy)
|
|
27692
27697
|
]),
|
|
27693
|
-
c("article",
|
|
27698
|
+
c("article", CI, [
|
|
27694
27699
|
z(ey)
|
|
27695
27700
|
]),
|
|
27696
|
-
c("article",
|
|
27701
|
+
c("article", kI, [
|
|
27697
27702
|
z(ty)
|
|
27698
27703
|
])
|
|
27699
27704
|
], 512), [
|
|
@@ -27702,34 +27707,34 @@ const w9 = {
|
|
|
27702
27707
|
], 544)
|
|
27703
27708
|
]));
|
|
27704
27709
|
}
|
|
27705
|
-
},
|
|
27710
|
+
}, MI = { class: "pbx-flex pbx-items-center pbx-justify-center" }, EI = { class: "pbx-mr-2" }, BI = {
|
|
27706
27711
|
key: 0,
|
|
27707
27712
|
class: "pbx-flex pbx-items-center pbx-myPrimaryTag pbx-whitespace-nowrap pbx-py-0 pbx-gap-2"
|
|
27708
|
-
},
|
|
27713
|
+
}, 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
27714
|
key: 1,
|
|
27710
27715
|
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
|
-
},
|
|
27716
|
+
}, 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
27717
|
__name: "ToolbarOption",
|
|
27713
27718
|
setup(n) {
|
|
27714
27719
|
const e = he, t = A(() => e.getPageBuilderConfig);
|
|
27715
27720
|
return (i, r) => {
|
|
27716
27721
|
var o;
|
|
27717
27722
|
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",
|
|
27723
|
+
c("div", MI, [
|
|
27724
|
+
c("div", EI, [
|
|
27725
|
+
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, [
|
|
27726
|
+
c("div", PI, C(typeof t.value.userForPageBuilder.name == "string" && t.value.userForPageBuilder.name[0]), 1),
|
|
27727
|
+
c("div", LI, C(t.value.userForPageBuilder.name), 1)
|
|
27723
27728
|
])) : 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",
|
|
27729
|
+
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, [
|
|
27730
|
+
c("div", II, [
|
|
27726
27731
|
c("img", {
|
|
27727
27732
|
alt: "Avatar",
|
|
27728
27733
|
src: `${t.value.userForPageBuilder.image}`,
|
|
27729
27734
|
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,
|
|
27735
|
+
}, null, 8, $I)
|
|
27731
27736
|
]),
|
|
27732
|
-
c("div",
|
|
27737
|
+
c("div", DI, C(t.value.userForPageBuilder.name), 1)
|
|
27733
27738
|
])) : E("", !0)
|
|
27734
27739
|
])
|
|
27735
27740
|
])
|
|
@@ -27738,14 +27743,14 @@ const w9 = {
|
|
|
27738
27743
|
}
|
|
27739
27744
|
};
|
|
27740
27745
|
let Ls = null;
|
|
27741
|
-
function
|
|
27746
|
+
function _I() {
|
|
27742
27747
|
return (n, e = 300) => {
|
|
27743
27748
|
Ls && clearTimeout(Ls), Ls = setTimeout(n, e);
|
|
27744
27749
|
};
|
|
27745
27750
|
}
|
|
27746
|
-
const
|
|
27747
|
-
function
|
|
27748
|
-
return y(), w("div",
|
|
27751
|
+
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]" };
|
|
27752
|
+
function RI(n, e) {
|
|
27753
|
+
return y(), w("div", HI, [...e[0] || (e[0] = [
|
|
27749
27754
|
c("div", { class: "pbx-absolute pbx-top-1/3" }, [
|
|
27750
27755
|
c("div", { class: "pbx-flex pbx-items-center pbx-justify-center pbx-mt-4" }, [
|
|
27751
27756
|
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 +27760,7 @@ function HI(n, e) {
|
|
|
27755
27760
|
], -1)
|
|
27756
27761
|
])]);
|
|
27757
27762
|
}
|
|
27758
|
-
const W0 = /* @__PURE__ */ Bo(
|
|
27763
|
+
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
27764
|
__name: "UndoRedo",
|
|
27760
27765
|
emits: ["toolbar-hide-request"],
|
|
27761
27766
|
setup(n, { emit: e }) {
|
|
@@ -27781,7 +27786,7 @@ const W0 = /* @__PURE__ */ Bo(_I, [["render", HI]]), RI = { class: "pbx-text-xs
|
|
|
27781
27786
|
}, [...f[1] || (f[1] = [
|
|
27782
27787
|
c("span", { class: "material-symbols-outlined" }, " undo ", -1)
|
|
27783
27788
|
])], 2),
|
|
27784
|
-
c("div",
|
|
27789
|
+
c("div", zI, C(s.value + 1) + "/" + C(l.value), 1),
|
|
27785
27790
|
c("div", {
|
|
27786
27791
|
onClick: u,
|
|
27787
27792
|
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 +27798,55 @@ const W0 = /* @__PURE__ */ Bo(_I, [["render", HI]]), RI = { class: "pbx-text-xs
|
|
|
27793
27798
|
])
|
|
27794
27799
|
], 64));
|
|
27795
27800
|
}
|
|
27796
|
-
}),
|
|
27801
|
+
}), 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
27802
|
key: 0,
|
|
27798
27803
|
class: "pbx-myPrimaryParagraphError"
|
|
27799
|
-
},
|
|
27804
|
+
}, 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
27805
|
key: 1,
|
|
27801
27806
|
class: "pbx-flex pbx-items-center pbx-my-2 pbx-justify-end"
|
|
27802
|
-
},
|
|
27807
|
+
}, JI = { class: "pbx-flex pbx-justify-end pbx-min-h-6" }, YI = {
|
|
27803
27808
|
key: 0,
|
|
27804
27809
|
class: "pbx-myPrimaryParagraphError"
|
|
27805
|
-
},
|
|
27810
|
+
}, 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
27811
|
key: 1,
|
|
27807
27812
|
class: "pbx-flex pbx-items-center pbx-my-2 pbx-justify-end"
|
|
27808
|
-
},
|
|
27813
|
+
}, t$ = {
|
|
27809
27814
|
id: "pagebuilder-navbar",
|
|
27810
27815
|
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
|
-
},
|
|
27816
|
+
}, n$ = ["src"], i$ = { class: "pbx-flex pbx-items-center pbx-justify-center" }, r$ = ["disabled"], o$ = {
|
|
27812
27817
|
key: 0,
|
|
27813
27818
|
class: "pbx-h-10 pbx-w-4 pbx-cursor-pointer pbx-rounded-full pbx-flex pbx-items-center pbx-justify-center"
|
|
27814
|
-
},
|
|
27819
|
+
}, s$ = {
|
|
27815
27820
|
key: 1,
|
|
27816
27821
|
class: "pbx-h-10 pbx-w-4 pbx-cursor-pointer pbx-rounded-full pbx-flex pbx-items-center pbx-justify-center"
|
|
27817
|
-
},
|
|
27822
|
+
}, l$ = ["disabled"], a$ = {
|
|
27818
27823
|
key: 0,
|
|
27819
27824
|
class: "pbx-h-10 pbx-w-4 pbx-cursor-pointer pbx-rounded-full pbx-flex pbx-items-center pbx-justify-center"
|
|
27820
|
-
},
|
|
27825
|
+
}, d$ = {
|
|
27821
27826
|
key: 1,
|
|
27822
27827
|
class: "pbx-h-10 pbx-w-4 pbx-cursor-pointer pbx-rounded-full pbx-flex pbx-items-center pbx-justify-center"
|
|
27823
|
-
},
|
|
27828
|
+
}, 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
27829
|
key: 0,
|
|
27825
27830
|
class: "pbx-flex-1 pbx-ml-2"
|
|
27826
|
-
},
|
|
27831
|
+
}, y$ = {
|
|
27827
27832
|
key: 0,
|
|
27828
27833
|
class: "pbx-flex-1 pbx-flex pbx-justify-end pbx-items-center pbx-ml-2 lg:pbx-mr-4 pbx-mr-2"
|
|
27829
|
-
},
|
|
27834
|
+
}, v$ = ["value"], S$ = ["value"], w$ = {
|
|
27830
27835
|
key: 2,
|
|
27831
27836
|
class: "pbx-flex-1 pbx-ml-2 pbx-mr-2"
|
|
27832
|
-
},
|
|
27837
|
+
}, C$ = {
|
|
27833
27838
|
id: "pagebuilder-main",
|
|
27834
27839
|
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
|
-
},
|
|
27840
|
+
}, 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
27841
|
id: "pbxEditToolbar",
|
|
27837
27842
|
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
|
-
},
|
|
27843
|
+
}, E$ = {
|
|
27839
27844
|
id: "pagebuilder",
|
|
27840
27845
|
class: "pbx-text-black pbx-font-sans"
|
|
27841
|
-
},
|
|
27846
|
+
}, B$ = ["innerHTML", "onMouseup"], P$ = {
|
|
27842
27847
|
id: "pagebuilder-footer",
|
|
27843
27848
|
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
|
-
},
|
|
27849
|
+
}, L$ = { class: "lg:pbx-block pbx-hidden" }, A$ = { class: "pbx-whitespace-nowrap" }, N$ = {
|
|
27845
27850
|
__name: "PageBuilder",
|
|
27846
27851
|
props: {
|
|
27847
27852
|
CustomMediaLibraryComponent: {
|
|
@@ -27911,7 +27916,7 @@ const W0 = /* @__PURE__ */ Bo(_I, [["render", HI]]), RI = { class: "pbx-text-xs
|
|
|
27911
27916
|
style: se.value.getAttribute("style"),
|
|
27912
27917
|
class: se.value.getAttribute("class"),
|
|
27913
27918
|
dataImage: se.value.getAttribute("data-image")
|
|
27914
|
-
}), ir =
|
|
27919
|
+
}), ir = _I();
|
|
27915
27920
|
Y(nr, async (K, P) => {
|
|
27916
27921
|
((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
27922
|
await t.initializeElementStyles();
|
|
@@ -27999,7 +28004,7 @@ const W0 = /* @__PURE__ */ Bo(_I, [["render", HI]]), RI = { class: "pbx-text-xs
|
|
|
27999
28004
|
attributes: !0,
|
|
28000
28005
|
attributeFilter: ["selected"]
|
|
28001
28006
|
}), 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",
|
|
28007
|
+
}), (K, P) => (y(), w("div", jI, [
|
|
28003
28008
|
or.value && !$.value || b.value ? (y(), oe(W0, { key: 0 })) : E("", !0),
|
|
28004
28009
|
z($t, {
|
|
28005
28010
|
title: "The builder hasn’t started yet",
|
|
@@ -28014,7 +28019,7 @@ const W0 = /* @__PURE__ */ Bo(_I, [["render", HI]]), RI = { class: "pbx-text-xs
|
|
|
28014
28019
|
])]),
|
|
28015
28020
|
_: 1
|
|
28016
28021
|
}, 8, ["showModalBuilder"]),
|
|
28017
|
-
_.value ? (y(), oe(
|
|
28022
|
+
_.value ? (y(), oe(uI, {
|
|
28018
28023
|
key: 1,
|
|
28019
28024
|
show: _.value,
|
|
28020
28025
|
firstButtonText: He.value,
|
|
@@ -28100,12 +28105,12 @@ const W0 = /* @__PURE__ */ Bo(_I, [["render", HI]]), RI = { class: "pbx-text-xs
|
|
|
28100
28105
|
}, null, 512), [
|
|
28101
28106
|
[Bn, ar.value]
|
|
28102
28107
|
]),
|
|
28103
|
-
c("div",
|
|
28104
|
-
Mt.value ? (y(), w("p",
|
|
28108
|
+
c("div", VI, [
|
|
28109
|
+
Mt.value ? (y(), w("p", qI, " Error: " + C(Mt.value), 1)) : E("", !0)
|
|
28105
28110
|
]),
|
|
28106
|
-
c("div",
|
|
28107
|
-
c("div",
|
|
28108
|
-
c("div",
|
|
28111
|
+
c("div", WI, [
|
|
28112
|
+
c("div", UI, [
|
|
28113
|
+
c("div", GI, [
|
|
28109
28114
|
gt.value ? E("", !0) : (y(), w(J, { key: 0 }, [
|
|
28110
28115
|
c("button", {
|
|
28111
28116
|
onClick: Go,
|
|
@@ -28118,7 +28123,7 @@ const W0 = /* @__PURE__ */ Bo(_I, [["render", HI]]), RI = { class: "pbx-text-xs
|
|
|
28118
28123
|
class: "pbx-myPrimaryButton"
|
|
28119
28124
|
}, C(g(r)("Save")), 1)
|
|
28120
28125
|
], 64)),
|
|
28121
|
-
gt.value ? (y(), w("div",
|
|
28126
|
+
gt.value ? (y(), w("div", KI, [...P[26] || (P[26] = [
|
|
28122
28127
|
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
28128
|
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
28129
|
], -1)
|
|
@@ -28136,12 +28141,12 @@ const W0 = /* @__PURE__ */ Bo(_I, [["render", HI]]), RI = { class: "pbx-text-xs
|
|
|
28136
28141
|
}, null, 512), [
|
|
28137
28142
|
[Bn, dr.value]
|
|
28138
28143
|
]),
|
|
28139
|
-
c("div",
|
|
28140
|
-
Mt.value ? (y(), w("p",
|
|
28144
|
+
c("div", JI, [
|
|
28145
|
+
Mt.value ? (y(), w("p", YI, " Error: " + C(Mt.value), 1)) : E("", !0)
|
|
28141
28146
|
]),
|
|
28142
|
-
c("div",
|
|
28143
|
-
c("div",
|
|
28144
|
-
c("div",
|
|
28147
|
+
c("div", QI, [
|
|
28148
|
+
c("div", XI, [
|
|
28149
|
+
c("div", ZI, [
|
|
28145
28150
|
gt.value ? E("", !0) : (y(), w(J, { key: 0 }, [
|
|
28146
28151
|
c("button", {
|
|
28147
28152
|
onClick: Go,
|
|
@@ -28154,7 +28159,7 @@ const W0 = /* @__PURE__ */ Bo(_I, [["render", HI]]), RI = { class: "pbx-text-xs
|
|
|
28154
28159
|
class: "pbx-myPrimaryButton"
|
|
28155
28160
|
}, C(g(r)("Save")), 1)
|
|
28156
28161
|
], 64)),
|
|
28157
|
-
gt.value ? (y(), w("div",
|
|
28162
|
+
gt.value ? (y(), w("div", e$, [...P[27] || (P[27] = [
|
|
28158
28163
|
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
28164
|
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
28165
|
], -1)
|
|
@@ -28166,7 +28171,7 @@ const W0 = /* @__PURE__ */ Bo(_I, [["render", HI]]), RI = { class: "pbx-text-xs
|
|
|
28166
28171
|
]),
|
|
28167
28172
|
_: 1
|
|
28168
28173
|
}, 8, ["showModalBuilder", "title"]),
|
|
28169
|
-
c("div",
|
|
28174
|
+
c("div", t$, [
|
|
28170
28175
|
x.value && x.value.pageBuilderLogo && x.value.pageBuilderLogo.src ? (y(), w("div", {
|
|
28171
28176
|
key: 0,
|
|
28172
28177
|
onClick: P[2] || (P[2] = Xe(
|
|
@@ -28181,9 +28186,9 @@ const W0 = /* @__PURE__ */ Bo(_I, [["render", HI]]), RI = { class: "pbx-text-xs
|
|
|
28181
28186
|
class: "pbx-h-6",
|
|
28182
28187
|
src: x.value.pageBuilderLogo.src,
|
|
28183
28188
|
alt: "Logo"
|
|
28184
|
-
}, null, 8,
|
|
28189
|
+
}, null, 8, n$)
|
|
28185
28190
|
])) : E("", !0),
|
|
28186
|
-
z(
|
|
28191
|
+
z(FI, { onToolbarHideRequest: X0 }),
|
|
28187
28192
|
c("div", {
|
|
28188
28193
|
onClick: P[5] || (P[5] = Xe(
|
|
28189
28194
|
async () => {
|
|
@@ -28193,7 +28198,7 @@ const W0 = /* @__PURE__ */ Bo(_I, [["render", HI]]), RI = { class: "pbx-text-xs
|
|
|
28193
28198
|
)),
|
|
28194
28199
|
class: "pbx-flex-1 pbx-flex pbx-justify-center pbx-items-center pbx-py-2 pbx-w-full"
|
|
28195
28200
|
}, [
|
|
28196
|
-
c("div",
|
|
28201
|
+
c("div", i$, [
|
|
28197
28202
|
c("button", {
|
|
28198
28203
|
class: "pbx-mySecondaryButton pbx-h-6 pbx-flex pbx-gap-2 pbx-mr-2",
|
|
28199
28204
|
onClick: P[3] || (P[3] = Xe(
|
|
@@ -28205,17 +28210,17 @@ const W0 = /* @__PURE__ */ Bo(_I, [["render", HI]]), RI = { class: "pbx-text-xs
|
|
|
28205
28210
|
type: "button",
|
|
28206
28211
|
disabled: jn.value
|
|
28207
28212
|
}, [
|
|
28208
|
-
jn.value ? E("", !0) : (y(), w("div",
|
|
28213
|
+
jn.value ? E("", !0) : (y(), w("div", o$, [...P[28] || (P[28] = [
|
|
28209
28214
|
c("span", { class: "material-symbols-outlined" }, "save", -1)
|
|
28210
28215
|
])])),
|
|
28211
|
-
jn.value ? (y(), w("div",
|
|
28216
|
+
jn.value ? (y(), w("div", s$, [...P[29] || (P[29] = [
|
|
28212
28217
|
c("span", { class: "pbx-relative pbx-flex pbx-size-3" }, [
|
|
28213
28218
|
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
28219
|
c("span", { class: "pbx-relative pbx-inline-flex pbx-size-3 pbx-rounded-full pbx-bg-green-200" })
|
|
28215
28220
|
], -1)
|
|
28216
28221
|
])])) : E("", !0),
|
|
28217
28222
|
c("div", null, C(g(r)("Save")), 1)
|
|
28218
|
-
], 8,
|
|
28223
|
+
], 8, r$),
|
|
28219
28224
|
x.value && x.value.updateOrCreate && x.value.updateOrCreate.formType === "update" ? (y(), w("button", {
|
|
28220
28225
|
key: 0,
|
|
28221
28226
|
class: "pbx-mySecondaryButton pbx-h-6 pbx-flex pbx-gap-2 lg:pbx-mr-2 pbx-mr-2",
|
|
@@ -28228,22 +28233,22 @@ const W0 = /* @__PURE__ */ Bo(_I, [["render", HI]]), RI = { class: "pbx-text-xs
|
|
|
28228
28233
|
type: "button",
|
|
28229
28234
|
disabled: hn.value
|
|
28230
28235
|
}, [
|
|
28231
|
-
hn.value ? E("", !0) : (y(), w("div",
|
|
28236
|
+
hn.value ? E("", !0) : (y(), w("div", a$, [...P[30] || (P[30] = [
|
|
28232
28237
|
c("span", { class: "material-symbols-outlined" }, " settings_backup_restore ", -1)
|
|
28233
28238
|
])])),
|
|
28234
|
-
hn.value ? (y(), w("div",
|
|
28239
|
+
hn.value ? (y(), w("div", d$, [...P[31] || (P[31] = [
|
|
28235
28240
|
c("span", { class: "pbx-relative pbx-flex pbx-size-3" }, [
|
|
28236
28241
|
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
28242
|
c("span", { class: "pbx-relative pbx-inline-flex pbx-size-3 pbx-rounded-full pbx-bg-green-200" })
|
|
28238
28243
|
], -1)
|
|
28239
28244
|
])])) : E("", !0),
|
|
28240
|
-
c("div",
|
|
28245
|
+
c("div", p$, [
|
|
28241
28246
|
c("span", null, C(g(r)("Reset Page")), 1)
|
|
28242
28247
|
]),
|
|
28243
|
-
c("div",
|
|
28248
|
+
c("div", c$, [
|
|
28244
28249
|
c("span", null, C(g(r)("Reset")), 1)
|
|
28245
28250
|
])
|
|
28246
|
-
], 8,
|
|
28251
|
+
], 8, l$)) : E("", !0)
|
|
28247
28252
|
])
|
|
28248
28253
|
]),
|
|
28249
28254
|
c("div", {
|
|
@@ -28270,16 +28275,16 @@ const W0 = /* @__PURE__ */ Bo(_I, [["render", HI]]), RI = { class: "pbx-text-xs
|
|
|
28270
28275
|
g(l).setComponentArrayAddMethod("unshift"), ut();
|
|
28271
28276
|
})
|
|
28272
28277
|
}, [
|
|
28273
|
-
c("div",
|
|
28274
|
-
c("span",
|
|
28275
|
-
c("div",
|
|
28278
|
+
c("div", u$, [
|
|
28279
|
+
c("span", h$, [
|
|
28280
|
+
c("div", f$, C(g(r)("Add new Components")), 1)
|
|
28276
28281
|
]),
|
|
28277
28282
|
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
28283
|
c("span", { class: "pbx-myMediumIcon material-symbols-outlined" }, " interests ")
|
|
28279
28284
|
], -1))
|
|
28280
28285
|
])
|
|
28281
28286
|
]),
|
|
28282
|
-
c("div",
|
|
28287
|
+
c("div", b$, [
|
|
28283
28288
|
c("div", {
|
|
28284
28289
|
onClick: P[7] || (P[7] = async () => {
|
|
28285
28290
|
g(l).setMenuRight(!1), g(l).setElement(null), await g(t).clearHtmlSelection(), H();
|
|
@@ -28307,7 +28312,7 @@ const W0 = /* @__PURE__ */ Bo(_I, [["render", HI]]), RI = { class: "pbx-text-xs
|
|
|
28307
28312
|
], -1)
|
|
28308
28313
|
])])
|
|
28309
28314
|
]),
|
|
28310
|
-
c("div",
|
|
28315
|
+
c("div", m$, [
|
|
28311
28316
|
c("div", {
|
|
28312
28317
|
onClick: P[8] || (P[8] = async () => {
|
|
28313
28318
|
g(l).setMenuRight(!1), g(l).setElement(null), await g(t).clearHtmlSelection(), q();
|
|
@@ -28318,7 +28323,7 @@ const W0 = /* @__PURE__ */ Bo(_I, [["render", HI]]), RI = { class: "pbx-text-xs
|
|
|
28318
28323
|
])
|
|
28319
28324
|
])
|
|
28320
28325
|
]),
|
|
28321
|
-
c("div",
|
|
28326
|
+
c("div", x$, [
|
|
28322
28327
|
c("div", {
|
|
28323
28328
|
onClick: P[11] || (P[11] = Xe(
|
|
28324
28329
|
async () => {
|
|
@@ -28328,9 +28333,9 @@ const W0 = /* @__PURE__ */ Bo(_I, [["render", HI]]), RI = { class: "pbx-text-xs
|
|
|
28328
28333
|
)),
|
|
28329
28334
|
class: j(["pbx-flex pbx-items-center pbx-py-2 pbx-w-full", [n.showCloseButton ? "pbx-justify-between" : "pbx-justify-end"]])
|
|
28330
28335
|
}, [
|
|
28331
|
-
z(
|
|
28336
|
+
z(OI)
|
|
28332
28337
|
], 2),
|
|
28333
|
-
n.showPublishButton ? (y(), w("div",
|
|
28338
|
+
n.showPublishButton ? (y(), w("div", g$, [
|
|
28334
28339
|
c("button", {
|
|
28335
28340
|
class: "pbx-myPrimaryButton",
|
|
28336
28341
|
onClick: P[12] || (P[12] = async () => {
|
|
@@ -28339,7 +28344,7 @@ const W0 = /* @__PURE__ */ Bo(_I, [["render", HI]]), RI = { class: "pbx-text-xs
|
|
|
28339
28344
|
}, C(g(r)("Publish")), 1)
|
|
28340
28345
|
])) : E("", !0),
|
|
28341
28346
|
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",
|
|
28347
|
+
x.value && x.value.userSettings && x.value.userSettings.language ? (y(), w("div", y$, [
|
|
28343
28348
|
le(c("select", {
|
|
28344
28349
|
id: "pbx-lang",
|
|
28345
28350
|
class: "pbx-myPrimarySelect pbx-min-w-20",
|
|
@@ -28348,17 +28353,17 @@ const W0 = /* @__PURE__ */ Bo(_I, [["render", HI]]), RI = { class: "pbx-text-xs
|
|
|
28348
28353
|
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
28354
|
key: ce,
|
|
28350
28355
|
value: ce
|
|
28351
|
-
}, C(ce), 9,
|
|
28356
|
+
}, C(ce), 9, v$))), 128)) : E("", !0),
|
|
28352
28357
|
!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
28358
|
key: ce,
|
|
28354
28359
|
value: ce
|
|
28355
|
-
}, C(ce), 9,
|
|
28360
|
+
}, C(ce), 9, S$))), 128)) : E("", !0)
|
|
28356
28361
|
], 512), [
|
|
28357
28362
|
[ve, h.value]
|
|
28358
28363
|
])
|
|
28359
28364
|
])) : E("", !0)
|
|
28360
28365
|
], 64)) : E("", !0),
|
|
28361
|
-
n.showCloseButton ? (y(), w("div",
|
|
28366
|
+
n.showCloseButton ? (y(), w("div", w$, [
|
|
28362
28367
|
c("button", {
|
|
28363
28368
|
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
28369
|
onClick: P[14] || (P[14] = async () => {
|
|
@@ -28370,7 +28375,7 @@ const W0 = /* @__PURE__ */ Bo(_I, [["render", HI]]), RI = { class: "pbx-text-xs
|
|
|
28370
28375
|
])) : E("", !0)
|
|
28371
28376
|
])
|
|
28372
28377
|
]),
|
|
28373
|
-
c("div",
|
|
28378
|
+
c("div", C$, [
|
|
28374
28379
|
c("div", {
|
|
28375
28380
|
onClick: P[17] || (P[17] = Xe(
|
|
28376
28381
|
async () => {
|
|
@@ -28381,8 +28386,8 @@ const W0 = /* @__PURE__ */ Bo(_I, [["render", HI]]), RI = { class: "pbx-text-xs
|
|
|
28381
28386
|
id: "pagebuilder-left-menu",
|
|
28382
28387
|
class: "pbx-w-16 pbx-pt-7 pbx-pb-2 pbx-bg-myPrimaryLightGrayColor pbx-rounded-r-2xl pbx-shadow-sm"
|
|
28383
28388
|
}, [
|
|
28384
|
-
c("div",
|
|
28385
|
-
c("div",
|
|
28389
|
+
c("div", k$, [
|
|
28390
|
+
c("div", T$, [
|
|
28386
28391
|
c("button", {
|
|
28387
28392
|
type: "button",
|
|
28388
28393
|
onClick: P[15] || (P[15] = () => {
|
|
@@ -28401,7 +28406,7 @@ const W0 = /* @__PURE__ */ Bo(_I, [["render", HI]]), RI = { class: "pbx-text-xs
|
|
|
28401
28406
|
["self"]
|
|
28402
28407
|
))
|
|
28403
28408
|
}, [
|
|
28404
|
-
z(
|
|
28409
|
+
z(v9)
|
|
28405
28410
|
])
|
|
28406
28411
|
])
|
|
28407
28412
|
]),
|
|
@@ -28411,10 +28416,10 @@ const W0 = /* @__PURE__ */ Bo(_I, [["render", HI]]), RI = { class: "pbx-text-xs
|
|
|
28411
28416
|
id: "page-builder-wrapper",
|
|
28412
28417
|
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
28418
|
}, [
|
|
28414
|
-
c("div",
|
|
28419
|
+
c("div", M$, [
|
|
28415
28420
|
se.value ? (y(), oe(KL, { key: 0 })) : E("", !0)
|
|
28416
28421
|
]),
|
|
28417
|
-
c("div",
|
|
28422
|
+
c("div", E$, [
|
|
28418
28423
|
(y(!0), w(J, null, ne(Wo.value, (ce) => (y(), w(J, {
|
|
28419
28424
|
key: ce.id
|
|
28420
28425
|
}, [
|
|
@@ -28422,7 +28427,7 @@ const W0 = /* @__PURE__ */ Bo(_I, [["render", HI]]), RI = { class: "pbx-text-xs
|
|
|
28422
28427
|
key: 0,
|
|
28423
28428
|
innerHTML: ce.html_code,
|
|
28424
28429
|
onMouseup: (cr) => rr(ce)
|
|
28425
|
-
}, null, 40,
|
|
28430
|
+
}, null, 40, B$)) : E("", !0)
|
|
28426
28431
|
], 64))), 128))
|
|
28427
28432
|
])
|
|
28428
28433
|
], 2),
|
|
@@ -28440,7 +28445,7 @@ const W0 = /* @__PURE__ */ Bo(_I, [["render", HI]]), RI = { class: "pbx-text-xs
|
|
|
28440
28445
|
v.value ? "pbx-w-80 pbx-bg-myPrimaryLightGrayColor pbx-items-stretch" : "bpx-w-0 pbx-mr-0"
|
|
28441
28446
|
]])
|
|
28442
28447
|
}, [
|
|
28443
|
-
z(
|
|
28448
|
+
z(TI, {
|
|
28444
28449
|
onCloseEditor: P[18] || (P[18] = (ce) => g(l).setMenuRight(!1))
|
|
28445
28450
|
})
|
|
28446
28451
|
], 2)) : (y(), w("div", {
|
|
@@ -28501,15 +28506,15 @@ const W0 = /* @__PURE__ */ Bo(_I, [["render", HI]]), RI = { class: "pbx-text-xs
|
|
|
28501
28506
|
_: 1
|
|
28502
28507
|
})
|
|
28503
28508
|
]),
|
|
28504
|
-
c("div",
|
|
28509
|
+
c("div", P$, [
|
|
28505
28510
|
c("div", {
|
|
28506
28511
|
onClick: P[22] || (P[22] = () => {
|
|
28507
28512
|
g(l).setComponentArrayAddMethod("push"), ut();
|
|
28508
28513
|
}),
|
|
28509
28514
|
class: "pbx-flex pbx-items-center pbx-justify-center pbx-gap-2 pbx-cursor-pointer"
|
|
28510
28515
|
}, [
|
|
28511
|
-
c("span",
|
|
28512
|
-
c("div",
|
|
28516
|
+
c("span", L$, [
|
|
28517
|
+
c("div", A$, C(g(r)("Add to the bottom")), 1)
|
|
28513
28518
|
]),
|
|
28514
28519
|
P[38] || (P[38] = c("div", { class: "pbx-flex pbx-gap-2 pbx-items-center pbx-justify-center" }, [
|
|
28515
28520
|
c("button", {
|
|
@@ -28523,7 +28528,7 @@ const W0 = /* @__PURE__ */ Bo(_I, [["render", HI]]), RI = { class: "pbx-text-xs
|
|
|
28523
28528
|
])
|
|
28524
28529
|
]));
|
|
28525
28530
|
}
|
|
28526
|
-
},
|
|
28531
|
+
}, H$ = {
|
|
28527
28532
|
install: (n) => {
|
|
28528
28533
|
if (!n.config.globalProperties.$pageBuilder) {
|
|
28529
28534
|
const e = he, t = new $1(e);
|
|
@@ -28532,13 +28537,13 @@ const W0 = /* @__PURE__ */ Bo(_I, [["render", HI]]), RI = { class: "pbx-text-xs
|
|
|
28532
28537
|
}
|
|
28533
28538
|
};
|
|
28534
28539
|
export {
|
|
28535
|
-
|
|
28540
|
+
N$ as PageBuilder,
|
|
28536
28541
|
Sa as Preview,
|
|
28537
28542
|
MS as createPinia,
|
|
28538
28543
|
Me as getPageBuilder,
|
|
28539
|
-
|
|
28544
|
+
H$ as pageBuilder,
|
|
28540
28545
|
Zg as sharedPageBuilderPinia,
|
|
28541
28546
|
he as sharedPageBuilderStore,
|
|
28542
|
-
|
|
28547
|
+
w9 as usePageBuilderModal,
|
|
28543
28548
|
AS as usePageBuilderStateStore
|
|
28544
28549
|
};
|