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
@@ -1,21 +1,8 @@
1
+ /** @param {{ setShowReportConfigColumn?: { (updater: (current: any) => any): any; (val?: any): any }, [key: string]: any }} p0 @returns {any} */
1
2
  export function ReportEditor({ reportDef, setReportDef, availableFields, customDimensions, theme, data, valConfigs, colFields, setColFields, setValConfigs, savedReports, setSavedReports, activeReportId, setActiveReportId, showNotification, requestedSelection, showReportConfigColumn, setShowReportConfigColumn, }: {
2
- reportDef: any;
3
- setReportDef: any;
4
- availableFields: any;
5
- customDimensions?: never[] | undefined;
6
- theme: any;
7
- data?: never[] | undefined;
8
- valConfigs: any;
9
- colFields: any;
10
- setColFields: any;
11
- setValConfigs: any;
12
- savedReports: any;
13
- setSavedReports: any;
14
- activeReportId: any;
15
- setActiveReportId: any;
16
- showNotification: any;
17
- requestedSelection?: null | undefined;
18
- showReportConfigColumn?: boolean | undefined;
19
- setShowReportConfigColumn: any;
20
- }): React.JSX.Element;
21
- import React from 'react';
3
+ setShowReportConfigColumn?: {
4
+ (updater: (current: any) => any): any;
5
+ (val?: any): any;
6
+ };
7
+ [key: string]: any;
8
+ }): any;
@@ -1,14 +1,3 @@
1
1
  export default SidebarFilterItem;
2
- declare function SidebarFilterItem({ column, theme, styles, onFilter, currentFilter, options, optionMeta, onSearchOptions, onLoadMoreOptions, onOpen }: {
3
- column: any;
4
- theme: any;
5
- styles: any;
6
- onFilter: any;
7
- currentFilter: any;
8
- options: any;
9
- optionMeta: any;
10
- onSearchOptions: any;
11
- onLoadMoreOptions: any;
12
- onOpen: any;
13
- }): React.JSX.Element;
14
- import React from 'react';
2
+ /** @param {any} p0 @returns {any} */
3
+ declare function SidebarFilterItem({ column, theme, styles, onFilter, currentFilter, options, optionMeta, onSearchOptions, onLoadMoreOptions, onOpen }: any): any;
@@ -1,2 +1 @@
1
- export const SidebarPanel: React.NamedExoticComponent<object>;
2
- import React from 'react';
1
+ /** @type {any} */ export const SidebarPanel: any;
@@ -1,14 +1,3 @@
1
1
  export default ToolPanelSection;
2
- declare function ToolPanelSection({ title, children, items, renderItem, theme, styles, initialExpanded, count, onDrop, sectionId }: {
3
- title: any;
4
- children: any;
5
- items: any;
6
- renderItem: any;
7
- theme: any;
8
- styles: any;
9
- initialExpanded?: boolean | undefined;
10
- count: any;
11
- onDrop: any;
12
- sectionId: any;
13
- }): React.JSX.Element;
14
- import React from 'react';
2
+ /** @param {any} p0 @returns {any} */
3
+ declare function ToolPanelSection({ title, children, items, renderItem, theme, styles, initialExpanded, count, onDrop, sectionId }: any): any;
@@ -1,62 +1,31 @@
1
- export function createCustomCategoryClause(availableFields: any): {
2
- field: any;
3
- operator: string;
4
- value: string;
5
- values: never[];
6
- caseSensitive: boolean;
7
- };
8
- export function createCustomCategoryRule(availableFields: any, index?: number): {
9
- id: string;
10
- label: string;
11
- condition: {
12
- op: string;
13
- clauses: {
14
- field: any;
15
- operator: string;
16
- value: string;
17
- values: never[];
18
- caseSensitive: boolean;
19
- }[];
20
- };
21
- };
22
- export function createCustomCategoryDraft(availableFields: any, existing?: null): any;
23
- export function inferFieldTypeFromRows(rows: any, field: any): "string" | "number" | "date";
24
- export function createDateGroupDraft(availableFields: any, data: any): {
25
- id: string;
26
- field: string;
27
- kind: string;
28
- name: string;
29
- sourceField: any;
30
- granularity: string;
31
- fiscalYearStartMonth: number;
32
- fallbackLabel: string;
33
- __isNew: boolean;
34
- };
35
- export function createNumberGroupDraft(availableFields: any, data: any): {
36
- id: string;
37
- field: string;
38
- kind: string;
39
- name: string;
40
- sourceField: any;
41
- binSize: number;
42
- minValue: string;
43
- maxValue: string;
44
- precision: number;
45
- fallbackLabel: string;
46
- __isNew: boolean;
47
- };
48
- export function getAllowedCustomCategoryDependencies(normalizedDimensions: any, draft: any): any[];
49
- export function collectCustomCategoryClauseFields(dimension: any): any[];
50
- export function getCustomCategoryValidationRows(data: any, dependencyDimensions: any): any[];
51
- export function canValidateCustomCategoryRows(rows: any, clauseFields: any): boolean;
52
- export const CUSTOM_CATEGORY_OPERATORS: {
53
- value: string;
54
- label: string;
55
- }[];
56
- export const CUSTOM_CATEGORY_LIST_OPERATORS: Set<string>;
57
- export const CUSTOM_CATEGORY_VALUELESS_OPERATORS: Set<string>;
58
- export function getTypedFields(rows: any, fields: any, targetType: any): any[];
59
- export function splitListInput(value: any): string[];
60
- export function normalizeCustomCategoryNameKey(value: any): string;
61
- export function getCustomCategoryDraftField(draft: any): any;
62
- export function getCustomCategoryRuleMatchSummary(rows: any, dimension: any): any;
1
+ /** @param {any} [availableFields] @returns {any} */
2
+ export function createCustomCategoryClause(availableFields?: any): any;
3
+ /** @param {any} [availableFields] @param {any} [index] @returns {any} */
4
+ export function createCustomCategoryRule(availableFields?: any, index?: any): any;
5
+ /** @param {any} [availableFields] @param {any} [existing] @returns {any} */
6
+ export function createCustomCategoryDraft(availableFields?: any, existing?: any): any;
7
+ /** @param {any} [rows] @param {any} [field] @returns {any} */
8
+ export function inferFieldTypeFromRows(rows?: any, field?: any): any;
9
+ /** @param {any} [availableFields] @param {any} [data] @returns {any} */
10
+ export function createDateGroupDraft(availableFields?: any, data?: any): any;
11
+ /** @param {any} [availableFields] @param {any} [data] @returns {any} */
12
+ export function createNumberGroupDraft(availableFields?: any, data?: any): any;
13
+ /** @param {any} [normalizedDimensions] @param {any} [draft] @returns {any} */
14
+ export function getAllowedCustomCategoryDependencies(normalizedDimensions?: any, draft?: any): any;
15
+ /** @param {any} [dimension] @returns {any} */
16
+ export function collectCustomCategoryClauseFields(dimension?: any): any;
17
+ /** @param {any} [data] @param {any} [dependencyDimensions] @returns {any} */
18
+ export function getCustomCategoryValidationRows(data?: any, dependencyDimensions?: any): any;
19
+ /** @param {any} [rows] @param {any} [clauseFields] @returns {any} */
20
+ export function canValidateCustomCategoryRows(rows?: any, clauseFields?: any): any;
21
+ /** @type {any[]} */
22
+ export const CUSTOM_CATEGORY_OPERATORS: any[];
23
+ /** @type {any} */
24
+ export const CUSTOM_CATEGORY_LIST_OPERATORS: any;
25
+ /** @type {any} */
26
+ export const CUSTOM_CATEGORY_VALUELESS_OPERATORS: any;
27
+ export function getTypedFields(rows?: any, fields?: any, targetType?: any): any;
28
+ export function splitListInput(value?: any): any;
29
+ export function normalizeCustomCategoryNameKey(value?: any): any;
30
+ export function getCustomCategoryDraftField(draft?: any): any;
31
+ export function getCustomCategoryRuleMatchSummary(rows?: any, dimension?: any): any;
@@ -1,22 +1,20 @@
1
- export function escapeRegExp(value: any): string;
2
- export function normalizeFormulaReferenceKey(value: any, fallback?: string): string;
3
- export function getFormulaReferenceKey(config: any): string;
4
- export function normalizeFormulaScope(value: any): "measures" | "columns";
5
- export function isColumnFormulaScope(value: any): boolean;
1
+ /** @param {any} [value] @returns {any} */
2
+ export function escapeRegExp(value?: any): any;
3
+ /** @param {any} [value] @param {any} [fallback] @returns {any} */
4
+ export function normalizeFormulaReferenceKey(value?: any, fallback?: any): any;
5
+ /** @param {any} [config] @returns {any} */
6
+ export function getFormulaReferenceKey(config?: any): any;
7
+ /** @param {any} [value] @returns {any} */
8
+ export function normalizeFormulaScope(value?: any): any;
9
+ /** @param {any} [value] @returns {any} */
10
+ export function isColumnFormulaScope(value?: any): any;
6
11
  /** Pure formula parsing and value-sparkline defaults used by sidebar editors. */
7
12
  export const FORMULA_REFERENCE_RE: RegExp;
8
13
  export const SIMPLE_FORMULA_REFERENCE_RE: RegExp;
9
14
  export const COLUMN_FORMULA_REFERENCE_RE: RegExp;
10
- export const FORMULA_FUNCTION_NAMES: Set<string>;
11
- export const FORMULA_RESERVED_REFERENCES: Set<string>;
12
- export namespace DEFAULT_VALUE_SPARKLINE_CONFIG {
13
- let type: string;
14
- let metric: string;
15
- let showCurrentValue: boolean;
16
- let showDelta: boolean;
17
- let compact: boolean;
18
- let hideColumns: boolean;
19
- let placement: string;
20
- let source: string;
21
- let displayMode: string;
22
- }
15
+ /** @type {any} */
16
+ export const FORMULA_FUNCTION_NAMES: any;
17
+ /** @type {any} */
18
+ export const FORMULA_RESERVED_REFERENCES: any;
19
+ /** @type {Record<string, any>} */
20
+ export const DEFAULT_VALUE_SPARKLINE_CONFIG: Record<string, any>;
@@ -1,6 +1,3 @@
1
1
  export default SkeletonRow;
2
- declare function SkeletonRow({ style, rowHeight }: {
3
- style: any;
4
- rowHeight: any;
5
- }): React.JSX.Element;
6
- import React from 'react';
2
+ /** @param {any} p0 @returns {any} */
3
+ declare function SkeletonRow({ style, rowHeight }: any): any;
@@ -1,9 +1,3 @@
1
1
  export default ContextMenu;
2
- declare function ContextMenu({ x, y, onClose, actions, theme }: {
3
- x: any;
4
- y: any;
5
- onClose: any;
6
- actions: any;
7
- theme: any;
8
- }): React.JSX.Element;
9
- import React from 'react';
2
+ /** @param {any} p0 @returns {any} */
3
+ declare function ContextMenu({ x, y, onClose, actions, theme }: any): any;
@@ -1,12 +1,3 @@
1
1
  export default DetailDrawer;
2
- /** Detail drawer for drill-through and row inspection views. */
3
- declare function DetailDrawer({ detailState, onClose, onPageChange, onSort, onFilter, theme, height, }: {
4
- detailState: any;
5
- onClose: any;
6
- onPageChange: any;
7
- onSort: any;
8
- onFilter: any;
9
- theme: any;
10
- height?: number | undefined;
11
- }): React.JSX.Element | null;
12
- import React from 'react';
2
+ /** Detail drawer for drill-through and row inspection views. @param {any} p0 @returns {any} */
3
+ declare function DetailDrawer({ detailState, onClose, onPageChange, onSort, onFilter, theme, height, }: any): any;
@@ -1,12 +1,3 @@
1
1
  export default DetailSidePanel;
2
- /** Detail side panel for row-level inspection. */
3
- declare function DetailSidePanel({ detailState, onClose, onPageChange, onSort, onFilter, theme, width, }: {
4
- detailState: any;
5
- onClose: any;
6
- onPageChange: any;
7
- onSort: any;
8
- onFilter: any;
9
- theme: any;
10
- width?: number | undefined;
11
- }): React.JSX.Element | null;
12
- import React from 'react';
2
+ /** Detail side panel for row-level inspection. @param {any} p0 @returns {any} */
3
+ declare function DetailSidePanel({ detailState, onClose, onPageChange, onSort, onFilter, theme, width, }: any): any;
@@ -1,12 +1,3 @@
1
1
  export default DetailSurfaceContent;
2
- /** Detail surface content with tabs for source rows and metadata. */
3
- declare function DetailSurfaceContent({ detailState, onClose, onPageChange, onSort, onFilter, theme, compact, }: {
4
- detailState: any;
5
- onClose: any;
6
- onPageChange: any;
7
- onSort: any;
8
- onFilter: any;
9
- theme: any;
10
- compact?: boolean | undefined;
11
- }): React.JSX.Element | null;
12
- import React from 'react';
2
+ /** Detail surface content with tabs for source rows and metadata. @param {any} p0 @returns {any} */
3
+ declare function DetailSurfaceContent({ detailState, onClose, onPageChange, onSort, onFilter, theme, compact, }: any): any;
@@ -1,21 +1,3 @@
1
1
  export default EditSidePanel;
2
- /** Edit side panel for row-level editing sessions. */
3
- declare function EditSidePanel({ editedCells, propagationLog, onRevertCell, onRevertAll, onRevertSelected, onReapplyPropagation, onToggleDisplayMode, displayMode, onClose, theme, width, pendingPropagation, propagationMethod, onPropagationMethodChange, onConfirmPropagation, onCancelPropagation, }: {
4
- editedCells: any;
5
- propagationLog: any;
6
- onRevertCell: any;
7
- onRevertAll: any;
8
- onRevertSelected: any;
9
- onReapplyPropagation: any;
10
- onToggleDisplayMode: any;
11
- displayMode: any;
12
- onClose: any;
13
- theme: any;
14
- width?: number | undefined;
15
- pendingPropagation: any;
16
- propagationMethod: any;
17
- onPropagationMethodChange: any;
18
- onConfirmPropagation: any;
19
- onCancelPropagation: any;
20
- }): React.JSX.Element | null;
21
- import React from 'react';
2
+ /** Edit side panel for row-level editing sessions. @param {any} p0 @returns {any} */
3
+ declare function EditSidePanel({ editedCells, propagationLog, onRevertCell, onRevertAll, onRevertSelected, onReapplyPropagation, onToggleDisplayMode, displayMode, onClose, theme, width, pendingPropagation, propagationMethod, onPropagationMethodChange, onConfirmPropagation, onCancelPropagation, }: any): any;
@@ -1,29 +1,3 @@
1
1
  export default EditableCell;
2
- declare function EditableCell({ getValue, row, column, columnConfig, displayValue, format, numberGroupSeparator, validationRules, onCellEdit, onEditBlocked, setProps, handleContextMenu, editingDisabled, editingDisabledReason, rowEditMode, editorConfig, rowEditSession, onRequestRowStart, onRowDraftChange, onRequestRowSave, onRequestRowCancel, requestEditorOptions, editorOptions, editorOptionsLoading, editorOptionsError, }: {
3
- getValue: any;
4
- row: any;
5
- column: any;
6
- columnConfig: any;
7
- displayValue: any;
8
- format: any;
9
- numberGroupSeparator: any;
10
- validationRules: any;
11
- onCellEdit: any;
12
- onEditBlocked: any;
13
- setProps: any;
14
- handleContextMenu: any;
15
- editingDisabled?: boolean | undefined;
16
- editingDisabledReason?: null | undefined;
17
- rowEditMode?: string | undefined;
18
- editorConfig?: null | undefined;
19
- rowEditSession?: null | undefined;
20
- onRequestRowStart: any;
21
- onRowDraftChange: any;
22
- onRequestRowSave: any;
23
- onRequestRowCancel: any;
24
- requestEditorOptions: any;
25
- editorOptions?: never[] | undefined;
26
- editorOptionsLoading?: boolean | undefined;
27
- editorOptionsError?: null | undefined;
28
- }): React.JSX.Element;
29
- import React from 'react';
2
+ /** @param {any} p0 @returns {any} */
3
+ declare function EditableCell({ getValue, row, column, columnConfig, displayValue, format, numberGroupSeparator, validationRules, onCellEdit, onEditBlocked, setProps, handleContextMenu, editingDisabled, editingDisabledReason, rowEditMode, editorConfig, rowEditSession, onRequestRowStart, onRowDraftChange, onRequestRowSave, onRequestRowCancel, requestEditorOptions, editorOptions, editorOptionsLoading, editorOptionsError, }: any): any;
@@ -1,14 +1,3 @@
1
1
  export default InlineDetailPanel;
2
- /** Inline detail panel embedded within the table body. */
3
- declare function InlineDetailPanel({ detailState, onClose, onPageChange, onSort, onFilter, theme, width, top, height, }: {
4
- detailState: any;
5
- onClose: any;
6
- onPageChange: any;
7
- onSort: any;
8
- onFilter: any;
9
- theme: any;
10
- width: any;
11
- top: any;
12
- height?: number | undefined;
13
- }): React.JSX.Element | null;
14
- import React from 'react';
2
+ /** Inline detail panel embedded within the table body. @param {any} p0 @returns {any} */
3
+ declare function InlineDetailPanel({ detailState, onClose, onPageChange, onSort, onFilter, theme, width, top, height, }: any): any;
@@ -1,9 +1,9 @@
1
+ export function resolveSectionHeaderSpanMeta(groups?: any, levelHeights?: any, fallbackHeight?: any): any;
1
2
  /**
2
3
  * PivotTableBody — the main scroll container and virtual-scroll table body.
3
4
  *
4
5
  * Contains: sticky header (left/center/right), top-pinned rows, virtualized
5
6
  * center rows (with skeleton, expand/collapse loaders), bottom-pinned rows,
6
7
  * floating filters, column-loading skeletons, and the StatusBar.
7
- */
8
- export const PivotTableBody: React.NamedExoticComponent<object>;
9
- import React from 'react';
8
+ @type {any} */
9
+ export const PivotTableBody: any;
@@ -1,17 +1,2 @@
1
- export default function SparklineCell({ points, type, theme, color, positiveColor, negativeColor, areaOpacity, showCurrentValue, showDelta, currentLabel, deltaLabel, deltaValue, title, compact, }: {
2
- points?: never[] | undefined;
3
- type?: string | undefined;
4
- theme: any;
5
- color?: null | undefined;
6
- positiveColor?: null | undefined;
7
- negativeColor?: null | undefined;
8
- areaOpacity?: number | undefined;
9
- showCurrentValue?: boolean | undefined;
10
- showDelta?: boolean | undefined;
11
- currentLabel?: string | undefined;
12
- deltaLabel?: string | undefined;
13
- deltaValue?: null | undefined;
14
- title?: string | undefined;
15
- compact?: boolean | undefined;
16
- }): React.JSX.Element;
17
- import React from 'react';
1
+ /** @param {any} p0 @returns {any} */
2
+ export default function SparklineCell({ points, type, theme, color, positiveColor, negativeColor, areaOpacity, showCurrentValue, showDelta, currentLabel, deltaLabel, deltaValue, title, compact, }: any): any;
@@ -1,5 +1,2 @@
1
- export function SparklineDetailGraph({ modal, theme }: {
2
- modal: any;
3
- theme: any;
4
- }): React.JSX.Element;
5
- import React from 'react';
1
+ /** @param {any} p0 @returns {any} */
2
+ export function SparklineDetailGraph({ modal, theme }: any): any;
@@ -1,8 +1,3 @@
1
1
  export default StatusBar;
2
- declare function StatusBar({ statusModel, statusActions, theme, numberGroupSeparator, }: {
3
- statusModel: any;
4
- statusActions: any;
5
- theme: any;
6
- numberGroupSeparator: any;
7
- }): React.JSX.Element;
8
- import React from 'react';
2
+ /** @param {any} p0 @returns {any} */
3
+ declare function StatusBar({ statusModel, statusActions, theme, numberGroupSeparator, }: any): any;
@@ -0,0 +1,8 @@
1
+ export default ThemedSelect;
2
+ /**
3
+ * Accessible custom themed dropdown replacing native <select> elements.
4
+ * Supports both an `options` array and standard JSX `<option>`/`<optgroup>` children,
5
+ * emitting a synthetic `{ target: { value }, currentTarget: { value } }` event to `onChange`.
6
+ * @type {any}
7
+ */
8
+ declare const ThemedSelect: any;
@@ -1,34 +1,6 @@
1
- export function PivotConfigProvider({ filters, setFilters, pivotMode, setPivotMode, reportDef, setReportDef, setColFields, setValConfigs, savedReports, setSavedReports, activeReportId, setActiveReportId, customDimensions, setCustomDimensions, showFloatingFilters, setShowFloatingFilters, stickyHeaders, setStickyHeaders, showColTotals, setShowColTotals, showRowTotals, setShowRowTotals, showSubtotals, setShowSubtotals, showRowNumbers, setShowRowNumbers, numberGroupSeparator, setNumberGroupSeparator, viewMode, children, }: {
2
- filters: any;
3
- setFilters: any;
4
- pivotMode: any;
5
- setPivotMode: any;
6
- reportDef: any;
7
- setReportDef: any;
8
- setColFields: any;
9
- setValConfigs: any;
10
- savedReports: any;
11
- setSavedReports: any;
12
- activeReportId: any;
13
- setActiveReportId: any;
14
- customDimensions: any;
15
- setCustomDimensions: any;
16
- showFloatingFilters: any;
17
- setShowFloatingFilters: any;
18
- stickyHeaders: any;
19
- setStickyHeaders: any;
20
- showColTotals: any;
21
- setShowColTotals: any;
22
- showRowTotals: any;
23
- setShowRowTotals: any;
24
- showSubtotals: any;
25
- setShowSubtotals: any;
26
- showRowNumbers: any;
27
- setShowRowNumbers: any;
28
- numberGroupSeparator: any;
29
- setNumberGroupSeparator: any;
30
- viewMode: any;
31
- children: any;
32
- }): React.JSX.Element;
33
- export function usePivotConfig(): never;
1
+ /**
2
+ * @param {Record<string, any>} props
3
+ */
4
+ export function PivotConfigProvider({ filters, setFilters, pivotMode, setPivotMode, reportDef, setReportDef, setColFields, setValConfigs, savedReports, setSavedReports, activeReportId, setActiveReportId, customDimensions, setCustomDimensions, showFloatingFilters, setShowFloatingFilters, stickyHeaders, setStickyHeaders, showColTotals, setShowColTotals, showRowTotals, setShowRowTotals, showSubtotals, setShowSubtotals, showRowNumbers, setShowRowNumbers, numberGroupSeparator, setNumberGroupSeparator, viewMode, children, }: Record<string, any>): React.JSX.Element;
5
+ export function usePivotConfig(): any;
34
6
  import React from 'react';
@@ -1,7 +1,11 @@
1
+ /**
2
+ * @param {{ theme?: any, styles?: any, children?: any }} props
3
+ */
1
4
  export function PivotThemeProvider({ theme, styles, children }: {
2
- theme: any;
3
- styles: any;
4
- children: any;
5
+ theme?: any;
6
+ styles?: any;
7
+ children?: any;
5
8
  }): React.JSX.Element;
6
- export function usePivotTheme(): never;
9
+ export function usePivotTheme(): any;
10
+ export const PivotThemeContext: React.Context<any>;
7
11
  import React from 'react';
@@ -1,10 +1,6 @@
1
- export function PivotValueDisplayProvider({ editValueDisplayMode, resolveCellDisplayValue, resolveCurrentCellValue, setEditValueDisplayMode, hasComparedValues, children, }: {
2
- editValueDisplayMode: any;
3
- resolveCellDisplayValue: any;
4
- resolveCurrentCellValue: any;
5
- setEditValueDisplayMode: any;
6
- hasComparedValues: any;
7
- children: any;
8
- }): React.JSX.Element;
9
- export function useOptionalPivotValueDisplay(): null;
1
+ /**
2
+ * @param {Record<string, any>} props
3
+ */
4
+ export function PivotValueDisplayProvider({ editValueDisplayMode, resolveCellDisplayValue, resolveCurrentCellValue, setEditValueDisplayMode, hasComparedValues, children, }: Record<string, any>): React.JSX.Element;
5
+ export function useOptionalPivotValueDisplay(): any;
10
6
  import React from 'react';
@@ -3,74 +3,5 @@
3
3
  *
4
4
  * Returns the exact same variable names used in the main component so the
5
5
  * migration diff is a pure move with no renames needed.
6
- */
7
- export function useChartState({ initialChartDefinition, initialChartDefinitions, externalChartCanvasPanes, externalTableCanvasSize, loadPersistedState, clampFloatingChartRect, normalizeLockedChartRequest, sanitizeChartCanvasPanes, DEFAULT_TABLE_CANVAS_SIZE, }: {
8
- initialChartDefinition: any;
9
- initialChartDefinitions: any;
10
- externalChartCanvasPanes: any;
11
- externalTableCanvasSize: any;
12
- loadPersistedState: any;
13
- clampFloatingChartRect: any;
14
- normalizeLockedChartRequest: any;
15
- sanitizeChartCanvasPanes: any;
16
- DEFAULT_TABLE_CANVAS_SIZE: any;
17
- }): {
18
- chartPanelOpen: boolean;
19
- setChartPanelOpen: import("react").Dispatch<import("react").SetStateAction<boolean>>;
20
- chartPanelSource: any;
21
- setChartPanelSource: import("react").Dispatch<any>;
22
- chartPanelType: any;
23
- setChartPanelType: import("react").Dispatch<any>;
24
- chartPanelBarLayout: any;
25
- setChartPanelBarLayout: import("react").Dispatch<any>;
26
- chartPanelAxisMode: any;
27
- setChartPanelAxisMode: import("react").Dispatch<any>;
28
- chartPanelOrientation: any;
29
- setChartPanelOrientation: import("react").Dispatch<any>;
30
- chartPanelHierarchyLevel: any;
31
- setChartPanelHierarchyLevel: import("react").Dispatch<any>;
32
- chartPanelTitle: any;
33
- setChartPanelTitle: import("react").Dispatch<any>;
34
- chartPanelLayers: any;
35
- setChartPanelLayers: import("react").Dispatch<any>;
36
- chartPanelRowLimit: any;
37
- setChartPanelRowLimit: import("react").Dispatch<any>;
38
- chartPanelColumnLimit: any;
39
- setChartPanelColumnLimit: import("react").Dispatch<any>;
40
- chartPanelWidth: any;
41
- setChartPanelWidth: import("react").Dispatch<any>;
42
- chartPanelGraphHeight: any;
43
- setChartPanelGraphHeight: import("react").Dispatch<any>;
44
- chartPanelFloating: boolean;
45
- setChartPanelFloating: import("react").Dispatch<import("react").SetStateAction<boolean>>;
46
- chartPanelFloatingRect: any;
47
- setChartPanelFloatingRect: import("react").Dispatch<any>;
48
- chartPanelSortMode: any;
49
- setChartPanelSortMode: import("react").Dispatch<any>;
50
- chartPanelInteractionMode: any;
51
- setChartPanelInteractionMode: import("react").Dispatch<any>;
52
- chartPanelServerScope: any;
53
- setChartPanelServerScope: import("react").Dispatch<any>;
54
- chartPanelLocked: boolean;
55
- setChartPanelLocked: import("react").Dispatch<import("react").SetStateAction<boolean>>;
56
- chartPanelLockedModel: any;
57
- setChartPanelLockedModel: import("react").Dispatch<any>;
58
- chartPanelLockedRequest: any;
59
- setChartPanelLockedRequest: import("react").Dispatch<any>;
60
- isChartPanelResizing: boolean;
61
- setIsChartPanelResizing: import("react").Dispatch<import("react").SetStateAction<boolean>>;
62
- chartModal: null;
63
- setChartModal: import("react").Dispatch<import("react").SetStateAction<null>>;
64
- chartModalPosition: string;
65
- setChartModalPosition: import("react").Dispatch<import("react").SetStateAction<string>>;
66
- managedChartDefinitions: any;
67
- setManagedChartDefinitions: import("react").Dispatch<any>;
68
- activeChartDefinitionId: any;
69
- setActiveChartDefinitionId: import("react").Dispatch<any>;
70
- chartCanvasPanes: any;
71
- setChartCanvasPanes: import("react").Dispatch<any>;
72
- tableCanvasSize: any;
73
- setTableCanvasSize: import("react").Dispatch<any>;
74
- chartPaneDataById: {};
75
- setChartPaneDataById: import("react").Dispatch<import("react").SetStateAction<{}>>;
76
- };
6
+ @param {any} p0 @returns {any} */
7
+ export function useChartState({ initialChartDefinition, initialChartDefinitions, externalChartCanvasPanes, externalTableCanvasSize, loadPersistedState, clampFloatingChartRect, normalizeLockedChartRequest, sanitizeChartCanvasPanes, DEFAULT_TABLE_CANVAS_SIZE, }: any): any;