@yqg/permission 1.0.13 → 1.0.15

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,6 +1,6 @@
1
- import { d as se, c as P, r as he, e as y, i as to, m as ln, a as Ye, p as et, x as an, s as X, w as ie, b as Te, l as Ee, S as Pe, F as He, o as Xe, X as no, G as Be, $ as oo, E as yt, q as We, v as lo, y as Oe, K as ye, P as qe, M as ge, N as Se, L as ze, u as ae, O as ao, R as ve, U as Ae, a0 as Kt } from "./index-DbF_iwPz.js";
2
- import { _ as w, X as io, P as N, a as W, b as re, aT as ro, ap as rn, K as St, Y as je, ao as sn, aU as $e, av as Ie, aq as tt, T as so, aV as we, aW as Wt, aX as jt, aY as Ut, I as un, a8 as uo, a9 as co, aC as cn, aZ as dn, al as de, O as nt, a_ as vt, Q as xe, a$ as fn, L as mn, N as fo, d as mo, V as wt, as as po, an as vo, aD as go, b0 as ho, b1 as bo, W as Yt, ag as Ke, af as yo, ai as So, b2 as wo, b3 as Co, aj as Io, b4 as xo, b5 as Oo, b6 as $o, ar as To, aM as Ce, b7 as Eo, aO as Qe, aP as Mo } from "./yqg-permission-C7skP6Hw.js";
3
- import { B as Po, R as Ct, p as It, K, S as Ro, u as Do, F as Fo, g as No, a as Ao, C as Vo, Q as Lo } from "./apply-modal-k0PhOUNb.js";
1
+ import { d as se, c as P, r as he, e as y, i as to, m as ln, a as Ye, p as et, x as an, s as X, w as ie, b as Te, l as Ee, S as Pe, F as He, o as Xe, X as no, G as Be, $ as oo, E as yt, q as We, v as lo, y as Oe, K as ye, P as qe, M as ge, N as Se, L as ze, u as ae, O as ao, R as ve, U as Ae, a0 as Kt } from "./index-Cw_sw4Q2.js";
2
+ import { _ as C, X as io, P as N, a as W, b as re, aT as ro, ap as rn, K as St, Y as je, ao as sn, aU as $e, av as Ie, aq as tt, T as so, aV as we, aW as Wt, aX as jt, aY as Ut, I as un, a8 as uo, a9 as co, aC as cn, aZ as dn, al as de, O as nt, a_ as vt, Q as xe, a$ as fn, L as mn, N as fo, d as mo, V as wt, as as po, an as vo, aD as go, b0 as ho, b1 as bo, W as Yt, ag as Ke, af as yo, ai as So, b2 as wo, b3 as Co, aj as Io, b4 as xo, b5 as Oo, b6 as $o, ar as To, aM as Ce, b7 as Eo, aO as Qe, aP as Mo } from "./yqg-permission-D1jja6cu.js";
3
+ import { B as Po, R as Ct, p as It, K, S as Ro, u as Do, F as Fo, g as No, a as Ao, C as Vo, Q as Lo } from "./apply-modal-C7muXQrp.js";
4
4
  function Xt(e, n) {
5
5
  const {
6
6
  key: o
@@ -34,23 +34,23 @@ function Ho(e) {
34
34
  } = pn(n, !1);
35
35
  function r(d, s) {
36
36
  d.forEach((i) => {
37
- const f = i[l];
37
+ const m = i[l];
38
38
  if (s || !(u in i)) {
39
- const v = i[a];
39
+ const p = i[a];
40
40
  t.push({
41
41
  key: Xt(i, t.length),
42
42
  groupOption: s,
43
43
  data: i,
44
- label: f,
45
- value: v
44
+ label: m,
45
+ value: p
46
46
  });
47
47
  } else {
48
- let v = f;
49
- v === void 0 && o && (v = i.label), t.push({
48
+ let p = m;
49
+ p === void 0 && o && (p = i.label), t.push({
50
50
  key: Xt(i, t.length),
51
51
  group: !0,
52
52
  data: i,
53
- label: v
53
+ label: p
54
54
  }), r(i[u], !0);
55
55
  }
56
56
  });
@@ -58,7 +58,7 @@ function Ho(e) {
58
58
  return r(e, !1), t;
59
59
  }
60
60
  function gt(e) {
61
- const n = w({}, e);
61
+ const n = C({}, e);
62
62
  return "props" in n || Object.defineProperty(n, "props", {
63
63
  get() {
64
64
  return io(!1, "Return type is option instead of Option instance. Please read value directly instead of reading from `props`."), n;
@@ -74,7 +74,7 @@ function Bo(e, n) {
74
74
  if (!r)
75
75
  return [a];
76
76
  const s = a.split(r);
77
- return o = o || s.length > 1, s.reduce((i, f) => [...i, ...t(f, d)], []).filter((i) => i);
77
+ return o = o || s.length > 1, s.reduce((i, m) => [...i, ...t(m, d)], []).filter((i) => i);
78
78
  }
79
79
  const l = t(e, n);
80
80
  return o ? l : null;
@@ -173,15 +173,15 @@ const zo = (e) => {
173
173
  return l({
174
174
  getPopupElement: () => u.value
175
175
  }), () => {
176
- const r = w(w({}, e), t), {
176
+ const r = C(C({}, e), t), {
177
177
  empty: d = !1
178
178
  } = r, s = _o(r, ["empty"]), {
179
179
  visible: i,
180
- dropdownAlign: f,
181
- prefixCls: v,
182
- popupElement: S,
183
- dropdownClassName: p,
184
- dropdownStyle: C,
180
+ dropdownAlign: m,
181
+ prefixCls: p,
182
+ popupElement: w,
183
+ dropdownClassName: v,
184
+ dropdownStyle: S,
185
185
  direction: I = "ltr",
186
186
  placement: x,
187
187
  dropdownMatchSelectWidth: M,
@@ -195,15 +195,15 @@ const zo = (e) => {
195
195
  onPopupMouseEnter: U,
196
196
  onPopupFocusin: z,
197
197
  onPopupFocusout: Q
198
- } = s, G = `${v}-dropdown`;
199
- let Y = S;
198
+ } = s, G = `${p}-dropdown`;
199
+ let Y = w;
200
200
  O && (Y = O({
201
- menuNode: S,
201
+ menuNode: w,
202
202
  props: e
203
203
  }));
204
- const D = g ? `${G}-${g}` : T, L = w({
204
+ const D = g ? `${G}-${g}` : T, L = C({
205
205
  minWidth: `${R}px`
206
- }, C);
206
+ }, S);
207
207
  return typeof M == "number" ? L.width = `${M}px` : M && (L.width = `${R}px`), y(ro, W(W({}, e), {}, {
208
208
  showAction: V ? ["click"] : [],
209
209
  hideAction: V ? ["click"] : [],
@@ -211,10 +211,10 @@ const zo = (e) => {
211
211
  builtinPlacements: a.value,
212
212
  prefixCls: G,
213
213
  popupTransitionName: D,
214
- popupAlign: f,
214
+ popupAlign: m,
215
215
  popupVisible: i,
216
216
  getPopupContainer: $,
217
- popupClassName: re(p, {
217
+ popupClassName: re(v, {
218
218
  [`${G}-empty`]: d
219
219
  }),
220
220
  popupStyle: L,
@@ -340,11 +340,11 @@ const Wo = {
340
340
  tabindex: d,
341
341
  autofocus: s,
342
342
  autocomplete: i,
343
- editable: f,
344
- activeDescendantId: v,
345
- value: S,
346
- onKeydown: p,
347
- onMousedown: C,
343
+ editable: m,
344
+ activeDescendantId: p,
345
+ value: w,
346
+ onKeydown: v,
347
+ onMousedown: S,
348
348
  onChange: I,
349
349
  onPaste: x,
350
350
  onCompositionstart: M,
@@ -366,7 +366,7 @@ const Wo = {
366
366
  onCompositionend: k,
367
367
  style: ee
368
368
  } = U;
369
- return V = rn(V, w(w(w(w(w({
369
+ return V = rn(V, C(C(C(C(C({
370
370
  type: "search"
371
371
  }, U), {
372
372
  id: a,
@@ -383,19 +383,19 @@ const Wo = {
383
383
  "aria-owns": `${a}_list`,
384
384
  "aria-autocomplete": "list",
385
385
  "aria-controls": `${a}_list`,
386
- "aria-activedescendant": v
386
+ "aria-activedescendant": p
387
387
  }), F), {
388
- value: f ? S : "",
389
- readonly: !f,
390
- unselectable: f ? null : "on",
391
- style: w(w({}, ee), {
392
- opacity: f ? null : 0
388
+ value: m ? w : "",
389
+ readonly: !m,
390
+ unselectable: m ? null : "on",
391
+ style: C(C({}, ee), {
392
+ opacity: m ? null : 0
393
393
  }),
394
394
  onKeydown: (h) => {
395
- p(h), z && z(h);
395
+ v(h), z && z(h);
396
396
  },
397
397
  onMousedown: (h) => {
398
- C(h), D && D(h);
398
+ S(h), D && D(h);
399
399
  },
400
400
  onInput: (h) => {
401
401
  I(h), Q && Q(h);
@@ -489,26 +489,26 @@ const Ve = void 0, Ze = se({
489
489
  prefixCls: d,
490
490
  invalidate: s,
491
491
  item: i,
492
- renderItem: f,
493
- responsive: v,
494
- registerSize: S,
495
- itemKey: p,
496
- display: C,
492
+ renderItem: m,
493
+ responsive: p,
494
+ registerSize: w,
495
+ itemKey: v,
496
+ display: S,
497
497
  order: I,
498
498
  component: x = "div"
499
- } = e, M = Uo(e, ["prefixCls", "invalidate", "item", "renderItem", "responsive", "registerSize", "itemKey", "display", "order", "component"]), R = (r = o.default) === null || r === void 0 ? void 0 : r.call(o), O = f && i !== Ve ? f(i) : R;
499
+ } = e, M = Uo(e, ["prefixCls", "invalidate", "item", "renderItem", "responsive", "registerSize", "itemKey", "display", "order", "component"]), R = (r = o.default) === null || r === void 0 ? void 0 : r.call(o), O = m && i !== Ve ? m(i) : R;
500
500
  let g;
501
501
  s || (g = {
502
502
  opacity: l.value ? 0 : 1,
503
503
  height: l.value ? 0 : Ve,
504
504
  overflowY: l.value ? "hidden" : Ve,
505
- order: v ? I : Ve,
505
+ order: p ? I : Ve,
506
506
  pointerEvents: l.value ? "none" : Ve,
507
507
  position: l.value ? "absolute" : Ve
508
508
  });
509
509
  const T = {};
510
510
  return l.value && (T["aria-hidden"] = !0), y(Ct, {
511
- disabled: !v,
511
+ disabled: !p,
512
512
  onResize: ($) => {
513
513
  let {
514
514
  offsetWidth: F
@@ -573,9 +573,9 @@ const Yo = se({
573
573
  var a;
574
574
  if (!l.value) {
575
575
  const {
576
- component: f = "div"
577
- } = e, v = ct(e, ["component"]);
578
- return y(f, W(W({}, v), t), {
576
+ component: m = "div"
577
+ } = e, p = ct(e, ["component"]);
578
+ return y(m, W(W({}, p), t), {
579
579
  default: () => [(a = o.default) === null || a === void 0 ? void 0 : a.call(o)]
580
580
  });
581
581
  }
@@ -642,14 +642,14 @@ const ko = () => ({
642
642
  emit: t,
643
643
  slots: l
644
644
  } = n;
645
- const a = P(() => e.ssr === "full"), u = X(null), r = P(() => u.value || 0), d = X(/* @__PURE__ */ new Map()), s = X(0), i = X(0), f = X(0), v = X(null), S = X(null), p = P(() => S.value === null && a.value ? Number.MAX_SAFE_INTEGER : S.value || 0), C = X(!1), I = P(() => `${e.prefixCls}-item`), x = P(() => Math.max(s.value, i.value)), M = P(() => !!(e.data.length && e.maxCount === hn)), R = P(() => e.maxCount === bn), O = P(() => M.value || typeof e.maxCount == "number" && e.data.length > e.maxCount), g = P(() => {
645
+ const a = P(() => e.ssr === "full"), u = X(null), r = P(() => u.value || 0), d = X(/* @__PURE__ */ new Map()), s = X(0), i = X(0), m = X(0), p = X(null), w = X(null), v = P(() => w.value === null && a.value ? Number.MAX_SAFE_INTEGER : w.value || 0), S = X(!1), I = P(() => `${e.prefixCls}-item`), x = P(() => Math.max(s.value, i.value)), M = P(() => !!(e.data.length && e.maxCount === hn)), R = P(() => e.maxCount === bn), O = P(() => M.value || typeof e.maxCount == "number" && e.data.length > e.maxCount), g = P(() => {
646
646
  let D = e.data;
647
647
  return M.value ? u.value === null && a.value ? D = e.data : D = e.data.slice(0, Math.min(e.data.length, r.value / e.itemWidth)) : typeof e.maxCount == "number" && (D = e.data.slice(0, e.maxCount)), D;
648
- }), T = P(() => M.value ? e.data.slice(p.value + 1) : e.data.slice(g.value.length)), $ = (D, L) => {
648
+ }), T = P(() => M.value ? e.data.slice(v.value + 1) : e.data.slice(g.value.length)), $ = (D, L) => {
649
649
  var k;
650
650
  return typeof e.itemKey == "function" ? e.itemKey(D) : (k = e.itemKey && (D == null ? void 0 : D[e.itemKey])) !== null && k !== void 0 ? k : L;
651
651
  }, F = P(() => e.renderItem || ((D) => D)), V = (D, L) => {
652
- S.value = D, L || (C.value = D < e.data.length - 1, t("visibleChange", D));
652
+ w.value = D, L || (S.value = D < e.data.length - 1, t("visibleChange", D));
653
653
  }, U = (D, L) => {
654
654
  u.value = L.clientWidth;
655
655
  }, z = (D, L) => {
@@ -658,14 +658,14 @@ const ko = () => ({
658
658
  }, Q = (D, L) => {
659
659
  s.value = i.value, i.value = L;
660
660
  }, G = (D, L) => {
661
- f.value = L;
661
+ m.value = L;
662
662
  }, Y = (D) => d.value.get($(g.value[D], D));
663
- return ie([r, d, i, f, () => e.itemKey, g], () => {
663
+ return ie([r, d, i, m, () => e.itemKey, g], () => {
664
664
  if (r.value && x.value && g.value) {
665
- let D = f.value;
665
+ let D = m.value;
666
666
  const L = g.value.length, k = L - 1;
667
667
  if (!L) {
668
- V(0), v.value = null;
668
+ V(0), p.value = null;
669
669
  return;
670
670
  }
671
671
  for (let ee = 0; ee < L; ee += 1) {
@@ -677,17 +677,17 @@ const ko = () => ({
677
677
  if (D += h, // Only one means `totalWidth` is the final width
678
678
  k === 0 && D <= r.value || // Last two width will be the final width
679
679
  ee === k - 1 && D + Y(k) <= r.value) {
680
- V(k), v.value = null;
680
+ V(k), p.value = null;
681
681
  break;
682
682
  } else if (D + x.value > r.value) {
683
- V(ee - 1), v.value = D - h - f.value + i.value;
683
+ V(ee - 1), p.value = D - h - m.value + i.value;
684
684
  break;
685
685
  }
686
686
  }
687
- e.suffix && Y(0) + f.value > r.value && (v.value = null);
687
+ e.suffix && Y(0) + m.value > r.value && (p.value = null);
688
688
  }
689
689
  }), () => {
690
- const D = C.value && !!T.value.length, {
690
+ const D = S.value && !!T.value.length, {
691
691
  itemComponent: L,
692
692
  renderRawItem: k,
693
693
  renderRawRest: ee,
@@ -702,9 +702,9 @@ const ko = () => ({
702
702
  style: ne
703
703
  } = o, me = Xo(o, ["class", "style"]);
704
704
  let pe = {};
705
- v.value !== null && M.value && (pe = {
705
+ p.value !== null && M.value && (pe = {
706
706
  position: "absolute",
707
- left: `${v.value}px`,
707
+ left: `${p.value}px`,
708
708
  top: 0
709
709
  });
710
710
  const b = {
@@ -716,12 +716,12 @@ const ko = () => ({
716
716
  const J = $(_, q);
717
717
  return y(ht, {
718
718
  key: J,
719
- value: w(w({}, b), {
719
+ value: C(C({}, b), {
720
720
  order: q,
721
721
  item: _,
722
722
  itemKey: J,
723
723
  registerSize: z,
724
- display: q <= p.value
724
+ display: q <= v.value
725
725
  })
726
726
  }, {
727
727
  default: () => [k(_, q)]
@@ -735,25 +735,25 @@ const ko = () => ({
735
735
  renderItem: F.value,
736
736
  itemKey: J,
737
737
  registerSize: z,
738
- display: q <= p.value
738
+ display: q <= v.value
739
739
  }), null);
740
740
  };
741
- let m = () => null;
741
+ let f = () => null;
742
742
  const A = {
743
- order: D ? p.value : Number.MAX_SAFE_INTEGER,
743
+ order: D ? v.value : Number.MAX_SAFE_INTEGER,
744
744
  className: `${I.value} ${I.value}-rest`,
745
745
  registerSize: Q,
746
746
  display: D
747
747
  };
748
748
  if (ee)
749
- ee && (m = () => y(ht, {
750
- value: w(w({}, b), A)
749
+ ee && (f = () => y(ht, {
750
+ value: C(C({}, b), A)
751
751
  }, {
752
752
  default: () => [ee(T.value)]
753
753
  }));
754
754
  else {
755
755
  const _ = h || Go;
756
- m = () => y(Ze, W(W({}, b), A), {
756
+ f = () => y(Ze, W(W({}, b), A), {
757
757
  default: () => typeof _ == "function" ? _(T.value) : _
758
758
  });
759
759
  }
@@ -766,8 +766,8 @@ const ko = () => ({
766
766
  onMousedown: oe,
767
767
  role: e.role
768
768
  }, me), {
769
- default: () => [g.value.map(c), O.value ? m() : null, j && y(Ze, W(W({}, b), {}, {
770
- order: p.value,
769
+ default: () => [g.value.map(c), O.value ? f() : null, j && y(Ze, W(W({}, b), {}, {
770
+ order: v.value,
771
771
  class: `${I.value}-suffix`,
772
772
  registerSize: G,
773
773
  display: !0,
@@ -855,15 +855,15 @@ const Qo = {
855
855
  immediate: !0
856
856
  });
857
857
  });
858
- function s(p, C, I, x, M) {
858
+ function s(v, S, I, x, M) {
859
859
  return y("span", {
860
860
  class: re(`${a.value}-item`, {
861
861
  [`${a.value}-item-disabled`]: I
862
862
  }),
863
- title: typeof p == "string" || typeof p == "number" ? p.toString() : void 0
863
+ title: typeof v == "string" || typeof v == "number" ? v.toString() : void 0
864
864
  }, [y("span", {
865
865
  class: `${a.value}-item-content`
866
- }, [C]), x && y(De, {
866
+ }, [S]), x && y(De, {
867
867
  class: `${a.value}-item-remove`,
868
868
  onMousedown: Gt,
869
869
  onClick: M,
@@ -872,31 +872,31 @@ const Qo = {
872
872
  default: () => [Pe("×")]
873
873
  })]);
874
874
  }
875
- function i(p, C, I, x, M, R) {
875
+ function i(v, S, I, x, M, R) {
876
876
  var O;
877
877
  const g = ($) => {
878
878
  Gt($), e.onToggleOpen(!open);
879
879
  };
880
880
  let T = R;
881
- return l.keyEntities && (T = ((O = l.keyEntities[p]) === null || O === void 0 ? void 0 : O.node) || {}), y("span", {
882
- key: p,
881
+ return l.keyEntities && (T = ((O = l.keyEntities[v]) === null || O === void 0 ? void 0 : O.node) || {}), y("span", {
882
+ key: v,
883
883
  onMousedown: g
884
884
  }, [e.tagRender({
885
- label: C,
886
- value: p,
885
+ label: S,
886
+ value: v,
887
887
  disabled: I,
888
888
  closable: x,
889
889
  onClose: M,
890
890
  option: T
891
891
  })]);
892
892
  }
893
- function f(p) {
893
+ function m(v) {
894
894
  const {
895
- disabled: C,
895
+ disabled: S,
896
896
  label: I,
897
897
  value: x,
898
898
  option: M
899
- } = p, R = !e.disabled && !C;
899
+ } = v, R = !e.disabled && !S;
900
900
  let O = I;
901
901
  if (typeof e.maxTagTextLength == "number" && (typeof I == "string" || typeof I == "number")) {
902
902
  const T = String(O);
@@ -904,24 +904,24 @@ const Qo = {
904
904
  }
905
905
  const g = (T) => {
906
906
  var $;
907
- T && T.stopPropagation(), ($ = e.onRemove) === null || $ === void 0 || $.call(e, p);
907
+ T && T.stopPropagation(), ($ = e.onRemove) === null || $ === void 0 || $.call(e, v);
908
908
  };
909
- return typeof e.tagRender == "function" ? i(x, O, C, R, g, M) : s(I, O, C, R, g);
909
+ return typeof e.tagRender == "function" ? i(x, O, S, R, g, M) : s(I, O, S, R, g);
910
910
  }
911
- function v(p) {
911
+ function p(v) {
912
912
  const {
913
- maxTagPlaceholder: C = (x) => `+ ${x.length} ...`
914
- } = e, I = typeof C == "function" ? C(p) : C;
913
+ maxTagPlaceholder: S = (x) => `+ ${x.length} ...`
914
+ } = e, I = typeof S == "function" ? S(v) : S;
915
915
  return s(I, I, !1);
916
916
  }
917
- const S = (p) => {
918
- const C = p.target.composing;
919
- d.value = p.target.value, C || e.onInputChange(p);
917
+ const w = (v) => {
918
+ const S = v.target.composing;
919
+ d.value = v.target.value, S || e.onInputChange(v);
920
920
  };
921
921
  return () => {
922
922
  const {
923
- id: p,
924
- prefixCls: C,
923
+ id: v,
924
+ prefixCls: S,
925
925
  values: I,
926
926
  open: x,
927
927
  inputRef: M,
@@ -946,8 +946,8 @@ const Qo = {
946
946
  }, [y(vn, {
947
947
  inputRef: M,
948
948
  open: x,
949
- prefixCls: C,
950
- id: p,
949
+ prefixCls: S,
950
+ id: v,
951
951
  inputElement: null,
952
952
  disabled: O,
953
953
  autofocus: g,
@@ -957,7 +957,7 @@ const Qo = {
957
957
  value: d.value,
958
958
  onKeydown: z,
959
959
  onMousedown: Q,
960
- onChange: S,
960
+ onChange: w,
961
961
  onPaste: U,
962
962
  onCompositionstart: G,
963
963
  onCompositionend: Y,
@@ -972,8 +972,8 @@ const Qo = {
972
972
  }, [d.value, Pe(" ")])]), L = y(ot, {
973
973
  prefixCls: `${a.value}-overflow`,
974
974
  data: I,
975
- renderItem: f,
976
- renderRest: v,
975
+ renderItem: m,
976
+ renderRest: p,
977
977
  suffix: D,
978
978
  itemKey: "key",
979
979
  maxCount: e.maxTagCount,
@@ -1057,10 +1057,10 @@ const Qo = {
1057
1057
  i.target.composing || (n.value = !0, e.onInputChange(i));
1058
1058
  };
1059
1059
  return () => {
1060
- var i, f, v, S;
1060
+ var i, m, p, w;
1061
1061
  const {
1062
- inputElement: p,
1063
- prefixCls: C,
1062
+ inputElement: v,
1063
+ prefixCls: S,
1064
1064
  id: I,
1065
1065
  values: x,
1066
1066
  inputRef: M,
@@ -1079,18 +1079,18 @@ const Qo = {
1079
1079
  } = e, D = x[0];
1080
1080
  let L = null;
1081
1081
  if (D && a.customSlots) {
1082
- const k = (i = D.key) !== null && i !== void 0 ? i : D.value, ee = ((f = a.keyEntities[k]) === null || f === void 0 ? void 0 : f.node) || {};
1083
- L = a.customSlots[(v = ee.slots) === null || v === void 0 ? void 0 : v.title] || a.customSlots.title || D.label, typeof L == "function" && (L = L(ee));
1082
+ const k = (i = D.key) !== null && i !== void 0 ? i : D.value, ee = ((m = a.keyEntities[k]) === null || m === void 0 ? void 0 : m.node) || {};
1083
+ L = a.customSlots[(p = ee.slots) === null || p === void 0 ? void 0 : p.title] || a.customSlots.title || D.label, typeof L == "function" && (L = L(ee));
1084
1084
  } else
1085
1085
  L = V && D ? V(D.option) : D == null ? void 0 : D.label;
1086
1086
  return y(He, null, [y("span", {
1087
- class: `${C}-selection-search`
1087
+ class: `${S}-selection-search`
1088
1088
  }, [y(vn, {
1089
1089
  inputRef: M,
1090
- prefixCls: C,
1090
+ prefixCls: S,
1091
1091
  id: I,
1092
1092
  open: $,
1093
- inputElement: p,
1093
+ inputElement: v,
1094
1094
  disabled: R,
1095
1095
  autofocus: O,
1096
1096
  autocomplete: g,
@@ -1106,10 +1106,10 @@ const Qo = {
1106
1106
  tabindex: F,
1107
1107
  attrs: It(e, !0)
1108
1108
  }, null)]), !o.value && D && !u.value && y("span", {
1109
- class: `${C}-selection-item`,
1109
+ class: `${S}-selection-item`,
1110
1110
  title: r.value
1111
1111
  }, [y(He, {
1112
- key: (S = D.key) !== null && S !== void 0 ? S : D.value
1112
+ key: (w = D.key) !== null && w !== void 0 ? w : D.value
1113
1113
  }, [L])]), d()]);
1114
1114
  };
1115
1115
  }
@@ -1245,11 +1245,11 @@ const tl = se({
1245
1245
  let s = null;
1246
1246
  const i = (x) => {
1247
1247
  e.onSearch(x, !0, l.value) !== !1 && e.onToggleOpen(!0);
1248
- }, f = () => {
1248
+ }, m = () => {
1249
1249
  l.value = !0;
1250
- }, v = (x) => {
1250
+ }, p = (x) => {
1251
1251
  l.value = !1, e.mode !== "combobox" && i(x.target.value);
1252
- }, S = (x) => {
1252
+ }, w = (x) => {
1253
1253
  let {
1254
1254
  target: {
1255
1255
  value: M
@@ -1260,12 +1260,12 @@ const tl = se({
1260
1260
  M = M.replace(R, s);
1261
1261
  }
1262
1262
  s = null, i(M);
1263
- }, p = (x) => {
1263
+ }, v = (x) => {
1264
1264
  const {
1265
1265
  clipboardData: M
1266
1266
  } = x;
1267
1267
  s = M.getData("text");
1268
- }, C = (x) => {
1268
+ }, S = (x) => {
1269
1269
  let {
1270
1270
  target: M
1271
1271
  } = x;
@@ -1292,16 +1292,16 @@ const tl = se({
1292
1292
  inputRef: t,
1293
1293
  onInputKeyDown: r,
1294
1294
  onInputMouseDown: d,
1295
- onInputChange: S,
1296
- onInputPaste: p,
1295
+ onInputChange: w,
1296
+ onInputPaste: v,
1297
1297
  compositionStatus: l.value,
1298
- onInputCompositionStart: f,
1299
- onInputCompositionEnd: v
1298
+ onInputCompositionStart: m,
1299
+ onInputCompositionEnd: p
1300
1300
  }, g = R === "multiple" || R === "tags" ? y(Jo, W(W({}, e), O), null) : y(Ot, W(W({}, e), O), null);
1301
1301
  return y("div", {
1302
1302
  ref: M,
1303
1303
  class: `${x}-selector`,
1304
- onClick: C,
1304
+ onClick: S,
1305
1305
  onMousedown: I
1306
1306
  }, [g]);
1307
1307
  };
@@ -1523,7 +1523,7 @@ const sl = ["value", "onChange", "removeIcon", "placeholder", "autofocus", "maxT
1523
1523
  onMouseenter: Function,
1524
1524
  onMouseleave: Function,
1525
1525
  onClick: Function
1526
- }), cl = () => w(w({}, ul()), Cn());
1526
+ }), cl = () => C(C({}, ul()), Cn());
1527
1527
  function $t(e) {
1528
1528
  return e === "tags" || e === "multiple";
1529
1529
  }
@@ -1547,27 +1547,27 @@ const dl = se({
1547
1547
  Ee(() => {
1548
1548
  r.value = il();
1549
1549
  });
1550
- const d = xt(), s = X(null), i = Ue(), f = X(null), v = X(null), S = X(null), p = he(!1), [C, I, x] = ol();
1550
+ const d = xt(), s = X(null), i = Ue(), m = X(null), p = X(null), w = X(null), v = he(!1), [S, I, x] = ol();
1551
1551
  t({
1552
1552
  focus: () => {
1553
1553
  var c;
1554
- (c = v.value) === null || c === void 0 || c.focus();
1554
+ (c = p.value) === null || c === void 0 || c.focus();
1555
1555
  },
1556
1556
  blur: () => {
1557
1557
  var c;
1558
- (c = v.value) === null || c === void 0 || c.blur();
1558
+ (c = p.value) === null || c === void 0 || c.blur();
1559
1559
  },
1560
1560
  scrollTo: (c) => {
1561
- var m;
1562
- return (m = S.value) === null || m === void 0 ? void 0 : m.scrollTo(c);
1561
+ var f;
1562
+ return (f = w.value) === null || f === void 0 ? void 0 : f.scrollTo(c);
1563
1563
  }
1564
1564
  });
1565
1565
  const O = P(() => {
1566
1566
  var c;
1567
1567
  if (e.mode !== "combobox")
1568
1568
  return e.searchValue;
1569
- const m = (c = e.displayValues[0]) === null || c === void 0 ? void 0 : c.value;
1570
- return typeof m == "string" || typeof m == "number" ? String(m) : "";
1569
+ const f = (c = e.displayValues[0]) === null || c === void 0 ? void 0 : c.value;
1570
+ return typeof f == "string" || typeof f == "number" ? String(f) : "";
1571
1571
  }), g = e.open !== void 0 ? e.open : e.defaultOpen, T = X(g), $ = X(g), F = (c) => {
1572
1572
  T.value = e.open !== void 0 ? e.open : c, $.value = T.value;
1573
1573
  };
@@ -1579,21 +1579,21 @@ const dl = se({
1579
1579
  $.value = T.value, (e.disabled || V.value && $.value && e.mode === "combobox") && ($.value = !1);
1580
1580
  });
1581
1581
  const U = P(() => V.value ? !1 : $.value), z = (c) => {
1582
- const m = c !== void 0 ? c : !$.value;
1583
- $.value !== m && !e.disabled && (F(m), e.onDropdownVisibleChange && e.onDropdownVisibleChange(m));
1582
+ const f = c !== void 0 ? c : !$.value;
1583
+ $.value !== f && !e.disabled && (F(f), e.onDropdownVisibleChange && e.onDropdownVisibleChange(f));
1584
1584
  }, Q = P(() => (e.tokenSeparators || []).some((c) => [`
1585
1585
  `, `\r
1586
- `].includes(c))), G = (c, m, A) => {
1586
+ `].includes(c))), G = (c, f, A) => {
1587
1587
  var E, _;
1588
1588
  let q = !0, J = c;
1589
1589
  (E = e.onActiveValueChange) === null || E === void 0 || E.call(e, null);
1590
1590
  const le = A ? null : Bo(c, e.tokenSeparators);
1591
1591
  return e.mode !== "combobox" && le && (J = "", (_ = e.onSearchSplit) === null || _ === void 0 || _.call(e, le), z(!1), q = !1), e.onSearch && O.value !== J && e.onSearch(J, {
1592
- source: m ? "typing" : "effect"
1592
+ source: f ? "typing" : "effect"
1593
1593
  }), q;
1594
1594
  }, Y = (c) => {
1595
- var m;
1596
- !c || !c.trim() || (m = e.onSearch) === null || m === void 0 || m.call(e, c, {
1595
+ var f;
1596
+ !c || !c.trim() || (f = e.onSearch) === null || f === void 0 || f.call(e, c, {
1597
1597
  source: "submit"
1598
1598
  });
1599
1599
  };
@@ -1603,12 +1603,12 @@ const dl = se({
1603
1603
  immediate: !0,
1604
1604
  flush: "post"
1605
1605
  }), ie(() => e.disabled, () => {
1606
- T.value && e.disabled && F(!1), e.disabled && !p.value && I(!1);
1606
+ T.value && e.disabled && F(!1), e.disabled && !v.value && I(!1);
1607
1607
  }, {
1608
1608
  immediate: !0
1609
1609
  });
1610
1610
  const [D, L] = yn(), k = function(c) {
1611
- var m;
1611
+ var f;
1612
1612
  const A = D(), {
1613
1613
  which: E
1614
1614
  } = c;
@@ -1629,22 +1629,22 @@ const dl = se({
1629
1629
  }
1630
1630
  for (var _ = arguments.length, q = new Array(_ > 1 ? _ - 1 : 0), J = 1; J < _; J++)
1631
1631
  q[J - 1] = arguments[J];
1632
- $.value && S.value && S.value.onKeydown(c, ...q), (m = e.onKeydown) === null || m === void 0 || m.call(e, c, ...q);
1632
+ $.value && w.value && w.value.onKeydown(c, ...q), (f = e.onKeydown) === null || f === void 0 || f.call(e, c, ...q);
1633
1633
  }, ee = function(c) {
1634
- for (var m = arguments.length, A = new Array(m > 1 ? m - 1 : 0), E = 1; E < m; E++)
1634
+ for (var f = arguments.length, A = new Array(f > 1 ? f - 1 : 0), E = 1; E < f; E++)
1635
1635
  A[E - 1] = arguments[E];
1636
- $.value && S.value && S.value.onKeyup(c, ...A), e.onKeyup && e.onKeyup(c, ...A);
1636
+ $.value && w.value && w.value.onKeyup(c, ...A), e.onKeyup && e.onKeyup(c, ...A);
1637
1637
  }, h = (c) => {
1638
- const m = e.displayValues.filter((A) => A !== c);
1639
- e.onDisplayValuesChange(m, {
1638
+ const f = e.displayValues.filter((A) => A !== c);
1639
+ e.onDisplayValuesChange(f, {
1640
1640
  type: "remove",
1641
1641
  values: [c]
1642
1642
  });
1643
1643
  }, H = X(!1), j = function() {
1644
1644
  I(!0), e.disabled || (e.onFocus && !H.value && e.onFocus(...arguments), e.showAction && e.showAction.includes("focus") && z(!0)), H.value = !0;
1645
1645
  }, B = he(!1), te = function() {
1646
- if (B.value || (p.value = !0, I(!1, () => {
1647
- H.value = !1, p.value = !1, z(!1);
1646
+ if (B.value || (v.value = !0, I(!1, () => {
1647
+ H.value = !1, v.value = !1, z(!1);
1648
1648
  }), e.disabled))
1649
1649
  return;
1650
1650
  const c = O.value;
@@ -1669,15 +1669,15 @@ const dl = se({
1669
1669
  ne.forEach((c) => clearTimeout(c)), ne.splice(0, ne.length);
1670
1670
  });
1671
1671
  const me = function(c) {
1672
- var m, A;
1672
+ var f, A;
1673
1673
  const {
1674
1674
  target: E
1675
- } = c, _ = (m = f.value) === null || m === void 0 ? void 0 : m.getPopupElement();
1675
+ } = c, _ = (f = m.value) === null || f === void 0 ? void 0 : f.getPopupElement();
1676
1676
  if (_ && _.contains(E)) {
1677
1677
  const Z = setTimeout(() => {
1678
1678
  var ce;
1679
1679
  const fe = ne.indexOf(Z);
1680
- fe !== -1 && ne.splice(fe, 1), x(), !r.value && !_.contains(document.activeElement) && ((ce = v.value) === null || ce === void 0 || ce.focus());
1680
+ fe !== -1 && ne.splice(fe, 1), x(), !r.value && !_.contains(document.activeElement) && ((ce = p.value) === null || ce === void 0 || ce.focus());
1681
1681
  });
1682
1682
  ne.push(Z);
1683
1683
  }
@@ -1690,22 +1690,22 @@ const dl = se({
1690
1690
  ie(U, () => {
1691
1691
  var c;
1692
1692
  if (U.value) {
1693
- const m = Math.ceil((c = s.value) === null || c === void 0 ? void 0 : c.offsetWidth);
1694
- pe.value !== m && !Number.isNaN(m) && (pe.value = m);
1693
+ const f = Math.ceil((c = s.value) === null || c === void 0 ? void 0 : c.offsetWidth);
1694
+ pe.value !== f && !Number.isNaN(f) && (pe.value = f);
1695
1695
  }
1696
1696
  }, {
1697
1697
  immediate: !0,
1698
1698
  flush: "post"
1699
1699
  });
1700
- }), nl([s, f], U, z), ll(wn(w(w({}, oo(e)), {
1700
+ }), nl([s, m], U, z), ll(wn(C(C({}, oo(e)), {
1701
1701
  open: $,
1702
1702
  triggerOpen: U,
1703
1703
  showSearch: u,
1704
1704
  multiple: a,
1705
1705
  toggleOpen: z
1706
1706
  }))), () => {
1707
- const c = w(w({}, e), o), {
1708
- prefixCls: m,
1707
+ const c = C(C({}, e), o), {
1708
+ prefixCls: f,
1709
1709
  id: A,
1710
1710
  open: E,
1711
1711
  defaultOpen: _,
@@ -1756,7 +1756,7 @@ const dl = se({
1756
1756
  activeDescendantId: Xn,
1757
1757
  activeValue: Gn,
1758
1758
  OptionList: kn
1759
- } = c, qn = rl(c, ["prefixCls", "id", "open", "defaultOpen", "mode", "showSearch", "searchValue", "onSearch", "allowClear", "clearIcon", "showArrow", "inputIcon", "disabled", "loading", "getInputElement", "getPopupContainer", "placement", "animation", "transitionName", "dropdownStyle", "dropdownClassName", "dropdownMatchSelectWidth", "dropdownRender", "dropdownAlign", "showAction", "direction", "tokenSeparators", "tagRender", "optionLabelRender", "onPopupScroll", "onDropdownVisibleChange", "onFocus", "onBlur", "onKeyup", "onKeydown", "onMousedown", "onClear", "omitDomProps", "getRawInputElement", "displayValues", "onDisplayValuesChange", "emptyOptions", "activeDescendantId", "activeValue", "OptionList"]), At = q === "combobox" && Ft && Ft() || null, _e = typeof Nt == "function" && Nt(), st = w({}, qn);
1759
+ } = c, qn = rl(c, ["prefixCls", "id", "open", "defaultOpen", "mode", "showSearch", "searchValue", "onSearch", "allowClear", "clearIcon", "showArrow", "inputIcon", "disabled", "loading", "getInputElement", "getPopupContainer", "placement", "animation", "transitionName", "dropdownStyle", "dropdownClassName", "dropdownMatchSelectWidth", "dropdownRender", "dropdownAlign", "showAction", "direction", "tokenSeparators", "tagRender", "optionLabelRender", "onPopupScroll", "onDropdownVisibleChange", "onFocus", "onBlur", "onKeyup", "onKeydown", "onMousedown", "onClear", "omitDomProps", "getRawInputElement", "displayValues", "onDisplayValuesChange", "emptyOptions", "activeDescendantId", "activeValue", "OptionList"]), At = q === "combobox" && Ft && Ft() || null, _e = typeof Nt == "function" && Nt(), st = C({}, qn);
1760
1760
  let Vt;
1761
1761
  _e && (Vt = (Me) => {
1762
1762
  z(Me);
@@ -1768,15 +1768,15 @@ const dl = se({
1768
1768
  const Lt = Ge !== void 0 ? Ge : Ne || !a.value && q !== "combobox";
1769
1769
  let Ht;
1770
1770
  Lt && (Ht = y(De, {
1771
- class: re(`${m}-arrow`, {
1772
- [`${m}-arrow-loading`]: Ne
1771
+ class: re(`${f}-arrow`, {
1772
+ [`${f}-arrow-loading`]: Ne
1773
1773
  }),
1774
1774
  customizeIcon: at,
1775
1775
  customizeIconProps: {
1776
1776
  loading: Ne,
1777
1777
  searchValue: O.value,
1778
1778
  open: $.value,
1779
- focused: C.value,
1779
+ focused: S.value,
1780
1780
  showSearch: u.value
1781
1781
  }
1782
1782
  }, null));
@@ -1788,31 +1788,31 @@ const dl = se({
1788
1788
  }), G("", !1, !1);
1789
1789
  };
1790
1790
  !Fe && ce && (ke.length || O.value) && (Bt = y(De, {
1791
- class: `${m}-clear`,
1791
+ class: `${f}-clear`,
1792
1792
  onMousedown: Qn,
1793
1793
  customizeIcon: fe
1794
1794
  }, {
1795
1795
  default: () => [Pe("×")]
1796
1796
  }));
1797
1797
  const Jn = y(kn, {
1798
- ref: S
1799
- }, w(w({}, d.customSlots), {
1798
+ ref: w
1799
+ }, C(C({}, d.customSlots), {
1800
1800
  option: l.option
1801
- })), Zn = re(m, o.class, {
1802
- [`${m}-focused`]: C.value,
1803
- [`${m}-multiple`]: a.value,
1804
- [`${m}-single`]: !a.value,
1805
- [`${m}-allow-clear`]: ce,
1806
- [`${m}-show-arrow`]: Lt,
1807
- [`${m}-disabled`]: Fe,
1808
- [`${m}-loading`]: Ne,
1809
- [`${m}-open`]: $.value,
1810
- [`${m}-customize-input`]: At,
1811
- [`${m}-show-search`]: u.value
1801
+ })), Zn = re(f, o.class, {
1802
+ [`${f}-focused`]: S.value,
1803
+ [`${f}-multiple`]: a.value,
1804
+ [`${f}-single`]: !a.value,
1805
+ [`${f}-allow-clear`]: ce,
1806
+ [`${f}-show-arrow`]: Lt,
1807
+ [`${f}-disabled`]: Fe,
1808
+ [`${f}-loading`]: Ne,
1809
+ [`${f}-open`]: $.value,
1810
+ [`${f}-customize-input`]: At,
1811
+ [`${f}-show-search`]: u.value
1812
1812
  }), _t = y(Ko, {
1813
- ref: f,
1813
+ ref: m,
1814
1814
  disabled: Fe,
1815
- prefixCls: m,
1815
+ prefixCls: f,
1816
1816
  visible: U.value,
1817
1817
  popupElement: Jn,
1818
1818
  containerWidth: pe.value,
@@ -1837,9 +1837,9 @@ const dl = se({
1837
1837
  ref: i
1838
1838
  }, !1, !0) : y(tl, W(W({}, e), {}, {
1839
1839
  domRef: i,
1840
- prefixCls: m,
1840
+ prefixCls: f,
1841
1841
  inputElement: At,
1842
- ref: v,
1842
+ ref: p,
1843
1843
  id: A,
1844
1844
  showSearch: u.value,
1845
1845
  mode: q,
@@ -1864,7 +1864,7 @@ const dl = se({
1864
1864
  onMousedown: me,
1865
1865
  onKeydown: k,
1866
1866
  onKeyup: ee
1867
- }), [C.value && !$.value && y("span", {
1867
+ }), [S.value && !$.value && y("span", {
1868
1868
  style: {
1869
1869
  width: 0,
1870
1870
  height: 0,
@@ -1900,7 +1900,7 @@ const dl = se({
1900
1900
  height: `${o}px`,
1901
1901
  position: "relative",
1902
1902
  overflow: "hidden"
1903
- }, s = w(w({}, s), {
1903
+ }, s = C(C({}, s), {
1904
1904
  transform: `translateY(${t}px)`,
1905
1905
  position: "absolute",
1906
1906
  left: 0,
@@ -1911,9 +1911,9 @@ const dl = se({
1911
1911
  }, [y(Ct, {
1912
1912
  onResize: (i) => {
1913
1913
  let {
1914
- offsetHeight: f
1914
+ offsetHeight: m
1915
1915
  } = i;
1916
- f && a && a();
1916
+ m && a && a();
1917
1917
  }
1918
1918
  }, {
1919
1919
  default: () => [y("div", {
@@ -2044,7 +2044,7 @@ const ml = se({
2044
2044
  const {
2045
2045
  onStartMove: n
2046
2046
  } = this.$props;
2047
- w(this.state, {
2047
+ C(this.state, {
2048
2048
  dragging: !0,
2049
2049
  pageY: kt(e),
2050
2050
  startTop: this.getTop()
@@ -2161,19 +2161,19 @@ function pl(e, n, o, t) {
2161
2161
  }
2162
2162
  function s() {
2163
2163
  d(), r = Ie(() => {
2164
- l.forEach((f, v) => {
2165
- if (f && f.offsetParent) {
2164
+ l.forEach((m, p) => {
2165
+ if (m && m.offsetParent) {
2166
2166
  const {
2167
- offsetHeight: S
2168
- } = f;
2169
- a.get(v) !== S && (u.value = Symbol("update"), a.set(v, f.offsetHeight));
2167
+ offsetHeight: w
2168
+ } = m;
2169
+ a.get(p) !== w && (u.value = Symbol("update"), a.set(p, m.offsetHeight));
2170
2170
  }
2171
2171
  });
2172
2172
  });
2173
2173
  }
2174
- function i(f, v) {
2175
- const S = n(f);
2176
- l.get(S), v ? (l.set(S, v.$el || v), s()) : l.delete(S);
2174
+ function i(m, p) {
2175
+ const w = n(m);
2176
+ l.get(w), p ? (l.set(w, p.$el || p), s()) : l.delete(w);
2177
2177
  }
2178
2178
  return an(() => {
2179
2179
  d();
@@ -2187,41 +2187,41 @@ function vl(e, n, o, t, l, a, u, r) {
2187
2187
  return;
2188
2188
  }
2189
2189
  Ie.cancel(d);
2190
- const i = n.value, f = t.itemHeight;
2190
+ const i = n.value, m = t.itemHeight;
2191
2191
  if (typeof s == "number")
2192
2192
  u(s);
2193
2193
  else if (s && typeof s == "object") {
2194
- let v;
2194
+ let p;
2195
2195
  const {
2196
- align: S
2196
+ align: w
2197
2197
  } = s;
2198
2198
  "index" in s ? {
2199
- index: v
2200
- } = s : v = i.findIndex((I) => l(I) === s.key);
2199
+ index: p
2200
+ } = s : p = i.findIndex((I) => l(I) === s.key);
2201
2201
  const {
2202
- offset: p = 0
2203
- } = s, C = (I, x) => {
2202
+ offset: v = 0
2203
+ } = s, S = (I, x) => {
2204
2204
  if (I < 0 || !e.value) return;
2205
2205
  const M = e.value.clientHeight;
2206
2206
  let R = !1, O = x;
2207
2207
  if (M) {
2208
- const g = x || S;
2208
+ const g = x || w;
2209
2209
  let T = 0, $ = 0, F = 0;
2210
- const V = Math.min(i.length, v);
2210
+ const V = Math.min(i.length, p);
2211
2211
  for (let Q = 0; Q <= V; Q += 1) {
2212
2212
  const G = l(i[Q]);
2213
2213
  $ = T;
2214
2214
  const Y = o.get(G);
2215
- F = $ + (Y === void 0 ? f : Y), T = F, Q === v && Y === void 0 && (R = !0);
2215
+ F = $ + (Y === void 0 ? m : Y), T = F, Q === p && Y === void 0 && (R = !0);
2216
2216
  }
2217
2217
  const U = e.value.scrollTop;
2218
2218
  let z = null;
2219
2219
  switch (g) {
2220
2220
  case "top":
2221
- z = $ - p;
2221
+ z = $ - v;
2222
2222
  break;
2223
2223
  case "bottom":
2224
- z = F - M + p;
2224
+ z = F - M + v;
2225
2225
  break;
2226
2226
  default: {
2227
2227
  const Q = U + M;
@@ -2231,10 +2231,10 @@ function vl(e, n, o, t, l, a, u, r) {
2231
2231
  z !== null && z !== U && u(z);
2232
2232
  }
2233
2233
  d = Ie(() => {
2234
- R && a(), C(I - 1, O);
2234
+ R && a(), S(I - 1, O);
2235
2235
  }, 2);
2236
2236
  };
2237
- C(5);
2237
+ S(5);
2238
2238
  }
2239
2239
  };
2240
2240
  }
@@ -2258,18 +2258,18 @@ const gl = typeof navigator == "object" && /Firefox/i.test(navigator.userAgent),
2258
2258
  function hl(e, n, o, t) {
2259
2259
  let l = 0, a = null, u = null, r = !1;
2260
2260
  const d = xn(n, o);
2261
- function s(f) {
2261
+ function s(m) {
2262
2262
  if (!e.value) return;
2263
2263
  Ie.cancel(a);
2264
2264
  const {
2265
- deltaY: v
2266
- } = f;
2267
- l += v, u = v, !d(v) && (gl || f.preventDefault(), a = Ie(() => {
2265
+ deltaY: p
2266
+ } = m;
2267
+ l += p, u = p, !d(p) && (gl || m.preventDefault(), a = Ie(() => {
2268
2268
  t(l * (r ? 10 : 1)), l = 0;
2269
2269
  }));
2270
2270
  }
2271
- function i(f) {
2272
- e.value && (r = f.detail === u);
2271
+ function i(m) {
2272
+ e.value && (r = m.detail === u);
2273
2273
  }
2274
2274
  return [s, i];
2275
2275
  }
@@ -2278,34 +2278,34 @@ function yl(e, n, o) {
2278
2278
  let t = !1, l = 0, a = null, u = null;
2279
2279
  const r = () => {
2280
2280
  a && (a.removeEventListener("touchmove", d), a.removeEventListener("touchend", s));
2281
- }, d = (v) => {
2281
+ }, d = (p) => {
2282
2282
  if (t) {
2283
- const S = Math.ceil(v.touches[0].pageY);
2284
- let p = l - S;
2285
- l = S, o(p) && v.preventDefault(), clearInterval(u), u = setInterval(() => {
2286
- p *= bl, (!o(p, !0) || Math.abs(p) <= 0.1) && clearInterval(u);
2283
+ const w = Math.ceil(p.touches[0].pageY);
2284
+ let v = l - w;
2285
+ l = w, o(v) && p.preventDefault(), clearInterval(u), u = setInterval(() => {
2286
+ v *= bl, (!o(v, !0) || Math.abs(v) <= 0.1) && clearInterval(u);
2287
2287
  }, 16);
2288
2288
  }
2289
2289
  }, s = () => {
2290
2290
  t = !1, r();
2291
- }, i = (v) => {
2292
- r(), v.touches.length === 1 && !t && (t = !0, l = Math.ceil(v.touches[0].pageY), a = v.target, a.addEventListener("touchmove", d, {
2291
+ }, i = (p) => {
2292
+ r(), p.touches.length === 1 && !t && (t = !0, l = Math.ceil(p.touches[0].pageY), a = p.target, a.addEventListener("touchmove", d, {
2293
2293
  passive: !1
2294
2294
  }), a.addEventListener("touchend", s));
2295
- }, f = () => {
2295
+ }, m = () => {
2296
2296
  };
2297
2297
  Ee(() => {
2298
- document.addEventListener("touchmove", f, {
2298
+ document.addEventListener("touchmove", m, {
2299
2299
  passive: !1
2300
- }), ie(e, (v) => {
2301
- n.value.removeEventListener("touchstart", i), r(), clearInterval(u), v && n.value.addEventListener("touchstart", i, {
2300
+ }), ie(e, (p) => {
2301
+ n.value.removeEventListener("touchstart", i), r(), clearInterval(u), p && n.value.addEventListener("touchstart", i, {
2302
2302
  passive: !1
2303
2303
  });
2304
2304
  }, {
2305
2305
  immediate: !0
2306
2306
  });
2307
2307
  }), Xe(() => {
2308
- document.removeEventListener("touchmove", f);
2308
+ document.removeEventListener("touchmove", m);
2309
2309
  });
2310
2310
  }
2311
2311
  var Sl = function(e, n) {
@@ -2326,10 +2326,10 @@ function Il(e, n, o, t, l, a) {
2326
2326
  return e.slice(n, o + 1).map((r, d) => {
2327
2327
  const s = n + d, i = l(r, s, {
2328
2328
  // style: status === 'MEASURE_START' ? { visibility: 'hidden' } : {},
2329
- }), f = u(r);
2329
+ }), m = u(r);
2330
2330
  return y(In, {
2331
- key: f,
2332
- setRef: (v) => t(r, v)
2331
+ key: m,
2332
+ setRef: (p) => t(r, p)
2333
2333
  }, {
2334
2334
  default: () => [i]
2335
2335
  });
@@ -2403,16 +2403,16 @@ const xl = se({
2403
2403
  }, {
2404
2404
  immediate: !0
2405
2405
  });
2406
- const s = X(), i = X(), f = X(), v = (h) => d.value(h), S = {
2407
- getKey: v
2406
+ const s = X(), i = X(), m = X(), p = (h) => d.value(h), w = {
2407
+ getKey: p
2408
2408
  };
2409
- function p(h) {
2409
+ function v(h) {
2410
2410
  let H;
2411
2411
  typeof h == "function" ? H = h(a.scrollTop) : H = h;
2412
2412
  const j = T(H);
2413
2413
  s.value && (s.value.scrollTop = j), a.scrollTop = j;
2414
2414
  }
2415
- const [C, I, x, M] = pl(r, v), R = Be({
2415
+ const [S, I, x, M] = pl(r, p), R = Be({
2416
2416
  scrollHeight: void 0,
2417
2417
  start: 0,
2418
2418
  end: 0,
@@ -2429,7 +2429,7 @@ const xl = se({
2429
2429
  O.value = ((h = i.value) === null || h === void 0 ? void 0 : h.offsetHeight) || 0;
2430
2430
  });
2431
2431
  }), ie([t, r], () => {
2432
- t.value || w(R, {
2432
+ t.value || C(R, {
2433
2433
  scrollHeight: void 0,
2434
2434
  start: 0,
2435
2435
  end: r.value.length - 1,
@@ -2438,7 +2438,7 @@ const xl = se({
2438
2438
  }, {
2439
2439
  immediate: !0
2440
2440
  }), ie([t, r, O, l], () => {
2441
- t.value && !l.value && w(R, {
2441
+ t.value && !l.value && C(R, {
2442
2442
  scrollHeight: O.value,
2443
2443
  start: 0,
2444
2444
  end: r.value.length - 1,
@@ -2455,13 +2455,13 @@ const xl = se({
2455
2455
  height: me
2456
2456
  } = e, pe = ue + me;
2457
2457
  for (let b = 0; b < te; b += 1) {
2458
- const c = oe[b], m = v(c);
2459
- let A = x.get(m);
2458
+ const c = oe[b], f = p(c);
2459
+ let A = x.get(f);
2460
2460
  A === void 0 && (A = ne);
2461
2461
  const E = h + A;
2462
2462
  H === void 0 && E >= ue && (H = b, j = h), B === void 0 && E > pe && (B = b), h = E;
2463
2463
  }
2464
- H === void 0 && (H = 0, j = 0, B = Math.ceil(me / ne)), B === void 0 && (B = te - 1), B = Math.min(B + 1, te), w(R, {
2464
+ H === void 0 && (H = 0, j = 0, B = Math.ceil(me / ne)), B === void 0 && (B = te - 1), B = Math.min(B + 1, te), C(R, {
2465
2465
  scrollHeight: h,
2466
2466
  start: H,
2467
2467
  end: B,
@@ -2477,17 +2477,17 @@ const xl = se({
2477
2477
  }
2478
2478
  const $ = P(() => a.scrollTop <= 0), F = P(() => a.scrollTop >= g.value), V = xn($, F);
2479
2479
  function U(h) {
2480
- p(h);
2480
+ v(h);
2481
2481
  }
2482
2482
  function z(h) {
2483
2483
  var H;
2484
2484
  const {
2485
2485
  scrollTop: j
2486
2486
  } = h.currentTarget;
2487
- j !== a.scrollTop && p(j), (H = e.onScroll) === null || H === void 0 || H.call(e, h);
2487
+ j !== a.scrollTop && v(j), (H = e.onScroll) === null || H === void 0 || H.call(e, h);
2488
2488
  }
2489
2489
  const [Q, G] = hl(t, $, F, (h) => {
2490
- p((H) => H + h);
2490
+ v((H) => H + h);
2491
2491
  });
2492
2492
  yl(t, s, (h, H) => V(h, H) ? !1 : (Q({
2493
2493
  preventDefault() {
@@ -2511,16 +2511,16 @@ const xl = se({
2511
2511
  }), Xe(() => {
2512
2512
  D();
2513
2513
  });
2514
- const L = vl(s, r, x, e, v, I, p, () => {
2514
+ const L = vl(s, r, x, e, p, I, v, () => {
2515
2515
  var h;
2516
- (h = f.value) === null || h === void 0 || h.delayHidden();
2516
+ (h = m.value) === null || h === void 0 || h.delayHidden();
2517
2517
  });
2518
2518
  o({
2519
2519
  scrollTo: L
2520
2520
  });
2521
2521
  const k = P(() => {
2522
2522
  let h = null;
2523
- return e.height && (h = w({
2523
+ return e.height && (h = C({
2524
2524
  [e.fullHeight ? "height" : "maxHeight"]: e.height + "px"
2525
2525
  }, Cl), t.value && (h.overflowY = "hidden", a.scrollMoving && (h.pointerEvents = "none"))), h;
2526
2526
  });
@@ -2541,18 +2541,18 @@ const xl = se({
2541
2541
  useVirtual: t,
2542
2542
  calRes: R,
2543
2543
  collectHeight: I,
2544
- setInstance: C,
2545
- sharedConfig: S,
2546
- scrollBarRef: f,
2544
+ setInstance: S,
2545
+ sharedConfig: w,
2546
+ scrollBarRef: m,
2547
2547
  fillerInnerRef: i,
2548
2548
  delayHideScrollBar: () => {
2549
2549
  var h;
2550
- (h = f.value) === null || h === void 0 || h.delayHidden();
2550
+ (h = m.value) === null || h === void 0 || h.delayHidden();
2551
2551
  }
2552
2552
  };
2553
2553
  },
2554
2554
  render() {
2555
- const e = w(w({}, this.$props), this.$attrs), {
2555
+ const e = C(C({}, this.$props), this.$attrs), {
2556
2556
  prefixCls: n = "rc-virtual-list",
2557
2557
  height: o,
2558
2558
  itemHeight: t,
@@ -2564,10 +2564,10 @@ const xl = se({
2564
2564
  component: d = "div",
2565
2565
  onScroll: s,
2566
2566
  children: i = this.$slots.default,
2567
- style: f,
2568
- class: v
2569
- } = e, S = Sl(e, ["prefixCls", "height", "itemHeight", "fullHeight", "data", "itemKey", "virtual", "component", "onScroll", "children", "style", "class"]), p = re(n, v), {
2570
- scrollTop: C
2567
+ style: m,
2568
+ class: p
2569
+ } = e, w = Sl(e, ["prefixCls", "height", "itemHeight", "fullHeight", "data", "itemKey", "virtual", "component", "onScroll", "children", "style", "class"]), v = re(n, p), {
2570
+ scrollTop: S
2571
2571
  } = this.state, {
2572
2572
  scrollHeight: I,
2573
2573
  offset: x,
@@ -2585,11 +2585,11 @@ const xl = se({
2585
2585
  delayHideScrollBar: Q
2586
2586
  } = this;
2587
2587
  return y("div", W({
2588
- style: w(w({}, f), {
2588
+ style: C(C({}, m), {
2589
2589
  position: "relative"
2590
2590
  }),
2591
- class: p
2592
- }, S), [y(d, {
2591
+ class: v
2592
+ }, w), [y(d, {
2593
2593
  class: `${n}-holder`,
2594
2594
  style: O,
2595
2595
  ref: "componentRef",
@@ -2608,7 +2608,7 @@ const xl = se({
2608
2608
  }), $ && y(ml, {
2609
2609
  ref: "scrollBarRef",
2610
2610
  prefixCls: n,
2611
- scrollTop: C,
2611
+ scrollTop: S,
2612
2612
  height: o,
2613
2613
  scrollHeight: I,
2614
2614
  count: z.length,
@@ -2665,7 +2665,7 @@ const Pl = se({
2665
2665
  d.current && d.current.scrollTo(typeof g == "number" ? {
2666
2666
  index: g
2667
2667
  } : g);
2668
- }, f = function(g) {
2668
+ }, m = function(g) {
2669
2669
  let T = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 1;
2670
2670
  const $ = r.value.length;
2671
2671
  for (let F = 0; F < $; F += 1) {
@@ -2677,11 +2677,11 @@ const Pl = se({
2677
2677
  return V;
2678
2678
  }
2679
2679
  return -1;
2680
- }, v = Be({
2681
- activeIndex: f(0)
2682
- }), S = function(g) {
2680
+ }, p = Be({
2681
+ activeIndex: m(0)
2682
+ }), w = function(g) {
2683
2683
  let T = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1;
2684
- v.activeIndex = g;
2684
+ p.activeIndex = g;
2685
2685
  const $ = {
2686
2686
  source: T ? "keyboard" : "mouse"
2687
2687
  }, F = r.value[g];
@@ -2692,11 +2692,11 @@ const Pl = se({
2692
2692
  a.onActiveValue(F.value, g, $);
2693
2693
  };
2694
2694
  ie([() => r.value.length, () => l.searchValue], () => {
2695
- S(a.defaultActiveFirstOption !== !1 ? f(0) : -1);
2695
+ w(a.defaultActiveFirstOption !== !1 ? m(0) : -1);
2696
2696
  }, {
2697
2697
  immediate: !0
2698
2698
  });
2699
- const p = (g) => a.rawValues.has(g) && l.mode !== "combobox";
2699
+ const v = (g) => a.rawValues.has(g) && l.mode !== "combobox";
2700
2700
  ie([() => l.open, () => l.searchValue], () => {
2701
2701
  if (!l.multiple && l.open && a.rawValues.size === 1) {
2702
2702
  const g = Array.from(a.rawValues)[0], T = yt(r.value).findIndex(($) => {
@@ -2705,7 +2705,7 @@ const Pl = se({
2705
2705
  } = $;
2706
2706
  return F[a.fieldNames.value] === g;
2707
2707
  });
2708
- T !== -1 && (S(T), We(() => {
2708
+ T !== -1 && (w(T), We(() => {
2709
2709
  i(T);
2710
2710
  }));
2711
2711
  }
@@ -2717,7 +2717,7 @@ const Pl = se({
2717
2717
  immediate: !0,
2718
2718
  flush: "post"
2719
2719
  });
2720
- const C = (g) => {
2720
+ const S = (g) => {
2721
2721
  g !== void 0 && a.onSelect(g, {
2722
2722
  selected: !a.rawValues.has(g)
2723
2723
  }), l.multiple || l.toggleOpen(!1);
@@ -2736,7 +2736,7 @@ const Pl = se({
2736
2736
  key: g,
2737
2737
  role: V ? "presentation" : "option",
2738
2738
  id: `${l.id}_list_${g}`,
2739
- "aria-selected": p(F)
2739
+ "aria-selected": v(F)
2740
2740
  }), [F]) : null;
2741
2741
  }
2742
2742
  return o({
@@ -2752,14 +2752,14 @@ const Pl = se({
2752
2752
  case K.DOWN: {
2753
2753
  let F = 0;
2754
2754
  if (T === K.UP ? F = -1 : T === K.DOWN ? F = 1 : $l() && $ && (T === K.N ? F = 1 : T === K.P && (F = -1)), F !== 0) {
2755
- const V = f(v.activeIndex + F, F);
2756
- i(V), S(V, !0);
2755
+ const V = m(p.activeIndex + F, F);
2756
+ i(V), w(V, !0);
2757
2757
  }
2758
2758
  break;
2759
2759
  }
2760
2760
  case K.ENTER: {
2761
- const F = r.value[v.activeIndex];
2762
- F && !F.data.disabled ? C(F.value) : C(void 0), l.open && g.preventDefault();
2761
+ const F = r.value[p.activeIndex];
2762
+ F && !F.data.disabled ? S(F.value) : S(void 0), l.open && g.preventDefault();
2763
2763
  break;
2764
2764
  }
2765
2765
  case K.ESC:
@@ -2784,7 +2784,7 @@ const Pl = se({
2784
2784
  listItemHeight: Q
2785
2785
  } = a, G = t.option, {
2786
2786
  activeIndex: Y
2787
- } = v, D = Object.keys(V).map((L) => V[L]);
2787
+ } = p, D = Object.keys(V).map((L) => V[L]);
2788
2788
  return r.value.length === 0 ? y("div", {
2789
2789
  role: "listbox",
2790
2790
  id: `${g}_list`,
@@ -2833,7 +2833,7 @@ const Pl = se({
2833
2833
  style: pe,
2834
2834
  class: b,
2835
2835
  className: c
2836
- } = j, m = Ml(j, ["disabled", "title", "children", "style", "class", "className"]), A = tt(m, D), E = p(B), _ = `${u.value}-option`, q = re(u.value, _, b, c, {
2836
+ } = j, f = Ml(j, ["disabled", "title", "children", "style", "class", "className"]), A = tt(f, D), E = v(B), _ = `${u.value}-option`, q = re(u.value, _, b, c, {
2837
2837
  [`${_}-grouped`]: H,
2838
2838
  [`${_}-active`]: Y === k && !ue,
2839
2839
  [`${_}-disabled`]: ue,
@@ -2845,10 +2845,10 @@ const Pl = se({
2845
2845
  class: q,
2846
2846
  title: ce,
2847
2847
  onMousemove: (fe) => {
2848
- m.onMousemove && m.onMousemove(fe), !(Y === k || ue) && S(k);
2848
+ f.onMousemove && f.onMousemove(fe), !(Y === k || ue) && w(k);
2849
2849
  },
2850
2850
  onClick: (fe) => {
2851
- ue || C(B), m.onClick && m.onClick(fe);
2851
+ ue || S(B), f.onClick && f.onClick(fe);
2852
2852
  },
2853
2853
  style: pe
2854
2854
  }), [y("div", {
@@ -2882,7 +2882,7 @@ function Dl(e) {
2882
2882
  value: a,
2883
2883
  disabled: u
2884
2884
  } = l, r = Rl(l, ["value", "disabled"]), d = t == null ? void 0 : t.default;
2885
- return w({
2885
+ return C({
2886
2886
  key: o,
2887
2887
  value: a !== void 0 ? a : o,
2888
2888
  children: d,
@@ -2905,11 +2905,11 @@ function Tt(e) {
2905
2905
  } = t;
2906
2906
  if (n || !u)
2907
2907
  return Dl(t);
2908
- const i = d && d.default ? d.default() : void 0, f = (s == null ? void 0 : s.label) || ((a = d.label) === null || a === void 0 ? void 0 : a.call(d)) || r;
2909
- return w(w({
2908
+ const i = d && d.default ? d.default() : void 0, m = (s == null ? void 0 : s.label) || ((a = d.label) === null || a === void 0 ? void 0 : a.call(d)) || r;
2909
+ return C(C({
2910
2910
  key: `__RC_SELECT_GRP__${r === null ? l : String(r)}__`
2911
2911
  }, s), {
2912
- label: f,
2912
+ label: m,
2913
2913
  options: Tt(i || [])
2914
2914
  });
2915
2915
  }).filter((t) => t);
@@ -2923,14 +2923,14 @@ function Fl(e, n, o) {
2923
2923
  deep: !0
2924
2924
  }), Te(() => {
2925
2925
  const r = u.value, d = /* @__PURE__ */ new Map(), s = /* @__PURE__ */ new Map(), i = o.value;
2926
- function f(v) {
2927
- let S = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1;
2928
- for (let p = 0; p < v.length; p += 1) {
2929
- const C = v[p];
2930
- !C[i.options] || S ? (d.set(C[i.value], C), s.set(C[i.label], C)) : f(C[i.options], !0);
2926
+ function m(p) {
2927
+ let w = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1;
2928
+ for (let v = 0; v < p.length; v += 1) {
2929
+ const S = p[v];
2930
+ !S[i.options] || w ? (d.set(S[i.value], S), s.set(S[i.label], S)) : m(S[i.options], !0);
2931
2931
  }
2932
2932
  }
2933
- f(r), t.value = r, l.value = d, a.value = s;
2933
+ m(r), t.value = r, l.value = d, a.value = s;
2934
2934
  }), {
2935
2935
  options: t,
2936
2936
  valueOptions: l,
@@ -2965,15 +2965,15 @@ function Hl(e) {
2965
2965
  showSearch: d,
2966
2966
  onSearch: s,
2967
2967
  defaultOpen: i,
2968
- autofocus: f,
2969
- labelInValue: v,
2970
- value: S,
2971
- inputValue: p,
2972
- optionLabelProp: C
2968
+ autofocus: m,
2969
+ labelInValue: p,
2970
+ value: w,
2971
+ inputValue: v,
2972
+ optionLabelProp: S
2973
2973
  } = e, I = $t(n), x = d !== void 0 ? d : I || n === "combobox", M = o || Tt(t);
2974
- if (we(n !== "tags" || M.every((R) => !R.disabled), "Please avoid setting option to disabled in tags mode since user can always type text as tag."), we(n !== "combobox" || !C, "`combobox` mode not support `optionLabelProp`. Please set `value` on Option directly."), we(n === "combobox" || !l, "`backfill` only works with `combobox` mode."), we(n === "combobox" || !r, "`getInputElement` only work with `combobox` mode."), Wt(n !== "combobox" || !r || !a || !u, "Customize `getInputElement` should customize clear and placeholder logic instead of configuring `allowClear` and `placeholder`."), s && !x && n !== "combobox" && n !== "tags" && we(!1, "`onSearch` should work with `showSearch` instead of use alone."), Wt(!i || f, "`defaultOpen` makes Select open without focus which means it will not close by click outside. You can set `autofocus` if needed."), S != null) {
2975
- const R = Et(S);
2976
- we(!v || R.every((O) => typeof O == "object" && ("key" in O || "value" in O)), "`value` should in shape of `{ value: string | number, label?: any }` when you set `labelInValue` to `true`"), we(!I || Array.isArray(S), "`value` should be array when `mode` is `multiple` or `tags`");
2974
+ if (we(n !== "tags" || M.every((R) => !R.disabled), "Please avoid setting option to disabled in tags mode since user can always type text as tag."), we(n !== "combobox" || !S, "`combobox` mode not support `optionLabelProp`. Please set `value` on Option directly."), we(n === "combobox" || !l, "`backfill` only works with `combobox` mode."), we(n === "combobox" || !r, "`getInputElement` only work with `combobox` mode."), Wt(n !== "combobox" || !r || !a || !u, "Customize `getInputElement` should customize clear and placeholder logic instead of configuring `allowClear` and `placeholder`."), s && !x && n !== "combobox" && n !== "tags" && we(!1, "`onSearch` should work with `showSearch` instead of use alone."), Wt(!i || m, "`defaultOpen` makes Select open without focus which means it will not close by click outside. You can set `autofocus` if needed."), w != null) {
2975
+ const R = Et(w);
2976
+ we(!p || R.every((O) => typeof O == "object" && ("key" in O || "value" in O)), "`value` should in shape of `{ value: string | number, label?: any }` when you set `labelInValue` to `true`"), we(!I || Array.isArray(w), "`value` should be array when `mode` is `multiple` or `tags`");
2977
2977
  }
2978
2978
  if (t) {
2979
2979
  let R = null;
@@ -2985,7 +2985,7 @@ function Hl(e) {
2985
2985
  type: T
2986
2986
  } = O;
2987
2987
  return T.isSelectOption ? !1 : T.isSelectOptGroup ? !(((g = O.children) === null || g === void 0 ? void 0 : g.default()) || []).every((V) => !je(V) || !O.type || V.type.isSelectOption ? !0 : (R = V.type, !1)) : (R = T, !0);
2988
- }), R && we(!1, `\`children\` should be \`Select.Option\` or \`Select.OptGroup\` instead of \`${R.displayName || R.name || R}\`.`), we(p === void 0, "`inputValue` is deprecated, please use `searchValue` instead.");
2988
+ }), R && we(!1, `\`children\` should be \`Select.Option\` or \`Select.OptGroup\` instead of \`${R.displayName || R.name || R}\`.`), we(v === void 0, "`inputValue` is deprecated, please use `searchValue` instead.");
2989
2989
  }
2990
2990
  }
2991
2991
  function dt(e, n) {
@@ -2999,21 +2999,21 @@ const Bl = (e, n, o, t, l) => P(() => {
2999
2999
  options: d,
3000
3000
  label: s,
3001
3001
  value: i
3002
- } = n.value, f = [], v = typeof r == "function", S = a.toUpperCase(), p = v ? r : (I, x) => u ? dt(x[u], S) : x[d] ? dt(x[s !== "children" ? s : "label"], S) : dt(x[i], S), C = v ? (I) => gt(I) : (I) => I;
3002
+ } = n.value, m = [], p = typeof r == "function", w = a.toUpperCase(), v = p ? r : (I, x) => u ? dt(x[u], w) : x[d] ? dt(x[s !== "children" ? s : "label"], w) : dt(x[i], w), S = p ? (I) => gt(I) : (I) => I;
3003
3003
  return e.value.forEach((I) => {
3004
3004
  if (I[d]) {
3005
- if (p(a, C(I)))
3006
- f.push(I);
3005
+ if (v(a, S(I)))
3006
+ m.push(I);
3007
3007
  else {
3008
- const M = I[d].filter((R) => p(a, C(R)));
3009
- M.length && f.push(w(w({}, I), {
3008
+ const M = I[d].filter((R) => v(a, S(R)));
3009
+ M.length && m.push(C(C({}, I), {
3010
3010
  [d]: M
3011
3011
  }));
3012
3012
  }
3013
3013
  return;
3014
3014
  }
3015
- p(a, C(I)) && f.push(I);
3016
- }), f;
3015
+ v(a, S(I)) && m.push(I);
3016
+ }), m;
3017
3017
  }), _l = (e, n) => {
3018
3018
  const o = X({
3019
3019
  values: /* @__PURE__ */ new Map(),
@@ -3024,9 +3024,9 @@ const Bl = (e, n, o, t, l) => P(() => {
3024
3024
  values: a,
3025
3025
  options: u
3026
3026
  } = o.value, r = e.value.map((i) => {
3027
- var f;
3028
- return i.label === void 0 ? w(w({}, i), {
3029
- label: (f = a.get(i.value)) === null || f === void 0 ? void 0 : f.label
3027
+ var m;
3028
+ return i.label === void 0 ? C(C({}, i), {
3029
+ label: (m = a.get(i.value)) === null || m === void 0 ? void 0 : m.label
3030
3030
  }) : i;
3031
3031
  }), d = /* @__PURE__ */ new Map(), s = /* @__PURE__ */ new Map();
3032
3032
  return r.forEach((i) => {
@@ -3035,7 +3035,7 @@ const Bl = (e, n, o, t, l) => P(() => {
3035
3035
  }), (a) => n.value.get(a) || o.value.options.get(a)];
3036
3036
  }, zl = ["inputValue"];
3037
3037
  function $n() {
3038
- return w(w({}, Cn()), {
3038
+ return C(C({}, Cn()), {
3039
3039
  prefixCls: String,
3040
3040
  id: String,
3041
3041
  backfill: {
@@ -3115,18 +3115,18 @@ const Wl = se({
3115
3115
  attrs: t,
3116
3116
  slots: l
3117
3117
  } = n;
3118
- const a = Vl(Oe(e, "id")), u = P(() => $t(e.mode)), r = P(() => !!(!e.options && e.children)), d = P(() => e.filterOption === void 0 && e.mode === "combobox" ? !1 : e.filterOption), s = P(() => pn(e.fieldNames, r.value)), [i, f] = jt("", {
3118
+ const a = Vl(Oe(e, "id")), u = P(() => $t(e.mode)), r = P(() => !!(!e.options && e.children)), d = P(() => e.filterOption === void 0 && e.mode === "combobox" ? !1 : e.filterOption), s = P(() => pn(e.fieldNames, r.value)), [i, m] = jt("", {
3119
3119
  value: P(() => e.searchValue !== void 0 ? e.searchValue : e.inputValue),
3120
3120
  postState: (b) => b || ""
3121
- }), v = Fl(Oe(e, "options"), Oe(e, "children"), s), {
3122
- valueOptions: S,
3123
- labelOptions: p,
3124
- options: C
3125
- } = v, I = (b) => Et(b).map((m) => {
3121
+ }), p = Fl(Oe(e, "options"), Oe(e, "children"), s), {
3122
+ valueOptions: w,
3123
+ labelOptions: v,
3124
+ options: S
3125
+ } = p, I = (b) => Et(b).map((f) => {
3126
3126
  var A, E;
3127
3127
  let _, q, J, le;
3128
- Kl(m) ? _ = m : (J = m.key, q = m.label, _ = (A = m.value) !== null && A !== void 0 ? A : J);
3129
- const Z = S.value.get(_);
3128
+ Kl(f) ? _ = f : (J = f.key, q = f.label, _ = (A = f.value) !== null && A !== void 0 ? A : J);
3129
+ const Z = w.value.get(_);
3130
3130
  return Z && (q === void 0 && (q = Z == null ? void 0 : Z[e.optionLabelProp || s.value.label]), J === void 0 && (J = (E = Z == null ? void 0 : Z.key) !== null && E !== void 0 ? E : _), le = Z == null ? void 0 : Z.disabled), {
3131
3131
  label: q,
3132
3132
  value: _,
@@ -3140,7 +3140,7 @@ const Wl = se({
3140
3140
  var b;
3141
3141
  const c = I(x.value);
3142
3142
  return e.mode === "combobox" && !(!((b = c[0]) === null || b === void 0) && b.value) ? [] : c;
3143
- }), [O, g] = _l(R, S), T = P(() => {
3143
+ }), [O, g] = _l(R, w), T = P(() => {
3144
3144
  if (!e.mode && O.value.length === 1) {
3145
3145
  const b = O.value[0];
3146
3146
  if (b.value === null && (b.label === null || b.label === void 0))
@@ -3148,7 +3148,7 @@ const Wl = se({
3148
3148
  }
3149
3149
  return O.value.map((b) => {
3150
3150
  var c;
3151
- return w(w({}, b), {
3151
+ return C(C({}, b), {
3152
3152
  label: (c = typeof b.label == "function" ? b.label() : b.label) !== null && c !== void 0 ? c : b.value
3153
3153
  });
3154
3154
  });
@@ -3157,27 +3157,27 @@ const Wl = se({
3157
3157
  var b;
3158
3158
  if (e.mode === "combobox") {
3159
3159
  const c = (b = O.value[0]) === null || b === void 0 ? void 0 : b.value;
3160
- c != null && f(String(c));
3160
+ c != null && m(String(c));
3161
3161
  }
3162
3162
  }, {
3163
3163
  flush: "post"
3164
3164
  });
3165
3165
  const F = (b, c) => {
3166
- const m = c ?? b;
3166
+ const f = c ?? b;
3167
3167
  return {
3168
3168
  [s.value.value]: b,
3169
- [s.value.label]: m
3169
+ [s.value.label]: f
3170
3170
  };
3171
3171
  }, V = X();
3172
3172
  Te(() => {
3173
3173
  if (e.mode !== "tags") {
3174
- V.value = C.value;
3174
+ V.value = S.value;
3175
3175
  return;
3176
3176
  }
3177
- const b = C.value.slice(), c = (m) => S.value.has(m);
3178
- [...O.value].sort((m, A) => m.value < A.value ? -1 : 1).forEach((m) => {
3179
- const A = m.value;
3180
- c(A) || b.push(F(A, m.label));
3177
+ const b = S.value.slice(), c = (f) => w.value.has(f);
3178
+ [...O.value].sort((f, A) => f.value < A.value ? -1 : 1).forEach((f) => {
3179
+ const A = f.value;
3180
+ c(A) || b.push(F(A, f.label));
3181
3181
  }), V.value = b;
3182
3182
  });
3183
3183
  const U = Bl(V, s, i, d, Oe(e, "optionFilterProp")), z = P(() => e.mode !== "tags" || !i.value || U.value.some((b) => b[e.optionFilterProp || "value"] === i.value) ? U.value : [F(i.value), ...U.value]), Q = P(() => e.filterSort ? [...z.value].sort((b, c) => e.filterSort(b, c)) : z.value), G = P(() => Ho(Q.value, {
@@ -3186,28 +3186,28 @@ const Wl = se({
3186
3186
  })), Y = (b) => {
3187
3187
  const c = I(b);
3188
3188
  if (M(c), e.onChange && // Trigger event only when value changed
3189
- (c.length !== O.value.length || c.some((m, A) => {
3189
+ (c.length !== O.value.length || c.some((f, A) => {
3190
3190
  var E;
3191
- return ((E = O.value[A]) === null || E === void 0 ? void 0 : E.value) !== (m == null ? void 0 : m.value);
3191
+ return ((E = O.value[A]) === null || E === void 0 ? void 0 : E.value) !== (f == null ? void 0 : f.value);
3192
3192
  }))) {
3193
- const m = e.labelInValue ? c.map((E) => w(w({}, E), {
3193
+ const f = e.labelInValue ? c.map((E) => C(C({}, E), {
3194
3194
  originLabel: E.label,
3195
3195
  label: typeof E.label == "function" ? E.label() : E.label
3196
3196
  })) : c.map((E) => E.value), A = c.map((E) => gt(g(E.value)));
3197
3197
  e.onChange(
3198
3198
  // Value
3199
- u.value ? m : m[0],
3199
+ u.value ? f : f[0],
3200
3200
  // Option
3201
3201
  u.value ? A : A[0]
3202
3202
  );
3203
3203
  }
3204
3204
  }, [D, L] = Ut(null), [k, ee] = Ut(0), h = P(() => e.defaultActiveFirstOption !== void 0 ? e.defaultActiveFirstOption : e.mode !== "combobox"), H = function(b, c) {
3205
3205
  let {
3206
- source: m = "keyboard"
3206
+ source: f = "keyboard"
3207
3207
  } = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
3208
- ee(c), e.backfill && e.mode === "combobox" && b !== null && m === "keyboard" && L(String(b));
3208
+ ee(c), e.backfill && e.mode === "combobox" && b !== null && f === "keyboard" && L(String(b));
3209
3209
  }, j = (b, c) => {
3210
- const m = () => {
3210
+ const f = () => {
3211
3211
  var A;
3212
3212
  const E = g(b), _ = E == null ? void 0 : E[s.value.label];
3213
3213
  return [e.labelInValue ? {
@@ -3218,43 +3218,43 @@ const Wl = se({
3218
3218
  } : b, gt(E)];
3219
3219
  };
3220
3220
  if (c && e.onSelect) {
3221
- const [A, E] = m();
3221
+ const [A, E] = f();
3222
3222
  e.onSelect(A, E);
3223
3223
  } else if (!c && e.onDeselect) {
3224
- const [A, E] = m();
3224
+ const [A, E] = f();
3225
3225
  e.onDeselect(A, E);
3226
3226
  }
3227
3227
  }, B = (b, c) => {
3228
- let m;
3228
+ let f;
3229
3229
  const A = u.value ? c.selected : !0;
3230
- A ? m = u.value ? [...O.value, b] : [b] : m = O.value.filter((E) => E.value !== b), Y(m), j(b, A), e.mode === "combobox" ? L("") : (!u.value || e.autoClearSearchValue) && (f(""), L(""));
3230
+ A ? f = u.value ? [...O.value, b] : [b] : f = O.value.filter((E) => E.value !== b), Y(f), j(b, A), e.mode === "combobox" ? L("") : (!u.value || e.autoClearSearchValue) && (m(""), L(""));
3231
3231
  }, te = (b, c) => {
3232
- Y(b), (c.type === "remove" || c.type === "clear") && c.values.forEach((m) => {
3233
- j(m.value, !1);
3232
+ Y(b), (c.type === "remove" || c.type === "clear") && c.values.forEach((f) => {
3233
+ j(f.value, !1);
3234
3234
  });
3235
3235
  }, oe = (b, c) => {
3236
- var m;
3237
- if (f(b), L(null), c.source === "submit") {
3236
+ var f;
3237
+ if (m(b), L(null), c.source === "submit") {
3238
3238
  const A = (b || "").trim();
3239
3239
  if (A) {
3240
3240
  const E = Array.from(/* @__PURE__ */ new Set([...$.value, A]));
3241
- Y(E), j(A, !0), f("");
3241
+ Y(E), j(A, !0), m("");
3242
3242
  }
3243
3243
  return;
3244
3244
  }
3245
- c.source !== "blur" && (e.mode === "combobox" && Y(b), (m = e.onSearch) === null || m === void 0 || m.call(e, b));
3245
+ c.source !== "blur" && (e.mode === "combobox" && Y(b), (f = e.onSearch) === null || f === void 0 || f.call(e, b));
3246
3246
  }, ue = (b) => {
3247
3247
  let c = b;
3248
3248
  e.mode !== "tags" && (c = b.map((A) => {
3249
- const E = p.value.get(A);
3249
+ const E = v.value.get(A);
3250
3250
  return E == null ? void 0 : E.value;
3251
3251
  }).filter((A) => A !== void 0));
3252
- const m = Array.from(/* @__PURE__ */ new Set([...$.value, ...c]));
3253
- Y(m), m.forEach((A) => {
3252
+ const f = Array.from(/* @__PURE__ */ new Set([...$.value, ...c]));
3253
+ Y(f), f.forEach((A) => {
3254
3254
  j(A, !0);
3255
3255
  });
3256
3256
  }, ne = P(() => e.virtual !== !1 && e.dropdownMatchSelectWidth !== !1);
3257
- Tl(wn(w(w({}, v), {
3257
+ Tl(wn(C(C({}, p), {
3258
3258
  flattenOptions: G,
3259
3259
  onActiveValue: H,
3260
3260
  defaultActiveFirstOption: h,
@@ -3398,35 +3398,35 @@ function Gl(e) {
3398
3398
  hasFeedback: a,
3399
3399
  feedbackIcon: u,
3400
3400
  showArrow: r
3401
- } = e, d = e.suffixIcon || n.suffixIcon && n.suffixIcon(), s = e.clearIcon || n.clearIcon && n.clearIcon(), i = e.menuItemSelectedIcon || n.menuItemSelectedIcon && n.menuItemSelectedIcon(), f = e.removeIcon || n.removeIcon && n.removeIcon(), v = s ?? y(uo, null, null), S = (x) => y(He, null, [r !== !1 && x, a && u]);
3402
- let p = null;
3401
+ } = e, d = e.suffixIcon || n.suffixIcon && n.suffixIcon(), s = e.clearIcon || n.clearIcon && n.clearIcon(), i = e.menuItemSelectedIcon || n.menuItemSelectedIcon && n.menuItemSelectedIcon(), m = e.removeIcon || n.removeIcon && n.removeIcon(), p = s ?? y(uo, null, null), w = (x) => y(He, null, [r !== !1 && x, a && u]);
3402
+ let v = null;
3403
3403
  if (d !== void 0)
3404
- p = S(d);
3404
+ v = w(d);
3405
3405
  else if (o)
3406
- p = S(y(co, {
3406
+ v = w(y(co, {
3407
3407
  spin: !0
3408
3408
  }, null));
3409
3409
  else {
3410
3410
  const x = `${l}-suffix`;
3411
- p = (M) => {
3411
+ v = (M) => {
3412
3412
  let {
3413
3413
  open: R,
3414
3414
  showSearch: O
3415
3415
  } = M;
3416
- return S(R && O ? y(Ro, {
3416
+ return w(R && O ? y(Ro, {
3417
3417
  class: x
3418
3418
  }, null) : y(Rt, {
3419
3419
  class: x
3420
3420
  }, null));
3421
3421
  };
3422
3422
  }
3423
- let C = null;
3424
- i !== void 0 ? C = i : t ? C = y(Dt, null, null) : C = null;
3423
+ let S = null;
3424
+ i !== void 0 ? S = i : t ? S = y(Dt, null, null) : S = null;
3425
3425
  let I = null;
3426
- return f !== void 0 ? I = f : I = y(cn, null, null), {
3427
- clearIcon: v,
3428
- suffixIcon: p,
3429
- itemIcon: C,
3426
+ return m !== void 0 ? I = m : I = y(cn, null, null), {
3427
+ clearIcon: p,
3428
+ suffixIcon: v,
3429
+ itemIcon: S,
3430
3430
  removeIcon: I
3431
3431
  };
3432
3432
  }
@@ -3702,7 +3702,7 @@ const kl = new de("antMoveDownIn", {
3702
3702
  } = e, t = `${o}-item`;
3703
3703
  return [
3704
3704
  {
3705
- [`${o}-dropdown`]: w(w({}, nt(e)), {
3705
+ [`${o}-dropdown`]: C(C({}, nt(e)), {
3706
3706
  position: "absolute",
3707
3707
  top: -9999,
3708
3708
  zIndex: e.zIndexPopup,
@@ -3743,10 +3743,10 @@ const kl = new de("antMoveDownIn", {
3743
3743
  color: e.colorTextDisabled
3744
3744
  },
3745
3745
  // ========================= Options =========================
3746
- [`${t}-empty`]: w(w({}, nn(e)), {
3746
+ [`${t}-empty`]: C(C({}, nn(e)), {
3747
3747
  color: e.colorTextDisabled
3748
3748
  }),
3749
- [`${t}`]: w(w({}, nn(e)), {
3749
+ [`${t}`]: C(C({}, nn(e)), {
3750
3750
  cursor: "pointer",
3751
3751
  transition: `background ${e.motionDurationSlow} ease`,
3752
3752
  borderRadius: e.borderRadiusSM,
@@ -3759,7 +3759,7 @@ const kl = new de("antMoveDownIn", {
3759
3759
  // =========== Option ===========
3760
3760
  "&-option": {
3761
3761
  display: "flex",
3762
- "&-content": w({
3762
+ "&-content": C({
3763
3763
  flex: "auto"
3764
3764
  }, vt),
3765
3765
  "&-state": {
@@ -3898,7 +3898,7 @@ function ft(e, n) {
3898
3898
  whiteSpace: "pre",
3899
3899
  textOverflow: "ellipsis"
3900
3900
  },
3901
- "&-remove": w(w({}, fn()), {
3901
+ "&-remove": C(C({}, fn()), {
3902
3902
  display: "inline-block",
3903
3903
  color: e.colorIcon,
3904
3904
  fontWeight: "bold",
@@ -4005,7 +4005,7 @@ function mt(e, n) {
4005
4005
  [`${o}-single${r}`]: {
4006
4006
  fontSize: e.fontSize,
4007
4007
  // ========================= Selector =========================
4008
- [`${o}-selector`]: w(w({}, nt(e)), {
4008
+ [`${o}-selector`]: C(C({}, nt(e)), {
4009
4009
  display: "flex",
4010
4010
  borderRadius: l,
4011
4011
  [`${o}-selection-search`]: {
@@ -4191,7 +4191,7 @@ const fa = (e) => {
4191
4191
  } : {};
4192
4192
  return {
4193
4193
  [e]: {
4194
- [`&:not(${t}-disabled):not(${t}-customize-input):not(${u}-pagination-size-changer)`]: w(w({}, r), {
4194
+ [`&:not(${t}-disabled):not(${t}-customize-input):not(${u}-pagination-size-changer)`]: C(C({}, r), {
4195
4195
  [`${t}-focused& ${t}-selector`]: {
4196
4196
  borderColor: l,
4197
4197
  boxShadow: `0 0 0 ${n.controlOutlineWidth}px ${a}`,
@@ -4230,27 +4230,27 @@ const fa = (e) => {
4230
4230
  iconCls: t
4231
4231
  } = e;
4232
4232
  return {
4233
- [n]: w(w({}, nt(e)), {
4233
+ [n]: C(C({}, nt(e)), {
4234
4234
  position: "relative",
4235
4235
  display: "inline-block",
4236
4236
  cursor: "pointer",
4237
- [`&:not(${n}-customize-input) ${n}-selector`]: w(w({}, fa(e)), ma(e)),
4237
+ [`&:not(${n}-customize-input) ${n}-selector`]: C(C({}, fa(e)), ma(e)),
4238
4238
  // [`&:not(&-disabled):hover ${selectCls}-selector`]: {
4239
4239
  // ...genHoverStyle(token),
4240
4240
  // },
4241
4241
  // ======================== Selection ========================
4242
- [`${n}-selection-item`]: w({
4242
+ [`${n}-selection-item`]: C({
4243
4243
  flex: 1,
4244
4244
  fontWeight: "normal"
4245
4245
  }, vt),
4246
4246
  // ======================= Placeholder =======================
4247
- [`${n}-selection-placeholder`]: w(w({}, vt), {
4247
+ [`${n}-selection-placeholder`]: C(C({}, vt), {
4248
4248
  flex: 1,
4249
4249
  color: e.colorTextPlaceholder,
4250
4250
  pointerEvents: "none"
4251
4251
  }),
4252
4252
  // ========================== Arrow ==========================
4253
- [`${n}-arrow`]: w(w({}, fn()), {
4253
+ [`${n}-arrow`]: C(C({}, fn()), {
4254
4254
  position: "absolute",
4255
4255
  top: "50%",
4256
4256
  insetInlineStart: "auto",
@@ -4396,7 +4396,7 @@ const fa = (e) => {
4396
4396
  return [va(t)];
4397
4397
  }, (e) => ({
4398
4398
  zIndexPopup: e.zIndexPopupBase + 50
4399
- })), ha = () => w(w({}, tt($n(), ["inputIcon", "mode", "getInputElement", "getRawInputElement", "backfill"])), {
4399
+ })), ha = () => C(C({}, tt($n(), ["inputIcon", "mode", "getInputElement", "getRawInputElement", "backfill"])), {
4400
4400
  value: Yt([Array, Object, String, Number]),
4401
4401
  defaultValue: Yt([Array, Object, String, Number]),
4402
4402
  notFoundContent: N.any,
@@ -4437,13 +4437,13 @@ const fa = (e) => {
4437
4437
  const u = he(), r = Do(), d = Fo.useInject(), s = P(() => No(d.status, e.status)), i = () => {
4438
4438
  var B;
4439
4439
  (B = u.value) === null || B === void 0 || B.focus();
4440
- }, f = () => {
4440
+ }, m = () => {
4441
4441
  var B;
4442
4442
  (B = u.value) === null || B === void 0 || B.blur();
4443
- }, v = (B) => {
4443
+ }, p = (B) => {
4444
4444
  var te;
4445
4445
  (te = u.value) === null || te === void 0 || te.scrollTo(B);
4446
- }, S = P(() => {
4446
+ }, w = P(() => {
4447
4447
  const {
4448
4448
  mode: B
4449
4449
  } = e;
@@ -4452,8 +4452,8 @@ const fa = (e) => {
4452
4452
  });
4453
4453
  process.env.NODE_ENV !== "production" && mo(!e.dropdownClassName, "Select", "`dropdownClassName` is deprecated. Please use `popupClassName` instead.");
4454
4454
  const {
4455
- prefixCls: p,
4456
- direction: C,
4455
+ prefixCls: v,
4456
+ direction: S,
4457
4457
  configProvider: I,
4458
4458
  renderEmpty: x,
4459
4459
  size: M,
@@ -4464,16 +4464,16 @@ const fa = (e) => {
4464
4464
  } = wt("select", e), {
4465
4465
  compactSize: $,
4466
4466
  compactItemClassnames: F
4467
- } = po(p, C), V = P(() => $.value || M.value), U = vo(), z = P(() => {
4467
+ } = po(v, S), V = P(() => $.value || M.value), U = vo(), z = P(() => {
4468
4468
  var B;
4469
4469
  return (B = g.value) !== null && B !== void 0 ? B : U.value;
4470
- }), [Q, G] = ga(p), Y = P(() => R()), D = P(() => e.placement !== void 0 ? e.placement : C.value === "rtl" ? "bottomRight" : "bottomLeft"), L = P(() => go(Y.value, ho(D.value), e.transitionName)), k = P(() => re({
4471
- [`${p.value}-lg`]: V.value === "large",
4472
- [`${p.value}-sm`]: V.value === "small",
4473
- [`${p.value}-rtl`]: C.value === "rtl",
4474
- [`${p.value}-borderless`]: !e.bordered,
4475
- [`${p.value}-in-form-item`]: d.isFormItemInput
4476
- }, Ao(p.value, s.value, d.hasFeedback), F.value, G.value)), ee = function() {
4470
+ }), [Q, G] = ga(v), Y = P(() => R()), D = P(() => e.placement !== void 0 ? e.placement : S.value === "rtl" ? "bottomRight" : "bottomLeft"), L = P(() => go(Y.value, ho(D.value), e.transitionName)), k = P(() => re({
4471
+ [`${v.value}-lg`]: V.value === "large",
4472
+ [`${v.value}-sm`]: V.value === "small",
4473
+ [`${v.value}-rtl`]: S.value === "rtl",
4474
+ [`${v.value}-borderless`]: !e.bordered,
4475
+ [`${v.value}-in-form-item`]: d.isFormItemInput
4476
+ }, Ao(v.value, s.value, d.hasFeedback), F.value, G.value)), ee = function() {
4477
4477
  for (var B = arguments.length, te = new Array(B), oe = 0; oe < B; oe++)
4478
4478
  te[oe] = arguments[oe];
4479
4479
  t("update:value", te[0]), t("change", ...te), r.onFieldChange();
@@ -4481,11 +4481,11 @@ const fa = (e) => {
4481
4481
  t("blur", B), r.onFieldBlur();
4482
4482
  };
4483
4483
  a({
4484
- blur: f,
4484
+ blur: m,
4485
4485
  focus: i,
4486
- scrollTo: v
4486
+ scrollTo: p
4487
4487
  });
4488
- const H = P(() => S.value === "multiple" || S.value === "tags"), j = P(() => e.showArrow !== void 0 ? e.showArrow : e.loading || !(H.value || S.value === "combobox"));
4488
+ const H = P(() => w.value === "multiple" || w.value === "tags"), j = P(() => e.showArrow !== void 0 ? e.showArrow : e.loading || !(H.value || w.value === "combobox"));
4489
4489
  return () => {
4490
4490
  var B, te, oe, ue;
4491
4491
  const {
@@ -4494,7 +4494,7 @@ const fa = (e) => {
4494
4494
  listItemHeight: pe = 24,
4495
4495
  popupClassName: b,
4496
4496
  dropdownClassName: c,
4497
- virtual: m,
4497
+ virtual: f,
4498
4498
  dropdownMatchSelectWidth: A,
4499
4499
  id: E = r.id.value,
4500
4500
  placeholder: _ = (B = l.placeholder) === null || B === void 0 ? void 0 : B.call(l),
@@ -4504,7 +4504,7 @@ const fa = (e) => {
4504
4504
  feedbackIcon: le
4505
4505
  } = d;
4506
4506
  let Z;
4507
- ne !== void 0 ? Z = ne : l.notFoundContent ? Z = l.notFoundContent() : S.value === "combobox" ? Z = null : Z = (x == null ? void 0 : x("Select")) || y(bo, {
4507
+ ne !== void 0 ? Z = ne : l.notFoundContent ? Z = l.notFoundContent() : w.value === "combobox" ? Z = null : Z = (x == null ? void 0 : x("Select")) || y(bo, {
4508
4508
  componentName: "Select"
4509
4509
  }, null);
4510
4510
  const {
@@ -4512,27 +4512,27 @@ const fa = (e) => {
4512
4512
  itemIcon: fe,
4513
4513
  removeIcon: Ge,
4514
4514
  clearIcon: at
4515
- } = Gl(w(w({}, e), {
4515
+ } = Gl(C(C({}, e), {
4516
4516
  multiple: H.value,
4517
- prefixCls: p.value,
4517
+ prefixCls: v.value,
4518
4518
  hasFeedback: J,
4519
4519
  feedbackIcon: le,
4520
4520
  showArrow: j.value
4521
4521
  }), l), Fe = tt(e, ["prefixCls", "suffixIcon", "itemIcon", "removeIcon", "clearIcon", "size", "bordered", "status"]), Ne = re(b || c, {
4522
- [`${p.value}-dropdown-${C.value}`]: C.value === "rtl"
4522
+ [`${v.value}-dropdown-${S.value}`]: S.value === "rtl"
4523
4523
  }, G.value);
4524
4524
  return Q(y(Wl, W(W(W({
4525
4525
  ref: u,
4526
- virtual: m,
4526
+ virtual: f,
4527
4527
  dropdownMatchSelectWidth: A
4528
4528
  }, Fe), o), {}, {
4529
4529
  showSearch: (te = e.showSearch) !== null && te !== void 0 ? te : (oe = T == null ? void 0 : T.value) === null || oe === void 0 ? void 0 : oe.showSearch,
4530
4530
  placeholder: _,
4531
4531
  listHeight: me,
4532
4532
  listItemHeight: pe,
4533
- mode: S.value,
4534
- prefixCls: p.value,
4535
- direction: C.value,
4533
+ mode: w.value,
4534
+ prefixCls: v.value,
4535
+ direction: S.value,
4536
4536
  inputIcon: ce,
4537
4537
  menuItemSelectedIcon: fe,
4538
4538
  removeIcon: Ge,
@@ -4607,7 +4607,7 @@ const Je = (e, n, o) => {
4607
4607
  } = e, a = t - o, u = n - o;
4608
4608
  return {
4609
4609
  // Result
4610
- [l]: w(w({}, nt(e)), {
4610
+ [l]: C(C({}, nt(e)), {
4611
4611
  display: "inline-block",
4612
4612
  height: "auto",
4613
4613
  marginInlineEnd: e.marginXS,
@@ -4725,9 +4725,9 @@ const Je = (e, n, o) => {
4725
4725
  prefixCls: a
4726
4726
  } = wt("tag", e), [u, r] = Dn(a), d = (i) => {
4727
4727
  const {
4728
- checked: f
4728
+ checked: m
4729
4729
  } = e;
4730
- t("update:checked", !f), t("change", !f), t("click", i);
4730
+ t("update:checked", !m), t("change", !m), t("click", i);
4731
4731
  }, s = P(() => re(a.value, r.value, {
4732
4732
  [`${a.value}-checkable`]: !0,
4733
4733
  [`${a.value}-checkable-checked`]: e.checked
@@ -4787,23 +4787,23 @@ const Je = (e, n, o) => {
4787
4787
  process.env.NODE_ENV !== "production" && Io(e.visible === void 0, "Tag", '`visible` is deprecated, please use `<Tag v-show="visible" />` instead.'), Te(() => {
4788
4788
  e.visible !== void 0 && (s.value = e.visible);
4789
4789
  });
4790
- const i = (p) => {
4791
- p.stopPropagation(), t("update:visible", !1), t("close", p), !p.defaultPrevented && e.visible === void 0 && (s.value = !1);
4792
- }, f = P(() => xo(e.color) || Oo(e.color)), v = P(() => re(a.value, d.value, {
4793
- [`${a.value}-${e.color}`]: f.value,
4794
- [`${a.value}-has-color`]: e.color && !f.value,
4790
+ const i = (v) => {
4791
+ v.stopPropagation(), t("update:visible", !1), t("close", v), !v.defaultPrevented && e.visible === void 0 && (s.value = !1);
4792
+ }, m = P(() => xo(e.color) || Oo(e.color)), p = P(() => re(a.value, d.value, {
4793
+ [`${a.value}-${e.color}`]: m.value,
4794
+ [`${a.value}-has-color`]: e.color && !m.value,
4795
4795
  [`${a.value}-hidden`]: !s.value,
4796
4796
  [`${a.value}-rtl`]: u.value === "rtl",
4797
4797
  [`${a.value}-borderless`]: !e.bordered
4798
- })), S = (p) => {
4799
- t("click", p);
4798
+ })), w = (v) => {
4799
+ t("click", v);
4800
4800
  };
4801
4801
  return () => {
4802
- var p, C, I;
4802
+ var v, S, I;
4803
4803
  const {
4804
- icon: x = (p = o.icon) === null || p === void 0 ? void 0 : p.call(o),
4804
+ icon: x = (v = o.icon) === null || v === void 0 ? void 0 : v.call(o),
4805
4805
  color: M,
4806
- closeIcon: R = (C = o.closeIcon) === null || C === void 0 ? void 0 : C.call(o),
4806
+ closeIcon: R = (S = o.closeIcon) === null || S === void 0 ? void 0 : S.call(o),
4807
4807
  closable: O = !1
4808
4808
  } = e, g = () => O ? R ? y("span", {
4809
4809
  class: `${a.value}-close-icon`,
@@ -4812,10 +4812,10 @@ const Je = (e, n, o) => {
4812
4812
  class: `${a.value}-close-icon`,
4813
4813
  onClick: i
4814
4814
  }, null) : null, T = {
4815
- backgroundColor: M && !f.value ? M : void 0
4815
+ backgroundColor: M && !m.value ? M : void 0
4816
4816
  }, $ = x || null, F = (I = o.default) === null || I === void 0 ? void 0 : I.call(o), V = $ ? y(He, null, [$, y("span", null, [F])]) : F, U = e.onClick !== void 0, z = y("span", W(W({}, l), {}, {
4817
- onClick: S,
4818
- class: [v.value, l.class],
4817
+ onClick: w,
4818
+ class: [p.value, l.class],
4819
4819
  style: [T, l.style]
4820
4820
  }), [V, g()]);
4821
4821
  return r(U ? y($o, null, {
@@ -4873,116 +4873,119 @@ const Ca = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAA
4873
4873
  L1: "SIXTY_DAYS",
4874
4874
  L2: "THIRTY_DAYS",
4875
4875
  L3: "SEVEN_DAYS"
4876
- }, { relatedDepartmentIds: f = [], curDepartmentId: v = 0, securityLevel: S } = s;
4877
- return f.includes(v) ? s.validTime = "NINETY_DAYS" : s.validTime = i[S], s.validTime;
4876
+ }, { relatedDepartmentIds: m = [], curDepartmentId: p = 0, securityLevel: w } = s;
4877
+ return m.includes(p) ? s.validTime = "NINETY_DAYS" : s.validTime = i[w], s.validTime;
4878
4878
  }, r = (s) => {
4879
4879
  o.item.validTime = s, o.onChangeTime();
4880
4880
  }, d = (s) => {
4881
4881
  s.target.checked && (a.value = u(o.item));
4882
4882
  };
4883
- return (s, i) => (ye(), qe("div", Ia, [
4884
- y(ae(Vo), {
4885
- value: e.item.roleId,
4886
- disabled: ["OWNER", "PENDING", "NO"].includes(ae(o).item.businessApplyType),
4887
- onChange: d
4888
- }, {
4889
- default: ge(() => [
4890
- Se("div", xa, [
4891
- e.item.securityLevel ? (ye(), ze(ae(Re), {
4892
- key: 0,
4893
- bordered: !1,
4894
- style: ao({ color: n[e.item.securityLevel].color, background: n[e.item.securityLevel].background }),
4895
- class: "crane-tag-position"
4896
- }, {
4897
- default: ge(() => [
4898
- Pe(ve(n[e.item.securityLevel].text), 1)
4899
- ]),
4900
- _: 1
4901
- }, 8, ["style"])) : Ae("", !0),
4902
- Se("span", null, ve(ae(Ce)(`operationType.${e.item.operationType}`)) + "| ", 1),
4903
- y(ae(Qe), null, {
4904
- content: ge(() => [
4905
- Se("div", Oa, ve(e.item.name), 1)
4906
- ]),
4907
- default: ge(() => [
4908
- Se("span", $a, ve(e.item.name), 1)
4909
- ]),
4910
- _: 1
4911
- }),
4912
- e.item.businessApplyType && e.item.businessApplyType !== "TEMP_OWNER" ? (ye(), ze(ae(Re), {
4913
- key: 1,
4914
- bordered: !1,
4915
- class: Kt(["crane-tag-position crane-margin-left-4 crane-margin-right-0", ["PENDING", "TEMP_OWNER"].includes(e.item.businessApplyType) ? "" : "crane-disabled-color"])
4916
- }, {
4917
- default: ge(() => [
4918
- Pe(ve(ae(l)[e.item.businessApplyType]), 1)
4919
- ]),
4920
- _: 1
4921
- }, 8, ["class"])) : Ae("", !0),
4922
- y(ae(Qe), null, {
4923
- content: ge(() => {
4924
- var f, v, S, p;
4925
- return [
4926
- ((v = (f = e.item) == null ? void 0 : f.ownStatusVO) == null ? void 0 : v.dayDiff) > 0 ? (ye(), qe("span", Ta, ve(ae(Ce)("lastDays", { count: (p = (S = e.item) == null ? void 0 : S.ownStatusVO) == null ? void 0 : p.dayDiff })), 1)) : (ye(), qe("span", Ea, ve(ae(Ce)("taday")), 1))
4927
- ];
4883
+ return (s, i) => {
4884
+ var m;
4885
+ return ye(), qe("div", Ia, [
4886
+ y(ae(Vo), {
4887
+ value: e.item.roleId,
4888
+ disabled: ["OWNER", "PENDING", "NO"].includes(ae(o).item.businessApplyType),
4889
+ onChange: d
4890
+ }, {
4891
+ default: ge(() => [
4892
+ Se("div", xa, [
4893
+ e.item.securityLevel ? (ye(), ze(ae(Re), {
4894
+ key: 0,
4895
+ bordered: !1,
4896
+ style: ao({ color: n[e.item.securityLevel].color, background: n[e.item.securityLevel].background }),
4897
+ class: "crane-tag-position"
4898
+ }, {
4899
+ default: ge(() => [
4900
+ Pe(ve(n[e.item.securityLevel].text), 1)
4901
+ ]),
4902
+ _: 1
4903
+ }, 8, ["style"])) : Ae("", !0),
4904
+ Se("span", null, ve(ae(Ce)(`operationType.${e.item.operationType}`)) + "| ", 1),
4905
+ y(ae(Qe), null, {
4906
+ content: ge(() => [
4907
+ Se("div", Oa, ve(e.item.name), 1)
4908
+ ]),
4909
+ default: ge(() => [
4910
+ Se("span", $a, ve(e.item.name), 1)
4911
+ ]),
4912
+ _: 1
4928
4913
  }),
4929
- default: ge(() => [
4930
- e.item.businessApplyType === "TEMP_OWNER" ? (ye(), ze(ae(Re), {
4931
- key: 0,
4932
- bordered: !1,
4933
- class: Kt(["crane-tag-position crane-margin-left-4 crane-margin-right-0", ["PENDING"].includes(e.item.businessApplyType) ? "" : "crane-disabled-color"])
4934
- }, {
4935
- default: ge(() => [
4936
- Pe(ve(ae(l)[e.item.businessApplyType]), 1)
4937
- ]),
4938
- _: 1
4939
- }, 8, ["class"])) : Ae("", !0)
4940
- ]),
4941
- _: 1
4942
- })
4943
- ])
4944
- ]),
4945
- _: 1
4946
- }, 8, ["value", "disabled"]),
4947
- e.item.desc ? (ye(), ze(ae(Qe), { key: 0 }, {
4948
- content: ge(() => [
4949
- Se("div", Ma, ve(e.item.desc), 1)
4950
- ]),
4951
- default: ge(() => [
4952
- y(ae(Lo), { class: "crane-week-color" })
4953
- ]),
4954
- _: 1
4955
- })) : Ae("", !0),
4956
- e.item.relatedCompleteNames ? (ye(), ze(ae(Qe), { key: 1 }, {
4957
- content: ge(() => [
4958
- Se("div", Pa, ve(ae(Ce)("adaptDepartment")) + ":" + ve(e.item.relatedCompleteNames.join("、")), 1)
4959
- ]),
4960
- default: ge(() => [
4961
- Se("span", Ra, [
4962
- Se("img", {
4963
- src: ae(Ca),
4964
- height: "14",
4965
- width: "14"
4966
- }, null, 8, Da),
4967
- Se("span", Fa, ve(e.item.relatedCompleteNames.length), 1)
4968
- ])
4969
- ]),
4970
- _: 1
4971
- })) : Ae("", !0),
4972
- e.checkedIds.includes(e.item.roleId) ? (ye(), qe("span", Na, [
4973
- Pe(ve(ae(Ce)("availableTime")) + ": ", 1),
4974
- y(ae(be), {
4975
- value: a.value,
4976
- "onUpdate:value": i[0] || (i[0] = (f) => a.value = f),
4977
- style: { width: "100px" },
4978
- options: ae(t),
4979
- onChange: r,
4980
- size: "small"
4981
- }, null, 8, ["value", "options"])
4982
- ])) : Ae("", !0)
4983
- ]));
4914
+ e.item.businessApplyType && e.item.businessApplyType !== "TEMP_OWNER" ? (ye(), ze(ae(Re), {
4915
+ key: 1,
4916
+ bordered: !1,
4917
+ class: Kt(["crane-tag-position crane-margin-left-4 crane-margin-right-0", ["PENDING", "TEMP_OWNER"].includes(e.item.businessApplyType) ? "" : "crane-disabled-color"])
4918
+ }, {
4919
+ default: ge(() => [
4920
+ Pe(ve(ae(l)[e.item.businessApplyType]), 1)
4921
+ ]),
4922
+ _: 1
4923
+ }, 8, ["class"])) : Ae("", !0),
4924
+ y(ae(Qe), null, {
4925
+ content: ge(() => {
4926
+ var p, w, v, S;
4927
+ return [
4928
+ ((w = (p = e.item) == null ? void 0 : p.ownStatusVO) == null ? void 0 : w.dayDiff) > 0 ? (ye(), qe("span", Ta, ve(ae(Ce)("lastDays", { count: (S = (v = e.item) == null ? void 0 : v.ownStatusVO) == null ? void 0 : S.dayDiff })), 1)) : (ye(), qe("span", Ea, ve(ae(Ce)("taday")), 1))
4929
+ ];
4930
+ }),
4931
+ default: ge(() => [
4932
+ e.item.businessApplyType === "TEMP_OWNER" ? (ye(), ze(ae(Re), {
4933
+ key: 0,
4934
+ bordered: !1,
4935
+ class: Kt(["crane-tag-position crane-margin-left-4 crane-margin-right-0", ["PENDING"].includes(e.item.businessApplyType) ? "" : "crane-disabled-color"])
4936
+ }, {
4937
+ default: ge(() => [
4938
+ Pe(ve(ae(l)[e.item.businessApplyType]), 1)
4939
+ ]),
4940
+ _: 1
4941
+ }, 8, ["class"])) : Ae("", !0)
4942
+ ]),
4943
+ _: 1
4944
+ })
4945
+ ])
4946
+ ]),
4947
+ _: 1
4948
+ }, 8, ["value", "disabled"]),
4949
+ e.item.desc ? (ye(), ze(ae(Qe), { key: 0 }, {
4950
+ content: ge(() => [
4951
+ Se("div", Ma, ve(e.item.desc), 1)
4952
+ ]),
4953
+ default: ge(() => [
4954
+ y(ae(Lo), { class: "crane-week-color" })
4955
+ ]),
4956
+ _: 1
4957
+ })) : Ae("", !0),
4958
+ (m = e.item.relatedCompleteNames) != null && m.length ? (ye(), ze(ae(Qe), { key: 1 }, {
4959
+ content: ge(() => [
4960
+ Se("div", Pa, ve(ae(Ce)("adaptDepartment")) + ":" + ve(e.item.relatedCompleteNames.map((p) => p).join("、")), 1)
4961
+ ]),
4962
+ default: ge(() => [
4963
+ Se("span", Ra, [
4964
+ Se("img", {
4965
+ src: ae(Ca),
4966
+ height: "14",
4967
+ width: "14"
4968
+ }, null, 8, Da),
4969
+ Se("span", Fa, ve(e.item.relatedCompleteNames.length), 1)
4970
+ ])
4971
+ ]),
4972
+ _: 1
4973
+ })) : Ae("", !0),
4974
+ e.checkedIds.includes(e.item.roleId) ? (ye(), qe("span", Na, [
4975
+ Pe(ve(ae(Ce)("availableTime")) + ": ", 1),
4976
+ y(ae(be), {
4977
+ value: a.value,
4978
+ "onUpdate:value": i[0] || (i[0] = (p) => a.value = p),
4979
+ style: { width: "100px" },
4980
+ options: ae(t),
4981
+ onChange: r,
4982
+ size: "small"
4983
+ }, null, 8, ["value", "options"])
4984
+ ])) : Ae("", !0)
4985
+ ]);
4986
+ };
4984
4987
  }
4985
- }), Ga = /* @__PURE__ */ Mo(Aa, [["__scopeId", "data-v-2dc132f0"]]);
4988
+ }), Ga = /* @__PURE__ */ Mo(Aa, [["__scopeId", "data-v-fd07f471"]]);
4986
4989
  export {
4987
4990
  Ga as default
4988
4991
  };