serverside_pivot 0.0.0-stage → 0.0.90

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 (178) hide show
  1. package/README.md +165 -3
  2. package/dist/react/chunks/ContextMenu-Bt5_3bmD.mjs +192 -0
  3. package/dist/react/chunks/DetailDrawer-DtsvdhO4.mjs +37 -0
  4. package/dist/react/chunks/DetailSidePanel-v_7iU73g.mjs +36 -0
  5. package/dist/react/chunks/DetailSurfaceContent-BOXVc58A.mjs +200 -0
  6. package/dist/react/chunks/ECharts2dRenderer-BGL_NVGU.mjs +3299 -0
  7. package/dist/react/chunks/ECharts3dRenderer-BF2YWlsP.mjs +21573 -0
  8. package/dist/react/chunks/EditSidePanel-CuvtsKTK.mjs +298 -0
  9. package/dist/react/chunks/InlineDetailPanel-Bmtlu3lc.mjs +41 -0
  10. package/dist/react/chunks/PivotCharts-CA3_0bB8.mjs +4252 -0
  11. package/dist/react/chunks/ReportEditor-DYBr0HDz.mjs +1726 -0
  12. package/dist/react/chunks/SidebarPanel-B64bhrUW.mjs +3339 -0
  13. package/dist/react/chunks/SparklineDetailGraph-90WjWkhg.mjs +200 -0
  14. package/dist/react/chunks/installCanvasRenderer-C8gE9ttC.mjs +21281 -0
  15. package/dist/react/chunks/react-52jgz-em.mjs +25301 -0
  16. package/dist/react/chunks/xlsx.mini.min-BwwnBtoK.mjs +7996 -0
  17. package/dist/react/components/Charts/ChartRenderers.d.ts +73 -0
  18. package/dist/react/components/Charts/ChartWorkspace.d.ts +38 -0
  19. package/dist/react/components/Charts/ECharts2dRenderer.d.ts +5 -0
  20. package/dist/react/components/Charts/ECharts3dRenderer.d.ts +6 -0
  21. package/dist/react/components/Charts/PivotCharts.d.ts +9 -0
  22. package/dist/react/components/Charts/chartEnhancements.d.ts +66 -0
  23. package/dist/react/components/Charts/chartExportPresentation.d.ts +19 -0
  24. package/dist/react/components/Charts/chartMath.d.ts +4 -0
  25. package/dist/react/components/Charts/useChartExportMenu.d.ts +12 -0
  26. package/dist/react/components/DashTanstackPivot.react.d.ts +365 -0
  27. package/dist/react/components/Filters/ColumnFilter.d.ts +13 -0
  28. package/dist/react/components/Filters/DateRangeFilter.d.ts +8 -0
  29. package/dist/react/components/Filters/FilterPopover.d.ts +14 -0
  30. package/dist/react/components/Filters/MultiSelectFilter.d.ts +12 -0
  31. package/dist/react/components/Filters/NumericRangeFilter.d.ts +8 -0
  32. package/dist/react/components/Notification.d.ts +7 -0
  33. package/dist/react/components/PivotAppBar.d.ts +2 -0
  34. package/dist/react/components/PivotErrorBoundary.d.ts +15 -0
  35. package/dist/react/components/PivotSmallComponents.d.ts +6 -0
  36. package/dist/react/components/PivotWorkspace.d.ts +19 -0
  37. package/dist/react/components/PivotWorkspaceCanvas.d.ts +5 -0
  38. package/dist/react/components/PivotWorkspaceControls.d.ts +12 -0
  39. package/dist/react/components/PivotWorkspaceShell.d.ts +12 -0
  40. package/dist/react/components/RuntimeDataError.d.ts +7 -0
  41. package/dist/react/components/Sidebar/ColumnTreeItem.d.ts +14 -0
  42. package/dist/react/components/Sidebar/ReportEditor.d.ts +21 -0
  43. package/dist/react/components/Sidebar/SidebarFilterItem.d.ts +14 -0
  44. package/dist/react/components/Sidebar/SidebarPanel.d.ts +2 -0
  45. package/dist/react/components/Sidebar/ToolPanelSection.d.ts +14 -0
  46. package/dist/react/components/Sidebar/customCategoryUtils.d.ts +62 -0
  47. package/dist/react/components/Sidebar/formulaUtils.d.ts +22 -0
  48. package/dist/react/components/SkeletonRow.d.ts +6 -0
  49. package/dist/react/components/Table/ContextMenu.d.ts +9 -0
  50. package/dist/react/components/Table/DetailDrawer.d.ts +12 -0
  51. package/dist/react/components/Table/DetailSidePanel.d.ts +12 -0
  52. package/dist/react/components/Table/DetailSurfaceContent.d.ts +12 -0
  53. package/dist/react/components/Table/EditSidePanel.d.ts +21 -0
  54. package/dist/react/components/Table/EditableCell.d.ts +29 -0
  55. package/dist/react/components/Table/InlineDetailPanel.d.ts +14 -0
  56. package/dist/react/components/Table/PivotTableBody.d.ts +9 -0
  57. package/dist/react/components/Table/SparklineCell.d.ts +17 -0
  58. package/dist/react/components/Table/SparklineDetailGraph.d.ts +5 -0
  59. package/dist/react/components/Table/StatusBar.d.ts +8 -0
  60. package/dist/react/contexts/PivotConfigContext.d.ts +34 -0
  61. package/dist/react/contexts/PivotThemeContext.d.ts +7 -0
  62. package/dist/react/contexts/PivotValueDisplayContext.d.ts +10 -0
  63. package/dist/react/hooks/useCellInteraction.d.ts +31 -0
  64. package/dist/react/hooks/useChartState.d.ts +76 -0
  65. package/dist/react/hooks/useColumnDefs.d.ts +82 -0
  66. package/dist/react/hooks/useColumnVirtualizer.d.ts +30 -0
  67. package/dist/react/hooks/useDetailDrillThrough.d.ts +38 -0
  68. package/dist/react/hooks/useFilteredData.d.ts +2 -0
  69. package/dist/react/hooks/useFormatState.d.ts +44 -0
  70. package/dist/react/hooks/usePersistence.d.ts +5 -0
  71. package/dist/react/hooks/usePivotFieldInteractions.d.ts +28 -0
  72. package/dist/react/hooks/usePivotNormalization.d.ts +473 -0
  73. package/dist/react/hooks/usePivotRenderCounter.d.ts +1 -0
  74. package/dist/react/hooks/usePivotTransactions.d.ts +29 -0
  75. package/dist/react/hooks/useRenderHelpers.d.ts +85 -0
  76. package/dist/react/hooks/useReportMode.d.ts +32 -0
  77. package/dist/react/hooks/useRowCache.d.ts +19 -0
  78. package/dist/react/hooks/useRuntimeDataCommit.d.ts +26 -0
  79. package/dist/react/hooks/useRuntimeProfiling.d.ts +19 -0
  80. package/dist/react/hooks/useRuntimeTransport.d.ts +24 -0
  81. package/dist/react/hooks/useServerSideRowModel.d.ts +50 -0
  82. package/dist/react/hooks/useServerSideViewportController.d.ts +64 -0
  83. package/dist/react/hooks/useSidebarUI.d.ts +37 -0
  84. package/dist/react/hooks/useStickyStyles.d.ts +24 -0
  85. package/dist/react/index.mjs +8 -0
  86. package/dist/react/presentation/headerFormatting.d.ts +13 -0
  87. package/dist/react/presentation/safeCellContent.d.ts +16 -0
  88. package/dist/react/react.d.ts +7 -0
  89. package/dist/react/runtime/PivotRuntimeRoot.d.ts +7 -0
  90. package/dist/react/runtime/cellSelectionAnchor.d.ts +45 -0
  91. package/dist/react/runtime/createRuntimeCellPresentation.d.ts +7 -0
  92. package/dist/react/runtime/createRuntimeExportCommands.d.ts +77 -0
  93. package/dist/react/runtime/createRuntimeRowPinCommand.d.ts +9 -0
  94. package/dist/react/runtime/createWorkspacePresentation.d.ts +7 -0
  95. package/dist/react/runtime/displayColumnOrder.d.ts +4 -0
  96. package/dist/react/runtime/httpTransport.d.ts +65 -0
  97. package/dist/react/runtime/runtime-contract.generated.d.ts +48 -0
  98. package/dist/react/runtime/runtime-response-contract.generated.d.ts +34 -0
  99. package/dist/react/runtime/runtimeContract.d.ts +115 -0
  100. package/dist/react/runtime/runtimeDomains.d.ts +642 -0
  101. package/dist/react/runtime/runtimeDomains.type-test.d.ts +1 -0
  102. package/dist/react/runtime/runtimeResponseDedup.d.ts +36 -0
  103. package/dist/react/runtime/useChartWorkspacePresentation.d.ts +50 -0
  104. package/dist/react/runtime/useCommandRuntime.d.ts +3 -0
  105. package/dist/react/runtime/useCommandRuntimeStage.d.ts +1 -0
  106. package/dist/react/runtime/useCoreRuntime.d.ts +3 -0
  107. package/dist/react/runtime/useCoreRuntimeStage.d.ts +3 -0
  108. package/dist/react/runtime/useRuntimeCellSelection.d.ts +44 -0
  109. package/dist/react/runtime/useRuntimeChartCanvasCommands.d.ts +36 -0
  110. package/dist/react/runtime/useRuntimeChartCanvasResize.d.ts +13 -0
  111. package/dist/react/runtime/useRuntimeChartCanvasVerticalResize.d.ts +9 -0
  112. package/dist/react/runtime/useRuntimeChartDefinitionCommands.d.ts +14 -0
  113. package/dist/react/runtime/useRuntimeChartFloatingInteractions.d.ts +28 -0
  114. package/dist/react/runtime/useRuntimeChartModels.d.ts +69 -0
  115. package/dist/react/runtime/useRuntimeChartPanelSizing.d.ts +12 -0
  116. package/dist/react/runtime/useRuntimeChartRequestDispatch.d.ts +7 -0
  117. package/dist/react/runtime/useRuntimeClipboardExportPresentation.d.ts +159 -0
  118. package/dist/react/runtime/useRuntimeClipboardPaste.d.ts +7 -0
  119. package/dist/react/runtime/useRuntimeColorScalePresentation.d.ts +55 -0
  120. package/dist/react/runtime/useRuntimeColumnAutoSizing.d.ts +26 -0
  121. package/dist/react/runtime/useRuntimeColumnCommands.d.ts +22 -0
  122. package/dist/react/runtime/useRuntimeColumnMeasurement.d.ts +16 -0
  123. package/dist/react/runtime/useRuntimeDataRetry.d.ts +12 -0
  124. package/dist/react/runtime/useRuntimeDisplayNavigation.d.ts +17 -0
  125. package/dist/react/runtime/useRuntimeEditCellIdentity.d.ts +22 -0
  126. package/dist/react/runtime/useRuntimeEditChangeTracking.d.ts +28 -0
  127. package/dist/react/runtime/useRuntimeEditComparisonState.d.ts +35 -0
  128. package/dist/react/runtime/useRuntimeEditDispatch.d.ts +47 -0
  129. package/dist/react/runtime/useRuntimeEditOwnership.d.ts +32 -0
  130. package/dist/react/runtime/useRuntimeEditPresentation.d.ts +32 -0
  131. package/dist/react/runtime/useRuntimeEditStatePersistence.d.ts +28 -0
  132. package/dist/react/runtime/useRuntimeExportState.d.ts +20 -0
  133. package/dist/react/runtime/useRuntimeFilterPopover.d.ts +23 -0
  134. package/dist/react/runtime/useRuntimeLayoutHistory.d.ts +44 -0
  135. package/dist/react/runtime/useRuntimeOptimisticCellState.d.ts +27 -0
  136. package/dist/react/runtime/useRuntimeRequestSession.d.ts +79 -0
  137. package/dist/react/runtime/useRuntimeResponseLifecycle.d.ts +47 -0
  138. package/dist/react/runtime/useRuntimeResponsePostCommit.d.ts +15 -0
  139. package/dist/react/runtime/useRuntimeRowEditSessions.d.ts +28 -0
  140. package/dist/react/runtime/useRuntimeRowEditing.d.ts +18 -0
  141. package/dist/react/runtime/useRuntimeRowSelection.d.ts +14 -0
  142. package/dist/react/runtime/useRuntimeSelectionFormatting.d.ts +36 -0
  143. package/dist/react/runtime/useRuntimeStructuralSync.d.ts +62 -0
  144. package/dist/react/runtime/useRuntimeViewRestoreScroll.d.ts +9 -0
  145. package/dist/react/runtime/useRuntimeViewSnapshot.d.ts +203 -0
  146. package/dist/react/runtime/useRuntimeViewportTableData.d.ts +23 -0
  147. package/dist/react/runtime/useTransportRuntime.d.ts +12 -0
  148. package/dist/react/runtime/useViewportRuntime.d.ts +3 -0
  149. package/dist/react/runtime/useViewportRuntimeStage.d.ts +1 -0
  150. package/dist/react/runtime/useWorkspaceRuntime.d.ts +3 -0
  151. package/dist/react/runtime/useWorkspaceRuntimeStage.d.ts +1 -0
  152. package/dist/react/runtime/useWorkspaceStatusPresentation.d.ts +115 -0
  153. package/dist/react/runtime/workspaceViewModel.d.ts +7 -0
  154. package/dist/react/utils/Icons.d.ts +46 -0
  155. package/dist/react/utils/chartModelBuilders.d.ts +236 -0
  156. package/dist/react/utils/columnOrder.d.ts +12 -0
  157. package/dist/react/utils/dataBars.d.ts +7 -0
  158. package/dist/react/utils/domEvents.d.ts +1 -0
  159. package/dist/react/utils/editing.d.ts +47 -0
  160. package/dist/react/utils/exportUtils.d.ts +121 -0
  161. package/dist/react/utils/fieldPanelLayout.d.ts +61 -0
  162. package/dist/react/utils/filterOptions.d.ts +4 -0
  163. package/dist/react/utils/formatting.d.ts +1 -0
  164. package/dist/react/utils/helpers.d.ts +20 -0
  165. package/dist/react/utils/horizontalViewport.d.ts +12 -0
  166. package/dist/react/utils/layoutRows.d.ts +3 -0
  167. package/dist/react/utils/measureAxis.d.ts +22 -0
  168. package/dist/react/utils/pivotLayoutUtils.d.ts +2 -0
  169. package/dist/react/utils/pivotProfiler.d.ts +4 -0
  170. package/dist/react/utils/rawTableTsv.d.ts +21 -0
  171. package/dist/react/utils/reportEditorSelection.d.ts +23 -0
  172. package/dist/react/utils/rowSpanning.d.ts +6 -0
  173. package/dist/react/utils/savedReports.d.ts +7 -0
  174. package/dist/react/utils/sorting.d.ts +14 -0
  175. package/dist/react/utils/sparklineDetail.d.ts +8 -0
  176. package/dist/react/utils/sparklines.d.ts +78 -0
  177. package/dist/react/utils/styles.d.ts +957 -0
  178. package/package.json +89 -6
@@ -0,0 +1,73 @@
1
+ export function EmptyChartState({ message, theme, chartHeight }: {
2
+ message: any;
3
+ theme: any;
4
+ chartHeight?: number | undefined;
5
+ }): React.JSX.Element;
6
+ export function ChartStats({ model, theme }: {
7
+ model: any;
8
+ theme: any;
9
+ }): React.JSX.Element | null;
10
+ export function ChartLegend({ items, theme, hiddenSet, onToggle, position, onElementSelect }: {
11
+ items: any;
12
+ theme: any;
13
+ hiddenSet: any;
14
+ onToggle: any;
15
+ position?: string | undefined;
16
+ onElementSelect: any;
17
+ }): React.JSX.Element | null;
18
+ export function SparklineBoard({ model, theme, chartHeight, paletteColors, valueFormat, referenceLines, }: {
19
+ model: any;
20
+ theme: any;
21
+ chartHeight: any;
22
+ paletteColors: any;
23
+ valueFormat: any;
24
+ referenceLines?: never[] | undefined;
25
+ }): React.JSX.Element;
26
+ export function SvgChart({ model, chartType, barLayout, axisMode, theme, chartHeight, showLegend, showDataLabels, onCategoryActivate, svgRef, echartsRef, colorPalette, valueFormat, yAxisTitle, yAxisMin, yAxisMax, referenceLines, labelAngle, chartTitle, onTitleChange, tickCount, markerShape, markerSize, showGradient, seriesColors, showAnimations, showCalloutLabels, subtitle, onReferenceLinesChange, showTrendline, trendlineMode, trendlinePeriod, legendPosition, labelPosition, decimalPlaces, gradientDirection, gradientOpacity, trendlineColor, trendlineWidth, seriesSort, lineDashStyles, yAxisMinRight, yAxisMaxRight, customPaletteColors, onElementSelect, }: {
27
+ model: any;
28
+ chartType: any;
29
+ barLayout: any;
30
+ axisMode: any;
31
+ theme: any;
32
+ chartHeight?: number | undefined;
33
+ showLegend?: boolean | undefined;
34
+ showDataLabels?: boolean | undefined;
35
+ onCategoryActivate?: null | undefined;
36
+ svgRef?: null | undefined;
37
+ echartsRef?: null | undefined;
38
+ colorPalette?: string | undefined;
39
+ valueFormat?: string | undefined;
40
+ yAxisTitle?: string | undefined;
41
+ yAxisMin?: string | undefined;
42
+ yAxisMax?: string | undefined;
43
+ referenceLines?: never[] | undefined;
44
+ labelAngle?: number | undefined;
45
+ chartTitle?: string | undefined;
46
+ onTitleChange?: null | undefined;
47
+ tickCount?: number | undefined;
48
+ markerShape?: string | undefined;
49
+ markerSize?: number | undefined;
50
+ showGradient?: boolean | undefined;
51
+ seriesColors?: {} | undefined;
52
+ showAnimations?: boolean | undefined;
53
+ showCalloutLabels?: boolean | undefined;
54
+ subtitle?: string | undefined;
55
+ onReferenceLinesChange?: null | undefined;
56
+ showTrendline?: boolean | undefined;
57
+ trendlineMode?: string | undefined;
58
+ trendlinePeriod?: number | undefined;
59
+ legendPosition?: string | undefined;
60
+ labelPosition?: string | undefined;
61
+ decimalPlaces?: number | undefined;
62
+ gradientDirection?: string | undefined;
63
+ gradientOpacity?: number | undefined;
64
+ trendlineColor?: string | undefined;
65
+ trendlineWidth?: number | undefined;
66
+ seriesSort?: string | undefined;
67
+ lineDashStyles?: {} | undefined;
68
+ yAxisMinRight?: string | undefined;
69
+ yAxisMaxRight?: string | undefined;
70
+ customPaletteColors?: never[] | undefined;
71
+ onElementSelect?: null | undefined;
72
+ }): React.JSX.Element;
73
+ import React from 'react';
@@ -0,0 +1,38 @@
1
+ /**
2
+ * Owns the live four-position chart workspace while accepting the table and
3
+ * chart content as render slots. Chart data, panel configuration, and
4
+ * interaction state remain with the composition root.
5
+ */
6
+ export function ChartWorkspace({ children, chartCanvasLayoutRef, chartLayoutRef, showCharts, dockedPanesByPosition, floatingPanes, paneWidthHints, tableCanvasSize, minTablePanelWidth, minChartPaneWidth, defaultDockedPaneHeight, defaultChartGraphHeight, chartPanelVerticalChromeHeight, theme, renderChartPane, renderFloatingPane, renderModal, tableAdjacentContent, onHorizontalResizeStart, onVerticalResizeStart, }: {
7
+ children: any;
8
+ chartCanvasLayoutRef: any;
9
+ chartLayoutRef: any;
10
+ showCharts: any;
11
+ dockedPanesByPosition: any;
12
+ floatingPanes: any;
13
+ paneWidthHints: any;
14
+ tableCanvasSize: any;
15
+ minTablePanelWidth: any;
16
+ minChartPaneWidth: any;
17
+ defaultDockedPaneHeight: any;
18
+ defaultChartGraphHeight: any;
19
+ chartPanelVerticalChromeHeight: any;
20
+ theme: any;
21
+ renderChartPane: any;
22
+ renderFloatingPane: any;
23
+ renderModal: any;
24
+ tableAdjacentContent: any;
25
+ onHorizontalResizeStart: any;
26
+ onVerticalResizeStart: any;
27
+ }): React.JSX.Element;
28
+ export function groupChartWorkspacePanes(panes: any): {
29
+ docked: any[];
30
+ floating: any[];
31
+ dockedByPosition: {
32
+ left: never[];
33
+ right: never[];
34
+ top: never[];
35
+ bottom: never[];
36
+ };
37
+ };
38
+ import React from 'react';
@@ -0,0 +1,5 @@
1
+ export default function ECharts2dRenderer({ echartsRef, option }: {
2
+ echartsRef: any;
3
+ option: any;
4
+ }): React.JSX.Element;
5
+ import React from 'react';
@@ -0,0 +1,6 @@
1
+ /** Isolated WebGL renderer for the three 3D chart types. */
2
+ export default function ECharts3dRenderer({ echartsRef, option }: {
3
+ echartsRef: any;
4
+ option: any;
5
+ }): React.JSX.Element;
6
+ import React from 'react';
@@ -0,0 +1,9 @@
1
+ export function PivotChartPanel(props: any): React.JSX.Element | null;
2
+ export function PivotChartModal({ chartState, onClose, theme, position, onPositionChange }: {
3
+ chartState: any;
4
+ onClose: any;
5
+ theme: any;
6
+ position?: string | undefined;
7
+ onPositionChange: any;
8
+ }): React.JSX.Element | null;
9
+ import React from 'react';
@@ -0,0 +1,66 @@
1
+ export const DASH_STYLES: {
2
+ value: string;
3
+ label: string;
4
+ dash: string;
5
+ }[];
6
+ export function getDashArray(style: any): string | undefined;
7
+ export const GRADIENT_DIRECTIONS: {
8
+ value: string;
9
+ label: string;
10
+ x1: string;
11
+ y1: string;
12
+ x2: string;
13
+ y2: string;
14
+ }[];
15
+ export function buildGradientStops(color: any, opacity: any): {
16
+ offset: string;
17
+ stopOpacity: string;
18
+ }[];
19
+ export const LEGEND_POSITIONS: string[];
20
+ export function ChartLegendPositionButtons({ legendPosition, onChange, theme }: {
21
+ legendPosition: any;
22
+ onChange: any;
23
+ theme: any;
24
+ }): React.JSX.Element;
25
+ export const SERIES_SORT_MODES: {
26
+ value: string;
27
+ label: string;
28
+ }[];
29
+ export function applySeriesSort(series: any, mode: any): any;
30
+ export function ChartDataLimitWarning({ model, maxCategories, maxSeries, theme }: {
31
+ model: any;
32
+ maxCategories: any;
33
+ maxSeries: any;
34
+ theme: any;
35
+ }): React.JSX.Element | null;
36
+ export function ChartLineDashEditor({ series, lineDashStyles, onChange, seriesColors, paletteColors, getColorForIndex, theme, compactInputStyle }: {
37
+ series: any;
38
+ lineDashStyles: any;
39
+ onChange: any;
40
+ seriesColors: any;
41
+ paletteColors: any;
42
+ getColorForIndex: any;
43
+ theme: any;
44
+ compactInputStyle: any;
45
+ }): React.JSX.Element | null;
46
+ export function ChartCustomPaletteEditor({ customColors, onChange, theme, compactInputStyle }: {
47
+ customColors: any;
48
+ onChange: any;
49
+ theme: any;
50
+ compactInputStyle: any;
51
+ }): React.JSX.Element;
52
+ export function ChartTypeGallery({ chartType, onChange, theme, includeHierarchyCharts }: {
53
+ chartType: any;
54
+ onChange: any;
55
+ theme: any;
56
+ includeHierarchyCharts?: boolean | undefined;
57
+ }): React.JSX.Element;
58
+ export function ChartReflineRow({ line, onUpdate, onRemove, exportButtonStyle, compactInputStyle, theme }: {
59
+ line: any;
60
+ onUpdate: any;
61
+ onRemove: any;
62
+ exportButtonStyle: any;
63
+ compactInputStyle: any;
64
+ theme: any;
65
+ }): React.JSX.Element;
66
+ import React from 'react';
@@ -0,0 +1,19 @@
1
+ export function downloadBlob(blob: any, filename: any): void;
2
+ export function normalizeChartPresentation(presentation?: {}): {
3
+ title: string;
4
+ legendPosition: string;
5
+ legendItems: any;
6
+ background: any;
7
+ textColor: any;
8
+ secondaryTextColor: any;
9
+ };
10
+ export function readChartPresentation(container: any, title: any, legendPosition: any, theme: any): {
11
+ title: string;
12
+ legendPosition: string;
13
+ legendItems: any;
14
+ background: any;
15
+ textColor: any;
16
+ secondaryTextColor: any;
17
+ };
18
+ export function layoutLegendItems(items: any, width: any, estimateWidth: any): any[][];
19
+ export function exportChartCsv(model: any, fileStem: any, rawPresentation: any): void;
@@ -0,0 +1,4 @@
1
+ export function clampChartPanelBaseWidth(value: any, fallback: number | undefined, minWidth: any, maxWidth: any): number;
2
+ export function computeLinearTrendline(values: any): any;
3
+ export function computeMovingAverage(values: any, period: any): any;
4
+ export function canStackAreaSeries(model: any): boolean;
@@ -0,0 +1,12 @@
1
+ export function placeChartExportMenu(anchor: any, menu: any, viewport: any): {
2
+ left: number;
3
+ top: any;
4
+ maxWidth: number;
5
+ maxHeight: number;
6
+ };
7
+ export function useChartExportMenu(open: any, setOpen: any): {
8
+ anchorRef: import("react").RefObject<null>;
9
+ menuRef: import("react").RefObject<null>;
10
+ position: null;
11
+ portalTarget: any;
12
+ };
@@ -0,0 +1,365 @@
1
+ import React from 'react';
2
+ import PropTypes from 'prop-types';
3
+ /**
4
+ * Dash metadata source for the public pivot component.
5
+ *
6
+ * Keep this interface colocated with the exported component: Dash's TypeScript
7
+ * extractor intentionally stages just this file, so imported prop interfaces
8
+ * are not visible to metadata generation.
9
+ */
10
+ export interface DashTanstackPivotProps {
11
+ id?: string;
12
+ table?: string;
13
+ pivotTitle?: string;
14
+ data?: Array<object>;
15
+ setProps?: (...args: Array<unknown>) => unknown;
16
+ style?: object;
17
+ serverSide?: boolean;
18
+ rowFields?: Array<unknown>;
19
+ colFields?: Array<unknown>;
20
+ valConfigs?: Array<DashValueConfig>;
21
+ measureAxis?: object;
22
+ filters?: object;
23
+ sorting?: Array<unknown>;
24
+ expanded?: object | boolean;
25
+ immersiveMode?: boolean;
26
+ showRowTotals?: boolean;
27
+ showColTotals?: boolean;
28
+ showSubtotals?: boolean;
29
+ grandTotalPosition?: string;
30
+ runtimeRequest?: object;
31
+ runtimeResponse?: object;
32
+ viewMode?: string;
33
+ detailMode?: string;
34
+ treeConfig?: object;
35
+ detailConfig?: object;
36
+ chartEvent?: object;
37
+ chartDefinitions?: Array<object>;
38
+ chartDefaults?: object;
39
+ chartCanvasPanes?: Array<DashChartCanvasPane>;
40
+ tableCanvasSize?: number;
41
+ performanceConfig?: object;
42
+ chartServerWindow?: object;
43
+ /** @deprecated Editing is unsupported. This legacy compatibility input is ignored. */
44
+ cellUpdate?: object;
45
+ /** @deprecated Editing is unsupported. This legacy compatibility input is ignored. */
46
+ cellUpdates?: Array<object>;
47
+ rowMove?: object;
48
+ drillEndpoint?: string;
49
+ viewState?: object;
50
+ saveViewTrigger?: any;
51
+ savedView?: object;
52
+ conditionalFormatting?: Array<object>;
53
+ headerFormatting?: object | Array<object>;
54
+ validationRules?: object;
55
+ /** @deprecated Editing is unsupported. This legacy compatibility input is ignored. */
56
+ editingConfig?: object;
57
+ /** @deprecated Editing is unsupported. This legacy compatibility input is ignored. */
58
+ editLifecycleEvent?: object;
59
+ /** @deprecated Editing is unsupported. This legacy compatibility input is ignored. */
60
+ editState?: object;
61
+ uiConfig?: object;
62
+ paginationConfig?: object;
63
+ mergedHeaderSeparator?: string;
64
+ columnPinning?: object;
65
+ rowPinning?: object;
66
+ columnPinned?: object;
67
+ rowPinned?: object;
68
+ columnVisibility?: object;
69
+ columnOrder?: Array<string>;
70
+ columnSizing?: object;
71
+ localeText?: object;
72
+ decimalPlaces?: number;
73
+ defaultValueFormat?: string;
74
+ fieldPanelSizes?: object;
75
+ numberGroupSeparator?: string;
76
+ reset?: any;
77
+ persistence?: boolean | string | number;
78
+ persistence_type?: string;
79
+ pinningOptions?: object;
80
+ pinningPresets?: Array<object>;
81
+ sortOptions?: object;
82
+ sortLock?: boolean;
83
+ defaultTheme?: string;
84
+ sortEvent?: object;
85
+ availableFieldList?: Array<string>;
86
+ sparklineFields?: object;
87
+ customDimensions?: Array<object>;
88
+ reportDef?: object;
89
+ savedReports?: Array<object>;
90
+ activeReportId?: string;
91
+ rowSelection?: string | boolean;
92
+ selectedRows?: Array<string>;
93
+ }
94
+ /** Value-axis configuration accepted by the public Dash API. */
95
+ export interface DashValueConfig {
96
+ field?: string;
97
+ agg?: string;
98
+ weightField?: string;
99
+ windowFn?: string;
100
+ format?: string;
101
+ percentile?: number;
102
+ separator?: string;
103
+ formula?: string;
104
+ label?: string;
105
+ formulaRef?: string;
106
+ formulaScope?: string;
107
+ headerStyle?: object;
108
+ headerBg?: string;
109
+ headerColor?: string;
110
+ headerTextColor?: string;
111
+ sparkline?: boolean | object;
112
+ }
113
+ /** Chart visual settings stored on a chart-canvas pane. */
114
+ export interface DashChartSettings {
115
+ chartSubtitle?: string;
116
+ yAxisTitle?: string;
117
+ yAxisMin?: number;
118
+ yAxisMax?: number;
119
+ yAxisMinRight?: number;
120
+ yAxisMaxRight?: number;
121
+ tickCount?: number;
122
+ labelAngle?: number;
123
+ colorPalette?: string;
124
+ valueFormat?: string;
125
+ showDataLabels?: boolean;
126
+ decimalPlaces?: number;
127
+ labelPosition?: string;
128
+ legendPosition?: string;
129
+ markerShape?: string;
130
+ markerSize?: number;
131
+ showGradient?: boolean;
132
+ gradientDirection?: string;
133
+ gradientOpacity?: number;
134
+ showAnimations?: boolean;
135
+ showCalloutLabels?: boolean;
136
+ showTrendline?: boolean;
137
+ trendlineMode?: string;
138
+ trendlinePeriod?: number;
139
+ trendlineColor?: string;
140
+ trendlineWidth?: number;
141
+ seriesSort?: string;
142
+ seriesColors?: object;
143
+ customPaletteColors?: Array<string>;
144
+ lineDashStyles?: object;
145
+ referenceLines?: Array<object>;
146
+ }
147
+ /** A chart pane, including layout, data-source, and visual settings. */
148
+ export interface DashChartCanvasPane {
149
+ id?: string;
150
+ name?: string;
151
+ chartTitle?: string;
152
+ source?: string;
153
+ chartType?: string;
154
+ barLayout?: string;
155
+ axisMode?: string;
156
+ orientation?: string;
157
+ hierarchyLevel?: number | string;
158
+ rowLimit?: number;
159
+ columnLimit?: number;
160
+ width?: number;
161
+ chartHeight?: number;
162
+ sortMode?: string;
163
+ interactionMode?: string;
164
+ serverScope?: string;
165
+ size?: number;
166
+ floating?: boolean;
167
+ settingsPanelWidth?: number;
168
+ chartSettings?: DashChartSettings;
169
+ }
170
+ /** Dash public component and typed runtime composition root. */
171
+ declare function DashTanstackPivot(props: DashTanstackPivotProps): React.JSX.Element;
172
+ declare namespace DashTanstackPivot {
173
+ var propTypes: {
174
+ id: PropTypes.Requireable<string>;
175
+ table: PropTypes.Requireable<string>;
176
+ pivotTitle: PropTypes.Requireable<string>;
177
+ data: PropTypes.Requireable<(object | null | undefined)[]>;
178
+ setProps: PropTypes.Requireable<(...args: any[]) => any>;
179
+ style: PropTypes.Requireable<object>;
180
+ serverSide: PropTypes.Requireable<boolean>;
181
+ rowFields: PropTypes.Requireable<any[]>;
182
+ colFields: PropTypes.Requireable<any[]>;
183
+ valConfigs: PropTypes.Requireable<(PropTypes.InferProps<{
184
+ field: PropTypes.Requireable<string>;
185
+ agg: PropTypes.Requireable<string>;
186
+ weightField: PropTypes.Requireable<string>;
187
+ windowFn: PropTypes.Requireable<string>;
188
+ format: PropTypes.Requireable<string>;
189
+ percentile: PropTypes.Requireable<number>;
190
+ separator: PropTypes.Requireable<string>;
191
+ formula: PropTypes.Requireable<string>;
192
+ label: PropTypes.Requireable<string>;
193
+ formulaRef: PropTypes.Requireable<string>;
194
+ formulaScope: PropTypes.Requireable<string>;
195
+ headerStyle: PropTypes.Requireable<object>;
196
+ headerBg: PropTypes.Requireable<string>;
197
+ headerColor: PropTypes.Requireable<string>;
198
+ headerTextColor: PropTypes.Requireable<string>;
199
+ sparkline: PropTypes.Requireable<NonNullable<boolean | object | null | undefined>>;
200
+ }> | null | undefined)[]>;
201
+ measureAxis: PropTypes.Requireable<PropTypes.InferProps<{
202
+ placement: PropTypes.Requireable<string>;
203
+ labelField: PropTypes.Requireable<string>;
204
+ valueField: PropTypes.Requireable<string>;
205
+ members: PropTypes.Requireable<(object | null | undefined)[]>;
206
+ suppressEmptyMembers: PropTypes.Requireable<boolean>;
207
+ suppressZeroMembers: PropTypes.Requireable<boolean>;
208
+ totalsPolicy: PropTypes.Requireable<string>;
209
+ }>>;
210
+ filters: PropTypes.Requireable<object>;
211
+ sorting: PropTypes.Requireable<any[]>;
212
+ expanded: PropTypes.Requireable<NonNullable<boolean | object | null | undefined>>;
213
+ immersiveMode: PropTypes.Requireable<boolean>;
214
+ showRowTotals: PropTypes.Requireable<boolean>;
215
+ showColTotals: PropTypes.Requireable<boolean>;
216
+ showSubtotals: PropTypes.Requireable<boolean>;
217
+ grandTotalPosition: PropTypes.Requireable<string>;
218
+ runtimeRequest: PropTypes.Requireable<object>;
219
+ runtimeResponse: PropTypes.Requireable<object>;
220
+ viewMode: PropTypes.Requireable<string>;
221
+ detailMode: PropTypes.Requireable<string>;
222
+ treeConfig: PropTypes.Requireable<object>;
223
+ detailConfig: PropTypes.Requireable<object>;
224
+ chartEvent: PropTypes.Requireable<object>;
225
+ chartDefinitions: PropTypes.Requireable<(object | null | undefined)[]>;
226
+ chartDefaults: PropTypes.Requireable<object>;
227
+ chartCanvasPanes: PropTypes.Requireable<(PropTypes.InferProps<{
228
+ id: PropTypes.Requireable<string>;
229
+ name: PropTypes.Requireable<string>;
230
+ chartTitle: PropTypes.Requireable<string>;
231
+ source: PropTypes.Requireable<string>;
232
+ chartType: PropTypes.Requireable<string>;
233
+ barLayout: PropTypes.Requireable<string>;
234
+ axisMode: PropTypes.Requireable<string>;
235
+ orientation: PropTypes.Requireable<string>;
236
+ hierarchyLevel: PropTypes.Requireable<NonNullable<string | number | null | undefined>>;
237
+ rowLimit: PropTypes.Requireable<number>;
238
+ columnLimit: PropTypes.Requireable<number>;
239
+ width: PropTypes.Requireable<number>;
240
+ chartHeight: PropTypes.Requireable<number>;
241
+ sortMode: PropTypes.Requireable<string>;
242
+ interactionMode: PropTypes.Requireable<string>;
243
+ serverScope: PropTypes.Requireable<string>;
244
+ size: PropTypes.Requireable<number>;
245
+ floating: PropTypes.Requireable<boolean>;
246
+ settingsPanelWidth: PropTypes.Requireable<number>;
247
+ chartSettings: PropTypes.Requireable<PropTypes.InferProps<{
248
+ chartSubtitle: PropTypes.Requireable<string>;
249
+ yAxisTitle: PropTypes.Requireable<string>;
250
+ yAxisMin: PropTypes.Requireable<number>;
251
+ yAxisMax: PropTypes.Requireable<number>;
252
+ yAxisMinRight: PropTypes.Requireable<number>;
253
+ yAxisMaxRight: PropTypes.Requireable<number>;
254
+ tickCount: PropTypes.Requireable<number>;
255
+ labelAngle: PropTypes.Requireable<number>;
256
+ colorPalette: PropTypes.Requireable<string>;
257
+ valueFormat: PropTypes.Requireable<string>;
258
+ showDataLabels: PropTypes.Requireable<boolean>;
259
+ decimalPlaces: PropTypes.Requireable<number>;
260
+ labelPosition: PropTypes.Requireable<string>;
261
+ legendPosition: PropTypes.Requireable<string>;
262
+ markerShape: PropTypes.Requireable<string>;
263
+ markerSize: PropTypes.Requireable<number>;
264
+ showGradient: PropTypes.Requireable<boolean>;
265
+ gradientDirection: PropTypes.Requireable<string>;
266
+ gradientOpacity: PropTypes.Requireable<number>;
267
+ showAnimations: PropTypes.Requireable<boolean>;
268
+ showCalloutLabels: PropTypes.Requireable<boolean>;
269
+ showTrendline: PropTypes.Requireable<boolean>;
270
+ trendlineMode: PropTypes.Requireable<string>;
271
+ trendlinePeriod: PropTypes.Requireable<number>;
272
+ trendlineColor: PropTypes.Requireable<string>;
273
+ trendlineWidth: PropTypes.Requireable<number>;
274
+ seriesSort: PropTypes.Requireable<string>;
275
+ seriesColors: PropTypes.Requireable<object>;
276
+ customPaletteColors: PropTypes.Requireable<(string | null | undefined)[]>;
277
+ lineDashStyles: PropTypes.Requireable<object>;
278
+ referenceLines: PropTypes.Requireable<(object | null | undefined)[]>;
279
+ }>>;
280
+ }> | null | undefined)[]>;
281
+ tableCanvasSize: PropTypes.Requireable<number>;
282
+ performanceConfig: PropTypes.Requireable<PropTypes.InferProps<{
283
+ cacheBlockSize: PropTypes.Requireable<number>;
284
+ maxBlocksInCache: PropTypes.Requireable<number>;
285
+ blockLoadDebounceMs: PropTypes.Requireable<number>;
286
+ rowOverscan: PropTypes.Requireable<number>;
287
+ columnOverscan: PropTypes.Requireable<number>;
288
+ prefetchColumns: PropTypes.Requireable<number>;
289
+ }>>;
290
+ chartServerWindow: PropTypes.Requireable<PropTypes.InferProps<{
291
+ enabled: PropTypes.Requireable<boolean>;
292
+ rows: PropTypes.Requireable<number>;
293
+ columns: PropTypes.Requireable<number>;
294
+ scope: PropTypes.Requireable<string>;
295
+ }>>;
296
+ cellUpdate: PropTypes.Requireable<object>;
297
+ cellUpdates: PropTypes.Requireable<(object | null | undefined)[]>;
298
+ rowMove: PropTypes.Requireable<object>;
299
+ drillEndpoint: PropTypes.Requireable<string>;
300
+ viewState: PropTypes.Requireable<object>;
301
+ saveViewTrigger: PropTypes.Requireable<any>;
302
+ savedView: PropTypes.Requireable<object>;
303
+ conditionalFormatting: PropTypes.Requireable<(object | null | undefined)[]>;
304
+ headerFormatting: PropTypes.Requireable<object>;
305
+ validationRules: PropTypes.Requireable<object>;
306
+ editingConfig: PropTypes.Requireable<object>;
307
+ editLifecycleEvent: PropTypes.Requireable<object>;
308
+ editState: PropTypes.Requireable<object>;
309
+ uiConfig: PropTypes.Requireable<object>;
310
+ /**
311
+ * Client-side pagination configuration: { enabled: true, pageSize: 50 }.
312
+ * Only applies when serverSide is false.
313
+ */
314
+ paginationConfig: PropTypes.Requireable<object>;
315
+ mergedHeaderSeparator: PropTypes.Requireable<string>;
316
+ columnPinning: PropTypes.Requireable<PropTypes.InferProps<{
317
+ left: PropTypes.Requireable<(string | null | undefined)[]>;
318
+ right: PropTypes.Requireable<(string | null | undefined)[]>;
319
+ }>>;
320
+ rowPinning: PropTypes.Requireable<PropTypes.InferProps<{
321
+ top: PropTypes.Requireable<(string | null | undefined)[]>;
322
+ bottom: PropTypes.Requireable<(string | null | undefined)[]>;
323
+ }>>;
324
+ columnPinned: PropTypes.Requireable<object>;
325
+ rowPinned: PropTypes.Requireable<object>;
326
+ columnVisibility: PropTypes.Requireable<object>;
327
+ columnOrder: PropTypes.Requireable<(string | null | undefined)[]>;
328
+ columnSizing: PropTypes.Requireable<object>;
329
+ localeText: PropTypes.Requireable<object>;
330
+ decimalPlaces: PropTypes.Requireable<number>;
331
+ defaultValueFormat: PropTypes.Requireable<string>;
332
+ fieldPanelSizes: PropTypes.Requireable<object>;
333
+ numberGroupSeparator: PropTypes.Requireable<string>;
334
+ reset: PropTypes.Requireable<any>;
335
+ persistence: PropTypes.Requireable<NonNullable<string | number | boolean | null | undefined>>;
336
+ persistence_type: PropTypes.Requireable<string>;
337
+ pinningOptions: PropTypes.Requireable<PropTypes.InferProps<{
338
+ maxPinnedLeft: PropTypes.Requireable<number>;
339
+ maxPinnedRight: PropTypes.Requireable<number>;
340
+ suppressMovable: PropTypes.Requireable<boolean>;
341
+ lockPinned: PropTypes.Requireable<boolean>;
342
+ }>>;
343
+ pinningPresets: PropTypes.Requireable<(PropTypes.InferProps<{
344
+ name: PropTypes.Requireable<string>;
345
+ config: PropTypes.Requireable<object>;
346
+ }> | null | undefined)[]>;
347
+ sortOptions: PropTypes.Requireable<PropTypes.InferProps<{
348
+ naturalSort: PropTypes.Requireable<boolean>;
349
+ caseSensitive: PropTypes.Requireable<boolean>;
350
+ columnOptions: PropTypes.Requireable<object>;
351
+ }>>;
352
+ sortLock: PropTypes.Requireable<boolean>;
353
+ defaultTheme: PropTypes.Requireable<string>;
354
+ sortEvent: PropTypes.Requireable<object>;
355
+ availableFieldList: PropTypes.Requireable<(string | null | undefined)[]>;
356
+ sparklineFields: PropTypes.Requireable<object>;
357
+ customDimensions: PropTypes.Requireable<(object | null | undefined)[]>;
358
+ reportDef: PropTypes.Requireable<object>;
359
+ savedReports: PropTypes.Requireable<(object | null | undefined)[]>;
360
+ activeReportId: PropTypes.Requireable<string>;
361
+ rowSelection: PropTypes.Requireable<NonNullable<string | boolean | null | undefined>>;
362
+ selectedRows: PropTypes.Requireable<(string | null | undefined)[]>;
363
+ };
364
+ }
365
+ export default DashTanstackPivot;
@@ -0,0 +1,13 @@
1
+ export default ColumnFilter;
2
+ declare function ColumnFilter({ column, onFilter, currentFilter, options, optionMeta, onSearchOptions, onLoadMoreOptions, theme, onClose }: {
3
+ column: any;
4
+ onFilter: any;
5
+ currentFilter: any;
6
+ options?: never[] | undefined;
7
+ optionMeta?: null | undefined;
8
+ onSearchOptions: any;
9
+ onLoadMoreOptions: any;
10
+ theme: any;
11
+ onClose: any;
12
+ }): React.JSX.Element;
13
+ import React from 'react';
@@ -0,0 +1,8 @@
1
+ export default DateRangeFilter;
2
+ declare function DateRangeFilter({ onFilter, currentFilter, theme, onClose }: {
3
+ onFilter: any;
4
+ currentFilter: any;
5
+ theme: any;
6
+ onClose: any;
7
+ }): React.JSX.Element;
8
+ import React from 'react';
@@ -0,0 +1,14 @@
1
+ export default FilterPopover;
2
+ declare function FilterPopover({ column, anchorEl, onClose, onFilter, currentFilter, options, optionMeta, onSearchOptions, onLoadMoreOptions, theme }: {
3
+ column: any;
4
+ anchorEl: any;
5
+ onClose: any;
6
+ onFilter: any;
7
+ currentFilter: any;
8
+ options?: never[] | undefined;
9
+ optionMeta?: null | undefined;
10
+ onSearchOptions: any;
11
+ onLoadMoreOptions: any;
12
+ theme: any;
13
+ }): React.JSX.Element | null;
14
+ import React from 'react';
@@ -0,0 +1,12 @@
1
+ export default MultiSelectFilter;
2
+ declare function MultiSelectFilter({ options, optionMeta, onSearchOptions, onLoadMoreOptions, onFilter, currentFilter, onClose, theme }: {
3
+ options?: never[] | undefined;
4
+ optionMeta?: null | undefined;
5
+ onSearchOptions: any;
6
+ onLoadMoreOptions: any;
7
+ onFilter: any;
8
+ currentFilter: any;
9
+ onClose: any;
10
+ theme: any;
11
+ }): React.JSX.Element;
12
+ import React from 'react';
@@ -0,0 +1,8 @@
1
+ export default NumericRangeFilter;
2
+ declare function NumericRangeFilter({ onFilter, currentFilter, theme, onClose }: {
3
+ onFilter: any;
4
+ currentFilter: any;
5
+ theme: any;
6
+ onClose: any;
7
+ }): React.JSX.Element;
8
+ import React from 'react';