fx-platform-ui 0.0.13-alpha2 → 0.0.13-alpha3
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/CHANGELOG.md +46 -0
- package/lib/fx-platform-ui.mjs +604 -625
- package/lib/fx-platform-ui.umd.js +10 -10
- package/lib/packages/components/editor/src/hook/useEditorState.d.ts +0 -20
- package/lib/packages/components/editor/src/index.vue.d.ts +3 -26
- package/lib/packages/components/editor/src/plat-editor-emits.d.ts +1 -0
- package/lib/style.css +1 -1
- package/package.json +1 -1
- package/packages/components/editor/src/hook/useEditorState.ts +23 -23
- package/packages/components/editor/src/index.vue +2 -1
- package/packages/components/editor/src/plat-editor-emits.ts +1 -1
package/lib/fx-platform-ui.mjs
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { Fragment as Ua, isVNode as Cm, Comment as Ice, Text as lY, defineComponent as vn, reactive as fi, getCurrentInstance as Om, onMounted as ns, onUpdated as J1, onUnmounted as VS, watch as Bn, inject as Da, computed as ke, unref as En, createVNode as X, provide as Fa, Transition as WO, Teleport as cY, ref as ot, TransitionGroup as rre, render as YJ, h as WL, nextTick as ts, watchEffect as Br, withDirectives as Gh, resolveDirective as Fce, onBeforeUnmount as Ss, cloneVNode as IO, toRef as yr, withModifiers as XJ, vShow as
|
|
1
|
+
import { Fragment as Ua, isVNode as Cm, Comment as Ice, Text as lY, defineComponent as vn, reactive as fi, getCurrentInstance as Om, onMounted as ns, onUpdated as J1, onUnmounted as VS, watch as Bn, inject as Da, computed as ke, unref as En, createVNode as X, provide as Fa, Transition as WO, Teleport as cY, ref as ot, TransitionGroup as rre, render as YJ, h as WL, nextTick as ts, watchEffect as Br, withDirectives as Gh, resolveDirective as Fce, onBeforeUnmount as Ss, cloneVNode as IO, toRef as yr, withModifiers as XJ, vShow as IN, onBeforeMount as are, createTextVNode as xm, isRef as sre, toRefs as pC, shallowRef as ca, toRaw as nc, useAttrs as ire, onBeforeUpdate as lre, camelize as uY, onActivated as v8, renderSlot as pf, resolveComponent as Bce, openBlock as hl, createBlock as td, normalizeProps as Rv, mergeProps as vf, withCtx as Mc, createElementVNode as cre, normalizeStyle as Lce, toDisplayString as ZL, createCommentVNode as Kh, resolveDynamicComponent as GL, toHandlers as Vce, createSlots as SN, renderList as q1, guardReactiveProps as PO, createElementBlock as vC, onDeactivated as Hce, useCssVars as zce } from "vue";
|
|
2
2
|
var jce = typeof global == "object" && global && global.Object === Object && global;
|
|
3
3
|
const ure = jce;
|
|
4
4
|
var Kce = typeof self == "object" && self && self.Object === Object && self, Uce = ure || Kce || Function("return this")();
|
|
5
5
|
const qh = Uce;
|
|
6
6
|
var Wce = qh.Symbol;
|
|
7
7
|
const Eg = Wce;
|
|
8
|
-
var dre = Object.prototype, Zce = dre.hasOwnProperty, Gce = dre.toString,
|
|
8
|
+
var dre = Object.prototype, Zce = dre.hasOwnProperty, Gce = dre.toString, tN = Eg ? Eg.toStringTag : void 0;
|
|
9
9
|
function qce(a) {
|
|
10
|
-
var t = Zce.call(a,
|
|
10
|
+
var t = Zce.call(a, tN), i = a[tN];
|
|
11
11
|
try {
|
|
12
|
-
a[
|
|
12
|
+
a[tN] = void 0;
|
|
13
13
|
var c = !0;
|
|
14
14
|
} catch {
|
|
15
15
|
}
|
|
16
16
|
var f = Gce.call(a);
|
|
17
|
-
return c && (t ? a[
|
|
17
|
+
return c && (t ? a[tN] = i : delete a[tN]), f;
|
|
18
18
|
}
|
|
19
19
|
var Yce = Object.prototype, Xce = Yce.toString;
|
|
20
20
|
function Qce(a) {
|
|
@@ -264,7 +264,7 @@ function hY(a, t, i) {
|
|
|
264
264
|
var c = a[t];
|
|
265
265
|
(!(ede.call(a, t) && gY(c, i)) || i === void 0 && !(t in a)) && pre(a, t, i);
|
|
266
266
|
}
|
|
267
|
-
function
|
|
267
|
+
function FN(a, t, i, c) {
|
|
268
268
|
var f = !i;
|
|
269
269
|
i || (i = {});
|
|
270
270
|
for (var p = -1, C = t.length; ++p < C; ) {
|
|
@@ -330,9 +330,9 @@ function w8(a) {
|
|
|
330
330
|
return a(t);
|
|
331
331
|
};
|
|
332
332
|
}
|
|
333
|
-
var Cre = typeof exports == "object" && exports && !exports.nodeType && exports,
|
|
333
|
+
var Cre = typeof exports == "object" && exports && !exports.nodeType && exports, uN = Cre && typeof module == "object" && module && !module.nodeType && module, Bde = uN && uN.exports === Cre, AZ = Bde && ure.process, Lde = function() {
|
|
334
334
|
try {
|
|
335
|
-
var a =
|
|
335
|
+
var a = uN && uN.require && uN.require("util").types;
|
|
336
336
|
return a || AZ && AZ.binding && AZ.binding("util");
|
|
337
337
|
} catch {
|
|
338
338
|
}
|
|
@@ -363,7 +363,7 @@ function Zde(a) {
|
|
|
363
363
|
Wde.call(a, i) && i != "constructor" && t.push(i);
|
|
364
364
|
return t;
|
|
365
365
|
}
|
|
366
|
-
function
|
|
366
|
+
function BN(a) {
|
|
367
367
|
return C8(a) ? xre(a) : Zde(a);
|
|
368
368
|
}
|
|
369
369
|
function Gde(a) {
|
|
@@ -393,9 +393,9 @@ function CY(a, t) {
|
|
|
393
393
|
return i == "number" || i == "symbol" || i == "boolean" || a == null || b8(a) ? !0 : Jde.test(a) || !Qde.test(a) || t != null && a in Object(t);
|
|
394
394
|
}
|
|
395
395
|
var efe = zS(Object, "create");
|
|
396
|
-
const
|
|
396
|
+
const kN = efe;
|
|
397
397
|
function tfe() {
|
|
398
|
-
this.__data__ =
|
|
398
|
+
this.__data__ = kN ? kN(null) : {}, this.size = 0;
|
|
399
399
|
}
|
|
400
400
|
function nfe(a) {
|
|
401
401
|
var t = this.has(a) && delete this.__data__[a];
|
|
@@ -404,7 +404,7 @@ function nfe(a) {
|
|
|
404
404
|
var ofe = "__lodash_hash_undefined__", rfe = Object.prototype, afe = rfe.hasOwnProperty;
|
|
405
405
|
function sfe(a) {
|
|
406
406
|
var t = this.__data__;
|
|
407
|
-
if (
|
|
407
|
+
if (kN) {
|
|
408
408
|
var i = t[a];
|
|
409
409
|
return i === ofe ? void 0 : i;
|
|
410
410
|
}
|
|
@@ -413,12 +413,12 @@ function sfe(a) {
|
|
|
413
413
|
var ife = Object.prototype, lfe = ife.hasOwnProperty;
|
|
414
414
|
function cfe(a) {
|
|
415
415
|
var t = this.__data__;
|
|
416
|
-
return
|
|
416
|
+
return kN ? t[a] !== void 0 : lfe.call(t, a);
|
|
417
417
|
}
|
|
418
418
|
var ufe = "__lodash_hash_undefined__";
|
|
419
419
|
function dfe(a, t) {
|
|
420
420
|
var i = this.__data__;
|
|
421
|
-
return this.size += this.has(a) ? 0 : 1, i[a] =
|
|
421
|
+
return this.size += this.has(a) ? 0 : 1, i[a] = kN && t === void 0 ? ufe : t, this;
|
|
422
422
|
}
|
|
423
423
|
function FS(a) {
|
|
424
424
|
var t = -1, i = a == null ? 0 : a.length;
|
|
@@ -473,11 +473,11 @@ ey.prototype.get = pfe;
|
|
|
473
473
|
ey.prototype.has = vfe;
|
|
474
474
|
ey.prototype.set = bfe;
|
|
475
475
|
var yfe = zS(qh, "Map");
|
|
476
|
-
const
|
|
476
|
+
const EN = yfe;
|
|
477
477
|
function Cfe() {
|
|
478
478
|
this.size = 0, this.__data__ = {
|
|
479
479
|
hash: new FS(),
|
|
480
|
-
map: new (
|
|
480
|
+
map: new (EN || ey)(),
|
|
481
481
|
string: new FS()
|
|
482
482
|
};
|
|
483
483
|
}
|
|
@@ -627,7 +627,7 @@ function Yfe(a, t) {
|
|
|
627
627
|
var i = this.__data__;
|
|
628
628
|
if (i instanceof ey) {
|
|
629
629
|
var c = i.__data__;
|
|
630
|
-
if (!
|
|
630
|
+
if (!EN || c.length < qfe - 1)
|
|
631
631
|
return c.push([a, t]), this.size = ++i.size, this;
|
|
632
632
|
i = this.__data__ = new ty(c);
|
|
633
633
|
}
|
|
@@ -643,10 +643,10 @@ $v.prototype.get = Zfe;
|
|
|
643
643
|
$v.prototype.has = Gfe;
|
|
644
644
|
$v.prototype.set = Yfe;
|
|
645
645
|
function Xfe(a, t) {
|
|
646
|
-
return a &&
|
|
646
|
+
return a && FN(t, BN(t), a);
|
|
647
647
|
}
|
|
648
648
|
function Qfe(a, t) {
|
|
649
|
-
return a &&
|
|
649
|
+
return a && FN(t, yY(t), a);
|
|
650
650
|
}
|
|
651
651
|
var Pre = typeof exports == "object" && exports && !exports.nodeType && exports, dee = Pre && typeof module == "object" && module && !module.nodeType && module, Jfe = dee && dee.exports === Pre, fee = Jfe ? qh.Buffer : void 0, mee = fee ? fee.allocUnsafe : void 0;
|
|
652
652
|
function eme(a, t) {
|
|
@@ -672,7 +672,7 @@ var nme = Object.prototype, ome = nme.propertyIsEnumerable, gee = Object.getOwnP
|
|
|
672
672
|
} : _re;
|
|
673
673
|
const kY = rme;
|
|
674
674
|
function ame(a, t) {
|
|
675
|
-
return
|
|
675
|
+
return FN(a, kY(a), t);
|
|
676
676
|
}
|
|
677
677
|
var sme = Object.getOwnPropertySymbols, ime = sme ? function(a) {
|
|
678
678
|
for (var t = []; a; )
|
|
@@ -681,14 +681,14 @@ var sme = Object.getOwnPropertySymbols, ime = sme ? function(a) {
|
|
|
681
681
|
} : _re;
|
|
682
682
|
const Are = ime;
|
|
683
683
|
function lme(a, t) {
|
|
684
|
-
return
|
|
684
|
+
return FN(a, Are(a), t);
|
|
685
685
|
}
|
|
686
686
|
function Dre(a, t, i) {
|
|
687
687
|
var c = t(a);
|
|
688
688
|
return yf(a) ? c : xY(c, i(a));
|
|
689
689
|
}
|
|
690
690
|
function NG(a) {
|
|
691
|
-
return Dre(a,
|
|
691
|
+
return Dre(a, BN, kY);
|
|
692
692
|
}
|
|
693
693
|
function Mre(a) {
|
|
694
694
|
return Dre(a, yY, Are);
|
|
@@ -699,8 +699,8 @@ var ume = zS(qh, "Promise");
|
|
|
699
699
|
const $G = ume;
|
|
700
700
|
var dme = zS(qh, "Set");
|
|
701
701
|
const _O = dme;
|
|
702
|
-
var hee = "[object Map]", fme = "[object Object]", pee = "[object Promise]", vee = "[object Set]", bee = "[object WeakMap]", yee = "[object DataView]", mme = HS(RG), gme = HS(
|
|
703
|
-
(RG && PS(new RG(new ArrayBuffer(1))) != yee ||
|
|
702
|
+
var hee = "[object Map]", fme = "[object Object]", pee = "[object Promise]", vee = "[object Set]", bee = "[object WeakMap]", yee = "[object DataView]", mme = HS(RG), gme = HS(EN), hme = HS($G), pme = HS(_O), vme = HS(MG), PS = wC;
|
|
703
|
+
(RG && PS(new RG(new ArrayBuffer(1))) != yee || EN && PS(new EN()) != hee || $G && PS($G.resolve()) != pee || _O && PS(new _O()) != vee || MG && PS(new MG()) != bee) && (PS = function(a) {
|
|
704
704
|
var t = wC(a), i = t == fme ? a.constructor : void 0, c = i ? HS(i) : "";
|
|
705
705
|
if (c)
|
|
706
706
|
switch (c) {
|
|
@@ -717,7 +717,7 @@ var hee = "[object Map]", fme = "[object Object]", pee = "[object Promise]", vee
|
|
|
717
717
|
}
|
|
718
718
|
return t;
|
|
719
719
|
});
|
|
720
|
-
const
|
|
720
|
+
const TN = PS;
|
|
721
721
|
var bme = Object.prototype, yme = bme.hasOwnProperty;
|
|
722
722
|
function Cme(a) {
|
|
723
723
|
var t = a.length, i = new a.constructor(t);
|
|
@@ -785,20 +785,20 @@ function Zme(a) {
|
|
|
785
785
|
}
|
|
786
786
|
var Gme = "[object Map]";
|
|
787
787
|
function qme(a) {
|
|
788
|
-
return Zh(a) &&
|
|
788
|
+
return Zh(a) && TN(a) == Gme;
|
|
789
789
|
}
|
|
790
790
|
var xee = FO && FO.isMap, Yme = xee ? w8(xee) : qme;
|
|
791
791
|
const Xme = Yme;
|
|
792
792
|
var Qme = "[object Set]";
|
|
793
793
|
function Jme(a) {
|
|
794
|
-
return Zh(a) &&
|
|
794
|
+
return Zh(a) && TN(a) == Qme;
|
|
795
795
|
}
|
|
796
796
|
var See = FO && FO.isSet, ege = See ? w8(See) : Jme;
|
|
797
797
|
const tge = ege;
|
|
798
798
|
var nge = 1, oge = 2, rge = 4, Nre = "[object Arguments]", age = "[object Array]", sge = "[object Boolean]", ige = "[object Date]", lge = "[object Error]", Rre = "[object Function]", cge = "[object GeneratorFunction]", uge = "[object Map]", dge = "[object Number]", $re = "[object Object]", fge = "[object RegExp]", mge = "[object Set]", gge = "[object String]", hge = "[object Symbol]", pge = "[object WeakMap]", vge = "[object ArrayBuffer]", bge = "[object DataView]", yge = "[object Float32Array]", Cge = "[object Float64Array]", wge = "[object Int8Array]", xge = "[object Int16Array]", Sge = "[object Int32Array]", kge = "[object Uint8Array]", Ege = "[object Uint8ClampedArray]", Tge = "[object Uint16Array]", Oge = "[object Uint32Array]", ji = {};
|
|
799
799
|
ji[Nre] = ji[age] = ji[vge] = ji[bge] = ji[sge] = ji[ige] = ji[yge] = ji[Cge] = ji[wge] = ji[xge] = ji[Sge] = ji[uge] = ji[dge] = ji[$re] = ji[fge] = ji[mge] = ji[gge] = ji[hge] = ji[kge] = ji[Ege] = ji[Tge] = ji[Oge] = !0;
|
|
800
800
|
ji[lge] = ji[Rre] = ji[pge] = !1;
|
|
801
|
-
function
|
|
801
|
+
function dN(a, t, i, c, f, p) {
|
|
802
802
|
var C, y = t & nge, x = t & oge, E = t & rge;
|
|
803
803
|
if (i && (C = f ? i(a, c, f, p) : i(a)), C !== void 0)
|
|
804
804
|
return C;
|
|
@@ -809,7 +809,7 @@ function d3(a, t, i, c, f, p) {
|
|
|
809
809
|
if (C = Cme(a), !y)
|
|
810
810
|
return Fue(a, C);
|
|
811
811
|
} else {
|
|
812
|
-
var P =
|
|
812
|
+
var P = TN(a), R = P == Rre || P == cge;
|
|
813
813
|
if (YL(a))
|
|
814
814
|
return eme(a, y);
|
|
815
815
|
if (P == $re || P == Nre || R && !f) {
|
|
@@ -826,18 +826,18 @@ function d3(a, t, i, c, f, p) {
|
|
|
826
826
|
if (D)
|
|
827
827
|
return D;
|
|
828
828
|
p.set(a, C), tge(a) ? a.forEach(function($) {
|
|
829
|
-
C.add(
|
|
829
|
+
C.add(dN($, t, i, $, a, p));
|
|
830
830
|
}) : Xme(a) && a.forEach(function($, B) {
|
|
831
|
-
C.set(B,
|
|
831
|
+
C.set(B, dN($, t, i, B, a, p));
|
|
832
832
|
});
|
|
833
|
-
var V = E ? x ? Mre : NG : x ? yY :
|
|
833
|
+
var V = E ? x ? Mre : NG : x ? yY : BN, L = _ ? void 0 : V(a);
|
|
834
834
|
return Zue(L || a, function($, B) {
|
|
835
|
-
L && (B = $, $ = a[B]), hY(C, B,
|
|
835
|
+
L && (B = $, $ = a[B]), hY(C, B, dN($, t, i, B, a, p));
|
|
836
836
|
}), C;
|
|
837
837
|
}
|
|
838
838
|
var Pge = 1, _ge = 4;
|
|
839
839
|
function bC(a) {
|
|
840
|
-
return
|
|
840
|
+
return dN(a, Pge | _ge);
|
|
841
841
|
}
|
|
842
842
|
var Age = "__lodash_hash_undefined__";
|
|
843
843
|
function Dge(a) {
|
|
@@ -978,7 +978,7 @@ function ehe(a, t, i, c, f, p) {
|
|
|
978
978
|
}
|
|
979
979
|
var the = 1, Eee = "[object Arguments]", Tee = "[object Array]", rL = "[object Object]", nhe = Object.prototype, Oee = nhe.hasOwnProperty;
|
|
980
980
|
function ohe(a, t, i, c, f, p) {
|
|
981
|
-
var C = yf(a), y = yf(t), x = C ? Tee :
|
|
981
|
+
var C = yf(a), y = yf(t), x = C ? Tee : TN(a), E = y ? Tee : TN(t);
|
|
982
982
|
x = x == Eee ? rL : x, E = E == Eee ? rL : E;
|
|
983
983
|
var _ = x == rL, P = E == rL, R = x == E;
|
|
984
984
|
if (R && YL(a)) {
|
|
@@ -1030,7 +1030,7 @@ function Fre(a) {
|
|
|
1030
1030
|
return a === a && !Sm(a);
|
|
1031
1031
|
}
|
|
1032
1032
|
function ihe(a) {
|
|
1033
|
-
for (var t =
|
|
1033
|
+
for (var t = BN(a), i = t.length; i--; ) {
|
|
1034
1034
|
var c = t[i], f = a[c];
|
|
1035
1035
|
t[i] = [c, f, Fre(f)];
|
|
1036
1036
|
}
|
|
@@ -1156,7 +1156,7 @@ function She(a) {
|
|
|
1156
1156
|
var f = Object(t);
|
|
1157
1157
|
if (!C8(t)) {
|
|
1158
1158
|
var p = OY(i);
|
|
1159
|
-
t =
|
|
1159
|
+
t = BN(t), i = function(y) {
|
|
1160
1160
|
return p(f[y], y, f);
|
|
1161
1161
|
};
|
|
1162
1162
|
}
|
|
@@ -1237,7 +1237,7 @@ var Lhe = 1, Vhe = 2, Hhe = 4, zhe = Ere(function(a, t) {
|
|
|
1237
1237
|
var c = !1;
|
|
1238
1238
|
t = y8(t, function(p) {
|
|
1239
1239
|
return p = ZO(p, a), c || (c = p.length > 1), p;
|
|
1240
|
-
}),
|
|
1240
|
+
}), FN(a, Mre(a), i), c && (i = dN(i, Lhe | Vhe | Hhe, Bhe));
|
|
1241
1241
|
for (var f = t.length; f--; )
|
|
1242
1242
|
Fhe(i, t[f]);
|
|
1243
1243
|
return i;
|
|
@@ -1397,7 +1397,7 @@ function upe(a, t, i, c) {
|
|
|
1397
1397
|
function Aee(a) {
|
|
1398
1398
|
return typeof a == "number" ? "".concat(a, "px") : a;
|
|
1399
1399
|
}
|
|
1400
|
-
function
|
|
1400
|
+
function sN(a) {
|
|
1401
1401
|
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, i = arguments.length > 2 ? arguments[2] : void 0;
|
|
1402
1402
|
return typeof a == "function" ? a(t) : a != null ? a : i;
|
|
1403
1403
|
}
|
|
@@ -2236,7 +2236,7 @@ const VO = Vpe, lae = vn({
|
|
|
2236
2236
|
};
|
|
2237
2237
|
}
|
|
2238
2238
|
});
|
|
2239
|
-
function
|
|
2239
|
+
function LN(a, t, i) {
|
|
2240
2240
|
var c = Da("localeData", {}), f = ke(function() {
|
|
2241
2241
|
var p = c.antLocale, C = En(t) || VO[a || "global"], y = a && p ? p[a] : {};
|
|
2242
2242
|
return Z(Z(Z({}, typeof C == "function" ? C() : C), y || {}), En(i) || {});
|
|
@@ -2372,13 +2372,13 @@ var BS = function(a) {
|
|
|
2372
2372
|
}, vae = function(a) {
|
|
2373
2373
|
return a;
|
|
2374
2374
|
}, ed = vae;
|
|
2375
|
-
if ({ APP_NAME: "fx-platform-ui", APP_VERSION: "0.0.13-
|
|
2375
|
+
if ({ APP_NAME: "fx-platform-ui", APP_VERSION: "0.0.13-alpha3", APP_BUILD_TIME: "2022-11-21 18:19:45" }.NODE_ENV !== "production") {
|
|
2376
2376
|
var Kpe = typeof console < "u";
|
|
2377
2377
|
ed = Kpe ? function(a) {
|
|
2378
2378
|
console.warn("[VueTypes warn]: " + a);
|
|
2379
2379
|
} : vae;
|
|
2380
2380
|
}
|
|
2381
|
-
var
|
|
2381
|
+
var ON = function(a, t) {
|
|
2382
2382
|
return jpe.call(a, t);
|
|
2383
2383
|
}, Upe = Number.isInteger || function(a) {
|
|
2384
2384
|
return typeof a == "number" && isFinite(a) && Math.floor(a) === a;
|
|
@@ -2387,10 +2387,10 @@ var O3 = function(a, t) {
|
|
|
2387
2387
|
}, zO = function(a) {
|
|
2388
2388
|
return hae.call(a) === "[object Function]";
|
|
2389
2389
|
}, n8 = function(a) {
|
|
2390
|
-
return BS(a) &&
|
|
2390
|
+
return BS(a) && ON(a, "_vueTypes_name");
|
|
2391
2391
|
}, bae = function(a) {
|
|
2392
|
-
return BS(a) && (
|
|
2393
|
-
return
|
|
2392
|
+
return BS(a) && (ON(a, "type") || ["_vueTypes_name", "validator", "default", "required"].some(function(t) {
|
|
2393
|
+
return ON(a, t);
|
|
2394
2394
|
}));
|
|
2395
2395
|
};
|
|
2396
2396
|
function RY(a, t) {
|
|
@@ -2420,7 +2420,7 @@ function jS(a, t, i) {
|
|
|
2420
2420
|
var y = C + 'value "' + t + '" should be of type "' + p + '"';
|
|
2421
2421
|
return i === !1 ? (ed(y), !1) : y;
|
|
2422
2422
|
}
|
|
2423
|
-
if (
|
|
2423
|
+
if (ON(c, "validator") && zO(c.validator)) {
|
|
2424
2424
|
var x = ed, E = [];
|
|
2425
2425
|
if (ed = function(P) {
|
|
2426
2426
|
E.push(P);
|
|
@@ -2604,7 +2604,7 @@ var Pv = function() {
|
|
|
2604
2604
|
return i.extend(P);
|
|
2605
2605
|
}), this;
|
|
2606
2606
|
var c = t.name, f = t.validate, p = f !== void 0 && f, C = t.getter, y = C !== void 0 && C, x = mae(t, ["name", "validate", "getter"]);
|
|
2607
|
-
if (
|
|
2607
|
+
if (ON(this, c))
|
|
2608
2608
|
throw new TypeError('[VueTypes error]: Type "' + c + '" already defined');
|
|
2609
2609
|
var E, _ = x.type;
|
|
2610
2610
|
return n8(_) ? (delete x.type, Object.defineProperty(this, c, y ? { get: function() {
|
|
@@ -2762,10 +2762,10 @@ function Sae(a) {
|
|
|
2762
2762
|
}
|
|
2763
2763
|
var Lee = {};
|
|
2764
2764
|
function na(a, t) {
|
|
2765
|
-
({ APP_NAME: "fx-platform-ui", APP_VERSION: "0.0.13-
|
|
2765
|
+
({ APP_NAME: "fx-platform-ui", APP_VERSION: "0.0.13-alpha3", APP_BUILD_TIME: "2022-11-21 18:19:45" }).NODE_ENV !== "production" && !a && console !== void 0 && console.error("Warning: ".concat(t));
|
|
2766
2766
|
}
|
|
2767
2767
|
function kae(a, t) {
|
|
2768
|
-
({ APP_NAME: "fx-platform-ui", APP_VERSION: "0.0.13-
|
|
2768
|
+
({ APP_NAME: "fx-platform-ui", APP_VERSION: "0.0.13-alpha3", APP_BUILD_TIME: "2022-11-21 18:19:45" }).NODE_ENV !== "production" && !a && console !== void 0 && console.warn("Note: ".concat(t));
|
|
2769
2769
|
}
|
|
2770
2770
|
function Eae(a, t, i) {
|
|
2771
2771
|
!t && !Lee[i] && (a(!1, i), Lee[i] = !0);
|
|
@@ -3030,7 +3030,7 @@ zG.newInstance = function(t, i) {
|
|
|
3030
3030
|
});
|
|
3031
3031
|
}), function() {
|
|
3032
3032
|
var W = wg, I = W.getPrefixCls(p, x), Q = W.getRootPrefixCls(E, I), ae = P ? _ : "".concat(Q, "-").concat(_);
|
|
3033
|
-
return X(
|
|
3033
|
+
return X(mN, Z(Z({}, W), {}, {
|
|
3034
3034
|
notUpdateGlobalConfig: !0,
|
|
3035
3035
|
prefixCls: Q
|
|
3036
3036
|
}), {
|
|
@@ -3616,7 +3616,7 @@ function Gee(a, t, i) {
|
|
|
3616
3616
|
var c;
|
|
3617
3617
|
return i ? c = a.v + Ave * t : c = a.v - Dve * t, c > 1 && (c = 1), Number(c.toFixed(2));
|
|
3618
3618
|
}
|
|
3619
|
-
function
|
|
3619
|
+
function PN(a) {
|
|
3620
3620
|
for (var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, i = [], c = xO(a), f = Aae; f > 0; f -= 1) {
|
|
3621
3621
|
var p = Uee(c), C = lL(xO({
|
|
3622
3622
|
h: Wee(p, f, !0),
|
|
@@ -3655,12 +3655,12 @@ var BZ = {
|
|
|
3655
3655
|
grey: "#666666"
|
|
3656
3656
|
}, LZ = {}, VZ = {};
|
|
3657
3657
|
Object.keys(BZ).forEach(function(a) {
|
|
3658
|
-
LZ[a] =
|
|
3658
|
+
LZ[a] = PN(BZ[a]), LZ[a].primary = LZ[a][5], VZ[a] = PN(BZ[a], {
|
|
3659
3659
|
theme: "dark",
|
|
3660
3660
|
backgroundColor: "#141414"
|
|
3661
3661
|
}), VZ[a].primary = VZ[a][5];
|
|
3662
3662
|
});
|
|
3663
|
-
var qee = [],
|
|
3663
|
+
var qee = [], nN = [], Rve = "insert-css: You need to provide a CSS string. Usage: insertCss(cssString[, options]).";
|
|
3664
3664
|
function $ve() {
|
|
3665
3665
|
var a = document.createElement("style");
|
|
3666
3666
|
return a.setAttribute("type", "text/css"), a;
|
|
@@ -3669,9 +3669,9 @@ function Ive(a, t) {
|
|
|
3669
3669
|
if (t = t || {}, a === void 0)
|
|
3670
3670
|
throw new Error(Rve);
|
|
3671
3671
|
var i = t.prepend === !0 ? "prepend" : "append", c = t.container !== void 0 ? t.container : document.querySelector("head"), f = qee.indexOf(c);
|
|
3672
|
-
f === -1 && (f = qee.push(c) - 1,
|
|
3672
|
+
f === -1 && (f = qee.push(c) - 1, nN[f] = {});
|
|
3673
3673
|
var p;
|
|
3674
|
-
return
|
|
3674
|
+
return nN[f] !== void 0 && nN[f][i] !== void 0 ? p = nN[f][i] : (p = nN[f][i] = $ve(), i === "prepend" ? c.insertBefore(p, c.childNodes[0]) : c.appendChild(p)), a.charCodeAt(0) === 65279 && (a = a.substr(1, a.length)), p.styleSheet ? p.styleSheet.cssText += a : p.textContent += a, p;
|
|
3675
3675
|
}
|
|
3676
3676
|
function Yee(a) {
|
|
3677
3677
|
for (var t = 1; t < arguments.length; t++) {
|
|
@@ -3688,7 +3688,7 @@ function Fve(a, t, i) {
|
|
|
3688
3688
|
return t in a ? Object.defineProperty(a, t, { value: i, enumerable: !0, configurable: !0, writable: !0 }) : a[t] = i, a;
|
|
3689
3689
|
}
|
|
3690
3690
|
function Bve(a, t) {
|
|
3691
|
-
({ APP_NAME: "fx-platform-ui", APP_VERSION: "0.0.13-
|
|
3691
|
+
({ APP_NAME: "fx-platform-ui", APP_VERSION: "0.0.13-alpha3", APP_BUILD_TIME: "2022-11-21 18:19:45" }).NODE_ENV !== "production" && !a && console !== void 0 && console.error("Warning: ".concat(t));
|
|
3692
3692
|
}
|
|
3693
3693
|
function Lve(a, t) {
|
|
3694
3694
|
Bve(a, "[@ant-design/icons-vue] ".concat(t));
|
|
@@ -3708,7 +3708,7 @@ function WG(a, t, i) {
|
|
|
3708
3708
|
}));
|
|
3709
3709
|
}
|
|
3710
3710
|
function Mae(a) {
|
|
3711
|
-
return
|
|
3711
|
+
return PN(a)[0];
|
|
3712
3712
|
}
|
|
3713
3713
|
function Nae(a) {
|
|
3714
3714
|
return a ? Array.isArray(a) ? a : [a] : [];
|
|
@@ -3808,20 +3808,20 @@ function NL(a) {
|
|
|
3808
3808
|
function Uve(a, t, i) {
|
|
3809
3809
|
return t in a ? Object.defineProperty(a, t, { value: i, enumerable: !0, configurable: !0, writable: !0 }) : a[t] = i, a;
|
|
3810
3810
|
}
|
|
3811
|
-
var
|
|
3811
|
+
var fN = {
|
|
3812
3812
|
primaryColor: "#333",
|
|
3813
3813
|
secondaryColor: "#E6E6E6",
|
|
3814
3814
|
calculated: !1
|
|
3815
3815
|
};
|
|
3816
3816
|
function Wve(a) {
|
|
3817
3817
|
var t = a.primaryColor, i = a.secondaryColor;
|
|
3818
|
-
|
|
3818
|
+
fN.primaryColor = t, fN.secondaryColor = i || Mae(t), fN.calculated = !!i;
|
|
3819
3819
|
}
|
|
3820
3820
|
function Zve() {
|
|
3821
|
-
return NL({},
|
|
3821
|
+
return NL({}, fN);
|
|
3822
3822
|
}
|
|
3823
3823
|
var XO = function(t, i) {
|
|
3824
|
-
var c = NL({}, t, i.attrs), f = c.icon, p = c.primaryColor, C = c.secondaryColor, y = jve(c, zve), x =
|
|
3824
|
+
var c = NL({}, t, i.attrs), f = c.icon, p = c.primaryColor, C = c.secondaryColor, y = jve(c, zve), x = fN;
|
|
3825
3825
|
if (p && (x = {
|
|
3826
3826
|
primaryColor: p,
|
|
3827
3827
|
secondaryColor: C || Mae(p)
|
|
@@ -4260,7 +4260,7 @@ function ite(a, t, i, c, f, p, C) {
|
|
|
4260
4260
|
}
|
|
4261
4261
|
y.done ? t(x) : Promise.resolve(x).then(c, f);
|
|
4262
4262
|
}
|
|
4263
|
-
function
|
|
4263
|
+
function VN(a) {
|
|
4264
4264
|
return function() {
|
|
4265
4265
|
var t = this, i = arguments;
|
|
4266
4266
|
return new Promise(function(c, f) {
|
|
@@ -4790,7 +4790,7 @@ function Xbe(a, t) {
|
|
|
4790
4790
|
closeIcon: function(N) {
|
|
4791
4791
|
var K = N.prefixCls, J = X("span", {
|
|
4792
4792
|
class: "".concat(K, "-close-x")
|
|
4793
|
-
}, [
|
|
4793
|
+
}, [sN(_, {}, X(WY, {
|
|
4794
4794
|
class: "".concat(K, "-close-icon")
|
|
4795
4795
|
}, null))]);
|
|
4796
4796
|
return J;
|
|
@@ -4817,7 +4817,7 @@ function Jbe(a) {
|
|
|
4817
4817
|
R = function() {
|
|
4818
4818
|
return X("span", {
|
|
4819
4819
|
class: "".concat(P, "-icon")
|
|
4820
|
-
}, [
|
|
4820
|
+
}, [sN(t)]);
|
|
4821
4821
|
};
|
|
4822
4822
|
else if (i) {
|
|
4823
4823
|
var D = Qbe[i];
|
|
@@ -4833,11 +4833,11 @@ function Jbe(a) {
|
|
|
4833
4833
|
class: "".concat(P, "-message")
|
|
4834
4834
|
}, [!c && R ? X("span", {
|
|
4835
4835
|
class: "".concat(P, "-message-single-line-auto-margin")
|
|
4836
|
-
}, null) : null,
|
|
4836
|
+
}, null) : null, sN(f)]), X("div", {
|
|
4837
4837
|
class: "".concat(P, "-description")
|
|
4838
|
-
}, [
|
|
4838
|
+
}, [sN(c)]), p ? X("span", {
|
|
4839
4839
|
class: "".concat(P, "-btn")
|
|
4840
|
-
}, [
|
|
4840
|
+
}, [sN(p)]) : null]);
|
|
4841
4841
|
},
|
|
4842
4842
|
duration: C,
|
|
4843
4843
|
closable: !0,
|
|
@@ -4849,7 +4849,7 @@ function Jbe(a) {
|
|
|
4849
4849
|
});
|
|
4850
4850
|
});
|
|
4851
4851
|
}
|
|
4852
|
-
var
|
|
4852
|
+
var _N = {
|
|
4853
4853
|
open: Jbe,
|
|
4854
4854
|
close: function(t) {
|
|
4855
4855
|
Object.keys(MS).forEach(function(i) {
|
|
@@ -4868,14 +4868,14 @@ var _3 = {
|
|
|
4868
4868
|
}
|
|
4869
4869
|
}, e1e = ["success", "info", "warning", "error"];
|
|
4870
4870
|
e1e.forEach(function(a) {
|
|
4871
|
-
|
|
4872
|
-
return
|
|
4871
|
+
_N[a] = function(t) {
|
|
4872
|
+
return _N.open(Z(Z({}, t), {}, {
|
|
4873
4873
|
type: a
|
|
4874
4874
|
}));
|
|
4875
4875
|
};
|
|
4876
4876
|
});
|
|
4877
|
-
|
|
4878
|
-
const t1e =
|
|
4877
|
+
_N.warn = _N.warning;
|
|
4878
|
+
const t1e = _N;
|
|
4879
4879
|
function eP() {
|
|
4880
4880
|
return !!(typeof window < "u" && window.document && window.document.createElement);
|
|
4881
4881
|
}
|
|
@@ -4937,12 +4937,12 @@ function s1e(a, t) {
|
|
|
4937
4937
|
var R = _.clone();
|
|
4938
4938
|
return R = (P == null ? void 0 : P(R)) || R, R.toRgbString();
|
|
4939
4939
|
}, f = function(_, P) {
|
|
4940
|
-
var R = new FZ(_), D =
|
|
4940
|
+
var R = new FZ(_), D = PN(R.toRgbString());
|
|
4941
4941
|
i["".concat(P, "-color")] = c(R), i["".concat(P, "-color-disabled")] = D[1], i["".concat(P, "-color-hover")] = D[4], i["".concat(P, "-color-active")] = D[6], i["".concat(P, "-color-outline")] = R.clone().setAlpha(0.2).toRgbString(), i["".concat(P, "-color-deprecated-bg")] = D[1], i["".concat(P, "-color-deprecated-border")] = D[3];
|
|
4942
4942
|
};
|
|
4943
4943
|
if (t.primaryColor) {
|
|
4944
4944
|
f(t.primaryColor, "primary");
|
|
4945
|
-
var p = new FZ(t.primaryColor), C =
|
|
4945
|
+
var p = new FZ(t.primaryColor), C = PN(p.toRgbString());
|
|
4946
4946
|
C.forEach(function(E, _) {
|
|
4947
4947
|
i["primary-".concat(_ + 1)] = E;
|
|
4948
4948
|
}), i["primary-color-deprecated-l-35"] = c(p, function(E) {
|
|
@@ -5065,7 +5065,7 @@ var HZ, d1e = function(t) {
|
|
|
5065
5065
|
return i || (wg.prefixCls ? wg.prefixCls : c && c.includes("-") ? c.replace(/^(.*)-[^-]*$/, "$1") : AO());
|
|
5066
5066
|
}
|
|
5067
5067
|
};
|
|
5068
|
-
},
|
|
5068
|
+
}, mN = vn({
|
|
5069
5069
|
compatConfig: {
|
|
5070
5070
|
MODE: 3
|
|
5071
5071
|
},
|
|
@@ -5141,9 +5141,9 @@ var HZ, d1e = function(t) {
|
|
|
5141
5141
|
renderEmpty: Sae,
|
|
5142
5142
|
direction: "ltr"
|
|
5143
5143
|
});
|
|
5144
|
-
|
|
5145
|
-
|
|
5146
|
-
a.component(
|
|
5144
|
+
mN.config = d1e;
|
|
5145
|
+
mN.install = function(a) {
|
|
5146
|
+
a.component(mN.name, mN);
|
|
5147
5147
|
};
|
|
5148
5148
|
const Sa = function(a, t) {
|
|
5149
5149
|
var i = Da("configProvider", ose), c = ke(function() {
|
|
@@ -5498,7 +5498,7 @@ const T1e = function(a, t) {
|
|
|
5498
5498
|
t();
|
|
5499
5499
|
break;
|
|
5500
5500
|
}
|
|
5501
|
-
i.value && (c.value = ga(/* @__PURE__ */
|
|
5501
|
+
i.value && (c.value = ga(/* @__PURE__ */ VN(/* @__PURE__ */ Bv.mark(function x() {
|
|
5502
5502
|
var E, _;
|
|
5503
5503
|
return Bv.wrap(function(R) {
|
|
5504
5504
|
for (; ; )
|
|
@@ -5575,20 +5575,20 @@ function P1e(a, t, i) {
|
|
|
5575
5575
|
writable: !0
|
|
5576
5576
|
}) : a[t] = i, a;
|
|
5577
5577
|
}
|
|
5578
|
-
var
|
|
5578
|
+
var oN, _1e = {
|
|
5579
5579
|
Webkit: "-webkit-",
|
|
5580
5580
|
Moz: "-moz-",
|
|
5581
5581
|
ms: "-ms-",
|
|
5582
5582
|
O: "-o-"
|
|
5583
5583
|
};
|
|
5584
5584
|
function r8() {
|
|
5585
|
-
if (
|
|
5586
|
-
return
|
|
5587
|
-
|
|
5585
|
+
if (oN !== void 0)
|
|
5586
|
+
return oN;
|
|
5587
|
+
oN = "";
|
|
5588
5588
|
var a = document.createElement("p").style, t = "Transform";
|
|
5589
5589
|
for (var i in _1e)
|
|
5590
|
-
i + t in a && (
|
|
5591
|
-
return
|
|
5590
|
+
i + t in a && (oN = i);
|
|
5591
|
+
return oN;
|
|
5592
5592
|
}
|
|
5593
5593
|
function lse() {
|
|
5594
5594
|
return r8() ? "".concat(r8(), "TransitionProperty") : "transitionProperty";
|
|
@@ -5639,7 +5639,7 @@ function R1e(a, t) {
|
|
|
5639
5639
|
} else
|
|
5640
5640
|
zZ(a, "translateX(".concat(t.x, "px) translateY(").concat(t.y, "px) translateZ(0)"));
|
|
5641
5641
|
}
|
|
5642
|
-
var $1e = /[\-+]?(?:\d*\.|)\d+(?:[eE][\-+]?\d+|)/.source,
|
|
5642
|
+
var $1e = /[\-+]?(?:\d*\.|)\d+(?:[eE][\-+]?\d+|)/.source, HN;
|
|
5643
5643
|
function Cte(a) {
|
|
5644
5644
|
var t = a.style.display;
|
|
5645
5645
|
a.style.display = "none", a.offsetHeight, a.style.display = t;
|
|
@@ -5655,7 +5655,7 @@ function DO(a, t, i) {
|
|
|
5655
5655
|
typeof c == "number" && (c = "".concat(c, "px")), a.style[t] = c;
|
|
5656
5656
|
return;
|
|
5657
5657
|
}
|
|
5658
|
-
return
|
|
5658
|
+
return HN(a, t);
|
|
5659
5659
|
}
|
|
5660
5660
|
function I1e(a) {
|
|
5661
5661
|
var t, i, c, f = a.ownerDocument, p = f.body, C = f && f.documentElement;
|
|
@@ -5678,7 +5678,7 @@ function use(a) {
|
|
|
5678
5678
|
function dse(a) {
|
|
5679
5679
|
return cse(a, !0);
|
|
5680
5680
|
}
|
|
5681
|
-
function
|
|
5681
|
+
function AN(a) {
|
|
5682
5682
|
var t = I1e(a), i = a.ownerDocument, c = i.defaultView || i.parentWindow;
|
|
5683
5683
|
return t.left += use(c), t.top += dse(c), t;
|
|
5684
5684
|
}
|
|
@@ -5701,7 +5701,7 @@ function H1e(a, t) {
|
|
|
5701
5701
|
}
|
|
5702
5702
|
return i === "" ? "auto" : i;
|
|
5703
5703
|
}
|
|
5704
|
-
typeof window < "u" && (
|
|
5704
|
+
typeof window < "u" && (HN = window.getComputedStyle ? F1e : H1e);
|
|
5705
5705
|
function cL(a, t) {
|
|
5706
5706
|
return a === "left" ? t.useCssRight ? "right" : a : t.useCssBottom ? "bottom" : a;
|
|
5707
5707
|
}
|
|
@@ -5719,9 +5719,9 @@ function xte(a, t, i) {
|
|
|
5719
5719
|
DO(a, "position") === "static" && (a.style.position = "relative");
|
|
5720
5720
|
var c = -999, f = -999, p = cL("left", i), C = cL("top", i), y = wte(p), x = wte(C);
|
|
5721
5721
|
p !== "left" && (c = 999), C !== "top" && (f = 999);
|
|
5722
|
-
var E = "", _ =
|
|
5722
|
+
var E = "", _ = AN(a);
|
|
5723
5723
|
("left" in t || "top" in t) && (E = A1e(a) || "", yte(a, "none")), "left" in t && (a.style[y] = "", a.style[p] = "".concat(c, "px")), "top" in t && (a.style[x] = "", a.style[C] = "".concat(f, "px")), Cte(a);
|
|
5724
|
-
var P =
|
|
5724
|
+
var P = AN(a), R = {};
|
|
5725
5725
|
for (var D in t)
|
|
5726
5726
|
if (t.hasOwnProperty(D)) {
|
|
5727
5727
|
var V = cL(D, i), L = D === "left" ? c : f, $ = _[D] - P[D];
|
|
@@ -5737,7 +5737,7 @@ function xte(a, t, i) {
|
|
|
5737
5737
|
DO(a, B);
|
|
5738
5738
|
}
|
|
5739
5739
|
function z1e(a, t) {
|
|
5740
|
-
var i =
|
|
5740
|
+
var i = AN(a), c = D1e(a), f = {
|
|
5741
5741
|
x: c.x,
|
|
5742
5742
|
y: c.y
|
|
5743
5743
|
};
|
|
@@ -5745,7 +5745,7 @@ function z1e(a, t) {
|
|
|
5745
5745
|
}
|
|
5746
5746
|
function j1e(a, t, i) {
|
|
5747
5747
|
if (i.ignoreShake) {
|
|
5748
|
-
var c =
|
|
5748
|
+
var c = AN(a), f = c.left.toFixed(0), p = c.top.toFixed(0), C = t.left.toFixed(0), y = t.top.toFixed(0);
|
|
5749
5749
|
if (f === C && p === y)
|
|
5750
5750
|
return;
|
|
5751
5751
|
}
|
|
@@ -5756,7 +5756,7 @@ function XY(a, t) {
|
|
|
5756
5756
|
t(a[i]);
|
|
5757
5757
|
}
|
|
5758
5758
|
function mse(a) {
|
|
5759
|
-
return
|
|
5759
|
+
return HN(a, "boxSizing") === "border-box";
|
|
5760
5760
|
}
|
|
5761
5761
|
var K1e = ["margin", "border", "padding"], eq = -1, U1e = 2, tq = 1, W1e = 0;
|
|
5762
5762
|
function Z1e(a, t, i) {
|
|
@@ -5767,13 +5767,13 @@ function Z1e(a, t, i) {
|
|
|
5767
5767
|
for (p in t)
|
|
5768
5768
|
t.hasOwnProperty(p) && (f[p] = c[p]);
|
|
5769
5769
|
}
|
|
5770
|
-
function
|
|
5770
|
+
function iN(a, t, i) {
|
|
5771
5771
|
var c = 0, f, p, C;
|
|
5772
5772
|
for (p = 0; p < t.length; p++)
|
|
5773
5773
|
if (f = t[p], f)
|
|
5774
5774
|
for (C = 0; C < i.length; C++) {
|
|
5775
5775
|
var y = void 0;
|
|
5776
|
-
f === "border" ? y = "".concat(f).concat(i[C], "Width") : y = f + i[C], c += parseFloat(
|
|
5776
|
+
f === "border" ? y = "".concat(f).concat(i[C], "Width") : y = f + i[C], c += parseFloat(HN(a, y)) || 0;
|
|
5777
5777
|
}
|
|
5778
5778
|
return c;
|
|
5779
5779
|
}
|
|
@@ -5806,9 +5806,9 @@ function Ste(a, t, i) {
|
|
|
5806
5806
|
if (a.nodeType === 9)
|
|
5807
5807
|
return t === "width" ? Nv.docWidth(a) : Nv.docHeight(a);
|
|
5808
5808
|
var f = t === "width" ? ["Left", "Right"] : ["Top", "Bottom"], p = Math.floor(t === "width" ? a.getBoundingClientRect().width : a.getBoundingClientRect().height), C = mse(a), y = 0;
|
|
5809
|
-
(p == null || p <= 0) && (p = void 0, y =
|
|
5809
|
+
(p == null || p <= 0) && (p = void 0, y = HN(a, t), (y == null || Number(y) < 0) && (y = a.style[t] || 0), y = parseFloat(y) || 0), c === void 0 && (c = C ? tq : eq);
|
|
5810
5810
|
var x = p !== void 0 || C, E = p || y;
|
|
5811
|
-
return c === eq ? x ? E -
|
|
5811
|
+
return c === eq ? x ? E - iN(a, ["border", "padding"], f) : y : x ? c === tq ? E : E + (c === U1e ? -iN(a, ["border"], f) : iN(a, ["margin"], f)) : y + iN(a, K1e.slice(c), f);
|
|
5812
5812
|
}
|
|
5813
5813
|
var G1e = {
|
|
5814
5814
|
position: "absolute",
|
|
@@ -5834,7 +5834,7 @@ XY(["width", "height"], function(a) {
|
|
|
5834
5834
|
if (p !== void 0) {
|
|
5835
5835
|
if (c) {
|
|
5836
5836
|
var C = mse(c);
|
|
5837
|
-
return C && (p +=
|
|
5837
|
+
return C && (p += iN(c, ["padding", "border"], i)), DO(c, a, p);
|
|
5838
5838
|
}
|
|
5839
5839
|
return;
|
|
5840
5840
|
}
|
|
@@ -5858,7 +5858,7 @@ var Ta = {
|
|
|
5858
5858
|
if (typeof i < "u")
|
|
5859
5859
|
j1e(t, i, c || {});
|
|
5860
5860
|
else
|
|
5861
|
-
return
|
|
5861
|
+
return AN(t);
|
|
5862
5862
|
},
|
|
5863
5863
|
isWindow: YY,
|
|
5864
5864
|
each: XY,
|
|
@@ -6335,7 +6335,7 @@ const aye = vn({
|
|
|
6335
6335
|
style: De
|
|
6336
6336
|
}), [Me]);
|
|
6337
6337
|
}
|
|
6338
|
-
}), [[
|
|
6338
|
+
}), [[IN, V.value]]) : null;
|
|
6339
6339
|
}
|
|
6340
6340
|
});
|
|
6341
6341
|
};
|
|
@@ -6399,7 +6399,7 @@ function cye(a, t, i, c) {
|
|
|
6399
6399
|
}
|
|
6400
6400
|
return "";
|
|
6401
6401
|
}
|
|
6402
|
-
const
|
|
6402
|
+
const zN = {
|
|
6403
6403
|
methods: {
|
|
6404
6404
|
setState: function() {
|
|
6405
6405
|
var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, i = arguments.length > 1 ? arguments[1] : void 0, c = typeof t == "function" ? t(this.$data, this.$props) : t;
|
|
@@ -6518,12 +6518,12 @@ function mye(a) {
|
|
|
6518
6518
|
return a ? a.ownerDocument : window.document;
|
|
6519
6519
|
}
|
|
6520
6520
|
var gye = ["onClick", "onMousedown", "onTouchstart", "onMouseenter", "onMouseleave", "onFocus", "onBlur", "onContextmenu"];
|
|
6521
|
-
const
|
|
6521
|
+
const jN = vn({
|
|
6522
6522
|
compatConfig: {
|
|
6523
6523
|
MODE: 3
|
|
6524
6524
|
},
|
|
6525
6525
|
name: "Trigger",
|
|
6526
|
-
mixins: [
|
|
6526
|
+
mixins: [zN],
|
|
6527
6527
|
inheritAttrs: !1,
|
|
6528
6528
|
props: {
|
|
6529
6529
|
action: wt.oneOfType([wt.string, wt.arrayOf(wt.string)]).def([]),
|
|
@@ -7010,7 +7010,7 @@ var hye = ["empty"], pye = function(t) {
|
|
|
7010
7010
|
var pe = Q ? "".concat(ie, "-").concat(Q) : ae, A = Z({
|
|
7011
7011
|
minWidth: "".concat(W, "px")
|
|
7012
7012
|
}, B);
|
|
7013
|
-
return typeof J == "number" ? A.width = "".concat(J, "px") : J && (A.width = "".concat(W, "px")), X(
|
|
7013
|
+
return typeof J == "number" ? A.width = "".concat(J, "px") : J && (A.width = "".concat(W, "px")), X(jN, Z(Z({}, t), {}, {
|
|
7014
7014
|
showAction: oe ? ["click"] : [],
|
|
7015
7015
|
hideAction: oe ? ["click"] : [],
|
|
7016
7016
|
popupPlacement: K || (N === "rtl" ? "bottomRight" : "bottomLeft"),
|
|
@@ -7252,7 +7252,7 @@ var wye = {
|
|
|
7252
7252
|
(!i.modifiers || !i.modifiers.lazy) && (WZ(t, "compositionstart", yye), WZ(t, "compositionend", Fte), WZ(t, "change", Fte));
|
|
7253
7253
|
}
|
|
7254
7254
|
};
|
|
7255
|
-
const
|
|
7255
|
+
const KN = wye;
|
|
7256
7256
|
var xye = {
|
|
7257
7257
|
inputRef: wt.any,
|
|
7258
7258
|
prefixCls: String,
|
|
@@ -7313,7 +7313,7 @@ var xye = {
|
|
|
7313
7313
|
setup: function(t) {
|
|
7314
7314
|
var i = null, c = Da("VCSelectContainerEvent");
|
|
7315
7315
|
return function() {
|
|
7316
|
-
var f, p, C = t.prefixCls, y = t.id, x = t.inputElement, E = t.disabled, _ = t.tabindex, P = t.autofocus, R = t.autocomplete, D = t.editable, V = t.activeDescendantId, L = t.value, $ = t.onKeydown, B = t.onMousedown, H = t.onChange, N = t.onPaste, K = t.onCompositionstart, J = t.onCompositionend, W = t.onFocus, I = t.onBlur, Q = t.open, ae = t.inputRef, ue = t.attrs, ce = x || Gh(X("input", null, null), [[
|
|
7316
|
+
var f, p, C = t.prefixCls, y = t.id, x = t.inputElement, E = t.disabled, _ = t.tabindex, P = t.autofocus, R = t.autocomplete, D = t.editable, V = t.activeDescendantId, L = t.value, $ = t.onKeydown, B = t.onMousedown, H = t.onChange, N = t.onPaste, K = t.onCompositionstart, J = t.onCompositionend, W = t.onFocus, I = t.onBlur, Q = t.open, ae = t.inputRef, ue = t.attrs, ce = x || Gh(X("input", null, null), [[KN]]), oe = ce.props || {}, de = oe.onKeydown, ie = oe.onInput, se = oe.onFocus, pe = oe.onBlur, A = oe.onMousedown, le = oe.onCompositionstart, he = oe.onCompositionend, Se = oe.style;
|
|
7317
7317
|
return ce = rl(ce, gs(Z(Z(Z({
|
|
7318
7318
|
type: "search"
|
|
7319
7319
|
}, oe), {}, {
|
|
@@ -8096,7 +8096,7 @@ function Ese() {
|
|
|
8096
8096
|
return t;
|
|
8097
8097
|
}, c];
|
|
8098
8098
|
}
|
|
8099
|
-
function
|
|
8099
|
+
function DN() {
|
|
8100
8100
|
var a = function t(i) {
|
|
8101
8101
|
t.current = i;
|
|
8102
8102
|
};
|
|
@@ -8159,7 +8159,7 @@ var Kye = vn({
|
|
|
8159
8159
|
domRef: Function
|
|
8160
8160
|
},
|
|
8161
8161
|
setup: function(t, i) {
|
|
8162
|
-
var c = i.expose, f =
|
|
8162
|
+
var c = i.expose, f = DN(), p = !1, C = Ese(0), y = To(C, 2), x = y[0], E = y[1], _ = function(J) {
|
|
8163
8163
|
var W = J.which;
|
|
8164
8164
|
(W === oo.UP || W === oo.DOWN) && J.preventDefault(), t.onInputKeyDown && t.onInputKeyDown(J), W === oo.ENTER && t.mode === "tags" && !p && !t.open && t.onSearchSubmit(J.target.value), jye(W) && t.onToggleOpen(!0);
|
|
8165
8165
|
}, P = function() {
|
|
@@ -8252,7 +8252,7 @@ var Tse = Symbol("BaseSelectContextKey");
|
|
|
8252
8252
|
function Gye(a) {
|
|
8253
8253
|
return Fa(Tse, a);
|
|
8254
8254
|
}
|
|
8255
|
-
function
|
|
8255
|
+
function UN() {
|
|
8256
8256
|
return Da(Tse, {});
|
|
8257
8257
|
}
|
|
8258
8258
|
const Ose = function() {
|
|
@@ -8435,7 +8435,7 @@ const rX = vn({
|
|
|
8435
8435
|
ns(function() {
|
|
8436
8436
|
x.value = Ose();
|
|
8437
8437
|
});
|
|
8438
|
-
var E = N8(), _ = ot(null), P =
|
|
8438
|
+
var E = N8(), _ = ot(null), P = DN(), R = ot(null), D = ot(null), V = ot(null), L = Zye(), $ = To(L, 3), B = $[0], H = $[1], N = $[2], K = function() {
|
|
8439
8439
|
var Ze;
|
|
8440
8440
|
(Ze = D.value) === null || Ze === void 0 || Ze.focus();
|
|
8441
8441
|
}, J = function() {
|
|
@@ -8815,8 +8815,8 @@ const n0e = vn({
|
|
|
8815
8815
|
setup: function() {
|
|
8816
8816
|
return {
|
|
8817
8817
|
moveRaf: null,
|
|
8818
|
-
scrollbarRef:
|
|
8819
|
-
thumbRef:
|
|
8818
|
+
scrollbarRef: DN(),
|
|
8819
|
+
thumbRef: DN(),
|
|
8820
8820
|
visibleTimeout: null,
|
|
8821
8821
|
state: fi({
|
|
8822
8822
|
dragging: !1,
|
|
@@ -9399,7 +9399,7 @@ var y0e = vn({
|
|
|
9399
9399
|
inheritAttrs: !1,
|
|
9400
9400
|
slots: ["option"],
|
|
9401
9401
|
setup: function(t, i) {
|
|
9402
|
-
var c = i.expose, f = i.slots, p =
|
|
9402
|
+
var c = i.expose, f = i.slots, p = UN(), C = v0e(), y = ke(function() {
|
|
9403
9403
|
return "".concat(p.prefixCls, "-item");
|
|
9404
9404
|
}), x = aX(function() {
|
|
9405
9405
|
return C.flattenOptions;
|
|
@@ -9409,7 +9409,7 @@ var y0e = vn({
|
|
|
9409
9409
|
return C.flattenOptions;
|
|
9410
9410
|
}], function(W) {
|
|
9411
9411
|
return W[0];
|
|
9412
|
-
}), E =
|
|
9412
|
+
}), E = DN(), _ = function(I) {
|
|
9413
9413
|
I.preventDefault();
|
|
9414
9414
|
}, P = function(I) {
|
|
9415
9415
|
E.current && E.current.scrollTo(typeof I == "number" ? {
|
|
@@ -9643,7 +9643,7 @@ function S0e(a, t, i) {
|
|
|
9643
9643
|
labelOptions: p
|
|
9644
9644
|
};
|
|
9645
9645
|
}
|
|
9646
|
-
var jte = 0, k0e = { APP_NAME: "fx-platform-ui", APP_VERSION: "0.0.13-
|
|
9646
|
+
var jte = 0, k0e = { APP_NAME: "fx-platform-ui", APP_VERSION: "0.0.13-alpha3", APP_BUILD_TIME: "2022-11-21 18:19:45" }.NODE_ENV !== "test" && eP();
|
|
9647
9647
|
function E0e() {
|
|
9648
9648
|
var a;
|
|
9649
9649
|
return k0e ? (a = jte, jte += 1) : a = "TEST_OR_SSR", a;
|
|
@@ -10017,7 +10017,7 @@ const D0e = vn({
|
|
|
10017
10017
|
listHeight: yr(t, "listHeight"),
|
|
10018
10018
|
listItemHeight: yr(t, "listItemHeight"),
|
|
10019
10019
|
childrenAsData: x
|
|
10020
|
-
}))), { APP_NAME: "fx-platform-ui", APP_VERSION: "0.0.13-
|
|
10020
|
+
}))), { APP_NAME: "fx-platform-ui", APP_VERSION: "0.0.13-alpha3", APP_BUILD_TIME: "2022-11-21 18:19:45" }.NODE_ENV !== "production" && Br(function() {
|
|
10021
10021
|
T0e(t);
|
|
10022
10022
|
}, {
|
|
10023
10023
|
flush: "post"
|
|
@@ -10216,7 +10216,7 @@ var i8 = Symbol("ContextProps"), l8 = Symbol("InternalContextProps"), K0e = func
|
|
|
10216
10216
|
c.value.delete(x), c.value = new Map(c.value);
|
|
10217
10217
|
}, C = Om();
|
|
10218
10218
|
Bn([i, c], function() {
|
|
10219
|
-
if ({ APP_NAME: "fx-platform-ui", APP_VERSION: "0.0.13-
|
|
10219
|
+
if ({ APP_NAME: "fx-platform-ui", APP_VERSION: "0.0.13-alpha3", APP_BUILD_TIME: "2022-11-21 18:19:45" }.NODE_ENV !== "production" && i.value && c.value.size > 1) {
|
|
10220
10220
|
Ms(!1, "Form.Item", "FormItem can only collect one field item, you haved set ".concat(uo(c.value.values()).map(function(x) {
|
|
10221
10221
|
return "`".concat(x.name, "`");
|
|
10222
10222
|
}).join(", "), " ").concat(c.value.size, " field items.\n You can set not need to be collected fields into `a-form-item-rest`"));
|
|
@@ -10398,7 +10398,7 @@ var bX = function() {
|
|
|
10398
10398
|
};
|
|
10399
10399
|
bX.isSelectOption = !0;
|
|
10400
10400
|
bX.displayName = "AAutoCompleteOption";
|
|
10401
|
-
const
|
|
10401
|
+
const gN = bX;
|
|
10402
10402
|
var yX = function() {
|
|
10403
10403
|
return null;
|
|
10404
10404
|
};
|
|
@@ -10482,7 +10482,7 @@ var W0e = function() {
|
|
|
10482
10482
|
return ae;
|
|
10483
10483
|
switch (ar(ae)) {
|
|
10484
10484
|
case "string":
|
|
10485
|
-
return X(
|
|
10485
|
+
return X(gN, {
|
|
10486
10486
|
key: ae,
|
|
10487
10487
|
value: ae
|
|
10488
10488
|
}, {
|
|
@@ -10491,7 +10491,7 @@ var W0e = function() {
|
|
|
10491
10491
|
}
|
|
10492
10492
|
});
|
|
10493
10493
|
case "object":
|
|
10494
|
-
return X(
|
|
10494
|
+
return X(gN, {
|
|
10495
10495
|
key: ae.value,
|
|
10496
10496
|
value: ae.value
|
|
10497
10497
|
}, {
|
|
@@ -10520,10 +10520,10 @@ var W0e = function() {
|
|
|
10520
10520
|
}
|
|
10521
10521
|
});
|
|
10522
10522
|
const Z0e = gs(qZ, {
|
|
10523
|
-
Option:
|
|
10523
|
+
Option: gN,
|
|
10524
10524
|
OptGroup: GZ,
|
|
10525
10525
|
install: function(t) {
|
|
10526
|
-
return t.component(qZ.name, qZ), t.component(
|
|
10526
|
+
return t.component(qZ.name, qZ), t.component(gN.displayName, gN), t.component(GZ.displayName, GZ), t;
|
|
10527
10527
|
}
|
|
10528
10528
|
});
|
|
10529
10529
|
var Gte = ["xxxl", "xxl", "xl", "lg", "md", "sm", "xs"], mL = {
|
|
@@ -10812,7 +10812,7 @@ const eCe = vn({
|
|
|
10812
10812
|
ref: C,
|
|
10813
10813
|
popup: y()
|
|
10814
10814
|
});
|
|
10815
|
-
return X(
|
|
10815
|
+
return X(jN, ae, {
|
|
10816
10816
|
default: c.default
|
|
10817
10817
|
});
|
|
10818
10818
|
};
|
|
@@ -11214,7 +11214,7 @@ const uCe = vn({
|
|
|
11214
11214
|
});
|
|
11215
11215
|
return function() {
|
|
11216
11216
|
var V = t.prefixCls, L = t.arrow, $ = t.showAction, B = t.overlayStyle, H = t.trigger, N = t.placement, K = t.align, J = t.getPopupContainer, W = t.transitionName, I = t.animation, Q = t.overlayClassName, ae = Ia(t, cCe);
|
|
11217
|
-
return X(
|
|
11217
|
+
return X(jN, Z(Z({}, ae), {}, {
|
|
11218
11218
|
prefixCls: V,
|
|
11219
11219
|
ref: y,
|
|
11220
11220
|
popupClassName: wn(Q, Ne({}, "".concat(V, "-show-arrow"), L)),
|
|
@@ -11327,7 +11327,7 @@ var fCe = {
|
|
|
11327
11327
|
const hL = fCe;
|
|
11328
11328
|
var cC;
|
|
11329
11329
|
function tne(a) {
|
|
11330
|
-
return { APP_NAME: "fx-platform-ui", APP_VERSION: "0.0.13-
|
|
11330
|
+
return { APP_NAME: "fx-platform-ui", APP_VERSION: "0.0.13-alpha3", APP_BUILD_TIME: "2022-11-21 18:19:45" }.NODE_ENV === "test" ? !1 : !a || a.offsetParent === null;
|
|
11331
11331
|
}
|
|
11332
11332
|
function mCe(a) {
|
|
11333
11333
|
var t = (a || "").match(/rgba?\((\d*), (\d*), (\d*)(, [\.\d]*)?\)/);
|
|
@@ -12279,7 +12279,7 @@ const dne = vn({
|
|
|
12279
12279
|
});
|
|
12280
12280
|
return function() {
|
|
12281
12281
|
var I = t.prefixCls, Q = t.popupClassName, ae = t.mode, ue = t.popupOffset, ce = t.disabled;
|
|
12282
|
-
return X(
|
|
12282
|
+
return X(jN, {
|
|
12283
12283
|
prefixCls: I,
|
|
12284
12284
|
popupClassName: wn("".concat(I, "-popup"), Ne({}, "".concat(I, "-rtl"), x.value), Q),
|
|
12285
12285
|
stretch: ae === "horizontal" ? "minWidth" : null,
|
|
@@ -12357,7 +12357,7 @@ const Qse = Xse, LCe = vn({
|
|
|
12357
12357
|
default: function() {
|
|
12358
12358
|
return [(D = c.default) === null || D === void 0 ? void 0 : D.call(c)];
|
|
12359
12359
|
}
|
|
12360
|
-
}), [[
|
|
12360
|
+
}), [[IN, P.value]])];
|
|
12361
12361
|
}
|
|
12362
12362
|
})];
|
|
12363
12363
|
}
|
|
@@ -12381,7 +12381,7 @@ var fne = 0, VCe = function() {
|
|
|
12381
12381
|
onTitleClick: Function
|
|
12382
12382
|
};
|
|
12383
12383
|
};
|
|
12384
|
-
const
|
|
12384
|
+
const MN = vn({
|
|
12385
12385
|
compatConfig: {
|
|
12386
12386
|
MODE: 3
|
|
12387
12387
|
},
|
|
@@ -12891,7 +12891,7 @@ const Sg = vn({
|
|
|
12891
12891
|
},
|
|
12892
12892
|
renderRawRest: function(gt) {
|
|
12893
12893
|
var ht = gt.length, Ze = ht ? $e.slice(-ht) : null;
|
|
12894
|
-
return X(Ua, null, [X(
|
|
12894
|
+
return X(Ua, null, [X(MN, {
|
|
12895
12895
|
eventKey: vL,
|
|
12896
12896
|
key: vL,
|
|
12897
12897
|
title: vt,
|
|
@@ -12903,7 +12903,7 @@ const Sg = vn({
|
|
|
12903
12903
|
}
|
|
12904
12904
|
}), X(une, null, {
|
|
12905
12905
|
default: function() {
|
|
12906
|
-
return [X(
|
|
12906
|
+
return [X(MN, {
|
|
12907
12907
|
eventKey: vL,
|
|
12908
12908
|
key: vL,
|
|
12909
12909
|
title: vt,
|
|
@@ -13004,11 +13004,11 @@ const uq = vn({
|
|
|
13004
13004
|
}
|
|
13005
13005
|
});
|
|
13006
13006
|
Sg.install = function(a) {
|
|
13007
|
-
return a.component(Sg.name, Sg), a.component(f8.name, f8), a.component(
|
|
13007
|
+
return a.component(Sg.name, Sg), a.component(f8.name, f8), a.component(MN.name, MN), a.component(uq.name, uq), a.component(cq.name, cq), a;
|
|
13008
13008
|
};
|
|
13009
13009
|
Sg.Item = f8;
|
|
13010
13010
|
Sg.Divider = uq;
|
|
13011
|
-
Sg.SubMenu =
|
|
13011
|
+
Sg.SubMenu = MN;
|
|
13012
13012
|
Sg.ItemGroup = cq;
|
|
13013
13013
|
var _X = { exports: {} };
|
|
13014
13014
|
(function(a, t) {
|
|
@@ -13920,14 +13920,14 @@ function uie(a, t, i) {
|
|
|
13920
13920
|
var c = a === "time" ? 8 : 10, f = typeof t == "function" ? t(i.getNow()).length : t.length;
|
|
13921
13921
|
return Math.max(c, f) + 2;
|
|
13922
13922
|
}
|
|
13923
|
-
var
|
|
13923
|
+
var rN = null, CL = /* @__PURE__ */ new Set();
|
|
13924
13924
|
function nwe(a) {
|
|
13925
|
-
return !
|
|
13925
|
+
return !rN && typeof window < "u" && window.addEventListener && (rN = function(i) {
|
|
13926
13926
|
uo(CL).forEach(function(c) {
|
|
13927
13927
|
c(i);
|
|
13928
13928
|
});
|
|
13929
|
-
}, window.addEventListener("mousedown",
|
|
13930
|
-
CL.delete(a), CL.size === 0 && (window.removeEventListener("mousedown",
|
|
13929
|
+
}, window.addEventListener("mousedown", rN)), CL.add(a), function() {
|
|
13930
|
+
CL.delete(a), CL.size === 0 && (window.removeEventListener("mousedown", rN), rN = null);
|
|
13931
13931
|
};
|
|
13932
13932
|
}
|
|
13933
13933
|
function owe(a) {
|
|
@@ -13955,7 +13955,7 @@ var rwe = function(t) {
|
|
|
13955
13955
|
date: null
|
|
13956
13956
|
};
|
|
13957
13957
|
function die(a, t) {
|
|
13958
|
-
return { APP_NAME: "fx-platform-ui", APP_VERSION: "0.0.13-
|
|
13958
|
+
return { APP_NAME: "fx-platform-ui", APP_VERSION: "0.0.13-alpha3", APP_BUILD_TIME: "2022-11-21 18:19:45" }.NODE_ENV === "test" ? !1 : a.some(function(i) {
|
|
13959
13959
|
return i && i.contains(t);
|
|
13960
13960
|
});
|
|
13961
13961
|
}
|
|
@@ -14055,7 +14055,7 @@ function dwe(a, t, i) {
|
|
|
14055
14055
|
var c = t.locale.getWeekFirstDay(a), f = t.setDate(i, 1), p = t.getWeekDay(f), C = t.addDate(f, c - p);
|
|
14056
14056
|
return t.getMonth(C) === t.getMonth(i) && t.getDate(C) > 1 && (C = t.addDate(C, -7)), C;
|
|
14057
14057
|
}
|
|
14058
|
-
function
|
|
14058
|
+
function hN(a, t, i) {
|
|
14059
14059
|
var c = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : 1;
|
|
14060
14060
|
switch (t) {
|
|
14061
14061
|
case "year":
|
|
@@ -14424,7 +14424,7 @@ function L8(a) {
|
|
|
14424
14424
|
}
|
|
14425
14425
|
var bie = Symbol("RangeContextProps"), pwe = function(t) {
|
|
14426
14426
|
Fa(bie, t);
|
|
14427
|
-
},
|
|
14427
|
+
}, WN = function() {
|
|
14428
14428
|
return Da(bie, {
|
|
14429
14429
|
rangedValue: ot(),
|
|
14430
14430
|
hoverRangedValue: ot(),
|
|
@@ -14465,7 +14465,7 @@ var bie = Symbol("RangeContextProps"), pwe = function(t) {
|
|
|
14465
14465
|
}
|
|
14466
14466
|
});
|
|
14467
14467
|
function V8(a) {
|
|
14468
|
-
var t = Vl(a), i = t.prefixCls, c = t.generateConfig, f = t.prefixColumn, p = t.locale, C = t.rowCount, y = t.viewDate, x = t.value, E = t.dateRender, _ =
|
|
14468
|
+
var t = Vl(a), i = t.prefixCls, c = t.generateConfig, f = t.prefixColumn, p = t.locale, C = t.rowCount, y = t.viewDate, x = t.value, E = t.dateRender, _ = WN(), P = _.rangedValue, R = _.hoverRangedValue, D = dwe(p.locale, c, y), V = "".concat(i, "-cell"), L = c.locale.getWeekFirstDay(p.locale), $ = c.getNow(), B = [], H = p.shortWeekDays || (c.locale.getShortWeekDays ? c.locale.getShortWeekDays(p.locale) : []);
|
|
14469
14469
|
f && B.push(X("th", {
|
|
14470
14470
|
key: "empty",
|
|
14471
14471
|
"aria-label": "empty cell"
|
|
@@ -14569,7 +14569,7 @@ function IX(a) {
|
|
|
14569
14569
|
IX.displayName = "DateHeader";
|
|
14570
14570
|
IX.inheritAttrs = !1;
|
|
14571
14571
|
var bwe = 6;
|
|
14572
|
-
function
|
|
14572
|
+
function ZN(a) {
|
|
14573
14573
|
var t = Vl(a), i = t.prefixCls, c = t.panelName, f = c === void 0 ? "date" : c, p = t.keyboardConfig, C = t.active, y = t.operationRef, x = t.generateConfig, E = t.value, _ = t.viewDate, P = t.onViewDateChange, R = t.onPanelChange, D = t.onSelect, V = "".concat(i, "-").concat(f, "-panel");
|
|
14574
14574
|
y.value = {
|
|
14575
14575
|
onKeydown: function(H) {
|
|
@@ -14630,8 +14630,8 @@ function Z3(a) {
|
|
|
14630
14630
|
rowCount: bwe
|
|
14631
14631
|
}), null)]);
|
|
14632
14632
|
}
|
|
14633
|
-
|
|
14634
|
-
|
|
14633
|
+
ZN.displayName = "DatePanel";
|
|
14634
|
+
ZN.inheritAttrs = !1;
|
|
14635
14635
|
var bne = fwe("date", "time");
|
|
14636
14636
|
function FX(a) {
|
|
14637
14637
|
var t = Vl(a), i = t.prefixCls, c = t.operationRef, f = t.generateConfig, p = t.value, C = t.defaultValue, y = t.disabledTime, x = t.showTime, E = t.onSelect, _ = "".concat(i, "-datetime-panel"), P = ot(null), R = ot({}), D = ot({}), V = ar(x) === "object" ? Z({}, x) : {};
|
|
@@ -14663,7 +14663,7 @@ function FX(a) {
|
|
|
14663
14663
|
}, H = y ? y(p || null) : {};
|
|
14664
14664
|
return X("div", {
|
|
14665
14665
|
class: wn(_, Ne({}, "".concat(_, "-active"), P.value))
|
|
14666
|
-
}, [X(
|
|
14666
|
+
}, [X(ZN, Z(Z({}, t), {}, {
|
|
14667
14667
|
operationRef: R,
|
|
14668
14668
|
active: P.value === "date",
|
|
14669
14669
|
onSelect: function(K) {
|
|
@@ -14692,7 +14692,7 @@ function BX(a) {
|
|
|
14692
14692
|
}, x = "".concat(i, "-week-panel-row"), E = function(P) {
|
|
14693
14693
|
return wn(x, Ne({}, "".concat(x, "-selected"), mie(c, f.locale, p, P)));
|
|
14694
14694
|
};
|
|
14695
|
-
return X(
|
|
14695
|
+
return X(ZN, Z(Z({}, t), {}, {
|
|
14696
14696
|
panelName: "week",
|
|
14697
14697
|
prefixColumn: y,
|
|
14698
14698
|
rowClassName: E,
|
|
@@ -14730,7 +14730,7 @@ LX.displayName = "MonthHeader";
|
|
|
14730
14730
|
LX.inheritAttrs = !1;
|
|
14731
14731
|
var yie = 3, ywe = 4;
|
|
14732
14732
|
function VX(a) {
|
|
14733
|
-
var t = Vl(a), i = t.prefixCls, c = t.locale, f = t.value, p = t.viewDate, C = t.generateConfig, y = t.monthCellRender, x =
|
|
14733
|
+
var t = Vl(a), i = t.prefixCls, c = t.locale, f = t.value, p = t.viewDate, C = t.generateConfig, y = t.monthCellRender, x = WN(), E = x.rangedValue, _ = x.hoverRangedValue, P = "".concat(i, "-cell"), R = L8({
|
|
14734
14734
|
cellPrefixCls: P,
|
|
14735
14735
|
value: f,
|
|
14736
14736
|
generateConfig: C,
|
|
@@ -14849,7 +14849,7 @@ zX.displayName = "QuarterHeader";
|
|
|
14849
14849
|
zX.inheritAttrs = !1;
|
|
14850
14850
|
var Cwe = 4, wwe = 1;
|
|
14851
14851
|
function jX(a) {
|
|
14852
|
-
var t = Vl(a), i = t.prefixCls, c = t.locale, f = t.value, p = t.viewDate, C = t.generateConfig, y =
|
|
14852
|
+
var t = Vl(a), i = t.prefixCls, c = t.locale, f = t.value, p = t.viewDate, C = t.generateConfig, y = WN(), x = y.rangedValue, E = y.hoverRangedValue, _ = "".concat(i, "-cell"), P = L8({
|
|
14853
14853
|
cellPrefixCls: _,
|
|
14854
14854
|
value: f,
|
|
14855
14855
|
generateConfig: C,
|
|
@@ -14957,7 +14957,7 @@ UX.displayName = "YearHeader";
|
|
|
14957
14957
|
UX.inheritAttrs = !1;
|
|
14958
14958
|
var hq = 3, yne = 4;
|
|
14959
14959
|
function WX(a) {
|
|
14960
|
-
var t = Vl(a), i = t.prefixCls, c = t.value, f = t.viewDate, p = t.locale, C = t.generateConfig, y =
|
|
14960
|
+
var t = Vl(a), i = t.prefixCls, c = t.value, f = t.viewDate, p = t.locale, C = t.generateConfig, y = WN(), x = y.rangedValue, E = y.hoverRangedValue, _ = "".concat(i, "-cell"), P = C.getYear(f), R = Math.floor(P / hC) * hC, D = R + hC - 1, V = C.setYear(f, R - Math.ceil((hq * yne - hC) / 2)), L = function(H) {
|
|
14961
14961
|
var N = C.getYear(H);
|
|
14962
14962
|
return R <= N && N <= D;
|
|
14963
14963
|
}, $ = L8({
|
|
@@ -15151,11 +15151,11 @@ function xwe() {
|
|
|
15151
15151
|
}), y = ke(function() {
|
|
15152
15152
|
return 60 % t.secondStep === 0;
|
|
15153
15153
|
});
|
|
15154
|
-
({ APP_NAME: "fx-platform-ui", APP_VERSION: "0.0.13-
|
|
15154
|
+
({ APP_NAME: "fx-platform-ui", APP_VERSION: "0.0.13-alpha3", APP_BUILD_TIME: "2022-11-21 18:19:45" }).NODE_ENV !== "production" && Br(function() {
|
|
15155
15155
|
var $e = t.generateConfig, xe = t.value, te = t.hourStep, vt = te === void 0 ? 1 : te, Mt = t.minuteStep, gt = Mt === void 0 ? 1 : Mt, ht = t.secondStep, Ze = ht === void 0 ? 1 : ht;
|
|
15156
15156
|
na(!xe || $e.isValidate(xe), "Invalidate date pass to `value`."), na(!xe || $e.isValidate(xe), "Invalidate date pass to `defaultValue`."), na(p.value, "`hourStep` ".concat(vt, " is invalid. It should be a factor of 24.")), na(C.value, "`minuteStep` ".concat(gt, " is invalid. It should be a factor of 60.")), na(y.value, "`secondStep` ".concat(Ze, " is invalid. It should be a factor of 60."));
|
|
15157
15157
|
});
|
|
15158
|
-
var x = Lv(), E = x.operationRef, _ = x.panelRef, P = x.onSelect, R = x.hideRanges, D = x.defaultOpenValue, V =
|
|
15158
|
+
var x = Lv(), E = x.operationRef, _ = x.panelRef, P = x.onSelect, R = x.hideRanges, D = x.defaultOpenValue, V = WN(), L = V.inRange, $ = V.panelPosition, B = V.rangedValue, H = V.hoverRangedValue, N = ot({}), K = Tu(null, {
|
|
15159
15159
|
value: yr(t, "value"),
|
|
15160
15160
|
defaultValue: t.defaultValue,
|
|
15161
15161
|
postState: function(xe) {
|
|
@@ -15290,7 +15290,7 @@ function xwe() {
|
|
|
15290
15290
|
onSelect: function(dn, Pt) {
|
|
15291
15291
|
oe(dn), Ce(dn, Pt);
|
|
15292
15292
|
}
|
|
15293
|
-
}), null) : mt = X(
|
|
15293
|
+
}), null) : mt = X(ZN, Z(Z({}, Kt), {}, {
|
|
15294
15294
|
onSelect: function(dn, Pt) {
|
|
15295
15295
|
oe(dn), Ce(dn, Pt);
|
|
15296
15296
|
}
|
|
@@ -15377,7 +15377,7 @@ function Sie(a, t) {
|
|
|
15377
15377
|
var i, c = t.slots, f = Vl(a), p = f.prefixCls, C = f.popupStyle, y = f.visible, x = f.dropdownClassName, E = f.dropdownAlign, _ = f.transitionName, P = f.getPopupContainer, R = f.range, D = f.popupPlacement, V = f.direction, L = "".concat(p, "-dropdown"), $ = function() {
|
|
15378
15378
|
return D !== void 0 ? D : V === "rtl" ? "bottomRight" : "bottomLeft";
|
|
15379
15379
|
};
|
|
15380
|
-
return X(
|
|
15380
|
+
return X(jN, {
|
|
15381
15381
|
showAction: [],
|
|
15382
15382
|
hideAction: [],
|
|
15383
15383
|
popupPlacement: $(),
|
|
@@ -15548,7 +15548,7 @@ function Ewe() {
|
|
|
15548
15548
|
}), y = ke(function() {
|
|
15549
15549
|
return C.value === "date" && !!t.showTime || C.value === "time";
|
|
15550
15550
|
});
|
|
15551
|
-
({ APP_NAME: "fx-platform-ui", APP_VERSION: "0.0.13-
|
|
15551
|
+
({ APP_NAME: "fx-platform-ui", APP_VERSION: "0.0.13-alpha3", APP_BUILD_TIME: "2022-11-21 18:19:45" }).NODE_ENV !== "production" && kie(t);
|
|
15552
15552
|
var x = ke(function() {
|
|
15553
15553
|
return pie(cie(t.format, C.value, t.showTime, t.use12Hours));
|
|
15554
15554
|
}), E = ot(null), _ = ot(null), P = ot(null), R = Tu(null, {
|
|
@@ -15716,7 +15716,7 @@ function Ewe() {
|
|
|
15716
15716
|
}, vie(t)), {}, {
|
|
15717
15717
|
autocomplete: qn
|
|
15718
15718
|
}), $n = t.inputRender ? t.inputRender(Eo) : X("input", Eo, null);
|
|
15719
|
-
({ APP_NAME: "fx-platform-ui", APP_VERSION: "0.0.13-
|
|
15719
|
+
({ APP_NAME: "fx-platform-ui", APP_VERSION: "0.0.13-alpha3", APP_BUILD_TIME: "2022-11-21 18:19:45" }).NODE_ENV !== "production" && na(!Lt, "`defaultOpenValue` may confuse user for the current value status. Please use `defaultValue` instead.");
|
|
15720
15720
|
var lr = Wt === "rtl" ? "bottomRight" : "bottomLeft";
|
|
15721
15721
|
return X(Sie, {
|
|
15722
15722
|
visible: J.value,
|
|
@@ -15811,7 +15811,7 @@ function Owe(a, t) {
|
|
|
15811
15811
|
return [D, V];
|
|
15812
15812
|
}
|
|
15813
15813
|
function Pwe(a, t, i, c) {
|
|
15814
|
-
var f =
|
|
15814
|
+
var f = hN(a, i, c, 1);
|
|
15815
15815
|
function p(C) {
|
|
15816
15816
|
return C(a, t) ? "same" : C(f, t) ? "closing" : "far";
|
|
15817
15817
|
}
|
|
@@ -15843,7 +15843,7 @@ function _we(a, t, i, c) {
|
|
|
15843
15843
|
case "closing":
|
|
15844
15844
|
return f;
|
|
15845
15845
|
default:
|
|
15846
|
-
return
|
|
15846
|
+
return hN(p, i, c, -1);
|
|
15847
15847
|
}
|
|
15848
15848
|
}
|
|
15849
15849
|
return f;
|
|
@@ -15885,7 +15885,7 @@ function Dwe() {
|
|
|
15885
15885
|
var c = i.attrs, f = i.expose, p = ke(function() {
|
|
15886
15886
|
return t.picker === "date" && !!t.showTime || t.picker === "time";
|
|
15887
15887
|
}), C = vse(), y = ot({}), x = ot(null), E = ot(null), _ = ot(null), P = ot(null), R = ot(null), D = ot(null), V = ot(null), L = ot(null);
|
|
15888
|
-
({ APP_NAME: "fx-platform-ui", APP_VERSION: "0.0.13-
|
|
15888
|
+
({ APP_NAME: "fx-platform-ui", APP_VERSION: "0.0.13-alpha3", APP_BUILD_TIME: "2022-11-21 18:19:45" }).NODE_ENV !== "production" && kie(t);
|
|
15889
15889
|
var $ = ke(function() {
|
|
15890
15890
|
return pie(cie(t.format, t.picker, t.showTime, t.use12Hours));
|
|
15891
15891
|
}), B = Tu(0, {
|
|
@@ -16088,7 +16088,7 @@ function Dwe() {
|
|
|
16088
16088
|
gt.value || (he(ae.value), !en.value.length || en.value[0] === "" ? yt("") : Tn.value !== pt.value && Ct(), !Xt.value.length || Xt.value[0] === "" ? bt("") : Lt.value !== sn.value && Vt());
|
|
16089
16089
|
}), Bn([Rn, ro], function() {
|
|
16090
16090
|
he(ae.value);
|
|
16091
|
-
}), { APP_NAME: "fx-platform-ui", APP_VERSION: "0.0.13-
|
|
16091
|
+
}), { APP_NAME: "fx-platform-ui", APP_VERSION: "0.0.13-alpha3", APP_BUILD_TIME: "2022-11-21 18:19:45" }.NODE_ENV !== "production" && Br(function() {
|
|
16092
16092
|
var Qn = t.value, Vn = t.disabled;
|
|
16093
16093
|
Qn && Array.isArray(Vn) && (Ka(Vn, 0) && !Ka(Qn, 0) || Ka(Vn, 1) && !Ka(Qn, 1)) && na(!1, "`disabled` should not set with empty `value`. You should set `allowEmpty` or `value` instead.");
|
|
16094
16094
|
}), f({
|
|
@@ -16163,7 +16163,7 @@ function Dwe() {
|
|
|
16163
16163
|
onPanelChange: function(Hs, Ar) {
|
|
16164
16164
|
N.value === 0 && fr(!0), N.value === 1 && cr(!0), fe(Cg(De.value, Ar, N.value), Cg(le.value, Hs, N.value));
|
|
16165
16165
|
var ps = Hs;
|
|
16166
|
-
Qn === "right" && De.value[N.value] === Ar && (ps =
|
|
16166
|
+
Qn === "right" && De.value[N.value] === Ar && (ps = hN(ps, Ar, Dn, -1)), se(ps, N.value);
|
|
16167
16167
|
},
|
|
16168
16168
|
onOk: null,
|
|
16169
16169
|
onSelect: void 0,
|
|
@@ -16210,7 +16210,7 @@ function Dwe() {
|
|
|
16210
16210
|
}
|
|
16211
16211
|
});
|
|
16212
16212
|
if (ps !== "time" && !Ts) {
|
|
16213
|
-
var Qe = N.value === 0 ? de.value : ie.value, $t =
|
|
16213
|
+
var Qe = N.value === 0 ? de.value : ie.value, $t = hN(Qe, ps, Rs), to = De.value[N.value], Qo = to === ps, go = ko(Qo ? "left" : !1, {
|
|
16214
16214
|
pickerValue: Qe,
|
|
16215
16215
|
onPickerValueChange: function(is) {
|
|
16216
16216
|
se(is, N.value);
|
|
@@ -16218,7 +16218,7 @@ function Dwe() {
|
|
|
16218
16218
|
}), os = ko("right", {
|
|
16219
16219
|
pickerValue: $t,
|
|
16220
16220
|
onPickerValueChange: function(is) {
|
|
16221
|
-
se(
|
|
16221
|
+
se(hN(is, ps, Rs, -1), N.value);
|
|
16222
16222
|
}
|
|
16223
16223
|
});
|
|
16224
16224
|
Fo === "rtl" ? Qr = X(Ua, null, [os, Qo && go]) : Qr = X(Ua, null, [go, Qo && os]);
|
|
@@ -16867,7 +16867,7 @@ function axe(a) {
|
|
|
16867
16867
|
children: f || "children"
|
|
16868
16868
|
};
|
|
16869
16869
|
}
|
|
16870
|
-
function
|
|
16870
|
+
function lN(a, t) {
|
|
16871
16871
|
var i, c;
|
|
16872
16872
|
return (i = a.isLeaf) !== null && i !== void 0 ? i : !((c = a[t.children]) !== null && c !== void 0 && c.length);
|
|
16873
16873
|
}
|
|
@@ -17615,7 +17615,7 @@ function Cq(a, t) {
|
|
|
17615
17615
|
}), uo(i);
|
|
17616
17616
|
}
|
|
17617
17617
|
var bxe = ["title", "icon", "switcherIcon"];
|
|
17618
|
-
function
|
|
17618
|
+
function GN(a, t) {
|
|
17619
17619
|
return a != null ? a : t;
|
|
17620
17620
|
}
|
|
17621
17621
|
function H8(a) {
|
|
@@ -17661,7 +17661,7 @@ function yxe(a, t, i) {
|
|
|
17661
17661
|
function E(_) {
|
|
17662
17662
|
var P = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : null;
|
|
17663
17663
|
return _.map(function(R, D) {
|
|
17664
|
-
for (var V = $ie(P ? P.pos : "0", D), L =
|
|
17664
|
+
for (var V = $ie(P ? P.pos : "0", D), L = GN(R[p], V), $, B = 0; B < f.length; B += 1) {
|
|
17665
17665
|
var H = f[B];
|
|
17666
17666
|
if (R[H] !== void 0) {
|
|
17667
17667
|
$ = R[H];
|
|
@@ -17694,7 +17694,7 @@ function Cxe(a, t, i) {
|
|
|
17694
17694
|
} : typeof C == "function" && (R = function(L) {
|
|
17695
17695
|
return C(L);
|
|
17696
17696
|
}) : R = function(L, $) {
|
|
17697
|
-
return
|
|
17697
|
+
return GN(L[E], $);
|
|
17698
17698
|
};
|
|
17699
17699
|
function D(V, L, $, B) {
|
|
17700
17700
|
var H = V ? V[P] : a, N = V ? $ie($.pos, L) : "0", K = V ? [].concat(uo(B), [V]) : [];
|
|
@@ -17720,7 +17720,7 @@ function Cxe(a, t, i) {
|
|
|
17720
17720
|
}
|
|
17721
17721
|
D(null);
|
|
17722
17722
|
}
|
|
17723
|
-
function
|
|
17723
|
+
function qN(a) {
|
|
17724
17724
|
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, i = t.initWrapper, c = t.processEntity, f = t.onProcessFinished, p = t.externalGetKey, C = t.childrenPropName, y = t.fieldNames, x = arguments.length > 2 ? arguments[2] : void 0, E = p || x, _ = {}, P = {}, R = {
|
|
17725
17725
|
posEntities: _,
|
|
17726
17726
|
keyEntities: P
|
|
@@ -17733,7 +17733,7 @@ function q3(a) {
|
|
|
17733
17733
|
key: B,
|
|
17734
17734
|
pos: $,
|
|
17735
17735
|
level: N
|
|
17736
|
-
}, W =
|
|
17736
|
+
}, W = GN(B, $);
|
|
17737
17737
|
_[$] = J, P[W] = J, J.parent = _[H], J.parent && (J.parent.children = J.parent.children || [], J.parent.children.push(J)), c && c(J, R);
|
|
17738
17738
|
}, {
|
|
17739
17739
|
externalGetKey: E,
|
|
@@ -17784,7 +17784,7 @@ function Sq(a) {
|
|
|
17784
17784
|
}
|
|
17785
17785
|
const wxe = function(a, t) {
|
|
17786
17786
|
var i = ke(function() {
|
|
17787
|
-
return
|
|
17787
|
+
return qN(a.value, {
|
|
17788
17788
|
fieldNames: t.value,
|
|
17789
17789
|
initWrapper: function(f) {
|
|
17790
17790
|
return Z(Z({}, f), {}, {
|
|
@@ -17812,13 +17812,13 @@ function xxe(a) {
|
|
|
17812
17812
|
matchInputWidth: !0,
|
|
17813
17813
|
limit: 50
|
|
17814
17814
|
};
|
|
17815
|
-
a.value && ar(a.value) === "object" && (c = Z(Z({}, c), a.value)), c.limit <= 0 && (delete c.limit, { APP_NAME: "fx-platform-ui", APP_VERSION: "0.0.13-
|
|
17815
|
+
a.value && ar(a.value) === "object" && (c = Z(Z({}, c), a.value)), c.limit <= 0 && (delete c.limit, { APP_NAME: "fx-platform-ui", APP_VERSION: "0.0.13-alpha3", APP_BUILD_TIME: "2022-11-21 18:19:45" }.NODE_ENV !== "production" && na(!1, "'limit' of showSearch should be positive number or false.")), t.value = !0, i.value = c;
|
|
17816
17816
|
}), {
|
|
17817
17817
|
showSearch: t,
|
|
17818
17818
|
searchConfig: i
|
|
17819
17819
|
};
|
|
17820
17820
|
}
|
|
17821
|
-
var
|
|
17821
|
+
var pN = "__rc_cascader_search_mark__", Sxe = function(t, i, c) {
|
|
17822
17822
|
var f = c.label;
|
|
17823
17823
|
return i.some(function(p) {
|
|
17824
17824
|
return String(p[f]).toLowerCase().includes(t.toLowerCase());
|
|
@@ -17847,14 +17847,14 @@ const Exe = function(a, t, i, c, f, p) {
|
|
|
17847
17847
|
path: N,
|
|
17848
17848
|
prefixCls: c.value,
|
|
17849
17849
|
fieldNames: i.value
|
|
17850
|
-
})), Ne(J,
|
|
17850
|
+
})), Ne(J, pN, N), J)));
|
|
17851
17851
|
}
|
|
17852
17852
|
K && L(H[i.value.children], N);
|
|
17853
17853
|
}
|
|
17854
17854
|
});
|
|
17855
17855
|
}
|
|
17856
17856
|
return L(t.value, []), D && V.sort(function($, B) {
|
|
17857
|
-
return D($[
|
|
17857
|
+
return D($[pN], B[pN], a.value, i.value);
|
|
17858
17858
|
}), R > 0 ? V.slice(0, R) : V;
|
|
17859
17859
|
});
|
|
17860
17860
|
};
|
|
@@ -17867,7 +17867,7 @@ function Tne(a, t, i) {
|
|
|
17867
17867
|
})) : !(C && !C.node.disabled && c.has(C.key));
|
|
17868
17868
|
});
|
|
17869
17869
|
}
|
|
17870
|
-
function
|
|
17870
|
+
function NN(a, t, i) {
|
|
17871
17871
|
for (var c = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : !1, f = t, p = [], C = function(E) {
|
|
17872
17872
|
var _, P, R, D = a[E], V = (_ = f) === null || _ === void 0 ? void 0 : _.findIndex(function($) {
|
|
17873
17873
|
var B = $[i.value];
|
|
@@ -17886,7 +17886,7 @@ const Txe = function(a, t, i) {
|
|
|
17886
17886
|
return ke(function() {
|
|
17887
17887
|
var c = [], f = [];
|
|
17888
17888
|
return i.value.forEach(function(p) {
|
|
17889
|
-
var C =
|
|
17889
|
+
var C = NN(p, a.value, t.value);
|
|
17890
17890
|
C.every(function(y) {
|
|
17891
17891
|
return y.option;
|
|
17892
17892
|
}) ? f.push(p) : c.push(p);
|
|
@@ -18003,7 +18003,7 @@ const Axe = function(a, t, i, c, f) {
|
|
|
18003
18003
|
}, []);
|
|
18004
18004
|
};
|
|
18005
18005
|
return a.value.map(function(C) {
|
|
18006
|
-
var y =
|
|
18006
|
+
var y = NN(C, t.value, i.value), x = p({
|
|
18007
18007
|
labels: y.map(function(_) {
|
|
18008
18008
|
var P, R = _.option, D = _.value;
|
|
18009
18009
|
return (P = R == null ? void 0 : R[i.value.label]) !== null && P !== void 0 ? P : D;
|
|
@@ -18028,7 +18028,7 @@ var Fie = Symbol("CascaderContextKey"), Dxe = function(t) {
|
|
|
18028
18028
|
return Da(Fie);
|
|
18029
18029
|
};
|
|
18030
18030
|
const Mxe = function() {
|
|
18031
|
-
var a =
|
|
18031
|
+
var a = UN(), t = z8(), i = t.values, c = xg([]), f = To(c, 2), p = f[0], C = f[1];
|
|
18032
18032
|
return Bn(function() {
|
|
18033
18033
|
return a.open;
|
|
18034
18034
|
}, function() {
|
|
@@ -18040,7 +18040,7 @@ const Mxe = function() {
|
|
|
18040
18040
|
immediate: !0
|
|
18041
18041
|
}), [p, C];
|
|
18042
18042
|
}, Nxe = function(a, t, i, c, f, p) {
|
|
18043
|
-
var C =
|
|
18043
|
+
var C = UN(), y = ke(function() {
|
|
18044
18044
|
return C.direction === "rtl";
|
|
18045
18045
|
}), x = [ot([]), ot(), ot([])], E = x[0], _ = x[1], P = x[2];
|
|
18046
18046
|
Br(function() {
|
|
@@ -18114,7 +18114,7 @@ const Mxe = function() {
|
|
|
18114
18114
|
}
|
|
18115
18115
|
case oo.ENTER: {
|
|
18116
18116
|
if (E.value.length) {
|
|
18117
|
-
var K = P.value[_.value], J = (K == null ? void 0 : K[
|
|
18117
|
+
var K = P.value[_.value], J = (K == null ? void 0 : K[pN]) || [];
|
|
18118
18118
|
J.length ? p(J.map(function(W) {
|
|
18119
18119
|
return W[i.value.value];
|
|
18120
18120
|
}), J[J.length - 1]) : p(E.value, K);
|
|
@@ -18146,7 +18146,7 @@ function K8(a) {
|
|
|
18146
18146
|
class: N,
|
|
18147
18147
|
role: "menu"
|
|
18148
18148
|
}, [E.map(function(pe) {
|
|
18149
|
-
var A, le, he = pe.disabled, Se = pe[
|
|
18149
|
+
var A, le, he = pe.disabled, Se = pe[pN], Ce = (A = pe[Bie]) !== null && A !== void 0 ? A : pe[W.value.label], De = pe[W.value.value], Me = lN(pe, W.value), fe = Se ? Se.map(function(ht) {
|
|
18150
18150
|
return ht[W.value.value];
|
|
18151
18151
|
}) : [].concat(uo(P), [De]), _e = yC(fe), $e = B.includes(_e), xe = L.has(_e), te = $.has(_e), vt = function() {
|
|
18152
18152
|
!he && (!se || !Me) && V(fe);
|
|
@@ -18200,17 +18200,17 @@ const Rxe = vn({
|
|
|
18200
18200
|
name: "OptionList",
|
|
18201
18201
|
inheritAttrs: !1,
|
|
18202
18202
|
setup: function(t, i) {
|
|
18203
|
-
var c = i.attrs, f = i.slots, p =
|
|
18203
|
+
var c = i.attrs, f = i.slots, p = UN(), C = ot(), y = ke(function() {
|
|
18204
18204
|
return p.direction === "rtl";
|
|
18205
18205
|
}), x = z8(), E = x.options, _ = x.values, P = x.halfValues, R = x.fieldNames, D = x.changeOnSelect, V = x.onSelect, L = x.searchOptions, $ = x.dropdownPrefixCls, B = x.loadData, H = x.expandTrigger, N = x.customSlots, K = ke(function() {
|
|
18206
18206
|
return $.value || p.prefixCls;
|
|
18207
18207
|
}), J = ca([]), W = function(Ce) {
|
|
18208
18208
|
if (!(!B.value || p.searchValue)) {
|
|
18209
|
-
var De =
|
|
18209
|
+
var De = NN(Ce, E.value, R.value), Me = De.map(function($e) {
|
|
18210
18210
|
var xe = $e.option;
|
|
18211
18211
|
return xe;
|
|
18212
18212
|
}), fe = Me[Me.length - 1];
|
|
18213
|
-
if (fe && !
|
|
18213
|
+
if (fe && !lN(fe, R.value)) {
|
|
18214
18214
|
var _e = yC(Ce);
|
|
18215
18215
|
J.value = [].concat(uo(J.value), [_e]), B.value(Me);
|
|
18216
18216
|
}
|
|
@@ -18218,11 +18218,11 @@ const Rxe = vn({
|
|
|
18218
18218
|
};
|
|
18219
18219
|
Br(function() {
|
|
18220
18220
|
J.value.length && J.value.forEach(function(Se) {
|
|
18221
|
-
var Ce = rxe(Se), De =
|
|
18221
|
+
var Ce = rxe(Se), De = NN(Ce, E.value, R.value, !0).map(function(fe) {
|
|
18222
18222
|
var _e = fe.option;
|
|
18223
18223
|
return _e;
|
|
18224
18224
|
}), Me = De[De.length - 1];
|
|
18225
|
-
(!Me || Me[R.value.children] ||
|
|
18225
|
+
(!Me || Me[R.value.children] || lN(Me, R.value)) && (J.value = J.value.filter(function(fe) {
|
|
18226
18226
|
return fe !== Se;
|
|
18227
18227
|
}));
|
|
18228
18228
|
});
|
|
@@ -18234,7 +18234,7 @@ const Rxe = vn({
|
|
|
18234
18234
|
}), ae = Mxe(), ue = To(ae, 2), ce = ue[0], oe = ue[1], de = function(Ce) {
|
|
18235
18235
|
oe(Ce), W(Ce);
|
|
18236
18236
|
}, ie = function(Ce) {
|
|
18237
|
-
var De = Ce.disabled, Me =
|
|
18237
|
+
var De = Ce.disabled, Me = lN(Ce, R.value);
|
|
18238
18238
|
return !De && (Me || D.value || p.multiple);
|
|
18239
18239
|
}, se = function(Ce, De) {
|
|
18240
18240
|
var Me = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !1;
|
|
@@ -18260,7 +18260,7 @@ const Rxe = vn({
|
|
|
18260
18260
|
}
|
|
18261
18261
|
return Se;
|
|
18262
18262
|
}), le = function(Ce, De) {
|
|
18263
|
-
ie(De) && se(Ce,
|
|
18263
|
+
ie(De) && se(Ce, lN(De, R.value), !0);
|
|
18264
18264
|
};
|
|
18265
18265
|
Nxe(i, pe, R, ce, de, le);
|
|
18266
18266
|
var he = function(Ce) {
|
|
@@ -18452,7 +18452,7 @@ const Fxe = vn({
|
|
|
18452
18452
|
}), le = Axe(A, D, R, y, yr(t, "displayRender")), he = function(tt) {
|
|
18453
18453
|
if (P(tt), t.onChange) {
|
|
18454
18454
|
var Nt = One(tt), mt = Nt.map(function(Tn) {
|
|
18455
|
-
return
|
|
18455
|
+
return NN(Tn, D.value, R.value).map(function(Gn) {
|
|
18456
18456
|
return Gn.option;
|
|
18457
18457
|
});
|
|
18458
18458
|
}), Kt = y.value ? Nt : Nt[0], en = y.value ? mt : mt[0];
|
|
@@ -18496,7 +18496,7 @@ const Fxe = vn({
|
|
|
18496
18496
|
var mt = Nt.values[0].valueCells;
|
|
18497
18497
|
Se(mt);
|
|
18498
18498
|
};
|
|
18499
|
-
({ APP_NAME: "fx-platform-ui", APP_VERSION: "0.0.13-
|
|
18499
|
+
({ APP_NAME: "fx-platform-ui", APP_VERSION: "0.0.13-alpha3", APP_BUILD_TIME: "2022-11-21 18:19:45" }).NODE_ENV !== "production" && Br(function() {
|
|
18500
18500
|
Ms(!t.onPopupVisibleChange, "Cascader", "`popupVisibleChange` is deprecated. Please use `dropdownVisibleChange` instead."), Ms(t.popupVisible === void 0, "Cascader", "`popupVisible` is deprecated. Please use `open` instead."), Ms(t.popupClassName === void 0, "Cascader", "`popupClassName` is deprecated. Please use `dropdownClassName` instead."), Ms(t.popupPlacement === void 0, "Cascader", "`popupPlacement` is deprecated. Please use `placement` instead."), Ms(t.popupStyle === void 0, "Cascader", "`popupStyle` is deprecated. Please use `dropdownStyle` instead.");
|
|
18501
18501
|
});
|
|
18502
18502
|
var De = ke(function() {
|
|
@@ -18643,17 +18643,17 @@ function $S() {
|
|
|
18643
18643
|
}, $S.apply(this, arguments);
|
|
18644
18644
|
}
|
|
18645
18645
|
function Hxe(a, t) {
|
|
18646
|
-
a.prototype = Object.create(t.prototype), a.prototype.constructor = a,
|
|
18646
|
+
a.prototype = Object.create(t.prototype), a.prototype.constructor = a, RN(a, t);
|
|
18647
18647
|
}
|
|
18648
18648
|
function kq(a) {
|
|
18649
18649
|
return kq = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(i) {
|
|
18650
18650
|
return i.__proto__ || Object.getPrototypeOf(i);
|
|
18651
18651
|
}, kq(a);
|
|
18652
18652
|
}
|
|
18653
|
-
function
|
|
18654
|
-
return
|
|
18653
|
+
function RN(a, t) {
|
|
18654
|
+
return RN = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(c, f) {
|
|
18655
18655
|
return c.__proto__ = f, c;
|
|
18656
|
-
},
|
|
18656
|
+
}, RN(a, t);
|
|
18657
18657
|
}
|
|
18658
18658
|
function zxe() {
|
|
18659
18659
|
if (typeof Reflect > "u" || !Reflect.construct || Reflect.construct.sham)
|
|
@@ -18672,7 +18672,7 @@ function LL(a, t, i) {
|
|
|
18672
18672
|
var y = [null];
|
|
18673
18673
|
y.push.apply(y, p);
|
|
18674
18674
|
var x = Function.bind.apply(f, y), E = new x();
|
|
18675
|
-
return C &&
|
|
18675
|
+
return C && RN(E, C.prototype), E;
|
|
18676
18676
|
}, LL.apply(null, arguments);
|
|
18677
18677
|
}
|
|
18678
18678
|
function jxe(a) {
|
|
@@ -18700,12 +18700,12 @@ function Eq(a) {
|
|
|
18700
18700
|
writable: !0,
|
|
18701
18701
|
configurable: !0
|
|
18702
18702
|
}
|
|
18703
|
-
}),
|
|
18703
|
+
}), RN(f, c);
|
|
18704
18704
|
}, Eq(a);
|
|
18705
18705
|
}
|
|
18706
18706
|
var Kxe = /%[sdj%]/g, Hie = function() {
|
|
18707
18707
|
};
|
|
18708
|
-
typeof process < "u" && { APP_NAME: "fx-platform-ui", APP_VERSION: "0.0.13-
|
|
18708
|
+
typeof process < "u" && { APP_NAME: "fx-platform-ui", APP_VERSION: "0.0.13-alpha3", APP_BUILD_TIME: "2022-11-21 18:19:45" } && { APP_NAME: "fx-platform-ui", APP_VERSION: "0.0.13-alpha3", APP_BUILD_TIME: "2022-11-21 18:19:45" }.NODE_ENV !== "production" && typeof window < "u" && typeof document < "u" && (Hie = function(t, i) {
|
|
18709
18709
|
typeof console < "u" && console.warn && typeof ASYNC_VALIDATOR_NO_WARNING > "u" && i.every(function(c) {
|
|
18710
18710
|
return typeof c == "string";
|
|
18711
18711
|
}) && console.warn(t, i);
|
|
@@ -18882,12 +18882,12 @@ var zie = function(t, i, c, f, p, C) {
|
|
|
18882
18882
|
}, Nne = {
|
|
18883
18883
|
email: /^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+\.)+[a-zA-Z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}))$/,
|
|
18884
18884
|
hex: /^#?([a-f0-9]{6}|[a-f0-9]{3})$/i
|
|
18885
|
-
},
|
|
18885
|
+
}, cN = {
|
|
18886
18886
|
integer: function(t) {
|
|
18887
|
-
return
|
|
18887
|
+
return cN.number(t) && parseInt(t, 10) === t;
|
|
18888
18888
|
},
|
|
18889
18889
|
float: function(t) {
|
|
18890
|
-
return
|
|
18890
|
+
return cN.number(t) && !cN.integer(t);
|
|
18891
18891
|
},
|
|
18892
18892
|
array: function(t) {
|
|
18893
18893
|
return Array.isArray(t);
|
|
@@ -18908,7 +18908,7 @@ var zie = function(t, i, c, f, p, C) {
|
|
|
18908
18908
|
return isNaN(t) ? !1 : typeof t == "number";
|
|
18909
18909
|
},
|
|
18910
18910
|
object: function(t) {
|
|
18911
|
-
return typeof t == "object" && !
|
|
18911
|
+
return typeof t == "object" && !cN.array(t);
|
|
18912
18912
|
},
|
|
18913
18913
|
method: function(t) {
|
|
18914
18914
|
return typeof t == "function";
|
|
@@ -18928,7 +18928,7 @@ var zie = function(t, i, c, f, p, C) {
|
|
|
18928
18928
|
return;
|
|
18929
18929
|
}
|
|
18930
18930
|
var C = ["integer", "float", "array", "regexp", "object", "method", "email", "number", "date", "url", "hex"], y = t.type;
|
|
18931
|
-
C.indexOf(y) > -1 ?
|
|
18931
|
+
C.indexOf(y) > -1 ? cN[y](i) || f.push(ym(p.messages.types[y], t.fullField, t.type)) : y && typeof i !== t.type && f.push(ym(p.messages.types[y], t.fullField, t.type));
|
|
18932
18932
|
}, eSe = function(t, i, c, f, p) {
|
|
18933
18933
|
var C = typeof t.len == "number", y = typeof t.min == "number", x = typeof t.max == "number", E = /[\uD800-\uDBFF][\uDC00-\uDFFF]/g, _ = i, P = null, R = typeof i == "number", D = typeof i == "string", V = Array.isArray(i);
|
|
18934
18934
|
if (R ? P = "number" : D ? P = "string" : V && (P = "array"), !P)
|
|
@@ -19070,7 +19070,7 @@ var zie = function(t, i, c, f, p, C) {
|
|
|
19070
19070
|
cs.required(t, i, f, C, p);
|
|
19071
19071
|
}
|
|
19072
19072
|
c(C);
|
|
19073
|
-
},
|
|
19073
|
+
}, vN = {
|
|
19074
19074
|
string: oSe,
|
|
19075
19075
|
method: rSe,
|
|
19076
19076
|
number: aSe,
|
|
@@ -19142,7 +19142,7 @@ function Oq() {
|
|
|
19142
19142
|
}
|
|
19143
19143
|
};
|
|
19144
19144
|
}
|
|
19145
|
-
var Pq = Oq(),
|
|
19145
|
+
var Pq = Oq(), YN = /* @__PURE__ */ function() {
|
|
19146
19146
|
function a(i) {
|
|
19147
19147
|
this.rules = null, this._messages = Pq, this.define(i);
|
|
19148
19148
|
}
|
|
@@ -19259,24 +19259,24 @@ var Pq = Oq(), Y3 = /* @__PURE__ */ function() {
|
|
|
19259
19259
|
_(L);
|
|
19260
19260
|
}, y);
|
|
19261
19261
|
}, t.getType = function(c) {
|
|
19262
|
-
if (c.type === void 0 && c.pattern instanceof RegExp && (c.type = "pattern"), typeof c.validator != "function" && c.type && !
|
|
19262
|
+
if (c.type === void 0 && c.pattern instanceof RegExp && (c.type = "pattern"), typeof c.validator != "function" && c.type && !vN.hasOwnProperty(c.type))
|
|
19263
19263
|
throw new Error(ym("Unknown rule type %s", c.type));
|
|
19264
19264
|
return c.type || "string";
|
|
19265
19265
|
}, t.getValidationMethod = function(c) {
|
|
19266
19266
|
if (typeof c.validator == "function")
|
|
19267
19267
|
return c.validator;
|
|
19268
19268
|
var f = Object.keys(c), p = f.indexOf("message");
|
|
19269
|
-
return p !== -1 && f.splice(p, 1), f.length === 1 && f[0] === "required" ?
|
|
19269
|
+
return p !== -1 && f.splice(p, 1), f.length === 1 && f[0] === "required" ? vN.required : vN[this.getType(c)] || void 0;
|
|
19270
19270
|
}, a;
|
|
19271
19271
|
}();
|
|
19272
|
-
|
|
19272
|
+
YN.register = function(t, i) {
|
|
19273
19273
|
if (typeof i != "function")
|
|
19274
19274
|
throw new Error("Cannot register a validator by type, validator is not a function");
|
|
19275
|
-
|
|
19275
|
+
vN[t] = i;
|
|
19276
19276
|
};
|
|
19277
|
-
|
|
19278
|
-
|
|
19279
|
-
|
|
19277
|
+
YN.warning = Hie;
|
|
19278
|
+
YN.messages = Pq;
|
|
19279
|
+
YN.validators = vN;
|
|
19280
19280
|
function CC(a) {
|
|
19281
19281
|
return a == null ? [] : Array.isArray(a) ? a : [a];
|
|
19282
19282
|
}
|
|
@@ -19389,7 +19389,7 @@ var pm = "'${name}' is not a valid ${type}", W8 = {
|
|
|
19389
19389
|
pattern: {
|
|
19390
19390
|
mismatch: "'${name}' does not match pattern ${pattern}"
|
|
19391
19391
|
}
|
|
19392
|
-
}, kSe =
|
|
19392
|
+
}, kSe = YN;
|
|
19393
19393
|
function ESe(a, t) {
|
|
19394
19394
|
return a.replace(/\$\{\w+\}/g, function(i) {
|
|
19395
19395
|
var c = i.slice(2, -1);
|
|
@@ -19400,7 +19400,7 @@ function Aq(a, t, i, c, f) {
|
|
|
19400
19400
|
return Dq.apply(this, arguments);
|
|
19401
19401
|
}
|
|
19402
19402
|
function Dq() {
|
|
19403
|
-
return Dq =
|
|
19403
|
+
return Dq = VN(/* @__PURE__ */ Bv.mark(function a(t, i, c, f, p) {
|
|
19404
19404
|
var C, y, x, E, _, P, R, D;
|
|
19405
19405
|
return Bv.wrap(function(L) {
|
|
19406
19406
|
for (; ; )
|
|
@@ -19468,7 +19468,7 @@ function Wie(a, t, i, c, f, p) {
|
|
|
19468
19468
|
}), x;
|
|
19469
19469
|
if (f === !0)
|
|
19470
19470
|
x = new Promise(/* @__PURE__ */ function() {
|
|
19471
|
-
var _ =
|
|
19471
|
+
var _ = VN(/* @__PURE__ */ Bv.mark(function P(R, D) {
|
|
19472
19472
|
var V, L, $;
|
|
19473
19473
|
return Bv.wrap(function(H) {
|
|
19474
19474
|
for (; ; )
|
|
@@ -19526,7 +19526,7 @@ function TSe(a) {
|
|
|
19526
19526
|
return Mq.apply(this, arguments);
|
|
19527
19527
|
}
|
|
19528
19528
|
function Mq() {
|
|
19529
|
-
return Mq =
|
|
19529
|
+
return Mq = VN(/* @__PURE__ */ Bv.mark(function a(t) {
|
|
19530
19530
|
return Bv.wrap(function(c) {
|
|
19531
19531
|
for (; ; )
|
|
19532
19532
|
switch (c.prev = c.next) {
|
|
@@ -19546,7 +19546,7 @@ function OSe(a) {
|
|
|
19546
19546
|
return Nq.apply(this, arguments);
|
|
19547
19547
|
}
|
|
19548
19548
|
function Nq() {
|
|
19549
|
-
return Nq =
|
|
19549
|
+
return Nq = VN(/* @__PURE__ */ Bv.mark(function a(t) {
|
|
19550
19550
|
var i;
|
|
19551
19551
|
return Bv.wrap(function(f) {
|
|
19552
19552
|
for (; ; )
|
|
@@ -19612,7 +19612,7 @@ var Zie = Symbol("formContextKey"), Gie = function(t) {
|
|
|
19612
19612
|
})
|
|
19613
19613
|
});
|
|
19614
19614
|
}, tQ = function(t, i) {
|
|
19615
|
-
var c, f, p, C, y = i.slots, x = i.emit, E = i.attrs, _ = Z(Z({}, t), E), P = _.prefixCls, R = _.htmlFor, D = _.labelCol, V = _.labelAlign, L = _.colon, $ = _.required, B = _.requiredMark, H =
|
|
19615
|
+
var c, f, p, C, y = i.slots, x = i.emit, E = i.attrs, _ = Z(Z({}, t), E), P = _.prefixCls, R = _.htmlFor, D = _.labelCol, V = _.labelAlign, L = _.colon, $ = _.required, B = _.requiredMark, H = LN("Form"), N = To(H, 1), K = N[0], J = (c = t.label) !== null && c !== void 0 ? c : (f = y.label) === null || f === void 0 ? void 0 : f.call(y);
|
|
19616
19616
|
if (!J)
|
|
19617
19617
|
return null;
|
|
19618
19618
|
var W = eQ(), I = W.vertical, Q = W.labelAlign, ae = W.labelCol, ue = W.labelWrap, ce = W.colon, oe = D || (ae == null ? void 0 : ae.value) || {}, de = V || (Q == null ? void 0 : Q.value), ie = "".concat(P, "-item-label"), se = wn(ie, de === "left" && "".concat(ie, "-left"), oe.class, Ne({}, "".concat(ie, "-wrap"), !!ue.value)), pe = J, A = L === !0 || (ce == null ? void 0 : ce.value) !== !1 && L !== !1, le = A && !I.value;
|
|
@@ -20598,7 +20598,7 @@ var GSe = vn({
|
|
|
20598
20598
|
}), B = ke(function() {
|
|
20599
20599
|
return R.value === "rtl";
|
|
20600
20600
|
});
|
|
20601
|
-
({ APP_NAME: "fx-platform-ui", APP_VERSION: "0.0.13-
|
|
20601
|
+
({ APP_NAME: "fx-platform-ui", APP_VERSION: "0.0.13-alpha3", APP_BUILD_TIME: "2022-11-21 18:19:45" }).NODE_ENV !== "production" && Br(function() {
|
|
20602
20602
|
Ms(!t.multiple || !t.displayRender || !p.displayRender, "Cascader", "`displayRender` not work on `multiple`. Please use `tagRender` instead.");
|
|
20603
20603
|
});
|
|
20604
20604
|
var H = ke(function() {
|
|
@@ -21033,7 +21033,7 @@ var s2e = new RegExp("^(".concat($se.join("|"), ")(-inverse)?$")), i2e = new Reg
|
|
|
21033
21033
|
"onUpdate:visible": Function,
|
|
21034
21034
|
icon: wt.any
|
|
21035
21035
|
};
|
|
21036
|
-
},
|
|
21036
|
+
}, bN = vn({
|
|
21037
21037
|
compatConfig: {
|
|
21038
21038
|
MODE: 3
|
|
21039
21039
|
},
|
|
@@ -21077,11 +21077,11 @@ var s2e = new RegExp("^(".concat($se.join("|"), ")(-inverse)?$")), i2e = new Reg
|
|
|
21077
21077
|
};
|
|
21078
21078
|
}
|
|
21079
21079
|
});
|
|
21080
|
-
|
|
21081
|
-
|
|
21082
|
-
return a.component(
|
|
21080
|
+
bN.CheckableTag = $q;
|
|
21081
|
+
bN.install = function(a) {
|
|
21082
|
+
return a.component(bN.name, bN), a.component($q.name, $q), a;
|
|
21083
21083
|
};
|
|
21084
|
-
const c2e =
|
|
21084
|
+
const c2e = bN;
|
|
21085
21085
|
function u2e(a, t) {
|
|
21086
21086
|
var i = t.slots, c = t.attrs;
|
|
21087
21087
|
return X(c2e, Z(Z({
|
|
@@ -21409,7 +21409,7 @@ function C2e(a, t) {
|
|
|
21409
21409
|
}, le = function($e) {
|
|
21410
21410
|
var xe = oe($e);
|
|
21411
21411
|
H("ok", xe);
|
|
21412
|
-
}, he =
|
|
21412
|
+
}, he = LN("DatePicker", t8), Se = To(he, 1), Ce = Se[0], De = ke(function() {
|
|
21413
21413
|
return N.value ? N.valueFormat ? a.toDate(N.value, N.valueFormat) : N.value : N.value === "" ? void 0 : N.value;
|
|
21414
21414
|
}), Me = ke(function() {
|
|
21415
21415
|
return N.defaultValue ? N.valueFormat ? a.toDate(N.defaultValue, N.valueFormat) : N.defaultValue : N.defaultValue === "" ? void 0 : N.defaultValue;
|
|
@@ -21563,7 +21563,7 @@ function T2e(a, t) {
|
|
|
21563
21563
|
}, ue = function(le, he, Se) {
|
|
21564
21564
|
var Ce = N(le);
|
|
21565
21565
|
E("calendarChange", Ce, he, Se);
|
|
21566
|
-
}, ce =
|
|
21566
|
+
}, ce = LN("DatePicker", t8), oe = To(ce, 1), de = oe[0], ie = ke(function() {
|
|
21567
21567
|
return _.value && _.valueFormat ? a.toDate(_.value, _.valueFormat) : _.value;
|
|
21568
21568
|
}), se = ke(function() {
|
|
21569
21569
|
return _.defaultValue && _.valueFormat ? a.toDate(_.defaultValue, _.valueFormat) : _.defaultValue;
|
|
@@ -21862,14 +21862,14 @@ function cle(a, t, i, c, f) {
|
|
|
21862
21862
|
var p;
|
|
21863
21863
|
return wn(a, (p = {}, Ne(p, "".concat(a, "-sm"), i === "small"), Ne(p, "".concat(a, "-lg"), i === "large"), Ne(p, "".concat(a, "-disabled"), c), Ne(p, "".concat(a, "-rtl"), f === "rtl"), Ne(p, "".concat(a, "-borderless"), !t), p));
|
|
21864
21864
|
}
|
|
21865
|
-
var
|
|
21865
|
+
var yN = function(t) {
|
|
21866
21866
|
return t != null && (Array.isArray(t) ? km(t).length : !0);
|
|
21867
21867
|
};
|
|
21868
21868
|
function R2e(a) {
|
|
21869
|
-
return
|
|
21869
|
+
return yN(a.prefix) || yN(a.suffix) || yN(a.allowClear);
|
|
21870
21870
|
}
|
|
21871
21871
|
function fG(a) {
|
|
21872
|
-
return
|
|
21872
|
+
return yN(a.addonBefore) || yN(a.addonAfter);
|
|
21873
21873
|
}
|
|
21874
21874
|
var $2e = ["text", "input"];
|
|
21875
21875
|
const ule = vn({
|
|
@@ -22021,7 +22021,7 @@ const ule = vn({
|
|
|
22021
22021
|
function Fq(a) {
|
|
22022
22022
|
return typeof a > "u" || a === null ? "" : String(a);
|
|
22023
22023
|
}
|
|
22024
|
-
function
|
|
22024
|
+
function CN(a, t, i, c) {
|
|
22025
22025
|
if (!!i) {
|
|
22026
22026
|
var f = t;
|
|
22027
22027
|
if (t.type === "click") {
|
|
@@ -22126,14 +22126,14 @@ const Al = vn({
|
|
|
22126
22126
|
he && he();
|
|
22127
22127
|
}));
|
|
22128
22128
|
}, oe = function(le) {
|
|
22129
|
-
|
|
22129
|
+
CN(y.value, le, ae), ce("", function() {
|
|
22130
22130
|
N();
|
|
22131
22131
|
});
|
|
22132
22132
|
}, de = function(le) {
|
|
22133
22133
|
var he = le.target, Se = he.value, Ce = he.composing;
|
|
22134
22134
|
if (!((le.isComposing || Ce) && t.lazy || $.value === Se)) {
|
|
22135
22135
|
var De = le.target.value;
|
|
22136
|
-
|
|
22136
|
+
CN(y.value, le, ae), ce(De, function() {
|
|
22137
22137
|
H();
|
|
22138
22138
|
});
|
|
22139
22139
|
}
|
|
@@ -22176,7 +22176,7 @@ const Al = vn({
|
|
|
22176
22176
|
});
|
|
22177
22177
|
xe.lazy && delete Mt.onInput, Mt.autofocus || delete Mt.autofocus;
|
|
22178
22178
|
var gt = X("input", Ns(Mt, ["size"]), null);
|
|
22179
|
-
return Gh(gt, [[
|
|
22179
|
+
return Gh(gt, [[KN]]);
|
|
22180
22180
|
}, pe = function() {
|
|
22181
22181
|
var le, he = $.value, Se = t.maxlength, Ce = t.suffix, De = Ce === void 0 ? (le = c.suffix) === null || le === void 0 ? void 0 : le.call(c) : Ce, Me = t.showCount, fe = Number(Se) > 0;
|
|
22182
22182
|
if (De || Me) {
|
|
@@ -22488,7 +22488,7 @@ var pG = 0, toe = 1, U2e = 2, W2e = vn({
|
|
|
22488
22488
|
default: function() {
|
|
22489
22489
|
return [Gh(X("textarea", Z(Z({}, ae), {}, {
|
|
22490
22490
|
ref: x
|
|
22491
|
-
}), null), [[
|
|
22491
|
+
}), null), [[KN]])];
|
|
22492
22492
|
}
|
|
22493
22493
|
});
|
|
22494
22494
|
};
|
|
@@ -22542,7 +22542,7 @@ const G2e = vn({
|
|
|
22542
22542
|
var le, he = H.value >= t.maxlength + 1 || H.value === ((le = B.value) === null || le === void 0 ? void 0 : le.length);
|
|
22543
22543
|
A = noe(he, B.value, A, t.maxlength);
|
|
22544
22544
|
}
|
|
22545
|
-
A !== E.value && (Q(A),
|
|
22545
|
+
A !== E.value && (Q(A), CN(pe.currentTarget, pe, ce, A)), p("compositionend", pe);
|
|
22546
22546
|
}, J = Om();
|
|
22547
22547
|
Bn(function() {
|
|
22548
22548
|
return t.value;
|
|
@@ -22574,7 +22574,7 @@ const G2e = vn({
|
|
|
22574
22574
|
}, ce = function(pe) {
|
|
22575
22575
|
p("update:value", pe.target.value), p("change", pe), p("input", pe), C.onFieldChange();
|
|
22576
22576
|
}, oe = function(pe) {
|
|
22577
|
-
|
|
22577
|
+
CN(x.value.textArea, pe, ce), Q("", function() {
|
|
22578
22578
|
W();
|
|
22579
22579
|
});
|
|
22580
22580
|
}, de = function(pe) {
|
|
@@ -22584,7 +22584,7 @@ const G2e = vn({
|
|
|
22584
22584
|
var he = pe.target, Se = he.selectionStart >= t.maxlength + 1 || he.selectionStart === le.length || !he.selectionStart;
|
|
22585
22585
|
le = noe(Se, E.value, le, t.maxlength);
|
|
22586
22586
|
}
|
|
22587
|
-
|
|
22587
|
+
CN(pe.currentTarget, pe, ce, le), Q(le);
|
|
22588
22588
|
}
|
|
22589
22589
|
}, ie = function() {
|
|
22590
22590
|
var pe, A, le, he = c.style, Se = c.class, Ce = t.bordered, De = Ce === void 0 ? !0 : Ce, Me = Z(Z(Z({}, Ns(t, ["allowClear"])), c), {}, {
|
|
@@ -22798,7 +22798,7 @@ const uke = uQ;
|
|
|
22798
22798
|
function Bq() {
|
|
22799
22799
|
return typeof BigInt == "function";
|
|
22800
22800
|
}
|
|
22801
|
-
function
|
|
22801
|
+
function wN(a) {
|
|
22802
22802
|
var t = a.trim(), i = t.startsWith("-");
|
|
22803
22803
|
i && (t = t.slice(1)), t = t.replace(/(\.\d*[^0])0*$/, "$1").replace(/\.0*$/, "").replace(/^0+/, ""), t.startsWith(".") && (t = "0".concat(t));
|
|
22804
22804
|
var c = t || "0", f = c.split("."), p = f[0] || "0", C = f[1] || "0";
|
|
@@ -22817,7 +22817,7 @@ function dQ(a) {
|
|
|
22817
22817
|
var t = String(a);
|
|
22818
22818
|
return !Number.isNaN(Number(t)) && t.includes("e");
|
|
22819
22819
|
}
|
|
22820
|
-
function $
|
|
22820
|
+
function $N(a) {
|
|
22821
22821
|
var t = String(a);
|
|
22822
22822
|
if (dQ(a)) {
|
|
22823
22823
|
var i = Number(t.slice(t.indexOf("e-") + 2)), c = t.match(/\.(\d+)/);
|
|
@@ -22832,9 +22832,9 @@ function fQ(a) {
|
|
|
22832
22832
|
return String(Bq() ? BigInt(a).toString() : Number.MAX_SAFE_INTEGER);
|
|
22833
22833
|
if (a < Number.MIN_SAFE_INTEGER)
|
|
22834
22834
|
return String(Bq() ? BigInt(a).toString() : Number.MIN_SAFE_INTEGER);
|
|
22835
|
-
t = a.toFixed($
|
|
22835
|
+
t = a.toFixed($N(t));
|
|
22836
22836
|
}
|
|
22837
|
-
return
|
|
22837
|
+
return wN(t).fullStr;
|
|
22838
22838
|
}
|
|
22839
22839
|
function mQ(a) {
|
|
22840
22840
|
return typeof a == "number" ? !Number.isNaN(a) : a ? /^\s*-?\d+(\.\d+)?\s*$/.test(a) || /^\s*-?\d+\.\s*$/.test(a) || /^\s*-?\.\d+\s*$/.test(a) : !1;
|
|
@@ -22865,7 +22865,7 @@ var dke = /* @__PURE__ */ function() {
|
|
|
22865
22865
|
return new a(Number.MAX_SAFE_INTEGER);
|
|
22866
22866
|
if (f < Number.MIN_SAFE_INTEGER)
|
|
22867
22867
|
return new a(Number.MIN_SAFE_INTEGER);
|
|
22868
|
-
var p = Math.max($
|
|
22868
|
+
var p = Math.max($N(this.number), $N(c));
|
|
22869
22869
|
return new a(f.toFixed(p));
|
|
22870
22870
|
}
|
|
22871
22871
|
}, {
|
|
@@ -22917,7 +22917,7 @@ var dke = /* @__PURE__ */ function() {
|
|
|
22917
22917
|
}
|
|
22918
22918
|
var i = t;
|
|
22919
22919
|
if (dQ(i) && (i = Number(i)), i = typeof i == "string" ? i : fQ(i), mQ(i)) {
|
|
22920
|
-
var c =
|
|
22920
|
+
var c = wN(i);
|
|
22921
22921
|
this.negative = c.negative;
|
|
22922
22922
|
var f = c.trimStr.split(".");
|
|
22923
22923
|
this.integer = BigInt(f[0]);
|
|
@@ -22961,7 +22961,7 @@ var dke = /* @__PURE__ */ function() {
|
|
|
22961
22961
|
var c = new a(i);
|
|
22962
22962
|
if (c.isInvalidate())
|
|
22963
22963
|
return this;
|
|
22964
|
-
var f = Math.max(this.getDecimalStr().length, c.getDecimalStr().length), p = this.alignDecimal(f), C = c.alignDecimal(f), y = (p + C).toString(), x =
|
|
22964
|
+
var f = Math.max(this.getDecimalStr().length, c.getDecimalStr().length), p = this.alignDecimal(f), C = c.alignDecimal(f), y = (p + C).toString(), x = wN(y), E = x.negativeStr, _ = x.trimStr, P = "".concat(E).concat(_.padStart(f + 1, "0"));
|
|
22965
22965
|
return new a("".concat(P.slice(0, -f), ".").concat(P.slice(-f)));
|
|
22966
22966
|
}
|
|
22967
22967
|
}, {
|
|
@@ -22998,7 +22998,7 @@ var dke = /* @__PURE__ */ function() {
|
|
|
22998
22998
|
key: "toString",
|
|
22999
22999
|
value: function() {
|
|
23000
23000
|
var i = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : !0;
|
|
23001
|
-
return i ? this.isInvalidate() ? "" :
|
|
23001
|
+
return i ? this.isInvalidate() ? "" : wN("".concat(this.getMark()).concat(this.getIntegerStr(), ".").concat(this.getDecimalStr())).fullStr : this.origin;
|
|
23002
23002
|
}
|
|
23003
23003
|
}]), a;
|
|
23004
23004
|
}();
|
|
@@ -23008,7 +23008,7 @@ function Av(a) {
|
|
|
23008
23008
|
function Lq(a, t, i) {
|
|
23009
23009
|
if (a === "")
|
|
23010
23010
|
return "";
|
|
23011
|
-
var c =
|
|
23011
|
+
var c = wN(a), f = c.negativeStr, p = c.integerStr, C = c.decimalStr, y = "".concat(t).concat(C), x = "".concat(f).concat(p);
|
|
23012
23012
|
if (i >= 0) {
|
|
23013
23013
|
var E = Number(C[i]);
|
|
23014
23014
|
if (E >= 5) {
|
|
@@ -23226,7 +23226,7 @@ const yke = vn({
|
|
|
23226
23226
|
}
|
|
23227
23227
|
var D = function(_e, $e) {
|
|
23228
23228
|
if (!$e)
|
|
23229
|
-
return t.precision >= 0 ? t.precision : Math.max($
|
|
23229
|
+
return t.precision >= 0 ? t.precision : Math.max($N(_e), $N(t.step));
|
|
23230
23230
|
}, V = function(_e) {
|
|
23231
23231
|
var $e = String(_e);
|
|
23232
23232
|
if (t.parser)
|
|
@@ -23874,7 +23874,7 @@ const Rke = hQ, $ke = vn({
|
|
|
23874
23874
|
onChange: p,
|
|
23875
23875
|
onKeyup: y,
|
|
23876
23876
|
onBlur: C
|
|
23877
|
-
}, null), [[
|
|
23877
|
+
}, null), [[KN]]), _.page, J])), X("li", {
|
|
23878
23878
|
class: "".concat(H)
|
|
23879
23879
|
}, [N, K]);
|
|
23880
23880
|
};
|
|
@@ -23908,7 +23908,7 @@ const Hke = vn({
|
|
|
23908
23908
|
MODE: 3
|
|
23909
23909
|
},
|
|
23910
23910
|
name: "Pagination",
|
|
23911
|
-
mixins: [
|
|
23911
|
+
mixins: [zN],
|
|
23912
23912
|
inheritAttrs: !1,
|
|
23913
23913
|
props: {
|
|
23914
23914
|
disabled: {
|
|
@@ -24158,7 +24158,7 @@ const Hke = vn({
|
|
|
24158
24158
|
onInput: this.handleKeyUp,
|
|
24159
24159
|
onChange: this.handleKeyUp,
|
|
24160
24160
|
size: "3"
|
|
24161
|
-
}, null), [[
|
|
24161
|
+
}, null), [[KN]]), X("span", {
|
|
24162
24162
|
class: "".concat(c, "-slash")
|
|
24163
24163
|
}, [xm("\uFF0F")]), ae]), X("li", {
|
|
24164
24164
|
title: _ ? y.next_page : null,
|
|
@@ -24375,7 +24375,7 @@ const Kke = vn({
|
|
|
24375
24375
|
setup: function(t, i) {
|
|
24376
24376
|
var c = i.slots, f = i.attrs, p = Sa("pagination", t), C = p.prefixCls, y = p.configProvider, x = p.direction, E = ke(function() {
|
|
24377
24377
|
return y.getPrefixCls("select", t.selectPrefixCls);
|
|
24378
|
-
}), _ = Nse(), P =
|
|
24378
|
+
}), _ = Nse(), P = LN("Pagination", sae, yr(t, "locale")), R = To(P, 1), D = R[0], V = function($) {
|
|
24379
24379
|
var B = X("span", {
|
|
24380
24380
|
class: "".concat($, "-item-ellipsis")
|
|
24381
24381
|
}, [xm("\u2022\u2022\u2022")]), H = X("button", {
|
|
@@ -25011,7 +25011,7 @@ function Sle(a) {
|
|
|
25011
25011
|
MODE: 3
|
|
25012
25012
|
},
|
|
25013
25013
|
name: "CreateSlider",
|
|
25014
|
-
mixins: [
|
|
25014
|
+
mixins: [zN, a],
|
|
25015
25015
|
inheritAttrs: !1,
|
|
25016
25016
|
slots: ["mark"],
|
|
25017
25017
|
props: oc(t, {
|
|
@@ -25241,7 +25241,7 @@ var cEe = vn({
|
|
|
25241
25241
|
MODE: 3
|
|
25242
25242
|
},
|
|
25243
25243
|
name: "Slider",
|
|
25244
|
-
mixins: [
|
|
25244
|
+
mixins: [zN],
|
|
25245
25245
|
inheritAttrs: !1,
|
|
25246
25246
|
props: {
|
|
25247
25247
|
defaultValue: Number,
|
|
@@ -25408,7 +25408,7 @@ var cEe = vn({
|
|
|
25408
25408
|
}
|
|
25409
25409
|
});
|
|
25410
25410
|
const uEe = Sle(cEe);
|
|
25411
|
-
var
|
|
25411
|
+
var aN = function(t) {
|
|
25412
25412
|
var i = t.value, c = t.handle, f = t.bounds, p = t.props, C = p.allowCross, y = p.pushable, x = Number(y), E = vQ(i, p), _ = E;
|
|
25413
25413
|
return !C && c != null && f !== void 0 && (c > 0 && E <= f[c - 1] + x && (_ = f[c - 1] + x), c < f.length - 1 && E >= f[c + 1] - x && (_ = f[c + 1] - x)), wle(_, p);
|
|
25414
25414
|
}, dEe = {
|
|
@@ -25448,7 +25448,7 @@ var a3 = function(t) {
|
|
|
25448
25448
|
MODE: 3
|
|
25449
25449
|
},
|
|
25450
25450
|
name: "Range",
|
|
25451
|
-
mixins: [
|
|
25451
|
+
mixins: [zN],
|
|
25452
25452
|
inheritAttrs: !1,
|
|
25453
25453
|
props: oc(dEe, {
|
|
25454
25454
|
count: 1,
|
|
@@ -25468,7 +25468,7 @@ var a3 = function(t) {
|
|
|
25468
25468
|
}), C = W1(this, "defaultValue") ? this.defaultValue : p, y = this.value;
|
|
25469
25469
|
y === void 0 && (y = C);
|
|
25470
25470
|
var x = y.map(function(_, P) {
|
|
25471
|
-
return
|
|
25471
|
+
return aN({
|
|
25472
25472
|
value: _,
|
|
25473
25473
|
handle: P,
|
|
25474
25474
|
props: t.$props
|
|
@@ -25500,7 +25500,7 @@ var a3 = function(t) {
|
|
|
25500
25500
|
methods: {
|
|
25501
25501
|
setChangeValue: function(t) {
|
|
25502
25502
|
var i = this, c = this.bounds, f = t.map(function(C, y) {
|
|
25503
|
-
return
|
|
25503
|
+
return aN({
|
|
25504
25504
|
value: C,
|
|
25505
25505
|
handle: y,
|
|
25506
25506
|
bounds: c,
|
|
@@ -25514,7 +25514,7 @@ var a3 = function(t) {
|
|
|
25514
25514
|
return null;
|
|
25515
25515
|
} else
|
|
25516
25516
|
f = t.map(function(C, y) {
|
|
25517
|
-
return
|
|
25517
|
+
return aN({
|
|
25518
25518
|
value: C,
|
|
25519
25519
|
handle: y,
|
|
25520
25520
|
props: i.$props
|
|
@@ -25600,7 +25600,7 @@ var a3 = function(t) {
|
|
|
25600
25600
|
var i = this.$props, c = i.reverse, f = i.vertical, p = xle(t, f, c);
|
|
25601
25601
|
if (p) {
|
|
25602
25602
|
KO(t);
|
|
25603
|
-
var C = this.bounds, y = this.sHandle, x = C[y === null ? this.recent : y], E = p(x, this.$props), _ =
|
|
25603
|
+
var C = this.bounds, y = this.sHandle, x = C[y === null ? this.recent : y], E = p(x, this.$props), _ = aN({
|
|
25604
25604
|
value: E,
|
|
25605
25605
|
handle: y,
|
|
25606
25606
|
bounds: C,
|
|
@@ -25684,7 +25684,7 @@ var a3 = function(t) {
|
|
|
25684
25684
|
},
|
|
25685
25685
|
trimAlignValue: function(t) {
|
|
25686
25686
|
var i = this.sHandle, c = this.bounds;
|
|
25687
|
-
return
|
|
25687
|
+
return aN({
|
|
25688
25688
|
value: t,
|
|
25689
25689
|
handle: i,
|
|
25690
25690
|
bounds: c,
|
|
@@ -26232,7 +26232,7 @@ const G8 = vn({
|
|
|
26232
26232
|
renderIndex: ae,
|
|
26233
26233
|
column: vt.__originColumn__
|
|
26234
26234
|
});
|
|
26235
|
-
FEe(He) ? ({ APP_NAME: "fx-platform-ui", APP_VERSION: "0.0.13-
|
|
26235
|
+
FEe(He) ? ({ APP_NAME: "fx-platform-ui", APP_VERSION: "0.0.13-alpha3", APP_BUILD_TIME: "2022-11-21 18:19:45" }.NODE_ENV !== "production" && na(!1, "`columns.customRender` return cell props is deprecated with perf issue, please use `customCell` instead."), Ze = He.children, ht = He.props) : Ze = He;
|
|
26236
26236
|
}
|
|
26237
26237
|
if (!($O in vt) && Mt === "body" && f.value.bodyCell && !((Ue = vt.slots) !== null && Ue !== void 0 && Ue.customRender)) {
|
|
26238
26238
|
var Ot = pf(f.value, "bodyCell", {
|
|
@@ -26865,11 +26865,11 @@ function JEe(a, t) {
|
|
|
26865
26865
|
var i = a.prefixCls, c = a.columns, f = a.expandable, p = a.expandedKeys, C = a.getRowKey, y = a.onTriggerExpand, x = a.expandIcon, E = a.rowExpandable, _ = a.expandIconColumnIndex, P = a.direction, R = a.expandRowByClick, D = a.expandColumnWidth, V = a.expandFixed, L = ke(function() {
|
|
26866
26866
|
if (f.value) {
|
|
26867
26867
|
var H, N = c.value.slice();
|
|
26868
|
-
if ({ APP_NAME: "fx-platform-ui", APP_VERSION: "0.0.13-
|
|
26868
|
+
if ({ APP_NAME: "fx-platform-ui", APP_VERSION: "0.0.13-alpha3", APP_BUILD_TIME: "2022-11-21 18:19:45" }.NODE_ENV !== "production" && _.value >= 0 && na(!1, "`expandIconColumnIndex` is deprecated. Please use `Table.EXPAND_COLUMN` in `columns` instead."), !N.includes(Dv)) {
|
|
26869
26869
|
var K = _.value || 0;
|
|
26870
26870
|
K >= 0 && N.splice(K, 0, Dv);
|
|
26871
26871
|
}
|
|
26872
|
-
({ APP_NAME: "fx-platform-ui", APP_VERSION: "0.0.13-
|
|
26872
|
+
({ APP_NAME: "fx-platform-ui", APP_VERSION: "0.0.13-alpha3", APP_BUILD_TIME: "2022-11-21 18:19:45" }).NODE_ENV !== "production" && N.filter(function(ie) {
|
|
26873
26873
|
return ie === Dv;
|
|
26874
26874
|
}).length > 1 && na(!1, "There exist more than one `EXPAND_COLUMN` in `columns`.");
|
|
26875
26875
|
var J = N.indexOf(Dv);
|
|
@@ -26899,7 +26899,7 @@ function JEe(a, t) {
|
|
|
26899
26899
|
return ie === Dv ? de : ie;
|
|
26900
26900
|
});
|
|
26901
26901
|
}
|
|
26902
|
-
return { APP_NAME: "fx-platform-ui", APP_VERSION: "0.0.13-
|
|
26902
|
+
return { APP_NAME: "fx-platform-ui", APP_VERSION: "0.0.13-alpha3", APP_BUILD_TIME: "2022-11-21 18:19:45" }.NODE_ENV !== "production" && c.value.includes(Dv) && na(!1, "`expandable` is not config but there exist `EXPAND_COLUMN` in `columns`."), c.value.filter(function(ie) {
|
|
26903
26903
|
return ie !== Dv;
|
|
26904
26904
|
});
|
|
26905
26905
|
}), $ = ke(function() {
|
|
@@ -26912,7 +26912,7 @@ function JEe(a, t) {
|
|
|
26912
26912
|
}), B = ke(function() {
|
|
26913
26913
|
return P.value === "rtl" ? QEe(zq($.value)) : zq($.value);
|
|
26914
26914
|
});
|
|
26915
|
-
return { APP_NAME: "fx-platform-ui", APP_VERSION: "0.0.13-
|
|
26915
|
+
return { APP_NAME: "fx-platform-ui", APP_VERSION: "0.0.13-alpha3", APP_BUILD_TIME: "2022-11-21 18:19:45" }.NODE_ENV !== "production" && Br(function() {
|
|
26916
26916
|
setTimeout(function() {
|
|
26917
26917
|
XEe(B.value);
|
|
26918
26918
|
});
|
|
@@ -27351,7 +27351,7 @@ const bTe = vn({
|
|
|
27351
27351
|
var bt = t.rowKey;
|
|
27352
27352
|
return typeof bt == "function" ? bt : function(Vt) {
|
|
27353
27353
|
var Qt = Vt && Vt[bt];
|
|
27354
|
-
return { APP_NAME: "fx-platform-ui", APP_VERSION: "0.0.13-
|
|
27354
|
+
return { APP_NAME: "fx-platform-ui", APP_VERSION: "0.0.13-alpha3", APP_BUILD_TIME: "2022-11-21 18:19:45" }.NODE_ENV !== "production" && na(Qt !== void 0, "Each record in table should have a unique `key` prop, or set `rowKey` to an unique primary key."), Qt;
|
|
27355
27355
|
};
|
|
27356
27356
|
}), P = ke(function() {
|
|
27357
27357
|
return t.expandIcon || dTe;
|
|
@@ -27371,7 +27371,7 @@ const bTe = vn({
|
|
|
27371
27371
|
var Qt = _.value(Vt, C.value.indexOf(Vt)), Wt, On = $.value.has(Qt);
|
|
27372
27372
|
On ? ($.value.delete(Qt), Wt = uo($.value)) : Wt = [].concat(uo($.value), [Qt]), V.value = Wt, p("expand", !On, Vt), p("update:expandedRowKeys", Wt), p("expandedRowsChange", Wt);
|
|
27373
27373
|
};
|
|
27374
|
-
({ APP_NAME: "fx-platform-ui", APP_VERSION: "0.0.13-
|
|
27374
|
+
({ APP_NAME: "fx-platform-ui", APP_VERSION: "0.0.13-alpha3", APP_BUILD_TIME: "2022-11-21 18:19:45" }).NODE_ENV !== "production" && t.expandedRowRender && C.value.some(function(bt) {
|
|
27375
27375
|
return Array.isArray(bt == null ? void 0 : bt[R.value]);
|
|
27376
27376
|
}) && na(!1, "`expandedRowRender` should not use with nested Table");
|
|
27377
27377
|
var H = ot(0), N = JEe(Z(Z({}, pC(t)), {}, {
|
|
@@ -27576,7 +27576,7 @@ const bTe = vn({
|
|
|
27576
27576
|
fixHeader: vt.value,
|
|
27577
27577
|
scroll: Qt
|
|
27578
27578
|
};
|
|
27579
|
-
if ({ APP_NAME: "fx-platform-ui", APP_VERSION: "0.0.13-
|
|
27579
|
+
if ({ APP_NAME: "fx-platform-ui", APP_VERSION: "0.0.13-alpha3", APP_BUILD_TIME: "2022-11-21 18:19:45" }.NODE_ENV !== "production" && typeof Oa == "function" && y.value && !vt.value && na(!1, "`components.body` with render props is only work on `scroll.y`."), vt.value || lr) {
|
|
27580
27580
|
var Ut = function() {
|
|
27581
27581
|
return null;
|
|
27582
27582
|
};
|
|
@@ -27818,7 +27818,7 @@ function kTe(a, t) {
|
|
|
27818
27818
|
x(p.value);
|
|
27819
27819
|
});
|
|
27820
27820
|
var E = ke(function() {
|
|
27821
|
-
return i.value.checkStrictly ? null :
|
|
27821
|
+
return i.value.checkStrictly ? null : qN(t.data.value, {
|
|
27822
27822
|
externalGetKey: t.getRowKey.value,
|
|
27823
27823
|
childrenPropName: t.childrenColumnName.value
|
|
27824
27824
|
}).keyEntities;
|
|
@@ -27828,7 +27828,7 @@ function kTe(a, t) {
|
|
|
27828
27828
|
var ie = /* @__PURE__ */ new Map(), se = t.getRowKey.value, pe = i.value.getCheckboxProps;
|
|
27829
27829
|
return _.value.forEach(function(A, le) {
|
|
27830
27830
|
var he = se(A, le), Se = (pe ? pe(A) : null) || {};
|
|
27831
|
-
ie.set(he, Se), { APP_NAME: "fx-platform-ui", APP_VERSION: "0.0.13-
|
|
27831
|
+
ie.set(he, Se), { APP_NAME: "fx-platform-ui", APP_VERSION: "0.0.13-alpha3", APP_BUILD_TIME: "2022-11-21 18:19:45" }.NODE_ENV !== "production" && ("checked" in Se || "defaultChecked" in Se) && Ms(!1, "Table", "Do not set `checked` or `defaultChecked` in `getCheckboxProps`. Please use `selectedRowKeys` instead.");
|
|
27832
27832
|
}), ie;
|
|
27833
27833
|
}), R = U8(E), D = R.maxLevel, V = R.levelEntities, L = function(se) {
|
|
27834
27834
|
var pe;
|
|
@@ -27911,7 +27911,7 @@ function kTe(a, t) {
|
|
|
27911
27911
|
}), de = function(se) {
|
|
27912
27912
|
var pe, A = i.value, le = A.onSelectAll, he = A.onSelectMultiple, Se = A.columnWidth, Ce = A.type, De = A.fixed, Me = A.renderCell, fe = A.hideSelectAll, _e = A.checkStrictly, $e = t.prefixCls, xe = t.getRecordByKey, te = t.getRowKey, vt = t.expandType, Mt = t.getPopupContainer;
|
|
27913
27913
|
if (!a.value)
|
|
27914
|
-
return { APP_NAME: "fx-platform-ui", APP_VERSION: "0.0.13-
|
|
27914
|
+
return { APP_NAME: "fx-platform-ui", APP_VERSION: "0.0.13-alpha3", APP_BUILD_TIME: "2022-11-21 18:19:45" }.NODE_ENV !== "production" && Ms(!se.includes(jh), "Table", "`rowSelection` is not config but `SELECTION_COLUMN` exists in the `columns`."), se.filter(function(Ct) {
|
|
27915
27915
|
return Ct !== jh;
|
|
27916
27916
|
});
|
|
27917
27917
|
var gt = se.slice(), ht = new Set(N.value), Ze = _.value.map(te.value).filter(function(Ct) {
|
|
@@ -28089,7 +28089,7 @@ function kTe(a, t) {
|
|
|
28089
28089
|
} else
|
|
28090
28090
|
gt = [jh].concat(uo(gt));
|
|
28091
28091
|
var on = gt.indexOf(jh);
|
|
28092
|
-
({ APP_NAME: "fx-platform-ui", APP_VERSION: "0.0.13-
|
|
28092
|
+
({ APP_NAME: "fx-platform-ui", APP_VERSION: "0.0.13-alpha3", APP_BUILD_TIME: "2022-11-21 18:19:45" }).NODE_ENV !== "production" && gt.filter(function(Ct) {
|
|
28093
28093
|
return Ct === jh;
|
|
28094
28094
|
}).length > 1 && Ms(!1, "Table", "Multiple `SELECTION_COLUMN` exist in `columns`."), gt = gt.filter(function(Ct, qt) {
|
|
28095
28095
|
return Ct !== jh || qt === on;
|
|
@@ -28501,7 +28501,7 @@ const jTe = vn({
|
|
|
28501
28501
|
isStart: K,
|
|
28502
28502
|
isEnd: J
|
|
28503
28503
|
}), f);
|
|
28504
|
-
})]), [[
|
|
28504
|
+
})]), [[IN, p.value]])];
|
|
28505
28505
|
}
|
|
28506
28506
|
}) : X(yq, Z(Z({
|
|
28507
28507
|
domRef: ot,
|
|
@@ -28587,7 +28587,7 @@ function Roe(a, t, i, c) {
|
|
|
28587
28587
|
}
|
|
28588
28588
|
function $oe(a) {
|
|
28589
28589
|
var t = a.key, i = a.pos;
|
|
28590
|
-
return
|
|
28590
|
+
return GN(t, i);
|
|
28591
28591
|
}
|
|
28592
28592
|
function ZTe(a) {
|
|
28593
28593
|
for (var t = String(a.key), i = a; i.parent; )
|
|
@@ -28700,7 +28700,7 @@ const GTe = vn({
|
|
|
28700
28700
|
}
|
|
28701
28701
|
}), {
|
|
28702
28702
|
default: function(le) {
|
|
28703
|
-
var he = le.pos, Se = gs({}, le.data), Ce = le.title, De = le.key, Me = le.isStart, fe = le.isEnd, _e =
|
|
28703
|
+
var he = le.pos, Se = gs({}, le.data), Ce = le.title, De = le.key, Me = le.isStart, fe = le.isEnd, _e = GN(De, he);
|
|
28704
28704
|
return delete Se.key, delete Se.children, X(jTe, Z(Z({}, Se), {}, {
|
|
28705
28705
|
eventKey: _e,
|
|
28706
28706
|
title: Ce,
|
|
@@ -28823,7 +28823,7 @@ const Kle = vn({
|
|
|
28823
28823
|
});
|
|
28824
28824
|
Br(function() {
|
|
28825
28825
|
if (B.value) {
|
|
28826
|
-
var Pt =
|
|
28826
|
+
var Pt = qN(B.value, {
|
|
28827
28827
|
fieldNames: W.value
|
|
28828
28828
|
});
|
|
28829
28829
|
H.value = Z(Ne({}, LS, jle), Pt.keyEntities);
|
|
@@ -29831,7 +29831,7 @@ const xG = vn({
|
|
|
29831
29831
|
})
|
|
29832
29832
|
});
|
|
29833
29833
|
var D = function() {
|
|
29834
|
-
var ce =
|
|
29834
|
+
var ce = qN(x.value, {
|
|
29835
29835
|
fieldNames: P.value
|
|
29836
29836
|
}), oe = ce.keyEntities, de;
|
|
29837
29837
|
return t.defaultExpandAll ? de = Object.keys(oe) : t.defaultExpandParent ? de = Cq(t.expandedKeys || t.defaultExpandedKeys || [], oe) : de = t.expandedKeys || t.defaultExpandedKeys, de;
|
|
@@ -30605,7 +30605,7 @@ var NOe = [], ece = function() {
|
|
|
30605
30605
|
});
|
|
30606
30606
|
}), E = Sa("table", t), _ = E.size, P = E.renderEmpty, R = E.direction, D = E.prefixCls, V = E.configProvider, L = ke(function() {
|
|
30607
30607
|
return t.transformCellText || V.transformCellText;
|
|
30608
|
-
}), $ =
|
|
30608
|
+
}), $ = LN("Table", VO.Table, yr(t, "locale")), B = To($, 1), H = B[0], N = ke(function() {
|
|
30609
30609
|
return t.dataSource || NOe;
|
|
30610
30610
|
}), K = ke(function() {
|
|
30611
30611
|
return V.getPrefixCls("dropdown", t.dropdownPrefixCls);
|
|
@@ -30902,7 +30902,7 @@ const zOe = vn({
|
|
|
30902
30902
|
inheritAttrs: !1,
|
|
30903
30903
|
slots: ["notFoundContent", "menuItemSelectedIcon"],
|
|
30904
30904
|
setup: function(t, i) {
|
|
30905
|
-
var c = i.slots, f = i.expose, p =
|
|
30905
|
+
var c = i.slots, f = i.expose, p = UN(), C = N8(), y = VOe(), x = ot(), E = aX(function() {
|
|
30906
30906
|
return y.treeData;
|
|
30907
30907
|
}, [function() {
|
|
30908
30908
|
return p.open;
|
|
@@ -31203,7 +31203,7 @@ const YOe = function(a) {
|
|
|
31203
31203
|
}, XOe = function(a, t) {
|
|
31204
31204
|
var i = ca(/* @__PURE__ */ new Map()), c = ca({});
|
|
31205
31205
|
return Br(function() {
|
|
31206
|
-
var f = t.value, p =
|
|
31206
|
+
var f = t.value, p = qN(a.value, {
|
|
31207
31207
|
fieldNames: f,
|
|
31208
31208
|
initWrapper: function(y) {
|
|
31209
31209
|
return Z(Z({}, y), {}, {
|
|
@@ -31212,7 +31212,7 @@ const YOe = function(a) {
|
|
|
31212
31212
|
},
|
|
31213
31213
|
processEntity: function(y, x) {
|
|
31214
31214
|
var E = y.node[f.value];
|
|
31215
|
-
if ({ APP_NAME: "fx-platform-ui", APP_VERSION: "0.0.13-
|
|
31215
|
+
if ({ APP_NAME: "fx-platform-ui", APP_VERSION: "0.0.13-alpha3", APP_BUILD_TIME: "2022-11-21 18:19:45" }.NODE_ENV !== "production") {
|
|
31216
31216
|
var _ = y.node.key;
|
|
31217
31217
|
na(!oY(E), "TreeNode `value` is invalidate: undefined"), na(!x.valueEntities.has(E), "Same `value` exist in the tree: ".concat(E)), na(!_ || String(_) === String(E), "`key` or `value` with TreeNode must be the same or you can remove one of them. key: ".concat(_, ", value: ").concat(E, "."));
|
|
31218
31218
|
}
|
|
@@ -31431,7 +31431,7 @@ const nPe = vn({
|
|
|
31431
31431
|
}), _ = ke(function() {
|
|
31432
31432
|
return x.value || t.multiple;
|
|
31433
31433
|
});
|
|
31434
|
-
({ APP_NAME: "fx-platform-ui", APP_VERSION: "0.0.13-
|
|
31434
|
+
({ APP_NAME: "fx-platform-ui", APP_VERSION: "0.0.13-alpha3", APP_BUILD_TIME: "2022-11-21 18:19:45" }).NODE_ENV !== "production" && Br(function() {
|
|
31435
31435
|
ePe(t);
|
|
31436
31436
|
});
|
|
31437
31437
|
var P = ke(function() {
|
|
@@ -32903,7 +32903,7 @@ const IPe = {
|
|
|
32903
32903
|
[En(R)]: En(x)[En(c).field],
|
|
32904
32904
|
["onUpdate:" + En(R)]: Q[0] || (Q[0] = (ae) => En(x)[En(c).field] = ae),
|
|
32905
32905
|
disabled: En(N)
|
|
32906
|
-
}, Vce(En(y))),
|
|
32906
|
+
}, Vce(En(y))), SN({
|
|
32907
32907
|
_: 2
|
|
32908
32908
|
}, [Object.is(En(c).loading, !0) ? {
|
|
32909
32909
|
name: "notFoundContent",
|
|
@@ -32926,11 +32926,11 @@ const IPe = {
|
|
|
32926
32926
|
_: 3
|
|
32927
32927
|
}, 16, ["label", "name", "label-col", "wrapper-col", "rules"])]),
|
|
32928
32928
|
_: 3
|
|
32929
|
-
}, 16)), [[
|
|
32929
|
+
}, 16)), [[IN, En(P).isShow]]) : Kh("", !0);
|
|
32930
32930
|
}
|
|
32931
32931
|
}), LPe = vn({
|
|
32932
32932
|
name: "PlForm"
|
|
32933
|
-
}),
|
|
32933
|
+
}), xN = /* @__PURE__ */ vn({
|
|
32934
32934
|
...LPe,
|
|
32935
32935
|
props: mPe,
|
|
32936
32936
|
emits: dPe,
|
|
@@ -32984,7 +32984,7 @@ const IPe = {
|
|
|
32984
32984
|
"form-model": En(C),
|
|
32985
32985
|
"set-form-model": En(L),
|
|
32986
32986
|
"set-item-ref": En($)(I)
|
|
32987
|
-
},
|
|
32987
|
+
}, SN({ _: 2 }, [
|
|
32988
32988
|
q1(Object.keys(J.$slots), (Q) => ({
|
|
32989
32989
|
name: Q,
|
|
32990
32990
|
fn: Mc((ae) => [
|
|
@@ -32992,7 +32992,7 @@ const IPe = {
|
|
|
32992
32992
|
])
|
|
32993
32993
|
}))
|
|
32994
32994
|
]), 1032, ["schema", "form-model", "set-form-model", "set-item-ref"]))), 128)),
|
|
32995
|
-
X(EPe, vf(En(_), { onToggleAdvanced: K }),
|
|
32995
|
+
X(EPe, vf(En(_), { onToggleAdvanced: K }), SN({ _: 2 }, [
|
|
32996
32996
|
q1([
|
|
32997
32997
|
"resetBefore",
|
|
32998
32998
|
"submitBefore",
|
|
@@ -33014,8 +33014,8 @@ const IPe = {
|
|
|
33014
33014
|
}, 16, ["model"]));
|
|
33015
33015
|
}
|
|
33016
33016
|
});
|
|
33017
|
-
|
|
33018
|
-
return a.component(
|
|
33017
|
+
xN.install = function(a) {
|
|
33018
|
+
return a.component(xN.name, xN), a;
|
|
33019
33019
|
};
|
|
33020
33020
|
const VPe = {};
|
|
33021
33021
|
function HPe(a, t) {
|
|
@@ -33247,7 +33247,7 @@ const zPe = /* @__PURE__ */ NQ(VPe, [["render", HPe]]), jPe = /* @__PURE__ */ vn
|
|
|
33247
33247
|
return t(V), J1(() => {
|
|
33248
33248
|
Iv(c.updatePageVnode) && c.updatePageVnode();
|
|
33249
33249
|
}), (L, $) => (hl(), vC("div", null, [
|
|
33250
|
-
L.searchShow ? (hl(), td(En(
|
|
33250
|
+
L.searchShow ? (hl(), td(En(xN), vf({
|
|
33251
33251
|
key: 0,
|
|
33252
33252
|
ref_key: "queryFormRef",
|
|
33253
33253
|
ref: C
|
|
@@ -33258,7 +33258,7 @@ const zPe = /* @__PURE__ */ NQ(VPe, [["render", HPe]]), jPe = /* @__PURE__ */ vn
|
|
|
33258
33258
|
Gh(X(En(IOe), vf({ ref: "tableRef" }, En(y), {
|
|
33259
33259
|
"data-source": En(p),
|
|
33260
33260
|
onChange: En(_)
|
|
33261
|
-
}),
|
|
33261
|
+
}), SN({ _: 2 }, [
|
|
33262
33262
|
q1(Object.keys(L.$slots), (B) => ({
|
|
33263
33263
|
name: B,
|
|
33264
33264
|
fn: Mc((H) => [
|
|
@@ -33289,7 +33289,7 @@ const zPe = /* @__PURE__ */ NQ(VPe, [["render", HPe]]), jPe = /* @__PURE__ */ vn
|
|
|
33289
33289
|
})
|
|
33290
33290
|
}))
|
|
33291
33291
|
]), 1040, ["data-source", "onChange"]), [
|
|
33292
|
-
[
|
|
33292
|
+
[IN, L.tableShow]
|
|
33293
33293
|
])
|
|
33294
33294
|
])
|
|
33295
33295
|
]));
|
|
@@ -33399,7 +33399,7 @@ const qPe = vn({
|
|
|
33399
33399
|
options: En(y),
|
|
33400
33400
|
"load-data": _,
|
|
33401
33401
|
onChange: P
|
|
33402
|
-
}),
|
|
33402
|
+
}), SN({ _: 2 }, [
|
|
33403
33403
|
q1(Object.keys(R.$slots), (L) => ({
|
|
33404
33404
|
name: L,
|
|
33405
33405
|
fn: Mc(($) => [
|
|
@@ -37324,7 +37324,7 @@ Required: ` + o.join(", "));
|
|
|
37324
37324
|
default: cl.getAttrib(e.getElement(), "placeholder")
|
|
37325
37325
|
});
|
|
37326
37326
|
});
|
|
37327
|
-
}, rw = bo("iframe_attrs"), _2 = bo("doctype"), A2 = bo("document_base_url"), TP = bo("body_id"), xl = bo("body_class"), ul = bo("content_security_policy"), Nl = bo("br_in_pre"), ms = bo("forced_root_block"), Sl = bo("forced_root_block_attrs"), Ji = bo("newline_behavior"), My = bo("br_newline_selector"), Ny = bo("no_newline_selector"), D2 = bo("keep_styles"), aw = bo("end_container_on_empty_block"), bb = bo("automatic_uploads"), Fp = bo("images_reuse_filename"), sw = bo("images_replace_blob_uris"), Ry = bo("icons"), OP = bo("icons_url"),
|
|
37327
|
+
}, rw = bo("iframe_attrs"), _2 = bo("doctype"), A2 = bo("document_base_url"), TP = bo("body_id"), xl = bo("body_class"), ul = bo("content_security_policy"), Nl = bo("br_in_pre"), ms = bo("forced_root_block"), Sl = bo("forced_root_block_attrs"), Ji = bo("newline_behavior"), My = bo("br_newline_selector"), Ny = bo("no_newline_selector"), D2 = bo("keep_styles"), aw = bo("end_container_on_empty_block"), bb = bo("automatic_uploads"), Fp = bo("images_reuse_filename"), sw = bo("images_replace_blob_uris"), Ry = bo("icons"), OP = bo("icons_url"), QN = bo("images_upload_url"), PP = bo("images_upload_base_path"), _P = bo("images_upload_credentials"), AP = bo("images_upload_handler"), iw = bo("content_css_cors"), lw = bo("referrer_policy"), M2 = bo("language"), DP = bo("language_url"), N2 = bo("indent_use_margin"), R2 = bo("indentation"), zn = bo("content_css"), MP = bo("content_style"), Fi = bo("font_css"), NP = bo("directionality"), $2 = bo("inline_boundaries_selector"), I2 = bo("object_resizing"), ju = bo("resize_img_proportional"), JN = bo("placeholder"), F2 = bo("event_root"), Uf = bo("service_message"), Jg = bo("theme"), cw = bo("theme_url"), Gl = bo("model"), vd = bo("model_url"), eh = bo("inline_boundaries"), bd = bo("formats"), RP = bo("preview_styles"), yb = bo("format_empty_lines"), Ti = bo("format_noneditable_selector"), B2 = bo("custom_ui_selector"), Wf = bo("inline"), $y = bo("hidden_input"), L2 = bo("submit_patch"), V2 = bo("add_form_submit_trigger"), $P = bo("add_unload_trigger"), IP = bo("custom_undo_redo_levels"), H2 = bo("disable_nodechange"), z2 = bo("readonly"), j2 = bo("content_css_cors"), Gm = bo("plugins"), K2 = bo("external_plugins"), uw = bo("block_unsupported_drop"), dw = bo("visual"), th = bo("visual_table_class"), nh = bo("visual_anchor_class"), Cb = bo("iframe_aria_text"), FP = bo("setup"), U2 = bo("init_instance_callback"), BP = bo("urlconverter_callback"), fw = bo("auto_focus"), LP = bo("browser_spellcheck"), oh = bo("protect"), As = bo("paste_block_drop"), Bp = bo("paste_data_images"), Rl = bo("paste_preprocess"), W2 = bo("paste_postprocess"), Z2 = bo("paste_webkit_styles"), G2 = bo("paste_remove_styles_if_webkit"), Iy = bo("paste_merge_formats"), wb = bo("smart_paste"), q2 = bo("paste_as_text"), eR = bo("paste_tab_spaces"), rh = bo("allow_html_data_urls"), VP = bo("text_patterns"), HP = bo("text_patterns_lookup"), Y2 = bo("noneditable_class"), zP = bo("editable_class"), X2 = bo("noneditable_regexp"), mw = bo("preserve_cdata"), jP = (e) => e.options.isSet("text_patterns_lookup"), KP = (e) => gn.explode(e.options.get("font_size_style_values")), UP = (e) => gn.explode(e.options.get("font_size_classes")), WP = (e) => e.options.get("encoding") === "xml", gw = (e) => gn.explode(e.options.get("images_file_types")), ZP = bo("table_tab_navigation"), xb = mo, Fy = kn, hw = (e) => {
|
|
37328
37328
|
const o = e.parentNode;
|
|
37329
37329
|
o && o.removeChild(e);
|
|
37330
37330
|
}, pw = (e) => {
|
|
@@ -41734,7 +41734,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
41734
41734
|
}), Gt.hasChildNodes() && !xs(Gt.firstElementChild) && (!xs(Gt.content) || !xs(Gt.content.firstElementChild)) && vu(/<[/\w]/g, Gt.innerHTML) && vu(/<[/\w]/g, Gt.textContent) || ir === "select" && vu(/<template/i, Gt.innerHTML))
|
|
41735
41735
|
return _n(Gt), !0;
|
|
41736
41736
|
if (!ur[ir] || Wn[ir]) {
|
|
41737
|
-
if (!Wn[ir] &&
|
|
41737
|
+
if (!Wn[ir] && J3(ir) && (Xo.tagNameCheck instanceof RegExp && vu(Xo.tagNameCheck, ir) || Xo.tagNameCheck instanceof Function && Xo.tagNameCheck(ir)))
|
|
41738
41738
|
return !1;
|
|
41739
41739
|
if (cm && !dm[ir]) {
|
|
41740
41740
|
var qs = St(Gt) || Gt.parentNode, ku = st(Gt) || Gt.childNodes;
|
|
@@ -41745,13 +41745,13 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
41745
41745
|
return _n(Gt), !0;
|
|
41746
41746
|
}
|
|
41747
41747
|
return Gt instanceof T && !jt(Gt) || (ir === "noscript" || ir === "noembed") && vu(/<\/no(script|embed)/i, Gt.innerHTML) ? (_n(Gt), !0) : (La && Gt.nodeType === 3 && (Co = Gt.textContent, Co = sf(Co, qr, " "), Co = sf(Co, xa, " "), Gt.textContent !== Co && (uv(o.removed, { element: Gt.cloneNode() }), Gt.textContent = Co)), Qc("afterSanitizeElements", Gt, null), !1);
|
|
41748
|
-
},
|
|
41748
|
+
}, Q3 = function(Gt, Co, ir) {
|
|
41749
41749
|
if (zi && (Co === "id" || Co === "name") && (ir in l || ir in CS))
|
|
41750
41750
|
return !1;
|
|
41751
41751
|
if (!(rr && !Fr[Co] && vu(Xa, Co))) {
|
|
41752
41752
|
if (!(Er && vu(gl, Co))) {
|
|
41753
41753
|
if (!yo[Co] || Fr[Co]) {
|
|
41754
|
-
if (!(
|
|
41754
|
+
if (!(J3(Gt) && (Xo.tagNameCheck instanceof RegExp && vu(Xo.tagNameCheck, Gt) || Xo.tagNameCheck instanceof Function && Xo.tagNameCheck(Gt)) && (Xo.attributeNameCheck instanceof RegExp && vu(Xo.attributeNameCheck, Co) || Xo.attributeNameCheck instanceof Function && Xo.attributeNameCheck(Co)) || Co === "is" && Xo.allowCustomizedBuiltInElements && (Xo.tagNameCheck instanceof RegExp && vu(Xo.tagNameCheck, ir) || Xo.tagNameCheck instanceof Function && Xo.tagNameCheck(ir))))
|
|
41755
41755
|
return !1;
|
|
41756
41756
|
} else if (!Nd[Co]) {
|
|
41757
41757
|
if (!vu(Ir, sf(ir, Sr, ""))) {
|
|
@@ -41766,7 +41766,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
41766
41766
|
}
|
|
41767
41767
|
}
|
|
41768
41768
|
return !0;
|
|
41769
|
-
},
|
|
41769
|
+
}, J3 = function(Gt) {
|
|
41770
41770
|
return Gt.indexOf("-") > 0;
|
|
41771
41771
|
}, nL = function(Gt) {
|
|
41772
41772
|
var Co, ir, qs, ku;
|
|
@@ -41781,7 +41781,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
41781
41781
|
};
|
|
41782
41782
|
for (ku = Ac.length; ku--; ) {
|
|
41783
41783
|
Co = Ac[ku];
|
|
41784
|
-
var
|
|
41784
|
+
var eN = Co, ec = eN.name, oL = eN.namespaceURI;
|
|
41785
41785
|
ir = ec === "value" ? Co.value : jQ(Co.value), qs = Lh(ec);
|
|
41786
41786
|
var EZ = ir;
|
|
41787
41787
|
if (Jc.attrName = qs, Jc.attrValue = ir, Jc.keepAttr = !0, Jc.forceKeepAttr = void 0, Qc("uponSanitizeAttribute", Gt, Jc), ir = Jc.attrValue, !Jc.forceKeepAttr) {
|
|
@@ -41795,7 +41795,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
41795
41795
|
}
|
|
41796
41796
|
La && (ir = sf(ir, qr, " "), ir = sf(ir, xa, " "));
|
|
41797
41797
|
var TZ = Lh(Gt.nodeName);
|
|
41798
|
-
if (!
|
|
41798
|
+
if (!Q3(TZ, qs, ir)) {
|
|
41799
41799
|
xn(ec, Gt);
|
|
41800
41800
|
continue;
|
|
41801
41801
|
}
|
|
@@ -41847,7 +41847,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
41847
41847
|
return Ds ? null : _l ? hn : "";
|
|
41848
41848
|
}
|
|
41849
41849
|
Co && Ls && _n(Co.firstChild);
|
|
41850
|
-
for (var
|
|
41850
|
+
for (var eN = Yr(Md ? _r : Co); qs = eN.nextNode(); )
|
|
41851
41851
|
qs.nodeType === 3 && qs === ku || lC(qs) || (qs.content instanceof d && kZ(qs.content), nL(qs), ku = qs);
|
|
41852
41852
|
if (ku = null, Md)
|
|
41853
41853
|
return _r;
|
|
@@ -41869,7 +41869,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
41869
41869
|
}, o.isValidAttribute = function(_r, Gt, Co) {
|
|
41870
41870
|
pg || wS({});
|
|
41871
41871
|
var ir = Lh(_r), qs = Lh(Gt);
|
|
41872
|
-
return
|
|
41872
|
+
return Q3(ir, qs, Co);
|
|
41873
41873
|
}, o.addHook = function(_r, Gt) {
|
|
41874
41874
|
typeof Gt == "function" && (vr[_r] = vr[_r] || [], uv(vr[_r], Gt));
|
|
41875
41875
|
}, o.removeHook = function(_r) {
|
|
@@ -43722,7 +43722,7 @@ Options:${T}${r.join(T)}` : "";
|
|
|
43722
43722
|
timeout: -1,
|
|
43723
43723
|
progressBar: !0
|
|
43724
43724
|
}), gv = (e, o) => E9(o, {
|
|
43725
|
-
url:
|
|
43725
|
+
url: QN(e),
|
|
43726
43726
|
basePath: PP(e),
|
|
43727
43727
|
credentials: _P(e),
|
|
43728
43728
|
handler: AP(e)
|
|
@@ -44489,7 +44489,7 @@ Options:${T}${r.join(T)}` : "";
|
|
|
44489
44489
|
return !1;
|
|
44490
44490
|
}, _9 = (e) => {
|
|
44491
44491
|
var o;
|
|
44492
|
-
const r = e.dom, l = ms(e), d = (o =
|
|
44492
|
+
const r = e.dom, l = ms(e), d = (o = JN(e)) !== null && o !== void 0 ? o : "", h = (w, T) => {
|
|
44493
44493
|
if (T9(w))
|
|
44494
44494
|
return;
|
|
44495
44495
|
const F = e.getBody(), G = O9(w) ? !1 : P9(r, F, l);
|
|
@@ -46060,7 +46060,7 @@ Input object: ` + gT(e.input), vT = (e, o) => wB(e, Wt(o, KM)), Fj = le(Nj), bT
|
|
|
46060
46060
|
return r !== null && e.dom.getContentEditableParent(r) === "false";
|
|
46061
46061
|
}, sK = (e, o) => o && o.nodeName === "A" && e.isEmpty(o), JM = (e) => {
|
|
46062
46062
|
e.innerHTML = '<br data-mce-bogus="1">';
|
|
46063
|
-
}, PT = (e, o) => e.nodeName === o || e.previousSibling && e.previousSibling.nodeName === o,
|
|
46063
|
+
}, PT = (e, o) => e.nodeName === o || e.previousSibling && e.previousSibling.nodeName === o, e3 = (e, o) => ce(o) && e.isBlock(o) && !/^(TD|TH|CAPTION|FORM)$/.test(o.nodeName) && !/^(fixed|absolute)/i.test(o.style.position) && e.getContentEditable(o) !== "true", bJ = (e, o, r) => {
|
|
46064
46064
|
var l;
|
|
46065
46065
|
const d = [];
|
|
46066
46066
|
if (!r)
|
|
@@ -46113,7 +46113,7 @@ Input object: ` + gT(e.input), vT = (e, o) => wB(e, Wt(o, KM)), Fj = le(Nj), bT
|
|
|
46113
46113
|
var h;
|
|
46114
46114
|
const w = e.dom, T = (h = kT(w, l)) !== null && h !== void 0 ? h : w.getRoot();
|
|
46115
46115
|
let F = w.getParent(l, w.isBlock);
|
|
46116
|
-
if (!F || !
|
|
46116
|
+
if (!F || !e3(w, F)) {
|
|
46117
46117
|
F = F || T;
|
|
46118
46118
|
let G;
|
|
46119
46119
|
if (F === e.getBody() || $o(F) ? G = F.nodeName.toLowerCase() : F.parentNode ? G = F.parentNode.nodeName.toLowerCase() : G = "", !F.hasChildNodes()) {
|
|
@@ -46143,7 +46143,7 @@ Input object: ` + gT(e.input), vT = (e, o) => wB(e, Wt(o, KM)), Fj = le(Nj), bT
|
|
|
46143
46143
|
}, wJ = (e, o) => {
|
|
46144
46144
|
const r = aw(e);
|
|
46145
46145
|
return ue(o) ? !1 : N(r) ? Xe(gn.explode(r), o.nodeName.toLowerCase()) : r;
|
|
46146
|
-
},
|
|
46146
|
+
}, t3 = {
|
|
46147
46147
|
insert: (e, o) => {
|
|
46148
46148
|
let r, l, d, h, w = !1;
|
|
46149
46149
|
const T = e.dom, F = e.schema, G = F.getNonEmptyElements(), ge = e.selection.getRng(), Te = ms(e), Ee = (In) => {
|
|
@@ -46189,7 +46189,7 @@ Input object: ` + gT(e.input), vT = (e, o) => wB(e, Wt(o, KM)), Fj = le(Nj), bT
|
|
|
46189
46189
|
return !0;
|
|
46190
46190
|
}, Ye = () => {
|
|
46191
46191
|
let In;
|
|
46192
|
-
return /^(H[1-6]|PRE|FIGURE)$/.test(d) && At !== "HGROUP" ? In = Ee(Te) : In = Ee(), wJ(e, h) &&
|
|
46192
|
+
return /^(H[1-6]|PRE|FIGURE)$/.test(d) && At !== "HGROUP" ? In = Ee(Te) : In = Ee(), wJ(e, h) && e3(T, h) && T.isEmpty(St) ? In = T.split(h, St) : T.insertAfter(In, St), aS(e, In), In;
|
|
46193
46193
|
};
|
|
46194
46194
|
tx(T, ge).each((In) => {
|
|
46195
46195
|
ge.setStart(In.startContainer, In.startOffset), ge.setEnd(In.endContainer, In.endOffset);
|
|
@@ -46238,7 +46238,7 @@ Input object: ` + gT(e.input), vT = (e, o) => wB(e, Wt(o, KM)), Fj = le(Nj), bT
|
|
|
46238
46238
|
if (h[d.nodeName.toLowerCase()] || kn(d) && d.length > 0)
|
|
46239
46239
|
return !0;
|
|
46240
46240
|
return !1;
|
|
46241
|
-
},
|
|
46241
|
+
}, n3 = (e, o, r) => {
|
|
46242
46242
|
const l = e.dom.createRng();
|
|
46243
46243
|
r ? (l.setStartBefore(o), l.setEndBefore(o)) : (l.setStartAfter(o), l.setEndAfter(o)), e.selection.setRng(l), Xb(e, l);
|
|
46244
46244
|
}, dK = (e, o) => {
|
|
@@ -46254,14 +46254,14 @@ Input object: ` + gT(e.input), vT = (e, o) => wB(e, Wt(o, KM)), Fj = le(Nj), bT
|
|
|
46254
46254
|
}
|
|
46255
46255
|
let G = l.getParent(F, l.isBlock);
|
|
46256
46256
|
const ge = G && G.parentNode ? l.getParent(G.parentNode, l.isBlock) : null, Te = ge ? ge.nodeName.toUpperCase() : "", Ee = !!(o && o.ctrlKey);
|
|
46257
|
-
Te === "LI" && !Ee && (G = ge), kn(F) && T >= F.data.length && (uK(e.schema, F, G || l.getRoot()) || (h = l.create("br"), d.insertNode(h), d.setStartAfter(h), d.setEndAfter(h), w = !0)), h = l.create("br"), Ei(l, d, h),
|
|
46257
|
+
Te === "LI" && !Ee && (G = ge), kn(F) && T >= F.data.length && (uK(e.schema, F, G || l.getRoot()) || (h = l.create("br"), d.insertNode(h), d.setStartAfter(h), d.setEndAfter(h), w = !0)), h = l.create("br"), Ei(l, d, h), n3(e, h, w), e.undoManager.add();
|
|
46258
46258
|
}, fK = (e, o) => {
|
|
46259
46259
|
const r = ct.fromTag("br");
|
|
46260
46260
|
Nr(ct.fromDom(o), r), e.undoManager.add();
|
|
46261
46261
|
}, SJ = (e, o) => {
|
|
46262
46262
|
mK(e.getBody(), o) || rs(ct.fromDom(o), ct.fromTag("br"));
|
|
46263
46263
|
const r = ct.fromTag("br");
|
|
46264
|
-
rs(ct.fromDom(o), r),
|
|
46264
|
+
rs(ct.fromDom(o), r), n3(e, r.dom, !1), e.undoManager.add();
|
|
46265
46265
|
}, lm = (e) => Is(e.getNode()), mK = (e, o) => lm(tn.after(o)) ? !0 : ql(e, tn.after(o)).map((r) => Is(r.getNode())).getOr(!1), YB = (e) => e && e.nodeName === "A" && "href" in e, gK = (e) => e.fold($e, YB, YB, $e), hK = (e) => {
|
|
46266
46266
|
const o = Ce(n1, e), r = tn.fromRangeStart(e.selection.getRng());
|
|
46267
46267
|
return am(o, e.getBody(), r).filter(gK);
|
|
@@ -46273,14 +46273,14 @@ Input object: ` + gT(e.input), vT = (e, o) => wB(e, Wt(o, KM)), Fj = le(Nj), bT
|
|
|
46273
46273
|
r.isSome() ? r.each(Ce(pK, e)) : dK(e, o);
|
|
46274
46274
|
},
|
|
46275
46275
|
fakeEventName: "insertLineBreak"
|
|
46276
|
-
}, QB = (e, o) => O1(e).filter((r) => o.length > 0 && sc(ct.fromDom(r), o)).isSome(),
|
|
46276
|
+
}, QB = (e, o) => O1(e).filter((r) => o.length > 0 && sc(ct.fromDom(r), o)).isSome(), o3 = (e) => QB(e, My(e)), r3 = (e) => QB(e, Ny(e)), Ad = Xd.generate([
|
|
46277
46277
|
{ br: [] },
|
|
46278
46278
|
{ block: [] },
|
|
46279
46279
|
{ none: [] }
|
|
46280
|
-
]), TJ = (e, o) =>
|
|
46280
|
+
]), TJ = (e, o) => r3(e), vK = (e) => (o, r) => P1(o) === e, JB = (e, o) => (r, l) => $h(r) === e.toUpperCase() === o, bK = (e) => {
|
|
46281
46281
|
const o = kT(e.dom, e.selection.getStart());
|
|
46282
46282
|
return ue(o);
|
|
46283
|
-
}, AT = (e) => JB("pre", e), yK = () => JB("summary", !0), ff = (e) => (o, r) => Nl(o) === e, CK = (e, o) =>
|
|
46283
|
+
}, AT = (e) => JB("pre", e), yK = () => JB("summary", !0), ff = (e) => (o, r) => Nl(o) === e, CK = (e, o) => o3(e), DT = (e, o) => o, Cv = (e) => {
|
|
46284
46284
|
const o = ms(e), r = kT(e.dom, e.selection.getStart());
|
|
46285
46285
|
return ce(r) && e.schema.isValidChild(r.nodeName, o);
|
|
46286
46286
|
}, mf = (e, o) => (r, l) => mt(e, (h, w) => h && w(r, l), !0) ? te.some(o) : te.none(), e6 = (e, o) => eF([
|
|
@@ -46322,7 +46322,7 @@ Input object: ` + gT(e.input), vT = (e, o) => wB(e, Wt(o, KM)), Fj = le(Nj), bT
|
|
|
46322
46322
|
]).getOr(Ad.none()), MT = (e, o, r) => {
|
|
46323
46323
|
o.selection.isCollapsed() || L7(o), !(ce(r) && qM(o, e.fakeEventName).isDefaultPrevented()) && (e.insert(o, r), ce(r) && ST(o, e.fakeEventName));
|
|
46324
46324
|
}, t6 = (e, o) => {
|
|
46325
|
-
const r = () => MT(XB, e, o), l = () => MT(
|
|
46325
|
+
const r = () => MT(XB, e, o), l = () => MT(t3, e, o), d = e6(e, o);
|
|
46326
46326
|
switch (Ji(e)) {
|
|
46327
46327
|
case "linebreak":
|
|
46328
46328
|
d.fold(r, r, se);
|
|
@@ -46397,7 +46397,7 @@ Input object: ` + gT(e.input), vT = (e, o) => wB(e, Wt(o, KM)), Fj = le(Nj), bT
|
|
|
46397
46397
|
e.on("input", (o) => {
|
|
46398
46398
|
o.isComposing || P7(e);
|
|
46399
46399
|
});
|
|
46400
|
-
},
|
|
46400
|
+
}, a3 = Ja(), n6 = (e, o, r) => {
|
|
46401
46401
|
eS([
|
|
46402
46402
|
{
|
|
46403
46403
|
keyCode: Ao.PAGE_UP,
|
|
@@ -46411,7 +46411,7 @@ Input object: ` + gT(e.input), vT = (e, o) => wB(e, Wt(o, KM)), Fj = le(Nj), bT
|
|
|
46411
46411
|
}, iS = (e) => e.stopImmediatePropagation(), o6 = (e) => e.keyCode === Ao.PAGE_UP || e.keyCode === Ao.PAGE_DOWN, r6 = (e, o, r) => {
|
|
46412
46412
|
r && !e.get() ? o.on("NodeChange", iS, !0) : !r && e.get() && o.off("NodeChange", iS), e.set(r);
|
|
46413
46413
|
}, TK = (e, o) => {
|
|
46414
|
-
if (
|
|
46414
|
+
if (a3.os.isMacOS())
|
|
46415
46415
|
return;
|
|
46416
46416
|
const r = ci(!1);
|
|
46417
46417
|
e.on("keydown", (l) => {
|
|
@@ -46439,7 +46439,7 @@ Input object: ` + gT(e.input), vT = (e, o) => wB(e, Wt(o, KM)), Fj = le(Nj), bT
|
|
|
46439
46439
|
}], o).each((r) => {
|
|
46440
46440
|
o.preventDefault(), qM(e, "insertText", { data: " " }).isDefaultPrevented() || (r(), ST(e, "insertText", { data: " " }));
|
|
46441
46441
|
});
|
|
46442
|
-
},
|
|
46442
|
+
}, s3 = (e) => {
|
|
46443
46443
|
e.on("keydown", (o) => {
|
|
46444
46444
|
o.isDefaultPrevented() || AK(e, o);
|
|
46445
46445
|
});
|
|
@@ -46461,12 +46461,12 @@ Input object: ` + gT(e.input), vT = (e, o) => wB(e, Wt(o, KM)), Fj = le(Nj), bT
|
|
|
46461
46461
|
e.on("keydown", (o) => {
|
|
46462
46462
|
o.isDefaultPrevented() || MK(e, o);
|
|
46463
46463
|
});
|
|
46464
|
-
},
|
|
46464
|
+
}, i3 = (e) => {
|
|
46465
46465
|
if (e.addShortcut("Meta+P", "", "mcePrint"), Jj(e), nm(e))
|
|
46466
46466
|
return ci(null);
|
|
46467
46467
|
{
|
|
46468
46468
|
const o = Cz(e);
|
|
46469
|
-
return cJ(e), sB(e, o), YM(e, o), xK(e),
|
|
46469
|
+
return cJ(e), sB(e, o), YM(e, o), xK(e), s3(e), EK(e), c6(e), kK(e, o), TK(e, o), o;
|
|
46470
46470
|
}
|
|
46471
46471
|
};
|
|
46472
46472
|
class u6 {
|
|
@@ -46519,7 +46519,7 @@ Input object: ` + gT(e.input), vT = (e, o) => wB(e, Wt(o, KM)), Fj = le(Nj), bT
|
|
|
46519
46519
|
return this.lastPath = d, !1;
|
|
46520
46520
|
}
|
|
46521
46521
|
}
|
|
46522
|
-
const d6 = "x-tinymce/html",
|
|
46522
|
+
const d6 = "x-tinymce/html", l3 = le(d6), Ih = "<!-- " + d6 + " -->", NK = (e) => Ih + e, RK = (e) => e.replace(Ih, ""), f6 = (e) => e.indexOf(Ih) !== -1, NT = (e) => !/<(?:\/?(?!(?:div|p|br|span)>)\w+|(?:(?!(?:span style="white-space:\s?pre;?">)|br\s?\/>))\w+\s[^>]+)>/i.test(e), m6 = (e, o) => {
|
|
46523
46523
|
let r = "<" + e;
|
|
46524
46524
|
const l = Go(o, (d, h) => h + '="' + Hc.encodeAllRaw(d) + '"');
|
|
46525
46525
|
return l.length && (r += " " + l.join(" ")), r + ">";
|
|
@@ -46541,15 +46541,15 @@ Input object: ` + gT(e.input), vT = (e, o) => wB(e, Wt(o, KM)), Fj = le(Nj), bT
|
|
|
46541
46541
|
}), h.focus(), l.select(h, !0);
|
|
46542
46542
|
}, $K = (e, o) => {
|
|
46543
46543
|
const r = e.dom;
|
|
46544
|
-
if (
|
|
46544
|
+
if (c3(e)) {
|
|
46545
46545
|
let l;
|
|
46546
46546
|
const d = o.get();
|
|
46547
|
-
for (; l =
|
|
46547
|
+
for (; l = c3(e); )
|
|
46548
46548
|
r.remove(l), r.unbind(l);
|
|
46549
46549
|
d && e.selection.setRng(d);
|
|
46550
46550
|
}
|
|
46551
46551
|
o.set(null);
|
|
46552
|
-
},
|
|
46552
|
+
}, c3 = (e) => e.dom.get("mcepastebin"), IK = (e) => ce(e) && e.id === "mcepastebin", v6 = (e) => {
|
|
46553
46553
|
const o = e.dom, r = (w, T) => {
|
|
46554
46554
|
w.appendChild(T), o.remove(T, !0);
|
|
46555
46555
|
}, [l, ...d] = tt(e.getBody().childNodes, IK);
|
|
@@ -46567,7 +46567,7 @@ Input object: ` + gT(e.input), vT = (e, o) => wB(e, Wt(o, KM)), Fj = le(Nj), bT
|
|
|
46567
46567
|
return {
|
|
46568
46568
|
create: () => p6(e, o),
|
|
46569
46569
|
remove: () => $K(e, o),
|
|
46570
|
-
getEl: () =>
|
|
46570
|
+
getEl: () => c3(e),
|
|
46571
46571
|
getHtml: () => v6(e),
|
|
46572
46572
|
getLastRng: o.get
|
|
46573
46573
|
};
|
|
@@ -46646,10 +46646,10 @@ Input object: ` + gT(e.input), vT = (e, o) => wB(e, Wt(o, KM)), Fj = le(Nj), bT
|
|
|
46646
46646
|
}, LK = (e, o, r) => {
|
|
46647
46647
|
const l = k_(e, o, r), d = BK(e, l.content);
|
|
46648
46648
|
return e.hasEventListeners("PastePostProcess") && !l.isDefaultPrevented() ? IT(e, d, r) : w6(d, l.isDefaultPrevented());
|
|
46649
|
-
}, VK = (e, o, r) => LK(e, o, r),
|
|
46649
|
+
}, VK = (e, o, r) => LK(e, o, r), u3 = (e, o) => (e.insertContent(o, {
|
|
46650
46650
|
merge: Iy(e),
|
|
46651
46651
|
paste: !0
|
|
46652
|
-
}), !0),
|
|
46652
|
+
}), !0), d3 = (e) => /^https?:\/\/[\w\-\/+=.,!;:&%@^~(){}?#]+$/i.test(e), HK = (e, o) => d3(o) && Ue(gw(e), (r) => Qn(o.toLowerCase(), `.${r.toLowerCase()}`)), zK = (e, o, r) => (e.undoManager.extra(() => {
|
|
46653
46653
|
r(e, o);
|
|
46654
46654
|
}, () => {
|
|
46655
46655
|
e.insertContent('<img src="' + o + '">');
|
|
@@ -46657,25 +46657,25 @@ Input object: ` + gT(e.input), vT = (e, o) => wB(e, Wt(o, KM)), Fj = le(Nj), bT
|
|
|
46657
46657
|
r(e, o);
|
|
46658
46658
|
}, () => {
|
|
46659
46659
|
e.execCommand("mceInsertLink", !1, o);
|
|
46660
|
-
}), !0), KK = (e, o, r) => !e.selection.isCollapsed() &&
|
|
46660
|
+
}), !0), KK = (e, o, r) => !e.selection.isCollapsed() && d3(o) ? jK(e, o, r) : !1, UK = (e, o, r) => HK(e, o) ? zK(e, o, r) : !1, WK = (e, o) => {
|
|
46661
46661
|
gn.each([
|
|
46662
46662
|
KK,
|
|
46663
46663
|
UK,
|
|
46664
|
-
|
|
46665
|
-
], (r) => !r(e, o,
|
|
46664
|
+
u3
|
|
46665
|
+
], (r) => !r(e, o, u3));
|
|
46666
46666
|
}, Zs = (e, o, r) => {
|
|
46667
|
-
r || !wb(e) ?
|
|
46668
|
-
}, ZK = y6("mceclip"),
|
|
46667
|
+
r || !wb(e) ? u3(e, o) : WK(e, o);
|
|
46668
|
+
}, ZK = y6("mceclip"), f3 = (e, o, r, l) => {
|
|
46669
46669
|
const d = VK(e, o, r);
|
|
46670
46670
|
d.cancelled || Zs(e, d.content, l);
|
|
46671
46671
|
}, FT = (e, o, r) => {
|
|
46672
46672
|
const l = r || f6(o);
|
|
46673
|
-
|
|
46673
|
+
f3(e, RK(o), l, !1);
|
|
46674
46674
|
}, cS = (e, o) => {
|
|
46675
46675
|
const r = e.dom.encode(o).replace(/\r\n/g, `
|
|
46676
46676
|
`), l = bp(r, eR(e)), d = g6(l, ms(e), Sl(e));
|
|
46677
|
-
|
|
46678
|
-
},
|
|
46677
|
+
f3(e, d, !1, !0);
|
|
46678
|
+
}, m3 = (e) => {
|
|
46679
46679
|
const o = {};
|
|
46680
46680
|
if (e && e.types)
|
|
46681
46681
|
for (let r = 0; r < e.types.length; r++) {
|
|
@@ -46724,7 +46724,7 @@ Input object: ` + gT(e.input), vT = (e, o) => wB(e, Wt(o, KM)), Fj = le(Nj), bT
|
|
|
46724
46724
|
return Dr.os.isAndroid() && ((r = (o = e.clipboardData) === null || o === void 0 ? void 0 : o.items) === null || r === void 0 ? void 0 : r.length) === 0;
|
|
46725
46725
|
}, Dd = (e) => Ao.metaKeyPressed(e) && e.keyCode === 86 || e.shiftKey && e.keyCode === 45, T6 = (e, o, r, l) => {
|
|
46726
46726
|
let d = lS(r);
|
|
46727
|
-
const h = _1(o,
|
|
46727
|
+
const h = _1(o, l3()) || f6(r), w = !h && NT(d), T = d3(d);
|
|
46728
46728
|
(RT(d) || !d.length || w && !T) && (l = !0), (l || T) && (_1(o, "text/plain") && w ? d = o["text/plain"] : d = b6(d)), !RT(d) && (l ? cS(e, d) : FT(e, d, h));
|
|
46729
46729
|
}, J0 = (e, o, r) => {
|
|
46730
46730
|
let l;
|
|
@@ -46736,7 +46736,7 @@ Input object: ` + gT(e.input), vT = (e, o) => wB(e, Wt(o, KM)), Fj = le(Nj), bT
|
|
|
46736
46736
|
return;
|
|
46737
46737
|
const w = r.get() === "text" || l;
|
|
46738
46738
|
l = !1;
|
|
46739
|
-
const T =
|
|
46739
|
+
const T = m3(h.clipboardData);
|
|
46740
46740
|
!x6(T) && uS(e, h, d()) || (_1(T, "text/html") ? (h.preventDefault(), T6(e, T, T["text/html"], w)) : (o.create(), no.setEditorTimeout(e, () => {
|
|
46741
46741
|
const F = o.getHtml();
|
|
46742
46742
|
o.remove(), T6(e, T, F, w);
|
|
@@ -46767,7 +46767,7 @@ Input object: ` + gT(e.input), vT = (e, o) => wB(e, Wt(o, KM)), Fj = le(Nj), bT
|
|
|
46767
46767
|
}, eU = (e, o, r) => {
|
|
46768
46768
|
if (e)
|
|
46769
46769
|
try {
|
|
46770
|
-
return e.clearData(), e.setData("text/html", o), e.setData("text/plain", r), e.setData(
|
|
46770
|
+
return e.clearData(), e.setData("text/html", o), e.setData("text/plain", r), e.setData(l3(), o), !0;
|
|
46771
46771
|
} catch {
|
|
46772
46772
|
return !1;
|
|
46773
46773
|
}
|
|
@@ -46793,11 +46793,11 @@ Input object: ` + gT(e.input), vT = (e, o) => wB(e, Wt(o, KM)), Fj = le(Nj), bT
|
|
|
46793
46793
|
F.selectNodeContents(w), d.setRng(F), no.setEditorTimeout(e, () => {
|
|
46794
46794
|
d.setRng(T), l.remove(h), r();
|
|
46795
46795
|
}, 0);
|
|
46796
|
-
},
|
|
46796
|
+
}, g3 = (e) => ({
|
|
46797
46797
|
html: NK(e.selection.getContent({ contextual: !0 })),
|
|
46798
46798
|
text: e.selection.getContent({ format: "text" })
|
|
46799
46799
|
}), tU = (e) => !!e.dom.getParent(e.selection.getStart(), "td[data-mce-selected],th[data-mce-selected]", e.getBody()), O6 = (e) => !e.selection.isCollapsed() || tU(e), P6 = (e) => (o) => {
|
|
46800
|
-
!o.isDefaultPrevented() && O6(e) && LT(o,
|
|
46800
|
+
!o.isDefaultPrevented() && O6(e) && LT(o, g3(e), VT(e), () => {
|
|
46801
46801
|
if (Dr.browser.isChromium() || Dr.browser.isFirefox()) {
|
|
46802
46802
|
const r = e.selection.getRng();
|
|
46803
46803
|
no.setEditorTimeout(e, () => {
|
|
@@ -46807,7 +46807,7 @@ Input object: ` + gT(e.input), vT = (e, o) => wB(e, Wt(o, KM)), Fj = le(Nj), bT
|
|
|
46807
46807
|
e.execCommand("Delete");
|
|
46808
46808
|
});
|
|
46809
46809
|
}, _6 = (e) => (o) => {
|
|
46810
|
-
!o.isDefaultPrevented() && O6(e) && LT(o,
|
|
46810
|
+
!o.isDefaultPrevented() && O6(e) && LT(o, g3(e), VT(e), se);
|
|
46811
46811
|
}, nU = (e) => {
|
|
46812
46812
|
e.on("cut", P6(e)), e.on("copy", _6(e));
|
|
46813
46813
|
}, A6 = (e, o) => {
|
|
@@ -46816,7 +46816,7 @@ Input object: ` + gT(e.input), vT = (e, o) => wB(e, Wt(o, KM)), Fj = le(Nj), bT
|
|
|
46816
46816
|
}, oU = (e) => {
|
|
46817
46817
|
const o = e["text/plain"];
|
|
46818
46818
|
return o ? o.indexOf("file://") === 0 : !1;
|
|
46819
|
-
},
|
|
46819
|
+
}, h3 = (e, o) => {
|
|
46820
46820
|
e.focus(), o && e.selection.setRng(o);
|
|
46821
46821
|
}, rU = (e) => Ue(e.files, (o) => /^image\//.test(o.type)), D6 = (e, o) => {
|
|
46822
46822
|
As(e) && e.on("dragend dragover draggesture dragdrop drop drag", (r) => {
|
|
@@ -46830,13 +46830,13 @@ Input object: ` + gT(e.input), vT = (e, o) => wB(e, Wt(o, KM)), Fj = le(Nj), bT
|
|
|
46830
46830
|
const l = A6(e, r);
|
|
46831
46831
|
if (ue(l))
|
|
46832
46832
|
return;
|
|
46833
|
-
const d =
|
|
46833
|
+
const d = m3(r.dataTransfer), h = _1(d, l3());
|
|
46834
46834
|
if ((!x6(d) || oU(d)) && uS(e, r, l))
|
|
46835
46835
|
return;
|
|
46836
|
-
const w = d[
|
|
46836
|
+
const w = d[l3()], T = w || d["text/html"] || d["text/plain"];
|
|
46837
46837
|
T && (r.preventDefault(), no.setEditorTimeout(e, () => {
|
|
46838
46838
|
e.undoManager.transact(() => {
|
|
46839
|
-
w && e.execCommand("Delete"),
|
|
46839
|
+
w && e.execCommand("Delete"), h3(e, l);
|
|
46840
46840
|
const F = lS(T);
|
|
46841
46841
|
d["text/html"] ? FT(e, F, h) : cS(e, F);
|
|
46842
46842
|
});
|
|
@@ -46844,7 +46844,7 @@ Input object: ` + gT(e.input), vT = (e, o) => wB(e, Wt(o, KM)), Fj = le(Nj), bT
|
|
|
46844
46844
|
}), e.on("dragstart", (r) => {
|
|
46845
46845
|
o.set(!0);
|
|
46846
46846
|
}), e.on("dragover dragend", (r) => {
|
|
46847
|
-
Bp(e) && !o.get() && (r.preventDefault(),
|
|
46847
|
+
Bp(e) && !o.get() && (r.preventDefault(), h3(e, A6(e, r))), r.type === "dragend" && o.set(!1);
|
|
46848
46848
|
});
|
|
46849
46849
|
}, aU = (e) => {
|
|
46850
46850
|
const o = (d) => (h) => {
|
|
@@ -46967,7 +46967,7 @@ Input object: ` + gT(e.input), vT = (e, o) => wB(e, Wt(o, KM)), Fj = le(Nj), bT
|
|
|
46967
46967
|
fail: G
|
|
46968
46968
|
} = xt(T, (ge) => ge.top < r);
|
|
46969
46969
|
return h(w, L6).orThunk(() => h(G, UC)).orThunk(() => h(F, UC));
|
|
46970
|
-
},
|
|
46970
|
+
}, p3 = (e, o, r, l) => {
|
|
46971
46971
|
const d = (h, w) => w.fold(() => zT(qt(h.dom.childNodes), r, l), (T) => {
|
|
46972
46972
|
const F = tt(qt(h.dom.childNodes), (G) => G !== T.dom);
|
|
46973
46973
|
return zT(F, r, l);
|
|
@@ -46975,7 +46975,7 @@ Input object: ` + gT(e.input), vT = (e, o) => wB(e, Wt(o, KM)), Fj = le(Nj), bT
|
|
|
46975
46975
|
return d(o, te.none());
|
|
46976
46976
|
}, wU = (e, o, r) => {
|
|
46977
46977
|
const l = ct.fromDom(e), d = vc(l), w = ct.fromPoint(d, o, r).filter((T) => Mi(l, T)).getOr(l);
|
|
46978
|
-
return
|
|
46978
|
+
return p3(l, w, o, r);
|
|
46979
46979
|
}, V6 = (e, o, r) => wU(e, o, r).filter((l) => Eb(l.node)).map((l) => CU(l, o)), H6 = (e) => {
|
|
46980
46980
|
var o, r;
|
|
46981
46981
|
const l = e.getBoundingClientRect(), d = e.ownerDocument, h = d.documentElement, w = d.defaultView;
|
|
@@ -47019,7 +47019,7 @@ Input object: ` + gT(e.input), vT = (e, o) => wB(e, Wt(o, KM)), Fj = le(Nj), bT
|
|
|
47019
47019
|
}, kU = (e, o, r) => ({
|
|
47020
47020
|
pageX: r.left - e.left + o.left,
|
|
47021
47021
|
pageY: r.top - e.top + o.top
|
|
47022
|
-
}), EU = (e, o) => kU(z6(e), xU(e), SU(e, o)), wv = 32, TU = 100, jT = 8, mS = 16,
|
|
47022
|
+
}), EU = (e, o) => kU(z6(e), xU(e), SU(e, o)), wv = 32, TU = 100, jT = 8, mS = 16, v3 = _s, OU = g2(v3, Lc), PU = (e, o) => v3(o) && o !== e, _U = (e, o, r) => ue(o) || o === r || e.dom.isChildOf(o, r) ? !1 : !v3(o), AU = (e) => {
|
|
47023
47023
|
const o = e.cloneNode(!0);
|
|
47024
47024
|
return o.removeAttribute("data-mce-selected"), o;
|
|
47025
47025
|
}, KT = (e, o, r, l) => {
|
|
@@ -47055,7 +47055,7 @@ Input object: ` + gT(e.input), vT = (e, o) => wB(e, Wt(o, KM)), Fj = le(Nj), bT
|
|
|
47055
47055
|
[e]: l + o,
|
|
47056
47056
|
behavior: "smooth"
|
|
47057
47057
|
});
|
|
47058
|
-
}, U6 = gS("left", -wv), W6 = gS("left", wv), DU = gS("top", -wv), Z6 = gS("top", wv),
|
|
47058
|
+
}, U6 = gS("left", -wv), W6 = gS("left", wv), DU = gS("top", -wv), Z6 = gS("top", wv), b3 = (e, o, r, l, d, h, w, T, F, G, ge) => {
|
|
47059
47059
|
let Te = 0, Ee = 0;
|
|
47060
47060
|
e.style.left = o.pageX + "px", e.style.top = o.pageY + "px", o.pageX + r > d && (Te = o.pageX + r - d), o.pageY + l > h && (Ee = o.pageY + l - h), e.style.width = r - Te + "px", e.style.height = l - Ee + "px";
|
|
47061
47061
|
const Ge = F.clientHeight, Ye = F.clientWidth, ze = w + F.getBoundingClientRect().top, nt = T + F.getBoundingClientRect().left;
|
|
@@ -47103,7 +47103,7 @@ Input object: ` + gT(e.input), vT = (e, o) => wB(e, Wt(o, KM)), Fj = le(Nj), bT
|
|
|
47103
47103
|
}
|
|
47104
47104
|
if (h.dragging) {
|
|
47105
47105
|
const T = MU(h, EU(o, d));
|
|
47106
|
-
K6(h.ghost, o.getBody()),
|
|
47106
|
+
K6(h.ghost, o.getBody()), b3(h.ghost, T, h.width, h.height, h.maxX, h.maxY, d.clientY, d.clientX, o.getContentAreaContainer(), o.getWin(), l), r.throttle(d.clientX, d.clientY);
|
|
47107
47107
|
}
|
|
47108
47108
|
});
|
|
47109
47109
|
}, RU = (e) => {
|
|
@@ -47113,7 +47113,7 @@ Input object: ` + gT(e.input), vT = (e, o) => wB(e, Wt(o, KM)), Fj = le(Nj), bT
|
|
|
47113
47113
|
return kn(l) ? l.parentNode : l;
|
|
47114
47114
|
} else
|
|
47115
47115
|
return null;
|
|
47116
|
-
},
|
|
47116
|
+
}, y3 = (e, o) => (r) => {
|
|
47117
47117
|
e.on((l) => {
|
|
47118
47118
|
if (l.intervalId.clear(), l.dragging) {
|
|
47119
47119
|
if (_U(o, RU(o.selection), l.element)) {
|
|
@@ -47137,7 +47137,7 @@ Input object: ` + gT(e.input), vT = (e, o) => wB(e, Wt(o, KM)), Fj = le(Nj), bT
|
|
|
47137
47137
|
o.intervalId.clear(), UT(o.ghost);
|
|
47138
47138
|
}), e.clear();
|
|
47139
47139
|
}, X6 = (e) => {
|
|
47140
|
-
const o = Lf(), r = Ra.DOM, l = document, d = NU(o, e), h = G6(o, e), w =
|
|
47140
|
+
const o = Lf(), r = Ra.DOM, l = document, d = NU(o, e), h = G6(o, e), w = y3(o, e), T = q6(o, e);
|
|
47141
47141
|
e.on("mousedown", d), e.on("mousemove", h), e.on("mouseup", w), r.bind(l, "mousemove", h), r.bind(l, "mouseup", T), e.on("remove", () => {
|
|
47142
47142
|
r.unbind(l, "mousemove", h), r.unbind(l, "mouseup", T);
|
|
47143
47143
|
}), e.on("keydown", (F) => {
|
|
@@ -47194,7 +47194,7 @@ Input object: ` + gT(e.input), vT = (e, o) => wB(e, Wt(o, KM)), Fj = le(Nj), bT
|
|
|
47194
47194
|
}
|
|
47195
47195
|
});
|
|
47196
47196
|
});
|
|
47197
|
-
}, A1 = _s,
|
|
47197
|
+
}, A1 = _s, C3 = (e, o) => Th(e.getBody(), o), Q6 = (e) => {
|
|
47198
47198
|
const o = e.selection, r = e.dom, l = e.getBody(), d = XP(e, l, r.isBlock, () => Sh(e)), h = "sel-" + r.uniqueId(), w = "data-mce-selected";
|
|
47199
47199
|
let T;
|
|
47200
47200
|
const F = (bn) => ce(bn) && r.hasClass(bn, "mce-offscreen-selection"), G = (bn) => bn !== l && (A1(bn) || li(bn)) && r.isChildOf(bn, l), ge = (bn) => {
|
|
@@ -47207,17 +47207,17 @@ Input object: ` + gT(e.input), vT = (e, o) => wB(e, Wt(o, KM)), Fj = le(Nj), bT
|
|
|
47207
47207
|
bn.hasAttribute("data-mce-caret") && (Lu(bn), o.scrollIntoView(bn));
|
|
47208
47208
|
}, Ge = () => {
|
|
47209
47209
|
e.on("click", (Yt) => {
|
|
47210
|
-
const Jt =
|
|
47210
|
+
const Jt = C3(e, Yt.target);
|
|
47211
47211
|
Jt && A1(Jt) && (Yt.preventDefault(), e.focus());
|
|
47212
47212
|
}), e.on("blur NewBlock", an), e.on("ResizeWindow FullscreenStateChanged", d.reposition), e.on("tap", (Yt) => {
|
|
47213
|
-
const Jt = Yt.target, Fn =
|
|
47213
|
+
const Jt = Yt.target, Fn = C3(e, Jt);
|
|
47214
47214
|
A1(Fn) ? (Yt.preventDefault(), vv(e, Fn).each(At)) : G(Jt) && vv(e, Jt).each(At);
|
|
47215
47215
|
}, !0), e.on("mousedown", (Yt) => {
|
|
47216
47216
|
const Jt = Yt.target;
|
|
47217
47217
|
if (Jt !== l && Jt.nodeName !== "HTML" && !r.isChildOf(Jt, l) || !eJ(e, Yt.clientX, Yt.clientY))
|
|
47218
47218
|
return;
|
|
47219
47219
|
an(), In();
|
|
47220
|
-
const Fn =
|
|
47220
|
+
const Fn = C3(e, Jt);
|
|
47221
47221
|
A1(Fn) ? (Yt.preventDefault(), vv(e, Fn).each(At)) : V6(l, Yt.clientX, Yt.clientY).each((Po) => {
|
|
47222
47222
|
Yt.preventDefault();
|
|
47223
47223
|
const No = Te(1, Po.node, Po.position === fS.Before, !1);
|
|
@@ -47320,7 +47320,7 @@ Input object: ` + gT(e.input), vT = (e, o) => wB(e, Wt(o, KM)), Fj = le(Nj), bT
|
|
|
47320
47320
|
for (; w !== o && w.parentNode; )
|
|
47321
47321
|
h.push(e.nodeIndex(w, d)), w = w.parentNode;
|
|
47322
47322
|
return w === o ? h.reverse() : [];
|
|
47323
|
-
},
|
|
47323
|
+
}, w3 = (e, o, r, l, d, h, w = !1) => {
|
|
47324
47324
|
const T = J6(e, o, r, l, w), F = J6(e, o, d, h, w);
|
|
47325
47325
|
return {
|
|
47326
47326
|
start: T,
|
|
@@ -47341,7 +47341,7 @@ Input object: ` + gT(e.input), vT = (e, o) => wB(e, Wt(o, KM)), Fj = le(Nj), bT
|
|
|
47341
47341
|
}) => {
|
|
47342
47342
|
const w = document.createRange();
|
|
47343
47343
|
return w.setStart(r, l), w.setEnd(d, h), w;
|
|
47344
|
-
})), n5 = (e, o, r, l = !1) =>
|
|
47344
|
+
})), n5 = (e, o, r, l = !1) => w3(e, o, r.startContainer, r.startOffset, r.endContainer, r.endOffset, l), hS = (e, o, r) => {
|
|
47345
47345
|
if (o && e.isEmpty(o) && !r(o)) {
|
|
47346
47346
|
const l = o.parentNode;
|
|
47347
47347
|
e.remove(o), hS(e, l, r);
|
|
@@ -47393,14 +47393,14 @@ Input object: ` + gT(e.input), vT = (e, o) => wB(e, Wt(o, KM)), Fj = le(Nj), bT
|
|
|
47393
47393
|
const T = (d = o.textContent) !== null && d !== void 0 ? d : "";
|
|
47394
47394
|
return a5(r.blockPatterns, T).map((F) => gn.trim(T).length === F.start.length ? [] : [{
|
|
47395
47395
|
pattern: F,
|
|
47396
|
-
range:
|
|
47396
|
+
range: w3(h, h.getRoot(), o, 0, o, 0, l)
|
|
47397
47397
|
}]).getOr([]);
|
|
47398
47398
|
}, s5 = (e, o) => {
|
|
47399
47399
|
if (o.length === 0)
|
|
47400
47400
|
return;
|
|
47401
47401
|
const r = e.selection.getBookmark();
|
|
47402
47402
|
He(o, (l) => LU(e, l)), e.selection.moveToBookmark(r);
|
|
47403
|
-
},
|
|
47403
|
+
}, x3 = (e, o) => e.create("span", {
|
|
47404
47404
|
"data-mce-type": "bookmark",
|
|
47405
47405
|
id: o
|
|
47406
47406
|
}), XT = (e, o) => {
|
|
@@ -47410,12 +47410,12 @@ Input object: ` + gT(e.input), vT = (e, o) => wB(e, Wt(o, KM)), Fj = le(Nj), bT
|
|
|
47410
47410
|
const l = t5(e.getRoot(), r).getOrDie("Unable to resolve path range"), d = l.startContainer, h = l.endContainer, w = l.endOffset === 0 ? h : h.splitText(l.endOffset), T = l.startOffset === 0 ? d : d.splitText(l.startOffset), F = T.parentNode, G = w.parentNode;
|
|
47411
47411
|
return {
|
|
47412
47412
|
prefix: o,
|
|
47413
|
-
end: G.insertBefore(
|
|
47414
|
-
start: F.insertBefore(
|
|
47413
|
+
end: G.insertBefore(x3(e, o + "-end"), w),
|
|
47414
|
+
start: F.insertBefore(x3(e, o + "-start"), T)
|
|
47415
47415
|
};
|
|
47416
|
-
},
|
|
47416
|
+
}, S3 = (e, o, r) => {
|
|
47417
47417
|
hS(e, e.get(o.prefix + "-end"), r), hS(e, e.get(o.prefix + "-start"), r);
|
|
47418
|
-
},
|
|
47418
|
+
}, k3 = (e) => e.start.length === 0, HU = (e) => (o, r) => {
|
|
47419
47419
|
const d = o.data.substring(0, r), h = d.lastIndexOf(e.charAt(e.length - 1)), w = d.lastIndexOf(e);
|
|
47420
47420
|
return w !== -1 ? w + e.length : h !== -1 ? h + 1 : -1;
|
|
47421
47421
|
}, l5 = (e, o, r, l) => {
|
|
@@ -47432,7 +47432,7 @@ Input object: ` + gT(e.input), vT = (e, o) => wB(e, Wt(o, KM)), Fj = le(Nj), bT
|
|
|
47432
47432
|
}).filter((F) => F.toString() === d).orThunk(() => l5(e, o, r, uf(w.container, 0)));
|
|
47433
47433
|
}
|
|
47434
47434
|
});
|
|
47435
|
-
},
|
|
47435
|
+
}, E3 = (e, o, r, l, d, h = !1) => {
|
|
47436
47436
|
if (o.start.length === 0 && !h) {
|
|
47437
47437
|
const w = e.createRng();
|
|
47438
47438
|
return w.setStart(r, l), w.setEnd(r, l), te.some(w);
|
|
@@ -47450,8 +47450,8 @@ Input object: ` + gT(e.input), vT = (e, o) => wB(e, Wt(o, KM)), Fj = le(Nj), bT
|
|
|
47450
47450
|
}, zU = (e, o, r, l) => {
|
|
47451
47451
|
const d = e.dom, h = d.getRoot(), w = r.pattern, T = r.position.container, F = r.position.offset;
|
|
47452
47452
|
return RM(T, F - r.pattern.end.length, o).bind((G) => {
|
|
47453
|
-
const ge =
|
|
47454
|
-
if (
|
|
47453
|
+
const ge = w3(d, h, G.container, G.offset, T, F, l);
|
|
47454
|
+
if (k3(w))
|
|
47455
47455
|
return te.some({
|
|
47456
47456
|
matches: [{
|
|
47457
47457
|
pattern: w,
|
|
@@ -47465,7 +47465,7 @@ Input object: ` + gT(e.input), vT = (e, o) => wB(e, Wt(o, KM)), Fj = le(Nj), bT
|
|
|
47465
47465
|
matches: [],
|
|
47466
47466
|
position: G
|
|
47467
47467
|
}), Ge = Ee.position;
|
|
47468
|
-
return
|
|
47468
|
+
return E3(d, w, Ge.container, Ge.offset, o, Te.isNone()).map((ze) => {
|
|
47469
47469
|
const nt = n5(d, h, ze, l);
|
|
47470
47470
|
return {
|
|
47471
47471
|
matches: Ee.matches.concat([{
|
|
@@ -47523,29 +47523,29 @@ Input object: ` + gT(e.input), vT = (e, o) => wB(e, Wt(o, KM)), Fj = le(Nj), bT
|
|
|
47523
47523
|
}]);
|
|
47524
47524
|
}, []);
|
|
47525
47525
|
return Nt(l, (d, h) => {
|
|
47526
|
-
const w = l.length - d.length - 1, T =
|
|
47526
|
+
const w = l.length - d.length - 1, T = k3(h.pattern) ? h.endMarker : i5(e, r + `_start${w}`, h.startRng);
|
|
47527
47527
|
return d.concat([{
|
|
47528
47528
|
...h,
|
|
47529
47529
|
startMarker: T
|
|
47530
47530
|
}]);
|
|
47531
47531
|
}, []);
|
|
47532
|
-
},
|
|
47532
|
+
}, T3 = (e, o, r, l, d, h) => c5(e, d.inlinePatterns, r, l, o, h).fold(() => [], (w) => w.matches), O3 = (e, o) => {
|
|
47533
47533
|
if (o.length === 0)
|
|
47534
47534
|
return;
|
|
47535
47535
|
const r = e.dom, l = e.selection.getBookmark(), d = UU(r, o);
|
|
47536
47536
|
He(d, (h) => {
|
|
47537
47537
|
const w = r.getParent(h.startMarker.start, r.isBlock), T = (F) => F === w;
|
|
47538
|
-
|
|
47538
|
+
k3(h.pattern) ? jU(e, h.pattern, h.endMarker, T) : KU(e, h.pattern, h.startMarker, h.endMarker, T), S3(r, h.endMarker, T), S3(r, h.startMarker, T);
|
|
47539
47539
|
}), e.selection.moveToBookmark(l);
|
|
47540
|
-
},
|
|
47540
|
+
}, P3 = (e, o) => {
|
|
47541
47541
|
const r = e.selection.getRng();
|
|
47542
47542
|
return GT(e, r).map((l) => {
|
|
47543
47543
|
var d;
|
|
47544
|
-
const h = Math.max(0, r.startOffset), w = o5(o, l, (d = l.textContent) !== null && d !== void 0 ? d : ""), T =
|
|
47544
|
+
const h = Math.max(0, r.startOffset), w = o5(o, l, (d = l.textContent) !== null && d !== void 0 ? d : ""), T = T3(e, l, r.startContainer, h, w, !0), F = YT(e, l, w, !0);
|
|
47545
47545
|
return F.length > 0 || T.length > 0 ? (e.undoManager.add(), e.undoManager.extra(() => {
|
|
47546
47546
|
e.execCommand("mceInsertNewLine");
|
|
47547
47547
|
}, () => {
|
|
47548
|
-
e.insertContent(Af),
|
|
47548
|
+
e.insertContent(Af), O3(e, T), s5(e, F);
|
|
47549
47549
|
const G = e.selection.getRng(), ge = NM(G.startContainer, G.startOffset, e.dom.getRoot());
|
|
47550
47550
|
e.execCommand("mceInsertNewLine"), ge.each((Te) => {
|
|
47551
47551
|
const Ee = Te.container;
|
|
@@ -47553,12 +47553,12 @@ Input object: ` + gT(e.input), vT = (e, o) => wB(e, Wt(o, KM)), Fj = le(Nj), bT
|
|
|
47553
47553
|
});
|
|
47554
47554
|
}), !0) : !1;
|
|
47555
47555
|
}).getOr(!1);
|
|
47556
|
-
},
|
|
47556
|
+
}, _3 = (e, o) => {
|
|
47557
47557
|
const r = e.selection.getRng();
|
|
47558
47558
|
GT(e, r).map((l) => {
|
|
47559
|
-
const d = Math.max(0, r.startOffset - 1), h = qT(e.dom, l, r.startContainer, d), w = o5(o, l, h), T =
|
|
47559
|
+
const d = Math.max(0, r.startOffset - 1), h = qT(e.dom, l, r.startContainer, d), w = o5(o, l, h), T = T3(e, l, r.startContainer, d, w, !1);
|
|
47560
47560
|
T.length > 0 && e.undoManager.transact(() => {
|
|
47561
|
-
|
|
47561
|
+
O3(e, T);
|
|
47562
47562
|
});
|
|
47563
47563
|
});
|
|
47564
47564
|
}, d5 = (e, o, r) => {
|
|
@@ -47566,7 +47566,7 @@ Input object: ` + gT(e.input), vT = (e, o) => wB(e, Wt(o, KM)), Fj = le(Nj), bT
|
|
|
47566
47566
|
if (r(e[l], o))
|
|
47567
47567
|
return !0;
|
|
47568
47568
|
return !1;
|
|
47569
|
-
},
|
|
47569
|
+
}, A3 = (e, o) => d5(e, o, (r, l) => r === l.keyCode && !Ao.modifierPressed(l)), WU = (e, o) => d5(e, o, (r, l) => r.charCodeAt(0) === l.charCode), ZU = (e) => {
|
|
47570
47570
|
const o = [
|
|
47571
47571
|
",",
|
|
47572
47572
|
".",
|
|
@@ -47578,17 +47578,17 @@ Input object: ` + gT(e.input), vT = (e, o) => wB(e, Wt(o, KM)), Fj = le(Nj), bT
|
|
|
47578
47578
|
e.on("keydown", (w) => {
|
|
47579
47579
|
if (w.keyCode === 13 && !Ao.modifierPressed(w) && e.selection.isCollapsed()) {
|
|
47580
47580
|
const T = l();
|
|
47581
|
-
(T.inlinePatterns.length > 0 || T.blockPatterns.length > 0 || d()) &&
|
|
47581
|
+
(T.inlinePatterns.length > 0 || T.blockPatterns.length > 0 || d()) && P3(e, T) && w.preventDefault();
|
|
47582
47582
|
}
|
|
47583
47583
|
}, !0);
|
|
47584
47584
|
const h = () => {
|
|
47585
47585
|
if (e.selection.isCollapsed()) {
|
|
47586
47586
|
const w = l();
|
|
47587
|
-
(w.inlinePatterns.length > 0 || d()) &&
|
|
47587
|
+
(w.inlinePatterns.length > 0 || d()) && _3(e, w);
|
|
47588
47588
|
}
|
|
47589
47589
|
};
|
|
47590
47590
|
e.on("keyup", (w) => {
|
|
47591
|
-
|
|
47591
|
+
A3(r, w) && h();
|
|
47592
47592
|
}), e.on("keypress", (w) => {
|
|
47593
47593
|
WU(o, w) && no.setEditorTimeout(e, h);
|
|
47594
47594
|
});
|
|
@@ -47791,7 +47791,7 @@ Input object: ` + gT(e.input), vT = (e, o) => wB(e, Wt(o, KM)), Fj = le(Nj), bT
|
|
|
47791
47791
|
refreshContentEditable: Sr,
|
|
47792
47792
|
isHidden: Ir
|
|
47793
47793
|
};
|
|
47794
|
-
},
|
|
47794
|
+
}, D3 = Ra.DOM, YU = (e, o) => {
|
|
47795
47795
|
const r = ct.fromDom(e.getBody()), l = Bd(Fc(r)), d = ct.fromTag("style");
|
|
47796
47796
|
Na(d, "type", "text/css"), Us(d, ct.fromText(o)), Us(l, d), e.on("remove", () => {
|
|
47797
47797
|
oa(d);
|
|
@@ -47900,11 +47900,11 @@ Input object: ` + gT(e.input), vT = (e, o) => wB(e, Wt(o, KM)), Fj = le(Nj), bT
|
|
|
47900
47900
|
e.bindPendingEventDelegates(), e.initialized = !0, fh(e), e.focus(!0), tW(e), e.nodeChanged({ initial: !0 });
|
|
47901
47901
|
const o = U2(e);
|
|
47902
47902
|
oe(o) && o.call(e, e), eW(e);
|
|
47903
|
-
},
|
|
47904
|
-
const l = [
|
|
47903
|
+
}, M3 = (e) => e.inline ? e.ui.styleSheetLoader : e.dom.styleSheetLoader, oW = (e, o, r) => {
|
|
47904
|
+
const l = [M3(e).loadAll(o)];
|
|
47905
47905
|
return e.inline ? l : l.concat([e.ui.styleSheetLoader.loadAll(r)]);
|
|
47906
47906
|
}, JT = (e) => {
|
|
47907
|
-
const o =
|
|
47907
|
+
const o = M3(e), r = Fi(e), l = e.contentCSS, d = () => {
|
|
47908
47908
|
o.unloadAll(l), e.inline || e.ui.styleSheetLoader.unloadAll(r);
|
|
47909
47909
|
}, h = () => {
|
|
47910
47910
|
e.removed ? d() : e.on("remove", d);
|
|
@@ -47920,7 +47920,7 @@ Input object: ` + gT(e.input), vT = (e, o) => wB(e, Wt(o, KM)), Fj = le(Nj), bT
|
|
|
47920
47920
|
return T && YU(e, T), w;
|
|
47921
47921
|
}, rW = (e) => {
|
|
47922
47922
|
const o = e.getDoc(), r = e.getBody();
|
|
47923
|
-
Tk(e), LP(e) || (o.body.spellcheck = !1,
|
|
47923
|
+
Tk(e), LP(e) || (o.body.spellcheck = !1, D3.setAttrib(r, "spellcheck", "false")), e.quirks = qU(e), Uw(e);
|
|
47924
47924
|
const l = NP(e);
|
|
47925
47925
|
l !== void 0 && (r.dir = l);
|
|
47926
47926
|
const d = oh(e);
|
|
@@ -47938,14 +47938,14 @@ Input object: ` + gT(e.input), vT = (e, o) => wB(e, Wt(o, KM)), Fj = le(Nj), bT
|
|
|
47938
47938
|
initial: !0,
|
|
47939
47939
|
format: "html"
|
|
47940
47940
|
}), e.startContent = e.getContent({ format: "raw" });
|
|
47941
|
-
},
|
|
47941
|
+
}, N3 = (e) => {
|
|
47942
47942
|
e.removed !== !0 && (aW(e), nW(e));
|
|
47943
47943
|
}, g5 = (e) => {
|
|
47944
47944
|
const o = e.getElement();
|
|
47945
47945
|
let r = e.getDoc();
|
|
47946
|
-
e.inline && (
|
|
47946
|
+
e.inline && (D3.addClass(o, "mce-content-body"), e.contentDocument = r = document, e.contentWindow = window, e.bodyElement = o, e.contentAreaContainer = o);
|
|
47947
47947
|
const l = e.getBody();
|
|
47948
|
-
l.disabled = !0, e.readonly = z2(e), e.readonly || (e.inline &&
|
|
47948
|
+
l.disabled = !0, e.readonly = z2(e), e.readonly || (e.inline && D3.getStyle(l, "position", !0) === "static" && (l.style.position = "relative"), l.contentEditable = "true"), l.disabled = !1, e.editorUpload = KE(e), e.schema = cu(m5(e)), e.dom = Ra(r, {
|
|
47949
47949
|
keep_values: !0,
|
|
47950
47950
|
url_converter: e.convertURL,
|
|
47951
47951
|
url_converter_scope: e,
|
|
@@ -47959,20 +47959,20 @@ Input object: ` + gT(e.input), vT = (e, o) => wB(e, Wt(o, KM)), Fj = le(Nj), bT
|
|
|
47959
47959
|
e.dispatch("SetAttrib", w);
|
|
47960
47960
|
}
|
|
47961
47961
|
}), e.parser = JU(e), e.serializer = pI(QU(e), e), e.selection = OD(e.dom, e.getWin(), e.serializer, e), e.annotator = Zc(e), e.formatter = RD(e), e.undoManager = dg(e), e._nodeChangeDispatcher = new u6(e), e._selectionOverrides = Q6(e), Fz(e), fU(e), Hz(e), nm(e) || (xu(e), GU(e));
|
|
47962
|
-
const d =
|
|
47962
|
+
const d = i3(e);
|
|
47963
47963
|
Rz(e, d), CM(e), _9(e), uU(e);
|
|
47964
47964
|
const h = kH(e);
|
|
47965
47965
|
rW(e), h.fold(() => {
|
|
47966
|
-
JT(e).then(() =>
|
|
47966
|
+
JT(e).then(() => N3(e));
|
|
47967
47967
|
}, (w) => {
|
|
47968
47968
|
e.setProgressState(!0), JT(e).then(() => {
|
|
47969
47969
|
w().then((T) => {
|
|
47970
|
-
e.setProgressState(!1),
|
|
47970
|
+
e.setProgressState(!1), N3(e), cI(e);
|
|
47971
47971
|
}, (T) => {
|
|
47972
47972
|
e.notificationManager.open({
|
|
47973
47973
|
type: "error",
|
|
47974
47974
|
text: String(T)
|
|
47975
|
-
}),
|
|
47975
|
+
}), N3(e), cI(e);
|
|
47976
47976
|
});
|
|
47977
47977
|
});
|
|
47978
47978
|
});
|
|
@@ -47988,7 +47988,7 @@ Input object: ` + gT(e.input), vT = (e, o) => wB(e, Wt(o, KM)), Fj = le(Nj), bT
|
|
|
47988
47988
|
r.srcdoc = e.iframeHTML;
|
|
47989
47989
|
} else
|
|
47990
47990
|
g5(e);
|
|
47991
|
-
},
|
|
47991
|
+
}, R3 = Ra.DOM, eO = (e, o, r, l) => {
|
|
47992
47992
|
const d = ct.fromTag("iframe");
|
|
47993
47993
|
return l.each((h) => Na(d, "tabindex", h)), ea(d, r), ea(d, {
|
|
47994
47994
|
id: e + "_ifr",
|
|
@@ -48005,9 +48005,9 @@ Input object: ` + gT(e.input), vT = (e, o) => wB(e, Wt(o, KM)), Fj = le(Nj), bT
|
|
|
48005
48005
|
const r = e.translate("Rich Text Area"), l = al(ct.fromDom(e.getElement()), "tabindex").bind(Ma), d = eO(e.id, r, rw(e), l).dom;
|
|
48006
48006
|
d.onload = () => {
|
|
48007
48007
|
d.onload = null, e.dispatch("load");
|
|
48008
|
-
}, e.contentAreaContainer = o.iframeContainer, e.iframeElement = d, e.iframeHTML = sW(e),
|
|
48008
|
+
}, e.contentAreaContainer = o.iframeContainer, e.iframeElement = d, e.iframeHTML = sW(e), R3.add(o.iframeContainer, d);
|
|
48009
48009
|
}, lW = (e, o) => {
|
|
48010
|
-
iW(e, o), o.editorContainer && (o.editorContainer.style.display = e.orgDisplay, e.hidden =
|
|
48010
|
+
iW(e, o), o.editorContainer && (o.editorContainer.style.display = e.orgDisplay, e.hidden = R3.isHidden(o.editorContainer)), e.getElement().style.display = "none", R3.setAttrib(e.id, "aria-hidden", "true"), h5(e);
|
|
48011
48011
|
}, p5 = Ra.DOM, cW = (e, o, r) => {
|
|
48012
48012
|
const l = Cu.get(r), d = Cu.urls[r] || e.documentBaseUrl.replace(/\/$/, "");
|
|
48013
48013
|
if (r = gn.trim(r), l && gn.inArray(o, r) === -1) {
|
|
@@ -48045,7 +48045,7 @@ Input object: ` + gT(e.input), vT = (e, o) => wB(e, Wt(o, KM)), Fj = le(Nj), bT
|
|
|
48045
48045
|
e.model = r(e, dv.urls[o]);
|
|
48046
48046
|
}, gW = (e) => {
|
|
48047
48047
|
const o = e.theme.renderUI;
|
|
48048
|
-
return o ? o() : $
|
|
48048
|
+
return o ? o() : $3(e);
|
|
48049
48049
|
}, b5 = (e) => {
|
|
48050
48050
|
const o = e.getElement(), l = Jg(e)(e, o);
|
|
48051
48051
|
return l.editorContainer.nodeType && (l.editorContainer.id = l.editorContainer.id || e.id + "_parent"), l.iframeContainer && l.iframeContainer.nodeType && (l.iframeContainer.id = l.iframeContainer.id || e.id + "_iframecontainer"), l.height = l.iframeHeight ? l.iframeHeight : o.offsetHeight, l;
|
|
@@ -48056,12 +48056,12 @@ Input object: ` + gT(e.input), vT = (e, o) => wB(e, Wt(o, KM)), Fj = le(Nj), bT
|
|
|
48056
48056
|
}), hW = (e) => {
|
|
48057
48057
|
const o = p5.create("div");
|
|
48058
48058
|
return p5.insertAfter(o, e), y5(o, o);
|
|
48059
|
-
}, $
|
|
48059
|
+
}, $3 = (e) => {
|
|
48060
48060
|
const o = e.getElement();
|
|
48061
48061
|
return e.inline ? y5(null) : hW(o);
|
|
48062
48062
|
}, pS = (e) => {
|
|
48063
48063
|
const o = e.getElement();
|
|
48064
|
-
return e.orgDisplay = o.style.display, N(Jg(e)) ? gW(e) : oe(Jg(e)) ? b5(e) : $
|
|
48064
|
+
return e.orgDisplay = o.style.display, N(Jg(e)) ? gW(e) : oe(Jg(e)) ? b5(e) : $3(e);
|
|
48065
48065
|
}, pW = (e, o) => {
|
|
48066
48066
|
const r = {
|
|
48067
48067
|
show: te.from(o.show).getOr(se),
|
|
@@ -48109,11 +48109,11 @@ Input object: ` + gT(e.input), vT = (e, o) => wB(e, Wt(o, KM)), Fj = le(Nj), bT
|
|
|
48109
48109
|
}, yW = (e) => te.from(OP(e)).filter(Uo).map((o) => ({
|
|
48110
48110
|
url: o,
|
|
48111
48111
|
name: te.none()
|
|
48112
|
-
})),
|
|
48112
|
+
})), I3 = (e, o, r) => te.from(o).filter((l) => Uo(l) && !V0.has(l)).map((l) => ({
|
|
48113
48113
|
url: `${e.editorManager.baseURL}/icons/${l}/icons${r}.js`,
|
|
48114
48114
|
name: te.some(l)
|
|
48115
48115
|
})), CW = (e, o, r) => {
|
|
48116
|
-
const l =
|
|
48116
|
+
const l = I3(o, "default", r), d = yW(o).orThunk(() => I3(o, Ry(o), ""));
|
|
48117
48117
|
He(_a([
|
|
48118
48118
|
l,
|
|
48119
48119
|
d
|
|
@@ -48185,7 +48185,7 @@ Input object: ` + gT(e.input), vT = (e, o) => wB(e, Wt(o, KM)), Fj = le(Nj), bT
|
|
|
48185
48185
|
}, OW = (e, o) => ({
|
|
48186
48186
|
sections: le(e),
|
|
48187
48187
|
options: le(o)
|
|
48188
|
-
}), S5 = Ja().deviceType,
|
|
48188
|
+
}), S5 = Ja().deviceType, F3 = S5.isPhone(), B3 = S5.isTablet(), tC = (e) => {
|
|
48189
48189
|
if (ue(e))
|
|
48190
48190
|
return [];
|
|
48191
48191
|
{
|
|
@@ -48198,7 +48198,7 @@ Input object: ` + gT(e.input), vT = (e, o) => wB(e, Wt(o, KM)), Fj = le(Nj), bT
|
|
|
48198
48198
|
}, PW = (e, o, r = {}) => {
|
|
48199
48199
|
const l = e.sections(), d = Eo(l, o).getOr({});
|
|
48200
48200
|
return gn.extend({}, r, d);
|
|
48201
|
-
},
|
|
48201
|
+
}, L3 = (e, o) => $n(e.sections(), o), _W = (e, o) => L3(e, o) ? e.sections()[o] : {}, E5 = (e, o) => ({
|
|
48202
48202
|
...{
|
|
48203
48203
|
table_grid: !1,
|
|
48204
48204
|
object_resizing: !1,
|
|
@@ -48214,17 +48214,17 @@ Input object: ` + gT(e.input), vT = (e, o) => wB(e, Wt(o, KM)), Fj = le(Nj), bT
|
|
|
48214
48214
|
}, AW = (e, o) => [
|
|
48215
48215
|
...tC(e),
|
|
48216
48216
|
...tC(o)
|
|
48217
|
-
], DW = (e, o, r, l) => e &&
|
|
48217
|
+
], DW = (e, o, r, l) => e && L3(o, "mobile") ? l : r, V3 = (e, o, r, l) => {
|
|
48218
48218
|
const d = tC(r.forced_plugins), h = tC(l.plugins), w = _W(o, "mobile"), T = w.plugins ? tC(w.plugins) : h, F = DW(e, o, h, T), G = AW(d, F);
|
|
48219
48219
|
return gn.extend(l, {
|
|
48220
48220
|
forced_plugins: d,
|
|
48221
48221
|
plugins: G
|
|
48222
48222
|
});
|
|
48223
|
-
}, tO = (e, o) => e &&
|
|
48223
|
+
}, tO = (e, o) => e && L3(o, "mobile"), nO = (e, o, r, l, d) => {
|
|
48224
48224
|
var h;
|
|
48225
48225
|
const w = e ? { mobile: E5((h = d.mobile) !== null && h !== void 0 ? h : {}, o) } : {}, T = k5(["mobile"], pT(w, d)), F = gn.extend(r, l, T.options(), tO(e, T) ? PW(T, "mobile") : {}, { external_plugins: T5(l, T.options()) });
|
|
48226
|
-
return
|
|
48227
|
-
}, Fh = (e, o) => nO(
|
|
48226
|
+
return V3(e, T, l, F);
|
|
48227
|
+
}, Fh = (e, o) => nO(F3 || B3, F3, o, e, o), oO = (e, o) => kD(e, o), nC = (e) => {
|
|
48228
48228
|
const o = (l, d) => {
|
|
48229
48229
|
e.formatter.toggle(l, d), e.nodeChanged();
|
|
48230
48230
|
}, r = (l) => () => {
|
|
@@ -48289,14 +48289,14 @@ Input object: ` + gT(e.input), vT = (e, o) => wB(e, Wt(o, KM)), Fj = le(Nj), bT
|
|
|
48289
48289
|
content: e,
|
|
48290
48290
|
details: {}
|
|
48291
48291
|
};
|
|
48292
|
-
},
|
|
48292
|
+
}, H3 = (e, o) => {
|
|
48293
48293
|
const r = e.selection, l = e.dom;
|
|
48294
48294
|
return /^ | $/.test(o) ? P5(l, r.getRng(), o) : o;
|
|
48295
48295
|
}, M1 = (e, o) => {
|
|
48296
48296
|
const { content: r, details: l } = RW(o);
|
|
48297
48297
|
aD(e, {
|
|
48298
48298
|
...l,
|
|
48299
|
-
content:
|
|
48299
|
+
content: H3(e, r),
|
|
48300
48300
|
format: "html",
|
|
48301
48301
|
set: !1,
|
|
48302
48302
|
selection: !0
|
|
@@ -48347,7 +48347,7 @@ Input object: ` + gT(e.input), vT = (e, o) => wB(e, Wt(o, KM)), Fj = le(Nj), bT
|
|
|
48347
48347
|
}), VW = (e) => te.from(e.selection.getRng()).bind((o) => {
|
|
48348
48348
|
const r = e.getBody();
|
|
48349
48349
|
return o.startContainer === r && o.startOffset === 0 ? te.none() : te.from(e.selection.getStart(!0));
|
|
48350
|
-
}), HW = (e, o) => VW(e).orThunk(Ce(D5, e)).map(ct.fromDom).filter(Vr).bind(o),
|
|
48350
|
+
}), HW = (e, o) => VW(e).orThunk(Ce(D5, e)).map(ct.fromDom).filter(Vr).bind(o), z3 = (e, o) => HW(e, A(te.some, o)), zW = (e, o) => {
|
|
48351
48351
|
if (/^[0-9.]+$/.test(o)) {
|
|
48352
48352
|
const r = parseInt(o, 10);
|
|
48353
48353
|
if (r >= 1 && r <= 7) {
|
|
@@ -48360,12 +48360,12 @@ Input object: ` + gT(e.input), vT = (e, o) => wB(e, Wt(o, KM)), Fj = le(Nj), bT
|
|
|
48360
48360
|
}, jW = (e) => {
|
|
48361
48361
|
const o = e.split(/\s*,\s*/);
|
|
48362
48362
|
return We(o, (r) => r.indexOf(" ") !== -1 && !(Ko(r, '"') || Ko(r, "'")) ? `'${r}'` : r).join(",");
|
|
48363
|
-
},
|
|
48363
|
+
}, j3 = (e, o) => {
|
|
48364
48364
|
const r = zW(e, o);
|
|
48365
48365
|
e.formatter.toggle("fontname", { value: jW(r) }), e.nodeChanged();
|
|
48366
|
-
}, KW = (e) =>
|
|
48366
|
+
}, KW = (e) => z3(e, (o) => LW(e.getBody(), o.dom)).getOr(""), UW = (e, o) => {
|
|
48367
48367
|
e.formatter.toggle("fontsize", { value: zW(e, o) }), e.nodeChanged();
|
|
48368
|
-
}, M5 = (e) =>
|
|
48368
|
+
}, M5 = (e) => z3(e, (o) => BW(e.getBody(), o.dom)).getOr(""), WW = (e) => z3(e, (o) => {
|
|
48369
48369
|
const r = ct.fromDom(e.getBody()), l = i1(o, (h) => qo(h, "line-height"), Ce(ba, r)), d = () => {
|
|
48370
48370
|
const h = parseFloat(Tt(o, "line-height")), w = parseFloat(Tt(o, "font-size"));
|
|
48371
48371
|
return String(h / w);
|
|
@@ -48388,7 +48388,7 @@ Input object: ` + gT(e.input), vT = (e, o) => wB(e, Wt(o, KM)), Fj = le(Nj), bT
|
|
|
48388
48388
|
o("hilitecolor", { value: d });
|
|
48389
48389
|
},
|
|
48390
48390
|
FontName: (r, l, d) => {
|
|
48391
|
-
|
|
48391
|
+
j3(e, d);
|
|
48392
48392
|
},
|
|
48393
48393
|
FontSize: (r, l, d) => {
|
|
48394
48394
|
UW(e, d);
|
|
@@ -48416,14 +48416,14 @@ Input object: ` + gT(e.input), vT = (e, o) => wB(e, Wt(o, KM)), Fj = le(Nj), bT
|
|
|
48416
48416
|
o(d);
|
|
48417
48417
|
}
|
|
48418
48418
|
});
|
|
48419
|
-
},
|
|
48419
|
+
}, K3 = (e) => {
|
|
48420
48420
|
const o = (r) => e.formatter.match(r);
|
|
48421
48421
|
e.editorCommands.addCommands({
|
|
48422
48422
|
"Bold,Italic,Underline,Strikethrough,Superscript,Subscript": (r) => o(r),
|
|
48423
48423
|
mceBlockQuote: () => o("blockquote")
|
|
48424
48424
|
}, "state"), e.editorCommands.addQueryValueHandler("FontName", () => KW(e)), e.editorCommands.addQueryValueHandler("FontSize", () => M5(e)), e.editorCommands.addQueryValueHandler("LineHeight", () => WW(e));
|
|
48425
48425
|
}, GW = (e) => {
|
|
48426
|
-
ZW(e),
|
|
48426
|
+
ZW(e), K3(e);
|
|
48427
48427
|
}, qW = (e) => {
|
|
48428
48428
|
e.editorCommands.addCommands({
|
|
48429
48429
|
mceAddUndoLevel: () => {
|
|
@@ -48479,7 +48479,7 @@ Input object: ` + gT(e.input), vT = (e, o) => wB(e, Wt(o, KM)), Fj = le(Nj), bT
|
|
|
48479
48479
|
}
|
|
48480
48480
|
}
|
|
48481
48481
|
});
|
|
48482
|
-
},
|
|
48482
|
+
}, U3 = (e) => {
|
|
48483
48483
|
e.editorCommands.addCommands({
|
|
48484
48484
|
"InsertUnorderedList,InsertOrderedList": (o) => {
|
|
48485
48485
|
const r = e.dom.getParent(e.selection.getNode(), "ul,ol");
|
|
@@ -48487,11 +48487,11 @@ Input object: ` + gT(e.input), vT = (e, o) => wB(e, Wt(o, KM)), Fj = le(Nj), bT
|
|
|
48487
48487
|
}
|
|
48488
48488
|
}, "state");
|
|
48489
48489
|
}, $5 = (e) => {
|
|
48490
|
-
R5(e),
|
|
48491
|
-
},
|
|
48490
|
+
R5(e), U3(e);
|
|
48491
|
+
}, W3 = (e) => {
|
|
48492
48492
|
e.editorCommands.addCommands({
|
|
48493
48493
|
insertParagraph: () => {
|
|
48494
|
-
MT(
|
|
48494
|
+
MT(t3, e);
|
|
48495
48495
|
},
|
|
48496
48496
|
mceInsertNewLine: (o, r, l) => {
|
|
48497
48497
|
t6(e, l);
|
|
@@ -48537,7 +48537,7 @@ Input object: ` + gT(e.input), vT = (e, o) => wB(e, Wt(o, KM)), Fj = le(Nj), bT
|
|
|
48537
48537
|
}
|
|
48538
48538
|
});
|
|
48539
48539
|
}, MJ = (e) => {
|
|
48540
|
-
MW(e), NW(e), qW(e), QW(e), xv(e), XW(e), YW(e),
|
|
48540
|
+
MW(e), NW(e), qW(e), QW(e), xv(e), XW(e), YW(e), W3(e), $5(e), GW(e), DJ(e);
|
|
48541
48541
|
};
|
|
48542
48542
|
class I5 {
|
|
48543
48543
|
constructor(o) {
|
|
@@ -48599,7 +48599,7 @@ Input object: ` + gT(e.input), vT = (e, o) => wB(e, Wt(o, KM)), Fj = le(Nj), bT
|
|
|
48599
48599
|
}
|
|
48600
48600
|
const Sv = "data-mce-contenteditable", JW = (e, o, r) => {
|
|
48601
48601
|
wf(e, o) && !r ? Du(e, o) : r && rd(e, o);
|
|
48602
|
-
},
|
|
48602
|
+
}, Z3 = (e, o, r) => {
|
|
48603
48603
|
try {
|
|
48604
48604
|
e.getDoc().execCommand(o, !1, String(r));
|
|
48605
48605
|
} catch {
|
|
@@ -48622,7 +48622,7 @@ Input object: ` + gT(e.input), vT = (e, o) => wB(e, Wt(o, KM)), Fj = le(Nj), bT
|
|
|
48622
48622
|
e.selection.setRng(e.selection.getRng());
|
|
48623
48623
|
}, eZ = (e, o) => {
|
|
48624
48624
|
const r = ct.fromDom(e.getBody());
|
|
48625
|
-
JW(r, "mce-content-readonly", o), o ? (e.selection.controlSelection.hideResizeRect(), e._selectionOverrides.hideFakeCaret(), F5(e), e.readonly = !0, rO(r, !1), NJ(r)) : (e.readonly = !1, rO(r, !0), RJ(r),
|
|
48625
|
+
JW(r, "mce-content-readonly", o), o ? (e.selection.controlSelection.hideResizeRect(), e._selectionOverrides.hideFakeCaret(), F5(e), e.readonly = !0, rO(r, !1), NJ(r)) : (e.readonly = !1, rO(r, !0), RJ(r), Z3(e, "StyleWithCSS", !1), Z3(e, "enableInlineTableEditing", !1), Z3(e, "enableObjectResizing", !1), H_(e) && e.focus(), B5(e), e.nodeChanged());
|
|
48626
48626
|
}, R1 = (e) => e.readonly, L5 = (e) => {
|
|
48627
48627
|
e.parser.addAttributeFilter("contenteditable", (o) => {
|
|
48628
48628
|
R1(e) && He(o, (r) => {
|
|
@@ -48655,13 +48655,13 @@ Input object: ` + gT(e.input), vT = (e, o) => wB(e, Wt(o, KM)), Fj = le(Nj), bT
|
|
|
48655
48655
|
}), e.on("ObjectSelected", (o) => {
|
|
48656
48656
|
R1(e) && o.preventDefault();
|
|
48657
48657
|
});
|
|
48658
|
-
},
|
|
48658
|
+
}, G3 = gn.makeMap("focus blur focusin focusout click dblclick mousedown mouseup mousemove mouseover beforepaste paste cut copy selectionchange mouseout mouseenter mouseleave wheel keydown keypress keyup input beforeinput contextmenu dragstart dragend dragover draggesture dragdrop drop drag submit compositionstart compositionend compositionupdate touchstart touchmove touchend touchcancel", " ");
|
|
48659
48659
|
class oC {
|
|
48660
48660
|
constructor(o) {
|
|
48661
48661
|
this.bindings = {}, this.settings = o || {}, this.scope = this.settings.scope || this, this.toggleEvent = this.settings.toggleEvent || $e;
|
|
48662
48662
|
}
|
|
48663
48663
|
static isNative(o) {
|
|
48664
|
-
return !!
|
|
48664
|
+
return !!G3[o.toLowerCase()];
|
|
48665
48665
|
}
|
|
48666
48666
|
fire(o, r) {
|
|
48667
48667
|
return this.dispatch(o, r);
|
|
@@ -48865,11 +48865,11 @@ Input object: ` + gT(e.input), vT = (e, o) => wB(e, Wt(o, KM)), Fj = le(Nj), bT
|
|
|
48865
48865
|
return xe;
|
|
48866
48866
|
}
|
|
48867
48867
|
})();
|
|
48868
|
-
return (r) =>
|
|
48868
|
+
return (r) => q3(r, o, `The value must be a ${e}.`);
|
|
48869
48869
|
}, iO = (e) => N(e.processor), j5 = (e, o) => {
|
|
48870
48870
|
const r = kr(o.message) ? "" : `. ${o.message}`;
|
|
48871
48871
|
return e + r;
|
|
48872
|
-
}, K5 = (e) => e.valid,
|
|
48872
|
+
}, K5 = (e) => e.valid, q3 = (e, o, r = "") => {
|
|
48873
48873
|
const l = o(e);
|
|
48874
48874
|
return Q(l) ? l ? {
|
|
48875
48875
|
value: e,
|
|
@@ -48880,14 +48880,14 @@ Input object: ` + gT(e.input), vT = (e, o) => wB(e, Wt(o, KM)), Fj = le(Nj), bT
|
|
|
48880
48880
|
} : l;
|
|
48881
48881
|
}, U5 = (e, o, r) => {
|
|
48882
48882
|
if (!ae(o)) {
|
|
48883
|
-
const l =
|
|
48883
|
+
const l = q3(o, r);
|
|
48884
48884
|
if (K5(l))
|
|
48885
48885
|
return l.value;
|
|
48886
48886
|
console.error(j5(`Invalid default value passed for the "${e}" option`, l));
|
|
48887
48887
|
}
|
|
48888
48888
|
}, aZ = (e, o) => {
|
|
48889
48889
|
const r = {}, l = {}, d = (Te, Ee, Ge) => {
|
|
48890
|
-
const Ye =
|
|
48890
|
+
const Ye = q3(Ee, Ge);
|
|
48891
48891
|
return K5(Ye) ? (l[Te] = Ye.value, !0) : (console.warn(j5(`Invalid value passed for the ${Te} option`, Ye)), !1);
|
|
48892
48892
|
}, h = (Te, Ee) => {
|
|
48893
48893
|
const Ge = iO(Ee) ? rZ(Ee.processor) : Ee.processor, Ye = U5(Te, Ee.default, Ge);
|
|
@@ -48932,7 +48932,7 @@ Input object: ` + gT(e.input), vT = (e, o) => wB(e, Wt(o, KM)), Fj = le(Nj), bT
|
|
|
48932
48932
|
throw new Error(`Editor mode '${l}' is invalid`);
|
|
48933
48933
|
e.initialized ? W5(e, r, o, l) : e.on("init", () => W5(e, r, o, l));
|
|
48934
48934
|
}
|
|
48935
|
-
},
|
|
48935
|
+
}, Y3 = (e, o, r) => {
|
|
48936
48936
|
if (Xe(sZ, o))
|
|
48937
48937
|
throw new Error(`Cannot override default mode ${o}`);
|
|
48938
48938
|
return {
|
|
@@ -48966,10 +48966,10 @@ Input object: ` + gT(e.input), vT = (e, o) => wB(e, Wt(o, KM)), Fj = le(Nj), bT
|
|
|
48966
48966
|
set: (l) => iZ(e, r.get(), o, l),
|
|
48967
48967
|
get: () => o.get(),
|
|
48968
48968
|
register: (l, d) => {
|
|
48969
|
-
r.set(
|
|
48969
|
+
r.set(Y3(r.get(), l, d));
|
|
48970
48970
|
}
|
|
48971
48971
|
};
|
|
48972
|
-
},
|
|
48972
|
+
}, X3 = gn.each, Ci = gn.explode, cZ = {
|
|
48973
48973
|
f1: 112,
|
|
48974
48974
|
f2: 113,
|
|
48975
48975
|
f3: 114,
|
|
@@ -48984,7 +48984,7 @@ Input object: ` + gT(e.input), vT = (e, o) => wB(e, Wt(o, KM)), Fj = le(Nj), bT
|
|
|
48984
48984
|
f12: 123
|
|
48985
48985
|
}, Z5 = gn.makeMap("alt,ctrl,shift,meta,access"), G5 = (e) => e in Z5, q5 = (e) => {
|
|
48986
48986
|
const o = {}, r = Dr.os.isMacOS() || Dr.os.isiOS();
|
|
48987
|
-
|
|
48987
|
+
X3(Ci(e.toLowerCase(), "+"), (h) => {
|
|
48988
48988
|
G5(h) ? o[h] = !0 : /^[0-9]{2,}$/.test(h) ? o.keyCode = parseInt(h, 10) : (o.charCode = h.charCodeAt(0), o.keyCode = cZ[h] || h.toUpperCase().charCodeAt(0));
|
|
48989
48989
|
});
|
|
48990
48990
|
const l = [o.keyCode];
|
|
@@ -48998,14 +48998,14 @@ Input object: ` + gT(e.input), vT = (e, o) => wB(e, Wt(o, KM)), Fj = le(Nj), bT
|
|
|
48998
48998
|
this.shortcuts = {}, this.pendingPatterns = [], this.editor = o;
|
|
48999
48999
|
const r = this;
|
|
49000
49000
|
o.on("keyup keypress keydown", (l) => {
|
|
49001
|
-
(r.hasModifier(l) || r.isFunctionKey(l)) && !l.isDefaultPrevented() && (
|
|
49001
|
+
(r.hasModifier(l) || r.isFunctionKey(l)) && !l.isDefaultPrevented() && (X3(r.shortcuts, (d) => {
|
|
49002
49002
|
r.matchShortcut(l, d) && (r.pendingPatterns = d.subpatterns.slice(0), l.type === "keydown" && r.executeShortcutAction(d));
|
|
49003
49003
|
}), r.matchShortcut(l, r.pendingPatterns[0]) && (r.pendingPatterns.length === 1 && l.type === "keydown" && r.executeShortcutAction(r.pendingPatterns[0]), r.pendingPatterns.shift()));
|
|
49004
49004
|
});
|
|
49005
49005
|
}
|
|
49006
49006
|
add(o, r, l, d) {
|
|
49007
49007
|
const h = this, w = h.normalizeCommandFunc(l);
|
|
49008
|
-
return
|
|
49008
|
+
return X3(Ci(gn.trim(o)), (T) => {
|
|
49009
49009
|
const F = h.createShortcut(T, r, w, d);
|
|
49010
49010
|
h.shortcuts[F.id] = F;
|
|
49011
49011
|
}), !0;
|
|
@@ -51354,7 +51354,7 @@ Complete spec:
|
|
|
51354
51354
|
return I(S);
|
|
51355
51355
|
})
|
|
51356
51356
|
};
|
|
51357
|
-
}, uP = (n) => n.list,
|
|
51357
|
+
}, uP = (n) => n.list, XN = (n) => n.data, zu = (n, s) => {
|
|
51358
51358
|
const u = {};
|
|
51359
51359
|
return Pt(n, (m, v) => {
|
|
51360
51360
|
Pt(m, (S, O) => {
|
|
@@ -51643,7 +51643,7 @@ The behaviours that can trigger it are: ` + JSON.stringify(xe(s, (u) => u.name),
|
|
|
51643
51643
|
const m = { "alloy.base.behaviour": s2(n) };
|
|
51644
51644
|
return vi(u, n.eventOrder, s, m).getOrDie();
|
|
51645
51645
|
}, Tp = (n, s) => {
|
|
51646
|
-
const u = () => Xn, m = Pe(t2), v = Fu(gP(n)), S = v2(n), O = uP(S), z =
|
|
51646
|
+
const u = () => Xn, m = Pe(t2), v = Fu(gP(n)), S = v2(n), O = uP(S), z = XN(S), Y = db(v, O, z), re = h2(Y, s), me = wP(v, O, z), ve = Pe(v.components), Ae = (rn) => {
|
|
51647
51647
|
m.set(rn);
|
|
51648
51648
|
}, Re = () => {
|
|
51649
51649
|
m.set(Kg(u));
|
|
@@ -62173,7 +62173,7 @@ The conflicting element is` + (us(ve.element) ? " " : " not ") + "already in the
|
|
|
62173
62173
|
}, sK = (n, s, u) => u.isExpanded(), JM = (n, s, u) => u.isCollapsed(), PT = (n, s, u) => {
|
|
62174
62174
|
const m = O1(n, s);
|
|
62175
62175
|
return ll(m, s.growingClass) === !0;
|
|
62176
|
-
},
|
|
62176
|
+
}, e3 = (n, s, u) => {
|
|
62177
62177
|
const m = O1(n, s);
|
|
62178
62178
|
return ll(m, s.shrinkingClass) === !0;
|
|
62179
62179
|
};
|
|
@@ -62186,8 +62186,8 @@ The conflicting element is` + (us(ve.element) ? " " : " not ") + "already in the
|
|
|
62186
62186
|
hasGrown: sK,
|
|
62187
62187
|
hasShrunk: JM,
|
|
62188
62188
|
isGrowing: PT,
|
|
62189
|
-
isShrinking:
|
|
62190
|
-
isTransitioning: (n, s, u) => PT(n, s) ||
|
|
62189
|
+
isShrinking: e3,
|
|
62190
|
+
isTransitioning: (n, s, u) => PT(n, s) || e3(n, s),
|
|
62191
62191
|
toggleGrow: (n, s, u) => {
|
|
62192
62192
|
(u.isExpanded() ? GB : sS)(n, s, u);
|
|
62193
62193
|
},
|
|
@@ -62250,18 +62250,18 @@ The conflicting element is` + (us(ve.element) ? " " : " not ") + "already in the
|
|
|
62250
62250
|
active: lK,
|
|
62251
62251
|
apis: iK,
|
|
62252
62252
|
state: xJ
|
|
62253
|
-
}),
|
|
62253
|
+
}), t3 = "container", uK = [yi("slotBehaviours", [])], n3 = (n) => "<alloy.field." + n + ">", dK = (n) => {
|
|
62254
62254
|
const s = (() => {
|
|
62255
62255
|
const S = [];
|
|
62256
62256
|
return {
|
|
62257
|
-
slot: (z, Y) => (S.push(z), hh(
|
|
62257
|
+
slot: (z, Y) => (S.push(z), hh(t3, n3(z), Y)),
|
|
62258
62258
|
record: I(S)
|
|
62259
62259
|
};
|
|
62260
62260
|
})(), u = n(s), m = s.record(), v = xe(m, (S) => Ol({
|
|
62261
62261
|
name: S,
|
|
62262
|
-
pname:
|
|
62262
|
+
pname: n3(S)
|
|
62263
62263
|
}));
|
|
62264
|
-
return wd(
|
|
62264
|
+
return wd(t3, uK, v, fK, u);
|
|
62265
62265
|
}, fK = (n, s) => {
|
|
62266
62266
|
const u = (dt) => ph(n), m = (dt, Bt) => qa(dt, n, Bt), v = (dt, Bt) => (Et, zt) => qa(Et, n, zt).map((Xn) => dt(Xn, zt)).getOr(Bt), S = (dt) => (Bt, Et) => {
|
|
62267
62267
|
te(Et, (zt) => dt(Bt, zt));
|
|
@@ -62382,7 +62382,7 @@ The conflicting element is` + (us(ve.element) ? " " : " not ") + "already in the
|
|
|
62382
62382
|
im.hasGrown(m) ? lm.isShowing(S, s) ? im.shrink(m) : (lm.hideAllSlots(S), lm.showSlot(S, s)) : (lm.hideAllSlots(S), lm.showSlot(S, s), im.grow(m));
|
|
62383
62383
|
});
|
|
62384
62384
|
});
|
|
62385
|
-
}, QB = (n) => Zr.getCurrent(n).bind((u) => im.isGrowing(u) || im.hasGrown(u) ? Zr.getCurrent(u).bind((S) => Ue(lm.getSlotNames(S), (O) => lm.isShowing(S, O))) : A.none()),
|
|
62385
|
+
}, QB = (n) => Zr.getCurrent(n).bind((u) => im.isGrowing(u) || im.hasGrown(u) ? Zr.getCurrent(u).bind((S) => Ue(lm.getSlotNames(S), (O) => lm.isShowing(S, O))) : A.none()), o3 = xo("FixSizeEvent"), r3 = xo("AutoSizeEvent"), Ad = (n) => ({
|
|
62386
62386
|
uid: n.uid,
|
|
62387
62387
|
dom: {
|
|
62388
62388
|
tag: "div",
|
|
@@ -62405,16 +62405,16 @@ The conflicting element is` + (us(ve.element) ? " " : " not ") + "already in the
|
|
|
62405
62405
|
shrinkingClass: "tox-sidebar--sliding-shrinking",
|
|
62406
62406
|
growingClass: "tox-sidebar--sliding-growing",
|
|
62407
62407
|
onShrunk: (s) => {
|
|
62408
|
-
Zr.getCurrent(s).each(lm.hideAllSlots), ya(s,
|
|
62408
|
+
Zr.getCurrent(s).each(lm.hideAllSlots), ya(s, r3);
|
|
62409
62409
|
},
|
|
62410
62410
|
onGrown: (s) => {
|
|
62411
|
-
ya(s,
|
|
62411
|
+
ya(s, r3);
|
|
62412
62412
|
},
|
|
62413
62413
|
onStartGrow: (s) => {
|
|
62414
|
-
Yo(s,
|
|
62414
|
+
Yo(s, o3, { width: _a(s.element, "width").getOr("") });
|
|
62415
62415
|
},
|
|
62416
62416
|
onStartShrink: (s) => {
|
|
62417
|
-
Yo(s,
|
|
62417
|
+
Yo(s, o3, { width: Za(s.element) + "px" });
|
|
62418
62418
|
}
|
|
62419
62419
|
}),
|
|
62420
62420
|
Pr.config({}),
|
|
@@ -62429,10 +62429,10 @@ The conflicting element is` + (us(ve.element) ? " " : " not ") + "already in the
|
|
|
62429
62429
|
behaviours: zn([
|
|
62430
62430
|
Pd.childAt(0),
|
|
62431
62431
|
zr("sidebar-sliding-events", [
|
|
62432
|
-
fn(
|
|
62432
|
+
fn(o3, (s, u) => {
|
|
62433
62433
|
go(s.element, "width", u.event.width);
|
|
62434
62434
|
}),
|
|
62435
|
-
fn(
|
|
62435
|
+
fn(r3, (s, u) => {
|
|
62436
62436
|
pr(s.element, "width");
|
|
62437
62437
|
})
|
|
62438
62438
|
])
|
|
@@ -62557,7 +62557,7 @@ The conflicting element is` + (us(ve.element) ? " " : " not ") + "already in the
|
|
|
62557
62557
|
})), {
|
|
62558
62558
|
len: 0,
|
|
62559
62559
|
list: []
|
|
62560
|
-
}).list,
|
|
62560
|
+
}).list, a3 = (n, s, u) => ({
|
|
62561
62561
|
within: n,
|
|
62562
62562
|
extra: s,
|
|
62563
62563
|
withinWidth: u
|
|
@@ -62578,11 +62578,11 @@ The conflicting element is` + (us(ve.element) ? " " : " not ") + "already in the
|
|
|
62578
62578
|
};
|
|
62579
62579
|
}, iS = (n) => xe(n, (s) => s.element), o6 = (n, s, u) => {
|
|
62580
62580
|
const m = iS(n.concat(s));
|
|
62581
|
-
return
|
|
62581
|
+
return a3(m, [], u);
|
|
62582
62582
|
}, r6 = (n, s, u, m) => {
|
|
62583
62583
|
const v = iS(n).concat([u]);
|
|
62584
|
-
return
|
|
62585
|
-
}, TK = (n, s, u) =>
|
|
62584
|
+
return a3(v, iS(s), m);
|
|
62585
|
+
}, TK = (n, s, u) => a3(iS(n), [], u), a6 = (n, s, u) => {
|
|
62586
62586
|
const m = n6(s, n, u);
|
|
62587
62587
|
return m.extra.length === 0 ? A.some(m) : A.none();
|
|
62588
62588
|
}, OK = (n, s, u, m) => {
|
|
@@ -62621,7 +62621,7 @@ The conflicting element is` + (us(ve.element) ? " " : " not ") + "already in the
|
|
|
62621
62621
|
}),
|
|
62622
62622
|
Wu({ name: "overflow-button" }),
|
|
62623
62623
|
Wu({ name: "overflow-group" })
|
|
62624
|
-
]),
|
|
62624
|
+
]), s3 = I((n, s) => {
|
|
62625
62625
|
ea(n, Math.floor(s));
|
|
62626
62626
|
}), DK = I([
|
|
62627
62627
|
Yg(["toggledClass"]),
|
|
@@ -62656,18 +62656,18 @@ The conflicting element is` + (us(ve.element) ? " " : " not ") + "already in the
|
|
|
62656
62656
|
]), c6 = (n, s) => {
|
|
62657
62657
|
const u = Ws.getCoupled(n, "toolbarSandbox");
|
|
62658
62658
|
Hr.isOpen(u) ? Hr.close(u) : Hr.open(u, s.toolbar());
|
|
62659
|
-
},
|
|
62659
|
+
}, i3 = (n, s, u, m) => {
|
|
62660
62660
|
const v = u.getBounds.map((O) => O()), S = u.lazySink(n).getOrDie();
|
|
62661
62661
|
Yl.positionWithinBounds(S, s, {
|
|
62662
62662
|
anchor: {
|
|
62663
62663
|
type: "hotspot",
|
|
62664
62664
|
hotspot: n,
|
|
62665
62665
|
layouts: m,
|
|
62666
|
-
overrides: { maxWidthFunction:
|
|
62666
|
+
overrides: { maxWidthFunction: s3() }
|
|
62667
62667
|
}
|
|
62668
62668
|
}, v);
|
|
62669
62669
|
}, u6 = (n, s, u, m, v) => {
|
|
62670
|
-
sm.setGroups(s, v),
|
|
62670
|
+
sm.setGroups(s, v), i3(n, s, u, m), ta.on(n);
|
|
62671
62671
|
}, d6 = (n, s, u) => {
|
|
62672
62672
|
const m = GC(), v = (O, z) => {
|
|
62673
62673
|
u.fetch().get((Y) => {
|
|
@@ -62701,7 +62701,7 @@ The conflicting element is` + (us(ve.element) ? " " : " not ") + "already in the
|
|
|
62701
62701
|
...Uu({
|
|
62702
62702
|
doReposition: () => {
|
|
62703
62703
|
Hr.getState(Ws.getCoupled(n, "toolbarSandbox")).each((O) => {
|
|
62704
|
-
|
|
62704
|
+
i3(n, O, u, s.layouts);
|
|
62705
62705
|
});
|
|
62706
62706
|
}
|
|
62707
62707
|
})
|
|
@@ -62731,7 +62731,7 @@ The conflicting element is` + (us(ve.element) ? " " : " not ") + "already in the
|
|
|
62731
62731
|
},
|
|
62732
62732
|
reposition: (v) => {
|
|
62733
62733
|
Hr.getState(Ws.getCoupled(v, "toolbarSandbox")).each((S) => {
|
|
62734
|
-
|
|
62734
|
+
i3(v, S, n, u.layouts);
|
|
62735
62735
|
});
|
|
62736
62736
|
},
|
|
62737
62737
|
toggle: (v) => {
|
|
@@ -62878,7 +62878,7 @@ The conflicting element is` + (us(ve.element) ? " " : " not ") + "already in the
|
|
|
62878
62878
|
]),
|
|
62879
62879
|
Gr("onOpened"),
|
|
62880
62880
|
Gr("onClosed")
|
|
62881
|
-
].concat(l6())),
|
|
62881
|
+
].concat(l6())), c3 = I([
|
|
62882
62882
|
Ol({
|
|
62883
62883
|
factory: sm,
|
|
62884
62884
|
schema: E1(),
|
|
@@ -62979,7 +62979,7 @@ The conflicting element is` + (us(ve.element) ? " " : " not ") + "already in the
|
|
|
62979
62979
|
}, $T = Ql({
|
|
62980
62980
|
name: "SplitSlidingToolbar",
|
|
62981
62981
|
configFields: $K(),
|
|
62982
|
-
partFields:
|
|
62982
|
+
partFields: c3(),
|
|
62983
62983
|
factory: FK,
|
|
62984
62984
|
apis: {
|
|
62985
62985
|
setGroups: (n, s, u) => {
|
|
@@ -63180,7 +63180,7 @@ The conflicting element is` + (us(ve.element) ? " " : " not ") + "already in the
|
|
|
63180
63180
|
factory: YM,
|
|
63181
63181
|
name: "menubar",
|
|
63182
63182
|
schema: [pn("backstage")]
|
|
63183
|
-
}),
|
|
63183
|
+
}), u3 = (n) => n.type === Ed.sliding ? w6 : n.type === Ed.floating ? BK : IT, d3 = k1.optional({
|
|
63184
63184
|
factory: {
|
|
63185
63185
|
sketch: (n) => TB.sketch({
|
|
63186
63186
|
uid: n.uid,
|
|
@@ -63211,7 +63211,7 @@ The conflicting element is` + (us(ve.element) ? " " : " not ") + "already in the
|
|
|
63211
63211
|
}), HK = k1.optional({
|
|
63212
63212
|
factory: {
|
|
63213
63213
|
sketch: (n) => {
|
|
63214
|
-
const s =
|
|
63214
|
+
const s = u3(n), u = {
|
|
63215
63215
|
type: n.type,
|
|
63216
63216
|
uid: n.uid,
|
|
63217
63217
|
onEscape: () => (n.onEscape(), A.some(!0)),
|
|
@@ -63266,7 +63266,7 @@ The conflicting element is` + (us(ve.element) ? " " : " not ") + "already in the
|
|
|
63266
63266
|
zK,
|
|
63267
63267
|
VK,
|
|
63268
63268
|
HK,
|
|
63269
|
-
|
|
63269
|
+
d3,
|
|
63270
63270
|
KK,
|
|
63271
63271
|
UK,
|
|
63272
63272
|
jK,
|
|
@@ -63306,7 +63306,7 @@ The conflicting element is` + (us(ve.element) ? " " : " not ") + "already in the
|
|
|
63306
63306
|
}
|
|
63307
63307
|
}
|
|
63308
63308
|
});
|
|
63309
|
-
const ZK = "file edit view insert format tools table help",
|
|
63309
|
+
const ZK = "file edit view insert format tools table help", f3 = {
|
|
63310
63310
|
file: {
|
|
63311
63311
|
title: "File",
|
|
63312
63312
|
items: "newdocument restoredraft | preview | export print | deleteallconversations"
|
|
@@ -63348,12 +63348,12 @@ The conflicting element is` + (us(ve.element) ? " " : " not ") + "already in the
|
|
|
63348
63348
|
return S.trim().length === 0 ? [] : fe(m, (O) => O === S) ? [] : S === "separator" || S === "|" ? [{ type: "separator" }] : s.menuItems[S] ? [s.menuItems[S]] : [];
|
|
63349
63349
|
})
|
|
63350
63350
|
};
|
|
63351
|
-
}, cS = (n) => n.split(" "),
|
|
63351
|
+
}, cS = (n) => n.split(" "), m3 = (n, s) => {
|
|
63352
63352
|
const u = {
|
|
63353
|
-
...
|
|
63353
|
+
...f3,
|
|
63354
63354
|
...s.menus
|
|
63355
63355
|
}, m = on(s.menus).length > 0, v = s.menubar === void 0 || s.menubar === !0 ? cS(ZK) : cS(s.menubar === !1 ? "" : s.menubar), S = gt(v, (z) => {
|
|
63356
|
-
const Y = On(
|
|
63356
|
+
const Y = On(f3, z);
|
|
63357
63357
|
return m ? Y || Wt(s.menus, z).exists((re) => On(re, "items")) : Y;
|
|
63358
63358
|
}), O = xe(S, (z) => {
|
|
63359
63359
|
const Y = u[z];
|
|
@@ -63521,7 +63521,7 @@ The conflicting element is` + (us(ve.element) ? " " : " not ") + "already in the
|
|
|
63521
63521
|
format: "alignjustify",
|
|
63522
63522
|
command: "JustifyFull"
|
|
63523
63523
|
}
|
|
63524
|
-
],
|
|
63524
|
+
], g3 = (n) => {
|
|
63525
63525
|
const s = () => Ue(VT, (z) => n.formatter.match(z.format)), u = (z) => () => n.formatter.match(z), m = (z) => A.none, v = (z) => {
|
|
63526
63526
|
const re = s().fold(I("left"), (me) => me.title.toLowerCase());
|
|
63527
63527
|
Yo(z, mF, { icon: `align-${re}` });
|
|
@@ -63539,8 +63539,8 @@ The conflicting element is` + (us(ve.element) ? " " : " not ") + "already in the
|
|
|
63539
63539
|
shouldHide: !1,
|
|
63540
63540
|
isInvalid: (z) => !n.formatter.canApply(z.format)
|
|
63541
63541
|
};
|
|
63542
|
-
}, tU = (n, s) => dS(n, s,
|
|
63543
|
-
const u = J0(n, s,
|
|
63542
|
+
}, tU = (n, s) => dS(n, s, g3(n)), O6 = (n, s) => {
|
|
63543
|
+
const u = J0(n, s, g3(n));
|
|
63544
63544
|
n.ui.registry.addNestedMenuItem("align", {
|
|
63545
63545
|
text: s.shared.providers.translate("Align"),
|
|
63546
63546
|
getSubmenuItems: () => u.items.validateItems(u.getStyleItems())
|
|
@@ -63587,18 +63587,18 @@ The conflicting element is` + (us(ve.element) ? " " : " not ") + "already in the
|
|
|
63587
63587
|
"Roboto",
|
|
63588
63588
|
"Helvetica Neue",
|
|
63589
63589
|
"sans-serif"
|
|
63590
|
-
],
|
|
63590
|
+
], h3 = (n) => {
|
|
63591
63591
|
const s = n.split(/\s*,\s*/);
|
|
63592
63592
|
return xe(s, (u) => u.replace(/^['"]+|['"]+$/g, ""));
|
|
63593
63593
|
}, rU = (n) => {
|
|
63594
63594
|
const s = () => {
|
|
63595
|
-
const u =
|
|
63595
|
+
const u = h3(n.toLowerCase());
|
|
63596
63596
|
return xt(oU, (m) => u.indexOf(m.toLowerCase()) > -1);
|
|
63597
63597
|
};
|
|
63598
63598
|
return n.indexOf("-apple-system") === 0 && s();
|
|
63599
63599
|
}, D6 = (n) => {
|
|
63600
63600
|
const s = "System Font", u = () => {
|
|
63601
|
-
const re = (qe) => qe ?
|
|
63601
|
+
const re = (qe) => qe ? h3(qe)[0] : "", me = n.queryCommandValue("FontName"), ve = Y.data, Ae = me ? me.toLowerCase() : "";
|
|
63602
63602
|
return {
|
|
63603
63603
|
matchOpt: Ue(ve, (qe) => {
|
|
63604
63604
|
const dt = qe.format;
|
|
@@ -63976,7 +63976,7 @@ The conflicting element is` + (us(ve.element) ? " " : " not ") + "already in the
|
|
|
63976
63976
|
}), L6 = (n, s) => n.map((u) => ({
|
|
63977
63977
|
"aria-label": s.translate(u),
|
|
63978
63978
|
title: s.translate(u)
|
|
63979
|
-
})).getOr({}), zT = xo("focus-button"),
|
|
63979
|
+
})).getOr({}), zT = xo("focus-button"), p3 = (n, s, u, m, v, S) => ({
|
|
63980
63980
|
dom: {
|
|
63981
63981
|
tag: "button",
|
|
63982
63982
|
classes: ["tox-tbtn"].concat(s.isSome() ? ["tox-tbtn--select"] : []),
|
|
@@ -64019,7 +64019,7 @@ The conflicting element is` + (us(ve.element) ? " " : " not ") + "already in the
|
|
|
64019
64019
|
}),
|
|
64020
64020
|
markers: { toggledClass: "tox-tbtn--enabled" },
|
|
64021
64021
|
parts: {
|
|
64022
|
-
button:
|
|
64022
|
+
button: p3(n.icon, n.text, n.tooltip, A.none(), A.none(), v.providers),
|
|
64023
64023
|
toolbar: {
|
|
64024
64024
|
dom: {
|
|
64025
64025
|
tag: "div",
|
|
@@ -64030,7 +64030,7 @@ The conflicting element is` + (us(ve.element) ? " " : " not ") + "already in the
|
|
|
64030
64030
|
}
|
|
64031
64031
|
});
|
|
64032
64032
|
}, V6 = (n, s, u) => {
|
|
64033
|
-
const m = Pe(N), v =
|
|
64033
|
+
const m = Pe(N), v = p3(n.icon, n.text, n.tooltip, A.none(), A.none(), u);
|
|
64034
64034
|
return Pc.sketch({
|
|
64035
64035
|
dom: v.dom,
|
|
64036
64036
|
components: v.components,
|
|
@@ -64126,7 +64126,7 @@ The conflicting element is` + (us(ve.element) ? " " : " not ") + "already in the
|
|
|
64126
64126
|
fetch: SU(m, n, s.providers),
|
|
64127
64127
|
parts: { menu: Sx(!1, n.columns, n.presets) },
|
|
64128
64128
|
components: [
|
|
64129
|
-
HT.parts.button(
|
|
64129
|
+
HT.parts.button(p3(n.icon, n.text, A.none(), A.some(u), A.some([ta.config({
|
|
64130
64130
|
toggleClass: "tox-tbtn--enabled",
|
|
64131
64131
|
toggleOnExecute: !1
|
|
64132
64132
|
})]), s.providers)),
|
|
@@ -64218,7 +64218,7 @@ The conflicting element is` + (us(ve.element) ? " " : " not ") + "already in the
|
|
|
64218
64218
|
fontfamily: aU,
|
|
64219
64219
|
blocks: nU,
|
|
64220
64220
|
align: tU
|
|
64221
|
-
},
|
|
64221
|
+
}, v3 = (n) => {
|
|
64222
64222
|
const s = xe(EU, (u) => {
|
|
64223
64223
|
const m = gt(u.items, (v) => On(n, v) || On(mS, v));
|
|
64224
64224
|
return {
|
|
@@ -64232,7 +64232,7 @@ The conflicting element is` + (us(ve.element) ? " " : " not ") + "already in the
|
|
|
64232
64232
|
return xe(s, (u) => ({ items: u.trim().split(" ") }));
|
|
64233
64233
|
}, PU = (n) => H(n, (s) => On(s, "name") && On(s, "items")), _U = (n) => {
|
|
64234
64234
|
const s = n.toolbar, u = n.buttons;
|
|
64235
|
-
return s === !1 ? [] : s === void 0 || s === !0 ?
|
|
64235
|
+
return s === !1 ? [] : s === void 0 || s === !0 ? v3(u) : y(s) ? OU(s) : PU(s) ? s : (console.error("Toolbar type should be string, string[], boolean or ToolbarGroup[]"), []);
|
|
64236
64236
|
}, AU = (n, s, u, m, v, S) => Wt(s, u.toLowerCase()).orThunk(() => S.bind((O) => Lt(O, (z) => Wt(s, z + u.toLowerCase())))).fold(() => Wt(mS, u.toLowerCase()).map((O) => O(n, v)), (O) => O.type === "grouptoolbarbutton" && !m ? (console.warn(`Ignoring the '${u}' toolbar button. Group toolbar buttons are only supported when using floating toolbar mode and cannot be nested.`), A.none()) : jT(O, v, n)), KT = (n, s, u, m) => {
|
|
64237
64237
|
const v = _U(s), S = xe(v, (O) => {
|
|
64238
64238
|
const z = Ot(O.items, (Y) => Y.trim().length === 0 ? [] : AU(n, s.buttons, Y, s.allowToolbarGroups, u, m).toArray());
|
|
@@ -64285,7 +64285,7 @@ The conflicting element is` + (us(ve.element) ? " " : " not ") + "already in the
|
|
|
64285
64285
|
YK(n);
|
|
64286
64286
|
const z = Cn.fromDom(v.targetNode), Y = Va(Cr(z));
|
|
64287
64287
|
dk(z, s.mothership), Ku(Y, s.uiMothership), n.on("PostRender", () => {
|
|
64288
|
-
Zs.setSidebar(O, u.sidebar, k4(n)), K6(n, s, u, m), S.set(n.getWin().innerWidth), Zs.setMenubar(O,
|
|
64288
|
+
Zs.setSidebar(O, u.sidebar, k4(n)), K6(n, s, u, m), S.set(n.getWin().innerWidth), Zs.setMenubar(O, m3(n, u)), W6(n, s);
|
|
64289
64289
|
});
|
|
64290
64290
|
const re = Zs.getSocket(O).getOrDie("Could not find expected socket element");
|
|
64291
64291
|
if (U6) {
|
|
@@ -64324,19 +64324,19 @@ The conflicting element is` + (us(ve.element) ? " " : " not ") + "already in the
|
|
|
64324
64324
|
};
|
|
64325
64325
|
}
|
|
64326
64326
|
});
|
|
64327
|
-
const
|
|
64327
|
+
const b3 = (n) => /^[0-9\.]+(|px)$/i.test("" + n) ? A.some(parseInt("" + n, 10)) : A.none(), UT = (n) => B(n) ? n + "px" : n, WT = (n, s, u) => {
|
|
64328
64328
|
const m = s.filter((S) => n < S), v = u.filter((S) => n > S);
|
|
64329
64329
|
return m.or(v).getOr(n);
|
|
64330
64330
|
}, MU = (n) => {
|
|
64331
64331
|
const s = yA(n), u = Th(n), m = wA(n);
|
|
64332
|
-
return
|
|
64332
|
+
return b3(s).map((v) => WT(v, u, m));
|
|
64333
64333
|
}, NU = (n) => MU(n).getOr(yA(n)), G6 = (n) => {
|
|
64334
64334
|
const s = CA(n), u = Cx(n), m = iE(n);
|
|
64335
|
-
return
|
|
64336
|
-
}, RU = (n) => G6(n).getOr(CA(n)), { ToolbarLocation:
|
|
64335
|
+
return b3(s).map((v) => WT(v, u, m));
|
|
64336
|
+
}, RU = (n) => G6(n).getOr(CA(n)), { ToolbarLocation: y3, ToolbarMode: q6 } = X7, Y6 = (n, s, u, m, v) => {
|
|
64337
64337
|
const { uiMothership: S, outerContainer: O } = u, z = vx.DOM, Y = xx(n), re = s1(n), me = iE(n).or(G6(n)), ve = m.shared.header, Ae = ve.isPositionedAtTop, Re = a1(n), qe = Re === q6.sliding || Re === q6.floating, dt = Pe(!1), Bt = () => dt.get() && !n.removed, Et = (aa) => qe ? aa.fold(I(0), (jo) => jo.components().length > 1 ? Zt(jo.components()[1].element) : 0) : 0, zt = (aa) => {
|
|
64338
64338
|
switch (kA(n)) {
|
|
64339
|
-
case
|
|
64339
|
+
case y3.auto:
|
|
64340
64340
|
const jo = Zs.getToolbar(O), sa = Et(jo), ma = Zt(aa.element) - sa, ia = Nr(s);
|
|
64341
64341
|
if (ia.y > ma)
|
|
64342
64342
|
return "top";
|
|
@@ -64344,9 +64344,9 @@ The conflicting element is` + (us(ve.element) ? " " : " not ") + "already in the
|
|
|
64344
64344
|
const wo = zs(s), hr = Math.max(wo.dom.scrollHeight, Zt(wo));
|
|
64345
64345
|
return ia.bottom < hr - ma || Ri().bottom < ia.bottom - ma ? "bottom" : "top";
|
|
64346
64346
|
}
|
|
64347
|
-
case
|
|
64347
|
+
case y3.bottom:
|
|
64348
64348
|
return "bottom";
|
|
64349
|
-
case
|
|
64349
|
+
case y3.top:
|
|
64350
64350
|
default:
|
|
64351
64351
|
return "top";
|
|
64352
64352
|
}
|
|
@@ -64359,7 +64359,7 @@ The conflicting element is` + (us(ve.element) ? " " : " not ") + "already in the
|
|
|
64359
64359
|
}, rn = () => {
|
|
64360
64360
|
v.on((aa) => {
|
|
64361
64361
|
const jo = me.getOrThunk(() => {
|
|
64362
|
-
const sa =
|
|
64362
|
+
const sa = b3(gn(vs(), "margin-left")).getOr(0);
|
|
64363
64363
|
return Za(vs()) - Jr(s).left + sa;
|
|
64364
64364
|
});
|
|
64365
64365
|
go(aa.element, "max-width", jo + "px");
|
|
@@ -64439,7 +64439,7 @@ The conflicting element is` + (us(ve.element) ? " " : " not ") + "already in the
|
|
|
64439
64439
|
}
|
|
64440
64440
|
Y.set(Zs.getHeader(z).getOrDie());
|
|
64441
64441
|
const qe = OA(n);
|
|
64442
|
-
Ku(qe, S), Ku(qe, O), K6(n, s, u, m), Zs.setMenubar(z,
|
|
64442
|
+
Ku(qe, S), Ku(qe, O), K6(n, s, u, m), Zs.setMenubar(z, m3(n, u)), me.show(), $U(n, re, me, ve), n.nodeChanged();
|
|
64443
64443
|
};
|
|
64444
64444
|
n.on("show", Ae), n.on("hide", me.hide), ve || (n.on("focus", Ae), n.on("blur", me.hide)), n.on("init", () => {
|
|
64445
64445
|
(n.hasFocus() || ve) && Ae();
|
|
@@ -64458,11 +64458,11 @@ The conflicting element is` + (us(ve.element) ? " " : " not ") + "already in the
|
|
|
64458
64458
|
};
|
|
64459
64459
|
}
|
|
64460
64460
|
});
|
|
64461
|
-
const FU = "contexttoolbar-show", A1 = "contexttoolbar-hide",
|
|
64461
|
+
const FU = "contexttoolbar-show", A1 = "contexttoolbar-hide", C3 = (n) => ({
|
|
64462
64462
|
hide: () => ya(n, dy()),
|
|
64463
64463
|
getValue: () => Yn.getValue(n)
|
|
64464
64464
|
}), Q6 = (n, s) => fn(iM, (u, m) => {
|
|
64465
|
-
const v = n.get(u), S =
|
|
64465
|
+
const v = n.get(u), S = C3(v);
|
|
64466
64466
|
s.onAction(S, m.event.buttonApi);
|
|
64467
64467
|
}), BU = (n, s, u) => {
|
|
64468
64468
|
const { primary: m, ...v } = s.original, S = Fu(Y4({
|
|
@@ -64478,7 +64478,7 @@ The conflicting element is` + (us(ve.element) ? " " : " not ") + "already in the
|
|
|
64478
64478
|
onAction: N
|
|
64479
64479
|
}));
|
|
64480
64480
|
return j6(S, u, [Q6(n, s)]);
|
|
64481
|
-
},
|
|
64481
|
+
}, w3 = (n) => n.type === "contextformtogglebutton", e5 = (n, s, u) => w3(s) ? J6(n, s, u) : BU(n, s, u), t5 = (n, s, u) => {
|
|
64482
64482
|
const m = xe(s, (O) => as(e5(n, O, u)));
|
|
64483
64483
|
return {
|
|
64484
64484
|
asSpecs: () => xe(m, (O) => O.asSpec()),
|
|
@@ -64580,9 +64580,9 @@ The conflicting element is` + (us(ve.element) ? " " : " not ") + "already in the
|
|
|
64580
64580
|
bottom: ["tox-pop--bottom"],
|
|
64581
64581
|
top: ["tox-pop--top"],
|
|
64582
64582
|
inset: ["tox-pop--inset"]
|
|
64583
|
-
},
|
|
64583
|
+
}, x3 = {
|
|
64584
64584
|
maxHeightFunction: xb(),
|
|
64585
|
-
maxWidthFunction:
|
|
64585
|
+
maxWidthFunction: s3()
|
|
64586
64586
|
}, XT = (n, s) => {
|
|
64587
64587
|
const u = n.selection.getRng(), m = kt(Cn.fromDom(u.startContainer), u.startOffset);
|
|
64588
64588
|
return u.startContainer === u.endContainer && u.startOffset === u.endOffset - 1 && Ar(m.element, s);
|
|
@@ -64591,7 +64591,7 @@ The conflicting element is` + (us(ve.element) ? " " : " not ") + "already in the
|
|
|
64591
64591
|
go(n, "position", s);
|
|
64592
64592
|
const v = u(n);
|
|
64593
64593
|
return m.each((S) => go(n, "position", S)), v;
|
|
64594
|
-
},
|
|
64594
|
+
}, S3 = (n) => n === "node", k3 = (n, s, u, m, v) => {
|
|
64595
64595
|
const S = qT(n), O = m.lastElement().exists((z) => Ar(u, z));
|
|
64596
64596
|
if (XT(n, u))
|
|
64597
64597
|
return O ? qF : gg;
|
|
@@ -64603,7 +64603,7 @@ The conflicting element is` + (us(ve.element) ? " " : " not ") + "already in the
|
|
|
64603
64603
|
}
|
|
64604
64604
|
}, HU = (n, s, u, m) => {
|
|
64605
64605
|
const v = (Y) => (re, me, ve, Ae, Re) => {
|
|
64606
|
-
const qe =
|
|
64606
|
+
const qe = k3(n, Ae, Y, u, Re), dt = {
|
|
64607
64607
|
...re,
|
|
64608
64608
|
y: Re.y,
|
|
64609
64609
|
height: Re.height
|
|
@@ -64612,7 +64612,7 @@ The conflicting element is` + (us(ve.element) ? " " : " not ") + "already in the
|
|
|
64612
64612
|
...qe(dt, me, ve, Ae, Re),
|
|
64613
64613
|
alwaysFit: !0
|
|
64614
64614
|
};
|
|
64615
|
-
}, S = (Y) =>
|
|
64615
|
+
}, S = (Y) => S3(m) ? [v(Y)] : [];
|
|
64616
64616
|
return s ? {
|
|
64617
64617
|
onLtr: (Y) => [
|
|
64618
64618
|
Ji,
|
|
@@ -64654,12 +64654,12 @@ The conflicting element is` + (us(ve.element) ? " " : " not ") + "already in the
|
|
|
64654
64654
|
onLtr: () => [My],
|
|
64655
64655
|
onRtl: () => [Ny]
|
|
64656
64656
|
},
|
|
64657
|
-
overrides:
|
|
64657
|
+
overrides: x3
|
|
64658
64658
|
} : {
|
|
64659
64659
|
bubble: qm(0, YT, s5, 1 / YT),
|
|
64660
64660
|
layouts: HU(n, u, m, s),
|
|
64661
|
-
overrides:
|
|
64662
|
-
},
|
|
64661
|
+
overrides: x3
|
|
64662
|
+
}, E3 = (n, s) => {
|
|
64663
64663
|
const u = gt(s, (S) => S.predicate(n.dom)), { pass: m, fail: v } = Mt(u, (S) => S.type === "contexttoolbar");
|
|
64664
64664
|
return {
|
|
64665
64665
|
contextToolbars: m,
|
|
@@ -64690,14 +64690,14 @@ The conflicting element is` + (us(ve.element) ? " " : " not ") + "already in the
|
|
|
64690
64690
|
return s("selection").orThunk(() => s("node")).orThunk(() => s("line")).map((m) => m.position).fold(() => [], (m) => gt(n, (v) => v.position === m));
|
|
64691
64691
|
}
|
|
64692
64692
|
}, u5 = (n, s, u) => {
|
|
64693
|
-
const m =
|
|
64693
|
+
const m = E3(n, s);
|
|
64694
64694
|
if (m.contextForms.length > 0)
|
|
64695
64695
|
return A.some({
|
|
64696
64696
|
elem: n,
|
|
64697
64697
|
toolbars: [m.contextForms[0]]
|
|
64698
64698
|
});
|
|
64699
64699
|
{
|
|
64700
|
-
const v =
|
|
64700
|
+
const v = E3(n, u);
|
|
64701
64701
|
if (v.contextForms.length > 0)
|
|
64702
64702
|
return A.some({
|
|
64703
64703
|
elem: n,
|
|
@@ -64714,7 +64714,7 @@ The conflicting element is` + (us(ve.element) ? " " : " not ") + "already in the
|
|
|
64714
64714
|
}
|
|
64715
64715
|
}, jU = (n, s, u) => n(s) ? A.none() : Df(s, (m) => {
|
|
64716
64716
|
if (kr(m)) {
|
|
64717
|
-
const { contextToolbars: v, contextForms: S } =
|
|
64717
|
+
const { contextToolbars: v, contextForms: S } = E3(m, u.inNodeScope), O = S.length > 0 ? S : c5(v);
|
|
64718
64718
|
return O.length > 0 ? A.some({
|
|
64719
64719
|
elem: m,
|
|
64720
64720
|
toolbars: O
|
|
@@ -64751,7 +64751,7 @@ The conflicting element is` + (us(ve.element) ? " " : " not ") + "already in the
|
|
|
64751
64751
|
lookupTable: O,
|
|
64752
64752
|
formNavigators: S
|
|
64753
64753
|
};
|
|
64754
|
-
},
|
|
64754
|
+
}, T3 = xo("forward-slide"), O3 = xo("backward-slide"), P3 = xo("change-slide-event"), _3 = "tox-pop--resizing", d5 = (n) => {
|
|
64755
64755
|
const s = Pe([]);
|
|
64756
64756
|
return ai.sketch({
|
|
64757
64757
|
dom: {
|
|
@@ -64762,18 +64762,18 @@ The conflicting element is` + (us(ve.element) ? " " : " not ") + "already in the
|
|
|
64762
64762
|
onShow: (u) => {
|
|
64763
64763
|
s.set([]), ai.getContent(u).each((m) => {
|
|
64764
64764
|
pr(m.element, "visibility");
|
|
64765
|
-
}), ds(u.element,
|
|
64765
|
+
}), ds(u.element, _3), pr(u.element, "width");
|
|
64766
64766
|
},
|
|
64767
64767
|
inlineBehaviours: zn([
|
|
64768
64768
|
zr("context-toolbar-events", [
|
|
64769
64769
|
Sc(Xv(), (u, m) => {
|
|
64770
|
-
m.event.raw.propertyName === "width" && (ds(u.element,
|
|
64770
|
+
m.event.raw.propertyName === "width" && (ds(u.element, _3), pr(u.element, "width"));
|
|
64771
64771
|
}),
|
|
64772
|
-
fn(
|
|
64772
|
+
fn(P3, (u, m) => {
|
|
64773
64773
|
const v = u.element;
|
|
64774
64774
|
pr(v, "width");
|
|
64775
64775
|
const S = Za(v);
|
|
64776
|
-
ai.setContent(u, m.event.contents), Yi(v,
|
|
64776
|
+
ai.setContent(u, m.event.contents), Yi(v, _3);
|
|
64777
64777
|
const O = Za(v);
|
|
64778
64778
|
go(v, "width", S + "px"), ai.getContent(u).each((z) => {
|
|
64779
64779
|
m.event.focus.bind((Y) => (Uf(Y), vd(v))).orThunk(() => (zo.focusIn(z), Gl(Cr(v))));
|
|
@@ -64781,20 +64781,20 @@ The conflicting element is` + (us(ve.element) ? " " : " not ") + "already in the
|
|
|
64781
64781
|
go(u.element, "width", O + "px");
|
|
64782
64782
|
}, 0);
|
|
64783
64783
|
}),
|
|
64784
|
-
fn(
|
|
64784
|
+
fn(T3, (u, m) => {
|
|
64785
64785
|
ai.getContent(u).each((v) => {
|
|
64786
64786
|
s.set(s.get().concat([{
|
|
64787
64787
|
bar: v,
|
|
64788
64788
|
focus: Gl(Cr(u.element))
|
|
64789
64789
|
}]));
|
|
64790
|
-
}), Yo(u,
|
|
64790
|
+
}), Yo(u, P3, {
|
|
64791
64791
|
contents: m.event.forwardContents,
|
|
64792
64792
|
focus: A.none()
|
|
64793
64793
|
});
|
|
64794
64794
|
}),
|
|
64795
|
-
fn(
|
|
64795
|
+
fn(O3, (u, m) => {
|
|
64796
64796
|
ao(s.get()).each((v) => {
|
|
64797
|
-
s.set(s.get().slice(0, s.get().length - 1)), Yo(u,
|
|
64797
|
+
s.set(s.get().slice(0, s.get().length - 1)), Yo(u, P3, {
|
|
64798
64798
|
contents: uu(v.bar),
|
|
64799
64799
|
focus: v.focus
|
|
64800
64800
|
});
|
|
@@ -64803,17 +64803,17 @@ The conflicting element is` + (us(ve.element) ? " " : " not ") + "already in the
|
|
|
64803
64803
|
]),
|
|
64804
64804
|
zo.config({
|
|
64805
64805
|
mode: "special",
|
|
64806
|
-
onEscape: (u) => ao(s.get()).fold(() => n.onEscape(), (m) => (ya(u,
|
|
64806
|
+
onEscape: (u) => ao(s.get()).fold(() => n.onEscape(), (m) => (ya(u, O3), A.some(!0)))
|
|
64807
64807
|
})
|
|
64808
64808
|
]),
|
|
64809
64809
|
lazySink: () => mr.value(n.sink)
|
|
64810
64810
|
});
|
|
64811
|
-
},
|
|
64811
|
+
}, A3 = "tox-pop--transition", WU = (n, s, u, m) => {
|
|
64812
64812
|
const v = m.backstage, S = v.shared, O = vl().deviceType.isTouch, z = As(), Y = As(), re = As(), me = Wl(d5({
|
|
64813
64813
|
sink: u,
|
|
64814
64814
|
onEscape: () => (n.focus(), A.some(!0))
|
|
64815
64815
|
})), ve = () => {
|
|
64816
|
-
const Jo = re.get().getOr("node"), jr =
|
|
64816
|
+
const Jo = re.get().getOr("node"), jr = S3(Jo) ? 1 : 0;
|
|
64817
64817
|
return a5(n, S, Jo, jr);
|
|
64818
64818
|
}, Ae = () => !n.removed && !(O() && v.isContextMenuOpen()), Re = (Jo) => Ro(so(Jo, z.get(), Ar), !0), qe = () => {
|
|
64819
64819
|
if (Ae()) {
|
|
@@ -64847,7 +64847,7 @@ The conflicting element is` + (us(ve.element) ? " " : " not ") + "already in the
|
|
|
64847
64847
|
])
|
|
64848
64848
|
}), zt = bs(() => UU(s, (Jo) => {
|
|
64849
64849
|
const jr = co([Jo]);
|
|
64850
|
-
Yo(me,
|
|
64850
|
+
Yo(me, T3, { forwardContents: Et(jr) });
|
|
64851
64851
|
})), Xn = (Jo, jr) => KT(n, {
|
|
64852
64852
|
buttons: Jo,
|
|
64853
64853
|
toolbar: jr.items,
|
|
@@ -64878,16 +64878,16 @@ The conflicting element is` + (us(ve.element) ? " " : " not ") + "already in the
|
|
|
64878
64878
|
const aa = co(Jo), jo = Jo[0].position, sa = So(jo, jr);
|
|
64879
64879
|
re.set(jo), Y.set(1);
|
|
64880
64880
|
const ma = me.element;
|
|
64881
|
-
pr(ma, "display"), Re(jr) || (ds(ma,
|
|
64881
|
+
pr(ma, "display"), Re(jr) || (ds(ma, A3), Yl.reset(u, me)), ai.showWithinBounds(me, Et(aa), {
|
|
64882
64882
|
anchor: sa,
|
|
64883
64883
|
transition: {
|
|
64884
|
-
classes: [
|
|
64884
|
+
classes: [A3],
|
|
64885
64885
|
mode: "placement"
|
|
64886
64886
|
}
|
|
64887
64887
|
}, () => A.some(ve())), jr.fold(z.clear, z.set), qe() && go(ma, "display", "none");
|
|
64888
64888
|
}, Wo = pM(() => {
|
|
64889
64889
|
if (!(!n.hasFocus() || n.removed))
|
|
64890
|
-
if (ll(me.element,
|
|
64890
|
+
if (ll(me.element, A3))
|
|
64891
64891
|
Wo.throttle();
|
|
64892
64892
|
else {
|
|
64893
64893
|
const Jo = zt();
|
|
@@ -64990,9 +64990,9 @@ The conflicting element is` + (us(ve.element) ? " " : " not ") + "already in the
|
|
|
64990
64990
|
n + v(u)
|
|
64991
64991
|
].join("|")})`;
|
|
64992
64992
|
return new RegExp(`^(${O})(.*)$`);
|
|
64993
|
-
})(),
|
|
64993
|
+
})(), D3 = (n, s) => fe(s, (u) => fe(GU[u], (m) => n === m)), YU = (n, s) => A.from(qU.exec(n)).bind((m) => {
|
|
64994
64994
|
const v = Number(m[1]), S = m[2];
|
|
64995
|
-
return
|
|
64995
|
+
return D3(S, s) ? A.some({
|
|
64996
64996
|
value: v,
|
|
64997
64997
|
unit: S
|
|
64998
64998
|
}) : A.none();
|
|
@@ -65089,7 +65089,7 @@ The conflicting element is` + (us(ve.element) ? " " : " not ") + "already in the
|
|
|
65089
65089
|
});
|
|
65090
65090
|
}, nW = (n) => {
|
|
65091
65091
|
tW(n);
|
|
65092
|
-
},
|
|
65092
|
+
}, M3 = (n, s) => (u) => {
|
|
65093
65093
|
u.setActive(s.get());
|
|
65094
65094
|
const m = (v) => {
|
|
65095
65095
|
s.set(v.state), u.setActive(v.state);
|
|
@@ -65102,12 +65102,12 @@ The conflicting element is` + (us(ve.element) ? " " : " not ") + "already in the
|
|
|
65102
65102
|
icon: "paste-text",
|
|
65103
65103
|
tooltip: "Paste as text",
|
|
65104
65104
|
onAction: u,
|
|
65105
|
-
onSetup:
|
|
65105
|
+
onSetup: M3(n, s)
|
|
65106
65106
|
}), n.ui.registry.addToggleMenuItem("pastetext", {
|
|
65107
65107
|
text: "Paste as text",
|
|
65108
65108
|
icon: "paste-text",
|
|
65109
65109
|
onAction: u,
|
|
65110
|
-
onSetup:
|
|
65110
|
+
onSetup: M3(n, s)
|
|
65111
65111
|
});
|
|
65112
65112
|
}, JT = (n, s) => () => {
|
|
65113
65113
|
n.execCommand("mceToggleFormat", !1, s);
|
|
@@ -65229,7 +65229,7 @@ The conflicting element is` + (us(ve.element) ? " " : " not ") + "already in the
|
|
|
65229
65229
|
onAction: Dd(n, s.action)
|
|
65230
65230
|
});
|
|
65231
65231
|
});
|
|
65232
|
-
},
|
|
65232
|
+
}, N3 = (n) => {
|
|
65233
65233
|
bv.each([{
|
|
65234
65234
|
name: "blockquote",
|
|
65235
65235
|
text: "Blockquote",
|
|
@@ -65244,7 +65244,7 @@ The conflicting element is` + (us(ve.element) ? " " : " not ") + "already in the
|
|
|
65244
65244
|
});
|
|
65245
65245
|
});
|
|
65246
65246
|
}, g5 = (n) => {
|
|
65247
|
-
rW(n), aW(n),
|
|
65247
|
+
rW(n), aW(n), N3(n);
|
|
65248
65248
|
}, h5 = (n) => {
|
|
65249
65249
|
bv.each([
|
|
65250
65250
|
{
|
|
@@ -65351,7 +65351,7 @@ The conflicting element is` + (us(ve.element) ? " " : " not ") + "already in the
|
|
|
65351
65351
|
icon: "sourcecode",
|
|
65352
65352
|
onAction: JT(n, "code")
|
|
65353
65353
|
});
|
|
65354
|
-
},
|
|
65354
|
+
}, R3 = (n) => {
|
|
65355
65355
|
g5(n), h5(n);
|
|
65356
65356
|
}, eO = (n, s) => uS(n, "Undo Redo AddUndo TypingUndo ClearUndos SwitchMode", (u) => {
|
|
65357
65357
|
u.setEnabled(!n.mode.isReadOnly() && n.undoManager[s]());
|
|
@@ -65402,7 +65402,7 @@ The conflicting element is` + (us(ve.element) ? " " : " not ") + "already in the
|
|
|
65402
65402
|
}, dW = (n) => {
|
|
65403
65403
|
uW(n), cW(n);
|
|
65404
65404
|
}, fW = (n, s) => {
|
|
65405
|
-
ZU(n),
|
|
65405
|
+
ZU(n), R3(n), JU(n, s), lW(n), aH(n), dW(n), nW(n), QU(n), oW(n);
|
|
65406
65406
|
}, mW = (n) => y(n) ? n.split(/[ ,]/) : n, v5 = (n) => (s) => s.options.get(n), gW = (n) => {
|
|
65407
65407
|
const s = n.options.register;
|
|
65408
65408
|
s("contextmenu_avoid_overlap", {
|
|
@@ -65424,7 +65424,7 @@ The conflicting element is` + (us(ve.element) ? " " : " not ") + "already in the
|
|
|
65424
65424
|
},
|
|
65425
65425
|
default: "link linkchecker image editimage table spellchecker configurepermanentpen"
|
|
65426
65426
|
});
|
|
65427
|
-
}, b5 = v5("contextmenu_never_use_native"), y5 = v5("contextmenu_avoid_overlap"), hW = (n) => $
|
|
65427
|
+
}, b5 = v5("contextmenu_never_use_native"), y5 = v5("contextmenu_avoid_overlap"), hW = (n) => $3(n).length === 0, $3 = (n) => {
|
|
65428
65428
|
const s = n.ui.registry.getAll().contextMenus, u = n.options.get("contextmenu");
|
|
65429
65429
|
return n.options.isSet("contextmenu") ? u : gt(u, (m) => On(s, m));
|
|
65430
65430
|
}, pS = (n, s) => ({
|
|
@@ -65453,7 +65453,7 @@ The conflicting element is` + (us(ve.element) ? " " : " not ") + "already in the
|
|
|
65453
65453
|
type: "node",
|
|
65454
65454
|
node: A.some(Cn.fromDom(n.selection.getNode())),
|
|
65455
65455
|
root: Cn.fromDom(n.getBody())
|
|
65456
|
-
}),
|
|
65456
|
+
}), I3 = (n, s, u) => {
|
|
65457
65457
|
switch (u) {
|
|
65458
65458
|
case "node":
|
|
65459
65459
|
return yW(n);
|
|
@@ -65463,7 +65463,7 @@ The conflicting element is` + (us(ve.element) ? " " : " not ") + "already in the
|
|
|
65463
65463
|
return x5(n);
|
|
65464
65464
|
}
|
|
65465
65465
|
}, CW = (n, s, u, m, v, S) => {
|
|
65466
|
-
const O = u(), z =
|
|
65466
|
+
const O = u(), z = I3(n, s, S);
|
|
65467
65467
|
S1(O, Qf.CLOSE_ON_EXECUTE, m, {
|
|
65468
65468
|
isHorizontalMenu: !1,
|
|
65469
65469
|
search: A.none()
|
|
@@ -65536,12 +65536,12 @@ The conflicting element is` + (us(ve.element) ? " " : " not ") + "already in the
|
|
|
65536
65536
|
n.off("touchend", u), n.off("longpresscancel", v), n.off("mousedown", m);
|
|
65537
65537
|
};
|
|
65538
65538
|
}, TW = (n, s, u) => {
|
|
65539
|
-
const m =
|
|
65539
|
+
const m = I3(n, s, u);
|
|
65540
65540
|
return {
|
|
65541
65541
|
bubble: qm(0, u === "point" ? xW : 0, SW),
|
|
65542
65542
|
layouts: wW,
|
|
65543
65543
|
overrides: {
|
|
65544
|
-
maxWidthFunction:
|
|
65544
|
+
maxWidthFunction: s3(),
|
|
65545
65545
|
maxHeightFunction: xb()
|
|
65546
65546
|
},
|
|
65547
65547
|
...m
|
|
@@ -65575,7 +65575,7 @@ The conflicting element is` + (us(ve.element) ? " " : " not ") + "already in the
|
|
|
65575
65575
|
kW(n, s) ? Re() : (n.once("selectionchange", Re), n.once("touchend", () => n.off("selectionchange", Re)));
|
|
65576
65576
|
} else
|
|
65577
65577
|
Ae();
|
|
65578
|
-
},
|
|
65578
|
+
}, F3 = (n) => y(n) ? n === "|" : n.type === "separator", B3 = { type: "separator" }, tC = (n) => {
|
|
65579
65579
|
const s = (u) => ({
|
|
65580
65580
|
text: u.text,
|
|
65581
65581
|
icon: u.icon,
|
|
@@ -65586,7 +65586,7 @@ The conflicting element is` + (us(ve.element) ? " " : " not ") + "already in the
|
|
|
65586
65586
|
return n;
|
|
65587
65587
|
switch (n.type) {
|
|
65588
65588
|
case "separator":
|
|
65589
|
-
return
|
|
65589
|
+
return B3;
|
|
65590
65590
|
case "submenu":
|
|
65591
65591
|
return {
|
|
65592
65592
|
type: "nestedmenuitem",
|
|
@@ -65607,8 +65607,8 @@ The conflicting element is` + (us(ve.element) ? " " : " not ") + "already in the
|
|
|
65607
65607
|
}, k5 = (n, s) => {
|
|
65608
65608
|
if (s.length === 0)
|
|
65609
65609
|
return n;
|
|
65610
|
-
const m = ao(n).filter((v) => !
|
|
65611
|
-
return n.concat(m).concat(s).concat([
|
|
65610
|
+
const m = ao(n).filter((v) => !F3(v)).fold(() => [], (v) => [B3]);
|
|
65611
|
+
return n.concat(m).concat(s).concat([B3]);
|
|
65612
65612
|
}, PW = (n, s, u) => {
|
|
65613
65613
|
const m = Ze(s, (v, S) => Wt(n, S.toLowerCase()).map((O) => {
|
|
65614
65614
|
const z = O.update(u);
|
|
@@ -65620,8 +65620,8 @@ The conflicting element is` + (us(ve.element) ? " " : " not ") + "already in the
|
|
|
65620
65620
|
} else
|
|
65621
65621
|
return v;
|
|
65622
65622
|
}).getOrThunk(() => v.concat([S])), []);
|
|
65623
|
-
return m.length > 0 &&
|
|
65624
|
-
},
|
|
65623
|
+
return m.length > 0 && F3(m[m.length - 1]) && m.pop(), m;
|
|
65624
|
+
}, L3 = (n, s) => s.ctrlKey && !b5(n), _W = (n) => n.type === "longpress" || On(n, "touches"), E5 = (n, s) => !_W(s) && (s.button !== 2 || s.target === n.getBody() && s.pointerType === ""), T5 = (n, s) => E5(n, s) ? n.selection.getStart(!0) : s.target, AW = (n, s) => {
|
|
65625
65625
|
const u = y5(n), m = E5(n, s) ? "selection" : "point";
|
|
65626
65626
|
if (Ut(u)) {
|
|
65627
65627
|
const v = T5(n, s);
|
|
@@ -65640,10 +65640,10 @@ The conflicting element is` + (us(ve.element) ? " " : " not ") + "already in the
|
|
|
65640
65640
|
Hr.close(Y), n.focus();
|
|
65641
65641
|
})])])
|
|
65642
65642
|
})), O = () => ai.hide(S), z = (Y) => {
|
|
65643
|
-
if (b5(n) && Y.preventDefault(),
|
|
65643
|
+
if (b5(n) && Y.preventDefault(), L3(n, Y) || hW(n))
|
|
65644
65644
|
return;
|
|
65645
65645
|
const re = AW(n, Y), me = () => {
|
|
65646
|
-
const Ae = T5(n, Y), Re = n.ui.registry.getAll(), qe = $
|
|
65646
|
+
const Ae = T5(n, Y), Re = n.ui.registry.getAll(), qe = $3(n);
|
|
65647
65647
|
return PW(Re.contextMenus, qe, Ae);
|
|
65648
65648
|
};
|
|
65649
65649
|
(v() ? S5 : CW)(n, Y, me, u, S, re);
|
|
@@ -65652,7 +65652,7 @@ The conflicting element is` + (us(ve.element) ? " " : " not ") + "already in the
|
|
|
65652
65652
|
const Y = "ResizeEditor ScrollContent ScrollWindow longpresscancel" + (v() ? "" : " ResizeWindow");
|
|
65653
65653
|
n.on(Y, O), n.on("longpress contextmenu", z);
|
|
65654
65654
|
});
|
|
65655
|
-
},
|
|
65655
|
+
}, V3 = Ht.generate([
|
|
65656
65656
|
{
|
|
65657
65657
|
offset: [
|
|
65658
65658
|
"x",
|
|
@@ -65702,13 +65702,13 @@ The conflicting element is` + (us(ve.element) ? " " : " not ") + "already in the
|
|
|
65702
65702
|
bottom: A.none(),
|
|
65703
65703
|
...m
|
|
65704
65704
|
};
|
|
65705
|
-
}, RW = (n, s, u) => n.fold((m, v) => M1(m + s, v + u), (m, v) => xv(m + s, v + u), (m, v) => N1(m + s, v + u)),
|
|
65705
|
+
}, RW = (n, s, u) => n.fold((m, v) => M1(m + s, v + u), (m, v) => xv(m + s, v + u), (m, v) => N1(m + s, v + u)), H3 = (n, s, u, m) => {
|
|
65706
65706
|
const v = (S, O) => (z, Y) => {
|
|
65707
65707
|
const re = S(s, u, m);
|
|
65708
65708
|
return O(z.getOr(re.left), Y.getOr(re.top));
|
|
65709
65709
|
};
|
|
65710
65710
|
return n.fold(v(O5, M1), v(nC, xv), v(oO, N1));
|
|
65711
|
-
}, M1 =
|
|
65711
|
+
}, M1 = V3.offset, xv = V3.absolute, N1 = V3.fixed, _5 = (n, s) => {
|
|
65712
65712
|
const u = Qr(n, s);
|
|
65713
65713
|
return D(u) ? NaN : parseInt(u, 10);
|
|
65714
65714
|
}, $W = (n, s) => {
|
|
@@ -65734,7 +65734,7 @@ The conflicting element is` + (us(ve.element) ? " " : " not ") + "already in the
|
|
|
65734
65734
|
}, D5 = (n, s, u, m) => Lt(n, (v) => {
|
|
65735
65735
|
const S = v.sensor;
|
|
65736
65736
|
return MW(s, S, v.range.left, v.range.top, u, m) ? A.some({
|
|
65737
|
-
output:
|
|
65737
|
+
output: H3(v.output, s, u, m),
|
|
65738
65738
|
extra: v.extra
|
|
65739
65739
|
}) : A.none();
|
|
65740
65740
|
}), VW = (n, s, u, m, v) => {
|
|
@@ -65755,14 +65755,14 @@ The conflicting element is` + (us(ve.element) ? " " : " not ") + "already in the
|
|
|
65755
65755
|
deltas: A.none(),
|
|
65756
65756
|
snap: A.none()
|
|
65757
65757
|
}).snap.map((Y) => ({
|
|
65758
|
-
output:
|
|
65758
|
+
output: H3(Y.output, u, m, v),
|
|
65759
65759
|
extra: Y.extra
|
|
65760
65760
|
})));
|
|
65761
65761
|
}, HW = (n, s, u, m, v) => {
|
|
65762
65762
|
const S = s.getSnapPoints(n);
|
|
65763
65763
|
return D5(S, u, m, v);
|
|
65764
|
-
},
|
|
65765
|
-
coord:
|
|
65764
|
+
}, z3 = (n, s, u) => ({
|
|
65765
|
+
coord: H3(n.output, n.output, s, u),
|
|
65766
65766
|
extra: n.extra
|
|
65767
65767
|
});
|
|
65768
65768
|
var jW = /* @__PURE__ */ Object.freeze({
|
|
@@ -65770,19 +65770,19 @@ The conflicting element is` + (us(ve.element) ? " " : " not ") + "already in the
|
|
|
65770
65770
|
snapTo: (n, s, u, m) => {
|
|
65771
65771
|
const v = s.getTarget(n.element);
|
|
65772
65772
|
if (s.repositionTarget) {
|
|
65773
|
-
const S = Ts(n.element), O = bc(S), z = AB(v), Y =
|
|
65773
|
+
const S = Ts(n.element), O = bc(S), z = AB(v), Y = z3(m, O, z), re = P5(Y.coord, O, z);
|
|
65774
65774
|
Pa(v, re);
|
|
65775
65775
|
}
|
|
65776
65776
|
}
|
|
65777
65777
|
});
|
|
65778
|
-
const
|
|
65778
|
+
const j3 = "data-initial-z-index", KW = (n) => {
|
|
65779
65779
|
Os(n.element).filter(kr).each((s) => {
|
|
65780
|
-
be(s,
|
|
65780
|
+
be(s, j3).fold(() => pr(s, "z-index"), (u) => go(s, "z-index", u)), Qe(s, j3);
|
|
65781
65781
|
});
|
|
65782
65782
|
}, UW = (n) => {
|
|
65783
65783
|
Os(n.element).filter(kr).each((s) => {
|
|
65784
65784
|
_a(s, "z-index").each((u) => {
|
|
65785
|
-
Zo(s,
|
|
65785
|
+
Zo(s, j3, u);
|
|
65786
65786
|
}), go(s, "z-index", gn(n.element, "z-index"));
|
|
65787
65787
|
});
|
|
65788
65788
|
}, M5 = (n, s) => {
|
|
@@ -65811,7 +65811,7 @@ The conflicting element is` + (us(ve.element) ? " " : " not ") + "already in the
|
|
|
65811
65811
|
_t("lazyViewport", Ri),
|
|
65812
65812
|
_t("mustSnap", !1)
|
|
65813
65813
|
]);
|
|
65814
|
-
const
|
|
65814
|
+
const K3 = [
|
|
65815
65815
|
_t("useFixed", ie),
|
|
65816
65816
|
pn("blockerClass"),
|
|
65817
65817
|
_t("getTarget", Q),
|
|
@@ -65854,7 +65854,7 @@ The conflicting element is` + (us(ve.element) ? " " : " not ") + "already in the
|
|
|
65854
65854
|
bounds: n.getBounds(),
|
|
65855
65855
|
height: po(s.element),
|
|
65856
65856
|
width: Na(s.element)
|
|
65857
|
-
}),
|
|
65857
|
+
}), U3 = (n, s, u, m, v) => {
|
|
65858
65858
|
const S = u.update(m, v), O = u.getStartData().getOrThunk(() => R5(s, n));
|
|
65859
65859
|
S.each((z) => {
|
|
65860
65860
|
XW(n, s, O, z);
|
|
@@ -65865,7 +65865,7 @@ The conflicting element is` + (us(ve.element) ? " " : " not ") + "already in the
|
|
|
65865
65865
|
});
|
|
65866
65866
|
const v = u.getTarget(n.element);
|
|
65867
65867
|
m.reset(), u.onDrop(n, v);
|
|
65868
|
-
},
|
|
65868
|
+
}, W3 = (n) => (s, u) => {
|
|
65869
65869
|
const m = (v) => {
|
|
65870
65870
|
u.setStartData(R5(s, v));
|
|
65871
65871
|
};
|
|
@@ -65897,16 +65897,16 @@ The conflicting element is` + (us(ve.element) ? " " : " not ") + "already in the
|
|
|
65897
65897
|
delayDrop: z.schedule,
|
|
65898
65898
|
forceDrop: O,
|
|
65899
65899
|
move: (ve) => {
|
|
65900
|
-
z.cancel(),
|
|
65900
|
+
z.cancel(), U3(m, n, s, I5, ve);
|
|
65901
65901
|
}
|
|
65902
65902
|
}, re = N5(m, n.blockerClass, QW(Y));
|
|
65903
65903
|
(() => {
|
|
65904
65904
|
u(m), M5(m, re);
|
|
65905
65905
|
})();
|
|
65906
65906
|
})], JW = [
|
|
65907
|
-
...
|
|
65908
|
-
es("dragger", { handlers:
|
|
65909
|
-
],
|
|
65907
|
+
...K3,
|
|
65908
|
+
es("dragger", { handlers: W3(Sv) })
|
|
65909
|
+
], Z3 = (n) => Rr([
|
|
65910
65910
|
fn(Aa(), n.forceDrop),
|
|
65911
65911
|
fn(Cs(), n.drop),
|
|
65912
65912
|
fn(Ig(), n.drop),
|
|
@@ -65937,15 +65937,15 @@ The conflicting element is` + (us(ve.element) ? " " : " not ") + "already in the
|
|
|
65937
65937
|
delayDrop: N,
|
|
65938
65938
|
forceDrop: z,
|
|
65939
65939
|
move: (ve) => {
|
|
65940
|
-
|
|
65940
|
+
U3(S, n, s, F5, ve);
|
|
65941
65941
|
}
|
|
65942
|
-
}, re = N5(S, n.blockerClass,
|
|
65942
|
+
}, re = N5(S, n.blockerClass, Z3(Y));
|
|
65943
65943
|
m.set(re), (() => {
|
|
65944
65944
|
u(S), M5(S, re);
|
|
65945
65945
|
})();
|
|
65946
65946
|
}),
|
|
65947
65947
|
fn(Ii(), (S, O) => {
|
|
65948
|
-
O.stop(),
|
|
65948
|
+
O.stop(), U3(S, n, s, F5, O.event);
|
|
65949
65949
|
}),
|
|
65950
65950
|
fn(Cs(), (S, O) => {
|
|
65951
65951
|
O.stop(), v(S);
|
|
@@ -65953,14 +65953,14 @@ The conflicting element is` + (us(ve.element) ? " " : " not ") + "already in the
|
|
|
65953
65953
|
fn(Ig(), v)
|
|
65954
65954
|
];
|
|
65955
65955
|
}, eZ = [
|
|
65956
|
-
...
|
|
65957
|
-
es("dragger", { handlers:
|
|
65956
|
+
...K3,
|
|
65957
|
+
es("dragger", { handlers: W3(B5) })
|
|
65958
65958
|
], R1 = (n, s, u) => [
|
|
65959
65959
|
...Sv(n, s, u),
|
|
65960
65960
|
...B5(n, s, u)
|
|
65961
65961
|
], L5 = [
|
|
65962
|
-
...
|
|
65963
|
-
es("dragger", { handlers:
|
|
65962
|
+
...K3,
|
|
65963
|
+
es("dragger", { handlers: W3(R1) })
|
|
65964
65964
|
];
|
|
65965
65965
|
var tZ = /* @__PURE__ */ Object.freeze({
|
|
65966
65966
|
__proto__: null,
|
|
@@ -66005,13 +66005,13 @@ The conflicting element is` + (us(ve.element) ? " " : " not ") + "already in the
|
|
|
66005
66005
|
},
|
|
66006
66006
|
state: nZ,
|
|
66007
66007
|
apis: jW
|
|
66008
|
-
}),
|
|
66008
|
+
}), G3 = 40, oC = G3 / 2, rC = (n, s, u, m, v, S) => n.fold(() => $1.snap({
|
|
66009
66009
|
sensor: xv(u - oC, m - oC),
|
|
66010
66010
|
range: Or(v, S),
|
|
66011
66011
|
output: xv(A.some(u), A.some(m)),
|
|
66012
66012
|
extra: { td: s }
|
|
66013
66013
|
}), (O) => {
|
|
66014
|
-
const z = u - oC, Y = m - oC, re =
|
|
66014
|
+
const z = u - oC, Y = m - oC, re = G3, me = G3, ve = O.element.dom.getBoundingClientRect();
|
|
66015
66015
|
return $1.snap({
|
|
66016
66016
|
sensor: xv(z, Y),
|
|
66017
66017
|
range: Or(re, me),
|
|
@@ -66267,7 +66267,7 @@ The conflicting element is` + (us(ve.element) ? " " : " not ") + "already in the
|
|
|
66267
66267
|
]
|
|
66268
66268
|
}
|
|
66269
66269
|
});
|
|
66270
|
-
},
|
|
66270
|
+
}, q3 = (n, s) => {
|
|
66271
66271
|
const u = () => ({
|
|
66272
66272
|
dom: {
|
|
66273
66273
|
tag: "span",
|
|
@@ -66424,7 +66424,7 @@ The conflicting element is` + (us(ve.element) ? " " : " not ") + "already in the
|
|
|
66424
66424
|
classes: ["tox-throbber"]
|
|
66425
66425
|
},
|
|
66426
66426
|
backstage: rn
|
|
66427
|
-
}), hr = y4(n) && !s ? A.some(
|
|
66427
|
+
}), hr = y4(n) && !s ? A.some(q3(n, rn.shared.providers)) : A.none(), Kr = He([
|
|
66428
66428
|
Ae ? [] : [ia],
|
|
66429
66429
|
s ? [] : [Kn],
|
|
66430
66430
|
Ae ? [ia] : []
|
|
@@ -66536,7 +66536,7 @@ The conflicting element is` + (us(ve.element) ? " " : " not ") + "already in the
|
|
|
66536
66536
|
yi("modalBehaviours", [zo]),
|
|
66537
66537
|
Ec("onExecute"),
|
|
66538
66538
|
_y("onEscape")
|
|
66539
|
-
]),
|
|
66539
|
+
]), Y3 = { sketch: Q }, lZ = I([
|
|
66540
66540
|
mu({
|
|
66541
66541
|
name: "draghandle",
|
|
66542
66542
|
overrides: (n, s) => ({
|
|
@@ -66554,17 +66554,17 @@ The conflicting element is` + (us(ve.element) ? " " : " not ") + "already in the
|
|
|
66554
66554
|
name: "title"
|
|
66555
66555
|
}),
|
|
66556
66556
|
Ol({
|
|
66557
|
-
factory:
|
|
66557
|
+
factory: Y3,
|
|
66558
66558
|
schema: [pn("dom")],
|
|
66559
66559
|
name: "close"
|
|
66560
66560
|
}),
|
|
66561
66561
|
Ol({
|
|
66562
|
-
factory:
|
|
66562
|
+
factory: Y3,
|
|
66563
66563
|
schema: [pn("dom")],
|
|
66564
66564
|
name: "body"
|
|
66565
66565
|
}),
|
|
66566
66566
|
mu({
|
|
66567
|
-
factory:
|
|
66567
|
+
factory: Y3,
|
|
66568
66568
|
schema: [pn("dom")],
|
|
66569
66569
|
name: "footer"
|
|
66570
66570
|
}),
|
|
@@ -66591,7 +66591,7 @@ The conflicting element is` + (us(ve.element) ? " " : " not ") + "already in the
|
|
|
66591
66591
|
],
|
|
66592
66592
|
name: "blocker"
|
|
66593
66593
|
})
|
|
66594
|
-
]),
|
|
66594
|
+
]), X3 = (n, s, u, m) => {
|
|
66595
66595
|
const v = As(), S = (Re) => {
|
|
66596
66596
|
v.set(Re);
|
|
66597
66597
|
const qe = n.lazySink(Re).getOrDie(), dt = m.blocker(), Bt = qe.getSystem().build({
|
|
@@ -66656,7 +66656,7 @@ The conflicting element is` + (us(ve.element) ? " " : " not ") + "already in the
|
|
|
66656
66656
|
name: "ModalDialog",
|
|
66657
66657
|
configFields: iZ(),
|
|
66658
66658
|
partFields: lZ(),
|
|
66659
|
-
factory:
|
|
66659
|
+
factory: X3,
|
|
66660
66660
|
apis: {
|
|
66661
66661
|
show: (n, s) => {
|
|
66662
66662
|
n.show(s);
|
|
@@ -67529,7 +67529,7 @@ The conflicting element is` + (us(ve.element) ? " " : " not ") + "already in the
|
|
|
67529
67529
|
action: (s) => {
|
|
67530
67530
|
ya(s, p1);
|
|
67531
67531
|
}
|
|
67532
|
-
}),
|
|
67532
|
+
}), Q3 = (n, s, u, m) => {
|
|
67533
67533
|
const v = (S) => [ni(m.translate(S.title))];
|
|
67534
67534
|
return {
|
|
67535
67535
|
dom: {
|
|
@@ -67544,11 +67544,11 @@ The conflicting element is` + (us(ve.element) ? " " : " not ") + "already in the
|
|
|
67544
67544
|
renderComponents: v
|
|
67545
67545
|
})])
|
|
67546
67546
|
};
|
|
67547
|
-
},
|
|
67547
|
+
}, J3 = () => ({ dom: Cv('<div class="tox-dialog__draghandle"></div>') }), nL = (n, s, u, m) => Dh.sketch({
|
|
67548
67548
|
dom: Cv('<div class="tox-dialog__header"></div>'),
|
|
67549
67549
|
components: [
|
|
67550
|
-
|
|
67551
|
-
|
|
67550
|
+
Q3(n, s, A.some(u), m),
|
|
67551
|
+
J3(),
|
|
67552
67552
|
lC(m)
|
|
67553
67553
|
],
|
|
67554
67554
|
containerBehaviours: zn([$1.config({
|
|
@@ -67562,7 +67562,7 @@ The conflicting element is` + (us(ve.element) ? " " : " not ") + "already in the
|
|
|
67562
67562
|
}
|
|
67563
67563
|
})])
|
|
67564
67564
|
}), kZ = (n, s, u) => {
|
|
67565
|
-
const m = Ci.parts.title(
|
|
67565
|
+
const m = Ci.parts.title(Q3(n, s, A.none(), u)), v = Ci.parts.draghandle(J3()), S = Ci.parts.close(lC(u)), O = [m].concat(n.draggable ? [v] : []).concat([S]);
|
|
67566
67566
|
return Dh.sketch({
|
|
67567
67567
|
dom: Cv('<div class="tox-dialog__header"></div>'),
|
|
67568
67568
|
components: O
|
|
@@ -70113,7 +70113,7 @@ tinymce.IconManager.add("default", {
|
|
|
70113
70113
|
k === M ? Io(g, b) : so(g, b, k);
|
|
70114
70114
|
}, uP = (g, b, k) => {
|
|
70115
70115
|
Ot(Dr(g, b)).fold(() => Vn(g, k), (M) => Qn(M, k));
|
|
70116
|
-
},
|
|
70116
|
+
}, XN = (g, b) => {
|
|
70117
70117
|
const k = go(g, b).getOrThunk(() => {
|
|
70118
70118
|
const M = Be.fromTag(b, Oo(g).dom);
|
|
70119
70119
|
return b === "thead" ? uP(g, "caption,colgroup", M) : b === "colgroup" ? uP(g, "caption", M) : Dn(g, M), M;
|
|
@@ -70127,7 +70127,7 @@ tinymce.IconManager.add("default", {
|
|
|
70127
70127
|
mn.isNew && M.push(mn.element), xy(mn.element, "colspan", mn.colspan, 1), xy(mn.element, "rowspan", mn.rowspan, 1), Dn(Un, mn.element);
|
|
70128
70128
|
}), Un;
|
|
70129
70129
|
}), ne = (Mn) => gt(Mn, (ln) => Se(ln.cells, (Un) => (xy(Un.element, "span", Un.colspan, 1), Un.element))), we = (Mn, ln) => {
|
|
70130
|
-
const Un =
|
|
70130
|
+
const Un = XN(g, ln), no = (ln === "colgroup" ? ne : U)(Mn);
|
|
70131
70131
|
kr(Un, no);
|
|
70132
70132
|
}, Fe = (Mn) => {
|
|
70133
70133
|
go(g, Mn).each(Ma);
|
|
@@ -70852,7 +70852,7 @@ Required: ` + b.join(", "));
|
|
|
70852
70852
|
})), D2 = (g, b) => Yd(g, b).map((k) => ({
|
|
70853
70853
|
details: k,
|
|
70854
70854
|
pixelDelta: -My(g, k)
|
|
70855
|
-
})), aw = (g) => (b, k) => ky(b, k).filter((M) => !(g ? Sl : Ji)(b, M.cells)), bb = Zl.transform("th"), Fp = Zl.transform("td"), sw = vi(Xd, dc, $, $, Zl.modification), Ry = vi(Ay, dc, $, $, Zl.modification), OP = vi(QC, Ny(!0), ms, $, Zl.modification),
|
|
70855
|
+
})), aw = (g) => (b, k) => ky(b, k).filter((M) => !(g ? Sl : Ji)(b, M.cells)), bb = Zl.transform("th"), Fp = Zl.transform("td"), sw = vi(Xd, dc, $, $, Zl.modification), Ry = vi(Ay, dc, $, $, Zl.modification), OP = vi(QC, Ny(!0), ms, $, Zl.modification), QN = vi(JC, Ny(!1), ms, $, Zl.modification), PP = vi(cl, D2, ms, pb, Zl.modification), _P = vi(EP, dc, $, pb, Zl.modification), AP = vi(ew, Yd, $, $, bb), iw = vi(nw, Yd, $, $, Fp), lw = vi($p, Yd, $, $, bb), M2 = vi(Tc, Yd, $, $, Fp), DP = vi(kP, Yd, $, $, Fp), N2 = vi(tw, Yd, $, $, bb), R2 = vi(P2, Yd, $, $, Fp), zn = vi(Kf, hP, Nl, $, Zl.merging), MP = vi(bo, s2, Nl, $, Zl.merging), Fi = vi(Dy, o2, Nl, $, Zl.modification), NP = vi(ow, aw(!0), $, $, Zl.modification), $2 = vi(rw, aw(!1), $, $, Zl.modification), I2 = vi(_2, ky, $, $, Zl.modification), ju = vi(A2, ky, $, $, Zl.modification), JN = TP, F2 = xl, Uf = ul, Jg = (g, b) => g.dispatch("NewRow", { node: b }), cw = (g, b) => g.dispatch("NewCell", { node: b }), Gl = (g, b, k) => {
|
|
70856
70856
|
g.dispatch("TableModified", {
|
|
70857
70857
|
...k,
|
|
70858
70858
|
table: b
|
|
@@ -71008,7 +71008,7 @@ Required: ` + b.join(", "));
|
|
|
71008
71008
|
effect: Sd
|
|
71009
71009
|
}));
|
|
71010
71010
|
}) : oe.none();
|
|
71011
|
-
}, yn = Dt(_P, U, $, Ti), Hn = Dt(PP, ne, $, Ti), Mn = Dt(sw, ce, $, Ti), ln = Dt(Ry, ce, $, Ti), Un = Dt(OP, ce, Fe, Ti), mn = Dt(
|
|
71011
|
+
}, yn = Dt(_P, U, $, Ti), Hn = Dt(PP, ne, $, Ti), Mn = Dt(sw, ce, $, Ti), ln = Dt(Ry, ce, $, Ti), Un = Dt(OP, ce, Fe, Ti), mn = Dt(QN, ce, Fe, Ti), no = Dt(zn, ce, $, Ti), tr = Dt(MP, ce, $, Ti), xr = Dt(NP, ce, $, Ti), ls = Dt($2, ce, $, Ti), dl = Dt(I2, ce, $, Ti), ri = Dt(ju, ce, $, Ti), tl = Dt(Fi, ce, $, B2), nf = Dt(N2, ce, $, Ti), Qb = Dt(R2, ce, $, Ti), w0 = Dt(AP, ce, $, Ti), xh = Dt(iw, ce, $, Ti), $a = Dt(lw, ce, $, Ti), Il = Dt(M2, ce, $, Ti), fl = Dt(DP, ce, $, Ti);
|
|
71012
71012
|
return {
|
|
71013
71013
|
deleteRow: yn,
|
|
71014
71014
|
deleteColumn: Hn,
|
|
@@ -71032,7 +71032,7 @@ Required: ` + b.join(", "));
|
|
|
71032
71032
|
makeRowsFooter: fl,
|
|
71033
71033
|
getTableRowType: Uf,
|
|
71034
71034
|
getTableCellType: F2,
|
|
71035
|
-
getTableColType:
|
|
71035
|
+
getTableColType: JN
|
|
71036
71036
|
};
|
|
71037
71037
|
}, Bp = (g, b, k) => {
|
|
71038
71038
|
const M = ea(g, b, 1);
|
|
@@ -82011,30 +82011,9 @@ const d_e = {
|
|
|
82011
82011
|
fileRequest: {
|
|
82012
82012
|
type: Function
|
|
82013
82013
|
}
|
|
82014
|
-
}, f_e = {
|
|
82015
|
-
selector: "textarea",
|
|
82016
|
-
placeholder: "\u5728\u8FD9\u91CC\u8F93\u5165\u6587\u5B57",
|
|
82017
|
-
language_url: "/tinymce/langs/zh-Hans.js",
|
|
82018
|
-
language: "zh-Hans",
|
|
82019
|
-
skin_url: "/tinymce/skins/ui/oxide",
|
|
82020
|
-
height: 500,
|
|
82021
|
-
branding: !1,
|
|
82022
|
-
menubar: !0,
|
|
82023
|
-
image_dimensions: !0,
|
|
82024
|
-
promotion: !1,
|
|
82025
|
-
plugins: "wordcount table searchreplace pagebreak fullscreen codesample autolink anchor autolink image media lists link code image",
|
|
82026
|
-
toolbar: "fontsize fontfamily fontsizeselect fontselect bold italic lineheight underline alignleft aligncenter alignright alignjustify anchor | undo redo | formatselect | forecolor backcolor | bullist numlist outdent indent | lists link image axupimgs media table | removeformat | fullscreen|preview code codesample|searchreplace",
|
|
82027
|
-
paste_webkit_styles: "all",
|
|
82028
|
-
paste_merge_formats: !0,
|
|
82029
|
-
nonbreaking_force_tab: !1,
|
|
82030
|
-
paste_auto_cleanup_on_paste: !1,
|
|
82031
|
-
file_picker_types: "file image media",
|
|
82032
|
-
fontsize_formats: "8pt 10pt 12pt 14pt 16pt 18pt 20pt 22pt 24pt 36pt",
|
|
82033
|
-
font_formats: "\u5FAE\u8F6F\u96C5\u9ED1='\u5FAE\u8F6F\u96C5\u9ED1';\u5B8B\u4F53='\u5B8B\u4F53';\u9ED1\u4F53='\u9ED1\u4F53';\u4EFF\u5B8B='\u4EFF\u5B8B';\u6977\u4F53='\u6977\u4F53';\u96B6\u4E66='\u96B6\u4E66';\u5E7C\u5706='\u5E7C\u5706';Andale Mono=andale mono,times;Arial=arial,helvetica,sans-serif;Arial Black=arial black,avant garde;Book Antiqua=book antiqua,palatino;Comic Sans MS=comic sans ms,sans-serif;Courier New=courier new,courier;Georgia=georgia,palatino;Helvetica=helvetica;Impact=impact,chicago;Symbol=symbol;Tahoma=tahoma,arial,helvetica,sans-serif;Terminal=terminal,monaco;Times New Roman=times new roman,times;Trebuchet MS=trebuchet ms,geneva;Verdana=verdana,geneva;Webdings=webdings;Wingdings=wingdings",
|
|
82034
|
-
content_css: "/tinymce/skins/content/default/content.css"
|
|
82035
|
-
}, m_e = (a) => {
|
|
82014
|
+
}, f_e = ["update:value", "change"], m_e = {}, g_e = (a) => {
|
|
82036
82015
|
const t = ke(() => ({
|
|
82037
|
-
...
|
|
82016
|
+
...m_e,
|
|
82038
82017
|
images_upload_handler: (p) => new Promise((C, y) => {
|
|
82039
82018
|
i(p.blob()).then((x) => {
|
|
82040
82019
|
C(x);
|
|
@@ -82089,18 +82068,18 @@ const d_e = {
|
|
|
82089
82068
|
init: t,
|
|
82090
82069
|
modelValue: f
|
|
82091
82070
|
};
|
|
82092
|
-
},
|
|
82071
|
+
}, h_e = { class: "fx-editor" }, p_e = vn({
|
|
82093
82072
|
name: "PlEditor"
|
|
82094
|
-
}),
|
|
82095
|
-
...
|
|
82073
|
+
}), v_e = /* @__PURE__ */ vn({
|
|
82074
|
+
...p_e,
|
|
82096
82075
|
props: d_e,
|
|
82097
|
-
emits:
|
|
82076
|
+
emits: f_e,
|
|
82098
82077
|
setup(a, { expose: t, emit: i }) {
|
|
82099
82078
|
const c = a;
|
|
82100
82079
|
zce((_) => ({
|
|
82101
|
-
"
|
|
82080
|
+
"0885cc8e": C.value
|
|
82102
82081
|
}));
|
|
82103
|
-
const { init: f, modelValue: p } =
|
|
82082
|
+
const { init: f, modelValue: p } = g_e(c), C = ot("1px solid #d9d9d9");
|
|
82104
82083
|
Bn(
|
|
82105
82084
|
() => p.value,
|
|
82106
82085
|
(_) => {
|
|
@@ -82118,7 +82097,7 @@ const d_e = {
|
|
|
82118
82097
|
};
|
|
82119
82098
|
return t(E), ns(() => {
|
|
82120
82099
|
iY.init({});
|
|
82121
|
-
}), (_, P) => (hl(), vC("div",
|
|
82100
|
+
}), (_, P) => (hl(), vC("div", h_e, [
|
|
82122
82101
|
X(En(u_e), {
|
|
82123
82102
|
modelValue: En(p),
|
|
82124
82103
|
"onUpdate:modelValue": P[0] || (P[0] = (R) => sre(p) ? p.value = R : null),
|
|
@@ -82128,21 +82107,21 @@ const d_e = {
|
|
|
82128
82107
|
]));
|
|
82129
82108
|
}
|
|
82130
82109
|
});
|
|
82131
|
-
const UL = /* @__PURE__ */ NQ(
|
|
82110
|
+
const UL = /* @__PURE__ */ NQ(v_e, [["__scopeId", "data-v-b15336b1"]]);
|
|
82132
82111
|
UL.install = function(a) {
|
|
82133
82112
|
return a.component(UL.name, UL), a;
|
|
82134
82113
|
};
|
|
82135
|
-
const
|
|
82136
|
-
|
|
82114
|
+
const b_e = [xN, jL, KL, UL], y_e = function(a) {
|
|
82115
|
+
b_e.forEach((t) => {
|
|
82137
82116
|
a.use(t);
|
|
82138
82117
|
});
|
|
82139
|
-
},
|
|
82140
|
-
install:
|
|
82118
|
+
}, w_e = {
|
|
82119
|
+
install: y_e
|
|
82141
82120
|
};
|
|
82142
82121
|
export {
|
|
82143
82122
|
KL as PlArea,
|
|
82144
82123
|
UL as PlEditor,
|
|
82145
|
-
|
|
82124
|
+
xN as PlForm,
|
|
82146
82125
|
jL as PlTable,
|
|
82147
|
-
|
|
82126
|
+
w_e as default
|
|
82148
82127
|
};
|