@myissue/vue-website-page-builder 3.1.30 → 3.1.31
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.
|
@@ -1568,7 +1568,6 @@ class Ze {
|
|
|
1568
1568
|
var t, o, n, i;
|
|
1569
1569
|
if (this.showRunningMethodLogs && console.log("loadExistingContent"), !!this.pageBuilderStateStore.getConfigPageBuilder) {
|
|
1570
1570
|
if (((o = (t = this.pageBuilderStateStore.getConfigPageBuilder) == null ? void 0 : t.updateOrCreate) == null ? void 0 : o.formType) === "create") {
|
|
1571
|
-
console.log("hvad med nuuuuuuu");
|
|
1572
1571
|
const s = this.areComponentsStoredInLocalStorage();
|
|
1573
1572
|
s && this.setComponentsFromData(s);
|
|
1574
1573
|
}
|
|
@@ -2475,39 +2474,39 @@ let Oi = "DC8F892D-2EBD-447C-A4C8-A03058436FF4", ri = ue({ name: "Dialog", inher
|
|
|
2475
2474
|
if (n({ el: g, $el: g }), !(r.open !== Oi || u !== null)) throw new Error("You forgot to provide an `open` prop to the `Dialog`.");
|
|
2476
2475
|
if (typeof m.value != "boolean") throw new Error(`You provided an \`open\` prop to the \`Dialog\`, but the value is not a boolean. Received: ${m.value === Oi ? void 0 : r.open}`);
|
|
2477
2476
|
let b = L(() => l.value && m.value ? 0 : 1), w = L(() => b.value === 0), C = L(() => p.value > 1), E = Fe(dl, null) !== null, [y, P] = _f(), { resolveContainers: x, mainTreeNodeRef: v, MainTreeNode: F } = Bf({ portals: y, defaultContainers: [L(() => {
|
|
2478
|
-
var
|
|
2479
|
-
return (
|
|
2477
|
+
var oe;
|
|
2478
|
+
return (oe = le.panelRef.value) != null ? oe : g.value;
|
|
2480
2479
|
})] }), _ = L(() => C.value ? "parent" : "leaf"), B = L(() => u !== null ? (u.value & Be.Closing) === Be.Closing : !1), T = L(() => E || B.value ? !1 : w.value), j = L(() => {
|
|
2481
|
-
var
|
|
2482
|
-
return (De = Array.from((ce = (
|
|
2480
|
+
var oe, ce, De;
|
|
2481
|
+
return (De = Array.from((ce = (oe = f.value) == null ? void 0 : oe.querySelectorAll("body > *")) != null ? ce : []).find((Ee) => Ee.id === "headlessui-portal-root" ? !1 : Ee.contains(U(v)) && Ee instanceof HTMLElement)) != null ? De : null;
|
|
2483
2482
|
});
|
|
2484
2483
|
pc(j, T);
|
|
2485
|
-
let q = L(() => C.value ? !0 : w.value),
|
|
2486
|
-
var
|
|
2487
|
-
return (De = Array.from((ce = (
|
|
2484
|
+
let q = L(() => C.value ? !0 : w.value), re = L(() => {
|
|
2485
|
+
var oe, ce, De;
|
|
2486
|
+
return (De = Array.from((ce = (oe = f.value) == null ? void 0 : oe.querySelectorAll("[data-headlessui-portal]")) != null ? ce : []).find((Ee) => Ee.contains(U(v)) && Ee instanceof HTMLElement)) != null ? De : null;
|
|
2488
2487
|
});
|
|
2489
|
-
pc(
|
|
2490
|
-
if (ce === "Dialog") return _e(
|
|
2488
|
+
pc(re, q), Df({ type: "Dialog", enabled: L(() => b.value === 0), element: g, onUpdate: (oe, ce) => {
|
|
2489
|
+
if (ce === "Dialog") return _e(oe, { [sl.Add]: () => p.value += 1, [sl.Remove]: () => p.value -= 1 });
|
|
2491
2490
|
} });
|
|
2492
|
-
let Q = If({ name: "DialogDescription", slot: L(() => ({ open: m.value })) }), Z = S(null), le = { titleId: Z, panelRef: S(null), dialogState: b, setTitleId(
|
|
2493
|
-
Z.value !==
|
|
2491
|
+
let Q = If({ name: "DialogDescription", slot: L(() => ({ open: m.value })) }), Z = S(null), le = { titleId: Z, panelRef: S(null), dialogState: b, setTitleId(oe) {
|
|
2492
|
+
Z.value !== oe && (Z.value = oe);
|
|
2494
2493
|
}, close() {
|
|
2495
2494
|
e("close", !1);
|
|
2496
2495
|
} };
|
|
2497
2496
|
Ve(dl, le);
|
|
2498
2497
|
let he = L(() => !(!w.value || C.value));
|
|
2499
|
-
ed(x, (
|
|
2500
|
-
|
|
2498
|
+
ed(x, (oe, ce) => {
|
|
2499
|
+
oe.preventDefault(), le.close(), Me(() => ce == null ? void 0 : ce.focus());
|
|
2501
2500
|
}, he);
|
|
2502
2501
|
let se = L(() => !(C.value || b.value !== 0));
|
|
2503
|
-
Du((s = f.value) == null ? void 0 : s.defaultView, "keydown", (
|
|
2504
|
-
se.value && (
|
|
2502
|
+
Du((s = f.value) == null ? void 0 : s.defaultView, "keydown", (oe) => {
|
|
2503
|
+
se.value && (oe.defaultPrevented || oe.key === ie.Escape && (oe.preventDefault(), oe.stopPropagation(), le.close()));
|
|
2505
2504
|
});
|
|
2506
2505
|
let ae = L(() => !(B.value || b.value !== 0 || E));
|
|
2507
|
-
return Pf(f, ae, (
|
|
2506
|
+
return Pf(f, ae, (oe) => {
|
|
2508
2507
|
var ce;
|
|
2509
|
-
return { containers: [...(ce =
|
|
2510
|
-
}), nt((
|
|
2508
|
+
return { containers: [...(ce = oe.containers) != null ? ce : [], x] };
|
|
2509
|
+
}), nt((oe) => {
|
|
2511
2510
|
if (b.value !== 0) return;
|
|
2512
2511
|
let ce = U(g);
|
|
2513
2512
|
if (!ce) return;
|
|
@@ -2517,9 +2516,9 @@ let Oi = "DC8F892D-2EBD-447C-A4C8-A03058436FF4", ri = ue({ name: "Dialog", inher
|
|
|
2517
2516
|
mt.x === 0 && mt.y === 0 && mt.width === 0 && mt.height === 0 && le.close();
|
|
2518
2517
|
}
|
|
2519
2518
|
});
|
|
2520
|
-
De.observe(ce),
|
|
2519
|
+
De.observe(ce), oe(() => De.disconnect());
|
|
2521
2520
|
}), () => {
|
|
2522
|
-
let { open:
|
|
2521
|
+
let { open: oe, initialFocus: ce, ...De } = r, Ee = { ...t, ref: g, id: a, role: c.value, "aria-modal": b.value === 0 ? !0 : void 0, "aria-labelledby": Z.value, "aria-describedby": Q.value }, st = { open: b.value === 0 };
|
|
2523
2522
|
return Ce(il, { force: !0 }, () => [Ce(zu, () => Ce(Ff, { target: g.value }, () => Ce(il, { force: !1 }, () => Ce(ln, { initialFocus: ce, containers: x, features: w.value ? _e(_.value, { parent: ln.features.RestoreFocus, leaf: ln.features.All & ~ln.features.FocusLock }) : ln.features.None }, () => Ce(P, {}, () => Pe({ ourProps: Ee, theirProps: { ...De, ...t }, slot: st, attrs: t, slots: o, visible: b.value === 0, features: _r.RenderStrategy | _r.Static, name: "Dialog" })))))), Ce(F)]);
|
|
2524
2523
|
};
|
|
2525
2524
|
} }), od = ue({ name: "DialogOverlay", props: { as: { type: [Object, String], default: "div" }, id: { type: String, default: null } }, setup(r, { attrs: e, slots: t }) {
|
|
@@ -3136,19 +3135,19 @@ let Ku = _r.RenderStrategy, mr = ue({ props: { as: { type: [Object, String], def
|
|
|
3136
3135
|
});
|
|
3137
3136
|
});
|
|
3138
3137
|
function j(q) {
|
|
3139
|
-
let
|
|
3140
|
-
!Q || !(Q instanceof HTMLElement) ||
|
|
3138
|
+
let re = w.value && !m.value, Q = U(c);
|
|
3139
|
+
!Q || !(Q instanceof HTMLElement) || re || (E.value = !0, u.value && s(), u.value || l(), q(u.value ? gc(Q, P, x, v, F, (Z) => {
|
|
3141
3140
|
E.value = !1, Z === cl.Finished && a();
|
|
3142
3141
|
}) : gc(Q, _, B, T, F, (Z) => {
|
|
3143
3142
|
E.value = !1, Z === cl.Finished && (ra(y) || (b.value = "hidden", f(C), d()));
|
|
3144
3143
|
})));
|
|
3145
3144
|
}
|
|
3146
3145
|
return ke(() => {
|
|
3147
|
-
pe([u], (q,
|
|
3146
|
+
pe([u], (q, re, Q) => {
|
|
3148
3147
|
j(Q), w.value = !1;
|
|
3149
3148
|
}, { immediate: !0 });
|
|
3150
3149
|
}), Ve(sd, y), rd(L(() => _e(b.value, { visible: Be.Open, hidden: Be.Closed }) | i.value)), () => {
|
|
3151
|
-
let { appear: q, show:
|
|
3150
|
+
let { appear: q, show: re, enter: Q, enterFrom: Z, enterTo: le, entered: he, leave: se, leaveFrom: ae, leaveTo: oe, ...ce } = r, De = { ref: c }, Ee = { ...ce, ...m.value && u.value && Zn.isServer ? { class: Y([t.class, ce.class, ...P, ...x]) } : {} };
|
|
3152
3151
|
return Pe({ theirProps: Ee, ourProps: De, slot: {}, slots: o, attrs: t, features: Ku, visible: b.value === "visible", name: "TransitionChild" });
|
|
3153
3152
|
};
|
|
3154
3153
|
} }), i1 = mr, Qo = ue({ inheritAttrs: !1, props: { as: { type: [Object, String], default: "div" }, show: { type: [Boolean], default: null }, unmount: { type: [Boolean], default: !0 }, appear: { type: [Boolean], default: !1 }, enter: { type: [String], default: "" }, enterFrom: { type: [String], default: "" }, enterTo: { type: [String], default: "" }, entered: { type: [String], default: "" }, leave: { type: [String], default: "" }, leaveFrom: { type: [String], default: "" }, leaveTo: { type: [String], default: "" } }, emits: { beforeEnter: () => !0, afterEnter: () => !0, beforeLeave: () => !0, afterLeave: () => !0 }, setup(r, { emit: e, attrs: t, slots: o }) {
|
|
@@ -3952,9 +3951,9 @@ function ml(r, e, t = {}, o, n, i) {
|
|
|
3952
3951
|
return B[Ea] = T, B;
|
|
3953
3952
|
const j = function() {
|
|
3954
3953
|
In(o);
|
|
3955
|
-
const q = Array.from(arguments),
|
|
3954
|
+
const q = Array.from(arguments), re = [], Q = [];
|
|
3956
3955
|
function Z(se) {
|
|
3957
|
-
|
|
3956
|
+
re.push(se);
|
|
3958
3957
|
}
|
|
3959
3958
|
function le(se) {
|
|
3960
3959
|
Q.push(se);
|
|
@@ -3972,7 +3971,7 @@ function ml(r, e, t = {}, o, n, i) {
|
|
|
3972
3971
|
} catch (se) {
|
|
3973
3972
|
throw Mo(Q, se), se;
|
|
3974
3973
|
}
|
|
3975
|
-
return he instanceof Promise ? he.then((se) => (Mo(
|
|
3974
|
+
return he instanceof Promise ? he.then((se) => (Mo(re, se), se)).catch((se) => (Mo(Q, se), Promise.reject(se))) : (Mo(re, he), he);
|
|
3976
3975
|
};
|
|
3977
3976
|
return j[wc] = !0, j[Ea] = T, j;
|
|
3978
3977
|
}, P = /* @__PURE__ */ Mr({
|
|
@@ -3988,12 +3987,12 @@ function ml(r, e, t = {}, o, n, i) {
|
|
|
3988
3987
|
$patch: w,
|
|
3989
3988
|
$reset: C,
|
|
3990
3989
|
$subscribe(B, T = {}) {
|
|
3991
|
-
const j = yc(p, B, T.detached, () => q()), q = s.run(() => pe(() => o.state.value[r], (
|
|
3990
|
+
const j = yc(p, B, T.detached, () => q()), q = s.run(() => pe(() => o.state.value[r], (re) => {
|
|
3992
3991
|
(T.flush === "sync" ? c : d) && B({
|
|
3993
3992
|
storeId: r,
|
|
3994
3993
|
type: Jt.direct,
|
|
3995
3994
|
events: m
|
|
3996
|
-
},
|
|
3995
|
+
}, re);
|
|
3997
3996
|
}, Et({}, l, T)));
|
|
3998
3997
|
return j;
|
|
3999
3998
|
},
|
|
@@ -17850,8 +17849,8 @@ function Kn(r, e) {
|
|
|
17850
17849
|
if (u === pn && T) {
|
|
17851
17850
|
var j = T[n];
|
|
17852
17851
|
Object.keys(B).forEach(function(q) {
|
|
17853
|
-
var
|
|
17854
|
-
B[q] += j[Q] *
|
|
17852
|
+
var re = [Nt, Dt].indexOf(q) >= 0 ? 1 : -1, Q = [ft, Dt].indexOf(q) >= 0 ? "y" : "x";
|
|
17853
|
+
B[q] += j[Q] * re;
|
|
17855
17854
|
});
|
|
17856
17855
|
}
|
|
17857
17856
|
return B;
|
|
@@ -17895,13 +17894,13 @@ function lx(r) {
|
|
|
17895
17894
|
allowedAutoPlacements: f
|
|
17896
17895
|
}) : st);
|
|
17897
17896
|
}, []), P = e.rects.reference, x = e.rects.popper, v = /* @__PURE__ */ new Map(), F = !0, _ = y[0], B = 0; B < y.length; B++) {
|
|
17898
|
-
var T = y[B], j = Yt(T), q = Go(T) === qo,
|
|
17897
|
+
var T = y[B], j = Yt(T), q = Go(T) === qo, re = [ft, Dt].indexOf(j) >= 0, Q = re ? "width" : "height", Z = Kn(e, {
|
|
17899
17898
|
placement: T,
|
|
17900
17899
|
boundary: c,
|
|
17901
17900
|
rootBoundary: p,
|
|
17902
17901
|
altBoundary: u,
|
|
17903
17902
|
padding: d
|
|
17904
|
-
}), le =
|
|
17903
|
+
}), le = re ? q ? Nt : bt : q ? Dt : ft;
|
|
17905
17904
|
P[Q] > x[Q] && (le = Xi(le));
|
|
17906
17905
|
var he = Xi(le), se = [];
|
|
17907
17906
|
if (i && se.push(Z[j] <= 0), a && se.push(Z[le] <= 0, Z[he] <= 0), se.every(function(Ee) {
|
|
@@ -17913,7 +17912,7 @@ function lx(r) {
|
|
|
17913
17912
|
v.set(T, se);
|
|
17914
17913
|
}
|
|
17915
17914
|
if (F)
|
|
17916
|
-
for (var ae = g ? 3 : 1,
|
|
17915
|
+
for (var ae = g ? 3 : 1, oe = function(st) {
|
|
17917
17916
|
var mt = y.find(function(wo) {
|
|
17918
17917
|
var er = v.get(wo);
|
|
17919
17918
|
if (er)
|
|
@@ -17924,7 +17923,7 @@ function lx(r) {
|
|
|
17924
17923
|
if (mt)
|
|
17925
17924
|
return _ = mt, "break";
|
|
17926
17925
|
}, ce = ae; ce > 0; ce--) {
|
|
17927
|
-
var De =
|
|
17926
|
+
var De = oe(ce);
|
|
17928
17927
|
if (De === "break") break;
|
|
17929
17928
|
}
|
|
17930
17929
|
e.placement !== _ && (e.modifiersData[o]._skip = !0, e.placement = _, e.reset = !0);
|
|
@@ -18042,10 +18041,10 @@ function yx(r) {
|
|
|
18042
18041
|
};
|
|
18043
18042
|
if (x) {
|
|
18044
18043
|
if (i) {
|
|
18045
|
-
var q,
|
|
18044
|
+
var q, re = y === "y" ? ft : bt, Q = y === "y" ? Dt : Nt, Z = y === "y" ? "height" : "width", le = x[y], he = le + b[re], se = le - b[Q], ae = m ? -F[Z] / 2 : 0, oe = C === qo ? v[Z] : F[Z], ce = C === qo ? -F[Z] : -v[Z], De = e.elements.arrow, Ee = m && De ? _d(De) : {
|
|
18046
18045
|
width: 0,
|
|
18047
18046
|
height: 0
|
|
18048
|
-
}, st = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : eg(), mt = st[
|
|
18047
|
+
}, st = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : eg(), mt = st[re], wo = st[Q], er = Cn(0, v[Z], Ee[Z]), vo = E ? v[Z] / 2 - ae - er - mt - B.mainAxis : oe - er - mt - B.mainAxis, fr = E ? -v[Z] / 2 + ae + er + wo + B.mainAxis : ce + er + wo + B.mainAxis, xo = e.elements.arrow && ui(e.elements.arrow), mi = xo ? y === "y" ? xo.clientTop || 0 : xo.clientLeft || 0 : 0, tn = (q = T == null ? void 0 : T[y]) != null ? q : 0, hi = le + vo - tn - mi, gi = le + fr - tn, rn = Cn(m ? ws(he, hi) : he, le, m ? lo(se, gi) : se);
|
|
18049
18048
|
x[y] = rn, j[y] = rn - le;
|
|
18050
18049
|
}
|
|
18051
18050
|
if (a) {
|
|
@@ -18659,7 +18658,7 @@ function n5(r, e) {
|
|
|
18659
18658
|
return xo(), ae(), le(), he("onCreate", [y]), t.showOnCreate && nn(), x.addEventListener("mouseenter", function() {
|
|
18660
18659
|
y.props.interactive && y.state.isVisible && y.clearDelayTimeouts();
|
|
18661
18660
|
}), x.addEventListener("mouseleave", function() {
|
|
18662
|
-
y.props.interactive && y.props.trigger.indexOf("mouseenter") >= 0 &&
|
|
18661
|
+
y.props.interactive && y.props.trigger.indexOf("mouseenter") >= 0 && re().addEventListener("mousemove", g);
|
|
18663
18662
|
}), y;
|
|
18664
18663
|
function B() {
|
|
18665
18664
|
var A = y.props.touch;
|
|
@@ -18675,7 +18674,7 @@ function n5(r, e) {
|
|
|
18675
18674
|
function q() {
|
|
18676
18675
|
return f || r;
|
|
18677
18676
|
}
|
|
18678
|
-
function
|
|
18677
|
+
function re() {
|
|
18679
18678
|
var A = q().parentNode;
|
|
18680
18679
|
return A ? Hx(A) : document;
|
|
18681
18680
|
}
|
|
@@ -18719,8 +18718,8 @@ function n5(r, e) {
|
|
|
18719
18718
|
});
|
|
18720
18719
|
}
|
|
18721
18720
|
}
|
|
18722
|
-
function
|
|
18723
|
-
|
|
18721
|
+
function oe() {
|
|
18722
|
+
re().removeEventListener("mousemove", g), Fi = Fi.filter(function(A) {
|
|
18724
18723
|
return A !== g;
|
|
18725
18724
|
});
|
|
18726
18725
|
}
|
|
@@ -18748,11 +18747,11 @@ function n5(r, e) {
|
|
|
18748
18747
|
l = !1;
|
|
18749
18748
|
}
|
|
18750
18749
|
function st() {
|
|
18751
|
-
var A =
|
|
18750
|
+
var A = re();
|
|
18752
18751
|
A.addEventListener("mousedown", ce, !0), A.addEventListener("touchend", ce, Yr), A.addEventListener("touchstart", Ee, Yr), A.addEventListener("touchmove", De, Yr);
|
|
18753
18752
|
}
|
|
18754
18753
|
function mt() {
|
|
18755
|
-
var A =
|
|
18754
|
+
var A = re();
|
|
18756
18755
|
A.removeEventListener("mousedown", ce, !0), A.removeEventListener("touchend", ce, Yr), A.removeEventListener("touchstart", Ee, Yr), A.removeEventListener("touchmove", De, Yr);
|
|
18757
18756
|
}
|
|
18758
18757
|
function wo(A, W) {
|
|
@@ -18830,7 +18829,7 @@ function n5(r, e) {
|
|
|
18830
18829
|
props: t
|
|
18831
18830
|
} : null;
|
|
18832
18831
|
}).filter(Boolean);
|
|
18833
|
-
Vx(me, A) && (
|
|
18832
|
+
Vx(me, A) && (oe(), qr(A));
|
|
18834
18833
|
}
|
|
18835
18834
|
}
|
|
18836
18835
|
function gi(A) {
|
|
@@ -18958,7 +18957,7 @@ function n5(r, e) {
|
|
|
18958
18957
|
var W = y.props, G = qp(r, Object.assign({}, W, zp(A), {
|
|
18959
18958
|
ignoreAttributes: !0
|
|
18960
18959
|
}));
|
|
18961
|
-
y.props = G, xo(), W.interactiveDebounce !== G.interactiveDebounce && (
|
|
18960
|
+
y.props = G, xo(), W.interactiveDebounce !== G.interactiveDebounce && (oe(), g = _p(hi, G.interactiveDebounce)), W.triggerTarget && !G.triggerTarget ? Lo(W.triggerTarget).forEach(function(me) {
|
|
18962
18961
|
me.removeAttribute("aria-expanded");
|
|
18963
18962
|
}) : G.triggerTarget && r.removeAttribute("aria-expanded"), ae(), le(), v && v(W, G), y.popperInstance && (fi(), br().forEach(function(me) {
|
|
18964
18963
|
requestAnimationFrame(me._tippy.popperInstance.forceUpdate);
|
|
@@ -18996,7 +18995,7 @@ function n5(r, e) {
|
|
|
18996
18995
|
process.env.NODE_ENV !== "production" && lr(y.state.isDestroyed, Oo("hide"));
|
|
18997
18996
|
var A = !y.state.isVisible, W = y.state.isDestroyed, G = !y.state.isEnabled, me = qa(y.props.duration, 1, vt.duration);
|
|
18998
18997
|
if (!(A || W || G) && (he("onHide", [y], !1), y.props.onHide(y) !== !1)) {
|
|
18999
|
-
if (y.state.isVisible = !1, y.state.isShown = !1, d = !1, s = !1, j() && (x.style.visibility = "hidden"),
|
|
18998
|
+
if (y.state.isVisible = !1, y.state.isShown = !1, d = !1, s = !1, j() && (x.style.visibility = "hidden"), oe(), mt(), le(!0), j()) {
|
|
19000
18999
|
var de = Q(), at = de.box, Ct = de.content;
|
|
19001
19000
|
y.props.animation && (Ua([at, Ct], me), jp([at, Ct], "hidden"));
|
|
19002
19001
|
}
|
|
@@ -19004,7 +19003,7 @@ function n5(r, e) {
|
|
|
19004
19003
|
}
|
|
19005
19004
|
}
|
|
19006
19005
|
function Ng(A) {
|
|
19007
|
-
process.env.NODE_ENV !== "production" && lr(y.state.isDestroyed, Oo("hideWithInteractivity")),
|
|
19006
|
+
process.env.NODE_ENV !== "production" && lr(y.state.isDestroyed, Oo("hideWithInteractivity")), re().addEventListener("mousemove", g), Fp(Fi, g), g(A);
|
|
19008
19007
|
}
|
|
19009
19008
|
function Ig() {
|
|
19010
19009
|
process.env.NODE_ENV !== "production" && lr(y.state.isDestroyed, Oo("unmount")), y.state.isVisible && y.hide(), y.state.isMounted && (bi(), br().forEach(function(A) {
|
|
@@ -21511,12 +21510,12 @@ function x3({
|
|
|
21511
21510
|
// <>
|
|
21512
21511
|
];
|
|
21513
21512
|
for (let j = 0; j < T.length; j++) {
|
|
21514
|
-
const [q,
|
|
21515
|
-
I(x, q, Q), I(Q,
|
|
21513
|
+
const [q, re] = T[j], Q = I(P, q);
|
|
21514
|
+
I(x, q, Q), I(Q, re, P);
|
|
21516
21515
|
const Z = Mt(Vi);
|
|
21517
21516
|
ee(Q, e, Z);
|
|
21518
21517
|
const le = Mt();
|
|
21519
|
-
ee(Q, t), ee(Z, e, Z), ee(Z, t, le), ee(le, e, Z), ee(le, t, le), I(Z,
|
|
21518
|
+
ee(Q, t), ee(Z, e, Z), ee(Z, t, le), ee(le, e, Z), ee(le, t, le), I(Z, re, P), I(le, re, P);
|
|
21520
21519
|
}
|
|
21521
21520
|
return I(n, Yn, C), I(n, Ud, v3), {
|
|
21522
21521
|
start: n,
|
|
@@ -22433,13 +22432,13 @@ const Q3 = /* @__PURE__ */ Zd(J3, [["render", Y3]]), X3 = { class: "flex items-e
|
|
|
22433
22432
|
}, T.value = function() {
|
|
22434
22433
|
E.value = !0, o.updateBasePrimaryImage({ type: "unsplash" }), y.value = !1, E.value = !1;
|
|
22435
22434
|
};
|
|
22436
|
-
},
|
|
22437
|
-
|
|
22435
|
+
}, re = S(null), Q = S(""), Z = S(!1), le = function() {
|
|
22436
|
+
re.value = null;
|
|
22438
22437
|
const se = /^https?:\/\//, ae = S(!0);
|
|
22439
|
-
return ae.value = se.test(Q.value), ae.value === !1 ? (
|
|
22438
|
+
return ae.value = se.test(Q.value), ae.value === !1 ? (re.value = "The provided URL is invalid. Please ensure that it begins with 'https://' for proper formatting and security.", !0) : !1;
|
|
22440
22439
|
}, he = function() {
|
|
22441
22440
|
var ae;
|
|
22442
|
-
|
|
22441
|
+
re.value = null;
|
|
22443
22442
|
const se = n.value && ((ae = n.value.firstElementChild) == null ? void 0 : ae.tagName) === "IFRAME" && n.value.firstElementChild.hasAttribute("src") && n.value.firstElementChild.getAttribute("src").trim() !== "" ? n.value.firstElementChild.src : "";
|
|
22444
22443
|
Q.value = se, Z.value = !0, a.value = "success", l.value = 2, d.value = "Add video url", c.value = null, p.value = "Close", u.value = "Save", m.value = null, g.value = function() {
|
|
22445
22444
|
Z.value = !1;
|
|
@@ -22473,15 +22472,15 @@ const Q3 = /* @__PURE__ */ Zd(J3, [["render", Y3]]), X3 = { class: "flex items-e
|
|
|
22473
22472
|
class: "myPrimaryInputLabel"
|
|
22474
22473
|
}, "Video url:", -1)),
|
|
22475
22474
|
lt(h("input", {
|
|
22476
|
-
"onUpdate:modelValue": ae[0] || (ae[0] = (
|
|
22475
|
+
"onUpdate:modelValue": ae[0] || (ae[0] = (oe) => Q.value = oe),
|
|
22477
22476
|
type: "text",
|
|
22478
22477
|
class: "myPrimaryInput",
|
|
22479
22478
|
name: "video"
|
|
22480
22479
|
}, null, 512), [
|
|
22481
22480
|
[Ql, Q.value]
|
|
22482
22481
|
]),
|
|
22483
|
-
|
|
22484
|
-
h("p", M4, z(
|
|
22482
|
+
re.value ? (k(), M("div", C4, [
|
|
22483
|
+
h("p", M4, z(re.value), 1)
|
|
22485
22484
|
])) : D("", !0)
|
|
22486
22485
|
])
|
|
22487
22486
|
])
|
|
@@ -23572,16 +23571,19 @@ const F4 = { class: "p-4" }, z4 = { class: "mb-8" }, j4 = { class: "grid grid-co
|
|
|
23572
23571
|
}, E6 = { class: "overflow-hidden shadow ring-1 ring-black ring-opacity-5 md:rounded-lg" }, T6 = { class: "overflow-x-auto" }, O6 = { class: "min-w-full divide-y divide-gray-300" }, P6 = { class: "bg-white divide-y divide-gray-200" }, B6 = { key: 0 }, A6 = { class: "px-6 py-4 whitespace-nowrap text-sm text-gray-500" }, L6 = { key: 1 }, D6 = { class: "px-6 py-4 whitespace-nowrap text-sm text-gray-500" }, N6 = {
|
|
23573
23572
|
key: 1,
|
|
23574
23573
|
class: "mt-8"
|
|
23575
|
-
}, I6 = { class: "overflow-hidden shadow ring-1 ring-black ring-opacity-5 md:rounded-lg" }, R6 = { class: "overflow-x-auto" }, $6 = { class: "min-w-full divide-y divide-gray-300" }, _6 = { class: "bg-white divide-y divide-gray-200" }, F6 = { class: "px-6 py-4 whitespace-nowrap text-sm text-gray-500" }, z6 = {
|
|
23574
|
+
}, I6 = { class: "overflow-hidden shadow ring-1 ring-black ring-opacity-5 md:rounded-lg" }, R6 = { class: "overflow-x-auto" }, $6 = { class: "min-w-full divide-y divide-gray-300" }, _6 = { class: "bg-white divide-y divide-gray-200" }, F6 = { class: "px-6 py-4 whitespace-nowrap text-sm text-gray-500" }, z6 = {
|
|
23576
23575
|
key: 2,
|
|
23577
23576
|
class: "mt-8"
|
|
23578
|
-
},
|
|
23577
|
+
}, j6 = { class: "overflow-hidden shadow ring-1 ring-black ring-opacity-5 md:rounded-lg" }, H6 = { class: "overflow-x-auto" }, V6 = { class: "min-w-full divide-y divide-gray-300" }, W6 = { class: "bg-white divide-y divide-gray-200" }, q6 = { key: 0 }, U6 = { class: "px-6 py-4 whitespace-nowrap text-sm text-gray-500" }, K6 = { key: 1 }, G6 = { class: "px-6 py-4 whitespace-nowrap text-sm text-gray-500" }, J6 = { key: 2 }, Y6 = { class: "px-6 py-4 whitespace-nowrap text-sm text-gray-500" }, Q6 = { key: 3 }, X6 = { class: "px-6 py-4 whitespace-nowrap text-sm text-gray-500" }, Z6 = {
|
|
23579
23578
|
key: 3,
|
|
23580
23579
|
class: "mt-8"
|
|
23580
|
+
}, eS = { class: "overflow-hidden shadow ring-1 ring-black ring-opacity-5 md:rounded-lg" }, tS = { class: "overflow-x-auto" }, rS = { class: "min-w-full divide-y divide-gray-300" }, oS = { class: "bg-white divide-y divide-gray-200" }, nS = { class: "px-6 py-4 whitespace-nowrap text-sm text-gray-500" }, iS = { key: 0 }, sS = { key: 1 }, aS = { key: 0 }, lS = { class: "px-6 py-4 whitespace-nowrap text-sm text-gray-500" }, dS = { class: "inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium" }, cS = {
|
|
23581
|
+
key: 4,
|
|
23582
|
+
class: "mt-8"
|
|
23581
23583
|
}, pS = { class: "overflow-hidden shadow ring-1 ring-black ring-opacity-5 md:rounded-lg" }, uS = { class: "overflow-x-auto" }, mS = { class: "min-w-full divide-y divide-gray-300" }, hS = { class: "bg-white divide-y divide-gray-200" }, gS = { class: "px-6 py-4 whitespace-nowrap text-sm text-gray-500" }, fS = { class: "flex items-center space-x-3" }, bS = { class: "border-r border-gray-200 pr-6" }, yS = ["src"], wS = { class: "px-6 py-4 whitespace-nowrap text-sm text-gray-500" }, vS = { class: "flex items-center space-x-3" }, xS = { class: "border-r border-gray-200 pr-6" }, kS = { class: "flex items-center space-x-3" }, SS = { class: "whitespace-nowrap" }, CS = {
|
|
23582
23584
|
__name: "PageBuilderSettings",
|
|
23583
23585
|
setup(r) {
|
|
23584
|
-
const e = "v3.1.
|
|
23586
|
+
const e = "v3.1.31", t = Le, o = S(!1), n = S(""), i = S(null), s = L(() => t.getConfigPageBuilder), a = function() {
|
|
23585
23587
|
n.value = "Advanced Settings", o.value = !0;
|
|
23586
23588
|
}, l = function() {
|
|
23587
23589
|
o.value = !1;
|
|
@@ -23595,7 +23597,7 @@ const F4 = { class: "p-4" }, z4 = { class: "mb-8" }, j4 = { class: "grid grid-co
|
|
|
23595
23597
|
i.value = d.value.map((u) => u.html_code), c("downloaded_html.html", i.value.join(""));
|
|
23596
23598
|
};
|
|
23597
23599
|
return (u, m) => {
|
|
23598
|
-
var g, f, b, w, C, E, y, P, x, v, F, _, B, T, j, q;
|
|
23600
|
+
var g, f, b, w, C, E, y, P, x, v, F, _, B, T, j, q, re;
|
|
23599
23601
|
return k(), M("div", null, [
|
|
23600
23602
|
R(Tk, {
|
|
23601
23603
|
open: o.value,
|
|
@@ -23711,7 +23713,7 @@ const F4 = { class: "p-4" }, z4 = { class: "mb-8" }, j4 = { class: "grid grid-co
|
|
|
23711
23713
|
])
|
|
23712
23714
|
])
|
|
23713
23715
|
])) : D("", !0),
|
|
23714
|
-
|
|
23716
|
+
(y = s.value) != null && y.userSettings ? (k(), M("div", z6, [
|
|
23715
23717
|
m[17] || (m[17] = h("h4", { class: "myQuaternaryHeader text-sm mb-2" }, "User Settings", -1)),
|
|
23716
23718
|
h("div", j6, [
|
|
23717
23719
|
h("div", H6, [
|
|
@@ -23729,15 +23731,15 @@ const F4 = { class: "p-4" }, z4 = { class: "mb-8" }, j4 = { class: "grid grid-co
|
|
|
23729
23731
|
])
|
|
23730
23732
|
], -1)),
|
|
23731
23733
|
h("tbody", W6, [
|
|
23732
|
-
(
|
|
23734
|
+
(x = (P = s.value) == null ? void 0 : P.userSettings) != null && x.theme ? (k(), M("tr", q6, [
|
|
23733
23735
|
m[12] || (m[12] = h("td", { class: "px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900" }, " Theme ", -1)),
|
|
23734
23736
|
h("td", U6, z(s.value.userSettings.theme), 1)
|
|
23735
23737
|
])) : D("", !0),
|
|
23736
|
-
(
|
|
23738
|
+
(F = (v = s.value) == null ? void 0 : v.userSettings) != null && F.language ? (k(), M("tr", K6, [
|
|
23737
23739
|
m[13] || (m[13] = h("td", { class: "px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900" }, " Language ", -1)),
|
|
23738
23740
|
h("td", G6, z(s.value.userSettings.language), 1)
|
|
23739
23741
|
])) : D("", !0),
|
|
23740
|
-
((
|
|
23742
|
+
((B = (_ = s.value) == null ? void 0 : _.userSettings) == null ? void 0 : B.autoSave) !== void 0 ? (k(), M("tr", J6, [
|
|
23741
23743
|
m[14] || (m[14] = h("td", { class: "px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900" }, " Auto Save ", -1)),
|
|
23742
23744
|
h("td", Y6, [
|
|
23743
23745
|
h("span", {
|
|
@@ -23748,7 +23750,7 @@ const F4 = { class: "p-4" }, z4 = { class: "mb-8" }, j4 = { class: "grid grid-co
|
|
|
23748
23750
|
}, z(s.value.userSettings.autoSave ? "Enabled" : "Disabled"), 3)
|
|
23749
23751
|
])
|
|
23750
23752
|
])) : D("", !0),
|
|
23751
|
-
((
|
|
23753
|
+
((j = (T = s.value) == null ? void 0 : T.userSettings) == null ? void 0 : j.notifications) !== void 0 ? (k(), M("tr", Q6, [
|
|
23752
23754
|
m[15] || (m[15] = h("td", { class: "px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900" }, " Notifications ", -1)),
|
|
23753
23755
|
h("td", X6, [
|
|
23754
23756
|
h("span", {
|
|
@@ -23763,8 +23765,8 @@ const F4 = { class: "p-4" }, z4 = { class: "mb-8" }, j4 = { class: "grid grid-co
|
|
|
23763
23765
|
])
|
|
23764
23766
|
])
|
|
23765
23767
|
])
|
|
23766
|
-
]),
|
|
23767
|
-
(
|
|
23768
|
+
])) : D("", !0),
|
|
23769
|
+
(q = s.value) != null && q.updateOrCreate ? (k(), M("div", Z6, [
|
|
23768
23770
|
m[21] || (m[21] = h("h4", { class: "myQuaternaryHeader text-sm mb-2" }, "Operation Mode", -1)),
|
|
23769
23771
|
h("div", eS, [
|
|
23770
23772
|
h("div", tS, [
|
|
@@ -23807,7 +23809,7 @@ const F4 = { class: "p-4" }, z4 = { class: "mb-8" }, j4 = { class: "grid grid-co
|
|
|
23807
23809
|
])
|
|
23808
23810
|
])
|
|
23809
23811
|
])) : D("", !0),
|
|
23810
|
-
(
|
|
23812
|
+
(re = s.value) != null && re.pageBuilderLogo ? (k(), M("div", cS, [
|
|
23811
23813
|
m[25] || (m[25] = h("h4", { class: "myQuaternaryHeader text-sm mb-2" }, "Logo Configuration", -1)),
|
|
23812
23814
|
h("div", pS, [
|
|
23813
23815
|
h("div", uS, [
|