auto-vue-manual 0.2.17 → 0.2.18
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.
- package/dist/auto-vue-manual.es.js +201 -200
- package/dist/auto-vue-manual.umd.js +1 -1
- package/dist/index.css +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ElNotification as Zu, ElMessageBox as jve, ElMessage as o_, switchProps as w5e, ElTable as qve, dialogProps as Xte, drawerProps as E5e, buttonProps as mD, avatarProps as A5e, textProps as T5e, radioGroupProps as D5e } from "element-plus";
|
|
2
2
|
import { defineStore as FS, createPinia as k5e, storeToRefs as kQ } from "pinia";
|
|
3
|
-
import { inject as By, shallowRef as Yve, defineComponent as xr, unref as Qt, shallowReactive as M5e, reactive as h_, computed as lr, h as Fy, provide as HM, ref as
|
|
3
|
+
import { inject as By, shallowRef as Yve, defineComponent as xr, unref as Qt, shallowReactive as M5e, reactive as h_, computed as lr, h as Fy, provide as HM, ref as mr, watch as Ws, getCurrentInstance as nD, watchEffect as L5e, nextTick as hu, onMounted as p_, onUnmounted as Kve, effectScope as R5e, isRef as Ty, Fragment as Ii, createVNode as St, Text as O5e, resolveComponent as fn, createElementBlock as Mr, openBlock as sn, createElementVNode as Yn, toDisplayString as _a, withCtx as rn, createTextVNode as Vc, toRefs as Xve, useSlots as Jte, createBlock as Wr, normalizeProps as tG, guardReactiveProps as nG, mergeProps as ol, isVNode as Jve, normalizeStyle as $m, normalizeClass as ju, withDirectives as Ss, resolveDirective as fL, renderSlot as Hl, createCommentVNode as al, renderList as Um, resolveDynamicComponent as vD, createSlots as Qte, vShow as qu, onBeforeUnmount as rG, onActivated as N5e, onDeactivated as I5e, withModifiers as VS, toRef as Qve, Transition as P5e, KeepAlive as B5e } from "vue";
|
|
4
4
|
import F5e from "mitt";
|
|
5
5
|
const V5e = "search", e0e = "search", t0e = "info", n0e = "info", r0e = "list", o0e = "list", a0e = "create", i0e = "create", s0e = "update", l0e = "update", z5e = "append", c0e = "append", H5e = "modify", u0e = "modify", $5e = "change_status", f0e = "change_status", U5e = "remove", d0e = "remove", W5e = {
|
|
6
6
|
[V5e]: e0e,
|
|
@@ -1365,7 +1365,7 @@ const hle = (n, e, t) => n ?? e ?? t, pLe = /* @__PURE__ */ xr({
|
|
|
1365
1365
|
return h;
|
|
1366
1366
|
}), c = lr(() => o.value.matched[l.value]);
|
|
1367
1367
|
HM(ule, lr(() => l.value + 1)), HM(sLe, c), HM(PQ, o);
|
|
1368
|
-
const d =
|
|
1368
|
+
const d = mr();
|
|
1369
1369
|
return Ws(() => [d.value, c.value, n.name], ([h, p, v], [y, b, w]) => {
|
|
1370
1370
|
p && (p.instances[v] = h, b && b !== p && h && h === y && (p.leaveGuards.size || (p.leaveGuards = b.leaveGuards), p.updateGuards.size || (p.updateGuards = b.updateGuards))), h && p && // if there is no instance but to and from are the same this might be
|
|
1371
1371
|
// the first visit
|
|
@@ -12653,7 +12653,7 @@ const IIe = /* @__NO_SIDE_EFFECTS__ */ () => {
|
|
|
12653
12653
|
return n && (e = sye(n)[Vce]) ? { [Vce]: e } : null;
|
|
12654
12654
|
};
|
|
12655
12655
|
function Cne(n = {}) {
|
|
12656
|
-
const { __root: e, __injectWithOption: t } = n, r = e === void 0, o = n.flatJson, i = k0 ?
|
|
12656
|
+
const { __root: e, __injectWithOption: t } = n, r = e === void 0, o = n.flatJson, i = k0 ? mr : Yve;
|
|
12657
12657
|
let l = qa(n.inheritLocale) ? n.inheritLocale : !0;
|
|
12658
12658
|
const c = i(
|
|
12659
12659
|
// prettier-ignore
|
|
@@ -14532,7 +14532,7 @@ function yye(n, e, t) {
|
|
|
14532
14532
|
};
|
|
14533
14533
|
}
|
|
14534
14534
|
const Rne = (n, e = {}, t = !0, r, o, i) => {
|
|
14535
|
-
const l =
|
|
14535
|
+
const l = mr(!1), c = h_({
|
|
14536
14536
|
// 表格数据
|
|
14537
14537
|
tableData: [],
|
|
14538
14538
|
// 分页数据
|
|
@@ -14590,7 +14590,7 @@ const Rne = (n, e = {}, t = !0, r, o, i) => {
|
|
|
14590
14590
|
c.pagination.page = 1, c.pagination.size = W, h();
|
|
14591
14591
|
}, w = (W) => {
|
|
14592
14592
|
c.pagination.page = W, h();
|
|
14593
|
-
}, A =
|
|
14593
|
+
}, A = mr([]);
|
|
14594
14594
|
function T() {
|
|
14595
14595
|
const W = [];
|
|
14596
14596
|
for (const Z of A.value)
|
|
@@ -14609,7 +14609,7 @@ const Rne = (n, e = {}, t = !0, r, o, i) => {
|
|
|
14609
14609
|
}
|
|
14610
14610
|
const N = (W) => {
|
|
14611
14611
|
c.pagination.size = W;
|
|
14612
|
-
}, O =
|
|
14612
|
+
}, O = mr(/* @__PURE__ */ new Map()), I = async ({ prop: W, enum: Z }) => {
|
|
14613
14613
|
if (!Z || O.value.has(W) && (typeof Z == "function" || O.value.get(W) === Z)) return;
|
|
14614
14614
|
if (typeof Z != "function") return O.value.set(W, Qt(Z));
|
|
14615
14615
|
O.value.set(W, []);
|
|
@@ -14654,7 +14654,7 @@ const Rne = (n, e = {}, t = !0, r, o, i) => {
|
|
|
14654
14654
|
small: 24,
|
|
14655
14655
|
large: 40
|
|
14656
14656
|
}, One = (n, e) => {
|
|
14657
|
-
const t =
|
|
14657
|
+
const t = mr(null), r = mr(null), o = mr(0), i = mr(0), l = mr(0), c = mr(0), d = mr(0), h = mr(5), p = () => {
|
|
14658
14658
|
hu(() => {
|
|
14659
14659
|
if (!t.value) return;
|
|
14660
14660
|
const v = t.value.parentElement, y = (v == null ? void 0 : v.clientHeight) || 0, b = (v == null ? void 0 : v.clientWidth) || 0, w = v ? getComputedStyle(v) : null, A = w ? parseFloat(w.paddingTop) + parseFloat(w.paddingBottom) : 0, T = w ? parseFloat(w.paddingLeft) + parseFloat(w.paddingRight) : 0, k = w ? parseFloat(w.marginTop) + parseFloat(w.marginBottom) : 0, N = w ? parseFloat(w.marginLeft) + parseFloat(w.marginRight) : 0, O = Array.from((v == null ? void 0 : v.children) || []).filter((ne) => ne !== t.value).reduce(
|
|
@@ -14701,7 +14701,7 @@ const Rne = (n, e = {}, t = !0, r, o, i) => {
|
|
|
14701
14701
|
handleCalculateMaxHeight: p
|
|
14702
14702
|
};
|
|
14703
14703
|
}, Nne = (n = "id", e) => {
|
|
14704
|
-
const t =
|
|
14704
|
+
const t = mr(!1), r = mr([]), o = lr(() => {
|
|
14705
14705
|
let l = [];
|
|
14706
14706
|
return r.value.forEach((c) => l.push(c[n])), l;
|
|
14707
14707
|
});
|
|
@@ -14928,9 +14928,9 @@ const _ye = /* @__PURE__ */ xr({
|
|
|
14928
14928
|
column: {}
|
|
14929
14929
|
},
|
|
14930
14930
|
setup(n) {
|
|
14931
|
-
const e =
|
|
14931
|
+
const e = mr(0), t = (p, v) => {
|
|
14932
14932
|
e.value = p, sBe(v), setTimeout(() => e.value = 0, 1500);
|
|
14933
|
-
}, r = Jte(), o = By("enumMap",
|
|
14933
|
+
}, r = Jte(), o = By("enumMap", mr(/* @__PURE__ */ new Map())), i = (p, v) => o.value.get(p.prop) && p.isFilterEnum ? XU(wS(v.row, p.prop), o.value.get(p.prop), p.fieldNames) : Lne(wS(v.row, p.prop)), l = (p, v) => XU(wS(v.row, p.prop), o.value.get(p.prop), p.fieldNames, "tag") || "primary", c = (p, v) => St(fn("el-space"), {
|
|
14934
14934
|
size: 4,
|
|
14935
14935
|
class: "copy-column",
|
|
14936
14936
|
onClick: (y) => {
|
|
@@ -15109,14 +15109,14 @@ const _ye = /* @__PURE__ */ xr({
|
|
|
15109
15109
|
emits: ["row-click", "row-dblclick", "switch-change"],
|
|
15110
15110
|
setup(n, { expose: e, emit: t }) {
|
|
15111
15111
|
var we;
|
|
15112
|
-
const r = t, o = Object.keys(Jte()), i = n, l =
|
|
15112
|
+
const r = t, o = Object.keys(Jte()), i = n, l = mr(), c = mr("id-" + Mne()), d = [
|
|
15113
15113
|
"selection",
|
|
15114
15114
|
"radio",
|
|
15115
15115
|
"index",
|
|
15116
15116
|
"expand",
|
|
15117
15117
|
// "sort",
|
|
15118
15118
|
"switch"
|
|
15119
|
-
], h =
|
|
15119
|
+
], h = mr(""), { selectionChange: p, selectedList: v, selectedListIds: y, isSelected: b } = Nne(i.rowKey), {
|
|
15120
15120
|
loading: w,
|
|
15121
15121
|
tableData: A,
|
|
15122
15122
|
searchParam: T,
|
|
@@ -15309,7 +15309,7 @@ const _ye = /* @__PURE__ */ xr({
|
|
|
15309
15309
|
};
|
|
15310
15310
|
}
|
|
15311
15311
|
}), zne = () => {
|
|
15312
|
-
const n =
|
|
15312
|
+
const n = mr("");
|
|
15313
15313
|
return { copy: (r) => {
|
|
15314
15314
|
v1e(r), n.value = r, setTimeout(() => {
|
|
15315
15315
|
n.value = "";
|
|
@@ -15325,7 +15325,7 @@ const cBe = (n, e, t, r, o) => {
|
|
|
15325
15325
|
selectedListIds: l,
|
|
15326
15326
|
isSelected: c,
|
|
15327
15327
|
selectionChange: d
|
|
15328
|
-
} = Nne(n.rowKey, e), h = By("enumMap",
|
|
15328
|
+
} = Nne(n.rowKey, e), h = By("enumMap", mr(/* @__PURE__ */ new Map())), p = (re, Q) => h.value.get(re.prop) && re.isFilterEnum ? XU(wS(Q.rowData, re.prop), h.value.get(re.prop), re.fieldNames) : Lne(wS(Q.rowData, re.prop)), v = ({
|
|
15329
15329
|
value: re,
|
|
15330
15330
|
intermediate: Q = !1,
|
|
15331
15331
|
onChange: q
|
|
@@ -15552,7 +15552,7 @@ const cBe = (n, e, t, r, o) => {
|
|
|
15552
15552
|
emit: t
|
|
15553
15553
|
}) {
|
|
15554
15554
|
var ge;
|
|
15555
|
-
const r = t, o = n, i =
|
|
15555
|
+
const r = t, o = n, i = mr(), l = mr("id-" + Mne()), {
|
|
15556
15556
|
loading: c,
|
|
15557
15557
|
tableData: d,
|
|
15558
15558
|
searchParam: h,
|
|
@@ -15683,14 +15683,14 @@ const cBe = (n, e, t, r, o) => {
|
|
|
15683
15683
|
emits: ["row-click", "row-dblclick", "switch-change"],
|
|
15684
15684
|
setup(n, { expose: e, emit: t }) {
|
|
15685
15685
|
var ke;
|
|
15686
|
-
const r = t, o = Object.keys(Jte()), i = n, l =
|
|
15686
|
+
const r = t, o = Object.keys(Jte()), i = n, l = mr(), c = mr("id-" + Mne()), d = [
|
|
15687
15687
|
"selection",
|
|
15688
15688
|
"radio",
|
|
15689
15689
|
"index",
|
|
15690
15690
|
"expand",
|
|
15691
15691
|
"switch"
|
|
15692
15692
|
// "sort",
|
|
15693
|
-
], h =
|
|
15693
|
+
], h = mr(""), { selectionChange: p, selectedList: v, selectedListIds: y, isSelected: b } = Nne(i.rowKey), {
|
|
15694
15694
|
loading: w,
|
|
15695
15695
|
tableData: A,
|
|
15696
15696
|
pagination: T,
|
|
@@ -16146,7 +16146,7 @@ const cBe = (n, e, t, r, o) => {
|
|
|
16146
16146
|
setup(n, {
|
|
16147
16147
|
emit: e
|
|
16148
16148
|
}) {
|
|
16149
|
-
const t =
|
|
16149
|
+
const t = mr([]), r = mr(null), o = lr(() => t.value.length >= 1), i = (d) => {
|
|
16150
16150
|
if (d.size > n.size * 1024) {
|
|
16151
16151
|
o_.error("文件大小不能超过" + n.size + "KB"), c(d);
|
|
16152
16152
|
return;
|
|
@@ -16258,7 +16258,7 @@ const cBe = (n, e, t, r, o) => {
|
|
|
16258
16258
|
setup(n, {
|
|
16259
16259
|
emit: e
|
|
16260
16260
|
}) {
|
|
16261
|
-
const t =
|
|
16261
|
+
const t = mr([]), r = mr(null), o = lr(() => t.value.length >= 1), i = (d) => {
|
|
16262
16262
|
if (d.size > n.size * 1024) {
|
|
16263
16263
|
o_.error("文件大小不能超过" + n.size + "KB"), c(d);
|
|
16264
16264
|
return;
|
|
@@ -16375,7 +16375,7 @@ const cBe = (n, e, t, r, o) => {
|
|
|
16375
16375
|
setup(n, {
|
|
16376
16376
|
emit: e
|
|
16377
16377
|
}) {
|
|
16378
|
-
const t =
|
|
16378
|
+
const t = mr([]), r = mr(null), o = lr(() => t.value.length >= n.limit), i = (h) => {
|
|
16379
16379
|
if (h.size > n.size * 1024) {
|
|
16380
16380
|
o_.error("文件大小不能超过" + n.size + "KB"), c(h);
|
|
16381
16381
|
return;
|
|
@@ -17638,7 +17638,7 @@ Required: ` + s.join(", "));
|
|
|
17638
17638
|
}, Yc = (a) => {
|
|
17639
17639
|
const s = (f) => lt(f, (g) => !qr(a, g));
|
|
17640
17640
|
return $o(a).map(Ls).map(s).getOr([]);
|
|
17641
|
-
}, dl = (a) => ae.from(a.dom.previousSibling).map($e.fromDom), tf = (a) => ae.from(a.dom.nextSibling).map($e.fromDom),
|
|
17641
|
+
}, dl = (a) => ae.from(a.dom.previousSibling).map($e.fromDom), tf = (a) => ae.from(a.dom.nextSibling).map($e.fromDom), vr = (a) => ds(fl(a, dl)), Zl = (a) => fl(a, tf), Ls = (a) => wt(a.dom.childNodes, $e.fromDom), Kc = (a, s) => {
|
|
17642
17642
|
const f = a.dom.childNodes;
|
|
17643
17643
|
return ae.from(f[s]).map($e.fromDom);
|
|
17644
17644
|
}, Ml = (a) => Kc(a, 0), ka = (a) => Kc(a, a.dom.childNodes.length - 1), lv = (a) => a.dom.childNodes.length, cv = (a) => {
|
|
@@ -21875,7 +21875,7 @@ Required: ` + s.join(", "));
|
|
|
21875
21875
|
return ae.some({ range: s.rng, forward: ax(s) });
|
|
21876
21876
|
}
|
|
21877
21877
|
return ae.none();
|
|
21878
|
-
},
|
|
21878
|
+
}, yr = (a, s, f) => y1(a, s, f), OE = (a, s) => {
|
|
21879
21879
|
K2(a, s).each(({ range: f, forward: g }) => {
|
|
21880
21880
|
a.setRng(f, g);
|
|
21881
21881
|
});
|
|
@@ -22320,7 +22320,7 @@ Required: ` + s.join(", "));
|
|
|
22320
22320
|
* // Restore the selection bookmark
|
|
22321
22321
|
* tinymce.activeEditor.selection.moveToBookmark(bm);
|
|
22322
22322
|
*/
|
|
22323
|
-
getBookmark: we(
|
|
22323
|
+
getBookmark: we(yr, a),
|
|
22324
22324
|
/**
|
|
22325
22325
|
* Restores the selection to the specified bookmark.
|
|
22326
22326
|
*
|
|
@@ -24508,7 +24508,7 @@ Required: ` + s.join(", "));
|
|
|
24508
24508
|
const E = a.create(f, g);
|
|
24509
24509
|
return (_ = s.parentNode) === null || _ === void 0 || _.insertBefore(E, s), E.appendChild(s), E;
|
|
24510
24510
|
}, pF = (a, s, f, g, _) => {
|
|
24511
|
-
const E = $e.fromDom(s), L = $e.fromDom(a.create(g, _)), F = f ? Zl(E) :
|
|
24511
|
+
const E = $e.fromDom(s), L = $e.fromDom(a.create(g, _)), F = f ? Zl(E) : vr(E);
|
|
24512
24512
|
return yd(L, F), f ? (Ys(E, L), Lg(L, E)) : (Ks(E, L), ci(L, E)), L.dom;
|
|
24513
24513
|
}, Pj = (a, s) => s.links && a.nodeName === "A", gF = (a, s, f) => {
|
|
24514
24514
|
const g = s.parentNode;
|
|
@@ -28558,7 +28558,7 @@ Options:${L}${f.join(L)}` : "";
|
|
|
28558
28558
|
}, MN = (a, s, f) => {
|
|
28559
28559
|
const g = e0(f, s);
|
|
28560
28560
|
return sr(g.reverse(), (_) => Nl(a, _)).each(K);
|
|
28561
|
-
}, LN = (a, s) => lt(
|
|
28561
|
+
}, LN = (a, s) => lt(vr(s), (f) => !Nl(a, f)).length === 0, tz = (a, s, f, g, _) => {
|
|
28562
28562
|
if (Nl(g, f))
|
|
28563
28563
|
return Ld(f), Hs(f.dom);
|
|
28564
28564
|
LN(g, _) && Nl(g, s) && Ys(_, $e.fromTag("br"));
|
|
@@ -35018,7 +35018,7 @@ var hBe = [
|
|
|
35018
35018
|
}, TBe = xr({
|
|
35019
35019
|
props: wBe,
|
|
35020
35020
|
setup: function(n, e) {
|
|
35021
|
-
var t = n.init ? Ay(Ay({}, n.init), nX) : Ay({}, nX), r = Xve(n), o = r.disabled, i = r.readonly, l = r.modelValue, c = r.tagName, d =
|
|
35021
|
+
var t = n.init ? Ay(Ay({}, n.init), nX) : Ay({}, nX), r = Xve(n), o = r.disabled, i = r.readonly, l = r.modelValue, c = r.tagName, d = mr(null), h = null, p = n.id || Sye("tiny-vue"), v = n.init && n.init.inline || n.inline, y = !!e.attrs["onUpdate:modelValue"], b = !0, w = n.initialValue ? n.initialValue : "", A = "", T = function(O) {
|
|
35022
35022
|
return y ? function() {
|
|
35023
35023
|
return l != null && l.value ? l.value : "";
|
|
35024
35024
|
} : function() {
|
|
@@ -35749,7 +35749,7 @@ Required: ` + m.join(", "));
|
|
|
35749
35749
|
}, Dg = (u, m, x) => Pf((S, M) => M(S), $o, u, m, x), eb = (u, m) => ae(u.dom.childNodes, (x) => m(ln(x))).map(ln), Yc = (u, m, x) => $o(u, (S) => Al(S, m), x), dl = (u, m) => ((x) => {
|
|
35750
35750
|
const S = x.dom;
|
|
35751
35751
|
return S.parentNode ? eb(ln(S.parentNode), (M) => !Eo(x, M) && Al(M, m)) : z.none();
|
|
35752
|
-
})(u), tf = (u, m) => eb(u, (x) => Al(x, m)),
|
|
35752
|
+
})(u), tf = (u, m) => eb(u, (x) => Al(x, m)), vr = (u, m) => Xm(m, u), Zl = (u, m, x) => Pf((S, M) => Al(S, M), Yc, u, m, x), Ls = (u, m) => {
|
|
35753
35753
|
u.dom.checked = m;
|
|
35754
35754
|
}, Kc = (u) => u.dom.checked, Ml = (u) => u.dom.classList !== void 0, ka = (u) => xh(u, "class"), lv = (u, m) => ((x, S, M) => {
|
|
35755
35755
|
const R = xh(x, S).concat([M]);
|
|
@@ -36349,7 +36349,7 @@ Components: ` + JSON.stringify(M.components, null, 2));
|
|
|
36349
36349
|
});
|
|
36350
36350
|
}, o1 = (u, m, x, S) => {
|
|
36351
36351
|
t4(u, m, 0, [S]), a1(u, m, x, S) || (to(S.element, m.highlightClass), m.onHighlight(u, S), Lr(S, Au()));
|
|
36352
|
-
}, a1 = (u, m, x, S) => hl(S.element, m.highlightClass), Q_ = (u, m, x) =>
|
|
36352
|
+
}, a1 = (u, m, x, S) => hl(S.element, m.highlightClass), Q_ = (u, m, x) => vr(u.element, "." + m.itemClass).bind((S) => u.getSystem().getByDom(S).toOptional()), Lw = (u, m, x) => {
|
|
36353
36353
|
const S = Rs(u.element, "." + m.itemClass);
|
|
36354
36354
|
return (S.length > 0 ? z.some(S[S.length - 1]) : z.none()).bind((M) => u.getSystem().getByDom(M).toOptional());
|
|
36355
36355
|
}, Rw = (u, m, x, S) => {
|
|
@@ -36386,7 +36386,7 @@ Components: ` + JSON.stringify(M.components, null, 2));
|
|
|
36386
36386
|
ae(M, S).each((R) => {
|
|
36387
36387
|
o1(u, m, x, R);
|
|
36388
36388
|
});
|
|
36389
|
-
}, isHighlighted: a1, getHighlighted: (u, m, x) =>
|
|
36389
|
+
}, isHighlighted: a1, getHighlighted: (u, m, x) => vr(u.element, "." + m.highlightClass).bind((S) => u.getSystem().getByDom(S).toOptional()), getFirst: Q_, getLast: Lw, getPrevious: (u, m, x) => Rw(u, m, 0, -1), getNext: (u, m, x) => Rw(u, m, 0, 1), getCandidates: n4 }), Ip = [kt("highlightClass"), kt("itemClass"), Xr("onHighlight"), Xr("onDehighlight")];
|
|
36390
36390
|
const io = Bs({ fields: Ip, name: "highlighting", apis: Ob }), Tv = (u, m, x) => {
|
|
36391
36391
|
m.exists((S) => x.exists((M) => Eo(M, S))) || Rn(u, db(), { prevFocus: m, newFocus: x });
|
|
36392
36392
|
}, Dv = () => {
|
|
@@ -36491,7 +36491,7 @@ Components: ` + JSON.stringify(M.components, null, 2));
|
|
|
36491
36491
|
const V = Wn(R, M, 0, x - 1), H = V === x - 1 ? u.length - V * S : S, j = Ho(B, 0, H - 1);
|
|
36492
36492
|
return z.some({ row: V, column: j });
|
|
36493
36493
|
}), a4 = [kt("selector"), it("execute", i1), Ol("onEscape"), it("captureTab", !1), nw()], JL = (u, m, x) => {
|
|
36494
|
-
|
|
36494
|
+
vr(u.element, m.selector).each((S) => {
|
|
36495
36495
|
m.focusManager.set(u, S);
|
|
36496
36496
|
});
|
|
36497
36497
|
}, u1 = (u) => (m, x, S, M) => Iw(m, x, S.selector).bind((R) => u(R.candidates, R.index, M.getNumRows().getOr(S.initSize.numRows), M.getNumColumns().getOr(S.initSize.numColumns))), e2 = (u, m, x) => x.captureTab ? z.some(!0) : z.none(), i4 = u1((u, m, x, S) => Pp(u, m, x, S, -1)), Ib = u1((u, m, x, S) => Pp(u, m, x, S, 1)), t2 = u1((u, m, x, S) => Ru(u, m, x, S, -1)), QL = u1((u, m, x, S) => Ru(u, m, x, S, 1)), Pw = I([Jr(Nr(e4), qg(i4, Ib)), Jr(Nr(Mw), Ld(i4, Ib)), Jr(Nr(Lh), c1(t2)), Jr(Nr(Lb), Mc(QL)), Jr(ou([Md, Nr(Op)]), e2), Jr(ou([r1, Nr(Op)]), e2), Jr(Nr(ru.concat(Np)), (u, m, x, S) => ((M, R) => R.focusManager.get(M).bind((B) => Zl(B, R.selector)))(u, x).bind((M) => x.execute(u, m, M)))]), s4 = I([Jr(Nr(Av), (u, m, x) => x.onEscape(u, m)), Jr(Nr(ru), jg)]);
|
|
@@ -36512,7 +36512,7 @@ Components: ` + JSON.stringify(M.components, null, 2));
|
|
|
36512
36512
|
const Y = Wn(R, B, V, H);
|
|
36513
36513
|
return Y === M ? z.none() : J(Y);
|
|
36514
36514
|
}), r2 = [kt("selector"), it("getInitial", z.none), it("execute", i1), Ol("onEscape"), it("executeOnMove", !1), it("allowVertical", !0), it("allowHorizontal", !0), it("cycles", !0)], Fp = (u, m, x) => ((S, M) => M.focusManager.get(S).bind((R) => Zl(R, M.selector)))(u, x).bind((S) => x.execute(u, m, S)), Bb = (u, m, x) => {
|
|
36515
|
-
m.getInitial(u).orThunk(() =>
|
|
36515
|
+
m.getInitial(u).orThunk(() => vr(u.element, m.selector)).each((S) => {
|
|
36516
36516
|
m.focusManager.set(u, S);
|
|
36517
36517
|
});
|
|
36518
36518
|
}, l4 = (u, m, x) => (x.cycles ? n2 : Pb)(u, x.selector, m, -1), c4 = (u, m, x) => (x.cycles ? n2 : Pb)(u, x.selector, m, 1), Lv = (u) => (m, x, S, M) => u(m, x, S, M).bind(() => S.executeOnMove ? Fp(m, x, S) : z.some(!0)), Fb = I([Jr(Nr(ru), jg), Jr(Nr(Av), (u, m, x) => x.onEscape(u, m))]);
|
|
@@ -36535,7 +36535,7 @@ Components: ` + JSON.stringify(M.components, null, 2));
|
|
|
36535
36535
|
}, f4 = [wh("selectors", [kt("row"), kt("cell")]), it("cycles", !0), it("previousSelector", z.none), it("execute", i1)], Fw = (u, m, x) => {
|
|
36536
36536
|
m.previousSelector(u).orThunk(() => {
|
|
36537
36537
|
const S = m.selectors;
|
|
36538
|
-
return
|
|
36538
|
+
return vr(u.element, S.cell);
|
|
36539
36539
|
}).each((S) => {
|
|
36540
36540
|
m.focusManager.set(u, S);
|
|
36541
36541
|
});
|
|
@@ -36554,7 +36554,7 @@ Components: ` + JSON.stringify(M.components, null, 2));
|
|
|
36554
36554
|
}, d4 = a2((u, m, x) => Bw(u, m, x, -1), (u, m, x) => Vb(u, m, x, -1)), h4 = a2((u, m, x) => Bw(u, m, x, 1), (u, m, x) => Vb(u, m, x, 1)), eR = a2((u, m, x) => u4(u, x, m, -1), (u, m, x) => o2(u, x, m, -1)), i2 = a2((u, m, x) => u4(u, x, m, 1), (u, m, x) => o2(u, x, m, 1)), p4 = I([Jr(Nr(e4), qg(d4, h4)), Jr(Nr(Mw), Ld(d4, h4)), Jr(Nr(Lh), c1(eR)), Jr(Nr(Lb), Mc(i2)), Jr(Nr(ru.concat(Np)), (u, m, x) => Pa(u.element).bind((S) => x.execute(u, m, S)))]), s2 = I([Jr(Nr(ru), jg)]);
|
|
36555
36555
|
var Od = Zg(f4, Dc.init, p4, s2, () => z.some(Fw));
|
|
36556
36556
|
const g4 = [kt("selector"), it("execute", i1), it("moveOnTab", !1)], l2 = (u, m, x) => x.focusManager.get(u).bind((S) => x.execute(u, m, S)), tR = (u, m, x) => {
|
|
36557
|
-
|
|
36557
|
+
vr(u.element, m.selector).each((S) => {
|
|
36558
36558
|
m.focusManager.set(u, S);
|
|
36559
36559
|
});
|
|
36560
36560
|
}, m4 = (u, m, x) => n2(u, x.selector, m, -1), v4 = (u, m, x) => n2(u, x.selector, m, 1), Vw = I([Jr(Nr(Lh), kv(m4)), Jr(Nr(Lb), kv(v4)), Jr(ou([Md, Nr(Op)]), (u, m, x, S) => x.moveOnTab ? kv(m4)(u, m, x, S) : z.none()), Jr(ou([r1, Nr(Op)]), (u, m, x, S) => x.moveOnTab ? kv(v4)(u, m, x, S) : z.none()), Jr(Nr(Np), l2), Jr(Nr(ru), l2)]), zw = I([Jr(Nr(ru), jg)]);
|
|
@@ -37825,7 +37825,7 @@ Receiver: ` + un(m.element), j, R.data);
|
|
|
37825
37825
|
})], expanded: [Uo("update", rm)], selected: [Uo("update", (u, m, x) => {
|
|
37826
37826
|
Kn(u.element, "aria-selected", x);
|
|
37827
37827
|
})], none: [Uo("update", k)] }))];
|
|
37828
|
-
const
|
|
37828
|
+
const yr = Bs({ fields: K2, name: "toggling", active: FR, apis: BR, state: (OE = !1, { init: () => {
|
|
37829
37829
|
const u = pn(OE);
|
|
37830
37830
|
return { get: () => u.get(), set: (m) => u.set(m), clear: () => u.set(OE), readState: () => u.get() };
|
|
37831
37831
|
} }) });
|
|
@@ -37913,7 +37913,7 @@ Receiver: ` + un(m.element), j, R.data);
|
|
|
37913
37913
|
Lr(R, ff);
|
|
37914
37914
|
}, k);
|
|
37915
37915
|
}), At(xd(), (R) => {
|
|
37916
|
-
|
|
37916
|
+
vr(R.element, "[data-mce-tooltip]:hover").each((B) => {
|
|
37917
37917
|
m.getTooltip().fold(() => {
|
|
37918
37918
|
Lr(R, sx);
|
|
37919
37919
|
}, (V) => {
|
|
@@ -37921,7 +37921,7 @@ Receiver: ` + un(m.element), j, R.data);
|
|
|
37921
37921
|
});
|
|
37922
37922
|
});
|
|
37923
37923
|
}), At(bv(), (R) => {
|
|
37924
|
-
|
|
37924
|
+
vr(R.element, "[data-mce-tooltip]:hover").fold(() => {
|
|
37925
37925
|
Lr(R, om);
|
|
37926
37926
|
}, k);
|
|
37927
37927
|
})];
|
|
@@ -38158,13 +38158,13 @@ The conflicting element is` + (Ds(H.element) ? " " : " not ") + "already in the
|
|
|
38158
38158
|
return B !== void 0 && B.indexOf(hf) > -1;
|
|
38159
38159
|
}).bind((R) => {
|
|
38160
38160
|
const B = qi(R, "id"), V = Ts(R);
|
|
38161
|
-
return
|
|
38161
|
+
return vr(V, `[${hf}="${B}"]`);
|
|
38162
38162
|
}))(S).exists((M) => zh(x, M)))(u, m), dx = "alloy.item-hover", eC = "alloy.item-focus", B1 = "alloy.item-toggled", tC = (u) => {
|
|
38163
38163
|
(Pa(u.element).isNone() || Un.isFocused(u)) && (Un.isFocused(u) || Un.focus(u), Rn(u, dx, { item: u }));
|
|
38164
38164
|
}, nC = (u) => {
|
|
38165
38165
|
Rn(u, eC, { item: u });
|
|
38166
38166
|
}, D3 = I(dx), Hh = I(eC), UR = I(B1), BE = (u) => u.role.fold(() => u.toggling.map((m) => m.exclusive ? "menuitemradio" : "menuitemcheckbox").getOr("menuitem"), G);
|
|
38167
|
-
var pf = [kt("data"), kt("components"), kt("dom"), it("hasSubmenu", !1), ao("toggling"), ao("role"), Vv("itemBehaviours", [
|
|
38167
|
+
var pf = [kt("data"), kt("components"), kt("dom"), it("hasSubmenu", !1), ao("toggling"), ao("role"), Vv("itemBehaviours", [yr, Un, wn, tn]), it("ignoreFocus", !1), it("domModification", {}), Uo("builder", (u) => ({ dom: u.dom, domModification: { ...u.domModification, attributes: { role: BE(u), ...u.domModification.attributes, "aria-haspopup": u.hasSubmenu, ...u.hasSubmenu ? { "aria-expanded": !1 } : {} } }, behaviours: Qg(u.itemBehaviours, [u.toggling.fold(yr.revoke, (m) => yr.config(((x, S) => ({ aria: { mode: S ? "selected" : "checked" }, ...Zs(x, (M, R) => R !== "exclusive"), onToggled: (M, R) => {
|
|
38168
38168
|
w(x.onToggled) && x.onToggled(M, R), ((B, V) => {
|
|
38169
38169
|
Rn(B, B1, { item: B, state: V });
|
|
38170
38170
|
})(M, R);
|
|
@@ -38201,7 +38201,7 @@ The conflicting element is` + (Ds(H.element) ? " " : " not ") + "already in the
|
|
|
38201
38201
|
const J = Rs(H.element, '[role="menuitemradio"][aria-checked="true"]');
|
|
38202
38202
|
Be(J, (Y) => {
|
|
38203
38203
|
Eo(Y, j.element) || H.getSystem().getByDom(Y).each((oe) => {
|
|
38204
|
-
|
|
38204
|
+
yr.off(oe);
|
|
38205
38205
|
});
|
|
38206
38206
|
});
|
|
38207
38207
|
})(M, B);
|
|
@@ -38438,21 +38438,21 @@ The conflicting element is` + (Ds(H.element) ? " " : " not ") + "already in the
|
|
|
38438
38438
|
}, mn = (u) => {
|
|
38439
38439
|
const m = Za.getCoupled(u, "sandbox");
|
|
38440
38440
|
Vn(m);
|
|
38441
|
-
}, lo = () => [it("sandboxClasses", []), Vv("sandboxBehaviours", [Ur, Ql, Yr, tn])], bo = I([kt("dom"), kt("fetch"), Xr("onOpen"), Ol("onExecute"), it("getHotspot", z.some), it("getAnchorOverrides", I({})), Hp(), Hi("dropdownBehaviours", [
|
|
38441
|
+
}, lo = () => [it("sandboxClasses", []), Vv("sandboxBehaviours", [Ur, Ql, Yr, tn])], bo = I([kt("dom"), kt("fetch"), Xr("onOpen"), Ol("onExecute"), it("getHotspot", z.some), it("getAnchorOverrides", I({})), Hp(), Hi("dropdownBehaviours", [yr, Za, wn, Un]), kt("toggleClass"), it("eventOrder", {}), ao("lazySink"), it("matchWidth", !1), it("useMinWidth", !1), ao("role"), ao("listRole")].concat(lo())), co = I([tu({ schema: [K0(), it("fakeFocus", !1)], name: "menu", defaults: (u) => ({ onExecute: u.onExecute }) }), Ee()]), Oo = Vs({ name: "Dropdown", configFields: bo(), partFields: co(), factory: (u, m, x, S) => {
|
|
38442
38442
|
const M = (H) => {
|
|
38443
38443
|
Yr.getState(H).each((j) => {
|
|
38444
38444
|
ie.highlightPrimary(j);
|
|
38445
38445
|
});
|
|
38446
38446
|
}, R = (H, j, J) => Xt(u, G, H, S, j, J), B = { expand: (H) => {
|
|
38447
|
-
|
|
38447
|
+
yr.isOn(H) || R(H, k, Xl.HighlightNone).get(k);
|
|
38448
38448
|
}, open: (H) => {
|
|
38449
|
-
|
|
38450
|
-
}, refetch: (H) => Za.getExistingCoupled(H, "sandbox").fold(() => R(H, k, Xl.HighlightMenuAndItem).map(k), (j) => on(u, G, H, j, S, k, Xl.HighlightMenuAndItem).map(k)), isOpen:
|
|
38451
|
-
|
|
38449
|
+
yr.isOn(H) || R(H, k, Xl.HighlightMenuAndItem).get(k);
|
|
38450
|
+
}, refetch: (H) => Za.getExistingCoupled(H, "sandbox").fold(() => R(H, k, Xl.HighlightMenuAndItem).map(k), (j) => on(u, G, H, j, S, k, Xl.HighlightMenuAndItem).map(k)), isOpen: yr.isOn, close: (H) => {
|
|
38451
|
+
yr.isOn(H) && R(H, k, Xl.HighlightMenuAndItem).get(k);
|
|
38452
38452
|
}, repositionMenus: (H) => {
|
|
38453
|
-
|
|
38453
|
+
yr.isOn(H) && mn(H);
|
|
38454
38454
|
} }, V = (H, j) => (Ev(H), z.some(!0));
|
|
38455
|
-
return { uid: u.uid, dom: u.dom, components: m, behaviours: bs(u.dropdownBehaviours, [
|
|
38455
|
+
return { uid: u.uid, dom: u.dom, components: m, behaviours: bs(u.dropdownBehaviours, [yr.config({ toggleClass: u.toggleClass, aria: { mode: "expanded" } }), Za.config({ others: { sandbox: (H) => or(u, H, { onOpen: () => yr.on(H), onClose: () => yr.off(H) }) } }), wn.config({ mode: "special", onSpace: V, onEnter: V, onDown: (H, j) => {
|
|
38456
38456
|
if (Oo.isOpen(H)) {
|
|
38457
38457
|
const J = Za.getCoupled(H, "sandbox");
|
|
38458
38458
|
M(J);
|
|
@@ -38493,14 +38493,14 @@ The conflicting element is` + (Ds(H.element) ? " " : " not ") + "already in the
|
|
|
38493
38493
|
}, refresh: k }, domModification: { attributes: { role: "group" } } };
|
|
38494
38494
|
}, apis: { setGroups: (u, m, x) => {
|
|
38495
38495
|
u.setGroups(m, x);
|
|
38496
|
-
} } }), gf = I([Mp(["toggledClass"]), kt("lazySink"), Xi("fetch"), Jc("getBounds"), Qc("fireDismissalEventInstead", [it("event", Ah())]), Hp(), Xr("onToggled")]), V1 = I([tu({ name: "button", overrides: (u) => ({ dom: { attributes: { "aria-haspopup": "true" } }, buttonBehaviours: Vt([
|
|
38496
|
+
} } }), gf = I([Mp(["toggledClass"]), kt("lazySink"), Xi("fetch"), Jc("getBounds"), Qc("fireDismissalEventInstead", [it("event", Ah())]), Hp(), Xr("onToggled")]), V1 = I([tu({ name: "button", overrides: (u) => ({ dom: { attributes: { "aria-haspopup": "true" } }, buttonBehaviours: Vt([yr.config({ toggleClass: u.markers.toggledClass, aria: { mode: "expanded" }, toggleOnExecute: !1, onToggled: u.onToggled })]) }) }), tu({ factory: Cs, schema: _s(), name: "toolbar", overrides: (u) => ({ toolbarBehaviours: Vt([wn.config({ mode: "cyclic", onEscape: (m) => (Mo(m, u, "button").each(Un.focus), z.none()) })]) }) })]), as = yo(), qv = (u, m) => {
|
|
38497
38497
|
const x = Za.getCoupled(u, "toolbarSandbox");
|
|
38498
38498
|
Yr.isOpen(x) ? Yr.close(x) : Yr.open(x, m.toolbar());
|
|
38499
38499
|
}, Yv = (u, m, x, S) => {
|
|
38500
38500
|
const M = x.getBounds.map((B) => B()), R = x.lazySink(u).getOrDie();
|
|
38501
38501
|
pl.positionWithinBounds(R, m, { anchor: { type: "hotspot", hotspot: u, layouts: S, overrides: { maxWidthFunction: ww() } } }, M);
|
|
38502
38502
|
}, Wh = (u, m, x, S, M) => {
|
|
38503
|
-
Cs.setGroups(m, M), Yv(u, m, x, S),
|
|
38503
|
+
Cs.setGroups(m, M), Yv(u, m, x, S), yr.on(u);
|
|
38504
38504
|
}, pi = Vs({ name: "FloatingToolbarButton", factory: (u, m, x, S) => ({ ...hi.sketch({ ...S.button(), action: (M) => {
|
|
38505
38505
|
qv(M, S);
|
|
38506
38506
|
}, buttonBehaviours: Qg({ dump: S.button().buttonBehaviours }, [Za.config({ others: { toolbarSandbox: (M) => ((R, B, V) => {
|
|
@@ -38511,7 +38511,7 @@ The conflicting element is` + (Ds(H.element) ? " " : " not ") + "already in the
|
|
|
38511
38511
|
Wh(R, J, V, B.layouts, oe), H.link(R.element), Y || wn.focusIn(J);
|
|
38512
38512
|
});
|
|
38513
38513
|
}, onClose: () => {
|
|
38514
|
-
|
|
38514
|
+
yr.off(R), as.get().getOr(!1) || Un.focus(R), H.unlink(R.element);
|
|
38515
38515
|
}, isPartOf: (j, J, Y) => zh(J, Y) || zh(R, Y), getAttachPoint: () => V.lazySink(R).getOrDie() }), Ql.config({ channels: { ...Ge({ isExtraPart: q, ...V.fireDismissalEventInstead.map((j) => ({ fireEventInstead: { event: j.event } })).getOr({}) }), ...Bt({ doReposition: () => {
|
|
38516
38516
|
Yr.getState(Za.getCoupled(R, "toolbarSandbox")).each((j) => {
|
|
38517
38517
|
Yv(R, j, V, B.layouts);
|
|
@@ -38568,10 +38568,10 @@ The conflicting element is` + (Ds(H.element) ? " " : " not ") + "already in the
|
|
|
38568
38568
|
}, apis: { getField: (u, m) => u.getField(m), getLabel: (u, m) => u.getLabel(m) } }), R3 = I([it("field1Name", "field1"), it("field2Name", "field2"), Tu("onLockedChange"), Mp(["lockClass"]), it("locked", !1), Vv("coupledFieldBehaviours", [Ur, tn]), Hr("onInput", k)]), O3 = (u, m) => Ns({ factory: ar, name: u, overrides: (x) => ({ fieldBehaviours: Vt([Qn("coupled-input-behaviour", [At(Eh(), (S) => {
|
|
38569
38569
|
((M, R, B) => Mo(M, R, B).bind(Ur.getCurrent))(S, x, m).each((M) => {
|
|
38570
38570
|
Mo(S, x, "lock").each((R) => {
|
|
38571
|
-
|
|
38571
|
+
yr.isOn(R) && x.onLockedChange(S, M, R), x.onInput(S);
|
|
38572
38572
|
});
|
|
38573
38573
|
});
|
|
38574
|
-
})])]) }) }), N3 = I([O3("field1", "field2"), O3("field2", "field1"), Ns({ factory: hi, schema: [kt("dom")], name: "lock", overrides: (u) => ({ buttonBehaviours: Vt([
|
|
38574
|
+
})])]) }) }), N3 = I([O3("field1", "field2"), O3("field2", "field1"), Ns({ factory: hi, schema: [kt("dom")], name: "lock", overrides: (u) => ({ buttonBehaviours: Vt([yr.config({ selected: u.locked, toggleClass: u.markers.lockClass, aria: { mode: "pressed" } })]) }) })]), gi = Vs({ name: "FormCoupledInputs", configFields: R3(), partFields: N3(), factory: (u, m, x, S) => ({ uid: u.uid, dom: u.dom, components: m, behaviours: Qg(u.coupledFieldBehaviours, [Ur.config({ find: z.some }), tn.config({ store: { mode: "manual", getValue: (M) => {
|
|
38575
38575
|
const R = dw(M, u, ["field1", "field2"]);
|
|
38576
38576
|
return { [u.field1Name]: tn.getValue(R.field1()), [u.field2Name]: tn.getValue(R.field2()) };
|
|
38577
38577
|
}, setValue: (M, R) => {
|
|
@@ -38918,7 +38918,7 @@ The conflicting element is` + (Ds(H.element) ? " " : " not ") + "already in the
|
|
|
38918
38918
|
return Kb(aO, HB, M, LZ, x);
|
|
38919
38919
|
} }, OZ = I([kt("toggleClass"), kt("fetch"), Tu("onExecute"), it("getHotspot", z.some), it("getAnchorOverrides", I({})), Hp(), Tu("onItemExecute"), ao("lazySink"), kt("dom"), Xr("onOpen"), Hi("splitDropdownBehaviours", [Za, wn, Un]), it("matchWidth", !1), it("useMinWidth", !1), it("eventOrder", {}), ao("role"), ao("listRole")].concat(lo())), $B = Ns({ factory: hi, schema: [kt("dom")], name: "arrow", defaults: () => ({ buttonBehaviours: Vt([Un.revoke()]) }), overrides: (u) => ({ dom: { tag: "span", attributes: { role: "presentation" } }, action: (m) => {
|
|
38920
38920
|
m.getSystem().getByUid(u.uid).each(Ev);
|
|
38921
|
-
}, buttonBehaviours: Vt([
|
|
38921
|
+
}, buttonBehaviours: Vt([yr.config({ toggleOnExecute: !1, toggleClass: u.toggleClass })]) }) }), UB = Ns({ factory: hi, schema: [kt("dom")], name: "button", defaults: () => ({ buttonBehaviours: Vt([Un.revoke()]) }), overrides: (u) => ({ dom: { tag: "span", attributes: { role: "presentation" } }, action: (m) => {
|
|
38922
38922
|
m.getSystem().getByUid(u.uid).each((x) => {
|
|
38923
38923
|
u.onExecute(x, m);
|
|
38924
38924
|
});
|
|
@@ -38942,16 +38942,16 @@ The conflicting element is` + (Ds(H.element) ? " " : " not ") + "already in the
|
|
|
38942
38942
|
Kn(Y.element, "id", oe), Kn(j.element, "aria-describedby", oe);
|
|
38943
38943
|
});
|
|
38944
38944
|
})]), ...Wp(z.some(R)) }, H = { repositionMenus: (j) => {
|
|
38945
|
-
|
|
38945
|
+
yr.isOn(j) && mn(j);
|
|
38946
38946
|
} };
|
|
38947
38947
|
return { uid: u.uid, dom: u.dom, components: m, apis: H, eventOrder: { ...u.eventOrder, [Eu()]: ["disabling", "toggling", "alloy.base.behaviour"] }, events: V, behaviours: bs(u.splitDropdownBehaviours, [Za.config({ others: { sandbox: (j) => {
|
|
38948
38948
|
const J = wd(j, u, "arrow");
|
|
38949
38949
|
return or(u, j, { onOpen: () => {
|
|
38950
|
-
|
|
38950
|
+
yr.on(J), yr.on(j);
|
|
38951
38951
|
}, onClose: () => {
|
|
38952
|
-
|
|
38952
|
+
yr.off(J), yr.off(j);
|
|
38953
38953
|
} });
|
|
38954
|
-
} } }), wn.config({ mode: "special", onSpace: B, onEnter: B, onDown: (j) => (R(j), z.some(!0)) }), Un.config({}),
|
|
38954
|
+
} } }), wn.config({ mode: "special", onSpace: B, onEnter: B, onDown: (j) => (R(j), z.some(!0)) }), Un.config({}), yr.config({ toggleOnExecute: !1, aria: { mode: "expanded" } })]), domModification: { attributes: { role: u.role.getOr("button"), "aria-haspopup": !0 } } };
|
|
38955
38955
|
}, apis: { repositionMenus: (u, m) => u.repositionMenus(m) } }), q3 = (u, m, x) => ({ within: u, extra: m, withinWidth: x }), sO = (u, m, x) => {
|
|
38956
38956
|
const S = et(u, (B, V) => ((H, j) => {
|
|
38957
38957
|
const J = x(H);
|
|
@@ -39017,13 +39017,13 @@ The conflicting element is` + (Ds(H.element) ? " " : " not ") + "already in the
|
|
|
39017
39017
|
u.toggle(m);
|
|
39018
39018
|
}, isOpen: (u, m) => u.isOpen(m), getOverflow: (u, m) => u.getOverflow(m) } }), U1 = I([Mp(["closedClass", "openClass", "shrinkingClass", "growingClass", "overflowToggledClass"]), Xr("onOpened"), Xr("onClosed")].concat(GB())), qB = I([Ns({ factory: Cs, schema: _s(), name: "primary" }), Ns({ factory: Cs, schema: _s(), name: "overflow", overrides: (u) => ({ toolbarBehaviours: Vt([gl.config({ dimension: { property: "height" }, closedClass: u.markers.closedClass, openClass: u.markers.openClass, shrinkingClass: u.markers.shrinkingClass, growingClass: u.markers.growingClass, onShrunk: (m) => {
|
|
39019
39019
|
Mo(m, u, "overflow-button").each((x) => {
|
|
39020
|
-
|
|
39020
|
+
yr.off(x);
|
|
39021
39021
|
}), u.onClosed(m);
|
|
39022
39022
|
}, onGrown: (m) => {
|
|
39023
39023
|
u.onOpened(m);
|
|
39024
39024
|
}, onStartGrow: (m) => {
|
|
39025
|
-
Mo(m, u, "overflow-button").each(
|
|
39026
|
-
} }), wn.config({ mode: "acyclic", onEscape: (m) => (Mo(m, u, "overflow-button").each(Un.focus), z.some(!0)) })]) }) }), tu({ name: "overflow-button", overrides: (u) => ({ buttonBehaviours: Vt([
|
|
39025
|
+
Mo(m, u, "overflow-button").each(yr.on);
|
|
39026
|
+
} }), wn.config({ mode: "acyclic", onEscape: (m) => (Mo(m, u, "overflow-button").each(Un.focus), z.some(!0)) })]) }) }), tu({ name: "overflow-button", overrides: (u) => ({ buttonBehaviours: Vt([yr.config({ toggleClass: u.markers.overflowToggledClass, aria: { mode: "expanded" }, toggleOnExecute: !1 })]) }) }), tu({ name: "overflow-group" })]), J3 = (u, m, x) => {
|
|
39027
39027
|
Mo(u, m, "overflow-button").each((S) => {
|
|
39028
39028
|
Mo(u, m, "overflow").each((M) => {
|
|
39029
39029
|
if (lO(u, m), gl.hasShrunk(M)) {
|
|
@@ -39046,7 +39046,7 @@ The conflicting element is` + (Ds(H.element) ? " " : " not ") + "already in the
|
|
|
39046
39046
|
const M = ke(S, (R) => Rc(R));
|
|
39047
39047
|
Cs.setGroups(x, M);
|
|
39048
39048
|
}), Mo(u, m, "overflow-button").each((S) => {
|
|
39049
|
-
gl.hasGrown(x) &&
|
|
39049
|
+
gl.hasGrown(x) && yr.on(S);
|
|
39050
39050
|
}), gl.refresh(x);
|
|
39051
39051
|
});
|
|
39052
39052
|
}, cO = Vs({ name: "SplitSlidingToolbar", configFields: U1(), partFields: qB(), factory: (u, m, x, S) => {
|
|
@@ -39124,7 +39124,7 @@ The conflicting element is` + (Ds(H.element) ? " " : " not ") + "already in the
|
|
|
39124
39124
|
qi(x, "type") !== "number" && m(M, S);
|
|
39125
39125
|
}, dO = (u) => {
|
|
39126
39126
|
fO(u, (m, x) => m.setSelectionRange(x.length, x.length));
|
|
39127
|
-
}, ek = I("alloy.typeahead.itemexecute"), hO = I([ao("lazySink"), kt("fetch"), it("minChars", 5), it("responseTime", 1e3), Xr("onOpen"), it("getHotspot", z.some), it("getAnchorOverrides", I({})), it("layouts", z.none()), it("eventOrder", {}), JS("model", {}, [it("getDisplayText", (u) => u.meta !== void 0 && u.meta.text !== void 0 ? u.meta.text : u.value), it("selectsOver", !0), it("populateFromBrowse", !0)]), Xr("onSetValue"), Ol("onExecute"), Xr("onItemExecute"), it("inputClasses", []), it("inputAttributes", {}), it("inputStyles", {}), it("matchWidth", !0), it("useMinWidth", !1), it("dismissOnBlur", !0), Mp(["openClass"]), ao("initialData"), ao("listRole"), Hi("typeaheadBehaviours", [Un, tn, RE, wn,
|
|
39127
|
+
}, ek = I("alloy.typeahead.itemexecute"), hO = I([ao("lazySink"), kt("fetch"), it("minChars", 5), it("responseTime", 1e3), Xr("onOpen"), it("getHotspot", z.some), it("getAnchorOverrides", I({})), it("layouts", z.none()), it("eventOrder", {}), JS("model", {}, [it("getDisplayText", (u) => u.meta !== void 0 && u.meta.text !== void 0 ? u.meta.text : u.value), it("selectsOver", !0), it("populateFromBrowse", !0)]), Xr("onSetValue"), Ol("onExecute"), Xr("onItemExecute"), it("inputClasses", []), it("inputAttributes", {}), it("inputStyles", {}), it("matchWidth", !0), it("useMinWidth", !1), it("dismissOnBlur", !0), Mp(["openClass"]), ao("initialData"), ao("listRole"), Hi("typeaheadBehaviours", [Un, tn, RE, wn, yr, Za]), Xa("lazyTypeaheadComp", () => pn(z.none)), Xa("previewing", () => pn(!0))].concat(gB()).concat(lo())), XB = I([tu({ schema: [K0()], name: "menu", overrides: (u) => ({ fakeFocus: !0, onHighlightItem: (m, x, S) => {
|
|
39128
39128
|
u.previewing.get() ? u.lazyTypeaheadComp.get().each((M) => {
|
|
39129
39129
|
((R, B, V) => {
|
|
39130
39130
|
if (R.selectsOver) {
|
|
@@ -39196,8 +39196,8 @@ The conflicting element is` + (Ds(H.element) ? " " : " not ") + "already in the
|
|
|
39196
39196
|
const de = tn.getValue(Y);
|
|
39197
39197
|
return Lr(Y, Cv()), u.onExecute(oe, Y, de), ue && Yr.close(oe), z.some(!0);
|
|
39198
39198
|
}
|
|
39199
|
-
} }),
|
|
39200
|
-
u.lazyTypeaheadComp.get().each((oe) => $a(oe.element, "aria-activedescendant")),
|
|
39199
|
+
} }), yr.config({ toggleClass: u.markers.openClass, aria: { mode: "expanded" } }), Za.config({ others: { sandbox: (Y) => or(u, Y, { onOpen: () => yr.on(Y), onClose: () => {
|
|
39200
|
+
u.lazyTypeaheadComp.get().each((oe) => $a(oe.element, "aria-activedescendant")), yr.off(Y);
|
|
39201
39201
|
} }) } }), Qn(H, [Go((Y) => {
|
|
39202
39202
|
u.lazyTypeaheadComp.set(z.some(Y));
|
|
39203
39203
|
}), Dd((Y) => {
|
|
@@ -39246,7 +39246,7 @@ The conflicting element is` + (Ds(H.element) ? " " : " not ") + "already in the
|
|
|
39246
39246
|
var m;
|
|
39247
39247
|
if (!u.inline) return z.none();
|
|
39248
39248
|
const x = (m = n7(u)) !== null && m !== void 0 ? m : "";
|
|
39249
|
-
if (x.length > 0) return
|
|
39249
|
+
if (x.length > 0) return vr($e(), x);
|
|
39250
39250
|
const S = zZ(u);
|
|
39251
39251
|
return b(S) ? z.some(ln(S)) : z.none();
|
|
39252
39252
|
}, qh = (u) => u.inline && b7(u).isSome(), hk = (u) => b7(u).getOrThunk(() => ph(Ts(ln(u.getElement())))), EO = (u) => u.inline && !fk(u) && !dk(u) && !jp(u), Ud = (u) => (u.options.get("toolbar_sticky") || u.inline) && !qh(u) && !EO(u), j1 = (u) => !qh(u) && u.options.get("ui_mode") === "split", x7 = (u) => {
|
|
@@ -39693,7 +39693,7 @@ The conflicting element is` + (Ds(H.element) ? " " : " not ") + "already in the
|
|
|
39693
39693
|
}, sj = [$h.parts.items({})], Dk = (u, m, x) => {
|
|
39694
39694
|
const S = iA(x);
|
|
39695
39695
|
return { dom: { tag: "div", classes: xt([[S.tieredMenu]]) }, markers: X1(x) };
|
|
39696
|
-
}, V7 = en("refetch-trigger-event"), z7 = en("redirect-menu-item-interaction"), H7 = "tox-menu__searcher", kk = (u) =>
|
|
39696
|
+
}, V7 = en("refetch-trigger-event"), z7 = en("redirect-menu-item-interaction"), H7 = "tox-menu__searcher", kk = (u) => vr(u.element, `.${H7}`).bind((m) => u.getSystem().getByDom(m).toOptional()), $7 = kk, U7 = (u) => ({ fetchPattern: tn.getValue(u), selectionStart: u.element.dom.selectionStart, selectionEnd: u.element.dom.selectionEnd }), lj = (u) => {
|
|
39697
39697
|
const m = (M, R) => (R.cut(), z.none()), x = (M, R) => {
|
|
39698
39698
|
const B = { interactionEvent: R.event, eventType: R.event.raw.type };
|
|
39699
39699
|
return Rn(M, z7, B), z.some(!0);
|
|
@@ -39815,7 +39815,7 @@ The conflicting element is` + (Ds(H.element) ? " " : " not ") + "already in the
|
|
|
39815
39815
|
const M = Rf("div");
|
|
39816
39816
|
return to(M, "tox-image-selector-loading-spinner"), { dom: { tag: u.tag, attributes: (x = u.attributes) !== null && x !== void 0 ? x : {}, classes: u.classes }, components: [{ dom: { tag: "div", classes: ["tox-image-selector-image-wrapper"] }, components: [{ dom: { tag: "img", attributes: { src: m }, classes: ["tox-image-selector-image-img"] } }] }, ...u.checkMark.toArray()], behaviours: Vt([...(S = u.behaviours) !== null && S !== void 0 ? S : [], Qn("render-image-events", [Go((R) => {
|
|
39817
39817
|
var B;
|
|
39818
|
-
B = R.element, to(B, "tox-image-selector-loading-spinner-wrapper"), Ar(B, M),
|
|
39818
|
+
B = R.element, to(B, "tox-image-selector-loading-spinner-wrapper"), Ar(B, M), vr(R.element, "img").each((V) => {
|
|
39819
39819
|
Jy(V).catch((H) => {
|
|
39820
39820
|
console.error(H);
|
|
39821
39821
|
}).finally(() => {
|
|
@@ -39885,8 +39885,8 @@ The conflicting element is` + (Ds(H.element) ? " " : " not ") + "already in the
|
|
|
39885
39885
|
}), w6 = (u, m, x, S, M, R, B, V = !0) => {
|
|
39886
39886
|
const H = _C({ presets: x, textContent: m ? u.text : z.none(), htmlContent: z.none(), labelContent: u.label, ariaLabel: u.text, iconContent: u.icon, shortcutContent: m ? u.shortcut : z.none(), checkMark: m ? z.some(x6(B.icons)) : z.none(), caret: z.none(), value: u.value }, B, V), j = u.text.filter(I(!m)).map((J) => ea.config(B.tooltips.getConfig({ tooltipText: B.translate(J) })));
|
|
39887
39887
|
return wr(kx({ context: u.context, data: ty(u), enabled: u.enabled, getApi: (J) => ({ setActive: (Y) => {
|
|
39888
|
-
|
|
39889
|
-
}, isActive: () =>
|
|
39888
|
+
yr.set(J, Y);
|
|
39889
|
+
}, isActive: () => yr.isOn(J), isEnabled: () => !En.isDisabled(J), setEnabled: (Y) => En.set(J, !Y) }), onAction: (J) => S(u.value), onSetup: (J) => (J.setActive(M), k), triggersSubmenu: !1, itemBehaviours: [...j.toArray()] }, H, R, B), { toggling: { toggleClass: xx, toggleOnExecute: !1, selected: u.active, exclusive: !0 } });
|
|
39890
39890
|
}, CC = (u) => ({ value: A6(u) }), KF = /^#?([a-f\d])([a-f\d])([a-f\d])$/i, XF = /^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i, E6 = (u) => KF.test(u) || XF.test(u), A6 = (u) => mg(u, "#").toUpperCase(), yA = (u) => {
|
|
39891
39891
|
const m = u.toString(16);
|
|
39892
39892
|
return (m.length === 1 ? "0" + m : m).toUpperCase();
|
|
@@ -40081,20 +40081,20 @@ The conflicting element is` + (Ds(H.element) ? " " : " not ") + "already in the
|
|
|
40081
40081
|
return V.type === "choiceitem" ? (H = V, da("choicemenuitem", oq, H)).fold(Kp, (j) => z.some(w6(j, x === 1, S, m, R(j.value), M, B, sA(u)))) : V.type === "imageitem" ? ((j) => da("imagemenuitem", sq, j))(V).fold(Kp, (j) => z.some(((J, Y, oe, ue, de) => {
|
|
40082
40082
|
const De = _C({ presets: "img", textContent: z.none(), htmlContent: z.none(), ariaLabel: J.tooltip, iconContent: z.some(J.url), labelContent: J.label, shortcutContent: z.none(), checkMark: z.some(x6(de.icons)), caret: z.none(), value: J.value }, de, !0), Se = J.tooltip.map((Me) => ea.config(de.tooltips.getConfig({ tooltipText: de.translate(Me) })));
|
|
40083
40083
|
return wr(kx({ context: J.context, data: ty(J), enabled: J.enabled, getApi: (Me) => ({ setActive: (be) => {
|
|
40084
|
-
|
|
40085
|
-
}, isActive: () =>
|
|
40084
|
+
yr.set(Me, be);
|
|
40085
|
+
}, isActive: () => yr.isOn(Me), isEnabled: () => !En.isDisabled(Me), setEnabled: (be) => En.set(Me, !be) }), onAction: (Me) => {
|
|
40086
40086
|
Y(J.value), Me.setActive(!0);
|
|
40087
40087
|
}, onSetup: (Me) => (Me.setActive(oe), k), triggersSubmenu: !1, itemBehaviours: [...Se.toArray()] }, De, ue, de), { toggling: { toggleClass: xx, toggleOnExecute: !1, selected: J.active, exclusive: !0 } });
|
|
40088
40088
|
})(j, m, R(j.value), M, B))) : V.type === "resetimage" ? ((j) => da("resetimageitem", lq, j))(V).fold(Kp, (j) => z.some(w6({ ...j, text: j.tooltip, icon: z.some(j.icon), label: z.some(j.label) }, x === 1, S, m, R(j.value), M, B, sA(u)))) : z.none();
|
|
40089
40089
|
var H;
|
|
40090
40090
|
})), _A = (u, m) => {
|
|
40091
40091
|
const x = X1(m);
|
|
40092
|
-
return u === 1 ? { mode: "menu", moveOnTab: !0 } : u === "auto" ? { mode: "grid", selector: "." + x.item, initSize: { numColumns: 1, numRows: 1 } } : { mode: "matrix", rowSelector: "." + { color: "tox-swatches__row", imageselector: "tox-image-selector__row", listpreview: "tox-collection__group", normal: "tox-collection__group" }[m], previousSelector: (S) => m === "color" ?
|
|
40092
|
+
return u === 1 ? { mode: "menu", moveOnTab: !0 } : u === "auto" ? { mode: "grid", selector: "." + x.item, initSize: { numColumns: 1, numRows: 1 } } : { mode: "matrix", rowSelector: "." + { color: "tox-swatches__row", imageselector: "tox-image-selector__row", listpreview: "tox-collection__group", normal: "tox-collection__group" }[m], previousSelector: (S) => m === "color" ? vr(S.element, "[aria-checked=true]") : z.none() };
|
|
40093
40093
|
}, p9 = en("cell-over"), $6 = en("cell-execute"), yq = (u, m, x) => {
|
|
40094
40094
|
const S = (R) => Rn(R, $6, { row: u, col: m }), M = (R, B) => {
|
|
40095
40095
|
B.stop(), S(R);
|
|
40096
40096
|
};
|
|
40097
|
-
return el({ dom: { tag: "div", attributes: { role: "button", "aria-label": x } }, behaviours: Vt([Qn("insert-table-picker-cell", [At(xd(), Un.focus), At(Eu(), S), At(wc(), M), At(Ig(), M)]),
|
|
40097
|
+
return el({ dom: { tag: "div", attributes: { role: "button", "aria-label": x } }, behaviours: Vt([Qn("insert-table-picker-cell", [At(xd(), Un.focus), At(Eu(), S), At(wc(), M), At(Ig(), M)]), yr.config({ toggleClass: "tox-insert-table-picker__selected", toggleOnExecute: !1 }), Un.config({ onFocus: (R) => Rn(R, p9, { row: u, col: m }) })]) });
|
|
40098
40098
|
}, bq = (u) => gt(u, (m) => ke(m, Rc)), g9 = (u, m) => sa(`${m}x${u}`), xq = { inserttable: (u, m) => {
|
|
40099
40099
|
const x = /* @__PURE__ */ ((B) => (V, H) => B.shared.providers.translate(["{0} columns, {1} rows", H, V]))(m), S = ((B) => {
|
|
40100
40100
|
const V = [];
|
|
@@ -40113,7 +40113,7 @@ The conflicting element is` + (Ds(H.element) ? " " : " not ") + "already in the
|
|
|
40113
40113
|
}), Dw(p9, (B, V, H) => {
|
|
40114
40114
|
const { row: j, col: J } = H.event;
|
|
40115
40115
|
((Y, oe, ue) => {
|
|
40116
|
-
for (let de = 0; de < 10; de++) for (let De = 0; De < 10; De++)
|
|
40116
|
+
for (let de = 0; de < 10; de++) for (let De = 0; De < 10; De++) yr.set(Y[de][De], de <= oe && De <= ue);
|
|
40117
40117
|
})(S, j, J), er.set(R.get(B), [g9(j + 1, J + 1)]);
|
|
40118
40118
|
}), Dw($6, (B, V, H) => {
|
|
40119
40119
|
const { row: j, col: J } = H.event;
|
|
@@ -40137,7 +40137,7 @@ The conflicting element is` + (Ds(H.element) ? " " : " not ") + "already in the
|
|
|
40137
40137
|
var M;
|
|
40138
40138
|
((R, B) => {
|
|
40139
40139
|
ms(B.element, "id").each((V) => Kn(R.element, "aria-activedescendant", V));
|
|
40140
|
-
})(S, x), (hl((M = m).element, Mk) ? z.some(M.element) :
|
|
40140
|
+
})(S, x), (hl((M = m).element, Mk) ? z.some(M.element) : vr(M.element, "." + Mk)).each((R) => {
|
|
40141
40141
|
ms(R, "id").each((B) => Kn(S.element, "aria-controls", B));
|
|
40142
40142
|
});
|
|
40143
40143
|
}), Kn(x.element, "aria-selected", "true");
|
|
@@ -40162,7 +40162,7 @@ The conflicting element is` + (Ds(H.element) ? " " : " not ") + "already in the
|
|
|
40162
40162
|
var De;
|
|
40163
40163
|
const Se = _C({ presets: "normal", iconContent: j.icon, textContent: j.text, htmlContent: z.none(), ariaLabel: j.text, labelContent: z.none(), caret: z.some(de), checkMark: z.none(), shortcutContent: j.shortcut }, Y, oe);
|
|
40164
40164
|
return kx({ context: j.context, data: ty(j), getApi: (Me) => ({ isEnabled: () => !En.isDisabled(Me), setEnabled: (be) => En.set(Me, !be), setIconFill: (be, xe) => {
|
|
40165
|
-
|
|
40165
|
+
vr(Me.element, `svg path[class="${be}"], rect[class="${be}"]`).each((Oe) => {
|
|
40166
40166
|
Kn(Oe, "fill", xe);
|
|
40167
40167
|
});
|
|
40168
40168
|
}, setTooltip: (be) => {
|
|
@@ -40174,8 +40174,8 @@ The conflicting element is` + (Ds(H.element) ? " " : " not ") + "already in the
|
|
|
40174
40174
|
return ((H) => da("togglemenuitem", Kh, H))(u).fold(Kp, (H) => z.some(((j, J, Y, oe = !0) => {
|
|
40175
40175
|
const ue = _C({ iconContent: j.icon, textContent: j.text, htmlContent: z.none(), labelContent: z.none(), ariaLabel: j.text, checkMark: z.some(x6(Y.icons)), caret: z.none(), shortcutContent: j.shortcut, presets: "normal", meta: j.meta }, Y, oe);
|
|
40176
40176
|
return wr(kx({ context: j.context, data: ty(j), enabled: j.enabled, getApi: (de) => ({ setActive: (De) => {
|
|
40177
|
-
|
|
40178
|
-
}, isActive: () =>
|
|
40177
|
+
yr.set(de, De);
|
|
40178
|
+
}, isActive: () => yr.isOn(de), isEnabled: () => !En.isDisabled(de), setEnabled: (De) => En.set(de, !De) }), onAction: j.onAction, onSetup: j.onSetup, triggersSubmenu: !1, itemBehaviours: [] }, ue, J, Y), { toggling: { toggleClass: xx, toggleOnExecute: !1, selected: j.active }, role: j.role.getOrUndefined() });
|
|
40179
40179
|
})(B(H), m, R, S)));
|
|
40180
40180
|
case "separator":
|
|
40181
40181
|
return ((H) => da("separatormenuitem", kF, H))(u).fold(Kp, (H) => z.some(m9(H)));
|
|
@@ -40258,7 +40258,7 @@ The conflicting element is` + (Ds(H.element) ? " " : " not ") + "already in the
|
|
|
40258
40258
|
}, ue = () => {
|
|
40259
40259
|
u.dom.get(x) && u.dom.remove(x, !1);
|
|
40260
40260
|
const de = u.getDoc().documentElement, De = u.selection.getNode(), Se = ((Me) => Yt(Me, !0))(B.element);
|
|
40261
|
-
Ju(Se, { border: "0", clip: "rect(0 0 0 0)", height: "1px", margin: "-1px", overflow: "hidden", padding: "0", position: "absolute", width: "1px", top: `${De.offsetTop}px`, left: `${De.offsetLeft}px` }), u.dom.add(de, Se.dom),
|
|
40261
|
+
Ju(Se, { border: "0", clip: "rect(0 0 0 0)", height: "1px", margin: "-1px", overflow: "hidden", padding: "0", position: "absolute", width: "1px", top: `${De.offsetTop}px`, left: `${De.offsetLeft}px` }), u.dom.add(de, Se.dom), vr(Se, '[role="menu"]').each((Me) => {
|
|
40262
40262
|
_r(Me, "position"), _r(Me, "max-height");
|
|
40263
40263
|
});
|
|
40264
40264
|
};
|
|
@@ -40298,11 +40298,11 @@ The conflicting element is` + (Ds(H.element) ? " " : " not ") + "already in the
|
|
|
40298
40298
|
}), V = [At(xd(), R((Y, oe, ue) => {
|
|
40299
40299
|
gs(ue, !0);
|
|
40300
40300
|
})), At(wc(), B), At(Ig(), B), At(Kl(), R((Y, oe, ue) => {
|
|
40301
|
-
|
|
40301
|
+
vr(Y.element, "." + n0).each((de) => {
|
|
40302
40302
|
fa(de, n0);
|
|
40303
40303
|
}), to(ue, n0);
|
|
40304
40304
|
})), At(QS(), R((Y) => {
|
|
40305
|
-
|
|
40305
|
+
vr(Y.element, "." + n0).each((oe) => {
|
|
40306
40306
|
fa(oe, n0), Of(oe);
|
|
40307
40307
|
});
|
|
40308
40308
|
})), Mh(R((Y, oe, ue, de) => {
|
|
@@ -40316,12 +40316,12 @@ The conflicting element is` + (Ds(H.element) ? " " : " not ") + "already in the
|
|
|
40316
40316
|
fa(oe, "tox-collection__item--state-disabled"), $a(oe, "aria-disabled");
|
|
40317
40317
|
});
|
|
40318
40318
|
} }), ei(() => m.checkUiComponentContext(u.context)), er.config({}), ea.config({ ...m.tooltips.getConfig({ tooltipText: "", onShow: (Y) => {
|
|
40319
|
-
|
|
40319
|
+
vr(Y.element, "." + n0 + "[data-mce-tooltip]").each((oe) => {
|
|
40320
40320
|
ms(oe, "data-mce-tooltip").each((ue) => {
|
|
40321
40321
|
ea.setComponents(Y, m.tooltips.getComponents({ tooltipText: ue }));
|
|
40322
40322
|
});
|
|
40323
40323
|
});
|
|
40324
|
-
} }), mode: "children-keyboard-focus", anchor: (Y) => ({ type: "node", node:
|
|
40324
|
+
} }), mode: "children-keyboard-focus", anchor: (Y) => ({ type: "node", node: vr(Y.element, "." + n0).orThunk(() => Xm(".tox-collection__item")), root: Y.element, layouts: { onLtr: I([Qa, es, di, ys, Ja, Qs]), onRtl: I([Qa, es, di, ys, Ja, Qs]) }, bubble: ku(0, -2, {}) }) }), tn.config({ store: { mode: "memory", initialValue: x.getOr([]) }, onSetValue: (Y, oe) => {
|
|
40325
40325
|
((ue, de) => {
|
|
40326
40326
|
const De = m.checkUiComponentContext("mode:design").shouldDisable || m.isDisabled() ? " tox-collection__item--state-disabled" : "", Se = ke(de, (xe) => {
|
|
40327
40327
|
const Oe = Kf.translate(xe.text), Ne = u.columns === 1 ? `<div class="tox-collection__item-label">${Oe}</div>` : "", ze = `<div class="tox-collection__item-icon">${((ht) => {
|
|
@@ -40505,7 +40505,7 @@ The conflicting element is` + (Ds(H.element) ? " " : " not ") + "already in the
|
|
|
40505
40505
|
});
|
|
40506
40506
|
}, R = so({ dom: { tag: "input", attributes: { type: "file", accept: "image/*" }, styles: { display: "none" } }, behaviours: Vt([Qn("input-file-events", [uf(wc()), uf(Ig())])]) }), B = u.label.map((j) => ry(j, m)), V = ar.parts.field({ factory: hi, dom: { tag: "button", styles: { position: "relative" }, classes: ["tox-button", "tox-button--secondary"] }, components: [sa(m.translate("Browse for an image")), R.asSpec()], action: (j) => {
|
|
40507
40507
|
R.get(j).element.dom.click();
|
|
40508
|
-
}, buttonBehaviours: Vt([um(), n5(x.getOr([])), Ro.config({}), a0(() => m.checkUiComponentContext(u.context).shouldDisable), ei(() => m.checkUiComponentContext(u.context))]) }), H = { dom: { tag: "div", classes: ["tox-dropzone-container"] }, behaviours: Vt([En.config({ disabled: () => m.checkUiComponentContext(u.context).shouldDisable }), ei(() => m.checkUiComponentContext(u.context)),
|
|
40508
|
+
}, buttonBehaviours: Vt([um(), n5(x.getOr([])), Ro.config({}), a0(() => m.checkUiComponentContext(u.context).shouldDisable), ei(() => m.checkUiComponentContext(u.context))]) }), H = { dom: { tag: "div", classes: ["tox-dropzone-container"] }, behaviours: Vt([En.config({ disabled: () => m.checkUiComponentContext(u.context).shouldDisable }), ei(() => m.checkUiComponentContext(u.context)), yr.config({ toggleClass: "dragenter", toggleOnExecute: !1 }), Qn("dropzone-events", [At("dragenter", M([S, yr.toggle])), At("dragleave", M([S, yr.toggle])), At("dragover", S), At("drop", M([S, (j, J) => {
|
|
40509
40509
|
var Y;
|
|
40510
40510
|
if (!En.isDisabled(j)) {
|
|
40511
40511
|
const oe = J.event.raw;
|
|
@@ -40703,11 +40703,11 @@ The conflicting element is` + (Ds(H.element) ? " " : " not ") + "already in the
|
|
|
40703
40703
|
const B = u.menu.map((H) => RA(H, "tox-mbtn", R, z.none(), x)), V = [tV(u.title)];
|
|
40704
40704
|
return nV(u, V, R), B.each((H) => V.push(H)), hi.sketch({ dom: { tag: "div", classes: ["tox-tree--leaf__label", "tox-trbtn"].concat(x ? ["tox-tree--leaf__label--visible"] : []) }, components: V, role: "treeitem", action: (H) => {
|
|
40705
40705
|
m(u.id), H.getSystem().broadcastOn([`update-active-item-${S}`], { value: u.id });
|
|
40706
|
-
}, eventOrder: { [rf()]: [rV, "keying"] }, buttonBehaviours: Vt([...x ? [Ro.config({})] : [],
|
|
40707
|
-
(j.value === u.id ?
|
|
40706
|
+
}, eventOrder: { [rf()]: [rV, "keying"] }, buttonBehaviours: Vt([...x ? [Ro.config({})] : [], yr.config({ toggleClass: "tox-trbtn--enabled", toggleOnExecute: !1, aria: { mode: "selected" } }), Ql.config({ channels: { [`update-active-item-${S}`]: { onReceive: (H, j) => {
|
|
40707
|
+
(j.value === u.id ? yr.on : yr.off)(H);
|
|
40708
40708
|
} } } }), Qn(rV, [Go((H, j) => {
|
|
40709
40709
|
M.each((J) => {
|
|
40710
|
-
(J === u.id ?
|
|
40710
|
+
(J === u.id ? yr.on : yr.off)(H);
|
|
40711
40711
|
});
|
|
40712
40712
|
}), At(rf(), (H, j) => {
|
|
40713
40713
|
const J = j.event.raw.code === "ArrowLeft", Y = j.event.raw.code === "ArrowRight";
|
|
@@ -40728,8 +40728,8 @@ The conflicting element is` + (Ds(H.element) ? " " : " not ") + "already in the
|
|
|
40728
40728
|
const V = (H) => {
|
|
40729
40729
|
Yc(H.element, ".tox-tree--directory").each((j) => {
|
|
40730
40730
|
H.getSystem().getByDom(j).each((J) => {
|
|
40731
|
-
const Y = !
|
|
40732
|
-
|
|
40731
|
+
const Y = !yr.isOn(J);
|
|
40732
|
+
yr.toggle(J), Rn(H, "expand-tree-node", { expanded: Y, node: u.id });
|
|
40733
40733
|
});
|
|
40734
40734
|
});
|
|
40735
40735
|
};
|
|
@@ -40737,7 +40737,7 @@ The conflicting element is` + (Ds(H.element) ? " " : " not ") + "already in the
|
|
|
40737
40737
|
const J = j.event.raw.code === "ArrowRight", Y = j.event.raw.code === "ArrowLeft";
|
|
40738
40738
|
J && x && j.stop(), (J || Y) && Yc(H.element, ".tox-tree--directory").each((oe) => {
|
|
40739
40739
|
H.getSystem().getByDom(oe).each((ue) => {
|
|
40740
|
-
!
|
|
40740
|
+
!yr.isOn(ue) && J || yr.isOn(ue) && Y ? (V(H), j.stop()) : Y && !yr.isOn(ue) && (Yc(ue.element, ".tox-tree--directory").each((de) => {
|
|
40741
40741
|
tf(de, ".tox-tree--directory__label").each((De) => {
|
|
40742
40742
|
ue.getSystem().getByDom(De).each(Un.focus);
|
|
40743
40743
|
});
|
|
@@ -40748,11 +40748,11 @@ The conflicting element is` + (Ds(H.element) ? " " : " not ") + "already in the
|
|
|
40748
40748
|
}, Bq = ({ children: u, onLeafAction: m, visible: x, treeId: S, expandedIds: M, selectedId: R, backstage: B }) => ({ dom: { tag: "div", classes: ["tox-tree--directory__children"] }, components: u.map((V) => V.type === "leaf" ? aN({ leaf: V, selectedId: R, onLeafAction: m, visible: x, treeId: S, backstage: B }) : sN({ directory: V, expandedIds: M, selectedId: R, onLeafAction: m, labelTabstopping: x, treeId: S, backstage: B })), behaviours: Vt([gl.config({ dimension: { property: "height" }, closedClass: "tox-tree--directory__children--closed", openClass: "tox-tree--directory__children--open", growingClass: "tox-tree--directory__children--growing", shrinkingClass: "tox-tree--directory__children--shrinking", expanded: x }), er.config({})]) }), Fq = en("directory-event-id"), sN = ({ directory: u, onLeafAction: m, labelTabstopping: x, treeId: S, backstage: M, expandedIds: R, selectedId: B }) => {
|
|
40749
40749
|
const { children: V } = u, H = pn(R), j = R.includes(u.id);
|
|
40750
40750
|
return { dom: { tag: "div", classes: ["tox-tree--directory"], attributes: { role: "treeitem" } }, components: [Pq({ directory: u, visible: x, noChildren: u.children.length === 0, backstage: M }), Bq({ children: V, expandedIds: R, selectedId: B, onLeafAction: m, visible: j, treeId: S, backstage: M })], behaviours: Vt([Qn(Fq, [Go((J, Y) => {
|
|
40751
|
-
|
|
40751
|
+
yr.set(J, j);
|
|
40752
40752
|
}), At("expand-tree-node", (J, Y) => {
|
|
40753
40753
|
const { expanded: oe, node: ue } = Y.event;
|
|
40754
40754
|
H.set(oe ? [...H.get(), ue] : H.get().filter((de) => de !== ue));
|
|
40755
|
-
})]),
|
|
40755
|
+
})]), yr.config({ ...u.children.length > 0 ? { aria: { mode: "expanded" } } : {}, toggleClass: "tox-tree--directory--expanded", onToggled: (J, Y) => {
|
|
40756
40756
|
const oe = J.components()[1], ue = (de = Y, V.map((De) => De.type === "leaf" ? aN({ leaf: De, selectedId: B, onLeafAction: m, visible: de, treeId: S, backstage: M }) : sN({ directory: De, expandedIds: H.get(), selectedId: B, onLeafAction: m, labelTabstopping: de, treeId: S, backstage: M })));
|
|
40757
40757
|
var de;
|
|
40758
40758
|
Y ? gl.grow(oe) : gl.shrink(oe), er.set(oe, ue);
|
|
@@ -41050,12 +41050,12 @@ The conflicting element is` + (Ds(H.element) ? " " : " not ") + "already in the
|
|
|
41050
41050
|
x.onInit(B.element.dom);
|
|
41051
41051
|
})]);
|
|
41052
41052
|
return x.presets === "presentation" ? Zf.sketch({ dom: { tag: "div", classes: M, innerHtml: x.html }, containerBehaviours: Vt([ea.config({ ...S.tooltips.getConfig({ tooltipText: "", onShow: (B) => {
|
|
41053
|
-
|
|
41053
|
+
vr(B.element, "[data-mce-tooltip]:hover").orThunk(() => Pa(B.element)).each((V) => {
|
|
41054
41054
|
ms(V, "data-mce-tooltip").each((H) => {
|
|
41055
41055
|
ea.setComponents(B, S.tooltips.getComponents({ tooltipText: H }));
|
|
41056
41056
|
});
|
|
41057
41057
|
});
|
|
41058
|
-
} }), mode: "children-normal", anchor: (B) => ({ type: "node", node:
|
|
41058
|
+
} }), mode: "children-normal", anchor: (B) => ({ type: "node", node: vr(B.element, "[data-mce-tooltip]:hover").orThunk(() => Pa(B.element).filter((V) => ms(V, "data-mce-tooltip").isSome())), root: B.element, layouts: { onLtr: I([Qa, es, di, ys, Ja, Qs]), onRtl: I([Qa, es, di, ys, Ja, Qs]) }, bubble: ku(0, -2, {}) }) }), R]) }) : Zf.sketch({ dom: { tag: "div", classes: M, innerHtml: x.html, attributes: { role: "document" } }, containerBehaviours: Vt([Ro.config({}), Un.config({}), R]) });
|
|
41059
41059
|
})(u, m.shared.providers)), imagepreview: Di((u, m, x) => ((S, M) => {
|
|
41060
41060
|
const R = pn(M.getOr({ url: "" })), B = so({ dom: { tag: "img", classes: ["tox-imagepreview__image"], attributes: M.map((J) => ({ src: J.url })).getOr({}) } }), V = so({ dom: { tag: "div", classes: ["tox-imagepreview__container"], attributes: { role: "presentation" } }, components: [B.asSpec()] }), H = {};
|
|
41061
41061
|
S.height.each((J) => H.height = J);
|
|
@@ -41313,7 +41313,7 @@ The conflicting element is` + (Ds(H.element) ? " " : " not ") + "already in the
|
|
|
41313
41313
|
return { uid: u.uid, dom: u.dom, components: [], behaviours: Vt([er.config({}), Qn("menubar-events", [Go((S) => {
|
|
41314
41314
|
u.onSetup(S);
|
|
41315
41315
|
}), At(xd(), (S, M) => {
|
|
41316
|
-
|
|
41316
|
+
vr(S.element, ".tox-mbtn--active").each((R) => {
|
|
41317
41317
|
Zl(M.event.target, ".tox-mbtn").each((B) => {
|
|
41318
41318
|
Eo(R, B) || S.getSystem().getByDom(R).each((V) => {
|
|
41319
41319
|
S.getSystem().getByDom(B).each((H) => {
|
|
@@ -41665,8 +41665,8 @@ The conflicting element is` + (Ds(H.element) ? " " : " not ") + "already in the
|
|
|
41665
41665
|
})(m), /* @__PURE__ */ ((x) => () => ((S, M) => {
|
|
41666
41666
|
S.dispatch("SkinLoadError", M);
|
|
41667
41667
|
})(x, { message: "Skin could not be loaded" }))(m)), SY = Z(XV, !1), wY = Z(XV, !0), JV = (u) => ({ isEnabled: () => !En.isDisabled(u), setEnabled: (m) => En.set(u, !m), setText: (m) => Rn(u, jd, { text: m }), setIcon: (m) => Rn(u, Ox, { icon: m }) }), EY = (u) => ({ setActive: (m) => {
|
|
41668
|
-
|
|
41669
|
-
}, isActive: () =>
|
|
41668
|
+
yr.set(u, m);
|
|
41669
|
+
}, isActive: () => yr.isOn(u), isEnabled: () => !En.isDisabled(u), setEnabled: (m) => En.set(u, !m), setText: (m) => Rn(u, jd, { text: m }), setIcon: (m) => Rn(u, Ox, { icon: m }) }), QV = (u, m) => u.map((x) => ({ "aria-label": m.translate(x) })).getOr({}), ez = en("focus-button"), v5 = (u, m, x, S, M, R, B) => {
|
|
41670
41670
|
const V = m.map((j) => so(tN(j, "tox-tbtn", M))), H = u.map((j) => so(iy(j, M.icons)));
|
|
41671
41671
|
return { dom: { tag: "button", classes: ["tox-tbtn"].concat(m.isSome() ? ["tox-tbtn--select"] : []), attributes: { ...QV(x, M), ...b(B) ? { "data-mce-name": B } : {} } }, components: ey([H.map((j) => j.asSpec()), V.map((j) => j.asSpec())]), eventOrder: { [wu()]: ["focusing", "alloy.base.behaviour", ay], [eu()]: [ay, "toolbar-group-button-events"], [Va()]: [ay, "toolbar-group-button-events", "tooltipping"] }, buttonBehaviours: Vt([Hk(() => M.checkUiComponentContext(R).shouldDisable), ei(() => M.checkUiComponentContext(R)), Qn(ay, [Go((j, J) => eN(j)), At(jd, (j, J) => {
|
|
41672
41672
|
V.bind((Y) => Y.getOpt(j)).each((Y) => {
|
|
@@ -41688,7 +41688,7 @@ The conflicting element is` + (Ds(H.element) ? " " : " not ") + "already in the
|
|
|
41688
41688
|
});
|
|
41689
41689
|
})), is(m, R), Xh(m, R)]), ...u.tooltip.map((H) => ea.config(x.tooltips.getConfig({ tooltipText: x.translate(H) + u.shortcut.map((j) => ` (${mA(j)})`).getOr("") }))).toArray(), Hk(() => !u.enabled || x.checkUiComponentContext(u.context).shouldDisable), ei(() => x.checkUiComponentContext(u.context))].concat(m.toolbarButtonBehaviours)), [ay]: (M = B.buttonBehaviours) === null || M === void 0 ? void 0 : M[ay] } });
|
|
41690
41690
|
var V;
|
|
41691
|
-
}, LN = (u, m, x, S) => MN(u, { toolbarButtonBehaviours: x.length > 0 ? [Qn("toolbarButtonWith", x)] : [], getApi: JV, onSetup: u.onSetup }, m, S), tz = (u, m, x, S) => MN(u, { toolbarButtonBehaviours: [er.config({}),
|
|
41691
|
+
}, LN = (u, m, x, S) => MN(u, { toolbarButtonBehaviours: x.length > 0 ? [Qn("toolbarButtonWith", x)] : [], getApi: JV, onSetup: u.onSetup }, m, S), tz = (u, m, x, S) => MN(u, { toolbarButtonBehaviours: [er.config({}), yr.config({ toggleClass: "tox-tbtn--enabled", aria: { mode: "pressed" }, toggleOnExecute: !1 })].concat(x.length > 0 ? [Qn("toolbarToggleButtonWith", x)] : []), getApi: EY, onSetup: u.onSetup }, m, S), AY = (u, m, x) => (S) => fc((M) => m.fetch(M)).map((M) => z.from(U6(wr(Jk(en("menu-value"), M, (R) => {
|
|
41692
41692
|
m.onItemAction(u(S), R);
|
|
41693
41693
|
}, m.columns, m.presets, Zd.CLOSE_ON_EXECUTE, m.select.getOr(q), x), { movement: _A(m.columns, m.presets), menuBehaviours: Tx(m.columns !== "auto" ? [] : [Go((R, B) => {
|
|
41694
41694
|
xC(R, 4, F7(m.presets)).each(({ numRows: V, numColumns: H }) => {
|
|
@@ -41696,7 +41696,7 @@ The conflicting element is` + (Ds(H.element) ? " " : " not ") + "already in the
|
|
|
41696
41696
|
});
|
|
41697
41697
|
})]) })))), nz = (u) => {
|
|
41698
41698
|
Ma.getContent(u).each((m) => {
|
|
41699
|
-
|
|
41699
|
+
vr(m.element, ".tox-toolbar-slider__input,.tox-toolbar-textfield").fold(() => wn.focusIn(m), gs);
|
|
41700
41700
|
});
|
|
41701
41701
|
}, rz = en("forward-slide"), y5 = en("backward-slide"), b5 = en("change-slide-event"), x5 = "tox-pop--resizing", Ix = (u, m, x) => xi(x) ? u.translate(m) : u.translate([m, u.translate(x)]), RN = (u, m) => {
|
|
41702
41702
|
const x = (R, B, V, H) => {
|
|
@@ -41847,14 +41847,14 @@ The conflicting element is` + (Ds(H.element) ? " " : " not ") + "already in the
|
|
|
41847
41847
|
return m(B, S, M, R);
|
|
41848
41848
|
}, LY = { button: PA(u6, (u, m, x, S) => ((M, R, B) => LN(M, R, [], B))(u, m.shared.providers, S)), togglebutton: PA(LF, (u, m, x, S) => ((M, R, B) => tz(M, R, [], B))(u, m.shared.providers, S)), menubutton: PA(i6, (u, m, x, S) => RA(u, "tox-tbtn", m, z.none(), !1, S)), splitbutton: PA((u) => da("SplitButton", m6, u), (u, m, x, S) => ((M, R, B) => {
|
|
41849
41849
|
const V = pn(M.tooltip.getOr("")), H = (Y) => ({ isEnabled: () => !En.isDisabled(Y), setEnabled: (oe) => En.set(Y, !oe), setIconFill: (oe, ue) => {
|
|
41850
|
-
|
|
41850
|
+
vr(Y.element, `svg path[class="${oe}"], rect[class="${oe}"]`).each((de) => {
|
|
41851
41851
|
Kn(de, "fill", ue);
|
|
41852
41852
|
});
|
|
41853
41853
|
}, setActive: (oe) => {
|
|
41854
|
-
Kn(Y.element, "aria-pressed", oe),
|
|
41855
|
-
Y.getSystem().getByDom(ue).each((de) =>
|
|
41854
|
+
Kn(Y.element, "aria-pressed", oe), vr(Y.element, "span").each((ue) => {
|
|
41855
|
+
Y.getSystem().getByDom(ue).each((de) => yr.set(de, oe));
|
|
41856
41856
|
});
|
|
41857
|
-
}, isActive: () =>
|
|
41857
|
+
}, isActive: () => vr(Y.element, "span").exists((oe) => Y.getSystem().getByDom(oe).exists(yr.isOn)), setText: (oe) => vr(Y.element, "span").each((ue) => Y.getSystem().getByDom(ue).each((de) => Rn(de, jd, { text: oe }))), setIcon: (oe) => vr(Y.element, "span").each((ue) => Y.getSystem().getByDom(ue).each((de) => Rn(de, Ox, { icon: oe }))), setTooltip: (oe) => {
|
|
41858
41858
|
const ue = R.providers.translate(oe);
|
|
41859
41859
|
Kn(Y.element, "aria-label", ue), V.set(oe);
|
|
41860
41860
|
} }), j = pn(k), J = { getApi: H, onSetup: M.onSetup };
|
|
@@ -41867,7 +41867,7 @@ The conflicting element is` + (Ds(H.element) ? " " : " not ") + "already in the
|
|
|
41867
41867
|
const ue = R.providers.translate(V.get());
|
|
41868
41868
|
ea.setComponents(oe, R.providers.tooltips.getComponents({ tooltipText: ue }));
|
|
41869
41869
|
}
|
|
41870
|
-
} }) })).toArray()]), eventOrder: { [eu()]: ["alloy.base.behaviour", "split-dropdown-events", "tooltipping"], [Va()]: ["split-dropdown-events", "tooltipping"] }, toggleClass: "tox-tbtn--enabled", lazySink: R.getSink, fetch: AY(H, M, R.providers), parts: { menu: Dk(0, M.columns, M.presets) }, components: [qE.parts.button(v5(M.icon, M.text, z.none(), z.some([
|
|
41870
|
+
} }) })).toArray()]), eventOrder: { [eu()]: ["alloy.base.behaviour", "split-dropdown-events", "tooltipping"], [Va()]: ["split-dropdown-events", "tooltipping"] }, toggleClass: "tox-tbtn--enabled", lazySink: R.getSink, fetch: AY(H, M, R.providers), parts: { menu: Dk(0, M.columns, M.presets) }, components: [qE.parts.button(v5(M.icon, M.text, z.none(), z.some([yr.config({ toggleClass: "tox-tbtn--enabled", toggleOnExecute: !1 }), Hk(q), ei(I({ contextType: "any", shouldDisable: !1 }))]), R.providers, M.context)), qE.parts.arrow({ dom: { tag: "button", classes: ["tox-tbtn", "tox-split-button__chevron"], innerHtml: I7("chevron-down", R.providers.icons) }, buttonBehaviours: Vt([UF(q), ei(I({ contextType: "any", shouldDisable: !1 }))]) }), qE.parts["aria-descriptor"]({ text: R.providers.translate("To open the popup, press Shift+Enter") })] });
|
|
41871
41871
|
})(u, m.shared, S)), grouptoolbarbutton: PA((u) => da("GroupToolbarButton", g6, u), (u, m, x, S) => {
|
|
41872
41872
|
const M = x.ui.registry.getAll().buttons, R = { [K_]: m.shared.header.isPositionedAtTop() ? Ad.TopToBottom : Ad.BottomToTop };
|
|
41873
41873
|
if (sm(x) === $d.floating) return ((B, V, H, j, J) => {
|
|
@@ -42188,7 +42188,7 @@ The conflicting element is` + (Ds(H.element) ? " " : " not ") + "already in the
|
|
|
42188
42188
|
let B = l5;
|
|
42189
42189
|
const V = en("ratio-event"), H = (je) => Jp(je, S), j = (je) => Xf(je, { tag: "span", classes: ["tox-icon", "tox-lock-icon__" + je] }, m.icons), J = () => !1, Y = u.label.getOr("Constrain proportions"), oe = m.translate(Y), ue = gi.parts.lock({ dom: { tag: "button", classes: ["tox-lock", "tox-lock-context-form-size-input", "tox-button", "tox-button--naked", "tox-button--icon"], attributes: { "aria-label": oe, "data-mce-name": Y } }, components: [j("lock"), j("unlock")], buttonBehaviours: Vt([En.config({ disabled: J }), Ro.config({}), ea.config(m.tooltips.getConfig({ tooltipText: oe }))]) }), de = (je) => ({ dom: { tag: "div", classes: ["tox-context-form__group"] }, components: je }), De = (je) => Yc(je.element, "div.tox-focusable-wrapper").fold(z.none, (nt) => (gs(nt), z.some(!0))), Se = (je) => ar.parts.field({ factory: Kv, inputClasses: ["tox-textfield", "tox-toolbar-textfield", "tox-textfield-size"], data: je ? M : R, inputBehaviours: Vt([En.config({ disabled: J }), Ro.config({}), Qn("size-input-toolbar-events", [At(Kl(), (nt, ht) => {
|
|
42190
42190
|
Rn(nt, V, { isField1: je });
|
|
42191
|
-
})]), wn.config({ mode: "special", onEnter: x, onEscape: De })]), selectOnFocus: !1 }), Me = (je) => ({ dom: { tag: "label", classes: ["tox-label"] }, components: [sa(m.translate(je))] }), be = (je) => ({ dom: { tag: "div", classes: ["tox-focusable-wrapper", "tox-toolbar-nav-item"] }, components: [je], behaviours: Vt([Ro.config({}), Un.config({}), wn.config({ mode: "special", onEnter: (nt) =>
|
|
42191
|
+
})]), wn.config({ mode: "special", onEnter: x, onEscape: De })]), selectOnFocus: !1 }), Me = (je) => ({ dom: { tag: "label", classes: ["tox-label"] }, components: [sa(m.translate(je))] }), be = (je) => ({ dom: { tag: "div", classes: ["tox-focusable-wrapper", "tox-toolbar-nav-item"] }, components: [je], behaviours: Vt([Ro.config({}), Un.config({}), wn.config({ mode: "special", onEnter: (nt) => vr(nt.element, "input").fold(z.none, (ht) => (gs(ht), z.some(!0))) })]) }), xe = be(gi.parts.field1(de([ar.parts.label(Me("Width:")), Se(!0)]))), Oe = be(gi.parts.field2(de([ar.parts.label(Me("Height:")), Se(!1)]))), Ne = pn(k), ze = [is({ onBeforeSetup: (je) => vr(je.element, "input").each(gs), onSetup: u.onSetup, getApi: H }, Ne), su({ getApi: H }, Ne, S)];
|
|
42192
42192
|
return gi.sketch({ dom: { tag: "div", classes: ["tox-context-form__group"] }, components: [xe, de([ue]), Oe], field1Name: "width", field2Name: "height", locked: !0, markers: { lockClass: "tox-locked" }, onLockedChange: (je, nt, ht) => {
|
|
42193
42193
|
s5(tn.getValue(je)).each((Tt) => {
|
|
42194
42194
|
B(Tt).each((Et) => {
|
|
@@ -42222,7 +42222,7 @@ The conflicting element is` + (Ds(H.element) ? " " : " not ") + "already in the
|
|
|
42222
42222
|
})])]) });
|
|
42223
42223
|
return vz(B, V, m);
|
|
42224
42224
|
}, k5 = (u, m, x, S) => {
|
|
42225
|
-
const M = pn(k), R = (j) => Jp(j, S), B = u.label.map((j) => ar.parts.label({ dom: { tag: "label", classes: ["tox-label"] }, components: [sa(m.translate(j))] })), V = { ...u.placeholder.map((j) => ({ placeholder: m.translate(j) })).getOr({}) }, H = ar.parts.field({ factory: Kv, inputClasses: ["tox-toolbar-textfield", "tox-toolbar-nav-item"], inputAttributes: V, data: u.initValue(), selectOnFocus: !0, inputBehaviours: Vt([En.config({ disabled: () => m.checkUiComponentContext("mode:design").shouldDisable }), ei(() => m.checkUiComponentContext("mode:design")), wn.config({ mode: "special", onEnter: x, onLeft: (j, J) => (J.cut(), z.none()), onRight: (j, J) => (J.cut(), z.none()) }), Qn("input-events", [is({ onSetup: u.onSetup, getApi: (j) => Yc(j.element, ".tox-toolbar").bind((J) =>
|
|
42225
|
+
const M = pn(k), R = (j) => Jp(j, S), B = u.label.map((j) => ar.parts.label({ dom: { tag: "label", classes: ["tox-label"] }, components: [sa(m.translate(j))] })), V = { ...u.placeholder.map((j) => ({ placeholder: m.translate(j) })).getOr({}) }, H = ar.parts.field({ factory: Kv, inputClasses: ["tox-toolbar-textfield", "tox-toolbar-nav-item"], inputAttributes: V, data: u.initValue(), selectOnFocus: !0, inputBehaviours: Vt([En.config({ disabled: () => m.checkUiComponentContext("mode:design").shouldDisable }), ei(() => m.checkUiComponentContext("mode:design")), wn.config({ mode: "special", onEnter: x, onLeft: (j, J) => (J.cut(), z.none()), onRight: (j, J) => (J.cut(), z.none()) }), Qn("input-events", [is({ onSetup: u.onSetup, getApi: (j) => Yc(j.element, ".tox-toolbar").bind((J) => vr(J, "button:enabled")).fold(() => Jp(j, S), (J) => Jp(j, S, J)), onBeforeSetup: wn.focusIn }, M), su({ getApi: R }, M, S), At(Eh(), (j) => {
|
|
42226
42226
|
u.onInput(R(j));
|
|
42227
42227
|
})])]) });
|
|
42228
42228
|
return vz(B, H, m);
|
|
@@ -42263,7 +42263,7 @@ The conflicting element is` + (Ds(H.element) ? " " : " not ") + "already in the
|
|
|
42263
42263
|
if (u.inline && !B) return Sa(V, M.y, H, M.height);
|
|
42264
42264
|
{
|
|
42265
42265
|
const j = m.header.isPositionedAtTop(), { y: J, bottom: Y } = ((oe, ue, de, De, Se, Me) => {
|
|
42266
|
-
const be = ln(oe.getContainer()), xe =
|
|
42266
|
+
const be = ln(oe.getContainer()), xe = vr(be, ".tox-editor-header").getOr(be), Oe = wa(xe), Ne = Oe.y >= ue.bottom, ze = De && !Ne;
|
|
42267
42267
|
if (oe.inline && ze) return { y: Math.max(Oe.bottom + Me, de.y), bottom: de.bottom };
|
|
42268
42268
|
if (oe.inline && !ze) return { y: de.y, bottom: Math.min(Oe.y - Me, de.bottom) };
|
|
42269
42269
|
const je = Se === "line" ? wa(be) : ue;
|
|
@@ -43032,7 +43032,7 @@ The conflicting element is` + (Ds(H.element) ? " " : " not ") + "already in the
|
|
|
43032
43032
|
Xn(u, "height", m + "px"), Xn(u, "flex-basis", m + "px");
|
|
43033
43033
|
}, P5 = (u, m, x) => {
|
|
43034
43034
|
Yc(u, '[role="dialog"]').each((S) => {
|
|
43035
|
-
|
|
43035
|
+
vr(S, '[role="tablist"]').each((M) => {
|
|
43036
43036
|
x.get().map((R) => (Xn(m, "height", "0"), Xn(m, "flex-basis", "0"), Math.min(R, ((B, V, H) => {
|
|
43037
43037
|
const j = ma(B).dom, J = Yc(B, ".tox-dialog-wrap").getOr(B);
|
|
43038
43038
|
let Y;
|
|
@@ -43044,7 +43044,7 @@ The conflicting element is` + (Ds(H.element) ? " " : " not ") + "already in the
|
|
|
43044
43044
|
});
|
|
43045
43045
|
});
|
|
43046
43046
|
});
|
|
43047
|
-
}, a8 = (u) =>
|
|
43047
|
+
}, a8 = (u) => vr(u, '[role="tabpanel"]'), Rz = "send-data-to-section", i8 = "send-data-to-view", qY = (u, m, x, S) => {
|
|
43048
43048
|
const M = pn({}), R = (J) => {
|
|
43049
43049
|
const Y = tn.getValue(J), oe = kz(Y).getOr({}), ue = M.get(), de = wr(ue, oe);
|
|
43050
43050
|
M.set(de);
|
|
@@ -43114,7 +43114,7 @@ The conflicting element is` + (Ds(H.element) ? " " : " not ") + "already in the
|
|
|
43114
43114
|
const B = Ti.parts.title(h8(S, M, z.none(), R)), V = Ti.parts.draghandle(Oz()), H = Ti.parts.close(d8(R)), j = [B].concat(S.draggable ? [V] : []).concat([H]);
|
|
43115
43115
|
return Zf.sketch({ dom: ml('<div class="tox-dialog__header"></div>'), components: j });
|
|
43116
43116
|
})({ title: x.shared.providers.translate(u), draggable: x.dialog.isDraggableModal() }, m, x.shared.providers), Iz = (u, m, x, S) => ({ dom: { tag: "div", classes: ["tox-dialog__busy-spinner"], attributes: { "aria-label": x.translate(u) }, styles: { left: "0px", right: "0px", bottom: "0px", top: `${S.getOr(0)}px`, position: "absolute" } }, behaviours: m, components: [{ dom: ml('<div class="tox-spinner"><div></div><div></div><div></div></div>') }] }), Pz = (u, m, x) => ({ onClose: () => x.closeWindow(), onBlock: (S) => {
|
|
43117
|
-
const M =
|
|
43117
|
+
const M = vr(u().element, ".tox-dialog__header").map((R) => Ba(R));
|
|
43118
43118
|
Ti.setBusy(u(), (R, B) => Iz(S.message, B, m, M));
|
|
43119
43119
|
}, onUnblock: () => {
|
|
43120
43120
|
Ti.setIdle(u());
|
|
@@ -43307,7 +43307,7 @@ The conflicting element is` + (Ds(H.element) ? " " : " not ") + "already in the
|
|
|
43307
43307
|
});
|
|
43308
43308
|
ue.set(Me);
|
|
43309
43309
|
}), Dd(ue.clear)]), Ql.config({ channels: { [H9]: { onReceive: (Me, be) => {
|
|
43310
|
-
|
|
43310
|
+
vr(Me.element, "iframe").each((xe) => {
|
|
43311
43311
|
const Oe = xe.dom.contentWindow;
|
|
43312
43312
|
b(Oe) && Oe.postMessage(be, oe);
|
|
43313
43313
|
});
|
|
@@ -43449,7 +43449,7 @@ The conflicting element is` + (Ds(H.element) ? " " : " not ") + "already in the
|
|
|
43449
43449
|
return qp(u, S.getMothership().element).each((H) => {
|
|
43450
43450
|
m = () => q1(H);
|
|
43451
43451
|
}), V;
|
|
43452
|
-
}, getWindowManagerImpl: I(R), getNotificationManagerImpl: () => rj(u, { backstage: S.backstage }, S.getMothership(), B), getPromotionElement: () =>
|
|
43452
|
+
}, getWindowManagerImpl: I(R), getNotificationManagerImpl: () => rj(u, { backstage: S.backstage }, S.getMothership(), B), getPromotionElement: () => vr(ln(u.getContainer()), ".tox-promotion").map((V) => V.dom).getOrNull() };
|
|
43453
43453
|
});
|
|
43454
43454
|
})();
|
|
43455
43455
|
tinymce.IconManager.add("default", {
|
|
@@ -44737,7 +44737,7 @@ Required: ` + D.join(", "));
|
|
|
44737
44737
|
C.setAttribute(D, P + "");
|
|
44738
44738
|
else
|
|
44739
44739
|
throw console.error("Invalid call to Attribute.set. Key ", D, ":: Value ", P, ":: Element ", C), new Error("Attribute value was not simple");
|
|
44740
|
-
},
|
|
44740
|
+
}, vr = (C, D, P) => {
|
|
44741
44741
|
tf(C.dom, D, P);
|
|
44742
44742
|
}, Zl = (C, D) => {
|
|
44743
44743
|
const P = C.dom;
|
|
@@ -44905,10 +44905,10 @@ Required: ` + D.join(", "));
|
|
|
44905
44905
|
return P === void 0 || P === "" ? [] : P.split(" ");
|
|
44906
44906
|
}, jS = (C, D, P) => {
|
|
44907
44907
|
const ee = _u(C, D).concat([P]);
|
|
44908
|
-
return
|
|
44908
|
+
return vr(C, D, ee.join(" ")), !0;
|
|
44909
44909
|
}, D_ = (C, D, P) => {
|
|
44910
44910
|
const $ = Ye(_u(C, D), (ee) => ee !== P);
|
|
44911
|
-
return $.length > 0 ?
|
|
44911
|
+
return $.length > 0 ? vr(C, D, $.join(" ")) : ka(C, D), !1;
|
|
44912
44912
|
};
|
|
44913
44913
|
var hv = (C, D, P, $, ee) => C(P, $) ? te.some(P) : w(ee) && ee(P) ? te.none() : D(P, $, ee);
|
|
44914
44914
|
const Ep = (C, D, P) => {
|
|
@@ -45526,7 +45526,7 @@ Required: ` + D.join(", "));
|
|
|
45526
45526
|
percentageSize: vw,
|
|
45527
45527
|
noneSize: Z_
|
|
45528
45528
|
}, Mu = (C, D, P, $) => {
|
|
45529
|
-
P === $ ? ka(C, D) :
|
|
45529
|
+
P === $ ? ka(C, D) : vr(C, D, P);
|
|
45530
45530
|
}, q_ = (C, D, P) => {
|
|
45531
45531
|
Ke(Z0(C, D)).fold(() => Pf(C, P), ($) => xh($, P));
|
|
45532
45532
|
}, xw = (C, D) => {
|
|
@@ -45637,7 +45637,7 @@ Required: ` + D.join(", "));
|
|
|
45637
45637
|
};
|
|
45638
45638
|
}).bind((cn) => {
|
|
45639
45639
|
const on = _w(ie, cn.grid), Dn = te.from(Ie == null ? void 0 : Ie.sizing).getOrThunk(() => Ug.getTableSize(ie)), Xt = te.from(Ie == null ? void 0 : Ie.resize).getOrThunk(ew);
|
|
45640
|
-
return P(ie, cn.grid, cn.info, { sizing: Dn, resize: Xt, section: at }), $(ie), ka(ie, Ol), cn.lockedColumns.length > 0 &&
|
|
45640
|
+
return P(ie, cn.grid, cn.info, { sizing: Dn, resize: Xt, section: at }), $(ie), ka(ie, Ol), cn.lockedColumns.length > 0 && vr(ie, Ol, cn.lockedColumns.join(",")), te.some({
|
|
45641
45641
|
cursor: cn.cursor,
|
|
45642
45642
|
newRows: on.newRows,
|
|
45643
45643
|
newCells: on.newCells
|
|
@@ -45717,7 +45717,7 @@ Required: ` + D.join(", "));
|
|
|
45717
45717
|
});
|
|
45718
45718
|
}, kb = (C, D, P) => {
|
|
45719
45719
|
const $ = _d(C, D, 1);
|
|
45720
|
-
P === 1 || $ <= 1 ? ka(C, D) :
|
|
45720
|
+
P === 1 || $ <= 1 ? ka(C, D) : vr(C, D, Math.min(P, $));
|
|
45721
45721
|
}, Td = (C, D) => (P) => {
|
|
45722
45722
|
const $ = P.column + P.colspan - 1, ee = P.column;
|
|
45723
45723
|
return $ >= C && ee < D;
|
|
@@ -45848,13 +45848,13 @@ Required: ` + D.join(", "));
|
|
|
45848
45848
|
merging: (C) => ({
|
|
45849
45849
|
unmerge: ($) => {
|
|
45850
45850
|
const ee = Mb($);
|
|
45851
|
-
return ee.each((ie) =>
|
|
45851
|
+
return ee.each((ie) => vr($, "scope", ie)), () => {
|
|
45852
45852
|
const ie = C.cell({
|
|
45853
45853
|
element: $,
|
|
45854
45854
|
colspan: 1,
|
|
45855
45855
|
rowspan: 1
|
|
45856
45856
|
});
|
|
45857
|
-
return Ks(ie, "width"), Ks($, "width"), ee.each((pe) =>
|
|
45857
|
+
return Ks(ie, "width"), Ks($, "width"), ee.each((pe) => vr(ie, "scope", pe)), ie;
|
|
45858
45858
|
};
|
|
45859
45859
|
},
|
|
45860
45860
|
merge: ($) => {
|
|
@@ -45867,7 +45867,7 @@ Required: ` + D.join(", "));
|
|
|
45867
45867
|
return _e(ie, (Ge) => Ge !== pe && Fe(Ee, Ge)) ? te.none() : te.from(pe);
|
|
45868
45868
|
}
|
|
45869
45869
|
};
|
|
45870
|
-
return Ks($[0], "width"), ee().fold(() => ka($[0], "scope"), (ie) =>
|
|
45870
|
+
return Ks($[0], "width"), ee().fold(() => ka($[0], "scope"), (ie) => vr($[0], "scope", ie + "group")), O($[0]);
|
|
45871
45871
|
}
|
|
45872
45872
|
})
|
|
45873
45873
|
}, ZL = (C, D) => {
|
|
@@ -46053,7 +46053,7 @@ Required: ` + D.join(", "));
|
|
|
46053
46053
|
}),
|
|
46054
46054
|
attrs: O({
|
|
46055
46055
|
get: Kc,
|
|
46056
|
-
set:
|
|
46056
|
+
set: vr,
|
|
46057
46057
|
remove: ka,
|
|
46058
46058
|
copyTo: pe
|
|
46059
46059
|
}),
|
|
@@ -46222,7 +46222,7 @@ Required: ` + D.join(", "));
|
|
|
46222
46222
|
}, o2 = (C) => () => dn.fromTag("col", C.dom), f4 = (C) => () => dn.fromTag("colgroup", C.dom), Fw = (C) => () => dn.fromTag("tr", C.dom), a2 = (C, D, P) => {
|
|
46223
46223
|
const $ = tb(C, D);
|
|
46224
46224
|
return Tn(P, (ee, ie) => {
|
|
46225
|
-
ee === null ? ka($, ie) :
|
|
46225
|
+
ee === null ? ka($, ie) : vr($, ie, ee);
|
|
46226
46226
|
}), $;
|
|
46227
46227
|
}, d4 = (C) => C, h4 = (C, D, P) => Sc(C).map((ee) => {
|
|
46228
46228
|
const ie = P.join(","), pe = Xa(ee, ie, (Ee) => Xo(Ee, C));
|
|
@@ -46231,7 +46231,7 @@ Required: ` + D.join(", "));
|
|
|
46231
46231
|
return $o(Ee, Ge), Ge;
|
|
46232
46232
|
}, D);
|
|
46233
46233
|
}).getOr(D), eR = (C, D) => {
|
|
46234
|
-
Tn(u4, (P, $) => Ml(C, $).filter((ee) => Fe(P, ee)).each((ee) =>
|
|
46234
|
+
Tn(u4, (P, $) => Ml(C, $).filter((ee) => Fe(P, ee)).each((ee) => vr(D, $, ee)));
|
|
46235
46235
|
}, i2 = (C, D, P) => {
|
|
46236
46236
|
const $ = (pe, Ee) => {
|
|
46237
46237
|
Lg(pe.element, Ee), Ks(Ee, "height"), pe.colspan !== 1 && Ks(Ee, "width");
|
|
@@ -46603,7 +46603,7 @@ Required: ` + D.join(", "));
|
|
|
46603
46603
|
const ee = dn.fromTag("tr");
|
|
46604
46604
|
for (let ie = 0; ie < C; ie++) {
|
|
46605
46605
|
const pe = $ < D || ie < P ? lE() : b2();
|
|
46606
|
-
ie < P &&
|
|
46606
|
+
ie < P && vr(pe, "scope", "row"), $ < D && vr(pe, "scope", "col"), $o(pe, dn.fromTag("br")), $o(ee, pe);
|
|
46607
46607
|
}
|
|
46608
46608
|
return ee;
|
|
46609
46609
|
}, x2 = (C) => {
|
|
@@ -46758,7 +46758,7 @@ Required: ` + D.join(", "));
|
|
|
46758
46758
|
layerClass: _1("blocker"),
|
|
46759
46759
|
...C
|
|
46760
46760
|
}, P = dn.fromTag("div");
|
|
46761
|
-
return
|
|
46761
|
+
return vr(P, "role", "presentation"), kg(P, {
|
|
46762
46762
|
position: "fixed",
|
|
46763
46763
|
left: "0px",
|
|
46764
46764
|
top: "0px",
|
|
@@ -46924,7 +46924,7 @@ Required: ` + D.join(", "));
|
|
|
46924
46924
|
});
|
|
46925
46925
|
});
|
|
46926
46926
|
const pe = (Xt, Nt) => {
|
|
46927
|
-
Dn.trigger.startAdjust(), D.assign(Xt),
|
|
46927
|
+
Dn.trigger.startAdjust(), D.assign(Xt), vr(Xt, "data-initial-" + Nt, Ah(Xt, Nt)), nf(Xt, wR), Vi(Xt, "opacity", "0.2"), P.go(C.dragContainer());
|
|
46928
46928
|
}, Ee = If(C.parent(), "mousedown", (Xt) => {
|
|
46929
46929
|
SR(Xt.target) && pe(Xt.target, "top"), K4(Xt.target) && pe(Xt.target, "left");
|
|
46930
46930
|
}), Ie = (Xt) => Xo(Xt, C.view()), Ge = (Xt) => Xs(Xt, "table", Ie).filter(da), at = (Xt) => Vf(Xt, "ephox-snooker-resizer-bar") || Vf(Xt, "ephox-dragster-blocker"), Bt = If(C.view(), "mouseover", (Xt) => {
|
|
@@ -47357,7 +47357,7 @@ Required: ` + D.join(", "));
|
|
|
47357
47357
|
const $ = (Ie) => {
|
|
47358
47358
|
ka(Ie, C.selected), ka(Ie, C.firstSelected), ka(Ie, C.lastSelected);
|
|
47359
47359
|
}, ee = (Ie) => {
|
|
47360
|
-
|
|
47360
|
+
vr(Ie, C.selected, "1");
|
|
47361
47361
|
}, ie = (Ie) => {
|
|
47362
47362
|
pe(Ie), P();
|
|
47363
47363
|
}, pe = (Ie) => {
|
|
@@ -47368,7 +47368,7 @@ Required: ` + D.join(", "));
|
|
|
47368
47368
|
clearBeforeUpdate: pe,
|
|
47369
47369
|
clear: ie,
|
|
47370
47370
|
selectRange: (Ie, Ge, at, Bt) => {
|
|
47371
|
-
ie(Ie), we(Ge, ee),
|
|
47371
|
+
ie(Ie), we(Ge, ee), vr(at, C.firstSelected, "1"), vr(Bt, C.lastSelected, "1"), D(Ge, at, Bt);
|
|
47372
47372
|
},
|
|
47373
47373
|
selectedSelector: C.selectedSelector,
|
|
47374
47374
|
firstSelectedSelector: C.firstSelectedSelector,
|
|
@@ -47387,7 +47387,7 @@ Required: ` + D.join(", "));
|
|
|
47387
47387
|
mergable: u3(D, C, rm),
|
|
47388
47388
|
unmergable: c3(C),
|
|
47389
47389
|
selection: R2(C)
|
|
47390
|
-
}),
|
|
47390
|
+
}), yr = (C, D, P) => ({
|
|
47391
47391
|
element: C,
|
|
47392
47392
|
clipboard: D,
|
|
47393
47393
|
generators: P
|
|
@@ -47403,7 +47403,7 @@ Required: ` + D.join(", "));
|
|
|
47403
47403
|
return tm(P), [P];
|
|
47404
47404
|
}), zR = (C, D) => He(D, (P) => C.selection.serializer.serialize(P.dom, {})).join(""), HR = (C, D) => {
|
|
47405
47405
|
const P = C.getDoc(), $ = yh(dn.fromDom(C.getBody())), ee = dn.fromTag("div", P);
|
|
47406
|
-
|
|
47406
|
+
vr(ee, "data-mce-bogus", "all"), kg(ee, {
|
|
47407
47407
|
position: "fixed",
|
|
47408
47408
|
left: "-9999999px",
|
|
47409
47409
|
top: "0",
|
|
@@ -47434,7 +47434,7 @@ Required: ` + D.join(", "));
|
|
|
47434
47434
|
const pe = Ye(_h(P.content), (Ie) => Qo(Ie) !== "meta"), Ee = ks("table");
|
|
47435
47435
|
if (n3(C) && pe.length === 1 && Ee(pe[0])) {
|
|
47436
47436
|
P.preventDefault();
|
|
47437
|
-
const Ie = dn.fromDom(C.getDoc()), Ge = p4(Ie), at =
|
|
47437
|
+
const Ie = dn.fromDom(C.getDoc()), Ge = p4(Ie), at = yr(ee, pe[0], Ge);
|
|
47438
47438
|
D.pasteCells(ie, at).each(() => {
|
|
47439
47439
|
C.focus();
|
|
47440
47440
|
});
|
|
@@ -47475,7 +47475,7 @@ Required: ` + D.join(", "));
|
|
|
47475
47475
|
return Xe(Yv).filter(Ff).map((Wh) => {
|
|
47476
47476
|
P.clearSelectedCells(as.dom);
|
|
47477
47477
|
const pi = C.dom.createRng();
|
|
47478
|
-
return pi.selectNode(Wh.dom), C.selection.setRng(pi),
|
|
47478
|
+
return pi.selectNode(Wh.dom), C.selection.setRng(pi), vr(Wh, "data-mce-selected", "1"), pi;
|
|
47479
47479
|
});
|
|
47480
47480
|
}, (Yv) => {
|
|
47481
47481
|
const Wh = qg(Yv), pi = C.dom.createRng();
|
|
@@ -47543,7 +47543,7 @@ Required: ` + D.join(", "));
|
|
|
47543
47543
|
};
|
|
47544
47544
|
return C.undoManager.ignore(() => {
|
|
47545
47545
|
const Ee = G4(P, D, ee, $, J4(C), pe);
|
|
47546
|
-
|
|
47546
|
+
vr(Ee, "data-mce-id", "__mce");
|
|
47547
47547
|
const Ie = E_(Ee);
|
|
47548
47548
|
C.insertContent(Ie), C.addVisual();
|
|
47549
47549
|
}), Ch(k2(C), 'table[data-mce-id="__mce"]').map((Ee) => (w1(C) ? d1(Ee) : E1(C) ? Bw(Ee) : (Ih(C) || A3(ie.width)) && Fb(Ee), tm(Ee), ka(Ee, "data-mce-id"), E3(C, Ee), Q2(C, Ee), Ee.dom)).getOrNull();
|
|
@@ -49800,11 +49800,11 @@ function RBe() {
|
|
|
49800
49800
|
return;
|
|
49801
49801
|
const qe = ma(K), Ft = l(me) ? me : {};
|
|
49802
49802
|
qe.length > 0 ? eb(K, Ve, qe, le, Ft) : dl(K, Ve, le, Ft);
|
|
49803
|
-
},
|
|
49803
|
+
}, vr = Ca.DOM, Zl = (K, le) => {
|
|
49804
49804
|
const me = le.parentElement;
|
|
49805
49805
|
if (me && me.nodeName === "LI" && me.firstChild === le) {
|
|
49806
49806
|
const Ve = me.previousSibling;
|
|
49807
|
-
Ve && Ve.nodeName === "LI" ? (Ve.appendChild(le), Tl(K, me) &&
|
|
49807
|
+
Ve && Ve.nodeName === "LI" ? (Ve.appendChild(le), Tl(K, me) && vr.remove(me)) : vr.setStyle(me, "listStyleType", "none");
|
|
49808
49808
|
}
|
|
49809
49809
|
if (js(me)) {
|
|
49810
49810
|
const Ve = me.previousSibling;
|
|
@@ -50936,7 +50936,7 @@ const Nue = 8, FBe = "undo redo cut copy paste indent2em | image | styleselect f
|
|
|
50936
50936
|
}).catch((k) => {
|
|
50937
50937
|
w({ message: k.message, remove: !0 });
|
|
50938
50938
|
});
|
|
50939
|
-
}), h =
|
|
50939
|
+
}), h = mr({
|
|
50940
50940
|
license_key: "gpl",
|
|
50941
50941
|
height: i.height > 0 ? i.height : 600,
|
|
50942
50942
|
selector: "#editor",
|
|
@@ -51056,7 +51056,7 @@ const Nue = 8, FBe = "undo redo cut copy paste indent2em | image | styleselect f
|
|
|
51056
51056
|
},
|
|
51057
51057
|
emits: ["refresh"],
|
|
51058
51058
|
setup(n, { emit: e }) {
|
|
51059
|
-
const t = e, r = n, o =
|
|
51059
|
+
const t = e, r = n, o = mr(!1);
|
|
51060
51060
|
async function i() {
|
|
51061
51061
|
if (t("refresh"), typeof r.refresh == "function")
|
|
51062
51062
|
try {
|
|
@@ -51124,7 +51124,7 @@ const Nue = 8, FBe = "undo redo cut copy paste indent2em | image | styleselect f
|
|
|
51124
51124
|
},
|
|
51125
51125
|
emits: ["refresh"],
|
|
51126
51126
|
setup(n, { emit: e }) {
|
|
51127
|
-
const t = e, r = n, o =
|
|
51127
|
+
const t = e, r = n, o = mr(!1);
|
|
51128
51128
|
async function i() {
|
|
51129
51129
|
if (t("refresh"), typeof r.refresh == "function")
|
|
51130
51130
|
try {
|
|
@@ -51359,7 +51359,7 @@ const Nue = 8, FBe = "undo redo cut copy paste indent2em | image | styleselect f
|
|
|
51359
51359
|
},
|
|
51360
51360
|
emits: ["click"],
|
|
51361
51361
|
setup(n, { emit: e }) {
|
|
51362
|
-
const t = e, r = n, o =
|
|
51362
|
+
const t = e, r = n, o = mr(!1);
|
|
51363
51363
|
async function i() {
|
|
51364
51364
|
if (t("click"), typeof r.refresh == "function")
|
|
51365
51365
|
try {
|
|
@@ -51471,7 +51471,7 @@ const Nue = 8, FBe = "undo redo cut copy paste indent2em | image | styleselect f
|
|
|
51471
51471
|
const r = UP(), o = Array.isArray(n) ? n.reduce((p, v) => [...p, ...v.requesting ?? []], []) : n.requesting ?? [], i = lr(() => [...o, ...e ?? []]), l = Array.isArray(n) ? n.reduce((p, v) => [...p, ...v.executing ?? []], []) : n.executing ?? [], c = lr(() => [...l, ...t ?? []]), d = lr(() => ((r == null ? void 0 : r.requesting) ?? []).some((p) => i.value.includes(p))), h = lr(() => ((r == null ? void 0 : r.executing) ?? []).some((p) => c.value.includes(p)));
|
|
51472
51472
|
return { requesting: d, executing: h };
|
|
51473
51473
|
}, wye = (n, e, t, r, o, i) => {
|
|
51474
|
-
const l = iG(), c = Tne(), d =
|
|
51474
|
+
const l = iG(), c = Tne(), d = mr(), h = mr(!1), { requesting: p, executing: v } = WP(t), y = h_(SS(e)), b = lr(() => {
|
|
51475
51475
|
let Q = A();
|
|
51476
51476
|
return (q = "") => {
|
|
51477
51477
|
let te;
|
|
@@ -51584,7 +51584,7 @@ const Nue = 8, FBe = "undo redo cut copy paste indent2em | image | styleselect f
|
|
|
51584
51584
|
executing: v
|
|
51585
51585
|
};
|
|
51586
51586
|
}, zBe = () => {
|
|
51587
|
-
const n =
|
|
51587
|
+
const n = mr(), e = lr(() => {
|
|
51588
51588
|
var i;
|
|
51589
51589
|
return (i = n.value) == null ? void 0 : i.formData;
|
|
51590
51590
|
}), t = lr(() => {
|
|
@@ -51640,7 +51640,7 @@ const Nue = 8, FBe = "undo redo cut copy paste indent2em | image | styleselect f
|
|
|
51640
51640
|
}), h = lr({
|
|
51641
51641
|
get: () => n.value,
|
|
51642
51642
|
set: (I) => O(I)
|
|
51643
|
-
}), p =
|
|
51643
|
+
}), p = mr([]), v = mr([]);
|
|
51644
51644
|
function y(I, G) {
|
|
51645
51645
|
G ? G(I) : v.value = p.value.filter((W) => (W.label ?? "").toString().toLowerCase().includes(I.toLowerCase()));
|
|
51646
51646
|
}
|
|
@@ -51694,7 +51694,7 @@ const Nue = 8, FBe = "undo redo cut copy paste indent2em | image | styleselect f
|
|
|
51694
51694
|
}
|
|
51695
51695
|
};
|
|
51696
51696
|
}, HBe = (n = {}) => {
|
|
51697
|
-
const e =
|
|
51697
|
+
const e = mr(), t = mr(), r = h_({ ...n });
|
|
51698
51698
|
return {
|
|
51699
51699
|
tableRef: e,
|
|
51700
51700
|
formModalRef: t,
|
|
@@ -95614,7 +95614,7 @@ const JW = [
|
|
|
95614
95614
|
splitLine: o = !0,
|
|
95615
95615
|
extraOptions: i = {}
|
|
95616
95616
|
}) => {
|
|
95617
|
-
const l =
|
|
95617
|
+
const l = mr(null);
|
|
95618
95618
|
let c = null;
|
|
95619
95619
|
const d = (p) => (c && c.clear && c.clear(), {
|
|
95620
95620
|
title: {
|
|
@@ -95706,7 +95706,7 @@ const JW = [
|
|
|
95706
95706
|
// true 横向,false 纵向
|
|
95707
95707
|
extraOptions: l = {}
|
|
95708
95708
|
}) => {
|
|
95709
|
-
const c =
|
|
95709
|
+
const c = mr(null);
|
|
95710
95710
|
let d = null;
|
|
95711
95711
|
const h = (v) => (d && d.clear && d.clear(), {
|
|
95712
95712
|
title: {
|
|
@@ -95989,7 +95989,7 @@ const JW = [
|
|
|
95989
95989
|
const r = Tne(), o = n, i = t, l = lr({
|
|
95990
95990
|
get: () => o.modelValue,
|
|
95991
95991
|
set: (p) => i("update:modelValue", p)
|
|
95992
|
-
}), c =
|
|
95992
|
+
}), c = mr([...o.options]);
|
|
95993
95993
|
function d(p = !1) {
|
|
95994
95994
|
var y;
|
|
95995
95995
|
if (!o.url) return;
|
|
@@ -96046,13 +96046,13 @@ const JW = [
|
|
|
96046
96046
|
limit: { type: Number, default: 4 }
|
|
96047
96047
|
},
|
|
96048
96048
|
setup(n, { expose: e }) {
|
|
96049
|
-
const t = n, r =
|
|
96050
|
-
var
|
|
96049
|
+
const t = n, r = mr(), o = mr(), i = mr(null), l = (v) => {
|
|
96050
|
+
var A;
|
|
96051
96051
|
if (!r.value) return;
|
|
96052
|
-
const
|
|
96053
|
-
let
|
|
96054
|
-
|
|
96055
|
-
const
|
|
96052
|
+
const y = v || t.chartData;
|
|
96053
|
+
let b = S_e(r.value);
|
|
96054
|
+
b || (b = Ire(r.value)), o.value = b;
|
|
96055
|
+
const w = {
|
|
96056
96056
|
grid: {
|
|
96057
96057
|
left: 20,
|
|
96058
96058
|
right: 20,
|
|
@@ -96062,7 +96062,7 @@ const JW = [
|
|
|
96062
96062
|
},
|
|
96063
96063
|
xAxis: {
|
|
96064
96064
|
type: "category",
|
|
96065
|
-
data: (
|
|
96065
|
+
data: (y == null ? void 0 : y.xAxis) || [],
|
|
96066
96066
|
axisLabel: {
|
|
96067
96067
|
color: "#fff",
|
|
96068
96068
|
fontWeight: "bold"
|
|
@@ -96085,9 +96085,9 @@ const JW = [
|
|
|
96085
96085
|
axisLine: { show: !1 },
|
|
96086
96086
|
axisTick: { show: !1 }
|
|
96087
96087
|
},
|
|
96088
|
-
series: (
|
|
96089
|
-
name:
|
|
96090
|
-
data:
|
|
96088
|
+
series: (A = y == null ? void 0 : y.series) == null ? void 0 : A.map((T) => ({
|
|
96089
|
+
name: T.name,
|
|
96090
|
+
data: T.data,
|
|
96091
96091
|
type: "bar",
|
|
96092
96092
|
barWidth: 24,
|
|
96093
96093
|
itemStyle: {
|
|
@@ -96108,33 +96108,34 @@ const JW = [
|
|
|
96108
96108
|
},
|
|
96109
96109
|
animation: !0,
|
|
96110
96110
|
tooltip: {
|
|
96111
|
-
|
|
96112
|
-
axisPointer: { type: "shadow" }
|
|
96111
|
+
show: !1
|
|
96113
96112
|
}
|
|
96114
96113
|
};
|
|
96115
|
-
|
|
96116
|
-
},
|
|
96117
|
-
Ws(() => t.chartData, (
|
|
96118
|
-
|
|
96119
|
-
|
|
96114
|
+
b.setOption(w);
|
|
96115
|
+
}, c = lr(() => t.items.filter((y) => y.sort >= 0).sort((y, b) => y.sort - b.sort)), d = lr(() => c.value.length ? c.value[0] : {}), h = lr(() => c.value.length ? c.value.slice(1, t.limit) : []);
|
|
96116
|
+
Ws(() => t.chartData, (v) => {
|
|
96117
|
+
v && t.autoRenderChart && hu(() => {
|
|
96118
|
+
l(v);
|
|
96120
96119
|
});
|
|
96121
96120
|
}, { immediate: !0, deep: !0 });
|
|
96122
|
-
const
|
|
96123
|
-
|
|
96124
|
-
|
|
96121
|
+
const p = () => {
|
|
96122
|
+
i.value && clearTimeout(i.value), i.value = setTimeout(() => {
|
|
96123
|
+
var v;
|
|
96124
|
+
(v = o.value) == null || v.resize();
|
|
96125
|
+
}, 300);
|
|
96125
96126
|
};
|
|
96126
96127
|
return p_(() => {
|
|
96127
96128
|
hu(() => {
|
|
96128
|
-
window.addEventListener("resize",
|
|
96129
|
+
window.addEventListener("resize", p);
|
|
96129
96130
|
});
|
|
96130
96131
|
}), Kve(() => {
|
|
96131
|
-
var
|
|
96132
|
-
window.removeEventListener("resize",
|
|
96132
|
+
var v;
|
|
96133
|
+
window.removeEventListener("resize", p), (v = o.value) == null || v.dispose();
|
|
96133
96134
|
}), e({
|
|
96134
|
-
renderChart:
|
|
96135
|
+
renderChart: l,
|
|
96135
96136
|
chartInstance: o
|
|
96136
|
-
}), (
|
|
96137
|
-
const
|
|
96137
|
+
}), (v, y) => {
|
|
96138
|
+
const b = fn("el-text"), w = fn("el-divider");
|
|
96138
96139
|
return sn(), Mr("div", {
|
|
96139
96140
|
class: "statistic-card",
|
|
96140
96141
|
style: $m({ height: String(n.height).endsWith("%") ? String(n.height) : `${String(n.height)}px` })
|
|
@@ -96143,7 +96144,7 @@ const JW = [
|
|
|
96143
96144
|
class: "chart-container",
|
|
96144
96145
|
style: $m(n.chartStyle)
|
|
96145
96146
|
}, [
|
|
96146
|
-
Hl(
|
|
96147
|
+
Hl(v.$slots, "chart", {}, () => [
|
|
96147
96148
|
Yn("div", {
|
|
96148
96149
|
ref_key: "chartRef",
|
|
96149
96150
|
ref: r,
|
|
@@ -96151,45 +96152,45 @@ const JW = [
|
|
|
96151
96152
|
}, null, 512)
|
|
96152
96153
|
])
|
|
96153
96154
|
], 4),
|
|
96154
|
-
|
|
96155
|
-
Yn("div", Urt, _a(
|
|
96155
|
+
d.value.title ? (sn(), Mr("div", $rt, [
|
|
96156
|
+
Yn("div", Urt, _a(d.value.title), 1),
|
|
96156
96157
|
Yn("div", Wrt, [
|
|
96157
|
-
St(
|
|
96158
|
+
St(b, { class: "desc" }, {
|
|
96158
96159
|
default: rn(() => [
|
|
96159
|
-
Vc(_a(
|
|
96160
|
+
Vc(_a(d.value.desc), 1)
|
|
96160
96161
|
]),
|
|
96161
96162
|
_: 1
|
|
96162
96163
|
}),
|
|
96163
|
-
St(
|
|
96164
|
+
St(b, {
|
|
96164
96165
|
class: "label",
|
|
96165
|
-
type: !
|
|
96166
|
+
type: !d.value.type || d.value.type === "default" ? void 0 : d.value.type
|
|
96166
96167
|
}, {
|
|
96167
96168
|
default: rn(() => [
|
|
96168
|
-
Vc(_a(`${
|
|
96169
|
+
Vc(_a(`${d.value.type === "danger" ? "-" : ""}${d.value.label}`), 1)
|
|
96169
96170
|
]),
|
|
96170
96171
|
_: 1
|
|
96171
96172
|
}, 8, ["type"])
|
|
96172
96173
|
])
|
|
96173
96174
|
])) : al("", !0),
|
|
96174
|
-
|
|
96175
|
-
St(
|
|
96175
|
+
h.value.length ? (sn(), Mr(Ii, { key: 1 }, [
|
|
96176
|
+
St(w, { class: "hr" }),
|
|
96176
96177
|
Yn("div", Grt, [
|
|
96177
|
-
(sn(!0), Mr(Ii, null, Um(
|
|
96178
|
+
(sn(!0), Mr(Ii, null, Um(h.value, (A) => (sn(), Mr("div", {
|
|
96178
96179
|
class: "footer-item",
|
|
96179
|
-
key:
|
|
96180
|
+
key: A.title
|
|
96180
96181
|
}, [
|
|
96181
|
-
St(
|
|
96182
|
+
St(b, {
|
|
96182
96183
|
class: "label",
|
|
96183
|
-
type: !
|
|
96184
|
+
type: !A.type || A.type === "default" ? void 0 : A.type
|
|
96184
96185
|
}, {
|
|
96185
96186
|
default: rn(() => [
|
|
96186
|
-
Vc(_a(`${
|
|
96187
|
+
Vc(_a(`${A.type === "danger" ? "-" : ""}${A.label}`), 1)
|
|
96187
96188
|
]),
|
|
96188
96189
|
_: 2
|
|
96189
96190
|
}, 1032, ["type"]),
|
|
96190
|
-
St(
|
|
96191
|
+
St(b, { class: "desc" }, {
|
|
96191
96192
|
default: rn(() => [
|
|
96192
|
-
Vc(_a(
|
|
96193
|
+
Vc(_a(A.desc), 1)
|
|
96193
96194
|
]),
|
|
96194
96195
|
_: 2
|
|
96195
96196
|
}, 1024)
|
|
@@ -96211,7 +96212,7 @@ const JW = [
|
|
|
96211
96212
|
breadcrumbIcon: c,
|
|
96212
96213
|
tabs: d,
|
|
96213
96214
|
tabsIcon: h
|
|
96214
|
-
} = kQ(t), p = [us().defaultAppConfig.DEFAULT_PRIMARY, "#daa96e", "#0c819f", "#409eff", "#27ae60", "#ff5c93", "#e74c3c", "#fd726d", "#f39c12", "#9b59b6"], v =
|
|
96215
|
+
} = kQ(t), p = [us().defaultAppConfig.DEFAULT_PRIMARY, "#daa96e", "#0c819f", "#409eff", "#27ae60", "#ff5c93", "#e74c3c", "#fd726d", "#f39c12", "#9b59b6"], v = mr(!1);
|
|
96215
96216
|
return S1e.on("openThemeDrawer", () => v.value = !0), (y, b) => {
|
|
96216
96217
|
const w = fn("el-icon"), A = fn("el-divider"), T = fn("el-color-picker"), k = fn("el-switch"), N = fn("el-drawer");
|
|
96217
96218
|
return sn(), Wr(N, {
|
|
@@ -96334,7 +96335,7 @@ function aot(n, e) {
|
|
|
96334
96335
|
const iot = /* @__PURE__ */ pg(oot, [["render", aot], ["__scopeId", "data-v-ed664ba2"]]), sot = { class: "tabs-box" }, lot = { class: "tabs-menu" }, cot = /* @__PURE__ */ xr({
|
|
96335
96336
|
__name: "index",
|
|
96336
96337
|
setup(n) {
|
|
96337
|
-
const e = iG(), t = FP(), r = QM(), o = xD(), i = N0(), l =
|
|
96338
|
+
const e = iG(), t = FP(), r = QM(), o = xD(), i = N0(), l = mr(e.fullPath), c = lr(() => r.tabsMenuList), d = lr(() => i.tabsIcon);
|
|
96338
96339
|
p_(() => {
|
|
96339
96340
|
p(), h();
|
|
96340
96341
|
}), Ws(
|
|
@@ -96414,7 +96415,7 @@ const iot = /* @__PURE__ */ pg(oot, [["render", aot], ["__scopeId", "data-v-ed66
|
|
|
96414
96415
|
}), uot = /* @__PURE__ */ pg(cot, [["__scopeId", "data-v-d7a7b811"]]), fot = /* @__PURE__ */ xr({
|
|
96415
96416
|
__name: "index",
|
|
96416
96417
|
setup(n) {
|
|
96417
|
-
const e = N0(), { maximize: t, isCollapse: r, layout: o, tabs: i } = kQ(e), l = LM(), { keepAliveName: c } = kQ(l), d =
|
|
96418
|
+
const e = N0(), { maximize: t, isCollapse: r, layout: o, tabs: i } = kQ(e), l = LM(), { keepAliveName: c } = kQ(l), d = mr(!0);
|
|
96418
96419
|
HM("refresh", (w) => d.value = w);
|
|
96419
96420
|
const p = /* @__PURE__ */ new Map();
|
|
96420
96421
|
function v(w, A) {
|
|
@@ -96437,7 +96438,7 @@ const iot = /* @__PURE__ */ pg(oot, [["render", aot], ["__scopeId", "data-v-ed66
|
|
|
96437
96438
|
},
|
|
96438
96439
|
{ immediate: !0 }
|
|
96439
96440
|
);
|
|
96440
|
-
const y =
|
|
96441
|
+
const y = mr(0), b = cwe(() => {
|
|
96441
96442
|
y.value = document.body.clientWidth, !r.value && y.value < 1200 && e.setGlobalState("isCollapse", !0), r.value && y.value > 1200 && e.setGlobalState("isCollapse", !1);
|
|
96442
96443
|
}, 100);
|
|
96443
96444
|
return window.addEventListener("resize", b, !1), rG(() => {
|
|
@@ -96582,7 +96583,7 @@ const iot = /* @__PURE__ */ pg(oot, [["render", aot], ["__scopeId", "data-v-ed66
|
|
|
96582
96583
|
const { requesting: t } = WP(eG), r = h_({
|
|
96583
96584
|
proto: "proto",
|
|
96584
96585
|
message: ""
|
|
96585
|
-
}), o =
|
|
96586
|
+
}), o = mr(), i = mr(""), l = {
|
|
96586
96587
|
name: { required: !0, message: "Message is required !", trigger: "blur" }
|
|
96587
96588
|
};
|
|
96588
96589
|
function c() {
|
|
@@ -96698,7 +96699,7 @@ const iot = /* @__PURE__ */ pg(oot, [["render", aot], ["__scopeId", "data-v-ed66
|
|
|
96698
96699
|
}), Cot = { class: "code-tool" }, Sot = /* @__PURE__ */ xr({
|
|
96699
96700
|
__name: "Tools",
|
|
96700
96701
|
setup(n) {
|
|
96701
|
-
const e =
|
|
96702
|
+
const e = mr("typescipt"), t = mr(!1), r = mr(), o = () => {
|
|
96702
96703
|
t.value = !0, hu(() => {
|
|
96703
96704
|
r.value.init();
|
|
96704
96705
|
});
|
|
@@ -96797,9 +96798,9 @@ const iot = /* @__PURE__ */ pg(oot, [["render", aot], ["__scopeId", "data-v-ed66
|
|
|
96797
96798
|
}), Eot = { class: "search-menu" }, Aot = ["onMouseenter"], Tot = { class: "menu-lf" }, Dot = { class: "menu-title" }, kot = /* @__PURE__ */ xr({
|
|
96798
96799
|
__name: "SearchMenu",
|
|
96799
96800
|
setup(n) {
|
|
96800
|
-
const e = FP(), t = xD(), r = lr(() => t.flatMenuListGet.filter((k) => !k.meta.hide)), o =
|
|
96801
|
+
const e = FP(), t = xD(), r = lr(() => t.flatMenuListGet.filter((k) => !k.meta.hide)), o = mr(""), i = (k) => {
|
|
96801
96802
|
o.value = k.url;
|
|
96802
|
-
}, l =
|
|
96803
|
+
}, l = mr(null), c = mr(!1), d = mr("");
|
|
96803
96804
|
Ws(c, (k) => {
|
|
96804
96805
|
k ? document.addEventListener("keydown", A) : document.removeEventListener("keydown", A);
|
|
96805
96806
|
});
|
|
@@ -96810,14 +96811,14 @@ const iot = /* @__PURE__ */ pg(oot, [["render", aot], ["__scopeId", "data-v-ed66
|
|
|
96810
96811
|
(k = l.value) == null || k.focus();
|
|
96811
96812
|
});
|
|
96812
96813
|
});
|
|
96813
|
-
}, p =
|
|
96814
|
+
}, p = mr([]), y = cwe(() => {
|
|
96814
96815
|
p.value = d.value ? r.value.filter((k) => {
|
|
96815
96816
|
var N;
|
|
96816
96817
|
return (k.url.toLowerCase().includes(d.value.toLowerCase()) || k.meta.title.toLowerCase().includes(d.value.toLowerCase())) && !((N = k.meta) != null && N.hide);
|
|
96817
96818
|
}) : [], o.value = p.value.length ? p.value[0].url : "";
|
|
96818
96819
|
}, 300);
|
|
96819
96820
|
Ws(d, y);
|
|
96820
|
-
const b =
|
|
96821
|
+
const b = mr(null), w = (k) => {
|
|
96821
96822
|
const N = p.value.length;
|
|
96822
96823
|
if (N === 0) return;
|
|
96823
96824
|
const I = (p.value.findIndex((G) => G.path === o.value) + k + N) % N;
|
|
@@ -96914,7 +96915,7 @@ const iot = /* @__PURE__ */ pg(oot, [["render", aot], ["__scopeId", "data-v-ed66
|
|
|
96914
96915
|
}), Oot = ["src"], Not = { class: "footer" }, Iot = /* @__PURE__ */ xr({
|
|
96915
96916
|
__name: "Avatar",
|
|
96916
96917
|
setup(n) {
|
|
96917
|
-
const e = FP(), { defaultAuthApi: t } = us(), { executing: r } = WP([], void 0, [t.SCOPES, t.LOGOUT]), o =
|
|
96918
|
+
const e = FP(), { defaultAuthApi: t } = us(), { executing: r } = WP([], void 0, [t.SCOPES, t.LOGOUT]), o = mr(!1), i = g_(), l = Dne().app.default_avatar, c = () => {
|
|
96918
96919
|
jve.confirm("您是否确认退出登录?", "温馨提示", {
|
|
96919
96920
|
confirmButtonText: "确定",
|
|
96920
96921
|
cancelButtonText: "取消",
|