antd-mobile 5.33.1 → 5.33.2

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 (46) hide show
  1. package/2x/bundle/antd-mobile.cjs.development.js +1792 -1804
  2. package/2x/bundle/antd-mobile.cjs.js +9 -9
  3. package/2x/bundle/antd-mobile.es.development.js +971 -979
  4. package/2x/bundle/antd-mobile.es.js +4604 -4569
  5. package/2x/bundle/antd-mobile.umd.development.js +2143 -2155
  6. package/2x/bundle/antd-mobile.umd.js +9 -9
  7. package/2x/bundle/style.css +2 -2
  8. package/2x/cjs/components/dropdown/dropdown.js +3 -1
  9. package/2x/cjs/components/mask/mask.js +1 -0
  10. package/2x/cjs/components/number-keyboard/number-keyboard.js +10 -6
  11. package/2x/cjs/components/tabs/tabs.d.ts +6 -0
  12. package/2x/cjs/components/tabs/tabs.js +14 -12
  13. package/2x/cjs/components/virtual-input/virtual-input.js +1 -1
  14. package/2x/cjs/global/global.css +2 -2
  15. package/2x/es/components/dropdown/dropdown.js +3 -1
  16. package/2x/es/components/mask/mask.js +1 -0
  17. package/2x/es/components/number-keyboard/number-keyboard.js +10 -6
  18. package/2x/es/components/tabs/tabs.d.ts +6 -0
  19. package/2x/es/components/tabs/tabs.js +14 -12
  20. package/2x/es/components/virtual-input/virtual-input.js +1 -1
  21. package/2x/es/global/global.css +2 -2
  22. package/2x/package.json +1 -1
  23. package/bundle/antd-mobile.cjs.development.js +1792 -1804
  24. package/bundle/antd-mobile.cjs.js +9 -9
  25. package/bundle/antd-mobile.compatible.umd.js +1 -1
  26. package/bundle/antd-mobile.es.development.js +971 -979
  27. package/bundle/antd-mobile.es.js +4604 -4569
  28. package/bundle/antd-mobile.umd.development.js +2143 -2155
  29. package/bundle/antd-mobile.umd.js +9 -9
  30. package/bundle/style.css +1 -1
  31. package/cjs/components/dropdown/dropdown.js +3 -1
  32. package/cjs/components/mask/mask.js +1 -0
  33. package/cjs/components/number-keyboard/number-keyboard.js +10 -6
  34. package/cjs/components/tabs/tabs.d.ts +6 -0
  35. package/cjs/components/tabs/tabs.js +14 -12
  36. package/cjs/components/virtual-input/virtual-input.js +1 -1
  37. package/cjs/global/global.css +2 -2
  38. package/es/components/dropdown/dropdown.js +3 -1
  39. package/es/components/mask/mask.js +1 -0
  40. package/es/components/number-keyboard/number-keyboard.js +10 -6
  41. package/es/components/tabs/tabs.d.ts +6 -0
  42. package/es/components/tabs/tabs.js +14 -12
  43. package/es/components/virtual-input/virtual-input.js +1 -1
  44. package/es/global/global.css +2 -2
  45. package/package.json +1 -1
  46. package/umd/antd-mobile.js +1 -1
@@ -2,7 +2,6 @@ import * as React$4 from "react";
2
2
  import React__default, { useContext, useRef, useMemo, useEffect, useState as useState$1, useCallback, useLayoutEffect as useLayoutEffect$2, forwardRef, useImperativeHandle, memo, isValidElement, createContext, cloneElement } from "react";
3
3
  import * as ReactDOM from "react-dom";
4
4
  import { unstable_batchedUpdates, createPortal, findDOMNode } from "react-dom";
5
- const global$2 = "";
6
5
  const canUseDom$2 = !!(typeof window !== "undefined" && typeof document !== "undefined" && window.document && window.document.createElement);
7
6
  if (canUseDom$2) {
8
7
  document.addEventListener("touchstart", () => {
@@ -53,8 +52,8 @@ function __awaiter(thisArg, _arguments, P, generator) {
53
52
  reject(e2);
54
53
  }
55
54
  }
56
- function step(result2) {
57
- result2.done ? resolve(result2.value) : adopt(result2.value).then(fulfilled, rejected);
55
+ function step(result) {
56
+ result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);
58
57
  }
59
58
  step((generator = generator.apply(thisArg, _arguments || [])).next());
60
59
  });
@@ -190,13 +189,13 @@ function mergeLocale(base2, patch) {
190
189
  if (typeof a !== "object" || typeof b !== "object" || Array.isArray(a) || Array.isArray(b)) {
191
190
  return b !== void 0 ? b : a;
192
191
  }
193
- const result2 = {};
192
+ const result = {};
194
193
  for (const key in a) {
195
194
  if (a.hasOwnProperty(key)) {
196
- result2[key] = merge2(a[key], b[key]);
195
+ result[key] = merge2(a[key], b[key]);
197
196
  }
198
197
  }
199
- return result2;
198
+ return result;
200
199
  }
201
200
  return merge2(base2, patch);
202
201
  }
@@ -339,63 +338,63 @@ const base = {
339
338
  name: "Selector"
340
339
  }
341
340
  };
342
- const typeTemplate$1 = "${label}\u4E0D\u662F\u4E00\u4E2A\u6709\u6548\u7684${type}";
341
+ const typeTemplate$1 = "${label}不是一个有效的${type}";
343
342
  const zhCN = mergeLocale(base, {
344
343
  locale: "zh-CH",
345
344
  common: {
346
- confirm: "\u786E\u5B9A",
347
- cancel: "\u53D6\u6D88",
348
- loading: "\u52A0\u8F7D\u4E2D",
349
- close: "\u5173\u95ED"
345
+ confirm: "确定",
346
+ cancel: "取消",
347
+ loading: "加载中",
348
+ close: "关闭"
350
349
  },
351
350
  Calendar: {
352
- title: "\u65E5\u671F\u9009\u62E9",
353
- confirm: "\u786E\u8BA4",
354
- start: "\u5F00\u59CB",
355
- end: "\u7ED3\u675F",
356
- today: "\u4ECA\u65E5",
357
- markItems: ["\u4E00", "\u4E8C", "\u4E09", "\u56DB", "\u4E94", "\u516D", "\u65E5"],
358
- yearAndMonth: "${year}\u5E74${month}\u6708"
351
+ title: "日期选择",
352
+ confirm: "确认",
353
+ start: "开始",
354
+ end: "结束",
355
+ today: "今日",
356
+ markItems: ["", "", "", "", "", "", ""],
357
+ yearAndMonth: "${year}年${month}"
359
358
  },
360
359
  Cascader: {
361
- placeholder: "\u8BF7\u9009\u62E9"
360
+ placeholder: "请选择"
362
361
  },
363
362
  Dialog: {
364
- ok: "\u6211\u77E5\u9053\u4E86"
363
+ ok: "我知道了"
365
364
  },
366
365
  DatePicker: {
367
- tillNow: "\u81F3\u4ECA"
366
+ tillNow: "至今"
368
367
  },
369
368
  ErrorBlock: {
370
369
  default: {
371
- title: "\u9875\u9762\u9047\u5230\u4E00\u4E9B\u5C0F\u95EE\u9898",
372
- description: "\u5F85\u4F1A\u6765\u8BD5\u8BD5"
370
+ title: "页面遇到一些小问题",
371
+ description: "待会来试试"
373
372
  },
374
373
  busy: {
375
- title: "\u524D\u65B9\u62E5\u5835",
376
- description: "\u5237\u65B0\u8BD5\u8BD5"
374
+ title: "前方拥堵",
375
+ description: "刷新试试"
377
376
  },
378
377
  disconnected: {
379
- title: "\u7F51\u7EDC\u6709\u70B9\u5FD9",
380
- description: "\u52A8\u52A8\u624B\u6307\u5E2E\u5FD9\u4FEE\u590D"
378
+ title: "网络有点忙",
379
+ description: "动动手指帮忙修复"
381
380
  },
382
381
  empty: {
383
- title: "\u6CA1\u6709\u627E\u5230\u4F60\u9700\u8981\u7684\u4E1C\u897F",
384
- description: "\u627E\u627E\u5176\u4ED6\u7684\u5427"
382
+ title: "没有找到你需要的东西",
383
+ description: "找找其他的吧"
385
384
  }
386
385
  },
387
386
  Form: {
388
- required: "\u5FC5\u586B",
389
- optional: "\u9009\u586B",
387
+ required: "必填",
388
+ optional: "选填",
390
389
  defaultValidateMessages: {
391
- default: "\u5B57\u6BB5\u9A8C\u8BC1\u9519\u8BEF${label}",
392
- required: "\u8BF7\u8F93\u5165${label}",
393
- enum: "${label}\u5FC5\u987B\u662F\u5176\u4E2D\u4E00\u4E2A[${enum}]",
394
- whitespace: "${label}\u4E0D\u80FD\u4E3A\u7A7A\u5B57\u7B26",
390
+ default: "字段验证错误${label}",
391
+ required: "请输入${label}",
392
+ enum: "${label}必须是其中一个[${enum}]",
393
+ whitespace: "${label}不能为空字符",
395
394
  date: {
396
- format: "${label}\u65E5\u671F\u683C\u5F0F\u65E0\u6548",
397
- parse: "${label}\u4E0D\u80FD\u8F6C\u6362\u4E3A\u65E5\u671F",
398
- invalid: "${label}\u662F\u4E00\u4E2A\u65E0\u6548\u65E5\u671F"
395
+ format: "${label}日期格式无效",
396
+ parse: "${label}不能转换为日期",
397
+ invalid: "${label}是一个无效日期"
399
398
  },
400
399
  types: {
401
400
  string: typeTemplate$1,
@@ -413,69 +412,69 @@ const zhCN = mergeLocale(base, {
413
412
  hex: typeTemplate$1
414
413
  },
415
414
  string: {
416
- len: "${label}\u987B\u4E3A${len}\u4E2A\u5B57\u7B26",
417
- min: "${label}\u6700\u5C11${min}\u4E2A\u5B57\u7B26",
418
- max: "${label}\u6700\u591A${max}\u4E2A\u5B57\u7B26",
419
- range: "${label}\u987B\u5728${min}-${max}\u5B57\u7B26\u4E4B\u95F4"
415
+ len: "${label}须为${len}个字符",
416
+ min: "${label}最少${min}个字符",
417
+ max: "${label}最多${max}个字符",
418
+ range: "${label}须在${min}-${max}字符之间"
420
419
  },
421
420
  number: {
422
- len: "${label}\u5FC5\u987B\u7B49\u4E8E${len}",
423
- min: "${label}\u6700\u5C0F\u503C\u4E3A${min}",
424
- max: "${label}\u6700\u5927\u503C\u4E3A${max}",
425
- range: "${label}\u987B\u5728${min}-${max}\u4E4B\u95F4"
421
+ len: "${label}必须等于${len}",
422
+ min: "${label}最小值为${min}",
423
+ max: "${label}最大值为${max}",
424
+ range: "${label}须在${min}-${max}之间"
426
425
  },
427
426
  array: {
428
- len: "\u987B\u4E3A${len}\u4E2A${label}",
429
- min: "\u6700\u5C11${min}\u4E2A${label}",
430
- max: "\u6700\u591A${max}\u4E2A${label}",
431
- range: "${label}\u6570\u91CF\u987B\u5728${min}-${max}\u4E4B\u95F4"
427
+ len: "须为${len}个${label}",
428
+ min: "最少${min}个${label}",
429
+ max: "最多${max}个${label}",
430
+ range: "${label}数量须在${min}-${max}之间"
432
431
  },
433
432
  pattern: {
434
- mismatch: "${label}\u4E0E\u6A21\u5F0F\u4E0D\u5339\u914D${pattern}"
433
+ mismatch: "${label}与模式不匹配${pattern}"
435
434
  }
436
435
  }
437
436
  },
438
437
  ImageUploader: {
439
- uploading: "\u4E0A\u4F20\u4E2D...",
440
- upload: "\u4E0A\u4F20"
438
+ uploading: "上传中...",
439
+ upload: "上传"
441
440
  },
442
441
  InfiniteScroll: {
443
- noMore: "\u6CA1\u6709\u66F4\u591A\u4E86",
444
- failedToLoad: "\u52A0\u8F7D\u5931\u8D25",
445
- retry: "\u91CD\u65B0\u52A0\u8F7D"
442
+ noMore: "没有更多了",
443
+ failedToLoad: "加载失败",
444
+ retry: "重新加载"
446
445
  },
447
446
  Input: {
448
- clear: "\u6E05\u9664"
447
+ clear: "清除"
449
448
  },
450
449
  Mask: {
451
- name: "\u80CC\u666F\u8499\u5C42"
450
+ name: "背景蒙层"
452
451
  },
453
452
  Modal: {
454
- ok: "\u6211\u77E5\u9053\u4E86"
453
+ ok: "我知道了"
455
454
  },
456
455
  PasscodeInput: {
457
- name: "\u5BC6\u7801\u8F93\u5165\u6846"
456
+ name: "密码输入框"
458
457
  },
459
458
  PullToRefresh: {
460
- pulling: "\u4E0B\u62C9\u5237\u65B0",
461
- canRelease: "\u91CA\u653E\u7ACB\u5373\u5237\u65B0",
462
- complete: "\u5237\u65B0\u6210\u529F"
459
+ pulling: "下拉刷新",
460
+ canRelease: "释放立即刷新",
461
+ complete: "刷新成功"
463
462
  },
464
463
  SearchBar: {
465
- name: "\u641C\u7D22\u6846"
464
+ name: "搜索框"
466
465
  },
467
466
  Slider: {
468
- name: "\u6ED1\u52A8\u8F93\u5165\u6761"
467
+ name: "滑动输入条"
469
468
  },
470
469
  Stepper: {
471
- decrease: "\u51CF\u5C11",
472
- increase: "\u589E\u52A0"
470
+ decrease: "减少",
471
+ increase: "增加"
473
472
  },
474
473
  Switch: {
475
- name: "\u5F00\u5173"
474
+ name: "开关"
476
475
  },
477
476
  Selector: {
478
- name: "\u9009\u62E9\u7EC4"
477
+ name: "选择组"
479
478
  }
480
479
  });
481
480
  const zhCN$1 = zhCN;
@@ -491,7 +490,7 @@ function getDefaultConfig() {
491
490
  return defaultConfigRef.current;
492
491
  }
493
492
  const ConfigContext = React__default.createContext(null);
494
- const ConfigProvider$1 = (props) => {
493
+ const ConfigProvider = (props) => {
495
494
  const {
496
495
  children
497
496
  } = props, config2 = __rest(props, ["children"]);
@@ -504,8 +503,6 @@ function useConfig() {
504
503
  var _a;
505
504
  return (_a = useContext(ConfigContext)) !== null && _a !== void 0 ? _a : getDefaultConfig();
506
505
  }
507
- const ConfigProvider = ConfigProvider$1;
508
- const actionSheet = "";
509
506
  function attachPropertiesToComponent(component, properties) {
510
507
  const ret = component;
511
508
  for (const key in properties) {
@@ -516,6 +513,9 @@ function attachPropertiesToComponent(component, properties) {
516
513
  return ret;
517
514
  }
518
515
  var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof window !== "undefined" ? window : typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : {};
516
+ function getDefaultExportFromCjs(x) {
517
+ return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, "default") ? x["default"] : x;
518
+ }
519
519
  var classnames = { exports: {} };
520
520
  /*!
521
521
  Copyright (c) 2018 Jed Watson.
@@ -563,7 +563,8 @@ var classnames = { exports: {} };
563
563
  }
564
564
  })();
565
565
  })(classnames);
566
- const classNames = classnames.exports;
566
+ var classnamesExports = classnames.exports;
567
+ const classNames = /* @__PURE__ */ getDefaultExportFromCjs(classnamesExports);
567
568
  function withNativeProps(props, element) {
568
569
  const p = Object.assign({}, element.props);
569
570
  if (props.className) {
@@ -599,21 +600,21 @@ var hasOwnProperty$b = objectProto$e.hasOwnProperty;
599
600
  var nativeObjectToString$1 = objectProto$e.toString;
600
601
  var symToStringTag$1 = Symbol$3 ? Symbol$3.toStringTag : void 0;
601
602
  function getRawTag$1(value) {
602
- var isOwn = hasOwnProperty$b.call(value, symToStringTag$1), tag2 = value[symToStringTag$1];
603
+ var isOwn = hasOwnProperty$b.call(value, symToStringTag$1), tag = value[symToStringTag$1];
603
604
  try {
604
605
  value[symToStringTag$1] = void 0;
605
606
  var unmasked = true;
606
607
  } catch (e2) {
607
608
  }
608
- var result2 = nativeObjectToString$1.call(value);
609
+ var result = nativeObjectToString$1.call(value);
609
610
  if (unmasked) {
610
611
  if (isOwn) {
611
- value[symToStringTag$1] = tag2;
612
+ value[symToStringTag$1] = tag;
612
613
  } else {
613
614
  delete value[symToStringTag$1];
614
615
  }
615
616
  }
616
- return result2;
617
+ return result;
617
618
  }
618
619
  var _getRawTag = getRawTag$1;
619
620
  var objectProto$d = Object.prototype;
@@ -643,8 +644,8 @@ function isFunction$4(value) {
643
644
  if (!isObject$a(value)) {
644
645
  return false;
645
646
  }
646
- var tag2 = baseGetTag$5(value);
647
- return tag2 == funcTag$1 || tag2 == genTag || tag2 == asyncTag || tag2 == proxyTag;
647
+ var tag = baseGetTag$5(value);
648
+ return tag == funcTag$1 || tag == genTag || tag == asyncTag || tag == proxyTag;
648
649
  }
649
650
  var isFunction_1 = isFunction$4;
650
651
  var root$7 = _root;
@@ -890,11 +891,11 @@ function createAssigner$2(assigner) {
890
891
  }
891
892
  var _createAssigner = createAssigner$2;
892
893
  function baseTimes$1(n2, iteratee) {
893
- var index2 = -1, result2 = Array(n2);
894
+ var index2 = -1, result = Array(n2);
894
895
  while (++index2 < n2) {
895
- result2[index2] = iteratee(index2);
896
+ result[index2] = iteratee(index2);
896
897
  }
897
- return result2;
898
+ return result;
898
899
  }
899
900
  var _baseTimes = baseTimes$1;
900
901
  function isObjectLike$7(value) {
@@ -911,7 +912,7 @@ var baseIsArguments = _baseIsArguments, isObjectLike$5 = isObjectLike_1;
911
912
  var objectProto$a = Object.prototype;
912
913
  var hasOwnProperty$8 = objectProto$a.hasOwnProperty;
913
914
  var propertyIsEnumerable$1 = objectProto$a.propertyIsEnumerable;
914
- var isArguments$2 = baseIsArguments(function() {
915
+ var isArguments$2 = baseIsArguments(/* @__PURE__ */ function() {
915
916
  return arguments;
916
917
  }()) ? baseIsArguments : function(value) {
917
918
  return isObjectLike$5(value) && hasOwnProperty$8.call(value, "callee") && !propertyIsEnumerable$1.call(value, "callee");
@@ -924,6 +925,7 @@ function stubFalse() {
924
925
  return false;
925
926
  }
926
927
  var stubFalse_1 = stubFalse;
928
+ isBuffer$3.exports;
927
929
  (function(module, exports) {
928
930
  var root2 = _root, stubFalse2 = stubFalse_1;
929
931
  var freeExports = exports && !exports.nodeType && exports;
@@ -934,6 +936,7 @@ var stubFalse_1 = stubFalse;
934
936
  var isBuffer2 = nativeIsBuffer || stubFalse2;
935
937
  module.exports = isBuffer2;
936
938
  })(isBuffer$3, isBuffer$3.exports);
939
+ var isBufferExports = isBuffer$3.exports;
937
940
  var baseGetTag$3 = _baseGetTag, isLength = isLength_1, isObjectLike$4 = isObjectLike_1;
938
941
  var argsTag$1 = "[object Arguments]", arrayTag$1 = "[object Array]", boolTag$1 = "[object Boolean]", dateTag$1 = "[object Date]", errorTag$1 = "[object Error]", funcTag = "[object Function]", mapTag$2 = "[object Map]", numberTag$1 = "[object Number]", objectTag$3 = "[object Object]", regexpTag$1 = "[object RegExp]", setTag$2 = "[object Set]", stringTag$1 = "[object String]", weakMapTag$1 = "[object WeakMap]";
939
942
  var arrayBufferTag$1 = "[object ArrayBuffer]", dataViewTag$2 = "[object DataView]", float32Tag = "[object Float32Array]", float64Tag = "[object Float64Array]", int8Tag = "[object Int8Array]", int16Tag = "[object Int16Array]", int32Tag = "[object Int32Array]", uint8Tag = "[object Uint8Array]", uint8ClampedTag = "[object Uint8ClampedArray]", uint16Tag = "[object Uint16Array]", uint32Tag = "[object Uint32Array]";
@@ -951,6 +954,7 @@ function baseUnary$1(func) {
951
954
  }
952
955
  var _baseUnary = baseUnary$1;
953
956
  var _nodeUtil = { exports: {} };
957
+ _nodeUtil.exports;
954
958
  (function(module, exports) {
955
959
  var freeGlobal2 = _freeGlobal;
956
960
  var freeExports = exports && !exports.nodeType && exports;
@@ -969,21 +973,26 @@ var _nodeUtil = { exports: {} };
969
973
  }();
970
974
  module.exports = nodeUtil2;
971
975
  })(_nodeUtil, _nodeUtil.exports);
972
- var baseIsTypedArray = _baseIsTypedArray, baseUnary = _baseUnary, nodeUtil = _nodeUtil.exports;
976
+ var _nodeUtilExports = _nodeUtil.exports;
977
+ var baseIsTypedArray = _baseIsTypedArray, baseUnary = _baseUnary, nodeUtil = _nodeUtilExports;
973
978
  var nodeIsTypedArray = nodeUtil && nodeUtil.isTypedArray;
974
979
  var isTypedArray$3 = nodeIsTypedArray ? baseUnary(nodeIsTypedArray) : baseIsTypedArray;
975
980
  var isTypedArray_1 = isTypedArray$3;
976
- var baseTimes = _baseTimes, isArguments$1 = isArguments_1, isArray$3 = isArray_1, isBuffer$2 = isBuffer$3.exports, isIndex = _isIndex, isTypedArray$2 = isTypedArray_1;
981
+ var baseTimes = _baseTimes, isArguments$1 = isArguments_1, isArray$3 = isArray_1, isBuffer$2 = isBufferExports, isIndex = _isIndex, isTypedArray$2 = isTypedArray_1;
977
982
  var objectProto$9 = Object.prototype;
978
983
  var hasOwnProperty$7 = objectProto$9.hasOwnProperty;
979
984
  function arrayLikeKeys$2(value, inherited) {
980
- var isArr = isArray$3(value), isArg = !isArr && isArguments$1(value), isBuff = !isArr && !isArg && isBuffer$2(value), isType = !isArr && !isArg && !isBuff && isTypedArray$2(value), skipIndexes = isArr || isArg || isBuff || isType, result2 = skipIndexes ? baseTimes(value.length, String) : [], length = result2.length;
985
+ var isArr = isArray$3(value), isArg = !isArr && isArguments$1(value), isBuff = !isArr && !isArg && isBuffer$2(value), isType = !isArr && !isArg && !isBuff && isTypedArray$2(value), skipIndexes = isArr || isArg || isBuff || isType, result = skipIndexes ? baseTimes(value.length, String) : [], length = result.length;
981
986
  for (var key in value) {
982
- if ((inherited || hasOwnProperty$7.call(value, key)) && !(skipIndexes && (key == "length" || isBuff && (key == "offset" || key == "parent") || isType && (key == "buffer" || key == "byteLength" || key == "byteOffset") || isIndex(key, length)))) {
983
- result2.push(key);
987
+ if ((inherited || hasOwnProperty$7.call(value, key)) && !(skipIndexes && // Safari 9 has enumerable `arguments.length` in strict mode.
988
+ (key == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
989
+ isBuff && (key == "offset" || key == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
990
+ isType && (key == "buffer" || key == "byteLength" || key == "byteOffset") || // Skip index properties.
991
+ isIndex(key, length)))) {
992
+ result.push(key);
984
993
  }
985
994
  }
986
- return result2;
995
+ return result;
987
996
  }
988
997
  var _arrayLikeKeys = arrayLikeKeys$2;
989
998
  var objectProto$8 = Object.prototype;
@@ -1008,13 +1017,13 @@ function baseKeys$1(object4) {
1008
1017
  if (!isPrototype$2(object4)) {
1009
1018
  return nativeKeys(object4);
1010
1019
  }
1011
- var result2 = [];
1020
+ var result = [];
1012
1021
  for (var key in Object(object4)) {
1013
1022
  if (hasOwnProperty$6.call(object4, key) && key != "constructor") {
1014
- result2.push(key);
1023
+ result.push(key);
1015
1024
  }
1016
1025
  }
1017
- return result2;
1026
+ return result;
1018
1027
  }
1019
1028
  var _baseKeys = baseKeys$1;
1020
1029
  var arrayLikeKeys$1 = _arrayLikeKeys, baseKeys = _baseKeys, isArrayLike$2 = isArrayLike_1;
@@ -1027,17 +1036,17 @@ var assignWith = createAssigner$1(function(object4, source, srcIndex, customizer
1027
1036
  copyObject$1(source, keys$1(source), object4, customizer);
1028
1037
  });
1029
1038
  var assignWith_1 = assignWith;
1039
+ const assignWith$1 = /* @__PURE__ */ getDefaultExportFromCjs(assignWith_1);
1030
1040
  function mergeProps(...items) {
1031
1041
  function customizer(objValue, srcValue) {
1032
1042
  return srcValue === void 0 ? objValue : srcValue;
1033
1043
  }
1034
1044
  let ret = Object.assign({}, items[0]);
1035
1045
  for (let i2 = 1; i2 < items.length; i2++) {
1036
- ret = assignWith_1(ret, items[i2], customizer);
1046
+ ret = assignWith$1(ret, items[i2], customizer);
1037
1047
  }
1038
1048
  return ret;
1039
1049
  }
1040
- const popup = "";
1041
1050
  var createUpdateEffect = function(hook) {
1042
1051
  return function(effect, deps) {
1043
1052
  var isMounted = useRef(false);
@@ -1061,10 +1070,10 @@ var isFunction$1 = function(value) {
1061
1070
  var isNumber = function(value) {
1062
1071
  return typeof value === "number";
1063
1072
  };
1064
- var isDev$1 = true;
1065
- const isDev$2 = isDev$1;
1073
+ var isDev = true;
1074
+ const isDev$1 = isDev;
1066
1075
  function useMemoizedFn(fn) {
1067
- if (isDev$2) {
1076
+ if (isDev$1) {
1068
1077
  if (!isFunction$1(fn)) {
1069
1078
  console.error("useMemoizedFn expected parameter is a function, got ".concat(typeof fn));
1070
1079
  }
@@ -1101,7 +1110,7 @@ function useLatest(value) {
1101
1110
  return ref;
1102
1111
  }
1103
1112
  var useUnmount = function(fn) {
1104
- if (isDev$2) {
1113
+ if (isDev$1) {
1105
1114
  if (!isFunction$1(fn)) {
1106
1115
  console.error("useUnmount expected parameter is a function, got ".concat(typeof fn));
1107
1116
  }
@@ -1168,7 +1177,7 @@ var isObject$6 = isObject_1, now = now_1, toNumber = toNumber_1;
1168
1177
  var FUNC_ERROR_TEXT$2 = "Expected a function";
1169
1178
  var nativeMax = Math.max, nativeMin = Math.min;
1170
1179
  function debounce$1(func, wait, options) {
1171
- var lastArgs, lastThis, maxWait, result2, timerId, lastCallTime, lastInvokeTime = 0, leading = false, maxing = false, trailing = true;
1180
+ var lastArgs, lastThis, maxWait, result, timerId, lastCallTime, lastInvokeTime = 0, leading = false, maxing = false, trailing = true;
1172
1181
  if (typeof func != "function") {
1173
1182
  throw new TypeError(FUNC_ERROR_TEXT$2);
1174
1183
  }
@@ -1183,13 +1192,13 @@ function debounce$1(func, wait, options) {
1183
1192
  var args = lastArgs, thisArg = lastThis;
1184
1193
  lastArgs = lastThis = void 0;
1185
1194
  lastInvokeTime = time;
1186
- result2 = func.apply(thisArg, args);
1187
- return result2;
1195
+ result = func.apply(thisArg, args);
1196
+ return result;
1188
1197
  }
1189
1198
  function leadingEdge(time) {
1190
1199
  lastInvokeTime = time;
1191
1200
  timerId = setTimeout(timerExpired, wait);
1192
- return leading ? invokeFunc(time) : result2;
1201
+ return leading ? invokeFunc(time) : result;
1193
1202
  }
1194
1203
  function remainingWait(time) {
1195
1204
  var timeSinceLastCall = time - lastCallTime, timeSinceLastInvoke = time - lastInvokeTime, timeWaiting = wait - timeSinceLastCall;
@@ -1212,7 +1221,7 @@ function debounce$1(func, wait, options) {
1212
1221
  return invokeFunc(time);
1213
1222
  }
1214
1223
  lastArgs = lastThis = void 0;
1215
- return result2;
1224
+ return result;
1216
1225
  }
1217
1226
  function cancel() {
1218
1227
  if (timerId !== void 0) {
@@ -1222,7 +1231,7 @@ function debounce$1(func, wait, options) {
1222
1231
  lastArgs = lastCallTime = lastThis = timerId = void 0;
1223
1232
  }
1224
1233
  function flush2() {
1225
- return timerId === void 0 ? result2 : trailingEdge(now());
1234
+ return timerId === void 0 ? result : trailingEdge(now());
1226
1235
  }
1227
1236
  function debounced() {
1228
1237
  var time = now(), isInvoking = shouldInvoke(time);
@@ -1242,13 +1251,14 @@ function debounce$1(func, wait, options) {
1242
1251
  if (timerId === void 0) {
1243
1252
  timerId = setTimeout(timerExpired, wait);
1244
1253
  }
1245
- return result2;
1254
+ return result;
1246
1255
  }
1247
1256
  debounced.cancel = cancel;
1248
1257
  debounced.flush = flush2;
1249
1258
  return debounced;
1250
1259
  }
1251
1260
  var debounce_1 = debounce$1;
1261
+ const debounce$2 = /* @__PURE__ */ getDefaultExportFromCjs(debounce_1);
1252
1262
  var isBrowser$2 = !!(typeof window !== "undefined" && window.document && window.document.createElement);
1253
1263
  const isBrowser$3 = isBrowser$2;
1254
1264
  var debounce = debounce_1, isObject$5 = isObject_1;
@@ -1269,8 +1279,9 @@ function throttle$1(func, wait, options) {
1269
1279
  });
1270
1280
  }
1271
1281
  var throttle_1 = throttle$1;
1282
+ const throttle$2 = /* @__PURE__ */ getDefaultExportFromCjs(throttle_1);
1272
1283
  var useMount = function(fn) {
1273
- if (isDev$2) {
1284
+ if (isDev$1) {
1274
1285
  if (!isFunction$1(fn)) {
1275
1286
  console.error('useMount: parameter `fn` expected to be a function, but got "'.concat(typeof fn, '".'));
1276
1287
  }
@@ -1457,9 +1468,9 @@ var dayjs_min = { exports: {} };
1457
1468
  this.$d = function(t3) {
1458
1469
  var e3 = t3.date, n3 = t3.utc;
1459
1470
  if (null === e3)
1460
- return new Date(NaN);
1471
+ return /* @__PURE__ */ new Date(NaN);
1461
1472
  if (O.u(e3))
1462
- return new Date();
1473
+ return /* @__PURE__ */ new Date();
1463
1474
  if (e3 instanceof Date)
1464
1475
  return new Date(e3);
1465
1476
  if ("string" == typeof e3 && !/Z$/i.test(e3)) {
@@ -1685,10 +1696,11 @@ var dayjs_min = { exports: {} };
1685
1696
  }, w.en = D[g], w.Ls = D, w.p = {}, w;
1686
1697
  });
1687
1698
  })(dayjs_min);
1688
- const dayjs = dayjs_min.exports;
1699
+ var dayjs_minExports = dayjs_min.exports;
1700
+ const dayjs = /* @__PURE__ */ getDefaultExportFromCjs(dayjs_minExports);
1689
1701
  function useDebounceFn(fn, options) {
1690
1702
  var _a;
1691
- if (isDev$2) {
1703
+ if (isDev$1) {
1692
1704
  if (!isFunction$1(fn)) {
1693
1705
  console.error("useDebounceFn expected parameter is a function, got ".concat(typeof fn));
1694
1706
  }
@@ -1696,7 +1708,7 @@ function useDebounceFn(fn, options) {
1696
1708
  var fnRef = useLatest(fn);
1697
1709
  var wait = (_a = options === null || options === void 0 ? void 0 : options.wait) !== null && _a !== void 0 ? _a : 1e3;
1698
1710
  var debounced = useMemo(function() {
1699
- return debounce_1(function() {
1711
+ return debounce$2(function() {
1700
1712
  var args = [];
1701
1713
  for (var _i = 0; _i < arguments.length; _i++) {
1702
1714
  args[_i] = arguments[_i];
@@ -1802,9 +1814,9 @@ function stackClear$1() {
1802
1814
  }
1803
1815
  var _stackClear = stackClear$1;
1804
1816
  function stackDelete$1(key) {
1805
- var data = this.__data__, result2 = data["delete"](key);
1817
+ var data = this.__data__, result = data["delete"](key);
1806
1818
  this.size = data.size;
1807
- return result2;
1819
+ return result;
1808
1820
  }
1809
1821
  var _stackDelete = stackDelete$1;
1810
1822
  function stackGet$1(key) {
@@ -1828,9 +1840,9 @@ function hashClear$1() {
1828
1840
  }
1829
1841
  var _hashClear = hashClear$1;
1830
1842
  function hashDelete$1(key) {
1831
- var result2 = this.has(key) && delete this.__data__[key];
1832
- this.size -= result2 ? 1 : 0;
1833
- return result2;
1843
+ var result = this.has(key) && delete this.__data__[key];
1844
+ this.size -= result ? 1 : 0;
1845
+ return result;
1834
1846
  }
1835
1847
  var _hashDelete = hashDelete$1;
1836
1848
  var nativeCreate$2 = _nativeCreate;
@@ -1840,8 +1852,8 @@ var hasOwnProperty$5 = objectProto$6.hasOwnProperty;
1840
1852
  function hashGet$1(key) {
1841
1853
  var data = this.__data__;
1842
1854
  if (nativeCreate$2) {
1843
- var result2 = data[key];
1844
- return result2 === HASH_UNDEFINED$2 ? void 0 : result2;
1855
+ var result = data[key];
1856
+ return result === HASH_UNDEFINED$2 ? void 0 : result;
1845
1857
  }
1846
1858
  return hasOwnProperty$5.call(data, key) ? data[key] : void 0;
1847
1859
  }
@@ -1901,9 +1913,9 @@ function getMapData$4(map, key) {
1901
1913
  var _getMapData = getMapData$4;
1902
1914
  var getMapData$3 = _getMapData;
1903
1915
  function mapCacheDelete$1(key) {
1904
- var result2 = getMapData$3(this, key)["delete"](key);
1905
- this.size -= result2 ? 1 : 0;
1906
- return result2;
1916
+ var result = getMapData$3(this, key)["delete"](key);
1917
+ this.size -= result ? 1 : 0;
1918
+ return result;
1907
1919
  }
1908
1920
  var _mapCacheDelete = mapCacheDelete$1;
1909
1921
  var getMapData$2 = _getMapData;
@@ -2015,7 +2027,7 @@ function equalArrays$2(array4, other, bitmask, customizer, equalFunc, stack) {
2015
2027
  if (arrStacked && othStacked) {
2016
2028
  return arrStacked == other && othStacked == array4;
2017
2029
  }
2018
- var index2 = -1, result2 = true, seen = bitmask & COMPARE_UNORDERED_FLAG$1 ? new SetCache() : void 0;
2030
+ var index2 = -1, result = true, seen = bitmask & COMPARE_UNORDERED_FLAG$1 ? new SetCache() : void 0;
2019
2031
  stack.set(array4, other);
2020
2032
  stack.set(other, array4);
2021
2033
  while (++index2 < arrLength) {
@@ -2027,7 +2039,7 @@ function equalArrays$2(array4, other, bitmask, customizer, equalFunc, stack) {
2027
2039
  if (compared) {
2028
2040
  continue;
2029
2041
  }
2030
- result2 = false;
2042
+ result = false;
2031
2043
  break;
2032
2044
  }
2033
2045
  if (seen) {
@@ -2036,36 +2048,36 @@ function equalArrays$2(array4, other, bitmask, customizer, equalFunc, stack) {
2036
2048
  return seen.push(othIndex);
2037
2049
  }
2038
2050
  })) {
2039
- result2 = false;
2051
+ result = false;
2040
2052
  break;
2041
2053
  }
2042
2054
  } else if (!(arrValue === othValue || equalFunc(arrValue, othValue, bitmask, customizer, stack))) {
2043
- result2 = false;
2055
+ result = false;
2044
2056
  break;
2045
2057
  }
2046
2058
  }
2047
2059
  stack["delete"](array4);
2048
2060
  stack["delete"](other);
2049
- return result2;
2061
+ return result;
2050
2062
  }
2051
2063
  var _equalArrays = equalArrays$2;
2052
2064
  var root$4 = _root;
2053
2065
  var Uint8Array$2 = root$4.Uint8Array;
2054
2066
  var _Uint8Array = Uint8Array$2;
2055
2067
  function mapToArray$1(map) {
2056
- var index2 = -1, result2 = Array(map.size);
2068
+ var index2 = -1, result = Array(map.size);
2057
2069
  map.forEach(function(value, key) {
2058
- result2[++index2] = [key, value];
2070
+ result[++index2] = [key, value];
2059
2071
  });
2060
- return result2;
2072
+ return result;
2061
2073
  }
2062
2074
  var _mapToArray = mapToArray$1;
2063
2075
  function setToArray$1(set2) {
2064
- var index2 = -1, result2 = Array(set2.size);
2076
+ var index2 = -1, result = Array(set2.size);
2065
2077
  set2.forEach(function(value) {
2066
- result2[++index2] = value;
2078
+ result[++index2] = value;
2067
2079
  });
2068
- return result2;
2080
+ return result;
2069
2081
  }
2070
2082
  var _setToArray = setToArray$1;
2071
2083
  var Symbol$1 = _Symbol, Uint8Array$1 = _Uint8Array, eq$1 = eq_1, equalArrays$1 = _equalArrays, mapToArray = _mapToArray, setToArray = _setToArray;
@@ -2073,8 +2085,8 @@ var COMPARE_PARTIAL_FLAG$2 = 1, COMPARE_UNORDERED_FLAG = 2;
2073
2085
  var boolTag = "[object Boolean]", dateTag = "[object Date]", errorTag = "[object Error]", mapTag$1 = "[object Map]", numberTag = "[object Number]", regexpTag = "[object RegExp]", setTag$1 = "[object Set]", stringTag = "[object String]", symbolTag = "[object Symbol]";
2074
2086
  var arrayBufferTag = "[object ArrayBuffer]", dataViewTag$1 = "[object DataView]";
2075
2087
  var symbolProto = Symbol$1 ? Symbol$1.prototype : void 0, symbolValueOf = symbolProto ? symbolProto.valueOf : void 0;
2076
- function equalByTag$1(object4, other, tag2, bitmask, customizer, equalFunc, stack) {
2077
- switch (tag2) {
2088
+ function equalByTag$1(object4, other, tag, bitmask, customizer, equalFunc, stack) {
2089
+ switch (tag) {
2078
2090
  case dataViewTag$1:
2079
2091
  if (object4.byteLength != other.byteLength || object4.byteOffset != other.byteOffset) {
2080
2092
  return false;
@@ -2109,9 +2121,9 @@ function equalByTag$1(object4, other, tag2, bitmask, customizer, equalFunc, stac
2109
2121
  }
2110
2122
  bitmask |= COMPARE_UNORDERED_FLAG;
2111
2123
  stack.set(object4, other);
2112
- var result2 = equalArrays$1(convert(object4), convert(other), bitmask, customizer, equalFunc, stack);
2124
+ var result = equalArrays$1(convert(object4), convert(other), bitmask, customizer, equalFunc, stack);
2113
2125
  stack["delete"](object4);
2114
- return result2;
2126
+ return result;
2115
2127
  case symbolTag:
2116
2128
  if (symbolValueOf) {
2117
2129
  return symbolValueOf.call(object4) == symbolValueOf.call(other);
@@ -2130,19 +2142,19 @@ function arrayPush$1(array4, values) {
2130
2142
  var _arrayPush = arrayPush$1;
2131
2143
  var arrayPush = _arrayPush, isArray$2 = isArray_1;
2132
2144
  function baseGetAllKeys$1(object4, keysFunc, symbolsFunc) {
2133
- var result2 = keysFunc(object4);
2134
- return isArray$2(object4) ? result2 : arrayPush(result2, symbolsFunc(object4));
2145
+ var result = keysFunc(object4);
2146
+ return isArray$2(object4) ? result : arrayPush(result, symbolsFunc(object4));
2135
2147
  }
2136
2148
  var _baseGetAllKeys = baseGetAllKeys$1;
2137
2149
  function arrayFilter$1(array4, predicate) {
2138
- var index2 = -1, length = array4 == null ? 0 : array4.length, resIndex = 0, result2 = [];
2150
+ var index2 = -1, length = array4 == null ? 0 : array4.length, resIndex = 0, result = [];
2139
2151
  while (++index2 < length) {
2140
2152
  var value = array4[index2];
2141
2153
  if (predicate(value, index2, array4)) {
2142
- result2[resIndex++] = value;
2154
+ result[resIndex++] = value;
2143
2155
  }
2144
2156
  }
2145
- return result2;
2157
+ return result;
2146
2158
  }
2147
2159
  var _arrayFilter = arrayFilter$1;
2148
2160
  function stubArray$1() {
@@ -2189,7 +2201,7 @@ function equalObjects$1(object4, other, bitmask, customizer, equalFunc, stack) {
2189
2201
  if (objStacked && othStacked) {
2190
2202
  return objStacked == other && othStacked == object4;
2191
2203
  }
2192
- var result2 = true;
2204
+ var result = true;
2193
2205
  stack.set(object4, other);
2194
2206
  stack.set(other, object4);
2195
2207
  var skipCtor = isPartial;
@@ -2200,20 +2212,20 @@ function equalObjects$1(object4, other, bitmask, customizer, equalFunc, stack) {
2200
2212
  var compared = isPartial ? customizer(othValue, objValue, key, other, object4, stack) : customizer(objValue, othValue, key, object4, other, stack);
2201
2213
  }
2202
2214
  if (!(compared === void 0 ? objValue === othValue || equalFunc(objValue, othValue, bitmask, customizer, stack) : compared)) {
2203
- result2 = false;
2215
+ result = false;
2204
2216
  break;
2205
2217
  }
2206
2218
  skipCtor || (skipCtor = key == "constructor");
2207
2219
  }
2208
- if (result2 && !skipCtor) {
2220
+ if (result && !skipCtor) {
2209
2221
  var objCtor = object4.constructor, othCtor = other.constructor;
2210
2222
  if (objCtor != othCtor && ("constructor" in object4 && "constructor" in other) && !(typeof objCtor == "function" && objCtor instanceof objCtor && typeof othCtor == "function" && othCtor instanceof othCtor)) {
2211
- result2 = false;
2223
+ result = false;
2212
2224
  }
2213
2225
  }
2214
2226
  stack["delete"](object4);
2215
2227
  stack["delete"](other);
2216
- return result2;
2228
+ return result;
2217
2229
  }
2218
2230
  var _equalObjects = equalObjects$1;
2219
2231
  var getNative$3 = _getNative, root$3 = _root;
@@ -2235,7 +2247,7 @@ var dataViewCtorString = toSource(DataView), mapCtorString = toSource(Map$1), pr
2235
2247
  var getTag$1 = baseGetTag$1;
2236
2248
  if (DataView && getTag$1(new DataView(new ArrayBuffer(1))) != dataViewTag || Map$1 && getTag$1(new Map$1()) != mapTag || Promise$1 && getTag$1(Promise$1.resolve()) != promiseTag || Set$1 && getTag$1(new Set$1()) != setTag || WeakMap$1 && getTag$1(new WeakMap$1()) != weakMapTag) {
2237
2249
  getTag$1 = function(value) {
2238
- var result2 = baseGetTag$1(value), Ctor = result2 == objectTag$2 ? value.constructor : void 0, ctorString = Ctor ? toSource(Ctor) : "";
2250
+ var result = baseGetTag$1(value), Ctor = result == objectTag$2 ? value.constructor : void 0, ctorString = Ctor ? toSource(Ctor) : "";
2239
2251
  if (ctorString) {
2240
2252
  switch (ctorString) {
2241
2253
  case dataViewCtorString:
@@ -2250,11 +2262,11 @@ if (DataView && getTag$1(new DataView(new ArrayBuffer(1))) != dataViewTag || Map
2250
2262
  return weakMapTag;
2251
2263
  }
2252
2264
  }
2253
- return result2;
2265
+ return result;
2254
2266
  };
2255
2267
  }
2256
2268
  var _getTag = getTag$1;
2257
- var Stack$1 = _Stack, equalArrays = _equalArrays, equalByTag = _equalByTag, equalObjects = _equalObjects, getTag = _getTag, isArray$1 = isArray_1, isBuffer$1 = isBuffer$3.exports, isTypedArray$1 = isTypedArray_1;
2269
+ var Stack$1 = _Stack, equalArrays = _equalArrays, equalByTag = _equalByTag, equalObjects = _equalObjects, getTag = _getTag, isArray$1 = isArray_1, isBuffer$1 = isBufferExports, isTypedArray$1 = isTypedArray_1;
2258
2270
  var COMPARE_PARTIAL_FLAG = 1;
2259
2271
  var argsTag = "[object Arguments]", arrayTag = "[object Array]", objectTag$1 = "[object Object]";
2260
2272
  var objectProto$2 = Object.prototype;
@@ -2306,6 +2318,7 @@ function isEqual$1(value, other) {
2306
2318
  return baseIsEqual(value, other);
2307
2319
  }
2308
2320
  var isEqual_1 = isEqual$1;
2321
+ const isEqual$2 = /* @__PURE__ */ getDefaultExportFromCjs(isEqual_1);
2309
2322
  function useGetState(initialState) {
2310
2323
  var _a = __read(useState$1(initialState), 2), state = _a[0], setState = _a[1];
2311
2324
  var stateRef = useRef(state);
@@ -2616,7 +2629,8 @@ function useGetState(initialState) {
2616
2629
  var parentComputedStyle = parent.nodeType == 1 ? window.getComputedStyle(parent) : {};
2617
2630
  if (parentComputedStyle.display == "none")
2618
2631
  return null;
2619
- if (parent == this.root || parent.nodeType == 9) {
2632
+ if (parent == this.root || parent.nodeType == /* DOCUMENT */
2633
+ 9) {
2620
2634
  atRoot = true;
2621
2635
  if (parent == this.root || parent == document2) {
2622
2636
  if (crossOriginUpdater && !this.root) {
@@ -2831,7 +2845,8 @@ function useGetState(initialState) {
2831
2845
  }
2832
2846
  function getParentNode2(node) {
2833
2847
  var parent = node.parentNode;
2834
- if (node.nodeType == 9 && node != document2) {
2848
+ if (node.nodeType == /* DOCUMENT */
2849
+ 9 && node != document2) {
2835
2850
  return getFrameElement(node);
2836
2851
  }
2837
2852
  if (parent && parent.assignedSlot) {
@@ -2903,7 +2918,10 @@ function useLockFn(fn) {
2903
2918
  switch (_a.label) {
2904
2919
  case 0:
2905
2920
  if (lockRef.current)
2906
- return [2];
2921
+ return [
2922
+ 2
2923
+ /*return*/
2924
+ ];
2907
2925
  lockRef.current = true;
2908
2926
  _a.label = 1;
2909
2927
  case 1:
@@ -2918,7 +2936,10 @@ function useLockFn(fn) {
2918
2936
  lockRef.current = false;
2919
2937
  throw e_1;
2920
2938
  case 4:
2921
- return [2];
2939
+ return [
2940
+ 2
2941
+ /*return*/
2942
+ ];
2922
2943
  }
2923
2944
  });
2924
2945
  });
@@ -2975,64 +2996,70 @@ var MapShim = function() {
2975
2996
  return Map;
2976
2997
  }
2977
2998
  function getIndex(arr, key) {
2978
- var result2 = -1;
2999
+ var result = -1;
2979
3000
  arr.some(function(entry, index2) {
2980
3001
  if (entry[0] === key) {
2981
- result2 = index2;
3002
+ result = index2;
2982
3003
  return true;
2983
3004
  }
2984
3005
  return false;
2985
3006
  });
2986
- return result2;
3007
+ return result;
2987
3008
  }
2988
- return function() {
2989
- function class_1() {
2990
- this.__entries__ = [];
2991
- }
2992
- Object.defineProperty(class_1.prototype, "size", {
2993
- get: function() {
2994
- return this.__entries__.length;
2995
- },
2996
- enumerable: true,
2997
- configurable: true
2998
- });
2999
- class_1.prototype.get = function(key) {
3000
- var index2 = getIndex(this.__entries__, key);
3001
- var entry = this.__entries__[index2];
3002
- return entry && entry[1];
3003
- };
3004
- class_1.prototype.set = function(key, value) {
3005
- var index2 = getIndex(this.__entries__, key);
3006
- if (~index2) {
3007
- this.__entries__[index2][1] = value;
3008
- } else {
3009
- this.__entries__.push([key, value]);
3010
- }
3011
- };
3012
- class_1.prototype.delete = function(key) {
3013
- var entries = this.__entries__;
3014
- var index2 = getIndex(entries, key);
3015
- if (~index2) {
3016
- entries.splice(index2, 1);
3017
- }
3018
- };
3019
- class_1.prototype.has = function(key) {
3020
- return !!~getIndex(this.__entries__, key);
3021
- };
3022
- class_1.prototype.clear = function() {
3023
- this.__entries__.splice(0);
3024
- };
3025
- class_1.prototype.forEach = function(callback, ctx2) {
3026
- if (ctx2 === void 0) {
3027
- ctx2 = null;
3028
- }
3029
- for (var _i = 0, _a = this.__entries__; _i < _a.length; _i++) {
3030
- var entry = _a[_i];
3031
- callback.call(ctx2, entry[1], entry[0]);
3032
- }
3033
- };
3034
- return class_1;
3035
- }();
3009
+ return (
3010
+ /** @class */
3011
+ function() {
3012
+ function class_1() {
3013
+ this.__entries__ = [];
3014
+ }
3015
+ Object.defineProperty(class_1.prototype, "size", {
3016
+ /**
3017
+ * @returns {boolean}
3018
+ */
3019
+ get: function() {
3020
+ return this.__entries__.length;
3021
+ },
3022
+ enumerable: true,
3023
+ configurable: true
3024
+ });
3025
+ class_1.prototype.get = function(key) {
3026
+ var index2 = getIndex(this.__entries__, key);
3027
+ var entry = this.__entries__[index2];
3028
+ return entry && entry[1];
3029
+ };
3030
+ class_1.prototype.set = function(key, value) {
3031
+ var index2 = getIndex(this.__entries__, key);
3032
+ if (~index2) {
3033
+ this.__entries__[index2][1] = value;
3034
+ } else {
3035
+ this.__entries__.push([key, value]);
3036
+ }
3037
+ };
3038
+ class_1.prototype.delete = function(key) {
3039
+ var entries = this.__entries__;
3040
+ var index2 = getIndex(entries, key);
3041
+ if (~index2) {
3042
+ entries.splice(index2, 1);
3043
+ }
3044
+ };
3045
+ class_1.prototype.has = function(key) {
3046
+ return !!~getIndex(this.__entries__, key);
3047
+ };
3048
+ class_1.prototype.clear = function() {
3049
+ this.__entries__.splice(0);
3050
+ };
3051
+ class_1.prototype.forEach = function(callback, ctx2) {
3052
+ if (ctx2 === void 0) {
3053
+ ctx2 = null;
3054
+ }
3055
+ for (var _i = 0, _a = this.__entries__; _i < _a.length; _i++) {
3056
+ var entry = _a[_i];
3057
+ callback.call(ctx2, entry[1], entry[0]);
3058
+ }
3059
+ };
3060
+ return class_1;
3061
+ }()
3062
+ );
3036
3063
  }();
3037
3064
  var isBrowser$1 = typeof window !== "undefined" && typeof document !== "undefined" && window.document === document;
3038
3065
  var global$1 = function() {
@@ -3091,102 +3118,105 @@ function throttle(callback, delay) {
3091
3118
  var REFRESH_DELAY = 20;
3092
3119
  var transitionKeys = ["top", "right", "bottom", "left", "width", "height", "size", "weight"];
3093
3120
  var mutationObserverSupported = typeof MutationObserver !== "undefined";
3094
- var ResizeObserverController = function() {
3095
- function ResizeObserverController2() {
3096
- this.connected_ = false;
3097
- this.mutationEventsAdded_ = false;
3098
- this.mutationsObserver_ = null;
3099
- this.observers_ = [];
3100
- this.onTransitionEnd_ = this.onTransitionEnd_.bind(this);
3101
- this.refresh = throttle(this.refresh.bind(this), REFRESH_DELAY);
3102
- }
3103
- ResizeObserverController2.prototype.addObserver = function(observer) {
3104
- if (!~this.observers_.indexOf(observer)) {
3105
- this.observers_.push(observer);
3106
- }
3107
- if (!this.connected_) {
3108
- this.connect_();
3109
- }
3110
- };
3111
- ResizeObserverController2.prototype.removeObserver = function(observer) {
3112
- var observers2 = this.observers_;
3113
- var index2 = observers2.indexOf(observer);
3114
- if (~index2) {
3115
- observers2.splice(index2, 1);
3116
- }
3117
- if (!observers2.length && this.connected_) {
3118
- this.disconnect_();
3119
- }
3120
- };
3121
- ResizeObserverController2.prototype.refresh = function() {
3122
- var changesDetected = this.updateObservers_();
3123
- if (changesDetected) {
3124
- this.refresh();
3125
- }
3126
- };
3127
- ResizeObserverController2.prototype.updateObservers_ = function() {
3128
- var activeObservers = this.observers_.filter(function(observer) {
3129
- return observer.gatherActive(), observer.hasActive();
3130
- });
3131
- activeObservers.forEach(function(observer) {
3132
- return observer.broadcastActive();
3133
- });
3134
- return activeObservers.length > 0;
3135
- };
3136
- ResizeObserverController2.prototype.connect_ = function() {
3137
- if (!isBrowser$1 || this.connected_) {
3138
- return;
3139
- }
3140
- document.addEventListener("transitionend", this.onTransitionEnd_);
3141
- window.addEventListener("resize", this.refresh);
3142
- if (mutationObserverSupported) {
3143
- this.mutationsObserver_ = new MutationObserver(this.refresh);
3144
- this.mutationsObserver_.observe(document, {
3145
- attributes: true,
3146
- childList: true,
3147
- characterData: true,
3148
- subtree: true
3121
+ var ResizeObserverController = (
3122
+ /** @class */
3123
+ function() {
3124
+ function ResizeObserverController2() {
3125
+ this.connected_ = false;
3126
+ this.mutationEventsAdded_ = false;
3127
+ this.mutationsObserver_ = null;
3128
+ this.observers_ = [];
3129
+ this.onTransitionEnd_ = this.onTransitionEnd_.bind(this);
3130
+ this.refresh = throttle(this.refresh.bind(this), REFRESH_DELAY);
3131
+ }
3132
+ ResizeObserverController2.prototype.addObserver = function(observer) {
3133
+ if (!~this.observers_.indexOf(observer)) {
3134
+ this.observers_.push(observer);
3135
+ }
3136
+ if (!this.connected_) {
3137
+ this.connect_();
3138
+ }
3139
+ };
3140
+ ResizeObserverController2.prototype.removeObserver = function(observer) {
3141
+ var observers2 = this.observers_;
3142
+ var index2 = observers2.indexOf(observer);
3143
+ if (~index2) {
3144
+ observers2.splice(index2, 1);
3145
+ }
3146
+ if (!observers2.length && this.connected_) {
3147
+ this.disconnect_();
3148
+ }
3149
+ };
3150
+ ResizeObserverController2.prototype.refresh = function() {
3151
+ var changesDetected = this.updateObservers_();
3152
+ if (changesDetected) {
3153
+ this.refresh();
3154
+ }
3155
+ };
3156
+ ResizeObserverController2.prototype.updateObservers_ = function() {
3157
+ var activeObservers = this.observers_.filter(function(observer) {
3158
+ return observer.gatherActive(), observer.hasActive();
3149
3159
  });
3150
- } else {
3151
- document.addEventListener("DOMSubtreeModified", this.refresh);
3152
- this.mutationEventsAdded_ = true;
3153
- }
3154
- this.connected_ = true;
3155
- };
3156
- ResizeObserverController2.prototype.disconnect_ = function() {
3157
- if (!isBrowser$1 || !this.connected_) {
3158
- return;
3159
- }
3160
- document.removeEventListener("transitionend", this.onTransitionEnd_);
3161
- window.removeEventListener("resize", this.refresh);
3162
- if (this.mutationsObserver_) {
3163
- this.mutationsObserver_.disconnect();
3164
- }
3165
- if (this.mutationEventsAdded_) {
3166
- document.removeEventListener("DOMSubtreeModified", this.refresh);
3167
- }
3168
- this.mutationsObserver_ = null;
3169
- this.mutationEventsAdded_ = false;
3170
- this.connected_ = false;
3171
- };
3172
- ResizeObserverController2.prototype.onTransitionEnd_ = function(_a) {
3173
- var _b = _a.propertyName, propertyName = _b === void 0 ? "" : _b;
3174
- var isReflowProperty = transitionKeys.some(function(key) {
3175
- return !!~propertyName.indexOf(key);
3176
- });
3177
- if (isReflowProperty) {
3178
- this.refresh();
3179
- }
3180
- };
3181
- ResizeObserverController2.getInstance = function() {
3182
- if (!this.instance_) {
3183
- this.instance_ = new ResizeObserverController2();
3184
- }
3185
- return this.instance_;
3186
- };
3187
- ResizeObserverController2.instance_ = null;
3188
- return ResizeObserverController2;
3189
- }();
3160
+ activeObservers.forEach(function(observer) {
3161
+ return observer.broadcastActive();
3162
+ });
3163
+ return activeObservers.length > 0;
3164
+ };
3165
+ ResizeObserverController2.prototype.connect_ = function() {
3166
+ if (!isBrowser$1 || this.connected_) {
3167
+ return;
3168
+ }
3169
+ document.addEventListener("transitionend", this.onTransitionEnd_);
3170
+ window.addEventListener("resize", this.refresh);
3171
+ if (mutationObserverSupported) {
3172
+ this.mutationsObserver_ = new MutationObserver(this.refresh);
3173
+ this.mutationsObserver_.observe(document, {
3174
+ attributes: true,
3175
+ childList: true,
3176
+ characterData: true,
3177
+ subtree: true
3178
+ });
3179
+ } else {
3180
+ document.addEventListener("DOMSubtreeModified", this.refresh);
3181
+ this.mutationEventsAdded_ = true;
3182
+ }
3183
+ this.connected_ = true;
3184
+ };
3185
+ ResizeObserverController2.prototype.disconnect_ = function() {
3186
+ if (!isBrowser$1 || !this.connected_) {
3187
+ return;
3188
+ }
3189
+ document.removeEventListener("transitionend", this.onTransitionEnd_);
3190
+ window.removeEventListener("resize", this.refresh);
3191
+ if (this.mutationsObserver_) {
3192
+ this.mutationsObserver_.disconnect();
3193
+ }
3194
+ if (this.mutationEventsAdded_) {
3195
+ document.removeEventListener("DOMSubtreeModified", this.refresh);
3196
+ }
3197
+ this.mutationsObserver_ = null;
3198
+ this.mutationEventsAdded_ = false;
3199
+ this.connected_ = false;
3200
+ };
3201
+ ResizeObserverController2.prototype.onTransitionEnd_ = function(_a) {
3202
+ var _b = _a.propertyName, propertyName = _b === void 0 ? "" : _b;
3203
+ var isReflowProperty = transitionKeys.some(function(key) {
3204
+ return !!~propertyName.indexOf(key);
3205
+ });
3206
+ if (isReflowProperty) {
3207
+ this.refresh();
3208
+ }
3209
+ };
3210
+ ResizeObserverController2.getInstance = function() {
3211
+ if (!this.instance_) {
3212
+ this.instance_ = new ResizeObserverController2();
3213
+ }
3214
+ return this.instance_;
3215
+ };
3216
+ ResizeObserverController2.instance_ = null;
3217
+ return ResizeObserverController2;
3218
+ }()
3219
+ );
3190
3220
  var defineConfigurable = function(target, props) {
3191
3221
  for (var _i = 0, _a = Object.keys(props); _i < _a.length; _i++) {
3192
3222
  var key = _a[_i];
@@ -3302,129 +3332,141 @@ function createReadOnlyRect(_a) {
3302
3332
  function createRectInit(x, y, width, height) {
3303
3333
  return { x, y, width, height };
3304
3334
  }
3305
- var ResizeObservation = function() {
3306
- function ResizeObservation2(target) {
3307
- this.broadcastWidth = 0;
3308
- this.broadcastHeight = 0;
3309
- this.contentRect_ = createRectInit(0, 0, 0, 0);
3310
- this.target = target;
3311
- }
3312
- ResizeObservation2.prototype.isActive = function() {
3313
- var rect = getContentRect(this.target);
3314
- this.contentRect_ = rect;
3315
- return rect.width !== this.broadcastWidth || rect.height !== this.broadcastHeight;
3316
- };
3317
- ResizeObservation2.prototype.broadcastRect = function() {
3318
- var rect = this.contentRect_;
3319
- this.broadcastWidth = rect.width;
3320
- this.broadcastHeight = rect.height;
3321
- return rect;
3322
- };
3323
- return ResizeObservation2;
3324
- }();
3325
- var ResizeObserverEntry = function() {
3326
- function ResizeObserverEntry2(target, rectInit) {
3327
- var contentRect = createReadOnlyRect(rectInit);
3328
- defineConfigurable(this, { target, contentRect });
3329
- }
3330
- return ResizeObserverEntry2;
3331
- }();
3332
- var ResizeObserverSPI = function() {
3333
- function ResizeObserverSPI2(callback, controller, callbackCtx) {
3334
- this.activeObservations_ = [];
3335
- this.observations_ = new MapShim();
3336
- if (typeof callback !== "function") {
3337
- throw new TypeError("The callback provided as parameter 1 is not a function.");
3338
- }
3339
- this.callback_ = callback;
3340
- this.controller_ = controller;
3341
- this.callbackCtx_ = callbackCtx;
3342
- }
3343
- ResizeObserverSPI2.prototype.observe = function(target) {
3344
- if (!arguments.length) {
3345
- throw new TypeError("1 argument required, but only 0 present.");
3346
- }
3347
- if (typeof Element === "undefined" || !(Element instanceof Object)) {
3348
- return;
3349
- }
3350
- if (!(target instanceof getWindowOf(target).Element)) {
3351
- throw new TypeError('parameter 1 is not of type "Element".');
3352
- }
3353
- var observations = this.observations_;
3354
- if (observations.has(target)) {
3355
- return;
3356
- }
3357
- observations.set(target, new ResizeObservation(target));
3358
- this.controller_.addObserver(this);
3359
- this.controller_.refresh();
3360
- };
3361
- ResizeObserverSPI2.prototype.unobserve = function(target) {
3362
- if (!arguments.length) {
3363
- throw new TypeError("1 argument required, but only 0 present.");
3364
- }
3365
- if (typeof Element === "undefined" || !(Element instanceof Object)) {
3366
- return;
3367
- }
3368
- if (!(target instanceof getWindowOf(target).Element)) {
3369
- throw new TypeError('parameter 1 is not of type "Element".');
3370
- }
3371
- var observations = this.observations_;
3372
- if (!observations.has(target)) {
3373
- return;
3374
- }
3375
- observations.delete(target);
3376
- if (!observations.size) {
3335
+ var ResizeObservation = (
3336
+ /** @class */
3337
+ function() {
3338
+ function ResizeObservation2(target) {
3339
+ this.broadcastWidth = 0;
3340
+ this.broadcastHeight = 0;
3341
+ this.contentRect_ = createRectInit(0, 0, 0, 0);
3342
+ this.target = target;
3343
+ }
3344
+ ResizeObservation2.prototype.isActive = function() {
3345
+ var rect = getContentRect(this.target);
3346
+ this.contentRect_ = rect;
3347
+ return rect.width !== this.broadcastWidth || rect.height !== this.broadcastHeight;
3348
+ };
3349
+ ResizeObservation2.prototype.broadcastRect = function() {
3350
+ var rect = this.contentRect_;
3351
+ this.broadcastWidth = rect.width;
3352
+ this.broadcastHeight = rect.height;
3353
+ return rect;
3354
+ };
3355
+ return ResizeObservation2;
3356
+ }()
3357
+ );
3358
+ var ResizeObserverEntry = (
3359
+ /** @class */
3360
+ /* @__PURE__ */ function() {
3361
+ function ResizeObserverEntry2(target, rectInit) {
3362
+ var contentRect = createReadOnlyRect(rectInit);
3363
+ defineConfigurable(this, { target, contentRect });
3364
+ }
3365
+ return ResizeObserverEntry2;
3366
+ }()
3367
+ );
3368
+ var ResizeObserverSPI = (
3369
+ /** @class */
3370
+ function() {
3371
+ function ResizeObserverSPI2(callback, controller, callbackCtx) {
3372
+ this.activeObservations_ = [];
3373
+ this.observations_ = new MapShim();
3374
+ if (typeof callback !== "function") {
3375
+ throw new TypeError("The callback provided as parameter 1 is not a function.");
3376
+ }
3377
+ this.callback_ = callback;
3378
+ this.controller_ = controller;
3379
+ this.callbackCtx_ = callbackCtx;
3380
+ }
3381
+ ResizeObserverSPI2.prototype.observe = function(target) {
3382
+ if (!arguments.length) {
3383
+ throw new TypeError("1 argument required, but only 0 present.");
3384
+ }
3385
+ if (typeof Element === "undefined" || !(Element instanceof Object)) {
3386
+ return;
3387
+ }
3388
+ if (!(target instanceof getWindowOf(target).Element)) {
3389
+ throw new TypeError('parameter 1 is not of type "Element".');
3390
+ }
3391
+ var observations = this.observations_;
3392
+ if (observations.has(target)) {
3393
+ return;
3394
+ }
3395
+ observations.set(target, new ResizeObservation(target));
3396
+ this.controller_.addObserver(this);
3397
+ this.controller_.refresh();
3398
+ };
3399
+ ResizeObserverSPI2.prototype.unobserve = function(target) {
3400
+ if (!arguments.length) {
3401
+ throw new TypeError("1 argument required, but only 0 present.");
3402
+ }
3403
+ if (typeof Element === "undefined" || !(Element instanceof Object)) {
3404
+ return;
3405
+ }
3406
+ if (!(target instanceof getWindowOf(target).Element)) {
3407
+ throw new TypeError('parameter 1 is not of type "Element".');
3408
+ }
3409
+ var observations = this.observations_;
3410
+ if (!observations.has(target)) {
3411
+ return;
3412
+ }
3413
+ observations.delete(target);
3414
+ if (!observations.size) {
3415
+ this.controller_.removeObserver(this);
3416
+ }
3417
+ };
3418
+ ResizeObserverSPI2.prototype.disconnect = function() {
3419
+ this.clearActive();
3420
+ this.observations_.clear();
3377
3421
  this.controller_.removeObserver(this);
3378
- }
3379
- };
3380
- ResizeObserverSPI2.prototype.disconnect = function() {
3381
- this.clearActive();
3382
- this.observations_.clear();
3383
- this.controller_.removeObserver(this);
3384
- };
3385
- ResizeObserverSPI2.prototype.gatherActive = function() {
3386
- var _this = this;
3387
- this.clearActive();
3388
- this.observations_.forEach(function(observation) {
3389
- if (observation.isActive()) {
3390
- _this.activeObservations_.push(observation);
3422
+ };
3423
+ ResizeObserverSPI2.prototype.gatherActive = function() {
3424
+ var _this = this;
3425
+ this.clearActive();
3426
+ this.observations_.forEach(function(observation) {
3427
+ if (observation.isActive()) {
3428
+ _this.activeObservations_.push(observation);
3429
+ }
3430
+ });
3431
+ };
3432
+ ResizeObserverSPI2.prototype.broadcastActive = function() {
3433
+ if (!this.hasActive()) {
3434
+ return;
3391
3435
  }
3392
- });
3393
- };
3394
- ResizeObserverSPI2.prototype.broadcastActive = function() {
3395
- if (!this.hasActive()) {
3396
- return;
3397
- }
3398
- var ctx2 = this.callbackCtx_;
3399
- var entries = this.activeObservations_.map(function(observation) {
3400
- return new ResizeObserverEntry(observation.target, observation.broadcastRect());
3401
- });
3402
- this.callback_.call(ctx2, entries, ctx2);
3403
- this.clearActive();
3404
- };
3405
- ResizeObserverSPI2.prototype.clearActive = function() {
3406
- this.activeObservations_.splice(0);
3407
- };
3408
- ResizeObserverSPI2.prototype.hasActive = function() {
3409
- return this.activeObservations_.length > 0;
3410
- };
3411
- return ResizeObserverSPI2;
3412
- }();
3436
+ var ctx2 = this.callbackCtx_;
3437
+ var entries = this.activeObservations_.map(function(observation) {
3438
+ return new ResizeObserverEntry(observation.target, observation.broadcastRect());
3439
+ });
3440
+ this.callback_.call(ctx2, entries, ctx2);
3441
+ this.clearActive();
3442
+ };
3443
+ ResizeObserverSPI2.prototype.clearActive = function() {
3444
+ this.activeObservations_.splice(0);
3445
+ };
3446
+ ResizeObserverSPI2.prototype.hasActive = function() {
3447
+ return this.activeObservations_.length > 0;
3448
+ };
3449
+ return ResizeObserverSPI2;
3450
+ }()
3451
+ );
3413
3452
  var observers = typeof WeakMap !== "undefined" ? /* @__PURE__ */ new WeakMap() : new MapShim();
3414
- var ResizeObserver$1 = function() {
3415
- function ResizeObserver2(callback) {
3416
- if (!(this instanceof ResizeObserver2)) {
3417
- throw new TypeError("Cannot call a class as a function.");
3418
- }
3419
- if (!arguments.length) {
3420
- throw new TypeError("1 argument required, but only 0 present.");
3421
- }
3422
- var controller = ResizeObserverController.getInstance();
3423
- var observer = new ResizeObserverSPI(callback, controller, this);
3424
- observers.set(this, observer);
3425
- }
3426
- return ResizeObserver2;
3427
- }();
3453
+ var ResizeObserver$1 = (
3454
+ /** @class */
3455
+ /* @__PURE__ */ function() {
3456
+ function ResizeObserver2(callback) {
3457
+ if (!(this instanceof ResizeObserver2)) {
3458
+ throw new TypeError("Cannot call a class as a function.");
3459
+ }
3460
+ if (!arguments.length) {
3461
+ throw new TypeError("1 argument required, but only 0 present.");
3462
+ }
3463
+ var controller = ResizeObserverController.getInstance();
3464
+ var observer = new ResizeObserverSPI(callback, controller, this);
3465
+ observers.set(this, observer);
3466
+ }
3467
+ return ResizeObserver2;
3468
+ }()
3469
+ );
3428
3470
  [
3429
3471
  "observe",
3430
3472
  "unobserve",
@@ -3435,7 +3477,7 @@ var ResizeObserver$1 = function() {
3435
3477
  return (_a = observers.get(this))[method4].apply(_a, arguments);
3436
3478
  };
3437
3479
  });
3438
- var index$k = function() {
3480
+ var index$j = function() {
3439
3481
  if (typeof global$1.ResizeObserver !== "undefined") {
3440
3482
  return global$1.ResizeObserver;
3441
3483
  }
@@ -3458,7 +3500,7 @@ function useSize(target) {
3458
3500
  if (!el) {
3459
3501
  return;
3460
3502
  }
3461
- var resizeObserver = new index$k(function(entries) {
3503
+ var resizeObserver = new index$j(function(entries) {
3462
3504
  entries.forEach(function(entry) {
3463
3505
  var _a2 = entry.target, clientWidth = _a2.clientWidth, clientHeight = _a2.clientHeight;
3464
3506
  setState({
@@ -3476,7 +3518,7 @@ function useSize(target) {
3476
3518
  }
3477
3519
  function useThrottleFn(fn, options) {
3478
3520
  var _a;
3479
- if (isDev$2) {
3521
+ if (isDev$1) {
3480
3522
  if (!isFunction$1(fn)) {
3481
3523
  console.error("useThrottleFn expected parameter is a function, got ".concat(typeof fn));
3482
3524
  }
@@ -3484,7 +3526,7 @@ function useThrottleFn(fn, options) {
3484
3526
  var fnRef = useLatest(fn);
3485
3527
  var wait = (_a = options === null || options === void 0 ? void 0 : options.wait) !== null && _a !== void 0 ? _a : 1e3;
3486
3528
  var throttled = useMemo(function() {
3487
- return throttle_1(function() {
3529
+ return throttle$2(function() {
3488
3530
  var args = [];
3489
3531
  for (var _i = 0; _i < arguments.length; _i++) {
3490
3532
  args[_i] = arguments[_i];
@@ -3519,7 +3561,6 @@ var useTimeout = function(fn, delay) {
3519
3561
  return clear2;
3520
3562
  };
3521
3563
  const useTimeout$1 = useTimeout;
3522
- const mask = "";
3523
3564
  const MIN_DISTANCE = 10;
3524
3565
  function getDirection(x, y) {
3525
3566
  if (x > y && x > MIN_DISTANCE) {
@@ -4254,10 +4295,10 @@ function parsePercentage(str) {
4254
4295
  return 1;
4255
4296
  return int / 100;
4256
4297
  }
4257
- function colorToRgba(input2) {
4258
- let int32Color = normalizeColor(input2);
4298
+ function colorToRgba(input) {
4299
+ let int32Color = normalizeColor(input);
4259
4300
  if (int32Color === null)
4260
- return input2;
4301
+ return input;
4261
4302
  int32Color = int32Color || 0;
4262
4303
  let r = (int32Color & 4278190080) >>> 24;
4263
4304
  let g = (int32Color & 16711680) >>> 16;
@@ -4285,51 +4326,51 @@ const createInterpolator = (range3, output, extrapolate) => {
4285
4326
  const extrapolateLeft = config2.extrapolateLeft || config2.extrapolate || "extend";
4286
4327
  const extrapolateRight = config2.extrapolateRight || config2.extrapolate || "extend";
4287
4328
  const easing = config2.easing || ((t) => t);
4288
- return (input2) => {
4289
- const range4 = findRange(input2, inputRange);
4290
- return interpolate(input2, inputRange[range4], inputRange[range4 + 1], outputRange[range4], outputRange[range4 + 1], easing, extrapolateLeft, extrapolateRight, config2.map);
4329
+ return (input) => {
4330
+ const range4 = findRange(input, inputRange);
4331
+ return interpolate(input, inputRange[range4], inputRange[range4 + 1], outputRange[range4], outputRange[range4 + 1], easing, extrapolateLeft, extrapolateRight, config2.map);
4291
4332
  };
4292
4333
  };
4293
- function interpolate(input2, inputMin, inputMax, outputMin, outputMax, easing, extrapolateLeft, extrapolateRight, map) {
4294
- let result2 = map ? map(input2) : input2;
4295
- if (result2 < inputMin) {
4334
+ function interpolate(input, inputMin, inputMax, outputMin, outputMax, easing, extrapolateLeft, extrapolateRight, map) {
4335
+ let result = map ? map(input) : input;
4336
+ if (result < inputMin) {
4296
4337
  if (extrapolateLeft === "identity")
4297
- return result2;
4338
+ return result;
4298
4339
  else if (extrapolateLeft === "clamp")
4299
- result2 = inputMin;
4340
+ result = inputMin;
4300
4341
  }
4301
- if (result2 > inputMax) {
4342
+ if (result > inputMax) {
4302
4343
  if (extrapolateRight === "identity")
4303
- return result2;
4344
+ return result;
4304
4345
  else if (extrapolateRight === "clamp")
4305
- result2 = inputMax;
4346
+ result = inputMax;
4306
4347
  }
4307
4348
  if (outputMin === outputMax)
4308
4349
  return outputMin;
4309
4350
  if (inputMin === inputMax)
4310
- return input2 <= inputMin ? outputMin : outputMax;
4351
+ return input <= inputMin ? outputMin : outputMax;
4311
4352
  if (inputMin === -Infinity)
4312
- result2 = -result2;
4353
+ result = -result;
4313
4354
  else if (inputMax === Infinity)
4314
- result2 = result2 - inputMin;
4355
+ result = result - inputMin;
4315
4356
  else
4316
- result2 = (result2 - inputMin) / (inputMax - inputMin);
4317
- result2 = easing(result2);
4357
+ result = (result - inputMin) / (inputMax - inputMin);
4358
+ result = easing(result);
4318
4359
  if (outputMin === -Infinity)
4319
- result2 = -result2;
4360
+ result = -result;
4320
4361
  else if (outputMax === Infinity)
4321
- result2 = result2 + outputMin;
4362
+ result = result + outputMin;
4322
4363
  else
4323
- result2 = result2 * (outputMax - outputMin) + outputMin;
4324
- return result2;
4364
+ result = result * (outputMax - outputMin) + outputMin;
4365
+ return result;
4325
4366
  }
4326
- function findRange(input2, inputRange) {
4367
+ function findRange(input, inputRange) {
4327
4368
  for (var i2 = 1; i2 < inputRange.length - 1; ++i2)
4328
- if (inputRange[i2] >= input2)
4369
+ if (inputRange[i2] >= input)
4329
4370
  break;
4330
4371
  return i2 - 1;
4331
4372
  }
4332
- const steps$1 = (steps2, direction = "end") => (progress) => {
4373
+ const steps = (steps2, direction = "end") => (progress) => {
4333
4374
  progress = direction === "end" ? Math.min(progress, 0.999) : Math.max(progress, 1e-3);
4334
4375
  const expanded = progress * steps2;
4335
4376
  const rounded = direction === "end" ? Math.floor(expanded) : Math.ceil(expanded);
@@ -4385,7 +4426,7 @@ const easings = {
4385
4426
  easeInBounce: (x) => 1 - bounceOut(1 - x),
4386
4427
  easeOutBounce: bounceOut,
4387
4428
  easeInOutBounce: (x) => x < 0.5 ? (1 - bounceOut(1 - 2 * x)) / 2 : (1 + bounceOut(2 * x - 1)) / 2,
4388
- steps: steps$1
4429
+ steps
4389
4430
  };
4390
4431
  function _extends$4() {
4391
4432
  _extends$4 = Object.assign ? Object.assign.bind() : function(target) {
@@ -4471,10 +4512,10 @@ const colorRegex = /(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\((-?\d+%?[
4471
4512
  const unitRegex = new RegExp(`(${numberRegex.source})(%|[a-z]+)`, "i");
4472
4513
  const rgbaRegex = /rgba\(([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+)\)/gi;
4473
4514
  const cssVariableRegex = /var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;
4474
- const variableToRgba = (input2) => {
4475
- const [token, fallback] = parseCSSVariable(input2);
4515
+ const variableToRgba = (input) => {
4516
+ const [token, fallback] = parseCSSVariable(input);
4476
4517
  if (!token || isSSR()) {
4477
- return input2;
4518
+ return input;
4478
4519
  }
4479
4520
  const value = window.getComputedStyle(document.documentElement).getPropertyValue(token);
4480
4521
  if (value) {
@@ -4484,14 +4525,14 @@ const variableToRgba = (input2) => {
4484
4525
  if (_value) {
4485
4526
  return _value;
4486
4527
  } else {
4487
- return input2;
4528
+ return input;
4488
4529
  }
4489
4530
  } else if (fallback && cssVariableRegex.test(fallback)) {
4490
4531
  return variableToRgba(fallback);
4491
4532
  } else if (fallback) {
4492
4533
  return fallback;
4493
4534
  }
4494
- return input2;
4535
+ return input;
4495
4536
  };
4496
4537
  const parseCSSVariable = (current) => {
4497
4538
  const match = cssVariableRegex.exec(current);
@@ -4518,11 +4559,11 @@ const createStringInterpolator = (config2) => {
4518
4559
  const interpolators = outputRanges.map((output2) => createInterpolator(_extends$4({}, config2, {
4519
4560
  output: output2
4520
4561
  })));
4521
- return (input2) => {
4562
+ return (input) => {
4522
4563
  var _output$find;
4523
4564
  const missingUnit = !unitRegex.test(output[0]) && ((_output$find = output.find((value) => unitRegex.test(value))) == null ? void 0 : _output$find.replace(numberRegex, ""));
4524
4565
  let i2 = 0;
4525
- return output[0].replace(numberRegex, () => `${interpolators[i2++](input2)}${missingUnit || ""}`).replace(rgbaRegex, rgbaRound);
4566
+ return output[0].replace(numberRegex, () => `${interpolators[i2++](input)}${missingUnit || ""}`).replace(rgbaRegex, rgbaRound);
4526
4567
  };
4527
4568
  };
4528
4569
  const prefix = "react-spring: ";
@@ -5216,7 +5257,7 @@ function scheduleProps(callId, {
5216
5257
  }
5217
5258
  });
5218
5259
  }
5219
- const getCombinedResult = (target, results) => results.length == 1 ? results[0] : results.some((result2) => result2.cancelled) ? getCancelledResult(target.get()) : results.every((result2) => result2.noop) ? getNoopResult(target.get()) : getFinishedResult(target.get(), results.every((result2) => result2.finished));
5260
+ const getCombinedResult = (target, results) => results.length == 1 ? results[0] : results.some((result) => result.cancelled) ? getCancelledResult(target.get()) : results.every((result) => result.noop) ? getNoopResult(target.get()) : getFinishedResult(target.get(), results.every((result) => result.finished));
5220
5261
  const getNoopResult = (value) => ({
5221
5262
  value,
5222
5263
  noop: true,
@@ -5281,17 +5322,17 @@ function runAsync(to2, props, state, target) {
5281
5322
  props2[key] = value;
5282
5323
  }
5283
5324
  });
5284
- const result3 = await target.start(props2);
5325
+ const result2 = await target.start(props2);
5285
5326
  bailIfEnded(bailSignal);
5286
5327
  if (state.paused) {
5287
5328
  await new Promise((resume) => {
5288
5329
  state.resumeQueue.add(resume);
5289
5330
  });
5290
5331
  }
5291
- return result3;
5332
+ return result2;
5292
5333
  })();
5293
5334
  };
5294
- let result2;
5335
+ let result;
5295
5336
  if (globals.skipAnimation) {
5296
5337
  stopAsync(state);
5297
5338
  return getFinishedResult(target, false);
@@ -5308,12 +5349,12 @@ function runAsync(to2, props, state, target) {
5308
5349
  animating = Promise.resolve(to2(animate, target.stop.bind(target)));
5309
5350
  }
5310
5351
  await Promise.all([animating.then(preventBail), bailPromise]);
5311
- result2 = getFinishedResult(target.get(), true, false);
5352
+ result = getFinishedResult(target.get(), true, false);
5312
5353
  } catch (err) {
5313
5354
  if (err instanceof BailSignal) {
5314
- result2 = err.result;
5355
+ result = err.result;
5315
5356
  } else if (err instanceof SkipAnimationSignal) {
5316
- result2 = err.result;
5357
+ result = err.result;
5317
5358
  } else {
5318
5359
  throw err;
5319
5360
  }
@@ -5326,10 +5367,10 @@ function runAsync(to2, props, state, target) {
5326
5367
  }
5327
5368
  if (is.fun(onRest)) {
5328
5369
  raf.batchedUpdates(() => {
5329
- onRest(result2, target, target.item);
5370
+ onRest(result, target, target.item);
5330
5371
  });
5331
5372
  }
5332
- return result2;
5373
+ return result;
5333
5374
  })();
5334
5375
  }
5335
5376
  function stopAsync(state, cancelId) {
@@ -5736,14 +5777,14 @@ class SpringValue extends FrameValue {
5736
5777
  },
5737
5778
  start: this._merge.bind(this, range3)
5738
5779
  }
5739
- }).then((result2) => {
5740
- if (props.loop && result2.finished && !(isLoop && result2.noop)) {
5780
+ }).then((result) => {
5781
+ if (props.loop && result.finished && !(isLoop && result.noop)) {
5741
5782
  const nextProps = createLoopUpdate(props);
5742
5783
  if (nextProps) {
5743
5784
  return this._update(nextProps, true);
5744
5785
  }
5745
5786
  }
5746
- return result2;
5787
+ return result;
5747
5788
  });
5748
5789
  }
5749
5790
  _merge(range3, props, resolve) {
@@ -5855,17 +5896,17 @@ class SpringValue extends FrameValue {
5855
5896
  onRest
5856
5897
  } = anim;
5857
5898
  each(ACTIVE_EVENTS, (type4) => mergeActiveFn(this, props, type4));
5858
- const result2 = getFinishedResult(this, checkFinished(this, prevTo));
5859
- flushCalls(this._pendingCalls, result2);
5899
+ const result = getFinishedResult(this, checkFinished(this, prevTo));
5900
+ flushCalls(this._pendingCalls, result);
5860
5901
  this._pendingCalls.add(resolve);
5861
5902
  if (anim.changed)
5862
5903
  raf.batchedUpdates(() => {
5863
5904
  anim.changed = !reset;
5864
- onRest == null ? void 0 : onRest(result2, this);
5905
+ onRest == null ? void 0 : onRest(result, this);
5865
5906
  if (reset) {
5866
- callProp(defaultProps2.onRest, result2);
5907
+ callProp(defaultProps2.onRest, result);
5867
5908
  } else {
5868
- anim.onStart == null ? void 0 : anim.onStart(result2, this);
5909
+ anim.onStart == null ? void 0 : anim.onStart(result, this);
5869
5910
  }
5870
5911
  });
5871
5912
  }
@@ -5985,11 +6026,11 @@ class SpringValue extends FrameValue {
5985
6026
  type: "idle",
5986
6027
  parent: this
5987
6028
  });
5988
- const result2 = cancel ? getCancelledResult(this.get()) : getFinishedResult(this.get(), checkFinished(this, goal != null ? goal : anim.to));
5989
- flushCalls(this._pendingCalls, result2);
6029
+ const result = cancel ? getCancelledResult(this.get()) : getFinishedResult(this.get(), checkFinished(this, goal != null ? goal : anim.to));
6030
+ flushCalls(this._pendingCalls, result);
5990
6031
  if (anim.changed) {
5991
6032
  anim.changed = false;
5992
- sendEvent(this, "onRest", result2, this);
6033
+ sendEvent(this, "onRest", result, this);
5993
6034
  }
5994
6035
  }
5995
6036
  }
@@ -6049,7 +6090,7 @@ function sendEvent(target, type4, ...args) {
6049
6090
  }
6050
6091
  const BATCHED_EVENTS = ["onStart", "onChange", "onRest"];
6051
6092
  let nextId = 1;
6052
- class Controller$1 {
6093
+ let Controller$1 = class Controller {
6053
6094
  constructor(props, flush2) {
6054
6095
  this.id = nextId++;
6055
6096
  this.springs = {};
@@ -6176,24 +6217,24 @@ class Controller$1 {
6176
6217
  const changed = this._changed.size > 0;
6177
6218
  if (active && !this._started || changed && !this._started) {
6178
6219
  this._started = true;
6179
- flush(onStart, ([onStart2, result2]) => {
6180
- result2.value = this.get();
6181
- onStart2(result2, this, this._item);
6220
+ flush(onStart, ([onStart2, result]) => {
6221
+ result.value = this.get();
6222
+ onStart2(result, this, this._item);
6182
6223
  });
6183
6224
  }
6184
6225
  const idle = !active && this._started;
6185
6226
  const values = changed || idle && onRest.size ? this.get() : null;
6186
6227
  if (changed && onChange.size) {
6187
- flush(onChange, ([onChange2, result2]) => {
6188
- result2.value = values;
6189
- onChange2(result2, this, this._item);
6228
+ flush(onChange, ([onChange2, result]) => {
6229
+ result.value = values;
6230
+ onChange2(result, this, this._item);
6190
6231
  });
6191
6232
  }
6192
6233
  if (idle) {
6193
6234
  this._started = false;
6194
- flush(onRest, ([onRest2, result2]) => {
6195
- result2.value = values;
6196
- onRest2(result2, this, this._item);
6235
+ flush(onRest, ([onRest2, result]) => {
6236
+ result.value = values;
6237
+ onRest2(result, this, this._item);
6197
6238
  });
6198
6239
  }
6199
6240
  }
@@ -6209,7 +6250,7 @@ class Controller$1 {
6209
6250
  return;
6210
6251
  raf.onFrame(this._onFrame);
6211
6252
  }
6212
- }
6253
+ };
6213
6254
  function flushUpdateQueue(ctrl, queue) {
6214
6255
  return Promise.all(queue.map((props) => flushUpdate(ctrl, props))).then((results) => getCombinedResult(ctrl, results));
6215
6256
  }
@@ -6246,12 +6287,12 @@ async function flushUpdate(ctrl, props, isLoop) {
6246
6287
  finished,
6247
6288
  cancelled
6248
6289
  }) => {
6249
- const result3 = queue.get(handler);
6250
- if (result3) {
6290
+ const result2 = queue.get(handler);
6291
+ if (result2) {
6251
6292
  if (!finished)
6252
- result3.finished = false;
6293
+ result2.finished = false;
6253
6294
  if (cancelled)
6254
- result3.cancelled = true;
6295
+ result2.cancelled = true;
6255
6296
  } else {
6256
6297
  queue.set(handler, {
6257
6298
  value: null,
@@ -6299,8 +6340,8 @@ async function flushUpdate(ctrl, props, isLoop) {
6299
6340
  state.resumeQueue.add(resume);
6300
6341
  });
6301
6342
  }
6302
- const result2 = getCombinedResult(ctrl, await Promise.all(promises));
6303
- if (loop2 && result2.finished && !(isLoop && result2.noop)) {
6343
+ const result = getCombinedResult(ctrl, await Promise.all(promises));
6344
+ if (loop2 && result.finished && !(isLoop && result.noop)) {
6304
6345
  const nextProps = createLoopUpdate(props, loop2, to2);
6305
6346
  if (nextProps) {
6306
6347
  prepareKeys(ctrl, [nextProps]);
@@ -6308,9 +6349,9 @@ async function flushUpdate(ctrl, props, isLoop) {
6308
6349
  }
6309
6350
  }
6310
6351
  if (onResolve) {
6311
- raf.batchedUpdates(() => onResolve(result2, ctrl, ctrl.item));
6352
+ raf.batchedUpdates(() => onResolve(result, ctrl, ctrl.item));
6312
6353
  }
6313
- return result2;
6354
+ return result;
6314
6355
  }
6315
6356
  function getSprings(ctrl, props) {
6316
6357
  const springs = _extends$2({}, ctrl.springs);
@@ -6813,7 +6854,7 @@ class AnimatedStyle extends AnimatedObject {
6813
6854
  return;
6814
6855
  const unit = pxTransforms.test(key) ? "px" : degTransforms.test(key) ? "deg" : "";
6815
6856
  inputs.push(toArray$3(value));
6816
- transforms.push(key === "rotate3d" ? ([x2, y2, z2, deg]) => [`rotate3d(${x2},${y2},${z2},${addUnit(deg, unit)})`, isValueIdentity(deg, 0)] : (input2) => [`${key}(${input2.map((v) => addUnit(v, unit)).join(",")})`, isValueIdentity(input2, key.startsWith("scale") ? 1 : 0)]);
6857
+ transforms.push(key === "rotate3d" ? ([x2, y2, z2, deg]) => [`rotate3d(${x2},${y2},${z2},${addUnit(deg, unit)})`, isValueIdentity(deg, 0)] : (input) => [`${key}(${input.map((v) => addUnit(v, unit)).join(",")})`, isValueIdentity(input, key.startsWith("scale") ? 1 : 0)]);
6817
6858
  }
6818
6859
  });
6819
6860
  if (inputs.length) {
@@ -6835,9 +6876,9 @@ class FluidTransform extends FluidValue {
6835
6876
  _get() {
6836
6877
  let transform = "";
6837
6878
  let identity2 = true;
6838
- each(this.inputs, (input2, i2) => {
6839
- const arg1 = getFluidValue(input2[0]);
6840
- const [t, id] = this.transforms[i2](is.arr(arg1) ? arg1 : input2.map(getFluidValue));
6879
+ each(this.inputs, (input, i2) => {
6880
+ const arg1 = getFluidValue(input[0]);
6881
+ const [t, id] = this.transforms[i2](is.arr(arg1) ? arg1 : input.map(getFluidValue));
6841
6882
  transform += " " + t;
6842
6883
  identity2 = identity2 && id;
6843
6884
  });
@@ -6845,11 +6886,11 @@ class FluidTransform extends FluidValue {
6845
6886
  }
6846
6887
  observerAdded(count) {
6847
6888
  if (count == 1)
6848
- each(this.inputs, (input2) => each(input2, (value) => hasFluidValue(value) && addFluidObserver(value, this)));
6889
+ each(this.inputs, (input) => each(input, (value) => hasFluidValue(value) && addFluidObserver(value, this)));
6849
6890
  }
6850
6891
  observerRemoved(count) {
6851
6892
  if (count == 0)
6852
- each(this.inputs, (input2) => each(input2, (value) => hasFluidValue(value) && removeFluidObserver(value, this)));
6893
+ each(this.inputs, (input) => each(input, (value) => hasFluidValue(value) && removeFluidObserver(value, this)));
6853
6894
  }
6854
6895
  eventObserved(event) {
6855
6896
  if (event.type == "change") {
@@ -6941,7 +6982,7 @@ const defaultProps$15 = {
6941
6982
  getContainer: null,
6942
6983
  stopPropagation: ["click"]
6943
6984
  };
6944
- const Mask$1 = (p) => {
6985
+ const Mask = (p) => {
6945
6986
  const props = mergeProps(defaultProps$15, p);
6946
6987
  const {
6947
6988
  locale
@@ -6985,6 +7026,7 @@ const Mask$1 = (p) => {
6985
7026
  const node = withStopPropagation(props.stopPropagation, withNativeProps(props, React__default.createElement(animated.div, {
6986
7027
  className: classPrefix$1p,
6987
7028
  ref,
7029
+ "aria-hidden": true,
6988
7030
  style: Object.assign(Object.assign({}, props.style), {
6989
7031
  background,
6990
7032
  opacity,
@@ -7010,7 +7052,6 @@ const Mask$1 = (p) => {
7010
7052
  destroyOnClose: props.destroyOnClose
7011
7053
  }, renderToContainer(props.getContainer, node));
7012
7054
  };
7013
- const Mask = Mask$1;
7014
7055
  function AddOutline(props) {
7015
7056
  return /* @__PURE__ */ React$4.createElement("svg", Object.assign({
7016
7057
  width: "1em",
@@ -7032,7 +7073,7 @@ function AddOutline(props) {
7032
7073
  }, /* @__PURE__ */ React$4.createElement("g", {
7033
7074
  id: "AddOutline-add"
7034
7075
  }, /* @__PURE__ */ React$4.createElement("rect", {
7035
- id: "AddOutline-\u77E9\u5F62",
7076
+ id: "AddOutline-矩形",
7036
7077
  fill: "#FFFFFF",
7037
7078
  opacity: 0,
7038
7079
  x: 0,
@@ -7041,7 +7082,7 @@ function AddOutline(props) {
7041
7082
  height: 48
7042
7083
  }), /* @__PURE__ */ React$4.createElement("path", {
7043
7084
  d: "M25.1,6.5 C25.3209139,6.5 25.5,6.6790861 25.5,6.9 L25.5,22.5 L41.1,22.5 C41.3209139,22.5 41.5,22.6790861 41.5,22.9 L41.5,25.1 C41.5,25.3209139 41.3209139,25.5 41.1,25.5 L25.5,25.5 L25.5,41.1 C25.5,41.3209139 25.3209139,41.5 25.1,41.5 L22.9,41.5 C22.6790861,41.5 22.5,41.3209139 22.5,41.1 L22.5,25.5 L6.9,25.5 C6.6790861,25.5 6.5,25.3209139 6.5,25.1 L6.5,22.9 C6.5,22.6790861 6.6790861,22.5 6.9,22.5 L22.5,22.5 L22.5,6.9 C22.5,6.6790861 22.6790861,6.5 22.9,6.5 L25.1,6.5 Z",
7044
- id: "AddOutline-\u8DEF\u5F84",
7085
+ id: "AddOutline-路径",
7045
7086
  fill: "currentColor",
7046
7087
  fillRule: "nonzero"
7047
7088
  }))));
@@ -7065,9 +7106,9 @@ function CheckCircleFill(props) {
7065
7106
  fill: "none",
7066
7107
  fillRule: "evenodd"
7067
7108
  }, /* @__PURE__ */ React$4.createElement("g", {
7068
- id: "CheckCircleFill-\u7F16\u7EC4"
7109
+ id: "CheckCircleFill-编组"
7069
7110
  }, /* @__PURE__ */ React$4.createElement("rect", {
7070
- id: "CheckCircleFill-\u77E9\u5F62",
7111
+ id: "CheckCircleFill-矩形",
7071
7112
  fill: "#FFFFFF",
7072
7113
  opacity: 0,
7073
7114
  x: 0,
@@ -7076,7 +7117,7 @@ function CheckCircleFill(props) {
7076
7117
  height: 48
7077
7118
  }), /* @__PURE__ */ React$4.createElement("path", {
7078
7119
  d: "M24,2 C36.1502645,2 46,11.8497355 46,24 C46,36.1502645 36.1502645,46 24,46 C11.8497355,46 2,36.1502645 2,24 C2,11.8497355 11.8497355,2 24,2 Z M35.8202936,17 L32.7086692,17 C32.6025922,17 32.500859,17.0421352 32.4258461,17.1171378 L32.4258461,17.1171378 L21.3922352,28.1492247 L16.3591562,23.1163755 C16.2841422,23.0413649 16.1824034,22.9992247 16.0763199,22.9992247 L16.0763199,22.9992247 L12.9653996,22.9992247 C12.859342,22.9992247 12.7576259,23.0413445 12.6826161,23.1163228 C12.5263737,23.2724998 12.5263207,23.5257658 12.6824977,23.6820082 C12.8583452,23.8579294 13.0341927,24.0338505 13.2100402,24.2097716 C13.2577488,24.2575002 13.3065097,24.3063074 13.3562592,24.3561283 L13.6661084,24.6666997 C14.3074913,25.3100963 15.0728595,26.0807873 15.8520136,26.8666654 L16.4372421,27.4571699 C18.2552812,29.2922548 19.9983838,31.0574343 20.2666114,31.3285298 L20.301004,31.3632341 C20.8867904,31.9490205 21.8365379,31.9490205 22.4223243,31.3632341 L22.4223243,31.3632341 L36.1031319,17.6828471 C36.1781492,17.6078322 36.2202936,17.5060887 36.2202936,17.4 C36.2202936,17.1790861 36.0412075,17 35.8202936,17 L35.8202936,17 Z",
7079
- id: "CheckCircleFill-\u5F62\u72B6\u7ED3\u5408",
7120
+ id: "CheckCircleFill-形状结合",
7080
7121
  fill: "currentColor",
7081
7122
  fillRule: "nonzero"
7082
7123
  }))));
@@ -7100,9 +7141,9 @@ function CheckOutline(props) {
7100
7141
  fill: "none",
7101
7142
  fillRule: "evenodd"
7102
7143
  }, /* @__PURE__ */ React$4.createElement("g", {
7103
- id: "CheckOutline-\u7F16\u7EC4"
7144
+ id: "CheckOutline-编组"
7104
7145
  }, /* @__PURE__ */ React$4.createElement("rect", {
7105
- id: "CheckOutline-\u77E9\u5F62",
7146
+ id: "CheckOutline-矩形",
7106
7147
  fill: "#FFFFFF",
7107
7148
  opacity: 0,
7108
7149
  x: 0,
@@ -7111,7 +7152,7 @@ function CheckOutline(props) {
7111
7152
  height: 48
7112
7153
  }), /* @__PURE__ */ React$4.createElement("path", {
7113
7154
  d: "M44.309608,12.6841286 L21.2180499,35.5661955 L21.2180499,35.5661955 C20.6343343,36.1446015 19.6879443,36.1446015 19.1042286,35.5661955 C19.0538201,35.5162456 19.0077648,35.4636155 18.9660627,35.4087682 C18.9113105,35.368106 18.8584669,35.3226694 18.808302,35.2729607 L3.6903839,20.2920499 C3.53346476,20.1365529 3.53231192,19.8832895 3.68780898,19.7263704 C3.7629255,19.6505669 3.86521855,19.6079227 3.97193622,19.6079227 L7.06238923,19.6079227 C7.16784214,19.6079227 7.26902895,19.6495648 7.34393561,19.7237896 L20.160443,32.4236157 L20.160443,32.4236157 L40.656066,12.115858 C40.7309719,12.0416387 40.8321549,12 40.9376034,12 L44.0280571,12 C44.248971,12 44.4280571,12.1790861 44.4280571,12.4 C44.4280571,12.5067183 44.3854124,12.609012 44.309608,12.6841286 Z",
7114
- id: "CheckOutline-\u8DEF\u5F84",
7155
+ id: "CheckOutline-路径",
7115
7156
  fill: "currentColor",
7116
7157
  fillRule: "nonzero"
7117
7158
  }))));
@@ -7135,9 +7176,9 @@ function ClockCircleFill(props) {
7135
7176
  fill: "none",
7136
7177
  fillRule: "evenodd"
7137
7178
  }, /* @__PURE__ */ React$4.createElement("g", {
7138
- id: "ClockCircleFill-\u7F16\u7EC4"
7179
+ id: "ClockCircleFill-编组"
7139
7180
  }, /* @__PURE__ */ React$4.createElement("rect", {
7140
- id: "ClockCircleFill-\u77E9\u5F62",
7181
+ id: "ClockCircleFill-矩形",
7141
7182
  fill: "#FFFFFF",
7142
7183
  opacity: 0,
7143
7184
  x: 0,
@@ -7146,7 +7187,7 @@ function ClockCircleFill(props) {
7146
7187
  height: 48
7147
7188
  }), /* @__PURE__ */ React$4.createElement("path", {
7148
7189
  d: "M24,2 C36.1502645,2 46,11.8497355 46,24 C46,36.1502645 36.1502645,46 24,46 C11.8497355,46 2,36.1502645 2,24 C2,11.8497355 11.8497355,2 24,2 Z M24.6,14 L22.4,14 C22.1790861,14 22,14.1790861 22,14.4 L22,14.4 L22,23.1715729 L22.0065089,23.3850222 C22.0584325,24.2354066 22.4192395,25.0405598 23.0251263,25.6464466 L23.0251263,25.6464466 L31.1564971,33.7778175 C31.3127068,33.9340272 31.5659728,33.9340272 31.7221825,33.7778175 L31.7221825,33.7778175 L33.2778175,32.2221825 C33.4340272,32.0659728 33.4340272,31.8127068 33.2778175,31.6564971 L33.2778175,31.6564971 L25.1464466,23.5251263 L25.0952092,23.4650801 C25.0337142,23.38027 25,23.2776595 25,23.1715729 L25,23.1715729 L25,14.4 C25,14.1790861 24.8209139,14 24.6,14 L24.6,14 Z",
7149
- id: "ClockCircleFill-\u5F62\u72B6\u7ED3\u5408",
7190
+ id: "ClockCircleFill-形状结合",
7150
7191
  fill: "currentColor",
7151
7192
  fillRule: "nonzero"
7152
7193
  }))));
@@ -7170,9 +7211,9 @@ function CloseCircleFill(props) {
7170
7211
  fill: "none",
7171
7212
  fillRule: "evenodd"
7172
7213
  }, /* @__PURE__ */ React$4.createElement("g", {
7173
- id: "CloseCircleFill-\u7F16\u7EC4"
7214
+ id: "CloseCircleFill-编组"
7174
7215
  }, /* @__PURE__ */ React$4.createElement("rect", {
7175
- id: "CloseCircleFill-\u77E9\u5F62",
7216
+ id: "CloseCircleFill-矩形",
7176
7217
  fill: "#FFFFFF",
7177
7218
  opacity: 0,
7178
7219
  x: 0,
@@ -7181,7 +7222,7 @@ function CloseCircleFill(props) {
7181
7222
  height: 48
7182
7223
  }), /* @__PURE__ */ React$4.createElement("path", {
7183
7224
  d: "M24,2 C36.1502645,2 46,11.8497355 46,24 C46,36.1502645 36.1502645,46 24,46 C11.8497355,46 2,36.1502645 2,24 C2,11.8497355 11.8497355,2 24,2 Z M18.6753876,16 L15.5637812,16 C15.4576916,16 15.3559474,16.0421451 15.2809323,16.1171635 C15.124726,16.2733766 15.1247316,16.5266426 15.2809447,16.6828489 L15.2809447,16.6828489 L22.299066,23.7006641 L14.6828159,31.3171619 C14.6078042,31.3921761 14.5656632,31.4939157 14.5656632,31.6 C14.5656632,31.8209139 14.7447493,32 14.9656632,32 L14.9656632,32 L18.0753284,32 C18.1814068,32 18.2831412,31.9578638 18.3581544,31.8828594 L18.3581544,31.8828594 L24.420066,25.8216641 L30.4818451,31.8828564 C30.5568585,31.9578626 30.6585942,32 30.7646741,32 L30.7646741,32 L33.8763476,32 C33.9824309,32 34.0841695,31.9578599 34.1591835,31.8828496 C34.315397,31.7266436 34.3154031,31.4733776 34.1591972,31.3171641 L34.1591972,31.3171641 L26.542066,23.6996641 L33.5591874,16.6828489 C33.6342057,16.6078338 33.6763508,16.5060896 33.6763508,16.4 C33.6763508,16.1790861 33.4972647,16 33.2763508,16 L33.2763508,16 L30.1637654,16 C30.0576705,16 29.9559218,16.0421493 29.8809058,16.1171741 L29.8809058,16.1171741 L24.420066,21.5786641 L18.9582218,16.1171488 C18.883208,16.0421394 18.7814701,16 18.6753876,16 L18.6753876,16 Z",
7184
- id: "CloseCircleFill-\u5F62\u72B6\u7ED3\u5408",
7225
+ id: "CloseCircleFill-形状结合",
7185
7226
  fill: "currentColor",
7186
7227
  fillRule: "nonzero"
7187
7228
  }))));
@@ -7205,9 +7246,9 @@ function CloseOutline(props) {
7205
7246
  fill: "none",
7206
7247
  fillRule: "evenodd"
7207
7248
  }, /* @__PURE__ */ React$4.createElement("g", {
7208
- id: "CloseOutline-\u7F16\u7EC4"
7249
+ id: "CloseOutline-编组"
7209
7250
  }, /* @__PURE__ */ React$4.createElement("rect", {
7210
- id: "CloseOutline-\u77E9\u5F62",
7251
+ id: "CloseOutline-矩形",
7211
7252
  fill: "#FFFFFF",
7212
7253
  opacity: 0,
7213
7254
  x: 0,
@@ -7216,7 +7257,7 @@ function CloseOutline(props) {
7216
7257
  height: 48
7217
7258
  }), /* @__PURE__ */ React$4.createElement("path", {
7218
7259
  d: "M10.6085104,8.11754663 L24.1768397,21.8195031 L24.1768397,21.8195031 L37.7443031,8.1175556 C37.8194278,8.04168616 37.9217669,7.999 38.0285372,7.999 L41.1040268,7.999 C41.3249407,7.999 41.5040268,8.1780861 41.5040268,8.399 C41.5040268,8.50440471 41.4624226,8.60554929 41.3882578,8.68044752 L26.2773302,23.9408235 L26.2773302,23.9408235 L41.5021975,39.3175645 C41.65763,39.4745475 41.6563731,39.7278104 41.4993901,39.8832429 C41.4244929,39.9574004 41.3233534,39.999 41.2179546,39.999 L38.1434012,39.999 C38.0366291,39.999 37.9342885,39.9563124 37.8591634,39.8804408 L24.1768397,26.0621438 L24.1768397,26.0621438 L10.4936501,39.8804497 C10.4185257,39.9563159 10.3161889,39.999 10.2094212,39.999 L7.13584526,39.999 C6.91493136,39.999 6.73584526,39.8199139 6.73584526,39.599 C6.73584526,39.4936017 6.77744443,39.3924627 6.85160121,39.3175656 L22.0763492,23.9408235 L22.0763492,23.9408235 L6.96554081,8.68044639 C6.81010226,8.52346929 6.81134951,8.27020637 6.9683266,8.11476782 C7.04322474,8.04060377 7.14436883,7.999 7.24977299,7.999 L10.3242852,7.999 C10.4310511,7.999 10.5333863,8.04168267 10.6085104,8.11754663 Z",
7219
- id: "CloseOutline-\u8DEF\u5F84",
7260
+ id: "CloseOutline-路径",
7220
7261
  fill: "currentColor",
7221
7262
  fillRule: "nonzero"
7222
7263
  }))));
@@ -7240,9 +7281,9 @@ function DownFill(props) {
7240
7281
  fill: "none",
7241
7282
  fillRule: "evenodd"
7242
7283
  }, /* @__PURE__ */ React$4.createElement("g", {
7243
- id: "DownFill-\u7F16\u7EC4"
7284
+ id: "DownFill-编组"
7244
7285
  }, /* @__PURE__ */ React$4.createElement("rect", {
7245
- id: "DownFill-\u77E9\u5F62",
7286
+ id: "DownFill-矩形",
7246
7287
  fill: "#FFFFFF",
7247
7288
  opacity: 0,
7248
7289
  x: 0,
@@ -7251,7 +7292,7 @@ function DownFill(props) {
7251
7292
  height: 48
7252
7293
  }), /* @__PURE__ */ React$4.createElement("path", {
7253
7294
  d: "M40.6640052,13 L7.34128264,13 C6.57572302,13 5.83336217,13.2619065 5.23947349,13.7351762 C3.80578911,14.8838891 3.58308085,16.9699517 4.74301968,18.3897608 L21.404381,38.7725222 C21.5528531,38.9517214 21.7152446,39.1171361 21.9008348,39.2641713 C23.3345192,40.4128842 25.4363283,40.1923313 26.6009069,38.7725222 L43.2576284,18.3897608 C43.740163,17.8016198 44,17.0664436 44,16.3082931 C44.004629,14.4795422 42.505988,13 40.6640052,13 Z",
7254
- id: "DownFill-\u8DEF\u5F84",
7295
+ id: "DownFill-路径",
7255
7296
  fill: "currentColor",
7256
7297
  fillRule: "nonzero"
7257
7298
  }))));
@@ -7275,7 +7316,7 @@ function DownOutline(props) {
7275
7316
  fill: "none",
7276
7317
  fillRule: "evenodd"
7277
7318
  }, /* @__PURE__ */ React$4.createElement("g", null, /* @__PURE__ */ React$4.createElement("rect", {
7278
- id: "DownOutline-\u77E9\u5F62",
7319
+ id: "DownOutline-矩形",
7279
7320
  fill: "#FFFFFF",
7280
7321
  opacity: 0,
7281
7322
  x: 0,
@@ -7308,7 +7349,7 @@ function ExclamationCircleFill(props) {
7308
7349
  fill: "none",
7309
7350
  fillRule: "evenodd"
7310
7351
  }, /* @__PURE__ */ React$4.createElement("g", null, /* @__PURE__ */ React$4.createElement("rect", {
7311
- id: "ExclamationCircleFill-\u77E9\u5F62",
7352
+ id: "ExclamationCircleFill-矩形",
7312
7353
  fill: "#D76060",
7313
7354
  opacity: 0,
7314
7355
  x: 0,
@@ -7317,7 +7358,7 @@ function ExclamationCircleFill(props) {
7317
7358
  height: 48
7318
7359
  }), /* @__PURE__ */ React$4.createElement("path", {
7319
7360
  d: "M24,2 C36.1502645,2 46,11.8497355 46,24 C46,36.1502645 36.1502645,46 24,46 C11.8497355,46 2,36.1502645 2,24 C2,11.8497355 11.8497355,2 24,2 Z M25.1,31 L22.9,31 C22.6790861,31 22.5,31.1790861 22.5,31.4 L22.5,31.4 L22.5,33.6 C22.5,33.8209139 22.6790861,34 22.9,34 L22.9,34 L25.1,34 C25.3209139,34 25.5,33.8209139 25.5,33.6 L25.5,33.6 L25.5,31.4 C25.5,31.1790861 25.3209139,31 25.1,31 L25.1,31 Z M25.1,14 L22.9,14 C22.6790861,14 22.5,14.1790861 22.5,14.4 L22.5,14.4 L22.5,27.6 C22.5,27.8209139 22.6790861,28 22.9,28 L22.9,28 L25.1,28 C25.3209139,28 25.5,27.8209139 25.5,27.6 L25.5,27.6 L25.5,14.4 C25.5,14.1790861 25.3209139,14 25.1,14 L25.1,14 Z",
7320
- id: "ExclamationCircleFill-\u5F62\u72B6\u7ED3\u5408",
7361
+ id: "ExclamationCircleFill-形状结合",
7321
7362
  fill: "currentColor",
7322
7363
  fillRule: "nonzero"
7323
7364
  }))));
@@ -7341,9 +7382,9 @@ function InformationCircleFill(props) {
7341
7382
  fill: "none",
7342
7383
  fillRule: "evenodd"
7343
7384
  }, /* @__PURE__ */ React$4.createElement("g", {
7344
- id: "InformationCircleFill-\u7F16\u7EC4"
7385
+ id: "InformationCircleFill-编组"
7345
7386
  }, /* @__PURE__ */ React$4.createElement("rect", {
7346
- id: "InformationCircleFill-\u77E9\u5F62",
7387
+ id: "InformationCircleFill-矩形",
7347
7388
  fill: "#FFFFFF",
7348
7389
  opacity: 0,
7349
7390
  x: 0,
@@ -7352,7 +7393,7 @@ function InformationCircleFill(props) {
7352
7393
  height: 48
7353
7394
  }), /* @__PURE__ */ React$4.createElement("path", {
7354
7395
  d: "M24,2 C36.1502645,2 46,11.8497355 46,24 C46,36.1502645 36.1502645,46 24,46 C11.8497355,46 2,36.1502645 2,24 C2,11.8497355 11.8497355,2 24,2 Z M25.6,20 L21.4,20 C21.1790861,20 21,20.1790861 21,20.4 L21,20.4 L21,22.6 C21,22.8209139 21.1790861,23 21.4,23 L21.4,23 L22.6,23 C22.8209139,23 23,23.1790861 23,23.4 L23,23.4 L23,34.6 C23,34.8209139 23.1790861,35 23.4,35 L23.4,35 L25.6,35 C25.8209139,35 26,34.8209139 26,34.6 L26,34.6 L26,20.4 C26,20.1790861 25.8209139,20 25.6,20 L25.6,20 Z M25.6,14 L23.4,14 C23.1790861,14 23,14.1790861 23,14.4 L23,14.4 L23,16.6 C23,16.8209139 23.1790861,17 23.4,17 L23.4,17 L25.6,17 C25.8209139,17 26,16.8209139 26,16.6 L26,16.6 L26,14.4 C26,14.1790861 25.8209139,14 25.6,14 L25.6,14 Z",
7355
- id: "InformationCircleFill-\u5F62\u72B6\u7ED3\u5408",
7396
+ id: "InformationCircleFill-形状结合",
7356
7397
  fill: "currentColor",
7357
7398
  fillRule: "nonzero"
7358
7399
  }))));
@@ -7376,9 +7417,9 @@ function LeftOutline(props) {
7376
7417
  fill: "none",
7377
7418
  fillRule: "evenodd"
7378
7419
  }, /* @__PURE__ */ React$4.createElement("g", {
7379
- id: "LeftOutline-\u7F16\u7EC4"
7420
+ id: "LeftOutline-编组"
7380
7421
  }, /* @__PURE__ */ React$4.createElement("rect", {
7381
- id: "LeftOutline-\u77E9\u5F62",
7422
+ id: "LeftOutline-矩形",
7382
7423
  fill: "#FFFFFF",
7383
7424
  opacity: 0,
7384
7425
  x: 0,
@@ -7387,7 +7428,7 @@ function LeftOutline(props) {
7387
7428
  height: 48
7388
7429
  }), /* @__PURE__ */ React$4.createElement("path", {
7389
7430
  d: "M31.7053818,5.11219264 L13.5234393,22.6612572 L13.5234393,22.6612572 C12.969699,23.2125856 12.9371261,24.0863155 13.4257204,24.6755735 L13.5234393,24.7825775 L31.7045714,42.8834676 C31.7795345,42.9580998 31.8810078,43 31.9867879,43 L35.1135102,43 C35.3344241,43 35.5135102,42.8209139 35.5135102,42.6 C35.5135102,42.4936115 35.4711279,42.391606 35.3957362,42.316542 L16.7799842,23.7816937 L16.7799842,23.7816937 L35.3764658,5.6866816 C35.5347957,5.53262122 35.5382568,5.27937888 35.3841964,5.121049 C35.3088921,5.04365775 35.205497,5 35.0975148,5 L31.9831711,5 C31.8795372,5 31.7799483,5.04022164 31.7053818,5.11219264 Z",
7390
- id: "LeftOutline-\u8DEF\u5F84",
7431
+ id: "LeftOutline-路径",
7391
7432
  fill: "currentColor",
7392
7433
  fillRule: "nonzero"
7393
7434
  }))));
@@ -7413,7 +7454,7 @@ function MinusOutline(props) {
7413
7454
  }, /* @__PURE__ */ React$4.createElement("g", {
7414
7455
  id: "MinusOutline-add"
7415
7456
  }, /* @__PURE__ */ React$4.createElement("rect", {
7416
- id: "MinusOutline-\u77E9\u5F62",
7457
+ id: "MinusOutline-矩形",
7417
7458
  fill: "#FFFFFF",
7418
7459
  opacity: 0,
7419
7460
  x: 0,
@@ -7422,7 +7463,7 @@ function MinusOutline(props) {
7422
7463
  height: 48
7423
7464
  }), /* @__PURE__ */ React$4.createElement("path", {
7424
7465
  d: "M41.1,22.5 C41.3209139,22.5 41.5,22.6790861 41.5,22.9 L41.5,25.1 C41.5,25.3209139 41.3209139,25.5 41.1,25.5 L6.9,25.5 C6.6790861,25.5 6.5,25.3209139 6.5,25.1 L6.5,22.9 C6.5,22.6790861 6.6790861,22.5 6.9,22.5 L41.1,22.5 Z",
7425
- id: "MinusOutline-\u8DEF\u5F84",
7466
+ id: "MinusOutline-路径",
7426
7467
  fill: "currentColor",
7427
7468
  fillRule: "nonzero"
7428
7469
  }))));
@@ -7446,9 +7487,9 @@ function QuestionCircleOutline(props) {
7446
7487
  fill: "none",
7447
7488
  fillRule: "evenodd"
7448
7489
  }, /* @__PURE__ */ React$4.createElement("g", {
7449
- id: "QuestionCircleOutline-\u7F16\u7EC4"
7490
+ id: "QuestionCircleOutline-编组"
7450
7491
  }, /* @__PURE__ */ React$4.createElement("rect", {
7451
- id: "QuestionCircleOutline-\u77E9\u5F62",
7492
+ id: "QuestionCircleOutline-矩形",
7452
7493
  fill: "#FFFFFF",
7453
7494
  opacity: 0,
7454
7495
  x: 0,
@@ -7457,7 +7498,7 @@ function QuestionCircleOutline(props) {
7457
7498
  height: 48
7458
7499
  }), /* @__PURE__ */ React$4.createElement("path", {
7459
7500
  d: "M24,2 C36.1502645,2 46,11.8497355 46,24 C46,36.1502645 36.1502645,46 24,46 C11.8497355,46 2,36.1502645 2,24 C2,11.8497355 11.8497355,2 24,2 Z M24,5 C13.5065898,5 5,13.5065898 5,24 C5,34.4934102 13.5065898,43 24,43 C34.4934102,43 43,34.4934102 43,24 C43,13.5065898 34.4934102,5 24,5 Z M26,32.4 L26,34.6 C26,34.8209139 25.8209139,35 25.6,35 L23.4,35 C23.1790861,35 23,34.8209139 23,34.6 L23,32.4 C23,32.1790861 23.1790861,32 23.4,32 L25.6,32 C25.8209139,32 26,32.1790861 26,32.4 Z M24,12 C27.8659932,12 31,15.1340068 31,19 C31,22.1706393 28.8919961,24.8489278 26.0010432,25.7098107 L26.0001268,28.6 C25.9999299,28.8208643 25.8208644,28.9998731 25.6,29 L23.4,29 C23.1790861,29 23,28.8209139 23,28.6 L23,23.4 C23,23.1790861 23.1790861,23 23.4,23 L24,23 L24,23 C26.209139,23 28,21.209139 28,19 C28,16.790861 26.209139,15 24,15 C21.790861,15 20,16.790861 20,19 L17,19 C17,15.1340068 20.1340068,12 24,12 Z",
7460
- id: "QuestionCircleOutline-\u5F62\u72B6",
7501
+ id: "QuestionCircleOutline-形状",
7461
7502
  fill: "currentColor",
7462
7503
  fillRule: "nonzero"
7463
7504
  }))));
@@ -7483,7 +7524,7 @@ function RightOutline(props) {
7483
7524
  }, /* @__PURE__ */ React$4.createElement("g", {
7484
7525
  id: "RightOutline-RightOutlined"
7485
7526
  }, /* @__PURE__ */ React$4.createElement("rect", {
7486
- id: "RightOutline-\u77E9\u5F62",
7527
+ id: "RightOutline-矩形",
7487
7528
  fill: "#FFFFFF",
7488
7529
  opacity: 0,
7489
7530
  x: 0,
@@ -7516,9 +7557,9 @@ function SearchOutline(props) {
7516
7557
  fill: "none",
7517
7558
  fillRule: "evenodd"
7518
7559
  }, /* @__PURE__ */ React$4.createElement("g", {
7519
- id: "SearchOutline-\u7F16\u7EC4"
7560
+ id: "SearchOutline-编组"
7520
7561
  }, /* @__PURE__ */ React$4.createElement("rect", {
7521
- id: "SearchOutline-\u77E9\u5F62",
7562
+ id: "SearchOutline-矩形",
7522
7563
  fill: "#FFFFFF",
7523
7564
  opacity: 0,
7524
7565
  x: 0,
@@ -7527,7 +7568,7 @@ function SearchOutline(props) {
7527
7568
  height: 48
7528
7569
  }), /* @__PURE__ */ React$4.createElement("path", {
7529
7570
  d: "M10.2434135,10.1505371 C17.2346315,3.28315429 28.5696354,3.28315429 35.5608534,10.1505371 C42.3159331,16.7859644 42.5440954,27.4048667 36.2453405,34.3093889 L43.7095294,41.6422249 C43.8671196,41.7970419 43.8693677,42.0502979 43.7145508,42.2078881 C43.7128864,42.2095822 43.7112069,42.2112616 43.7095126,42.2129259 L42.1705322,43.7246464 C42.014915,43.8775072 41.7655181,43.8775006 41.6099089,43.7246316 L34.0775268,36.3248916 L34.0775268,36.3248916 C27.0485579,41.8551751 16.7593545,41.4200547 10.2434135,35.0195303 C3.25219551,28.1521474 3.25219551,17.0179199 10.2434135,10.1505371 Z M12.3532001,12.2229532 C6.52718516,17.9457722 6.52718516,27.2242951 12.3532001,32.9471142 C18.1792151,38.6699332 27.6250517,38.6699332 33.4510667,32.9471142 C39.2770817,27.2242951 39.2770817,17.9457722 33.4510667,12.2229532 C27.6250517,6.50013419 18.1792151,6.50013419 12.3532001,12.2229532 Z",
7530
- id: "SearchOutline-\u5F62\u72B6",
7571
+ id: "SearchOutline-形状",
7531
7572
  fill: "currentColor",
7532
7573
  fillRule: "nonzero"
7533
7574
  }))));
@@ -7551,9 +7592,9 @@ function SoundOutline(props) {
7551
7592
  fill: "none",
7552
7593
  fillRule: "evenodd"
7553
7594
  }, /* @__PURE__ */ React$4.createElement("g", {
7554
- id: "SoundOutline-\u7F16\u7EC4"
7595
+ id: "SoundOutline-编组"
7555
7596
  }, /* @__PURE__ */ React$4.createElement("rect", {
7556
- id: "SoundOutline-\u77E9\u5F62",
7597
+ id: "SoundOutline-矩形",
7557
7598
  fill: "#FFFFFF",
7558
7599
  opacity: 0,
7559
7600
  x: 0,
@@ -7562,7 +7603,7 @@ function SoundOutline(props) {
7562
7603
  height: 48
7563
7604
  }), /* @__PURE__ */ React$4.createElement("path", {
7564
7605
  d: "M28.267333,7.42364522 C28.6217345,7.94869119 28.8108515,8.56559899 28.8108515,9.19662571 L28.8108515,38.803714 C28.8108515,40.568974 27.3619563,42 25.5746535,42 C24.9357472,42 24.311136,41.8132153 23.7795338,41.4631847 L13.5176584,34.7058449 L8.3149307,34.706256 C5.93186028,34.706256 4,32.7982213 4,30.4445413 L4,17.6593971 C4,15.3057171 5.93186028,13.3976824 8.3149307,13.3976824 L13.3601634,13.3972713 L23.7795338,6.53715498 C25.2666597,5.55796489 27.2759158,5.95486009 28.267333,7.42364522 Z M40.4649231,8.99868666 C40.5511218,9.17742383 40.619996,9.32223121 40.6715457,9.43310881 C42.8085201,14.0295034 44,19.1437027 44,24.532755 C44,29.7837404 42.8687892,34.7737758 40.8339269,39.2781083 C40.7469512,39.4706362 40.6237802,39.7330988 40.4644141,40.0654961 C40.3689469,40.2647533 40.1300031,40.3488277 39.9307715,40.2533072 C39.9306414,40.2532448 39.9305113,40.2531824 39.9303812,40.2531198 C39.6706542,40.1282492 39.4751102,40.0342363 39.3437492,39.9710811 C38.9410401,39.777468 38.6130663,39.619786 38.3598279,39.498035 C38.2070716,39.4245934 38.0007263,39.3253875 37.740792,39.2004172 C37.5419104,39.104853 37.4580092,38.8662856 37.5532468,38.6672473 C37.7034937,38.3532445 37.8197479,38.104744 37.9020095,37.9217457 C39.7416376,33.8293278 40.763802,29.2989389 40.763802,24.532755 C40.763802,19.6931433 39.7099001,15.0966478 37.8164042,10.9549334 C37.7526807,10.8155487 37.6652043,10.6300308 37.5539748,10.3983796 C37.4585265,10.1993116 37.5423279,9.96050973 37.7412949,9.8648511 C37.9298799,9.7741839 38.0818373,9.70112639 38.1971671,9.64567856 C38.5403397,9.48068928 39.0100918,9.2548436 39.6064234,8.9681415 C39.6867211,8.9295363 39.7949893,8.87748349 39.9312282,8.81198307 C40.1301627,8.71623553 40.3690201,8.79982709 40.4649231,8.99868666 Z M24.954689,9.60481048 L14.4401642,16.5275765 C14.3748695,16.5705665 14.2984086,16.5934809 14.2202323,16.5934873 L8.3149307,16.5939685 L8.3149307,16.5939685 C7.76171792,16.5939685 7.30576856,17.0052668 7.24345545,17.5351457 L7.23619803,17.6593971 L7.23619803,30.4445413 C7.23619803,30.9909313 7.65263219,31.4412574 8.18892037,31.502802 L8.31467178,31.50997 L14.3775506,31.5094909 C14.4557573,31.5094847 14.5322502,31.5324045 14.5975676,31.5754153 L24.9546682,38.39546 C25.139173,38.5169545 25.3872345,38.4658746 25.508729,38.2813698 C25.5517339,38.2160614 25.5746535,38.1395804 25.5746535,38.0613845 L25.5746535,9.93889975 C25.5746535,9.71798585 25.3955674,9.53889975 25.1746535,9.53889975 C25.0964661,9.53889975 25.019993,9.56181436 24.954689,9.60481048 Z M34.6436115,11.798648 C34.7547335,12.030794 34.8419854,12.2167889 34.9053671,12.3566328 C36.590502,16.0746763 37.5276039,20.1956294 37.5276039,24.532755 C37.5276039,28.7641394 36.635639,32.7897635 35.0272837,36.4362183 C34.9380427,36.6385449 34.8101552,36.9146706 34.6436211,37.2645952 C34.5486602,37.4640326 34.3100191,37.5487723 34.1105639,37.4538487 C34.1101091,37.4536323 34.1096547,37.453415 34.1092007,37.4531968 C33.9190573,37.3618222 33.7721424,37.2912213 33.6684561,37.2413942 C33.186467,37.0097713 32.80073,36.824403 32.5112451,36.6852892 C32.3647538,36.6148919 32.1675294,36.5201144 31.9195719,36.4009569 C31.7210538,36.3055358 31.6370188,36.067582 31.7316042,35.8686644 C31.8690322,35.5796464 31.9753727,35.3500122 32.0506255,35.1797617 C33.4919206,31.9190071 34.2914059,28.3180945 34.2914059,24.532755 C34.2914059,20.6930477 33.46879,17.0431031 31.9881259,13.7454591 C31.9261905,13.6075203 31.840749,13.424362 31.7318014,13.1959842 C31.636885,12.9969991 31.7208632,12.7587263 31.919573,12.6632348 C32.0929373,12.5799233 32.2332164,12.5125112 32.3404102,12.4609985 C32.6888449,12.2935556 33.1655706,12.0644616 33.7705875,11.7737163 C33.8540198,11.7336223 33.9670458,11.6793068 34.1096655,11.6107699 C34.3087736,11.5152168 34.5476881,11.5990382 34.6433466,11.7980956 C34.643435,11.7982797 34.6435233,11.7984638 34.6436115,11.798648 Z",
7565
- id: "SoundOutline-\u5F62\u72B6",
7606
+ id: "SoundOutline-形状",
7566
7607
  fill: "currentColor",
7567
7608
  fillRule: "nonzero"
7568
7609
  }))));
@@ -7586,9 +7627,9 @@ function TextDeletionOutline(props) {
7586
7627
  fill: "none",
7587
7628
  fillRule: "evenodd"
7588
7629
  }, /* @__PURE__ */ React$4.createElement("g", {
7589
- id: "TextDeletionOutline-\u7F16\u7EC4"
7630
+ id: "TextDeletionOutline-编组"
7590
7631
  }, /* @__PURE__ */ React$4.createElement("rect", {
7591
- id: "TextDeletionOutline-\u77E9\u5F62",
7632
+ id: "TextDeletionOutline-矩形",
7592
7633
  fill: "#FFFFFF",
7593
7634
  opacity: 0,
7594
7635
  x: 0,
@@ -7597,7 +7638,7 @@ function TextDeletionOutline(props) {
7597
7638
  height: 48
7598
7639
  }), /* @__PURE__ */ React$4.createElement("path", {
7599
7640
  d: "M38.5492302,6 C41.5596051,6 44,8.46240906 44,11.499981 L44,35.5 C44,38.5375742 41.5596051,41.000013 38.54923,41.000013 L17.3058462,41.000013 C14.6665152,41.000013 12.2347138,39.555982 10.9529738,37.2279238 L4.91451284,27.0612608 C3.6951623,24.8464932 3.6951623,22.1535354 4.91451335,19.9387516 L10.9529743,9.77208856 C12.234697,7.44403098 14.6665154,6 17.3058464,6 L38.5492302,6 Z M38.5492273,8.74994707 L17.3058465,8.74994707 C15.7329163,8.74994707 14.2719651,9.57120176 13.4439762,10.9206455 L13.3349608,11.1076457 L7.29739408,21.2743087 C6.57566975,22.5850072 6.53495505,24.1690434 7.18837846,25.5157286 L7.29739386,25.7265623 L13.3349605,35.8932253 C14.0992225,37.2803788 15.5202936,38.1698544 17.0914483,38.2444783 L17.3058454,38.2499783 L38.5492292,38.2499783 C39.9923716,38.2499783 41.1854088,37.114979 41.2700704,35.6613101 L41.2746127,35.4999769 L41.2746127,11.4999513 C41.2746127,10.0436198 40.1496291,8.83987037 38.7089651,8.75452144 L38.5492273,8.74994707 Z M22.3492842,17 C22.4547968,17 22.556036,17.0416892 22.6309531,17.1159883 L26.757,21.208 L30.8830469,17.1159883 C30.957964,17.0416892 31.0592032,17 31.1647158,17 L34.2719196,17 C34.4928335,17 34.6719196,17.1790861 34.6719196,17.4 C34.6719196,17.5067321 34.6292639,17.6090378 34.5534423,17.6841566 L28.879,23.306 L34.8245071,29.1968543 C34.9814364,29.3523411 34.9826059,29.6056044 34.8271191,29.7625337 C34.7520011,29.8383486 34.6497001,29.881 34.5429734,29.881 L31.4366959,29.881 C31.331195,29.881 31.2299662,29.8393201 31.1550512,29.7650357 L26.758,25.405 L22.3599432,29.7650669 C22.2850309,29.8393322 22.1838155,29.881 22.07833,29.881 L18.9720266,29.881 C18.7511127,29.881 18.5720266,29.7019139 18.5720266,29.481 C18.5720266,29.3742733 18.614678,29.2719723 18.6904929,29.1968543 L24.636,23.306 L18.9624269,17.6841345 C18.8055037,17.5286415 18.8043444,17.2753782 18.9598374,17.118455 C19.0349545,17.042647 19.1372506,17 19.2439719,17 L22.3492842,17 Z",
7600
- id: "TextDeletionOutline-\u5F62\u72B6\u7ED3\u5408",
7641
+ id: "TextDeletionOutline-形状结合",
7601
7642
  fill: "currentColor",
7602
7643
  fillRule: "nonzero"
7603
7644
  }))));
@@ -7662,17 +7703,17 @@ function computeRubberband(bounds, [Vx, Vy], [Rx, Ry]) {
7662
7703
  const [[X0, X1], [Y0, Y1]] = bounds;
7663
7704
  return [rubberbandIfOutOfBounds$1(Vx, X0, X1, Rx), rubberbandIfOutOfBounds$1(Vy, Y0, Y1, Ry)];
7664
7705
  }
7665
- function _toPrimitive$1(input2, hint) {
7666
- if (typeof input2 !== "object" || input2 === null)
7667
- return input2;
7668
- var prim = input2[Symbol.toPrimitive];
7706
+ function _toPrimitive$1(input, hint) {
7707
+ if (typeof input !== "object" || input === null)
7708
+ return input;
7709
+ var prim = input[Symbol.toPrimitive];
7669
7710
  if (prim !== void 0) {
7670
- var res = prim.call(input2, hint || "default");
7711
+ var res = prim.call(input, hint || "default");
7671
7712
  if (typeof res !== "object")
7672
7713
  return res;
7673
7714
  throw new TypeError("@@toPrimitive must return a primitive value.");
7674
7715
  }
7675
- return (hint === "string" ? String : Number)(input2);
7716
+ return (hint === "string" ? String : Number)(input);
7676
7717
  }
7677
7718
  function _toPropertyKey$1(arg) {
7678
7719
  var key = _toPrimitive$1(arg, "string");
@@ -7877,11 +7918,11 @@ function chain(...fns) {
7877
7918
  if (fns.length === 1)
7878
7919
  return fns[0];
7879
7920
  return function() {
7880
- let result2;
7921
+ let result;
7881
7922
  for (const fn of fns) {
7882
- result2 = fn.apply(this, arguments) || result2;
7923
+ result = fn.apply(this, arguments) || result;
7883
7924
  }
7884
- return result2;
7925
+ return result;
7885
7926
  };
7886
7927
  }
7887
7928
  function assignDefault(value, fallback) {
@@ -9137,26 +9178,26 @@ const sharedConfigResolver = {
9137
9178
  };
9138
9179
  const _excluded$3 = ["target", "eventOptions", "window", "enabled", "transform"];
9139
9180
  function resolveWith(config2 = {}, resolvers) {
9140
- const result2 = {};
9181
+ const result = {};
9141
9182
  for (const [key, resolver] of Object.entries(resolvers)) {
9142
9183
  switch (typeof resolver) {
9143
9184
  case "function":
9144
9185
  {
9145
- const r = resolver.call(result2, config2[key], key, config2);
9186
+ const r = resolver.call(result, config2[key], key, config2);
9146
9187
  if (!Number.isNaN(r))
9147
- result2[key] = r;
9188
+ result[key] = r;
9148
9189
  }
9149
9190
  break;
9150
9191
  case "object":
9151
- result2[key] = resolveWith(config2[key], resolver);
9192
+ result[key] = resolveWith(config2[key], resolver);
9152
9193
  break;
9153
9194
  case "boolean":
9154
9195
  if (resolver)
9155
- result2[key] = config2[key];
9196
+ result[key] = config2[key];
9156
9197
  break;
9157
9198
  }
9158
9199
  }
9159
- return result2;
9200
+ return result;
9160
9201
  }
9161
9202
  function parse(newConfig, gestureKey, _config = {}) {
9162
9203
  const _ref = newConfig, {
@@ -9239,7 +9280,7 @@ class TimeoutStore {
9239
9280
  this._timeouts.clear();
9240
9281
  }
9241
9282
  }
9242
- class Controller {
9283
+ class Controller2 {
9243
9284
  constructor(handlers) {
9244
9285
  _defineProperty$1(this, "gestures", /* @__PURE__ */ new Set());
9245
9286
  _defineProperty$1(this, "_targetEventStore", new EventStore(this));
@@ -9420,7 +9461,7 @@ function parseMergedHandlers(mergedHandlers, mergedConfig) {
9420
9461
  };
9421
9462
  }
9422
9463
  function useRecognizers(handlers, config2 = {}, gestureKey, nativeHandlers) {
9423
- const ctrl = React__default.useMemo(() => new Controller(handlers), []);
9464
+ const ctrl = React__default.useMemo(() => new Controller2(handlers), []);
9424
9465
  ctrl.applyHandlers(handlers, nativeHandlers);
9425
9466
  ctrl.applyConfig(config2, gestureKey);
9426
9467
  React__default.useEffect(ctrl.effect.bind(ctrl));
@@ -9460,7 +9501,7 @@ const defaultProps$14 = Object.assign(Object.assign({}, defaultPopupBaseProps),
9460
9501
  closeOnSwipe: false,
9461
9502
  position: "bottom"
9462
9503
  });
9463
- const Popup$1 = (p) => {
9504
+ const Popup = (p) => {
9464
9505
  const props = mergeProps(defaultProps$14, p);
9465
9506
  const bodyCls = classNames(`${classPrefix$1o}-body`, props.bodyClassName, `${classPrefix$1o}-body-position-${props.position}`);
9466
9507
  const {
@@ -9569,15 +9610,12 @@ const Popup$1 = (p) => {
9569
9610
  destroyOnClose: props.destroyOnClose
9570
9611
  }, renderToContainer(props.getContainer, node));
9571
9612
  };
9572
- const Popup = Popup$1;
9573
- const safeArea = "";
9574
9613
  const classPrefix$1n = "adm-safe-area";
9575
- const SafeArea$1 = (props) => {
9614
+ const SafeArea = (props) => {
9576
9615
  return withNativeProps(props, React__default.createElement("div", {
9577
9616
  className: classNames(classPrefix$1n, `${classPrefix$1n}-position-${props.position}`)
9578
9617
  }));
9579
9618
  };
9580
- const SafeArea = SafeArea$1;
9581
9619
  const fullClone = Object.assign({}, ReactDOM);
9582
9620
  const {
9583
9621
  version,
@@ -9787,38 +9825,35 @@ const ActionSheet = (p) => {
9787
9825
  function showActionSheet(props) {
9788
9826
  return renderImperatively(React__default.createElement(ActionSheet, Object.assign({}, props)));
9789
9827
  }
9790
- const index$j = attachPropertiesToComponent(ActionSheet, {
9828
+ const index$i = attachPropertiesToComponent(ActionSheet, {
9791
9829
  show: showActionSheet
9792
9830
  });
9793
- const autoCenter = "";
9794
9831
  const classPrefix$1l = "adm-auto-center";
9795
- const AutoCenter$1 = (props) => withNativeProps(props, React__default.createElement("div", {
9832
+ const AutoCenter = (props) => withNativeProps(props, React__default.createElement("div", {
9796
9833
  className: classPrefix$1l
9797
9834
  }, React__default.createElement("div", {
9798
9835
  className: `${classPrefix$1l}-content`
9799
9836
  }, props.children)));
9800
- const AutoCenter = AutoCenter$1;
9801
- const avatar = "";
9802
9837
  const Fallback = memo(() => React__default.createElement("svg", {
9803
9838
  className: "adm-avatar-fallback",
9804
9839
  width: "88px",
9805
9840
  height: "88px",
9806
9841
  viewBox: "0 0 88 88",
9807
9842
  version: "1.1"
9808
- }, React__default.createElement("title", null, "\u7F16\u7EC4 3"), React__default.createElement("defs", null, React__default.createElement("polygon", {
9843
+ }, React__default.createElement("title", null, "编组 3"), React__default.createElement("defs", null, React__default.createElement("polygon", {
9809
9844
  id: "path-1",
9810
9845
  points: "0 0 88 0 88 88 0 88"
9811
9846
  })), React__default.createElement("g", {
9812
- id: "\u9875\u9762-1",
9847
+ id: "页面-1",
9813
9848
  stroke: "none",
9814
9849
  strokeWidth: "1",
9815
9850
  fill: "none",
9816
9851
  fillRule: "evenodd"
9817
9852
  }, React__default.createElement("g", {
9818
- id: "\u8BED\u96C0",
9853
+ id: "语雀",
9819
9854
  transform: "translate(-495.000000, -71.000000)"
9820
9855
  }, React__default.createElement("g", {
9821
- id: "\u7F16\u7EC4-3",
9856
+ id: "编组-3",
9822
9857
  transform: "translate(495.000000, 71.000000)"
9823
9858
  }, React__default.createElement("mask", {
9824
9859
  id: "mask-2",
@@ -9832,12 +9867,11 @@ const Fallback = memo(() => React__default.createElement("svg", {
9832
9867
  xlinkHref: "#path-1"
9833
9868
  }), React__default.createElement("path", {
9834
9869
  d: "M44.5707528,16 L43.4292117,16 L42.9575197,16.0086403 L42.9575195,16.0086403 C36.5215787,16.2615464 31.4341803,21.5678078 31.4344832,28.0273864 L31.4344832,34.7776551 L31.4495601,35.3716788 L31.4495593,35.3716628 C31.599687,38.5368723 32.9422041,41.5269327 35.2058513,43.7376716 L38.2147759,46.6775505 L38.4086219,46.8913989 C38.7747759,47.3385365 38.9750835,47.9001589 38.9750835,48.4833848 L38.9750835,48.8938006 L38.9556989,49.1897326 L38.9556989,49.1897325 C38.8577746,49.9812662 38.3754713,50.67284 37.667703,51.036605 L18.7375269,60.7440265 L18.4101421,60.9276334 L18.4101423,60.9276333 C16.9141658,61.8418636 16.0009389,63.4714674 16,65.2283758 L16,66.070809 L16.0129231,66.3948217 C16.1766149,68.4123376 17.860922,70 19.91569,70 L68.0843101,70 L68.08431,70 C70.2460467,70 71.9988087,68.243122 72,66.0751224 L72,65.2326893 C72,63.3382982 70.9446194,61.6037466 69.2624598,60.7440295 L50.3322837,51.036608 L50.3322835,51.0366079 C49.5291218,50.6249082 49.0240448,49.7962466 49.024903,48.8916436 L49.024903,48.4812278 C49.024903,47.8029608 49.3005955,47.1527756 49.7852106,46.6775603 L52.7941352,43.7376813 L52.7941354,43.7376811 C55.204308,41.3832325 56.5636029,38.151975 56.5633606,34.7776456 L56.5633606,28.0273769 L56.5633606,28.0273774 C56.5633606,21.3848531 51.1940878,16 44.5707524,16 L44.5707528,16 Z",
9835
- id: "\u5F62\u72B6",
9870
+ id: "形状",
9836
9871
  fill: "#CCCCCC",
9837
9872
  fillRule: "nonzero",
9838
9873
  mask: "url(#mask-2)"
9839
9874
  }))))));
9840
- const image = "";
9841
9875
  var stagedComponents = {};
9842
9876
  var __importDefault = commonjsGlobal && commonjsGlobal.__importDefault || function(mod) {
9843
9877
  return mod && mod.__esModule ? mod : { "default": mod };
@@ -9907,7 +9941,7 @@ const defaultProps$12 = {
9907
9941
  lazy: false,
9908
9942
  draggable: false
9909
9943
  };
9910
- const Image$2 = staged_1((p) => {
9944
+ const Image$1 = staged_1((p) => {
9911
9945
  const props = mergeProps(defaultProps$12, p);
9912
9946
  const [loaded, setLoaded] = useState$1(false);
9913
9947
  const [failed, setFailed] = useState$1(false);
@@ -9984,13 +10018,12 @@ const Image$2 = staged_1((p) => {
9984
10018
  }
9985
10019
  }), renderInner()));
9986
10020
  });
9987
- const Image$1 = Image$2;
9988
10021
  const classPrefix$1j = "adm-avatar";
9989
10022
  const defaultProps$11 = {
9990
10023
  fallback: React__default.createElement(Fallback, null),
9991
10024
  fit: "cover"
9992
10025
  };
9993
- const Avatar$1 = (p) => {
10026
+ const Avatar = (p) => {
9994
10027
  const props = mergeProps(defaultProps$11, p);
9995
10028
  return withNativeProps(props, React__default.createElement(Image$1, {
9996
10029
  className: classPrefix$1j,
@@ -10005,8 +10038,6 @@ const Avatar$1 = (p) => {
10005
10038
  onLoad: props.onLoad
10006
10039
  }));
10007
10040
  };
10008
- const Avatar = Avatar$1;
10009
- const badge = "";
10010
10041
  const classPrefix$1i = `adm-badge`;
10011
10042
  const dot = React__default.createElement(React__default.Fragment, null);
10012
10043
  const Badge$1 = (props) => {
@@ -10037,8 +10068,6 @@ const Badge$1 = (props) => {
10037
10068
  const Badge = attachPropertiesToComponent(Badge$1, {
10038
10069
  dot
10039
10070
  });
10040
- const button = "";
10041
- const dotLoading = "";
10042
10071
  const classPrefix$1h = `adm-dot-loading`;
10043
10072
  const colorRecord$3 = {
10044
10073
  default: "var(--adm-color-weak)",
@@ -10048,7 +10077,7 @@ const colorRecord$3 = {
10048
10077
  const defaultProps$10 = {
10049
10078
  color: "default"
10050
10079
  };
10051
- const DotLoading$2 = memo((p) => {
10080
+ const DotLoading = memo((p) => {
10052
10081
  var _a;
10053
10082
  const props = mergeProps(defaultProps$10, p);
10054
10083
  return withNativeProps(props, React__default.createElement("div", {
@@ -10092,7 +10121,6 @@ const DotLoading$2 = memo((p) => {
10092
10121
  keyTimes: "0; 0.1; 0.3; 0.4; 1"
10093
10122
  }))))))))));
10094
10123
  });
10095
- const DotLoading$1 = DotLoading$2;
10096
10124
  function isPromise(obj) {
10097
10125
  return !!obj && typeof obj === "object" && typeof obj.then === "function";
10098
10126
  }
@@ -10105,14 +10133,14 @@ const defaultProps$$ = {
10105
10133
  fill: "solid",
10106
10134
  block: false,
10107
10135
  loading: false,
10108
- loadingIcon: React__default.createElement(DotLoading$1, {
10136
+ loadingIcon: React__default.createElement(DotLoading, {
10109
10137
  color: "currentColor"
10110
10138
  }),
10111
10139
  type: "button",
10112
10140
  shape: "default",
10113
10141
  size: "middle"
10114
10142
  };
10115
- const Button$1 = forwardRef((p, ref) => {
10143
+ const Button = forwardRef((p, ref) => {
10116
10144
  const props = mergeProps(defaultProps$$, p);
10117
10145
  const [innerLoading, setInnerLoading] = useState$1(false);
10118
10146
  const nativeButtonRef = useRef(null);
@@ -10162,8 +10190,6 @@ const Button$1 = forwardRef((p, ref) => {
10162
10190
  className: `${classPrefix$1g}-loading-wrapper`
10163
10191
  }, props.loadingIcon, props.loadingText) : React__default.createElement("span", null, props.children)));
10164
10192
  });
10165
- const Button = Button$1;
10166
- const calendar = "";
10167
10193
  const ArrowLeft = () => {
10168
10194
  return React__default.createElement("svg", {
10169
10195
  height: "1em",
@@ -10246,7 +10272,8 @@ var isoWeek$1 = { exports: {} };
10246
10272
  };
10247
10273
  });
10248
10274
  })(isoWeek$1);
10249
- const isoWeek = isoWeek$1.exports;
10275
+ var isoWeekExports = isoWeek$1.exports;
10276
+ const isoWeek = /* @__PURE__ */ getDefaultExportFromCjs(isoWeekExports);
10250
10277
  function usePropsValue(options) {
10251
10278
  const {
10252
10279
  value,
@@ -10274,14 +10301,13 @@ function replaceMessage$1(template, kv) {
10274
10301
  return kv[key];
10275
10302
  });
10276
10303
  }
10277
- const isDev = true;
10278
10304
  function devWarning(component, message) {
10279
- if (isDev) {
10305
+ {
10280
10306
  console.warn(`[antd-mobile: ${component}] ${message}`);
10281
10307
  }
10282
10308
  }
10283
10309
  function devError(component, message) {
10284
- if (isDev) {
10310
+ {
10285
10311
  console.error(`[antd-mobile: ${component}] ${message}`);
10286
10312
  }
10287
10313
  }
@@ -10307,7 +10333,7 @@ const defaultProps$_ = {
10307
10333
  nextMonthButton: React__default.createElement(ArrowLeft, null),
10308
10334
  nextYearButton: React__default.createElement(ArrowLeftDouble, null)
10309
10335
  };
10310
- const Calendar$1 = forwardRef((p, ref) => {
10336
+ const Calendar = forwardRef((p, ref) => {
10311
10337
  const today = dayjs();
10312
10338
  const props = mergeProps(defaultProps$_, p);
10313
10339
  const {
@@ -10507,14 +10533,12 @@ const Calendar$1 = forwardRef((p, ref) => {
10507
10533
  className: classPrefix$1f
10508
10534
  }, header, mark, body));
10509
10535
  });
10510
- const Calendar = Calendar$1;
10511
- const divider = "";
10512
10536
  const classPrefix$1e = `adm-divider`;
10513
10537
  const defaultProps$Z = {
10514
10538
  contentPosition: "center",
10515
10539
  direction: "horizontal"
10516
10540
  };
10517
- const Divider$1 = (p) => {
10541
+ const Divider = (p) => {
10518
10542
  const props = mergeProps(defaultProps$Z, p);
10519
10543
  return withNativeProps(props, React__default.createElement("div", {
10520
10544
  className: classNames(classPrefix$1e, `${classPrefix$1e}-${props.direction}`, `${classPrefix$1e}-${props.contentPosition}`)
@@ -10522,8 +10546,6 @@ const Divider$1 = (p) => {
10522
10546
  className: `${classPrefix$1e}-content`
10523
10547
  }, props.children)));
10524
10548
  };
10525
- const Divider = Divider$1;
10526
- const calendarPickerView = "";
10527
10549
  var isSameOrBefore$1 = { exports: {} };
10528
10550
  (function(module, exports) {
10529
10551
  !function(e2, i2) {
@@ -10536,7 +10558,8 @@ var isSameOrBefore$1 = { exports: {} };
10536
10558
  };
10537
10559
  });
10538
10560
  })(isSameOrBefore$1);
10539
- const isSameOrBefore = isSameOrBefore$1.exports;
10561
+ var isSameOrBeforeExports = isSameOrBefore$1.exports;
10562
+ const isSameOrBefore = /* @__PURE__ */ getDefaultExportFromCjs(isSameOrBeforeExports);
10540
10563
  function convertValueToRange(selectionMode, value) {
10541
10564
  if (selectionMode === void 0 || value === null)
10542
10565
  return null;
@@ -10558,7 +10581,7 @@ const defaultProps$Y = {
10558
10581
  usePopup: true,
10559
10582
  selectionMode: "single"
10560
10583
  };
10561
- const CalendarPickerView$1 = forwardRef((p, ref) => {
10584
+ const CalendarPickerView = forwardRef((p, ref) => {
10562
10585
  var _a;
10563
10586
  const today = dayjs();
10564
10587
  const props = mergeProps(defaultProps$Y, p);
@@ -10747,7 +10770,6 @@ const CalendarPickerView$1 = forwardRef((p, ref) => {
10747
10770
  className: classPrefix$1d
10748
10771
  }, header, mark, body));
10749
10772
  });
10750
- const CalendarPickerView = CalendarPickerView$1;
10751
10773
  const classPrefix$1c = "adm-calendar-picker";
10752
10774
  const defaultProps$X = {
10753
10775
  weekStartsOn: "Sunday",
@@ -10756,7 +10778,7 @@ const defaultProps$X = {
10756
10778
  usePopup: true,
10757
10779
  selectionMode: "single"
10758
10780
  };
10759
- const CalendarPicker$1 = forwardRef((p, ref) => {
10781
+ const CalendarPicker = forwardRef((p, ref) => {
10760
10782
  const props = mergeProps(defaultProps$X, p);
10761
10783
  const {
10762
10784
  locale
@@ -10775,7 +10797,7 @@ const CalendarPicker$1 = forwardRef((p, ref) => {
10775
10797
  onMaskClick,
10776
10798
  getContainer
10777
10799
  } = props, calendarViewProps = __rest(props, ["visible", "confirmText", "popupClassName", "popupStyle", "popupBodyStyle", "forceRender", "closeOnMaskClick", "onClose", "onConfirm", "onMaskClick", "getContainer"]);
10778
- const footer2 = React__default.createElement("div", {
10800
+ const footer = React__default.createElement("div", {
10779
10801
  className: `${classPrefix$1c}-footer`
10780
10802
  }, React__default.createElement(Divider, null), React__default.createElement("div", {
10781
10803
  className: `${classPrefix$1c}-footer-bottom`
@@ -10816,10 +10838,8 @@ const CalendarPicker$1 = forwardRef((p, ref) => {
10816
10838
  getContainer
10817
10839
  }, React__default.createElement(CalendarPickerView, Object.assign({
10818
10840
  ref: calendarRef
10819
- }, calendarViewProps)), footer2)));
10841
+ }, calendarViewProps)), footer)));
10820
10842
  });
10821
- const CalendarPicker = CalendarPicker$1;
10822
- const capsuleTabs = "";
10823
10843
  function useResizeEffect(effect, targetRef) {
10824
10844
  const fn = useMemoizedFn(effect);
10825
10845
  useIsomorphicLayoutEffect$2(() => {
@@ -10918,9 +10938,8 @@ const useTabListScroll = (targetRef, activeIndex) => {
10918
10938
  animate
10919
10939
  };
10920
10940
  };
10921
- const scrollMask = "";
10922
10941
  const classPrefix$1b = `adm-scroll-mask`;
10923
- const ScrollMask$1 = (props) => {
10942
+ const ScrollMask = (props) => {
10924
10943
  const maskRef = useRef(null);
10925
10944
  const [{
10926
10945
  leftMaskOpacity,
@@ -10935,8 +10954,8 @@ const ScrollMask$1 = (props) => {
10935
10954
  const {
10936
10955
  run: updateMask
10937
10956
  } = useThrottleFn((immediate = false) => {
10938
- const mask2 = maskRef.current;
10939
- if (!mask2)
10957
+ const mask = maskRef.current;
10958
+ if (!mask)
10940
10959
  return;
10941
10960
  const scrollEl = props.scrollTrackRef.current;
10942
10961
  if (!scrollEl)
@@ -10977,7 +10996,6 @@ const ScrollMask$1 = (props) => {
10977
10996
  }
10978
10997
  }));
10979
10998
  };
10980
- const ScrollMask = ScrollMask$1;
10981
10999
  var reactIs$1 = { exports: {} };
10982
11000
  var reactIs_development$1 = {};
10983
11001
  /**
@@ -11022,7 +11040,11 @@ var reactIs_development$1 = {};
11022
11040
  return true;
11023
11041
  }
11024
11042
  if (typeof type4 === "object" && type4 !== null) {
11025
- if (type4.$$typeof === REACT_LAZY_TYPE || type4.$$typeof === REACT_MEMO_TYPE || type4.$$typeof === REACT_PROVIDER_TYPE || type4.$$typeof === REACT_CONTEXT_TYPE || type4.$$typeof === REACT_FORWARD_REF_TYPE || type4.$$typeof === REACT_MODULE_REFERENCE || type4.getModuleId !== void 0) {
11043
+ if (type4.$$typeof === REACT_LAZY_TYPE || type4.$$typeof === REACT_MEMO_TYPE || type4.$$typeof === REACT_PROVIDER_TYPE || type4.$$typeof === REACT_CONTEXT_TYPE || type4.$$typeof === REACT_FORWARD_REF_TYPE || // This needs to include all possible module reference object
11044
+ // types supported by any Flight configuration anywhere since
11045
+ // we don't know which Flight build this will end up being used
11046
+ // with.
11047
+ type4.$$typeof === REACT_MODULE_REFERENCE || type4.getModuleId !== void 0) {
11026
11048
  return true;
11027
11049
  }
11028
11050
  }
@@ -11159,16 +11181,15 @@ var reactIs_development$1 = {};
11159
11181
  reactIs_development$1.typeOf = typeOf;
11160
11182
  })();
11161
11183
  }
11162
- (function(module) {
11163
- {
11164
- module.exports = reactIs_development$1;
11165
- }
11166
- })(reactIs$1);
11184
+ {
11185
+ reactIs$1.exports = reactIs_development$1;
11186
+ }
11187
+ var reactIsExports$1 = reactIs$1.exports;
11167
11188
  function traverseReactNode(children, fn) {
11168
11189
  let i2 = 0;
11169
11190
  function handle(target) {
11170
11191
  React__default.Children.forEach(target, (child) => {
11171
- if (!reactIs$1.exports.isFragment(child)) {
11192
+ if (!reactIsExports$1.isFragment(child)) {
11172
11193
  fn(child, i2);
11173
11194
  i2 += 1;
11174
11195
  } else {
@@ -11264,12 +11285,11 @@ const CapsuleTabs = (props) => {
11264
11285
  }, pane.props.children));
11265
11286
  })));
11266
11287
  };
11267
- const index$i = attachPropertiesToComponent(CapsuleTabs, {
11288
+ const index$h = attachPropertiesToComponent(CapsuleTabs, {
11268
11289
  Tab: CapsuleTab
11269
11290
  });
11270
- const card = "";
11271
11291
  const classPrefix$19 = `adm-card`;
11272
- const Card$1 = (props) => {
11292
+ const Card = (props) => {
11273
11293
  const renderHeader = () => {
11274
11294
  if (!(props.title || props.extra)) {
11275
11295
  return null;
@@ -11297,8 +11317,6 @@ const Card$1 = (props) => {
11297
11317
  onClick: props.onClick
11298
11318
  }, renderHeader(), renderBody()));
11299
11319
  };
11300
- const Card = Card$1;
11301
- const picker = "";
11302
11320
  function rubberband(distance, dimension, constant2) {
11303
11321
  return distance * dimension * constant2 / (dimension + constant2 * distance);
11304
11322
  }
@@ -11503,7 +11521,7 @@ const Wheel = memo((props) => {
11503
11521
  }, React__default.createElement("div", {
11504
11522
  className: `${classPrefix$18}-column-accessible-current`,
11505
11523
  role: "button",
11506
- "aria-label": current ? `\u5F53\u524D\u9009\u62E9\u7684\u662F\uFF1A${current.label}` : "\u5F53\u524D\u672A\u9009\u62E9"
11524
+ "aria-label": current ? `当前选择的是:${current.label}` : "当前未选择"
11507
11525
  }, "-"), React__default.createElement("div", {
11508
11526
  className: `${classPrefix$18}-column-accessible-button`,
11509
11527
  onClick: () => {
@@ -11512,7 +11530,7 @@ const Wheel = memo((props) => {
11512
11530
  scrollSelect(previousIndex);
11513
11531
  },
11514
11532
  role: previous ? "button" : "text",
11515
- "aria-label": !previous ? "\u6CA1\u6709\u4E0A\u4E00\u9879" : `\u9009\u62E9\u4E0A\u4E00\u9879\uFF1A${previous.label}`
11533
+ "aria-label": !previous ? "没有上一项" : `选择上一项:${previous.label}`
11516
11534
  }, "-"), React__default.createElement("div", {
11517
11535
  className: `${classPrefix$18}-column-accessible-button`,
11518
11536
  onClick: () => {
@@ -11521,7 +11539,7 @@ const Wheel = memo((props) => {
11521
11539
  scrollSelect(nextIndex);
11522
11540
  },
11523
11541
  role: next ? "button" : "text",
11524
- "aria-label": !next ? "\u6CA1\u6709\u4E0B\u4E00\u9879" : `\u9009\u62E9\u4E0B\u4E00\u9879\uFF1A${next.label}`
11542
+ "aria-label": !next ? "没有下一项" : `选择下一项:${next.label}`
11525
11543
  }, "-"));
11526
11544
  }
11527
11545
  return React__default.createElement("div", {
@@ -11567,7 +11585,7 @@ const Wheel = memo((props) => {
11567
11585
  return false;
11568
11586
  if (prev.mouseWheel !== next.mouseWheel)
11569
11587
  return false;
11570
- if (!isEqual_1(prev.column, next.column))
11588
+ if (!isEqual$2(prev.column, next.column))
11571
11589
  return false;
11572
11590
  return true;
11573
11591
  });
@@ -11612,7 +11630,6 @@ function useColumnsExtend(rawColumns, value) {
11612
11630
  return useMemo(() => generateColumnsExtend(rawColumns, value), [rawColumns, value]);
11613
11631
  }
11614
11632
  const defaultRenderLabel = (item) => item.label;
11615
- const spinLoading = "";
11616
11633
  var shim = { exports: {} };
11617
11634
  var useSyncExternalStoreShim_development = {};
11618
11635
  /**
@@ -11738,11 +11755,10 @@ var useSyncExternalStoreShim_development = {};
11738
11755
  }
11739
11756
  })();
11740
11757
  }
11741
- (function(module) {
11742
- {
11743
- module.exports = useSyncExternalStoreShim_development;
11744
- }
11745
- })(shim);
11758
+ {
11759
+ shim.exports = useSyncExternalStoreShim_development;
11760
+ }
11761
+ var shimExports = shim.exports;
11746
11762
  let reduced = false;
11747
11763
  const subscribers = /* @__PURE__ */ new Set();
11748
11764
  function notify() {
@@ -11774,7 +11790,7 @@ function subscribe(onStoreChange) {
11774
11790
  };
11775
11791
  }
11776
11792
  function useMotionReduced() {
11777
- return shim.exports.useSyncExternalStore(subscribe, isMotionReduced, isMotionReduced);
11793
+ return shimExports.useSyncExternalStore(subscribe, isMotionReduced, isMotionReduced);
11778
11794
  }
11779
11795
  const classPrefix$17 = "adm-spin-loading";
11780
11796
  const colorRecord$2 = {
@@ -11786,7 +11802,7 @@ const defaultProps$W = {
11786
11802
  color: "default"
11787
11803
  };
11788
11804
  const circumference = 15 * 3.14159265358979 * 2;
11789
- const SpinLoading$1 = memo((p) => {
11805
+ const SpinLoading = memo((p) => {
11790
11806
  var _a;
11791
11807
  const props = mergeProps(defaultProps$W, p);
11792
11808
  const motionReduced = useMotionReduced();
@@ -11828,7 +11844,6 @@ const SpinLoading$1 = memo((p) => {
11828
11844
  cy: 16
11829
11845
  }))));
11830
11846
  });
11831
- const SpinLoading = SpinLoading$1;
11832
11847
  const classPrefix$16 = `adm-picker-view`;
11833
11848
  const defaultProps$V = {
11834
11849
  defaultValue: [],
@@ -11838,7 +11853,7 @@ const defaultProps$V = {
11838
11853
  className: `${classPrefix$16}-loading-content`
11839
11854
  }, React__default.createElement(SpinLoading, null))
11840
11855
  };
11841
- const PickerView$1 = memo((p) => {
11856
+ const PickerView = memo((p) => {
11842
11857
  const props = mergeProps(defaultProps$V, p);
11843
11858
  const [innerValue, setInnerValue] = useState$1(props.value === void 0 ? props.defaultValue : props.value);
11844
11859
  useEffect(() => {
@@ -11899,9 +11914,7 @@ const PickerView$1 = memo((p) => {
11899
11914
  className: `${classPrefix$16}-mask-bottom`
11900
11915
  })))));
11901
11916
  });
11902
- PickerView$1.displayName = "PickerView";
11903
- const pickerView = "";
11904
- const PickerView = PickerView$1;
11917
+ PickerView.displayName = "PickerView";
11905
11918
  const classPrefix$15 = `adm-picker`;
11906
11919
  const defaultProps$U = {
11907
11920
  defaultValue: [],
@@ -12139,10 +12152,10 @@ function prompt$2(props) {
12139
12152
  const unmount2 = renderToBody(React__default.createElement(Wrapper2, null));
12140
12153
  });
12141
12154
  }
12142
- const index$h = attachPropertiesToComponent(CascadePicker, {
12155
+ const index$g = attachPropertiesToComponent(CascadePicker, {
12143
12156
  prompt: prompt$2
12144
12157
  });
12145
- const CascadePickerView$1 = (props) => {
12158
+ const CascadePickerView = (props) => {
12146
12159
  const {
12147
12160
  options
12148
12161
  } = props, pickerProps = __rest(props, ["options"]);
@@ -12151,9 +12164,6 @@ const CascadePickerView$1 = (props) => {
12151
12164
  columns: columnsFn
12152
12165
  }));
12153
12166
  };
12154
- const CascadePickerView = CascadePickerView$1;
12155
- const cascaderView = "";
12156
- const tabs = "";
12157
12167
  const classPrefix$14 = `adm-tabs`;
12158
12168
  const Tab = () => {
12159
12169
  return null;
@@ -12197,7 +12207,7 @@ const Tabs$1 = (p) => {
12197
12207
  const [{
12198
12208
  x,
12199
12209
  width
12200
- }, api] = useSpring(() => ({
12210
+ }, inkApi] = useSpring(() => ({
12201
12211
  x: 0,
12202
12212
  width: 0,
12203
12213
  config: {
@@ -12224,13 +12234,13 @@ const Tabs$1 = (p) => {
12224
12234
  clamp: true
12225
12235
  }
12226
12236
  }));
12227
- function animate(immediate = false) {
12237
+ function animate(immediate = false, fromMutation = false) {
12228
12238
  const container = tabListContainerRef.current;
12229
12239
  if (!container)
12230
12240
  return;
12231
12241
  const activeIndex = keyToIndexRecord[activeKey];
12232
12242
  if (activeIndex === void 0) {
12233
- api.start({
12243
+ inkApi.start({
12234
12244
  x: 0,
12235
12245
  width: 0,
12236
12246
  immediate: true
@@ -12265,7 +12275,7 @@ const Tabs$1 = (p) => {
12265
12275
  const w = ["auto", "full"].includes(props.activeLineMode) ? width2 : activeLineWidth;
12266
12276
  x2 = -(containerWidth - x2 - w);
12267
12277
  }
12268
- api.start({
12278
+ inkApi.start({
12269
12279
  x: x2,
12270
12280
  width: width2,
12271
12281
  immediate
@@ -12279,13 +12289,15 @@ const Tabs$1 = (p) => {
12279
12289
  } else {
12280
12290
  nextScrollLeft = bound(activeTabLeft - (containerWidth - activeTabWidth) / 2, 0, maxScrollDistance);
12281
12291
  }
12282
- scrollApi.start({
12283
- scrollLeft: nextScrollLeft,
12284
- from: {
12285
- scrollLeft: containerScrollLeft
12286
- },
12287
- immediate
12288
- });
12292
+ if (!fromMutation || props.autoScroll !== false) {
12293
+ scrollApi.start({
12294
+ scrollLeft: nextScrollLeft,
12295
+ from: {
12296
+ scrollLeft: containerScrollLeft
12297
+ },
12298
+ immediate
12299
+ });
12300
+ }
12289
12301
  }
12290
12302
  useIsomorphicLayoutEffect$2(() => {
12291
12303
  animate(!x.isAnimating);
@@ -12297,7 +12309,7 @@ const Tabs$1 = (p) => {
12297
12309
  animate(!x.isAnimating);
12298
12310
  }, tabListContainerRef);
12299
12311
  useMutationEffect(() => {
12300
- animate(!x.isAnimating);
12312
+ animate(!x.isAnimating, true);
12301
12313
  }, tabListContainerRef, {
12302
12314
  subtree: true,
12303
12315
  childList: true,
@@ -12406,8 +12418,6 @@ const Tabs$1 = (p) => {
12406
12418
  const Tabs = attachPropertiesToComponent(Tabs$1, {
12407
12419
  Tab
12408
12420
  });
12409
- const checkList = "";
12410
- const list = "";
12411
12421
  const classPrefix$13 = `adm-list`;
12412
12422
  const defaultProps$S = {
12413
12423
  mode: "default"
@@ -12553,22 +12563,23 @@ function memoize(func, resolver) {
12553
12563
  if (cache.has(key)) {
12554
12564
  return cache.get(key);
12555
12565
  }
12556
- var result2 = func.apply(this, args);
12557
- memoized.cache = cache.set(key, result2) || cache;
12558
- return result2;
12566
+ var result = func.apply(this, args);
12567
+ memoized.cache = cache.set(key, result) || cache;
12568
+ return result;
12559
12569
  };
12560
12570
  memoized.cache = new (memoize.Cache || MapCache)();
12561
12571
  return memoized;
12562
12572
  }
12563
12573
  memoize.Cache = MapCache;
12564
12574
  var memoize_1 = memoize;
12575
+ const memoize$1 = /* @__PURE__ */ getDefaultExportFromCjs(memoize_1);
12565
12576
  function useCascaderValueExtend(options, fieldNames) {
12566
12577
  const {
12567
12578
  valueName,
12568
12579
  childrenName
12569
12580
  } = fieldNames;
12570
12581
  const generateItems = useMemo(() => {
12571
- return memoize_1((val) => {
12582
+ return memoize$1((val) => {
12572
12583
  const ret = [];
12573
12584
  let currentOptions = options;
12574
12585
  for (const v of val) {
@@ -12585,7 +12596,7 @@ function useCascaderValueExtend(options, fieldNames) {
12585
12596
  }, (val) => JSON.stringify(val));
12586
12597
  }, [options]);
12587
12598
  const generateIsLeaf = useMemo(() => {
12588
- return memoize_1((val) => {
12599
+ return memoize$1((val) => {
12589
12600
  const children = val.reduce((currentOptions, v) => {
12590
12601
  var _a;
12591
12602
  return ((_a = currentOptions.find((option) => option[valueName] === v)) === null || _a === void 0 ? void 0 : _a[childrenName]) || [];
@@ -12606,7 +12617,6 @@ function useCascaderValueExtend(options, fieldNames) {
12606
12617
  return generateValueExtend;
12607
12618
  }
12608
12619
  const optionSkeleton = [];
12609
- const skeleton = "";
12610
12620
  function generateIntArray(from, to2) {
12611
12621
  const array4 = [];
12612
12622
  for (let i2 = from; i2 <= to2; i2++) {
@@ -12914,17 +12924,15 @@ function prompt$1(props) {
12914
12924
  const unmount2 = renderToBody(React__default.createElement(Wrapper2, null));
12915
12925
  });
12916
12926
  }
12917
- const cascader = "";
12918
- const index$g = attachPropertiesToComponent(Cascader, {
12927
+ const index$f = attachPropertiesToComponent(Cascader, {
12919
12928
  prompt: prompt$1,
12920
12929
  optionSkeleton
12921
12930
  });
12922
- const centerPopup = "";
12923
12931
  const classPrefix$Y = "adm-center-popup";
12924
12932
  const defaultProps$O = Object.assign(Object.assign({}, defaultPopupBaseProps), {
12925
12933
  getContainer: null
12926
12934
  });
12927
- const CenterPopup$1 = (p) => {
12935
+ const CenterPopup = (p) => {
12928
12936
  const props = mergeProps(defaultProps$O, p);
12929
12937
  const unmountedRef = useUnmountedRef$1();
12930
12938
  const style = useSpring({
@@ -13004,8 +13012,6 @@ const CenterPopup$1 = (p) => {
13004
13012
  destroyOnClose: props.destroyOnClose
13005
13013
  }, renderToContainer(props.getContainer, node));
13006
13014
  };
13007
- const CenterPopup = CenterPopup$1;
13008
- const checkbox = "";
13009
13015
  const CheckboxGroupContext = createContext(null);
13010
13016
  const defaultProps$N = {
13011
13017
  disabled: false,
@@ -13017,6 +13023,7 @@ const Group$1 = (p) => {
13017
13023
  return React__default.createElement(
13018
13024
  CheckboxGroupContext.Provider,
13019
13025
  {
13026
+ // TODO: 性能优化
13020
13027
  value: {
13021
13028
  value,
13022
13029
  disabled: props.disabled,
@@ -13062,10 +13069,10 @@ const NativeInput = (props) => {
13062
13069
  return;
13063
13070
  if (!inputRef.current)
13064
13071
  return;
13065
- const input2 = inputRef.current;
13066
- input2.addEventListener("click", handleClick);
13072
+ const input = inputRef.current;
13073
+ input.addEventListener("click", handleClick);
13067
13074
  return () => {
13068
- input2.removeEventListener("click", handleClick);
13075
+ input.removeEventListener("click", handleClick);
13069
13076
  };
13070
13077
  }, [props.disabled, props.onChange]);
13071
13078
  return React__default.createElement("input", {
@@ -13096,7 +13103,7 @@ const Checkbox$1 = forwardRef((p, ref) => {
13096
13103
  value
13097
13104
  } = props;
13098
13105
  if (groupContext && value !== void 0) {
13099
- if (isDev) {
13106
+ {
13100
13107
  if (p.checked !== void 0) {
13101
13108
  devWarning("Checkbox", "When used within `Checkbox.Group`, the `checked` prop of `Checkbox` will not work.");
13102
13109
  }
@@ -13158,7 +13165,6 @@ const Checkbox$1 = forwardRef((p, ref) => {
13158
13165
  const Checkbox = attachPropertiesToComponent(Checkbox$1, {
13159
13166
  Group: Group$1
13160
13167
  });
13161
- const collapse = "";
13162
13168
  const classPrefix$W = `adm-collapse`;
13163
13169
  const CollapsePanel = () => {
13164
13170
  return null;
@@ -13319,10 +13325,9 @@ const Collapse = (props) => {
13319
13325
  }, panel.props.children));
13320
13326
  }))));
13321
13327
  };
13322
- const index$f = attachPropertiesToComponent(Collapse, {
13328
+ const index$e = attachPropertiesToComponent(Collapse, {
13323
13329
  Panel: CollapsePanel
13324
13330
  });
13325
- const datePicker = "";
13326
13331
  var isoWeeksInYear$1 = { exports: {} };
13327
13332
  (function(module, exports) {
13328
13333
  !function(e2, n2) {
@@ -13336,7 +13341,8 @@ var isoWeeksInYear$1 = { exports: {} };
13336
13341
  };
13337
13342
  });
13338
13343
  })(isoWeeksInYear$1);
13339
- const isoWeeksInYear = isoWeeksInYear$1.exports;
13344
+ var isoWeeksInYearExports = isoWeeksInYear$1.exports;
13345
+ const isoWeeksInYear = /* @__PURE__ */ getDefaultExportFromCjs(isoWeeksInYearExports);
13340
13346
  var isLeapYear$1 = { exports: {} };
13341
13347
  (function(module, exports) {
13342
13348
  !function(e2, t) {
@@ -13349,7 +13355,8 @@ var isLeapYear$1 = { exports: {} };
13349
13355
  };
13350
13356
  });
13351
13357
  })(isLeapYear$1);
13352
- const isLeapYear = isLeapYear$1.exports;
13358
+ var isLeapYearExports = isLeapYear$1.exports;
13359
+ const isLeapYear = /* @__PURE__ */ getDefaultExportFromCjs(isLeapYearExports);
13353
13360
  const TILL_NOW = "TILL_NOW";
13354
13361
  dayjs.extend(isoWeek);
13355
13362
  dayjs.extend(isoWeeksInYear);
@@ -13597,7 +13604,7 @@ const convertDateToStringArray = (date4, precision) => {
13597
13604
  };
13598
13605
  const convertStringArrayToDate = (value, precision) => {
13599
13606
  if ((value === null || value === void 0 ? void 0 : value[0]) === TILL_NOW) {
13600
- const now2 = new Date();
13607
+ const now2 = /* @__PURE__ */ new Date();
13601
13608
  now2.tillNow = true;
13602
13609
  return now2;
13603
13610
  }
@@ -13634,10 +13641,10 @@ function useRenderLabel(renderLabel) {
13634
13641
  }
13635
13642
  }, [renderLabel]);
13636
13643
  }
13637
- const thisYear$1 = new Date().getFullYear();
13644
+ const thisYear$1 = (/* @__PURE__ */ new Date()).getFullYear();
13638
13645
  const defaultProps$L = {
13639
- min: new Date(new Date().setFullYear(thisYear$1 - 10)),
13640
- max: new Date(new Date().setFullYear(thisYear$1 + 10)),
13646
+ min: new Date((/* @__PURE__ */ new Date()).setFullYear(thisYear$1 - 10)),
13647
+ max: new Date((/* @__PURE__ */ new Date()).setFullYear(thisYear$1 + 10)),
13641
13648
  precision: "day",
13642
13649
  defaultValue: null
13643
13650
  };
@@ -13656,7 +13663,7 @@ const DatePicker = forwardRef((p, ref) => {
13656
13663
  (_a = props.onConfirm) === null || _a === void 0 ? void 0 : _a.call(props, v);
13657
13664
  }
13658
13665
  });
13659
- const now2 = useMemo(() => new Date(), []);
13666
+ const now2 = useMemo(() => /* @__PURE__ */ new Date(), []);
13660
13667
  const mergedRenderLabel = useRenderLabel(renderLabel);
13661
13668
  const pickerValue = useMemo(() => {
13662
13669
  let date4 = value !== null && value !== void 0 ? value : now2;
@@ -13734,17 +13741,17 @@ function prompt(props) {
13734
13741
  const unmount2 = renderToBody(React__default.createElement(Wrapper2, null));
13735
13742
  });
13736
13743
  }
13737
- const index$e = attachPropertiesToComponent(DatePicker, {
13744
+ const index$d = attachPropertiesToComponent(DatePicker, {
13738
13745
  prompt,
13739
13746
  DATE_NOW: TILL_NOW
13740
13747
  });
13741
- const thisYear = new Date().getFullYear();
13748
+ const thisYear = (/* @__PURE__ */ new Date()).getFullYear();
13742
13749
  const defaultProps$K = {
13743
- min: new Date(new Date().setFullYear(thisYear - 10)),
13744
- max: new Date(new Date().setFullYear(thisYear + 10)),
13750
+ min: new Date((/* @__PURE__ */ new Date()).setFullYear(thisYear - 10)),
13751
+ max: new Date((/* @__PURE__ */ new Date()).setFullYear(thisYear + 10)),
13745
13752
  precision: "day"
13746
13753
  };
13747
- const DatePickerView$1 = (p) => {
13754
+ const DatePickerView = (p) => {
13748
13755
  var _a;
13749
13756
  const props = mergeProps(defaultProps$K, p);
13750
13757
  const {
@@ -13778,8 +13785,6 @@ const DatePickerView$1 = (p) => {
13778
13785
  onChange
13779
13786
  }));
13780
13787
  };
13781
- const DatePickerView = DatePickerView$1;
13782
- const dialog = "";
13783
13788
  const DialogActionButton = (props) => {
13784
13789
  const {
13785
13790
  action
@@ -13897,8 +13902,8 @@ function alert$1(p) {
13897
13902
  });
13898
13903
  }
13899
13904
  const defaultProps$I = {
13900
- confirmText: "\u786E\u8BA4",
13901
- cancelText: "\u53D6\u6D88"
13905
+ confirmText: "确认",
13906
+ cancelText: "取消"
13902
13907
  };
13903
13908
  function confirm$1(p) {
13904
13909
  const {
@@ -13942,13 +13947,12 @@ function clear$2() {
13942
13947
  close();
13943
13948
  });
13944
13949
  }
13945
- const index$d = attachPropertiesToComponent(Dialog, {
13950
+ const index$c = attachPropertiesToComponent(Dialog, {
13946
13951
  show: show$2,
13947
13952
  alert: alert$1,
13948
13953
  confirm: confirm$1,
13949
13954
  clear: clear$2
13950
13955
  });
13951
- const dropdown = "";
13952
13956
  const classPrefix$V = `adm-dropdown-item`;
13953
13957
  const Item = (props) => {
13954
13958
  var _a;
@@ -14027,8 +14031,10 @@ const Dropdown = forwardRef((p, ref) => {
14027
14031
  const navs = React__default.Children.map(props.children, (child) => {
14028
14032
  if (isValidElement(child)) {
14029
14033
  const childProps = Object.assign(Object.assign({}, child.props), {
14030
- onClick: () => {
14034
+ onClick: (event) => {
14035
+ var _a, _b;
14031
14036
  changeActive(child.key);
14037
+ (_b = (_a = child.props).onClick) === null || _b === void 0 ? void 0 : _b.call(_a, event);
14032
14038
  },
14033
14039
  active: child.key === value,
14034
14040
  arrow: child.props.arrow === void 0 ? props.arrow : child.props.arrow
@@ -14081,10 +14087,9 @@ const Dropdown = forwardRef((p, ref) => {
14081
14087
  })))));
14082
14088
  });
14083
14089
  const Dropdown$1 = Dropdown;
14084
- const index$c = attachPropertiesToComponent(Dropdown$1, {
14090
+ const index$b = attachPropertiesToComponent(Dropdown$1, {
14085
14091
  Item: Item$1
14086
14092
  });
14087
- const ellipsis = "";
14088
14093
  var i;
14089
14094
  !function(i2) {
14090
14095
  i2[i2.HIGH_SURROGATE_START = 55296] = "HIGH_SURROGATE_START", i2[i2.HIGH_SURROGATE_END = 56319] = "HIGH_SURROGATE_END", i2[i2.LOW_SURROGATE_START = 56320] = "LOW_SURROGATE_START", i2[i2.REGIONAL_INDICATOR_START = 127462] = "REGIONAL_INDICATOR_START", i2[i2.REGIONAL_INDICATOR_END = 127487] = "REGIONAL_INDICATOR_END", i2[i2.FITZPATRICK_MODIFIER_START = 127995] = "FITZPATRICK_MODIFIER_START", i2[i2.FITZPATRICK_MODIFIER_END = 127999] = "FITZPATRICK_MODIFIER_END", i2[i2.VARIATION_MODIFIER_START = 65024] = "VARIATION_MODIFIER_START", i2[i2.VARIATION_MODIFIER_END = 65039] = "VARIATION_MODIFIER_END", i2[i2.DIACRITICAL_MARKS_START = 8400] = "DIACRITICAL_MARKS_START", i2[i2.DIACRITICAL_MARKS_END = 8447] = "DIACRITICAL_MARKS_END", i2[i2.SUBDIVISION_INDICATOR_START = 127988] = "SUBDIVISION_INDICATOR_START", i2[i2.TAGS_START = 917504] = "TAGS_START", i2[i2.TAGS_END = 917631] = "TAGS_END", i2[i2.ZWJ = 8205] = "ZWJ";
@@ -14157,7 +14162,7 @@ const defaultProps$G = {
14157
14162
  },
14158
14163
  defaultExpanded: false
14159
14164
  };
14160
- const Ellipsis$1 = (p) => {
14165
+ const Ellipsis = (p) => {
14161
14166
  const props = mergeProps(defaultProps$G, p);
14162
14167
  const rootRef = useRef(null);
14163
14168
  const expandElRef = useRef(null);
@@ -14293,8 +14298,6 @@ function pxToNumber(value) {
14293
14298
  const match = value.match(/^\d*(\.\d*)?/);
14294
14299
  return match ? Number(match[0]) : 0;
14295
14300
  }
14296
- const Ellipsis = Ellipsis$1;
14297
- const empty = "";
14298
14301
  const EmptyIcon = (props) => {
14299
14302
  return withNativeProps(props, React__default.createElement("svg", {
14300
14303
  viewBox: "0 0 64 41"
@@ -14318,26 +14321,26 @@ const EmptyIcon = (props) => {
14318
14321
  })))));
14319
14322
  };
14320
14323
  const classPrefix$S = `adm-empty`;
14321
- const Empty$1 = (props) => {
14324
+ const Empty = (props) => {
14322
14325
  function renderImageNode() {
14323
14326
  const {
14324
- image: image2
14327
+ image
14325
14328
  } = props;
14326
- if (image2 === void 0) {
14329
+ if (image === void 0) {
14327
14330
  return React__default.createElement(EmptyIcon, {
14328
14331
  className: `${classPrefix$S}-image`,
14329
14332
  style: props.imageStyle
14330
14333
  });
14331
14334
  }
14332
- if (typeof image2 === "string") {
14335
+ if (typeof image === "string") {
14333
14336
  return React__default.createElement("img", {
14334
14337
  className: `${classPrefix$S}-image`,
14335
14338
  style: props.imageStyle,
14336
- src: image2,
14339
+ src: image,
14337
14340
  alt: "empty"
14338
14341
  });
14339
14342
  }
14340
- return image2;
14343
+ return image;
14341
14344
  }
14342
14345
  return withNativeProps(props, React__default.createElement("div", {
14343
14346
  className: classPrefix$S
@@ -14347,8 +14350,6 @@ const Empty$1 = (props) => {
14347
14350
  className: classNames(`${classPrefix$S}-description`)
14348
14351
  }, props.description)));
14349
14352
  };
14350
- const Empty = Empty$1;
14351
- const errorBlock = "";
14352
14353
  const classPrefix$R = `adm-error-block`;
14353
14354
  const defaultProps$F = {
14354
14355
  status: "default"
@@ -14363,11 +14364,11 @@ function createErrorBlock(imageRecord2) {
14363
14364
  const contentPack = locale.ErrorBlock[props.status];
14364
14365
  const desc = "description" in props ? props.description : contentPack.description;
14365
14366
  const title = "title" in props ? props.title : contentPack.title;
14366
- const image2 = (_a = props.image) !== null && _a !== void 0 ? _a : imageRecord2[props.status];
14367
- const imageNode = typeof image2 === "string" ? React__default.createElement("img", {
14368
- src: image2,
14367
+ const image = (_a = props.image) !== null && _a !== void 0 ? _a : imageRecord2[props.status];
14368
+ const imageNode = typeof image === "string" ? React__default.createElement("img", {
14369
+ src: image,
14369
14370
  alt: "error block image"
14370
- }) : image2;
14371
+ }) : image;
14371
14372
  return withNativeProps(props, React__default.createElement("div", {
14372
14373
  className: classNames(classPrefix$R, {
14373
14374
  [`${classPrefix$R}-full-page`]: props.fullPage
@@ -14555,7 +14556,7 @@ const disconnectedImage = React__default.createElement("svg", {
14555
14556
  viewBox: "0 0 400 400",
14556
14557
  xmlns: "http://www.w3.org/2000/svg",
14557
14558
  xmlnsXlink: "http://www.w3.org/1999/xlink"
14558
- }, React__default.createElement("title", null, "@\u53CD\u9988/\u5F02\u5E38/\u7F51\u7EDC\u670D\u52A1\u5F02\u5E38"), React__default.createElement("defs", null, React__default.createElement("linearGradient", {
14559
+ }, React__default.createElement("title", null, "@反馈/异常/网络服务异常"), React__default.createElement("defs", null, React__default.createElement("linearGradient", {
14559
14560
  x1: "50%",
14560
14561
  y1: "-116.862%",
14561
14562
  x2: "50%",
@@ -14886,9 +14887,7 @@ const imageRecord = {
14886
14887
  "empty": emptyImage,
14887
14888
  "busy": busyImage
14888
14889
  };
14889
- const ErrorBlock$1 = createErrorBlock(imageRecord);
14890
- const ErrorBlock = ErrorBlock$1;
14891
- const floatingBubble = "";
14890
+ const ErrorBlock = createErrorBlock(imageRecord);
14892
14891
  const classPrefix$Q = `adm-floating-bubble`;
14893
14892
  const defaultProps$E = {
14894
14893
  axis: "y",
@@ -14897,7 +14896,7 @@ const defaultProps$E = {
14897
14896
  y: 0
14898
14897
  }
14899
14898
  };
14900
- const FloatingBubble$1 = (p) => {
14899
+ const FloatingBubble = (p) => {
14901
14900
  const props = mergeProps(defaultProps$E, p);
14902
14901
  const boundaryRef = useRef(null);
14903
14902
  const buttonRef = useRef(null);
@@ -14925,11 +14924,11 @@ const FloatingBubble$1 = (p) => {
14925
14924
  let nextY = state.offset[1];
14926
14925
  if (state.last && props.magnetic) {
14927
14926
  const boundary = boundaryRef.current;
14928
- const button2 = buttonRef.current;
14929
- if (!boundary || !button2)
14927
+ const button = buttonRef.current;
14928
+ if (!boundary || !button)
14930
14929
  return;
14931
14930
  const boundaryRect = boundary.getBoundingClientRect();
14932
- const buttonRect = button2.getBoundingClientRect();
14931
+ const buttonRect = button.getBoundingClientRect();
14933
14932
  if (props.magnetic === "x") {
14934
14933
  const compensation = x.goal - x.get();
14935
14934
  const leftDistance = buttonRect.left + compensation - boundaryRect.left;
@@ -14968,7 +14967,9 @@ const FloatingBubble$1 = (p) => {
14968
14967
  pointer: {
14969
14968
  touch: true
14970
14969
  },
14970
+ // the component won't trigger drag logic if the user just clicked on the component.
14971
14971
  filterTaps: true,
14972
+ // set constraints to the user gesture
14972
14973
  bounds: boundaryRef,
14973
14974
  from: () => [x.get(), y.get()]
14974
14975
  });
@@ -14989,8 +14990,6 @@ const FloatingBubble$1 = (p) => {
14989
14990
  ref: buttonRef
14990
14991
  }), props.children)));
14991
14992
  };
14992
- const FloatingBubble = FloatingBubble$1;
14993
- const floatingPanel = "";
14994
14993
  function nearest(arr, target) {
14995
14994
  return arr.reduce((pre, cur) => {
14996
14995
  return Math.abs(pre - target) < Math.abs(cur - target) ? pre : cur;
@@ -15000,7 +14999,7 @@ const classPrefix$P = "adm-floating-panel";
15000
14999
  const defaultProps$D = {
15001
15000
  handleDraggingOfContent: true
15002
15001
  };
15003
- const FloatingPanel$1 = forwardRef((p, ref) => {
15002
+ const FloatingPanel = forwardRef((p, ref) => {
15004
15003
  var _a, _b;
15005
15004
  const props = mergeProps(defaultProps$D, p);
15006
15005
  const {
@@ -15026,8 +15025,8 @@ const FloatingPanel$1 = forwardRef((p, ref) => {
15026
15025
  config: {
15027
15026
  tension: 300
15028
15027
  },
15029
- onChange: (result2) => {
15030
- onHeightChange(-result2.value.y, y.isAnimating);
15028
+ onChange: (result) => {
15029
+ onHeightChange(-result.value.y, y.isAnimating);
15031
15030
  }
15032
15031
  }));
15033
15032
  useDrag((state) => {
@@ -15116,8 +15115,6 @@ const FloatingPanel$1 = forwardRef((p, ref) => {
15116
15115
  ref: contentRef
15117
15116
  }, props.children)));
15118
15117
  });
15119
- const FloatingPanel = FloatingPanel$1;
15120
- const index$b = "";
15121
15118
  function _extends$1() {
15122
15119
  _extends$1 = Object.assign ? Object.assign.bind() : function(target) {
15123
15120
  for (var i2 = 1; i2 < arguments.length; i2++) {
@@ -15172,17 +15169,17 @@ function _typeof$1(o) {
15172
15169
  return o2 && "function" == typeof Symbol && o2.constructor === Symbol && o2 !== Symbol.prototype ? "symbol" : typeof o2;
15173
15170
  }, _typeof$1(o);
15174
15171
  }
15175
- function _toPrimitive(input2, hint) {
15176
- if (_typeof$1(input2) !== "object" || input2 === null)
15177
- return input2;
15178
- var prim = input2[Symbol.toPrimitive];
15172
+ function _toPrimitive(input, hint) {
15173
+ if (_typeof$1(input) !== "object" || input === null)
15174
+ return input;
15175
+ var prim = input[Symbol.toPrimitive];
15179
15176
  if (prim !== void 0) {
15180
- var res = prim.call(input2, hint || "default");
15177
+ var res = prim.call(input, hint || "default");
15181
15178
  if (_typeof$1(res) !== "object")
15182
15179
  return res;
15183
15180
  throw new TypeError("@@toPrimitive must return a primitive value.");
15184
15181
  }
15185
- return (hint === "string" ? String : Number)(input2);
15182
+ return (hint === "string" ? String : Number)(input);
15186
15183
  }
15187
15184
  function _toPropertyKey(arg) {
15188
15185
  var key = _toPrimitive(arg, "string");
@@ -15344,14 +15341,14 @@ function _possibleConstructorReturn(self2, call2) {
15344
15341
  function _createSuper(Derived) {
15345
15342
  var hasNativeReflectConstruct = _isNativeReflectConstruct$1();
15346
15343
  return function _createSuperInternal() {
15347
- var Super = _getPrototypeOf$1(Derived), result2;
15344
+ var Super = _getPrototypeOf$1(Derived), result;
15348
15345
  if (hasNativeReflectConstruct) {
15349
15346
  var NewTarget = _getPrototypeOf$1(this).constructor;
15350
- result2 = Reflect.construct(Super, arguments, NewTarget);
15347
+ result = Reflect.construct(Super, arguments, NewTarget);
15351
15348
  } else {
15352
- result2 = Super.apply(this, arguments);
15349
+ result = Super.apply(this, arguments);
15353
15350
  }
15354
- return _possibleConstructorReturn(this, result2);
15351
+ return _possibleConstructorReturn(this, result);
15355
15352
  };
15356
15353
  }
15357
15354
  var reactIs = { exports: {} };
@@ -15386,7 +15383,8 @@ var reactIs_development = {};
15386
15383
  var REACT_RESPONDER_TYPE = hasSymbol ? Symbol.for("react.responder") : 60118;
15387
15384
  var REACT_SCOPE_TYPE = hasSymbol ? Symbol.for("react.scope") : 60119;
15388
15385
  function isValidElementType(type4) {
15389
- return typeof type4 === "string" || typeof type4 === "function" || type4 === REACT_FRAGMENT_TYPE || type4 === REACT_CONCURRENT_MODE_TYPE || type4 === REACT_PROFILER_TYPE || type4 === REACT_STRICT_MODE_TYPE || type4 === REACT_SUSPENSE_TYPE || type4 === REACT_SUSPENSE_LIST_TYPE || typeof type4 === "object" && type4 !== null && (type4.$$typeof === REACT_LAZY_TYPE || type4.$$typeof === REACT_MEMO_TYPE || type4.$$typeof === REACT_PROVIDER_TYPE || type4.$$typeof === REACT_CONTEXT_TYPE || type4.$$typeof === REACT_FORWARD_REF_TYPE || type4.$$typeof === REACT_FUNDAMENTAL_TYPE || type4.$$typeof === REACT_RESPONDER_TYPE || type4.$$typeof === REACT_SCOPE_TYPE || type4.$$typeof === REACT_BLOCK_TYPE);
15386
+ return typeof type4 === "string" || typeof type4 === "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
15387
+ type4 === REACT_FRAGMENT_TYPE || type4 === REACT_CONCURRENT_MODE_TYPE || type4 === REACT_PROFILER_TYPE || type4 === REACT_STRICT_MODE_TYPE || type4 === REACT_SUSPENSE_TYPE || type4 === REACT_SUSPENSE_LIST_TYPE || typeof type4 === "object" && type4 !== null && (type4.$$typeof === REACT_LAZY_TYPE || type4.$$typeof === REACT_MEMO_TYPE || type4.$$typeof === REACT_PROVIDER_TYPE || type4.$$typeof === REACT_CONTEXT_TYPE || type4.$$typeof === REACT_FORWARD_REF_TYPE || type4.$$typeof === REACT_FUNDAMENTAL_TYPE || type4.$$typeof === REACT_RESPONDER_TYPE || type4.$$typeof === REACT_SCOPE_TYPE || type4.$$typeof === REACT_BLOCK_TYPE);
15390
15388
  }
15391
15389
  function typeOf(object4) {
15392
15390
  if (typeof object4 === "object" && object4 !== null) {
@@ -15510,11 +15508,10 @@ var reactIs_development = {};
15510
15508
  reactIs_development.typeOf = typeOf;
15511
15509
  })();
15512
15510
  }
15513
- (function(module) {
15514
- {
15515
- module.exports = reactIs_development;
15516
- }
15517
- })(reactIs);
15511
+ {
15512
+ reactIs.exports = reactIs_development;
15513
+ }
15514
+ var reactIsExports = reactIs.exports;
15518
15515
  function toArray$2(children) {
15519
15516
  var option = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
15520
15517
  var ret = [];
@@ -15524,7 +15521,7 @@ function toArray$2(children) {
15524
15521
  }
15525
15522
  if (Array.isArray(child)) {
15526
15523
  ret = ret.concat(toArray$2(child));
15527
- } else if (reactIs.exports.isFragment(child) && child.props) {
15524
+ } else if (reactIsExports.isFragment(child) && child.props) {
15528
15525
  ret = ret.concat(toArray$2(child.props.children, option));
15529
15526
  } else {
15530
15527
  ret.push(child);
@@ -15534,7 +15531,7 @@ function toArray$2(children) {
15534
15531
  }
15535
15532
  var warned$1 = {};
15536
15533
  var preWarningFns$1 = [];
15537
- var preMessage$1 = function preMessage(fn) {
15534
+ var preMessage$1 = function preMessage2(fn) {
15538
15535
  preWarningFns$1.push(fn);
15539
15536
  };
15540
15537
  function warning$3(valid, message) {
@@ -16054,7 +16051,7 @@ function _wrapNativeSuper(Class) {
16054
16051
  return _wrapNativeSuper(Class);
16055
16052
  }
16056
16053
  var formatRegExp = /%[sdj%]/g;
16057
- var warning$2 = function warning() {
16054
+ var warning$2 = function warning2() {
16058
16055
  };
16059
16056
  if (typeof process !== "undefined" && process.env && true && typeof window !== "undefined" && typeof document !== "undefined") {
16060
16057
  warning$2 = function warning3(type4, errors) {
@@ -16324,7 +16321,12 @@ var getUrlRegex = function() {
16324
16321
  return urlReg;
16325
16322
  };
16326
16323
  var pattern$2 = {
16324
+ // http://emailregex.com/
16327
16325
  email: /^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+\.)+[a-zA-Z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}))$/,
16326
+ // url: new RegExp(
16327
+ // '^(?!mailto:)(?:(?:http|https|ftp)://|//)(?:\\S+(?::\\S*)?@)?(?:(?:(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[0-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,})))|localhost)(?::\\d{2,5})?(?:(/|\\?|#)[^\\s]*)?$',
16328
+ // 'i',
16329
+ // ),
16328
16330
  hex: /^#?([a-f0-9]{6}|[a-f0-9]{3})$/i
16329
16331
  };
16330
16332
  var types = {
@@ -17239,7 +17241,7 @@ function validateRule(_x, _x2, _x3, _x4, _x5) {
17239
17241
  }
17240
17242
  function _validateRule() {
17241
17243
  _validateRule = _asyncToGenerator(/* @__PURE__ */ _regeneratorRuntime().mark(function _callee2(name, value, rule, options, messageVariables) {
17242
- var cloneRule, originValidator, subRuleField, validator, messages2, result2, subResults, kv, fillVariableResult;
17244
+ var cloneRule, originValidator, subRuleField, validator, messages2, result, subResults, kv, fillVariableResult;
17243
17245
  return _regeneratorRuntime().wrap(function _callee2$(_context2) {
17244
17246
  while (1)
17245
17247
  switch (_context2.prev = _context2.next) {
@@ -17265,7 +17267,7 @@ function _validateRule() {
17265
17267
  validator = new AsyncValidator(_defineProperty({}, name, [cloneRule]));
17266
17268
  messages2 = setValues({}, defaultValidateMessages, options.validateMessages);
17267
17269
  validator.messages(messages2);
17268
- result2 = [];
17270
+ result = [];
17269
17271
  _context2.prev = 9;
17270
17272
  _context2.next = 12;
17271
17273
  return Promise.resolve(validator.validate(_defineProperty({}, name, value), _objectSpread2({}, options)));
@@ -17276,16 +17278,19 @@ function _validateRule() {
17276
17278
  _context2.prev = 14;
17277
17279
  _context2.t0 = _context2["catch"](9);
17278
17280
  if (_context2.t0.errors) {
17279
- result2 = _context2.t0.errors.map(function(_ref4, index2) {
17281
+ result = _context2.t0.errors.map(function(_ref4, index2) {
17280
17282
  var message = _ref4.message;
17281
17283
  var mergedMessage = message === CODE_LOGIC_ERROR ? messages2.default : message;
17282
- return /* @__PURE__ */ React$4.isValidElement(mergedMessage) ? /* @__PURE__ */ React$4.cloneElement(mergedMessage, {
17283
- key: "error_".concat(index2)
17284
- }) : mergedMessage;
17284
+ return /* @__PURE__ */ React$4.isValidElement(mergedMessage) ? (
17285
+ // Wrap ReactNode with `key`
17286
+ React$4.cloneElement(mergedMessage, {
17287
+ key: "error_".concat(index2)
17288
+ })
17289
+ ) : mergedMessage;
17285
17290
  });
17286
17291
  }
17287
17292
  case 17:
17288
- if (!(!result2.length && subRuleField)) {
17293
+ if (!(!result.length && subRuleField)) {
17289
17294
  _context2.next = 22;
17290
17295
  break;
17291
17296
  }
@@ -17303,7 +17308,7 @@ function _validateRule() {
17303
17308
  name,
17304
17309
  enum: (rule.enum || []).join(", ")
17305
17310
  }, messageVariables);
17306
- fillVariableResult = result2.map(function(error) {
17311
+ fillVariableResult = result.map(function(error) {
17307
17312
  if (typeof error === "string") {
17308
17313
  return replaceMessage(error, kv);
17309
17314
  }
@@ -17756,8 +17761,8 @@ var Field = /* @__PURE__ */ function(_React$Component) {
17756
17761
  var _this$props6 = _this.props, trigger = _this$props6.trigger, validateTrigger = _this$props6.validateTrigger, getValueFromEvent = _this$props6.getValueFromEvent, normalize2 = _this$props6.normalize, valuePropName = _this$props6.valuePropName, getValueProps = _this$props6.getValueProps, fieldContext = _this$props6.fieldContext;
17757
17762
  var mergedValidateTrigger = validateTrigger !== void 0 ? validateTrigger : fieldContext.validateTrigger;
17758
17763
  var namePath = _this.getNamePath();
17759
- var getInternalHooks4 = fieldContext.getInternalHooks, getFieldsValue = fieldContext.getFieldsValue;
17760
- var _getInternalHooks = getInternalHooks4(HOOK_MARK$1), dispatch = _getInternalHooks.dispatch;
17764
+ var getInternalHooks22 = fieldContext.getInternalHooks, getFieldsValue = fieldContext.getFieldsValue;
17765
+ var _getInternalHooks = getInternalHooks22(HOOK_MARK$1), dispatch = _getInternalHooks.dispatch;
17761
17766
  var value = _this.getValue();
17762
17767
  var mergedGetValueProps = getValueProps || function(val) {
17763
17768
  return _defineProperty({}, valuePropName, val);
@@ -18047,9 +18052,9 @@ function allPromiseFinish(promiseList) {
18047
18052
  promise.catch(function(e2) {
18048
18053
  hasError = true;
18049
18054
  return e2;
18050
- }).then(function(result2) {
18055
+ }).then(function(result) {
18051
18056
  count -= 1;
18052
- results[index2] = result2;
18057
+ results[index2] = result;
18053
18058
  if (count > 0) {
18054
18059
  return;
18055
18060
  }
@@ -18098,6 +18103,7 @@ var NameMap = /* @__PURE__ */ function() {
18098
18103
  value: function _delete(key) {
18099
18104
  this.kvs.delete(normalize(key));
18100
18105
  }
18106
+ // Since we only use this in test, let simply realize this
18101
18107
  }, {
18102
18108
  key: "map",
18103
18109
  value: function map(callback) {
@@ -18382,8 +18388,8 @@ var FormStore = /* @__PURE__ */ _createClass(function FormStore2(forceRootUpdate
18382
18388
  if (shortNamePath.every(function(nameUnit, i2) {
18383
18389
  return fieldNamePath[i2] === nameUnit;
18384
18390
  })) {
18385
- map.update(shortNamePath, function(list2) {
18386
- return [].concat(_toConsumableArray(list2), [field]);
18391
+ map.update(shortNamePath, function(list) {
18392
+ return [].concat(_toConsumableArray(list), [field]);
18387
18393
  });
18388
18394
  }
18389
18395
  });
@@ -18574,7 +18580,10 @@ var FormStore = /* @__PURE__ */ _createClass(function FormStore2(forceRootUpdate
18574
18580
  if (!_this.isMergedPreserve(preserve) && (!isListField || subNamePath.length > 1)) {
18575
18581
  var defaultValue = isListField ? void 0 : _this.getInitialValue(namePath);
18576
18582
  if (namePath.length && _this.getFieldValue(namePath) !== defaultValue && _this.fieldEntities.every(function(field) {
18577
- return !matchNamePath(field.getNamePath(), namePath);
18583
+ return (
18584
+ // Only reset when no namePath exist
18585
+ !matchNamePath(field.getNamePath(), namePath)
18586
+ );
18578
18587
  })) {
18579
18588
  var _prevStore = _this.store;
18580
18589
  _this.updateStore(setValue(_prevStore, namePath, defaultValue, true));
@@ -18726,9 +18735,13 @@ var FormStore = /* @__PURE__ */ _createClass(function FormStore2(forceRootUpdate
18726
18735
  }
18727
18736
  if ((options === null || options === void 0 ? void 0 : options.recursive) && provideNameList) {
18728
18737
  var namePath = field.getNamePath();
18729
- if (namePath.every(function(nameUnit, i2) {
18730
- return nameList[i2] === nameUnit || nameList[i2] === void 0;
18731
- })) {
18738
+ if (
18739
+ // nameList[i] === undefined 说明是以 nameList 开头的
18740
+ // ['name'] -> ['name','list']
18741
+ namePath.every(function(nameUnit, i2) {
18742
+ return nameList[i2] === nameUnit || nameList[i2] === void 0;
18743
+ })
18744
+ ) {
18732
18745
  namePathList.push(namePath);
18733
18746
  }
18734
18747
  }
@@ -18793,8 +18806,8 @@ var FormStore = /* @__PURE__ */ _createClass(function FormStore2(forceRootUpdate
18793
18806
  }
18794
18807
  return Promise.reject([]);
18795
18808
  }).catch(function(results) {
18796
- var errorList = results.filter(function(result2) {
18797
- return result2 && result2.errors.length;
18809
+ var errorList = results.filter(function(result) {
18810
+ return result && result.errors.length;
18798
18811
  });
18799
18812
  return Promise.reject({
18800
18813
  values: _this.getFieldsValue(namePathList),
@@ -18860,6 +18873,9 @@ var FormProvider = function FormProvider2(_ref) {
18860
18873
  return /* @__PURE__ */ React$4.createElement(FormContext$1.Provider, {
18861
18874
  value: _objectSpread2(_objectSpread2({}, formContext), {}, {
18862
18875
  validateMessages: _objectSpread2(_objectSpread2({}, formContext.validateMessages), validateMessages),
18876
+ // =========================================================
18877
+ // = Global Form Control =
18878
+ // =========================================================
18863
18879
  triggerFormChange: function triggerFormChange2(name, changedFields) {
18864
18880
  if (onFormChange) {
18865
18881
  onFormChange(name, {
@@ -18938,6 +18954,7 @@ var Form$1 = function Form(_ref, ref) {
18938
18954
  function() {
18939
18955
  return destroyForm;
18940
18956
  },
18957
+ // eslint-disable-next-line react-hooks/exhaustive-deps
18941
18958
  []
18942
18959
  );
18943
18960
  var childrenNode;
@@ -19033,6 +19050,8 @@ function useWatch() {
19033
19050
  setValue2(initialValue);
19034
19051
  return cancelRegister;
19035
19052
  },
19053
+ // We do not need re-register since namePath content is the same
19054
+ // eslint-disable-next-line react-hooks/exhaustive-deps
19036
19055
  [isValidForm]
19037
19056
  );
19038
19057
  return value;
@@ -19078,6 +19097,7 @@ var createBaseFor = _createBaseFor;
19078
19097
  var baseFor$1 = createBaseFor();
19079
19098
  var _baseFor = baseFor$1;
19080
19099
  var _cloneBuffer = { exports: {} };
19100
+ _cloneBuffer.exports;
19081
19101
  (function(module, exports) {
19082
19102
  var root2 = _root;
19083
19103
  var freeExports = exports && !exports.nodeType && exports;
@@ -19088,17 +19108,18 @@ var _cloneBuffer = { exports: {} };
19088
19108
  if (isDeep) {
19089
19109
  return buffer.slice();
19090
19110
  }
19091
- var length = buffer.length, result2 = allocUnsafe ? allocUnsafe(length) : new buffer.constructor(length);
19092
- buffer.copy(result2);
19093
- return result2;
19111
+ var length = buffer.length, result = allocUnsafe ? allocUnsafe(length) : new buffer.constructor(length);
19112
+ buffer.copy(result);
19113
+ return result;
19094
19114
  }
19095
19115
  module.exports = cloneBuffer2;
19096
19116
  })(_cloneBuffer, _cloneBuffer.exports);
19117
+ var _cloneBufferExports = _cloneBuffer.exports;
19097
19118
  var Uint8Array = _Uint8Array;
19098
19119
  function cloneArrayBuffer$1(arrayBuffer) {
19099
- var result2 = new arrayBuffer.constructor(arrayBuffer.byteLength);
19100
- new Uint8Array(result2).set(new Uint8Array(arrayBuffer));
19101
- return result2;
19120
+ var result = new arrayBuffer.constructor(arrayBuffer.byteLength);
19121
+ new Uint8Array(result).set(new Uint8Array(arrayBuffer));
19122
+ return result;
19102
19123
  }
19103
19124
  var _cloneArrayBuffer = cloneArrayBuffer$1;
19104
19125
  var cloneArrayBuffer = _cloneArrayBuffer;
@@ -19118,7 +19139,7 @@ function copyArray$1(source, array4) {
19118
19139
  var _copyArray = copyArray$1;
19119
19140
  var isObject$3 = isObject_1;
19120
19141
  var objectCreate = Object.create;
19121
- var baseCreate$1 = function() {
19142
+ var baseCreate$1 = /* @__PURE__ */ function() {
19122
19143
  function object4() {
19123
19144
  }
19124
19145
  return function(proto) {
@@ -19129,9 +19150,9 @@ var baseCreate$1 = function() {
19129
19150
  return objectCreate(proto);
19130
19151
  }
19131
19152
  object4.prototype = proto;
19132
- var result2 = new object4();
19153
+ var result = new object4();
19133
19154
  object4.prototype = void 0;
19134
- return result2;
19155
+ return result;
19135
19156
  };
19136
19157
  }();
19137
19158
  var _baseCreate = baseCreate$1;
@@ -19156,13 +19177,13 @@ function safeGet$2(object4, key) {
19156
19177
  }
19157
19178
  var _safeGet = safeGet$2;
19158
19179
  function nativeKeysIn$1(object4) {
19159
- var result2 = [];
19180
+ var result = [];
19160
19181
  if (object4 != null) {
19161
19182
  for (var key in Object(object4)) {
19162
- result2.push(key);
19183
+ result.push(key);
19163
19184
  }
19164
19185
  }
19165
- return result2;
19186
+ return result;
19166
19187
  }
19167
19188
  var _nativeKeysIn = nativeKeysIn$1;
19168
19189
  var isObject$2 = isObject_1, isPrototype = _isPrototype, nativeKeysIn = _nativeKeysIn;
@@ -19172,13 +19193,13 @@ function baseKeysIn$1(object4) {
19172
19193
  if (!isObject$2(object4)) {
19173
19194
  return nativeKeysIn(object4);
19174
19195
  }
19175
- var isProto = isPrototype(object4), result2 = [];
19196
+ var isProto = isPrototype(object4), result = [];
19176
19197
  for (var key in object4) {
19177
19198
  if (!(key == "constructor" && (isProto || !hasOwnProperty.call(object4, key)))) {
19178
- result2.push(key);
19199
+ result.push(key);
19179
19200
  }
19180
19201
  }
19181
- return result2;
19202
+ return result;
19182
19203
  }
19183
19204
  var _baseKeysIn = baseKeysIn$1;
19184
19205
  var arrayLikeKeys = _arrayLikeKeys, baseKeysIn = _baseKeysIn, isArrayLike = isArrayLike_1;
@@ -19191,7 +19212,7 @@ function toPlainObject$1(value) {
19191
19212
  return copyObject(value, keysIn$1(value));
19192
19213
  }
19193
19214
  var toPlainObject_1 = toPlainObject$1;
19194
- var assignMergeValue$1 = _assignMergeValue, cloneBuffer = _cloneBuffer.exports, cloneTypedArray = _cloneTypedArray, copyArray = _copyArray, initCloneObject = _initCloneObject, isArguments = isArguments_1, isArray = isArray_1, isArrayLikeObject = isArrayLikeObject_1, isBuffer = isBuffer$3.exports, isFunction = isFunction_1, isObject$1 = isObject_1, isPlainObject = isPlainObject_1, isTypedArray = isTypedArray_1, safeGet$1 = _safeGet, toPlainObject = toPlainObject_1;
19215
+ var assignMergeValue$1 = _assignMergeValue, cloneBuffer = _cloneBufferExports, cloneTypedArray = _cloneTypedArray, copyArray = _copyArray, initCloneObject = _initCloneObject, isArguments = isArguments_1, isArray = isArray_1, isArrayLikeObject = isArrayLikeObject_1, isBuffer = isBufferExports, isFunction = isFunction_1, isObject$1 = isObject_1, isPlainObject = isPlainObject_1, isTypedArray = isTypedArray_1, safeGet$1 = _safeGet, toPlainObject = toPlainObject_1;
19195
19216
  function baseMergeDeep$1(object4, source, key, srcIndex, mergeFunc, customizer, stack) {
19196
19217
  var objValue = safeGet$1(object4, key), srcValue = safeGet$1(source, key), stacked = stack.get(srcValue);
19197
19218
  if (stacked) {
@@ -19260,6 +19281,7 @@ var merge = createAssigner(function(object4, source, srcIndex) {
19260
19281
  baseMerge(object4, source, srcIndex);
19261
19282
  });
19262
19283
  var merge_1 = merge;
19284
+ const merge$1 = /* @__PURE__ */ getDefaultExportFromCjs(merge_1);
19263
19285
  const FormArray = (props) => {
19264
19286
  return React__default.createElement(List, {
19265
19287
  name: props.name,
@@ -19302,7 +19324,7 @@ const Form2 = forwardRef((p, ref) => {
19302
19324
  hasFeedback,
19303
19325
  children,
19304
19326
  layout,
19305
- footer: footer2,
19327
+ footer,
19306
19328
  mode,
19307
19329
  disabled,
19308
19330
  requiredMarkStyle
@@ -19310,7 +19332,7 @@ const Form2 = forwardRef((p, ref) => {
19310
19332
  const {
19311
19333
  locale
19312
19334
  } = useConfig();
19313
- const validateMessages = useMemo(() => merge_1({}, locale.Form.defaultValidateMessages, formProps.validateMessages), [locale.Form.defaultValidateMessages, formProps.validateMessages]);
19335
+ const validateMessages = useMemo(() => merge$1({}, locale.Form.defaultValidateMessages, formProps.validateMessages), [locale.Form.defaultValidateMessages, formProps.validateMessages]);
19314
19336
  const lists = [];
19315
19337
  let currentHeader = null;
19316
19338
  let items = [];
@@ -19356,9 +19378,9 @@ const Form2 = forwardRef((p, ref) => {
19356
19378
  requiredMarkStyle,
19357
19379
  disabled
19358
19380
  }
19359
- }, lists), footer2 && React__default.createElement("div", {
19381
+ }, lists), footer && React__default.createElement("div", {
19360
19382
  className: `${classPrefix$O}-footer`
19361
- }, footer2));
19383
+ }, footer));
19362
19384
  });
19363
19385
  var FieldContext = {};
19364
19386
  var interopRequireWildcard = { exports: {} };
@@ -19374,8 +19396,9 @@ var _typeof = { exports: {} };
19374
19396
  }
19375
19397
  module.exports = _typeof2, module.exports.__esModule = true, module.exports["default"] = module.exports;
19376
19398
  })(_typeof);
19399
+ var _typeofExports = _typeof.exports;
19377
19400
  (function(module) {
19378
- var _typeof$12 = _typeof.exports["default"];
19401
+ var _typeof2 = _typeofExports["default"];
19379
19402
  function _getRequireWildcardCache(nodeInterop) {
19380
19403
  if (typeof WeakMap !== "function")
19381
19404
  return null;
@@ -19389,7 +19412,7 @@ var _typeof = { exports: {} };
19389
19412
  if (!nodeInterop && obj && obj.__esModule) {
19390
19413
  return obj;
19391
19414
  }
19392
- if (obj === null || _typeof$12(obj) !== "object" && typeof obj !== "function") {
19415
+ if (obj === null || _typeof2(obj) !== "object" && typeof obj !== "function") {
19393
19416
  return {
19394
19417
  "default": obj
19395
19418
  };
@@ -19418,6 +19441,7 @@ var _typeof = { exports: {} };
19418
19441
  }
19419
19442
  module.exports = _interopRequireWildcard2, module.exports.__esModule = true, module.exports["default"] = module.exports;
19420
19443
  })(interopRequireWildcard);
19444
+ var interopRequireWildcardExports = interopRequireWildcard.exports;
19421
19445
  var interopRequireDefault = { exports: {} };
19422
19446
  (function(module) {
19423
19447
  function _interopRequireDefault2(obj) {
@@ -19427,6 +19451,7 @@ var interopRequireDefault = { exports: {} };
19427
19451
  }
19428
19452
  module.exports = _interopRequireDefault2, module.exports.__esModule = true, module.exports["default"] = module.exports;
19429
19453
  })(interopRequireDefault);
19454
+ var interopRequireDefaultExports = interopRequireDefault.exports;
19430
19455
  var warning$1 = {};
19431
19456
  Object.defineProperty(warning$1, "__esModule", {
19432
19457
  value: true
@@ -19437,15 +19462,15 @@ warning$1.note = note;
19437
19462
  warning$1.noteOnce = noteOnce;
19438
19463
  warning$1.preMessage = void 0;
19439
19464
  warning$1.resetWarned = resetWarned;
19440
- warning$1.warning = warning2;
19465
+ warning$1.warning = warning;
19441
19466
  warning$1.warningOnce = warningOnce;
19442
19467
  var warned = {};
19443
19468
  var preWarningFns = [];
19444
- var preMessage2 = function preMessage3(fn) {
19469
+ var preMessage = function preMessage22(fn) {
19445
19470
  preWarningFns.push(fn);
19446
19471
  };
19447
- warning$1.preMessage = preMessage2;
19448
- function warning2(valid, message) {
19472
+ warning$1.preMessage = preMessage;
19473
+ function warning(valid, message) {
19449
19474
  if (!valid && console !== void 0) {
19450
19475
  var finalMessage = preWarningFns.reduce(function(msg, preMessageFn) {
19451
19476
  return preMessageFn(msg !== null && msg !== void 0 ? msg : "", "warning");
@@ -19475,18 +19500,18 @@ function call(method4, valid, message) {
19475
19500
  }
19476
19501
  }
19477
19502
  function warningOnce(valid, message) {
19478
- call(warning2, valid, message);
19503
+ call(warning, valid, message);
19479
19504
  }
19480
19505
  function noteOnce(valid, message) {
19481
19506
  call(note, valid, message);
19482
19507
  }
19483
- warningOnce.preMessage = preMessage2;
19508
+ warningOnce.preMessage = preMessage;
19484
19509
  warningOnce.resetWarned = resetWarned;
19485
19510
  warningOnce.noteOnce = noteOnce;
19486
19511
  var _default$3 = warningOnce;
19487
19512
  warning$1.default = _default$3;
19488
- var _interopRequireWildcard$3 = interopRequireWildcard.exports.default;
19489
- var _interopRequireDefault$3 = interopRequireDefault.exports.default;
19513
+ var _interopRequireWildcard$3 = interopRequireWildcardExports.default;
19514
+ var _interopRequireDefault$3 = interopRequireDefaultExports.default;
19490
19515
  Object.defineProperty(FieldContext, "__esModule", {
19491
19516
  value: true
19492
19517
  });
@@ -19547,14 +19572,12 @@ function isSimpleFunctionComponent(type4) {
19547
19572
  return typeof type4 === "function" && !shouldConstruct(type4) && type4.defaultProps === void 0;
19548
19573
  }
19549
19574
  function isSafeSetRefComponent(component) {
19550
- if (reactIs$1.exports.isFragment(component))
19575
+ if (reactIsExports$1.isFragment(component))
19551
19576
  return false;
19552
- if (reactIs$1.exports.isMemo(component))
19577
+ if (reactIsExports$1.isMemo(component))
19553
19578
  return isSafeSetRefComponent(component.type);
19554
19579
  return !isSimpleFunctionComponent(component.type);
19555
19580
  }
19556
- const popover = "";
19557
- const popoverMenu = "";
19558
19581
  const Arrow = memo((props) => {
19559
19582
  return withNativeProps(props, React__default.createElement("svg", {
19560
19583
  viewBox: "0 0 30 16"
@@ -19647,14 +19670,14 @@ function getSideList(side, isStart, rtl) {
19647
19670
  }
19648
19671
  function getOppositeAxisPlacements(placement, flipAlignment, direction, rtl) {
19649
19672
  const alignment = getAlignment(placement);
19650
- let list2 = getSideList(getSide(placement), direction === "start", rtl);
19673
+ let list = getSideList(getSide(placement), direction === "start", rtl);
19651
19674
  if (alignment) {
19652
- list2 = list2.map((side) => side + "-" + alignment);
19675
+ list = list.map((side) => side + "-" + alignment);
19653
19676
  if (flipAlignment) {
19654
- list2 = list2.concat(list2.map(getOppositeAlignmentPlacement));
19677
+ list = list.concat(list.map(getOppositeAlignmentPlacement));
19655
19678
  }
19656
19679
  }
19657
- return list2;
19680
+ return list;
19658
19681
  }
19659
19682
  function getOppositePlacement(placement) {
19660
19683
  return placement.replace(/left|right|bottom|top/g, (side) => oppositeSideMap[side]);
@@ -20370,8 +20393,14 @@ function getParentNode(node) {
20370
20393
  if (getNodeName(node) === "html") {
20371
20394
  return node;
20372
20395
  }
20373
- const result2 = node.assignedSlot || node.parentNode || isShadowRoot(node) && node.host || getDocumentElement(node);
20374
- return isShadowRoot(result2) ? result2.host : result2;
20396
+ const result = (
20397
+ // Step into the shadow DOM of the parent of a slotted node.
20398
+ node.assignedSlot || // DOM Element detected.
20399
+ node.parentNode || // ShadowRoot detected.
20400
+ isShadowRoot(node) && node.host || // Fallback.
20401
+ getDocumentElement(node)
20402
+ );
20403
+ return isShadowRoot(result) ? result.host : result;
20375
20404
  }
20376
20405
  function getNearestOverflowAncestor(node) {
20377
20406
  const parentNode = getParentNode(node);
@@ -20383,10 +20412,10 @@ function getNearestOverflowAncestor(node) {
20383
20412
  }
20384
20413
  return getNearestOverflowAncestor(parentNode);
20385
20414
  }
20386
- function getOverflowAncestors(node, list2, traverseIframes) {
20415
+ function getOverflowAncestors(node, list, traverseIframes) {
20387
20416
  var _node$ownerDocument2;
20388
- if (list2 === void 0) {
20389
- list2 = [];
20417
+ if (list === void 0) {
20418
+ list = [];
20390
20419
  }
20391
20420
  if (traverseIframes === void 0) {
20392
20421
  traverseIframes = true;
@@ -20395,9 +20424,9 @@ function getOverflowAncestors(node, list2, traverseIframes) {
20395
20424
  const isBody = scrollableAncestor === ((_node$ownerDocument2 = node.ownerDocument) == null ? void 0 : _node$ownerDocument2.body);
20396
20425
  const win = getWindow(scrollableAncestor);
20397
20426
  if (isBody) {
20398
- return list2.concat(win, win.visualViewport || [], isOverflowElement(scrollableAncestor) ? scrollableAncestor : [], win.frameElement && traverseIframes ? getOverflowAncestors(win.frameElement) : []);
20427
+ return list.concat(win, win.visualViewport || [], isOverflowElement(scrollableAncestor) ? scrollableAncestor : [], win.frameElement && traverseIframes ? getOverflowAncestors(win.frameElement) : []);
20399
20428
  }
20400
- return list2.concat(scrollableAncestor, getOverflowAncestors(scrollableAncestor, [], traverseIframes));
20429
+ return list.concat(scrollableAncestor, getOverflowAncestors(scrollableAncestor, [], traverseIframes));
20401
20430
  }
20402
20431
  function getCssDimensions(element) {
20403
20432
  const css = getComputedStyle(element);
@@ -20643,7 +20672,7 @@ function getClippingElementAncestors(element, cache) {
20643
20672
  if (cachedResult) {
20644
20673
  return cachedResult;
20645
20674
  }
20646
- let result2 = getOverflowAncestors(element, [], false).filter((el) => isElement(el) && getNodeName(el) !== "body");
20675
+ let result = getOverflowAncestors(element, [], false).filter((el) => isElement(el) && getNodeName(el) !== "body");
20647
20676
  let currentContainingBlockComputedStyle = null;
20648
20677
  const elementIsFixed = getComputedStyle(element).position === "fixed";
20649
20678
  let currentNode = elementIsFixed ? getParentNode(element) : element;
@@ -20655,14 +20684,14 @@ function getClippingElementAncestors(element, cache) {
20655
20684
  }
20656
20685
  const shouldDropCurrentNode = elementIsFixed ? !currentNodeIsContaining && !currentContainingBlockComputedStyle : !currentNodeIsContaining && computedStyle.position === "static" && !!currentContainingBlockComputedStyle && ["absolute", "fixed"].includes(currentContainingBlockComputedStyle.position) || isOverflowElement(currentNode) && !currentNodeIsContaining && hasFixedPositionAncestor(element, currentNode);
20657
20686
  if (shouldDropCurrentNode) {
20658
- result2 = result2.filter((ancestor) => ancestor !== currentNode);
20687
+ result = result.filter((ancestor) => ancestor !== currentNode);
20659
20688
  } else {
20660
20689
  currentContainingBlockComputedStyle = computedStyle;
20661
20690
  }
20662
20691
  currentNode = getParentNode(currentNode);
20663
20692
  }
20664
- cache.set(element, result2);
20665
- return result2;
20693
+ cache.set(element, result);
20694
+ return result;
20666
20695
  }
20667
20696
  function getClippingRect(_ref) {
20668
20697
  let {
@@ -20834,6 +20863,7 @@ function observeMove(element, onMove) {
20834
20863
  try {
20835
20864
  io = new IntersectionObserver(handleObserve, {
20836
20865
  ...options,
20866
+ // Handle <iframe>s
20837
20867
  root: root2.ownerDocument
20838
20868
  });
20839
20869
  } catch (e2) {
@@ -21273,7 +21303,9 @@ const FormItemLayout = (props) => {
21273
21303
  };
21274
21304
  const FormItem = (props) => {
21275
21305
  const {
21306
+ // 样式相关
21276
21307
  style,
21308
+ // FormItem 相关
21277
21309
  label,
21278
21310
  help,
21279
21311
  extra,
@@ -21285,6 +21317,7 @@ const FormItem = (props) => {
21285
21317
  layout,
21286
21318
  childElementPosition,
21287
21319
  description,
21320
+ // Field 相关
21288
21321
  disabled,
21289
21322
  rules: rules2,
21290
21323
  children,
@@ -21481,7 +21514,6 @@ const index$a = attachPropertiesToComponent(Form2, {
21481
21514
  useForm,
21482
21515
  useWatch
21483
21516
  });
21484
- const grid = "";
21485
21517
  const classPrefix$K = `adm-grid`;
21486
21518
  const Grid$1 = (props) => {
21487
21519
  const style = {
@@ -21519,7 +21551,6 @@ const GridItem = (p) => {
21519
21551
  const Grid = attachPropertiesToComponent(Grid$1, {
21520
21552
  Item: GridItem
21521
21553
  });
21522
- const imageViewer = "";
21523
21554
  const useDragAndPinch = createUseGesture([dragAction, pinchAction]);
21524
21555
  const create = () => {
21525
21556
  return [1, 0, 0, 1, 0, 0];
@@ -21837,9 +21868,9 @@ const Slides = forwardRef((props, ref) => {
21837
21868
  style: {
21838
21869
  x: x.to((x2) => -x2)
21839
21870
  }
21840
- }, props.images.map((image2, index2) => React__default.createElement(Slide, {
21871
+ }, props.images.map((image, index2) => React__default.createElement(Slide, {
21841
21872
  key: index2,
21842
- image: image2,
21873
+ image,
21843
21874
  onTap: props.onTap,
21844
21875
  maxZoom: props.maxZoom,
21845
21876
  onZoomChange: (zoom) => {
@@ -22021,12 +22052,11 @@ const PreviewItem = (props) => {
22021
22052
  }), renderLoading(), renderDelete());
22022
22053
  };
22023
22054
  const PreviewItem$1 = PreviewItem;
22024
- const space = "";
22025
22055
  const classPrefix$F = `adm-space`;
22026
22056
  const defaultProps$z = {
22027
22057
  direction: "horizontal"
22028
22058
  };
22029
- const Space$1 = (p) => {
22059
+ const Space = (p) => {
22030
22060
  const props = mergeProps(defaultProps$z, p);
22031
22061
  const {
22032
22062
  direction,
@@ -22047,7 +22077,6 @@ const Space$1 = (p) => {
22047
22077
  }, child);
22048
22078
  })));
22049
22079
  };
22050
- const Space = Space$1;
22051
22080
  const classPrefix$E = `adm-image-uploader`;
22052
22081
  const defaultProps$y = {
22053
22082
  disableUpload: false,
@@ -22064,7 +22093,7 @@ const defaultProps$y = {
22064
22093
  showFailed: true,
22065
22094
  imageFit: "cover"
22066
22095
  };
22067
- const ImageUploader$1 = forwardRef((p, ref) => {
22096
+ const ImageUploader = forwardRef((p, ref) => {
22068
22097
  const {
22069
22098
  locale
22070
22099
  } = useConfig();
@@ -22159,14 +22188,14 @@ const ImageUploader$1 = forwardRef((p, ref) => {
22159
22188
  const newVal = [];
22160
22189
  yield Promise.all(newTasks.map((currentTask, index2) => __awaiter(this, void 0, void 0, function* () {
22161
22190
  try {
22162
- const result2 = yield props.upload(currentTask.file);
22163
- newVal[index2] = result2;
22191
+ const result = yield props.upload(currentTask.file);
22192
+ newVal[index2] = result;
22164
22193
  setTasks((prev) => {
22165
22194
  return prev.map((task) => {
22166
22195
  if (task.id === currentTask.id) {
22167
22196
  return Object.assign(Object.assign({}, task), {
22168
22197
  status: "success",
22169
- url: result2.url
22198
+ url: result.url
22170
22199
  });
22171
22200
  }
22172
22201
  return task;
@@ -22288,9 +22317,6 @@ const ImageUploader$1 = forwardRef((p, ref) => {
22288
22317
  block: true
22289
22318
  }, contentNode.props.children)));
22290
22319
  });
22291
- const imageUploader = "";
22292
- const ImageUploader = ImageUploader$1;
22293
- const indexBar = "";
22294
22320
  const Panel = () => null;
22295
22321
  const classPrefix$D = `adm-index-bar`;
22296
22322
  const Sidebar = (props) => {
@@ -22458,7 +22484,6 @@ const IndexBar = forwardRef((p, ref) => {
22458
22484
  const index$9 = attachPropertiesToComponent(IndexBar, {
22459
22485
  Panel
22460
22486
  });
22461
- const infiniteScroll = "";
22462
22487
  function isWindow(element) {
22463
22488
  return element === window;
22464
22489
  }
@@ -22471,7 +22496,7 @@ const defaultProps$w = {
22471
22496
  retry
22472
22497
  })
22473
22498
  };
22474
- const InfiniteScroll$1 = (p) => {
22499
+ const InfiniteScroll = (p) => {
22475
22500
  const props = mergeProps(defaultProps$w, p);
22476
22501
  const [failed, setFailed] = useState$1(false);
22477
22502
  const doLoadMore = useLockFn((isRetry) => __awaiter(void 0, void 0, void 0, function* () {
@@ -22561,16 +22586,14 @@ const InfiniteScrollContent = (props) => {
22561
22586
  }
22562
22587
  }, locale.InfiniteScroll.retry));
22563
22588
  }
22564
- return React__default.createElement(React__default.Fragment, null, React__default.createElement("span", null, locale.common.loading), React__default.createElement(DotLoading$1, null));
22589
+ return React__default.createElement(React__default.Fragment, null, React__default.createElement("span", null, locale.common.loading), React__default.createElement(DotLoading, null));
22565
22590
  };
22566
- const InfiniteScroll = InfiniteScroll$1;
22567
- const input = "";
22568
22591
  const classPrefix$A = `adm-input`;
22569
22592
  const defaultProps$v = {
22570
22593
  defaultValue: "",
22571
22594
  onlyShowClearWhenFocus: true
22572
22595
  };
22573
- const Input$1 = forwardRef((p, ref) => {
22596
+ const Input = forwardRef((p, ref) => {
22574
22597
  const props = mergeProps(defaultProps$v, p);
22575
22598
  const [value, setValue2] = usePropsValue(props);
22576
22599
  const [hasFocus, setHasFocus] = useState$1(false);
@@ -22705,8 +22728,6 @@ const Input$1 = forwardRef((p, ref) => {
22705
22728
  "aria-label": locale.Input.clear
22706
22729
  }, React__default.createElement(CloseCircleFill, null))));
22707
22730
  });
22708
- const Input = Input$1;
22709
- const jumboTabs = "";
22710
22731
  const classPrefix$z = `adm-jumbo-tabs`;
22711
22732
  const JumboTab = () => {
22712
22733
  return null;
@@ -22802,8 +22823,6 @@ const JumboTabs = (props) => {
22802
22823
  const index$8 = attachPropertiesToComponent(JumboTabs, {
22803
22824
  Tab: JumboTab
22804
22825
  });
22805
- const DotLoading = DotLoading$2;
22806
- const modal = "";
22807
22826
  const ModalActionButton = (props) => {
22808
22827
  const {
22809
22828
  action
@@ -22915,8 +22934,8 @@ function alert(p) {
22915
22934
  });
22916
22935
  }
22917
22936
  const defaultProps$t = {
22918
- confirmText: "\u786E\u8BA4",
22919
- cancelText: "\u53D6\u6D88"
22937
+ confirmText: "确认",
22938
+ cancelText: "取消"
22920
22939
  };
22921
22940
  function confirm(p) {
22922
22941
  const {
@@ -22966,12 +22985,11 @@ const index$7 = attachPropertiesToComponent(Modal, {
22966
22985
  confirm,
22967
22986
  clear: clear$1
22968
22987
  });
22969
- const navBar = "";
22970
22988
  const classPrefix$y = `adm-nav-bar`;
22971
22989
  const defaultProps$s = {
22972
22990
  backArrow: true
22973
22991
  };
22974
- const NavBar$1 = (p) => {
22992
+ const NavBar = (p) => {
22975
22993
  const props = mergeProps(defaultProps$s, p);
22976
22994
  const {
22977
22995
  back,
@@ -22995,8 +23013,6 @@ const NavBar$1 = (p) => {
22995
23013
  className: `${classPrefix$y}-right`
22996
23014
  }, props.right)));
22997
23015
  };
22998
- const NavBar = NavBar$1;
22999
- const noticeBar = "";
23000
23016
  const classPrefix$x = `adm-notice-bar`;
23001
23017
  const defaultProps$r = {
23002
23018
  color: "default",
@@ -23005,7 +23021,7 @@ const defaultProps$r = {
23005
23021
  wrap: false,
23006
23022
  icon: React__default.createElement(SoundOutline, null)
23007
23023
  };
23008
- const NoticeBar$1 = memo((p) => {
23024
+ const NoticeBar = memo((p) => {
23009
23025
  const props = mergeProps(defaultProps$r, p);
23010
23026
  const containerRef = useRef(null);
23011
23027
  const textRef = useRef(null);
@@ -23086,15 +23102,13 @@ const NoticeBar$1 = memo((p) => {
23086
23102
  className: `${classPrefix$x}-close-icon`
23087
23103
  })))));
23088
23104
  });
23089
- const NoticeBar = NoticeBar$1;
23090
- const numberKeyboard = "";
23091
23105
  function shuffle(array4) {
23092
- const result2 = [...array4];
23093
- for (let i2 = result2.length; i2 > 0; i2--) {
23106
+ const result = [...array4];
23107
+ for (let i2 = result.length; i2 > 0; i2--) {
23094
23108
  const j = Math.floor(Math.random() * i2);
23095
- [result2[i2 - 1], result2[j]] = [result2[j], result2[i2 - 1]];
23109
+ [result[i2 - 1], result[j]] = [result[j], result[i2 - 1]];
23096
23110
  }
23097
- return result2;
23111
+ return result;
23098
23112
  }
23099
23113
  const classPrefix$w = "adm-number-keyboard";
23100
23114
  const defaultProps$q = {
@@ -23107,7 +23121,7 @@ const defaultProps$q = {
23107
23121
  destroyOnClose: false,
23108
23122
  forceRender: false
23109
23123
  };
23110
- const NumberKeyboard$1 = (p) => {
23124
+ const NumberKeyboard = (p) => {
23111
23125
  const props = mergeProps(defaultProps$q, p);
23112
23126
  const {
23113
23127
  visible,
@@ -23119,6 +23133,9 @@ const NumberKeyboard$1 = (p) => {
23119
23133
  showCloseButton,
23120
23134
  onInput
23121
23135
  } = props;
23136
+ const {
23137
+ locale
23138
+ } = useConfig();
23122
23139
  const keyboardRef = useRef(null);
23123
23140
  const keys2 = useMemo(() => {
23124
23141
  const defaultKeys = ["1", "2", "3", "4", "5", "6", "7", "8", "9"];
@@ -23187,8 +23204,8 @@ const NumberKeyboard$1 = (p) => {
23187
23204
  var _a;
23188
23205
  (_a = props.onClose) === null || _a === void 0 ? void 0 : _a.call(props);
23189
23206
  },
23190
- role: "grid",
23191
- title: "CLOSE",
23207
+ role: "button",
23208
+ title: locale.common.close,
23192
23209
  tabIndex: -1
23193
23210
  }, React__default.createElement(DownOutline, null)));
23194
23211
  };
@@ -23200,7 +23217,7 @@ const NumberKeyboard$1 = (p) => {
23200
23217
  [`${classPrefix$w}-key-mid`]: index2 === 9 && !!confirmText && keys2.length < 12
23201
23218
  });
23202
23219
  const ariaProps = key ? {
23203
- role: "grid",
23220
+ role: "button",
23204
23221
  title: key,
23205
23222
  tabIndex: -1
23206
23223
  } : void 0;
@@ -23256,13 +23273,13 @@ const NumberKeyboard$1 = (p) => {
23256
23273
  onContextMenu: (e2) => {
23257
23274
  e2.preventDefault();
23258
23275
  },
23259
- title: "BACKSPACE",
23260
- role: "grid",
23276
+ title: locale.Input.clear,
23277
+ role: "button",
23261
23278
  tabIndex: -1
23262
23279
  }, React__default.createElement(TextDeletionOutline, null)), React__default.createElement("div", {
23263
23280
  className: `${classPrefix$w}-key ${classPrefix$w}-key-extra ${classPrefix$w}-key-ok`,
23264
23281
  onTouchEnd: (e2) => onKeyPress(e2, "OK"),
23265
- role: "grid",
23282
+ role: "button",
23266
23283
  tabIndex: -1,
23267
23284
  "aria-label": confirmText
23268
23285
  }, confirmText))), props.safeArea && React__default.createElement("div", {
@@ -23271,14 +23288,12 @@ const NumberKeyboard$1 = (p) => {
23271
23288
  position: "bottom"
23272
23289
  })))));
23273
23290
  };
23274
- const NumberKeyboard = NumberKeyboard$1;
23275
- const pageIndicator = "";
23276
23291
  const classPrefix$v = `adm-page-indicator`;
23277
23292
  const defaultProps$p = {
23278
23293
  color: "primary",
23279
23294
  direction: "horizontal"
23280
23295
  };
23281
- const PageIndicator$1 = memo((p) => {
23296
+ const PageIndicator = memo((p) => {
23282
23297
  const props = mergeProps(defaultProps$p, p);
23283
23298
  const dots = [];
23284
23299
  for (let i2 = 0; i2 < props.total; i2++) {
@@ -23293,8 +23308,6 @@ const PageIndicator$1 = memo((p) => {
23293
23308
  className: classNames(classPrefix$v, `${classPrefix$v}-${props.direction}`, `${classPrefix$v}-color-${props.color}`)
23294
23309
  }, dots));
23295
23310
  });
23296
- const PageIndicator = PageIndicator$1;
23297
- const passcodeInput = "";
23298
23311
  const classPrefix$u = "adm-passcode-input";
23299
23312
  const defaultProps$o = {
23300
23313
  defaultValue: "",
@@ -23304,7 +23317,7 @@ const defaultProps$o = {
23304
23317
  seperated: false,
23305
23318
  caret: true
23306
23319
  };
23307
- const PasscodeInput$1 = forwardRef((p, ref) => {
23320
+ const PasscodeInput = forwardRef((p, ref) => {
23308
23321
  const props = mergeProps(defaultProps$o, p);
23309
23322
  const cellLength = props.length > 0 && props.length < Infinity ? Math.floor(props.length) : defaultProps$o.length;
23310
23323
  const {
@@ -23418,15 +23431,13 @@ const PasscodeInput$1 = forwardRef((p, ref) => {
23418
23431
  }
23419
23432
  }));
23420
23433
  });
23421
- const PasscodeInput = PasscodeInput$1;
23422
- const progressBar = "";
23423
23434
  const classPrefix$t = `adm-progress-bar`;
23424
23435
  const defaultProps$n = {
23425
23436
  percent: 0,
23426
23437
  rounded: true,
23427
23438
  text: false
23428
23439
  };
23429
- const ProgressBar$1 = (p) => {
23440
+ const ProgressBar = (p) => {
23430
23441
  const props = mergeProps(defaultProps$n, p);
23431
23442
  const fillStyle = {
23432
23443
  width: `${props.percent}%`
@@ -23451,10 +23462,8 @@ const ProgressBar$1 = (p) => {
23451
23462
  className: `${classPrefix$t}-text`
23452
23463
  }, textElement)));
23453
23464
  };
23454
- const ProgressBar = ProgressBar$1;
23455
- const progressCircle = "";
23456
23465
  const classPrefix$s = `adm-progress-circle`;
23457
- const ProgressCircle$1 = (p) => {
23466
+ const ProgressCircle = (p) => {
23458
23467
  const props = mergeProps({
23459
23468
  percent: 0
23460
23469
  }, p);
@@ -23478,21 +23487,19 @@ const ProgressCircle$1 = (p) => {
23478
23487
  className: `${classPrefix$s}-info`
23479
23488
  }, props.children))));
23480
23489
  };
23481
- const ProgressCircle = ProgressCircle$1;
23482
- const pullToRefresh = "";
23483
23490
  const sleep = (time) => new Promise((resolve) => setTimeout(resolve, time));
23484
23491
  const classPrefix$r = `adm-pull-to-refresh`;
23485
23492
  const defaultProps$m = {
23486
- pullingText: "\u4E0B\u62C9\u5237\u65B0",
23487
- canReleaseText: "\u91CA\u653E\u7ACB\u5373\u5237\u65B0",
23488
- refreshingText: "\u52A0\u8F7D\u4E2D...",
23489
- completeText: "\u5237\u65B0\u6210\u529F",
23493
+ pullingText: "下拉刷新",
23494
+ canReleaseText: "释放立即刷新",
23495
+ refreshingText: "加载中...",
23496
+ completeText: "刷新成功",
23490
23497
  completeDelay: 500,
23491
23498
  disabled: false,
23492
23499
  onRefresh: () => {
23493
23500
  }
23494
23501
  };
23495
- const PullToRefresh$1 = (p) => {
23502
+ const PullToRefresh = (p) => {
23496
23503
  var _a, _b;
23497
23504
  const {
23498
23505
  locale
@@ -23648,8 +23655,6 @@ const PullToRefresh$1 = (p) => {
23648
23655
  className: `${classPrefix$r}-content`
23649
23656
  }, props.children));
23650
23657
  };
23651
- const PullToRefresh = PullToRefresh$1;
23652
- const radio = "";
23653
23658
  const RadioGroupContext = createContext(null);
23654
23659
  const defaultProps$l = {
23655
23660
  disabled: false,
@@ -23670,6 +23675,7 @@ const Group = (p) => {
23670
23675
  return React__default.createElement(
23671
23676
  RadioGroupContext.Provider,
23672
23677
  {
23678
+ // TODO: 性能优化
23673
23679
  value: {
23674
23680
  value: value === null ? [] : [value],
23675
23681
  check: (v) => {
@@ -23700,7 +23706,7 @@ const Radio = (p) => {
23700
23706
  value
23701
23707
  } = props;
23702
23708
  if (groupContext && value !== void 0) {
23703
- if (isDev) {
23709
+ {
23704
23710
  if (p.checked !== void 0) {
23705
23711
  devWarning("Radio", "When used within `Radio.Group`, the `checked` prop of `Radio` will not work.");
23706
23712
  }
@@ -23750,7 +23756,6 @@ const Radio = (p) => {
23750
23756
  const index$6 = attachPropertiesToComponent(Radio, {
23751
23757
  Group
23752
23758
  });
23753
- const rate = "";
23754
23759
  const Star = () => {
23755
23760
  return React__default.createElement("svg", {
23756
23761
  viewBox: "0 0 42 40",
@@ -23774,7 +23779,7 @@ const defaultProps$j = {
23774
23779
  readOnly: false,
23775
23780
  allowClear: true
23776
23781
  };
23777
- const Rate$1 = (p) => {
23782
+ const Rate = (p) => {
23778
23783
  const props = mergeProps(defaultProps$j, p);
23779
23784
  const [value, setValue2] = usePropsValue(props);
23780
23785
  const containerRef = useRef(null);
@@ -23831,8 +23836,6 @@ const Rate$1 = (p) => {
23831
23836
  className: classNames(`${classPrefix$p}-box`)
23832
23837
  }, props.allowHalf && renderStar(i2 + 0.5, true), renderStar(i2 + 1, false)))));
23833
23838
  };
23834
- const Rate = Rate$1;
23835
- const result = "";
23836
23839
  const classPrefix$o = `adm-result`;
23837
23840
  const iconRecord$1 = {
23838
23841
  success: CheckCircleFill,
@@ -23844,7 +23847,7 @@ const iconRecord$1 = {
23844
23847
  const defaultProps$i = {
23845
23848
  status: "info"
23846
23849
  };
23847
- const Result$1 = (p) => {
23850
+ const Result = (p) => {
23848
23851
  const props = mergeProps(defaultProps$i, p);
23849
23852
  const {
23850
23853
  status,
@@ -23865,8 +23868,6 @@ const Result$1 = (p) => {
23865
23868
  className: `${classPrefix$o}-description`
23866
23869
  }, description)));
23867
23870
  };
23868
- const Result = Result$1;
23869
- const resultPage = "";
23870
23871
  const classPrefix$n = `adm-result-page`;
23871
23872
  const iconRecord = {
23872
23873
  success: CheckCircleFill,
@@ -23893,7 +23894,7 @@ const ResultPage = (p) => {
23893
23894
  onSecondaryButtonClick
23894
23895
  } = props;
23895
23896
  const resultIcon = icon || React__default.createElement(iconRecord[status]);
23896
- const [collapse2, setCollapse] = useState$1(true);
23897
+ const [collapse, setCollapse] = useState$1(true);
23897
23898
  const showSecondaryButton = isNodeWithContent(secondaryButtonText);
23898
23899
  const showPrimaryButton = isNodeWithContent(primaryButtonText);
23899
23900
  return withNativeProps(props, React__default.createElement("div", {
@@ -23908,7 +23909,7 @@ const ResultPage = (p) => {
23908
23909
  className: `${classPrefix$n}-description`
23909
23910
  }, description) : null, (details === null || details === void 0 ? void 0 : details.length) ? React__default.createElement("div", {
23910
23911
  className: `${classPrefix$n}-details`
23911
- }, (collapse2 ? details.slice(0, 3) : details).map((detail, index2) => {
23912
+ }, (collapse ? details.slice(0, 3) : details).map((detail, index2) => {
23912
23913
  return React__default.createElement("div", {
23913
23914
  className: classNames(`${classPrefix$n}-detail`, detail.bold && `${classPrefix$n}-detail-bold`),
23914
23915
  key: index2
@@ -23916,7 +23917,7 @@ const ResultPage = (p) => {
23916
23917
  }), details.length > 3 && React__default.createElement("div", {
23917
23918
  onClick: () => setCollapse((prev) => !prev)
23918
23919
  }, React__default.createElement("div", {
23919
- className: classNames(`${classPrefix$n}-collapse`, !collapse2 && `${classPrefix$n}-collapse-active`)
23920
+ className: classNames(`${classPrefix$n}-collapse`, !collapse && `${classPrefix$n}-collapse-active`)
23920
23921
  }))) : null, React__default.createElement("div", {
23921
23922
  className: `${classPrefix$n}-bgWrapper`
23922
23923
  }, React__default.createElement("div", {
@@ -23952,7 +23953,6 @@ const ResultPageCard = (props) => {
23952
23953
  const index$5 = attachPropertiesToComponent(ResultPage, {
23953
23954
  Card: ResultPageCard
23954
23955
  });
23955
- const searchBar = "";
23956
23956
  const classPrefix$l = `adm-search-bar`;
23957
23957
  const defaultProps$g = {
23958
23958
  clearable: true,
@@ -23962,7 +23962,7 @@ const defaultProps$g = {
23962
23962
  clearOnCancel: true,
23963
23963
  icon: React__default.createElement(SearchOutline, null)
23964
23964
  };
23965
- const SearchBar$1 = forwardRef((p, ref) => {
23965
+ const SearchBar = forwardRef((p, ref) => {
23966
23966
  const {
23967
23967
  locale
23968
23968
  } = useConfig();
@@ -24068,8 +24068,6 @@ const SearchBar$1 = forwardRef((p, ref) => {
24068
24068
  }
24069
24069
  })), renderCancelButton()));
24070
24070
  });
24071
- const SearchBar = SearchBar$1;
24072
- const selector = "";
24073
24071
  const CheckMark = memo(() => {
24074
24072
  return React__default.createElement("svg", {
24075
24073
  width: "17px",
@@ -24104,7 +24102,7 @@ const defaultProps$f = {
24104
24102
  defaultValue: [],
24105
24103
  showCheckMark: true
24106
24104
  };
24107
- const Selector$1 = (p) => {
24105
+ const Selector = (p) => {
24108
24106
  const props = mergeProps(defaultProps$f, p);
24109
24107
  const [labelName, valueName, , disabledName] = useFieldNames(props.fieldNames);
24110
24108
  const [value, setValue2] = usePropsValue({
@@ -24164,8 +24162,6 @@ const Selector$1 = (p) => {
24164
24162
  wrap: true
24165
24163
  }, items)));
24166
24164
  };
24167
- const Selector = Selector$1;
24168
- const sideBar = "";
24169
24165
  const Corner = memo((props) => withNativeProps(props, React__default.createElement("svg", {
24170
24166
  viewBox: "0 0 30 30"
24171
24167
  }, React__default.createElement("g", {
@@ -24252,7 +24248,6 @@ const SideBar = (props) => {
24252
24248
  const index$4 = attachPropertiesToComponent(SideBar, {
24253
24249
  Item: SideBarItem
24254
24250
  });
24255
- const slider = "";
24256
24251
  const classPrefix$i = `adm-slider`;
24257
24252
  const Ticks = ({
24258
24253
  points,
@@ -24386,7 +24381,12 @@ function validateNumber(num) {
24386
24381
  if (!num) {
24387
24382
  return false;
24388
24383
  }
24389
- return /^\s*-?\d+(\.\d+)?\s*$/.test(num) || /^\s*-?\d+\.\s*$/.test(num) || /^\s*-?\.\d+\s*$/.test(num);
24384
+ return (
24385
+ // Normal type: 11.28
24386
+ /^\s*-?\d+(\.\d+)?\s*$/.test(num) || // Pre-number: 1.
24387
+ /^\s*-?\d+\.\s*$/.test(num) || // Post-number: .1
24388
+ /^\s*-?\.\d+\s*$/.test(num)
24389
+ );
24390
24390
  }
24391
24391
  var BigIntDecimal = /* @__PURE__ */ function() {
24392
24392
  function BigIntDecimal2(value) {
@@ -24434,11 +24434,18 @@ var BigIntDecimal = /* @__PURE__ */ function() {
24434
24434
  value: function getIntegerStr() {
24435
24435
  return this.integer.toString();
24436
24436
  }
24437
+ /**
24438
+ * @private get decimal string
24439
+ */
24437
24440
  }, {
24438
24441
  key: "getDecimalStr",
24439
24442
  value: function getDecimalStr() {
24440
24443
  return this.decimal.toString().padStart(this.decimalLen, "0");
24441
24444
  }
24445
+ /**
24446
+ * @private Align BigIntDecimal with same decimal length. e.g. 12.3 + 5 = 1230000
24447
+ * This is used for add function only.
24448
+ */
24442
24449
  }, {
24443
24450
  key: "alignDecimal",
24444
24451
  value: function alignDecimal(decimalLength) {
@@ -24774,7 +24781,7 @@ const defaultProps$e = {
24774
24781
  popover: false,
24775
24782
  residentPopover: false
24776
24783
  };
24777
- const Slider$1 = (p) => {
24784
+ const Slider = (p) => {
24778
24785
  var _a;
24779
24786
  const props = mergeProps(defaultProps$e, p);
24780
24787
  const {
@@ -24944,8 +24951,6 @@ const Slider$1 = (p) => {
24944
24951
  upperBound: sliderValue[1]
24945
24952
  })));
24946
24953
  };
24947
- const Slider = Slider$1;
24948
- const stepper = "";
24949
24954
  var useMergedState$1 = {};
24950
24955
  var slicedToArray = { exports: {} };
24951
24956
  var arrayWithHoles = { exports: {} };
@@ -24956,6 +24961,7 @@ var arrayWithHoles = { exports: {} };
24956
24961
  }
24957
24962
  module.exports = _arrayWithHoles2, module.exports.__esModule = true, module.exports["default"] = module.exports;
24958
24963
  })(arrayWithHoles);
24964
+ var arrayWithHolesExports = arrayWithHoles.exports;
24959
24965
  var iterableToArrayLimit = { exports: {} };
24960
24966
  (function(module) {
24961
24967
  function _iterableToArrayLimit2(r, l) {
@@ -24986,6 +24992,7 @@ var iterableToArrayLimit = { exports: {} };
24986
24992
  }
24987
24993
  module.exports = _iterableToArrayLimit2, module.exports.__esModule = true, module.exports["default"] = module.exports;
24988
24994
  })(iterableToArrayLimit);
24995
+ var iterableToArrayLimitExports = iterableToArrayLimit.exports;
24989
24996
  var unsupportedIterableToArray = { exports: {} };
24990
24997
  var arrayLikeToArray = { exports: {} };
24991
24998
  (function(module) {
@@ -24998,23 +25005,25 @@ var arrayLikeToArray = { exports: {} };
24998
25005
  }
24999
25006
  module.exports = _arrayLikeToArray2, module.exports.__esModule = true, module.exports["default"] = module.exports;
25000
25007
  })(arrayLikeToArray);
25008
+ var arrayLikeToArrayExports = arrayLikeToArray.exports;
25001
25009
  (function(module) {
25002
- var arrayLikeToArray$1 = arrayLikeToArray.exports;
25010
+ var arrayLikeToArray2 = arrayLikeToArrayExports;
25003
25011
  function _unsupportedIterableToArray2(o, minLen) {
25004
25012
  if (!o)
25005
25013
  return;
25006
25014
  if (typeof o === "string")
25007
- return arrayLikeToArray$1(o, minLen);
25015
+ return arrayLikeToArray2(o, minLen);
25008
25016
  var n2 = Object.prototype.toString.call(o).slice(8, -1);
25009
25017
  if (n2 === "Object" && o.constructor)
25010
25018
  n2 = o.constructor.name;
25011
25019
  if (n2 === "Map" || n2 === "Set")
25012
25020
  return Array.from(o);
25013
25021
  if (n2 === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n2))
25014
- return arrayLikeToArray$1(o, minLen);
25022
+ return arrayLikeToArray2(o, minLen);
25015
25023
  }
25016
25024
  module.exports = _unsupportedIterableToArray2, module.exports.__esModule = true, module.exports["default"] = module.exports;
25017
25025
  })(unsupportedIterableToArray);
25026
+ var unsupportedIterableToArrayExports = unsupportedIterableToArray.exports;
25018
25027
  var nonIterableRest = { exports: {} };
25019
25028
  (function(module) {
25020
25029
  function _nonIterableRest2() {
@@ -25022,18 +25031,20 @@ var nonIterableRest = { exports: {} };
25022
25031
  }
25023
25032
  module.exports = _nonIterableRest2, module.exports.__esModule = true, module.exports["default"] = module.exports;
25024
25033
  })(nonIterableRest);
25034
+ var nonIterableRestExports = nonIterableRest.exports;
25025
25035
  (function(module) {
25026
- var arrayWithHoles$1 = arrayWithHoles.exports;
25027
- var iterableToArrayLimit$1 = iterableToArrayLimit.exports;
25028
- var unsupportedIterableToArray$1 = unsupportedIterableToArray.exports;
25029
- var nonIterableRest$1 = nonIterableRest.exports;
25036
+ var arrayWithHoles2 = arrayWithHolesExports;
25037
+ var iterableToArrayLimit2 = iterableToArrayLimitExports;
25038
+ var unsupportedIterableToArray2 = unsupportedIterableToArrayExports;
25039
+ var nonIterableRest2 = nonIterableRestExports;
25030
25040
  function _slicedToArray3(arr, i2) {
25031
- return arrayWithHoles$1(arr) || iterableToArrayLimit$1(arr, i2) || unsupportedIterableToArray$1(arr, i2) || nonIterableRest$1();
25041
+ return arrayWithHoles2(arr) || iterableToArrayLimit2(arr, i2) || unsupportedIterableToArray2(arr, i2) || nonIterableRest2();
25032
25042
  }
25033
25043
  module.exports = _slicedToArray3, module.exports.__esModule = true, module.exports["default"] = module.exports;
25034
25044
  })(slicedToArray);
25045
+ var slicedToArrayExports = slicedToArray.exports;
25035
25046
  var useEvent$1 = {};
25036
- var _interopRequireWildcard$2 = interopRequireWildcard.exports.default;
25047
+ var _interopRequireWildcard$2 = interopRequireWildcardExports.default;
25037
25048
  Object.defineProperty(useEvent$1, "__esModule", {
25038
25049
  value: true
25039
25050
  });
@@ -25060,8 +25071,8 @@ canUseDom$1.default = canUseDom;
25060
25071
  function canUseDom() {
25061
25072
  return !!(typeof window !== "undefined" && window.document && window.document.createElement);
25062
25073
  }
25063
- var _interopRequireDefault$2 = interopRequireDefault.exports.default;
25064
- var _interopRequireWildcard$1 = interopRequireWildcard.exports.default;
25074
+ var _interopRequireDefault$2 = interopRequireDefaultExports.default;
25075
+ var _interopRequireWildcard$1 = interopRequireWildcardExports.default;
25065
25076
  Object.defineProperty(useLayoutEffect$1, "__esModule", {
25066
25077
  value: true
25067
25078
  });
@@ -25092,13 +25103,13 @@ useLayoutEffect$1.useLayoutUpdateEffect = useLayoutUpdateEffect;
25092
25103
  var _default$1 = useLayoutEffect;
25093
25104
  useLayoutEffect$1.default = _default$1;
25094
25105
  var useState = {};
25095
- var _interopRequireWildcard = interopRequireWildcard.exports.default;
25096
- var _interopRequireDefault$1 = interopRequireDefault.exports.default;
25106
+ var _interopRequireWildcard = interopRequireWildcardExports.default;
25107
+ var _interopRequireDefault$1 = interopRequireDefaultExports.default;
25097
25108
  Object.defineProperty(useState, "__esModule", {
25098
25109
  value: true
25099
25110
  });
25100
25111
  useState.default = useSafeState;
25101
- var _slicedToArray2$1 = _interopRequireDefault$1(slicedToArray.exports);
25112
+ var _slicedToArray2$1 = _interopRequireDefault$1(slicedToArrayExports);
25102
25113
  var React = _interopRequireWildcard(React__default);
25103
25114
  function useSafeState(defaultValue) {
25104
25115
  var destroyRef = React.useRef(false);
@@ -25117,12 +25128,12 @@ function useSafeState(defaultValue) {
25117
25128
  }
25118
25129
  return [value, safeSetState];
25119
25130
  }
25120
- var _interopRequireDefault = interopRequireDefault.exports.default;
25131
+ var _interopRequireDefault = interopRequireDefaultExports.default;
25121
25132
  Object.defineProperty(useMergedState$1, "__esModule", {
25122
25133
  value: true
25123
25134
  });
25124
25135
  var _default = useMergedState$1.default = useMergedState;
25125
- var _slicedToArray2 = _interopRequireDefault(slicedToArray.exports);
25136
+ var _slicedToArray2 = _interopRequireDefault(slicedToArrayExports);
25126
25137
  var _useEvent = _interopRequireDefault(useEvent$1);
25127
25138
  var _useLayoutEffect = useLayoutEffect$1;
25128
25139
  var _useState5 = _interopRequireDefault(useState);
@@ -25360,9 +25371,7 @@ function InnerStepper(p, ref) {
25360
25371
  "aria-label": locale.Stepper.increase
25361
25372
  }, React__default.createElement(AddOutline, null))));
25362
25373
  }
25363
- const Stepper$1 = forwardRef(InnerStepper);
25364
- const Stepper = Stepper$1;
25365
- const steps = "";
25374
+ const Stepper = forwardRef(InnerStepper);
25366
25375
  const classPrefix$d = `adm-step`;
25367
25376
  const Step = (props) => {
25368
25377
  const {
@@ -25425,7 +25434,6 @@ const Steps = (p) => {
25425
25434
  const index$3 = attachPropertiesToComponent(Steps, {
25426
25435
  Step
25427
25436
  });
25428
- const swipeAction = "";
25429
25437
  const classPrefix$b = `adm-swipe-action`;
25430
25438
  const defaultProps$b = {
25431
25439
  rightActions: [],
@@ -25434,7 +25442,7 @@ const defaultProps$b = {
25434
25442
  closeOnAction: true,
25435
25443
  stopPropagation: []
25436
25444
  };
25437
- const SwipeAction$1 = forwardRef((p, ref) => {
25445
+ const SwipeAction = forwardRef((p, ref) => {
25438
25446
  const props = mergeProps(defaultProps$b, p);
25439
25447
  const rootRef = useRef(null);
25440
25448
  const leftRef = useRef(null);
@@ -25624,8 +25632,6 @@ const colorRecord$1 = {
25624
25632
  warning: "var(--adm-color-warning)",
25625
25633
  danger: "var(--adm-color-danger)"
25626
25634
  };
25627
- const SwipeAction = SwipeAction$1;
25628
- const swiper = "";
25629
25635
  const SwiperItem = (props) => {
25630
25636
  return withNativeProps(props, React__default.createElement("div", {
25631
25637
  className: "adm-swiper-item",
@@ -25952,7 +25958,6 @@ function modulus(value, division) {
25952
25958
  const index$2 = attachPropertiesToComponent(Swiper, {
25953
25959
  Item: SwiperItem
25954
25960
  });
25955
- const _switch = "";
25956
25961
  const SpinIcon = memo((props) => {
25957
25962
  return withNativeProps(props, React__default.createElement("svg", {
25958
25963
  width: "28px",
@@ -25978,7 +25983,7 @@ const classPrefix$9 = `adm-switch`;
25978
25983
  const defaultProps$9 = {
25979
25984
  defaultChecked: false
25980
25985
  };
25981
- const Switch$1 = (p) => {
25986
+ const Switch = (p) => {
25982
25987
  const props = mergeProps(defaultProps$9, p);
25983
25988
  const disabled = props.disabled || props.loading || false;
25984
25989
  const [changing, setChanging] = useState$1(false);
@@ -26006,11 +26011,11 @@ const Switch$1 = (p) => {
26006
26011
  throw e2;
26007
26012
  }
26008
26013
  }
26009
- const result2 = setChecked(nextChecked);
26010
- if (isPromise(result2)) {
26014
+ const result = setChecked(nextChecked);
26015
+ if (isPromise(result)) {
26011
26016
  setChanging(true);
26012
26017
  try {
26013
- yield result2;
26018
+ yield result;
26014
26019
  setChanging(false);
26015
26020
  } catch (e2) {
26016
26021
  setChanging(false);
@@ -26039,8 +26044,6 @@ const Switch$1 = (p) => {
26039
26044
  className: `${classPrefix$9}-inner`
26040
26045
  }, checked ? props.checkedText : props.uncheckedText))));
26041
26046
  };
26042
- const Switch = Switch$1;
26043
- const tabBar = "";
26044
26047
  const TabBarItem = () => {
26045
26048
  return null;
26046
26049
  };
@@ -26121,7 +26124,6 @@ const TabBar = (p) => {
26121
26124
  const index$1 = attachPropertiesToComponent(TabBar, {
26122
26125
  Item: TabBarItem
26123
26126
  });
26124
- const tag = "";
26125
26127
  const classPrefix$7 = `adm-tag`;
26126
26128
  const colorRecord = {
26127
26129
  default: "var(--adm-color-text-secondary, #666666)",
@@ -26135,7 +26137,7 @@ const defaultProps$7 = {
26135
26137
  fill: "solid",
26136
26138
  round: false
26137
26139
  };
26138
- const Tag$1 = (p) => {
26140
+ const Tag = (p) => {
26139
26141
  var _a;
26140
26142
  const props = mergeProps(defaultProps$7, p);
26141
26143
  const color = (_a = colorRecord[props.color]) !== null && _a !== void 0 ? _a : props.color;
@@ -26152,8 +26154,6 @@ const Tag$1 = (p) => {
26152
26154
  })
26153
26155
  }, props.children));
26154
26156
  };
26155
- const Tag = Tag$1;
26156
- const textArea = "";
26157
26157
  const classPrefix$6 = "adm-text-area";
26158
26158
  const defaultProps$6 = {
26159
26159
  rows: 2,
@@ -26161,7 +26161,7 @@ const defaultProps$6 = {
26161
26161
  autoSize: false,
26162
26162
  defaultValue: ""
26163
26163
  };
26164
- const TextArea$1 = forwardRef((p, ref) => {
26164
+ const TextArea = forwardRef((p, ref) => {
26165
26165
  const props = mergeProps(defaultProps$6, p);
26166
26166
  const {
26167
26167
  autoSize,
@@ -26196,16 +26196,16 @@ const TextArea$1 = forwardRef((p, ref) => {
26196
26196
  useIsomorphicLayoutEffect$2(() => {
26197
26197
  if (!autoSize)
26198
26198
  return;
26199
- const textArea2 = nativeTextAreaRef.current;
26199
+ const textArea = nativeTextAreaRef.current;
26200
26200
  const hiddenTextArea = hiddenTextAreaRef.current;
26201
- if (!textArea2)
26201
+ if (!textArea)
26202
26202
  return;
26203
- textArea2.style.height = heightRef.current;
26203
+ textArea.style.height = heightRef.current;
26204
26204
  if (!hiddenTextArea)
26205
26205
  return;
26206
26206
  let height = hiddenTextArea.scrollHeight;
26207
26207
  if (typeof autoSize === "object") {
26208
- const computedStyle = window.getComputedStyle(textArea2);
26208
+ const computedStyle = window.getComputedStyle(textArea);
26209
26209
  const lineHeight = parseFloat(computedStyle.lineHeight);
26210
26210
  if (autoSize.minRows) {
26211
26211
  height = Math.max(height, autoSize.minRows * lineHeight);
@@ -26215,7 +26215,7 @@ const TextArea$1 = forwardRef((p, ref) => {
26215
26215
  }
26216
26216
  }
26217
26217
  heightRef.current = `${height}px`;
26218
- textArea2.style.height = `${height}px`;
26218
+ textArea.style.height = `${height}px`;
26219
26219
  }, [value, autoSize]);
26220
26220
  const compositingRef = useRef(false);
26221
26221
  let count;
@@ -26283,9 +26283,7 @@ const TextArea$1 = forwardRef((p, ref) => {
26283
26283
  readOnly: true
26284
26284
  })));
26285
26285
  });
26286
- TextArea$1.defaultProps = defaultProps$6;
26287
- const TextArea = TextArea$1;
26288
- const toast = "";
26286
+ TextArea.defaultProps = defaultProps$6;
26289
26287
  const classPrefix$5 = `adm-toast`;
26290
26288
  const defaultProps$5 = {
26291
26289
  maskClickable: true,
@@ -26406,7 +26404,6 @@ const Toast = {
26406
26404
  config
26407
26405
  };
26408
26406
  const Toast$1 = Toast;
26409
- const treeSelect = "";
26410
26407
  function getTreeDeep(treeData, childrenName = "children") {
26411
26408
  const walker = (tree) => {
26412
26409
  let deep = 0;
@@ -26744,12 +26741,11 @@ const Multiple = (p) => {
26744
26741
  const index = attachPropertiesToComponent(TreeSelect, {
26745
26742
  Multiple
26746
26743
  });
26747
- const virtualInput = "";
26748
26744
  const classPrefix$2 = "adm-virtual-input";
26749
26745
  const defaultProps$2 = {
26750
26746
  defaultValue: ""
26751
26747
  };
26752
- const VirtualInput$1 = forwardRef((p, ref) => {
26748
+ const VirtualInput = forwardRef((p, ref) => {
26753
26749
  const props = mergeProps(defaultProps$2, p);
26754
26750
  const [value, setValue2] = usePropsValue(props);
26755
26751
  const rootRef = useRef(null);
@@ -26829,7 +26825,7 @@ const VirtualInput$1 = forwardRef((p, ref) => {
26829
26825
  [`${classPrefix$2}-disabled`]: props.disabled
26830
26826
  }),
26831
26827
  tabIndex: props.disabled ? void 0 : 0,
26832
- role: "option",
26828
+ role: "textbox",
26833
26829
  onFocus,
26834
26830
  onBlur,
26835
26831
  onClick: props.onClick
@@ -26856,13 +26852,11 @@ const VirtualInput$1 = forwardRef((p, ref) => {
26856
26852
  className: `${classPrefix$2}-placeholder`
26857
26853
  }, props.placeholder), keyboardElement));
26858
26854
  });
26859
- const VirtualInput = VirtualInput$1;
26860
- const waterMark = "";
26861
26855
  const classPrefix$1 = `adm-water-mark`;
26862
26856
  const defaultProps$1 = {
26863
26857
  fullPage: true
26864
26858
  };
26865
- const WaterMark$1 = (p) => {
26859
+ const WaterMark = (p) => {
26866
26860
  const props = mergeProps(defaultProps$1, p);
26867
26861
  const {
26868
26862
  zIndex,
@@ -26871,7 +26865,7 @@ const WaterMark$1 = (p) => {
26871
26865
  width = 120,
26872
26866
  height = 64,
26873
26867
  rotate = -22,
26874
- image: image2,
26868
+ image,
26875
26869
  imageWidth = 120,
26876
26870
  imageHeight = 64,
26877
26871
  content,
@@ -26893,7 +26887,7 @@ const WaterMark$1 = (p) => {
26893
26887
  canvas.setAttribute("width", canvasWidth);
26894
26888
  canvas.setAttribute("height", canvasHeight);
26895
26889
  if (ctx2) {
26896
- if (image2) {
26890
+ if (image) {
26897
26891
  ctx2.translate(markWidth / 2, markHeight / 2);
26898
26892
  ctx2.rotate(Math.PI / 180 * Number(rotate));
26899
26893
  const img = new Image();
@@ -26904,7 +26898,7 @@ const WaterMark$1 = (p) => {
26904
26898
  ctx2.restore();
26905
26899
  setBase64Url(canvas.toDataURL());
26906
26900
  };
26907
- img.src = image2;
26901
+ img.src = image;
26908
26902
  } else if (content) {
26909
26903
  ctx2.textBaseline = "middle";
26910
26904
  ctx2.textAlign = "center";
@@ -26924,7 +26918,7 @@ const WaterMark$1 = (p) => {
26924
26918
  } else {
26925
26919
  throw new Error("Canvas is not supported in the current environment");
26926
26920
  }
26927
- }, [gapX, gapY, rotate, fontStyle, fontWeight, width, height, fontFamily, fontColor, image2, content, fontSize]);
26921
+ }, [gapX, gapY, rotate, fontStyle, fontWeight, width, height, fontFamily, fontColor, image, content, fontSize]);
26928
26922
  return withNativeProps(props, React__default.createElement("div", {
26929
26923
  className: classNames(classPrefix$1, {
26930
26924
  [`${classPrefix$1}-full-page`]: props.fullPage
@@ -26932,12 +26926,11 @@ const WaterMark$1 = (p) => {
26932
26926
  style: {
26933
26927
  zIndex,
26934
26928
  backgroundSize: `${gapX + width}px`,
26929
+ // Not give `url` if its empty. Which will cause 404 error.
26935
26930
  backgroundImage: base64Url === "" ? void 0 : `url('${base64Url}')`
26936
26931
  }
26937
26932
  }));
26938
26933
  };
26939
- const WaterMark = WaterMark$1;
26940
- const footer = "";
26941
26934
  const classPrefix = `adm-footer`;
26942
26935
  const defaultProps = {
26943
26936
  label: "",
@@ -26945,7 +26938,7 @@ const defaultProps = {
26945
26938
  content: "",
26946
26939
  chips: []
26947
26940
  };
26948
- const Footer$1 = (p) => {
26941
+ const Footer = (p) => {
26949
26942
  const props = mergeProps(defaultProps, p);
26950
26943
  const {
26951
26944
  label,
@@ -26992,9 +26985,8 @@ const Footer$1 = (p) => {
26992
26985
  })
26993
26986
  }, chip.text)))));
26994
26987
  };
26995
- const Footer = Footer$1;
26996
26988
  export {
26997
- index$j as ActionSheet,
26989
+ index$i as ActionSheet,
26998
26990
  AutoCenter,
26999
26991
  Avatar,
27000
26992
  Badge,
@@ -27002,23 +26994,23 @@ export {
27002
26994
  Calendar,
27003
26995
  CalendarPicker,
27004
26996
  CalendarPickerView,
27005
- index$i as CapsuleTabs,
26997
+ index$h as CapsuleTabs,
27006
26998
  Card,
27007
- index$h as CascadePicker,
26999
+ index$g as CascadePicker,
27008
27000
  CascadePickerView,
27009
- index$g as Cascader,
27001
+ index$f as Cascader,
27010
27002
  CascaderView,
27011
27003
  CenterPopup,
27012
27004
  CheckList,
27013
27005
  Checkbox,
27014
- index$f as Collapse,
27006
+ index$e as Collapse,
27015
27007
  ConfigProvider,
27016
- index$e as DatePicker,
27008
+ index$d as DatePicker,
27017
27009
  DatePickerView,
27018
- index$d as Dialog,
27010
+ index$c as Dialog,
27019
27011
  Divider,
27020
- DotLoading$1 as DotLoading,
27021
- index$c as Dropdown,
27012
+ DotLoading,
27013
+ index$b as Dropdown,
27022
27014
  Ellipsis,
27023
27015
  Empty,
27024
27016
  ErrorBlock,