@infinite-table/infinite-vue 10.1.1 → 10.1.3

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
@@ -2681,7 +2681,22 @@ interface InfiniteTableProps<T> {
2681
2681
  getContextMenuItems?: InfiniteTablePropGetContextMenuItems<T>;
2682
2682
  getColumnMenuItems?: InfiniteTablePropGetColumnMenuItems<T>;
2683
2683
  getFilterOperatorMenuItems?: InfiniteTablePropGetFilterOperatorMenuItems<T>;
2684
+ /**
2685
+ * The element the menus (column menu, context menus, filter operator menu)
2686
+ * are rendered into. Defaults to an element inside the table.
2687
+ *
2688
+ * A function returning `null` falls back to the default.
2689
+ */
2690
+ menuPortalContainer?: InfiniteTablePropMenuElement;
2691
+ /**
2692
+ * The area the menus are kept within. Defaults to the table element.
2693
+ *
2694
+ * A function is called every time a menu is shown; returning `null` falls
2695
+ * back to the table element.
2696
+ */
2697
+ menuConstrainTo?: InfiniteTablePropMenuElement;
2684
2698
  }
2699
+ type InfiniteTablePropMenuElement = HTMLElement | (() => HTMLElement | null | undefined);
2685
2700
  type InfiniteTablePropGetColumnMenuItems<T> = (defaultItems: Exclude<MenuProps['items'], undefined>, params: {
2686
2701
  column: InfiniteTableComputedColumn<T>;
2687
2702
  columnApi: InfiniteTableColumnApi<T>;
@@ -3338,6 +3353,8 @@ interface InfiniteTableMappedState<T> {
3338
3353
  getContextMenuItems: InfiniteTableProps<T>['getContextMenuItems'];
3339
3354
  getCellContextMenuItems: InfiniteTableProps<T>['getCellContextMenuItems'];
3340
3355
  getColumnMenuItems: InfiniteTableProps<T>['getColumnMenuItems'];
3356
+ menuPortalContainer: InfiniteTableProps<T>['menuPortalContainer'];
3357
+ menuConstrainTo: InfiniteTableProps<T>['menuConstrainTo'];
3341
3358
  getFilterOperatorMenuItems: InfiniteTableProps<T>['getFilterOperatorMenuItems'];
3342
3359
  keyboardShortcuts: InfiniteTableProps<T>['keyboardShortcuts'];
3343
3360
  columnPinning: InfiniteTablePropColumnPinning;
@@ -4948,6 +4965,8 @@ declare const InfiniteTable: vue.DefineComponent<{
4948
4965
  getContextMenuItems?: any;
4949
4966
  getCellContextMenuItems?: any;
4950
4967
  getColumnMenuItems?: any;
4968
+ menuPortalContainer?: any;
4969
+ menuConstrainTo?: any;
4951
4970
  getFilterOperatorMenuItems?: any;
4952
4971
  keyboardShortcuts?: any;
4953
4972
  columnPinning?: any;
@@ -5080,6 +5099,8 @@ declare const InfiniteTable: vue.DefineComponent<{
5080
5099
  getContextMenuItems?: any;
5081
5100
  getCellContextMenuItems?: any;
5082
5101
  getColumnMenuItems?: any;
5102
+ menuPortalContainer?: any;
5103
+ menuConstrainTo?: any;
5083
5104
  getFilterOperatorMenuItems?: any;
5084
5105
  keyboardShortcuts?: any;
5085
5106
  columnPinning?: any;
@@ -5413,6 +5434,8 @@ declare const TreeGrid: vue.DefineComponent<{
5413
5434
  getContextMenuItems?: any;
5414
5435
  getCellContextMenuItems?: any;
5415
5436
  getColumnMenuItems?: any;
5437
+ menuPortalContainer?: any;
5438
+ menuConstrainTo?: any;
5416
5439
  getFilterOperatorMenuItems?: any;
5417
5440
  keyboardShortcuts?: any;
5418
5441
  columnPinning?: any;
@@ -5545,6 +5568,8 @@ declare const TreeGrid: vue.DefineComponent<{
5545
5568
  getContextMenuItems?: any;
5546
5569
  getCellContextMenuItems?: any;
5547
5570
  getColumnMenuItems?: any;
5571
+ menuPortalContainer?: any;
5572
+ menuConstrainTo?: any;
5548
5573
  getFilterOperatorMenuItems?: any;
5549
5574
  keyboardShortcuts?: any;
5550
5575
  columnPinning?: any;
@@ -6021,4 +6046,4 @@ declare const components: {
6021
6046
  }, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
6022
6047
  };
6023
6048
 
6024
- export { CellSelectionState, type CellSelectionStateObject, type ColumnTypeWithInherit, 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 DataSourceFilterRowParam, type DataSourceFilterType, type DataSourceFilterValueItem, type DataSourceFilterValueItemValueGetter, type DataSourceGroupBy, type DataSourceGroupRowsList, DataSourceInjectionKeyForVue, 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 DataSourcePropMultiRowSelectionTarget, 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 DataSourcePropsWithChildren, type DataSourceRawReducer, type DataSourceRemoteData, type DataSourceRowInfoReducer, type DataSourceSetupState, type DataSourceSingleSortInfo, type DataSourceSortInfo, type DataSourceStableContextValue, type DataSourceState, type DataSourceTreeFilterFunctionParam, type DataSourceUpdateParam, 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 ErrorCodeKey, FlashingColumnCell, GroupRowsState, 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, type InfiniteTableComputedColumn, type InfiniteTableComputedValues, type InfiniteTableContextValue, type InfiniteTableDebugWarningKey, InfiniteTableDetailRow, type InfiniteTableGroupColumnBase, type InfiniteTableGroupColumnFunction, type InfiniteTableGroupColumnGetterOptions, InfiniteTableInjectionKeyForVue, 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 InfiniteTablePropMultiRowSelectionWith, type InfiniteTablePropMultiSortBehavior, type InfiniteTablePropRepaintCellsKey, type InfiniteTablePropRepaintCellsKeyFn, type InfiniteTablePropRepaintCellsKeyFnParams, type InfiniteTablePropRowClassName, type InfiniteTablePropRowStyle, type InfiniteTableProps, 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, NumberFilterEditor, RowDetailCache, RowDetailState, type RowDetailStateObject, type RowDisabledStateObject, RowSelectionState, type ScrollStopInfo, type Scrollbars, StringFilterEditor, type TableRenderRange, TreeDataSource, TreeExpandState, type TreeExpandStateValue, TreeGrid, TreeSelectionState, type TreeSelectionStateObject, type TreeSelectionValue, type UpdateChildrenFn, type WaitForNodeOptions, components, createFlashingColumnCellComponent, debounce, defaultFilterFunction, defaultFilterTypes, defaultTreeFilterFunction, flatten, group, keyboardShortcuts, multisort, multisortNested, toTreeDataArray, useDataSourceContext, useGetMasterDetailContextForVue, useInfiniteColumnCell, useInfiniteColumnEditor, useInfiniteColumnFilterEditor, useInfiniteHeaderCell, useInfiniteTableContext, useOverlay, withSelectedLeafNodesOnly };
6049
+ export { CellSelectionState, type CellSelectionStateObject, type ColumnTypeWithInherit, 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 DataSourceFilterRowParam, type DataSourceFilterType, type DataSourceFilterValueItem, type DataSourceFilterValueItemValueGetter, type DataSourceGroupBy, type DataSourceGroupRowsList, DataSourceInjectionKeyForVue, 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 DataSourcePropMultiRowSelectionTarget, 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 DataSourcePropsWithChildren, type DataSourceRawReducer, type DataSourceRemoteData, type DataSourceRowInfoReducer, type DataSourceSetupState, type DataSourceSingleSortInfo, type DataSourceSortInfo, type DataSourceStableContextValue, type DataSourceState, type DataSourceTreeFilterFunctionParam, type DataSourceUpdateParam, 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 ErrorCodeKey, FlashingColumnCell, GroupRowsState, 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, type InfiniteTableComputedColumn, type InfiniteTableComputedValues, type InfiniteTableContextValue, type InfiniteTableDebugWarningKey, InfiniteTableDetailRow, type InfiniteTableGroupColumnBase, type InfiniteTableGroupColumnFunction, type InfiniteTableGroupColumnGetterOptions, InfiniteTableInjectionKeyForVue, 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 InfiniteTablePropMenuElement, type InfiniteTablePropMultiRowSelectionWith, type InfiniteTablePropMultiSortBehavior, type InfiniteTablePropRepaintCellsKey, type InfiniteTablePropRepaintCellsKeyFn, type InfiniteTablePropRepaintCellsKeyFnParams, type InfiniteTablePropRowClassName, type InfiniteTablePropRowStyle, type InfiniteTableProps, 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, NumberFilterEditor, RowDetailCache, RowDetailState, type RowDetailStateObject, type RowDisabledStateObject, RowSelectionState, type ScrollStopInfo, type Scrollbars, StringFilterEditor, type TableRenderRange, TreeDataSource, TreeExpandState, type TreeExpandStateValue, TreeGrid, TreeSelectionState, type TreeSelectionStateObject, type TreeSelectionValue, type UpdateChildrenFn, type WaitForNodeOptions, components, createFlashingColumnCellComponent, debounce, defaultFilterFunction, defaultFilterTypes, defaultTreeFilterFunction, flatten, group, keyboardShortcuts, multisort, multisortNested, toTreeDataArray, useDataSourceContext, useGetMasterDetailContextForVue, useInfiniteColumnCell, useInfiniteColumnEditor, useInfiniteColumnFilterEditor, useInfiniteHeaderCell, useInfiniteTableContext, useOverlay, withSelectedLeafNodesOnly };