shineout 3.4.0-beta.9 → 3.4.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.
package/dist/shineout.js CHANGED
@@ -11991,7 +11991,7 @@ var handleStyle = function handleStyle(style) {
11991
11991
  };
11992
11992
  /* harmony default export */ var jss_style_handleStyle = (handleStyle);
11993
11993
  ;// CONCATENATED MODULE: ../shineout-style/src/version.ts
11994
- /* harmony default export */ var version = ('3.4.0-beta.9');
11994
+ /* harmony default export */ var version = ('3.4.1');
11995
11995
  ;// CONCATENATED MODULE: ../shineout-style/src/jss-style/index.tsx
11996
11996
 
11997
11997
 
@@ -18129,7 +18129,10 @@ var datePickerStyle = objectSpread2_default()(objectSpread2_default()({
18129
18129
  },
18130
18130
  datetimeHide: {
18131
18131
  opacity: '0',
18132
- pointerEvents: 'none'
18132
+ pointerEvents: 'none',
18133
+ '& > span': {
18134
+ display: 'none'
18135
+ }
18133
18136
  },
18134
18137
  quickPicker: {
18135
18138
  padding: "".concat(src.datePickerQuickPanelPaddingY, " ").concat(src.datePickerQuickPanelPaddingX),
@@ -22044,7 +22047,11 @@ var rateStyle = {
22044
22047
  width: '100%',
22045
22048
  height: '100%',
22046
22049
  transition: 'none',
22047
- color: src.rateBackgroundColor
22050
+ color: src.rateBackgroundColor,
22051
+ '& > svg': {
22052
+ width: '1em',
22053
+ height: '1em'
22054
+ }
22048
22055
  },
22049
22056
  itemFront: {
22050
22057
  position: 'absolute',
@@ -22053,7 +22060,11 @@ var rateStyle = {
22053
22060
  right: 0,
22054
22061
  bottom: 0,
22055
22062
  opacity: 0,
22056
- color: src.rateFrontBackgroundColor
22063
+ color: src.rateFrontBackgroundColor,
22064
+ '& > svg': {
22065
+ width: '1em',
22066
+ height: '1em'
22067
+ }
22057
22068
  },
22058
22069
  itemHalf: {
22059
22070
  position: 'absolute',
@@ -24714,7 +24725,8 @@ var tableStyle = objectSpread2_default()(objectSpread2_default()({}, globalStyle
24714
24725
  }
24715
24726
  },
24716
24727
  bordered: {
24717
- border: "1px solid ".concat(src.tableCellBorderColor),
24728
+ borderLeft: "1px solid ".concat(src.tableCellBorderColor),
24729
+ borderRight: "1px solid ".concat(src.tableCellBorderColor),
24718
24730
  borderBottom: 'none',
24719
24731
  borderTop: 'none',
24720
24732
  '&::before': {
@@ -24737,6 +24749,9 @@ var tableStyle = objectSpread2_default()(objectSpread2_default()({}, globalStyle
24737
24749
  borderTop: "1px solid ".concat(src.tableCellBorderColor)
24738
24750
  }
24739
24751
  },
24752
+ headMirrorScroller: {
24753
+ overflow: 'scroll hidden'
24754
+ },
24740
24755
  headWrapper: {
24741
24756
  flex: '0 0 auto',
24742
24757
  overflow: 'hidden',
@@ -26210,6 +26225,12 @@ var textarea_input = objectSpread2_default()(objectSpread2_default()(objectSprea
26210
26225
  '&[dir=rtl]': {
26211
26226
  left: '0'
26212
26227
  },
26228
+ '&$bottomLeft': {
26229
+ right: 'auto'
26230
+ },
26231
+ '&$bottomRight': {
26232
+ left: 'auto'
26233
+ },
26213
26234
  top: '100%',
26214
26235
  transformOrigin: '100% 0',
26215
26236
  marginTop: '10px',
@@ -26238,8 +26259,22 @@ var textarea_input = objectSpread2_default()(objectSpread2_default()(objectSprea
26238
26259
  },
26239
26260
  '&[dir=rtl]::before': {
26240
26261
  left: '8px'
26262
+ },
26263
+ '&$bottomLeft::before': {
26264
+ left: '8px',
26265
+ right: 'auto'
26266
+ },
26267
+ '&$bottomRight::before': {
26268
+ right: '4px',
26269
+ left: 'auto'
26241
26270
  }
26242
26271
  },
26272
+ bottomLeft: {
26273
+ left: 0
26274
+ },
26275
+ bottomRight: {
26276
+ right: 0
26277
+ },
26243
26278
  infoError: {
26244
26279
  boxShadow: "0 0 0 1px ".concat(src.textareaInfoErrorBorderColor),
26245
26280
  color: src.textareaInfoErrorFontColor,
@@ -26812,7 +26847,9 @@ var treeStyle = {
26812
26847
  },
26813
26848
  noline: {
26814
26849
  '& $iconWrapper': {
26815
- // left: 12,
26850
+ '& $icon': {
26851
+ transition: 'transform .2s cubic-bezier(.34,.69,.1,1)'
26852
+ }
26816
26853
  },
26817
26854
  '& $iconWrapper[data-expanded="false"][data-icon="false"]': {
26818
26855
  '& $icon': {
@@ -26834,16 +26871,38 @@ var treeStyle = {
26834
26871
  '&$leaf': {
26835
26872
  paddingLeft: 24
26836
26873
  }
26874
+ },
26875
+ '& > $root': {
26876
+ '& > $node': {
26877
+ paddingLeft: 24
26878
+ }
26837
26879
  }
26838
26880
  },
26839
26881
  root: {
26840
- '& > :first-child$node': {
26882
+ // '& > :first-child$node': {
26883
+ // '&::before': {
26884
+ // top: 18,
26885
+ // },
26886
+ // },
26887
+ // '& > :last-child$node': {
26888
+ // '&::before': {},
26889
+ // },
26890
+ '& > $node': {
26891
+ paddingLeft: 12,
26892
+ '& > $contentWrapper > $iconWrapper': {
26893
+ '&[dir=ltr]': {
26894
+ left: 0
26895
+ },
26896
+ '&[dir=rtl]': {
26897
+ right: 0
26898
+ }
26899
+ },
26841
26900
  '&::before': {
26842
- top: 18
26901
+ display: 'none'
26902
+ },
26903
+ '&::after': {
26904
+ display: 'none'
26843
26905
  }
26844
- },
26845
- '& > :last-child$node': {
26846
- '&::before': {}
26847
26906
  }
26848
26907
  },
26849
26908
  small: {},
@@ -26951,6 +27010,7 @@ var treeStyle = {
26951
27010
  borderRadius: '50%',
26952
27011
  color: src.treeItemFontColor,
26953
27012
  cursor: 'pointer',
27013
+ transition: 'background .2s ease',
26954
27014
  // transform: 'rotate(-90deg)',
26955
27015
  '&:hover': {
26956
27016
  background: src.treeItemHoverBackgroundColor
@@ -34166,15 +34226,31 @@ var Carousel = function Carousel(props) {
34166
34226
  };
34167
34227
  var renderArrow = function renderArrow() {
34168
34228
  if (!props.showArrow) return null;
34229
+ var handlePrev = function handlePrev() {
34230
+ if (config.direction === 'ltr') {
34231
+ func.backward();
34232
+ } else {
34233
+ func.forward();
34234
+ }
34235
+ func.stop();
34236
+ };
34237
+ var handleNext = function handleNext() {
34238
+ if (config.direction === 'ltr') {
34239
+ func.forward();
34240
+ } else {
34241
+ func.backward();
34242
+ }
34243
+ func.stop();
34244
+ };
34169
34245
  return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
34170
34246
  className: classnames_default()(props.showArrow === 'hover' && (carouselClasses === null || carouselClasses === void 0 ? void 0 : carouselClasses.arrowHover), carouselClasses === null || carouselClasses === void 0 ? void 0 : carouselClasses.arrowWrapper, props.arrowClassName),
34171
34247
  children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
34172
34248
  className: classnames_default()(carouselClasses === null || carouselClasses === void 0 ? void 0 : carouselClasses.arrowLeft, carouselClasses === null || carouselClasses === void 0 ? void 0 : carouselClasses.arrowItem),
34173
- onClick: config.direction === 'ltr' ? func.backward : func.forward,
34249
+ onClick: handlePrev,
34174
34250
  children: icons_config.carousel.Backward
34175
34251
  }, 'left'), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
34176
34252
  className: classnames_default()(carouselClasses === null || carouselClasses === void 0 ? void 0 : carouselClasses.arrowRight, carouselClasses === null || carouselClasses === void 0 ? void 0 : carouselClasses.arrowItem),
34177
- onClick: config.direction === 'ltr' ? func.forward : func.backward,
34253
+ onClick: handleNext,
34178
34254
  children: icons_config.carousel.Forward
34179
34255
  }, 'right')]
34180
34256
  });
@@ -36592,6 +36668,7 @@ var result_Input = function Input(props) {
36592
36668
  placeholder: props.placeholder,
36593
36669
  autoComplete: 'off',
36594
36670
  value: value,
36671
+ readOnly: props.readOnly,
36595
36672
  maxLength: props.maxLength,
36596
36673
  disabled: props.disabled,
36597
36674
  onBlur: props.onBlur,
@@ -36685,12 +36762,13 @@ var Result = function Result(props) {
36685
36762
  className: className,
36686
36763
  children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
36687
36764
  className: styles === null || styles === void 0 ? void 0 : styles.resultTextPadding,
36688
- children: info.inputable ? /*#__PURE__*/(0,jsx_runtime.jsx)(result_Input, {
36765
+ children: /*#__PURE__*/(0,jsx_runtime.jsx)(result_Input, {
36689
36766
  onRef: function onRef(el) {
36690
36767
  _onRef.current.inputRef = el;
36691
36768
  context.inputRefs[info.index] = el;
36692
36769
  },
36693
- disabled: dis,
36770
+ disabled: dis && info.inputable,
36771
+ readOnly: !info.inputable,
36694
36772
  open: !!open,
36695
36773
  inputRef: inputRef,
36696
36774
  value: info.target || info.value || '',
@@ -36717,10 +36795,7 @@ var Result = function Result(props) {
36717
36795
  (_props$onFocus = props.onFocus) === null || _props$onFocus === void 0 || _props$onFocus.call(props, e);
36718
36796
  },
36719
36797
  onClick: onClickProps
36720
- }, info.index) : info.target || info.value || /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
36721
- className: styles === null || styles === void 0 ? void 0 : styles.placeholder,
36722
- children: info.place
36723
- })
36798
+ }, info.index)
36724
36799
  }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
36725
36800
  className: styles === null || styles === void 0 ? void 0 : styles.resultTextBg
36726
36801
  })]
@@ -40902,6 +40977,13 @@ var useDatePickerFormat = function useDatePickerFormat(props) {
40902
40977
  var getCurrentArr = function getCurrentArr() {
40903
40978
  var arr = convertValueToDateArr(value, format, options);
40904
40979
  var currentArr = convertValueToDateArr(props.defaultCurrent, 'YYYY-MM-DD', options);
40980
+ var validArr = arr.filter(function (item) {
40981
+ return item;
40982
+ });
40983
+ var validCurrentArr = currentArr.filter(function (item) {
40984
+ return item;
40985
+ });
40986
+ if (!validArr.length && currentArr.length) return validCurrentArr;
40905
40987
  if (!arr[0]) arr[0] = arr[1] || currentArr[0] || new Date();
40906
40988
  if (range && !arr[1]) arr[1] = arr[0] || currentArr[1] || new Date();
40907
40989
  return arr;
@@ -41876,7 +41958,8 @@ var Day = function Day(props) {
41876
41958
  className: styles === null || styles === void 0 ? void 0 : styles.pickerFooter,
41877
41959
  dir: direction,
41878
41960
  style: {
41879
- borderTop: props.needConfirm && props.range ? 'none' : ''
41961
+ borderTop: props.needConfirm && props.range ? 'none' : undefined,
41962
+ marginTop: props.needConfirm && props.range ? -16 : undefined
41880
41963
  },
41881
41964
  children: [props.type === 'datetime' && /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
41882
41965
  className: classnames_default()(styles === null || styles === void 0 ? void 0 : styles.pickerFooterTime, styles === null || styles === void 0 ? void 0 : styles.datetime, !timeStr && (styles === null || styles === void 0 ? void 0 : styles.datetimeHide)),
@@ -44122,6 +44205,11 @@ var Modal = function Modal(props) {
44122
44205
  }
44123
44206
  };
44124
44207
  }, []);
44208
+ (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useEffect)(function () {
44209
+ if (props.setInnerClose) {
44210
+ props.setInnerClose(handleClose);
44211
+ }
44212
+ }, [props.setInnerClose]);
44125
44213
 
44126
44214
  // render
44127
44215
  var renderIcon = function renderIcon(isEmptyTitle) {
@@ -44322,12 +44410,16 @@ var BtnCancel = function BtnCancel(option) {
44322
44410
  var method = function method(type, jssStyle) {
44323
44411
  return function (options) {
44324
44412
  var id = getUidStr();
44413
+ var innerClose;
44325
44414
  var root = getRoot({
44326
44415
  container: options.container
44327
44416
  });
44328
44417
  if (!root) return;
44329
44418
  var destroyModal = function destroyModal() {
44330
- destroy(root);
44419
+ innerClose();
44420
+ setTimeout(function () {
44421
+ destroy(root);
44422
+ }, 300);
44331
44423
  };
44332
44424
  modals.add(root);
44333
44425
  var btnOptions = {
@@ -44356,6 +44448,9 @@ var method = function method(type, jssStyle) {
44356
44448
  shouldDestroy: function shouldDestroy(can) {
44357
44449
  if (can) destroyModal();
44358
44450
  },
44451
+ setInnerClose: function setInnerClose(close) {
44452
+ innerClose = close;
44453
+ },
44359
44454
  children: options.content || options.children
44360
44455
  }));
44361
44456
  ReactRender(Content, root);
@@ -45052,6 +45147,7 @@ var useAutoSize = function useAutoSize(props) {
45052
45147
 
45053
45148
 
45054
45149
 
45150
+
45055
45151
  var textarea_excluded = ["info", "suffix", "renderFooter", "width", "style", "jssStyle", "onBlur", "status", "trim", "delay"];
45056
45152
 
45057
45153
 
@@ -45164,8 +45260,17 @@ var textarea_Textarea = function Textarea(props0) {
45164
45260
  var forwardProps = removeProps(resetProps, objectSpread2_default()(objectSpread2_default()(objectSpread2_default()(objectSpread2_default()(objectSpread2_default()({}, inputAbleParams), autosizeParams), tipProps), formatParams), innerTitleProps));
45165
45261
  var getInfo = function getInfo() {
45166
45262
  var notNumber = typeof info !== 'number';
45167
- if (typeof info !== 'function' && notNumber) return null;
45168
- var textInfo = notNumber ? info : textarea_defaultInfo.bind(null, info);
45263
+ if (typeof info !== 'function' && typeof_default()(info) !== 'object' && notNumber) return null;
45264
+ var infoContent;
45265
+ var infoPosition;
45266
+ if (typeof_default()(info) === 'object') {
45267
+ infoContent = info.content;
45268
+ infoPosition = info.position;
45269
+ } else {
45270
+ infoContent = info;
45271
+ }
45272
+ var notContentNumber = typeof infoContent !== 'number';
45273
+ var textInfo = notContentNumber ? infoContent : textarea_defaultInfo.bind(null, infoContent);
45169
45274
  var res = textInfo(inputAbleProps.value);
45170
45275
  // empty
45171
45276
  if (!res) return null;
@@ -45177,7 +45282,7 @@ var textarea_Textarea = function Textarea(props0) {
45177
45282
  minWidth: 'auto'
45178
45283
  },
45179
45284
  dir: config.direction,
45180
- className: classnames_default()(textareaClasses === null || textareaClasses === void 0 ? void 0 : textareaClasses.info, !!isError && (textareaClasses === null || textareaClasses === void 0 ? void 0 : textareaClasses.infoError)),
45285
+ className: classnames_default()(textareaClasses === null || textareaClasses === void 0 ? void 0 : textareaClasses.info, !!isError && (textareaClasses === null || textareaClasses === void 0 ? void 0 : textareaClasses.infoError), infoPosition === 'bottom-left' && (textareaClasses === null || textareaClasses === void 0 ? void 0 : textareaClasses.bottomLeft), infoPosition === 'bottom-right' && (textareaClasses === null || textareaClasses === void 0 ? void 0 : textareaClasses.bottomRight)),
45181
45286
  children: text
45182
45287
  }, 'info');
45183
45288
  };
@@ -48740,8 +48845,7 @@ var Scroll = function Scroll(props) {
48740
48845
  var wrapperRef = useForkRef(scrollRef, props.wrapperRef);
48741
48846
  var _useRef = (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useRef)({
48742
48847
  timer: null,
48743
- isMouseDown: false,
48744
- lastPaddingTop: 0
48848
+ isMouseDown: false
48745
48849
  }),
48746
48850
  context = _useRef.current;
48747
48851
  var _props$scrollHeight = props.scrollHeight,
@@ -48770,13 +48874,11 @@ var Scroll = function Scroll(props) {
48770
48874
  overflow: 'hidden',
48771
48875
  position: 'sticky'
48772
48876
  }, isRtl ? 'right' : 'left', 0), "top", 0);
48773
- var pd = context.lastPaddingTop;
48774
- if (height > 0 && scrollHeight > 0) {
48775
- pd = Math.max(0, Math.floor(scrollHeight - height));
48776
- context.lastPaddingTop = pd;
48777
- }
48877
+ var paddingTop = (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useMemo)(function () {
48878
+ return Math.max(0, Math.floor(scrollHeight - height));
48879
+ }, [scrollHeight, height]);
48778
48880
  var placeStyle = {
48779
- paddingTop: pd,
48881
+ paddingTop: paddingTop,
48780
48882
  width: scrollWidth,
48781
48883
  overflow: props.isScrollY ? 'hidden' : 'auto hidden',
48782
48884
  height: props.isScrollY ? 0 : 1,
@@ -48909,7 +49011,7 @@ var VirtualList = function VirtualList(props) {
48909
49011
  var _useState7 = (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useState)(0),
48910
49012
  _useState8 = slicedToArray_default()(_useState7, 2),
48911
49013
  startIndex = _useState8[0],
48912
- setCurrentIndex = _useState8[1];
49014
+ setStartIndex = _useState8[1];
48913
49015
  var wrapperRef = (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useRef)(null);
48914
49016
  var _useRef = (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useRef)({
48915
49017
  cachedHeight: [],
@@ -48988,7 +49090,7 @@ var VirtualList = function VirtualList(props) {
48988
49090
  }
48989
49091
  }
48990
49092
  if (nextCurrentIndex !== startIndex) {
48991
- setCurrentIndex(nextCurrentIndex);
49093
+ setStartIndex(nextCurrentIndex);
48992
49094
  }
48993
49095
  setTop(top);
48994
49096
  };
@@ -49004,8 +49106,7 @@ var VirtualList = function VirtualList(props) {
49004
49106
  };
49005
49107
  var handleScroll = function handleScroll(info) {
49006
49108
  var _props$onScroll;
49007
- var scrollLeft = info.scrollLeft,
49008
- height = info.height,
49109
+ var height = info.height,
49009
49110
  y = info.y,
49010
49111
  fromDrag = info.fromDrag;
49011
49112
  var scrollTop = info.scrollTop;
@@ -49030,7 +49131,7 @@ var VirtualList = function VirtualList(props) {
49030
49131
  var renderList = function renderList() {
49031
49132
  var items = data.slice(startIndex, startIndex + rowsInView);
49032
49133
  var Tag = tag;
49033
- var shouldScroll = data.length * lineHeight > height;
49134
+ var shouldScroll = getContentHeight(data.length - 1) > height;
49034
49135
  var nextStyle = objectSpread2_default()({}, style);
49035
49136
  if (shouldScroll) nextStyle.height = height;
49036
49137
  var scrollHeight = getContentHeight(data.length - 1);
@@ -49065,11 +49166,19 @@ var VirtualList = function VirtualList(props) {
49065
49166
  });
49066
49167
  };
49067
49168
  (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useEffect)(function () {
49068
- setHeight(getContentHeight(props.data.length - 1));
49169
+ // 记录preIndex
49170
+ context.preIndex = startIndex;
49171
+ }, [startIndex]);
49172
+ (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useLayoutEffect)(function () {
49173
+ // 数据变化的时候清空掉 preIndex, 如果之前有缓存的index, setRowHeight 会有问题
49174
+ setTop(0);
49175
+ setStartIndex(0);
49176
+ return function () {
49177
+ context.preIndex = null;
49178
+ };
49069
49179
  }, [data.length]);
49070
49180
  (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useEffect)(function () {
49071
49181
  if (offsetY) {
49072
- // if (wrapperRef.current && props.innerRef.current) {
49073
49182
  if (wrapperRef.current) {
49074
49183
  setOffsetY(0);
49075
49184
  setTop(function (s) {
@@ -49080,11 +49189,8 @@ var VirtualList = function VirtualList(props) {
49080
49189
  }
49081
49190
  }, [offsetY, startIndex]);
49082
49191
  (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useEffect)(function () {
49083
- // 数据变化的时候清空掉 preIndex, 如果之前有缓存的index, setRowHeight 会有问题
49084
- return function () {
49085
- context.preIndex = null;
49086
- };
49087
- }, [props.data]);
49192
+ setHeight(getContentHeight(props.data.length - 1));
49193
+ }, [data.length]);
49088
49194
  (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useEffect)(function () {
49089
49195
  if (context.heightCallback) {
49090
49196
  var cb = context.heightCallback;
@@ -49092,10 +49198,6 @@ var VirtualList = function VirtualList(props) {
49092
49198
  cb();
49093
49199
  }
49094
49200
  }, [scrollHeight]);
49095
- (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useEffect)(function () {
49096
- // 记录preIndex
49097
- context.preIndex = startIndex;
49098
- }, [startIndex]);
49099
49201
  (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useEffect)(function () {
49100
49202
  if (virtualRef !== null && virtualRef !== void 0 && virtualRef.current) {
49101
49203
  virtualRef.current.scrollByStep = handleScrollByStep;
@@ -49430,7 +49532,6 @@ var list_List = function List(props) {
49430
49532
  _props$itemsInView = props.itemsInView,
49431
49533
  itemsInView = _props$itemsInView === void 0 ? 10 : _props$itemsInView,
49432
49534
  lineHeightProp = props.lineHeight,
49433
- loading = props.loading,
49434
49535
  threshold = props.threshold,
49435
49536
  controlType = props.controlType,
49436
49537
  hideCreateOption = props.hideCreateOption,
@@ -50352,7 +50453,8 @@ var Root = function Root(props) {
50352
50453
 
50353
50454
 
50354
50455
 
50355
- var tree_excluded = ["jssStyle", "line", "childrenKey", "data", "value", "mode", "keygen", "expanded", "expandIcons", "iconClass", "leafClass", "nodeClass", "contentClass", "renderItem", "defaultValue", "dataUpdate", "childrenClass", "defaultExpandAll", "defaultExpanded", "parentClickExpand", "doubleClickExpand", "dragImageSelector", "dragImageStyle", "dragSibling", "unmatch", "dragHoverExpand", "active", "disabled", "inlineNode", "highlight", "className", "onClick", "loader", "getDatum", "onDrop", "onExpand", "onChange", "onDragEnd", "onDragLeave", "onDragOver", "onDragStart", "datum"];
50456
+
50457
+ var tree_excluded = ["jssStyle", "line", "childrenKey", "data", "value", "mode", "keygen", "expanded", "expandIcons", "iconClass", "leafClass", "nodeClass", "contentClass", "renderItem", "defaultValue", "dataUpdate", "childrenClass", "defaultExpandAll", "defaultExpanded", "parentClickExpand", "doubleClickExpand", "dragImageSelector", "dragImageStyle", "dragSibling", "unmatch", "dragHoverExpand", "active", "setActive", "disabled", "inlineNode", "highlight", "className", "onClick", "loader", "getDatum", "onDrop", "onExpand", "onChange", "onDragEnd", "onDragLeave", "onDragOver", "onDragStart", "datum"];
50356
50458
 
50357
50459
 
50358
50460
 
@@ -50391,10 +50493,11 @@ var Tree = function Tree(props) {
50391
50493
  dragSibling = props.dragSibling,
50392
50494
  unmatch = props.unmatch,
50393
50495
  dragHoverExpand = props.dragHoverExpand,
50394
- active = props.active,
50496
+ propActive = props.active,
50497
+ propSetActive = props.setActive,
50395
50498
  disabled = props.disabled,
50396
50499
  inlineNode = props.inlineNode,
50397
- highlight = props.highlight,
50500
+ propHighlight = props.highlight,
50398
50501
  className = props.className,
50399
50502
  onClick = props.onClick,
50400
50503
  loader = props.loader,
@@ -50408,6 +50511,17 @@ var Tree = function Tree(props) {
50408
50511
  onDragStart = props.onDragStart,
50409
50512
  propsDatum = props.datum,
50410
50513
  rest = objectWithoutProperties_default()(props, tree_excluded);
50514
+ var _useState = (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useState)(propActive),
50515
+ _useState2 = slicedToArray_default()(_useState, 2),
50516
+ active = _useState2[0],
50517
+ setActive = _useState2[1];
50518
+ var isActiveControlled = ('active' in props);
50519
+ var highlight = propHighlight !== null && propHighlight !== void 0 ? propHighlight : isActiveControlled;
50520
+ (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useEffect)(function () {
50521
+ if (isActiveControlled && propActive !== active) {
50522
+ setActive(propActive);
50523
+ }
50524
+ }, [active, propActive]);
50411
50525
  var _useRef = (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useRef)({
50412
50526
  mounted: false
50413
50527
  }),
@@ -50446,14 +50560,14 @@ var Tree = function Tree(props) {
50446
50560
  });
50447
50561
  };
50448
50562
  var handleUpdateActive = function handleUpdateActive(active) {
50563
+ setActive(active);
50564
+ propSetActive === null || propSetActive === void 0 || propSetActive(active);
50449
50565
  datum.updateMap.forEach(function (update, id) {
50450
50566
  update('active', id === active);
50451
50567
  });
50452
50568
  };
50453
50569
  var handleNodeClick = function handleNodeClick(node, id) {
50454
- if (active === undefined) {
50455
- handleUpdateActive(id);
50456
- }
50570
+ handleUpdateActive(id);
50457
50571
  if (onClick) {
50458
50572
  onClick(node, id, datum.getPath(id));
50459
50573
  }
@@ -56080,6 +56194,49 @@ var BaseSwitch = function BaseSwitch(props) {
56080
56194
  var SwitchComp = src_switch_switch_0;
56081
56195
  SwitchComp.displayName = 'ShineoutSwitch';
56082
56196
  /* harmony default export */ var src_switch_0 = (SwitchComp);
56197
+ ;// CONCATENATED MODULE: ../hooks/src/common/use-scrollbar-width/index.ts
56198
+
56199
+
56200
+ var scrollbarWidthCache;
56201
+ function getScrollbarWidth() {
56202
+ // 检查是否在服务器端运行
56203
+ if (typeof window === 'undefined' || typeof document === 'undefined') {
56204
+ return 0;
56205
+ }
56206
+
56207
+ // 如果我们的缓存变量已经存在,则直接返回该值
56208
+ if (scrollbarWidthCache !== undefined) {
56209
+ return scrollbarWidthCache;
56210
+ }
56211
+
56212
+ // 客户端环境,计算滚动条宽度
56213
+ var outer = document.createElement("div");
56214
+ outer.style.visibility = "hidden";
56215
+ outer.style.overflow = "scroll";
56216
+ document.body.appendChild(outer);
56217
+ var inner = document.createElement("div");
56218
+ outer.appendChild(inner);
56219
+ var scrollbarWidth = outer.offsetWidth - inner.offsetWidth;
56220
+ if (outer.parentNode) outer.parentNode.removeChild(outer);
56221
+
56222
+ // 缓存并返回计算结果
56223
+ scrollbarWidthCache = scrollbarWidth;
56224
+ return scrollbarWidth;
56225
+ }
56226
+ function useScrollbarWidth() {
56227
+ var _useState = (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useState)(0),
56228
+ _useState2 = slicedToArray_default()(_useState, 2),
56229
+ scrollbarWidth = _useState2[0],
56230
+ setScrollbarWidth = _useState2[1];
56231
+ (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useEffect)(function () {
56232
+ // 只有在客户端时才计算滚动条宽度
56233
+ if (typeof window !== 'undefined') {
56234
+ setScrollbarWidth(getScrollbarWidth());
56235
+ }
56236
+ }, []);
56237
+ return scrollbarWidth;
56238
+ }
56239
+ /* harmony default export */ var use_scrollbar_width = ((/* unused pure expression or super */ null && (useScrollbarWidth)));
56083
56240
  ;// CONCATENATED MODULE: ../hooks/src/components/use-table/use-table-columns.tsx
56084
56241
 
56085
56242
 
@@ -56240,6 +56397,7 @@ var useTableLayout = function useTableLayout(props) {
56240
56397
  return;
56241
56398
  }
56242
56399
  context.clientWidth = scrollEl.clientWidth;
56400
+ if (scrollEl.clientHeight === 0) return;
56243
56401
  var overHeight = scrollEl.scrollHeight > scrollEl.clientHeight;
56244
56402
  var overWidth = scrollEl.scrollWidth > context.clientWidth;
56245
56403
  var newScrollBarWidth = overHeight ? scrollEl.offsetWidth - scrollEl.clientWidth : 0;
@@ -57014,6 +57172,8 @@ var useTableVirtual = function useTableVirtual(props) {
57014
57172
  }, [startIndex]);
57015
57173
  (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useEffect)(function () {
57016
57174
  // 数据变化的时候清空掉 preIndex, 如果之前有缓存的index, setRowHeight 会有问题
57175
+ setTop(0);
57176
+ setStartIndex(0);
57017
57177
  return function () {
57018
57178
  context.preIndex = null;
57019
57179
  };
@@ -58299,7 +58459,9 @@ var emptyRef = {
58299
58459
  var theadRef = (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useRef)(null);
58300
58460
  var tfootRef = (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useRef)(null);
58301
58461
  var scrollRef = (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useRef)(null);
58462
+ var mirrorScrollRef = (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useRef)(null);
58302
58463
  var tableRef = (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useRef)(null);
58464
+ var browserScrollbarWidth = useScrollbarWidth();
58303
58465
  var _useRef = (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useRef)({
58304
58466
  emptyHeight: 0
58305
58467
  }),
@@ -58454,6 +58616,9 @@ var emptyRef = {
58454
58616
  var target = e.currentTarget;
58455
58617
  if (!target) return;
58456
58618
  layoutFunc.checkFloat();
58619
+ if (mirrorScrollRef.current) {
58620
+ mirrorScrollRef.current.scrollLeft = target.scrollLeft;
58621
+ }
58457
58622
  if (props.onScroll && typeof props.onScroll === 'function') {
58458
58623
  var maxWidth = target.scrollWidth - target.clientWidth;
58459
58624
  var maxHeight = target.scrollHeight - target.clientHeight;
@@ -58465,6 +58630,9 @@ var emptyRef = {
58465
58630
  var handleVirtualScroll = usePersistFn(function (info) {
58466
58631
  virtualInfo.handleScroll(info);
58467
58632
  layoutFunc.checkFloat();
58633
+ if (mirrorScrollRef.current) {
58634
+ mirrorScrollRef.current.scrollLeft = info.scrollLeft;
58635
+ }
58468
58636
  if (props.onScroll && typeof props.onScroll === 'function') {
58469
58637
  props.onScroll(info.x, info.y, info.scrollLeft, info.scrollTop);
58470
58638
  }
@@ -58483,7 +58651,7 @@ var emptyRef = {
58483
58651
  });
58484
58652
  };
58485
58653
  var renderTable = function renderTable() {
58486
- var _props$summary, _sticky$top, _props$data3, _props$style, _props$data4;
58654
+ var _props$summary, _sticky$top, _props$style;
58487
58655
  var Group = /*#__PURE__*/(0,jsx_runtime.jsx)(table_colgroup, {
58488
58656
  colgroup: colgroup,
58489
58657
  columns: columns,
@@ -58544,7 +58712,7 @@ var emptyRef = {
58544
58712
  colgroup: colgroup
58545
58713
  };
58546
58714
  var fixRightNum = (isRtl ? -1 * maxScrollLeft : maxScrollLeft) - virtualInfo.innerLeft;
58547
- var Wrapper = props.sticky ? src_sticky_sticky : (external_root_React_commonjs2_react_commonjs_react_amd_react_default()).Fragment;
58715
+ var StickyWrapper = props.sticky ? src_sticky_sticky : (external_root_React_commonjs2_react_commonjs_react_amd_react_default()).Fragment;
58548
58716
  var sticky = typeof_default()(props.sticky) === 'object' ? props.sticky : {
58549
58717
  top: 0
58550
58718
  };
@@ -58555,76 +58723,117 @@ var emptyRef = {
58555
58723
  css: sticky === null || sticky === void 0 ? void 0 : sticky.css,
58556
58724
  parent: tableRef === null || tableRef === void 0 ? void 0 : tableRef.current
58557
58725
  };
58558
- var isRenderBaseTable = !virtual && !isScrollY && !props.sticky && ((_props$data3 = props.data) === null || _props$data3 === void 0 ? void 0 : _props$data3.length) && !((_props$style = props.style) !== null && _props$style !== void 0 && _props$style.height) && !props.height;
58726
+ var isRenderVirtualTable = virtual || props.sticky || ((_props$style = props.style) === null || _props$style === void 0 ? void 0 : _props$style.height) || props.height;
58559
58727
  var headWrapperClass = classnames_default()(tableClasses === null || tableClasses === void 0 ? void 0 : tableClasses.headWrapper, isScrollY && scrollBarWidth && (tableClasses === null || tableClasses === void 0 ? void 0 : tableClasses.scrollY));
58560
58728
  var footWrapperClass = classnames_default()(tableClasses === null || tableClasses === void 0 ? void 0 : tableClasses.footWrapper, isScrollY && scrollBarWidth && (tableClasses === null || tableClasses === void 0 ? void 0 : tableClasses.scrollY));
58561
- if (isRenderBaseTable) {
58562
- return /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
58563
- ref: scrollRef,
58564
- className: tableClasses === null || tableClasses === void 0 ? void 0 : tableClasses.bodyWrapper,
58565
- onScroll: handleBodyScroll,
58566
- children: /*#__PURE__*/(0,jsx_runtime.jsxs)("table", {
58729
+ var renderHeadMirrorScroller = function renderHeadMirrorScroller() {
58730
+ var _scrollRef$current, _scrollRef$current2, _scrollRef$current3;
58731
+ if (!props.showTopScrollbar) return null;
58732
+ var scrollRefWidth = (scrollRef === null || scrollRef === void 0 || (_scrollRef$current = scrollRef.current) === null || _scrollRef$current === void 0 ? void 0 : _scrollRef$current.clientWidth) || 0;
58733
+ var scrollRefScrollWidth = (scrollRef === null || scrollRef === void 0 || (_scrollRef$current2 = scrollRef.current) === null || _scrollRef$current2 === void 0 ? void 0 : _scrollRef$current2.scrollWidth) || 0;
58734
+ var mirrorScrollRefWidth = scrollRefWidth + scrollBarWidth;
58735
+ var showScroll = scrollRefScrollWidth > scrollRefWidth;
58736
+ // 开启了双滚,但是没有滚动条,不显示
58737
+ if (!scrollRefWidth || !mirrorScrollRefWidth || !showScroll) return null;
58738
+ var scrollerStickyProps = objectSpread2_default()(objectSpread2_default()({}, stickyProps), {}, {
58739
+ top: ((sticky === null || sticky === void 0 ? void 0 : sticky.top) || browserScrollbarWidth) - browserScrollbarWidth
58740
+ });
58741
+ return /*#__PURE__*/(0,jsx_runtime.jsx)(StickyWrapper, objectSpread2_default()(objectSpread2_default()({}, props.sticky ? scrollerStickyProps : {}), {}, {
58742
+ style: {
58743
+ zIndex: defaultZIndex + 1
58744
+ },
58745
+ children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
58746
+ className: tableClasses === null || tableClasses === void 0 ? void 0 : tableClasses.headMirrorScroller,
58567
58747
  style: {
58568
- width: width
58748
+ height: browserScrollbarWidth,
58749
+ width: mirrorScrollRefWidth
58569
58750
  },
58570
- ref: tbodyRef,
58571
- children: [Group, !props.hideHeader && /*#__PURE__*/(0,jsx_runtime.jsx)(thead, objectSpread2_default()({}, headCommonProps)), /*#__PURE__*/(0,jsx_runtime.jsx)(tbody, objectSpread2_default()({}, bodyCommonProps)), /*#__PURE__*/(0,jsx_runtime.jsx)(tfoot, objectSpread2_default()({}, footCommonProps))]
58751
+ onScroll: function onScroll(e) {
58752
+ var target = e.currentTarget;
58753
+ if (scrollRef !== null && scrollRef !== void 0 && scrollRef.current && scrollRef.current.scrollLeft !== target.scrollLeft) {
58754
+ scrollRef.current.scrollLeft = target.scrollLeft;
58755
+ }
58756
+ },
58757
+ ref: mirrorScrollRef,
58758
+ children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
58759
+ style: {
58760
+ width: scrollRef === null || scrollRef === void 0 || (_scrollRef$current3 = scrollRef.current) === null || _scrollRef$current3 === void 0 ? void 0 : _scrollRef$current3.scrollWidth,
58761
+ height: 1
58762
+ }
58763
+ })
58572
58764
  })
58573
- });
58574
- }
58575
- return /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, {
58576
- children: [!props.hideHeader && /*#__PURE__*/(0,jsx_runtime.jsx)(Wrapper, objectSpread2_default()(objectSpread2_default()({}, props.sticky ? stickyProps : {}), {}, {
58577
- children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
58578
- className: headWrapperClass,
58765
+ }));
58766
+ };
58767
+ if (isRenderVirtualTable) {
58768
+ var _props$data3;
58769
+ return /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, {
58770
+ children: [renderHeadMirrorScroller(), !props.hideHeader && /*#__PURE__*/(0,jsx_runtime.jsx)(StickyWrapper, objectSpread2_default()(objectSpread2_default()({}, props.sticky ? stickyProps : {}), {}, {
58771
+ children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
58772
+ className: headWrapperClass,
58773
+ children: /*#__PURE__*/(0,jsx_runtime.jsxs)("table", {
58774
+ style: {
58775
+ width: width,
58776
+ transform: "translate3d(".concat(0 - virtualInfo.innerLeft, "px, 0, 0)")
58777
+ },
58778
+ ref: theadRef,
58779
+ children: [Group, /*#__PURE__*/(0,jsx_runtime.jsx)(thead, objectSpread2_default()(objectSpread2_default()({}, headCommonProps), {}, {
58780
+ fixLeftNum: virtualInfo.innerLeft,
58781
+ fixRightNum: fixRightNum
58782
+ }))]
58783
+ })
58784
+ })
58785
+ })), /*#__PURE__*/(0,jsx_runtime.jsx)(virtual_scroll_scroll, {
58786
+ style: scrollWrapperStyle,
58787
+ scrollerStyle: (_props$data3 = props.data) !== null && _props$data3 !== void 0 && _props$data3.length ? virtualScrollerStyle : table_emptyStyle,
58788
+ wrapperRef: scrollRef,
58789
+ scrollWidth: width || 1,
58790
+ scrollHeight: virtual ? virtualInfo.scrollHeight : tbodyHeight,
58791
+ onScroll: handleVirtualScroll,
58792
+ defaultHeight: context.emptyHeight,
58793
+ isScrollY: isScrollY,
58579
58794
  children: /*#__PURE__*/(0,jsx_runtime.jsxs)("table", {
58580
58795
  style: {
58581
58796
  width: width,
58582
- transform: "translate3d(".concat(0 - virtualInfo.innerLeft, "px, 0, 0)")
58797
+ transform: virtualInfo.getTranslate()
58583
58798
  },
58584
- ref: theadRef,
58585
- children: [Group, /*#__PURE__*/(0,jsx_runtime.jsx)(thead, objectSpread2_default()(objectSpread2_default()({}, headCommonProps), {}, {
58799
+ ref: tbodyRef,
58800
+ children: [Group, /*#__PURE__*/(0,jsx_runtime.jsx)(tbody, objectSpread2_default()(objectSpread2_default()({}, bodyCommonProps), {}, {
58801
+ currentIndex: virtualInfo.startIndex,
58802
+ data: virtualInfo.data,
58803
+ setRowHeight: virtualInfo.setRowHeight,
58586
58804
  fixLeftNum: virtualInfo.innerLeft,
58587
58805
  fixRightNum: fixRightNum
58588
58806
  }))]
58589
58807
  })
58590
- })
58591
- })), /*#__PURE__*/(0,jsx_runtime.jsx)(virtual_scroll_scroll, {
58592
- style: scrollWrapperStyle,
58593
- scrollerStyle: (_props$data4 = props.data) !== null && _props$data4 !== void 0 && _props$data4.length ? virtualScrollerStyle : table_emptyStyle,
58594
- wrapperRef: scrollRef,
58595
- scrollWidth: width || 1,
58596
- scrollHeight: virtual ? virtualInfo.scrollHeight : tbodyHeight,
58597
- onScroll: handleVirtualScroll,
58598
- defaultHeight: context.emptyHeight,
58599
- isScrollY: isScrollY,
58600
- children: /*#__PURE__*/(0,jsx_runtime.jsxs)("table", {
58808
+ }), renderEmpty(), showFoot ? /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
58809
+ className: footWrapperClass,
58810
+ children: /*#__PURE__*/(0,jsx_runtime.jsxs)("table", {
58811
+ style: {
58812
+ width: width,
58813
+ transform: "translate3d(-".concat(virtualInfo.innerLeft, "px, 0, 0)")
58814
+ },
58815
+ ref: tfootRef,
58816
+ children: [Group, /*#__PURE__*/(0,jsx_runtime.jsx)(tfoot, objectSpread2_default()(objectSpread2_default()({}, footCommonProps), {}, {
58817
+ fixLeftNum: virtualInfo.innerLeft,
58818
+ fixRightNum: fixRightNum
58819
+ }))]
58820
+ })
58821
+ }) : null]
58822
+ });
58823
+ }
58824
+ return /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, {
58825
+ children: [renderHeadMirrorScroller(), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
58826
+ ref: scrollRef,
58827
+ className: tableClasses === null || tableClasses === void 0 ? void 0 : tableClasses.bodyWrapper,
58828
+ onScroll: handleBodyScroll,
58829
+ children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("table", {
58601
58830
  style: {
58602
- width: width,
58603
- transform: virtualInfo.getTranslate()
58831
+ width: width
58604
58832
  },
58605
58833
  ref: tbodyRef,
58606
- children: [Group, /*#__PURE__*/(0,jsx_runtime.jsx)(tbody, objectSpread2_default()(objectSpread2_default()({}, bodyCommonProps), {}, {
58607
- currentIndex: virtualInfo.startIndex,
58608
- data: virtualInfo.data,
58609
- setRowHeight: virtualInfo.setRowHeight,
58610
- fixLeftNum: virtualInfo.innerLeft,
58611
- fixRightNum: fixRightNum
58612
- }))]
58613
- })
58614
- }), renderEmpty(), showFoot ? /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
58615
- className: footWrapperClass,
58616
- children: /*#__PURE__*/(0,jsx_runtime.jsxs)("table", {
58617
- style: {
58618
- width: width,
58619
- transform: "translate3d(-".concat(virtualInfo.innerLeft, "px, 0, 0)")
58620
- },
58621
- ref: tfootRef,
58622
- children: [Group, /*#__PURE__*/(0,jsx_runtime.jsx)(tfoot, objectSpread2_default()(objectSpread2_default()({}, footCommonProps), {}, {
58623
- fixLeftNum: virtualInfo.innerLeft,
58624
- fixRightNum: fixRightNum
58625
- }))]
58626
- })
58627
- }) : null]
58834
+ children: [Group, !props.hideHeader && /*#__PURE__*/(0,jsx_runtime.jsx)(thead, objectSpread2_default()({}, headCommonProps)), /*#__PURE__*/(0,jsx_runtime.jsx)(tbody, objectSpread2_default()({}, bodyCommonProps)), /*#__PURE__*/(0,jsx_runtime.jsx)(tfoot, objectSpread2_default()({}, footCommonProps))]
58835
+ }), renderEmpty()]
58836
+ })]
58628
58837
  });
58629
58838
  };
58630
58839
  var renderLoading = function renderLoading() {
@@ -58957,13 +59166,17 @@ var useTransform = function useTransform(props) {
58957
59166
  setAtStart(true);
58958
59167
  }
58959
59168
  var removeWheelListener;
59169
+ var removeScrollerListener;
58960
59170
  if (autoScroll) {
58961
59171
  var removeMouse = shouldScroll ? banOverScrollx(container) : null;
58962
59172
  removeWheelListener = addResizeObserver(container, handleResize);
59173
+ // 同时需要监听tabs-header-scroll的resize事件,防止tabs-header-scroll的宽度变化后不出现左右箭头的问题
59174
+ removeScrollerListener = addResizeObserver(target, handleResize);
58963
59175
  return function () {
58964
- var _removeWheelListener;
59176
+ var _removeWheelListener, _removeScrollerListen;
58965
59177
  removeMouse === null || removeMouse === void 0 || removeMouse();
58966
59178
  (_removeWheelListener = removeWheelListener) === null || _removeWheelListener === void 0 || _removeWheelListener();
59179
+ (_removeScrollerListen = removeScrollerListener) === null || _removeScrollerListen === void 0 || _removeScrollerListen();
58967
59180
  };
58968
59181
  }
58969
59182
  }, [containerRef.current, targetRef.current, shouldScroll]);
@@ -59157,7 +59370,6 @@ var TabsHeader = function TabsHeader(props) {
59157
59370
  handleTransform = _useTransform.handleTransform,
59158
59371
  setTransform = _useTransform.setTransform;
59159
59372
  var headerStyle = (jssStyle === null || jssStyle === void 0 || (_jssStyle$tabs = jssStyle.tabs) === null || _jssStyle$tabs === void 0 ? void 0 : _jssStyle$tabs.call(jssStyle)) || {};
59160
- var headerClass = classnames_default()(headerStyle.header, {});
59161
59373
  var headerWrapperClass = classnames_default()(headerStyle.headerWrapper, {});
59162
59374
  var buttonStyle = (jssStyle === null || jssStyle === void 0 ? void 0 : jssStyle.button) || {};
59163
59375
  var calculateOffset = function calculateOffset(currentScrollOffsetStartValue, width, currentOffsetStartValue, currentOffsetEndOther, parentWidth) {
@@ -59230,12 +59442,13 @@ var TabsHeader = function TabsHeader(props) {
59230
59442
  });
59231
59443
  };
59232
59444
  var renderTab = function renderTab() {
59445
+ var headerClass = classnames_default()(headerStyle.header, shape === 'card' ? headerStyle.cardHr : '');
59233
59446
  return /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
59234
59447
  ref: headerRef,
59235
59448
  className: headerClass,
59236
59449
  children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
59237
59450
  ref: scrollRef,
59238
- className: classnames_default()(headerStyle.headerScroll, shape === 'card' ? headerStyle.cardHr : ''),
59451
+ className: headerStyle.headerScroll,
59239
59452
  onWheel: handleTransform,
59240
59453
  style: transformStyle,
59241
59454
  children: [shape === 'button' && /*#__PURE__*/(0,jsx_runtime.jsx)(base_src_button_button.Group, {
@@ -60810,6 +61023,7 @@ var TreeSelect = function TreeSelect(props0) {
60810
61023
  childrenKey: childrenKey,
60811
61024
  expanded: expandedProp,
60812
61025
  showHitDescendants: showHitDescendants,
61026
+ filterDelay: props.filterDelay,
60813
61027
  onAdvancedFilter: 'onAdvancedFilter' in props,
60814
61028
  onFilter: onAdvancedFilter || onFilterProp
60815
61029
  }),
@@ -64864,7 +65078,7 @@ var upload_interface = __webpack_require__(8821);
64864
65078
 
64865
65079
 
64866
65080
  /* harmony default export */ var src_0 = ({
64867
- version: '3.4.0-beta.9'
65081
+ version: '3.4.1'
64868
65082
  });
64869
65083
  }();
64870
65084
  /******/ return __webpack_exports__;