ant-design-x-vue 1.3.1 → 1.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.esm.js +283 -281
- package/dist/index.esm.min.js +2 -2
- package/dist/index.umd.js +2 -2
- package/es/attachments/FileList/FileList.mjs +46 -48
- package/es/suggestion/Suggestion.mjs +42 -38
- package/lib/attachments/FileList/FileList.js +1 -1
- package/lib/suggestion/Suggestion.js +1 -1
- package/package.json +2 -1
- package/typings/use-x-agent/use-x-agent.d.ts +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var J1 = Object.defineProperty;
|
|
2
2
|
var eS = (e, t, n) => t in e ? J1(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
|
|
3
3
|
var So = (e, t, n) => eS(e, typeof t != "symbol" ? t + "" : t, n);
|
|
4
|
-
import { computed as x, inject as Se, provide as Ce, defineComponent as U, watch as
|
|
4
|
+
import { computed as x, inject as Se, provide as Ce, defineComponent as U, watch as ee, unref as se, shallowRef as K, triggerRef as Jt, Fragment as Te, isVNode as Vt, Comment as tS, Text as Pv, reactive as Be, getCurrentInstance as pt, onMounted as $e, onUpdated as po, onUnmounted as Fn, ref as Q, watchEffect as xe, onBeforeUnmount as Le, createVNode as m, h as lo, Transition as Xt, withDirectives as en, resolveDirective as nS, cloneVNode as ci, nextTick as De, toRef as Oe, withModifiers as of, vShow as pn, onBeforeMount as oS, Teleport as Ka, createTextVNode as _r, isRef as rS, toRefs as Uc, toRaw as Et, render as Vr, onBeforeUpdate as Iv, TransitionGroup as Ga, createApp as iS, useSlots as Lt, mergeProps as Ge, onWatcherCleanup as or, toValue as Re, mergeDefaults as at, useAttrs as Tv, watchPostEffect as aS, renderList as lS, getCurrentScope as sS, onScopeDispose as cS, useTemplateRef as Xo, createElementBlock as Ev, openBlock as Av, createElementVNode as zo, useId as uS } from "vue";
|
|
5
5
|
const Tn = function() {
|
|
6
6
|
for (var e = arguments.length, t = new Array(e), n = 0; n < e; n++)
|
|
7
7
|
t[n] = arguments[n];
|
|
@@ -57,7 +57,7 @@ function Xe(e) {
|
|
|
57
57
|
default: e
|
|
58
58
|
};
|
|
59
59
|
}
|
|
60
|
-
function
|
|
60
|
+
function rt(e, t) {
|
|
61
61
|
return e ? {
|
|
62
62
|
type: e,
|
|
63
63
|
default: t
|
|
@@ -167,7 +167,7 @@ function bS(e, t) {
|
|
|
167
167
|
return e ? { type: e, default: t } : yS(t);
|
|
168
168
|
}
|
|
169
169
|
const Dv = Symbol("XProviderContext"), Bs = K(), SS = (e) => {
|
|
170
|
-
Ce(Dv, e),
|
|
170
|
+
Ce(Dv, e), ee(
|
|
171
171
|
e,
|
|
172
172
|
() => {
|
|
173
173
|
Bs.value = se(e), Jt(Bs);
|
|
@@ -768,7 +768,7 @@ const rr = U({
|
|
|
768
768
|
u();
|
|
769
769
|
}), Fn(() => {
|
|
770
770
|
a();
|
|
771
|
-
}),
|
|
771
|
+
}), ee(() => e.disabled, () => {
|
|
772
772
|
u();
|
|
773
773
|
}, {
|
|
774
774
|
flush: "post"
|
|
@@ -1149,7 +1149,7 @@ const Qv = Symbol("StyleContextKey"), dC = () => {
|
|
|
1149
1149
|
const t = qa(), n = K(h(h({}, Jv), {
|
|
1150
1150
|
cache: Xr()
|
|
1151
1151
|
}));
|
|
1152
|
-
return
|
|
1152
|
+
return ee([() => se(e), t], () => {
|
|
1153
1153
|
const o = h({}, t.value), r = se(e);
|
|
1154
1154
|
Object.keys(r).forEach((a) => {
|
|
1155
1155
|
const l = r[a];
|
|
@@ -1176,7 +1176,7 @@ const Qv = Symbol("StyleContextKey"), dC = () => {
|
|
|
1176
1176
|
/** Use `:where` selector to reduce hashId css selector priority */
|
|
1177
1177
|
hashPriority: Xe(),
|
|
1178
1178
|
/** Tell cssinjs where to inject style in */
|
|
1179
|
-
container:
|
|
1179
|
+
container: rt(),
|
|
1180
1180
|
/** Component wil render inline `<style />` for fallback in SSR. Not recommend. */
|
|
1181
1181
|
ssrInline: Ie(),
|
|
1182
1182
|
/** Transform css before inject in document. Please note that `transformers` do not support dynamic update */
|
|
@@ -1212,7 +1212,7 @@ function eh(e, t, n, o) {
|
|
|
1212
1212
|
return c - 1 === 0 ? (o == null || o(d, !1), null) : [c - 1, d];
|
|
1213
1213
|
});
|
|
1214
1214
|
};
|
|
1215
|
-
return
|
|
1215
|
+
return ee(i, (s, u) => {
|
|
1216
1216
|
u && l(u), r.value.cache.update(s, (c) => {
|
|
1217
1217
|
const [d = 0, f] = c || [], v = f || n();
|
|
1218
1218
|
return [d + 1, v];
|
|
@@ -2614,26 +2614,26 @@ var Bo = {
|
|
|
2614
2614
|
purple: "#722ED1",
|
|
2615
2615
|
magenta: "#EB2F96",
|
|
2616
2616
|
grey: "#666666"
|
|
2617
|
-
},
|
|
2617
|
+
}, it = {}, Xl = {};
|
|
2618
2618
|
Object.keys(Bo).forEach(function(e) {
|
|
2619
|
-
|
|
2619
|
+
it[e] = un(Bo[e]), it[e].primary = it[e][5], Xl[e] = un(Bo[e], {
|
|
2620
2620
|
theme: "dark",
|
|
2621
2621
|
backgroundColor: "#141414"
|
|
2622
2622
|
}), Xl[e].primary = Xl[e][5];
|
|
2623
2623
|
});
|
|
2624
|
-
|
|
2625
|
-
|
|
2626
|
-
var b$ =
|
|
2627
|
-
|
|
2628
|
-
|
|
2629
|
-
|
|
2630
|
-
|
|
2631
|
-
|
|
2632
|
-
var S$ =
|
|
2633
|
-
|
|
2634
|
-
|
|
2635
|
-
|
|
2636
|
-
|
|
2624
|
+
it.red;
|
|
2625
|
+
it.volcano;
|
|
2626
|
+
var b$ = it.gold;
|
|
2627
|
+
it.orange;
|
|
2628
|
+
it.yellow;
|
|
2629
|
+
it.lime;
|
|
2630
|
+
it.green;
|
|
2631
|
+
it.cyan;
|
|
2632
|
+
var S$ = it.blue;
|
|
2633
|
+
it.geekblue;
|
|
2634
|
+
it.purple;
|
|
2635
|
+
it.magenta;
|
|
2636
|
+
it.grey;
|
|
2637
2637
|
const Ch = (e) => {
|
|
2638
2638
|
const {
|
|
2639
2639
|
controlHeight: t
|
|
@@ -3334,7 +3334,7 @@ const D$ = ah(el), xa = {
|
|
|
3334
3334
|
token: Ja,
|
|
3335
3335
|
hashed: !0
|
|
3336
3336
|
}, Th = Symbol("DesignTokenContext"), Qs = K(), F$ = (e) => {
|
|
3337
|
-
Ce(Th, e),
|
|
3337
|
+
Ce(Th, e), ee(e, () => {
|
|
3338
3338
|
Qs.value = se(e), Jt(Qs);
|
|
3339
3339
|
}, {
|
|
3340
3340
|
immediate: !0,
|
|
@@ -3738,8 +3738,8 @@ var Ff = function(e, t) {
|
|
|
3738
3738
|
if (d === D) ne = r === "start" ? E : r === "end" ? E - g : r === "nearest" ? Ni(b, b + g, g, oe, Z, b + E, b + E + $, $) : E - g / 2, V = i === "start" ? M : i === "center" ? M - v / 2 : i === "end" ? M - v : Ni(y, y + v, v, J, re, y + M, y + M + w, w), ne = Math.max(0, ne + b), V = Math.max(0, V + y);
|
|
3739
3739
|
else {
|
|
3740
3740
|
ne = r === "start" ? E - N - oe : r === "end" ? E - R + Z + X : r === "nearest" ? Ni(N, R, I, oe, Z + X, E, E + $, $) : E - (N + I / 2) + X / 2, V = i === "start" ? M - _ - J : i === "center" ? M - (_ + A / 2) + Y / 2 : i === "end" ? M - L + re + Y : Ni(_, L, A, J, re + Y, M, M + w, w);
|
|
3741
|
-
var q = D.scrollLeft,
|
|
3742
|
-
E +=
|
|
3741
|
+
var q = D.scrollLeft, te = D.scrollTop;
|
|
3742
|
+
E += te - (ne = Math.max(0, Math.min(te + ne / k, D.scrollHeight - I / k + X))), M += q - (V = Math.max(0, Math.min(q + V / H, D.scrollWidth - A / H + Y)));
|
|
3743
3743
|
}
|
|
3744
3744
|
F.push({ el: D, top: ne, left: V });
|
|
3745
3745
|
}
|
|
@@ -4474,13 +4474,13 @@ const Bf = ["measure", "align", null, "motion"], bx = (e, t) => {
|
|
|
4474
4474
|
i(u), s == null || s();
|
|
4475
4475
|
});
|
|
4476
4476
|
}
|
|
4477
|
-
return
|
|
4477
|
+
return ee(e, () => {
|
|
4478
4478
|
i("measure");
|
|
4479
4479
|
}, {
|
|
4480
4480
|
immediate: !0,
|
|
4481
4481
|
flush: "post"
|
|
4482
4482
|
}), $e(() => {
|
|
4483
|
-
|
|
4483
|
+
ee(n, () => {
|
|
4484
4484
|
switch (n.value) {
|
|
4485
4485
|
case "measure":
|
|
4486
4486
|
t();
|
|
@@ -5731,14 +5731,14 @@ const wO = U({
|
|
|
5731
5731
|
De(() => {
|
|
5732
5732
|
c();
|
|
5733
5733
|
});
|
|
5734
|
-
}),
|
|
5734
|
+
}), ee(() => e.disabled, (f) => {
|
|
5735
5735
|
f ? l() : a();
|
|
5736
5736
|
}, {
|
|
5737
5737
|
immediate: !0,
|
|
5738
5738
|
flush: "post"
|
|
5739
5739
|
});
|
|
5740
5740
|
const d = Q(null);
|
|
5741
|
-
return
|
|
5741
|
+
return ee(() => e.monitorWindowResize, (f) => {
|
|
5742
5742
|
f ? d.value || (d.value = zt(window, "resize", a)) : d.value && (d.value.remove(), d.value = null);
|
|
5743
5743
|
}, {
|
|
5744
5744
|
flush: "post"
|
|
@@ -5807,7 +5807,7 @@ const OO = (e) => e !== void 0 && (e === "topLeft" || e === "topRight") ? "slide
|
|
|
5807
5807
|
e.stretch && u(e.getRootDomNode());
|
|
5808
5808
|
}, d = K(!1);
|
|
5809
5809
|
let f;
|
|
5810
|
-
|
|
5810
|
+
ee(() => e.visible, (P) => {
|
|
5811
5811
|
clearTimeout(f), P ? f = setTimeout(() => {
|
|
5812
5812
|
d.value = e.visible;
|
|
5813
5813
|
}) : d.value = !1;
|
|
@@ -5837,7 +5837,7 @@ const OO = (e) => e !== void 0 && (e === "topLeft" || e === "topRight") ? "slide
|
|
|
5837
5837
|
}), w = () => new Promise((P) => {
|
|
5838
5838
|
g.value = P;
|
|
5839
5839
|
});
|
|
5840
|
-
|
|
5840
|
+
ee([$, p], () => {
|
|
5841
5841
|
!$.value && p.value === "motion" && v();
|
|
5842
5842
|
}, {
|
|
5843
5843
|
immediate: !0
|
|
@@ -5914,7 +5914,7 @@ const OO = (e) => e !== void 0 && (e === "topLeft" || e === "topRight") ? "slide
|
|
|
5914
5914
|
expose: r
|
|
5915
5915
|
} = t;
|
|
5916
5916
|
const i = K(!1), a = K(!1), l = K(), s = K();
|
|
5917
|
-
return
|
|
5917
|
+
return ee([() => e.visible, () => e.mobile], () => {
|
|
5918
5918
|
i.value = e.visible, e.visible && e.mobile && (a.value = !0);
|
|
5919
5919
|
}, {
|
|
5920
5920
|
immediate: !0,
|
|
@@ -6045,7 +6045,7 @@ const AO = {
|
|
|
6045
6045
|
}), $e(() => {
|
|
6046
6046
|
r || a();
|
|
6047
6047
|
});
|
|
6048
|
-
const l =
|
|
6048
|
+
const l = ee(i, () => {
|
|
6049
6049
|
i.value && !r && (r = e.getContainer()), r && l();
|
|
6050
6050
|
});
|
|
6051
6051
|
return po(() => {
|
|
@@ -6159,7 +6159,7 @@ const ia = Ct(), Cp = (e) => {
|
|
|
6159
6159
|
f(), c();
|
|
6160
6160
|
}), LO(x(() => e.autoLock && e.visible && Ct() && (o.value === document.body || o.value === l))), $e(() => {
|
|
6161
6161
|
let p = !1;
|
|
6162
|
-
|
|
6162
|
+
ee([() => e.visible, () => e.getContainer], (v, g) => {
|
|
6163
6163
|
let [y, b] = v, [O, $] = g;
|
|
6164
6164
|
ia && (u = Cp(e.getContainer), u === document.body && (y && !O ? Wn += 1 : p && (Wn -= 1))), p && (typeof b == "function" && typeof $ == "function" ? b.toString() !== $.toString() : b !== $) && s(), p = !0;
|
|
6165
6165
|
}, {
|
|
@@ -7073,7 +7073,7 @@ const xu = U({
|
|
|
7073
7073
|
expose: r
|
|
7074
7074
|
} = t;
|
|
7075
7075
|
const i = K(null), a = Q(), l = Q(!1);
|
|
7076
|
-
|
|
7076
|
+
ee([() => e.value, l], () => {
|
|
7077
7077
|
l.value || (a.value = e.value);
|
|
7078
7078
|
}, {
|
|
7079
7079
|
immediate: !0
|
|
@@ -7589,7 +7589,7 @@ const nP = () => ({
|
|
|
7589
7589
|
}, D = (I, A) => {
|
|
7590
7590
|
d.value = A;
|
|
7591
7591
|
}, z = (I) => s.value.get(C(S.value[I], I));
|
|
7592
|
-
return
|
|
7592
|
+
return ee([l, s, c, d, () => e.itemKey, S], () => {
|
|
7593
7593
|
if (l.value && b.value && S.value) {
|
|
7594
7594
|
let I = d.value;
|
|
7595
7595
|
const A = S.value.length, N = A - 1;
|
|
@@ -7686,7 +7686,7 @@ const nP = () => ({
|
|
|
7686
7686
|
default: () => typeof ae == "function" ? ae(P.value) : ae
|
|
7687
7687
|
});
|
|
7688
7688
|
}
|
|
7689
|
-
const
|
|
7689
|
+
const te = () => {
|
|
7690
7690
|
var ae;
|
|
7691
7691
|
return m(J, B({
|
|
7692
7692
|
id: oe,
|
|
@@ -7710,7 +7710,7 @@ const nP = () => ({
|
|
|
7710
7710
|
disabled: !O.value,
|
|
7711
7711
|
onResize: M
|
|
7712
7712
|
}, {
|
|
7713
|
-
default:
|
|
7713
|
+
default: te
|
|
7714
7714
|
});
|
|
7715
7715
|
};
|
|
7716
7716
|
}
|
|
@@ -7777,7 +7777,7 @@ const rP = {
|
|
|
7777
7777
|
xe(() => {
|
|
7778
7778
|
s.value = a.value;
|
|
7779
7779
|
}), $e(() => {
|
|
7780
|
-
|
|
7780
|
+
ee(s, () => {
|
|
7781
7781
|
n.value = t.value.scrollWidth;
|
|
7782
7782
|
}, {
|
|
7783
7783
|
flush: "post",
|
|
@@ -7964,7 +7964,7 @@ const rP = {
|
|
|
7964
7964
|
let c = e.searchValue || "";
|
|
7965
7965
|
return n.value && e.activeValue && !t.value && (c = e.activeValue), c;
|
|
7966
7966
|
}), i = wu();
|
|
7967
|
-
|
|
7967
|
+
ee([n, () => e.activeValue], () => {
|
|
7968
7968
|
n.value && (t.value = !1);
|
|
7969
7969
|
}, {
|
|
7970
7970
|
immediate: !0
|
|
@@ -8500,7 +8500,7 @@ const P0 = U({
|
|
|
8500
8500
|
}), S = e.open !== void 0 ? e.open : e.defaultOpen, P = K(S), C = K(S), T = (H) => {
|
|
8501
8501
|
P.value = e.open !== void 0 ? e.open : H, C.value = P.value;
|
|
8502
8502
|
};
|
|
8503
|
-
|
|
8503
|
+
ee(() => e.open, () => {
|
|
8504
8504
|
T(e.open);
|
|
8505
8505
|
});
|
|
8506
8506
|
const E = x(() => !e.notFoundContent && e.emptyOptions);
|
|
@@ -8515,9 +8515,9 @@ const P0 = U({
|
|
|
8515
8515
|
}, j = x(() => (e.tokenSeparators || []).some((H) => [`
|
|
8516
8516
|
`, `\r
|
|
8517
8517
|
`].includes(H))), D = (H, k, q) => {
|
|
8518
|
-
var
|
|
8518
|
+
var te, ae;
|
|
8519
8519
|
let fe = !0, ve = H;
|
|
8520
|
-
(
|
|
8520
|
+
(te = e.onActiveValueChange) === null || te === void 0 || te.call(e, null);
|
|
8521
8521
|
const le = q ? null : dx(H, e.tokenSeparators);
|
|
8522
8522
|
return e.mode !== "combobox" && le && (ve = "", (ae = e.onSearchSplit) === null || ae === void 0 || ae.call(e, le), F(!1), fe = !1), e.onSearch && w.value !== ve && e.onSearch(ve, {
|
|
8523
8523
|
source: k ? "typing" : "effect"
|
|
@@ -8528,12 +8528,12 @@ const P0 = U({
|
|
|
8528
8528
|
source: "submit"
|
|
8529
8529
|
});
|
|
8530
8530
|
};
|
|
8531
|
-
|
|
8531
|
+
ee(C, () => {
|
|
8532
8532
|
!C.value && !i.value && e.mode !== "combobox" && D("", !1, !1);
|
|
8533
8533
|
}, {
|
|
8534
8534
|
immediate: !0,
|
|
8535
8535
|
flush: "post"
|
|
8536
|
-
}),
|
|
8536
|
+
}), ee(() => e.disabled, () => {
|
|
8537
8537
|
P.value && e.disabled && T(!1), e.disabled && !v.value && y(!1);
|
|
8538
8538
|
}, {
|
|
8539
8539
|
immediate: !0
|
|
@@ -8541,9 +8541,9 @@ const P0 = U({
|
|
|
8541
8541
|
const [I, A] = $0(), N = function(H) {
|
|
8542
8542
|
var k;
|
|
8543
8543
|
const q = I(), {
|
|
8544
|
-
which:
|
|
8544
|
+
which: te
|
|
8545
8545
|
} = H;
|
|
8546
|
-
if (
|
|
8546
|
+
if (te === ue.ENTER && (e.mode !== "combobox" && H.preventDefault(), C.value || F(!0)), A(!!w.value), te === ue.BACKSPACE && !q && i.value && !w.value && e.displayValues.length) {
|
|
8547
8547
|
const le = [...e.displayValues];
|
|
8548
8548
|
let me = null;
|
|
8549
8549
|
for (let ce = le.length - 1; ce >= 0; ce -= 1) {
|
|
@@ -8562,8 +8562,8 @@ const P0 = U({
|
|
|
8562
8562
|
fe[ve - 1] = arguments[ve];
|
|
8563
8563
|
C.value && p.value && p.value.onKeydown(H, ...fe), (k = e.onKeydown) === null || k === void 0 || k.call(e, H, ...fe);
|
|
8564
8564
|
}, L = function(H) {
|
|
8565
|
-
for (var k = arguments.length, q = new Array(k > 1 ? k - 1 : 0),
|
|
8566
|
-
q[
|
|
8565
|
+
for (var k = arguments.length, q = new Array(k > 1 ? k - 1 : 0), te = 1; te < k; te++)
|
|
8566
|
+
q[te - 1] = arguments[te];
|
|
8567
8567
|
C.value && p.value && p.value.onKeyup(H, ...q), e.onKeyup && e.onKeyup(H, ...q);
|
|
8568
8568
|
}, R = (H) => {
|
|
8569
8569
|
const k = e.displayValues.filter((q) => q !== H);
|
|
@@ -8602,9 +8602,9 @@ const P0 = U({
|
|
|
8602
8602
|
const V = function(H) {
|
|
8603
8603
|
var k, q;
|
|
8604
8604
|
const {
|
|
8605
|
-
target:
|
|
8605
|
+
target: te
|
|
8606
8606
|
} = H, ae = (k = d.value) === null || k === void 0 ? void 0 : k.getPopupElement();
|
|
8607
|
-
if (ae && ae.contains(
|
|
8607
|
+
if (ae && ae.contains(te)) {
|
|
8608
8608
|
const me = setTimeout(() => {
|
|
8609
8609
|
var ce;
|
|
8610
8610
|
const he = ne.indexOf(me);
|
|
@@ -8618,7 +8618,7 @@ const P0 = U({
|
|
|
8618
8618
|
}, Y = K(null), X = () => {
|
|
8619
8619
|
};
|
|
8620
8620
|
return $e(() => {
|
|
8621
|
-
|
|
8621
|
+
ee(M, () => {
|
|
8622
8622
|
var H;
|
|
8623
8623
|
if (M.value) {
|
|
8624
8624
|
const k = Math.ceil((H = u.value) === null || H === void 0 ? void 0 : H.offsetWidth);
|
|
@@ -8638,7 +8638,7 @@ const P0 = U({
|
|
|
8638
8638
|
const H = h(h({}, e), n), {
|
|
8639
8639
|
prefixCls: k,
|
|
8640
8640
|
id: q,
|
|
8641
|
-
open:
|
|
8641
|
+
open: te,
|
|
8642
8642
|
defaultOpen: ae,
|
|
8643
8643
|
mode: fe,
|
|
8644
8644
|
// Search related
|
|
@@ -9083,7 +9083,7 @@ const yP = U({
|
|
|
9083
9083
|
});
|
|
9084
9084
|
function bP(e, t, n, o) {
|
|
9085
9085
|
const r = /* @__PURE__ */ new Map(), i = /* @__PURE__ */ new Map(), a = Q(Symbol("update"));
|
|
9086
|
-
|
|
9086
|
+
ee(e, () => {
|
|
9087
9087
|
a.value = Symbol("update");
|
|
9088
9088
|
});
|
|
9089
9089
|
let l;
|
|
@@ -9228,7 +9228,7 @@ function wP(e, t, n) {
|
|
|
9228
9228
|
$e(() => {
|
|
9229
9229
|
document.addEventListener("touchmove", d, {
|
|
9230
9230
|
passive: !1
|
|
9231
|
-
}),
|
|
9231
|
+
}), ee(e, (f) => {
|
|
9232
9232
|
t.value.removeEventListener("touchstart", c), l(), clearInterval(a), f && t.value.addEventListener("touchstart", c, {
|
|
9233
9233
|
passive: !1
|
|
9234
9234
|
});
|
|
@@ -9322,14 +9322,14 @@ const EP = U({
|
|
|
9322
9322
|
scrollTop: 0,
|
|
9323
9323
|
scrollMoving: !1
|
|
9324
9324
|
}), a = x(() => e.data || PP), l = K([]);
|
|
9325
|
-
|
|
9325
|
+
ee(a, () => {
|
|
9326
9326
|
l.value = Et(a.value).slice();
|
|
9327
9327
|
}, {
|
|
9328
9328
|
immediate: !0
|
|
9329
9329
|
});
|
|
9330
9330
|
const s = K((R) => {
|
|
9331
9331
|
});
|
|
9332
|
-
|
|
9332
|
+
ee(() => e.itemKey, (R) => {
|
|
9333
9333
|
typeof R == "function" ? s.value = R : s.value = (_) => _ == null ? void 0 : _[R];
|
|
9334
9334
|
}, {
|
|
9335
9335
|
immediate: !0
|
|
@@ -9359,7 +9359,7 @@ const EP = U({
|
|
|
9359
9359
|
var R;
|
|
9360
9360
|
w.value = ((R = c.value) === null || R === void 0 ? void 0 : R.offsetHeight) || 0;
|
|
9361
9361
|
});
|
|
9362
|
-
}),
|
|
9362
|
+
}), ee([o, l], () => {
|
|
9363
9363
|
o.value || h($, {
|
|
9364
9364
|
scrollHeight: void 0,
|
|
9365
9365
|
start: 0,
|
|
@@ -9368,7 +9368,7 @@ const EP = U({
|
|
|
9368
9368
|
});
|
|
9369
9369
|
}, {
|
|
9370
9370
|
immediate: !0
|
|
9371
|
-
}),
|
|
9371
|
+
}), ee([o, l, w, r], () => {
|
|
9372
9372
|
o.value && !r.value && h($, {
|
|
9373
9373
|
scrollHeight: w.value,
|
|
9374
9374
|
start: 0,
|
|
@@ -9377,7 +9377,7 @@ const EP = U({
|
|
|
9377
9377
|
}), u.value && (i.scrollTop = u.value.scrollTop);
|
|
9378
9378
|
}, {
|
|
9379
9379
|
immediate: !0
|
|
9380
|
-
}),
|
|
9380
|
+
}), ee([r, o, () => i.scrollTop, l, O, () => e.height, w], () => {
|
|
9381
9381
|
if (!o.value || !r.value)
|
|
9382
9382
|
return;
|
|
9383
9383
|
let R = 0, _, W, J;
|
|
@@ -9389,8 +9389,8 @@ const EP = U({
|
|
|
9389
9389
|
const H = re[X], k = f(H);
|
|
9390
9390
|
let q = b.get(k);
|
|
9391
9391
|
q === void 0 && (q = ne);
|
|
9392
|
-
const
|
|
9393
|
-
_ === void 0 &&
|
|
9392
|
+
const te = R + q;
|
|
9393
|
+
_ === void 0 && te >= Z && (_ = X, W = R), J === void 0 && te > Y && (J = X), R = te;
|
|
9394
9394
|
}
|
|
9395
9395
|
_ === void 0 && (_ = 0, W = 0, J = Math.ceil(V / ne)), J === void 0 && (J = oe - 1), J = Math.min(J + 1, oe), h($, {
|
|
9396
9396
|
scrollHeight: R,
|
|
@@ -9455,7 +9455,7 @@ const EP = U({
|
|
|
9455
9455
|
[e.fullHeight ? "height" : "maxHeight"]: e.height + "px"
|
|
9456
9456
|
}, IP), o.value && (R.overflowY = "hidden", i.scrollMoving && (R.pointerEvents = "none"))), R;
|
|
9457
9457
|
});
|
|
9458
|
-
return
|
|
9458
|
+
return ee([() => $.start, () => $.end, l], () => {
|
|
9459
9459
|
if (e.onVisibleChange) {
|
|
9460
9460
|
const R = l.value.slice($.start, $.end + 1);
|
|
9461
9461
|
e.onVisibleChange(R, l.value);
|
|
@@ -9555,7 +9555,7 @@ const EP = U({
|
|
|
9555
9555
|
});
|
|
9556
9556
|
function AP(e, t, n) {
|
|
9557
9557
|
const o = Q(e());
|
|
9558
|
-
return
|
|
9558
|
+
return ee(t, (r, i) => {
|
|
9559
9559
|
n ? n(r, i) && (o.value = e()) : o.value = e();
|
|
9560
9560
|
}), o;
|
|
9561
9561
|
}
|
|
@@ -9622,13 +9622,13 @@ const LP = U({
|
|
|
9622
9622
|
}
|
|
9623
9623
|
i.onActiveValue(T.value, S, C);
|
|
9624
9624
|
};
|
|
9625
|
-
|
|
9625
|
+
ee([() => l.value.length, () => r.searchValue], () => {
|
|
9626
9626
|
p(i.defaultActiveFirstOption !== !1 ? d(0) : -1);
|
|
9627
9627
|
}, {
|
|
9628
9628
|
immediate: !0
|
|
9629
9629
|
});
|
|
9630
9630
|
const v = (S) => i.rawValues.has(S) && r.mode !== "combobox";
|
|
9631
|
-
|
|
9631
|
+
ee([() => r.open, () => r.searchValue], () => {
|
|
9632
9632
|
if (!r.multiple && r.open && i.rawValues.size === 1) {
|
|
9633
9633
|
const S = Array.from(i.rawValues)[0], P = Et(l.value).findIndex((C) => {
|
|
9634
9634
|
let {
|
|
@@ -9767,15 +9767,15 @@ const LP = U({
|
|
|
9767
9767
|
style: Y,
|
|
9768
9768
|
class: X,
|
|
9769
9769
|
className: H
|
|
9770
|
-
} = W, k = FP(W, ["disabled", "title", "children", "style", "class", "className"]), q = _e(k, I),
|
|
9770
|
+
} = W, k = FP(W, ["disabled", "title", "children", "style", "class", "className"]), q = _e(k, I), te = v(J), ae = `${a.value}-option`, fe = ie(a.value, ae, X, H, {
|
|
9771
9771
|
[`${ae}-grouped`]: _,
|
|
9772
9772
|
[`${ae}-active`]: z === N && !Z,
|
|
9773
9773
|
[`${ae}-disabled`]: Z,
|
|
9774
|
-
[`${ae}-selected`]:
|
|
9775
|
-
}), ve = y(A), le = !T || typeof T == "function" ||
|
|
9774
|
+
[`${ae}-selected`]: te
|
|
9775
|
+
}), ve = y(A), le = !T || typeof T == "function" || te, me = typeof ve == "number" ? ve : ve || J;
|
|
9776
9776
|
let ce = Pp(me) ? me.toString() : void 0;
|
|
9777
9777
|
return ne !== void 0 && (ce = ne), m("div", B(B({}, q), {}, {
|
|
9778
|
-
"aria-selected":
|
|
9778
|
+
"aria-selected": te,
|
|
9779
9779
|
class: fe,
|
|
9780
9780
|
title: ce,
|
|
9781
9781
|
onMousemove: (he) => {
|
|
@@ -9787,14 +9787,14 @@ const LP = U({
|
|
|
9787
9787
|
style: Y
|
|
9788
9788
|
}), [m("div", {
|
|
9789
9789
|
class: `${ae}-content`
|
|
9790
|
-
}, [D ? D(W) : me]), Mt(T) ||
|
|
9790
|
+
}, [D ? D(W) : me]), Mt(T) || te, le && m(fo, {
|
|
9791
9791
|
class: `${a.value}-option-state`,
|
|
9792
9792
|
customizeIcon: T,
|
|
9793
9793
|
customizeIconProps: {
|
|
9794
|
-
isSelected:
|
|
9794
|
+
isSelected: te
|
|
9795
9795
|
}
|
|
9796
9796
|
}, {
|
|
9797
|
-
default: () => [
|
|
9797
|
+
default: () => [te ? "✓" : null]
|
|
9798
9798
|
})]);
|
|
9799
9799
|
}
|
|
9800
9800
|
})]);
|
|
@@ -9850,7 +9850,7 @@ function A0(e) {
|
|
|
9850
9850
|
}
|
|
9851
9851
|
function zP(e, t, n) {
|
|
9852
9852
|
const o = K(), r = K(), i = K(), a = K([]);
|
|
9853
|
-
return
|
|
9853
|
+
return ee([e, t], () => {
|
|
9854
9854
|
e.value ? a.value = Et(e.value).slice() : a.value = A0(t.value);
|
|
9855
9855
|
}, {
|
|
9856
9856
|
immediate: !0,
|
|
@@ -9947,7 +9947,7 @@ function Mn(e, t) {
|
|
|
9947
9947
|
const u = a.value;
|
|
9948
9948
|
i.value = s, Et(a.value) !== s && t.onChange && t.onChange(s, u);
|
|
9949
9949
|
}
|
|
9950
|
-
return
|
|
9950
|
+
return ee(o, () => {
|
|
9951
9951
|
i.value = o.value;
|
|
9952
9952
|
}), [a, l];
|
|
9953
9953
|
}
|
|
@@ -10048,11 +10048,11 @@ U({
|
|
|
10048
10048
|
labelOptions: v,
|
|
10049
10049
|
options: g
|
|
10050
10050
|
} = f, y = (X) => R0(X).map((k) => {
|
|
10051
|
-
var q,
|
|
10051
|
+
var q, te;
|
|
10052
10052
|
let ae, fe, ve, le;
|
|
10053
10053
|
XP(k) ? ae = k : (ve = k.key, fe = k.label, ae = (q = k.value) !== null && q !== void 0 ? q : ve);
|
|
10054
10054
|
const me = p.value.get(ae);
|
|
10055
|
-
return me && (fe === void 0 && (fe = me == null ? void 0 : me[e.optionLabelProp || u.value.label]), ve === void 0 && (ve = (
|
|
10055
|
+
return me && (fe === void 0 && (fe = me == null ? void 0 : me[e.optionLabelProp || u.value.label]), ve === void 0 && (ve = (te = me == null ? void 0 : me.key) !== null && te !== void 0 ? te : ae), le = me == null ? void 0 : me.disabled), {
|
|
10056
10056
|
label: fe,
|
|
10057
10057
|
value: ae,
|
|
10058
10058
|
key: ve,
|
|
@@ -10112,13 +10112,13 @@ U({
|
|
|
10112
10112
|
const H = y(X);
|
|
10113
10113
|
if (O(H), e.onChange && // Trigger event only when value changed
|
|
10114
10114
|
(H.length !== w.value.length || H.some((k, q) => {
|
|
10115
|
-
var
|
|
10116
|
-
return ((
|
|
10115
|
+
var te;
|
|
10116
|
+
return ((te = w.value[q]) === null || te === void 0 ? void 0 : te.value) !== (k == null ? void 0 : k.value);
|
|
10117
10117
|
}))) {
|
|
10118
|
-
const k = e.labelInValue ? H.map((
|
|
10119
|
-
originLabel:
|
|
10120
|
-
label: typeof
|
|
10121
|
-
})) : H.map((
|
|
10118
|
+
const k = e.labelInValue ? H.map((te) => h(h({}, te), {
|
|
10119
|
+
originLabel: te.label,
|
|
10120
|
+
label: typeof te.label == "function" ? te.label() : te.label
|
|
10121
|
+
})) : H.map((te) => te.value), q = H.map((te) => Js(S(te.value)));
|
|
10122
10122
|
e.onChange(
|
|
10123
10123
|
// Value
|
|
10124
10124
|
a.value ? k : k[0],
|
|
@@ -10134,25 +10134,25 @@ U({
|
|
|
10134
10134
|
}, W = (X, H) => {
|
|
10135
10135
|
const k = () => {
|
|
10136
10136
|
var q;
|
|
10137
|
-
const
|
|
10137
|
+
const te = S(X), ae = te == null ? void 0 : te[u.value.label];
|
|
10138
10138
|
return [e.labelInValue ? {
|
|
10139
10139
|
label: typeof ae == "function" ? ae() : ae,
|
|
10140
10140
|
originLabel: ae,
|
|
10141
10141
|
value: X,
|
|
10142
|
-
key: (q =
|
|
10143
|
-
} : X, Js(
|
|
10142
|
+
key: (q = te == null ? void 0 : te.key) !== null && q !== void 0 ? q : X
|
|
10143
|
+
} : X, Js(te)];
|
|
10144
10144
|
};
|
|
10145
10145
|
if (H && e.onSelect) {
|
|
10146
|
-
const [q,
|
|
10147
|
-
e.onSelect(q,
|
|
10146
|
+
const [q, te] = k();
|
|
10147
|
+
e.onSelect(q, te);
|
|
10148
10148
|
} else if (!H && e.onDeselect) {
|
|
10149
|
-
const [q,
|
|
10150
|
-
e.onDeselect(q,
|
|
10149
|
+
const [q, te] = k();
|
|
10150
|
+
e.onDeselect(q, te);
|
|
10151
10151
|
}
|
|
10152
10152
|
}, J = (X, H) => {
|
|
10153
10153
|
let k;
|
|
10154
10154
|
const q = a.value ? H.selected : !0;
|
|
10155
|
-
q ? k = a.value ? [...w.value, X] : [X] : k = w.value.filter((
|
|
10155
|
+
q ? k = a.value ? [...w.value, X] : [X] : k = w.value.filter((te) => te.value !== X), z(k), W(X, q), e.mode === "combobox" ? A("") : (!a.value || e.autoClearSearchValue) && (d(""), A(""));
|
|
10156
10156
|
}, oe = (X, H) => {
|
|
10157
10157
|
z(X), (H.type === "remove" || H.type === "clear") && H.values.forEach((k) => {
|
|
10158
10158
|
W(k.value, !1);
|
|
@@ -10162,8 +10162,8 @@ U({
|
|
|
10162
10162
|
if (d(X), A(null), H.source === "submit") {
|
|
10163
10163
|
const q = (X || "").trim();
|
|
10164
10164
|
if (q) {
|
|
10165
|
-
const
|
|
10166
|
-
z(
|
|
10165
|
+
const te = Array.from(/* @__PURE__ */ new Set([...C.value, q]));
|
|
10166
|
+
z(te), W(q, !0), d("");
|
|
10167
10167
|
}
|
|
10168
10168
|
return;
|
|
10169
10169
|
}
|
|
@@ -10171,8 +10171,8 @@ U({
|
|
|
10171
10171
|
}, Z = (X) => {
|
|
10172
10172
|
let H = X;
|
|
10173
10173
|
e.mode !== "tags" && (H = X.map((q) => {
|
|
10174
|
-
const
|
|
10175
|
-
return
|
|
10174
|
+
const te = v.value.get(q);
|
|
10175
|
+
return te == null ? void 0 : te.value;
|
|
10176
10176
|
}).filter((q) => q !== void 0));
|
|
10177
10177
|
const k = Array.from(/* @__PURE__ */ new Set([...C.value, ...H]));
|
|
10178
10178
|
z(k), k.forEach((q) => {
|
|
@@ -10880,7 +10880,7 @@ const Ta = Symbol("ContextProps"), Ea = Symbol("InternalContextProps"), z4 = fun
|
|
|
10880
10880
|
}, r = (i) => {
|
|
10881
10881
|
n.value.delete(i), n.value = new Map(n.value);
|
|
10882
10882
|
};
|
|
10883
|
-
pt(),
|
|
10883
|
+
pt(), ee([t, n], () => {
|
|
10884
10884
|
}), Ce(Ta, e), Ce(Ea, {
|
|
10885
10885
|
addFormItemField: o,
|
|
10886
10886
|
removeFormItemField: r
|
|
@@ -13532,11 +13532,11 @@ const sE = (e) => {
|
|
|
13532
13532
|
} = e;
|
|
13533
13533
|
($ == null ? void 0 : $()) !== !1 && (r.value = !1);
|
|
13534
13534
|
};
|
|
13535
|
-
return
|
|
13535
|
+
return ee(() => e.src, () => {
|
|
13536
13536
|
De(() => {
|
|
13537
13537
|
r.value = !0, a.value = 1;
|
|
13538
13538
|
});
|
|
13539
|
-
}),
|
|
13539
|
+
}), ee(() => e.gap, () => {
|
|
13540
13540
|
De(() => {
|
|
13541
13541
|
b();
|
|
13542
13542
|
});
|
|
@@ -14349,7 +14349,7 @@ const xE = (e) => {
|
|
|
14349
14349
|
return (M = e.open) !== null && M !== void 0 ? M : e.visible;
|
|
14350
14350
|
}), d = Q(bE([e.open, e.visible])), f = Q();
|
|
14351
14351
|
let p;
|
|
14352
|
-
|
|
14352
|
+
ee(c, (M) => {
|
|
14353
14353
|
Ae.cancel(p), p = Ae(() => {
|
|
14354
14354
|
d.value = !!M;
|
|
14355
14355
|
});
|
|
@@ -14855,7 +14855,7 @@ const BE = U({
|
|
|
14855
14855
|
expose: r
|
|
14856
14856
|
} = t;
|
|
14857
14857
|
const i = Q(!!e.visible);
|
|
14858
|
-
|
|
14858
|
+
ee(() => e.visible, (p) => {
|
|
14859
14859
|
p !== void 0 && (i.value = p);
|
|
14860
14860
|
});
|
|
14861
14861
|
const a = Q();
|
|
@@ -15090,7 +15090,7 @@ const GE = U({
|
|
|
15090
15090
|
Bt(o).removeEventListener("click", s, !0);
|
|
15091
15091
|
};
|
|
15092
15092
|
return $e(() => {
|
|
15093
|
-
|
|
15093
|
+
ee(() => e.disabled, () => {
|
|
15094
15094
|
u(), De(() => {
|
|
15095
15095
|
const c = Bt(o);
|
|
15096
15096
|
c == null || c.removeEventListener("click", s, !0), !(!c || c.nodeType !== 1 || e.disabled) && (s = (d) => {
|
|
@@ -15717,7 +15717,7 @@ const ct = U({
|
|
|
15717
15717
|
compactSize: S,
|
|
15718
15718
|
compactItemClassnames: P
|
|
15719
15719
|
} = Hu(a, s), C = x(() => typeof e.loading == "object" && e.loading.delay ? e.loading.delay || !0 : !!e.loading);
|
|
15720
|
-
|
|
15720
|
+
ee(C, (I) => {
|
|
15721
15721
|
clearTimeout(y.value), typeof C.value == "number" ? y.value = setTimeout(() => {
|
|
15722
15722
|
O.value = I;
|
|
15723
15723
|
}, C.value) : O.value = I;
|
|
@@ -15841,7 +15841,7 @@ ct.install = function(e) {
|
|
|
15841
15841
|
return e.component(ct.name, ct), e.component(hc.name, hc), e;
|
|
15842
15842
|
};
|
|
15843
15843
|
const Sy = () => ({
|
|
15844
|
-
arrow:
|
|
15844
|
+
arrow: rt([Boolean, Object]),
|
|
15845
15845
|
trigger: {
|
|
15846
15846
|
type: [Array, String]
|
|
15847
15847
|
},
|
|
@@ -16731,7 +16731,7 @@ const M8 = () => ({
|
|
|
16731
16731
|
isLeaf: !0
|
|
16732
16732
|
}), Le(() => {
|
|
16733
16733
|
S(s);
|
|
16734
|
-
}),
|
|
16734
|
+
}), ee(f, () => {
|
|
16735
16735
|
C.value = !!f.value.find((W) => W === l);
|
|
16736
16736
|
}, {
|
|
16737
16737
|
immediate: !0
|
|
@@ -16906,7 +16906,7 @@ const M8 = () => ({
|
|
|
16906
16906
|
defaultMotions: p,
|
|
16907
16907
|
rootClassName: v
|
|
16908
16908
|
} = yn(), g = Iy(), y = x(() => a.value ? h(h({}, D8), u.value) : h(h({}, R8), u.value)), b = x(() => F8[e.mode]), O = K();
|
|
16909
|
-
|
|
16909
|
+
ee(() => e.visible, (S) => {
|
|
16910
16910
|
Ae.cancel(O.value), O.value = Ae(() => {
|
|
16911
16911
|
r.value = S;
|
|
16912
16912
|
});
|
|
@@ -16993,7 +16993,7 @@ const L8 = U({
|
|
|
16993
16993
|
mode: i,
|
|
16994
16994
|
defaultMotions: a
|
|
16995
16995
|
} = yn(), l = x(() => i.value === o.value), s = Q(!l.value), u = x(() => l.value ? e.open : !1);
|
|
16996
|
-
|
|
16996
|
+
ee(i, () => {
|
|
16997
16997
|
l.value && (s.value = !1);
|
|
16998
16998
|
}, {
|
|
16999
16999
|
flush: "post"
|
|
@@ -17091,7 +17091,7 @@ const N8 = () => ({
|
|
|
17091
17091
|
j(d);
|
|
17092
17092
|
}));
|
|
17093
17093
|
const L = x(() => `${O.value}-submenu`), R = x(() => w.value || e.disabled), _ = K(), W = K(), J = x(() => T.value.includes(c)), oe = x(() => !E.value && J.value), re = x(() => D.value.includes(c)), Z = K(!1);
|
|
17094
|
-
|
|
17094
|
+
ee($, () => {
|
|
17095
17095
|
Z.value = !!$.value.find((ce) => ce === c);
|
|
17096
17096
|
}, {
|
|
17097
17097
|
immediate: !0
|
|
@@ -17106,7 +17106,7 @@ const N8 = () => ({
|
|
|
17106
17106
|
P.value !== "inline" && M(c, ce);
|
|
17107
17107
|
}, k = () => {
|
|
17108
17108
|
S(g.value);
|
|
17109
|
-
}, q = d && `${d}-popup`,
|
|
17109
|
+
}, q = d && `${d}-popup`, te = x(() => ie(O.value, `${O.value}-${e.theme || I.value}`, e.popupClassName)), ae = (ce, he) => {
|
|
17110
17110
|
if (!he)
|
|
17111
17111
|
return C.value && !v.value.length && ce && typeof ce == "string" ? m("div", {
|
|
17112
17112
|
class: `${O.value}-inline-collapsed-noicon`
|
|
@@ -17153,7 +17153,7 @@ const N8 = () => ({
|
|
|
17153
17153
|
mode: fe.value,
|
|
17154
17154
|
prefixCls: he,
|
|
17155
17155
|
visible: !e.internalPopupClose && oe.value,
|
|
17156
|
-
popupClassName:
|
|
17156
|
+
popupClassName: te.value,
|
|
17157
17157
|
popupOffset: e.popupOffset || ke,
|
|
17158
17158
|
disabled: R.value,
|
|
17159
17159
|
onVisibleChange: H
|
|
@@ -17364,7 +17364,7 @@ function yc(e, t, n) {
|
|
|
17364
17364
|
}
|
|
17365
17365
|
function H8(e) {
|
|
17366
17366
|
const t = K([]), n = K(!1), o = K(/* @__PURE__ */ new Map());
|
|
17367
|
-
return
|
|
17367
|
+
return ee(() => e.items, () => {
|
|
17368
17368
|
const r = /* @__PURE__ */ new Map();
|
|
17369
17369
|
n.value = !1, e.items ? (n.value = !0, t.value = yc(e.items, r)) : t.value = void 0, o.value = r;
|
|
17370
17370
|
}, {
|
|
@@ -18302,7 +18302,7 @@ const _8 = (e) => {
|
|
|
18302
18302
|
Tt(!(e.inlineCollapsed === !0 && e.mode !== "inline"), "Menu", "`inlineCollapsed` should only be used when `mode` is inline."), Tt(!(f.value !== void 0 && e.inlineCollapsed === !0), "Menu", "`inlineCollapsed` not control Menu under Sider. Should set `collapsed` on Sider instead.");
|
|
18303
18303
|
});
|
|
18304
18304
|
const y = Q([]), b = Q([]), O = Q({});
|
|
18305
|
-
|
|
18305
|
+
ee(d, () => {
|
|
18306
18306
|
const V = {};
|
|
18307
18307
|
for (const Y of d.value.values())
|
|
18308
18308
|
V[Y.key] = Y;
|
|
@@ -18315,14 +18315,14 @@ const _8 = (e) => {
|
|
|
18315
18315
|
const Y = e.activeKey ? O.value[e.activeKey] : void 0;
|
|
18316
18316
|
Y && e.activeKey !== void 0 ? V = is([].concat(se(Y.parentKeys), e.activeKey)) : V = [], br(y.value, V) || (y.value = V);
|
|
18317
18317
|
}
|
|
18318
|
-
}),
|
|
18318
|
+
}), ee(() => e.selectedKeys, (V) => {
|
|
18319
18319
|
V && (b.value = V.slice());
|
|
18320
18320
|
}, {
|
|
18321
18321
|
immediate: !0,
|
|
18322
18322
|
deep: !0
|
|
18323
18323
|
});
|
|
18324
18324
|
const $ = Q([]);
|
|
18325
|
-
|
|
18325
|
+
ee([O, b], () => {
|
|
18326
18326
|
let V = [];
|
|
18327
18327
|
b.value.forEach((Y) => {
|
|
18328
18328
|
const X = O.value[Y];
|
|
@@ -18345,7 +18345,7 @@ const _8 = (e) => {
|
|
|
18345
18345
|
}
|
|
18346
18346
|
M.value !== "inline" && !e.multiple && S.value.length && D(Rm);
|
|
18347
18347
|
}, S = Q([]);
|
|
18348
|
-
|
|
18348
|
+
ee(() => e.openKeys, function() {
|
|
18349
18349
|
let V = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : S.value;
|
|
18350
18350
|
br(S.value, V) || (S.value = V.slice());
|
|
18351
18351
|
}, {
|
|
@@ -18365,11 +18365,11 @@ const _8 = (e) => {
|
|
|
18365
18365
|
const j = x(() => M.value === "inline"), D = (V) => {
|
|
18366
18366
|
S.value = V, o("update:openKeys", V), o("openChange", V);
|
|
18367
18367
|
}, z = Q(S.value), I = K(!1);
|
|
18368
|
-
|
|
18368
|
+
ee(S, () => {
|
|
18369
18369
|
j.value && (z.value = S.value);
|
|
18370
18370
|
}, {
|
|
18371
18371
|
immediate: !0
|
|
18372
|
-
}),
|
|
18372
|
+
}), ee(j, () => {
|
|
18373
18373
|
if (!I.value) {
|
|
18374
18374
|
I.value = !0;
|
|
18375
18375
|
return;
|
|
@@ -18416,7 +18416,7 @@ const _8 = (e) => {
|
|
|
18416
18416
|
k.push(V);
|
|
18417
18417
|
else if (M.value !== "inline") {
|
|
18418
18418
|
const q = R(se(H));
|
|
18419
|
-
k = is(k.filter((
|
|
18419
|
+
k = is(k.filter((te) => !q.includes(te)));
|
|
18420
18420
|
}
|
|
18421
18421
|
br(S, k) || D(k);
|
|
18422
18422
|
}, J = (V, Y) => {
|
|
@@ -18470,13 +18470,13 @@ const _8 = (e) => {
|
|
|
18470
18470
|
var V;
|
|
18471
18471
|
const Y = ne(), X = re.value >= Y.length - 1 || M.value !== "horizontal" || e.disabledOverflow, H = (q) => M.value !== "horizontal" || e.disabledOverflow ? q : (
|
|
18472
18472
|
// Need wrap for overflow dropdown that do not response for open
|
|
18473
|
-
q.map((
|
|
18473
|
+
q.map((te, ae) => (
|
|
18474
18474
|
// Always wrap provider to avoid sub node re-mount
|
|
18475
18475
|
m(La, {
|
|
18476
|
-
key:
|
|
18476
|
+
key: te.key,
|
|
18477
18477
|
overflowDisabled: ae > re.value
|
|
18478
18478
|
}, {
|
|
18479
|
-
default: () =>
|
|
18479
|
+
default: () => te
|
|
18480
18480
|
})
|
|
18481
18481
|
))
|
|
18482
18482
|
), k = ((V = n.overflowedIndicator) === null || V === void 0 ? void 0 : V.call(n)) || m(bi, null, null);
|
|
@@ -18491,13 +18491,13 @@ const _8 = (e) => {
|
|
|
18491
18491
|
data: H(Y),
|
|
18492
18492
|
renderRawItem: (q) => q,
|
|
18493
18493
|
renderRawRest: (q) => {
|
|
18494
|
-
const
|
|
18494
|
+
const te = q.length, ae = te ? Y.slice(-te) : null;
|
|
18495
18495
|
return m(Te, null, [m(tr, {
|
|
18496
18496
|
eventKey: ki,
|
|
18497
18497
|
key: ki,
|
|
18498
18498
|
title: k,
|
|
18499
18499
|
disabled: X,
|
|
18500
|
-
internalPopupClose:
|
|
18500
|
+
internalPopupClose: te === 0
|
|
18501
18501
|
}, {
|
|
18502
18502
|
default: () => ae
|
|
18503
18503
|
}), m($m, null, {
|
|
@@ -18506,7 +18506,7 @@ const _8 = (e) => {
|
|
|
18506
18506
|
key: ki,
|
|
18507
18507
|
title: k,
|
|
18508
18508
|
disabled: X,
|
|
18509
|
-
internalPopupClose:
|
|
18509
|
+
internalPopupClose: te === 0
|
|
18510
18510
|
}, {
|
|
18511
18511
|
default: () => ae
|
|
18512
18512
|
})]
|
|
@@ -19720,7 +19720,7 @@ const CA = (e, t, n, o, r) => x(() => {
|
|
|
19720
19720
|
const e = dl(), {
|
|
19721
19721
|
values: t
|
|
19722
19722
|
} = Sl(), [n, o] = qt([]);
|
|
19723
|
-
return
|
|
19723
|
+
return ee(() => e.open, () => {
|
|
19724
19724
|
if (e.open && !e.multiple) {
|
|
19725
19725
|
const r = t.value[0];
|
|
19726
19726
|
o(r || []);
|
|
@@ -20004,7 +20004,7 @@ const OA = U({
|
|
|
20004
20004
|
A.preventDefault();
|
|
20005
20005
|
};
|
|
20006
20006
|
return $e(() => {
|
|
20007
|
-
|
|
20007
|
+
ee(C, (A) => {
|
|
20008
20008
|
var N;
|
|
20009
20009
|
for (let L = 0; L < A.length; L += 1) {
|
|
20010
20010
|
const R = A.slice(0, L + 1), _ = Pn(R), W = (N = i.value) === null || N === void 0 ? void 0 : N.querySelector(`li[data-path-key="${_.replace(/\\{0,2}"/g, '\\"')}"]`);
|
|
@@ -20181,9 +20181,9 @@ const EA = U({
|
|
|
20181
20181
|
const k = d.value;
|
|
20182
20182
|
return H.map((q) => {
|
|
20183
20183
|
const {
|
|
20184
|
-
nodes:
|
|
20184
|
+
nodes: te
|
|
20185
20185
|
} = k[q];
|
|
20186
|
-
return
|
|
20186
|
+
return te.map((ae) => ae[u.value.value]);
|
|
20187
20187
|
});
|
|
20188
20188
|
}, [p, v] = Mn("", {
|
|
20189
20189
|
value: x(() => e.searchValue),
|
|
@@ -20203,10 +20203,10 @@ const EA = U({
|
|
|
20203
20203
|
[w.value, S.value, P.value] = [H, [], k];
|
|
20204
20204
|
return;
|
|
20205
20205
|
}
|
|
20206
|
-
const q = Do(H),
|
|
20206
|
+
const q = Do(H), te = d.value, {
|
|
20207
20207
|
checkedKeys: ae,
|
|
20208
20208
|
halfCheckedKeys: fe
|
|
20209
|
-
} = fs(q, !0,
|
|
20209
|
+
} = fs(q, !0, te, C.value, T.value);
|
|
20210
20210
|
[w.value, S.value, P.value] = [f(ae), f(fe), k];
|
|
20211
20211
|
});
|
|
20212
20212
|
const E = x(() => {
|
|
@@ -20214,14 +20214,14 @@ const EA = U({
|
|
|
20214
20214
|
return [...P.value, ...f(k)];
|
|
20215
20215
|
}), M = CA(E, c, u, a, Oe(e, "displayRender")), F = (H) => {
|
|
20216
20216
|
if (s(H), e.onChange) {
|
|
20217
|
-
const k = Lm(H), q = k.map((fe) => ri(fe, c.value, u.value).map((ve) => ve.option)),
|
|
20218
|
-
e.onChange(
|
|
20217
|
+
const k = Lm(H), q = k.map((fe) => ri(fe, c.value, u.value).map((ve) => ve.option)), te = a.value ? k : k[0], ae = a.value ? q : q[0];
|
|
20218
|
+
e.onChange(te, ae);
|
|
20219
20219
|
}
|
|
20220
20220
|
}, j = (H) => {
|
|
20221
20221
|
if (v(""), !a.value)
|
|
20222
20222
|
F(H);
|
|
20223
20223
|
else {
|
|
20224
|
-
const k = Pn(H), q = Do(w.value),
|
|
20224
|
+
const k = Pn(H), q = Do(w.value), te = Do(S.value), ae = q.includes(k), fe = P.value.some((me) => Pn(me) === k);
|
|
20225
20225
|
let ve = w.value, le = P.value;
|
|
20226
20226
|
if (fe && !ae)
|
|
20227
20227
|
le = P.value.filter((me) => Pn(me) !== k);
|
|
@@ -20231,7 +20231,7 @@ const EA = U({
|
|
|
20231
20231
|
ae ? {
|
|
20232
20232
|
checkedKeys: ce
|
|
20233
20233
|
} = fs(me, {
|
|
20234
|
-
halfCheckedKeys:
|
|
20234
|
+
halfCheckedKeys: te
|
|
20235
20235
|
}, d.value, C.value, T.value) : {
|
|
20236
20236
|
checkedKeys: ce
|
|
20237
20237
|
} = fs(me, !0, d.value, C.value, T.value);
|
|
@@ -20363,8 +20363,8 @@ const EA = U({
|
|
|
20363
20363
|
placement: A.value,
|
|
20364
20364
|
onDropdownVisibleChange: N,
|
|
20365
20365
|
getRawInputElement: () => {
|
|
20366
|
-
var
|
|
20367
|
-
return (
|
|
20366
|
+
var te;
|
|
20367
|
+
return (te = r.default) === null || te === void 0 ? void 0 : te.call(r);
|
|
20368
20368
|
}
|
|
20369
20369
|
}), r);
|
|
20370
20370
|
};
|
|
@@ -20539,10 +20539,10 @@ const FA = () => {
|
|
|
20539
20539
|
};
|
|
20540
20540
|
return [BA(t), Sc(t, ""), Sc(t, "-xs"), Object.keys(n).map((o) => _A(t, n[o], o)).reduce((o, r) => h(h({}, o), r), {})];
|
|
20541
20541
|
}), kA = () => ({
|
|
20542
|
-
align:
|
|
20543
|
-
justify:
|
|
20542
|
+
align: rt([String, Object]),
|
|
20543
|
+
justify: rt([String, Object]),
|
|
20544
20544
|
prefixCls: String,
|
|
20545
|
-
gutter:
|
|
20545
|
+
gutter: rt([Number, Array, Object], 0),
|
|
20546
20546
|
wrap: {
|
|
20547
20547
|
type: Boolean,
|
|
20548
20548
|
default: void 0
|
|
@@ -22204,7 +22204,7 @@ const _5 = (e) => {
|
|
|
22204
22204
|
prefixCls: o,
|
|
22205
22205
|
status: r
|
|
22206
22206
|
} = L5(), i = x(() => `${o.value}-item-explain`), a = x(() => !!(e.errors && e.errors.length)), l = Q(r.value), [, s] = ud(o);
|
|
22207
|
-
return
|
|
22207
|
+
return ee([a, r], () => {
|
|
22208
22208
|
a.value && (l.value = r.value);
|
|
22209
22209
|
}), () => {
|
|
22210
22210
|
var u, c;
|
|
@@ -22504,7 +22504,7 @@ const tM = "form_item", nM = U({
|
|
|
22504
22504
|
clearValidate: j
|
|
22505
22505
|
}, x(() => !!(e.autoLink && c.model.value && d.value)));
|
|
22506
22506
|
let A = !1;
|
|
22507
|
-
|
|
22507
|
+
ee(d, (Z) => {
|
|
22508
22508
|
Z ? A || (A = !0, c.addField(i, {
|
|
22509
22509
|
fieldValue: O,
|
|
22510
22510
|
fieldId: y,
|
|
@@ -22553,7 +22553,7 @@ const tM = "form_item", nM = U({
|
|
|
22553
22553
|
}
|
|
22554
22554
|
};
|
|
22555
22555
|
$e(() => {
|
|
22556
|
-
|
|
22556
|
+
ee(J, () => {
|
|
22557
22557
|
J.value && oe();
|
|
22558
22558
|
}, {
|
|
22559
22559
|
flush: "post",
|
|
@@ -22758,12 +22758,12 @@ function oM(e) {
|
|
|
22758
22758
|
}), g = !1, v = sa(Et($));
|
|
22759
22759
|
}, b = n == null ? void 0 : n.debounce;
|
|
22760
22760
|
let O = !0;
|
|
22761
|
-
return
|
|
22761
|
+
return ee(t, () => {
|
|
22762
22762
|
i.value = t ? Object.keys(se(t)) : [], !O && n && n.validateOnRuleChange && d(), O = !1;
|
|
22763
22763
|
}, {
|
|
22764
22764
|
deep: !0,
|
|
22765
22765
|
immediate: !0
|
|
22766
|
-
}),
|
|
22766
|
+
}), ee(i, () => {
|
|
22767
22767
|
const $ = {};
|
|
22768
22768
|
i.value.forEach((w) => {
|
|
22769
22769
|
$[w] = h({}, r[w], {
|
|
@@ -22776,7 +22776,7 @@ function oM(e) {
|
|
|
22776
22776
|
h(r, $);
|
|
22777
22777
|
}, {
|
|
22778
22778
|
immediate: !0
|
|
22779
|
-
}),
|
|
22779
|
+
}), ee(e, b && b.wait ? E3(y, b.wait, Q3(b, ["wait"])) : y, {
|
|
22780
22780
|
immediate: n && !!n.immediate,
|
|
22781
22781
|
deep: !0
|
|
22782
22782
|
}), {
|
|
@@ -22799,7 +22799,7 @@ const rM = () => ({
|
|
|
22799
22799
|
labelAlign: Xe(),
|
|
22800
22800
|
labelWrap: Ie(),
|
|
22801
22801
|
prefixCls: String,
|
|
22802
|
-
requiredMark:
|
|
22802
|
+
requiredMark: rt([String, Boolean]),
|
|
22803
22803
|
/** @deprecated Will warning in future branch. Pls use `requiredMark` instead. */
|
|
22804
22804
|
hideRequiredMark: Ie(),
|
|
22805
22805
|
model: G.object,
|
|
@@ -22810,7 +22810,7 @@ const rM = () => ({
|
|
|
22810
22810
|
scrollToFirstError: et(),
|
|
22811
22811
|
onSubmit: ge(),
|
|
22812
22812
|
name: String,
|
|
22813
|
-
validateTrigger:
|
|
22813
|
+
validateTrigger: rt([String, Array]),
|
|
22814
22814
|
size: Xe(),
|
|
22815
22815
|
disabled: Ie(),
|
|
22816
22816
|
onValuesChange: ge(),
|
|
@@ -22935,9 +22935,9 @@ const Gn = U({
|
|
|
22935
22935
|
rule: {
|
|
22936
22936
|
warningOnly: q
|
|
22937
22937
|
},
|
|
22938
|
-
errors:
|
|
22938
|
+
errors: te
|
|
22939
22939
|
} = k;
|
|
22940
|
-
q ? H.push(...
|
|
22940
|
+
q ? H.push(...te) : X.push(...te);
|
|
22941
22941
|
}), X.length ? Promise.reject({
|
|
22942
22942
|
name: ne,
|
|
22943
22943
|
errors: X,
|
|
@@ -22995,7 +22995,7 @@ const Gn = U({
|
|
|
22995
22995
|
n("validate", N, L, R);
|
|
22996
22996
|
},
|
|
22997
22997
|
validateMessages: g
|
|
22998
|
-
}),
|
|
22998
|
+
}), ee(() => e.rules, () => {
|
|
22999
22999
|
e.validateOnRuleChange && z();
|
|
23000
23000
|
}), () => {
|
|
23001
23001
|
var N;
|
|
@@ -23524,7 +23524,7 @@ const gM = U({
|
|
|
23524
23524
|
spin: !0
|
|
23525
23525
|
}, null)]), {
|
|
23526
23526
|
suffixIcon: q,
|
|
23527
|
-
removeIcon:
|
|
23527
|
+
removeIcon: te,
|
|
23528
23528
|
clearIcon: ae
|
|
23529
23529
|
} = j4(h(h({}, e), {
|
|
23530
23530
|
hasFeedback: l.hasFeedback,
|
|
@@ -23551,7 +23551,7 @@ const gM = U({
|
|
|
23551
23551
|
showSearch: F.value,
|
|
23552
23552
|
expandIcon: H,
|
|
23553
23553
|
inputIcon: q,
|
|
23554
|
-
removeIcon:
|
|
23554
|
+
removeIcon: te,
|
|
23555
23555
|
clearIcon: ae,
|
|
23556
23556
|
loadingIcon: k,
|
|
23557
23557
|
checkable: !!J,
|
|
@@ -23605,7 +23605,7 @@ const Tc = "internalMark", ua = U({
|
|
|
23605
23605
|
}),
|
|
23606
23606
|
ANT_MARK__: Tc
|
|
23607
23607
|
});
|
|
23608
|
-
return Ce("localeData", o),
|
|
23608
|
+
return Ce("localeData", o), ee(() => e.locale, (r) => {
|
|
23609
23609
|
hM(r && r.Modal), o.antLocale = h(h({}, r), {
|
|
23610
23610
|
exist: !0
|
|
23611
23611
|
});
|
|
@@ -23649,7 +23649,7 @@ const yM = Ln(ua), Ol = U({
|
|
|
23649
23649
|
l();
|
|
23650
23650
|
}), Fn(() => {
|
|
23651
23651
|
i = !0, s();
|
|
23652
|
-
}),
|
|
23652
|
+
}), ee([a, () => e.updateMark, () => e.visible], (d, f) => {
|
|
23653
23653
|
let [p, v, g] = d, [y, b, O] = f;
|
|
23654
23654
|
(p !== y || v !== b || g !== O && O) && c();
|
|
23655
23655
|
}, {
|
|
@@ -23833,7 +23833,7 @@ za.newInstance = function(t, n) {
|
|
|
23833
23833
|
let {
|
|
23834
23834
|
attrs: O
|
|
23835
23835
|
} = b;
|
|
23836
|
-
const $ = K(), w = x(() =>
|
|
23836
|
+
const $ = K(), w = x(() => ot.getPrefixCls(r, l)), [, S] = d(w);
|
|
23837
23837
|
return $e(() => {
|
|
23838
23838
|
n({
|
|
23839
23839
|
notice(P) {
|
|
@@ -23850,7 +23850,7 @@ za.newInstance = function(t, n) {
|
|
|
23850
23850
|
component: $
|
|
23851
23851
|
});
|
|
23852
23852
|
}), () => {
|
|
23853
|
-
const P =
|
|
23853
|
+
const P = ot, C = P.getRootPrefixCls(s, w.value), T = c ? u : `${w.value}-${u}`;
|
|
23854
23854
|
return m(ko, B(B({}, P), {}, {
|
|
23855
23855
|
prefixCls: C
|
|
23856
23856
|
}), {
|
|
@@ -23901,7 +23901,7 @@ const $M = U({
|
|
|
23901
23901
|
}
|
|
23902
23902
|
return cl(c);
|
|
23903
23903
|
}), l = (c) => e.remove(c), s = Q({});
|
|
23904
|
-
|
|
23904
|
+
ee(i, () => {
|
|
23905
23905
|
const c = {};
|
|
23906
23906
|
Object.keys(s.value).forEach((d) => {
|
|
23907
23907
|
c[d] = [];
|
|
@@ -24079,7 +24079,7 @@ function ib() {
|
|
|
24079
24079
|
}];
|
|
24080
24080
|
}
|
|
24081
24081
|
};
|
|
24082
|
-
return
|
|
24082
|
+
return ee(g, () => {
|
|
24083
24083
|
g.value.length && (g.value.forEach((b) => {
|
|
24084
24084
|
switch (b.type) {
|
|
24085
24085
|
case "open":
|
|
@@ -25227,24 +25227,24 @@ var lR = function(e, t) {
|
|
|
25227
25227
|
};
|
|
25228
25228
|
const sR = "ant";
|
|
25229
25229
|
function Wo() {
|
|
25230
|
-
return
|
|
25230
|
+
return ot.prefixCls || sR;
|
|
25231
25231
|
}
|
|
25232
25232
|
function Pb() {
|
|
25233
|
-
return
|
|
25233
|
+
return ot.iconPrefixCls || qc;
|
|
25234
25234
|
}
|
|
25235
|
-
const pd = Be({}),
|
|
25235
|
+
const pd = Be({}), ot = Be({});
|
|
25236
25236
|
xe(() => {
|
|
25237
|
-
h(
|
|
25237
|
+
h(ot, pd), ot.prefixCls = Wo(), ot.iconPrefixCls = Pb(), ot.getPrefixCls = (e, t) => t || (e ? `${ot.prefixCls}-${e}` : ot.prefixCls), ot.getRootPrefixCls = () => ot.prefixCls ? ot.prefixCls : Wo();
|
|
25238
25238
|
});
|
|
25239
25239
|
let hs;
|
|
25240
25240
|
const cR = (e) => {
|
|
25241
25241
|
hs && hs(), hs = xe(() => {
|
|
25242
|
-
h(pd, Be(e)), h(
|
|
25242
|
+
h(pd, Be(e)), h(ot, Be(e));
|
|
25243
25243
|
}), e.theme && rR(Wo(), e.theme);
|
|
25244
25244
|
}, uR = () => ({
|
|
25245
25245
|
getPrefixCls: (e, t) => t || (e ? `${Wo()}-${e}` : Wo()),
|
|
25246
25246
|
getIconPrefixCls: Pb,
|
|
25247
|
-
getRootPrefixCls: () =>
|
|
25247
|
+
getRootPrefixCls: () => ot.prefixCls ? ot.prefixCls : Wo()
|
|
25248
25248
|
}), ko = U({
|
|
25249
25249
|
compatConfig: {
|
|
25250
25250
|
MODE: 3
|
|
@@ -25276,7 +25276,7 @@ const cR = (e) => {
|
|
|
25276
25276
|
var I;
|
|
25277
25277
|
return e.locale || ((I = o.locale) === null || I === void 0 ? void 0 : I.value);
|
|
25278
25278
|
});
|
|
25279
|
-
|
|
25279
|
+
ee(f, () => {
|
|
25280
25280
|
pd.locale = f.value;
|
|
25281
25281
|
}, {
|
|
25282
25282
|
immediate: !0
|
|
@@ -25685,9 +25685,9 @@ const mR = U({
|
|
|
25685
25685
|
emit: i
|
|
25686
25686
|
} = t;
|
|
25687
25687
|
const a = K(e.value === void 0 ? e.defaultValue : e.value), l = K(!1), s = K(), u = K();
|
|
25688
|
-
|
|
25688
|
+
ee(() => e.value, () => {
|
|
25689
25689
|
a.value = e.value;
|
|
25690
|
-
}),
|
|
25690
|
+
}), ee(() => e.disabled, () => {
|
|
25691
25691
|
e.disabled && (l.value = !1);
|
|
25692
25692
|
});
|
|
25693
25693
|
const c = (C) => {
|
|
@@ -26367,13 +26367,13 @@ const bs = 0, Ss = 1, Cs = 2, PR = U({
|
|
|
26367
26367
|
const p = x(() => !!(e.autoSize || e.autosize)), v = () => {
|
|
26368
26368
|
u.value = bs;
|
|
26369
26369
|
};
|
|
26370
|
-
|
|
26370
|
+
ee([() => e.value, d, f, p], () => {
|
|
26371
26371
|
p.value && v();
|
|
26372
26372
|
}, {
|
|
26373
26373
|
immediate: !0
|
|
26374
26374
|
});
|
|
26375
26375
|
const g = Q();
|
|
26376
|
-
|
|
26376
|
+
ee([u, l], () => {
|
|
26377
26377
|
if (l.value)
|
|
26378
26378
|
if (u.value === bs)
|
|
26379
26379
|
u.value = Ss;
|
|
@@ -26468,7 +26468,7 @@ const Rb = U({
|
|
|
26468
26468
|
}
|
|
26469
26469
|
W !== d.value && (j(W), Nr(R.currentTarget, R, I, W)), r("compositionend", R);
|
|
26470
26470
|
}, E = pt();
|
|
26471
|
-
|
|
26471
|
+
ee(() => e.value, () => {
|
|
26472
26472
|
var R;
|
|
26473
26473
|
"value" in E.vnode.props, u.value = (R = e.value) !== null && R !== void 0 ? R : "";
|
|
26474
26474
|
});
|
|
@@ -27069,7 +27069,7 @@ const jR = {
|
|
|
27069
27069
|
}
|
|
27070
27070
|
e.visible && b.keyCode === ue.TAB && a.value.changeActive(!b.shiftKey);
|
|
27071
27071
|
};
|
|
27072
|
-
return
|
|
27072
|
+
return ee(() => e.visible, () => {
|
|
27073
27073
|
e.visible && (l.value = !0);
|
|
27074
27074
|
}, {
|
|
27075
27075
|
flush: "post"
|
|
@@ -27159,7 +27159,7 @@ const jR = {
|
|
|
27159
27159
|
const r = Q(e.visible);
|
|
27160
27160
|
return $u({}, {
|
|
27161
27161
|
inTriggerContext: !1
|
|
27162
|
-
}),
|
|
27162
|
+
}), ee(() => e.visible, () => {
|
|
27163
27163
|
e.visible && (r.value = !0);
|
|
27164
27164
|
}, {
|
|
27165
27165
|
flush: "post"
|
|
@@ -27327,7 +27327,7 @@ const ug = Symbol("previewGroupContext"), vd = {
|
|
|
27327
27327
|
}, w = (S) => {
|
|
27328
27328
|
S == null || S.stopPropagation(), c(!1), O(null);
|
|
27329
27329
|
};
|
|
27330
|
-
return
|
|
27330
|
+
return ee(v, (S) => {
|
|
27331
27331
|
b(S);
|
|
27332
27332
|
}, {
|
|
27333
27333
|
immediate: !0,
|
|
@@ -27474,7 +27474,7 @@ const ug = Symbol("previewGroupContext"), vd = {
|
|
|
27474
27474
|
x: le.pageX - w.deltaX,
|
|
27475
27475
|
y: le.pageY - w.deltaY
|
|
27476
27476
|
});
|
|
27477
|
-
},
|
|
27477
|
+
}, te = (le) => {
|
|
27478
27478
|
if (!e.visible) return;
|
|
27479
27479
|
le.preventDefault();
|
|
27480
27480
|
const me = le.deltaY;
|
|
@@ -27489,10 +27489,10 @@ const ug = Symbol("previewGroupContext"), vd = {
|
|
|
27489
27489
|
let ve = () => {
|
|
27490
27490
|
};
|
|
27491
27491
|
return $e(() => {
|
|
27492
|
-
|
|
27492
|
+
ee([() => e.visible, S], () => {
|
|
27493
27493
|
ve();
|
|
27494
27494
|
let le, me;
|
|
27495
|
-
const ce = zt(window, "mouseup", H, !1), he = zt(window, "mousemove", q, !1), je = zt(window, "wheel",
|
|
27495
|
+
const ce = zt(window, "mouseup", H, !1), he = zt(window, "mousemove", q, !1), je = zt(window, "wheel", te, {
|
|
27496
27496
|
passive: !1
|
|
27497
27497
|
}), ke = zt(window, "keydown", ae, !1);
|
|
27498
27498
|
try {
|
|
@@ -27505,7 +27505,7 @@ const ug = Symbol("previewGroupContext"), vd = {
|
|
|
27505
27505
|
}, {
|
|
27506
27506
|
flush: "post",
|
|
27507
27507
|
immediate: !0
|
|
27508
|
-
}),
|
|
27508
|
+
}), ee([A], () => {
|
|
27509
27509
|
const {
|
|
27510
27510
|
wheelDirection: le
|
|
27511
27511
|
} = A.value;
|
|
@@ -27656,7 +27656,7 @@ const jb = U({
|
|
|
27656
27656
|
value: c,
|
|
27657
27657
|
onChange: p
|
|
27658
27658
|
}), y = Q(u.value ? "loading" : "normal");
|
|
27659
|
-
|
|
27659
|
+
ee(() => e.src, () => {
|
|
27660
27660
|
y.value = u.value ? "loading" : "normal";
|
|
27661
27661
|
});
|
|
27662
27662
|
const b = Q(null), O = x(() => y.value === "error"), $ = vd.inject(), {
|
|
@@ -27687,13 +27687,13 @@ const jb = U({
|
|
|
27687
27687
|
}, z = () => {
|
|
27688
27688
|
g(!1), f.value || (b.value = null);
|
|
27689
27689
|
}, I = Q(null);
|
|
27690
|
-
|
|
27690
|
+
ee(() => I, () => {
|
|
27691
27691
|
y.value === "loading" && I.value.complete && (I.value.naturalWidth || I.value.naturalHeight) && F();
|
|
27692
27692
|
});
|
|
27693
27693
|
let A = () => {
|
|
27694
27694
|
};
|
|
27695
27695
|
$e(() => {
|
|
27696
|
-
|
|
27696
|
+
ee([s, M], () => {
|
|
27697
27697
|
if (A(), !w.value)
|
|
27698
27698
|
return () => {
|
|
27699
27699
|
};
|
|
@@ -27723,7 +27723,7 @@ const jb = U({
|
|
|
27723
27723
|
sizes: H,
|
|
27724
27724
|
srcset: k,
|
|
27725
27725
|
usemap: q,
|
|
27726
|
-
class:
|
|
27726
|
+
class: te,
|
|
27727
27727
|
style: ae
|
|
27728
27728
|
} = h(h({}, e), n), fe = l.value, {
|
|
27729
27729
|
icons: ve,
|
|
@@ -27741,7 +27741,7 @@ const jb = U({
|
|
|
27741
27741
|
height: ne,
|
|
27742
27742
|
class: ie(`${L}-img`, {
|
|
27743
27743
|
[`${L}-img-placeholder`]: J === !0
|
|
27744
|
-
},
|
|
27744
|
+
}, te),
|
|
27745
27745
|
style: h({
|
|
27746
27746
|
height: N(ne)
|
|
27747
27747
|
}, ae)
|
|
@@ -28394,7 +28394,7 @@ const v7 = {
|
|
|
28394
28394
|
success: we(),
|
|
28395
28395
|
gapDegree: Number,
|
|
28396
28396
|
gapPosition: Xe(),
|
|
28397
|
-
size:
|
|
28397
|
+
size: rt([String, Number, Array]),
|
|
28398
28398
|
steps: Number,
|
|
28399
28399
|
/** @deprecated Use `success` instead */
|
|
28400
28400
|
successPercent: Number,
|
|
@@ -28879,7 +28879,7 @@ const I7 = U({
|
|
|
28879
28879
|
}
|
|
28880
28880
|
}), R7 = () => h(h({}, Tl()), {
|
|
28881
28881
|
steps: Number,
|
|
28882
|
-
strokeColor:
|
|
28882
|
+
strokeColor: rt(),
|
|
28883
28883
|
trailColor: String
|
|
28884
28884
|
}), D7 = U({
|
|
28885
28885
|
compatConfig: {
|
|
@@ -29597,7 +29597,7 @@ const K7 = (e, t, n, o) => {
|
|
|
29597
29597
|
inComposition: !1,
|
|
29598
29598
|
cancelFlag: !1
|
|
29599
29599
|
});
|
|
29600
|
-
|
|
29600
|
+
ee(() => e.value, (O) => {
|
|
29601
29601
|
a.current = O;
|
|
29602
29602
|
});
|
|
29603
29603
|
const l = Q();
|
|
@@ -30030,7 +30030,7 @@ const hD = Gy("webkitLineClamp"), yD = Gy("textOverflow"), Ig = "...", $i = () =
|
|
|
30030
30030
|
l.clientRendered = !0, T();
|
|
30031
30031
|
}), Le(() => {
|
|
30032
30032
|
clearTimeout(l.copyId), Ae.cancel(l.rafId);
|
|
30033
|
-
}),
|
|
30033
|
+
}), ee([() => c.value.rows, () => e.content], () => {
|
|
30034
30034
|
De(() => {
|
|
30035
30035
|
P();
|
|
30036
30036
|
});
|
|
@@ -30091,7 +30091,7 @@ const hD = Gy("webkitLineClamp"), yD = Gy("textOverflow"), Ig = "...", $i = () =
|
|
|
30091
30091
|
} = O.value;
|
|
30092
30092
|
I && A && A(), w(I);
|
|
30093
30093
|
}
|
|
30094
|
-
|
|
30094
|
+
ee($, (I) => {
|
|
30095
30095
|
var A;
|
|
30096
30096
|
I || (A = u.value) === null || A === void 0 || A.focus();
|
|
30097
30097
|
}, {
|
|
@@ -30273,7 +30273,7 @@ const hD = Gy("webkitLineClamp"), yD = Gy("textOverflow"), Ig = "...", $i = () =
|
|
|
30273
30273
|
expand: q
|
|
30274
30274
|
} = L;
|
|
30275
30275
|
l.editStr = X, l.copyStr = H, l.copiedStr = k, l.expandStr = q;
|
|
30276
|
-
const
|
|
30276
|
+
const te = _e(Z, ["prefixCls", "editable", "copyable", "ellipsis", "mark", "code", "delete", "underline", "strong", "keyboard", "onUpdate:content"]), ae = C.value, fe = ne === 1 && ae, ve = ne && ne > 1 && ae;
|
|
30277
30277
|
let le = N, me;
|
|
30278
30278
|
if (ne && l.isEllipsis && !l.expanded && !ae) {
|
|
30279
30279
|
const {
|
|
@@ -30309,7 +30309,7 @@ const hD = Gy("webkitLineClamp"), yD = Gy("textOverflow"), Ig = "...", $i = () =
|
|
|
30309
30309
|
direction: a.value,
|
|
30310
30310
|
onClick: A.indexOf("text") !== -1 ? p : () => {
|
|
30311
30311
|
}
|
|
30312
|
-
},
|
|
30312
|
+
}, te), {
|
|
30313
30313
|
default: () => [ce ? m(_t, {
|
|
30314
30314
|
title: Y === !0 ? N : he
|
|
30315
30315
|
}, {
|
|
@@ -30950,17 +30950,17 @@ Id.displayName = "FileTwoTone";
|
|
|
30950
30950
|
Id.inheritAttrs = !1;
|
|
30951
30951
|
function Gb() {
|
|
30952
30952
|
return {
|
|
30953
|
-
capture:
|
|
30953
|
+
capture: rt([Boolean, String]),
|
|
30954
30954
|
type: Xe(),
|
|
30955
30955
|
name: String,
|
|
30956
30956
|
defaultFileList: Ko(),
|
|
30957
30957
|
fileList: Ko(),
|
|
30958
|
-
action:
|
|
30958
|
+
action: rt([String, Function]),
|
|
30959
30959
|
directory: Ie(),
|
|
30960
|
-
data:
|
|
30960
|
+
data: rt([Object, Function]),
|
|
30961
30961
|
method: Xe(),
|
|
30962
30962
|
headers: we(),
|
|
30963
|
-
showUploadList:
|
|
30963
|
+
showUploadList: rt([Boolean, Object]),
|
|
30964
30964
|
multiple: Ie(),
|
|
30965
30965
|
accept: String,
|
|
30966
30966
|
beforeUpload: ge(),
|
|
@@ -30991,7 +30991,7 @@ function Gb() {
|
|
|
30991
30991
|
itemRender: ge(),
|
|
30992
30992
|
/** Config max count of `fileList`. Will replace current one when `maxCount` is 1 */
|
|
30993
30993
|
maxCount: Number,
|
|
30994
|
-
height:
|
|
30994
|
+
height: rt([Number, String]),
|
|
30995
30995
|
removeIcon: ge(),
|
|
30996
30996
|
downloadIcon: ge(),
|
|
30997
30997
|
previewIcon: ge()
|
|
@@ -31151,7 +31151,7 @@ const UD = () => ({
|
|
|
31151
31151
|
clearTimeout(a.value);
|
|
31152
31152
|
});
|
|
31153
31153
|
const l = K((r = e.file) === null || r === void 0 ? void 0 : r.status);
|
|
31154
|
-
|
|
31154
|
+
ee(() => {
|
|
31155
31155
|
var c;
|
|
31156
31156
|
return (c = e.file) === null || c === void 0 ? void 0 : c.status;
|
|
31157
31157
|
}, (c) => {
|
|
@@ -31193,15 +31193,15 @@ const UD = () => ({
|
|
|
31193
31193
|
}, [N]);
|
|
31194
31194
|
if (v === "picture" || v === "picture-card")
|
|
31195
31195
|
if (l.value === "uploading" || !g.thumbUrl && !g.url) {
|
|
31196
|
-
const
|
|
31196
|
+
const te = {
|
|
31197
31197
|
[`${f}-list-item-thumbnail`]: !0,
|
|
31198
31198
|
[`${f}-list-item-file`]: l.value !== "uploading"
|
|
31199
31199
|
};
|
|
31200
31200
|
L = m("div", {
|
|
31201
|
-
class:
|
|
31201
|
+
class: te
|
|
31202
31202
|
}, [N]);
|
|
31203
31203
|
} else {
|
|
31204
|
-
const
|
|
31204
|
+
const te = S != null && S(g) ? m("img", {
|
|
31205
31205
|
src: g.thumbUrl || g.url,
|
|
31206
31206
|
alt: g.name,
|
|
31207
31207
|
class: `${f}-list-item-image`,
|
|
@@ -31216,7 +31216,7 @@ const UD = () => ({
|
|
|
31216
31216
|
href: g.url || g.thumbUrl,
|
|
31217
31217
|
target: "_blank",
|
|
31218
31218
|
rel: "noopener noreferrer"
|
|
31219
|
-
}, [
|
|
31219
|
+
}, [te]);
|
|
31220
31220
|
}
|
|
31221
31221
|
const R = {
|
|
31222
31222
|
[`${f}-list-item`]: !0,
|
|
@@ -31248,11 +31248,11 @@ const UD = () => ({
|
|
|
31248
31248
|
title: g.name
|
|
31249
31249
|
}, _), {}, {
|
|
31250
31250
|
href: g.url,
|
|
31251
|
-
onClick: (
|
|
31251
|
+
onClick: (te) => j(g, te)
|
|
31252
31252
|
}), [g.name]), oe] : [m("span", {
|
|
31253
31253
|
key: "view",
|
|
31254
31254
|
class: re,
|
|
31255
|
-
onClick: (
|
|
31255
|
+
onClick: (te) => j(g, te),
|
|
31256
31256
|
title: g.name
|
|
31257
31257
|
}, [g.name]), oe], ne = {
|
|
31258
31258
|
pointerEvents: "none",
|
|
@@ -31262,7 +31262,7 @@ const UD = () => ({
|
|
|
31262
31262
|
target: "_blank",
|
|
31263
31263
|
rel: "noopener noreferrer",
|
|
31264
31264
|
style: g.url || g.thumbUrl ? void 0 : ne,
|
|
31265
|
-
onClick: (
|
|
31265
|
+
onClick: (te) => j(g, te),
|
|
31266
31266
|
title: p.previewFile
|
|
31267
31267
|
}, [E ? E({
|
|
31268
31268
|
file: g
|
|
@@ -31282,7 +31282,7 @@ const UD = () => ({
|
|
|
31282
31282
|
[`${I}`]: !!I
|
|
31283
31283
|
}, k = g.response && typeof g.response == "string" ? g.response : ((c = g.error) === null || c === void 0 ? void 0 : c.statusText) || ((d = g.error) === null || d === void 0 ? void 0 : d.message) || p.uploadError, q = l.value === "error" ? m(_t, {
|
|
31284
31284
|
title: k,
|
|
31285
|
-
getPopupContainer: (
|
|
31285
|
+
getPopupContainer: (te) => te.parentNode
|
|
31286
31286
|
}, {
|
|
31287
31287
|
default: () => [X]
|
|
31288
31288
|
}) : X;
|
|
@@ -31336,7 +31336,7 @@ const UD = () => ({
|
|
|
31336
31336
|
r.value == !0;
|
|
31337
31337
|
});
|
|
31338
31338
|
const i = K([]);
|
|
31339
|
-
|
|
31339
|
+
ee(() => e.items, function() {
|
|
31340
31340
|
let g = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [];
|
|
31341
31341
|
i.value = g.slice();
|
|
31342
31342
|
}, {
|
|
@@ -32610,8 +32610,8 @@ const V9 = () => ({
|
|
|
32610
32610
|
wrap: Xe(),
|
|
32611
32611
|
justify: Xe(),
|
|
32612
32612
|
align: Xe(),
|
|
32613
|
-
flex:
|
|
32614
|
-
gap:
|
|
32613
|
+
flex: rt([Number, String]),
|
|
32614
|
+
gap: rt([Number, String]),
|
|
32615
32615
|
component: et()
|
|
32616
32616
|
});
|
|
32617
32617
|
var W9 = function(e, t) {
|
|
@@ -32842,10 +32842,10 @@ function Xn(e) {
|
|
|
32842
32842
|
}
|
|
32843
32843
|
const J9 = (e, t, n, o) => {
|
|
32844
32844
|
const [r, i] = qe(""), [a, l] = qe(1), s = x(() => t.value && Xn(e.value));
|
|
32845
|
-
return
|
|
32845
|
+
return ee(e, () => {
|
|
32846
32846
|
const c = se(r);
|
|
32847
32847
|
i(e.value), !s.value && Xn(e.value) ? l(e.value.length) : Xn(e.value) && Xn(c) && e.value.indexOf(c) !== 0 && l(1);
|
|
32848
|
-
}, { immediate: !0 }),
|
|
32848
|
+
}, { immediate: !0 }), ee([a, t, e], () => {
|
|
32849
32849
|
if (s.value && Xn(e.value) && se(a) < e.value.length) {
|
|
32850
32850
|
const c = setTimeout(() => {
|
|
32851
32851
|
l(se(a) + n.value);
|
|
@@ -32953,7 +32953,7 @@ const Jb = Symbol("StyleContextKey"), oF = () => {
|
|
|
32953
32953
|
...e1,
|
|
32954
32954
|
cache: si()
|
|
32955
32955
|
});
|
|
32956
|
-
return
|
|
32956
|
+
return ee([() => se(e), t], () => {
|
|
32957
32957
|
const o = {
|
|
32958
32958
|
...t.value
|
|
32959
32959
|
}, r = se(e);
|
|
@@ -33026,7 +33026,7 @@ function _d(e, t, n, o) {
|
|
|
33026
33026
|
return c - 1 === 0 ? (o == null || o(d, !1), null) : [c - 1, d];
|
|
33027
33027
|
});
|
|
33028
33028
|
};
|
|
33029
|
-
return
|
|
33029
|
+
return ee(i, (s, u) => {
|
|
33030
33030
|
u && l(u), r.value.cache.update(s, (c) => {
|
|
33031
33031
|
const [d = 0, f] = c || [], v = f || n();
|
|
33032
33032
|
return [d + 1, v];
|
|
@@ -33182,7 +33182,7 @@ function mF() {
|
|
|
33182
33182
|
}
|
|
33183
33183
|
let gF = mF;
|
|
33184
33184
|
const vF = Symbol("WarningContext"), Jg = K(), hF = (e) => {
|
|
33185
|
-
Ce(vF, e),
|
|
33185
|
+
Ce(vF, e), ee(
|
|
33186
33186
|
e,
|
|
33187
33187
|
() => {
|
|
33188
33188
|
Jg.value = se(e), Jt(Jg);
|
|
@@ -34512,7 +34512,7 @@ const { genStyleHooks: Hn } = rL({
|
|
|
34512
34512
|
},
|
|
34513
34513
|
hL
|
|
34514
34514
|
), y1 = Symbol("BubbleContext"), Bc = K(), yL = (e) => {
|
|
34515
|
-
Ce(y1, e),
|
|
34515
|
+
Ce(y1, e), ee(
|
|
34516
34516
|
e,
|
|
34517
34517
|
() => {
|
|
34518
34518
|
Bc.value = se(e), Jt(Bc);
|
|
@@ -34535,47 +34535,45 @@ const { genStyleHooks: Hn } = rL({
|
|
|
34535
34535
|
}), b1 = /* @__PURE__ */ U({
|
|
34536
34536
|
name: "AXBubble",
|
|
34537
34537
|
__name: "Bubble",
|
|
34538
|
-
props:
|
|
34539
|
-
prefixCls:
|
|
34540
|
-
rootClassName:
|
|
34541
|
-
styles:
|
|
34542
|
-
|
|
34543
|
-
|
|
34544
|
-
|
|
34538
|
+
props: {
|
|
34539
|
+
prefixCls: {},
|
|
34540
|
+
rootClassName: {},
|
|
34541
|
+
styles: {
|
|
34542
|
+
default: () => ({})
|
|
34543
|
+
},
|
|
34544
|
+
classNames: {
|
|
34545
|
+
default: () => ({})
|
|
34546
|
+
},
|
|
34547
|
+
avatar: {},
|
|
34548
|
+
placement: {
|
|
34549
|
+
default: "start"
|
|
34545
34550
|
},
|
|
34546
|
-
placement: null,
|
|
34547
34551
|
loading: {
|
|
34548
|
-
type: Boolean
|
|
34552
|
+
type: Boolean,
|
|
34553
|
+
default: !1
|
|
34549
34554
|
},
|
|
34550
|
-
typing:
|
|
34551
|
-
content:
|
|
34552
|
-
|
|
34553
|
-
type: Function
|
|
34555
|
+
typing: {},
|
|
34556
|
+
content: {
|
|
34557
|
+
default: ""
|
|
34554
34558
|
},
|
|
34555
|
-
|
|
34556
|
-
|
|
34559
|
+
messageRender: {},
|
|
34560
|
+
loadingRender: {},
|
|
34561
|
+
variant: {
|
|
34562
|
+
default: "filled"
|
|
34557
34563
|
},
|
|
34558
|
-
|
|
34559
|
-
|
|
34560
|
-
|
|
34561
|
-
|
|
34562
|
-
|
|
34563
|
-
|
|
34564
|
-
}, {
|
|
34565
|
-
classNames: () => ({}),
|
|
34566
|
-
styles: () => ({}),
|
|
34567
|
-
placement: "start",
|
|
34568
|
-
loading: !1,
|
|
34569
|
-
content: "",
|
|
34570
|
-
variant: "filled"
|
|
34571
|
-
}),
|
|
34564
|
+
shape: {},
|
|
34565
|
+
_key: {},
|
|
34566
|
+
onTypingComplete: {},
|
|
34567
|
+
header: {},
|
|
34568
|
+
footer: {}
|
|
34569
|
+
},
|
|
34572
34570
|
setup(e, {
|
|
34573
34571
|
expose: t
|
|
34574
34572
|
}) {
|
|
34575
34573
|
const n = ut(e, ["prefixCls", "rootClassName", "classNames", "styles", "avatar", "placement", "loading", "loadingRender", "typing", "content", "messageRender", "variant", "shape", "onTypingComplete", "header", "footer", "_key"]);
|
|
34576
34574
|
Oe(e, "content"), Oe(e, "prefixCls");
|
|
34577
34575
|
const o = Lt(), r = Q(e.content);
|
|
34578
|
-
|
|
34576
|
+
ee(() => e.content, () => {
|
|
34579
34577
|
r.value = e.content;
|
|
34580
34578
|
});
|
|
34581
34579
|
const {
|
|
@@ -34584,7 +34582,7 @@ const { genStyleHooks: Hn } = rL({
|
|
|
34584
34582
|
direction: l,
|
|
34585
34583
|
getPrefixCls: s
|
|
34586
34584
|
} = ft(), u = s("bubble", e.prefixCls), c = Bn("bubble"), [d, f, p, v] = eF(() => e.typing), [g, y] = J9(r, d, f, p), b = Q(!1);
|
|
34587
|
-
|
|
34585
|
+
ee(g, () => {
|
|
34588
34586
|
i == null || i();
|
|
34589
34587
|
}), xe(() => {
|
|
34590
34588
|
var F;
|
|
@@ -34749,7 +34747,7 @@ function IL(e) {
|
|
|
34749
34747
|
const a = se(o)[se(o).length - 1];
|
|
34750
34748
|
return a ? a.key : null;
|
|
34751
34749
|
});
|
|
34752
|
-
|
|
34750
|
+
ee(
|
|
34753
34751
|
e,
|
|
34754
34752
|
() => {
|
|
34755
34753
|
var a;
|
|
@@ -34792,7 +34790,7 @@ const EL = 1, Wa = /* @__PURE__ */ U({
|
|
|
34792
34790
|
name: "AXBubbleList",
|
|
34793
34791
|
inheritAttrs: !1,
|
|
34794
34792
|
__name: "BubbleList",
|
|
34795
|
-
props:
|
|
34793
|
+
props: at({
|
|
34796
34794
|
prefixCls: null,
|
|
34797
34795
|
rootClassName: null,
|
|
34798
34796
|
items: null,
|
|
@@ -34812,9 +34810,9 @@ const EL = 1, Wa = /* @__PURE__ */ U({
|
|
|
34812
34810
|
attr: !0,
|
|
34813
34811
|
aria: !0
|
|
34814
34812
|
})), a = Q(e.items), l = Q(e.roles);
|
|
34815
|
-
|
|
34813
|
+
ee(() => e.items, () => {
|
|
34816
34814
|
a.value = e.items;
|
|
34817
|
-
}),
|
|
34815
|
+
}), ee(() => e.roles, () => {
|
|
34818
34816
|
l.value = e.roles;
|
|
34819
34817
|
});
|
|
34820
34818
|
const s = Q(null), u = Q({}), {
|
|
@@ -34829,13 +34827,13 @@ const EL = 1, Wa = /* @__PURE__ */ U({
|
|
|
34829
34827
|
const D = j.target;
|
|
34830
34828
|
P(D.scrollHeight - Math.abs(D.scrollTop) - D.clientHeight <= EL);
|
|
34831
34829
|
};
|
|
34832
|
-
|
|
34830
|
+
ee(C, () => {
|
|
34833
34831
|
e.autoScroll && se(s) && se(S) && De(() => {
|
|
34834
34832
|
se(s).scrollTo({
|
|
34835
34833
|
top: se(s).scrollHeight
|
|
34836
34834
|
});
|
|
34837
34835
|
});
|
|
34838
|
-
}),
|
|
34836
|
+
}), ee(() => se($).length, () => {
|
|
34839
34837
|
var j;
|
|
34840
34838
|
if (e.autoScroll) {
|
|
34841
34839
|
const D = (j = se($)[se($).length - 2]) == null ? void 0 : j.key, z = se(u)[D];
|
|
@@ -35033,7 +35031,7 @@ const AL = /* @__PURE__ */ U({
|
|
|
35033
35031
|
});
|
|
35034
35032
|
}
|
|
35035
35033
|
}), S1 = Symbol("GroupTitleContext"), Hc = K(), ML = (e) => {
|
|
35036
|
-
Ce(S1, e),
|
|
35034
|
+
Ce(S1, e), ee(
|
|
35037
35035
|
e,
|
|
35038
35036
|
() => {
|
|
35039
35037
|
Hc.value = se(e), Jt(Hc);
|
|
@@ -35081,7 +35079,7 @@ function C1(e, t) {
|
|
|
35081
35079
|
const u = a.value;
|
|
35082
35080
|
i.value = s, Et(a.value) !== s && t.onChange && t.onChange(s, u);
|
|
35083
35081
|
}
|
|
35084
|
-
return
|
|
35082
|
+
return ee(o, () => {
|
|
35085
35083
|
i.value = o.value;
|
|
35086
35084
|
}), [a, l];
|
|
35087
35085
|
}
|
|
@@ -35221,7 +35219,7 @@ const Ls = "__ungrouped", FL = (e, t = []) => {
|
|
|
35221
35219
|
), zL = /* @__PURE__ */ U({
|
|
35222
35220
|
name: "AXConversations",
|
|
35223
35221
|
__name: "Conversations",
|
|
35224
|
-
props:
|
|
35222
|
+
props: at({
|
|
35225
35223
|
items: null,
|
|
35226
35224
|
activeKey: null,
|
|
35227
35225
|
defaultActiveKey: null,
|
|
@@ -35250,7 +35248,7 @@ const Ls = "__ungrouped", FL = (e, t = []) => {
|
|
|
35250
35248
|
})), [r, i] = C1(e.defaultActiveKey, {
|
|
35251
35249
|
value: n
|
|
35252
35250
|
});
|
|
35253
|
-
|
|
35251
|
+
ee(() => e.activeKey, () => {
|
|
35254
35252
|
n.value = e.activeKey;
|
|
35255
35253
|
});
|
|
35256
35254
|
const a = FL(() => e.groupable, () => e.items), {
|
|
@@ -35370,7 +35368,7 @@ function WL(e) {
|
|
|
35370
35368
|
const kL = /* @__PURE__ */ U({
|
|
35371
35369
|
name: "AXWelcome",
|
|
35372
35370
|
__name: "Welcome",
|
|
35373
|
-
props:
|
|
35371
|
+
props: at({
|
|
35374
35372
|
prefixCls: null,
|
|
35375
35373
|
rootClassName: null,
|
|
35376
35374
|
className: null,
|
|
@@ -35580,7 +35578,7 @@ const kL = /* @__PURE__ */ U({
|
|
|
35580
35578
|
), Br = /* @__PURE__ */ U({
|
|
35581
35579
|
name: "AXPrompts",
|
|
35582
35580
|
__name: "Prompts",
|
|
35583
|
-
props:
|
|
35581
|
+
props: at({
|
|
35584
35582
|
items: null,
|
|
35585
35583
|
title: {
|
|
35586
35584
|
type: Function
|
|
@@ -35764,7 +35762,7 @@ function QL(e, t, n, o, r) {
|
|
|
35764
35762
|
break;
|
|
35765
35763
|
}
|
|
35766
35764
|
});
|
|
35767
|
-
return
|
|
35765
|
+
return ee(() => Re(t), () => {
|
|
35768
35766
|
Re(t) && a([Re(e)[0].value]);
|
|
35769
35767
|
}, { immediate: !0 }), [i, f];
|
|
35770
35768
|
}
|
|
@@ -35806,7 +35804,7 @@ function aN(e, t, n = {}) {
|
|
|
35806
35804
|
}, s = x(() => {
|
|
35807
35805
|
const d = Re(e);
|
|
35808
35806
|
return Array.isArray(d) ? d.map((f) => No(f)) : [No(d)];
|
|
35809
|
-
}), u =
|
|
35807
|
+
}), u = ee(
|
|
35810
35808
|
s,
|
|
35811
35809
|
(d) => {
|
|
35812
35810
|
if (l(), a.value && o) {
|
|
@@ -35850,7 +35848,7 @@ function lN(e, t = { width: 0, height: 0 }, n = {}) {
|
|
|
35850
35848
|
const d = No(e);
|
|
35851
35849
|
d && (a.value = "offsetWidth" in d ? d.offsetWidth : t.width, l.value = "offsetHeight" in d ? d.offsetHeight : t.height);
|
|
35852
35850
|
});
|
|
35853
|
-
const u =
|
|
35851
|
+
const u = ee(
|
|
35854
35852
|
() => No(e),
|
|
35855
35853
|
(d) => {
|
|
35856
35854
|
a.value = d ? t.width : 0, l.value = d ? t.height : 0;
|
|
@@ -35868,7 +35866,7 @@ function lN(e, t = { width: 0, height: 0 }, n = {}) {
|
|
|
35868
35866
|
const sN = /* @__PURE__ */ U({
|
|
35869
35867
|
name: "AXSuggestion",
|
|
35870
35868
|
__name: "Suggestion",
|
|
35871
|
-
props:
|
|
35869
|
+
props: at({
|
|
35872
35870
|
prefixCls: null,
|
|
35873
35871
|
className: null,
|
|
35874
35872
|
rootClassName: null,
|
|
@@ -35910,7 +35908,11 @@ const sN = /* @__PURE__ */ U({
|
|
|
35910
35908
|
return {
|
|
35911
35909
|
width: `${d.value}px`
|
|
35912
35910
|
};
|
|
35913
|
-
}), [p, v] = qe(e.open)
|
|
35911
|
+
}), [p, v] = qe(e.open);
|
|
35912
|
+
ee(() => e.open, (E) => {
|
|
35913
|
+
v(E);
|
|
35914
|
+
});
|
|
35915
|
+
const [g, y] = qe(), b = (E) => {
|
|
35914
35916
|
var M;
|
|
35915
35917
|
v(E), (M = e.onOpenChange) == null || M.call(e, E);
|
|
35916
35918
|
}, O = (E) => {
|
|
@@ -35954,7 +35956,7 @@ const sN = /* @__PURE__ */ U({
|
|
|
35954
35956
|
}));
|
|
35955
35957
|
}
|
|
35956
35958
|
}), x1 = Symbol("SenderHeaderContext"), _c = K(), cN = (e) => {
|
|
35957
|
-
Ce(x1, e),
|
|
35959
|
+
Ce(x1, e), ee(
|
|
35958
35960
|
e,
|
|
35959
35961
|
() => {
|
|
35960
35962
|
_c.value = se(e), Jt(_c);
|
|
@@ -35975,7 +35977,7 @@ const sN = /* @__PURE__ */ U({
|
|
|
35975
35977
|
};
|
|
35976
35978
|
}
|
|
35977
35979
|
}), w1 = Symbol("ActionButtonContext"), Vc = K(), fN = (e) => {
|
|
35978
|
-
Ce(w1, e),
|
|
35980
|
+
Ce(w1, e), ee(
|
|
35979
35981
|
e,
|
|
35980
35982
|
() => {
|
|
35981
35983
|
Vc.value = se(e), Jt(Vc);
|
|
@@ -35998,7 +36000,7 @@ const sN = /* @__PURE__ */ U({
|
|
|
35998
36000
|
}), Rl = /* @__PURE__ */ U({
|
|
35999
36001
|
name: "AXSenderActionButton",
|
|
36000
36002
|
__name: "index",
|
|
36001
|
-
props:
|
|
36003
|
+
props: at({
|
|
36002
36004
|
prefixCls: null,
|
|
36003
36005
|
type: null,
|
|
36004
36006
|
htmlType: null,
|
|
@@ -36048,7 +36050,7 @@ const sN = /* @__PURE__ */ U({
|
|
|
36048
36050
|
}), mN = /* @__PURE__ */ U({
|
|
36049
36051
|
name: "AXSenderClearButton",
|
|
36050
36052
|
__name: "ClearButton",
|
|
36051
|
-
props:
|
|
36053
|
+
props: at({
|
|
36052
36054
|
prefixCls: null,
|
|
36053
36055
|
type: null,
|
|
36054
36056
|
htmlType: null,
|
|
@@ -36131,7 +36133,7 @@ const sN = /* @__PURE__ */ U({
|
|
|
36131
36133
|
}), gv = /* @__PURE__ */ U({
|
|
36132
36134
|
name: "AXSenderLoadingButton",
|
|
36133
36135
|
__name: "LoadingButton",
|
|
36134
|
-
props:
|
|
36136
|
+
props: at({
|
|
36135
36137
|
prefixCls: null,
|
|
36136
36138
|
type: null,
|
|
36137
36139
|
htmlType: null,
|
|
@@ -36182,7 +36184,7 @@ const sN = /* @__PURE__ */ U({
|
|
|
36182
36184
|
}), vv = /* @__PURE__ */ U({
|
|
36183
36185
|
name: "AXSenderLoadingButton",
|
|
36184
36186
|
__name: "SendButton",
|
|
36185
|
-
props:
|
|
36187
|
+
props: at({
|
|
36186
36188
|
prefixCls: null,
|
|
36187
36189
|
type: null,
|
|
36188
36190
|
htmlType: null,
|
|
@@ -36269,7 +36271,7 @@ const sN = /* @__PURE__ */ U({
|
|
|
36269
36271
|
}), yv = /* @__PURE__ */ U({
|
|
36270
36272
|
name: "AXSenderSpeechButton",
|
|
36271
36273
|
__name: "index",
|
|
36272
|
-
props:
|
|
36274
|
+
props: at({
|
|
36273
36275
|
prefixCls: null,
|
|
36274
36276
|
type: null,
|
|
36275
36277
|
htmlType: null,
|
|
@@ -36624,7 +36626,7 @@ function $N(e, t) {
|
|
|
36624
36626
|
const xN = /* @__PURE__ */ U({
|
|
36625
36627
|
name: "AXSender",
|
|
36626
36628
|
__name: "Sender",
|
|
36627
|
-
props:
|
|
36629
|
+
props: at({
|
|
36628
36630
|
onKeyPress: {
|
|
36629
36631
|
type: Function
|
|
36630
36632
|
},
|
|
@@ -36716,7 +36718,7 @@ const xN = /* @__PURE__ */ U({
|
|
|
36716
36718
|
})), $ = x(() => `${c.value}-actions-btn`), w = x(() => `${c.value}-actions-list`), S = Q(e.value ?? e.defaultValue ?? ""), P = (V) => {
|
|
36717
36719
|
S.value = V;
|
|
36718
36720
|
};
|
|
36719
|
-
|
|
36721
|
+
ee(() => e.value, () => {
|
|
36720
36722
|
P(e.value);
|
|
36721
36723
|
});
|
|
36722
36724
|
const C = (V, Y) => {
|
|
@@ -36876,7 +36878,7 @@ const xN = /* @__PURE__ */ U({
|
|
|
36876
36878
|
name: "AXSenderHeader",
|
|
36877
36879
|
inheritAttrs: !1,
|
|
36878
36880
|
__name: "SenderHeader",
|
|
36879
|
-
props:
|
|
36881
|
+
props: at({
|
|
36880
36882
|
forceRender: {
|
|
36881
36883
|
type: Boolean
|
|
36882
36884
|
},
|
|
@@ -36950,7 +36952,7 @@ ga.install = function(e) {
|
|
|
36950
36952
|
return e.component(ga.name, ga), e.component(Wc.name, Wc), e;
|
|
36951
36953
|
};
|
|
36952
36954
|
const P1 = Symbol("AttachmentContext"), kc = K(), wN = (e) => {
|
|
36953
|
-
Ce(P1, e),
|
|
36955
|
+
Ce(P1, e), ee(
|
|
36954
36956
|
e,
|
|
36955
36957
|
() => {
|
|
36956
36958
|
kc.value = se(e), Jt(kc);
|
|
@@ -36974,7 +36976,7 @@ const P1 = Symbol("AttachmentContext"), kc = K(), wN = (e) => {
|
|
|
36974
36976
|
}), PN = /* @__PURE__ */ U({
|
|
36975
36977
|
name: "AXAttachmentsPlaceholderUploader",
|
|
36976
36978
|
__name: "PlaceholderUploader",
|
|
36977
|
-
props:
|
|
36979
|
+
props: at({
|
|
36978
36980
|
prefixCls: null,
|
|
36979
36981
|
placeholder: null,
|
|
36980
36982
|
upload: null,
|
|
@@ -37060,11 +37062,11 @@ const P1 = Symbol("AttachmentContext"), kc = K(), wN = (e) => {
|
|
|
37060
37062
|
$e(() => {
|
|
37061
37063
|
var s;
|
|
37062
37064
|
o((s = e.getDropContainer) == null ? void 0 : s.call(e));
|
|
37063
|
-
}),
|
|
37065
|
+
}), ee(() => Re(e.getDropContainer), () => {
|
|
37064
37066
|
var u;
|
|
37065
37067
|
const s = (u = e.getDropContainer) == null ? void 0 : u.call(e);
|
|
37066
37068
|
n.value !== s && o(s);
|
|
37067
|
-
}),
|
|
37069
|
+
}), ee(() => !!n.value, () => {
|
|
37068
37070
|
if (n.value) {
|
|
37069
37071
|
const s = () => {
|
|
37070
37072
|
i(!0);
|
|
@@ -38012,7 +38014,7 @@ const jN = (e) => {
|
|
|
38012
38014
|
iconColor: ea
|
|
38013
38015
|
};
|
|
38014
38016
|
}), [T, E] = qe();
|
|
38015
|
-
|
|
38017
|
+
ee(() => e.item.originFileObj, () => {
|
|
38016
38018
|
if (e.item.originFileObj) {
|
|
38017
38019
|
let D = !0;
|
|
38018
38020
|
NN(e.item.originFileObj).then((z) => {
|
|
@@ -38101,7 +38103,7 @@ const jN = (e) => {
|
|
|
38101
38103
|
const v = n.value;
|
|
38102
38104
|
v && (e.overflow === "scrollX" ? (l(Math.abs(v.scrollLeft) >= Cv), u(v.scrollWidth - v.clientWidth - Math.abs(v.scrollLeft) >= Cv)) : e.overflow === "scrollY" && (l(v.scrollTop !== 0), u(v.scrollHeight - v.clientHeight !== v.scrollTop)));
|
|
38103
38105
|
};
|
|
38104
|
-
|
|
38106
|
+
ee([() => e.overflow, () => e.items.length], () => {
|
|
38105
38107
|
De(() => {
|
|
38106
38108
|
c();
|
|
38107
38109
|
});
|
|
@@ -38165,7 +38167,7 @@ const jN = (e) => {
|
|
|
38165
38167
|
}), VN = /* @__PURE__ */ U({
|
|
38166
38168
|
name: "AXAttachments",
|
|
38167
38169
|
__name: "Attachments",
|
|
38168
|
-
props:
|
|
38170
|
+
props: at({
|
|
38169
38171
|
capture: null,
|
|
38170
38172
|
type: null,
|
|
38171
38173
|
name: null,
|
|
@@ -38241,7 +38243,7 @@ const jN = (e) => {
|
|
|
38241
38243
|
getPrefixCls: r,
|
|
38242
38244
|
direction: i
|
|
38243
38245
|
} = ft(), a = r("attachment", e.prefixCls), l = Bn("attachments"), s = x(() => l.value.classNames), u = x(() => l.value.styles), c = Xo("attachments-container"), d = Xo("placeholder-uploader"), [f, p, v] = E1(a), g = x(() => pe(p.value, v)), [y, b] = qe(e.items);
|
|
38244
|
-
|
|
38246
|
+
ee(() => e.items, () => {
|
|
38245
38247
|
b(e.items);
|
|
38246
38248
|
});
|
|
38247
38249
|
const O = (C) => {
|
|
@@ -38386,7 +38388,7 @@ const WN = (e, t, n) => {
|
|
|
38386
38388
|
const s = r.value.includes(l) ? r.value.filter((d) => d !== l) : [...r.value, l];
|
|
38387
38389
|
(c = (u = o.value).customizeOnExpand) == null || c.call(u, s), typeof Re(e) != "object" && i(s);
|
|
38388
38390
|
};
|
|
38389
|
-
return
|
|
38391
|
+
return ee(
|
|
38390
38392
|
o,
|
|
38391
38393
|
(l) => {
|
|
38392
38394
|
i(l.customizeExpandedKeys);
|
|
@@ -38609,7 +38611,7 @@ const kN = (e) => {
|
|
|
38609
38611
|
O1(t)
|
|
38610
38612
|
];
|
|
38611
38613
|
}), A1 = Symbol("ThoughtChainNodeContext"), Kc = K(), qN = (e) => {
|
|
38612
|
-
Ce(A1, e),
|
|
38614
|
+
Ce(A1, e), ee(
|
|
38613
38615
|
e,
|
|
38614
38616
|
() => {
|
|
38615
38617
|
Kc.value = se(e), Jt(Kc);
|
|
@@ -38632,7 +38634,7 @@ const kN = (e) => {
|
|
|
38632
38634
|
}), QN = /* @__PURE__ */ U({
|
|
38633
38635
|
name: "AXThoughtChainNode",
|
|
38634
38636
|
__name: "item",
|
|
38635
|
-
props:
|
|
38637
|
+
props: at({
|
|
38636
38638
|
info: null,
|
|
38637
38639
|
nextStatus: null,
|
|
38638
38640
|
onClick: {
|
|
@@ -38729,7 +38731,7 @@ const kN = (e) => {
|
|
|
38729
38731
|
}), JN = /* @__PURE__ */ U({
|
|
38730
38732
|
name: "AXThoughtChain",
|
|
38731
38733
|
__name: "ThoughtChain",
|
|
38732
|
-
props:
|
|
38734
|
+
props: at({
|
|
38733
38735
|
items: null,
|
|
38734
38736
|
collapsible: {
|
|
38735
38737
|
type: Boolean
|