feikuai-element-plus-virtual-component 1.0.23 → 1.0.24

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- .cascader-virtual-list[data-v-00612ebc]{height:100%;min-height:204px;max-height:204px}.cascader-virtual-list[data-v-00612ebc] .vue-recycle-scroller__item-view{width:100%}.empty-panel{padding:10px 0;margin:0;text-align:center;color:#909399}
1
+ .cascader-virtual-list[data-v-aaa21924]{height:100%;min-height:204px;max-height:204px}.cascader-virtual-list[data-v-aaa21924] .vue-recycle-scroller__item-view{width:100%}.empty-panel{padding:10px 0;margin:0;text-align:center;color:#909399}
package/dist/index2.js CHANGED
@@ -1,29 +1,29 @@
1
- import './cascader-panel/index.css';var an = Object.defineProperty, on = Object.defineProperties;
2
- var sn = Object.getOwnPropertyDescriptors;
1
+ import './cascader-panel/index.css';var tn = Object.defineProperty, nn = Object.defineProperties;
2
+ var rn = Object.getOwnPropertyDescriptors;
3
3
  var qe = Object.getOwnPropertySymbols;
4
- var ln = Object.prototype.hasOwnProperty, cn = Object.prototype.propertyIsEnumerable;
5
- var Se = (e, t, n) => t in e ? an(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, ge = (e, t) => {
4
+ var an = Object.prototype.hasOwnProperty, on = Object.prototype.propertyIsEnumerable;
5
+ var Se = (e, t, n) => t in e ? tn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, ge = (e, t) => {
6
6
  for (var n in t || (t = {}))
7
- ln.call(t, n) && Se(e, n, t[n]);
7
+ an.call(t, n) && Se(e, n, t[n]);
8
8
  if (qe)
9
9
  for (var n of qe(t))
10
- cn.call(t, n) && Se(e, n, t[n]);
10
+ on.call(t, n) && Se(e, n, t[n]);
11
11
  return e;
12
- }, We = (e, t) => on(e, sn(t));
12
+ }, We = (e, t) => nn(e, rn(t));
13
13
  var S = (e, t, n) => Se(e, typeof t != "symbol" ? t + "" : t, n);
14
- import { warn as un, defineComponent as _e, h as dn, inject as Pt, computed as N, resolveComponent as M, openBlock as L, createElementBlock as K, normalizeClass as B, createBlock as W, withModifiers as Ze, withCtx as ne, createElementVNode as Lt, createVNode as Z, createCommentVNode as ye, Fragment as Dt, getCurrentInstance as fn, ref as q, normalizeStyle as It, createTextVNode as pn, toDisplayString as Je, provide as hn, reactive as Xe, watch as Ee, onBeforeUpdate as gn, onMounted as bn, renderList as vn } from "vue";
15
- import { ArrowRight as yn, Loading as Mt, Check as mn } from "@element-plus/icons-vue";
16
- import { useNamespace as we, ElIcon as xt, ElRadio as $n, ElCheckbox as Tn, ElScrollbar as _n, useLocale as wn, UPDATE_MODEL_EVENT as Ye, CHANGE_EVENT as Qe, EVENT_CODE as te } from "element-plus";
14
+ import { warn as sn, defineComponent as _e, h as ln, inject as Nt, computed as N, resolveComponent as x, openBlock as I, createElementBlock as Z, normalizeClass as B, createBlock as q, withModifiers as Ze, withCtx as ne, createElementVNode as cn, createVNode as W, createCommentVNode as ye, Fragment as Pt, getCurrentInstance as un, ref as K, normalizeStyle as dn, createTextVNode as fn, toDisplayString as pn, provide as hn, reactive as Je, watch as Ee, onBeforeUpdate as gn, onMounted as bn, renderList as vn } from "vue";
15
+ import { ArrowRight as yn, Loading as Lt, Check as mn } from "@element-plus/icons-vue";
16
+ import { useNamespace as we, ElIcon as It, ElRadio as $n, ElCheckbox as Tn, ElScrollbar as _n, useLocale as wn, UPDATE_MODEL_EVENT as Xe, CHANGE_EVENT as Ye, EVENT_CODE as te } from "element-plus";
17
17
  import { RecycleScroller as jn } from "vue-virtual-scroller";
18
18
  process.env.NODE_ENV !== "production" && Object.freeze({});
19
19
  process.env.NODE_ENV !== "production" && Object.freeze([]);
20
20
  const An = () => {
21
- }, On = Object.prototype.hasOwnProperty, et = (e, t) => On.call(e, t), Cn = Array.isArray, ie = (e) => typeof e == "function", ci = (e) => typeof e == "string", je = (e) => e !== null && typeof e == "object", ui = (e) => (je(e) || ie(e)) && ie(e.then) && ie(e.catch), Sn = (e) => {
21
+ }, On = Object.prototype.hasOwnProperty, Qe = (e, t) => On.call(e, t), Cn = Array.isArray, ie = (e) => typeof e == "function", ci = (e) => typeof e == "string", je = (e) => e !== null && typeof e == "object", ui = (e) => (je(e) || ie(e)) && ie(e.then) && ie(e.catch), Sn = (e) => {
22
22
  const t = /* @__PURE__ */ Object.create(null);
23
23
  return ((n) => t[n] || (t[n] = e(n)));
24
24
  }, En = Sn((e) => e.charAt(0).toUpperCase() + e.slice(1));
25
- var kt = typeof global == "object" && global && global.Object === Object && global, Nn = typeof self == "object" && self && self.Object === Object && self, V = kt || Nn || Function("return this")(), R = V.Symbol, Ft = Object.prototype, Pn = Ft.hasOwnProperty, Ln = Ft.toString, se = R ? R.toStringTag : void 0;
26
- function Dn(e) {
25
+ var Dt = typeof global == "object" && global && global.Object === Object && global, Nn = typeof self == "object" && self && self.Object === Object && self, V = Dt || Nn || Function("return this")(), R = V.Symbol, xt = Object.prototype, Pn = xt.hasOwnProperty, Ln = xt.toString, se = R ? R.toStringTag : void 0;
26
+ function In(e) {
27
27
  var t = Pn.call(e, se), n = e[se];
28
28
  try {
29
29
  e[se] = void 0;
@@ -33,13 +33,13 @@ function Dn(e) {
33
33
  var a = Ln.call(e);
34
34
  return r && (t ? e[se] = n : delete e[se]), a;
35
35
  }
36
- var In = Object.prototype, Mn = In.toString;
37
- function xn(e) {
38
- return Mn.call(e);
36
+ var Dn = Object.prototype, xn = Dn.toString;
37
+ function Mn(e) {
38
+ return xn.call(e);
39
39
  }
40
- var kn = "[object Null]", Fn = "[object Undefined]", tt = R ? R.toStringTag : void 0;
40
+ var kn = "[object Null]", Fn = "[object Undefined]", et = R ? R.toStringTag : void 0;
41
41
  function fe(e) {
42
- return e == null ? e === void 0 ? Fn : kn : tt && tt in Object(e) ? Dn(e) : xn(e);
42
+ return e == null ? e === void 0 ? Fn : kn : et && et in Object(e) ? In(e) : Mn(e);
43
43
  }
44
44
  function J(e) {
45
45
  return e != null && typeof e == "object";
@@ -50,18 +50,18 @@ function Ae(e) {
50
50
  return e != null && (t == "object" || t == "function");
51
51
  }
52
52
  var Bn = "[object AsyncFunction]", Rn = "[object Function]", Vn = "[object GeneratorFunction]", Hn = "[object Proxy]";
53
- function Bt(e) {
53
+ function Mt(e) {
54
54
  if (!Ae(e))
55
55
  return !1;
56
56
  var t = fe(e);
57
57
  return t == Rn || t == Vn || t == Bn || t == Hn;
58
58
  }
59
- var Ne = V["__core-js_shared__"], nt = (function() {
59
+ var Ne = V["__core-js_shared__"], tt = (function() {
60
60
  var e = /[^.]+$/.exec(Ne && Ne.keys && Ne.keys.IE_PROTO || "");
61
61
  return e ? "Symbol(src)_1." + e : "";
62
62
  })();
63
63
  function Un(e) {
64
- return !!nt && nt in e;
64
+ return !!tt && tt in e;
65
65
  }
66
66
  var zn = Function.prototype, Gn = zn.toString;
67
67
  function Y(e) {
@@ -83,7 +83,7 @@ var Kn = /[\\^$.*+?()[\]{}|]/g, qn = /^\[object .+?Constructor\]$/, Wn = Functio
83
83
  function Qn(e) {
84
84
  if (!Ae(e) || Un(e))
85
85
  return !1;
86
- var t = Bt(e) ? Yn : qn;
86
+ var t = Mt(e) ? Yn : qn;
87
87
  return t.test(Y(e));
88
88
  }
89
89
  function er(e, t) {
@@ -93,19 +93,19 @@ function Q(e, t) {
93
93
  var n = er(e, t);
94
94
  return Qn(n) ? n : void 0;
95
95
  }
96
- var Me = Q(V, "WeakMap"), rt = Object.create, tr = /* @__PURE__ */ (function() {
96
+ var xe = Q(V, "WeakMap"), nt = Object.create, tr = /* @__PURE__ */ (function() {
97
97
  function e() {
98
98
  }
99
99
  return function(t) {
100
100
  if (!Ae(t))
101
101
  return {};
102
- if (rt)
103
- return rt(t);
102
+ if (nt)
103
+ return nt(t);
104
104
  e.prototype = t;
105
105
  var n = new e();
106
106
  return e.prototype = void 0, n;
107
107
  };
108
- })(), at = (function() {
108
+ })(), rt = (function() {
109
109
  try {
110
110
  var e = Q(Object, "defineProperty");
111
111
  return e({}, "", {}), e;
@@ -123,7 +123,7 @@ function or(e, t) {
123
123
  return t = t == null ? rr : t, !!t && (n == "number" || n != "symbol" && ar.test(e)) && e > -1 && e % 1 == 0 && e < t;
124
124
  }
125
125
  function sr(e, t, n) {
126
- t == "__proto__" && at ? at(e, t, {
126
+ t == "__proto__" && rt ? rt(e, t, {
127
127
  configurable: !0,
128
128
  enumerable: !0,
129
129
  value: n,
@@ -139,14 +139,14 @@ function cr(e, t, n) {
139
139
  (!(lr.call(e, t) && He(r, n)) || n === void 0 && !(t in e)) && sr(e, t, n);
140
140
  }
141
141
  var ur = 9007199254740991;
142
- function Rt(e) {
142
+ function kt(e) {
143
143
  return typeof e == "number" && e > -1 && e % 1 == 0 && e <= ur;
144
144
  }
145
145
  function dr(e) {
146
- return e != null && Rt(e.length) && !Bt(e);
146
+ return e != null && kt(e.length) && !Mt(e);
147
147
  }
148
148
  var fr = Object.prototype;
149
- function Vt(e) {
149
+ function Ft(e) {
150
150
  var t = e && e.constructor, n = typeof t == "function" && t.prototype || fr;
151
151
  return e === n;
152
152
  }
@@ -156,37 +156,37 @@ function pr(e, t) {
156
156
  return r;
157
157
  }
158
158
  var hr = "[object Arguments]";
159
- function ot(e) {
159
+ function at(e) {
160
160
  return J(e) && fe(e) == hr;
161
161
  }
162
- var Ht = Object.prototype, gr = Ht.hasOwnProperty, br = Ht.propertyIsEnumerable, Ut = ot(/* @__PURE__ */ (function() {
162
+ var Bt = Object.prototype, gr = Bt.hasOwnProperty, br = Bt.propertyIsEnumerable, Rt = at(/* @__PURE__ */ (function() {
163
163
  return arguments;
164
- })()) ? ot : function(e) {
164
+ })()) ? at : function(e) {
165
165
  return J(e) && gr.call(e, "callee") && !br.call(e, "callee");
166
166
  };
167
167
  function vr() {
168
168
  return !1;
169
169
  }
170
- var zt = typeof exports == "object" && exports && !exports.nodeType && exports, st = zt && typeof module == "object" && module && !module.nodeType && module, yr = st && st.exports === zt, it = yr ? V.Buffer : void 0, mr = it ? it.isBuffer : void 0, me = mr || vr, $r = "[object Arguments]", Tr = "[object Array]", _r = "[object Boolean]", wr = "[object Date]", jr = "[object Error]", Ar = "[object Function]", Or = "[object Map]", Cr = "[object Number]", Sr = "[object Object]", Er = "[object RegExp]", Nr = "[object Set]", Pr = "[object String]", Lr = "[object WeakMap]", Dr = "[object ArrayBuffer]", Ir = "[object DataView]", Mr = "[object Float32Array]", xr = "[object Float64Array]", kr = "[object Int8Array]", Fr = "[object Int16Array]", Br = "[object Int32Array]", Rr = "[object Uint8Array]", Vr = "[object Uint8ClampedArray]", Hr = "[object Uint16Array]", Ur = "[object Uint32Array]", $ = {};
171
- $[Mr] = $[xr] = $[kr] = $[Fr] = $[Br] = $[Rr] = $[Vr] = $[Hr] = $[Ur] = !0;
172
- $[$r] = $[Tr] = $[Dr] = $[_r] = $[Ir] = $[wr] = $[jr] = $[Ar] = $[Or] = $[Cr] = $[Sr] = $[Er] = $[Nr] = $[Pr] = $[Lr] = !1;
170
+ var Vt = typeof exports == "object" && exports && !exports.nodeType && exports, ot = Vt && typeof module == "object" && module && !module.nodeType && module, yr = ot && ot.exports === Vt, st = yr ? V.Buffer : void 0, mr = st ? st.isBuffer : void 0, me = mr || vr, $r = "[object Arguments]", Tr = "[object Array]", _r = "[object Boolean]", wr = "[object Date]", jr = "[object Error]", Ar = "[object Function]", Or = "[object Map]", Cr = "[object Number]", Sr = "[object Object]", Er = "[object RegExp]", Nr = "[object Set]", Pr = "[object String]", Lr = "[object WeakMap]", Ir = "[object ArrayBuffer]", Dr = "[object DataView]", xr = "[object Float32Array]", Mr = "[object Float64Array]", kr = "[object Int8Array]", Fr = "[object Int16Array]", Br = "[object Int32Array]", Rr = "[object Uint8Array]", Vr = "[object Uint8ClampedArray]", Hr = "[object Uint16Array]", Ur = "[object Uint32Array]", $ = {};
171
+ $[xr] = $[Mr] = $[kr] = $[Fr] = $[Br] = $[Rr] = $[Vr] = $[Hr] = $[Ur] = !0;
172
+ $[$r] = $[Tr] = $[Ir] = $[_r] = $[Dr] = $[wr] = $[jr] = $[Ar] = $[Or] = $[Cr] = $[Sr] = $[Er] = $[Nr] = $[Pr] = $[Lr] = !1;
173
173
  function zr(e) {
174
- return J(e) && Rt(e.length) && !!$[fe(e)];
174
+ return J(e) && kt(e.length) && !!$[fe(e)];
175
175
  }
176
176
  function Ue(e) {
177
177
  return function(t) {
178
178
  return e(t);
179
179
  };
180
180
  }
181
- var Gt = typeof exports == "object" && exports && !exports.nodeType && exports, le = Gt && typeof module == "object" && module && !module.nodeType && module, Gr = le && le.exports === Gt, Pe = Gr && kt.process, ae = (function() {
181
+ var Ht = typeof exports == "object" && exports && !exports.nodeType && exports, le = Ht && typeof module == "object" && module && !module.nodeType && module, Gr = le && le.exports === Ht, Pe = Gr && Dt.process, ae = (function() {
182
182
  try {
183
183
  var e = le && le.require && le.require("util").types;
184
184
  return e || Pe && Pe.binding && Pe.binding("util");
185
185
  } catch (t) {
186
186
  }
187
- })(), lt = ae && ae.isTypedArray, Kt = lt ? Ue(lt) : zr, Kr = Object.prototype, qr = Kr.hasOwnProperty;
187
+ })(), it = ae && ae.isTypedArray, Ut = it ? Ue(it) : zr, Kr = Object.prototype, qr = Kr.hasOwnProperty;
188
188
  function Wr(e, t) {
189
- var n = re(e), r = !n && Ut(e), a = !n && !r && me(e), o = !n && !r && !a && Kt(e), s = n || r || a || o, l = s ? pr(e.length, String) : [], c = l.length;
189
+ var n = re(e), r = !n && Rt(e), a = !n && !r && me(e), o = !n && !r && !a && Ut(e), s = n || r || a || o, l = s ? pr(e.length, String) : [], c = l.length;
190
190
  for (var i in e)
191
191
  qr.call(e, i) && !(s && // Safari 9 has enumerable `arguments.length` in strict mode.
192
192
  (i == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
@@ -195,14 +195,14 @@ function Wr(e, t) {
195
195
  or(i, c))) && l.push(i);
196
196
  return l;
197
197
  }
198
- function qt(e, t) {
198
+ function zt(e, t) {
199
199
  return function(n) {
200
200
  return e(t(n));
201
201
  };
202
202
  }
203
- var Zr = qt(Object.keys, Object), Jr = Object.prototype, Xr = Jr.hasOwnProperty;
203
+ var Zr = zt(Object.keys, Object), Jr = Object.prototype, Xr = Jr.hasOwnProperty;
204
204
  function Yr(e) {
205
- if (!Vt(e))
205
+ if (!Ft(e))
206
206
  return Zr(e);
207
207
  var t = [];
208
208
  for (var n in Object(e))
@@ -338,19 +338,19 @@ function ja(e, t) {
338
338
  e[a + n] = t[n];
339
339
  return e;
340
340
  }
341
- var ct = R ? R.isConcatSpreadable : void 0;
341
+ var lt = R ? R.isConcatSpreadable : void 0;
342
342
  function Aa(e) {
343
- return re(e) || Ut(e) || !!(ct && e && e[ct]);
343
+ return re(e) || Rt(e) || !!(lt && e && e[lt]);
344
344
  }
345
- function Wt(e, t, n, r, a) {
345
+ function Gt(e, t, n, r, a) {
346
346
  var o = -1, s = e.length;
347
347
  for (n || (n = Aa), a || (a = []); ++o < s; ) {
348
348
  var l = e[o];
349
- n(l) ? Wt(l, t - 1, n, r, a) : a[a.length] = l;
349
+ n(l) ? Gt(l, t - 1, n, r, a) : a[a.length] = l;
350
350
  }
351
351
  return a;
352
352
  }
353
- var Oa = qt(Object.getPrototypeOf, Object);
353
+ var Oa = zt(Object.getPrototypeOf, Object);
354
354
  function Ca() {
355
355
  this.__data__ = new G(), this.size = 0;
356
356
  }
@@ -384,48 +384,48 @@ z.prototype.delete = Sa;
384
384
  z.prototype.get = Ea;
385
385
  z.prototype.has = Na;
386
386
  z.prototype.set = La;
387
- var Zt = typeof exports == "object" && exports && !exports.nodeType && exports, ut = Zt && typeof module == "object" && module && !module.nodeType && module, Da = ut && ut.exports === Zt, dt = Da ? V.Buffer : void 0;
388
- dt && dt.allocUnsafe;
389
- function Ia(e, t) {
387
+ var Kt = typeof exports == "object" && exports && !exports.nodeType && exports, ct = Kt && typeof module == "object" && module && !module.nodeType && module, Ia = ct && ct.exports === Kt, ut = Ia ? V.Buffer : void 0;
388
+ ut && ut.allocUnsafe;
389
+ function Da(e, t) {
390
390
  return e.slice();
391
391
  }
392
- function Ma(e, t) {
392
+ function xa(e, t) {
393
393
  for (var n = -1, r = e == null ? 0 : e.length, a = 0, o = []; ++n < r; ) {
394
394
  var s = e[n];
395
395
  t(s, n, e) && (o[a++] = s);
396
396
  }
397
397
  return o;
398
398
  }
399
- function xa() {
399
+ function Ma() {
400
400
  return [];
401
401
  }
402
- var ka = Object.prototype, Fa = ka.propertyIsEnumerable, ft = Object.getOwnPropertySymbols, Ba = ft ? function(e) {
403
- return e == null ? [] : (e = Object(e), Ma(ft(e), function(t) {
402
+ var ka = Object.prototype, Fa = ka.propertyIsEnumerable, dt = Object.getOwnPropertySymbols, Ba = dt ? function(e) {
403
+ return e == null ? [] : (e = Object(e), xa(dt(e), function(t) {
404
404
  return Fa.call(e, t);
405
405
  }));
406
- } : xa;
406
+ } : Ma;
407
407
  function Ra(e, t, n) {
408
408
  var r = t(e);
409
409
  return re(e) ? r : ja(r, n(e));
410
410
  }
411
- function xe(e) {
411
+ function Me(e) {
412
412
  return Ra(e, Qr, Ba);
413
413
  }
414
- var ke = Q(V, "DataView"), Fe = Q(V, "Promise"), Be = Q(V, "Set"), pt = "[object Map]", Va = "[object Object]", ht = "[object Promise]", gt = "[object Set]", bt = "[object WeakMap]", vt = "[object DataView]", Ha = Y(ke), Ua = Y(de), za = Y(Fe), Ga = Y(Be), Ka = Y(Me), F = fe;
415
- (ke && F(new ke(new ArrayBuffer(1))) != vt || de && F(new de()) != pt || Fe && F(Fe.resolve()) != ht || Be && F(new Be()) != gt || Me && F(new Me()) != bt) && (F = function(e) {
414
+ var ke = Q(V, "DataView"), Fe = Q(V, "Promise"), Be = Q(V, "Set"), ft = "[object Map]", Va = "[object Object]", pt = "[object Promise]", ht = "[object Set]", gt = "[object WeakMap]", bt = "[object DataView]", Ha = Y(ke), Ua = Y(de), za = Y(Fe), Ga = Y(Be), Ka = Y(xe), F = fe;
415
+ (ke && F(new ke(new ArrayBuffer(1))) != bt || de && F(new de()) != ft || Fe && F(Fe.resolve()) != pt || Be && F(new Be()) != ht || xe && F(new xe()) != gt) && (F = function(e) {
416
416
  var t = fe(e), n = t == Va ? e.constructor : void 0, r = n ? Y(n) : "";
417
417
  if (r)
418
418
  switch (r) {
419
419
  case Ha:
420
- return vt;
420
+ return bt;
421
421
  case Ua:
422
- return pt;
422
+ return ft;
423
423
  case za:
424
- return ht;
424
+ return pt;
425
425
  case Ga:
426
- return gt;
426
+ return ht;
427
427
  case Ka:
428
- return bt;
428
+ return gt;
429
429
  }
430
430
  return t;
431
431
  });
@@ -448,9 +448,9 @@ function Ya(e) {
448
448
  var t = new e.constructor(e.source, Xa.exec(e));
449
449
  return t.lastIndex = e.lastIndex, t;
450
450
  }
451
- var yt = R ? R.prototype : void 0, mt = yt ? yt.valueOf : void 0;
451
+ var vt = R ? R.prototype : void 0, yt = vt ? vt.valueOf : void 0;
452
452
  function Qa(e) {
453
- return mt ? Object(mt.call(e)) : {};
453
+ return yt ? Object(yt.call(e)) : {};
454
454
  }
455
455
  function eo(e, t) {
456
456
  var n = ze(e.buffer);
@@ -491,19 +491,19 @@ function To(e, t, n) {
491
491
  }
492
492
  }
493
493
  function _o(e) {
494
- return typeof e.constructor == "function" && !Vt(e) ? tr(Oa(e)) : {};
494
+ return typeof e.constructor == "function" && !Ft(e) ? tr(Oa(e)) : {};
495
495
  }
496
496
  var wo = "[object Map]";
497
497
  function jo(e) {
498
498
  return J(e) && F(e) == wo;
499
499
  }
500
- var $t = ae && ae.isMap, Ao = $t ? Ue($t) : jo, Oo = "[object Set]";
500
+ var mt = ae && ae.isMap, Ao = mt ? Ue(mt) : jo, Oo = "[object Set]";
501
501
  function Co(e) {
502
502
  return J(e) && F(e) == Oo;
503
503
  }
504
- var Tt = ae && ae.isSet, So = Tt ? Ue(Tt) : Co, Jt = "[object Arguments]", Eo = "[object Array]", No = "[object Boolean]", Po = "[object Date]", Lo = "[object Error]", Xt = "[object Function]", Do = "[object GeneratorFunction]", Io = "[object Map]", Mo = "[object Number]", Yt = "[object Object]", xo = "[object RegExp]", ko = "[object Set]", Fo = "[object String]", Bo = "[object Symbol]", Ro = "[object WeakMap]", Vo = "[object ArrayBuffer]", Ho = "[object DataView]", Uo = "[object Float32Array]", zo = "[object Float64Array]", Go = "[object Int8Array]", Ko = "[object Int16Array]", qo = "[object Int32Array]", Wo = "[object Uint8Array]", Zo = "[object Uint8ClampedArray]", Jo = "[object Uint16Array]", Xo = "[object Uint32Array]", m = {};
505
- m[Jt] = m[Eo] = m[Vo] = m[Ho] = m[No] = m[Po] = m[Uo] = m[zo] = m[Go] = m[Ko] = m[qo] = m[Io] = m[Mo] = m[Yt] = m[xo] = m[ko] = m[Fo] = m[Bo] = m[Wo] = m[Zo] = m[Jo] = m[Xo] = !0;
506
- m[Lo] = m[Xt] = m[Ro] = !1;
504
+ var $t = ae && ae.isSet, So = $t ? Ue($t) : Co, qt = "[object Arguments]", Eo = "[object Array]", No = "[object Boolean]", Po = "[object Date]", Lo = "[object Error]", Wt = "[object Function]", Io = "[object GeneratorFunction]", Do = "[object Map]", xo = "[object Number]", Zt = "[object Object]", Mo = "[object RegExp]", ko = "[object Set]", Fo = "[object String]", Bo = "[object Symbol]", Ro = "[object WeakMap]", Vo = "[object ArrayBuffer]", Ho = "[object DataView]", Uo = "[object Float32Array]", zo = "[object Float64Array]", Go = "[object Int8Array]", Ko = "[object Int16Array]", qo = "[object Int32Array]", Wo = "[object Uint8Array]", Zo = "[object Uint8ClampedArray]", Jo = "[object Uint16Array]", Xo = "[object Uint32Array]", m = {};
505
+ m[qt] = m[Eo] = m[Vo] = m[Ho] = m[No] = m[Po] = m[Uo] = m[zo] = m[Go] = m[Ko] = m[qo] = m[Do] = m[xo] = m[Zt] = m[Mo] = m[ko] = m[Fo] = m[Bo] = m[Wo] = m[Zo] = m[Jo] = m[Xo] = !0;
506
+ m[Lo] = m[Wt] = m[Ro] = !1;
507
507
  function ve(e, t, n, r, a, o) {
508
508
  var s;
509
509
  if (s !== void 0)
@@ -514,10 +514,10 @@ function ve(e, t, n, r, a, o) {
514
514
  if (l)
515
515
  s = Za(e);
516
516
  else {
517
- var c = F(e), i = c == Xt || c == Do;
517
+ var c = F(e), i = c == Wt || c == Io;
518
518
  if (me(e))
519
- return Ia(e);
520
- if (c == Yt || c == Jt || i && !a)
519
+ return Da(e);
520
+ if (c == Zt || c == qt || i && !a)
521
521
  s = i ? {} : _o(e);
522
522
  else {
523
523
  if (!m[c])
@@ -534,7 +534,7 @@ function ve(e, t, n, r, a, o) {
534
534
  }) : Ao(e) && e.forEach(function(h, g) {
535
535
  s.set(g, ve(h, t, n, g, e, o));
536
536
  });
537
- var f = xe, p = l ? void 0 : f(e);
537
+ var f = Me, p = l ? void 0 : f(e);
538
538
  return nr(p || e, function(h, g) {
539
539
  p && (g = h, h = e[g]), cr(s, g, ve(h, t, n, g, e, o));
540
540
  }), s;
@@ -567,7 +567,7 @@ function os(e, t) {
567
567
  return e.has(t);
568
568
  }
569
569
  var ss = 1, is = 2;
570
- function Qt(e, t, n, r, a, o) {
570
+ function Jt(e, t, n, r, a, o) {
571
571
  var s = n & ss, l = e.length, c = t.length;
572
572
  if (l != c && !(s && c > l))
573
573
  return !1;
@@ -612,7 +612,7 @@ function cs(e) {
612
612
  n[++t] = r;
613
613
  }), n;
614
614
  }
615
- var us = 1, ds = 2, fs = "[object Boolean]", ps = "[object Date]", hs = "[object Error]", gs = "[object Map]", bs = "[object Number]", vs = "[object RegExp]", ys = "[object Set]", ms = "[object String]", $s = "[object Symbol]", Ts = "[object ArrayBuffer]", _s = "[object DataView]", _t = R ? R.prototype : void 0, Le = _t ? _t.valueOf : void 0;
615
+ var us = 1, ds = 2, fs = "[object Boolean]", ps = "[object Date]", hs = "[object Error]", gs = "[object Map]", bs = "[object Number]", vs = "[object RegExp]", ys = "[object Set]", ms = "[object String]", $s = "[object Symbol]", Ts = "[object ArrayBuffer]", _s = "[object DataView]", Tt = R ? R.prototype : void 0, Le = Tt ? Tt.valueOf : void 0;
616
616
  function ws(e, t, n, r, a, o, s) {
617
617
  switch (n) {
618
618
  case _s:
@@ -640,7 +640,7 @@ function ws(e, t, n, r, a, o, s) {
640
640
  if (i)
641
641
  return i == t;
642
642
  r |= ds, s.set(e, t);
643
- var d = Qt(l(e), l(t), r, a, o, s);
643
+ var d = Jt(l(e), l(t), r, a, o, s);
644
644
  return s.delete(e), d;
645
645
  case $s:
646
646
  if (Le)
@@ -650,7 +650,7 @@ function ws(e, t, n, r, a, o, s) {
650
650
  }
651
651
  var js = 1, As = Object.prototype, Os = As.hasOwnProperty;
652
652
  function Cs(e, t, n, r, a, o) {
653
- var s = n & js, l = xe(e), c = l.length, i = xe(t), d = i.length;
653
+ var s = n & js, l = Me(e), c = l.length, i = Me(t), d = i.length;
654
654
  if (c != d && !s)
655
655
  return !1;
656
656
  for (var f = c; f--; ) {
@@ -667,23 +667,23 @@ function Cs(e, t, n, r, a, o) {
667
667
  p = l[f];
668
668
  var j = e[p], w = t[p];
669
669
  if (r)
670
- var x = s ? r(w, j, p, t, e, o) : r(j, w, p, e, t, o);
671
- if (!(x === void 0 ? j === w || a(j, w, n, r, o) : x)) {
670
+ var M = s ? r(w, j, p, t, e, o) : r(j, w, p, e, t, o);
671
+ if (!(M === void 0 ? j === w || a(j, w, n, r, o) : M)) {
672
672
  O = !1;
673
673
  break;
674
674
  }
675
675
  C || (C = p == "constructor");
676
676
  }
677
677
  if (O && !C) {
678
- var D = e.constructor, E = t.constructor;
679
- D != E && "constructor" in e && "constructor" in t && !(typeof D == "function" && D instanceof D && typeof E == "function" && E instanceof E) && (O = !1);
678
+ var L = e.constructor, E = t.constructor;
679
+ L != E && "constructor" in e && "constructor" in t && !(typeof L == "function" && L instanceof L && typeof E == "function" && E instanceof E) && (O = !1);
680
680
  }
681
681
  return o.delete(e), o.delete(t), O;
682
682
  }
683
- var Ss = 1, wt = "[object Arguments]", jt = "[object Array]", be = "[object Object]", Es = Object.prototype, At = Es.hasOwnProperty;
683
+ var Ss = 1, _t = "[object Arguments]", wt = "[object Array]", be = "[object Object]", Es = Object.prototype, jt = Es.hasOwnProperty;
684
684
  function Ns(e, t, n, r, a, o) {
685
- var s = re(e), l = re(t), c = s ? jt : F(e), i = l ? jt : F(t);
686
- c = c == wt ? be : c, i = i == wt ? be : i;
685
+ var s = re(e), l = re(t), c = s ? wt : F(e), i = l ? wt : F(t);
686
+ c = c == _t ? be : c, i = i == _t ? be : i;
687
687
  var d = c == be, f = i == be, p = c == i;
688
688
  if (p && me(e)) {
689
689
  if (!me(t))
@@ -691,9 +691,9 @@ function Ns(e, t, n, r, a, o) {
691
691
  s = !0, d = !1;
692
692
  }
693
693
  if (p && !d)
694
- return o || (o = new z()), s || Kt(e) ? Qt(e, t, n, r, a, o) : ws(e, t, c, n, r, a, o);
694
+ return o || (o = new z()), s || Ut(e) ? Jt(e, t, n, r, a, o) : ws(e, t, c, n, r, a, o);
695
695
  if (!(n & Ss)) {
696
- var h = d && At.call(e, "__wrapped__"), g = f && At.call(t, "__wrapped__");
696
+ var h = d && jt.call(e, "__wrapped__"), g = f && jt.call(t, "__wrapped__");
697
697
  if (h || g) {
698
698
  var O = h ? e.value() : e, C = g ? t.value() : t;
699
699
  return o || (o = new z()), a(O, C, n, r, o);
@@ -701,15 +701,15 @@ function Ns(e, t, n, r, a, o) {
701
701
  }
702
702
  return p ? (o || (o = new z()), Cs(e, t, n, r, a, o)) : !1;
703
703
  }
704
- function en(e, t, n, r, a) {
705
- return e === t ? !0 : e == null || t == null || !J(e) && !J(t) ? e !== e && t !== t : Ns(e, t, n, r, en, a);
704
+ function Xt(e, t, n, r, a) {
705
+ return e === t ? !0 : e == null || t == null || !J(e) && !J(t) ? e !== e && t !== t : Ns(e, t, n, r, Xt, a);
706
706
  }
707
707
  var Ps = 1 / 0;
708
708
  function Ls(e) {
709
709
  var t = e == null ? 0 : e.length;
710
- return t ? Wt(e, Ps) : [];
710
+ return t ? Gt(e, Ps) : [];
711
711
  }
712
- function Ds(e) {
712
+ function Is(e) {
713
713
  for (var t = -1, n = e == null ? 0 : e.length, r = {}; ++t < n; ) {
714
714
  var a = e[t];
715
715
  r[a[0]] = a[1];
@@ -717,25 +717,25 @@ function Ds(e) {
717
717
  return r;
718
718
  }
719
719
  function ce(e, t) {
720
- return en(e, t);
720
+ return Xt(e, t);
721
721
  }
722
- const tn = (e) => !e.getAttribute("aria-owns"), Is = (e, t, n) => {
722
+ const Yt = (e) => !e.getAttribute("aria-owns"), Ds = (e, t, n) => {
723
723
  const { parentNode: r } = e;
724
724
  if (!r) return null;
725
725
  const a = r.querySelectorAll(n), o = Array.prototype.indexOf.call(a, e);
726
726
  return a[o + t] || null;
727
- }, De = (e) => {
728
- e && (e.focus(), !tn(e) && e.click());
729
- }, Ms = (e) => e === void 0, di = (e) => typeof e == "boolean", Re = (e) => !e && e !== 0 || Cn(e) && e.length === 0 || je(e) && !Object.keys(e).length, Ot = (e) => En(e), nn = "__epPropKey", Ie = (e) => e, xs = (e) => je(e) && !!e[nn], ks = (e, t) => {
730
- if (!je(e) || xs(e)) return e;
727
+ }, Ie = (e) => {
728
+ e && (e.focus(), !Yt(e) && e.click());
729
+ }, xs = (e) => e === void 0, di = (e) => typeof e == "boolean", Re = (e) => !e && e !== 0 || Cn(e) && e.length === 0 || je(e) && !Object.keys(e).length, At = (e) => En(e), Qt = "__epPropKey", De = (e) => e, Ms = (e) => je(e) && !!e[Qt], ks = (e, t) => {
730
+ if (!je(e) || Ms(e)) return e;
731
731
  const { values: n, required: r, default: a, type: o, validator: s } = e, c = {
732
732
  type: o,
733
733
  required: !!r,
734
734
  validator: n || s ? (i) => {
735
735
  let d = !1, f = [];
736
- if (n && (f = Array.from(n), et(e, "default") && f.push(a), d || (d = f.includes(i))), s && (d || (d = s(i))), !d && f.length > 0) {
736
+ if (n && (f = Array.from(n), Qe(e, "default") && f.push(a), d || (d = f.includes(i))), s && (d || (d = s(i))), !d && f.length > 0) {
737
737
  const p = [...new Set(f)].map((h) => JSON.stringify(h)).join(", ");
738
- un(
738
+ sn(
739
739
  `Invalid prop: validation failed${t ? ` for prop "${t}"` : ""}. Expected one of [${p}], got value ${JSON.stringify(
740
740
  i
741
741
  )}.`
@@ -743,15 +743,15 @@ const tn = (e) => !e.getAttribute("aria-owns"), Is = (e, t, n) => {
743
743
  }
744
744
  return d;
745
745
  } : void 0,
746
- [nn]: !0
746
+ [Qt]: !0
747
747
  };
748
- return et(e, "default") && (c.default = a), c;
749
- }, Fs = (e) => Ds(
748
+ return Qe(e, "default") && (c.default = a), c;
749
+ }, Fs = (e) => Is(
750
750
  Object.entries(e).map(([t, n]) => [
751
751
  t,
752
752
  ks(n, t)
753
753
  ])
754
- ), Ct = (e) => [...new Set(e)], St = (e) => !e && e !== 0 ? [] : Array.isArray(e) ? e : [e], Bs = () => Math.floor(Math.random() * 1e4), Rs = _e({
754
+ ), Ot = (e) => [...new Set(e)], Ct = (e) => !e && e !== 0 ? [] : Array.isArray(e) ? e : [e], Bs = () => Math.floor(Math.random() * 1e4), Rs = _e({
755
755
  name: "NodeContent",
756
756
  setup() {
757
757
  return {
@@ -760,7 +760,7 @@ const tn = (e) => !e.getAttribute("aria-owns"), Is = (e, t, n) => {
760
760
  },
761
761
  render() {
762
762
  const { ns: e } = this, { node: t, panel: n } = this.$parent, { data: r, label: a } = t, { renderLabelFn: o } = n;
763
- return dn(
763
+ return ln(
764
764
  "span",
765
765
  { class: e.e("label") },
766
766
  o ? o({ node: t, data: r }) : a
@@ -772,9 +772,9 @@ const tn = (e) => !e.getAttribute("aria-owns"), Is = (e, t, n) => {
772
772
  ElCheckbox: Tn,
773
773
  ElRadio: $n,
774
774
  NodeContent: Rs,
775
- ElIcon: xt,
775
+ ElIcon: It,
776
776
  Check: mn,
777
- Loading: Mt,
777
+ Loading: Lt,
778
778
  ArrowRight: yn
779
779
  },
780
780
  props: {
@@ -786,7 +786,7 @@ const tn = (e) => !e.getAttribute("aria-owns"), Is = (e, t, n) => {
786
786
  },
787
787
  emits: ["expand"],
788
788
  setup(e, { emit: t }) {
789
- const n = Pt(Ge), r = we("cascader-node"), a = N(() => n.isHoverMenu), o = N(() => n.config.multiple), s = N(() => n.config.checkStrictly), l = N(() => {
789
+ const n = Nt(Ge), r = we("cascader-node"), a = N(() => n.isHoverMenu), o = N(() => n.config.multiple), s = N(() => n.config.checkStrictly), l = N(() => {
790
790
  var T;
791
791
  return (T = n.checkedNodes[0]) == null ? void 0 : T.uid;
792
792
  }), c = N(() => e.node.isDisabled), i = N(() => e.node.isLeaf), d = N(
@@ -795,13 +795,13 @@ const tn = (e) => !e.getAttribute("aria-owns"), Is = (e, t, n) => {
795
795
  () => s.value && n.checkedNodes.some(h)
796
796
  ), h = (T) => {
797
797
  var pe;
798
- const { level: I, uid: k } = e.node;
799
- return ((pe = T == null ? void 0 : T.pathNodes[I - 1]) == null ? void 0 : pe.uid) === k;
798
+ const { level: D, uid: k } = e.node;
799
+ return ((pe = T == null ? void 0 : T.pathNodes[D - 1]) == null ? void 0 : pe.uid) === k;
800
800
  }, g = () => {
801
801
  f.value || n.expandNode(e.node);
802
802
  }, O = (T) => {
803
- const { node: I } = e;
804
- T !== I.checked && n.handleCheckChange(I, T);
803
+ const { node: D } = e;
804
+ T !== D.checked && n.handleCheckChange(D, T);
805
805
  }, C = () => {
806
806
  n.lazyLoad(e.node, () => {
807
807
  i.value || g();
@@ -811,9 +811,9 @@ const tn = (e) => !e.getAttribute("aria-owns"), Is = (e, t, n) => {
811
811
  }, w = () => {
812
812
  const { node: T } = e;
813
813
  !d.value || T.loading || (T.loaded ? g() : C());
814
- }, x = () => {
814
+ }, M = () => {
815
815
  a.value && !i.value || (i.value && !c.value && !s.value && !o.value ? E(!0) : w());
816
- }, D = (T) => {
816
+ }, L = (T) => {
817
817
  s.value ? (O(T), e.node.loaded && g()) : E(T);
818
818
  }, E = (T) => {
819
819
  e.node.loaded ? (O(T), !s.value && g()) : C();
@@ -832,9 +832,9 @@ const tn = (e) => !e.getAttribute("aria-owns"), Is = (e, t, n) => {
832
832
  ns: r,
833
833
  handleHoverExpand: j,
834
834
  handleExpand: w,
835
- handleClick: x,
835
+ handleClick: M,
836
836
  handleCheck: E,
837
- handleSelectCheck: D
837
+ handleSelectCheck: L
838
838
  };
839
839
  }
840
840
  }), Ke = (e, t) => {
@@ -844,8 +844,8 @@ const tn = (e) => !e.getAttribute("aria-owns"), Is = (e, t, n) => {
844
844
  return n;
845
845
  }, Hs = ["id", "aria-haspopup", "aria-owns", "aria-expanded", "tabindex"];
846
846
  function Us(e, t, n, r, a, o) {
847
- const s = M("el-checkbox"), l = M("el-radio"), c = M("check"), i = M("el-icon"), d = M("node-content"), f = M("loading"), p = M("arrow-right");
848
- return L(), K("li", {
847
+ const s = x("el-checkbox"), l = x("el-radio"), c = x("check"), i = x("el-icon"), d = x("node-content"), f = x("loading"), p = x("arrow-right");
848
+ return I(), Z("li", {
849
849
  id: `${e.menuId}-${e.node.uid}`,
850
850
  role: "menuitem",
851
851
  "aria-haspopup": !e.isLeaf,
@@ -864,7 +864,7 @@ function Us(e, t, n, r, a, o) {
864
864
  onFocus: t[3] || (t[3] = (...h) => e.handleHoverExpand && e.handleHoverExpand(...h)),
865
865
  onClick: t[4] || (t[4] = (...h) => e.handleClick && e.handleClick(...h))
866
866
  }, [
867
- e.multiple ? (L(), W(s, {
867
+ e.multiple ? (I(), q(s, {
868
868
  key: 0,
869
869
  "model-value": e.node.checked,
870
870
  indeterminate: e.node.indeterminate,
@@ -872,7 +872,7 @@ function Us(e, t, n, r, a, o) {
872
872
  onClick: t[0] || (t[0] = Ze(() => {
873
873
  }, ["stop"])),
874
874
  "onUpdate:modelValue": e.handleSelectCheck
875
- }, null, 8, ["model-value", "indeterminate", "disabled", "onUpdate:modelValue"])) : e.checkStrictly ? (L(), W(l, {
875
+ }, null, 8, ["model-value", "indeterminate", "disabled", "onUpdate:modelValue"])) : e.checkStrictly ? (I(), q(l, {
876
876
  key: 1,
877
877
  "model-value": e.checkedNodeId,
878
878
  label: e.node.uid,
@@ -882,34 +882,34 @@ function Us(e, t, n, r, a, o) {
882
882
  }, ["stop"]))
883
883
  }, {
884
884
  default: ne(() => [...t[5] || (t[5] = [
885
- Lt("span", null, null, -1)
885
+ cn("span", null, null, -1)
886
886
  ])]),
887
887
  _: 1
888
- }, 8, ["model-value", "label", "disabled", "onUpdate:modelValue"])) : e.isLeaf && e.node.checked ? (L(), W(i, {
888
+ }, 8, ["model-value", "label", "disabled", "onUpdate:modelValue"])) : e.isLeaf && e.node.checked ? (I(), q(i, {
889
889
  key: 2,
890
890
  class: B(e.ns.e("prefix"))
891
891
  }, {
892
892
  default: ne(() => [
893
- Z(c)
893
+ W(c)
894
894
  ]),
895
895
  _: 1
896
896
  }, 8, ["class"])) : ye("", !0),
897
- Z(d),
898
- e.isLeaf ? ye("", !0) : (L(), K(Dt, { key: 3 }, [
899
- e.node.loading ? (L(), W(i, {
897
+ W(d),
898
+ e.isLeaf ? ye("", !0) : (I(), Z(Pt, { key: 3 }, [
899
+ e.node.loading ? (I(), q(i, {
900
900
  key: 0,
901
901
  class: B([e.ns.is("loading"), e.ns.e("postfix")])
902
902
  }, {
903
903
  default: ne(() => [
904
- Z(f)
904
+ W(f)
905
905
  ]),
906
906
  _: 1
907
- }, 8, ["class"])) : (L(), W(i, {
907
+ }, 8, ["class"])) : (I(), q(i, {
908
908
  key: 1,
909
909
  class: B(["arrow-right", e.ns.e("postfix")])
910
910
  }, {
911
911
  default: ne(() => [
912
- Z(p)
912
+ W(p)
913
913
  ]),
914
914
  _: 1
915
915
  }, 8, ["class"]))
@@ -922,8 +922,8 @@ const zs = /* @__PURE__ */ Ke(Vs, [["render", Us]]), Gs = (e, t = "14px sans-ser
922
922
  }, Ks = _e({
923
923
  name: "CustomCascaderMenu",
924
924
  components: {
925
- Loading: Mt,
926
- ElIcon: xt,
925
+ Loading: Lt,
926
+ ElIcon: It,
927
927
  ElScrollbar: _n,
928
928
  RecycleScroller: jn,
929
929
  CustomCascaderNode: zs
@@ -939,14 +939,14 @@ const zs = /* @__PURE__ */ Ke(Vs, [["render", Us]]), Gs = (e, t = "14px sans-ser
939
939
  }
940
940
  },
941
941
  setup(e) {
942
- const t = fn(), n = we("cascader-menu"), { t: r } = wn(), a = Bs();
942
+ const t = un(), n = we("cascader-menu"), { t: r } = wn(), a = Bs();
943
943
  let o = null, s = null;
944
- const l = Pt(Ge), c = q(null), i = N(() => !e.nodes.length), d = N(() => !l.initialLoaded), f = N(() => `cascader-menu-${a}-${e.index}`), p = N(() => {
944
+ const l = Nt(Ge), c = K(null), i = N(() => !e.nodes.length), d = N(() => !l.initialLoaded), f = N(() => `cascader-menu-${a}-${e.index}`), p = N(() => {
945
945
  if (!e.nodes.length) return 180;
946
946
  const j = 110;
947
947
  let w = 0;
948
- for (const x of e.nodes) {
949
- const D = x.label || "", E = Gs(String(D));
948
+ for (const M of e.nodes) {
949
+ const L = M.label || "", E = Gs(String(L));
950
950
  E > w && (w = E);
951
951
  }
952
952
  return Math.max(180, Math.ceil(w + j));
@@ -956,10 +956,10 @@ const zs = /* @__PURE__ */ Ke(Vs, [["render", Us]]), Gs = (e, t = "14px sans-ser
956
956
  if (!(!l.isHoverMenu || !o || !c.value))
957
957
  if (o.contains(j.target)) {
958
958
  O();
959
- const w = t.vnode.el, { left: x } = w.getBoundingClientRect(), { offsetWidth: D, offsetHeight: E } = w, T = j.clientX - x, I = o.offsetTop, k = I + o.offsetHeight;
959
+ const w = t.vnode.el, { left: M } = w.getBoundingClientRect(), { offsetWidth: L, offsetHeight: E } = w, T = j.clientX - M, D = o.offsetTop, k = D + o.offsetHeight;
960
960
  c.value.innerHTML = `
961
- <path style="pointer-events: auto;" fill="transparent" d="M${T} ${I} L${D} 0 V${I} Z" />
962
- <path style="pointer-events: auto;" fill="transparent" d="M${T} ${k} L${D} ${E} V${k} Z" />
961
+ <path style="pointer-events: auto;" fill="transparent" d="M${T} ${D} L${L} 0 V${D} Z" />
962
+ <path style="pointer-events: auto;" fill="transparent" d="M${T} ${k} L${L} ${E} V${k} Z" />
963
963
  `;
964
964
  } else s || (s = window.setTimeout(
965
965
  C,
@@ -986,15 +986,15 @@ const zs = /* @__PURE__ */ Ke(Vs, [["render", Us]]), Gs = (e, t = "14px sans-ser
986
986
  }
987
987
  });
988
988
  function qs(e, t, n, r, a, o) {
989
- const s = M("custom-cascader-node"), l = M("loading"), c = M("el-icon"), i = M("RecycleScroller");
990
- return e.nodes.length ? (L(), W(i, {
989
+ const s = x("custom-cascader-node"), l = x("loading"), c = x("el-icon"), i = x("RecycleScroller");
990
+ return e.nodes.length ? (I(), q(i, {
991
991
  key: e.menuId,
992
992
  tag: "ul",
993
993
  role: "menu",
994
994
  class: B([e.ns.b(), "cascader-virtual-list"]),
995
995
  "wrap-class": e.ns.e("wrap"),
996
996
  "view-class": [e.ns.e("list"), e.ns.is("empty", e.isEmpty)],
997
- style: It({ minWidth: e.menuWidth + "px" }),
997
+ style: dn({ minWidth: e.menuWidth + "px" }),
998
998
  items: e.nodes,
999
999
  "item-size": 34,
1000
1000
  "key-field": "uid",
@@ -1004,29 +1004,29 @@ function qs(e, t, n, r, a, o) {
1004
1004
  default: ne(({ item: d }) => {
1005
1005
  var f;
1006
1006
  return [
1007
- Z(s, {
1007
+ W(s, {
1008
1008
  node: d,
1009
1009
  "menu-id": e.menuId,
1010
1010
  onExpand: e.handleExpand
1011
1011
  }, null, 8, ["node", "menu-id", "onExpand"]),
1012
- e.isLoading ? (L(), K("div", {
1012
+ e.isLoading ? (I(), Z("div", {
1013
1013
  key: 0,
1014
1014
  class: B(e.ns.e("empty-text"))
1015
1015
  }, [
1016
- Z(c, {
1016
+ W(c, {
1017
1017
  size: "14",
1018
1018
  class: B(e.ns.is("loading"))
1019
1019
  }, {
1020
1020
  default: ne(() => [
1021
- Z(l)
1021
+ W(l)
1022
1022
  ]),
1023
1023
  _: 1
1024
1024
  }, 8, ["class"]),
1025
- pn(" " + Je(e.t("el.cascader.loading")), 1)
1026
- ], 2)) : e.isEmpty ? (L(), K("div", {
1025
+ fn(" " + pn(e.t("el.cascader.loading")), 1)
1026
+ ], 2)) : e.isEmpty ? (I(), Z("div", {
1027
1027
  key: 1,
1028
1028
  class: B(e.ns.e("empty-text"))
1029
- }, Je(e.t("el.cascader.noData")), 3)) : (f = e.panel) != null && f.isHoverMenu ? (L(), K("svg", {
1029
+ }, " 暂无数据 ", 2)) : (f = e.panel) != null && f.isHoverMenu ? (I(), Z("svg", {
1030
1030
  key: 2,
1031
1031
  ref: "hoverZone",
1032
1032
  class: B(e.ns.e("hover-zone"))
@@ -1036,7 +1036,7 @@ function qs(e, t, n, r, a, o) {
1036
1036
  _: 1
1037
1037
  }, 8, ["class", "wrap-class", "view-class", "style", "items", "onMousemove", "onMouseleave"])) : ye("", !0);
1038
1038
  }
1039
- const Ws = /* @__PURE__ */ Ke(Ks, [["render", qs], ["__scopeId", "data-v-00612ebc"]]);
1039
+ const Ws = /* @__PURE__ */ Ke(Ks, [["render", qs], ["__scopeId", "data-v-aaa21924"]]);
1040
1040
  let Zs = 0;
1041
1041
  const Js = (e) => {
1042
1042
  const t = [e];
@@ -1088,7 +1088,7 @@ class oe {
1088
1088
  }
1089
1089
  get isLeaf() {
1090
1090
  const { data: t, config: n, childrenData: r, loaded: a } = this, { lazy: o, leaf: s } = n, l = ie(s) ? s(t, this) : t[s];
1091
- return Ms(l) ? o && !a ? !1 : !(Array.isArray(r) && r.length) : !!l;
1091
+ return xs(l) ? o && !a ? !1 : !(Array.isArray(r) && r.length) : !!l;
1092
1092
  }
1093
1093
  get valueByOption() {
1094
1094
  return this.config.emitPath ? this.pathValues : this.value;
@@ -1102,13 +1102,13 @@ class oe {
1102
1102
  return this.text = r, r;
1103
1103
  }
1104
1104
  broadcast(t, ...n) {
1105
- const r = `onParent${Ot(t)}`;
1105
+ const r = `onParent${At(t)}`;
1106
1106
  this.children.forEach((a) => {
1107
1107
  a && (a.broadcast(t, ...n), a[r] && a[r](...n));
1108
1108
  });
1109
1109
  }
1110
1110
  emit(t, ...n) {
1111
- const { parent: r } = this, a = `onChild${Ot(t)}`;
1111
+ const { parent: r } = this, a = `onChild${At(t)}`;
1112
1112
  r && (r[a] && r[a](...n), r.emit(t, ...n));
1113
1113
  }
1114
1114
  onParentCheck(t) {
@@ -1132,7 +1132,7 @@ class oe {
1132
1132
  }
1133
1133
  }
1134
1134
  const Ve = (e, t) => e.reduce((n, r) => (r.isLeaf ? n.push(r) : (!t && n.push(r), n = n.concat(Ve(r.children, t))), n), []);
1135
- class Et {
1135
+ class St {
1136
1136
  constructor(t, n) {
1137
1137
  S(this, "nodes");
1138
1138
  S(this, "allNodes");
@@ -1173,20 +1173,20 @@ const Xs = Fs({
1173
1173
  * @description specify which key of node object is used as the node's value
1174
1174
  */
1175
1175
  modelValue: {
1176
- type: Ie([Number, String, Array])
1176
+ type: De([Number, String, Array])
1177
1177
  },
1178
1178
  /**
1179
1179
  * @description data of the options, the key of `value` and `label` can be customize by `CascaderProps`.
1180
1180
  */
1181
1181
  options: {
1182
- type: Ie(Array),
1182
+ type: De(Array),
1183
1183
  default: () => []
1184
1184
  },
1185
1185
  /**
1186
1186
  * @description configuration options, see the following `CascaderProps` table.
1187
1187
  */
1188
1188
  props: {
1189
- type: Ie(Object),
1189
+ type: De(Object),
1190
1190
  default: () => ({})
1191
1191
  }
1192
1192
  }), Ys = {
@@ -1240,14 +1240,14 @@ const Xs = Fs({
1240
1240
  * @description hover threshold of expanding options
1241
1241
  */
1242
1242
  hoverThreshold: 500
1243
- }, Qs = (e) => N(() => ge(ge({}, Ys), e.props)), Nt = (e) => {
1243
+ }, Qs = (e) => N(() => ge(ge({}, Ys), e.props)), Et = (e) => {
1244
1244
  if (!e) return 0;
1245
1245
  const t = e.id.split("-");
1246
1246
  return Number(t[t.length - 2]);
1247
1247
  }, ei = (e) => {
1248
1248
  if (!e) return;
1249
1249
  const t = e.querySelector("input");
1250
- t ? t.click() : tn(e) && e.click();
1250
+ t ? t.click() : Yt(e) && e.click();
1251
1251
  }, ti = (e, t) => {
1252
1252
  const n = t.slice(0), r = n.map((o) => o.uid), a = e.reduce((o, s) => {
1253
1253
  const l = r.indexOf(s.uid);
@@ -1270,15 +1270,15 @@ const Xs = Fs({
1270
1270
  },
1271
1271
  renderLabel: Function
1272
1272
  }),
1273
- emits: [Ye, Qe, "close", "expand-change"],
1273
+ emits: [Xe, Ye, "close", "expand-change"],
1274
1274
  setup(e, { emit: t, slots: n }) {
1275
1275
  let r = !1;
1276
1276
  const a = we("cascader"), o = Qs(e);
1277
1277
  let s = null;
1278
- const l = q(!0), c = q([]), i = q(null), d = q([]), f = q(null), p = q([]), h = N(() => o.value.expandTrigger === "hover"), g = N(() => e.renderLabel || n.default), O = () => {
1278
+ const l = K(!0), c = K([]), i = K(null), d = K([]), f = K(null), p = K([]), h = N(() => o.value.expandTrigger === "hover"), g = N(() => e.renderLabel || n.default), O = () => {
1279
1279
  const { options: u } = e, b = o.value;
1280
- r = !1, s = new Et(u, b), d.value = [s.getNodes()], b.lazy && Re(e.options) ? (l.value = !1, C(void 0, (y) => {
1281
- y && (s = new Et(y, b), d.value = [s.getNodes()]), l.value = !0, k(!1, !0);
1280
+ r = !1, s = new St(u, b), d.value = [s.getNodes()], b.lazy && Re(e.options) ? (l.value = !1, C(void 0, (y) => {
1281
+ y && (s = new St(y, b), d.value = [s.getNodes()]), l.value = !0, k(!1, !0);
1282
1282
  })) : k(!1, !0);
1283
1283
  }, C = (u, b) => {
1284
1284
  const y = o.value;
@@ -1295,15 +1295,15 @@ const Xs = Fs({
1295
1295
  u.isLeaf ? v = u.pathNodes[y - 2] : (v = u, _.push(u.children)), ((A = f.value) == null ? void 0 : A.uid) !== (v == null ? void 0 : v.uid) && (f.value = u, d.value = _, !b && t("expand-change", (u == null ? void 0 : u.pathValues) || []));
1296
1296
  }, w = (u, b, y = !0) => {
1297
1297
  const { checkStrictly: _, multiple: v } = o.value, A = p.value[0];
1298
- r = !0, !v && (A == null || A.doCheck(!1)), u.doCheck(b), I(), y && !v && !_ && t("close"), !y && !v && !_ && x(u);
1299
- }, x = (u) => {
1300
- u && (u = u.parent, x(u), u && j(u));
1301
- }, D = (u) => s == null ? void 0 : s.getFlattedNodes(u), E = (u) => {
1298
+ r = !0, !v && (A == null || A.doCheck(!1)), u.doCheck(b), D(), y && !v && !_ && t("close"), !y && !v && !_ && M(u);
1299
+ }, M = (u) => {
1300
+ u && (u = u.parent, M(u), u && j(u));
1301
+ }, L = (u) => s == null ? void 0 : s.getFlattedNodes(u), E = (u) => {
1302
1302
  var b;
1303
- return (b = D(u)) == null ? void 0 : b.filter((y) => y.checked !== !1);
1303
+ return (b = L(u)) == null ? void 0 : b.filter((y) => y.checked !== !1);
1304
1304
  }, T = () => {
1305
- p.value.forEach((u) => u.doCheck(!1)), I(), d.value = d.value.slice(0, 1), f.value = null, t("expand-change", []);
1306
- }, I = () => {
1305
+ p.value.forEach((u) => u.doCheck(!1)), D(), d.value = d.value.slice(0, 1), f.value = null, t("expand-change", []);
1306
+ }, D = () => {
1307
1307
  var H;
1308
1308
  const { checkStrictly: u, multiple: b } = o.value, y = p.value, _ = E(!u), v = ti(y, _), A = v.map((P) => P.valueByOption);
1309
1309
  p.value = v, i.value = b ? A : (H = A[0]) != null ? H : null;
@@ -1311,14 +1311,14 @@ const Xs = Fs({
1311
1311
  const { modelValue: y } = e, { lazy: _, multiple: v, checkStrictly: A } = o.value, H = !A;
1312
1312
  if (!(!l.value || r || !b && ce(y, i.value)))
1313
1313
  if (_ && !u) {
1314
- const he = Ct(
1315
- Ls(St(y))
1314
+ const he = Ot(
1315
+ Ls(Ct(y))
1316
1316
  ).map((U) => s == null ? void 0 : s.getNodeByValue(U)).filter((U) => !!U && !U.loaded && !U.loading);
1317
1317
  he.length ? he.forEach((U) => {
1318
1318
  C(U, () => k(!1, b));
1319
1319
  }) : k(!0, b);
1320
1320
  } else {
1321
- const P = v ? St(y) : [y], he = Ct(
1321
+ const P = v ? Ct(y) : [y], he = Ot(
1322
1322
  P.map((U) => s == null ? void 0 : s.getNodeByValue(U, H))
1323
1323
  );
1324
1324
  pe(he, b), i.value = es(y);
@@ -1327,33 +1327,33 @@ const Xs = Fs({
1327
1327
  const { checkStrictly: y } = o.value, _ = p.value, v = u.filter(
1328
1328
  (P) => !!P && (y || P.isLeaf)
1329
1329
  ), A = s == null ? void 0 : s.getSameNode(f.value), H = b && A || v[0];
1330
- H ? H.pathNodes.forEach((P) => j(P, !0)) : f.value = null, _.forEach((P) => P.doCheck(!1)), e.props.multiple ? Xe(v).forEach((P) => P.doCheck(!0)) : v.forEach((P) => P.doCheck(!0)), p.value = v;
1331
- }, rn = (u) => {
1330
+ H ? H.pathNodes.forEach((P) => j(P, !0)) : f.value = null, _.forEach((P) => P.doCheck(!1)), e.props.multiple ? Je(v).forEach((P) => P.doCheck(!0)) : v.forEach((P) => P.doCheck(!0)), p.value = v;
1331
+ }, en = (u) => {
1332
1332
  const b = u.target, { code: y } = u;
1333
1333
  switch (y) {
1334
1334
  case te.up:
1335
1335
  case te.down: {
1336
1336
  u.preventDefault();
1337
1337
  const _ = y === te.up ? -1 : 1;
1338
- De(
1339
- Is(b, _, `.${a.b("node")}[tabindex="-1"]`)
1338
+ Ie(
1339
+ Ds(b, _, `.${a.b("node")}[tabindex="-1"]`)
1340
1340
  );
1341
1341
  break;
1342
1342
  }
1343
1343
  case te.left: {
1344
1344
  u.preventDefault();
1345
- const _ = c.value[Nt(b) - 1], v = _ == null ? void 0 : _.$el.querySelector(
1345
+ const _ = c.value[Et(b) - 1], v = _ == null ? void 0 : _.$el.querySelector(
1346
1346
  `.${a.b("node")}[aria-expanded="true"]`
1347
1347
  );
1348
- De(v);
1348
+ Ie(v);
1349
1349
  break;
1350
1350
  }
1351
1351
  case te.right: {
1352
1352
  u.preventDefault();
1353
- const _ = c.value[Nt(b) + 1], v = _ == null ? void 0 : _.$el.querySelector(
1353
+ const _ = c.value[Et(b) + 1], v = _ == null ? void 0 : _.$el.querySelector(
1354
1354
  `.${a.b("node")}[tabindex="-1"]`
1355
1355
  );
1356
- De(v);
1356
+ Ie(v);
1357
1357
  break;
1358
1358
  }
1359
1359
  case te.enter:
@@ -1363,7 +1363,7 @@ const Xs = Fs({
1363
1363
  };
1364
1364
  return hn(
1365
1365
  Ge,
1366
- Xe({
1366
+ Je({
1367
1367
  config: o,
1368
1368
  expandingNode: f,
1369
1369
  checkedNodes: p,
@@ -1388,16 +1388,16 @@ const Xs = Fs({
1388
1388
  ), Ee(
1389
1389
  () => i.value,
1390
1390
  (u) => {
1391
- ce(u, e.modelValue) || (t(Ye, u), t(Qe, u));
1391
+ ce(u, e.modelValue) || (t(Xe, u), t(Ye, u));
1392
1392
  }
1393
1393
  ), gn(() => c.value = []), bn(() => !Re(e.modelValue) && k()), {
1394
1394
  ns: a,
1395
1395
  menuList: c,
1396
1396
  menus: d,
1397
1397
  checkedNodes: p,
1398
- handleKeyDown: rn,
1398
+ handleKeyDown: en,
1399
1399
  handleCheckChange: w,
1400
- getFlattedNodes: D,
1400
+ getFlattedNodes: L,
1401
1401
  /**
1402
1402
  * @description get an array of currently selected node,(leafOnly) whether only return the leaf checked nodes, default is `false`
1403
1403
  */
@@ -1406,30 +1406,23 @@ const Xs = Fs({
1406
1406
  * @description clear checked nodes
1407
1407
  */
1408
1408
  clearCheckedNodes: T,
1409
- calculateCheckedValue: I
1409
+ calculateCheckedValue: D
1410
1410
  };
1411
1411
  }
1412
1412
  });
1413
1413
  function ri(e, t, n, r, a, o) {
1414
- var l;
1415
- const s = M("custom-cascader-menu");
1416
- return L(), K("div", {
1414
+ const s = x("custom-cascader-menu");
1415
+ return I(), Z("div", {
1417
1416
  class: B([e.ns.b("panel"), e.ns.is("bordered", e.border)]),
1418
- onKeydown: t[0] || (t[0] = (...c) => e.handleKeyDown && e.handleKeyDown(...c))
1417
+ onKeydown: t[0] || (t[0] = (...l) => e.handleKeyDown && e.handleKeyDown(...l))
1419
1418
  }, [
1420
- (l = e.props.options) != null && l.length ? (L(!0), K(Dt, { key: 0 }, vn(e.menus, (c, i) => (L(), W(s, {
1421
- key: i,
1419
+ (I(!0), Z(Pt, null, vn(e.menus, (l, c) => (I(), q(s, {
1420
+ key: c,
1422
1421
  ref_for: !0,
1423
- ref: (d) => e.menuList[i] = d,
1424
- index: i,
1425
- nodes: [...c]
1426
- }, null, 8, ["index", "nodes"]))), 128)) : (L(), K("div", {
1427
- key: 1,
1428
- class: "empty-panel",
1429
- style: It(e.inputWidth ? { width: e.inputWidth + "px" } : {})
1430
- }, [...t[1] || (t[1] = [
1431
- Lt("p", null, " 暂无数据 ", -1)
1432
- ])], 4))
1422
+ ref: (i) => e.menuList[c] = i,
1423
+ index: c,
1424
+ nodes: [...l]
1425
+ }, null, 8, ["index", "nodes"]))), 128))
1433
1426
  ], 34);
1434
1427
  }
1435
1428
  const fi = /* @__PURE__ */ Ke(ni, [["render", ri]]);
@@ -1440,11 +1433,11 @@ export {
1440
1433
  ci as c,
1441
1434
  di as d,
1442
1435
  Fs as e,
1443
- Ie as f,
1436
+ De as f,
1444
1437
  es as g,
1445
1438
  ui as h,
1446
1439
  J as i,
1447
- De as j,
1448
- Is as k,
1440
+ Ie as j,
1441
+ Ds as k,
1449
1442
  V as r
1450
1443
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "feikuai-element-plus-virtual-component",
3
- "version": "1.0.23",
3
+ "version": "1.0.24",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",