@witlink/components 1.0.22 → 1.0.24

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