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
|
@@ -2,27 +2,5 @@
|
|
|
2
2
|
* Owns edit-comparison state persistence and rehydration. The state store is
|
|
3
3
|
* intentionally explicit: this hook has no dependency on the legacy runtime
|
|
4
4
|
* record and can be moved behind the editing domain unchanged.
|
|
5
|
-
*/
|
|
6
|
-
export function useRuntimeEditStatePersistence({ editValueDisplayMode, externalEditState, id, loadPersistedState, persistence, propagationLogEpoch, propagationLogRef, restoreSerializedEditComparisonState, savePersistedState, serializedEditComparisonState, setEditValueDisplayMode, setPropagationLogEpoch, setProps, viewState, }:
|
|
7
|
-
editValueDisplayMode: any;
|
|
8
|
-
externalEditState: any;
|
|
9
|
-
id: any;
|
|
10
|
-
loadPersistedState: any;
|
|
11
|
-
persistence: any;
|
|
12
|
-
propagationLogEpoch: any;
|
|
13
|
-
propagationLogRef: any;
|
|
14
|
-
restoreSerializedEditComparisonState: any;
|
|
15
|
-
savePersistedState: any;
|
|
16
|
-
serializedEditComparisonState: any;
|
|
17
|
-
setEditValueDisplayMode: any;
|
|
18
|
-
setPropagationLogEpoch: any;
|
|
19
|
-
setProps: any;
|
|
20
|
-
viewState: any;
|
|
21
|
-
}): {
|
|
22
|
-
didAttemptEditComparisonRestoreRef: import("react").RefObject<boolean>;
|
|
23
|
-
didRestorePersistedEditComparisonRef: import("react").RefObject<boolean>;
|
|
24
|
-
didRestoreEditStateFromPropRef: import("react").RefObject<boolean>;
|
|
25
|
-
editStateSessionKey: string | null;
|
|
26
|
-
lastEmittedEditStateKeyRef: import("react").RefObject<null>;
|
|
27
|
-
lastRestoredViewEditComparisonKeyRef: import("react").RefObject<null>;
|
|
28
|
-
};
|
|
5
|
+
@param {any} p0 @returns {any} */
|
|
6
|
+
export function useRuntimeEditStatePersistence({ editValueDisplayMode, externalEditState, id, loadPersistedState, persistence, propagationLogEpoch, propagationLogRef, restoreSerializedEditComparisonState, savePersistedState, serializedEditComparisonState, setEditValueDisplayMode, setPropagationLogEpoch, setProps, viewState, }: any): any;
|
|
@@ -2,15 +2,15 @@
|
|
|
2
2
|
export function useRuntimeExportState(): {
|
|
3
3
|
COPY_ROW_LIMIT: number;
|
|
4
4
|
EXPORT_ROW_LIMIT: number;
|
|
5
|
-
activeExportRequestIdRef: import("react").
|
|
6
|
-
cancelledExportRequestIdsRef: import("react").
|
|
5
|
+
activeExportRequestIdRef: import("react").MutableRefObject<null>;
|
|
6
|
+
cancelledExportRequestIdsRef: import("react").MutableRefObject<Set<any>>;
|
|
7
7
|
exportProgress: number | import("./runtimeDomains").ExportJobProgress | null;
|
|
8
|
-
exportJobControllerRef: import("react").
|
|
9
|
-
exportRequestSequenceRef: import("react").
|
|
8
|
+
exportJobControllerRef: import("react").MutableRefObject<import("./runtimeDomains").ExportJobController | null>;
|
|
9
|
+
exportRequestSequenceRef: import("react").MutableRefObject<number>;
|
|
10
10
|
isCopying: boolean;
|
|
11
11
|
isExporting: boolean;
|
|
12
12
|
partModal: null;
|
|
13
|
-
pendingCopyIntentRef: import("react").
|
|
13
|
+
pendingCopyIntentRef: import("react").MutableRefObject<null>;
|
|
14
14
|
setExportProgress: import("react").Dispatch<import("react").SetStateAction<number | import("./runtimeDomains").ExportJobProgress | null>>;
|
|
15
15
|
setIsCopying: import("react").Dispatch<import("react").SetStateAction<boolean>>;
|
|
16
16
|
setIsExporting: import("react").Dispatch<import("react").SetStateAction<boolean>>;
|
|
@@ -2,22 +2,5 @@
|
|
|
2
2
|
* Owns filter-popover state transitions and its server option request.
|
|
3
3
|
* The request is emitted as the V1 runtime envelope before it crosses the
|
|
4
4
|
* legacy state-override adapter.
|
|
5
|
-
*/
|
|
6
|
-
export function useRuntimeFilterPopover({ activeFilterCol, dispatchServerSideRuntimeSetProps, filterOptionMeta, filterOptions, pendingServerFilterOptionsRef, serverSide, setActiveFilterCol, setFilterAnchorEl, setFilters, setTransportFilterOptionMetaState, showFilters, }:
|
|
7
|
-
activeFilterCol: any;
|
|
8
|
-
dispatchServerSideRuntimeSetProps: any;
|
|
9
|
-
filterOptionMeta: any;
|
|
10
|
-
filterOptions: any;
|
|
11
|
-
pendingServerFilterOptionsRef: any;
|
|
12
|
-
serverSide: any;
|
|
13
|
-
setActiveFilterCol: any;
|
|
14
|
-
setFilterAnchorEl: any;
|
|
15
|
-
setFilters: any;
|
|
16
|
-
setTransportFilterOptionMetaState: any;
|
|
17
|
-
showFilters: any;
|
|
18
|
-
}): {
|
|
19
|
-
closeFilterPopover: () => void;
|
|
20
|
-
handleFilterClick: (event: any, columnId: any) => void;
|
|
21
|
-
handleHeaderFilter: (columnId: any, filterValue: any) => void;
|
|
22
|
-
requestFilterOptions: (columnId: any, options?: {}) => boolean;
|
|
23
|
-
};
|
|
5
|
+
@param {any} p0 @returns {any} */
|
|
6
|
+
export function useRuntimeFilterPopover({ activeFilterCol, dispatchServerSideRuntimeSetProps, filterOptionMeta, filterOptions, pendingServerFilterOptionsRef, serverSide, setActiveFilterCol, setFilterAnchorEl, setFilters, setTransportFilterOptionMetaState, showFilters, }: any): any;
|
|
@@ -2,43 +2,5 @@
|
|
|
2
2
|
* Owns layout snapshot capture and every mutation that must be undoable as a
|
|
3
3
|
* single layout-history operation. It is intentionally independent of the
|
|
4
4
|
* mutable legacy environment.
|
|
5
|
-
*/
|
|
6
|
-
export function useRuntimeLayoutHistory({ layoutHistorySnapshot, layoutHistorySnapshotRef, normalizedInitialValConfigs, pendingLayoutHistoryCaptureRef, pendingLayoutHistoryCaptureTimeoutRef, pushUnifiedHistoryEntry, setColExpanded, setColFields, setColumnOrder, setPivotLayoutOrder, setPivotPinnedLayoutIds, setColumnPinning, setExpanded, setFilters, setGrandTotalPinOverride, setLayoutMode, setRowFields, setRowPinning, setShowColTotals, setShowRowTotals, setShowSubtotals, setSorting, setValConfigs, }:
|
|
7
|
-
layoutHistorySnapshot: any;
|
|
8
|
-
layoutHistorySnapshotRef: any;
|
|
9
|
-
normalizedInitialValConfigs: any;
|
|
10
|
-
pendingLayoutHistoryCaptureRef: any;
|
|
11
|
-
pendingLayoutHistoryCaptureTimeoutRef: any;
|
|
12
|
-
pushUnifiedHistoryEntry: any;
|
|
13
|
-
setColExpanded: any;
|
|
14
|
-
setColFields: any;
|
|
15
|
-
setColumnOrder: any;
|
|
16
|
-
setPivotLayoutOrder: any;
|
|
17
|
-
setPivotPinnedLayoutIds: any;
|
|
18
|
-
setColumnPinning: any;
|
|
19
|
-
setExpanded: any;
|
|
20
|
-
setFilters: any;
|
|
21
|
-
setGrandTotalPinOverride: any;
|
|
22
|
-
setLayoutMode: any;
|
|
23
|
-
setRowFields: any;
|
|
24
|
-
setRowPinning: any;
|
|
25
|
-
setShowColTotals: any;
|
|
26
|
-
setShowRowTotals: any;
|
|
27
|
-
setShowSubtotals: any;
|
|
28
|
-
setSorting: any;
|
|
29
|
-
setValConfigs: any;
|
|
30
|
-
}): {
|
|
31
|
-
applyLayoutHistorySnapshot: (snapshot: any) => void;
|
|
32
|
-
clearPendingLayoutHistoryCapture: (token?: null) => void;
|
|
33
|
-
pushImmediateLayoutHistoryEntry: (sliceKey: any, updater: any, source: any) => any;
|
|
34
|
-
requestLayoutHistoryCapture: (source?: string) => string;
|
|
35
|
-
setColExpandedWithHistory: (updater: any, source?: string) => void;
|
|
36
|
-
setColFieldsWithHistory: (updater: any, source?: string) => void;
|
|
37
|
-
setColumnOrderWithHistory: (updater: any, source?: string) => void;
|
|
38
|
-
setColumnPinningWithHistory: (updater: any, source?: string) => void;
|
|
39
|
-
setExpandedWithHistory: (updater: any, source?: string) => void;
|
|
40
|
-
setRowFieldsWithHistory: (updater: any, source?: string) => void;
|
|
41
|
-
setRowPinningWithHistory: (updater: any, source?: string) => void;
|
|
42
|
-
setValConfigsWithHistory: (updater: any, source?: string) => void;
|
|
43
|
-
toggleCol: (key: any, source?: string) => void;
|
|
44
|
-
};
|
|
5
|
+
@param {any} p0 @returns {any} */
|
|
6
|
+
export function useRuntimeLayoutHistory({ layoutHistorySnapshot, layoutHistorySnapshotRef, normalizedInitialValConfigs, pendingLayoutHistoryCaptureRef, pendingLayoutHistoryCaptureTimeoutRef, pushUnifiedHistoryEntry, setColExpanded, setColFields, setColumnOrder, setPivotLayoutOrder, setPivotPinnedLayoutIds, setColumnPinning, setExpanded, setFilters, setGrandTotalPinOverride, setLayoutMode, setRowFields, setRowPinning, setShowColTotals, setShowRowTotals, setShowSubtotals, setSorting, setValConfigs, }: any): any;
|
|
@@ -1,27 +1,2 @@
|
|
|
1
|
-
/** Owns optimistic values, request cleanup, and edit-display reset commands. */
|
|
2
|
-
export function useRuntimeOptimisticCellState({ bumpComparisonCellEpoch, bumpEditedCellEpoch, bumpOptimisticCellEpoch, comparisonCellCountsRef, comparisonCellOriginalValuesRef, editedCellMarkersRef, getDirectVisibleChildRowIds, getOptimisticCellKey, optimisticCellRequestsRef, optimisticCellValuesRef, resolveAggregationConfigForColumnId, resolveCurrentCellValue, syncComparisonValueState, }:
|
|
3
|
-
bumpComparisonCellEpoch: any;
|
|
4
|
-
bumpEditedCellEpoch: any;
|
|
5
|
-
bumpOptimisticCellEpoch: any;
|
|
6
|
-
comparisonCellCountsRef: any;
|
|
7
|
-
comparisonCellOriginalValuesRef: any;
|
|
8
|
-
editedCellMarkersRef: any;
|
|
9
|
-
getDirectVisibleChildRowIds: any;
|
|
10
|
-
getOptimisticCellKey: any;
|
|
11
|
-
optimisticCellRequestsRef: any;
|
|
12
|
-
optimisticCellValuesRef: any;
|
|
13
|
-
resolveAggregationConfigForColumnId: any;
|
|
14
|
-
resolveCurrentCellValue: any;
|
|
15
|
-
syncComparisonValueState: any;
|
|
16
|
-
}): {
|
|
17
|
-
captureOptimisticCellValues: (updates: any, requestId: any) => void;
|
|
18
|
-
clearAllComparisonValueState: () => void;
|
|
19
|
-
clearAllEditedCellMarkers: () => void;
|
|
20
|
-
clearAllOptimisticCellValues: () => void;
|
|
21
|
-
clearOptimisticCellValuesForRequest: (requestId: any) => void;
|
|
22
|
-
releaseOptimisticCellRequest: (requestId: any) => void;
|
|
23
|
-
resolveEditedCellMarker: (rowId: any, colId: any) => {
|
|
24
|
-
direct: boolean;
|
|
25
|
-
propagated: boolean;
|
|
26
|
-
} | null;
|
|
27
|
-
};
|
|
1
|
+
/** Owns optimistic values, request cleanup, and edit-display reset commands. @param {any} p0 @returns {any} */
|
|
2
|
+
export function useRuntimeOptimisticCellState({ bumpComparisonCellEpoch, bumpEditedCellEpoch, bumpOptimisticCellEpoch, comparisonCellCountsRef, comparisonCellOriginalValuesRef, editedCellMarkersRef, getDirectVisibleChildRowIds, getOptimisticCellKey, optimisticCellRequestsRef, optimisticCellValuesRef, resolveAggregationConfigForColumnId, resolveCurrentCellValue, syncComparisonValueState, }: any): any;
|
|
@@ -1,79 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Owns runtime identity, request generations, cache-facing refs, and edit
|
|
3
3
|
* overlay state shared by transport, response, and editing domains.
|
|
4
|
-
*/
|
|
5
|
-
export function useRuntimeRequestSession({ dataVersion, id }:
|
|
6
|
-
dataVersion: any;
|
|
7
|
-
id: any;
|
|
8
|
-
}): {
|
|
9
|
-
abortGeneration: number;
|
|
10
|
-
abortGenerationRef: import("react").RefObject<number>;
|
|
11
|
-
activeRuntimePayloadFetchRef: import("react").RefObject<null>;
|
|
12
|
-
clientInstanceRef: import("react").RefObject<string>;
|
|
13
|
-
comparisonCellCountsRef: import("react").RefObject<Map<any, any>>;
|
|
14
|
-
comparisonCellEpoch: number;
|
|
15
|
-
comparisonCellOriginalValuesRef: import("react").RefObject<Map<any, any>>;
|
|
16
|
-
comparisonValueState: {
|
|
17
|
-
activeCount: number;
|
|
18
|
-
};
|
|
19
|
-
deferredViewportRefreshTimeoutRef: import("react").RefObject<null>;
|
|
20
|
-
editPanelOpen: boolean;
|
|
21
|
-
editedCellEpoch: number;
|
|
22
|
-
editedCellMarkersRef: import("react").RefObject<Map<any, any>>;
|
|
23
|
-
editorOptionsLoadingRef: import("react").RefObject<{}>;
|
|
24
|
-
editValueDisplayMode: string;
|
|
25
|
-
expandAllDebounceRef: import("react").RefObject<boolean>;
|
|
26
|
-
lastPropagationFormulaRef: import("react").RefObject<string>;
|
|
27
|
-
latestDataVersionRef: import("react").RefObject<number>;
|
|
28
|
-
latestViewportRef: import("react").RefObject<{
|
|
29
|
-
start: number;
|
|
30
|
-
end: number;
|
|
31
|
-
count: number;
|
|
32
|
-
}>;
|
|
33
|
-
optimisticCellRequestsRef: import("react").RefObject<Map<any, any>>;
|
|
34
|
-
optimisticCellValuesRef: import("react").RefObject<Map<any, any>>;
|
|
35
|
-
pendingColumnSkeletonCount: number;
|
|
36
|
-
pendingDataProfilerCommitRef: import("react").RefObject<null>;
|
|
37
|
-
pendingLayoutHistoryCaptureRef: import("react").RefObject<null>;
|
|
38
|
-
pendingLayoutHistoryCaptureTimeoutRef: import("react").RefObject<null>;
|
|
39
|
-
pendingPropagationUpdates: null;
|
|
40
|
-
pendingPropagationUpdatesRef: import("react").RefObject<null>;
|
|
41
|
-
pendingRowTransitions: Map<any, any>;
|
|
42
|
-
pivotProfilerRef: import("react").RefObject<any>;
|
|
43
|
-
profilerComponentIdRef: import("react").RefObject<any>;
|
|
44
|
-
profilingEnabledRef: import("react").RefObject<boolean>;
|
|
45
|
-
propagationLogEpoch: number;
|
|
46
|
-
propagationLogRef: import("react").RefObject<never[]>;
|
|
47
|
-
propagationMethodUI: string;
|
|
48
|
-
requestUrgentColumnViewportRef: import("react").RefObject<null>;
|
|
49
|
-
requestVersionRef: import("react").RefObject<number>;
|
|
50
|
-
rowEditSessions: {};
|
|
51
|
-
rowEditSessionsRef: import("react").RefObject<{}>;
|
|
52
|
-
runtimeDataError: null;
|
|
53
|
-
sessionIdRef: import("react").RefObject<string>;
|
|
54
|
-
setAbortGeneration: import("react").Dispatch<import("react").SetStateAction<number>>;
|
|
55
|
-
setComparisonCellEpoch: import("react").Dispatch<import("react").SetStateAction<number>>;
|
|
56
|
-
setComparisonValueState: import("react").Dispatch<import("react").SetStateAction<{
|
|
57
|
-
activeCount: number;
|
|
58
|
-
}>>;
|
|
59
|
-
setEditPanelOpen: import("react").Dispatch<import("react").SetStateAction<boolean>>;
|
|
60
|
-
setEditedCellEpoch: import("react").Dispatch<import("react").SetStateAction<number>>;
|
|
61
|
-
setEditValueDisplayMode: import("react").Dispatch<import("react").SetStateAction<string>>;
|
|
62
|
-
setOptimisticCellEpoch: import("react").Dispatch<import("react").SetStateAction<number>>;
|
|
63
|
-
setPendingColumnSkeletonCount: import("react").Dispatch<import("react").SetStateAction<number>>;
|
|
64
|
-
setPendingPropagationUpdates: import("react").Dispatch<import("react").SetStateAction<null>>;
|
|
65
|
-
setPendingRowTransitions: import("react").Dispatch<import("react").SetStateAction<Map<any, any>>>;
|
|
66
|
-
setPropagationLogEpoch: import("react").Dispatch<import("react").SetStateAction<number>>;
|
|
67
|
-
setPropagationMethodUI: import("react").Dispatch<import("react").SetStateAction<string>>;
|
|
68
|
-
setRowEditSessions: import("react").Dispatch<import("react").SetStateAction<{}>>;
|
|
69
|
-
setRuntimeDataError: import("react").Dispatch<import("react").SetStateAction<null>>;
|
|
70
|
-
setStateEpoch: import("react").Dispatch<import("react").SetStateAction<number>>;
|
|
71
|
-
setStructuralInFlight: import("react").Dispatch<import("react").SetStateAction<boolean>>;
|
|
72
|
-
stateEpoch: number;
|
|
73
|
-
stateEpochRef: import("react").RefObject<number>;
|
|
74
|
-
structuralInFlight: boolean;
|
|
75
|
-
structuralPendingVersionRef: import("react").RefObject<null>;
|
|
76
|
-
tableDataRef: import("react").RefObject<never[]>;
|
|
77
|
-
visiblePatchCenterIdsRef: import("react").RefObject<never[]>;
|
|
78
|
-
visiblePatchRowPathsRef: import("react").RefObject<never[]>;
|
|
79
|
-
};
|
|
4
|
+
@param {any} p0 @returns {any} */
|
|
5
|
+
export function useRuntimeRequestSession({ dataVersion, id }: any): any;
|
|
@@ -2,46 +2,5 @@
|
|
|
2
2
|
* Applies one server response exactly once. This transport lifecycle owns data
|
|
3
3
|
* commits, fetched payloads, filter options, exports, charts, and terminal
|
|
4
4
|
* request states; workspace presentation only consumes the resulting models.
|
|
5
|
-
*/
|
|
6
|
-
export function useRuntimeResponseLifecycle({ activeChartRequestRef, activeExportRequestIdRef, activeRuntimePayloadFetchRef, cancelledExportRequestIdsRef, exportJobControllerRef, clearPendingTransactionHistoryRequest, clientInstanceRef, commitRuntimeDataPayload, copyRichToClipboard, emitEditLifecycleEvent, finalizeTransactionHistoryResponse, handledRuntimeResponseKeysRef, layoutAcknowledgedManifestRef, hydrateVisibleEditOverlay, pendingCopyIntentRef, pendingDataProfilerCommitRef, pendingServerFilterOptionsRef, payloadTransport, pivotProfilerRef, profilerComponentIdRef, profilingEnabledRef, reconcileOptimisticCellValuesWithPayload, recordProfilerResponse, requestVersionRef, resolvePendingRequest, runtimePayloadCommitIsCurrent, runtimeResponse, scheduleSilentViewportRefresh, setEditorOptionsLoadingState, setIsCopying, setIsExporting, setPartModal, setRuntimeDataError, setTransportChartDataState, setTransportDataState, setTransportFilterOptionMetaState, setTransportFilterOptionsState, showNotification, stateEpochRef, triggerExportDownload, }:
|
|
7
|
-
activeChartRequestRef: any;
|
|
8
|
-
activeExportRequestIdRef: any;
|
|
9
|
-
activeRuntimePayloadFetchRef: any;
|
|
10
|
-
cancelledExportRequestIdsRef: any;
|
|
11
|
-
exportJobControllerRef: any;
|
|
12
|
-
clearPendingTransactionHistoryRequest: any;
|
|
13
|
-
clientInstanceRef: any;
|
|
14
|
-
commitRuntimeDataPayload: any;
|
|
15
|
-
copyRichToClipboard: any;
|
|
16
|
-
emitEditLifecycleEvent: any;
|
|
17
|
-
finalizeTransactionHistoryResponse: any;
|
|
18
|
-
handledRuntimeResponseKeysRef: any;
|
|
19
|
-
layoutAcknowledgedManifestRef: any;
|
|
20
|
-
hydrateVisibleEditOverlay: any;
|
|
21
|
-
pendingCopyIntentRef: any;
|
|
22
|
-
pendingDataProfilerCommitRef: any;
|
|
23
|
-
pendingServerFilterOptionsRef: any;
|
|
24
|
-
payloadTransport?: import("./httpTransport").RuntimePayloadTransport | undefined;
|
|
25
|
-
pivotProfilerRef: any;
|
|
26
|
-
profilerComponentIdRef: any;
|
|
27
|
-
profilingEnabledRef: any;
|
|
28
|
-
reconcileOptimisticCellValuesWithPayload: any;
|
|
29
|
-
recordProfilerResponse: any;
|
|
30
|
-
requestVersionRef: any;
|
|
31
|
-
resolvePendingRequest: any;
|
|
32
|
-
runtimePayloadCommitIsCurrent: any;
|
|
33
|
-
runtimeResponse: any;
|
|
34
|
-
scheduleSilentViewportRefresh: any;
|
|
35
|
-
setEditorOptionsLoadingState: any;
|
|
36
|
-
setIsCopying: any;
|
|
37
|
-
setIsExporting: any;
|
|
38
|
-
setPartModal: any;
|
|
39
|
-
setRuntimeDataError?: (() => void) | undefined;
|
|
40
|
-
setTransportChartDataState: any;
|
|
41
|
-
setTransportDataState: any;
|
|
42
|
-
setTransportFilterOptionMetaState: any;
|
|
43
|
-
setTransportFilterOptionsState: any;
|
|
44
|
-
showNotification: any;
|
|
45
|
-
stateEpochRef: any;
|
|
46
|
-
triggerExportDownload: any;
|
|
47
|
-
}): void;
|
|
5
|
+
@param {any} p0 @returns {any} */
|
|
6
|
+
export function useRuntimeResponseLifecycle({ activeChartRequestRef, activeExportRequestIdRef, activeRuntimePayloadFetchRef, cancelledExportRequestIdsRef, exportJobControllerRef, clearPendingTransactionHistoryRequest, clientInstanceRef, commitRuntimeDataPayload, copyRichToClipboard, emitEditLifecycleEvent, finalizeTransactionHistoryResponse, handledRuntimeResponseKeysRef, layoutAcknowledgedManifestRef, hydrateVisibleEditOverlay, pendingCopyIntentRef, pendingDataProfilerCommitRef, pendingServerFilterOptionsRef, payloadTransport, pivotProfilerRef, profilerComponentIdRef, profilingEnabledRef, reconcileOptimisticCellValuesWithPayload, recordProfilerResponse, requestVersionRef, resolvePendingRequest, runtimePayloadCommitIsCurrent, runtimeResponse, scheduleSilentViewportRefresh, setEditorOptionsLoadingState, setIsCopying, setIsExporting, setPartModal, setRuntimeDataError, setTransportChartDataState, setTransportDataState, setTransportFilterOptionMetaState, setTransportFilterOptionsState, showNotification, stateEpochRef, triggerExportDownload, }: any): any;
|
|
@@ -1,15 +1,2 @@
|
|
|
1
|
-
/** Keeps chart payload hydration and data-commit profiling with transport. */
|
|
2
|
-
export function useRuntimeResponsePostCommit({ activeChartRequestRef, chartData, completedChartRequestSignaturesRef, dataOffset, dataVersion, pendingDataProfilerCommitRef, pivotProfilerRef, profilerComponentIdRef, profilingEnabledRef, responseColumns, rowCount, setChartPaneDataById, }:
|
|
3
|
-
activeChartRequestRef: any;
|
|
4
|
-
chartData: any;
|
|
5
|
-
completedChartRequestSignaturesRef: any;
|
|
6
|
-
dataOffset: any;
|
|
7
|
-
dataVersion: any;
|
|
8
|
-
pendingDataProfilerCommitRef: any;
|
|
9
|
-
pivotProfilerRef: any;
|
|
10
|
-
profilerComponentIdRef: any;
|
|
11
|
-
profilingEnabledRef: any;
|
|
12
|
-
responseColumns: any;
|
|
13
|
-
rowCount: any;
|
|
14
|
-
setChartPaneDataById: any;
|
|
15
|
-
}): void;
|
|
1
|
+
/** Keeps chart payload hydration and data-commit profiling with transport. @param {any} p0 @returns {any} */
|
|
2
|
+
export function useRuntimeResponsePostCommit({ activeChartRequestRef, chartData, completedChartRequestSignaturesRef, dataOffset, dataVersion, pendingDataProfilerCommitRef, pivotProfilerRef, profilerComponentIdRef, profilingEnabledRef, responseColumns, rowCount, setChartPaneDataById, }: any): any;
|
|
@@ -1,28 +1,2 @@
|
|
|
1
|
-
/** Owns local row-edit session creation, validation, and cancellation. */
|
|
2
|
-
export function useRuntimeRowEditSessions({ emitEditLifecycleEvent, isEditableAggregationColumn, resolveAggregationConfigForColumnId, resolveCurrentCellValue, resolveEditorPresentation, showNotification, tableRef, updateRowEditSessions, rowEditSessionsRef, }:
|
|
3
|
-
emitEditLifecycleEvent: any;
|
|
4
|
-
isEditableAggregationColumn: any;
|
|
5
|
-
resolveAggregationConfigForColumnId: any;
|
|
6
|
-
resolveCurrentCellValue: any;
|
|
7
|
-
resolveEditorPresentation: any;
|
|
8
|
-
showNotification: any;
|
|
9
|
-
tableRef: any;
|
|
10
|
-
updateRowEditSessions: any;
|
|
11
|
-
rowEditSessionsRef: any;
|
|
12
|
-
}): {
|
|
13
|
-
cancelRowEditSession: (rowId: any) => void;
|
|
14
|
-
closeRowEditSession: (rowId: any) => void;
|
|
15
|
-
getRowEditMeta: (row: any) => {
|
|
16
|
-
rowId: string | null;
|
|
17
|
-
session: any;
|
|
18
|
-
canEdit: boolean;
|
|
19
|
-
dirtyCount: number;
|
|
20
|
-
errorCount: number;
|
|
21
|
-
saving: boolean;
|
|
22
|
-
};
|
|
23
|
-
getRowEditSession: (rowId: any) => any;
|
|
24
|
-
handleBlockedCellEdit: (payload: any) => void;
|
|
25
|
-
resolveRowEditableColumns: (row: any) => any;
|
|
26
|
-
startRowEditSession: (row: any, options?: {}) => void;
|
|
27
|
-
updateRowDraftValue: (rowId: any, colId: any, nextValue: any, meta?: {}) => void;
|
|
28
|
-
};
|
|
1
|
+
/** Owns local row-edit session creation, validation, and cancellation. @param {any} p0 @returns {any} */
|
|
2
|
+
export function useRuntimeRowEditSessions({ emitEditLifecycleEvent, isEditableAggregationColumn, resolveAggregationConfigForColumnId, resolveCurrentCellValue, resolveEditorPresentation, showNotification, tableRef, updateRowEditSessions, rowEditSessionsRef, }: any): any;
|
|
@@ -1,18 +1,2 @@
|
|
|
1
|
-
/** Owns row-edit session validation, dispatch, and row-action presentation. */
|
|
2
|
-
export function useRuntimeRowEditing({ Icons, cancelRowEditSession, closeRowEditSession, dispatchBatchUpdateRequest, emitEditLifecycleEvent, getRowEditMeta, normalizedEditingConfig, rowEditSessionsRef, serverSide, theme, updateRowEditSessions, validateEditorValue, }:
|
|
3
|
-
Icons: any;
|
|
4
|
-
cancelRowEditSession: any;
|
|
5
|
-
closeRowEditSession: any;
|
|
6
|
-
dispatchBatchUpdateRequest: any;
|
|
7
|
-
emitEditLifecycleEvent: any;
|
|
8
|
-
getRowEditMeta: any;
|
|
9
|
-
normalizedEditingConfig: any;
|
|
10
|
-
rowEditSessionsRef: any;
|
|
11
|
-
serverSide: any;
|
|
12
|
-
theme: any;
|
|
13
|
-
updateRowEditSessions: any;
|
|
14
|
-
validateEditorValue: any;
|
|
15
|
-
}): {
|
|
16
|
-
renderRowEditActions: (row: any) => import("react").JSX.Element | null;
|
|
17
|
-
saveRowEditSession: (rowId: any) => void;
|
|
18
|
-
};
|
|
1
|
+
/** Owns row-edit session validation, dispatch, and row-action presentation. @param {any} p0 @returns {any} */
|
|
2
|
+
export function useRuntimeRowEditing({ Icons, cancelRowEditSession, closeRowEditSession, dispatchBatchUpdateRequest, emitEditLifecycleEvent, getRowEditMeta, normalizedEditingConfig, rowEditSessionsRef, serverSide, theme, updateRowEditSessions, validateEditorValue, }: any): any;
|
|
@@ -1,14 +1,2 @@
|
|
|
1
|
-
/** Owns row-oriented selection and its document-level completion handler. */
|
|
2
|
-
export function useRuntimeRowSelection({ getDisplayRows, lastSelected, resolveDisplayRowIndex, setIsRowSelecting, setLastSelected, setRowDragStart, setSelectedCells, tableRef, }:
|
|
3
|
-
getDisplayRows: any;
|
|
4
|
-
lastSelected: any;
|
|
5
|
-
resolveDisplayRowIndex: any;
|
|
6
|
-
setIsRowSelecting: any;
|
|
7
|
-
setLastSelected: any;
|
|
8
|
-
setRowDragStart: any;
|
|
9
|
-
setSelectedCells: any;
|
|
10
|
-
tableRef: any;
|
|
11
|
-
}): {
|
|
12
|
-
handleRowRangeSelect: (startIdx: any, endIdx: any) => void;
|
|
13
|
-
handleRowSelect: (row: any, isShift: any, isCtrl: any) => void;
|
|
14
|
-
};
|
|
1
|
+
/** Owns row-oriented selection and its document-level completion handler. @param {any} p0 @returns {any} */
|
|
2
|
+
export function useRuntimeRowSelection({ getDisplayRows, lastSelected, resolveDisplayRowIndex, setIsRowSelecting, setLastSelected, setRowDragStart, setSelectedCells, tableRef, }: any): any;
|
|
@@ -4,33 +4,5 @@
|
|
|
4
4
|
* It exposes explicit selection capabilities to both the interaction layer
|
|
5
5
|
* and the clipboard/export presentation instead of making either domain read
|
|
6
6
|
* the mutable legacy runtime record.
|
|
7
|
-
*/
|
|
8
|
-
export function useRuntimeSelectionFormatting({ getDisplayRows, maxAutoSizeSampleRows, normalizedInitialValConfigs, selectedCells, setColorScaleMode, setDataBarsColumns, setValConfigs, showNotification, table, valConfigs, }:
|
|
9
|
-
getDisplayRows: any;
|
|
10
|
-
maxAutoSizeSampleRows: any;
|
|
11
|
-
normalizedInitialValConfigs: any;
|
|
12
|
-
selectedCells: any;
|
|
13
|
-
setColorScaleMode: any;
|
|
14
|
-
setDataBarsColumns: any;
|
|
15
|
-
setValConfigs: any;
|
|
16
|
-
showNotification: any;
|
|
17
|
-
table: any;
|
|
18
|
-
valConfigs: any;
|
|
19
|
-
}): {
|
|
20
|
-
applyDataBarsFromSelection: (selectionMap: any, mode?: string) => void;
|
|
21
|
-
applyFormatToSelection: (selectionMap: any, formatOverride?: null) => void;
|
|
22
|
-
applySelectionValueFormat: (formatOverride: any) => void;
|
|
23
|
-
canApplySelectionValueFormat: boolean;
|
|
24
|
-
getAutoSizeSampleRows: (rows: any) => any[];
|
|
25
|
-
getCurrentFormatForSelection: (selectionMap: any) => any;
|
|
26
|
-
getDefaultFormatForSelection: (selectionMap: any) => any;
|
|
27
|
-
getDisplayHeaderTextForColumn: (column: any) => any;
|
|
28
|
-
getDisplayHeaderTextStackForColumn: (column: any) => any[];
|
|
29
|
-
getSelectedColumnIds: (selectionMap?: any) => any[];
|
|
30
|
-
getSelectedData: (withHeaders?: boolean, selectionMap?: any) => string | null;
|
|
31
|
-
getSelectedMeasureIndexes: (selectedColumnIds: any) => any[];
|
|
32
|
-
hasSelectionKey: (selectionMap: any, selectionKey: any) => boolean;
|
|
33
|
-
matchesSelectedColumnToValueConfig: (colId: any, config: any) => boolean;
|
|
34
|
-
selectedValueColumnIds: any[];
|
|
35
|
-
selectionValueFormat: any;
|
|
36
|
-
};
|
|
7
|
+
@param {any} p0 @returns {any} */
|
|
8
|
+
export function useRuntimeSelectionFormatting({ getDisplayRows, maxAutoSizeSampleRows, normalizedInitialValConfigs, selectedCells, setColorScaleMode, setDataBarsColumns, setValConfigs, showNotification, table, valConfigs, }: any): any;
|
|
@@ -2,64 +2,5 @@
|
|
|
2
2
|
* Synchronizes structural grid state with Dash and starts the corresponding
|
|
3
3
|
* server-side data request. The three request paths are explicit: local UI,
|
|
4
4
|
* hierarchy expansion, and cache-invalidating structural changes.
|
|
5
|
-
*/
|
|
6
|
-
export function useRuntimeStructuralSync({ actions: { beginExpansionRequest, beginStructuralTransaction, buildRuntimeRequestStateOverride, buildLayoutRequestFields, markRequestPending, resolveStableRequestedColumnWindow, setPendingColumnSkeletonCount, }, refs: { abortGenerationRef, clientInstanceRef, expansionScrollRestoreRafRef, expansionScrollRestoreRef, latestDataVersionRef, latestRequestedViewportRef, latestViewportRef, needsColSchemaRef, parentRef, pendingExpansionRef, sessionIdRef, setPropsRef, }, state: { clientEngine, clientRuntimeActive, colFields, columnOrder, columnPinning, columnSizing, columnVisibility, customDimensions, detailConfig, detailMode, effectiveSortOptions, executionMode, expanded, filters, grandTotalPinOverride, immersiveMode, layoutMode, reportDef, rowFields, rowPinning, runtimeMeasureAxis, serverSide, serverSideBlockSize, serverSidePinsGrandTotal, showColTotals, showRowTotals, showSubtotals, sorting, tableName, treeConfig, valConfigs, viewMode, }, initialState, }:
|
|
7
|
-
actions: {
|
|
8
|
-
beginExpansionRequest: any;
|
|
9
|
-
beginStructuralTransaction: any;
|
|
10
|
-
buildRuntimeRequestStateOverride: any;
|
|
11
|
-
buildLayoutRequestFields: any;
|
|
12
|
-
markRequestPending: any;
|
|
13
|
-
resolveStableRequestedColumnWindow: any;
|
|
14
|
-
setPendingColumnSkeletonCount: any;
|
|
15
|
-
};
|
|
16
|
-
refs: {
|
|
17
|
-
abortGenerationRef: any;
|
|
18
|
-
clientInstanceRef: any;
|
|
19
|
-
expansionScrollRestoreRafRef: any;
|
|
20
|
-
expansionScrollRestoreRef: any;
|
|
21
|
-
latestDataVersionRef: any;
|
|
22
|
-
latestRequestedViewportRef: any;
|
|
23
|
-
latestViewportRef: any;
|
|
24
|
-
needsColSchemaRef: any;
|
|
25
|
-
parentRef: any;
|
|
26
|
-
pendingExpansionRef: any;
|
|
27
|
-
sessionIdRef: any;
|
|
28
|
-
setPropsRef: any;
|
|
29
|
-
};
|
|
30
|
-
state: {
|
|
31
|
-
clientEngine: any;
|
|
32
|
-
clientRuntimeActive: any;
|
|
33
|
-
colFields: any;
|
|
34
|
-
columnOrder: any;
|
|
35
|
-
columnPinning: any;
|
|
36
|
-
columnSizing: any;
|
|
37
|
-
columnVisibility: any;
|
|
38
|
-
customDimensions: any;
|
|
39
|
-
detailConfig: any;
|
|
40
|
-
detailMode: any;
|
|
41
|
-
effectiveSortOptions: any;
|
|
42
|
-
executionMode: any;
|
|
43
|
-
expanded: any;
|
|
44
|
-
filters: any;
|
|
45
|
-
grandTotalPinOverride: any;
|
|
46
|
-
immersiveMode: any;
|
|
47
|
-
layoutMode: any;
|
|
48
|
-
reportDef: any;
|
|
49
|
-
rowFields: any;
|
|
50
|
-
rowPinning: any;
|
|
51
|
-
runtimeMeasureAxis: any;
|
|
52
|
-
serverSide: any;
|
|
53
|
-
serverSideBlockSize: any;
|
|
54
|
-
serverSidePinsGrandTotal: any;
|
|
55
|
-
showColTotals: any;
|
|
56
|
-
showRowTotals: any;
|
|
57
|
-
showSubtotals: any;
|
|
58
|
-
sorting: any;
|
|
59
|
-
tableName: any;
|
|
60
|
-
treeConfig: any;
|
|
61
|
-
valConfigs: any;
|
|
62
|
-
viewMode: any;
|
|
63
|
-
};
|
|
64
|
-
initialState: any;
|
|
65
|
-
}): void;
|
|
5
|
+
@param {any} p0 @returns {any} */
|
|
6
|
+
export function useRuntimeStructuralSync({ actions: { beginExpansionRequest, beginStructuralTransaction, buildRuntimeRequestStateOverride, buildLayoutRequestFields, markRequestPending, resolveStableRequestedColumnWindow, setPendingColumnSkeletonCount, }, refs: { abortGenerationRef, clientInstanceRef, expansionScrollRestoreRafRef, expansionScrollRestoreRef, latestDataVersionRef, latestRequestedViewportRef, latestViewportRef, needsColSchemaRef, parentRef, pendingExpansionRef, sessionIdRef, setPropsRef, }, state: { clientEngine, clientRuntimeActive, colFields, columnOrder, columnPinning, columnSizing, columnVisibility, customDimensions, detailConfig, detailMode, effectiveSortOptions, executionMode, expanded, filters, grandTotalPinOverride, immersiveMode, layoutMode, reportDef, rowFields, rowPinning, runtimeMeasureAxis, serverSide, serverSideBlockSize, serverSidePinsGrandTotal, showColTotals, showRowTotals, showSubtotals, groupAllowUnbalanced, unbalancedValues, showGrandTotal, sorting, tableName, treeConfig, valConfigs, viewMode, }, initialState, }: any): any;
|
|
@@ -2,8 +2,5 @@
|
|
|
2
2
|
* Applies a persisted workspace scroll position once the viewport owns a DOM
|
|
3
3
|
* scroll container. Setup restores serializable state; this hook restores the
|
|
4
4
|
* DOM-only part of that state at the boundary that owns the DOM ref.
|
|
5
|
-
*/
|
|
6
|
-
export function useRuntimeViewRestoreScroll({ parentRef, viewState }:
|
|
7
|
-
parentRef: any;
|
|
8
|
-
viewState: any;
|
|
9
|
-
}): void;
|
|
5
|
+
@param {any} p0 @returns {any} */
|
|
6
|
+
export function useRuntimeViewRestoreScroll({ parentRef, viewState }: any): any;
|