@witlink/components 1.0.8 → 1.0.10

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 Ce, RangePicker as ke, Table as Se, Popover as Ee, Input as Me, Row as Le, Col as $e, Button as Te } from "ant-design-vue/es";
2
- import { markRaw as G, createElementBlock as P, openBlock as $, createElementVNode as M, defineComponent as V, mergeModels as K, useModel as me, useSlots as ve, useAttrs as Be, createBlock as z, mergeProps as F, createSlots as Q, renderList as W, withCtx as E, unref as T, renderSlot as D, normalizeProps as ge, guardReactiveProps as Ne, createVNode as B, ref as C, getCurrentInstance as H, render as I, h as j, computed as U, onMounted as he, onUnmounted as Oe, normalizeClass as je, normalizeStyle as oe, isRef as Pe, withKeys as Ae, withModifiers as ae, Fragment as se, createTextVNode as X, toDisplayString as re, nextTick as ie, shallowRef as R, shallowReadonly as De, toValue as A, getCurrentScope as Re, onScopeDispose as ze, watch as Fe, toRaw as We } from "vue";
3
- import { isNullOrUndef as O, hasPermission as Ie } from "./utils.js";
4
- import { UserCenterKey as Kt, buildTree as Ht, exportFile as Xt, forEachTree as Zt, getButtonPermissions as Yt, getLocale as Gt, getMenuInfo as Qt, getToken as Jt, getUserCenterParams as en, getUserCenterParamsByUrl as tn, getUserInfo as nn, is as on, isArray as an, isAsyncFunction as sn, isBoolean as rn, isClient as ln, isDate as cn, isDef as un, isElement as dn, isFunction as pn, isImageDom as fn, isNull as mn, isNumber as vn, isObject as gn, isPromise as hn, isServer as yn, isString as bn, isUndef as _n, isWindow as xn, logoutToUserCenter as wn, removeAll as Cn, removeLocale as kn, removeToken as Sn, setLocale as En, setMenuInfo as Mn, setToken as Ln, setUserCenterParams as $n, setUserInfo as Tn, toUserCenterConsole as Bn } from "./utils.js";
5
- import le from "dayjs";
6
- import { Drawer as L, App as Ue, Button as Ve, ConfigProvider as qe, Textarea as Ke, message as He } from "ant-design-vue";
7
- import { ElScrollbar as Xe, ElTooltip as Ze } from "element-plus";
8
- const Ye = {
1
+ import { InputNumber as ke, RangePicker as Se, Table as Ee, Popover as Me, Input as $e, Row as Te, Col as Ne, Button as Le } from "ant-design-vue/es";
2
+ import { markRaw as Q, createElementBlock as O, openBlock as $, createElementVNode as E, defineComponent as K, mergeModels as X, useModel as ge, useSlots as ye, useAttrs as Pe, createBlock as W, mergeProps as z, createSlots as J, renderList as I, withCtx as S, unref as T, renderSlot as j, normalizeProps as he, guardReactiveProps as Ae, createVNode as L, ref as x, getCurrentInstance as H, render as U, h as D, computed as V, onMounted as be, onUnmounted as Be, normalizeClass as De, normalizeStyle as ne, isRef as Oe, withKeys as Re, withModifiers as oe, Fragment as ae, createTextVNode as Z, toDisplayString as se, nextTick as re, shallowRef as F, shallowReadonly as je, toValue as R, getCurrentScope as Fe, onScopeDispose as We, watch as ze, toRaw as Ie } from "vue";
3
+ import { isNullOrUndef as B, hasPermission as Ue } from "./utils.js";
4
+ import { UserCenterKey as Vt, buildTree as Kt, exportFile as qt, forEachTree as Xt, getButtonPermissions as Ht, getLocale as Zt, getMenuInfo as Gt, getToken as Yt, getUserCenterParams as Qt, getUserCenterParamsByUrl as Jt, getUserInfo as en, is as tn, isArray as nn, isAsyncFunction as on, isBoolean as an, isClient as sn, isDate as rn, isDef as ln, isElement as cn, isFunction as un, isImageDom as dn, isNull as pn, isNumber as fn, isObject as mn, isPromise as vn, isServer as gn, isString as yn, isUndef as hn, isWindow as bn, logoutToUserCenter as _n, removeAll as xn, removeLocale as Cn, removeToken as wn, setLocale as kn, setMenuInfo as Sn, setToken as En, setUserCenterParams as Mn, setUserInfo as $n, toUserCenterConsole as Tn } from "./utils.js";
5
+ import ie from "dayjs";
6
+ import { Drawer as M, App as Ve, Modal as Ke, Button as qe, ConfigProvider as Xe, Textarea as He, message as Ze } from "ant-design-vue";
7
+ import { ElScrollbar as Ge, ElTooltip as Ye } from "element-plus";
8
+ const Qe = {
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 Ge(e, t) {
15
- return $(), P("svg", Ye, t[0] || (t[0] = [
16
- M("path", {
14
+ function Je(e, t) {
15
+ return $(), O("svg", Qe, t[0] || (t[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
- M("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 Qe = G({ name: "ant-design-plus", render: Ge }), Je = {
26
+ const et = Q({ name: "ant-design-plus", render: Je }), tt = {
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 et(e, t) {
33
- return $(), P("svg", Je, t[0] || (t[0] = [
34
- M("path", {
32
+ function nt(e, t) {
33
+ return $(), O("svg", tt, t[0] || (t[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 tt = G({ name: "ant-design-minus", render: et }), nt = /* @__PURE__ */ V({
40
+ const ot = Q({ name: "ant-design-minus", render: nt }), at = /* @__PURE__ */ K({
41
41
  inheritAttrs: !1,
42
42
  __name: "index",
43
- props: /* @__PURE__ */ K({
43
+ props: /* @__PURE__ */ X({
44
44
  precision: {
45
45
  type: Number
46
46
  },
@@ -56,69 +56,69 @@ const tt = G({ name: "ant-design-minus", render: et }), nt = /* @__PURE__ */ V({
56
56
  value: {},
57
57
  valueModifiers: {}
58
58
  }),
59
- emits: /* @__PURE__ */ K(["change"], ["update:value"]),
59
+ emits: /* @__PURE__ */ X(["change"], ["update:value"]),
60
60
  setup(e, { emit: t }) {
61
- const n = me(e, "value"), r = e, l = t, i = ve(), o = Be();
61
+ const n = ge(e, "value"), s = e, r = t, i = ye(), o = Pe();
62
62
  function a(p) {
63
- if (O(p))
64
- n.value = null, l("change", null);
63
+ if (B(p))
64
+ n.value = null, r("change", null);
65
65
  else {
66
- let h = p;
67
- r.stringMode && (h = Number(h).toFixed(r.precision)), n.value !== h && (n.value = h, l("change", h));
66
+ let m = p;
67
+ s.stringMode && (m = Number(m).toFixed(s.precision)), n.value !== m && (n.value = m, r("change", m));
68
68
  }
69
69
  }
70
- function u() {
71
- if (O(n.value))
70
+ function c() {
71
+ if (B(n.value))
72
72
  return;
73
73
  let p = n.value;
74
- r.stringMode && (p = Number(p).toFixed(r.precision)), n.value = p;
74
+ s.stringMode && (p = Number(p).toFixed(s.precision)), n.value = p;
75
75
  }
76
76
  function d() {
77
77
  if (o.disabled) return;
78
78
  const p = Number(n.value);
79
- !O(o.min) && p <= Number(o.min) || a(p - 1);
79
+ !B(o.min) && p <= Number(o.min) || a(p - 1);
80
80
  }
81
- function c() {
81
+ function l() {
82
82
  if (o.disabled) return;
83
83
  const p = Number(n.value);
84
- !O(o.max) && p >= Number(o.max) || a(p + 1);
84
+ !B(o.max) && p >= Number(o.max) || a(p + 1);
85
85
  }
86
- return (p, h) => {
87
- const _ = tt, w = Qe, x = Ce;
88
- return $(), z(x, F({
86
+ return (p, m) => {
87
+ const b = ot, _ = et, f = ke;
88
+ return $(), W(f, z({
89
89
  value: n.value,
90
90
  precision: e.precision,
91
91
  stringMode: e.stringMode,
92
92
  controls: !e.customControls,
93
93
  onChange: a,
94
- onBlur: u
95
- }, p.$attrs), Q({ _: 2 }, [
96
- W(Object.keys(T(i)), (f) => ({
97
- name: f,
98
- fn: E((m) => [
99
- D(p.$slots, f, ge(Ne(m)))
94
+ onBlur: c
95
+ }, p.$attrs), J({ _: 2 }, [
96
+ I(Object.keys(T(i)), (g) => ({
97
+ name: g,
98
+ fn: S((v) => [
99
+ j(p.$slots, g, he(Ae(v)))
100
100
  ])
101
101
  })),
102
102
  e.customControls ? {
103
103
  name: "addonBefore",
104
- fn: E(() => [
105
- M("div", {
104
+ fn: S(() => [
105
+ E("div", {
106
106
  class: "btn-control",
107
107
  onClick: d
108
108
  }, [
109
- B(_, { class: "btn-icon" })
109
+ L(b, { class: "btn-icon" })
110
110
  ])
111
111
  ]),
112
112
  key: "0"
113
113
  } : void 0,
114
114
  e.customControls ? {
115
115
  name: "addonAfter",
116
- fn: E(() => [
117
- M("div", {
116
+ fn: S(() => [
117
+ E("div", {
118
118
  class: "btn-control",
119
- onClick: c
119
+ onClick: l
120
120
  }, [
121
- B(w, { class: "btn-icon" })
121
+ L(_, { class: "btn-icon" })
122
122
  ])
123
123
  ]),
124
124
  key: "1"
@@ -126,7 +126,7 @@ const tt = G({ name: "ant-design-minus", render: et }), nt = /* @__PURE__ */ V({
126
126
  ]), 1040, ["value", "precision", "stringMode", "controls"]);
127
127
  };
128
128
  }
129
- }), ot = /* @__PURE__ */ V({
129
+ }), st = /* @__PURE__ */ K({
130
130
  __name: "index",
131
131
  props: {
132
132
  value: {},
@@ -156,49 +156,49 @@ const tt = G({ name: "ant-design-minus", render: et }), nt = /* @__PURE__ */ V({
156
156
  },
157
157
  emits: ["update:value", "change"],
158
158
  setup(e, { emit: t }) {
159
- const n = e, r = t, l = C(), i = C(), o = (c) => {
160
- const p = le().add(n.max, n.maxUnit), h = le().subtract(n.min, n.minUnit), _ = n.interval;
161
- if (!l.value || l.value.length === 0)
162
- return c.isAfter(p) || c.isBefore(h);
163
- const w = l.value[0] && (c.diff(l.value[0], "days") > _ || c.isAfter(p));
164
- return l.value[1] && (l.value[1].diff(c, "days") > _ || c.isBefore(h)) || w;
165
- }, a = (c) => {
166
- c ? (l.value = [], i.value = []) : i.value = void 0;
167
- }, u = (c) => {
168
- r("update:value", c), r("change", c);
169
- }, d = (c) => {
170
- l.value = c;
159
+ const n = e, s = t, r = x(), i = x(), o = (l) => {
160
+ const p = ie().add(n.max, n.maxUnit), m = ie().subtract(n.min, n.minUnit), b = n.interval;
161
+ if (!r.value || r.value.length === 0)
162
+ return l.isAfter(p) || l.isBefore(m);
163
+ const _ = r.value[0] && (l.diff(r.value[0], "days") > b || l.isAfter(p));
164
+ return r.value[1] && (r.value[1].diff(l, "days") > b || l.isBefore(m)) || _;
165
+ }, a = (l) => {
166
+ l ? (r.value = [], i.value = []) : i.value = void 0;
167
+ }, c = (l) => {
168
+ s("update:value", l), s("change", l);
169
+ }, d = (l) => {
170
+ r.value = l;
171
171
  };
172
- return (c, p) => {
173
- const h = ke;
174
- return $(), z(h, F({
172
+ return (l, p) => {
173
+ const m = Se;
174
+ return $(), W(m, z({
175
175
  value: T(i) || e.value,
176
176
  "disabled-date": o,
177
- onChange: u,
177
+ onChange: c,
178
178
  onOpenChange: a,
179
179
  onCalendarChange: d
180
- }, c.$attrs), Q({ _: 2 }, [
181
- W(Object.keys(c.$slots), (_) => ({
182
- name: _,
183
- fn: E((w) => [
184
- D(c.$slots, _)
180
+ }, l.$attrs), J({ _: 2 }, [
181
+ I(Object.keys(l.$slots), (b) => ({
182
+ name: b,
183
+ fn: S((_) => [
184
+ j(l.$slots, b)
185
185
  ])
186
186
  }))
187
187
  ]), 1040, ["value"]);
188
188
  };
189
189
  }
190
190
  });
191
- function J(e) {
191
+ function ee(e) {
192
192
  e || (e = H());
193
- const t = (e == null ? void 0 : e.provides) || {}, n = at(t, "configProvider"), r = t[n];
193
+ const t = (e == null ? void 0 : e.provides) || {}, n = rt(t, "configProvider"), s = t[n];
194
194
  return Object.fromEntries(
195
- Object.entries(r).map(([i, o]) => [i, T(o)])
195
+ Object.entries(s).map(([i, o]) => [i, T(o)])
196
196
  );
197
197
  }
198
- function at(e, t) {
198
+ function rt(e, t) {
199
199
  for (; e; ) {
200
200
  const n = Reflect.ownKeys(e).find(
201
- (r) => r === t || typeof r == "symbol" && r.description === t
201
+ (s) => s === t || typeof s == "symbol" && s.description === t
202
202
  );
203
203
  if (n)
204
204
  return n;
@@ -216,175 +216,171 @@ function Ft(e) {
216
216
  }
217
217
  return null;
218
218
  }
219
- const st = "data:image/svg+xml,%3csvg%20width='25'%20height='24'%20viewBox='0%200%2025%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M7.3125%205.5L2.3125%2012L7.3125%2018.5H22.3125V5.5H7.3125Z'%20stroke='%23272E3B'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M10.8125%209.5L15.8125%2014.5'%20stroke='%23272E3B'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M15.8125%209.5L10.8125%2014.5'%20stroke='%23272E3B'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e", rt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
220
- __proto__: null,
221
- default: st
222
- }, Symbol.toStringTag, { value: "Module" })), it = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20aria-hidden='true'%20role='img'%20class='iconify%20iconify--logos'%20width='37.07'%20height='36'%20preserveAspectRatio='xMidYMid%20meet'%20viewBox='0%200%20256%20198'%3e%3cpath%20fill='%2341B883'%20d='M204.8%200H256L128%20220.8L0%200h97.92L128%2051.2L157.44%200h47.36Z'%3e%3c/path%3e%3cpath%20fill='%2341B883'%20d='m0%200l128%20220.8L256%200h-51.2L128%20132.48L50.56%200H0Z'%3e%3c/path%3e%3cpath%20fill='%2335495E'%20d='M50.56%200L128%20133.12L204.8%200h-47.36L128%2051.2L97.92%200H50.56Z'%3e%3c/path%3e%3c/svg%3e", lt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
223
- __proto__: null,
224
- default: it
225
- }, Symbol.toStringTag, { value: "Module" }));
226
- function Wt(e) {
227
- return (/* @__PURE__ */ Object.assign({ "/src/assets/svg/clear.svg": rt, "/src/assets/vue.svg": lt }))[`/src/assets/${e}`].default;
228
- }
229
- let N;
230
- L.destroy = function() {
231
- const e = L.instanceArr || [], t = e.pop();
232
- if (t && I(null, t.container), e.length > 0) {
219
+ let A, le, P, ce;
220
+ M.destroy = function() {
221
+ const e = M.instanceArr || [], t = e.pop();
222
+ if (t && U(null, t.container), e.length > 0) {
233
223
  const n = e[e.length - 1].instance;
234
224
  Object.assign(n.component.props, {
235
225
  contentWrapperStyle: { transform: null }
236
226
  }), n.component.update();
237
227
  }
238
228
  };
239
- L.destroyAll = function() {
240
- (L.instanceArr || []).forEach((t) => {
241
- I(null, t.container);
242
- }), L.instanceArr = [];
229
+ M.destroyAll = function() {
230
+ (M.instanceArr || []).forEach((t) => {
231
+ U(null, t.container);
232
+ }), M.instanceArr = [];
243
233
  };
244
- function It() {
245
- var _, w;
246
- const e = H(), { message: t, modal: n, notification: r } = Ue.useApp(), l = {
234
+ function Wt() {
235
+ var l, p;
236
+ const e = H();
237
+ if (!P) {
238
+ const m = Ve.useApp();
239
+ P = m.modal, le = m.message, ce = m.notification;
240
+ }
241
+ P.info || (P = Ke);
242
+ const t = {
247
243
  zh: "关闭",
248
244
  en: "Close",
249
245
  fr: "fermeture"
250
- }, i = {
246
+ }, n = {
251
247
  zh: "请输入",
252
248
  en: "Please Enter",
253
249
  fr: "Veuillez entrer"
254
- }, o = J(), a = ((w = (_ = o == null ? void 0 : o.locale) == null ? void 0 : _.locale) == null ? void 0 : w.slice(0, 2)) || "en";
255
- function u({ title: x, ...f }) {
256
- const m = C();
257
- return d({
258
- title: x,
259
- ...f,
260
- comp: Ke,
250
+ }, s = ee(), r = ((p = (l = s == null ? void 0 : s.locale) == null ? void 0 : l.locale) == null ? void 0 : p.slice(0, 2)) || "en";
251
+ function i({ title: m, ...b }) {
252
+ const _ = x();
253
+ return o({
254
+ title: m,
255
+ ...b,
256
+ comp: He,
261
257
  props: {
262
- placeholder: i[a],
258
+ placeholder: n[r],
263
259
  autoSize: { minRows: 6 },
264
- value: m,
265
- "onUpdate:value": (s) => {
266
- m.value = s;
260
+ value: _,
261
+ "onUpdate:value": (f) => {
262
+ _.value = f;
267
263
  },
268
- ...f.props
264
+ ...b.props
269
265
  },
270
266
  class: "modal-comp modal-comp-input",
271
267
  type: "confirm",
272
- onOk: () => new Promise((s, v) => {
273
- f.onOk && (f.onOk(m.value) ? s(1) : v()), s(1);
268
+ onOk: () => new Promise((f, g) => {
269
+ b.onOk && (b.onOk(_.value) ? f(1) : g()), f(1);
274
270
  })
275
271
  });
276
272
  }
277
- function d({ title: x, comp: f, props: m, ...s }) {
278
- const v = j(f, m), g = (s == null ? void 0 : s.type) ?? "info", y = {
279
- title: x,
280
- content: v,
273
+ function o({ title: m, comp: b, props: _, ...f }) {
274
+ const g = D(b, _), v = (f == null ? void 0 : f.type) ?? "info", u = {
275
+ title: m,
276
+ content: g,
281
277
  width: "auto",
282
278
  icon: null,
283
279
  closable: !0,
284
280
  maskClosable: !0,
285
281
  centered: !0,
286
282
  class: "modal-comp",
287
- ...s
283
+ ...f
288
284
  };
289
- switch (g) {
285
+ switch (v) {
290
286
  case "info":
291
- N = n.info(y);
287
+ A = P.info(u);
292
288
  break;
293
289
  case "warning":
294
- N = n.warning(y);
290
+ A = P.warning(u);
295
291
  break;
296
292
  case "success":
297
- N = n.success(y);
293
+ A = P.success(u);
298
294
  break;
299
295
  case "confirm":
300
- N = n.confirm(y);
296
+ A = P.confirm(u);
301
297
  break;
302
298
  }
303
- return N;
299
+ return A;
304
300
  }
305
- function c() {
306
- N == null || N.destroy();
301
+ function a() {
302
+ A == null || A.destroy();
307
303
  }
308
- function p({ title: x, comp: f, props: m, ...s }) {
309
- const v = s.getContainer || document.createDocumentFragment();
310
- L.instanceArr || (L.instanceArr = []);
311
- const g = L.instanceArr, y = g[g.length - 1];
312
- let b;
313
- if ((y == null ? void 0 : y.comp) === f) {
314
- const k = y.instance;
315
- Object.assign(k.component.props, { title: x, ...s }), k.component.update(), b = y.compInstance, Object.assign(b.component.props, { ...m }), b.component.update();
304
+ function c({ title: m, comp: b, props: _, ...f }) {
305
+ const g = f.getContainer || document.createDocumentFragment();
306
+ M.instanceArr || (M.instanceArr = []);
307
+ const v = M.instanceArr, u = v[v.length - 1];
308
+ let y;
309
+ if ((u == null ? void 0 : u.comp) === b) {
310
+ const h = u.instance;
311
+ Object.assign(h.component.props, { title: m, ...f }), h.component.update(), y = u.compInstance, Object.assign(y.component.props, { ..._ }), y.component.update();
316
312
  } else {
317
- if (y) {
318
- const ne = y.instance;
319
- Object.assign(ne.component.props, {
313
+ if (u) {
314
+ const q = u.instance;
315
+ Object.assign(q.component.props, {
320
316
  contentWrapperStyle: { transform: "translateX(-180px)" }
321
- }), ne.component.update();
317
+ }), q.component.update();
322
318
  }
323
- b = j(f, m);
324
- const k = {
325
- default: () => j(
326
- Xe,
319
+ y = D(b, _);
320
+ const h = {
321
+ default: () => D(
322
+ Ge,
327
323
  { style: { height: "100%" }, wrapStyle: { overflowX: "hidden" } },
328
- b
324
+ y
329
325
  )
330
326
  };
331
- s.footer === void 0 && Object.assign(k, {
332
- footer: () => j(
333
- Ve,
327
+ f.footer === void 0 && Object.assign(h, {
328
+ footer: () => D(
329
+ qe,
334
330
  {
335
331
  onClick: () => {
336
- L.destroy();
332
+ M.destroy();
337
333
  }
338
334
  },
339
- l[a]
335
+ t[r]
340
336
  )
341
337
  });
342
- const S = s.width || 992;
343
- delete s.width;
344
- const q = j(
345
- L,
338
+ const w = f.width || 992;
339
+ delete f.width;
340
+ const C = D(
341
+ M,
346
342
  {
347
- title: x,
348
- width: S,
343
+ title: m,
344
+ width: w,
349
345
  open: !0,
350
346
  class: "drawer-comp",
351
347
  footerStyle: {
352
348
  textAlign: "right"
353
349
  },
354
350
  onClose: () => {
355
- s != null && s.afterClose && s.afterClose(), L.destroy();
351
+ f != null && f.afterClose && f.afterClose(), M.destroy();
356
352
  },
357
- ...s
353
+ ...f
358
354
  },
359
- k
360
- ), we = o.getPrefixCls(), te = j(
361
- qe,
362
- { ...o, prefixCls: we },
363
- { default: () => q }
355
+ h
356
+ ), N = s.getPrefixCls(), k = D(
357
+ Xe,
358
+ { ...s, prefixCls: N },
359
+ { default: () => C }
364
360
  );
365
- te.appContext = e.appContext, I(te, v), g.push({ instance: q, comp: f, compInstance: b, container: v });
361
+ k.appContext = e.appContext, U(k, g), v.push({ instance: C, comp: b, compInstance: y, container: g });
366
362
  }
367
363
  return {
368
- updateProps: (k) => {
369
- Object.assign(b.component.props, { ...k }), b.component.update();
364
+ updateProps: (h) => {
365
+ Object.assign(y.component.props, { ...h }), y.component.update();
370
366
  }
371
367
  };
372
368
  }
373
- function h() {
374
- L.destroy();
369
+ function d() {
370
+ M.destroy();
375
371
  }
376
372
  return {
377
- message: t,
378
- modal: n,
379
- notification: r,
380
- modalInput: u,
381
- modalComp: d,
382
- modalDestroy: c,
383
- drawerComp: p,
384
- drawerDestroy: h
373
+ message: le,
374
+ modal: P,
375
+ notification: ce,
376
+ modalInput: i,
377
+ modalComp: o,
378
+ modalDestroy: a,
379
+ drawerComp: c,
380
+ drawerDestroy: d
385
381
  };
386
382
  }
387
- const ct = /* @__PURE__ */ V({
383
+ const it = /* @__PURE__ */ K({
388
384
  inheritAttrs: !1,
389
385
  __name: "index",
390
386
  props: {
@@ -398,74 +394,74 @@ const ct = /* @__PURE__ */ V({
398
394
  }
399
395
  },
400
396
  setup(e, { expose: t }) {
401
- const n = e, r = ve(), l = C([]), i = C(!1), o = C(0), a = C(1), u = C(10), d = C(), c = C(), p = {
397
+ const n = e, s = ye(), r = x([]), i = x(!1), o = x(0), a = x(1), c = x(10), d = x(), l = x(), p = {
402
398
  zh: "共 {num} 条",
403
399
  en: "Total {num} items",
404
400
  fr: "Total de {num}"
405
- }, h = J(), _ = U(() => {
406
- var y, b;
407
- return ((b = (y = h == null ? void 0 : h.locale) == null ? void 0 : y.locale) == null ? void 0 : b.slice(0, 2)) || "en";
408
- }), w = U(() => ({
401
+ }, m = ee(), b = V(() => {
402
+ var w, C;
403
+ return ((C = (w = m == null ? void 0 : m.locale) == null ? void 0 : w.locale) == null ? void 0 : C.slice(0, 2)) || "en";
404
+ }), _ = V(() => ({
409
405
  total: o.value,
410
406
  current: a.value,
411
- pageSize: u.value,
407
+ pageSize: c.value,
412
408
  showSizeChanger: !0,
413
409
  size: "small",
414
- showTotal: (g) => p[_.value].replace("{num}", g)
410
+ showTotal: (h) => p[b.value].replace("{num}", h)
415
411
  }));
416
- function x() {
417
- var g;
412
+ function f() {
413
+ var h;
418
414
  if (typeof n.loadData == "function") {
419
415
  i.value = !0;
420
- const y = { pageNo: a.value, pageSize: u.value };
421
- n.formatSortParams && ((g = c.value) != null && g.orderMap) && (y[c.value.field + "SortField"] = c.value.orderMap), n.loadData(y, d.value, c.value).then((b) => {
422
- i.value = !1, (b == null ? void 0 : b.code) === 0 && (o.value = b.result.totalCount, l.value = b.result.data);
416
+ const w = { pageNo: a.value, pageSize: c.value };
417
+ n.formatSortParams && ((h = l.value) != null && h.orderMap) && (w[l.value.field + "SortField"] = l.value.orderMap), n.loadData(w, d.value, l.value).then((C) => {
418
+ i.value = !1, (C == null ? void 0 : C.code) === 0 && (o.value = C.result.totalCount, r.value = C.result.data);
423
419
  });
424
420
  }
425
421
  }
426
- function f(g, y, b) {
427
- if (a.value = g.current, u.value = g.pageSize, d.value = y, b) {
428
- const k = {
422
+ function g(h, w, C) {
423
+ if (a.value = h.current, c.value = h.pageSize, d.value = w, C) {
424
+ const N = {
429
425
  ascend: "asc",
430
426
  descend: "desc"
431
427
  };
432
- b.orderMap = k[b.order] || "";
428
+ C.orderMap = N[C.order] || "";
433
429
  }
434
- c.value = b, x();
430
+ l.value = C, f();
435
431
  }
436
- function m(g, y) {
437
- y.width = g;
432
+ function v(h, w) {
433
+ w.width = h;
438
434
  }
439
- function s() {
440
- a.value = 1, x();
435
+ function u() {
436
+ a.value = 1, f();
441
437
  }
442
- function v() {
443
- a.value = 1, o.value = 0, l.value = [];
438
+ function y() {
439
+ a.value = 1, o.value = 0, r.value = [];
444
440
  }
445
441
  return t({
446
- loadData: x,
447
- refresh: s,
448
- reset: v
449
- }), (g, y) => {
450
- const b = Se;
451
- return $(), z(b, F({
442
+ loadData: f,
443
+ refresh: u,
444
+ reset: y
445
+ }), (h, w) => {
446
+ const C = Ee;
447
+ return $(), W(C, z({
452
448
  class: "table-ex",
453
449
  loading: T(i),
454
- pagination: T(w),
455
- dataSource: T(l),
456
- onChange: f,
457
- onResizeColumn: m
458
- }, g.$attrs), Q({ _: 2 }, [
459
- W(Object.keys(T(r)), (k) => ({
460
- name: k,
461
- fn: E((S) => [
462
- k !== "emptyText" ? D(g.$slots, k, ge(F({ key: 0 }, S))) : D(g.$slots, k, { key: 1 })
450
+ pagination: T(_),
451
+ dataSource: T(r),
452
+ onChange: g,
453
+ onResizeColumn: v
454
+ }, h.$attrs), J({ _: 2 }, [
455
+ I(Object.keys(T(s)), (N) => ({
456
+ name: N,
457
+ fn: S((k) => [
458
+ N !== "emptyText" ? j(h.$slots, N, he(z({ key: 0 }, k))) : j(h.$slots, N, { key: 1 })
463
459
  ])
464
460
  }))
465
461
  ]), 1040, ["loading", "pagination", "dataSource"]);
466
462
  };
467
463
  }
468
- }), ut = /* @__PURE__ */ V({
464
+ }), lt = /* @__PURE__ */ K({
469
465
  __name: "index",
470
466
  props: {
471
467
  leftMin: {
@@ -482,55 +478,55 @@ const ct = /* @__PURE__ */ V({
482
478
  }
483
479
  },
484
480
  setup(e) {
485
- const t = e, n = C(), r = C(), l = C({}), i = C({}), o = C(0.2);
481
+ const t = e, n = x(), s = x(), r = x({}), i = x({}), o = x(0.2);
486
482
  function a(d) {
487
- l.value = { width: `calc(${d * 100}% - 5px)` }, i.value = { width: `calc(${(1 - d) * 100}% - 5px)` };
483
+ r.value = { width: `calc(${d * 100}% - 5px)` }, i.value = { width: `calc(${(1 - d) * 100}% - 5px)` };
488
484
  }
489
- function u() {
485
+ function c() {
490
486
  const d = n.value;
491
487
  if (!d)
492
488
  return;
493
- const c = d.clientWidth, p = d.getBoundingClientRect(), h = p.left;
494
- function _(x) {
495
- x.preventDefault(), (x.clientX < p.left || x.clientX > p.right || x.clientY < p.top || x.clientY > p.bottom) && w();
496
- const m = (x.clientX - h) / c;
497
- m > t.leftMin && m < t.leftMax && (o.value = m, a(m));
489
+ const l = d.clientWidth, p = d.getBoundingClientRect(), m = p.left;
490
+ function b(f) {
491
+ f.preventDefault(), (f.clientX < p.left || f.clientX > p.right || f.clientY < p.top || f.clientY > p.bottom) && _();
492
+ const v = (f.clientX - m) / l;
493
+ v > t.leftMin && v < t.leftMax && (o.value = v, a(v));
498
494
  }
499
- function w() {
500
- document.removeEventListener("mousemove", _), document.removeEventListener("mouseup", w);
495
+ function _() {
496
+ document.removeEventListener("mousemove", b), document.removeEventListener("mouseup", _);
501
497
  }
502
- document.addEventListener("mousemove", _), document.addEventListener("mouseup", w);
498
+ document.addEventListener("mousemove", b), document.addEventListener("mouseup", _);
503
499
  }
504
- return he(() => {
505
- a(o.value), r.value && r.value.addEventListener("mousedown", u, !1);
506
- }), Oe(() => {
507
- r.value && r.value.removeEventListener("mousedown", u);
508
- }), (d, c) => ($(), P("div", {
500
+ return be(() => {
501
+ a(o.value), s.value && s.value.addEventListener("mousedown", c, !1);
502
+ }), Be(() => {
503
+ s.value && s.value.removeEventListener("mousedown", c);
504
+ }), (d, l) => ($(), O("div", {
509
505
  ref_key: "container",
510
506
  ref: n,
511
- class: je(["wl-splitter", { bordered: e.bordered }])
507
+ class: De(["wl-splitter", { bordered: e.bordered }])
512
508
  }, [
513
- M("div", {
509
+ E("div", {
514
510
  class: "my-left",
515
- style: oe(T(l))
511
+ style: ne(T(r))
516
512
  }, [
517
- D(d.$slots, "left")
513
+ j(d.$slots, "left")
518
514
  ], 4),
519
- M("div", {
515
+ E("div", {
520
516
  ref_key: "spliter",
521
- ref: r,
517
+ ref: s,
522
518
  style: { height: "100%", width: "10px" },
523
519
  class: "my-spliter"
524
520
  }, null, 512),
525
- M("div", {
521
+ E("div", {
526
522
  class: "my-right",
527
- style: oe(T(i))
523
+ style: ne(T(i))
528
524
  }, [
529
- D(d.$slots, "right")
525
+ j(d.$slots, "right")
530
526
  ], 4)
531
527
  ], 2));
532
528
  }
533
- }), dt = {
529
+ }), ct = {
534
530
  class: "icon",
535
531
  width: "25",
536
532
  height: "24",
@@ -538,21 +534,21 @@ const ct = /* @__PURE__ */ V({
538
534
  fill: "none",
539
535
  xmlns: "http://www.w3.org/2000/svg"
540
536
  };
541
- function pt(e, t) {
542
- return $(), P("svg", dt, t[0] || (t[0] = [
543
- M("path", {
537
+ function ut(e, t) {
538
+ return $(), O("svg", ct, t[0] || (t[0] = [
539
+ E("path", {
544
540
  d: "M7.3125 5.5L2.3125 12L7.3125 18.5H22.3125V5.5H7.3125Z",
545
541
  stroke: "#272E3B",
546
542
  "stroke-linecap": "round",
547
543
  "stroke-linejoin": "round"
548
544
  }, null, -1),
549
- M("path", {
545
+ E("path", {
550
546
  d: "M10.8125 9.5L15.8125 14.5",
551
547
  stroke: "#272E3B",
552
548
  "stroke-linecap": "round",
553
549
  "stroke-linejoin": "round"
554
550
  }, null, -1),
555
- M("path", {
551
+ E("path", {
556
552
  d: "M15.8125 9.5L10.8125 14.5",
557
553
  stroke: "#272E3B",
558
554
  "stroke-linecap": "round",
@@ -560,10 +556,10 @@ function pt(e, t) {
560
556
  }, null, -1)
561
557
  ]));
562
558
  }
563
- const ft = G({ name: "local-clear", render: pt }), mt = { class: "nums-box" }, vt = { class: "btn-box" }, gt = /* @__PURE__ */ V({
559
+ const dt = Q({ name: "local-clear", render: ut }), pt = { class: "nums-box" }, ft = { class: "btn-box" }, mt = /* @__PURE__ */ K({
564
560
  inheritAttrs: !1,
565
561
  __name: "index",
566
- props: /* @__PURE__ */ K({
562
+ props: /* @__PURE__ */ X({
567
563
  quickNums: {
568
564
  type: Array,
569
565
  default: () => [100, 500, 1e3, 1500, 2e3, 2500]
@@ -584,94 +580,94 @@ const ft = G({ name: "local-clear", render: pt }), mt = { class: "nums-box" }, v
584
580
  value: { type: String },
585
581
  valueModifiers: {}
586
582
  }),
587
- emits: /* @__PURE__ */ K(["enter"], ["update:value"]),
583
+ emits: /* @__PURE__ */ X(["enter"], ["update:value"]),
588
584
  setup(e, { emit: t }) {
589
- const n = e, r = t, l = C(), i = C(), o = C(["7", "8", "9", "4", "5", "6", "1", "2", "3", "0", "00", "."]), a = me(e, "value"), u = C(!1);
585
+ const n = e, s = t, r = x(), i = x(), o = x(["7", "8", "9", "4", "5", "6", "1", "2", "3", "0", "00", "."]), a = ge(e, "value"), c = x(!1);
590
586
  function d() {
591
- u.value = !0;
587
+ c.value = !0;
592
588
  }
593
- function c() {
594
- x();
589
+ function l() {
590
+ f();
595
591
  }
596
- function p(f) {
597
- i.value.focus(), a.value = Number(f).toFixed(n.precision);
592
+ function p(g) {
593
+ i.value.focus(), a.value = Number(g).toFixed(n.precision);
598
594
  }
599
- function h(f) {
600
- if (i.value.focus(), O(a.value) || a.value === "") {
601
- if (["00", "."].includes(f))
595
+ function m(g) {
596
+ if (i.value.focus(), B(a.value) || a.value === "") {
597
+ if (["00", "."].includes(g))
602
598
  return;
603
- a.value = f;
599
+ a.value = g;
604
600
  } else {
605
- const m = String(a.value), s = l.value.getElementsByTagName("input")[0], v = s.selectionStart || 0, g = s.selectionEnd || 0;
606
- a.value = `${m.slice(0, v)}${f}${m.slice(g)}`;
607
- const y = v + f.length;
608
- ie(() => {
609
- i.value.setSelectionRange(y, y);
601
+ const v = String(a.value), u = r.value.getElementsByTagName("input")[0], y = u.selectionStart || 0, h = u.selectionEnd || 0;
602
+ a.value = `${v.slice(0, y)}${g}${v.slice(h)}`;
603
+ const w = y + g.length;
604
+ re(() => {
605
+ i.value.setSelectionRange(w, w);
610
606
  });
611
607
  }
612
608
  }
613
- function _() {
614
- if (i.value.focus(), O(a.value))
609
+ function b() {
610
+ if (i.value.focus(), B(a.value))
615
611
  return;
616
- const f = String(a.value);
617
- if (f != null && f.length) {
618
- const m = l.value.getElementsByTagName("input")[0], s = m.selectionStart || 0, v = m.selectionEnd || 0, g = s > 0 ? s - 1 : 0;
619
- s === v ? a.value = f.slice(0, g) + f.slice(v) : a.value = f.slice(0, s) + f.slice(v), ie(() => {
620
- i.value.setSelectionRange(g, g);
612
+ const g = String(a.value);
613
+ if (g != null && g.length) {
614
+ const v = r.value.getElementsByTagName("input")[0], u = v.selectionStart || 0, y = v.selectionEnd || 0, h = u > 0 ? u - 1 : 0;
615
+ u === y ? a.value = g.slice(0, h) + g.slice(y) : a.value = g.slice(0, u) + g.slice(y), re(() => {
616
+ i.value.setSelectionRange(h, h);
621
617
  });
622
618
  }
623
619
  }
624
- function w() {
620
+ function _() {
625
621
  i.value.blur();
626
622
  }
627
- function x() {
628
- const f = n.min, m = n.max;
629
- let s = parseFloat(a.value || "0");
630
- O(f) || (s = s > f ? s : f), O(m) || (s = s > m ? m : s), a.value = Number(s).toFixed(n.precision), u.value = !1, r("enter");
623
+ function f() {
624
+ const g = n.min, v = n.max;
625
+ let u = parseFloat(a.value || "0");
626
+ B(g) || (u = u > g ? u : g), B(v) || (u = u > v ? v : u), a.value = Number(u).toFixed(n.precision), c.value = !1, s("enter");
631
627
  }
632
- return (f, m) => {
633
- const s = Te, v = $e, g = ft, y = Le, b = Me, k = Ee;
634
- return $(), P("div", {
628
+ return (g, v) => {
629
+ const u = Le, y = Ne, h = dt, w = Te, C = $e, N = Me;
630
+ return $(), O("div", {
635
631
  class: "number-keyboard",
636
632
  ref_key: "numberKeyboard",
637
- ref: l
633
+ ref: r
638
634
  }, [
639
- B(k, {
635
+ L(N, {
640
636
  overlayClassName: "popover-keyboard",
641
637
  trigger: "manual",
642
638
  placement: "bottomLeft",
643
639
  align: { offset: [0, -9] },
644
- open: T(u),
645
- "onUpdate:open": m[2] || (m[2] = (S) => Pe(u) ? u.value = S : null)
640
+ open: T(c),
641
+ "onUpdate:open": v[2] || (v[2] = (k) => Oe(c) ? c.value = k : null)
646
642
  }, {
647
- content: E(() => [
648
- M("div", {
643
+ content: S(() => [
644
+ E("div", {
649
645
  class: "keyboard-panel",
650
- onMousedownCapture: m[0] || (m[0] = ae(() => {
646
+ onMousedownCapture: v[0] || (v[0] = oe(() => {
651
647
  }, ["prevent", "stop"]))
652
648
  }, [
653
- B(y, { gutter: "8" }, {
654
- default: E(() => [
655
- B(v, { span: 18 }, {
656
- default: E(() => [
657
- M("div", mt, [
658
- ($(!0), P(se, null, W(e.quickNums, (S) => ($(), z(s, {
649
+ L(w, { gutter: "8" }, {
650
+ default: S(() => [
651
+ L(y, { span: 18 }, {
652
+ default: S(() => [
653
+ E("div", pt, [
654
+ ($(!0), O(ae, null, I(e.quickNums, (k) => ($(), W(u, {
659
655
  class: "btn-num",
660
- key: S,
661
- onClick: (q) => p(S)
656
+ key: k,
657
+ onClick: (q) => p(k)
662
658
  }, {
663
- default: E(() => [
664
- X(re(S), 1)
659
+ default: S(() => [
660
+ Z(se(k), 1)
665
661
  ]),
666
662
  _: 2
667
663
  }, 1032, ["onClick"]))), 128)),
668
- ($(!0), P(se, null, W(T(o), (S) => ($(), z(s, {
664
+ ($(!0), O(ae, null, I(T(o), (k) => ($(), W(u, {
669
665
  class: "btn-num",
670
- key: S,
671
- onClick: (q) => h(S)
666
+ key: k,
667
+ onClick: (q) => m(k)
672
668
  }, {
673
- default: E(() => [
674
- X(re(S), 1)
669
+ default: S(() => [
670
+ Z(se(k), 1)
675
671
  ]),
676
672
  _: 2
677
673
  }, 1032, ["onClick"]))), 128))
@@ -679,25 +675,25 @@ const ft = G({ name: "local-clear", render: pt }), mt = { class: "nums-box" }, v
679
675
  ]),
680
676
  _: 1
681
677
  }),
682
- B(v, { span: 6 }, {
683
- default: E(() => [
684
- M("div", vt, [
685
- B(s, {
678
+ L(y, { span: 6 }, {
679
+ default: S(() => [
680
+ E("div", ft, [
681
+ L(u, {
686
682
  class: "btn-clear",
687
- onClick: _
683
+ onClick: b
688
684
  }, {
689
- default: E(() => [
690
- B(g, { style: { width: "24px", height: "24px" } })
685
+ default: S(() => [
686
+ L(h, { style: { width: "24px", height: "24px" } })
691
687
  ]),
692
688
  _: 1
693
689
  }),
694
- B(s, {
690
+ L(u, {
695
691
  class: "btn-enter",
696
692
  type: "primary",
697
- onClick: ae(w, ["stop"])
693
+ onClick: oe(_, ["stop"])
698
694
  }, {
699
- default: E(() => m[3] || (m[3] = [
700
- X("Enter ")
695
+ default: S(() => v[3] || (v[3] = [
696
+ Z("Enter ")
701
697
  ])),
702
698
  _: 1
703
699
  })
@@ -710,16 +706,16 @@ const ft = G({ name: "local-clear", render: pt }), mt = { class: "nums-box" }, v
710
706
  })
711
707
  ], 32)
712
708
  ]),
713
- default: E(() => [
714
- B(b, F({
709
+ default: S(() => [
710
+ L(C, z({
715
711
  ref_key: "inputRef",
716
712
  ref: i,
717
713
  value: a.value,
718
- "onUpdate:value": m[1] || (m[1] = (S) => a.value = S)
719
- }, f.$attrs, {
714
+ "onUpdate:value": v[1] || (v[1] = (k) => a.value = k)
715
+ }, g.$attrs, {
720
716
  onFocus: d,
721
- onBlur: c,
722
- onKeyup: Ae(w, ["enter"])
717
+ onBlur: l,
718
+ onKeyup: Re(_, ["enter"])
723
719
  }), null, 16, ["value"])
724
720
  ]),
725
721
  _: 1
@@ -727,58 +723,58 @@ const ft = G({ name: "local-clear", render: pt }), mt = { class: "nums-box" }, v
727
723
  ], 512);
728
724
  };
729
725
  }
730
- }), ce = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
726
+ }), ue = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
731
727
  __proto__: null,
732
- AInputNumberEx: nt,
733
- ARangePickerEx: ot,
734
- ATableEx: ct,
735
- WlNumberKeyboard: gt,
736
- WlSplitter: ut
728
+ AInputNumberEx: at,
729
+ ARangePickerEx: st,
730
+ ATableEx: it,
731
+ WlNumberKeyboard: mt,
732
+ WlSplitter: lt
737
733
  }, Symbol.toStringTag, { value: "Module" }));
738
- function ye(e) {
739
- return Re() ? (ze(e), !0) : !1;
734
+ function _e(e) {
735
+ return Fe() ? (We(e), !0) : !1;
740
736
  }
741
- const ee = typeof window < "u" && typeof document < "u";
737
+ const te = typeof window < "u" && typeof document < "u";
742
738
  typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
743
- const ht = Object.prototype.toString, yt = (e) => ht.call(e) === "[object Object]";
744
- function bt(e) {
739
+ const vt = Object.prototype.toString, gt = (e) => vt.call(e) === "[object Object]";
740
+ function yt(e) {
745
741
  let t;
746
742
  function n() {
747
743
  return t || (t = e()), t;
748
744
  }
749
745
  return n.reset = async () => {
750
- const r = t;
751
- t = void 0, r && await r;
746
+ const s = t;
747
+ t = void 0, s && await s;
752
748
  }, n;
753
749
  }
754
- function Z(e) {
750
+ function G(e) {
755
751
  return Array.isArray(e) ? e : [e];
756
752
  }
757
- function _t(e, t, n = {}) {
753
+ function ht(e, t, n = {}) {
758
754
  const {
759
- immediate: r = !0,
760
- immediateCallback: l = !1
761
- } = n, i = R(!1);
755
+ immediate: s = !0,
756
+ immediateCallback: r = !1
757
+ } = n, i = F(!1);
762
758
  let o = null;
763
759
  function a() {
764
760
  o && (clearTimeout(o), o = null);
765
761
  }
766
- function u() {
762
+ function c() {
767
763
  i.value = !1, a();
768
764
  }
769
- function d(...c) {
770
- l && e(), a(), i.value = !0, o = setTimeout(() => {
771
- i.value = !1, o = null, e(...c);
772
- }, A(t));
765
+ function d(...l) {
766
+ r && e(), a(), i.value = !0, o = setTimeout(() => {
767
+ i.value = !1, o = null, e(...l);
768
+ }, R(t));
773
769
  }
774
- return r && (i.value = !0, ee && d()), ye(u), {
775
- isPending: De(i),
770
+ return s && (i.value = !0, te && d()), _e(c), {
771
+ isPending: je(i),
776
772
  start: d,
777
- stop: u
773
+ stop: c
778
774
  };
779
775
  }
780
- function xt(e, t, n) {
781
- return Fe(
776
+ function bt(e, t, n) {
777
+ return ze(
782
778
  e,
783
779
  t,
784
780
  {
@@ -787,37 +783,37 @@ function xt(e, t, n) {
787
783
  }
788
784
  );
789
785
  }
790
- const wt = ee ? window : void 0, be = ee ? window.navigator : void 0;
791
- function Ct(e) {
786
+ const _t = te ? window : void 0, xe = te ? window.navigator : void 0;
787
+ function xt(e) {
792
788
  var t;
793
- const n = A(e);
789
+ const n = R(e);
794
790
  return (t = n == null ? void 0 : n.$el) != null ? t : n;
795
791
  }
796
- function _e(...e) {
792
+ function Ce(...e) {
797
793
  const t = [], n = () => {
798
794
  t.forEach((a) => a()), t.length = 0;
799
- }, r = (a, u, d, c) => (a.addEventListener(u, d, c), () => a.removeEventListener(u, d, c)), l = U(() => {
800
- const a = Z(A(e[0])).filter((u) => u != null);
801
- return a.every((u) => typeof u != "string") ? a : void 0;
802
- }), i = xt(
795
+ }, s = (a, c, d, l) => (a.addEventListener(c, d, l), () => a.removeEventListener(c, d, l)), r = V(() => {
796
+ const a = G(R(e[0])).filter((c) => c != null);
797
+ return a.every((c) => typeof c != "string") ? a : void 0;
798
+ }), i = bt(
803
799
  () => {
804
- var a, u;
800
+ var a, c;
805
801
  return [
806
- (u = (a = l.value) == null ? void 0 : a.map((d) => Ct(d))) != null ? u : [wt].filter((d) => d != null),
807
- Z(A(l.value ? e[1] : e[0])),
808
- Z(T(l.value ? e[2] : e[1])),
802
+ (c = (a = r.value) == null ? void 0 : a.map((d) => xt(d))) != null ? c : [_t].filter((d) => d != null),
803
+ G(R(r.value ? e[1] : e[0])),
804
+ G(T(r.value ? e[2] : e[1])),
809
805
  // @ts-expect-error - TypeScript gets the correct types, but somehow still complains
810
- A(l.value ? e[3] : e[2])
806
+ R(r.value ? e[3] : e[2])
811
807
  ];
812
808
  },
813
- ([a, u, d, c]) => {
814
- if (n(), !(a != null && a.length) || !(u != null && u.length) || !(d != null && d.length))
809
+ ([a, c, d, l]) => {
810
+ if (n(), !(a != null && a.length) || !(c != null && c.length) || !(d != null && d.length))
815
811
  return;
816
- const p = yt(c) ? { ...c } : c;
812
+ const p = gt(l) ? { ...l } : l;
817
813
  t.push(
818
814
  ...a.flatMap(
819
- (h) => u.flatMap(
820
- (_) => d.map((w) => r(h, _, w, p))
815
+ (m) => c.flatMap(
816
+ (b) => d.map((_) => s(m, b, _, p))
821
817
  )
822
818
  )
823
819
  );
@@ -826,108 +822,108 @@ function _e(...e) {
826
822
  ), o = () => {
827
823
  i(), n();
828
824
  };
829
- return ye(n), o;
825
+ return _e(n), o;
830
826
  }
831
- function kt() {
832
- const e = R(!1), t = H();
833
- return t && he(() => {
827
+ function Ct() {
828
+ const e = F(!1), t = H();
829
+ return t && be(() => {
834
830
  e.value = !0;
835
831
  }, t), e;
836
832
  }
837
- function xe(e) {
838
- const t = kt();
839
- return U(() => (t.value, !!e()));
833
+ function we(e) {
834
+ const t = Ct();
835
+ return V(() => (t.value, !!e()));
840
836
  }
841
- function ue(e, t = {}) {
837
+ function de(e, t = {}) {
842
838
  const {
843
839
  controls: n = !1,
844
- navigator: r = be
845
- } = t, l = xe(() => r && "permissions" in r), i = R(), o = typeof e == "string" ? { name: e } : e, a = R(), u = () => {
846
- var c, p;
847
- a.value = (p = (c = i.value) == null ? void 0 : c.state) != null ? p : "prompt";
840
+ navigator: s = xe
841
+ } = t, r = we(() => s && "permissions" in s), i = F(), o = typeof e == "string" ? { name: e } : e, a = F(), c = () => {
842
+ var l, p;
843
+ a.value = (p = (l = i.value) == null ? void 0 : l.state) != null ? p : "prompt";
848
844
  };
849
- _e(i, "change", u, { passive: !0 });
850
- const d = bt(async () => {
851
- if (l.value) {
845
+ Ce(i, "change", c, { passive: !0 });
846
+ const d = yt(async () => {
847
+ if (r.value) {
852
848
  if (!i.value)
853
849
  try {
854
- i.value = await r.permissions.query(o);
850
+ i.value = await s.permissions.query(o);
855
851
  } catch {
856
852
  i.value = void 0;
857
853
  } finally {
858
- u();
854
+ c();
859
855
  }
860
856
  if (n)
861
- return We(i.value);
857
+ return Ie(i.value);
862
858
  }
863
859
  });
864
860
  return d(), n ? {
865
861
  state: a,
866
- isSupported: l,
862
+ isSupported: r,
867
863
  query: d
868
864
  } : a;
869
865
  }
870
- function St(e = {}) {
866
+ function wt(e = {}) {
871
867
  const {
872
- navigator: t = be,
868
+ navigator: t = xe,
873
869
  read: n = !1,
874
- source: r,
875
- copiedDuring: l = 1500,
870
+ source: s,
871
+ copiedDuring: r = 1500,
876
872
  legacy: i = !1
877
- } = e, o = xe(() => t && "clipboard" in t), a = ue("clipboard-read"), u = ue("clipboard-write"), d = U(() => o.value || i), c = R(""), p = R(!1), h = _t(() => p.value = !1, l, { immediate: !1 });
878
- async function _() {
879
- let s = !(o.value && m(a.value));
880
- if (!s)
873
+ } = e, o = we(() => t && "clipboard" in t), a = de("clipboard-read"), c = de("clipboard-write"), d = V(() => o.value || i), l = F(""), p = F(!1), m = ht(() => p.value = !1, r, { immediate: !1 });
874
+ async function b() {
875
+ let u = !(o.value && v(a.value));
876
+ if (!u)
881
877
  try {
882
- c.value = await t.clipboard.readText();
878
+ l.value = await t.clipboard.readText();
883
879
  } catch {
884
- s = !0;
880
+ u = !0;
885
881
  }
886
- s && (c.value = f());
882
+ u && (l.value = g());
887
883
  }
888
- d.value && n && _e(["copy", "cut"], _, { passive: !0 });
889
- async function w(s = A(r)) {
890
- if (d.value && s != null) {
891
- let v = !(o.value && m(u.value));
892
- if (!v)
884
+ d.value && n && Ce(["copy", "cut"], b, { passive: !0 });
885
+ async function _(u = R(s)) {
886
+ if (d.value && u != null) {
887
+ let y = !(o.value && v(c.value));
888
+ if (!y)
893
889
  try {
894
- await t.clipboard.writeText(s);
890
+ await t.clipboard.writeText(u);
895
891
  } catch {
896
- v = !0;
892
+ y = !0;
897
893
  }
898
- v && x(s), c.value = s, p.value = !0, h.start();
894
+ y && f(u), l.value = u, p.value = !0, m.start();
899
895
  }
900
896
  }
901
- function x(s) {
902
- const v = document.createElement("textarea");
903
- v.value = s ?? "", v.style.position = "absolute", v.style.opacity = "0", document.body.appendChild(v), v.select(), document.execCommand("copy"), v.remove();
897
+ function f(u) {
898
+ const y = document.createElement("textarea");
899
+ y.value = u ?? "", y.style.position = "absolute", y.style.opacity = "0", document.body.appendChild(y), y.select(), document.execCommand("copy"), y.remove();
904
900
  }
905
- function f() {
906
- var s, v, g;
907
- return (g = (v = (s = document == null ? void 0 : document.getSelection) == null ? void 0 : s.call(document)) == null ? void 0 : v.toString()) != null ? g : "";
901
+ function g() {
902
+ var u, y, h;
903
+ return (h = (y = (u = document == null ? void 0 : document.getSelection) == null ? void 0 : u.call(document)) == null ? void 0 : y.toString()) != null ? h : "";
908
904
  }
909
- function m(s) {
910
- return s === "granted" || s === "prompt";
905
+ function v(u) {
906
+ return u === "granted" || u === "prompt";
911
907
  }
912
908
  return {
913
909
  isSupported: d,
914
- text: c,
910
+ text: l,
915
911
  copied: p,
916
- copy: w
912
+ copy: _
917
913
  };
918
914
  }
919
- const Et = St();
915
+ const kt = wt();
920
916
  let Y;
921
- const Mt = {
917
+ const St = {
922
918
  mounted(e, t, n) {
923
919
  var o, a;
924
- const r = J(n.ctx), l = ((a = (o = r == null ? void 0 : r.locale) == null ? void 0 : o.locale) == null ? void 0 : a.slice(0, 2)) || "en", i = {
920
+ const s = ee(n.ctx), r = ((a = (o = s == null ? void 0 : s.locale) == null ? void 0 : o.locale) == null ? void 0 : a.slice(0, 2)) || "en", i = {
925
921
  zh: "复制成功",
926
922
  en: "Copy successfully",
927
923
  fr: "Copie réussie"
928
924
  };
929
925
  e.copyValue = t.value, Y = () => {
930
- Et.copy(e.copyValue), He.success(i[l]);
926
+ kt.copy(e.copyValue), Ze.success(i[r]);
931
927
  }, e.addEventListener("click", Y);
932
928
  },
933
929
  updated(e, t) {
@@ -936,9 +932,9 @@ const Mt = {
936
932
  unmounted(e) {
937
933
  e.removeEventListener("click", Y);
938
934
  }
939
- }, Lt = {
935
+ }, Et = {
940
936
  beforeMount(e, t, n) {
941
- const r = t.value, l = {
937
+ const s = t.value, r = {
942
938
  letterNumber: /^\w*$/,
943
939
  // 字母和数字
944
940
  price: /^(\d*|(\d+\.\d{0,2}))$/,
@@ -950,7 +946,7 @@ const Mt = {
950
946
  verify: /^\d{0,6}$/,
951
947
  idCard: /(^\d{15}$)|(^\d{18}$)|(^\d{17}(\d|X|x)$)/
952
948
  //身份证号(15位、18位数字),最后一位是校验位,可能为数字或字符X
953
- }, i = r instanceof RegExp ? r : t.arg && l[t.arg] ? l[t.arg] : null;
949
+ }, i = s instanceof RegExp ? s : t.arg && r[t.arg] ? r[t.arg] : null;
954
950
  e._handleInput = (o) => {
955
951
  if (o.isTrusted && !(!o.isComposing && o.inputType === "insertCompositionText" && o.data)) {
956
952
  const a = i == null ? void 0 : i.test(o.target.value);
@@ -973,8 +969,8 @@ const Mt = {
973
969
  case "insertFromDrop":
974
970
  const d = o.dataTransfer || o.clipboardData || null;
975
971
  if (d) {
976
- const c = d.getData("text") || "";
977
- o.target.selectionStart = e._start + c.length, o.target.selectionEnd = e._start + c.length;
972
+ const l = d.getData("text") || "";
973
+ o.target.selectionStart = e._start + l.length, o.target.selectionEnd = e._start + l.length;
978
974
  }
979
975
  break;
980
976
  case "insertText":
@@ -983,10 +979,10 @@ const Mt = {
983
979
  o.target.selectionStart = e._start + 1, o.target.selectionEnd = e._start + 1;
984
980
  break;
985
981
  }
986
- const u = new InputEvent("input", {
982
+ const c = new InputEvent("input", {
987
983
  isComposing: !1
988
984
  });
989
- o.target.dispatchEvent(u);
985
+ o.target.dispatchEvent(c);
990
986
  }
991
987
  }, e._handleKeydown = (o) => {
992
988
  const a = i == null ? void 0 : i.test(o.target.value);
@@ -999,72 +995,72 @@ const Mt = {
999
995
  e._handleInput && e.removeEventListener("input", e._handleInput), e._handleKeydown && e.removeEventListener("keydown", e._handleKeydown), e._handleDrop && e.removeEventListener("drop", e._handleDrop);
1000
996
  }
1001
997
  };
1002
- function de(e, t, n) {
1003
- const r = t.value;
1004
- if (r) {
1005
- const l = r / 2;
1006
- e.style.marginLeft = `-${l}px`, e.style.marginRight = `-${l}px`;
998
+ function pe(e, t, n) {
999
+ const s = t.value;
1000
+ if (s) {
1001
+ const r = s / 2;
1002
+ e.style.marginLeft = `-${r}px`, e.style.marginRight = `-${r}px`;
1007
1003
  const i = n.children;
1008
1004
  i != null && i.length && i[0].children.forEach((o) => {
1009
1005
  if (o.component) {
1010
1006
  const a = o.el;
1011
- a != null && a.style && (a.style.paddingLeft = l + "px", a.style.paddingRight = l + "px");
1007
+ a != null && a.style && (a.style.paddingLeft = r + "px", a.style.paddingRight = r + "px");
1012
1008
  } else Array.isArray(o.children) && o.children.forEach((a) => {
1013
- const u = a.el;
1014
- u != null && u.style && (u.style.paddingLeft = l + "px", u.style.paddingRight = l + "px");
1009
+ const c = a.el;
1010
+ c != null && c.style && (c.style.paddingLeft = r + "px", c.style.paddingRight = r + "px");
1015
1011
  });
1016
1012
  });
1017
1013
  }
1018
1014
  }
1019
- const $t = {
1015
+ const Mt = {
1020
1016
  beforeMount(e) {
1021
1017
  e.classList.add("ant-row"), e.style.display = "flex", e.style.flexWrap = "wrap", e.style.flexDirection = "row", e.style.minWidth = 0;
1022
1018
  },
1023
1019
  mounted(e, t, n) {
1024
- de(e, t, n);
1020
+ pe(e, t, n);
1025
1021
  },
1026
- updated(e, t, n, r) {
1027
- de(e, t, n);
1022
+ updated(e, t, n, s) {
1023
+ pe(e, t, n);
1028
1024
  }
1029
- }, Tt = {
1025
+ }, $t = {
1030
1026
  beforeMount(e, t) {
1031
1027
  e.classList.add("ant-col", `ant-col-${t.value}`);
1032
1028
  const n = t.value / 24 * 100;
1033
1029
  e.style.position = "relative", e.style.flex = `0 0 ${n}%`, e.style.maxWidth = `${n}%`;
1034
1030
  }
1035
- }, Bt = {
1031
+ }, Tt = {
1036
1032
  mounted(e, t, n) {
1037
- const { value: r } = t, {
1038
- content: l = "",
1033
+ const { value: s } = t, {
1034
+ content: r = "",
1039
1035
  placement: i = "top",
1040
1036
  enabled: o = !0,
1041
1037
  padding: a = 8,
1042
1038
  // 默认左右间距8px,用来判断文本的测量宽度是否超出元素宽度
1043
- ...u
1044
- } = typeof r == "string" ? { content: r } : r;
1039
+ ...c
1040
+ } = typeof s == "string" ? { content: s } : s;
1045
1041
  if (e.tooltipDisabled = !1, !o)
1046
1042
  e.tooltipDisabled = !0;
1047
1043
  else if (t.modifiers.exceed) {
1048
- const _ = e.clientWidth, w = pe(l);
1049
- e.tooltipDisabled = _ ? w < _ - a * 2 : !0;
1044
+ const b = e.clientWidth, _ = fe(r);
1045
+ e.tooltipDisabled = b ? _ < b - a * 2 : !0;
1050
1046
  }
1051
- const d = C({
1047
+ const d = x({
1052
1048
  top: 0,
1053
1049
  left: 0,
1054
1050
  bottom: 0,
1055
1051
  right: 0
1056
- }), c = C({
1052
+ }), l = x({
1057
1053
  getBoundingClientRect: () => d.value
1058
- }), p = j(Ze, {
1054
+ }), p = D(Ye, {
1059
1055
  visible: !1,
1060
- content: l,
1056
+ content: r,
1061
1057
  placement: i,
1062
1058
  virtualTriggering: !0,
1063
- virtualRef: c.value,
1059
+ virtualRef: l.value,
1064
1060
  popperClass: "vtooltip",
1065
- ...u
1066
- }), h = document.createDocumentFragment();
1067
- I(p, h), e.tooltipVm = p, e.tooltipContainer = h, e.addEventListener("mouseenter", () => {
1061
+ ...c
1062
+ }), m = document.createDocumentFragment();
1063
+ U(p, m), e.tooltipVm = p, e.tooltipContainer = m, e.addEventListener("mouseenter", () => {
1068
1064
  d.value = e.getBoundingClientRect(), p.component && !e.tooltipDisabled && (Object.assign(p.component.props, { visible: !0 }), p.component.update());
1069
1065
  }), e.addEventListener("mouseleave", () => {
1070
1066
  p.component && (Object.assign(p.component.props, { visible: !1 }), p.component.update());
@@ -1073,8 +1069,8 @@ const $t = {
1073
1069
  updated(e, t) {
1074
1070
  if (e.tooltipVm) {
1075
1071
  const { value: n } = t, {
1076
- content: r = "",
1077
- placement: l = "top",
1072
+ content: s = "",
1073
+ placement: r = "top",
1078
1074
  enabled: i = !0,
1079
1075
  padding: o = 8,
1080
1076
  // 默认左右间距8px,用来判断文本的测量宽度是否超出元素宽度
@@ -1083,102 +1079,117 @@ const $t = {
1083
1079
  if (e.tooltipDisabled = !1, !i)
1084
1080
  e.tooltipDisabled = !0;
1085
1081
  else if (t.modifiers.exceed) {
1086
- const d = e.clientWidth, c = pe(r);
1087
- e.tooltipDisabled = d ? c < d - o * 2 : !0;
1082
+ const d = e.clientWidth, l = fe(s);
1083
+ e.tooltipDisabled = d ? l < d - o * 2 : !0;
1088
1084
  }
1089
- const u = e.tooltipVm;
1090
- u.component && (Object.assign(u.component.props, { content: r, placement: l, ...a }), u.component.update());
1085
+ const c = e.tooltipVm;
1086
+ c.component && (Object.assign(c.component.props, { content: s, placement: r, ...a }), c.component.update());
1091
1087
  }
1092
1088
  },
1093
1089
  unmounted(e) {
1094
- e.tooltipContainer && I(null, e.tooltipContainer);
1090
+ e.tooltipContainer && U(null, e.tooltipContainer);
1095
1091
  }
1096
1092
  };
1097
- function pe(e, t) {
1098
- const r = document.createElement("canvas").getContext("2d");
1099
- return r.font = "14px Arial", r.measureText(e).width;
1093
+ function fe(e, t) {
1094
+ const s = document.createElement("canvas").getContext("2d");
1095
+ return s.font = "14px Arial", s.measureText(e).width;
1100
1096
  }
1101
1097
  const Nt = {
1102
1098
  beforeMount(e, t) {
1103
1099
  const { value: n } = t;
1104
- n && (Ie(n) || setTimeout(() => {
1105
- var l;
1106
- (l = e.parentNode) == null || l.removeChild(e);
1100
+ n && (Ue(n) || setTimeout(() => {
1101
+ var r;
1102
+ (r = e.parentNode) == null || r.removeChild(e);
1107
1103
  }, 50));
1108
1104
  }
1109
- }, fe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1105
+ };
1106
+ function me(e, t = 4) {
1107
+ const n = new RegExp(`(.{${t}})`, "g");
1108
+ return e.replace(n, "$1 ").trim();
1109
+ }
1110
+ const Lt = {
1111
+ mounted(e, t) {
1112
+ const n = t.value || 4, s = e.innerText.replace(" ", "");
1113
+ e.innerText = me(s, n);
1114
+ },
1115
+ updated(e, t) {
1116
+ const n = t.value || 4, s = e.innerText.replace(" ", "");
1117
+ e.innerText = me(s, n);
1118
+ }
1119
+ }, ve = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1110
1120
  __proto__: null,
1111
- col: Tt,
1112
- copy: Mt,
1113
- inputlimit: Lt,
1121
+ col: $t,
1122
+ copy: St,
1123
+ inputlimit: Et,
1114
1124
  permission: Nt,
1115
- row: $t,
1116
- tooltip: Bt
1125
+ row: Mt,
1126
+ space: Lt,
1127
+ tooltip: Tt
1117
1128
  }, Symbol.toStringTag, { value: "Module" }));
1118
- function Ot(e) {
1119
- Object.keys(ce).forEach((t) => {
1120
- e.component(t, ce[t]);
1121
- }), Object.keys(fe).forEach((t) => {
1122
- e.directive(t, fe[t]);
1129
+ function Pt(e) {
1130
+ Object.keys(ue).forEach((t) => {
1131
+ e.component(t, ue[t]);
1132
+ }), Object.keys(ve).forEach((t) => {
1133
+ e.directive(t, ve[t]);
1123
1134
  });
1124
1135
  }
1125
- const Ut = { install: Ot };
1136
+ const zt = { install: Pt };
1126
1137
  export {
1127
- nt as AInputNumberEx,
1128
- ot as ARangePickerEx,
1129
- ct as ATableEx,
1130
- Kt as UserCenterKey,
1131
- gt as WlNumberKeyboard,
1132
- ut as WlSplitter,
1133
- Ht as buildTree,
1134
- Tt as col,
1135
- Mt as copy,
1136
- Ut as default,
1137
- Xt as exportFile,
1138
- Zt as forEachTree,
1139
- Yt as getButtonPermissions,
1140
- Gt as getLocale,
1141
- Qt as getMenuInfo,
1142
- Jt as getToken,
1143
- en as getUserCenterParams,
1144
- tn as getUserCenterParamsByUrl,
1145
- nn as getUserInfo,
1146
- Ie as hasPermission,
1147
- Lt as inputlimit,
1148
- on as is,
1149
- an as isArray,
1150
- sn as isAsyncFunction,
1151
- rn as isBoolean,
1152
- ln as isClient,
1153
- cn as isDate,
1154
- un as isDef,
1155
- dn as isElement,
1156
- pn as isFunction,
1157
- fn as isImageDom,
1158
- mn as isNull,
1159
- O as isNullOrUndef,
1160
- vn as isNumber,
1161
- gn as isObject,
1162
- hn as isPromise,
1163
- yn as isServer,
1164
- bn as isString,
1165
- _n as isUndef,
1166
- xn as isWindow,
1167
- wn as logoutToUserCenter,
1138
+ at as AInputNumberEx,
1139
+ st as ARangePickerEx,
1140
+ it as ATableEx,
1141
+ Vt as UserCenterKey,
1142
+ mt as WlNumberKeyboard,
1143
+ lt as WlSplitter,
1144
+ Kt as buildTree,
1145
+ $t as col,
1146
+ St as copy,
1147
+ zt as default,
1148
+ qt as exportFile,
1149
+ Xt as forEachTree,
1150
+ Ht as getButtonPermissions,
1151
+ Zt as getLocale,
1152
+ Gt as getMenuInfo,
1153
+ Yt as getToken,
1154
+ Qt as getUserCenterParams,
1155
+ Jt as getUserCenterParamsByUrl,
1156
+ en as getUserInfo,
1157
+ Ue as hasPermission,
1158
+ Et as inputlimit,
1159
+ tn as is,
1160
+ nn as isArray,
1161
+ on as isAsyncFunction,
1162
+ an as isBoolean,
1163
+ sn as isClient,
1164
+ rn as isDate,
1165
+ ln as isDef,
1166
+ cn as isElement,
1167
+ un as isFunction,
1168
+ dn as isImageDom,
1169
+ pn as isNull,
1170
+ B as isNullOrUndef,
1171
+ fn as isNumber,
1172
+ mn as isObject,
1173
+ vn as isPromise,
1174
+ gn as isServer,
1175
+ yn as isString,
1176
+ hn as isUndef,
1177
+ bn as isWindow,
1178
+ _n as logoutToUserCenter,
1168
1179
  Nt as permission,
1169
- Cn as removeAll,
1170
- kn as removeLocale,
1171
- Sn as removeToken,
1172
- $t as row,
1173
- En as setLocale,
1174
- Mn as setMenuInfo,
1175
- Ln as setToken,
1176
- $n as setUserCenterParams,
1177
- Tn as setUserInfo,
1178
- Bn as toUserCenterConsole,
1179
- Bt as tooltip,
1180
- J as useConfigProvider,
1180
+ xn as removeAll,
1181
+ Cn as removeLocale,
1182
+ wn as removeToken,
1183
+ Mt as row,
1184
+ kn as setLocale,
1185
+ Sn as setMenuInfo,
1186
+ En as setToken,
1187
+ Mn as setUserCenterParams,
1188
+ $n as setUserInfo,
1189
+ Lt as space,
1190
+ Tn as toUserCenterConsole,
1191
+ Tt as tooltip,
1192
+ ee as useConfigProvider,
1181
1193
  Ft as useFindParent,
1182
- It as useModal,
1183
- Wt as useRequire
1194
+ Wt as useModal
1184
1195
  };