@infinite-table/infinite-react 6.1.1-canary.0 → 6.2.0

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/index.dev.mjs CHANGED
@@ -1186,7 +1186,7 @@ function SpacePlaceholderFn(props) {
1186
1186
  var SpacePlaceholder = React6.memo(SpacePlaceholderFn);
1187
1187
 
1188
1188
  // src/components/VirtualList/VirtualList.css.ts
1189
- var scrollTransformTargetCls = "VirtualList_scrollTransformTarget__mlx2t3";
1189
+ var scrollTransformTargetCls = "mlx2t3";
1190
1190
 
1191
1191
  // src/components/VirtualScrollContainer/index.tsx
1192
1192
  import * as React7 from "react";
@@ -1215,11 +1215,11 @@ var useOnScroll = (domRef, onScroll) => {
1215
1215
  };
1216
1216
 
1217
1217
  // src/components/VirtualScrollContainer/VirtualScrollContainer.css.ts
1218
- var ScrollableCls = { true: "VirtualScrollContainer_getOverflowFor_true__1ueijco2", false: "VirtualScrollContainer_getOverflowFor_false__1ueijco3", visible: "VirtualScrollContainer_getOverflowFor_visible__1ueijco4", auto: "VirtualScrollContainer_getOverflowFor_auto__1ueijco5", hidden: "VirtualScrollContainer_getOverflowFor_hidden__1ueijco6" };
1219
- var ScrollableHorizontalCls = { true: "VirtualScrollContainer_getOverflowFor_true__1ueijco7", false: "VirtualScrollContainer_getOverflowFor_false__1ueijco8", visible: "VirtualScrollContainer_getOverflowFor_visible__1ueijco9", auto: "VirtualScrollContainer_getOverflowFor_auto__1ueijcoa", hidden: "VirtualScrollContainer_getOverflowFor_hidden__1ueijcob" };
1220
- var ScrollableVerticalCls = { true: "VirtualScrollContainer_getOverflowFor_true__1ueijcoc", false: "VirtualScrollContainer_getOverflowFor_false__1ueijcod", visible: "VirtualScrollContainer_getOverflowFor_visible__1ueijcoe", auto: "VirtualScrollContainer_getOverflowFor_auto__1ueijcof", hidden: "VirtualScrollContainer_getOverflowFor_hidden__1ueijcog" };
1221
- var VirtualScrollContainerChildToScrollCls = "VirtualScrollContainer_VirtualScrollContainerChildToScrollCls__1ueijco1";
1222
- var VirtualScrollContainerCls = "VirtualScrollContainer_VirtualScrollContainerCls__1ueijco0 utilities_boxSizingBorderBox__16lm1iw0";
1218
+ var ScrollableCls = { true: "_1ueijco2", false: "_1ueijco3", visible: "_1ueijco4", auto: "_1ueijco5", hidden: "_1ueijco6" };
1219
+ var ScrollableHorizontalCls = { true: "_1ueijco7", false: "_1ueijco8", visible: "_1ueijco9", auto: "_1ueijcoa", hidden: "_1ueijcob" };
1220
+ var ScrollableVerticalCls = { true: "_1ueijcoc", false: "_1ueijcod", visible: "_1ueijcoe", auto: "_1ueijcof", hidden: "_1ueijcog" };
1221
+ var VirtualScrollContainerChildToScrollCls = "_1ueijco1";
1222
+ var VirtualScrollContainerCls = "_1ueijco0 _16lm1iw0";
1223
1223
 
1224
1224
  // src/components/VirtualScrollContainer/getScrollableClassName.ts
1225
1225
  var getScrollableClassName = (scrollable) => {
@@ -1394,7 +1394,7 @@ var internalProps = {
1394
1394
  };
1395
1395
 
1396
1396
  // src/components/InfiniteTable/internalVars.css.ts
1397
- var InternalVars = { currentColumnTransformX: "var(--currentColumnTransformX__16hkbkc0)", y: "var(--y__16hkbkc1)", currentFlashingBackground: "var(--currentFlashingBackground__16hkbkc2)", currentFlashingDuration: "var(--currentFlashingDuration__16hkbkc3)", activeCellRowOffset: "var(--activeCellRowOffset__16hkbkc4)", activeCellRowOffsetX: "var(--activeCellRowOffsetX__16hkbkc5)", activeCellRowHeight: "var(--activeCellRowHeight__16hkbkc6)", activeCellOffsetX: "var(--activeCellOffsetX__16hkbkc7)", activeCellOffsetY: "var(--activeCellOffsetY__16hkbkc8)", scrollTopForActiveRow: "var(--scrollTopForActiveRow__16hkbkc9)", scrollLeftForActiveRowWhenHorizontalLayout: "var(--scrollLeftForActiveRowWhenHorizontalLayout__16hkbkca)", activeCellColWidth: "var(--activeCellColWidth__16hkbkcb)", activeCellColOffset: "var(--activeCellColOffset__16hkbkcc)", columnReorderEffectDurationAtIndex: "var(--columnReorderEffectDurationAtIndex__16hkbkcd)", columnWidthAtIndex: "var(--columnWidthAtIndex__16hkbkce)", columnOffsetAtIndex: "var(--columnOffsetAtIndex__16hkbkcf)", columnOffsetAtIndexWhileReordering: "var(--columnOffsetAtIndexWhileReordering__16hkbkcg)", columnZIndexAtIndex: "var(--columnZIndexAtIndex__16hkbkch)", pinnedStartWidth: "var(--pinnedStartWidth__16hkbkci)", pinnedEndWidth: "var(--pinnedEndWidth__16hkbkcj)", pinnedEndOffset: "var(--pinnedEndOffset__16hkbkck)", computedVisibleColumnsCount: "var(--computedVisibleColumnsCount__16hkbkcl)", baseZIndexForCells: "var(--baseZIndexForCells__16hkbkcm)", bodyWidth: "var(--bodyWidth__16hkbkcn)", bodyHeight: "var(--bodyHeight__16hkbkco)", scrollbarWidthHorizontal: "var(--scrollbarWidthHorizontal__16hkbkcp)", scrollbarWidthVertical: "var(--scrollbarWidthVertical__16hkbkcq)", scrollLeft: "var(--scrollLeft__16hkbkcr)", scrollTop: "var(--scrollTop__16hkbkcs)", virtualScrollLeftOffset: "var(--virtualScrollLeftOffset__16hkbkct)", virtualScrollTopOffset: "var(--virtualScrollTopOffset__16hkbkcu)" };
1397
+ var InternalVars = { currentColumnTransformX: "var(--_16hkbkc0)", y: "var(--_16hkbkc1)", currentFlashingBackground: "var(--_16hkbkc2)", currentFlashingDuration: "var(--_16hkbkc3)", activeCellRowOffset: "var(--_16hkbkc4)", activeCellRowOffsetX: "var(--_16hkbkc5)", activeCellRowHeight: "var(--_16hkbkc6)", activeCellOffsetX: "var(--_16hkbkc7)", activeCellOffsetY: "var(--_16hkbkc8)", scrollTopForActiveRow: "var(--_16hkbkc9)", scrollLeftForActiveRowWhenHorizontalLayout: "var(--_16hkbkca)", activeCellColWidth: "var(--_16hkbkcb)", activeCellColOffset: "var(--_16hkbkcc)", columnReorderEffectDurationAtIndex: "var(--_16hkbkcd)", columnWidthAtIndex: "var(--_16hkbkce)", columnOffsetAtIndex: "var(--_16hkbkcf)", columnOffsetAtIndexWhileReordering: "var(--_16hkbkcg)", columnZIndexAtIndex: "var(--_16hkbkch)", pinnedStartWidth: "var(--_16hkbkci)", pinnedEndWidth: "var(--_16hkbkcj)", pinnedEndOffset: "var(--_16hkbkck)", computedVisibleColumnsCount: "var(--_16hkbkcl)", baseZIndexForCells: "var(--_16hkbkcm)", bodyWidth: "var(--_16hkbkcn)", bodyHeight: "var(--_16hkbkco)", scrollbarWidthHorizontal: "var(--_16hkbkcp)", scrollbarWidthVertical: "var(--_16hkbkcq)", scrollLeft: "var(--_16hkbkcr)", scrollTop: "var(--_16hkbkcs)", virtualScrollLeftOffset: "var(--_16hkbkct)", virtualScrollTopOffset: "var(--_16hkbkcu)" };
1398
1398
 
1399
1399
  // src/components/InfiniteTable/vars.css.ts
1400
1400
  var CSS_LOADED_VALUE = "true";
@@ -5181,11 +5181,11 @@ var createRuntimeFn = (config) => {
5181
5181
  };
5182
5182
 
5183
5183
  // src/components/InfiniteTable/components/ActiveCellIndicator.css.ts
5184
- var ActiveCellIndicatorRecipe = createRuntimeFn({ defaultClassName: "ActiveCellIndicator_ActiveCellIndicator__nxbq1c1 utilities_pointerEvents_none__16lm1iwl utilities_position_absolute__16lm1iw2", variantClassNames: { visible: { true: "ActiveCellIndicator_ActiveCellIndicatorRecipe_visible_true__nxbq1c3", false: "ActiveCellIndicator_ActiveCellIndicatorRecipe_visible_false__nxbq1c4" } }, defaultVariants: {}, compoundVariants: [] });
5185
- var ActiveIndicatorWrapperCls = "ActiveCellIndicator_ActiveIndicatorWrapperCls__nxbq1c0 utilities_pointerEvents_none__16lm1iwl utilities_position_sticky__16lm1iw4 utilities_left_0__16lm1iw1f utilities_top_0__16lm1iw1d utilities_height_0__16lm1iw18 utilities_zIndex_1000000__16lm1iwu";
5184
+ var ActiveCellIndicatorRecipe = createRuntimeFn({ defaultClassName: "nxbq1c1 _16lm1iwl _16lm1iw2", variantClassNames: { visible: { true: "nxbq1c3", false: "nxbq1c4" } }, defaultVariants: {}, compoundVariants: [] });
5185
+ var ActiveIndicatorWrapperCls = "nxbq1c0 _16lm1iwl _16lm1iw4 _16lm1iw1f _16lm1iw1d _16lm1iw18 _16lm1iwu";
5186
5186
 
5187
5187
  // src/components/InfiniteTable/components/ActiveRowIndicator.css.ts
5188
- var ActiveRowIndicatorRecipe = createRuntimeFn({ defaultClassName: "ActiveRowIndicator_ActiveRowIndicator__j26lrx0 utilities_pointerEvents_none__16lm1iwl utilities_position_absolute__16lm1iw2 utilities_top_0__16lm1iw1d utilities_left_0__16lm1iw1f", variantClassNames: { active: { true: "ActiveRowIndicator_ActiveRowIndicatorRecipe_active_true__j26lrx2", false: "ActiveRowIndicator_ActiveRowIndicatorRecipe_active_false__j26lrx3" } }, defaultVariants: {}, compoundVariants: [] });
5188
+ var ActiveRowIndicatorRecipe = createRuntimeFn({ defaultClassName: "j26lrx0 _16lm1iwl _16lm1iw2 _16lm1iw1d _16lm1iw1f", variantClassNames: { active: { true: "j26lrx2", false: "j26lrx3" } }, defaultVariants: {}, compoundVariants: [] });
5189
5189
 
5190
5190
  // src/components/InfiniteTable/components/ActiveRowIndicator.tsx
5191
5191
  var { rootClassName: rootClassName3 } = internalProps;
@@ -5334,12 +5334,12 @@ var ActiveCellIndicator = React13.memo(
5334
5334
  );
5335
5335
 
5336
5336
  // src/components/InfiniteTable/components/cell.css.ts
5337
- var ColumnCellCls = "cell_ColumnCellCls__1eexc2a7 cell_CellCls__1eexc2a6";
5338
- var ColumnCellRecipe = createRuntimeFn({ defaultClassName: "cell_ColumnCellRecipe__1eexc2an", variantClassNames: { dragging: { false: "cell_ColumnCellRecipe_dragging_false__1eexc2ao", true: "cell_ColumnCellRecipe_dragging_true__1eexc2ap" }, insideDisabledDraggingPage: { true: "cell_ColumnCellRecipe_insideDisabledDraggingPage_true__1eexc2aq", false: "cell_ColumnCellRecipe_insideDisabledDraggingPage_false__1eexc2ar" }, cellSelected: { false: "cell_ColumnCellRecipe_cellSelected_false__1eexc2as", true: "cell_ColumnCellRecipe_cellSelected_true__1eexc2at" }, treeNode: { parent: "cell_ColumnCellRecipe_treeNode_parent__1eexc2au", leaf: "cell_ColumnCellRecipe_treeNode_leaf__1eexc2av", false: "cell_ColumnCellRecipe_treeNode_false__1eexc2aw" }, align: { start: "cell_ColumnCellRecipe_align_start__1eexc2ax", end: "cell_ColumnCellRecipe_align_end__1eexc2ay", center: "cell_ColumnCellRecipe_align_center__1eexc2az" }, verticalAlign: { start: "cell_ColumnCellRecipe_verticalAlign_start__1eexc2a10", end: "cell_ColumnCellRecipe_verticalAlign_end__1eexc2a11", center: "cell_ColumnCellRecipe_verticalAlign_center__1eexc2a12" }, rowActive: { false: "cell_ColumnCellRecipe_rowActive_false__1eexc2a13", true: "cell_ColumnCellRecipe_rowActive_true__1eexc2a14" }, groupRow: { false: "cell_ColumnCellRecipe_groupRow_false__1eexc2a15", true: "cell_ColumnCellRecipe_groupRow_true__1eexc2a16" }, groupCell: { false: "cell_ColumnCellRecipe_groupCell_false__1eexc2a17", true: "cell_ColumnCellRecipe_groupCell_true__1eexc2a18" }, rowDisabled: { false: "cell_ColumnCellRecipe_rowDisabled_false__1eexc2a19", true: "cell_ColumnCellRecipe_rowDisabled_true__1eexc2a1a" }, zebra: { false: "cell_ColumnCellRecipe_zebra_false__1eexc2a1b", even: "cell_ColumnCellRecipe_zebra_even__1eexc2a1c", odd: "cell_ColumnCellRecipe_zebra_odd__1eexc2a1d" }, rowSelected: { true: "cell_ColumnCellRecipe_rowSelected_true__1eexc2a1e", false: "cell_ColumnCellRecipe_rowSelected_false__1eexc2a1f", null: "cell_ColumnCellRecipe_rowSelected_null__1eexc2a1g" }, first: { true: "cell_ColumnCellRecipe_first_true__1eexc2a1h", false: "cell_ColumnCellRecipe_first_false__1eexc2a1i" }, last: { true: "cell_ColumnCellRecipe_last_true__1eexc2a1j", false: "cell_ColumnCellRecipe_last_false__1eexc2a1k" }, groupByField: { true: "cell_ColumnCellRecipe_groupByField_true__1eexc2a1l", false: "cell_ColumnCellRecipe_groupByField_false__1eexc2a1m" }, firstInCategory: { true: "cell_ColumnCellRecipe_firstInCategory_true__1eexc2a1n", false: "cell_ColumnCellRecipe_firstInCategory_false__1eexc2a1o" }, firstRow: { true: "cell_ColumnCellRecipe_firstRow_true__1eexc2a1p", false: "cell_ColumnCellRecipe_firstRow_false__1eexc2a1q" }, firstRowInHorizontalLayoutPage: { true: "cell_ColumnCellRecipe_firstRowInHorizontalLayoutPage_true__1eexc2a1r", false: "cell_ColumnCellRecipe_firstRowInHorizontalLayoutPage_false__1eexc2a1s" }, lastInCategory: { true: "cell_ColumnCellRecipe_lastInCategory_true__1eexc2a1t", false: "cell_ColumnCellRecipe_lastInCategory_false__1eexc2a1u" }, pinned: { start: "cell_ColumnCellRecipe_pinned_start__1eexc2a1v", end: "cell_ColumnCellRecipe_pinned_end__1eexc2a1w", false: "cell_ColumnCellRecipe_pinned_false__1eexc2a1x" }, filtered: { true: "cell_ColumnCellRecipe_filtered_true__1eexc2a1y", false: "cell_ColumnCellRecipe_filtered_false__1eexc2a1z" } }, defaultVariants: {}, compoundVariants: [[{ firstRowInHorizontalLayoutPage: true, firstRow: false }, "cell_ColumnCellRecipe_compound_0__1eexc2a20"], [{ pinned: "start", lastInCategory: true }, "cell_ColumnCellRecipe_compound_1__1eexc2a21"], [{ pinned: "start", firstInCategory: true }, "cell_ColumnCellRecipe_compound_2__1eexc2a22"], [{ pinned: "end", firstInCategory: true }, "cell_ColumnCellRecipe_compound_3__1eexc2a23"], [{ pinned: "end", lastInCategory: true }, "cell_ColumnCellRecipe_compound_4__1eexc2a24"], [{ align: "center", groupCell: false }, "cell_ColumnCellRecipe_compound_5__1eexc2a25"], [{ rowDisabled: true, zebra: "odd" }, "cell_ColumnCellRecipe_compound_6__1eexc2a26"]] });
5339
- var ColumnCellSelectionIndicatorRecipe = createRuntimeFn({ defaultClassName: "cell_ColumnCellSelectionIndicatorRecipe__1eexc2ae", variantClassNames: { right: { true: "cell_ColumnCellSelectionIndicatorRecipe_right_true__1eexc2af", false: "cell_ColumnCellSelectionIndicatorRecipe_right_false__1eexc2ag" }, left: { true: "cell_ColumnCellSelectionIndicatorRecipe_left_true__1eexc2ah", false: "cell_ColumnCellSelectionIndicatorRecipe_left_false__1eexc2ai" }, top: { true: "cell_ColumnCellSelectionIndicatorRecipe_top_true__1eexc2aj", false: "cell_ColumnCellSelectionIndicatorRecipe_top_false__1eexc2ak" }, bottom: { true: "cell_ColumnCellSelectionIndicatorRecipe_bottom_true__1eexc2al", false: "cell_ColumnCellSelectionIndicatorRecipe_bottom_false__1eexc2am" } }, defaultVariants: {}, compoundVariants: [] });
5340
- var DetachedCellCls = "cell_DetachedCellCls__1eexc2a5";
5341
- var FlashingColumnCellRecipe = createRuntimeFn({ defaultClassName: "cell_FlashingColumnCellRecipe__1eexc2aa", variantClassNames: { direction: { up: "cell_FlashingColumnCellRecipe_direction_up__1eexc2ab", down: "cell_FlashingColumnCellRecipe_direction_down__1eexc2ac", neutral: "cell_FlashingColumnCellRecipe_direction_neutral__1eexc2ad" } }, defaultVariants: {}, compoundVariants: [] });
5342
- var SelectionCheckboxCls = "cell_SelectionCheckboxCls__1eexc2a8";
5337
+ var ColumnCellCls = "_1eexc2a7 _1eexc2a6";
5338
+ var ColumnCellRecipe = createRuntimeFn({ defaultClassName: "_1eexc2an", variantClassNames: { dragging: { false: "_1eexc2ao", true: "_1eexc2ap" }, insideDisabledDraggingPage: { true: "_1eexc2aq", false: "_1eexc2ar" }, cellSelected: { false: "_1eexc2as", true: "_1eexc2at" }, treeNode: { parent: "_1eexc2au", leaf: "_1eexc2av", false: "_1eexc2aw" }, align: { start: "_1eexc2ax", end: "_1eexc2ay", center: "_1eexc2az" }, verticalAlign: { start: "_1eexc2a10", end: "_1eexc2a11", center: "_1eexc2a12" }, rowActive: { false: "_1eexc2a13", true: "_1eexc2a14" }, groupRow: { false: "_1eexc2a15", true: "_1eexc2a16" }, groupCell: { false: "_1eexc2a17", true: "_1eexc2a18" }, rowDisabled: { false: "_1eexc2a19", true: "_1eexc2a1a" }, zebra: { false: "_1eexc2a1b", even: "_1eexc2a1c", odd: "_1eexc2a1d" }, rowSelected: { true: "_1eexc2a1e", false: "_1eexc2a1f", null: "_1eexc2a1g" }, first: { true: "_1eexc2a1h", false: "_1eexc2a1i" }, last: { true: "_1eexc2a1j", false: "_1eexc2a1k" }, groupByField: { true: "_1eexc2a1l", false: "_1eexc2a1m" }, firstInCategory: { true: "_1eexc2a1n", false: "_1eexc2a1o" }, firstRow: { true: "_1eexc2a1p", false: "_1eexc2a1q" }, firstRowInHorizontalLayoutPage: { true: "_1eexc2a1r", false: "_1eexc2a1s" }, lastInCategory: { true: "_1eexc2a1t", false: "_1eexc2a1u" }, pinned: { start: "_1eexc2a1v", end: "_1eexc2a1w", false: "_1eexc2a1x" }, filtered: { true: "_1eexc2a1y", false: "_1eexc2a1z" } }, defaultVariants: {}, compoundVariants: [[{ firstRowInHorizontalLayoutPage: true, firstRow: false }, "_1eexc2a20"], [{ pinned: "start", lastInCategory: true }, "_1eexc2a21"], [{ pinned: "start", firstInCategory: true }, "_1eexc2a22"], [{ pinned: "end", firstInCategory: true }, "_1eexc2a23"], [{ pinned: "end", lastInCategory: true }, "_1eexc2a24"], [{ align: "center", groupCell: false }, "_1eexc2a25"], [{ rowDisabled: true, zebra: "odd" }, "_1eexc2a26"]] });
5339
+ var ColumnCellSelectionIndicatorRecipe = createRuntimeFn({ defaultClassName: "_1eexc2ae", variantClassNames: { right: { true: "_1eexc2af", false: "_1eexc2ag" }, left: { true: "_1eexc2ah", false: "_1eexc2ai" }, top: { true: "_1eexc2aj", false: "_1eexc2ak" }, bottom: { true: "_1eexc2al", false: "_1eexc2am" } }, defaultVariants: {}, compoundVariants: [] });
5340
+ var DetachedCellCls = "_1eexc2a5";
5341
+ var FlashingColumnCellRecipe = createRuntimeFn({ defaultClassName: "_1eexc2aa", variantClassNames: { direction: { up: "_1eexc2ab", down: "_1eexc2ac", neutral: "_1eexc2ad" } }, defaultVariants: {}, compoundVariants: [] });
5342
+ var SelectionCheckboxCls = "_1eexc2a8";
5343
5343
 
5344
5344
  // src/components/InfiniteTable/components/cellDetachedCls.ts
5345
5345
  var CELL_DETACHED_CLASSNAMES = [
@@ -5935,24 +5935,24 @@ var useInternalProps = () => {
5935
5935
  };
5936
5936
 
5937
5937
  // src/components/InfiniteTable/utilities.css.ts
5938
- var absoluteCover = "utilities_position_absolute__16lm1iw2 utilities_top_0__16lm1iw1d utilities_left_0__16lm1iw1f utilities_right_0__16lm1iw1k utilities_bottom_0__16lm1iw1i";
5939
- var alignItems = { center: "utilities_alignItems_center__16lm1iw1r", stretch: "utilities_alignItems_stretch__16lm1iw1s" };
5940
- var cssEllipsisClassName = "utilities_whiteSpace_nowrap__16lm1iw24 utilities_textOverflow_ellipsis__16lm1iw25 utilities_overflow_hidden__16lm1iw1y";
5941
- var cursor = { pointer: "utilities_cursor_pointer__16lm1iwi", "default": "utilities_cursor_default__16lm1iwj", colResize: "utilities_cursor_colResize__16lm1iwk" };
5942
- var display = { flex: "utilities_display_flex__16lm1iwz", contents: "utilities_display_contents__16lm1iw10", none: "utilities_display_none__16lm1iw11", block: "utilities_display_block__16lm1iw12", grid: "utilities_display_grid__16lm1iw13", inlineBlock: "utilities_display_inlineBlock__16lm1iw14", inlineFlex: "utilities_display_inlineFlex__16lm1iw15", inlineGrid: "utilities_display_inlineGrid__16lm1iw16" };
5943
- var flex = { "1": "utilities_flex_1__16lm1iwm", none: "utilities_flex_none__16lm1iwn" };
5944
- var flexFlow = { column: "utilities_flexFlow_column__16lm1iw1n", columnReverse: "utilities_flexFlow_columnReverse__16lm1iw1o", row: "utilities_flexFlow_row__16lm1iw1p", rowReverse: "utilities_flexFlow_rowReverse__16lm1iw1q" };
5945
- var height = { "0": "utilities_height_0__16lm1iw18", "100%": "utilities_height_100%__16lm1iw19", "50%": "utilities_height_50%__16lm1iw1a" };
5946
- var justifyContent = { center: "utilities_justifyContent_center__16lm1iw1t", spaceBetween: "utilities_justifyContent_spaceBetween__16lm1iw1u", spaceAround: "utilities_justifyContent_spaceAround__16lm1iw1v", start: "utilities_justifyContent_start__16lm1iw1w", end: "utilities_justifyContent_end__16lm1iw1x" };
5947
- var left = { "0": "utilities_left_0__16lm1iw1f", "100%": "utilities_left_100%__16lm1iw1g", auto: "utilities_left_auto__16lm1iw1h" };
5948
- var outline = { none: "utilities_outline_none__16lm1iwd" };
5949
- var overflow = { hidden: "utilities_overflow_hidden__16lm1iw1y", auto: "utilities_overflow_auto__16lm1iw1z", visible: "utilities_overflow_visible__16lm1iw20" };
5950
- var position = { relative: "utilities_position_relative__16lm1iw1", absolute: "utilities_position_absolute__16lm1iw2", "static": "utilities_position_static__16lm1iw3", sticky: "utilities_position_sticky__16lm1iw4", fixed: "utilities_position_fixed__16lm1iw5" };
5951
- var top = { "0": "utilities_top_0__16lm1iw1d", "100%": "utilities_top_100%__16lm1iw1e" };
5952
- var transformTranslateZero = "utilities_transformTranslateZero__16lm1iwe";
5953
- var userSelect = { none: "utilities_userSelect_none__16lm1iw17" };
5954
- var visibility = { visible: "utilities_visibility_visible__16lm1iw21", hidden: "utilities_visibility_hidden__16lm1iw22" };
5955
- var zIndex = { "1": "utilities_zIndex_1__16lm1iwo", "10": "utilities_zIndex_10__16lm1iwp", "100": "utilities_zIndex_100__16lm1iwq", "1000": "utilities_zIndex_1000__16lm1iwr", "10000": "utilities_zIndex_10000__16lm1iws", "100000": "utilities_zIndex_100000__16lm1iwt", "1000000": "utilities_zIndex_1000000__16lm1iwu", "10000000": "utilities_zIndex_10000000__16lm1iwv", "1k": "utilities_zIndex_1k__16lm1iww", "10k": "utilities_zIndex_10k__16lm1iwx", "100k": "utilities_zIndex_100k__16lm1iwy" };
5938
+ var absoluteCover = "_16lm1iw2 _16lm1iw1d _16lm1iw1f _16lm1iw1k _16lm1iw1i";
5939
+ var alignItems = { center: "_16lm1iw1r", stretch: "_16lm1iw1s" };
5940
+ var cssEllipsisClassName = "_16lm1iw24 _16lm1iw25 _16lm1iw1y";
5941
+ var cursor = { pointer: "_16lm1iwi", "default": "_16lm1iwj", colResize: "_16lm1iwk" };
5942
+ var display = { flex: "_16lm1iwz", contents: "_16lm1iw10", none: "_16lm1iw11", block: "_16lm1iw12", grid: "_16lm1iw13", inlineBlock: "_16lm1iw14", inlineFlex: "_16lm1iw15", inlineGrid: "_16lm1iw16" };
5943
+ var flex = { "1": "_16lm1iwm", none: "_16lm1iwn" };
5944
+ var flexFlow = { column: "_16lm1iw1n", columnReverse: "_16lm1iw1o", row: "_16lm1iw1p", rowReverse: "_16lm1iw1q" };
5945
+ var height = { "0": "_16lm1iw18", "100%": "_16lm1iw19", "50%": "_16lm1iw1a" };
5946
+ var justifyContent = { center: "_16lm1iw1t", spaceBetween: "_16lm1iw1u", spaceAround: "_16lm1iw1v", start: "_16lm1iw1w", end: "_16lm1iw1x" };
5947
+ var left = { "0": "_16lm1iw1f", "100%": "_16lm1iw1g", auto: "_16lm1iw1h" };
5948
+ var outline = { none: "_16lm1iwd" };
5949
+ var overflow = { hidden: "_16lm1iw1y", auto: "_16lm1iw1z", visible: "_16lm1iw20" };
5950
+ var position = { relative: "_16lm1iw1", absolute: "_16lm1iw2", "static": "_16lm1iw3", sticky: "_16lm1iw4", fixed: "_16lm1iw5" };
5951
+ var top = { "0": "_16lm1iw1d", "100%": "_16lm1iw1e" };
5952
+ var transformTranslateZero = "_16lm1iwe";
5953
+ var userSelect = { none: "_16lm1iw17" };
5954
+ var visibility = { visible: "_16lm1iw21", hidden: "_16lm1iw22" };
5955
+ var zIndex = { "1": "_16lm1iwo", "10": "_16lm1iwp", "100": "_16lm1iwq", "1000": "_16lm1iwr", "10000": "_16lm1iws", "100000": "_16lm1iwt", "1000000": "_16lm1iwu", "10000000": "_16lm1iwv", "1k": "_16lm1iww", "10k": "_16lm1iwx", "100k": "_16lm1iwy" };
5956
5956
 
5957
5957
  // src/components/InfiniteTable/components/InfiniteTableFooter/InfiniteTableFooter.tsx
5958
5958
  function InfiniteTableFooter(props) {
@@ -6098,29 +6098,29 @@ import * as React27 from "react";
6098
6098
  import { useEffect as useEffect10, useLayoutEffect as useLayoutEffect8, useState as useState5 } from "react";
6099
6099
 
6100
6100
  // src/components/InfiniteTable/components/InfiniteTableHeader/header.css.ts
6101
- var CellCls = "cell_CellCls__1eexc2a6";
6102
- var HeaderCellContentRecipe = createRuntimeFn({ defaultClassName: "header_HeaderCellContentRecipe__12zfob129 utilities_height_100%__16lm1iw19 utilities_width_100%__16lm1iw1c utilities_display_flex__16lm1iwz utilities_flexFlow_row__16lm1iw1p utilities_alignItems_center__16lm1iw1r utilities_justifyContent_start__16lm1iw1w", variantClassNames: { filtered: { false: "header_HeaderCellContentRecipe_filtered_false__12zfob12a", true: "header_HeaderCellContentRecipe_filtered_true__12zfob12b" }, verticalAlign: { start: "header_HeaderCellContentRecipe_verticalAlign_start__12zfob12c", end: "header_HeaderCellContentRecipe_verticalAlign_end__12zfob12d", center: "header_HeaderCellContentRecipe_verticalAlign_center__12zfob12e" }, align: { start: "header_HeaderCellContentRecipe_align_start__12zfob12f", end: "header_HeaderCellContentRecipe_align_end__12zfob12g", center: "header_HeaderCellContentRecipe_align_center__12zfob12h" } }, defaultVariants: {}, compoundVariants: [] });
6103
- var HeaderCellProxy = "header_HeaderCellProxy__12zfob1n utilities_whiteSpace_nowrap__16lm1iw24 utilities_textOverflow_ellipsis__16lm1iw25 utilities_overflow_hidden__16lm1iw1y";
6104
- var HeaderCellRecipe = createRuntimeFn({ defaultClassName: "header_HeaderCellRecipe__12zfob1o", variantClassNames: { rowActive: { false: "header_HeaderCellRecipe_rowActive_false__12zfob1p", true: "header_HeaderCellRecipe_rowActive_true__12zfob1q" }, cellSelected: { false: "header_HeaderCellRecipe_cellSelected_false__12zfob1r", true: "header_HeaderCellRecipe_cellSelected_true__12zfob1s" }, rowSelected: { false: "header_HeaderCellRecipe_rowSelected_false__12zfob1t", true: "header_HeaderCellRecipe_rowSelected_true__12zfob1u", null: "header_HeaderCellRecipe_rowSelected_null__12zfob1v" }, rowDisabled: { false: "header_HeaderCellRecipe_rowDisabled_false__12zfob1w", true: "header_HeaderCellRecipe_rowDisabled_true__12zfob1x" }, firstRow: { false: "header_HeaderCellRecipe_firstRow_false__12zfob1y", true: "header_HeaderCellRecipe_firstRow_true__12zfob1z" }, treeNode: { parent: "header_HeaderCellRecipe_treeNode_parent__12zfob110", leaf: "header_HeaderCellRecipe_treeNode_leaf__12zfob111", false: "header_HeaderCellRecipe_treeNode_false__12zfob112" }, firstRowInHorizontalLayoutPage: { false: "header_HeaderCellRecipe_firstRowInHorizontalLayoutPage_false__12zfob113", true: "header_HeaderCellRecipe_firstRowInHorizontalLayoutPage_true__12zfob114" }, groupRow: { false: "header_HeaderCellRecipe_groupRow_false__12zfob115", true: "header_HeaderCellRecipe_groupRow_true__12zfob116" }, groupCell: { false: "header_HeaderCellRecipe_groupCell_false__12zfob117", true: "header_HeaderCellRecipe_groupCell_true__12zfob118" }, align: { start: "header_HeaderCellRecipe_align_start__12zfob119", end: "header_HeaderCellRecipe_align_end__12zfob11a", center: "header_HeaderCellRecipe_align_center__12zfob11b" }, verticalAlign: { start: "header_HeaderCellRecipe_verticalAlign_start__12zfob11c", end: "header_HeaderCellRecipe_verticalAlign_end__12zfob11d", center: "header_HeaderCellRecipe_verticalAlign_center__12zfob11e" }, zebra: { false: "header_HeaderCellRecipe_zebra_false__12zfob11f", even: "header_HeaderCellRecipe_zebra_even__12zfob11g", odd: "header_HeaderCellRecipe_zebra_odd__12zfob11h" }, dragging: { true: "header_HeaderCellRecipe_dragging_true__12zfob11i", false: "header_HeaderCellRecipe_dragging_false__12zfob11j" }, insideDisabledDraggingPage: { true: "header_HeaderCellRecipe_insideDisabledDraggingPage_true__12zfob11k", false: "header_HeaderCellRecipe_insideDisabledDraggingPage_false__12zfob11l" }, first: { true: "header_HeaderCellRecipe_first_true__12zfob11m", false: "header_HeaderCellRecipe_first_false__12zfob11n" }, last: { true: "header_HeaderCellRecipe_last_true__12zfob11o", false: "header_HeaderCellRecipe_last_false__12zfob11p" }, groupByField: { true: "header_HeaderCellRecipe_groupByField_true__12zfob11q", false: "header_HeaderCellRecipe_groupByField_false__12zfob11r" }, firstInCategory: { true: "header_HeaderCellRecipe_firstInCategory_true__12zfob11s", false: "header_HeaderCellRecipe_firstInCategory_false__12zfob11t" }, lastInCategory: { true: "header_HeaderCellRecipe_lastInCategory_true__12zfob11u", false: "header_HeaderCellRecipe_lastInCategory_false__12zfob11v" }, pinned: { start: "header_HeaderCellRecipe_pinned_start__12zfob11w", end: "header_HeaderCellRecipe_pinned_end__12zfob11x", false: "header_HeaderCellRecipe_pinned_false__12zfob11y" }, filtered: { true: "header_HeaderCellRecipe_filtered_true__12zfob11z", false: "header_HeaderCellRecipe_filtered_false__12zfob120" } }, defaultVariants: {}, compoundVariants: [[{ pinned: "start", lastInCategory: true }, "header_HeaderCellRecipe_compound_0__12zfob121"], [{ pinned: "end", firstInCategory: true }, "header_HeaderCellRecipe_compound_1__12zfob122"], [{ pinned: false, lastInCategory: true }, "header_HeaderCellRecipe_compound_2__12zfob123"]] });
6105
- var HeaderClsRecipe = createRuntimeFn({ defaultClassName: "header_HeaderClsRecipe__12zfob19 utilities_display_block__16lm1iw12 utilities_position_absolute__16lm1iw2", variantClassNames: { pinned: { start: "header_HeaderClsRecipe_pinned_start__12zfob1a", end: "header_HeaderClsRecipe_pinned_end__12zfob1b", false: "header_HeaderClsRecipe_pinned_false__12zfob1c" }, firstInCategory: { true: "header_HeaderClsRecipe_firstInCategory_true__12zfob1d", false: "header_HeaderClsRecipe_firstInCategory_false__12zfob1e" }, lastInCategory: { true: "header_HeaderClsRecipe_lastInCategory_true__12zfob1f", false: "header_HeaderClsRecipe_lastInCategory_false__12zfob1g" }, overflow: { true: "header_HeaderClsRecipe_overflow_true__12zfob1h", false: "header_HeaderClsRecipe_overflow_false__12zfob1i" } }, defaultVariants: {}, compoundVariants: [[{ overflow: true, pinned: "start" }, "header_HeaderClsRecipe_compound_0__12zfob1j"], [{ pinned: "start", firstInCategory: true }, "header_HeaderClsRecipe_compound_1__12zfob1k"], [{ overflow: true, pinned: "end" }, "header_HeaderClsRecipe_compound_2__12zfob1l"], [{ pinned: "end", lastInCategory: true }, "header_HeaderClsRecipe_compound_3__12zfob1m"]] });
6106
- var HeaderFilterEditorCls = "header_HeaderFilterEditorCls__12zfob12r utilities_width_100%__16lm1iw1c utilities_height_100%__16lm1iw19";
6107
- var HeaderFilterIconIndexCls = "header_HeaderFilterIconIndexCls__12zfob17";
6108
- var HeaderFilterOperatorCls = "header_HeaderFilterOperatorCls__12zfob12n utilities_display_flex__16lm1iwz utilities_flexFlow_row__16lm1iw1p utilities_alignItems_center__16lm1iw1r utilities_position_relative__16lm1iw1";
6109
- var HeaderFilterOperatorIconRecipe = createRuntimeFn({ defaultClassName: "header_HeaderFilterOperatorIconRecipe__12zfob12o utilities_position_relative__16lm1iw1 utilities_top_0__16lm1iw1d", variantClassNames: { disabled: { true: "header_HeaderFilterOperatorIconRecipe_disabled_true__12zfob12p", false: "header_HeaderFilterOperatorIconRecipe_disabled_false__12zfob12q" } }, defaultVariants: {}, compoundVariants: [] });
6110
- var HeaderFilterRecipe = createRuntimeFn({ defaultClassName: "header_HeaderFilterRecipe__12zfob12k utilities_display_flex__16lm1iwz utilities_flexFlow_row__16lm1iw1p utilities_alignItems_stretch__16lm1iw1s utilities_position_relative__16lm1iw1", variantClassNames: { active: { true: "header_HeaderFilterRecipe_active_true__12zfob12l", false: "header_HeaderFilterRecipe_active_false__12zfob12m" } }, defaultVariants: {}, compoundVariants: [] });
6111
- var HeaderGroupCls = "header_HeaderGroupCls__12zfob12j utilities_display_flex__16lm1iwz utilities_flexFlow_row__16lm1iw1p utilities_alignItems_center__16lm1iw1r";
6112
- var HeaderMenuIconCls = createRuntimeFn({ defaultClassName: "header_HeaderMenuIconCls__12zfob124 utilities_position_relative__16lm1iw1 utilities_display_flex__16lm1iwz utilities_flexFlow_column__16lm1iw1n utilities_justifyContent_spaceAround__16lm1iw1v utilities_visibility_hidden__16lm1iw22", variantClassNames: { menuVisible: { true: "header_HeaderMenuIconCls_menuVisible_true__12zfob125" }, reserveSpaceWhenHidden: { true: "header_HeaderMenuIconCls_reserveSpaceWhenHidden_true__12zfob126", false: "header_HeaderMenuIconCls_reserveSpaceWhenHidden_false__12zfob127" } }, defaultVariants: {}, compoundVariants: [[{ menuVisible: true, reserveSpaceWhenHidden: false }, "header_HeaderMenuIconCls_compound_0__12zfob128"]] });
6113
- var HeaderScrollbarPlaceholderCls = "header_HeaderScrollbarPlaceholderCls__12zfob18 utilities_position_absolute__16lm1iw2";
6114
- var HeaderSortIconCls = "utilities_position_relative__16lm1iw1";
6115
- var HeaderSortIconIndexCls = "header_HeaderSortIconIndexCls__12zfob16";
6116
- var HeaderSortIconRecipe = createRuntimeFn({ defaultClassName: "header__12zfob12", variantClassNames: { align: { start: "header_HeaderSortIconRecipe_align_start__12zfob13", center: "header_HeaderSortIconRecipe_align_center__12zfob14", end: "header_HeaderSortIconRecipe_align_end__12zfob15" } }, defaultVariants: {}, compoundVariants: [] });
6117
- var HeaderWrapperCls = "header_HeaderWrapperCls__12zfob12i utilities_overflow_hidden__16lm1iw1y utilities_position_relative__16lm1iw1 utilities_display_flex__16lm1iwz utilities_flexFlow_row__16lm1iw1p";
6101
+ var CellCls = "_1eexc2a6";
6102
+ var HeaderCellContentRecipe = createRuntimeFn({ defaultClassName: "_12zfob129 _16lm1iw19 _16lm1iw1c _16lm1iwz _16lm1iw1p _16lm1iw1r _16lm1iw1w", variantClassNames: { filtered: { false: "_12zfob12a", true: "_12zfob12b" }, verticalAlign: { start: "_12zfob12c", end: "_12zfob12d", center: "_12zfob12e" }, align: { start: "_12zfob12f", end: "_12zfob12g", center: "_12zfob12h" } }, defaultVariants: {}, compoundVariants: [] });
6103
+ var HeaderCellProxy = "_12zfob1n _16lm1iw24 _16lm1iw25 _16lm1iw1y";
6104
+ var HeaderCellRecipe = createRuntimeFn({ defaultClassName: "_12zfob1o", variantClassNames: { rowActive: { false: "_12zfob1p", true: "_12zfob1q" }, cellSelected: { false: "_12zfob1r", true: "_12zfob1s" }, rowSelected: { false: "_12zfob1t", true: "_12zfob1u", null: "_12zfob1v" }, rowDisabled: { false: "_12zfob1w", true: "_12zfob1x" }, firstRow: { false: "_12zfob1y", true: "_12zfob1z" }, treeNode: { parent: "_12zfob110", leaf: "_12zfob111", false: "_12zfob112" }, firstRowInHorizontalLayoutPage: { false: "_12zfob113", true: "_12zfob114" }, groupRow: { false: "_12zfob115", true: "_12zfob116" }, groupCell: { false: "_12zfob117", true: "_12zfob118" }, align: { start: "_12zfob119", end: "_12zfob11a", center: "_12zfob11b" }, verticalAlign: { start: "_12zfob11c", end: "_12zfob11d", center: "_12zfob11e" }, zebra: { false: "_12zfob11f", even: "_12zfob11g", odd: "_12zfob11h" }, dragging: { true: "_12zfob11i", false: "_12zfob11j" }, insideDisabledDraggingPage: { true: "_12zfob11k", false: "_12zfob11l" }, first: { true: "_12zfob11m", false: "_12zfob11n" }, last: { true: "_12zfob11o", false: "_12zfob11p" }, groupByField: { true: "_12zfob11q", false: "_12zfob11r" }, firstInCategory: { true: "_12zfob11s", false: "_12zfob11t" }, lastInCategory: { true: "_12zfob11u", false: "_12zfob11v" }, pinned: { start: "_12zfob11w", end: "_12zfob11x", false: "_12zfob11y" }, filtered: { true: "_12zfob11z", false: "_12zfob120" } }, defaultVariants: {}, compoundVariants: [[{ pinned: "start", lastInCategory: true }, "_12zfob121"], [{ pinned: "end", firstInCategory: true }, "_12zfob122"], [{ pinned: false, lastInCategory: true }, "_12zfob123"]] });
6105
+ var HeaderClsRecipe = createRuntimeFn({ defaultClassName: "_12zfob19 _16lm1iw12 _16lm1iw2", variantClassNames: { pinned: { start: "_12zfob1a", end: "_12zfob1b", false: "_12zfob1c" }, firstInCategory: { true: "_12zfob1d", false: "_12zfob1e" }, lastInCategory: { true: "_12zfob1f", false: "_12zfob1g" }, overflow: { true: "_12zfob1h", false: "_12zfob1i" } }, defaultVariants: {}, compoundVariants: [[{ overflow: true, pinned: "start" }, "_12zfob1j"], [{ pinned: "start", firstInCategory: true }, "_12zfob1k"], [{ overflow: true, pinned: "end" }, "_12zfob1l"], [{ pinned: "end", lastInCategory: true }, "_12zfob1m"]] });
6106
+ var HeaderFilterEditorCls = "_12zfob12r _16lm1iw1c _16lm1iw19";
6107
+ var HeaderFilterIconIndexCls = "_12zfob17";
6108
+ var HeaderFilterOperatorCls = "_12zfob12n _16lm1iwz _16lm1iw1p _16lm1iw1r _16lm1iw1";
6109
+ var HeaderFilterOperatorIconRecipe = createRuntimeFn({ defaultClassName: "_12zfob12o _16lm1iw1 _16lm1iw1d", variantClassNames: { disabled: { true: "_12zfob12p", false: "_12zfob12q" } }, defaultVariants: {}, compoundVariants: [] });
6110
+ var HeaderFilterRecipe = createRuntimeFn({ defaultClassName: "_12zfob12k _16lm1iwz _16lm1iw1p _16lm1iw1s _16lm1iw1", variantClassNames: { active: { true: "_12zfob12l", false: "_12zfob12m" } }, defaultVariants: {}, compoundVariants: [] });
6111
+ var HeaderGroupCls = "_12zfob12j _16lm1iwz _16lm1iw1p _16lm1iw1r";
6112
+ var HeaderMenuIconCls = createRuntimeFn({ defaultClassName: "_12zfob124 _16lm1iw1 _16lm1iwz _16lm1iw1n _16lm1iw1v _16lm1iw22", variantClassNames: { menuVisible: { true: "_12zfob125" }, reserveSpaceWhenHidden: { true: "_12zfob126", false: "_12zfob127" } }, defaultVariants: {}, compoundVariants: [[{ menuVisible: true, reserveSpaceWhenHidden: false }, "_12zfob128"]] });
6113
+ var HeaderScrollbarPlaceholderCls = "_12zfob18 _16lm1iw2";
6114
+ var HeaderSortIconCls = "_16lm1iw1";
6115
+ var HeaderSortIconIndexCls = "_12zfob16";
6116
+ var HeaderSortIconRecipe = createRuntimeFn({ defaultClassName: "_12zfob12", variantClassNames: { align: { start: "_12zfob13", center: "_12zfob14", end: "_12zfob15" } }, defaultVariants: {}, compoundVariants: [] });
6117
+ var HeaderWrapperCls = "_12zfob12i _16lm1iw1y _16lm1iw1 _16lm1iwz _16lm1iw1p";
6118
6118
 
6119
6119
  // src/components/InfiniteTable/components/icons/InfiniteIconClassName.ts
6120
6120
  var InfiniteIconClassName = "InfiniteIcon";
6121
6121
 
6122
6122
  // src/components/InfiniteTable/components/icons/FilterIcon.css.ts
6123
- var FilterIconCls = "FilterIcon_FilterIconCls__6aunoi0 utilities_display_flex__16lm1iwz utilities_flexFlow_column__16lm1iw1n utilities_position_relative__16lm1iw1 utilities_justifyContent_spaceAround__16lm1iw1v utilities_alignItems_center__16lm1iw1r";
6123
+ var FilterIconCls = "_6aunoi0 _16lm1iwz _16lm1iw1n _16lm1iw1 _16lm1iw1v _16lm1iw1r";
6124
6124
 
6125
6125
  // src/components/InfiniteTable/components/icons/FilterIcon.tsx
6126
6126
  var defaultLineStyle = {
@@ -7630,13 +7630,13 @@ function useCellClassName(column, baseClasses, variants, extraFlags) {
7630
7630
  import { useCallback as useCallback8, useState as useState7 } from "react";
7631
7631
 
7632
7632
  // src/components/InfiniteTable/InfiniteCls.css.ts
7633
- var FooterCls = "utilities_position_relative__16lm1iw1";
7634
- var InfiniteCls = "InfiniteCls_InfiniteCls__1yeub2v0 utilities_position_relative__16lm1iw1 utilities_display_flex__16lm1iwz utilities_flexFlow_column__16lm1iw1n utilities_boxSizingBorderBox__16lm1iw0";
7635
- var InfiniteClsHasPinnedEnd = "InfiniteCls_InfiniteClsHasPinnedEnd__1yeub2vs";
7636
- var InfiniteClsHasPinnedStart = "InfiniteCls_InfiniteClsHasPinnedStart__1yeub2vr";
7637
- var InfiniteClsRecipe = createRuntimeFn({ defaultClassName: "InfiniteCls__1yeub2v2", variantClassNames: { horizontalLayout: { true: "InfiniteCls_InfiniteClsRecipe_horizontalLayout_true__1yeub2v3", false: "InfiniteCls_InfiniteClsRecipe_horizontalLayout_false__1yeub2v4" }, focused: { true: "InfiniteCls_InfiniteClsRecipe_focused_true__1yeub2v5", false: "InfiniteCls_InfiniteClsRecipe_focused_false__1yeub2v6" }, focusedWithin: { true: "InfiniteCls_InfiniteClsRecipe_focusedWithin_true__1yeub2v7", false: "InfiniteCls_InfiniteClsRecipe_focusedWithin_false__1yeub2v8" }, hasPinnedStart: { true: "InfiniteCls_InfiniteClsRecipe_hasPinnedStart_true__1yeub2v9", false: "InfiniteCls_InfiniteClsRecipe_hasPinnedStart_false__1yeub2va" }, hasPinnedEnd: { true: "InfiniteCls_InfiniteClsRecipe_hasPinnedEnd_true__1yeub2vb", false: "InfiniteCls_InfiniteClsRecipe_hasPinnedEnd_false__1yeub2vc" }, hasPinnedStartOverflow: { true: "InfiniteCls_InfiniteClsRecipe_hasPinnedStartOverflow_true__1yeub2vd", false: "InfiniteCls_InfiniteClsRecipe_hasPinnedStartOverflow_false__1yeub2ve" }, hasPinnedEndOverflow: { true: "InfiniteCls_InfiniteClsRecipe_hasPinnedEndOverflow_true__1yeub2vf", false: "InfiniteCls_InfiniteClsRecipe_hasPinnedEndOverflow_false__1yeub2vg" } }, defaultVariants: {}, compoundVariants: [[{ focused: false, focusedWithin: false }, "InfiniteCls_InfiniteClsRecipe_compound_0__1yeub2vh"]] });
7638
- var InfiniteClsShiftingColumns = "InfiniteCls_shiftingcols__1yeub2vp";
7639
- var PinnedRowsContainerClsVariants = createRuntimeFn({ defaultClassName: "InfiniteCls__1yeub2vl", variantClassNames: { pinned: { start: "InfiniteCls_PinnedRowsContainerClsVariants_pinned_start__1yeub2vm", end: "InfiniteCls_PinnedRowsContainerClsVariants_pinned_end__1yeub2vn", false: "InfiniteCls_PinnedRowsContainerClsVariants_pinned_false__1yeub2vo" } }, defaultVariants: {}, compoundVariants: [] });
7633
+ var FooterCls = "_16lm1iw1";
7634
+ var InfiniteCls = "_1yeub2v0 _16lm1iw1 _16lm1iwz _16lm1iw1n _16lm1iw0";
7635
+ var InfiniteClsHasPinnedEnd = "_1yeub2vs";
7636
+ var InfiniteClsHasPinnedStart = "_1yeub2vr";
7637
+ var InfiniteClsRecipe = createRuntimeFn({ defaultClassName: "_1yeub2v2", variantClassNames: { horizontalLayout: { true: "_1yeub2v3", false: "_1yeub2v4" }, focused: { true: "_1yeub2v5", false: "_1yeub2v6" }, focusedWithin: { true: "_1yeub2v7", false: "_1yeub2v8" }, hasPinnedStart: { true: "_1yeub2v9", false: "_1yeub2va" }, hasPinnedEnd: { true: "_1yeub2vb", false: "_1yeub2vc" }, hasPinnedStartOverflow: { true: "_1yeub2vd", false: "_1yeub2ve" }, hasPinnedEndOverflow: { true: "_1yeub2vf", false: "_1yeub2vg" } }, defaultVariants: {}, compoundVariants: [[{ focused: false, focusedWithin: false }, "_1yeub2vh"]] });
7638
+ var InfiniteClsShiftingColumns = "_1yeub2vp";
7639
+ var PinnedRowsContainerClsVariants = createRuntimeFn({ defaultClassName: "_1yeub2vl", variantClassNames: { pinned: { start: "_1yeub2vm", end: "_1yeub2vn", false: "_1yeub2vo" } }, defaultVariants: {}, compoundVariants: [] });
7640
7640
 
7641
7641
  // src/components/InfiniteTable/utils/rafFn.ts
7642
7642
  var rafFn = (fn) => {
@@ -8674,8 +8674,8 @@ import * as React31 from "react";
8674
8674
  import { useState as useState8 } from "react";
8675
8675
 
8676
8676
  // src/components/InfiniteTable/components/icons/ExpandCollapseIcon.css.ts
8677
- var ExpanderIconCls = "ExpandCollapseIcon_ExpanderIconCls__6rdmyg0 utilities_flex_none__16lm1iwn utilities_cursor_pointer__16lm1iwi utilities_verticalAlign_middle__16lm1iw9";
8678
- var ExpanderIconClsVariants = createRuntimeFn({ defaultClassName: "ExpandCollapseIcon__6rdmyg1", variantClassNames: { expanded: { true: "utilities_transform_rotate90__16lm1iwg", false: "ExpandCollapseIcon_ExpanderIconClsVariants_expanded_false__6rdmyg3" }, direction: { end: "ExpandCollapseIcon_ExpanderIconClsVariants_direction_end__6rdmyg4", start: "ExpandCollapseIcon_ExpanderIconClsVariants_direction_start__6rdmyg5" }, disabled: { true: "ExpandCollapseIcon_ExpanderIconClsVariants_disabled_true__6rdmyg6", false: "ExpandCollapseIcon_ExpanderIconClsVariants_disabled_false__6rdmyg7" } }, defaultVariants: {}, compoundVariants: [[{ expanded: false, direction: "end" }, "utilities_transform_rotate180__16lm1iwh"]] });
8677
+ var ExpanderIconCls = "_6rdmyg0 _16lm1iwn _16lm1iwi _16lm1iw9";
8678
+ var ExpanderIconClsVariants = createRuntimeFn({ defaultClassName: "_6rdmyg1", variantClassNames: { expanded: { true: "_16lm1iwg", false: "_6rdmyg3" }, direction: { end: "_6rdmyg4", start: "_6rdmyg5" }, disabled: { true: "_6rdmyg6", false: "_6rdmyg7" } }, defaultVariants: {}, compoundVariants: [[{ expanded: false, direction: "end" }, "_16lm1iwh"]] });
8679
8679
 
8680
8680
  // src/components/InfiniteTable/components/icons/ExpandCollapseIcon.tsx
8681
8681
  var THIS_ICON = `${InfiniteIconClassName}-expand-collapse`;
@@ -8731,7 +8731,7 @@ function ExpandCollapseIcon(props) {
8731
8731
  import * as React32 from "react";
8732
8732
 
8733
8733
  // src/components/InfiniteTable/components/icons/LoadingIcon.css.ts
8734
- var LoadingIconCls = "utilities_stroke_accentColor__16lm1iwb utilities_flex_none__16lm1iwn utilities_cursor_pointer__16lm1iwi";
8734
+ var LoadingIconCls = "_16lm1iwb _16lm1iwn _16lm1iwi";
8735
8735
 
8736
8736
  // src/components/InfiniteTable/components/icons/LoadingIcon.tsx
8737
8737
  var LoadingIcon = (props) => {
@@ -8781,9 +8781,9 @@ var LoadingIcon = (props) => {
8781
8781
  };
8782
8782
 
8783
8783
  // src/components/InfiniteTable/components/InfiniteTableRow/row.css.ts
8784
- var GroupRowExpanderCls = createRuntimeFn({ defaultClassName: "row__7pupv01", variantClassNames: { align: { start: "row_GroupRowExpanderCls_align_start__7pupv02", center: "row_GroupRowExpanderCls_align_center__7pupv03", end: "row_GroupRowExpanderCls_align_end__7pupv04" } }, defaultVariants: {}, compoundVariants: [] });
8785
- var RowHoverCls = "row_RowHoverCls__7pupv00";
8786
- var TreeColumnCellExpanderCls = createRuntimeFn({ defaultClassName: "row__7pupv05", variantClassNames: { align: { start: "row_TreeColumnCellExpanderCls_align_start__7pupv06", center: "row_TreeColumnCellExpanderCls_align_center__7pupv07", end: "row_TreeColumnCellExpanderCls_align_end__7pupv08" } }, defaultVariants: {}, compoundVariants: [] });
8784
+ var GroupRowExpanderCls = createRuntimeFn({ defaultClassName: "_7pupv01", variantClassNames: { align: { start: "_7pupv02", center: "_7pupv03", end: "_7pupv04" } }, defaultVariants: {}, compoundVariants: [] });
8785
+ var RowHoverCls = "_7pupv00";
8786
+ var TreeColumnCellExpanderCls = createRuntimeFn({ defaultClassName: "_7pupv05", variantClassNames: { align: { start: "_7pupv06", center: "_7pupv07", end: "_7pupv08" } }, defaultVariants: {}, compoundVariants: [] });
8787
8787
 
8788
8788
  // src/components/InfiniteTable/utils/getColumnForGroupBy.tsx
8789
8789
  function styleForGroupColumn({
@@ -8963,7 +8963,7 @@ import * as React34 from "react";
8963
8963
  import { useEffect as useEffect13, useRef as useRef12 } from "react";
8964
8964
 
8965
8965
  // src/components/InfiniteTable/components/CheckBox.css.ts
8966
- var CheckBoxCls = "CheckBox_CheckBoxCls__qz8ht90 utilities_cursor_pointer__16lm1iwi";
8966
+ var CheckBoxCls = "qz8ht90 _16lm1iwi";
8967
8967
 
8968
8968
  // src/components/InfiniteTable/components/CheckBox.tsx
8969
8969
  function forwardProps2() {
@@ -10259,7 +10259,7 @@ import * as React40 from "react";
10259
10259
  import { useEffect as useEffect14, useState as useState10 } from "react";
10260
10260
 
10261
10261
  // src/components/InfiniteTable/components/icons/SortIcon.css.ts
10262
- var SortIconCls = "SortIcon_SortIconCls__1ek6mqy0 utilities_display_flex__16lm1iwz utilities_flexFlow_column__16lm1iw1n utilities_position_relative__16lm1iw1 utilities_justifyContent_spaceAround__16lm1iw1v";
10262
+ var SortIconCls = "_1ek6mqy0 _16lm1iwz _16lm1iw1n _16lm1iw1 _16lm1iw1v";
10263
10263
 
10264
10264
  // src/components/InfiniteTable/components/icons/SortIcon.tsx
10265
10265
  var defaultLineStyle3 = {
@@ -10477,9 +10477,9 @@ function getColumnGroupResizer(colIndexes, config) {
10477
10477
  }
10478
10478
 
10479
10479
  // src/components/InfiniteTable/components/InfiniteTableHeader/ResizeHandle/ResizeHandle.css.ts
10480
- var ResizeHandleCls = "ResizeHandle_ResizeHandleCls__zneyzh0 utilities_position_absolute__16lm1iw2 utilities_top_0__16lm1iw1d utilities_right_0__16lm1iw1k utilities_bottom_0__16lm1iw1i utilities_cursor_colResize__16lm1iwk utilities_overflow_hidden__16lm1iw1y";
10481
- var ResizeHandleDraggerClsRecipe = createRuntimeFn({ defaultClassName: "ResizeHandle_ResizeHandleDraggerClsRecipe__zneyzhc utilities_position_absolute__16lm1iw2 utilities_top_0__16lm1iw1d utilities_bottom_0__16lm1iw1i", variantClassNames: { constrained: { false: "ResizeHandle_ResizeHandleDraggerClsRecipe_constrained_false__zneyzhd", true: "ResizeHandle_ResizeHandleDraggerClsRecipe_constrained_true__zneyzhe" }, computedPinned: { start: "ResizeHandle_ResizeHandleDraggerClsRecipe_computedPinned_start__zneyzhf", end: "ResizeHandle_ResizeHandleDraggerClsRecipe_computedPinned_end__zneyzhg", false: "ResizeHandle_ResizeHandleDraggerClsRecipe_computedPinned_false__zneyzhh" }, computedFirstInCategory: { true: "ResizeHandle_ResizeHandleDraggerClsRecipe_computedFirstInCategory_true__zneyzhi", false: "ResizeHandle_ResizeHandleDraggerClsRecipe_computedFirstInCategory_false__zneyzhj" }, computedLastInCategory: { true: "ResizeHandle_ResizeHandleDraggerClsRecipe_computedLastInCategory_true__zneyzhk", false: "ResizeHandle_ResizeHandleDraggerClsRecipe_computedLastInCategory_false__zneyzhl" } }, defaultVariants: {}, compoundVariants: [[{ computedPinned: "start", computedLastInCategory: true }, "ResizeHandle_ResizeHandleDraggerClsRecipe_compound_0__zneyzhm"], [{ computedPinned: "end", computedFirstInCategory: true }, "ResizeHandle_ResizeHandleDraggerClsRecipe_compound_1__zneyzhn"]] });
10482
- var ResizeHandleRecipeCls = createRuntimeFn({ defaultClassName: "ResizeHandle__zneyzh1", variantClassNames: { computedPinned: { start: "ResizeHandle_ResizeHandleRecipeCls_computedPinned_start__zneyzh2", end: "ResizeHandle_ResizeHandleRecipeCls_computedPinned_end__zneyzh3 utilities_left_0__16lm1iw1f utilities_right_auto__16lm1iw1m", false: "ResizeHandle_ResizeHandleRecipeCls_computedPinned_false__zneyzh4" }, computedFirstInCategory: { true: "ResizeHandle_ResizeHandleRecipeCls_computedFirstInCategory_true__zneyzh5", false: "ResizeHandle_ResizeHandleRecipeCls_computedFirstInCategory_false__zneyzh6" }, computedLastInCategory: { true: "ResizeHandle_ResizeHandleRecipeCls_computedLastInCategory_true__zneyzh7", false: "ResizeHandle_ResizeHandleRecipeCls_computedLastInCategory_false__zneyzh8" } }, defaultVariants: {}, compoundVariants: [[{ computedPinned: "end", computedLastInCategory: false, computedFirstInCategory: true }, "ResizeHandle_ResizeHandleRecipeCls_compound_0__zneyzh9"], [{ computedPinned: false, computedFirstInCategory: false, computedLastInCategory: true }, "ResizeHandle_ResizeHandleRecipeCls_compound_1__zneyzha"], [{ computedPinned: "start", computedFirstInCategory: false, computedLastInCategory: true }, "ResizeHandle_ResizeHandleRecipeCls_compound_2__zneyzhb"]] });
10480
+ var ResizeHandleCls = "zneyzh0 _16lm1iw2 _16lm1iw1d _16lm1iw1k _16lm1iw1i _16lm1iwk _16lm1iw1y";
10481
+ var ResizeHandleDraggerClsRecipe = createRuntimeFn({ defaultClassName: "zneyzhc _16lm1iw2 _16lm1iw1d _16lm1iw1i", variantClassNames: { constrained: { false: "zneyzhd", true: "zneyzhe" }, computedPinned: { start: "zneyzhf", end: "zneyzhg", false: "zneyzhh" }, computedFirstInCategory: { true: "zneyzhi", false: "zneyzhj" }, computedLastInCategory: { true: "zneyzhk", false: "zneyzhl" } }, defaultVariants: {}, compoundVariants: [[{ computedPinned: "start", computedLastInCategory: true }, "zneyzhm"], [{ computedPinned: "end", computedFirstInCategory: true }, "zneyzhn"]] });
10482
+ var ResizeHandleRecipeCls = createRuntimeFn({ defaultClassName: "zneyzh1", variantClassNames: { computedPinned: { start: "zneyzh2", end: "zneyzh3 _16lm1iw1f _16lm1iw1m", false: "zneyzh4" }, computedFirstInCategory: { true: "zneyzh5", false: "zneyzh6" }, computedLastInCategory: { true: "zneyzh7", false: "zneyzh8" } }, defaultVariants: {}, compoundVariants: [[{ computedPinned: "end", computedLastInCategory: false, computedFirstInCategory: true }, "zneyzh9"], [{ computedPinned: false, computedFirstInCategory: false, computedLastInCategory: true }, "zneyzha"], [{ computedPinned: "start", computedFirstInCategory: false, computedLastInCategory: true }, "zneyzhb"]] });
10483
10483
 
10484
10484
  // src/components/InfiniteTable/components/InfiniteTableHeader/ResizeHandle/index.tsx
10485
10485
  var { rootClassName: rootClassName7 } = internalProps;
@@ -11821,9 +11821,9 @@ var InfiniteTableLicenseFooter = React49.forwardRef(
11821
11821
  import * as React50 from "react";
11822
11822
 
11823
11823
  // src/components/InfiniteTable/components/LoadMask.css.ts
11824
- var LoadMaskCls = { visible: "LoadMask_LoadMaskCls_visible__qy58ya1 LoadMask_LoadMaskBaseCls__qy58ya0 utilities_position_absolute__16lm1iw2 utilities_top_0__16lm1iw1d utilities_left_0__16lm1iw1f utilities_right_0__16lm1iw1k utilities_bottom_0__16lm1iw1i", hidden: "LoadMask_LoadMaskCls_hidden__qy58ya2 LoadMask_LoadMaskBaseCls__qy58ya0 utilities_position_absolute__16lm1iw2 utilities_top_0__16lm1iw1d utilities_left_0__16lm1iw1f utilities_right_0__16lm1iw1k utilities_bottom_0__16lm1iw1i" };
11825
- var LoadMaskOverlayCls = "LoadMask_LoadMaskOverlayCls__qy58ya3 utilities_position_absolute__16lm1iw2 utilities_top_0__16lm1iw1d utilities_left_0__16lm1iw1f utilities_right_0__16lm1iw1k utilities_bottom_0__16lm1iw1i";
11826
- var LoadMaskTextCls = "LoadMask_LoadMaskTextCls__qy58ya4";
11824
+ var LoadMaskCls = { visible: "qy58ya1 qy58ya0 _16lm1iw2 _16lm1iw1d _16lm1iw1f _16lm1iw1k _16lm1iw1i", hidden: "qy58ya2 qy58ya0 _16lm1iw2 _16lm1iw1d _16lm1iw1f _16lm1iw1k _16lm1iw1i" };
11825
+ var LoadMaskOverlayCls = "qy58ya3 _16lm1iw2 _16lm1iw1d _16lm1iw1f _16lm1iw1k _16lm1iw1i";
11826
+ var LoadMaskTextCls = "qy58ya4";
11827
11827
 
11828
11828
  // src/components/InfiniteTable/components/LoadMask.tsx
11829
11829
  var { rootClassName: rootClassName10 } = internalProps;
@@ -19517,6 +19517,377 @@ function getRowDetailApi(param) {
19517
19517
  return rowDetailApi;
19518
19518
  }
19519
19519
 
19520
+ // src/components/utils/clamp.ts
19521
+ function clamp(value, min, max) {
19522
+ return Math.min(Math.max(value, min), max);
19523
+ }
19524
+
19525
+ // src/components/InfiniteTable/eventHandlers/keyboardNavigation.ts
19526
+ function getNextEnabledRowIndex(getDataSourceState, activeRowIndex, direction) {
19527
+ const dataArray = getDataSourceState().dataArray;
19528
+ const min = 0;
19529
+ const max = dataArray.length - 1;
19530
+ let i = activeRowIndex;
19531
+ do {
19532
+ i += direction;
19533
+ const rowInfo = dataArray[i];
19534
+ if (!rowInfo) {
19535
+ return i < min ? min : max;
19536
+ }
19537
+ if (!rowInfo.rowDisabled) {
19538
+ return i;
19539
+ }
19540
+ } while (i >= min && i <= max);
19541
+ return clamp(i, min, max);
19542
+ }
19543
+ function handleRowNavigation(options, event) {
19544
+ const { getState, getDataSourceState, actions, api, dataSourceApi } = options;
19545
+ const { key } = event;
19546
+ const dataArray = getDataSourceState().dataArray;
19547
+ const arrLength = dataArray.length;
19548
+ const state = getState();
19549
+ const { brain } = state;
19550
+ let { activeRowIndex } = state;
19551
+ if (activeRowIndex == null) {
19552
+ return false;
19553
+ }
19554
+ const {
19555
+ start: [startRow],
19556
+ end: [endRow]
19557
+ } = brain.getRenderRange();
19558
+ const initialActiveRowIndex = activeRowIndex;
19559
+ const renderRowCount = endRow - startRow - 1;
19560
+ const min = 0;
19561
+ const max = arrLength - 1;
19562
+ const KeyToFunction = {
19563
+ ArrowDown: () => {
19564
+ activeRowIndex = getNextEnabledRowIndex(
19565
+ getDataSourceState,
19566
+ activeRowIndex,
19567
+ 1
19568
+ );
19569
+ },
19570
+ ArrowUp: () => {
19571
+ activeRowIndex = getNextEnabledRowIndex(
19572
+ getDataSourceState,
19573
+ activeRowIndex,
19574
+ -1
19575
+ );
19576
+ },
19577
+ ArrowLeft: () => {
19578
+ const rowInfo = dataArray[activeRowIndex];
19579
+ if (brain.isHorizontalLayoutBrain) {
19580
+ const rowsPerPage = brain.rowsPerPage;
19581
+ if (activeRowIndex - rowsPerPage >= min) {
19582
+ activeRowIndex = activeRowIndex - rowsPerPage;
19583
+ } else {
19584
+ KeyToFunction.ArrowUp();
19585
+ }
19586
+ return;
19587
+ }
19588
+ if (rowInfo && rowInfo.isGroupRow) {
19589
+ return api.collapseGroupRow(rowInfo.groupKeys);
19590
+ }
19591
+ if (rowInfo && api.rowDetailApi.isRowDetailEnabledForRow(rowInfo.id)) {
19592
+ return api.rowDetailApi.collapseRowDetail(rowInfo.id);
19593
+ }
19594
+ return false;
19595
+ },
19596
+ ArrowRight: () => {
19597
+ const rowInfo = dataArray[activeRowIndex];
19598
+ if (brain.isHorizontalLayoutBrain) {
19599
+ const rowsPerPage = brain.rowsPerPage;
19600
+ if (activeRowIndex + rowsPerPage <= max) {
19601
+ activeRowIndex = activeRowIndex + rowsPerPage;
19602
+ } else {
19603
+ KeyToFunction.ArrowDown();
19604
+ }
19605
+ return;
19606
+ }
19607
+ if (rowInfo && rowInfo.isGroupRow) {
19608
+ return api.expandGroupRow(rowInfo.groupKeys);
19609
+ }
19610
+ if (rowInfo && api.rowDetailApi.isRowDetailEnabledForRow(rowInfo.id)) {
19611
+ return api.rowDetailApi.expandRowDetail(rowInfo.id);
19612
+ }
19613
+ return false;
19614
+ },
19615
+ Enter: () => {
19616
+ const rowInfo = dataArray[activeRowIndex];
19617
+ if (rowInfo && rowInfo.isGroupRow) {
19618
+ return api.toggleGroupRow(rowInfo.groupKeys);
19619
+ }
19620
+ if (rowInfo && rowInfo.isTreeNode && rowInfo.isParentNode) {
19621
+ return dataSourceApi.treeApi.toggleNode(rowInfo.nodePath);
19622
+ }
19623
+ const hasRowDetail = api.rowDetailApi.isRowDetailEnabledForRow(
19624
+ rowInfo.id
19625
+ );
19626
+ if (hasRowDetail) {
19627
+ return api.rowDetailApi.toggleRowDetail(rowInfo.id);
19628
+ }
19629
+ return false;
19630
+ },
19631
+ PageDown: () => {
19632
+ activeRowIndex = Math.min(
19633
+ activeRowIndex + renderRowCount,
19634
+ arrLength - 1
19635
+ );
19636
+ },
19637
+ PageUp: () => {
19638
+ activeRowIndex = Math.max(activeRowIndex - renderRowCount, min);
19639
+ },
19640
+ End: () => {
19641
+ activeRowIndex = max;
19642
+ },
19643
+ Home: () => {
19644
+ activeRowIndex = min;
19645
+ }
19646
+ };
19647
+ const Fn = KeyToFunction[key];
19648
+ if (!Fn) {
19649
+ return false;
19650
+ }
19651
+ Fn();
19652
+ if (initialActiveRowIndex !== activeRowIndex) {
19653
+ actions.activeRowIndex = activeRowIndex;
19654
+ return true;
19655
+ }
19656
+ return false;
19657
+ }
19658
+ function computeNextActiveCellIndex(options, event) {
19659
+ const {
19660
+ api,
19661
+ getState,
19662
+ getComputed,
19663
+ getDataSourceState,
19664
+ dataSourceApi
19665
+ } = options;
19666
+ const { key, shiftKey } = event;
19667
+ const dataArray = getDataSourceState().dataArray;
19668
+ const state = getState();
19669
+ const { activeCellIndex, brain } = state;
19670
+ if (!activeCellIndex) {
19671
+ return false;
19672
+ }
19673
+ let [rowIndex, colIndex] = activeCellIndex;
19674
+ const {
19675
+ start: [startRow, startCol],
19676
+ end: [endRow, endCol]
19677
+ } = brain.getRenderRange();
19678
+ const renderRowCount = endRow - startRow - 1;
19679
+ const renderColCount = endCol - startCol - 1;
19680
+ const maxRow = getDataSourceState().dataArray.length - 1;
19681
+ const maxCol = getComputed().computedVisibleColumns.length - 1;
19682
+ const minRow = 0;
19683
+ const minCol = 0;
19684
+ rowIndex = clamp(rowIndex, 0, maxRow);
19685
+ colIndex = clamp(colIndex, 0, maxCol);
19686
+ const KeyToFunction = {
19687
+ ArrowDown: () => {
19688
+ rowIndex = clamp(rowIndex + 1, minRow, maxRow);
19689
+ },
19690
+ ArrowUp: () => {
19691
+ rowIndex = clamp(rowIndex - 1, minRow, maxRow);
19692
+ },
19693
+ ArrowLeft: () => {
19694
+ if (colIndex === minCol) {
19695
+ if (rowIndex !== minRow) {
19696
+ colIndex = maxCol;
19697
+ }
19698
+ if (brain.isHorizontalLayoutBrain) {
19699
+ const rowsPerPage = brain.rowsPerPage;
19700
+ if (rowIndex - rowsPerPage >= minRow) {
19701
+ rowIndex = rowIndex - rowsPerPage;
19702
+ } else {
19703
+ KeyToFunction.ArrowUp();
19704
+ }
19705
+ } else {
19706
+ KeyToFunction.ArrowUp();
19707
+ }
19708
+ } else {
19709
+ colIndex = clamp(colIndex - 1, minCol, maxCol);
19710
+ }
19711
+ },
19712
+ ArrowRight: () => {
19713
+ if (colIndex === maxCol) {
19714
+ if (rowIndex !== maxRow) {
19715
+ colIndex = minCol;
19716
+ }
19717
+ if (brain.isHorizontalLayoutBrain) {
19718
+ const rowsPerPage = brain.rowsPerPage;
19719
+ if (rowIndex + rowsPerPage <= maxRow) {
19720
+ rowIndex = rowIndex + rowsPerPage;
19721
+ } else {
19722
+ KeyToFunction.ArrowDown();
19723
+ }
19724
+ } else {
19725
+ KeyToFunction.ArrowDown();
19726
+ }
19727
+ } else {
19728
+ colIndex = clamp(colIndex + 1, minCol, maxCol);
19729
+ }
19730
+ },
19731
+ Enter: () => {
19732
+ const rowInfo = dataArray[rowIndex];
19733
+ if (rowInfo && rowInfo.isGroupRow) {
19734
+ return api.toggleGroupRow(rowInfo.groupKeys);
19735
+ }
19736
+ if (rowInfo && rowInfo.isTreeNode && rowInfo.isParentNode) {
19737
+ return dataSourceApi.treeApi.toggleNode(rowInfo.nodePath);
19738
+ }
19739
+ if (rowInfo && api.rowDetailApi.isRowDetailEnabledForRow(rowInfo.id)) {
19740
+ return api.rowDetailApi.toggleRowDetail(rowInfo.id);
19741
+ }
19742
+ return false;
19743
+ },
19744
+ PageDown: () => {
19745
+ if (!shiftKey) {
19746
+ rowIndex = Math.min(rowIndex + renderRowCount, maxRow);
19747
+ } else {
19748
+ colIndex = Math.min(colIndex + renderColCount, maxCol);
19749
+ }
19750
+ },
19751
+ PageUp: () => {
19752
+ if (!shiftKey) {
19753
+ rowIndex = Math.max(rowIndex - renderRowCount, minRow);
19754
+ } else {
19755
+ colIndex = Math.max(colIndex - renderColCount, minCol);
19756
+ }
19757
+ },
19758
+ End: () => {
19759
+ if (!shiftKey) {
19760
+ rowIndex = maxRow;
19761
+ } else {
19762
+ colIndex = maxCol;
19763
+ }
19764
+ },
19765
+ Home: () => {
19766
+ if (!shiftKey) {
19767
+ rowIndex = minRow;
19768
+ } else {
19769
+ colIndex = minCol;
19770
+ }
19771
+ }
19772
+ };
19773
+ const Fn = KeyToFunction[key];
19774
+ if (!Fn) {
19775
+ return false;
19776
+ }
19777
+ Fn();
19778
+ return [rowIndex, colIndex];
19779
+ }
19780
+ function handleCellNavigation(options, event) {
19781
+ const result = computeNextActiveCellIndex(
19782
+ options,
19783
+ event
19784
+ );
19785
+ if (result) {
19786
+ options.actions.activeCellIndex = result;
19787
+ return true;
19788
+ }
19789
+ return false;
19790
+ }
19791
+ var validKeys = {
19792
+ ArrowUp: true,
19793
+ ArrowDown: true,
19794
+ ArrowLeft: true,
19795
+ ArrowRight: true,
19796
+ PageUp: true,
19797
+ PageDown: true,
19798
+ Home: true,
19799
+ End: true,
19800
+ Enter: true,
19801
+ " ": true
19802
+ };
19803
+ function handleKeyboardNavigation(options, event) {
19804
+ const { key } = event;
19805
+ const { getState } = options;
19806
+ const state = getState();
19807
+ const {
19808
+ activeRowIndex,
19809
+ activeCellIndex,
19810
+ keyboardNavigation,
19811
+ cellContextMenuVisibleFor,
19812
+ contextMenuVisibleFor
19813
+ } = state;
19814
+ if (cellContextMenuVisibleFor || contextMenuVisibleFor) {
19815
+ return false;
19816
+ }
19817
+ if (!validKeys[key]) {
19818
+ return false;
19819
+ }
19820
+ if (activeRowIndex != null && keyboardNavigation === "row") {
19821
+ return handleRowNavigation(options, event);
19822
+ }
19823
+ if (activeCellIndex != null && keyboardNavigation === "cell") {
19824
+ return handleCellNavigation(options, event);
19825
+ }
19826
+ return false;
19827
+ }
19828
+
19829
+ // src/components/InfiniteTable/api/getKeyboardNavigationApi.ts
19830
+ var KeyboardNavigationApi = class {
19831
+ constructor(param) {
19832
+ this.param = param;
19833
+ }
19834
+ setKeyboardNavigation(keyboardNavigation) {
19835
+ this.param.actions.keyboardNavigation = keyboardNavigation;
19836
+ }
19837
+ setActiveCellIndex(activeCellIndex) {
19838
+ this.param.actions.activeCellIndex = activeCellIndex;
19839
+ }
19840
+ setActiveRowIndex(activeRowIndex) {
19841
+ this.param.actions.activeRowIndex = activeRowIndex;
19842
+ }
19843
+ gotoRowWithDirection(direction) {
19844
+ const { getDataSourceState, getState } = this.param;
19845
+ const { activeRowIndex, keyboardNavigation } = getState();
19846
+ if (keyboardNavigation !== "row") {
19847
+ console.error("Keyboard navigation is not enabled for rows");
19848
+ return false;
19849
+ }
19850
+ if (activeRowIndex == null) {
19851
+ return false;
19852
+ }
19853
+ const newActiveRowIndex = getNextEnabledRowIndex(
19854
+ getDataSourceState,
19855
+ activeRowIndex,
19856
+ direction
19857
+ );
19858
+ if (newActiveRowIndex !== activeRowIndex) {
19859
+ this.param.actions.activeRowIndex = newActiveRowIndex;
19860
+ return newActiveRowIndex;
19861
+ }
19862
+ return false;
19863
+ }
19864
+ gotoRow(direction) {
19865
+ return this.gotoRowWithDirection(direction);
19866
+ }
19867
+ gotoNextRow() {
19868
+ return this.gotoRow(1);
19869
+ }
19870
+ gotoPreviousRow() {
19871
+ return this.gotoRow(-1);
19872
+ }
19873
+ gotoCell(config) {
19874
+ const { direction } = config;
19875
+ const key = direction == "top" ? "ArrowUp" : direction == "bottom" ? "ArrowDown" : direction == "left" ? "ArrowLeft" : "ArrowRight";
19876
+ const activeCellIndex = computeNextActiveCellIndex(this.param, {
19877
+ key,
19878
+ shiftKey: false
19879
+ });
19880
+ if (activeCellIndex === false) {
19881
+ return false;
19882
+ }
19883
+ this.param.actions.activeCellIndex = activeCellIndex;
19884
+ return activeCellIndex;
19885
+ }
19886
+ };
19887
+ function getKeyboardNavigationApi(param) {
19888
+ return new KeyboardNavigationApi(param);
19889
+ }
19890
+
19520
19891
  // src/components/InfiniteTable/api/getImperativeApi.ts
19521
19892
  function isSortInfoForColumn(sortInfo, col) {
19522
19893
  if (sortInfo.id) {
@@ -19951,6 +20322,14 @@ var InfiniteTableApiImpl = class {
19951
20322
  dataSourceActions: context.dataSourceActions,
19952
20323
  getDataSourceState: context.getDataSourceState
19953
20324
  });
20325
+ this.keyboardNavigationApi = getKeyboardNavigationApi({
20326
+ getState: context.getState,
20327
+ getDataSourceState: context.getDataSourceState,
20328
+ actions: context.actions,
20329
+ getComputed: context.getComputed,
20330
+ api: this,
20331
+ dataSourceApi: context.dataSourceApi
20332
+ });
19954
20333
  this.rowDetailApi = getRowDetailApi({
19955
20334
  getState: context.getState,
19956
20335
  actions: context.actions,
@@ -20621,7 +21000,7 @@ function useYourBrain(param) {
20621
21000
  import * as React53 from "react";
20622
21001
 
20623
21002
  // src/components/InfiniteTable/components/rowDetail.css.ts
20624
- var RowDetailRecipe = createRuntimeFn({ defaultClassName: "rowDetail_RowDetailRecipe__evqes20", variantClassNames: {}, defaultVariants: {}, compoundVariants: [] });
21003
+ var RowDetailRecipe = createRuntimeFn({ defaultClassName: "evqes20", variantClassNames: {}, defaultVariants: {}, compoundVariants: [] });
20625
21004
 
20626
21005
  // src/components/InfiniteTable/components/InfiniteTableRow/useRegisterDetail.ts
20627
21006
  import { useMemo as useMemo8, useRef as useRef23 } from "react";
@@ -23172,7 +23551,7 @@ var useLicense = (licenseKey = "") => {
23172
23551
  }
23173
23552
  let valid2 = isValidLicense(licenseKey, {
23174
23553
  publishedAt: 1624970570587,
23175
- version: "6.1.1-canary.0"
23554
+ version: "6.2.0"
23176
23555
  });
23177
23556
  if (!licenseKey && !valid2 && isInsidePlayground) {
23178
23557
  return true;
@@ -23280,431 +23659,130 @@ function onCellDoubleClick(context, event) {
23280
23659
  };
23281
23660
  if (onCellDoubleClick2) {
23282
23661
  const result = onCellDoubleClick2(context, event);
23283
- if (result && typeof result === "object") {
23284
- dblClickResult = { ...dblClickResult, ...result };
23285
- }
23286
- }
23287
- if (dblClickResult.preventEdit) {
23288
- return;
23289
- }
23290
- const computed = context.getComputed();
23291
- const column = computed.computedVisibleColumns[context.colIndex];
23292
- context.api.startEdit({
23293
- rowIndex: context.rowIndex,
23294
- columnId: column.id
23295
- });
23296
- }
23297
- function updateCellSelectionOnCellClick(context, event) {
23298
- const {
23299
- getDataSourceState,
23300
- getState,
23301
- getComputed,
23302
- rowIndex,
23303
- colIndex,
23304
- dataSourceActions
23305
- } = context;
23306
- const dataSourceState = getDataSourceState();
23307
- const { selectionMode, cellSelection: existingCellSelection } = dataSourceState;
23308
- if (!existingCellSelection) {
23309
- return;
23310
- }
23311
- if (selectionMode !== "multi-cell") {
23312
- return;
23313
- }
23314
- const { multiCellSelector, computedVisibleColumns } = getComputed();
23315
- const { brain } = getState();
23316
- const { rowsPerPage } = brain;
23317
- const columnsPerSet = computedVisibleColumns.length;
23318
- const cellSelection = new CellSelectionState(existingCellSelection);
23319
- multiCellSelector.cellSelectionState = cellSelection;
23320
- const position2 = {
23321
- rowIndex,
23322
- colIndex
23323
- };
23324
- if (event.metaKey || event.ctrlKey) {
23325
- multiCellSelector.singleAddClick(position2);
23326
- } else if (event.shiftKey) {
23327
- const horizontalLayout = !!getState().wrapRowsHorizontally;
23328
- multiCellSelector.multiSelectClick(
23329
- position2,
23330
- horizontalLayout ? {
23331
- horizontalLayout,
23332
- rowsPerPage,
23333
- columnsPerSet
23334
- } : {
23335
- horizontalLayout
23336
- }
23337
- );
23338
- } else {
23339
- multiCellSelector.resetClick(position2);
23340
- }
23341
- dataSourceActions.cellSelection = cellSelection;
23342
- }
23343
- function updateRowSelectionOnCellClick(context, event) {
23344
- const {
23345
- rowIndex,
23346
- getDataSourceState,
23347
- getComputed,
23348
- dataSourceActions,
23349
- api,
23350
- cloneRowSelection: cloneRowSelection2
23351
- } = context;
23352
- const { multiRowSelector, renderSelectionCheckBox } = getComputed();
23353
- const dataSourceState = getDataSourceState();
23354
- const { selectionMode, groupBy, dataArray, isTree } = dataSourceState;
23355
- if (groupBy.length) {
23356
- return false;
23357
- }
23358
- if (isTree) {
23359
- return false;
23360
- }
23361
- const rowInfo = dataArray[rowIndex];
23362
- if (rowInfo?.rowDisabled) {
23363
- return false;
23364
- }
23365
- if (selectionMode === "multi-row") {
23366
- if (renderSelectionCheckBox && !event.key) {
23367
- return false;
23368
- }
23369
- let { rowSelection: rowSelectionState } = dataSourceState;
23370
- rowSelectionState = cloneRowSelection2(
23371
- rowSelectionState
23372
- );
23373
- multiRowSelector.rowSelectionState = rowSelectionState;
23374
- if (rowSelectionState && typeof rowSelectionState === "object") {
23375
- if (event.shiftKey) {
23376
- multiRowSelector.multiSelectClick(rowIndex);
23377
- } else if (event.metaKey || event.ctrlKey) {
23378
- multiRowSelector.singleAddClick(rowIndex);
23379
- } else {
23380
- multiRowSelector.resetClick(rowIndex);
23381
- }
23382
- dataSourceActions.rowSelection = rowSelectionState;
23383
- return true;
23384
- }
23385
- } else if (selectionMode === "single-row") {
23386
- const rowInfo2 = dataArray[rowIndex];
23387
- const id = rowInfo2.id;
23388
- if (event.metaKey || event.ctrlKey) {
23389
- api.rowSelectionApi.toggleRowSelection(id);
23390
- } else {
23391
- api.rowSelectionApi.selectRow(id);
23392
- }
23393
- }
23394
- return false;
23395
- }
23396
-
23397
- // src/components/InfiniteTable/eventHandlers/onCellMouseDown.ts
23398
- function onCellMouseDown(context, event) {
23399
- if (event.detail === 2) {
23400
- return;
23401
- }
23402
- updateCellSelectionOnCellMouseDown(context);
23403
- }
23404
- function updateCellSelectionOnCellMouseDown(_context) {
23405
- }
23406
-
23407
- // src/components/utils/clamp.ts
23408
- function clamp(value, min, max) {
23409
- return Math.min(Math.max(value, min), max);
23410
- }
23411
-
23412
- // src/components/InfiniteTable/eventHandlers/keyboardNavigation.ts
23413
- function getNextEnabledRowIndex(getDataSourceState, activeRowIndex, direction) {
23414
- const dataArray = getDataSourceState().dataArray;
23415
- const min = 0;
23416
- const max = dataArray.length - 1;
23417
- let i = activeRowIndex;
23418
- do {
23419
- i += direction;
23420
- const rowInfo = dataArray[i];
23421
- if (!rowInfo) {
23422
- return i < min ? min : max;
23423
- }
23424
- if (!rowInfo.rowDisabled) {
23425
- return i;
23426
- }
23427
- } while (i >= min && i <= max);
23428
- return clamp(i, min, max);
23429
- }
23430
- function handleRowNavigation(options, event) {
23431
- const { getState, getDataSourceState, actions, api, dataSourceApi } = options;
23432
- const { key } = event;
23433
- const dataArray = getDataSourceState().dataArray;
23434
- const arrLength = dataArray.length;
23435
- const state = getState();
23436
- const { brain } = state;
23437
- let { activeRowIndex } = state;
23438
- if (activeRowIndex == null) {
23439
- return false;
23440
- }
23441
- const {
23442
- start: [startRow],
23443
- end: [endRow]
23444
- } = brain.getRenderRange();
23445
- const initialActiveRowIndex = activeRowIndex;
23446
- const renderRowCount = endRow - startRow - 1;
23447
- const min = 0;
23448
- const max = arrLength - 1;
23449
- const KeyToFunction = {
23450
- ArrowDown: () => {
23451
- activeRowIndex = getNextEnabledRowIndex(
23452
- getDataSourceState,
23453
- activeRowIndex,
23454
- 1
23455
- );
23456
- },
23457
- ArrowUp: () => {
23458
- activeRowIndex = getNextEnabledRowIndex(
23459
- getDataSourceState,
23460
- activeRowIndex,
23461
- -1
23462
- );
23463
- },
23464
- ArrowLeft: () => {
23465
- const rowInfo = dataArray[activeRowIndex];
23466
- if (brain.isHorizontalLayoutBrain) {
23467
- const rowsPerPage = brain.rowsPerPage;
23468
- if (activeRowIndex - rowsPerPage >= min) {
23469
- activeRowIndex = activeRowIndex - rowsPerPage;
23470
- } else {
23471
- KeyToFunction.ArrowUp();
23472
- }
23473
- return;
23474
- }
23475
- if (rowInfo && rowInfo.isGroupRow) {
23476
- return api.collapseGroupRow(rowInfo.groupKeys);
23477
- }
23478
- if (rowInfo && api.rowDetailApi.isRowDetailEnabledForRow(rowInfo.id)) {
23479
- return api.rowDetailApi.collapseRowDetail(rowInfo.id);
23480
- }
23481
- return false;
23482
- },
23483
- ArrowRight: () => {
23484
- const rowInfo = dataArray[activeRowIndex];
23485
- if (brain.isHorizontalLayoutBrain) {
23486
- const rowsPerPage = brain.rowsPerPage;
23487
- if (activeRowIndex + rowsPerPage <= max) {
23488
- activeRowIndex = activeRowIndex + rowsPerPage;
23489
- } else {
23490
- KeyToFunction.ArrowDown();
23491
- }
23492
- return;
23493
- }
23494
- if (rowInfo && rowInfo.isGroupRow) {
23495
- return api.expandGroupRow(rowInfo.groupKeys);
23496
- }
23497
- if (rowInfo && api.rowDetailApi.isRowDetailEnabledForRow(rowInfo.id)) {
23498
- return api.rowDetailApi.expandRowDetail(rowInfo.id);
23499
- }
23500
- return false;
23501
- },
23502
- Enter: () => {
23503
- const rowInfo = dataArray[activeRowIndex];
23504
- if (rowInfo && rowInfo.isGroupRow) {
23505
- return api.toggleGroupRow(rowInfo.groupKeys);
23506
- }
23507
- if (rowInfo && rowInfo.isTreeNode && rowInfo.isParentNode) {
23508
- return dataSourceApi.treeApi.toggleNode(rowInfo.nodePath);
23509
- }
23510
- const hasRowDetail = api.rowDetailApi.isRowDetailEnabledForRow(
23511
- rowInfo.id
23512
- );
23513
- if (hasRowDetail) {
23514
- return api.rowDetailApi.toggleRowDetail(rowInfo.id);
23515
- }
23516
- return false;
23517
- },
23518
- PageDown: () => {
23519
- activeRowIndex = Math.min(
23520
- activeRowIndex + renderRowCount,
23521
- arrLength - 1
23522
- );
23523
- },
23524
- PageUp: () => {
23525
- activeRowIndex = Math.max(activeRowIndex - renderRowCount, min);
23526
- },
23527
- End: () => {
23528
- activeRowIndex = max;
23529
- },
23530
- Home: () => {
23531
- activeRowIndex = min;
23662
+ if (result && typeof result === "object") {
23663
+ dblClickResult = { ...dblClickResult, ...result };
23532
23664
  }
23533
- };
23534
- const Fn = KeyToFunction[key];
23535
- if (!Fn) {
23536
- return false;
23537
23665
  }
23538
- Fn();
23539
- if (initialActiveRowIndex !== activeRowIndex) {
23540
- actions.activeRowIndex = activeRowIndex;
23541
- return true;
23666
+ if (dblClickResult.preventEdit) {
23667
+ return;
23542
23668
  }
23543
- return false;
23669
+ const computed = context.getComputed();
23670
+ const column = computed.computedVisibleColumns[context.colIndex];
23671
+ context.api.startEdit({
23672
+ rowIndex: context.rowIndex,
23673
+ columnId: column.id
23674
+ });
23544
23675
  }
23545
- function handleCellNavigation(options, event) {
23676
+ function updateCellSelectionOnCellClick(context, event) {
23546
23677
  const {
23547
- api,
23678
+ getDataSourceState,
23548
23679
  getState,
23549
23680
  getComputed,
23550
- getDataSourceState,
23551
- dataSourceApi,
23552
- actions
23553
- } = options;
23554
- const { key, shiftKey } = event;
23555
- const dataArray = getDataSourceState().dataArray;
23556
- const state = getState();
23557
- const { activeCellIndex, brain } = state;
23558
- if (!activeCellIndex) {
23559
- return false;
23681
+ rowIndex,
23682
+ colIndex,
23683
+ dataSourceActions
23684
+ } = context;
23685
+ const dataSourceState = getDataSourceState();
23686
+ const { selectionMode, cellSelection: existingCellSelection } = dataSourceState;
23687
+ if (!existingCellSelection) {
23688
+ return;
23560
23689
  }
23561
- let [rowIndex, colIndex] = activeCellIndex;
23562
- const {
23563
- start: [startRow, startCol],
23564
- end: [endRow, endCol]
23565
- } = brain.getRenderRange();
23566
- const renderRowCount = endRow - startRow - 1;
23567
- const renderColCount = endCol - startCol - 1;
23568
- const maxRow = getDataSourceState().dataArray.length - 1;
23569
- const maxCol = getComputed().computedVisibleColumns.length - 1;
23570
- const minRow = 0;
23571
- const minCol = 0;
23572
- rowIndex = clamp(rowIndex, 0, maxRow);
23573
- colIndex = clamp(colIndex, 0, maxCol);
23574
- actions.activeCellIndex = [rowIndex, colIndex];
23575
- const KeyToFunction = {
23576
- ArrowDown: () => {
23577
- rowIndex = clamp(rowIndex + 1, minRow, maxRow);
23578
- },
23579
- ArrowUp: () => {
23580
- rowIndex = clamp(rowIndex - 1, minRow, maxRow);
23581
- },
23582
- ArrowLeft: () => {
23583
- if (colIndex === minCol) {
23584
- if (rowIndex !== minRow) {
23585
- colIndex = maxCol;
23586
- }
23587
- if (brain.isHorizontalLayoutBrain) {
23588
- const rowsPerPage = brain.rowsPerPage;
23589
- if (rowIndex - rowsPerPage >= minRow) {
23590
- rowIndex = rowIndex - rowsPerPage;
23591
- } else {
23592
- KeyToFunction.ArrowUp();
23593
- }
23594
- } else {
23595
- KeyToFunction.ArrowUp();
23596
- }
23597
- } else {
23598
- colIndex = clamp(colIndex - 1, minCol, maxCol);
23599
- }
23600
- },
23601
- ArrowRight: () => {
23602
- if (colIndex === maxCol) {
23603
- if (rowIndex !== maxRow) {
23604
- colIndex = minCol;
23605
- }
23606
- if (brain.isHorizontalLayoutBrain) {
23607
- const rowsPerPage = brain.rowsPerPage;
23608
- if (rowIndex + rowsPerPage <= maxRow) {
23609
- rowIndex = rowIndex + rowsPerPage;
23610
- } else {
23611
- KeyToFunction.ArrowDown();
23612
- }
23613
- } else {
23614
- KeyToFunction.ArrowDown();
23615
- }
23616
- } else {
23617
- colIndex = clamp(colIndex + 1, minCol, maxCol);
23618
- }
23619
- },
23620
- Enter: () => {
23621
- const rowInfo = dataArray[rowIndex];
23622
- if (rowInfo && rowInfo.isGroupRow) {
23623
- return api.toggleGroupRow(rowInfo.groupKeys);
23624
- }
23625
- if (rowInfo && rowInfo.isTreeNode && rowInfo.isParentNode) {
23626
- return dataSourceApi.treeApi.toggleNode(rowInfo.nodePath);
23627
- }
23628
- if (rowInfo && api.rowDetailApi.isRowDetailEnabledForRow(rowInfo.id)) {
23629
- return api.rowDetailApi.toggleRowDetail(rowInfo.id);
23630
- }
23631
- return false;
23632
- },
23633
- PageDown: () => {
23634
- if (!shiftKey) {
23635
- rowIndex = Math.min(rowIndex + renderRowCount, maxRow);
23636
- } else {
23637
- colIndex = Math.min(colIndex + renderColCount, maxCol);
23638
- }
23639
- },
23640
- PageUp: () => {
23641
- if (!shiftKey) {
23642
- rowIndex = Math.max(rowIndex - renderRowCount, minRow);
23643
- } else {
23644
- colIndex = Math.max(colIndex - renderColCount, minCol);
23645
- }
23646
- },
23647
- End: () => {
23648
- if (!shiftKey) {
23649
- rowIndex = maxRow;
23650
- } else {
23651
- colIndex = maxCol;
23652
- }
23653
- },
23654
- Home: () => {
23655
- if (!shiftKey) {
23656
- rowIndex = minRow;
23657
- } else {
23658
- colIndex = minCol;
23659
- }
23660
- }
23690
+ if (selectionMode !== "multi-cell") {
23691
+ return;
23692
+ }
23693
+ const { multiCellSelector, computedVisibleColumns } = getComputed();
23694
+ const { brain } = getState();
23695
+ const { rowsPerPage } = brain;
23696
+ const columnsPerSet = computedVisibleColumns.length;
23697
+ const cellSelection = new CellSelectionState(existingCellSelection);
23698
+ multiCellSelector.cellSelectionState = cellSelection;
23699
+ const position2 = {
23700
+ rowIndex,
23701
+ colIndex
23661
23702
  };
23662
- const Fn = KeyToFunction[key];
23663
- if (!Fn) {
23664
- return false;
23703
+ if (event.metaKey || event.ctrlKey) {
23704
+ multiCellSelector.singleAddClick(position2);
23705
+ } else if (event.shiftKey) {
23706
+ const horizontalLayout = !!getState().wrapRowsHorizontally;
23707
+ multiCellSelector.multiSelectClick(
23708
+ position2,
23709
+ horizontalLayout ? {
23710
+ horizontalLayout,
23711
+ rowsPerPage,
23712
+ columnsPerSet
23713
+ } : {
23714
+ horizontalLayout
23715
+ }
23716
+ );
23717
+ } else {
23718
+ multiCellSelector.resetClick(position2);
23665
23719
  }
23666
- Fn();
23667
- actions.activeCellIndex = [rowIndex, colIndex];
23668
- return true;
23720
+ dataSourceActions.cellSelection = cellSelection;
23669
23721
  }
23670
- var validKeys = {
23671
- ArrowUp: true,
23672
- ArrowDown: true,
23673
- ArrowLeft: true,
23674
- ArrowRight: true,
23675
- PageUp: true,
23676
- PageDown: true,
23677
- Home: true,
23678
- End: true,
23679
- Enter: true,
23680
- " ": true
23681
- };
23682
- function handleKeyboardNavigation(options, event) {
23683
- const { key } = event;
23684
- const { getState } = options;
23685
- const state = getState();
23722
+ function updateRowSelectionOnCellClick(context, event) {
23686
23723
  const {
23687
- activeRowIndex,
23688
- activeCellIndex,
23689
- keyboardNavigation,
23690
- cellContextMenuVisibleFor,
23691
- contextMenuVisibleFor
23692
- } = state;
23693
- if (cellContextMenuVisibleFor || contextMenuVisibleFor) {
23724
+ rowIndex,
23725
+ getDataSourceState,
23726
+ getComputed,
23727
+ dataSourceActions,
23728
+ api,
23729
+ cloneRowSelection: cloneRowSelection2
23730
+ } = context;
23731
+ const { multiRowSelector, renderSelectionCheckBox } = getComputed();
23732
+ const dataSourceState = getDataSourceState();
23733
+ const { selectionMode, groupBy, dataArray, isTree } = dataSourceState;
23734
+ if (groupBy.length) {
23694
23735
  return false;
23695
23736
  }
23696
- if (!validKeys[key]) {
23737
+ if (isTree) {
23697
23738
  return false;
23698
23739
  }
23699
- if (activeRowIndex != null && keyboardNavigation === "row") {
23700
- return handleRowNavigation(options, event);
23740
+ const rowInfo = dataArray[rowIndex];
23741
+ if (rowInfo?.rowDisabled) {
23742
+ return false;
23701
23743
  }
23702
- if (activeCellIndex != null && keyboardNavigation === "cell") {
23703
- return handleCellNavigation(options, event);
23744
+ if (selectionMode === "multi-row") {
23745
+ if (renderSelectionCheckBox && !event.key) {
23746
+ return false;
23747
+ }
23748
+ let { rowSelection: rowSelectionState } = dataSourceState;
23749
+ rowSelectionState = cloneRowSelection2(
23750
+ rowSelectionState
23751
+ );
23752
+ multiRowSelector.rowSelectionState = rowSelectionState;
23753
+ if (rowSelectionState && typeof rowSelectionState === "object") {
23754
+ if (event.shiftKey) {
23755
+ multiRowSelector.multiSelectClick(rowIndex);
23756
+ } else if (event.metaKey || event.ctrlKey) {
23757
+ multiRowSelector.singleAddClick(rowIndex);
23758
+ } else {
23759
+ multiRowSelector.resetClick(rowIndex);
23760
+ }
23761
+ dataSourceActions.rowSelection = rowSelectionState;
23762
+ return true;
23763
+ }
23764
+ } else if (selectionMode === "single-row") {
23765
+ const rowInfo2 = dataArray[rowIndex];
23766
+ const id = rowInfo2.id;
23767
+ if (event.metaKey || event.ctrlKey) {
23768
+ api.rowSelectionApi.toggleRowSelection(id);
23769
+ } else {
23770
+ api.rowSelectionApi.selectRow(id);
23771
+ }
23704
23772
  }
23705
23773
  return false;
23706
23774
  }
23707
23775
 
23776
+ // src/components/InfiniteTable/eventHandlers/onCellMouseDown.ts
23777
+ function onCellMouseDown(context, event) {
23778
+ if (event.detail === 2) {
23779
+ return;
23780
+ }
23781
+ updateCellSelectionOnCellMouseDown(context);
23782
+ }
23783
+ function updateCellSelectionOnCellMouseDown(_context) {
23784
+ }
23785
+
23708
23786
  // src/components/InfiniteTable/eventHandlers/keyboardSelection.ts
23709
23787
  var validKeys2 = {
23710
23788
  Enter: true,
@@ -24951,10 +25029,10 @@ MenuItem.defaultProps = {
24951
25029
  };
24952
25030
 
24953
25031
  // src/components/Menu/MenuCls.css.ts
24954
- var MenuCls = "MenuCls_MenuCls__db3arf0 utilities_boxSizingBorderBox__16lm1iw0 utilities_position_relative__16lm1iw1 utilities_display_inlineGrid__16lm1iw16 utilities_flexFlow_column__16lm1iw1n utilities_margin_none__16lm1iw8";
24955
- var MenuItemCls = createRuntimeFn({ defaultClassName: "MenuCls_MenuItemCls__db3arf2 utilities_display_flex__16lm1iwz utilities_alignItems_center__16lm1iw1r utilities_userSelect_none__16lm1iw17", variantClassNames: { disabled: { true: "MenuCls_MenuItemCls_disabled_true__db3arf3 utilities_cursor_default__16lm1iwj utilities_userSelect_none__16lm1iw17", false: "utilities_cursor_pointer__16lm1iwi" }, active: { true: "MenuCls_MenuItemCls_active_true__db3arf5", false: "MenuCls_MenuItemCls_active_false__db3arf6" }, pressed: { false: "MenuCls_MenuItemCls_pressed_false__db3arf7", true: "MenuCls_MenuItemCls_pressed_true__db3arf8" }, keyboardActive: { true: "MenuCls_MenuItemCls_keyboardActive_true__db3arf9", false: "MenuCls_MenuItemCls_keyboardActive_false__db3arfa" } }, defaultVariants: {}, compoundVariants: [[{ active: true, disabled: false }, "MenuCls_MenuItemCls_compound_0__db3arfb"], [{ pressed: true, active: true, disabled: false }, "MenuCls_MenuItemCls_compound_1__db3arfc"]] });
24956
- var MenuRowCls = "MenuCls_MenuRowCls__db3arf1";
24957
- var MenuSeparatorCls = "MenuCls_MenuSeparatorCls__db3arfd";
25032
+ var MenuCls = "db3arf0 _16lm1iw0 _16lm1iw1 _16lm1iw16 _16lm1iw1n _16lm1iw8";
25033
+ var MenuItemCls = createRuntimeFn({ defaultClassName: "db3arf2 _16lm1iwz _16lm1iw1r _16lm1iw17", variantClassNames: { disabled: { true: "db3arf3 _16lm1iwj _16lm1iw17", false: "_16lm1iwi" }, active: { true: "db3arf5", false: "db3arf6" }, pressed: { false: "db3arf7", true: "db3arf8" }, keyboardActive: { true: "db3arf9", false: "db3arfa" } }, defaultVariants: {}, compoundVariants: [[{ active: true, disabled: false }, "db3arfb"], [{ pressed: true, active: true, disabled: false }, "db3arfc"]] });
25034
+ var MenuRowCls = "db3arf1";
25035
+ var MenuSeparatorCls = "db3arfd";
24958
25036
 
24959
25037
  // src/components/Menu/childrenToRuntimeItems.tsx
24960
25038
  var SEPARATOR = "-";
@@ -26906,7 +26984,7 @@ function useGridScroll(onScroll, deps) {
26906
26984
  }
26907
26985
 
26908
26986
  // src/components/InfiniteTable/components/HScrollSyncContent.css.ts
26909
- var HScrollSyncContentCls = "HScrollSyncContent_HScrollSyncContentCls__yzx0vj0";
26987
+ var HScrollSyncContentCls = "yzx0vj0";
26910
26988
 
26911
26989
  // src/components/InfiniteTable/components/HScrollSyncContent.tsx
26912
26990
  function HScrollSyncContent(props) {