@myissue/vue-website-page-builder 3.1.25 → 3.1.26
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.
|
@@ -2,12 +2,12 @@ var _g = Object.defineProperty;
|
|
|
2
2
|
var tc = (r) => {
|
|
3
3
|
throw TypeError(r);
|
|
4
4
|
};
|
|
5
|
-
var
|
|
6
|
-
var fe = (r, e, t) =>
|
|
5
|
+
var zg = (r, e, t) => e in r ? _g(r, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : r[e] = t;
|
|
6
|
+
var fe = (r, e, t) => zg(r, typeof e != "symbol" ? e + "" : e, t), rc = (r, e, t) => e.has(r) || tc("Cannot " + t);
|
|
7
7
|
var Ci = (r, e, t) => (rc(r, e, "read from private field"), t ? t.call(r) : e.get(r)), an = (r, e, t) => e.has(r) ? tc("Cannot add the same private member more than once") : e instanceof WeakSet ? e.add(r) : e.set(r, t);
|
|
8
8
|
var be = (r, e, t) => (rc(r, e, "access private method"), t);
|
|
9
9
|
import * as oc from "vue";
|
|
10
|
-
import { nextTick as Me, computed as L, ref as S, watchEffect as nt, onMounted as ke, cloneVNode as
|
|
10
|
+
import { nextTick as Me, computed as L, ref as S, watchEffect as nt, onMounted as ke, cloneVNode as Fg, h as Ce, Fragment as we, defineComponent as ue, inject as ze, provide as Ve, onUnmounted as kt, watch as pe, shallowRef as lu, unref as O, getCurrentInstance as Jl, Teleport as Yo, reactive as du, toRaw as tt, normalizeClass as Y, effectScope as cu, markRaw as Mr, hasInjectionContext as jg, isRef as Dn, isReactive as Yl, toRef as va, getCurrentScope as Hg, onScopeDispose as Vg, toRefs as nc, createBlock as Se, openBlock as k, createVNode as R, withCtx as $, withKeys as pu, withModifiers as Po, createElementVNode as h, renderSlot as Kt, createElementBlock as M, createCommentVNode as D, toDisplayString as F, Transition as Rt, onBeforeUnmount as Xs, customRef as Wg, onBeforeMount as qg, withDirectives as lt, vModelText as Ql, createTextVNode as Ie, resolveDynamicComponent as uu, renderList as Ae, vModelSelect as $t, vShow as Ug, createStaticVNode as Kg } from "vue";
|
|
11
11
|
const ts = {
|
|
12
12
|
backgroundColorVariables: [
|
|
13
13
|
"none",
|
|
@@ -1429,7 +1429,7 @@ class Ze {
|
|
|
1429
1429
|
this.pageBuilderStateStore.setLocalStorageItemName("page-builder-create-resource");
|
|
1430
1430
|
return;
|
|
1431
1431
|
}
|
|
1432
|
-
if (e === "update") {
|
|
1432
|
+
if (e === "update" && typeof o != "string" || typeof o == "string" && (o == null ? void 0 : o.length) < 1) {
|
|
1433
1433
|
if (t === null) {
|
|
1434
1434
|
this.pageBuilderStateStore.setLocalStorageItemName("page-builder-update-resource");
|
|
1435
1435
|
return;
|
|
@@ -1456,6 +1456,33 @@ class Ze {
|
|
|
1456
1456
|
return;
|
|
1457
1457
|
}
|
|
1458
1458
|
}
|
|
1459
|
+
if (e === "update" && typeof o == "string" && o.length > 0) {
|
|
1460
|
+
if (t === null) {
|
|
1461
|
+
this.pageBuilderStateStore.setLocalStorageItemName("page-builder-update-resource");
|
|
1462
|
+
return;
|
|
1463
|
+
}
|
|
1464
|
+
if (typeof t == "object" && "id" in t && !("title" in t)) {
|
|
1465
|
+
const d = this.sanitizeForLocalStorage(String(t.id));
|
|
1466
|
+
this.pageBuilderStateStore.setLocalStorageItemName(
|
|
1467
|
+
`page-builder-update-resource-${d}-${this.sanitizeForLocalStorage(o)}`
|
|
1468
|
+
);
|
|
1469
|
+
return;
|
|
1470
|
+
}
|
|
1471
|
+
if (typeof t == "object" && "title" in t && !("id" in t)) {
|
|
1472
|
+
const d = this.sanitizeForLocalStorage(String(t.title));
|
|
1473
|
+
this.pageBuilderStateStore.setLocalStorageItemName(
|
|
1474
|
+
`page-builder-update-resource-${d}-${this.sanitizeForLocalStorage(o)}`
|
|
1475
|
+
);
|
|
1476
|
+
return;
|
|
1477
|
+
}
|
|
1478
|
+
if (typeof t == "object" && "title" in t && "id" in t) {
|
|
1479
|
+
const d = this.sanitizeForLocalStorage(String(t.id)), c = this.sanitizeForLocalStorage(String(t.title));
|
|
1480
|
+
this.pageBuilderStateStore.setLocalStorageItemName(
|
|
1481
|
+
`page-builder-update-resource-${c}-${this.sanitizeForLocalStorage(o)}-${d}`
|
|
1482
|
+
);
|
|
1483
|
+
return;
|
|
1484
|
+
}
|
|
1485
|
+
}
|
|
1459
1486
|
}
|
|
1460
1487
|
async saveComponentsLocalStorage() {
|
|
1461
1488
|
await this.nextTick, this.synchronizeDOMAndComponents(), this.showRunningMethodLogs && console.log("saveComponentsLocalStorage"), await this.nextTick, this.getLocalStorageItemName.value && localStorage.setItem(
|
|
@@ -1721,7 +1748,7 @@ let of = class {
|
|
|
1721
1748
|
return typeof window > "u" || typeof document > "u" ? "server" : "client";
|
|
1722
1749
|
}
|
|
1723
1750
|
}, Zn = new of();
|
|
1724
|
-
function
|
|
1751
|
+
function Fr(r) {
|
|
1725
1752
|
if (Zn.isServer) return null;
|
|
1726
1753
|
if (r instanceof Node) return r.ownerDocument;
|
|
1727
1754
|
if (r != null && r.hasOwnProperty("value")) {
|
|
@@ -1738,7 +1765,7 @@ function vu(r = document.body) {
|
|
|
1738
1765
|
var Zs = ((r) => (r[r.Strict = 0] = "Strict", r[r.Loose = 1] = "Loose", r))(Zs || {});
|
|
1739
1766
|
function ea(r, e = 0) {
|
|
1740
1767
|
var t;
|
|
1741
|
-
return r === ((t =
|
|
1768
|
+
return r === ((t = Fr(r)) == null ? void 0 : t.body) ? !1 : _e(e, { 0() {
|
|
1742
1769
|
return r.matches(nl);
|
|
1743
1770
|
}, 1() {
|
|
1744
1771
|
let o = r;
|
|
@@ -1750,7 +1777,7 @@ function ea(r, e = 0) {
|
|
|
1750
1777
|
} });
|
|
1751
1778
|
}
|
|
1752
1779
|
function xu(r) {
|
|
1753
|
-
let e =
|
|
1780
|
+
let e = Fr(r);
|
|
1754
1781
|
Me(() => {
|
|
1755
1782
|
e && !ea(e.activeElement, 0) && Dr(r);
|
|
1756
1783
|
});
|
|
@@ -1882,7 +1909,7 @@ function uf({ container: r, accept: e, walk: t, enabled: o }) {
|
|
|
1882
1909
|
nt(() => {
|
|
1883
1910
|
let n = r.value;
|
|
1884
1911
|
if (!n || o !== void 0 && !o.value) return;
|
|
1885
|
-
let i =
|
|
1912
|
+
let i = Fr(r);
|
|
1886
1913
|
if (!i) return;
|
|
1887
1914
|
let s = Object.assign((l) => e(l), { acceptNode: e }), a = i.createTreeWalker(n, NodeFilter.SHOW_ELEMENT, s, !1);
|
|
1888
1915
|
for (; a.nextNode(); ) t(a.currentNode);
|
|
@@ -1918,7 +1945,7 @@ function ka({ props: r, attrs: e, slots: t, slot: o, name: n }) {
|
|
|
1918
1945
|
`), "", "You can apply a few solutions:", ['Add an `as="..."` prop, to ensure that we render an actual element instead of a "template".', "Render a single element as the child so that we can forward the props onto that element."].map((f) => ` - ${f}`).join(`
|
|
1919
1946
|
`)].join(`
|
|
1920
1947
|
`));
|
|
1921
|
-
let m = Tu((s = p.props) != null ? s : {}, l, c), g =
|
|
1948
|
+
let m = Tu((s = p.props) != null ? s : {}, l, c), g = Fg(p, m, !0);
|
|
1922
1949
|
for (let f in m) f.startsWith("on") && (g.props || (g.props = {}), g.props[f] = m[f]);
|
|
1923
1950
|
return g;
|
|
1924
1951
|
}
|
|
@@ -1970,7 +1997,7 @@ function gf() {
|
|
|
1970
1997
|
return ei() !== null;
|
|
1971
1998
|
}
|
|
1972
1999
|
function ei() {
|
|
1973
|
-
return
|
|
2000
|
+
return ze(Ou, null);
|
|
1974
2001
|
}
|
|
1975
2002
|
function rd(r) {
|
|
1976
2003
|
Ve(Ou, r);
|
|
@@ -2062,7 +2089,7 @@ var Iu = ((r) => (r[r.None = 1] = "None", r[r.InitialFocus = 2] = "InitialFocus"
|
|
|
2062
2089
|
let ln = Object.assign(ue({ name: "FocusTrap", props: { as: { type: [Object, String], default: "div" }, initialFocus: { type: Object, default: null }, features: { type: Number, default: 30 }, containers: { type: [Object, Function], default: S(/* @__PURE__ */ new Set()) } }, inheritAttrs: !1, setup(r, { attrs: e, slots: t, expose: o }) {
|
|
2063
2090
|
let n = S(null);
|
|
2064
2091
|
o({ el: n, $el: n });
|
|
2065
|
-
let i = L(() =>
|
|
2092
|
+
let i = L(() => Fr(n)), s = S(!1);
|
|
2066
2093
|
ke(() => s.value = !0), kt(() => s.value = !1), vf({ ownerDocument: i }, L(() => s.value && !!(r.features & 16)));
|
|
2067
2094
|
let a = xf({ ownerDocument: i, container: n, initialFocus: L(() => r.initialFocus) }, L(() => s.value && !!(r.features & 2)));
|
|
2068
2095
|
kf({ ownerDocument: i, container: n, containers: r.containers, previousActiveElement: a }, L(() => s.value && !!(r.features & 8)));
|
|
@@ -2295,7 +2322,7 @@ function pc(r, e = S(!0)) {
|
|
|
2295
2322
|
});
|
|
2296
2323
|
}
|
|
2297
2324
|
function Bf({ defaultContainers: r = [], portals: e, mainTreeNodeRef: t } = {}) {
|
|
2298
|
-
let o = S(null), n =
|
|
2325
|
+
let o = S(null), n = Fr(o);
|
|
2299
2326
|
function i() {
|
|
2300
2327
|
var s, a, l;
|
|
2301
2328
|
let d = [];
|
|
@@ -2312,7 +2339,7 @@ function Bf({ defaultContainers: r = [], portals: e, mainTreeNodeRef: t } = {})
|
|
|
2312
2339
|
}
|
|
2313
2340
|
let $u = Symbol("ForcePortalRootContext");
|
|
2314
2341
|
function Af() {
|
|
2315
|
-
return
|
|
2342
|
+
return ze($u, !1);
|
|
2316
2343
|
}
|
|
2317
2344
|
let il = ue({ name: "ForcePortalRoot", props: { as: { type: [Object, String], default: "template" }, force: { type: Boolean, default: !1 } }, setup(r, { slots: e, attrs: t }) {
|
|
2318
2345
|
return Ve($u, r.force), () => {
|
|
@@ -2322,7 +2349,7 @@ let il = ue({ name: "ForcePortalRoot", props: { as: { type: [Object, String], de
|
|
|
2322
2349
|
} }), _u = Symbol("StackContext");
|
|
2323
2350
|
var sl = ((r) => (r[r.Add = 0] = "Add", r[r.Remove = 1] = "Remove", r))(sl || {});
|
|
2324
2351
|
function Lf() {
|
|
2325
|
-
return
|
|
2352
|
+
return ze(_u, () => {
|
|
2326
2353
|
});
|
|
2327
2354
|
}
|
|
2328
2355
|
function Df({ type: r, enabled: e, element: t, onUpdate: o }) {
|
|
@@ -2338,9 +2365,9 @@ function Df({ type: r, enabled: e, element: t, onUpdate: o }) {
|
|
|
2338
2365
|
e.value && i(1, r, t);
|
|
2339
2366
|
}), Ve(_u, i);
|
|
2340
2367
|
}
|
|
2341
|
-
let
|
|
2368
|
+
let zu = Symbol("DescriptionContext");
|
|
2342
2369
|
function Nf() {
|
|
2343
|
-
let r =
|
|
2370
|
+
let r = ze(zu, null);
|
|
2344
2371
|
if (r === null) throw new Error("Missing parent");
|
|
2345
2372
|
return r;
|
|
2346
2373
|
}
|
|
@@ -2352,7 +2379,7 @@ function If({ slot: r = S({}), name: e = "Description", props: t = {} } = {}) {
|
|
|
2352
2379
|
s !== -1 && o.value.splice(s, 1);
|
|
2353
2380
|
};
|
|
2354
2381
|
}
|
|
2355
|
-
return Ve(
|
|
2382
|
+
return Ve(zu, { register: n, slot: r, name: e, props: t }), L(() => o.value.length > 0 ? o.value.join(" ") : void 0);
|
|
2356
2383
|
}
|
|
2357
2384
|
ue({ name: "Description", props: { as: { type: [Object, String], default: "p" }, id: { type: String, default: null } }, setup(r, { attrs: e, slots: t }) {
|
|
2358
2385
|
var o;
|
|
@@ -2363,7 +2390,7 @@ ue({ name: "Description", props: { as: { type: [Object, String], default: "p" },
|
|
|
2363
2390
|
};
|
|
2364
2391
|
} });
|
|
2365
2392
|
function Rf(r) {
|
|
2366
|
-
let e =
|
|
2393
|
+
let e = Fr(r);
|
|
2367
2394
|
if (!e) {
|
|
2368
2395
|
if (r === null) return null;
|
|
2369
2396
|
throw new Error(`[Headless UI]: Cannot find ownerDocument for contextElement: ${r}`);
|
|
@@ -2382,8 +2409,8 @@ function uc(r, e) {
|
|
|
2382
2409
|
let t = e($f(r));
|
|
2383
2410
|
return t <= 0 ? al.delete(r) : al.set(r, t), t;
|
|
2384
2411
|
}
|
|
2385
|
-
let
|
|
2386
|
-
let o = S(null), n = L(() =>
|
|
2412
|
+
let Fu = ue({ name: "Portal", props: { as: { type: [Object, String], default: "div" } }, setup(r, { slots: e, attrs: t }) {
|
|
2413
|
+
let o = S(null), n = L(() => Fr(o)), i = Af(), s = ze(ju, null), a = S(i === !0 || s == null ? Rf(o.value) : s.resolveTarget());
|
|
2387
2414
|
a.value && uc(a.value, (u) => u + 1);
|
|
2388
2415
|
let l = S(!1);
|
|
2389
2416
|
ke(() => {
|
|
@@ -2391,7 +2418,7 @@ let zu = ue({ name: "Portal", props: { as: { type: [Object, String], default: "d
|
|
|
2391
2418
|
}), nt(() => {
|
|
2392
2419
|
i || s != null && (a.value = s.resolveTarget());
|
|
2393
2420
|
});
|
|
2394
|
-
let d =
|
|
2421
|
+
let d = ze(ll, null), c = !1, p = Jl();
|
|
2395
2422
|
return pe(o, () => {
|
|
2396
2423
|
if (c || !d) return;
|
|
2397
2424
|
let u = U(o);
|
|
@@ -2407,7 +2434,7 @@ let zu = ue({ name: "Portal", props: { as: { type: [Object, String], default: "d
|
|
|
2407
2434
|
};
|
|
2408
2435
|
} }), ll = Symbol("PortalParentContext");
|
|
2409
2436
|
function _f() {
|
|
2410
|
-
let r =
|
|
2437
|
+
let r = ze(ll, null), e = S([]);
|
|
2411
2438
|
function t(i) {
|
|
2412
2439
|
return e.value.push(i), r && r.register(i), () => o(i);
|
|
2413
2440
|
}
|
|
@@ -2423,7 +2450,7 @@ function _f() {
|
|
|
2423
2450
|
};
|
|
2424
2451
|
} })];
|
|
2425
2452
|
}
|
|
2426
|
-
let ju = Symbol("PortalGroupContext"),
|
|
2453
|
+
let ju = Symbol("PortalGroupContext"), zf = ue({ name: "PortalGroup", props: { as: { type: [Object, String], default: "template" }, target: { type: Object, default: null } }, setup(r, { attrs: e, slots: t }) {
|
|
2427
2454
|
let o = du({ resolveTarget() {
|
|
2428
2455
|
return r.target;
|
|
2429
2456
|
} });
|
|
@@ -2432,10 +2459,10 @@ let ju = Symbol("PortalGroupContext"), Ff = ue({ name: "PortalGroup", props: { a
|
|
|
2432
2459
|
return Pe({ theirProps: i, ourProps: {}, slot: {}, attrs: e, slots: t, name: "PortalGroup" });
|
|
2433
2460
|
};
|
|
2434
2461
|
} });
|
|
2435
|
-
var
|
|
2462
|
+
var Ff = ((r) => (r[r.Open = 0] = "Open", r[r.Closed = 1] = "Closed", r))(Ff || {});
|
|
2436
2463
|
let dl = Symbol("DialogContext");
|
|
2437
2464
|
function ti(r) {
|
|
2438
|
-
let e =
|
|
2465
|
+
let e = ze(dl, null);
|
|
2439
2466
|
if (e === null) {
|
|
2440
2467
|
let t = new Error(`<${r} /> is missing a parent <Dialog /> component.`);
|
|
2441
2468
|
throw Error.captureStackTrace && Error.captureStackTrace(t, ti), t;
|
|
@@ -2448,10 +2475,10 @@ let Oi = "DC8F892D-2EBD-447C-A4C8-A03058436FF4", ri = ue({ name: "Dialog", inher
|
|
|
2448
2475
|
ke(() => {
|
|
2449
2476
|
l.value = !0;
|
|
2450
2477
|
});
|
|
2451
|
-
let d = !1, c = L(() => r.role === "dialog" || r.role === "alertdialog" ? r.role : (d || (d = !0, console.warn(`Invalid role [${c}] passed to <Dialog />. Only \`dialog\` and and \`alertdialog\` are supported. Using \`dialog\` instead.`)), "dialog")), p = S(0), u = ei(), m = L(() => r.open === Oi && u !== null ? (u.value & Be.Open) === Be.Open : r.open), g = S(null), f = L(() =>
|
|
2478
|
+
let d = !1, c = L(() => r.role === "dialog" || r.role === "alertdialog" ? r.role : (d || (d = !0, console.warn(`Invalid role [${c}] passed to <Dialog />. Only \`dialog\` and and \`alertdialog\` are supported. Using \`dialog\` instead.`)), "dialog")), p = S(0), u = ei(), m = L(() => r.open === Oi && u !== null ? (u.value & Be.Open) === Be.Open : r.open), g = S(null), f = L(() => Fr(g));
|
|
2452
2479
|
if (n({ el: g, $el: g }), !(r.open !== Oi || u !== null)) throw new Error("You forgot to provide an `open` prop to the `Dialog`.");
|
|
2453
2480
|
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}`);
|
|
2454
|
-
let b = L(() => l.value && m.value ? 0 : 1), w = L(() => b.value === 0), C = L(() => p.value > 1), E =
|
|
2481
|
+
let b = L(() => l.value && m.value ? 0 : 1), w = L(() => b.value === 0), C = L(() => p.value > 1), E = ze(dl, null) !== null, [y, P] = _f(), { resolveContainers: x, mainTreeNodeRef: v, MainTreeNode: z } = Bf({ portals: y, defaultContainers: [L(() => {
|
|
2455
2482
|
var re;
|
|
2456
2483
|
return (re = le.panelRef.value) != null ? re : g.value;
|
|
2457
2484
|
})] }), _ = 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(() => {
|
|
@@ -2497,7 +2524,7 @@ let Oi = "DC8F892D-2EBD-447C-A4C8-A03058436FF4", ri = ue({ name: "Dialog", inher
|
|
|
2497
2524
|
De.observe(ce), re(() => De.disconnect());
|
|
2498
2525
|
}), () => {
|
|
2499
2526
|
let { open: re, 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 };
|
|
2500
|
-
return Ce(il, { force: !0 }, () => [Ce(
|
|
2527
|
+
return Ce(il, { force: !0 }, () => [Ce(Fu, () => Ce(zf, { 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(z)]);
|
|
2501
2528
|
};
|
|
2502
2529
|
} }), od = ue({ name: "DialogOverlay", props: { as: { type: [Object, String], default: "div" }, id: { type: String, default: null } }, setup(r, { attrs: e, slots: t }) {
|
|
2503
2530
|
var o;
|
|
@@ -2517,7 +2544,7 @@ ue({ name: "DialogBackdrop", props: { as: { type: [Object, String], default: "di
|
|
|
2517
2544
|
if (s.panelRef.value === null) throw new Error("A <DialogBackdrop /> component is being used, but a <DialogPanel /> component is missing.");
|
|
2518
2545
|
}), () => {
|
|
2519
2546
|
let { ...l } = r, d = { id: i, ref: a, "aria-hidden": !0 };
|
|
2520
|
-
return Ce(il, { force: !0 }, () => Ce(
|
|
2547
|
+
return Ce(il, { force: !0 }, () => Ce(Fu, () => Pe({ ourProps: d, theirProps: { ...e, ...l }, slot: { open: s.dialogState.value === 0 }, attrs: e, slots: t, name: "DialogBackdrop" })));
|
|
2521
2548
|
};
|
|
2522
2549
|
} });
|
|
2523
2550
|
let Hu = ue({ name: "DialogPanel", props: { as: { type: [Object, String], default: "div" }, id: { type: String, default: null } }, setup(r, { attrs: e, slots: t, expose: o }) {
|
|
@@ -2587,7 +2614,7 @@ function Uf(r) {
|
|
|
2587
2614
|
}
|
|
2588
2615
|
let Wu = Symbol("ListboxContext");
|
|
2589
2616
|
function oi(r) {
|
|
2590
|
-
let e =
|
|
2617
|
+
let e = ze(Wu, null);
|
|
2591
2618
|
if (e === null) {
|
|
2592
2619
|
let t = new Error(`<${r} /> is missing a parent <Listbox /> component.`);
|
|
2593
2620
|
throw Error.captureStackTrace && Error.captureStackTrace(t, oi), t;
|
|
@@ -2612,7 +2639,7 @@ let ni = ue({ name: "Listbox", emits: { "update:modelValue": (r) => !0 }, props:
|
|
|
2612
2639
|
r.disabled || n.value !== 0 && (n.value = 0);
|
|
2613
2640
|
}, goToOption(E, y, P) {
|
|
2614
2641
|
if (r.disabled || n.value === 1) return;
|
|
2615
|
-
let x = u(), v = Pu(E === ye.Specific ? { focus: ye.Specific, id: y } : { focus: E }, { resolveItems: () => x.options, resolveActiveIndex: () => x.activeOptionIndex, resolveId: (
|
|
2642
|
+
let x = u(), v = Pu(E === ye.Specific ? { focus: ye.Specific, id: y } : { focus: E }, { resolveItems: () => x.options, resolveActiveIndex: () => x.activeOptionIndex, resolveId: (z) => z.id, resolveDisabled: (z) => z.dataRef.disabled });
|
|
2616
2643
|
d.value = "", c.value = v, p.value = P ?? 1, l.value = x.options;
|
|
2617
2644
|
}, search(E) {
|
|
2618
2645
|
if (r.disabled || n.value === 1) return;
|
|
@@ -2659,8 +2686,8 @@ let ni = ue({ name: "Listbox", emits: { "update:modelValue": (r) => !0 }, props:
|
|
|
2659
2686
|
};
|
|
2660
2687
|
}, { immediate: !0 });
|
|
2661
2688
|
}), () => {
|
|
2662
|
-
let { name: E, modelValue: y, disabled: P, form: x, ...v } = r,
|
|
2663
|
-
return Ce(we, [...E != null && b.value != null ? Bu({ [E]: b.value }).map(([_, B]) => Ce(ns, mf({ features: Nn.Hidden, key: _, as: "input", type: "hidden", hidden: !0, readOnly: !0, form: x, disabled: P, name: _, value: B }))) : [], Pe({ ourProps: {}, theirProps: { ...t, ...td(v, ["defaultValue", "onUpdate:modelValue", "horizontal", "multiple", "by"]) }, slot:
|
|
2689
|
+
let { name: E, modelValue: y, disabled: P, form: x, ...v } = r, z = { open: n.value === 0, disabled: P, value: b.value };
|
|
2690
|
+
return Ce(we, [...E != null && b.value != null ? Bu({ [E]: b.value }).map(([_, B]) => Ce(ns, mf({ features: Nn.Hidden, key: _, as: "input", type: "hidden", hidden: !0, readOnly: !0, form: x, disabled: P, name: _, value: B }))) : [], Pe({ ourProps: {}, theirProps: { ...t, ...td(v, ["defaultValue", "onUpdate:modelValue", "horizontal", "multiple", "by"]) }, slot: z, slots: e, attrs: t, name: "Listbox" })]);
|
|
2664
2691
|
};
|
|
2665
2692
|
} });
|
|
2666
2693
|
ue({ name: "ListboxLabel", props: { as: { type: [Object, String], default: "label" }, id: { type: String, default: null } }, setup(r, { attrs: e, slots: t }) {
|
|
@@ -2814,8 +2841,8 @@ let ii = ue({ name: "ListboxButton", props: { as: { type: [Object, String], defa
|
|
|
2814
2841
|
f.wasMoved(E) && (r.disabled || l.value && s.goToOption(ye.Nothing));
|
|
2815
2842
|
}
|
|
2816
2843
|
return () => {
|
|
2817
|
-
let { disabled: E } = r, y = { active: l.value, selected: d.value, disabled: E }, { value: P, disabled: x, ...v } = r,
|
|
2818
|
-
return Pe({ ourProps:
|
|
2844
|
+
let { disabled: E } = r, y = { active: l.value, selected: d.value, disabled: E }, { value: P, disabled: x, ...v } = r, z = { id: i, ref: a, role: "option", tabIndex: E === !0 ? void 0 : -1, "aria-disabled": E === !0 ? !0 : void 0, "aria-selected": d.value, disabled: void 0, onClick: m, onFocus: g, onPointerenter: b, onMouseenter: b, onPointermove: w, onMousemove: w, onPointerleave: C, onMouseleave: C };
|
|
2845
|
+
return Pe({ ourProps: z, theirProps: v, slot: y, attrs: t, slots: e, name: "ListboxOption" });
|
|
2819
2846
|
};
|
|
2820
2847
|
} });
|
|
2821
2848
|
var Kf = ((r) => (r[r.Open = 0] = "Open", r[r.Closed = 1] = "Closed", r))(Kf || {}), Gf = ((r) => (r[r.Pointer = 0] = "Pointer", r[r.Other = 1] = "Other", r))(Gf || {});
|
|
@@ -2824,7 +2851,7 @@ function Jf(r) {
|
|
|
2824
2851
|
}
|
|
2825
2852
|
let qu = Symbol("MenuContext");
|
|
2826
2853
|
function ta(r) {
|
|
2827
|
-
let e =
|
|
2854
|
+
let e = ze(qu, null);
|
|
2828
2855
|
if (e === null) {
|
|
2829
2856
|
let t = new Error(`<${r} /> is missing a parent <Menu /> component.`);
|
|
2830
2857
|
throw Error.captureStackTrace && Error.captureStackTrace(t, ta), t;
|
|
@@ -3038,15 +3065,15 @@ function Kr(r = "") {
|
|
|
3038
3065
|
let id = Symbol("TransitionContext");
|
|
3039
3066
|
var t1 = ((r) => (r.Visible = "visible", r.Hidden = "hidden", r))(t1 || {});
|
|
3040
3067
|
function r1() {
|
|
3041
|
-
return
|
|
3068
|
+
return ze(id, null) !== null;
|
|
3042
3069
|
}
|
|
3043
3070
|
function o1() {
|
|
3044
|
-
let r =
|
|
3071
|
+
let r = ze(id, null);
|
|
3045
3072
|
if (r === null) throw new Error("A <TransitionChild /> is used but it is missing a parent <TransitionRoot />.");
|
|
3046
3073
|
return r;
|
|
3047
3074
|
}
|
|
3048
3075
|
function n1() {
|
|
3049
|
-
let r =
|
|
3076
|
+
let r = ze(sd, null);
|
|
3050
3077
|
if (r === null) throw new Error("A <TransitionChild /> is used but it is missing a parent <TransitionRoot />.");
|
|
3051
3078
|
return r;
|
|
3052
3079
|
}
|
|
@@ -3103,7 +3130,7 @@ let Ku = _r.RenderStrategy, mr = ue({ props: { as: { type: [Object, String], def
|
|
|
3103
3130
|
_e(b.value, { hidden: () => f(C), visible: () => g(C) });
|
|
3104
3131
|
}
|
|
3105
3132
|
});
|
|
3106
|
-
let P = Kr(r.enter), x = Kr(r.enterFrom), v = Kr(r.enterTo),
|
|
3133
|
+
let P = Kr(r.enter), x = Kr(r.enterFrom), v = Kr(r.enterTo), z = Kr(r.entered), _ = Kr(r.leave), B = Kr(r.leaveFrom), T = Kr(r.leaveTo);
|
|
3107
3134
|
ke(() => {
|
|
3108
3135
|
nt(() => {
|
|
3109
3136
|
if (b.value === "visible") {
|
|
@@ -3114,9 +3141,9 @@ let Ku = _r.RenderStrategy, mr = ue({ props: { as: { type: [Object, String], def
|
|
|
3114
3141
|
});
|
|
3115
3142
|
function j(q) {
|
|
3116
3143
|
let oe = w.value && !m.value, Q = U(c);
|
|
3117
|
-
!Q || !(Q instanceof HTMLElement) || oe || (E.value = !0, u.value && s(), u.value || l(), q(u.value ? gc(Q, P, x, v,
|
|
3144
|
+
!Q || !(Q instanceof HTMLElement) || oe || (E.value = !0, u.value && s(), u.value || l(), q(u.value ? gc(Q, P, x, v, z, (Z) => {
|
|
3118
3145
|
E.value = !1, Z === cl.Finished && a();
|
|
3119
|
-
}) : gc(Q, _, B, T,
|
|
3146
|
+
}) : gc(Q, _, B, T, z, (Z) => {
|
|
3120
3147
|
E.value = !1, Z === cl.Finished && (ra(y) || (b.value = "hidden", f(C), d()));
|
|
3121
3148
|
})));
|
|
3122
3149
|
}
|
|
@@ -4078,7 +4105,7 @@ function N1(r, e, t) {
|
|
|
4078
4105
|
const d = jg();
|
|
4079
4106
|
if (a = // in test mode, ignore the argument provided as we can always retrieve a
|
|
4080
4107
|
// pinia instance with getActivePinia()
|
|
4081
|
-
(process.env.NODE_ENV === "test" && hn && hn._testing ? null : a) || (d ?
|
|
4108
|
+
(process.env.NODE_ENV === "test" && hn && hn._testing ? null : a) || (d ? ze(Yu, null) : null), a && In(a), process.env.NODE_ENV !== "production" && !hn)
|
|
4082
4109
|
throw new Error(`[🍍]: "getActivePinia()" was called but there was no active Pinia. Are you trying to use a store before calling "app.use(pinia)"?
|
|
4083
4110
|
See https://pinia.vuejs.org/core-concepts/outside-component-usage.html for help.
|
|
4084
4111
|
This will fail in production.`);
|
|
@@ -4465,10 +4492,10 @@ const I1 = /* @__PURE__ */ N1("pageBuilderState", {
|
|
|
4465
4492
|
this.isLoading = r;
|
|
4466
4493
|
}
|
|
4467
4494
|
}
|
|
4468
|
-
}), am = B1(), Le = I1(am), R1 = { class: "font-sans flex items-end justify-center pb-20 text-center sm:block sm:p-0 bg-white" }, $1 = { class: "bg-red-100 inline-block align-bottom text-left transform transition-all sm:align-middle w-full overflow-hidden h-[100vh] top-0 left-0 right-0 absolute" }, _1 = { class: "px-4 lg:h-[10vh] h-[16vh] flex items-center justify-between border-b border-gray-200 bg-white" },
|
|
4495
|
+
}), am = B1(), Le = I1(am), R1 = { class: "font-sans flex items-end justify-center pb-20 text-center sm:block sm:p-0 bg-white" }, $1 = { class: "bg-red-100 inline-block align-bottom text-left transform transition-all sm:align-middle w-full overflow-hidden h-[100vh] top-0 left-0 right-0 absolute" }, _1 = { class: "px-4 lg:h-[10vh] h-[16vh] flex items-center justify-between border-b border-gray-200 bg-white" }, z1 = {
|
|
4469
4496
|
key: 0,
|
|
4470
4497
|
class: "flex items-center divide-x divide-gray-200"
|
|
4471
|
-
},
|
|
4498
|
+
}, F1 = { class: "pr-4" }, j1 = ["src"], H1 = { key: 1 }, lm = {
|
|
4472
4499
|
__name: "PageBuilderPreviewModal",
|
|
4473
4500
|
props: {
|
|
4474
4501
|
show: {
|
|
@@ -4529,8 +4556,8 @@ const I1 = /* @__PURE__ */ N1("pageBuilderState", {
|
|
|
4529
4556
|
default: $(() => [
|
|
4530
4557
|
h("div", $1, [
|
|
4531
4558
|
h("div", _1, [
|
|
4532
|
-
s.value && s.value.pageBuilderLogo && s.value.pageBuilderLogo.src ? (k(), M("div",
|
|
4533
|
-
h("div",
|
|
4559
|
+
s.value && s.value.pageBuilderLogo && s.value.pageBuilderLogo.src ? (k(), M("div", z1, [
|
|
4560
|
+
h("div", F1, [
|
|
4534
4561
|
h("img", {
|
|
4535
4562
|
class: "h-6",
|
|
4536
4563
|
src: s.value.pageBuilderLogo.src,
|
|
@@ -4794,7 +4821,7 @@ const I1 = /* @__PURE__ */ N1("pageBuilderState", {
|
|
|
4794
4821
|
r.type === "danger" ? (k(), M("div", t0, a[3] || (a[3] = [
|
|
4795
4822
|
h("span", { class: "material-symbols-outlined" }, " warning ", -1)
|
|
4796
4823
|
]))) : D("", !0),
|
|
4797
|
-
h("h3", r0,
|
|
4824
|
+
h("h3", r0, F(r.title), 1)
|
|
4798
4825
|
])
|
|
4799
4826
|
]),
|
|
4800
4827
|
h("div", {
|
|
@@ -4831,7 +4858,7 @@ const I1 = /* @__PURE__ */ N1("pageBuilderState", {
|
|
|
4831
4858
|
class: "mySecondaryButton",
|
|
4832
4859
|
type: "button",
|
|
4833
4860
|
onClick: o
|
|
4834
|
-
},
|
|
4861
|
+
}, F(r.firstButtonText), 513)) : D("", !0),
|
|
4835
4862
|
r.secondButtonText ? (k(), M("div", i0, [
|
|
4836
4863
|
r.disabled && r.disabledWhichButton === "secondButtonBuilder" ? (k(), M("div", s0, [
|
|
4837
4864
|
h("button", {
|
|
@@ -4880,7 +4907,7 @@ const I1 = /* @__PURE__ */ N1("pageBuilderState", {
|
|
|
4880
4907
|
class: "myPrimaryButton bg-yellow-300 hover:bg-yellow-400 text-myPrimaryDarkGrayColor hover:text-myPrimaryDarkGrayColor focus:ring-yellow-400 w-full",
|
|
4881
4908
|
type: "button",
|
|
4882
4909
|
onClick: n
|
|
4883
|
-
},
|
|
4910
|
+
}, F(r.secondButtonText), 1)
|
|
4884
4911
|
])) : D("", !0)
|
|
4885
4912
|
])) : D("", !0),
|
|
4886
4913
|
r.thirdButtonText ? (k(), M("div", d0, [
|
|
@@ -4931,7 +4958,7 @@ const I1 = /* @__PURE__ */ N1("pageBuilderState", {
|
|
|
4931
4958
|
class: "myPrimaryButton bg-myPrimaryLinkColor focus-visible:ring-myPrimaryLinkColor focus:ring-myPrimaryLinkColor hover:bg-myPrimaryLinkColor w-full",
|
|
4932
4959
|
type: "button",
|
|
4933
4960
|
onClick: i
|
|
4934
|
-
},
|
|
4961
|
+
}, F(r.thirdButtonText), 1)
|
|
4935
4962
|
])) : D("", !0)
|
|
4936
4963
|
])) : D("", !0),
|
|
4937
4964
|
r.type === "success" ? (k(), M("div", h0, [
|
|
@@ -4981,7 +5008,7 @@ const I1 = /* @__PURE__ */ N1("pageBuilderState", {
|
|
|
4981
5008
|
class: "myPrimaryButton bg-myPrimaryLinkColor focus-visible:ring-myPrimaryLinkColor focus:ring-myPrimaryLinkColor hover:bg-myPrimaryLinkColor w-full",
|
|
4982
5009
|
type: "button",
|
|
4983
5010
|
onClick: i
|
|
4984
|
-
},
|
|
5011
|
+
}, F(r.thirdButtonText), 1)
|
|
4985
5012
|
])) : D("", !0)
|
|
4986
5013
|
])) : D("", !0),
|
|
4987
5014
|
r.type === "warning" ? (k(), M("div", y0, [
|
|
@@ -5031,7 +5058,7 @@ const I1 = /* @__PURE__ */ N1("pageBuilderState", {
|
|
|
5031
5058
|
class: "flex items-center gap-2 myPrimaryButton bg-myPrimaryErrorColor hover:bg-red-600 text-white focus:ring-myPrimaryErrorColor w-full",
|
|
5032
5059
|
type: "button",
|
|
5033
5060
|
onClick: i
|
|
5034
|
-
},
|
|
5061
|
+
}, F(r.thirdButtonText), 1)
|
|
5035
5062
|
])) : D("", !0)
|
|
5036
5063
|
])) : D("", !0),
|
|
5037
5064
|
r.type === "danger" || r.type === "delete" ? (k(), M("div", k0, [
|
|
@@ -5081,7 +5108,7 @@ const I1 = /* @__PURE__ */ N1("pageBuilderState", {
|
|
|
5081
5108
|
class: "flex items-center gap-2 myPrimaryButton bg-myPrimaryErrorColor hover:bg-red-600 text-white focus:ring-myPrimaryErrorColor w-full",
|
|
5082
5109
|
type: "button",
|
|
5083
5110
|
onClick: i
|
|
5084
|
-
},
|
|
5111
|
+
}, F(r.thirdButtonText), 1)
|
|
5085
5112
|
])) : D("", !0)
|
|
5086
5113
|
])) : D("", !0)
|
|
5087
5114
|
])) : D("", !0)
|
|
@@ -6574,7 +6601,7 @@ class uo {
|
|
|
6574
6601
|
return uo.empty;
|
|
6575
6602
|
let n = wm(o);
|
|
6576
6603
|
o.next && o.err("Unexpected trailing text");
|
|
6577
|
-
let i = j0(
|
|
6604
|
+
let i = j0(F0(n));
|
|
6578
6605
|
return H0(i, o), i;
|
|
6579
6606
|
}
|
|
6580
6607
|
/**
|
|
@@ -6750,7 +6777,7 @@ function I0(r) {
|
|
|
6750
6777
|
return e.length == 1 ? e[0] : { type: "seq", exprs: e };
|
|
6751
6778
|
}
|
|
6752
6779
|
function R0(r) {
|
|
6753
|
-
let e =
|
|
6780
|
+
let e = z0(r);
|
|
6754
6781
|
for (; ; )
|
|
6755
6782
|
if (r.eat("+"))
|
|
6756
6783
|
e = { type: "plus", expr: e };
|
|
@@ -6784,7 +6811,7 @@ function _0(r, e) {
|
|
|
6784
6811
|
}
|
|
6785
6812
|
return n.length == 0 && r.err("No node type or group '" + e + "' found"), n;
|
|
6786
6813
|
}
|
|
6787
|
-
function
|
|
6814
|
+
function z0(r) {
|
|
6788
6815
|
if (r.eat("(")) {
|
|
6789
6816
|
let e = wm(r);
|
|
6790
6817
|
return r.eat(")") || r.err("Missing closing paren"), e;
|
|
@@ -6795,7 +6822,7 @@ function F0(r) {
|
|
|
6795
6822
|
return r.pos++, e.length == 1 ? e[0] : { type: "choice", exprs: e };
|
|
6796
6823
|
}
|
|
6797
6824
|
}
|
|
6798
|
-
function
|
|
6825
|
+
function F0(r) {
|
|
6799
6826
|
let e = [[]];
|
|
6800
6827
|
return n(i(r, 0), t()), e;
|
|
6801
6828
|
function t() {
|
|
@@ -8116,7 +8143,7 @@ class wt {
|
|
|
8116
8143
|
}
|
|
8117
8144
|
}
|
|
8118
8145
|
wt.empty = new wt([]);
|
|
8119
|
-
class
|
|
8146
|
+
class zn {
|
|
8120
8147
|
/**
|
|
8121
8148
|
Create a new mapping with the given position maps.
|
|
8122
8149
|
*/
|
|
@@ -8133,7 +8160,7 @@ class Fn {
|
|
|
8133
8160
|
Create a mapping that maps only through a part of this one.
|
|
8134
8161
|
*/
|
|
8135
8162
|
slice(e = 0, t = this.maps.length) {
|
|
8136
|
-
return new
|
|
8163
|
+
return new zn(this._maps, this.mirror, e, t);
|
|
8137
8164
|
}
|
|
8138
8165
|
/**
|
|
8139
8166
|
Add a step map to the end of this mapping. If `mirrors` is
|
|
@@ -8184,7 +8211,7 @@ class Fn {
|
|
|
8184
8211
|
Create an inverted version of this mapping.
|
|
8185
8212
|
*/
|
|
8186
8213
|
invert() {
|
|
8187
|
-
let e = new
|
|
8214
|
+
let e = new zn();
|
|
8188
8215
|
return e.appendMappingInverted(this), e;
|
|
8189
8216
|
}
|
|
8190
8217
|
/**
|
|
@@ -8981,7 +9008,7 @@ class hb {
|
|
|
8981
9008
|
let f = a.child(d), b = p.matchType(f.type);
|
|
8982
9009
|
if (!b)
|
|
8983
9010
|
break;
|
|
8984
|
-
d++, (d > 1 || l == 0 || f.content.size) && (p = b, c.push(
|
|
9011
|
+
d++, (d > 1 || l == 0 || f.content.size) && (p = b, c.push(zm(f.mark(u.allowedMarks(f.marks)), d == 1 ? l : 0, d == a.childCount ? m : -1)));
|
|
8985
9012
|
}
|
|
8986
9013
|
let g = d == a.childCount;
|
|
8987
9014
|
g || (m = -1), this.placed = fn(this.placed, t, N.from(c)), this.frontier[t].match = p, g && m < 0 && o && o.type == this.frontier[this.depth].type && this.frontier.length > 1 && this.closeFrontierNode();
|
|
@@ -9048,11 +9075,11 @@ function Ba(r, e) {
|
|
|
9048
9075
|
r = r.firstChild.content;
|
|
9049
9076
|
return r;
|
|
9050
9077
|
}
|
|
9051
|
-
function
|
|
9078
|
+
function zm(r, e, t) {
|
|
9052
9079
|
if (e <= 0)
|
|
9053
9080
|
return r;
|
|
9054
9081
|
let o = r.content;
|
|
9055
|
-
return e > 1 && (o = o.replaceChild(0,
|
|
9082
|
+
return e > 1 && (o = o.replaceChild(0, zm(o.firstChild, e - 1, o.childCount == 1 ? t - 1 : 0))), e > 0 && (o = r.type.contentMatch.fillBefore(o).append(o), t <= 0 && (o = o.append(r.type.contentMatch.matchFragment(o).fillBefore(N.empty, !0)))), r.copy(o);
|
|
9056
9083
|
}
|
|
9057
9084
|
function Aa(r, e, t, o, n) {
|
|
9058
9085
|
let i = r.node(e), s = n ? r.indexAfter(e) : r.index(e);
|
|
@@ -9108,7 +9135,7 @@ function bb(r, e, t, o) {
|
|
|
9108
9135
|
b < 0 && (w = !1, b = -b);
|
|
9109
9136
|
let C = n.node(b - 1), E = n.index(b - 1);
|
|
9110
9137
|
if (C.canReplaceWith(E, E, g.type, g.marks))
|
|
9111
|
-
return r.replace(n.before(b), w ? i.after(b) : t, new H(
|
|
9138
|
+
return r.replace(n.before(b), w ? i.after(b) : t, new H(Fm(o.content, 0, o.openStart, m), m, o.openEnd));
|
|
9112
9139
|
}
|
|
9113
9140
|
}
|
|
9114
9141
|
let p = r.steps.length;
|
|
@@ -9117,10 +9144,10 @@ function bb(r, e, t, o) {
|
|
|
9117
9144
|
m < 0 || (e = n.before(m), t = i.after(m));
|
|
9118
9145
|
}
|
|
9119
9146
|
}
|
|
9120
|
-
function
|
|
9147
|
+
function Fm(r, e, t, o, n) {
|
|
9121
9148
|
if (e < t) {
|
|
9122
9149
|
let i = r.firstChild;
|
|
9123
|
-
r = r.replaceChild(0, i.copy(
|
|
9150
|
+
r = r.replaceChild(0, i.copy(Fm(i.content, e + 1, t, o, i)));
|
|
9124
9151
|
}
|
|
9125
9152
|
if (e > o) {
|
|
9126
9153
|
let i = n.contentMatchAt(0), s = i.fillBefore(r).append(r);
|
|
@@ -9197,7 +9224,7 @@ class _o extends it {
|
|
|
9197
9224
|
}
|
|
9198
9225
|
}
|
|
9199
9226
|
it.jsonID("attr", _o);
|
|
9200
|
-
class
|
|
9227
|
+
class Fn extends it {
|
|
9201
9228
|
/**
|
|
9202
9229
|
Construct an attribute step.
|
|
9203
9230
|
*/
|
|
@@ -9216,7 +9243,7 @@ class zn extends it {
|
|
|
9216
9243
|
return wt.empty;
|
|
9217
9244
|
}
|
|
9218
9245
|
invert(e) {
|
|
9219
|
-
return new
|
|
9246
|
+
return new Fn(this.attr, e.attrs[this.attr]);
|
|
9220
9247
|
}
|
|
9221
9248
|
map(e) {
|
|
9222
9249
|
return this;
|
|
@@ -9227,25 +9254,25 @@ class zn extends it {
|
|
|
9227
9254
|
static fromJSON(e, t) {
|
|
9228
9255
|
if (typeof t.attr != "string")
|
|
9229
9256
|
throw new RangeError("Invalid input for DocAttrStep.fromJSON");
|
|
9230
|
-
return new
|
|
9257
|
+
return new Fn(t.attr, t.value);
|
|
9231
9258
|
}
|
|
9232
9259
|
}
|
|
9233
|
-
it.jsonID("docAttr",
|
|
9234
|
-
let
|
|
9260
|
+
it.jsonID("docAttr", Fn);
|
|
9261
|
+
let Fo = class extends Error {
|
|
9235
9262
|
};
|
|
9236
|
-
|
|
9263
|
+
Fo = function r(e) {
|
|
9237
9264
|
let t = Error.call(this, e);
|
|
9238
9265
|
return t.__proto__ = r.prototype, t;
|
|
9239
9266
|
};
|
|
9240
|
-
|
|
9241
|
-
|
|
9242
|
-
|
|
9267
|
+
Fo.prototype = Object.create(Error.prototype);
|
|
9268
|
+
Fo.prototype.constructor = Fo;
|
|
9269
|
+
Fo.prototype.name = "TransformError";
|
|
9243
9270
|
class Hm {
|
|
9244
9271
|
/**
|
|
9245
9272
|
Create a transform that starts with the given document.
|
|
9246
9273
|
*/
|
|
9247
9274
|
constructor(e) {
|
|
9248
|
-
this.doc = e, this.steps = [], this.docs = [], this.mapping = new
|
|
9275
|
+
this.doc = e, this.steps = [], this.docs = [], this.mapping = new zn();
|
|
9249
9276
|
}
|
|
9250
9277
|
/**
|
|
9251
9278
|
The starting document.
|
|
@@ -9260,7 +9287,7 @@ class Hm {
|
|
|
9260
9287
|
step(e) {
|
|
9261
9288
|
let t = this.maybeStep(e);
|
|
9262
9289
|
if (t.failed)
|
|
9263
|
-
throw new
|
|
9290
|
+
throw new Fo(t.failed);
|
|
9264
9291
|
return this;
|
|
9265
9292
|
}
|
|
9266
9293
|
/**
|
|
@@ -9403,7 +9430,7 @@ class Hm {
|
|
|
9403
9430
|
Set a single attribute on the document to a new value.
|
|
9404
9431
|
*/
|
|
9405
9432
|
setDocAttribute(e, t) {
|
|
9406
|
-
return this.step(new
|
|
9433
|
+
return this.step(new Fn(e, t)), this;
|
|
9407
9434
|
}
|
|
9408
9435
|
/**
|
|
9409
9436
|
Add a mark to the node at position `pos`.
|
|
@@ -9860,7 +9887,7 @@ function $c(r, e, t) {
|
|
|
9860
9887
|
s == null && (s = c);
|
|
9861
9888
|
}), r.setSelection(X.near(r.doc.resolve(s), t));
|
|
9862
9889
|
}
|
|
9863
|
-
const _c = 1,
|
|
9890
|
+
const _c = 1, zc = 2, Fc = 4;
|
|
9864
9891
|
class kb extends Hm {
|
|
9865
9892
|
/**
|
|
9866
9893
|
@internal
|
|
@@ -9896,7 +9923,7 @@ class kb extends Hm {
|
|
|
9896
9923
|
Set the current stored marks.
|
|
9897
9924
|
*/
|
|
9898
9925
|
setStoredMarks(e) {
|
|
9899
|
-
return this.storedMarks = e, this.updated |=
|
|
9926
|
+
return this.storedMarks = e, this.updated |= zc, this;
|
|
9900
9927
|
}
|
|
9901
9928
|
/**
|
|
9902
9929
|
Make sure the current stored marks or, if that is null, the marks
|
|
@@ -9922,7 +9949,7 @@ class kb extends Hm {
|
|
|
9922
9949
|
Whether the stored marks were explicitly set for this transaction.
|
|
9923
9950
|
*/
|
|
9924
9951
|
get storedMarksSet() {
|
|
9925
|
-
return (this.updated &
|
|
9952
|
+
return (this.updated & zc) > 0;
|
|
9926
9953
|
}
|
|
9927
9954
|
/**
|
|
9928
9955
|
@internal
|
|
@@ -10003,13 +10030,13 @@ class kb extends Hm {
|
|
|
10003
10030
|
when updated to the state produced by this transaction.
|
|
10004
10031
|
*/
|
|
10005
10032
|
scrollIntoView() {
|
|
10006
|
-
return this.updated |=
|
|
10033
|
+
return this.updated |= Fc, this;
|
|
10007
10034
|
}
|
|
10008
10035
|
/**
|
|
10009
10036
|
True when this transaction has had `scrollIntoView` called on it.
|
|
10010
10037
|
*/
|
|
10011
10038
|
get scrolledIntoView() {
|
|
10012
|
-
return (this.updated &
|
|
10039
|
+
return (this.updated & Fc) > 0;
|
|
10013
10040
|
}
|
|
10014
10041
|
}
|
|
10015
10042
|
function jc(r, e) {
|
|
@@ -10235,7 +10262,7 @@ function Vm(r, e, t) {
|
|
|
10235
10262
|
}
|
|
10236
10263
|
return t;
|
|
10237
10264
|
}
|
|
10238
|
-
class
|
|
10265
|
+
class Fe {
|
|
10239
10266
|
/**
|
|
10240
10267
|
Create a plugin.
|
|
10241
10268
|
*/
|
|
@@ -10382,8 +10409,8 @@ function Bb(r, e, t) {
|
|
|
10382
10409
|
return { node: o.startContainer, offset: Math.min(Pt(o.startContainer), o.startOffset) };
|
|
10383
10410
|
}
|
|
10384
10411
|
}
|
|
10385
|
-
const Qt = typeof navigator < "u" ? navigator : null, Vc = typeof document < "u" ? document : null, Hr = Qt && Qt.userAgent || "", kl = /Edge\/(\d+)/.exec(Hr), qm = /MSIE \d/.exec(Hr), Sl = /Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(Hr), gt = !!(qm || Sl || kl), Ir = qm ? document.documentMode : Sl ? +Sl[1] : kl ? +kl[1] : 0,
|
|
10386
|
-
|
|
10412
|
+
const Qt = typeof navigator < "u" ? navigator : null, Vc = typeof document < "u" ? document : null, Hr = Qt && Qt.userAgent || "", kl = /Edge\/(\d+)/.exec(Hr), qm = /MSIE \d/.exec(Hr), Sl = /Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(Hr), gt = !!(qm || Sl || kl), Ir = qm ? document.documentMode : Sl ? +Sl[1] : kl ? +kl[1] : 0, zt = !gt && /gecko\/(\d+)/i.test(Hr);
|
|
10413
|
+
zt && +(/Firefox\/(\d+)/.exec(Hr) || [0, 0])[1];
|
|
10387
10414
|
const Cl = !gt && /Chrome\/(\d+)/.exec(Hr), ot = !!Cl, Um = Cl ? +Cl[1] : 0, dt = !gt && !!Qt && /Apple Computer/.test(Qt.vendor), Ho = dt && (/Mobile\/\w+/.test(Hr) || !!Qt && Qt.maxTouchPoints > 2), Ot = Ho || (Qt ? /Mac/.test(Qt.platform) : !1), Ab = Qt ? /Win/.test(Qt.platform) : !1, dr = /Android \d/.test(Hr), di = !!Vc && "webkitFontSmoothing" in Vc.documentElement.style, Lb = di ? +(/\bAppleWebKit\/(\d+)/.exec(navigator.userAgent) || [0, 0])[1] : 0;
|
|
10388
10415
|
function Db(r) {
|
|
10389
10416
|
let e = r.defaultView && r.defaultView.visualViewport;
|
|
@@ -10518,11 +10545,11 @@ function _b(r, e) {
|
|
|
10518
10545
|
function md(r, e) {
|
|
10519
10546
|
return r.left >= e.left - 1 && r.left <= e.right + 1 && r.top >= e.top - 1 && r.top <= e.bottom + 1;
|
|
10520
10547
|
}
|
|
10521
|
-
function
|
|
10548
|
+
function zb(r, e) {
|
|
10522
10549
|
let t = r.parentNode;
|
|
10523
10550
|
return t && /^li$/i.test(t.nodeName) && e.left < r.getBoundingClientRect().left ? t : r;
|
|
10524
10551
|
}
|
|
10525
|
-
function
|
|
10552
|
+
function Fb(r, e, t) {
|
|
10526
10553
|
let { node: o, offset: n } = Jm(e, t), i = -1;
|
|
10527
10554
|
if (o.nodeType == 1 && !o.firstChild) {
|
|
10528
10555
|
let s = o.getBoundingClientRect();
|
|
@@ -10573,15 +10600,15 @@ function Hb(r, e) {
|
|
|
10573
10600
|
if (dt)
|
|
10574
10601
|
for (let d = s; o && d; d = jo(d))
|
|
10575
10602
|
d.draggable && (o = void 0);
|
|
10576
|
-
if (s =
|
|
10577
|
-
if (
|
|
10603
|
+
if (s = zb(s, e), o) {
|
|
10604
|
+
if (zt && o.nodeType == 1 && (n = Math.min(n, o.childNodes.length), n < o.childNodes.length)) {
|
|
10578
10605
|
let c = o.childNodes[n], p;
|
|
10579
10606
|
c.nodeName == "IMG" && (p = c.getBoundingClientRect()).right <= e.left && p.bottom > e.top && n++;
|
|
10580
10607
|
}
|
|
10581
10608
|
let d;
|
|
10582
10609
|
di && n && o.nodeType == 1 && (d = o.childNodes[n - 1]).nodeType == 1 && d.contentEditable == "false" && d.getBoundingClientRect().top >= e.top && n--, o == r.dom && n == o.childNodes.length - 1 && o.lastChild.nodeType == 1 && e.top > o.lastChild.getBoundingClientRect().bottom ? a = r.state.doc.content.size : (n == 0 || o.nodeType != 1 || o.childNodes[n - 1].nodeName != "BR") && (a = jb(r, o, n, e));
|
|
10583
10610
|
}
|
|
10584
|
-
a == null && (a =
|
|
10611
|
+
a == null && (a = Fb(r, s, e));
|
|
10585
10612
|
let l = r.docView.nearestDesc(s, !0);
|
|
10586
10613
|
return { pos: a, inside: l ? l.posAtStart - l.border : -1 };
|
|
10587
10614
|
}
|
|
@@ -10599,11 +10626,11 @@ function wr(r, e) {
|
|
|
10599
10626
|
}
|
|
10600
10627
|
const Vb = /[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/;
|
|
10601
10628
|
function Qm(r, e, t) {
|
|
10602
|
-
let { node: o, offset: n, atom: i } = r.docView.domFromPos(e, t < 0 ? -1 : 1), s = di ||
|
|
10629
|
+
let { node: o, offset: n, atom: i } = r.docView.domFromPos(e, t < 0 ? -1 : 1), s = di || zt;
|
|
10603
10630
|
if (o.nodeType == 3)
|
|
10604
10631
|
if (s && (Vb.test(o.nodeValue) || (t < 0 ? !n : n == o.nodeValue.length))) {
|
|
10605
10632
|
let l = wr(ar(o, n, n), t);
|
|
10606
|
-
if (
|
|
10633
|
+
if (zt && n && /\s/.test(o.nodeValue[n - 1]) && n < o.nodeValue.length) {
|
|
10607
10634
|
let d = wr(ar(o, n - 1, n - 1), -1);
|
|
10608
10635
|
if (d.top == l.top) {
|
|
10609
10636
|
let c = wr(ar(o, n, n + 1), -1);
|
|
@@ -10978,7 +11005,7 @@ class ci {
|
|
|
10978
11005
|
g = b;
|
|
10979
11006
|
}
|
|
10980
11007
|
let a = this.domFromPos(e, e ? -1 : 1), l = t == e ? a : this.domFromPos(t, t ? -1 : 1), d = o.root.getSelection(), c = o.domSelectionRange(), p = !1;
|
|
10981
|
-
if ((
|
|
11008
|
+
if ((zt || dt) && e == t) {
|
|
10982
11009
|
let { node: m, offset: g } = a;
|
|
10983
11010
|
if (m.nodeType == 3) {
|
|
10984
11011
|
if (p = !!(g && m.nodeValue[g - 1] == `
|
|
@@ -10997,7 +11024,7 @@ class ci {
|
|
|
10997
11024
|
p = f && (f.nodeName == "BR" || f.contentEditable == "false");
|
|
10998
11025
|
}
|
|
10999
11026
|
}
|
|
11000
|
-
if (
|
|
11027
|
+
if (zt && c.focusNode && c.focusNode != l.node && c.focusNode.nodeType == 1) {
|
|
11001
11028
|
let m = c.focusNode.childNodes[c.focusOffset];
|
|
11002
11029
|
m && m.contentEditable == "false" && (n = !0);
|
|
11003
11030
|
}
|
|
@@ -11909,7 +11936,7 @@ function sy(r) {
|
|
|
11909
11936
|
if (!t)
|
|
11910
11937
|
return;
|
|
11911
11938
|
let n, i, s = !1;
|
|
11912
|
-
for (
|
|
11939
|
+
for (zt && t.nodeType == 1 && o < us(t) && Sn(t.childNodes[o], -1) && (s = !0); ; )
|
|
11913
11940
|
if (o > 0) {
|
|
11914
11941
|
if (t.nodeType != 1)
|
|
11915
11942
|
break;
|
|
@@ -12389,7 +12416,7 @@ function yd(r, e, t, o, n) {
|
|
|
12389
12416
|
return !0;
|
|
12390
12417
|
return !1;
|
|
12391
12418
|
}
|
|
12392
|
-
function
|
|
12419
|
+
function zo(r, e, t) {
|
|
12393
12420
|
if (r.focused || r.focus(), r.state.selection.eq(e))
|
|
12394
12421
|
return;
|
|
12395
12422
|
let o = r.state.tr.setSelection(e);
|
|
@@ -12399,7 +12426,7 @@ function Ey(r, e) {
|
|
|
12399
12426
|
if (e == -1)
|
|
12400
12427
|
return !1;
|
|
12401
12428
|
let t = r.state.doc.resolve(e), o = t.nodeAfter;
|
|
12402
|
-
return o && o.isAtom && K.isSelectable(o) ? (
|
|
12429
|
+
return o && o.isAtom && K.isSelectable(o) ? (zo(r, new K(t)), !0) : !1;
|
|
12403
12430
|
}
|
|
12404
12431
|
function Ty(r, e) {
|
|
12405
12432
|
if (e == -1)
|
|
@@ -12414,7 +12441,7 @@ function Ty(r, e) {
|
|
|
12414
12441
|
break;
|
|
12415
12442
|
}
|
|
12416
12443
|
}
|
|
12417
|
-
return n != null ? (
|
|
12444
|
+
return n != null ? (zo(r, K.create(r.state.doc, n)), !0) : !1;
|
|
12418
12445
|
}
|
|
12419
12446
|
function Oy(r, e, t, o, n) {
|
|
12420
12447
|
return yd(r, "handleClickOn", e, t, o) || r.someProp("handleClick", (i) => i(r, e, o)) || (n ? Ty(r, t) : Ey(r, t));
|
|
@@ -12430,14 +12457,14 @@ function Ay(r, e, t) {
|
|
|
12430
12457
|
return !1;
|
|
12431
12458
|
let o = r.state.doc;
|
|
12432
12459
|
if (e == -1)
|
|
12433
|
-
return o.inlineContent ? (
|
|
12460
|
+
return o.inlineContent ? (zo(r, J.create(o, 0, o.content.size)), !0) : !1;
|
|
12434
12461
|
let n = o.resolve(e);
|
|
12435
12462
|
for (let i = n.depth + 1; i > 0; i--) {
|
|
12436
12463
|
let s = i > n.depth ? n.nodeAfter : n.node(i), a = n.before(i);
|
|
12437
12464
|
if (s.inlineContent)
|
|
12438
|
-
|
|
12465
|
+
zo(r, J.create(o, a + 1, a + 1 + s.content.size));
|
|
12439
12466
|
else if (K.isSelectable(s))
|
|
12440
|
-
|
|
12467
|
+
zo(r, K.create(o, a));
|
|
12441
12468
|
else
|
|
12442
12469
|
continue;
|
|
12443
12470
|
return !0;
|
|
@@ -12472,7 +12499,7 @@ class Ly {
|
|
|
12472
12499
|
node: i,
|
|
12473
12500
|
pos: s,
|
|
12474
12501
|
addAttr: !!(this.target && !this.target.draggable),
|
|
12475
|
-
setUneditable: !!(this.target &&
|
|
12502
|
+
setUneditable: !!(this.target && zt && !this.target.hasAttribute("contentEditable"))
|
|
12476
12503
|
}), this.target && this.mightDrag && (this.mightDrag.addAttr || this.mightDrag.setUneditable) && (this.view.domObserver.stop(), this.mightDrag.addAttr && (this.target.draggable = !0), this.mightDrag.setUneditable && setTimeout(() => {
|
|
12477
12504
|
this.view.input.mouseDown == this && this.target.setAttribute("contentEditable", "false");
|
|
12478
12505
|
}, 20), this.view.domObserver.start()), e.root.addEventListener("mouseup", this.up = this.up.bind(this)), e.root.addEventListener("mousemove", this.move = this.move.bind(this)), Lr(e, "pointer");
|
|
@@ -12492,7 +12519,7 @@ class Ly {
|
|
|
12492
12519
|
// (hidden) cursor is doesn't change the selection, and
|
|
12493
12520
|
// thus doesn't get a reaction from ProseMirror. This
|
|
12494
12521
|
// works around that.
|
|
12495
|
-
ot && !this.view.state.selection.visible && Math.min(Math.abs(t.pos - this.view.state.selection.from), Math.abs(t.pos - this.view.state.selection.to)) <= 2) ? (
|
|
12522
|
+
ot && !this.view.state.selection.visible && Math.min(Math.abs(t.pos - this.view.state.selection.from), Math.abs(t.pos - this.view.state.selection.to)) <= 2) ? (zo(this.view, X.near(this.view.state.doc.resolve(t.pos))), e.preventDefault()) : Lr(this.view, "pointer");
|
|
12496
12523
|
}
|
|
12497
12524
|
move(e) {
|
|
12498
12525
|
this.updateAllowDefault(e), Lr(this.view, "pointer"), e.buttons == 0 && this.done();
|
|
@@ -12518,7 +12545,7 @@ pt.compositionstart = pt.compositionupdate = (r) => {
|
|
|
12518
12545
|
let { state: e } = r, t = e.selection.$to;
|
|
12519
12546
|
if (e.selection instanceof J && (e.storedMarks || !t.textOffset && t.parentOffset && t.nodeBefore.marks.some((o) => o.type.spec.inclusive === !1)))
|
|
12520
12547
|
r.markCursor = r.state.storedMarks || t.marks(), ms(r, !0), r.markCursor = null;
|
|
12521
|
-
else if (ms(r, !e.selection.empty),
|
|
12548
|
+
else if (ms(r, !e.selection.empty), zt && e.selection.empty && t.parentOffset && !t.textOffset && t.nodeBefore.marks.length) {
|
|
12522
12549
|
let o = r.domSelectionRange();
|
|
12523
12550
|
for (let n = o.focusNode, i = o.focusOffset; n && n.nodeType == 1 && i != 0; ) {
|
|
12524
12551
|
let s = i < 0 ? n.lastChild : n.childNodes[i - 1];
|
|
@@ -12637,10 +12664,10 @@ class wh {
|
|
|
12637
12664
|
this.slice = e, this.move = t, this.node = o;
|
|
12638
12665
|
}
|
|
12639
12666
|
}
|
|
12640
|
-
const
|
|
12667
|
+
const zy = Ot ? "altKey" : "ctrlKey";
|
|
12641
12668
|
function vh(r, e) {
|
|
12642
12669
|
let t = r.someProp("dragCopies", (o) => !o(e));
|
|
12643
|
-
return t ?? !e[
|
|
12670
|
+
return t ?? !e[zy];
|
|
12644
12671
|
}
|
|
12645
12672
|
ct.dragstart = (r, e) => {
|
|
12646
12673
|
let t = e, o = r.input.mouseDown;
|
|
@@ -12922,7 +12949,7 @@ class $e {
|
|
|
12922
12949
|
let l = this.local[a].map(e, o, n);
|
|
12923
12950
|
l && l.type.valid(t, l) ? (s || (s = [])).push(l) : i.onRemove && i.onRemove(this.local[a].spec);
|
|
12924
12951
|
}
|
|
12925
|
-
return this.children.length ?
|
|
12952
|
+
return this.children.length ? Fy(this.children, s || [], e, t, o, n, i) : s ? new $e(s.sort(ao), Ao) : et;
|
|
12926
12953
|
}
|
|
12927
12954
|
/**
|
|
12928
12955
|
Add the given array of decorations to the ones in the set,
|
|
@@ -13100,7 +13127,7 @@ class Sr {
|
|
|
13100
13127
|
this.members[t].forEachSet(e);
|
|
13101
13128
|
}
|
|
13102
13129
|
}
|
|
13103
|
-
function
|
|
13130
|
+
function Fy(r, e, t, o, n, i, s) {
|
|
13104
13131
|
let a = r.slice();
|
|
13105
13132
|
for (let d = 0, c = i; d < t.maps.length; d++) {
|
|
13106
13133
|
let p = 0;
|
|
@@ -13349,7 +13376,7 @@ class qy {
|
|
|
13349
13376
|
let p = this.registerMutation(t[c], l);
|
|
13350
13377
|
p && (i = i < 0 ? p.from : Math.min(p.from, i), s = s < 0 ? p.to : Math.max(p.to, s), p.typeOver && (a = !0));
|
|
13351
13378
|
}
|
|
13352
|
-
if (
|
|
13379
|
+
if (zt && l.length) {
|
|
13353
13380
|
let c = l.filter((p) => p.nodeName == "BR");
|
|
13354
13381
|
if (c.length == 2) {
|
|
13355
13382
|
let [p, u] = c;
|
|
@@ -13401,7 +13428,7 @@ class qy {
|
|
|
13401
13428
|
let pp = /* @__PURE__ */ new WeakMap(), up = !1;
|
|
13402
13429
|
function Uy(r) {
|
|
13403
13430
|
if (!pp.has(r) && (pp.set(r, null), ["normal", "nowrap", "pre-line"].indexOf(getComputedStyle(r.dom).whiteSpace) !== -1)) {
|
|
13404
|
-
if (r.requiresGeckoHackNode =
|
|
13431
|
+
if (r.requiresGeckoHackNode = zt, up)
|
|
13405
13432
|
return;
|
|
13406
13433
|
console.warn("ProseMirror expects the CSS white-space property to be set, preferably to 'pre-wrap'. It is recommended to load style/prosemirror.css from the prosemirror-view package."), up = !0;
|
|
13407
13434
|
}
|
|
@@ -13523,15 +13550,15 @@ function Xy(r, e, t, o, n) {
|
|
|
13523
13550
|
return _(r, Xr(13, "Enter"));
|
|
13524
13551
|
});
|
|
13525
13552
|
}, 20));
|
|
13526
|
-
let y = g.start, P = g.endA, x, v,
|
|
13553
|
+
let y = g.start, P = g.endA, x, v, z;
|
|
13527
13554
|
if (C) {
|
|
13528
13555
|
if (f.pos == b.pos)
|
|
13529
13556
|
gt && Ir <= 11 && f.parentOffset == 0 && (r.domObserver.suppressSelectionUpdates(), setTimeout(() => ur(r), 20)), x = r.state.tr.delete(y, P), v = c.resolve(g.start).marksAcross(c.resolve(g.endA));
|
|
13530
13557
|
else if (
|
|
13531
13558
|
// Adding or removing a mark
|
|
13532
|
-
g.endA == g.endB && (
|
|
13559
|
+
g.endA == g.endB && (z = Zy(f.parent.content.cut(f.parentOffset, b.parentOffset), w.parent.content.cut(w.parentOffset, g.endA - w.start())))
|
|
13533
13560
|
)
|
|
13534
|
-
x = r.state.tr,
|
|
13561
|
+
x = r.state.tr, z.type == "add" ? x.addMark(y, P, z.mark) : x.removeMark(y, P, z.mark);
|
|
13535
13562
|
else if (f.parent.child(f.index()).isText && f.index() == b.index() - (b.textOffset ? 0 : 1)) {
|
|
13536
13563
|
let _ = f.parent.textBetween(f.parentOffset, b.parentOffset);
|
|
13537
13564
|
if (r.someProp("handleTextInput", (B) => B(r, y, P, _)))
|
|
@@ -13570,7 +13597,7 @@ function ew(r, e, t, o, n) {
|
|
|
13570
13597
|
if (
|
|
13571
13598
|
// The content must have shrunk
|
|
13572
13599
|
t - e <= n.pos - o.pos || // newEnd must point directly at or after the end of the block that newStart points into
|
|
13573
|
-
|
|
13600
|
+
za(o, !0, !1) < n.pos
|
|
13574
13601
|
)
|
|
13575
13602
|
return !1;
|
|
13576
13603
|
let i = r.resolve(e);
|
|
@@ -13580,10 +13607,10 @@ function ew(r, e, t, o, n) {
|
|
|
13580
13607
|
}
|
|
13581
13608
|
if (i.parentOffset < i.parent.content.size || !i.parent.isTextblock)
|
|
13582
13609
|
return !1;
|
|
13583
|
-
let s = r.resolve(
|
|
13584
|
-
return !s.parent.isTextblock || s.pos > t ||
|
|
13610
|
+
let s = r.resolve(za(i, !0, !0));
|
|
13611
|
+
return !s.parent.isTextblock || s.pos > t || za(s, !0, !1) < t ? !1 : o.parent.content.cut(o.parentOffset).eq(s.parent.content);
|
|
13585
13612
|
}
|
|
13586
|
-
function
|
|
13613
|
+
function za(r, e, t) {
|
|
13587
13614
|
let o = r.depth, n = e ? r.end() : r.pos;
|
|
13588
13615
|
for (; o > 0 && (e || r.indexAfter(o) == r.node(o).childCount); )
|
|
13589
13616
|
o--, n++, e = !1;
|
|
@@ -14008,7 +14035,7 @@ function vp(r) {
|
|
|
14008
14035
|
if (r.spec.state || r.spec.filterTransaction || r.spec.appendTransaction)
|
|
14009
14036
|
throw new RangeError("Plugins passed directly to the view must not have a state component");
|
|
14010
14037
|
}
|
|
14011
|
-
var
|
|
14038
|
+
var zr = {
|
|
14012
14039
|
8: "Backspace",
|
|
14013
14040
|
9: "Tab",
|
|
14014
14041
|
10: "Enter",
|
|
@@ -14087,13 +14114,13 @@ var Fr = {
|
|
|
14087
14114
|
221: "}",
|
|
14088
14115
|
222: '"'
|
|
14089
14116
|
}, iw = typeof navigator < "u" && /Mac/.test(navigator.platform), sw = typeof navigator < "u" && /MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent);
|
|
14090
|
-
for (var Ye = 0; Ye < 10; Ye++)
|
|
14091
|
-
for (var Ye = 1; Ye <= 24; Ye++)
|
|
14117
|
+
for (var Ye = 0; Ye < 10; Ye++) zr[48 + Ye] = zr[96 + Ye] = String(Ye);
|
|
14118
|
+
for (var Ye = 1; Ye <= 24; Ye++) zr[Ye + 111] = "F" + Ye;
|
|
14092
14119
|
for (var Ye = 65; Ye <= 90; Ye++)
|
|
14093
|
-
|
|
14094
|
-
for (var
|
|
14120
|
+
zr[Ye] = String.fromCharCode(Ye + 32), fs[Ye] = String.fromCharCode(Ye);
|
|
14121
|
+
for (var Fa in zr) fs.hasOwnProperty(Fa) || (fs[Fa] = zr[Fa]);
|
|
14095
14122
|
function aw(r) {
|
|
14096
|
-
var e = iw && r.metaKey && r.shiftKey && !r.ctrlKey && !r.altKey || sw && r.shiftKey && r.key && r.key.length == 1 || r.key == "Unidentified", t = !e && r.key || (r.shiftKey ? fs :
|
|
14123
|
+
var e = iw && r.metaKey && r.shiftKey && !r.ctrlKey && !r.altKey || sw && r.shiftKey && r.key && r.key.length == 1 || r.key == "Unidentified", t = !e && r.key || (r.shiftKey ? fs : zr)[r.keyCode] || r.key || "Unidentified";
|
|
14097
14124
|
return t == "Esc" && (t = "Escape"), t == "Del" && (t = "Delete"), t == "Left" && (t = "ArrowLeft"), t == "Up" && (t = "ArrowUp"), t == "Right" && (t = "ArrowRight"), t == "Down" && (t = "ArrowDown"), t;
|
|
14098
14125
|
}
|
|
14099
14126
|
const lw = typeof navigator < "u" && /Mac|iP(hone|[oa]d)/.test(navigator.platform), dw = typeof navigator < "u" && /Win/.test(navigator.platform);
|
|
@@ -14128,7 +14155,7 @@ function ja(r, e, t = !0) {
|
|
|
14128
14155
|
return e.altKey && (r = "Alt-" + r), e.ctrlKey && (r = "Ctrl-" + r), e.metaKey && (r = "Meta-" + r), t && e.shiftKey && (r = "Shift-" + r), r;
|
|
14129
14156
|
}
|
|
14130
14157
|
function uw(r) {
|
|
14131
|
-
return new
|
|
14158
|
+
return new Fe({ props: { handleKeyDown: Ch(r) } });
|
|
14132
14159
|
}
|
|
14133
14160
|
function Ch(r) {
|
|
14134
14161
|
let e = pw(r);
|
|
@@ -14143,7 +14170,7 @@ function Ch(r) {
|
|
|
14143
14170
|
return !0;
|
|
14144
14171
|
}
|
|
14145
14172
|
if ((o.altKey || o.metaKey || o.ctrlKey) && // Ctrl-Alt may be used for AltGr on Windows
|
|
14146
|
-
!(dw && o.ctrlKey && o.altKey) && (i =
|
|
14173
|
+
!(dw && o.ctrlKey && o.altKey) && (i = zr[o.keyCode]) && i != n) {
|
|
14147
14174
|
let a = e[ja(i, o)];
|
|
14148
14175
|
if (a && a(t.state, t.dispatch, t))
|
|
14149
14176
|
return !0;
|
|
@@ -15008,8 +15035,8 @@ function Ni(r) {
|
|
|
15008
15035
|
}), l.dispatch(g), c = !0);
|
|
15009
15036
|
}), c;
|
|
15010
15037
|
}
|
|
15011
|
-
function
|
|
15012
|
-
const { editor: e, rules: t } = r, o = new
|
|
15038
|
+
function zw(r) {
|
|
15039
|
+
const { editor: e, rules: t } = r, o = new Fe({
|
|
15013
15040
|
state: {
|
|
15014
15041
|
init() {
|
|
15015
15042
|
return null;
|
|
@@ -15080,11 +15107,11 @@ function Fw(r) {
|
|
|
15080
15107
|
});
|
|
15081
15108
|
return o;
|
|
15082
15109
|
}
|
|
15083
|
-
function
|
|
15110
|
+
function Fw(r) {
|
|
15084
15111
|
return Object.prototype.toString.call(r).slice(8, -1);
|
|
15085
15112
|
}
|
|
15086
15113
|
function Ii(r) {
|
|
15087
|
-
return
|
|
15114
|
+
return Fw(r) !== "Object" ? !1 : r.constructor === Object && Object.getPrototypeOf(r) === Object.prototype;
|
|
15088
15115
|
}
|
|
15089
15116
|
function ha(r, e) {
|
|
15090
15117
|
const t = { ...r };
|
|
@@ -15222,7 +15249,7 @@ function Uw(r) {
|
|
|
15222
15249
|
return s = typeof ClipboardEvent < "u" ? new ClipboardEvent("paste") : null, f;
|
|
15223
15250
|
}
|
|
15224
15251
|
};
|
|
15225
|
-
return t.map((c) => new
|
|
15252
|
+
return t.map((c) => new Fe({
|
|
15226
15253
|
// we register a global drag handler to track the current drag source element
|
|
15227
15254
|
view(p) {
|
|
15228
15255
|
const u = (g) => {
|
|
@@ -15263,13 +15290,13 @@ function Uw(r) {
|
|
|
15263
15290
|
if (C) {
|
|
15264
15291
|
let { text: P } = w;
|
|
15265
15292
|
typeof P == "string" ? P = P : P = Td(N.from(P), m.schema);
|
|
15266
|
-
const { from: x } = w, v = x + P.length,
|
|
15293
|
+
const { from: x } = w, v = x + P.length, z = qw(P);
|
|
15267
15294
|
return l({
|
|
15268
15295
|
rule: c,
|
|
15269
15296
|
state: m,
|
|
15270
15297
|
from: x,
|
|
15271
15298
|
to: { b: v },
|
|
15272
|
-
pasteEvt:
|
|
15299
|
+
pasteEvt: z
|
|
15273
15300
|
});
|
|
15274
15301
|
}
|
|
15275
15302
|
const E = u.doc.content.findDiffStart(m.doc.content), y = u.doc.content.findDiffEnd(m.doc.content);
|
|
@@ -15379,7 +15406,7 @@ class Ro {
|
|
|
15379
15406
|
return l;
|
|
15380
15407
|
}).flat();
|
|
15381
15408
|
return [
|
|
15382
|
-
|
|
15409
|
+
zw({
|
|
15383
15410
|
editor: e,
|
|
15384
15411
|
rules: o
|
|
15385
15412
|
}),
|
|
@@ -15487,7 +15514,7 @@ class Xe {
|
|
|
15487
15514
|
})), t;
|
|
15488
15515
|
}
|
|
15489
15516
|
}
|
|
15490
|
-
function
|
|
15517
|
+
function zh(r, e, t) {
|
|
15491
15518
|
const { from: o, to: n } = e, { blockSeparator: i = `
|
|
15492
15519
|
|
|
15493
15520
|
`, textSerializers: s = {} } = t || {};
|
|
@@ -15519,12 +15546,12 @@ const Gw = Xe.create({
|
|
|
15519
15546
|
},
|
|
15520
15547
|
addProseMirrorPlugins() {
|
|
15521
15548
|
return [
|
|
15522
|
-
new
|
|
15549
|
+
new Fe({
|
|
15523
15550
|
key: new ut("clipboardTextSerializer"),
|
|
15524
15551
|
props: {
|
|
15525
15552
|
clipboardTextSerializer: () => {
|
|
15526
15553
|
const { editor: r } = this, { state: e, schema: t } = r, { doc: o, selection: n } = e, { ranges: i } = n, s = Math.min(...i.map((c) => c.$from.pos)), a = Math.max(...i.map((c) => c.$to.pos)), l = Pd(t);
|
|
15527
|
-
return
|
|
15554
|
+
return zh(o, { from: s, to: a }, {
|
|
15528
15555
|
...this.options.blockSeparator !== void 0 ? { blockSeparator: this.options.blockSeparator } : {},
|
|
15529
15556
|
textSerializers: l
|
|
15530
15557
|
});
|
|
@@ -15591,7 +15618,7 @@ function bs(r, e, t = { strict: !0 }) {
|
|
|
15591
15618
|
const o = Object.keys(e);
|
|
15592
15619
|
return o.length ? o.every((n) => t.strict ? e[n] === r[n] : Od(e[n]) ? e[n].test(r[n]) : e[n] === r[n]) : !0;
|
|
15593
15620
|
}
|
|
15594
|
-
function
|
|
15621
|
+
function Fh(r, e, t = {}) {
|
|
15595
15622
|
return r.find((o) => o.type === e && bs(
|
|
15596
15623
|
// Only check equality for the attributes that are provided
|
|
15597
15624
|
Object.fromEntries(Object.keys(t).map((n) => [n, o.attrs[n]])),
|
|
@@ -15599,14 +15626,14 @@ function zh(r, e, t = {}) {
|
|
|
15599
15626
|
));
|
|
15600
15627
|
}
|
|
15601
15628
|
function Mp(r, e, t = {}) {
|
|
15602
|
-
return !!
|
|
15629
|
+
return !!Fh(r, e, t);
|
|
15603
15630
|
}
|
|
15604
15631
|
function Bd(r, e, t) {
|
|
15605
15632
|
var o;
|
|
15606
15633
|
if (!r || !e)
|
|
15607
15634
|
return;
|
|
15608
15635
|
let n = r.parent.childAfter(r.parentOffset);
|
|
15609
|
-
if ((!n.node || !n.node.marks.some((c) => c.type === e)) && (n = r.parent.childBefore(r.parentOffset)), !n.node || !n.node.marks.some((c) => c.type === e) || (t = t || ((o = n.node.marks[0]) === null || o === void 0 ? void 0 : o.attrs), !
|
|
15636
|
+
if ((!n.node || !n.node.marks.some((c) => c.type === e)) && (n = r.parent.childBefore(r.parentOffset)), !n.node || !n.node.marks.some((c) => c.type === e) || (t = t || ((o = n.node.marks[0]) === null || o === void 0 ? void 0 : o.attrs), !Fh([...n.node.marks], e, t)))
|
|
15610
15637
|
return;
|
|
15611
15638
|
let s = n.index, a = r.start() + n.offset, l = s + 1, d = a + n.node.nodeSize;
|
|
15612
15639
|
for (; s > 0 && Mp([...r.parent.child(s - 1).marks], e, t); )
|
|
@@ -15946,7 +15973,7 @@ function Wh(r, e) {
|
|
|
15946
15973
|
const a = s.find((l) => l.type.name === t.name);
|
|
15947
15974
|
return a ? { ...a.attrs } : {};
|
|
15948
15975
|
}
|
|
15949
|
-
function
|
|
15976
|
+
function zv(r, e) {
|
|
15950
15977
|
const t = new Hm(r);
|
|
15951
15978
|
return e.forEach((o) => {
|
|
15952
15979
|
o.steps.forEach((n) => {
|
|
@@ -15954,7 +15981,7 @@ function Fv(r, e) {
|
|
|
15954
15981
|
});
|
|
15955
15982
|
}), t;
|
|
15956
15983
|
}
|
|
15957
|
-
function
|
|
15984
|
+
function Fv(r) {
|
|
15958
15985
|
for (let e = 0; e < r.edgeCount; e += 1) {
|
|
15959
15986
|
const { type: t } = r.edge(e);
|
|
15960
15987
|
if (t.isTextblock && !t.hasRequiredAttrs())
|
|
@@ -15991,7 +16018,7 @@ function qh(r, e) {
|
|
|
15991
16018
|
from: 0,
|
|
15992
16019
|
to: r.content.size
|
|
15993
16020
|
};
|
|
15994
|
-
return
|
|
16021
|
+
return zh(r, t, e);
|
|
15995
16022
|
}
|
|
15996
16023
|
function Vv(r, e) {
|
|
15997
16024
|
const t = Ue(e, r.schema), { from: o, to: n } = r.selection, i = [];
|
|
@@ -16226,7 +16253,7 @@ const t2 = ({ keepMarks: r = !0 } = {}) => ({ tr: e, state: t, dispatch: o, edit
|
|
|
16226
16253
|
return !a.parentOffset || !pr(s, a.pos) ? !1 : (o && (r && Op(t, n.extensionManager.splittableMarks), e.split(a.pos).scrollIntoView()), !0);
|
|
16227
16254
|
if (!a.parent.isBlock)
|
|
16228
16255
|
return !1;
|
|
16229
|
-
const p = l.parentOffset === l.parent.content.size, u = a.depth === 0 ? void 0 :
|
|
16256
|
+
const p = l.parentOffset === l.parent.content.size, u = a.depth === 0 ? void 0 : Fv(a.node(-1).contentMatchAt(a.indexAfter(-1)));
|
|
16230
16257
|
let m = p && u ? [
|
|
16231
16258
|
{
|
|
16232
16259
|
type: u,
|
|
@@ -16261,8 +16288,8 @@ const t2 = ({ keepMarks: r = !0 } = {}) => ({ tr: e, state: t, dispatch: o, edit
|
|
|
16261
16288
|
if (n) {
|
|
16262
16289
|
let w = N.empty;
|
|
16263
16290
|
const C = l.index(-1) ? 1 : l.index(-2) ? 2 : 3;
|
|
16264
|
-
for (let
|
|
16265
|
-
w = N.from(l.node(
|
|
16291
|
+
for (let z = l.depth - C; z >= l.depth - 3; z -= 1)
|
|
16292
|
+
w = N.from(l.node(z).copy(w));
|
|
16266
16293
|
const E = l.indexAfter(-1) < l.node(-2).childCount ? 1 : l.indexAfter(-2) < l.node(-3).childCount ? 2 : 3, y = {
|
|
16267
16294
|
...Qi(u, l.node().type.name, l.node().attrs),
|
|
16268
16295
|
...e
|
|
@@ -16271,10 +16298,10 @@ const t2 = ({ keepMarks: r = !0 } = {}) => ({ tr: e, state: t, dispatch: o, edit
|
|
|
16271
16298
|
const x = l.before(l.depth - (C - 1));
|
|
16272
16299
|
t.replace(x, l.after(-E), new H(w, 4 - C, 0));
|
|
16273
16300
|
let v = -1;
|
|
16274
|
-
t.doc.nodesBetween(x, t.doc.content.size, (
|
|
16301
|
+
t.doc.nodesBetween(x, t.doc.content.size, (z, _) => {
|
|
16275
16302
|
if (v > -1)
|
|
16276
16303
|
return !1;
|
|
16277
|
-
|
|
16304
|
+
z.isTextblock && z.content.size === 0 && (v = _ + 1);
|
|
16278
16305
|
}), v > -1 && t.setSelection(J.near(t.doc.resolve(v))), t.scrollIntoView();
|
|
16279
16306
|
}
|
|
16280
16307
|
return !0;
|
|
@@ -16331,7 +16358,7 @@ const t2 = ({ keepMarks: r = !0 } = {}) => ({ tr: e, state: t, dispatch: o, edit
|
|
|
16331
16358
|
return l().command(() => (i.setNodeMarkup(P.pos, m), !0)).command(() => Va(i, m)).command(() => Wa(i, m)).run();
|
|
16332
16359
|
}
|
|
16333
16360
|
return !t || !y || !a ? l().command(() => c().wrapInList(m, o) ? !0 : d.clearNodes()).wrapInList(m, o).command(() => Va(i, m)).command(() => Wa(i, m)).run() : l().command(() => {
|
|
16334
|
-
const x = c().wrapInList(m, o), v = y.filter((
|
|
16361
|
+
const x = c().wrapInList(m, o), v = y.filter((z) => u.includes(z.type.name));
|
|
16335
16362
|
return i.ensureMarks(v), x ? !0 : d.clearNodes();
|
|
16336
16363
|
}).wrapInList(m, o).command(() => Va(i, m)).command(() => Wa(i, m)).run();
|
|
16337
16364
|
}, n2 = (r, e = {}, t = {}) => ({ state: o, commands: n }) => {
|
|
@@ -16493,7 +16520,7 @@ const h2 = Xe.create({
|
|
|
16493
16520
|
name: "drop",
|
|
16494
16521
|
addProseMirrorPlugins() {
|
|
16495
16522
|
return [
|
|
16496
|
-
new
|
|
16523
|
+
new Fe({
|
|
16497
16524
|
key: new ut("tiptapDrop"),
|
|
16498
16525
|
props: {
|
|
16499
16526
|
handleDrop: (r, e, t, o) => {
|
|
@@ -16512,7 +16539,7 @@ const h2 = Xe.create({
|
|
|
16512
16539
|
name: "editable",
|
|
16513
16540
|
addProseMirrorPlugins() {
|
|
16514
16541
|
return [
|
|
16515
|
-
new
|
|
16542
|
+
new Fe({
|
|
16516
16543
|
key: new ut("editable"),
|
|
16517
16544
|
props: {
|
|
16518
16545
|
editable: () => this.editor.options.editable
|
|
@@ -16525,7 +16552,7 @@ const h2 = Xe.create({
|
|
|
16525
16552
|
addProseMirrorPlugins() {
|
|
16526
16553
|
const { editor: r } = this;
|
|
16527
16554
|
return [
|
|
16528
|
-
new
|
|
16555
|
+
new Fe({
|
|
16529
16556
|
key: b2,
|
|
16530
16557
|
props: {
|
|
16531
16558
|
handleDOMEvents: {
|
|
@@ -16598,7 +16625,7 @@ const h2 = Xe.create({
|
|
|
16598
16625
|
// to a paragraph if necessary.
|
|
16599
16626
|
// This is an alternative to ProseMirror's `AllSelection`, which doesn’t work well
|
|
16600
16627
|
// with many other commands.
|
|
16601
|
-
new
|
|
16628
|
+
new Fe({
|
|
16602
16629
|
key: new ut("clearDocument"),
|
|
16603
16630
|
appendTransaction: (r, e, t) => {
|
|
16604
16631
|
if (r.some((f) => f.getMeta("composition")))
|
|
@@ -16626,7 +16653,7 @@ const h2 = Xe.create({
|
|
|
16626
16653
|
name: "paste",
|
|
16627
16654
|
addProseMirrorPlugins() {
|
|
16628
16655
|
return [
|
|
16629
|
-
new
|
|
16656
|
+
new Fe({
|
|
16630
16657
|
key: new ut("tiptapPaste"),
|
|
16631
16658
|
props: {
|
|
16632
16659
|
handlePaste: (r, e, t) => {
|
|
@@ -16644,7 +16671,7 @@ const h2 = Xe.create({
|
|
|
16644
16671
|
name: "tabindex",
|
|
16645
16672
|
addProseMirrorPlugins() {
|
|
16646
16673
|
return [
|
|
16647
|
-
new
|
|
16674
|
+
new Fe({
|
|
16648
16675
|
key: new ut("tabindex"),
|
|
16649
16676
|
props: {
|
|
16650
16677
|
attributes: () => this.editor.isEditable ? { tabindex: "0" } : {}
|
|
@@ -17278,7 +17305,7 @@ function qn(r) {
|
|
|
17278
17305
|
}
|
|
17279
17306
|
});
|
|
17280
17307
|
}
|
|
17281
|
-
let
|
|
17308
|
+
let Ft = class Il {
|
|
17282
17309
|
constructor(e = {}) {
|
|
17283
17310
|
this.type = "node", this.name = "node", this.parent = null, this.child = null, this.config = {
|
|
17284
17311
|
name: this.name,
|
|
@@ -17372,7 +17399,7 @@ function _2(r) {
|
|
|
17372
17399
|
}));
|
|
17373
17400
|
});
|
|
17374
17401
|
}
|
|
17375
|
-
function
|
|
17402
|
+
function z2(r) {
|
|
17376
17403
|
var e = r.state, t = {
|
|
17377
17404
|
popper: {
|
|
17378
17405
|
position: e.options.strategy,
|
|
@@ -17401,7 +17428,7 @@ const Qh = {
|
|
|
17401
17428
|
enabled: !0,
|
|
17402
17429
|
phase: "write",
|
|
17403
17430
|
fn: _2,
|
|
17404
|
-
effect:
|
|
17431
|
+
effect: z2,
|
|
17405
17432
|
requires: ["computeStyles"]
|
|
17406
17433
|
};
|
|
17407
17434
|
function Yt(r) {
|
|
@@ -17459,7 +17486,7 @@ function Zh(r, e) {
|
|
|
17459
17486
|
function gr(r) {
|
|
17460
17487
|
return St(r).getComputedStyle(r);
|
|
17461
17488
|
}
|
|
17462
|
-
function
|
|
17489
|
+
function F2(r) {
|
|
17463
17490
|
return ["table", "td", "th"].indexOf(Zt(r)) >= 0;
|
|
17464
17491
|
}
|
|
17465
17492
|
function Wr(r) {
|
|
@@ -17501,11 +17528,11 @@ function j2(r) {
|
|
|
17501
17528
|
return null;
|
|
17502
17529
|
}
|
|
17503
17530
|
function ui(r) {
|
|
17504
|
-
for (var e = St(r), t = Bp(r); t &&
|
|
17531
|
+
for (var e = St(r), t = Bp(r); t && F2(t) && gr(t).position === "static"; )
|
|
17505
17532
|
t = Bp(t);
|
|
17506
17533
|
return t && (Zt(t) === "html" || Zt(t) === "body" && gr(t).position === "static") ? e : t || j2(r) || e;
|
|
17507
17534
|
}
|
|
17508
|
-
function
|
|
17535
|
+
function zd(r) {
|
|
17509
17536
|
return ["top", "bottom"].indexOf(r) >= 0 ? "x" : "y";
|
|
17510
17537
|
}
|
|
17511
17538
|
function Cn(r, e, t) {
|
|
@@ -17537,10 +17564,10 @@ var V2 = function(e, t) {
|
|
|
17537
17564
|
})) : e, tg(typeof e != "number" ? e : rg(e, pi));
|
|
17538
17565
|
};
|
|
17539
17566
|
function W2(r) {
|
|
17540
|
-
var e, t = r.state, o = r.name, n = r.options, i = t.elements.arrow, s = t.modifiersData.popperOffsets, a = Yt(t.placement), l =
|
|
17567
|
+
var e, t = r.state, o = r.name, n = r.options, i = t.elements.arrow, s = t.modifiersData.popperOffsets, a = Yt(t.placement), l = zd(a), d = [bt, Nt].indexOf(a) >= 0, c = d ? "height" : "width";
|
|
17541
17568
|
if (!(!i || !s)) {
|
|
17542
|
-
var p = V2(n.padding, t), u = _d(i), m = l === "y" ? ft : bt, g = l === "y" ? Dt : Nt, f = t.rects.reference[c] + t.rects.reference[l] - s[l] - t.rects.popper[c], b = s[l] - t.rects.reference[l], w = ui(i), C = w ? l === "y" ? w.clientHeight || 0 : w.clientWidth || 0 : 0, E = f / 2 - b / 2, y = p[m], P = C - u[c] - p[g], x = C / 2 - u[c] / 2 + E, v = Cn(y, x, P),
|
|
17543
|
-
t.modifiersData[o] = (e = {}, e[
|
|
17569
|
+
var p = V2(n.padding, t), u = _d(i), m = l === "y" ? ft : bt, g = l === "y" ? Dt : Nt, f = t.rects.reference[c] + t.rects.reference[l] - s[l] - t.rects.popper[c], b = s[l] - t.rects.reference[l], w = ui(i), C = w ? l === "y" ? w.clientHeight || 0 : w.clientWidth || 0 : 0, E = f / 2 - b / 2, y = p[m], P = C - u[c] - p[g], x = C / 2 - u[c] / 2 + E, v = Cn(y, x, P), z = l;
|
|
17570
|
+
t.modifiersData[o] = (e = {}, e[z] = v, e.centerOffset = v - x, e);
|
|
17544
17571
|
}
|
|
17545
17572
|
}
|
|
17546
17573
|
function q2(r) {
|
|
@@ -17583,8 +17610,8 @@ function Ap(r) {
|
|
|
17583
17610
|
m = b.x, f = b.y;
|
|
17584
17611
|
var w = s.hasOwnProperty("x"), C = s.hasOwnProperty("y"), E = bt, y = ft, P = window;
|
|
17585
17612
|
if (d) {
|
|
17586
|
-
var x = ui(t), v = "clientHeight",
|
|
17587
|
-
if (x === St(t) && (x = Wr(t), gr(x).position !== "static" && a === "absolute" && (v = "scrollHeight",
|
|
17613
|
+
var x = ui(t), v = "clientHeight", z = "clientWidth";
|
|
17614
|
+
if (x === St(t) && (x = Wr(t), gr(x).position !== "static" && a === "absolute" && (v = "scrollHeight", z = "scrollWidth")), x = x, n === ft || (n === bt || n === Nt) && i === Un) {
|
|
17588
17615
|
y = Dt;
|
|
17589
17616
|
var _ = p && x === P && P.visualViewport ? P.visualViewport.height : (
|
|
17590
17617
|
// $FlowFixMe[prop-missing]
|
|
@@ -17596,7 +17623,7 @@ function Ap(r) {
|
|
|
17596
17623
|
E = Nt;
|
|
17597
17624
|
var B = p && x === P && P.visualViewport ? P.visualViewport.width : (
|
|
17598
17625
|
// $FlowFixMe[prop-missing]
|
|
17599
|
-
x[
|
|
17626
|
+
x[z]
|
|
17600
17627
|
);
|
|
17601
17628
|
m -= B - o.width, m *= l ? 1 : -1;
|
|
17602
17629
|
}
|
|
@@ -17688,7 +17715,7 @@ function Lp(r) {
|
|
|
17688
17715
|
return ex[e];
|
|
17689
17716
|
});
|
|
17690
17717
|
}
|
|
17691
|
-
function
|
|
17718
|
+
function Fd(r) {
|
|
17692
17719
|
var e = St(r), t = e.pageXOffset, o = e.pageYOffset;
|
|
17693
17720
|
return {
|
|
17694
17721
|
scrollLeft: t,
|
|
@@ -17696,7 +17723,7 @@ function zd(r) {
|
|
|
17696
17723
|
};
|
|
17697
17724
|
}
|
|
17698
17725
|
function jd(r) {
|
|
17699
|
-
return Ko(Wr(r)).left +
|
|
17726
|
+
return Ko(Wr(r)).left + Fd(r).scrollLeft;
|
|
17700
17727
|
}
|
|
17701
17728
|
function tx(r, e) {
|
|
17702
17729
|
var t = St(r), o = Wr(r), n = t.visualViewport, i = o.clientWidth, s = o.clientHeight, a = 0, l = 0;
|
|
@@ -17713,7 +17740,7 @@ function tx(r, e) {
|
|
|
17713
17740
|
};
|
|
17714
17741
|
}
|
|
17715
17742
|
function rx(r) {
|
|
17716
|
-
var e, t = Wr(r), o =
|
|
17743
|
+
var e, t = Wr(r), o = Fd(r), n = (e = r.ownerDocument) == null ? void 0 : e.body, i = lo(t.scrollWidth, t.clientWidth, n ? n.scrollWidth : 0, n ? n.clientWidth : 0), s = lo(t.scrollHeight, t.clientHeight, n ? n.scrollHeight : 0, n ? n.clientHeight : 0), a = -o.scrollLeft + jd(r), l = -o.scrollTop;
|
|
17717
17744
|
return gr(n || t).direction === "rtl" && (a += lo(t.clientWidth, n ? n.clientWidth : 0) - i), {
|
|
17718
17745
|
width: i,
|
|
17719
17746
|
height: s,
|
|
@@ -17798,7 +17825,7 @@ function ng(r) {
|
|
|
17798
17825
|
y: e.y
|
|
17799
17826
|
};
|
|
17800
17827
|
}
|
|
17801
|
-
var d = n ?
|
|
17828
|
+
var d = n ? zd(n) : null;
|
|
17802
17829
|
if (d != null) {
|
|
17803
17830
|
var c = d === "y" ? "height" : "width";
|
|
17804
17831
|
switch (i) {
|
|
@@ -17818,7 +17845,7 @@ function Kn(r, e) {
|
|
|
17818
17845
|
reference: x,
|
|
17819
17846
|
element: E,
|
|
17820
17847
|
placement: n
|
|
17821
|
-
}),
|
|
17848
|
+
}), z = $l(Object.assign({}, E, v)), _ = u === pn ? z : x, B = {
|
|
17822
17849
|
top: P.top - _.top + w.top,
|
|
17823
17850
|
bottom: _.bottom - P.bottom + w.bottom,
|
|
17824
17851
|
left: P.left - _.left + w.left,
|
|
@@ -17871,7 +17898,7 @@ function lx(r) {
|
|
|
17871
17898
|
flipVariations: g,
|
|
17872
17899
|
allowedAutoPlacements: f
|
|
17873
17900
|
}) : st);
|
|
17874
|
-
}, []), P = e.rects.reference, x = e.rects.popper, v = /* @__PURE__ */ new Map(),
|
|
17901
|
+
}, []), P = e.rects.reference, x = e.rects.popper, v = /* @__PURE__ */ new Map(), z = !0, _ = y[0], B = 0; B < y.length; B++) {
|
|
17875
17902
|
var T = y[B], j = Yt(T), q = Go(T) === qo, oe = [ft, Dt].indexOf(j) >= 0, Q = oe ? "width" : "height", Z = Kn(e, {
|
|
17876
17903
|
placement: T,
|
|
17877
17904
|
boundary: c,
|
|
@@ -17884,12 +17911,12 @@ function lx(r) {
|
|
|
17884
17911
|
if (i && se.push(Z[j] <= 0), a && se.push(Z[le] <= 0, Z[he] <= 0), se.every(function(Ee) {
|
|
17885
17912
|
return Ee;
|
|
17886
17913
|
})) {
|
|
17887
|
-
_ = T,
|
|
17914
|
+
_ = T, z = !1;
|
|
17888
17915
|
break;
|
|
17889
17916
|
}
|
|
17890
17917
|
v.set(T, se);
|
|
17891
17918
|
}
|
|
17892
|
-
if (
|
|
17919
|
+
if (z)
|
|
17893
17920
|
for (var ae = g ? 3 : 1, re = function(st) {
|
|
17894
17921
|
var mt = y.find(function(wo) {
|
|
17895
17922
|
var er = v.get(wo);
|
|
@@ -18005,7 +18032,7 @@ function yx(r) {
|
|
|
18005
18032
|
rootBoundary: d,
|
|
18006
18033
|
padding: p,
|
|
18007
18034
|
altBoundary: c
|
|
18008
|
-
}), w = Yt(e.placement), C = Go(e.placement), E = !C, y =
|
|
18035
|
+
}), w = Yt(e.placement), C = Go(e.placement), E = !C, y = zd(w), P = bx(y), x = e.modifiersData.popperOffsets, v = e.rects.reference, z = e.rects.popper, _ = typeof f == "function" ? f(Object.assign({}, e.rects, {
|
|
18009
18036
|
placement: e.placement
|
|
18010
18037
|
})) : f, B = typeof _ == "number" ? {
|
|
18011
18038
|
mainAxis: _,
|
|
@@ -18019,14 +18046,14 @@ function yx(r) {
|
|
|
18019
18046
|
};
|
|
18020
18047
|
if (x) {
|
|
18021
18048
|
if (i) {
|
|
18022
|
-
var q, oe = y === "y" ? ft : bt, Q = y === "y" ? Dt : Nt, Z = y === "y" ? "height" : "width", le = x[y], he = le + b[oe], se = le - b[Q], ae = m ? -
|
|
18049
|
+
var q, oe = y === "y" ? ft : bt, Q = y === "y" ? Dt : Nt, Z = y === "y" ? "height" : "width", le = x[y], he = le + b[oe], se = le - b[Q], ae = m ? -z[Z] / 2 : 0, re = C === qo ? v[Z] : z[Z], ce = C === qo ? -z[Z] : -v[Z], De = e.elements.arrow, Ee = m && De ? _d(De) : {
|
|
18023
18050
|
width: 0,
|
|
18024
18051
|
height: 0
|
|
18025
18052
|
}, st = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : eg(), mt = st[oe], wo = st[Q], er = Cn(0, v[Z], Ee[Z]), vo = E ? v[Z] / 2 - ae - er - mt - B.mainAxis : re - 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);
|
|
18026
18053
|
x[y] = rn, j[y] = rn - le;
|
|
18027
18054
|
}
|
|
18028
18055
|
if (a) {
|
|
18029
|
-
var on, fi = y === "x" ? ft : bt, bi = y === "x" ? Dt : Nt, tr = x[P], br = P === "y" ? "height" : "width", nn = tr + b[fi], qr = tr - b[bi], sn = [ft, bt].indexOf(w) !== -1, yi = (on = T == null ? void 0 : T[P]) != null ? on : 0, wi = sn ? nn : tr - v[br] -
|
|
18056
|
+
var on, fi = y === "x" ? ft : bt, bi = y === "x" ? Dt : Nt, tr = x[P], br = P === "y" ? "height" : "width", nn = tr + b[fi], qr = tr - b[bi], sn = [ft, bt].indexOf(w) !== -1, yi = (on = T == null ? void 0 : T[P]) != null ? on : 0, wi = sn ? nn : tr - v[br] - z[br] - yi + B.altAxis, vi = sn ? tr + v[br] + z[br] - yi - B.altAxis : qr, xi = m && sn ? H2(wi, tr, vi) : Cn(m ? wi : nn, tr, m ? vi : qr);
|
|
18030
18057
|
x[P] = xi, j[P] = xi - tr;
|
|
18031
18058
|
}
|
|
18032
18059
|
e.modifiersData[o] = j;
|
|
@@ -18046,7 +18073,7 @@ function vx(r) {
|
|
|
18046
18073
|
};
|
|
18047
18074
|
}
|
|
18048
18075
|
function xx(r) {
|
|
18049
|
-
return r === St(r) || !Lt(r) ?
|
|
18076
|
+
return r === St(r) || !Lt(r) ? Fd(r) : vx(r);
|
|
18050
18077
|
}
|
|
18051
18078
|
function kx(r) {
|
|
18052
18079
|
var e = r.getBoundingClientRect(), t = Uo(e.width) / r.offsetWidth || 1, o = Uo(e.height) / r.offsetHeight || 1;
|
|
@@ -18179,10 +18206,10 @@ function Ox(r) {
|
|
|
18179
18206
|
c.reset = !1, y = -1;
|
|
18180
18207
|
continue;
|
|
18181
18208
|
}
|
|
18182
|
-
var P = c.orderedModifiers[y], x = P.fn, v = P.options,
|
|
18209
|
+
var P = c.orderedModifiers[y], x = P.fn, v = P.options, z = v === void 0 ? {} : v, _ = P.name;
|
|
18183
18210
|
typeof x == "function" && (c = x({
|
|
18184
18211
|
state: c,
|
|
18185
|
-
options:
|
|
18212
|
+
options: z,
|
|
18186
18213
|
name: _,
|
|
18187
18214
|
instance: m
|
|
18188
18215
|
}) || c);
|
|
@@ -18276,7 +18303,7 @@ function Ix(r) {
|
|
|
18276
18303
|
function Lo(r) {
|
|
18277
18304
|
return [].concat(r);
|
|
18278
18305
|
}
|
|
18279
|
-
function
|
|
18306
|
+
function zp(r, e) {
|
|
18280
18307
|
r.indexOf(e) === -1 && r.push(e);
|
|
18281
18308
|
}
|
|
18282
18309
|
function Rx(r) {
|
|
@@ -18290,7 +18317,7 @@ function $x(r) {
|
|
|
18290
18317
|
function vs(r) {
|
|
18291
18318
|
return [].slice.call(r);
|
|
18292
18319
|
}
|
|
18293
|
-
function
|
|
18320
|
+
function Fp(r) {
|
|
18294
18321
|
return Object.keys(r).reduce(function(e, t) {
|
|
18295
18322
|
return r[t] !== void 0 && (e[t] = r[t]), e;
|
|
18296
18323
|
}, {});
|
|
@@ -18306,10 +18333,10 @@ function Gn(r) {
|
|
|
18306
18333
|
function _x(r) {
|
|
18307
18334
|
return Vd(r, "NodeList");
|
|
18308
18335
|
}
|
|
18309
|
-
function
|
|
18336
|
+
function zx(r) {
|
|
18310
18337
|
return Vd(r, "MouseEvent");
|
|
18311
18338
|
}
|
|
18312
|
-
function
|
|
18339
|
+
function Fx(r) {
|
|
18313
18340
|
return !!(r && r._tippy && r._tippy.reference === r);
|
|
18314
18341
|
}
|
|
18315
18342
|
function jx(r) {
|
|
@@ -18366,7 +18393,7 @@ function cg() {
|
|
|
18366
18393
|
}
|
|
18367
18394
|
function qx() {
|
|
18368
18395
|
var r = document.activeElement;
|
|
18369
|
-
if (
|
|
18396
|
+
if (Fx(r)) {
|
|
18370
18397
|
var e = r._tippy;
|
|
18371
18398
|
r.blur && !e.state.isVisible && r.blur();
|
|
18372
18399
|
}
|
|
@@ -18552,17 +18579,17 @@ function hg(r, e) {
|
|
|
18552
18579
|
var r5 = function() {
|
|
18553
18580
|
return "innerHTML";
|
|
18554
18581
|
};
|
|
18555
|
-
function
|
|
18582
|
+
function zl(r, e) {
|
|
18556
18583
|
r[r5()] = e;
|
|
18557
18584
|
}
|
|
18558
18585
|
function Up(r) {
|
|
18559
18586
|
var e = En();
|
|
18560
|
-
return r === !0 ? e.className = sg : (e.className = ag, Gn(r) ? e.appendChild(r) :
|
|
18587
|
+
return r === !0 ? e.className = sg : (e.className = ag, Gn(r) ? e.appendChild(r) : zl(e, r)), e;
|
|
18561
18588
|
}
|
|
18562
18589
|
function Kp(r, e) {
|
|
18563
|
-
Gn(e.content) ? (
|
|
18590
|
+
Gn(e.content) ? (zl(r, ""), r.appendChild(e.content)) : typeof e.content != "function" && (e.allowHTML ? zl(r, e.content) : r.textContent = e.content);
|
|
18564
18591
|
}
|
|
18565
|
-
function
|
|
18592
|
+
function Fl(r) {
|
|
18566
18593
|
var e = r.firstElementChild, t = vs(e.children);
|
|
18567
18594
|
return {
|
|
18568
18595
|
box: e,
|
|
@@ -18583,7 +18610,7 @@ function gg(r) {
|
|
|
18583
18610
|
var o = En();
|
|
18584
18611
|
o.className = ig, o.setAttribute("data-state", "hidden"), Kp(o, r.props), e.appendChild(t), t.appendChild(o), n(r.props, r.props);
|
|
18585
18612
|
function n(i, s) {
|
|
18586
|
-
var a =
|
|
18613
|
+
var a = Fl(e), l = a.box, d = a.content, c = a.arrow;
|
|
18587
18614
|
s.theme ? l.setAttribute("data-theme", s.theme) : l.removeAttribute("data-theme"), typeof s.animation == "string" ? l.setAttribute("data-animation", s.animation) : l.removeAttribute("data-animation"), s.inertia ? l.setAttribute("data-inertia", "") : l.removeAttribute("data-inertia"), l.style.maxWidth = typeof s.maxWidth == "number" ? s.maxWidth + "px" : s.maxWidth, s.role ? l.setAttribute("role", s.role) : l.removeAttribute("role"), (i.content !== s.content || i.allowHTML !== s.allowHTML) && Kp(d, r.props), s.arrow ? c ? i.arrow !== s.arrow && (l.removeChild(c), l.appendChild(Up(s.arrow))) : l.appendChild(Up(s.arrow)) : c && l.removeChild(c);
|
|
18588
18615
|
}
|
|
18589
18616
|
return {
|
|
@@ -18592,9 +18619,9 @@ function gg(r) {
|
|
|
18592
18619
|
};
|
|
18593
18620
|
}
|
|
18594
18621
|
gg.$$tippy = !0;
|
|
18595
|
-
var o5 = 1,
|
|
18622
|
+
var o5 = 1, zi = [], Ga = [];
|
|
18596
18623
|
function n5(r, e) {
|
|
18597
|
-
var t = qp(r, Object.assign({}, vt, mg(
|
|
18624
|
+
var t = qp(r, Object.assign({}, vt, mg(Fp(e)))), o, n, i, s = !1, a = !1, l = !1, d = !1, c, p, u, m = [], g = _p(hi, t.interactiveDebounce), f, b = o5++, w = null, C = Rx(t.plugins), E = {
|
|
18598
18625
|
// Is the instance currently enabled?
|
|
18599
18626
|
isEnabled: !0,
|
|
18600
18627
|
// Is the tippy currently showing and not transitioning out?
|
|
@@ -18630,7 +18657,7 @@ function n5(r, e) {
|
|
|
18630
18657
|
return process.env.NODE_ENV !== "production" && _l(!0, "render() function has not been supplied."), y;
|
|
18631
18658
|
var P = t.render(y), x = P.popper, v = P.onUpdate;
|
|
18632
18659
|
x.setAttribute("data-tippy-root", ""), x.id = "tippy-" + y.id, y.popper = x, r._tippy = y, x._tippy = y;
|
|
18633
|
-
var
|
|
18660
|
+
var z = C.map(function(A) {
|
|
18634
18661
|
return A.fn(y);
|
|
18635
18662
|
}), _ = r.hasAttribute("aria-expanded");
|
|
18636
18663
|
return xo(), ae(), le(), he("onCreate", [y]), t.showOnCreate && nn(), x.addEventListener("mouseenter", function() {
|
|
@@ -18657,7 +18684,7 @@ function n5(r, e) {
|
|
|
18657
18684
|
return A ? Hx(A) : document;
|
|
18658
18685
|
}
|
|
18659
18686
|
function Q() {
|
|
18660
|
-
return
|
|
18687
|
+
return Fl(x);
|
|
18661
18688
|
}
|
|
18662
18689
|
function Z(A) {
|
|
18663
18690
|
return y.state.isMounted && !y.state.isVisible || Wt.isTouch || c && c.type === "focus" ? 0 : qa(y.props.delay, A ? 0 : 1, vt.delay);
|
|
@@ -18666,7 +18693,7 @@ function n5(r, e) {
|
|
|
18666
18693
|
A === void 0 && (A = !1), x.style.pointerEvents = y.props.interactive && !A ? "" : "none", x.style.zIndex = "" + y.props.zIndex;
|
|
18667
18694
|
}
|
|
18668
18695
|
function he(A, W, G) {
|
|
18669
|
-
if (G === void 0 && (G = !0),
|
|
18696
|
+
if (G === void 0 && (G = !0), z.forEach(function(de) {
|
|
18670
18697
|
de[A] && de[A].apply(de, W);
|
|
18671
18698
|
}), G) {
|
|
18672
18699
|
var me;
|
|
@@ -18697,7 +18724,7 @@ function n5(r, e) {
|
|
|
18697
18724
|
}
|
|
18698
18725
|
}
|
|
18699
18726
|
function re() {
|
|
18700
|
-
oe().removeEventListener("mousemove", g),
|
|
18727
|
+
oe().removeEventListener("mousemove", g), zi = zi.filter(function(A) {
|
|
18701
18728
|
return A !== g;
|
|
18702
18729
|
});
|
|
18703
18730
|
}
|
|
@@ -18791,7 +18818,7 @@ function n5(r, e) {
|
|
|
18791
18818
|
var W, G = !1;
|
|
18792
18819
|
if (!(!y.state.isEnabled || on(A) || a)) {
|
|
18793
18820
|
var me = ((W = c) == null ? void 0 : W.type) === "focus";
|
|
18794
|
-
c = A, f = A.currentTarget, ae(), !y.state.isVisible &&
|
|
18821
|
+
c = A, f = A.currentTarget, ae(), !y.state.isVisible && zx(A) && zi.forEach(function(de) {
|
|
18795
18822
|
return de(A);
|
|
18796
18823
|
}), A.type === "click" && (y.props.trigger.indexOf("mouseenter") < 0 || s) && y.props.hideOnClick !== !1 && y.state.isVisible ? G = !0 : nn(A), A.type === "click" && (s = !G), G && !me && qr(A);
|
|
18797
18824
|
}
|
|
@@ -18828,7 +18855,7 @@ function n5(r, e) {
|
|
|
18828
18855
|
}
|
|
18829
18856
|
function fi() {
|
|
18830
18857
|
bi();
|
|
18831
|
-
var A = y.props, W = A.popperOptions, G = A.placement, me = A.offset, de = A.getReferenceClientRect, at = A.moveTransition, Ct = j() ?
|
|
18858
|
+
var A = y.props, W = A.popperOptions, G = A.placement, me = A.offset, de = A.getReferenceClientRect, at = A.moveTransition, Ct = j() ? Fl(x).arrow : null, ko = de ? {
|
|
18832
18859
|
getBoundingClientRect: de,
|
|
18833
18860
|
contextElement: de.contextElement || q()
|
|
18834
18861
|
} : r, ec = {
|
|
@@ -18932,7 +18959,7 @@ function n5(r, e) {
|
|
|
18932
18959
|
function vi(A) {
|
|
18933
18960
|
if (process.env.NODE_ENV !== "production" && lr(y.state.isDestroyed, Oo("setProps")), !y.state.isDestroyed) {
|
|
18934
18961
|
he("onBeforeUpdate", [y, A]), mi();
|
|
18935
|
-
var W = y.props, G = qp(r, Object.assign({}, W,
|
|
18962
|
+
var W = y.props, G = qp(r, Object.assign({}, W, Fp(A), {
|
|
18936
18963
|
ignoreAttributes: !0
|
|
18937
18964
|
}));
|
|
18938
18965
|
y.props = G, xo(), W.interactiveDebounce !== G.interactiveDebounce && (re(), g = _p(hi, G.interactiveDebounce)), W.triggerTarget && !G.triggerTarget ? Lo(W.triggerTarget).forEach(function(me) {
|
|
@@ -18962,7 +18989,7 @@ function n5(r, e) {
|
|
|
18962
18989
|
var ya = Q(), ki = ya.box, So = ya.content;
|
|
18963
18990
|
Ua([ki, So], de), jp([ki, So], "visible");
|
|
18964
18991
|
}
|
|
18965
|
-
se(), ae(),
|
|
18992
|
+
se(), ae(), zp(Ga, y), (Ur = y.popperInstance) == null || Ur.forceUpdate(), he("onMount", [y]), y.props.animation && j() && er(de, function() {
|
|
18966
18993
|
y.state.isShown = !0, he("onShown", [y]);
|
|
18967
18994
|
});
|
|
18968
18995
|
}
|
|
@@ -18981,7 +19008,7 @@ function n5(r, e) {
|
|
|
18981
19008
|
}
|
|
18982
19009
|
}
|
|
18983
19010
|
function Ng(A) {
|
|
18984
|
-
process.env.NODE_ENV !== "production" && lr(y.state.isDestroyed, Oo("hideWithInteractivity")), oe().addEventListener("mousemove", g),
|
|
19011
|
+
process.env.NODE_ENV !== "production" && lr(y.state.isDestroyed, Oo("hideWithInteractivity")), oe().addEventListener("mousemove", g), zp(zi, g), g(A);
|
|
18985
19012
|
}
|
|
18986
19013
|
function Ig() {
|
|
18987
19014
|
process.env.NODE_ENV !== "production" && lr(y.state.isDestroyed, Oo("unmount")), y.state.isVisible && y.hide(), y.state.isMounted && (bi(), br().forEach(function(A) {
|
|
@@ -19133,7 +19160,7 @@ class i5 {
|
|
|
19133
19160
|
!((e = this.tippy) === null || e === void 0) && e.popper.firstChild && this.tippy.popper.firstChild.removeEventListener("blur", this.tippyBlurHandler), (t = this.tippy) === null || t === void 0 || t.destroy(), this.element.removeEventListener("mousedown", this.mousedownHandler, { capture: !0 }), this.view.dom.removeEventListener("dragstart", this.dragstartHandler), this.editor.off("focus", this.focusHandler), this.editor.off("blur", this.blurHandler);
|
|
19134
19161
|
}
|
|
19135
19162
|
}
|
|
19136
|
-
const fg = (r) => new
|
|
19163
|
+
const fg = (r) => new Fe({
|
|
19137
19164
|
key: typeof r.pluginKey == "string" ? new ut(r.pluginKey) : r.pluginKey,
|
|
19138
19165
|
view: (e) => new i5({ view: e, ...r })
|
|
19139
19166
|
});
|
|
@@ -19228,7 +19255,7 @@ class s5 {
|
|
|
19228
19255
|
!((e = this.tippy) === null || e === void 0) && e.popper.firstChild && this.tippy.popper.firstChild.removeEventListener("blur", this.tippyBlurHandler), (t = this.tippy) === null || t === void 0 || t.destroy(), this.element.removeEventListener("mousedown", this.mousedownHandler, { capture: !0 }), this.editor.off("focus", this.focusHandler), this.editor.off("blur", this.blurHandler);
|
|
19229
19256
|
}
|
|
19230
19257
|
}
|
|
19231
|
-
const bg = (r) => new
|
|
19258
|
+
const bg = (r) => new Fe({
|
|
19232
19259
|
key: typeof r.pluginKey == "string" ? new ut(r.pluginKey) : r.pluginKey,
|
|
19233
19260
|
view: (e) => new s5({ view: e, ...r })
|
|
19234
19261
|
});
|
|
@@ -19470,7 +19497,7 @@ const d5 = (r = {}) => {
|
|
|
19470
19497
|
const i = (t = e.value) === null || t === void 0 ? void 0 : t.options.element, s = i == null ? void 0 : i.cloneNode(!0);
|
|
19471
19498
|
(o = i == null ? void 0 : i.parentNode) === null || o === void 0 || o.replaceChild(s, i), (n = e.value) === null || n === void 0 || n.destroy();
|
|
19472
19499
|
}), e;
|
|
19473
|
-
}, c5 = /^\s*>\s$/, p5 =
|
|
19500
|
+
}, c5 = /^\s*>\s$/, p5 = Ft.create({
|
|
19474
19501
|
name: "blockquote",
|
|
19475
19502
|
addOptions() {
|
|
19476
19503
|
return {
|
|
@@ -19574,7 +19601,7 @@ const d5 = (r = {}) => {
|
|
|
19574
19601
|
})
|
|
19575
19602
|
];
|
|
19576
19603
|
}
|
|
19577
|
-
}), b5 = "listItem", Jp = "textStyle", Yp = /^\s*([-+*])\s$/, y5 =
|
|
19604
|
+
}), b5 = "listItem", Jp = "textStyle", Yp = /^\s*([-+*])\s$/, y5 = Ft.create({
|
|
19578
19605
|
name: "bulletList",
|
|
19579
19606
|
addOptions() {
|
|
19580
19607
|
return {
|
|
@@ -19668,7 +19695,7 @@ const d5 = (r = {}) => {
|
|
|
19668
19695
|
})
|
|
19669
19696
|
];
|
|
19670
19697
|
}
|
|
19671
|
-
}), k5 = /^```([a-z]+)?[\s\n]$/, S5 = /^~~~([a-z]+)?[\s\n]$/, C5 =
|
|
19698
|
+
}), k5 = /^```([a-z]+)?[\s\n]$/, S5 = /^~~~([a-z]+)?[\s\n]$/, C5 = Ft.create({
|
|
19672
19699
|
name: "codeBlock",
|
|
19673
19700
|
addOptions() {
|
|
19674
19701
|
return {
|
|
@@ -19778,7 +19805,7 @@ const d5 = (r = {}) => {
|
|
|
19778
19805
|
return [
|
|
19779
19806
|
// this plugin creates a code block for pasted content from VS Code
|
|
19780
19807
|
// we can also detect the copied code language
|
|
19781
|
-
new
|
|
19808
|
+
new Fe({
|
|
19782
19809
|
key: new ut("codeBlockVSCodeHandler"),
|
|
19783
19810
|
props: {
|
|
19784
19811
|
handlePaste: (r, e) => {
|
|
@@ -19795,13 +19822,13 @@ const d5 = (r = {}) => {
|
|
|
19795
19822
|
})
|
|
19796
19823
|
];
|
|
19797
19824
|
}
|
|
19798
|
-
}), M5 =
|
|
19825
|
+
}), M5 = Ft.create({
|
|
19799
19826
|
name: "doc",
|
|
19800
19827
|
topNode: !0,
|
|
19801
19828
|
content: "block+"
|
|
19802
19829
|
});
|
|
19803
19830
|
function E5(r = {}) {
|
|
19804
|
-
return new
|
|
19831
|
+
return new Fe({
|
|
19805
19832
|
view(e) {
|
|
19806
19833
|
return new T5(e, r);
|
|
19807
19834
|
}
|
|
@@ -20031,7 +20058,7 @@ function B5(r) {
|
|
|
20031
20058
|
return !0;
|
|
20032
20059
|
}
|
|
20033
20060
|
function A5() {
|
|
20034
|
-
return new
|
|
20061
|
+
return new Fe({
|
|
20035
20062
|
props: {
|
|
20036
20063
|
decorations: I5,
|
|
20037
20064
|
createSelectionBetween(r, e, t) {
|
|
@@ -20044,12 +20071,12 @@ function A5() {
|
|
|
20044
20071
|
});
|
|
20045
20072
|
}
|
|
20046
20073
|
const L5 = Ch({
|
|
20047
|
-
ArrowLeft:
|
|
20048
|
-
ArrowRight:
|
|
20049
|
-
ArrowUp:
|
|
20050
|
-
ArrowDown:
|
|
20074
|
+
ArrowLeft: Fi("horiz", -1),
|
|
20075
|
+
ArrowRight: Fi("horiz", 1),
|
|
20076
|
+
ArrowUp: Fi("vert", -1),
|
|
20077
|
+
ArrowDown: Fi("vert", 1)
|
|
20051
20078
|
});
|
|
20052
|
-
function
|
|
20079
|
+
function Fi(r, e) {
|
|
20053
20080
|
const t = r == "vert" ? e > 0 ? "down" : "up" : e > 0 ? "right" : "left";
|
|
20054
20081
|
return function(o, n, i) {
|
|
20055
20082
|
let s = o.selection, a = e > 0 ? s.$to : s.$from, l = s.empty;
|
|
@@ -20107,7 +20134,7 @@ const R5 = Xe.create({
|
|
|
20107
20134
|
allowGapCursor: (e = te(V(r, "allowGapCursor", t))) !== null && e !== void 0 ? e : null
|
|
20108
20135
|
};
|
|
20109
20136
|
}
|
|
20110
|
-
}), $5 =
|
|
20137
|
+
}), $5 = Ft.create({
|
|
20111
20138
|
name: "hardBreak",
|
|
20112
20139
|
addOptions() {
|
|
20113
20140
|
return {
|
|
@@ -20157,7 +20184,7 @@ const R5 = Xe.create({
|
|
|
20157
20184
|
"Shift-Enter": () => this.editor.commands.setHardBreak()
|
|
20158
20185
|
};
|
|
20159
20186
|
}
|
|
20160
|
-
}), _5 =
|
|
20187
|
+
}), _5 = Ft.create({
|
|
20161
20188
|
name: "heading",
|
|
20162
20189
|
addOptions() {
|
|
20163
20190
|
return {
|
|
@@ -20216,7 +20243,7 @@ qe.prototype.prepend = function(e) {
|
|
|
20216
20243
|
return e.length ? qe.from(e).append(this) : this;
|
|
20217
20244
|
};
|
|
20218
20245
|
qe.prototype.appendInner = function(e) {
|
|
20219
|
-
return new
|
|
20246
|
+
return new z5(this, e);
|
|
20220
20247
|
};
|
|
20221
20248
|
qe.prototype.slice = function(e, t) {
|
|
20222
20249
|
return e === void 0 && (e = 0), t === void 0 && (t = this.length), e >= t ? qe.empty : this.sliceInner(Math.max(0, e), Math.min(this.length, t));
|
|
@@ -20271,7 +20298,7 @@ var yg = /* @__PURE__ */ function(r) {
|
|
|
20271
20298
|
}, Object.defineProperties(e.prototype, t), e;
|
|
20272
20299
|
}(qe);
|
|
20273
20300
|
qe.empty = new yg([]);
|
|
20274
|
-
var
|
|
20301
|
+
var z5 = /* @__PURE__ */ function(r) {
|
|
20275
20302
|
function e(t, o) {
|
|
20276
20303
|
r.call(this), this.left = t, this.right = o, this.length = t.length + o.length, this.depth = Math.max(t.depth, o.depth) + 1;
|
|
20277
20304
|
}
|
|
@@ -20304,7 +20331,7 @@ var F5 = /* @__PURE__ */ function(r) {
|
|
|
20304
20331
|
return this.left.depth >= Math.max(this.right.depth, o.depth) + 1 ? new e(this.left, new e(this.right, o)) : new e(this, o);
|
|
20305
20332
|
}, e;
|
|
20306
20333
|
}(qe);
|
|
20307
|
-
const
|
|
20334
|
+
const F5 = 500;
|
|
20308
20335
|
class _t {
|
|
20309
20336
|
constructor(e, t) {
|
|
20310
20337
|
this.items = e, this.eventCount = t;
|
|
@@ -20349,7 +20376,7 @@ class _t {
|
|
|
20349
20376
|
return d > H5 && (a = j5(a, d), s -= d), new _t(a.append(i), s);
|
|
20350
20377
|
}
|
|
20351
20378
|
remapping(e, t) {
|
|
20352
|
-
let o = new
|
|
20379
|
+
let o = new zn();
|
|
20353
20380
|
return this.items.forEach((n, i) => {
|
|
20354
20381
|
let s = n.mirrorOffset != null && i - n.mirrorOffset >= e ? o.maps.length - n.mirrorOffset : void 0;
|
|
20355
20382
|
o.appendMap(n.map, s);
|
|
@@ -20386,7 +20413,7 @@ class _t {
|
|
|
20386
20413
|
for (let u = t; u < s; u++)
|
|
20387
20414
|
d.push(new jt(i.maps[u]));
|
|
20388
20415
|
let c = this.items.slice(0, n).append(d).append(o), p = new _t(c, a);
|
|
20389
|
-
return p.emptyItemCount() >
|
|
20416
|
+
return p.emptyItemCount() > F5 && (p = p.compress(this.items.length - o.length)), p;
|
|
20390
20417
|
}
|
|
20391
20418
|
emptyItemCount() {
|
|
20392
20419
|
let e = 0;
|
|
@@ -20510,7 +20537,7 @@ function K5(r = {}) {
|
|
|
20510
20537
|
return r = {
|
|
20511
20538
|
depth: r.depth || 100,
|
|
20512
20539
|
newGroupDelay: r.newGroupDelay || 500
|
|
20513
|
-
}, new
|
|
20540
|
+
}, new Fe({
|
|
20514
20541
|
key: co,
|
|
20515
20542
|
state: {
|
|
20516
20543
|
init() {
|
|
@@ -20572,7 +20599,7 @@ const vg = wg(!1, !0), xg = wg(!0, !0), G5 = Xe.create({
|
|
|
20572
20599
|
"Shift-Mod-я": () => this.editor.commands.redo()
|
|
20573
20600
|
};
|
|
20574
20601
|
}
|
|
20575
|
-
}), J5 =
|
|
20602
|
+
}), J5 = Ft.create({
|
|
20576
20603
|
name: "horizontalRule",
|
|
20577
20604
|
addOptions() {
|
|
20578
20605
|
return {
|
|
@@ -20687,7 +20714,7 @@ const vg = wg(!1, !0), xg = wg(!0, !0), G5 = Xe.create({
|
|
|
20687
20714
|
})
|
|
20688
20715
|
];
|
|
20689
20716
|
}
|
|
20690
|
-
}), t3 =
|
|
20717
|
+
}), t3 = Ft.create({
|
|
20691
20718
|
name: "listItem",
|
|
20692
20719
|
addOptions() {
|
|
20693
20720
|
return {
|
|
@@ -20715,7 +20742,7 @@ const vg = wg(!1, !0), xg = wg(!0, !0), G5 = Xe.create({
|
|
|
20715
20742
|
"Shift-Tab": () => this.editor.commands.liftListItem(this.name)
|
|
20716
20743
|
};
|
|
20717
20744
|
}
|
|
20718
|
-
}), r3 = "listItem", Zp = "textStyle", eu = /^(\d+)\.\s$/, o3 =
|
|
20745
|
+
}), r3 = "listItem", Zp = "textStyle", eu = /^(\d+)\.\s$/, o3 = Ft.create({
|
|
20719
20746
|
name: "orderedList",
|
|
20720
20747
|
addOptions() {
|
|
20721
20748
|
return {
|
|
@@ -20781,7 +20808,7 @@ const vg = wg(!1, !0), xg = wg(!0, !0), G5 = Xe.create({
|
|
|
20781
20808
|
r
|
|
20782
20809
|
];
|
|
20783
20810
|
}
|
|
20784
|
-
}), n3 =
|
|
20811
|
+
}), n3 = Ft.create({
|
|
20785
20812
|
name: "paragraph",
|
|
20786
20813
|
priority: 1e3,
|
|
20787
20814
|
addOptions() {
|
|
@@ -20865,7 +20892,7 @@ const vg = wg(!1, !0), xg = wg(!0, !0), G5 = Xe.create({
|
|
|
20865
20892
|
})
|
|
20866
20893
|
];
|
|
20867
20894
|
}
|
|
20868
|
-
}), l3 =
|
|
20895
|
+
}), l3 = Ft.create({
|
|
20869
20896
|
name: "text",
|
|
20870
20897
|
group: "inline"
|
|
20871
20898
|
}), d3 = Xe.create({
|
|
@@ -21019,7 +21046,7 @@ ht.prototype = {
|
|
|
21019
21046
|
return n.j[r] = s, s;
|
|
21020
21047
|
}
|
|
21021
21048
|
};
|
|
21022
|
-
const ee = (r, e, t, o, n) => r.ta(e, t, o, n), Te = (r, e, t, o, n) => r.tr(e, t, o, n), tu = (r, e, t, o, n) => r.ts(e, t, o, n), I = (r, e, t, o, n) => r.tt(e, t, o, n), sr = "WORD", ql = "UWORD", Sg = "ASCIINUMERICAL", Cg = "ALPHANUMERICAL", Yn = "LOCALHOST", Ul = "TLD", Kl = "UTLD", es = "SCHEME", Do = "SLASH_SCHEME", qd = "NUM", Gl = "WS", Ud = "NL", On = "OPENBRACE", Pn = "CLOSEBRACE", ks = "OPENBRACKET", Ss = "CLOSEBRACKET", Cs = "OPENPAREN", Ms = "CLOSEPAREN", Es = "OPENANGLEBRACKET", Ts = "CLOSEANGLEBRACKET", Os = "FULLWIDTHLEFTPAREN", Ps = "FULLWIDTHRIGHTPAREN", Bs = "LEFTCORNERBRACKET", As = "RIGHTCORNERBRACKET", Ls = "LEFTWHITECORNERBRACKET", Ds = "RIGHTWHITECORNERBRACKET", Ns = "FULLWIDTHLESSTHAN", Is = "FULLWIDTHGREATERTHAN", Rs = "AMPERSAND", $s = "APOSTROPHE", _s = "ASTERISK", kr = "AT",
|
|
21049
|
+
const ee = (r, e, t, o, n) => r.ta(e, t, o, n), Te = (r, e, t, o, n) => r.tr(e, t, o, n), tu = (r, e, t, o, n) => r.ts(e, t, o, n), I = (r, e, t, o, n) => r.tt(e, t, o, n), sr = "WORD", ql = "UWORD", Sg = "ASCIINUMERICAL", Cg = "ALPHANUMERICAL", Yn = "LOCALHOST", Ul = "TLD", Kl = "UTLD", es = "SCHEME", Do = "SLASH_SCHEME", qd = "NUM", Gl = "WS", Ud = "NL", On = "OPENBRACE", Pn = "CLOSEBRACE", ks = "OPENBRACKET", Ss = "CLOSEBRACKET", Cs = "OPENPAREN", Ms = "CLOSEPAREN", Es = "OPENANGLEBRACKET", Ts = "CLOSEANGLEBRACKET", Os = "FULLWIDTHLEFTPAREN", Ps = "FULLWIDTHRIGHTPAREN", Bs = "LEFTCORNERBRACKET", As = "RIGHTCORNERBRACKET", Ls = "LEFTWHITECORNERBRACKET", Ds = "RIGHTWHITECORNERBRACKET", Ns = "FULLWIDTHLESSTHAN", Is = "FULLWIDTHGREATERTHAN", Rs = "AMPERSAND", $s = "APOSTROPHE", _s = "ASTERISK", kr = "AT", zs = "BACKSLASH", Fs = "BACKTICK", js = "CARET", Cr = "COLON", Kd = "COMMA", Hs = "DOLLAR", Ht = "DOT", Vs = "EQUALS", Gd = "EXCLAMATION", Tt = "HYPHEN", Bn = "PERCENT", Ws = "PIPE", qs = "PLUS", Us = "POUND", An = "QUERY", Jd = "QUOTE", Mg = "FULLWIDTHMIDDLEDOT", Yd = "SEMI", Vt = "SLASH", Ln = "TILDE", Ks = "UNDERSCORE", Eg = "EMOJI", Gs = "SYM";
|
|
21023
21050
|
var Tg = /* @__PURE__ */ Object.freeze({
|
|
21024
21051
|
__proto__: null,
|
|
21025
21052
|
ALPHANUMERICAL: Cg,
|
|
@@ -21028,8 +21055,8 @@ var Tg = /* @__PURE__ */ Object.freeze({
|
|
|
21028
21055
|
ASCIINUMERICAL: Sg,
|
|
21029
21056
|
ASTERISK: _s,
|
|
21030
21057
|
AT: kr,
|
|
21031
|
-
BACKSLASH:
|
|
21032
|
-
BACKTICK:
|
|
21058
|
+
BACKSLASH: zs,
|
|
21059
|
+
BACKTICK: Fs,
|
|
21033
21060
|
CARET: js,
|
|
21034
21061
|
CLOSEANGLEBRACKET: Ts,
|
|
21035
21062
|
CLOSEBRACE: Pn,
|
|
@@ -21085,7 +21112,7 @@ function y3(r = []) {
|
|
|
21085
21112
|
const e = {};
|
|
21086
21113
|
ht.groups = e;
|
|
21087
21114
|
const t = new ht();
|
|
21088
|
-
ji == null && (ji = ou(c3)), Hi == null && (Hi = ou(p3)), I(t, "'", $s), I(t, "{", On), I(t, "}", Pn), I(t, "[", ks), I(t, "]", Ss), I(t, "(", Cs), I(t, ")", Ms), I(t, "<", Es), I(t, ">", Ts), I(t, "(", Os), I(t, ")", Ps), I(t, "「", Bs), I(t, "」", As), I(t, "『", Ls), I(t, "』", Ds), I(t, "<", Ns), I(t, ">", Is), I(t, "&", Rs), I(t, "*", _s), I(t, "@", kr), I(t, "`",
|
|
21115
|
+
ji == null && (ji = ou(c3)), Hi == null && (Hi = ou(p3)), I(t, "'", $s), I(t, "{", On), I(t, "}", Pn), I(t, "[", ks), I(t, "]", Ss), I(t, "(", Cs), I(t, ")", Ms), I(t, "<", Es), I(t, ">", Ts), I(t, "(", Os), I(t, ")", Ps), I(t, "「", Bs), I(t, "」", As), I(t, "『", Ls), I(t, "』", Ds), I(t, "<", Ns), I(t, ">", Is), I(t, "&", Rs), I(t, "*", _s), I(t, "@", kr), I(t, "`", Fs), I(t, "^", js), I(t, ":", Cr), I(t, ",", Kd), I(t, "$", Hs), I(t, ".", Ht), I(t, "=", Vs), I(t, "!", Gd), I(t, "-", Tt), I(t, "%", Bn), I(t, "|", Ws), I(t, "+", qs), I(t, "#", Us), I(t, "?", An), I(t, '"', Jd), I(t, "/", Vt), I(t, ";", Yd), I(t, "~", Ln), I(t, "_", Ks), I(t, "\\", zs), I(t, "・", Mg);
|
|
21089
21116
|
const o = Te(t, ir, qd, {
|
|
21090
21117
|
[jl]: !0
|
|
21091
21118
|
});
|
|
@@ -21441,7 +21468,7 @@ const iu = ba("email", {
|
|
|
21441
21468
|
function x3({
|
|
21442
21469
|
groups: r
|
|
21443
21470
|
}) {
|
|
21444
|
-
const e = r.domain.concat([Rs, _s, kr,
|
|
21471
|
+
const e = r.domain.concat([Rs, _s, kr, zs, Fs, js, Hs, Vs, Tt, qd, Bn, Ws, qs, Us, Vt, Gs, Ln, Ks]), t = [$s, Cr, Kd, Ht, Gd, Bn, An, Jd, Yd, Es, Ts, On, Pn, Ss, ks, Cs, Ms, Os, Ps, Bs, As, Ls, Ds, Ns, Is], o = [Rs, $s, _s, zs, Fs, js, Hs, Vs, Tt, On, Pn, Bn, Ws, qs, Us, An, Vt, Gs, Ln, Ks], n = Mt(), i = I(n, Ln);
|
|
21445
21472
|
ee(i, o, i), ee(i, r.domain, i);
|
|
21446
21473
|
const s = Mt(), a = Mt(), l = Mt();
|
|
21447
21474
|
ee(n, r.domain, s), ee(n, r.scheme, a), ee(n, r.slashscheme, l), ee(s, o, i), ee(s, r.domain, s);
|
|
@@ -21467,7 +21494,7 @@ function x3({
|
|
|
21467
21494
|
ee(E, r.numeric, y);
|
|
21468
21495
|
const P = Mt(Vi), x = Mt();
|
|
21469
21496
|
ee(P, e, P), ee(P, t, x), ee(x, e, P), ee(x, t, x), I(C, Vt, P), I(y, Vt, P);
|
|
21470
|
-
const v = I(a, Cr),
|
|
21497
|
+
const v = I(a, Cr), z = I(l, Cr), _ = I(z, Vt), B = I(_, Vt);
|
|
21471
21498
|
ee(a, r.domain, s), I(a, Ht, w), I(a, Tt, b), ee(l, r.domain, s), I(l, Ht, w), I(l, Tt, b), ee(v, r.domain, P), I(v, Vt, P), I(v, An, P), ee(B, r.domain, P), ee(B, e, P), I(B, Vt, P);
|
|
21472
21499
|
const T = [
|
|
21473
21500
|
[On, Pn],
|
|
@@ -21577,13 +21604,13 @@ function T3(r) {
|
|
|
21577
21604
|
return r.length === 1 ? r[0].isLink : r.length === 3 && r[1].isLink ? ["()", "[]"].includes(r[0].value + r[2].value) : !1;
|
|
21578
21605
|
}
|
|
21579
21606
|
function O3(r) {
|
|
21580
|
-
return new
|
|
21607
|
+
return new Fe({
|
|
21581
21608
|
key: new ut("autolink"),
|
|
21582
21609
|
appendTransaction: (e, t, o) => {
|
|
21583
21610
|
const n = e.some((d) => d.docChanged) && !t.doc.eq(o.doc), i = e.some((d) => d.getMeta("preventAutolink"));
|
|
21584
21611
|
if (!n || i)
|
|
21585
21612
|
return;
|
|
21586
|
-
const { tr: s } = o, a =
|
|
21613
|
+
const { tr: s } = o, a = zv(t.doc, [...e]);
|
|
21587
21614
|
if (Uv(a).forEach(({ newRange: d }) => {
|
|
21588
21615
|
const c = jv(o.doc, d, (m) => m.isTextblock);
|
|
21589
21616
|
let p, u;
|
|
@@ -21613,7 +21640,7 @@ function O3(r) {
|
|
|
21613
21640
|
});
|
|
21614
21641
|
}
|
|
21615
21642
|
function P3(r) {
|
|
21616
|
-
return new
|
|
21643
|
+
return new Fe({
|
|
21617
21644
|
key: new ut("handleClickLink"),
|
|
21618
21645
|
props: {
|
|
21619
21646
|
handleClick: (e, t, o) => {
|
|
@@ -21633,7 +21660,7 @@ function P3(r) {
|
|
|
21633
21660
|
});
|
|
21634
21661
|
}
|
|
21635
21662
|
function B3(r) {
|
|
21636
|
-
return new
|
|
21663
|
+
return new Fe({
|
|
21637
21664
|
key: new ut("handlePasteLink"),
|
|
21638
21665
|
props: {
|
|
21639
21666
|
handlePaste: (e, t, o) => {
|
|
@@ -21831,7 +21858,7 @@ const L3 = hr.create({
|
|
|
21831
21858
|
}), D3 = { class: "myInputGroup" }, N3 = {
|
|
21832
21859
|
key: 0,
|
|
21833
21860
|
class: "min-h-[2.5rem] flex items-center justify-start"
|
|
21834
|
-
}, I3 = { class: "myPrimaryInputError mt-2 mb-0 py-0 self-start" }, R3 = { class: "blockease-linear duration-200 block ease-linear" }, $3 = { key: 0 }, _3 = { class: "relative rounded-lg" },
|
|
21861
|
+
}, I3 = { class: "myPrimaryInputError mt-2 mb-0 py-0 self-start" }, R3 = { class: "blockease-linear duration-200 block ease-linear" }, $3 = { key: 0 }, _3 = { class: "relative rounded-lg" }, z3 = { class: "flex justify-between myPrimaryGap items-center divide-x divide-gray-200 py-4 px-4 overflow-x-auto border-b border-gray-20" }, F3 = { class: "px-2 flex items-center justify-start gap-2" }, j3 = { class: "flex items-center 0 divide-x divide-gray-200" }, H3 = { class: "px-2 flex items-center justify-start gap-2" }, V3 = { class: "px-2 flex items-center justify-start gap-2" }, W3 = { class: "px-2 flex items-center justify-start gap-2" }, q3 = { class: "px-2 flex items-center justify-start gap-2" }, U3 = { class: "px-2 flex items-center justify-start gap-2" }, K3 = { class: "px-2 flex items-center justify-start gap-2" }, G3 = {
|
|
21835
21862
|
__name: "TipTapInput",
|
|
21836
21863
|
setup(r) {
|
|
21837
21864
|
const e = Le, t = S(!1), o = S(""), n = S(1), i = S(""), s = S(""), a = S(""), l = S(null), d = S(null), c = S(null), p = S(null), u = S(null), m = new Ze(e), g = L(() => e.getElement), f = S(""), b = L(() => {
|
|
@@ -21879,10 +21906,10 @@ const L3 = hr.create({
|
|
|
21879
21906
|
}, p.value = function() {
|
|
21880
21907
|
C.value.chain().focus().extendMarkRange("link").unsetLink().run(), t.value = !1;
|
|
21881
21908
|
}, u.value = function() {
|
|
21882
|
-
const B =
|
|
21909
|
+
const B = z();
|
|
21883
21910
|
B || (B || _(), t.value = !1);
|
|
21884
21911
|
};
|
|
21885
|
-
},
|
|
21912
|
+
}, z = function() {
|
|
21886
21913
|
x.value = null;
|
|
21887
21914
|
const B = /^https?:\/\//, T = S(!0);
|
|
21888
21915
|
return T.value = B.test(P.value), T.value === !1 ? (x.value = "The provided URL is invalid. Please ensure that it begins with 'https://' for proper formatting and security.", !0) : !1;
|
|
@@ -21927,7 +21954,7 @@ const L3 = hr.create({
|
|
|
21927
21954
|
[Ql, y.value]
|
|
21928
21955
|
]),
|
|
21929
21956
|
x.value ? (k(), M("div", N3, [
|
|
21930
|
-
h("p", I3,
|
|
21957
|
+
h("p", I3, F(x.value), 1)
|
|
21931
21958
|
])) : D("", !0)
|
|
21932
21959
|
])
|
|
21933
21960
|
])
|
|
@@ -21938,10 +21965,10 @@ const L3 = hr.create({
|
|
|
21938
21965
|
h("div", R3, [
|
|
21939
21966
|
O(m).selectedElementIsValidText() && O(C) ? (k(), M("div", $3, [
|
|
21940
21967
|
h("div", _3, [
|
|
21941
|
-
h("div",
|
|
21968
|
+
h("div", z3, [
|
|
21942
21969
|
h("div", null, [
|
|
21943
21970
|
h("div", null, [
|
|
21944
|
-
h("div",
|
|
21971
|
+
h("div", F3, [
|
|
21945
21972
|
h("button", {
|
|
21946
21973
|
onClick: T[1] || (T[1] = (j) => O(e).setShowModalTipTap(!1)),
|
|
21947
21974
|
type: "button",
|
|
@@ -22143,7 +22170,7 @@ const Q3 = /* @__PURE__ */ Zd(J3, [["render", Y3]]), X3 = { class: "flex items-e
|
|
|
22143
22170
|
class: "tertiaryHeader my-0 py-0"
|
|
22144
22171
|
}, {
|
|
22145
22172
|
default: $(() => [
|
|
22146
|
-
Ie(
|
|
22173
|
+
Ie(F(r.title), 1)
|
|
22147
22174
|
]),
|
|
22148
22175
|
_: 1
|
|
22149
22176
|
}),
|
|
@@ -22171,13 +22198,13 @@ const Q3 = /* @__PURE__ */ Zd(J3, [["render", Y3]]), X3 = { class: "flex items-e
|
|
|
22171
22198
|
onClick: o,
|
|
22172
22199
|
class: "mySecondaryButton focus:ring-2 focus:ring-blue-500",
|
|
22173
22200
|
type: "button"
|
|
22174
|
-
},
|
|
22201
|
+
}, F(r.firstButtonText), 1)) : D("", !0),
|
|
22175
22202
|
r.secondButtonText ? (k(), M("button", {
|
|
22176
22203
|
key: 1,
|
|
22177
22204
|
onClick: n,
|
|
22178
22205
|
class: "myPrimaryButton focus:ring-2 focus:ring-blue-500",
|
|
22179
22206
|
type: "button"
|
|
22180
|
-
},
|
|
22207
|
+
}, F(r.secondButtonText), 1)) : D("", !0)
|
|
22181
22208
|
])) : D("", !0)
|
|
22182
22209
|
])
|
|
22183
22210
|
]),
|
|
@@ -22233,7 +22260,7 @@ const Q3 = /* @__PURE__ */ Zd(J3, [["render", Y3]]), X3 = { class: "flex items-e
|
|
|
22233
22260
|
h("div", {
|
|
22234
22261
|
class: Y(["aspect-square w-6 h-6 border border-gray-800 rounded-sm", `bg-${(a = o.value) == null ? void 0 : a.replace("text-", "")}`])
|
|
22235
22262
|
}, null, 2),
|
|
22236
|
-
h("span", l4,
|
|
22263
|
+
h("span", l4, F(o.value), 1)
|
|
22237
22264
|
])) : D("", !0)
|
|
22238
22265
|
];
|
|
22239
22266
|
}),
|
|
@@ -22268,7 +22295,7 @@ const Q3 = /* @__PURE__ */ Zd(J3, [["render", Y3]]), X3 = { class: "flex items-e
|
|
|
22268
22295
|
h("div", {
|
|
22269
22296
|
class: Y(["aspect-square w-6 h-6 border border-gray-100 rounded-sm", `bg-${a.replace("text-", "")}`])
|
|
22270
22297
|
}, null, 2),
|
|
22271
|
-
h("span", p4,
|
|
22298
|
+
h("span", p4, F(a), 1)
|
|
22272
22299
|
])) : D("", !0)
|
|
22273
22300
|
], 2)
|
|
22274
22301
|
]),
|
|
@@ -22326,7 +22353,7 @@ const Q3 = /* @__PURE__ */ Zd(J3, [["render", Y3]]), X3 = { class: "flex items-e
|
|
|
22326
22353
|
h("div", {
|
|
22327
22354
|
class: Y(["aspect-square w-6 h-6 border border-gray-800 rounded-sm", `bg-${(a = o.value) == null ? void 0 : a.replace("bg-", "")}`])
|
|
22328
22355
|
}, null, 2),
|
|
22329
|
-
h("span", f4,
|
|
22356
|
+
h("span", f4, F(o.value), 1)
|
|
22330
22357
|
])) : D("", !0)
|
|
22331
22358
|
];
|
|
22332
22359
|
}),
|
|
@@ -22361,7 +22388,7 @@ const Q3 = /* @__PURE__ */ Zd(J3, [["render", Y3]]), X3 = { class: "flex items-e
|
|
|
22361
22388
|
h("div", {
|
|
22362
22389
|
class: Y(["aspect-square w-6 h-6 border border-gray-100 rounded-sm", `bg-${a.replace("bg-", "")}`])
|
|
22363
22390
|
}, null, 2),
|
|
22364
|
-
h("span", w4,
|
|
22391
|
+
h("span", w4, F(a), 1)
|
|
22365
22392
|
])) : D("", !0)
|
|
22366
22393
|
], 2)
|
|
22367
22394
|
]),
|
|
@@ -22393,7 +22420,7 @@ const Q3 = /* @__PURE__ */ Zd(J3, [["render", Y3]]), X3 = { class: "flex items-e
|
|
|
22393
22420
|
}, D4 = {
|
|
22394
22421
|
__name: "EditGetElement",
|
|
22395
22422
|
setup(r) {
|
|
22396
|
-
const e = Le, t =
|
|
22423
|
+
const e = Le, t = ze("CustomMediaComponent"), o = new Ze(e), n = L(() => e.getElement), i = L(() => {
|
|
22397
22424
|
const se = e.getShowModalTipTap;
|
|
22398
22425
|
return se && w(), se;
|
|
22399
22426
|
});
|
|
@@ -22404,8 +22431,8 @@ const Q3 = /* @__PURE__ */ Zd(J3, [["render", Y3]]), X3 = { class: "flex items-e
|
|
|
22404
22431
|
}, b.value = function() {
|
|
22405
22432
|
e.setShowModalTipTap(!1);
|
|
22406
22433
|
};
|
|
22407
|
-
}, C = L(() => e.getBasePrimaryImage), E = S(!1), y = S(!1), P = S(""), x = S(""), v = S(""),
|
|
22408
|
-
y.value = !0, P.value = "Media Library", x.value = null, v.value = "Close",
|
|
22434
|
+
}, C = L(() => e.getBasePrimaryImage), E = S(!1), y = S(!1), P = S(""), x = S(""), v = S(""), z = S(null), _ = S(null), B = S(null), T = S(null), j = S(null), q = function() {
|
|
22435
|
+
y.value = !0, P.value = "Media Library", x.value = null, v.value = "Close", z.value = "Select image", B.value = function() {
|
|
22409
22436
|
y.value = !1;
|
|
22410
22437
|
}, T.value = function() {
|
|
22411
22438
|
E.value = !0, o.updateBasePrimaryImage({ type: "unsplash" }), y.value = !1, E.value = !1;
|
|
@@ -22458,7 +22485,7 @@ const Q3 = /* @__PURE__ */ Zd(J3, [["render", Y3]]), X3 = { class: "flex items-e
|
|
|
22458
22485
|
[Ql, Q.value]
|
|
22459
22486
|
]),
|
|
22460
22487
|
oe.value ? (k(), M("div", C4, [
|
|
22461
|
-
h("p", M4,
|
|
22488
|
+
h("p", M4, F(oe.value), 1)
|
|
22462
22489
|
])) : D("", !0)
|
|
22463
22490
|
])
|
|
22464
22491
|
])
|
|
@@ -22497,7 +22524,7 @@ const Q3 = /* @__PURE__ */ Zd(J3, [["render", Y3]]), X3 = { class: "flex items-e
|
|
|
22497
22524
|
title: P.value,
|
|
22498
22525
|
description: x.value,
|
|
22499
22526
|
firstButtonText: v.value,
|
|
22500
|
-
secondButtonText:
|
|
22527
|
+
secondButtonText: z.value,
|
|
22501
22528
|
thirdButtonText: _.value,
|
|
22502
22529
|
customMediaComponent: O(t),
|
|
22503
22530
|
onFirstMediaButtonFunction: B.value,
|
|
@@ -23103,7 +23130,7 @@ class="border-2 border-gray-600 flex items-centre justify-start rounded-md font-
|
|
|
23103
23130
|
}
|
|
23104
23131
|
];
|
|
23105
23132
|
function _4() {
|
|
23106
|
-
const r =
|
|
23133
|
+
const r = ze("closeAddComponentModal", null), e = ze("closeMediaLibraryModal", null);
|
|
23107
23134
|
return {
|
|
23108
23135
|
closeAddComponentModal: r || (() => {
|
|
23109
23136
|
console.warn(
|
|
@@ -23117,7 +23144,7 @@ function _4() {
|
|
|
23117
23144
|
})
|
|
23118
23145
|
};
|
|
23119
23146
|
}
|
|
23120
|
-
const
|
|
23147
|
+
const z4 = { class: "p-4" }, F4 = { class: "mb-8" }, j4 = { class: "grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4 gap-4" }, H4 = ["onClick"], V4 = { class: "max-h-72 cursor-pointer object-contain bg-white mx-auto" }, W4 = { class: "myPrimaryParagraph text-base font-medium" }, q4 = { class: "myPrimaryParagraph text-xs font-normal pt-2" }, U4 = { class: "grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 gap-4" }, K4 = ["onClick"], G4 = { class: "overflow-hidden whitespace-pre-line flex-1 h-auto border-b border-gray-200 lg:py-10 py-8 px-2" }, J4 = ["innerHTML"], Y4 = { class: "p-3" }, Q4 = { class: "myPrimaryParagraph text-sm font-normal" }, X4 = /* @__PURE__ */ ue({
|
|
23121
23148
|
__name: "NoneCustomSearchComponent",
|
|
23122
23149
|
setup(r) {
|
|
23123
23150
|
const { closeAddComponentModal: e } = _4(), t = Le, o = new Ze(t), n = function(a) {
|
|
@@ -23130,8 +23157,8 @@ const F4 = { class: "p-4" }, z4 = { class: "mb-8" }, j4 = { class: "grid grid-co
|
|
|
23130
23157
|
title: a.title
|
|
23131
23158
|
};
|
|
23132
23159
|
}, s = (a) => R4(a);
|
|
23133
|
-
return (a, l) => (k(), M("div",
|
|
23134
|
-
h("div",
|
|
23160
|
+
return (a, l) => (k(), M("div", z4, [
|
|
23161
|
+
h("div", F4, [
|
|
23135
23162
|
l[0] || (l[0] = h("h3", { class: "myQuaternaryHeader mb-4" }, "Helper Components", -1)),
|
|
23136
23163
|
h("div", j4, [
|
|
23137
23164
|
(k(!0), M(we, null, Ae(O(N4), (d) => (k(), M("div", {
|
|
@@ -23141,9 +23168,9 @@ const F4 = { class: "p-4" }, z4 = { class: "mb-8" }, j4 = { class: "grid grid-co
|
|
|
23141
23168
|
}, [
|
|
23142
23169
|
h("div", V4, [
|
|
23143
23170
|
D("", !0),
|
|
23144
|
-
h("h4", W4,
|
|
23171
|
+
h("h4", W4, F(d.title), 1)
|
|
23145
23172
|
]),
|
|
23146
|
-
h("div", q4, " Click to add " +
|
|
23173
|
+
h("div", q4, " Click to add " + F(d.title.toLowerCase()) + " component ", 1)
|
|
23147
23174
|
], 8, H4))), 128))
|
|
23148
23175
|
])
|
|
23149
23176
|
]),
|
|
@@ -23162,7 +23189,7 @@ const F4 = { class: "p-4" }, z4 = { class: "mb-8" }, j4 = { class: "grid grid-co
|
|
|
23162
23189
|
}, null, 8, J4)
|
|
23163
23190
|
]),
|
|
23164
23191
|
h("div", Y4, [
|
|
23165
|
-
h("h4", Q4,
|
|
23192
|
+
h("h4", Q4, F(d.title), 1),
|
|
23166
23193
|
l[1] || (l[1] = h("div", { class: "myPrimaryParagraph text-xs font-normal pt-2" }, "Click to add component", -1))
|
|
23167
23194
|
])
|
|
23168
23195
|
], 8, K4))), 128))
|
|
@@ -23208,7 +23235,7 @@ const F4 = { class: "p-4" }, z4 = { class: "mb-8" }, j4 = { class: "grid grid-co
|
|
|
23208
23235
|
h("div", ek, [
|
|
23209
23236
|
h("div", tk, [
|
|
23210
23237
|
h("div", rk, [
|
|
23211
|
-
h("h3", ok,
|
|
23238
|
+
h("h3", ok, F(r.title), 1)
|
|
23212
23239
|
]),
|
|
23213
23240
|
h("div", {
|
|
23214
23241
|
class: "h-10 w-10 flex-start cursor-pointer rounded-full flex items-center border-none justify-center bg-gray-50 aspect-square hover:bg-myPrimaryLinkColor hover:text-white hover:fill-white focus-visible:ring-0",
|
|
@@ -23233,7 +23260,7 @@ const F4 = { class: "p-4" }, z4 = { class: "mb-8" }, j4 = { class: "grid grid-co
|
|
|
23233
23260
|
class: "mySecondaryButton",
|
|
23234
23261
|
type: "button",
|
|
23235
23262
|
onClick: o
|
|
23236
|
-
},
|
|
23263
|
+
}, F(r.firstButtonText), 513)) : D("", !0)
|
|
23237
23264
|
])
|
|
23238
23265
|
])
|
|
23239
23266
|
]),
|
|
@@ -23285,7 +23312,7 @@ const F4 = { class: "p-4" }, z4 = { class: "mb-8" }, j4 = { class: "grid grid-co
|
|
|
23285
23312
|
h("div", gk, [
|
|
23286
23313
|
R(O(nd), { class: "myTertiaryHeader my-0" }, {
|
|
23287
23314
|
default: $(() => [
|
|
23288
|
-
Ie(
|
|
23315
|
+
Ie(F(r.title), 1)
|
|
23289
23316
|
]),
|
|
23290
23317
|
_: 1
|
|
23291
23318
|
}),
|
|
@@ -23366,7 +23393,7 @@ const F4 = { class: "p-4" }, z4 = { class: "mb-8" }, j4 = { class: "grid grid-co
|
|
|
23366
23393
|
h("div", Ck, [
|
|
23367
23394
|
R(O(nd), { class: "myTertiaryHeader my-0" }, {
|
|
23368
23395
|
default: $(() => [
|
|
23369
|
-
Ie(
|
|
23396
|
+
Ie(F(r.title), 1)
|
|
23370
23397
|
]),
|
|
23371
23398
|
_: 1
|
|
23372
23399
|
}),
|
|
@@ -23414,7 +23441,7 @@ const F4 = { class: "p-4" }, z4 = { class: "mb-8" }, j4 = { class: "grid grid-co
|
|
|
23414
23441
|
}, Ik = {
|
|
23415
23442
|
key: 3,
|
|
23416
23443
|
class: "text-xs pb-2"
|
|
23417
|
-
}, Rk = { class: "text-xs pb-2" }, $k = { class: "overflow-hidden bg-gray-900 max-w-2xl" }, _k = { class: "flex bg-gray-800/40 ring-1 ring-white/5" },
|
|
23444
|
+
}, Rk = { class: "text-xs pb-2" }, $k = { class: "overflow-hidden bg-gray-900 max-w-2xl" }, _k = { class: "flex bg-gray-800/40 ring-1 ring-white/5" }, zk = { class: "-mb-px flex text-xs font-medium text-myPrimaryMediumGrayColor" }, Fk = { class: "px-4 pb-8 pt-4 text-white text-xs break-all" }, jk = { key: 0 }, Hk = { key: 0 }, Vk = { class: "pb-2" }, Wk = { key: 1 }, qk = { class: "flex flex-col gap-4 border-b border-white mb-4 pb-4" }, Uk = { class: "whitespace-pre-line leading-5" }, Kk = { class: "flex flex-col gap-2 mt-4 border-b border-white mb-4 pb-4" }, Gk = { class: "whitespace-pre-line leading-5" }, Jk = { class: "flex flex-col gap-2 mt-4 border-b border-white mb-4 pb-4" }, Yk = { class: "whitespace-pre-line leading-5" }, Qk = { class: "flex flex-col gap-2 mt-4 border-b border-white mb-4 pb-4" }, Xk = { class: "whitespace-pre-line leading-5" }, Zk = { key: 1 }, e6 = { key: 0 }, t6 = { class: "pb-2" }, r6 = { key: 1 }, o6 = { class: "pb-2" }, n6 = { class: "whitespace-pre-line leading-5 mt-4" }, i6 = { class: "whitespace-pre-line leading-5 mt-4" }, s6 = { key: 2 }, a6 = { key: 0 }, l6 = { class: "pb-2" }, d6 = { key: 1 }, c6 = { class: "pb-2" }, p6 = { class: "whitespace-pre-line leading-5 mt-4" }, u6 = { class: "whitespace-pre-line leading-5 mt-4" }, m6 = {
|
|
23418
23445
|
__name: "AdvancedPageBuilderSettings",
|
|
23419
23446
|
setup(r) {
|
|
23420
23447
|
const e = Le, t = L(() => e.getElement), o = L(() => e.getComponent), n = L(() => e.getComponents), i = S("element"), s = function(a) {
|
|
@@ -23438,19 +23465,19 @@ const F4 = { class: "p-4" }, z4 = { class: "mb-8" }, j4 = { class: "grid grid-co
|
|
|
23438
23465
|
t.value === null || t.value === void 0 ? (k(), M("p", Lk)) : D("", !0),
|
|
23439
23466
|
t.value !== null && t.value !== void 0 ? (k(), M("p", Dk, [
|
|
23440
23467
|
l[3] || (l[3] = h("span", null, "Element type: ", -1)),
|
|
23441
|
-
h("span", null,
|
|
23468
|
+
h("span", null, F(typeof t.value), 1)
|
|
23442
23469
|
])) : D("", !0),
|
|
23443
23470
|
o.value === null || o.value === void 0 ? (k(), M("p", Nk, [
|
|
23444
23471
|
l[4] || (l[4] = h("span", null, "Component type: ", -1)),
|
|
23445
|
-
Ie(" " +
|
|
23472
|
+
Ie(" " + F(JSON.stringify(o.value)), 1)
|
|
23446
23473
|
])) : D("", !0),
|
|
23447
23474
|
o.value !== null && o.value !== void 0 ? (k(), M("p", Ik, [
|
|
23448
23475
|
l[5] || (l[5] = h("span", null, "Component type: ", -1)),
|
|
23449
|
-
h("span", null,
|
|
23476
|
+
h("span", null, F(Array.isArray(o.value) === !0 ? "array" : typeof o.value), 1)
|
|
23450
23477
|
])) : D("", !0),
|
|
23451
23478
|
h("p", Rk, [
|
|
23452
23479
|
l[6] || (l[6] = h("span", null, "Components: ", -1)),
|
|
23453
|
-
h("span", null,
|
|
23480
|
+
h("span", null, F(Array.isArray(n.value) === !0 ? "array" : typeof n.value), 1)
|
|
23454
23481
|
])
|
|
23455
23482
|
])
|
|
23456
23483
|
])
|
|
@@ -23459,7 +23486,7 @@ const F4 = { class: "p-4" }, z4 = { class: "mb-8" }, j4 = { class: "grid grid-co
|
|
|
23459
23486
|
l[17] || (l[17] = h("h4", { class: "myPrimaryParagraph text-sm pb-2" }, "Content", -1)),
|
|
23460
23487
|
h("div", $k, [
|
|
23461
23488
|
h("div", _k, [
|
|
23462
|
-
h("div",
|
|
23489
|
+
h("div", zk, [
|
|
23463
23490
|
h("div", {
|
|
23464
23491
|
onClick: l[0] || (l[0] = (x) => s("element")),
|
|
23465
23492
|
class: Y(["px-4 py-4 cursor-pointer", [i.value === "element" ? "text-white" : ""]])
|
|
@@ -23471,50 +23498,50 @@ const F4 = { class: "p-4" }, z4 = { class: "mb-8" }, j4 = { class: "grid grid-co
|
|
|
23471
23498
|
h("div", {
|
|
23472
23499
|
onClick: l[2] || (l[2] = (x) => s("components")),
|
|
23473
23500
|
class: Y(["px-4 py-4 cursor-pointer", [i.value === "components" ? "text-white" : ""]])
|
|
23474
|
-
}, " Components " +
|
|
23501
|
+
}, " Components " + F(Array.isArray(n.value) && n.value.length), 3)
|
|
23475
23502
|
])
|
|
23476
23503
|
]),
|
|
23477
|
-
h("div",
|
|
23504
|
+
h("div", Fk, [
|
|
23478
23505
|
i.value === "element" ? (k(), M("div", jk, [
|
|
23479
23506
|
o.value ? D("", !0) : (k(), M("div", Hk, [
|
|
23480
|
-
h("p", Vk,
|
|
23507
|
+
h("p", Vk, F(o.value === null ? "NULL" : typeof o.value), 1)
|
|
23481
23508
|
])),
|
|
23482
23509
|
t.value ? (k(), M("div", Wk, [
|
|
23483
23510
|
h("div", qk, [
|
|
23484
23511
|
l[9] || (l[9] = h("p", null, "Selected HTML:", -1)),
|
|
23485
|
-
h("p", Uk,
|
|
23512
|
+
h("p", Uk, F((d = t.value) == null ? void 0 : d.outerHTML), 1)
|
|
23486
23513
|
]),
|
|
23487
23514
|
h("div", Kk, [
|
|
23488
23515
|
l[10] || (l[10] = h("p", null, "Selected element src:", -1)),
|
|
23489
|
-
h("p", Gk,
|
|
23516
|
+
h("p", Gk, F((c = t.value) != null && c.src ? (p = t.value) == null ? void 0 : p.src : typeof ((u = t.value) == null ? void 0 : u.src)), 1)
|
|
23490
23517
|
]),
|
|
23491
23518
|
h("div", Jk, [
|
|
23492
23519
|
l[11] || (l[11] = h("p", null, "Selected element href:", -1)),
|
|
23493
|
-
h("p", Yk,
|
|
23520
|
+
h("p", Yk, F((m = t.value) != null && m.href ? (g = t.value) == null ? void 0 : g.href : typeof ((f = t.value) == null ? void 0 : f.href)), 1)
|
|
23494
23521
|
]),
|
|
23495
23522
|
h("div", Qk, [
|
|
23496
23523
|
l[12] || (l[12] = h("p", null, "Selected element class:", -1)),
|
|
23497
|
-
h("p", Xk,
|
|
23524
|
+
h("p", Xk, F((b = t.value) != null && b.classList ? (w = t.value) == null ? void 0 : w.classList : typeof ((C = t.value) == null ? void 0 : C.classList)), 1)
|
|
23498
23525
|
])
|
|
23499
23526
|
])) : D("", !0)
|
|
23500
23527
|
])) : D("", !0),
|
|
23501
23528
|
i.value === "component" ? (k(), M("div", Zk, [
|
|
23502
23529
|
o.value ? D("", !0) : (k(), M("div", e6, [
|
|
23503
|
-
h("p", t6,
|
|
23530
|
+
h("p", t6, F(o.value === null ? "NULL" : typeof o.value), 1)
|
|
23504
23531
|
])),
|
|
23505
23532
|
o.value ? (k(), M("div", r6, [
|
|
23506
|
-
h("p", o6, " Component ID: " +
|
|
23533
|
+
h("p", o6, " Component ID: " + F((E = o.value) == null ? void 0 : E.id), 1),
|
|
23507
23534
|
h("p", n6, [
|
|
23508
23535
|
l[13] || (l[13] = Ie(" Component Title:")),
|
|
23509
23536
|
l[14] || (l[14] = h("br", null, null, -1)),
|
|
23510
|
-
Ie(" " +
|
|
23537
|
+
Ie(" " + F((y = o.value) == null ? void 0 : y.title), 1)
|
|
23511
23538
|
]),
|
|
23512
|
-
h("p", i6, " Component HTML: " +
|
|
23539
|
+
h("p", i6, " Component HTML: " + F((P = o.value) == null ? void 0 : P.html_code), 1)
|
|
23513
23540
|
])) : D("", !0)
|
|
23514
23541
|
])) : D("", !0),
|
|
23515
23542
|
i.value === "components" ? (k(), M("div", s6, [
|
|
23516
23543
|
n.value ? D("", !0) : (k(), M("div", a6, [
|
|
23517
|
-
h("p", l6,
|
|
23544
|
+
h("p", l6, F(n.value === null ? "NULL" : typeof n.value), 1)
|
|
23518
23545
|
])),
|
|
23519
23546
|
n.value ? (k(), M("div", d6, [
|
|
23520
23547
|
(k(!0), M(we, null, Ae(n.value, (x) => {
|
|
@@ -23523,12 +23550,12 @@ const F4 = { class: "p-4" }, z4 = { class: "mb-8" }, j4 = { class: "grid grid-co
|
|
|
23523
23550
|
class: "border-b border-white mb-4 pb-4 last:border-none",
|
|
23524
23551
|
key: x.id
|
|
23525
23552
|
}, [
|
|
23526
|
-
h("p", c6, " Component ID: " +
|
|
23527
|
-
h("p", p6, " Component Title: " +
|
|
23553
|
+
h("p", c6, " Component ID: " + F(x.id), 1),
|
|
23554
|
+
h("p", p6, " Component Title: " + F((v = o.value) == null ? void 0 : v.title), 1),
|
|
23528
23555
|
h("p", u6, [
|
|
23529
23556
|
l[15] || (l[15] = Ie(" Component HTML:")),
|
|
23530
23557
|
l[16] || (l[16] = h("br", null, null, -1)),
|
|
23531
|
-
Ie(" " +
|
|
23558
|
+
Ie(" " + F(x.html_code), 1)
|
|
23532
23559
|
])
|
|
23533
23560
|
]);
|
|
23534
23561
|
}), 128))
|
|
@@ -23549,7 +23576,7 @@ const F4 = { class: "p-4" }, z4 = { class: "mb-8" }, j4 = { class: "grid grid-co
|
|
|
23549
23576
|
}, 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 = {
|
|
23550
23577
|
key: 1,
|
|
23551
23578
|
class: "mt-8"
|
|
23552
|
-
}, 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" },
|
|
23579
|
+
}, 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" }, z6 = { class: "px-6 py-4 whitespace-nowrap text-sm text-gray-500" }, F6 = { class: "mt-8" }, 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 = {
|
|
23553
23580
|
key: 2,
|
|
23554
23581
|
class: "mt-8"
|
|
23555
23582
|
}, 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 = {
|
|
@@ -23558,7 +23585,7 @@ const F4 = { class: "p-4" }, z4 = { class: "mb-8" }, j4 = { class: "grid grid-co
|
|
|
23558
23585
|
}, 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 = {
|
|
23559
23586
|
__name: "PageBuilderSettings",
|
|
23560
23587
|
setup(r) {
|
|
23561
|
-
const e = "v3.1.
|
|
23588
|
+
const e = "v3.1.26", t = Le, o = S(!1), n = S(""), i = S(null), s = L(() => t.getConfigPageBuilder), a = function() {
|
|
23562
23589
|
n.value = "Advanced Settings", o.value = !0;
|
|
23563
23590
|
}, l = function() {
|
|
23564
23591
|
o.value = !1;
|
|
@@ -23572,7 +23599,7 @@ const F4 = { class: "p-4" }, z4 = { class: "mb-8" }, j4 = { class: "grid grid-co
|
|
|
23572
23599
|
i.value = d.value.map((u) => u.html_code), c("downloaded_html.html", i.value.join(""));
|
|
23573
23600
|
};
|
|
23574
23601
|
return (u, m) => {
|
|
23575
|
-
var g, f, b, w, C, E, y, P, x, v,
|
|
23602
|
+
var g, f, b, w, C, E, y, P, x, v, z, _, B, T, j, q;
|
|
23576
23603
|
return k(), M("div", null, [
|
|
23577
23604
|
R(Tk, {
|
|
23578
23605
|
open: o.value,
|
|
@@ -23622,7 +23649,7 @@ const F4 = { class: "p-4" }, z4 = { class: "mb-8" }, j4 = { class: "grid grid-co
|
|
|
23622
23649
|
h("tr", null, [
|
|
23623
23650
|
m[2] || (m[2] = h("td", { class: "px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900" }, " Page Builder ", -1)),
|
|
23624
23651
|
h("td", S6, [
|
|
23625
|
-
h("span", C6,
|
|
23652
|
+
h("span", C6, F(O(e)), 1)
|
|
23626
23653
|
])
|
|
23627
23654
|
])
|
|
23628
23655
|
])
|
|
@@ -23650,11 +23677,11 @@ const F4 = { class: "p-4" }, z4 = { class: "mb-8" }, j4 = { class: "grid grid-co
|
|
|
23650
23677
|
h("tbody", P6, [
|
|
23651
23678
|
(b = (f = s.value) == null ? void 0 : f.resourceData) != null && b.title ? (k(), M("tr", B6, [
|
|
23652
23679
|
m[5] || (m[5] = h("td", { class: "px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900" }, " Title ", -1)),
|
|
23653
|
-
h("td", A6,
|
|
23680
|
+
h("td", A6, F(s.value.resourceData.title), 1)
|
|
23654
23681
|
])) : D("", !0),
|
|
23655
23682
|
(C = (w = s.value) == null ? void 0 : w.resourceData) != null && C.id ? (k(), M("tr", L6, [
|
|
23656
23683
|
m[6] || (m[6] = h("td", { class: "px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900" }, " ID ", -1)),
|
|
23657
|
-
h("td", D6,
|
|
23684
|
+
h("td", D6, F(s.value.resourceData.id), 1)
|
|
23658
23685
|
])) : D("", !0)
|
|
23659
23686
|
])
|
|
23660
23687
|
])
|
|
@@ -23681,14 +23708,14 @@ const F4 = { class: "p-4" }, z4 = { class: "mb-8" }, j4 = { class: "grid grid-co
|
|
|
23681
23708
|
h("tbody", _6, [
|
|
23682
23709
|
h("tr", null, [
|
|
23683
23710
|
m[9] || (m[9] = h("td", { class: "px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900" }, " User Name ", -1)),
|
|
23684
|
-
h("td",
|
|
23711
|
+
h("td", z6, F(s.value.userForPageBuilder.name), 1)
|
|
23685
23712
|
])
|
|
23686
23713
|
])
|
|
23687
23714
|
])
|
|
23688
23715
|
])
|
|
23689
23716
|
])
|
|
23690
23717
|
])) : D("", !0),
|
|
23691
|
-
h("div",
|
|
23718
|
+
h("div", F6, [
|
|
23692
23719
|
m[17] || (m[17] = h("h4", { class: "myQuaternaryHeader text-sm mb-2" }, "User Settings", -1)),
|
|
23693
23720
|
h("div", j6, [
|
|
23694
23721
|
h("div", H6, [
|
|
@@ -23708,13 +23735,13 @@ const F4 = { class: "p-4" }, z4 = { class: "mb-8" }, j4 = { class: "grid grid-co
|
|
|
23708
23735
|
h("tbody", W6, [
|
|
23709
23736
|
(P = (y = s.value) == null ? void 0 : y.userSettings) != null && P.theme ? (k(), M("tr", q6, [
|
|
23710
23737
|
m[12] || (m[12] = h("td", { class: "px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900" }, " Theme ", -1)),
|
|
23711
|
-
h("td", U6,
|
|
23738
|
+
h("td", U6, F(s.value.userSettings.theme), 1)
|
|
23712
23739
|
])) : D("", !0),
|
|
23713
23740
|
(v = (x = s.value) == null ? void 0 : x.userSettings) != null && v.language ? (k(), M("tr", K6, [
|
|
23714
23741
|
m[13] || (m[13] = h("td", { class: "px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900" }, " Language ", -1)),
|
|
23715
|
-
h("td", G6,
|
|
23742
|
+
h("td", G6, F(s.value.userSettings.language), 1)
|
|
23716
23743
|
])) : D("", !0),
|
|
23717
|
-
((_ = (
|
|
23744
|
+
((_ = (z = s.value) == null ? void 0 : z.userSettings) == null ? void 0 : _.autoSave) !== void 0 ? (k(), M("tr", J6, [
|
|
23718
23745
|
m[14] || (m[14] = h("td", { class: "px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900" }, " Auto Save ", -1)),
|
|
23719
23746
|
h("td", Y6, [
|
|
23720
23747
|
h("span", {
|
|
@@ -23722,7 +23749,7 @@ const F4 = { class: "p-4" }, z4 = { class: "mb-8" }, j4 = { class: "grid grid-co
|
|
|
23722
23749
|
"inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium",
|
|
23723
23750
|
s.value.userSettings.autoSave ? "bg-green-100 text-green-800" : "bg-red-100 text-red-800"
|
|
23724
23751
|
])
|
|
23725
|
-
},
|
|
23752
|
+
}, F(s.value.userSettings.autoSave ? "Enabled" : "Disabled"), 3)
|
|
23726
23753
|
])
|
|
23727
23754
|
])) : D("", !0),
|
|
23728
23755
|
((T = (B = s.value) == null ? void 0 : B.userSettings) == null ? void 0 : T.notifications) !== void 0 ? (k(), M("tr", Q6, [
|
|
@@ -23733,7 +23760,7 @@ const F4 = { class: "p-4" }, z4 = { class: "mb-8" }, j4 = { class: "grid grid-co
|
|
|
23733
23760
|
"inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium",
|
|
23734
23761
|
s.value.userSettings.notifications ? "bg-green-100 text-green-800" : "bg-red-100 text-red-800"
|
|
23735
23762
|
])
|
|
23736
|
-
},
|
|
23763
|
+
}, F(s.value.userSettings.notifications ? "Enabled" : "Disabled"), 3)
|
|
23737
23764
|
])
|
|
23738
23765
|
])) : D("", !0)
|
|
23739
23766
|
])
|
|
@@ -23768,15 +23795,15 @@ const F4 = { class: "p-4" }, z4 = { class: "mb-8" }, j4 = { class: "grid grid-co
|
|
|
23768
23795
|
s.value.updateOrCreate === "create" ? "bg-green-100 text-green-800" : "bg-blue-100 text-blue-800"
|
|
23769
23796
|
])
|
|
23770
23797
|
}, [
|
|
23771
|
-
s.value && s.value.updateOrCreate.formType === "create" ? (k(), M("span", iS,
|
|
23772
|
-
s.value && s.value.updateOrCreate.formType === "update" ? (k(), M("span", sS,
|
|
23798
|
+
s.value && s.value.updateOrCreate.formType === "create" ? (k(), M("span", iS, F(s.value.updateOrCreate.formType), 1)) : D("", !0),
|
|
23799
|
+
s.value && s.value.updateOrCreate.formType === "update" ? (k(), M("span", sS, F(s.value.updateOrCreate.formType), 1)) : D("", !0)
|
|
23773
23800
|
], 2)
|
|
23774
23801
|
])
|
|
23775
23802
|
]),
|
|
23776
23803
|
s.value.updateOrCreate.createNewResourceFormName && s.value.updateOrCreate.createNewResourceFormName.length > 0 ? (k(), M("tr", aS, [
|
|
23777
23804
|
m[19] || (m[19] = h("td", { class: "px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900" }, " Form Name ", -1)),
|
|
23778
23805
|
h("td", lS, [
|
|
23779
|
-
h("span", dS,
|
|
23806
|
+
h("span", dS, F(s.value.updateOrCreate.createNewResourceFormName), 1)
|
|
23780
23807
|
])
|
|
23781
23808
|
])) : D("", !0)
|
|
23782
23809
|
])
|
|
@@ -23822,7 +23849,7 @@ const F4 = { class: "p-4" }, z4 = { class: "mb-8" }, j4 = { class: "grid grid-co
|
|
|
23822
23849
|
h("div", vS, [
|
|
23823
23850
|
h("div", xS, [
|
|
23824
23851
|
h("div", kS, [
|
|
23825
|
-
h("span", SS,
|
|
23852
|
+
h("span", SS, F(s.value.pageBuilderLogo.src), 1)
|
|
23826
23853
|
])
|
|
23827
23854
|
])
|
|
23828
23855
|
])
|
|
@@ -23867,14 +23894,14 @@ const F4 = { class: "p-4" }, z4 = { class: "mb-8" }, j4 = { class: "grid grid-co
|
|
|
23867
23894
|
};
|
|
23868
23895
|
}, v = function() {
|
|
23869
23896
|
C.value = "Settings", w.value = !0;
|
|
23870
|
-
},
|
|
23897
|
+
}, z = function() {
|
|
23871
23898
|
w.value = !1;
|
|
23872
23899
|
};
|
|
23873
23900
|
return (_, B) => (k(), M("div", null, [
|
|
23874
23901
|
R(yk, {
|
|
23875
23902
|
open: w.value,
|
|
23876
23903
|
title: C.value,
|
|
23877
|
-
onSlideOverButton:
|
|
23904
|
+
onSlideOverButton: z
|
|
23878
23905
|
}, {
|
|
23879
23906
|
default: $(() => [
|
|
23880
23907
|
R(CS)
|
|
@@ -23940,7 +23967,7 @@ const F4 = { class: "p-4" }, z4 = { class: "mb-8" }, j4 = { class: "grid grid-co
|
|
|
23940
23967
|
B[2] || (B[2] = h("div", { class: "h-8 w-8 cursor-defualt rounded-full flex items-center border-none justify-center bg-gray-50 aspect-square hover:bg-myPrimaryLinkColor hover:text-white focus-visible:ring-0" }, [
|
|
23941
23968
|
h("span", { class: "material-symbols-outlined text-[16px]" }, " person ")
|
|
23942
23969
|
], -1)),
|
|
23943
|
-
h("div", null,
|
|
23970
|
+
h("div", null, F(o.value.userForPageBuilder.name), 1)
|
|
23944
23971
|
])
|
|
23945
23972
|
], 2)
|
|
23946
23973
|
]),
|
|
@@ -24061,7 +24088,7 @@ function LS(r, e, t, o, n, i) {
|
|
|
24061
24088
|
], 2)
|
|
24062
24089
|
], 2);
|
|
24063
24090
|
}
|
|
24064
|
-
const en = /* @__PURE__ */ Zd(OS, [["render", LS]]), DS = { class: "flex flex-row flex-wrap gap-2 mt-2 mb-4" }, NS = ["onClick"], IS = { class: "flex items-center gap-1" }, RS = { class: "mr-1" }, $S = { class: "flex gap-2 item-center flex-col" }, _S = { class: "flex gap-2 item-center" },
|
|
24091
|
+
const en = /* @__PURE__ */ Zd(OS, [["render", LS]]), DS = { class: "flex flex-row flex-wrap gap-2 mt-2 mb-4" }, NS = ["onClick"], IS = { class: "flex items-center gap-1" }, RS = { class: "mr-1" }, $S = { class: "flex gap-2 item-center flex-col" }, _S = { class: "flex gap-2 item-center" }, zS = { class: "mt-1 relative flex items-center w-full border myPrimaryInput py-0 p-0" }, FS = {
|
|
24065
24092
|
__name: "ClassEditor",
|
|
24066
24093
|
setup(r) {
|
|
24067
24094
|
const e = Le, t = new Ze(e), o = S(null), n = L(() => e.getCurrentClasses);
|
|
@@ -24089,13 +24116,13 @@ const en = /* @__PURE__ */ Zd(OS, [["render", LS]]), DS = { class: "flex flex-ro
|
|
|
24089
24116
|
}
|
|
24090
24117
|
}, [
|
|
24091
24118
|
h("div", IS, [
|
|
24092
|
-
h("span", RS,
|
|
24119
|
+
h("span", RS, F(d), 1)
|
|
24093
24120
|
])
|
|
24094
24121
|
], 8, NS))), 128))
|
|
24095
24122
|
]),
|
|
24096
24123
|
h("div", $S, [
|
|
24097
24124
|
h("div", _S, [
|
|
24098
|
-
h("div",
|
|
24125
|
+
h("div", zS, [
|
|
24099
24126
|
lt(h("input", {
|
|
24100
24127
|
"onUpdate:modelValue": l[0] || (l[0] = (d) => i.value = d),
|
|
24101
24128
|
type: "text",
|
|
@@ -24120,7 +24147,7 @@ const en = /* @__PURE__ */ Zd(OS, [["render", LS]]), DS = { class: "flex flex-ro
|
|
|
24120
24147
|
}, jS = { key: 0 }, HS = ["src"], VS = {
|
|
24121
24148
|
__name: "ImageEditor",
|
|
24122
24149
|
setup(r) {
|
|
24123
|
-
const e = Le, t =
|
|
24150
|
+
const e = Le, t = ze("CustomMediaComponent"), o = new Ze(e), n = S(!1), i = S(!1), s = S(""), a = S(""), l = S(""), d = S(null), c = S(null), p = S(null), u = S(null), m = S(null), g = L(() => e.getBasePrimaryImage), f = function() {
|
|
24124
24151
|
i.value = !0, s.value = "Media Library", a.value = null, l.value = "Close", d.value = "Select image", p.value = function() {
|
|
24125
24152
|
i.value = !1;
|
|
24126
24153
|
}, u.value = function() {
|
|
@@ -24192,7 +24219,7 @@ const en = /* @__PURE__ */ Zd(OS, [["render", LS]]), DS = { class: "flex flex-ro
|
|
|
24192
24219
|
}, null, 2)) : D("", !0),
|
|
24193
24220
|
h("span", {
|
|
24194
24221
|
class: Y(["block truncate", [(o.value !== "none", "")]])
|
|
24195
|
-
},
|
|
24222
|
+
}, F(o.value === "none" ? "Transparent" : o.value), 3)
|
|
24196
24223
|
]),
|
|
24197
24224
|
s[2] || (s[2] = h("span", { class: "pointer-events-none absolute inset-y-0 right-0 ml-3 flex items-center pr-2" }, [
|
|
24198
24225
|
h("span", { class: "material-symbols-outlined" }, " keyboard_arrow_down ")
|
|
@@ -24232,7 +24259,7 @@ const en = /* @__PURE__ */ Zd(OS, [["render", LS]]), DS = { class: "flex flex-ro
|
|
|
24232
24259
|
key: 1,
|
|
24233
24260
|
class: Y(["aspect-square w-6 h-6 bg-gray-950", `${a}`])
|
|
24234
24261
|
}, null, 2)) : D("", !0),
|
|
24235
|
-
a !== "none" ? (k(), M("span", YS,
|
|
24262
|
+
a !== "none" ? (k(), M("span", YS, F(a), 1)) : D("", !0),
|
|
24236
24263
|
a === "none" ? (k(), M("span", QS, "Transparent")) : D("", !0)
|
|
24237
24264
|
])
|
|
24238
24265
|
], 2)
|
|
@@ -24290,7 +24317,7 @@ const en = /* @__PURE__ */ Zd(OS, [["render", LS]]), DS = { class: "flex flex-ro
|
|
|
24290
24317
|
}, null, 2)) : D("", !0),
|
|
24291
24318
|
h("span", {
|
|
24292
24319
|
class: Y(["block truncate", [(o.value !== "none", "")]])
|
|
24293
|
-
},
|
|
24320
|
+
}, F(o.value === "none" ? "Transparent" : o.value), 3)
|
|
24294
24321
|
]),
|
|
24295
24322
|
s[2] || (s[2] = h("span", { class: "pointer-events-none absolute inset-y-0 right-0 ml-3 flex items-center pr-2" }, [
|
|
24296
24323
|
h("span", { class: "material-symbols-outlined" }, " keyboard_arrow_down ")
|
|
@@ -24331,7 +24358,7 @@ const en = /* @__PURE__ */ Zd(OS, [["render", LS]]), DS = { class: "flex flex-ro
|
|
|
24331
24358
|
class: Y(["aspect-square w-6 h-6 bg-gray-950", `${a}`])
|
|
24332
24359
|
}, null, 2)) : D("", !0),
|
|
24333
24360
|
a === "none" ? (k(), M("span", iC, "Transparent")) : D("", !0),
|
|
24334
|
-
a !== "none" ? (k(), M("span", sC,
|
|
24361
|
+
a !== "none" ? (k(), M("span", sC, F(a), 1)) : D("", !0)
|
|
24335
24362
|
])
|
|
24336
24363
|
], 2)
|
|
24337
24364
|
]),
|
|
@@ -24408,7 +24435,7 @@ const en = /* @__PURE__ */ Zd(OS, [["render", LS]]), DS = { class: "flex flex-ro
|
|
|
24408
24435
|
disabled: "",
|
|
24409
24436
|
value: ""
|
|
24410
24437
|
}, "Select", -1)),
|
|
24411
|
-
(k(!0), M(we, null, Ae(O(Er).verticalPadding, (m) => (k(), M("option", { key: m },
|
|
24438
|
+
(k(!0), M(we, null, Ae(O(Er).verticalPadding, (m) => (k(), M("option", { key: m }, F(m), 1))), 128))
|
|
24412
24439
|
], 544), [
|
|
24413
24440
|
[$t, o.value]
|
|
24414
24441
|
])
|
|
@@ -24424,7 +24451,7 @@ const en = /* @__PURE__ */ Zd(OS, [["render", LS]]), DS = { class: "flex flex-ro
|
|
|
24424
24451
|
disabled: "",
|
|
24425
24452
|
value: ""
|
|
24426
24453
|
}, "Select", -1)),
|
|
24427
|
-
(k(!0), M(we, null, Ae(O(Er).horizontalPadding, (m) => (k(), M("option", { key: m },
|
|
24454
|
+
(k(!0), M(we, null, Ae(O(Er).horizontalPadding, (m) => (k(), M("option", { key: m }, F(m), 1))), 128))
|
|
24428
24455
|
], 544), [
|
|
24429
24456
|
[$t, n.value]
|
|
24430
24457
|
])
|
|
@@ -24441,7 +24468,7 @@ const en = /* @__PURE__ */ Zd(OS, [["render", LS]]), DS = { class: "flex flex-ro
|
|
|
24441
24468
|
disabled: "",
|
|
24442
24469
|
value: ""
|
|
24443
24470
|
}, "Select", -1)),
|
|
24444
|
-
(k(!0), M(we, null, Ae(O(Er).verticalMargin, (m) => (k(), M("option", { key: m },
|
|
24471
|
+
(k(!0), M(we, null, Ae(O(Er).verticalMargin, (m) => (k(), M("option", { key: m }, F(m), 1))), 128))
|
|
24445
24472
|
], 544), [
|
|
24446
24473
|
[$t, i.value]
|
|
24447
24474
|
])
|
|
@@ -24457,7 +24484,7 @@ const en = /* @__PURE__ */ Zd(OS, [["render", LS]]), DS = { class: "flex flex-ro
|
|
|
24457
24484
|
disabled: "",
|
|
24458
24485
|
value: ""
|
|
24459
24486
|
}, "Select", -1)),
|
|
24460
|
-
(k(!0), M(we, null, Ae(O(Er).horizontalMargin, (m) => (k(), M("option", { key: m },
|
|
24487
|
+
(k(!0), M(we, null, Ae(O(Er).horizontalMargin, (m) => (k(), M("option", { key: m }, F(m), 1))), 128))
|
|
24461
24488
|
], 544), [
|
|
24462
24489
|
[$t, s.value]
|
|
24463
24490
|
])
|
|
@@ -24517,7 +24544,7 @@ const en = /* @__PURE__ */ Zd(OS, [["render", LS]]), DS = { class: "flex flex-ro
|
|
|
24517
24544
|
disabled: "",
|
|
24518
24545
|
value: ""
|
|
24519
24546
|
}, "Select", -1)),
|
|
24520
|
-
(k(!0), M(we, null, Ae(O(qt).roundedGlobal, (f) => (k(), M("option", { key: f },
|
|
24547
|
+
(k(!0), M(we, null, Ae(O(qt).roundedGlobal, (f) => (k(), M("option", { key: f }, F(f), 1))), 128))
|
|
24521
24548
|
], 544), [
|
|
24522
24549
|
[$t, o.value]
|
|
24523
24550
|
])
|
|
@@ -24534,7 +24561,7 @@ const en = /* @__PURE__ */ Zd(OS, [["render", LS]]), DS = { class: "flex flex-ro
|
|
|
24534
24561
|
disabled: "",
|
|
24535
24562
|
value: ""
|
|
24536
24563
|
}, "Select", -1)),
|
|
24537
|
-
(k(!0), M(we, null, Ae(O(qt).roundedTopLeft, (f) => (k(), M("option", { key: f },
|
|
24564
|
+
(k(!0), M(we, null, Ae(O(qt).roundedTopLeft, (f) => (k(), M("option", { key: f }, F(f), 1))), 128))
|
|
24538
24565
|
], 544), [
|
|
24539
24566
|
[$t, n.value]
|
|
24540
24567
|
])
|
|
@@ -24550,7 +24577,7 @@ const en = /* @__PURE__ */ Zd(OS, [["render", LS]]), DS = { class: "flex flex-ro
|
|
|
24550
24577
|
disabled: "",
|
|
24551
24578
|
value: ""
|
|
24552
24579
|
}, "Select", -1)),
|
|
24553
|
-
(k(!0), M(we, null, Ae(O(qt).roundedTopRight, (f) => (k(), M("option", { key: f },
|
|
24580
|
+
(k(!0), M(we, null, Ae(O(qt).roundedTopRight, (f) => (k(), M("option", { key: f }, F(f), 1))), 128))
|
|
24554
24581
|
], 544), [
|
|
24555
24582
|
[$t, i.value]
|
|
24556
24583
|
])
|
|
@@ -24566,7 +24593,7 @@ const en = /* @__PURE__ */ Zd(OS, [["render", LS]]), DS = { class: "flex flex-ro
|
|
|
24566
24593
|
disabled: "",
|
|
24567
24594
|
value: ""
|
|
24568
24595
|
}, "Select", -1)),
|
|
24569
|
-
(k(!0), M(we, null, Ae(O(qt).roundedBottomLeft, (f) => (k(), M("option", { key: f },
|
|
24596
|
+
(k(!0), M(we, null, Ae(O(qt).roundedBottomLeft, (f) => (k(), M("option", { key: f }, F(f), 1))), 128))
|
|
24570
24597
|
], 544), [
|
|
24571
24598
|
[$t, s.value]
|
|
24572
24599
|
])
|
|
@@ -24582,7 +24609,7 @@ const en = /* @__PURE__ */ Zd(OS, [["render", LS]]), DS = { class: "flex flex-ro
|
|
|
24582
24609
|
disabled: "",
|
|
24583
24610
|
value: ""
|
|
24584
24611
|
}, "Select", -1)),
|
|
24585
|
-
(k(!0), M(we, null, Ae(O(qt).roundedBottomRight, (f) => (k(), M("option", { key: f },
|
|
24612
|
+
(k(!0), M(we, null, Ae(O(qt).roundedBottomRight, (f) => (k(), M("option", { key: f }, F(f), 1))), 128))
|
|
24586
24613
|
], 544), [
|
|
24587
24614
|
[$t, a.value]
|
|
24588
24615
|
])
|
|
@@ -24635,7 +24662,7 @@ const en = /* @__PURE__ */ Zd(OS, [["render", LS]]), DS = { class: "flex flex-ro
|
|
|
24635
24662
|
disabled: "",
|
|
24636
24663
|
value: ""
|
|
24637
24664
|
}, "Select", -1)),
|
|
24638
|
-
(k(!0), M(we, null, Ae(O($o).borderStyle, (p) => (k(), M("option", { key: p },
|
|
24665
|
+
(k(!0), M(we, null, Ae(O($o).borderStyle, (p) => (k(), M("option", { key: p }, F(p), 1))), 128))
|
|
24639
24666
|
], 544), [
|
|
24640
24667
|
[$t, o.value]
|
|
24641
24668
|
])
|
|
@@ -24651,7 +24678,7 @@ const en = /* @__PURE__ */ Zd(OS, [["render", LS]]), DS = { class: "flex flex-ro
|
|
|
24651
24678
|
disabled: "",
|
|
24652
24679
|
value: ""
|
|
24653
24680
|
}, "Select", -1)),
|
|
24654
|
-
(k(!0), M(we, null, Ae(O($o).borderWidth, (p) => (k(), M("option", { key: p },
|
|
24681
|
+
(k(!0), M(we, null, Ae(O($o).borderWidth, (p) => (k(), M("option", { key: p }, F(p), 1))), 128))
|
|
24655
24682
|
], 544), [
|
|
24656
24683
|
[$t, n.value]
|
|
24657
24684
|
])
|
|
@@ -24678,7 +24705,7 @@ const en = /* @__PURE__ */ Zd(OS, [["render", LS]]), DS = { class: "flex flex-ro
|
|
|
24678
24705
|
key: 1,
|
|
24679
24706
|
class: Y(["aspect-square w-6 h-6 border border-gray-100 rounded-sm", `bg-${(p = i.value) == null ? void 0 : p.replace("border-", "")}`])
|
|
24680
24707
|
}, null, 2)) : D("", !0),
|
|
24681
|
-
h("span", MC,
|
|
24708
|
+
h("span", MC, F(i.value), 1)
|
|
24682
24709
|
]),
|
|
24683
24710
|
c[12] || (c[12] = h("span", { class: "pointer-events-none absolute inset-y-0 right-0 ml-3 flex items-center pr-2" }, [
|
|
24684
24711
|
h("span", { class: "material-symbols-outlined" }, " keyboard_arrow_down ")
|
|
@@ -24720,7 +24747,7 @@ const en = /* @__PURE__ */ Zd(OS, [["render", LS]]), DS = { class: "flex flex-ro
|
|
|
24720
24747
|
class: Y(["aspect-square w-6 h-6 bg-gray-950", `bg-${p.replace("border-", "")}`])
|
|
24721
24748
|
}, null, 2)) : D("", !0),
|
|
24722
24749
|
p === "none" ? (k(), M("span", OC, "Transparent")) : D("", !0),
|
|
24723
|
-
p !== "none" ? (k(), M("span", PC,
|
|
24750
|
+
p !== "none" ? (k(), M("span", PC, F(p), 1)) : D("", !0)
|
|
24724
24751
|
])
|
|
24725
24752
|
], 2)
|
|
24726
24753
|
]),
|
|
@@ -24806,7 +24833,7 @@ const en = /* @__PURE__ */ Zd(OS, [["render", LS]]), DS = { class: "flex flex-ro
|
|
|
24806
24833
|
_: 1
|
|
24807
24834
|
}));
|
|
24808
24835
|
}
|
|
24809
|
-
}, _C = { class: "h-full w-80 bg-white" },
|
|
24836
|
+
}, _C = { class: "h-full w-80 bg-white" }, zC = { class: "h-screen flex flex-col" }, FC = { class: "flex flex-row justify-between pt-2.5 pr-4 pl-4 items-center mb-3" }, jC = { class: "font-medium text-sm" }, HC = { class: "lowercase" }, VC = { class: "pl-3 pr-3 mb-4 overflow-y-scroll md:pb-24 pb-12" }, WC = {
|
|
24810
24837
|
__name: "RightSidebarEditor",
|
|
24811
24838
|
emits: ["closeEditor"],
|
|
24812
24839
|
setup(r, { emit: e }) {
|
|
@@ -24815,8 +24842,8 @@ const en = /* @__PURE__ */ Zd(OS, [["render", LS]]), DS = { class: "flex flex-ro
|
|
|
24815
24842
|
return (s = o.value) == null ? void 0 : s.tagName;
|
|
24816
24843
|
}), i = L(() => o.value instanceof HTMLElement && o.value.innerText.trim() !== " " || o.value instanceof HTMLImageElement);
|
|
24817
24844
|
return (s, a) => (k(), M("div", _C, [
|
|
24818
|
-
h("div",
|
|
24819
|
-
h("div",
|
|
24845
|
+
h("div", zC, [
|
|
24846
|
+
h("div", FC, [
|
|
24820
24847
|
h("button", {
|
|
24821
24848
|
type: "button",
|
|
24822
24849
|
onClick: a[0] || (a[0] = (l) => s.$emit("closeEditor")),
|
|
@@ -24826,7 +24853,7 @@ const en = /* @__PURE__ */ Zd(OS, [["render", LS]]), DS = { class: "flex flex-ro
|
|
|
24826
24853
|
])),
|
|
24827
24854
|
h("p", jC, [
|
|
24828
24855
|
a[2] || (a[2] = Ie(" Editing ")),
|
|
24829
|
-
h("span", HC, "<" +
|
|
24856
|
+
h("span", HC, "<" + F(n.value) + ">", 1)
|
|
24830
24857
|
])
|
|
24831
24858
|
]),
|
|
24832
24859
|
h("div", VC, [
|
|
@@ -24852,7 +24879,7 @@ const en = /* @__PURE__ */ Zd(OS, [["render", LS]]), DS = { class: "flex flex-ro
|
|
|
24852
24879
|
R(BC)
|
|
24853
24880
|
]),
|
|
24854
24881
|
h("article", null, [
|
|
24855
|
-
R(
|
|
24882
|
+
R(FS)
|
|
24856
24883
|
])
|
|
24857
24884
|
], 512), [
|
|
24858
24885
|
[Ug, i.value === !0]
|
|
@@ -24939,7 +24966,7 @@ const en = /* @__PURE__ */ Zd(OS, [["render", LS]]), DS = { class: "flex flex-ro
|
|
|
24939
24966
|
h("div", null, [
|
|
24940
24967
|
h("div", UC, [
|
|
24941
24968
|
h("div", {
|
|
24942
|
-
onClick: v[3] || (v[3] = (
|
|
24969
|
+
onClick: v[3] || (v[3] = (z) => O(o).setComponent(null)),
|
|
24943
24970
|
class: "px-4 lg:h-[10vh] h-[16vh] flex items-center justify-between border-b border-gray-200 bg-white"
|
|
24944
24971
|
}, [
|
|
24945
24972
|
h("div", KC, [
|
|
@@ -24952,7 +24979,7 @@ const en = /* @__PURE__ */ Zd(OS, [["render", LS]]), DS = { class: "flex flex-ro
|
|
|
24952
24979
|
])) : D("", !0),
|
|
24953
24980
|
h("button", {
|
|
24954
24981
|
class: "myPrimaryButton lg:text-sm text-[10px] lg:py-2 py-2 min-h-2 ml-4",
|
|
24955
|
-
onClick: v[0] || (v[0] = (...
|
|
24982
|
+
onClick: v[0] || (v[0] = (...z) => O(n).saveComponentsLocalStorage && O(n).saveComponentsLocalStorage(...z)),
|
|
24956
24983
|
type: "button"
|
|
24957
24984
|
}, v[15] || (v[15] = [
|
|
24958
24985
|
h("span", { class: "material-symbols-outlined text-[18px]" }, " save ", -1),
|
|
@@ -24960,7 +24987,7 @@ const en = /* @__PURE__ */ Zd(OS, [["render", LS]]), DS = { class: "flex flex-ro
|
|
|
24960
24987
|
])),
|
|
24961
24988
|
h("button", {
|
|
24962
24989
|
class: "myPrimaryButton lg:text-sm text-[10px] lg:py-2 py-2 min-h-2 ml-4 bg-red-500",
|
|
24963
|
-
onClick: v[1] || (v[1] = (...
|
|
24990
|
+
onClick: v[1] || (v[1] = (...z) => O(n).removeItemComponentsLocalStorageCreate && O(n).removeItemComponentsLocalStorageCreate(...z)),
|
|
24964
24991
|
type: "button"
|
|
24965
24992
|
}, v[16] || (v[16] = [
|
|
24966
24993
|
h("span", { class: "material-symbols-outlined text-[18px]" }, " delete ", -1),
|
|
@@ -24968,7 +24995,7 @@ const en = /* @__PURE__ */ Zd(OS, [["render", LS]]), DS = { class: "flex flex-ro
|
|
|
24968
24995
|
])),
|
|
24969
24996
|
h("button", {
|
|
24970
24997
|
class: "myPrimaryButton lg:text-sm text-[10px] lg:py-2 py-2 min-h-2 ml-4 bg-red-800",
|
|
24971
|
-
onClick: v[2] || (v[2] = (...
|
|
24998
|
+
onClick: v[2] || (v[2] = (...z) => O(n).removeItemComponentsLocalStorageUpdate && O(n).removeItemComponentsLocalStorageUpdate(...z)),
|
|
24972
24999
|
type: "button"
|
|
24973
25000
|
}, v[17] || (v[17] = [
|
|
24974
25001
|
h("span", { class: "material-symbols-outlined text-[18px]" }, " delete ", -1),
|
|
@@ -24979,7 +25006,7 @@ const en = /* @__PURE__ */ Zd(OS, [["render", LS]]), DS = { class: "flex flex-ro
|
|
|
24979
25006
|
]),
|
|
24980
25007
|
h("div", YC, [
|
|
24981
25008
|
h("div", {
|
|
24982
|
-
onClick: v[6] || (v[6] = Po((
|
|
25009
|
+
onClick: v[6] || (v[6] = Po((z) => O(o).setComponent(null), ["self"])),
|
|
24983
25010
|
class: "min-w-[3.5rem] pt-6 pb-2 my-2 mx-2 bg-myPrimaryLightGrayColor rounded-full shadow"
|
|
24984
25011
|
}, [
|
|
24985
25012
|
h("div", QC, [
|
|
@@ -24995,7 +25022,7 @@ const en = /* @__PURE__ */ Zd(OS, [["render", LS]]), DS = { class: "flex flex-ro
|
|
|
24995
25022
|
]))
|
|
24996
25023
|
]),
|
|
24997
25024
|
h("div", {
|
|
24998
|
-
onClick: v[5] || (v[5] = Po((
|
|
25025
|
+
onClick: v[5] || (v[5] = Po((z) => O(o).setComponent(null), ["self"]))
|
|
24999
25026
|
}, [
|
|
25000
25027
|
C.value ? (k(), Se(O0, { key: 0 })) : D("", !0)
|
|
25001
25028
|
])
|
|
@@ -25004,7 +25031,7 @@ const en = /* @__PURE__ */ Zd(OS, [["render", LS]]), DS = { class: "flex flex-ro
|
|
|
25004
25031
|
h("main", ZC, [
|
|
25005
25032
|
h("div", e7, [
|
|
25006
25033
|
h("div", {
|
|
25007
|
-
onClick: v[7] || (v[7] = Po((
|
|
25034
|
+
onClick: v[7] || (v[7] = Po((z) => O(o).setComponent(null), ["self"])),
|
|
25008
25035
|
class: "w-4/12 flex justify-start items-center py-2 pl-2 h-full"
|
|
25009
25036
|
}, v[19] || (v[19] = [
|
|
25010
25037
|
h("div", { class: "flex gap-2" }, [
|
|
@@ -25014,13 +25041,13 @@ const en = /* @__PURE__ */ Zd(OS, [["render", LS]]), DS = { class: "flex flex-ro
|
|
|
25014
25041
|
], -1)
|
|
25015
25042
|
])),
|
|
25016
25043
|
h("div", {
|
|
25017
|
-
onClick: v[8] || (v[8] = Po((
|
|
25044
|
+
onClick: v[8] || (v[8] = Po((z) => O(o).setComponent(null), ["self"])),
|
|
25018
25045
|
class: "w-4/12 flex justify-center py-2"
|
|
25019
25046
|
}, [
|
|
25020
25047
|
R(TS, { onPreviewCurrentDesign: l })
|
|
25021
25048
|
]),
|
|
25022
25049
|
h("div", {
|
|
25023
|
-
onClick: v[12] || (v[12] = Po((
|
|
25050
|
+
onClick: v[12] || (v[12] = Po((z) => O(o).setComponent(null), ["self"])),
|
|
25024
25051
|
class: "w-4/12 flex justify-end py-2 pr-2"
|
|
25025
25052
|
}, [
|
|
25026
25053
|
h("div", t7, [
|
|
@@ -25056,7 +25083,7 @@ const en = /* @__PURE__ */ Zd(OS, [["render", LS]]), DS = { class: "flex flex-ro
|
|
|
25056
25083
|
a.value === !1 ? (k(), M("button", {
|
|
25057
25084
|
key: 0,
|
|
25058
25085
|
type: "button",
|
|
25059
|
-
onClick: v[11] || (v[11] = (
|
|
25086
|
+
onClick: v[11] || (v[11] = (z) => O(o).setMenuRight(!0))
|
|
25060
25087
|
}, v[22] || (v[22] = [
|
|
25061
25088
|
h("div", { class: "flex items-center justify-center gap-2" }, [
|
|
25062
25089
|
h("span", { class: "lg:block hidden" }, " Styling "),
|
|
@@ -25076,17 +25103,17 @@ const en = /* @__PURE__ */ Zd(OS, [["render", LS]]), DS = { class: "flex flex-ro
|
|
|
25076
25103
|
ref_key: "draggableZone",
|
|
25077
25104
|
ref: P
|
|
25078
25105
|
}, [
|
|
25079
|
-
(k(!0), M(we, null, Ae(w.value, (
|
|
25080
|
-
key:
|
|
25106
|
+
(k(!0), M(we, null, Ae(w.value, (z) => (k(), M("div", {
|
|
25107
|
+
key: z.id,
|
|
25081
25108
|
id: "page-builder-editor-editable-area",
|
|
25082
25109
|
class: "bg-white grow"
|
|
25083
25110
|
}, [
|
|
25084
25111
|
h("div", {
|
|
25085
|
-
onMouseup: (_) => y(
|
|
25112
|
+
onMouseup: (_) => y(z),
|
|
25086
25113
|
class: "relative group"
|
|
25087
25114
|
}, [
|
|
25088
25115
|
h("div", {
|
|
25089
|
-
innerHTML:
|
|
25116
|
+
innerHTML: z.html_code
|
|
25090
25117
|
}, null, 8, s7)
|
|
25091
25118
|
], 40, i7)
|
|
25092
25119
|
]))), 128))
|
|
@@ -25107,7 +25134,7 @@ const en = /* @__PURE__ */ Zd(OS, [["render", LS]]), DS = { class: "flex flex-ro
|
|
|
25107
25134
|
class: Y([{ "w-0": !a.value, "w-80 ml-4": a.value }, "h-full duration-300 z-20 flex-shrink-0 overflow-hidden shadow-2xl rounded-l-2xl bg-white"])
|
|
25108
25135
|
}, [
|
|
25109
25136
|
R(WC, {
|
|
25110
|
-
onCloseEditor: v[14] || (v[14] = (
|
|
25137
|
+
onCloseEditor: v[14] || (v[14] = (z) => O(o).setMenuRight(!1))
|
|
25111
25138
|
})
|
|
25112
25139
|
], 2)
|
|
25113
25140
|
])
|