@kanunilabs/pivotgrid-react 1.1.0 → 1.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts CHANGED
@@ -1,7 +1,7 @@
1
1
  import * as React$1 from 'react';
2
2
  import React__default, { Component, ErrorInfo } from 'react';
3
3
  import * as _kanunilabs_pivotgrid_core from '@kanunilabs/pivotgrid-core';
4
- import { PivotField as PivotField$1, PivotCellTemplate as PivotCellTemplate$1, CellClickEvent as CellClickEvent$1, CellPreparedEvent as CellPreparedEvent$1, PivotConditionRule as PivotConditionRule$1, PivotCell, PivotEngineResult, PivotLayoutState, PivotTheme, PivotStateStoringConfig, PivotToolbarConfig, PivotEngineRegistry, PivotLocale, PivotDictionary, FieldMoveEvent, ExportingEvent, PivotGridRef, ExportFormat, PivotReport, PivotControllerOptions, PivotController, PivotControllerState } from '@kanunilabs/pivotgrid-core';
4
+ import { PivotField as PivotField$1, PivotCellTemplate as PivotCellTemplate$1, CellClickEvent as CellClickEvent$1, CellPreparedEvent as CellPreparedEvent$1, PivotConditionRule as PivotConditionRule$1, PivotCell, PivotEngineResult, PivotLayoutState, PivotTheme, PivotStateStoringConfig, PivotToolbarConfig, PivotEngineRegistry, PivotLocale, PivotDictionary, FieldMoveEvent, ExportingEvent, PivotGridRef, ExportFormat, PivotReport, PivotArea, PivotNode, PivotControllerOptions, PivotController, PivotControllerState } from '@kanunilabs/pivotgrid-core';
5
5
  export { CustomSummaryOptions, DropIntent, ExportingEvent, FieldMoveEvent, FilterCondition, FilterGroup, FilterOperator, PivotArea, PivotCell, PivotCellTextAccessor, PivotCellValueAccessor, PivotControllerCallbacks, PivotControllerOptions, PivotControllerState, PivotDataSource, PivotDictionary, PivotDragIntentState, PivotGridRef, PivotGroupInterval, PivotImportStatus, PivotLayoutProfile, PivotLayoutState, PivotLocale, PivotNode, PivotPrefilter, PivotSelectionMode, PivotSelectionRange, PivotSelectionState, PivotSelectionStats, PivotStateStoringConfig, PivotSummaryDisplayMode, PivotSummaryType, PivotTheme, PivotToolbarConfig, defaultPivotLayout } from '@kanunilabs/pivotgrid-core';
6
6
  import * as _dnd_kit_core from '@dnd-kit/core';
7
7
  import { DragMoveEvent, DragEndEvent } from '@dnd-kit/core';
@@ -120,8 +120,11 @@ interface BasePivotGridProps<TRow> {
120
120
  /** Callback fired when chart toggle is clicked. */
121
121
  onToggleChart?: () => void;
122
122
  /**
123
- * Callback fired when full screen chart icon is clicked.
124
- * @deprecated This prop will be removed in a future major version. Use chartIntegrationOptions instead.
123
+ * @deprecated NEVER FIRES. Declared, never destructured, never called — there
124
+ * is no code path that reaches it, and there never was. The doc comment here
125
+ * used to read "fired when the full screen chart icon is clicked", which is
126
+ * the reason it survived: it looked implemented in the API reference.
127
+ * Use `chartIntegrationOptions` instead. Removed in the next major.
125
128
  */
126
129
  onOpenFullScreenChart?: () => void;
127
130
  /** Callback to receive loaded chart state. */
@@ -136,7 +139,7 @@ interface BasePivotGridProps<TRow> {
136
139
  renderCalculatedFieldModal?: (props: any) => React__default.ReactNode;
137
140
  /** Slot for injecting Enterprise Prefilter Builder */
138
141
  renderPrefilterBuilder?: (props: any) => React__default.ReactNode;
139
- /** Slot for injecting Enterprise Node Context Menu */
142
+ /** Overrides the built-in node context menu (Community since 2026-08-30); omit to get the default right-click expand/collapse menu */
140
143
  renderNodeContextMenu?: (props: any) => React__default.ReactNode;
141
144
  /**
142
145
  * Enables the Enterprise-only styled Excel & PDF export items in the footer.
@@ -177,6 +180,8 @@ interface PivotGridBodyProps {
177
180
  onFilterClick?: (x: number, y: number, fieldId: string) => void;
178
181
  onRemoveField: (id: string) => void;
179
182
  onSort?: (id: string, dir: 'asc' | 'desc' | undefined) => void;
183
+ /** Keyboard reorder for the header chips (#207). */
184
+ onMoveField?: (id: string, direction: 'start' | 'end' | 'left' | 'right') => void;
180
185
  onGlobalContextMenu?: (x: number, y: number) => void;
181
186
  columnWidths?: Record<string, number>;
182
187
  onColumnWidthsChange?: (widths: Record<string, number>) => void;
@@ -195,7 +200,7 @@ interface PivotGridBodyProps {
195
200
  disabled?: boolean;
196
201
  renderNodeContextMenu?: (props: any) => React.ReactNode;
197
202
  }
198
- declare function PivotGridBody({ engineResult, isBuilding, buildProgress, rowFields, colFields: _colFields, dataFields, layout, expandedPaths, allExpanded, onToggleExpand, onExpandPaths, onCollapsePaths, expandedColPaths, allColExpanded, onToggleColExpand, onExpandColPaths, onCollapseColPaths, onCellClick, onContextMenu, onFilterClick, onRemoveField, onSort, onGlobalContextMenu, columnWidths, onColumnWidthsChange, onSelectionStatsChange, registry, keyboardNavigation, onCellPrepared, renderNodeContextMenu }: PivotGridBodyProps): React$1.JSX.Element;
203
+ declare function PivotGridBody({ engineResult, isBuilding, buildProgress, rowFields, colFields: _colFields, dataFields, layout, expandedPaths, allExpanded, onToggleExpand, onExpandPaths, onCollapsePaths, expandedColPaths, allColExpanded, onToggleColExpand, onExpandColPaths, onCollapseColPaths, onCellClick, onContextMenu, onFilterClick, onRemoveField, onSort, onMoveField, onGlobalContextMenu, columnWidths, onColumnWidthsChange, onSelectionStatsChange, registry, keyboardNavigation, onCellPrepared, renderNodeContextMenu }: PivotGridBodyProps): React$1.JSX.Element;
199
204
 
200
205
  interface PivotFooterProps {
201
206
  onToggleFieldChooser: () => void;
@@ -245,6 +250,7 @@ interface PivotFooterProps {
245
250
  }
246
251
  declare function PivotFooter({ onToggleFieldChooser, fieldChooserOpen, onRefresh, onExport, onImportFile, onImportFiles, onPasteImport, onExpandAll, onCollapseAll, onAddCalculatedField, onOpenPrefilter, onToggleChart, isFullscreen, onToggleFullscreen, reports, activeReportId, onSaveNewReport, onUpdateCurrentReport, onSaveAsReport, onLoadReport, onDeleteReport, onSetDefaultReport, onGlobalContextMenu, selectionStats, toolbarConfig, registry, advancedExport, upgradeUrl }: PivotFooterProps): React$1.JSX.Element;
247
252
 
253
+ type MoveDirection = 'start' | 'end' | 'left' | 'right';
248
254
  interface PivotAreaStripsProps {
249
255
  filterFields: PivotField[];
250
256
  onRemoveField: (id: string) => void;
@@ -252,8 +258,10 @@ interface PivotAreaStripsProps {
252
258
  onContextMenu?: (x: number, y: number, fieldId: string, colPath?: string) => void;
253
259
  onSort?: (id: string, dir: 'asc' | 'desc' | undefined) => void;
254
260
  onGlobalContextMenu?: (x: number, y: number) => void;
261
+ /** Reorder within the area — the Order submenu's verbs, on keys (#207). */
262
+ onMoveField?: (id: string, direction: MoveDirection) => void;
255
263
  }
256
- declare function PivotAreaStrips({ filterFields, onRemoveField, onFilterClick, onContextMenu, onSort, onGlobalContextMenu }: PivotAreaStripsProps): React__default.JSX.Element;
264
+ declare function PivotAreaStrips({ filterFields, onRemoveField, onFilterClick, onContextMenu, onSort, onGlobalContextMenu, onMoveField, }: PivotAreaStripsProps): React__default.JSX.Element;
257
265
 
258
266
  interface PivotFieldListProps {
259
267
  area: string;
@@ -284,6 +292,14 @@ interface PivotHeaderFilterPopupProps {
284
292
  onClose: () => void;
285
293
  x: number;
286
294
  y: number;
295
+ /**
296
+ * The grid this popup belongs to. Core's distinct-value cache is keyed by
297
+ * grid; without the id it resolves through a module-global "active grid"
298
+ * pointer — whichever grid last ran an engine phase — so on a two-grid page
299
+ * one grid's popup listed the OTHER grid's values (#197). Optional so an
300
+ * existing direct consumer keeps compiling; BasePivotGrid always passes it.
301
+ */
302
+ gridId?: string;
287
303
  }
288
304
  declare const PivotHeaderFilterPopup: React__default.FC<PivotHeaderFilterPopupProps>;
289
305
 
@@ -296,6 +312,8 @@ interface PivotContextMenuProps {
296
312
  onHide: () => void;
297
313
  onSettings: () => void;
298
314
  onMoveField?: (direction: 'start' | 'end' | 'left' | 'right') => void;
315
+ /** Move the field to another area — the only pointer-free way between areas (#207). */
316
+ onMoveToArea?: (area: PivotArea) => void;
299
317
  onShowFieldChooser?: () => void;
300
318
  colPath?: string;
301
319
  rowFields?: PivotField[];
@@ -308,7 +326,30 @@ interface PivotContextMenuProps {
308
326
  }[];
309
327
  onEditCalculatedField?: () => void;
310
328
  }
311
- declare function PivotContextMenu({ x, y, field, colPath, rowFields, onClose, onSort, onSortBySummary, onClearAllSorting, onHide, onSettings, onMoveField, onShowFieldChooser, customContextMenuItems, onEditCalculatedField }: PivotContextMenuProps): React$1.JSX.Element;
329
+ declare function PivotContextMenu({ x, y, field, colPath, rowFields, onClose, onSort, onSortBySummary, onClearAllSorting, onHide, onSettings, onMoveField, onMoveToArea, onShowFieldChooser, customContextMenuItems, onEditCalculatedField }: PivotContextMenuProps): React$1.JSX.Element;
330
+
331
+ interface NodeContextMenuState {
332
+ x: number;
333
+ y: number;
334
+ path: string;
335
+ isExpanded: boolean;
336
+ depth: number;
337
+ type: 'row' | 'col';
338
+ }
339
+ interface PivotNodeContextMenuProps {
340
+ menu: NodeContextMenuState;
341
+ onClose: () => void;
342
+ onToggleExpand: (path: string) => void;
343
+ onToggleColExpand: (path: string) => void;
344
+ onExpandPaths: (paths: string[]) => void;
345
+ onCollapsePaths: (paths: string[]) => void;
346
+ onExpandColPaths: (paths: string[]) => void;
347
+ onCollapseColPaths: (paths: string[]) => void;
348
+ rowTree: PivotNode[];
349
+ colTree: PivotNode[];
350
+ t: (key: string) => string;
351
+ }
352
+ declare function PivotNodeContextMenu({ menu, onClose, onToggleExpand, onToggleColExpand, onExpandPaths, onCollapsePaths, onExpandColPaths, onCollapseColPaths, rowTree, colTree, t, }: PivotNodeContextMenuProps): React$1.JSX.Element;
312
353
 
313
354
  interface PivotPortalProps {
314
355
  children: React__default.ReactNode;
@@ -462,4 +503,4 @@ interface PivotThemeProviderProps {
462
503
  }
463
504
  declare function PivotThemeProvider({ theme, className, style, children }: PivotThemeProviderProps): React__default.JSX.Element;
464
505
 
465
- export { BasePivotGrid, type BasePivotGridProps, type CellClickEvent, type CellPreparedEvent, type ChartSeriesDef, type ChartSyncResult, PivotAreaStrips, type PivotCellTemplate, type PivotChartIntegrationOptions, type PivotConditionRule, PivotConfigProvider, PivotContextMenu, PivotErrorBoundary, type PivotField, PivotFieldList, PivotFieldSettingsDialog, PivotFooter, PivotGridBody, PivotHeaderFilterPopup, PivotImportStatusModal, PivotPortal, PivotPortalContext, PivotReportMenu, PivotReportSaveModal, PivotThemeProvider, usePivotChartSync, usePivotConfig, usePivotContextMenu, usePivotController, usePivotControllerStore, usePivotDnD, usePivotFullscreen };
506
+ export { BasePivotGrid, type BasePivotGridProps, type CellClickEvent, type CellPreparedEvent, type ChartSeriesDef, type ChartSyncResult, type NodeContextMenuState, PivotAreaStrips, type PivotCellTemplate, type PivotChartIntegrationOptions, type PivotConditionRule, PivotConfigProvider, PivotContextMenu, PivotErrorBoundary, type PivotField, PivotFieldList, PivotFieldSettingsDialog, PivotFooter, PivotGridBody, PivotHeaderFilterPopup, PivotImportStatusModal, PivotNodeContextMenu, type PivotNodeContextMenuProps, PivotPortal, PivotPortalContext, PivotReportMenu, PivotReportSaveModal, PivotThemeProvider, usePivotChartSync, usePivotConfig, usePivotContextMenu, usePivotController, usePivotControllerStore, usePivotDnD, usePivotFullscreen };
package/dist/index.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import * as React$1 from 'react';
2
2
  import React__default, { Component, ErrorInfo } from 'react';
3
3
  import * as _kanunilabs_pivotgrid_core from '@kanunilabs/pivotgrid-core';
4
- import { PivotField as PivotField$1, PivotCellTemplate as PivotCellTemplate$1, CellClickEvent as CellClickEvent$1, CellPreparedEvent as CellPreparedEvent$1, PivotConditionRule as PivotConditionRule$1, PivotCell, PivotEngineResult, PivotLayoutState, PivotTheme, PivotStateStoringConfig, PivotToolbarConfig, PivotEngineRegistry, PivotLocale, PivotDictionary, FieldMoveEvent, ExportingEvent, PivotGridRef, ExportFormat, PivotReport, PivotControllerOptions, PivotController, PivotControllerState } from '@kanunilabs/pivotgrid-core';
4
+ import { PivotField as PivotField$1, PivotCellTemplate as PivotCellTemplate$1, CellClickEvent as CellClickEvent$1, CellPreparedEvent as CellPreparedEvent$1, PivotConditionRule as PivotConditionRule$1, PivotCell, PivotEngineResult, PivotLayoutState, PivotTheme, PivotStateStoringConfig, PivotToolbarConfig, PivotEngineRegistry, PivotLocale, PivotDictionary, FieldMoveEvent, ExportingEvent, PivotGridRef, ExportFormat, PivotReport, PivotArea, PivotNode, PivotControllerOptions, PivotController, PivotControllerState } from '@kanunilabs/pivotgrid-core';
5
5
  export { CustomSummaryOptions, DropIntent, ExportingEvent, FieldMoveEvent, FilterCondition, FilterGroup, FilterOperator, PivotArea, PivotCell, PivotCellTextAccessor, PivotCellValueAccessor, PivotControllerCallbacks, PivotControllerOptions, PivotControllerState, PivotDataSource, PivotDictionary, PivotDragIntentState, PivotGridRef, PivotGroupInterval, PivotImportStatus, PivotLayoutProfile, PivotLayoutState, PivotLocale, PivotNode, PivotPrefilter, PivotSelectionMode, PivotSelectionRange, PivotSelectionState, PivotSelectionStats, PivotStateStoringConfig, PivotSummaryDisplayMode, PivotSummaryType, PivotTheme, PivotToolbarConfig, defaultPivotLayout } from '@kanunilabs/pivotgrid-core';
6
6
  import * as _dnd_kit_core from '@dnd-kit/core';
7
7
  import { DragMoveEvent, DragEndEvent } from '@dnd-kit/core';
@@ -120,8 +120,11 @@ interface BasePivotGridProps<TRow> {
120
120
  /** Callback fired when chart toggle is clicked. */
121
121
  onToggleChart?: () => void;
122
122
  /**
123
- * Callback fired when full screen chart icon is clicked.
124
- * @deprecated This prop will be removed in a future major version. Use chartIntegrationOptions instead.
123
+ * @deprecated NEVER FIRES. Declared, never destructured, never called — there
124
+ * is no code path that reaches it, and there never was. The doc comment here
125
+ * used to read "fired when the full screen chart icon is clicked", which is
126
+ * the reason it survived: it looked implemented in the API reference.
127
+ * Use `chartIntegrationOptions` instead. Removed in the next major.
125
128
  */
126
129
  onOpenFullScreenChart?: () => void;
127
130
  /** Callback to receive loaded chart state. */
@@ -136,7 +139,7 @@ interface BasePivotGridProps<TRow> {
136
139
  renderCalculatedFieldModal?: (props: any) => React__default.ReactNode;
137
140
  /** Slot for injecting Enterprise Prefilter Builder */
138
141
  renderPrefilterBuilder?: (props: any) => React__default.ReactNode;
139
- /** Slot for injecting Enterprise Node Context Menu */
142
+ /** Overrides the built-in node context menu (Community since 2026-08-30); omit to get the default right-click expand/collapse menu */
140
143
  renderNodeContextMenu?: (props: any) => React__default.ReactNode;
141
144
  /**
142
145
  * Enables the Enterprise-only styled Excel & PDF export items in the footer.
@@ -177,6 +180,8 @@ interface PivotGridBodyProps {
177
180
  onFilterClick?: (x: number, y: number, fieldId: string) => void;
178
181
  onRemoveField: (id: string) => void;
179
182
  onSort?: (id: string, dir: 'asc' | 'desc' | undefined) => void;
183
+ /** Keyboard reorder for the header chips (#207). */
184
+ onMoveField?: (id: string, direction: 'start' | 'end' | 'left' | 'right') => void;
180
185
  onGlobalContextMenu?: (x: number, y: number) => void;
181
186
  columnWidths?: Record<string, number>;
182
187
  onColumnWidthsChange?: (widths: Record<string, number>) => void;
@@ -195,7 +200,7 @@ interface PivotGridBodyProps {
195
200
  disabled?: boolean;
196
201
  renderNodeContextMenu?: (props: any) => React.ReactNode;
197
202
  }
198
- declare function PivotGridBody({ engineResult, isBuilding, buildProgress, rowFields, colFields: _colFields, dataFields, layout, expandedPaths, allExpanded, onToggleExpand, onExpandPaths, onCollapsePaths, expandedColPaths, allColExpanded, onToggleColExpand, onExpandColPaths, onCollapseColPaths, onCellClick, onContextMenu, onFilterClick, onRemoveField, onSort, onGlobalContextMenu, columnWidths, onColumnWidthsChange, onSelectionStatsChange, registry, keyboardNavigation, onCellPrepared, renderNodeContextMenu }: PivotGridBodyProps): React$1.JSX.Element;
203
+ declare function PivotGridBody({ engineResult, isBuilding, buildProgress, rowFields, colFields: _colFields, dataFields, layout, expandedPaths, allExpanded, onToggleExpand, onExpandPaths, onCollapsePaths, expandedColPaths, allColExpanded, onToggleColExpand, onExpandColPaths, onCollapseColPaths, onCellClick, onContextMenu, onFilterClick, onRemoveField, onSort, onMoveField, onGlobalContextMenu, columnWidths, onColumnWidthsChange, onSelectionStatsChange, registry, keyboardNavigation, onCellPrepared, renderNodeContextMenu }: PivotGridBodyProps): React$1.JSX.Element;
199
204
 
200
205
  interface PivotFooterProps {
201
206
  onToggleFieldChooser: () => void;
@@ -245,6 +250,7 @@ interface PivotFooterProps {
245
250
  }
246
251
  declare function PivotFooter({ onToggleFieldChooser, fieldChooserOpen, onRefresh, onExport, onImportFile, onImportFiles, onPasteImport, onExpandAll, onCollapseAll, onAddCalculatedField, onOpenPrefilter, onToggleChart, isFullscreen, onToggleFullscreen, reports, activeReportId, onSaveNewReport, onUpdateCurrentReport, onSaveAsReport, onLoadReport, onDeleteReport, onSetDefaultReport, onGlobalContextMenu, selectionStats, toolbarConfig, registry, advancedExport, upgradeUrl }: PivotFooterProps): React$1.JSX.Element;
247
252
 
253
+ type MoveDirection = 'start' | 'end' | 'left' | 'right';
248
254
  interface PivotAreaStripsProps {
249
255
  filterFields: PivotField[];
250
256
  onRemoveField: (id: string) => void;
@@ -252,8 +258,10 @@ interface PivotAreaStripsProps {
252
258
  onContextMenu?: (x: number, y: number, fieldId: string, colPath?: string) => void;
253
259
  onSort?: (id: string, dir: 'asc' | 'desc' | undefined) => void;
254
260
  onGlobalContextMenu?: (x: number, y: number) => void;
261
+ /** Reorder within the area — the Order submenu's verbs, on keys (#207). */
262
+ onMoveField?: (id: string, direction: MoveDirection) => void;
255
263
  }
256
- declare function PivotAreaStrips({ filterFields, onRemoveField, onFilterClick, onContextMenu, onSort, onGlobalContextMenu }: PivotAreaStripsProps): React__default.JSX.Element;
264
+ declare function PivotAreaStrips({ filterFields, onRemoveField, onFilterClick, onContextMenu, onSort, onGlobalContextMenu, onMoveField, }: PivotAreaStripsProps): React__default.JSX.Element;
257
265
 
258
266
  interface PivotFieldListProps {
259
267
  area: string;
@@ -284,6 +292,14 @@ interface PivotHeaderFilterPopupProps {
284
292
  onClose: () => void;
285
293
  x: number;
286
294
  y: number;
295
+ /**
296
+ * The grid this popup belongs to. Core's distinct-value cache is keyed by
297
+ * grid; without the id it resolves through a module-global "active grid"
298
+ * pointer — whichever grid last ran an engine phase — so on a two-grid page
299
+ * one grid's popup listed the OTHER grid's values (#197). Optional so an
300
+ * existing direct consumer keeps compiling; BasePivotGrid always passes it.
301
+ */
302
+ gridId?: string;
287
303
  }
288
304
  declare const PivotHeaderFilterPopup: React__default.FC<PivotHeaderFilterPopupProps>;
289
305
 
@@ -296,6 +312,8 @@ interface PivotContextMenuProps {
296
312
  onHide: () => void;
297
313
  onSettings: () => void;
298
314
  onMoveField?: (direction: 'start' | 'end' | 'left' | 'right') => void;
315
+ /** Move the field to another area — the only pointer-free way between areas (#207). */
316
+ onMoveToArea?: (area: PivotArea) => void;
299
317
  onShowFieldChooser?: () => void;
300
318
  colPath?: string;
301
319
  rowFields?: PivotField[];
@@ -308,7 +326,30 @@ interface PivotContextMenuProps {
308
326
  }[];
309
327
  onEditCalculatedField?: () => void;
310
328
  }
311
- declare function PivotContextMenu({ x, y, field, colPath, rowFields, onClose, onSort, onSortBySummary, onClearAllSorting, onHide, onSettings, onMoveField, onShowFieldChooser, customContextMenuItems, onEditCalculatedField }: PivotContextMenuProps): React$1.JSX.Element;
329
+ declare function PivotContextMenu({ x, y, field, colPath, rowFields, onClose, onSort, onSortBySummary, onClearAllSorting, onHide, onSettings, onMoveField, onMoveToArea, onShowFieldChooser, customContextMenuItems, onEditCalculatedField }: PivotContextMenuProps): React$1.JSX.Element;
330
+
331
+ interface NodeContextMenuState {
332
+ x: number;
333
+ y: number;
334
+ path: string;
335
+ isExpanded: boolean;
336
+ depth: number;
337
+ type: 'row' | 'col';
338
+ }
339
+ interface PivotNodeContextMenuProps {
340
+ menu: NodeContextMenuState;
341
+ onClose: () => void;
342
+ onToggleExpand: (path: string) => void;
343
+ onToggleColExpand: (path: string) => void;
344
+ onExpandPaths: (paths: string[]) => void;
345
+ onCollapsePaths: (paths: string[]) => void;
346
+ onExpandColPaths: (paths: string[]) => void;
347
+ onCollapseColPaths: (paths: string[]) => void;
348
+ rowTree: PivotNode[];
349
+ colTree: PivotNode[];
350
+ t: (key: string) => string;
351
+ }
352
+ declare function PivotNodeContextMenu({ menu, onClose, onToggleExpand, onToggleColExpand, onExpandPaths, onCollapsePaths, onExpandColPaths, onCollapseColPaths, rowTree, colTree, t, }: PivotNodeContextMenuProps): React$1.JSX.Element;
312
353
 
313
354
  interface PivotPortalProps {
314
355
  children: React__default.ReactNode;
@@ -462,4 +503,4 @@ interface PivotThemeProviderProps {
462
503
  }
463
504
  declare function PivotThemeProvider({ theme, className, style, children }: PivotThemeProviderProps): React__default.JSX.Element;
464
505
 
465
- export { BasePivotGrid, type BasePivotGridProps, type CellClickEvent, type CellPreparedEvent, type ChartSeriesDef, type ChartSyncResult, PivotAreaStrips, type PivotCellTemplate, type PivotChartIntegrationOptions, type PivotConditionRule, PivotConfigProvider, PivotContextMenu, PivotErrorBoundary, type PivotField, PivotFieldList, PivotFieldSettingsDialog, PivotFooter, PivotGridBody, PivotHeaderFilterPopup, PivotImportStatusModal, PivotPortal, PivotPortalContext, PivotReportMenu, PivotReportSaveModal, PivotThemeProvider, usePivotChartSync, usePivotConfig, usePivotContextMenu, usePivotController, usePivotControllerStore, usePivotDnD, usePivotFullscreen };
506
+ export { BasePivotGrid, type BasePivotGridProps, type CellClickEvent, type CellPreparedEvent, type ChartSeriesDef, type ChartSyncResult, type NodeContextMenuState, PivotAreaStrips, type PivotCellTemplate, type PivotChartIntegrationOptions, type PivotConditionRule, PivotConfigProvider, PivotContextMenu, PivotErrorBoundary, type PivotField, PivotFieldList, PivotFieldSettingsDialog, PivotFooter, PivotGridBody, PivotHeaderFilterPopup, PivotImportStatusModal, PivotNodeContextMenu, type PivotNodeContextMenuProps, PivotPortal, PivotPortalContext, PivotReportMenu, PivotReportSaveModal, PivotThemeProvider, usePivotChartSync, usePivotConfig, usePivotContextMenu, usePivotController, usePivotControllerStore, usePivotDnD, usePivotFullscreen };