antd-mobile 5.24.1 → 5.25.0

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.
Files changed (68) hide show
  1. package/2x/bundle/antd-mobile.cjs.development.js +349 -230
  2. package/2x/bundle/antd-mobile.cjs.js +8 -8
  3. package/2x/bundle/antd-mobile.es.development.js +349 -230
  4. package/2x/bundle/antd-mobile.es.js +6581 -6524
  5. package/2x/bundle/antd-mobile.umd.development.js +349 -230
  6. package/2x/bundle/antd-mobile.umd.js +8 -8
  7. package/2x/bundle/style.css +2 -0
  8. package/2x/cjs/components/cascader-view/cascader-view.d.ts +1 -1
  9. package/2x/cjs/components/cascader-view/cascader-view.js +3 -4
  10. package/2x/cjs/components/image-uploader/image-uploader.js +8 -7
  11. package/2x/cjs/components/image-viewer/image-viewer.d.ts +1 -1
  12. package/2x/cjs/components/image-viewer/slide.d.ts +1 -1
  13. package/2x/cjs/components/image-viewer/slide.js +9 -2
  14. package/2x/cjs/components/picker-view/picker-view.css +1 -0
  15. package/2x/cjs/components/popup/popup.css +1 -0
  16. package/2x/cjs/components/slider/slider.js +1 -1
  17. package/2x/cjs/components/slider/thumb.js +3 -2
  18. package/2x/cjs/index.d.ts +81 -1
  19. package/2x/cjs/index.js +1 -1
  20. package/2x/es/components/cascader-view/cascader-view.d.ts +1 -1
  21. package/2x/es/components/cascader-view/cascader-view.js +3 -4
  22. package/2x/es/components/image-uploader/image-uploader.js +8 -7
  23. package/2x/es/components/image-viewer/image-viewer.d.ts +1 -1
  24. package/2x/es/components/image-viewer/slide.d.ts +1 -1
  25. package/2x/es/components/image-viewer/slide.js +9 -2
  26. package/2x/es/components/picker-view/picker-view.css +1 -0
  27. package/2x/es/components/popup/popup.css +1 -0
  28. package/2x/es/components/slider/slider.js +1 -1
  29. package/2x/es/components/slider/thumb.js +1 -1
  30. package/2x/es/index.d.ts +81 -1
  31. package/2x/es/index.js +1 -1
  32. package/2x/package.json +1 -1
  33. package/bundle/antd-mobile.cjs.development.js +349 -230
  34. package/bundle/antd-mobile.cjs.js +8 -8
  35. package/bundle/antd-mobile.compatible.umd.js +1 -1
  36. package/bundle/antd-mobile.es.development.js +349 -230
  37. package/bundle/antd-mobile.es.js +6581 -6524
  38. package/bundle/antd-mobile.umd.development.js +349 -230
  39. package/bundle/antd-mobile.umd.js +8 -8
  40. package/bundle/style.css +1 -1
  41. package/cjs/components/cascader-view/cascader-view.d.ts +1 -1
  42. package/cjs/components/cascader-view/cascader-view.js +3 -4
  43. package/cjs/components/image-uploader/image-uploader.js +8 -7
  44. package/cjs/components/image-viewer/image-viewer.d.ts +1 -1
  45. package/cjs/components/image-viewer/slide.d.ts +1 -1
  46. package/cjs/components/image-viewer/slide.js +9 -2
  47. package/cjs/components/picker-view/picker-view.css +1 -0
  48. package/cjs/components/popup/popup.css +1 -0
  49. package/cjs/components/slider/slider.js +1 -1
  50. package/cjs/components/slider/thumb.js +3 -2
  51. package/cjs/index.d.ts +81 -1
  52. package/cjs/index.js +1 -1
  53. package/es/components/cascader-view/cascader-view.d.ts +1 -1
  54. package/es/components/cascader-view/cascader-view.js +3 -4
  55. package/es/components/image-uploader/image-uploader.js +8 -7
  56. package/es/components/image-viewer/image-viewer.d.ts +1 -1
  57. package/es/components/image-viewer/slide.d.ts +1 -1
  58. package/es/components/image-viewer/slide.js +9 -2
  59. package/es/components/picker-view/picker-view.css +1 -0
  60. package/es/components/popup/popup.css +1 -0
  61. package/es/components/slider/slider.js +1 -1
  62. package/es/components/slider/thumb.js +1 -1
  63. package/es/index.d.ts +81 -1
  64. package/es/index.js +1 -1
  65. package/package.json +1 -1
  66. package/umd/antd-mobile.js +1 -1
  67. package/2x/bundle/css-vars-patch.css +0 -399
  68. package/bundle/css-vars-patch.css +0 -312
@@ -316,9 +316,10 @@ const zhCN = mergeLocale(base, {
316
316
  name: "\u5F00\u5173"
317
317
  }
318
318
  });
319
+ const zhCN$1 = zhCN;
319
320
  const defaultConfigRef = {
320
321
  current: {
321
- locale: zhCN
322
+ locale: zhCN$1
322
323
  }
323
324
  };
324
325
  function setDefaultConfig(config2) {
@@ -328,7 +329,7 @@ function getDefaultConfig() {
328
329
  return defaultConfigRef.current;
329
330
  }
330
331
  const ConfigContext = React__default.createContext(null);
331
- const ConfigProvider = (props) => {
332
+ const ConfigProvider$1 = (props) => {
332
333
  const {
333
334
  children
334
335
  } = props, config2 = __rest(props, ["children"]);
@@ -341,6 +342,7 @@ function useConfig() {
341
342
  var _a;
342
343
  return (_a = useContext(ConfigContext)) !== null && _a !== void 0 ? _a : getDefaultConfig();
343
344
  }
345
+ const ConfigProvider = ConfigProvider$1;
344
346
  const actionSheet = "";
345
347
  function attachPropertiesToComponent(component, properties) {
346
348
  const ret = component;
@@ -897,12 +899,12 @@ var isFunction$1 = function isFunction(value) {
897
899
  var isNumber = function isNumber2(value) {
898
900
  return typeof value === "number";
899
901
  };
900
- var isDev = true;
901
- const isDev$1 = isDev;
902
+ var isDev$1 = true;
903
+ const isDev$2 = isDev$1;
902
904
  function useMemoizedFn(fn) {
903
- if (isDev$1) {
905
+ if (isDev$2) {
904
906
  if (!isFunction$1(fn)) {
905
- console.error("useMemoizedFn expected parameter is a function, got " + typeof fn);
907
+ console.error("useMemoizedFn expected parameter is a function, got ".concat(typeof fn));
906
908
  }
907
909
  }
908
910
  var fnRef = useRef(fn);
@@ -937,9 +939,9 @@ function useLatest(value) {
937
939
  return ref;
938
940
  }
939
941
  var useUnmount = function useUnmount2(fn) {
940
- if (isDev$1) {
942
+ if (isDev$2) {
941
943
  if (!isFunction$1(fn)) {
942
- console.error("useUnmount expected parameter is a function, got " + typeof fn);
944
+ console.error("useUnmount expected parameter is a function, got ".concat(typeof fn));
943
945
  }
944
946
  }
945
947
  var fnRef = useLatest(fn);
@@ -1106,9 +1108,9 @@ function throttle$1(func, wait, options) {
1106
1108
  }
1107
1109
  var throttle_1 = throttle$1;
1108
1110
  var useMount = function useMount2(fn) {
1109
- if (isDev$1) {
1111
+ if (isDev$2) {
1110
1112
  if (!isFunction$1(fn)) {
1111
- console.error('useMount: parameter `fn` expected to be a function, but got "' + typeof fn + '".');
1113
+ console.error('useMount: parameter `fn` expected to be a function, but got "'.concat(typeof fn, '".'));
1112
1114
  }
1113
1115
  }
1114
1116
  useEffect(function() {
@@ -1260,10 +1262,13 @@ var dayjs_min = { exports: {} };
1260
1262
  !function(t, e) {
1261
1263
  module.exports = e();
1262
1264
  }(commonjsGlobal, function() {
1263
- var t = 1e3, e = 6e4, n = 36e5, r = "millisecond", i = "second", s = "minute", u = "hour", a = "day", o = "week", f = "month", h = "quarter", c = "year", d = "date", $ = "Invalid Date", l = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, y = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, M = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_") }, m = function(t2, e2, n2) {
1265
+ var t = 1e3, e = 6e4, n = 36e5, r = "millisecond", i = "second", s = "minute", u = "hour", a = "day", o = "week", f = "month", h = "quarter", c = "year", d = "date", l = "Invalid Date", $ = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, y = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, M = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(t2) {
1266
+ var e2 = ["th", "st", "nd", "rd"], n2 = t2 % 100;
1267
+ return "[" + t2 + (e2[(n2 - 20) % 10] || e2[n2] || e2[0]) + "]";
1268
+ } }, m = function(t2, e2, n2) {
1264
1269
  var r2 = String(t2);
1265
1270
  return !r2 || r2.length >= e2 ? t2 : "" + Array(e2 + 1 - r2.length).join(n2) + t2;
1266
- }, g = { s: m, z: function(t2) {
1271
+ }, v = { s: m, z: function(t2) {
1267
1272
  var e2 = -t2.utcOffset(), n2 = Math.abs(e2), r2 = Math.floor(n2 / 60), i2 = n2 % 60;
1268
1273
  return (e2 <= 0 ? "+" : "-") + m(r2, 2, "0") + ":" + m(i2, 2, "0");
1269
1274
  }, m: function t2(e2, n2) {
@@ -1277,14 +1282,14 @@ var dayjs_min = { exports: {} };
1277
1282
  return { M: f, y: c, w: o, d: a, D: d, h: u, m: s, s: i, ms: r, Q: h }[t2] || String(t2 || "").toLowerCase().replace(/s$/, "");
1278
1283
  }, u: function(t2) {
1279
1284
  return void 0 === t2;
1280
- } }, v = "en", D = {};
1281
- D[v] = M;
1285
+ } }, g = "en", D = {};
1286
+ D[g] = M;
1282
1287
  var p = function(t2) {
1283
1288
  return t2 instanceof _;
1284
1289
  }, S = function t2(e2, n2, r2) {
1285
1290
  var i2;
1286
1291
  if (!e2)
1287
- return v;
1292
+ return g;
1288
1293
  if ("string" == typeof e2) {
1289
1294
  var s2 = e2.toLowerCase();
1290
1295
  D[s2] && (i2 = s2), n2 && (D[s2] = n2, i2 = s2);
@@ -1295,13 +1300,13 @@ var dayjs_min = { exports: {} };
1295
1300
  var a2 = e2.name;
1296
1301
  D[a2] = e2, i2 = a2;
1297
1302
  }
1298
- return !r2 && i2 && (v = i2), i2 || !r2 && v;
1303
+ return !r2 && i2 && (g = i2), i2 || !r2 && g;
1299
1304
  }, w = function(t2, e2) {
1300
1305
  if (p(t2))
1301
1306
  return t2.clone();
1302
1307
  var n2 = "object" == typeof e2 ? e2 : {};
1303
1308
  return n2.date = t2, n2.args = arguments, new _(n2);
1304
- }, O = g;
1309
+ }, O = v;
1305
1310
  O.l = S, O.i = p, O.w = function(t2, e2) {
1306
1311
  return w(t2, { locale: e2.$L, utc: e2.$u, x: e2.$x, $offset: e2.$offset });
1307
1312
  };
@@ -1320,7 +1325,7 @@ var dayjs_min = { exports: {} };
1320
1325
  if (e2 instanceof Date)
1321
1326
  return new Date(e2);
1322
1327
  if ("string" == typeof e2 && !/Z$/i.test(e2)) {
1323
- var r2 = e2.match(l);
1328
+ var r2 = e2.match($);
1324
1329
  if (r2) {
1325
1330
  var i2 = r2[2] - 1 || 0, s2 = (r2[7] || "0").substring(0, 3);
1326
1331
  return n2 ? new Date(Date.UTC(r2[1], i2, r2[3] || 1, r2[4] || 0, r2[5] || 0, r2[6] || 0, s2)) : new Date(r2[1], i2, r2[3] || 1, r2[4] || 0, r2[5] || 0, r2[6] || 0, s2);
@@ -1334,7 +1339,7 @@ var dayjs_min = { exports: {} };
1334
1339
  }, m2.$utils = function() {
1335
1340
  return O;
1336
1341
  }, m2.isValid = function() {
1337
- return !(this.$d.toString() === $);
1342
+ return !(this.$d.toString() === l);
1338
1343
  }, m2.isSame = function(t2, e2) {
1339
1344
  var n2 = w(t2);
1340
1345
  return this.startOf(e2) <= n2 && n2 <= this.endOf(e2);
@@ -1349,69 +1354,69 @@ var dayjs_min = { exports: {} };
1349
1354
  }, m2.valueOf = function() {
1350
1355
  return this.$d.getTime();
1351
1356
  }, m2.startOf = function(t2, e2) {
1352
- var n2 = this, r2 = !!O.u(e2) || e2, h2 = O.p(t2), $2 = function(t3, e3) {
1357
+ var n2 = this, r2 = !!O.u(e2) || e2, h2 = O.p(t2), l2 = function(t3, e3) {
1353
1358
  var i2 = O.w(n2.$u ? Date.UTC(n2.$y, e3, t3) : new Date(n2.$y, e3, t3), n2);
1354
1359
  return r2 ? i2 : i2.endOf(a);
1355
- }, l2 = function(t3, e3) {
1360
+ }, $2 = function(t3, e3) {
1356
1361
  return O.w(n2.toDate()[t3].apply(n2.toDate("s"), (r2 ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(e3)), n2);
1357
- }, y2 = this.$W, M3 = this.$M, m3 = this.$D, g2 = "set" + (this.$u ? "UTC" : "");
1362
+ }, y2 = this.$W, M3 = this.$M, m3 = this.$D, v2 = "set" + (this.$u ? "UTC" : "");
1358
1363
  switch (h2) {
1359
1364
  case c:
1360
- return r2 ? $2(1, 0) : $2(31, 11);
1365
+ return r2 ? l2(1, 0) : l2(31, 11);
1361
1366
  case f:
1362
- return r2 ? $2(1, M3) : $2(0, M3 + 1);
1367
+ return r2 ? l2(1, M3) : l2(0, M3 + 1);
1363
1368
  case o:
1364
- var v2 = this.$locale().weekStart || 0, D2 = (y2 < v2 ? y2 + 7 : y2) - v2;
1365
- return $2(r2 ? m3 - D2 : m3 + (6 - D2), M3);
1369
+ var g2 = this.$locale().weekStart || 0, D2 = (y2 < g2 ? y2 + 7 : y2) - g2;
1370
+ return l2(r2 ? m3 - D2 : m3 + (6 - D2), M3);
1366
1371
  case a:
1367
1372
  case d:
1368
- return l2(g2 + "Hours", 0);
1373
+ return $2(v2 + "Hours", 0);
1369
1374
  case u:
1370
- return l2(g2 + "Minutes", 1);
1375
+ return $2(v2 + "Minutes", 1);
1371
1376
  case s:
1372
- return l2(g2 + "Seconds", 2);
1377
+ return $2(v2 + "Seconds", 2);
1373
1378
  case i:
1374
- return l2(g2 + "Milliseconds", 3);
1379
+ return $2(v2 + "Milliseconds", 3);
1375
1380
  default:
1376
1381
  return this.clone();
1377
1382
  }
1378
1383
  }, m2.endOf = function(t2) {
1379
1384
  return this.startOf(t2, false);
1380
1385
  }, m2.$set = function(t2, e2) {
1381
- var n2, o2 = O.p(t2), h2 = "set" + (this.$u ? "UTC" : ""), $2 = (n2 = {}, n2[a] = h2 + "Date", n2[d] = h2 + "Date", n2[f] = h2 + "Month", n2[c] = h2 + "FullYear", n2[u] = h2 + "Hours", n2[s] = h2 + "Minutes", n2[i] = h2 + "Seconds", n2[r] = h2 + "Milliseconds", n2)[o2], l2 = o2 === a ? this.$D + (e2 - this.$W) : e2;
1386
+ var n2, o2 = O.p(t2), h2 = "set" + (this.$u ? "UTC" : ""), l2 = (n2 = {}, n2[a] = h2 + "Date", n2[d] = h2 + "Date", n2[f] = h2 + "Month", n2[c] = h2 + "FullYear", n2[u] = h2 + "Hours", n2[s] = h2 + "Minutes", n2[i] = h2 + "Seconds", n2[r] = h2 + "Milliseconds", n2)[o2], $2 = o2 === a ? this.$D + (e2 - this.$W) : e2;
1382
1387
  if (o2 === f || o2 === c) {
1383
1388
  var y2 = this.clone().set(d, 1);
1384
- y2.$d[$2](l2), y2.init(), this.$d = y2.set(d, Math.min(this.$D, y2.daysInMonth())).$d;
1389
+ y2.$d[l2]($2), y2.init(), this.$d = y2.set(d, Math.min(this.$D, y2.daysInMonth())).$d;
1385
1390
  } else
1386
- $2 && this.$d[$2](l2);
1391
+ l2 && this.$d[l2]($2);
1387
1392
  return this.init(), this;
1388
1393
  }, m2.set = function(t2, e2) {
1389
1394
  return this.clone().$set(t2, e2);
1390
1395
  }, m2.get = function(t2) {
1391
1396
  return this[O.p(t2)]();
1392
1397
  }, m2.add = function(r2, h2) {
1393
- var d2, $2 = this;
1398
+ var d2, l2 = this;
1394
1399
  r2 = Number(r2);
1395
- var l2 = O.p(h2), y2 = function(t2) {
1396
- var e2 = w($2);
1397
- return O.w(e2.date(e2.date() + Math.round(t2 * r2)), $2);
1400
+ var $2 = O.p(h2), y2 = function(t2) {
1401
+ var e2 = w(l2);
1402
+ return O.w(e2.date(e2.date() + Math.round(t2 * r2)), l2);
1398
1403
  };
1399
- if (l2 === f)
1404
+ if ($2 === f)
1400
1405
  return this.set(f, this.$M + r2);
1401
- if (l2 === c)
1406
+ if ($2 === c)
1402
1407
  return this.set(c, this.$y + r2);
1403
- if (l2 === a)
1408
+ if ($2 === a)
1404
1409
  return y2(1);
1405
- if (l2 === o)
1410
+ if ($2 === o)
1406
1411
  return y2(7);
1407
- var M3 = (d2 = {}, d2[s] = e, d2[u] = n, d2[i] = t, d2)[l2] || 1, m3 = this.$d.getTime() + r2 * M3;
1412
+ var M3 = (d2 = {}, d2[s] = e, d2[u] = n, d2[i] = t, d2)[$2] || 1, m3 = this.$d.getTime() + r2 * M3;
1408
1413
  return O.w(m3, this);
1409
1414
  }, m2.subtract = function(t2, e2) {
1410
1415
  return this.add(-1 * t2, e2);
1411
1416
  }, m2.format = function(t2) {
1412
1417
  var e2 = this, n2 = this.$locale();
1413
1418
  if (!this.isValid())
1414
- return n2.invalidDate || $;
1419
+ return n2.invalidDate || l;
1415
1420
  var r2 = t2 || "YYYY-MM-DDTHH:mm:ssZ", i2 = O.z(this), s2 = this.$H, u2 = this.$m, a2 = this.$M, o2 = n2.weekdays, f2 = n2.months, h2 = function(t3, n3, i3, s3) {
1416
1421
  return t3 && (t3[n3] || t3(e2, r2)) || i3[n3].slice(0, s3);
1417
1422
  }, c6 = function(t3) {
@@ -1419,15 +1424,15 @@ var dayjs_min = { exports: {} };
1419
1424
  }, d2 = n2.meridiem || function(t3, e3, n3) {
1420
1425
  var r3 = t3 < 12 ? "AM" : "PM";
1421
1426
  return n3 ? r3.toLowerCase() : r3;
1422
- }, l2 = { YY: String(this.$y).slice(-2), YYYY: this.$y, M: a2 + 1, MM: O.s(a2 + 1, 2, "0"), MMM: h2(n2.monthsShort, a2, f2, 3), MMMM: h2(f2, a2), D: this.$D, DD: O.s(this.$D, 2, "0"), d: String(this.$W), dd: h2(n2.weekdaysMin, this.$W, o2, 2), ddd: h2(n2.weekdaysShort, this.$W, o2, 3), dddd: o2[this.$W], H: String(s2), HH: O.s(s2, 2, "0"), h: c6(1), hh: c6(2), a: d2(s2, u2, true), A: d2(s2, u2, false), m: String(u2), mm: O.s(u2, 2, "0"), s: String(this.$s), ss: O.s(this.$s, 2, "0"), SSS: O.s(this.$ms, 3, "0"), Z: i2 };
1427
+ }, $2 = { YY: String(this.$y).slice(-2), YYYY: this.$y, M: a2 + 1, MM: O.s(a2 + 1, 2, "0"), MMM: h2(n2.monthsShort, a2, f2, 3), MMMM: h2(f2, a2), D: this.$D, DD: O.s(this.$D, 2, "0"), d: String(this.$W), dd: h2(n2.weekdaysMin, this.$W, o2, 2), ddd: h2(n2.weekdaysShort, this.$W, o2, 3), dddd: o2[this.$W], H: String(s2), HH: O.s(s2, 2, "0"), h: c6(1), hh: c6(2), a: d2(s2, u2, true), A: d2(s2, u2, false), m: String(u2), mm: O.s(u2, 2, "0"), s: String(this.$s), ss: O.s(this.$s, 2, "0"), SSS: O.s(this.$ms, 3, "0"), Z: i2 };
1423
1428
  return r2.replace(y, function(t3, e3) {
1424
- return e3 || l2[t3] || i2.replace(":", "");
1429
+ return e3 || $2[t3] || i2.replace(":", "");
1425
1430
  });
1426
1431
  }, m2.utcOffset = function() {
1427
1432
  return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
1428
- }, m2.diff = function(r2, d2, $2) {
1429
- var l2, y2 = O.p(d2), M3 = w(r2), m3 = (M3.utcOffset() - this.utcOffset()) * e, g2 = this - M3, v2 = O.m(this, M3);
1430
- return v2 = (l2 = {}, l2[c] = v2 / 12, l2[f] = v2, l2[h] = v2 / 3, l2[o] = (g2 - m3) / 6048e5, l2[a] = (g2 - m3) / 864e5, l2[u] = g2 / n, l2[s] = g2 / e, l2[i] = g2 / t, l2)[y2] || g2, $2 ? v2 : O.a(v2);
1433
+ }, m2.diff = function(r2, d2, l2) {
1434
+ var $2, y2 = O.p(d2), M3 = w(r2), m3 = (M3.utcOffset() - this.utcOffset()) * e, v2 = this - M3, g2 = O.m(this, M3);
1435
+ return g2 = ($2 = {}, $2[c] = g2 / 12, $2[f] = g2, $2[h] = g2 / 3, $2[o] = (v2 - m3) / 6048e5, $2[a] = (v2 - m3) / 864e5, $2[u] = v2 / n, $2[s] = v2 / e, $2[i] = v2 / t, $2)[y2] || v2, l2 ? g2 : O.a(g2);
1431
1436
  }, m2.daysInMonth = function() {
1432
1437
  return this.endOf(f).$D;
1433
1438
  }, m2.$locale = function() {
@@ -1457,7 +1462,7 @@ var dayjs_min = { exports: {} };
1457
1462
  return t2.$i || (t2(e2, _, w), t2.$i = true), w;
1458
1463
  }, w.locale = S, w.isDayjs = p, w.unix = function(t2) {
1459
1464
  return w(1e3 * t2);
1460
- }, w.en = D[v], w.Ls = D, w.p = {}, w;
1465
+ }, w.en = D[g], w.Ls = D, w.p = {}, w;
1461
1466
  });
1462
1467
  })(dayjs_min);
1463
1468
  const dayjs = dayjs_min.exports;
@@ -1485,17 +1490,22 @@ var __read$6 = globalThis && globalThis.__read || function(o, n) {
1485
1490
  }
1486
1491
  return ar;
1487
1492
  };
1488
- var __spread$2 = globalThis && globalThis.__spread || function() {
1489
- for (var ar = [], i = 0; i < arguments.length; i++) {
1490
- ar = ar.concat(__read$6(arguments[i]));
1491
- }
1492
- return ar;
1493
+ var __spreadArray$2 = globalThis && globalThis.__spreadArray || function(to2, from, pack) {
1494
+ if (pack || arguments.length === 2)
1495
+ for (var i = 0, l = from.length, ar; i < l; i++) {
1496
+ if (ar || !(i in from)) {
1497
+ if (!ar)
1498
+ ar = Array.prototype.slice.call(from, 0, i);
1499
+ ar[i] = from[i];
1500
+ }
1501
+ }
1502
+ return to2.concat(ar || Array.prototype.slice.call(from));
1493
1503
  };
1494
1504
  function useDebounceFn(fn, options) {
1495
1505
  var _a;
1496
- if (isDev$1) {
1506
+ if (isDev$2) {
1497
1507
  if (!isFunction$1(fn)) {
1498
- console.error("useDebounceFn expected parameter is a function, got " + typeof fn);
1508
+ console.error("useDebounceFn expected parameter is a function, got ".concat(typeof fn));
1499
1509
  }
1500
1510
  }
1501
1511
  var fnRef = useLatest(fn);
@@ -1506,7 +1516,7 @@ function useDebounceFn(fn, options) {
1506
1516
  for (var _i = 0; _i < arguments.length; _i++) {
1507
1517
  args[_i] = arguments[_i];
1508
1518
  }
1509
- return fnRef.current.apply(fnRef, __spread$2(args));
1519
+ return fnRef.current.apply(fnRef, __spreadArray$2([], __read$6(args), false));
1510
1520
  }, wait, options);
1511
1521
  }, []);
1512
1522
  useUnmount$1(function() {
@@ -2906,11 +2916,16 @@ var __read$3 = globalThis && globalThis.__read || function(o, n) {
2906
2916
  }
2907
2917
  return ar;
2908
2918
  };
2909
- var __spread$1 = globalThis && globalThis.__spread || function() {
2910
- for (var ar = [], i = 0; i < arguments.length; i++) {
2911
- ar = ar.concat(__read$3(arguments[i]));
2912
- }
2913
- return ar;
2919
+ var __spreadArray$1 = globalThis && globalThis.__spreadArray || function(to2, from, pack) {
2920
+ if (pack || arguments.length === 2)
2921
+ for (var i = 0, l = from.length, ar; i < l; i++) {
2922
+ if (ar || !(i in from)) {
2923
+ if (!ar)
2924
+ ar = Array.prototype.slice.call(from, 0, i);
2925
+ ar[i] = from[i];
2926
+ }
2927
+ }
2928
+ return to2.concat(ar || Array.prototype.slice.call(from));
2914
2929
  };
2915
2930
  function useLockFn(fn) {
2916
2931
  var _this = this;
@@ -2926,32 +2941,22 @@ function useLockFn(fn) {
2926
2941
  switch (_a.label) {
2927
2942
  case 0:
2928
2943
  if (lockRef.current)
2929
- return [
2930
- 2
2931
- ];
2944
+ return [2];
2932
2945
  lockRef.current = true;
2933
2946
  _a.label = 1;
2934
2947
  case 1:
2935
2948
  _a.trys.push([1, 3, , 4]);
2936
- return [
2937
- 4,
2938
- fn.apply(void 0, __spread$1(args))
2939
- ];
2949
+ return [4, fn.apply(void 0, __spreadArray$1([], __read$3(args), false))];
2940
2950
  case 2:
2941
2951
  ret = _a.sent();
2942
2952
  lockRef.current = false;
2943
- return [
2944
- 2,
2945
- ret
2946
- ];
2953
+ return [2, ret];
2947
2954
  case 3:
2948
2955
  e_1 = _a.sent();
2949
2956
  lockRef.current = false;
2950
2957
  throw e_1;
2951
2958
  case 4:
2952
- return [
2953
- 2
2954
- ];
2959
+ return [2];
2955
2960
  }
2956
2961
  });
2957
2962
  });
@@ -3552,17 +3557,22 @@ var __read = globalThis && globalThis.__read || function(o, n) {
3552
3557
  }
3553
3558
  return ar;
3554
3559
  };
3555
- var __spread = globalThis && globalThis.__spread || function() {
3556
- for (var ar = [], i = 0; i < arguments.length; i++) {
3557
- ar = ar.concat(__read(arguments[i]));
3558
- }
3559
- return ar;
3560
+ var __spreadArray = globalThis && globalThis.__spreadArray || function(to2, from, pack) {
3561
+ if (pack || arguments.length === 2)
3562
+ for (var i = 0, l = from.length, ar; i < l; i++) {
3563
+ if (ar || !(i in from)) {
3564
+ if (!ar)
3565
+ ar = Array.prototype.slice.call(from, 0, i);
3566
+ ar[i] = from[i];
3567
+ }
3568
+ }
3569
+ return to2.concat(ar || Array.prototype.slice.call(from));
3560
3570
  };
3561
3571
  function useThrottleFn(fn, options) {
3562
3572
  var _a;
3563
- if (isDev$1) {
3573
+ if (isDev$2) {
3564
3574
  if (!isFunction$1(fn)) {
3565
- console.error("useThrottleFn expected parameter is a function, got " + typeof fn);
3575
+ console.error("useThrottleFn expected parameter is a function, got ".concat(typeof fn));
3566
3576
  }
3567
3577
  }
3568
3578
  var fnRef = useLatest(fn);
@@ -3573,7 +3583,7 @@ function useThrottleFn(fn, options) {
3573
3583
  for (var _i = 0; _i < arguments.length; _i++) {
3574
3584
  args[_i] = arguments[_i];
3575
3585
  }
3576
- return fnRef.current.apply(fnRef, __spread(args));
3586
+ return fnRef.current.apply(fnRef, __spreadArray([], __read(args), false));
3577
3587
  }, wait, options);
3578
3588
  }, []);
3579
3589
  useUnmount$1(function() {
@@ -3587,10 +3597,11 @@ function useThrottleFn(fn, options) {
3587
3597
  }
3588
3598
  function useTimeout(fn, delay) {
3589
3599
  var fnRef = useLatest(fn);
3590
- var timerRef = useRef();
3600
+ var timerRef = useRef(null);
3591
3601
  useEffect(function() {
3592
- if (!isNumber(delay) || delay < 0)
3602
+ if (!isNumber(delay) || delay < 0) {
3593
3603
  return;
3604
+ }
3594
3605
  timerRef.current = setTimeout(function() {
3595
3606
  fnRef.current();
3596
3607
  }, delay);
@@ -7010,7 +7021,7 @@ const defaultProps$13 = {
7010
7021
  getContainer: null,
7011
7022
  stopPropagation: ["click"]
7012
7023
  };
7013
- const Mask = (p) => {
7024
+ const Mask$1 = (p) => {
7014
7025
  const props = mergeProps(defaultProps$13, p);
7015
7026
  const {
7016
7027
  locale
@@ -7079,6 +7090,7 @@ const Mask = (p) => {
7079
7090
  destroyOnClose: props.destroyOnClose
7080
7091
  }, renderToContainer(props.getContainer, node));
7081
7092
  };
7093
+ const Mask = Mask$1;
7082
7094
  function AddOutline(props) {
7083
7095
  return /* @__PURE__ */ React$1.createElement("svg", Object.assign({
7084
7096
  width: "1em",
@@ -7692,7 +7704,7 @@ const classPrefix$1k = `adm-popup`;
7692
7704
  const defaultProps$12 = Object.assign(Object.assign({}, defaultPopupBaseProps), {
7693
7705
  position: "bottom"
7694
7706
  });
7695
- const Popup = (p) => {
7707
+ const Popup$1 = (p) => {
7696
7708
  const props = mergeProps(defaultProps$12, p);
7697
7709
  const bodyCls = classNames(`${classPrefix$1k}-body`, props.bodyClassName, `${classPrefix$1k}-body-position-${props.position}`);
7698
7710
  const [active, setActive] = useState(props.visible);
@@ -7781,13 +7793,15 @@ const Popup = (p) => {
7781
7793
  destroyOnClose: props.destroyOnClose
7782
7794
  }, renderToContainer(props.getContainer, node));
7783
7795
  };
7796
+ const Popup = Popup$1;
7784
7797
  const safeArea = "";
7785
7798
  const classPrefix$1j = "adm-safe-area";
7786
- const SafeArea = (props) => {
7799
+ const SafeArea$1 = (props) => {
7787
7800
  return withNativeProps(props, React__default.createElement("div", {
7788
7801
  className: classNames(classPrefix$1j, `${classPrefix$1j}-position-${props.position}`)
7789
7802
  }));
7790
7803
  };
7804
+ const SafeArea = SafeArea$1;
7791
7805
  const fullClone = Object.assign({}, ReactDOM);
7792
7806
  const {
7793
7807
  version,
@@ -7992,13 +8006,14 @@ const index$j = attachPropertiesToComponent(ActionSheet, {
7992
8006
  });
7993
8007
  const autoCenter = "";
7994
8008
  const classPrefix$1h = "adm-auto-center";
7995
- const AutoCenter = (props) => {
8009
+ const AutoCenter$1 = (props) => {
7996
8010
  return withNativeProps(props, React__default.createElement("div", {
7997
8011
  className: classPrefix$1h
7998
8012
  }, React__default.createElement("div", {
7999
8013
  className: `${classPrefix$1h}-content`
8000
8014
  }, props.children)));
8001
8015
  };
8016
+ const AutoCenter = AutoCenter$1;
8002
8017
  const avatar = "";
8003
8018
  const image = "";
8004
8019
  var _stagedComponents_1_1_3_stagedComponents = {};
@@ -8070,7 +8085,7 @@ const defaultProps$10 = {
8070
8085
  lazy: false,
8071
8086
  draggable: false
8072
8087
  };
8073
- const Image$1 = staged_1((p) => {
8088
+ const Image$2 = staged_1((p) => {
8074
8089
  const props = mergeProps(defaultProps$10, p);
8075
8090
  const [loaded, setLoaded] = useState(false);
8076
8091
  const [failed, setFailed] = useState(false);
@@ -8138,6 +8153,7 @@ const Image$1 = staged_1((p) => {
8138
8153
  }
8139
8154
  }), renderInner()));
8140
8155
  });
8156
+ const Image$1 = Image$2;
8141
8157
  const Fallback = memo(() => React__default.createElement("svg", {
8142
8158
  className: "adm-avatar-fallback",
8143
8159
  width: "88px",
@@ -8181,7 +8197,7 @@ const defaultProps$$ = {
8181
8197
  fallback: React__default.createElement(Fallback, null),
8182
8198
  fit: "cover"
8183
8199
  };
8184
- const Avatar = (p) => {
8200
+ const Avatar$1 = (p) => {
8185
8201
  const props = mergeProps(defaultProps$$, p);
8186
8202
  return withNativeProps(props, React__default.createElement(Image$1, {
8187
8203
  className: classPrefix$1f,
@@ -8195,6 +8211,7 @@ const Avatar = (p) => {
8195
8211
  onError: props.onError
8196
8212
  }));
8197
8213
  };
8214
+ const Avatar = Avatar$1;
8198
8215
  const badge = "";
8199
8216
  const classPrefix$1e = `adm-badge`;
8200
8217
  const dot = React__default.createElement(React__default.Fragment, null);
@@ -8233,7 +8250,7 @@ const colorRecord$3 = {
8233
8250
  const defaultProps$_ = {
8234
8251
  color: "default"
8235
8252
  };
8236
- const DotLoading = memo((p) => {
8253
+ const DotLoading$2 = memo((p) => {
8237
8254
  var _a;
8238
8255
  const props = mergeProps(defaultProps$_, p);
8239
8256
  return withNativeProps(props, React__default.createElement("div", {
@@ -8277,6 +8294,7 @@ const DotLoading = memo((p) => {
8277
8294
  keyTimes: "0; 0.1; 0.3; 0.4; 1"
8278
8295
  }))))))))));
8279
8296
  });
8297
+ const DotLoading$1 = DotLoading$2;
8280
8298
  function isPromise(obj) {
8281
8299
  return !!obj && typeof obj === "object" && typeof obj.then === "function";
8282
8300
  }
@@ -8289,14 +8307,14 @@ const defaultProps$Z = {
8289
8307
  fill: "solid",
8290
8308
  block: false,
8291
8309
  loading: false,
8292
- loadingIcon: React__default.createElement(DotLoading, {
8310
+ loadingIcon: React__default.createElement(DotLoading$1, {
8293
8311
  color: "currentColor"
8294
8312
  }),
8295
8313
  type: "button",
8296
8314
  shape: "default",
8297
8315
  size: "middle"
8298
8316
  };
8299
- const Button = forwardRef((p, ref) => {
8317
+ const Button$1 = forwardRef((p, ref) => {
8300
8318
  const props = mergeProps(defaultProps$Z, p);
8301
8319
  const [innerLoading, setInnerLoading] = useState(false);
8302
8320
  const nativeButtonRef = useRef(null);
@@ -8345,6 +8363,7 @@ const Button = forwardRef((p, ref) => {
8345
8363
  className: `${classPrefix$1c}-loading-wrapper`
8346
8364
  }, props.loadingIcon, props.loadingText) : React__default.createElement("span", null, props.children)));
8347
8365
  });
8366
+ const Button = Button$1;
8348
8367
  const calendar = "";
8349
8368
  const ArrowLeft = () => {
8350
8369
  return React__default.createElement("svg", {
@@ -8476,7 +8495,7 @@ const defaultProps$Y = {
8476
8495
  nextMonthButton: React__default.createElement(ArrowLeft, null),
8477
8496
  nextYearButton: React__default.createElement(ArrowLeftDouble, null)
8478
8497
  };
8479
- const Calendar = forwardRef((p, ref) => {
8498
+ const Calendar$1 = forwardRef((p, ref) => {
8480
8499
  const today = dayjs();
8481
8500
  const props = mergeProps(defaultProps$Y, p);
8482
8501
  const {
@@ -8660,6 +8679,7 @@ const Calendar = forwardRef((p, ref) => {
8660
8679
  className: classPrefix$1b
8661
8680
  }, header, mark, body));
8662
8681
  });
8682
+ const Calendar = Calendar$1;
8663
8683
  const capsuleTabs = "";
8664
8684
  function useResizeEffect(effect, targetRef) {
8665
8685
  const fn = useMemoizedFn(effect);
@@ -8761,7 +8781,7 @@ const useTabListScroll = (targetRef, activeIndex) => {
8761
8781
  };
8762
8782
  const scrollMask = "";
8763
8783
  const classPrefix$1a = `adm-scroll-mask`;
8764
- const ScrollMask = (props) => {
8784
+ const ScrollMask$1 = (props) => {
8765
8785
  const maskRef = useRef(null);
8766
8786
  const [{
8767
8787
  leftMaskOpacity,
@@ -8818,6 +8838,7 @@ const ScrollMask = (props) => {
8818
8838
  }
8819
8839
  }));
8820
8840
  };
8841
+ const ScrollMask = ScrollMask$1;
8821
8842
  var _reactIs_17_0_2_reactIs = { exports: {} };
8822
8843
  var reactIs_development$1 = {};
8823
8844
  /** @license React v17.0.2
@@ -9121,7 +9142,7 @@ const index$i = attachPropertiesToComponent(CapsuleTabs, {
9121
9142
  });
9122
9143
  const card = "";
9123
9144
  const classPrefix$18 = `adm-card`;
9124
- const Card = (props) => {
9145
+ const Card$1 = (props) => {
9125
9146
  const renderHeader = () => {
9126
9147
  if (!(props.title || props.extra)) {
9127
9148
  return null;
@@ -9149,6 +9170,7 @@ const Card = (props) => {
9149
9170
  onClick: props.onClick
9150
9171
  }, renderHeader(), renderBody()));
9151
9172
  };
9173
+ const Card = Card$1;
9152
9174
  const picker = "";
9153
9175
  function clamp(v, min2, max2) {
9154
9176
  return Math.max(min2, Math.min(v, max2));
@@ -10956,13 +10978,14 @@ function rubberbandIfOutOfBounds(position, min2, max2, dimension, constant2 = 0.
10956
10978
  return +rubberband(position - max2, dimension, constant2) + max2;
10957
10979
  return position;
10958
10980
  }
10981
+ const isDev = true;
10959
10982
  function devWarning(component, message) {
10960
- {
10983
+ if (isDev) {
10961
10984
  console.warn(`[antd-mobile: ${component}] ${message}`);
10962
10985
  }
10963
10986
  }
10964
10987
  function devError(component, message) {
10965
- {
10988
+ if (isDev) {
10966
10989
  console.error(`[antd-mobile: ${component}] ${message}`);
10967
10990
  }
10968
10991
  }
@@ -11392,7 +11415,7 @@ const defaultProps$X = {
11392
11415
  color: "default"
11393
11416
  };
11394
11417
  const circumference = 15 * 3.14159265358979 * 2;
11395
- const SpinLoading = memo((p) => {
11418
+ const SpinLoading$1 = memo((p) => {
11396
11419
  var _a;
11397
11420
  const props = mergeProps(defaultProps$X, p);
11398
11421
  const motionReduced = useMotionReduced();
@@ -11434,6 +11457,7 @@ const SpinLoading = memo((p) => {
11434
11457
  cy: 16
11435
11458
  }))));
11436
11459
  });
11460
+ const SpinLoading = SpinLoading$1;
11437
11461
  const classPrefix$15 = `adm-picker-view`;
11438
11462
  const defaultProps$W = {
11439
11463
  defaultValue: [],
@@ -11443,7 +11467,7 @@ const defaultProps$W = {
11443
11467
  className: `${classPrefix$15}-loading-content`
11444
11468
  }, React__default.createElement(SpinLoading, null))
11445
11469
  };
11446
- const PickerView = memo((p) => {
11470
+ const PickerView$1 = memo((p) => {
11447
11471
  const props = mergeProps(defaultProps$W, p);
11448
11472
  const [innerValue, setInnerValue] = useState(props.value === void 0 ? props.defaultValue : props.value);
11449
11473
  useEffect(() => {
@@ -11504,8 +11528,9 @@ const PickerView = memo((p) => {
11504
11528
  className: `${classPrefix$15}-mask-bottom`
11505
11529
  })))));
11506
11530
  });
11507
- PickerView.displayName = "PickerView";
11531
+ PickerView$1.displayName = "PickerView";
11508
11532
  const pickerView = "";
11533
+ const PickerView = PickerView$1;
11509
11534
  const classPrefix$14 = `adm-picker`;
11510
11535
  const defaultProps$V = {
11511
11536
  defaultValue: [],
@@ -11746,7 +11771,7 @@ function prompt$2(props) {
11746
11771
  const index$h = attachPropertiesToComponent(CascadePicker, {
11747
11772
  prompt: prompt$2
11748
11773
  });
11749
- const CascadePickerView = (props) => {
11774
+ const CascadePickerView$1 = (props) => {
11750
11775
  const {
11751
11776
  options
11752
11777
  } = props, pickerProps = __rest(props, ["options"]);
@@ -11755,6 +11780,7 @@ const CascadePickerView = (props) => {
11755
11780
  columns: columnsFn
11756
11781
  }));
11757
11782
  };
11783
+ const CascadePickerView = CascadePickerView$1;
11758
11784
  const cascaderView = "";
11759
11785
  const tabs = "";
11760
11786
  const classPrefix$13 = `adm-tabs`;
@@ -12226,9 +12252,8 @@ const CascaderView$1 = (p) => {
12226
12252
  const {
12227
12253
  locale
12228
12254
  } = useConfig();
12229
- const props = mergeProps(defaultProps$R, {
12230
- placeholder: locale.Cascader.placeholder
12231
- }, p);
12255
+ const props = mergeProps(defaultProps$R, p);
12256
+ const placeholder = props.placeholder || locale.Cascader.placeholder;
12232
12257
  const [value, setValue2] = usePropsValue(Object.assign(Object.assign({}, props), {
12233
12258
  onChange: (val) => {
12234
12259
  var _a;
@@ -12297,7 +12322,7 @@ const CascaderView$1 = (p) => {
12297
12322
  key: index2.toString(),
12298
12323
  title: React__default.createElement("div", {
12299
12324
  className: `${classPrefix$Z}-header-title`
12300
- }, selected ? selected.label : props.placeholder),
12325
+ }, selected ? selected.label : typeof placeholder === "function" ? placeholder(index2) : placeholder),
12301
12326
  forceRender: true
12302
12327
  }, React__default.createElement("div", {
12303
12328
  className: `${classPrefix$Z}-content`
@@ -12479,7 +12504,7 @@ const centerPopup = "";
12479
12504
  const defaultProps$P = Object.assign(Object.assign({}, defaultPopupBaseProps), {
12480
12505
  getContainer: null
12481
12506
  });
12482
- const CenterPopup = (p) => {
12507
+ const CenterPopup$1 = (p) => {
12483
12508
  const props = mergeProps(defaultProps$P, p);
12484
12509
  const unmountedRef = useUnmountedRef$1();
12485
12510
  const style = useSpring({
@@ -12557,6 +12582,7 @@ const CenterPopup = (p) => {
12557
12582
  destroyOnClose: props.destroyOnClose
12558
12583
  }, renderToContainer(props.getContainer, node));
12559
12584
  };
12585
+ const CenterPopup = CenterPopup$1;
12560
12586
  const checkbox = "";
12561
12587
  const CheckboxGroupContext = createContext(null);
12562
12588
  const defaultProps$O = {
@@ -12648,7 +12674,7 @@ const Checkbox$1 = forwardRef((p, ref) => {
12648
12674
  value
12649
12675
  } = props;
12650
12676
  if (groupContext && value !== void 0) {
12651
- {
12677
+ if (isDev) {
12652
12678
  if (p.checked !== void 0) {
12653
12679
  devWarning("Checkbox", "When used within `Checkbox.Group`, the `checked` prop of `Checkbox` will not work.");
12654
12680
  }
@@ -13272,7 +13298,7 @@ const defaultProps$L = {
13272
13298
  precision: "day",
13273
13299
  renderLabel: defaultRenderLabel
13274
13300
  };
13275
- const DatePickerView = (p) => {
13301
+ const DatePickerView$1 = (p) => {
13276
13302
  var _a;
13277
13303
  const props = mergeProps(defaultProps$L, p);
13278
13304
  const [value, setValue2] = usePropsValue({
@@ -13297,6 +13323,7 @@ const DatePickerView = (p) => {
13297
13323
  onChange
13298
13324
  }));
13299
13325
  };
13326
+ const DatePickerView = DatePickerView$1;
13300
13327
  const dialog = "";
13301
13328
  const DialogActionButton = (props) => {
13302
13329
  const {
@@ -13472,7 +13499,7 @@ const defaultProps$I = {
13472
13499
  contentPosition: "center",
13473
13500
  direction: "horizontal"
13474
13501
  };
13475
- const Divider = (p) => {
13502
+ const Divider$1 = (p) => {
13476
13503
  const props = mergeProps(defaultProps$I, p);
13477
13504
  return withNativeProps(props, React__default.createElement("div", {
13478
13505
  className: classNames(classPrefix$V, `${classPrefix$V}-${props.direction}`, `${classPrefix$V}-${props.contentPosition}`)
@@ -13480,6 +13507,7 @@ const Divider = (p) => {
13480
13507
  className: `${classPrefix$V}-content`
13481
13508
  }, props.children)));
13482
13509
  };
13510
+ const Divider = Divider$1;
13483
13511
  const dropdown = "";
13484
13512
  const classPrefix$U = `adm-dropdown-item`;
13485
13513
  const Item = (props) => {
@@ -13501,6 +13529,7 @@ const Item = (props) => {
13501
13529
  })
13502
13530
  }, props.arrow === void 0 ? React__default.createElement(DownFill, null) : props.arrow))));
13503
13531
  };
13532
+ const Item$1 = Item;
13504
13533
  const ItemChildrenWrap = (props) => {
13505
13534
  const {
13506
13535
  active = false
@@ -13609,8 +13638,9 @@ const Dropdown = forwardRef((p, ref) => {
13609
13638
  }, item.props.children);
13610
13639
  })))));
13611
13640
  });
13612
- const index$c = attachPropertiesToComponent(Dropdown, {
13613
- Item
13641
+ const Dropdown$1 = Dropdown;
13642
+ const index$c = attachPropertiesToComponent(Dropdown$1, {
13643
+ Item: Item$1
13614
13644
  });
13615
13645
  const ellipsis = "";
13616
13646
  var _runes_0_4_3_runes = { exports: {} };
@@ -13744,7 +13774,7 @@ const defaultProps$G = {
13744
13774
  onContentClick: () => {
13745
13775
  }
13746
13776
  };
13747
- const Ellipsis = (p) => {
13777
+ const Ellipsis$1 = (p) => {
13748
13778
  const props = mergeProps(defaultProps$G, p);
13749
13779
  const rootRef = useRef(null);
13750
13780
  const [ellipsised, setEllipsised] = useState({});
@@ -13880,6 +13910,7 @@ function pxToNumber(value) {
13880
13910
  const match = value.match(/^\d*(\.\d*)?/);
13881
13911
  return match ? Number(match[0]) : 0;
13882
13912
  }
13913
+ const Ellipsis = Ellipsis$1;
13883
13914
  const empty = "";
13884
13915
  const EmptyIcon = (props) => {
13885
13916
  return withNativeProps(props, React__default.createElement("svg", {
@@ -13904,7 +13935,7 @@ const EmptyIcon = (props) => {
13904
13935
  })))));
13905
13936
  };
13906
13937
  const classPrefix$R = `adm-empty`;
13907
- const Empty = (props) => {
13938
+ const Empty$1 = (props) => {
13908
13939
  function renderImageNode() {
13909
13940
  const {
13910
13941
  image: image2
@@ -13933,6 +13964,7 @@ const Empty = (props) => {
13933
13964
  className: classNames(`${classPrefix$R}-description`)
13934
13965
  }, props.description)));
13935
13966
  };
13967
+ const Empty = Empty$1;
13936
13968
  const errorBlock = "";
13937
13969
  const classPrefix$Q = `adm-error-block`;
13938
13970
  const defaultProps$F = {
@@ -14471,13 +14503,14 @@ const imageRecord = {
14471
14503
  "empty": emptyImage,
14472
14504
  "busy": busyImage
14473
14505
  };
14474
- const ErrorBlock = createErrorBlock(imageRecord);
14506
+ const ErrorBlock$1 = createErrorBlock(imageRecord);
14507
+ const ErrorBlock = ErrorBlock$1;
14475
14508
  const floatingBubble = "";
14476
14509
  const classPrefix$P = `adm-floating-bubble`;
14477
14510
  const defaultProps$E = {
14478
14511
  axis: "y"
14479
14512
  };
14480
- const FloatingBubble = (p) => {
14513
+ const FloatingBubble$1 = (p) => {
14481
14514
  const props = mergeProps(defaultProps$E, p);
14482
14515
  const boundaryRef = useRef(null);
14483
14516
  const buttonRef = useRef(null);
@@ -14553,6 +14586,7 @@ const FloatingBubble = (p) => {
14553
14586
  ref: buttonRef
14554
14587
  }), props.children)));
14555
14588
  };
14589
+ const FloatingBubble = FloatingBubble$1;
14556
14590
  const floatingPanel = "";
14557
14591
  function nearest(arr, target) {
14558
14592
  return arr.reduce((pre, cur) => {
@@ -14562,7 +14596,7 @@ function nearest(arr, target) {
14562
14596
  const defaultProps$D = {
14563
14597
  handleDraggingOfContent: true
14564
14598
  };
14565
- const FloatingPanel = forwardRef((p, ref) => {
14599
+ const FloatingPanel$1 = forwardRef((p, ref) => {
14566
14600
  var _a, _b;
14567
14601
  const props = mergeProps(defaultProps$D, p);
14568
14602
  const {
@@ -14678,6 +14712,7 @@ const FloatingPanel = forwardRef((p, ref) => {
14678
14712
  ref: contentRef
14679
14713
  }, props.children)));
14680
14714
  });
14715
+ const FloatingPanel = FloatingPanel$1;
14681
14716
  const index$b = "";
14682
14717
  function _extends$1() {
14683
14718
  _extends$1 = Object.assign ? Object.assign.bind() : function(target) {
@@ -15140,7 +15175,9 @@ function _regeneratorRuntime() {
15140
15175
  _regeneratorRuntime = function _regeneratorRuntime2() {
15141
15176
  return exports;
15142
15177
  };
15143
- var exports = {}, Op = Object.prototype, hasOwn = Op.hasOwnProperty, $Symbol = "function" == typeof Symbol ? Symbol : {}, iteratorSymbol = $Symbol.iterator || "@@iterator", asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag";
15178
+ var exports = {}, Op = Object.prototype, hasOwn = Op.hasOwnProperty, defineProperty2 = Object.defineProperty || function(obj, key, desc) {
15179
+ obj[key] = desc.value;
15180
+ }, $Symbol = "function" == typeof Symbol ? Symbol : {}, iteratorSymbol = $Symbol.iterator || "@@iterator", asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag";
15144
15181
  function define(obj, key, value) {
15145
15182
  return Object.defineProperty(obj, key, {
15146
15183
  value,
@@ -15158,48 +15195,9 @@ function _regeneratorRuntime() {
15158
15195
  }
15159
15196
  function wrap(innerFn, outerFn, self2, tryLocsList) {
15160
15197
  var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator, generator = Object.create(protoGenerator.prototype), context = new Context2(tryLocsList || []);
15161
- return generator._invoke = function(innerFn2, self3, context2) {
15162
- var state = "suspendedStart";
15163
- return function(method4, arg) {
15164
- if ("executing" === state)
15165
- throw new Error("Generator is already running");
15166
- if ("completed" === state) {
15167
- if ("throw" === method4)
15168
- throw arg;
15169
- return doneResult();
15170
- }
15171
- for (context2.method = method4, context2.arg = arg; ; ) {
15172
- var delegate = context2.delegate;
15173
- if (delegate) {
15174
- var delegateResult = maybeInvokeDelegate(delegate, context2);
15175
- if (delegateResult) {
15176
- if (delegateResult === ContinueSentinel)
15177
- continue;
15178
- return delegateResult;
15179
- }
15180
- }
15181
- if ("next" === context2.method)
15182
- context2.sent = context2._sent = context2.arg;
15183
- else if ("throw" === context2.method) {
15184
- if ("suspendedStart" === state)
15185
- throw state = "completed", context2.arg;
15186
- context2.dispatchException(context2.arg);
15187
- } else
15188
- "return" === context2.method && context2.abrupt("return", context2.arg);
15189
- state = "executing";
15190
- var record2 = tryCatch(innerFn2, self3, context2);
15191
- if ("normal" === record2.type) {
15192
- if (state = context2.done ? "completed" : "suspendedYield", record2.arg === ContinueSentinel)
15193
- continue;
15194
- return {
15195
- value: record2.arg,
15196
- done: context2.done
15197
- };
15198
- }
15199
- "throw" === record2.type && (state = "completed", context2.method = "throw", context2.arg = record2.arg);
15200
- }
15201
- };
15202
- }(innerFn, self2, context), generator;
15198
+ return defineProperty2(generator, "_invoke", {
15199
+ value: makeInvokeMethod(innerFn, self2, context)
15200
+ }), generator;
15203
15201
  }
15204
15202
  function tryCatch(fn, obj, arg) {
15205
15203
  try {
@@ -15254,13 +15252,57 @@ function _regeneratorRuntime() {
15254
15252
  reject(record2.arg);
15255
15253
  }
15256
15254
  var previousPromise;
15257
- this._invoke = function(method4, arg) {
15258
- function callInvokeWithMethodAndArg() {
15259
- return new PromiseImpl(function(resolve, reject) {
15260
- invoke(method4, arg, resolve, reject);
15261
- });
15255
+ defineProperty2(this, "_invoke", {
15256
+ value: function value(method4, arg) {
15257
+ function callInvokeWithMethodAndArg() {
15258
+ return new PromiseImpl(function(resolve, reject) {
15259
+ invoke(method4, arg, resolve, reject);
15260
+ });
15261
+ }
15262
+ return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();
15263
+ }
15264
+ });
15265
+ }
15266
+ function makeInvokeMethod(innerFn, self2, context) {
15267
+ var state = "suspendedStart";
15268
+ return function(method4, arg) {
15269
+ if ("executing" === state)
15270
+ throw new Error("Generator is already running");
15271
+ if ("completed" === state) {
15272
+ if ("throw" === method4)
15273
+ throw arg;
15274
+ return doneResult();
15275
+ }
15276
+ for (context.method = method4, context.arg = arg; ; ) {
15277
+ var delegate = context.delegate;
15278
+ if (delegate) {
15279
+ var delegateResult = maybeInvokeDelegate(delegate, context);
15280
+ if (delegateResult) {
15281
+ if (delegateResult === ContinueSentinel)
15282
+ continue;
15283
+ return delegateResult;
15284
+ }
15285
+ }
15286
+ if ("next" === context.method)
15287
+ context.sent = context._sent = context.arg;
15288
+ else if ("throw" === context.method) {
15289
+ if ("suspendedStart" === state)
15290
+ throw state = "completed", context.arg;
15291
+ context.dispatchException(context.arg);
15292
+ } else
15293
+ "return" === context.method && context.abrupt("return", context.arg);
15294
+ state = "executing";
15295
+ var record2 = tryCatch(innerFn, self2, context);
15296
+ if ("normal" === record2.type) {
15297
+ if (state = context.done ? "completed" : "suspendedYield", record2.arg === ContinueSentinel)
15298
+ continue;
15299
+ return {
15300
+ value: record2.arg,
15301
+ done: context.done
15302
+ };
15303
+ }
15304
+ "throw" === record2.type && (state = "completed", context.method = "throw", context.arg = record2.arg);
15262
15305
  }
15263
- return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();
15264
15306
  };
15265
15307
  }
15266
15308
  function maybeInvokeDelegate(delegate, context) {
@@ -15322,7 +15364,13 @@ function _regeneratorRuntime() {
15322
15364
  done: true
15323
15365
  };
15324
15366
  }
15325
- return GeneratorFunction.prototype = GeneratorFunctionPrototype, define(Gp, "constructor", GeneratorFunctionPrototype), define(GeneratorFunctionPrototype, "constructor", GeneratorFunction), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function(genFun) {
15367
+ return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty2(Gp, "constructor", {
15368
+ value: GeneratorFunctionPrototype,
15369
+ configurable: true
15370
+ }), defineProperty2(GeneratorFunctionPrototype, "constructor", {
15371
+ value: GeneratorFunction,
15372
+ configurable: true
15373
+ }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function(genFun) {
15326
15374
  var ctor = "function" == typeof genFun && genFun.constructor;
15327
15375
  return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name));
15328
15376
  }, exports.mark = function(genFun) {
@@ -15343,8 +15391,8 @@ function _regeneratorRuntime() {
15343
15391
  return this;
15344
15392
  }), define(Gp, "toString", function() {
15345
15393
  return "[object Generator]";
15346
- }), exports.keys = function(object4) {
15347
- var keys2 = [];
15394
+ }), exports.keys = function(val) {
15395
+ var object4 = Object(val), keys2 = [];
15348
15396
  for (var key in object4) {
15349
15397
  keys2.push(key);
15350
15398
  }
@@ -17162,6 +17210,8 @@ var Field = /* @__PURE__ */ function(_React$Component) {
17162
17210
  var filteredRules = _this.getRules();
17163
17211
  if (triggerName) {
17164
17212
  filteredRules = filteredRules.filter(function(rule) {
17213
+ return rule;
17214
+ }).filter(function(rule) {
17165
17215
  var validateTrigger = rule.validateTrigger;
17166
17216
  if (!validateTrigger) {
17167
17217
  return true;
@@ -19802,9 +19852,10 @@ function isOverflowElement(element) {
19802
19852
  const {
19803
19853
  overflow,
19804
19854
  overflowX,
19805
- overflowY
19855
+ overflowY,
19856
+ display
19806
19857
  } = getComputedStyle(element);
19807
- return /auto|scroll|overlay|hidden/.test(overflow + overflowY + overflowX);
19858
+ return /auto|scroll|overlay|hidden/.test(overflow + overflowY + overflowX) && !["inline", "contents"].includes(display);
19808
19859
  }
19809
19860
  function isTableElement(element) {
19810
19861
  return ["table", "td", "th"].includes(getNodeName(element));
@@ -19812,11 +19863,19 @@ function isTableElement(element) {
19812
19863
  function isContainingBlock(element) {
19813
19864
  const isFirefox = /firefox/i.test(getUAString());
19814
19865
  const css = getComputedStyle(element);
19815
- return css.transform !== "none" || css.perspective !== "none" || css.contain === "paint" || ["transform", "perspective"].includes(css.willChange) || isFirefox && css.willChange === "filter" || isFirefox && (css.filter ? css.filter !== "none" : false);
19866
+ return css.transform !== "none" || css.perspective !== "none" || isFirefox && css.willChange === "filter" || isFirefox && (css.filter ? css.filter !== "none" : false) || ["transform", "perspective"].some((value) => css.willChange.includes(value)) || ["paint", "layout", "strict", "content"].some(
19867
+ (value) => {
19868
+ const contain = css.contain;
19869
+ return contain != null ? contain.includes(value) : false;
19870
+ }
19871
+ );
19816
19872
  }
19817
19873
  function isLayoutViewport() {
19818
19874
  return !/^((?!chrome|android).)*safari/i.test(getUAString());
19819
19875
  }
19876
+ function isLastTraversableNode(node) {
19877
+ return ["html", "body", "#document"].includes(getNodeName(node));
19878
+ }
19820
19879
  const min = Math.min;
19821
19880
  const max = Math.max;
19822
19881
  const round$1 = Math.round;
@@ -19926,7 +19985,7 @@ function getContainingBlock(element) {
19926
19985
  if (isShadowRoot(currentNode)) {
19927
19986
  currentNode = currentNode.host;
19928
19987
  }
19929
- while (isHTMLElement(currentNode) && !["html", "body"].includes(getNodeName(currentNode))) {
19988
+ while (isHTMLElement(currentNode) && !isLastTraversableNode(currentNode)) {
19930
19989
  if (isContainingBlock(currentNode)) {
19931
19990
  return currentNode;
19932
19991
  } else {
@@ -20040,7 +20099,7 @@ function getDocumentRect(element) {
20040
20099
  }
20041
20100
  function getNearestOverflowAncestor(node) {
20042
20101
  const parentNode = getParentNode(node);
20043
- if (["html", "body", "#document"].includes(getNodeName(parentNode))) {
20102
+ if (isLastTraversableNode(parentNode)) {
20044
20103
  return node.ownerDocument.body;
20045
20104
  }
20046
20105
  if (isHTMLElement(parentNode) && isOverflowElement(parentNode)) {
@@ -20075,6 +20134,17 @@ function contains(parent, child) {
20075
20134
  }
20076
20135
  return false;
20077
20136
  }
20137
+ function getNearestParentCapableOfEscapingClipping(element, clippingAncestors) {
20138
+ let currentNode = element;
20139
+ while (currentNode && !isLastTraversableNode(currentNode) && !clippingAncestors.includes(currentNode)) {
20140
+ if (isElement(currentNode) && ["absolute", "fixed"].includes(getComputedStyle(currentNode).position)) {
20141
+ break;
20142
+ }
20143
+ const parentNode = getParentNode(currentNode);
20144
+ currentNode = isShadowRoot(parentNode) ? parentNode.host : parentNode;
20145
+ }
20146
+ return currentNode;
20147
+ }
20078
20148
  function getInnerBoundingClientRect(element, strategy) {
20079
20149
  const clientRect = getBoundingClientRect(element, false, strategy === "fixed");
20080
20150
  const top = clientRect.top + element.clientTop;
@@ -20101,12 +20171,20 @@ function getClientRectFromClippingAncestor(element, clippingParent, strategy) {
20101
20171
  }
20102
20172
  function getClippingAncestors(element) {
20103
20173
  const clippingAncestors = getOverflowAncestors(element);
20104
- const canEscapeClipping = ["absolute", "fixed"].includes(getComputedStyle(element).position);
20105
- const clipperElement = canEscapeClipping && isHTMLElement(element) ? getOffsetParent(element) : element;
20174
+ const nearestEscapableParent = getNearestParentCapableOfEscapingClipping(element, clippingAncestors);
20175
+ let clipperElement = null;
20176
+ if (nearestEscapableParent && isHTMLElement(nearestEscapableParent)) {
20177
+ const offsetParent = getOffsetParent(nearestEscapableParent);
20178
+ if (isOverflowElement(nearestEscapableParent)) {
20179
+ clipperElement = nearestEscapableParent;
20180
+ } else if (isHTMLElement(offsetParent)) {
20181
+ clipperElement = offsetParent;
20182
+ }
20183
+ }
20106
20184
  if (!isElement(clipperElement)) {
20107
20185
  return [];
20108
20186
  }
20109
- return clippingAncestors.filter((clippingAncestors2) => isElement(clippingAncestors2) && contains(clippingAncestors2, clipperElement) && getNodeName(clippingAncestors2) !== "body");
20187
+ return clippingAncestors.filter((clippingAncestors2) => clipperElement && isElement(clippingAncestors2) && contains(clippingAncestors2, clipperElement) && getNodeName(clippingAncestors2) !== "body");
20110
20188
  }
20111
20189
  function getClippingRect(_ref) {
20112
20190
  let {
@@ -20164,13 +20242,12 @@ function autoUpdate(reference, floating, update2, options) {
20164
20242
  }
20165
20243
  const {
20166
20244
  ancestorScroll: _ancestorScroll = true,
20167
- ancestorResize: _ancestorResize = true,
20245
+ ancestorResize = true,
20168
20246
  elementResize = true,
20169
20247
  animationFrame = false
20170
20248
  } = options;
20171
20249
  const ancestorScroll = _ancestorScroll && !animationFrame;
20172
- const ancestorResize = _ancestorResize && !animationFrame;
20173
- const ancestors = ancestorScroll || ancestorResize ? [...isElement(reference) ? getOverflowAncestors(reference) : [], ...getOverflowAncestors(floating)] : [];
20250
+ const ancestors = ancestorScroll || ancestorResize ? [...isElement(reference) ? getOverflowAncestors(reference) : reference.contextElement ? getOverflowAncestors(reference.contextElement) : [], ...getOverflowAncestors(floating)] : [];
20174
20251
  ancestors.forEach((ancestor) => {
20175
20252
  ancestorScroll && ancestor.addEventListener("scroll", update2, {
20176
20253
  passive: true
@@ -20187,6 +20264,9 @@ function autoUpdate(reference, floating, update2, options) {
20187
20264
  initialUpdate = false;
20188
20265
  });
20189
20266
  isElement(reference) && !animationFrame && observer.observe(reference);
20267
+ if (!isElement(reference) && reference.contextElement && !animationFrame) {
20268
+ observer.observe(reference.contextElement);
20269
+ }
20190
20270
  observer.observe(floating);
20191
20271
  }
20192
20272
  let frameId;
@@ -20837,7 +20917,8 @@ const multiply = (m1, m2) => {
20837
20917
  const classPrefix$J = `adm-image-viewer`;
20838
20918
  const Slide = (props) => {
20839
20919
  const {
20840
- dragLockRef
20920
+ dragLockRef,
20921
+ maxZoom
20841
20922
  } = props;
20842
20923
  const controlRef = useRef(null);
20843
20924
  const imgRef = useRef(null);
@@ -20922,7 +21003,13 @@ const Slide = (props) => {
20922
21003
  const [d] = state.offset;
20923
21004
  if (d < 0)
20924
21005
  return;
20925
- const nextZoom = state.last ? bound(d, 1, props.maxZoom) : d;
21006
+ let mergedMaxZoom;
21007
+ if (maxZoom === "auto") {
21008
+ mergedMaxZoom = controlSize && imgSize ? Math.max(controlSize.height / imgSize.height, controlSize.width / imgSize.width) : 1;
21009
+ } else {
21010
+ mergedMaxZoom = maxZoom;
21011
+ }
21012
+ const nextZoom = state.last ? bound(d, 1, mergedMaxZoom) : d;
20926
21013
  (_a = props.onZoomChange) === null || _a === void 0 ? void 0 : _a.call(props, nextZoom);
20927
21014
  if (state.last && nextZoom <= 1) {
20928
21015
  api.start({
@@ -21240,12 +21327,13 @@ const PreviewItem = (props) => {
21240
21327
  onClick: props.onClick
21241
21328
  }), renderLoading(), renderDelete());
21242
21329
  };
21330
+ const PreviewItem$1 = PreviewItem;
21243
21331
  const space = "";
21244
21332
  const classPrefix$F = `adm-space`;
21245
21333
  const defaultProps$z = {
21246
21334
  direction: "horizontal"
21247
21335
  };
21248
- const Space = (p) => {
21336
+ const Space$1 = (p) => {
21249
21337
  const props = mergeProps(defaultProps$z, p);
21250
21338
  const {
21251
21339
  direction,
@@ -21266,6 +21354,7 @@ const Space = (p) => {
21266
21354
  }, child);
21267
21355
  })));
21268
21356
  };
21357
+ const Space = Space$1;
21269
21358
  const classPrefix$E = `adm-image-uploader`;
21270
21359
  const defaultProps$y = {
21271
21360
  disableUpload: false,
@@ -21279,7 +21368,7 @@ const defaultProps$y = {
21279
21368
  showFailed: true,
21280
21369
  imageFit: "cover"
21281
21370
  };
21282
- const ImageUploader = (p) => {
21371
+ const ImageUploader$1 = (p) => {
21283
21372
  const {
21284
21373
  locale
21285
21374
  } = useConfig();
@@ -21316,6 +21405,9 @@ const ImageUploader = (p) => {
21316
21405
  return transformedFile;
21317
21406
  });
21318
21407
  }
21408
+ function getFinalTasks(tasks2) {
21409
+ return props.showFailed ? tasks2 : tasks2.filter((task) => task.status !== "fail");
21410
+ }
21319
21411
  function onChange(e) {
21320
21412
  var _a;
21321
21413
  return __awaiter$1(this, void 0, void 0, function* () {
@@ -21350,7 +21442,7 @@ const ImageUploader = (p) => {
21350
21442
  status: "pending",
21351
21443
  file
21352
21444
  }));
21353
- setTasks((prev) => [...prev, ...newTasks]);
21445
+ setTasks((prev) => [...getFinalTasks(prev), ...newTasks]);
21354
21446
  yield Promise.all(newTasks.map((currentTask) => __awaiter$1(this, void 0, void 0, function* () {
21355
21447
  try {
21356
21448
  const result2 = yield props.upload(currentTask.file);
@@ -21399,11 +21491,12 @@ const ImageUploader = (p) => {
21399
21491
  var _a;
21400
21492
  (_a = imageViewerHandlerRef.current) === null || _a === void 0 ? void 0 : _a.close();
21401
21493
  });
21402
- const showUpload = props.showUpload && (maxCount === 0 || value.length + tasks.length < maxCount);
21494
+ const finalTasks = getFinalTasks(tasks);
21495
+ const showUpload = props.showUpload && (maxCount === 0 || value.length + finalTasks.length < maxCount);
21403
21496
  const renderImages = () => {
21404
21497
  return value.map((fileItem, index2) => {
21405
21498
  var _a, _b;
21406
- const originNode = React__default.createElement(PreviewItem, {
21499
+ const originNode = React__default.createElement(PreviewItem$1, {
21407
21500
  key: (_a = fileItem.key) !== null && _a !== void 0 ? _a : index2,
21408
21501
  url: (_b = fileItem.thumbnailUrl) !== null && _b !== void 0 ? _b : fileItem.url,
21409
21502
  deletable: props.deletable,
@@ -21431,18 +21524,15 @@ const ImageUploader = (p) => {
21431
21524
  className: `${classPrefix$E}-space`,
21432
21525
  wrap: true,
21433
21526
  block: true
21434
- }, renderImages(), tasks.map((task) => {
21435
- if (!props.showFailed && task.status === "fail") {
21436
- return null;
21437
- }
21438
- return React__default.createElement(PreviewItem, {
21527
+ }, renderImages(), finalTasks.map((task) => {
21528
+ return React__default.createElement(PreviewItem$1, {
21439
21529
  key: task.id,
21440
21530
  file: task.file,
21441
21531
  deletable: task.status !== "pending",
21442
21532
  status: task.status,
21443
21533
  imageFit: props.imageFit,
21444
21534
  onDelete: () => {
21445
- setTasks(tasks.filter((x) => x.id !== task.id));
21535
+ setTasks((prev) => prev.filter((x) => x.id !== task.id));
21446
21536
  }
21447
21537
  });
21448
21538
  }), showUpload && React__default.createElement("div", {
@@ -21464,6 +21554,7 @@ const ImageUploader = (p) => {
21464
21554
  })))));
21465
21555
  };
21466
21556
  const imageUploader = "";
21557
+ const ImageUploader = ImageUploader$1;
21467
21558
  const indexBar = "";
21468
21559
  const Panel = () => null;
21469
21560
  const classPrefix$D = `adm-index-bar`;
@@ -21645,7 +21736,7 @@ const defaultProps$w = {
21645
21736
  retry
21646
21737
  })
21647
21738
  };
21648
- const InfiniteScroll = (p) => {
21739
+ const InfiniteScroll$1 = (p) => {
21649
21740
  const props = mergeProps(defaultProps$w, p);
21650
21741
  const [failed, setFailed] = useState(false);
21651
21742
  const doLoadMore = useLockFn((isRetry) => __awaiter$1(void 0, void 0, void 0, function* () {
@@ -21735,15 +21826,16 @@ const InfiniteScrollContent = (props) => {
21735
21826
  }
21736
21827
  }, locale.InfiniteScroll.retry));
21737
21828
  }
21738
- return React__default.createElement(React__default.Fragment, null, React__default.createElement("span", null, locale.common.loading), React__default.createElement(DotLoading, null));
21829
+ return React__default.createElement(React__default.Fragment, null, React__default.createElement("span", null, locale.common.loading), React__default.createElement(DotLoading$1, null));
21739
21830
  };
21831
+ const InfiniteScroll = InfiniteScroll$1;
21740
21832
  const input = "";
21741
21833
  const classPrefix$A = `adm-input`;
21742
21834
  const defaultProps$v = {
21743
21835
  defaultValue: "",
21744
21836
  onlyShowClearWhenFocus: true
21745
21837
  };
21746
- const Input = forwardRef((p, ref) => {
21838
+ const Input$1 = forwardRef((p, ref) => {
21747
21839
  const props = mergeProps(defaultProps$v, p);
21748
21840
  const [value, setValue2] = usePropsValue(props);
21749
21841
  const [hasFocus, setHasFocus] = useState(false);
@@ -21874,6 +21966,7 @@ const Input = forwardRef((p, ref) => {
21874
21966
  "aria-label": locale.Input.clear
21875
21967
  }, React__default.createElement(CloseCircleFill, null))));
21876
21968
  });
21969
+ const Input = Input$1;
21877
21970
  const jumboTabs = "";
21878
21971
  const classPrefix$z = `adm-jumbo-tabs`;
21879
21972
  const JumboTab = () => {
@@ -21970,6 +22063,7 @@ const JumboTabs = (props) => {
21970
22063
  const index$8 = attachPropertiesToComponent(JumboTabs, {
21971
22064
  Tab: JumboTab
21972
22065
  });
22066
+ const DotLoading = DotLoading$2;
21973
22067
  const modal = "";
21974
22068
  const ModalActionButton = (props) => {
21975
22069
  const {
@@ -22140,7 +22234,7 @@ const classPrefix$y = `adm-nav-bar`;
22140
22234
  const defaultProps$s = {
22141
22235
  backArrow: true
22142
22236
  };
22143
- const NavBar = (p) => {
22237
+ const NavBar$1 = (p) => {
22144
22238
  const props = mergeProps(defaultProps$s, p);
22145
22239
  const {
22146
22240
  back,
@@ -22164,6 +22258,7 @@ const NavBar = (p) => {
22164
22258
  className: `${classPrefix$y}-right`
22165
22259
  }, props.right)));
22166
22260
  };
22261
+ const NavBar = NavBar$1;
22167
22262
  const noticeBar = "";
22168
22263
  const classPrefix$x = `adm-notice-bar`;
22169
22264
  const defaultProps$r = {
@@ -22172,7 +22267,7 @@ const defaultProps$r = {
22172
22267
  speed: 50,
22173
22268
  icon: React__default.createElement(SoundOutline, null)
22174
22269
  };
22175
- const NoticeBar = memo((p) => {
22270
+ const NoticeBar$1 = memo((p) => {
22176
22271
  const props = mergeProps(defaultProps$r, p);
22177
22272
  const containerRef = useRef(null);
22178
22273
  const textRef = useRef(null);
@@ -22250,6 +22345,7 @@ const NoticeBar = memo((p) => {
22250
22345
  className: `${classPrefix$x}-close-icon`
22251
22346
  })))));
22252
22347
  });
22348
+ const NoticeBar = NoticeBar$1;
22253
22349
  const numberKeyboard = "";
22254
22350
  function shuffle(array4) {
22255
22351
  const result2 = [...array4];
@@ -22270,7 +22366,7 @@ const defaultProps$q = {
22270
22366
  destroyOnClose: false,
22271
22367
  forceRender: false
22272
22368
  };
22273
- const NumberKeyboard = (p) => {
22369
+ const NumberKeyboard$1 = (p) => {
22274
22370
  const props = mergeProps(defaultProps$q, p);
22275
22371
  const {
22276
22372
  visible,
@@ -22425,13 +22521,14 @@ const NumberKeyboard = (p) => {
22425
22521
  position: "bottom"
22426
22522
  })))));
22427
22523
  };
22524
+ const NumberKeyboard = NumberKeyboard$1;
22428
22525
  const pageIndicator = "";
22429
22526
  const classPrefix$v = `adm-page-indicator`;
22430
22527
  const defaultProps$p = {
22431
22528
  color: "primary",
22432
22529
  direction: "horizontal"
22433
22530
  };
22434
- const PageIndicator = memo((p) => {
22531
+ const PageIndicator$1 = memo((p) => {
22435
22532
  const props = mergeProps(defaultProps$p, p);
22436
22533
  const dots = [];
22437
22534
  for (let i = 0; i < props.total; i++) {
@@ -22446,6 +22543,7 @@ const PageIndicator = memo((p) => {
22446
22543
  className: classNames(classPrefix$v, `${classPrefix$v}-${props.direction}`, `${classPrefix$v}-color-${props.color}`)
22447
22544
  }, dots));
22448
22545
  });
22546
+ const PageIndicator = PageIndicator$1;
22449
22547
  const passcodeInput = "";
22450
22548
  const classPrefix$u = "adm-passcode-input";
22451
22549
  const defaultProps$o = {
@@ -22456,7 +22554,7 @@ const defaultProps$o = {
22456
22554
  seperated: false,
22457
22555
  caret: true
22458
22556
  };
22459
- const PasscodeInput = forwardRef((p, ref) => {
22557
+ const PasscodeInput$1 = forwardRef((p, ref) => {
22460
22558
  const props = mergeProps(defaultProps$o, p);
22461
22559
  const cellLength = props.length > 0 && props.length < Infinity ? Math.floor(props.length) : defaultProps$o.length;
22462
22560
  const {
@@ -22570,6 +22668,7 @@ const PasscodeInput = forwardRef((p, ref) => {
22570
22668
  }
22571
22669
  }));
22572
22670
  });
22671
+ const PasscodeInput = PasscodeInput$1;
22573
22672
  const progressBar = "";
22574
22673
  const classPrefix$t = `adm-progress-bar`;
22575
22674
  const defaultProps$n = {
@@ -22577,7 +22676,7 @@ const defaultProps$n = {
22577
22676
  rounded: true,
22578
22677
  text: false
22579
22678
  };
22580
- const ProgressBar = (p) => {
22679
+ const ProgressBar$1 = (p) => {
22581
22680
  const props = mergeProps(defaultProps$n, p);
22582
22681
  const fillStyle = {
22583
22682
  width: `${props.percent}%`
@@ -22602,9 +22701,10 @@ const ProgressBar = (p) => {
22602
22701
  className: `${classPrefix$t}-text`
22603
22702
  }, textElement)));
22604
22703
  };
22704
+ const ProgressBar = ProgressBar$1;
22605
22705
  const progressCircle = "";
22606
22706
  const classPrefix$s = `adm-progress-circle`;
22607
- const ProgressCircle = (p) => {
22707
+ const ProgressCircle$1 = (p) => {
22608
22708
  const props = mergeProps({
22609
22709
  percent: 0
22610
22710
  }, p);
@@ -22628,6 +22728,7 @@ const ProgressCircle = (p) => {
22628
22728
  className: `${classPrefix$s}-info`
22629
22729
  }, props.children))));
22630
22730
  };
22731
+ const ProgressCircle = ProgressCircle$1;
22631
22732
  const pullToRefresh = "";
22632
22733
  const sleep = (time) => new Promise((resolve) => setTimeout(resolve, time));
22633
22734
  const classPrefix$r = `adm-pull-to-refresh`;
@@ -22641,7 +22742,7 @@ const defaultProps$m = {
22641
22742
  onRefresh: () => {
22642
22743
  }
22643
22744
  };
22644
- const PullToRefresh = (p) => {
22745
+ const PullToRefresh$1 = (p) => {
22645
22746
  var _a, _b;
22646
22747
  const {
22647
22748
  locale
@@ -22796,6 +22897,7 @@ const PullToRefresh = (p) => {
22796
22897
  className: `${classPrefix$r}-content`
22797
22898
  }, props.children));
22798
22899
  };
22900
+ const PullToRefresh = PullToRefresh$1;
22799
22901
  const radio = "";
22800
22902
  const RadioGroupContext = createContext(null);
22801
22903
  const defaultProps$l = {
@@ -22847,7 +22949,7 @@ const Radio = (p) => {
22847
22949
  value
22848
22950
  } = props;
22849
22951
  if (groupContext && value !== void 0) {
22850
- {
22952
+ if (isDev) {
22851
22953
  if (p.checked !== void 0) {
22852
22954
  devWarning("Radio", "When used within `Radio.Group`, the `checked` prop of `Radio` will not work.");
22853
22955
  }
@@ -22920,7 +23022,7 @@ const defaultProps$j = {
22920
23022
  readOnly: false,
22921
23023
  allowClear: true
22922
23024
  };
22923
- const Rate = (p) => {
23025
+ const Rate$1 = (p) => {
22924
23026
  const props = mergeProps(defaultProps$j, p);
22925
23027
  const [value, setValue2] = usePropsValue(props);
22926
23028
  const containerRef = useRef(null);
@@ -22977,6 +23079,7 @@ const Rate = (p) => {
22977
23079
  className: classNames(`${classPrefix$p}-box`)
22978
23080
  }, props.allowHalf && renderStar(i + 0.5, true), renderStar(i + 1, false)))));
22979
23081
  };
23082
+ const Rate = Rate$1;
22980
23083
  const result = "";
22981
23084
  const classPrefix$o = `adm-result`;
22982
23085
  const iconRecord$1 = {
@@ -22989,7 +23092,7 @@ const iconRecord$1 = {
22989
23092
  const defaultProps$i = {
22990
23093
  status: "info"
22991
23094
  };
22992
- const Result = (p) => {
23095
+ const Result$1 = (p) => {
22993
23096
  const props = mergeProps(defaultProps$i, p);
22994
23097
  const {
22995
23098
  status,
@@ -23010,6 +23113,7 @@ const Result = (p) => {
23010
23113
  className: `${classPrefix$o}-description`
23011
23114
  }, description) : null));
23012
23115
  };
23116
+ const Result = Result$1;
23013
23117
  const resultPage = "";
23014
23118
  const classPrefix$n = `adm-result-page`;
23015
23119
  const iconRecord = {
@@ -23106,7 +23210,7 @@ const defaultProps$g = {
23106
23210
  clearOnCancel: true,
23107
23211
  icon: React__default.createElement(SearchOutline, null)
23108
23212
  };
23109
- const SearchBar = forwardRef((p, ref) => {
23213
+ const SearchBar$1 = forwardRef((p, ref) => {
23110
23214
  const {
23111
23215
  locale
23112
23216
  } = useConfig();
@@ -23208,6 +23312,7 @@ const SearchBar = forwardRef((p, ref) => {
23208
23312
  }
23209
23313
  })), renderCancelButton()));
23210
23314
  });
23315
+ const SearchBar = SearchBar$1;
23211
23316
  const selector = "";
23212
23317
  const CheckMark = memo(() => {
23213
23318
  return React__default.createElement("svg", {
@@ -23243,7 +23348,7 @@ const defaultProps$f = {
23243
23348
  defaultValue: [],
23244
23349
  showCheckMark: true
23245
23350
  };
23246
- const Selector = (p) => {
23351
+ const Selector$1 = (p) => {
23247
23352
  const props = mergeProps(defaultProps$f, p);
23248
23353
  const [value, setValue2] = usePropsValue({
23249
23354
  value: props.value,
@@ -23295,6 +23400,7 @@ const Selector = (p) => {
23295
23400
  columns: props.columns
23296
23401
  }, items)));
23297
23402
  };
23403
+ const Selector = Selector$1;
23298
23404
  const sideBar = "";
23299
23405
  const Corner = memo((props) => withNativeProps(props, React__default.createElement("svg", {
23300
23406
  viewBox: "0 0 30 30"
@@ -23412,6 +23518,7 @@ const Ticks = ({
23412
23518
  className: `${classPrefix$i}-ticks`
23413
23519
  }, elements);
23414
23520
  };
23521
+ const Ticks$1 = Ticks;
23415
23522
  const classPrefix$h = `adm-slider-mark`;
23416
23523
  const Marks = ({
23417
23524
  marks,
@@ -23445,6 +23552,7 @@ const Marks = ({
23445
23552
  className: classPrefix$h
23446
23553
  }, elements);
23447
23554
  };
23555
+ const Marks$1 = Marks;
23448
23556
  const ThumbIcon = (props) => {
23449
23557
  return withNativeProps(props, React__default.createElement("svg", {
23450
23558
  viewBox: "0 0 24 24",
@@ -23528,7 +23636,7 @@ const Thumb = (props) => {
23528
23636
  "aria-valuemin": min2,
23529
23637
  "aria-valuenow": value,
23530
23638
  "aria-disabled": disabled
23531
- }), renderPopoverContent ? React__default.createElement(Popover$1, {
23639
+ }), renderPopoverContent ? React__default.createElement(Popover, {
23532
23640
  content: renderPopoverContent(value),
23533
23641
  placement: "top",
23534
23642
  visible: residentPopover || dragging,
@@ -23536,6 +23644,7 @@ const Thumb = (props) => {
23536
23644
  mode: "dark"
23537
23645
  }, thumbElement) : thumbElement);
23538
23646
  };
23647
+ const Thumb$1 = Thumb;
23539
23648
  var DP = 20, RM = 1, MAX_DP = 1e6, MAX_POWER = 1e6, NE = -7, PE = 21, STRICT = false, NAME = "[big.js] ", INVALID = NAME + "Invalid ", INVALID_DP = INVALID + "decimal places", INVALID_RM = INVALID + "rounding mode", DIV_BY_ZERO = NAME + "Division by zero", P = {}, UNDEFINED = void 0, NUMERIC = /^-?(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i;
23540
23649
  function _Big_() {
23541
23650
  function Big2(n) {
@@ -24055,7 +24164,7 @@ const defaultProps$e = {
24055
24164
  popover: false,
24056
24165
  residentPopover: false
24057
24166
  };
24058
- const Slider = (p) => {
24167
+ const Slider$1 = (p) => {
24059
24168
  var _a;
24060
24169
  const props = mergeProps(defaultProps$e, p);
24061
24170
  const {
@@ -24110,7 +24219,7 @@ const Slider = (p) => {
24110
24219
  return Object.keys(marks).map(parseFloat).sort((a, b) => a - b);
24111
24220
  } else {
24112
24221
  const points = [];
24113
- for (let i = Big(min2); i.lt(max2); i = i.plus(step)) {
24222
+ for (let i = Big(min2); i.lte(max2); i = i.plus(step)) {
24114
24223
  points.push(i.toNumber());
24115
24224
  }
24116
24225
  return points;
@@ -24156,7 +24265,7 @@ const Slider = (p) => {
24156
24265
  };
24157
24266
  const valueBeforeDragRef = useRef();
24158
24267
  const renderThumb = (index2) => {
24159
- return React__default.createElement(Thumb, {
24268
+ return React__default.createElement(Thumb$1, {
24160
24269
  key: index2,
24161
24270
  value: sliderValue[index2],
24162
24271
  min: min2,
@@ -24205,13 +24314,13 @@ const Slider = (p) => {
24205
24314
  width: fillSize,
24206
24315
  left: fillStart
24207
24316
  }
24208
- }), props.ticks && React__default.createElement(Ticks, {
24317
+ }), props.ticks && React__default.createElement(Ticks$1, {
24209
24318
  points: pointList,
24210
24319
  min: min2,
24211
24320
  max: max2,
24212
24321
  lowerBound: sliderValue[0],
24213
24322
  upperBound: sliderValue[1]
24214
- }), props.range && renderThumb(0), renderThumb(1))), marks && React__default.createElement(Marks, {
24323
+ }), props.range && renderThumb(0), renderThumb(1))), marks && React__default.createElement(Marks$1, {
24215
24324
  min: min2,
24216
24325
  max: max2,
24217
24326
  marks,
@@ -24219,6 +24328,7 @@ const Slider = (p) => {
24219
24328
  upperBound: sliderValue[1]
24220
24329
  })));
24221
24330
  };
24331
+ const Slider = Slider$1;
24222
24332
  const stepper = "";
24223
24333
  const classPrefix$e = `adm-stepper`;
24224
24334
  const defaultProps$d = {
@@ -24227,7 +24337,7 @@ const defaultProps$d = {
24227
24337
  disabled: false,
24228
24338
  allowEmpty: false
24229
24339
  };
24230
- const Stepper = (p) => {
24340
+ const Stepper$1 = (p) => {
24231
24341
  const props = mergeProps(defaultProps$d, p);
24232
24342
  const {
24233
24343
  disabled,
@@ -24361,6 +24471,7 @@ function convertTextToValue(text) {
24361
24471
  return null;
24362
24472
  return parseFloat(text);
24363
24473
  }
24474
+ const Stepper = Stepper$1;
24364
24475
  const steps = "";
24365
24476
  const classPrefix$d = `adm-step`;
24366
24477
  const Step = (props) => {
@@ -24433,7 +24544,7 @@ const defaultProps$b = {
24433
24544
  closeOnAction: true,
24434
24545
  stopPropagation: []
24435
24546
  };
24436
- const SwipeAction = forwardRef((p, ref) => {
24547
+ const SwipeAction$1 = forwardRef((p, ref) => {
24437
24548
  const props = mergeProps(defaultProps$b, p);
24438
24549
  const rootRef = useRef(null);
24439
24550
  const leftRef = useRef(null);
@@ -24623,6 +24734,7 @@ const colorRecord$1 = {
24623
24734
  warning: "var(--adm-color-warning)",
24624
24735
  danger: "var(--adm-color-danger)"
24625
24736
  };
24737
+ const SwipeAction = SwipeAction$1;
24626
24738
  const swiper = "";
24627
24739
  const SwiperItem = (props) => {
24628
24740
  return withNativeProps(props, React__default.createElement("div", {
@@ -24932,7 +25044,7 @@ const classPrefix$9 = `adm-switch`;
24932
25044
  const defaultProps$9 = {
24933
25045
  defaultChecked: false
24934
25046
  };
24935
- const Switch = (p) => {
25047
+ const Switch$1 = (p) => {
24936
25048
  const props = mergeProps(defaultProps$9, p);
24937
25049
  const disabled = props.disabled || props.loading || false;
24938
25050
  const [changing, setChanging] = useState(false);
@@ -24993,6 +25105,7 @@ const Switch = (p) => {
24993
25105
  className: `${classPrefix$9}-inner`
24994
25106
  }, checked ? props.checkedText : props.uncheckedText))));
24995
25107
  };
25108
+ const Switch = Switch$1;
24996
25109
  const tabBar = "";
24997
25110
  const TabBarItem = () => {
24998
25111
  return null;
@@ -25088,7 +25201,7 @@ const defaultProps$7 = {
25088
25201
  fill: "solid",
25089
25202
  round: false
25090
25203
  };
25091
- const Tag = (p) => {
25204
+ const Tag$1 = (p) => {
25092
25205
  var _a;
25093
25206
  const props = mergeProps(defaultProps$7, p);
25094
25207
  const color = (_a = colorRecord[props.color]) !== null && _a !== void 0 ? _a : props.color;
@@ -25105,6 +25218,7 @@ const Tag = (p) => {
25105
25218
  })
25106
25219
  }, props.children));
25107
25220
  };
25221
+ const Tag = Tag$1;
25108
25222
  const textArea = "";
25109
25223
  const classPrefix$6 = "adm-text-area";
25110
25224
  const defaultProps$6 = {
@@ -25113,7 +25227,7 @@ const defaultProps$6 = {
25113
25227
  autoSize: false,
25114
25228
  defaultValue: ""
25115
25229
  };
25116
- const TextArea = forwardRef((p, ref) => {
25230
+ const TextArea$1 = forwardRef((p, ref) => {
25117
25231
  const props = mergeProps(defaultProps$6, p);
25118
25232
  const {
25119
25233
  autoSize,
@@ -25213,7 +25327,8 @@ const TextArea = forwardRef((p, ref) => {
25213
25327
  onClick: props.onClick
25214
25328
  }), count));
25215
25329
  });
25216
- TextArea.defaultProps = defaultProps$6;
25330
+ TextArea$1.defaultProps = defaultProps$6;
25331
+ const TextArea = TextArea$1;
25217
25332
  const toast = "";
25218
25333
  const classPrefix$5 = `adm-toast`;
25219
25334
  const defaultProps$5 = {
@@ -25334,6 +25449,7 @@ const Toast = {
25334
25449
  clear,
25335
25450
  config
25336
25451
  };
25452
+ const Toast$1 = Toast;
25337
25453
  const treeSelect = "";
25338
25454
  function getTreeDeep(treeData, childrenName = "children") {
25339
25455
  const walker = (tree) => {
@@ -25685,7 +25801,7 @@ const classPrefix$2 = "adm-virtual-input";
25685
25801
  const defaultProps$2 = {
25686
25802
  defaultValue: ""
25687
25803
  };
25688
- const VirtualInput = forwardRef((p, ref) => {
25804
+ const VirtualInput$1 = forwardRef((p, ref) => {
25689
25805
  const props = mergeProps(defaultProps$2, p);
25690
25806
  const [value, setValue2] = usePropsValue(props);
25691
25807
  const rootRef = useRef(null);
@@ -25779,12 +25895,13 @@ const VirtualInput = forwardRef((p, ref) => {
25779
25895
  className: `${classPrefix$2}-placeholder`
25780
25896
  }, props.placeholder), keyboardElement));
25781
25897
  });
25898
+ const VirtualInput = VirtualInput$1;
25782
25899
  const waterMark = "";
25783
25900
  const classPrefix$1 = `adm-water-mark`;
25784
25901
  const defaultProps$1 = {
25785
25902
  fullPage: true
25786
25903
  };
25787
- const WaterMark = (p) => {
25904
+ const WaterMark$1 = (p) => {
25788
25905
  const props = mergeProps(defaultProps$1, p);
25789
25906
  const {
25790
25907
  zIndex = 2e3,
@@ -25854,6 +25971,7 @@ const WaterMark = (p) => {
25854
25971
  }
25855
25972
  }));
25856
25973
  };
25974
+ const WaterMark = WaterMark$1;
25857
25975
  const footer = "";
25858
25976
  const classPrefix = `adm-footer`;
25859
25977
  const defaultProps = {
@@ -25862,7 +25980,7 @@ const defaultProps = {
25862
25980
  content: "",
25863
25981
  chips: []
25864
25982
  };
25865
- const Footer = (p) => {
25983
+ const Footer$1 = (p) => {
25866
25984
  const props = mergeProps(defaultProps, p);
25867
25985
  const {
25868
25986
  label,
@@ -25887,7 +26005,7 @@ const Footer = (p) => {
25887
26005
  className: classNames(classPrefix)
25888
26006
  }, label && React__default.createElement("div", {
25889
26007
  className: `${classPrefix}-label`
25890
- }, React__default.createElement(Divider, null, label)), links && links.length > 0 && React__default.createElement("div", {
26008
+ }, React__default.createElement(Divider$1, null, label)), links && links.length > 0 && React__default.createElement("div", {
25891
26009
  className: `${classPrefix}-links`
25892
26010
  }, links.map((link, index2) => {
25893
26011
  return React__default.createElement(React__default.Fragment, {
@@ -25896,7 +26014,7 @@ const Footer = (p) => {
25896
26014
  href: link.href,
25897
26015
  rel: "noopener noreferrer",
25898
26016
  onClick: (event) => clickLinkItem(link, index2, event)
25899
- }, link.text), index2 !== links.length - 1 && React__default.createElement(Divider, {
26017
+ }, link.text), index2 !== links.length - 1 && React__default.createElement(Divider$1, {
25900
26018
  direction: "vertical"
25901
26019
  }));
25902
26020
  })), content && React__default.createElement("div", {
@@ -25913,6 +26031,7 @@ const Footer = (p) => {
25913
26031
  }, chip.text);
25914
26032
  }))));
25915
26033
  };
26034
+ const Footer = Footer$1;
25916
26035
  export {
25917
26036
  index$j as ActionSheet,
25918
26037
  AutoCenter,
@@ -25935,7 +26054,7 @@ export {
25935
26054
  DatePickerView,
25936
26055
  index$d as Dialog,
25937
26056
  Divider,
25938
- DotLoading,
26057
+ DotLoading$1 as DotLoading,
25939
26058
  index$c as Dropdown,
25940
26059
  Ellipsis,
25941
26060
  Empty,
@@ -25990,7 +26109,7 @@ export {
25990
26109
  Tabs,
25991
26110
  Tag,
25992
26111
  TextArea,
25993
- Toast,
26112
+ Toast$1 as Toast,
25994
26113
  index as TreeSelect,
25995
26114
  VirtualInput,
25996
26115
  WaterMark,