funda-ui 4.7.711 → 4.7.730

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 (37) hide show
  1. package/DragDropList/index.d.ts +1 -0
  2. package/DragDropList/index.js +143 -52
  3. package/DynamicFields/index.d.ts +1 -0
  4. package/DynamicFields/index.js +108 -8
  5. package/EventCalendarTimeline/index.css +12 -1
  6. package/EventCalendarTimeline/index.d.ts +1 -0
  7. package/EventCalendarTimeline/index.js +99 -6
  8. package/MultipleSelect/index.js +162 -71
  9. package/Table/index.css +5 -1
  10. package/Table/index.js +410 -90
  11. package/Utils/useBoundedDrag.d.ts +1 -0
  12. package/Utils/useBoundedDrag.js +124 -39
  13. package/lib/cjs/DragDropList/index.d.ts +1 -0
  14. package/lib/cjs/DragDropList/index.js +143 -52
  15. package/lib/cjs/DynamicFields/index.d.ts +1 -0
  16. package/lib/cjs/DynamicFields/index.js +108 -8
  17. package/lib/cjs/EventCalendarTimeline/index.d.ts +1 -0
  18. package/lib/cjs/EventCalendarTimeline/index.js +99 -6
  19. package/lib/cjs/MultipleSelect/index.js +162 -71
  20. package/lib/cjs/Table/index.js +410 -90
  21. package/lib/cjs/Utils/useBoundedDrag.d.ts +1 -0
  22. package/lib/cjs/Utils/useBoundedDrag.js +124 -39
  23. package/lib/css/EventCalendarTimeline/index.css +12 -1
  24. package/lib/css/Table/index.css +5 -1
  25. package/lib/esm/DragDropList/index.tsx +23 -16
  26. package/lib/esm/DynamicFields/index.tsx +107 -8
  27. package/lib/esm/EventCalendarTimeline/index.scss +15 -1
  28. package/lib/esm/EventCalendarTimeline/index.tsx +130 -11
  29. package/lib/esm/ModalDialog/index.tsx +0 -1
  30. package/lib/esm/Table/Table.tsx +9 -7
  31. package/lib/esm/Table/TableRow.tsx +9 -3
  32. package/lib/esm/Table/index.scss +8 -2
  33. package/lib/esm/Table/utils/DragHandleSprite.tsx +6 -2
  34. package/lib/esm/Table/utils/func.ts +12 -1
  35. package/lib/esm/Table/utils/hooks/useTableDraggable.tsx +401 -93
  36. package/lib/esm/Utils/hooks/useBoundedDrag.tsx +142 -39
  37. package/package.json +1 -1
@@ -495,7 +495,7 @@ __webpack_require__.r(__webpack_exports__);
495
495
  /* harmony import */ var funda_utils_dist_cjs_useComId__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(funda_utils_dist_cjs_useComId__WEBPACK_IMPORTED_MODULE_1__);
496
496
  /* harmony import */ var funda_utils_dist_cjs_cls__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(188);
497
497
  /* harmony import */ var funda_utils_dist_cjs_cls__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(funda_utils_dist_cjs_cls__WEBPACK_IMPORTED_MODULE_2__);
498
- var _excluded = ["contentRef", "wrapperClassName", "btnAddWrapperClassName", "btnRemoveWrapperClassName", "label", "data", "maxFields", "iconAddBefore", "iconAddAfter", "iconAdd", "iconAddPosition", "iconRemove", "doNotRemoveDom", "id", "confirmText", "innerAppendClassName", "innerAppendCellClassName", "innerAppendLastCellClassName", "innerAppendHideClassName", "innerAppendBodyClassName", "innerAppendHeadData", "innerAppendHeadRowShowFirst", "innerAppendHeadRowClassName", "innerAppendHeadCellClassName", "innerAppendHeadCellStyles", "innerAppendEmptyContent", "onAdd", "onRemove", "onLoad"];
498
+ var _excluded = ["contentRef", "wrapperClassName", "btnAddWrapperClassName", "btnRemoveWrapperClassName", "label", "data", "maxFields", "defaultRows", "iconAddBefore", "iconAddAfter", "iconAdd", "iconAddPosition", "iconRemove", "doNotRemoveDom", "id", "confirmText", "innerAppendClassName", "innerAppendCellClassName", "innerAppendLastCellClassName", "innerAppendHideClassName", "innerAppendBodyClassName", "innerAppendHeadData", "innerAppendHeadRowShowFirst", "innerAppendHeadRowClassName", "innerAppendHeadCellClassName", "innerAppendHeadCellStyles", "innerAppendEmptyContent", "onAdd", "onRemove", "onLoad"];
499
499
  function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
500
500
  function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
501
501
  function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
@@ -520,6 +520,7 @@ var DynamicFields = function DynamicFields(props) {
520
520
  label = props.label,
521
521
  data = props.data,
522
522
  maxFields = props.maxFields,
523
+ defaultRows = props.defaultRows,
523
524
  iconAddBefore = props.iconAddBefore,
524
525
  iconAddAfter = props.iconAddAfter,
525
526
  iconAdd = props.iconAdd,
@@ -564,6 +565,10 @@ var DynamicFields = function DynamicFields(props) {
564
565
  setTmpl = _useState4[1];
565
566
  var addBtnIdRef = (0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)('');
566
567
  addBtnIdRef.current = "dynamic-fields-add-".concat(idRes);
568
+ var defaultRowsInitializedRef = (0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)(false);
569
+ var isInitializingDefaultRowsRef = (0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)(false);
570
+ var rafIdRef = (0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)(null);
571
+ var timeoutIdsRef = (0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)([]);
567
572
 
568
573
  // exposes the following methods
569
574
  (0,react__WEBPACK_IMPORTED_MODULE_0__.useImperativeHandle)(contentRef, function () {
@@ -629,18 +634,13 @@ var DynamicFields = function DynamicFields(props) {
629
634
  addBtnRef.current.style.setProperty('display', 'none', 'important');
630
635
  }
631
636
  }
632
- function handleClickAdd() {
633
- var event = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;
634
- if (event !== null) {
635
- if (typeof event !== 'undefined') event.preventDefault();
636
- }
637
-
637
+ function addRowWithTemplate(template) {
638
638
  //button status
639
639
  checkMaxStatus();
640
640
 
641
641
  //
642
642
  setVal(function (prevState) {
643
- return [].concat(_toConsumableArray(prevState), _toConsumableArray(generateGroup(tmpl)));
643
+ return [].concat(_toConsumableArray(prevState), _toConsumableArray(generateGroup(template)));
644
644
  });
645
645
 
646
646
  //
@@ -667,6 +667,13 @@ var DynamicFields = function DynamicFields(props) {
667
667
  onAdd === null || onAdd === void 0 ? void 0 : onAdd(perRow, rootRef.current, addBtnRef.current, PER_ROW_DOM_STRING);
668
668
  }, 0);
669
669
  }
670
+ function handleClickAdd() {
671
+ var event = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;
672
+ if (event !== null) {
673
+ if (typeof event !== 'undefined') event.preventDefault();
674
+ }
675
+ addRowWithTemplate(tmpl);
676
+ }
670
677
  function handleClickRemove(e) {
671
678
  if (e !== null && typeof e !== 'undefined') e.preventDefault();
672
679
  var $target = e.currentTarget.closest('.dynamic-fields__data__wrapper');
@@ -778,6 +785,99 @@ var DynamicFields = function DynamicFields(props) {
778
785
 
779
786
  //
780
787
  onLoad === null || onLoad === void 0 ? void 0 : onLoad(addBtnIdRef.current, rootRef.current, PER_ROW_DOM_STRING);
788
+
789
+ // Reset initialization flag when data becomes null
790
+ if (!data) {
791
+ defaultRowsInitializedRef.current = false;
792
+ isInitializingDefaultRowsRef.current = false;
793
+ }
794
+
795
+ // Add default rows if specified (only initialize once per data setup)
796
+ if (!defaultRowsInitializedRef.current && typeof defaultRows === 'number' && defaultRows > 0 && data && data.tmpl) {
797
+ // Get the initial data length
798
+ var initDataLength = Array.isArray(data.init) ? data.init.length : 0;
799
+
800
+ // Calculate how many rows need to be added
801
+ var maxRows = typeof maxFields !== 'undefined' ? parseFloat(maxFields) : Infinity;
802
+ var targetRows = Math.min(defaultRows, maxRows);
803
+ var rowsToAdd = Math.max(0, targetRows - initDataLength);
804
+
805
+ // Mark as initialized immediately to prevent re-adding
806
+ defaultRowsInitializedRef.current = true;
807
+
808
+ // Only add rows if needed
809
+ if (rowsToAdd > 0) {
810
+ // Mark that we're initializing default rows
811
+ isInitializingDefaultRowsRef.current = true;
812
+
813
+ // Clear any existing timeouts
814
+ timeoutIdsRef.current.forEach(function (id) {
815
+ return clearTimeout(id);
816
+ });
817
+ timeoutIdsRef.current = [];
818
+
819
+ // Use requestAnimationFrame to ensure DOM is ready and state is updated
820
+ rafIdRef.current = requestAnimationFrame(function () {
821
+ // Check if component is still mounted
822
+ if (!rootRef.current) {
823
+ isInitializingDefaultRowsRef.current = false;
824
+ return;
825
+ }
826
+ var timeoutId1 = setTimeout(function () {
827
+ // Check if component is still mounted
828
+ if (!rootRef.current) {
829
+ isInitializingDefaultRowsRef.current = false;
830
+ return;
831
+ }
832
+
833
+ // Add rows one by one with a small delay to ensure state updates
834
+ var addedCount = 0;
835
+ var addNextRow = function addNextRow() {
836
+ // Check if component is still mounted before each operation
837
+ if (addedCount < rowsToAdd && rootRef.current) {
838
+ // Use data.tmpl directly to avoid dependency on state
839
+ addRowWithTemplate(data.tmpl);
840
+ addedCount++;
841
+ // Wait a bit before adding the next row to ensure state updates
842
+ if (addedCount < rowsToAdd) {
843
+ var timeoutId2 = setTimeout(addNextRow, 10);
844
+ timeoutIdsRef.current.push(timeoutId2);
845
+ } else {
846
+ // All rows added, mark initialization as complete
847
+ isInitializingDefaultRowsRef.current = false;
848
+ }
849
+ } else {
850
+ // No more rows to add or component unmounted
851
+ isInitializingDefaultRowsRef.current = false;
852
+ }
853
+ };
854
+ addNextRow();
855
+ }, 50);
856
+ timeoutIdsRef.current.push(timeoutId1);
857
+ });
858
+ }
859
+ }
860
+
861
+ // Cleanup function to cancel requestAnimationFrame and timeouts
862
+ return function () {
863
+ // Don't cleanup if we're in the middle of initializing defaultRows
864
+ // This prevents the cleanup from canceling the async operations before they complete
865
+ if (isInitializingDefaultRowsRef.current) {
866
+ // Allow defaultRows initialization to complete
867
+ // The cleanup will happen naturally when initialization finishes
868
+ return;
869
+ }
870
+
871
+ // Normal cleanup for other cases
872
+ if (rafIdRef.current !== null) {
873
+ cancelAnimationFrame(rafIdRef.current);
874
+ rafIdRef.current = null;
875
+ }
876
+ timeoutIdsRef.current.forEach(function (id) {
877
+ return clearTimeout(id);
878
+ });
879
+ timeoutIdsRef.current = [];
880
+ };
781
881
  }, [data]);
782
882
  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement((react__WEBPACK_IMPORTED_MODULE_0___default().Fragment), null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("div", {
783
883
  className: (0,funda_utils_dist_cjs_cls__WEBPACK_IMPORTED_MODULE_2__.clsWrite)(wrapperClassName, 'mb-3 position-relative'),
@@ -60,6 +60,7 @@ export declare type EventCalendarTimelineProps = {
60
60
  onChangeWeek?: (startDate: string, endDate: string) => void;
61
61
  onListRenderComplete?: () => void;
62
62
  onChangeAppearanceMode?: (mode: string) => void;
63
+ enableHeaderResize?: boolean;
63
64
  modalMaskOpacity?: string;
64
65
  modalMaxWidth?: number | string;
65
66
  modalMinHeight?: number | string;
@@ -3986,6 +3986,7 @@ var EventCalendarTimeline = function EventCalendarTimeline(props) {
3986
3986
  onChangeWeek = props.onChangeWeek,
3987
3987
  onListRenderComplete = props.onListRenderComplete,
3988
3988
  onChangeAppearanceMode = props.onChangeAppearanceMode,
3989
+ enableHeaderResize = props.enableHeaderResize,
3989
3990
  modalMaskOpacity = props.modalMaskOpacity,
3990
3991
  modalMaxWidth = props.modalMaxWidth,
3991
3992
  modalMinHeight = props.modalMinHeight,
@@ -4117,12 +4118,18 @@ var EventCalendarTimeline = function EventCalendarTimeline(props) {
4117
4118
  var AUTO_SCROLL = autoScroll || false;
4118
4119
  var HEADER_SHOW_WEEK = headerShowWeek || false;
4119
4120
  var BODY_DRAG = draggable || false;
4121
+ var ENABLE_HEADER_RESIZE = enableHeaderResize || false;
4120
4122
  var tableGridRef = (0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)(null);
4121
4123
  var tableGridHeaderRef = (0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)(null);
4122
4124
  var scrollHeaderRef = (0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)(null);
4123
4125
  var scrollBodyRef = (0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)(null);
4124
4126
  var scrollListRef = (0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)(null);
4125
4127
 
4128
+ // header resize drag
4129
+ var isResizingRef = (0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)(false);
4130
+ var resizeStartXRef = (0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)(0);
4131
+ var resizeStartWidthRef = (0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)(0);
4132
+
4126
4133
  // Temporary date
4127
4134
  var _useState27 = (0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(''),
4128
4135
  _useState28 = _slicedToArray(_useState27, 2),
@@ -5783,10 +5790,7 @@ var EventCalendarTimeline = function EventCalendarTimeline(props) {
5783
5790
  }
5784
5791
  }
5785
5792
 
5786
- // ================================================================
5787
- //
5788
- // ================================================================
5789
- //if user change the selectedYear, then udate the years array that is displayed on year tab view
5793
+ // if user change the selectedYear, then udate the years array that is displayed on year tab view
5790
5794
  (0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(function () {
5791
5795
  var years = [];
5792
5796
  for (var y = selectedYear - 10; y < selectedYear + 10; y++) {
@@ -5840,6 +5844,83 @@ var EventCalendarTimeline = function EventCalendarTimeline(props) {
5840
5844
  setCopiedCells(null);
5841
5845
  };
5842
5846
  }, []);
5847
+
5848
+ // ================================================================
5849
+ // Handle header resize drag
5850
+ // ================================================================
5851
+ var handleHeaderResizeMove = (0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)(function (e) {
5852
+ var _e$touches$;
5853
+ if (!isResizingRef.current || !tableGridRef.current) return;
5854
+ var tableGridEl = tableGridRef.current;
5855
+ // Find the header title element that should have the CSS variable
5856
+ var headerTitleEl = tableGridEl.querySelector('.custom-event-tl-table__cell-cushion-headertitle');
5857
+ if (!headerTitleEl) return;
5858
+
5859
+ // Get clientX from either MouseEvent or TouchEvent
5860
+ var clientX = 'touches' in e ? (_e$touches$ = e.touches[0]) === null || _e$touches$ === void 0 ? void 0 : _e$touches$.clientX : e.clientX;
5861
+ if (clientX === undefined) return;
5862
+ var deltaX = clientX - resizeStartXRef.current;
5863
+ var newWidth = Math.max(100, resizeStartWidthRef.current + deltaX); // Minimum width 100px
5864
+
5865
+ // Update CSS variable on the header title element
5866
+ headerTitleEl.style.setProperty('--custom-event-tl-table-header-w', "".concat(newWidth, "px"));
5867
+ }, []);
5868
+ var handleHeaderResizeEnd = (0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)(function () {
5869
+ if (!isResizingRef.current) return;
5870
+ isResizingRef.current = false;
5871
+ document.removeEventListener('mousemove', handleHeaderResizeMove);
5872
+ document.removeEventListener('mouseup', handleHeaderResizeEnd);
5873
+ document.removeEventListener('touchmove', handleHeaderResizeMove);
5874
+ document.removeEventListener('touchend', handleHeaderResizeEnd);
5875
+
5876
+ // Recalculate table grid after resize
5877
+ if (tableGridRef.current) {
5878
+ tableGridInit();
5879
+ }
5880
+ }, [handleHeaderResizeMove]);
5881
+ var handleHeaderResizeStart = (0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)(function (e) {
5882
+ if (!ENABLE_HEADER_RESIZE || !tableGridRef.current) return;
5883
+ e.preventDefault();
5884
+ e.stopPropagation();
5885
+ isResizingRef.current = true;
5886
+ resizeStartXRef.current = e.clientX;
5887
+ var tableGridEl = tableGridRef.current;
5888
+ var headerTitleEl = tableGridEl.querySelector('.custom-event-tl-table__cell-cushion-headertitle');
5889
+ if (headerTitleEl) {
5890
+ resizeStartWidthRef.current = headerTitleEl.clientWidth;
5891
+ }
5892
+ document.addEventListener('mousemove', handleHeaderResizeMove);
5893
+ document.addEventListener('mouseup', handleHeaderResizeEnd);
5894
+ }, [ENABLE_HEADER_RESIZE, handleHeaderResizeMove, handleHeaderResizeEnd]);
5895
+ var handleHeaderResizeTouchStart = (0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)(function (e) {
5896
+ if (!ENABLE_HEADER_RESIZE || !tableGridRef.current) return;
5897
+ e.preventDefault();
5898
+ e.stopPropagation();
5899
+ isResizingRef.current = true;
5900
+ var touch = e.touches[0];
5901
+ if (touch) {
5902
+ resizeStartXRef.current = touch.clientX;
5903
+ }
5904
+ var tableGridEl = tableGridRef.current;
5905
+ var headerTitleEl = tableGridEl.querySelector('.custom-event-tl-table__cell-cushion-headertitle');
5906
+ if (headerTitleEl) {
5907
+ resizeStartWidthRef.current = headerTitleEl.clientWidth;
5908
+ }
5909
+ document.addEventListener('touchmove', handleHeaderResizeMove, {
5910
+ passive: false
5911
+ });
5912
+ document.addEventListener('touchend', handleHeaderResizeEnd);
5913
+ }, [ENABLE_HEADER_RESIZE, handleHeaderResizeMove, handleHeaderResizeEnd]);
5914
+
5915
+ // Cleanup on unmount
5916
+ (0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(function () {
5917
+ return function () {
5918
+ document.removeEventListener('mousemove', handleHeaderResizeMove);
5919
+ document.removeEventListener('mouseup', handleHeaderResizeEnd);
5920
+ document.removeEventListener('touchmove', handleHeaderResizeMove);
5921
+ document.removeEventListener('touchend', handleHeaderResizeEnd);
5922
+ };
5923
+ }, [handleHeaderResizeMove, handleHeaderResizeEnd]);
5843
5924
  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement((react__WEBPACK_IMPORTED_MODULE_0___default().Fragment), null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("div", {
5844
5925
  className: (0,funda_utils_dist_cjs_cls__WEBPACK_IMPORTED_MODULE_7__.combinedCls)("custom-event-tl__wrapper custom-event-tl__wrapper--".concat(appearanceMode), calendarWrapperClassName)
5845
5926
  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("div", {
@@ -5985,7 +6066,13 @@ var EventCalendarTimeline = function EventCalendarTimeline(props) {
5985
6066
  className: "custom-event-tl-table__cell-cushion custom-event-tl-table__cell-cushion-headertitle"
5986
6067
  }, tableListSectionTitle || ''))))))), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("th", {
5987
6068
  role: "presentation",
5988
- className: "custom-event-tl-table__timeline-divider"
6069
+ className: (0,funda_utils_dist_cjs_cls__WEBPACK_IMPORTED_MODULE_7__.combinedCls)('custom-event-tl-table__timeline-divider', ENABLE_HEADER_RESIZE ? 'custom-event-tl-table__timeline-divider--resizable' : ''),
6070
+ onMouseDown: ENABLE_HEADER_RESIZE ? handleHeaderResizeStart : undefined,
6071
+ onTouchStart: ENABLE_HEADER_RESIZE ? handleHeaderResizeTouchStart : undefined,
6072
+ style: ENABLE_HEADER_RESIZE ? {
6073
+ cursor: 'col-resize',
6074
+ userSelect: 'none'
6075
+ } : undefined
5989
6076
  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("div", null)), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("th", {
5990
6077
  role: "presentation"
5991
6078
  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("div", {
@@ -6024,7 +6111,13 @@ var EventCalendarTimeline = function EventCalendarTimeline(props) {
6024
6111
  role: "presentation"
6025
6112
  }, generateListSectionUi()))))), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("td", {
6026
6113
  role: "presentation",
6027
- className: (0,funda_utils_dist_cjs_cls__WEBPACK_IMPORTED_MODULE_7__.combinedCls)('custom-event-tl-table__timeline-divider', tableListDividerClassName)
6114
+ className: (0,funda_utils_dist_cjs_cls__WEBPACK_IMPORTED_MODULE_7__.combinedCls)('custom-event-tl-table__timeline-divider', tableListDividerClassName, ENABLE_HEADER_RESIZE ? 'custom-event-tl-table__timeline-divider--resizable' : ''),
6115
+ onMouseDown: ENABLE_HEADER_RESIZE ? handleHeaderResizeStart : undefined,
6116
+ onTouchStart: ENABLE_HEADER_RESIZE ? handleHeaderResizeTouchStart : undefined,
6117
+ style: ENABLE_HEADER_RESIZE ? {
6118
+ cursor: 'col-resize',
6119
+ userSelect: 'none'
6120
+ } : undefined
6028
6121
  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("div", null)), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("td", {
6029
6122
  role: "presentation",
6030
6123
  className: (0,funda_utils_dist_cjs_cls__WEBPACK_IMPORTED_MODULE_7__.combinedCls)(tableListEndClassName)