@witlink/components 1.0.28 → 2.0.1

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