sand-components-vben 1.4.8 → 1.4.9

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,4 +1,4 @@
1
- import { defineComponent as A, reactive as le, toRefs as kt, onMounted as Ge, watch as K, resolveComponent as fe, openBlock as N, createBlock as we, unref as X, isRef as _a, withCtx as Q, createElementBlock as ie, Fragment as We, renderList as $n, createTextVNode as pe, toDisplayString as Te, Comment as Ta, Text as Ea, computed as x, inject as ge, provide as be, ref as ye, shallowRef as te, getCurrentInstance as Xr, watchEffect as jt, onBeforeUnmount as Ia, triggerRef as Aa, createVNode as v, h as He, onBeforeMount as Ma, onUpdated as ka, nextTick as qr, Teleport as Kr, onUnmounted as ja, TransitionGroup as Yr, render as Qn, toRaw as Na, renderSlot as Pn, normalizeStyle as Re, createElementVNode as ee, createCommentVNode as _n } from "vue";
1
+ import { defineComponent as A, reactive as le, toRefs as kt, onMounted as Ge, watch as K, resolveComponent as fe, openBlock as N, createBlock as we, unref as X, isRef as _a, withCtx as Q, createElementBlock as ie, Fragment as We, renderList as $n, createTextVNode as he, toDisplayString as Te, Comment as Ta, Text as Ea, computed as x, inject as pe, provide as be, ref as ye, shallowRef as te, getCurrentInstance as Xr, watchEffect as jt, onBeforeUnmount as Ia, triggerRef as Aa, createVNode as v, h as Re, onBeforeMount as Ma, onUpdated as ka, nextTick as qr, Teleport as Kr, onUnmounted as ja, TransitionGroup as Yr, render as Qn, toRaw as Na, renderSlot as Pn, normalizeStyle as Ee, createElementVNode as ee, createCommentVNode as _n } from "vue";
2
2
  const Ha = /* @__PURE__ */ A({
3
3
  __name: "ApiSelect",
4
4
  props: {
@@ -72,7 +72,7 @@ const Ha = /* @__PURE__ */ A({
72
72
  key: c[e.fieldNames.value]
73
73
  }, {
74
74
  default: Q(() => [
75
- pe(Te(c[e.fieldNames.label]), 1)
75
+ he(Te(c[e.fieldNames.label]), 1)
76
76
  ]),
77
77
  _: 2
78
78
  }, 1032, ["value"]))), 128))
@@ -167,7 +167,7 @@ function m() {
167
167
  }, m.apply(null, arguments);
168
168
  }
169
169
  const Ba = Array.isArray, Va = (e) => typeof e == "string", Ga = (e) => e !== null && typeof e == "object";
170
- function ke(e) {
170
+ function je(e) {
171
171
  let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = arguments.length > 2 ? arguments[2] : void 0;
172
172
  return typeof e == "function" ? e(t) : e ?? n;
173
173
  }
@@ -316,7 +316,7 @@ const En = "anticon", Ka = Symbol("GlobalFormContextKey"), Ya = (e) => {
316
316
  iconPrefixCls: x(() => En),
317
317
  getPopupContainer: x(() => () => document.body),
318
318
  direction: x(() => "ltr")
319
- }, An = () => ge(In, Jr), Ja = (e) => be(In, e), Zr = Symbol("DisabledContextKey"), eo = () => ge(Zr, ye(void 0)), Za = (e) => {
319
+ }, An = () => pe(In, Jr), Ja = (e) => be(In, e), Zr = Symbol("DisabledContextKey"), eo = () => pe(Zr, ye(void 0)), Za = (e) => {
320
320
  const t = eo();
321
321
  return be(Zr, x(() => {
322
322
  var n;
@@ -532,7 +532,7 @@ const En = "anticon", Ka = Symbol("GlobalFormContextKey"), Ya = (e) => {
532
532
  let {
533
533
  slots: n
534
534
  } = t;
535
- const r = ge("localeData", {}), o = x(() => {
535
+ const r = pe("localeData", {}), o = x(() => {
536
536
  const {
537
537
  componentName: i = "global",
538
538
  defaultLocale: l
@@ -586,7 +586,7 @@ class ni {
586
586
  a === null ? this.cache.delete(r) : this.cache.set(r, a);
587
587
  }
588
588
  }
589
- const ro = "data-token-hash", $e = "data-css-hash", ri = "data-cache-path", je = "__cssinjs_instance__";
589
+ const ro = "data-token-hash", $e = "data-css-hash", ri = "data-cache-path", Ne = "__cssinjs_instance__";
590
590
  function st() {
591
591
  const e = Math.random().toString(12).slice(2);
592
592
  if (typeof document < "u" && document.head && document.body) {
@@ -594,13 +594,13 @@ function st() {
594
594
  firstChild: n
595
595
  } = document.head;
596
596
  Array.from(t).forEach((o) => {
597
- o[je] = o[je] || e, o[je] === e && document.head.insertBefore(o, n);
597
+ o[Ne] = o[Ne] || e, o[Ne] === e && document.head.insertBefore(o, n);
598
598
  });
599
599
  const r = {};
600
600
  Array.from(document.querySelectorAll(`style[${$e}]`)).forEach((o) => {
601
601
  var a;
602
602
  const i = o.getAttribute($e);
603
- r[i] ? o[je] === e && ((a = o.parentNode) === null || a === void 0 || a.removeChild(o)) : r[i] = !0;
603
+ r[i] ? o[Ne] === e && ((a = o.parentNode) === null || a === void 0 || a.removeChild(o)) : r[i] = !0;
604
604
  });
605
605
  }
606
606
  return new ni(e);
@@ -621,7 +621,7 @@ const oo = Symbol("StyleContextKey"), oi = () => {
621
621
  hashPriority: "low"
622
622
  }, Nt = () => {
623
623
  const e = oi();
624
- return ge(oo, te(m(m({}, ao), {
624
+ return pe(oo, te(m(m({}, ao), {
625
625
  cache: e
626
626
  })));
627
627
  }, ai = (e) => {
@@ -942,7 +942,7 @@ function $i(e) {
942
942
  function Pi(e, t) {
943
943
  typeof document < "u" && document.querySelectorAll(`style[${ro}="${e}"]`).forEach((r) => {
944
944
  var o;
945
- r[je] === t && ((o = r.parentNode) === null || o === void 0 || o.removeChild(r));
945
+ r[Ne] === t && ((o = r.parentNode) === null || o === void 0 || o.removeChild(r));
946
946
  });
947
947
  }
948
948
  const _i = 0;
@@ -1062,7 +1062,7 @@ function Li() {
1062
1062
  function ne() {
1063
1063
  return k = J < So ? ut(Xe, J++) : 0, De++, k === 10 && (De = 1, Lt++), k;
1064
1064
  }
1065
- function me() {
1065
+ function ve() {
1066
1066
  return ut(Xe, J);
1067
1067
  }
1068
1068
  function Ot() {
@@ -1119,14 +1119,14 @@ function Yt(e) {
1119
1119
  return xo(zt(J - 1, un(e === 91 ? e + 2 : e === 40 ? e + 1 : e)));
1120
1120
  }
1121
1121
  function Fi(e) {
1122
- for (; (k = me()) && k < 33; )
1122
+ for (; (k = ve()) && k < 33; )
1123
1123
  ne();
1124
1124
  return ft(e) > 2 || ft(k) > 3 ? "" : " ";
1125
1125
  }
1126
1126
  function Bi(e, t) {
1127
1127
  for (; --t && ne() && !(k < 48 || k > 102 || k > 57 && k < 65 || k > 70 && k < 97); )
1128
1128
  ;
1129
- return zt(e, Ot() + (t < 6 && me() == 32 && ne() == 32));
1129
+ return zt(e, Ot() + (t < 6 && ve() == 32 && ne() == 32));
1130
1130
  }
1131
1131
  function un(e) {
1132
1132
  for (; ne(); )
@@ -1152,12 +1152,12 @@ function un(e) {
1152
1152
  }
1153
1153
  function Vi(e, t) {
1154
1154
  for (; ne() && e + k !== 57; )
1155
- if (e + k === 84 && me() === 47)
1155
+ if (e + k === 84 && ve() === 47)
1156
1156
  break;
1157
1157
  return "/*" + zt(t, J - 1) + "*" + kn(e === 47 ? e : ne());
1158
1158
  }
1159
1159
  function Gi(e) {
1160
- for (; !ft(me()); )
1160
+ for (; !ft(ve()); )
1161
1161
  ne();
1162
1162
  return zt(e, J);
1163
1163
  }
@@ -1192,10 +1192,10 @@ function wt(e, t, n, r, o, a, i, l, s) {
1192
1192
  continue;
1193
1193
  // /
1194
1194
  case 47:
1195
- switch (me()) {
1195
+ switch (ve()) {
1196
1196
  case 42:
1197
1197
  case 47:
1198
- mt(Ui(Vi(ne(), Ot()), t, n, s), s), (ft(h || 1) == 5 || ft(me() || 1) == 5) && ae(g) && ze(g, -1, void 0) !== " " && (g += " ");
1198
+ mt(Ui(Vi(ne(), Ot()), t, n, s), s), (ft(h || 1) == 5 || ft(ve() || 1) == 5) && ae(g) && ze(g, -1, void 0) !== " " && (g += " ");
1199
1199
  break;
1200
1200
  default:
1201
1201
  g += "/";
@@ -1261,7 +1261,7 @@ function wt(e, t, n, r, o, a, i, l, s) {
1261
1261
  break;
1262
1262
  // @
1263
1263
  case 64:
1264
- me() === 45 && (g += Yt(ne())), d = me(), f = u = ae(T = g += Gi(Ot())), w++;
1264
+ ve() === 45 && (g += Yt(ne())), d = ve(), f = u = ae(T = g += Gi(Ot())), w++;
1265
1265
  break;
1266
1266
  // -
1267
1267
  case 45:
@@ -1502,7 +1502,7 @@ function gn(e, t) {
1502
1502
  nonce: P
1503
1503
  });
1504
1504
  const I = Et(O, _, g);
1505
- I[je] = w.instanceId, I.setAttribute(ro, r.value), process.env.NODE_ENV !== "production" && I.setAttribute(ri, o.value.join("|")), Object.keys($).forEach((V) => {
1505
+ I[Ne] = w.instanceId, I.setAttribute(ro, r.value), process.env.NODE_ENV !== "production" && I.setAttribute(ri, o.value.join("|")), Object.keys($).forEach((V) => {
1506
1506
  dn.has(V) || (dn.add(V), Et(fr($[V]), `_effect-${V}`, {
1507
1507
  mark: $e,
1508
1508
  prepend: "queue",
@@ -1805,7 +1805,7 @@ var hn = {
1805
1805
  yellow: "#ffff00",
1806
1806
  yellowgreen: "#9acd32"
1807
1807
  };
1808
- function Me(e) {
1808
+ function ke(e) {
1809
1809
  var t = { r: 0, g: 0, b: 0 }, n = 1, r = null, o = null, a = null, i = !1, l = !1;
1810
1810
  return typeof e == "string" && (e = gl(e)), typeof e == "object" && (se(e.r) && se(e.g) && se(e.b) ? (t = il(e.r, e.g, e.b), i = !0, l = String(e.r).substr(-1) === "%" ? "prgb" : "rgb") : se(e.h) && se(e.s) && se(e.v) ? (r = yt(e.s), o = yt(e.v), t = cl(e.h, r, o), i = !0, l = "hsv") : se(e.h) && se(e.s) && se(e.l) && (r = yt(e.s), a = yt(e.l), t = ll(e.h, r, a), i = !0, l = "hsl"), Object.prototype.hasOwnProperty.call(e, "a") && (n = e.a)), n = _o(n), {
1811
1811
  ok: i,
@@ -1816,8 +1816,8 @@ function Me(e) {
1816
1816
  a: n
1817
1817
  };
1818
1818
  }
1819
- var dl = "[-\\+]?\\d+%?", pl = "[-\\+]?\\d*\\.\\d+%?", he = "(?:".concat(pl, ")|(?:").concat(dl, ")"), Jt = "[\\s|\\(]+(".concat(he, ")[,|\\s]+(").concat(he, ")[,|\\s]+(").concat(he, ")\\s*\\)?"), Zt = "[\\s|\\(]+(".concat(he, ")[,|\\s]+(").concat(he, ")[,|\\s]+(").concat(he, ")[,|\\s]+(").concat(he, ")\\s*\\)?"), Z = {
1820
- CSS_UNIT: new RegExp(he),
1819
+ var dl = "[-\\+]?\\d+%?", pl = "[-\\+]?\\d*\\.\\d+%?", me = "(?:".concat(pl, ")|(?:").concat(dl, ")"), Jt = "[\\s|\\(]+(".concat(me, ")[,|\\s]+(").concat(me, ")[,|\\s]+(").concat(me, ")\\s*\\)?"), Zt = "[\\s|\\(]+(".concat(me, ")[,|\\s]+(").concat(me, ")[,|\\s]+(").concat(me, ")[,|\\s]+(").concat(me, ")\\s*\\)?"), Z = {
1820
+ CSS_UNIT: new RegExp(me),
1821
1821
  rgb: new RegExp("rgb" + Jt),
1822
1822
  rgba: new RegExp("rgba" + Zt),
1823
1823
  hsl: new RegExp("hsl" + Jt),
@@ -1874,7 +1874,7 @@ var H = (
1874
1874
  if (t instanceof e)
1875
1875
  return t;
1876
1876
  typeof t == "number" && (t = fl(t)), this.originalInput = t;
1877
- var o = Me(t);
1877
+ var o = ke(t);
1878
1878
  this.originalInput = t, this.r = o.r, this.g = o.g, this.b = o.b, this.a = o.a, this.roundA = Math.round(100 * this.a) / 100, this.format = (r = n.format) !== null && r !== void 0 ? r : o.format, this.gradientType = n.gradientType, this.r < 1 && (this.r = Math.round(this.r)), this.g < 1 && (this.g = Math.round(this.g)), this.b < 1 && (this.b = Math.round(this.b)), this.isValid = o.ok;
1879
1879
  }
1880
1880
  return e.prototype.isDark = function() {
@@ -2105,9 +2105,9 @@ function yr(e, t, n) {
2105
2105
  var r;
2106
2106
  return n ? r = e.v + ml * t : r = e.v - hl * t, r > 1 && (r = 1), Number(r.toFixed(2));
2107
2107
  }
2108
- function Ee(e) {
2109
- for (var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = [], r = Me(e), o = To; o > 0; o -= 1) {
2110
- var a = vr(r), i = Ct(Me({
2108
+ function Ie(e) {
2109
+ for (var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = [], r = ke(e), o = To; o > 0; o -= 1) {
2110
+ var a = vr(r), i = Ct(ke({
2111
2111
  h: mr(a, o, !0),
2112
2112
  s: hr(a, o, !0),
2113
2113
  v: yr(a, o, !0)
@@ -2116,7 +2116,7 @@ function Ee(e) {
2116
2116
  }
2117
2117
  n.push(Ct(r));
2118
2118
  for (var l = 1; l <= Eo; l += 1) {
2119
- var s = vr(r), c = Ct(Me({
2119
+ var s = vr(r), c = Ct(ke({
2120
2120
  h: mr(s, l),
2121
2121
  s: hr(s, l),
2122
2122
  v: yr(s, l)
@@ -2124,7 +2124,7 @@ function Ee(e) {
2124
2124
  n.push(c);
2125
2125
  }
2126
2126
  return t.theme === "dark" ? yl.map(function(f) {
2127
- var u = f.index, d = f.opacity, p = Ct(bl(Me(t.backgroundColor || "#141414"), Me(n[u]), d * 100));
2127
+ var u = f.index, d = f.opacity, p = Ct(bl(ke(t.backgroundColor || "#141414"), ke(n[u]), d * 100));
2128
2128
  return p;
2129
2129
  }) : n;
2130
2130
  }
@@ -2144,7 +2144,7 @@ var en = {
2144
2144
  grey: "#666666"
2145
2145
  }, $t = {}, tn = {};
2146
2146
  Object.keys(en).forEach(function(e) {
2147
- $t[e] = Ee(en[e]), $t[e].primary = $t[e][5], tn[e] = Ee(en[e], {
2147
+ $t[e] = Ie(en[e]), $t[e].primary = $t[e][5], tn[e] = Ie(en[e], {
2148
2148
  theme: "dark",
2149
2149
  backgroundColor: "#141414"
2150
2150
  }), tn[e].primary = tn[e][5];
@@ -2332,7 +2332,7 @@ function $l(e) {
2332
2332
  }, wl(r));
2333
2333
  }
2334
2334
  const ue = (e, t) => new H(e).setAlpha(t).toRgbString(), et = (e, t) => new H(e).darken(t).toHexString(), Pl = (e) => {
2335
- const t = Ee(e);
2335
+ const t = Ie(e);
2336
2336
  return {
2337
2337
  1: t[0],
2338
2338
  2: t[1],
@@ -2406,7 +2406,7 @@ const El = (e) => {
2406
2406
  };
2407
2407
  function Il(e) {
2408
2408
  const t = Object.keys(Io).map((n) => {
2409
- const r = Ee(e[n]);
2409
+ const r = Ie(e[n]);
2410
2410
  return new Array(10).fill(1).reduce((o, a, i) => (o[`${n}-${i + 1}`] = r[i], o), {});
2411
2411
  }).reduce((n, r) => (n = m(m({}, n), r), n), {});
2412
2412
  return m(m(m(m(m(m(m({}, e), t), Ol(e, {
@@ -2785,7 +2785,7 @@ const Ll = vo(Il), ko = {
2785
2785
  }
2786
2786
  });
2787
2787
  function Bt() {
2788
- const e = ge(jo, x(() => bn.value || ko)), t = x(() => `${rl}-${e.value.hashed || ""}`), n = x(() => e.value.theme || Ll), r = Ii(n, x(() => [Dt, e.value.token]), x(() => ({
2788
+ const e = pe(jo, x(() => bn.value || ko)), t = x(() => `${rl}-${e.value.hashed || ""}`), n = x(() => e.value.theme || Ll), r = Ii(n, x(() => [Dt, e.value.token]), x(() => ({
2789
2789
  salt: t.value,
2790
2790
  override: m({
2791
2791
  override: e.value.token
@@ -2986,7 +2986,7 @@ const Gl = () => ({
2986
2986
  return () => {
2987
2987
  var s, c;
2988
2988
  const f = a.value, u = m(m({}, e), r), {
2989
- image: d = ((s = n.image) === null || s === void 0 ? void 0 : s.call(n)) || He(Hn),
2989
+ image: d = ((s = n.image) === null || s === void 0 ? void 0 : s.call(n)) || Re(Hn),
2990
2990
  description: p = ((c = n.description) === null || c === void 0 ? void 0 : c.call(n)) || void 0,
2991
2991
  imageStyle: h,
2992
2992
  class: y = ""
@@ -3017,8 +3017,8 @@ const Gl = () => ({
3017
3017
  };
3018
3018
  }
3019
3019
  });
3020
- Rn.PRESENTED_IMAGE_DEFAULT = () => He(Hn);
3021
- Rn.PRESENTED_IMAGE_SIMPLE = () => He(No);
3020
+ Rn.PRESENTED_IMAGE_DEFAULT = () => Re(Hn);
3021
+ Rn.PRESENTED_IMAGE_SIMPLE = () => Re(No);
3022
3022
  const tt = Tn(Rn), Ho = (e) => {
3023
3023
  const {
3024
3024
  prefixCls: t
@@ -3049,12 +3049,12 @@ function Wl(e) {
3049
3049
  componentName: e
3050
3050
  }, null);
3051
3051
  }
3052
- const Ro = Symbol("SizeContextKey"), Lo = () => ge(Ro, ye(void 0)), Ul = (e) => {
3052
+ const Ro = Symbol("SizeContextKey"), Lo = () => pe(Ro, ye(void 0)), Ul = (e) => {
3053
3053
  const t = Lo();
3054
3054
  return be(Ro, x(() => e.value || t.value)), e;
3055
3055
  }, gt = (e, t) => {
3056
- const n = Lo(), r = eo(), o = ge(In, m(m({}, Jr), {
3057
- renderEmpty: (g) => He(Ho, {
3056
+ const n = Lo(), r = eo(), o = pe(In, m(m({}, Jr), {
3057
+ renderEmpty: (g) => Re(Ho, {
3058
3058
  componentName: g
3059
3059
  })
3060
3060
  })), a = x(() => o.getPrefixCls(e, t.prefixCls)), i = x(() => {
@@ -3155,7 +3155,7 @@ function Cr(e) {
3155
3155
  }
3156
3156
  return "";
3157
3157
  }
3158
- var Ie = function(e) {
3158
+ var Ae = function(e) {
3159
3159
  var t, n;
3160
3160
  return br(e) !== !1 && typeof (t = e.constructor) == "function" && br(n = t.prototype) !== !1 && n.hasOwnProperty("isPrototypeOf") !== !1;
3161
3161
  }, Wo = function(e) {
@@ -3176,28 +3176,28 @@ var dt = function(e, t) {
3176
3176
  }, Be = function(e) {
3177
3177
  return Vo.call(e) === "[object Function]";
3178
3178
  }, At = function(e) {
3179
- return Ie(e) && dt(e, "_vueTypes_name");
3179
+ return Ae(e) && dt(e, "_vueTypes_name");
3180
3180
  }, Uo = function(e) {
3181
- return Ie(e) && (dt(e, "type") || ["_vueTypes_name", "validator", "default", "required"].some(function(t) {
3181
+ return Ae(e) && (dt(e, "type") || ["_vueTypes_name", "validator", "default", "required"].some(function(t) {
3182
3182
  return dt(e, t);
3183
3183
  }));
3184
3184
  };
3185
3185
  function Ln(e, t) {
3186
3186
  return Object.defineProperty(e.bind(t), "__original", { value: e });
3187
3187
  }
3188
- function Ae(e, t, n) {
3188
+ function Me(e, t, n) {
3189
3189
  var r;
3190
3190
  n === void 0 && (n = !1);
3191
3191
  var o = !0, a = "";
3192
- r = Ie(e) ? e : { type: e };
3192
+ r = Ae(e) ? e : { type: e };
3193
3193
  var i = At(r) ? r._vueTypes_name + " - " : "";
3194
3194
  if (Uo(r) && r.type !== null) {
3195
3195
  if (r.type === void 0 || r.type === !0 || !r.required && t === void 0) return o;
3196
3196
  Fe(r.type) ? (o = r.type.some(function(u) {
3197
- return Ae(u, t, !0) === !0;
3197
+ return Me(u, t, !0) === !0;
3198
3198
  }), a = r.type.map(function(u) {
3199
3199
  return Cr(u);
3200
- }).join(" or ")) : o = (a = Cr(r)) === "Array" ? Fe(t) : a === "Object" ? Ie(t) : a === "String" || a === "Number" || a === "Boolean" || a === "Function" ? function(u) {
3200
+ }).join(" or ")) : o = (a = Cr(r)) === "Array" ? Fe(t) : a === "Object" ? Ae(t) : a === "String" || a === "Number" || a === "Boolean" || a === "Function" ? function(u) {
3201
3201
  if (u == null) return "";
3202
3202
  var d = u.constructor.toString().match(Go);
3203
3203
  return d ? d[1] : "";
@@ -3223,9 +3223,9 @@ function q(e, t) {
3223
3223
  var n = Object.defineProperties(t, { _vueTypes_name: { value: e, writable: !0 }, isRequired: { get: function() {
3224
3224
  return this.required = !0, this;
3225
3225
  } }, def: { value: function(o) {
3226
- return o !== void 0 || this.default ? Be(o) || Ae(this, o, !0) === !0 ? (this.default = Fe(o) ? function() {
3226
+ return o !== void 0 || this.default ? Be(o) || Me(this, o, !0) === !0 ? (this.default = Fe(o) ? function() {
3227
3227
  return [].concat(o);
3228
- } : Ie(o) ? function() {
3228
+ } : Ae(o) ? function() {
3229
3229
  return Object.assign({}, o);
3230
3230
  } : o, this) : (D(this._vueTypes_name + ' - invalid default value: "' + o + '"'), this) : this;
3231
3231
  } } }), r = n.validator;
@@ -3242,7 +3242,7 @@ function xr(e, t, n) {
3242
3242
  var r, o, a = (r = t, o = {}, Object.getOwnPropertyNames(r).forEach(function(u) {
3243
3243
  o[u] = Object.getOwnPropertyDescriptor(r, u);
3244
3244
  }), Object.defineProperties({}, o));
3245
- if (a._vueTypes_name = e, !Ie(n)) return a;
3245
+ if (a._vueTypes_name = e, !Ae(n)) return a;
3246
3246
  var i, l, s = n.validator, c = Fo(n, ["validator"]);
3247
3247
  if (Be(s)) {
3248
3248
  var f = a.validator;
@@ -3319,7 +3319,7 @@ function cc(e) {
3319
3319
  return n.indexOf(a) === i;
3320
3320
  }), q("oneOfType", t ? { type: n, validator: function(a) {
3321
3321
  var i = [], l = e.some(function(s) {
3322
- var c = Ae(At(s) && s._vueTypes_name === "oneOf" ? s.type || null : s, a, !0);
3322
+ var c = Me(At(s) && s._vueTypes_name === "oneOf" ? s.type || null : s, a, !0);
3323
3323
  return typeof c == "string" && i.push(c), c === !0;
3324
3324
  });
3325
3325
  return l || D("oneOfType - provided value does not match any of the " + i.length + ` passed-in validators:
@@ -3330,7 +3330,7 @@ function cc(e) {
3330
3330
  function sc(e) {
3331
3331
  return q("arrayOf", { type: Array, validator: function(t) {
3332
3332
  var n, r = t.every(function(o) {
3333
- return (n = Ae(e, o, !0)) === !0;
3333
+ return (n = Me(e, o, !0)) === !0;
3334
3334
  });
3335
3335
  return r || D(`arrayOf - value validation error:
3336
3336
  ` + Vt(n)), r;
@@ -3342,7 +3342,7 @@ function uc(e) {
3342
3342
  function fc(e) {
3343
3343
  return q("objectOf", { type: Object, validator: function(t) {
3344
3344
  var n, r = Object.keys(t).every(function(o) {
3345
- return (n = Ae(e, t[o], !0)) === !0;
3345
+ return (n = Me(e, t[o], !0)) === !0;
3346
3346
  });
3347
3347
  return r || D(`objectOf - value validation error:
3348
3348
  ` + Vt(n)), r;
@@ -3354,7 +3354,7 @@ function dc(e) {
3354
3354
  return !!(!((a = e[o]) === null || a === void 0) && a.required);
3355
3355
  }), r = q("shape", { type: Object, validator: function(o) {
3356
3356
  var a = this;
3357
- if (!Ie(o)) return !1;
3357
+ if (!Ae(o)) return !1;
3358
3358
  var i = Object.keys(o);
3359
3359
  if (n.length > 0 && n.some(function(s) {
3360
3360
  return i.indexOf(s) === -1;
@@ -3366,7 +3366,7 @@ function dc(e) {
3366
3366
  }
3367
3367
  return i.every(function(s) {
3368
3368
  if (t.indexOf(s) === -1) return a._vueTypes_isLoose === !0 || (D('shape - shape definition does not include a "' + s + '" property. Allowed keys: "' + t.join('", "') + '".'), !1);
3369
- var c = Ae(e[s], o[s], !0);
3369
+ var c = Me(e[s], o[s], !0);
3370
3370
  return typeof c == "string" && D('shape - "' + s + `" property validation error:
3371
3371
  ` + Vt(c)), c === !0;
3372
3372
  });
@@ -3437,7 +3437,7 @@ function Xo(e) {
3437
3437
  }(oe)).defaults = Pt({}, e), t;
3438
3438
  }
3439
3439
  oe.defaults = {}, oe.custom = ic, oe.oneOf = lc, oe.instanceOf = uc, oe.oneOfType = cc, oe.arrayOf = sc, oe.objectOf = fc, oe.shape = dc, oe.utils = { validate: function(e, t) {
3440
- return Ae(t, e, !0) === !0;
3440
+ return Me(t, e, !0) === !0;
3441
3441
  }, toType: function(e, t, n) {
3442
3442
  return n === void 0 && (n = !1), n ? ce(e, t) : q(e, t);
3443
3443
  } };
@@ -3521,7 +3521,7 @@ const Ko = function(e) {
3521
3521
  gc({}, {
3522
3522
  inTriggerContext: !1
3523
3523
  });
3524
- const e = ge(Yo, {
3524
+ const e = pe(Yo, {
3525
3525
  shouldRender: x(() => !1),
3526
3526
  inTriggerContext: !1
3527
3527
  });
@@ -3570,7 +3570,7 @@ const Ko = function(e) {
3570
3570
  }
3571
3571
  });
3572
3572
  var hc = Symbol("iconContext"), Qo = function() {
3573
- return ge(hc, {
3573
+ return pe(hc, {
3574
3574
  prefixCls: ye("anticon"),
3575
3575
  rootClassName: ye(""),
3576
3576
  csp: ye()
@@ -3667,18 +3667,18 @@ function wr(e) {
3667
3667
  return typeof e == "object" && typeof e.name == "string" && typeof e.theme == "string" && (typeof e.icon == "object" || typeof e.icon == "function");
3668
3668
  }
3669
3669
  function xn(e, t, n) {
3670
- return n ? He(e.tag, Or({
3670
+ return n ? Re(e.tag, Or({
3671
3671
  key: t
3672
3672
  }, n, e.attrs), (e.children || []).map(function(r, o) {
3673
3673
  return xn(r, "".concat(t, "-").concat(e.tag, "-").concat(o));
3674
- })) : He(e.tag, Or({
3674
+ })) : Re(e.tag, Or({
3675
3675
  key: t
3676
3676
  }, e.attrs), (e.children || []).map(function(r, o) {
3677
3677
  return xn(r, "".concat(t, "-").concat(e.tag, "-").concat(o));
3678
3678
  }));
3679
3679
  }
3680
3680
  function ta(e) {
3681
- return Ee(e)[0];
3681
+ return Ie(e)[0];
3682
3682
  }
3683
3683
  function na(e) {
3684
3684
  return e ? Array.isArray(e) ? e : [e] : [];
@@ -5520,7 +5520,7 @@ function ha(e) {
5520
5520
  if (n)
5521
5521
  l = v("span", {
5522
5522
  class: `${t}-icon`
5523
- }, [ke(n)]);
5523
+ }, [je(n)]);
5524
5524
  else if (r) {
5525
5525
  const s = Ks[r];
5526
5526
  l = v(s, {
@@ -5769,7 +5769,7 @@ function ru(e, t) {
5769
5769
  } = h;
5770
5770
  return v("span", {
5771
5771
  class: `${y}-close-x`
5772
- }, [ke(l, {}, v(qe, {
5772
+ }, [je(l, {}, v(qe, {
5773
5773
  class: `${y}-close-icon`
5774
5774
  }, null))]);
5775
5775
  },
@@ -5804,7 +5804,7 @@ function au(e) {
5804
5804
  if (t)
5805
5805
  u = () => v("span", {
5806
5806
  class: `${f}-icon`
5807
- }, [ke(t)]);
5807
+ }, [je(t)]);
5808
5808
  else if (n) {
5809
5809
  const d = ou[n];
5810
5810
  u = () => v(d, {
@@ -5817,11 +5817,11 @@ function au(e) {
5817
5817
  class: `${f}-message`
5818
5818
  }, [!r && u ? v("span", {
5819
5819
  class: `${f}-message-single-line-auto-margin`
5820
- }, null) : null, ke(o)]), v("div", {
5820
+ }, null) : null, je(o)]), v("div", {
5821
5821
  class: `${f}-description`
5822
- }, [ke(r)]), a ? v("span", {
5822
+ }, [je(r)]), a ? v("span", {
5823
5823
  class: `${f}-btn`
5824
- }, [ke(a)]) : null]);
5824
+ }, [je(a)]) : null]);
5825
5825
  },
5826
5826
  duration: i,
5827
5827
  closable: !0,
@@ -5862,12 +5862,12 @@ function cu(e, t) {
5862
5862
  let s = i.clone();
5863
5863
  return s = (l == null ? void 0 : l(s)) || s, s.toRgbString();
5864
5864
  }, o = (i, l) => {
5865
- const s = new H(i), c = Ee(s.toRgbString());
5865
+ const s = new H(i), c = Ie(s.toRgbString());
5866
5866
  n[`${l}-color`] = r(s), n[`${l}-color-disabled`] = c[1], n[`${l}-color-hover`] = c[4], n[`${l}-color-active`] = c[6], n[`${l}-color-outline`] = s.clone().setAlpha(0.2).toRgbString(), n[`${l}-color-deprecated-bg`] = c[0], n[`${l}-color-deprecated-border`] = c[2];
5867
5867
  };
5868
5868
  if (t.primaryColor) {
5869
5869
  o(t.primaryColor, "primary");
5870
- const i = new H(t.primaryColor), l = Ee(i.toRgbString());
5870
+ const i = new H(t.primaryColor), l = Ie(i.toRgbString());
5871
5871
  l.forEach((c, f) => {
5872
5872
  n[`primary-${f + 1}`] = c;
5873
5873
  }), n["primary-color-deprecated-l-35"] = r(i, (c) => c.lighten(35)), n["primary-color-deprecated-l-20"] = r(i, (c) => c.lighten(20)), n["primary-color-deprecated-t-20"] = r(i, (c) => c.tint(20)), n["primary-color-deprecated-t-50"] = r(i, (c) => c.tint(50)), n["primary-color-deprecated-f-12"] = r(i, (c) => c.setAlpha(c.getAlpha() * 0.12));
@@ -5922,7 +5922,7 @@ var du = function(e, t) {
5922
5922
  return n;
5923
5923
  };
5924
5924
  const pu = "ant";
5925
- function Ne() {
5925
+ function He() {
5926
5926
  return z.prefixCls || pu;
5927
5927
  }
5928
5928
  function Pa() {
@@ -5930,17 +5930,17 @@ function Pa() {
5930
5930
  }
5931
5931
  const Kn = le({}), z = le({});
5932
5932
  jt(() => {
5933
- m(z, Kn), z.prefixCls = Ne(), z.iconPrefixCls = Pa(), z.getPrefixCls = (e, t) => t || (e ? `${z.prefixCls}-${e}` : z.prefixCls), z.getRootPrefixCls = () => z.prefixCls ? z.prefixCls : Ne();
5933
+ m(z, Kn), z.prefixCls = He(), z.iconPrefixCls = Pa(), z.getPrefixCls = (e, t) => t || (e ? `${z.prefixCls}-${e}` : z.prefixCls), z.getRootPrefixCls = () => z.prefixCls ? z.prefixCls : He();
5934
5934
  });
5935
5935
  let on;
5936
5936
  const gu = (e) => {
5937
5937
  on && on(), on = jt(() => {
5938
5938
  m(Kn, le(e)), m(z, le(e));
5939
- }), e.theme && su(Ne(), e.theme);
5939
+ }), e.theme && su(He(), e.theme);
5940
5940
  }, vu = () => ({
5941
- getPrefixCls: (e, t) => t || (e ? `${Ne()}-${e}` : Ne()),
5941
+ getPrefixCls: (e, t) => t || (e ? `${He()}-${e}` : He()),
5942
5942
  getIconPrefixCls: Pa,
5943
- getRootPrefixCls: () => z.prefixCls ? z.prefixCls : Ne()
5943
+ getRootPrefixCls: () => z.prefixCls ? z.prefixCls : He()
5944
5944
  }), at = A({
5945
5945
  compatConfig: {
5946
5946
  MODE: 3
@@ -5957,8 +5957,8 @@ const gu = (e) => {
5957
5957
  prefixCls: j = "ant"
5958
5958
  } = e;
5959
5959
  if (E) return E;
5960
- const ve = j || r.getPrefixCls("");
5961
- return C ? `${ve}-${C}` : ve;
5960
+ const ge = j || r.getPrefixCls("");
5961
+ return C ? `${ge}-${C}` : ge;
5962
5962
  }, a = x(() => e.iconPrefixCls || r.iconPrefixCls.value || En), i = x(() => a.value !== r.iconPrefixCls.value), l = x(() => {
5963
5963
  var C;
5964
5964
  return e.csp || ((C = r.csp) === null || C === void 0 ? void 0 : C.value);
@@ -6043,8 +6043,8 @@ const gu = (e) => {
6043
6043
  const C = c.value || {}, {
6044
6044
  algorithm: E,
6045
6045
  token: j
6046
- } = C, ve = du(C, ["algorithm", "token"]), Ut = E && (!Array.isArray(E) || E.length > 0) ? vo(E) : void 0;
6047
- return m(m({}, ve), {
6046
+ } = C, ge = du(C, ["algorithm", "token"]), Ut = E && (!Array.isArray(E) || E.length > 0) ? vo(E) : void 0;
6047
+ return m(m({}, ge), {
6048
6048
  theme: Ut,
6049
6049
  token: m(m({}, Dt), j)
6050
6050
  });
@@ -6058,12 +6058,12 @@ const gu = (e) => {
6058
6058
  }), Ul(P), Za(I);
6059
6059
  const Ze = (C) => {
6060
6060
  var E, j;
6061
- let ve = i.value ? s((E = n.default) === null || E === void 0 ? void 0 : E.call(n)) : (j = n.default) === null || j === void 0 ? void 0 : j.call(n);
6061
+ let ge = i.value ? s((E = n.default) === null || E === void 0 ? void 0 : E.call(n)) : (j = n.default) === null || j === void 0 ? void 0 : j.call(n);
6062
6062
  if (e.theme) {
6063
6063
  const Ut = /* @__PURE__ */ function() {
6064
- return ve;
6064
+ return ge;
6065
6065
  }();
6066
- ve = v(Dl, {
6066
+ ge = v(Dl, {
6067
6067
  value: Y.value
6068
6068
  }, {
6069
6069
  default: () => [Ut]
@@ -6073,7 +6073,7 @@ const gu = (e) => {
6073
6073
  locale: d.value || C,
6074
6074
  ANT_MARK__: Sn
6075
6075
  }, {
6076
- default: () => [ve]
6076
+ default: () => [ge]
6077
6077
  });
6078
6078
  };
6079
6079
  return jt(() => {
@@ -6238,7 +6238,7 @@ const Yn = /* @__PURE__ */ A({
6238
6238
  (N(!0), ie(We, null, $n(X(a), (d, p) => (N(), ie("div", {
6239
6239
  class: "image-item",
6240
6240
  key: p,
6241
- style: Re(`height:${parseInt(e.imageWidth + "")}px;width:${parseInt(
6241
+ style: Ee(`height:${parseInt(e.imageWidth + "")}px;width:${parseInt(
6242
6242
  e.imageWidth + ""
6243
6243
  )}px`)
6244
6244
  }, [
@@ -6265,13 +6265,13 @@ const Yn = /* @__PURE__ */ A({
6265
6265
  default: Q(() => [
6266
6266
  ee("div", {
6267
6267
  class: "upload-add",
6268
- style: Re(`height:${parseInt(e.imageWidth + "")}px;width:${parseInt(
6268
+ style: Ee(`height:${parseInt(e.imageWidth + "")}px;width:${parseInt(
6269
6269
  e.imageWidth + ""
6270
6270
  )}px`)
6271
6271
  }, [
6272
6272
  ee("div", bu, [
6273
6273
  v(X(Wn)),
6274
- pe(" " + Te(e.buttonTitle), 1)
6274
+ he(" " + Te(e.buttonTitle), 1)
6275
6275
  ]),
6276
6276
  ee("div", Cu, Te(e.placeholder), 1)
6277
6277
  ], 4)
@@ -6357,7 +6357,7 @@ const Yn = /* @__PURE__ */ A({
6357
6357
  type: "link"
6358
6358
  }, {
6359
6359
  default: Q(() => [
6360
- pe(Te(c(S)), 1)
6360
+ he(Te(c(S)), 1)
6361
6361
  ]),
6362
6362
  _: 2
6363
6363
  }, 1024),
@@ -6369,7 +6369,7 @@ const Yn = /* @__PURE__ */ A({
6369
6369
  onClick: (w) => i(b)
6370
6370
  }, {
6371
6371
  default: Q(() => u[0] || (u[0] = [
6372
- pe("删除")
6372
+ he("删除")
6373
6373
  ])),
6374
6374
  _: 2
6375
6375
  }, 1032, ["onClick"])
@@ -6391,7 +6391,7 @@ const Yn = /* @__PURE__ */ A({
6391
6391
  default: Q(() => [
6392
6392
  ee("div", {
6393
6393
  class: "file-upload-btn",
6394
- style: Re(`width:${parseInt(e.width + "")}px`)
6394
+ style: Ee(`width:${parseInt(e.width + "")}px`)
6395
6395
  }, [
6396
6396
  v(Yn, {
6397
6397
  type: "file",
@@ -6404,10 +6404,10 @@ const Yn = /* @__PURE__ */ A({
6404
6404
  v(p, {
6405
6405
  type: "primary",
6406
6406
  disabled: X(a).length >= e.limit,
6407
- style: Re(`width:${parseInt(e.width + "")}px`)
6407
+ style: Ee(`width:${parseInt(e.width + "")}px`)
6408
6408
  }, {
6409
6409
  default: Q(() => u[2] || (u[2] = [
6410
- pe("点击上传文件")
6410
+ he("点击上传文件")
6411
6411
  ])),
6412
6412
  _: 1
6413
6413
  }, 8, ["disabled", "style"])
@@ -6420,7 +6420,7 @@ const Yn = /* @__PURE__ */ A({
6420
6420
  });
6421
6421
  };
6422
6422
  }
6423
- }), $u = /* @__PURE__ */ pt(wu, [["__scopeId", "data-v-bd1a735e"]]), Pu = { class: "detail-item-lable" }, _u = { class: "detail-item-value" }, Tu = /* @__PURE__ */ A({
6423
+ }), $u = /* @__PURE__ */ pt(wu, [["__scopeId", "data-v-bd1a735e"]]), Pu = { class: "detail-item-value" }, _u = /* @__PURE__ */ A({
6424
6424
  __name: "DetailItem",
6425
6425
  props: {
6426
6426
  label: {
@@ -6444,6 +6444,11 @@ const Yn = /* @__PURE__ */ A({
6444
6444
  help: {
6445
6445
  type: String,
6446
6446
  default: ""
6447
+ },
6448
+ // 布局 inline 行内
6449
+ layout: {
6450
+ type: String,
6451
+ default: "horizontal"
6447
6452
  }
6448
6453
  },
6449
6454
  setup(e) {
@@ -6451,10 +6456,15 @@ const Yn = /* @__PURE__ */ A({
6451
6456
  const r = fe("a-tooltip");
6452
6457
  return N(), ie("div", {
6453
6458
  class: "detail-item",
6454
- style: Re(e.span ? `grid-column: 1 / ${e.span + 1};` : "")
6459
+ style: Ee(e.span ? `grid-column: 1 / ${e.span + 1};` : "")
6455
6460
  }, [
6456
- ee("div", Pu, [
6457
- pe(Te(e.label) + " ", 1),
6461
+ ee("div", {
6462
+ class: "detail-item-lable",
6463
+ style: Ee({
6464
+ width: e.layout === "horizontal" ? "100%" : "auto"
6465
+ })
6466
+ }, [
6467
+ he(Te(e.label) + " ", 1),
6458
6468
  e.help ? (N(), we(r, {
6459
6469
  key: 0,
6460
6470
  title: e.help
@@ -6463,18 +6473,17 @@ const Yn = /* @__PURE__ */ A({
6463
6473
  v(X(Un))
6464
6474
  ]),
6465
6475
  _: 1
6466
- }, 8, ["title"])) : _n("", !0),
6467
- n[0] || (n[0] = pe(" : "))
6468
- ]),
6469
- ee("div", _u, [
6476
+ }, 8, ["title"])) : _n("", !0)
6477
+ ], 4),
6478
+ ee("div", Pu, [
6470
6479
  e.value ? (N(), ie(We, { key: 0 }, [
6471
- pe(Te(e.value), 1)
6480
+ he(Te(e.value), 1)
6472
6481
  ], 64)) : Pn(t.$slots, "default", { key: 1 }, void 0, !0)
6473
6482
  ])
6474
6483
  ], 4);
6475
6484
  };
6476
6485
  }
6477
- }), Eu = /* @__PURE__ */ pt(Tu, [["__scopeId", "data-v-1813e1b4"]]), Iu = { class: "detail-row" }, Au = { class: "title" }, Mu = /* @__PURE__ */ A({
6486
+ }), Tu = /* @__PURE__ */ pt(_u, [["__scopeId", "data-v-c2e9e171"]]), Eu = { class: "detail-row" }, Iu = { class: "title" }, Au = /* @__PURE__ */ A({
6478
6487
  __name: "DetailRow",
6479
6488
  props: {
6480
6489
  // 标题
@@ -6489,30 +6498,30 @@ const Yn = /* @__PURE__ */ A({
6489
6498
  }
6490
6499
  },
6491
6500
  setup(e) {
6492
- return (t, n) => (N(), ie("div", Iu, [
6493
- ee("div", Au, [
6494
- pe(Te(e.title) + " ", 1),
6501
+ return (t, n) => (N(), ie("div", Eu, [
6502
+ ee("div", Iu, [
6503
+ he(Te(e.title) + " ", 1),
6495
6504
  ee("div", {
6496
6505
  class: "content-list",
6497
- style: Re(`grid-template-columns: repeat(${e.span}, 1fr)`)
6506
+ style: Ee(`grid-template-columns: repeat(${e.span}, 1fr)`)
6498
6507
  }, [
6499
6508
  Pn(t.$slots, "default", { span: e.span }, void 0, !0)
6500
6509
  ], 4)
6501
6510
  ])
6502
6511
  ]));
6503
6512
  }
6504
- }), ku = /* @__PURE__ */ pt(Mu, [["__scopeId", "data-v-c22531ef"]]), ju = [Ra, Yn, Su, $u, Eu, ku], Nu = function(e) {
6505
- ju.forEach((t) => {
6513
+ }), Mu = /* @__PURE__ */ pt(Au, [["__scopeId", "data-v-c22531ef"]]), ku = [Ra, Yn, Su, $u, Tu, Mu], ju = function(e) {
6514
+ ku.forEach((t) => {
6506
6515
  e.component(t.name, t);
6507
6516
  });
6508
- }, Ru = { install: Nu }, Lu = (e) => mu(e);
6517
+ }, Hu = { install: ju }, Ru = (e) => mu(e);
6509
6518
  export {
6510
6519
  Ra as ApiSelect,
6511
6520
  Yn as BaseUpload,
6512
- Eu as DetailItem,
6513
- ku as DetailRow,
6521
+ Tu as DetailItem,
6522
+ Mu as DetailRow,
6514
6523
  $u as UploadFile,
6515
6524
  Su as UploadImage,
6516
- Ru as default,
6517
- Lu as sandInit
6525
+ Hu as default,
6526
+ Ru as sandInit
6518
6527
  };