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.
- package/README.md +182 -182
- package/dist/react/chunks/ContextMenu-DJuS4qTZ.mjs +198 -0
- package/dist/react/chunks/{DetailDrawer-Eb4EpVHG.mjs → DetailDrawer-DgKSC5Vu.mjs} +1 -1
- package/dist/react/chunks/{DetailSidePanel-BTcHOiKr.mjs → DetailSidePanel-CC5Dugyl.mjs} +1 -1
- package/dist/react/chunks/{DetailSurfaceContent-B3ZNKh7q.mjs → DetailSurfaceContent-CrQVHlcU.mjs} +85 -77
- package/dist/react/chunks/{ECharts2dRenderer-C3Qv0uAa.mjs → ECharts2dRenderer-46gLrUdf.mjs} +412 -410
- package/dist/react/chunks/{ECharts3dRenderer-BB_7-fOt.mjs → ECharts3dRenderer-Dg4ta5Bl.mjs} +2211 -3197
- package/dist/react/chunks/{EditSidePanel-C2cAvxlK.mjs → EditSidePanel-CkShaByb.mjs} +77 -65
- package/dist/react/chunks/{InlineDetailPanel-BXLAw1o3.mjs → InlineDetailPanel-mnwjoD0I.mjs} +1 -1
- package/dist/react/chunks/PivotCharts-MX-Z7DlR.mjs +5076 -0
- package/dist/react/chunks/{ReportEditor-D4V0ry2B.mjs → ReportEditor-U0E42xKL.mjs} +952 -631
- package/dist/react/chunks/SidebarPanel-BzRW1Kgq.mjs +3944 -0
- package/dist/react/chunks/{SparklineDetailGraph-Bu85X7OJ.mjs → SparklineDetailGraph-35Tim_8B.mjs} +88 -58
- package/dist/react/chunks/installCanvasRenderer-DRq0xpXO.mjs +21174 -0
- package/dist/react/chunks/react-CL4GbEOd.mjs +33206 -0
- package/dist/react/chunks/{xlsx.mini.min-vfxHk3Ry.mjs → xlsx.mini.min-kfIgXMVB.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 +40 -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/ShimmerFallback.d.ts +11 -0
- 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/components/ThemedSelect.d.ts +8 -0
- package/dist/react/contexts/PivotConfigContext.d.ts +5 -33
- package/dist/react/contexts/PivotThemeContext.d.ts +8 -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 +4 -1
- package/dist/react/runtime/PivotRuntimeRoot.d.ts +1 -1
- package/dist/react/runtime/client/clientPivotTransport.d.ts +6 -1
- package/dist/react/runtime/client/clientResponsePostProcessor.d.ts +50 -0
- package/dist/react/runtime/client/duckdbWasmExecutor.d.ts +3 -0
- package/dist/react/runtime/client/types.d.ts +17 -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 +110 -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 +4 -7
- package/dist/react/utils/domEvents.d.ts +2 -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 +21 -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 +7 -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/ContextMenu-Bt5_3bmD.mjs +0 -192
- package/dist/react/chunks/PivotCharts-Bw6Swoa3.mjs +0 -4252
- package/dist/react/chunks/SidebarPanel-xO59p_2o.mjs +0 -3339
- package/dist/react/chunks/installCanvasRenderer-B7sfDGoL.mjs +0 -21281
- package/dist/react/chunks/react-CPZZxtSo.mjs +0 -26999
|
@@ -5,65 +5,5 @@
|
|
|
5
5
|
* the mutable legacy runtime record. Its result is a plain chart model and
|
|
6
6
|
* chart-only callbacks; the viewport stage merely publishes that result while
|
|
7
7
|
* the compatibility bridge remains in place.
|
|
8
|
-
*/
|
|
9
|
-
export function useRuntimeChartModels({ buildChartRequestBase, buildChartStateOverrideSnapshot, chartCanvasPanes, chartPaneDataById, chartPanelColumnLimit, chartPanelHierarchyLevel, chartPanelInteractionMode, chartPanelLayers, chartPanelLocked, chartPanelLockedModel, chartPanelLockedRequest, chartPanelOpen, chartPanelOrientation, chartPanelRowLimit, chartPanelServerScope, chartPanelSource, chartPanelSortMode, chartPanelType, chartModal, colFields, columnOrderKey, columnPinning, columnSizing, columnVisibility, columns, effectiveBottomRows, effectiveCenterRows, effectiveTopRows, getDisplayRows, handleRowSelect, loadedRows, resolveDisplayRowIndex, rowFields, scrollToDisplayColumn, scrollToDisplayRow, serverSide, setChartPanelLocked, setChartPanelLockedModel, setChartPanelLockedRequest, setFilters, setPropsRef, showNotification, table, updateChartCanvasPane, selectedCells, }:
|
|
10
|
-
buildChartRequestBase: any;
|
|
11
|
-
buildChartStateOverrideSnapshot: any;
|
|
12
|
-
chartCanvasPanes: any;
|
|
13
|
-
chartPaneDataById: any;
|
|
14
|
-
chartPanelColumnLimit: any;
|
|
15
|
-
chartPanelHierarchyLevel: any;
|
|
16
|
-
chartPanelInteractionMode: any;
|
|
17
|
-
chartPanelLayers: any;
|
|
18
|
-
chartPanelLocked: any;
|
|
19
|
-
chartPanelLockedModel: any;
|
|
20
|
-
chartPanelLockedRequest: any;
|
|
21
|
-
chartPanelOpen: any;
|
|
22
|
-
chartPanelOrientation: any;
|
|
23
|
-
chartPanelRowLimit: any;
|
|
24
|
-
chartPanelServerScope: any;
|
|
25
|
-
chartPanelSource: any;
|
|
26
|
-
chartPanelSortMode: any;
|
|
27
|
-
chartPanelType: any;
|
|
28
|
-
chartModal: any;
|
|
29
|
-
colFields: any;
|
|
30
|
-
columnOrderKey: any;
|
|
31
|
-
columnPinning: any;
|
|
32
|
-
columnSizing: any;
|
|
33
|
-
columnVisibility: any;
|
|
34
|
-
columns: any;
|
|
35
|
-
effectiveBottomRows: any;
|
|
36
|
-
effectiveCenterRows: any;
|
|
37
|
-
effectiveTopRows: any;
|
|
38
|
-
getDisplayRows: any;
|
|
39
|
-
handleRowSelect: any;
|
|
40
|
-
loadedRows: any;
|
|
41
|
-
resolveDisplayRowIndex: any;
|
|
42
|
-
rowFields: any;
|
|
43
|
-
scrollToDisplayColumn: any;
|
|
44
|
-
scrollToDisplayRow: any;
|
|
45
|
-
serverSide: any;
|
|
46
|
-
setChartPanelLocked: any;
|
|
47
|
-
setChartPanelLockedModel: any;
|
|
48
|
-
setChartPanelLockedRequest: any;
|
|
49
|
-
setFilters: any;
|
|
50
|
-
setPropsRef: any;
|
|
51
|
-
showNotification: any;
|
|
52
|
-
table: any;
|
|
53
|
-
updateChartCanvasPane: any;
|
|
54
|
-
selectedCells: any;
|
|
55
|
-
}): {
|
|
56
|
-
activateChartCategory: (source: any, interactionMode: any, target: any) => void;
|
|
57
|
-
activeChartPanelModel: any;
|
|
58
|
-
applyChartTargetFilters: (target: any) => void;
|
|
59
|
-
chartCanvasPaneModels: {};
|
|
60
|
-
chartDisplayRows: any[];
|
|
61
|
-
chartModelingActive: any;
|
|
62
|
-
handleChartCategoryActivate: (target: any) => void;
|
|
63
|
-
handleToggleChartCanvasPaneLock: (paneId: any) => void;
|
|
64
|
-
handleToggleChartPanelLock: () => void;
|
|
65
|
-
livePivotChartModel: any;
|
|
66
|
-
liveSelectionChartModel: any;
|
|
67
|
-
overlayChartData: any;
|
|
68
|
-
visibleLeafColumns: any;
|
|
69
|
-
};
|
|
8
|
+
@param {any} p0 @returns {any} */
|
|
9
|
+
export function useRuntimeChartModels({ buildChartRequestBase, buildChartStateOverrideSnapshot, chartCanvasPanes, chartPaneDataById, chartPanelColumnLimit, chartPanelHierarchyLevel, chartPanelInteractionMode, chartPanelLayers, chartPanelLocked, chartPanelLockedModel, chartPanelLockedRequest, chartPanelOpen, chartPanelOrientation, chartPanelRowLimit, chartPanelServerScope, chartPanelSource, chartPanelSortMode, chartPanelType, chartModal, colFields, columnOrderKey, columnPinning, columnSizing, columnVisibility, columns, effectiveBottomRows, effectiveCenterRows, effectiveTopRows, getDisplayRows, handleRowSelect, loadedRows, resolveDisplayRowIndex, rowFields, scrollToDisplayColumn, scrollToDisplayRow, serverSide, setChartPanelLocked, setChartPanelLockedModel, setChartPanelLockedRequest, setFilters, setPropsRef, showNotification, table, updateChartCanvasPane, selectedCells, }: any): any;
|
|
@@ -1,12 +1,2 @@
|
|
|
1
|
-
/** Owns docked chart-panel width limits, drag resizing, and responsive sizing. */
|
|
2
|
-
export function useRuntimeChartPanelSizing({ chartLayoutRef, chartPanelFloating, chartPanelOpen, isChartPanelResizing, setChartPanelWidth, setIsChartPanelResizing, sidebarOpen, }:
|
|
3
|
-
chartLayoutRef: any;
|
|
4
|
-
chartPanelFloating: any;
|
|
5
|
-
chartPanelOpen: any;
|
|
6
|
-
isChartPanelResizing: any;
|
|
7
|
-
setChartPanelWidth: any;
|
|
8
|
-
setIsChartPanelResizing: any;
|
|
9
|
-
sidebarOpen: any;
|
|
10
|
-
}): {
|
|
11
|
-
clampChartPanelWidth: (requestedWidth: any) => number;
|
|
12
|
-
};
|
|
1
|
+
/** Owns docked chart-panel width limits, drag resizing, and responsive sizing. @param {any} p0 @returns {any} */
|
|
2
|
+
export function useRuntimeChartPanelSizing({ chartLayoutRef, chartPanelFloating, chartPanelOpen, isChartPanelResizing, setChartPanelWidth, setIsChartPanelResizing, sidebarOpen, }: any): any;
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Owns the chart-request queue after the grid and chart models have produced
|
|
3
3
|
* candidates. It deliberately receives only chart transport dependencies.
|
|
4
|
-
*/
|
|
5
|
-
export function useRuntimeChartRequestDispatch({ getState }:
|
|
6
|
-
getState: any;
|
|
7
|
-
}): void;
|
|
4
|
+
@param {any} p0 @returns {any} */
|
|
5
|
+
export function useRuntimeChartRequestDispatch({ getState }: any): any;
|
|
@@ -5,155 +5,5 @@
|
|
|
5
5
|
* interaction stage supplies the individual data, formatting, and table
|
|
6
6
|
* capabilities it needs, while export dispatch is owned separately by
|
|
7
7
|
* createRuntimeExportCommands.
|
|
8
|
-
*/
|
|
9
|
-
export function useRuntimeClipboardExportPresentation({ cachedColSchema, cellFormatRules, colorPalette, colorScaleMode, colorScaleStats, columnDecimalOverrides, columnFormatOverrides, columnGroupSeparatorOverrides, conditionalFormatting, decimalPlaces, defaultValueFormat, fontFamily, fontSize, getConditionalStyle, getDisplayHeaderTextForColumn, getDisplayHeaderTextStackForColumn, getDisplayRows, HIERARCHY_INDENT_PX, headerFormatting, loadedRows, matchesSelectedColumnToValueConfig, mergedHeaderSeparator, numberGroupSeparator, resolveDisplayedCellValue, rowHeight, selectedCells, serverSide, showNotification, table, theme, totalCenterCols, valConfigs, }:
|
|
10
|
-
cachedColSchema: any;
|
|
11
|
-
cellFormatRules: any;
|
|
12
|
-
colorPalette: any;
|
|
13
|
-
colorScaleMode: any;
|
|
14
|
-
colorScaleStats: any;
|
|
15
|
-
columnDecimalOverrides: any;
|
|
16
|
-
columnFormatOverrides: any;
|
|
17
|
-
columnGroupSeparatorOverrides: any;
|
|
18
|
-
conditionalFormatting: any;
|
|
19
|
-
decimalPlaces: any;
|
|
20
|
-
defaultValueFormat: any;
|
|
21
|
-
fontFamily: any;
|
|
22
|
-
fontSize: any;
|
|
23
|
-
getConditionalStyle: any;
|
|
24
|
-
getDisplayHeaderTextForColumn: any;
|
|
25
|
-
getDisplayHeaderTextStackForColumn: any;
|
|
26
|
-
getDisplayRows: any;
|
|
27
|
-
HIERARCHY_INDENT_PX: any;
|
|
28
|
-
headerFormatting: any;
|
|
29
|
-
loadedRows: any;
|
|
30
|
-
matchesSelectedColumnToValueConfig: any;
|
|
31
|
-
mergedHeaderSeparator: any;
|
|
32
|
-
numberGroupSeparator: any;
|
|
33
|
-
resolveDisplayedCellValue: any;
|
|
34
|
-
rowHeight: any;
|
|
35
|
-
selectedCells: any;
|
|
36
|
-
serverSide: any;
|
|
37
|
-
showNotification: any;
|
|
38
|
-
table: any;
|
|
39
|
-
theme: any;
|
|
40
|
-
totalCenterCols: any;
|
|
41
|
-
valConfigs: any;
|
|
42
|
-
}): {
|
|
43
|
-
EXPORT_SKIP_COL_IDS: Set<string>;
|
|
44
|
-
buildAllRowsClipboardPayload: ({ withHeaders, mergedHeaders, }?: {
|
|
45
|
-
withHeaders?: boolean | undefined;
|
|
46
|
-
mergedHeaders?: boolean | undefined;
|
|
47
|
-
}) => {
|
|
48
|
-
html: string;
|
|
49
|
-
text: string;
|
|
50
|
-
rowCount: any;
|
|
51
|
-
columnCount: any;
|
|
52
|
-
} | null;
|
|
53
|
-
buildExportStyleProfile: (colIds: any, { withHeaders, mergedHeaders }?: {
|
|
54
|
-
withHeaders?: boolean | undefined;
|
|
55
|
-
mergedHeaders?: boolean | undefined;
|
|
56
|
-
}) => {
|
|
57
|
-
includeHeaders: boolean;
|
|
58
|
-
mergedHeaders: boolean;
|
|
59
|
-
mergedHeaderSeparator: any;
|
|
60
|
-
fontFamily: any;
|
|
61
|
-
fontSize: any;
|
|
62
|
-
rowHeight: any;
|
|
63
|
-
theme: {
|
|
64
|
-
text: any;
|
|
65
|
-
textSec: any;
|
|
66
|
-
border: any;
|
|
67
|
-
background: any;
|
|
68
|
-
surfaceBg: any;
|
|
69
|
-
surfaceInset: any;
|
|
70
|
-
headerBg: any;
|
|
71
|
-
headerSubtleBg: any;
|
|
72
|
-
headerText: any;
|
|
73
|
-
hierarchyBg: any;
|
|
74
|
-
totalBg: any;
|
|
75
|
-
totalBgStrong: any;
|
|
76
|
-
totalText: any;
|
|
77
|
-
select: any;
|
|
78
|
-
primary: any;
|
|
79
|
-
};
|
|
80
|
-
headerLabels: {};
|
|
81
|
-
mergedHeaderRows: {
|
|
82
|
-
label: never;
|
|
83
|
-
columnIds: never;
|
|
84
|
-
colSpan: never;
|
|
85
|
-
rowSpan: never;
|
|
86
|
-
styleColumnId: never;
|
|
87
|
-
}[][];
|
|
88
|
-
headerFormatting: any;
|
|
89
|
-
columnWidths: {};
|
|
90
|
-
decimalPlaces: any;
|
|
91
|
-
defaultValueFormat: any;
|
|
92
|
-
numberGroupSeparator: any;
|
|
93
|
-
columnDecimalOverrides: any;
|
|
94
|
-
columnFormatOverrides: any;
|
|
95
|
-
columnGroupSeparatorOverrides: any;
|
|
96
|
-
valConfigs: any;
|
|
97
|
-
conditionalFormatting: any;
|
|
98
|
-
cellFormatRules: any;
|
|
99
|
-
colorScaleMode: any;
|
|
100
|
-
colorPalette: any;
|
|
101
|
-
colorScaleStats: {
|
|
102
|
-
byCol: any;
|
|
103
|
-
table: any;
|
|
104
|
-
} | null;
|
|
105
|
-
};
|
|
106
|
-
buildSelectedClipboardPayload: (withHeaders?: boolean, selectionMap?: any, { rawValues, mergedHeaders }?: {
|
|
107
|
-
rawValues?: boolean | undefined;
|
|
108
|
-
mergedHeaders?: boolean | undefined;
|
|
109
|
-
}) => {
|
|
110
|
-
html: string;
|
|
111
|
-
text: string;
|
|
112
|
-
rowCount: any;
|
|
113
|
-
columnCount: any;
|
|
114
|
-
} | null;
|
|
115
|
-
buildTableClipboardPayload: ({ withHeaders, mergedHeaders, rows, columns, }?: {
|
|
116
|
-
withHeaders?: boolean | undefined;
|
|
117
|
-
mergedHeaders?: boolean | undefined;
|
|
118
|
-
rows?: null | undefined;
|
|
119
|
-
columns?: null | undefined;
|
|
120
|
-
}) => {
|
|
121
|
-
html: string;
|
|
122
|
-
text: string;
|
|
123
|
-
rowCount: any;
|
|
124
|
-
columnCount: any;
|
|
125
|
-
} | null;
|
|
126
|
-
copyRichToClipboard: (payload: any, successMessage?: string) => Promise<boolean>;
|
|
127
|
-
copyTextToClipboard: (text: any, successMessage?: string) => Promise<boolean>;
|
|
128
|
-
copyToClipboard: (payload: any) => Promise<void>;
|
|
129
|
-
getCompleteServerExportColIds: () => any;
|
|
130
|
-
getExportCellDisplayValue: (rowLike: any, column: any, rowIndex: any, overrideValue?: undefined, rawValues?: boolean) => any;
|
|
131
|
-
getExportCellStyle: (rowLike: any, column: any, rowIndex: any, overrideValue?: undefined) => any;
|
|
132
|
-
getExportColumns: (columnsOverride: any) => any;
|
|
133
|
-
getExportGroupSeparator: (groupSeparator: any) => any;
|
|
134
|
-
getExportHeaderLabel: (column: any, mergedHeaders?: boolean, separator?: any) => any;
|
|
135
|
-
getExportHeaderStyle: (column: any) => {
|
|
136
|
-
fontFamily: any;
|
|
137
|
-
fontSize: any;
|
|
138
|
-
fontWeight: number;
|
|
139
|
-
color: any;
|
|
140
|
-
background: any;
|
|
141
|
-
border: string;
|
|
142
|
-
padding: string;
|
|
143
|
-
textAlign: string;
|
|
144
|
-
};
|
|
145
|
-
getExportRawCellValue: (rowLike: any, column: any, rowIndex: any, overrideValue?: undefined) => any;
|
|
146
|
-
getExportRowData: (rowLike: any) => any;
|
|
147
|
-
getExportRowId: (rowLike: any, rowData: any, rowIndex: any) => string;
|
|
148
|
-
getInstantiatedExportColIds: () => any;
|
|
149
|
-
getServerExportColumnTarget: ({ currentTable }?: {
|
|
150
|
-
currentTable?: boolean | undefined;
|
|
151
|
-
}) => {
|
|
152
|
-
mode: string;
|
|
153
|
-
colIds: any;
|
|
154
|
-
knownColIds: any;
|
|
155
|
-
totalCols: any;
|
|
156
|
-
};
|
|
157
|
-
isExportableColumnId: (columnId: any) => boolean;
|
|
158
|
-
triggerExportDownload: (url: any, filename: any) => void;
|
|
159
|
-
};
|
|
8
|
+
@param {any} p0 @returns {any} */
|
|
9
|
+
export function useRuntimeClipboardExportPresentation({ cachedColSchema, cellFormatRules, colorPalette, colorScaleMode, colorScaleStats, columnDecimalOverrides, columnFormatOverrides, columnGroupSeparatorOverrides, conditionalFormatting, decimalPlaces, defaultValueFormat, fontFamily, fontSize, getConditionalStyle, getDisplayHeaderTextForColumn, getDisplayHeaderTextStackForColumn, getDisplayRows, HIERARCHY_INDENT_PX, headerFormatting, loadedRows, matchesSelectedColumnToValueConfig, mergedHeaderSeparator, numberGroupSeparator, resolveDisplayedCellValue, rowHeight, selectedCells, serverSide, showNotification, table, theme, totalCenterCols, unitSuffix, valConfigs, valueScale, }: any): any;
|
|
@@ -1,7 +1,2 @@
|
|
|
1
|
-
/** Owns spreadsheet-style paste from the window clipboard into selected cells. */
|
|
2
|
-
export function useRuntimeClipboardPaste({ dispatchBatchUpdateRequest, getDisplayRows, lastSelected, tableRef, }:
|
|
3
|
-
dispatchBatchUpdateRequest: any;
|
|
4
|
-
getDisplayRows: any;
|
|
5
|
-
lastSelected: any;
|
|
6
|
-
tableRef: any;
|
|
7
|
-
}): void;
|
|
1
|
+
/** Owns spreadsheet-style paste from the window clipboard into selected cells. @param {any} p0 @returns {any} */
|
|
2
|
+
export function useRuntimeClipboardPaste({ dispatchBatchUpdateRequest, getDisplayRows, lastSelected, tableRef, }: any): any;
|
|
@@ -1,55 +1,2 @@
|
|
|
1
|
-
/** Owns client/server color-scale statistics and cell presentation. */
|
|
2
|
-
export function useRuntimeColorScalePresentation({ colorPalette, colorScaleMode, colorScaleColumns, colFields, filteredData, getRuleBasedStyle, nodes, rowFields, serverColorScaleStats, }:
|
|
3
|
-
colorPalette: any;
|
|
4
|
-
colorScaleMode: any;
|
|
5
|
-
colorScaleColumns?: null | undefined;
|
|
6
|
-
colFields: any;
|
|
7
|
-
filteredData: any;
|
|
8
|
-
getRuleBasedStyle: any;
|
|
9
|
-
nodes: any;
|
|
10
|
-
rowFields: any;
|
|
11
|
-
serverColorScaleStats: any;
|
|
12
|
-
}): {
|
|
13
|
-
COLOR_PALETTES: {
|
|
14
|
-
redGreen: {
|
|
15
|
-
low: number[];
|
|
16
|
-
high: number[];
|
|
17
|
-
darkLow: string;
|
|
18
|
-
darkHigh: string;
|
|
19
|
-
};
|
|
20
|
-
greenRed: {
|
|
21
|
-
low: number[];
|
|
22
|
-
high: number[];
|
|
23
|
-
darkLow: string;
|
|
24
|
-
darkHigh: string;
|
|
25
|
-
};
|
|
26
|
-
blueWhite: {
|
|
27
|
-
low: number[];
|
|
28
|
-
high: number[];
|
|
29
|
-
darkLow: string;
|
|
30
|
-
darkHigh: string;
|
|
31
|
-
};
|
|
32
|
-
yellowBlue: {
|
|
33
|
-
low: number[];
|
|
34
|
-
high: number[];
|
|
35
|
-
darkLow: string;
|
|
36
|
-
darkHigh: string;
|
|
37
|
-
};
|
|
38
|
-
orangePurp: {
|
|
39
|
-
low: number[];
|
|
40
|
-
high: number[];
|
|
41
|
-
darkLow: string;
|
|
42
|
-
darkHigh: string;
|
|
43
|
-
};
|
|
44
|
-
};
|
|
45
|
-
clientColorScaleStats: {
|
|
46
|
-
byCol: {};
|
|
47
|
-
byRow: {};
|
|
48
|
-
table: {
|
|
49
|
-
min: number;
|
|
50
|
-
max: number;
|
|
51
|
-
} | null;
|
|
52
|
-
};
|
|
53
|
-
colorScaleStats: any;
|
|
54
|
-
getConditionalStyle: (colId: any, value: any, rowData: any, rowId: any) => any;
|
|
55
|
-
};
|
|
1
|
+
/** Owns client/server color-scale statistics and cell presentation. @param {any} p0 @returns {any} */
|
|
2
|
+
export function useRuntimeColorScalePresentation({ colorPalette, colorScaleMode, colorScaleColumns, colFields, filteredData, getRuleBasedStyle, nodes, rowFields, serverColorScaleStats, }: any): any;
|
|
@@ -1,26 +1,2 @@
|
|
|
1
|
-
/** Owns measured column sizing and its toolbar command. */
|
|
2
|
-
export function useRuntimeColumnAutoSizing({ autoSizeBounds, columnDecimalOverrides, columnFormatOverrides, columnGroupSeparatorOverrides, decimalPlaces, defaultValueFormat, fontFamily, fontSize, getAutoSizeSampleRows, getDisplayHeaderTextStackForColumn, getRenderedCellWidthForColumn, getRenderedHeaderWidthForColumn, matchesSelectedColumnToValueConfig, numberGroupSeparator, queueHeaderFitValidation, table, valConfigs, }:
|
|
3
|
-
autoSizeBounds: any;
|
|
4
|
-
columnDecimalOverrides: any;
|
|
5
|
-
columnFormatOverrides: any;
|
|
6
|
-
columnGroupSeparatorOverrides: any;
|
|
7
|
-
decimalPlaces: any;
|
|
8
|
-
defaultValueFormat: any;
|
|
9
|
-
fontFamily: any;
|
|
10
|
-
fontSize: any;
|
|
11
|
-
getAutoSizeSampleRows: any;
|
|
12
|
-
getDisplayHeaderTextStackForColumn: any;
|
|
13
|
-
getRenderedCellWidthForColumn: any;
|
|
14
|
-
getRenderedHeaderWidthForColumn: any;
|
|
15
|
-
matchesSelectedColumnToValueConfig: any;
|
|
16
|
-
numberGroupSeparator: any;
|
|
17
|
-
queueHeaderFitValidation: any;
|
|
18
|
-
table: any;
|
|
19
|
-
valConfigs: any;
|
|
20
|
-
}): {
|
|
21
|
-
HIERARCHY_EXPAND_PX: number;
|
|
22
|
-
HIERARCHY_INDENT_PX: number;
|
|
23
|
-
autoSizeColumn: (columnId: any, includeHeader?: boolean) => void;
|
|
24
|
-
autoSizeVisibleColumns: (includeHeader?: boolean) => void;
|
|
25
|
-
handleAutoSizeToolbarClick: () => void;
|
|
26
|
-
};
|
|
1
|
+
/** Owns measured column sizing and its toolbar command. @param {any} p0 @returns {any} */
|
|
2
|
+
export function useRuntimeColumnAutoSizing({ autoSizeBounds, columnDecimalOverrides, columnFormatOverrides, columnGroupSeparatorOverrides, decimalPlaces, defaultValueFormat, fontFamily, fontSize, getAutoSizeSampleRows, getDisplayHeaderTextStackForColumn, getRenderedCellWidthForColumn, getRenderedHeaderWidthForColumn, matchesSelectedColumnToValueConfig, numberGroupSeparator, queueHeaderFitValidation, table, valConfigs, valueScale, unitSuffix, }: any): any;
|
|
@@ -1,22 +1,2 @@
|
|
|
1
|
-
/** Owns pin-state lookups and server-side pivot-column ordering commands. */
|
|
2
|
-
export function useRuntimeColumnCommands({ colFields, columnPinning, columnVirtualizerRef, effectiveSortOptions, parentRef, resetVisibleColRange, rowFields, serverSide, setPivotColumnSorting, showNotification, visibleColRange, }:
|
|
3
|
-
colFields: any;
|
|
4
|
-
columnPinning: any;
|
|
5
|
-
columnVirtualizerRef: any;
|
|
6
|
-
effectiveSortOptions: any;
|
|
7
|
-
parentRef: any;
|
|
8
|
-
resetVisibleColRange: any;
|
|
9
|
-
rowFields: any;
|
|
10
|
-
serverSide: any;
|
|
11
|
-
setPivotColumnSorting: any;
|
|
12
|
-
showNotification: any;
|
|
13
|
-
visibleColRange: any;
|
|
14
|
-
}): {
|
|
15
|
-
applyPivotColumnSort: (field: any, mode: any, direction: any) => void;
|
|
16
|
-
getPinningState: (columnId: any) => false | "left" | "right";
|
|
17
|
-
getPivotColumnSortField: (header: any, level?: number) => any;
|
|
18
|
-
getPivotColumnSortState: (field: any) => {
|
|
19
|
-
mode: any;
|
|
20
|
-
direction: any;
|
|
21
|
-
} | null;
|
|
22
|
-
};
|
|
1
|
+
/** Owns pin-state lookups and server-side pivot-column ordering commands. @param {any} p0 @returns {any} */
|
|
2
|
+
export function useRuntimeColumnCommands({ colFields, columnPinning, columnVirtualizerRef, effectiveSortOptions, parentRef, resetVisibleColRange, rowFields, serverSide, setPivotColumnSorting, showNotification, visibleColRange, }: any): any;
|
|
@@ -3,14 +3,5 @@
|
|
|
3
3
|
*
|
|
4
4
|
* DOM measurement is kept separate from column ordering and pinning commands
|
|
5
5
|
* so virtual-column changes have one isolated browser-facing dependency.
|
|
6
|
-
*/
|
|
7
|
-
export function useRuntimeColumnMeasurement({ autoSizeBounds, id, parentRef, table }:
|
|
8
|
-
autoSizeBounds: any;
|
|
9
|
-
id: any;
|
|
10
|
-
parentRef: any;
|
|
11
|
-
table: any;
|
|
12
|
-
}): {
|
|
13
|
-
getRenderedCellWidthForColumn: (columnId: any) => null;
|
|
14
|
-
getRenderedHeaderWidthForColumn: (columnId: any) => null;
|
|
15
|
-
queueHeaderFitValidation: (columnId: any, measuredWidth: any) => void;
|
|
16
|
-
};
|
|
6
|
+
@param {any} p0 @returns {any} */
|
|
7
|
+
export function useRuntimeColumnMeasurement({ autoSizeBounds, id, parentRef, table }: any): any;
|
|
@@ -1,12 +1,2 @@
|
|
|
1
|
-
/** User recovery always derives a fresh request from the current viewport. */
|
|
2
|
-
export function useRuntimeDataRetry({ runtimeDataError, setRuntimeDataError, requestVisibleViewportRefresh, requestVersionRef, stateEpochRef, clientInstanceRef }:
|
|
3
|
-
runtimeDataError: any;
|
|
4
|
-
setRuntimeDataError: any;
|
|
5
|
-
requestVisibleViewportRefresh: any;
|
|
6
|
-
requestVersionRef: any;
|
|
7
|
-
stateEpochRef: any;
|
|
8
|
-
clientInstanceRef: any;
|
|
9
|
-
}): {
|
|
10
|
-
retryRuntimeData: () => any;
|
|
11
|
-
runtimeDataError: any;
|
|
12
|
-
};
|
|
1
|
+
/** User recovery always derives a fresh request from the current viewport. @param {any} p0 @returns {any} */
|
|
2
|
+
export function useRuntimeDataRetry({ runtimeDataError, setRuntimeDataError, requestVisibleViewportRefresh, requestVersionRef, stateEpochRef, clientInstanceRef }: any): any;
|
|
@@ -4,14 +4,5 @@
|
|
|
4
4
|
* These commands need both virtualizers and the table scroll container. They
|
|
5
5
|
* therefore belong to the viewport stage, where those refs are created, rather
|
|
6
6
|
* than to setup, which only owns the display-row index contract.
|
|
7
|
-
*/
|
|
8
|
-
export function useRuntimeDisplayNavigation({ activeRowVirtualizerRef, columnVirtualizerRef, parentRef, pinnedColumnMetaRef, pinnedDisplayMetaRef }:
|
|
9
|
-
activeRowVirtualizerRef: any;
|
|
10
|
-
columnVirtualizerRef: any;
|
|
11
|
-
parentRef: any;
|
|
12
|
-
pinnedColumnMetaRef: any;
|
|
13
|
-
pinnedDisplayMetaRef: any;
|
|
14
|
-
}): {
|
|
15
|
-
scrollToDisplayColumn: (displayIndex: any) => void;
|
|
16
|
-
scrollToDisplayRow: (displayIndex: any) => void;
|
|
17
|
-
};
|
|
7
|
+
@param {any} p0 @returns {any} */
|
|
8
|
+
export function useRuntimeDisplayNavigation({ activeRowVirtualizerRef, columnVirtualizerRef, parentRef, pinnedColumnMetaRef, pinnedDisplayMetaRef }: any): any;
|
|
@@ -2,21 +2,5 @@
|
|
|
2
2
|
* Resolves stable edit-overlay cell identities and values. It is intentionally
|
|
3
3
|
* independent of transaction dispatch so the editing state owner can be
|
|
4
4
|
* migrated without pulling transport into setup.
|
|
5
|
-
*/
|
|
6
|
-
export function useRuntimeEditCellIdentity({ comparisonCellOriginalValuesRef, editValueDisplayMode, optimisticCellValuesRef, tableDataRef, }:
|
|
7
|
-
comparisonCellOriginalValuesRef: any;
|
|
8
|
-
editValueDisplayMode: any;
|
|
9
|
-
optimisticCellValuesRef: any;
|
|
10
|
-
tableDataRef: any;
|
|
11
|
-
}): {
|
|
12
|
-
getOptimisticCellKey: (rowId: any, colId: any) => string | null;
|
|
13
|
-
normalizeTrackedEventIds: (eventIds: any) => string[];
|
|
14
|
-
resolveCurrentCellValue: (rowId: any, colId: any, fallbackValue?: undefined) => any;
|
|
15
|
-
resolveDisplayedCellValue: (rowId: any, colId: any, fallbackValue?: undefined) => any;
|
|
16
|
-
resolveOptimisticCellValue: (rowId: any, colId: any, fallbackValue: any) => any;
|
|
17
|
-
resolveVisibleDataRowId: (row: any) => string | null;
|
|
18
|
-
splitOptimisticCellKey: (key: any) => {
|
|
19
|
-
rowId: string;
|
|
20
|
-
colId: string;
|
|
21
|
-
} | null;
|
|
22
|
-
};
|
|
5
|
+
@param {any} p0 @returns {any} */
|
|
6
|
+
export function useRuntimeEditCellIdentity({ comparisonCellOriginalValuesRef, editValueDisplayMode, optimisticCellValuesRef, tableDataRef, }: any): any;
|
|
@@ -1,28 +1,2 @@
|
|
|
1
|
-
/** Tracks optimistic edit overlays, comparison values, and aggregate markers. */
|
|
2
|
-
export function useRuntimeEditChangeTracking({ bumpComparisonCellEpoch, bumpEditedCellEpoch, bumpOptimisticCellEpoch, cellValuesMatch, comparisonCellCountsRef, comparisonCellOriginalValuesRef, editedCellMarkersRef, getOptimisticCellKey, optimisticCellValuesRef, resolveAggregationConfigForColumnId, resolveCurrentCellValue, resolveVisibleDataRowId, syncComparisonValueState, tableDataRef, }:
|
|
3
|
-
bumpComparisonCellEpoch: any;
|
|
4
|
-
bumpEditedCellEpoch: any;
|
|
5
|
-
bumpOptimisticCellEpoch: any;
|
|
6
|
-
cellValuesMatch: any;
|
|
7
|
-
comparisonCellCountsRef: any;
|
|
8
|
-
comparisonCellOriginalValuesRef: any;
|
|
9
|
-
editedCellMarkersRef: any;
|
|
10
|
-
getOptimisticCellKey: any;
|
|
11
|
-
optimisticCellValuesRef: any;
|
|
12
|
-
resolveAggregationConfigForColumnId: any;
|
|
13
|
-
resolveCurrentCellValue: any;
|
|
14
|
-
resolveVisibleDataRowId: any;
|
|
15
|
-
syncComparisonValueState: any;
|
|
16
|
-
tableDataRef: any;
|
|
17
|
-
}): {
|
|
18
|
-
applyComparisonValuePlan: (comparisonPlan: any, direction?: string) => void;
|
|
19
|
-
applyEditedCellMarkerPlan: (markerPlan: any, direction?: string) => void;
|
|
20
|
-
buildComparisonValuePlan: (updates: any) => {
|
|
21
|
-
cells: any[];
|
|
22
|
-
} | null;
|
|
23
|
-
buildEditedCellMarkerPlan: (updates: any) => {
|
|
24
|
-
direct: any[];
|
|
25
|
-
propagated: any[];
|
|
26
|
-
} | null;
|
|
27
|
-
reconcileOptimisticCellValuesWithPayload: (payload: any) => void;
|
|
28
|
-
};
|
|
1
|
+
/** Tracks optimistic edit overlays, comparison values, and aggregate markers. @param {any} p0 @returns {any} */
|
|
2
|
+
export function useRuntimeEditChangeTracking({ bumpComparisonCellEpoch, bumpEditedCellEpoch, bumpOptimisticCellEpoch, cellValuesMatch, comparisonCellCountsRef, comparisonCellOriginalValuesRef, editedCellMarkersRef, getOptimisticCellKey, optimisticCellValuesRef, resolveAggregationConfigForColumnId, resolveCurrentCellValue, resolveVisibleDataRowId, syncComparisonValueState, tableDataRef, }: any): any;
|
|
@@ -1,35 +1,2 @@
|
|
|
1
|
-
/** Owns row-edit synchronization and the persisted comparison/marker state. */
|
|
2
|
-
export function useRuntimeEditComparisonState({ comparisonCellCountsRef, comparisonCellEpoch, comparisonCellOriginalValuesRef, comparisonValueState, editedCellEpoch, editedCellMarkersRef, getOptimisticCellKey, normalizeTrackedEventIds, rowEditSessions, rowEditSessionsRef, setComparisonCellEpoch, setComparisonValueState, setEditedCellEpoch, setOptimisticCellEpoch, setRowEditSessions, }:
|
|
3
|
-
comparisonCellCountsRef: any;
|
|
4
|
-
comparisonCellEpoch: any;
|
|
5
|
-
comparisonCellOriginalValuesRef: any;
|
|
6
|
-
comparisonValueState: any;
|
|
7
|
-
editedCellEpoch: any;
|
|
8
|
-
editedCellMarkersRef: any;
|
|
9
|
-
getOptimisticCellKey: any;
|
|
10
|
-
normalizeTrackedEventIds: any;
|
|
11
|
-
rowEditSessions: any;
|
|
12
|
-
rowEditSessionsRef: any;
|
|
13
|
-
setComparisonCellEpoch: any;
|
|
14
|
-
setComparisonValueState: any;
|
|
15
|
-
setEditedCellEpoch: any;
|
|
16
|
-
setOptimisticCellEpoch: any;
|
|
17
|
-
setRowEditSessions: any;
|
|
18
|
-
}): {
|
|
19
|
-
bumpComparisonCellEpoch: () => void;
|
|
20
|
-
bumpEditedCellEpoch: () => void;
|
|
21
|
-
bumpOptimisticCellEpoch: () => void;
|
|
22
|
-
restoreSerializedEditComparisonState: (serializedState: any) => void;
|
|
23
|
-
serializeEditComparisonState: () => {
|
|
24
|
-
version: number;
|
|
25
|
-
cells: any[];
|
|
26
|
-
markers: any[];
|
|
27
|
-
} | null;
|
|
28
|
-
serializedEditComparisonState: {
|
|
29
|
-
version: number;
|
|
30
|
-
cells: any[];
|
|
31
|
-
markers: any[];
|
|
32
|
-
} | null;
|
|
33
|
-
syncComparisonValueState: () => void;
|
|
34
|
-
updateRowEditSessions: (updater: any) => any;
|
|
35
|
-
};
|
|
1
|
+
/** Owns row-edit synchronization and the persisted comparison/marker state. @param {any} p0 @returns {any} */
|
|
2
|
+
export function useRuntimeEditComparisonState({ comparisonCellCountsRef, comparisonCellEpoch, comparisonCellOriginalValuesRef, comparisonValueState, editedCellEpoch, editedCellMarkersRef, getOptimisticCellKey, normalizeTrackedEventIds, rowEditSessions, rowEditSessionsRef, setComparisonCellEpoch, setComparisonValueState, setEditedCellEpoch, setOptimisticCellEpoch, setRowEditSessions, }: any): any;
|
|
@@ -2,46 +2,5 @@
|
|
|
2
2
|
* Owns edit request preparation and dispatch. Row-editor presentation remains
|
|
3
3
|
* in the interaction stage; this hook owns the client/server transaction
|
|
4
4
|
* boundary, including aggregate-propagation and replacement ownership rules.
|
|
5
|
-
*/
|
|
6
|
-
export function useRuntimeEditDispatch({ applyComparisonValuePlan, applyEditedCellMarkerPlan, buildComparisonValuePlan, buildEditedCellMarkerPlan, captureOptimisticCellValues, comparisonCellOriginalValuesRef, dispatchTransactionRequest, editValueDisplayMode, editingEnabled, findTransactionHistoryEntryByEventId, getOptimisticCellKey, isParentAggregatePropagationEdit, lastPropagationFormulaRef, pendingPropagationUpdatesRef, queueTransactionHistoryRequest, resolveCellEditOwnershipState, rowFields, serverSide, setEditPanelOpen, setEditValueDisplayMode, setPendingPropagationUpdates, setPropagationMethodUI, setPropsRef, showNotification, sortEventIdsByActiveHistory, supportsPatchTransactionRefresh, }:
|
|
7
|
-
applyComparisonValuePlan: any;
|
|
8
|
-
applyEditedCellMarkerPlan: any;
|
|
9
|
-
buildComparisonValuePlan: any;
|
|
10
|
-
buildEditedCellMarkerPlan: any;
|
|
11
|
-
captureOptimisticCellValues: any;
|
|
12
|
-
comparisonCellOriginalValuesRef: any;
|
|
13
|
-
dispatchTransactionRequest: any;
|
|
14
|
-
editValueDisplayMode: any;
|
|
15
|
-
editingEnabled: any;
|
|
16
|
-
findTransactionHistoryEntryByEventId: any;
|
|
17
|
-
getOptimisticCellKey: any;
|
|
18
|
-
isParentAggregatePropagationEdit: any;
|
|
19
|
-
lastPropagationFormulaRef: any;
|
|
20
|
-
pendingPropagationUpdatesRef: any;
|
|
21
|
-
queueTransactionHistoryRequest: any;
|
|
22
|
-
resolveCellEditOwnershipState: any;
|
|
23
|
-
rowFields: any;
|
|
24
|
-
serverSide: any;
|
|
25
|
-
setEditPanelOpen: any;
|
|
26
|
-
setEditValueDisplayMode: any;
|
|
27
|
-
setPendingPropagationUpdates: any;
|
|
28
|
-
setPropagationMethodUI: any;
|
|
29
|
-
setPropsRef: any;
|
|
30
|
-
showNotification: any;
|
|
31
|
-
sortEventIdsByActiveHistory: any;
|
|
32
|
-
supportsPatchTransactionRefresh: any;
|
|
33
|
-
}): {
|
|
34
|
-
analyzeServerEditOwnership: (updates: any) => {
|
|
35
|
-
mode: string;
|
|
36
|
-
targetEventIds: never[];
|
|
37
|
-
reason: any;
|
|
38
|
-
} | {
|
|
39
|
-
mode: string;
|
|
40
|
-
targetEventIds: any;
|
|
41
|
-
reason: null;
|
|
42
|
-
};
|
|
43
|
-
dispatchBatchUpdateRequest: (updates: any, source?: string, meta?: null) => any;
|
|
44
|
-
dispatchInlineCellEdit: (update: any) => void;
|
|
45
|
-
dispatchServerEditUpdates: (updates: any, source?: string, meta?: null) => any;
|
|
46
|
-
resolvePropagationFormulaUpdates: (updates: any, source: any, meta: any) => any[] | null;
|
|
47
|
-
};
|
|
5
|
+
@param {any} p0 @returns {any} */
|
|
6
|
+
export function useRuntimeEditDispatch({ applyComparisonValuePlan, applyEditedCellMarkerPlan, buildComparisonValuePlan, buildEditedCellMarkerPlan, captureOptimisticCellValues, comparisonCellOriginalValuesRef, dispatchTransactionRequest, editValueDisplayMode, editingEnabled, findTransactionHistoryEntryByEventId, getOptimisticCellKey, isParentAggregatePropagationEdit, lastPropagationFormulaRef, pendingPropagationUpdatesRef, queueTransactionHistoryRequest, resolveCellEditOwnershipState, rowFields, serverSide, setEditPanelOpen, setEditValueDisplayMode, setPendingPropagationUpdates, setPropagationMethodUI, setPropsRef, showNotification, sortEventIdsByActiveHistory, supportsPatchTransactionRefresh, }: any): any;
|
|
@@ -2,31 +2,5 @@
|
|
|
2
2
|
* Owns comparison-cell event ownership and server overlay hydration. This is
|
|
3
3
|
* separate from edit dispatch: it only describes which active events own a
|
|
4
4
|
* cell and updates local overlay state from server responses.
|
|
5
|
-
*/
|
|
6
|
-
export function useRuntimeEditOwnership({ bumpComparisonCellEpoch, bumpEditedCellEpoch, comparisonCellCountsRef, comparisonCellOriginalValuesRef, editedCellMarkersRef, getOptimisticCellKey, normalizeTrackedEventIds, resolveCurrentCellValue, splitOptimisticCellKey, syncComparisonValueState, }:
|
|
7
|
-
bumpComparisonCellEpoch: any;
|
|
8
|
-
bumpEditedCellEpoch: any;
|
|
9
|
-
comparisonCellCountsRef: any;
|
|
10
|
-
comparisonCellOriginalValuesRef: any;
|
|
11
|
-
editedCellMarkersRef: any;
|
|
12
|
-
getOptimisticCellKey: any;
|
|
13
|
-
normalizeTrackedEventIds: any;
|
|
14
|
-
resolveCurrentCellValue: any;
|
|
15
|
-
splitOptimisticCellKey: any;
|
|
16
|
-
syncComparisonValueState: any;
|
|
17
|
-
}): {
|
|
18
|
-
appendTrackedEventOwnership: (eventId: any, affectedCells: any) => void;
|
|
19
|
-
detachTrackedEventOwnership: (eventIds: any, options?: {}) => void;
|
|
20
|
-
ensureTrackedComparisonCellEntry: (key: any, fallback?: null) => any;
|
|
21
|
-
hydrateVisibleEditOverlay: (editOverlay: any) => void;
|
|
22
|
-
resolveCellEditOwnershipState: (rowId: any, colId: any) => {
|
|
23
|
-
mode: string;
|
|
24
|
-
targetEventIds: never[];
|
|
25
|
-
reason: string;
|
|
26
|
-
} | {
|
|
27
|
-
mode: string;
|
|
28
|
-
targetEventIds: any[];
|
|
29
|
-
reason: null;
|
|
30
|
-
};
|
|
31
|
-
resolveTrackedCellEventIds: (rowId: any, colId: any, options?: {}) => any[];
|
|
32
|
-
};
|
|
5
|
+
@param {any} p0 @returns {any} */
|
|
6
|
+
export function useRuntimeEditOwnership({ bumpComparisonCellEpoch, bumpEditedCellEpoch, comparisonCellCountsRef, comparisonCellOriginalValuesRef, editedCellMarkersRef, getOptimisticCellKey, normalizeTrackedEventIds, resolveCurrentCellValue, splitOptimisticCellKey, syncComparisonValueState, }: any): any;
|
|
@@ -1,32 +1,2 @@
|
|
|
1
|
-
/** Supplies editable-column metadata and editor presentation from grid state. */
|
|
2
|
-
export function useRuntimeEditPresentation({ editorOptionsLoadingRef, filterOptions, getKey, normalizedEditingConfig, resolveCellEditOwnershipState, resolveColumnEditSpec, resolveEditorOptionsSource, resolveVisibleDataRowId, serverSide, tableDataRef, valConfigs, validationRules, }:
|
|
3
|
-
editorOptionsLoadingRef: any;
|
|
4
|
-
filterOptions: any;
|
|
5
|
-
getKey: any;
|
|
6
|
-
normalizedEditingConfig: any;
|
|
7
|
-
resolveCellEditOwnershipState: any;
|
|
8
|
-
resolveColumnEditSpec: any;
|
|
9
|
-
resolveEditorOptionsSource: any;
|
|
10
|
-
resolveVisibleDataRowId: any;
|
|
11
|
-
serverSide: any;
|
|
12
|
-
tableDataRef: any;
|
|
13
|
-
valConfigs: any;
|
|
14
|
-
validationRules: any;
|
|
15
|
-
}): {
|
|
16
|
-
getDirectVisibleChildRowIds: (ancestorRowId: any) => any;
|
|
17
|
-
isEditableAggregationColumn: (config: any, columnId: any) => boolean;
|
|
18
|
-
resolveAggregationConfigForColumnId: (columnId: any) => {
|
|
19
|
-
field: any;
|
|
20
|
-
agg: any;
|
|
21
|
-
weightField: any;
|
|
22
|
-
windowFn: any;
|
|
23
|
-
} | null;
|
|
24
|
-
resolveEditorPresentation: (rowId: any, columnId: any, columnConfig?: null, currentValue?: undefined, defaultEditable?: boolean) => {
|
|
25
|
-
editorConfig: any;
|
|
26
|
-
options: any;
|
|
27
|
-
loading: boolean;
|
|
28
|
-
optionsKey: any;
|
|
29
|
-
editingDisabled: boolean;
|
|
30
|
-
editingDisabledReason: any;
|
|
31
|
-
} | null;
|
|
32
|
-
};
|
|
1
|
+
/** Supplies editable-column metadata and editor presentation from grid state. @param {any} p0 @returns {any} */
|
|
2
|
+
export function useRuntimeEditPresentation({ editorOptionsLoadingRef, filterOptions, getKey, normalizedEditingConfig, resolveCellEditOwnershipState, resolveColumnEditSpec, resolveEditorOptionsSource, resolveVisibleDataRowId, serverSide, tableDataRef, valConfigs, validationRules, }: any): any;
|