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

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,16 +1,16 @@
1
- import './cascader/cascader.css';var ht = Object.defineProperty, yt = Object.defineProperties;
2
- var bt = Object.getOwnPropertyDescriptors;
1
+ import './cascader/cascader.css';var gt = Object.defineProperty, ht = Object.defineProperties;
2
+ var yt = Object.getOwnPropertyDescriptors;
3
3
  var se = Object.getOwnPropertySymbols;
4
4
  var Ae = Object.prototype.hasOwnProperty, Be = Object.prototype.propertyIsEnumerable;
5
- var Me = (t, s, a) => s in t ? ht(t, s, { enumerable: !0, configurable: !0, writable: !0, value: a }) : t[s] = a, ge = (t, s) => {
5
+ var Me = (t, s, a) => s in t ? gt(t, s, { enumerable: !0, configurable: !0, writable: !0, value: a }) : t[s] = a, me = (t, s) => {
6
6
  for (var a in s || (s = {}))
7
7
  Ae.call(s, a) && Me(t, a, s[a]);
8
8
  if (se)
9
9
  for (var a of se(s))
10
10
  Be.call(s, a) && Me(t, a, s[a]);
11
11
  return t;
12
- }, he = (t, s) => yt(t, bt(s));
13
- var ye = (t, s) => {
12
+ }, ge = (t, s) => ht(t, yt(s));
13
+ var he = (t, s) => {
14
14
  var a = {};
15
15
  for (var i in t)
16
16
  Ae.call(t, i) && s.indexOf(i) < 0 && (a[i] = t[i]);
@@ -35,9 +35,9 @@ var ze = (t, s, a) => new Promise((i, r) => {
35
35
  }, u = (p) => p.done ? i(p.value) : Promise.resolve(p.value).then(c, h);
36
36
  u((a = a.apply(t, s)).next());
37
37
  });
38
- import { getCurrentScope as Ct, onScopeDispose as kt, watch as M, computed as y, toValue as H, shallowRef as qe, getCurrentInstance as Tt, onMounted as Ge, defineComponent as Et, useAttrs as wt, ref as k, nextTick as J, openBlock as C, createBlock as R, unref as d, withCtx as $, createVNode as U, withDirectives as oe, vShow as Re, normalizeClass as V, createElementBlock as D, Fragment as be, renderList as Ce, createElementVNode as Q, toDisplayString as Y, createCommentVNode as le, renderSlot as St, normalizeStyle as xt, withModifiers as ke, withKeys as Pt, vModelText as $t } from "vue";
39
- import { i as Nt, b as Vt, a as we, r as It, c as Ot, d as Ft, e as Wt, f as Le, g as Dt, h as Mt, E as At, j as Bt, k as zt } from "./index2.js";
40
- import { CHANGE_EVENT as Xe, UPDATE_MODEL_EVENT as Je, tagProps as Rt, useTooltipContentProps as Lt, useSizeProp as Kt, CommonProps as Ht, useNamespace as Ke, useLocale as _t, useFormItem as Ut, useFormSize as jt, ElConfigProvider as qt, ElTooltip as He, ElScrollbar as Gt, ElIcon as Te, ElInput as Xt, ElTag as _e, ClickOutside as Jt, EVENT_CODE as L } from "element-plus";
38
+ import { getCurrentScope as bt, onScopeDispose as Ct, watch as M, computed as y, toValue as H, shallowRef as je, getCurrentInstance as kt, onMounted as qe, defineComponent as Tt, useAttrs as Et, ref as k, nextTick as J, openBlock as C, createBlock as R, unref as d, withCtx as P, createVNode as U, withDirectives as ye, vShow as wt, normalizeClass as V, createElementBlock as D, Fragment as be, renderList as Ce, createElementVNode as Q, toDisplayString as Y, createCommentVNode as oe, renderSlot as St, normalizeStyle as xt, withModifiers as ke, withKeys as Pt, vModelText as $t } from "vue";
39
+ import { i as Nt, b as Vt, a as we, r as It, c as Ot, d as Ft, e as Wt, f as Re, g as Dt, h as Mt, E as At, j as Bt, k as zt } from "./index2.js";
40
+ import { CHANGE_EVENT as Ge, UPDATE_MODEL_EVENT as Xe, tagProps as Rt, useTooltipContentProps as Lt, useSizeProp as Kt, CommonProps as Ht, useNamespace as Le, useLocale as _t, useFormItem as Ut, useFormSize as jt, ElConfigProvider as qt, ElTooltip as Ke, ElScrollbar as Gt, ElIcon as Te, ElInput as Xt, ElTag as He, ClickOutside as Jt, EVENT_CODE as L } from "element-plus";
41
41
  import { Check as Qt, CircleClose as Yt, ArrowDown as Zt } from "@element-plus/icons-vue";
42
42
  var en = "[object Symbol]";
43
43
  function tn(t) {
@@ -53,12 +53,12 @@ var on = /^\s+/;
53
53
  function ln(t) {
54
54
  return t && t.slice(0, sn(t) + 1).replace(on, "");
55
55
  }
56
- var Ue = NaN, an = /^[-+]0x[0-9a-f]+$/i, rn = /^0b[01]+$/i, un = /^0o[0-7]+$/i, cn = parseInt;
57
- function je(t) {
56
+ var _e = NaN, an = /^[-+]0x[0-9a-f]+$/i, rn = /^0b[01]+$/i, un = /^0o[0-7]+$/i, cn = parseInt;
57
+ function Ue(t) {
58
58
  if (typeof t == "number")
59
59
  return t;
60
60
  if (tn(t))
61
- return Ue;
61
+ return _e;
62
62
  if (we(t)) {
63
63
  var s = typeof t.valueOf == "function" ? t.valueOf() : t;
64
64
  t = we(s) ? s + "" : s;
@@ -67,7 +67,7 @@ function je(t) {
67
67
  return t === 0 ? t : +t;
68
68
  t = ln(t);
69
69
  var a = rn.test(t);
70
- return a || un.test(t) ? cn(t.slice(2), a ? 2 : 8) : an.test(t) ? Ue : +t;
70
+ return a || un.test(t) ? cn(t.slice(2), a ? 2 : 8) : an.test(t) ? _e : +t;
71
71
  }
72
72
  var Ee = function() {
73
73
  return It.Date.now();
@@ -76,7 +76,7 @@ function vn(t, s, a) {
76
76
  var i, r, c, h, u, p, l = 0, f = !1, v = !1, b = !0;
77
77
  if (typeof t != "function")
78
78
  throw new TypeError(dn);
79
- s = je(s) || 0, we(a) && (f = !!a.leading, v = "maxWait" in a, c = v ? pn(je(a.maxWait) || 0, s) : c, b = "trailing" in a ? !!a.trailing : b);
79
+ s = Ue(s) || 0, we(a) && (f = !!a.leading, v = "maxWait" in a, c = v ? pn(Ue(a.maxWait) || 0, s) : c, b = "trailing" in a ? !!a.trailing : b);
80
80
  function F(g) {
81
81
  var E = i, w = r;
82
82
  return i = r = void 0, l = g, h = t.apply(w, E), h;
@@ -107,7 +107,7 @@ function vn(t, s, a) {
107
107
  function G() {
108
108
  return u === void 0 ? h : K(Ee());
109
109
  }
110
- function P() {
110
+ function $() {
111
111
  var g = Ee(), E = q(g);
112
112
  if (i = arguments, r = this, p = g, E) {
113
113
  if (u === void 0)
@@ -117,42 +117,42 @@ function vn(t, s, a) {
117
117
  }
118
118
  return u === void 0 && (u = setTimeout(T, s)), h;
119
119
  }
120
- return P.cancel = x, P.flush = G, P;
120
+ return $.cancel = x, $.flush = G, $;
121
121
  }
122
- function Qe(t, s) {
123
- return Ct() ? (kt(t, s), !0) : !1;
122
+ function Je(t, s) {
123
+ return bt() ? (Ct(t, s), !0) : !1;
124
124
  }
125
- const Ye = typeof window != "undefined" && typeof document != "undefined";
125
+ const Qe = typeof window != "undefined" && typeof document != "undefined";
126
126
  typeof WorkerGlobalScope != "undefined" && globalThis instanceof WorkerGlobalScope;
127
127
  const mn = (t) => t != null;
128
128
  function gn(t) {
129
129
  return Array.isArray(t) ? t : [t];
130
130
  }
131
- const Se = Ye ? window : void 0;
132
- function ae(t) {
131
+ const Se = Qe ? window : void 0;
132
+ function le(t) {
133
133
  var s;
134
134
  const a = H(t);
135
135
  return (s = a == null ? void 0 : a.$el) !== null && s !== void 0 ? s : a;
136
136
  }
137
137
  // @__NO_SIDE_EFFECTS__
138
138
  function hn() {
139
- const t = qe(!1), s = Tt();
140
- return s && Ge(() => {
139
+ const t = je(!1), s = kt();
140
+ return s && qe(() => {
141
141
  t.value = !0;
142
142
  }, s), t;
143
143
  }
144
144
  // @__NO_SIDE_EFFECTS__
145
- function Ze(t) {
145
+ function Ye(t) {
146
146
  const s = /* @__PURE__ */ hn();
147
147
  return y(() => (s.value, !!t()));
148
148
  }
149
149
  function yn(t, s, a = {}) {
150
- const v = a, { window: i = Se } = v, r = ye(v, ["window"]);
150
+ const v = a, { window: i = Se } = v, r = he(v, ["window"]);
151
151
  let c;
152
- const h = /* @__PURE__ */ Ze(() => i && "MutationObserver" in i), u = () => {
152
+ const h = /* @__PURE__ */ Ye(() => i && "MutationObserver" in i), u = () => {
153
153
  c && (c.disconnect(), c = void 0);
154
154
  }, p = M(y(() => {
155
- const b = gn(H(t)).map(ae).filter(mn);
155
+ const b = gn(H(t)).map(le).filter(mn);
156
156
  return new Set(b);
157
157
  }), (b) => {
158
158
  u(), h.value && b.size && (c = new MutationObserver(s), b.forEach((F) => c.observe(F, r)));
@@ -162,16 +162,16 @@ function yn(t, s, a = {}) {
162
162
  }), l = () => c == null ? void 0 : c.takeRecords(), f = () => {
163
163
  p(), u();
164
164
  };
165
- return Qe(f), {
165
+ return Je(f), {
166
166
  isSupported: h,
167
167
  stop: f,
168
168
  takeRecords: l
169
169
  };
170
170
  }
171
171
  function bn(t, s, a = {}) {
172
- const { window: i = Se, initialValue: r, observe: c = !1 } = a, h = qe(r), u = y(() => {
172
+ const { window: i = Se, initialValue: r, observe: c = !1 } = a, h = je(r), u = y(() => {
173
173
  var l;
174
- return ae(s) || (i == null || (l = i.document) === null || l === void 0 ? void 0 : l.documentElement);
174
+ return le(s) || (i == null || (l = i.document) === null || l === void 0 ? void 0 : l.documentElement);
175
175
  });
176
176
  function p() {
177
177
  const l = H(t), f = H(u);
@@ -191,13 +191,13 @@ function bn(t, s, a = {}) {
191
191
  }, { immediate: !0 }), h;
192
192
  }
193
193
  function Cn(t, s, a = {}) {
194
- const f = a, { window: i = Se } = f, r = ye(f, ["window"]);
194
+ const f = a, { window: i = Se } = f, r = he(f, ["window"]);
195
195
  let c;
196
- const h = /* @__PURE__ */ Ze(() => i && "ResizeObserver" in i), u = () => {
196
+ const h = /* @__PURE__ */ Ye(() => i && "ResizeObserver" in i), u = () => {
197
197
  c && (c.disconnect(), c = void 0);
198
198
  }, p = M(y(() => {
199
199
  const v = H(t);
200
- return Array.isArray(v) ? v.map((b) => ae(b)) : [ae(v)];
200
+ return Array.isArray(v) ? v.map((b) => le(b)) : [le(v)];
201
201
  }), (v) => {
202
202
  if (u(), h.value && i) {
203
203
  c = new ResizeObserver(s);
@@ -209,7 +209,7 @@ function Cn(t, s, a = {}) {
209
209
  }), l = () => {
210
210
  u(), p();
211
211
  };
212
- return Qe(l), {
212
+ return Je(l), {
213
213
  isSupported: h,
214
214
  stop: l
215
215
  };
@@ -225,7 +225,7 @@ function Tn(t, s) {
225
225
  console.warn(a);
226
226
  }
227
227
  }
228
- const En = (t) => /([\uAC00-\uD7AF\u3130-\u318F])+/gi.test(t), wn = Wt(he(ge({}, Ht), {
228
+ const En = (t) => /([\uAC00-\uD7AF\u3130-\u318F])+/gi.test(t), wn = Wt(ge(me({}, Ht), {
229
229
  /**
230
230
  * @description size of input
231
231
  */
@@ -250,7 +250,7 @@ const En = (t) => /([\uAC00-\uD7AF\u3130-\u318F])+/gi.test(t), wn = Wt(he(ge({},
250
250
  * @description customize search logic, the first parameter is `node`, the second is `keyword`, and need return a boolean value indicating whether it hits.
251
251
  */
252
252
  filterMethod: {
253
- type: Le(
253
+ type: Re(
254
254
  Function
255
255
  ),
256
256
  default: (t, s) => t.text.includes(s)
@@ -298,7 +298,7 @@ const En = (t) => /([\uAC00-\uD7AF\u3130-\u318F])+/gi.test(t), wn = Wt(he(ge({},
298
298
  * @description hook function before filtering with the value to be filtered as its parameter. If `false` is returned or a `Promise` is returned and then is rejected, filtering will be aborted
299
299
  */
300
300
  beforeFilter: {
301
- type: Le(Function),
301
+ type: Re(Function),
302
302
  default: () => !0
303
303
  },
304
304
  /**
@@ -315,7 +315,7 @@ const En = (t) => /([\uAC00-\uD7AF\u3130-\u318F])+/gi.test(t), wn = Wt(he(ge({},
315
315
  /**
316
316
  * @description tag type
317
317
  */
318
- tagType: he(ge({}, Rt.type), { default: "info" }),
318
+ tagType: ge(me({}, Rt.type), { default: "info" }),
319
319
  /**
320
320
  * @description whether to trigger form validation
321
321
  */
@@ -324,14 +324,14 @@ const En = (t) => /([\uAC00-\uD7AF\u3130-\u318F])+/gi.test(t), wn = Wt(he(ge({},
324
324
  default: !0
325
325
  }
326
326
  })), Sn = {
327
- [Je]: (t) => !!t || t === null,
328
327
  [Xe]: (t) => !!t || t === null,
328
+ [Ge]: (t) => !!t || t === null,
329
329
  focus: (t) => t instanceof FocusEvent,
330
330
  blur: (t) => t instanceof FocusEvent,
331
331
  visibleChange: (t) => Ft(t),
332
332
  expandChange: (t) => !!t,
333
333
  removeTag: (t) => !!t
334
- }, xn = { key: 0 }, Pn = ["placeholder"], $n = ["onClick"], Nn = "ElCascader", Dn = /* @__PURE__ */ Et({
334
+ }, xn = { key: 0 }, Pn = ["placeholder"], $n = ["onClick"], Nn = "ElCascader", Dn = /* @__PURE__ */ Tt({
335
335
  name: Nn,
336
336
  __name: "cascader",
337
337
  props: wn,
@@ -350,11 +350,11 @@ const En = (t) => /([\uAC00-\uD7AF\u3130-\u318F])+/gi.test(t), wn = Wt(he(ge({},
350
350
  requires: ["arrow"]
351
351
  }
352
352
  ]
353
- }, r = t, c = a, h = wt();
353
+ }, r = t, c = a, h = Et();
354
354
  let u = 0, p = 0;
355
- const l = Ke("cascader"), f = Ke("input"), { t: v } = _t(), { form: b, formItem: F } = Ut(), j = k(null), A = k(null), q = k(null), T = k(null), K = k(null), x = k(!1), G = k(!1), P = k(!1), g = k(!1), E = k(""), w = k(""), I = k([]), re = k([]), ie = k([]), Z = k(!1), ee = k(), et = y(() => h.style), B = y(() => r.disabled || (b == null ? void 0 : b.disabled)), xe = y(
355
+ const l = Le("cascader"), f = Le("input"), { t: v } = _t(), { form: b, formItem: F } = Ut(), j = k(null), A = k(null), q = k(null), T = k(null), K = k(null), x = k(!1), G = k(!1), $ = k(!1), g = k(!1), E = k(""), w = k(""), I = k([]), ae = k([]), re = k([]), Z = k(!1), ee = k(), Ze = y(() => h.style), B = y(() => r.disabled || (b == null ? void 0 : b.disabled)), xe = y(
356
356
  () => r.placeholder || v("el.cascader.placeholder")
357
- ), tt = y(
357
+ ), et = y(
358
358
  () => w.value || I.value.length > 0 || Z.value ? "" : xe.value
359
359
  ), te = jt(), Pe = y(
360
360
  () => ["small"].includes(te.value) ? "small" : "default"
@@ -365,7 +365,7 @@ const En = (t) => /([\uAC00-\uD7AF\u3130-\u318F])+/gi.test(t), wn = Wt(he(ge({},
365
365
  var e;
366
366
  return ((e = T.value) == null ? void 0 : e.checkedNodes) || [];
367
367
  }
368
- ), nt = y(() => !r.clearable || B.value || P.value || !G.value ? !1 : !!ne.value.length), ue = y(() => {
368
+ ), tt = y(() => !r.clearable || B.value || $.value || !G.value ? !1 : !!ne.value.length), ie = y(() => {
369
369
  const { showAllLevels: e, separator: n } = r, o = ne.value;
370
370
  return o.length ? z.value ? "" : o[0].calcText(e, n) : "";
371
371
  }), Ve = y({
@@ -373,31 +373,31 @@ const En = (t) => /([\uAC00-\uD7AF\u3130-\u318F])+/gi.test(t), wn = Wt(he(ge({},
373
373
  return Dt(r.modelValue);
374
374
  },
375
375
  set(e) {
376
- c(Je, e), c(Xe, e), r.validateEvent && (F == null || F.validate("change").catch((n) => Tn(n)));
376
+ c(Xe, e), c(Ge, e), r.validateEvent && (F == null || F.validate("change").catch((n) => Tn(n)));
377
377
  }
378
- }), st = y(() => [
378
+ }), nt = y(() => [
379
379
  l.b(),
380
380
  l.m(te.value),
381
381
  l.is("disabled", B.value),
382
382
  h.class
383
- ]), ot = y(() => [
383
+ ]), st = y(() => [
384
384
  f.e("icon"),
385
385
  "icon-arrow-down",
386
386
  l.is("reverse", x.value)
387
- ]), lt = y(() => l.is("focus", x.value || g.value)), Ie = y(() => {
387
+ ]), ot = y(() => l.is("focus", x.value || g.value)), Ie = y(() => {
388
388
  var e, n;
389
389
  return (n = (e = j.value) == null ? void 0 : e.popperRef) == null ? void 0 : n.contentRef;
390
390
  }), S = (e) => {
391
391
  var n, o;
392
- B.value || (e = e != null ? e : !x.value, e !== x.value && (x.value = e, (o = (n = A.value) == null ? void 0 : n.input) == null || o.setAttribute("aria-expanded", `${e}`), e ? X() : r.filterable && ve(), c("visibleChange", e)));
392
+ B.value || (e = e != null ? e : !x.value, e !== x.value && (x.value = e, (o = (n = A.value) == null ? void 0 : n.input) == null || o.setAttribute("aria-expanded", `${e}`), e ? X() : r.filterable && fe(), c("visibleChange", e)));
393
393
  }, X = () => {
394
394
  J(() => {
395
395
  var e;
396
396
  (e = j.value) == null || e.updatePopper();
397
397
  });
398
- }, ce = () => {
399
- P.value = !1;
400
- }, de = (e) => {
398
+ }, ue = () => {
399
+ $.value = !1;
400
+ }, ce = (e) => {
401
401
  const { showAllLevels: n, separator: o } = r;
402
402
  return {
403
403
  node: e,
@@ -407,22 +407,22 @@ const En = (t) => /([\uAC00-\uD7AF\u3130-\u318F])+/gi.test(t), wn = Wt(he(ge({},
407
407
  closable: !B.value && !e.isDisabled,
408
408
  isCollapseTag: !1
409
409
  };
410
- }, pe = (e) => {
410
+ }, de = (e) => {
411
411
  var o;
412
412
  const n = e.node;
413
413
  n.doCheck(!1), (o = T.value) == null || o.calculateCheckedValue(), c("removeTag", n.valueByOption);
414
- }, at = () => {
414
+ }, lt = () => {
415
415
  if (!z.value) return;
416
416
  const e = ne.value, n = [], o = [];
417
- if (e.forEach((m) => o.push(de(m))), re.value = o, e.length) {
418
- e.slice(0, r.maxCollapseTags).forEach((N) => n.push(de(N)));
417
+ if (e.forEach((m) => o.push(ce(m))), ae.value = o, e.length) {
418
+ e.slice(0, r.maxCollapseTags).forEach((N) => n.push(ce(N)));
419
419
  const m = e.slice(r.maxCollapseTags), O = m.length;
420
420
  O && (r.collapseTags ? n.push({
421
421
  key: -1,
422
422
  text: `+ ${O}`,
423
423
  closable: !1,
424
424
  isCollapseTag: !0
425
- }) : m.forEach((N) => n.push(de(N))));
425
+ }) : m.forEach((N) => n.push(ce(N))));
426
426
  }
427
427
  I.value = n;
428
428
  }, Oe = () => {
@@ -430,21 +430,21 @@ const En = (t) => /([\uAC00-\uD7AF\u3130-\u318F])+/gi.test(t), wn = Wt(he(ge({},
430
430
  const { filterMethod: e, showAllLevels: n, separator: o } = r, m = (N = (O = T.value) == null ? void 0 : O.getFlattedNodes(!r.props.checkStrictly)) == null ? void 0 : N.filter((W) => W.isDisabled ? !1 : (W.calcText(n, o), e(W, Ne.value)));
431
431
  z.value && (I.value.forEach((W) => {
432
432
  W.hitState = !1;
433
- }), re.value.forEach((W) => {
433
+ }), ae.value.forEach((W) => {
434
434
  W.hitState = !1;
435
- })), P.value = !0, ie.value = m, X();
436
- }, rt = () => {
435
+ })), $.value = !0, re.value = m, X();
436
+ }, at = () => {
437
437
  var n;
438
438
  let e;
439
- P.value && K.value ? e = K.value.$el.querySelector(
439
+ $.value && K.value ? e = K.value.$el.querySelector(
440
440
  `.${l.e("suggestion-item")}`
441
441
  ) : e = (n = T.value) == null ? void 0 : n.$el.querySelector(
442
442
  `.${l.b("node")}[tabindex="-1"]`
443
- ), e && (e.focus(), !P.value && e.click());
444
- }, fe = () => {
443
+ ), e && (e.focus(), !$.value && e.click());
444
+ }, pe = () => {
445
445
  var m, O;
446
446
  const e = (m = A.value) == null ? void 0 : m.input, n = q.value, o = (O = K.value) == null ? void 0 : O.$el;
447
- if (!(!Ye || !e)) {
447
+ if (!(!Qe || !e)) {
448
448
  if (o) {
449
449
  const N = o.querySelector(
450
450
  `.${l.e("suggestion-list")}`
@@ -456,28 +456,28 @@ const En = (t) => /([\uAC00-\uD7AF\u3130-\u318F])+/gi.test(t), wn = Wt(he(ge({},
456
456
  e.style.height = W, X();
457
457
  }
458
458
  }
459
- }, it = (e) => {
459
+ }, rt = (e) => {
460
460
  var n;
461
461
  return (n = T.value) == null ? void 0 : n.getCheckedNodes(e);
462
- }, ut = (e) => {
462
+ }, it = (e) => {
463
463
  X(), c("expandChange", e);
464
464
  }, _ = (e) => {
465
465
  var o;
466
466
  const n = (o = e.target) == null ? void 0 : o.value;
467
467
  if (e.type === "compositionend")
468
- Z.value = !1, J(() => me(n));
468
+ Z.value = !1, J(() => ve(n));
469
469
  else {
470
470
  const m = n[n.length - 1] || "";
471
471
  Z.value = !En(m);
472
472
  }
473
- }, ct = (e) => {
473
+ }, ut = (e) => {
474
474
  if (!Z.value)
475
475
  switch (e.code) {
476
476
  case L.enter:
477
477
  S();
478
478
  break;
479
479
  case L.down:
480
- S(!0), J(rt), e.preventDefault();
480
+ S(!0), J(at), e.preventDefault();
481
481
  break;
482
482
  case L.esc:
483
483
  x.value === !0 && (e.preventDefault(), e.stopPropagation(), S(!1));
@@ -486,17 +486,17 @@ const En = (t) => /([\uAC00-\uD7AF\u3130-\u318F])+/gi.test(t), wn = Wt(he(ge({},
486
486
  S(!1);
487
487
  break;
488
488
  }
489
- }, dt = () => {
489
+ }, ct = () => {
490
490
  var e;
491
- (e = T.value) == null || e.clearCheckedNodes(), !x.value && r.filterable && ve(), S(!1);
492
- }, ve = () => {
493
- const { value: e } = ue;
491
+ (e = T.value) == null || e.clearCheckedNodes(), !x.value && r.filterable && fe(), S(!1);
492
+ }, fe = () => {
493
+ const { value: e } = ie;
494
494
  E.value = e, w.value = e;
495
- }, pt = (e) => {
495
+ }, dt = (e) => {
496
496
  var o, m;
497
497
  const { checked: n } = e;
498
498
  z.value ? (o = T.value) == null || o.handleCheckChange(e, !n, !1) : (!n && ((m = T.value) == null || m.handleCheckChange(e, !0, !1)), S(!1));
499
- }, ft = (e) => {
499
+ }, pt = (e) => {
500
500
  const n = e.target, { code: o } = e;
501
501
  switch (o) {
502
502
  case L.up:
@@ -515,43 +515,43 @@ const En = (t) => /([\uAC00-\uD7AF\u3130-\u318F])+/gi.test(t), wn = Wt(he(ge({},
515
515
  n.click();
516
516
  break;
517
517
  }
518
- }, vt = () => {
518
+ }, ft = () => {
519
519
  const e = I.value, n = e[e.length - 1];
520
- p = w.value ? 0 : p + 1, !(!n || !p || r.collapseTags && e.length > 1) && (n.hitState ? pe(n) : n.hitState = !0);
520
+ p = w.value ? 0 : p + 1, !(!n || !p || r.collapseTags && e.length > 1) && (n.hitState ? de(n) : n.hitState = !0);
521
521
  }, Fe = (e) => {
522
522
  const n = e.target, o = l.e("search-input");
523
523
  n.className === o && (g.value = !0), c("focus", e);
524
524
  }, We = (e) => {
525
525
  g.value = !1, c("blur", e);
526
- }, mt = vn(() => {
526
+ }, vt = vn(() => {
527
527
  const { value: e } = Ne;
528
528
  if (!e) return;
529
529
  const n = r.beforeFilter(e);
530
530
  Mt(n) ? n.then(Oe).catch(() => {
531
- }) : n !== !1 ? Oe() : ce();
532
- }, r.debounce), me = (e, n) => {
533
- !x.value && S(!0), !(n != null && n.isComposing) && (e ? mt() : ce());
534
- }, gt = () => {
531
+ }) : n !== !1 ? Oe() : ue();
532
+ }, r.debounce), ve = (e, n) => {
533
+ !x.value && S(!0), !(n != null && n.isComposing) && (e ? vt() : ue());
534
+ }, mt = () => {
535
535
  var n;
536
536
  const e = (n = A.value) == null ? void 0 : n.input;
537
537
  e && (ee.value = parseFloat(e.offsetWidth), console.log(ee.value));
538
538
  }, De = (e) => Number.parseFloat(
539
539
  bn(f.cssVarName("input-height"), e).value
540
540
  ) - 2;
541
- return M(P, X), M([ne, B], at), M(I, () => {
542
- J(() => fe());
541
+ return M($, X), M([ne, B], lt), M(I, () => {
542
+ J(() => pe());
543
543
  }), M(te, () => ze(null, null, function* () {
544
544
  yield J();
545
545
  const e = A.value.input;
546
- u = De(e) || u, fe();
547
- })), M(ue, ve, { immediate: !0 }), Ge(() => {
546
+ u = De(e) || u, pe();
547
+ })), M(ie, fe, { immediate: !0 }), qe(() => {
548
548
  const e = A.value.input, n = De(e);
549
- u = e.offsetHeight || n, Cn(e, fe), gt();
549
+ u = e.offsetHeight || n, Cn(e, pe), mt();
550
550
  }), s({
551
551
  /**
552
552
  * @description get an array of currently selected node,(leafOnly) whether only return the leaf checked nodes, default is `false`
553
553
  */
554
- getCheckedNodes: it,
554
+ getCheckedNodes: rt,
555
555
  /**
556
556
  * @description cascader panel ref
557
557
  */
@@ -565,8 +565,8 @@ const En = (t) => /([\uAC00-\uD7AF\u3130-\u318F])+/gi.test(t), wn = Wt(he(ge({},
565
565
  */
566
566
  contentRef: Ie
567
567
  }), (e, n) => (C(), R(d(qt), { "z-index": 3e3 }, {
568
- default: $(() => [
569
- U(d(He), {
568
+ default: P(() => [
569
+ U(d(Ke), {
570
570
  ref_key: "tooltipRef",
571
571
  ref: j,
572
572
  visible: x.value,
@@ -588,14 +588,14 @@ const En = (t) => /([\uAC00-\uD7AF\u3130-\u318F])+/gi.test(t), wn = Wt(he(ge({},
588
588
  effect: "light",
589
589
  pure: "",
590
590
  persistent: "",
591
- onHide: ce
591
+ onHide: ue
592
592
  }, {
593
- default: $(() => [
594
- oe((C(), D("div", {
595
- class: V(st.value),
596
- style: xt(et.value),
593
+ default: P(() => [
594
+ ye((C(), D("div", {
595
+ class: V(nt.value),
596
+ style: xt(Ze.value),
597
597
  onClick: n[5] || (n[5] = () => S($e.value ? void 0 : !0)),
598
- onKeydown: ct,
598
+ onKeydown: ut,
599
599
  onMouseenter: n[6] || (n[6] = (o) => G.value = !0),
600
600
  onMouseleave: n[7] || (n[7] = (o) => G.value = !1)
601
601
  }, [
@@ -604,36 +604,36 @@ const En = (t) => /([\uAC00-\uD7AF\u3130-\u318F])+/gi.test(t), wn = Wt(he(ge({},
604
604
  ref: A,
605
605
  modelValue: E.value,
606
606
  "onUpdate:modelValue": n[1] || (n[1] = (o) => E.value = o),
607
- placeholder: tt.value,
607
+ placeholder: et.value,
608
608
  readonly: $e.value,
609
609
  disabled: B.value,
610
610
  "validate-event": !1,
611
611
  size: d(te),
612
- class: V(lt.value),
612
+ class: V(ot.value),
613
613
  tabindex: z.value && e.filterable && !B.value ? -1 : void 0,
614
614
  onCompositionstart: _,
615
615
  onCompositionupdate: _,
616
616
  onCompositionend: _,
617
617
  onFocus: Fe,
618
618
  onBlur: We,
619
- onInput: me
619
+ onInput: ve
620
620
  }, {
621
- suffix: $(() => [
622
- nt.value ? (C(), R(d(Te), {
621
+ suffix: P(() => [
622
+ tt.value ? (C(), R(d(Te), {
623
623
  key: "clear",
624
624
  class: V([d(f).e("icon"), "icon-circle-close"]),
625
- onClick: ke(dt, ["stop"])
625
+ onClick: ke(ct, ["stop"])
626
626
  }, {
627
- default: $(() => [
627
+ default: P(() => [
628
628
  U(d(Yt))
629
629
  ]),
630
630
  _: 1
631
631
  }, 8, ["class"])) : (C(), R(d(Te), {
632
632
  key: "arrow-down",
633
- class: V(ot.value),
633
+ class: V(st.value),
634
634
  onClick: n[0] || (n[0] = ke((o) => S(), ["stop"]))
635
635
  }, {
636
- default: $(() => [
636
+ default: P(() => [
637
637
  U(d(Zt))
638
638
  ]),
639
639
  _: 1
@@ -647,37 +647,37 @@ const En = (t) => /([\uAC00-\uD7AF\u3130-\u318F])+/gi.test(t), wn = Wt(he(ge({},
647
647
  ref: q,
648
648
  class: V(d(l).e("tags"))
649
649
  }, [
650
- (C(!0), D(be, null, Ce(I.value, (o) => (C(), R(d(_e), {
650
+ (C(!0), D(be, null, Ce(I.value, (o) => (C(), R(d(He), {
651
651
  key: o.key,
652
652
  type: e.tagType,
653
653
  size: Pe.value,
654
654
  hit: o.hitState,
655
655
  closable: o.closable,
656
656
  "disable-transitions": "",
657
- onClose: (m) => pe(o)
657
+ onClose: (m) => de(o)
658
658
  }, {
659
- default: $(() => [
660
- o.isCollapseTag === !1 ? (C(), D("span", xn, Y(o.text), 1)) : (C(), R(d(He), {
659
+ default: P(() => [
660
+ o.isCollapseTag === !1 ? (C(), D("span", xn, Y(o.text), 1)) : (C(), R(d(Ke), {
661
661
  key: 1,
662
662
  disabled: x.value || !e.collapseTagsTooltip,
663
663
  "fallback-placements": ["bottom", "top", "right", "left"],
664
664
  placement: "bottom",
665
665
  effect: "light"
666
666
  }, {
667
- default: $(() => [
667
+ default: P(() => [
668
668
  Q("span", null, Y(o.text), 1)
669
669
  ]),
670
- content: $(() => [
670
+ content: P(() => [
671
671
  Q("div", {
672
672
  class: V(d(l).e("collapse-tags"))
673
673
  }, [
674
- (C(!0), D(be, null, Ce(re.value.slice(
674
+ (C(!0), D(be, null, Ce(ae.value.slice(
675
675
  e.maxCollapseTags
676
676
  ), (m, O) => (C(), D("div", {
677
677
  key: O,
678
678
  class: V(d(l).e("collapse-tag"))
679
679
  }, [
680
- (C(), R(d(_e), {
680
+ (C(), R(d(He), {
681
681
  key: m.key,
682
682
  class: "in-tooltip",
683
683
  type: e.tagType,
@@ -685,9 +685,9 @@ const En = (t) => /([\uAC00-\uD7AF\u3130-\u318F])+/gi.test(t), wn = Wt(he(ge({},
685
685
  hit: m.hitState,
686
686
  closable: m.closable,
687
687
  "disable-transitions": "",
688
- onClose: (N) => pe(m)
688
+ onClose: (N) => de(m)
689
689
  }, {
690
- default: $(() => [
690
+ default: P(() => [
691
691
  Q("span", null, Y(m.text), 1)
692
692
  ]),
693
693
  _: 2
@@ -700,15 +700,15 @@ const En = (t) => /([\uAC00-\uD7AF\u3130-\u318F])+/gi.test(t), wn = Wt(he(ge({},
700
700
  ]),
701
701
  _: 2
702
702
  }, 1032, ["type", "size", "hit", "closable", "onClose"]))), 128)),
703
- e.filterable && !B.value ? oe((C(), D("input", {
703
+ e.filterable && !B.value ? ye((C(), D("input", {
704
704
  key: 0,
705
705
  "onUpdate:modelValue": n[2] || (n[2] = (o) => w.value = o),
706
706
  type: "text",
707
707
  class: V(d(l).e("search-input")),
708
- placeholder: ue.value ? "" : xe.value,
709
- onInput: n[3] || (n[3] = (o) => me(w.value, o)),
708
+ placeholder: ie.value ? "" : xe.value,
709
+ onInput: n[3] || (n[3] = (o) => ve(w.value, o)),
710
710
  onClick: n[4] || (n[4] = ke((o) => S(!0), ["stop"])),
711
- onKeydown: Pt(vt, ["delete"]),
711
+ onKeydown: Pt(ft, ["delete"]),
712
712
  onCompositionstart: _,
713
713
  onCompositionupdate: _,
714
714
  onCompositionend: _,
@@ -716,14 +716,14 @@ const En = (t) => /([\uAC00-\uD7AF\u3130-\u318F])+/gi.test(t), wn = Wt(he(ge({},
716
716
  onBlur: We
717
717
  }, null, 42, Pn)), [
718
718
  [$t, w.value]
719
- ]) : le("", !0)
720
- ], 2)) : le("", !0)
719
+ ]) : oe("", !0)
720
+ ], 2)) : oe("", !0)
721
721
  ], 38)), [
722
722
  [d(Jt), () => S(!1), Ie.value]
723
723
  ])
724
724
  ]),
725
- content: $(() => [
726
- oe(U(At, {
725
+ content: P(() => [
726
+ ye(U(At, {
727
727
  ref_key: "cascaderPanelRef",
728
728
  ref: T,
729
729
  inputWidth: ee.value,
@@ -733,37 +733,37 @@ const En = (t) => /([\uAC00-\uD7AF\u3130-\u318F])+/gi.test(t), wn = Wt(he(ge({},
733
733
  props: r.props,
734
734
  border: !1,
735
735
  "render-label": e.$slots.default,
736
- onExpandChange: ut,
736
+ onExpandChange: it,
737
737
  onClose: n[9] || (n[9] = (o) => e.$nextTick(() => S(!1)))
738
738
  }, null, 8, ["inputWidth", "modelValue", "options", "props", "render-label"]), [
739
- [Re, !P.value]
739
+ [wt, !$.value]
740
740
  ]),
741
- e.filterable ? oe((C(), R(d(Gt), {
741
+ e.filterable ? (C(), R(d(Gt), {
742
742
  key: 0,
743
743
  ref_key: "suggestionPanel",
744
744
  ref: K,
745
745
  tag: "ul",
746
746
  class: V(d(l).e("suggestion-panel")),
747
747
  "view-class": d(l).e("suggestion-list"),
748
- onKeydown: ft
748
+ onKeydown: pt
749
749
  }, {
750
- default: $(() => [
751
- ie.value.length ? (C(!0), D(be, { key: 0 }, Ce(ie.value, (o) => (C(), D("li", {
750
+ default: P(() => [
751
+ re.value.length ? (C(!0), D(be, { key: 0 }, Ce(re.value, (o) => (C(), D("li", {
752
752
  key: o.uid,
753
753
  class: V([
754
754
  d(l).e("suggestion-item"),
755
755
  d(l).is("checked", o.checked)
756
756
  ]),
757
757
  tabindex: -1,
758
- onClick: (m) => pt(o)
758
+ onClick: (m) => dt(o)
759
759
  }, [
760
760
  Q("span", null, Y(o.text), 1),
761
761
  o.checked ? (C(), R(d(Te), { key: 0 }, {
762
- default: $(() => [
762
+ default: P(() => [
763
763
  U(d(Qt))
764
764
  ]),
765
765
  _: 1
766
- })) : le("", !0)
766
+ })) : oe("", !0)
767
767
  ], 10, $n))), 128)) : St(e.$slots, "empty", { key: 1 }, () => [
768
768
  Q("li", {
769
769
  class: V(d(l).e("empty-text"))
@@ -771,9 +771,7 @@ const En = (t) => /([\uAC00-\uD7AF\u3130-\u318F])+/gi.test(t), wn = Wt(he(ge({},
771
771
  ])
772
772
  ]),
773
773
  _: 3
774
- }, 8, ["class", "view-class"])), [
775
- [Re, P.value]
776
- ]) : le("", !0)
774
+ }, 8, ["class", "view-class"])) : oe("", !0)
777
775
  ]),
778
776
  _: 3
779
777
  }, 8, ["visible", "teleported", "popper-class", "transition"])