ant-design-x-vue 1.0.6 → 1.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -1,7 +1,7 @@
1
1
  var U0 = Object.defineProperty;
2
2
  var G0 = (e, t, n) => t in e ? U0(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
3
3
  var Yn = (e, t, n) => G0(e, typeof t != "symbol" ? t + "" : t, n);
4
- import { computed as $, inject as ve, provide as be, shallowRef as K, defineComponent as W, watch as Q, unref as ie, triggerRef as zt, Fragment as Ie, isVNode as Rt, Comment as q0, Text as om, reactive as ut, getCurrentInstance as Pt, onMounted as $e, onUpdated as Ao, onUnmounted as Mr, ref as G, watchEffect as ye, onBeforeUnmount as Be, createVNode as p, h as ho, Transition as un, withDirectives as Vn, resolveDirective as Y0, cloneVNode as rm, nextTick as Ve, toRef as we, withModifiers as $u, vShow as Mo, onBeforeMount as Z0, Teleport as Ui, createTextVNode as ur, isRef as Q0, toRefs as Is, toRaw as yo, render as dr, onBeforeUpdate as im, TransitionGroup as Ts, createApp as J0, useSlots as It, mergeProps as We, onWatcherCleanup as Ro, toValue as Ae, mergeDefaults as Je, useAttrs as am, useTemplateRef as bo, openBlock as lm, createElementBlock as sm, createElementVNode as co, useId as ey } from "vue";
4
+ import { computed as $, inject as ve, provide as be, shallowRef as K, defineComponent as W, watch as Q, unref as ie, triggerRef as zt, Fragment as Oe, isVNode as Rt, Comment as q0, Text as om, reactive as ut, getCurrentInstance as Pt, onMounted as $e, onUpdated as Ao, onUnmounted as Mr, ref as G, watchEffect as ye, onBeforeUnmount as Be, createVNode as p, h as ho, Transition as un, withDirectives as Vn, resolveDirective as Y0, cloneVNode as rm, nextTick as Ve, toRef as we, withModifiers as $u, vShow as Mo, onBeforeMount as Z0, Teleport as Ui, createTextVNode as ur, isRef as Q0, toRefs as Is, toRaw as yo, render as dr, onBeforeUpdate as im, TransitionGroup as Ts, createApp as J0, useSlots as It, mergeProps as We, onWatcherCleanup as Ro, toValue as Ae, mergeDefaults as qe, useAttrs as am, useTemplateRef as bo, openBlock as lm, createElementBlock as sm, createElementVNode as co, useId as ey } from "vue";
5
5
  const fr = function() {
6
6
  for (var e = arguments.length, t = new Array(e), n = 0; n < e; n++)
7
7
  t[n] = arguments[n];
@@ -39,7 +39,7 @@ function pe(e) {
39
39
  default: e
40
40
  };
41
41
  }
42
- function Ze(e, t) {
42
+ function Qe(e, t) {
43
43
  const n = {
44
44
  validator: () => !0,
45
45
  default: e
@@ -62,7 +62,7 @@ function St(e, t) {
62
62
  return e ? {
63
63
  type: e,
64
64
  default: t
65
- } : Ze(t);
65
+ } : Qe(t);
66
66
  }
67
67
  const Es = "anticon", ny = Symbol("GlobalFormContextKey"), oy = (e) => {
68
68
  be(ny, e);
@@ -622,12 +622,12 @@ const Pl = (e) => e != null && e !== "", at = (e, t) => {
622
622
  let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [], t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0;
623
623
  const n = Array.isArray(e) ? e : [e], o = [];
624
624
  return n.forEach((r) => {
625
- Array.isArray(r) ? o.push(...tt(r, t)) : r && r.type === Ie ? r.key === bm ? o.push(r) : o.push(...tt(r.children, t)) : r && Rt(r) ? t && !Sm(r) ? o.push(r) : t || o.push(r) : Pl(r) && o.push(r);
625
+ Array.isArray(r) ? o.push(...tt(r, t)) : r && r.type === Oe ? r.key === bm ? o.push(r) : o.push(...tt(r.children, t)) : r && Rt(r) ? t && !Sm(r) ? o.push(r) : t || o.push(r) : Pl(r) && o.push(r);
626
626
  }), o;
627
627
  }, Xy = function(e) {
628
628
  let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "default", n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
629
629
  if (Rt(e))
630
- return e.type === Ie ? t === "default" ? tt(e.children) : [] : e.children && e.children[t] ? tt(e.children[t](n)) : [];
630
+ return e.type === Oe ? t === "default" ? tt(e.children) : [] : e.children && e.children[t] ? tt(e.children[t](n)) : [];
631
631
  {
632
632
  const o = e.$slots[t] && e.$slots[t](n);
633
633
  return tt(o);
@@ -669,7 +669,7 @@ const Pl = (e) => e != null && e !== "", at = (e, t) => {
669
669
  const i = e.props && e.props[t];
670
670
  if (i !== void 0 && e.props !== null)
671
671
  return typeof i == "function" && o ? i(n) : i;
672
- e.type === Ie ? r = e.children : e.children && e.children[t] && (r = e.children[t], r = o && r ? r(n) : r);
672
+ e.type === Oe ? r = e.children : e.children && e.children[t] && (r = e.children[t], r = o && r ? r(n) : r);
673
673
  }
674
674
  return Array.isArray(r) && (r = tt(r), r = r.length === 1 ? r[0] : r, r = r.length === 0 ? void 0 : r), r;
675
675
  };
@@ -682,16 +682,16 @@ function qy(e, t) {
682
682
  return typeof o == "string" && (o = ky(o, t)), o;
683
683
  }
684
684
  function Yy(e) {
685
- return e.length === 1 && e[0].type === Ie;
685
+ return e.length === 1 && e[0].type === Oe;
686
686
  }
687
687
  function Sm(e) {
688
- return e && (e.type === q0 || e.type === Ie && e.children.length === 0 || e.type === om && e.children.trim() === "");
688
+ return e && (e.type === q0 || e.type === Oe && e.children.length === 0 || e.type === om && e.children.trim() === "");
689
689
  }
690
690
  function Dt() {
691
691
  let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [];
692
692
  const t = [];
693
693
  return e.forEach((n) => {
694
- Array.isArray(n) ? t.push(...n) : (n == null ? void 0 : n.type) === Ie ? t.push(...Dt(n.children)) : t.push(n);
694
+ Array.isArray(n) ? t.push(...n) : (n == null ? void 0 : n.type) === Oe ? t.push(...Dt(n.children)) : t.push(n);
695
695
  }), t.filter((n) => !Sm(n));
696
696
  }
697
697
  function Wt(e) {
@@ -3545,8 +3545,8 @@ var B1 = function(e, t) {
3545
3545
  const L1 = () => ({
3546
3546
  prefixCls: String,
3547
3547
  imageStyle: he(),
3548
- image: Ze(),
3549
- description: Ze()
3548
+ image: Qe(),
3549
+ description: Qe()
3550
3550
  }), Vs = W({
3551
3551
  name: "AEmpty",
3552
3552
  compatConfig: {
@@ -3562,7 +3562,7 @@ const L1 = () => ({
3562
3562
  const {
3563
3563
  direction: r,
3564
3564
  prefixCls: i
3565
- } = Oe("empty", e), [a, l] = z1(i);
3565
+ } = Pe("empty", e), [a, l] = z1(i);
3566
3566
  return () => {
3567
3567
  var s, c;
3568
3568
  const u = i.value, d = v(v({}, e), o), {
@@ -3602,7 +3602,7 @@ Vs.PRESENTED_IMAGE_SIMPLE = () => ho(ig);
3602
3602
  const Vo = dn(Vs), ag = (e) => {
3603
3603
  const {
3604
3604
  prefixCls: t
3605
- } = Oe("empty", e);
3605
+ } = Pe("empty", e);
3606
3606
  return ((o) => {
3607
3607
  switch (o) {
3608
3608
  case "Table":
@@ -3632,7 +3632,7 @@ function F1(e) {
3632
3632
  const lg = Symbol("SizeContextKey"), sg = () => ve(lg, G(void 0)), H1 = (e) => {
3633
3633
  const t = sg();
3634
3634
  return be(lg, $(() => e.value || t.value)), e;
3635
- }, Oe = (e, t) => {
3635
+ }, Pe = (e, t) => {
3636
3636
  const n = sg(), o = Wn(), r = ve(As, v(v({}, cm), {
3637
3637
  renderEmpty: (b) => ho(ag, {
3638
3638
  componentName: b
@@ -3748,10 +3748,10 @@ var Ln = function(e) {
3748
3748
  return Gu(e) !== !1 && typeof (t = e.constructor) == "function" && Gu(n = t.prototype) !== !1 && n.hasOwnProperty("isPrototypeOf") !== !1;
3749
3749
  }, gg = function(e) {
3750
3750
  return e;
3751
- }, Qe = gg;
3751
+ }, Je = gg;
3752
3752
  if (process.env.NODE_ENV !== "production") {
3753
3753
  var V1 = typeof console < "u";
3754
- Qe = V1 ? function(e) {
3754
+ Je = V1 ? function(e) {
3755
3755
  console.warn("[VueTypes warn]: " + e);
3756
3756
  } : gg;
3757
3757
  }
@@ -3793,16 +3793,16 @@ function Kn(e, t, n) {
3793
3793
  }
3794
3794
  if (!r) {
3795
3795
  var l = a + 'value "' + t + '" should be of type "' + i + '"';
3796
- return n === !1 ? (Qe(l), !1) : l;
3796
+ return n === !1 ? (Je(l), !1) : l;
3797
3797
  }
3798
3798
  if ($r(o, "validator") && Oo(o.validator)) {
3799
- var s = Qe, c = [];
3800
- if (Qe = function(d) {
3799
+ var s = Je, c = [];
3800
+ if (Je = function(d) {
3801
3801
  c.push(d);
3802
- }, r = o.validator(t), Qe = s, !r) {
3802
+ }, r = o.validator(t), Je = s, !r) {
3803
3803
  var u = (c.length > 1 ? "* " : "") + c.join(`
3804
3804
  * `);
3805
- return c.length = 0, n === !1 ? (Qe(u), r) : u;
3805
+ return c.length = 0, n === !1 ? (Je(u), r) : u;
3806
3806
  }
3807
3807
  }
3808
3808
  return r;
@@ -3815,14 +3815,14 @@ function ft(e, t) {
3815
3815
  return [].concat(r);
3816
3816
  } : Ln(r) ? function() {
3817
3817
  return Object.assign({}, r);
3818
- } : r, this) : (Qe(this._vueTypes_name + ' - invalid default value: "' + r + '"'), this) : this;
3818
+ } : r, this) : (Je(this._vueTypes_name + ' - invalid default value: "' + r + '"'), this) : this;
3819
3819
  } } }), o = n.validator;
3820
3820
  return Oo(o) && (n.validator = Ws(o, n)), n;
3821
3821
  }
3822
3822
  function Nt(e, t) {
3823
3823
  var n = ft(e, t);
3824
3824
  return Object.defineProperty(n, "validate", { value: function(o) {
3825
- return Oo(this.validator) && Qe(this._vueTypes_name + ` - calling .validate() will overwrite the current custom validator function. Validator info:
3825
+ return Oo(this.validator) && Je(this._vueTypes_name + ` - calling .validate() will overwrite the current custom validator function. Validator info:
3826
3826
  ` + JSON.stringify(this)), this.validator = Ws(o, this), this;
3827
3827
  } });
3828
3828
  }
@@ -3870,7 +3870,7 @@ function J1(e, t) {
3870
3870
  if (t === void 0 && (t = "custom validation failed"), typeof e != "function") throw new TypeError("[VueTypes error]: You must provide a function as argument");
3871
3871
  return ft(e.name || "<<anonymous function>>", { validator: function(n) {
3872
3872
  var o = e(n);
3873
- return o || Qe(this._vueTypes_name + " - " + t), o;
3873
+ return o || Je(this._vueTypes_name + " - " + t), o;
3874
3874
  } });
3875
3875
  }
3876
3876
  function eS(e) {
@@ -3884,7 +3884,7 @@ function eS(e) {
3884
3884
  }, []);
3885
3885
  return ft("oneOf", { type: n.length > 0 ? n : void 0, validator: function(o) {
3886
3886
  var r = e.indexOf(o) !== -1;
3887
- return r || Qe(t), r;
3887
+ return r || Je(t), r;
3888
3888
  } });
3889
3889
  }
3890
3890
  function tS(e) {
@@ -3910,7 +3910,7 @@ function tS(e) {
3910
3910
  var c = Kn(Mi(s) && s._vueTypes_name === "oneOf" ? s.type || null : s, i, !0);
3911
3911
  return typeof c == "string" && a.push(c), c === !0;
3912
3912
  });
3913
- return l || Qe("oneOfType - provided value does not match any of the " + a.length + ` passed-in validators:
3913
+ return l || Je("oneOfType - provided value does not match any of the " + a.length + ` passed-in validators:
3914
3914
  ` + na(a.join(`
3915
3915
  `))), l;
3916
3916
  } } : { type: n });
@@ -3920,7 +3920,7 @@ function nS(e) {
3920
3920
  var n, o = t.every(function(r) {
3921
3921
  return (n = Kn(e, r, !0)) === !0;
3922
3922
  });
3923
- return o || Qe(`arrayOf - value validation error:
3923
+ return o || Je(`arrayOf - value validation error:
3924
3924
  ` + na(n)), o;
3925
3925
  } });
3926
3926
  }
@@ -3932,7 +3932,7 @@ function rS(e) {
3932
3932
  var n, o = Object.keys(t).every(function(r) {
3933
3933
  return (n = Kn(e, t[r], !0)) === !0;
3934
3934
  });
3935
- return o || Qe(`objectOf - value validation error:
3935
+ return o || Je(`objectOf - value validation error:
3936
3936
  ` + na(n)), o;
3937
3937
  } });
3938
3938
  }
@@ -3950,12 +3950,12 @@ function iS(e) {
3950
3950
  var l = n.filter(function(s) {
3951
3951
  return a.indexOf(s) === -1;
3952
3952
  });
3953
- return Qe(l.length === 1 ? 'shape - required property "' + l[0] + '" is not defined.' : 'shape - required properties "' + l.join('", "') + '" are not defined.'), !1;
3953
+ return Je(l.length === 1 ? 'shape - required property "' + l[0] + '" is not defined.' : 'shape - required properties "' + l.join('", "') + '" are not defined.'), !1;
3954
3954
  }
3955
3955
  return a.every(function(s) {
3956
- if (t.indexOf(s) === -1) return i._vueTypes_isLoose === !0 || (Qe('shape - shape definition does not include a "' + s + '" property. Allowed keys: "' + t.join('", "') + '".'), !1);
3956
+ if (t.indexOf(s) === -1) return i._vueTypes_isLoose === !0 || (Je('shape - shape definition does not include a "' + s + '" property. Allowed keys: "' + t.join('", "') + '".'), !1);
3957
3957
  var c = Kn(e[s], r[s], !0);
3958
- return typeof c == "string" && Qe('shape - "' + s + `" property validation error:
3958
+ return typeof c == "string" && Je('shape - "' + s + `" property validation error:
3959
3959
  ` + na(c)), c === !0;
3960
3960
  });
3961
3961
  } });
@@ -6487,7 +6487,7 @@ const hi = ht(), Bd = (e) => {
6487
6487
  }, {
6488
6488
  default: this.getComponent
6489
6489
  });
6490
- return p(Ie, null, [l, s]);
6490
+ return p(Oe, null, [l, s]);
6491
6491
  }
6492
6492
  });
6493
6493
  var jx = function(e, t) {
@@ -7856,13 +7856,13 @@ const rw = () => ({
7856
7856
  component: T,
7857
7857
  invalidate: x.value
7858
7858
  }, j = z ? (se, ge) => {
7859
- const Pe = b(se, ge);
7859
+ const Ie = b(se, ge);
7860
7860
  return p(Ul, {
7861
- key: Pe,
7861
+ key: Ie,
7862
7862
  value: v(v({}, le), {
7863
7863
  order: ge,
7864
7864
  item: se,
7865
- itemKey: Pe,
7865
+ itemKey: Ie,
7866
7866
  registerSize: M,
7867
7867
  display: ge <= h.value
7868
7868
  })
@@ -7870,13 +7870,13 @@ const rw = () => ({
7870
7870
  default: () => [z(se, ge)]
7871
7871
  });
7872
7872
  } : (se, ge) => {
7873
- const Pe = b(se, ge);
7873
+ const Ie = b(se, ge);
7874
7874
  return p(yi, F(F({}, le), {}, {
7875
7875
  order: ge,
7876
- key: Pe,
7876
+ key: Ie,
7877
7877
  item: se,
7878
7878
  renderItem: E.value,
7879
- itemKey: Pe,
7879
+ itemKey: Ie,
7880
7880
  registerSize: M,
7881
7881
  display: ge <= h.value
7882
7882
  }), null);
@@ -8122,7 +8122,7 @@ const aw = {
8122
8122
  maxCount: e.maxTagCount,
8123
8123
  key: "overflow"
8124
8124
  }, null);
8125
- return p(Ie, null, [T, !y.length && !a.value && !R && p("span", {
8125
+ return p(Oe, null, [T, !y.length && !a.value && !R && p("span", {
8126
8126
  class: `${i.value}-placeholder`
8127
8127
  }, [x])]);
8128
8128
  };
@@ -8226,7 +8226,7 @@ const aw = {
8226
8226
  T = i.customSlots[(f = B.slots) === null || f === void 0 ? void 0 : f.title] || i.customSlots.title || P.label, typeof T == "function" && (T = T(B));
8227
8227
  } else
8228
8228
  T = R && P ? R(P.option) : P == null ? void 0 : P.label;
8229
- return p(Ie, null, [p("span", {
8229
+ return p(Oe, null, [p("span", {
8230
8230
  class: `${g}-selection-search`
8231
8231
  }, [p(Kg, {
8232
8232
  inputRef: C,
@@ -8251,7 +8251,7 @@ const aw = {
8251
8251
  }, null)]), !n.value && P && !a.value && p("span", {
8252
8252
  class: `${g}-selection-item`,
8253
8253
  title: l.value
8254
- }, [p(Ie, {
8254
+ }, [p(Oe, {
8255
8255
  key: (m = P.key) !== null && m !== void 0 ? m : P.value
8256
8256
  }, [T])]), s()]);
8257
8257
  };
@@ -8730,10 +8730,10 @@ const Cw = W({
8730
8730
  `, `\r
8731
8731
  `].includes(j))), D = (j, X, ee) => {
8732
8732
  var ae, se;
8733
- let ge = !0, Pe = j;
8733
+ let ge = !0, Ie = j;
8734
8734
  (ae = e.onActiveValueChange) === null || ae === void 0 || ae.call(e, null);
8735
8735
  const Te = ee ? null : aS(j, e.tokenSeparators);
8736
- return e.mode !== "combobox" && Te && (Pe = "", (se = e.onSearchSplit) === null || se === void 0 || se.call(e, Te), M(!1), ge = !1), e.onSearch && w.value !== Pe && e.onSearch(Pe, {
8736
+ return e.mode !== "combobox" && Te && (Ie = "", (se = e.onSearchSplit) === null || se === void 0 || se.call(e, Te), M(!1), ge = !1), e.onSearch && w.value !== Ie && e.onSearch(Ie, {
8737
8737
  source: X ? "typing" : "effect"
8738
8738
  }), ge;
8739
8739
  }, H = (j) => {
@@ -8772,8 +8772,8 @@ const Cw = W({
8772
8772
  values: [je]
8773
8773
  });
8774
8774
  }
8775
- for (var se = arguments.length, ge = new Array(se > 1 ? se - 1 : 0), Pe = 1; Pe < se; Pe++)
8776
- ge[Pe - 1] = arguments[Pe];
8775
+ for (var se = arguments.length, ge = new Array(se > 1 ? se - 1 : 0), Ie = 1; Ie < se; Ie++)
8776
+ ge[Ie - 1] = arguments[Ie];
8777
8777
  b.value && m.value && m.value.onKeydown(j, ...ge), (X = e.onKeydown) === null || X === void 0 || X.call(e, j, ...ge);
8778
8778
  }, B = function(j) {
8779
8779
  for (var X = arguments.length, ee = new Array(X > 1 ? X - 1 : 0), ae = 1; ae < X; ae++)
@@ -8826,9 +8826,9 @@ const Cw = W({
8826
8826
  });
8827
8827
  oe.push(je);
8828
8828
  }
8829
- for (var ge = arguments.length, Pe = new Array(ge > 1 ? ge - 1 : 0), Te = 1; Te < ge; Te++)
8830
- Pe[Te - 1] = arguments[Te];
8831
- (ee = e.onMousedown) === null || ee === void 0 || ee.call(e, j, ...Pe);
8829
+ for (var ge = arguments.length, Ie = new Array(ge > 1 ? ge - 1 : 0), Te = 1; Te < ge; Te++)
8830
+ Ie[Te - 1] = arguments[Te];
8831
+ (ee = e.onMousedown) === null || ee === void 0 || ee.call(e, j, ...Ie);
8832
8832
  }, te = K(null), le = () => {
8833
8833
  };
8834
8834
  return $e(() => {
@@ -8856,13 +8856,13 @@ const Cw = W({
8856
8856
  defaultOpen: se,
8857
8857
  mode: ge,
8858
8858
  // Search related
8859
- showSearch: Pe,
8859
+ showSearch: Ie,
8860
8860
  searchValue: Te,
8861
8861
  onSearch: je,
8862
8862
  // Icons
8863
8863
  allowClear: ce,
8864
8864
  clearIcon: Se,
8865
- showArrow: qe,
8865
+ showArrow: Ye,
8866
8866
  inputIcon: pt,
8867
8867
  // Others
8868
8868
  disabled: qn,
@@ -8910,7 +8910,7 @@ const Cw = W({
8910
8910
  }), Ea == null || Ea.forEach((vn) => {
8911
8911
  delete Aa[vn];
8912
8912
  });
8913
- const hu = qe !== void 0 ? qe : Zt || !i.value && ge !== "combobox";
8913
+ const hu = Ye !== void 0 ? Ye : Zt || !i.value && ge !== "combobox";
8914
8914
  let yu;
8915
8915
  hu && (yu = p(Po, {
8916
8916
  class: ne(`${X}-arrow`, {
@@ -9642,7 +9642,7 @@ function y2(e) {
9642
9642
  hasFeedback: i,
9643
9643
  feedbackIcon: a,
9644
9644
  showArrow: l
9645
- } = e, s = e.suffixIcon || t.suffixIcon && t.suffixIcon(), c = e.clearIcon || t.clearIcon && t.clearIcon(), u = e.menuItemSelectedIcon || t.menuItemSelectedIcon && t.menuItemSelectedIcon(), d = e.removeIcon || t.removeIcon && t.removeIcon(), f = c ?? p(Tt, null, null), m = (S) => p(Ie, null, [l !== !1 && S, i && a]);
9645
+ } = e, s = e.suffixIcon || t.suffixIcon && t.suffixIcon(), c = e.clearIcon || t.clearIcon && t.clearIcon(), u = e.menuItemSelectedIcon || t.menuItemSelectedIcon && t.menuItemSelectedIcon(), d = e.removeIcon || t.removeIcon && t.removeIcon(), f = c ?? p(Tt, null, null), m = (S) => p(Oe, null, [l !== !1 && S, i && a]);
9646
9646
  let h = null;
9647
9647
  if (s !== void 0)
9648
9648
  h = m(s);
@@ -10155,7 +10155,7 @@ W({
10155
10155
  const {
10156
10156
  prefixCls: r,
10157
10157
  direction: i
10158
- } = Oe("space-compact", e), a = fa.useInject(), [l, s] = C2(r), c = $(() => ne(r.value, s.value, {
10158
+ } = Pe("space-compact", e), a = fa.useInject(), [l, s] = C2(r), c = $(() => ne(r.value, s.value, {
10159
10159
  [`${r.value}-rtl`]: i.value === "rtl",
10160
10160
  [`${r.value}-block`]: e.block,
10161
10161
  [`${r.value}-vertical`]: e.direction === "vertical"
@@ -11816,7 +11816,7 @@ const DP = (e) => {
11816
11816
  } = t;
11817
11817
  const r = K(!0), i = K(!1), a = K(1), l = K(null), s = K(null), {
11818
11818
  prefixCls: c
11819
- } = Oe("avatar", e), [u, d] = vv(c), f = zP(), m = $(() => e.size === "default" ? f.size : e.size), h = MP(), g = RP(() => {
11819
+ } = Pe("avatar", e), [u, d] = vv(c), f = zP(), m = $(() => e.size === "default" ? f.size : e.size), h = MP(), g = RP(() => {
11820
11820
  if (typeof e.size != "object")
11821
11821
  return;
11822
11822
  const x = TP.find((O) => h.value[O]);
@@ -12658,7 +12658,7 @@ const GP = (e) => {
12658
12658
  getPopupContainer: l,
12659
12659
  direction: s,
12660
12660
  rootPrefixCls: c
12661
- } = Oe("tooltip", e), u = $(() => {
12661
+ } = Pe("tooltip", e), u = $(() => {
12662
12662
  var A;
12663
12663
  return (A = e.open) !== null && A !== void 0 ? A : e.visible;
12664
12664
  }), d = G(kP([e.open, e.visible])), f = G();
@@ -12921,8 +12921,8 @@ const GP = (e) => {
12921
12921
  width: 177
12922
12922
  };
12923
12923
  }), r4 = () => v(v({}, bv()), {
12924
- content: Ze(),
12925
- title: Ze()
12924
+ content: Qe(),
12925
+ title: Qe()
12926
12926
  }), i4 = W({
12927
12927
  compatConfig: {
12928
12928
  MODE: 3
@@ -12951,13 +12951,13 @@ const GP = (e) => {
12951
12951
  const {
12952
12952
  prefixCls: a,
12953
12953
  configProvider: l
12954
- } = Oe("popover", e), [s, c] = o4(a), u = $(() => l.getPrefixCls()), d = () => {
12954
+ } = Pe("popover", e), [s, c] = o4(a), u = $(() => l.getPrefixCls()), d = () => {
12955
12955
  var f, m;
12956
12956
  const {
12957
12957
  title: h = Dt((f = o.title) === null || f === void 0 ? void 0 : f.call(o)),
12958
12958
  content: g = Dt((m = o.content) === null || m === void 0 ? void 0 : m.call(o))
12959
12959
  } = e, y = !!(Array.isArray(h) ? h.length : h), S = !!(Array.isArray(g) ? g.length : h);
12960
- return !y && !S ? null : p(Ie, null, [y && p("div", {
12960
+ return !y && !S ? null : p(Oe, null, [y && p("div", {
12961
12961
  class: `${a.value}-title`
12962
12962
  }, [h]), p("div", {
12963
12963
  class: `${a.value}-inner-content`
@@ -13016,7 +13016,7 @@ const GP = (e) => {
13016
13016
  const {
13017
13017
  prefixCls: r,
13018
13018
  direction: i
13019
- } = Oe("avatar", e), a = $(() => `${r.value}-group`), [l, s] = vv(r);
13019
+ } = Pe("avatar", e), a = $(() => `${r.value}-group`), [l, s] = vv(r);
13020
13020
  return ye(() => {
13021
13021
  const c = {
13022
13022
  size: e.size,
@@ -13186,7 +13186,7 @@ const u4 = W({
13186
13186
  prefixCls: `${e.prefixCls}-menu`,
13187
13187
  onClick: l
13188
13188
  };
13189
- return p(Ie, {
13189
+ return p(Oe, {
13190
13190
  key: bm
13191
13191
  }, [e.arrow && p("div", {
13192
13192
  class: `${e.prefixCls}-arrow`
@@ -13398,7 +13398,7 @@ const y4 = W({
13398
13398
  const o = Pt(), {
13399
13399
  prefixCls: r,
13400
13400
  wave: i
13401
- } = Oe("wave", e), [, a] = f4(r), l = h4($(() => ne(r.value, a.value)), i);
13401
+ } = Pe("wave", e), [, a] = f4(r), l = h4($(() => ne(r.value, a.value)), i);
13402
13402
  let s;
13403
13403
  const c = () => {
13404
13404
  Ct(o).removeEventListener("click", s, !0);
@@ -13958,7 +13958,7 @@ const w4 = (e) => {
13958
13958
  const {
13959
13959
  prefixCls: o,
13960
13960
  direction: r
13961
- } = Oe("btn-group", e), [, , i] = kn();
13961
+ } = Pe("btn-group", e), [, , i] = kn();
13962
13962
  Iv.useProvide(ut({
13963
13963
  size: $(() => e.size)
13964
13964
  }));
@@ -14022,7 +14022,7 @@ const nt = W({
14022
14022
  autoInsertSpaceInButton: l,
14023
14023
  direction: s,
14024
14024
  size: c
14025
- } = Oe("btn", e), [u, d] = L4(a), f = Iv.useInject(), m = Wn(), h = $(() => {
14025
+ } = Pe("btn", e), [u, d] = L4(a), f = Iv.useInject(), m = Wn(), h = $(() => {
14026
14026
  var P;
14027
14027
  return (P = e.disabled) !== null && P !== void 0 ? P : m.value;
14028
14028
  }), g = K(null), y = K(void 0);
@@ -14647,7 +14647,7 @@ const X4 = nt.Group, Hi = W({
14647
14647
  prefixCls: a,
14648
14648
  direction: l,
14649
14649
  getPopupContainer: s
14650
- } = Oe("dropdown", e), c = $(() => `${a.value}-button`), [u, d] = Ev(a);
14650
+ } = Pe("dropdown", e), c = $(() => `${a.value}-button`), [u, d] = Ev(a);
14651
14651
  return () => {
14652
14652
  var f, m;
14653
14653
  const h = v(v({}, e), o), {
@@ -14793,7 +14793,7 @@ const Av = Symbol("OverrideContextKey"), Mv = () => ve(Av, void 0), q4 = (e) =>
14793
14793
  rootPrefixCls: a,
14794
14794
  direction: l,
14795
14795
  getPopupContainer: s
14796
- } = Oe("dropdown", e), [c, u] = Ev(i);
14796
+ } = Pe("dropdown", e), [c, u] = Ev(i);
14797
14797
  process.env.NODE_ENV !== "production" && [["visible", "open"], ["onVisibleChange", "onOpenChange"], ["onUpdate:visible", "onUpdate:open"]].forEach((y) => {
14798
14798
  let [S, C] = y;
14799
14799
  ot(e[S] === void 0, "Dropdown", `\`${S}\` is deprecated which will be removed in next major version, please use \`${C}\` instead.`);
@@ -15433,18 +15433,18 @@ const l6 = () => ({
15433
15433
  }, [ce.charAt(0)]) : p("span", {
15434
15434
  class: `${C.value}-title-content`
15435
15435
  }, [ce]);
15436
- const qe = Wt(ce) && ce.type === "span";
15437
- return p(Ie, null, [Me(typeof Se == "function" ? Se(e.originItemValue) : Se, {
15436
+ const Ye = Wt(ce) && ce.type === "span";
15437
+ return p(Oe, null, [Me(typeof Se == "function" ? Se(e.originItemValue) : Se, {
15438
15438
  class: `${C.value}-item-icon`
15439
- }, !1), qe ? ce : p("span", {
15439
+ }, !1), Ye ? ce : p("span", {
15440
15440
  class: `${C.value}-title-content`
15441
15441
  }, [ce])]);
15442
- }, ge = $(() => I.value !== "inline" && g.value.length > 1 ? "vertical" : I.value), Pe = $(() => I.value === "horizontal" ? "vertical" : I.value), Te = $(() => ge.value === "horizontal" ? "vertical" : ge.value), je = () => {
15442
+ }, ge = $(() => I.value !== "inline" && g.value.length > 1 ? "vertical" : I.value), Ie = $(() => I.value === "horizontal" ? "vertical" : I.value), Te = $(() => ge.value === "horizontal" ? "vertical" : ge.value), je = () => {
15443
15443
  var ce, Se;
15444
- const qe = B.value, pt = (ce = e.icon) !== null && ce !== void 0 ? ce : (Se = n.icon) === null || Se === void 0 ? void 0 : Se.call(n, e), qn = e.expandIcon || n.expandIcon || H.value, Zt = se(Dr(n, e, "title"), pt);
15444
+ const Ye = B.value, pt = (ce = e.icon) !== null && ce !== void 0 ? ce : (Se = n.icon) === null || Se === void 0 ? void 0 : Se.call(n, e), qn = e.expandIcon || n.expandIcon || H.value, Zt = se(Dr(n, e, "title"), pt);
15445
15445
  return p("div", {
15446
15446
  style: le.value,
15447
- class: `${qe}-title`,
15447
+ class: `${Ye}-title`,
15448
15448
  tabindex: N.value ? null : -1,
15449
15449
  ref: _,
15450
15450
  title: typeof Zt == "string" ? Zt : null,
@@ -15458,7 +15458,7 @@ const l6 = () => ({
15458
15458
  }, [Zt, I.value !== "horizontal" && qn ? qn(v(v({}, e), {
15459
15459
  isOpen: J.value
15460
15460
  })) : p("i", {
15461
- class: `${qe}-arrow`
15461
+ class: `${Ye}-arrow`
15462
15462
  }, null)]);
15463
15463
  };
15464
15464
  return () => {
@@ -15466,10 +15466,10 @@ const l6 = () => ({
15466
15466
  if (l)
15467
15467
  return T ? (ce = n.default) === null || ce === void 0 ? void 0 : ce.call(n) : null;
15468
15468
  const Se = B.value;
15469
- let qe = () => null;
15469
+ let Ye = () => null;
15470
15470
  if (!R.value && I.value !== "inline") {
15471
15471
  const pt = I.value === "horizontal" ? [0, 8] : [10, 0];
15472
- qe = () => p(Pf, {
15472
+ Ye = () => p(Pf, {
15473
15473
  mode: ge.value,
15474
15474
  prefixCls: Se,
15475
15475
  visible: !e.internalPopupClose && J.value,
@@ -15491,11 +15491,11 @@ const l6 = () => ({
15491
15491
  })
15492
15492
  });
15493
15493
  } else
15494
- qe = () => p(Pf, null, {
15494
+ Ye = () => p(Pf, null, {
15495
15495
  default: je
15496
15496
  });
15497
15497
  return p(ji, {
15498
- mode: Pe.value
15498
+ mode: Ie.value
15499
15499
  }, {
15500
15500
  default: () => [p(Vt.Item, F(F({
15501
15501
  component: "li"
@@ -15511,7 +15511,7 @@ const l6 = () => ({
15511
15511
  onMouseleave: te,
15512
15512
  "data-submenu-id": u
15513
15513
  }), {
15514
- default: () => p(Ie, null, [qe(), !R.value && p(a6, {
15514
+ default: () => p(Oe, null, [Ye(), !R.value && p(a6, {
15515
15515
  id: ee,
15516
15516
  open: J.value,
15517
15517
  keyPath: g.value
@@ -16610,7 +16610,7 @@ const f6 = (e) => {
16610
16610
  const {
16611
16611
  direction: i,
16612
16612
  getPrefixCls: a
16613
- } = Oe("menu", e), l = Mv(), s = $(() => {
16613
+ } = Pe("menu", e), l = Mv(), s = $(() => {
16614
16614
  var U;
16615
16615
  return a("menu", e.prefixCls || ((U = l == null ? void 0 : l.prefixCls) === null || U === void 0 ? void 0 : U.value));
16616
16616
  }), [c, u] = v6(s, $(() => !l)), d = K(/* @__PURE__ */ new Map()), f = ve(J4, G(void 0)), m = $(() => f.value !== void 0 ? f.value : e.inlineCollapsed), {
@@ -16812,7 +16812,7 @@ const f6 = (e) => {
16812
16812
  renderRawItem: (ee) => ee,
16813
16813
  renderRawRest: (ee) => {
16814
16814
  const ae = ee.length, se = ae ? te.slice(-ae) : null;
16815
- return p(Ie, null, [p(To, {
16815
+ return p(Oe, null, [p(To, {
16816
16816
  eventKey: ai,
16817
16817
  key: ai,
16818
16818
  title: X,
@@ -18536,7 +18536,7 @@ const tI = W({
18536
18536
  return [...I.value, ...f(X)];
18537
18537
  }), A = U6(R, u, c, a, we(e, "displayRender")), M = (j) => {
18538
18538
  if (s(j), e.onChange) {
18539
- const X = Ff(j), ee = X.map((ge) => Tr(ge, u.value, c.value).map((Pe) => Pe.option)), ae = a.value ? X : X[0], se = a.value ? ee : ee[0];
18539
+ const X = Ff(j), ee = X.map((ge) => Tr(ge, u.value, c.value).map((Ie) => Ie.option)), ae = a.value ? X : X[0], se = a.value ? ee : ee[0];
18540
18540
  e.onChange(ae, se);
18541
18541
  }
18542
18542
  }, L = (j) => {
@@ -18544,11 +18544,11 @@ const tI = W({
18544
18544
  M(j);
18545
18545
  else {
18546
18546
  const X = ln(j), ee = ao(w.value), ae = ao(O.value), se = ee.includes(X), ge = I.value.some((je) => ln(je) === X);
18547
- let Pe = w.value, Te = I.value;
18547
+ let Ie = w.value, Te = I.value;
18548
18548
  if (ge && !se)
18549
18549
  Te = I.value.filter((je) => ln(je) !== X);
18550
18550
  else {
18551
- const je = se ? ee.filter((qe) => qe !== X) : [...ee, X];
18551
+ const je = se ? ee.filter((Ye) => Ye !== X) : [...ee, X];
18552
18552
  let ce;
18553
18553
  se ? {
18554
18554
  checkedKeys: ce
@@ -18559,9 +18559,9 @@ const tI = W({
18559
18559
  checkedKeys: ce
18560
18560
  } = ol(je, !0, d.value, b.value, E.value);
18561
18561
  const Se = Lf(ce, d.value, e.showCheckedStrategy);
18562
- Pe = f(Se);
18562
+ Ie = f(Se);
18563
18563
  }
18564
- M([...Te, ...Pe]);
18564
+ M([...Te, ...Ie]);
18565
18565
  }
18566
18566
  }, D = (j, X) => {
18567
18567
  if (X.type === "clear") {
@@ -19191,7 +19191,7 @@ const mI = W({
19191
19191
  renderEmpty: h,
19192
19192
  size: g,
19193
19193
  disabled: y
19194
- } = Oe("cascader", e), S = $(() => d("select", e.prefixCls)), {
19194
+ } = Pe("cascader", e), S = $(() => d("select", e.prefixCls)), {
19195
19195
  compactSize: C,
19196
19196
  compactItemClassnames: x
19197
19197
  } = yc(S, f), w = $(() => C.value || g.value), O = Wn(), I = $(() => {
@@ -19559,7 +19559,7 @@ Wi.newInstance = function(t, n) {
19559
19559
  let {
19560
19560
  attrs: C
19561
19561
  } = S;
19562
- const x = K(), w = $(() => Ye.getPrefixCls(r, l)), [, O] = d(w);
19562
+ const x = K(), w = $(() => Ze.getPrefixCls(r, l)), [, O] = d(w);
19563
19563
  return $e(() => {
19564
19564
  n({
19565
19565
  notice(I) {
@@ -19576,7 +19576,7 @@ Wi.newInstance = function(t, n) {
19576
19576
  component: x
19577
19577
  });
19578
19578
  }), () => {
19579
- const I = Ye, b = I.getRootPrefixCls(s, w.value), E = u ? c : `${w.value}-${c}`;
19579
+ const I = Ze, b = I.getRootPrefixCls(s, w.value), E = u ? c : `${w.value}-${c}`;
19580
19580
  return p(vo, F(F({}, I), {}, {
19581
19581
  prefixCls: b
19582
19582
  }), {
@@ -20029,7 +20029,7 @@ const TI = 8, EI = 3, AI = W({
20029
20029
  const {
20030
20030
  getPrefixCls: i,
20031
20031
  getPopupContainer: a
20032
- } = Oe("message", e), l = $(() => i("message", e.prefixCls)), [, s] = Lc(l), c = () => {
20032
+ } = Pe("message", e), l = $(() => i("message", e.prefixCls)), [, s] = Lc(l), c = () => {
20033
20033
  var g;
20034
20034
  const y = (g = e.top) !== null && g !== void 0 ? g : TI;
20035
20035
  return {
@@ -20577,7 +20577,7 @@ W({
20577
20577
  setup(e) {
20578
20578
  const {
20579
20579
  getPrefixCls: t
20580
- } = Oe("notification", e), n = $(() => e.prefixCls || t("notification")), o = $(() => `${n.value}-notice`), [, r] = Fc(n);
20580
+ } = Pe("notification", e), n = $(() => e.prefixCls || t("notification")), o = $(() => `${n.value}-notice`), [, r] = Fc(n);
20581
20581
  return () => p(ya, F(F({}, e), {}, {
20582
20582
  prefixCls: n.value,
20583
20583
  class: ne(r.value, `${o.value}-pure-panel`),
@@ -20672,7 +20672,7 @@ const Xf = 24, XI = 4.5, UI = W({
20672
20672
  const {
20673
20673
  getPrefixCls: o,
20674
20674
  getPopupContainer: r
20675
- } = Oe("notification", e), i = $(() => e.prefixCls || o("notification")), a = (f) => {
20675
+ } = Pe("notification", e), i = $(() => e.prefixCls || o("notification")), a = (f) => {
20676
20676
  var m, h;
20677
20677
  return gh(f, (m = e.top) !== null && m !== void 0 ? m : Xf, (h = e.bottom) !== null && h !== void 0 ? h : Xf);
20678
20678
  }, [, l] = Fc(i), s = () => ne(l.value, {
@@ -20953,24 +20953,24 @@ var aT = function(e, t) {
20953
20953
  };
20954
20954
  const lT = "ant";
20955
20955
  function go() {
20956
- return Ye.prefixCls || lT;
20956
+ return Ze.prefixCls || lT;
20957
20957
  }
20958
20958
  function xh() {
20959
- return Ye.iconPrefixCls || Es;
20959
+ return Ze.iconPrefixCls || Es;
20960
20960
  }
20961
- const Hc = ut({}), Ye = ut({});
20961
+ const Hc = ut({}), Ze = ut({});
20962
20962
  ye(() => {
20963
- v(Ye, Hc), Ye.prefixCls = go(), Ye.iconPrefixCls = xh(), Ye.getPrefixCls = (e, t) => t || (e ? `${Ye.prefixCls}-${e}` : Ye.prefixCls), Ye.getRootPrefixCls = () => Ye.prefixCls ? Ye.prefixCls : go();
20963
+ v(Ze, Hc), Ze.prefixCls = go(), Ze.iconPrefixCls = xh(), Ze.getPrefixCls = (e, t) => t || (e ? `${Ze.prefixCls}-${e}` : Ze.prefixCls), Ze.getRootPrefixCls = () => Ze.prefixCls ? Ze.prefixCls : go();
20964
20964
  });
20965
20965
  let il;
20966
20966
  const sT = (e) => {
20967
20967
  il && il(), il = ye(() => {
20968
- v(Hc, ut(e)), v(Ye, ut(e));
20968
+ v(Hc, ut(e)), v(Ze, ut(e));
20969
20969
  }), e.theme && oT(go(), e.theme);
20970
20970
  }, cT = () => ({
20971
20971
  getPrefixCls: (e, t) => t || (e ? `${go()}-${e}` : go()),
20972
20972
  getIconPrefixCls: xh,
20973
- getRootPrefixCls: () => Ye.prefixCls ? Ye.prefixCls : go()
20973
+ getRootPrefixCls: () => Ze.prefixCls ? Ze.prefixCls : go()
20974
20974
  }), vo = W({
20975
20975
  compatConfig: {
20976
20976
  MODE: 3
@@ -21539,7 +21539,7 @@ const pT = W({
21539
21539
  count: D,
21540
21540
  maxlength: E
21541
21541
  }) : `${D}${L ? ` / ${E}` : ""}`;
21542
- return p(Ie, null, [!!A && p("span", {
21542
+ return p(Oe, null, [!!A && p("span", {
21543
21543
  class: ne(`${M}-show-count-suffix`, {
21544
21544
  [`${M}-show-count-has-suffix`]: !!R
21545
21545
  })
@@ -21610,7 +21610,7 @@ const Ke = W({
21610
21610
  prefixCls: d,
21611
21611
  size: f,
21612
21612
  autocomplete: m
21613
- } = Oe("input", e), {
21613
+ } = Pe("input", e), {
21614
21614
  compactSize: h,
21615
21615
  compactItemClassnames: g
21616
21616
  } = yc(d, u), y = $(() => h.value || f.value), [S, C] = Nc(d), x = Wn();
@@ -21666,7 +21666,7 @@ const Ke = W({
21666
21666
  addonAfter: re = (P = n.addonAfter) === null || P === void 0 ? void 0 : P.call(n),
21667
21667
  addonBefore: oe = (T = n.addonBefore) === null || T === void 0 ? void 0 : T.call(n),
21668
21668
  id: U = (z = l.id) === null || z === void 0 ? void 0 : z.value
21669
- } = e, te = mT(e, ["allowClear", "bordered", "prefix", "suffix", "addonAfter", "addonBefore", "id"]), le = (N || q) && p(Ie, null, [q, N && _]), j = d.value, X = jc({
21669
+ } = e, te = mT(e, ["allowClear", "bordered", "prefix", "suffix", "addonAfter", "addonBefore", "id"]), le = (N || q) && p(Oe, null, [q, N && _]), j = d.value, X = jc({
21670
21670
  prefix: J,
21671
21671
  suffix: q
21672
21672
  }) || !!N, ee = n.clearIcon || (() => p(Tt, null, null));
@@ -21743,7 +21743,7 @@ const Ke = W({
21743
21743
  prefixCls: r,
21744
21744
  direction: i,
21745
21745
  getPrefixCls: a
21746
- } = Oe("input-group", e), l = jn.useInject();
21746
+ } = Pe("input-group", e), l = jn.useInject();
21747
21747
  jn.useProvide(l, {
21748
21748
  isFormItemInput: !1
21749
21749
  });
@@ -21824,7 +21824,7 @@ const hT = W({
21824
21824
  getPrefixCls: S,
21825
21825
  direction: C,
21826
21826
  size: x
21827
- } = Oe("input-search", e), w = $(() => S("input", e.inputPrefixCls));
21827
+ } = Pe("input-search", e), w = $(() => S("input", e.inputPrefixCls));
21828
21828
  return () => {
21829
21829
  var O, I, b, E;
21830
21830
  const {
@@ -21900,13 +21900,13 @@ const bT = ["text", "input"], ST = W({
21900
21900
  props: {
21901
21901
  prefixCls: String,
21902
21902
  inputType: V.oneOf(fr("text", "input")),
21903
- value: Ze(),
21904
- defaultValue: Ze(),
21903
+ value: Qe(),
21904
+ defaultValue: Qe(),
21905
21905
  allowClear: {
21906
21906
  type: Boolean,
21907
21907
  default: void 0
21908
21908
  },
21909
- element: Ze(),
21909
+ element: Qe(),
21910
21910
  handleReset: Function,
21911
21911
  disabled: {
21912
21912
  type: Boolean,
@@ -21918,10 +21918,10 @@ const bT = ["text", "input"], ST = W({
21918
21918
  size: {
21919
21919
  type: String
21920
21920
  },
21921
- suffix: Ze(),
21922
- prefix: Ze(),
21923
- addonBefore: Ze(),
21924
- addonAfter: Ze(),
21921
+ suffix: Qe(),
21922
+ prefix: Qe(),
21923
+ addonBefore: Qe(),
21924
+ addonAfter: Qe(),
21925
21925
  readonly: {
21926
21926
  type: Boolean,
21927
21927
  default: void 0
@@ -22183,7 +22183,7 @@ const Eh = W({
22183
22183
  prefixCls: f,
22184
22184
  size: m,
22185
22185
  direction: h
22186
- } = Oe("input", e), [g, y] = Nc(f), S = Wn(), C = $(() => e.showCount === "" || e.showCount || !1), x = $(() => Number(e.maxlength) > 0), w = K(!1), O = K(), I = K(0), b = (N) => {
22186
+ } = Pe("input", e), [g, y] = Nc(f), S = Wn(), C = $(() => e.showCount === "" || e.showCount || !1), x = $(() => Number(e.maxlength) > 0), w = K(!1), O = K(), I = K(0), b = (N) => {
22187
22187
  w.value = !0, O.value = d.value, I.value = N.currentTarget.selectionStart, r("compositionstart", N);
22188
22188
  }, E = (N) => {
22189
22189
  var _;
@@ -22446,7 +22446,7 @@ const MT = {
22446
22446
  }, {
22447
22447
  prefixCls: f,
22448
22448
  getPrefixCls: m
22449
- } = Oe("input-password", e), h = $(() => m("input", e.inputPrefixCls)), g = () => {
22449
+ } = Pe("input-password", e), h = $(() => m("input", e.inputPrefixCls)), g = () => {
22450
22450
  const {
22451
22451
  size: y,
22452
22452
  visibilityToggle: S
@@ -22563,7 +22563,7 @@ const zT = {
22563
22563
  showInfo: Ce(),
22564
22564
  strokeWidth: Number,
22565
22565
  strokeLinecap: _e(),
22566
- strokeColor: Ze(),
22566
+ strokeColor: Qe(),
22567
22567
  trailColor: String,
22568
22568
  /** @deprecated Use `size` instead */
22569
22569
  width: Number,
@@ -22632,7 +22632,7 @@ var HT = function(e, t) {
22632
22632
  return n;
22633
22633
  };
22634
22634
  const jT = () => v(v({}, Ca()), {
22635
- strokeColor: Ze(),
22635
+ strokeColor: Qe(),
22636
22636
  direction: _e()
22637
22637
  }), _T = (e) => {
22638
22638
  let t = [];
@@ -22718,7 +22718,7 @@ const jT = () => v(v({}, Ca()), {
22718
22718
  };
22719
22719
  return () => {
22720
22720
  var m;
22721
- return p(Ie, null, [p("div", F(F({}, o), {}, {
22721
+ return p(Oe, null, [p("div", F(F({}, o), {}, {
22722
22722
  class: [`${e.prefixCls}-outer`, o.class],
22723
22723
  style: [o.style, f]
22724
22724
  }), [p("div", {
@@ -22900,7 +22900,7 @@ const GT = W({
22900
22900
  };
22901
22901
  }
22902
22902
  }), qT = () => v(v({}, Ca()), {
22903
- strokeColor: Ze()
22903
+ strokeColor: Qe()
22904
22904
  }), YT = 3, ZT = (e) => YT / e * 100, QT = W({
22905
22905
  compatConfig: {
22906
22906
  MODE: 3
@@ -22959,7 +22959,7 @@ const GT = W({
22959
22959
  }), [a.value.width <= 20 ? p(rn, null, {
22960
22960
  default: () => [p("span", null, [y])],
22961
22961
  title: n.default
22962
- }) : p(Ie, null, [y, (g = n.default) === null || g === void 0 ? void 0 : g.call(n)])]);
22962
+ }) : p(Oe, null, [y, (g = n.default) === null || g === void 0 ? void 0 : g.call(n)])]);
22963
22963
  };
22964
22964
  }
22965
22965
  }), JT = () => v(v({}, Ca()), {
@@ -23266,7 +23266,7 @@ const sE = W({
23266
23266
  const {
23267
23267
  prefixCls: r,
23268
23268
  direction: i
23269
- } = Oe("progress", e), [a, l] = aE(r);
23269
+ } = Pe("progress", e), [a, l] = aE(r);
23270
23270
  process.env.NODE_ENV !== "production" && (ze("successPercent" in e, "Progress", "`successPercent` is deprecated. Please use `success.percent` instead."), ze("width" in e, "Progress", "`width` is deprecated. Please use `size` instead."));
23271
23271
  const s = $(() => Array.isArray(e.strokeColor) ? e.strokeColor[0] : e.strokeColor), c = $(() => {
23272
23272
  const {
@@ -23896,7 +23896,7 @@ const TE = () => ({
23896
23896
  const {
23897
23897
  prefixCls: r,
23898
23898
  direction: i
23899
- } = Oe("typography", e), [a, l] = Mh(r);
23899
+ } = Pe("typography", e), [a, l] = Mh(r);
23900
23900
  return () => {
23901
23901
  var s;
23902
23902
  const c = v(v({}, e), o), {
@@ -24090,7 +24090,7 @@ const FE = th("webkitLineClamp"), HE = th("textOverflow"), lp = "...", Hr = () =
24090
24090
  const {
24091
24091
  prefixCls: i,
24092
24092
  direction: a
24093
- } = Oe("typography", e), l = ut({
24093
+ } = Pe("typography", e), l = ut({
24094
24094
  copied: !1,
24095
24095
  ellipsisText: "",
24096
24096
  ellipsisContent: null,
@@ -24360,19 +24360,19 @@ const FE = th("webkitLineClamp"), HE = th("textOverflow"), lp = "...", Hr = () =
24360
24360
  expand: ee
24361
24361
  } = B;
24362
24362
  l.editStr = le, l.copyStr = j, l.copiedStr = X, l.expandStr = ee;
24363
- const ae = Le(re, ["prefixCls", "editable", "copyable", "ellipsis", "mark", "code", "delete", "underline", "strong", "keyboard", "onUpdate:content"]), se = b.value, ge = oe === 1 && se, Pe = oe && oe > 1 && se;
24363
+ const ae = Le(re, ["prefixCls", "editable", "copyable", "ellipsis", "mark", "code", "delete", "underline", "strong", "keyboard", "onUpdate:content"]), se = b.value, ge = oe === 1 && se, Ie = oe && oe > 1 && se;
24364
24364
  let Te = z, je;
24365
24365
  if (oe && l.isEllipsis && !l.expanded && !se) {
24366
24366
  const {
24367
- title: qe
24367
+ title: Ye
24368
24368
  } = re;
24369
- let pt = qe || "";
24370
- !qe && (typeof z == "string" || typeof z == "number") && (pt = String(z)), pt = pt == null ? void 0 : pt.slice(String(l.ellipsisContent || "").length), Te = p(Ie, null, [yo(l.ellipsisContent), p("span", {
24369
+ let pt = Ye || "";
24370
+ !Ye && (typeof z == "string" || typeof z == "number") && (pt = String(z)), pt = pt == null ? void 0 : pt.slice(String(l.ellipsisContent || "").length), Te = p(Oe, null, [yo(l.ellipsisContent), p("span", {
24371
24371
  title: pt,
24372
24372
  "aria-hidden": "true"
24373
24373
  }, [lp]), U]);
24374
24374
  } else
24375
- Te = p(Ie, null, [z, U]);
24375
+ Te = p(Oe, null, [z, U]);
24376
24376
  Te = R(e, Te);
24377
24377
  const ce = te && oe && l.isEllipsis && !l.expanded && !se, Se = n.ellipsisTooltip ? n.ellipsisTooltip() : te;
24378
24378
  return p(Nr, {
@@ -24387,10 +24387,10 @@ const FE = th("webkitLineClamp"), HE = th("textOverflow"), lp = "...", Hr = () =
24387
24387
  [`${i.value}-ellipsis`]: oe,
24388
24388
  [`${i.value}-single-line`]: oe === 1 && !l.isEllipsis,
24389
24389
  [`${i.value}-ellipsis-single-line`]: ge,
24390
- [`${i.value}-ellipsis-multiple-line`]: Pe
24390
+ [`${i.value}-ellipsis-multiple-line`]: Ie
24391
24391
  }, J],
24392
24392
  style: v(v({}, q), {
24393
- WebkitLineClamp: Pe ? oe : void 0
24393
+ WebkitLineClamp: Ie ? oe : void 0
24394
24394
  }),
24395
24395
  "aria-label": je,
24396
24396
  direction: a.value,
@@ -25250,7 +25250,7 @@ const g3 = () => ({
25250
25250
  });
25251
25251
  const {
25252
25252
  rootPrefixCls: s
25253
- } = Oe("upload", e), c = $(() => rc(`${s.value}-fade`));
25253
+ } = Pe("upload", e), c = $(() => rc(`${s.value}-fade`));
25254
25254
  return () => {
25255
25255
  var u, d;
25256
25256
  const {
@@ -25493,7 +25493,7 @@ const g3 = () => ({
25493
25493
  const {
25494
25494
  prefixCls: d,
25495
25495
  rootPrefixCls: f
25496
- } = Oe("upload", e), m = $(() => ({
25496
+ } = Pe("upload", e), m = $(() => ({
25497
25497
  [`${d.value}-list`]: !0,
25498
25498
  [`${d.value}-list-${e.listType}`]: !0
25499
25499
  })), h = $(() => {
@@ -26054,7 +26054,7 @@ const Jo = `__LIST_IGNORE_${Date.now()}__`, $i = W({
26054
26054
  prefixCls: a,
26055
26055
  direction: l,
26056
26056
  disabled: s
26057
- } = Oe("upload", e), [c, u] = P3(a), d = Wn(), f = $(() => {
26057
+ } = Pe("upload", e), [c, u] = P3(a), d = Wn(), f = $(() => {
26058
26058
  var M;
26059
26059
  return (M = s.value) !== null && M !== void 0 ? M : d.value;
26060
26060
  }), [m, h] = zi(e.defaultFileList || [], {
@@ -26703,7 +26703,7 @@ const c8 = () => ({
26703
26703
  align: _e(),
26704
26704
  flex: St([Number, String]),
26705
26705
  gap: St([Number, String]),
26706
- component: Ze()
26706
+ component: Qe()
26707
26707
  });
26708
26708
  var u8 = function(e, t) {
26709
26709
  var n = {};
@@ -26726,7 +26726,7 @@ const d8 = W({
26726
26726
  direction: i
26727
26727
  } = Rr(), {
26728
26728
  prefixCls: a
26729
- } = Oe("flex", e), [l, s] = s8(a), c = $(() => {
26729
+ } = Pe("flex", e), [l, s] = s8(a), c = $(() => {
26730
26730
  var u;
26731
26731
  return [a.value, s.value, n8(a.value, e), {
26732
26732
  [`${a.value}-rtl`]: i.value === "rtl",
@@ -27994,7 +27994,7 @@ function w5(e) {
27994
27994
  const {
27995
27995
  cssVar: O
27996
27996
  } = n();
27997
- return [(I) => g && O ? p(Ie, null, [p(C, {
27997
+ return [(I) => g && O ? p(Oe, null, [p(C, {
27998
27998
  rootCls: w,
27999
27999
  cssVar: O,
28000
28000
  component: d
@@ -28430,7 +28430,7 @@ const { genStyleHooks: gn, genComponentStyleHook: NM, genSubStyleComponent: zM }
28430
28430
  }), f0 = /* @__PURE__ */ W({
28431
28431
  name: "AXBubble",
28432
28432
  __name: "Bubble",
28433
- props: Je({
28433
+ props: qe({
28434
28434
  prefixCls: null,
28435
28435
  rootClassName: null,
28436
28436
  styles: null,
@@ -28490,7 +28490,7 @@ const { genStyleHooks: gn, genComponentStyleHook: NM, genSubStyleComponent: zM }
28490
28490
  content: g.value
28491
28491
  }) : e.messageRender ? e.messageRender(g.value) : g.value), E = $(() => e.loading ? o.loading ? o.loading() : e.loadingRender ? e.loadingRender() : p(C8, {
28492
28492
  prefixCls: c
28493
- }, null) : p(Ie, null, [b.value, y.value && Ae(h)])), R = $(() => {
28493
+ }, null) : p(Oe, null, [b.value, y.value && Ae(h)])), R = $(() => {
28494
28494
  const A = p("div", {
28495
28495
  style: {
28496
28496
  ...u.value.styles.content,
@@ -28526,7 +28526,7 @@ const { genStyleHooks: gn, genComponentStyleHook: NM, genSubStyleComponent: zM }
28526
28526
  class: Ae(O)
28527
28527
  }, n, {
28528
28528
  ref: a
28529
- }), [Ae(I) && p("div", {
28529
+ }), [(o.avatar || e.avatar) && p("div", {
28530
28530
  style: {
28531
28531
  ...u.value.styles.avatar,
28532
28532
  ...e.styles.avatar
@@ -28667,7 +28667,7 @@ const G5 = 1, q5 = /* @__PURE__ */ W({
28667
28667
  name: "AXBubbleList",
28668
28668
  inheritAttrs: !1,
28669
28669
  __name: "BubbleList",
28670
- props: Je({
28670
+ props: qe({
28671
28671
  prefixCls: null,
28672
28672
  rootClassName: null,
28673
28673
  items: null,
@@ -29039,7 +29039,7 @@ const bl = "__ungrouped", eA = (e, t = []) => {
29039
29039
  ), LM = /* @__PURE__ */ W({
29040
29040
  name: "AXConversations",
29041
29041
  __name: "Conversations",
29042
- props: Je({
29042
+ props: qe({
29043
29043
  items: null,
29044
29044
  activeKey: null,
29045
29045
  defaultActiveKey: null,
@@ -29190,7 +29190,7 @@ function sA(e) {
29190
29190
  const FM = /* @__PURE__ */ W({
29191
29191
  name: "AXWelcome",
29192
29192
  __name: "Welcome",
29193
- props: Je({
29193
+ props: qe({
29194
29194
  prefixCls: null,
29195
29195
  rootClassName: null,
29196
29196
  className: null,
@@ -29397,7 +29397,7 @@ const FM = /* @__PURE__ */ W({
29397
29397
  ), pA = /* @__PURE__ */ W({
29398
29398
  name: "AXPrompts",
29399
29399
  __name: "Prompts",
29400
- props: Je({
29400
+ props: qe({
29401
29401
  items: null,
29402
29402
  title: null,
29403
29403
  onItemClick: {
@@ -29582,7 +29582,7 @@ function hA(e, t, n, o, r) {
29582
29582
  const HM = /* @__PURE__ */ W({
29583
29583
  name: "AXSuggestion",
29584
29584
  __name: "Suggestion",
29585
- props: Je({
29585
+ props: qe({
29586
29586
  prefixCls: null,
29587
29587
  className: null,
29588
29588
  rootClassName: null,
@@ -29704,7 +29704,7 @@ const HM = /* @__PURE__ */ W({
29704
29704
  }), Pa = /* @__PURE__ */ W({
29705
29705
  name: "AXSenderActionButton",
29706
29706
  __name: "index",
29707
- props: Je({
29707
+ props: qe({
29708
29708
  prefixCls: null,
29709
29709
  type: null,
29710
29710
  htmlType: null,
@@ -29753,7 +29753,7 @@ const HM = /* @__PURE__ */ W({
29753
29753
  }), xA = /* @__PURE__ */ W({
29754
29754
  name: "AXSenderClearButton",
29755
29755
  __name: "ClearButton",
29756
- props: Je({
29756
+ props: qe({
29757
29757
  prefixCls: null,
29758
29758
  type: null,
29759
29759
  htmlType: null,
@@ -29833,7 +29833,7 @@ const HM = /* @__PURE__ */ W({
29833
29833
  }), Up = /* @__PURE__ */ W({
29834
29834
  name: "AXSenderLoadingButton",
29835
29835
  __name: "LoadingButton",
29836
- props: Je({
29836
+ props: qe({
29837
29837
  prefixCls: null,
29838
29838
  type: null,
29839
29839
  htmlType: null,
@@ -29880,7 +29880,7 @@ const HM = /* @__PURE__ */ W({
29880
29880
  }), Gp = /* @__PURE__ */ W({
29881
29881
  name: "AXSenderLoadingButton",
29882
29882
  __name: "SendButton",
29883
- props: Je({
29883
+ props: qe({
29884
29884
  prefixCls: null,
29885
29885
  type: null,
29886
29886
  htmlType: null,
@@ -29961,7 +29961,7 @@ const HM = /* @__PURE__ */ W({
29961
29961
  }), Yp = /* @__PURE__ */ W({
29962
29962
  name: "AXSenderSpeechButton",
29963
29963
  __name: "index",
29964
- props: Je({
29964
+ props: qe({
29965
29965
  prefixCls: null,
29966
29966
  type: null,
29967
29967
  htmlType: null,
@@ -30295,47 +30295,60 @@ function MA(e, t) {
30295
30295
  const RA = /* @__PURE__ */ W({
30296
30296
  name: "AXSender",
30297
30297
  __name: "Sender",
30298
- props: {
30299
- onKeyPress: {},
30300
- prefixCls: {},
30301
- defaultValue: {},
30302
- value: {},
30298
+ props: qe({
30299
+ onKeyPress: {
30300
+ type: Function
30301
+ },
30302
+ prefixCls: null,
30303
+ defaultValue: null,
30304
+ value: null,
30303
30305
  loading: {
30304
30306
  type: Boolean
30305
30307
  },
30306
- placeholder: {},
30308
+ placeholder: null,
30307
30309
  readOnly: {
30308
30310
  type: Boolean
30309
30311
  },
30310
30312
  submitType: {
30311
- type: [String, Boolean],
30312
- default: "enter"
30313
+ type: [String, Boolean]
30313
30314
  },
30314
30315
  disabled: {
30315
- type: Boolean,
30316
- default: void 0
30316
+ type: Boolean
30317
30317
  },
30318
- onSubmit: {},
30319
- onChange: {},
30320
- onCancel: {},
30321
- onKeyDown: {},
30322
- onPaste: {},
30323
- onPasteFile: {},
30324
- components: {},
30325
- styles: {
30326
- default: () => ({})
30327
- },
30328
- rootClassName: {},
30329
- classNames: {
30330
- default: () => ({})
30331
- },
30332
- style: {},
30333
- className: {},
30334
- actions: {},
30335
- allowSpeech: {},
30336
- prefix: {},
30337
- header: {}
30338
- },
30318
+ onSubmit: {
30319
+ type: Function
30320
+ },
30321
+ onChange: {
30322
+ type: Function
30323
+ },
30324
+ onCancel: null,
30325
+ onKeyDown: {
30326
+ type: Function
30327
+ },
30328
+ onPaste: {
30329
+ type: Function
30330
+ },
30331
+ onPasteFile: {
30332
+ type: Function
30333
+ },
30334
+ components: null,
30335
+ styles: null,
30336
+ rootClassName: null,
30337
+ classNames: null,
30338
+ style: null,
30339
+ className: null,
30340
+ actions: {
30341
+ type: Function
30342
+ },
30343
+ allowSpeech: null,
30344
+ prefix: null,
30345
+ header: null
30346
+ }, {
30347
+ styles: () => ({}),
30348
+ classNames: () => ({}),
30349
+ submitType: "enter",
30350
+ disabled: void 0
30351
+ }),
30339
30352
  emits: ["update:value"],
30340
30353
  setup(e, {
30341
30354
  expose: t,
@@ -30502,7 +30515,7 @@ const RA = /* @__PURE__ */ W({
30502
30515
  name: "AXSenderHeader",
30503
30516
  inheritAttrs: !1,
30504
30517
  __name: "SenderHeader",
30505
- props: Je({
30518
+ props: qe({
30506
30519
  forceRender: {
30507
30520
  type: Boolean
30508
30521
  },
@@ -30533,7 +30546,7 @@ const RA = /* @__PURE__ */ W({
30533
30546
  }, {
30534
30547
  default: () => {
30535
30548
  var i;
30536
- return [e.open || e.forceRender ? Vn(p("div", We(r, {
30549
+ return [p(Oe, null, [e.open || e.forceRender ? Vn(p("div", We(r, {
30537
30550
  class: ue(o.value, e.className),
30538
30551
  style: {
30539
30552
  ...e.style
@@ -30565,7 +30578,7 @@ const RA = /* @__PURE__ */ W({
30565
30578
  style: {
30566
30579
  ...e.styles.content
30567
30580
  }
30568
- }, [(i = t.default) == null ? void 0 : i.call(t)])]), [[Mo, e.open]]) : null];
30581
+ }, [(i = t.default) == null ? void 0 : i.call(t)])]), [[Mo, e.open]]) : null])];
30569
30582
  }
30570
30583
  });
30571
30584
  }
@@ -30596,7 +30609,7 @@ const RA = /* @__PURE__ */ W({
30596
30609
  }), BA = /* @__PURE__ */ W({
30597
30610
  name: "AXAttachmentsPlaceholderUploader",
30598
30611
  __name: "PlaceholderUploader",
30599
- props: Je({
30612
+ props: qe({
30600
30613
  prefixCls: null,
30601
30614
  placeholder: null,
30602
30615
  upload: null,
@@ -31606,7 +31619,7 @@ const UA = (e) => {
31606
31619
  }, {
31607
31620
  immediate: !0
31608
31621
  });
31609
- const A = $(() => e.item.thumbUrl || e.item.url || E.value), M = $(() => O.value && (e.item.originFileObj || A.value)), L = $(() => M.value ? p(Ie, null, [A.value && p("img", {
31622
+ const A = $(() => e.item.thumbUrl || e.item.url || E.value), M = $(() => O.value && (e.item.originFileObj || A.value)), L = $(() => M.value ? p(Oe, null, [A.value && p("img", {
31610
31623
  alt: "preview",
31611
31624
  src: A.value
31612
31625
  }, null), d.value !== "done" && p("div", {
@@ -31618,7 +31631,7 @@ const UA = (e) => {
31618
31631
  class: `${g}-desc`
31619
31632
  }, [p("div", {
31620
31633
  class: `${g}-ellipsis-prefix`
31621
- }, [I.value])])])]) : p(Ie, null, [p("div", {
31634
+ }, [I.value])])])]) : p(Oe, null, [p("div", {
31622
31635
  class: `${g}-icon`,
31623
31636
  style: {
31624
31637
  color: b.value.iconColor
@@ -31725,7 +31738,7 @@ const UA = (e) => {
31725
31738
  class: `${t.value}-upload-btn-icon`
31726
31739
  }, null)]
31727
31740
  })
31728
- }, null), e.overflow === "scrollX" && p(Ie, null, [p(nt, {
31741
+ }, null), e.overflow === "scrollX" && p(Oe, null, [p(nt, {
31729
31742
  size: "small",
31730
31743
  shape: "circle",
31731
31744
  class: `${t.value}-prev-btn`,
@@ -31742,7 +31755,7 @@ const UA = (e) => {
31742
31755
  }), QA = /* @__PURE__ */ W({
31743
31756
  name: "AXAttachments",
31744
31757
  __name: "Attachments",
31745
- props: Je({
31758
+ props: qe({
31746
31759
  capture: null,
31747
31760
  type: null,
31748
31761
  name: null,
@@ -31869,7 +31882,7 @@ const UA = (e) => {
31869
31882
  disabled: e.disabled
31870
31883
  }
31871
31884
  }, {
31872
- default: () => [e.children ? p(Ie, null, [p(S0, {
31885
+ default: () => [e.children ? p(Oe, null, [p(S0, {
31873
31886
  upload: x.value,
31874
31887
  rootClassName: e.rootClassName,
31875
31888
  ref: "attachments-upload",
@@ -32178,7 +32191,7 @@ const eM = (e) => {
32178
32191
  }), sM = /* @__PURE__ */ W({
32179
32192
  name: "AXThoughtChainNode",
32180
32193
  __name: "item",
32181
- props: Je({
32194
+ props: qe({
32182
32195
  info: null,
32183
32196
  nextStatus: null,
32184
32197
  onClick: {
@@ -32262,7 +32275,7 @@ const eM = (e) => {
32262
32275
  }), VM = /* @__PURE__ */ W({
32263
32276
  name: "AXThoughtChain",
32264
32277
  __name: "ThoughtChain",
32265
- props: Je({
32278
+ props: qe({
32266
32279
  items: null,
32267
32280
  collapsible: {
32268
32281
  type: Boolean