@arco-design/mobile-react 2.19.1-941e02b.7 → 2.19.1

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 (101) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/cjs/button/index.d.ts +6 -0
  3. package/cjs/button/index.js +3 -1
  4. package/cjs/grid/index.js +12 -13
  5. package/cjs/image/index.d.ts +1 -0
  6. package/cjs/image/index.js +7 -9
  7. package/cjs/image-preview/index.d.ts +2 -2
  8. package/cjs/index.d.ts +0 -1
  9. package/cjs/index.js +1 -5
  10. package/cjs/notify/index.d.ts +1 -0
  11. package/cjs/notify/index.js +12 -0
  12. package/cjs/notify/type.d.ts +1 -0
  13. package/cjs/steps/demo/style/css/mobile.css +1 -1
  14. package/cjs/steps/demo/style/mobile.less +1 -1
  15. package/cjs/steps/style/css/index.css +15 -5
  16. package/cjs/steps/style/index.less +10 -6
  17. package/cjs/style.d.ts +0 -1
  18. package/cjs/style.js +0 -2
  19. package/cjs/transition/index.js +4 -2
  20. package/dist/index.js +242 -538
  21. package/dist/index.min.js +5 -4
  22. package/dist/style.css +9 -120
  23. package/dist/style.min.css +1 -1
  24. package/esm/button/index.d.ts +6 -0
  25. package/esm/button/index.js +3 -1
  26. package/esm/grid/index.js +12 -13
  27. package/esm/image/index.d.ts +1 -0
  28. package/esm/image/index.js +8 -10
  29. package/esm/image-preview/index.d.ts +2 -2
  30. package/esm/index.d.ts +0 -1
  31. package/esm/index.js +0 -1
  32. package/esm/notify/index.d.ts +1 -0
  33. package/esm/notify/index.js +1 -0
  34. package/esm/notify/type.d.ts +1 -0
  35. package/esm/steps/demo/style/css/mobile.css +1 -1
  36. package/esm/steps/demo/style/mobile.less +1 -1
  37. package/esm/steps/style/css/index.css +15 -5
  38. package/esm/steps/style/index.less +10 -6
  39. package/esm/style.d.ts +0 -1
  40. package/esm/style.js +0 -1
  41. package/esm/transition/index.js +4 -2
  42. package/package.json +3 -3
  43. package/tokens/app/arcodesign/default/css-variables.less +2 -17
  44. package/tokens/app/arcodesign/default/index.d.ts +2 -17
  45. package/tokens/app/arcodesign/default/index.js +3 -18
  46. package/tokens/app/arcodesign/default/index.json +24 -140
  47. package/tokens/app/arcodesign/default/index.less +2 -17
  48. package/umd/button/index.d.ts +6 -0
  49. package/umd/button/index.js +3 -1
  50. package/umd/grid/index.js +12 -13
  51. package/umd/image/index.d.ts +1 -0
  52. package/umd/image/index.js +7 -9
  53. package/umd/image-preview/index.d.ts +2 -2
  54. package/umd/index.d.ts +0 -1
  55. package/umd/index.js +5 -7
  56. package/umd/notify/index.d.ts +1 -0
  57. package/umd/notify/index.js +13 -4
  58. package/umd/notify/type.d.ts +1 -0
  59. package/umd/steps/demo/style/css/mobile.css +1 -1
  60. package/umd/steps/demo/style/mobile.less +1 -1
  61. package/umd/steps/style/css/index.css +15 -5
  62. package/umd/steps/style/index.less +10 -6
  63. package/umd/style.d.ts +0 -1
  64. package/umd/style.js +4 -4
  65. package/umd/transition/index.js +4 -2
  66. package/cjs/image-picker/add-icon.d.ts +0 -2
  67. package/cjs/image-picker/add-icon.js +0 -22
  68. package/cjs/image-picker/demo/style/css/mobile.css +0 -40
  69. package/cjs/image-picker/demo/style/mobile.less +0 -42
  70. package/cjs/image-picker/index.d.ts +0 -181
  71. package/cjs/image-picker/index.js +0 -301
  72. package/cjs/image-picker/style/css/index.css +0 -147
  73. package/cjs/image-picker/style/css/index.d.ts +0 -2
  74. package/cjs/image-picker/style/css/index.js +0 -5
  75. package/cjs/image-picker/style/index.d.ts +0 -2
  76. package/cjs/image-picker/style/index.js +0 -5
  77. package/cjs/image-picker/style/index.less +0 -116
  78. package/esm/image-picker/add-icon.d.ts +0 -2
  79. package/esm/image-picker/add-icon.js +0 -14
  80. package/esm/image-picker/demo/style/css/mobile.css +0 -40
  81. package/esm/image-picker/demo/style/mobile.less +0 -42
  82. package/esm/image-picker/index.d.ts +0 -181
  83. package/esm/image-picker/index.js +0 -282
  84. package/esm/image-picker/style/css/index.css +0 -147
  85. package/esm/image-picker/style/css/index.d.ts +0 -2
  86. package/esm/image-picker/style/css/index.js +0 -2
  87. package/esm/image-picker/style/index.d.ts +0 -2
  88. package/esm/image-picker/style/index.js +0 -2
  89. package/esm/image-picker/style/index.less +0 -116
  90. package/umd/image-picker/add-icon.d.ts +0 -2
  91. package/umd/image-picker/add-icon.js +0 -35
  92. package/umd/image-picker/demo/style/css/mobile.css +0 -40
  93. package/umd/image-picker/demo/style/mobile.less +0 -42
  94. package/umd/image-picker/index.d.ts +0 -181
  95. package/umd/image-picker/index.js +0 -304
  96. package/umd/image-picker/style/css/index.css +0 -147
  97. package/umd/image-picker/style/css/index.d.ts +0 -2
  98. package/umd/image-picker/style/css/index.js +0 -15
  99. package/umd/image-picker/style/index.d.ts +0 -2
  100. package/umd/image-picker/style/index.js +0 -15
  101. package/umd/image-picker/style/index.less +0 -116
package/dist/index.js CHANGED
@@ -888,12 +888,6 @@
888
888
  Pagination: {
889
889
  previousPage: '上一页',
890
890
  nextPage: '下一页'
891
- },
892
- Image: {
893
- loadError: '重试'
894
- },
895
- ImagePicker: {
896
- loadError: '加载失败'
897
891
  }
898
892
  };
899
893
 
@@ -1983,14 +1977,16 @@
1983
1977
  */
1984
1978
 
1985
1979
  function Transition(props) {
1986
- var children = props.children,
1980
+ var _a = props.children,
1981
+ children = _a === void 0 ? /*#__PURE__*/React__default["default"].createElement("div", null) : _a,
1987
1982
  type = props.type,
1988
1983
  transIn = props.in,
1989
- timeout = props.timeout,
1990
- _a = props.mountOnEnter,
1991
- mountOnEnter = _a === void 0 ? true : _a,
1992
- _b = props.unmountOnExit,
1993
- unmountOnExit = _b === void 0 ? true : _b,
1984
+ _b = props.timeout,
1985
+ timeout = _b === void 0 ? 300 : _b,
1986
+ _c = props.mountOnEnter,
1987
+ mountOnEnter = _c === void 0 ? true : _c,
1988
+ _d = props.unmountOnExit,
1989
+ unmountOnExit = _d === void 0 ? true : _d,
1994
1990
  restProps = __rest(props, ["children", "type", "in", "timeout", "mountOnEnter", "unmountOnExit"]);
1995
1991
 
1996
1992
  return /*#__PURE__*/React__default["default"].createElement(ContextLayout, null, function (_a) {
@@ -3434,38 +3430,39 @@
3434
3430
  var loadingImageRef = React.useRef(null);
3435
3431
  var style = props.style,
3436
3432
  className = props.className,
3437
- status = props.status,
3433
+ _e = props.status,
3434
+ status = _e === void 0 ? 'init' : _e,
3438
3435
  src = props.src,
3439
3436
  width = props.width,
3440
3437
  height = props.height,
3441
- _e = props.alt,
3442
- alt = _e === void 0 ? '' : _e,
3443
- _f = props.fit,
3444
- fit = _f === void 0 ? 'cover' : _f,
3445
- _g = props.position,
3446
- position = _g === void 0 ? 'center' : _g,
3438
+ _f = props.alt,
3439
+ alt = _f === void 0 ? '' : _f,
3440
+ _g = props.fit,
3441
+ fit = _g === void 0 ? 'cover' : _g,
3442
+ _h = props.position,
3443
+ position = _h === void 0 ? 'center' : _h,
3447
3444
  radius = props.radius,
3448
3445
  bordered = props.bordered,
3449
3446
  loadingArea = props.loadingArea,
3450
3447
  errorArea = props.errorArea,
3451
3448
  showLoading = props.showLoading,
3452
3449
  showError = props.showError,
3453
- _h = props.animateDuration,
3454
- animateDuration = _h === void 0 ? 200 : _h,
3455
- _j = props.retryTime,
3456
- retryTime = _j === void 0 ? 0 : _j,
3450
+ _j = props.animateDuration,
3451
+ animateDuration = _j === void 0 ? 200 : _j,
3452
+ _k = props.retryTime,
3453
+ retryTime = _k === void 0 ? 0 : _k,
3457
3454
  forceHttps = props.forceHttps,
3458
- _k = props.boxWidth,
3459
- boxWidth = _k === void 0 ? 0 : _k,
3460
- _l = props.boxHeight,
3461
- boxHeight = _l === void 0 ? 0 : _l,
3455
+ _l = props.boxWidth,
3456
+ boxWidth = _l === void 0 ? 0 : _l,
3457
+ _m = props.boxHeight,
3458
+ boxHeight = _m === void 0 ? 0 : _m,
3462
3459
  topOverlap = props.topOverlap,
3463
3460
  bottomOverlap = props.bottomOverlap,
3464
- _m = props.showImage,
3465
- showImage = _m === void 0 ? true : _m,
3461
+ _o = props.showImage,
3462
+ showImage = _o === void 0 ? true : _o,
3466
3463
  staticLabel = props.staticLabel,
3467
- _o = props.nativeProps,
3468
- nativeProps = _o === void 0 ? {} : _o,
3464
+ _p = props.nativeProps,
3465
+ nativeProps = _p === void 0 ? {} : _p,
3469
3466
  onChange = props.onChange,
3470
3467
  onClick = props.onClick,
3471
3468
  _onLoad = props.onLoad,
@@ -3474,7 +3471,6 @@
3474
3471
  var isPreview = Boolean(fit.indexOf('preview') >= 0);
3475
3472
  var actualBoxWidth = boxWidth || windowWidth;
3476
3473
  var actualBoxHeight = boxHeight || windowHeight;
3477
- var validStatus = status === undefined ? imageStatus : status;
3478
3474
  var attrs = React.useMemo(function () {
3479
3475
  var imageStyle = {};
3480
3476
 
@@ -3650,9 +3646,7 @@
3650
3646
  }
3651
3647
 
3652
3648
  return /*#__PURE__*/React__default["default"].createElement(ContextLayout, null, function (_a) {
3653
- var prefixCls = _a.prefixCls,
3654
- _b = _a.locale,
3655
- locale = _b === void 0 ? defaultLocale : _b;
3649
+ var prefixCls = _a.prefixCls;
3656
3650
  return /*#__PURE__*/React__default["default"].createElement("div", {
3657
3651
  className: cls(prefixCls + "-image all-border-box", {
3658
3652
  preview: isPreview
@@ -3667,7 +3661,7 @@
3667
3661
  }, bottomOverlap || /*#__PURE__*/React__default["default"].createElement("div", {
3668
3662
  className: "image-placeholder"
3669
3663
  })) : null, /*#__PURE__*/React__default["default"].createElement("div", {
3670
- className: cls('image-container', validStatus, {
3664
+ className: cls('image-container', imageStatus, {
3671
3665
  animate: Boolean(animateDuration),
3672
3666
  'static-label': staticLabel
3673
3667
  }),
@@ -3682,7 +3676,7 @@
3682
3676
  return _onLoad && _onLoad(e.nativeEvent, imageDomRef.current);
3683
3677
  },
3684
3678
  onError: handleStaticImageError
3685
- })) : null), showLoading && validStatus === 'loading' ? /*#__PURE__*/React__default["default"].createElement("div", {
3679
+ })) : null), showLoading && (status === 'loading' || imageStatus === 'loading') ? /*#__PURE__*/React__default["default"].createElement("div", {
3686
3680
  className: "image-content image-loading-container",
3687
3681
  style: {
3688
3682
  borderRadius: radius
@@ -3694,7 +3688,7 @@
3694
3688
  className: "loading-icon",
3695
3689
  radius: 8.5,
3696
3690
  stroke: 3
3697
- }))) : null, showError && validStatus === 'error' ? /*#__PURE__*/React__default["default"].createElement("div", {
3691
+ }))) : null, showError && (status === 'error' || imageStatus === 'error') ? /*#__PURE__*/React__default["default"].createElement("div", {
3698
3692
  className: "image-content image-error-container",
3699
3693
  onClick: function onClick(e) {
3700
3694
  e.stopPropagation();
@@ -3705,7 +3699,7 @@
3705
3699
  }
3706
3700
  }, errorArea || /*#__PURE__*/React__default["default"].createElement("div", {
3707
3701
  className: "image-retry-load"
3708
- }, locale.Image.loadError)) : null, topOverlap ? /*#__PURE__*/React__default["default"].createElement("div", {
3702
+ }, "\u91CD\u8BD5")) : null, topOverlap ? /*#__PURE__*/React__default["default"].createElement("div", {
3709
3703
  className: "image-content image-top-overlap",
3710
3704
  style: {
3711
3705
  borderRadius: radius
@@ -4026,24 +4020,26 @@
4026
4020
  loading = _e === void 0 ? false : _e,
4027
4021
  _f = props.disabled,
4028
4022
  disabled = _f === void 0 ? false : _f,
4029
- _g = props.shape,
4030
- shape = _g === void 0 ? 'semi' : _g,
4031
- _h = props.halfBorder,
4032
- halfBorder = _h === void 0 ? false : _h,
4023
+ _g = props.disableWhenLoading,
4024
+ disableWhenLoading = _g === void 0 ? true : _g,
4025
+ _h = props.shape,
4026
+ shape = _h === void 0 ? 'semi' : _h,
4027
+ _j = props.halfBorder,
4028
+ halfBorder = _j === void 0 ? false : _j,
4033
4029
  icon = props.icon,
4034
- _j = props.showTextWhenLoading,
4035
- showTextWhenLoading = _j === void 0 ? true : _j,
4036
- _k = props.needActive,
4037
- needActive = _k === void 0 ? true : _k,
4038
- _l = props.style,
4039
- style = _l === void 0 ? {} : _l,
4030
+ _k = props.showTextWhenLoading,
4031
+ showTextWhenLoading = _k === void 0 ? true : _k,
4032
+ _l = props.needActive,
4033
+ needActive = _l === void 0 ? true : _l,
4034
+ _m = props.style,
4035
+ style = _m === void 0 ? {} : _m,
4040
4036
  color = props.color,
4041
4037
  bgColor = props.bgColor,
4042
4038
  borderColor = props.borderColor,
4043
- _m = props.className,
4044
- className = _m === void 0 ? '' : _m,
4045
- _o = props.children,
4046
- children = _o === void 0 ? null : _o,
4039
+ _o = props.className,
4040
+ className = _o === void 0 ? '' : _o,
4041
+ _p = props.children,
4042
+ children = _p === void 0 ? null : _p,
4047
4043
  loadingIcon = props.loadingIcon,
4048
4044
  onClick = props.onClick,
4049
4045
  onClickDisabled = props.onClickDisabled;
@@ -4054,15 +4050,15 @@
4054
4050
  };
4055
4051
  });
4056
4052
 
4057
- var _p = useCustomColor({
4053
+ var _q = useCustomColor({
4058
4054
  color: color,
4059
4055
  bgColor: bgColor,
4060
4056
  borderColor: borderColor,
4061
4057
  isActive: isActive,
4062
4058
  disabled: disabled
4063
4059
  }),
4064
- customColorClass = _p.customColorClass,
4065
- customColorStyle = _p.customColorStyle;
4060
+ customColorClass = _q.customColorClass,
4061
+ customColorStyle = _q.customColorStyle;
4066
4062
 
4067
4063
  var handleTouchStart = function handleTouchStart() {
4068
4064
  if (needActive && !disabled && !loading) {
@@ -4092,7 +4088,7 @@
4092
4088
  onTouchCancel: handleTouchEnd,
4093
4089
  onMouseDown: handleTouchStart,
4094
4090
  onMouseUp: handleTouchEnd,
4095
- onClick: disabled ? onClickDisabled : onClick
4091
+ onClick: disabled || loading && disableWhenLoading ? onClickDisabled : onClick
4096
4092
  }, /*#__PURE__*/React__default["default"].createElement("div", {
4097
4093
  className: "btn-icon"
4098
4094
  }, icon, loading && (loadingIcon === void 0 ? /*#__PURE__*/React__default["default"].createElement(Loading, {
@@ -12274,21 +12270,14 @@
12274
12270
  });
12275
12271
 
12276
12272
  var getRows = function getRows(prefix, rowsData, rows, row) {
12277
- var placeholders = !isSliding && rowsData.length % columns;
12278
- var renderData = rowsData;
12279
-
12280
- if (placeholders) {
12281
- var fakeGrids = new Array(columns - placeholders).fill({
12282
- img: null,
12283
- title: ''
12284
- });
12285
- renderData = rowsData.concat(fakeGrids);
12286
- }
12287
-
12273
+ var fakeGrids = new Array(!isSliding && columns && rowsData.length % columns ? columns - rowsData.length % columns : 0).fill('');
12274
+ var widthStyle = {
12275
+ minWidth: 1 / columns * 100 + "%"
12276
+ };
12288
12277
  return /*#__PURE__*/React__default["default"].createElement("div", {
12289
12278
  className: prefix + "-rows",
12290
12279
  key: row
12291
- }, renderData.map(function (item, index) {
12280
+ }, rowsData.map(function (item, index) {
12292
12281
  var img = item.img,
12293
12282
  title = item.title,
12294
12283
  content = item.content,
@@ -12302,7 +12291,7 @@
12302
12291
  }
12303
12292
 
12304
12293
  var marginBottom = row + 1 === rows ? 0 : typeof gutter === 'number' ? gutter : (gutter === null || gutter === void 0 ? void 0 : gutter.y) || 0;
12305
- var rowLen = renderData.length;
12294
+ var rowLen = rowsData.length;
12306
12295
  var marginRight = index + 1 === rowLen ? 0 : typeof gutter === 'number' ? gutter : (gutter === null || gutter === void 0 ? void 0 : gutter.x) || 0;
12307
12296
  return /*#__PURE__*/React__default["default"].createElement("div", {
12308
12297
  key: index,
@@ -12331,6 +12320,12 @@
12331
12320
  }) : null, (row + 1) % rows !== 0 ? /*#__PURE__*/React__default["default"].createElement("i", {
12332
12321
  className: "horizontal-border"
12333
12322
  }) : null);
12323
+ }), fakeGrids.map(function (_, i) {
12324
+ return /*#__PURE__*/React__default["default"].createElement("div", {
12325
+ className: cls(prefix + "-rows-item fake-col"),
12326
+ key: i,
12327
+ style: widthStyle
12328
+ });
12334
12329
  }));
12335
12330
  };
12336
12331
 
@@ -12773,474 +12768,8 @@
12773
12768
  });
12774
12769
  });
12775
12770
 
12776
- function IconStarFill(props) {
12777
- var _a = props.className,
12778
- className = _a === void 0 ? '' : _a,
12779
- _b = props.useCurrentColor,
12780
- useCurrentColor = _b === void 0 ? true : _b,
12781
- style = props.style,
12782
- other = __rest(props, ["className", "useCurrentColor", "style"]);
12783
-
12784
- return /*#__PURE__*/React__default["default"].createElement(ContextLayout, null, function (_a) {
12785
- var prefixCls = _a.prefixCls;
12786
- return /*#__PURE__*/React__default["default"].createElement("svg", __assign({
12787
- className: prefixCls + "-icon " + prefixCls + "-icon-star-fill " + className,
12788
- width: "1em",
12789
- height: "1em",
12790
- style: style,
12791
- fill: useCurrentColor ? 'currentColor' : '#000',
12792
- viewBox: "0 0 1024 1024",
12793
- xmlns: "http://www.w3.org/2000/svg"
12794
- }, other), /*#__PURE__*/React__default["default"].createElement("defs", null, /*#__PURE__*/React__default["default"].createElement("style", null)), /*#__PURE__*/React__default["default"].createElement("path", {
12795
- d: "M497.371 826.514L270.63 936.23c-18.286 7.314-40.229 0-47.543-18.286-3.657-3.657-7.315-10.972-3.657-18.286l25.6-248.686c0-10.971-3.658-18.285-7.315-29.257L69.486 435.2c-14.629-14.629-10.972-36.571 3.657-51.2 3.657-3.657 10.971-7.314 14.628-7.314l245.029-51.2c10.971-3.657 18.286-7.315 21.943-18.286l128-219.429C490.057 73.143 512 65.83 530.286 76.8c3.657 3.657 10.971 7.314 14.628 14.629l128 219.428c3.657 7.314 14.629 14.629 21.943 18.286l245.029 51.2c18.285 3.657 32.914 21.943 25.6 43.886 0 7.314-3.657 10.971-7.315 14.628L789.943 621.714c-7.314 7.315-10.972 18.286-7.314 29.257l25.6 248.686c3.657 18.286-10.972 36.572-32.915 40.229-7.314 0-14.628 0-18.285-3.657L530.286 826.514c-10.972-7.314-25.6-7.314-32.915 0z"
12796
- }));
12797
- });
12798
- }
12799
-
12800
- function IconClose(props) {
12801
- var _a = props.className,
12802
- className = _a === void 0 ? '' : _a,
12803
- _b = props.useCurrentColor,
12804
- useCurrentColor = _b === void 0 ? true : _b,
12805
- style = props.style,
12806
- other = __rest(props, ["className", "useCurrentColor", "style"]);
12807
-
12808
- return /*#__PURE__*/React__default["default"].createElement(ContextLayout, null, function (_a) {
12809
- var prefixCls = _a.prefixCls;
12810
- return /*#__PURE__*/React__default["default"].createElement("svg", __assign({
12811
- className: prefixCls + "-icon " + prefixCls + "-icon-close " + className,
12812
- width: "1em",
12813
- height: "1em",
12814
- style: style,
12815
- viewBox: "0 0 1024 1024",
12816
- xmlns: "http://www.w3.org/2000/svg"
12817
- }, other), /*#__PURE__*/React__default["default"].createElement("path", {
12818
- fill: useCurrentColor ? 'currentColor' : '#000',
12819
- d: "M509.568 447.083L796.16 160.469a21.333 21.333 0 0130.165 0l30.166 30.166a21.333 21.333 0 010 30.186L569.899 507.435l286.613 286.592a21.333 21.333 0 010 30.165l-30.165 30.165a21.333 21.333 0 01-30.166 0L509.568 567.765 222.933 854.38a21.333 21.333 0 01-30.186 0l-30.166-30.166a21.333 21.333 0 010-30.165l286.614-286.613L162.603 220.8a21.333 21.333 0 010-30.187l30.165-30.165a21.333 21.333 0 0130.187 0l286.613 286.613z"
12820
- }));
12821
- });
12822
- }
12823
-
12824
- function IconAdd(props) {
12825
- var _a = props.className,
12826
- className = _a === void 0 ? '' : _a,
12827
- _b = props.useCurrentColor,
12828
- useCurrentColor = _b === void 0 ? true : _b,
12829
- style = props.style,
12830
- other = __rest(props, ["className", "useCurrentColor", "style"]);
12831
-
12832
- return /*#__PURE__*/React__default["default"].createElement(ContextLayout, null, function (_a) {
12833
- var prefixCls = _a.prefixCls;
12834
- return /*#__PURE__*/React__default["default"].createElement("svg", __assign({
12835
- className: prefixCls + "-icon " + prefixCls + "-icon-add " + className,
12836
- width: "1em",
12837
- height: "1em",
12838
- style: style,
12839
- viewBox: "0 0 1024 1024",
12840
- xmlns: "http://www.w3.org/2000/svg"
12841
- }, other), /*#__PURE__*/React__default["default"].createElement("path", {
12842
- fill: useCurrentColor ? 'currentColor' : '#000',
12843
- d: "M527.317 85.333c9.515 0 12.95.982 16.427 2.859a19.337 19.337 0 018.064 8.064c1.877 3.477 2.859 6.912 2.859 16.427v356.65h356.65c9.515 0 12.95.982 16.427 2.859a19.337 19.337 0 018.064 8.064c1.877 3.477 2.859 6.912 2.859 16.427v30.634c0 9.515-.982 12.95-2.859 16.427a19.392 19.392 0 01-8.064 8.064c-3.477 1.877-6.912 2.859-16.427 2.859h-356.65v356.65c0 9.515-.982 12.95-2.859 16.427a19.392 19.392 0 01-8.064 8.064c-3.477 1.877-6.912 2.859-16.427 2.859h-30.634c-9.515 0-12.95-.982-16.427-2.859a19.392 19.392 0 01-8.064-8.064c-1.877-3.477-2.859-6.912-2.859-16.427l-.021-356.65h-356.63c-9.514 0-12.949-.982-16.426-2.859a19.392 19.392 0 01-8.064-8.064c-1.877-3.477-2.859-6.912-2.859-16.427v-30.634c0-9.515.982-12.95 2.859-16.427a19.392 19.392 0 018.064-8.064c3.477-1.877 6.912-2.859 16.427-2.859l356.65-.021v-356.63c0-9.514.982-12.949 2.859-16.426a19.392 19.392 0 018.064-8.064c3.477-1.877 6.912-2.859 16.427-2.859h30.634z"
12844
- }));
12845
- });
12846
- }
12847
-
12848
- function IconClear(props) {
12849
- var _a = props.className,
12850
- className = _a === void 0 ? '' : _a,
12851
- _b = props.useCurrentColor,
12852
- useCurrentColor = _b === void 0 ? true : _b,
12853
- style = props.style,
12854
- other = __rest(props, ["className", "useCurrentColor", "style"]);
12855
-
12856
- return /*#__PURE__*/React__default["default"].createElement(ContextLayout, null, function (_a) {
12857
- var prefixCls = _a.prefixCls;
12858
- return /*#__PURE__*/React__default["default"].createElement("svg", __assign({
12859
- className: prefixCls + "-icon " + prefixCls + "-icon-clear " + className,
12860
- width: "1em",
12861
- height: "1em",
12862
- style: style,
12863
- xmlns: "http://www.w3.org/2000/svg",
12864
- viewBox: "0 0 18 18"
12865
- }, other), /*#__PURE__*/React__default["default"].createElement("path", {
12866
- d: "M9 1.1C4.7 1.1 1.1 4.7 1.1 9s3.5 7.9 7.9 7.9 7.9-3.5 7.9-7.9S13.3 1.1 9 1.1zm3.4 10.2c.2.2.2.5 0 .7l-.5.5c-.2.2-.5.2-.7 0L9 10.3l-2.2 2.2c-.2.2-.5.2-.7 0l-.6-.5c-.2-.2-.2-.5 0-.7l2.2-2.2-2.2-2.3c-.2-.2-.2-.5 0-.7l.5-.5c.2-.2.5-.2.7 0l2.2 2.2 2.2-2.2c.2-.2.5-.2.7 0l.5.5c.2.2.2.5 0 .7L10.1 9l2.3 2.3z",
12867
- fill: useCurrentColor ? 'currentColor' : '#000'
12868
- }));
12869
- });
12870
- }
12871
-
12872
- function IconCheckBold(props) {
12873
- var _a = props.className,
12874
- className = _a === void 0 ? '' : _a,
12875
- _b = props.useCurrentColor,
12876
- useCurrentColor = _b === void 0 ? true : _b,
12877
- style = props.style,
12878
- other = __rest(props, ["className", "useCurrentColor", "style"]);
12879
-
12880
- return /*#__PURE__*/React__default["default"].createElement(ContextLayout, null, function (_a) {
12881
- var prefixCls = _a.prefixCls;
12882
- return /*#__PURE__*/React__default["default"].createElement("svg", __assign({
12883
- className: prefixCls + "-icon " + prefixCls + "-icon-check-bold " + className,
12884
- width: "1em",
12885
- height: "1em",
12886
- style: style,
12887
- xmlns: "http://www.w3.org/2000/svg",
12888
- viewBox: "0 -0.97 10.07 10.07"
12889
- }, other), /*#__PURE__*/React__default["default"].createElement("g", {
12890
- "data-name": "\u56FE\u5C42 2"
12891
- }, /*#__PURE__*/React__default["default"].createElement("path", {
12892
- d: "M9.22.12a.49.49 0 00-.7.06L3.86 5.69 1.4 3.57a.51.51 0 00-.71.06l-.57.66A.49.49 0 00.17 5L3 7.38v.07l.69.55a.53.53 0 00.71 0l.6-.71a.22.22 0 000-.08l5-5.82a.51.51 0 00-.11-.71z",
12893
- fill: useCurrentColor ? 'currentColor' : '#000',
12894
- fillRule: "evenodd",
12895
- "data-name": "\u56FE\u5C42 1"
12896
- })));
12897
- });
12898
- }
12899
-
12900
- function IconCloseBold(props) {
12901
- var _a = props.className,
12902
- className = _a === void 0 ? '' : _a,
12903
- _b = props.useCurrentColor,
12904
- useCurrentColor = _b === void 0 ? true : _b,
12905
- style = props.style,
12906
- other = __rest(props, ["className", "useCurrentColor", "style"]);
12907
-
12908
- return /*#__PURE__*/React__default["default"].createElement(ContextLayout, null, function (_a) {
12909
- var prefixCls = _a.prefixCls;
12910
- return /*#__PURE__*/React__default["default"].createElement("svg", __assign({
12911
- className: prefixCls + "-icon " + prefixCls + "-icon-close-bold " + className,
12912
- width: "1em",
12913
- height: "1em",
12914
- style: style,
12915
- xmlns: "http://www.w3.org/2000/svg",
12916
- viewBox: "0 0 6.92 6.92"
12917
- }, other), /*#__PURE__*/React__default["default"].createElement("g", {
12918
- "data-name": "\u56FE\u5C42 2"
12919
- }, /*#__PURE__*/React__default["default"].createElement("path", {
12920
- d: "M6.16.15l.62.62a.5.5 0 010 .7l-2 2 2 2a.51.51 0 010 .71l-.62.62a.51.51 0 01-.71 0l-2-2-2 2a.5.5 0 01-.7 0l-.6-.64a.5.5 0 010-.71l2-2-2-2a.48.48 0 010-.7l.62-.6a.48.48 0 01.7 0l2 2 2-2a.5.5 0 01.69 0z",
12921
- fill: useCurrentColor ? 'currentColor' : '#000',
12922
- fillRule: "evenodd",
12923
- "data-name": "\u56FE\u5C42 1"
12924
- })));
12925
- });
12926
- }
12927
-
12928
- function IconStarHalf(props) {
12929
- var _a = props.className,
12930
- className = _a === void 0 ? '' : _a,
12931
- _b = props.useCurrentColor,
12932
- useCurrentColor = _b === void 0 ? true : _b,
12933
- style = props.style,
12934
- other = __rest(props, ["className", "useCurrentColor", "style"]);
12935
-
12936
- return /*#__PURE__*/React__default["default"].createElement(ContextLayout, null, function (_a) {
12937
- var prefixCls = _a.prefixCls;
12938
- return /*#__PURE__*/React__default["default"].createElement("svg", __assign({
12939
- className: prefixCls + "-icon " + prefixCls + "-icon-star-half " + className,
12940
- width: "1em",
12941
- height: "1em",
12942
- style: style,
12943
- fill: useCurrentColor ? 'currentColor' : '#000',
12944
- xmlns: "http://www.w3.org/2000/svg",
12945
- viewBox: "0 0 1024 1024"
12946
- }, other), /*#__PURE__*/React__default["default"].createElement("path", {
12947
- d: "M513.8 71.6c-13.4-.9-25.9 5.8-31 16.2l-128 219.4c-3.7 11-11 14.6-21.9 18.3l-245 51.2c-3.7 0-11 3.7-14.6 7.3-14.6 14.6-18.3 36.6-3.7 51.2l168.2 186.5c3.7 11 7.3 18.3 7.3 29.3l-25.6 248.7c-3.7 7.3 0 14.6 3.7 18.3 7.3 18.3 29.3 25.6 47.5 18.3l226.7-109.7c3.9-3.9 10-5.7 16.4-5.4V71.6z"
12948
- }));
12949
- });
12950
- }
12951
-
12952
- function AddIcon() {
12953
- return /*#__PURE__*/React__default["default"].createElement("svg", {
12954
- width: "30",
12955
- height: "30",
12956
- viewBox: "0 0 30 30",
12957
- fill: "none"
12958
- }, /*#__PURE__*/React__default["default"].createElement("path", {
12959
- fillRule: "evenodd",
12960
- clipRule: "evenodd",
12961
- d: "M14.5 0C14.2239 0 14 0.223857 14 0.5V14H0.5C0.223858 14 0 14.2239 0 14.5V15.5C0 15.7761 0.223857 16 0.5 16H14V29.5C14 29.7761 14.2239 30 14.5 30H15.5C15.7761 30 16 29.7761 16 29.5V16H29.5C29.7761 16 30 15.7761 30 15.5V14.5C30 14.2239 29.7761 14 29.5 14H16V0.5C16 0.223858 15.7761 0 15.5 0H14.5Z",
12962
- fill: "#C9CDD4"
12963
- }));
12964
- }
12965
-
12966
- /**
12967
- * 图片选择器组件
12968
- * @en ImagePicker Component
12969
- * @type 数据输入
12970
- * @type_en Data Entry
12971
- * @name 图片选择器
12972
- * @name_en ImagePicker
12973
- */
12974
-
12975
- var ImagePicker = /*#__PURE__*/React.forwardRef(function (props, ref) {
12976
- var _a = props.className,
12977
- className = _a === void 0 ? '' : _a,
12978
- style = props.style,
12979
- _b = props.accept,
12980
- accept = _b === void 0 ? 'image/*' : _b,
12981
- _c = props.multiple,
12982
- multiple = _c === void 0 ? false : _c,
12983
- capture = props.capture,
12984
- _d = props.columns,
12985
- columns = _d === void 0 ? 3 : _d,
12986
- _e = props.gutter,
12987
- gutter = _e === void 0 ? 8 : _e,
12988
- _f = props.limit,
12989
- limit = _f === void 0 ? 0 : _f,
12990
- _g = props.images,
12991
- images = _g === void 0 ? [] : _g,
12992
- maxSize = props.maxSize,
12993
- disabled = props.disabled,
12994
- deleteIcon = props.deleteIcon,
12995
- selectIcon = props.selectIcon,
12996
- _h = props.hideDelete,
12997
- hideDelete = _h === void 0 ? false : _h,
12998
- _j = props.hideSelect,
12999
- hideSelect = _j === void 0 ? false : _j,
13000
- _k = props.alwaysShowSelect,
13001
- alwaysShowSelect = _k === void 0 ? false : _k,
13002
- imageProps = props.imageProps,
13003
- renderLoading = props.renderLoading,
13004
- renderError = props.renderError,
13005
- onLongPress = props.onLongPress,
13006
- onClick = props.onClick,
13007
- _l = props.onChange,
13008
- onChange = _l === void 0 ? function () {
13009
- return null;
13010
- } : _l,
13011
- onMaxSizeExceed = props.onMaxSizeExceed,
13012
- onLimitExceed = props.onLimitExceed,
13013
- upload = props.upload,
13014
- selectAdapter = props.selectAdapter;
13015
- var domRef = React.useRef(null);
13016
- var fileRef = React.useRef(null);
13017
- React.useImperativeHandle(ref, function () {
13018
- return {
13019
- dom: domRef.current
13020
- };
13021
- });
13022
-
13023
- var parseFile = function parseFile(file) {
13024
- return new Promise(function (resolve, reject) {
13025
- if (file.url) {
13026
- resolve(file.url);
13027
- } else {
13028
- var reader = new FileReader();
13029
-
13030
- reader.onload = function (e) {
13031
- var _a;
13032
-
13033
- var dataURL = (_a = e.target) === null || _a === void 0 ? void 0 : _a.result;
13034
-
13035
- if (!dataURL) {
13036
- reject(new Error('file parse error'));
13037
- }
13038
-
13039
- resolve(dataURL);
13040
- };
13041
-
13042
- reader.onerror = function () {
13043
- reject(new Error('file parse error'));
13044
- };
13045
-
13046
- reader.readAsDataURL(file);
13047
- }
13048
- });
13049
- };
13050
-
13051
- var handleChange = function handleChange(event) {
13052
- var files = __spreadArrays(event.target.files || []).filter(function (file) {
13053
- // 过滤maxSize
13054
- if (maxSize && file.size > maxSize * 1024) {
13055
- onMaxSizeExceed && onMaxSizeExceed(file);
13056
- return false;
13057
- }
13058
-
13059
- return true;
13060
- }) || [];
13061
- event.target.value = ''; // 截断limit
13062
-
13063
- if (limit !== 0 && files.length + images.length > limit) {
13064
- onLimitExceed && onLimitExceed(files);
13065
- files.length = limit - images.length;
13066
- } // 解析文件生成预览
13067
-
13068
-
13069
- Promise.all(files.map(function (file) {
13070
- return parseFile(file);
13071
- })).then(function (parseFiles) {
13072
- var res = parseFiles.map(function (url, index) {
13073
- return {
13074
- url: url,
13075
- status: upload ? 'loading' : 'loaded',
13076
- file: files[index]
13077
- };
13078
- });
13079
-
13080
- var cacheRes = __spreadArrays(images, res);
13081
-
13082
- onChange(cacheRes); // 执行upload
13083
-
13084
- if (typeof upload === 'function') {
13085
- var propsImageLength_1 = images.length;
13086
- files.forEach(function (_file, index) {
13087
- upload(cacheRes[propsImageLength_1 + index]).then(function (data) {
13088
- cacheRes[propsImageLength_1 + index] = __assign(__assign({}, cacheRes[propsImageLength_1 + index]), data);
13089
- }).catch(function () {
13090
- cacheRes[propsImageLength_1 + index].status = 'error';
13091
- }).finally(function () {
13092
- cacheRes[propsImageLength_1 + index].status = 'loaded';
13093
- onChange(__spreadArrays(cacheRes));
13094
- });
13095
- });
13096
- }
13097
- });
13098
- };
13099
-
13100
- var handleDelete = function handleDelete(index) {
13101
- onChange(images.filter(function (_i, j) {
13102
- return j !== index;
13103
- }));
13104
- }; // click && longPress
13105
-
13106
-
13107
- var timeOutEvent;
13108
-
13109
- var handleTouchStart = function handleTouchStart(e, image, index) {
13110
- e.preventDefault();
13111
- timeOutEvent = setTimeout(function () {
13112
- timeOutEvent = 0;
13113
- typeof onLongPress === 'function' && onLongPress(e, image, index);
13114
- }, 750);
13115
- };
13116
-
13117
- var handleTouchEnd = function handleTouchEnd(e, image, index) {
13118
- clearTimeout(timeOutEvent);
13119
-
13120
- if (timeOutEvent !== 0) {
13121
- typeof onClick === 'function' && onClick(e, image, index);
13122
- }
13123
- };
13124
-
13125
- var handleSelect = function handleSelect() {
13126
- var _a;
13127
-
13128
- selectAdapter ? selectAdapter().then(function (_a) {
13129
- var files = _a.files;
13130
- return handleChange({
13131
- target: {
13132
- files: files
13133
- }
13134
- });
13135
- }) : (_a = fileRef.current) === null || _a === void 0 ? void 0 : _a.click();
13136
- };
13137
-
13138
- var getGridData = function getGridData(prefixCls, locale) {
13139
- var _a;
13140
-
13141
- var errorNode = function errorNode(index) {
13142
- if (renderError) {
13143
- return typeof renderError === 'function' ? renderError(index) : renderError;
13144
- }
13145
-
13146
- return /*#__PURE__*/React__default["default"].createElement("div", {
13147
- className: prefixCls + "-image-picker-error"
13148
- }, /*#__PURE__*/React__default["default"].createElement("p", null, locale.ImagePicker.loadError));
13149
- };
13150
-
13151
- var loadingNode = function loadingNode(index) {
13152
- if (renderLoading) {
13153
- return typeof renderLoading === 'function' ? renderLoading(index) : renderLoading;
13154
- }
13155
-
13156
- return null;
13157
- };
13158
-
13159
- var data = (limit && limit < images.length ? images.slice(0, limit) : images).map(function (image, index) {
13160
- var url = image.url,
13161
- status = image.status;
13162
- return {
13163
- img: /*#__PURE__*/React__default["default"].createElement("div", {
13164
- key: index + "-" + url,
13165
- className: prefixCls + "-image-picker-image"
13166
- }, /*#__PURE__*/React__default["default"].createElement("div", {
13167
- onTouchStart: function onTouchStart(e) {
13168
- return handleTouchStart(e, image, index);
13169
- },
13170
- onTouchEnd: function onTouchEnd(e) {
13171
- return handleTouchEnd(e, image, index);
13172
- },
13173
- className: prefixCls + "-image-picker-image-container"
13174
- }, /*#__PURE__*/React__default["default"].createElement(BaseImage, __assign({
13175
- showLoading: true,
13176
- showError: true
13177
- }, imageProps || {}, {
13178
- src: url,
13179
- errorArea: errorNode(index),
13180
- loadingArea: loadingNode(index),
13181
- status: status || (imageProps === null || imageProps === void 0 ? void 0 : imageProps.status)
13182
- })), /*#__PURE__*/React__default["default"].createElement("div", {
13183
- className: prefixCls + "-image-picker-image-mask"
13184
- })), !hideDelete && /*#__PURE__*/React__default["default"].createElement("div", {
13185
- className: prefixCls + "-image-picker-close",
13186
- onClick: function onClick() {
13187
- return handleDelete(index);
13188
- }
13189
- }, deleteIcon || /*#__PURE__*/React__default["default"].createElement("div", {
13190
- className: prefixCls + "-image-picker-close-icon"
13191
- }, /*#__PURE__*/React__default["default"].createElement(IconClose, null)))),
13192
- title: ''
13193
- };
13194
- });
13195
- var showSelect = !hideSelect && images.length < (limit || Infinity);
13196
- var disableSelect = disabled || alwaysShowSelect && !showSelect;
13197
-
13198
- if (showSelect || alwaysShowSelect) {
13199
- data.push({
13200
- img: /*#__PURE__*/React__default["default"].createElement("div", {
13201
- className: cls(prefixCls + "-image-picker-add", (_a = {}, _a[prefixCls + "-image-picker-add-disabled"] = disableSelect, _a)),
13202
- onClick: handleSelect
13203
- }, /*#__PURE__*/React__default["default"].createElement("div", {
13204
- className: prefixCls + "-image-picker-add-container"
13205
- }, selectIcon || /*#__PURE__*/React__default["default"].createElement("div", {
13206
- className: prefixCls + "-image-picker-add-icon"
13207
- }, /*#__PURE__*/React__default["default"].createElement(AddIcon, null)), !selectAdapter ? /*#__PURE__*/React__default["default"].createElement("input", {
13208
- capture: capture,
13209
- accept: accept,
13210
- multiple: multiple,
13211
- type: "file",
13212
- onChange: handleChange,
13213
- ref: fileRef
13214
- }) : null)),
13215
- title: ''
13216
- });
13217
- }
13218
-
13219
- return data;
13220
- };
13221
-
13222
- return /*#__PURE__*/React__default["default"].createElement(ContextLayout, null, function (_a) {
13223
- var _b;
13224
-
13225
- var prefixCls = _a.prefixCls,
13226
- _c = _a.locale,
13227
- locale = _c === void 0 ? defaultLocale : _c;
13228
- return /*#__PURE__*/React__default["default"].createElement("div", {
13229
- className: cls(prefixCls + "-image-picker", className, (_b = {}, _b[prefixCls + "-image-picker-disabled"] = disabled, _b)),
13230
- style: style,
13231
- ref: domRef
13232
- }, /*#__PURE__*/React__default["default"].createElement("div", {
13233
- className: prefixCls + "-image-picker-container"
13234
- }, /*#__PURE__*/React__default["default"].createElement(Grid, {
13235
- data: getGridData(prefixCls, locale),
13236
- gutter: gutter,
13237
- columns: columns
13238
- })));
13239
- });
13240
- });
13241
-
13242
12771
  /*!
13243
- * @arco-design/transformable v1.0.2
12772
+ * @arco-design/transformable v1.0.1
13244
12773
  * (c) 2022 ludan.kibbon
13245
12774
  */
13246
12775
  function _defineProperty(obj, key, value) {
@@ -16434,6 +15963,30 @@
16434
15963
 
16435
15964
  var index$7 = componentWrapper(ImagePreview, methodsGenerator$2(ImagePreview));
16436
15965
 
15966
+ function IconClear(props) {
15967
+ var _a = props.className,
15968
+ className = _a === void 0 ? '' : _a,
15969
+ _b = props.useCurrentColor,
15970
+ useCurrentColor = _b === void 0 ? true : _b,
15971
+ style = props.style,
15972
+ other = __rest(props, ["className", "useCurrentColor", "style"]);
15973
+
15974
+ return /*#__PURE__*/React__default["default"].createElement(ContextLayout, null, function (_a) {
15975
+ var prefixCls = _a.prefixCls;
15976
+ return /*#__PURE__*/React__default["default"].createElement("svg", __assign({
15977
+ className: prefixCls + "-icon " + prefixCls + "-icon-clear " + className,
15978
+ width: "1em",
15979
+ height: "1em",
15980
+ style: style,
15981
+ xmlns: "http://www.w3.org/2000/svg",
15982
+ viewBox: "0 0 18 18"
15983
+ }, other), /*#__PURE__*/React__default["default"].createElement("path", {
15984
+ d: "M9 1.1C4.7 1.1 1.1 4.7 1.1 9s3.5 7.9 7.9 7.9 7.9-3.5 7.9-7.9S13.3 1.1 9 1.1zm3.4 10.2c.2.2.2.5 0 .7l-.5.5c-.2.2-.5.2-.7 0L9 10.3l-2.2 2.2c-.2.2-.5.2-.7 0l-.6-.5c-.2-.2-.2-.5 0-.7l2.2-2.2-2.2-2.3c-.2-.2-.2-.5 0-.7l.5-.5c.2-.2.5-.2.7 0l2.2 2.2 2.2-2.2c.2-.2.5-.2.7 0l.5.5c.2.2.2.5 0 .7L10.1 9l2.3 2.3z",
15985
+ fill: useCurrentColor ? 'currentColor' : '#000'
15986
+ }));
15987
+ });
15988
+ }
15989
+
16437
15990
  function useInputLogic(props, inputRef) {
16438
15991
  var value = props.value,
16439
15992
  defaultValue = props.defaultValue,
@@ -17038,6 +16591,30 @@
17038
16591
  });
17039
16592
  });
17040
16593
 
16594
+ function IconClose(props) {
16595
+ var _a = props.className,
16596
+ className = _a === void 0 ? '' : _a,
16597
+ _b = props.useCurrentColor,
16598
+ useCurrentColor = _b === void 0 ? true : _b,
16599
+ style = props.style,
16600
+ other = __rest(props, ["className", "useCurrentColor", "style"]);
16601
+
16602
+ return /*#__PURE__*/React__default["default"].createElement(ContextLayout, null, function (_a) {
16603
+ var prefixCls = _a.prefixCls;
16604
+ return /*#__PURE__*/React__default["default"].createElement("svg", __assign({
16605
+ className: prefixCls + "-icon " + prefixCls + "-icon-close " + className,
16606
+ width: "1em",
16607
+ height: "1em",
16608
+ style: style,
16609
+ viewBox: "0 0 1024 1024",
16610
+ xmlns: "http://www.w3.org/2000/svg"
16611
+ }, other), /*#__PURE__*/React__default["default"].createElement("path", {
16612
+ fill: useCurrentColor ? 'currentColor' : '#000',
16613
+ d: "M509.568 447.083L796.16 160.469a21.333 21.333 0 0130.165 0l30.166 30.166a21.333 21.333 0 010 30.186L569.899 507.435l286.613 286.592a21.333 21.333 0 010 30.165l-30.165 30.165a21.333 21.333 0 01-30.166 0L509.568 567.765 222.933 854.38a21.333 21.333 0 01-30.186 0l-30.166-30.166a21.333 21.333 0 010-30.165l286.614-286.613L162.603 220.8a21.333 21.333 0 010-30.187l30.165-30.165a21.333 21.333 0 0130.187 0l286.613 286.613z"
16614
+ }));
16615
+ });
16616
+ }
16617
+
17041
16618
  /**
17042
16619
  * 可自定义换行或滚动效果,支持循环滚动。
17043
16620
  * @en Line wrapping or scrolling effects can be customized, and circular scrolling is supported.
@@ -21119,6 +20696,54 @@
21119
20696
  Group: Group
21120
20697
  });
21121
20698
 
20699
+ function IconStarFill(props) {
20700
+ var _a = props.className,
20701
+ className = _a === void 0 ? '' : _a,
20702
+ _b = props.useCurrentColor,
20703
+ useCurrentColor = _b === void 0 ? true : _b,
20704
+ style = props.style,
20705
+ other = __rest(props, ["className", "useCurrentColor", "style"]);
20706
+
20707
+ return /*#__PURE__*/React__default["default"].createElement(ContextLayout, null, function (_a) {
20708
+ var prefixCls = _a.prefixCls;
20709
+ return /*#__PURE__*/React__default["default"].createElement("svg", __assign({
20710
+ className: prefixCls + "-icon " + prefixCls + "-icon-star-fill " + className,
20711
+ width: "1em",
20712
+ height: "1em",
20713
+ style: style,
20714
+ fill: useCurrentColor ? 'currentColor' : '#000',
20715
+ viewBox: "0 0 1024 1024",
20716
+ xmlns: "http://www.w3.org/2000/svg"
20717
+ }, other), /*#__PURE__*/React__default["default"].createElement("defs", null, /*#__PURE__*/React__default["default"].createElement("style", null)), /*#__PURE__*/React__default["default"].createElement("path", {
20718
+ d: "M497.371 826.514L270.63 936.23c-18.286 7.314-40.229 0-47.543-18.286-3.657-3.657-7.315-10.972-3.657-18.286l25.6-248.686c0-10.971-3.658-18.285-7.315-29.257L69.486 435.2c-14.629-14.629-10.972-36.571 3.657-51.2 3.657-3.657 10.971-7.314 14.628-7.314l245.029-51.2c10.971-3.657 18.286-7.315 21.943-18.286l128-219.429C490.057 73.143 512 65.83 530.286 76.8c3.657 3.657 10.971 7.314 14.628 14.629l128 219.428c3.657 7.314 14.629 14.629 21.943 18.286l245.029 51.2c18.285 3.657 32.914 21.943 25.6 43.886 0 7.314-3.657 10.971-7.315 14.628L789.943 621.714c-7.314 7.315-10.972 18.286-7.314 29.257l25.6 248.686c3.657 18.286-10.972 36.572-32.915 40.229-7.314 0-14.628 0-18.285-3.657L530.286 826.514c-10.972-7.314-25.6-7.314-32.915 0z"
20719
+ }));
20720
+ });
20721
+ }
20722
+
20723
+ function IconStarHalf(props) {
20724
+ var _a = props.className,
20725
+ className = _a === void 0 ? '' : _a,
20726
+ _b = props.useCurrentColor,
20727
+ useCurrentColor = _b === void 0 ? true : _b,
20728
+ style = props.style,
20729
+ other = __rest(props, ["className", "useCurrentColor", "style"]);
20730
+
20731
+ return /*#__PURE__*/React__default["default"].createElement(ContextLayout, null, function (_a) {
20732
+ var prefixCls = _a.prefixCls;
20733
+ return /*#__PURE__*/React__default["default"].createElement("svg", __assign({
20734
+ className: prefixCls + "-icon " + prefixCls + "-icon-star-half " + className,
20735
+ width: "1em",
20736
+ height: "1em",
20737
+ style: style,
20738
+ fill: useCurrentColor ? 'currentColor' : '#000',
20739
+ xmlns: "http://www.w3.org/2000/svg",
20740
+ viewBox: "0 0 1024 1024"
20741
+ }, other), /*#__PURE__*/React__default["default"].createElement("path", {
20742
+ d: "M513.8 71.6c-13.4-.9-25.9 5.8-31 16.2l-128 219.4c-3.7 11-11 14.6-21.9 18.3l-245 51.2c-3.7 0-11 3.7-14.6 7.3-14.6 14.6-18.3 36.6-3.7 51.2l168.2 186.5c3.7 11 7.3 18.3 7.3 29.3l-25.6 248.7c-3.7 7.3 0 14.6 3.7 18.3 7.3 18.3 29.3 25.6 47.5 18.3l226.7-109.7c3.9-3.9 10-5.7 16.4-5.4V71.6z"
20743
+ }));
20744
+ });
20745
+ }
20746
+
21122
20747
  /**
21123
20748
  * 评分组件,支持受控模式
21124
20749
  * @en Rate component, supports controlled mode
@@ -22049,6 +21674,86 @@
22049
21674
  }));
22050
21675
  });
22051
21676
 
21677
+ function IconAdd(props) {
21678
+ var _a = props.className,
21679
+ className = _a === void 0 ? '' : _a,
21680
+ _b = props.useCurrentColor,
21681
+ useCurrentColor = _b === void 0 ? true : _b,
21682
+ style = props.style,
21683
+ other = __rest(props, ["className", "useCurrentColor", "style"]);
21684
+
21685
+ return /*#__PURE__*/React__default["default"].createElement(ContextLayout, null, function (_a) {
21686
+ var prefixCls = _a.prefixCls;
21687
+ return /*#__PURE__*/React__default["default"].createElement("svg", __assign({
21688
+ className: prefixCls + "-icon " + prefixCls + "-icon-add " + className,
21689
+ width: "1em",
21690
+ height: "1em",
21691
+ style: style,
21692
+ viewBox: "0 0 1024 1024",
21693
+ xmlns: "http://www.w3.org/2000/svg"
21694
+ }, other), /*#__PURE__*/React__default["default"].createElement("path", {
21695
+ fill: useCurrentColor ? 'currentColor' : '#000',
21696
+ d: "M527.317 85.333c9.515 0 12.95.982 16.427 2.859a19.337 19.337 0 018.064 8.064c1.877 3.477 2.859 6.912 2.859 16.427v356.65h356.65c9.515 0 12.95.982 16.427 2.859a19.337 19.337 0 018.064 8.064c1.877 3.477 2.859 6.912 2.859 16.427v30.634c0 9.515-.982 12.95-2.859 16.427a19.392 19.392 0 01-8.064 8.064c-3.477 1.877-6.912 2.859-16.427 2.859h-356.65v356.65c0 9.515-.982 12.95-2.859 16.427a19.392 19.392 0 01-8.064 8.064c-3.477 1.877-6.912 2.859-16.427 2.859h-30.634c-9.515 0-12.95-.982-16.427-2.859a19.392 19.392 0 01-8.064-8.064c-1.877-3.477-2.859-6.912-2.859-16.427l-.021-356.65h-356.63c-9.514 0-12.949-.982-16.426-2.859a19.392 19.392 0 01-8.064-8.064c-1.877-3.477-2.859-6.912-2.859-16.427v-30.634c0-9.515.982-12.95 2.859-16.427a19.392 19.392 0 018.064-8.064c3.477-1.877 6.912-2.859 16.427-2.859l356.65-.021v-356.63c0-9.514.982-12.949 2.859-16.426a19.392 19.392 0 018.064-8.064c3.477-1.877 6.912-2.859 16.427-2.859h30.634z"
21697
+ }));
21698
+ });
21699
+ }
21700
+
21701
+ function IconCheckBold(props) {
21702
+ var _a = props.className,
21703
+ className = _a === void 0 ? '' : _a,
21704
+ _b = props.useCurrentColor,
21705
+ useCurrentColor = _b === void 0 ? true : _b,
21706
+ style = props.style,
21707
+ other = __rest(props, ["className", "useCurrentColor", "style"]);
21708
+
21709
+ return /*#__PURE__*/React__default["default"].createElement(ContextLayout, null, function (_a) {
21710
+ var prefixCls = _a.prefixCls;
21711
+ return /*#__PURE__*/React__default["default"].createElement("svg", __assign({
21712
+ className: prefixCls + "-icon " + prefixCls + "-icon-check-bold " + className,
21713
+ width: "1em",
21714
+ height: "1em",
21715
+ style: style,
21716
+ xmlns: "http://www.w3.org/2000/svg",
21717
+ viewBox: "0 -0.97 10.07 10.07"
21718
+ }, other), /*#__PURE__*/React__default["default"].createElement("g", {
21719
+ "data-name": "\u56FE\u5C42 2"
21720
+ }, /*#__PURE__*/React__default["default"].createElement("path", {
21721
+ d: "M9.22.12a.49.49 0 00-.7.06L3.86 5.69 1.4 3.57a.51.51 0 00-.71.06l-.57.66A.49.49 0 00.17 5L3 7.38v.07l.69.55a.53.53 0 00.71 0l.6-.71a.22.22 0 000-.08l5-5.82a.51.51 0 00-.11-.71z",
21722
+ fill: useCurrentColor ? 'currentColor' : '#000',
21723
+ fillRule: "evenodd",
21724
+ "data-name": "\u56FE\u5C42 1"
21725
+ })));
21726
+ });
21727
+ }
21728
+
21729
+ function IconCloseBold(props) {
21730
+ var _a = props.className,
21731
+ className = _a === void 0 ? '' : _a,
21732
+ _b = props.useCurrentColor,
21733
+ useCurrentColor = _b === void 0 ? true : _b,
21734
+ style = props.style,
21735
+ other = __rest(props, ["className", "useCurrentColor", "style"]);
21736
+
21737
+ return /*#__PURE__*/React__default["default"].createElement(ContextLayout, null, function (_a) {
21738
+ var prefixCls = _a.prefixCls;
21739
+ return /*#__PURE__*/React__default["default"].createElement("svg", __assign({
21740
+ className: prefixCls + "-icon " + prefixCls + "-icon-close-bold " + className,
21741
+ width: "1em",
21742
+ height: "1em",
21743
+ style: style,
21744
+ xmlns: "http://www.w3.org/2000/svg",
21745
+ viewBox: "0 0 6.92 6.92"
21746
+ }, other), /*#__PURE__*/React__default["default"].createElement("g", {
21747
+ "data-name": "\u56FE\u5C42 2"
21748
+ }, /*#__PURE__*/React__default["default"].createElement("path", {
21749
+ d: "M6.16.15l.62.62a.5.5 0 010 .7l-2 2 2 2a.51.51 0 010 .71l-.62.62a.51.51 0 01-.71 0l-2-2-2 2a.5.5 0 01-.7 0l-.6-.64a.5.5 0 010-.71l2-2-2-2a.48.48 0 010-.7l.62-.6a.48.48 0 01.7 0l2 2 2-2a.5.5 0 01.69 0z",
21750
+ fill: useCurrentColor ? 'currentColor' : '#000',
21751
+ fillRule: "evenodd",
21752
+ "data-name": "\u56FE\u5C42 1"
21753
+ })));
21754
+ });
21755
+ }
21756
+
22052
21757
  var Step = /*#__PURE__*/React.forwardRef(function (props, ref) {
22053
21758
  var title = props.title,
22054
21759
  description = props.description,
@@ -23129,7 +22834,6 @@
23129
22834
  exports.Ellipsis = Ellipsis;
23130
22835
  exports.Grid = Grid;
23131
22836
  exports.Image = BaseImage;
23132
- exports.ImagePicker = ImagePicker;
23133
22837
  exports.ImagePreview = index$7;
23134
22838
  exports.Input = Input;
23135
22839
  exports.LoadMore = LoadMore;