golden-logic-ui 1.0.324 → 1.0.325
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/golden-logic-ui.js +198 -197
- package/dist/golden-logic-ui.umd.cjs +14 -14
- package/package.json +1 -1
package/dist/golden-logic-ui.js
CHANGED
|
@@ -522,9 +522,9 @@ const Dae = /* @__PURE__ */ Jr(kK, [["render", DK]]), OK = { class: "bg-white bo
|
|
|
522
522
|
Ue.key === "Enter" && Ue.target.form && Ue.preventDefault();
|
|
523
523
|
}));
|
|
524
524
|
});
|
|
525
|
-
const
|
|
525
|
+
const xn = vc(() => Bn()), Gn = vc(() => Ge()), Ro = vc(() => {
|
|
526
526
|
const Ue = [], A = new RegExp(lt.value, "ig");
|
|
527
|
-
for (const Vt of
|
|
527
|
+
for (const Vt of xn.value) {
|
|
528
528
|
const et = String(Vt.name);
|
|
529
529
|
(lt.value.length < 1 || et.match(A)) && Ue.length < se.maxItem && Ue.push(Vt);
|
|
530
530
|
}
|
|
@@ -591,21 +591,21 @@ const Dae = /* @__PURE__ */ Jr(kK, [["render", DK]]), OK = { class: "bg-white bo
|
|
|
591
591
|
}
|
|
592
592
|
function Ge() {
|
|
593
593
|
if (Pt(G.value))
|
|
594
|
-
return pr(G.value) ?
|
|
594
|
+
return pr(G.value) ? xn.value.filter(
|
|
595
595
|
(Ue) => G.value.some(
|
|
596
596
|
(A) => String(A.id) === String(Ue.id)
|
|
597
597
|
)
|
|
598
|
-
) || [] :
|
|
598
|
+
) || [] : xn.value.filter(
|
|
599
599
|
(Ue) => G.value.some(
|
|
600
600
|
(A) => String(A) === String(Ue.id)
|
|
601
601
|
)
|
|
602
602
|
) || [];
|
|
603
603
|
if (se.modelValue)
|
|
604
|
-
return pr(se.modelValue) ? G.value =
|
|
604
|
+
return pr(se.modelValue) ? G.value = xn.value.filter(
|
|
605
605
|
(Ue) => se.modelValue.some(
|
|
606
606
|
(A) => String(A.id) === String(Ue.id)
|
|
607
607
|
)
|
|
608
|
-
) || [] : G.value =
|
|
608
|
+
) || [] : G.value = xn.value.filter(
|
|
609
609
|
(Ue) => se.modelValue.some(
|
|
610
610
|
(A) => String(A) === String(Ue.id)
|
|
611
611
|
)
|
|
@@ -1553,7 +1553,7 @@ const $ae = /* @__PURE__ */ Jr(YK, [["render", JK]]), QK = { class: "font-bold p
|
|
|
1553
1553
|
"gl-input-form-invalid": R.error_message !== "" || ge.value !== ""
|
|
1554
1554
|
}),
|
|
1555
1555
|
type: "date",
|
|
1556
|
-
"onUpdate:modelValue": $t[0] || ($t[0] = (
|
|
1556
|
+
"onUpdate:modelValue": $t[0] || ($t[0] = (xn) => Ae.value = xn),
|
|
1557
1557
|
placeholder: R.placeholder
|
|
1558
1558
|
}, null, 10, XY), [
|
|
1559
1559
|
[vm, Ae.value]
|
|
@@ -1568,7 +1568,7 @@ const $ae = /* @__PURE__ */ Jr(YK, [["render", JK]]), QK = { class: "font-bold p
|
|
|
1568
1568
|
"gl-input-form-invalid": R.error_message !== "" || ge.value !== ""
|
|
1569
1569
|
}),
|
|
1570
1570
|
type: "date",
|
|
1571
|
-
"onUpdate:modelValue": $t[1] || ($t[1] = (
|
|
1571
|
+
"onUpdate:modelValue": $t[1] || ($t[1] = (xn) => Q.value = xn),
|
|
1572
1572
|
placeholder: R.placeholder
|
|
1573
1573
|
}, null, 10, QY), [
|
|
1574
1574
|
[vm, Q.value]
|
|
@@ -1791,8 +1791,8 @@ const Vae = /* @__PURE__ */ Jr(bX, [["render", yX]]), wX = {
|
|
|
1791
1791
|
const se = (ge) => {
|
|
1792
1792
|
de.style.cursor = "grabbing";
|
|
1793
1793
|
const G = (Q) => {
|
|
1794
|
-
const Pe = Q.clientX || Q.touches && Q.touches[0] && Q.touches[0].clientX, lt = Q.clientY || Q.touches && Q.touches[0] && Q.touches[0].clientY, $t = Pe - R.initialX,
|
|
1795
|
-
Math.abs($t) > Math.abs(
|
|
1794
|
+
const Pe = Q.clientX || Q.touches && Q.touches[0] && Q.touches[0].clientX, lt = Q.clientY || Q.touches && Q.touches[0] && Q.touches[0].clientY, $t = Pe - R.initialX, xn = lt - R.initialY;
|
|
1795
|
+
Math.abs($t) > Math.abs(xn) ? (Q.preventDefault(), Math.abs($t) >= 70 && ($t < 0 ? R.next() : R.prev(), R.initialX = Pe)) : de.style.cursor = "grab", Math.abs(xn) > Math.abs($t) && (de.style.cursor = "grab");
|
|
1796
1796
|
}, Ae = () => {
|
|
1797
1797
|
document.removeEventListener("mousemove", G), document.removeEventListener("touchmove", G), document.removeEventListener("mouseup", Ae), document.removeEventListener("touchend", Ae), de.style.cursor = "grab";
|
|
1798
1798
|
};
|
|
@@ -2537,7 +2537,7 @@ const zae = /* @__PURE__ */ Jr(wX, [["render", _J], ["__scopeId", "data-v-a94f16
|
|
|
2537
2537
|
},
|
|
2538
2538
|
emits: ["update:modelValue", "selected", "selectionChanged"],
|
|
2539
2539
|
setup(R, { emit: de }) {
|
|
2540
|
-
const se = R, Ee = de, ge = Vo(null), G = Vo({}), Ae = Vo(0), Q = Vo(!1), Pe = Vo(""), lt = Vo(""), $t = Vo(0),
|
|
2540
|
+
const se = R, Ee = de, ge = Vo(null), G = Vo({}), Ae = Vo(0), Q = Vo(!1), Pe = Vo(""), lt = Vo(""), $t = Vo(0), xn = () => {
|
|
2541
2541
|
const Wt = `myDivDropDown${lt.value}`, mn = document.getElementById(Wt);
|
|
2542
2542
|
if (mn) {
|
|
2543
2543
|
console.log("divDropDownWidthelement", mn), $t.value = mn.offsetWidth, console.log("divDropDownWidth", mn.offsetWidth);
|
|
@@ -2545,11 +2545,11 @@ const zae = /* @__PURE__ */ Jr(wX, [["render", _J], ["__scopeId", "data-v-a94f16
|
|
|
2545
2545
|
console.log("divWidthRect", Ue);
|
|
2546
2546
|
}
|
|
2547
2547
|
}, Gn = () => {
|
|
2548
|
-
|
|
2548
|
+
xn();
|
|
2549
2549
|
};
|
|
2550
2550
|
Oh(() => {
|
|
2551
2551
|
lt.value = pr(), window.addEventListener("resize", Gn), U8(() => {
|
|
2552
|
-
|
|
2552
|
+
xn();
|
|
2553
2553
|
}), se.show || (document.body.addEventListener("click", (Wt) => {
|
|
2554
2554
|
me(Wt);
|
|
2555
2555
|
}), document.addEventListener("keypress", (Wt) => {
|
|
@@ -2607,7 +2607,7 @@ const zae = /* @__PURE__ */ Jr(wX, [["render", _J], ["__scopeId", "data-v-a94f16
|
|
|
2607
2607
|
Wt === "ArrowDown" && Ae.value < Io.value.length && (Ae.value++, _t(Ae.value)), Wt === "ArrowUp" && Ae.value > 1 && (Ae.value--, _t(Ae.value)), Wt === "Enter" && Ea(Ae.value);
|
|
2608
2608
|
}
|
|
2609
2609
|
function oe() {
|
|
2610
|
-
return
|
|
2610
|
+
return xn(), se.options.map((Wt, mn) => typeof Wt == "object" ? Wt : { id: Wt, name: Wt });
|
|
2611
2611
|
}
|
|
2612
2612
|
function Nn() {
|
|
2613
2613
|
if (un(G.value))
|
|
@@ -2633,6 +2633,7 @@ const zae = /* @__PURE__ */ Jr(wX, [["render", _J], ["__scopeId", "data-v-a94f16
|
|
|
2633
2633
|
return;
|
|
2634
2634
|
}
|
|
2635
2635
|
Pe.value = "", Q.value = !0, U8(() => {
|
|
2636
|
+
xn();
|
|
2636
2637
|
var Wt = document.getElementById(
|
|
2637
2638
|
`${se.field_name}search${lt.value}`
|
|
2638
2639
|
);
|
|
@@ -2915,11 +2916,11 @@ var oq = { exports: {} };
|
|
|
2915
2916
|
}
|
|
2916
2917
|
return !0;
|
|
2917
2918
|
});
|
|
2918
|
-
},
|
|
2919
|
+
}, xn = G(function(e, n) {
|
|
2919
2920
|
if (e === n)
|
|
2920
2921
|
return !0;
|
|
2921
2922
|
var o = de(e), r = de(n);
|
|
2922
|
-
return o !== r ? !1 : se(o) ? e === n : o === "array" ? Pe(
|
|
2923
|
+
return o !== r ? !1 : se(o) ? e === n : o === "array" ? Pe(xn).eq(e, n) : o === "object" ? $t(xn).eq(e, n) : !1;
|
|
2923
2924
|
});
|
|
2924
2925
|
const Gn = Object.getPrototypeOf, Ro = (e, n, o) => {
|
|
2925
2926
|
var r;
|
|
@@ -3160,7 +3161,7 @@ var oq = { exports: {} };
|
|
|
3160
3161
|
return bt(e, (r, l) => {
|
|
3161
3162
|
o.push(n(r, l));
|
|
3162
3163
|
}), o;
|
|
3163
|
-
}, bl = (e) => tl(e, Ao), Yo = (e, n) => hn(e, n) ? z.from(e[n]) : z.none(), hn = (e, n) => Gi.call(e, n), Ar = (e, n) => hn(e, n) && e[n] !== void 0 && e[n] !== null, Nl = (e, n, o =
|
|
3164
|
+
}, bl = (e) => tl(e, Ao), Yo = (e, n) => hn(e, n) ? z.from(e[n]) : z.none(), hn = (e, n) => Gi.call(e, n), Ar = (e, n) => hn(e, n) && e[n] !== void 0 && e[n] !== null, Nl = (e, n, o = xn) => $t(o).eq(e, n), Hc = (e) => {
|
|
3164
3165
|
const n = {};
|
|
3165
3166
|
return _e(e, (o) => {
|
|
3166
3167
|
n[o] = {};
|
|
@@ -8939,7 +8940,7 @@ Required: ` + n.join(", "));
|
|
|
8939
8940
|
};
|
|
8940
8941
|
return l.type === 1 && !e.inner ? b(l) : l.type === 3 ? f[3](l) : f[11](l), o.getContent();
|
|
8941
8942
|
} };
|
|
8942
|
-
},
|
|
8943
|
+
}, Cn = /* @__PURE__ */ new Set();
|
|
8943
8944
|
_e([
|
|
8944
8945
|
"margin",
|
|
8945
8946
|
"margin-left",
|
|
@@ -8990,13 +8991,13 @@ Required: ` + n.join(", "));
|
|
|
8990
8991
|
"transition-property",
|
|
8991
8992
|
"transition-timing-function"
|
|
8992
8993
|
], (n) => {
|
|
8993
|
-
|
|
8994
|
+
Cn.add(n);
|
|
8994
8995
|
});
|
|
8995
8996
|
const Z5 = [
|
|
8996
8997
|
"font",
|
|
8997
8998
|
"text-decoration",
|
|
8998
8999
|
"text-emphasis"
|
|
8999
|
-
], x4 = (e, n) => Qo(e.parseStyle(e.getAttrib(n, "style"))), M7 = (e) =>
|
|
9000
|
+
], x4 = (e, n) => Qo(e.parseStyle(e.getAttrib(n, "style"))), M7 = (e) => Cn.has(e), mw = (e, n) => Qs(x4(e, n), (o) => !M7(o)), j5 = (e) => Ft(e, (n) => At(Z5, (o) => ks(n, o))), P7 = (e, n, o) => {
|
|
9000
9001
|
const r = x4(e, n), l = x4(e, o), u = (f) => {
|
|
9001
9002
|
var b, y;
|
|
9002
9003
|
const k = (b = e.getStyle(n, f)) !== null && b !== void 0 ? b : "", M = (y = e.getStyle(o, f)) !== null && y !== void 0 ? y : "";
|
|
@@ -20266,7 +20267,7 @@ tinymce.IconManager.add("default", {
|
|
|
20266
20267
|
}, se = (t) => {
|
|
20267
20268
|
const s = typeof t;
|
|
20268
20269
|
return t === null ? "null" : s === "object" && Array.isArray(t) ? "array" : s === "object" && de(t, String, (a, c) => c.isPrototypeOf(a)) ? "string" : s;
|
|
20269
|
-
}, Ee = (t) => (s) => se(s) === t, ge = (t) => (s) => typeof s === t, G = (t) => (s) => t === s, Ae = (t, s) => Pe(t) && de(t, s, (a, c) => R(a) === c), Q = Ee("string"), Pe = Ee("object"), lt = (t) => Ae(t, Object), $t = Ee("array"),
|
|
20270
|
+
}, Ee = (t) => (s) => se(s) === t, ge = (t) => (s) => typeof s === t, G = (t) => (s) => t === s, Ae = (t, s) => Pe(t) && de(t, s, (a, c) => R(a) === c), Q = Ee("string"), Pe = Ee("object"), lt = (t) => Ae(t, Object), $t = Ee("array"), xn = G(null), Gn = ge("boolean"), Ro = G(void 0), Gs = (t) => t == null, Io = (t) => !Gs(t), Pt = ge("function"), pr = ge("number"), un = (t, s) => {
|
|
20270
20271
|
if ($t(t)) {
|
|
20271
20272
|
for (let a = 0, c = t.length; a < c; ++a)
|
|
20272
20273
|
if (!s(t[a]))
|
|
@@ -24493,7 +24494,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
24493
24494
|
Re("stopMousedown", !1),
|
|
24494
24495
|
Re("ignore", !1)
|
|
24495
24496
|
];
|
|
24496
|
-
const
|
|
24497
|
+
const Cn = Ca({
|
|
24497
24498
|
fields: Zp,
|
|
24498
24499
|
name: "focusing",
|
|
24499
24500
|
active: W5,
|
|
@@ -24594,7 +24595,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
24594
24595
|
ph()
|
|
24595
24596
|
]));
|
|
24596
24597
|
}, Y5 = "alloy.item-hover", X5 = "alloy.item-focus", S4 = "alloy.item-toggled", tg = (t) => {
|
|
24597
|
-
(Mu(t.element).isNone() ||
|
|
24598
|
+
(Mu(t.element).isNone() || Cn.isFocused(t)) && (Cn.isFocused(t) || Cn.focus(t), ln(t, Y5, { item: t }));
|
|
24598
24599
|
}, IS = (t) => {
|
|
24599
24600
|
ln(t, X5, { item: t });
|
|
24600
24601
|
}, F7 = (t, s) => {
|
|
@@ -24621,7 +24622,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
24621
24622
|
},
|
|
24622
24623
|
behaviours: du.augment(t.itemBehaviours, [
|
|
24623
24624
|
t.toggling.fold(Kn.revoke, (s) => Kn.config(eR(s))),
|
|
24624
|
-
|
|
24625
|
+
Cn.config({
|
|
24625
24626
|
ignore: t.ignoreFocus,
|
|
24626
24627
|
stopMousedown: t.ignoreFocus,
|
|
24627
24628
|
onFocus: (s) => {
|
|
@@ -24638,7 +24639,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
24638
24639
|
zn("item-type-events", [
|
|
24639
24640
|
...ph(),
|
|
24640
24641
|
Je(od(), tg),
|
|
24641
|
-
Je(gr(),
|
|
24642
|
+
Je(gr(), Cn.focus)
|
|
24642
24643
|
])
|
|
24643
24644
|
]),
|
|
24644
24645
|
components: t.components,
|
|
@@ -24651,7 +24652,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
24651
24652
|
Ho("toggling"),
|
|
24652
24653
|
du.field("itemBehaviours", [
|
|
24653
24654
|
Kn,
|
|
24654
|
-
|
|
24655
|
+
Cn,
|
|
24655
24656
|
cn,
|
|
24656
24657
|
Lt
|
|
24657
24658
|
]),
|
|
@@ -24692,7 +24693,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
24692
24693
|
}),
|
|
24693
24694
|
Je(od(), tg),
|
|
24694
24695
|
Je(gr(), (g, p) => {
|
|
24695
|
-
t.autofocus ? c(g) :
|
|
24696
|
+
t.autofocus ? c(g) : Cn.focus(g);
|
|
24696
24697
|
})
|
|
24697
24698
|
]),
|
|
24698
24699
|
behaviours: du.augment(t.widgetBehaviours, [
|
|
@@ -24702,7 +24703,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
24702
24703
|
initialValue: t.data
|
|
24703
24704
|
}
|
|
24704
24705
|
}),
|
|
24705
|
-
|
|
24706
|
+
Cn.config({
|
|
24706
24707
|
ignore: t.ignoreFocus,
|
|
24707
24708
|
onFocus: (g) => {
|
|
24708
24709
|
IS(g);
|
|
@@ -24715,7 +24716,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
24715
24716
|
} : c2(),
|
|
24716
24717
|
onLeft: d,
|
|
24717
24718
|
onRight: d,
|
|
24718
|
-
onEscape: (g, p) => !
|
|
24719
|
+
onEscape: (g, p) => !Cn.isFocused(g) && !t.autofocus ? (Cn.focus(g), A.some(!0)) : (t.autofocus && p.setSource(g.element), A.none())
|
|
24719
24720
|
})
|
|
24720
24721
|
])
|
|
24721
24722
|
};
|
|
@@ -24728,7 +24729,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
24728
24729
|
Re("ignoreFocus", !1),
|
|
24729
24730
|
du.field("widgetBehaviours", [
|
|
24730
24731
|
Lt,
|
|
24731
|
-
|
|
24732
|
+
Cn,
|
|
24732
24733
|
cn
|
|
24733
24734
|
]),
|
|
24734
24735
|
Re("domModification", {}),
|
|
@@ -24903,7 +24904,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
24903
24904
|
})))), N = (Xe, je) => {
|
|
24904
24905
|
const vt = eo(we(Xe).toArray(), (Tt) => ce(Tt).isSome());
|
|
24905
24906
|
return bt(a.get(), Xe).bind((Tt) => {
|
|
24906
|
-
const Un = Go(vt.concat(Tt)), Ut = _e(Un, (An,
|
|
24907
|
+
const Un = Go(vt.concat(Tt)), Ut = _e(Un, (An, Sn) => O(An, je, Un.slice(0, Sn + 1)).fold(() => Aa(c.get(), An) ? [] : [A.none()], (Ko) => [A.some(Ko)]));
|
|
24907
24908
|
return es(Ut);
|
|
24908
24909
|
});
|
|
24909
24910
|
}, H = (Xe) => bt(t.get(), Xe).map((je) => {
|
|
@@ -25068,13 +25069,13 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
25068
25069
|
Ut(Et).each((Xt) => {
|
|
25069
25070
|
Oe(Et, Xt);
|
|
25070
25071
|
});
|
|
25071
|
-
},
|
|
25072
|
+
}, Sn = (Et) => {
|
|
25072
25073
|
d.getPrimary().each((Xt) => {
|
|
25073
25074
|
O(Et, Xt);
|
|
25074
25075
|
});
|
|
25075
25076
|
}, Ko = (Et) => A.from(Et.components()[0]).filter((Xt) => Ws(Xt.element, "role") === "menu"), ko = {
|
|
25076
25077
|
collapseMenu: An,
|
|
25077
|
-
highlightPrimary:
|
|
25078
|
+
highlightPrimary: Sn,
|
|
25078
25079
|
repositionMenus: (Et) => {
|
|
25079
25080
|
d.getPrimary().bind((Dn) => Ut(Et).bind((Mn) => {
|
|
25080
25081
|
const vn = p(Mn), Fn = Gi(d.getMenus()), _s = Da(tt(Fn, iR.extractPreparedMenu));
|
|
@@ -25368,7 +25369,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
25368
25369
|
components: t.components,
|
|
25369
25370
|
events: s,
|
|
25370
25371
|
behaviours: du.augment(t.buttonBehaviours, [
|
|
25371
|
-
|
|
25372
|
+
Cn.config({}),
|
|
25372
25373
|
cn.config({
|
|
25373
25374
|
mode: "execution",
|
|
25374
25375
|
useSpace: !0,
|
|
@@ -25384,7 +25385,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
25384
25385
|
nt("dom"),
|
|
25385
25386
|
Re("components", []),
|
|
25386
25387
|
du.field("buttonBehaviours", [
|
|
25387
|
-
|
|
25388
|
+
Cn,
|
|
25388
25389
|
cn
|
|
25389
25390
|
]),
|
|
25390
25391
|
Ho("action"),
|
|
@@ -26137,7 +26138,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
26137
26138
|
const { implementation: Xe, createNodeIterator: je, createDocumentFragment: vt, getElementsByTagName: Tt } = d, { importNode: Un } = a;
|
|
26138
26139
|
let Ut = {};
|
|
26139
26140
|
s.isSupported = typeof E4 == "function" && typeof pe == "function" && Xe && Xe.createHTMLDocument !== void 0;
|
|
26140
|
-
const { MUSTACHE_EXPR: An, ERB_EXPR:
|
|
26141
|
+
const { MUSTACHE_EXPR: An, ERB_EXPR: Sn, TMPLIT_EXPR: Ko, DATA_ATTR: pn, ARIA_ATTR: ko, IS_SCRIPT_OR_DATA: Et, ATTR_WHITESPACE: Xt } = WS;
|
|
26141
26142
|
let { IS_ALLOWED_URI: Dn } = WS, Mn = null;
|
|
26142
26143
|
const vn = Co({}, [
|
|
26143
26144
|
...O4,
|
|
@@ -26374,7 +26375,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
26374
26375
|
}
|
|
26375
26376
|
return jx(ze), !0;
|
|
26376
26377
|
}
|
|
26377
|
-
return ze instanceof C && !kq(ze) || (Pn === "noscript" || Pn === "noembed" || Pn === "noframes") && pd(/<\/no(script|embed|frames)/i, ze.innerHTML) ? (jx(ze), !0) : (bf && ze.nodeType === 3 && (tn = ze.textContent, tn = rf(tn, An, " "), tn = rf(tn,
|
|
26378
|
+
return ze instanceof C && !kq(ze) || (Pn === "noscript" || Pn === "noembed" || Pn === "noframes") && pd(/<\/no(script|embed|frames)/i, ze.innerHTML) ? (jx(ze), !0) : (bf && ze.nodeType === 3 && (tn = ze.textContent, tn = rf(tn, An, " "), tn = rf(tn, Sn, " "), tn = rf(tn, Ko, " "), ze.textContent !== tn && (pw(s.removed, { element: ze.cloneNode() }), ze.textContent = tn)), lb("afterSanitizeElements", ze, null), !1);
|
|
26378
26379
|
}, jG = function(ze, tn, Pn) {
|
|
26379
26380
|
if (PG && (tn === "id" || tn === "name") && (Pn in d || Pn in Sq))
|
|
26380
26381
|
return !1;
|
|
@@ -26424,7 +26425,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
26424
26425
|
e5(Cg, ze);
|
|
26425
26426
|
continue;
|
|
26426
26427
|
}
|
|
26427
|
-
bf && (Pn = rf(Pn, An, " "), Pn = rf(Pn,
|
|
26428
|
+
bf && (Pn = rf(Pn, An, " "), Pn = rf(Pn, Sn, " "), Pn = rf(Pn, Ko, " "));
|
|
26428
26429
|
const KG = Ui(ze.nodeName);
|
|
26429
26430
|
if (!jG(KG, la, Pn)) {
|
|
26430
26431
|
e5(Cg, ze);
|
|
@@ -26496,7 +26497,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
26496
26497
|
}
|
|
26497
26498
|
let Ml = Dh ? tn.outerHTML : tn.innerHTML;
|
|
26498
26499
|
return Dh && Mn["!doctype"] && tn.ownerDocument && tn.ownerDocument.doctype && tn.ownerDocument.doctype.name && pd(hR, tn.ownerDocument.doctype.name) && (Ml = "<!DOCTYPE " + tn.ownerDocument.doctype.name + `>
|
|
26499
|
-
` + Ml), bf && (Ml = rf(Ml, An, " "), Ml = rf(Ml,
|
|
26500
|
+
` + Ml), bf && (Ml = rf(Ml, An, " "), Ml = rf(Ml, Sn, " "), Ml = rf(Ml, Ko, " ")), Oe && L8 ? Oe.createHTML(Ml) : Ml;
|
|
26500
26501
|
}, s.setConfig = function(mo) {
|
|
26501
26502
|
kj(mo), Wx = !0;
|
|
26502
26503
|
}, s.clearConfig = function() {
|
|
@@ -26679,9 +26680,9 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
26679
26680
|
])
|
|
26680
26681
|
},
|
|
26681
26682
|
behaviours: xt([
|
|
26682
|
-
|
|
26683
|
+
Cn.config({}),
|
|
26683
26684
|
zn("notification-events", [Je(ul(), (W) => {
|
|
26684
|
-
E.getOpt(W).each(
|
|
26685
|
+
E.getOpt(W).each(Cn.focus);
|
|
26685
26686
|
})])
|
|
26686
26687
|
]),
|
|
26687
26688
|
components: H.concat(t.progress ? [d.asSpec()] : []).concat(t.closeButton ? [E.asSpec()] : []),
|
|
@@ -27076,10 +27077,10 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
27076
27077
|
Re("eventOrder", {}),
|
|
27077
27078
|
ra("inputBehaviours", [
|
|
27078
27079
|
Lt,
|
|
27079
|
-
|
|
27080
|
+
Cn
|
|
27080
27081
|
]),
|
|
27081
27082
|
Re("selectOnFocus", !0)
|
|
27082
|
-
]), d3 = (t) => xt([
|
|
27083
|
+
]), d3 = (t) => xt([Cn.config({
|
|
27083
27084
|
onFocus: t.selectOnFocus ? (s) => {
|
|
27084
27085
|
const a = s.element, c = Wd(a);
|
|
27085
27086
|
a.dom.setSelectionRange(0, c.length);
|
|
@@ -28502,7 +28503,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
28502
28503
|
},
|
|
28503
28504
|
behaviours: xt([
|
|
28504
28505
|
zn("insert-table-picker-cell", [
|
|
28505
|
-
Je(od(),
|
|
28506
|
+
Je(od(), Cn.focus),
|
|
28506
28507
|
Je(Qc(), d),
|
|
28507
28508
|
Je(Bm(), g),
|
|
28508
28509
|
Je(rd(), g)
|
|
@@ -28511,7 +28512,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
28511
28512
|
toggleClass: "tox-insert-table-picker__selected",
|
|
28512
28513
|
toggleOnExecute: !1
|
|
28513
28514
|
}),
|
|
28514
|
-
|
|
28515
|
+
Cn.config({ onFocus: c })
|
|
28515
28516
|
])
|
|
28516
28517
|
});
|
|
28517
28518
|
}, D_ = (t, s, a) => {
|
|
@@ -28822,7 +28823,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
28822
28823
|
});
|
|
28823
28824
|
});
|
|
28824
28825
|
},
|
|
28825
|
-
onEscape: () => (
|
|
28826
|
+
onEscape: () => (Cn.focus(c), po.close(d), A.some(!0))
|
|
28826
28827
|
}))));
|
|
28827
28828
|
}, R_ = (t, s, a, c, d, g, p) => {
|
|
28828
28829
|
const w = bM(t, a);
|
|
@@ -28904,7 +28905,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
28904
28905
|
Kn,
|
|
28905
28906
|
Lr,
|
|
28906
28907
|
cn,
|
|
28907
|
-
|
|
28908
|
+
Cn
|
|
28908
28909
|
]),
|
|
28909
28910
|
nt("toggleClass"),
|
|
28910
28911
|
Re("eventOrder", {}),
|
|
@@ -28976,7 +28977,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
28976
28977
|
},
|
|
28977
28978
|
onEscape: (O, N) => wd.isOpen(O) ? (wd.close(O), A.some(!0)) : A.none()
|
|
28978
28979
|
}),
|
|
28979
|
-
|
|
28980
|
+
Cn.config({})
|
|
28980
28981
|
]),
|
|
28981
28982
|
events: of(A.some(w)),
|
|
28982
28983
|
eventOrder: {
|
|
@@ -29038,7 +29039,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
29038
29039
|
}, cF = (t, s, a) => {
|
|
29039
29040
|
Bt(a.element, "aria-selected", "false");
|
|
29040
29041
|
}, iF = (t) => {
|
|
29041
|
-
m3(t).each((s) =>
|
|
29042
|
+
m3(t).each((s) => Cn.focus(s));
|
|
29042
29043
|
}, uF = (t) => Lr.getExistingCoupled(t, "sandbox").bind(r_).map(YR).map((a) => a.fetchPattern).getOr("");
|
|
29043
29044
|
var Ww;
|
|
29044
29045
|
(function(t) {
|
|
@@ -29981,12 +29982,12 @@ The conflicting element is` + (lo(N.element) ? " " : " not ") + "already in the
|
|
|
29981
29982
|
}),
|
|
29982
29983
|
Je(HM, (E, O) => {
|
|
29983
29984
|
Jo.getField(E).each((N) => {
|
|
29984
|
-
Lt.setValue(N, O.event.value), uo.getCurrent(E).each(
|
|
29985
|
+
Lt.setValue(N, O.event.value), uo.getCurrent(E).each(Cn.focus);
|
|
29985
29986
|
});
|
|
29986
29987
|
}),
|
|
29987
29988
|
Je(Xw, (E, O) => {
|
|
29988
29989
|
Jo.getField(E).each((N) => {
|
|
29989
|
-
uo.getCurrent(E).each(
|
|
29990
|
+
uo.getCurrent(E).each(Cn.focus);
|
|
29990
29991
|
});
|
|
29991
29992
|
})
|
|
29992
29993
|
])])
|
|
@@ -30033,7 +30034,7 @@ The conflicting element is` + (lo(N.element) ? " " : " not ") + "already in the
|
|
|
30033
30034
|
onDown: (d, g) => a.onDown(d, t, I_(g))
|
|
30034
30035
|
}),
|
|
30035
30036
|
Xs.config({}),
|
|
30036
|
-
|
|
30037
|
+
Cn.config({})
|
|
30037
30038
|
]),
|
|
30038
30039
|
events: Es([
|
|
30039
30040
|
Je(Jc(), c),
|
|
@@ -30517,7 +30518,7 @@ The conflicting element is` + (lo(N.element) ? " " : " not ") + "already in the
|
|
|
30517
30518
|
a,
|
|
30518
30519
|
c
|
|
30519
30520
|
],
|
|
30520
|
-
sliderBehaviours: xt([
|
|
30521
|
+
sliderBehaviours: xt([Cn.config({})]),
|
|
30521
30522
|
onChange: (d, g, p) => {
|
|
30522
30523
|
Bt(d.element, "aria-valuenow", Math.floor(360 - p * 3.6)), ln(d, NA, { value: p });
|
|
30523
30524
|
}
|
|
@@ -30628,7 +30629,7 @@ The conflicting element is` + (lo(N.element) ? " " : " not ") + "already in the
|
|
|
30628
30629
|
}, p = (H, W) => {
|
|
30629
30630
|
const X = Kv(W);
|
|
30630
30631
|
return ny.getField(H, "hex").each((ce) => {
|
|
30631
|
-
|
|
30632
|
+
Cn.isFocused(ce) || Lt.setValue(H, { hex: X.value });
|
|
30632
30633
|
}), X;
|
|
30633
30634
|
}, w = (H, W) => {
|
|
30634
30635
|
const X = W.red, ce = W.green, $e = W.blue;
|
|
@@ -30656,47 +30657,47 @@ The conflicting element is` + (lo(N.element) ? " " : " not ") + "already in the
|
|
|
30656
30657
|
green: gn(A.some(255)),
|
|
30657
30658
|
blue: gn(A.some(255)),
|
|
30658
30659
|
hex: gn(A.some("ffffff"))
|
|
30659
|
-
}, W = (
|
|
30660
|
+
}, W = (Sn, Ko) => {
|
|
30660
30661
|
const pn = Hw(Ko);
|
|
30661
|
-
w(
|
|
30662
|
-
}, X = (
|
|
30663
|
-
H[
|
|
30664
|
-
}, $e = () => X("red").bind((
|
|
30665
|
-
const Ko =
|
|
30662
|
+
w(Sn, pn), we(pn);
|
|
30663
|
+
}, X = (Sn) => H[Sn].get(), ce = (Sn, Ko) => {
|
|
30664
|
+
H[Sn].set(Ko);
|
|
30665
|
+
}, $e = () => X("red").bind((Sn) => X("green").bind((Ko) => X("blue").map((pn) => Kp(Sn, Ko, pn, 1)))), we = (Sn) => {
|
|
30666
|
+
const Ko = Sn.red, pn = Sn.green, ko = Sn.blue;
|
|
30666
30667
|
ce("red", A.some(Ko)), ce("green", A.some(pn)), ce("blue", A.some(ko));
|
|
30667
|
-
}, pe = (
|
|
30668
|
+
}, pe = (Sn, Ko) => {
|
|
30668
30669
|
const pn = Ko.event;
|
|
30669
|
-
pn.type !== "hex" ? ce(pn.type, A.none()) : c(
|
|
30670
|
-
}, Oe = (
|
|
30671
|
-
a(
|
|
30670
|
+
pn.type !== "hex" ? ce(pn.type, A.none()) : c(Sn);
|
|
30671
|
+
}, Oe = (Sn, Ko) => {
|
|
30672
|
+
a(Sn);
|
|
30672
30673
|
const pn = P$(Ko);
|
|
30673
30674
|
ce("hex", A.some(pn.value));
|
|
30674
30675
|
const ko = Hw(pn);
|
|
30675
|
-
w(
|
|
30676
|
-
}, dt = (
|
|
30676
|
+
w(Sn, ko), we(ko), ln(Sn, tx, { hex: pn }), E(Sn, pn);
|
|
30677
|
+
}, dt = (Sn, Ko, pn) => {
|
|
30677
30678
|
const ko = parseInt(pn, 10);
|
|
30678
30679
|
ce(Ko, A.some(ko)), $e().each((Et) => {
|
|
30679
|
-
const Xt = p(
|
|
30680
|
-
ln(
|
|
30680
|
+
const Xt = p(Sn, Et);
|
|
30681
|
+
ln(Sn, tx, { hex: Xt }), E(Sn, Xt);
|
|
30681
30682
|
});
|
|
30682
|
-
}, Xe = (
|
|
30683
|
+
}, Xe = (Sn) => Sn.type === "hex", je = (Sn, Ko) => {
|
|
30683
30684
|
const pn = Ko.event;
|
|
30684
|
-
Xe(pn) ? Oe(
|
|
30685
|
-
}, vt = (
|
|
30686
|
-
label: t(oy +
|
|
30687
|
-
description: t(oy +
|
|
30685
|
+
Xe(pn) ? Oe(Sn, pn.value) : dt(Sn, pn.type, pn.value);
|
|
30686
|
+
}, vt = (Sn) => ({
|
|
30687
|
+
label: t(oy + Sn + ".label"),
|
|
30688
|
+
description: t(oy + Sn + ".description")
|
|
30688
30689
|
}), Tt = vt("red"), Un = vt("green"), Ut = vt("blue"), An = vt("hex");
|
|
30689
|
-
return Zo(ny.sketch((
|
|
30690
|
+
return Zo(ny.sketch((Sn) => ({
|
|
30690
30691
|
dom: {
|
|
30691
30692
|
tag: "form",
|
|
30692
30693
|
classes: [s("rgb-form")],
|
|
30693
30694
|
attributes: { "aria-label": t("aria.color.picker") }
|
|
30694
30695
|
},
|
|
30695
30696
|
components: [
|
|
30696
|
-
|
|
30697
|
-
|
|
30698
|
-
|
|
30699
|
-
|
|
30697
|
+
Sn.field("red", Jo.sketch(g(I3, "red", Tt.label, Tt.description, 255))),
|
|
30698
|
+
Sn.field("green", Jo.sketch(g(I3, "green", Un.label, Un.description, 255))),
|
|
30699
|
+
Sn.field("blue", Jo.sketch(g(I3, "blue", Ut.label, Ut.description, 255))),
|
|
30700
|
+
Sn.field("hex", Jo.sketch(g(I$, "hex", An.label, An.description, "ffffff"))),
|
|
30700
30701
|
C.asSpec()
|
|
30701
30702
|
],
|
|
30702
30703
|
formBehaviours: xt([
|
|
@@ -30709,8 +30710,8 @@ The conflicting element is` + (lo(N.element) ? " " : " not ") + "already in the
|
|
|
30709
30710
|
])
|
|
30710
30711
|
})), {
|
|
30711
30712
|
apis: {
|
|
30712
|
-
updateHex: (
|
|
30713
|
-
Lt.setValue(
|
|
30713
|
+
updateHex: (Sn, Ko) => {
|
|
30714
|
+
Lt.setValue(Sn, { hex: Ko.value }), W(Sn, Ko), E(Sn, Ko);
|
|
30714
30715
|
}
|
|
30715
30716
|
}
|
|
30716
30717
|
});
|
|
@@ -30776,7 +30777,7 @@ The conflicting element is` + (lo(N.element) ? " " : " not ") + "already in the
|
|
|
30776
30777
|
d($e.element.dom, F3(yd));
|
|
30777
30778
|
}, W = xt([
|
|
30778
30779
|
uo.config({ find: A.some }),
|
|
30779
|
-
|
|
30780
|
+
Cn.config({})
|
|
30780
30781
|
]);
|
|
30781
30782
|
return Rl.sketch({
|
|
30782
30783
|
dom: {
|
|
@@ -30848,8 +30849,8 @@ The conflicting element is` + (lo(N.element) ? " " : " not ") + "already in the
|
|
|
30848
30849
|
}, Oe = () => {
|
|
30849
30850
|
const je = [X];
|
|
30850
30851
|
return (vt, Tt) => {
|
|
30851
|
-
const Un = Tt.event.value, Ut = E.paletteHue.get(), An = zw(Ut, Un.x, 100 - Un.y),
|
|
30852
|
-
pe(vt,
|
|
30852
|
+
const Un = Tt.event.value, Ut = E.paletteHue.get(), An = zw(Ut, Un.x, 100 - Un.y), Sn = J$(An);
|
|
30853
|
+
pe(vt, Sn, Ut, je);
|
|
30853
30854
|
};
|
|
30854
30855
|
}, dt = () => {
|
|
30855
30856
|
const je = [
|
|
@@ -30857,7 +30858,7 @@ The conflicting element is` + (lo(N.element) ? " " : " not ") + "already in the
|
|
|
30857
30858
|
X
|
|
30858
30859
|
];
|
|
30859
30860
|
return (vt, Tt) => {
|
|
30860
|
-
const Un = w(Tt.event.value), Ut = E.paletteRgba.get(), An = S_(Ut),
|
|
30861
|
+
const Un = w(Tt.event.value), Ut = E.paletteRgba.get(), An = S_(Ut), Sn = zw(Un, An.saturation, An.value), Ko = J$(Sn);
|
|
30861
30862
|
pe(vt, Ko, Un, je);
|
|
30862
30863
|
};
|
|
30863
30864
|
}, Xe = () => {
|
|
@@ -31128,10 +31129,10 @@ The conflicting element is` + (lo(N.element) ? " " : " not ") + "already in the
|
|
|
31128
31129
|
let a = null, c = null;
|
|
31129
31130
|
return {
|
|
31130
31131
|
cancel: () => {
|
|
31131
|
-
|
|
31132
|
+
xn(a) || (clearTimeout(a), a = null, c = null);
|
|
31132
31133
|
},
|
|
31133
31134
|
throttle: (...p) => {
|
|
31134
|
-
c = p,
|
|
31135
|
+
c = p, xn(a) && (a = setTimeout(() => {
|
|
31135
31136
|
const w = c;
|
|
31136
31137
|
a = null, c = null, t.apply(null, w);
|
|
31137
31138
|
}, s));
|
|
@@ -31141,10 +31142,10 @@ The conflicting element is` + (lo(N.element) ? " " : " not ") + "already in the
|
|
|
31141
31142
|
let a = null;
|
|
31142
31143
|
return {
|
|
31143
31144
|
cancel: () => {
|
|
31144
|
-
|
|
31145
|
+
xn(a) || (clearTimeout(a), a = null);
|
|
31145
31146
|
},
|
|
31146
31147
|
throttle: (...g) => {
|
|
31147
|
-
|
|
31148
|
+
xn(a) && (a = setTimeout(() => {
|
|
31148
31149
|
a = null, t.apply(null, g);
|
|
31149
31150
|
}, s));
|
|
31150
31151
|
}
|
|
@@ -31152,7 +31153,7 @@ The conflicting element is` + (lo(N.element) ? " " : " not ") + "already in the
|
|
|
31152
31153
|
}, Q_ = (t, s) => {
|
|
31153
31154
|
let a = null;
|
|
31154
31155
|
const c = () => {
|
|
31155
|
-
|
|
31156
|
+
xn(a) || (clearTimeout(a), a = null);
|
|
31156
31157
|
};
|
|
31157
31158
|
return {
|
|
31158
31159
|
cancel: c,
|
|
@@ -31174,7 +31175,7 @@ The conflicting element is` + (lo(N.element) ? " " : " not ") + "already in the
|
|
|
31174
31175
|
classes: t
|
|
31175
31176
|
},
|
|
31176
31177
|
behaviours: xt([
|
|
31177
|
-
|
|
31178
|
+
Cn.config({ ignore: !0 }),
|
|
31178
31179
|
Xs.config({})
|
|
31179
31180
|
])
|
|
31180
31181
|
}), EP = (t, s) => ({
|
|
@@ -31246,7 +31247,7 @@ The conflicting element is` + (lo(N.element) ? " " : " not ") + "already in the
|
|
|
31246
31247
|
},
|
|
31247
31248
|
behaviours: xt([
|
|
31248
31249
|
Xs.config({}),
|
|
31249
|
-
|
|
31250
|
+
Cn.config({}),
|
|
31250
31251
|
n1(a, w.getValue, w.setValue),
|
|
31251
31252
|
Oc.config({
|
|
31252
31253
|
channels: {
|
|
@@ -31407,7 +31408,7 @@ The conflicting element is` + (lo(N.element) ? " " : " not ") + "already in the
|
|
|
31407
31408
|
}), Uu = Zt("update-menu-text"), r1 = Zt("update-menu-icon"), XA = (t, s, a) => {
|
|
31408
31409
|
const c = gn(me), d = t.text.map((H) => Xo(MP(H, s, a.providers))), g = t.icon.map((H) => Xo(s1(H, a.providers.icons))), p = (H, W) => {
|
|
31409
31410
|
const X = Lt.getValue(H);
|
|
31410
|
-
return
|
|
31411
|
+
return Cn.focus(X), ln(X, "keydown", { raw: W.event.raw }), wd.close(X), A.some(!0);
|
|
31411
31412
|
}, w = t.role.fold(() => ({}), (H) => ({ role: H })), C = t.tooltip.fold(() => ({}), (H) => {
|
|
31412
31413
|
const W = a.providers.translate(H);
|
|
31413
31414
|
return {
|
|
@@ -31567,7 +31568,7 @@ The conflicting element is` + (lo(N.element) ? " " : " not ") + "already in the
|
|
|
31567
31568
|
value: d.value,
|
|
31568
31569
|
active: d.value === c,
|
|
31569
31570
|
onAction: () => {
|
|
31570
|
-
Lt.setValue(t, d.value), ln(t, Bi, { name: s }),
|
|
31571
|
+
Lt.setValue(t, d.value), ln(t, Bi, { name: s }), Cn.focus(t);
|
|
31571
31572
|
}
|
|
31572
31573
|
} : {
|
|
31573
31574
|
type: "nestedmenuitem",
|
|
@@ -31654,7 +31655,7 @@ The conflicting element is` + (lo(N.element) ? " " : " not ") + "already in the
|
|
|
31654
31655
|
},
|
|
31655
31656
|
components: a,
|
|
31656
31657
|
behaviours: jr(t.selectBehaviours, [
|
|
31657
|
-
|
|
31658
|
+
Cn.config({}),
|
|
31658
31659
|
Lt.config({
|
|
31659
31660
|
store: {
|
|
31660
31661
|
mode: "manual",
|
|
@@ -31673,7 +31674,7 @@ The conflicting element is` + (lo(N.element) ? " " : " not ") + "already in the
|
|
|
31673
31674
|
configFields: [
|
|
31674
31675
|
nt("options"),
|
|
31675
31676
|
ra("selectBehaviours", [
|
|
31676
|
-
|
|
31677
|
+
Cn,
|
|
31677
31678
|
Lt
|
|
31678
31679
|
]),
|
|
31679
31680
|
Re("selectClasses", []),
|
|
@@ -32008,7 +32009,7 @@ The conflicting element is` + (lo(N.element) ? " " : " not ") + "already in the
|
|
|
32008
32009
|
],
|
|
32009
32010
|
sliderBehaviours: xt([
|
|
32010
32011
|
Ii.self(),
|
|
32011
|
-
|
|
32012
|
+
Cn.config({})
|
|
32012
32013
|
]),
|
|
32013
32014
|
onChoose: (p, w, C) => {
|
|
32014
32015
|
ln(p, Bi, {
|
|
@@ -32052,7 +32053,7 @@ The conflicting element is` + (lo(N.element) ? " " : " not ") + "already in the
|
|
|
32052
32053
|
],
|
|
32053
32054
|
behaviours: xt([
|
|
32054
32055
|
Xs.config({}),
|
|
32055
|
-
|
|
32056
|
+
Cn.config({})
|
|
32056
32057
|
])
|
|
32057
32058
|
};
|
|
32058
32059
|
}, sD = (t, s) => {
|
|
@@ -32379,7 +32380,7 @@ The conflicting element is` + (lo(N.element) ? " " : " not ") + "already in the
|
|
|
32379
32380
|
O ? (oi(C.element, ".tox-tree--directory").each((H) => {
|
|
32380
32381
|
C.getSystem().getByDom(H).each((W) => {
|
|
32381
32382
|
Ib(H, ".tox-tree--directory__label").each((X) => {
|
|
32382
|
-
W.getSystem().getByDom(X).each(
|
|
32383
|
+
W.getSystem().getByDom(X).each(Cn.focus);
|
|
32383
32384
|
});
|
|
32384
32385
|
});
|
|
32385
32386
|
}), E.stop()) : N && E.stop();
|
|
@@ -32443,7 +32444,7 @@ The conflicting element is` + (lo(N.element) ? " " : " not ") + "already in the
|
|
|
32443
32444
|
w.getSystem().getByDom(N).each((H) => {
|
|
32444
32445
|
!Kn.isOn(H) && E || Kn.isOn(H) && O ? (p(w), C.stop()) : O && !Kn.isOn(H) && (oi(H.element, ".tox-tree--directory").each((W) => {
|
|
32445
32446
|
Ib(W, ".tox-tree--directory__label").each((X) => {
|
|
32446
|
-
H.getSystem().getByDom(X).each(
|
|
32447
|
+
H.getSystem().getByDom(X).each(Cn.focus);
|
|
32447
32448
|
});
|
|
32448
32449
|
}), C.stop());
|
|
32449
32450
|
});
|
|
@@ -32693,7 +32694,7 @@ The conflicting element is` + (lo(N.element) ? " " : " not ") + "already in the
|
|
|
32693
32694
|
const X = Gi(W.menus), ce = _e(X, (we) => eo(we.items, (pe) => pe.type === "item"));
|
|
32694
32695
|
return Lt.getState(N).update(tt(ce, (we) => we.data)), W;
|
|
32695
32696
|
}), w = (N) => uo.getCurrent(N), C = "typeaheadevents", E = [
|
|
32696
|
-
|
|
32697
|
+
Cn.config({}),
|
|
32697
32698
|
Lt.config({
|
|
32698
32699
|
onSetValue: t.onSetValue,
|
|
32699
32700
|
store: {
|
|
@@ -32717,7 +32718,7 @@ The conflicting element is` + (lo(N.element) ? " " : " not ") + "already in the
|
|
|
32717
32718
|
},
|
|
32718
32719
|
onStream: (N, H) => {
|
|
32719
32720
|
const W = Lr.getCoupled(N, "sandbox");
|
|
32720
|
-
if (
|
|
32721
|
+
if (Cn.isFocused(N) && Wd(N.element).length >= t.minChars) {
|
|
32721
32722
|
const ce = w(W).bind((we) => No.getHighlighted(we).map(Lt.getValue));
|
|
32722
32723
|
t.previewing.set(!0);
|
|
32723
32724
|
const $e = (we) => {
|
|
@@ -32835,7 +32836,7 @@ The conflicting element is` + (lo(N.element) ? " " : " not ") + "already in the
|
|
|
32835
32836
|
Ff(["openClass"]),
|
|
32836
32837
|
Ho("initialData"),
|
|
32837
32838
|
ra("typeaheadBehaviours", [
|
|
32838
|
-
|
|
32839
|
+
Cn,
|
|
32839
32840
|
Lt,
|
|
32840
32841
|
En,
|
|
32841
32842
|
cn,
|
|
@@ -33310,7 +33311,7 @@ The conflicting element is` + (lo(N.element) ? " " : " not ") + "already in the
|
|
|
33310
33311
|
}
|
|
33311
33312
|
}),
|
|
33312
33313
|
Xs.config({}),
|
|
33313
|
-
|
|
33314
|
+
Cn.config({}),
|
|
33314
33315
|
HA(a, yB, tV),
|
|
33315
33316
|
cn.config({
|
|
33316
33317
|
mode: "special",
|
|
@@ -33375,7 +33376,7 @@ The conflicting element is` + (lo(N.element) ? " " : " not ") + "already in the
|
|
|
33375
33376
|
},
|
|
33376
33377
|
containerBehaviours: xt([
|
|
33377
33378
|
Xs.config({}),
|
|
33378
|
-
|
|
33379
|
+
Cn.config({})
|
|
33379
33380
|
])
|
|
33380
33381
|
}), Ta = (t) => (s, a, c, d) => bt(a, "name").fold(() => t(a, d, A.none()), (g) => s.field(g, t(a, d, bt(c, g)))), oV = (t) => (s, a, c, d) => {
|
|
33381
33382
|
const g = Zo(a, { source: "dynamic" });
|
|
@@ -34375,7 +34376,7 @@ The conflicting element is` + (lo(N.element) ? " " : " not ") + "already in the
|
|
|
34375
34376
|
t.inline || W0(w), uN(t, tr.isDocked(w)), w.getSystem().broadcastOn([ih()], {}), c().each((C) => C.getSystem().broadcastOn([ih()], {}));
|
|
34376
34377
|
}, p = t.inline ? [] : az();
|
|
34377
34378
|
return [
|
|
34378
|
-
|
|
34379
|
+
Cn.config({}),
|
|
34379
34380
|
tr.config({
|
|
34380
34381
|
contextual: {
|
|
34381
34382
|
lazyContext: (w) => {
|
|
@@ -34516,7 +34517,7 @@ The conflicting element is` + (lo(N.element) ? " " : " not ") + "already in the
|
|
|
34516
34517
|
cd(g.event.target, ".tox-mbtn").each((w) => {
|
|
34517
34518
|
Fo(p, w) || d.getSystem().getByDom(p).each((C) => {
|
|
34518
34519
|
d.getSystem().getByDom(w).each((E) => {
|
|
34519
|
-
wd.expand(E), wd.close(C),
|
|
34520
|
+
wd.expand(E), wd.close(C), Cn.focus(E);
|
|
34520
34521
|
});
|
|
34521
34522
|
});
|
|
34522
34523
|
});
|
|
@@ -34723,7 +34724,7 @@ The conflicting element is` + (lo(N.element) ? " " : " not ") + "already in the
|
|
|
34723
34724
|
components: [],
|
|
34724
34725
|
behaviours: xt([
|
|
34725
34726
|
Xs.config({}),
|
|
34726
|
-
|
|
34727
|
+
Cn.config({}),
|
|
34727
34728
|
Fi.config({
|
|
34728
34729
|
dimension: { property: "width" },
|
|
34729
34730
|
closedClass: "tox-sidebar--sliding-closed",
|
|
@@ -34774,7 +34775,7 @@ The conflicting element is` + (lo(N.element) ? " " : " not ") + "already in the
|
|
|
34774
34775
|
onTab: () => A.some(!0),
|
|
34775
34776
|
onShiftTab: () => A.some(!0)
|
|
34776
34777
|
}),
|
|
34777
|
-
|
|
34778
|
+
Cn.config({})
|
|
34778
34779
|
]), p = c(d, g), w = d.getSystem().build(p);
|
|
34779
34780
|
Ln.append(d, Ti(w)), w.hasConfigured(cn) && s.focus && cn.focusIn(w), a.isBlocked() || s.onBlock(t), a.blockWith(() => Ln.remove(d, w));
|
|
34780
34781
|
},
|
|
@@ -34913,7 +34914,7 @@ The conflicting element is` + (lo(N.element) ? " " : " not ") + "already in the
|
|
|
34913
34914
|
const p = c.concat([g]), w = Rz(p);
|
|
34914
34915
|
a([]), _N(d, p);
|
|
34915
34916
|
const C = zr(d.element), E = Oz(C, s.builtGroups.get(), (O) => zr(O.element), g);
|
|
34916
|
-
E.extra.length === 0 ? (Ln.remove(d, g), a([])) : (_N(d, E.within), a(E.extra)), go(d.element, "visibility"), Wa(d.element), w.each(
|
|
34917
|
+
E.extra.length === 0 ? (Ln.remove(d, g), a([])) : (_N(d, E.within), a(E.extra)), go(d.element, "visibility"), Wa(d.element), w.each(Cn.focus);
|
|
34917
34918
|
}, TN = oe([
|
|
34918
34919
|
ra("splitToolbarBehaviours", [Lr]),
|
|
34919
34920
|
fr("builtGroups", () => gn([]))
|
|
@@ -34966,7 +34967,7 @@ The conflicting element is` + (lo(N.element) ? " " : " not ") + "already in the
|
|
|
34966
34967
|
overrides: (t) => ({
|
|
34967
34968
|
toolbarBehaviours: xt([cn.config({
|
|
34968
34969
|
mode: "cyclic",
|
|
34969
|
-
onEscape: (s) => (Cs(s, t, "button").each(
|
|
34970
|
+
onEscape: (s) => (Cs(s, t, "button").each(Cn.focus), A.none())
|
|
34970
34971
|
})])
|
|
34971
34972
|
})
|
|
34972
34973
|
})
|
|
@@ -34994,7 +34995,7 @@ The conflicting element is` + (lo(N.element) ? " " : " not ") + "already in the
|
|
|
34994
34995
|
KD(t, w, a, s.layouts, E), c.link(t.element), C || cn.focusIn(w);
|
|
34995
34996
|
});
|
|
34996
34997
|
}, g = () => {
|
|
34997
|
-
Kn.off(t), Ok.get().getOr(!1) ||
|
|
34998
|
+
Kn.off(t), Ok.get().getOr(!1) || Cn.focus(t), c.unlink(t.element);
|
|
34998
34999
|
};
|
|
34999
35000
|
return {
|
|
35000
35001
|
dom: {
|
|
@@ -35231,7 +35232,7 @@ The conflicting element is` + (lo(N.element) ? " " : " not ") + "already in the
|
|
|
35231
35232
|
growingClass: t.markers.growingClass,
|
|
35232
35233
|
onShrunk: (s) => {
|
|
35233
35234
|
Cs(s, t, "overflow-button").each((a) => {
|
|
35234
|
-
Kn.off(a),
|
|
35235
|
+
Kn.off(a), Cn.focus(a);
|
|
35235
35236
|
}), t.onClosed(s);
|
|
35236
35237
|
},
|
|
35237
35238
|
onGrown: (s) => {
|
|
@@ -35243,7 +35244,7 @@ The conflicting element is` + (lo(N.element) ? " " : " not ") + "already in the
|
|
|
35243
35244
|
}),
|
|
35244
35245
|
cn.config({
|
|
35245
35246
|
mode: "acyclic",
|
|
35246
|
-
onEscape: (s) => (Cs(s, t, "overflow-button").each(
|
|
35247
|
+
onEscape: (s) => (Cs(s, t, "overflow-button").each(Cn.focus), A.some(!0))
|
|
35247
35248
|
})
|
|
35248
35249
|
])
|
|
35249
35250
|
})
|
|
@@ -35339,7 +35340,7 @@ The conflicting element is` + (lo(N.element) ? " " : " not ") + "already in the
|
|
|
35339
35340
|
markers: { itemSelector: "*:not(.tox-split-button) > .tox-tbtn:not([disabled]), .tox-split-button:not([disabled]), .tox-toolbar-nav-js:not([disabled]), .tox-number-input:not([disabled])" },
|
|
35340
35341
|
tgroupBehaviours: xt([
|
|
35341
35342
|
Xs.config({}),
|
|
35342
|
-
|
|
35343
|
+
Cn.config({})
|
|
35343
35344
|
])
|
|
35344
35345
|
};
|
|
35345
35346
|
}, j0 = (t) => Mk.sketch(MN(t)), PN = (t, s) => {
|
|
@@ -35547,7 +35548,7 @@ The conflicting element is` + (lo(N.element) ? " " : " not ") + "already in the
|
|
|
35547
35548
|
]
|
|
35548
35549
|
},
|
|
35549
35550
|
behaviours: xt([
|
|
35550
|
-
|
|
35551
|
+
Cn.config({}),
|
|
35551
35552
|
cn.config({
|
|
35552
35553
|
mode: "flow",
|
|
35553
35554
|
selector: "button, .tox-button",
|
|
@@ -36379,8 +36380,8 @@ The conflicting element is` + (lo(N.element) ? " " : " not ") + "already in the
|
|
|
36379
36380
|
getApi: p
|
|
36380
36381
|
}, je),
|
|
36381
36382
|
lg({ getApi: p }, je),
|
|
36382
|
-
Je(Du(), (An,
|
|
36383
|
-
(
|
|
36383
|
+
Je(Du(), (An, Sn) => {
|
|
36384
|
+
(Sn.event.raw.keyCode === l6.space() || Sn.event.raw.keyCode === l6.enter()) && (wn.isDisabled(An) || pe(!1));
|
|
36384
36385
|
}),
|
|
36385
36386
|
Je(Bm(), Ut),
|
|
36386
36387
|
Je(Mm(), Ut)
|
|
@@ -36439,7 +36440,7 @@ The conflicting element is` + (lo(N.element) ? " " : " not ") + "already in the
|
|
|
36439
36440
|
])
|
|
36440
36441
|
})],
|
|
36441
36442
|
behaviours: xt([
|
|
36442
|
-
|
|
36443
|
+
Cn.config({}),
|
|
36443
36444
|
cn.config({
|
|
36444
36445
|
mode: "special",
|
|
36445
36446
|
onEnter: W,
|
|
@@ -36468,7 +36469,7 @@ The conflicting element is` + (lo(N.element) ? " " : " not ") + "already in the
|
|
|
36468
36469
|
$e.asSpec()
|
|
36469
36470
|
],
|
|
36470
36471
|
behaviours: xt([
|
|
36471
|
-
|
|
36472
|
+
Cn.config({}),
|
|
36472
36473
|
cn.config({
|
|
36473
36474
|
mode: "flow",
|
|
36474
36475
|
focusInside: h.OnEnterOrSpaceMode,
|
|
@@ -36629,7 +36630,7 @@ The conflicting element is` + (lo(N.element) ? " " : " not ") + "already in the
|
|
|
36629
36630
|
ra("splitDropdownBehaviours", [
|
|
36630
36631
|
Lr,
|
|
36631
36632
|
cn,
|
|
36632
|
-
|
|
36633
|
+
Cn
|
|
36633
36634
|
]),
|
|
36634
36635
|
Re("matchWidth", !1),
|
|
36635
36636
|
Re("useMinWidth", !1),
|
|
@@ -36639,7 +36640,7 @@ The conflicting element is` + (lo(N.element) ? " " : " not ") + "already in the
|
|
|
36639
36640
|
factory: Ya,
|
|
36640
36641
|
schema: [nt("dom")],
|
|
36641
36642
|
name: "arrow",
|
|
36642
|
-
defaults: () => ({ buttonBehaviours: xt([
|
|
36643
|
+
defaults: () => ({ buttonBehaviours: xt([Cn.revoke()]) }),
|
|
36643
36644
|
overrides: (t) => ({
|
|
36644
36645
|
dom: {
|
|
36645
36646
|
tag: "span",
|
|
@@ -36657,7 +36658,7 @@ The conflicting element is` + (lo(N.element) ? " " : " not ") + "already in the
|
|
|
36657
36658
|
factory: Ya,
|
|
36658
36659
|
schema: [nt("dom")],
|
|
36659
36660
|
name: "button",
|
|
36660
|
-
defaults: () => ({ buttonBehaviours: xt([
|
|
36661
|
+
defaults: () => ({ buttonBehaviours: xt([Cn.revoke()]) }),
|
|
36661
36662
|
overrides: (t) => ({
|
|
36662
36663
|
dom: {
|
|
36663
36664
|
tag: "span",
|
|
@@ -36758,7 +36759,7 @@ The conflicting element is` + (lo(N.element) ? " " : " not ") + "already in the
|
|
|
36758
36759
|
onEnter: w,
|
|
36759
36760
|
onDown: p
|
|
36760
36761
|
}),
|
|
36761
|
-
|
|
36762
|
+
Cn.config({}),
|
|
36762
36763
|
Kn.config({
|
|
36763
36764
|
toggleOnExecute: !1,
|
|
36764
36765
|
aria: { mode: "expanded" }
|
|
@@ -36959,7 +36960,7 @@ The conflicting element is` + (lo(N.element) ? " " : " not ") + "already in the
|
|
|
36959
36960
|
ka(),
|
|
36960
36961
|
zn("split-dropdown-events", [
|
|
36961
36962
|
xs((g, p) => qA(g)),
|
|
36962
|
-
Je(bO,
|
|
36963
|
+
Je(bO, Cn.focus),
|
|
36963
36964
|
qp(d, c),
|
|
36964
36965
|
lg(d, c)
|
|
36965
36966
|
]),
|
|
@@ -37172,7 +37173,7 @@ The conflicting element is` + (lo(N.element) ? " " : " not ") + "already in the
|
|
|
37172
37173
|
const we = C.element;
|
|
37173
37174
|
g.mothership.broadcastOn([fd()], { target: we }), pt(p, (pe) => {
|
|
37174
37175
|
pe.broadcastOn([fd()], { target: we });
|
|
37175
|
-
}),
|
|
37176
|
+
}), xn(Ds.whichView(C)) && (t.focus(), t.nodeChanged(), Ds.refreshToolbar(C));
|
|
37176
37177
|
}
|
|
37177
37178
|
}), t.addQueryValueHandler("ToggleView", () => {
|
|
37178
37179
|
var ce;
|
|
@@ -37779,9 +37780,9 @@ The conflicting element is` + (lo(N.element) ? " " : " not ") + "already in the
|
|
|
37779
37780
|
toolbar: An.items,
|
|
37780
37781
|
allowToolbarGroups: !1
|
|
37781
37782
|
}, c.backstage, A.some(["form:"])), dt = (Ut, An) => vW.buildInitGroups(Ut, An), Xe = (Ut) => {
|
|
37782
|
-
const { buttons: An } = t.ui.registry.getAll(),
|
|
37783
|
+
const { buttons: An } = t.ui.registry.getAll(), Sn = pe(), Ko = {
|
|
37783
37784
|
...An,
|
|
37784
|
-
...
|
|
37785
|
+
...Sn.formNavigators
|
|
37785
37786
|
}, pn = Pv(t) === gu.scrolling ? gu.scrolling : gu.default, ko = Ke(tt(Ut, (Et) => Et.type === "contexttoolbar" ? Oe(Ko, Et) : dt(Et, g.providers)));
|
|
37786
37787
|
return QD({
|
|
37787
37788
|
type: pn,
|
|
@@ -37792,19 +37793,19 @@ The conflicting element is` + (lo(N.element) ? " " : " not ") + "already in the
|
|
|
37792
37793
|
providers: g.providers
|
|
37793
37794
|
});
|
|
37794
37795
|
}, je = (Ut, An) => {
|
|
37795
|
-
const
|
|
37796
|
+
const Sn = Ut === "node" ? g.anchors.node(An) : g.anchors.cursor(), Ko = I6(t, Ut, p(), {
|
|
37796
37797
|
lastElement: w.get,
|
|
37797
37798
|
isReposition: () => Aa(C.get(), 0),
|
|
37798
37799
|
getMode: () => El.getMode(a)
|
|
37799
37800
|
});
|
|
37800
|
-
return Zo(
|
|
37801
|
+
return Zo(Sn, Ko);
|
|
37801
37802
|
}, vt = (Ut, An) => {
|
|
37802
37803
|
if (Un.cancel(), !H())
|
|
37803
37804
|
return;
|
|
37804
|
-
const
|
|
37805
|
+
const Sn = Xe(Ut), Ko = Ut[0].position, pn = je(Ko, An);
|
|
37805
37806
|
E.set(Ko), C.set(1);
|
|
37806
37807
|
const ko = O.element;
|
|
37807
|
-
go(ko, "display"), W(An) || (er(ko, Jk), El.reset(a, O)), cr.showWithinBounds(O, we(
|
|
37808
|
+
go(ko, "display"), W(An) || (er(ko, Jk), El.reset(a, O)), cr.showWithinBounds(O, we(Sn), {
|
|
37808
37809
|
anchor: pn,
|
|
37809
37810
|
transition: {
|
|
37810
37811
|
classes: [Jk],
|
|
@@ -37827,8 +37828,8 @@ The conflicting element is` + (lo(N.element) ? " " : " not ") + "already in the
|
|
|
37827
37828
|
t.on("init", () => {
|
|
37828
37829
|
t.on("remove", ce), t.on("ScrollContent ScrollWindow ObjectResized ResizeEditor longpress", $e), t.on("click keyup focus SetContent", Un.throttle), t.on(D6, ce), t.on(fW, (Ut) => {
|
|
37829
37830
|
const An = pe();
|
|
37830
|
-
bt(An.lookupTable, Ut.toolbarKey).each((
|
|
37831
|
-
vt([
|
|
37831
|
+
bt(An.lookupTable, Ut.toolbarKey).each((Sn) => {
|
|
37832
|
+
vt([Sn], hn(Ut.target !== t, Ut.target)), cr.getContent(O).each(cn.focusIn);
|
|
37832
37833
|
});
|
|
37833
37834
|
}), t.on("focusout", (Ut) => {
|
|
37834
37835
|
A0.setEditorTimeout(t, () => {
|
|
@@ -38988,7 +38989,7 @@ The conflicting element is` + (lo(N.element) ? " " : " not ") + "already in the
|
|
|
38988
38989
|
}), W = u1(N), X = u1(H), ce = kl(W.asSpec()), $e = kl(X.asSpec()), we = (vt, Tt, Un, Ut) => {
|
|
38989
38990
|
const An = Tt.dom.getBoundingClientRect();
|
|
38990
38991
|
go(vt.element, "display");
|
|
38991
|
-
const
|
|
38992
|
+
const Sn = Fl(Te.fromDom(t.getBody())).dom.innerHeight, Ko = Un(An), pn = Ut(An, Sn);
|
|
38992
38993
|
(Ko || pn) && qt(vt.element, "display", "none");
|
|
38993
38994
|
}, pe = (vt, Tt, Un, Ut) => {
|
|
38994
38995
|
const An = Un(Tt);
|
|
@@ -39126,7 +39127,7 @@ The conflicting element is` + (lo(N.element) ? " " : " not ") + "already in the
|
|
|
39126
39127
|
onDown: () => pg(t, a, 0, 1)
|
|
39127
39128
|
}),
|
|
39128
39129
|
Xs.config({}),
|
|
39129
|
-
|
|
39130
|
+
Cn.config({})
|
|
39130
39131
|
]
|
|
39131
39132
|
}, s.icons));
|
|
39132
39133
|
}, FZ = (t, s) => {
|
|
@@ -39204,7 +39205,7 @@ The conflicting element is` + (lo(N.element) ? " " : " not ") + "already in the
|
|
|
39204
39205
|
},
|
|
39205
39206
|
innerHtml: HO.trim()
|
|
39206
39207
|
},
|
|
39207
|
-
behaviours: xt([
|
|
39208
|
+
behaviours: xt([Cn.config({})])
|
|
39208
39209
|
}]
|
|
39209
39210
|
}), c = () => {
|
|
39210
39211
|
const w = b_("Alt+0");
|
|
@@ -39363,7 +39364,7 @@ The conflicting element is` + (lo(N.element) ? " " : " not ") + "already in the
|
|
|
39363
39364
|
Fn
|
|
39364
39365
|
]
|
|
39365
39366
|
};
|
|
39366
|
-
},
|
|
39367
|
+
}, Sn = () => {
|
|
39367
39368
|
const vn = t3(t), Fn = Fo(Fs(), vn) && as(vn, "display") === "grid", _s = {
|
|
39368
39369
|
dom: {
|
|
39369
39370
|
tag: "div",
|
|
@@ -39496,7 +39497,7 @@ The conflicting element is` + (lo(N.element) ? " " : " not ") + "already in the
|
|
|
39496
39497
|
};
|
|
39497
39498
|
return c.render(t, vn, bf, Tt.popup, JO);
|
|
39498
39499
|
}, Dn = (vn) => (C.set(vn.mothership), vn), Mn = () => {
|
|
39499
|
-
const vn = pn(), Fn =
|
|
39500
|
+
const vn = pn(), Fn = Sn(), _s = ng(t) ? Ko() : Dn(Fn);
|
|
39500
39501
|
g.dialogUi.set(Fn), g.popupUi.set(_s), g.mainUi.set(vn);
|
|
39501
39502
|
const Eo = {
|
|
39502
39503
|
popupUi: _s,
|
|
@@ -39595,7 +39596,7 @@ The conflicting element is` + (lo(N.element) ? " " : " not ") + "already in the
|
|
|
39595
39596
|
...ce,
|
|
39596
39597
|
components: ce.components.concat([Ti(W)]),
|
|
39597
39598
|
behaviours: xt([
|
|
39598
|
-
|
|
39599
|
+
Cn.config({}),
|
|
39599
39600
|
zn("dialog-blocker-events", [Hd(ul(), () => {
|
|
39600
39601
|
mm.isBlocked(W) ? me() : cn.focusIn(W);
|
|
39601
39602
|
})])
|
|
@@ -40076,7 +40077,7 @@ The conflicting element is` + (lo(N.element) ? " " : " not ") + "already in the
|
|
|
40076
40077
|
components: t.components,
|
|
40077
40078
|
events: of(t.action),
|
|
40078
40079
|
behaviours: jr(t.tabButtonBehaviours, [
|
|
40079
|
-
|
|
40080
|
+
Cn.config({}),
|
|
40080
40081
|
cn.config({
|
|
40081
40082
|
mode: "execution",
|
|
40082
40083
|
useSpace: !0,
|
|
@@ -40105,7 +40106,7 @@ The conflicting element is` + (lo(N.element) ? " " : " not ") + "already in the
|
|
|
40105
40106
|
Ho("action"),
|
|
40106
40107
|
Re("domModification", {}),
|
|
40107
40108
|
ra("tabButtonBehaviours", [
|
|
40108
|
-
|
|
40109
|
+
Cn,
|
|
40109
40110
|
cn,
|
|
40110
40111
|
Lt
|
|
40111
40112
|
]),
|
|
@@ -40463,7 +40464,7 @@ The conflicting element is` + (lo(N.element) ? " " : " not ") + "already in the
|
|
|
40463
40464
|
},
|
|
40464
40465
|
behaviours: xt([
|
|
40465
40466
|
Xs.config({}),
|
|
40466
|
-
|
|
40467
|
+
Cn.config({})
|
|
40467
40468
|
])
|
|
40468
40469
|
})]
|
|
40469
40470
|
}],
|
|
@@ -40574,7 +40575,7 @@ The conflicting element is` + (lo(N.element) ? " " : " not ") + "already in the
|
|
|
40574
40575
|
},
|
|
40575
40576
|
dragBlockClass: a,
|
|
40576
40577
|
modalBehaviours: xt([
|
|
40577
|
-
|
|
40578
|
+
Cn.config({}),
|
|
40578
40579
|
zn("dialog-events", t.dialogEvents.concat([
|
|
40579
40580
|
Hd(ul(), (g, p) => {
|
|
40580
40581
|
mm.isBlocked(g) ? me() : cn.focusIn(g);
|
|
@@ -40895,7 +40896,7 @@ The conflicting element is` + (lo(N.element) ? " " : " not ") + "already in the
|
|
|
40895
40896
|
Ha(t, X).each(ce ? wn.enable : wn.disable);
|
|
40896
40897
|
},
|
|
40897
40898
|
focus: (X) => {
|
|
40898
|
-
Ha(t, X).each(
|
|
40899
|
+
Ha(t, X).each(Cn.focus);
|
|
40899
40900
|
},
|
|
40900
40901
|
block: (X) => {
|
|
40901
40902
|
if (!Q(X))
|
|
@@ -41024,7 +41025,7 @@ The conflicting element is` + (lo(N.element) ? " " : " not ") + "already in the
|
|
|
41024
41025
|
updateState: N,
|
|
41025
41026
|
initialData: t
|
|
41026
41027
|
}),
|
|
41027
|
-
|
|
41028
|
+
Cn.config({}),
|
|
41028
41029
|
zn("execute-on-form", we.concat([
|
|
41029
41030
|
Hd(ul(), (je, vt) => {
|
|
41030
41031
|
cn.focusIn(je);
|
|
@@ -41198,7 +41199,7 @@ The conflicting element is` + (lo(N.element) ? " " : " not ") + "already in the
|
|
|
41198
41199
|
}));
|
|
41199
41200
|
Gr.show(E);
|
|
41200
41201
|
const O = p.get(E);
|
|
41201
|
-
|
|
41202
|
+
Cn.focus(O);
|
|
41202
41203
|
} };
|
|
41203
41204
|
}, gq = (t) => {
|
|
41204
41205
|
const s = t.shared;
|
|
@@ -41241,7 +41242,7 @@ The conflicting element is` + (lo(N.element) ? " " : " not ") + "already in the
|
|
|
41241
41242
|
}));
|
|
41242
41243
|
Gr.show(O);
|
|
41243
41244
|
const N = p.get(O);
|
|
41244
|
-
|
|
41245
|
+
Cn.focus(N);
|
|
41245
41246
|
} };
|
|
41246
41247
|
}, $G = (t, s) => ls(Ks("data", s, t)), MG = (t) => Zw(t, ".tox-alert-dialog") || Zw(t, ".tox-confirm-dialog"), hq = (t, s, a) => s && a ? [] : [tr.config({
|
|
41247
41248
|
contextual: {
|
|
@@ -41310,7 +41311,7 @@ The conflicting element is` + (lo(N.element) ? " " : " not ") + "already in the
|
|
|
41310
41311
|
closeWindow: () => {
|
|
41311
41312
|
vt.on(cr.hide), s.off("ResizeEditor", Ut), vt.clear(), $e(An.instanceApi);
|
|
41312
41313
|
}
|
|
41313
|
-
}, t.backstages.popup, we.ariaAttrs, Ut),
|
|
41314
|
+
}, t.backstages.popup, we.ariaAttrs, Ut), Sn = kl(cr.sketch({
|
|
41314
41315
|
lazySink: t.backstages.popup.shared.getSink,
|
|
41315
41316
|
dom: {
|
|
41316
41317
|
tag: "div",
|
|
@@ -41326,12 +41327,12 @@ The conflicting element is` + (lo(N.element) ? " " : " not ") + "already in the
|
|
|
41326
41327
|
]),
|
|
41327
41328
|
isExtraPart: (pn, ko) => MG(ko)
|
|
41328
41329
|
}));
|
|
41329
|
-
vt.set(
|
|
41330
|
+
vt.set(Sn);
|
|
41330
41331
|
const Ko = () => {
|
|
41331
41332
|
const pn = s.inline ? Fs() : Te.fromDom(s.getContainer()), ko = qs(pn);
|
|
41332
41333
|
return A.some(ko);
|
|
41333
41334
|
};
|
|
41334
|
-
return cr.showWithinBounds(
|
|
41335
|
+
return cr.showWithinBounds(Sn, Ti(An.dialog), { anchor: ce }, Ko), (!a || !Tt) && (tr.refresh(Sn), s.on("ResizeEditor", Ut)), An.instanceApi.setData(je), cn.focusIn(An.dialog), An.instanceApi;
|
|
41335
41336
|
};
|
|
41336
41337
|
return Zn.open(pe, X);
|
|
41337
41338
|
}, O = (X, ce, $e, we) => {
|
|
@@ -41347,7 +41348,7 @@ The conflicting element is` + (lo(N.element) ? " " : " not ") + "already in the
|
|
|
41347
41348
|
closeWindow: () => {
|
|
41348
41349
|
vt.on(cr.hide), s.off("ResizeEditor ScrollWindow ElementScroll", Ut), vt.clear(), $e(An.instanceApi);
|
|
41349
41350
|
}
|
|
41350
|
-
}, t.backstages.popup, we.ariaAttrs, Ut),
|
|
41351
|
+
}, t.backstages.popup, we.ariaAttrs, Ut), Sn = kl(cr.sketch({
|
|
41351
41352
|
lazySink: t.backstages.popup.shared.getSink,
|
|
41352
41353
|
dom: {
|
|
41353
41354
|
tag: "div",
|
|
@@ -41384,12 +41385,12 @@ The conflicting element is` + (lo(N.element) ? " " : " not ") + "already in the
|
|
|
41384
41385
|
]),
|
|
41385
41386
|
isExtraPart: (pn, ko) => MG(ko)
|
|
41386
41387
|
}));
|
|
41387
|
-
vt.set(
|
|
41388
|
+
vt.set(Sn);
|
|
41388
41389
|
const Ko = () => t.backstages.popup.shared.getSink().toOptional().bind((pn) => {
|
|
41389
41390
|
const ko = Jp(s, pn.element), Et = 15, Xt = ko.map((vn) => Yv(vn)).getOr(ta()), Dn = qs(Te.fromDom(s.getContentAreaContainer())), Mn = Pg(Dn, Xt);
|
|
41390
41391
|
return A.some(Ps(Mn.x, Mn.y, Mn.width, Mn.height - Et));
|
|
41391
41392
|
});
|
|
41392
|
-
return cr.showWithinBounds(
|
|
41393
|
+
return cr.showWithinBounds(Sn, Ti(An.dialog), { anchor: ce }, Ko), tr.refresh(Sn), s.on("ResizeEditor ScrollWindow ElementScroll ResizeWindow", Ut), An.instanceApi.setData(je), cn.focusIn(An.dialog), An.instanceApi;
|
|
41393
41394
|
};
|
|
41394
41395
|
return Zn.open(pe, X);
|
|
41395
41396
|
};
|
|
@@ -41448,7 +41449,7 @@ The conflicting element is` + (lo(N.element) ? " " : " not ") + "already in the
|
|
|
41448
41449
|
}, se = (i) => {
|
|
41449
41450
|
const m = typeof i;
|
|
41450
41451
|
return i === null ? "null" : m === "object" && Array.isArray(i) ? "array" : m === "object" && de(i, String, (h, v) => v.isPrototypeOf(h)) ? "string" : m;
|
|
41451
|
-
}, Ee = (i) => (m) => se(m) === i, ge = (i) => (m) => typeof m === i, G = (i) => (m) => i === m, Ae = Ee("string"), Q = Ee("object"), Pe = Ee("array"), lt = G(null), $t = ge("boolean"),
|
|
41452
|
+
}, Ee = (i) => (m) => se(m) === i, ge = (i) => (m) => typeof m === i, G = (i) => (m) => i === m, Ae = Ee("string"), Q = Ee("object"), Pe = Ee("array"), lt = G(null), $t = ge("boolean"), xn = G(void 0), Gn = (i) => i == null, Ro = (i) => !Gn(i), Gs = ge("function"), Io = ge("number"), Pt = () => {
|
|
41452
41453
|
}, pr = (i, m) => (...h) => i(m.apply(null, h)), un = (i, m) => (h) => i(m(h)), me = (i) => () => i, _t = (i) => i, Ea = (i, m) => i === m;
|
|
41453
41454
|
function Qn(i, ...m) {
|
|
41454
41455
|
return (...h) => {
|
|
@@ -41951,7 +41952,7 @@ The conflicting element is` + (lo(N.element) ? " " : " not ") + "already in the
|
|
|
41951
41952
|
return m;
|
|
41952
41953
|
}, Dd = (i, m) => i != null ? m(i) : fe.none(), Rh = (i, m) => i ? fe.some(m) : fe.none(), $h = (i, m, h) => m === "" || i.length >= m.length && i.substr(h, h + m.length) === m, Po = (i, m, h = 0, v) => {
|
|
41953
41954
|
const _ = i.indexOf(m, h);
|
|
41954
|
-
return _ !== -1 ?
|
|
41955
|
+
return _ !== -1 ? xn(v) ? !0 : _ + m.length <= v : !1;
|
|
41955
41956
|
}, Wc = (i, m) => $h(i, m, 0), Qi = (i, m) => $h(i, m, i.length - m.length), ac = ((i) => (m) => m.replace(i, ""))(/^\s+|\s+$/g), xm = (i) => i.length > 0, co = (i) => {
|
|
41956
41957
|
const m = parseFloat(i);
|
|
41957
41958
|
return isNaN(m) ? fe.none() : fe.some(m);
|
|
@@ -45691,7 +45692,7 @@ Required: ` + m.join(", "));
|
|
|
45691
45692
|
}, se = (S) => {
|
|
45692
45693
|
const $ = typeof S;
|
|
45693
45694
|
return S === null ? "null" : $ === "object" && Array.isArray(S) ? "array" : $ === "object" && de(S, String, (U, ae) => ae.isPrototypeOf(U)) ? "string" : $;
|
|
45694
|
-
}, Ee = (S) => ($) => se($) === S, ge = (S) => ($) => typeof $ === S, G = Ee("string"), Ae = Ee("object"), Q = Ee("array"), Pe = ge("boolean"), lt = (S) => S == null, $t = (S) => !lt(S),
|
|
45695
|
+
}, Ee = (S) => ($) => se($) === S, ge = (S) => ($) => typeof $ === S, G = Ee("string"), Ae = Ee("object"), Q = Ee("array"), Pe = ge("boolean"), lt = (S) => S == null, $t = (S) => !lt(S), xn = ge("function"), Gn = ge("number"), Ro = () => {
|
|
45695
45696
|
}, Gs = (S, $) => (U) => S($(U)), Io = (S) => () => S, Pt = (S, $) => S === $;
|
|
45696
45697
|
function pr(S, ...$) {
|
|
45697
45698
|
return (...U) => {
|
|
@@ -45833,7 +45834,7 @@ Required: ` + m.join(", "));
|
|
|
45833
45834
|
const $ = Ea.call(S, 0);
|
|
45834
45835
|
return $.reverse(), $;
|
|
45835
45836
|
}, ot = (S, $) => $ >= 0 && $ < S.length ? _t.some(S[$]) : _t.none(), jo = (S) => ot(S, 0), ur = (S) => ot(S, S.length - 1), ao = (S, $) => {
|
|
45836
|
-
const U = [], ae =
|
|
45837
|
+
const U = [], ae = xn($) ? (he) => Bn(U, (it) => $(it, he)) : (he) => os(U, he);
|
|
45837
45838
|
for (let he = 0, it = S.length; he < it; he++) {
|
|
45838
45839
|
const Kt = S[he];
|
|
45839
45840
|
ae(Kt) || U.push(Kt);
|
|
@@ -45900,7 +45901,7 @@ Required: ` + m.join(", "));
|
|
|
45900
45901
|
}, us = (S) => S.dom.nodeName.toLowerCase(), qo = (S) => S.dom.nodeType, wc = (S) => ($) => qo($) === S, Jn = (S) => qo(S) === z || us(S) === "#comment", bs = (S) => wr(S) && ji(S.dom), wr = wc(ss), Pl = wc(zo), di = wc(el), Qo = wc(eo), Gi = (S) => ($) => wr($) && us($) === S, bt = (S) => yn.fromDom(S.dom.ownerDocument), fo = (S) => di(S) ? S : bt(S), Er = (S) => _t.from(S.dom.parentNode).map(yn.fromDom), Aa = (S) => _t.from(S.dom.parentElement).map(yn.fromDom), Bl = (S) => _t.from(S.dom.nextSibling).map(yn.fromDom), Da = (S) => Ge(S.dom.childNodes, yn.fromDom), es = (S, $) => {
|
|
45901
45902
|
const U = S.dom.childNodes;
|
|
45902
45903
|
return _t.from(U[$]).map(yn.fromDom);
|
|
45903
|
-
}, tl = (S) => es(S, 0), bl = (S) => es(S, S.dom.childNodes.length - 1), Yo = (S) => Qo(S) && $t(S.dom.host), Ar =
|
|
45904
|
+
}, tl = (S) => es(S, 0), bl = (S) => es(S, S.dom.childNodes.length - 1), Yo = (S) => Qo(S) && $t(S.dom.host), Ar = xn(Element.prototype.attachShadow) && xn(Node.prototype.getRootNode) ? (S) => yn.fromDom(S.dom.getRootNode()) : fo, Nl = (S) => {
|
|
45904
45905
|
const $ = Ar(S);
|
|
45905
45906
|
return Yo($) ? _t.some($) : _t.none();
|
|
45906
45907
|
}, Hc = (S) => yn.fromDom(S.dom.host), mi = (S) => {
|
|
@@ -45910,10 +45911,10 @@ Required: ` + m.join(", "));
|
|
|
45910
45911
|
const U = $.ownerDocument;
|
|
45911
45912
|
return Nl(yn.fromDom($)).fold(() => U.body.contains($), Gs(mi, Hc));
|
|
45912
45913
|
};
|
|
45913
|
-
var xr = (S, $, U, ae, he) => S(U, ae) ? _t.some(U) :
|
|
45914
|
+
var xr = (S, $, U, ae, he) => S(U, ae) ? _t.some(U) : xn(he) && he(U) ? _t.none() : $(U, ae, he);
|
|
45914
45915
|
const dr = (S, $, U) => {
|
|
45915
45916
|
let ae = S.dom;
|
|
45916
|
-
const he =
|
|
45917
|
+
const he = xn(U) ? U : me;
|
|
45917
45918
|
for (; ae.parentNode; ) {
|
|
45918
45919
|
ae = ae.parentNode;
|
|
45919
45920
|
const it = yn.fromDom(ae);
|
|
@@ -46123,7 +46124,7 @@ Required: ` + m.join(", "));
|
|
|
46123
46124
|
}, Vs = (S, $, U) => S.dispatch("ListMutation", {
|
|
46124
46125
|
action: $,
|
|
46125
46126
|
element: U
|
|
46126
|
-
}), Rh = ((S) => ($) => $.replace(S, ""))(/^\s+|\s+$/g), $h = (S) => S.length > 0, Po = (S) => !$h(S), Wc = (S) => S.style !== void 0 &&
|
|
46127
|
+
}), Rh = ((S) => ($) => $.replace(S, ""))(/^\s+|\s+$/g), $h = (S) => S.length > 0, Po = (S) => !$h(S), Wc = (S) => S.style !== void 0 && xn(S.style.getPropertyValue), Qi = (S, $, U) => {
|
|
46127
46128
|
if (!G(U))
|
|
46128
46129
|
throw console.error("Invalid call to CSS.set. Property ", $, ":: Value ", U, ":: Element ", S), new Error("CSS value must be a string: " + U);
|
|
46129
46130
|
Wc(S) && S.style.setProperty($, U);
|
|
@@ -46839,7 +46840,7 @@ Required: ` + m.join(", "));
|
|
|
46839
46840
|
}, se = (j) => {
|
|
46840
46841
|
const ue = typeof j;
|
|
46841
46842
|
return j === null ? "null" : ue === "object" && Array.isArray(j) ? "array" : ue === "object" && de(j, String, (ke, Ne) => Ne.isPrototypeOf(ke)) ? "string" : ue;
|
|
46842
|
-
}, Ee = (j) => (ue) => se(ue) === j, ge = (j) => (ue) => typeof ue === j, G = (j) => (ue) => j === ue, Ae = Ee("string"), Q = Ee("object"), Pe = Ee("array"), lt = G(null), $t = ge("boolean"),
|
|
46843
|
+
}, Ee = (j) => (ue) => se(ue) === j, ge = (j) => (ue) => typeof ue === j, G = (j) => (ue) => j === ue, Ae = Ee("string"), Q = Ee("object"), Pe = Ee("array"), lt = G(null), $t = ge("boolean"), xn = (j) => j == null, Gn = (j) => !xn(j), Ro = ge("function"), Gs = (j, ue) => {
|
|
46843
46844
|
if (Pe(j)) {
|
|
46844
46845
|
for (let ke = 0, Ne = j.length; ke < Ne; ++ke)
|
|
46845
46846
|
if (!ue(j[ke]))
|
|
@@ -47596,8 +47597,8 @@ Required: ` + m.join(", "));
|
|
|
47596
47597
|
}, Ee = (I) => {
|
|
47597
47598
|
const Y = typeof I;
|
|
47598
47599
|
return I === null ? "null" : Y === "object" && Array.isArray(I) ? "array" : Y === "object" && se(I, String, (re, Le) => Le.isPrototypeOf(re)) ? "string" : Y;
|
|
47599
|
-
}, ge = (I) => (Y) => Ee(Y) === I, G = (I) => (Y) => typeof Y === I, Ae = (I) => (Y) => I === Y, Q = (I, Y) => lt(I) && se(I, Y, (re, Le) => de(re) === Le), Pe = ge("string"), lt = ge("object"), $t = (I) => Q(I, Object),
|
|
47600
|
-
if (
|
|
47600
|
+
}, ge = (I) => (Y) => Ee(Y) === I, G = (I) => (Y) => typeof Y === I, Ae = (I) => (Y) => I === Y, Q = (I, Y) => lt(I) && se(I, Y, (re, Le) => de(re) === Le), Pe = ge("string"), lt = ge("object"), $t = (I) => Q(I, Object), xn = ge("array"), Gn = Ae(null), Ro = G("boolean"), Gs = (I) => I == null, Io = (I) => !Gs(I), Pt = G("function"), pr = G("number"), un = (I, Y) => {
|
|
47601
|
+
if (xn(I)) {
|
|
47601
47602
|
for (let re = 0, Le = I.length; re < Le; ++re)
|
|
47602
47603
|
if (!Y(I[re]))
|
|
47603
47604
|
return !1;
|
|
@@ -47695,7 +47696,7 @@ Required: ` + m.join(", "));
|
|
|
47695
47696
|
}, Ge = (I, Y) => Qn.call(I, Y), fe = (I, Y) => Ge(I, Y) && I[Y] !== void 0 && I[Y] !== null, Wt = Array.prototype.push, mn = (I) => {
|
|
47696
47697
|
const Y = [];
|
|
47697
47698
|
for (let re = 0, Le = I.length; re < Le; ++re) {
|
|
47698
|
-
if (!
|
|
47699
|
+
if (!xn(I[re]))
|
|
47699
47700
|
throw new Error("Arr.flatten item " + re + " was not an array, input: " + I);
|
|
47700
47701
|
Wt.apply(Y, I[re]);
|
|
47701
47702
|
}
|
|
@@ -48465,7 +48466,7 @@ Required: ` + m.join(", "));
|
|
|
48465
48466
|
}, se = (x) => {
|
|
48466
48467
|
const T = typeof x;
|
|
48467
48468
|
return x === null ? "null" : T === "object" && Array.isArray(x) ? "array" : T === "object" && de(x, String, (V, K) => K.isPrototypeOf(V)) ? "string" : T;
|
|
48468
|
-
}, Ee = (x) => (T) => se(T) === x, ge = (x) => (T) => typeof T === x, G = (x) => (T) => x === T, Ae = Ee("string"), Q = Ee("array"), Pe = ge("boolean"), lt = G(void 0), $t = (x) => x == null,
|
|
48469
|
+
}, Ee = (x) => (T) => se(T) === x, ge = (x) => (T) => typeof T === x, G = (x) => (T) => x === T, Ae = Ee("string"), Q = Ee("array"), Pe = ge("boolean"), lt = G(void 0), $t = (x) => x == null, xn = (x) => !$t(x), Gn = ge("function"), Ro = ge("number"), Gs = () => {
|
|
48469
48470
|
}, Io = (x, T) => (V) => x(T(V)), Pt = (x) => () => x, pr = (x) => x, un = (x, T) => x === T;
|
|
48470
48471
|
function me(x, ...T) {
|
|
48471
48472
|
return (...V) => {
|
|
@@ -48528,7 +48529,7 @@ Required: ` + m.join(", "));
|
|
|
48528
48529
|
throw new Error(T ?? "Called getOrDie on None");
|
|
48529
48530
|
}
|
|
48530
48531
|
static from(T) {
|
|
48531
|
-
return
|
|
48532
|
+
return xn(T) ? oe.some(T) : oe.none();
|
|
48532
48533
|
}
|
|
48533
48534
|
getOrNull() {
|
|
48534
48535
|
return this.tag ? this.value : null;
|
|
@@ -48721,7 +48722,7 @@ Required: ` + m.join(", "));
|
|
|
48721
48722
|
}, Hc = (x) => oe.from(x.dom.previousSibling).map(Jn.fromDom), mi = (x) => oe.from(x.dom.nextSibling).map(Jn.fromDom), xr = (x) => pt(x.dom.childNodes, Jn.fromDom), dr = (x, T) => {
|
|
48722
48723
|
const V = x.dom.childNodes;
|
|
48723
48724
|
return oe.from(V[T]).map(Jn.fromDom);
|
|
48724
|
-
}, Us = (x) => dr(x, 0), vl = (x) => tl(x) &&
|
|
48725
|
+
}, Us = (x) => dr(x, 0), vl = (x) => tl(x) && xn(x.dom.host), Vr = Gn(Element.prototype.attachShadow) && Gn(Node.prototype.getRootNode) ? (x) => Jn.fromDom(x.dom.getRootNode()) : hn, ca = (x) => {
|
|
48725
48726
|
const T = Vr(x);
|
|
48726
48727
|
return vl(T) ? oe.some(T) : oe.none();
|
|
48727
48728
|
}, Is = (x) => Jn.fromDom(x.dom.host), Dr = (x) => {
|
|
@@ -50018,7 +50019,7 @@ Required: ` + T.join(", "));
|
|
|
50018
50019
|
return K.concat(be).concat(Ze).concat(ft).concat(Ot);
|
|
50019
50020
|
}, fb = (x, T, V, K) => {
|
|
50020
50021
|
if (T.tagName === "TD" || T.tagName === "TH")
|
|
50021
|
-
Ae(V) &&
|
|
50022
|
+
Ae(V) && xn(K) ? x.setStyle(T, V, K) : x.setStyles(T, V);
|
|
50022
50023
|
else if (T.children)
|
|
50023
50024
|
for (let be = 0; be < T.children.length; be++)
|
|
50024
50025
|
fb(x, T.children[be], V, K);
|
|
@@ -50731,7 +50732,7 @@ Required: ` + T.join(", "));
|
|
|
50731
50732
|
new RegExp(Ae.katakana),
|
|
50732
50733
|
new RegExp(Ae.extendnumlet),
|
|
50733
50734
|
new RegExp("@")
|
|
50734
|
-
], lt = "", $t = new RegExp("^" + Ae.punctuation + "$"),
|
|
50735
|
+
], lt = "", $t = new RegExp("^" + Ae.punctuation + "$"), xn = /^\s+$/, Gn = Pe, Ro = Q.OTHER, Gs = (qe) => {
|
|
50735
50736
|
let At = Ro;
|
|
50736
50737
|
const Ke = Gn.length;
|
|
50737
50738
|
for (let _e = 0; _e < Ke; ++_e) {
|
|
@@ -50764,7 +50765,7 @@ Required: ` + T.join(", "));
|
|
|
50764
50765
|
return !1;
|
|
50765
50766
|
const Go = qe[At - 1];
|
|
50766
50767
|
return (Ke === Q.MIDLETTER || Ke === Q.MIDNUMLET || _e === Q.AT) && _e === Q.ALETTER && Go === Q.ALETTER || (Ke === Q.NUMERIC || Ke === Q.ALETTER) && (_e === Q.NUMERIC || _e === Q.ALETTER) || (Ke === Q.MIDNUM || Ke === Q.MIDNUMLET) && _e === Q.NUMERIC && Go === Q.NUMERIC || Ke === Q.NUMERIC && (_e === Q.MIDNUM || _e === Q.MIDNUMLET) && yn === Q.NUMERIC || (Ke === Q.EXTEND || Ke === Q.FORMAT) && (_e === Q.ALETTER || _e === Q.NUMERIC || _e === Q.KATAKANA || _e === Q.EXTEND || _e === Q.FORMAT) || (_e === Q.EXTEND || _e === Q.FORMAT && (yn === Q.ALETTER || yn === Q.NUMERIC || yn === Q.KATAKANA || yn === Q.EXTEND || yn === Q.FORMAT)) && (Ke === Q.ALETTER || Ke === Q.NUMERIC || Ke === Q.KATAKANA || Ke === Q.EXTEND || Ke === Q.FORMAT) || Ke === Q.CR && _e === Q.LF ? !1 : Ke === Q.NEWLINE || Ke === Q.CR || Ke === Q.LF || _e === Q.NEWLINE || _e === Q.CR || _e === Q.LF ? !0 : !(Ke === Q.KATAKANA && _e === Q.KATAKANA || _e === Q.EXTENDNUMLET && (Ke === Q.ALETTER || Ke === Q.NUMERIC || Ke === Q.KATAKANA || Ke === Q.EXTENDNUMLET) || Ke === Q.EXTENDNUMLET && (_e === Q.ALETTER || _e === Q.NUMERIC || _e === Q.KATAKANA) || Ke === Q.AT);
|
|
50767
|
-
}, un = lt, me =
|
|
50768
|
+
}, un = lt, me = xn, _t = $t, Ea = (qe) => qe === "http" || qe === "https", Qn = (qe, At) => {
|
|
50768
50769
|
let Ke;
|
|
50769
50770
|
for (Ke = At; Ke < qe.length && !me.test(qe[Ke]); Ke++)
|
|
50770
50771
|
;
|
|
@@ -51013,8 +51014,8 @@ const MQ = { class: "font-bold ptext-lg dark:text-white" }, PQ = ["id"], BQ = /*
|
|
|
51013
51014
|
"gl-textarea-form-invalid mt-4": R.error_message !== ""
|
|
51014
51015
|
}]),
|
|
51015
51016
|
type: R.type,
|
|
51016
|
-
"onUpdate:modelValue": $t[0] || ($t[0] = (
|
|
51017
|
-
onKeydown: $t[1] || ($t[1] = (
|
|
51017
|
+
"onUpdate:modelValue": $t[0] || ($t[0] = (xn) => Pe.value = xn),
|
|
51018
|
+
onKeydown: $t[1] || ($t[1] = (xn) => lt.$emit("keydown", xn)),
|
|
51018
51019
|
ref_key: "input",
|
|
51019
51020
|
ref: G,
|
|
51020
51021
|
rows: "4"
|
|
@@ -51494,12 +51495,12 @@ function kee(R, de, se, Ee, ge, G) {
|
|
|
51494
51495
|
key: lt,
|
|
51495
51496
|
class: "bg-white dark:bg-gray-800 dark:border-gray-700 hover:bg-gray-50 dark:hover:bg-gray-600 hover:dark:text-gray-200 text-gray-500"
|
|
51496
51497
|
}, [
|
|
51497
|
-
(ve(!0), xe(vo, null, hr(se.columns, ($t,
|
|
51498
|
-
key:
|
|
51498
|
+
(ve(!0), xe(vo, null, hr(se.columns, ($t, xn) => (ve(), xe("td", {
|
|
51499
|
+
key: xn,
|
|
51499
51500
|
"data-label": $t.field_label,
|
|
51500
51501
|
class: an(["text-pretty before:content-[attr(data-label)] before:font-bold lg:before:content-none flex flex-col justify-between gap-2 lg:table-cell py-4 px-5 lg:py-3 lg:px-4 border-[0.3px] dark:border-gray-700", {
|
|
51501
|
-
"rounded-t-lg lg:rounded-t-none":
|
|
51502
|
-
"rounded-b-lg lg:rounded-b-none":
|
|
51502
|
+
"rounded-t-lg lg:rounded-t-none": xn === 0,
|
|
51503
|
+
"rounded-b-lg lg:rounded-b-none": xn === se.columns.length - 1
|
|
51503
51504
|
}])
|
|
51504
51505
|
}, [
|
|
51505
51506
|
P("div", See, [
|
|
@@ -51823,9 +51824,9 @@ function pte(R, de, se, Ee, ge, G) {
|
|
|
51823
51824
|
field: lt.field_name,
|
|
51824
51825
|
xprops: se.xprops,
|
|
51825
51826
|
tdProps: lt.tdProps,
|
|
51826
|
-
onDeleteAction: de[2] || (de[2] = (
|
|
51827
|
-
onEditAction: (
|
|
51828
|
-
onGeneralAction: (
|
|
51827
|
+
onDeleteAction: de[2] || (de[2] = (xn) => G.GetItemLists()),
|
|
51828
|
+
onEditAction: (xn) => G.editAction(Q),
|
|
51829
|
+
onGeneralAction: (xn) => G.generalAction(Q)
|
|
51829
51830
|
}, null, 40, ["row", "field", "xprops", "tdProps", "onEditAction", "onGeneralAction"])) : (ve(), xe(vo, { key: 1 }, [
|
|
51830
51831
|
_o(gt(Q[lt.field_name]), 1)
|
|
51831
51832
|
], 64))
|
|
@@ -52133,8 +52134,8 @@ function Ute(R, de, se, Ee, ge, G) {
|
|
|
52133
52134
|
class: "text-pretty before:content-[attr(data-label)] before:font-bold lg:before:content-none flex md:flex-row flex-col justify-between gap-2 lg:table-cell py-4 px-5 lg:py-3 lg:px-4 border dark:border-gray-700"
|
|
52134
52135
|
}, gt(lt), 9, Fte)
|
|
52135
52136
|
]),
|
|
52136
|
-
(ve(!0), xe(vo, null, hr(Pe, ($t,
|
|
52137
|
-
key:
|
|
52137
|
+
(ve(!0), xe(vo, null, hr(Pe, ($t, xn) => (ve(), xe("tr", {
|
|
52138
|
+
key: xn,
|
|
52138
52139
|
class: "bg-white dark:bg-gray-800 dark:border-gray-700 hover:bg-gray-50 dark:hover:bg-gray-600 hover:dark:text-gray-200 text-gray-500"
|
|
52139
52140
|
}, [
|
|
52140
52141
|
(ve(!0), xe(vo, null, hr(se.columns, (Gn, Ro) => (ve(), xe("td", {
|
|
@@ -52495,9 +52496,9 @@ const Qae = /* @__PURE__ */ Jr(Rne, [["render", $ne]]), Mne = {
|
|
|
52495
52496
|
const R = Vo(!1), de = QG("accordionsWrapper"), Ee = (() => {
|
|
52496
52497
|
var lt = (/* @__PURE__ */ new Date()).getTime();
|
|
52497
52498
|
typeof performance < "u" && typeof performance.now == "function" && (lt += performance.now());
|
|
52498
|
-
var $t = "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, function(
|
|
52499
|
+
var $t = "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, function(xn) {
|
|
52499
52500
|
var Gn = (lt + Math.random() * 16) % 16 | 0;
|
|
52500
|
-
return lt = Math.floor(lt / 16), (
|
|
52501
|
+
return lt = Math.floor(lt / 16), (xn === "x" ? Gn : Gn & 3 | 8).toString(16);
|
|
52501
52502
|
});
|
|
52502
52503
|
return $t;
|
|
52503
52504
|
})(), ge = { isOpen: R, id: Ee }, G = vc(() => de.accordions.value), Ae = vc(() => G.value.length > 0 && G.value[0].id === Ee), Q = vc(() => G.value.length > 0 && G.value[G.value.length - 1].id === Ee);
|
|
@@ -52746,11 +52747,11 @@ const ele = /* @__PURE__ */ Jr(Mne, [["render", Vne]]), zne = {
|
|
|
52746
52747
|
type: "success",
|
|
52747
52748
|
duration: 5e3
|
|
52748
52749
|
});
|
|
52749
|
-
}).catch((
|
|
52750
|
-
console.log(
|
|
52750
|
+
}).catch((xn) => {
|
|
52751
|
+
console.log(xn);
|
|
52751
52752
|
});
|
|
52752
52753
|
};
|
|
52753
|
-
return (
|
|
52754
|
+
return (xn, Gn) => {
|
|
52754
52755
|
const Ro = nq("click-outside");
|
|
52755
52756
|
return ve(), xe(vo, null, [
|
|
52756
52757
|
cb(Oj, {
|
|
@@ -52758,7 +52759,7 @@ const ele = /* @__PURE__ */ Jr(Mne, [["render", Vne]]), zne = {
|
|
|
52758
52759
|
onConfirmDelete: $t,
|
|
52759
52760
|
onCancelDelete: Q
|
|
52760
52761
|
}, null, 8, ["isOpen"]),
|
|
52761
|
-
R.row &&
|
|
52762
|
+
R.row && xn.can(`edit_${R.xprops.permission} || delete_${R.xprops.permission}`) ? Qa((ve(), xe("div", aoe, [
|
|
52762
52763
|
P("button", {
|
|
52763
52764
|
onClick: Ae,
|
|
52764
52765
|
class: "inline-flex items-center p-2 text-sm font-medium text-center text-gray-900 bg-white rounded-lg hover:bg-gray-100 focus:ring-4 focus:outline-none dark:text-white focus:ring-gray-50 dark:bg-gray-800 dark:hover:bg-gray-700 dark:focus:ring-gray-600",
|
|
@@ -52766,7 +52767,7 @@ const ele = /* @__PURE__ */ Jr(Mne, [["render", Vne]]), zne = {
|
|
|
52766
52767
|
}, coe),
|
|
52767
52768
|
Qa(P("div", ioe, [
|
|
52768
52769
|
P("ul", uoe, [
|
|
52769
|
-
|
|
52770
|
+
xn.can(`edit_${R.xprops.permission}`) ? (ve(), xe("li", doe, [
|
|
52770
52771
|
P("a", {
|
|
52771
52772
|
href: R.xprops.route + "/" + R.row.id + "/edit",
|
|
52772
52773
|
class: "block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white"
|
|
@@ -52775,7 +52776,7 @@ const ele = /* @__PURE__ */ Jr(Mne, [["render", Vne]]), zne = {
|
|
|
52775
52776
|
_o(" Edit")
|
|
52776
52777
|
], 8, moe)
|
|
52777
52778
|
])) : yt("", !0),
|
|
52778
|
-
|
|
52779
|
+
xn.can(`delete_${R.xprops.permission}`) ? (ve(), xe("li", goe, [
|
|
52779
52780
|
P("a", {
|
|
52780
52781
|
href: "#",
|
|
52781
52782
|
onClick: oc(Pe, ["prevent"]),
|
|
@@ -52852,11 +52853,11 @@ const ele = /* @__PURE__ */ Jr(Mne, [["render", Vne]]), zne = {
|
|
|
52852
52853
|
type: "success",
|
|
52853
52854
|
duration: 5e3
|
|
52854
52855
|
});
|
|
52855
|
-
}).catch((
|
|
52856
|
-
console.log(
|
|
52856
|
+
}).catch((xn) => {
|
|
52857
|
+
console.log(xn);
|
|
52857
52858
|
});
|
|
52858
52859
|
};
|
|
52859
|
-
return (
|
|
52860
|
+
return (xn, Gn) => {
|
|
52860
52861
|
const Ro = nq("click-outside");
|
|
52861
52862
|
return ve(), xe(vo, null, [
|
|
52862
52863
|
cb(Oj, {
|
|
@@ -52864,7 +52865,7 @@ const ele = /* @__PURE__ */ Jr(Mne, [["render", Vne]]), zne = {
|
|
|
52864
52865
|
onConfirmDelete: $t,
|
|
52865
52866
|
onCancelDelete: Q
|
|
52866
52867
|
}, null, 8, ["isOpen"]),
|
|
52867
|
-
R.row &&
|
|
52868
|
+
R.row && xn.can(`delete_${R.xprops.permission}`) ? Qa((ve(), xe("div", poe, [
|
|
52868
52869
|
P("button", {
|
|
52869
52870
|
onClick: Ae,
|
|
52870
52871
|
class: "inline-flex items-center p-2 text-sm font-medium text-center text-gray-900 bg-white rounded-lg hover:bg-gray-100 focus:ring-4 focus:outline-none dark:text-white focus:ring-gray-50 dark:bg-gray-800 dark:hover:bg-gray-700 dark:focus:ring-gray-600",
|
|
@@ -52872,7 +52873,7 @@ const ele = /* @__PURE__ */ Jr(Mne, [["render", Vne]]), zne = {
|
|
|
52872
52873
|
}, voe),
|
|
52873
52874
|
Qa(P("div", yoe, [
|
|
52874
52875
|
P("ul", woe, [
|
|
52875
|
-
|
|
52876
|
+
xn.can(`delete_${R.xprops.permission}`) ? (ve(), xe("li", xoe, [
|
|
52876
52877
|
P("a", {
|
|
52877
52878
|
href: "#",
|
|
52878
52879
|
onClick: oc(Pe, ["prevent"]),
|
|
@@ -53517,7 +53518,7 @@ const yle = /* @__PURE__ */ Jr(cre, [["render", wre]]), xre = {
|
|
|
53517
53518
|
Q.value = Ro, Pe.value = Gs;
|
|
53518
53519
|
})), $t = () => {
|
|
53519
53520
|
Ae.value = !1, Q.value(!0);
|
|
53520
|
-
},
|
|
53521
|
+
}, xn = () => {
|
|
53521
53522
|
Ae.value = !1, Q.value(!1);
|
|
53522
53523
|
};
|
|
53523
53524
|
return de({
|
|
@@ -53544,7 +53545,7 @@ const yle = /* @__PURE__ */ Jr(cre, [["render", wre]]), xre = {
|
|
|
53544
53545
|
class: "inline-flex justify-center w-full px-4 py-2 text-base font-medium text-white bg-red-600 border border-transparent rounded-md shadow-sm hover:bg-red-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-red-500 sm:ml-3 sm:w-auto sm:text-sm"
|
|
53545
53546
|
}, gt(ge.value), 1),
|
|
53546
53547
|
P("button", {
|
|
53547
|
-
onClick:
|
|
53548
|
+
onClick: xn,
|
|
53548
53549
|
type: "button",
|
|
53549
53550
|
class: "inline-flex justify-center w-full px-4 py-2 mt-3 text-base font-medium text-gray-700 bg-white border border-gray-300 rounded-md shadow-sm hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 sm:mt-0 sm:ml-3 sm:w-auto sm:text-sm"
|
|
53550
53551
|
}, gt(G.value), 1)
|