serverside_pivot 0.0.91 → 0.0.96

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (172) hide show
  1. package/README.md +182 -182
  2. package/dist/react/chunks/ContextMenu-DJuS4qTZ.mjs +198 -0
  3. package/dist/react/chunks/{DetailDrawer-Eb4EpVHG.mjs → DetailDrawer-DgKSC5Vu.mjs} +1 -1
  4. package/dist/react/chunks/{DetailSidePanel-BTcHOiKr.mjs → DetailSidePanel-CC5Dugyl.mjs} +1 -1
  5. package/dist/react/chunks/{DetailSurfaceContent-B3ZNKh7q.mjs → DetailSurfaceContent-CrQVHlcU.mjs} +85 -77
  6. package/dist/react/chunks/{ECharts2dRenderer-C3Qv0uAa.mjs → ECharts2dRenderer-46gLrUdf.mjs} +412 -410
  7. package/dist/react/chunks/{ECharts3dRenderer-BB_7-fOt.mjs → ECharts3dRenderer-Dg4ta5Bl.mjs} +2211 -3197
  8. package/dist/react/chunks/{EditSidePanel-C2cAvxlK.mjs → EditSidePanel-CkShaByb.mjs} +77 -65
  9. package/dist/react/chunks/{InlineDetailPanel-BXLAw1o3.mjs → InlineDetailPanel-mnwjoD0I.mjs} +1 -1
  10. package/dist/react/chunks/PivotCharts-MX-Z7DlR.mjs +5076 -0
  11. package/dist/react/chunks/{ReportEditor-D4V0ry2B.mjs → ReportEditor-U0E42xKL.mjs} +952 -631
  12. package/dist/react/chunks/SidebarPanel-BzRW1Kgq.mjs +3944 -0
  13. package/dist/react/chunks/{SparklineDetailGraph-Bu85X7OJ.mjs → SparklineDetailGraph-35Tim_8B.mjs} +88 -58
  14. package/dist/react/chunks/installCanvasRenderer-DRq0xpXO.mjs +21174 -0
  15. package/dist/react/chunks/react-CL4GbEOd.mjs +33206 -0
  16. package/dist/react/chunks/{xlsx.mini.min-vfxHk3Ry.mjs → xlsx.mini.min-kfIgXMVB.mjs} +5 -5
  17. package/dist/react/components/Charts/ChartRenderers.d.ts +5 -73
  18. package/dist/react/components/Charts/ChartWorkspace.d.ts +3 -34
  19. package/dist/react/components/Charts/ECharts2dRenderer.d.ts +2 -5
  20. package/dist/react/components/Charts/ECharts3dRenderer.d.ts +2 -6
  21. package/dist/react/components/Charts/PivotCharts.d.ts +2 -9
  22. package/dist/react/components/Charts/chartEnhancements.d.ts +17 -66
  23. package/dist/react/components/Charts/chartExportPresentation.d.ts +5 -19
  24. package/dist/react/components/Charts/chartMath.d.ts +4 -4
  25. package/dist/react/components/Charts/useChartExportMenu.d.ts +4 -12
  26. package/dist/react/components/DashTanstackPivot.react.d.ts +40 -0
  27. package/dist/react/components/Filters/ColumnFilter.d.ts +2 -12
  28. package/dist/react/components/Filters/DateRangeFilter.d.ts +2 -7
  29. package/dist/react/components/Filters/FilterPopover.d.ts +2 -13
  30. package/dist/react/components/Filters/MultiSelectFilter.d.ts +2 -11
  31. package/dist/react/components/Filters/NumericRangeFilter.d.ts +2 -7
  32. package/dist/react/components/Notification.d.ts +2 -6
  33. package/dist/react/components/PivotAppBar.d.ts +2 -2
  34. package/dist/react/components/PivotErrorBoundary.d.ts +11 -7
  35. package/dist/react/components/PivotSmallComponents.d.ts +2 -3
  36. package/dist/react/components/PivotWorkspaceCanvas.d.ts +2 -5
  37. package/dist/react/components/PivotWorkspaceControls.d.ts +4 -8
  38. package/dist/react/components/PivotWorkspaceShell.d.ts +4 -12
  39. package/dist/react/components/RuntimeDataError.d.ts +2 -7
  40. package/dist/react/components/ShimmerFallback.d.ts +11 -0
  41. package/dist/react/components/Sidebar/ColumnTreeItem.d.ts +2 -13
  42. package/dist/react/components/Sidebar/ReportEditor.d.ts +7 -20
  43. package/dist/react/components/Sidebar/SidebarFilterItem.d.ts +2 -13
  44. package/dist/react/components/Sidebar/SidebarPanel.d.ts +1 -2
  45. package/dist/react/components/Sidebar/ToolPanelSection.d.ts +2 -13
  46. package/dist/react/components/Sidebar/customCategoryUtils.d.ts +31 -62
  47. package/dist/react/components/Sidebar/formulaUtils.d.ts +16 -18
  48. package/dist/react/components/SkeletonRow.d.ts +2 -5
  49. package/dist/react/components/Table/ContextMenu.d.ts +2 -8
  50. package/dist/react/components/Table/DetailDrawer.d.ts +2 -11
  51. package/dist/react/components/Table/DetailSidePanel.d.ts +2 -11
  52. package/dist/react/components/Table/DetailSurfaceContent.d.ts +2 -11
  53. package/dist/react/components/Table/EditSidePanel.d.ts +2 -20
  54. package/dist/react/components/Table/EditableCell.d.ts +2 -28
  55. package/dist/react/components/Table/InlineDetailPanel.d.ts +2 -13
  56. package/dist/react/components/Table/PivotTableBody.d.ts +3 -3
  57. package/dist/react/components/Table/SparklineCell.d.ts +2 -17
  58. package/dist/react/components/Table/SparklineDetailGraph.d.ts +2 -5
  59. package/dist/react/components/Table/StatusBar.d.ts +2 -7
  60. package/dist/react/components/ThemedSelect.d.ts +8 -0
  61. package/dist/react/contexts/PivotConfigContext.d.ts +5 -33
  62. package/dist/react/contexts/PivotThemeContext.d.ts +8 -4
  63. package/dist/react/contexts/PivotValueDisplayContext.d.ts +5 -9
  64. package/dist/react/hooks/useChartState.d.ts +2 -71
  65. package/dist/react/hooks/useColumnDefs.d.ts +3 -68
  66. package/dist/react/hooks/useColumnVirtualizer.d.ts +1 -30
  67. package/dist/react/hooks/useDetailDrillThrough.d.ts +2 -36
  68. package/dist/react/hooks/useFilteredData.d.ts +4 -2
  69. package/dist/react/hooks/useFormatState.d.ts +2 -39
  70. package/dist/react/hooks/usePersistence.d.ts +4 -5
  71. package/dist/react/hooks/usePivotFieldInteractions.d.ts +2 -23
  72. package/dist/react/hooks/usePivotNormalization.d.ts +127 -461
  73. package/dist/react/hooks/usePivotRenderCounter.d.ts +2 -1
  74. package/dist/react/hooks/usePivotTransactions.d.ts +2 -23
  75. package/dist/react/hooks/useRenderHelpers.d.ts +3 -71
  76. package/dist/react/hooks/useReportMode.d.ts +2 -28
  77. package/dist/react/hooks/useRowCache.d.ts +16 -15
  78. package/dist/react/hooks/useRuntimeDataCommit.d.ts +2 -22
  79. package/dist/react/hooks/useRuntimeProfiling.d.ts +2 -13
  80. package/dist/react/hooks/useRuntimeTransport.d.ts +2 -18
  81. package/dist/react/hooks/useServerSideRowModel.d.ts +1 -50
  82. package/dist/react/hooks/useServerSideViewportController.d.ts +1 -64
  83. package/dist/react/hooks/useSidebarUI.d.ts +2 -32
  84. package/dist/react/hooks/useStickyStyles.d.ts +2 -23
  85. package/dist/react/index.mjs +15 -9
  86. package/dist/react/presentation/headerFormatting.d.ts +28 -11
  87. package/dist/react/presentation/safeCellContent.d.ts +22 -5
  88. package/dist/react/react.d.ts +4 -1
  89. package/dist/react/runtime/PivotRuntimeRoot.d.ts +1 -1
  90. package/dist/react/runtime/client/clientPivotTransport.d.ts +6 -1
  91. package/dist/react/runtime/client/clientResponsePostProcessor.d.ts +50 -0
  92. package/dist/react/runtime/client/duckdbWasmExecutor.d.ts +3 -0
  93. package/dist/react/runtime/client/types.d.ts +17 -0
  94. package/dist/react/runtime/createRuntimeCellPresentation.d.ts +2 -7
  95. package/dist/react/runtime/createRuntimeExportCommands.d.ts +2 -71
  96. package/dist/react/runtime/createRuntimeRowPinCommand.d.ts +2 -9
  97. package/dist/react/runtime/displayColumnOrder.d.ts +4 -4
  98. package/dist/react/runtime/httpTransport.d.ts +1 -0
  99. package/dist/react/runtime/runtime-contract.generated.d.ts +3 -0
  100. package/dist/react/runtime/runtimeContract.d.ts +3 -0
  101. package/dist/react/runtime/runtimeDomains.d.ts +110 -0
  102. package/dist/react/runtime/useChartWorkspacePresentation.d.ts +2 -45
  103. package/dist/react/runtime/useCoreRuntime.d.ts +4 -1
  104. package/dist/react/runtime/useCoreRuntimeStage.d.ts +1 -1
  105. package/dist/react/runtime/useRuntimeCellSelection.d.ts +2 -40
  106. package/dist/react/runtime/useRuntimeChartCanvasCommands.d.ts +7 -31
  107. package/dist/react/runtime/useRuntimeChartCanvasResize.d.ts +2 -13
  108. package/dist/react/runtime/useRuntimeChartCanvasVerticalResize.d.ts +2 -9
  109. package/dist/react/runtime/useRuntimeChartDefinitionCommands.d.ts +2 -14
  110. package/dist/react/runtime/useRuntimeChartFloatingInteractions.d.ts +2 -28
  111. package/dist/react/runtime/useRuntimeChartModels.d.ts +2 -62
  112. package/dist/react/runtime/useRuntimeChartPanelSizing.d.ts +2 -12
  113. package/dist/react/runtime/useRuntimeChartRequestDispatch.d.ts +2 -4
  114. package/dist/react/runtime/useRuntimeClipboardExportPresentation.d.ts +2 -152
  115. package/dist/react/runtime/useRuntimeClipboardPaste.d.ts +2 -7
  116. package/dist/react/runtime/useRuntimeColorScalePresentation.d.ts +2 -55
  117. package/dist/react/runtime/useRuntimeColumnAutoSizing.d.ts +2 -26
  118. package/dist/react/runtime/useRuntimeColumnCommands.d.ts +2 -22
  119. package/dist/react/runtime/useRuntimeColumnMeasurement.d.ts +2 -11
  120. package/dist/react/runtime/useRuntimeDataRetry.d.ts +2 -12
  121. package/dist/react/runtime/useRuntimeDisplayNavigation.d.ts +2 -11
  122. package/dist/react/runtime/useRuntimeEditCellIdentity.d.ts +2 -18
  123. package/dist/react/runtime/useRuntimeEditChangeTracking.d.ts +2 -28
  124. package/dist/react/runtime/useRuntimeEditComparisonState.d.ts +2 -35
  125. package/dist/react/runtime/useRuntimeEditDispatch.d.ts +2 -43
  126. package/dist/react/runtime/useRuntimeEditOwnership.d.ts +2 -28
  127. package/dist/react/runtime/useRuntimeEditPresentation.d.ts +2 -32
  128. package/dist/react/runtime/useRuntimeEditStatePersistence.d.ts +2 -24
  129. package/dist/react/runtime/useRuntimeExportState.d.ts +5 -5
  130. package/dist/react/runtime/useRuntimeFilterPopover.d.ts +2 -19
  131. package/dist/react/runtime/useRuntimeLayoutHistory.d.ts +2 -40
  132. package/dist/react/runtime/useRuntimeOptimisticCellState.d.ts +2 -27
  133. package/dist/react/runtime/useRuntimeRequestSession.d.ts +2 -76
  134. package/dist/react/runtime/useRuntimeResponseLifecycle.d.ts +2 -43
  135. package/dist/react/runtime/useRuntimeResponsePostCommit.d.ts +2 -15
  136. package/dist/react/runtime/useRuntimeRowEditSessions.d.ts +2 -28
  137. package/dist/react/runtime/useRuntimeRowEditing.d.ts +2 -18
  138. package/dist/react/runtime/useRuntimeRowSelection.d.ts +2 -14
  139. package/dist/react/runtime/useRuntimeSelectionFormatting.d.ts +2 -30
  140. package/dist/react/runtime/useRuntimeStructuralSync.d.ts +2 -61
  141. package/dist/react/runtime/useRuntimeViewRestoreScroll.d.ts +2 -5
  142. package/dist/react/runtime/useRuntimeViewSnapshot.d.ts +2 -196
  143. package/dist/react/runtime/useRuntimeViewportTableData.d.ts +2 -23
  144. package/dist/react/runtime/useWorkspaceStatusPresentation.d.ts +2 -109
  145. package/dist/react/utils/Icons.d.ts +2 -45
  146. package/dist/react/utils/chartModelBuilders.d.ts +76 -230
  147. package/dist/react/utils/columnOrder.d.ts +8 -12
  148. package/dist/react/utils/dataBars.d.ts +4 -7
  149. package/dist/react/utils/domEvents.d.ts +2 -1
  150. package/dist/react/utils/editing.d.ts +12 -47
  151. package/dist/react/utils/exportUtils.d.ts +30 -101
  152. package/dist/react/utils/fieldPanelLayout.d.ts +12 -61
  153. package/dist/react/utils/filterOptions.d.ts +4 -4
  154. package/dist/react/utils/helpers.d.ts +21 -18
  155. package/dist/react/utils/horizontalViewport.d.ts +1 -12
  156. package/dist/react/utils/layoutRows.d.ts +3 -3
  157. package/dist/react/utils/measureAxis.d.ts +6 -22
  158. package/dist/react/utils/pivotLayoutUtils.d.ts +7 -2
  159. package/dist/react/utils/pivotProfiler.d.ts +3 -3
  160. package/dist/react/utils/reportEditorSelection.d.ts +1 -23
  161. package/dist/react/utils/rowSpanning.d.ts +3 -6
  162. package/dist/react/utils/savedReports.d.ts +4 -7
  163. package/dist/react/utils/sorting.d.ts +8 -14
  164. package/dist/react/utils/sparklineDetail.d.ts +5 -8
  165. package/dist/react/utils/sparklines.d.ts +10 -78
  166. package/dist/react/utils/styles.d.ts +19 -308
  167. package/package.json +114 -114
  168. package/dist/react/chunks/ContextMenu-Bt5_3bmD.mjs +0 -192
  169. package/dist/react/chunks/PivotCharts-Bw6Swoa3.mjs +0 -4252
  170. package/dist/react/chunks/SidebarPanel-xO59p_2o.mjs +0 -3339
  171. package/dist/react/chunks/installCanvasRenderer-B7sfDGoL.mjs +0 -21281
  172. package/dist/react/chunks/react-CPZZxtSo.mjs +0 -26999
@@ -12,71 +12,6 @@
12
12
  * - defaultColumnWidths, debugLog, theme, validationRules, onCellEdit,
13
13
  * isColExpanded, toggleCol, pendingRowTransitions: read at render time
14
14
  * from current scope; same stable-ref / render-time-read pattern
15
- */
16
- export function useColumnDefs({ sortOptions, sorting, serverSide, showRowNumbers, layoutMode, viewMode, rowFields, colFields, valConfigs, customDimensions, treeConfig, minMax, colorScaleMode, colExpanded, isRowSelecting, rowDragStart, props, measureAxis, cachedColSchema, responseColumns, filteredData, rowCount, theme, defaultColumnWidths, validationRules, onCellEdit, onEditBlocked, resolveEditorPresentation, rowEditMode, getRowEditSession, onRequestRowStart, onRowDraftChange, onRequestRowSave, onRequestRowCancel, requestEditorOptions, renderRowEditActions, handleContextMenu, handleRowSelect, handleRowRangeSelect, setIsRowSelecting, setRowDragStart, renderedOffset, isColExpanded, toggleCol, pendingRowTransitions, decimalPlaces, defaultValueFormat, numberGroupSeparator, columnDecimalOverrides, columnFormatOverrides, columnGroupSeparatorOverrides, cellFormatRules, pivotMode, reportDef, showReportConfigColumn, onConfigureReportLine, detailMode, isDetailOpenForRow, onToggleDetail, resolveCellDisplayValue, editValueDisplayMode, openSparklineDataModalRef, rowCheckboxSelection, selectedRowKeys, toggleRowCheckbox, }: {
17
- sortOptions: any;
18
- sorting: any;
19
- serverSide: any;
20
- showRowNumbers: any;
21
- layoutMode: any;
22
- viewMode: any;
23
- rowFields: any;
24
- colFields: any;
25
- valConfigs: any;
26
- customDimensions: any;
27
- treeConfig: any;
28
- minMax: any;
29
- colorScaleMode: any;
30
- colExpanded: any;
31
- isRowSelecting: any;
32
- rowDragStart: any;
33
- props: any;
34
- measureAxis: any;
35
- cachedColSchema: any;
36
- responseColumns: any;
37
- filteredData: any;
38
- rowCount: any;
39
- theme: any;
40
- defaultColumnWidths: any;
41
- validationRules: any;
42
- onCellEdit: any;
43
- onEditBlocked: any;
44
- resolveEditorPresentation: any;
45
- rowEditMode: any;
46
- getRowEditSession: any;
47
- onRequestRowStart: any;
48
- onRowDraftChange: any;
49
- onRequestRowSave: any;
50
- onRequestRowCancel: any;
51
- requestEditorOptions: any;
52
- renderRowEditActions: any;
53
- handleContextMenu: any;
54
- handleRowSelect: any;
55
- handleRowRangeSelect: any;
56
- setIsRowSelecting: any;
57
- setRowDragStart: any;
58
- renderedOffset: any;
59
- isColExpanded: any;
60
- toggleCol: any;
61
- pendingRowTransitions: any;
62
- decimalPlaces: any;
63
- defaultValueFormat: any;
64
- numberGroupSeparator: any;
65
- columnDecimalOverrides: any;
66
- columnFormatOverrides: any;
67
- columnGroupSeparatorOverrides: any;
68
- cellFormatRules: any;
69
- pivotMode: any;
70
- reportDef: any;
71
- showReportConfigColumn?: boolean | undefined;
72
- onConfigureReportLine: any;
73
- detailMode: any;
74
- isDetailOpenForRow: any;
75
- onToggleDetail: any;
76
- resolveCellDisplayValue: any;
77
- editValueDisplayMode: any;
78
- openSparklineDataModalRef: any;
79
- rowCheckboxSelection: any;
80
- selectedRowKeys: any;
81
- toggleRowCheckbox: any;
82
- }): any;
15
+ @param {any} p0 @returns {any} */
16
+ export function useColumnDefs({ sortOptions, sorting, serverSide, showRowNumbers, layoutMode, viewMode, rowFields, colFields, valConfigs, customDimensions, treeConfig, minMax, colorScaleMode, colExpanded, isRowSelecting, rowDragStart, props, measureAxis, cachedColSchema, responseColumns, filteredData, rowCount, theme, defaultColumnWidths, validationRules, onCellEdit, onEditBlocked, resolveEditorPresentation, rowEditMode, getRowEditSession, onRequestRowStart, onRowDraftChange, onRequestRowSave, onRequestRowCancel, requestEditorOptions, renderRowEditActions, handleContextMenu, handleRowSelect, handleRowRangeSelect, setIsRowSelecting, setRowDragStart, renderedOffset, isColExpanded, toggleCol, pendingRowTransitions, pendingRowTransitionsRef, decimalPlaces, defaultValueFormat, numberGroupSeparator, columnDecimalOverrides, columnFormatOverrides, columnGroupSeparatorOverrides, cellFormatRules, pivotMode, reportDef, showReportConfigColumn, onConfigureReportLine, detailMode, isDetailOpenForRow, onToggleDetail, resolveCellDisplayValue, editValueDisplayMode, openSparklineDataModalRef, rowCheckboxSelection, selectedRowKeys, toggleRowCheckbox, themeRef, dataBarsColumnsRef, rowHeaderLabel, measureGroups, valueScale, unitSuffix, }: any): any;
17
+ export function applyMeasureHeaderGroups(cols?: any, idPrefix?: any): any;
@@ -1,30 +1 @@
1
- export function useColumnVirtualizer({ parentRef, table, estimateColumnWidth, serverSide, totalCenterCols, columnOverscan, stateEpoch, onHorizontalScrollMetrics, onPreciseVisibleColRange, columnVisibility, columnPinning, columnOrder, columnSizing, columns, }: {
2
- parentRef: any;
3
- table: any;
4
- estimateColumnWidth: any;
5
- serverSide?: boolean | undefined;
6
- totalCenterCols?: null | undefined;
7
- columnOverscan?: null | undefined;
8
- stateEpoch?: number | undefined;
9
- onHorizontalScrollMetrics?: null | undefined;
10
- onPreciseVisibleColRange?: null | undefined;
11
- columnVisibility: any;
12
- columnPinning: any;
13
- columnOrder: any;
14
- columnSizing: any;
15
- columns: any;
16
- }): {
17
- columnVirtualizer: import("@tanstack/virtual-core").Virtualizer<any, Element>;
18
- virtualCenterCols: import("@tanstack/virtual-core").VirtualItem[];
19
- centerTotalWidth: number;
20
- beforeWidth: number;
21
- afterWidth: number;
22
- totalLayoutWidth: any;
23
- leftCols: any;
24
- rightCols: any;
25
- centerCols: any;
26
- preciseVisibleColRange: {
27
- start: number;
28
- end: number;
29
- };
30
- };
1
+ export function useColumnVirtualizer({ parentRef, table, estimateColumnWidth, serverSide, totalCenterCols, columnOverscan, stateEpoch, onHorizontalScrollMetrics, onPreciseVisibleColRange, columnVisibility, columnPinning, columnOrder, columnSizing, columns, }: any): any;
@@ -1,38 +1,4 @@
1
1
  /**
2
2
  * Manages detail/drill-through panel state, requests, and caching.
3
- */
4
- export function useDetailDrillThrough({ detailConfig, detailMode, viewMode, reportDef, treeConfig, rowFields, colFields, valConfigs, tableName, runtimeResponse, emitRuntimeRequest, stateEpoch, abortGeneration, sessionIdRef, clientInstanceRef, requestVersionRef, setPropsRef, profilingEnabledRef, pivotProfilerRef, profilerComponentIdRef, }: {
5
- detailConfig: any;
6
- detailMode: any;
7
- viewMode: any;
8
- reportDef: any;
9
- treeConfig: any;
10
- rowFields: any;
11
- colFields: any;
12
- valConfigs: any;
13
- tableName: any;
14
- runtimeResponse: any;
15
- emitRuntimeRequest: any;
16
- stateEpoch: any;
17
- abortGeneration: any;
18
- sessionIdRef: any;
19
- clientInstanceRef: any;
20
- requestVersionRef: any;
21
- setPropsRef: any;
22
- profilingEnabledRef: any;
23
- pivotProfilerRef: any;
24
- profilerComponentIdRef: any;
25
- }): {
26
- detailSurface: null;
27
- setDetailSurface: import("react").Dispatch<import("react").SetStateAction<null>>;
28
- toggleDetailForRowRef: import("react").RefObject<null>;
29
- pendingDetailRequestRef: import("react").RefObject<null>;
30
- activeDetailDisplayMode: any;
31
- fetchDetailData: (detailRequest: any) => void;
32
- handleCellDrillThrough: (row: any, colId: any) => void;
33
- toggleDetailForRow: (row: any) => void;
34
- handleDetailPageChange: (nextPage: any) => void;
35
- handleDetailSort: (columnId: any, direction: any) => void;
36
- handleDetailFilter: (text: any) => void;
37
- handleDetailClose: () => void;
38
- };
3
+ @param {any} p0 @returns {any} */
4
+ export function useDetailDrillThrough({ detailConfig, detailMode, viewMode, reportDef, treeConfig, rowFields, colFields, valConfigs, tableName, runtimeResponse, emitRuntimeRequest, stateEpoch, abortGeneration, sessionIdRef, clientInstanceRef, requestVersionRef, setPropsRef, profilingEnabledRef, pivotProfilerRef, profilerComponentIdRef, }: any): any;
@@ -1,2 +1,4 @@
1
- export function evaluateFilterGroup(rowVal: any, filterGroup: any): any;
2
- export function useFilteredData(data: any, filters: any, serverSide: any): any;
1
+ /** @param {any} [rowVal] @param {any} [filterGroup] @returns {any} */
2
+ export function evaluateFilterGroup(rowVal?: any, filterGroup?: any): any;
3
+ /** @param {any} [data] @param {any} [filters] @param {any} [serverSide] @returns {any} */
4
+ export function useFilteredData(data?: any, filters?: any, serverSide?: any): any;
@@ -3,42 +3,5 @@
3
3
  *
4
4
  * Covers: color scale, data bars, font, decimal, number format, cell format
5
5
  * rules, zoom, and hovered row path.
6
- */
7
- export function useFormatState({ normalizedInitialDecimalPlaces, normalizedInitialDefaultValueFormat, normalizedInitialNumberGroupSeparator, }: {
8
- normalizedInitialDecimalPlaces: any;
9
- normalizedInitialDefaultValueFormat: any;
10
- normalizedInitialNumberGroupSeparator: any;
11
- }): {
12
- colorScaleMode: string;
13
- setColorScaleMode: (mode: any, columns?: null) => void;
14
- colorScaleColumns: null;
15
- setColorScaleColumns: import("react").Dispatch<import("react").SetStateAction<null>>;
16
- colorPalette: string;
17
- setColorPalette: import("react").Dispatch<import("react").SetStateAction<string>>;
18
- dataBarsColumns: Set<any>;
19
- setDataBarsColumns: import("react").Dispatch<import("react").SetStateAction<Set<any>>>;
20
- dataBarMaximums: {};
21
- setDataBarMaximums: (value: any) => void;
22
- fontFamily: string;
23
- setFontFamily: import("react").Dispatch<import("react").SetStateAction<string>>;
24
- fontSize: string;
25
- setFontSize: import("react").Dispatch<import("react").SetStateAction<string>>;
26
- decimalPlaces: any;
27
- setDecimalPlaces: import("react").Dispatch<any>;
28
- defaultValueFormat: any;
29
- setDefaultValueFormat: import("react").Dispatch<any>;
30
- numberGroupSeparator: any;
31
- setNumberGroupSeparator: import("react").Dispatch<any>;
32
- columnDecimalOverrides: {};
33
- setColumnDecimalOverrides: import("react").Dispatch<import("react").SetStateAction<{}>>;
34
- columnFormatOverrides: {};
35
- setColumnFormatOverrides: import("react").Dispatch<import("react").SetStateAction<{}>>;
36
- columnGroupSeparatorOverrides: {};
37
- setColumnGroupSeparatorOverrides: import("react").Dispatch<import("react").SetStateAction<{}>>;
38
- cellFormatRules: {};
39
- setCellFormatRules: import("react").Dispatch<import("react").SetStateAction<{}>>;
40
- hoveredRowPath: null;
41
- setHoveredRowPath: import("react").Dispatch<import("react").SetStateAction<null>>;
42
- zoomLevel: number;
43
- setZoomLevel: import("react").Dispatch<import("react").SetStateAction<number>>;
44
- };
6
+ @param {any} p0 @returns {any} */
7
+ export function useFormatState({ normalizedInitialDecimalPlaces, normalizedInitialDefaultValueFormat, normalizedInitialNumberGroupSeparator, }: any): any;
@@ -1,5 +1,4 @@
1
- export function resolvePersistedViewState(explicitView: any, savedView: any, tableName: any): any;
2
- export function usePersistence(id: any, persistence: any, persistence_type: any): {
3
- load: (key: any, defaultValue: any) => any;
4
- save: (key: any, value: any) => void;
5
- };
1
+ /** @param {any} [explicitView] @param {any} [savedView] @param {any} [tableName] @returns {any} */
2
+ export function resolvePersistedViewState(explicitView?: any, savedView?: any, tableName?: any): any;
3
+ /** @param {any} [id] @param {any} [persistence] @param {any} [persistence_type] @returns {any} */
4
+ export function usePersistence(id?: any, persistence?: any, persistence_type?: any): any;
@@ -3,26 +3,5 @@
3
3
  * headers: drag payloads, drop indicators, semantic field moves, rendered
4
4
  * column reordering, and column pinning. The composition root supplies its
5
5
  * persisted layout writers and table metadata explicitly through `configure`.
6
- */
7
- export function usePivotFieldInteractions(): {
8
- configure: (context: any) => void;
9
- dragItem: null;
10
- dropLine: null;
11
- dragOverHeaderId: null;
12
- dragOverSide: null;
13
- handlePinColumn: (columnId: any, side: any) => boolean;
14
- toggleAllColumnsPinned: (pinState: any) => boolean;
15
- applyFieldZoneMove: ({ field, srcZone, srcIdx, targetZone, targetIdx, source, }?: {
16
- srcIdx?: number | undefined;
17
- targetIdx?: number | undefined;
18
- source?: string | undefined;
19
- }) => boolean;
20
- onDragStart: (event: any, field: any, zone: any, index: any) => void;
21
- onDragOver: (event: any, zone: any, index: any) => void;
22
- onDrop: (event: any, targetZone: any) => void;
23
- onHeaderDrop: (event: any, targetColumnId: any) => void;
24
- onHeaderDragOver: (event: any, columnId: any) => void;
25
- onHeaderDragEnd: () => void;
26
- onHeaderKeyboardMove: (columnId: any, delta: any) => boolean;
27
- onHeaderKeyboardPin: (columnId: any, side: any) => boolean;
28
- };
6
+ @returns {any} */
7
+ export function usePivotFieldInteractions(): any;