@yqg/permission 1.0.10 → 1.0.11

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 ce, c as R, f as he, k as y, i as Yn, v as Zt, e as Ue, p as Je, b as en, s as G, w as ae, h as Pe, o as $e, P as Me, F as Ke, j as Ye, W as Gn, r as Le, I as Xn, G as gt, y as ze, a as kn, z as xe, K as ye, R as ke, N as ge, O as Se, L as _e, u as ie, Q as ve, M as Ne, _ as Ht } from "./index-DRdLf86F.js";
2
- import { _ as w, Q as qn, P as A, G as Y, F as ue, bb as Qn, aE as Jn, aw as tn, bc as ht, aP as K, E as bt, R as We, an as nn, bd as Oe, be as Ce, aD as Ze, bf as Zn, bg as we, bh as _t, bi as Bt, bj as zt, I as eo, a6 as to, a7 as no, bk as oo, au as lo, C as on, K as de, Y as yt, bl as mt, L as Te, bm as ln, J as io, bn as ao, ai as ro, a2 as so, aG as uo, bo as co, N as fo, aH as mo, am as po, aV as vo, bp as go, aL as ho, bq as bo, O as Kt, ae as Be, ad as yo, ag as So, b4 as Ie, br as wo, b6 as qe, b7 as Io } from "./yqg-permission-BiIxT54K.js";
3
- import { p as St, S as Co, T as rt, C as xo, Q as Oo } from "./apply-modal-BA-XCcj-.js";
1
+ import { d as ce, c as R, f as he, k as y, i as Yn, v as Zt, e as Ue, p as Je, b as en, s as G, w as ae, h as Pe, o as $e, P as Me, F as Ke, j as Ye, W as Gn, r as Le, I as Xn, G as gt, y as ze, a as kn, z as xe, K as ye, R as ke, N as ge, O as Se, L as _e, u as ie, Q as ve, M as Ne, _ as Ht } from "./index-D-ozN1oK.js";
2
+ import { _ as w, Q as qn, P as A, G as Y, F as ue, bb as Qn, aE as Jn, aw as tn, bc as ht, aP as K, E as bt, R as We, an as nn, bd as Oe, be as Ce, aD as Ze, bf as Zn, bg as we, bh as _t, bi as Bt, bj as zt, I as eo, a6 as to, a7 as no, bk as oo, au as lo, C as on, K as de, Y as yt, bl as mt, L as Te, bm as ln, J as io, bn as ao, ai as ro, a2 as so, aG as uo, bo as co, N as fo, aH as mo, am as po, aV as vo, bp as go, aL as ho, bq as bo, O as Kt, ae as Be, ad as yo, ag as So, b4 as Ie, br as wo, b6 as qe, b7 as Io } from "./yqg-permission-CSzshi3X.js";
3
+ import { p as St, S as Co, T as rt, C as xo, Q as Oo } from "./apply-modal-CYWEgH_s.js";
4
4
  function Wt(e, n) {
5
5
  const {
6
6
  key: o
@@ -180,7 +180,7 @@ const Mo = (e) => {
180
180
  dropdownAlign: f,
181
181
  prefixCls: p,
182
182
  popupElement: S,
183
- dropdownClassName: g,
183
+ dropdownClassName: h,
184
184
  dropdownStyle: x,
185
185
  direction: O = "ltr",
186
186
  placement: I,
@@ -214,7 +214,7 @@ const Mo = (e) => {
214
214
  popupAlign: f,
215
215
  popupVisible: s,
216
216
  getPopupContainer: $,
217
- popupClassName: ue(g, {
217
+ popupClassName: ue(h, {
218
218
  [`${X}-empty`]: m
219
219
  }),
220
220
  popupStyle: L,
@@ -343,7 +343,7 @@ const Ro = {
343
343
  editable: f,
344
344
  activeDescendantId: p,
345
345
  value: S,
346
- onKeydown: g,
346
+ onKeydown: h,
347
347
  onMousedown: x,
348
348
  onChange: O,
349
349
  onPaste: I,
@@ -391,27 +391,27 @@ const Ro = {
391
391
  style: w(w({}, ee), {
392
392
  opacity: f ? null : 0
393
393
  }),
394
- onKeydown: (h) => {
395
- g(h), z && z(h);
394
+ onKeydown: (g) => {
395
+ h(g), z && z(g);
396
396
  },
397
- onMousedown: (h) => {
398
- x(h), M && M(h);
397
+ onMousedown: (g) => {
398
+ x(g), M && M(g);
399
399
  },
400
- onInput: (h) => {
401
- O(h), Q && Q(h);
400
+ onInput: (g) => {
401
+ O(g), Q && Q(g);
402
402
  },
403
- onCompositionstart(h) {
404
- P(h), L && L(h);
403
+ onCompositionstart(g) {
404
+ P(g), L && L(g);
405
405
  },
406
- onCompositionend(h) {
407
- D(h), k && k(h);
406
+ onCompositionend(g) {
407
+ D(g), k && k(g);
408
408
  },
409
409
  onPaste: I,
410
410
  onFocus: function() {
411
411
  clearTimeout(n), X && X(arguments.length <= 0 ? void 0 : arguments[0]), C && C(arguments.length <= 0 ? void 0 : arguments[0]), o == null || o.focus(arguments.length <= 0 ? void 0 : arguments[0]);
412
412
  },
413
413
  onBlur: function() {
414
- for (var h = arguments.length, H = new Array(h), W = 0; W < h; W++)
414
+ for (var g = arguments.length, H = new Array(g), W = 0; W < g; W++)
415
415
  H[W] = arguments[W];
416
416
  n = setTimeout(() => {
417
417
  U && U(H[0]), v && v(H[0]), o == null || o.blur(H[0]);
@@ -492,7 +492,7 @@ const Ae = void 0, Qe = ce({
492
492
  renderItem: f,
493
493
  responsive: p,
494
494
  registerSize: S,
495
- itemKey: g,
495
+ itemKey: h,
496
496
  display: x,
497
497
  order: O,
498
498
  component: I = "div"
@@ -642,10 +642,10 @@ const Lo = () => ({
642
642
  emit: t,
643
643
  slots: l
644
644
  } = n;
645
- const i = R(() => e.ssr === "full"), u = G(null), a = R(() => u.value || 0), m = G(/* @__PURE__ */ new Map()), r = G(0), s = G(0), f = G(0), p = G(null), S = G(null), g = R(() => S.value === null && i.value ? Number.MAX_SAFE_INTEGER : S.value || 0), x = G(!1), O = R(() => `${e.prefixCls}-item`), I = R(() => Math.max(r.value, s.value)), P = R(() => !!(e.data.length && e.maxCount === un)), D = R(() => e.maxCount === cn), C = R(() => P.value || typeof e.maxCount == "number" && e.data.length > e.maxCount), v = R(() => {
645
+ const i = R(() => e.ssr === "full"), u = G(null), a = R(() => u.value || 0), m = G(/* @__PURE__ */ new Map()), r = G(0), s = G(0), f = G(0), p = G(null), S = G(null), h = R(() => S.value === null && i.value ? Number.MAX_SAFE_INTEGER : S.value || 0), x = G(!1), O = R(() => `${e.prefixCls}-item`), I = R(() => Math.max(r.value, s.value)), P = R(() => !!(e.data.length && e.maxCount === un)), D = R(() => e.maxCount === cn), C = R(() => P.value || typeof e.maxCount == "number" && e.data.length > e.maxCount), v = R(() => {
646
646
  let M = e.data;
647
647
  return P.value ? u.value === null && i.value ? M = e.data : M = e.data.slice(0, Math.min(e.data.length, a.value / e.itemWidth)) : typeof e.maxCount == "number" && (M = e.data.slice(0, e.maxCount)), M;
648
- }), T = R(() => P.value ? e.data.slice(g.value + 1) : e.data.slice(v.value.length)), $ = (M, L) => {
648
+ }), T = R(() => P.value ? e.data.slice(h.value + 1) : e.data.slice(v.value.length)), $ = (M, L) => {
649
649
  var k;
650
650
  return typeof e.itemKey == "function" ? e.itemKey(M) : (k = e.itemKey && (M == null ? void 0 : M[e.itemKey])) !== null && k !== void 0 ? k : L;
651
651
  }, N = R(() => e.renderItem || ((M) => M)), V = (M, L) => {
@@ -669,18 +669,18 @@ const Lo = () => ({
669
669
  return;
670
670
  }
671
671
  for (let ee = 0; ee < L; ee += 1) {
672
- const h = U(ee);
673
- if (h === void 0) {
672
+ const g = U(ee);
673
+ if (g === void 0) {
674
674
  V(ee - 1, !0);
675
675
  break;
676
676
  }
677
- if (M += h, // Only one means `totalWidth` is the final width
677
+ if (M += g, // Only one means `totalWidth` is the final width
678
678
  k === 0 && M <= a.value || // Last two width will be the final width
679
679
  ee === k - 1 && M + U(k) <= a.value) {
680
680
  V(k), p.value = null;
681
681
  break;
682
682
  } else if (M + I.value > a.value) {
683
- V(ee - 1), p.value = M - h - f.value + s.value;
683
+ V(ee - 1), p.value = M - g - f.value + s.value;
684
684
  break;
685
685
  }
686
686
  }
@@ -691,7 +691,7 @@ const Lo = () => ({
691
691
  itemComponent: L,
692
692
  renderRawItem: k,
693
693
  renderRawRest: ee,
694
- renderRest: h,
694
+ renderRest: g,
695
695
  prefixCls: H = "rc-overflow",
696
696
  suffix: W,
697
697
  component: _ = "div",
@@ -721,7 +721,7 @@ const Lo = () => ({
721
721
  item: B,
722
722
  itemKey: J,
723
723
  registerSize: z,
724
- display: q <= g.value
724
+ display: q <= h.value
725
725
  })
726
726
  }, {
727
727
  default: () => [k(B, q)]
@@ -735,12 +735,12 @@ const Lo = () => ({
735
735
  renderItem: N.value,
736
736
  itemKey: J,
737
737
  registerSize: z,
738
- display: q <= g.value
738
+ display: q <= h.value
739
739
  }), null);
740
740
  };
741
741
  let d = () => null;
742
742
  const F = {
743
- order: M ? g.value : Number.MAX_SAFE_INTEGER,
743
+ order: M ? h.value : Number.MAX_SAFE_INTEGER,
744
744
  className: `${O.value} ${O.value}-rest`,
745
745
  registerSize: Q,
746
746
  display: M
@@ -752,7 +752,7 @@ const Lo = () => ({
752
752
  default: () => [ee(T.value)]
753
753
  }));
754
754
  else {
755
- const B = h || Vo;
755
+ const B = g || Vo;
756
756
  d = () => y(Qe, Y(Y({}, b), F), {
757
757
  default: () => typeof B == "function" ? B(T.value) : B
758
758
  });
@@ -767,7 +767,7 @@ const Lo = () => ({
767
767
  role: e.role
768
768
  }, me), {
769
769
  default: () => [v.value.map(c), C.value ? d() : null, W && y(Qe, Y(Y({}, b), {}, {
770
- order: g.value,
770
+ order: h.value,
771
771
  class: `${O.value}-suffix`,
772
772
  registerSize: X,
773
773
  display: !0,
@@ -855,12 +855,12 @@ const _o = {
855
855
  immediate: !0
856
856
  });
857
857
  });
858
- function r(g, x, O, I, P) {
858
+ function r(h, x, O, I, P) {
859
859
  return y("span", {
860
860
  class: ue(`${i.value}-item`, {
861
861
  [`${i.value}-item-disabled`]: O
862
862
  }),
863
- title: typeof g == "string" || typeof g == "number" ? g.toString() : void 0
863
+ title: typeof h == "string" || typeof h == "number" ? h.toString() : void 0
864
864
  }, [y("span", {
865
865
  class: `${i.value}-item-content`
866
866
  }, [x]), I && y(Re, {
@@ -872,31 +872,31 @@ const _o = {
872
872
  default: () => [Me("×")]
873
873
  })]);
874
874
  }
875
- function s(g, x, O, I, P, D) {
875
+ function s(h, x, O, I, P, D) {
876
876
  var C;
877
877
  const v = ($) => {
878
878
  jt($), e.onToggleOpen(!open);
879
879
  };
880
880
  let T = D;
881
- return l.keyEntities && (T = ((C = l.keyEntities[g]) === null || C === void 0 ? void 0 : C.node) || {}), y("span", {
882
- key: g,
881
+ return l.keyEntities && (T = ((C = l.keyEntities[h]) === null || C === void 0 ? void 0 : C.node) || {}), y("span", {
882
+ key: h,
883
883
  onMousedown: v
884
884
  }, [e.tagRender({
885
885
  label: x,
886
- value: g,
886
+ value: h,
887
887
  disabled: O,
888
888
  closable: I,
889
889
  onClose: P,
890
890
  option: T
891
891
  })]);
892
892
  }
893
- function f(g) {
893
+ function f(h) {
894
894
  const {
895
895
  disabled: x,
896
896
  label: O,
897
897
  value: I,
898
898
  option: P
899
- } = g, D = !e.disabled && !x;
899
+ } = h, D = !e.disabled && !x;
900
900
  let C = O;
901
901
  if (typeof e.maxTagTextLength == "number" && (typeof O == "string" || typeof O == "number")) {
902
902
  const T = String(C);
@@ -904,23 +904,23 @@ const _o = {
904
904
  }
905
905
  const v = (T) => {
906
906
  var $;
907
- T && T.stopPropagation(), ($ = e.onRemove) === null || $ === void 0 || $.call(e, g);
907
+ T && T.stopPropagation(), ($ = e.onRemove) === null || $ === void 0 || $.call(e, h);
908
908
  };
909
909
  return typeof e.tagRender == "function" ? s(I, C, x, D, v, P) : r(O, C, x, D, v);
910
910
  }
911
- function p(g) {
911
+ function p(h) {
912
912
  const {
913
913
  maxTagPlaceholder: x = (I) => `+ ${I.length} ...`
914
- } = e, O = typeof x == "function" ? x(g) : x;
914
+ } = e, O = typeof x == "function" ? x(h) : x;
915
915
  return r(O, O, !1);
916
916
  }
917
- const S = (g) => {
918
- const x = g.target.composing;
919
- m.value = g.target.value, x || e.onInputChange(g);
917
+ const S = (h) => {
918
+ const x = h.target.composing;
919
+ m.value = h.target.value, x || e.onInputChange(h);
920
920
  };
921
921
  return () => {
922
922
  const {
923
- id: g,
923
+ id: h,
924
924
  prefixCls: x,
925
925
  values: O,
926
926
  open: I,
@@ -947,7 +947,7 @@ const _o = {
947
947
  inputRef: P,
948
948
  open: I,
949
949
  prefixCls: x,
950
- id: g,
950
+ id: h,
951
951
  inputElement: null,
952
952
  disabled: C,
953
953
  autofocus: v,
@@ -1059,7 +1059,7 @@ const _o = {
1059
1059
  return () => {
1060
1060
  var s, f, p, S;
1061
1061
  const {
1062
- inputElement: g,
1062
+ inputElement: h,
1063
1063
  prefixCls: x,
1064
1064
  id: O,
1065
1065
  values: I,
@@ -1090,7 +1090,7 @@ const _o = {
1090
1090
  prefixCls: x,
1091
1091
  id: O,
1092
1092
  open: $,
1093
- inputElement: g,
1093
+ inputElement: h,
1094
1094
  disabled: D,
1095
1095
  autofocus: C,
1096
1096
  autocomplete: v,
@@ -1260,7 +1260,7 @@ const Wo = ce({
1260
1260
  P = P.replace(D, r);
1261
1261
  }
1262
1262
  r = null, s(P);
1263
- }, g = (I) => {
1263
+ }, h = (I) => {
1264
1264
  const {
1265
1265
  clipboardData: P
1266
1266
  } = I;
@@ -1293,7 +1293,7 @@ const Wo = ce({
1293
1293
  onInputKeyDown: a,
1294
1294
  onInputMouseDown: m,
1295
1295
  onInputChange: S,
1296
- onInputPaste: g,
1296
+ onInputPaste: h,
1297
1297
  compositionStatus: l.value,
1298
1298
  onInputCompositionStart: f,
1299
1299
  onInputCompositionEnd: p
@@ -1547,7 +1547,7 @@ const Zo = ce({
1547
1547
  $e(() => {
1548
1548
  a.value = Xo();
1549
1549
  });
1550
- const m = wt(), r = G(null), s = je(), f = G(null), p = G(null), S = G(null), g = he(!1), [x, O, I] = Uo();
1550
+ const m = wt(), r = G(null), s = je(), f = G(null), p = G(null), S = G(null), h = he(!1), [x, O, I] = Uo();
1551
1551
  t({
1552
1552
  focus: () => {
1553
1553
  var c;
@@ -1580,9 +1580,7 @@ const Zo = ce({
1580
1580
  });
1581
1581
  const j = R(() => V.value ? !1 : $.value), z = (c) => {
1582
1582
  const d = c !== void 0 ? c : !$.value;
1583
- $.value !== d && !e.disabled && (N(d), e.onDropdownVisibleChange && e.onDropdownVisibleChange(d), !d && _.value && (_.value = !1, O(!1, () => {
1584
- H.value = !1, g.value = !1;
1585
- })));
1583
+ $.value !== d && !e.disabled && (N(d), e.onDropdownVisibleChange && e.onDropdownVisibleChange(d));
1586
1584
  }, Q = R(() => (e.tokenSeparators || []).some((c) => [`
1587
1585
  `, `\r
1588
1586
  `].includes(c))), X = (c, d, F) => {
@@ -1605,7 +1603,7 @@ const Zo = ce({
1605
1603
  immediate: !0,
1606
1604
  flush: "post"
1607
1605
  }), ae(() => e.disabled, () => {
1608
- T.value && e.disabled && N(!1), e.disabled && !g.value && O(!1);
1606
+ T.value && e.disabled && N(!1), e.disabled && !h.value && O(!1);
1609
1607
  }, {
1610
1608
  immediate: !0
1611
1609
  });
@@ -1636,7 +1634,7 @@ const Zo = ce({
1636
1634
  for (var d = arguments.length, F = new Array(d > 1 ? d - 1 : 0), E = 1; E < d; E++)
1637
1635
  F[E - 1] = arguments[E];
1638
1636
  $.value && S.value && S.value.onKeyup(c, ...F), e.onKeyup && e.onKeyup(c, ...F);
1639
- }, h = (c) => {
1637
+ }, g = (c) => {
1640
1638
  const d = e.displayValues.filter((F) => F !== c);
1641
1639
  e.onDisplayValuesChange(d, {
1642
1640
  type: "remove",
@@ -1645,8 +1643,8 @@ const Zo = ce({
1645
1643
  }, H = G(!1), W = function() {
1646
1644
  O(!0), e.disabled || (e.onFocus && !H.value && e.onFocus(...arguments), e.showAction && e.showAction.includes("focus") && z(!0)), H.value = !0;
1647
1645
  }, _ = he(!1), te = function() {
1648
- if (_.value || (g.value = !0, O(!1, () => {
1649
- H.value = !1, g.value = !1, z(!1);
1646
+ if (_.value || (h.value = !0, O(!1, () => {
1647
+ H.value = !1, h.value = !1, z(!1);
1650
1648
  }), e.disabled))
1651
1649
  return;
1652
1650
  const c = C.value;
@@ -1855,7 +1853,7 @@ const Zo = ce({
1855
1853
  searchValue: C.value,
1856
1854
  onSearch: X,
1857
1855
  onSearchSubmit: U,
1858
- onRemove: h,
1856
+ onRemove: g,
1859
1857
  tokenWithEnter: Q.value
1860
1858
  }), null)
1861
1859
  });
@@ -2201,7 +2199,7 @@ function ol(e, n, o, t, l, i, u, a) {
2201
2199
  index: p
2202
2200
  } = r : p = s.findIndex((O) => l(O) === r.key);
2203
2201
  const {
2204
- offset: g = 0
2202
+ offset: h = 0
2205
2203
  } = r, x = (O, I) => {
2206
2204
  if (O < 0 || !e.value) return;
2207
2205
  const P = e.value.clientHeight;
@@ -2220,10 +2218,10 @@ function ol(e, n, o, t, l, i, u, a) {
2220
2218
  let z = null;
2221
2219
  switch (v) {
2222
2220
  case "top":
2223
- z = $ - g;
2221
+ z = $ - h;
2224
2222
  break;
2225
2223
  case "bottom":
2226
- z = N - P + g;
2224
+ z = N - P + h;
2227
2225
  break;
2228
2226
  default: {
2229
2227
  const Q = j + P;
@@ -2283,9 +2281,9 @@ function rl(e, n, o) {
2283
2281
  }, m = (p) => {
2284
2282
  if (t) {
2285
2283
  const S = Math.ceil(p.touches[0].pageY);
2286
- let g = l - S;
2287
- l = S, o(g) && p.preventDefault(), clearInterval(u), u = setInterval(() => {
2288
- g *= al, (!o(g, !0) || Math.abs(g) <= 0.1) && clearInterval(u);
2284
+ let h = l - S;
2285
+ l = S, o(h) && p.preventDefault(), clearInterval(u), u = setInterval(() => {
2286
+ h *= al, (!o(h, !0) || Math.abs(h) <= 0.1) && clearInterval(u);
2289
2287
  }, 16);
2290
2288
  }
2291
2289
  }, r = () => {
@@ -2377,18 +2375,18 @@ const fl = ce({
2377
2375
  } = n;
2378
2376
  const t = R(() => {
2379
2377
  const {
2380
- height: h,
2378
+ height: g,
2381
2379
  itemHeight: H,
2382
2380
  virtual: W
2383
2381
  } = e;
2384
- return !!(W !== !1 && h && H);
2382
+ return !!(W !== !1 && g && H);
2385
2383
  }), l = R(() => {
2386
2384
  const {
2387
- height: h,
2385
+ height: g,
2388
2386
  itemHeight: H,
2389
2387
  data: W
2390
2388
  } = e;
2391
- return t.value && W && H * W.length > h;
2389
+ return t.value && W && H * W.length > g;
2392
2390
  }), i = Le({
2393
2391
  scrollTop: 0,
2394
2392
  scrollMoving: !1
@@ -2398,19 +2396,19 @@ const fl = ce({
2398
2396
  }, {
2399
2397
  immediate: !0
2400
2398
  });
2401
- const m = G((h) => {
2399
+ const m = G((g) => {
2402
2400
  });
2403
- ae(() => e.itemKey, (h) => {
2404
- typeof h == "function" ? m.value = h : m.value = (H) => H == null ? void 0 : H[h];
2401
+ ae(() => e.itemKey, (g) => {
2402
+ typeof g == "function" ? m.value = g : m.value = (H) => H == null ? void 0 : H[g];
2405
2403
  }, {
2406
2404
  immediate: !0
2407
2405
  });
2408
- const r = G(), s = G(), f = G(), p = (h) => m.value(h), S = {
2406
+ const r = G(), s = G(), f = G(), p = (g) => m.value(g), S = {
2409
2407
  getKey: p
2410
2408
  };
2411
- function g(h) {
2409
+ function h(g) {
2412
2410
  let H;
2413
- typeof h == "function" ? H = h(i.scrollTop) : H = h;
2411
+ typeof g == "function" ? H = g(i.scrollTop) : H = g;
2414
2412
  const W = T(H);
2415
2413
  r.value && (r.value.scrollTop = W), i.scrollTop = W;
2416
2414
  }
@@ -2422,13 +2420,13 @@ const fl = ce({
2422
2420
  }), C = G(0);
2423
2421
  $e(() => {
2424
2422
  ze(() => {
2425
- var h;
2426
- C.value = ((h = s.value) === null || h === void 0 ? void 0 : h.offsetHeight) || 0;
2423
+ var g;
2424
+ C.value = ((g = s.value) === null || g === void 0 ? void 0 : g.offsetHeight) || 0;
2427
2425
  });
2428
2426
  }), kn(() => {
2429
2427
  ze(() => {
2430
- var h;
2431
- C.value = ((h = s.value) === null || h === void 0 ? void 0 : h.offsetHeight) || 0;
2428
+ var g;
2429
+ C.value = ((g = s.value) === null || g === void 0 ? void 0 : g.offsetHeight) || 0;
2432
2430
  });
2433
2431
  }), ae([t, a], () => {
2434
2432
  t.value || w(D, {
@@ -2451,7 +2449,7 @@ const fl = ce({
2451
2449
  }), ae([l, t, () => i.scrollTop, a, P, () => e.height, C], () => {
2452
2450
  if (!t.value || !l.value)
2453
2451
  return;
2454
- let h = 0, H, W, _;
2452
+ let g = 0, H, W, _;
2455
2453
  const te = a.value.length, oe = a.value, re = i.scrollTop, {
2456
2454
  itemHeight: ne,
2457
2455
  height: me
@@ -2460,11 +2458,11 @@ const fl = ce({
2460
2458
  const c = oe[b], d = p(c);
2461
2459
  let F = I.get(d);
2462
2460
  F === void 0 && (F = ne);
2463
- const E = h + F;
2464
- H === void 0 && E >= re && (H = b, W = h), _ === void 0 && E > pe && (_ = b), h = E;
2461
+ const E = g + F;
2462
+ H === void 0 && E >= re && (H = b, W = g), _ === void 0 && E > pe && (_ = b), g = E;
2465
2463
  }
2466
2464
  H === void 0 && (H = 0, W = 0, _ = Math.ceil(me / ne)), _ === void 0 && (_ = te - 1), _ = Math.min(_ + 1, te), w(D, {
2467
- scrollHeight: h,
2465
+ scrollHeight: g,
2468
2466
  start: H,
2469
2467
  end: _,
2470
2468
  offset: W
@@ -2473,31 +2471,31 @@ const fl = ce({
2473
2471
  immediate: !0
2474
2472
  });
2475
2473
  const v = R(() => D.scrollHeight - e.height);
2476
- function T(h) {
2477
- let H = h;
2474
+ function T(g) {
2475
+ let H = g;
2478
2476
  return Number.isNaN(v.value) || (H = Math.min(H, v.value)), H = Math.max(H, 0), H;
2479
2477
  }
2480
2478
  const $ = R(() => i.scrollTop <= 0), N = R(() => i.scrollTop >= v.value), V = gn($, N);
2481
- function j(h) {
2482
- g(h);
2479
+ function j(g) {
2480
+ h(g);
2483
2481
  }
2484
- function z(h) {
2482
+ function z(g) {
2485
2483
  var H;
2486
2484
  const {
2487
2485
  scrollTop: W
2488
- } = h.currentTarget;
2489
- W !== i.scrollTop && g(W), (H = e.onScroll) === null || H === void 0 || H.call(e, h);
2486
+ } = g.currentTarget;
2487
+ W !== i.scrollTop && h(W), (H = e.onScroll) === null || H === void 0 || H.call(e, g);
2490
2488
  }
2491
- const [Q, X] = il(t, $, N, (h) => {
2492
- g((H) => H + h);
2489
+ const [Q, X] = il(t, $, N, (g) => {
2490
+ h((H) => H + g);
2493
2491
  });
2494
- rl(t, r, (h, H) => V(h, H) ? !1 : (Q({
2492
+ rl(t, r, (g, H) => V(g, H) ? !1 : (Q({
2495
2493
  preventDefault() {
2496
2494
  },
2497
- deltaY: h
2495
+ deltaY: g
2498
2496
  }), !0));
2499
- function U(h) {
2500
- t.value && h.preventDefault();
2497
+ function U(g) {
2498
+ t.value && g.preventDefault();
2501
2499
  }
2502
2500
  const M = () => {
2503
2501
  r.value && (r.value.removeEventListener("wheel", Q, Oe ? {
@@ -2513,23 +2511,23 @@ const fl = ce({
2513
2511
  }), Ye(() => {
2514
2512
  M();
2515
2513
  });
2516
- const L = ol(r, a, I, e, p, O, g, () => {
2517
- var h;
2518
- (h = f.value) === null || h === void 0 || h.delayHidden();
2514
+ const L = ol(r, a, I, e, p, O, h, () => {
2515
+ var g;
2516
+ (g = f.value) === null || g === void 0 || g.delayHidden();
2519
2517
  });
2520
2518
  o({
2521
2519
  scrollTo: L
2522
2520
  });
2523
2521
  const k = R(() => {
2524
- let h = null;
2525
- return e.height && (h = w({
2522
+ let g = null;
2523
+ return e.height && (g = w({
2526
2524
  [e.fullHeight ? "height" : "maxHeight"]: e.height + "px"
2527
- }, cl), t.value && (h.overflowY = "hidden", i.scrollMoving && (h.pointerEvents = "none"))), h;
2525
+ }, cl), t.value && (g.overflowY = "hidden", i.scrollMoving && (g.pointerEvents = "none"))), g;
2528
2526
  });
2529
2527
  return ae([() => D.start, () => D.end, a], () => {
2530
2528
  if (e.onVisibleChange) {
2531
- const h = a.value.slice(D.start, D.end + 1);
2532
- e.onVisibleChange(h, a.value);
2529
+ const g = a.value.slice(D.start, D.end + 1);
2530
+ e.onVisibleChange(g, a.value);
2533
2531
  }
2534
2532
  }, {
2535
2533
  flush: "post"
@@ -2548,8 +2546,8 @@ const fl = ce({
2548
2546
  scrollBarRef: f,
2549
2547
  fillerInnerRef: s,
2550
2548
  delayHideScrollBar: () => {
2551
- var h;
2552
- (h = f.value) === null || h === void 0 || h.delayHidden();
2549
+ var g;
2550
+ (g = f.value) === null || g === void 0 || g.delayHidden();
2553
2551
  }
2554
2552
  };
2555
2553
  },
@@ -2568,7 +2566,7 @@ const fl = ce({
2568
2566
  children: s = this.$slots.default,
2569
2567
  style: f,
2570
2568
  class: p
2571
- } = e, S = sl(e, ["prefixCls", "height", "itemHeight", "fullHeight", "data", "itemKey", "virtual", "component", "onScroll", "children", "style", "class"]), g = ue(n, p), {
2569
+ } = e, S = sl(e, ["prefixCls", "height", "itemHeight", "fullHeight", "data", "itemKey", "virtual", "component", "onScroll", "children", "style", "class"]), h = ue(n, p), {
2572
2570
  scrollTop: x
2573
2571
  } = this.state, {
2574
2572
  scrollHeight: O,
@@ -2590,7 +2588,7 @@ const fl = ce({
2590
2588
  style: w(w({}, f), {
2591
2589
  position: "relative"
2592
2590
  }),
2593
- class: g
2591
+ class: h
2594
2592
  }, S), [y(m, {
2595
2593
  class: `${n}-holder`,
2596
2594
  style: C,
@@ -2698,7 +2696,7 @@ const bl = ce({
2698
2696
  }, {
2699
2697
  immediate: !0
2700
2698
  });
2701
- const g = (v) => i.rawValues.has(v) && l.mode !== "combobox";
2699
+ const h = (v) => i.rawValues.has(v) && l.mode !== "combobox";
2702
2700
  ae([() => l.open, () => l.searchValue], () => {
2703
2701
  if (!l.multiple && l.open && i.rawValues.size === 1) {
2704
2702
  const v = Array.from(i.rawValues)[0], T = gt(a.value).findIndex(($) => {
@@ -2738,7 +2736,7 @@ const bl = ce({
2738
2736
  key: v,
2739
2737
  role: V ? "presentation" : "option",
2740
2738
  id: `${l.id}_list_${v}`,
2741
- "aria-selected": g(N)
2739
+ "aria-selected": h(N)
2742
2740
  }), [N]) : null;
2743
2741
  }
2744
2742
  return o({
@@ -2814,14 +2812,14 @@ const bl = ce({
2814
2812
  default: (L, k) => {
2815
2813
  var ee;
2816
2814
  const {
2817
- group: h,
2815
+ group: g,
2818
2816
  groupOption: H,
2819
2817
  data: W,
2820
2818
  value: _
2821
2819
  } = L, {
2822
2820
  key: te
2823
2821
  } = W, oe = typeof L.label == "function" ? L.label() : L.label;
2824
- if (h) {
2822
+ if (g) {
2825
2823
  const fe = (ee = W.title) !== null && ee !== void 0 ? ee : Yt(oe) && oe;
2826
2824
  return y("div", {
2827
2825
  class: ue(u.value, `${u.value}-group`),
@@ -2835,7 +2833,7 @@ const bl = ce({
2835
2833
  style: pe,
2836
2834
  class: b,
2837
2835
  className: c
2838
- } = W, d = hl(W, ["disabled", "title", "children", "style", "class", "className"]), F = Ze(d, M), E = g(_), B = `${u.value}-option`, q = ue(u.value, B, b, c, {
2836
+ } = W, d = hl(W, ["disabled", "title", "children", "style", "class", "className"]), F = Ze(d, M), E = h(_), B = `${u.value}-option`, q = ue(u.value, B, b, c, {
2839
2837
  [`${B}-grouped`]: H,
2840
2838
  [`${B}-active`]: U === k && !re,
2841
2839
  [`${B}-disabled`]: re,
@@ -2927,8 +2925,8 @@ function wl(e, n, o) {
2927
2925
  const a = u.value, m = /* @__PURE__ */ new Map(), r = /* @__PURE__ */ new Map(), s = o.value;
2928
2926
  function f(p) {
2929
2927
  let S = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1;
2930
- for (let g = 0; g < p.length; g += 1) {
2931
- const x = p[g];
2928
+ for (let h = 0; h < p.length; h += 1) {
2929
+ const x = p[h];
2932
2930
  !x[s.options] || S ? (m.set(x[s.value], x), r.set(x[s.label], x)) : f(x[s.options], !0);
2933
2931
  }
2934
2932
  }
@@ -2970,7 +2968,7 @@ function $l(e) {
2970
2968
  autofocus: f,
2971
2969
  labelInValue: p,
2972
2970
  value: S,
2973
- inputValue: g,
2971
+ inputValue: h,
2974
2972
  optionLabelProp: x
2975
2973
  } = e, O = Ct(n), I = m !== void 0 ? m : O || n === "combobox", P = o || xt(t);
2976
2974
  if (we(n !== "tags" || P.every((D) => !D.disabled), "Please avoid setting option to disabled in tags mode since user can always type text as tag."), we(n !== "combobox" || !x, "`combobox` mode not support `optionLabelProp`. Please set `value` on Option directly."), we(n === "combobox" || !l, "`backfill` only works with `combobox` mode."), we(n === "combobox" || !a, "`getInputElement` only work with `combobox` mode."), _t(n !== "combobox" || !a || !i || !u, "Customize `getInputElement` should customize clear and placeholder logic instead of configuring `allowClear` and `placeholder`."), r && !I && n !== "combobox" && n !== "tags" && we(!1, "`onSearch` should work with `showSearch` instead of use alone."), _t(!s || f, "`defaultOpen` makes Select open without focus which means it will not close by click outside. You can set `autofocus` if needed."), S != null) {
@@ -2987,7 +2985,7 @@ function $l(e) {
2987
2985
  type: T
2988
2986
  } = C;
2989
2987
  return T.isSelectOption ? !1 : T.isSelectOptGroup ? !(((v = C.children) === null || v === void 0 ? void 0 : v.default()) || []).every((V) => !We(V) || !C.type || V.type.isSelectOption ? !0 : (D = V.type, !1)) : (D = T, !0);
2990
- }), D && we(!1, `\`children\` should be \`Select.Option\` or \`Select.OptGroup\` instead of \`${D.displayName || D.name || D}\`.`), we(g === void 0, "`inputValue` is deprecated, please use `searchValue` instead.");
2988
+ }), D && we(!1, `\`children\` should be \`Select.Option\` or \`Select.OptGroup\` instead of \`${D.displayName || D.name || D}\`.`), we(h === void 0, "`inputValue` is deprecated, please use `searchValue` instead.");
2991
2989
  }
2992
2990
  }
2993
2991
  function ut(e, n) {
@@ -3001,20 +2999,20 @@ const Tl = (e, n, o, t, l) => R(() => {
3001
2999
  options: m,
3002
3000
  label: r,
3003
3001
  value: s
3004
- } = n.value, f = [], p = typeof a == "function", S = i.toUpperCase(), g = p ? a : (O, I) => u ? ut(I[u], S) : I[m] ? ut(I[r !== "children" ? r : "label"], S) : ut(I[s], S), x = p ? (O) => pt(O) : (O) => O;
3002
+ } = n.value, f = [], p = typeof a == "function", S = i.toUpperCase(), h = p ? a : (O, I) => u ? ut(I[u], S) : I[m] ? ut(I[r !== "children" ? r : "label"], S) : ut(I[s], S), x = p ? (O) => pt(O) : (O) => O;
3005
3003
  return e.value.forEach((O) => {
3006
3004
  if (O[m]) {
3007
- if (g(i, x(O)))
3005
+ if (h(i, x(O)))
3008
3006
  f.push(O);
3009
3007
  else {
3010
- const P = O[m].filter((D) => g(i, x(D)));
3008
+ const P = O[m].filter((D) => h(i, x(D)));
3011
3009
  P.length && f.push(w(w({}, O), {
3012
3010
  [m]: P
3013
3011
  }));
3014
3012
  }
3015
3013
  return;
3016
3014
  }
3017
- g(i, x(O)) && f.push(O);
3015
+ h(i, x(O)) && f.push(O);
3018
3016
  }), f;
3019
3017
  }), El = (e, n) => {
3020
3018
  const o = G({
@@ -3122,7 +3120,7 @@ const Rl = ce({
3122
3120
  postState: (b) => b || ""
3123
3121
  }), p = wl(xe(e, "options"), xe(e, "children"), r), {
3124
3122
  valueOptions: S,
3125
- labelOptions: g,
3123
+ labelOptions: h,
3126
3124
  options: x
3127
3125
  } = p, O = (b) => Ot(b).map((d) => {
3128
3126
  var F, E;
@@ -3203,7 +3201,7 @@ const Rl = ce({
3203
3201
  u.value ? F : F[0]
3204
3202
  );
3205
3203
  }
3206
- }, [M, L] = zt(null), [k, ee] = zt(0), h = R(() => e.defaultActiveFirstOption !== void 0 ? e.defaultActiveFirstOption : e.mode !== "combobox"), H = function(b, c) {
3204
+ }, [M, L] = zt(null), [k, ee] = zt(0), g = R(() => e.defaultActiveFirstOption !== void 0 ? e.defaultActiveFirstOption : e.mode !== "combobox"), H = function(b, c) {
3207
3205
  let {
3208
3206
  source: d = "keyboard"
3209
3207
  } = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
@@ -3248,7 +3246,7 @@ const Rl = ce({
3248
3246
  }, re = (b) => {
3249
3247
  let c = b;
3250
3248
  e.mode !== "tags" && (c = b.map((F) => {
3251
- const E = g.value.get(F);
3249
+ const E = h.value.get(F);
3252
3250
  return E == null ? void 0 : E.value;
3253
3251
  }).filter((F) => F !== void 0));
3254
3252
  const d = Array.from(/* @__PURE__ */ new Set([...$.value, ...c]));
@@ -3259,7 +3257,7 @@ const Rl = ce({
3259
3257
  vl(mn(w(w({}, p), {
3260
3258
  flattenOptions: X,
3261
3259
  onActiveValue: H,
3262
- defaultActiveFirstOption: h,
3260
+ defaultActiveFirstOption: g,
3263
3261
  onSelect: _,
3264
3262
  menuItemSelectedIcon: xe(e, "menuItemSelectedIcon"),
3265
3263
  rawValues: $,
@@ -3378,16 +3376,16 @@ function Nl(e) {
3378
3376
  feedbackIcon: u,
3379
3377
  showArrow: a
3380
3378
  } = e, m = e.suffixIcon || n.suffixIcon && n.suffixIcon(), r = e.clearIcon || n.clearIcon && n.clearIcon(), s = e.menuItemSelectedIcon || n.menuItemSelectedIcon && n.menuItemSelectedIcon(), f = e.removeIcon || n.removeIcon && n.removeIcon(), p = r ?? y(to, null, null), S = (I) => y(Ke, null, [a !== !1 && I, i && u]);
3381
- let g = null;
3379
+ let h = null;
3382
3380
  if (m !== void 0)
3383
- g = S(m);
3381
+ h = S(m);
3384
3382
  else if (o)
3385
- g = S(y(no, {
3383
+ h = S(y(no, {
3386
3384
  spin: !0
3387
3385
  }, null));
3388
3386
  else {
3389
3387
  const I = `${l}-suffix`;
3390
- g = (P) => {
3388
+ h = (P) => {
3391
3389
  let {
3392
3390
  open: D,
3393
3391
  showSearch: C
@@ -3404,7 +3402,7 @@ function Nl(e) {
3404
3402
  let O = null;
3405
3403
  return f !== void 0 ? O = f : O = y(lo, null, null), {
3406
3404
  clearIcon: p,
3407
- suffixIcon: g,
3405
+ suffixIcon: h,
3408
3406
  itemIcon: x,
3409
3407
  removeIcon: O
3410
3408
  };
@@ -4431,7 +4429,7 @@ const Jl = (e) => {
4431
4429
  });
4432
4430
  process.env.NODE_ENV !== "production" && co(!e.dropdownClassName, "Select", "`dropdownClassName` is deprecated. Please use `popupClassName` instead.");
4433
4431
  const {
4434
- prefixCls: g,
4432
+ prefixCls: h,
4435
4433
  direction: x,
4436
4434
  configProvider: O,
4437
4435
  renderEmpty: I,
@@ -4443,20 +4441,20 @@ const Jl = (e) => {
4443
4441
  } = fo("select", e), {
4444
4442
  compactSize: $,
4445
4443
  compactItemClassnames: N
4446
- } = mo(g, x), V = R(() => $.value || P.value), j = po(), z = R(() => {
4444
+ } = mo(h, x), V = R(() => $.value || P.value), j = po(), z = R(() => {
4447
4445
  var _;
4448
4446
  return (_ = v.value) !== null && _ !== void 0 ? _ : j.value;
4449
- }), [Q, X] = ni(g), U = R(() => D()), M = R(() => e.placement !== void 0 ? e.placement : x.value === "rtl" ? "bottomRight" : "bottomLeft"), L = R(() => vo(U.value, go(M.value), e.transitionName)), k = R(() => ue({
4450
- [`${g.value}-lg`]: V.value === "large",
4451
- [`${g.value}-sm`]: V.value === "small",
4452
- [`${g.value}-rtl`]: x.value === "rtl",
4453
- [`${g.value}-borderless`]: !e.bordered,
4454
- [`${g.value}-in-form-item`]: m.isFormItemInput
4455
- }, ho(g.value, r.value, m.hasFeedback), N.value, X.value)), ee = function() {
4447
+ }), [Q, X] = ni(h), U = R(() => D()), M = R(() => e.placement !== void 0 ? e.placement : x.value === "rtl" ? "bottomRight" : "bottomLeft"), L = R(() => vo(U.value, go(M.value), e.transitionName)), k = R(() => ue({
4448
+ [`${h.value}-lg`]: V.value === "large",
4449
+ [`${h.value}-sm`]: V.value === "small",
4450
+ [`${h.value}-rtl`]: x.value === "rtl",
4451
+ [`${h.value}-borderless`]: !e.bordered,
4452
+ [`${h.value}-in-form-item`]: m.isFormItemInput
4453
+ }, ho(h.value, r.value, m.hasFeedback), N.value, X.value)), ee = function() {
4456
4454
  for (var _ = arguments.length, te = new Array(_), oe = 0; oe < _; oe++)
4457
4455
  te[oe] = arguments[oe];
4458
4456
  t("update:value", te[0]), t("change", ...te), a.onFieldChange();
4459
- }, h = (_) => {
4457
+ }, g = (_) => {
4460
4458
  t("blur", _), a.onFieldBlur();
4461
4459
  };
4462
4460
  i({
@@ -4493,12 +4491,12 @@ const Jl = (e) => {
4493
4491
  clearIcon: nt
4494
4492
  } = Nl(w(w({}, e), {
4495
4493
  multiple: H.value,
4496
- prefixCls: g.value,
4494
+ prefixCls: h.value,
4497
4495
  hasFeedback: J,
4498
4496
  feedbackIcon: le,
4499
4497
  showArrow: W.value
4500
4498
  }), l), De = Ze(e, ["prefixCls", "suffixIcon", "itemIcon", "removeIcon", "clearIcon", "size", "bordered", "status"]), Fe = ue(b || c, {
4501
- [`${g.value}-dropdown-${x.value}`]: x.value === "rtl"
4499
+ [`${h.value}-dropdown-${x.value}`]: x.value === "rtl"
4502
4500
  }, X.value);
4503
4501
  return Q(y(Rl, Y(Y(Y({
4504
4502
  ref: u,
@@ -4510,7 +4508,7 @@ const Jl = (e) => {
4510
4508
  listHeight: me,
4511
4509
  listItemHeight: pe,
4512
4510
  mode: S.value,
4513
- prefixCls: g.value,
4511
+ prefixCls: h.value,
4514
4512
  direction: x.value,
4515
4513
  inputIcon: se,
4516
4514
  menuItemSelectedIcon: fe,
@@ -4521,7 +4519,7 @@ const Jl = (e) => {
4521
4519
  getPopupContainer: C == null ? void 0 : C.value,
4522
4520
  dropdownClassName: Fe,
4523
4521
  onChange: ee,
4524
- onBlur: h,
4522
+ onBlur: g,
4525
4523
  id: E,
4526
4524
  dropdownRender: De.dropdownRender || l.dropdownRender,
4527
4525
  transitionName: L.value,
@@ -4632,9 +4630,9 @@ const li = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAA
4632
4630
  }, 8, ["class"])) : Ne("", !0),
4633
4631
  y(ie(qe), null, {
4634
4632
  content: ge(() => {
4635
- var f, p, S, g;
4633
+ var f, p, S, h;
4636
4634
  return [
4637
- ((p = (f = e.item) == null ? void 0 : f.ownStatusVO) == null ? void 0 : p.dayDiff) > 0 ? (ye(), ke("span", ui, ve(ie(Ie)("lastDays", { count: (g = (S = e.item) == null ? void 0 : S.ownStatusVO) == null ? void 0 : g.dayDiff })), 1)) : (ye(), ke("span", ci, ve(ie(Ie)("taday")), 1))
4635
+ ((p = (f = e.item) == null ? void 0 : f.ownStatusVO) == null ? void 0 : p.dayDiff) > 0 ? (ye(), ke("span", ui, ve(ie(Ie)("lastDays", { count: (h = (S = e.item) == null ? void 0 : S.ownStatusVO) == null ? void 0 : h.dayDiff })), 1)) : (ye(), ke("span", ci, ve(ie(Ie)("taday")), 1))
4638
4636
  ];
4639
4637
  }),
4640
4638
  default: ge(() => [
@@ -4693,7 +4691,7 @@ const li = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAA
4693
4691
  ])) : Ne("", !0)
4694
4692
  ]));
4695
4693
  }
4696
- }), Pi = /* @__PURE__ */ Io(hi, [["__scopeId", "data-v-54cde79d"]]);
4694
+ }), Pi = /* @__PURE__ */ Io(hi, [["__scopeId", "data-v-925a67db"]]);
4697
4695
  export {
4698
4696
  Pi as default
4699
4697
  };