@witlink/components 1.0.8 → 1.0.9

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