serverside_pivot 0.0.91 → 0.0.95
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +182 -182
- package/dist/react/chunks/{ContextMenu-Bt5_3bmD.mjs → ContextMenu-1G-o1ms9.mjs} +52 -49
- package/dist/react/chunks/{DetailDrawer-Eb4EpVHG.mjs → DetailDrawer-DCKIxSpW.mjs} +1 -1
- package/dist/react/chunks/{DetailSidePanel-BTcHOiKr.mjs → DetailSidePanel-DgUWPBQk.mjs} +1 -1
- package/dist/react/chunks/{DetailSurfaceContent-B3ZNKh7q.mjs → DetailSurfaceContent-BEL6xuaZ.mjs} +46 -37
- package/dist/react/chunks/{ECharts2dRenderer-C3Qv0uAa.mjs → ECharts2dRenderer-Dgkp9_1P.mjs} +412 -410
- package/dist/react/chunks/{ECharts3dRenderer-BB_7-fOt.mjs → ECharts3dRenderer-70VOp8V0.mjs} +2211 -3197
- package/dist/react/chunks/{EditSidePanel-C2cAvxlK.mjs → EditSidePanel-CygqVXLX.mjs} +77 -65
- package/dist/react/chunks/{InlineDetailPanel-BXLAw1o3.mjs → InlineDetailPanel-BUBRWdFW.mjs} +1 -1
- package/dist/react/chunks/{PivotCharts-Bw6Swoa3.mjs → PivotCharts-VX5-mEEp.mjs} +2206 -1396
- package/dist/react/chunks/{ReportEditor-D4V0ry2B.mjs → ReportEditor-B5j-CU9-.mjs} +614 -319
- package/dist/react/chunks/{SidebarPanel-xO59p_2o.mjs → SidebarPanel-LXUE6nPd.mjs} +1793 -1390
- package/dist/react/chunks/{SparklineDetailGraph-Bu85X7OJ.mjs → SparklineDetailGraph-Cfe2KcOp.mjs} +88 -58
- package/dist/react/chunks/installCanvasRenderer-C4h5pc1p.mjs +21174 -0
- package/dist/react/chunks/react-CDa-ADnG.mjs +31199 -0
- package/dist/react/chunks/{xlsx.mini.min-vfxHk3Ry.mjs → xlsx.mini.min-CzdkdH3N.mjs} +5 -5
- package/dist/react/components/Charts/ChartRenderers.d.ts +5 -73
- package/dist/react/components/Charts/ChartWorkspace.d.ts +3 -34
- package/dist/react/components/Charts/ECharts2dRenderer.d.ts +2 -5
- package/dist/react/components/Charts/ECharts3dRenderer.d.ts +2 -6
- package/dist/react/components/Charts/PivotCharts.d.ts +2 -9
- package/dist/react/components/Charts/chartEnhancements.d.ts +17 -66
- package/dist/react/components/Charts/chartExportPresentation.d.ts +5 -19
- package/dist/react/components/Charts/chartMath.d.ts +4 -4
- package/dist/react/components/Charts/useChartExportMenu.d.ts +4 -12
- package/dist/react/components/DashTanstackPivot.react.d.ts +36 -0
- package/dist/react/components/Filters/ColumnFilter.d.ts +2 -12
- package/dist/react/components/Filters/DateRangeFilter.d.ts +2 -7
- package/dist/react/components/Filters/FilterPopover.d.ts +2 -13
- package/dist/react/components/Filters/MultiSelectFilter.d.ts +2 -11
- package/dist/react/components/Filters/NumericRangeFilter.d.ts +2 -7
- package/dist/react/components/Notification.d.ts +2 -6
- package/dist/react/components/PivotAppBar.d.ts +2 -2
- package/dist/react/components/PivotErrorBoundary.d.ts +11 -7
- package/dist/react/components/PivotSmallComponents.d.ts +2 -3
- package/dist/react/components/PivotWorkspaceCanvas.d.ts +2 -5
- package/dist/react/components/PivotWorkspaceControls.d.ts +4 -8
- package/dist/react/components/PivotWorkspaceShell.d.ts +4 -12
- package/dist/react/components/RuntimeDataError.d.ts +2 -7
- package/dist/react/components/Sidebar/ColumnTreeItem.d.ts +2 -13
- package/dist/react/components/Sidebar/ReportEditor.d.ts +7 -20
- package/dist/react/components/Sidebar/SidebarFilterItem.d.ts +2 -13
- package/dist/react/components/Sidebar/SidebarPanel.d.ts +1 -2
- package/dist/react/components/Sidebar/ToolPanelSection.d.ts +2 -13
- package/dist/react/components/Sidebar/customCategoryUtils.d.ts +31 -62
- package/dist/react/components/Sidebar/formulaUtils.d.ts +16 -18
- package/dist/react/components/SkeletonRow.d.ts +2 -5
- package/dist/react/components/Table/ContextMenu.d.ts +2 -8
- package/dist/react/components/Table/DetailDrawer.d.ts +2 -11
- package/dist/react/components/Table/DetailSidePanel.d.ts +2 -11
- package/dist/react/components/Table/DetailSurfaceContent.d.ts +2 -11
- package/dist/react/components/Table/EditSidePanel.d.ts +2 -20
- package/dist/react/components/Table/EditableCell.d.ts +2 -28
- package/dist/react/components/Table/InlineDetailPanel.d.ts +2 -13
- package/dist/react/components/Table/PivotTableBody.d.ts +3 -3
- package/dist/react/components/Table/SparklineCell.d.ts +2 -17
- package/dist/react/components/Table/SparklineDetailGraph.d.ts +2 -5
- package/dist/react/components/Table/StatusBar.d.ts +2 -7
- package/dist/react/contexts/PivotConfigContext.d.ts +5 -33
- package/dist/react/contexts/PivotThemeContext.d.ts +7 -4
- package/dist/react/contexts/PivotValueDisplayContext.d.ts +5 -9
- package/dist/react/hooks/useChartState.d.ts +2 -71
- package/dist/react/hooks/useColumnDefs.d.ts +3 -68
- package/dist/react/hooks/useColumnVirtualizer.d.ts +1 -30
- package/dist/react/hooks/useDetailDrillThrough.d.ts +2 -36
- package/dist/react/hooks/useFilteredData.d.ts +4 -2
- package/dist/react/hooks/useFormatState.d.ts +2 -39
- package/dist/react/hooks/usePersistence.d.ts +4 -5
- package/dist/react/hooks/usePivotFieldInteractions.d.ts +2 -23
- package/dist/react/hooks/usePivotNormalization.d.ts +127 -461
- package/dist/react/hooks/usePivotRenderCounter.d.ts +2 -1
- package/dist/react/hooks/usePivotTransactions.d.ts +2 -23
- package/dist/react/hooks/useRenderHelpers.d.ts +3 -71
- package/dist/react/hooks/useReportMode.d.ts +2 -28
- package/dist/react/hooks/useRowCache.d.ts +16 -15
- package/dist/react/hooks/useRuntimeDataCommit.d.ts +2 -22
- package/dist/react/hooks/useRuntimeProfiling.d.ts +2 -13
- package/dist/react/hooks/useRuntimeTransport.d.ts +2 -18
- package/dist/react/hooks/useServerSideRowModel.d.ts +1 -50
- package/dist/react/hooks/useServerSideViewportController.d.ts +1 -64
- package/dist/react/hooks/useSidebarUI.d.ts +2 -32
- package/dist/react/hooks/useStickyStyles.d.ts +2 -23
- package/dist/react/index.mjs +15 -9
- package/dist/react/presentation/headerFormatting.d.ts +28 -11
- package/dist/react/presentation/safeCellContent.d.ts +22 -5
- package/dist/react/react.d.ts +3 -0
- package/dist/react/runtime/PivotRuntimeRoot.d.ts +1 -1
- package/dist/react/runtime/client/clientPivotTransport.d.ts +5 -1
- package/dist/react/runtime/client/clientResponsePostProcessor.d.ts +50 -0
- package/dist/react/runtime/client/types.d.ts +5 -0
- package/dist/react/runtime/createRuntimeCellPresentation.d.ts +2 -7
- package/dist/react/runtime/createRuntimeExportCommands.d.ts +2 -71
- package/dist/react/runtime/createRuntimeRowPinCommand.d.ts +2 -9
- package/dist/react/runtime/displayColumnOrder.d.ts +4 -4
- package/dist/react/runtime/httpTransport.d.ts +1 -0
- package/dist/react/runtime/runtime-contract.generated.d.ts +3 -0
- package/dist/react/runtime/runtimeContract.d.ts +3 -0
- package/dist/react/runtime/runtimeDomains.d.ts +18 -0
- package/dist/react/runtime/useChartWorkspacePresentation.d.ts +2 -45
- package/dist/react/runtime/useCoreRuntime.d.ts +4 -1
- package/dist/react/runtime/useCoreRuntimeStage.d.ts +1 -1
- package/dist/react/runtime/useRuntimeCellSelection.d.ts +2 -40
- package/dist/react/runtime/useRuntimeChartCanvasCommands.d.ts +7 -31
- package/dist/react/runtime/useRuntimeChartCanvasResize.d.ts +2 -13
- package/dist/react/runtime/useRuntimeChartCanvasVerticalResize.d.ts +2 -9
- package/dist/react/runtime/useRuntimeChartDefinitionCommands.d.ts +2 -14
- package/dist/react/runtime/useRuntimeChartFloatingInteractions.d.ts +2 -28
- package/dist/react/runtime/useRuntimeChartModels.d.ts +2 -62
- package/dist/react/runtime/useRuntimeChartPanelSizing.d.ts +2 -12
- package/dist/react/runtime/useRuntimeChartRequestDispatch.d.ts +2 -4
- package/dist/react/runtime/useRuntimeClipboardExportPresentation.d.ts +2 -152
- package/dist/react/runtime/useRuntimeClipboardPaste.d.ts +2 -7
- package/dist/react/runtime/useRuntimeColorScalePresentation.d.ts +2 -55
- package/dist/react/runtime/useRuntimeColumnAutoSizing.d.ts +2 -26
- package/dist/react/runtime/useRuntimeColumnCommands.d.ts +2 -22
- package/dist/react/runtime/useRuntimeColumnMeasurement.d.ts +2 -11
- package/dist/react/runtime/useRuntimeDataRetry.d.ts +2 -12
- package/dist/react/runtime/useRuntimeDisplayNavigation.d.ts +2 -11
- package/dist/react/runtime/useRuntimeEditCellIdentity.d.ts +2 -18
- package/dist/react/runtime/useRuntimeEditChangeTracking.d.ts +2 -28
- package/dist/react/runtime/useRuntimeEditComparisonState.d.ts +2 -35
- package/dist/react/runtime/useRuntimeEditDispatch.d.ts +2 -43
- package/dist/react/runtime/useRuntimeEditOwnership.d.ts +2 -28
- package/dist/react/runtime/useRuntimeEditPresentation.d.ts +2 -32
- package/dist/react/runtime/useRuntimeEditStatePersistence.d.ts +2 -24
- package/dist/react/runtime/useRuntimeExportState.d.ts +5 -5
- package/dist/react/runtime/useRuntimeFilterPopover.d.ts +2 -19
- package/dist/react/runtime/useRuntimeLayoutHistory.d.ts +2 -40
- package/dist/react/runtime/useRuntimeOptimisticCellState.d.ts +2 -27
- package/dist/react/runtime/useRuntimeRequestSession.d.ts +2 -76
- package/dist/react/runtime/useRuntimeResponseLifecycle.d.ts +2 -43
- package/dist/react/runtime/useRuntimeResponsePostCommit.d.ts +2 -15
- package/dist/react/runtime/useRuntimeRowEditSessions.d.ts +2 -28
- package/dist/react/runtime/useRuntimeRowEditing.d.ts +2 -18
- package/dist/react/runtime/useRuntimeRowSelection.d.ts +2 -14
- package/dist/react/runtime/useRuntimeSelectionFormatting.d.ts +2 -30
- package/dist/react/runtime/useRuntimeStructuralSync.d.ts +2 -61
- package/dist/react/runtime/useRuntimeViewRestoreScroll.d.ts +2 -5
- package/dist/react/runtime/useRuntimeViewSnapshot.d.ts +2 -196
- package/dist/react/runtime/useRuntimeViewportTableData.d.ts +2 -23
- package/dist/react/runtime/useWorkspaceStatusPresentation.d.ts +2 -109
- package/dist/react/utils/Icons.d.ts +2 -45
- package/dist/react/utils/chartModelBuilders.d.ts +76 -230
- package/dist/react/utils/columnOrder.d.ts +8 -12
- package/dist/react/utils/dataBars.d.ts +3 -7
- package/dist/react/utils/domEvents.d.ts +1 -1
- package/dist/react/utils/editing.d.ts +12 -47
- package/dist/react/utils/exportUtils.d.ts +30 -101
- package/dist/react/utils/fieldPanelLayout.d.ts +12 -61
- package/dist/react/utils/filterOptions.d.ts +4 -4
- package/dist/react/utils/helpers.d.ts +16 -18
- package/dist/react/utils/horizontalViewport.d.ts +1 -12
- package/dist/react/utils/layoutRows.d.ts +3 -3
- package/dist/react/utils/measureAxis.d.ts +6 -22
- package/dist/react/utils/pivotLayoutUtils.d.ts +3 -2
- package/dist/react/utils/pivotProfiler.d.ts +3 -3
- package/dist/react/utils/reportEditorSelection.d.ts +1 -23
- package/dist/react/utils/rowSpanning.d.ts +3 -6
- package/dist/react/utils/savedReports.d.ts +4 -7
- package/dist/react/utils/sorting.d.ts +8 -14
- package/dist/react/utils/sparklineDetail.d.ts +5 -8
- package/dist/react/utils/sparklines.d.ts +10 -78
- package/dist/react/utils/styles.d.ts +19 -308
- package/package.json +114 -114
- package/dist/react/chunks/installCanvasRenderer-B7sfDGoL.mjs +0 -21281
- package/dist/react/chunks/react-CPZZxtSo.mjs +0 -26999
|
@@ -1,38 +1,4 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Manages detail/drill-through panel state, requests, and caching.
|
|
3
|
-
*/
|
|
4
|
-
export function useDetailDrillThrough({ detailConfig, detailMode, viewMode, reportDef, treeConfig, rowFields, colFields, valConfigs, tableName, runtimeResponse, emitRuntimeRequest, stateEpoch, abortGeneration, sessionIdRef, clientInstanceRef, requestVersionRef, setPropsRef, profilingEnabledRef, pivotProfilerRef, profilerComponentIdRef, }:
|
|
5
|
-
detailConfig: any;
|
|
6
|
-
detailMode: any;
|
|
7
|
-
viewMode: any;
|
|
8
|
-
reportDef: any;
|
|
9
|
-
treeConfig: any;
|
|
10
|
-
rowFields: any;
|
|
11
|
-
colFields: any;
|
|
12
|
-
valConfigs: any;
|
|
13
|
-
tableName: any;
|
|
14
|
-
runtimeResponse: any;
|
|
15
|
-
emitRuntimeRequest: any;
|
|
16
|
-
stateEpoch: any;
|
|
17
|
-
abortGeneration: any;
|
|
18
|
-
sessionIdRef: any;
|
|
19
|
-
clientInstanceRef: any;
|
|
20
|
-
requestVersionRef: any;
|
|
21
|
-
setPropsRef: any;
|
|
22
|
-
profilingEnabledRef: any;
|
|
23
|
-
pivotProfilerRef: any;
|
|
24
|
-
profilerComponentIdRef: any;
|
|
25
|
-
}): {
|
|
26
|
-
detailSurface: null;
|
|
27
|
-
setDetailSurface: import("react").Dispatch<import("react").SetStateAction<null>>;
|
|
28
|
-
toggleDetailForRowRef: import("react").RefObject<null>;
|
|
29
|
-
pendingDetailRequestRef: import("react").RefObject<null>;
|
|
30
|
-
activeDetailDisplayMode: any;
|
|
31
|
-
fetchDetailData: (detailRequest: any) => void;
|
|
32
|
-
handleCellDrillThrough: (row: any, colId: any) => void;
|
|
33
|
-
toggleDetailForRow: (row: any) => void;
|
|
34
|
-
handleDetailPageChange: (nextPage: any) => void;
|
|
35
|
-
handleDetailSort: (columnId: any, direction: any) => void;
|
|
36
|
-
handleDetailFilter: (text: any) => void;
|
|
37
|
-
handleDetailClose: () => void;
|
|
38
|
-
};
|
|
3
|
+
@param {any} p0 @returns {any} */
|
|
4
|
+
export function useDetailDrillThrough({ detailConfig, detailMode, viewMode, reportDef, treeConfig, rowFields, colFields, valConfigs, tableName, runtimeResponse, emitRuntimeRequest, stateEpoch, abortGeneration, sessionIdRef, clientInstanceRef, requestVersionRef, setPropsRef, profilingEnabledRef, pivotProfilerRef, profilerComponentIdRef, }: any): any;
|
|
@@ -1,2 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
export function
|
|
1
|
+
/** @param {any} [rowVal] @param {any} [filterGroup] @returns {any} */
|
|
2
|
+
export function evaluateFilterGroup(rowVal?: any, filterGroup?: any): any;
|
|
3
|
+
/** @param {any} [data] @param {any} [filters] @param {any} [serverSide] @returns {any} */
|
|
4
|
+
export function useFilteredData(data?: any, filters?: any, serverSide?: any): any;
|
|
@@ -3,42 +3,5 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Covers: color scale, data bars, font, decimal, number format, cell format
|
|
5
5
|
* rules, zoom, and hovered row path.
|
|
6
|
-
*/
|
|
7
|
-
export function useFormatState({ normalizedInitialDecimalPlaces, normalizedInitialDefaultValueFormat, normalizedInitialNumberGroupSeparator, }:
|
|
8
|
-
normalizedInitialDecimalPlaces: any;
|
|
9
|
-
normalizedInitialDefaultValueFormat: any;
|
|
10
|
-
normalizedInitialNumberGroupSeparator: any;
|
|
11
|
-
}): {
|
|
12
|
-
colorScaleMode: string;
|
|
13
|
-
setColorScaleMode: (mode: any, columns?: null) => void;
|
|
14
|
-
colorScaleColumns: null;
|
|
15
|
-
setColorScaleColumns: import("react").Dispatch<import("react").SetStateAction<null>>;
|
|
16
|
-
colorPalette: string;
|
|
17
|
-
setColorPalette: import("react").Dispatch<import("react").SetStateAction<string>>;
|
|
18
|
-
dataBarsColumns: Set<any>;
|
|
19
|
-
setDataBarsColumns: import("react").Dispatch<import("react").SetStateAction<Set<any>>>;
|
|
20
|
-
dataBarMaximums: {};
|
|
21
|
-
setDataBarMaximums: (value: any) => void;
|
|
22
|
-
fontFamily: string;
|
|
23
|
-
setFontFamily: import("react").Dispatch<import("react").SetStateAction<string>>;
|
|
24
|
-
fontSize: string;
|
|
25
|
-
setFontSize: import("react").Dispatch<import("react").SetStateAction<string>>;
|
|
26
|
-
decimalPlaces: any;
|
|
27
|
-
setDecimalPlaces: import("react").Dispatch<any>;
|
|
28
|
-
defaultValueFormat: any;
|
|
29
|
-
setDefaultValueFormat: import("react").Dispatch<any>;
|
|
30
|
-
numberGroupSeparator: any;
|
|
31
|
-
setNumberGroupSeparator: import("react").Dispatch<any>;
|
|
32
|
-
columnDecimalOverrides: {};
|
|
33
|
-
setColumnDecimalOverrides: import("react").Dispatch<import("react").SetStateAction<{}>>;
|
|
34
|
-
columnFormatOverrides: {};
|
|
35
|
-
setColumnFormatOverrides: import("react").Dispatch<import("react").SetStateAction<{}>>;
|
|
36
|
-
columnGroupSeparatorOverrides: {};
|
|
37
|
-
setColumnGroupSeparatorOverrides: import("react").Dispatch<import("react").SetStateAction<{}>>;
|
|
38
|
-
cellFormatRules: {};
|
|
39
|
-
setCellFormatRules: import("react").Dispatch<import("react").SetStateAction<{}>>;
|
|
40
|
-
hoveredRowPath: null;
|
|
41
|
-
setHoveredRowPath: import("react").Dispatch<import("react").SetStateAction<null>>;
|
|
42
|
-
zoomLevel: number;
|
|
43
|
-
setZoomLevel: import("react").Dispatch<import("react").SetStateAction<number>>;
|
|
44
|
-
};
|
|
6
|
+
@param {any} p0 @returns {any} */
|
|
7
|
+
export function useFormatState({ normalizedInitialDecimalPlaces, normalizedInitialDefaultValueFormat, normalizedInitialNumberGroupSeparator, }: any): any;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
export function
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
};
|
|
1
|
+
/** @param {any} [explicitView] @param {any} [savedView] @param {any} [tableName] @returns {any} */
|
|
2
|
+
export function resolvePersistedViewState(explicitView?: any, savedView?: any, tableName?: any): any;
|
|
3
|
+
/** @param {any} [id] @param {any} [persistence] @param {any} [persistence_type] @returns {any} */
|
|
4
|
+
export function usePersistence(id?: any, persistence?: any, persistence_type?: any): any;
|
|
@@ -3,26 +3,5 @@
|
|
|
3
3
|
* headers: drag payloads, drop indicators, semantic field moves, rendered
|
|
4
4
|
* column reordering, and column pinning. The composition root supplies its
|
|
5
5
|
* persisted layout writers and table metadata explicitly through `configure`.
|
|
6
|
-
*/
|
|
7
|
-
export function usePivotFieldInteractions():
|
|
8
|
-
configure: (context: any) => void;
|
|
9
|
-
dragItem: null;
|
|
10
|
-
dropLine: null;
|
|
11
|
-
dragOverHeaderId: null;
|
|
12
|
-
dragOverSide: null;
|
|
13
|
-
handlePinColumn: (columnId: any, side: any) => boolean;
|
|
14
|
-
toggleAllColumnsPinned: (pinState: any) => boolean;
|
|
15
|
-
applyFieldZoneMove: ({ field, srcZone, srcIdx, targetZone, targetIdx, source, }?: {
|
|
16
|
-
srcIdx?: number | undefined;
|
|
17
|
-
targetIdx?: number | undefined;
|
|
18
|
-
source?: string | undefined;
|
|
19
|
-
}) => boolean;
|
|
20
|
-
onDragStart: (event: any, field: any, zone: any, index: any) => void;
|
|
21
|
-
onDragOver: (event: any, zone: any, index: any) => void;
|
|
22
|
-
onDrop: (event: any, targetZone: any) => void;
|
|
23
|
-
onHeaderDrop: (event: any, targetColumnId: any) => void;
|
|
24
|
-
onHeaderDragOver: (event: any, columnId: any) => void;
|
|
25
|
-
onHeaderDragEnd: () => void;
|
|
26
|
-
onHeaderKeyboardMove: (columnId: any, delta: any) => boolean;
|
|
27
|
-
onHeaderKeyboardPin: (columnId: any, side: any) => boolean;
|
|
28
|
-
};
|
|
6
|
+
@returns {any} */
|
|
7
|
+
export function usePivotFieldInteractions(): any;
|