@witlink/components 1.0.20 → 1.0.22
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.cjs +1 -1
- package/dist/index.css +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.js +381 -374
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { InputNumber as ne, RangePicker as Ne, Table as Pe, Popover as Ae, Input as Be, Row as Te, Col as je, Button as De, Slider as Re } from "ant-design-vue/es";
|
|
2
|
-
import { markRaw as oe, createElementBlock as P, openBlock as S, createElementVNode as $, defineComponent as O, mergeModels as R, useModel as H, useSlots as
|
|
2
|
+
import { markRaw as oe, createElementBlock as P, openBlock as S, createElementVNode as $, defineComponent as O, mergeModels as R, useModel as H, useSlots as Ce, useAttrs as Le, createBlock as U, mergeProps as I, createSlots as ae, renderList as z, withCtx as M, unref as x, renderSlot as K, normalizeProps as xe, guardReactiveProps as Ie, createVNode as N, ref as C, getCurrentInstance as Y, render as X, h as W, computed as B, onMounted as ke, onUnmounted as Oe, normalizeClass as We, normalizeStyle as ie, isRef as G, withKeys as Fe, withModifiers as ce, Fragment as q, createTextVNode as Q, toDisplayString as te, nextTick as ue, useCssVars as Ue, watch as se, createCommentVNode as de, shallowRef as V, shallowReadonly as ze, toValue as F, getCurrentScope as Ke, onScopeDispose as Ve, toRaw as qe } from "vue";
|
|
3
3
|
import { isNullOrUndef as j, hasPermission as Xe } from "./utils.js";
|
|
4
4
|
import { UserCenterKey as nn, buildTree as on, exportFile as an, forEachTree as sn, getButtonPermissions as rn, getLocale as ln, getMenuInfo as cn, getToken as un, getUserCenterParams as dn, getUserCenterParamsByUrl as pn, getUserInfo as fn, is as mn, isArray as vn, isAsyncFunction as gn, isBoolean as hn, isClient as yn, isDate as bn, isDef as _n, isElement as Cn, isFunction as xn, isImageDom as kn, isNull as Sn, isNumber as wn, isObject as $n, isPromise as En, isServer as Mn, isString as Nn, isUndef as Pn, isWindow as An, logoutToUserCenter as Bn, removeAll as Tn, removeLocale as jn, removeToken as Dn, setLocale as Rn, setMenuInfo as Ln, setToken as In, setUserCenterParams as On, setUserInfo as Wn, toUserCenterConsole as Fn } from "./utils.js";
|
|
5
|
-
import
|
|
5
|
+
import pe from "dayjs";
|
|
6
6
|
import { Drawer as A, App as He, Modal as Ze, Button as Ge, ConfigProvider as Ye, Textarea as Qe, Form as Se, message as Je } from "ant-design-vue";
|
|
7
7
|
import { ElScrollbar as et, ElTooltip as tt } from "element-plus";
|
|
8
8
|
const nt = {
|
|
@@ -11,8 +11,8 @@ const nt = {
|
|
|
11
11
|
width: "1.2em",
|
|
12
12
|
height: "1.2em"
|
|
13
13
|
};
|
|
14
|
-
function ot(e,
|
|
15
|
-
return S(), P("svg", nt,
|
|
14
|
+
function ot(e, t) {
|
|
15
|
+
return S(), P("svg", nt, t[0] || (t[0] = [
|
|
16
16
|
$("path", {
|
|
17
17
|
fill: "currentColor",
|
|
18
18
|
d: "M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8"
|
|
@@ -29,8 +29,8 @@ const at = oe({ name: "ant-design-plus", render: ot }), st = {
|
|
|
29
29
|
width: "1.2em",
|
|
30
30
|
height: "1.2em"
|
|
31
31
|
};
|
|
32
|
-
function rt(e,
|
|
33
|
-
return S(), P("svg", st,
|
|
32
|
+
function rt(e, t) {
|
|
33
|
+
return S(), P("svg", st, t[0] || (t[0] = [
|
|
34
34
|
$("path", {
|
|
35
35
|
fill: "currentColor",
|
|
36
36
|
d: "M872 474H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h720c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8"
|
|
@@ -57,46 +57,46 @@ const lt = oe({ name: "ant-design-minus", render: rt }), it = /* @__PURE__ */ O(
|
|
|
57
57
|
valueModifiers: {}
|
|
58
58
|
}),
|
|
59
59
|
emits: /* @__PURE__ */ R(["change"], ["update:value"]),
|
|
60
|
-
setup(e, { emit:
|
|
61
|
-
const
|
|
62
|
-
function
|
|
63
|
-
if (j(
|
|
64
|
-
|
|
60
|
+
setup(e, { emit: t }) {
|
|
61
|
+
const n = H(e, "value"), r = e, i = t, c = Ce(), a = Le();
|
|
62
|
+
function l(o) {
|
|
63
|
+
if (j(o))
|
|
64
|
+
n.value = null, i("change", null);
|
|
65
65
|
else {
|
|
66
|
-
let u =
|
|
67
|
-
r.stringMode && (u = Number(u).toFixed(r.precision)),
|
|
66
|
+
let u = o;
|
|
67
|
+
r.stringMode && (u = Number(u).toFixed(r.precision)), n.value !== u && (n.value = u, i("change", u));
|
|
68
68
|
}
|
|
69
69
|
}
|
|
70
70
|
function d() {
|
|
71
|
-
if (j(
|
|
71
|
+
if (j(n.value))
|
|
72
72
|
return;
|
|
73
|
-
let
|
|
74
|
-
r.stringMode && (
|
|
73
|
+
let o = n.value;
|
|
74
|
+
r.stringMode && (o = Number(o).toFixed(r.precision)), n.value = o;
|
|
75
75
|
}
|
|
76
76
|
function p() {
|
|
77
|
-
if (
|
|
78
|
-
const
|
|
79
|
-
!j(
|
|
77
|
+
if (a.disabled) return;
|
|
78
|
+
const o = Number(n.value);
|
|
79
|
+
!j(a.min) && o <= Number(a.min) || l(o - 1);
|
|
80
80
|
}
|
|
81
|
-
function
|
|
82
|
-
if (
|
|
83
|
-
const
|
|
84
|
-
!j(
|
|
81
|
+
function s() {
|
|
82
|
+
if (a.disabled) return;
|
|
83
|
+
const o = Number(n.value);
|
|
84
|
+
!j(a.max) && o >= Number(a.max) || l(o + 1);
|
|
85
85
|
}
|
|
86
|
-
return (
|
|
86
|
+
return (o, u) => {
|
|
87
87
|
const v = lt, g = at, m = ne;
|
|
88
88
|
return S(), U(m, I({
|
|
89
|
-
value:
|
|
89
|
+
value: n.value,
|
|
90
90
|
precision: e.precision,
|
|
91
91
|
stringMode: e.stringMode,
|
|
92
92
|
controls: !e.customControls,
|
|
93
|
-
onChange:
|
|
93
|
+
onChange: l,
|
|
94
94
|
onBlur: d
|
|
95
|
-
},
|
|
96
|
-
|
|
95
|
+
}, o.$attrs), ae({ _: 2 }, [
|
|
96
|
+
z(Object.keys(x(c)), (h) => ({
|
|
97
97
|
name: h,
|
|
98
98
|
fn: M((y) => [
|
|
99
|
-
|
|
99
|
+
K(o.$slots, h, xe(Ie(y)))
|
|
100
100
|
])
|
|
101
101
|
})),
|
|
102
102
|
e.customControls ? {
|
|
@@ -116,7 +116,7 @@ const lt = oe({ name: "ant-design-minus", render: rt }), it = /* @__PURE__ */ O(
|
|
|
116
116
|
fn: M(() => [
|
|
117
117
|
$("div", {
|
|
118
118
|
class: "btn-control",
|
|
119
|
-
onClick:
|
|
119
|
+
onClick: s
|
|
120
120
|
}, [
|
|
121
121
|
N(g, { class: "btn-icon" })
|
|
122
122
|
])
|
|
@@ -155,107 +155,107 @@ const lt = oe({ name: "ant-design-minus", render: rt }), it = /* @__PURE__ */ O(
|
|
|
155
155
|
}
|
|
156
156
|
},
|
|
157
157
|
emits: ["update:value", "change"],
|
|
158
|
-
setup(e, { emit:
|
|
159
|
-
const
|
|
160
|
-
const
|
|
158
|
+
setup(e, { emit: t }) {
|
|
159
|
+
const n = e, r = t, i = C(), c = C(), a = (s) => {
|
|
160
|
+
const o = pe().add(n.max, n.maxUnit), u = pe().subtract(n.min, n.minUnit), v = n.interval;
|
|
161
161
|
if (!i.value || i.value.length === 0)
|
|
162
|
-
return
|
|
163
|
-
const g = i.value[0] && (
|
|
164
|
-
return i.value[1] && (i.value[1].diff(
|
|
165
|
-
},
|
|
166
|
-
|
|
167
|
-
}, d = (
|
|
168
|
-
r("update:value",
|
|
169
|
-
}, p = (
|
|
170
|
-
i.value =
|
|
162
|
+
return s.isAfter(o) || s.isBefore(u);
|
|
163
|
+
const g = i.value[0] && (s.diff(i.value[0], "days") > v || s.isAfter(o));
|
|
164
|
+
return i.value[1] && (i.value[1].diff(s, "days") > v || s.isBefore(u)) || g;
|
|
165
|
+
}, l = (s) => {
|
|
166
|
+
s ? (i.value = [], c.value = []) : c.value = void 0;
|
|
167
|
+
}, d = (s) => {
|
|
168
|
+
r("update:value", s), r("change", s);
|
|
169
|
+
}, p = (s) => {
|
|
170
|
+
i.value = s;
|
|
171
171
|
};
|
|
172
|
-
return (
|
|
172
|
+
return (s, o) => {
|
|
173
173
|
const u = Ne;
|
|
174
174
|
return S(), U(u, I({
|
|
175
175
|
value: x(c) || e.value,
|
|
176
|
-
"disabled-date":
|
|
176
|
+
"disabled-date": a,
|
|
177
177
|
onChange: d,
|
|
178
|
-
onOpenChange:
|
|
178
|
+
onOpenChange: l,
|
|
179
179
|
onCalendarChange: p
|
|
180
|
-
},
|
|
181
|
-
|
|
180
|
+
}, s.$attrs), ae({ _: 2 }, [
|
|
181
|
+
z(Object.keys(s.$slots), (v) => ({
|
|
182
182
|
name: v,
|
|
183
183
|
fn: M((g) => [
|
|
184
|
-
|
|
184
|
+
K(s.$slots, v)
|
|
185
185
|
])
|
|
186
186
|
}))
|
|
187
187
|
]), 1040, ["value"]);
|
|
188
188
|
};
|
|
189
189
|
}
|
|
190
190
|
});
|
|
191
|
-
function
|
|
191
|
+
function re(e) {
|
|
192
192
|
e || (e = Y());
|
|
193
|
-
const
|
|
193
|
+
const t = (e == null ? void 0 : e.provides) || {}, n = ut(t, "configProvider"), r = t[n];
|
|
194
194
|
return Object.fromEntries(
|
|
195
|
-
Object.entries(r).map(([c,
|
|
195
|
+
Object.entries(r).map(([c, a]) => [c, x(a)])
|
|
196
196
|
);
|
|
197
197
|
}
|
|
198
|
-
function ut(e,
|
|
198
|
+
function ut(e, t) {
|
|
199
199
|
for (; e; ) {
|
|
200
|
-
const
|
|
201
|
-
(r) => r ===
|
|
200
|
+
const n = Reflect.ownKeys(e).find(
|
|
201
|
+
(r) => r === t || typeof r == "symbol" && r.description === t
|
|
202
202
|
);
|
|
203
|
-
if (
|
|
204
|
-
return
|
|
203
|
+
if (n)
|
|
204
|
+
return n;
|
|
205
205
|
e = Object.getPrototypeOf(e);
|
|
206
206
|
}
|
|
207
207
|
return null;
|
|
208
208
|
}
|
|
209
209
|
function Yt(e) {
|
|
210
|
-
var
|
|
211
|
-
let
|
|
212
|
-
for (;
|
|
213
|
-
if (
|
|
214
|
-
return
|
|
215
|
-
|
|
210
|
+
var n;
|
|
211
|
+
let t = (n = Y()) == null ? void 0 : n.parent;
|
|
212
|
+
for (; t; ) {
|
|
213
|
+
if (t.type.name === e)
|
|
214
|
+
return t;
|
|
215
|
+
t = t.parent;
|
|
216
216
|
}
|
|
217
217
|
return null;
|
|
218
218
|
}
|
|
219
|
-
let L,
|
|
219
|
+
let L, fe, D, me;
|
|
220
220
|
A.destroy = function() {
|
|
221
|
-
const e = A.instanceArr || [],
|
|
222
|
-
if (
|
|
223
|
-
const
|
|
224
|
-
Object.assign(
|
|
221
|
+
const e = A.instanceArr || [], t = e.pop();
|
|
222
|
+
if (t && X(null, t.container), e.length > 0) {
|
|
223
|
+
const n = e[e.length - 1].instance;
|
|
224
|
+
Object.assign(n.component.props, {
|
|
225
225
|
contentWrapperStyle: { transform: null }
|
|
226
|
-
}),
|
|
226
|
+
}), n.component.update();
|
|
227
227
|
}
|
|
228
228
|
};
|
|
229
229
|
A.destroyAll = function() {
|
|
230
|
-
(A.instanceArr || []).forEach((
|
|
231
|
-
X(null,
|
|
230
|
+
(A.instanceArr || []).forEach((t) => {
|
|
231
|
+
X(null, t.container);
|
|
232
232
|
}), A.instanceArr = [];
|
|
233
233
|
};
|
|
234
234
|
function Qt() {
|
|
235
|
-
var
|
|
235
|
+
var s, o;
|
|
236
236
|
const e = Y();
|
|
237
237
|
if (!D) {
|
|
238
238
|
const u = He.useApp();
|
|
239
|
-
D = u.modal,
|
|
239
|
+
D = u.modal, fe = u.message, me = u.notification;
|
|
240
240
|
}
|
|
241
241
|
D.info || (D = Ze);
|
|
242
|
-
const
|
|
242
|
+
const t = {
|
|
243
243
|
zh: "关闭",
|
|
244
244
|
en: "Close",
|
|
245
245
|
fr: "fermeture"
|
|
246
|
-
},
|
|
246
|
+
}, n = {
|
|
247
247
|
zh: "请输入",
|
|
248
248
|
en: "Please Enter",
|
|
249
249
|
fr: "Veuillez entrer"
|
|
250
|
-
}, r =
|
|
250
|
+
}, r = re(), i = ((o = (s = r == null ? void 0 : r.locale) == null ? void 0 : s.locale) == null ? void 0 : o.slice(0, 2)) || "en";
|
|
251
251
|
function c({ title: u, ...v }) {
|
|
252
252
|
const g = C();
|
|
253
|
-
return
|
|
253
|
+
return a({
|
|
254
254
|
title: u,
|
|
255
255
|
...v,
|
|
256
256
|
comp: Qe,
|
|
257
257
|
props: {
|
|
258
|
-
placeholder:
|
|
258
|
+
placeholder: n[i],
|
|
259
259
|
autoSize: { minRows: 6 },
|
|
260
260
|
value: g,
|
|
261
261
|
"onUpdate:value": (m) => {
|
|
@@ -270,7 +270,7 @@ function Qt() {
|
|
|
270
270
|
})
|
|
271
271
|
});
|
|
272
272
|
}
|
|
273
|
-
function
|
|
273
|
+
function a({ title: u, comp: v, props: g, ...m }) {
|
|
274
274
|
const h = W(v, g), y = (m == null ? void 0 : m.type) ?? "info", f = {
|
|
275
275
|
title: u,
|
|
276
276
|
content: h,
|
|
@@ -298,7 +298,7 @@ function Qt() {
|
|
|
298
298
|
}
|
|
299
299
|
return L;
|
|
300
300
|
}
|
|
301
|
-
function
|
|
301
|
+
function l() {
|
|
302
302
|
L == null || L.destroy();
|
|
303
303
|
}
|
|
304
304
|
function d({ title: u, comp: v, props: g, ...m }) {
|
|
@@ -332,7 +332,7 @@ function Qt() {
|
|
|
332
332
|
A.destroy();
|
|
333
333
|
}
|
|
334
334
|
},
|
|
335
|
-
|
|
335
|
+
t[i]
|
|
336
336
|
)
|
|
337
337
|
});
|
|
338
338
|
const w = m.width || 992;
|
|
@@ -370,12 +370,12 @@ function Qt() {
|
|
|
370
370
|
A.destroy();
|
|
371
371
|
}
|
|
372
372
|
return {
|
|
373
|
-
message:
|
|
373
|
+
message: fe,
|
|
374
374
|
modal: D,
|
|
375
|
-
notification:
|
|
375
|
+
notification: me,
|
|
376
376
|
modalInput: c,
|
|
377
|
-
modalComp:
|
|
378
|
-
modalDestroy:
|
|
377
|
+
modalComp: a,
|
|
378
|
+
modalDestroy: l,
|
|
379
379
|
drawerComp: d,
|
|
380
380
|
drawerDestroy: p
|
|
381
381
|
};
|
|
@@ -393,52 +393,52 @@ const dt = /* @__PURE__ */ O({
|
|
|
393
393
|
default: !0
|
|
394
394
|
}
|
|
395
395
|
},
|
|
396
|
-
setup(e, { expose:
|
|
397
|
-
const
|
|
396
|
+
setup(e, { expose: t }) {
|
|
397
|
+
const n = e, r = Ce(), i = C([]), c = C(!1), a = C(0), l = C(1), d = C(10), p = C(), s = C(), o = {
|
|
398
398
|
zh: "共 {num} 条",
|
|
399
399
|
en: "Total {num} items",
|
|
400
400
|
fr: "Total de {num}"
|
|
401
|
-
}, u =
|
|
401
|
+
}, u = re(), v = B(() => {
|
|
402
402
|
var w, k;
|
|
403
403
|
return ((k = (w = u == null ? void 0 : u.locale) == null ? void 0 : w.locale) == null ? void 0 : k.slice(0, 2)) || "en";
|
|
404
404
|
}), g = B(() => ({
|
|
405
|
-
total:
|
|
406
|
-
current:
|
|
405
|
+
total: a.value,
|
|
406
|
+
current: l.value,
|
|
407
407
|
pageSize: d.value,
|
|
408
408
|
showSizeChanger: !0,
|
|
409
409
|
size: "small",
|
|
410
|
-
showTotal: (_) =>
|
|
410
|
+
showTotal: (_) => o[v.value].replace("{num}", _)
|
|
411
411
|
}));
|
|
412
412
|
function m() {
|
|
413
413
|
var _;
|
|
414
|
-
if (typeof
|
|
414
|
+
if (typeof n.loadData == "function") {
|
|
415
415
|
c.value = !0;
|
|
416
|
-
const w = { pageNo:
|
|
417
|
-
|
|
418
|
-
c.value = !1, (k == null ? void 0 : k.code) === 0 && (
|
|
416
|
+
const w = { pageNo: l.value, pageSize: d.value };
|
|
417
|
+
n.formatSortParams && ((_ = s.value) != null && _.orderMap) && (w[s.value.field + "SortField"] = s.value.orderMap), n.loadData(w, p.value, s.value).then((k) => {
|
|
418
|
+
c.value = !1, (k == null ? void 0 : k.code) === 0 && (a.value = k.result.totalCount, i.value = k.result.data);
|
|
419
419
|
});
|
|
420
420
|
}
|
|
421
421
|
}
|
|
422
422
|
function h(_, w, k) {
|
|
423
|
-
if (
|
|
423
|
+
if (l.value = _.current, d.value = _.pageSize, p.value = w, k) {
|
|
424
424
|
const T = {
|
|
425
425
|
ascend: "asc",
|
|
426
426
|
descend: "desc"
|
|
427
427
|
};
|
|
428
428
|
k.orderMap = T[k.order] || "";
|
|
429
429
|
}
|
|
430
|
-
|
|
430
|
+
s.value = k, m();
|
|
431
431
|
}
|
|
432
432
|
function y(_, w) {
|
|
433
433
|
w.width = _;
|
|
434
434
|
}
|
|
435
435
|
function f() {
|
|
436
|
-
|
|
436
|
+
l.value = 1, m();
|
|
437
437
|
}
|
|
438
438
|
function b() {
|
|
439
|
-
|
|
439
|
+
l.value = 1, a.value = 0, i.value = [];
|
|
440
440
|
}
|
|
441
|
-
return
|
|
441
|
+
return t({
|
|
442
442
|
loadData: m,
|
|
443
443
|
refresh: f,
|
|
444
444
|
reset: b
|
|
@@ -452,10 +452,10 @@ const dt = /* @__PURE__ */ O({
|
|
|
452
452
|
onChange: h,
|
|
453
453
|
onResizeColumn: y
|
|
454
454
|
}, _.$attrs), ae({ _: 2 }, [
|
|
455
|
-
|
|
455
|
+
z(Object.keys(x(r)), (T) => ({
|
|
456
456
|
name: T,
|
|
457
457
|
fn: M((E) => [
|
|
458
|
-
T !== "emptyText" ?
|
|
458
|
+
T !== "emptyText" ? K(_.$slots, T, xe(I({ key: 0 }, E))) : K(_.$slots, T, { key: 1 })
|
|
459
459
|
])
|
|
460
460
|
}))
|
|
461
461
|
]), 1040, ["loading", "pagination", "dataSource"]);
|
|
@@ -478,39 +478,39 @@ const dt = /* @__PURE__ */ O({
|
|
|
478
478
|
}
|
|
479
479
|
},
|
|
480
480
|
setup(e) {
|
|
481
|
-
const
|
|
482
|
-
function
|
|
481
|
+
const t = e, n = C(), r = C(), i = C({}), c = C({}), a = C(0.2);
|
|
482
|
+
function l(p) {
|
|
483
483
|
i.value = { width: `calc(${p * 100}% - 5px)` }, c.value = { width: `calc(${(1 - p) * 100}% - 5px)` };
|
|
484
484
|
}
|
|
485
485
|
function d() {
|
|
486
|
-
const p =
|
|
486
|
+
const p = n.value;
|
|
487
487
|
if (!p)
|
|
488
488
|
return;
|
|
489
|
-
const
|
|
489
|
+
const s = p.clientWidth, o = p.getBoundingClientRect(), u = o.left;
|
|
490
490
|
function v(m) {
|
|
491
|
-
m.preventDefault(), (m.clientX <
|
|
492
|
-
const y = (m.clientX - u) /
|
|
493
|
-
y >
|
|
491
|
+
m.preventDefault(), (m.clientX < o.left || m.clientX > o.right || m.clientY < o.top || m.clientY > o.bottom) && g();
|
|
492
|
+
const y = (m.clientX - u) / s;
|
|
493
|
+
y > t.leftMin && y < t.leftMax && (a.value = y, l(y));
|
|
494
494
|
}
|
|
495
495
|
function g() {
|
|
496
496
|
document.removeEventListener("mousemove", v), document.removeEventListener("mouseup", g);
|
|
497
497
|
}
|
|
498
498
|
document.addEventListener("mousemove", v), document.addEventListener("mouseup", g);
|
|
499
499
|
}
|
|
500
|
-
return
|
|
501
|
-
|
|
500
|
+
return ke(() => {
|
|
501
|
+
l(a.value), r.value && r.value.addEventListener("mousedown", d, !1);
|
|
502
502
|
}), Oe(() => {
|
|
503
503
|
r.value && r.value.removeEventListener("mousedown", d);
|
|
504
|
-
}), (p,
|
|
504
|
+
}), (p, s) => (S(), P("div", {
|
|
505
505
|
ref_key: "container",
|
|
506
|
-
ref:
|
|
506
|
+
ref: n,
|
|
507
507
|
class: We(["wl-splitter", { bordered: e.bordered }])
|
|
508
508
|
}, [
|
|
509
509
|
$("div", {
|
|
510
510
|
class: "my-left",
|
|
511
|
-
style:
|
|
511
|
+
style: ie(x(i))
|
|
512
512
|
}, [
|
|
513
|
-
|
|
513
|
+
K(p.$slots, "left")
|
|
514
514
|
], 4),
|
|
515
515
|
$("div", {
|
|
516
516
|
ref_key: "spliter",
|
|
@@ -520,9 +520,9 @@ const dt = /* @__PURE__ */ O({
|
|
|
520
520
|
}, null, 512),
|
|
521
521
|
$("div", {
|
|
522
522
|
class: "my-right",
|
|
523
|
-
style:
|
|
523
|
+
style: ie(x(c))
|
|
524
524
|
}, [
|
|
525
|
-
|
|
525
|
+
K(p.$slots, "right")
|
|
526
526
|
], 4)
|
|
527
527
|
], 2));
|
|
528
528
|
}
|
|
@@ -534,8 +534,8 @@ const dt = /* @__PURE__ */ O({
|
|
|
534
534
|
fill: "none",
|
|
535
535
|
xmlns: "http://www.w3.org/2000/svg"
|
|
536
536
|
};
|
|
537
|
-
function mt(e,
|
|
538
|
-
return S(), P("svg", ft,
|
|
537
|
+
function mt(e, t) {
|
|
538
|
+
return S(), P("svg", ft, t[0] || (t[0] = [
|
|
539
539
|
$("path", {
|
|
540
540
|
d: "M7.3125 5.5L2.3125 12L7.3125 18.5H22.3125V5.5H7.3125Z",
|
|
541
541
|
stroke: "#272E3B",
|
|
@@ -581,38 +581,38 @@ const vt = oe({ name: "local-clear", render: mt }), gt = { class: "nums-box" },
|
|
|
581
581
|
valueModifiers: {}
|
|
582
582
|
}),
|
|
583
583
|
emits: /* @__PURE__ */ R(["enter"], ["update:value"]),
|
|
584
|
-
setup(e, { emit:
|
|
585
|
-
const
|
|
584
|
+
setup(e, { emit: t }) {
|
|
585
|
+
const n = e, r = t, i = C(), c = C(), a = C(["7", "8", "9", "4", "5", "6", "1", "2", "3", "0", "00", "."]), l = H(e, "value"), d = C(!1);
|
|
586
586
|
function p() {
|
|
587
587
|
d.value = !0;
|
|
588
588
|
}
|
|
589
|
-
function
|
|
589
|
+
function s() {
|
|
590
590
|
m();
|
|
591
591
|
}
|
|
592
|
-
function
|
|
593
|
-
c.value.focus(),
|
|
592
|
+
function o(h) {
|
|
593
|
+
c.value.focus(), l.value = Number(h).toFixed(n.precision);
|
|
594
594
|
}
|
|
595
595
|
function u(h) {
|
|
596
|
-
if (c.value.focus(), j(
|
|
596
|
+
if (c.value.focus(), j(l.value) || l.value === "") {
|
|
597
597
|
if (["00", "."].includes(h))
|
|
598
598
|
return;
|
|
599
|
-
|
|
599
|
+
l.value = h;
|
|
600
600
|
} else {
|
|
601
|
-
const y = String(
|
|
602
|
-
|
|
601
|
+
const y = String(l.value), f = i.value.getElementsByTagName("input")[0], b = f.selectionStart || 0, _ = f.selectionEnd || 0;
|
|
602
|
+
l.value = `${y.slice(0, b)}${h}${y.slice(_)}`;
|
|
603
603
|
const w = b + h.length;
|
|
604
|
-
|
|
604
|
+
ue(() => {
|
|
605
605
|
c.value.setSelectionRange(w, w);
|
|
606
606
|
});
|
|
607
607
|
}
|
|
608
608
|
}
|
|
609
609
|
function v() {
|
|
610
|
-
if (c.value.focus(), j(
|
|
610
|
+
if (c.value.focus(), j(l.value))
|
|
611
611
|
return;
|
|
612
|
-
const h = String(
|
|
612
|
+
const h = String(l.value);
|
|
613
613
|
if (h != null && h.length) {
|
|
614
614
|
const y = i.value.getElementsByTagName("input")[0], f = y.selectionStart || 0, b = y.selectionEnd || 0, _ = f > 0 ? f - 1 : 0;
|
|
615
|
-
f === b ?
|
|
615
|
+
f === b ? l.value = h.slice(0, _) + h.slice(b) : l.value = h.slice(0, f) + h.slice(b), ue(() => {
|
|
616
616
|
c.value.setSelectionRange(_, _);
|
|
617
617
|
});
|
|
618
618
|
}
|
|
@@ -621,9 +621,9 @@ const vt = oe({ name: "local-clear", render: mt }), gt = { class: "nums-box" },
|
|
|
621
621
|
c.value.blur();
|
|
622
622
|
}
|
|
623
623
|
function m() {
|
|
624
|
-
const h =
|
|
625
|
-
let f = parseFloat(
|
|
626
|
-
j(h) || (f = f > h ? f : h), j(y) || (f = f > y ? y : f),
|
|
624
|
+
const h = n.min, y = n.max;
|
|
625
|
+
let f = parseFloat(l.value || "0");
|
|
626
|
+
j(h) || (f = f > h ? f : h), j(y) || (f = f > y ? y : f), l.value = Number(f).toFixed(n.precision), d.value = !1, r("enter");
|
|
627
627
|
}
|
|
628
628
|
return (h, y) => {
|
|
629
629
|
const f = De, b = je, _ = vt, w = Te, k = Be, T = Ae;
|
|
@@ -643,7 +643,7 @@ const vt = oe({ name: "local-clear", render: mt }), gt = { class: "nums-box" },
|
|
|
643
643
|
content: M(() => [
|
|
644
644
|
$("div", {
|
|
645
645
|
class: "keyboard-panel",
|
|
646
|
-
onMousedownCapture: y[0] || (y[0] =
|
|
646
|
+
onMousedownCapture: y[0] || (y[0] = ce(() => {
|
|
647
647
|
}, ["prevent", "stop"]))
|
|
648
648
|
}, [
|
|
649
649
|
N(w, { gutter: "8" }, {
|
|
@@ -651,17 +651,17 @@ const vt = oe({ name: "local-clear", render: mt }), gt = { class: "nums-box" },
|
|
|
651
651
|
N(b, { span: 18 }, {
|
|
652
652
|
default: M(() => [
|
|
653
653
|
$("div", gt, [
|
|
654
|
-
(S(!0), P(q, null,
|
|
654
|
+
(S(!0), P(q, null, z(e.quickNums, (E) => (S(), U(f, {
|
|
655
655
|
class: "btn-num",
|
|
656
656
|
key: E,
|
|
657
|
-
onClick: (Z) =>
|
|
657
|
+
onClick: (Z) => o(E)
|
|
658
658
|
}, {
|
|
659
659
|
default: M(() => [
|
|
660
660
|
Q(te(E), 1)
|
|
661
661
|
]),
|
|
662
662
|
_: 2
|
|
663
663
|
}, 1032, ["onClick"]))), 128)),
|
|
664
|
-
(S(!0), P(q, null,
|
|
664
|
+
(S(!0), P(q, null, z(x(a), (E) => (S(), U(f, {
|
|
665
665
|
class: "btn-num",
|
|
666
666
|
key: E,
|
|
667
667
|
onClick: (Z) => u(E)
|
|
@@ -690,7 +690,7 @@ const vt = oe({ name: "local-clear", render: mt }), gt = { class: "nums-box" },
|
|
|
690
690
|
N(f, {
|
|
691
691
|
class: "btn-enter",
|
|
692
692
|
type: "primary",
|
|
693
|
-
onClick:
|
|
693
|
+
onClick: ce(g, ["stop"])
|
|
694
694
|
}, {
|
|
695
695
|
default: M(() => y[3] || (y[3] = [
|
|
696
696
|
Q("Enter ")
|
|
@@ -710,11 +710,11 @@ const vt = oe({ name: "local-clear", render: mt }), gt = { class: "nums-box" },
|
|
|
710
710
|
N(k, I({
|
|
711
711
|
ref_key: "inputRef",
|
|
712
712
|
ref: c,
|
|
713
|
-
value:
|
|
714
|
-
"onUpdate:value": y[1] || (y[1] = (E) =>
|
|
713
|
+
value: l.value,
|
|
714
|
+
"onUpdate:value": y[1] || (y[1] = (E) => l.value = E)
|
|
715
715
|
}, h.$attrs, {
|
|
716
716
|
onFocus: p,
|
|
717
|
-
onBlur:
|
|
717
|
+
onBlur: s,
|
|
718
718
|
onKeyup: Fe(g, ["enter"])
|
|
719
719
|
}), null, 16, ["value"])
|
|
720
720
|
]),
|
|
@@ -751,31 +751,31 @@ const vt = oe({ name: "local-clear", render: mt }), gt = { class: "nums-box" },
|
|
|
751
751
|
valueModifiers: {}
|
|
752
752
|
}),
|
|
753
753
|
emits: /* @__PURE__ */ R(["change"], ["update:value"]),
|
|
754
|
-
setup(e, { emit:
|
|
755
|
-
Ue((
|
|
756
|
-
"6aa59d12": x(
|
|
757
|
-
"191f412b": x(
|
|
754
|
+
setup(e, { emit: t }) {
|
|
755
|
+
Ue((s) => ({
|
|
756
|
+
"6aa59d12": x(a),
|
|
757
|
+
"191f412b": x(l),
|
|
758
758
|
"191f44ec": x(d)
|
|
759
759
|
}));
|
|
760
|
-
const
|
|
761
|
-
const
|
|
760
|
+
const n = e, r = H(e, "value"), i = t, c = B(() => {
|
|
761
|
+
const s = {}, o = Array.from(n.flagStops), u = n.min || 0, v = n.max || 100, g = [u, ...r.value, v];
|
|
762
762
|
for (let m = 0; m < g.length; m++) {
|
|
763
763
|
const h = g[m];
|
|
764
|
-
if (
|
|
765
|
-
const y =
|
|
766
|
-
|
|
764
|
+
if (s[h] = h, m > 0) {
|
|
765
|
+
const y = o.shift(), f = g[m - 1], b = f + (h - f) / 2;
|
|
766
|
+
s[b] = { style: { top: "-28px" }, label: y };
|
|
767
767
|
}
|
|
768
768
|
}
|
|
769
|
-
return
|
|
770
|
-
}),
|
|
771
|
-
const
|
|
769
|
+
return s;
|
|
770
|
+
}), a = B(() => {
|
|
771
|
+
const s = r.value, o = n.min || 0, u = n.max || 100, v = Math.floor((s[0] - o) / (u - o) * 100), g = n.colorStops, m = g[0], h = g[g.length - 1];
|
|
772
772
|
return `linear-gradient(90deg, ${m} 0%, ${m} ${v}%, ${h} ${v}%, ${h} 100%)`;
|
|
773
|
-
}),
|
|
774
|
-
function p(
|
|
775
|
-
const
|
|
776
|
-
|
|
773
|
+
}), l = B(() => n.colorStops[1]), d = B(() => n.colorStops[2]);
|
|
774
|
+
function p(s) {
|
|
775
|
+
const o = n.min || 0, u = n.max || 100;
|
|
776
|
+
s[0] <= o ? s[0] = o + 1 : s.at(-1) >= u && (s[s.length - 1] = u - 1), s.length === new Set(s).size && (r.value = s, i("change", s));
|
|
777
777
|
}
|
|
778
|
-
return (
|
|
778
|
+
return (s, o) => {
|
|
779
779
|
const u = Re;
|
|
780
780
|
return S(), U(u, I({
|
|
781
781
|
class: "rate-slider",
|
|
@@ -785,7 +785,7 @@ const vt = oe({ name: "local-clear", render: mt }), gt = { class: "nums-box" },
|
|
|
785
785
|
range: "",
|
|
786
786
|
marks: x(c),
|
|
787
787
|
onChange: p
|
|
788
|
-
},
|
|
788
|
+
}, s.$attrs), null, 16, ["value", "min", "max", "marks"]);
|
|
789
789
|
};
|
|
790
790
|
}
|
|
791
791
|
}), _t = { class: "ip-input" }, Ct = { class: "ip-wrapper" }, xt = {
|
|
@@ -804,41 +804,41 @@ const vt = oe({ name: "local-clear", render: mt }), gt = { class: "nums-box" },
|
|
|
804
804
|
}),
|
|
805
805
|
emits: ["update:value"],
|
|
806
806
|
setup(e) {
|
|
807
|
-
const
|
|
807
|
+
const t = Se.useInjectFormItemContext(), n = e, r = H(e, "value"), i = C(["", "", "", ""]), c = C(), a = C(""), l = C(), d = (o) => {
|
|
808
808
|
var v, g;
|
|
809
|
-
const u = i.value[
|
|
809
|
+
const u = i.value[o];
|
|
810
810
|
if (u && (!/^\d+$/.test(u) || parseInt(u) > 255)) {
|
|
811
|
-
i.value[
|
|
811
|
+
i.value[o] = "";
|
|
812
812
|
return;
|
|
813
813
|
}
|
|
814
|
-
parseInt(u) >= 100 && (
|
|
815
|
-
}, p = (
|
|
814
|
+
parseInt(u) >= 100 && (o < 3 ? (v = c.value) != null && v.length && c.value[o + 1].focus() : n.hasPort && ((g = l.value) == null || g.focus())), r.value = `${i.value.join(".")}${n.hasPort ? ":" + a.value : ""}`, t.clearValidate();
|
|
815
|
+
}, p = (o, u) => {
|
|
816
816
|
var v, g;
|
|
817
|
-
u.key === " " &&
|
|
817
|
+
u.key === " " && o < 3 && (u.preventDefault(), (v = c.value) != null && v.length && c.value[o + 1].focus()), u.key === "Backspace" && i.value[o] === "" && o > 0 && (g = c.value) != null && g.length && c.value[o - 1].focus();
|
|
818
818
|
};
|
|
819
|
-
function
|
|
820
|
-
r.value = `${i.value.join(".")}${
|
|
819
|
+
function s() {
|
|
820
|
+
r.value = `${i.value.join(".")}${n.hasPort ? ":" + (a.value || "") : ""}`, t.clearValidate();
|
|
821
821
|
}
|
|
822
|
-
return
|
|
822
|
+
return se(
|
|
823
823
|
() => r.value,
|
|
824
|
-
(
|
|
825
|
-
if (
|
|
826
|
-
let u =
|
|
827
|
-
if (
|
|
828
|
-
const g =
|
|
829
|
-
|
|
824
|
+
(o) => {
|
|
825
|
+
if (o) {
|
|
826
|
+
let u = o;
|
|
827
|
+
if (n.hasPort) {
|
|
828
|
+
const g = o.split(":");
|
|
829
|
+
a.value = g[1] || "", u = g[0];
|
|
830
830
|
}
|
|
831
831
|
const v = u.split(".");
|
|
832
832
|
v.length === 4 && (i.value = v);
|
|
833
833
|
} else
|
|
834
|
-
i.value = ["", "", "", ""],
|
|
834
|
+
i.value = ["", "", "", ""], a.value = "";
|
|
835
835
|
},
|
|
836
836
|
{ immediate: !0 }
|
|
837
|
-
), (
|
|
837
|
+
), (o, u) => {
|
|
838
838
|
const v = ne;
|
|
839
839
|
return S(), P("div", _t, [
|
|
840
840
|
$("div", Ct, [
|
|
841
|
-
(S(!0), P(q, null,
|
|
841
|
+
(S(!0), P(q, null, z(x(i), (g, m) => (S(), P(q, { key: m }, [
|
|
842
842
|
N(v, {
|
|
843
843
|
ref_for: !0,
|
|
844
844
|
ref_key: "ipPartArr",
|
|
@@ -853,24 +853,24 @@ const vt = oe({ name: "local-clear", render: mt }), gt = { class: "nums-box" },
|
|
|
853
853
|
onChange: (h) => d(m),
|
|
854
854
|
onKeydown: (h) => p(m, h)
|
|
855
855
|
}, null, 8, ["value", "onUpdate:value", "onChange", "onKeydown"]),
|
|
856
|
-
m < 3 ? (S(), P("span", xt, ".")) :
|
|
856
|
+
m < 3 ? (S(), P("span", xt, ".")) : de("", !0)
|
|
857
857
|
], 64))), 128))
|
|
858
858
|
]),
|
|
859
859
|
e.hasPort ? (S(), P(q, { key: 0 }, [
|
|
860
860
|
u[1] || (u[1] = $("span", { class: "ip-port-separator" }, ":", -1)),
|
|
861
861
|
N(v, {
|
|
862
862
|
ref_key: "portRef",
|
|
863
|
-
ref:
|
|
863
|
+
ref: l,
|
|
864
864
|
class: "ip-port",
|
|
865
|
-
value: x(
|
|
866
|
-
"onUpdate:value": u[0] || (u[0] = (g) => G(
|
|
865
|
+
value: x(a),
|
|
866
|
+
"onUpdate:value": u[0] || (u[0] = (g) => G(a) ? a.value = g : null),
|
|
867
867
|
min: 0,
|
|
868
868
|
max: 65535,
|
|
869
869
|
precision: 0,
|
|
870
870
|
controls: !1,
|
|
871
|
-
onChange:
|
|
871
|
+
onChange: s
|
|
872
872
|
}, null, 8, ["value"])
|
|
873
|
-
], 64)) :
|
|
873
|
+
], 64)) : de("", !0)
|
|
874
874
|
]);
|
|
875
875
|
};
|
|
876
876
|
}
|
|
@@ -899,40 +899,47 @@ const vt = oe({ name: "local-clear", render: mt }), gt = { class: "nums-box" },
|
|
|
899
899
|
},
|
|
900
900
|
valueModifiers: {}
|
|
901
901
|
}),
|
|
902
|
-
emits: /* @__PURE__ */ R(["
|
|
903
|
-
setup(e, { emit:
|
|
904
|
-
const
|
|
905
|
-
const
|
|
906
|
-
return j(
|
|
907
|
-
}),
|
|
908
|
-
const
|
|
909
|
-
return j(
|
|
910
|
-
}),
|
|
911
|
-
function
|
|
912
|
-
|
|
902
|
+
emits: /* @__PURE__ */ R(["change"], ["update:value"]),
|
|
903
|
+
setup(e, { emit: t }) {
|
|
904
|
+
const n = e, r = H(e, "value"), i = t, c = Se.useInjectFormItemContext(), a = B(() => {
|
|
905
|
+
const o = r.value[1];
|
|
906
|
+
return j(o) ? n.max : o;
|
|
907
|
+
}), l = B(() => {
|
|
908
|
+
const o = r.value[0];
|
|
909
|
+
return j(o) ? n.min : o;
|
|
910
|
+
}), d = C(), p = C();
|
|
911
|
+
function s() {
|
|
912
|
+
const o = [d.value, p.value];
|
|
913
|
+
r.value = o, c.onFieldChange(), i("change", o);
|
|
913
914
|
}
|
|
914
|
-
return (
|
|
915
|
-
|
|
915
|
+
return se(
|
|
916
|
+
() => r.value,
|
|
917
|
+
(o) => {
|
|
918
|
+
o != null && o.length ? (d.value = o[0], p.value = o[1]) : (d.value = void 0, p.value = void 0);
|
|
919
|
+
},
|
|
920
|
+
{ immediate: !0 }
|
|
921
|
+
), (o, u) => {
|
|
922
|
+
const v = ne;
|
|
916
923
|
return S(), P("div", St, [
|
|
917
|
-
N(
|
|
918
|
-
min:
|
|
919
|
-
max: x(
|
|
920
|
-
value: x(
|
|
921
|
-
"onUpdate:value":
|
|
924
|
+
N(v, I({
|
|
925
|
+
min: n.min,
|
|
926
|
+
max: x(a),
|
|
927
|
+
value: x(d),
|
|
928
|
+
"onUpdate:value": u[0] || (u[0] = (g) => G(d) ? d.value = g : null),
|
|
922
929
|
placeholder: e.placeholder[0] || ""
|
|
923
|
-
},
|
|
930
|
+
}, o.$attrs, { onChange: s }), null, 16, ["min", "max", "value", "placeholder"]),
|
|
924
931
|
$("span", wt, te(e.separator), 1),
|
|
925
|
-
N(
|
|
926
|
-
min: x(
|
|
927
|
-
max:
|
|
928
|
-
value: x(
|
|
929
|
-
"onUpdate:value":
|
|
932
|
+
N(v, I({
|
|
933
|
+
min: x(l),
|
|
934
|
+
max: n.max,
|
|
935
|
+
value: x(p),
|
|
936
|
+
"onUpdate:value": u[1] || (u[1] = (g) => G(p) ? p.value = g : null),
|
|
930
937
|
placeholder: e.placeholder[1] || ""
|
|
931
|
-
},
|
|
938
|
+
}, o.$attrs, { onChange: s }), null, 16, ["min", "max", "value", "placeholder"])
|
|
932
939
|
]);
|
|
933
940
|
};
|
|
934
941
|
}
|
|
935
|
-
}),
|
|
942
|
+
}), ve = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
936
943
|
__proto__: null,
|
|
937
944
|
AInputNumberEx: it,
|
|
938
945
|
ARangePickerEx: ct,
|
|
@@ -944,166 +951,166 @@ const vt = oe({ name: "local-clear", render: mt }), gt = { class: "nums-box" },
|
|
|
944
951
|
WlSplitter: pt
|
|
945
952
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
946
953
|
function we(e) {
|
|
947
|
-
return
|
|
954
|
+
return Ke() ? (Ve(e), !0) : !1;
|
|
948
955
|
}
|
|
949
|
-
const
|
|
956
|
+
const le = typeof window < "u" && typeof document < "u";
|
|
950
957
|
typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
|
|
951
958
|
const Et = Object.prototype.toString, Mt = (e) => Et.call(e) === "[object Object]";
|
|
952
959
|
function Nt(e) {
|
|
953
|
-
let
|
|
954
|
-
function
|
|
955
|
-
return
|
|
960
|
+
let t;
|
|
961
|
+
function n() {
|
|
962
|
+
return t || (t = e()), t;
|
|
956
963
|
}
|
|
957
|
-
return
|
|
958
|
-
const r =
|
|
959
|
-
|
|
960
|
-
},
|
|
964
|
+
return n.reset = async () => {
|
|
965
|
+
const r = t;
|
|
966
|
+
t = void 0, r && await r;
|
|
967
|
+
}, n;
|
|
961
968
|
}
|
|
962
969
|
function J(e) {
|
|
963
970
|
return Array.isArray(e) ? e : [e];
|
|
964
971
|
}
|
|
965
|
-
function Pt(e,
|
|
972
|
+
function Pt(e, t, n = {}) {
|
|
966
973
|
const {
|
|
967
974
|
immediate: r = !0,
|
|
968
975
|
immediateCallback: i = !1
|
|
969
|
-
} =
|
|
970
|
-
let
|
|
971
|
-
function
|
|
972
|
-
|
|
976
|
+
} = n, c = V(!1);
|
|
977
|
+
let a = null;
|
|
978
|
+
function l() {
|
|
979
|
+
a && (clearTimeout(a), a = null);
|
|
973
980
|
}
|
|
974
981
|
function d() {
|
|
975
|
-
c.value = !1,
|
|
982
|
+
c.value = !1, l();
|
|
976
983
|
}
|
|
977
|
-
function p(...
|
|
978
|
-
i && e(),
|
|
979
|
-
c.value = !1,
|
|
980
|
-
}, F(
|
|
984
|
+
function p(...s) {
|
|
985
|
+
i && e(), l(), c.value = !0, a = setTimeout(() => {
|
|
986
|
+
c.value = !1, a = null, e(...s);
|
|
987
|
+
}, F(t));
|
|
981
988
|
}
|
|
982
|
-
return r && (c.value = !0,
|
|
983
|
-
isPending:
|
|
989
|
+
return r && (c.value = !0, le && p()), we(d), {
|
|
990
|
+
isPending: ze(c),
|
|
984
991
|
start: p,
|
|
985
992
|
stop: d
|
|
986
993
|
};
|
|
987
994
|
}
|
|
988
|
-
function At(e,
|
|
989
|
-
return
|
|
995
|
+
function At(e, t, n) {
|
|
996
|
+
return se(
|
|
990
997
|
e,
|
|
991
|
-
|
|
998
|
+
t,
|
|
992
999
|
{
|
|
993
|
-
...
|
|
1000
|
+
...n,
|
|
994
1001
|
immediate: !0
|
|
995
1002
|
}
|
|
996
1003
|
);
|
|
997
1004
|
}
|
|
998
|
-
const Bt =
|
|
1005
|
+
const Bt = le ? window : void 0, $e = le ? window.navigator : void 0;
|
|
999
1006
|
function Tt(e) {
|
|
1000
|
-
var
|
|
1001
|
-
const
|
|
1002
|
-
return (
|
|
1007
|
+
var t;
|
|
1008
|
+
const n = F(e);
|
|
1009
|
+
return (t = n == null ? void 0 : n.$el) != null ? t : n;
|
|
1003
1010
|
}
|
|
1004
1011
|
function Ee(...e) {
|
|
1005
|
-
const
|
|
1006
|
-
|
|
1007
|
-
}, r = (
|
|
1008
|
-
const
|
|
1009
|
-
return
|
|
1012
|
+
const t = [], n = () => {
|
|
1013
|
+
t.forEach((l) => l()), t.length = 0;
|
|
1014
|
+
}, r = (l, d, p, s) => (l.addEventListener(d, p, s), () => l.removeEventListener(d, p, s)), i = B(() => {
|
|
1015
|
+
const l = J(F(e[0])).filter((d) => d != null);
|
|
1016
|
+
return l.every((d) => typeof d != "string") ? l : void 0;
|
|
1010
1017
|
}), c = At(
|
|
1011
1018
|
() => {
|
|
1012
|
-
var
|
|
1019
|
+
var l, d;
|
|
1013
1020
|
return [
|
|
1014
|
-
(d = (
|
|
1021
|
+
(d = (l = i.value) == null ? void 0 : l.map((p) => Tt(p))) != null ? d : [Bt].filter((p) => p != null),
|
|
1015
1022
|
J(F(i.value ? e[1] : e[0])),
|
|
1016
1023
|
J(x(i.value ? e[2] : e[1])),
|
|
1017
1024
|
// @ts-expect-error - TypeScript gets the correct types, but somehow still complains
|
|
1018
1025
|
F(i.value ? e[3] : e[2])
|
|
1019
1026
|
];
|
|
1020
1027
|
},
|
|
1021
|
-
([
|
|
1022
|
-
if (
|
|
1028
|
+
([l, d, p, s]) => {
|
|
1029
|
+
if (n(), !(l != null && l.length) || !(d != null && d.length) || !(p != null && p.length))
|
|
1023
1030
|
return;
|
|
1024
|
-
const
|
|
1025
|
-
|
|
1026
|
-
...
|
|
1031
|
+
const o = Mt(s) ? { ...s } : s;
|
|
1032
|
+
t.push(
|
|
1033
|
+
...l.flatMap(
|
|
1027
1034
|
(u) => d.flatMap(
|
|
1028
|
-
(v) => p.map((g) => r(u, v, g,
|
|
1035
|
+
(v) => p.map((g) => r(u, v, g, o))
|
|
1029
1036
|
)
|
|
1030
1037
|
)
|
|
1031
1038
|
);
|
|
1032
1039
|
},
|
|
1033
1040
|
{ flush: "post" }
|
|
1034
|
-
),
|
|
1035
|
-
c(),
|
|
1041
|
+
), a = () => {
|
|
1042
|
+
c(), n();
|
|
1036
1043
|
};
|
|
1037
|
-
return we(
|
|
1044
|
+
return we(n), a;
|
|
1038
1045
|
}
|
|
1039
1046
|
function jt() {
|
|
1040
|
-
const e =
|
|
1041
|
-
return
|
|
1047
|
+
const e = V(!1), t = Y();
|
|
1048
|
+
return t && ke(() => {
|
|
1042
1049
|
e.value = !0;
|
|
1043
|
-
},
|
|
1050
|
+
}, t), e;
|
|
1044
1051
|
}
|
|
1045
1052
|
function Me(e) {
|
|
1046
|
-
const
|
|
1047
|
-
return B(() => (
|
|
1053
|
+
const t = jt();
|
|
1054
|
+
return B(() => (t.value, !!e()));
|
|
1048
1055
|
}
|
|
1049
|
-
function
|
|
1056
|
+
function ge(e, t = {}) {
|
|
1050
1057
|
const {
|
|
1051
|
-
controls:
|
|
1058
|
+
controls: n = !1,
|
|
1052
1059
|
navigator: r = $e
|
|
1053
|
-
} =
|
|
1054
|
-
var
|
|
1055
|
-
|
|
1060
|
+
} = t, i = Me(() => r && "permissions" in r), c = V(), a = typeof e == "string" ? { name: e } : e, l = V(), d = () => {
|
|
1061
|
+
var s, o;
|
|
1062
|
+
l.value = (o = (s = c.value) == null ? void 0 : s.state) != null ? o : "prompt";
|
|
1056
1063
|
};
|
|
1057
1064
|
Ee(c, "change", d, { passive: !0 });
|
|
1058
1065
|
const p = Nt(async () => {
|
|
1059
1066
|
if (i.value) {
|
|
1060
1067
|
if (!c.value)
|
|
1061
1068
|
try {
|
|
1062
|
-
c.value = await r.permissions.query(
|
|
1069
|
+
c.value = await r.permissions.query(a);
|
|
1063
1070
|
} catch {
|
|
1064
1071
|
c.value = void 0;
|
|
1065
1072
|
} finally {
|
|
1066
1073
|
d();
|
|
1067
1074
|
}
|
|
1068
|
-
if (
|
|
1075
|
+
if (n)
|
|
1069
1076
|
return qe(c.value);
|
|
1070
1077
|
}
|
|
1071
1078
|
});
|
|
1072
|
-
return p(),
|
|
1073
|
-
state:
|
|
1079
|
+
return p(), n ? {
|
|
1080
|
+
state: l,
|
|
1074
1081
|
isSupported: i,
|
|
1075
1082
|
query: p
|
|
1076
|
-
} :
|
|
1083
|
+
} : l;
|
|
1077
1084
|
}
|
|
1078
1085
|
function Dt(e = {}) {
|
|
1079
1086
|
const {
|
|
1080
|
-
navigator:
|
|
1081
|
-
read:
|
|
1087
|
+
navigator: t = $e,
|
|
1088
|
+
read: n = !1,
|
|
1082
1089
|
source: r,
|
|
1083
1090
|
copiedDuring: i = 1500,
|
|
1084
1091
|
legacy: c = !1
|
|
1085
|
-
} = e,
|
|
1092
|
+
} = e, a = Me(() => t && "clipboard" in t), l = ge("clipboard-read"), d = ge("clipboard-write"), p = B(() => a.value || c), s = V(""), o = V(!1), u = Pt(() => o.value = !1, i, { immediate: !1 });
|
|
1086
1093
|
async function v() {
|
|
1087
|
-
let f = !(
|
|
1094
|
+
let f = !(a.value && y(l.value));
|
|
1088
1095
|
if (!f)
|
|
1089
1096
|
try {
|
|
1090
|
-
|
|
1097
|
+
s.value = await t.clipboard.readText();
|
|
1091
1098
|
} catch {
|
|
1092
1099
|
f = !0;
|
|
1093
1100
|
}
|
|
1094
|
-
f && (
|
|
1101
|
+
f && (s.value = h());
|
|
1095
1102
|
}
|
|
1096
|
-
p.value &&
|
|
1103
|
+
p.value && n && Ee(["copy", "cut"], v, { passive: !0 });
|
|
1097
1104
|
async function g(f = F(r)) {
|
|
1098
1105
|
if (p.value && f != null) {
|
|
1099
|
-
let b = !(
|
|
1106
|
+
let b = !(a.value && y(d.value));
|
|
1100
1107
|
if (!b)
|
|
1101
1108
|
try {
|
|
1102
|
-
await
|
|
1109
|
+
await t.clipboard.writeText(f);
|
|
1103
1110
|
} catch {
|
|
1104
1111
|
b = !0;
|
|
1105
1112
|
}
|
|
1106
|
-
b && m(f),
|
|
1113
|
+
b && m(f), s.value = f, o.value = !0, u.start();
|
|
1107
1114
|
}
|
|
1108
1115
|
}
|
|
1109
1116
|
function m(f) {
|
|
@@ -1119,34 +1126,34 @@ function Dt(e = {}) {
|
|
|
1119
1126
|
}
|
|
1120
1127
|
return {
|
|
1121
1128
|
isSupported: p,
|
|
1122
|
-
text:
|
|
1123
|
-
copied:
|
|
1129
|
+
text: s,
|
|
1130
|
+
copied: o,
|
|
1124
1131
|
copy: g
|
|
1125
1132
|
};
|
|
1126
1133
|
}
|
|
1127
1134
|
const Rt = Dt();
|
|
1128
1135
|
let ee;
|
|
1129
1136
|
const Lt = {
|
|
1130
|
-
mounted(e,
|
|
1131
|
-
var
|
|
1132
|
-
const r =
|
|
1137
|
+
mounted(e, t, n) {
|
|
1138
|
+
var a, l;
|
|
1139
|
+
const r = re(n.ctx), i = ((l = (a = r == null ? void 0 : r.locale) == null ? void 0 : a.locale) == null ? void 0 : l.slice(0, 2)) || "en", c = {
|
|
1133
1140
|
zh: "复制成功",
|
|
1134
1141
|
en: "Copy successfully",
|
|
1135
1142
|
fr: "Copie réussie"
|
|
1136
1143
|
};
|
|
1137
|
-
e.copyValue =
|
|
1144
|
+
e.copyValue = t.value, ee = () => {
|
|
1138
1145
|
Rt.copy(e.copyValue), Je.success(c[i]);
|
|
1139
1146
|
}, e.addEventListener("click", ee);
|
|
1140
1147
|
},
|
|
1141
|
-
updated(e,
|
|
1142
|
-
e.copyValue =
|
|
1148
|
+
updated(e, t) {
|
|
1149
|
+
e.copyValue = t.value;
|
|
1143
1150
|
},
|
|
1144
1151
|
unmounted(e) {
|
|
1145
1152
|
e.removeEventListener("click", ee);
|
|
1146
1153
|
}
|
|
1147
1154
|
}, It = {
|
|
1148
|
-
beforeMount(e,
|
|
1149
|
-
const r =
|
|
1155
|
+
beforeMount(e, t, n) {
|
|
1156
|
+
const r = t.value, i = {
|
|
1150
1157
|
letterNumber: /^\w*$/,
|
|
1151
1158
|
// 字母和数字
|
|
1152
1159
|
price: /^(\d*|(\d+\.\d{0,2}))$/,
|
|
@@ -1158,67 +1165,67 @@ const Lt = {
|
|
|
1158
1165
|
verify: /^\d{0,6}$/,
|
|
1159
1166
|
idCard: /(^\d{15}$)|(^\d{18}$)|(^\d{17}(\d|X|x)$)/
|
|
1160
1167
|
//身份证号(15位、18位数字),最后一位是校验位,可能为数字或字符X
|
|
1161
|
-
}, c = r instanceof RegExp ? r :
|
|
1162
|
-
e._handleInput = (
|
|
1163
|
-
if (
|
|
1164
|
-
const
|
|
1165
|
-
if (e._input =
|
|
1166
|
-
|
|
1168
|
+
}, c = r instanceof RegExp ? r : t.arg && i[t.arg] ? i[t.arg] : null;
|
|
1169
|
+
e._handleInput = (a) => {
|
|
1170
|
+
if (a.isTrusted && !(!a.isComposing && a.inputType === "insertCompositionText" && a.data)) {
|
|
1171
|
+
const l = c == null ? void 0 : c.test(a.target.value);
|
|
1172
|
+
if (e._input = l ? a.target.value : e._input, a.target.value = "", a.target.value = e._input, !l)
|
|
1173
|
+
a.target.selectionStart = e._start, a.target.selectionEnd = e._end;
|
|
1167
1174
|
else
|
|
1168
|
-
switch (
|
|
1175
|
+
switch (a.inputType) {
|
|
1169
1176
|
case "deleteContentForward":
|
|
1170
1177
|
//delete
|
|
1171
1178
|
case "deleteByDrag":
|
|
1172
1179
|
//dropout
|
|
1173
1180
|
case "deleteByCut":
|
|
1174
|
-
|
|
1181
|
+
a.target.selectionStart = e._start, a.target.selectionEnd = e._start;
|
|
1175
1182
|
break;
|
|
1176
1183
|
case "deleteContentBackward":
|
|
1177
|
-
|
|
1184
|
+
a.target.selectionStart = e._start === e._end ? e._start - 1 : e._start, a.target.selectionEnd = e._start === e._end ? e._start - 1 : e._start;
|
|
1178
1185
|
break;
|
|
1179
1186
|
case "insertFromPaste":
|
|
1180
1187
|
//粘贴
|
|
1181
1188
|
case "insertFromDrop":
|
|
1182
|
-
const p =
|
|
1189
|
+
const p = a.dataTransfer || a.clipboardData || null;
|
|
1183
1190
|
if (p) {
|
|
1184
|
-
const
|
|
1185
|
-
|
|
1191
|
+
const s = p.getData("text") || "";
|
|
1192
|
+
a.target.selectionStart = e._start + s.length, a.target.selectionEnd = e._start + s.length;
|
|
1186
1193
|
}
|
|
1187
1194
|
break;
|
|
1188
1195
|
case "insertText":
|
|
1189
1196
|
//insert
|
|
1190
1197
|
case "insertCompositionText":
|
|
1191
|
-
|
|
1198
|
+
a.target.selectionStart = e._start + 1, a.target.selectionEnd = e._start + 1;
|
|
1192
1199
|
break;
|
|
1193
1200
|
}
|
|
1194
1201
|
const d = new InputEvent("input", {
|
|
1195
1202
|
isComposing: !1
|
|
1196
1203
|
});
|
|
1197
|
-
|
|
1204
|
+
a.target.dispatchEvent(d);
|
|
1198
1205
|
}
|
|
1199
|
-
}, e._handleKeydown = (
|
|
1200
|
-
const
|
|
1201
|
-
e._input =
|
|
1202
|
-
}, e._handleDrop = (
|
|
1203
|
-
|
|
1204
|
-
},
|
|
1206
|
+
}, e._handleKeydown = (a) => {
|
|
1207
|
+
const l = c == null ? void 0 : c.test(a.target.value);
|
|
1208
|
+
e._input = l ? a.target.value : "", e._start = a.target.selectionStart, e._end = a.target.selectionEnd;
|
|
1209
|
+
}, e._handleDrop = (a) => {
|
|
1210
|
+
a.stopPropagation();
|
|
1211
|
+
}, n.type === "input" && (e.addEventListener("input", e._handleInput), e.addEventListener("keydown", e._handleKeydown), e.addEventListener("drop", e._handleDrop));
|
|
1205
1212
|
},
|
|
1206
1213
|
unmounted(e) {
|
|
1207
1214
|
e._handleInput && e.removeEventListener("input", e._handleInput), e._handleKeydown && e.removeEventListener("keydown", e._handleKeydown), e._handleDrop && e.removeEventListener("drop", e._handleDrop);
|
|
1208
1215
|
}
|
|
1209
1216
|
};
|
|
1210
|
-
function
|
|
1211
|
-
const r =
|
|
1217
|
+
function he(e, t, n) {
|
|
1218
|
+
const r = t.value;
|
|
1212
1219
|
if (r) {
|
|
1213
1220
|
const i = r / 2;
|
|
1214
1221
|
e.style.marginLeft = `-${i}px`, e.style.marginRight = `-${i}px`;
|
|
1215
|
-
const c =
|
|
1216
|
-
c != null && c.length && c[0].children.forEach((
|
|
1217
|
-
if (
|
|
1218
|
-
const
|
|
1219
|
-
|
|
1220
|
-
} else Array.isArray(
|
|
1221
|
-
const d =
|
|
1222
|
+
const c = n.children;
|
|
1223
|
+
c != null && c.length && c[0].children.forEach((a) => {
|
|
1224
|
+
if (a.component) {
|
|
1225
|
+
const l = a.el;
|
|
1226
|
+
l != null && l.style && (l.style.paddingLeft = i + "px", l.style.paddingRight = i + "px");
|
|
1227
|
+
} else Array.isArray(a.children) && a.children.forEach((l) => {
|
|
1228
|
+
const d = l.el;
|
|
1222
1229
|
d != null && d.style && (d.style.paddingLeft = i + "px", d.style.paddingRight = i + "px");
|
|
1223
1230
|
});
|
|
1224
1231
|
});
|
|
@@ -1228,124 +1235,124 @@ const Ot = {
|
|
|
1228
1235
|
beforeMount(e) {
|
|
1229
1236
|
e.classList.add("ant-row"), e.style.display = "flex", e.style.flexWrap = "wrap", e.style.flexDirection = "row", e.style.minWidth = 0;
|
|
1230
1237
|
},
|
|
1231
|
-
mounted(e,
|
|
1232
|
-
|
|
1238
|
+
mounted(e, t, n) {
|
|
1239
|
+
he(e, t, n);
|
|
1233
1240
|
},
|
|
1234
|
-
updated(e,
|
|
1235
|
-
|
|
1241
|
+
updated(e, t, n, r) {
|
|
1242
|
+
he(e, t, n);
|
|
1236
1243
|
}
|
|
1237
1244
|
}, Wt = {
|
|
1238
|
-
beforeMount(e,
|
|
1239
|
-
e.classList.add("ant-col", `ant-col-${
|
|
1240
|
-
const
|
|
1241
|
-
e.style.position = "relative", e.style.flex = `0 0 ${
|
|
1245
|
+
beforeMount(e, t) {
|
|
1246
|
+
e.classList.add("ant-col", `ant-col-${t.value}`);
|
|
1247
|
+
const n = t.value / 24 * 100;
|
|
1248
|
+
e.style.position = "relative", e.style.flex = `0 0 ${n}%`, e.style.maxWidth = `${n}%`;
|
|
1242
1249
|
}
|
|
1243
1250
|
}, Ft = {
|
|
1244
|
-
mounted(e,
|
|
1245
|
-
const { value: r } =
|
|
1251
|
+
mounted(e, t, n) {
|
|
1252
|
+
const { value: r } = t, {
|
|
1246
1253
|
content: i = "",
|
|
1247
1254
|
placement: c = "top",
|
|
1248
|
-
enabled:
|
|
1249
|
-
padding:
|
|
1255
|
+
enabled: a = !0,
|
|
1256
|
+
padding: l = 8,
|
|
1250
1257
|
// 默认左右间距8px,用来判断文本的测量宽度是否超出元素宽度
|
|
1251
1258
|
...d
|
|
1252
1259
|
} = typeof r == "string" ? { content: r } : r;
|
|
1253
|
-
if (e.tooltipDisabled = !1, !
|
|
1260
|
+
if (e.tooltipDisabled = !1, !a)
|
|
1254
1261
|
e.tooltipDisabled = !0;
|
|
1255
|
-
else if (
|
|
1256
|
-
const v = e.clientWidth, g =
|
|
1257
|
-
e.tooltipDisabled = v ? g < v -
|
|
1262
|
+
else if (t.modifiers.exceed) {
|
|
1263
|
+
const v = e.clientWidth, g = ye(i);
|
|
1264
|
+
e.tooltipDisabled = v ? g < v - l * 2 : !0;
|
|
1258
1265
|
}
|
|
1259
1266
|
const p = C({
|
|
1260
1267
|
top: 0,
|
|
1261
1268
|
left: 0,
|
|
1262
1269
|
bottom: 0,
|
|
1263
1270
|
right: 0
|
|
1264
|
-
}),
|
|
1271
|
+
}), s = C({
|
|
1265
1272
|
getBoundingClientRect: () => p.value
|
|
1266
|
-
}),
|
|
1273
|
+
}), o = W(tt, {
|
|
1267
1274
|
visible: !1,
|
|
1268
1275
|
content: i,
|
|
1269
1276
|
placement: c,
|
|
1270
1277
|
virtualTriggering: !0,
|
|
1271
|
-
virtualRef:
|
|
1278
|
+
virtualRef: s.value,
|
|
1272
1279
|
popperClass: "vtooltip",
|
|
1273
1280
|
...d
|
|
1274
1281
|
}), u = document.createDocumentFragment();
|
|
1275
|
-
X(
|
|
1276
|
-
p.value = e.getBoundingClientRect(),
|
|
1282
|
+
X(o, u), e.tooltipVm = o, e.tooltipContainer = u, e.addEventListener("mouseenter", () => {
|
|
1283
|
+
p.value = e.getBoundingClientRect(), o.component && !e.tooltipDisabled && (Object.assign(o.component.props, { visible: !0 }), o.component.update());
|
|
1277
1284
|
}), e.addEventListener("mouseleave", () => {
|
|
1278
|
-
|
|
1285
|
+
o.component && (Object.assign(o.component.props, { visible: !1 }), o.component.update());
|
|
1279
1286
|
});
|
|
1280
1287
|
},
|
|
1281
|
-
updated(e,
|
|
1288
|
+
updated(e, t) {
|
|
1282
1289
|
if (e.tooltipVm) {
|
|
1283
|
-
const { value:
|
|
1290
|
+
const { value: n } = t, {
|
|
1284
1291
|
content: r = "",
|
|
1285
1292
|
placement: i = "top",
|
|
1286
1293
|
enabled: c = !0,
|
|
1287
|
-
padding:
|
|
1294
|
+
padding: a = 8,
|
|
1288
1295
|
// 默认左右间距8px,用来判断文本的测量宽度是否超出元素宽度
|
|
1289
|
-
...
|
|
1290
|
-
} = typeof
|
|
1296
|
+
...l
|
|
1297
|
+
} = typeof n == "string" ? { content: n } : n;
|
|
1291
1298
|
if (e.tooltipDisabled = !1, !c)
|
|
1292
1299
|
e.tooltipDisabled = !0;
|
|
1293
|
-
else if (
|
|
1294
|
-
const p = e.clientWidth,
|
|
1295
|
-
e.tooltipDisabled = p ?
|
|
1300
|
+
else if (t.modifiers.exceed) {
|
|
1301
|
+
const p = e.clientWidth, s = ye(r);
|
|
1302
|
+
e.tooltipDisabled = p ? s < p - a * 2 : !0;
|
|
1296
1303
|
}
|
|
1297
1304
|
const d = e.tooltipVm;
|
|
1298
|
-
d.component && (Object.assign(d.component.props, { content: r, placement: i, ...
|
|
1305
|
+
d.component && (Object.assign(d.component.props, { content: r, placement: i, ...l }), d.component.update());
|
|
1299
1306
|
}
|
|
1300
1307
|
},
|
|
1301
1308
|
unmounted(e) {
|
|
1302
1309
|
e.tooltipContainer && X(null, e.tooltipContainer);
|
|
1303
1310
|
}
|
|
1304
1311
|
};
|
|
1305
|
-
function
|
|
1312
|
+
function ye(e, t) {
|
|
1306
1313
|
const r = document.createElement("canvas").getContext("2d");
|
|
1307
1314
|
return r.font = "14px Arial", r.measureText(e).width;
|
|
1308
1315
|
}
|
|
1309
1316
|
const Ut = {
|
|
1310
|
-
beforeMount(e,
|
|
1311
|
-
const { value:
|
|
1312
|
-
|
|
1317
|
+
beforeMount(e, t) {
|
|
1318
|
+
const { value: n } = t;
|
|
1319
|
+
n && (Xe(n) || setTimeout(() => {
|
|
1313
1320
|
var i;
|
|
1314
1321
|
(i = e.parentNode) == null || i.removeChild(e);
|
|
1315
1322
|
}, 50));
|
|
1316
1323
|
}
|
|
1317
1324
|
};
|
|
1318
|
-
function
|
|
1319
|
-
const
|
|
1320
|
-
return e.replace(
|
|
1325
|
+
function be(e, t = 4) {
|
|
1326
|
+
const n = new RegExp(`(.{${t}})`, "g");
|
|
1327
|
+
return e.replace(n, "$1 ").trim();
|
|
1321
1328
|
}
|
|
1322
|
-
const
|
|
1323
|
-
mounted(e,
|
|
1324
|
-
const { value:
|
|
1325
|
-
e.textContent =
|
|
1329
|
+
const zt = {
|
|
1330
|
+
mounted(e, t) {
|
|
1331
|
+
const { value: n } = t, { content: r = "", spaceNum: i = 4 } = typeof n == "object" ? n || {} : { content: n + "" }, c = r.replace(/\s+/g, "");
|
|
1332
|
+
e.textContent = be(c, i) || "-";
|
|
1326
1333
|
},
|
|
1327
|
-
updated(e,
|
|
1328
|
-
const { value:
|
|
1329
|
-
e.textContent =
|
|
1334
|
+
updated(e, t) {
|
|
1335
|
+
const { value: n } = t, { content: r = "", spaceNum: i = 4 } = typeof n == "object" ? n || {} : { content: n + "" }, c = r.replace(/\s+/g, "");
|
|
1336
|
+
e.textContent = be(c, i) || "-";
|
|
1330
1337
|
}
|
|
1331
|
-
},
|
|
1338
|
+
}, _e = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1332
1339
|
__proto__: null,
|
|
1333
1340
|
col: Wt,
|
|
1334
1341
|
copy: Lt,
|
|
1335
1342
|
inputlimit: It,
|
|
1336
1343
|
permission: Ut,
|
|
1337
1344
|
row: Ot,
|
|
1338
|
-
space:
|
|
1345
|
+
space: zt,
|
|
1339
1346
|
tooltip: Ft
|
|
1340
1347
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
1341
|
-
function
|
|
1342
|
-
Object.keys(
|
|
1343
|
-
e.component(
|
|
1344
|
-
}), Object.keys(
|
|
1345
|
-
e.directive(
|
|
1348
|
+
function Kt(e) {
|
|
1349
|
+
Object.keys(ve).forEach((t) => {
|
|
1350
|
+
e.component(t, ve[t]);
|
|
1351
|
+
}), Object.keys(_e).forEach((t) => {
|
|
1352
|
+
e.directive(t, _e[t]);
|
|
1346
1353
|
});
|
|
1347
1354
|
}
|
|
1348
|
-
const Jt = { install:
|
|
1355
|
+
const Jt = { install: Kt };
|
|
1349
1356
|
export {
|
|
1350
1357
|
it as AInputNumberEx,
|
|
1351
1358
|
ct as ARangePickerEx,
|
|
@@ -1401,10 +1408,10 @@ export {
|
|
|
1401
1408
|
In as setToken,
|
|
1402
1409
|
On as setUserCenterParams,
|
|
1403
1410
|
Wn as setUserInfo,
|
|
1404
|
-
|
|
1411
|
+
zt as space,
|
|
1405
1412
|
Fn as toUserCenterConsole,
|
|
1406
1413
|
Ft as tooltip,
|
|
1407
|
-
|
|
1414
|
+
re as useConfigProvider,
|
|
1408
1415
|
Yt as useFindParent,
|
|
1409
1416
|
Qt as useModal
|
|
1410
1417
|
};
|