@witlink/components 1.0.21 → 1.0.23
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 +5 -0
- package/dist/index.js +794 -736
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { InputNumber as
|
|
2
|
-
import { markRaw as
|
|
3
|
-
import { isNullOrUndef as
|
|
4
|
-
import { UserCenterKey as
|
|
5
|
-
import
|
|
6
|
-
import { Drawer as
|
|
7
|
-
import { ElScrollbar as
|
|
8
|
-
const
|
|
1
|
+
import { InputNumber as ae, RangePicker as Ne, Table as De, Popover as Le, Input as Be, Row as Re, Col as je, Button as Oe, Slider as Ie } from "ant-design-vue/es";
|
|
2
|
+
import { markRaw as se, createElementBlock as A, openBlock as w, createElementVNode as $, defineComponent as F, mergeModels as j, useModel as G, useSlots as Se, useAttrs as Fe, createBlock as z, mergeProps as I, createSlots as re, renderList as V, withCtx as M, unref as k, renderSlot as q, normalizeProps as ke, guardReactiveProps as Ue, createVNode as T, ref as S, getCurrentInstance as J, render as Z, h as W, computed as D, onMounted as we, onUnmounted as We, normalizeClass as ze, normalizeStyle as ce, resolveDirective as Ke, isRef as Q, withKeys as Ve, withModifiers as de, Fragment as H, createTextVNode as ee, toDisplayString as oe, withDirectives as qe, nextTick as pe, useCssVars as Xe, watch as le, createCommentVNode as fe, shallowRef as X, shallowReadonly as He, toValue as K, getCurrentScope as Ye, onScopeDispose as Ze, toRaw as Ge } from "vue";
|
|
3
|
+
import { isNullOrUndef as B, hasPermission as Qe } from "./utils.js";
|
|
4
|
+
import { UserCenterKey as dn, buildTree as pn, exportFile as fn, forEachTree as mn, getButtonPermissions as vn, getLocale as gn, getMenuInfo as hn, getToken as yn, getUserCenterParams as bn, getUserCenterParamsByUrl as _n, getUserInfo as xn, is as Cn, isArray as Sn, isAsyncFunction as kn, isBoolean as wn, isClient as $n, isDate as En, isDef as Mn, isElement as Pn, isFunction as Tn, isImageDom as An, isNull as Nn, isNumber as Dn, isObject as Ln, isPromise as Bn, isServer as Rn, isString as jn, isUndef as On, isWindow as In, logoutToUserCenter as Fn, removeAll as Un, removeLocale as Wn, removeToken as zn, setLocale as Kn, setMenuInfo as Vn, setToken as qn, setUserCenterParams as Xn, setUserInfo as Hn, toUserCenterConsole as Yn } from "./utils.js";
|
|
5
|
+
import me from "dayjs";
|
|
6
|
+
import { Drawer as N, App as Je, Modal as et, Button as tt, ConfigProvider as nt, Textarea as ot, Form as $e, message as at } from "ant-design-vue";
|
|
7
|
+
import { ElScrollbar as st, ElTooltip as rt } from "element-plus";
|
|
8
|
+
const lt = {
|
|
9
9
|
class: "icon",
|
|
10
10
|
viewBox: "0 0 1024 1024",
|
|
11
11
|
width: "1.2em",
|
|
12
12
|
height: "1.2em"
|
|
13
13
|
};
|
|
14
|
-
function
|
|
15
|
-
return
|
|
14
|
+
function it(e, n) {
|
|
15
|
+
return w(), A("svg", lt, n[0] || (n[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"
|
|
@@ -23,24 +23,24 @@ function ot(e, t) {
|
|
|
23
23
|
}, null, -1)
|
|
24
24
|
]));
|
|
25
25
|
}
|
|
26
|
-
const
|
|
26
|
+
const ut = se({ name: "ant-design-plus", render: it }), ct = {
|
|
27
27
|
class: "icon",
|
|
28
28
|
viewBox: "0 0 1024 1024",
|
|
29
29
|
width: "1.2em",
|
|
30
30
|
height: "1.2em"
|
|
31
31
|
};
|
|
32
|
-
function
|
|
33
|
-
return
|
|
32
|
+
function dt(e, n) {
|
|
33
|
+
return w(), A("svg", ct, n[0] || (n[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"
|
|
37
37
|
}, null, -1)
|
|
38
38
|
]));
|
|
39
39
|
}
|
|
40
|
-
const
|
|
40
|
+
const pt = se({ name: "ant-design-minus", render: dt }), ft = /* @__PURE__ */ F({
|
|
41
41
|
inheritAttrs: !1,
|
|
42
42
|
__name: "index",
|
|
43
|
-
props: /* @__PURE__ */
|
|
43
|
+
props: /* @__PURE__ */ j({
|
|
44
44
|
precision: {
|
|
45
45
|
type: Number
|
|
46
46
|
},
|
|
@@ -56,47 +56,47 @@ const lt = oe({ name: "ant-design-minus", render: rt }), it = /* @__PURE__ */ O(
|
|
|
56
56
|
value: {},
|
|
57
57
|
valueModifiers: {}
|
|
58
58
|
}),
|
|
59
|
-
emits: /* @__PURE__ */
|
|
60
|
-
setup(e, { emit:
|
|
61
|
-
const
|
|
62
|
-
function
|
|
63
|
-
if (
|
|
64
|
-
|
|
59
|
+
emits: /* @__PURE__ */ j(["change"], ["update:value"]),
|
|
60
|
+
setup(e, { emit: n }) {
|
|
61
|
+
const t = G(e, "value"), l = e, u = n, i = Se(), o = Fe();
|
|
62
|
+
function s(a) {
|
|
63
|
+
if (B(a))
|
|
64
|
+
t.value = null, u("change", null);
|
|
65
65
|
else {
|
|
66
|
-
let
|
|
67
|
-
|
|
66
|
+
let c = a;
|
|
67
|
+
l.stringMode && (c = Number(c).toFixed(l.precision)), t.value !== c && (t.value = c, u("change", c));
|
|
68
68
|
}
|
|
69
69
|
}
|
|
70
70
|
function d() {
|
|
71
|
-
if (
|
|
71
|
+
if (B(t.value))
|
|
72
72
|
return;
|
|
73
|
-
let
|
|
74
|
-
|
|
73
|
+
let a = t.value;
|
|
74
|
+
l.stringMode && (a = Number(a).toFixed(l.precision)), t.value = a;
|
|
75
75
|
}
|
|
76
76
|
function p() {
|
|
77
|
-
if (
|
|
78
|
-
const
|
|
79
|
-
!
|
|
77
|
+
if (o.disabled) return;
|
|
78
|
+
const a = Number(t.value);
|
|
79
|
+
!B(o.min) && a <= Number(o.min) || s(a - 1);
|
|
80
80
|
}
|
|
81
|
-
function
|
|
82
|
-
if (
|
|
83
|
-
const
|
|
84
|
-
!
|
|
81
|
+
function r() {
|
|
82
|
+
if (o.disabled) return;
|
|
83
|
+
const a = Number(t.value);
|
|
84
|
+
!B(o.max) && a >= Number(o.max) || s(a + 1);
|
|
85
85
|
}
|
|
86
|
-
return (
|
|
87
|
-
const
|
|
88
|
-
return
|
|
89
|
-
value:
|
|
86
|
+
return (a, c) => {
|
|
87
|
+
const y = pt, h = ut, v = ae;
|
|
88
|
+
return w(), z(v, I({
|
|
89
|
+
value: t.value,
|
|
90
90
|
precision: e.precision,
|
|
91
91
|
stringMode: e.stringMode,
|
|
92
92
|
controls: !e.customControls,
|
|
93
|
-
onChange:
|
|
93
|
+
onChange: s,
|
|
94
94
|
onBlur: d
|
|
95
|
-
},
|
|
96
|
-
|
|
97
|
-
name:
|
|
98
|
-
fn: M((
|
|
99
|
-
|
|
95
|
+
}, a.$attrs), re({ _: 2 }, [
|
|
96
|
+
V(Object.keys(k(i)), (x) => ({
|
|
97
|
+
name: x,
|
|
98
|
+
fn: M((f) => [
|
|
99
|
+
q(a.$slots, x, ke(Ue(f)))
|
|
100
100
|
])
|
|
101
101
|
})),
|
|
102
102
|
e.customControls ? {
|
|
@@ -106,7 +106,7 @@ const lt = oe({ name: "ant-design-minus", render: rt }), it = /* @__PURE__ */ O(
|
|
|
106
106
|
class: "btn-control",
|
|
107
107
|
onClick: p
|
|
108
108
|
}, [
|
|
109
|
-
|
|
109
|
+
T(y, { class: "btn-icon" })
|
|
110
110
|
])
|
|
111
111
|
]),
|
|
112
112
|
key: "0"
|
|
@@ -116,9 +116,9 @@ 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: r
|
|
120
120
|
}, [
|
|
121
|
-
|
|
121
|
+
T(h, { class: "btn-icon" })
|
|
122
122
|
])
|
|
123
123
|
]),
|
|
124
124
|
key: "1"
|
|
@@ -126,7 +126,7 @@ const lt = oe({ name: "ant-design-minus", render: rt }), it = /* @__PURE__ */ O(
|
|
|
126
126
|
]), 1040, ["value", "precision", "stringMode", "controls"]);
|
|
127
127
|
};
|
|
128
128
|
}
|
|
129
|
-
}),
|
|
129
|
+
}), mt = /* @__PURE__ */ F({
|
|
130
130
|
__name: "index",
|
|
131
131
|
props: {
|
|
132
132
|
value: {},
|
|
@@ -155,232 +155,232 @@ 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
|
|
161
|
-
if (!
|
|
162
|
-
return
|
|
163
|
-
const
|
|
164
|
-
return
|
|
165
|
-
},
|
|
166
|
-
|
|
167
|
-
}, d = (
|
|
168
|
-
|
|
169
|
-
}, p = (
|
|
170
|
-
|
|
158
|
+
setup(e, { emit: n }) {
|
|
159
|
+
const t = e, l = n, u = S(), i = S(), o = (r) => {
|
|
160
|
+
const a = me().add(t.max, t.maxUnit), c = me().subtract(t.min, t.minUnit), y = t.interval;
|
|
161
|
+
if (!u.value || u.value.length === 0)
|
|
162
|
+
return r.isAfter(a) || r.isBefore(c);
|
|
163
|
+
const h = u.value[0] && (r.diff(u.value[0], "days") > y || r.isAfter(a));
|
|
164
|
+
return u.value[1] && (u.value[1].diff(r, "days") > y || r.isBefore(c)) || h;
|
|
165
|
+
}, s = (r) => {
|
|
166
|
+
r ? (u.value = [], i.value = []) : i.value = void 0;
|
|
167
|
+
}, d = (r) => {
|
|
168
|
+
l("update:value", r), l("change", r);
|
|
169
|
+
}, p = (r) => {
|
|
170
|
+
u.value = r;
|
|
171
171
|
};
|
|
172
|
-
return (
|
|
173
|
-
const
|
|
174
|
-
return
|
|
175
|
-
value:
|
|
176
|
-
"disabled-date":
|
|
172
|
+
return (r, a) => {
|
|
173
|
+
const c = Ne;
|
|
174
|
+
return w(), z(c, I({
|
|
175
|
+
value: k(i) || e.value,
|
|
176
|
+
"disabled-date": o,
|
|
177
177
|
onChange: d,
|
|
178
|
-
onOpenChange:
|
|
178
|
+
onOpenChange: s,
|
|
179
179
|
onCalendarChange: p
|
|
180
|
-
},
|
|
181
|
-
|
|
182
|
-
name:
|
|
183
|
-
fn: M((
|
|
184
|
-
|
|
180
|
+
}, r.$attrs), re({ _: 2 }, [
|
|
181
|
+
V(Object.keys(r.$slots), (y) => ({
|
|
182
|
+
name: y,
|
|
183
|
+
fn: M((h) => [
|
|
184
|
+
q(r.$slots, y)
|
|
185
185
|
])
|
|
186
186
|
}))
|
|
187
187
|
]), 1040, ["value"]);
|
|
188
188
|
};
|
|
189
189
|
}
|
|
190
190
|
});
|
|
191
|
-
function
|
|
192
|
-
e || (e =
|
|
193
|
-
const
|
|
191
|
+
function ie(e) {
|
|
192
|
+
e || (e = J());
|
|
193
|
+
const n = (e == null ? void 0 : e.provides) || {}, t = vt(n, "configProvider"), l = n[t];
|
|
194
194
|
return Object.fromEntries(
|
|
195
|
-
Object.entries(
|
|
195
|
+
Object.entries(l).map(([i, o]) => [i, k(o)])
|
|
196
196
|
);
|
|
197
197
|
}
|
|
198
|
-
function
|
|
198
|
+
function vt(e, n) {
|
|
199
199
|
for (; e; ) {
|
|
200
|
-
const
|
|
201
|
-
(
|
|
200
|
+
const t = Reflect.ownKeys(e).find(
|
|
201
|
+
(l) => l === n || typeof l == "symbol" && l.description === n
|
|
202
202
|
);
|
|
203
|
-
if (
|
|
204
|
-
return
|
|
203
|
+
if (t)
|
|
204
|
+
return t;
|
|
205
205
|
e = Object.getPrototypeOf(e);
|
|
206
206
|
}
|
|
207
207
|
return null;
|
|
208
208
|
}
|
|
209
|
-
function
|
|
210
|
-
var
|
|
211
|
-
let
|
|
212
|
-
for (;
|
|
213
|
-
if (
|
|
214
|
-
return
|
|
215
|
-
|
|
209
|
+
function sn(e) {
|
|
210
|
+
var t;
|
|
211
|
+
let n = (t = J()) == null ? void 0 : t.parent;
|
|
212
|
+
for (; n; ) {
|
|
213
|
+
if (n.type.name === e)
|
|
214
|
+
return n;
|
|
215
|
+
n = n.parent;
|
|
216
216
|
}
|
|
217
217
|
return null;
|
|
218
218
|
}
|
|
219
|
-
let
|
|
220
|
-
|
|
221
|
-
const e =
|
|
222
|
-
if (
|
|
223
|
-
const
|
|
224
|
-
Object.assign(
|
|
219
|
+
let O, ve, R, ge;
|
|
220
|
+
N.destroy = function() {
|
|
221
|
+
const e = N.instanceArr || [], n = e.pop();
|
|
222
|
+
if (n && Z(null, n.container), e.length > 0) {
|
|
223
|
+
const t = e[e.length - 1].instance;
|
|
224
|
+
Object.assign(t.component.props, {
|
|
225
225
|
contentWrapperStyle: { transform: null }
|
|
226
|
-
}),
|
|
226
|
+
}), t.component.update();
|
|
227
227
|
}
|
|
228
228
|
};
|
|
229
|
-
|
|
230
|
-
(
|
|
231
|
-
|
|
232
|
-
}),
|
|
229
|
+
N.destroyAll = function() {
|
|
230
|
+
(N.instanceArr || []).forEach((n) => {
|
|
231
|
+
Z(null, n.container);
|
|
232
|
+
}), N.instanceArr = [];
|
|
233
233
|
};
|
|
234
|
-
function
|
|
235
|
-
var
|
|
236
|
-
const e =
|
|
237
|
-
if (!
|
|
238
|
-
const
|
|
239
|
-
|
|
234
|
+
function rn() {
|
|
235
|
+
var r, a;
|
|
236
|
+
const e = J();
|
|
237
|
+
if (!R) {
|
|
238
|
+
const c = Je.useApp();
|
|
239
|
+
R = c.modal, ve = c.message, ge = c.notification;
|
|
240
240
|
}
|
|
241
|
-
|
|
242
|
-
const
|
|
241
|
+
R.info || (R = et);
|
|
242
|
+
const n = {
|
|
243
243
|
zh: "关闭",
|
|
244
244
|
en: "Close",
|
|
245
245
|
fr: "fermeture"
|
|
246
|
-
},
|
|
246
|
+
}, t = {
|
|
247
247
|
zh: "请输入",
|
|
248
248
|
en: "Please Enter",
|
|
249
249
|
fr: "Veuillez entrer"
|
|
250
|
-
},
|
|
251
|
-
function
|
|
252
|
-
const
|
|
253
|
-
return
|
|
254
|
-
title:
|
|
255
|
-
...
|
|
256
|
-
comp:
|
|
250
|
+
}, l = ie(), u = ((a = (r = l == null ? void 0 : l.locale) == null ? void 0 : r.locale) == null ? void 0 : a.slice(0, 2)) || "en";
|
|
251
|
+
function i({ title: c, ...y }) {
|
|
252
|
+
const h = S();
|
|
253
|
+
return o({
|
|
254
|
+
title: c,
|
|
255
|
+
...y,
|
|
256
|
+
comp: ot,
|
|
257
257
|
props: {
|
|
258
|
-
placeholder:
|
|
258
|
+
placeholder: t[u],
|
|
259
259
|
autoSize: { minRows: 6 },
|
|
260
|
-
value:
|
|
261
|
-
"onUpdate:value": (
|
|
262
|
-
|
|
260
|
+
value: h,
|
|
261
|
+
"onUpdate:value": (v) => {
|
|
262
|
+
h.value = v;
|
|
263
263
|
},
|
|
264
|
-
...
|
|
264
|
+
...y.props
|
|
265
265
|
},
|
|
266
266
|
class: "modal-comp modal-comp-input",
|
|
267
267
|
type: "confirm",
|
|
268
|
-
onOk: () => new Promise((
|
|
269
|
-
|
|
268
|
+
onOk: () => new Promise((v, x) => {
|
|
269
|
+
y.onOk && (y.onOk(h.value) ? v(1) : x()), v(1);
|
|
270
270
|
})
|
|
271
271
|
});
|
|
272
272
|
}
|
|
273
|
-
function
|
|
274
|
-
const
|
|
275
|
-
title:
|
|
276
|
-
content:
|
|
273
|
+
function o({ title: c, comp: y, props: h, ...v }) {
|
|
274
|
+
const x = W(y, h), f = (v == null ? void 0 : v.type) ?? "info", m = {
|
|
275
|
+
title: c,
|
|
276
|
+
content: x,
|
|
277
277
|
width: "auto",
|
|
278
278
|
icon: null,
|
|
279
279
|
closable: !0,
|
|
280
280
|
maskClosable: !0,
|
|
281
281
|
centered: !0,
|
|
282
282
|
class: "modal-comp",
|
|
283
|
-
...
|
|
283
|
+
...v
|
|
284
284
|
};
|
|
285
|
-
switch (
|
|
285
|
+
switch (f) {
|
|
286
286
|
case "info":
|
|
287
|
-
|
|
287
|
+
O = R.info(m);
|
|
288
288
|
break;
|
|
289
289
|
case "warning":
|
|
290
|
-
|
|
290
|
+
O = R.warning(m);
|
|
291
291
|
break;
|
|
292
292
|
case "success":
|
|
293
|
-
|
|
293
|
+
O = R.success(m);
|
|
294
294
|
break;
|
|
295
295
|
case "confirm":
|
|
296
|
-
|
|
296
|
+
O = R.confirm(m);
|
|
297
297
|
break;
|
|
298
298
|
}
|
|
299
|
-
return
|
|
299
|
+
return O;
|
|
300
300
|
}
|
|
301
|
-
function
|
|
302
|
-
|
|
301
|
+
function s() {
|
|
302
|
+
O == null || O.destroy();
|
|
303
303
|
}
|
|
304
|
-
function d({ title:
|
|
305
|
-
const
|
|
306
|
-
|
|
307
|
-
const
|
|
308
|
-
let
|
|
309
|
-
if ((
|
|
310
|
-
const
|
|
311
|
-
Object.assign(
|
|
304
|
+
function d({ title: c, comp: y, props: h, ...v }) {
|
|
305
|
+
const x = v.getContainer || document.createDocumentFragment();
|
|
306
|
+
N.instanceArr || (N.instanceArr = []);
|
|
307
|
+
const f = N.instanceArr, m = f[f.length - 1];
|
|
308
|
+
let g;
|
|
309
|
+
if ((m == null ? void 0 : m.comp) === y) {
|
|
310
|
+
const b = m.instance;
|
|
311
|
+
Object.assign(b.component.props, { title: c, ...v }), b.component.update(), g = m.compInstance, Object.assign(g.component.props, { ...h }), g.component.update();
|
|
312
312
|
} else {
|
|
313
|
-
if (
|
|
314
|
-
const
|
|
315
|
-
Object.assign(
|
|
313
|
+
if (m) {
|
|
314
|
+
const U = m.instance;
|
|
315
|
+
Object.assign(U.component.props, {
|
|
316
316
|
contentWrapperStyle: { transform: "translateX(-180px)" }
|
|
317
|
-
}),
|
|
317
|
+
}), U.component.update();
|
|
318
318
|
}
|
|
319
|
-
|
|
320
|
-
const
|
|
319
|
+
g = W(y, h);
|
|
320
|
+
const b = {
|
|
321
321
|
default: () => W(
|
|
322
|
-
|
|
322
|
+
st,
|
|
323
323
|
{ style: { height: "100%" }, wrapStyle: { overflowX: "hidden" } },
|
|
324
|
-
|
|
324
|
+
g
|
|
325
325
|
)
|
|
326
326
|
};
|
|
327
|
-
|
|
327
|
+
v.footer === void 0 && Object.assign(b, {
|
|
328
328
|
footer: () => W(
|
|
329
|
-
|
|
329
|
+
tt,
|
|
330
330
|
{
|
|
331
331
|
onClick: () => {
|
|
332
|
-
|
|
332
|
+
N.destroy();
|
|
333
333
|
}
|
|
334
334
|
},
|
|
335
|
-
|
|
335
|
+
n[u]
|
|
336
336
|
)
|
|
337
337
|
});
|
|
338
|
-
const
|
|
339
|
-
delete
|
|
340
|
-
const
|
|
341
|
-
|
|
338
|
+
const C = v.width || 992;
|
|
339
|
+
delete v.width;
|
|
340
|
+
const _ = W(
|
|
341
|
+
N,
|
|
342
342
|
{
|
|
343
|
-
title:
|
|
344
|
-
width:
|
|
343
|
+
title: c,
|
|
344
|
+
width: C,
|
|
345
345
|
open: !0,
|
|
346
346
|
class: "drawer-comp",
|
|
347
347
|
footerStyle: {
|
|
348
348
|
textAlign: "right"
|
|
349
349
|
},
|
|
350
350
|
onClose: () => {
|
|
351
|
-
|
|
351
|
+
v != null && v.afterClose && v.afterClose(), N.destroy();
|
|
352
352
|
},
|
|
353
|
-
...
|
|
353
|
+
...v
|
|
354
354
|
},
|
|
355
|
-
|
|
356
|
-
),
|
|
357
|
-
|
|
358
|
-
{ ...
|
|
359
|
-
{ default: () =>
|
|
355
|
+
b
|
|
356
|
+
), E = l.getPrefixCls(), L = W(
|
|
357
|
+
nt,
|
|
358
|
+
{ ...l, prefixCls: E },
|
|
359
|
+
{ default: () => _ }
|
|
360
360
|
);
|
|
361
|
-
|
|
361
|
+
L.appContext = e.appContext, Z(L, x), f.push({ instance: _, comp: y, compInstance: g, container: x });
|
|
362
362
|
}
|
|
363
363
|
return {
|
|
364
|
-
updateProps: (
|
|
365
|
-
Object.assign(
|
|
364
|
+
updateProps: (b) => {
|
|
365
|
+
Object.assign(g.component.props, { ...b }), g.component.update();
|
|
366
366
|
}
|
|
367
367
|
};
|
|
368
368
|
}
|
|
369
369
|
function p() {
|
|
370
|
-
|
|
370
|
+
N.destroy();
|
|
371
371
|
}
|
|
372
372
|
return {
|
|
373
|
-
message:
|
|
374
|
-
modal:
|
|
375
|
-
notification:
|
|
376
|
-
modalInput:
|
|
377
|
-
modalComp:
|
|
378
|
-
modalDestroy:
|
|
373
|
+
message: ve,
|
|
374
|
+
modal: R,
|
|
375
|
+
notification: ge,
|
|
376
|
+
modalInput: i,
|
|
377
|
+
modalComp: o,
|
|
378
|
+
modalDestroy: s,
|
|
379
379
|
drawerComp: d,
|
|
380
380
|
drawerDestroy: p
|
|
381
381
|
};
|
|
382
382
|
}
|
|
383
|
-
const
|
|
383
|
+
const gt = /* @__PURE__ */ F({
|
|
384
384
|
inheritAttrs: !1,
|
|
385
385
|
__name: "index",
|
|
386
386
|
props: {
|
|
@@ -393,75 +393,75 @@ const dt = /* @__PURE__ */ O({
|
|
|
393
393
|
default: !0
|
|
394
394
|
}
|
|
395
395
|
},
|
|
396
|
-
setup(e, { expose:
|
|
397
|
-
const
|
|
396
|
+
setup(e, { expose: n }) {
|
|
397
|
+
const t = e, l = Se(), u = S([]), i = S(!1), o = S(0), s = S(1), d = S(10), p = S(), r = S(), a = {
|
|
398
398
|
zh: "共 {num} 条",
|
|
399
399
|
en: "Total {num} items",
|
|
400
400
|
fr: "Total de {num}"
|
|
401
|
-
},
|
|
402
|
-
var
|
|
403
|
-
return ((
|
|
404
|
-
}),
|
|
405
|
-
total:
|
|
406
|
-
current:
|
|
401
|
+
}, c = ie(), y = D(() => {
|
|
402
|
+
var C, _;
|
|
403
|
+
return ((_ = (C = c == null ? void 0 : c.locale) == null ? void 0 : C.locale) == null ? void 0 : _.slice(0, 2)) || "en";
|
|
404
|
+
}), h = D(() => ({
|
|
405
|
+
total: o.value,
|
|
406
|
+
current: s.value,
|
|
407
407
|
pageSize: d.value,
|
|
408
408
|
showSizeChanger: !0,
|
|
409
409
|
size: "small",
|
|
410
|
-
showTotal: (
|
|
410
|
+
showTotal: (b) => a[y.value].replace("{num}", b)
|
|
411
411
|
}));
|
|
412
|
-
function
|
|
413
|
-
var
|
|
414
|
-
if (typeof
|
|
415
|
-
|
|
416
|
-
const
|
|
417
|
-
|
|
418
|
-
|
|
412
|
+
function v() {
|
|
413
|
+
var b;
|
|
414
|
+
if (typeof t.loadData == "function") {
|
|
415
|
+
i.value = !0;
|
|
416
|
+
const C = { pageNo: s.value, pageSize: d.value };
|
|
417
|
+
t.formatSortParams && ((b = r.value) != null && b.orderMap) && (C[r.value.field + "SortField"] = r.value.orderMap), t.loadData(C, p.value, r.value).then((_) => {
|
|
418
|
+
i.value = !1, (_ == null ? void 0 : _.code) === 0 && (o.value = _.result.totalCount, u.value = _.result.data);
|
|
419
419
|
});
|
|
420
420
|
}
|
|
421
421
|
}
|
|
422
|
-
function
|
|
423
|
-
if (
|
|
424
|
-
const
|
|
422
|
+
function x(b, C, _) {
|
|
423
|
+
if (s.value = b.current, d.value = b.pageSize, p.value = C, _) {
|
|
424
|
+
const E = {
|
|
425
425
|
ascend: "asc",
|
|
426
426
|
descend: "desc"
|
|
427
427
|
};
|
|
428
|
-
|
|
428
|
+
_.orderMap = E[_.order] || "";
|
|
429
429
|
}
|
|
430
|
-
|
|
430
|
+
r.value = _, v();
|
|
431
431
|
}
|
|
432
|
-
function
|
|
433
|
-
|
|
432
|
+
function f(b, C) {
|
|
433
|
+
C.width = b;
|
|
434
434
|
}
|
|
435
|
-
function
|
|
436
|
-
|
|
435
|
+
function m() {
|
|
436
|
+
s.value = 1, v();
|
|
437
437
|
}
|
|
438
|
-
function
|
|
439
|
-
|
|
438
|
+
function g() {
|
|
439
|
+
s.value = 1, o.value = 0, u.value = [];
|
|
440
440
|
}
|
|
441
|
-
return
|
|
442
|
-
loadData:
|
|
443
|
-
refresh:
|
|
444
|
-
reset:
|
|
445
|
-
}), (
|
|
446
|
-
const
|
|
447
|
-
return
|
|
441
|
+
return n({
|
|
442
|
+
loadData: v,
|
|
443
|
+
refresh: m,
|
|
444
|
+
reset: g
|
|
445
|
+
}), (b, C) => {
|
|
446
|
+
const _ = De;
|
|
447
|
+
return w(), z(_, I({
|
|
448
448
|
class: "table-ex",
|
|
449
|
-
loading:
|
|
450
|
-
pagination:
|
|
451
|
-
dataSource:
|
|
452
|
-
onChange:
|
|
453
|
-
onResizeColumn:
|
|
454
|
-
},
|
|
455
|
-
|
|
456
|
-
name:
|
|
457
|
-
fn: M((
|
|
458
|
-
|
|
449
|
+
loading: k(i),
|
|
450
|
+
pagination: k(h),
|
|
451
|
+
dataSource: k(u),
|
|
452
|
+
onChange: x,
|
|
453
|
+
onResizeColumn: f
|
|
454
|
+
}, b.$attrs), re({ _: 2 }, [
|
|
455
|
+
V(Object.keys(k(l)), (E) => ({
|
|
456
|
+
name: E,
|
|
457
|
+
fn: M((L) => [
|
|
458
|
+
E !== "emptyText" ? q(b.$slots, E, ke(I({ key: 0 }, L))) : q(b.$slots, E, { key: 1 })
|
|
459
459
|
])
|
|
460
460
|
}))
|
|
461
461
|
]), 1040, ["loading", "pagination", "dataSource"]);
|
|
462
462
|
};
|
|
463
463
|
}
|
|
464
|
-
}),
|
|
464
|
+
}), ht = /* @__PURE__ */ F({
|
|
465
465
|
__name: "index",
|
|
466
466
|
props: {
|
|
467
467
|
leftMin: {
|
|
@@ -478,55 +478,55 @@ const dt = /* @__PURE__ */ O({
|
|
|
478
478
|
}
|
|
479
479
|
},
|
|
480
480
|
setup(e) {
|
|
481
|
-
const
|
|
482
|
-
function
|
|
483
|
-
|
|
481
|
+
const n = e, t = S(), l = S(), u = S({}), i = S({}), o = S(0.2);
|
|
482
|
+
function s(p) {
|
|
483
|
+
u.value = { width: `calc(${p * 100}% - 5px)` }, i.value = { width: `calc(${(1 - p) * 100}% - 5px)` };
|
|
484
484
|
}
|
|
485
485
|
function d() {
|
|
486
|
-
const p =
|
|
486
|
+
const p = t.value;
|
|
487
487
|
if (!p)
|
|
488
488
|
return;
|
|
489
|
-
const
|
|
490
|
-
function v
|
|
491
|
-
|
|
492
|
-
const
|
|
493
|
-
|
|
489
|
+
const r = p.clientWidth, a = p.getBoundingClientRect(), c = a.left;
|
|
490
|
+
function y(v) {
|
|
491
|
+
v.preventDefault(), (v.clientX < a.left || v.clientX > a.right || v.clientY < a.top || v.clientY > a.bottom) && h();
|
|
492
|
+
const f = (v.clientX - c) / r;
|
|
493
|
+
f > n.leftMin && f < n.leftMax && (o.value = f, s(f));
|
|
494
494
|
}
|
|
495
|
-
function
|
|
496
|
-
document.removeEventListener("mousemove",
|
|
495
|
+
function h() {
|
|
496
|
+
document.removeEventListener("mousemove", y), document.removeEventListener("mouseup", h);
|
|
497
497
|
}
|
|
498
|
-
document.addEventListener("mousemove",
|
|
498
|
+
document.addEventListener("mousemove", y), document.addEventListener("mouseup", h);
|
|
499
499
|
}
|
|
500
|
-
return
|
|
501
|
-
|
|
502
|
-
}),
|
|
503
|
-
|
|
504
|
-
}), (p,
|
|
500
|
+
return we(() => {
|
|
501
|
+
s(o.value), l.value && l.value.addEventListener("mousedown", d, !1);
|
|
502
|
+
}), We(() => {
|
|
503
|
+
l.value && l.value.removeEventListener("mousedown", d);
|
|
504
|
+
}), (p, r) => (w(), A("div", {
|
|
505
505
|
ref_key: "container",
|
|
506
|
-
ref:
|
|
507
|
-
class:
|
|
506
|
+
ref: t,
|
|
507
|
+
class: ze(["wl-splitter", { bordered: e.bordered }])
|
|
508
508
|
}, [
|
|
509
509
|
$("div", {
|
|
510
510
|
class: "my-left",
|
|
511
|
-
style:
|
|
511
|
+
style: ce(k(u))
|
|
512
512
|
}, [
|
|
513
|
-
|
|
513
|
+
q(p.$slots, "left")
|
|
514
514
|
], 4),
|
|
515
515
|
$("div", {
|
|
516
516
|
ref_key: "spliter",
|
|
517
|
-
ref:
|
|
517
|
+
ref: l,
|
|
518
518
|
style: { height: "100%", width: "10px" },
|
|
519
519
|
class: "my-spliter"
|
|
520
520
|
}, null, 512),
|
|
521
521
|
$("div", {
|
|
522
522
|
class: "my-right",
|
|
523
|
-
style:
|
|
523
|
+
style: ce(k(i))
|
|
524
524
|
}, [
|
|
525
|
-
|
|
525
|
+
q(p.$slots, "right")
|
|
526
526
|
], 4)
|
|
527
527
|
], 2));
|
|
528
528
|
}
|
|
529
|
-
}),
|
|
529
|
+
}), yt = {
|
|
530
530
|
class: "icon",
|
|
531
531
|
width: "25",
|
|
532
532
|
height: "24",
|
|
@@ -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
|
|
538
|
-
return
|
|
537
|
+
function bt(e, n) {
|
|
538
|
+
return w(), A("svg", yt, n[0] || (n[0] = [
|
|
539
539
|
$("path", {
|
|
540
540
|
d: "M7.3125 5.5L2.3125 12L7.3125 18.5H22.3125V5.5H7.3125Z",
|
|
541
541
|
stroke: "#272E3B",
|
|
@@ -556,10 +556,10 @@ function mt(e, t) {
|
|
|
556
556
|
}, null, -1)
|
|
557
557
|
]));
|
|
558
558
|
}
|
|
559
|
-
const
|
|
559
|
+
const _t = se({ name: "local-clear", render: bt }), xt = { class: "nums-box" }, Ct = { class: "btn-box" }, St = /* @__PURE__ */ F({
|
|
560
560
|
inheritAttrs: !1,
|
|
561
561
|
__name: "index",
|
|
562
|
-
props: /* @__PURE__ */
|
|
562
|
+
props: /* @__PURE__ */ j({
|
|
563
563
|
quickNums: {
|
|
564
564
|
type: Array,
|
|
565
565
|
default: () => [100, 500, 1e3, 1500, 2e3, 2500]
|
|
@@ -580,94 +580,97 @@ const vt = oe({ name: "local-clear", render: mt }), gt = { class: "nums-box" },
|
|
|
580
580
|
value: { type: String },
|
|
581
581
|
valueModifiers: {}
|
|
582
582
|
}),
|
|
583
|
-
emits: /* @__PURE__ */
|
|
584
|
-
setup(e, { emit:
|
|
585
|
-
const
|
|
583
|
+
emits: /* @__PURE__ */ j(["enter"], ["update:value"]),
|
|
584
|
+
setup(e, { emit: n }) {
|
|
585
|
+
const t = e, l = n, u = S(), i = S(), o = S(["7", "8", "9", "4", "5", "6", "1", "2", "3", "0", "00", "."]), s = G(e, "value"), d = S(!1);
|
|
586
586
|
function p() {
|
|
587
587
|
d.value = !0;
|
|
588
588
|
}
|
|
589
|
-
function
|
|
590
|
-
|
|
589
|
+
function r() {
|
|
590
|
+
x();
|
|
591
591
|
}
|
|
592
|
-
function
|
|
593
|
-
|
|
592
|
+
function a(f) {
|
|
593
|
+
i.value.focus(), s.value = Number(f).toFixed(t.precision);
|
|
594
594
|
}
|
|
595
|
-
function
|
|
596
|
-
if (
|
|
597
|
-
if (["00", "."].includes(
|
|
595
|
+
function c(f) {
|
|
596
|
+
if (i.value.focus(), B(s.value) || s.value === "") {
|
|
597
|
+
if (["00", "."].includes(f))
|
|
598
598
|
return;
|
|
599
|
-
|
|
599
|
+
s.value = f;
|
|
600
600
|
} else {
|
|
601
|
-
const
|
|
602
|
-
|
|
603
|
-
const
|
|
604
|
-
|
|
605
|
-
|
|
601
|
+
const m = String(s.value), g = u.value.getElementsByTagName("input")[0], b = g.selectionStart || 0, C = g.selectionEnd || 0;
|
|
602
|
+
s.value = `${m.slice(0, b)}${f}${m.slice(C)}`;
|
|
603
|
+
const _ = b + f.length;
|
|
604
|
+
pe(() => {
|
|
605
|
+
i.value.setSelectionRange(_, _);
|
|
606
606
|
});
|
|
607
607
|
}
|
|
608
608
|
}
|
|
609
|
-
function
|
|
610
|
-
if (
|
|
609
|
+
function y() {
|
|
610
|
+
if (i.value.focus(), B(s.value))
|
|
611
611
|
return;
|
|
612
|
-
const
|
|
613
|
-
if (
|
|
614
|
-
const
|
|
615
|
-
|
|
616
|
-
|
|
612
|
+
const f = String(s.value);
|
|
613
|
+
if (f != null && f.length) {
|
|
614
|
+
const m = u.value.getElementsByTagName("input")[0], g = m.selectionStart || 0, b = m.selectionEnd || 0, C = g > 0 ? g - 1 : 0;
|
|
615
|
+
g === b ? s.value = f.slice(0, C) + f.slice(b) : s.value = f.slice(0, g) + f.slice(b), pe(() => {
|
|
616
|
+
i.value.setSelectionRange(C, C);
|
|
617
617
|
});
|
|
618
618
|
}
|
|
619
619
|
}
|
|
620
|
-
function
|
|
621
|
-
|
|
620
|
+
function h() {
|
|
621
|
+
i.value.focus(), s.value = "";
|
|
622
622
|
}
|
|
623
|
-
function
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
623
|
+
function v() {
|
|
624
|
+
i.value.blur();
|
|
625
|
+
}
|
|
626
|
+
function x() {
|
|
627
|
+
const f = t.min, m = t.max;
|
|
628
|
+
let g = parseFloat(s.value || "0");
|
|
629
|
+
B(f) || (g = g > f ? g : f), B(m) || (g = g > m ? m : g), s.value = Number(g).toFixed(t.precision), d.value = !1, l("enter");
|
|
627
630
|
}
|
|
628
|
-
return (
|
|
629
|
-
const
|
|
630
|
-
return
|
|
631
|
+
return (f, m) => {
|
|
632
|
+
const g = Oe, b = je, C = _t, _ = Re, E = Be, L = Le, U = Ke("longpress");
|
|
633
|
+
return w(), A("div", {
|
|
631
634
|
class: "number-keyboard",
|
|
632
635
|
ref_key: "numberKeyboard",
|
|
633
|
-
ref:
|
|
636
|
+
ref: u
|
|
634
637
|
}, [
|
|
635
|
-
|
|
638
|
+
T(L, {
|
|
636
639
|
overlayClassName: "popover-keyboard",
|
|
637
640
|
trigger: "manual",
|
|
638
641
|
placement: "bottomLeft",
|
|
639
642
|
align: { offset: [0, -9] },
|
|
640
|
-
open:
|
|
641
|
-
"onUpdate:open":
|
|
643
|
+
open: k(d),
|
|
644
|
+
"onUpdate:open": m[2] || (m[2] = (P) => Q(d) ? d.value = P : null)
|
|
642
645
|
}, {
|
|
643
646
|
content: M(() => [
|
|
644
647
|
$("div", {
|
|
645
648
|
class: "keyboard-panel",
|
|
646
|
-
onMousedownCapture:
|
|
649
|
+
onMousedownCapture: m[0] || (m[0] = de(() => {
|
|
647
650
|
}, ["prevent", "stop"]))
|
|
648
651
|
}, [
|
|
649
|
-
|
|
652
|
+
T(_, { gutter: "8" }, {
|
|
650
653
|
default: M(() => [
|
|
651
|
-
|
|
654
|
+
T(b, { span: 18 }, {
|
|
652
655
|
default: M(() => [
|
|
653
|
-
$("div",
|
|
654
|
-
(
|
|
656
|
+
$("div", xt, [
|
|
657
|
+
(w(!0), A(H, null, V(e.quickNums, (P) => (w(), z(g, {
|
|
655
658
|
class: "btn-num",
|
|
656
|
-
key:
|
|
657
|
-
onClick: (
|
|
659
|
+
key: P,
|
|
660
|
+
onClick: (Ae) => a(P)
|
|
658
661
|
}, {
|
|
659
662
|
default: M(() => [
|
|
660
|
-
|
|
663
|
+
ee(oe(P), 1)
|
|
661
664
|
]),
|
|
662
665
|
_: 2
|
|
663
666
|
}, 1032, ["onClick"]))), 128)),
|
|
664
|
-
(
|
|
667
|
+
(w(!0), A(H, null, V(k(o), (P) => (w(), z(g, {
|
|
665
668
|
class: "btn-num",
|
|
666
|
-
key:
|
|
667
|
-
onClick: (
|
|
669
|
+
key: P,
|
|
670
|
+
onClick: (Ae) => c(P)
|
|
668
671
|
}, {
|
|
669
672
|
default: M(() => [
|
|
670
|
-
|
|
673
|
+
ee(oe(P), 1)
|
|
671
674
|
]),
|
|
672
675
|
_: 2
|
|
673
676
|
}, 1032, ["onClick"]))), 128))
|
|
@@ -675,25 +678,27 @@ const vt = oe({ name: "local-clear", render: mt }), gt = { class: "nums-box" },
|
|
|
675
678
|
]),
|
|
676
679
|
_: 1
|
|
677
680
|
}),
|
|
678
|
-
|
|
681
|
+
T(b, { span: 6 }, {
|
|
679
682
|
default: M(() => [
|
|
680
|
-
$("div",
|
|
681
|
-
|
|
683
|
+
$("div", Ct, [
|
|
684
|
+
qe((w(), z(g, {
|
|
682
685
|
class: "btn-clear",
|
|
683
|
-
onClick:
|
|
686
|
+
onClick: y
|
|
684
687
|
}, {
|
|
685
688
|
default: M(() => [
|
|
686
|
-
|
|
689
|
+
T(C, { style: { width: "24px", height: "24px" } })
|
|
687
690
|
]),
|
|
688
691
|
_: 1
|
|
689
|
-
}),
|
|
690
|
-
|
|
692
|
+
})), [
|
|
693
|
+
[U, h]
|
|
694
|
+
]),
|
|
695
|
+
T(g, {
|
|
691
696
|
class: "btn-enter",
|
|
692
697
|
type: "primary",
|
|
693
|
-
onClick:
|
|
698
|
+
onClick: de(v, ["stop"])
|
|
694
699
|
}, {
|
|
695
|
-
default: M(() =>
|
|
696
|
-
|
|
700
|
+
default: M(() => m[3] || (m[3] = [
|
|
701
|
+
ee("Enter ")
|
|
697
702
|
])),
|
|
698
703
|
_: 1
|
|
699
704
|
})
|
|
@@ -707,15 +712,15 @@ const vt = oe({ name: "local-clear", render: mt }), gt = { class: "nums-box" },
|
|
|
707
712
|
], 32)
|
|
708
713
|
]),
|
|
709
714
|
default: M(() => [
|
|
710
|
-
|
|
715
|
+
T(E, I({
|
|
711
716
|
ref_key: "inputRef",
|
|
712
|
-
ref:
|
|
713
|
-
value:
|
|
714
|
-
"onUpdate:value":
|
|
715
|
-
},
|
|
717
|
+
ref: i,
|
|
718
|
+
value: s.value,
|
|
719
|
+
"onUpdate:value": m[1] || (m[1] = (P) => s.value = P)
|
|
720
|
+
}, f.$attrs, {
|
|
716
721
|
onFocus: p,
|
|
717
|
-
onBlur:
|
|
718
|
-
onKeyup:
|
|
722
|
+
onBlur: r,
|
|
723
|
+
onKeyup: Ve(v, ["enter"])
|
|
719
724
|
}), null, 16, ["value"])
|
|
720
725
|
]),
|
|
721
726
|
_: 1
|
|
@@ -723,10 +728,10 @@ const vt = oe({ name: "local-clear", render: mt }), gt = { class: "nums-box" },
|
|
|
723
728
|
], 512);
|
|
724
729
|
};
|
|
725
730
|
}
|
|
726
|
-
}),
|
|
731
|
+
}), kt = /* @__PURE__ */ F({
|
|
727
732
|
inheritAttrs: !1,
|
|
728
733
|
__name: "index",
|
|
729
|
-
props: /* @__PURE__ */
|
|
734
|
+
props: /* @__PURE__ */ j({
|
|
730
735
|
min: {
|
|
731
736
|
type: Number,
|
|
732
737
|
default: 0
|
|
@@ -750,50 +755,50 @@ const vt = oe({ name: "local-clear", render: mt }), gt = { class: "nums-box" },
|
|
|
750
755
|
},
|
|
751
756
|
valueModifiers: {}
|
|
752
757
|
}),
|
|
753
|
-
emits: /* @__PURE__ */
|
|
754
|
-
setup(e, { emit:
|
|
755
|
-
|
|
756
|
-
"
|
|
757
|
-
"
|
|
758
|
-
"
|
|
758
|
+
emits: /* @__PURE__ */ j(["change"], ["update:value"]),
|
|
759
|
+
setup(e, { emit: n }) {
|
|
760
|
+
Xe((r) => ({
|
|
761
|
+
"61acebdc": k(o),
|
|
762
|
+
"21cc1360": k(s),
|
|
763
|
+
"21cc0bde": k(d)
|
|
759
764
|
}));
|
|
760
|
-
const
|
|
761
|
-
const
|
|
762
|
-
for (let
|
|
763
|
-
const
|
|
764
|
-
if (
|
|
765
|
-
const
|
|
766
|
-
|
|
765
|
+
const t = e, l = G(e, "value"), u = n, i = D(() => {
|
|
766
|
+
const r = {}, a = Array.from(t.flagStops), c = t.min || 0, y = t.max || 100, h = [c, ...l.value, y];
|
|
767
|
+
for (let v = 0; v < h.length; v++) {
|
|
768
|
+
const x = h[v];
|
|
769
|
+
if (r[x] = x, v > 0) {
|
|
770
|
+
const f = a.shift(), m = h[v - 1], g = m + (x - m) / 2;
|
|
771
|
+
r[g] = { style: { top: "-28px" }, label: f };
|
|
767
772
|
}
|
|
768
773
|
}
|
|
769
|
-
return
|
|
770
|
-
}),
|
|
771
|
-
const
|
|
772
|
-
return `linear-gradient(90deg, ${
|
|
773
|
-
}),
|
|
774
|
-
function p(
|
|
775
|
-
const
|
|
776
|
-
|
|
774
|
+
return r;
|
|
775
|
+
}), o = D(() => {
|
|
776
|
+
const r = l.value, a = t.min || 0, c = t.max || 100, y = Math.floor((r[0] - a) / (c - a) * 100), h = t.colorStops, v = h[0], x = h[h.length - 1];
|
|
777
|
+
return `linear-gradient(90deg, ${v} 0%, ${v} ${y}%, ${x} ${y}%, ${x} 100%)`;
|
|
778
|
+
}), s = D(() => t.colorStops[1]), d = D(() => t.colorStops[2]);
|
|
779
|
+
function p(r) {
|
|
780
|
+
const a = t.min || 0, c = t.max || 100;
|
|
781
|
+
r[0] <= a ? r[0] = a + 1 : r.at(-1) >= c && (r[r.length - 1] = c - 1), r.length === new Set(r).size && (l.value = r, u("change", r));
|
|
777
782
|
}
|
|
778
|
-
return (
|
|
779
|
-
const
|
|
780
|
-
return
|
|
783
|
+
return (r, a) => {
|
|
784
|
+
const c = Ie;
|
|
785
|
+
return w(), z(c, I({
|
|
781
786
|
class: "rate-slider",
|
|
782
|
-
value:
|
|
787
|
+
value: l.value,
|
|
783
788
|
min: e.min,
|
|
784
789
|
max: e.max,
|
|
785
790
|
range: "",
|
|
786
|
-
marks:
|
|
791
|
+
marks: k(i),
|
|
787
792
|
onChange: p
|
|
788
|
-
},
|
|
793
|
+
}, r.$attrs), null, 16, ["value", "min", "max", "marks"]);
|
|
789
794
|
};
|
|
790
795
|
}
|
|
791
|
-
}),
|
|
796
|
+
}), wt = { class: "ip-input" }, $t = { class: "ip-wrapper" }, Et = {
|
|
792
797
|
key: 0,
|
|
793
798
|
class: "ip-separator"
|
|
794
|
-
},
|
|
799
|
+
}, Mt = /* @__PURE__ */ F({
|
|
795
800
|
__name: "index",
|
|
796
|
-
props: /* @__PURE__ */
|
|
801
|
+
props: /* @__PURE__ */ j({
|
|
797
802
|
hasPort: {
|
|
798
803
|
type: Boolean,
|
|
799
804
|
default: !1
|
|
@@ -804,80 +809,80 @@ const vt = oe({ name: "local-clear", render: mt }), gt = { class: "nums-box" },
|
|
|
804
809
|
}),
|
|
805
810
|
emits: ["update:value"],
|
|
806
811
|
setup(e) {
|
|
807
|
-
const
|
|
808
|
-
var
|
|
809
|
-
const
|
|
810
|
-
if (
|
|
811
|
-
|
|
812
|
+
const n = $e.useInjectFormItemContext(), t = e, l = G(e, "value"), u = S(["", "", "", ""]), i = S(), o = S(""), s = S(), d = (a) => {
|
|
813
|
+
var y, h;
|
|
814
|
+
const c = u.value[a];
|
|
815
|
+
if (c && (!/^\d+$/.test(c) || parseInt(c) > 255)) {
|
|
816
|
+
u.value[a] = "";
|
|
812
817
|
return;
|
|
813
818
|
}
|
|
814
|
-
parseInt(
|
|
815
|
-
}, p = (
|
|
816
|
-
var
|
|
817
|
-
|
|
819
|
+
parseInt(c) >= 100 && (a < 3 ? (y = i.value) != null && y.length && i.value[a + 1].focus() : t.hasPort && ((h = s.value) == null || h.focus())), l.value = `${u.value.join(".")}${t.hasPort ? ":" + o.value : ""}`, n.clearValidate();
|
|
820
|
+
}, p = (a, c) => {
|
|
821
|
+
var y, h;
|
|
822
|
+
c.key === " " && a < 3 && (c.preventDefault(), (y = i.value) != null && y.length && i.value[a + 1].focus()), c.key === "Backspace" && u.value[a] === "" && a > 0 && (h = i.value) != null && h.length && i.value[a - 1].focus();
|
|
818
823
|
};
|
|
819
|
-
function
|
|
820
|
-
|
|
824
|
+
function r() {
|
|
825
|
+
l.value = `${u.value.join(".")}${t.hasPort ? ":" + (o.value || "") : ""}`, n.clearValidate();
|
|
821
826
|
}
|
|
822
|
-
return
|
|
823
|
-
() =>
|
|
824
|
-
(
|
|
825
|
-
if (
|
|
826
|
-
let
|
|
827
|
-
if (
|
|
828
|
-
const
|
|
829
|
-
|
|
827
|
+
return le(
|
|
828
|
+
() => l.value,
|
|
829
|
+
(a) => {
|
|
830
|
+
if (a) {
|
|
831
|
+
let c = a;
|
|
832
|
+
if (t.hasPort) {
|
|
833
|
+
const h = a.split(":");
|
|
834
|
+
o.value = h[1] || "", c = h[0];
|
|
830
835
|
}
|
|
831
|
-
const
|
|
832
|
-
|
|
836
|
+
const y = c.split(".");
|
|
837
|
+
y.length === 4 && (u.value = y);
|
|
833
838
|
} else
|
|
834
|
-
|
|
839
|
+
u.value = ["", "", "", ""], o.value = "";
|
|
835
840
|
},
|
|
836
841
|
{ immediate: !0 }
|
|
837
|
-
), (
|
|
838
|
-
const
|
|
839
|
-
return
|
|
840
|
-
$("div",
|
|
841
|
-
(
|
|
842
|
-
|
|
842
|
+
), (a, c) => {
|
|
843
|
+
const y = ae;
|
|
844
|
+
return w(), A("div", wt, [
|
|
845
|
+
$("div", $t, [
|
|
846
|
+
(w(!0), A(H, null, V(k(u), (h, v) => (w(), A(H, { key: v }, [
|
|
847
|
+
T(y, {
|
|
843
848
|
ref_for: !0,
|
|
844
849
|
ref_key: "ipPartArr",
|
|
845
|
-
ref:
|
|
850
|
+
ref: i,
|
|
846
851
|
class: "ip-part",
|
|
847
|
-
value:
|
|
848
|
-
"onUpdate:value": (
|
|
852
|
+
value: k(u)[v],
|
|
853
|
+
"onUpdate:value": (x) => k(u)[v] = x,
|
|
849
854
|
min: 0,
|
|
850
855
|
max: 255,
|
|
851
856
|
precision: 0,
|
|
852
857
|
controls: !1,
|
|
853
|
-
onChange: (
|
|
854
|
-
onKeydown: (
|
|
858
|
+
onChange: (x) => d(v),
|
|
859
|
+
onKeydown: (x) => p(v, x)
|
|
855
860
|
}, null, 8, ["value", "onUpdate:value", "onChange", "onKeydown"]),
|
|
856
|
-
|
|
861
|
+
v < 3 ? (w(), A("span", Et, ".")) : fe("", !0)
|
|
857
862
|
], 64))), 128))
|
|
858
863
|
]),
|
|
859
|
-
e.hasPort ? (
|
|
860
|
-
|
|
861
|
-
|
|
864
|
+
e.hasPort ? (w(), A(H, { key: 0 }, [
|
|
865
|
+
c[1] || (c[1] = $("span", { class: "ip-port-separator" }, ":", -1)),
|
|
866
|
+
T(y, {
|
|
862
867
|
ref_key: "portRef",
|
|
863
|
-
ref:
|
|
868
|
+
ref: s,
|
|
864
869
|
class: "ip-port",
|
|
865
|
-
value:
|
|
866
|
-
"onUpdate:value":
|
|
870
|
+
value: k(o),
|
|
871
|
+
"onUpdate:value": c[0] || (c[0] = (h) => Q(o) ? o.value = h : null),
|
|
867
872
|
min: 0,
|
|
868
873
|
max: 65535,
|
|
869
874
|
precision: 0,
|
|
870
875
|
controls: !1,
|
|
871
|
-
onChange:
|
|
876
|
+
onChange: r
|
|
872
877
|
}, null, 8, ["value"])
|
|
873
|
-
], 64)) :
|
|
878
|
+
], 64)) : fe("", !0)
|
|
874
879
|
]);
|
|
875
880
|
};
|
|
876
881
|
}
|
|
877
|
-
}),
|
|
882
|
+
}), Pt = { class: "number-range" }, Tt = { class: "separator" }, At = /* @__PURE__ */ F({
|
|
878
883
|
inheritAttrs: !1,
|
|
879
884
|
__name: "index",
|
|
880
|
-
props: /* @__PURE__ */
|
|
885
|
+
props: /* @__PURE__ */ j({
|
|
881
886
|
min: {
|
|
882
887
|
type: Number
|
|
883
888
|
},
|
|
@@ -899,261 +904,308 @@ const vt = oe({ name: "local-clear", render: mt }), gt = { class: "nums-box" },
|
|
|
899
904
|
},
|
|
900
905
|
valueModifiers: {}
|
|
901
906
|
}),
|
|
902
|
-
emits: /* @__PURE__ */
|
|
903
|
-
setup(e, { emit:
|
|
904
|
-
const
|
|
905
|
-
const
|
|
906
|
-
return
|
|
907
|
-
}),
|
|
908
|
-
const
|
|
909
|
-
return
|
|
910
|
-
}), d =
|
|
911
|
-
function
|
|
912
|
-
const
|
|
913
|
-
|
|
907
|
+
emits: /* @__PURE__ */ j(["change"], ["update:value"]),
|
|
908
|
+
setup(e, { emit: n }) {
|
|
909
|
+
const t = e, l = G(e, "value"), u = n, i = $e.useInjectFormItemContext(), o = D(() => {
|
|
910
|
+
const a = l.value[1];
|
|
911
|
+
return B(a) ? t.max : a;
|
|
912
|
+
}), s = D(() => {
|
|
913
|
+
const a = l.value[0];
|
|
914
|
+
return B(a) ? t.min : a;
|
|
915
|
+
}), d = S(), p = S();
|
|
916
|
+
function r() {
|
|
917
|
+
const a = [d.value, p.value];
|
|
918
|
+
l.value = a, i.onFieldChange(), u("change", a);
|
|
914
919
|
}
|
|
915
|
-
return
|
|
916
|
-
() =>
|
|
917
|
-
(
|
|
918
|
-
|
|
920
|
+
return le(
|
|
921
|
+
() => l.value,
|
|
922
|
+
(a) => {
|
|
923
|
+
a != null && a.length ? (d.value = a[0], p.value = a[1]) : (d.value = void 0, p.value = void 0);
|
|
919
924
|
},
|
|
920
925
|
{ immediate: !0 }
|
|
921
|
-
), (
|
|
922
|
-
const
|
|
923
|
-
return
|
|
924
|
-
|
|
925
|
-
min:
|
|
926
|
-
max:
|
|
927
|
-
value:
|
|
928
|
-
"onUpdate:value":
|
|
926
|
+
), (a, c) => {
|
|
927
|
+
const y = ae;
|
|
928
|
+
return w(), A("div", Pt, [
|
|
929
|
+
T(y, I({
|
|
930
|
+
min: t.min,
|
|
931
|
+
max: k(o),
|
|
932
|
+
value: k(d),
|
|
933
|
+
"onUpdate:value": c[0] || (c[0] = (h) => Q(d) ? d.value = h : null),
|
|
929
934
|
placeholder: e.placeholder[0] || ""
|
|
930
|
-
},
|
|
931
|
-
$("span",
|
|
932
|
-
|
|
933
|
-
min:
|
|
934
|
-
max:
|
|
935
|
-
value:
|
|
936
|
-
"onUpdate:value":
|
|
935
|
+
}, a.$attrs, { onChange: r }), null, 16, ["min", "max", "value", "placeholder"]),
|
|
936
|
+
$("span", Tt, oe(e.separator), 1),
|
|
937
|
+
T(y, I({
|
|
938
|
+
min: k(s),
|
|
939
|
+
max: t.max,
|
|
940
|
+
value: k(p),
|
|
941
|
+
"onUpdate:value": c[1] || (c[1] = (h) => Q(p) ? p.value = h : null),
|
|
937
942
|
placeholder: e.placeholder[1] || ""
|
|
938
|
-
},
|
|
943
|
+
}, a.$attrs, { onChange: r }), null, 16, ["min", "max", "value", "placeholder"])
|
|
939
944
|
]);
|
|
940
945
|
};
|
|
941
946
|
}
|
|
942
|
-
}),
|
|
947
|
+
}), he = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
943
948
|
__proto__: null,
|
|
944
|
-
AInputNumberEx:
|
|
945
|
-
ARangePickerEx:
|
|
946
|
-
ATableEx:
|
|
947
|
-
WlInputNumberRange:
|
|
948
|
-
WlIpInput:
|
|
949
|
-
WlNumberKeyboard:
|
|
950
|
-
WlRateSlider:
|
|
951
|
-
WlSplitter:
|
|
949
|
+
AInputNumberEx: ft,
|
|
950
|
+
ARangePickerEx: mt,
|
|
951
|
+
ATableEx: gt,
|
|
952
|
+
WlInputNumberRange: At,
|
|
953
|
+
WlIpInput: Mt,
|
|
954
|
+
WlNumberKeyboard: St,
|
|
955
|
+
WlRateSlider: kt,
|
|
956
|
+
WlSplitter: ht
|
|
952
957
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
953
|
-
function
|
|
954
|
-
return
|
|
958
|
+
function Ee(e) {
|
|
959
|
+
return Ye() ? (Ze(e), !0) : !1;
|
|
955
960
|
}
|
|
956
|
-
const
|
|
961
|
+
const ue = typeof window < "u" && typeof document < "u";
|
|
957
962
|
typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
|
|
958
|
-
const
|
|
959
|
-
function
|
|
960
|
-
let
|
|
961
|
-
function
|
|
962
|
-
return
|
|
963
|
+
const Nt = Object.prototype.toString, Dt = (e) => Nt.call(e) === "[object Object]";
|
|
964
|
+
function Lt(e) {
|
|
965
|
+
let n;
|
|
966
|
+
function t() {
|
|
967
|
+
return n || (n = e()), n;
|
|
963
968
|
}
|
|
964
|
-
return
|
|
965
|
-
const
|
|
966
|
-
|
|
967
|
-
},
|
|
969
|
+
return t.reset = async () => {
|
|
970
|
+
const l = n;
|
|
971
|
+
n = void 0, l && await l;
|
|
972
|
+
}, t;
|
|
968
973
|
}
|
|
969
|
-
function
|
|
974
|
+
function te(e) {
|
|
970
975
|
return Array.isArray(e) ? e : [e];
|
|
971
976
|
}
|
|
972
|
-
function
|
|
977
|
+
function Bt(e, n, t = {}) {
|
|
973
978
|
const {
|
|
974
|
-
immediate:
|
|
975
|
-
immediateCallback:
|
|
976
|
-
} =
|
|
977
|
-
let
|
|
978
|
-
function
|
|
979
|
-
|
|
979
|
+
immediate: l = !0,
|
|
980
|
+
immediateCallback: u = !1
|
|
981
|
+
} = t, i = X(!1);
|
|
982
|
+
let o = null;
|
|
983
|
+
function s() {
|
|
984
|
+
o && (clearTimeout(o), o = null);
|
|
980
985
|
}
|
|
981
986
|
function d() {
|
|
982
|
-
|
|
987
|
+
i.value = !1, s();
|
|
983
988
|
}
|
|
984
|
-
function p(...
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
},
|
|
989
|
+
function p(...r) {
|
|
990
|
+
u && e(), s(), i.value = !0, o = setTimeout(() => {
|
|
991
|
+
i.value = !1, o = null, e(...r);
|
|
992
|
+
}, K(n));
|
|
988
993
|
}
|
|
989
|
-
return
|
|
990
|
-
isPending:
|
|
994
|
+
return l && (i.value = !0, ue && p()), Ee(d), {
|
|
995
|
+
isPending: He(i),
|
|
991
996
|
start: p,
|
|
992
997
|
stop: d
|
|
993
998
|
};
|
|
994
999
|
}
|
|
995
|
-
function
|
|
996
|
-
return
|
|
1000
|
+
function Rt(e, n, t) {
|
|
1001
|
+
return le(
|
|
997
1002
|
e,
|
|
998
|
-
|
|
1003
|
+
n,
|
|
999
1004
|
{
|
|
1000
|
-
...
|
|
1005
|
+
...t,
|
|
1001
1006
|
immediate: !0
|
|
1002
1007
|
}
|
|
1003
1008
|
);
|
|
1004
1009
|
}
|
|
1005
|
-
const
|
|
1006
|
-
function
|
|
1007
|
-
var
|
|
1008
|
-
const
|
|
1009
|
-
return (
|
|
1010
|
+
const jt = ue ? window : void 0, Me = ue ? window.navigator : void 0;
|
|
1011
|
+
function Pe(e) {
|
|
1012
|
+
var n;
|
|
1013
|
+
const t = K(e);
|
|
1014
|
+
return (n = t == null ? void 0 : t.$el) != null ? n : t;
|
|
1010
1015
|
}
|
|
1011
|
-
function
|
|
1012
|
-
const
|
|
1013
|
-
|
|
1014
|
-
},
|
|
1015
|
-
const
|
|
1016
|
-
return
|
|
1017
|
-
}),
|
|
1016
|
+
function Y(...e) {
|
|
1017
|
+
const n = [], t = () => {
|
|
1018
|
+
n.forEach((s) => s()), n.length = 0;
|
|
1019
|
+
}, l = (s, d, p, r) => (s.addEventListener(d, p, r), () => s.removeEventListener(d, p, r)), u = D(() => {
|
|
1020
|
+
const s = te(K(e[0])).filter((d) => d != null);
|
|
1021
|
+
return s.every((d) => typeof d != "string") ? s : void 0;
|
|
1022
|
+
}), i = Rt(
|
|
1018
1023
|
() => {
|
|
1019
|
-
var
|
|
1024
|
+
var s, d;
|
|
1020
1025
|
return [
|
|
1021
|
-
(d = (
|
|
1022
|
-
|
|
1023
|
-
|
|
1026
|
+
(d = (s = u.value) == null ? void 0 : s.map((p) => Pe(p))) != null ? d : [jt].filter((p) => p != null),
|
|
1027
|
+
te(K(u.value ? e[1] : e[0])),
|
|
1028
|
+
te(k(u.value ? e[2] : e[1])),
|
|
1024
1029
|
// @ts-expect-error - TypeScript gets the correct types, but somehow still complains
|
|
1025
|
-
|
|
1030
|
+
K(u.value ? e[3] : e[2])
|
|
1026
1031
|
];
|
|
1027
1032
|
},
|
|
1028
|
-
([
|
|
1029
|
-
if (
|
|
1033
|
+
([s, d, p, r]) => {
|
|
1034
|
+
if (t(), !(s != null && s.length) || !(d != null && d.length) || !(p != null && p.length))
|
|
1030
1035
|
return;
|
|
1031
|
-
const
|
|
1032
|
-
|
|
1033
|
-
...
|
|
1034
|
-
(
|
|
1035
|
-
(
|
|
1036
|
+
const a = Dt(r) ? { ...r } : r;
|
|
1037
|
+
n.push(
|
|
1038
|
+
...s.flatMap(
|
|
1039
|
+
(c) => d.flatMap(
|
|
1040
|
+
(y) => p.map((h) => l(c, y, h, a))
|
|
1036
1041
|
)
|
|
1037
1042
|
)
|
|
1038
1043
|
);
|
|
1039
1044
|
},
|
|
1040
1045
|
{ flush: "post" }
|
|
1041
|
-
),
|
|
1042
|
-
|
|
1046
|
+
), o = () => {
|
|
1047
|
+
i(), t();
|
|
1043
1048
|
};
|
|
1044
|
-
return
|
|
1049
|
+
return Ee(t), o;
|
|
1045
1050
|
}
|
|
1046
|
-
function
|
|
1047
|
-
const e =
|
|
1048
|
-
return
|
|
1051
|
+
function Ot() {
|
|
1052
|
+
const e = X(!1), n = J();
|
|
1053
|
+
return n && we(() => {
|
|
1049
1054
|
e.value = !0;
|
|
1050
|
-
},
|
|
1055
|
+
}, n), e;
|
|
1051
1056
|
}
|
|
1052
|
-
function
|
|
1053
|
-
const
|
|
1054
|
-
return
|
|
1057
|
+
function Te(e) {
|
|
1058
|
+
const n = Ot();
|
|
1059
|
+
return D(() => (n.value, !!e()));
|
|
1055
1060
|
}
|
|
1056
|
-
|
|
1061
|
+
const It = 500, Ft = 10;
|
|
1062
|
+
function Ut(e, n, t) {
|
|
1063
|
+
var l, u;
|
|
1064
|
+
const i = D(() => Pe(e));
|
|
1065
|
+
let o, s, d, p = !1;
|
|
1066
|
+
function r() {
|
|
1067
|
+
o && (clearTimeout(o), o = void 0), s = void 0, d = void 0, p = !1;
|
|
1068
|
+
}
|
|
1069
|
+
function a(f) {
|
|
1070
|
+
var m, g, b;
|
|
1071
|
+
const [C, _, E] = [d, s, p];
|
|
1072
|
+
if (r(), !(t != null && t.onMouseUp) || !_ || !C || (m = t == null ? void 0 : t.modifiers) != null && m.self && f.target !== i.value)
|
|
1073
|
+
return;
|
|
1074
|
+
(g = t == null ? void 0 : t.modifiers) != null && g.prevent && f.preventDefault(), (b = t == null ? void 0 : t.modifiers) != null && b.stop && f.stopPropagation();
|
|
1075
|
+
const L = f.x - _.x, U = f.y - _.y, P = Math.sqrt(L * L + U * U);
|
|
1076
|
+
t.onMouseUp(f.timeStamp - C, P, E);
|
|
1077
|
+
}
|
|
1078
|
+
function c(f) {
|
|
1079
|
+
var m, g, b, C;
|
|
1080
|
+
(m = t == null ? void 0 : t.modifiers) != null && m.self && f.target !== i.value || (r(), (g = t == null ? void 0 : t.modifiers) != null && g.prevent && f.preventDefault(), (b = t == null ? void 0 : t.modifiers) != null && b.stop && f.stopPropagation(), s = {
|
|
1081
|
+
x: f.x,
|
|
1082
|
+
y: f.y
|
|
1083
|
+
}, d = f.timeStamp, o = setTimeout(
|
|
1084
|
+
() => {
|
|
1085
|
+
p = !0, n(f);
|
|
1086
|
+
},
|
|
1087
|
+
(C = t == null ? void 0 : t.delay) != null ? C : It
|
|
1088
|
+
));
|
|
1089
|
+
}
|
|
1090
|
+
function y(f) {
|
|
1091
|
+
var m, g, b, C;
|
|
1092
|
+
if ((m = t == null ? void 0 : t.modifiers) != null && m.self && f.target !== i.value || !s || (t == null ? void 0 : t.distanceThreshold) === !1)
|
|
1093
|
+
return;
|
|
1094
|
+
(g = t == null ? void 0 : t.modifiers) != null && g.prevent && f.preventDefault(), (b = t == null ? void 0 : t.modifiers) != null && b.stop && f.stopPropagation();
|
|
1095
|
+
const _ = f.x - s.x, E = f.y - s.y;
|
|
1096
|
+
Math.sqrt(_ * _ + E * E) >= ((C = t == null ? void 0 : t.distanceThreshold) != null ? C : Ft) && r();
|
|
1097
|
+
}
|
|
1098
|
+
const h = {
|
|
1099
|
+
capture: (l = t == null ? void 0 : t.modifiers) == null ? void 0 : l.capture,
|
|
1100
|
+
once: (u = t == null ? void 0 : t.modifiers) == null ? void 0 : u.once
|
|
1101
|
+
}, v = [
|
|
1102
|
+
Y(i, "pointerdown", c, h),
|
|
1103
|
+
Y(i, "pointermove", y, h),
|
|
1104
|
+
Y(i, ["pointerup", "pointerleave"], a, h)
|
|
1105
|
+
];
|
|
1106
|
+
return () => v.forEach((f) => f());
|
|
1107
|
+
}
|
|
1108
|
+
function ye(e, n = {}) {
|
|
1057
1109
|
const {
|
|
1058
|
-
controls:
|
|
1059
|
-
navigator:
|
|
1060
|
-
} =
|
|
1061
|
-
var
|
|
1062
|
-
|
|
1110
|
+
controls: t = !1,
|
|
1111
|
+
navigator: l = Me
|
|
1112
|
+
} = n, u = Te(() => l && "permissions" in l), i = X(), o = typeof e == "string" ? { name: e } : e, s = X(), d = () => {
|
|
1113
|
+
var r, a;
|
|
1114
|
+
s.value = (a = (r = i.value) == null ? void 0 : r.state) != null ? a : "prompt";
|
|
1063
1115
|
};
|
|
1064
|
-
|
|
1065
|
-
const p =
|
|
1066
|
-
if (
|
|
1067
|
-
if (!
|
|
1116
|
+
Y(i, "change", d, { passive: !0 });
|
|
1117
|
+
const p = Lt(async () => {
|
|
1118
|
+
if (u.value) {
|
|
1119
|
+
if (!i.value)
|
|
1068
1120
|
try {
|
|
1069
|
-
|
|
1121
|
+
i.value = await l.permissions.query(o);
|
|
1070
1122
|
} catch {
|
|
1071
|
-
|
|
1123
|
+
i.value = void 0;
|
|
1072
1124
|
} finally {
|
|
1073
1125
|
d();
|
|
1074
1126
|
}
|
|
1075
|
-
if (
|
|
1076
|
-
return
|
|
1127
|
+
if (t)
|
|
1128
|
+
return Ge(i.value);
|
|
1077
1129
|
}
|
|
1078
1130
|
});
|
|
1079
|
-
return p(),
|
|
1080
|
-
state:
|
|
1081
|
-
isSupported:
|
|
1131
|
+
return p(), t ? {
|
|
1132
|
+
state: s,
|
|
1133
|
+
isSupported: u,
|
|
1082
1134
|
query: p
|
|
1083
|
-
} :
|
|
1135
|
+
} : s;
|
|
1084
1136
|
}
|
|
1085
|
-
function
|
|
1137
|
+
function Wt(e = {}) {
|
|
1086
1138
|
const {
|
|
1087
|
-
navigator:
|
|
1088
|
-
read:
|
|
1089
|
-
source:
|
|
1090
|
-
copiedDuring:
|
|
1091
|
-
legacy:
|
|
1092
|
-
} = e,
|
|
1093
|
-
async function
|
|
1094
|
-
let
|
|
1095
|
-
if (!
|
|
1139
|
+
navigator: n = Me,
|
|
1140
|
+
read: t = !1,
|
|
1141
|
+
source: l,
|
|
1142
|
+
copiedDuring: u = 1500,
|
|
1143
|
+
legacy: i = !1
|
|
1144
|
+
} = e, o = Te(() => n && "clipboard" in n), s = ye("clipboard-read"), d = ye("clipboard-write"), p = D(() => o.value || i), r = X(""), a = X(!1), c = Bt(() => a.value = !1, u, { immediate: !1 });
|
|
1145
|
+
async function y() {
|
|
1146
|
+
let m = !(o.value && f(s.value));
|
|
1147
|
+
if (!m)
|
|
1096
1148
|
try {
|
|
1097
|
-
|
|
1149
|
+
r.value = await n.clipboard.readText();
|
|
1098
1150
|
} catch {
|
|
1099
|
-
|
|
1151
|
+
m = !0;
|
|
1100
1152
|
}
|
|
1101
|
-
|
|
1153
|
+
m && (r.value = x());
|
|
1102
1154
|
}
|
|
1103
|
-
p.value &&
|
|
1104
|
-
async function
|
|
1105
|
-
if (p.value &&
|
|
1106
|
-
let
|
|
1107
|
-
if (!
|
|
1155
|
+
p.value && t && Y(["copy", "cut"], y, { passive: !0 });
|
|
1156
|
+
async function h(m = K(l)) {
|
|
1157
|
+
if (p.value && m != null) {
|
|
1158
|
+
let g = !(o.value && f(d.value));
|
|
1159
|
+
if (!g)
|
|
1108
1160
|
try {
|
|
1109
|
-
await
|
|
1161
|
+
await n.clipboard.writeText(m);
|
|
1110
1162
|
} catch {
|
|
1111
|
-
|
|
1163
|
+
g = !0;
|
|
1112
1164
|
}
|
|
1113
|
-
|
|
1165
|
+
g && v(m), r.value = m, a.value = !0, c.start();
|
|
1114
1166
|
}
|
|
1115
1167
|
}
|
|
1116
|
-
function m
|
|
1117
|
-
const
|
|
1118
|
-
|
|
1168
|
+
function v(m) {
|
|
1169
|
+
const g = document.createElement("textarea");
|
|
1170
|
+
g.value = m ?? "", g.style.position = "absolute", g.style.opacity = "0", document.body.appendChild(g), g.select(), document.execCommand("copy"), g.remove();
|
|
1119
1171
|
}
|
|
1120
|
-
function
|
|
1121
|
-
var
|
|
1122
|
-
return (
|
|
1172
|
+
function x() {
|
|
1173
|
+
var m, g, b;
|
|
1174
|
+
return (b = (g = (m = document == null ? void 0 : document.getSelection) == null ? void 0 : m.call(document)) == null ? void 0 : g.toString()) != null ? b : "";
|
|
1123
1175
|
}
|
|
1124
|
-
function
|
|
1125
|
-
return
|
|
1176
|
+
function f(m) {
|
|
1177
|
+
return m === "granted" || m === "prompt";
|
|
1126
1178
|
}
|
|
1127
1179
|
return {
|
|
1128
1180
|
isSupported: p,
|
|
1129
|
-
text:
|
|
1130
|
-
copied:
|
|
1131
|
-
copy:
|
|
1181
|
+
text: r,
|
|
1182
|
+
copied: a,
|
|
1183
|
+
copy: h
|
|
1132
1184
|
};
|
|
1133
1185
|
}
|
|
1134
|
-
const
|
|
1135
|
-
let
|
|
1136
|
-
const
|
|
1137
|
-
mounted(e,
|
|
1138
|
-
var
|
|
1139
|
-
const
|
|
1186
|
+
const zt = Wt();
|
|
1187
|
+
let ne;
|
|
1188
|
+
const Kt = {
|
|
1189
|
+
mounted(e, n, t) {
|
|
1190
|
+
var o, s;
|
|
1191
|
+
const l = ie(t.ctx), u = ((s = (o = l == null ? void 0 : l.locale) == null ? void 0 : o.locale) == null ? void 0 : s.slice(0, 2)) || "en", i = {
|
|
1140
1192
|
zh: "复制成功",
|
|
1141
1193
|
en: "Copy successfully",
|
|
1142
1194
|
fr: "Copie réussie"
|
|
1143
1195
|
};
|
|
1144
|
-
e.copyValue =
|
|
1145
|
-
|
|
1146
|
-
}, e.addEventListener("click",
|
|
1196
|
+
e.copyValue = n.value, ne = () => {
|
|
1197
|
+
zt.copy(e.copyValue), at.success(i[u]);
|
|
1198
|
+
}, e.addEventListener("click", ne);
|
|
1147
1199
|
},
|
|
1148
|
-
updated(e,
|
|
1149
|
-
e.copyValue =
|
|
1200
|
+
updated(e, n) {
|
|
1201
|
+
e.copyValue = n.value;
|
|
1150
1202
|
},
|
|
1151
1203
|
unmounted(e) {
|
|
1152
|
-
e.removeEventListener("click",
|
|
1204
|
+
e.removeEventListener("click", ne);
|
|
1153
1205
|
}
|
|
1154
|
-
},
|
|
1155
|
-
beforeMount(e,
|
|
1156
|
-
const
|
|
1206
|
+
}, Vt = {
|
|
1207
|
+
beforeMount(e, n, t) {
|
|
1208
|
+
const l = n.value, u = {
|
|
1157
1209
|
letterNumber: /^\w*$/,
|
|
1158
1210
|
// 字母和数字
|
|
1159
1211
|
price: /^(\d*|(\d+\.\d{0,2}))$/,
|
|
@@ -1165,253 +1217,259 @@ const Lt = {
|
|
|
1165
1217
|
verify: /^\d{0,6}$/,
|
|
1166
1218
|
idCard: /(^\d{15}$)|(^\d{18}$)|(^\d{17}(\d|X|x)$)/
|
|
1167
1219
|
//身份证号(15位、18位数字),最后一位是校验位,可能为数字或字符X
|
|
1168
|
-
},
|
|
1169
|
-
e._handleInput = (
|
|
1170
|
-
if (
|
|
1171
|
-
const
|
|
1172
|
-
if (e._input =
|
|
1173
|
-
|
|
1220
|
+
}, i = l instanceof RegExp ? l : n.arg && u[n.arg] ? u[n.arg] : null;
|
|
1221
|
+
e._handleInput = (o) => {
|
|
1222
|
+
if (o.isTrusted && !(!o.isComposing && o.inputType === "insertCompositionText" && o.data)) {
|
|
1223
|
+
const s = i == null ? void 0 : i.test(o.target.value);
|
|
1224
|
+
if (e._input = s ? o.target.value : e._input, o.target.value = "", o.target.value = e._input, !s)
|
|
1225
|
+
o.target.selectionStart = e._start, o.target.selectionEnd = e._end;
|
|
1174
1226
|
else
|
|
1175
|
-
switch (
|
|
1227
|
+
switch (o.inputType) {
|
|
1176
1228
|
case "deleteContentForward":
|
|
1177
1229
|
//delete
|
|
1178
1230
|
case "deleteByDrag":
|
|
1179
1231
|
//dropout
|
|
1180
1232
|
case "deleteByCut":
|
|
1181
|
-
|
|
1233
|
+
o.target.selectionStart = e._start, o.target.selectionEnd = e._start;
|
|
1182
1234
|
break;
|
|
1183
1235
|
case "deleteContentBackward":
|
|
1184
|
-
|
|
1236
|
+
o.target.selectionStart = e._start === e._end ? e._start - 1 : e._start, o.target.selectionEnd = e._start === e._end ? e._start - 1 : e._start;
|
|
1185
1237
|
break;
|
|
1186
1238
|
case "insertFromPaste":
|
|
1187
1239
|
//粘贴
|
|
1188
1240
|
case "insertFromDrop":
|
|
1189
|
-
const p =
|
|
1241
|
+
const p = o.dataTransfer || o.clipboardData || null;
|
|
1190
1242
|
if (p) {
|
|
1191
|
-
const
|
|
1192
|
-
|
|
1243
|
+
const r = p.getData("text") || "";
|
|
1244
|
+
o.target.selectionStart = e._start + r.length, o.target.selectionEnd = e._start + r.length;
|
|
1193
1245
|
}
|
|
1194
1246
|
break;
|
|
1195
1247
|
case "insertText":
|
|
1196
1248
|
//insert
|
|
1197
1249
|
case "insertCompositionText":
|
|
1198
|
-
|
|
1250
|
+
o.target.selectionStart = e._start + 1, o.target.selectionEnd = e._start + 1;
|
|
1199
1251
|
break;
|
|
1200
1252
|
}
|
|
1201
1253
|
const d = new InputEvent("input", {
|
|
1202
1254
|
isComposing: !1
|
|
1203
1255
|
});
|
|
1204
|
-
|
|
1256
|
+
o.target.dispatchEvent(d);
|
|
1205
1257
|
}
|
|
1206
|
-
}, e._handleKeydown = (
|
|
1207
|
-
const
|
|
1208
|
-
e._input =
|
|
1209
|
-
}, e._handleDrop = (
|
|
1210
|
-
|
|
1211
|
-
},
|
|
1258
|
+
}, e._handleKeydown = (o) => {
|
|
1259
|
+
const s = i == null ? void 0 : i.test(o.target.value);
|
|
1260
|
+
e._input = s ? o.target.value : "", e._start = o.target.selectionStart, e._end = o.target.selectionEnd;
|
|
1261
|
+
}, e._handleDrop = (o) => {
|
|
1262
|
+
o.stopPropagation();
|
|
1263
|
+
}, t.type === "input" && (e.addEventListener("input", e._handleInput), e.addEventListener("keydown", e._handleKeydown), e.addEventListener("drop", e._handleDrop));
|
|
1212
1264
|
},
|
|
1213
1265
|
unmounted(e) {
|
|
1214
1266
|
e._handleInput && e.removeEventListener("input", e._handleInput), e._handleKeydown && e.removeEventListener("keydown", e._handleKeydown), e._handleDrop && e.removeEventListener("drop", e._handleDrop);
|
|
1215
1267
|
}
|
|
1216
1268
|
};
|
|
1217
|
-
function
|
|
1218
|
-
const
|
|
1219
|
-
if (
|
|
1220
|
-
const
|
|
1221
|
-
e.style.marginLeft = `-${
|
|
1222
|
-
const
|
|
1223
|
-
|
|
1224
|
-
if (
|
|
1225
|
-
const
|
|
1226
|
-
|
|
1227
|
-
} else Array.isArray(
|
|
1228
|
-
const d =
|
|
1229
|
-
d != null && d.style && (d.style.paddingLeft =
|
|
1269
|
+
function be(e, n, t) {
|
|
1270
|
+
const l = n.value;
|
|
1271
|
+
if (l) {
|
|
1272
|
+
const u = l / 2;
|
|
1273
|
+
e.style.marginLeft = `-${u}px`, e.style.marginRight = `-${u}px`;
|
|
1274
|
+
const i = t.children;
|
|
1275
|
+
i != null && i.length && i[0].children.forEach((o) => {
|
|
1276
|
+
if (o.component) {
|
|
1277
|
+
const s = o.el;
|
|
1278
|
+
s != null && s.style && (s.style.paddingLeft = u + "px", s.style.paddingRight = u + "px");
|
|
1279
|
+
} else Array.isArray(o.children) && o.children.forEach((s) => {
|
|
1280
|
+
const d = s.el;
|
|
1281
|
+
d != null && d.style && (d.style.paddingLeft = u + "px", d.style.paddingRight = u + "px");
|
|
1230
1282
|
});
|
|
1231
1283
|
});
|
|
1232
1284
|
}
|
|
1233
1285
|
}
|
|
1234
|
-
const
|
|
1286
|
+
const qt = {
|
|
1235
1287
|
beforeMount(e) {
|
|
1236
1288
|
e.classList.add("ant-row"), e.style.display = "flex", e.style.flexWrap = "wrap", e.style.flexDirection = "row", e.style.minWidth = 0;
|
|
1237
1289
|
},
|
|
1238
|
-
mounted(e,
|
|
1239
|
-
|
|
1290
|
+
mounted(e, n, t) {
|
|
1291
|
+
be(e, n, t);
|
|
1240
1292
|
},
|
|
1241
|
-
updated(e,
|
|
1242
|
-
|
|
1293
|
+
updated(e, n, t, l) {
|
|
1294
|
+
be(e, n, t);
|
|
1243
1295
|
}
|
|
1244
|
-
},
|
|
1245
|
-
beforeMount(e,
|
|
1246
|
-
e.classList.add("ant-col", `ant-col-${
|
|
1247
|
-
const
|
|
1248
|
-
e.style.position = "relative", e.style.flex = `0 0 ${
|
|
1296
|
+
}, Xt = {
|
|
1297
|
+
beforeMount(e, n) {
|
|
1298
|
+
e.classList.add("ant-col", `ant-col-${n.value}`);
|
|
1299
|
+
const t = n.value / 24 * 100;
|
|
1300
|
+
e.style.position = "relative", e.style.flex = `0 0 ${t}%`, e.style.maxWidth = `${t}%`;
|
|
1249
1301
|
}
|
|
1250
|
-
},
|
|
1251
|
-
mounted(e,
|
|
1252
|
-
const { value:
|
|
1253
|
-
content:
|
|
1254
|
-
placement:
|
|
1255
|
-
enabled:
|
|
1256
|
-
padding:
|
|
1302
|
+
}, Ht = {
|
|
1303
|
+
mounted(e, n, t) {
|
|
1304
|
+
const { value: l } = n, {
|
|
1305
|
+
content: u = "",
|
|
1306
|
+
placement: i = "top",
|
|
1307
|
+
enabled: o = !0,
|
|
1308
|
+
padding: s = 8,
|
|
1257
1309
|
// 默认左右间距8px,用来判断文本的测量宽度是否超出元素宽度
|
|
1258
1310
|
...d
|
|
1259
|
-
} = typeof
|
|
1260
|
-
if (e.tooltipDisabled = !1, !
|
|
1311
|
+
} = typeof l == "string" ? { content: l } : l;
|
|
1312
|
+
if (e.tooltipDisabled = !1, !o)
|
|
1261
1313
|
e.tooltipDisabled = !0;
|
|
1262
|
-
else if (
|
|
1263
|
-
const
|
|
1264
|
-
e.tooltipDisabled =
|
|
1314
|
+
else if (n.modifiers.exceed) {
|
|
1315
|
+
const y = e.clientWidth, h = _e(u);
|
|
1316
|
+
e.tooltipDisabled = y ? h < y - s * 2 : !0;
|
|
1265
1317
|
}
|
|
1266
|
-
const p =
|
|
1318
|
+
const p = S({
|
|
1267
1319
|
top: 0,
|
|
1268
1320
|
left: 0,
|
|
1269
1321
|
bottom: 0,
|
|
1270
1322
|
right: 0
|
|
1271
|
-
}),
|
|
1323
|
+
}), r = S({
|
|
1272
1324
|
getBoundingClientRect: () => p.value
|
|
1273
|
-
}),
|
|
1325
|
+
}), a = W(rt, {
|
|
1274
1326
|
visible: !1,
|
|
1275
|
-
content:
|
|
1276
|
-
placement:
|
|
1327
|
+
content: u,
|
|
1328
|
+
placement: i,
|
|
1277
1329
|
virtualTriggering: !0,
|
|
1278
|
-
virtualRef:
|
|
1330
|
+
virtualRef: r.value,
|
|
1279
1331
|
popperClass: "vtooltip",
|
|
1280
1332
|
...d
|
|
1281
|
-
}),
|
|
1282
|
-
|
|
1283
|
-
p.value = e.getBoundingClientRect(),
|
|
1333
|
+
}), c = document.createDocumentFragment();
|
|
1334
|
+
Z(a, c), e.tooltipVm = a, e.tooltipContainer = c, e.addEventListener("mouseenter", () => {
|
|
1335
|
+
p.value = e.getBoundingClientRect(), a.component && !e.tooltipDisabled && (Object.assign(a.component.props, { visible: !0 }), a.component.update());
|
|
1284
1336
|
}), e.addEventListener("mouseleave", () => {
|
|
1285
|
-
|
|
1337
|
+
a.component && (Object.assign(a.component.props, { visible: !1 }), a.component.update());
|
|
1286
1338
|
});
|
|
1287
1339
|
},
|
|
1288
|
-
updated(e,
|
|
1340
|
+
updated(e, n) {
|
|
1289
1341
|
if (e.tooltipVm) {
|
|
1290
|
-
const { value:
|
|
1291
|
-
content:
|
|
1292
|
-
placement:
|
|
1293
|
-
enabled:
|
|
1294
|
-
padding:
|
|
1342
|
+
const { value: t } = n, {
|
|
1343
|
+
content: l = "",
|
|
1344
|
+
placement: u = "top",
|
|
1345
|
+
enabled: i = !0,
|
|
1346
|
+
padding: o = 8,
|
|
1295
1347
|
// 默认左右间距8px,用来判断文本的测量宽度是否超出元素宽度
|
|
1296
|
-
...
|
|
1297
|
-
} = typeof
|
|
1298
|
-
if (e.tooltipDisabled = !1, !
|
|
1348
|
+
...s
|
|
1349
|
+
} = typeof t == "string" ? { content: t } : t;
|
|
1350
|
+
if (e.tooltipDisabled = !1, !i)
|
|
1299
1351
|
e.tooltipDisabled = !0;
|
|
1300
|
-
else if (
|
|
1301
|
-
const p = e.clientWidth,
|
|
1302
|
-
e.tooltipDisabled = p ?
|
|
1352
|
+
else if (n.modifiers.exceed) {
|
|
1353
|
+
const p = e.clientWidth, r = _e(l);
|
|
1354
|
+
e.tooltipDisabled = p ? r < p - o * 2 : !0;
|
|
1303
1355
|
}
|
|
1304
1356
|
const d = e.tooltipVm;
|
|
1305
|
-
d.component && (Object.assign(d.component.props, { content:
|
|
1357
|
+
d.component && (Object.assign(d.component.props, { content: l, placement: u, ...s }), d.component.update());
|
|
1306
1358
|
}
|
|
1307
1359
|
},
|
|
1308
1360
|
unmounted(e) {
|
|
1309
|
-
e.tooltipContainer &&
|
|
1361
|
+
e.tooltipContainer && Z(null, e.tooltipContainer);
|
|
1310
1362
|
}
|
|
1311
1363
|
};
|
|
1312
|
-
function
|
|
1313
|
-
const
|
|
1314
|
-
return
|
|
1364
|
+
function _e(e, n) {
|
|
1365
|
+
const l = document.createElement("canvas").getContext("2d");
|
|
1366
|
+
return l.font = "14px Arial", l.measureText(e).width;
|
|
1315
1367
|
}
|
|
1316
|
-
const
|
|
1317
|
-
beforeMount(e,
|
|
1318
|
-
const { value:
|
|
1319
|
-
|
|
1320
|
-
var
|
|
1321
|
-
(
|
|
1368
|
+
const Yt = {
|
|
1369
|
+
beforeMount(e, n) {
|
|
1370
|
+
const { value: t } = n;
|
|
1371
|
+
t && (Qe(t) || setTimeout(() => {
|
|
1372
|
+
var u;
|
|
1373
|
+
(u = e.parentNode) == null || u.removeChild(e);
|
|
1322
1374
|
}, 50));
|
|
1323
1375
|
}
|
|
1324
1376
|
};
|
|
1325
|
-
function
|
|
1326
|
-
const
|
|
1327
|
-
return e.replace(
|
|
1377
|
+
function xe(e, n = 4) {
|
|
1378
|
+
const t = new RegExp(`(.{${n}})`, "g");
|
|
1379
|
+
return e.replace(t, "$1 ").trim();
|
|
1328
1380
|
}
|
|
1329
|
-
const
|
|
1330
|
-
mounted(e,
|
|
1331
|
-
const { value:
|
|
1332
|
-
e.textContent =
|
|
1381
|
+
const Zt = {
|
|
1382
|
+
mounted(e, n) {
|
|
1383
|
+
const { value: t } = n, { content: l = "", spaceNum: u = 4 } = typeof t == "object" ? t || {} : { content: t + "" }, i = l.replace(/\s+/g, "");
|
|
1384
|
+
e.textContent = xe(i, u) || "-";
|
|
1333
1385
|
},
|
|
1334
|
-
updated(e,
|
|
1335
|
-
const { value:
|
|
1336
|
-
e.textContent =
|
|
1386
|
+
updated(e, n) {
|
|
1387
|
+
const { value: t } = n, { content: l = "", spaceNum: u = 4 } = typeof t == "object" ? t || {} : { content: t + "" }, i = l.replace(/\s+/g, "");
|
|
1388
|
+
e.textContent = xe(i, u) || "-";
|
|
1389
|
+
}
|
|
1390
|
+
}, Gt = {
|
|
1391
|
+
mounted(e, n) {
|
|
1392
|
+
typeof n.value == "function" && Ut(e, n.value, { modifiers: n.modifiers });
|
|
1337
1393
|
}
|
|
1338
|
-
},
|
|
1394
|
+
}, Ce = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1339
1395
|
__proto__: null,
|
|
1340
|
-
col:
|
|
1341
|
-
copy:
|
|
1342
|
-
inputlimit:
|
|
1343
|
-
|
|
1344
|
-
|
|
1345
|
-
|
|
1346
|
-
|
|
1396
|
+
col: Xt,
|
|
1397
|
+
copy: Kt,
|
|
1398
|
+
inputlimit: Vt,
|
|
1399
|
+
longpress: Gt,
|
|
1400
|
+
permission: Yt,
|
|
1401
|
+
row: qt,
|
|
1402
|
+
space: Zt,
|
|
1403
|
+
tooltip: Ht
|
|
1347
1404
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
1348
|
-
function
|
|
1349
|
-
Object.keys(
|
|
1350
|
-
e.component(
|
|
1351
|
-
}), Object.keys(
|
|
1352
|
-
e.directive(
|
|
1405
|
+
function Qt(e) {
|
|
1406
|
+
Object.keys(he).forEach((n) => {
|
|
1407
|
+
e.component(n, he[n]);
|
|
1408
|
+
}), Object.keys(Ce).forEach((n) => {
|
|
1409
|
+
e.directive(n, Ce[n]);
|
|
1353
1410
|
});
|
|
1354
1411
|
}
|
|
1355
|
-
const
|
|
1412
|
+
const ln = { install: Qt };
|
|
1356
1413
|
export {
|
|
1357
|
-
|
|
1358
|
-
|
|
1359
|
-
|
|
1360
|
-
|
|
1361
|
-
|
|
1362
|
-
|
|
1363
|
-
|
|
1364
|
-
|
|
1365
|
-
|
|
1366
|
-
|
|
1367
|
-
|
|
1368
|
-
|
|
1369
|
-
|
|
1370
|
-
|
|
1371
|
-
|
|
1372
|
-
|
|
1373
|
-
|
|
1374
|
-
|
|
1375
|
-
|
|
1376
|
-
|
|
1377
|
-
|
|
1378
|
-
|
|
1379
|
-
|
|
1380
|
-
|
|
1381
|
-
|
|
1382
|
-
|
|
1383
|
-
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
|
|
1387
|
-
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
-
|
|
1392
|
-
|
|
1393
|
-
|
|
1394
|
-
|
|
1395
|
-
|
|
1396
|
-
|
|
1397
|
-
|
|
1398
|
-
|
|
1399
|
-
|
|
1400
|
-
|
|
1401
|
-
|
|
1402
|
-
|
|
1403
|
-
|
|
1404
|
-
|
|
1405
|
-
|
|
1406
|
-
|
|
1407
|
-
|
|
1408
|
-
|
|
1409
|
-
|
|
1410
|
-
|
|
1411
|
-
|
|
1412
|
-
|
|
1413
|
-
|
|
1414
|
-
|
|
1415
|
-
|
|
1416
|
-
|
|
1414
|
+
ft as AInputNumberEx,
|
|
1415
|
+
mt as ARangePickerEx,
|
|
1416
|
+
gt as ATableEx,
|
|
1417
|
+
dn as UserCenterKey,
|
|
1418
|
+
At as WlInputNumberRange,
|
|
1419
|
+
Mt as WlIpInput,
|
|
1420
|
+
St as WlNumberKeyboard,
|
|
1421
|
+
kt as WlRateSlider,
|
|
1422
|
+
ht as WlSplitter,
|
|
1423
|
+
pn as buildTree,
|
|
1424
|
+
Xt as col,
|
|
1425
|
+
Kt as copy,
|
|
1426
|
+
ln as default,
|
|
1427
|
+
fn as exportFile,
|
|
1428
|
+
mn as forEachTree,
|
|
1429
|
+
vn as getButtonPermissions,
|
|
1430
|
+
gn as getLocale,
|
|
1431
|
+
hn as getMenuInfo,
|
|
1432
|
+
yn as getToken,
|
|
1433
|
+
bn as getUserCenterParams,
|
|
1434
|
+
_n as getUserCenterParamsByUrl,
|
|
1435
|
+
xn as getUserInfo,
|
|
1436
|
+
Qe as hasPermission,
|
|
1437
|
+
Vt as inputlimit,
|
|
1438
|
+
Cn as is,
|
|
1439
|
+
Sn as isArray,
|
|
1440
|
+
kn as isAsyncFunction,
|
|
1441
|
+
wn as isBoolean,
|
|
1442
|
+
$n as isClient,
|
|
1443
|
+
En as isDate,
|
|
1444
|
+
Mn as isDef,
|
|
1445
|
+
Pn as isElement,
|
|
1446
|
+
Tn as isFunction,
|
|
1447
|
+
An as isImageDom,
|
|
1448
|
+
Nn as isNull,
|
|
1449
|
+
B as isNullOrUndef,
|
|
1450
|
+
Dn as isNumber,
|
|
1451
|
+
Ln as isObject,
|
|
1452
|
+
Bn as isPromise,
|
|
1453
|
+
Rn as isServer,
|
|
1454
|
+
jn as isString,
|
|
1455
|
+
On as isUndef,
|
|
1456
|
+
In as isWindow,
|
|
1457
|
+
Fn as logoutToUserCenter,
|
|
1458
|
+
Gt as longpress,
|
|
1459
|
+
Yt as permission,
|
|
1460
|
+
Un as removeAll,
|
|
1461
|
+
Wn as removeLocale,
|
|
1462
|
+
zn as removeToken,
|
|
1463
|
+
qt as row,
|
|
1464
|
+
Kn as setLocale,
|
|
1465
|
+
Vn as setMenuInfo,
|
|
1466
|
+
qn as setToken,
|
|
1467
|
+
Xn as setUserCenterParams,
|
|
1468
|
+
Hn as setUserInfo,
|
|
1469
|
+
Zt as space,
|
|
1470
|
+
Yn as toUserCenterConsole,
|
|
1471
|
+
Ht as tooltip,
|
|
1472
|
+
ie as useConfigProvider,
|
|
1473
|
+
sn as useFindParent,
|
|
1474
|
+
rn as useModal
|
|
1417
1475
|
};
|