@infinite-table/infinite-react 8.0.0 → 8.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.d.ts CHANGED
@@ -998,6 +998,25 @@ type PointCoords = {
998
998
  top: number;
999
999
  left: number;
1000
1000
  };
1001
+ declare class Point {
1002
+ top: PointCoords['top'];
1003
+ left: PointCoords['left'];
1004
+ static clone(point: PointCoords): Point;
1005
+ static from(point: PointCoords): Point;
1006
+ constructor(point: PointCoords);
1007
+ shift(shiftOptions: {
1008
+ top: number;
1009
+ } | {
1010
+ top: number;
1011
+ left: number;
1012
+ } | {
1013
+ left: number;
1014
+ }): this;
1015
+ getDistanceToPoint(point: PointCoords): {
1016
+ top: number;
1017
+ left: number;
1018
+ };
1019
+ }
1001
1020
 
1002
1021
  interface RowDetailCacheStorage<_K, T> {
1003
1022
  add(key: any, value: T): void;
@@ -6861,6 +6880,24 @@ type InfiniteCheckBoxProps = {
6861
6880
  };
6862
6881
  declare function InfiniteCheckBox(props: InfiniteCheckBoxProps): React$1.JSX.Element;
6863
6882
 
6883
+ type ArrayWithAtLeast3<T> = [T, T, T, ...T[]];
6884
+
6885
+ declare abstract class PolyWithPoints {
6886
+ abstract getPoints(): ArrayWithAtLeast3<PointCoords>;
6887
+ abstract shift(shiftOptions: {
6888
+ top: number;
6889
+ } | {
6890
+ top: number;
6891
+ left: number;
6892
+ } | {
6893
+ left: number;
6894
+ }): PolyWithPoints;
6895
+ containsPoint(point: PointCoords): boolean;
6896
+ contains(poly: PolyWithPoints): boolean;
6897
+ intersects(r: PolyWithPoints): boolean;
6898
+ privateIntersects(r: PolyWithPoints, skipOtherCheck: boolean): boolean;
6899
+ }
6900
+
6864
6901
  type CoordsWithSize = {
6865
6902
  width: number;
6866
6903
  height: number;
@@ -6874,6 +6911,49 @@ type CoordsNoSize = {
6874
6911
  top: number;
6875
6912
  };
6876
6913
  type RectangleCoords = CoordsWithSize | CoordsNoSize;
6914
+ declare class Rectangle extends PolyWithPoints {
6915
+ top: number;
6916
+ left: number;
6917
+ width: number;
6918
+ height: number;
6919
+ static fromDOMRect(rect: DOMRect): Rectangle;
6920
+ static clone(rect: DOMRect | Rectangle | RectangleCoords): Rectangle;
6921
+ static from(rect: DOMRect | Rectangle | RectangleCoords): Rectangle;
6922
+ static fromPoint(point: PointCoords): Rectangle;
6923
+ constructor(coordsAndSize: RectangleCoords);
6924
+ getMinimumBoundingRectangle(...otherRectangles: Rectangle[]): Rectangle;
6925
+ toDOMRect(): DOMRectReadOnly;
6926
+ containsPoint(p: PointCoords): boolean;
6927
+ getTopLeft(): {
6928
+ left: number;
6929
+ top: number;
6930
+ };
6931
+ getTopRight(): {
6932
+ left: number;
6933
+ top: number;
6934
+ };
6935
+ getBottomLeft(): {
6936
+ left: number;
6937
+ top: number;
6938
+ };
6939
+ getBottomRight(): {
6940
+ left: number;
6941
+ top: number;
6942
+ };
6943
+ getCenter(): {
6944
+ left: number;
6945
+ top: number;
6946
+ };
6947
+ getPoints(): [Point, Point, Point, Point];
6948
+ shift(shiftOptions: {
6949
+ top: number;
6950
+ } | {
6951
+ top: number;
6952
+ left: number;
6953
+ } | {
6954
+ left: number;
6955
+ }): this;
6956
+ }
6877
6957
 
6878
6958
  type Alignable = RectangleCoords | HTMLElement | DOMRect;
6879
6959
  type AlignPositionEnum = 'TopLeft' | 'TopCenter' | 'TopRight' | 'CenterRight' | 'BottomRight' | 'BottomCenter' | 'BottomLeft' | 'CenterLeft' | 'Center';
@@ -7708,6 +7788,176 @@ declare namespace Menu {
7708
7788
  var __is_infinite_menu_component: boolean;
7709
7789
  }
7710
7790
 
7791
+ type DragDropSourceAndTarget = {
7792
+ dragSourceListId: string | null;
7793
+ dropTargetListId: string | null;
7794
+ dragItemId: string;
7795
+ status: 'accepted' | 'rejected';
7796
+ };
7797
+ type DragDropProviderContextValue = DragDropSourceAndTarget & {
7798
+ updateDragOperationSourceAndTarget: (params: DragDropSourceAndTarget) => void;
7799
+ getCurrentDragSourceAndTarget: () => DragDropSourceAndTarget;
7800
+ };
7801
+ declare const useDragDropProvider: () => DragDropProviderContextValue;
7802
+ declare const DragDropProvider: (props: {
7803
+ children: React$1.ReactNode | ((context: DragDropProviderContextValue) => React$1.ReactNode);
7804
+ }) => React$1.JSX.Element;
7805
+
7806
+ type EventHandler<T extends (...args: any[]) => void> = T;
7807
+ declare class EventEmitter<Events extends Record<string, (...args: any[]) => void>> {
7808
+ private listeners;
7809
+ constructor(listeners?: {
7810
+ [K in keyof Events]?: EventHandler<Events[K]>;
7811
+ });
7812
+ on<K extends keyof Events>(event: K, handler: EventHandler<Events[K]>): () => void;
7813
+ once<K extends keyof Events>(event: K, handler: EventHandler<Events[K]>): () => void;
7814
+ off<K extends keyof Events>(event: K, handler: EventHandler<Events[K]>): void;
7815
+ emit<K extends keyof Events>(event: K, ...payload: Parameters<Events[K]>): void;
7816
+ clear<K extends keyof Events>(event: K): void;
7817
+ clearAll(): void;
7818
+ }
7819
+
7820
+ type DragInteractionTargetOrientation = 'horizontal' | 'vertical';
7821
+ type DragInteractionTargetData = {
7822
+ orientation: DragInteractionTargetOrientation;
7823
+ draggableItems: DraggableItem[];
7824
+ listRectangle: Rectangle;
7825
+ listId: string;
7826
+ acceptDropsFrom?: string[];
7827
+ shouldAcceptDrop?: (event: DragInteractionTargetMoveEvent) => boolean;
7828
+ initial: boolean;
7829
+ };
7830
+ type DraggableItem = {
7831
+ id: string;
7832
+ rect: DOMRectReadOnly;
7833
+ };
7834
+ type DragInteractionTargetStartEvent = {
7835
+ dragIndex: number;
7836
+ dragItem: DraggableItem;
7837
+ dragSourceListId: string;
7838
+ dropTargetListId: string | null;
7839
+ };
7840
+ type DragInteractionTargetDropEvent = {
7841
+ dragIndex: number;
7842
+ dragItem: DraggableItem;
7843
+ items: DraggableItem[];
7844
+ outside: boolean;
7845
+ dropIndex: number;
7846
+ dragSourceListId: string;
7847
+ dropTargetListId: string | null;
7848
+ sortedIndexes: number[];
7849
+ status: 'accepted' | 'rejected';
7850
+ };
7851
+ type DragInteractionTargetMoveEvent = {
7852
+ offset: PointCoords;
7853
+ dropIndex: number;
7854
+ dragIndex: number;
7855
+ dragItem: DraggableItem;
7856
+ items: DraggableItem[];
7857
+ outside: boolean;
7858
+ dragSourceListId: string;
7859
+ dropTargetListId: string | null;
7860
+ dragRect: DOMRectReadOnly;
7861
+ offsetsForItems: PointCoords[];
7862
+ status: 'accepted' | 'rejected';
7863
+ };
7864
+ type DragInteractionTargetEvents = {
7865
+ move: (params: DragInteractionTargetMoveEvent) => void;
7866
+ drop: (params: DragInteractionTargetDropEvent) => void;
7867
+ 'accept-feedback': (params: DragInteractionTargetMoveEvent) => void;
7868
+ 'reject-feedback': (params: DragInteractionTargetMoveEvent) => void;
7869
+ start: (params: DragInteractionTargetStartEvent) => void;
7870
+ unregister: (self: DragInteractionTarget) => void;
7871
+ };
7872
+ declare class DragInteractionTarget extends EventEmitter<DragInteractionTargetEvents> {
7873
+ private data;
7874
+ /**
7875
+ * When the active drag source is outside the drag interaction target,
7876
+ * the drag index will be set to -1.
7877
+ *
7878
+ * Otherwise, when this drag interaction target contains
7879
+ * the active drag source, the drag index will be set to the index of the draggable item
7880
+ * that is being dragged.
7881
+ */
7882
+ protected dragIndex: number;
7883
+ breakpoints: number[];
7884
+ constructor(data: DragInteractionTargetData);
7885
+ get listId(): string;
7886
+ activeDragSourcePosition: 'inside' | 'outside';
7887
+ setData(data: DragInteractionTargetData): boolean;
7888
+ getData(): DragInteractionTargetData;
7889
+ isEqual(model: DragInteractionTarget): boolean;
7890
+ acceptsSelfDrops(): boolean;
7891
+ private previousAcceptsDropResult;
7892
+ acceptsDrop(event: DragInteractionTargetMoveEvent): boolean;
7893
+ move(params: DragInteractionTargetMoveEvent): void;
7894
+ unregister(): void;
7895
+ start(params: DragInteractionTargetStartEvent): void;
7896
+ drop(params: DragInteractionTargetMoveEvent): void;
7897
+ }
7898
+
7899
+ type DragListContextValue = {
7900
+ dragItemId: string | number | null;
7901
+ onDragItemPointerDown: (e: React$1.PointerEvent) => void;
7902
+ draggingInProgress: boolean;
7903
+ dragListId: string;
7904
+ dragSourceListId: string | null;
7905
+ dropTargetListId: string | null;
7906
+ status: 'accepted' | 'rejected';
7907
+ };
7908
+ declare const useDragListContext: () => DragListContextValue;
7909
+ type DragListProps = {
7910
+ dragListId: string;
7911
+ children: (domProps: React$1.HTMLProps<HTMLDivElement>, context: DragListContextValue) => React$1.ReactNode;
7912
+ orientation: 'horizontal' | 'vertical';
7913
+ acceptDropsFrom?: string[];
7914
+ removeOnDropOutside?: boolean;
7915
+ shouldAcceptDrop?: (event: DragInteractionTargetMoveEvent) => boolean;
7916
+ onRemove?: (sortedIndexes: number[], options: {
7917
+ dragIndex: number;
7918
+ dragItemId: string;
7919
+ }) => void;
7920
+ onAcceptDrop?: (options: {
7921
+ dragItemId: string;
7922
+ dragSourceListId: string;
7923
+ dropTargetListId: string;
7924
+ dragIndex: number;
7925
+ dropIndex: number;
7926
+ dropItemId?: string;
7927
+ }) => void;
7928
+ onDrop: (sortedIndexes: number[], options: {
7929
+ dragIndex: number;
7930
+ dropIndex: number;
7931
+ dragItemId: string;
7932
+ dropItemId?: string;
7933
+ }) => void;
7934
+ updatePosition?: (options: {
7935
+ id: string;
7936
+ node: HTMLElement;
7937
+ offset: null | {
7938
+ left: number;
7939
+ top: number;
7940
+ };
7941
+ }) => void;
7942
+ };
7943
+ declare const DragList: {
7944
+ (props: DragListProps): React$1.JSX.Element;
7945
+ DraggableItem: (props: DraggableItemProps) => React$1.JSX.Element;
7946
+ };
7947
+ type DragItemContextValue = {
7948
+ dragItemId: string | number;
7949
+ dragListId: string | null;
7950
+ active: boolean;
7951
+ draggingInProgress: boolean;
7952
+ dragSourceListId: string | null;
7953
+ dropTargetListId: string | null;
7954
+ };
7955
+ type DraggableItemProps = {
7956
+ id: string | number;
7957
+ children: React$1.ReactNode | ((domProps: React$1.HTMLAttributes<HTMLDivElement>, context: DragItemContextValue) => React$1.ReactNode);
7958
+ };
7959
+ declare const DRAG_ITEM_ATTRIBUTE = "data-drag-item-id";
7960
+
7711
7961
  declare function useEffectWithChanges<T>(fn: (changes: Record<keyof T, any>, prevValues: Record<string, any>) => void | (() => void), deps: Record<keyof T, any>): void;
7712
7962
  declare function useLayoutEffectWithChanges<T>(fn: (changes: Record<keyof T, any>, prevValues: Record<string, any>) => void | (() => void), deps: Record<keyof T, any>): void;
7713
7963
  declare function useEffectWithObject(fn: EffectCallback, deps: Record<string, any>): void;
@@ -7793,4 +8043,4 @@ declare const components: {
7793
8043
  NumberFilterEditor: typeof NumberFilterEditor;
7794
8044
  };
7795
8045
 
7796
- export { type AdvancedAlignable, CellSelectionState, type CellSelectionStateObject, type ColumnTypeWithInherit, DataClient, DataSource, type DataSourceAction, DataSourceActionType, type DataSourceAggregationReducer, type DataSourceApi, type DataSourceCRUDParam, type DataSourceCallback_BaseParam, type DataSourceComponentActions, type DataSourceContextValue, type DataSourceData, type DataSourceDataFn, type DataSourceDataParams, type DataSourceDataParamsChanges, type DataSourceDebugWarningKey, type DataSourceDerivedState, type DataSourceFilterFunctionParam, type DataSourceFilterOperator, type DataSourceFilterOperatorFunction, type DataSourceFilterOperatorFunctionParam, type DataSourceFilterType, type DataSourceFilterValueItem, type DataSourceFilterValueItemValueGetter, type DataSourceGroupBy, type DataSourceGroupRowsList, type DataSourceInsertParam, type DataSourceLivePaginationCursorFn, type DataSourceLivePaginationCursorParams, type DataSourceLivePaginationCursorValue, type DataSourceMappedState, type DataSourceMappings, type DataSourceMasterDetailContextValue, type DataSourcePivotBy, type DataSourcePropAggregationReducers, type DataSourcePropCellSelection, type DataSourcePropCellSelection_MultiCell, type DataSourcePropCellSelection_SingleCell, type DataSourcePropFilterFunction, type DataSourcePropFilterTypes, type DataSourcePropFilterValue, type DataSourcePropGroupBy, type DataSourcePropGroupRowsState, type DataSourcePropGroupRowsStateObject, type DataSourcePropIsNodeExpanded, type DataSourcePropIsNodeReadOnly, type DataSourcePropIsNodeSelectable, type DataSourcePropIsNodeSelected, type DataSourcePropIsRowSelected, type DataSourcePropLivePaginationCursor, type DataSourcePropMultiRowSelectionChangeParamType, type DataSourcePropOnCellSelectionChange, type DataSourcePropOnCellSelectionChange_MultiCell, type DataSourcePropOnCellSelectionChange_SingleCell, type DataSourcePropOnRowSelectionChange, type DataSourcePropOnRowSelectionChange_MultiRow, type DataSourcePropOnRowSelectionChange_SingleRow, type DataSourcePropOnTreeSelectionChange, type DataSourcePropOnTreeSelectionChange_MultiNode, type DataSourcePropOnTreeSelectionChange_SingleNode, type DataSourcePropPivotBy, type DataSourcePropRowInfoReducers, type DataSourcePropRowSelection, type DataSourcePropRowSelection_MultiRow, type DataSourcePropRowSelection_SingleRow, type DataSourcePropSelectionMode, type DataSourcePropShouldReloadData, type DataSourcePropShouldReloadDataObject, type DataSourcePropSortFn, type DataSourcePropSortInfo, type DataSourcePropSortTypes, type DataSourcePropTreeFilterFunction, type DataSourcePropTreeSelection, type DataSourcePropTreeSelection_MultiNode, type DataSourcePropTreeSelection_SingleNode, type DataSourceProps, type DataSourcePropsNotAvailableInTreeDataSource, type DataSourcePropsWithChildren, type DataSourceRawReducer, type DataSourceRemoteData, type DataSourceRowInfoReducer, type DataSourceSetupState, type DataSourceSingleSortInfo, type DataSourceSortInfo, type DataSourceStableContextValue, type DataSourceState, type DataSourceUpdateParam, type DebugLogger, type DebugTimingKey, type DebugWarningPayload, DeepMap, type DevToolsDataSourceOverrides, type DevToolsGenericMessage, type DevToolsHookFn, type DevToolsHookFnOptions, type DevToolsHostPageLogMessage, type DevToolsHostPageLogMessagePayload, type DevToolsHostPageMessage, type DevToolsHostPageMessagePayload, type DevToolsHostPageMessageType, type DevToolsInfiniteOverrides, type DevToolsMessageAddress, type DevToolsOverrides, type ElementContainerGetter, type ErrorCodeKey, FixedSizeSet, FlashingColumnCell, GroupRowsState, INTERNAL_MatrixDebugger, type InfiniteColumnEditorContextType, InfiniteTable, type InfiniteTableAction, InfiniteTableActionType, type InfiniteTableApi, type InfiniteTableCellSelectionApi, InfiniteTableClassName, type InfiniteTableColumn, type InfiniteTableColumnAggregator, type InfiniteTableColumnApi, type InfiniteTableColumnCellContextType, type InfiniteTableColumnComparer, type InfiniteTableColumnGroup, type InfiniteTableColumnRenderFunctionForGroupRows, type InfiniteTableColumnRenderFunctionForNormalRows, type InfiniteTableColumnRenderValueParam, type InfiniteTableColumnRowspanParam, type InfiniteTableColumnSizingOptions, type InfiniteTableColumnValueFormatterParams, type InfiniteTableColumnValueGetterParams, InfiniteTableComponent, type InfiniteTableComputedColumn, type InfiniteTableComputedValues, type InfiniteTableContextValue, type InfiniteTableDebugWarningKey, type InfiniteTableGroupColumnBase, type InfiniteTableGroupColumnFunction, type InfiniteTableGroupColumnGetterOptions, type InfiniteTableKeyboardNavigationApi, type InfiniteTablePivotColumn, type InfiniteTablePropAutoSizeColumnsKey, type InfiniteTablePropColumnGroupVisibility, type InfiniteTablePropColumnGroups, type InfiniteTablePropColumnOrder, type InfiniteTablePropColumnPinning, type InfiniteTablePropColumnSizing, type InfiniteTablePropColumnTypes, type InfiniteTablePropColumnVisibility, type InfiniteTablePropColumns, type InfiniteTablePropComponents, type InfiniteTablePropGetCellContextMenuItems, type InfiniteTablePropGetColumnMenuItems, type InfiniteTablePropGetContextMenuItems, type InfiniteTablePropGroupColumn, type InfiniteTablePropGroupRenderStrategy, type InfiniteTablePropHeaderOptions, type InfiniteTablePropKeyboardNavigation, type InfiniteTablePropKeyboardShorcut, type InfiniteTablePropMultiSortBehavior, type InfiniteTablePropRowClassName, type InfiniteTablePropRowStyle, type InfiniteTableProps, type InfiniteTablePropsNotAvailableInTreeGrid, type InfiniteTableRowClassNameFn, type InfiniteTableRowDetailApi, type InfiniteTableRowInfo, type InfiniteTableRowSelectionApi, type InfiniteTableRowStyleFn, type InfiniteTableState, type InfiniteTable_HasGrouping_RowInfoGroup, type InfiniteTable_HasGrouping_RowInfoNormal, type InfiniteTable_Tree_RowInfoLeafNode, type InfiniteTable_Tree_RowInfoNode, type InfiniteTable_Tree_RowInfoParentNode, type LazyGroupDataDeepMap, type LazyGroupDataItem, type LazyRowInfoGroup, Menu, type MenuChildrenFnParam, type MenuColumn, type MenuColumnRenderParam, type MenuDecoration, type MenuIconProps, type MenuItemActionContext, type MenuItemDefinition, type MenuItemObject, type MenuProps, type MenuRenderable, type MenuRuntimeItem, type MenuRuntimeItemSelectable, type MenuSeparator, type OverlayShowParams, RowDetailCache, RowDetailState, type RowDetailStateObject, RowDisabledState, type RowDisabledStateObject, RowSelectionState, type ScrollStopInfo, type Scrollbars, type ShowOverlayFn, type TableRenderRange, TreeDataSource, type TreeDataSourceProps, TreeExpandState, type TreeExpandStateValue, TreeGrid, type TreeGridOnlyProps, type TreeGridProps, TreeSelectionState, type TreeSelectionStateObject, type TreeSelectionValue, type UpdateChildrenFn, type UpdateOverlayContentFn, type WaitForNodeOptions, WeakFixedSizeSet, alignNode, components, createFlashingColumnCellComponent, debounce, debug, defaultFilterTypes, eventMatchesKeyboardShortcut, filterDataArray, defaultFilterTypes as filterTypes, flatten, buildManagedComponent as getComponentStateRoot, group, interceptMap, keyboardShortcuts, multisort, multisortNested, queryKeyToCacheKey, toTreeDataArray, useManagedComponentState as useComponentState, useDataSourceInternal, useDataSourceSelector, useDataSourceState, useEffectWhen, useEffectWhenSameDeps, useEffectWithChanges, useEffectWithObject, useGridScroll, useInfiniteColumnCell, useInfiniteColumnEditor, useInfiniteColumnFilterEditor, useInfiniteHeaderCell, useInfinitePortalContainer, useLayoutEffectWithChanges, useManagedDataSource, useMasterRowInfo, useOverlay, useOverlayPortal, usePrevious, useRowInfoReducers, useVisibleColumnSizes, withSelectedLeafNodesOnly };
8046
+ export { type AdvancedAlignable, CellSelectionState, type CellSelectionStateObject, type ColumnTypeWithInherit, DRAG_ITEM_ATTRIBUTE, DataClient, DataSource, type DataSourceAction, DataSourceActionType, type DataSourceAggregationReducer, type DataSourceApi, type DataSourceCRUDParam, type DataSourceCallback_BaseParam, type DataSourceComponentActions, type DataSourceContextValue, type DataSourceData, type DataSourceDataFn, type DataSourceDataParams, type DataSourceDataParamsChanges, type DataSourceDebugWarningKey, type DataSourceDerivedState, type DataSourceFilterFunctionParam, type DataSourceFilterOperator, type DataSourceFilterOperatorFunction, type DataSourceFilterOperatorFunctionParam, type DataSourceFilterType, type DataSourceFilterValueItem, type DataSourceFilterValueItemValueGetter, type DataSourceGroupBy, type DataSourceGroupRowsList, type DataSourceInsertParam, type DataSourceLivePaginationCursorFn, type DataSourceLivePaginationCursorParams, type DataSourceLivePaginationCursorValue, type DataSourceMappedState, type DataSourceMappings, type DataSourceMasterDetailContextValue, type DataSourcePivotBy, type DataSourcePropAggregationReducers, type DataSourcePropCellSelection, type DataSourcePropCellSelection_MultiCell, type DataSourcePropCellSelection_SingleCell, type DataSourcePropFilterFunction, type DataSourcePropFilterTypes, type DataSourcePropFilterValue, type DataSourcePropGroupBy, type DataSourcePropGroupRowsState, type DataSourcePropGroupRowsStateObject, type DataSourcePropIsNodeExpanded, type DataSourcePropIsNodeReadOnly, type DataSourcePropIsNodeSelectable, type DataSourcePropIsNodeSelected, type DataSourcePropIsRowSelected, type DataSourcePropLivePaginationCursor, type DataSourcePropMultiRowSelectionChangeParamType, type DataSourcePropOnCellSelectionChange, type DataSourcePropOnCellSelectionChange_MultiCell, type DataSourcePropOnCellSelectionChange_SingleCell, type DataSourcePropOnRowSelectionChange, type DataSourcePropOnRowSelectionChange_MultiRow, type DataSourcePropOnRowSelectionChange_SingleRow, type DataSourcePropOnTreeSelectionChange, type DataSourcePropOnTreeSelectionChange_MultiNode, type DataSourcePropOnTreeSelectionChange_SingleNode, type DataSourcePropPivotBy, type DataSourcePropRowInfoReducers, type DataSourcePropRowSelection, type DataSourcePropRowSelection_MultiRow, type DataSourcePropRowSelection_SingleRow, type DataSourcePropSelectionMode, type DataSourcePropShouldReloadData, type DataSourcePropShouldReloadDataObject, type DataSourcePropSortFn, type DataSourcePropSortInfo, type DataSourcePropSortTypes, type DataSourcePropTreeFilterFunction, type DataSourcePropTreeSelection, type DataSourcePropTreeSelection_MultiNode, type DataSourcePropTreeSelection_SingleNode, type DataSourceProps, type DataSourcePropsNotAvailableInTreeDataSource, type DataSourcePropsWithChildren, type DataSourceRawReducer, type DataSourceRemoteData, type DataSourceRowInfoReducer, type DataSourceSetupState, type DataSourceSingleSortInfo, type DataSourceSortInfo, type DataSourceStableContextValue, type DataSourceState, type DataSourceUpdateParam, type DebugLogger, type DebugTimingKey, type DebugWarningPayload, DeepMap, type DevToolsDataSourceOverrides, type DevToolsGenericMessage, type DevToolsHookFn, type DevToolsHookFnOptions, type DevToolsHostPageLogMessage, type DevToolsHostPageLogMessagePayload, type DevToolsHostPageMessage, type DevToolsHostPageMessagePayload, type DevToolsHostPageMessageType, type DevToolsInfiniteOverrides, type DevToolsMessageAddress, type DevToolsOverrides, DragDropProvider, type DragDropSourceAndTarget, DragInteractionTarget, DragList, type DragListProps, type ElementContainerGetter, type ErrorCodeKey, FixedSizeSet, FlashingColumnCell, GroupRowsState, INTERNAL_MatrixDebugger, type InfiniteColumnEditorContextType, InfiniteTable, type InfiniteTableAction, InfiniteTableActionType, type InfiniteTableApi, type InfiniteTableCellSelectionApi, InfiniteTableClassName, type InfiniteTableColumn, type InfiniteTableColumnAggregator, type InfiniteTableColumnApi, type InfiniteTableColumnCellContextType, type InfiniteTableColumnComparer, type InfiniteTableColumnGroup, type InfiniteTableColumnRenderFunctionForGroupRows, type InfiniteTableColumnRenderFunctionForNormalRows, type InfiniteTableColumnRenderValueParam, type InfiniteTableColumnRowspanParam, type InfiniteTableColumnSizingOptions, type InfiniteTableColumnValueFormatterParams, type InfiniteTableColumnValueGetterParams, InfiniteTableComponent, type InfiniteTableComputedColumn, type InfiniteTableComputedValues, type InfiniteTableContextValue, type InfiniteTableDebugWarningKey, type InfiniteTableGroupColumnBase, type InfiniteTableGroupColumnFunction, type InfiniteTableGroupColumnGetterOptions, type InfiniteTableKeyboardNavigationApi, type InfiniteTablePivotColumn, type InfiniteTablePropAutoSizeColumnsKey, type InfiniteTablePropColumnGroupVisibility, type InfiniteTablePropColumnGroups, type InfiniteTablePropColumnOrder, type InfiniteTablePropColumnPinning, type InfiniteTablePropColumnSizing, type InfiniteTablePropColumnTypes, type InfiniteTablePropColumnVisibility, type InfiniteTablePropColumns, type InfiniteTablePropComponents, type InfiniteTablePropGetCellContextMenuItems, type InfiniteTablePropGetColumnMenuItems, type InfiniteTablePropGetContextMenuItems, type InfiniteTablePropGroupColumn, type InfiniteTablePropGroupRenderStrategy, type InfiniteTablePropHeaderOptions, type InfiniteTablePropKeyboardNavigation, type InfiniteTablePropKeyboardShorcut, type InfiniteTablePropMultiSortBehavior, type InfiniteTablePropRowClassName, type InfiniteTablePropRowStyle, type InfiniteTableProps, type InfiniteTablePropsNotAvailableInTreeGrid, type InfiniteTableRowClassNameFn, type InfiniteTableRowDetailApi, type InfiniteTableRowInfo, type InfiniteTableRowSelectionApi, type InfiniteTableRowStyleFn, type InfiniteTableState, type InfiniteTable_HasGrouping_RowInfoGroup, type InfiniteTable_HasGrouping_RowInfoNormal, type InfiniteTable_Tree_RowInfoLeafNode, type InfiniteTable_Tree_RowInfoNode, type InfiniteTable_Tree_RowInfoParentNode, type LazyGroupDataDeepMap, type LazyGroupDataItem, type LazyRowInfoGroup, Menu, type MenuChildrenFnParam, type MenuColumn, type MenuColumnRenderParam, type MenuDecoration, type MenuIconProps, type MenuItemActionContext, type MenuItemDefinition, type MenuItemObject, type MenuProps, type MenuRenderable, type MenuRuntimeItem, type MenuRuntimeItemSelectable, type MenuSeparator, type OverlayShowParams, RowDetailCache, RowDetailState, type RowDetailStateObject, RowDisabledState, type RowDisabledStateObject, RowSelectionState, type ScrollStopInfo, type Scrollbars, type ShowOverlayFn, type TableRenderRange, TreeDataSource, type TreeDataSourceProps, TreeExpandState, type TreeExpandStateValue, TreeGrid, type TreeGridOnlyProps, type TreeGridProps, TreeSelectionState, type TreeSelectionStateObject, type TreeSelectionValue, type UpdateChildrenFn, type UpdateOverlayContentFn, type WaitForNodeOptions, WeakFixedSizeSet, alignNode, components, createFlashingColumnCellComponent, debounce, debug, defaultFilterTypes, eventMatchesKeyboardShortcut, filterDataArray, defaultFilterTypes as filterTypes, flatten, buildManagedComponent as getComponentStateRoot, group, interceptMap, keyboardShortcuts, multisort, multisortNested, queryKeyToCacheKey, toTreeDataArray, useManagedComponentState as useComponentState, useDataSourceInternal, useDataSourceSelector, useDataSourceState, useDragDropProvider, useDragListContext, useEffectWhen, useEffectWhenSameDeps, useEffectWithChanges, useEffectWithObject, useGridScroll, useInfiniteColumnCell, useInfiniteColumnEditor, useInfiniteColumnFilterEditor, useInfiniteHeaderCell, useInfinitePortalContainer, useLayoutEffectWithChanges, useManagedDataSource, useMasterRowInfo, useOverlay, useOverlayPortal, usePrevious, useRowInfoReducers, useVisibleColumnSizes, withSelectedLeafNodesOnly };
package/index.dev.js CHANGED
@@ -69,10 +69,14 @@ var require_binary_search = __commonJS({
69
69
  var index_exports = {};
70
70
  __export(index_exports, {
71
71
  CellSelectionState: () => CellSelectionState,
72
+ DRAG_ITEM_ATTRIBUTE: () => DRAG_ITEM_ATTRIBUTE,
72
73
  DataClient: () => DataClient,
73
74
  DataSource: () => DataSource,
74
75
  DataSourceActionType: () => DataSourceActionType,
75
76
  DeepMap: () => DeepMap,
77
+ DragDropProvider: () => DragDropProvider,
78
+ DragInteractionTarget: () => DragInteractionTarget,
79
+ DragList: () => DragList,
76
80
  FixedSizeSet: () => FixedSizeSet,
77
81
  FlashingColumnCell: () => FlashingColumnCell,
78
82
  GroupRowsState: () => GroupRowsState,
@@ -112,6 +116,8 @@ __export(index_exports, {
112
116
  useDataSourceInternal: () => useDataSourceInternal,
113
117
  useDataSourceSelector: () => useDataSourceSelector,
114
118
  useDataSourceState: () => useDataSourceState,
119
+ useDragDropProvider: () => useDragDropProvider,
120
+ useDragListContext: () => useDragListContext,
115
121
  useEffectWhen: () => useEffectWhen,
116
122
  useEffectWhenSameDeps: () => useEffectWhenSameDeps,
117
123
  useEffectWithChanges: () => useEffectWithChanges,
@@ -26432,7 +26438,7 @@ var useLicense = (licenseKey = "") => {
26432
26438
  }
26433
26439
  let valid2 = isValidLicense(licenseKey, {
26434
26440
  publishedAt: 1624970570587,
26435
- version: "8.0.0"
26441
+ version: "8.0.1"
26436
26442
  });
26437
26443
  if (!licenseKey && !valid2 && isInsidePlayground) {
26438
26444
  return true;
@@ -32397,10 +32403,14 @@ var components = {
32397
32403
  // Annotate the CommonJS export names for ESM import in node:
32398
32404
  0 && (module.exports = {
32399
32405
  CellSelectionState,
32406
+ DRAG_ITEM_ATTRIBUTE,
32400
32407
  DataClient,
32401
32408
  DataSource,
32402
32409
  DataSourceActionType,
32403
32410
  DeepMap,
32411
+ DragDropProvider,
32412
+ DragInteractionTarget,
32413
+ DragList,
32404
32414
  FixedSizeSet,
32405
32415
  FlashingColumnCell,
32406
32416
  GroupRowsState,
@@ -32440,6 +32450,8 @@ var components = {
32440
32450
  useDataSourceInternal,
32441
32451
  useDataSourceSelector,
32442
32452
  useDataSourceState,
32453
+ useDragDropProvider,
32454
+ useDragListContext,
32443
32455
  useEffectWhen,
32444
32456
  useEffectWhenSameDeps,
32445
32457
  useEffectWithChanges,
package/index.dev.mjs CHANGED
@@ -26380,7 +26380,7 @@ var useLicense = (licenseKey = "") => {
26380
26380
  }
26381
26381
  let valid2 = isValidLicense(licenseKey, {
26382
26382
  publishedAt: 1624970570587,
26383
- version: "8.0.0"
26383
+ version: "8.0.1"
26384
26384
  });
26385
26385
  if (!licenseKey && !valid2 && isInsidePlayground) {
26386
26386
  return true;
@@ -32354,10 +32354,14 @@ var components = {
32354
32354
  };
32355
32355
  export {
32356
32356
  CellSelectionState,
32357
+ DRAG_ITEM_ATTRIBUTE,
32357
32358
  DataClient,
32358
32359
  DataSource,
32359
32360
  DataSourceActionType,
32360
32361
  DeepMap,
32362
+ DragDropProvider,
32363
+ DragInteractionTarget,
32364
+ DragList,
32361
32365
  FixedSizeSet,
32362
32366
  FlashingColumnCell,
32363
32367
  GroupRowsState,
@@ -32397,6 +32401,8 @@ export {
32397
32401
  useDataSourceInternal,
32398
32402
  useDataSourceSelector,
32399
32403
  useDataSourceState,
32404
+ useDragDropProvider,
32405
+ useDragListContext,
32400
32406
  useEffectWhen,
32401
32407
  useEffectWhenSameDeps,
32402
32408
  useEffectWithChanges,