shineout 3.0.0-alpha.10 → 3.0.0-alpha.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/cjs/index.js CHANGED
@@ -433,6 +433,6 @@ exports.TYPE = _TYPE;
433
433
  function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
434
434
  function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
435
435
  var _default = {
436
- version: '3.0.0-alpha.10'
436
+ version: '3.0.0-alpha.11'
437
437
  };
438
438
  exports.default = _default;
package/dist/shineout.js CHANGED
@@ -3777,6 +3777,7 @@ var cascaderTokens = {
3777
3777
  cascaderOptionInnerPaddingY: 'Padding-5',
3778
3778
  cascaderOptionInnerPaddingRight: 'Size-15',
3779
3779
  cascaderOptionInnerBorderRadius: 'Radius-2',
3780
+ cascaderOptionIconColor: 'Neutral-text-4',
3780
3781
  cascaderOptionHoverBackgroundColor: 'Neutral-fill-2',
3781
3782
  cascaderOptionDisabledColor: 'Neutral-text-2',
3782
3783
  cascaderOptionDisabledBackgroundColor: 'Neutral-fill-1',
@@ -19048,7 +19049,7 @@ var handleStyle = function handleStyle(style) {
19048
19049
  };
19049
19050
  /* harmony default export */ var jss_style_handleStyle = (handleStyle);
19050
19051
  ;// CONCATENATED MODULE: ../shineout-style/src/version.ts
19051
- /* harmony default export */ var version = ('3.0.0-alpha.10');
19052
+ /* harmony default export */ var version = ('3.0.0-alpha.11');
19052
19053
  ;// CONCATENATED MODULE: ../shineout-style/src/jss-style/index.tsx
19053
19054
 
19054
19055
 
@@ -25822,12 +25823,25 @@ var useClear = function useClear(props) {
25822
25823
  };
25823
25824
  };
25824
25825
  /* harmony default export */ var use_clear = (useClear);
25826
+ ;// CONCATENATED MODULE: ../hooks/src/common/use-previous/index.ts
25827
+
25828
+ function usePrevious(state) {
25829
+ var prevRef = (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useRef)();
25830
+ var curRef = (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useRef)();
25831
+ if (!Object.is(curRef.current, state)) {
25832
+ prevRef.current = curRef.current;
25833
+ curRef.current = state;
25834
+ }
25835
+ return prevRef.current;
25836
+ }
25837
+ /* harmony default export */ var use_previous = (usePrevious);
25825
25838
  ;// CONCATENATED MODULE: ../base/src/common/use-inner-title.tsx
25826
25839
 
25827
25840
 
25828
25841
 
25829
25842
 
25830
25843
 
25844
+
25831
25845
  var useInnerTitle = function useInnerTitle(props) {
25832
25846
  var _jssStyle$innerTitle;
25833
25847
  var innerTitle = props.innerTitle,
@@ -25835,25 +25849,38 @@ var useInnerTitle = function useInnerTitle(props) {
25835
25849
  placeTitle = props.placeTitle,
25836
25850
  size = props.size,
25837
25851
  jssStyle = props.jssStyle;
25852
+ var _useState = (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useState)(false),
25853
+ _useState2 = slicedToArray_default()(_useState, 2),
25854
+ animation = _useState2[0],
25855
+ setAnimation = _useState2[1];
25856
+ var prevOpen = usePrevious(open);
25838
25857
  var innerTitleStyle = jssStyle === null || jssStyle === void 0 ? void 0 : (_jssStyle$innerTitle = jssStyle.innerTitle) === null || _jssStyle$innerTitle === void 0 ? void 0 : _jssStyle$innerTitle.call(jssStyle);
25858
+ (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useEffect)(function () {
25859
+ if (open !== prevOpen) setAnimation(true);
25860
+ }, [open]);
25839
25861
  var renderInput = usePersistFn(function (el) {
25840
25862
  if (!innerTitle) return el;
25841
25863
  return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
25842
- className: classnames_default()(innerTitleStyle === null || innerTitleStyle === void 0 ? void 0 : innerTitleStyle.wrapper, !!open && (innerTitleStyle === null || innerTitleStyle === void 0 ? void 0 : innerTitleStyle.wrapperOpen), size === 'small' && (innerTitleStyle === null || innerTitleStyle === void 0 ? void 0 : innerTitleStyle.wrapperSmall), size === 'large' && (innerTitleStyle === null || innerTitleStyle === void 0 ? void 0 : innerTitleStyle.wrapperLarge)),
25864
+ className: classnames_default()(innerTitleStyle === null || innerTitleStyle === void 0 ? void 0 : innerTitleStyle.wrapper, !!open && (innerTitleStyle === null || innerTitleStyle === void 0 ? void 0 : innerTitleStyle.wrapperOpen), size === 'small' && (innerTitleStyle === null || innerTitleStyle === void 0 ? void 0 : innerTitleStyle.wrapperSmall), size === 'large' && (innerTitleStyle === null || innerTitleStyle === void 0 ? void 0 : innerTitleStyle.wrapperLarge), animation && (innerTitleStyle === null || innerTitleStyle === void 0 ? void 0 : innerTitleStyle.animation)),
25865
+ onAnimationEnd: function onAnimationEnd() {
25866
+ return setAnimation(false);
25867
+ },
25868
+ onAnimationIteration: function onAnimationIteration() {
25869
+ return setAnimation(false);
25870
+ },
25843
25871
  children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
25844
- className: classnames_default()(innerTitleStyle === null || innerTitleStyle === void 0 ? void 0 : innerTitleStyle.title, props.titleClassName),
25872
+ className: classnames_default()(innerTitleStyle === null || innerTitleStyle === void 0 ? void 0 : innerTitleStyle.title, innerTitleStyle === null || innerTitleStyle === void 0 ? void 0 : innerTitleStyle.top, props.titleClassName),
25845
25873
  children: innerTitle
25846
25874
  }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
25847
25875
  onMouseDown: function onMouseDown(e) {
25848
25876
  e.preventDefault();
25849
25877
  e.stopPropagation();
25850
25878
  },
25851
- style: open ? {
25852
- paddingTop: 0,
25853
- paddingBottom: 0
25854
- } : undefined,
25855
- className: classnames_default()(innerTitleStyle === null || innerTitleStyle === void 0 ? void 0 : innerTitleStyle.title, innerTitleStyle === null || innerTitleStyle === void 0 ? void 0 : innerTitleStyle.place, props.titleClassName),
25856
- children: placeTitle || innerTitle
25879
+ className: classnames_default()(innerTitleStyle === null || innerTitleStyle === void 0 ? void 0 : innerTitleStyle.place),
25880
+ children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
25881
+ className: classnames_default()(innerTitleStyle === null || innerTitleStyle === void 0 ? void 0 : innerTitleStyle.title, props.titleClassName),
25882
+ children: placeTitle || innerTitle
25883
+ })
25857
25884
  }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
25858
25885
  className: innerTitleStyle === null || innerTitleStyle === void 0 ? void 0 : innerTitleStyle.content,
25859
25886
  children: el
@@ -27209,18 +27236,6 @@ var useCarouselStyle = styled(carousel_carousel, 'carousel');
27209
27236
  var CarouselComp = src_carousel_carousel;
27210
27237
  CarouselComp.displayName = 'ShineoutCarousel';
27211
27238
  /* harmony default export */ var src_carousel_0 = (CarouselComp);
27212
- ;// CONCATENATED MODULE: ../hooks/src/common/use-previous/index.ts
27213
-
27214
- function usePrevious(state) {
27215
- var prevRef = (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useRef)();
27216
- var curRef = (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useRef)();
27217
- if (!Object.is(curRef.current, state)) {
27218
- prevRef.current = curRef.current;
27219
- curRef.current = state;
27220
- }
27221
- return prevRef.current;
27222
- }
27223
- /* harmony default export */ var use_previous = (usePrevious);
27224
27239
  // EXTERNAL MODULE: ../../node_modules/.pnpm/@babel+runtime@7.21.0/node_modules/@babel/runtime/helpers/assertThisInitialized.js
27225
27240
  var assertThisInitialized = __webpack_require__(1466);
27226
27241
  var assertThisInitialized_default = /*#__PURE__*/__webpack_require__.n(assertThisInitialized);
@@ -29283,6 +29298,7 @@ var CascaderNode = function CascaderNode(props) {
29283
29298
  children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
29284
29299
  className: classnames_default()(styles.optionInner),
29285
29300
  children: [multiple && !(shouldFinal && hasChildren) && /*#__PURE__*/(0,jsx_runtime.jsx)(src_checkbox_checkbox, {
29301
+ theme: "dark",
29286
29302
  jssStyle: jssStyle,
29287
29303
  className: styles.optionCheckbox,
29288
29304
  checked: datum.getChecked(id),
@@ -30190,7 +30206,8 @@ var result_Result = function Result(props) {
30190
30206
  onClearCreatedData = props.onClearCreatedData,
30191
30207
  getDataByValues = props.getDataByValues,
30192
30208
  checkUnMatched = props.checkUnMatched,
30193
- onRemove = props.onRemove;
30209
+ onRemove = props.onRemove,
30210
+ onResultItemClick = props.onResultItemClick;
30194
30211
  var value = multiple ? valueProp : [valueProp];
30195
30212
  var _useState = (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useState)(-1),
30196
30213
  _useState2 = slicedToArray_default()(_useState, 2),
@@ -30210,6 +30227,9 @@ var result_Result = function Result(props) {
30210
30227
  }
30211
30228
  return more;
30212
30229
  };
30230
+ var handleResultItemClick = function handleResultItemClick(e, item) {
30231
+ onResultItemClick === null || onResultItemClick === void 0 ? void 0 : onResultItemClick(e, item);
30232
+ };
30213
30233
  var renderInput = function renderInput() {
30214
30234
  return /*#__PURE__*/(0,jsx_runtime.jsx)((external_root_React_commonjs2_react_commonjs_react_amd_react_default()).Fragment, {
30215
30235
  children: /*#__PURE__*/(0,jsx_runtime.jsx)(result_input, {
@@ -30240,7 +30260,7 @@ var result_Result = function Result(props) {
30240
30260
  }
30241
30261
  return renderResultProp(data, index, nodes);
30242
30262
  };
30243
- var renderItem = function renderItem(item, index, nodes) {
30263
+ var renderResultItem = function renderResultItem(item, index, nodes) {
30244
30264
  var key;
30245
30265
  if (result_isUnMatchedData(item)) {
30246
30266
  if (result_isFunc(keygen)) {
@@ -30266,14 +30286,20 @@ var result_Result = function Result(props) {
30266
30286
  } else {
30267
30287
  resultClassName = props.resultClassName;
30268
30288
  }
30289
+ var handleClick = function handleClick(e) {
30290
+ handleResultItemClick(e, item);
30291
+ };
30292
+ var content = renderResultContent(item, index, nodes);
30293
+ if (!content) return null;
30269
30294
  return /*#__PURE__*/(0,jsx_runtime.jsx)(tag, {
30270
30295
  disabled: isDisabled,
30271
30296
  size: size,
30272
30297
  className: classnames_default()(styles.tag, resultClassName),
30273
30298
  onClose: closeable && handleClose,
30299
+ onClick: handleClick,
30274
30300
  jssStyle: jssStyle,
30275
30301
  "data-soui-type": disabled === true ? 'dark' : undefined,
30276
- children: renderResultContent(item, index, nodes)
30302
+ children: content
30277
30303
  }, key);
30278
30304
  };
30279
30305
  var isEmptyResult = function isEmptyResult() {
@@ -30325,7 +30351,7 @@ var result_Result = function Result(props) {
30325
30351
  }
30326
30352
  var values = getDataByValues(nextValue);
30327
30353
  var result = values.map(function (v, i) {
30328
- return renderItem(v, i, values);
30354
+ return renderResultItem(v, i, values);
30329
30355
  });
30330
30356
  return result;
30331
30357
  };
@@ -30456,6 +30482,8 @@ var Cascader = function Cascader(props) {
30456
30482
  underline = props.underline,
30457
30483
  trim = props.trim,
30458
30484
  loading = props.loading,
30485
+ _props$singleRemove = props.singleRemove,
30486
+ singleRemove = _props$singleRemove === void 0 ? false : _props$singleRemove,
30459
30487
  loader = props.loader,
30460
30488
  final = props.final,
30461
30489
  expandTrigger = props.expandTrigger,
@@ -30670,6 +30698,22 @@ var Cascader = function Cascader(props) {
30670
30698
  handleChange([]);
30671
30699
  if (open) closePop();
30672
30700
  };
30701
+ var handleResultItemClick = function handleResultItemClick(e, item) {
30702
+ e.stopPropagation();
30703
+ if (!open) {
30704
+ openPop();
30705
+ }
30706
+ var id = datum.getKey(item);
30707
+ var _ref2 = datum.getPath(id) || {},
30708
+ path = _ref2.path;
30709
+ if (!path) return;
30710
+ handlePathChange(id, null, path);
30711
+ };
30712
+ var handleRemove = function handleRemove(item) {
30713
+ var id = datum.getKey(item);
30714
+ datum.set(id, 0);
30715
+ onChange === null || onChange === void 0 ? void 0 : onChange(datum.getValue(), item);
30716
+ };
30673
30717
  var getDataByValues = function getDataByValues(values) {
30674
30718
  var nextValues = values === null || values === void 0 ? void 0 : values.filter(function (v) {
30675
30719
  return !is_isEmpty(v);
@@ -30734,7 +30778,7 @@ var Cascader = function Cascader(props) {
30734
30778
  jssStyle: jssStyle,
30735
30779
  size: size,
30736
30780
  value: value,
30737
- closeable: false,
30781
+ closeable: singleRemove,
30738
30782
  data: data,
30739
30783
  focus: open,
30740
30784
  keygen: keygen,
@@ -30757,7 +30801,9 @@ var Cascader = function Cascader(props) {
30757
30801
  setInputText: setInputText,
30758
30802
  onFilter: handleFilter,
30759
30803
  onRef: inputRef,
30804
+ onRemove: handleRemove,
30760
30805
  onResetFilter: onResetFilter,
30806
+ onResultItemClick: handleResultItemClick,
30761
30807
  checkUnMatched: checkUnMatched,
30762
30808
  getDataByValues: getDataByValues
30763
30809
  })
@@ -30821,9 +30867,11 @@ var Cascader = function Cascader(props) {
30821
30867
  }
30822
30868
  var listStyle = data && data.length === 0 ? {
30823
30869
  height: 'auto',
30870
+ minHeight: 232,
30824
30871
  width: '100%'
30825
30872
  } : {
30826
- height: height
30873
+ height: height,
30874
+ minHeight: 232
30827
30875
  };
30828
30876
  return /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
30829
30877
  className: classnames_default()(styles.listContent),
@@ -31430,6 +31478,7 @@ var cascaderStyle = objectSpread2_default()(objectSpread2_default()({
31430
31478
  right: 8,
31431
31479
  top: 9,
31432
31480
  fontSize: esm/* default.cascaderFontSize */.ZP.cascaderFontSize,
31481
+ color: esm/* default.cascaderOptionIconColor */.ZP.cascaderOptionIconColor,
31433
31482
  lineHeight: 0,
31434
31483
  verticalAlign: 'middle',
31435
31484
  '& svg': {
@@ -32824,7 +32873,28 @@ var useSelectStyle = styled(select_select, 'select');
32824
32873
  /* harmony default export */ var src_select = ((/* unused pure expression or super */ null && (useSelectStyle)));
32825
32874
  ;// CONCATENATED MODULE: ../shineout-style/src/inner-title/inner-title.ts
32826
32875
 
32827
- var innerTitle = {
32876
+
32877
+ var moveOffset = '-10px';
32878
+ var moveTime = '120ms';
32879
+ var inner_title_animation = {
32880
+ '@keyframes movein': {
32881
+ from: {
32882
+ top: 0
32883
+ },
32884
+ to: {
32885
+ top: moveOffset
32886
+ }
32887
+ },
32888
+ '@keyframes moveout': {
32889
+ from: {
32890
+ top: moveOffset
32891
+ },
32892
+ to: {
32893
+ top: 0
32894
+ }
32895
+ }
32896
+ };
32897
+ var innerTitle = objectSpread2_default()(objectSpread2_default()({}, inner_title_animation), {}, {
32828
32898
  wrapper: {
32829
32899
  width: '100%',
32830
32900
  boxSizing: 'border-box',
@@ -32832,41 +32902,57 @@ var innerTitle = {
32832
32902
  },
32833
32903
  wrapperSmall: {},
32834
32904
  wrapperLarge: {},
32905
+ animation: {},
32835
32906
  wrapperOpen: {
32836
32907
  display: 'block'
32837
32908
  },
32838
32909
  title: {
32839
- visibility: 'hidden',
32840
32910
  height: 'initial',
32841
32911
  lineHeight: esm/* default.lineHeightDynamic */.ZP.lineHeightDynamic,
32842
32912
  fontSize: esm/* default.inputInnerFontSize */.ZP.inputInnerFontSize,
32843
32913
  color: esm/* default.inputInnerFontColor */.ZP.inputInnerFontColor,
32844
- '$wrapperSmall &': {
32914
+ transition: "font-size ".concat(moveTime, " ease-in"),
32915
+ '$wrapperSmall:not($wrapperOpen) $place &': {
32845
32916
  fontSize: esm/* default.inputInnerSmallFontSize */.ZP.inputInnerSmallFontSize
32846
32917
  },
32847
- '$wrapperLarge &': {
32918
+ '$wrapperLarge:not($wrapperOpen) $place &': {
32848
32919
  fontSize: esm/* default.inputInnerLargeFontSize */.ZP.inputInnerLargeFontSize
32849
32920
  }
32850
32921
  },
32922
+ top: {
32923
+ opacity: '0',
32924
+ '$wrapperOpen &': {
32925
+ opacity: '1'
32926
+ },
32927
+ '$animation$wrapperOpen &': {
32928
+ transition: "opacity 0s ease-in ".concat(moveTime)
32929
+ }
32930
+ },
32851
32931
  place: {
32852
32932
  pointerEvents: 'none',
32853
- position: 'absolute',
32854
- visibility: 'visible',
32855
- transition: 'top 150ms linear 50ms, transform 150ms linear 50ms, font-size 150ms linear 50ms',
32856
- '$wrapperLarge &': {
32857
- transition: 'top 120ms linear 50ms, transform 120ms linear 50ms, font-size 120ms linear 50ms'
32933
+ '& $title': {
32934
+ position: 'relative',
32935
+ top: 0
32858
32936
  },
32859
- top: "50%",
32860
- transform: 'translate3d(0, -50%, 0)',
32937
+ '$animation$wrapperOpen &': {
32938
+ transition: "opacity 0s ease-in ".concat(moveTime)
32939
+ },
32940
+ '$animation$wrapperOpen & $title': {
32941
+ animation: "$movein ".concat(moveTime, " ease-in")
32942
+ },
32943
+ '$animation:not($wrapperOpen) & $title': {
32944
+ animation: "$moveout ".concat(moveTime, " ease-in")
32945
+ },
32946
+ position: 'absolute',
32947
+ top: '0',
32861
32948
  left: '0',
32862
32949
  right: '0',
32863
- padding: 'inherit',
32950
+ bottom: '0',
32951
+ display: 'flex',
32952
+ alignItems: 'center',
32953
+ opacity: '1',
32864
32954
  '$wrapperOpen &': {
32865
- top: '0',
32866
- transform: 'translate3d(0, 0%, 0)'
32867
- },
32868
- '$wrapper:not($wrapperOpen) &': {
32869
- fontSize: 'inherit'
32955
+ opacity: '0'
32870
32956
  }
32871
32957
  },
32872
32958
  content: {
@@ -32876,7 +32962,7 @@ var innerTitle = {
32876
32962
  },
32877
32963
  display: 'flex'
32878
32964
  }
32879
- };
32965
+ });
32880
32966
  /* harmony default export */ var inner_title = (innerTitle);
32881
32967
  ;// CONCATENATED MODULE: ../shineout-style/src/inner-title/index.ts
32882
32968
 
@@ -54274,6 +54360,12 @@ var useTableVirtual = function useTableVirtual(props) {
54274
54360
  var getTranslate = usePersistFn(function (left, top) {
54275
54361
  var l = left === undefined ? sleft : left;
54276
54362
  var t = top === undefined ? innerTop + offsetY : top;
54363
+ if (t < 0) {
54364
+ t = 0;
54365
+ }
54366
+ if (l < 0) {
54367
+ l = 0;
54368
+ }
54277
54369
  return "translate3d(-".concat(l, "px, -").concat(t, "px, 0)");
54278
54370
  });
54279
54371
  var getContentHeight = function getContentHeight(index) {
@@ -54354,7 +54446,6 @@ var useTableVirtual = function useTableVirtual(props) {
54354
54446
  scrollTop = max;
54355
54447
  }
54356
54448
  // 拖动滚动条后保持滚动位置
54357
- console.log(context.controlScrollRate, 'controlScrollRate');
54358
54449
  if (context.controlScrollRate !== null) {
54359
54450
  var top = context.controlScrollRate * max;
54360
54451
  updateIndexAndTopFromTop(top);
@@ -54364,7 +54455,6 @@ var useTableVirtual = function useTableVirtual(props) {
54364
54455
  }
54365
54456
  // 拖动滚动条
54366
54457
  if (fromDrag) {
54367
- console.log('fromDrag');
54368
54458
  var _top = y * max;
54369
54459
  updateIndexAndTopFromTop(_top);
54370
54460
  if (context.rateTimer) clearTimeout(context.rateTimer);
@@ -56047,6 +56137,7 @@ var tableStyle = objectSpread2_default()(objectSpread2_default()({}, globalStyle
56047
56137
  boxSizing: 'border-box',
56048
56138
  position: 'relative',
56049
56139
  zIndex: 0,
56140
+ minHeight: 0,
56050
56141
  fontSize: esm/* default.tableFontSize */.ZP.tableFontSize,
56051
56142
  '& table': {
56052
56143
  textAlign: 'left',
@@ -61938,7 +62029,6 @@ var UploadButton = function UploadButton(props) {
61938
62029
  customResult: undefined,
61939
62030
  drop: false,
61940
62031
  multiple: false,
61941
- gapProps: undefined,
61942
62032
  leftHandler: false,
61943
62033
  onPreview: undefined,
61944
62034
  renderContent: undefined,
@@ -61960,7 +62050,6 @@ var UploadButton = function UploadButton(props) {
61960
62050
  return props.onHttpError ? props.onHttpError(xhr, file) : undefined;
61961
62051
  });
61962
62052
  var onSuccess = usePersistFn(function (value, file, data) {
61963
- console.log('success');
61964
62053
  setProcess(-1);
61965
62054
  return props.onSuccess ? props.onSuccess(value, file, data) : value;
61966
62055
  });
@@ -64301,7 +64390,7 @@ var upload_interface = __webpack_require__(7818);
64301
64390
 
64302
64391
 
64303
64392
  /* harmony default export */ var src = ({
64304
- version: '3.0.0-alpha.10'
64393
+ version: '3.0.0-alpha.11'
64305
64394
  });
64306
64395
  }();
64307
64396
  /******/ return __webpack_exports__;