ant-design-x-vue 0.0.10 → 0.0.11
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.mjs +761 -729
- package/dist/index.umd.js +11 -11
- package/dist/typings/bubble/index.d.ts +29 -1
- package/dist/typings/index.d.ts +1 -0
- package/dist/typings/sender/components/ClearButton.vue.d.ts +2 -2
- package/dist/typings/sender/components/LoadingButton.vue.d.ts +2 -2
- package/dist/typings/sender/components/SendButton.vue.d.ts +2 -2
- package/dist/typings/sender/components/SpeechButton/index.vue.d.ts +2 -2
- package/dist/typings/theme/index.d.ts +2 -0
- package/dist/typings/x-provider/context.d.ts +2 -3
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -1,22 +1,23 @@
|
|
|
1
1
|
var Hi = Object.defineProperty;
|
|
2
|
-
var
|
|
3
|
-
var Re = (e, t, n) =>
|
|
4
|
-
import { computed as h, inject as ne, shallowRef as J, defineComponent as
|
|
5
|
-
import { ConfigProvider as
|
|
6
|
-
|
|
2
|
+
var Ni = (e, t, n) => t in e ? Hi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
|
|
3
|
+
var Re = (e, t, n) => Ni(e, typeof t != "symbol" ? t + "" : t, n);
|
|
4
|
+
import { computed as h, inject as ne, shallowRef as J, defineComponent as H, provide as fe, watch as R, unref as O, triggerRef as ye, useSlots as It, createVNode as u, mergeProps as q, ref as B, onWatcherCleanup as ct, toValue as F, getCurrentInstance as yo, watchEffect as ke, onBeforeUnmount as Ri, Fragment as De, mergeDefaults as le, toRef as G, isVNode as In, useAttrs as Bi, h as sr, nextTick as Li, reactive as zi, toRaw as ji, createTextVNode as bo, useTemplateRef as Fe, Teleport as Di, openBlock as So, createElementBlock as Co, createElementVNode as je, useId as Fi, withDirectives as Xi, vShow as Vi } from "vue";
|
|
5
|
+
import { ConfigProvider as Wi, theme as xo, Avatar as $o, Tooltip as ki, Typography as de, Dropdown as Gi, Menu as Ui, Flex as _e, Cascader as qi, Button as et, Input as Ki, Upload as wo, Progress as Zi } from "ant-design-vue";
|
|
6
|
+
import { theme as qd } from "ant-design-vue";
|
|
7
|
+
function Yi(e) {
|
|
7
8
|
return {
|
|
8
9
|
type: Object,
|
|
9
10
|
default: e
|
|
10
11
|
};
|
|
11
12
|
}
|
|
12
|
-
const
|
|
13
|
+
const Qi = "anticon", Ji = Symbol("configProvider"), _i = {
|
|
13
14
|
getPrefixCls: (e, t) => t || (e ? `ant-${e}` : "ant"),
|
|
14
|
-
iconPrefixCls: h(() =>
|
|
15
|
+
iconPrefixCls: h(() => Qi),
|
|
15
16
|
getPopupContainer: h(() => () => document.body),
|
|
16
17
|
direction: h(() => "ltr")
|
|
17
|
-
},
|
|
18
|
+
}, ea = () => ne(Ji, _i), Hd = "ant";
|
|
18
19
|
function _() {
|
|
19
|
-
const { getPrefixCls: e, direction: t, csp: n, iconPrefixCls: r, theme: o } =
|
|
20
|
+
const { getPrefixCls: e, direction: t, csp: n, iconPrefixCls: r, theme: o } = ea();
|
|
20
21
|
return {
|
|
21
22
|
theme: o,
|
|
22
23
|
getPrefixCls: e,
|
|
@@ -31,7 +32,7 @@ function se(e, t) {
|
|
|
31
32
|
t.includes(r) || Object.defineProperty(n, r, { enumerable: !0, get: () => e[r] });
|
|
32
33
|
return n;
|
|
33
34
|
}
|
|
34
|
-
const
|
|
35
|
+
const ta = (e) => {
|
|
35
36
|
const t = e;
|
|
36
37
|
return t.install = function(n) {
|
|
37
38
|
n.component(t.displayName || t.name, e);
|
|
@@ -43,7 +44,7 @@ function be(e) {
|
|
|
43
44
|
function Ft(e) {
|
|
44
45
|
return { type: Boolean, default: e };
|
|
45
46
|
}
|
|
46
|
-
function
|
|
47
|
+
function na(e, t) {
|
|
47
48
|
const n = { validator: () => !0, default: e };
|
|
48
49
|
return n;
|
|
49
50
|
}
|
|
@@ -53,10 +54,10 @@ function cr(e) {
|
|
|
53
54
|
function ur(e) {
|
|
54
55
|
return { type: String, default: e };
|
|
55
56
|
}
|
|
56
|
-
function
|
|
57
|
-
return e ? { type: e, default: t } :
|
|
57
|
+
function ra(e, t) {
|
|
58
|
+
return e ? { type: e, default: t } : na(t);
|
|
58
59
|
}
|
|
59
|
-
const To = Symbol("XProviderContext"), rn = J(),
|
|
60
|
+
const To = Symbol("XProviderContext"), rn = J(), oa = (e) => {
|
|
60
61
|
fe(To, e), R(
|
|
61
62
|
e,
|
|
62
63
|
() => {
|
|
@@ -64,20 +65,20 @@ const To = Symbol("XProviderContext"), rn = J(), ra = (e) => {
|
|
|
64
65
|
},
|
|
65
66
|
{ immediate: !0, deep: !0 }
|
|
66
67
|
);
|
|
67
|
-
},
|
|
68
|
+
}, ia = () => ne(
|
|
68
69
|
To,
|
|
69
70
|
h(() => rn.value || {})
|
|
70
|
-
),
|
|
71
|
+
), aa = H({
|
|
71
72
|
props: {
|
|
72
73
|
value: be()
|
|
73
74
|
},
|
|
74
75
|
setup(e, { slots: t }) {
|
|
75
|
-
return
|
|
76
|
+
return oa(h(() => e.value)), () => {
|
|
76
77
|
var n;
|
|
77
78
|
return (n = t.default) == null ? void 0 : n.call(t);
|
|
78
79
|
};
|
|
79
80
|
}
|
|
80
|
-
}),
|
|
81
|
+
}), Nd = /* @__PURE__ */ H({
|
|
81
82
|
name: "AXConfigProvider",
|
|
82
83
|
inheritAttrs: !1,
|
|
83
84
|
__name: "index",
|
|
@@ -90,10 +91,38 @@ const To = Symbol("XProviderContext"), rn = J(), ra = (e) => {
|
|
|
90
91
|
thoughtChain: {},
|
|
91
92
|
attachments: {},
|
|
92
93
|
welcome: {},
|
|
93
|
-
|
|
94
|
+
iconPrefixCls: {},
|
|
95
|
+
getTargetContainer: {},
|
|
96
|
+
getPopupContainer: {},
|
|
97
|
+
prefixCls: {},
|
|
98
|
+
getPrefixCls: {},
|
|
99
|
+
renderEmpty: {},
|
|
100
|
+
transformCellText: {},
|
|
101
|
+
csp: {},
|
|
102
|
+
input: {},
|
|
103
|
+
autoInsertSpaceInButton: {
|
|
104
|
+
type: Boolean
|
|
105
|
+
},
|
|
106
|
+
locale: {},
|
|
107
|
+
pageHeader: {},
|
|
108
|
+
componentSize: {},
|
|
109
|
+
componentDisabled: {
|
|
110
|
+
type: Boolean
|
|
111
|
+
},
|
|
112
|
+
direction: {},
|
|
113
|
+
space: {},
|
|
114
|
+
virtual: {
|
|
115
|
+
type: Boolean
|
|
116
|
+
},
|
|
117
|
+
dropdownMatchSelectWidth: {},
|
|
118
|
+
form: {},
|
|
119
|
+
pagination: {},
|
|
120
|
+
theme: {},
|
|
121
|
+
select: {},
|
|
122
|
+
wave: {}
|
|
94
123
|
},
|
|
95
124
|
setup(e) {
|
|
96
|
-
const t = se(e, ["attachments", "bubble", "conversations", "prompts", "suggestion", "thoughtChain", "welcome"
|
|
125
|
+
const t = se(e, ["attachments", "bubble", "conversations", "prompts", "suggestion", "thoughtChain", "welcome"]), n = It(), r = h(() => ({
|
|
97
126
|
attachments: e.attachments,
|
|
98
127
|
bubble: e.bubble,
|
|
99
128
|
conversations: e.conversations,
|
|
@@ -106,35 +135,35 @@ const To = Symbol("XProviderContext"), rn = J(), ra = (e) => {
|
|
|
106
135
|
theme: o
|
|
107
136
|
} = _(), i = h(() => ({
|
|
108
137
|
...(o == null ? void 0 : o.value) || {},
|
|
109
|
-
...
|
|
138
|
+
...t.theme
|
|
110
139
|
})), a = h(() => {
|
|
111
140
|
var l;
|
|
112
141
|
return (l = n.default) == null ? void 0 : l.call(n);
|
|
113
142
|
});
|
|
114
|
-
return () => u(
|
|
143
|
+
return () => u(aa, {
|
|
115
144
|
value: r.value
|
|
116
145
|
}, {
|
|
117
|
-
default: () => [u(
|
|
146
|
+
default: () => [u(Wi, q(t, {
|
|
118
147
|
theme: i.value
|
|
119
148
|
}), {
|
|
120
149
|
default: () => [a.value]
|
|
121
150
|
})]
|
|
122
151
|
});
|
|
123
152
|
}
|
|
124
|
-
}),
|
|
153
|
+
}), la = {
|
|
125
154
|
classNames: {},
|
|
126
155
|
styles: {},
|
|
127
156
|
className: "",
|
|
128
157
|
style: {}
|
|
129
158
|
}, $e = (e) => {
|
|
130
|
-
const t =
|
|
159
|
+
const t = ia();
|
|
131
160
|
return h(() => ({
|
|
132
|
-
...
|
|
161
|
+
...la,
|
|
133
162
|
...O(t)[e]
|
|
134
163
|
}));
|
|
135
164
|
};
|
|
136
165
|
function k(e) {
|
|
137
|
-
const t = typeof e == "function" ? e() : e, n =
|
|
166
|
+
const t = typeof e == "function" ? e() : e, n = B(t);
|
|
138
167
|
function r(o) {
|
|
139
168
|
n.value = o;
|
|
140
169
|
}
|
|
@@ -143,7 +172,7 @@ function k(e) {
|
|
|
143
172
|
function Oe(e) {
|
|
144
173
|
return typeof e == "string";
|
|
145
174
|
}
|
|
146
|
-
const
|
|
175
|
+
const sa = (e, t, n, r) => {
|
|
147
176
|
const [o, i] = k(""), [a, l] = k(1), s = h(() => t.value && Oe(e.value));
|
|
148
177
|
return R(e, () => {
|
|
149
178
|
const f = O(o);
|
|
@@ -159,7 +188,7 @@ const la = (e, t, n, r) => {
|
|
|
159
188
|
}
|
|
160
189
|
}, { immediate: !0 }), [h(() => s.value && Oe(e.value) ? e.value.slice(0, O(a)) : e.value), h(() => s.value && Oe(e.value) && O(a) < e.value.length)];
|
|
161
190
|
};
|
|
162
|
-
function
|
|
191
|
+
function ca(e) {
|
|
163
192
|
const t = h(() => !!F(e)), n = {
|
|
164
193
|
step: 1,
|
|
165
194
|
interval: 50,
|
|
@@ -179,7 +208,7 @@ function sa(e) {
|
|
|
179
208
|
h(() => r.value.suffix)
|
|
180
209
|
];
|
|
181
210
|
}
|
|
182
|
-
const
|
|
211
|
+
const ua = /* @__PURE__ */ H({
|
|
183
212
|
name: "AXBubbleLoading",
|
|
184
213
|
__name: "loading",
|
|
185
214
|
props: {
|
|
@@ -200,7 +229,7 @@ const ca = /* @__PURE__ */ I({
|
|
|
200
229
|
}, null)]);
|
|
201
230
|
}
|
|
202
231
|
});
|
|
203
|
-
function
|
|
232
|
+
function Hn(e) {
|
|
204
233
|
for (var t = 0, n, r = 0, o = e.length; o >= 4; ++r, o -= 4)
|
|
205
234
|
n = e.charCodeAt(r) & 255 | (e.charCodeAt(++r) & 255) << 8 | (e.charCodeAt(++r) & 255) << 16 | (e.charCodeAt(++r) & 255) << 24, n = /* Math.imul(k, m): */
|
|
206
235
|
(n & 65535) * 1540483477 + ((n >>> 16) * 59797 << 16), n ^= /* k >>> r: */
|
|
@@ -220,7 +249,7 @@ function In(e) {
|
|
|
220
249
|
(t & 65535) * 1540483477 + ((t >>> 16) * 59797 << 16), ((t ^ t >>> 15) >>> 0).toString(36);
|
|
221
250
|
}
|
|
222
251
|
const dr = "%";
|
|
223
|
-
class
|
|
252
|
+
class da {
|
|
224
253
|
constructor(t) {
|
|
225
254
|
this.cache = /* @__PURE__ */ new Map(), this.instanceId = t;
|
|
226
255
|
}
|
|
@@ -232,7 +261,7 @@ class ua {
|
|
|
232
261
|
i === null ? this.cache.delete(r) : this.cache.set(r, i);
|
|
233
262
|
}
|
|
234
263
|
}
|
|
235
|
-
const Oo = "data-token-hash", xe = "data-css-hash",
|
|
264
|
+
const Oo = "data-token-hash", xe = "data-css-hash", fa = "data-cache-path", ze = "__cssinjs_instance__";
|
|
236
265
|
function rt() {
|
|
237
266
|
const e = Math.random().toString(12).slice(2);
|
|
238
267
|
if (typeof document < "u" && document.head && document.body) {
|
|
@@ -249,9 +278,9 @@ function rt() {
|
|
|
249
278
|
r[i] ? o[ze] === e && ((a = o.parentNode) == null || a.removeChild(o)) : r[i] = !0;
|
|
250
279
|
});
|
|
251
280
|
}
|
|
252
|
-
return new
|
|
281
|
+
return new da(e);
|
|
253
282
|
}
|
|
254
|
-
const Ao = Symbol("StyleContextKey"),
|
|
283
|
+
const Ao = Symbol("StyleContextKey"), ha = () => {
|
|
255
284
|
var n, r, o;
|
|
256
285
|
const e = yo();
|
|
257
286
|
let t;
|
|
@@ -266,7 +295,7 @@ const Ao = Symbol("StyleContextKey"), fa = () => {
|
|
|
266
295
|
defaultCache: !0,
|
|
267
296
|
hashPriority: "low"
|
|
268
297
|
}, ut = () => {
|
|
269
|
-
const e =
|
|
298
|
+
const e = ha();
|
|
270
299
|
return ne(Ao, J({
|
|
271
300
|
...Po,
|
|
272
301
|
cache: e
|
|
@@ -291,7 +320,7 @@ const Ao = Symbol("StyleContextKey"), fa = () => {
|
|
|
291
320
|
}, {
|
|
292
321
|
immediate: !0
|
|
293
322
|
}), fe(Ao, n), n;
|
|
294
|
-
},
|
|
323
|
+
}, ga = () => ({
|
|
295
324
|
autoClear: Ft(),
|
|
296
325
|
/** @private Test only. Not work in production. */
|
|
297
326
|
mock: ur(),
|
|
@@ -305,7 +334,7 @@ const Ao = Symbol("StyleContextKey"), fa = () => {
|
|
|
305
334
|
/** Use `:where` selector to reduce hashId css selector priority */
|
|
306
335
|
hashPriority: ur(),
|
|
307
336
|
/** Tell cssinjs where to inject style in */
|
|
308
|
-
container:
|
|
337
|
+
container: ra(),
|
|
309
338
|
/** Component wil render inline `<style />` for fallback in SSR. Not recommend. */
|
|
310
339
|
ssrInline: Ft(),
|
|
311
340
|
/** Transform css before inject in document. Please note that `transformers` do not support dynamic update */
|
|
@@ -316,10 +345,10 @@ const Ao = Symbol("StyleContextKey"), fa = () => {
|
|
|
316
345
|
* Please note that `linters` do not support dynamic update.
|
|
317
346
|
*/
|
|
318
347
|
linters: cr()
|
|
319
|
-
}),
|
|
348
|
+
}), ma = ta(/* @__PURE__ */ H({
|
|
320
349
|
name: "AStyleProvider",
|
|
321
350
|
inheritAttrs: !1,
|
|
322
|
-
props:
|
|
351
|
+
props: ga(),
|
|
323
352
|
setup(e, {
|
|
324
353
|
slots: t
|
|
325
354
|
}) {
|
|
@@ -328,19 +357,19 @@ const Ao = Symbol("StyleContextKey"), fa = () => {
|
|
|
328
357
|
return (n = t.default) == null ? void 0 : n.call(t);
|
|
329
358
|
};
|
|
330
359
|
}
|
|
331
|
-
})),
|
|
360
|
+
})), pa = {
|
|
332
361
|
useStyleInject: ut,
|
|
333
362
|
useStyleProvider: Eo,
|
|
334
|
-
StyleProvider:
|
|
363
|
+
StyleProvider: ma
|
|
335
364
|
};
|
|
336
|
-
function
|
|
365
|
+
function va() {
|
|
337
366
|
return !1;
|
|
338
367
|
}
|
|
339
368
|
let on = !1;
|
|
340
|
-
function
|
|
369
|
+
function ya() {
|
|
341
370
|
return on;
|
|
342
371
|
}
|
|
343
|
-
const
|
|
372
|
+
const ba = process.env.NODE_ENV === "production" ? va : ya;
|
|
344
373
|
if (process.env.NODE_ENV !== "production" && typeof module < "u" && module && module.hot && typeof window < "u") {
|
|
345
374
|
const e = window;
|
|
346
375
|
if (typeof e.webpackHotUpdate == "function") {
|
|
@@ -355,7 +384,7 @@ function Nn(e, t, n, r) {
|
|
|
355
384
|
ke(() => {
|
|
356
385
|
i.value = [e, ...t.value].join("%");
|
|
357
386
|
});
|
|
358
|
-
const l =
|
|
387
|
+
const l = ba(), s = (c) => {
|
|
359
388
|
o.value.cache.update(c, (f) => {
|
|
360
389
|
const [d = 0, g] = f || [];
|
|
361
390
|
return d - 1 === 0 ? (r == null || r(g, !1), null) : [d - 1, g];
|
|
@@ -371,40 +400,40 @@ function Nn(e, t, n, r) {
|
|
|
371
400
|
}), a.value = o.value.cache.get(i.value)[1];
|
|
372
401
|
}, {
|
|
373
402
|
immediate: !0
|
|
374
|
-
}),
|
|
403
|
+
}), Ri(() => {
|
|
375
404
|
s(i.value);
|
|
376
405
|
}), a;
|
|
377
406
|
}
|
|
378
407
|
function Ge() {
|
|
379
408
|
return !!(typeof window < "u" && window.document && window.document.createElement);
|
|
380
409
|
}
|
|
381
|
-
function
|
|
410
|
+
function Sa(e, t) {
|
|
382
411
|
return e && e.contains ? e.contains(t) : !1;
|
|
383
412
|
}
|
|
384
|
-
const fr = "data-vc-order",
|
|
413
|
+
const fr = "data-vc-order", Ca = "vc-util-key", an = /* @__PURE__ */ new Map();
|
|
385
414
|
function Mo({ mark: e } = {}) {
|
|
386
|
-
return e ? e.startsWith("data-") ? e : `data-${e}` :
|
|
415
|
+
return e ? e.startsWith("data-") ? e : `data-${e}` : Ca;
|
|
387
416
|
}
|
|
388
|
-
function
|
|
417
|
+
function Ht(e) {
|
|
389
418
|
return e.attachTo ? e.attachTo : document.querySelector("head") || document.body;
|
|
390
419
|
}
|
|
391
|
-
function
|
|
420
|
+
function xa(e) {
|
|
392
421
|
return e === "queue" ? "prependQueue" : e ? "prepend" : "append";
|
|
393
422
|
}
|
|
394
|
-
function
|
|
423
|
+
function Io(e) {
|
|
395
424
|
return Array.from((an.get(e) || e).children).filter(
|
|
396
425
|
(t) => t.tagName === "STYLE"
|
|
397
426
|
);
|
|
398
427
|
}
|
|
399
|
-
function
|
|
428
|
+
function Ho(e, t = {}) {
|
|
400
429
|
if (!Ge())
|
|
401
430
|
return null;
|
|
402
431
|
const { csp: n, prepend: r } = t, o = document.createElement("style");
|
|
403
|
-
o.setAttribute(fr,
|
|
404
|
-
const i =
|
|
432
|
+
o.setAttribute(fr, xa(r)), n != null && n.nonce && (o.nonce = n == null ? void 0 : n.nonce), o.innerHTML = e;
|
|
433
|
+
const i = Ht(t), { firstChild: a } = i;
|
|
405
434
|
if (r) {
|
|
406
435
|
if (r === "queue") {
|
|
407
|
-
const l =
|
|
436
|
+
const l = Io(i).filter(
|
|
408
437
|
(s) => ["prepend", "prependQueue"].includes(s.getAttribute(fr))
|
|
409
438
|
);
|
|
410
439
|
if (l.length)
|
|
@@ -416,31 +445,31 @@ function Io(e, t = {}) {
|
|
|
416
445
|
return o;
|
|
417
446
|
}
|
|
418
447
|
function No(e, t = {}) {
|
|
419
|
-
const n =
|
|
420
|
-
return
|
|
448
|
+
const n = Ht(t);
|
|
449
|
+
return Io(n).find((r) => r.getAttribute(Mo(t)) === e);
|
|
421
450
|
}
|
|
422
451
|
function Rn(e, t = {}) {
|
|
423
452
|
const n = No(e, t);
|
|
424
|
-
n &&
|
|
453
|
+
n && Ht(t).removeChild(n);
|
|
425
454
|
}
|
|
426
|
-
function
|
|
455
|
+
function $a(e, t) {
|
|
427
456
|
const n = an.get(e);
|
|
428
|
-
if (!n || !
|
|
429
|
-
const r =
|
|
457
|
+
if (!n || !Sa(document, n)) {
|
|
458
|
+
const r = Ho("", t), { parentNode: o } = r;
|
|
430
459
|
an.set(e, o), e.removeChild(r);
|
|
431
460
|
}
|
|
432
461
|
}
|
|
433
462
|
function ln(e, t, n = {}) {
|
|
434
463
|
var a, l, s;
|
|
435
|
-
const r =
|
|
436
|
-
|
|
464
|
+
const r = Ht(n);
|
|
465
|
+
$a(r, n);
|
|
437
466
|
const o = No(t, n);
|
|
438
467
|
if (o)
|
|
439
468
|
return (a = n.csp) != null && a.nonce && o.nonce !== ((l = n.csp) == null ? void 0 : l.nonce) && (o.nonce = (s = n.csp) == null ? void 0 : s.nonce), o.innerHTML !== e && (o.innerHTML = e), o;
|
|
440
|
-
const i =
|
|
469
|
+
const i = Ho(e, n);
|
|
441
470
|
return i.setAttribute(Mo(n), t), i;
|
|
442
471
|
}
|
|
443
|
-
function
|
|
472
|
+
function wa(e, t) {
|
|
444
473
|
if (e.length !== t.length)
|
|
445
474
|
return !1;
|
|
446
475
|
for (let n = 0; n < e.length; n++)
|
|
@@ -449,7 +478,7 @@ function $a(e, t) {
|
|
|
449
478
|
return !0;
|
|
450
479
|
}
|
|
451
480
|
var ve;
|
|
452
|
-
let
|
|
481
|
+
let Ta = (ve = class {
|
|
453
482
|
constructor() {
|
|
454
483
|
this.cache = /* @__PURE__ */ new Map(), this.keys = [], this.cacheCallTimes = 0;
|
|
455
484
|
}
|
|
@@ -504,32 +533,32 @@ let wa = (ve = class {
|
|
|
504
533
|
}
|
|
505
534
|
delete(t) {
|
|
506
535
|
if (this.has(t))
|
|
507
|
-
return this.keys = this.keys.filter((n) =>
|
|
536
|
+
return this.keys = this.keys.filter((n) => !wa(n, t)), this.deleteByPath(this.cache, t);
|
|
508
537
|
}
|
|
509
538
|
}, ve.MAX_CACHE_SIZE = 20, ve.MAX_CACHE_OFFSET = 5, ve), sn = {};
|
|
510
539
|
function Ro(e, t) {
|
|
511
540
|
process.env.NODE_ENV !== "production" && !e && console !== void 0 && console.error(`Warning: ${t}`);
|
|
512
541
|
}
|
|
513
|
-
function
|
|
542
|
+
function Oa() {
|
|
514
543
|
sn = {};
|
|
515
544
|
}
|
|
516
|
-
function
|
|
545
|
+
function Aa(e, t, n) {
|
|
517
546
|
!t && !sn[n] && (e(!1, n), sn[n] = !0);
|
|
518
547
|
}
|
|
519
|
-
function
|
|
520
|
-
|
|
548
|
+
function Bo(e, t) {
|
|
549
|
+
Aa(Ro, e, t);
|
|
521
550
|
}
|
|
522
|
-
function
|
|
551
|
+
function Lo() {
|
|
523
552
|
}
|
|
524
553
|
let pe = null;
|
|
525
|
-
function
|
|
526
|
-
pe = null,
|
|
554
|
+
function Pa() {
|
|
555
|
+
pe = null, Oa();
|
|
527
556
|
}
|
|
528
|
-
let
|
|
529
|
-
process.env.NODE_ENV !== "production" && (
|
|
530
|
-
|
|
557
|
+
let Bn = Lo;
|
|
558
|
+
process.env.NODE_ENV !== "production" && (Bn = (e, t, n) => {
|
|
559
|
+
Bo(e, `[antd: ${t}] ${n}`), process.env.NODE_ENV === "test" && Pa();
|
|
531
560
|
});
|
|
532
|
-
const zo = Symbol("WarningContext"), cn = J(),
|
|
561
|
+
const zo = Symbol("WarningContext"), cn = J(), Ea = (e) => {
|
|
533
562
|
fe(zo, e), R(
|
|
534
563
|
e,
|
|
535
564
|
() => {
|
|
@@ -537,26 +566,26 @@ const zo = Symbol("WarningContext"), cn = J(), Pa = (e) => {
|
|
|
537
566
|
},
|
|
538
567
|
{ immediate: !0, deep: !0 }
|
|
539
568
|
);
|
|
540
|
-
},
|
|
569
|
+
}, Ma = () => ne(
|
|
541
570
|
zo,
|
|
542
571
|
h(() => cn.value || {})
|
|
543
572
|
);
|
|
544
|
-
|
|
573
|
+
H({
|
|
545
574
|
props: {
|
|
546
575
|
value: be()
|
|
547
576
|
},
|
|
548
577
|
setup(e, { slots: t }) {
|
|
549
|
-
return
|
|
578
|
+
return Ea(h(() => e.value)), () => {
|
|
550
579
|
var n;
|
|
551
580
|
return (n = t.default) == null ? void 0 : n.call(t);
|
|
552
581
|
};
|
|
553
582
|
}
|
|
554
583
|
});
|
|
555
584
|
process.env.NODE_ENV;
|
|
556
|
-
const
|
|
585
|
+
const Ia = Bn;
|
|
557
586
|
let hr = 0, jo = class {
|
|
558
587
|
constructor(t) {
|
|
559
|
-
this.derivatives = Array.isArray(t) ? t : [t], this.id = hr, t.length === 0 &&
|
|
588
|
+
this.derivatives = Array.isArray(t) ? t : [t], this.id = hr, t.length === 0 && Ia(
|
|
560
589
|
t.length > 0,
|
|
561
590
|
"[Ant Design Vue CSS-in-JS] Theme should have at least one derivative function."
|
|
562
591
|
), hr += 1;
|
|
@@ -568,7 +597,7 @@ let hr = 0, jo = class {
|
|
|
568
597
|
);
|
|
569
598
|
}
|
|
570
599
|
};
|
|
571
|
-
const Xt = new
|
|
600
|
+
const Xt = new Ta();
|
|
572
601
|
function Ha(e) {
|
|
573
602
|
const t = Array.isArray(e) ? e : [e];
|
|
574
603
|
return Xt.has(t) || Xt.set(t, new jo(t)), Xt.get(t);
|
|
@@ -581,11 +610,11 @@ function Et(e) {
|
|
|
581
610
|
t += n, r instanceof jo ? t += r.id : r && typeof r == "object" ? t += Et(r) : t += r;
|
|
582
611
|
}), gr.set(e, t)), t;
|
|
583
612
|
}
|
|
584
|
-
function
|
|
585
|
-
return
|
|
613
|
+
function Na(e, t) {
|
|
614
|
+
return Hn(`${t}_${Et(e)}`);
|
|
586
615
|
}
|
|
587
616
|
const tt = `random-${Date.now()}-${Math.random()}`.replace(/\./g, ""), Do = "_bAmBoO_";
|
|
588
|
-
function
|
|
617
|
+
function Ra(e, t, n) {
|
|
589
618
|
var r, o;
|
|
590
619
|
if (Ge()) {
|
|
591
620
|
ln(e, tt);
|
|
@@ -597,8 +626,8 @@ function Na(e, t, n) {
|
|
|
597
626
|
return !1;
|
|
598
627
|
}
|
|
599
628
|
let Vt;
|
|
600
|
-
function
|
|
601
|
-
return Vt === void 0 && (Vt =
|
|
629
|
+
function Ba() {
|
|
630
|
+
return Vt === void 0 && (Vt = Ra(
|
|
602
631
|
`@layer ${tt} { .${tt} { content: "${Do}"!important; } }`,
|
|
603
632
|
(e) => {
|
|
604
633
|
e.className = tt;
|
|
@@ -609,7 +638,7 @@ const La = Ge();
|
|
|
609
638
|
function ae(e) {
|
|
610
639
|
return typeof e == "number" ? `${e}px` : e;
|
|
611
640
|
}
|
|
612
|
-
const xt = (e, t = "") => `--${t ? `${t}-` : ""}${e}`.replace(/([a-z0-9])([A-Z])/g, "$1-$2").replace(/([A-Z]+)([A-Z][a-z0-9]+)/g, "$1-$2").replace(/([a-z])([A-Z0-9])/g, "$1-$2").toLowerCase(),
|
|
641
|
+
const xt = (e, t = "") => `--${t ? `${t}-` : ""}${e}`.replace(/([a-z0-9])([A-Z])/g, "$1-$2").replace(/([A-Z]+)([A-Z][a-z0-9]+)/g, "$1-$2").replace(/([a-z])([A-Z0-9])/g, "$1-$2").toLowerCase(), za = (e, t, n) => Object.keys(e).length ? `.${t}${n != null && n.scope ? `.${n.scope}` : ""}{${Object.entries(e).map(([r, o]) => `${r}:${o};`).join("")}}` : "", ja = (e, t, n) => {
|
|
613
642
|
const r = {}, o = {};
|
|
614
643
|
return Object.entries(e).forEach(([i, a]) => {
|
|
615
644
|
var l, s, c;
|
|
@@ -619,33 +648,33 @@ const xt = (e, t = "") => `--${t ? `${t}-` : ""}${e}`.replace(/([a-z0-9])([A-Z])
|
|
|
619
648
|
const f = xt(i, n == null ? void 0 : n.prefix);
|
|
620
649
|
r[f] = typeof a == "number" && !((c = n == null ? void 0 : n.unitless) != null && c[i]) ? `${a}px` : String(a), o[i] = `var(${f})`;
|
|
621
650
|
}
|
|
622
|
-
}), [o,
|
|
623
|
-
}, mr = {},
|
|
624
|
-
function
|
|
651
|
+
}), [o, za(r, t, { scope: n == null ? void 0 : n.scope })];
|
|
652
|
+
}, mr = {}, Da = process.env.NODE_ENV === "production", Fa = process.env.NODE_ENV === "prerender", Xa = !Da && !Fa ? "css-dev-only-do-not-override" : "css", Ae = /* @__PURE__ */ new Map();
|
|
653
|
+
function Va(e) {
|
|
625
654
|
Ae.set(e, (Ae.get(e) || 0) + 1);
|
|
626
655
|
}
|
|
627
|
-
function
|
|
656
|
+
function Wa(e, t) {
|
|
628
657
|
typeof document < "u" && document.querySelectorAll(`style[${Oo}="${e}"]`).forEach((r) => {
|
|
629
658
|
var o;
|
|
630
659
|
r[ze] === t && ((o = r.parentNode) == null || o.removeChild(r));
|
|
631
660
|
});
|
|
632
661
|
}
|
|
633
|
-
const
|
|
634
|
-
function
|
|
662
|
+
const ka = 0;
|
|
663
|
+
function Ga(e, t) {
|
|
635
664
|
Ae.set(e, (Ae.get(e) || 0) - 1);
|
|
636
665
|
const n = Array.from(Ae.keys()), r = n.filter((o) => (Ae.get(o) || 0) <= 0);
|
|
637
|
-
n.length - r.length >
|
|
638
|
-
|
|
666
|
+
n.length - r.length > ka && r.forEach((o) => {
|
|
667
|
+
Wa(o, t), Ae.delete(o);
|
|
639
668
|
});
|
|
640
669
|
}
|
|
641
|
-
const
|
|
670
|
+
const Ua = (e, t, n, r) => {
|
|
642
671
|
let i = {
|
|
643
672
|
...n == null ? void 0 : n.getDerivativeToken(e),
|
|
644
673
|
...t
|
|
645
674
|
};
|
|
646
675
|
return r && (i = r(i)), i;
|
|
647
676
|
};
|
|
648
|
-
function
|
|
677
|
+
function qa(e, t, n = B({})) {
|
|
649
678
|
const r = ut(), o = h(() => Object.assign({}, ...t.value || [])), i = h(() => Et(o.value)), a = h(() => {
|
|
650
679
|
var s;
|
|
651
680
|
return Et(((s = n.value) == null ? void 0 : s.override) || mr);
|
|
@@ -659,16 +688,16 @@ function Ua(e, t, n = L({})) {
|
|
|
659
688
|
override: c = mr,
|
|
660
689
|
formatToken: f,
|
|
661
690
|
getComputedToken: d
|
|
662
|
-
} = n.value || {}, g = d ? d(o.value, c, e.value) :
|
|
663
|
-
g._tokenKey = v,
|
|
664
|
-
const p = `${
|
|
691
|
+
} = n.value || {}, g = d ? d(o.value, c, e.value) : Ua(o.value, c, e.value, f), v = Na(g, s);
|
|
692
|
+
g._tokenKey = v, Va(v);
|
|
693
|
+
const p = `${Xa}-${Hn(v)}`;
|
|
665
694
|
return g._hashId = p, [g, p];
|
|
666
695
|
}, (s) => {
|
|
667
696
|
var c;
|
|
668
|
-
|
|
697
|
+
Ga(s[0]._tokenKey, (c = r.value) == null ? void 0 : c.cache.instanceId);
|
|
669
698
|
});
|
|
670
699
|
}
|
|
671
|
-
var
|
|
700
|
+
var Ka = {
|
|
672
701
|
animationIterationCount: 1,
|
|
673
702
|
aspectRatio: 1,
|
|
674
703
|
borderImageOutset: 1,
|
|
@@ -717,14 +746,14 @@ var qa = {
|
|
|
717
746
|
strokeMiterlimit: 1,
|
|
718
747
|
strokeOpacity: 1,
|
|
719
748
|
strokeWidth: 1
|
|
720
|
-
}, Fo = "comm", Xo = "rule", Vo = "decl",
|
|
749
|
+
}, Fo = "comm", Xo = "rule", Vo = "decl", Za = "@import", Ya = "@keyframes", Qa = "@layer", Wo = Math.abs, Ln = String.fromCharCode;
|
|
721
750
|
function ko(e) {
|
|
722
751
|
return e.trim();
|
|
723
752
|
}
|
|
724
753
|
function $t(e, t, n) {
|
|
725
754
|
return e.replace(t, n);
|
|
726
755
|
}
|
|
727
|
-
function
|
|
756
|
+
function Ja(e, t, n) {
|
|
728
757
|
return e.indexOf(t, n);
|
|
729
758
|
}
|
|
730
759
|
function ot(e, t) {
|
|
@@ -736,7 +765,7 @@ function Xe(e, t, n) {
|
|
|
736
765
|
function ce(e) {
|
|
737
766
|
return e.length;
|
|
738
767
|
}
|
|
739
|
-
function
|
|
768
|
+
function _a(e) {
|
|
740
769
|
return e.length;
|
|
741
770
|
}
|
|
742
771
|
function ft(e, t) {
|
|
@@ -746,10 +775,10 @@ var Nt = 1, Ve = 1, Go = 0, te = 0, W = 0, Ue = "";
|
|
|
746
775
|
function zn(e, t, n, r, o, i, a, l) {
|
|
747
776
|
return { value: e, root: t, parent: n, type: r, props: o, children: i, line: Nt, column: Ve, length: a, return: "", siblings: l };
|
|
748
777
|
}
|
|
749
|
-
function
|
|
778
|
+
function el() {
|
|
750
779
|
return W;
|
|
751
780
|
}
|
|
752
|
-
function
|
|
781
|
+
function tl() {
|
|
753
782
|
return W = te > 0 ? ot(Ue, --te) : 0, Ve--, W === 10 && (Ve = 1, Nt--), W;
|
|
754
783
|
}
|
|
755
784
|
function ie() {
|
|
@@ -796,21 +825,21 @@ function it(e) {
|
|
|
796
825
|
}
|
|
797
826
|
return 0;
|
|
798
827
|
}
|
|
799
|
-
function
|
|
828
|
+
function nl(e) {
|
|
800
829
|
return Nt = Ve = 1, Go = ce(Ue = e), te = 0, [];
|
|
801
830
|
}
|
|
802
|
-
function
|
|
831
|
+
function rl(e) {
|
|
803
832
|
return Ue = "", e;
|
|
804
833
|
}
|
|
805
834
|
function Wt(e) {
|
|
806
835
|
return ko(Rt(te - 1, un(e === 91 ? e + 2 : e === 40 ? e + 1 : e)));
|
|
807
836
|
}
|
|
808
|
-
function
|
|
837
|
+
function ol(e) {
|
|
809
838
|
for (; (W = Se()) && W < 33; )
|
|
810
839
|
ie();
|
|
811
840
|
return it(e) > 2 || it(W) > 3 ? "" : " ";
|
|
812
841
|
}
|
|
813
|
-
function
|
|
842
|
+
function il(e, t) {
|
|
814
843
|
for (; --t && ie() && !(W < 48 || W > 102 || W > 57 && W < 65 || W > 70 && W < 97); )
|
|
815
844
|
;
|
|
816
845
|
return Rt(e, wt() + (t < 6 && Se() == 32 && ie() == 32));
|
|
@@ -833,26 +862,26 @@ function un(e) {
|
|
|
833
862
|
}
|
|
834
863
|
return te;
|
|
835
864
|
}
|
|
836
|
-
function
|
|
865
|
+
function al(e, t) {
|
|
837
866
|
for (; ie() && e + W !== 57; )
|
|
838
867
|
if (e + W === 84 && Se() === 47)
|
|
839
868
|
break;
|
|
840
|
-
return "/*" + Rt(t, te - 1) + "*" +
|
|
869
|
+
return "/*" + Rt(t, te - 1) + "*" + Ln(e === 47 ? e : ie());
|
|
841
870
|
}
|
|
842
|
-
function
|
|
871
|
+
function ll(e) {
|
|
843
872
|
for (; !it(Se()); )
|
|
844
873
|
ie();
|
|
845
874
|
return Rt(e, te);
|
|
846
875
|
}
|
|
847
|
-
function
|
|
848
|
-
return
|
|
876
|
+
function sl(e) {
|
|
877
|
+
return rl(Tt("", null, null, null, [""], e = nl(e), 0, [0], e));
|
|
849
878
|
}
|
|
850
879
|
function Tt(e, t, n, r, o, i, a, l, s) {
|
|
851
880
|
for (var c = 0, f = 0, d = a, g = 0, v = 0, p = 0, m = 1, b = 1, S = 1, $ = 0, C = "", x = o, T = i, w = r, y = C; b; )
|
|
852
881
|
switch (p = $, $ = ie()) {
|
|
853
882
|
case 40:
|
|
854
883
|
if (p != 108 && ot(y, d - 1) == 58) {
|
|
855
|
-
|
|
884
|
+
Ja(y += $t(Wt($), "&", "&\f"), "&\f", Wo(c ? l[c - 1] : 0)) != -1 && (S = -1);
|
|
856
885
|
break;
|
|
857
886
|
}
|
|
858
887
|
case 34:
|
|
@@ -864,16 +893,16 @@ function Tt(e, t, n, r, o, i, a, l, s) {
|
|
|
864
893
|
case 10:
|
|
865
894
|
case 13:
|
|
866
895
|
case 32:
|
|
867
|
-
y +=
|
|
896
|
+
y += ol(p);
|
|
868
897
|
break;
|
|
869
898
|
case 92:
|
|
870
|
-
y +=
|
|
899
|
+
y += il(wt() - 1, 7);
|
|
871
900
|
continue;
|
|
872
901
|
case 47:
|
|
873
902
|
switch (Se()) {
|
|
874
903
|
case 42:
|
|
875
904
|
case 47:
|
|
876
|
-
ft(
|
|
905
|
+
ft(cl(al(ie(), wt()), t, n, s), s), (it(p || 1) == 5 || it(Se() || 1) == 5) && ce(y) && Xe(y, -1, void 0) !== " " && (y += " ");
|
|
877
906
|
break;
|
|
878
907
|
default:
|
|
879
908
|
y += "/";
|
|
@@ -917,10 +946,10 @@ function Tt(e, t, n, r, o, i, a, l, s) {
|
|
|
917
946
|
if (m < 1) {
|
|
918
947
|
if ($ == 123)
|
|
919
948
|
--m;
|
|
920
|
-
else if ($ == 125 && m++ == 0 &&
|
|
949
|
+
else if ($ == 125 && m++ == 0 && tl() == 125)
|
|
921
950
|
continue;
|
|
922
951
|
}
|
|
923
|
-
switch (y +=
|
|
952
|
+
switch (y += Ln($), $ * m) {
|
|
924
953
|
case 38:
|
|
925
954
|
S = f > 0 ? 1 : (y += "\f", -1);
|
|
926
955
|
break;
|
|
@@ -928,7 +957,7 @@ function Tt(e, t, n, r, o, i, a, l, s) {
|
|
|
928
957
|
l[c++] = (ce(y) - 1) * S, S = 1;
|
|
929
958
|
break;
|
|
930
959
|
case 64:
|
|
931
|
-
Se() === 45 && (y += Wt(ie())), g = Se(), f = d = ce(C = y +=
|
|
960
|
+
Se() === 45 && (y += Wt(ie())), g = Se(), f = d = ce(C = y += ll(wt())), $++;
|
|
932
961
|
break;
|
|
933
962
|
case 45:
|
|
934
963
|
p === 45 && ce(y) == 2 && (m = 0);
|
|
@@ -937,13 +966,13 @@ function Tt(e, t, n, r, o, i, a, l, s) {
|
|
|
937
966
|
return i;
|
|
938
967
|
}
|
|
939
968
|
function pr(e, t, n, r, o, i, a, l, s, c, f, d) {
|
|
940
|
-
for (var g = o - 1, v = o === 0 ? i : [""], p =
|
|
969
|
+
for (var g = o - 1, v = o === 0 ? i : [""], p = _a(v), m = 0, b = 0, S = 0; m < r; ++m)
|
|
941
970
|
for (var $ = 0, C = Xe(e, g + 1, g = Wo(b = a[m])), x = e; $ < p; ++$)
|
|
942
971
|
(x = ko(b > 0 ? v[$] + " " + C : $t(C, /&\f/g, v[$]))) && (s[S++] = x);
|
|
943
972
|
return zn(e, t, n, o === 0 ? Xo : l, s, c, f, d);
|
|
944
973
|
}
|
|
945
|
-
function
|
|
946
|
-
return zn(e, t, n, Fo,
|
|
974
|
+
function cl(e, t, n, r) {
|
|
975
|
+
return zn(e, t, n, Fo, Ln(el()), Xe(e, 2, -2), 0, r);
|
|
947
976
|
}
|
|
948
977
|
function vr(e, t, n, r, o) {
|
|
949
978
|
return zn(e, t, n, Vo, Xe(e, 0, r), Xe(e, r + 1, -1), r, o);
|
|
@@ -953,16 +982,16 @@ function dn(e, t) {
|
|
|
953
982
|
n += t(e[r], r, e, t) || "";
|
|
954
983
|
return n;
|
|
955
984
|
}
|
|
956
|
-
function
|
|
985
|
+
function ul(e, t, n, r) {
|
|
957
986
|
switch (e.type) {
|
|
958
|
-
case
|
|
987
|
+
case Qa:
|
|
959
988
|
if (e.children.length) break;
|
|
960
|
-
case
|
|
989
|
+
case Za:
|
|
961
990
|
case Vo:
|
|
962
991
|
return e.return = e.return || e.value;
|
|
963
992
|
case Fo:
|
|
964
993
|
return "";
|
|
965
|
-
case
|
|
994
|
+
case Ya:
|
|
966
995
|
return e.return = e.value + "{" + dn(e.children, r) + "}";
|
|
967
996
|
case Xo:
|
|
968
997
|
if (!ce(e.value = e.props.join(","))) return "";
|
|
@@ -971,12 +1000,12 @@ function cl(e, t, n, r) {
|
|
|
971
1000
|
}
|
|
972
1001
|
function Uo(e, t) {
|
|
973
1002
|
const { path: n, parentSelectors: r } = t;
|
|
974
|
-
|
|
1003
|
+
Bo(
|
|
975
1004
|
!1,
|
|
976
1005
|
`[Ant Design Vue CSS-in-JS] ${n ? `Error in '${n}': ` : ""}${e}${r.length ? ` Selector info: ${r.join(" -> ")}` : ""}`
|
|
977
1006
|
);
|
|
978
1007
|
}
|
|
979
|
-
const
|
|
1008
|
+
const dl = (e, t, n) => {
|
|
980
1009
|
if (e === "content") {
|
|
981
1010
|
const r = /(attr|counters?|url|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/;
|
|
982
1011
|
(typeof t != "string" || ["normal", "none", "initial", "inherit", "unset"].indexOf(t) === -1 && !r.test(t) && (t.charAt(0) !== t.charAt(t.length - 1) || t.charAt(0) !== '"' && t.charAt(0) !== "'")) && Uo(
|
|
@@ -984,50 +1013,50 @@ const ul = (e, t, n) => {
|
|
|
984
1013
|
n
|
|
985
1014
|
);
|
|
986
1015
|
}
|
|
987
|
-
},
|
|
1016
|
+
}, fl = (e, t, n) => {
|
|
988
1017
|
e === "animation" && n.hashId && t !== "none" && Uo(
|
|
989
1018
|
`You seem to be using hashed animation '${t}', in which case 'animationName' with Keyframe as value is recommended.`,
|
|
990
1019
|
n
|
|
991
1020
|
);
|
|
992
|
-
}, yr = "data-ant-cssinjs-cache-path",
|
|
993
|
-
let
|
|
994
|
-
function
|
|
1021
|
+
}, yr = "data-ant-cssinjs-cache-path", hl = "_FILE_STYLE__";
|
|
1022
|
+
let He, qo = !0;
|
|
1023
|
+
function gl() {
|
|
995
1024
|
var e;
|
|
996
|
-
if (!
|
|
1025
|
+
if (!He && (He = {}, Ge())) {
|
|
997
1026
|
const t = document.createElement("div");
|
|
998
1027
|
t.className = yr, t.style.position = "fixed", t.style.visibility = "hidden", t.style.top = "-9999px", document.body.appendChild(t);
|
|
999
1028
|
let n = getComputedStyle(t).content || "";
|
|
1000
1029
|
n = n.replace(/^"/, "").replace(/"$/, ""), n.split(";").forEach((o) => {
|
|
1001
1030
|
const [i, a] = o.split(":");
|
|
1002
|
-
|
|
1031
|
+
He[i] = a;
|
|
1003
1032
|
});
|
|
1004
1033
|
const r = document.querySelector(`style[${yr}]`);
|
|
1005
1034
|
r && (qo = !1, (e = r.parentNode) == null || e.removeChild(r)), document.body.removeChild(t);
|
|
1006
1035
|
}
|
|
1007
1036
|
}
|
|
1008
|
-
function gl(e) {
|
|
1009
|
-
return hl(), !!Ie[e];
|
|
1010
|
-
}
|
|
1011
1037
|
function ml(e) {
|
|
1012
|
-
|
|
1038
|
+
return gl(), !!He[e];
|
|
1039
|
+
}
|
|
1040
|
+
function pl(e) {
|
|
1041
|
+
const t = He[e];
|
|
1013
1042
|
let n = null;
|
|
1014
1043
|
if (t && Ge())
|
|
1015
1044
|
if (qo)
|
|
1016
|
-
n =
|
|
1045
|
+
n = hl;
|
|
1017
1046
|
else {
|
|
1018
|
-
const r = document.querySelector(`style[${xe}="${
|
|
1019
|
-
r ? n = r.innerHTML : delete
|
|
1047
|
+
const r = document.querySelector(`style[${xe}="${He[e]}"]`);
|
|
1048
|
+
r ? n = r.innerHTML : delete He[e];
|
|
1020
1049
|
}
|
|
1021
1050
|
return [n, t];
|
|
1022
1051
|
}
|
|
1023
1052
|
const br = Ge(), Ko = "_skip_check_", Zo = "_multi_value_";
|
|
1024
1053
|
function Sr(e) {
|
|
1025
|
-
return dn(
|
|
1054
|
+
return dn(sl(e), ul).replace(/\{%%%\:[^;];}/g, ";");
|
|
1026
1055
|
}
|
|
1027
|
-
function
|
|
1056
|
+
function vl(e) {
|
|
1028
1057
|
return typeof e == "object" && e && (Ko in e || Zo in e);
|
|
1029
1058
|
}
|
|
1030
|
-
function
|
|
1059
|
+
function yl(e, t, n) {
|
|
1031
1060
|
if (!t)
|
|
1032
1061
|
return e;
|
|
1033
1062
|
const r = `.${t}`, o = n === "low" ? `:where(${r})` : r;
|
|
@@ -1087,9 +1116,9 @@ const hn = (e, t = {}, {
|
|
|
1087
1116
|
}, S);
|
|
1088
1117
|
Object.keys($).forEach((C) => {
|
|
1089
1118
|
const x = $[C];
|
|
1090
|
-
if (typeof x == "object" && x && (C !== "animationName" || !x._keyframe) && !
|
|
1119
|
+
if (typeof x == "object" && x && (C !== "animationName" || !x._keyframe) && !vl(x)) {
|
|
1091
1120
|
let T = !1, w = C.trim(), y = !1;
|
|
1092
|
-
(n || r) && i ? w.startsWith("@") ? T = !0 : w =
|
|
1121
|
+
(n || r) && i ? w.startsWith("@") ? T = !0 : w = yl(C, i, s) : n && !i && (w === "&" || w === "") && (w = "", y = !0);
|
|
1093
1122
|
const [M, P] = hn(x, t, {
|
|
1094
1123
|
root: y,
|
|
1095
1124
|
injectHash: T,
|
|
@@ -1101,14 +1130,14 @@ const hn = (e, t = {}, {
|
|
|
1101
1130
|
}, d += `${w}${M}`;
|
|
1102
1131
|
} else {
|
|
1103
1132
|
let T = function(y, M) {
|
|
1104
|
-
process.env.NODE_ENV !== "production" && (typeof x != "object" || !(x != null && x[Ko])) && [
|
|
1133
|
+
process.env.NODE_ENV !== "production" && (typeof x != "object" || !(x != null && x[Ko])) && [dl, fl, ...f].forEach((N) => N(y, M, {
|
|
1105
1134
|
path: l,
|
|
1106
1135
|
hashId: i,
|
|
1107
1136
|
parentSelectors: o
|
|
1108
1137
|
}));
|
|
1109
1138
|
const P = y.replace(/[A-Z]/g, (N) => `-${N.toLowerCase()}`);
|
|
1110
1139
|
let E = M;
|
|
1111
|
-
!
|
|
1140
|
+
!Ka[y] && typeof E == "number" && E !== 0 && (E = `${E}px`), y === "animationName" && (M != null && M._keyframe) && (v(M), E = M.getName(i)), d += `${P}:${E};`;
|
|
1112
1141
|
};
|
|
1113
1142
|
const w = (x == null ? void 0 : x.value) ?? x;
|
|
1114
1143
|
typeof x == "object" && (x != null && x[Zo]) && Array.isArray(w) ? w.forEach((y) => {
|
|
@@ -1117,10 +1146,10 @@ const hn = (e, t = {}, {
|
|
|
1117
1146
|
}
|
|
1118
1147
|
});
|
|
1119
1148
|
}
|
|
1120
|
-
}), n ? a &&
|
|
1149
|
+
}), n ? a && Ba() : d = `{${d}}`, [d, g];
|
|
1121
1150
|
};
|
|
1122
1151
|
function Yo(e, t) {
|
|
1123
|
-
return
|
|
1152
|
+
return Hn(`${e.join("%")}${t}`);
|
|
1124
1153
|
}
|
|
1125
1154
|
function Cr(e, t) {
|
|
1126
1155
|
const n = ut(), r = h(() => {
|
|
@@ -1144,8 +1173,8 @@ function Cr(e, t) {
|
|
|
1144
1173
|
clientOnly: f,
|
|
1145
1174
|
order: d = 0
|
|
1146
1175
|
} = e.value || {}, g = o.value.join("|");
|
|
1147
|
-
if (
|
|
1148
|
-
const [y, M] =
|
|
1176
|
+
if (ml(g)) {
|
|
1177
|
+
const [y, M] = pl(g);
|
|
1149
1178
|
if (y)
|
|
1150
1179
|
return [y, r.value, M, {}, f, d];
|
|
1151
1180
|
}
|
|
@@ -1174,7 +1203,7 @@ function Cr(e, t) {
|
|
|
1174
1203
|
nonce: M
|
|
1175
1204
|
});
|
|
1176
1205
|
const P = ln(T, w, y);
|
|
1177
|
-
P[ze] = $.instanceId, P.setAttribute(Oo, r.value), process.env.NODE_ENV !== "production" && P.setAttribute(
|
|
1206
|
+
P[ze] = $.instanceId, P.setAttribute(Oo, r.value), process.env.NODE_ENV !== "production" && P.setAttribute(fa, o.value.join("|")), Object.keys(x).forEach((E) => {
|
|
1178
1207
|
fn.has(E) || (fn.add(E), ln(Sr(x[E]), `_effect-${E}`, {
|
|
1179
1208
|
mark: xe,
|
|
1180
1209
|
prepend: "queue",
|
|
@@ -1192,15 +1221,15 @@ function Cr(e, t) {
|
|
|
1192
1221
|
}
|
|
1193
1222
|
), (a) => a;
|
|
1194
1223
|
}
|
|
1195
|
-
const
|
|
1224
|
+
const bl = "cssVar", Sl = (e, t) => {
|
|
1196
1225
|
const { key: n, prefix: r, unitless: o, ignore: i, token: a, scope: l = "" } = e;
|
|
1197
|
-
useContext(
|
|
1226
|
+
useContext(pa);
|
|
1198
1227
|
const { _tokenKey: s } = a, c = [...e.path, n, l, s];
|
|
1199
1228
|
return Nn(
|
|
1200
|
-
|
|
1229
|
+
bl,
|
|
1201
1230
|
c,
|
|
1202
1231
|
() => {
|
|
1203
|
-
const d = t(), [g, v] =
|
|
1232
|
+
const d = t(), [g, v] = ja(d, n, {
|
|
1204
1233
|
prefix: r,
|
|
1205
1234
|
unitless: o,
|
|
1206
1235
|
ignore: i,
|
|
@@ -1221,13 +1250,13 @@ class Qo {
|
|
|
1221
1250
|
return t ? `${t}-${this.name}` : this.name;
|
|
1222
1251
|
}
|
|
1223
1252
|
}
|
|
1224
|
-
function
|
|
1253
|
+
function Be(e) {
|
|
1225
1254
|
return e.notSplit = !0, e;
|
|
1226
1255
|
}
|
|
1227
|
-
|
|
1256
|
+
Be(["borderTop", "borderBottom"]), Be(["borderTop"]), Be(["borderBottom"]), Be(["borderLeft", "borderRight"]), Be(["borderLeft"]), Be(["borderRight"]);
|
|
1228
1257
|
class Jo {
|
|
1229
1258
|
}
|
|
1230
|
-
const _o = "CALC_UNIT",
|
|
1259
|
+
const _o = "CALC_UNIT", Cl = new RegExp(_o, "g");
|
|
1231
1260
|
function kt(e) {
|
|
1232
1261
|
return typeof e == "number" ? `${e}${_o}` : e;
|
|
1233
1262
|
}
|
|
@@ -1255,7 +1284,7 @@ class Pe extends Jo {
|
|
|
1255
1284
|
equal(t) {
|
|
1256
1285
|
const { unit: n } = t || {};
|
|
1257
1286
|
let r = !0;
|
|
1258
|
-
return typeof n == "boolean" ? r = n : Array.from(this.unitlessCssVar).some((o) => this.result.includes(o)) && (r = !1), this.result = this.result.replace(
|
|
1287
|
+
return typeof n == "boolean" ? r = n : Array.from(this.unitlessCssVar).some((o) => this.result.includes(o)) && (r = !1), this.result = this.result.replace(Cl, r ? "px" : ""), typeof this.lowPriority < "u" ? `calc(${this.result})` : this.result;
|
|
1259
1288
|
}
|
|
1260
1289
|
}
|
|
1261
1290
|
class Ee extends Jo {
|
|
@@ -1278,7 +1307,7 @@ class Ee extends Jo {
|
|
|
1278
1307
|
return this.result;
|
|
1279
1308
|
}
|
|
1280
1309
|
}
|
|
1281
|
-
const
|
|
1310
|
+
const xl = (e, t) => {
|
|
1282
1311
|
const n = e === "css" ? Pe : Ee;
|
|
1283
1312
|
return (r) => new n(r, t);
|
|
1284
1313
|
}, xr = (e, t) => `${[
|
|
@@ -1325,10 +1354,10 @@ function he(...e) {
|
|
|
1325
1354
|
}), gn = !0, t;
|
|
1326
1355
|
}
|
|
1327
1356
|
const wr = {};
|
|
1328
|
-
function
|
|
1357
|
+
function $l() {
|
|
1329
1358
|
}
|
|
1330
|
-
const
|
|
1331
|
-
let t, n = e, r =
|
|
1359
|
+
const wl = (e) => {
|
|
1360
|
+
let t, n = e, r = $l;
|
|
1332
1361
|
return ei && typeof Proxy < "u" && (t = /* @__PURE__ */ new Set(), n = new Proxy(e, {
|
|
1333
1362
|
get(o, i) {
|
|
1334
1363
|
return gn && (t == null || t.add(i)), o[i];
|
|
@@ -1349,14 +1378,14 @@ function Tr(e, t = {}, n) {
|
|
|
1349
1378
|
he(t, t[e] ?? {})
|
|
1350
1379
|
) : n ?? {};
|
|
1351
1380
|
}
|
|
1352
|
-
function
|
|
1381
|
+
function Tl(e) {
|
|
1353
1382
|
return e === "js" ? { max: Math.max, min: Math.min } : {
|
|
1354
1383
|
max: (...t) => `max(${t.map((n) => ae(n)).join(",")})`,
|
|
1355
1384
|
min: (...t) => `min(${t.map((n) => ae(n)).join(",")})`
|
|
1356
1385
|
};
|
|
1357
1386
|
}
|
|
1358
|
-
const
|
|
1359
|
-
class
|
|
1387
|
+
const Ol = 1e3 * 60 * 10;
|
|
1388
|
+
class Al {
|
|
1360
1389
|
constructor() {
|
|
1361
1390
|
Re(this, "map", /* @__PURE__ */ new Map());
|
|
1362
1391
|
// Use WeakMap to avoid memory leak
|
|
@@ -1388,13 +1417,13 @@ class Ol {
|
|
|
1388
1417
|
if (this.accessBeat > 1e4) {
|
|
1389
1418
|
const t = Date.now();
|
|
1390
1419
|
this.lastAccessBeat.forEach((n, r) => {
|
|
1391
|
-
t - n >
|
|
1420
|
+
t - n > Ol && (this.map.delete(r), this.lastAccessBeat.delete(r));
|
|
1392
1421
|
}), this.accessBeat = 0;
|
|
1393
1422
|
}
|
|
1394
1423
|
}
|
|
1395
1424
|
}
|
|
1396
|
-
const Or = new
|
|
1397
|
-
function
|
|
1425
|
+
const Or = new Al();
|
|
1426
|
+
function Pl(e, t) {
|
|
1398
1427
|
return h(() => {
|
|
1399
1428
|
const n = Or.get(t);
|
|
1400
1429
|
if (n)
|
|
@@ -1403,10 +1432,10 @@ function Al(e, t) {
|
|
|
1403
1432
|
return Or.set(t, r), r;
|
|
1404
1433
|
});
|
|
1405
1434
|
}
|
|
1406
|
-
const
|
|
1407
|
-
function
|
|
1435
|
+
const El = () => ({});
|
|
1436
|
+
function Ml(e) {
|
|
1408
1437
|
const {
|
|
1409
|
-
useCSP: t =
|
|
1438
|
+
useCSP: t = El,
|
|
1410
1439
|
useToken: n,
|
|
1411
1440
|
usePrefix: r,
|
|
1412
1441
|
getResetStyles: o,
|
|
@@ -1448,7 +1477,7 @@ function El(e) {
|
|
|
1448
1477
|
const {
|
|
1449
1478
|
realToken: w
|
|
1450
1479
|
} = n();
|
|
1451
|
-
return
|
|
1480
|
+
return Sl({
|
|
1452
1481
|
path: [d],
|
|
1453
1482
|
prefix: T.prefix,
|
|
1454
1483
|
key: T.key,
|
|
@@ -1490,15 +1519,15 @@ function El(e) {
|
|
|
1490
1519
|
} = n(), {
|
|
1491
1520
|
rootPrefixCls: E,
|
|
1492
1521
|
iconPrefixCls: N
|
|
1493
|
-
} = r(), X = t(), j = P ? "css" : "js",
|
|
1494
|
-
const
|
|
1522
|
+
} = r(), X = t(), j = P ? "css" : "js", L = O(Pl(() => {
|
|
1523
|
+
const I = /* @__PURE__ */ new Set();
|
|
1495
1524
|
return P && Object.keys(p.unitless || {}).forEach((V) => {
|
|
1496
|
-
|
|
1497
|
-
}),
|
|
1525
|
+
I.add(xt(V, P.prefix)), I.add(xt(V, xr(b, P.prefix)));
|
|
1526
|
+
}), xl(j, I);
|
|
1498
1527
|
}, [j, b, P == null ? void 0 : P.prefix])), {
|
|
1499
1528
|
max: Z,
|
|
1500
1529
|
min: re
|
|
1501
|
-
} =
|
|
1530
|
+
} = Tl(j), Ne = {
|
|
1502
1531
|
theme: T,
|
|
1503
1532
|
token: M,
|
|
1504
1533
|
hashId: y,
|
|
@@ -1525,33 +1554,33 @@ function El(e) {
|
|
|
1525
1554
|
if (p.injectStyle === !1)
|
|
1526
1555
|
return [];
|
|
1527
1556
|
const {
|
|
1528
|
-
token:
|
|
1557
|
+
token: I,
|
|
1529
1558
|
flush: V
|
|
1530
|
-
} =
|
|
1559
|
+
} = wl(M), Y = Tr(b, w, v), dt = `.${C}`, ir = $r(b, w, Y, {
|
|
1531
1560
|
deprecatedTokens: p.deprecatedTokens
|
|
1532
1561
|
});
|
|
1533
1562
|
P && Y && typeof Y == "object" && Object.keys(Y).forEach((lr) => {
|
|
1534
1563
|
Y[lr] = `var(${xt(lr, xr(b, P.prefix))})`;
|
|
1535
1564
|
});
|
|
1536
|
-
const ar = he(
|
|
1565
|
+
const ar = he(I, {
|
|
1537
1566
|
componentCls: dt,
|
|
1538
1567
|
prefixCls: C,
|
|
1539
1568
|
iconCls: `.${N}`,
|
|
1540
1569
|
antCls: `.${E}`,
|
|
1541
|
-
calc:
|
|
1570
|
+
calc: L,
|
|
1542
1571
|
// @ts-ignore
|
|
1543
1572
|
max: Z,
|
|
1544
1573
|
// @ts-ignore
|
|
1545
1574
|
min: re
|
|
1546
|
-
}, P ? Y : ir),
|
|
1575
|
+
}, P ? Y : ir), Mi = g(ar, {
|
|
1547
1576
|
hashId: y,
|
|
1548
1577
|
prefixCls: C,
|
|
1549
1578
|
rootPrefixCls: E,
|
|
1550
1579
|
iconPrefixCls: N
|
|
1551
1580
|
});
|
|
1552
1581
|
V(b, ir);
|
|
1553
|
-
const
|
|
1554
|
-
return [p.resetStyle === !1 ? null :
|
|
1582
|
+
const Ii = typeof i == "function" ? i(ar, C, x, p.resetFont) : null;
|
|
1583
|
+
return [p.resetStyle === !1 ? null : Ii, Mi];
|
|
1555
1584
|
}), y];
|
|
1556
1585
|
};
|
|
1557
1586
|
}
|
|
@@ -1573,7 +1602,7 @@ function El(e) {
|
|
|
1573
1602
|
genComponentStyleHook: c
|
|
1574
1603
|
};
|
|
1575
1604
|
}
|
|
1576
|
-
const
|
|
1605
|
+
const Il = {
|
|
1577
1606
|
size: !0,
|
|
1578
1607
|
sizeSM: !0,
|
|
1579
1608
|
sizeLG: !0,
|
|
@@ -1612,17 +1641,17 @@ function D() {
|
|
|
1612
1641
|
}, D.apply(null, arguments);
|
|
1613
1642
|
}
|
|
1614
1643
|
function K(e, t) {
|
|
1615
|
-
|
|
1616
|
-
var n =
|
|
1644
|
+
Nl(e) && (e = "100%");
|
|
1645
|
+
var n = Rl(e);
|
|
1617
1646
|
return e = t === 360 ? e : Math.min(t, Math.max(0, parseFloat(e))), n && (e = parseInt(String(e * t), 10) / 100), Math.abs(e - t) < 1e-6 ? 1 : (t === 360 ? e = (e < 0 ? e % t + t : e % t) / parseFloat(String(t)) : e = e % t / parseFloat(String(t)), e);
|
|
1618
1647
|
}
|
|
1619
1648
|
function ht(e) {
|
|
1620
1649
|
return Math.min(1, Math.max(0, e));
|
|
1621
1650
|
}
|
|
1622
|
-
function
|
|
1651
|
+
function Nl(e) {
|
|
1623
1652
|
return typeof e == "string" && e.indexOf(".") !== -1 && parseFloat(e) === 1;
|
|
1624
1653
|
}
|
|
1625
|
-
function
|
|
1654
|
+
function Rl(e) {
|
|
1626
1655
|
return typeof e == "string" && e.indexOf("%") !== -1;
|
|
1627
1656
|
}
|
|
1628
1657
|
function ti(e) {
|
|
@@ -1631,10 +1660,10 @@ function ti(e) {
|
|
|
1631
1660
|
function gt(e) {
|
|
1632
1661
|
return e <= 1 ? "".concat(Number(e) * 100, "%") : e;
|
|
1633
1662
|
}
|
|
1634
|
-
function
|
|
1663
|
+
function Ie(e) {
|
|
1635
1664
|
return e.length === 1 ? "0" + e : String(e);
|
|
1636
1665
|
}
|
|
1637
|
-
function
|
|
1666
|
+
function Bl(e, t, n) {
|
|
1638
1667
|
return {
|
|
1639
1668
|
r: K(e, 255) * 255,
|
|
1640
1669
|
g: K(t, 255) * 255,
|
|
@@ -1697,29 +1726,29 @@ function mn(e, t, n) {
|
|
|
1697
1726
|
}
|
|
1698
1727
|
return { h: i, s, v: a };
|
|
1699
1728
|
}
|
|
1700
|
-
function
|
|
1729
|
+
function zl(e, t, n) {
|
|
1701
1730
|
e = K(e, 360) * 6, t = K(t, 100), n = K(n, 100);
|
|
1702
1731
|
var r = Math.floor(e), o = e - r, i = n * (1 - t), a = n * (1 - o * t), l = n * (1 - (1 - o) * t), s = r % 6, c = [n, a, i, i, l, n][s], f = [l, n, n, a, i, i][s], d = [i, i, l, n, n, a][s];
|
|
1703
1732
|
return { r: c * 255, g: f * 255, b: d * 255 };
|
|
1704
1733
|
}
|
|
1705
1734
|
function pn(e, t, n, r) {
|
|
1706
1735
|
var o = [
|
|
1707
|
-
|
|
1708
|
-
|
|
1709
|
-
|
|
1736
|
+
Ie(Math.round(e).toString(16)),
|
|
1737
|
+
Ie(Math.round(t).toString(16)),
|
|
1738
|
+
Ie(Math.round(n).toString(16))
|
|
1710
1739
|
];
|
|
1711
1740
|
return r && o[0].startsWith(o[0].charAt(1)) && o[1].startsWith(o[1].charAt(1)) && o[2].startsWith(o[2].charAt(1)) ? o[0].charAt(0) + o[1].charAt(0) + o[2].charAt(0) : o.join("");
|
|
1712
1741
|
}
|
|
1713
|
-
function
|
|
1742
|
+
function jl(e, t, n, r, o) {
|
|
1714
1743
|
var i = [
|
|
1715
|
-
|
|
1716
|
-
|
|
1717
|
-
|
|
1718
|
-
|
|
1744
|
+
Ie(Math.round(e).toString(16)),
|
|
1745
|
+
Ie(Math.round(t).toString(16)),
|
|
1746
|
+
Ie(Math.round(n).toString(16)),
|
|
1747
|
+
Ie(Dl(r))
|
|
1719
1748
|
];
|
|
1720
1749
|
return o && i[0].startsWith(i[0].charAt(1)) && i[1].startsWith(i[1].charAt(1)) && i[2].startsWith(i[2].charAt(1)) && i[3].startsWith(i[3].charAt(1)) ? i[0].charAt(0) + i[1].charAt(0) + i[2].charAt(0) + i[3].charAt(0) : i.join("");
|
|
1721
1750
|
}
|
|
1722
|
-
function
|
|
1751
|
+
function Dl(e) {
|
|
1723
1752
|
return Math.round(parseFloat(e) * 255).toString(16);
|
|
1724
1753
|
}
|
|
1725
1754
|
function Pr(e) {
|
|
@@ -1728,7 +1757,7 @@ function Pr(e) {
|
|
|
1728
1757
|
function Q(e) {
|
|
1729
1758
|
return parseInt(e, 16);
|
|
1730
1759
|
}
|
|
1731
|
-
function
|
|
1760
|
+
function Fl(e) {
|
|
1732
1761
|
return {
|
|
1733
1762
|
r: e >> 16,
|
|
1734
1763
|
g: (e & 65280) >> 8,
|
|
@@ -1885,9 +1914,9 @@ var vn = {
|
|
|
1885
1914
|
yellow: "#ffff00",
|
|
1886
1915
|
yellowgreen: "#9acd32"
|
|
1887
1916
|
};
|
|
1888
|
-
function
|
|
1917
|
+
function Le(e) {
|
|
1889
1918
|
var t = { r: 0, g: 0, b: 0 }, n = 1, r = null, o = null, i = null, a = !1, l = !1;
|
|
1890
|
-
return typeof e == "string" && (e =
|
|
1919
|
+
return typeof e == "string" && (e = Wl(e)), typeof e == "object" && (ge(e.r) && ge(e.g) && ge(e.b) ? (t = Bl(e.r, e.g, e.b), a = !0, l = String(e.r).substr(-1) === "%" ? "prgb" : "rgb") : ge(e.h) && ge(e.s) && ge(e.v) ? (r = gt(e.s), o = gt(e.v), t = zl(e.h, r, o), a = !0, l = "hsv") : ge(e.h) && ge(e.s) && ge(e.l) && (r = gt(e.s), i = gt(e.l), t = Ll(e.h, r, i), a = !0, l = "hsl"), Object.prototype.hasOwnProperty.call(e, "a") && (n = e.a)), n = ti(n), {
|
|
1891
1920
|
ok: a,
|
|
1892
1921
|
format: e.format || l,
|
|
1893
1922
|
r: Math.min(255, Math.max(t.r, 0)),
|
|
@@ -1896,7 +1925,7 @@ function Be(e) {
|
|
|
1896
1925
|
a: n
|
|
1897
1926
|
};
|
|
1898
1927
|
}
|
|
1899
|
-
var
|
|
1928
|
+
var Xl = "[-\\+]?\\d+%?", Vl = "[-\\+]?\\d*\\.\\d+%?", Ce = "(?:".concat(Vl, ")|(?:").concat(Xl, ")"), Ut = "[\\s|\\(]+(".concat(Ce, ")[,|\\s]+(").concat(Ce, ")[,|\\s]+(").concat(Ce, ")\\s*\\)?"), qt = "[\\s|\\(]+(".concat(Ce, ")[,|\\s]+(").concat(Ce, ")[,|\\s]+(").concat(Ce, ")[,|\\s]+(").concat(Ce, ")\\s*\\)?"), oe = {
|
|
1900
1929
|
CSS_UNIT: new RegExp(Ce),
|
|
1901
1930
|
rgb: new RegExp("rgb" + Ut),
|
|
1902
1931
|
rgba: new RegExp("rgba" + qt),
|
|
@@ -1909,7 +1938,7 @@ var Fl = "[-\\+]?\\d+%?", Xl = "[-\\+]?\\d*\\.\\d+%?", Ce = "(?:".concat(Xl, ")|
|
|
|
1909
1938
|
hex4: /^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,
|
|
1910
1939
|
hex8: /^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/
|
|
1911
1940
|
};
|
|
1912
|
-
function
|
|
1941
|
+
function Wl(e) {
|
|
1913
1942
|
if (e = e.trim().toLowerCase(), e.length === 0)
|
|
1914
1943
|
return !1;
|
|
1915
1944
|
var t = !1;
|
|
@@ -1953,8 +1982,8 @@ var ue = (
|
|
|
1953
1982
|
var r;
|
|
1954
1983
|
if (t instanceof e)
|
|
1955
1984
|
return t;
|
|
1956
|
-
typeof t == "number" && (t =
|
|
1957
|
-
var o =
|
|
1985
|
+
typeof t == "number" && (t = Fl(t)), this.originalInput = t;
|
|
1986
|
+
var o = Le(t);
|
|
1958
1987
|
this.originalInput = t, this.r = o.r, this.g = o.g, this.b = o.b, this.a = o.a, this.roundA = Math.round(100 * this.a) / 100, this.format = (r = n.format) !== null && r !== void 0 ? r : o.format, this.gradientType = n.gradientType, this.r < 1 && (this.r = Math.round(this.r)), this.g < 1 && (this.g = Math.round(this.g)), this.b < 1 && (this.b = Math.round(this.b)), this.isValid = o.ok;
|
|
1959
1988
|
}
|
|
1960
1989
|
return e.prototype.isDark = function() {
|
|
@@ -1991,7 +2020,7 @@ var ue = (
|
|
|
1991
2020
|
}, e.prototype.toHexString = function(t) {
|
|
1992
2021
|
return t === void 0 && (t = !1), "#" + this.toHex(t);
|
|
1993
2022
|
}, e.prototype.toHex8 = function(t) {
|
|
1994
|
-
return t === void 0 && (t = !1),
|
|
2023
|
+
return t === void 0 && (t = !1), jl(this.r, this.g, this.b, this.a, t);
|
|
1995
2024
|
}, e.prototype.toHex8String = function(t) {
|
|
1996
2025
|
return t === void 0 && (t = !1), "#" + this.toHex8(t);
|
|
1997
2026
|
}, e.prototype.toHexShortString = function(t) {
|
|
@@ -2213,17 +2242,17 @@ const ni = {
|
|
|
2213
2242
|
// Wireframe
|
|
2214
2243
|
wireframe: !1
|
|
2215
2244
|
});
|
|
2216
|
-
var
|
|
2245
|
+
var kl = function(e, t) {
|
|
2217
2246
|
var n = {};
|
|
2218
2247
|
for (var r in e) Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
|
|
2219
2248
|
if (e != null && typeof Object.getOwnPropertySymbols == "function") for (var o = 0, r = Object.getOwnPropertySymbols(e); o < r.length; o++)
|
|
2220
2249
|
t.indexOf(r[o]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[o]) && (n[r[o]] = e[r[o]]);
|
|
2221
2250
|
return n;
|
|
2222
2251
|
};
|
|
2223
|
-
function
|
|
2252
|
+
function Gl(e) {
|
|
2224
2253
|
const {
|
|
2225
2254
|
override: t
|
|
2226
|
-
} = e, n =
|
|
2255
|
+
} = e, n = kl(e, ["override"]), r = D({}, t);
|
|
2227
2256
|
Object.keys(ri).forEach((v) => {
|
|
2228
2257
|
delete r[v];
|
|
2229
2258
|
});
|
|
@@ -2368,8 +2397,8 @@ function kl(e) {
|
|
|
2368
2397
|
boxShadowTabsOverflowBottom: "inset 0 -10px 8px -8px rgba(0, 0, 0, 0.08)"
|
|
2369
2398
|
}), r);
|
|
2370
2399
|
}
|
|
2371
|
-
const
|
|
2372
|
-
function
|
|
2400
|
+
const Ul = "1.0.3";
|
|
2401
|
+
function ql(e, t) {
|
|
2373
2402
|
if (e.length !== t.length)
|
|
2374
2403
|
return !1;
|
|
2375
2404
|
for (let n = 0; n < e.length; n++)
|
|
@@ -2437,32 +2466,32 @@ class We {
|
|
|
2437
2466
|
}
|
|
2438
2467
|
delete(t) {
|
|
2439
2468
|
if (this.has(t))
|
|
2440
|
-
return this.keys = this.keys.filter((n) => !
|
|
2469
|
+
return this.keys = this.keys.filter((n) => !ql(n, t)), this.deleteByPath(this.cache, t);
|
|
2441
2470
|
}
|
|
2442
2471
|
}
|
|
2443
2472
|
We.MAX_CACHE_SIZE = 20;
|
|
2444
2473
|
We.MAX_CACHE_OFFSET = 5;
|
|
2445
2474
|
let yn = {};
|
|
2446
|
-
function
|
|
2475
|
+
function Kl(e, t) {
|
|
2447
2476
|
process.env.NODE_ENV !== "production" && !e && console !== void 0 && console.error(`Warning: ${t}`);
|
|
2448
2477
|
}
|
|
2449
|
-
function
|
|
2478
|
+
function Zl() {
|
|
2450
2479
|
yn = {};
|
|
2451
2480
|
}
|
|
2452
|
-
function
|
|
2481
|
+
function Yl(e, t, n) {
|
|
2453
2482
|
!t && !yn[n] && (e(!1, n), yn[n] = !0);
|
|
2454
2483
|
}
|
|
2455
|
-
function
|
|
2456
|
-
|
|
2484
|
+
function Ql(e, t) {
|
|
2485
|
+
Yl(Kl, e, t);
|
|
2457
2486
|
}
|
|
2458
|
-
function
|
|
2487
|
+
function Jl() {
|
|
2459
2488
|
}
|
|
2460
|
-
let oi =
|
|
2489
|
+
let oi = Jl;
|
|
2461
2490
|
process.env.NODE_ENV !== "production" && (oi = (e, t, n) => {
|
|
2462
|
-
|
|
2491
|
+
Ql(e, `[ant-design-vue: ${t}] ${n}`), process.env.NODE_ENV === "test" && Zl();
|
|
2463
2492
|
});
|
|
2464
2493
|
let Er = 0;
|
|
2465
|
-
class
|
|
2494
|
+
class _l {
|
|
2466
2495
|
constructor(t) {
|
|
2467
2496
|
this.derivatives = Array.isArray(t) ? t : [t], this.id = Er, t.length === 0 && oi(t.length > 0, "[Ant Design Vue CSS-in-JS] Theme should have at least one derivative function."), Er += 1;
|
|
2468
2497
|
}
|
|
@@ -2471,11 +2500,11 @@ class Jl {
|
|
|
2471
2500
|
}
|
|
2472
2501
|
}
|
|
2473
2502
|
const Zt = new We();
|
|
2474
|
-
function
|
|
2503
|
+
function es(e) {
|
|
2475
2504
|
const t = Array.isArray(e) ? e : [e];
|
|
2476
|
-
return Zt.has(t) || Zt.set(t, new
|
|
2505
|
+
return Zt.has(t) || Zt.set(t, new _l(t)), Zt.get(t);
|
|
2477
2506
|
}
|
|
2478
|
-
var pt = 2, Mr = 0.16,
|
|
2507
|
+
var pt = 2, Mr = 0.16, ts = 0.05, ns = 0.05, rs = 0.15, ii = 5, ai = 4, os = [{
|
|
2479
2508
|
index: 7,
|
|
2480
2509
|
opacity: 0.15
|
|
2481
2510
|
}, {
|
|
@@ -2506,7 +2535,7 @@ var pt = 2, Mr = 0.16, es = 0.05, ts = 0.05, ns = 0.15, ii = 5, ai = 4, rs = [{
|
|
|
2506
2535
|
index: 1,
|
|
2507
2536
|
opacity: 0.98
|
|
2508
2537
|
}];
|
|
2509
|
-
function
|
|
2538
|
+
function Ir(e) {
|
|
2510
2539
|
var t = e.r, n = e.g, r = e.b, o = mn(t, n, r);
|
|
2511
2540
|
return {
|
|
2512
2541
|
h: o.h * 360,
|
|
@@ -2518,7 +2547,7 @@ function vt(e) {
|
|
|
2518
2547
|
var t = e.r, n = e.g, r = e.b;
|
|
2519
2548
|
return "#".concat(pn(t, n, r, !1));
|
|
2520
2549
|
}
|
|
2521
|
-
function
|
|
2550
|
+
function is(e, t, n) {
|
|
2522
2551
|
var r = n / 100, o = {
|
|
2523
2552
|
r: (t.r - e.r) * r + e.r,
|
|
2524
2553
|
g: (t.g - e.g) * r + e.g,
|
|
@@ -2526,7 +2555,7 @@ function os(e, t, n) {
|
|
|
2526
2555
|
};
|
|
2527
2556
|
return o;
|
|
2528
2557
|
}
|
|
2529
|
-
function
|
|
2558
|
+
function Hr(e, t, n) {
|
|
2530
2559
|
var r;
|
|
2531
2560
|
return Math.round(e.h) >= 60 && Math.round(e.h) <= 240 ? r = n ? Math.round(e.h) - pt * t : Math.round(e.h) + pt * t : r = n ? Math.round(e.h) + pt * t : Math.round(e.h) - pt * t, r < 0 ? r += 360 : r >= 360 && (r -= 360), r;
|
|
2532
2561
|
}
|
|
@@ -2534,16 +2563,16 @@ function Nr(e, t, n) {
|
|
|
2534
2563
|
if (e.h === 0 && e.s === 0)
|
|
2535
2564
|
return e.s;
|
|
2536
2565
|
var r;
|
|
2537
|
-
return n ? r = e.s - Mr * t : t === ai ? r = e.s + Mr : r = e.s +
|
|
2566
|
+
return n ? r = e.s - Mr * t : t === ai ? r = e.s + Mr : r = e.s + ts * t, r > 1 && (r = 1), n && t === ii && r > 0.1 && (r = 0.1), r < 0.06 && (r = 0.06), Number(r.toFixed(2));
|
|
2538
2567
|
}
|
|
2539
2568
|
function Rr(e, t, n) {
|
|
2540
2569
|
var r;
|
|
2541
|
-
return n ? r = e.v +
|
|
2570
|
+
return n ? r = e.v + ns * t : r = e.v - rs * t, r > 1 && (r = 1), Number(r.toFixed(2));
|
|
2542
2571
|
}
|
|
2543
2572
|
function at(e) {
|
|
2544
|
-
for (var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = [], r =
|
|
2545
|
-
var i =
|
|
2546
|
-
h:
|
|
2573
|
+
for (var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = [], r = Le(e), o = ii; o > 0; o -= 1) {
|
|
2574
|
+
var i = Ir(r), a = vt(Le({
|
|
2575
|
+
h: Hr(i, o, !0),
|
|
2547
2576
|
s: Nr(i, o, !0),
|
|
2548
2577
|
v: Rr(i, o, !0)
|
|
2549
2578
|
}));
|
|
@@ -2551,15 +2580,15 @@ function at(e) {
|
|
|
2551
2580
|
}
|
|
2552
2581
|
n.push(vt(r));
|
|
2553
2582
|
for (var l = 1; l <= ai; l += 1) {
|
|
2554
|
-
var s =
|
|
2555
|
-
h:
|
|
2583
|
+
var s = Ir(r), c = vt(Le({
|
|
2584
|
+
h: Hr(s, l),
|
|
2556
2585
|
s: Nr(s, l),
|
|
2557
2586
|
v: Rr(s, l)
|
|
2558
2587
|
}));
|
|
2559
2588
|
n.push(c);
|
|
2560
2589
|
}
|
|
2561
|
-
return t.theme === "dark" ?
|
|
2562
|
-
var d = f.index, g = f.opacity, v = vt(
|
|
2590
|
+
return t.theme === "dark" ? os.map(function(f) {
|
|
2591
|
+
var d = f.index, g = f.opacity, v = vt(is(Le(t.backgroundColor || "#141414"), Le(n[d]), g * 100));
|
|
2563
2592
|
return v;
|
|
2564
2593
|
}) : n;
|
|
2565
2594
|
}
|
|
@@ -2584,8 +2613,8 @@ Object.keys(Yt).forEach(function(e) {
|
|
|
2584
2613
|
backgroundColor: "#141414"
|
|
2585
2614
|
}), Qt[e].primary = Qt[e][5];
|
|
2586
2615
|
});
|
|
2587
|
-
var
|
|
2588
|
-
const
|
|
2616
|
+
var as = Ot.blue;
|
|
2617
|
+
const ls = (e) => {
|
|
2589
2618
|
const {
|
|
2590
2619
|
controlHeight: t
|
|
2591
2620
|
} = e;
|
|
@@ -2595,7 +2624,7 @@ const as = (e) => {
|
|
|
2595
2624
|
controlHeightLG: t * 1.25
|
|
2596
2625
|
};
|
|
2597
2626
|
};
|
|
2598
|
-
function
|
|
2627
|
+
function ss(e) {
|
|
2599
2628
|
const {
|
|
2600
2629
|
sizeUnit: t,
|
|
2601
2630
|
sizeStep: n
|
|
@@ -2613,7 +2642,7 @@ function ls(e) {
|
|
|
2613
2642
|
// 4
|
|
2614
2643
|
};
|
|
2615
2644
|
}
|
|
2616
|
-
function
|
|
2645
|
+
function cs(e, t) {
|
|
2617
2646
|
let {
|
|
2618
2647
|
generateColorPalettes: n,
|
|
2619
2648
|
generateNeutralColorPalettes: r
|
|
@@ -2682,7 +2711,7 @@ function ss(e, t) {
|
|
|
2682
2711
|
colorWhite: "#fff"
|
|
2683
2712
|
});
|
|
2684
2713
|
}
|
|
2685
|
-
const
|
|
2714
|
+
const us = (e) => {
|
|
2686
2715
|
let t = e, n = e, r = e, o = e;
|
|
2687
2716
|
return e < 6 && e >= 5 ? t = e + 1 : e < 16 && e >= 6 ? t = e + 2 : e >= 16 && (t = 16), e < 7 && e >= 5 ? n = 4 : e < 8 && e >= 7 ? n = 5 : e < 14 && e >= 8 ? n = 6 : e < 16 && e >= 14 ? n = 7 : e >= 16 && (n = 8), e < 6 && e >= 2 ? r = 1 : e >= 6 && (r = 2), e > 4 && e < 8 ? o = 4 : e >= 8 && (o = 6), {
|
|
2688
2717
|
borderRadius: e > 16 ? 16 : e,
|
|
@@ -2692,7 +2721,7 @@ const cs = (e) => {
|
|
|
2692
2721
|
borderRadiusOuter: o
|
|
2693
2722
|
};
|
|
2694
2723
|
};
|
|
2695
|
-
function
|
|
2724
|
+
function ds(e) {
|
|
2696
2725
|
const {
|
|
2697
2726
|
motionUnit: t,
|
|
2698
2727
|
motionBase: n,
|
|
@@ -2706,9 +2735,9 @@ function us(e) {
|
|
|
2706
2735
|
motionDurationSlow: `${(n + t * 3).toFixed(1)}s`,
|
|
2707
2736
|
// line
|
|
2708
2737
|
lineWidthBold: o + 1
|
|
2709
|
-
},
|
|
2738
|
+
}, us(r));
|
|
2710
2739
|
}
|
|
2711
|
-
const me = (e, t) => new ue(e).setAlpha(t).toRgbString(), Ke = (e, t) => new ue(e).darken(t).toHexString(),
|
|
2740
|
+
const me = (e, t) => new ue(e).setAlpha(t).toRgbString(), Ke = (e, t) => new ue(e).darken(t).toHexString(), fs = (e) => {
|
|
2712
2741
|
const t = at(e);
|
|
2713
2742
|
return {
|
|
2714
2743
|
1: t[0],
|
|
@@ -2725,7 +2754,7 @@ const me = (e, t) => new ue(e).setAlpha(t).toRgbString(), Ke = (e, t) => new ue(
|
|
|
2725
2754
|
// 9: colors[8],
|
|
2726
2755
|
// 10: colors[9],
|
|
2727
2756
|
};
|
|
2728
|
-
},
|
|
2757
|
+
}, hs = (e, t) => {
|
|
2729
2758
|
const n = e || "#fff", r = t || "#000";
|
|
2730
2759
|
return {
|
|
2731
2760
|
colorBgBase: n,
|
|
@@ -2746,7 +2775,7 @@ const me = (e, t) => new ue(e).setAlpha(t).toRgbString(), Ke = (e, t) => new ue(
|
|
|
2746
2775
|
colorBorderSecondary: Ke(n, 6)
|
|
2747
2776
|
};
|
|
2748
2777
|
};
|
|
2749
|
-
function
|
|
2778
|
+
function gs(e) {
|
|
2750
2779
|
const t = new Array(10).fill(null).map((n, r) => {
|
|
2751
2780
|
const o = r - 1, i = e * Math.pow(2.71828, o / 5), a = r > 1 ? Math.floor(i) : Math.ceil(i);
|
|
2752
2781
|
return Math.floor(a / 2) * 2;
|
|
@@ -2759,8 +2788,8 @@ function hs(e) {
|
|
|
2759
2788
|
};
|
|
2760
2789
|
});
|
|
2761
2790
|
}
|
|
2762
|
-
const
|
|
2763
|
-
const t =
|
|
2791
|
+
const ms = (e) => {
|
|
2792
|
+
const t = gs(e), n = t.map((o) => o.size), r = t.map((o) => o.lineHeight);
|
|
2764
2793
|
return {
|
|
2765
2794
|
fontSizeSM: n[0],
|
|
2766
2795
|
fontSize: n[1],
|
|
@@ -2781,43 +2810,43 @@ const gs = (e) => {
|
|
|
2781
2810
|
lineHeightHeading5: r[2]
|
|
2782
2811
|
};
|
|
2783
2812
|
};
|
|
2784
|
-
function
|
|
2813
|
+
function ps(e) {
|
|
2785
2814
|
const t = Object.keys(ni).map((n) => {
|
|
2786
2815
|
const r = at(e[n]);
|
|
2787
2816
|
return new Array(10).fill(1).reduce((o, i, a) => (o[`${n}-${a + 1}`] = r[a], o), {});
|
|
2788
2817
|
}).reduce((n, r) => (n = D(D({}, n), r), n), {});
|
|
2789
|
-
return D(D(D(D(D(D(D({}, e), t),
|
|
2790
|
-
generateColorPalettes:
|
|
2791
|
-
generateNeutralColorPalettes:
|
|
2792
|
-
})),
|
|
2818
|
+
return D(D(D(D(D(D(D({}, e), t), cs(e, {
|
|
2819
|
+
generateColorPalettes: fs,
|
|
2820
|
+
generateNeutralColorPalettes: hs
|
|
2821
|
+
})), ms(e.fontSize)), ss(e)), ls(e)), ds(e));
|
|
2793
2822
|
}
|
|
2794
|
-
|
|
2795
|
-
const
|
|
2823
|
+
es(ps);
|
|
2824
|
+
const vs = {
|
|
2796
2825
|
token: ri,
|
|
2797
2826
|
hashed: !0
|
|
2798
|
-
}, li = Symbol("DesignTokenContext"), bn = J(),
|
|
2827
|
+
}, li = Symbol("DesignTokenContext"), bn = J(), ys = (e) => {
|
|
2799
2828
|
fe(li, e), R(e, () => {
|
|
2800
2829
|
bn.value = O(e), ye(bn);
|
|
2801
2830
|
}, {
|
|
2802
2831
|
immediate: !0,
|
|
2803
2832
|
deep: !0
|
|
2804
2833
|
});
|
|
2805
|
-
},
|
|
2806
|
-
|
|
2834
|
+
}, bs = () => ne(li, h(() => bn.value || vs));
|
|
2835
|
+
H({
|
|
2807
2836
|
props: {
|
|
2808
|
-
value:
|
|
2837
|
+
value: Yi()
|
|
2809
2838
|
},
|
|
2810
2839
|
setup(e, t) {
|
|
2811
2840
|
let {
|
|
2812
2841
|
slots: n
|
|
2813
2842
|
} = t;
|
|
2814
|
-
return
|
|
2843
|
+
return ys(h(() => e.value)), () => {
|
|
2815
2844
|
var r;
|
|
2816
2845
|
return (r = n.default) === null || r === void 0 ? void 0 : r.call(n);
|
|
2817
2846
|
};
|
|
2818
2847
|
}
|
|
2819
2848
|
});
|
|
2820
|
-
const
|
|
2849
|
+
const Ss = Ha(xo.defaultAlgorithm), Cs = {
|
|
2821
2850
|
screenXS: !0,
|
|
2822
2851
|
screenXSMin: !0,
|
|
2823
2852
|
screenXSMax: !0,
|
|
@@ -2841,7 +2870,7 @@ const bs = Ha(xo.defaultAlgorithm), Ss = {
|
|
|
2841
2870
|
...r,
|
|
2842
2871
|
override: o
|
|
2843
2872
|
};
|
|
2844
|
-
return a =
|
|
2873
|
+
return a = Gl(a), i && Object.entries(i).forEach(([l, s]) => {
|
|
2845
2874
|
const { theme: c, ...f } = s;
|
|
2846
2875
|
let d = f;
|
|
2847
2876
|
c && (d = si(
|
|
@@ -2856,40 +2885,40 @@ const bs = Ha(xo.defaultAlgorithm), Ss = {
|
|
|
2856
2885
|
)), a[l] = d;
|
|
2857
2886
|
}), a;
|
|
2858
2887
|
};
|
|
2859
|
-
function
|
|
2888
|
+
function xs() {
|
|
2860
2889
|
const {
|
|
2861
2890
|
token: e,
|
|
2862
2891
|
hashed: t,
|
|
2863
2892
|
// @ts-expect-error
|
|
2864
|
-
theme: n =
|
|
2893
|
+
theme: n = Ss,
|
|
2865
2894
|
// @ts-expect-error
|
|
2866
2895
|
override: r,
|
|
2867
2896
|
// @ts-expect-error
|
|
2868
2897
|
cssVar: o
|
|
2869
|
-
} = O(
|
|
2898
|
+
} = O(bs()), [
|
|
2870
2899
|
i,
|
|
2871
2900
|
a,
|
|
2872
2901
|
// @ts-expect-error
|
|
2873
2902
|
l
|
|
2874
|
-
] = O(
|
|
2875
|
-
|
|
2876
|
-
|
|
2877
|
-
|
|
2878
|
-
salt: `${
|
|
2903
|
+
] = O(qa(
|
|
2904
|
+
B(n),
|
|
2905
|
+
B([xo.defaultSeed, e]),
|
|
2906
|
+
B({
|
|
2907
|
+
salt: `${Ul}-${t || ""}`,
|
|
2879
2908
|
override: r,
|
|
2880
2909
|
getComputedToken: si,
|
|
2881
2910
|
cssVar: o && {
|
|
2882
2911
|
prefix: o.prefix,
|
|
2883
2912
|
key: o.key,
|
|
2884
2913
|
unitless: Hl,
|
|
2885
|
-
ignore:
|
|
2886
|
-
preserve:
|
|
2914
|
+
ignore: Il,
|
|
2915
|
+
preserve: Cs
|
|
2887
2916
|
}
|
|
2888
2917
|
})
|
|
2889
2918
|
));
|
|
2890
2919
|
return [n, l, t ? a : "", i, o];
|
|
2891
2920
|
}
|
|
2892
|
-
const { genStyleHooks: we, genComponentStyleHook:
|
|
2921
|
+
const { genStyleHooks: we, genComponentStyleHook: Bd, genSubStyleComponent: Ld } = Ml({
|
|
2893
2922
|
usePrefix: () => {
|
|
2894
2923
|
const { getPrefixCls: e, iconPrefixCls: t } = _();
|
|
2895
2924
|
return {
|
|
@@ -2898,7 +2927,7 @@ const { genStyleHooks: we, genComponentStyleHook: Rd, genSubStyleComponent: Ld }
|
|
|
2898
2927
|
};
|
|
2899
2928
|
},
|
|
2900
2929
|
useToken: () => {
|
|
2901
|
-
const [e, t, n, r, o] =
|
|
2930
|
+
const [e, t, n, r, o] = xs();
|
|
2902
2931
|
return { theme: e, realToken: t, hashId: n, token: r, cssVar: o };
|
|
2903
2932
|
},
|
|
2904
2933
|
useCSP: () => {
|
|
@@ -2909,7 +2938,7 @@ const { genStyleHooks: we, genComponentStyleHook: Rd, genSubStyleComponent: Ld }
|
|
|
2909
2938
|
name: "antdx",
|
|
2910
2939
|
dependencies: ["antd"]
|
|
2911
2940
|
}
|
|
2912
|
-
}),
|
|
2941
|
+
}), $s = (e) => {
|
|
2913
2942
|
const { componentCls: t, paddingSM: n, padding: r } = e;
|
|
2914
2943
|
return {
|
|
2915
2944
|
[t]: {
|
|
@@ -2934,7 +2963,7 @@ const { genStyleHooks: we, genComponentStyleHook: Rd, genSubStyleComponent: Ld }
|
|
|
2934
2963
|
}
|
|
2935
2964
|
}
|
|
2936
2965
|
};
|
|
2937
|
-
},
|
|
2966
|
+
}, ws = (e) => {
|
|
2938
2967
|
const { componentCls: t, fontSize: n, lineHeight: r, paddingSM: o, padding: i, calc: a } = e, l = a(n).mul(r).div(2).add(o).equal(), s = `${t}-content`;
|
|
2939
2968
|
return {
|
|
2940
2969
|
[t]: {
|
|
@@ -2957,7 +2986,7 @@ const { genStyleHooks: we, genComponentStyleHook: Rd, genSubStyleComponent: Ld }
|
|
|
2957
2986
|
}
|
|
2958
2987
|
}
|
|
2959
2988
|
};
|
|
2960
|
-
},
|
|
2989
|
+
}, Ts = (e) => {
|
|
2961
2990
|
const { componentCls: t, padding: n } = e;
|
|
2962
2991
|
return {
|
|
2963
2992
|
[`${t}-list`]: {
|
|
@@ -2967,7 +2996,7 @@ const { genStyleHooks: we, genComponentStyleHook: Rd, genSubStyleComponent: Ld }
|
|
|
2967
2996
|
overflowY: "auto"
|
|
2968
2997
|
}
|
|
2969
2998
|
};
|
|
2970
|
-
},
|
|
2999
|
+
}, Os = new Qo("loadingMove", {
|
|
2971
3000
|
"0%": {
|
|
2972
3001
|
transform: "translateY(0)"
|
|
2973
3002
|
},
|
|
@@ -2983,7 +3012,7 @@ const { genStyleHooks: we, genComponentStyleHook: Rd, genSubStyleComponent: Ld }
|
|
|
2983
3012
|
"40%": {
|
|
2984
3013
|
transform: "translateY(0)"
|
|
2985
3014
|
}
|
|
2986
|
-
}),
|
|
3015
|
+
}), As = new Qo("cursorBlink", {
|
|
2987
3016
|
"0%": {
|
|
2988
3017
|
opacity: 1
|
|
2989
3018
|
},
|
|
@@ -2993,7 +3022,7 @@ const { genStyleHooks: we, genComponentStyleHook: Rd, genSubStyleComponent: Ld }
|
|
|
2993
3022
|
"100%": {
|
|
2994
3023
|
opacity: 1
|
|
2995
3024
|
}
|
|
2996
|
-
}),
|
|
3025
|
+
}), Ps = (e) => {
|
|
2997
3026
|
const { componentCls: t, fontSize: n, lineHeight: r, paddingSM: o, colorText: i, calc: a } = e;
|
|
2998
3027
|
return {
|
|
2999
3028
|
[t]: {
|
|
@@ -3015,7 +3044,7 @@ const { genStyleHooks: we, genComponentStyleHook: Rd, genSubStyleComponent: Ld }
|
|
|
3015
3044
|
userSelect: "none",
|
|
3016
3045
|
opacity: 1,
|
|
3017
3046
|
marginInlineStart: "0.1em",
|
|
3018
|
-
animationName:
|
|
3047
|
+
animationName: As,
|
|
3019
3048
|
animationDuration: "0.8s",
|
|
3020
3049
|
animationIterationCount: "infinite",
|
|
3021
3050
|
animationTimingFunction: "linear"
|
|
@@ -3069,7 +3098,7 @@ const { genStyleHooks: we, genComponentStyleHook: Rd, genSubStyleComponent: Ld }
|
|
|
3069
3098
|
borderRadius: "100%",
|
|
3070
3099
|
width: 4,
|
|
3071
3100
|
height: 4,
|
|
3072
|
-
animationName:
|
|
3101
|
+
animationName: Os,
|
|
3073
3102
|
animationDuration: "2s",
|
|
3074
3103
|
animationIterationCount: "infinite",
|
|
3075
3104
|
animationTimingFunction: "linear",
|
|
@@ -3087,19 +3116,19 @@ const { genStyleHooks: we, genComponentStyleHook: Rd, genSubStyleComponent: Ld }
|
|
|
3087
3116
|
}
|
|
3088
3117
|
}
|
|
3089
3118
|
};
|
|
3090
|
-
},
|
|
3119
|
+
}, Es = () => ({}), ci = we(
|
|
3091
3120
|
"Bubble",
|
|
3092
3121
|
(e) => {
|
|
3093
3122
|
const t = he(e, {});
|
|
3094
3123
|
return [
|
|
3095
|
-
|
|
3096
|
-
|
|
3097
|
-
|
|
3098
|
-
|
|
3124
|
+
Ps(t),
|
|
3125
|
+
Ts(t),
|
|
3126
|
+
$s(t),
|
|
3127
|
+
ws(t)
|
|
3099
3128
|
];
|
|
3100
3129
|
},
|
|
3101
|
-
|
|
3102
|
-
), ui = Symbol("BubbleContext"), Sn = J(),
|
|
3130
|
+
Es
|
|
3131
|
+
), ui = Symbol("BubbleContext"), Sn = J(), Ms = (e) => {
|
|
3103
3132
|
fe(ui, e), R(
|
|
3104
3133
|
e,
|
|
3105
3134
|
() => {
|
|
@@ -3107,20 +3136,20 @@ const { genStyleHooks: we, genComponentStyleHook: Rd, genSubStyleComponent: Ld }
|
|
|
3107
3136
|
},
|
|
3108
3137
|
{ immediate: !0, deep: !0 }
|
|
3109
3138
|
);
|
|
3110
|
-
},
|
|
3139
|
+
}, Is = () => ne(
|
|
3111
3140
|
ui,
|
|
3112
3141
|
h(() => Sn.value || {})
|
|
3113
|
-
), Hs =
|
|
3142
|
+
), Hs = H({
|
|
3114
3143
|
props: {
|
|
3115
3144
|
value: be()
|
|
3116
3145
|
},
|
|
3117
3146
|
setup(e, { slots: t }) {
|
|
3118
|
-
return
|
|
3147
|
+
return Ms(h(() => e.value)), () => {
|
|
3119
3148
|
var n;
|
|
3120
3149
|
return (n = t.default) == null ? void 0 : n.call(t);
|
|
3121
3150
|
};
|
|
3122
3151
|
}
|
|
3123
|
-
}),
|
|
3152
|
+
}), di = /* @__PURE__ */ H({
|
|
3124
3153
|
name: "AXBubble",
|
|
3125
3154
|
__name: "Bubble",
|
|
3126
3155
|
props: le({
|
|
@@ -3161,16 +3190,16 @@ const { genStyleHooks: we, genComponentStyleHook: Rd, genSubStyleComponent: Ld }
|
|
|
3161
3190
|
}) {
|
|
3162
3191
|
const n = se(e, ["prefixCls", "rootClassName", "classNames", "styles", "avatar", "placement", "loading", "loadingRender", "typing", "content", "messageRender", "variant", "shape", "onTypingComplete", "header", "footer"]);
|
|
3163
3192
|
G(e, "content"), G(e, "prefixCls");
|
|
3164
|
-
const r =
|
|
3193
|
+
const r = B(e.content);
|
|
3165
3194
|
R(() => e.content, () => {
|
|
3166
3195
|
r.value = e.content;
|
|
3167
3196
|
});
|
|
3168
3197
|
const {
|
|
3169
3198
|
onUpdate: o
|
|
3170
|
-
} = O(
|
|
3199
|
+
} = O(Is()), i = B(null), {
|
|
3171
3200
|
direction: a,
|
|
3172
3201
|
getPrefixCls: l
|
|
3173
|
-
} = _(), s = l("bubble", e.prefixCls), c = $e("bubble"), [f, d, g, v] =
|
|
3202
|
+
} = _(), s = l("bubble", e.prefixCls), c = $e("bubble"), [f, d, g, v] = ca(() => e.typing), [p, m] = sa(r, f, d, g), b = B(!1);
|
|
3174
3203
|
R(p, () => {
|
|
3175
3204
|
o == null || o();
|
|
3176
3205
|
}), ke(() => {
|
|
@@ -3181,7 +3210,7 @@ const { genStyleHooks: we, genComponentStyleHook: Rd, genSubStyleComponent: Ld }
|
|
|
3181
3210
|
[`${s}-rtl`]: a.value === "rtl"
|
|
3182
3211
|
}, {
|
|
3183
3212
|
[`${s}-typing`]: m.value && !e.loading && !e.messageRender && !v.value
|
|
3184
|
-
}]), T = h(() =>
|
|
3213
|
+
}]), T = h(() => In(e.avatar) ? e.avatar : u($o, e.avatar, null)), w = h(() => e.messageRender ? e.messageRender(p.value) : p.value), y = h(() => e.loading ? e.loadingRender ? e.loadingRender() : u(ua, {
|
|
3185
3214
|
prefixCls: s
|
|
3186
3215
|
}, null) : u(De, null, [w.value, m.value && F(v)])), M = h(() => {
|
|
3187
3216
|
const P = u("div", {
|
|
@@ -3231,7 +3260,7 @@ const { genStyleHooks: we, genComponentStyleHook: Rd, genSubStyleComponent: Ld }
|
|
|
3231
3260
|
function Ns(e) {
|
|
3232
3261
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
3233
3262
|
}
|
|
3234
|
-
var
|
|
3263
|
+
var fi = { exports: {} };
|
|
3235
3264
|
/*!
|
|
3236
3265
|
Copyright (c) 2018 Jed Watson.
|
|
3237
3266
|
Licensed under the MIT License (MIT), see
|
|
@@ -3266,16 +3295,16 @@ var di = { exports: {} };
|
|
|
3266
3295
|
}
|
|
3267
3296
|
e.exports ? (n.default = n, e.exports = n) : window.classNames = n;
|
|
3268
3297
|
})();
|
|
3269
|
-
})(
|
|
3270
|
-
var Rs =
|
|
3298
|
+
})(fi);
|
|
3299
|
+
var Rs = fi.exports;
|
|
3271
3300
|
const A = /* @__PURE__ */ Ns(Rs);
|
|
3272
3301
|
function lt(e) {
|
|
3273
|
-
const t =
|
|
3302
|
+
const t = B(e), n = B((r) => {
|
|
3274
3303
|
t.value && t.value(r);
|
|
3275
3304
|
});
|
|
3276
3305
|
return t.value = e, n.value;
|
|
3277
3306
|
}
|
|
3278
|
-
const
|
|
3307
|
+
const Bs = `accept acceptcharset accesskey action allowfullscreen allowtransparency
|
|
3279
3308
|
alt async autocomplete autofocus autoplay capture cellpadding cellspacing challenge
|
|
3280
3309
|
charset checked classid class colspan cols content contenteditable contextmenu
|
|
3281
3310
|
controls coords crossorigin data datetime default defer dir disabled download draggable
|
|
@@ -3286,14 +3315,14 @@ mediagroup method min minlength multiple muted name novalidate nonce open
|
|
|
3286
3315
|
optimum pattern placeholder poster preload radiogroup readonly rel required
|
|
3287
3316
|
reversed role rowspan rows sandbox scope scoped scrolling seamless selected
|
|
3288
3317
|
shape size sizes span spellcheck src srcdoc srclang srcset start step style
|
|
3289
|
-
summary tabindex target title type usemap value width wmode wrap`,
|
|
3318
|
+
summary tabindex target title type usemap value width wmode wrap`, Ls = `onCopy onCut onPaste onCompositionend onCompositionstart onCompositionupdate onKeydown
|
|
3290
3319
|
onKeypress onKeyup onFocus onBlur onChange onInput onSubmit onClick onContextmenu onDoubleclick onDblclick
|
|
3291
3320
|
onDrag onDragend onDragenter onDragexit onDragleave onDragover onDragstart onDrop onMousedown
|
|
3292
3321
|
onMouseenter onMouseleave onMousemove onMouseout onMouseover onMouseup onSelect onTouchcancel
|
|
3293
3322
|
onTouchend onTouchmove onTouchstart onTouchstartPassive onTouchmovePassive onScroll onWheel onAbort onCanplay onCanplaythrough
|
|
3294
3323
|
onDurationchange onEmptied onEncrypted onEnded onError onLoadeddata onLoadedmetadata
|
|
3295
|
-
onLoadstart onPause onPlay onPlaying onProgress onRatechange onSeeked onSeeking onStalled onSuspend onTimeupdate onVolumechange onWaiting onLoad onError`,
|
|
3296
|
-
function
|
|
3324
|
+
onLoadstart onPause onPlay onPlaying onProgress onRatechange onSeeked onSeeking onStalled onSuspend onTimeupdate onVolumechange onWaiting onLoad onError`, Br = `${Bs} ${Ls}`.split(/[\s\n]+/), zs = "aria-", js = "data-";
|
|
3325
|
+
function Lr(e, t) {
|
|
3297
3326
|
return e.indexOf(t) === 0;
|
|
3298
3327
|
}
|
|
3299
3328
|
function qe(e, t = !1) {
|
|
@@ -3310,9 +3339,9 @@ function qe(e, t = !1) {
|
|
|
3310
3339
|
const r = {};
|
|
3311
3340
|
return Object.keys(e).forEach((o) => {
|
|
3312
3341
|
// Aria
|
|
3313
|
-
(n.aria && (o === "role" ||
|
|
3314
|
-
n.data &&
|
|
3315
|
-
n.attr && (
|
|
3342
|
+
(n.aria && (o === "role" || Lr(o, zs)) || // Data
|
|
3343
|
+
n.data && Lr(o, js) || // Attr
|
|
3344
|
+
n.attr && (Br.includes(o) || Br.includes(o.toLowerCase()))) && (r[o] = e[o]);
|
|
3316
3345
|
}), r;
|
|
3317
3346
|
}
|
|
3318
3347
|
function Ds(e) {
|
|
@@ -3356,7 +3385,7 @@ function Fs(e, t) {
|
|
|
3356
3385
|
};
|
|
3357
3386
|
}));
|
|
3358
3387
|
}
|
|
3359
|
-
const Xs = 1,
|
|
3388
|
+
const Xs = 1, Vs = /* @__PURE__ */ H({
|
|
3360
3389
|
name: "AXBubbleList",
|
|
3361
3390
|
inheritAttrs: !1,
|
|
3362
3391
|
__name: "BubbleList",
|
|
@@ -3378,14 +3407,14 @@ const Xs = 1, Bd = /* @__PURE__ */ I({
|
|
|
3378
3407
|
}) {
|
|
3379
3408
|
const n = se(e, ["prefixCls", "rootClassName", "items", "autoScroll", "roles"]);
|
|
3380
3409
|
G(e, "items"), G(e, "prefixCls");
|
|
3381
|
-
const r =
|
|
3410
|
+
const r = Bi(), o = qe(q(n, r), {
|
|
3382
3411
|
attr: !0,
|
|
3383
3412
|
aria: !0
|
|
3384
|
-
}), i =
|
|
3413
|
+
}), i = B(e.items);
|
|
3385
3414
|
R(() => e.items, () => {
|
|
3386
3415
|
i.value = e.items;
|
|
3387
3416
|
});
|
|
3388
|
-
const a =
|
|
3417
|
+
const a = B(null), l = B({}), {
|
|
3389
3418
|
getPrefixCls: s
|
|
3390
3419
|
} = _(), c = s("bubble", e.prefixCls), f = `${c}-list`, [d, g, v] = ci(c), [p, m] = k(!1);
|
|
3391
3420
|
ke(() => {
|
|
@@ -3409,13 +3438,13 @@ const Xs = 1, Bd = /* @__PURE__ */ I({
|
|
|
3409
3438
|
const {
|
|
3410
3439
|
nativeElement: j
|
|
3411
3440
|
} = X, {
|
|
3412
|
-
top:
|
|
3441
|
+
top: L,
|
|
3413
3442
|
bottom: Z
|
|
3414
3443
|
} = j.getBoundingClientRect(), {
|
|
3415
3444
|
top: re,
|
|
3416
3445
|
bottom: Ne
|
|
3417
3446
|
} = O(a).getBoundingClientRect();
|
|
3418
|
-
|
|
3447
|
+
L < Ne && Z > re && (w(O(T) + 1), x(!0));
|
|
3419
3448
|
}
|
|
3420
3449
|
}
|
|
3421
3450
|
});
|
|
@@ -3438,10 +3467,10 @@ const Xs = 1, Bd = /* @__PURE__ */ I({
|
|
|
3438
3467
|
behavior: X
|
|
3439
3468
|
});
|
|
3440
3469
|
else if (E !== void 0) {
|
|
3441
|
-
const
|
|
3442
|
-
if (
|
|
3470
|
+
const L = O(l)[E];
|
|
3471
|
+
if (L) {
|
|
3443
3472
|
const Z = O(S).findIndex((re) => re.key === E);
|
|
3444
|
-
x(Z === O(S).length - 1),
|
|
3473
|
+
x(Z === O(S).length - 1), L.nativeElement.scrollIntoView({
|
|
3445
3474
|
behavior: X,
|
|
3446
3475
|
block: j
|
|
3447
3476
|
});
|
|
@@ -3460,7 +3489,7 @@ const Xs = 1, Bd = /* @__PURE__ */ I({
|
|
|
3460
3489
|
}), [O(S).map(({
|
|
3461
3490
|
key: E,
|
|
3462
3491
|
...N
|
|
3463
|
-
}) => u(
|
|
3492
|
+
}) => u(di, q(N, {
|
|
3464
3493
|
key: E,
|
|
3465
3494
|
ref: (X) => {
|
|
3466
3495
|
X ? l.value[E] = X : delete l.value[E];
|
|
@@ -3473,24 +3502,26 @@ const Xs = 1, Bd = /* @__PURE__ */ I({
|
|
|
3473
3502
|
}), null))])]
|
|
3474
3503
|
}));
|
|
3475
3504
|
}
|
|
3505
|
+
}), zd = Object.assign(di, {
|
|
3506
|
+
List: Vs
|
|
3476
3507
|
});
|
|
3477
|
-
var
|
|
3478
|
-
return ne(
|
|
3479
|
-
prefixCls:
|
|
3480
|
-
rootClassName:
|
|
3481
|
-
csp:
|
|
3508
|
+
var Ws = Symbol("iconContext"), hi = function() {
|
|
3509
|
+
return ne(Ws, {
|
|
3510
|
+
prefixCls: B("anticon"),
|
|
3511
|
+
rootClassName: B(""),
|
|
3512
|
+
csp: B()
|
|
3482
3513
|
});
|
|
3483
3514
|
};
|
|
3484
3515
|
function jn() {
|
|
3485
3516
|
return !!(typeof window < "u" && window.document && window.document.createElement);
|
|
3486
3517
|
}
|
|
3487
|
-
function
|
|
3518
|
+
function ks(e, t) {
|
|
3488
3519
|
return e && e.contains ? e.contains(t) : !1;
|
|
3489
3520
|
}
|
|
3490
|
-
var zr = "data-vc-order",
|
|
3491
|
-
function
|
|
3521
|
+
var zr = "data-vc-order", Gs = "vc-icon-key", Cn = /* @__PURE__ */ new Map();
|
|
3522
|
+
function gi() {
|
|
3492
3523
|
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = e.mark;
|
|
3493
|
-
return t ? t.startsWith("data-") ? t : "data-".concat(t) :
|
|
3524
|
+
return t ? t.startsWith("data-") ? t : "data-".concat(t) : Gs;
|
|
3494
3525
|
}
|
|
3495
3526
|
function Dn(e) {
|
|
3496
3527
|
if (e.attachTo)
|
|
@@ -3498,24 +3529,24 @@ function Dn(e) {
|
|
|
3498
3529
|
var t = document.querySelector("head");
|
|
3499
3530
|
return t || document.body;
|
|
3500
3531
|
}
|
|
3501
|
-
function
|
|
3532
|
+
function Us(e) {
|
|
3502
3533
|
return e === "queue" ? "prependQueue" : e ? "prepend" : "append";
|
|
3503
3534
|
}
|
|
3504
|
-
function
|
|
3535
|
+
function mi(e) {
|
|
3505
3536
|
return Array.from((Cn.get(e) || e).children).filter(function(t) {
|
|
3506
3537
|
return t.tagName === "STYLE";
|
|
3507
3538
|
});
|
|
3508
3539
|
}
|
|
3509
|
-
function
|
|
3540
|
+
function pi(e) {
|
|
3510
3541
|
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
3511
3542
|
if (!jn())
|
|
3512
3543
|
return null;
|
|
3513
3544
|
var n = t.csp, r = t.prepend, o = document.createElement("style");
|
|
3514
|
-
o.setAttribute(zr,
|
|
3545
|
+
o.setAttribute(zr, Us(r)), n && n.nonce && (o.nonce = n.nonce), o.innerHTML = e;
|
|
3515
3546
|
var i = Dn(t), a = i.firstChild;
|
|
3516
3547
|
if (r) {
|
|
3517
3548
|
if (r === "queue") {
|
|
3518
|
-
var l =
|
|
3549
|
+
var l = mi(i).filter(function(s) {
|
|
3519
3550
|
return ["prepend", "prependQueue"].includes(s.getAttribute(zr));
|
|
3520
3551
|
});
|
|
3521
3552
|
if (l.length)
|
|
@@ -3526,27 +3557,27 @@ function mi(e) {
|
|
|
3526
3557
|
i.appendChild(o);
|
|
3527
3558
|
return o;
|
|
3528
3559
|
}
|
|
3529
|
-
function
|
|
3560
|
+
function qs(e) {
|
|
3530
3561
|
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = Dn(t);
|
|
3531
|
-
return
|
|
3532
|
-
return r.getAttribute(
|
|
3562
|
+
return mi(n).find(function(r) {
|
|
3563
|
+
return r.getAttribute(gi(t)) === e;
|
|
3533
3564
|
});
|
|
3534
3565
|
}
|
|
3535
|
-
function
|
|
3566
|
+
function Ks(e, t) {
|
|
3536
3567
|
var n = Cn.get(e);
|
|
3537
|
-
if (!n || !
|
|
3538
|
-
var r =
|
|
3568
|
+
if (!n || !ks(document, n)) {
|
|
3569
|
+
var r = pi("", t), o = r.parentNode;
|
|
3539
3570
|
Cn.set(e, o), e.removeChild(r);
|
|
3540
3571
|
}
|
|
3541
3572
|
}
|
|
3542
|
-
function
|
|
3573
|
+
function Zs(e, t) {
|
|
3543
3574
|
var n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, r = Dn(n);
|
|
3544
|
-
|
|
3545
|
-
var o =
|
|
3575
|
+
Ks(r, n);
|
|
3576
|
+
var o = qs(t, n);
|
|
3546
3577
|
if (o)
|
|
3547
3578
|
return n.csp && n.csp.nonce && o.nonce !== n.csp.nonce && (o.nonce = n.csp.nonce), o.innerHTML !== e && (o.innerHTML = e), o;
|
|
3548
|
-
var i =
|
|
3549
|
-
return i.setAttribute(
|
|
3579
|
+
var i = pi(e, n);
|
|
3580
|
+
return i.setAttribute(gi(n), t), i;
|
|
3550
3581
|
}
|
|
3551
3582
|
function jr(e) {
|
|
3552
3583
|
for (var t = 1; t < arguments.length; t++) {
|
|
@@ -3554,19 +3585,19 @@ function jr(e) {
|
|
|
3554
3585
|
typeof Object.getOwnPropertySymbols == "function" && (r = r.concat(Object.getOwnPropertySymbols(n).filter(function(o) {
|
|
3555
3586
|
return Object.getOwnPropertyDescriptor(n, o).enumerable;
|
|
3556
3587
|
}))), r.forEach(function(o) {
|
|
3557
|
-
|
|
3588
|
+
Ys(e, o, n[o]);
|
|
3558
3589
|
});
|
|
3559
3590
|
}
|
|
3560
3591
|
return e;
|
|
3561
3592
|
}
|
|
3562
|
-
function
|
|
3593
|
+
function Ys(e, t, n) {
|
|
3563
3594
|
return t in e ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = n, e;
|
|
3564
3595
|
}
|
|
3565
|
-
function
|
|
3596
|
+
function Qs(e, t) {
|
|
3566
3597
|
process.env.NODE_ENV !== "production" && !e && console !== void 0 && console.error("Warning: ".concat(t));
|
|
3567
3598
|
}
|
|
3568
|
-
function
|
|
3569
|
-
|
|
3599
|
+
function Js(e, t) {
|
|
3600
|
+
Qs(e, "[@ant-design/icons-vue] ".concat(t));
|
|
3570
3601
|
}
|
|
3571
3602
|
function Dr(e) {
|
|
3572
3603
|
return typeof e == "object" && typeof e.name == "string" && typeof e.theme == "string" && (typeof e.icon == "object" || typeof e.icon == "function");
|
|
@@ -3582,13 +3613,13 @@ function xn(e, t, n) {
|
|
|
3582
3613
|
return xn(r, "".concat(t, "-").concat(e.tag, "-").concat(o));
|
|
3583
3614
|
}));
|
|
3584
3615
|
}
|
|
3585
|
-
function
|
|
3616
|
+
function vi(e) {
|
|
3586
3617
|
return at(e)[0];
|
|
3587
3618
|
}
|
|
3588
|
-
function
|
|
3619
|
+
function yi(e) {
|
|
3589
3620
|
return e ? Array.isArray(e) ? e : [e] : [];
|
|
3590
3621
|
}
|
|
3591
|
-
var
|
|
3622
|
+
var _s = `
|
|
3592
3623
|
.anticon {
|
|
3593
3624
|
display: inline-block;
|
|
3594
3625
|
color: inherit;
|
|
@@ -3643,31 +3674,31 @@ var Js = `
|
|
|
3643
3674
|
}
|
|
3644
3675
|
}
|
|
3645
3676
|
`;
|
|
3646
|
-
function
|
|
3677
|
+
function bi(e) {
|
|
3647
3678
|
return e && e.getRootNode && e.getRootNode();
|
|
3648
3679
|
}
|
|
3649
|
-
function _s(e) {
|
|
3650
|
-
return jn() ? yi(e) instanceof ShadowRoot : !1;
|
|
3651
|
-
}
|
|
3652
3680
|
function ec(e) {
|
|
3653
|
-
return
|
|
3681
|
+
return jn() ? bi(e) instanceof ShadowRoot : !1;
|
|
3682
|
+
}
|
|
3683
|
+
function tc(e) {
|
|
3684
|
+
return ec(e) ? bi(e) : null;
|
|
3654
3685
|
}
|
|
3655
|
-
var
|
|
3656
|
-
var t =
|
|
3686
|
+
var nc = function() {
|
|
3687
|
+
var t = hi(), n = t.prefixCls, r = t.csp, o = yo(), i = _s;
|
|
3657
3688
|
n && (i = i.replace(/anticon/g, n.value)), Li(function() {
|
|
3658
3689
|
if (jn()) {
|
|
3659
|
-
var a = o.vnode.el, l =
|
|
3660
|
-
|
|
3690
|
+
var a = o.vnode.el, l = tc(a);
|
|
3691
|
+
Zs(i, "@ant-design-vue-icons", {
|
|
3661
3692
|
prepend: !0,
|
|
3662
3693
|
csp: r.value,
|
|
3663
3694
|
attachTo: l
|
|
3664
3695
|
});
|
|
3665
3696
|
}
|
|
3666
3697
|
});
|
|
3667
|
-
},
|
|
3668
|
-
function
|
|
3698
|
+
}, rc = ["icon", "primaryColor", "secondaryColor"];
|
|
3699
|
+
function oc(e, t) {
|
|
3669
3700
|
if (e == null) return {};
|
|
3670
|
-
var n =
|
|
3701
|
+
var n = ic(e, t), r, o;
|
|
3671
3702
|
if (Object.getOwnPropertySymbols) {
|
|
3672
3703
|
var i = Object.getOwnPropertySymbols(e);
|
|
3673
3704
|
for (o = 0; o < i.length; o++)
|
|
@@ -3675,7 +3706,7 @@ function rc(e, t) {
|
|
|
3675
3706
|
}
|
|
3676
3707
|
return n;
|
|
3677
3708
|
}
|
|
3678
|
-
function
|
|
3709
|
+
function ic(e, t) {
|
|
3679
3710
|
if (e == null) return {};
|
|
3680
3711
|
var n = {}, r = Object.keys(e), o, i;
|
|
3681
3712
|
for (i = 0; i < r.length; i++)
|
|
@@ -3688,32 +3719,32 @@ function At(e) {
|
|
|
3688
3719
|
typeof Object.getOwnPropertySymbols == "function" && (r = r.concat(Object.getOwnPropertySymbols(n).filter(function(o) {
|
|
3689
3720
|
return Object.getOwnPropertyDescriptor(n, o).enumerable;
|
|
3690
3721
|
}))), r.forEach(function(o) {
|
|
3691
|
-
|
|
3722
|
+
ac(e, o, n[o]);
|
|
3692
3723
|
});
|
|
3693
3724
|
}
|
|
3694
3725
|
return e;
|
|
3695
3726
|
}
|
|
3696
|
-
function
|
|
3727
|
+
function ac(e, t, n) {
|
|
3697
3728
|
return t in e ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = n, e;
|
|
3698
3729
|
}
|
|
3699
|
-
var nt =
|
|
3730
|
+
var nt = zi({
|
|
3700
3731
|
primaryColor: "#333",
|
|
3701
3732
|
secondaryColor: "#E6E6E6",
|
|
3702
3733
|
calculated: !1
|
|
3703
3734
|
});
|
|
3704
|
-
function
|
|
3735
|
+
function lc(e) {
|
|
3705
3736
|
var t = e.primaryColor, n = e.secondaryColor;
|
|
3706
|
-
nt.primaryColor = t, nt.secondaryColor = n ||
|
|
3737
|
+
nt.primaryColor = t, nt.secondaryColor = n || vi(t), nt.calculated = !!n;
|
|
3707
3738
|
}
|
|
3708
|
-
function
|
|
3739
|
+
function sc() {
|
|
3709
3740
|
return At({}, nt);
|
|
3710
3741
|
}
|
|
3711
3742
|
var Te = function(t, n) {
|
|
3712
|
-
var r = At({}, t, n.attrs), o = r.icon, i = r.primaryColor, a = r.secondaryColor, l =
|
|
3743
|
+
var r = At({}, t, n.attrs), o = r.icon, i = r.primaryColor, a = r.secondaryColor, l = oc(r, rc), s = nt;
|
|
3713
3744
|
if (i && (s = {
|
|
3714
3745
|
primaryColor: i,
|
|
3715
|
-
secondaryColor: a ||
|
|
3716
|
-
}),
|
|
3746
|
+
secondaryColor: a || vi(i)
|
|
3747
|
+
}), Js(Dr(o), "icon should be icon definiton, but got ".concat(o)), !Dr(o))
|
|
3717
3748
|
return null;
|
|
3718
3749
|
var c = o;
|
|
3719
3750
|
return c && typeof c.icon == "function" && (c = At({}, c, {
|
|
@@ -3734,16 +3765,16 @@ Te.props = {
|
|
|
3734
3765
|
};
|
|
3735
3766
|
Te.inheritAttrs = !1;
|
|
3736
3767
|
Te.displayName = "IconBase";
|
|
3737
|
-
Te.getTwoToneColors =
|
|
3738
|
-
Te.setTwoToneColors =
|
|
3739
|
-
function
|
|
3740
|
-
return
|
|
3768
|
+
Te.getTwoToneColors = sc;
|
|
3769
|
+
Te.setTwoToneColors = lc;
|
|
3770
|
+
function cc(e, t) {
|
|
3771
|
+
return hc(e) || fc(e, t) || dc(e, t) || uc();
|
|
3741
3772
|
}
|
|
3742
|
-
function
|
|
3773
|
+
function uc() {
|
|
3743
3774
|
throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
3744
3775
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
3745
3776
|
}
|
|
3746
|
-
function
|
|
3777
|
+
function dc(e, t) {
|
|
3747
3778
|
if (e) {
|
|
3748
3779
|
if (typeof e == "string") return Fr(e, t);
|
|
3749
3780
|
var n = Object.prototype.toString.call(e).slice(8, -1);
|
|
@@ -3757,7 +3788,7 @@ function Fr(e, t) {
|
|
|
3757
3788
|
r[n] = e[n];
|
|
3758
3789
|
return r;
|
|
3759
3790
|
}
|
|
3760
|
-
function
|
|
3791
|
+
function fc(e, t) {
|
|
3761
3792
|
var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
|
|
3762
3793
|
if (n != null) {
|
|
3763
3794
|
var r = [], o = !0, i = !1, a, l;
|
|
@@ -3776,36 +3807,36 @@ function dc(e, t) {
|
|
|
3776
3807
|
return r;
|
|
3777
3808
|
}
|
|
3778
3809
|
}
|
|
3779
|
-
function
|
|
3810
|
+
function hc(e) {
|
|
3780
3811
|
if (Array.isArray(e)) return e;
|
|
3781
3812
|
}
|
|
3782
|
-
function
|
|
3783
|
-
var t =
|
|
3813
|
+
function Si(e) {
|
|
3814
|
+
var t = yi(e), n = cc(t, 2), r = n[0], o = n[1];
|
|
3784
3815
|
return Te.setTwoToneColors({
|
|
3785
3816
|
primaryColor: r,
|
|
3786
3817
|
secondaryColor: o
|
|
3787
3818
|
});
|
|
3788
3819
|
}
|
|
3789
|
-
function
|
|
3820
|
+
function gc() {
|
|
3790
3821
|
var e = Te.getTwoToneColors();
|
|
3791
3822
|
return e.calculated ? [e.primaryColor, e.secondaryColor] : e.primaryColor;
|
|
3792
3823
|
}
|
|
3793
|
-
var
|
|
3824
|
+
var mc = H({
|
|
3794
3825
|
name: "InsertStyles",
|
|
3795
3826
|
setup: function() {
|
|
3796
|
-
return
|
|
3827
|
+
return nc(), function() {
|
|
3797
3828
|
return null;
|
|
3798
3829
|
};
|
|
3799
3830
|
}
|
|
3800
|
-
}),
|
|
3801
|
-
function
|
|
3802
|
-
return
|
|
3831
|
+
}), pc = ["class", "icon", "spin", "rotate", "tabindex", "twoToneColor", "onClick"];
|
|
3832
|
+
function vc(e, t) {
|
|
3833
|
+
return Cc(e) || Sc(e, t) || bc(e, t) || yc();
|
|
3803
3834
|
}
|
|
3804
|
-
function
|
|
3835
|
+
function yc() {
|
|
3805
3836
|
throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
3806
3837
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
3807
3838
|
}
|
|
3808
|
-
function
|
|
3839
|
+
function bc(e, t) {
|
|
3809
3840
|
if (e) {
|
|
3810
3841
|
if (typeof e == "string") return Xr(e, t);
|
|
3811
3842
|
var n = Object.prototype.toString.call(e).slice(8, -1);
|
|
@@ -3819,7 +3850,7 @@ function Xr(e, t) {
|
|
|
3819
3850
|
r[n] = e[n];
|
|
3820
3851
|
return r;
|
|
3821
3852
|
}
|
|
3822
|
-
function
|
|
3853
|
+
function Sc(e, t) {
|
|
3823
3854
|
var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
|
|
3824
3855
|
if (n != null) {
|
|
3825
3856
|
var r = [], o = !0, i = !1, a, l;
|
|
@@ -3838,7 +3869,7 @@ function bc(e, t) {
|
|
|
3838
3869
|
return r;
|
|
3839
3870
|
}
|
|
3840
3871
|
}
|
|
3841
|
-
function
|
|
3872
|
+
function Cc(e) {
|
|
3842
3873
|
if (Array.isArray(e)) return e;
|
|
3843
3874
|
}
|
|
3844
3875
|
function Vr(e) {
|
|
@@ -3855,9 +3886,9 @@ function Vr(e) {
|
|
|
3855
3886
|
function Je(e, t, n) {
|
|
3856
3887
|
return t in e ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = n, e;
|
|
3857
3888
|
}
|
|
3858
|
-
function
|
|
3889
|
+
function xc(e, t) {
|
|
3859
3890
|
if (e == null) return {};
|
|
3860
|
-
var n =
|
|
3891
|
+
var n = $c(e, t), r, o;
|
|
3861
3892
|
if (Object.getOwnPropertySymbols) {
|
|
3862
3893
|
var i = Object.getOwnPropertySymbols(e);
|
|
3863
3894
|
for (o = 0; o < i.length; o++)
|
|
@@ -3865,21 +3896,21 @@ function Cc(e, t) {
|
|
|
3865
3896
|
}
|
|
3866
3897
|
return n;
|
|
3867
3898
|
}
|
|
3868
|
-
function
|
|
3899
|
+
function $c(e, t) {
|
|
3869
3900
|
if (e == null) return {};
|
|
3870
3901
|
var n = {}, r = Object.keys(e), o, i;
|
|
3871
3902
|
for (i = 0; i < r.length; i++)
|
|
3872
3903
|
o = r[i], !(t.indexOf(o) >= 0) && (n[o] = e[o]);
|
|
3873
3904
|
return n;
|
|
3874
3905
|
}
|
|
3875
|
-
|
|
3906
|
+
Si(as.primary);
|
|
3876
3907
|
var z = function(t, n) {
|
|
3877
|
-
var r, o = Vr({}, t, n.attrs), i = o.class, a = o.icon, l = o.spin, s = o.rotate, c = o.tabindex, f = o.twoToneColor, d = o.onClick, g =
|
|
3908
|
+
var r, o = Vr({}, t, n.attrs), i = o.class, a = o.icon, l = o.spin, s = o.rotate, c = o.tabindex, f = o.twoToneColor, d = o.onClick, g = xc(o, pc), v = hi(), p = v.prefixCls, m = v.rootClassName, b = (r = {}, Je(r, m.value, !!m.value), Je(r, p.value, !0), Je(r, "".concat(p.value, "-").concat(a.name), !!a.name), Je(r, "".concat(p.value, "-spin"), !!l || a.name === "loading"), r), S = c;
|
|
3878
3909
|
S === void 0 && d && (S = -1);
|
|
3879
3910
|
var $ = s ? {
|
|
3880
3911
|
msTransform: "rotate(".concat(s, "deg)"),
|
|
3881
3912
|
transform: "rotate(".concat(s, "deg)")
|
|
3882
|
-
} : void 0, C =
|
|
3913
|
+
} : void 0, C = yi(f), x = vc(C, 2), T = x[0], w = x[1];
|
|
3883
3914
|
return u("span", Vr({
|
|
3884
3915
|
role: "img",
|
|
3885
3916
|
"aria-label": a.name
|
|
@@ -3892,7 +3923,7 @@ var z = function(t, n) {
|
|
|
3892
3923
|
primaryColor: T,
|
|
3893
3924
|
secondaryColor: w,
|
|
3894
3925
|
style: $
|
|
3895
|
-
}, null), u(
|
|
3926
|
+
}, null), u(mc, null, null)]);
|
|
3896
3927
|
};
|
|
3897
3928
|
z.props = {
|
|
3898
3929
|
spin: Boolean,
|
|
@@ -3902,96 +3933,96 @@ z.props = {
|
|
|
3902
3933
|
};
|
|
3903
3934
|
z.displayName = "AntdIcon";
|
|
3904
3935
|
z.inheritAttrs = !1;
|
|
3905
|
-
z.getTwoToneColor =
|
|
3906
|
-
z.setTwoToneColor =
|
|
3907
|
-
var
|
|
3936
|
+
z.getTwoToneColor = gc;
|
|
3937
|
+
z.setTwoToneColor = Si;
|
|
3938
|
+
var wc = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M868 545.5L536.1 163a31.96 31.96 0 00-48.3 0L156 545.5a7.97 7.97 0 006 13.2h81c4.6 0 9-2 12.1-5.5L474 300.9V864c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V300.9l218.9 252.3c3 3.5 7.4 5.5 12.1 5.5h81c6.8 0 10.5-8 6-13.2z" } }] }, name: "arrow-up", theme: "outlined" };
|
|
3908
3939
|
function Wr(e) {
|
|
3909
3940
|
for (var t = 1; t < arguments.length; t++) {
|
|
3910
3941
|
var n = arguments[t] != null ? Object(arguments[t]) : {}, r = Object.keys(n);
|
|
3911
3942
|
typeof Object.getOwnPropertySymbols == "function" && (r = r.concat(Object.getOwnPropertySymbols(n).filter(function(o) {
|
|
3912
3943
|
return Object.getOwnPropertyDescriptor(n, o).enumerable;
|
|
3913
3944
|
}))), r.forEach(function(o) {
|
|
3914
|
-
|
|
3945
|
+
Tc(e, o, n[o]);
|
|
3915
3946
|
});
|
|
3916
3947
|
}
|
|
3917
3948
|
return e;
|
|
3918
3949
|
}
|
|
3919
|
-
function
|
|
3950
|
+
function Tc(e, t, n) {
|
|
3920
3951
|
return t in e ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = n, e;
|
|
3921
3952
|
}
|
|
3922
3953
|
var Fn = function(t, n) {
|
|
3923
3954
|
var r = Wr({}, t, n.attrs);
|
|
3924
3955
|
return u(z, Wr({}, r, {
|
|
3925
|
-
icon:
|
|
3956
|
+
icon: wc
|
|
3926
3957
|
}), null);
|
|
3927
3958
|
};
|
|
3928
3959
|
Fn.displayName = "ArrowUpOutlined";
|
|
3929
3960
|
Fn.inheritAttrs = !1;
|
|
3930
|
-
var
|
|
3961
|
+
var Oc = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "defs", attrs: {}, children: [{ tag: "style", attrs: {} }] }, { tag: "path", attrs: { d: "M682 455V311l-76 76v68c-.1 50.7-42 92.1-94 92a95.8 95.8 0 01-52-15l-54 55c29.1 22.4 65.9 36 106 36 93.8 0 170-75.1 170-168z" } }, { tag: "path", attrs: { d: "M833 446h-60c-4.4 0-8 3.6-8 8 0 140.3-113.7 254-254 254-63 0-120.7-23-165-61l-54 54a334.01 334.01 0 00179 81v102H326c-13.9 0-24.9 14.3-25 32v36c.1 4.4 2.9 8 6 8h408c3.2 0 6-3.6 6-8v-36c0-17.7-11-32-25-32H547V782c165.3-17.9 294-157.9 294-328 0-4.4-3.6-8-8-8zm13.1-377.7l-43.5-41.9a8 8 0 00-11.2.1l-129 129C634.3 101.2 577 64 511 64c-93.9 0-170 75.3-170 168v224c0 6.7.4 13.3 1.2 19.8l-68 68A252.33 252.33 0 01258 454c-.2-4.4-3.8-8-8-8h-60c-4.4 0-8 3.6-8 8 0 53 12.5 103 34.6 147.4l-137 137a8.03 8.03 0 000 11.3l42.7 42.7c3.1 3.1 8.2 3.1 11.3 0L846.2 79.8l.1-.1c3.1-3.2 3-8.3-.2-11.4zM417 401V232c0-50.6 41.9-92 94-92 46 0 84.1 32.3 92.3 74.7L417 401z" } }] }, name: "audio-muted", theme: "outlined" };
|
|
3931
3962
|
function kr(e) {
|
|
3932
3963
|
for (var t = 1; t < arguments.length; t++) {
|
|
3933
3964
|
var n = arguments[t] != null ? Object(arguments[t]) : {}, r = Object.keys(n);
|
|
3934
3965
|
typeof Object.getOwnPropertySymbols == "function" && (r = r.concat(Object.getOwnPropertySymbols(n).filter(function(o) {
|
|
3935
3966
|
return Object.getOwnPropertyDescriptor(n, o).enumerable;
|
|
3936
3967
|
}))), r.forEach(function(o) {
|
|
3937
|
-
|
|
3968
|
+
Ac(e, o, n[o]);
|
|
3938
3969
|
});
|
|
3939
3970
|
}
|
|
3940
3971
|
return e;
|
|
3941
3972
|
}
|
|
3942
|
-
function
|
|
3973
|
+
function Ac(e, t, n) {
|
|
3943
3974
|
return t in e ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = n, e;
|
|
3944
3975
|
}
|
|
3945
3976
|
var Xn = function(t, n) {
|
|
3946
3977
|
var r = kr({}, t, n.attrs);
|
|
3947
3978
|
return u(z, kr({}, r, {
|
|
3948
|
-
icon:
|
|
3979
|
+
icon: Oc
|
|
3949
3980
|
}), null);
|
|
3950
3981
|
};
|
|
3951
3982
|
Xn.displayName = "AudioMutedOutlined";
|
|
3952
3983
|
Xn.inheritAttrs = !1;
|
|
3953
|
-
var
|
|
3984
|
+
var Pc = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M842 454c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8 0 140.3-113.7 254-254 254S258 594.3 258 454c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8 0 168.7 126.6 307.9 290 327.6V884H326.7c-13.7 0-24.7 14.3-24.7 32v36c0 4.4 2.8 8 6.2 8h407.6c3.4 0 6.2-3.6 6.2-8v-36c0-17.7-11-32-24.7-32H548V782.1c165.3-18 294-158 294-328.1zM512 624c93.9 0 170-75.2 170-168V232c0-92.8-76.1-168-170-168s-170 75.2-170 168v224c0 92.8 76.1 168 170 168zm-94-392c0-50.6 41.9-92 94-92s94 41.4 94 92v224c0 50.6-41.9 92-94 92s-94-41.4-94-92V232z" } }] }, name: "audio", theme: "outlined" };
|
|
3954
3985
|
function Gr(e) {
|
|
3955
3986
|
for (var t = 1; t < arguments.length; t++) {
|
|
3956
3987
|
var n = arguments[t] != null ? Object(arguments[t]) : {}, r = Object.keys(n);
|
|
3957
3988
|
typeof Object.getOwnPropertySymbols == "function" && (r = r.concat(Object.getOwnPropertySymbols(n).filter(function(o) {
|
|
3958
3989
|
return Object.getOwnPropertyDescriptor(n, o).enumerable;
|
|
3959
3990
|
}))), r.forEach(function(o) {
|
|
3960
|
-
|
|
3991
|
+
Ec(e, o, n[o]);
|
|
3961
3992
|
});
|
|
3962
3993
|
}
|
|
3963
3994
|
return e;
|
|
3964
3995
|
}
|
|
3965
|
-
function
|
|
3996
|
+
function Ec(e, t, n) {
|
|
3966
3997
|
return t in e ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = n, e;
|
|
3967
3998
|
}
|
|
3968
3999
|
var Vn = function(t, n) {
|
|
3969
4000
|
var r = Gr({}, t, n.attrs);
|
|
3970
4001
|
return u(z, Gr({}, r, {
|
|
3971
|
-
icon:
|
|
4002
|
+
icon: Pc
|
|
3972
4003
|
}), null);
|
|
3973
4004
|
};
|
|
3974
4005
|
Vn.displayName = "AudioOutlined";
|
|
3975
4006
|
Vn.inheritAttrs = !1;
|
|
3976
|
-
var
|
|
4007
|
+
var Mc = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "defs", attrs: {}, children: [{ tag: "style", attrs: {} }] }, { tag: "path", attrs: { d: "M899.1 869.6l-53-305.6H864c14.4 0 26-11.6 26-26V346c0-14.4-11.6-26-26-26H618V138c0-14.4-11.6-26-26-26H432c-14.4 0-26 11.6-26 26v182H160c-14.4 0-26 11.6-26 26v192c0 14.4 11.6 26 26 26h17.9l-53 305.6a25.95 25.95 0 0025.6 30.4h723c1.5 0 3-.1 4.4-.4a25.88 25.88 0 0021.2-30zM204 390h272V182h72v208h272v104H204V390zm468 440V674c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v156H416V674c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v156H202.8l45.1-260H776l45.1 260H672z" } }] }, name: "clear", theme: "outlined" };
|
|
3977
4008
|
function Ur(e) {
|
|
3978
4009
|
for (var t = 1; t < arguments.length; t++) {
|
|
3979
4010
|
var n = arguments[t] != null ? Object(arguments[t]) : {}, r = Object.keys(n);
|
|
3980
4011
|
typeof Object.getOwnPropertySymbols == "function" && (r = r.concat(Object.getOwnPropertySymbols(n).filter(function(o) {
|
|
3981
4012
|
return Object.getOwnPropertyDescriptor(n, o).enumerable;
|
|
3982
4013
|
}))), r.forEach(function(o) {
|
|
3983
|
-
|
|
4014
|
+
Ic(e, o, n[o]);
|
|
3984
4015
|
});
|
|
3985
4016
|
}
|
|
3986
4017
|
return e;
|
|
3987
4018
|
}
|
|
3988
|
-
function
|
|
4019
|
+
function Ic(e, t, n) {
|
|
3989
4020
|
return t in e ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = n, e;
|
|
3990
4021
|
}
|
|
3991
4022
|
var Wn = function(t, n) {
|
|
3992
4023
|
var r = Ur({}, t, n.attrs);
|
|
3993
4024
|
return u(z, Ur({}, r, {
|
|
3994
|
-
icon:
|
|
4025
|
+
icon: Mc
|
|
3995
4026
|
}), null);
|
|
3996
4027
|
};
|
|
3997
4028
|
Wn.displayName = "ClearOutlined";
|
|
@@ -4003,12 +4034,12 @@ function qr(e) {
|
|
|
4003
4034
|
typeof Object.getOwnPropertySymbols == "function" && (r = r.concat(Object.getOwnPropertySymbols(n).filter(function(o) {
|
|
4004
4035
|
return Object.getOwnPropertyDescriptor(n, o).enumerable;
|
|
4005
4036
|
}))), r.forEach(function(o) {
|
|
4006
|
-
|
|
4037
|
+
Nc(e, o, n[o]);
|
|
4007
4038
|
});
|
|
4008
4039
|
}
|
|
4009
4040
|
return e;
|
|
4010
4041
|
}
|
|
4011
|
-
function
|
|
4042
|
+
function Nc(e, t, n) {
|
|
4012
4043
|
return t in e ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = n, e;
|
|
4013
4044
|
}
|
|
4014
4045
|
var kn = function(t, n) {
|
|
@@ -4019,25 +4050,25 @@ var kn = function(t, n) {
|
|
|
4019
4050
|
};
|
|
4020
4051
|
kn.displayName = "CloseCircleFilled";
|
|
4021
4052
|
kn.inheritAttrs = !1;
|
|
4022
|
-
var
|
|
4053
|
+
var Rc = { icon: { tag: "svg", attrs: { "fill-rule": "evenodd", viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M799.86 166.31c.02 0 .04.02.08.06l57.69 57.7c.04.03.05.05.06.08a.12.12 0 010 .06c0 .03-.02.05-.06.09L569.93 512l287.7 287.7c.04.04.05.06.06.09a.12.12 0 010 .07c0 .02-.02.04-.06.08l-57.7 57.69c-.03.04-.05.05-.07.06a.12.12 0 01-.07 0c-.03 0-.05-.02-.09-.06L512 569.93l-287.7 287.7c-.04.04-.06.05-.09.06a.12.12 0 01-.07 0c-.02 0-.04-.02-.08-.06l-57.69-57.7c-.04-.03-.05-.05-.06-.07a.12.12 0 010-.07c0-.03.02-.05.06-.09L454.07 512l-287.7-287.7c-.04-.04-.05-.06-.06-.09a.12.12 0 010-.07c0-.02.02-.04.06-.08l57.7-57.69c.03-.04.05-.05.07-.06a.12.12 0 01.07 0c.03 0 .05.02.09.06L512 454.07l287.7-287.7c.04-.04.06-.05.09-.06a.12.12 0 01.07 0z" } }] }, name: "close", theme: "outlined" };
|
|
4023
4054
|
function Kr(e) {
|
|
4024
4055
|
for (var t = 1; t < arguments.length; t++) {
|
|
4025
4056
|
var n = arguments[t] != null ? Object(arguments[t]) : {}, r = Object.keys(n);
|
|
4026
4057
|
typeof Object.getOwnPropertySymbols == "function" && (r = r.concat(Object.getOwnPropertySymbols(n).filter(function(o) {
|
|
4027
4058
|
return Object.getOwnPropertyDescriptor(n, o).enumerable;
|
|
4028
4059
|
}))), r.forEach(function(o) {
|
|
4029
|
-
|
|
4060
|
+
Bc(e, o, n[o]);
|
|
4030
4061
|
});
|
|
4031
4062
|
}
|
|
4032
4063
|
return e;
|
|
4033
4064
|
}
|
|
4034
|
-
function
|
|
4065
|
+
function Bc(e, t, n) {
|
|
4035
4066
|
return t in e ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = n, e;
|
|
4036
4067
|
}
|
|
4037
4068
|
var Gn = function(t, n) {
|
|
4038
4069
|
var r = Kr({}, t, n.attrs);
|
|
4039
4070
|
return u(z, Kr({}, r, {
|
|
4040
|
-
icon:
|
|
4071
|
+
icon: Rc
|
|
4041
4072
|
}), null);
|
|
4042
4073
|
};
|
|
4043
4074
|
Gn.displayName = "CloseOutlined";
|
|
@@ -4049,12 +4080,12 @@ function Zr(e) {
|
|
|
4049
4080
|
typeof Object.getOwnPropertySymbols == "function" && (r = r.concat(Object.getOwnPropertySymbols(n).filter(function(o) {
|
|
4050
4081
|
return Object.getOwnPropertyDescriptor(n, o).enumerable;
|
|
4051
4082
|
}))), r.forEach(function(o) {
|
|
4052
|
-
|
|
4083
|
+
zc(e, o, n[o]);
|
|
4053
4084
|
});
|
|
4054
4085
|
}
|
|
4055
4086
|
return e;
|
|
4056
4087
|
}
|
|
4057
|
-
function
|
|
4088
|
+
function zc(e, t, n) {
|
|
4058
4089
|
return t in e ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = n, e;
|
|
4059
4090
|
}
|
|
4060
4091
|
var Un = function(t, n) {
|
|
@@ -4065,260 +4096,260 @@ var Un = function(t, n) {
|
|
|
4065
4096
|
};
|
|
4066
4097
|
Un.displayName = "EllipsisOutlined";
|
|
4067
4098
|
Un.inheritAttrs = !1;
|
|
4068
|
-
var
|
|
4099
|
+
var jc = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M854.6 288.7c6 6 9.4 14.1 9.4 22.6V928c0 17.7-14.3 32-32 32H192c-17.7 0-32-14.3-32-32V96c0-17.7 14.3-32 32-32h424.7c8.5 0 16.7 3.4 22.7 9.4l215.2 215.3zM790.2 326L602 137.8V326h188.2zM575.34 477.84l-61.22 102.3L452.3 477.8a12 12 0 00-10.27-5.79h-38.44a12 12 0 00-6.4 1.85 12 12 0 00-3.75 16.56l82.34 130.42-83.45 132.78a12 12 0 00-1.84 6.39 12 12 0 0012 12h34.46a12 12 0 0010.21-5.7l62.7-101.47 62.3 101.45a12 12 0 0010.23 5.72h37.48a12 12 0 006.48-1.9 12 12 0 003.62-16.58l-83.83-130.55 85.3-132.47a12 12 0 001.9-6.5 12 12 0 00-12-12h-35.7a12 12 0 00-10.29 5.84z" } }] }, name: "file-excel", theme: "filled" };
|
|
4069
4100
|
function Yr(e) {
|
|
4070
4101
|
for (var t = 1; t < arguments.length; t++) {
|
|
4071
4102
|
var n = arguments[t] != null ? Object(arguments[t]) : {}, r = Object.keys(n);
|
|
4072
4103
|
typeof Object.getOwnPropertySymbols == "function" && (r = r.concat(Object.getOwnPropertySymbols(n).filter(function(o) {
|
|
4073
4104
|
return Object.getOwnPropertyDescriptor(n, o).enumerable;
|
|
4074
4105
|
}))), r.forEach(function(o) {
|
|
4075
|
-
|
|
4106
|
+
Dc(e, o, n[o]);
|
|
4076
4107
|
});
|
|
4077
4108
|
}
|
|
4078
4109
|
return e;
|
|
4079
4110
|
}
|
|
4080
|
-
function
|
|
4111
|
+
function Dc(e, t, n) {
|
|
4081
4112
|
return t in e ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = n, e;
|
|
4082
4113
|
}
|
|
4083
4114
|
var qn = function(t, n) {
|
|
4084
4115
|
var r = Yr({}, t, n.attrs);
|
|
4085
4116
|
return u(z, Yr({}, r, {
|
|
4086
|
-
icon:
|
|
4117
|
+
icon: jc
|
|
4087
4118
|
}), null);
|
|
4088
4119
|
};
|
|
4089
4120
|
qn.displayName = "FileExcelFilled";
|
|
4090
4121
|
qn.inheritAttrs = !1;
|
|
4091
|
-
var
|
|
4122
|
+
var Fc = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M854.6 288.7L639.4 73.4c-6-6-14.2-9.4-22.7-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.6-9.4-22.6zM400 402c22.1 0 40 17.9 40 40s-17.9 40-40 40-40-17.9-40-40 17.9-40 40-40zm296 294H328c-6.7 0-10.4-7.7-6.3-12.9l99.8-127.2a8 8 0 0112.6 0l41.1 52.4 77.8-99.2a8 8 0 0112.6 0l136.5 174c4.3 5.2.5 12.9-6.1 12.9zm-94-370V137.8L790.2 326H602z" } }] }, name: "file-image", theme: "filled" };
|
|
4092
4123
|
function Qr(e) {
|
|
4093
4124
|
for (var t = 1; t < arguments.length; t++) {
|
|
4094
4125
|
var n = arguments[t] != null ? Object(arguments[t]) : {}, r = Object.keys(n);
|
|
4095
4126
|
typeof Object.getOwnPropertySymbols == "function" && (r = r.concat(Object.getOwnPropertySymbols(n).filter(function(o) {
|
|
4096
4127
|
return Object.getOwnPropertyDescriptor(n, o).enumerable;
|
|
4097
4128
|
}))), r.forEach(function(o) {
|
|
4098
|
-
|
|
4129
|
+
Xc(e, o, n[o]);
|
|
4099
4130
|
});
|
|
4100
4131
|
}
|
|
4101
4132
|
return e;
|
|
4102
4133
|
}
|
|
4103
|
-
function
|
|
4134
|
+
function Xc(e, t, n) {
|
|
4104
4135
|
return t in e ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = n, e;
|
|
4105
4136
|
}
|
|
4106
4137
|
var Kn = function(t, n) {
|
|
4107
4138
|
var r = Qr({}, t, n.attrs);
|
|
4108
4139
|
return u(z, Qr({}, r, {
|
|
4109
|
-
icon:
|
|
4140
|
+
icon: Fc
|
|
4110
4141
|
}), null);
|
|
4111
4142
|
};
|
|
4112
4143
|
Kn.displayName = "FileImageFilled";
|
|
4113
4144
|
Kn.inheritAttrs = !1;
|
|
4114
|
-
var
|
|
4145
|
+
var Vc = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M854.6 288.7c6 6 9.4 14.1 9.4 22.6V928c0 17.7-14.3 32-32 32H192c-17.7 0-32-14.3-32-32V96c0-17.7 14.3-32 32-32h424.7c8.5 0 16.7 3.4 22.7 9.4l215.2 215.3zM790.2 326L602 137.8V326h188.2zM426.13 600.93l59.11 132.97a16 16 0 0014.62 9.5h24.06a16 16 0 0014.63-9.51l59.1-133.35V758a16 16 0 0016.01 16H641a16 16 0 0016-16V486a16 16 0 00-16-16h-34.75a16 16 0 00-14.67 9.62L512.1 662.2l-79.48-182.59a16 16 0 00-14.67-9.61H383a16 16 0 00-16 16v272a16 16 0 0016 16h27.13a16 16 0 0016-16V600.93z" } }] }, name: "file-markdown", theme: "filled" };
|
|
4115
4146
|
function Jr(e) {
|
|
4116
4147
|
for (var t = 1; t < arguments.length; t++) {
|
|
4117
4148
|
var n = arguments[t] != null ? Object(arguments[t]) : {}, r = Object.keys(n);
|
|
4118
4149
|
typeof Object.getOwnPropertySymbols == "function" && (r = r.concat(Object.getOwnPropertySymbols(n).filter(function(o) {
|
|
4119
4150
|
return Object.getOwnPropertyDescriptor(n, o).enumerable;
|
|
4120
4151
|
}))), r.forEach(function(o) {
|
|
4121
|
-
|
|
4152
|
+
Wc(e, o, n[o]);
|
|
4122
4153
|
});
|
|
4123
4154
|
}
|
|
4124
4155
|
return e;
|
|
4125
4156
|
}
|
|
4126
|
-
function
|
|
4157
|
+
function Wc(e, t, n) {
|
|
4127
4158
|
return t in e ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = n, e;
|
|
4128
4159
|
}
|
|
4129
4160
|
var Zn = function(t, n) {
|
|
4130
4161
|
var r = Jr({}, t, n.attrs);
|
|
4131
4162
|
return u(z, Jr({}, r, {
|
|
4132
|
-
icon:
|
|
4163
|
+
icon: Vc
|
|
4133
4164
|
}), null);
|
|
4134
4165
|
};
|
|
4135
4166
|
Zn.displayName = "FileMarkdownFilled";
|
|
4136
4167
|
Zn.inheritAttrs = !1;
|
|
4137
|
-
var
|
|
4168
|
+
var kc = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M854.6 288.7c6 6 9.4 14.1 9.4 22.6V928c0 17.7-14.3 32-32 32H192c-17.7 0-32-14.3-32-32V96c0-17.7 14.3-32 32-32h424.7c8.5 0 16.7 3.4 22.7 9.4l215.2 215.3zM790.2 326L602 137.8V326h188.2zM633.22 637.26c-15.18-.5-31.32.67-49.65 2.96-24.3-14.99-40.66-35.58-52.28-65.83l1.07-4.38 1.24-5.18c4.3-18.13 6.61-31.36 7.3-44.7.52-10.07-.04-19.36-1.83-27.97-3.3-18.59-16.45-29.46-33.02-30.13-15.45-.63-29.65 8-33.28 21.37-5.91 21.62-2.45 50.07 10.08 98.59-15.96 38.05-37.05 82.66-51.2 107.54-18.89 9.74-33.6 18.6-45.96 28.42-16.3 12.97-26.48 26.3-29.28 40.3-1.36 6.49.69 14.97 5.36 21.92 5.3 7.88 13.28 13 22.85 13.74 24.15 1.87 53.83-23.03 86.6-79.26 3.29-1.1 6.77-2.26 11.02-3.7l11.9-4.02c7.53-2.54 12.99-4.36 18.39-6.11 23.4-7.62 41.1-12.43 57.2-15.17 27.98 14.98 60.32 24.8 82.1 24.8 17.98 0 30.13-9.32 34.52-23.99 3.85-12.88.8-27.82-7.48-36.08-8.56-8.41-24.3-12.43-45.65-13.12zM385.23 765.68v-.36l.13-.34a54.86 54.86 0 015.6-10.76c4.28-6.58 10.17-13.5 17.47-20.87 3.92-3.95 8-7.8 12.79-12.12 1.07-.96 7.91-7.05 9.19-8.25l11.17-10.4-8.12 12.93c-12.32 19.64-23.46 33.78-33 43-3.51 3.4-6.6 5.9-9.1 7.51a16.43 16.43 0 01-2.61 1.42c-.41.17-.77.27-1.13.3a2.2 2.2 0 01-1.12-.15 2.07 2.07 0 01-1.27-1.91zM511.17 547.4l-2.26 4-1.4-4.38c-3.1-9.83-5.38-24.64-6.01-38-.72-15.2.49-24.32 5.29-24.32 6.74 0 9.83 10.8 10.07 27.05.22 14.28-2.03 29.14-5.7 35.65zm-5.81 58.46l1.53-4.05 2.09 3.8c11.69 21.24 26.86 38.96 43.54 51.31l3.6 2.66-4.39.9c-16.33 3.38-31.54 8.46-52.34 16.85 2.17-.88-21.62 8.86-27.64 11.17l-5.25 2.01 2.8-4.88c12.35-21.5 23.76-47.32 36.05-79.77zm157.62 76.26c-7.86 3.1-24.78.33-54.57-12.39l-7.56-3.22 8.2-.6c23.3-1.73 39.8-.45 49.42 3.07 4.1 1.5 6.83 3.39 8.04 5.55a4.64 4.64 0 01-1.36 6.31 6.7 6.7 0 01-2.17 1.28z" } }] }, name: "file-pdf", theme: "filled" };
|
|
4138
4169
|
function _r(e) {
|
|
4139
4170
|
for (var t = 1; t < arguments.length; t++) {
|
|
4140
4171
|
var n = arguments[t] != null ? Object(arguments[t]) : {}, r = Object.keys(n);
|
|
4141
4172
|
typeof Object.getOwnPropertySymbols == "function" && (r = r.concat(Object.getOwnPropertySymbols(n).filter(function(o) {
|
|
4142
4173
|
return Object.getOwnPropertyDescriptor(n, o).enumerable;
|
|
4143
4174
|
}))), r.forEach(function(o) {
|
|
4144
|
-
|
|
4175
|
+
Gc(e, o, n[o]);
|
|
4145
4176
|
});
|
|
4146
4177
|
}
|
|
4147
4178
|
return e;
|
|
4148
4179
|
}
|
|
4149
|
-
function
|
|
4180
|
+
function Gc(e, t, n) {
|
|
4150
4181
|
return t in e ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = n, e;
|
|
4151
4182
|
}
|
|
4152
4183
|
var Yn = function(t, n) {
|
|
4153
4184
|
var r = _r({}, t, n.attrs);
|
|
4154
4185
|
return u(z, _r({}, r, {
|
|
4155
|
-
icon:
|
|
4186
|
+
icon: kc
|
|
4156
4187
|
}), null);
|
|
4157
4188
|
};
|
|
4158
4189
|
Yn.displayName = "FilePdfFilled";
|
|
4159
4190
|
Yn.inheritAttrs = !1;
|
|
4160
|
-
var
|
|
4191
|
+
var Uc = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M854.6 288.7c6 6 9.4 14.1 9.4 22.6V928c0 17.7-14.3 32-32 32H192c-17.7 0-32-14.3-32-32V96c0-17.7 14.3-32 32-32h424.7c8.5 0 16.7 3.4 22.7 9.4l215.2 215.3zM790.2 326L602 137.8V326h188.2zM468.53 760v-91.54h59.27c60.57 0 100.2-39.65 100.2-98.12 0-58.22-39.58-98.34-99.98-98.34H424a12 12 0 00-12 12v276a12 12 0 0012 12h32.53a12 12 0 0012-12zm0-139.33h34.9c47.82 0 67.19-12.93 67.19-50.33 0-32.05-18.12-50.12-49.87-50.12h-52.22v100.45z" } }] }, name: "file-ppt", theme: "filled" };
|
|
4161
4192
|
function eo(e) {
|
|
4162
4193
|
for (var t = 1; t < arguments.length; t++) {
|
|
4163
4194
|
var n = arguments[t] != null ? Object(arguments[t]) : {}, r = Object.keys(n);
|
|
4164
4195
|
typeof Object.getOwnPropertySymbols == "function" && (r = r.concat(Object.getOwnPropertySymbols(n).filter(function(o) {
|
|
4165
4196
|
return Object.getOwnPropertyDescriptor(n, o).enumerable;
|
|
4166
4197
|
}))), r.forEach(function(o) {
|
|
4167
|
-
|
|
4198
|
+
qc(e, o, n[o]);
|
|
4168
4199
|
});
|
|
4169
4200
|
}
|
|
4170
4201
|
return e;
|
|
4171
4202
|
}
|
|
4172
|
-
function
|
|
4203
|
+
function qc(e, t, n) {
|
|
4173
4204
|
return t in e ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = n, e;
|
|
4174
4205
|
}
|
|
4175
4206
|
var Qn = function(t, n) {
|
|
4176
4207
|
var r = eo({}, t, n.attrs);
|
|
4177
4208
|
return u(z, eo({}, r, {
|
|
4178
|
-
icon:
|
|
4209
|
+
icon: Uc
|
|
4179
4210
|
}), null);
|
|
4180
4211
|
};
|
|
4181
4212
|
Qn.displayName = "FilePptFilled";
|
|
4182
4213
|
Qn.inheritAttrs = !1;
|
|
4183
|
-
var
|
|
4214
|
+
var Kc = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M854.6 288.7c6 6 9.4 14.1 9.4 22.6V928c0 17.7-14.3 32-32 32H192c-17.7 0-32-14.3-32-32V96c0-17.7 14.3-32 32-32h424.7c8.5 0 16.7 3.4 22.7 9.4l215.2 215.3zM790.2 326L602 137.8V326h188.2zM320 482a8 8 0 00-8 8v48a8 8 0 008 8h384a8 8 0 008-8v-48a8 8 0 00-8-8H320zm0 136a8 8 0 00-8 8v48a8 8 0 008 8h184a8 8 0 008-8v-48a8 8 0 00-8-8H320z" } }] }, name: "file-text", theme: "filled" };
|
|
4184
4215
|
function to(e) {
|
|
4185
4216
|
for (var t = 1; t < arguments.length; t++) {
|
|
4186
4217
|
var n = arguments[t] != null ? Object(arguments[t]) : {}, r = Object.keys(n);
|
|
4187
4218
|
typeof Object.getOwnPropertySymbols == "function" && (r = r.concat(Object.getOwnPropertySymbols(n).filter(function(o) {
|
|
4188
4219
|
return Object.getOwnPropertyDescriptor(n, o).enumerable;
|
|
4189
4220
|
}))), r.forEach(function(o) {
|
|
4190
|
-
|
|
4221
|
+
Zc(e, o, n[o]);
|
|
4191
4222
|
});
|
|
4192
4223
|
}
|
|
4193
4224
|
return e;
|
|
4194
4225
|
}
|
|
4195
|
-
function
|
|
4226
|
+
function Zc(e, t, n) {
|
|
4196
4227
|
return t in e ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = n, e;
|
|
4197
4228
|
}
|
|
4198
4229
|
var Jn = function(t, n) {
|
|
4199
4230
|
var r = to({}, t, n.attrs);
|
|
4200
4231
|
return u(z, to({}, r, {
|
|
4201
|
-
icon:
|
|
4232
|
+
icon: Kc
|
|
4202
4233
|
}), null);
|
|
4203
4234
|
};
|
|
4204
4235
|
Jn.displayName = "FileTextFilled";
|
|
4205
4236
|
Jn.inheritAttrs = !1;
|
|
4206
|
-
var
|
|
4237
|
+
var Yc = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M854.6 288.7c6 6 9.4 14.1 9.4 22.6V928c0 17.7-14.3 32-32 32H192c-17.7 0-32-14.3-32-32V96c0-17.7 14.3-32 32-32h424.7c8.5 0 16.7 3.4 22.7 9.4l215.2 215.3zM790.2 326L602 137.8V326h188.2zM512 566.1l52.81 197a12 12 0 0011.6 8.9h31.77a12 12 0 0011.6-8.88l74.37-276a12 12 0 00.4-3.12 12 12 0 00-12-12h-35.57a12 12 0 00-11.7 9.31l-45.78 199.1-49.76-199.32A12 12 0 00528.1 472h-32.2a12 12 0 00-11.64 9.1L434.6 680.01 388.5 481.3a12 12 0 00-11.68-9.29h-35.39a12 12 0 00-3.11.41 12 12 0 00-8.47 14.7l74.17 276A12 12 0 00415.6 772h31.99a12 12 0 0011.59-8.9l52.81-197z" } }] }, name: "file-word", theme: "filled" };
|
|
4207
4238
|
function no(e) {
|
|
4208
4239
|
for (var t = 1; t < arguments.length; t++) {
|
|
4209
4240
|
var n = arguments[t] != null ? Object(arguments[t]) : {}, r = Object.keys(n);
|
|
4210
4241
|
typeof Object.getOwnPropertySymbols == "function" && (r = r.concat(Object.getOwnPropertySymbols(n).filter(function(o) {
|
|
4211
4242
|
return Object.getOwnPropertyDescriptor(n, o).enumerable;
|
|
4212
4243
|
}))), r.forEach(function(o) {
|
|
4213
|
-
|
|
4244
|
+
Qc(e, o, n[o]);
|
|
4214
4245
|
});
|
|
4215
4246
|
}
|
|
4216
4247
|
return e;
|
|
4217
4248
|
}
|
|
4218
|
-
function
|
|
4249
|
+
function Qc(e, t, n) {
|
|
4219
4250
|
return t in e ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = n, e;
|
|
4220
4251
|
}
|
|
4221
4252
|
var _n = function(t, n) {
|
|
4222
4253
|
var r = no({}, t, n.attrs);
|
|
4223
4254
|
return u(z, no({}, r, {
|
|
4224
|
-
icon:
|
|
4255
|
+
icon: Yc
|
|
4225
4256
|
}), null);
|
|
4226
4257
|
};
|
|
4227
4258
|
_n.displayName = "FileWordFilled";
|
|
4228
4259
|
_n.inheritAttrs = !1;
|
|
4229
|
-
var
|
|
4260
|
+
var Jc = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M854.6 288.7c6 6 9.4 14.1 9.4 22.6V928c0 17.7-14.3 32-32 32H192c-17.7 0-32-14.3-32-32V96c0-17.7 14.3-32 32-32h424.7c8.5 0 16.7 3.4 22.7 9.4l215.2 215.3zM790.2 326L602 137.8V326h188.2zM296 136v64h64v-64h-64zm64 64v64h64v-64h-64zm-64 64v64h64v-64h-64zm64 64v64h64v-64h-64zm-64 64v64h64v-64h-64zm64 64v64h64v-64h-64zm-64 64v64h64v-64h-64zm0 64v160h128V584H296zm48 48h32v64h-32v-64z" } }] }, name: "file-zip", theme: "filled" };
|
|
4230
4261
|
function ro(e) {
|
|
4231
4262
|
for (var t = 1; t < arguments.length; t++) {
|
|
4232
4263
|
var n = arguments[t] != null ? Object(arguments[t]) : {}, r = Object.keys(n);
|
|
4233
4264
|
typeof Object.getOwnPropertySymbols == "function" && (r = r.concat(Object.getOwnPropertySymbols(n).filter(function(o) {
|
|
4234
4265
|
return Object.getOwnPropertyDescriptor(n, o).enumerable;
|
|
4235
4266
|
}))), r.forEach(function(o) {
|
|
4236
|
-
|
|
4267
|
+
_c(e, o, n[o]);
|
|
4237
4268
|
});
|
|
4238
4269
|
}
|
|
4239
4270
|
return e;
|
|
4240
4271
|
}
|
|
4241
|
-
function
|
|
4272
|
+
function _c(e, t, n) {
|
|
4242
4273
|
return t in e ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = n, e;
|
|
4243
4274
|
}
|
|
4244
4275
|
var er = function(t, n) {
|
|
4245
4276
|
var r = ro({}, t, n.attrs);
|
|
4246
4277
|
return u(z, ro({}, r, {
|
|
4247
|
-
icon:
|
|
4278
|
+
icon: Jc
|
|
4248
4279
|
}), null);
|
|
4249
4280
|
};
|
|
4250
4281
|
er.displayName = "FileZipFilled";
|
|
4251
4282
|
er.inheritAttrs = !1;
|
|
4252
|
-
var
|
|
4283
|
+
var eu = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z" } }] }, name: "left", theme: "outlined" };
|
|
4253
4284
|
function oo(e) {
|
|
4254
4285
|
for (var t = 1; t < arguments.length; t++) {
|
|
4255
4286
|
var n = arguments[t] != null ? Object(arguments[t]) : {}, r = Object.keys(n);
|
|
4256
4287
|
typeof Object.getOwnPropertySymbols == "function" && (r = r.concat(Object.getOwnPropertySymbols(n).filter(function(o) {
|
|
4257
4288
|
return Object.getOwnPropertyDescriptor(n, o).enumerable;
|
|
4258
4289
|
}))), r.forEach(function(o) {
|
|
4259
|
-
|
|
4290
|
+
tu(e, o, n[o]);
|
|
4260
4291
|
});
|
|
4261
4292
|
}
|
|
4262
4293
|
return e;
|
|
4263
4294
|
}
|
|
4264
|
-
function
|
|
4295
|
+
function tu(e, t, n) {
|
|
4265
4296
|
return t in e ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = n, e;
|
|
4266
4297
|
}
|
|
4267
|
-
var
|
|
4298
|
+
var Bt = function(t, n) {
|
|
4268
4299
|
var r = oo({}, t, n.attrs);
|
|
4269
4300
|
return u(z, oo({}, r, {
|
|
4270
|
-
icon:
|
|
4301
|
+
icon: eu
|
|
4271
4302
|
}), null);
|
|
4272
4303
|
};
|
|
4273
|
-
|
|
4274
|
-
|
|
4275
|
-
var
|
|
4304
|
+
Bt.displayName = "LeftOutlined";
|
|
4305
|
+
Bt.inheritAttrs = !1;
|
|
4306
|
+
var nu = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z" } }, { tag: "path", attrs: { d: "M192 474h672q8 0 8 8v60q0 8-8 8H160q-8 0-8-8v-60q0-8 8-8z" } }] }, name: "plus", theme: "outlined" };
|
|
4276
4307
|
function io(e) {
|
|
4277
4308
|
for (var t = 1; t < arguments.length; t++) {
|
|
4278
4309
|
var n = arguments[t] != null ? Object(arguments[t]) : {}, r = Object.keys(n);
|
|
4279
4310
|
typeof Object.getOwnPropertySymbols == "function" && (r = r.concat(Object.getOwnPropertySymbols(n).filter(function(o) {
|
|
4280
4311
|
return Object.getOwnPropertyDescriptor(n, o).enumerable;
|
|
4281
4312
|
}))), r.forEach(function(o) {
|
|
4282
|
-
|
|
4313
|
+
ru(e, o, n[o]);
|
|
4283
4314
|
});
|
|
4284
4315
|
}
|
|
4285
4316
|
return e;
|
|
4286
4317
|
}
|
|
4287
|
-
function
|
|
4318
|
+
function ru(e, t, n) {
|
|
4288
4319
|
return t in e ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = n, e;
|
|
4289
4320
|
}
|
|
4290
4321
|
var tr = function(t, n) {
|
|
4291
4322
|
var r = io({}, t, n.attrs);
|
|
4292
4323
|
return u(z, io({}, r, {
|
|
4293
|
-
icon:
|
|
4324
|
+
icon: nu
|
|
4294
4325
|
}), null);
|
|
4295
4326
|
};
|
|
4296
4327
|
tr.displayName = "PlusOutlined";
|
|
4297
4328
|
tr.inheritAttrs = !1;
|
|
4298
|
-
var
|
|
4329
|
+
var ou = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z" } }] }, name: "right", theme: "outlined" };
|
|
4299
4330
|
function ao(e) {
|
|
4300
4331
|
for (var t = 1; t < arguments.length; t++) {
|
|
4301
4332
|
var n = arguments[t] != null ? Object(arguments[t]) : {}, r = Object.keys(n);
|
|
4302
4333
|
typeof Object.getOwnPropertySymbols == "function" && (r = r.concat(Object.getOwnPropertySymbols(n).filter(function(o) {
|
|
4303
4334
|
return Object.getOwnPropertyDescriptor(n, o).enumerable;
|
|
4304
4335
|
}))), r.forEach(function(o) {
|
|
4305
|
-
|
|
4336
|
+
iu(e, o, n[o]);
|
|
4306
4337
|
});
|
|
4307
4338
|
}
|
|
4308
4339
|
return e;
|
|
4309
4340
|
}
|
|
4310
|
-
function
|
|
4341
|
+
function iu(e, t, n) {
|
|
4311
4342
|
return t in e ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = n, e;
|
|
4312
4343
|
}
|
|
4313
|
-
var
|
|
4344
|
+
var Lt = function(t, n) {
|
|
4314
4345
|
var r = ao({}, t, n.attrs);
|
|
4315
4346
|
return u(z, ao({}, r, {
|
|
4316
|
-
icon:
|
|
4347
|
+
icon: ou
|
|
4317
4348
|
}), null);
|
|
4318
4349
|
};
|
|
4319
|
-
|
|
4320
|
-
|
|
4321
|
-
const
|
|
4350
|
+
Lt.displayName = "RightOutlined";
|
|
4351
|
+
Lt.inheritAttrs = !1;
|
|
4352
|
+
const au = /* @__PURE__ */ H({
|
|
4322
4353
|
name: "AXConversationsItem",
|
|
4323
4354
|
__name: "ConversationsItem",
|
|
4324
4355
|
props: {
|
|
@@ -4351,7 +4382,7 @@ const iu = /* @__PURE__ */ I({
|
|
|
4351
4382
|
}, d = (g) => {
|
|
4352
4383
|
g && s(!g);
|
|
4353
4384
|
};
|
|
4354
|
-
return () => u(
|
|
4385
|
+
return () => u(ki, {
|
|
4355
4386
|
title: e.info.label,
|
|
4356
4387
|
open: i.value && l.value,
|
|
4357
4388
|
onOpenChange: s,
|
|
@@ -4368,7 +4399,7 @@ const iu = /* @__PURE__ */ I({
|
|
|
4368
4399
|
onEllipsis: a
|
|
4369
4400
|
},
|
|
4370
4401
|
content: e.info.label
|
|
4371
|
-
}, null), e.menu && !o.value && u(
|
|
4402
|
+
}, null), e.menu && !o.value && u(Gi, {
|
|
4372
4403
|
placement: e.direction === "rtl" ? "bottomLeft" : "bottomRight",
|
|
4373
4404
|
trigger: ["click"],
|
|
4374
4405
|
disabled: o.value,
|
|
@@ -4379,36 +4410,36 @@ const iu = /* @__PURE__ */ I({
|
|
|
4379
4410
|
disabled: o.value,
|
|
4380
4411
|
class: `${e.prefixCls}-menu-icon`
|
|
4381
4412
|
}, null),
|
|
4382
|
-
overlay: () => u(
|
|
4413
|
+
overlay: () => u(Ui, e.menu, null)
|
|
4383
4414
|
})])]
|
|
4384
4415
|
});
|
|
4385
4416
|
}
|
|
4386
|
-
}),
|
|
4387
|
-
fe(
|
|
4417
|
+
}), Ci = Symbol("GroupTitleContext"), $n = J(), lu = (e) => {
|
|
4418
|
+
fe(Ci, e), R(
|
|
4388
4419
|
e,
|
|
4389
4420
|
() => {
|
|
4390
4421
|
$n.value = O(e), ye($n);
|
|
4391
4422
|
},
|
|
4392
4423
|
{ immediate: !0, deep: !0 }
|
|
4393
4424
|
);
|
|
4394
|
-
},
|
|
4395
|
-
|
|
4425
|
+
}, su = () => ne(
|
|
4426
|
+
Ci,
|
|
4396
4427
|
h(() => $n.value || {})
|
|
4397
|
-
),
|
|
4428
|
+
), cu = H({
|
|
4398
4429
|
props: {
|
|
4399
4430
|
value: be()
|
|
4400
4431
|
},
|
|
4401
4432
|
setup(e, { slots: t }) {
|
|
4402
|
-
return
|
|
4433
|
+
return lu(h(() => e.value)), () => {
|
|
4403
4434
|
var n;
|
|
4404
4435
|
return (n = t.default) == null ? void 0 : n.call(t);
|
|
4405
4436
|
};
|
|
4406
4437
|
}
|
|
4407
|
-
}), lo = /* @__PURE__ */
|
|
4438
|
+
}), lo = /* @__PURE__ */ H({
|
|
4408
4439
|
name: "AXConversationsGroupTitle",
|
|
4409
4440
|
__name: "GroupTitle",
|
|
4410
4441
|
setup(e) {
|
|
4411
|
-
const t =
|
|
4442
|
+
const t = It(), n = su(), r = h(() => {
|
|
4412
4443
|
var o;
|
|
4413
4444
|
return (o = t.default) == null ? void 0 : o.call(t);
|
|
4414
4445
|
});
|
|
@@ -4420,23 +4451,23 @@ const iu = /* @__PURE__ */ I({
|
|
|
4420
4451
|
}
|
|
4421
4452
|
});
|
|
4422
4453
|
function nr(e, t) {
|
|
4423
|
-
const { defaultValue: n, value: r =
|
|
4454
|
+
const { defaultValue: n, value: r = B() } = t || {};
|
|
4424
4455
|
let o = typeof e == "function" ? e() : e;
|
|
4425
4456
|
r.value !== void 0 && (o = O(r)), n !== void 0 && (o = typeof n == "function" ? n() : n);
|
|
4426
|
-
const i =
|
|
4457
|
+
const i = B(o), a = B(o);
|
|
4427
4458
|
ke(() => {
|
|
4428
4459
|
let s = r.value !== void 0 ? r.value : i.value;
|
|
4429
4460
|
t.postState && (s = t.postState(s)), a.value = s;
|
|
4430
4461
|
});
|
|
4431
4462
|
function l(s) {
|
|
4432
4463
|
const c = a.value;
|
|
4433
|
-
i.value = s,
|
|
4464
|
+
i.value = s, ji(a.value) !== s && t.onChange && t.onChange(s, c);
|
|
4434
4465
|
}
|
|
4435
4466
|
return R(r, () => {
|
|
4436
4467
|
i.value = r.value;
|
|
4437
4468
|
}), [a, l];
|
|
4438
4469
|
}
|
|
4439
|
-
const Jt = "__ungrouped",
|
|
4470
|
+
const Jt = "__ungrouped", uu = (e, t = []) => {
|
|
4440
4471
|
const n = h(() => {
|
|
4441
4472
|
if (!F(e))
|
|
4442
4473
|
return {
|
|
@@ -4479,7 +4510,7 @@ const Jt = "__ungrouped", cu = (e, t = []) => {
|
|
|
4479
4510
|
enableGroup: n.value.enableGroup
|
|
4480
4511
|
};
|
|
4481
4512
|
});
|
|
4482
|
-
},
|
|
4513
|
+
}, du = (e) => {
|
|
4483
4514
|
const { componentCls: t } = e;
|
|
4484
4515
|
return {
|
|
4485
4516
|
[t]: {
|
|
@@ -4560,14 +4591,14 @@ const Jt = "__ungrouped", cu = (e, t = []) => {
|
|
|
4560
4591
|
}
|
|
4561
4592
|
}
|
|
4562
4593
|
};
|
|
4563
|
-
},
|
|
4594
|
+
}, fu = () => ({}), hu = we(
|
|
4564
4595
|
"Conversations",
|
|
4565
4596
|
(e) => {
|
|
4566
4597
|
const t = he(e, {});
|
|
4567
|
-
return
|
|
4598
|
+
return du(t);
|
|
4568
4599
|
},
|
|
4569
|
-
|
|
4570
|
-
),
|
|
4600
|
+
fu
|
|
4601
|
+
), jd = /* @__PURE__ */ H({
|
|
4571
4602
|
name: "AXConversations",
|
|
4572
4603
|
__name: "Conversations",
|
|
4573
4604
|
props: le({
|
|
@@ -4594,7 +4625,7 @@ const Jt = "__ungrouped", cu = (e, t = []) => {
|
|
|
4594
4625
|
setup(e) {
|
|
4595
4626
|
const t = se(e, ["prefixCls", "rootClassName", "items", "activeKey", "defaultActiveKey", "onActiveChange", "menu", "styles", "classNames", "groupable", "class", "style"]);
|
|
4596
4627
|
G(e, "class"), G(e, "activeKey"), G(e, "prefixCls");
|
|
4597
|
-
const n =
|
|
4628
|
+
const n = B(e.activeKey), r = h(() => qe(t, {
|
|
4598
4629
|
attr: !0,
|
|
4599
4630
|
aria: !0,
|
|
4600
4631
|
data: !0
|
|
@@ -4604,10 +4635,10 @@ const Jt = "__ungrouped", cu = (e, t = []) => {
|
|
|
4604
4635
|
R(() => e.activeKey, () => {
|
|
4605
4636
|
n.value = e.activeKey;
|
|
4606
4637
|
});
|
|
4607
|
-
const a =
|
|
4638
|
+
const a = uu(() => e.groupable, () => e.items), {
|
|
4608
4639
|
getPrefixCls: l,
|
|
4609
4640
|
direction: s
|
|
4610
|
-
} = _(), c = h(() => l("conversations", e.prefixCls)), f = $e("conversations"), [d, g, v] =
|
|
4641
|
+
} = _(), c = h(() => l("conversations", e.prefixCls)), f = $e("conversations"), [d, g, v] = hu(c), p = h(() => A(c.value, f.value.className, e.class, e.rootClassName, g, v, {
|
|
4611
4642
|
[`${c.value}-rtl`]: s.value === "rtl"
|
|
4612
4643
|
})), m = (b) => {
|
|
4613
4644
|
i(b.key), e.onActiveChange && e.onActiveChange(b.key);
|
|
@@ -4619,7 +4650,7 @@ const Jt = "__ungrouped", cu = (e, t = []) => {
|
|
|
4619
4650
|
},
|
|
4620
4651
|
class: p.value
|
|
4621
4652
|
}), [a.value.groupList.map((b, S) => {
|
|
4622
|
-
const $ = b.data.map((C, x) => u(
|
|
4653
|
+
const $ = b.data.map((C, x) => u(au, {
|
|
4623
4654
|
key: C.key || `key-${x}`,
|
|
4624
4655
|
info: C,
|
|
4625
4656
|
prefixCls: c.value,
|
|
@@ -4635,7 +4666,7 @@ const Jt = "__ungrouped", cu = (e, t = []) => {
|
|
|
4635
4666
|
}, null));
|
|
4636
4667
|
return a.value.enableGroup ? u("li", {
|
|
4637
4668
|
key: b.name || `key-${S}`
|
|
4638
|
-
}, [u(
|
|
4669
|
+
}, [u(cu, {
|
|
4639
4670
|
value: {
|
|
4640
4671
|
prefixCls: c.value
|
|
4641
4672
|
}
|
|
@@ -4657,7 +4688,7 @@ const Jt = "__ungrouped", cu = (e, t = []) => {
|
|
|
4657
4688
|
}, [$])]) : $;
|
|
4658
4689
|
})]));
|
|
4659
4690
|
}
|
|
4660
|
-
}),
|
|
4691
|
+
}), gu = (e) => {
|
|
4661
4692
|
const { componentCls: t, calc: n } = e, r = n(e.fontSizeHeading3).mul(e.lineHeightHeading3).equal(), o = n(e.fontSize).mul(e.lineHeight).equal();
|
|
4662
4693
|
return {
|
|
4663
4694
|
[t]: {
|
|
@@ -4687,7 +4718,7 @@ const Jt = "__ungrouped", cu = (e, t = []) => {
|
|
|
4687
4718
|
}
|
|
4688
4719
|
}
|
|
4689
4720
|
};
|
|
4690
|
-
},
|
|
4721
|
+
}, mu = (e) => {
|
|
4691
4722
|
const { componentCls: t } = e;
|
|
4692
4723
|
return {
|
|
4693
4724
|
[t]: {
|
|
@@ -4707,14 +4738,14 @@ const Jt = "__ungrouped", cu = (e, t = []) => {
|
|
|
4707
4738
|
}
|
|
4708
4739
|
}
|
|
4709
4740
|
};
|
|
4710
|
-
},
|
|
4741
|
+
}, pu = () => ({}), vu = we(
|
|
4711
4742
|
"Welcome",
|
|
4712
4743
|
(e) => {
|
|
4713
4744
|
const t = he(e, {});
|
|
4714
|
-
return [
|
|
4745
|
+
return [gu(t), mu(t)];
|
|
4715
4746
|
},
|
|
4716
|
-
|
|
4717
|
-
),
|
|
4747
|
+
pu
|
|
4748
|
+
), Dd = /* @__PURE__ */ H({
|
|
4718
4749
|
name: "AXWelcome",
|
|
4719
4750
|
__name: "Welcome",
|
|
4720
4751
|
props: le({
|
|
@@ -4739,7 +4770,7 @@ const Jt = "__ungrouped", cu = (e, t = []) => {
|
|
|
4739
4770
|
const {
|
|
4740
4771
|
direction: t,
|
|
4741
4772
|
getPrefixCls: n
|
|
4742
|
-
} = _(), r = n("welcome", e.prefixCls), o = $e("welcome"), [i, a, l] =
|
|
4773
|
+
} = _(), r = n("welcome", e.prefixCls), o = $e("welcome"), [i, a, l] = vu(r), s = h(() => {
|
|
4743
4774
|
if (!e.icon)
|
|
4744
4775
|
return null;
|
|
4745
4776
|
let d = e.icon;
|
|
@@ -4784,7 +4815,7 @@ const Jt = "__ungrouped", cu = (e, t = []) => {
|
|
|
4784
4815
|
})]
|
|
4785
4816
|
}));
|
|
4786
4817
|
}
|
|
4787
|
-
}),
|
|
4818
|
+
}), yu = (e) => {
|
|
4788
4819
|
const { componentCls: t } = e;
|
|
4789
4820
|
return {
|
|
4790
4821
|
[t]: {
|
|
@@ -4877,7 +4908,7 @@ const Jt = "__ungrouped", cu = (e, t = []) => {
|
|
|
4877
4908
|
}
|
|
4878
4909
|
}
|
|
4879
4910
|
};
|
|
4880
|
-
},
|
|
4911
|
+
}, bu = (e) => {
|
|
4881
4912
|
const { componentCls: t } = e;
|
|
4882
4913
|
return {
|
|
4883
4914
|
[t]: {
|
|
@@ -4907,14 +4938,14 @@ const Jt = "__ungrouped", cu = (e, t = []) => {
|
|
|
4907
4938
|
}
|
|
4908
4939
|
}
|
|
4909
4940
|
};
|
|
4910
|
-
},
|
|
4941
|
+
}, Su = () => ({}), Cu = we(
|
|
4911
4942
|
"Prompts",
|
|
4912
4943
|
(e) => {
|
|
4913
4944
|
const t = he(e, {});
|
|
4914
|
-
return [
|
|
4945
|
+
return [yu(t), bu(t)];
|
|
4915
4946
|
},
|
|
4916
|
-
|
|
4917
|
-
),
|
|
4947
|
+
Su
|
|
4948
|
+
), xu = /* @__PURE__ */ H({
|
|
4918
4949
|
name: "AXPrompts",
|
|
4919
4950
|
__name: "Prompts",
|
|
4920
4951
|
props: le({
|
|
@@ -4943,7 +4974,7 @@ const Jt = "__ungrouped", cu = (e, t = []) => {
|
|
|
4943
4974
|
const {
|
|
4944
4975
|
getPrefixCls: n,
|
|
4945
4976
|
direction: r
|
|
4946
|
-
} = _(), o = n("prompts", e.prefixCls), i = $e("prompts"), [a, l, s] =
|
|
4977
|
+
} = _(), o = n("prompts", e.prefixCls), i = $e("prompts"), [a, l, s] = Cu(o), c = h(() => A(o, i.value.className, e.class, e.rootClassName, l, s, {
|
|
4947
4978
|
[`${o}-rtl`]: r.value === "rtl"
|
|
4948
4979
|
})), f = h(() => A(`${o}-list`, i.value.classNames.list, e.classNames.list, {
|
|
4949
4980
|
[`${o}-list-wrap`]: e.wrap
|
|
@@ -5002,7 +5033,7 @@ const Jt = "__ungrouped", cu = (e, t = []) => {
|
|
|
5002
5033
|
class: `${o}-label`
|
|
5003
5034
|
}, [g.label]), g.description && u("p", {
|
|
5004
5035
|
class: `${o}-desc`
|
|
5005
|
-
}, [g.description]), p && u(
|
|
5036
|
+
}, [g.description]), p && u(xu, {
|
|
5006
5037
|
class: `${o}-nested`,
|
|
5007
5038
|
items: g.children,
|
|
5008
5039
|
vertical: !0,
|
|
@@ -5019,7 +5050,7 @@ const Jt = "__ungrouped", cu = (e, t = []) => {
|
|
|
5019
5050
|
})])]));
|
|
5020
5051
|
};
|
|
5021
5052
|
}
|
|
5022
|
-
}),
|
|
5053
|
+
}), $u = (e) => {
|
|
5023
5054
|
const { componentCls: t, antCls: n } = e;
|
|
5024
5055
|
return {
|
|
5025
5056
|
[t]: {
|
|
@@ -5041,15 +5072,15 @@ const Jt = "__ungrouped", cu = (e, t = []) => {
|
|
|
5041
5072
|
}
|
|
5042
5073
|
}
|
|
5043
5074
|
};
|
|
5044
|
-
},
|
|
5075
|
+
}, wu = () => ({}), Tu = we(
|
|
5045
5076
|
"Suggestion",
|
|
5046
5077
|
(e) => {
|
|
5047
5078
|
const t = he(e, {});
|
|
5048
|
-
return
|
|
5079
|
+
return $u(t);
|
|
5049
5080
|
},
|
|
5050
|
-
|
|
5081
|
+
wu
|
|
5051
5082
|
);
|
|
5052
|
-
function
|
|
5083
|
+
function Ou(e, t, n, r, o) {
|
|
5053
5084
|
const [i, a] = k([]), l = (v, p = i.value) => {
|
|
5054
5085
|
let m = F(e);
|
|
5055
5086
|
for (let b = 0; b < v - 1; b += 1) {
|
|
@@ -5099,7 +5130,7 @@ function Tu(e, t, n, r, o) {
|
|
|
5099
5130
|
F(t) && a([F(e)[0].value]);
|
|
5100
5131
|
}, { immediate: !0 }), [i, g];
|
|
5101
5132
|
}
|
|
5102
|
-
const
|
|
5133
|
+
const Fd = /* @__PURE__ */ H({
|
|
5103
5134
|
name: "AXSuggestion",
|
|
5104
5135
|
__name: "Suggestion",
|
|
5105
5136
|
props: le({
|
|
@@ -5137,7 +5168,7 @@ const Dd = /* @__PURE__ */ I({
|
|
|
5137
5168
|
getPrefixCls: n
|
|
5138
5169
|
} = _(), r = h(() => n("suggestion", e.prefixCls));
|
|
5139
5170
|
`${r.value}`;
|
|
5140
|
-
const o = h(() => t.value === "rtl"), i = $e("suggestion"), [a, l, s] =
|
|
5171
|
+
const o = h(() => t.value === "rtl"), i = $e("suggestion"), [a, l, s] = Tu(r), [c, f] = k(e.open), [d, g] = k(), v = (T) => {
|
|
5141
5172
|
var w;
|
|
5142
5173
|
f(T), (w = e.onOpenChange) == null || w.call(e, T);
|
|
5143
5174
|
}, p = (T) => {
|
|
@@ -5146,14 +5177,14 @@ const Dd = /* @__PURE__ */ I({
|
|
|
5146
5177
|
v(!1);
|
|
5147
5178
|
}, b = h(() => typeof e.items == "function" ? e.items(d.value) : e.items), S = (T) => {
|
|
5148
5179
|
e.onSelect && e.onSelect(T[T.length - 1]), v(!1);
|
|
5149
|
-
}, [$, C] =
|
|
5180
|
+
}, [$, C] = Ou(b, c, o, S, m), x = h(() => {
|
|
5150
5181
|
var T;
|
|
5151
5182
|
return (T = e.children) == null ? void 0 : T.call(e, {
|
|
5152
5183
|
onTrigger: p,
|
|
5153
5184
|
onKeyDown: C
|
|
5154
5185
|
});
|
|
5155
5186
|
});
|
|
5156
|
-
return () => a(u(
|
|
5187
|
+
return () => a(u(qi, {
|
|
5157
5188
|
options: b.value,
|
|
5158
5189
|
open: c.value,
|
|
5159
5190
|
value: $.value,
|
|
@@ -5176,29 +5207,29 @@ const Dd = /* @__PURE__ */ I({
|
|
|
5176
5207
|
}, [x.value])
|
|
5177
5208
|
}));
|
|
5178
5209
|
}
|
|
5179
|
-
}),
|
|
5180
|
-
fe(
|
|
5210
|
+
}), xi = Symbol("SenderHeaderContext"), wn = J(), Au = (e) => {
|
|
5211
|
+
fe(xi, e), R(
|
|
5181
5212
|
e,
|
|
5182
5213
|
() => {
|
|
5183
5214
|
wn.value = O(e), ye(wn);
|
|
5184
5215
|
},
|
|
5185
5216
|
{ immediate: !0, deep: !0 }
|
|
5186
5217
|
);
|
|
5187
|
-
},
|
|
5188
|
-
|
|
5218
|
+
}, Pu = () => ne(
|
|
5219
|
+
xi,
|
|
5189
5220
|
h(() => wn.value || {})
|
|
5190
|
-
),
|
|
5221
|
+
), Eu = H({
|
|
5191
5222
|
props: {
|
|
5192
5223
|
value: be()
|
|
5193
5224
|
},
|
|
5194
5225
|
setup(e, { slots: t }) {
|
|
5195
|
-
return
|
|
5226
|
+
return Au(h(() => e.value)), () => {
|
|
5196
5227
|
var n;
|
|
5197
5228
|
return (n = t.default) == null ? void 0 : n.call(t);
|
|
5198
5229
|
};
|
|
5199
5230
|
}
|
|
5200
|
-
}),
|
|
5201
|
-
fe(
|
|
5231
|
+
}), $i = Symbol("ActionButtonContext"), Tn = J(), Mu = (e) => {
|
|
5232
|
+
fe($i, e), R(
|
|
5202
5233
|
e,
|
|
5203
5234
|
() => {
|
|
5204
5235
|
Tn.value = O(e), ye(Tn);
|
|
@@ -5206,19 +5237,19 @@ const Dd = /* @__PURE__ */ I({
|
|
|
5206
5237
|
{ immediate: !0, deep: !0 }
|
|
5207
5238
|
);
|
|
5208
5239
|
}, rr = () => ne(
|
|
5209
|
-
|
|
5240
|
+
$i,
|
|
5210
5241
|
h(() => Tn.value || {})
|
|
5211
|
-
),
|
|
5242
|
+
), Iu = H({
|
|
5212
5243
|
props: {
|
|
5213
5244
|
value: be()
|
|
5214
5245
|
},
|
|
5215
5246
|
setup(e, { slots: t }) {
|
|
5216
|
-
return
|
|
5247
|
+
return Mu(h(() => e.value)), () => {
|
|
5217
5248
|
var n;
|
|
5218
5249
|
return (n = t.default) == null ? void 0 : n.call(t);
|
|
5219
5250
|
};
|
|
5220
5251
|
}
|
|
5221
|
-
}), zt = /* @__PURE__ */
|
|
5252
|
+
}), zt = /* @__PURE__ */ H({
|
|
5222
5253
|
name: "AXSenderActionButton",
|
|
5223
5254
|
__name: "index",
|
|
5224
5255
|
props: {
|
|
@@ -5227,7 +5258,7 @@ const Dd = /* @__PURE__ */ I({
|
|
|
5227
5258
|
setup(e) {
|
|
5228
5259
|
const t = se(e, ["action", "onClick"]);
|
|
5229
5260
|
G(e, "onClick");
|
|
5230
|
-
const n =
|
|
5261
|
+
const n = It(), r = rr(), o = h(() => {
|
|
5231
5262
|
var s;
|
|
5232
5263
|
return r.value.disabled ?? t.disabled ?? ((s = r.value) == null ? void 0 : s[`${e.action}Disabled`]);
|
|
5233
5264
|
}), i = h(() => r.value.prefixCls), a = h(() => {
|
|
@@ -5247,7 +5278,7 @@ const Dd = /* @__PURE__ */ I({
|
|
|
5247
5278
|
icon: () => n.default()
|
|
5248
5279
|
});
|
|
5249
5280
|
}
|
|
5250
|
-
}), Hu = /* @__PURE__ */
|
|
5281
|
+
}), Hu = /* @__PURE__ */ H({
|
|
5251
5282
|
name: "AXSenderClearButton",
|
|
5252
5283
|
__name: "ClearButton",
|
|
5253
5284
|
props: {
|
|
@@ -5290,7 +5321,7 @@ const Dd = /* @__PURE__ */ I({
|
|
|
5290
5321
|
default: () => [u(Wn, null, null)]
|
|
5291
5322
|
});
|
|
5292
5323
|
}
|
|
5293
|
-
}),
|
|
5324
|
+
}), Nu = /* @__PURE__ */ H({
|
|
5294
5325
|
name: "AXSenderStopLoading",
|
|
5295
5326
|
__name: "StopLoading",
|
|
5296
5327
|
props: {
|
|
@@ -5337,7 +5368,7 @@ const Dd = /* @__PURE__ */ I({
|
|
|
5337
5368
|
type: "rotate"
|
|
5338
5369
|
}, null)])]);
|
|
5339
5370
|
}
|
|
5340
|
-
}), so = /* @__PURE__ */
|
|
5371
|
+
}), so = /* @__PURE__ */ H({
|
|
5341
5372
|
name: "AXSenderLoadingButton",
|
|
5342
5373
|
__name: "LoadingButton",
|
|
5343
5374
|
props: {
|
|
@@ -5382,12 +5413,12 @@ const Dd = /* @__PURE__ */ I({
|
|
|
5382
5413
|
class: A(`${n.value.prefixCls}-loading-button`),
|
|
5383
5414
|
action: "onCancel"
|
|
5384
5415
|
}), {
|
|
5385
|
-
default: () => [u(
|
|
5416
|
+
default: () => [u(Nu, {
|
|
5386
5417
|
className: `${n.value.prefixCls}-loading-icon`
|
|
5387
5418
|
}, null)]
|
|
5388
5419
|
});
|
|
5389
5420
|
}
|
|
5390
|
-
}), co = /* @__PURE__ */
|
|
5421
|
+
}), co = /* @__PURE__ */ H({
|
|
5391
5422
|
name: "AXSenderLoadingButton",
|
|
5392
5423
|
__name: "SendButton",
|
|
5393
5424
|
props: {
|
|
@@ -5433,7 +5464,7 @@ const Dd = /* @__PURE__ */ I({
|
|
|
5433
5464
|
default: () => [u(Fn, null, null)]
|
|
5434
5465
|
});
|
|
5435
5466
|
}
|
|
5436
|
-
}), Ze = 1e3, Ye = 4, yt = 140, bt = 250, uo = 500, St = 0.8,
|
|
5467
|
+
}), Ze = 1e3, Ye = 4, yt = 140, bt = 250, uo = 500, St = 0.8, Ru = /* @__PURE__ */ H({
|
|
5437
5468
|
name: "AXSenderRecordingIcon",
|
|
5438
5469
|
__name: "RecordingIcon",
|
|
5439
5470
|
props: {
|
|
@@ -5477,7 +5508,7 @@ const Dd = /* @__PURE__ */ I({
|
|
|
5477
5508
|
}, null)]);
|
|
5478
5509
|
})]);
|
|
5479
5510
|
}
|
|
5480
|
-
}),
|
|
5511
|
+
}), Bu = /* @__PURE__ */ H({
|
|
5481
5512
|
name: "AXSenderSpeechButton",
|
|
5482
5513
|
__name: "index",
|
|
5483
5514
|
props: {
|
|
@@ -5516,7 +5547,7 @@ const Dd = /* @__PURE__ */ I({
|
|
|
5516
5547
|
const t = rr(), n = e, r = h(() => {
|
|
5517
5548
|
const o = t.value.speechRecording, i = t.value.onSpeechDisabled, a = t.value.prefixCls;
|
|
5518
5549
|
let l;
|
|
5519
|
-
return o ? l = u(
|
|
5550
|
+
return o ? l = u(Ru, {
|
|
5520
5551
|
className: `${a}-recording-icon`
|
|
5521
5552
|
}, null) : i ? l = u(Xn, null, null) : l = u(Vn, null, null), l;
|
|
5522
5553
|
});
|
|
@@ -5568,7 +5599,7 @@ const Dd = /* @__PURE__ */ I({
|
|
|
5568
5599
|
}
|
|
5569
5600
|
}
|
|
5570
5601
|
};
|
|
5571
|
-
},
|
|
5602
|
+
}, zu = (e) => {
|
|
5572
5603
|
const { componentCls: t, padding: n, paddingSM: r, paddingXS: o, lineWidth: i, lineWidthBold: a, calc: l } = e;
|
|
5573
5604
|
return {
|
|
5574
5605
|
[t]: {
|
|
@@ -5667,19 +5698,19 @@ const Dd = /* @__PURE__ */ I({
|
|
|
5667
5698
|
}
|
|
5668
5699
|
}
|
|
5669
5700
|
};
|
|
5670
|
-
},
|
|
5701
|
+
}, ju = () => ({}), Du = we(
|
|
5671
5702
|
"Sender",
|
|
5672
5703
|
(e) => {
|
|
5673
5704
|
const { paddingXS: t, calc: n } = e, r = he(e, {
|
|
5674
5705
|
SenderContentMaxWidth: `calc(100% - ${ae(n(t).add(32).equal())})`
|
|
5675
5706
|
});
|
|
5676
|
-
return [
|
|
5707
|
+
return [zu(r), Lu(r)];
|
|
5677
5708
|
},
|
|
5678
|
-
|
|
5709
|
+
ju
|
|
5679
5710
|
);
|
|
5680
5711
|
let Mt;
|
|
5681
5712
|
!Mt && typeof window < "u" && (Mt = window.SpeechRecognition || window.webkitSpeechRecognition);
|
|
5682
|
-
function
|
|
5713
|
+
function Fu(e, t) {
|
|
5683
5714
|
const n = lt(e), r = h(() => typeof t == "object" ? {
|
|
5684
5715
|
controlledRecording: t.recording,
|
|
5685
5716
|
onControlledRecordingChange: t.onRecordingChange,
|
|
@@ -5688,7 +5719,7 @@ function Du(e, t) {
|
|
|
5688
5719
|
controlledRecording: void 0,
|
|
5689
5720
|
onControlledRecordingChange: void 0,
|
|
5690
5721
|
speechInControlled: !1
|
|
5691
|
-
}), o = h(() => r.value.controlledRecording), i = r.value.onControlledRecordingChange, a = r.value.speechInControlled, l =
|
|
5722
|
+
}), o = h(() => r.value.controlledRecording), i = r.value.onControlledRecordingChange, a = r.value.speechInControlled, l = B(null);
|
|
5692
5723
|
ke(() => {
|
|
5693
5724
|
if (typeof navigator < "u" && "permissions" in navigator) {
|
|
5694
5725
|
let m = null;
|
|
@@ -5701,9 +5732,9 @@ function Du(e, t) {
|
|
|
5701
5732
|
};
|
|
5702
5733
|
}
|
|
5703
5734
|
});
|
|
5704
|
-
const s = h(() => Mt && l.value !== "denied"), c =
|
|
5735
|
+
const s = h(() => Mt && l.value !== "denied"), c = B(null), [f, d] = nr(!1, {
|
|
5705
5736
|
value: o
|
|
5706
|
-
}), g =
|
|
5737
|
+
}), g = B(!1), v = () => {
|
|
5707
5738
|
if (s.value && !c.value) {
|
|
5708
5739
|
const m = new Mt();
|
|
5709
5740
|
m.onstart = () => {
|
|
@@ -5724,7 +5755,7 @@ function Du(e, t) {
|
|
|
5724
5755
|
});
|
|
5725
5756
|
return { speechPermission: s, triggerSpeech: p, recording: f };
|
|
5726
5757
|
}
|
|
5727
|
-
function
|
|
5758
|
+
function Xu(e, t) {
|
|
5728
5759
|
for (var n = e, r = 0; r < t.length; r += 1) {
|
|
5729
5760
|
if (n == null)
|
|
5730
5761
|
return;
|
|
@@ -5732,7 +5763,7 @@ function Fu(e, t) {
|
|
|
5732
5763
|
}
|
|
5733
5764
|
return n;
|
|
5734
5765
|
}
|
|
5735
|
-
const
|
|
5766
|
+
const Vu = /* @__PURE__ */ H({
|
|
5736
5767
|
name: "AXSender",
|
|
5737
5768
|
__name: "Sender",
|
|
5738
5769
|
props: {
|
|
@@ -5782,26 +5813,26 @@ const Xu = /* @__PURE__ */ I({
|
|
|
5782
5813
|
}) {
|
|
5783
5814
|
const n = se(e, ["prefixCls", "styles", "classNames", "className", "rootClassName", "style", "defaultValue", "value", "readOnly", "submitType", "onSubmit", "loading", "components", "onCancel", "onChange", "actions", "onKeyPress", "onKeyDown", "disabled", "allowSpeech", "prefix", "header", "onPaste", "onPasteFile"]);
|
|
5784
5815
|
G(e, "prefixCls");
|
|
5785
|
-
function r(
|
|
5786
|
-
return
|
|
5816
|
+
function r(I, V, Y) {
|
|
5817
|
+
return Xu(I, V) || Y;
|
|
5787
5818
|
}
|
|
5788
5819
|
const {
|
|
5789
5820
|
direction: o,
|
|
5790
5821
|
getPrefixCls: i
|
|
5791
|
-
} = _(), a = h(() => i("sender", e.prefixCls)), l =
|
|
5822
|
+
} = _(), a = h(() => i("sender", e.prefixCls)), l = B(null), s = B(null), c = $e("sender"), f = `${a.value}-input`, [d, g, v] = Du(a.value), p = h(() => A(a.value, c.value.className, e.className, e.rootClassName, g, v, {
|
|
5792
5823
|
[`${a.value}-rtl`]: o.value === "rtl",
|
|
5793
5824
|
[`${a.value}-disabled`]: e.disabled
|
|
5794
5825
|
})), m = h(() => `${a.value}-actions-btn`), b = h(() => `${a.value}-actions-list`), [S, $] = nr(e.defaultValue || "", {
|
|
5795
5826
|
value: h(() => e.value)
|
|
5796
|
-
}), C = (
|
|
5797
|
-
$(
|
|
5827
|
+
}), C = (I, V) => {
|
|
5828
|
+
$(I), e.onChange && e.onChange(I, V);
|
|
5798
5829
|
}, {
|
|
5799
5830
|
speechPermission: x,
|
|
5800
5831
|
triggerSpeech: T,
|
|
5801
5832
|
recording: w
|
|
5802
|
-
} =
|
|
5803
|
-
C(`${S.value} ${
|
|
5804
|
-
}, e.allowSpeech), y = r(e.components, ["input"],
|
|
5833
|
+
} = Fu((I) => {
|
|
5834
|
+
C(`${S.value} ${I}`);
|
|
5835
|
+
}, e.allowSpeech), y = r(e.components, ["input"], Ki.TextArea), M = h(() => qe(n, {
|
|
5805
5836
|
attr: !0,
|
|
5806
5837
|
aria: !0,
|
|
5807
5838
|
data: !0
|
|
@@ -5812,53 +5843,53 @@ const Xu = /* @__PURE__ */ I({
|
|
|
5812
5843
|
S.value && e.onSubmit && !e.loading && e.onSubmit(S.value);
|
|
5813
5844
|
}, N = () => {
|
|
5814
5845
|
C("");
|
|
5815
|
-
}, X =
|
|
5846
|
+
}, X = B(!1), j = () => {
|
|
5816
5847
|
X.value = !0;
|
|
5817
|
-
},
|
|
5848
|
+
}, L = () => {
|
|
5818
5849
|
X.value = !1;
|
|
5819
|
-
}, Z = (
|
|
5820
|
-
const V =
|
|
5850
|
+
}, Z = (I) => {
|
|
5851
|
+
const V = I.key === "Enter" && !X.value;
|
|
5821
5852
|
switch (e.submitType) {
|
|
5822
5853
|
case "enter":
|
|
5823
|
-
V && !
|
|
5854
|
+
V && !I.shiftKey && (I.preventDefault(), E());
|
|
5824
5855
|
break;
|
|
5825
5856
|
case "shiftEnter":
|
|
5826
|
-
V &&
|
|
5857
|
+
V && I.shiftKey && (I.preventDefault(), E());
|
|
5827
5858
|
break;
|
|
5828
5859
|
}
|
|
5829
|
-
e.onKeyPress && e.onKeyPress(
|
|
5830
|
-
}, re = (
|
|
5860
|
+
e.onKeyPress && e.onKeyPress(I);
|
|
5861
|
+
}, re = (I) => {
|
|
5831
5862
|
var Y, dt;
|
|
5832
|
-
const V = (Y =
|
|
5833
|
-
V && e.onPasteFile && (e.onPasteFile(V),
|
|
5834
|
-
}, Ne = (
|
|
5863
|
+
const V = (Y = I.clipboardData) == null ? void 0 : Y.files[0];
|
|
5864
|
+
V && e.onPasteFile && (e.onPasteFile(V), I.preventDefault()), (dt = e.onPaste) == null || dt.call(e, I);
|
|
5865
|
+
}, Ne = (I) => {
|
|
5835
5866
|
var V, Y;
|
|
5836
|
-
|
|
5867
|
+
I.target !== ((V = l.value) == null ? void 0 : V.querySelector(`.${f}`)) && I.preventDefault(), (Y = s.value) == null || Y.focus();
|
|
5837
5868
|
}, Dt = h(() => {
|
|
5838
|
-
let
|
|
5869
|
+
let I = u(_e, {
|
|
5839
5870
|
class: `${b.value}-presets`
|
|
5840
5871
|
}, {
|
|
5841
|
-
default: () => [e.allowSpeech && u(
|
|
5872
|
+
default: () => [e.allowSpeech && u(Bu, null, null), e.loading ? u(so, null, null) : u(co, null, null)]
|
|
5842
5873
|
});
|
|
5843
|
-
return typeof e.actions == "function" ?
|
|
5874
|
+
return typeof e.actions == "function" ? I = e.actions(I, {
|
|
5844
5875
|
components: {
|
|
5845
5876
|
SendButton: co,
|
|
5846
5877
|
ClearButton: Hu,
|
|
5847
5878
|
LoadingButton: so
|
|
5848
5879
|
}
|
|
5849
|
-
}) : e.actions && (
|
|
5880
|
+
}) : e.actions && (I = e.actions), I;
|
|
5850
5881
|
});
|
|
5851
5882
|
return t({
|
|
5852
5883
|
nativeElement: l.value,
|
|
5853
5884
|
// @ts-expect-error
|
|
5854
|
-
focus: (
|
|
5885
|
+
focus: (I) => {
|
|
5855
5886
|
var V;
|
|
5856
|
-
return (V = s.value) == null ? void 0 : V.focus(
|
|
5887
|
+
return (V = s.value) == null ? void 0 : V.focus(I);
|
|
5857
5888
|
},
|
|
5858
5889
|
// @ts-expect-error
|
|
5859
5890
|
blur: () => {
|
|
5860
|
-
var
|
|
5861
|
-
return (
|
|
5891
|
+
var I;
|
|
5892
|
+
return (I = s.value) == null ? void 0 : I.blur();
|
|
5862
5893
|
}
|
|
5863
5894
|
}), () => d(u("div", {
|
|
5864
5895
|
ref: l,
|
|
@@ -5867,7 +5898,7 @@ const Xu = /* @__PURE__ */ I({
|
|
|
5867
5898
|
...c.value.style,
|
|
5868
5899
|
...e.style
|
|
5869
5900
|
}
|
|
5870
|
-
}, [e.header && u(
|
|
5901
|
+
}, [e.header && u(Eu, {
|
|
5871
5902
|
value: {
|
|
5872
5903
|
prefixCls: a.value
|
|
5873
5904
|
}
|
|
@@ -5893,12 +5924,12 @@ const Xu = /* @__PURE__ */ I({
|
|
|
5893
5924
|
maxRows: 8
|
|
5894
5925
|
},
|
|
5895
5926
|
value: S.value,
|
|
5896
|
-
onChange: (
|
|
5897
|
-
C(
|
|
5927
|
+
onChange: (I) => {
|
|
5928
|
+
C(I.target.value, I), T(!0);
|
|
5898
5929
|
},
|
|
5899
5930
|
onPressEnter: Z,
|
|
5900
5931
|
onCompositionstart: j,
|
|
5901
|
-
onCompositionend:
|
|
5932
|
+
onCompositionend: L,
|
|
5902
5933
|
onKeydown: e.onKeyDown,
|
|
5903
5934
|
onPaste: re,
|
|
5904
5935
|
bordered: !1,
|
|
@@ -5909,7 +5940,7 @@ const Xu = /* @__PURE__ */ I({
|
|
|
5909
5940
|
...c.value.styles.actions,
|
|
5910
5941
|
...e.styles.actions
|
|
5911
5942
|
}
|
|
5912
|
-
}, [u(
|
|
5943
|
+
}, [u(Iu, {
|
|
5913
5944
|
value: {
|
|
5914
5945
|
prefixCls: m.value,
|
|
5915
5946
|
onSend: E,
|
|
@@ -5927,7 +5958,7 @@ const Xu = /* @__PURE__ */ I({
|
|
|
5927
5958
|
default: () => [Dt.value]
|
|
5928
5959
|
})])])]));
|
|
5929
5960
|
}
|
|
5930
|
-
}),
|
|
5961
|
+
}), Wu = /* @__PURE__ */ H({
|
|
5931
5962
|
name: "AXSenderHeader",
|
|
5932
5963
|
__name: "SenderHeader",
|
|
5933
5964
|
props: le({
|
|
@@ -5955,7 +5986,7 @@ const Xu = /* @__PURE__ */ I({
|
|
|
5955
5986
|
}),
|
|
5956
5987
|
setup(e) {
|
|
5957
5988
|
G(e, "classNames");
|
|
5958
|
-
const t =
|
|
5989
|
+
const t = It(), n = Pu(), r = h(() => `${n.value.prefixCls}-header`);
|
|
5959
5990
|
return () => {
|
|
5960
5991
|
var o;
|
|
5961
5992
|
return e.open && u("div", {
|
|
@@ -5993,10 +6024,10 @@ const Xu = /* @__PURE__ */ I({
|
|
|
5993
6024
|
}, [(o = t.default) == null ? void 0 : o.call(t)])]);
|
|
5994
6025
|
};
|
|
5995
6026
|
}
|
|
5996
|
-
}),
|
|
5997
|
-
Header:
|
|
5998
|
-
}),
|
|
5999
|
-
fe(
|
|
6027
|
+
}), Xd = Object.assign(Vu, {
|
|
6028
|
+
Header: Wu
|
|
6029
|
+
}), wi = Symbol("AttachmentContext"), On = J(), ku = (e) => {
|
|
6030
|
+
fe(wi, e), R(
|
|
6000
6031
|
e,
|
|
6001
6032
|
() => {
|
|
6002
6033
|
On.value = O(e), ye(On);
|
|
@@ -6004,20 +6035,20 @@ const Xu = /* @__PURE__ */ I({
|
|
|
6004
6035
|
{ immediate: !0, deep: !0 }
|
|
6005
6036
|
);
|
|
6006
6037
|
}, jt = () => ne(
|
|
6007
|
-
|
|
6038
|
+
wi,
|
|
6008
6039
|
h(() => On.value || {})
|
|
6009
|
-
),
|
|
6040
|
+
), Gu = H({
|
|
6010
6041
|
inheritAttrs: !1,
|
|
6011
6042
|
props: {
|
|
6012
6043
|
value: be()
|
|
6013
6044
|
},
|
|
6014
6045
|
setup(e, { slots: t }) {
|
|
6015
|
-
return
|
|
6046
|
+
return ku(h(() => e.value)), () => {
|
|
6016
6047
|
var n;
|
|
6017
6048
|
return (n = t.default) == null ? void 0 : n.call(t);
|
|
6018
6049
|
};
|
|
6019
6050
|
}
|
|
6020
|
-
}),
|
|
6051
|
+
}), Uu = /* @__PURE__ */ H({
|
|
6021
6052
|
name: "AXAttachmentsPlaceholderUploader",
|
|
6022
6053
|
__name: "PlaceholderUploader",
|
|
6023
6054
|
props: le({
|
|
@@ -6042,7 +6073,7 @@ const Xu = /* @__PURE__ */ I({
|
|
|
6042
6073
|
t({
|
|
6043
6074
|
nativeElement: o
|
|
6044
6075
|
});
|
|
6045
|
-
const d = h(() =>
|
|
6076
|
+
const d = h(() => In(e.placeholder) ? e.placeholder : u(_e, {
|
|
6046
6077
|
align: "center",
|
|
6047
6078
|
justify: "center",
|
|
6048
6079
|
vertical: !0,
|
|
@@ -6087,7 +6118,7 @@ const Xu = /* @__PURE__ */ I({
|
|
|
6087
6118
|
default: () => [d.value]
|
|
6088
6119
|
})]);
|
|
6089
6120
|
}
|
|
6090
|
-
}), fo = /* @__PURE__ */
|
|
6121
|
+
}), fo = /* @__PURE__ */ H({
|
|
6091
6122
|
name: "AXAttachmentsDropArea",
|
|
6092
6123
|
__name: "DropArea",
|
|
6093
6124
|
props: {
|
|
@@ -6121,7 +6152,7 @@ const Xu = /* @__PURE__ */ I({
|
|
|
6121
6152
|
}
|
|
6122
6153
|
});
|
|
6123
6154
|
const a = h(() => e.getDropContainer && n.value && !t.value.disabled), l = `${e.prefixCls}-drop-area`;
|
|
6124
|
-
return () => a.value ? u(
|
|
6155
|
+
return () => a.value ? u(Di, {
|
|
6125
6156
|
to: n.value
|
|
6126
6157
|
}, {
|
|
6127
6158
|
default: () => [u("div", {
|
|
@@ -6134,7 +6165,7 @@ const Xu = /* @__PURE__ */ I({
|
|
|
6134
6165
|
}, [e.children])]
|
|
6135
6166
|
}) : null;
|
|
6136
6167
|
}
|
|
6137
|
-
}),
|
|
6168
|
+
}), Ti = /* @__PURE__ */ H({
|
|
6138
6169
|
name: "AXAttachmentsSilentUploader",
|
|
6139
6170
|
__name: "SilentUploader",
|
|
6140
6171
|
props: {
|
|
@@ -6155,12 +6186,12 @@ const Xu = /* @__PURE__ */ I({
|
|
|
6155
6186
|
default: () => [e.children]
|
|
6156
6187
|
});
|
|
6157
6188
|
}
|
|
6158
|
-
}),
|
|
6189
|
+
}), Oi = (e, t) => {
|
|
6159
6190
|
const n = e.__vccOpts || e;
|
|
6160
6191
|
for (const [r, o] of t)
|
|
6161
6192
|
n[r] = o;
|
|
6162
6193
|
return n;
|
|
6163
|
-
},
|
|
6194
|
+
}, qu = {}, Ku = {
|
|
6164
6195
|
width: "1em",
|
|
6165
6196
|
height: "1em",
|
|
6166
6197
|
viewBox: "0 0 16 16",
|
|
@@ -6168,8 +6199,8 @@ const Xu = /* @__PURE__ */ I({
|
|
|
6168
6199
|
xmlns: "http://www.w3.org/2000/svg",
|
|
6169
6200
|
xmlnsXlink: "http://www.w3.org/1999/xlink"
|
|
6170
6201
|
};
|
|
6171
|
-
function
|
|
6172
|
-
return So(), Co("svg",
|
|
6202
|
+
function Zu(e, t) {
|
|
6203
|
+
return So(), Co("svg", Ku, t[0] || (t[0] = [
|
|
6173
6204
|
je("title", null, "audio", -1),
|
|
6174
6205
|
je("g", {
|
|
6175
6206
|
stroke: "none",
|
|
@@ -6184,7 +6215,7 @@ function Ku(e, t) {
|
|
|
6184
6215
|
], -1)
|
|
6185
6216
|
]));
|
|
6186
6217
|
}
|
|
6187
|
-
const
|
|
6218
|
+
const Yu = /* @__PURE__ */ Oi(qu, [["render", Zu]]), Qu = {}, Ju = {
|
|
6188
6219
|
width: "1em",
|
|
6189
6220
|
height: "1em",
|
|
6190
6221
|
viewBox: "0 0 16 16",
|
|
@@ -6192,8 +6223,8 @@ const Zu = /* @__PURE__ */ Ti(Uu, [["render", Ku]]), Yu = {}, Qu = {
|
|
|
6192
6223
|
xmlns: "http://www.w3.org/2000/svg",
|
|
6193
6224
|
xmlnsXlink: "http://www.w3.org/1999/xlink"
|
|
6194
6225
|
};
|
|
6195
|
-
function
|
|
6196
|
-
return So(), Co("svg",
|
|
6226
|
+
function _u(e, t) {
|
|
6227
|
+
return So(), Co("svg", Ju, t[0] || (t[0] = [
|
|
6197
6228
|
je("title", null, "video", -1),
|
|
6198
6229
|
je("g", {
|
|
6199
6230
|
stroke: "none",
|
|
@@ -6208,10 +6239,10 @@ function Ju(e, t) {
|
|
|
6208
6239
|
], -1)
|
|
6209
6240
|
]));
|
|
6210
6241
|
}
|
|
6211
|
-
const
|
|
6212
|
-
function
|
|
6242
|
+
const ed = /* @__PURE__ */ Oi(Qu, [["render", _u]]), td = (e) => e.indexOf("image/") === 0, Ct = 200;
|
|
6243
|
+
function nd(e) {
|
|
6213
6244
|
return new Promise((t) => {
|
|
6214
|
-
if (!e || !e.type || !
|
|
6245
|
+
if (!e || !e.type || !td(e.type)) {
|
|
6215
6246
|
t("");
|
|
6216
6247
|
return;
|
|
6217
6248
|
}
|
|
@@ -6243,7 +6274,7 @@ function st(e) {
|
|
|
6243
6274
|
return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
|
|
6244
6275
|
}, st(e);
|
|
6245
6276
|
}
|
|
6246
|
-
function
|
|
6277
|
+
function rd(e, t) {
|
|
6247
6278
|
if (st(e) != "object" || !e) return e;
|
|
6248
6279
|
var n = e[Symbol.toPrimitive];
|
|
6249
6280
|
if (n !== void 0) {
|
|
@@ -6253,12 +6284,12 @@ function nd(e, t) {
|
|
|
6253
6284
|
}
|
|
6254
6285
|
return (t === "string" ? String : Number)(e);
|
|
6255
6286
|
}
|
|
6256
|
-
function
|
|
6257
|
-
var t =
|
|
6287
|
+
function od(e) {
|
|
6288
|
+
var t = rd(e, "string");
|
|
6258
6289
|
return st(t) == "symbol" ? t : t + "";
|
|
6259
6290
|
}
|
|
6260
6291
|
function ee(e, t, n) {
|
|
6261
|
-
return (t =
|
|
6292
|
+
return (t = od(t)) in e ? Object.defineProperty(e, t, {
|
|
6262
6293
|
value: n,
|
|
6263
6294
|
enumerable: !0,
|
|
6264
6295
|
configurable: !0,
|
|
@@ -6587,7 +6618,7 @@ class or {
|
|
|
6587
6618
|
this.r = n[0], this.g = n[1], this.b = n[2], this.a = n[3];
|
|
6588
6619
|
}
|
|
6589
6620
|
}
|
|
6590
|
-
const
|
|
6621
|
+
const id = (e) => {
|
|
6591
6622
|
const { componentCls: t, calc: n } = e, r = `${t}-list-card`, o = n(e.fontSize).mul(e.lineHeight).mul(2).add(e.paddingSM).add(e.paddingSM).equal();
|
|
6592
6623
|
return {
|
|
6593
6624
|
[r]: {
|
|
@@ -6739,7 +6770,7 @@ const od = (e) => {
|
|
|
6739
6770
|
"&, *": {
|
|
6740
6771
|
boxSizing: "border-box"
|
|
6741
6772
|
}
|
|
6742
|
-
},
|
|
6773
|
+
}, ad = (e) => {
|
|
6743
6774
|
const { componentCls: t, calc: n, antCls: r } = e, o = `${t}-drop-area`, i = `${t}-placeholder`;
|
|
6744
6775
|
return {
|
|
6745
6776
|
// ============================== Full Screen ==============================
|
|
@@ -6800,7 +6831,7 @@ const od = (e) => {
|
|
|
6800
6831
|
}
|
|
6801
6832
|
}
|
|
6802
6833
|
};
|
|
6803
|
-
},
|
|
6834
|
+
}, ld = (e) => {
|
|
6804
6835
|
const { componentCls: t, calc: n } = e, r = `${t}-list`, o = n(e.fontSize).mul(e.lineHeight).mul(2).add(e.paddingSM).add(e.paddingSM).equal();
|
|
6805
6836
|
return {
|
|
6806
6837
|
[t]: {
|
|
@@ -6938,23 +6969,23 @@ const od = (e) => {
|
|
|
6938
6969
|
}
|
|
6939
6970
|
}
|
|
6940
6971
|
};
|
|
6941
|
-
},
|
|
6972
|
+
}, sd = (e) => {
|
|
6942
6973
|
const { colorBgContainer: t } = e;
|
|
6943
6974
|
return {
|
|
6944
6975
|
colorBgPlaceholderHover: new or(t).setA(0.85).toRgbString()
|
|
6945
6976
|
};
|
|
6946
|
-
},
|
|
6977
|
+
}, Ai = we(
|
|
6947
6978
|
"Attachments",
|
|
6948
6979
|
(e) => {
|
|
6949
6980
|
const t = he(e, {});
|
|
6950
6981
|
return [
|
|
6951
|
-
id(t),
|
|
6952
6982
|
ad(t),
|
|
6953
|
-
|
|
6983
|
+
ld(t),
|
|
6984
|
+
id(t)
|
|
6954
6985
|
];
|
|
6955
6986
|
},
|
|
6956
|
-
|
|
6957
|
-
), en = " ", tn = "#8c8c8c",
|
|
6987
|
+
sd
|
|
6988
|
+
), en = " ", tn = "#8c8c8c", Pi = /* @__PURE__ */ H({
|
|
6958
6989
|
name: "AXAttachmentsFileListCard",
|
|
6959
6990
|
__name: "FileListCard",
|
|
6960
6991
|
props: {
|
|
@@ -6999,42 +7030,42 @@ const od = (e) => {
|
|
|
6999
7030
|
color: "#fab714",
|
|
7000
7031
|
ext: ["zip", "rar", "7z", "tar", "gz"]
|
|
7001
7032
|
}, {
|
|
7002
|
-
icon: u(
|
|
7033
|
+
icon: u(ed, null, null),
|
|
7003
7034
|
color: "#ff4d4f",
|
|
7004
7035
|
ext: ["mp4", "avi", "mov", "wmv", "flv", "mkv"]
|
|
7005
7036
|
}, {
|
|
7006
|
-
icon: u(
|
|
7037
|
+
icon: u(Yu, null, null),
|
|
7007
7038
|
color: "#8c8c8c",
|
|
7008
7039
|
ext: ["mp3", "wav", "flac", "ape", "aac", "ogg"]
|
|
7009
7040
|
}];
|
|
7010
|
-
function o(j,
|
|
7011
|
-
return
|
|
7041
|
+
function o(j, L) {
|
|
7042
|
+
return L.some((Z) => j.toLowerCase() === `.${Z}`);
|
|
7012
7043
|
}
|
|
7013
7044
|
function i(j) {
|
|
7014
|
-
let
|
|
7045
|
+
let L = j;
|
|
7015
7046
|
const Z = ["B", "KB", "MB", "GB", "TB", "PB", "EB"];
|
|
7016
7047
|
let re = 0;
|
|
7017
|
-
for (;
|
|
7018
|
-
|
|
7019
|
-
return `${
|
|
7048
|
+
for (; L >= 1024 && re < Z.length - 1; )
|
|
7049
|
+
L /= 1024, re++;
|
|
7050
|
+
return `${L.toFixed(0)} ${Z[re]}`;
|
|
7020
7051
|
}
|
|
7021
7052
|
const a = jt(), l = h(() => a.value.disabled), s = h(() => e.item.name), c = h(() => e.item.size), f = h(() => e.item.percent), d = h(() => e.item.status || "done"), g = h(() => e.item.description), {
|
|
7022
7053
|
getPrefixCls: v
|
|
7023
|
-
} = _(), p = h(() => v("attachment", e.prefixCls)), m = `${p.value}-list-card`, [b, S, $] =
|
|
7024
|
-
const j = s.value || "",
|
|
7054
|
+
} = _(), p = h(() => v("attachment", e.prefixCls)), m = `${p.value}-list-card`, [b, S, $] = Ai(p), C = Fe("file-list-card-container"), x = h(() => {
|
|
7055
|
+
const j = s.value || "", L = j.match(/^(.*)\.[^.]+$/);
|
|
7025
7056
|
return {
|
|
7026
|
-
namePrefix:
|
|
7027
|
-
nameSuffix:
|
|
7057
|
+
namePrefix: L ? L[1] : j,
|
|
7058
|
+
nameSuffix: L ? j.slice(L[1].length) : ""
|
|
7028
7059
|
};
|
|
7029
7060
|
}), T = h(() => o(x.value.nameSuffix, n)), w = h(() => g.value ? g.value : d.value === "uploading" ? `${f.value || 0}%` : d.value === "error" ? e.item.response || en : c.value ? i(c.value) : en), y = h(() => {
|
|
7030
7061
|
for (const {
|
|
7031
7062
|
ext: j,
|
|
7032
|
-
icon:
|
|
7063
|
+
icon: L,
|
|
7033
7064
|
color: Z
|
|
7034
7065
|
} of r)
|
|
7035
7066
|
if (o(x.value.nameSuffix, j))
|
|
7036
7067
|
return {
|
|
7037
|
-
icon:
|
|
7068
|
+
icon: L,
|
|
7038
7069
|
iconColor: Z
|
|
7039
7070
|
};
|
|
7040
7071
|
return {
|
|
@@ -7047,8 +7078,8 @@ const od = (e) => {
|
|
|
7047
7078
|
R(() => e.item.originFileObj, () => {
|
|
7048
7079
|
if (e.item.originFileObj) {
|
|
7049
7080
|
let j = !0;
|
|
7050
|
-
|
|
7051
|
-
j && P(
|
|
7081
|
+
nd(e.item.originFileObj).then((L) => {
|
|
7082
|
+
j && P(L);
|
|
7052
7083
|
}), ct(() => {
|
|
7053
7084
|
j = !1;
|
|
7054
7085
|
});
|
|
@@ -7062,7 +7093,7 @@ const od = (e) => {
|
|
|
7062
7093
|
src: E.value
|
|
7063
7094
|
}, null), d.value !== "done" && u("div", {
|
|
7064
7095
|
class: `${m}-img-mask`
|
|
7065
|
-
}, [d.value === "uploading" && f.value !== void 0 && u(
|
|
7096
|
+
}, [d.value === "uploading" && f.value !== void 0 && u(Zi, {
|
|
7066
7097
|
percent: f.value,
|
|
7067
7098
|
prefixCls: m
|
|
7068
7099
|
}, null), d.value === "error" && u("div", {
|
|
@@ -7105,7 +7136,7 @@ const od = (e) => {
|
|
|
7105
7136
|
}
|
|
7106
7137
|
}, [u(kn, null, null)])]));
|
|
7107
7138
|
}
|
|
7108
|
-
}), go = 1,
|
|
7139
|
+
}), go = 1, cd = /* @__PURE__ */ H({
|
|
7109
7140
|
name: "AXAttachmentsFileList",
|
|
7110
7141
|
__name: "FileList",
|
|
7111
7142
|
props: {
|
|
@@ -7157,7 +7188,7 @@ const od = (e) => {
|
|
|
7157
7188
|
ref: "file-list-container",
|
|
7158
7189
|
onScroll: f,
|
|
7159
7190
|
style: e.listStyle
|
|
7160
|
-
}, [e.items.map((p) => u(
|
|
7191
|
+
}, [e.items.map((p) => u(Pi, {
|
|
7161
7192
|
key: p.uid,
|
|
7162
7193
|
prefixCls: e.prefixCls,
|
|
7163
7194
|
item: p,
|
|
@@ -7166,7 +7197,7 @@ const od = (e) => {
|
|
|
7166
7197
|
style: {
|
|
7167
7198
|
...e.itemStyle
|
|
7168
7199
|
}
|
|
7169
|
-
}, null)), !i.value.disabled && u(
|
|
7200
|
+
}, null)), !i.value.disabled && u(Ti, {
|
|
7170
7201
|
upload: e.upload,
|
|
7171
7202
|
children: u(et, {
|
|
7172
7203
|
class: `${t.value}-upload-btn`,
|
|
@@ -7180,21 +7211,21 @@ const od = (e) => {
|
|
|
7180
7211
|
size: "small",
|
|
7181
7212
|
shape: "circle",
|
|
7182
7213
|
class: `${t.value}-prev-btn`,
|
|
7183
|
-
icon: u(
|
|
7214
|
+
icon: u(Bt, null, null),
|
|
7184
7215
|
onClick: g
|
|
7185
7216
|
}, null), u(et, {
|
|
7186
7217
|
size: "small",
|
|
7187
7218
|
shape: "circle",
|
|
7188
7219
|
class: `${t.value}-next-btn`,
|
|
7189
|
-
icon: u(
|
|
7220
|
+
icon: u(Lt, null, null),
|
|
7190
7221
|
onClick: v
|
|
7191
7222
|
}, null)])]);
|
|
7192
7223
|
}
|
|
7193
7224
|
});
|
|
7194
|
-
function
|
|
7195
|
-
return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !
|
|
7225
|
+
function ud(e) {
|
|
7226
|
+
return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !In(e);
|
|
7196
7227
|
}
|
|
7197
|
-
const
|
|
7228
|
+
const dd = /* @__PURE__ */ H({
|
|
7198
7229
|
name: "AXAttachments",
|
|
7199
7230
|
__name: "Attachments",
|
|
7200
7231
|
props: le({
|
|
@@ -7233,7 +7264,7 @@ const ud = /* @__PURE__ */ I({
|
|
|
7233
7264
|
const {
|
|
7234
7265
|
getPrefixCls: r,
|
|
7235
7266
|
direction: o
|
|
7236
|
-
} = _(), i = r("attachment", e.prefixCls), a = $e("attachments"), l = h(() => a.value.classNames), s = h(() => a.value.styles), c = Fe("attachments-container"), f = Fe("attachments-upload"), [d, g, v] =
|
|
7267
|
+
} = _(), i = r("attachment", e.prefixCls), a = $e("attachments"), l = h(() => a.value.classNames), s = h(() => a.value.styles), c = Fe("attachments-container"), f = Fe("attachments-upload"), [d, g, v] = Ai(i), p = h(() => A(g, v)), [m, b] = k(e.items);
|
|
7237
7268
|
R(() => e.items, () => {
|
|
7238
7269
|
b(e.items);
|
|
7239
7270
|
});
|
|
@@ -7252,7 +7283,7 @@ const ud = /* @__PURE__ */ I({
|
|
|
7252
7283
|
});
|
|
7253
7284
|
}, x = (w, y, M) => {
|
|
7254
7285
|
const P = typeof e.placeholder == "function" ? e.placeholder(w) : e.placeholder;
|
|
7255
|
-
return u(
|
|
7286
|
+
return u(Uu, {
|
|
7256
7287
|
placeholder: P,
|
|
7257
7288
|
upload: $.value,
|
|
7258
7289
|
prefixCls: i,
|
|
@@ -7266,7 +7297,7 @@ const ud = /* @__PURE__ */ I({
|
|
|
7266
7297
|
}, T = h(() => {
|
|
7267
7298
|
let w;
|
|
7268
7299
|
if (e.children)
|
|
7269
|
-
return u(De, null, [u(
|
|
7300
|
+
return u(De, null, [u(Ti, {
|
|
7270
7301
|
upload: $.value,
|
|
7271
7302
|
rootClassName: e.rootClassName,
|
|
7272
7303
|
ref: "attachments-upload",
|
|
@@ -7288,7 +7319,7 @@ const ud = /* @__PURE__ */ I({
|
|
|
7288
7319
|
},
|
|
7289
7320
|
dir: o.value || "ltr",
|
|
7290
7321
|
ref: "attachments-container"
|
|
7291
|
-
}, [u(
|
|
7322
|
+
}, [u(cd, {
|
|
7292
7323
|
prefixCls: i,
|
|
7293
7324
|
items: m.value,
|
|
7294
7325
|
onRemove: C,
|
|
@@ -7315,7 +7346,7 @@ const ud = /* @__PURE__ */ I({
|
|
|
7315
7346
|
getDropContainer: e.getDropContainer || (() => c.value),
|
|
7316
7347
|
prefixCls: i,
|
|
7317
7348
|
className: p.value
|
|
7318
|
-
},
|
|
7349
|
+
}, ud(w = x("drop")) ? w : {
|
|
7319
7350
|
default: () => [w]
|
|
7320
7351
|
})]);
|
|
7321
7352
|
});
|
|
@@ -7334,7 +7365,7 @@ const ud = /* @__PURE__ */ I({
|
|
|
7334
7365
|
}));
|
|
7335
7366
|
}
|
|
7336
7367
|
}
|
|
7337
|
-
}), () => d(u(
|
|
7368
|
+
}), () => d(u(Gu, {
|
|
7338
7369
|
value: {
|
|
7339
7370
|
disabled: e.disabled
|
|
7340
7371
|
}
|
|
@@ -7342,9 +7373,9 @@ const ud = /* @__PURE__ */ I({
|
|
|
7342
7373
|
default: () => [T.value]
|
|
7343
7374
|
}));
|
|
7344
7375
|
}
|
|
7345
|
-
}),
|
|
7346
|
-
FileCard:
|
|
7347
|
-
}),
|
|
7376
|
+
}), Vd = Object.assign(dd, {
|
|
7377
|
+
FileCard: Pi
|
|
7378
|
+
}), fd = (e, t, n) => {
|
|
7348
7379
|
const r = h(() => {
|
|
7349
7380
|
const l = F(e);
|
|
7350
7381
|
let s = {
|
|
@@ -7376,7 +7407,7 @@ const ud = /* @__PURE__ */ I({
|
|
|
7376
7407
|
];
|
|
7377
7408
|
};
|
|
7378
7409
|
var Pt = /* @__PURE__ */ ((e) => (e.PENDING = "pending", e.SUCCESS = "success", e.ERROR = "error", e))(Pt || {});
|
|
7379
|
-
const
|
|
7410
|
+
const hd = (e) => {
|
|
7380
7411
|
const { componentCls: t } = e, n = `${t}-item`, r = {
|
|
7381
7412
|
[Pt.PENDING]: e.colorPrimaryText,
|
|
7382
7413
|
[Pt.SUCCESS]: e.colorSuccessText,
|
|
@@ -7397,7 +7428,7 @@ const fd = (e) => {
|
|
|
7397
7428
|
};
|
|
7398
7429
|
}), i;
|
|
7399
7430
|
}, {});
|
|
7400
|
-
},
|
|
7431
|
+
}, gd = (e) => {
|
|
7401
7432
|
const { calc: t, componentCls: n } = e, r = `${n}-item`, o = {
|
|
7402
7433
|
content: '""',
|
|
7403
7434
|
width: t(e.lineWidth).mul(2).equal(),
|
|
@@ -7446,7 +7477,7 @@ const fd = (e) => {
|
|
|
7446
7477
|
}
|
|
7447
7478
|
}
|
|
7448
7479
|
};
|
|
7449
|
-
},
|
|
7480
|
+
}, md = (e) => {
|
|
7450
7481
|
const { componentCls: t } = e, n = `${t}-item`;
|
|
7451
7482
|
return {
|
|
7452
7483
|
[n]: {
|
|
@@ -7532,23 +7563,23 @@ const fd = (e) => {
|
|
|
7532
7563
|
[`&${n}-${t}`]: {
|
|
7533
7564
|
paddingInlineStart: r.itemSize,
|
|
7534
7565
|
gap: r.itemGap,
|
|
7535
|
-
...
|
|
7566
|
+
...md({
|
|
7536
7567
|
...e,
|
|
7537
7568
|
...r
|
|
7538
7569
|
}),
|
|
7539
|
-
...
|
|
7570
|
+
...gd({
|
|
7540
7571
|
...e,
|
|
7541
7572
|
...r
|
|
7542
7573
|
})
|
|
7543
7574
|
}
|
|
7544
7575
|
};
|
|
7545
|
-
},
|
|
7576
|
+
}, pd = (e) => {
|
|
7546
7577
|
const { componentCls: t } = e;
|
|
7547
7578
|
return {
|
|
7548
7579
|
[t]: {
|
|
7549
7580
|
display: "flex",
|
|
7550
7581
|
flexDirection: "column",
|
|
7551
|
-
...
|
|
7582
|
+
...hd(e),
|
|
7552
7583
|
...nn(e),
|
|
7553
7584
|
...nn(e, "large"),
|
|
7554
7585
|
...nn(e, "small"),
|
|
@@ -7557,7 +7588,7 @@ const fd = (e) => {
|
|
|
7557
7588
|
}
|
|
7558
7589
|
}
|
|
7559
7590
|
};
|
|
7560
|
-
},
|
|
7591
|
+
}, vd = we("ThoughtChain", (e) => {
|
|
7561
7592
|
const t = he(e, {
|
|
7562
7593
|
// small size tokens
|
|
7563
7594
|
itemFontSizeSM: e.fontSizeSM,
|
|
@@ -7573,31 +7604,31 @@ const fd = (e) => {
|
|
|
7573
7604
|
itemGapLG: e.marginLG
|
|
7574
7605
|
});
|
|
7575
7606
|
return [
|
|
7576
|
-
|
|
7607
|
+
pd(t)
|
|
7577
7608
|
// genCollapseMotion(compToken)
|
|
7578
7609
|
];
|
|
7579
|
-
}),
|
|
7580
|
-
fe(
|
|
7610
|
+
}), Ei = Symbol("ThoughtChainNodeContext"), Pn = J(), yd = (e) => {
|
|
7611
|
+
fe(Ei, e), R(
|
|
7581
7612
|
e,
|
|
7582
7613
|
() => {
|
|
7583
7614
|
Pn.value = O(e), ye(Pn);
|
|
7584
7615
|
},
|
|
7585
7616
|
{ immediate: !0, deep: !0 }
|
|
7586
7617
|
);
|
|
7587
|
-
},
|
|
7588
|
-
|
|
7618
|
+
}, bd = () => ne(
|
|
7619
|
+
Ei,
|
|
7589
7620
|
h(() => Pn.value || {})
|
|
7590
|
-
),
|
|
7621
|
+
), Sd = H({
|
|
7591
7622
|
props: {
|
|
7592
7623
|
value: be()
|
|
7593
7624
|
},
|
|
7594
7625
|
setup(e, { slots: t }) {
|
|
7595
|
-
return
|
|
7626
|
+
return yd(h(() => e.value)), () => {
|
|
7596
7627
|
var n;
|
|
7597
7628
|
return (n = t.default) == null ? void 0 : n.call(t);
|
|
7598
7629
|
};
|
|
7599
7630
|
}
|
|
7600
|
-
}),
|
|
7631
|
+
}), Cd = /* @__PURE__ */ H({
|
|
7601
7632
|
name: "AXThoughtChainNode",
|
|
7602
7633
|
__name: "item",
|
|
7603
7634
|
props: le({
|
|
@@ -7614,7 +7645,7 @@ const fd = (e) => {
|
|
|
7614
7645
|
attr: !0,
|
|
7615
7646
|
aria: !0,
|
|
7616
7647
|
data: !0
|
|
7617
|
-
})), r =
|
|
7648
|
+
})), r = bd(), o = h(() => r.value.prefixCls), i = h(() => r.value.enableCollapse), a = h(() => r.value.expandedKeys), l = h(() => r.value.direction), s = h(() => r.value.classNames), c = h(() => r.value.styles), f = Fi(), d = h(() => e.info.key ?? f), g = h(() => e.info.icon), v = h(() => e.info.title), p = h(() => e.info.extra), m = h(() => e.info.content), b = h(() => e.info.footer), S = h(() => e.info.status), $ = h(() => e.info.description), C = h(() => `${o.value}-item`), x = () => {
|
|
7618
7649
|
var y;
|
|
7619
7650
|
return (y = e.onClick) == null ? void 0 : y.call(e, d.value);
|
|
7620
7651
|
}, T = h(() => {
|
|
@@ -7648,10 +7679,10 @@ const fd = (e) => {
|
|
|
7648
7679
|
},
|
|
7649
7680
|
class: `${C.value}-title`
|
|
7650
7681
|
}, {
|
|
7651
|
-
default: () => [i.value && m.value && (l.value === "rtl" ? u(
|
|
7682
|
+
default: () => [i.value && m.value && (l.value === "rtl" ? u(Bt, {
|
|
7652
7683
|
class: `${C.value}-collapse-icon`,
|
|
7653
7684
|
rotate: T.value ? -90 : 0
|
|
7654
|
-
}, null) : u(
|
|
7685
|
+
}, null) : u(Lt, {
|
|
7655
7686
|
class: `${C.value}-collapse-icon`,
|
|
7656
7687
|
rotate: T.value ? 90 : 0
|
|
7657
7688
|
}, null)), v.value]
|
|
@@ -7670,19 +7701,19 @@ const fd = (e) => {
|
|
|
7670
7701
|
class: `${C.value}-extra`
|
|
7671
7702
|
}, [p.value])]),
|
|
7672
7703
|
m.value && // TODO: add animation
|
|
7673
|
-
|
|
7704
|
+
Xi(u("div", {
|
|
7674
7705
|
class: A(`${C.value}-content`)
|
|
7675
7706
|
}, [u("div", {
|
|
7676
7707
|
class: A(`${C.value}-content-box`, s.value.itemContent),
|
|
7677
7708
|
style: c.value.itemContent
|
|
7678
|
-
}, [m.value])]), [[
|
|
7709
|
+
}, [m.value])]), [[Vi, w.value]]),
|
|
7679
7710
|
b.value && u("div", {
|
|
7680
7711
|
class: A(`${C.value}-footer`, s.value.itemFooter),
|
|
7681
7712
|
style: c.value.itemFooter
|
|
7682
7713
|
}, [b.value])
|
|
7683
7714
|
]);
|
|
7684
7715
|
}
|
|
7685
|
-
}),
|
|
7716
|
+
}), Wd = /* @__PURE__ */ H({
|
|
7686
7717
|
name: "AXThoughtChain",
|
|
7687
7718
|
__name: "ThoughtChain",
|
|
7688
7719
|
props: le({
|
|
@@ -7715,7 +7746,7 @@ const fd = (e) => {
|
|
|
7715
7746
|
c,
|
|
7716
7747
|
f
|
|
7717
7748
|
// collapseMotion
|
|
7718
|
-
] =
|
|
7749
|
+
] = fd(() => e.collapsible, a.value, i.value), [d, g, v] = vd(a), p = h(() => A(e.class, e.rootClassName, a.value, l.value.className, g, v, {
|
|
7719
7750
|
[`${a.value}-rtl`]: o.value === "rtl"
|
|
7720
7751
|
}, `${a.value}-${e.size}`));
|
|
7721
7752
|
return () => d(u("div", q(n.value, {
|
|
@@ -7724,7 +7755,7 @@ const fd = (e) => {
|
|
|
7724
7755
|
...typeof l.value.style == "object" ? l.value.style : {},
|
|
7725
7756
|
...typeof e.style == "object" ? e.style : {}
|
|
7726
7757
|
}
|
|
7727
|
-
}), [u(
|
|
7758
|
+
}), [u(Sd, {
|
|
7728
7759
|
value: {
|
|
7729
7760
|
prefixCls: a.value,
|
|
7730
7761
|
enableCollapse: s.value,
|
|
@@ -7756,7 +7787,7 @@ const fd = (e) => {
|
|
|
7756
7787
|
var m;
|
|
7757
7788
|
return [(m = e.items) == null ? void 0 : m.map((b, S) => {
|
|
7758
7789
|
var $;
|
|
7759
|
-
return u(
|
|
7790
|
+
return u(Cd, {
|
|
7760
7791
|
key: b.key || `key_${S}`,
|
|
7761
7792
|
class: A(l.value.classNames.item, e.classNames.item),
|
|
7762
7793
|
style: {
|
|
@@ -7774,16 +7805,16 @@ const fd = (e) => {
|
|
|
7774
7805
|
}
|
|
7775
7806
|
})]));
|
|
7776
7807
|
}
|
|
7777
|
-
}),
|
|
7808
|
+
}), xd = `
|
|
7778
7809
|
|
|
7779
|
-
`,
|
|
7810
|
+
`, $d = `
|
|
7780
7811
|
`, mo = ":", En = (e) => (e ?? "").trim() !== "";
|
|
7781
|
-
function
|
|
7812
|
+
function wd() {
|
|
7782
7813
|
let e = "";
|
|
7783
7814
|
return new TransformStream({
|
|
7784
7815
|
transform(t, n) {
|
|
7785
7816
|
e += t;
|
|
7786
|
-
const r = e.split(
|
|
7817
|
+
const r = e.split(xd);
|
|
7787
7818
|
r.slice(0, -1).forEach((o) => {
|
|
7788
7819
|
En(o) && n.enqueue(o);
|
|
7789
7820
|
}), e = r[r.length - 1];
|
|
@@ -7793,10 +7824,10 @@ function $d() {
|
|
|
7793
7824
|
}
|
|
7794
7825
|
});
|
|
7795
7826
|
}
|
|
7796
|
-
function
|
|
7827
|
+
function Td() {
|
|
7797
7828
|
return new TransformStream({
|
|
7798
7829
|
transform(e, t) {
|
|
7799
|
-
const r = e.split(
|
|
7830
|
+
const r = e.split($d).reduce((o, i) => {
|
|
7800
7831
|
const a = i.indexOf(mo);
|
|
7801
7832
|
if (a === -1)
|
|
7802
7833
|
throw new Error(
|
|
@@ -7824,7 +7855,7 @@ function po(e) {
|
|
|
7824
7855
|
/**
|
|
7825
7856
|
* Uint8Array binary -> string -> SSE part string -> Default Output {@link SSEOutput}
|
|
7826
7857
|
*/
|
|
7827
|
-
t.pipeThrough(r).pipeThrough(
|
|
7858
|
+
t.pipeThrough(r).pipeThrough(wd()).pipeThrough(Td())
|
|
7828
7859
|
);
|
|
7829
7860
|
return o[Symbol.asyncIterator] = async function* () {
|
|
7830
7861
|
const i = this.getReader();
|
|
@@ -7835,7 +7866,7 @@ function po(e) {
|
|
|
7835
7866
|
}
|
|
7836
7867
|
}, o;
|
|
7837
7868
|
}
|
|
7838
|
-
const
|
|
7869
|
+
const Od = async (e, t = {}) => {
|
|
7839
7870
|
const { fetch: n = globalThis.fetch, middlewares: r = {}, ...o } = t;
|
|
7840
7871
|
if (typeof n != "function")
|
|
7841
7872
|
throw new Error("The options.fetch must be a typeof fetch function!");
|
|
@@ -7866,7 +7897,7 @@ const Td = async (e, t = {}) => {
|
|
|
7866
7897
|
headers: this.defaultHeaders
|
|
7867
7898
|
};
|
|
7868
7899
|
try {
|
|
7869
|
-
const d = await
|
|
7900
|
+
const d = await Od(this.baseURL, {
|
|
7870
7901
|
fetch: this.customOptions.fetch,
|
|
7871
7902
|
...c
|
|
7872
7903
|
});
|
|
@@ -7928,9 +7959,9 @@ const Td = async (e, t = {}) => {
|
|
|
7928
7959
|
};
|
|
7929
7960
|
Me.instanceBuffer = /* @__PURE__ */ new Map();
|
|
7930
7961
|
let Mn = Me;
|
|
7931
|
-
const
|
|
7962
|
+
const Ad = Mn.init;
|
|
7932
7963
|
let vo = 0;
|
|
7933
|
-
class
|
|
7964
|
+
class Pd {
|
|
7934
7965
|
constructor(t) {
|
|
7935
7966
|
this.requestingMap = {}, this.request = (n, r) => {
|
|
7936
7967
|
const { request: o } = this.config, { onUpdate: i, onSuccess: a, onError: l } = r, s = vo;
|
|
@@ -7956,13 +7987,13 @@ class Ad {
|
|
|
7956
7987
|
return Object.keys(this.requestingMap).length > 0;
|
|
7957
7988
|
}
|
|
7958
7989
|
}
|
|
7959
|
-
function
|
|
7990
|
+
function kd(e) {
|
|
7960
7991
|
const { request: t, ...n } = e;
|
|
7961
7992
|
return {
|
|
7962
7993
|
agent: h(
|
|
7963
|
-
() => new
|
|
7994
|
+
() => new Pd({
|
|
7964
7995
|
// @ts-expect-error
|
|
7965
|
-
request: t ||
|
|
7996
|
+
request: t || Ad({
|
|
7966
7997
|
baseURL: n.baseURL,
|
|
7967
7998
|
model: n.model,
|
|
7968
7999
|
dangerouslyApiKey: n.dangerouslyApiKey
|
|
@@ -7973,21 +8004,22 @@ function Wd(e) {
|
|
|
7973
8004
|
};
|
|
7974
8005
|
}
|
|
7975
8006
|
export {
|
|
7976
|
-
|
|
7977
|
-
|
|
7978
|
-
|
|
7979
|
-
|
|
7980
|
-
|
|
7981
|
-
|
|
7982
|
-
|
|
7983
|
-
|
|
7984
|
-
|
|
7985
|
-
|
|
7986
|
-
|
|
7987
|
-
|
|
7988
|
-
|
|
8007
|
+
Vd as Attachments,
|
|
8008
|
+
zd as Bubble,
|
|
8009
|
+
Vs as BubbleList,
|
|
8010
|
+
jd as Conversations,
|
|
8011
|
+
xu as Prompts,
|
|
8012
|
+
Xd as Sender,
|
|
8013
|
+
Fd as Suggestion,
|
|
8014
|
+
Wd as ThoughtChain,
|
|
8015
|
+
Dd as Welcome,
|
|
8016
|
+
Pd as XAgent,
|
|
8017
|
+
Od as XFetch,
|
|
8018
|
+
Nd as XProvider,
|
|
8019
|
+
Ad as XRequest,
|
|
7989
8020
|
po as XStream,
|
|
7990
8021
|
Hd as defaultPrefixCls,
|
|
7991
|
-
|
|
8022
|
+
qd as theme,
|
|
8023
|
+
kd as useXAgent,
|
|
7992
8024
|
_ as useXProviderContext
|
|
7993
8025
|
};
|