yxuse 3.0.32 → 3.0.33
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/lib/index.cjs2.js +7 -7
- package/lib/index.cjs2.js.gz +0 -0
- package/lib/index.es2.js +85 -84
- package/lib/index.es2.js.gz +0 -0
- package/package.json +1 -1
package/lib/index.cjs2.js.gz
CHANGED
|
Binary file
|
package/lib/index.es2.js
CHANGED
|
@@ -18,7 +18,7 @@ var zr = (a, i) => {
|
|
|
18
18
|
i.indexOf(u) < 0 && Af.call(a, u) && (r[u] = a[u]);
|
|
19
19
|
return r;
|
|
20
20
|
};
|
|
21
|
-
var
|
|
21
|
+
var qt = (a, i, r) => (Vu(a, typeof i != "symbol" ? i + "" : i, r), r), w_ = (a, i, r) => {
|
|
22
22
|
if (!i.has(a))
|
|
23
23
|
throw TypeError("Cannot " + r);
|
|
24
24
|
};
|
|
@@ -46,7 +46,7 @@ var ot = (a, i, r) => new Promise((u, c) => {
|
|
|
46
46
|
import { y as Xf, i as b_, u as x_ } from "./index.es3.js";
|
|
47
47
|
import { y as S_ } from "./index.es4.js";
|
|
48
48
|
import { g as T_, a as E_, b as I_ } from "./index.es5.js";
|
|
49
|
-
import { defineComponent as Zn, reactive as C_, resolveComponent as rt, openBlock as oe, createBlock as Ze, createSlots as A_, withCtx as It, renderSlot as ls, createElementVNode as Ie, createVNode as Se, createTextVNode as
|
|
49
|
+
import { defineComponent as Zn, reactive as C_, resolveComponent as rt, openBlock as oe, createBlock as Ze, createSlots as A_, withCtx as It, renderSlot as ls, createElementVNode as Ie, createVNode as Se, createTextVNode as Qt, watch as Kf, resolveDynamicComponent as Ct, mergeProps as dn, createElementBlock as Ae, Fragment as Wt, renderList as hn, createCommentVNode as Jt, useSlots as fs, useAttrs as cs, ref as qn, onMounted as D_, nextTick as R_, isVNode as qf, withModifiers as N_, computed as O_, unref as Xo, normalizeStyle as mr, toDisplayString as on, withKeys as L_, toHandlers as P_, pushScopeId as B_, popScopeId as M_, createStaticVNode as F_, withDirectives as Zf, vShow as Jf, Transition as W_, normalizeClass as Ko, useCssVars as U_, version as $_, createApp as k_ } from "vue";
|
|
50
50
|
import { c as Cn, g as Qf, y as Y_ } from "./index.es6.js";
|
|
51
51
|
import { g as H_, h as jf, s as z_ } from "./index.es7.js";
|
|
52
52
|
import "element-plus";
|
|
@@ -116,7 +116,7 @@ const X_ = "@font-face {font-family: 'YX-TITLE';font-size: 16px; src: url('https
|
|
|
116
116
|
onClick: u
|
|
117
117
|
}, {
|
|
118
118
|
default: It(() => [
|
|
119
|
-
|
|
119
|
+
Qt("取消")
|
|
120
120
|
]),
|
|
121
121
|
_: 1
|
|
122
122
|
}),
|
|
@@ -125,7 +125,7 @@ const X_ = "@font-face {font-family: 'YX-TITLE';font-size: 16px; src: url('https
|
|
|
125
125
|
onClick: p
|
|
126
126
|
}, {
|
|
127
127
|
default: It(() => [
|
|
128
|
-
|
|
128
|
+
Qt("确认")
|
|
129
129
|
]),
|
|
130
130
|
_: 1
|
|
131
131
|
}, 8, ["loading"])
|
|
@@ -169,7 +169,7 @@ const X_ = "@font-face {font-family: 'YX-TITLE';font-size: 16px; src: url('https
|
|
|
169
169
|
key: W.value,
|
|
170
170
|
label: W.label,
|
|
171
171
|
value: W.value
|
|
172
|
-
}, null, 8, ["label", "value"]))), 128)) :
|
|
172
|
+
}, null, 8, ["label", "value"]))), 128)) : Jt("", !0)
|
|
173
173
|
];
|
|
174
174
|
}),
|
|
175
175
|
_: 1
|
|
@@ -391,7 +391,7 @@ function hs(a, i) {
|
|
|
391
391
|
r = r.previousElementSibling;
|
|
392
392
|
return r || null;
|
|
393
393
|
}
|
|
394
|
-
function
|
|
394
|
+
function Zt(a, i) {
|
|
395
395
|
var r = 0;
|
|
396
396
|
if (!a || !a.parentNode)
|
|
397
397
|
return -1;
|
|
@@ -788,7 +788,7 @@ ue.prototype = /** @lends Sortable.prototype */
|
|
|
788
788
|
if (i.cancelable) {
|
|
789
789
|
var r = this, u = this.el, c = this.options, p = c.preventOnFilter, _ = i.type, y = i.touches && i.touches[0] || i.pointerType && i.pointerType === "touch" && i, I = (y || i).target, A = i.target.shadowRoot && (i.path && i.path[0] || i.composedPath && i.composedPath()[0]) || I, B = c.filter;
|
|
790
790
|
if (E0(u), !X && !(/mousedown|pointerdown/.test(_) && i.button !== 0 || c.disabled) && !A.isContentEditable && !(!this.nativeDraggable && Ii && I && I.tagName.toUpperCase() === "SELECT") && (I = cn(I, c.draggable, u, !1), !(I && I.animated) && Ho !== I)) {
|
|
791
|
-
if (Kr =
|
|
791
|
+
if (Kr = Zt(I), Ai = Zt(I, c.draggable), typeof B == "function") {
|
|
792
792
|
if (B.call(this, i, I, this)) {
|
|
793
793
|
yt({
|
|
794
794
|
sortable: r,
|
|
@@ -995,7 +995,7 @@ ue.prototype = /** @lends Sortable.prototype */
|
|
|
995
995
|
}), k !== W && (W.animateAll(), W._ignoreWhileAnimating = null)), (u === X && !X.animated || u === r && !u.animated) && (Gr = null), !y.dragoverBubble && !i.rootEl && u !== document && (X.parentNode[Ut]._isOutsideThisEl(i.target), !ut && gr(i)), !y.dragoverBubble && i.stopPropagation && i.stopPropagation(), q = !0;
|
|
996
996
|
}
|
|
997
997
|
function ve() {
|
|
998
|
-
Ft =
|
|
998
|
+
Ft = Zt(X), Gn = Zt(X, y.draggable), yt({
|
|
999
999
|
sortable: k,
|
|
1000
1000
|
name: "change",
|
|
1001
1001
|
toEl: r,
|
|
@@ -1031,7 +1031,7 @@ ue.prototype = /** @lends Sortable.prototype */
|
|
|
1031
1031
|
Gr !== u && (V = p[Ne], Ri = !1, Wo = !te && y.invertSwap || z), M = x0(i, u, p, J, te ? 1 : y.swapThreshold, y.invertedSwapThreshold == null ? y.swapThreshold : y.invertedSwapThreshold, Wo, Gr === u);
|
|
1032
1032
|
var Me;
|
|
1033
1033
|
if (M !== 0) {
|
|
1034
|
-
var Ge =
|
|
1034
|
+
var Ge = Zt(X);
|
|
1035
1035
|
do
|
|
1036
1036
|
Ge -= M, Me = Ve.children[Ge];
|
|
1037
1037
|
while (Me && (ae(Me, "display") === "none" || Me === ce));
|
|
@@ -1060,9 +1060,9 @@ ue.prototype = /** @lends Sortable.prototype */
|
|
|
1060
1060
|
},
|
|
1061
1061
|
_onDrop: function(i) {
|
|
1062
1062
|
var r = this.el, u = this.options;
|
|
1063
|
-
if (Ft =
|
|
1063
|
+
if (Ft = Zt(X), Gn = Zt(X, u.draggable), Et("drop", this, {
|
|
1064
1064
|
evt: i
|
|
1065
|
-
}), Ve = X && X.parentNode, Ft =
|
|
1065
|
+
}), Ve = X && X.parentNode, Ft = Zt(X), Gn = Zt(X, u.draggable), ue.eventCanceled) {
|
|
1066
1066
|
this._nulling();
|
|
1067
1067
|
return;
|
|
1068
1068
|
}
|
|
@@ -1250,7 +1250,7 @@ function x0(a, i, r, u, c, p, _, y) {
|
|
|
1250
1250
|
return W = W || _, W && (I < B + A * p / 2 || I > C - A * p / 2) ? I > B + A / 2 ? 1 : -1 : 0;
|
|
1251
1251
|
}
|
|
1252
1252
|
function S0(a) {
|
|
1253
|
-
return
|
|
1253
|
+
return Zt(X) < Zt(a) ? 1 : -1;
|
|
1254
1254
|
}
|
|
1255
1255
|
function T0(a) {
|
|
1256
1256
|
for (var i = a.tagName + a.className + a.src + a.href + a.textContent, r = i.length, u = 0; r--; )
|
|
@@ -1286,7 +1286,7 @@ ue.utils = {
|
|
|
1286
1286
|
closest: cn,
|
|
1287
1287
|
toggleClass: Mt,
|
|
1288
1288
|
clone: uc,
|
|
1289
|
-
index:
|
|
1289
|
+
index: Zt,
|
|
1290
1290
|
nextTick: Vo,
|
|
1291
1291
|
cancelNextTick: os,
|
|
1292
1292
|
detectDirection: lc,
|
|
@@ -1526,7 +1526,7 @@ const A0 = /* @__PURE__ */ Zn({
|
|
|
1526
1526
|
V != null && V.onClick && (V == null || V.onClick(E.row)), y("operate-handle", V.key, E.row);
|
|
1527
1527
|
}, ["stop"]),
|
|
1528
1528
|
class: "table-handle whitespace-nowrap"
|
|
1529
|
-
}, [
|
|
1529
|
+
}, [Qt(" "), V.label, Qt(" ")]))]);
|
|
1530
1530
|
}, ve = () => {
|
|
1531
1531
|
if (!q)
|
|
1532
1532
|
return null;
|
|
@@ -1613,7 +1613,7 @@ const A0 = /* @__PURE__ */ Zn({
|
|
|
1613
1613
|
}, [Se("span", {
|
|
1614
1614
|
class: `whitespace-nowrap label ${k != null ? k : ""} ${(se = K.classLabelName) != null ? se : ""}`,
|
|
1615
1615
|
style: tt(tt({}, W), K.labelStyle)
|
|
1616
|
-
}, [
|
|
1616
|
+
}, [Qt(" "), K.label, Qt(" ")]), Se(ec, {
|
|
1617
1617
|
class: K.componentClassName,
|
|
1618
1618
|
style: K.componentStyle,
|
|
1619
1619
|
conf: G,
|
|
@@ -1624,12 +1624,12 @@ const A0 = /* @__PURE__ */ Zn({
|
|
|
1624
1624
|
onClick: () => c("search"),
|
|
1625
1625
|
class: "search-item"
|
|
1626
1626
|
}, {
|
|
1627
|
-
default: () => [
|
|
1627
|
+
default: () => [Qt("搜索"), " "]
|
|
1628
1628
|
}), B && Se(rt("el-button"), {
|
|
1629
1629
|
class: "search-item",
|
|
1630
1630
|
onClick: () => c("add")
|
|
1631
1631
|
}, {
|
|
1632
|
-
default: () => [
|
|
1632
|
+
default: () => [Qt("添加")]
|
|
1633
1633
|
}), r.default && r.default()])]);
|
|
1634
1634
|
};
|
|
1635
1635
|
return (_, y) => (oe(), Ze(Ct(p(u))));
|
|
@@ -1839,10 +1839,10 @@ const H0 = { render: Y0 }, z0 = {
|
|
|
1839
1839
|
reference: It(() => [
|
|
1840
1840
|
E.hint ? (oe(), Ae("span", z0, [
|
|
1841
1841
|
Se(Xo(H0), { color: "#ccc" })
|
|
1842
|
-
])) :
|
|
1842
|
+
])) : Jt("", !0)
|
|
1843
1843
|
]),
|
|
1844
1844
|
_: 2
|
|
1845
|
-
}, 1032, ["content"])) :
|
|
1845
|
+
}, 1032, ["content"])) : Jt("", !0)
|
|
1846
1846
|
]),
|
|
1847
1847
|
default: It(() => [
|
|
1848
1848
|
E.slotName ? ls(Y.$slots, E.slotName, {
|
|
@@ -1862,24 +1862,24 @@ const H0 = { render: Y0 }, z0 = {
|
|
|
1862
1862
|
key: M.value,
|
|
1863
1863
|
label: M.label,
|
|
1864
1864
|
value: M.value
|
|
1865
|
-
}, null, 8, ["label", "value"]))), 128)) :
|
|
1865
|
+
}, null, 8, ["label", "value"]))), 128)) : Jt("", !0),
|
|
1866
1866
|
E.ctype === "radio-group" ? (oe(!0), Ae(Wt, { key: 1 }, hn(E.radioList, (M) => (oe(), Ze(Ct("el-radio"), {
|
|
1867
1867
|
key: M.value,
|
|
1868
1868
|
label: M.value
|
|
1869
1869
|
}, {
|
|
1870
1870
|
default: It(() => [
|
|
1871
|
-
|
|
1871
|
+
Qt(on(M.label), 1)
|
|
1872
1872
|
]),
|
|
1873
1873
|
_: 2
|
|
1874
|
-
}, 1032, ["label"]))), 128)) :
|
|
1874
|
+
}, 1032, ["label"]))), 128)) : Jt("", !0),
|
|
1875
1875
|
E.ctype === "checkbox-group" ? (oe(!0), Ae(Wt, { key: 2 }, hn(E.checkboxList, (M) => (oe(), Ze(Ct("el-checkbox"), {
|
|
1876
1876
|
key: M,
|
|
1877
1877
|
label: M
|
|
1878
|
-
}, null, 8, ["label"]))), 128)) :
|
|
1878
|
+
}, null, 8, ["label"]))), 128)) : Jt("", !0),
|
|
1879
1879
|
E.ctype === "input" ? (oe(!0), Ae(Wt, { key: 3 }, hn((E.slots || []).filter((M) => M.type === "text"), (M) => (oe(), Ae("div", {
|
|
1880
1880
|
slot: M.name,
|
|
1881
1881
|
key: M.name
|
|
1882
|
-
}, on(M.inner), 9, V0))), 128)) :
|
|
1882
|
+
}, on(M.inner), 9, V0))), 128)) : Jt("", !0)
|
|
1883
1883
|
]),
|
|
1884
1884
|
_: 2
|
|
1885
1885
|
}, 1040, ["disabled", "modelValue", "onUpdate:modelValue", "onKeyup"]))
|
|
@@ -1918,7 +1918,7 @@ const q0 = () => {
|
|
|
1918
1918
|
Ie("div", n1, on(i == null ? void 0 : i.description), 1),
|
|
1919
1919
|
(oe(!0), Ae(Wt, null, hn(i == null ? void 0 : i.content, (p, _) => (oe(), Ae("div", r1, [
|
|
1920
1920
|
Ie("span", null, on(_) + ":", 1),
|
|
1921
|
-
|
|
1921
|
+
Qt(),
|
|
1922
1922
|
Ie("span", null, on(p), 1)
|
|
1923
1923
|
]))), 256)),
|
|
1924
1924
|
Ie("div", i1, on(i.time) + " 软件专业部", 1),
|
|
@@ -1928,13 +1928,13 @@ const q0 = () => {
|
|
|
1928
1928
|
onClick: Xo(Z0)
|
|
1929
1929
|
}, {
|
|
1930
1930
|
default: It(() => [
|
|
1931
|
-
|
|
1931
|
+
Qt("暂不更新")
|
|
1932
1932
|
]),
|
|
1933
1933
|
_: 1
|
|
1934
1934
|
}, 8, ["onClick"]),
|
|
1935
1935
|
Se(c, { onClick: Xo(q0) }, {
|
|
1936
1936
|
default: It(() => [
|
|
1937
|
-
|
|
1937
|
+
Qt("立即更新")
|
|
1938
1938
|
]),
|
|
1939
1939
|
_: 1
|
|
1940
1940
|
}, 8, ["onClick"])
|
|
@@ -4288,7 +4288,7 @@ ta.exports;
|
|
|
4288
4288
|
function Lr(x) {
|
|
4289
4289
|
return Or(x) ? sh(x) : Vc(x);
|
|
4290
4290
|
}
|
|
4291
|
-
function
|
|
4291
|
+
function jt(x) {
|
|
4292
4292
|
return Or(x) ? lh(x) : Gc(x);
|
|
4293
4293
|
}
|
|
4294
4294
|
function Ms(x) {
|
|
@@ -4533,7 +4533,7 @@ ta.exports;
|
|
|
4533
4533
|
return this.__data__.has(e);
|
|
4534
4534
|
}
|
|
4535
4535
|
sr.prototype.add = sr.prototype.push = Zh, sr.prototype.has = Jh;
|
|
4536
|
-
function
|
|
4536
|
+
function en(e) {
|
|
4537
4537
|
var t = this.__data__ = new _n(e);
|
|
4538
4538
|
this.size = t.size;
|
|
4539
4539
|
}
|
|
@@ -4560,7 +4560,7 @@ ta.exports;
|
|
|
4560
4560
|
}
|
|
4561
4561
|
return n.set(e, t), this.size = n.size, this;
|
|
4562
4562
|
}
|
|
4563
|
-
|
|
4563
|
+
en.prototype.clear = Qh, en.prototype.delete = jh, en.prototype.get = ed, en.prototype.has = td, en.prototype.set = nd;
|
|
4564
4564
|
function Vs(e, t) {
|
|
4565
4565
|
var n = fe(e), o = !n && dr(e), s = !n && !o && Vn(e), h = !n && !o && !s && Yr(e), g = n || o || s || h, m = g ? Ka(e.length, hh) : [], S = m.length;
|
|
4566
4566
|
for (var O in e)
|
|
@@ -4582,15 +4582,15 @@ ta.exports;
|
|
|
4582
4582
|
return Io(bt(e));
|
|
4583
4583
|
}
|
|
4584
4584
|
function tu(e, t, n) {
|
|
4585
|
-
(n !== r && !
|
|
4585
|
+
(n !== r && !tn(e[t], n) || n === r && !(t in e)) && wn(e, t, n);
|
|
4586
4586
|
}
|
|
4587
4587
|
function di(e, t, n) {
|
|
4588
4588
|
var o = e[t];
|
|
4589
|
-
(!(De.call(e, t) &&
|
|
4589
|
+
(!(De.call(e, t) && tn(o, n)) || n === r && !(t in e)) && wn(e, t, n);
|
|
4590
4590
|
}
|
|
4591
4591
|
function ho(e, t) {
|
|
4592
4592
|
for (var n = e.length; n--; )
|
|
4593
|
-
if (
|
|
4593
|
+
if (tn(e[n][0], t))
|
|
4594
4594
|
return n;
|
|
4595
4595
|
return -1;
|
|
4596
4596
|
}
|
|
@@ -4644,7 +4644,7 @@ ta.exports;
|
|
|
4644
4644
|
g = qd(e, P, m);
|
|
4645
4645
|
}
|
|
4646
4646
|
}
|
|
4647
|
-
h || (h = new
|
|
4647
|
+
h || (h = new en());
|
|
4648
4648
|
var ee = h.get(e);
|
|
4649
4649
|
if (ee)
|
|
4650
4650
|
return ee;
|
|
@@ -4825,15 +4825,15 @@ ta.exports;
|
|
|
4825
4825
|
g = !0, L = !1;
|
|
4826
4826
|
}
|
|
4827
4827
|
if (Z && !L)
|
|
4828
|
-
return h || (h = new
|
|
4828
|
+
return h || (h = new en()), g || Yr(e) ? Ll(e, t, n, o, s, h) : Hd(e, t, S, n, o, s, h);
|
|
4829
4829
|
if (!(n & k)) {
|
|
4830
4830
|
var ee = L && De.call(e, "__wrapped__"), re = P && De.call(t, "__wrapped__");
|
|
4831
4831
|
if (ee || re) {
|
|
4832
4832
|
var pe = ee ? e.value() : e, ie = re ? t.value() : t;
|
|
4833
|
-
return h || (h = new
|
|
4833
|
+
return h || (h = new en()), s(pe, ie, n, o, h);
|
|
4834
4834
|
}
|
|
4835
4835
|
}
|
|
4836
|
-
return Z ? (h || (h = new
|
|
4836
|
+
return Z ? (h || (h = new en()), zd(e, t, n, o, s, h)) : !1;
|
|
4837
4837
|
}
|
|
4838
4838
|
function md(e) {
|
|
4839
4839
|
return ze(e) && ht(e) == At;
|
|
@@ -4854,7 +4854,7 @@ ta.exports;
|
|
|
4854
4854
|
if (O === r && !(S in e))
|
|
4855
4855
|
return !1;
|
|
4856
4856
|
} else {
|
|
4857
|
-
var P = new
|
|
4857
|
+
var P = new en();
|
|
4858
4858
|
if (o)
|
|
4859
4859
|
var Z = o(O, L, S, e, t, P);
|
|
4860
4860
|
if (!(Z === r ? vi(L, O, k | q, o, P) : Z))
|
|
@@ -4920,7 +4920,7 @@ ta.exports;
|
|
|
4920
4920
|
}
|
|
4921
4921
|
function vo(e, t, n, o, s) {
|
|
4922
4922
|
e !== t && ru(t, function(h, g) {
|
|
4923
|
-
if (s || (s = new
|
|
4923
|
+
if (s || (s = new en()), Ye(h))
|
|
4924
4924
|
xd(e, t, g, n, vo, o, s);
|
|
4925
4925
|
else {
|
|
4926
4926
|
var m = o ? o(Au(e, g), h, g + "", e, t, s) : r;
|
|
@@ -5096,7 +5096,7 @@ ta.exports;
|
|
|
5096
5096
|
function cl(e, t) {
|
|
5097
5097
|
for (var n = -1, o = e.length, s = 0, h = []; ++n < o; ) {
|
|
5098
5098
|
var g = e[n], m = t ? t(g) : g;
|
|
5099
|
-
if (!n || !
|
|
5099
|
+
if (!n || !tn(m, S)) {
|
|
5100
5100
|
var S = m;
|
|
5101
5101
|
h[s++] = g === 0 ? 0 : g;
|
|
5102
5102
|
}
|
|
@@ -5324,7 +5324,7 @@ ta.exports;
|
|
|
5324
5324
|
function Tl(e) {
|
|
5325
5325
|
return function(t) {
|
|
5326
5326
|
t = Ce(t);
|
|
5327
|
-
var n = Or(t) ?
|
|
5327
|
+
var n = Or(t) ? jt(t) : r, o = n ? n[0] : t.charAt(0), s = n ? zn(n, 1).join("") : t.slice(1);
|
|
5328
5328
|
return o[e]() + s;
|
|
5329
5329
|
};
|
|
5330
5330
|
}
|
|
@@ -5442,8 +5442,8 @@ ta.exports;
|
|
|
5442
5442
|
O - me
|
|
5443
5443
|
);
|
|
5444
5444
|
}
|
|
5445
|
-
var
|
|
5446
|
-
return me = ye.length, m ? ye = op(ye, m) : re && me > 1 && ye.reverse(), L && S < me && (ye.length = S), this && this !== st && this instanceof ie && (In = pe || _i(In)), In.apply(
|
|
5445
|
+
var nn = P ? n : this, In = Z ? nn[e] : e;
|
|
5446
|
+
return me = ye.length, m ? ye = op(ye, m) : re && me > 1 && ye.reverse(), L && S < me && (ye.length = S), this && this !== st && this instanceof ie && (In = pe || _i(In)), In.apply(nn, ye);
|
|
5447
5447
|
}
|
|
5448
5448
|
return ie;
|
|
5449
5449
|
}
|
|
@@ -5481,7 +5481,7 @@ ta.exports;
|
|
|
5481
5481
|
if (n < 2)
|
|
5482
5482
|
return n ? hu(t, e) : t;
|
|
5483
5483
|
var o = hu(t, uo(e / Lr(t)));
|
|
5484
|
-
return Or(t) ? zn(
|
|
5484
|
+
return Or(t) ? zn(jt(o), 0, e).join("") : o.slice(0, e);
|
|
5485
5485
|
}
|
|
5486
5486
|
function $d(e, t, n, o) {
|
|
5487
5487
|
var s = t & Y, h = _i(e);
|
|
@@ -5569,7 +5569,7 @@ ta.exports;
|
|
|
5569
5569
|
return Yl(pe(re, ee), e, t);
|
|
5570
5570
|
}
|
|
5571
5571
|
function Nl(e, t, n, o) {
|
|
5572
|
-
return e === r ||
|
|
5572
|
+
return e === r || tn(e, Br[n]) && !De.call(o, n) ? t : e;
|
|
5573
5573
|
}
|
|
5574
5574
|
function Ol(e, t, n, o, s, h) {
|
|
5575
5575
|
return Ye(e) && Ye(t) && (h.set(t, e), vo(e, t, r, Ol, h), h.delete(t)), e;
|
|
@@ -5621,7 +5621,7 @@ ta.exports;
|
|
|
5621
5621
|
case Qn:
|
|
5622
5622
|
case jn:
|
|
5623
5623
|
case wt:
|
|
5624
|
-
return
|
|
5624
|
+
return tn(+e, +t);
|
|
5625
5625
|
case br:
|
|
5626
5626
|
return e.name == t.name && e.message == t.message;
|
|
5627
5627
|
case vn:
|
|
@@ -5849,7 +5849,7 @@ ta.exports;
|
|
|
5849
5849
|
if (!Ye(n))
|
|
5850
5850
|
return !1;
|
|
5851
5851
|
var o = typeof t;
|
|
5852
|
-
return (o == "number" ? xt(n) && Sn(t, n.length) : o == "string" && t in n) ?
|
|
5852
|
+
return (o == "number" ? xt(n) && Sn(t, n.length) : o == "string" && t in n) ? tn(n[t], e) : !1;
|
|
5853
5853
|
}
|
|
5854
5854
|
function Iu(e, t) {
|
|
5855
5855
|
if (fe(e))
|
|
@@ -6171,7 +6171,7 @@ ta.exports;
|
|
|
6171
6171
|
var n = e == null ? 0 : e.length;
|
|
6172
6172
|
if (n) {
|
|
6173
6173
|
var o = mo(e, t);
|
|
6174
|
-
if (o < n &&
|
|
6174
|
+
if (o < n && tn(e[o], t))
|
|
6175
6175
|
return o;
|
|
6176
6176
|
}
|
|
6177
6177
|
return -1;
|
|
@@ -6186,7 +6186,7 @@ ta.exports;
|
|
|
6186
6186
|
var n = e == null ? 0 : e.length;
|
|
6187
6187
|
if (n) {
|
|
6188
6188
|
var o = mo(e, t, !0) - 1;
|
|
6189
|
-
if (
|
|
6189
|
+
if (tn(e[o], t))
|
|
6190
6190
|
return o;
|
|
6191
6191
|
}
|
|
6192
6192
|
return -1;
|
|
@@ -6484,19 +6484,19 @@ ta.exports;
|
|
|
6484
6484
|
throw new Ht(_);
|
|
6485
6485
|
t = Kt(t) || 0, Ye(n) && (L = !!n.leading, P = "maxWait" in n, h = P ? et(Kt(n.maxWait) || 0, t) : h, Z = "trailing" in n ? !!n.trailing : Z);
|
|
6486
6486
|
function ee(Ke) {
|
|
6487
|
-
var
|
|
6488
|
-
return o = s = r, O = Ke, g = e.apply(In,
|
|
6487
|
+
var nn = o, In = s;
|
|
6488
|
+
return o = s = r, O = Ke, g = e.apply(In, nn), g;
|
|
6489
6489
|
}
|
|
6490
6490
|
function re(Ke) {
|
|
6491
6491
|
return O = Ke, m = wi(me, t), L ? ee(Ke) : g;
|
|
6492
6492
|
}
|
|
6493
6493
|
function pe(Ke) {
|
|
6494
|
-
var
|
|
6494
|
+
var nn = Ke - S, In = Ke - O, If = t - nn;
|
|
6495
6495
|
return P ? ct(If, h - In) : If;
|
|
6496
6496
|
}
|
|
6497
6497
|
function ie(Ke) {
|
|
6498
|
-
var
|
|
6499
|
-
return S === r ||
|
|
6498
|
+
var nn = Ke - S, In = Ke - O;
|
|
6499
|
+
return S === r || nn >= t || nn < 0 || P && In >= h;
|
|
6500
6500
|
}
|
|
6501
6501
|
function me() {
|
|
6502
6502
|
var Ke = Do();
|
|
@@ -6514,8 +6514,8 @@ ta.exports;
|
|
|
6514
6514
|
return m === r ? g : ye(Do());
|
|
6515
6515
|
}
|
|
6516
6516
|
function Pt() {
|
|
6517
|
-
var Ke = Do(),
|
|
6518
|
-
if (o = arguments, s = this, S = Ke,
|
|
6517
|
+
var Ke = Do(), nn = ie(Ke);
|
|
6518
|
+
if (o = arguments, s = this, S = Ke, nn) {
|
|
6519
6519
|
if (m === r)
|
|
6520
6520
|
return re(S);
|
|
6521
6521
|
if (P)
|
|
@@ -6634,7 +6634,7 @@ ta.exports;
|
|
|
6634
6634
|
function rv(e, t) {
|
|
6635
6635
|
return t == null || Ks(e, t, it(t));
|
|
6636
6636
|
}
|
|
6637
|
-
function
|
|
6637
|
+
function tn(e, t) {
|
|
6638
6638
|
return e === t || e !== e && t !== t;
|
|
6639
6639
|
}
|
|
6640
6640
|
var iv = So(ou), ov = So(function(e, t) {
|
|
@@ -6769,7 +6769,7 @@ ta.exports;
|
|
|
6769
6769
|
if (!e)
|
|
6770
6770
|
return [];
|
|
6771
6771
|
if (xt(e))
|
|
6772
|
-
return Lo(e) ?
|
|
6772
|
+
return Lo(e) ? jt(e) : bt(e);
|
|
6773
6773
|
if (si && e[si])
|
|
6774
6774
|
return rh(e[si]());
|
|
6775
6775
|
var t = ht(e), n = t == At ? Za : t == pt ? Ji : Hr;
|
|
@@ -6839,7 +6839,7 @@ ta.exports;
|
|
|
6839
6839
|
for (s && mt(t[0], t[1], s) && (o = 1); ++n < o; )
|
|
6840
6840
|
for (var h = t[n], g = St(h), m = -1, S = g.length; ++m < S; ) {
|
|
6841
6841
|
var O = g[m], L = e[O];
|
|
6842
|
-
(L === r ||
|
|
6842
|
+
(L === r || tn(L, Br[O]) && !De.call(e, O)) && (e[O] = h[O]);
|
|
6843
6843
|
}
|
|
6844
6844
|
return e;
|
|
6845
6845
|
}), Ov = ge(function(e) {
|
|
@@ -7051,7 +7051,7 @@ ta.exports;
|
|
|
7051
7051
|
return e + (n ? "_" : "") + t.toLowerCase();
|
|
7052
7052
|
});
|
|
7053
7053
|
function xm(e, t, n) {
|
|
7054
|
-
return n && typeof n != "number" && mt(e, t, n) && (t = n = r), n = n === r ? ke : n >>> 0, n ? (e = Ce(e), e && (typeof t == "string" || t != null && !Bu(t)) && (t = Nt(t), !t && Or(e)) ? zn(
|
|
7054
|
+
return n && typeof n != "number" && mt(e, t, n) && (t = n = r), n = n === r ? ke : n >>> 0, n ? (e = Ce(e), e && (typeof t == "string" || t != null && !Bu(t)) && (t = Nt(t), !t && Or(e)) ? zn(jt(e), 0, n) : e.split(t, n)) : [];
|
|
7055
7055
|
}
|
|
7056
7056
|
var Sm = $r(function(e, t, n) {
|
|
7057
7057
|
return e + (n ? " " : "") + Wu(t);
|
|
@@ -7110,7 +7110,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
7110
7110
|
return Os(e);
|
|
7111
7111
|
if (!e || !(t = Nt(t)))
|
|
7112
7112
|
return e;
|
|
7113
|
-
var o =
|
|
7113
|
+
var o = jt(e), s = jt(t), h = Ls(o, s), g = Ps(o, s) + 1;
|
|
7114
7114
|
return zn(o, h, g).join("");
|
|
7115
7115
|
}
|
|
7116
7116
|
function Dm(e, t, n) {
|
|
@@ -7118,7 +7118,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
7118
7118
|
return e.slice(0, Ms(e) + 1);
|
|
7119
7119
|
if (!e || !(t = Nt(t)))
|
|
7120
7120
|
return e;
|
|
7121
|
-
var o =
|
|
7121
|
+
var o = jt(e), s = Ps(o, jt(t)) + 1;
|
|
7122
7122
|
return zn(o, 0, s).join("");
|
|
7123
7123
|
}
|
|
7124
7124
|
function Rm(e, t, n) {
|
|
@@ -7126,7 +7126,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
7126
7126
|
return e.replace(ii, "");
|
|
7127
7127
|
if (!e || !(t = Nt(t)))
|
|
7128
7128
|
return e;
|
|
7129
|
-
var o =
|
|
7129
|
+
var o = jt(e), s = Ls(o, jt(t));
|
|
7130
7130
|
return zn(o, s).join("");
|
|
7131
7131
|
}
|
|
7132
7132
|
function Nm(e, t) {
|
|
@@ -7138,7 +7138,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
7138
7138
|
e = Ce(e);
|
|
7139
7139
|
var h = e.length;
|
|
7140
7140
|
if (Or(e)) {
|
|
7141
|
-
var g =
|
|
7141
|
+
var g = jt(e);
|
|
7142
7142
|
h = g.length;
|
|
7143
7143
|
}
|
|
7144
7144
|
if (n >= h)
|
|
@@ -7330,7 +7330,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
7330
7330
|
function __(e, t) {
|
|
7331
7331
|
return e && e.length ? Xa(e, ne(t, 2)) : 0;
|
|
7332
7332
|
}
|
|
7333
|
-
return l.after = $g, l.ary = tf, l.assign = Cv, l.assignIn = vf, l.assignInWith = Po, l.assignWith = Av, l.at = Dv, l.before = nf, l.bind = Ou, l.bindAll = Pm, l.bindKey = rf, l.castArray = Qg, l.chain = Ql, l.chunk = up, l.compact = sp, l.concat = lp, l.cond = Bm, l.conforms = Mm, l.constant = Uu, l.countBy = mg, l.create = Rv, l.curry = of, l.curryRight = af, l.debounce = uf, l.defaults = Nv, l.defaultsDeep = Ov, l.defer = kg, l.delay = Yg, l.difference = fp, l.differenceBy = cp, l.differenceWith = hp, l.drop = dp, l.dropRight = pp, l.dropRightWhile = gp, l.dropWhile = vp, l.fill = mp, l.filter = yg, l.flatMap = xg, l.flatMapDeep = Sg, l.flatMapDepth = Tg, l.flatten = Kl, l.flattenDeep = _p, l.flattenDepth = yp, l.flip = Hg, l.flow = Wm, l.flowRight = Um, l.fromPairs = wp, l.functions = Uv, l.functionsIn = $v, l.groupBy = Eg, l.initial = xp, l.intersection = Sp, l.intersectionBy = Tp, l.intersectionWith = Ep, l.invert = Yv, l.invertBy = Hv, l.invokeMap = Cg, l.iteratee = $u, l.keyBy = Ag, l.keys = it, l.keysIn = St, l.map = Ao, l.mapKeys = Vv, l.mapValues = Gv, l.matches = $m, l.matchesProperty = km, l.memoize = Ro, l.merge = Xv, l.mergeWith = mf, l.method = Ym, l.methodOf = Hm, l.mixin = ku, l.negate = No, l.nthArg = Vm, l.omit = Kv, l.omitBy = qv, l.once = zg, l.orderBy = Dg, l.over = Gm, l.overArgs = Vg, l.overEvery = Xm, l.overSome = Km, l.partial = Lu, l.partialRight = sf, l.partition = Rg, l.pick = Zv, l.pickBy = _f, l.property = Ef, l.propertyOf = qm, l.pull = Dp, l.pullAll = Zl, l.pullAllBy = Rp, l.pullAllWith = Np, l.pullAt = Op, l.range = Zm, l.rangeRight = Jm, l.rearg = Gg, l.reject = Lg, l.remove = Lp, l.rest = Xg, l.reverse = Ru, l.sampleSize = Bg, l.set = Qv, l.setWith = jv, l.shuffle = Mg, l.slice = Pp, l.sortBy = Ug, l.sortedUniq = kp, l.sortedUniqBy = Yp, l.split = xm, l.spread = Kg, l.tail = Hp, l.take = zp, l.takeRight = Vp, l.takeRightWhile = Gp, l.takeWhile = Xp, l.tap = sg, l.throttle = qg, l.thru = Co, l.toArray = df, l.toPairs = yf, l.toPairsIn = wf, l.toPath = n_, l.toPlainObject = gf, l.transform = em, l.unary = Zg, l.union = Kp, l.unionBy = qp, l.unionWith = Zp, l.uniq = Jp, l.uniqBy = Qp, l.uniqWith = jp, l.unset = tm, l.unzip = Nu, l.unzipWith = Jl, l.update = nm, l.updateWith = rm, l.values = Hr, l.valuesIn = im, l.without = eg, l.words = Sf, l.wrap = Jg, l.xor = tg, l.xorBy = ng, l.xorWith = rg, l.zip = ig, l.zipObject = og, l.zipObjectDeep = ag, l.zipWith = ug, l.entries = yf, l.entriesIn = wf, l.extend = vf, l.extendWith = Po, ku(l, l), l.add = i_, l.attempt = Tf, l.camelCase = sm, l.capitalize = bf, l.ceil = o_, l.clamp = om, l.clone = jg, l.cloneDeep = tv, l.cloneDeepWith = nv, l.cloneWith = ev, l.conformsTo = rv, l.deburr = xf, l.defaultTo = Fm, l.divide = a_, l.endsWith = lm, l.eq =
|
|
7333
|
+
return l.after = $g, l.ary = tf, l.assign = Cv, l.assignIn = vf, l.assignInWith = Po, l.assignWith = Av, l.at = Dv, l.before = nf, l.bind = Ou, l.bindAll = Pm, l.bindKey = rf, l.castArray = Qg, l.chain = Ql, l.chunk = up, l.compact = sp, l.concat = lp, l.cond = Bm, l.conforms = Mm, l.constant = Uu, l.countBy = mg, l.create = Rv, l.curry = of, l.curryRight = af, l.debounce = uf, l.defaults = Nv, l.defaultsDeep = Ov, l.defer = kg, l.delay = Yg, l.difference = fp, l.differenceBy = cp, l.differenceWith = hp, l.drop = dp, l.dropRight = pp, l.dropRightWhile = gp, l.dropWhile = vp, l.fill = mp, l.filter = yg, l.flatMap = xg, l.flatMapDeep = Sg, l.flatMapDepth = Tg, l.flatten = Kl, l.flattenDeep = _p, l.flattenDepth = yp, l.flip = Hg, l.flow = Wm, l.flowRight = Um, l.fromPairs = wp, l.functions = Uv, l.functionsIn = $v, l.groupBy = Eg, l.initial = xp, l.intersection = Sp, l.intersectionBy = Tp, l.intersectionWith = Ep, l.invert = Yv, l.invertBy = Hv, l.invokeMap = Cg, l.iteratee = $u, l.keyBy = Ag, l.keys = it, l.keysIn = St, l.map = Ao, l.mapKeys = Vv, l.mapValues = Gv, l.matches = $m, l.matchesProperty = km, l.memoize = Ro, l.merge = Xv, l.mergeWith = mf, l.method = Ym, l.methodOf = Hm, l.mixin = ku, l.negate = No, l.nthArg = Vm, l.omit = Kv, l.omitBy = qv, l.once = zg, l.orderBy = Dg, l.over = Gm, l.overArgs = Vg, l.overEvery = Xm, l.overSome = Km, l.partial = Lu, l.partialRight = sf, l.partition = Rg, l.pick = Zv, l.pickBy = _f, l.property = Ef, l.propertyOf = qm, l.pull = Dp, l.pullAll = Zl, l.pullAllBy = Rp, l.pullAllWith = Np, l.pullAt = Op, l.range = Zm, l.rangeRight = Jm, l.rearg = Gg, l.reject = Lg, l.remove = Lp, l.rest = Xg, l.reverse = Ru, l.sampleSize = Bg, l.set = Qv, l.setWith = jv, l.shuffle = Mg, l.slice = Pp, l.sortBy = Ug, l.sortedUniq = kp, l.sortedUniqBy = Yp, l.split = xm, l.spread = Kg, l.tail = Hp, l.take = zp, l.takeRight = Vp, l.takeRightWhile = Gp, l.takeWhile = Xp, l.tap = sg, l.throttle = qg, l.thru = Co, l.toArray = df, l.toPairs = yf, l.toPairsIn = wf, l.toPath = n_, l.toPlainObject = gf, l.transform = em, l.unary = Zg, l.union = Kp, l.unionBy = qp, l.unionWith = Zp, l.uniq = Jp, l.uniqBy = Qp, l.uniqWith = jp, l.unset = tm, l.unzip = Nu, l.unzipWith = Jl, l.update = nm, l.updateWith = rm, l.values = Hr, l.valuesIn = im, l.without = eg, l.words = Sf, l.wrap = Jg, l.xor = tg, l.xorBy = ng, l.xorWith = rg, l.zip = ig, l.zipObject = og, l.zipObjectDeep = ag, l.zipWith = ug, l.entries = yf, l.entriesIn = wf, l.extend = vf, l.extendWith = Po, ku(l, l), l.add = i_, l.attempt = Tf, l.camelCase = sm, l.capitalize = bf, l.ceil = o_, l.clamp = om, l.clone = jg, l.cloneDeep = tv, l.cloneDeepWith = nv, l.cloneWith = ev, l.conformsTo = rv, l.deburr = xf, l.defaultTo = Fm, l.divide = a_, l.endsWith = lm, l.eq = tn, l.escape = fm, l.escapeRegExp = cm, l.every = _g, l.find = wg, l.findIndex = Gl, l.findKey = Lv, l.findLast = bg, l.findLastIndex = Xl, l.findLastKey = Pv, l.floor = u_, l.forEach = jl, l.forEachRight = ef, l.forIn = Bv, l.forInRight = Mv, l.forOwn = Fv, l.forOwnRight = Wv, l.get = Mu, l.gt = iv, l.gte = ov, l.has = kv, l.hasIn = Fu, l.head = ql, l.identity = Tt, l.includes = Ig, l.indexOf = bp, l.inRange = am, l.invoke = zv, l.isArguments = dr, l.isArray = fe, l.isArrayBuffer = av, l.isArrayLike = xt, l.isArrayLikeObject = Xe, l.isBoolean = uv, l.isBuffer = Vn, l.isDate = sv, l.isElement = lv, l.isEmpty = fv, l.isEqual = cv, l.isEqualWith = hv, l.isError = Pu, l.isFinite = dv, l.isFunction = Tn, l.isInteger = lf, l.isLength = Oo, l.isMap = ff, l.isMatch = pv, l.isMatchWith = gv, l.isNaN = vv, l.isNative = mv, l.isNil = yv, l.isNull = _v, l.isNumber = cf, l.isObject = Ye, l.isObjectLike = ze, l.isPlainObject = bi, l.isRegExp = Bu, l.isSafeInteger = wv, l.isSet = hf, l.isString = Lo, l.isSymbol = Ot, l.isTypedArray = Yr, l.isUndefined = bv, l.isWeakMap = xv, l.isWeakSet = Sv, l.join = Ip, l.kebabCase = hm, l.last = Xt, l.lastIndexOf = Cp, l.lowerCase = dm, l.lowerFirst = pm, l.lt = Tv, l.lte = Ev, l.max = s_, l.maxBy = l_, l.mean = f_, l.meanBy = c_, l.min = h_, l.minBy = d_, l.stubArray = Hu, l.stubFalse = zu, l.stubObject = Qm, l.stubString = jm, l.stubTrue = e_, l.multiply = p_, l.nth = Ap, l.noConflict = zm, l.noop = Yu, l.now = Do, l.pad = gm, l.padEnd = vm, l.padStart = mm, l.parseInt = _m, l.random = um, l.reduce = Ng, l.reduceRight = Og, l.repeat = ym, l.replace = wm, l.result = Jv, l.round = g_, l.runInContext = x, l.sample = Pg, l.size = Fg, l.snakeCase = bm, l.some = Wg, l.sortedIndex = Bp, l.sortedIndexBy = Mp, l.sortedIndexOf = Fp, l.sortedLastIndex = Wp, l.sortedLastIndexBy = Up, l.sortedLastIndexOf = $p, l.startCase = Sm, l.startsWith = Tm, l.subtract = v_, l.sum = m_, l.sumBy = __, l.template = Em, l.times = t_, l.toFinite = En, l.toInteger = he, l.toLength = pf, l.toLower = Im, l.toNumber = Kt, l.toSafeInteger = Iv, l.toString = Ce, l.toUpper = Cm, l.trim = Am, l.trimEnd = Dm, l.trimStart = Rm, l.truncate = Nm, l.unescape = Om, l.uniqueId = r_, l.upperCase = Lm, l.upperFirst = Wu, l.each = jl, l.eachRight = ef, l.first = ql, ku(l, function() {
|
|
7334
7334
|
var e = {};
|
|
7335
7335
|
return sn(l, function(t, n) {
|
|
7336
7336
|
De.call(l.prototype, n) || (e[n] = t);
|
|
@@ -7442,17 +7442,18 @@ const Yf = ["svg", "g", "path", "polyline", "circle"], M1 = {
|
|
|
7442
7442
|
let rs;
|
|
7443
7443
|
class F1 {
|
|
7444
7444
|
constructor() {
|
|
7445
|
-
|
|
7446
|
-
|
|
7447
|
-
|
|
7448
|
-
|
|
7449
|
-
|
|
7450
|
-
|
|
7451
|
-
|
|
7452
|
-
|
|
7453
|
-
|
|
7454
|
-
|
|
7455
|
-
this
|
|
7445
|
+
qt(this, "from");
|
|
7446
|
+
qt(this, "to");
|
|
7447
|
+
qt(this, "yxI18nThesaurus");
|
|
7448
|
+
qt(this, "systemKey");
|
|
7449
|
+
qt(this, "dbKey");
|
|
7450
|
+
qt(this, "unknownWords");
|
|
7451
|
+
qt(this, "unknownWordsNode");
|
|
7452
|
+
qt(this, "rootDocument");
|
|
7453
|
+
qt(this, "unknownWordsInputNode");
|
|
7454
|
+
qt(this, "translateApiUrl");
|
|
7455
|
+
qt(this, "maxWordsLength");
|
|
7456
|
+
this.from = "zh", this.to = "en", this.yxI18nThesaurus = {}, this.systemKey = "station-control", this.dbKey = "", this.initTranslate = this.initTranslate.bind(this), this.unknownWords = [], this.unknownWordsNode = /* @__PURE__ */ new Map(), this.unknownWordsInputNode = /* @__PURE__ */ new Map(), this.rootDocument = null, this.translateApiUrl = null, this.maxWordsLength = 100;
|
|
7456
7457
|
}
|
|
7457
7458
|
initTranslate(c) {
|
|
7458
7459
|
return ot(this, arguments, function* ({ to: i, systemKey: r, translateApiUrl: u }) {
|
|
@@ -7494,7 +7495,7 @@ class F1 {
|
|
|
7494
7495
|
handleTextNodes(i) {
|
|
7495
7496
|
if (Bt.test(i == null ? void 0 : i.data) || Bt.test(i == null ? void 0 : i.nodeValue)) {
|
|
7496
7497
|
const r = i.nodeValue.replace(/\s/g, "");
|
|
7497
|
-
this.yxI18nThesaurus[r] ? i.nodeValue = this.yxI18nThesaurus[r] : (this.unknownWords.includes(r)
|
|
7498
|
+
this.yxI18nThesaurus[r] ? i.nodeValue = this.yxI18nThesaurus[r] : (!this.unknownWords.includes(r) && r.length <= this.maxWordsLength && this.unknownWords.push(r), this.collectNeedsTranslateNode(i, r));
|
|
7498
7499
|
}
|
|
7499
7500
|
}
|
|
7500
7501
|
//处理监听节点是childList的情况,动态处理各种组件的情况
|
|
@@ -7568,7 +7569,7 @@ class F1 {
|
|
|
7568
7569
|
}
|
|
7569
7570
|
replaceInputValue(i, r, u = !1) {
|
|
7570
7571
|
const c = i[r];
|
|
7571
|
-
Bt.test(c) && (this.yxI18nThesaurus[c] ? i[r] = this.yxI18nThesaurus[c] : (this.unknownWords.includes(c)
|
|
7572
|
+
Bt.test(c) && (this.yxI18nThesaurus[c] ? i[r] = this.yxI18nThesaurus[c] : (!this.unknownWords.includes(c) && c.length <= this.maxWordsLength && (this.unknownWords.push(c), console.log("未找到匹配项:", c, this.yxI18nThesaurus)), u || this.collectNeedsTranslateInputNode(i)));
|
|
7572
7573
|
}
|
|
7573
7574
|
//收集input节点
|
|
7574
7575
|
collectNeedsTranslateInputNode(i) {
|
|
@@ -7587,7 +7588,7 @@ class F1 {
|
|
|
7587
7588
|
if (r[i] === "")
|
|
7588
7589
|
return;
|
|
7589
7590
|
const c = r[i].replace(/\s/g, "");
|
|
7590
|
-
this.yxI18nThesaurus[c] ? r[i] = this.yxI18nThesaurus[c] : (this.unknownWords.includes(c)
|
|
7591
|
+
this.yxI18nThesaurus[c] ? r[i] = this.yxI18nThesaurus[c] : (!this.unknownWords.includes(c) && c.length <= this.maxWordsLength && (this.unknownWords.push(c), console.log("未找到匹配项:")), u ? (console.log("异步处理时被新收集进去的值", c), this.startMicroTaskQueue()) : this.collectNeedsTranslateNode(r));
|
|
7591
7592
|
}
|
|
7592
7593
|
//等待本次同步后,收集未翻译的字符,去后端进行翻译
|
|
7593
7594
|
translateUnknownWords(i, r) {
|
|
@@ -7813,7 +7814,7 @@ function ty(a, i, r, u, c, p) {
|
|
|
7813
7814
|
Zf(Ie("div", {
|
|
7814
7815
|
class: Ko(["toolbar-container", r.showTool ? "zoom-in" : "zoom-out "])
|
|
7815
7816
|
}, [
|
|
7816
|
-
c.curComponent.name ?
|
|
7817
|
+
c.curComponent.name ? Jt("", !0) : (oe(), Ae("div", {
|
|
7817
7818
|
key: 0,
|
|
7818
7819
|
style: mr({ "grid-template-columns": c.columns, "grid-template-rows": c.rows }),
|
|
7819
7820
|
class: "toolbar-wrap"
|
|
@@ -7834,7 +7835,7 @@ function ty(a, i, r, u, c, p) {
|
|
|
7834
7835
|
y.isShowBadge ? (oe(), Ze(_, {
|
|
7835
7836
|
key: 0,
|
|
7836
7837
|
value: r.badgeValue
|
|
7837
|
-
}, null, 8, ["value"])) :
|
|
7838
|
+
}, null, 8, ["value"])) : Jt("", !0)
|
|
7838
7839
|
]),
|
|
7839
7840
|
Ie("span", K1, on(y.label), 1)
|
|
7840
7841
|
], 8, V1)
|
|
@@ -7867,8 +7868,8 @@ function ty(a, i, r, u, c, p) {
|
|
|
7867
7868
|
title: y.name,
|
|
7868
7869
|
class: "px-10 cursor-pointer mt-10 whitespace-nowrap truncate"
|
|
7869
7870
|
}, on(y.name), 9, ey))), 256))
|
|
7870
|
-
])) :
|
|
7871
|
-
])) :
|
|
7871
|
+
])) : Jt("", !0)
|
|
7872
|
+
])) : Jt("", !0)
|
|
7872
7873
|
], 2), [
|
|
7873
7874
|
[Jf, r.showTool]
|
|
7874
7875
|
])
|
|
@@ -7987,7 +7988,7 @@ function fy(a, i, r, u, c, p) {
|
|
|
7987
7988
|
c.showBadge ? (oe(), Ze(_, {
|
|
7988
7989
|
key: 0,
|
|
7989
7990
|
value: c.badgeValue
|
|
7990
|
-
}, null, 8, ["value"])) :
|
|
7991
|
+
}, null, 8, ["value"])) : Jt("", !0)
|
|
7991
7992
|
], 34),
|
|
7992
7993
|
Ie("div", {
|
|
7993
7994
|
class: Ko(["mask", `${p.showClass}`]),
|
package/lib/index.es2.js.gz
CHANGED
|
Binary file
|