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,20 +1,23 @@
1
- export function getKey(prefix: any, field: any, agg: any): string;
2
- export function formatDisplayLabel(value: any): string;
3
- export function isWeightedAverageAgg(agg: any): boolean;
4
- export function formatAggLabel(agg: any, weightField?: null): any;
1
+ export function getKey(prefix?: any, field?: any, agg?: any): any;
2
+ export function formatDisplayLabel(value?: any): any;
3
+ export function isWeightedAverageAgg(agg?: any): any;
4
+ export function formatAggLabel(agg?: any, weightField?: any): any;
5
+ export function stripAggLabelSuffix(label?: any): string;
5
6
  export const DEFAULT_NUMBER_GROUP_SEPARATOR: "thin_space";
6
7
  export const DEFAULT_CURRENCY_SYMBOL: "$";
7
- export function normalizeNumberGroupSeparator(value: any): any;
8
- export function formatValue(value: any, fmt: any, decimalPlaces: any, groupSeparator?: string): any;
9
- export function Sparkline({ data, width, height, color }: {
10
- data?: never[] | undefined;
11
- width?: number | undefined;
12
- height?: number | undefined;
13
- color?: string | undefined;
14
- }): React.JSX.Element | null;
15
- export function alphanumeric(rowA: any, rowB: any, columnId: any): number;
16
- export function isGroupColumn(column: any): any;
17
- export function hasChildrenInZone(col: any, zone: any): any;
18
- export function getAllLeafColumns(col: any): any;
19
- export function getAllLeafIdsFromColumn(column: any): any;
20
- import React from 'react';
8
+ export function normalizeNumberGroupSeparator(value?: any): any;
9
+ export function normalizeNegativeZero(value?: any): any;
10
+ export function scaleValueForDisplay(value?: any, valueScale?: any): any;
11
+ export function unwrapNumericDisplayFormat(fmt?: any): {
12
+ isPill: boolean;
13
+ innerFormat: string;
14
+ };
15
+ export function resolveNumericDisplayValue(value?: any, fmt?: any, decimalPlaces?: any, options?: any): any;
16
+ export function isDisplayNegative(value?: any, fmt?: any, decimalPlaces?: any, options?: any): any;
17
+ export function formatValue(value?: any, fmt?: any, decimalPlaces?: any, groupSeparator?: any, formatOptions?: any): any;
18
+ export function Sparkline({ data, width, height, color }: any): any;
19
+ export function alphanumeric(rowA?: any, rowB?: any, columnId?: any): any;
20
+ export function isGroupColumn(column?: any): any;
21
+ export function hasChildrenInZone(col?: any, zone?: any): any;
22
+ export function getAllLeafColumns(col?: any): any;
23
+ export function getAllLeafIdsFromColumn(column?: any): any;
@@ -1,12 +1 @@
1
- export function estimateUrgentHorizontalColumnRange({ scrollLeft, clientWidth, scrollWidth, averageColumnWidth, centerColumnCount, }: {
2
- scrollLeft: any;
3
- clientWidth: any;
4
- scrollWidth: any;
5
- averageColumnWidth: any;
6
- centerColumnCount: any;
7
- }): {
8
- start: number;
9
- end: number;
10
- atRightEdge: boolean;
11
- visibleColumnCount: number;
12
- } | null;
1
+ export function estimateUrgentHorizontalColumnRange({ scrollLeft, clientWidth, scrollWidth, averageColumnWidth, centerColumnCount, }: any): any;
@@ -1,3 +1,3 @@
1
- export function isBlankHierarchyValue(value: any): boolean;
2
- export function resolveTabularPathFieldValue(rowData: any, field: any, index: any, depth: any): any;
3
- export function resolveTabularRowFieldValue(rowData: any, field: any, index: any, layoutMode: any, fallbackValue?: undefined): any;
1
+ export function isBlankHierarchyValue(value?: any): any;
2
+ export function resolveTabularPathFieldValue(rowData?: any, field?: any, index?: any, depth?: any): any;
3
+ export function resolveTabularRowFieldValue(rowData?: any, field?: any, index?: any, layoutMode?: any, fallbackValue?: any): any;
@@ -1,22 +1,6 @@
1
- export function normalizeMeasureAxisValue(value: any, fallback?: {}): {
2
- placement: string;
3
- labelField: string;
4
- valueField: string;
5
- members: any;
6
- suppressEmptyMembers: boolean;
7
- suppressZeroMembers: boolean;
8
- totalsPolicy: string;
9
- };
10
- export function getMeasureAxisAggForValueConfig(config: any): string;
11
- export function getMeasureAxisAliasForValueConfig(config: any): string;
12
- export function getMeasureAxisAliasForMember(member: any): string;
13
- export function getMeasureAxisSourceFieldForMember(member: any): string;
14
- export function buildMeasureAxisRuntimeConfig(measureAxis: any, valConfigs?: any[]): {
15
- members: any;
16
- placement: string;
17
- labelField: string;
18
- valueField: string;
19
- suppressEmptyMembers: boolean;
20
- suppressZeroMembers: boolean;
21
- totalsPolicy: string;
22
- };
1
+ export function normalizeMeasureAxisValue(value?: any, fallback?: any): any;
2
+ export function getMeasureAxisAggForValueConfig(config?: any): any;
3
+ export function getMeasureAxisAliasForValueConfig(config?: any): any;
4
+ export function getMeasureAxisAliasForMember(member?: any): any;
5
+ export function getMeasureAxisSourceFieldForMember(member?: any): any;
6
+ export function buildMeasureAxisRuntimeConfig(measureAxis?: any, valConfigs?: any): any;
@@ -1,2 +1,7 @@
1
- export function getStickyHeaderHeight(headerGroupCount: any, rowHeight: any, showFloatingFilters: any): any;
2
- export function formatLocaleTextTemplate(template: any, values?: {}): string;
1
+ export function getStickyHeaderHeight(headerGroupCount?: any, rowHeight?: any, showFloatingFilters?: any): any;
2
+ export function formatLocaleTextTemplate(template?: any, values?: any): any;
3
+ export function createTextWidthMeasurer(font?: any, fallbackCharPx?: any): any;
4
+ export function measureLongestHeaderWord(text?: any, measureFn?: any): any;
5
+ export function measureColumnFitMetric({ columnId, baseSize, rows, getCellRawValue, formatCellText, formatHierarchyLabel, headerLines, shortLabel, headerWrap, headerControlsMode, canSort, sortIndicator, measureBodyText, measureHeaderText, cellPaddingX, headerPaddingX, numericPaddingRight, hierarchyIndentPx, hierarchyExpandPx, cellOverscan, headerOverscan, }?: any): any;
6
+ export function computeCompactFitThemeOverrides(theme?: any, fitScale?: any, fittedFontSize?: any, minFontSize?: any): any;
7
+ export function computeFitToWidthLayout({ columns, containerWidth, baseFontSize, minFontSize, }?: any): any;
@@ -1,4 +1,4 @@
1
- export function isPivotProfilingEnabled(): boolean;
1
+ export function isPivotProfilingEnabled(): any;
2
2
  export function getPivotProfiler(): any;
3
- export function getPivotPerformanceNow(): number;
4
- export function recordPivotMeasure(name: any, startedAt: any, meta?: {}): any;
3
+ export function getPivotPerformanceNow(): any;
4
+ export function recordPivotMeasure(name?: any, startedAt?: any, meta?: any): any;
@@ -1,23 +1 @@
1
- export function buildReportEditorSelectionFromRow(reportDef: any, rowData: any): {
2
- type: string;
3
- path: any;
4
- nodePath?: undefined;
5
- field?: undefined;
6
- value?: undefined;
7
- label?: undefined;
8
- levelNumber?: undefined;
9
- pathValues?: undefined;
10
- pathFields?: undefined;
11
- debug?: undefined;
12
- } | {
13
- type: string;
14
- nodePath: any;
15
- field: any;
16
- value: any;
17
- label: any;
18
- levelNumber: any;
19
- pathValues: any;
20
- pathFields: any;
21
- debug: any;
22
- path?: undefined;
23
- } | null;
1
+ export function buildReportEditorSelectionFromRow(reportDef?: any, rowData?: any): any;
@@ -1,6 +1,3 @@
1
- export function collectRowSpanColumns(columns: any): any[];
2
- export function buildRowSpanPlan({ rowEntries, rowSpanColumns }: {
3
- rowEntries: any;
4
- rowSpanColumns: any;
5
- }): Map<any, any>;
6
- export function getRowSpanState(rowSpanPlan: any, row: any, column: any): any;
1
+ export function collectRowSpanColumns(columns?: any): any;
2
+ export function buildRowSpanPlan({ rowEntries, rowSpanColumns }: any): any;
3
+ export function getRowSpanState(rowSpanPlan?: any, row?: any, column?: any): any;
@@ -1,7 +1,4 @@
1
- export function captureReportLayout(colFields: any, valConfigs: any): any;
2
- export function applySavedReport(report: any, { setReportDef, setActiveReportId, setColFields, setValConfigs }: {
3
- setReportDef: any;
4
- setActiveReportId: any;
5
- setColFields: any;
6
- setValConfigs: any;
7
- }): boolean;
1
+ /** @param {any} [colFields] @param {any} [valConfigs] @returns {any} */
2
+ export function captureReportLayout(colFields?: any, valConfigs?: any): any;
3
+ /** @param {any} report @param {any} p1 @returns {any} */
4
+ export function applySavedReport(report: any, { setReportDef, setActiveReportId, setColFields, setValConfigs }: any): any;
@@ -1,14 +1,8 @@
1
- export function isAbsoluteSortType(value: any): boolean;
2
- export function isAbsoluteSortSpecifier(sortSpec: any): boolean;
3
- export function findSortSpecifier(sorting: any, columnId: any): any;
4
- export function mergeSortSpecifierMetadata(sortSpec: any, previousSortSpec?: null): any;
5
- export function normalizeSortingState(sorting: any, previousSorting?: any[]): any[];
6
- export function updateSortingForColumn({ sorting, columnId, desc, sortMetadata, append, }: {
7
- sorting: any;
8
- columnId: any;
9
- desc: any;
10
- sortMetadata?: {} | undefined;
11
- append?: boolean | undefined;
12
- }): any[];
13
- export function resolveColumnSortOptions(sortOptions: any, columnId: any): any;
14
- export function shouldUseAbsoluteSort(sorting: any, sortOptions: any, columnId: any): boolean;
1
+ export function isAbsoluteSortType(value?: any): any;
2
+ export function isAbsoluteSortSpecifier(sortSpec?: any): any;
3
+ export function findSortSpecifier(sorting?: any, columnId?: any): any;
4
+ export function mergeSortSpecifierMetadata(sortSpec?: any, previousSortSpec?: any): any;
5
+ export function normalizeSortingState(sorting?: any, previousSorting?: any, sortOptions?: any): any;
6
+ export function updateSortingForColumn({ sorting, columnId, desc, sortMetadata, append, }: any): any;
7
+ export function resolveColumnSortOptions(sortOptions?: any, columnId?: any): any;
8
+ export function shouldUseAbsoluteSort(sorting?: any, sortOptions?: any, columnId?: any): any;
@@ -1,8 +1,5 @@
1
- export function formatSparklineDetailValue(value: any, maximumFractionDigits?: number): string;
2
- export function getSparklineDetailNumericValues(points: any): number[];
3
- export function formatSparklineDetailExtremum(points: any, mode: any): string;
4
- export function resolveSparklineDetailRange(values: any, type: any): {
5
- min: number;
6
- max: number;
7
- };
8
- export function scaleSparklineDetailValue(value: any, minValue: any, maxValue: any, minAxis: any, maxAxis: any): number;
1
+ export function formatSparklineDetailValue(value?: any, maximumFractionDigits?: any): any;
2
+ export function getSparklineDetailNumericValues(points?: any): any;
3
+ export function formatSparklineDetailExtremum(points?: any, mode?: any): any;
4
+ export function resolveSparklineDetailRange(values?: any, type?: any): any;
5
+ export function scaleSparklineDetailValue(value?: any, minValue?: any, maxValue?: any, minAxis?: any, maxAxis?: any): any;
@@ -1,78 +1,10 @@
1
- export function normalizeSparklineConfig(value: any, fallbackType?: string): {
2
- enabled: boolean;
3
- type: any;
4
- metric: any;
5
- header: any;
6
- color: any;
7
- positiveColor: any;
8
- negativeColor: any;
9
- showCurrentValue: boolean;
10
- showDelta: boolean;
11
- areaOpacity: number;
12
- compact: boolean;
13
- hideColumns: boolean;
14
- source: string;
15
- displayMode: string;
16
- placement: string;
17
- } | null;
18
- export function normalizeSparklinePoints(rawValue: any): any;
19
- export function buildPivotSparklinePoints({ rowData, columnIds, resolveValue, resolveLabel, }: {
20
- rowData: any;
21
- columnIds: any;
22
- resolveValue: any;
23
- resolveLabel: any;
24
- }): ({
25
- index: number;
26
- value: number | null;
27
- label: string;
28
- columnId: any;
29
- } | null)[];
30
- export function resolveSparklineMetricValue(points: any, metric?: string): number | null;
31
- export function resolveSparklineDeltaValue(points: any): number | null;
32
- export function buildSparklineGeometry({ points, width, height, padding, type, }: {
33
- points: any;
34
- width?: number | undefined;
35
- height?: number | undefined;
36
- padding?: number | undefined;
37
- type?: string | undefined;
38
- }): {
39
- points: never[];
40
- bars: never[];
41
- linePath: string;
42
- areaPath: string;
43
- minValue: null;
44
- maxValue: null;
45
- baselineY: null;
46
- baselineX: null;
47
- } | {
48
- points: never[];
49
- bars: any;
50
- linePath: string;
51
- areaPath: string;
52
- minValue: number;
53
- maxValue: number;
54
- baselineY: null;
55
- baselineX: any;
56
- } | {
57
- points: any;
58
- bars: any;
59
- linePath: string;
60
- areaPath: string;
61
- minValue: number;
62
- maxValue: number;
63
- baselineY: any;
64
- baselineX: null;
65
- } | {
66
- points: any;
67
- bars: never[];
68
- linePath: any;
69
- areaPath: string;
70
- minValue: number;
71
- maxValue: number;
72
- baselineY: any;
73
- baselineX: null;
74
- };
75
- export function buildSparklineHeader(config: any, fallbackField: any): any;
76
- export function getSparklineValueConfigIdentity(config: any): string;
77
- export function getFixedSparklineConfigMap(fixedConfigs: any): Map<any, any>;
78
- export function normalizeSparklineValConfigsForView(configs: any, fixedConfigs?: any[]): any[];
1
+ export function normalizeSparklineConfig(value?: any, fallbackType?: any): any;
2
+ export function normalizeSparklinePoints(rawValue?: any): any;
3
+ export function buildPivotSparklinePoints({ rowData, columnIds, resolveValue, resolveLabel, }: any): any;
4
+ export function resolveSparklineMetricValue(points?: any, metric?: any): any;
5
+ export function resolveSparklineDeltaValue(points?: any): any;
6
+ export function buildSparklineGeometry({ points, width, height, padding, type, }: any): any;
7
+ export function buildSparklineHeader(config?: any, fallbackField?: any): any;
8
+ export function getSparklineValueConfigIdentity(config?: any): any;
9
+ export function getFixedSparklineConfigMap(fixedConfigs?: any): any;
10
+ export function normalizeSparklineValConfigsForView(configs?: any, fixedConfigs?: any): any;
@@ -1,4 +1,5 @@
1
- export function injectThemeCssVars(theme: any, containerEl?: HTMLElement): void;
1
+ /** @param {any} [theme] @param {any} [containerEl] @returns {any} */
2
+ export function injectThemeCssVars(theme?: any, containerEl?: any): any;
2
3
  export namespace themes {
3
4
  namespace light {
4
5
  let name: string;
@@ -647,311 +648,21 @@ export namespace themes {
647
648
  export { shadowInset_10 as shadowInset };
648
649
  }
649
650
  }
650
- export const gridDimensionTokens: Readonly<{
651
- density: Readonly<{
652
- spacingLabels: readonly string[];
653
- rowHeights: readonly number[];
654
- }>;
655
- columnWidths: Readonly<{
656
- schemaFallback: 180;
657
- rowNumber: 56;
658
- hierarchy: 320;
659
- dimension: 190;
660
- measure: 170;
661
- subtotal: 170;
662
- collapsedPlaceholder: 60;
663
- }>;
664
- autoSize: Readonly<{
665
- headerPadding: 40;
666
- headerOverscan: 12;
667
- cellPadding: 24;
668
- cellOverscan: 6;
669
- minWidth: 60;
670
- maxWidth: 600;
671
- }>;
672
- }>;
651
+ /** @type {any} */
652
+ export const gridDimensionTokens: any;
673
653
  export function mergeStateStyles(...layers: any[]): any;
674
- export function withAlpha(color: any, alpha: any, fallback?: null): string | null;
675
- export function colorToInputHex(value: any, fallback?: string): string;
676
- export function deriveStructuralThemeTokens(baseTheme: any, explicitOverrides?: null): {
677
- hierarchyBg: string;
678
- totalBg: string;
679
- totalBgStrong: string;
680
- totalText: string;
681
- totalTextStrong: string;
682
- };
683
- export function deriveEditedCellThemeTokens(baseTheme: any, explicitOverrides?: null): {
684
- editedCellBg: string;
685
- editedCellBorder: string;
686
- editedCellText: string;
687
- };
688
- export const CELL_CONTENT_RESET_STYLE: Readonly<{
689
- backgroundColor: "transparent";
690
- backgroundImage: "none";
691
- backgroundRepeat: "no-repeat";
692
- backgroundSize: "auto";
693
- color: "inherit";
694
- fontWeight: "inherit";
695
- fontStyle: "inherit";
696
- boxShadow: "none";
697
- }>;
698
- export function buildEditedCellVisualStyle(theme: any, editedCellFmt: any, editedMarker: any, options?: {}): {
699
- backgroundColor: any;
700
- backgroundImage: string;
701
- backgroundRepeat: string;
702
- backgroundSize: string;
703
- color: any;
704
- fontWeight: string | number | undefined;
705
- fontStyle: string | undefined;
706
- boxShadow: string;
707
- } | null;
708
- export function isDarkTheme(theme: any): any;
709
- export function getStyles(theme: any): {
710
- root: {
711
- display: string;
712
- flexDirection: string;
713
- fontFamily: string;
714
- height: string;
715
- background: any;
716
- border: string;
717
- borderRadius: any;
718
- overflow: string;
719
- fontSize: string;
720
- color: any;
721
- boxShadow: any;
722
- };
723
- appBar: {
724
- minHeight: string;
725
- borderBottom: string;
726
- display: string;
727
- alignItems: string;
728
- padding: string;
729
- justifyContent: string;
730
- background: any;
731
- color: any;
732
- boxShadow: any;
733
- };
734
- searchBox: {
735
- display: string;
736
- alignItems: string;
737
- background: any;
738
- borderRadius: any;
739
- padding: string;
740
- width: string;
741
- boxShadow: any;
742
- };
743
- sidebar: {
744
- width: string;
745
- minWidth: string;
746
- borderRight: string;
747
- background: any;
748
- display: string;
749
- flexDirection: string;
750
- padding: string;
751
- gap: string;
752
- overflowY: string;
753
- };
754
- sectionTitle: {
755
- fontSize: string;
756
- fontWeight: number;
757
- color: any;
758
- marginBottom: string;
759
- display: string;
760
- alignItems: string;
761
- gap: string;
762
- };
763
- sectionTitleSm: {
764
- fontSize: string;
765
- fontWeight: number;
766
- letterSpacing: string;
767
- textTransform: string;
768
- color: any;
769
- marginBottom: string;
770
- display: string;
771
- alignItems: string;
772
- gap: string;
773
- };
774
- chip: {
775
- background: string;
776
- border: string;
777
- borderRadius: any;
778
- padding: string;
779
- marginBottom: string;
780
- display: string;
781
- alignItems: string;
782
- justifyContent: string;
783
- cursor: string;
784
- boxShadow: any;
785
- position: string;
786
- color: any;
787
- transition: string;
788
- };
789
- dropZone: {
790
- minHeight: string;
791
- maxHeight: string;
792
- overflowY: string;
793
- border: string;
794
- borderRadius: any;
795
- padding: string;
796
- background: any;
797
- boxShadow: any;
798
- };
799
- main: {
800
- flex: number;
801
- overflow: string;
802
- position: string;
803
- display: string;
804
- flexDirection: string;
805
- background: any;
806
- borderRadius: string;
807
- };
808
- scrollContainer: {
809
- flex: number;
810
- overflow: string;
811
- position: string;
812
- background: any;
813
- borderRadius: string;
814
- };
815
- headerSticky: {
816
- position: string;
817
- top: number;
818
- zIndex: number;
819
- background: any;
820
- width: string;
821
- minWidth: string;
822
- boxShadow: any;
823
- borderTopLeftRadius: any;
824
- borderTopRightRadius: any;
825
- overflow: string;
826
- };
827
- headerRow: {
828
- display: string;
829
- width: string;
830
- };
831
- headerCell: {
832
- display: string;
833
- alignItems: string;
834
- justifyContent: string;
835
- padding: string;
836
- borderRight: string;
837
- borderBottom: string;
838
- fontWeight: number;
839
- color: any;
840
- position: string;
841
- boxSizing: string;
842
- flexShrink: number;
843
- minWidth: number;
844
- overflow: string;
845
- whiteSpace: string;
846
- textOverflow: string;
847
- background: any;
848
- boxShadow: any;
849
- };
850
- pinned: {
851
- position: string;
852
- zIndex: number;
853
- background: any;
854
- };
855
- pinnedLeft: {
856
- left: number;
857
- borderRight: string;
858
- };
859
- pinnedRight: {
860
- right: number;
861
- borderLeft: string;
862
- };
863
- row: {
864
- display: string;
865
- position: string;
866
- left: number;
867
- width: string;
868
- boxSizing: string;
869
- };
870
- cell: {
871
- display: string;
872
- alignItems: string;
873
- padding: string;
874
- borderRight: string;
875
- borderBottom: string;
876
- background: any;
877
- color: any;
878
- overflow: string;
879
- whiteSpace: string;
880
- boxSizing: string;
881
- flexShrink: number;
882
- lineHeight: number;
883
- };
884
- cellSelected: {
885
- background: string;
886
- boxShadow: string;
887
- zIndex: number;
888
- position: string;
889
- };
890
- btn: {
891
- padding: string;
892
- borderRadius: any;
893
- border: string;
894
- background: string;
895
- cursor: string;
896
- fontSize: string;
897
- display: string;
898
- alignItems: string;
899
- gap: string;
900
- fontWeight: number;
901
- color: any;
902
- whiteSpace: string;
903
- lineHeight: number;
904
- transition: string;
905
- boxSizing: string;
906
- userSelect: string;
907
- };
908
- dropLine: {
909
- position: string;
910
- height: string;
911
- background: any;
912
- left: number;
913
- right: number;
914
- zIndex: number;
915
- pointerEvents: string;
916
- };
917
- expandedSeparator: {
918
- borderBottom: string;
919
- };
920
- toolPanelSection: {
921
- display: string;
922
- flexDirection: string;
923
- borderBottom: string;
924
- marginBottom: string;
925
- transition: string;
926
- };
927
- toolPanelSectionHeader: {
928
- display: string;
929
- alignItems: string;
930
- padding: string;
931
- background: any;
932
- cursor: string;
933
- fontSize: string;
934
- fontWeight: number;
935
- textTransform: string;
936
- color: any;
937
- userSelect: string;
938
- transition: string;
939
- };
940
- toolPanelList: {
941
- display: string;
942
- flexDirection: string;
943
- padding: string;
944
- transition: string;
945
- };
946
- columnItem: {
947
- display: string;
948
- alignItems: string;
949
- gap: string;
950
- padding: string;
951
- fontSize: string;
952
- cursor: string;
953
- transition: string;
954
- position: string;
955
- userSelect: string;
956
- };
957
- };
654
+ export function withAlpha(color?: any, alpha?: any, fallback?: any): any;
655
+ export function colorToInputHex(value?: any, fallback?: any): any;
656
+ export function deriveStructuralThemeTokens(baseTheme?: any, explicitOverrides?: any): any;
657
+ export function deriveEditedCellThemeTokens(baseTheme?: any, explicitOverrides?: any): any;
658
+ /** @type {any} */
659
+ export const CELL_CONTENT_RESET_STYLE: any;
660
+ export function buildEditedCellVisualStyle(theme?: any, editedCellFmt?: any, editedMarker?: any, options?: any): any;
661
+ export function isDarkTheme(theme?: any): any;
662
+ export function toCssPx(value?: any, fallback?: any): any;
663
+ export function toFiniteNumber(value?: any, fallback?: any): any;
664
+ export function resolveDepthToken(tokenValue?: any, depth?: any, fallback?: any): any;
665
+ export function resolveThemeOverrides(themeName?: any, rawOverrides?: any): any;
666
+ export function resolveGridLineBorders(theme?: any): any;
667
+ export function buildThemeCssVars(theme?: any): any;
668
+ export function getStyles(theme?: any): any;