@kanunilabs/pivotgrid-core 1.10.0 → 1.11.0
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/dist/index.cjs +13 -13
- package/dist/index.d.cts +115 -12
- package/dist/index.d.ts +115 -12
- package/dist/index.js +13 -13
- package/dist/pivot.worker.cjs +1 -1
- package/dist/pivot.worker.js +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -91,6 +91,7 @@ interface PivotDictionary {
|
|
|
91
91
|
avg: string;
|
|
92
92
|
min: string;
|
|
93
93
|
max: string;
|
|
94
|
+
distinct: string;
|
|
94
95
|
grandTotal: string;
|
|
95
96
|
subTotal: string;
|
|
96
97
|
absoluteValue: string;
|
|
@@ -146,20 +147,12 @@ interface PivotDictionary {
|
|
|
146
147
|
opNotContains: string;
|
|
147
148
|
opStartsWith: string;
|
|
148
149
|
opEndsWith: string;
|
|
149
|
-
opIsBlank: string;
|
|
150
|
-
opIsNotBlank: string;
|
|
151
150
|
/** Value filter `between` / `notBetween` (G-PIV-03); `opBetween` is the DataGrid's own string. */
|
|
152
151
|
opBetween: string;
|
|
153
152
|
opNotBetween: string;
|
|
154
153
|
/** The field menu item and dialog title for value / label filters (G-PIV-03). */
|
|
155
154
|
conditionFilter: string;
|
|
156
155
|
/** Prefilter builder chrome (#210) — shared with DataGrid. */
|
|
157
|
-
builderCombine: string;
|
|
158
|
-
builderAddCondition: string;
|
|
159
|
-
builderAddGroup: string;
|
|
160
|
-
builderRemoveGroup: string;
|
|
161
|
-
builderRemoveCondition: string;
|
|
162
|
-
builderEmpty: string;
|
|
163
156
|
builderValuePlaceholder: string;
|
|
164
157
|
/** PDF export header (#215). */
|
|
165
158
|
exportGeneratedOn: string;
|
|
@@ -1612,7 +1605,11 @@ declare function resolveConditionalVisual(value: number | undefined, field: Pivo
|
|
|
1612
1605
|
type ExportFormat = 'excel-list' | 'excel-pivot' | 'pdf' | 'json' | 'json-pivot' | 'json-snapshot' | 'xml' | 'csv' | 'print' | 'clipboard';
|
|
1613
1606
|
/** Options passed to the export pipeline — all fields optional for backward compat. */
|
|
1614
1607
|
interface ExportOptions {
|
|
1615
|
-
/**
|
|
1608
|
+
/**
|
|
1609
|
+
* Export only the rows the filters keep (field filters and the prefilter).
|
|
1610
|
+
* Default `true`; `false` writes every source row. Before 2026-10-15 the
|
|
1611
|
+
* default was `false`.
|
|
1612
|
+
*/
|
|
1616
1613
|
applyFilters?: boolean;
|
|
1617
1614
|
/** Custom file name (without extension). */
|
|
1618
1615
|
fileName?: string;
|
|
@@ -1969,8 +1966,21 @@ interface PivotStateStoringConfig {
|
|
|
1969
1966
|
enabled: boolean;
|
|
1970
1967
|
type?: 'localStorage' | 'sessionStorage' | 'custom';
|
|
1971
1968
|
storageKey?: string;
|
|
1969
|
+
/** `custom`: called (debounced) with the state to keep — the shape `getPersistedState` returns. */
|
|
1972
1970
|
onSave?: (state: any) => void;
|
|
1971
|
+
/**
|
|
1972
|
+
* `custom`: the stored state, or a Promise of it (IndexedDB, a server). A
|
|
1973
|
+
* Promise is applied when it resolves; nothing is saved until then, so the
|
|
1974
|
+
* default layout the grid starts on never overwrites the stored one. To
|
|
1975
|
+
* open on the stored layout with no visible switch, read it before mounting
|
|
1976
|
+
* and return it synchronously.
|
|
1977
|
+
*/
|
|
1973
1978
|
onLoad?: () => any;
|
|
1979
|
+
/**
|
|
1980
|
+
* Session state to keep as well — none by default. `'scroll'`: where the
|
|
1981
|
+
* body was scrolled, put back once the restored pivot is drawn.
|
|
1982
|
+
*/
|
|
1983
|
+
include?: readonly 'scroll'[];
|
|
1974
1984
|
}
|
|
1975
1985
|
interface PivotToolbarConfig {
|
|
1976
1986
|
showSaveReport?: boolean;
|
|
@@ -2371,16 +2381,40 @@ type PivotStateListener = () => void;
|
|
|
2371
2381
|
* documented on the features page as "persist to your own backend" was a hook
|
|
2372
2382
|
* that nothing ever called.
|
|
2373
2383
|
*/
|
|
2374
|
-
/**
|
|
2384
|
+
/**
|
|
2385
|
+
* The version of `PersistedPivotState`. A saved state carrying another one is
|
|
2386
|
+
* not read — the grid opens with its default layout, no error. A state saved
|
|
2387
|
+
* before versions existed has none and is read as version 1.
|
|
2388
|
+
*/
|
|
2389
|
+
declare const PIVOT_STATE_VERSION = 1;
|
|
2390
|
+
/**
|
|
2391
|
+
* What goes in and out of storage — and what `getPersistedState` returns and
|
|
2392
|
+
* `applyPersistedState` takes. Plain JSON: store it anywhere.
|
|
2393
|
+
*/
|
|
2375
2394
|
interface PersistedPivotState {
|
|
2395
|
+
version?: number;
|
|
2376
2396
|
fields?: unknown[];
|
|
2377
2397
|
layout?: Partial<PivotLayoutState>;
|
|
2378
2398
|
columnWidths?: Record<string, number>;
|
|
2379
2399
|
expandedPaths?: string[];
|
|
2380
2400
|
expandedColPaths?: string[];
|
|
2401
|
+
/**
|
|
2402
|
+
* State kept by layers above the core, by name (`registerReportStatePart`):
|
|
2403
|
+
* the Enterprise chart panel keeps its chart under `chart`, and an app can
|
|
2404
|
+
* register its own chart or panel the same way.
|
|
2405
|
+
*/
|
|
2406
|
+
parts?: Record<string, unknown>;
|
|
2407
|
+
/** SESSION state, only when asked for (`include: ['scroll']`): the body's scroll offsets. */
|
|
2408
|
+
scroll?: {
|
|
2409
|
+
top: number;
|
|
2410
|
+
left: number;
|
|
2411
|
+
};
|
|
2381
2412
|
}
|
|
2413
|
+
/** Session parts a snapshot leaves out unless asked: `'scroll'`. */
|
|
2414
|
+
type PivotStateSession = 'scroll';
|
|
2382
2415
|
interface PivotStatePersistence {
|
|
2383
|
-
|
|
2416
|
+
/** May be a Promise (IndexedDB, a server); the grid applies it when it resolves. */
|
|
2417
|
+
load(): PersistedPivotState | null | Promise<PersistedPivotState | null>;
|
|
2384
2418
|
save(state: PersistedPivotState): void;
|
|
2385
2419
|
}
|
|
2386
2420
|
/** Immutable-snapshot state store with debounced persistence. */
|
|
@@ -2390,6 +2424,27 @@ declare class PivotStateStore<TRow> {
|
|
|
2390
2424
|
private storageKey;
|
|
2391
2425
|
private persistScheduled;
|
|
2392
2426
|
private persistence;
|
|
2427
|
+
/**
|
|
2428
|
+
* The stored state, while an asynchronous `onLoad` is still reading it. No
|
|
2429
|
+
* save happens meanwhile: the grid starts on its default layout, and writing
|
|
2430
|
+
* that would overwrite the very state being loaded.
|
|
2431
|
+
*/
|
|
2432
|
+
pendingLoad: Promise<PersistedPivotState | null> | null;
|
|
2433
|
+
private readonly initialFields;
|
|
2434
|
+
/**
|
|
2435
|
+
* What lives outside the store but is saved with it — the controller's
|
|
2436
|
+
* registered parts and the reported scroll. Set by the controller.
|
|
2437
|
+
*/
|
|
2438
|
+
extras: {
|
|
2439
|
+
parts?: () => Record<string, unknown> | undefined;
|
|
2440
|
+
scroll?: () => {
|
|
2441
|
+
top: number;
|
|
2442
|
+
left: number;
|
|
2443
|
+
};
|
|
2444
|
+
include?: readonly PivotStateSession[];
|
|
2445
|
+
};
|
|
2446
|
+
/** Parts and scroll read at construction, for the controller to hand on. */
|
|
2447
|
+
loadedExtras: Pick<PersistedPivotState, 'parts' | 'scroll'> | null;
|
|
2393
2448
|
constructor(gridId: string, initialFields: PivotField<TRow>[], persistence?: PivotStatePersistence);
|
|
2394
2449
|
getSnapshot: () => PivotControllerState<TRow>;
|
|
2395
2450
|
subscribe: (listener: PivotStateListener) => (() => void);
|
|
@@ -2402,6 +2457,14 @@ declare class PivotStateStore<TRow> {
|
|
|
2402
2457
|
setImportStatus(importStatus: PivotImportStatus): void;
|
|
2403
2458
|
setImportPreview(importPreview: PivotControllerState<TRow>['importPreview']): void;
|
|
2404
2459
|
private createInitialSnapshot;
|
|
2460
|
+
/** A stored state as snapshot parts, or null when this build cannot read it. */
|
|
2461
|
+
private revive;
|
|
2462
|
+
/** Apply a stored state; its parts and scroll are returned for the controller. Null when it cannot be read. */
|
|
2463
|
+
applyPersisted(state: unknown): Pick<PersistedPivotState, 'parts' | 'scroll'> | null;
|
|
2464
|
+
/** The state as it is stored: JSON-safe, versioned. `include` adds session parts. */
|
|
2465
|
+
serialize(include?: readonly PivotStateSession[]): PersistedPivotState;
|
|
2466
|
+
/** Something saved with the state changed outside the store (a part, the scroll). */
|
|
2467
|
+
requestPersist(): void;
|
|
2405
2468
|
private schedulePersist;
|
|
2406
2469
|
/**
|
|
2407
2470
|
* Write a pending save NOW. The controller calls it on dispose: the write
|
|
@@ -2432,6 +2495,11 @@ interface PivotControllerEvents<TRow> {
|
|
|
2432
2495
|
chartOpened: PivotChartOpenedEvent;
|
|
2433
2496
|
chartChanged: PivotChartChangedEvent;
|
|
2434
2497
|
chartClosed: PivotChartClosedEvent;
|
|
2498
|
+
/** A restored state asks the renderer to scroll its body here (see `getPersistedState`). */
|
|
2499
|
+
scrollRequested: {
|
|
2500
|
+
top: number;
|
|
2501
|
+
left: number;
|
|
2502
|
+
};
|
|
2435
2503
|
}
|
|
2436
2504
|
interface PivotImportLabels {
|
|
2437
2505
|
initializing: string;
|
|
@@ -2469,6 +2537,8 @@ declare class PivotController<TRow> {
|
|
|
2469
2537
|
/** Full row set of a parsed import awaiting preview commit (kept out of observable state). */
|
|
2470
2538
|
private pendingImportRows;
|
|
2471
2539
|
private disposed;
|
|
2540
|
+
/** The body's scroll offsets, as the renderer last reported them. */
|
|
2541
|
+
private lastScroll;
|
|
2472
2542
|
/** `applyTransactionAsync`: the batch waiting for its window, and who to tell. */
|
|
2473
2543
|
private asyncQueue;
|
|
2474
2544
|
private asyncCallbacks;
|
|
@@ -2481,6 +2551,36 @@ declare class PivotController<TRow> {
|
|
|
2481
2551
|
*/
|
|
2482
2552
|
private externalData;
|
|
2483
2553
|
constructor(options: PivotControllerOptions<TRow>);
|
|
2554
|
+
/**
|
|
2555
|
+
* Everything the reader arranged, as plain JSON — fields and their areas,
|
|
2556
|
+
* order, sorting, filters, summaries and calculated fields; totals, layout
|
|
2557
|
+
* options and the chart type; open members; column widths — with a
|
|
2558
|
+
* `version`. What `stateStoring` saves; keep it anywhere and hand it back to
|
|
2559
|
+
* `applyPersistedState`.
|
|
2560
|
+
*/
|
|
2561
|
+
getPersistedState(options?: {
|
|
2562
|
+
include?: readonly 'scroll'[];
|
|
2563
|
+
}): PersistedPivotState;
|
|
2564
|
+
/**
|
|
2565
|
+
* Where the renderer's body is scrolled — both renderers report it, so a
|
|
2566
|
+
* snapshot with `include: ['scroll']` can carry it.
|
|
2567
|
+
*/
|
|
2568
|
+
reportScroll(top: number, left: number): void;
|
|
2569
|
+
/**
|
|
2570
|
+
* A part registered with `registerReportStatePart` changed: save it with the
|
|
2571
|
+
* state (`stateStoring`). The Enterprise chart panel's changes do this by
|
|
2572
|
+
* themselves.
|
|
2573
|
+
*/
|
|
2574
|
+
notifyStatePartChanged(): void;
|
|
2575
|
+
/** Hand a restored state's parts to their owners and ask for its scroll. */
|
|
2576
|
+
private takeExtras;
|
|
2577
|
+
/**
|
|
2578
|
+
* Put a `getPersistedState` snapshot back. Fields the app no longer has are
|
|
2579
|
+
* dropped (calculated fields the reader made stay); fields the app added
|
|
2580
|
+
* since join as it defines them. Returns false and changes nothing when the
|
|
2581
|
+
* snapshot cannot be read — another `version`, or not a state at all.
|
|
2582
|
+
*/
|
|
2583
|
+
applyPersistedState(state: unknown): boolean;
|
|
2484
2584
|
subscribe: (listener: PivotStateListener) => (() => void);
|
|
2485
2585
|
getSnapshot: () => PivotControllerState<TRow>;
|
|
2486
2586
|
getState(): PivotControllerState<TRow>;
|
|
@@ -2705,6 +2805,9 @@ declare class PivotController<TRow> {
|
|
|
2705
2805
|
private collectNodePaths;
|
|
2706
2806
|
}
|
|
2707
2807
|
|
|
2808
|
+
/** Wire `root`'s body scroller to `controller`. Returns the unbind function. */
|
|
2809
|
+
declare function bindPivotScrollMemory(root: HTMLElement, controller: PivotController<any>): () => void;
|
|
2810
|
+
|
|
2708
2811
|
interface PivotEngineServiceConfig<TRow> {
|
|
2709
2812
|
getOptions: () => PivotControllerOptions<TRow>;
|
|
2710
2813
|
getState: () => PivotControllerState<TRow>;
|
|
@@ -3675,4 +3778,4 @@ declare function rollupInMemory<TRow>(rows: readonly TRow[], request: PivotServe
|
|
|
3675
3778
|
/** Every value of a field in rows held in memory — the reference `loadFieldValues`. */
|
|
3676
3779
|
declare function fieldValuesInMemory<TRow>(rows: readonly TRow[], field: PivotServerField): unknown[];
|
|
3677
3780
|
|
|
3678
|
-
export { type AdvancedExportRequest, type AdvancedExporter, CHART_LEGEND_POSITIONS, CHART_PALETTE_NAMES, type CalculatedFieldTextKey, type CellClickEvent, type CellPreparedEvent, type CellType, type ChartCategoryKeyAction, type ChartFont, type ChartFormat, type ChartGridLines, type ChartImageRequest, type ChartKeyTextKey, type ChartLabelAngle, type ChartLegendPosition, type ChartMark, type ChartPaletteName, type ChartStacking, type ChartStyle, type ChartStyleDefaults, type ColHeaderCell, type ColumnSlot, type ColumnSlotOptions, type ConditionalVisual, type CsvParseProgress, CsvReader, type CustomSummaryOptions, DEFAULT_DATA_COLUMN_WIDTH, DEFAULT_ROW_HEADER_WIDTH, DataNormalizer, type DateFormatContext, DateFormatter, type DateGranularity, type DimensionFieldInfo, type DrillDownTextKey, type DropIntent, type ExportFormat, type ExportOptions, ExportStreamController, type ExportingEvent, FastTrie, type FieldDistinctEntry, type FieldMoveEvent, type FilterCondition, type FilterGroup, type FilterOperator, type FlatCellMatrix, FlatPivotEngine, type FlatRow, type FloatingFrame, type FrameRect, type FrameSize, type FunnelStage, type HeaderFilterOption, type HeaderFilterState, type HeaderFilterWrite, type HistogramBin, type IFileReader, type ImportFormat, ImportManager, type ImportManagerOptions, type ImportProgress, type ImportResult, type ImportSnapshot, ImportStreamController, type ImportWorkerKind, type ImportWorkerResult, MAX_C, type MarkTone, PIVOT_AI_FEATURES, type ParseFileOptions, type PivotAiApplyResult, type PivotAiCondition, type PivotAiFeature, type PivotAiFieldOptions, type PivotAiFilter, type PivotAiOptions, type PivotAiSort, type PivotAiState, type PivotAiTotals, type PivotAiValue, type PivotArea, type PivotCell, PivotCellAggregator, type PivotCellTemplate, type PivotCellTextAccessor, type PivotCellValueAccessor, type PivotChartChange, type PivotChartChangedEvent, type PivotChartClosedEvent, type PivotChartOpenedEvent, type PivotChartReportPart, type PivotChartState, type PivotChartWindowState, type PivotColumnWidthDefaults, type PivotConditionRule, PivotController, type PivotControllerCallbacks, type PivotControllerEvents, type PivotControllerOptions, type PivotControllerState, type PivotDataSource, type PivotDensity, type PivotDictionary, type PivotDragIntentState, PivotEngineRegistry, type PivotEngineResult, PivotEngineService, type PivotEngineServiceConfig, PivotEventEmitter, type PivotEventHandler, type PivotEventMap, PivotExportService, type PivotField, PivotFieldService, type PivotGridRef, type PivotGroupInterval, type PivotImportField, type PivotImportLabels, type PivotImportPreviewState, type PivotImportStatus, type PivotLabelFilter, type PivotLayoutProfile, type PivotLayoutState, type PivotLocale, type PivotNode, type PivotPlugin, type PivotPrefilter, type PivotReport, PivotReportManager, PivotReportService, type PivotReportState, type PivotRowKey, type PivotRowKeyResolver, type PivotRowSparkline, type PivotRowTransaction, type PivotSelectionMode, PivotSelectionModel, type PivotSelectionRange, type PivotSelectionState, type PivotSelectionStats, type PivotServerCell, type PivotServerField, type PivotServerInput, type PivotServerRequest, type PivotServerResponse, type PivotServerSource, type PivotServerSourceOptions, type PivotServerValue, type PivotStateListener, PivotStateStore, type PivotStateStoringConfig, type PivotSummaryDisplayMode, type PivotSummaryType, type PivotTheme, type PivotToolbarConfig, type PivotTransactionResult, type PivotValue, type PivotValueFilter, type PrefilterConditionSpec, type PrefilterGroupSpec, type ProcessFileStreamingOptions, type ProcessFromUrlOptions, ROW_HEADER_MAX_PINNED_FRACTION, ROW_HEADER_MIN_COL_WIDTH, ROW_HEADER_MIN_DATA_STRIP, type ReportStatePart, type RowHeaderLayout, SHAPE_CHART_TYPES, type ShapeChartInput, type ShapeChartType, type StackedSegment, type TreemapCell, type TrendShape, type ValidationResult, type ValueRange, type WaterfallStep, type WorkerComputeRequest, type WorkerFilterRequest, type WorkerFilterSpec, type WorkerInitRequest, type WorkerResponse, type WorkerTransactionRequest, type XYPair, type XYPairInput, XmlReader, applyPivotAiState, ar, attachFloatingFrame, buildCellLookup, buildColPathsList, buildColumnHeaders, buildEngineResult, buildPivotAOA, buildRowLabelCells, calculatedFieldText, cellHash, cellHashCol, cellHashRow, centredFrame, chartCategoryKey, chartKeyText, chartPalette, chartWindowFrame, classifyValue, clearFormatCache, coerceRecords, coerceValue, collatorFor, compileSafeFormula, computeFieldRanges, computePivotMatrixAsync, computeRowHeaderWidths, conditionRuleToExcelStyle, cssColorToRgb, de, dedupeHeaders, defaultPivotLayout, destroyEngineWorker, detectDelimiter, diffPivotChartState, drillDownText, en, es, escapeXmlText, executePostAggregationPhase, executeSummaryDisplayModesPhase, exportPivotData, extractGroupValue, fieldNeedsRange, fieldValuesInMemory, filterEmptySummaryTree, filterPivotEngineAsync, filterRecords, filterRecordsAsync, flattenExportRows, flattenRowTree, flattenRowTreeTabular, flattenRowTreeTree, formatCellValue, formatCellValueCached, formatDimensionValue, formatHeaderValue, fr, funnelMarks, funnelStages, getAdvancedExporter, getCellVal, getFieldDistinctValues, getPivotAiSchema, getPivotAiState, getVisibleColLeaves, getVisibleColSlots, getVisibleLeafCount, getVisibleMaxDepth, headerFilterShown, headerFilterWrite, heatColor, heatTextColor, heatmapMarks, histogramBins, histogramMarks, inferColumnType, initPivotEngineAsync, intlFormatToExcelNumFmt, invertRowHeaderWidth, it, ja, ko, logAxisTicks, nextChartWindowId, nextLiveText, pairSeriesForXY, parseBoolean, parseColor, parseCsvToRows, parseDelimited, parseFlexibleDate, parseLocaleNumber, percentAxisTicks, percentModeExcelNumFmt, percentModeText, pivotChangeAnnouncement, pivotDensityClass, pivotRowHeight, pivotRowTrend, pivotServerSource, pt, rangeBarMarks, rangeRatio, readChartFormat, readFrameRect, readPivotChartState, reconfigurePivotEngineAsync, registerAdvancedExporter, resolveChartPalette, resolveChartStyle, resolveColPath, resolveColumnWidthDefaults, resolveConditionalVisual, rollupInMemory, ru, safeKey, sanitizeRows, scaleColor, serverRequestFor, setActiveEngineGrid, sortPivotTree, squarify, stackSeries, stripBom, sunburstMarks, testSafeFormula, tr, treemapMarks, trendColumnPaths, trendShape, waterfallDomain, waterfallMarks, waterfallSteps, windowStartFor, zhCN };
|
|
3781
|
+
export { type AdvancedExportRequest, type AdvancedExporter, CHART_LEGEND_POSITIONS, CHART_PALETTE_NAMES, type CalculatedFieldTextKey, type CellClickEvent, type CellPreparedEvent, type CellType, type ChartCategoryKeyAction, type ChartFont, type ChartFormat, type ChartGridLines, type ChartImageRequest, type ChartKeyTextKey, type ChartLabelAngle, type ChartLegendPosition, type ChartMark, type ChartPaletteName, type ChartStacking, type ChartStyle, type ChartStyleDefaults, type ColHeaderCell, type ColumnSlot, type ColumnSlotOptions, type ConditionalVisual, type CsvParseProgress, CsvReader, type CustomSummaryOptions, DEFAULT_DATA_COLUMN_WIDTH, DEFAULT_ROW_HEADER_WIDTH, DataNormalizer, type DateFormatContext, DateFormatter, type DateGranularity, type DimensionFieldInfo, type DrillDownTextKey, type DropIntent, type ExportFormat, type ExportOptions, ExportStreamController, type ExportingEvent, FastTrie, type FieldDistinctEntry, type FieldMoveEvent, type FilterCondition, type FilterGroup, type FilterOperator, type FlatCellMatrix, FlatPivotEngine, type FlatRow, type FloatingFrame, type FrameRect, type FrameSize, type FunnelStage, type HeaderFilterOption, type HeaderFilterState, type HeaderFilterWrite, type HistogramBin, type IFileReader, type ImportFormat, ImportManager, type ImportManagerOptions, type ImportProgress, type ImportResult, type ImportSnapshot, ImportStreamController, type ImportWorkerKind, type ImportWorkerResult, MAX_C, type MarkTone, PIVOT_AI_FEATURES, PIVOT_STATE_VERSION, type ParseFileOptions, type PersistedPivotState, type PivotAiApplyResult, type PivotAiCondition, type PivotAiFeature, type PivotAiFieldOptions, type PivotAiFilter, type PivotAiOptions, type PivotAiSort, type PivotAiState, type PivotAiTotals, type PivotAiValue, type PivotArea, type PivotCell, PivotCellAggregator, type PivotCellTemplate, type PivotCellTextAccessor, type PivotCellValueAccessor, type PivotChartChange, type PivotChartChangedEvent, type PivotChartClosedEvent, type PivotChartOpenedEvent, type PivotChartReportPart, type PivotChartState, type PivotChartWindowState, type PivotColumnWidthDefaults, type PivotConditionRule, PivotController, type PivotControllerCallbacks, type PivotControllerEvents, type PivotControllerOptions, type PivotControllerState, type PivotDataSource, type PivotDensity, type PivotDictionary, type PivotDragIntentState, PivotEngineRegistry, type PivotEngineResult, PivotEngineService, type PivotEngineServiceConfig, PivotEventEmitter, type PivotEventHandler, type PivotEventMap, PivotExportService, type PivotField, PivotFieldService, type PivotGridRef, type PivotGroupInterval, type PivotImportField, type PivotImportLabels, type PivotImportPreviewState, type PivotImportStatus, type PivotLabelFilter, type PivotLayoutProfile, type PivotLayoutState, type PivotLocale, type PivotNode, type PivotPlugin, type PivotPrefilter, type PivotReport, PivotReportManager, PivotReportService, type PivotReportState, type PivotRowKey, type PivotRowKeyResolver, type PivotRowSparkline, type PivotRowTransaction, type PivotSelectionMode, PivotSelectionModel, type PivotSelectionRange, type PivotSelectionState, type PivotSelectionStats, type PivotServerCell, type PivotServerField, type PivotServerInput, type PivotServerRequest, type PivotServerResponse, type PivotServerSource, type PivotServerSourceOptions, type PivotServerValue, type PivotStateListener, type PivotStateSession, PivotStateStore, type PivotStateStoringConfig, type PivotSummaryDisplayMode, type PivotSummaryType, type PivotTheme, type PivotToolbarConfig, type PivotTransactionResult, type PivotValue, type PivotValueFilter, type PrefilterConditionSpec, type PrefilterGroupSpec, type ProcessFileStreamingOptions, type ProcessFromUrlOptions, ROW_HEADER_MAX_PINNED_FRACTION, ROW_HEADER_MIN_COL_WIDTH, ROW_HEADER_MIN_DATA_STRIP, type ReportStatePart, type RowHeaderLayout, SHAPE_CHART_TYPES, type ShapeChartInput, type ShapeChartType, type StackedSegment, type TreemapCell, type TrendShape, type ValidationResult, type ValueRange, type WaterfallStep, type WorkerComputeRequest, type WorkerFilterRequest, type WorkerFilterSpec, type WorkerInitRequest, type WorkerResponse, type WorkerTransactionRequest, type XYPair, type XYPairInput, XmlReader, applyPivotAiState, ar, attachFloatingFrame, bindPivotScrollMemory, buildCellLookup, buildColPathsList, buildColumnHeaders, buildEngineResult, buildPivotAOA, buildRowLabelCells, calculatedFieldText, cellHash, cellHashCol, cellHashRow, centredFrame, chartCategoryKey, chartKeyText, chartPalette, chartWindowFrame, classifyValue, clearFormatCache, coerceRecords, coerceValue, collatorFor, compileSafeFormula, computeFieldRanges, computePivotMatrixAsync, computeRowHeaderWidths, conditionRuleToExcelStyle, cssColorToRgb, de, dedupeHeaders, defaultPivotLayout, destroyEngineWorker, detectDelimiter, diffPivotChartState, drillDownText, en, es, escapeXmlText, executePostAggregationPhase, executeSummaryDisplayModesPhase, exportPivotData, extractGroupValue, fieldNeedsRange, fieldValuesInMemory, filterEmptySummaryTree, filterPivotEngineAsync, filterRecords, filterRecordsAsync, flattenExportRows, flattenRowTree, flattenRowTreeTabular, flattenRowTreeTree, formatCellValue, formatCellValueCached, formatDimensionValue, formatHeaderValue, fr, funnelMarks, funnelStages, getAdvancedExporter, getCellVal, getFieldDistinctValues, getPivotAiSchema, getPivotAiState, getVisibleColLeaves, getVisibleColSlots, getVisibleLeafCount, getVisibleMaxDepth, headerFilterShown, headerFilterWrite, heatColor, heatTextColor, heatmapMarks, histogramBins, histogramMarks, inferColumnType, initPivotEngineAsync, intlFormatToExcelNumFmt, invertRowHeaderWidth, it, ja, ko, logAxisTicks, nextChartWindowId, nextLiveText, pairSeriesForXY, parseBoolean, parseColor, parseCsvToRows, parseDelimited, parseFlexibleDate, parseLocaleNumber, percentAxisTicks, percentModeExcelNumFmt, percentModeText, pivotChangeAnnouncement, pivotDensityClass, pivotRowHeight, pivotRowTrend, pivotServerSource, pt, rangeBarMarks, rangeRatio, readChartFormat, readFrameRect, readPivotChartState, reconfigurePivotEngineAsync, registerAdvancedExporter, resolveChartPalette, resolveChartStyle, resolveColPath, resolveColumnWidthDefaults, resolveConditionalVisual, rollupInMemory, ru, safeKey, sanitizeRows, scaleColor, serverRequestFor, setActiveEngineGrid, sortPivotTree, squarify, stackSeries, stripBom, sunburstMarks, testSafeFormula, tr, treemapMarks, trendColumnPaths, trendShape, waterfallDomain, waterfallMarks, waterfallSteps, windowStartFor, zhCN };
|
package/dist/index.d.ts
CHANGED
|
@@ -91,6 +91,7 @@ interface PivotDictionary {
|
|
|
91
91
|
avg: string;
|
|
92
92
|
min: string;
|
|
93
93
|
max: string;
|
|
94
|
+
distinct: string;
|
|
94
95
|
grandTotal: string;
|
|
95
96
|
subTotal: string;
|
|
96
97
|
absoluteValue: string;
|
|
@@ -146,20 +147,12 @@ interface PivotDictionary {
|
|
|
146
147
|
opNotContains: string;
|
|
147
148
|
opStartsWith: string;
|
|
148
149
|
opEndsWith: string;
|
|
149
|
-
opIsBlank: string;
|
|
150
|
-
opIsNotBlank: string;
|
|
151
150
|
/** Value filter `between` / `notBetween` (G-PIV-03); `opBetween` is the DataGrid's own string. */
|
|
152
151
|
opBetween: string;
|
|
153
152
|
opNotBetween: string;
|
|
154
153
|
/** The field menu item and dialog title for value / label filters (G-PIV-03). */
|
|
155
154
|
conditionFilter: string;
|
|
156
155
|
/** Prefilter builder chrome (#210) — shared with DataGrid. */
|
|
157
|
-
builderCombine: string;
|
|
158
|
-
builderAddCondition: string;
|
|
159
|
-
builderAddGroup: string;
|
|
160
|
-
builderRemoveGroup: string;
|
|
161
|
-
builderRemoveCondition: string;
|
|
162
|
-
builderEmpty: string;
|
|
163
156
|
builderValuePlaceholder: string;
|
|
164
157
|
/** PDF export header (#215). */
|
|
165
158
|
exportGeneratedOn: string;
|
|
@@ -1612,7 +1605,11 @@ declare function resolveConditionalVisual(value: number | undefined, field: Pivo
|
|
|
1612
1605
|
type ExportFormat = 'excel-list' | 'excel-pivot' | 'pdf' | 'json' | 'json-pivot' | 'json-snapshot' | 'xml' | 'csv' | 'print' | 'clipboard';
|
|
1613
1606
|
/** Options passed to the export pipeline — all fields optional for backward compat. */
|
|
1614
1607
|
interface ExportOptions {
|
|
1615
|
-
/**
|
|
1608
|
+
/**
|
|
1609
|
+
* Export only the rows the filters keep (field filters and the prefilter).
|
|
1610
|
+
* Default `true`; `false` writes every source row. Before 2026-10-15 the
|
|
1611
|
+
* default was `false`.
|
|
1612
|
+
*/
|
|
1616
1613
|
applyFilters?: boolean;
|
|
1617
1614
|
/** Custom file name (without extension). */
|
|
1618
1615
|
fileName?: string;
|
|
@@ -1969,8 +1966,21 @@ interface PivotStateStoringConfig {
|
|
|
1969
1966
|
enabled: boolean;
|
|
1970
1967
|
type?: 'localStorage' | 'sessionStorage' | 'custom';
|
|
1971
1968
|
storageKey?: string;
|
|
1969
|
+
/** `custom`: called (debounced) with the state to keep — the shape `getPersistedState` returns. */
|
|
1972
1970
|
onSave?: (state: any) => void;
|
|
1971
|
+
/**
|
|
1972
|
+
* `custom`: the stored state, or a Promise of it (IndexedDB, a server). A
|
|
1973
|
+
* Promise is applied when it resolves; nothing is saved until then, so the
|
|
1974
|
+
* default layout the grid starts on never overwrites the stored one. To
|
|
1975
|
+
* open on the stored layout with no visible switch, read it before mounting
|
|
1976
|
+
* and return it synchronously.
|
|
1977
|
+
*/
|
|
1973
1978
|
onLoad?: () => any;
|
|
1979
|
+
/**
|
|
1980
|
+
* Session state to keep as well — none by default. `'scroll'`: where the
|
|
1981
|
+
* body was scrolled, put back once the restored pivot is drawn.
|
|
1982
|
+
*/
|
|
1983
|
+
include?: readonly 'scroll'[];
|
|
1974
1984
|
}
|
|
1975
1985
|
interface PivotToolbarConfig {
|
|
1976
1986
|
showSaveReport?: boolean;
|
|
@@ -2371,16 +2381,40 @@ type PivotStateListener = () => void;
|
|
|
2371
2381
|
* documented on the features page as "persist to your own backend" was a hook
|
|
2372
2382
|
* that nothing ever called.
|
|
2373
2383
|
*/
|
|
2374
|
-
/**
|
|
2384
|
+
/**
|
|
2385
|
+
* The version of `PersistedPivotState`. A saved state carrying another one is
|
|
2386
|
+
* not read — the grid opens with its default layout, no error. A state saved
|
|
2387
|
+
* before versions existed has none and is read as version 1.
|
|
2388
|
+
*/
|
|
2389
|
+
declare const PIVOT_STATE_VERSION = 1;
|
|
2390
|
+
/**
|
|
2391
|
+
* What goes in and out of storage — and what `getPersistedState` returns and
|
|
2392
|
+
* `applyPersistedState` takes. Plain JSON: store it anywhere.
|
|
2393
|
+
*/
|
|
2375
2394
|
interface PersistedPivotState {
|
|
2395
|
+
version?: number;
|
|
2376
2396
|
fields?: unknown[];
|
|
2377
2397
|
layout?: Partial<PivotLayoutState>;
|
|
2378
2398
|
columnWidths?: Record<string, number>;
|
|
2379
2399
|
expandedPaths?: string[];
|
|
2380
2400
|
expandedColPaths?: string[];
|
|
2401
|
+
/**
|
|
2402
|
+
* State kept by layers above the core, by name (`registerReportStatePart`):
|
|
2403
|
+
* the Enterprise chart panel keeps its chart under `chart`, and an app can
|
|
2404
|
+
* register its own chart or panel the same way.
|
|
2405
|
+
*/
|
|
2406
|
+
parts?: Record<string, unknown>;
|
|
2407
|
+
/** SESSION state, only when asked for (`include: ['scroll']`): the body's scroll offsets. */
|
|
2408
|
+
scroll?: {
|
|
2409
|
+
top: number;
|
|
2410
|
+
left: number;
|
|
2411
|
+
};
|
|
2381
2412
|
}
|
|
2413
|
+
/** Session parts a snapshot leaves out unless asked: `'scroll'`. */
|
|
2414
|
+
type PivotStateSession = 'scroll';
|
|
2382
2415
|
interface PivotStatePersistence {
|
|
2383
|
-
|
|
2416
|
+
/** May be a Promise (IndexedDB, a server); the grid applies it when it resolves. */
|
|
2417
|
+
load(): PersistedPivotState | null | Promise<PersistedPivotState | null>;
|
|
2384
2418
|
save(state: PersistedPivotState): void;
|
|
2385
2419
|
}
|
|
2386
2420
|
/** Immutable-snapshot state store with debounced persistence. */
|
|
@@ -2390,6 +2424,27 @@ declare class PivotStateStore<TRow> {
|
|
|
2390
2424
|
private storageKey;
|
|
2391
2425
|
private persistScheduled;
|
|
2392
2426
|
private persistence;
|
|
2427
|
+
/**
|
|
2428
|
+
* The stored state, while an asynchronous `onLoad` is still reading it. No
|
|
2429
|
+
* save happens meanwhile: the grid starts on its default layout, and writing
|
|
2430
|
+
* that would overwrite the very state being loaded.
|
|
2431
|
+
*/
|
|
2432
|
+
pendingLoad: Promise<PersistedPivotState | null> | null;
|
|
2433
|
+
private readonly initialFields;
|
|
2434
|
+
/**
|
|
2435
|
+
* What lives outside the store but is saved with it — the controller's
|
|
2436
|
+
* registered parts and the reported scroll. Set by the controller.
|
|
2437
|
+
*/
|
|
2438
|
+
extras: {
|
|
2439
|
+
parts?: () => Record<string, unknown> | undefined;
|
|
2440
|
+
scroll?: () => {
|
|
2441
|
+
top: number;
|
|
2442
|
+
left: number;
|
|
2443
|
+
};
|
|
2444
|
+
include?: readonly PivotStateSession[];
|
|
2445
|
+
};
|
|
2446
|
+
/** Parts and scroll read at construction, for the controller to hand on. */
|
|
2447
|
+
loadedExtras: Pick<PersistedPivotState, 'parts' | 'scroll'> | null;
|
|
2393
2448
|
constructor(gridId: string, initialFields: PivotField<TRow>[], persistence?: PivotStatePersistence);
|
|
2394
2449
|
getSnapshot: () => PivotControllerState<TRow>;
|
|
2395
2450
|
subscribe: (listener: PivotStateListener) => (() => void);
|
|
@@ -2402,6 +2457,14 @@ declare class PivotStateStore<TRow> {
|
|
|
2402
2457
|
setImportStatus(importStatus: PivotImportStatus): void;
|
|
2403
2458
|
setImportPreview(importPreview: PivotControllerState<TRow>['importPreview']): void;
|
|
2404
2459
|
private createInitialSnapshot;
|
|
2460
|
+
/** A stored state as snapshot parts, or null when this build cannot read it. */
|
|
2461
|
+
private revive;
|
|
2462
|
+
/** Apply a stored state; its parts and scroll are returned for the controller. Null when it cannot be read. */
|
|
2463
|
+
applyPersisted(state: unknown): Pick<PersistedPivotState, 'parts' | 'scroll'> | null;
|
|
2464
|
+
/** The state as it is stored: JSON-safe, versioned. `include` adds session parts. */
|
|
2465
|
+
serialize(include?: readonly PivotStateSession[]): PersistedPivotState;
|
|
2466
|
+
/** Something saved with the state changed outside the store (a part, the scroll). */
|
|
2467
|
+
requestPersist(): void;
|
|
2405
2468
|
private schedulePersist;
|
|
2406
2469
|
/**
|
|
2407
2470
|
* Write a pending save NOW. The controller calls it on dispose: the write
|
|
@@ -2432,6 +2495,11 @@ interface PivotControllerEvents<TRow> {
|
|
|
2432
2495
|
chartOpened: PivotChartOpenedEvent;
|
|
2433
2496
|
chartChanged: PivotChartChangedEvent;
|
|
2434
2497
|
chartClosed: PivotChartClosedEvent;
|
|
2498
|
+
/** A restored state asks the renderer to scroll its body here (see `getPersistedState`). */
|
|
2499
|
+
scrollRequested: {
|
|
2500
|
+
top: number;
|
|
2501
|
+
left: number;
|
|
2502
|
+
};
|
|
2435
2503
|
}
|
|
2436
2504
|
interface PivotImportLabels {
|
|
2437
2505
|
initializing: string;
|
|
@@ -2469,6 +2537,8 @@ declare class PivotController<TRow> {
|
|
|
2469
2537
|
/** Full row set of a parsed import awaiting preview commit (kept out of observable state). */
|
|
2470
2538
|
private pendingImportRows;
|
|
2471
2539
|
private disposed;
|
|
2540
|
+
/** The body's scroll offsets, as the renderer last reported them. */
|
|
2541
|
+
private lastScroll;
|
|
2472
2542
|
/** `applyTransactionAsync`: the batch waiting for its window, and who to tell. */
|
|
2473
2543
|
private asyncQueue;
|
|
2474
2544
|
private asyncCallbacks;
|
|
@@ -2481,6 +2551,36 @@ declare class PivotController<TRow> {
|
|
|
2481
2551
|
*/
|
|
2482
2552
|
private externalData;
|
|
2483
2553
|
constructor(options: PivotControllerOptions<TRow>);
|
|
2554
|
+
/**
|
|
2555
|
+
* Everything the reader arranged, as plain JSON — fields and their areas,
|
|
2556
|
+
* order, sorting, filters, summaries and calculated fields; totals, layout
|
|
2557
|
+
* options and the chart type; open members; column widths — with a
|
|
2558
|
+
* `version`. What `stateStoring` saves; keep it anywhere and hand it back to
|
|
2559
|
+
* `applyPersistedState`.
|
|
2560
|
+
*/
|
|
2561
|
+
getPersistedState(options?: {
|
|
2562
|
+
include?: readonly 'scroll'[];
|
|
2563
|
+
}): PersistedPivotState;
|
|
2564
|
+
/**
|
|
2565
|
+
* Where the renderer's body is scrolled — both renderers report it, so a
|
|
2566
|
+
* snapshot with `include: ['scroll']` can carry it.
|
|
2567
|
+
*/
|
|
2568
|
+
reportScroll(top: number, left: number): void;
|
|
2569
|
+
/**
|
|
2570
|
+
* A part registered with `registerReportStatePart` changed: save it with the
|
|
2571
|
+
* state (`stateStoring`). The Enterprise chart panel's changes do this by
|
|
2572
|
+
* themselves.
|
|
2573
|
+
*/
|
|
2574
|
+
notifyStatePartChanged(): void;
|
|
2575
|
+
/** Hand a restored state's parts to their owners and ask for its scroll. */
|
|
2576
|
+
private takeExtras;
|
|
2577
|
+
/**
|
|
2578
|
+
* Put a `getPersistedState` snapshot back. Fields the app no longer has are
|
|
2579
|
+
* dropped (calculated fields the reader made stay); fields the app added
|
|
2580
|
+
* since join as it defines them. Returns false and changes nothing when the
|
|
2581
|
+
* snapshot cannot be read — another `version`, or not a state at all.
|
|
2582
|
+
*/
|
|
2583
|
+
applyPersistedState(state: unknown): boolean;
|
|
2484
2584
|
subscribe: (listener: PivotStateListener) => (() => void);
|
|
2485
2585
|
getSnapshot: () => PivotControllerState<TRow>;
|
|
2486
2586
|
getState(): PivotControllerState<TRow>;
|
|
@@ -2705,6 +2805,9 @@ declare class PivotController<TRow> {
|
|
|
2705
2805
|
private collectNodePaths;
|
|
2706
2806
|
}
|
|
2707
2807
|
|
|
2808
|
+
/** Wire `root`'s body scroller to `controller`. Returns the unbind function. */
|
|
2809
|
+
declare function bindPivotScrollMemory(root: HTMLElement, controller: PivotController<any>): () => void;
|
|
2810
|
+
|
|
2708
2811
|
interface PivotEngineServiceConfig<TRow> {
|
|
2709
2812
|
getOptions: () => PivotControllerOptions<TRow>;
|
|
2710
2813
|
getState: () => PivotControllerState<TRow>;
|
|
@@ -3675,4 +3778,4 @@ declare function rollupInMemory<TRow>(rows: readonly TRow[], request: PivotServe
|
|
|
3675
3778
|
/** Every value of a field in rows held in memory — the reference `loadFieldValues`. */
|
|
3676
3779
|
declare function fieldValuesInMemory<TRow>(rows: readonly TRow[], field: PivotServerField): unknown[];
|
|
3677
3780
|
|
|
3678
|
-
export { type AdvancedExportRequest, type AdvancedExporter, CHART_LEGEND_POSITIONS, CHART_PALETTE_NAMES, type CalculatedFieldTextKey, type CellClickEvent, type CellPreparedEvent, type CellType, type ChartCategoryKeyAction, type ChartFont, type ChartFormat, type ChartGridLines, type ChartImageRequest, type ChartKeyTextKey, type ChartLabelAngle, type ChartLegendPosition, type ChartMark, type ChartPaletteName, type ChartStacking, type ChartStyle, type ChartStyleDefaults, type ColHeaderCell, type ColumnSlot, type ColumnSlotOptions, type ConditionalVisual, type CsvParseProgress, CsvReader, type CustomSummaryOptions, DEFAULT_DATA_COLUMN_WIDTH, DEFAULT_ROW_HEADER_WIDTH, DataNormalizer, type DateFormatContext, DateFormatter, type DateGranularity, type DimensionFieldInfo, type DrillDownTextKey, type DropIntent, type ExportFormat, type ExportOptions, ExportStreamController, type ExportingEvent, FastTrie, type FieldDistinctEntry, type FieldMoveEvent, type FilterCondition, type FilterGroup, type FilterOperator, type FlatCellMatrix, FlatPivotEngine, type FlatRow, type FloatingFrame, type FrameRect, type FrameSize, type FunnelStage, type HeaderFilterOption, type HeaderFilterState, type HeaderFilterWrite, type HistogramBin, type IFileReader, type ImportFormat, ImportManager, type ImportManagerOptions, type ImportProgress, type ImportResult, type ImportSnapshot, ImportStreamController, type ImportWorkerKind, type ImportWorkerResult, MAX_C, type MarkTone, PIVOT_AI_FEATURES, type ParseFileOptions, type PivotAiApplyResult, type PivotAiCondition, type PivotAiFeature, type PivotAiFieldOptions, type PivotAiFilter, type PivotAiOptions, type PivotAiSort, type PivotAiState, type PivotAiTotals, type PivotAiValue, type PivotArea, type PivotCell, PivotCellAggregator, type PivotCellTemplate, type PivotCellTextAccessor, type PivotCellValueAccessor, type PivotChartChange, type PivotChartChangedEvent, type PivotChartClosedEvent, type PivotChartOpenedEvent, type PivotChartReportPart, type PivotChartState, type PivotChartWindowState, type PivotColumnWidthDefaults, type PivotConditionRule, PivotController, type PivotControllerCallbacks, type PivotControllerEvents, type PivotControllerOptions, type PivotControllerState, type PivotDataSource, type PivotDensity, type PivotDictionary, type PivotDragIntentState, PivotEngineRegistry, type PivotEngineResult, PivotEngineService, type PivotEngineServiceConfig, PivotEventEmitter, type PivotEventHandler, type PivotEventMap, PivotExportService, type PivotField, PivotFieldService, type PivotGridRef, type PivotGroupInterval, type PivotImportField, type PivotImportLabels, type PivotImportPreviewState, type PivotImportStatus, type PivotLabelFilter, type PivotLayoutProfile, type PivotLayoutState, type PivotLocale, type PivotNode, type PivotPlugin, type PivotPrefilter, type PivotReport, PivotReportManager, PivotReportService, type PivotReportState, type PivotRowKey, type PivotRowKeyResolver, type PivotRowSparkline, type PivotRowTransaction, type PivotSelectionMode, PivotSelectionModel, type PivotSelectionRange, type PivotSelectionState, type PivotSelectionStats, type PivotServerCell, type PivotServerField, type PivotServerInput, type PivotServerRequest, type PivotServerResponse, type PivotServerSource, type PivotServerSourceOptions, type PivotServerValue, type PivotStateListener, PivotStateStore, type PivotStateStoringConfig, type PivotSummaryDisplayMode, type PivotSummaryType, type PivotTheme, type PivotToolbarConfig, type PivotTransactionResult, type PivotValue, type PivotValueFilter, type PrefilterConditionSpec, type PrefilterGroupSpec, type ProcessFileStreamingOptions, type ProcessFromUrlOptions, ROW_HEADER_MAX_PINNED_FRACTION, ROW_HEADER_MIN_COL_WIDTH, ROW_HEADER_MIN_DATA_STRIP, type ReportStatePart, type RowHeaderLayout, SHAPE_CHART_TYPES, type ShapeChartInput, type ShapeChartType, type StackedSegment, type TreemapCell, type TrendShape, type ValidationResult, type ValueRange, type WaterfallStep, type WorkerComputeRequest, type WorkerFilterRequest, type WorkerFilterSpec, type WorkerInitRequest, type WorkerResponse, type WorkerTransactionRequest, type XYPair, type XYPairInput, XmlReader, applyPivotAiState, ar, attachFloatingFrame, buildCellLookup, buildColPathsList, buildColumnHeaders, buildEngineResult, buildPivotAOA, buildRowLabelCells, calculatedFieldText, cellHash, cellHashCol, cellHashRow, centredFrame, chartCategoryKey, chartKeyText, chartPalette, chartWindowFrame, classifyValue, clearFormatCache, coerceRecords, coerceValue, collatorFor, compileSafeFormula, computeFieldRanges, computePivotMatrixAsync, computeRowHeaderWidths, conditionRuleToExcelStyle, cssColorToRgb, de, dedupeHeaders, defaultPivotLayout, destroyEngineWorker, detectDelimiter, diffPivotChartState, drillDownText, en, es, escapeXmlText, executePostAggregationPhase, executeSummaryDisplayModesPhase, exportPivotData, extractGroupValue, fieldNeedsRange, fieldValuesInMemory, filterEmptySummaryTree, filterPivotEngineAsync, filterRecords, filterRecordsAsync, flattenExportRows, flattenRowTree, flattenRowTreeTabular, flattenRowTreeTree, formatCellValue, formatCellValueCached, formatDimensionValue, formatHeaderValue, fr, funnelMarks, funnelStages, getAdvancedExporter, getCellVal, getFieldDistinctValues, getPivotAiSchema, getPivotAiState, getVisibleColLeaves, getVisibleColSlots, getVisibleLeafCount, getVisibleMaxDepth, headerFilterShown, headerFilterWrite, heatColor, heatTextColor, heatmapMarks, histogramBins, histogramMarks, inferColumnType, initPivotEngineAsync, intlFormatToExcelNumFmt, invertRowHeaderWidth, it, ja, ko, logAxisTicks, nextChartWindowId, nextLiveText, pairSeriesForXY, parseBoolean, parseColor, parseCsvToRows, parseDelimited, parseFlexibleDate, parseLocaleNumber, percentAxisTicks, percentModeExcelNumFmt, percentModeText, pivotChangeAnnouncement, pivotDensityClass, pivotRowHeight, pivotRowTrend, pivotServerSource, pt, rangeBarMarks, rangeRatio, readChartFormat, readFrameRect, readPivotChartState, reconfigurePivotEngineAsync, registerAdvancedExporter, resolveChartPalette, resolveChartStyle, resolveColPath, resolveColumnWidthDefaults, resolveConditionalVisual, rollupInMemory, ru, safeKey, sanitizeRows, scaleColor, serverRequestFor, setActiveEngineGrid, sortPivotTree, squarify, stackSeries, stripBom, sunburstMarks, testSafeFormula, tr, treemapMarks, trendColumnPaths, trendShape, waterfallDomain, waterfallMarks, waterfallSteps, windowStartFor, zhCN };
|
|
3781
|
+
export { type AdvancedExportRequest, type AdvancedExporter, CHART_LEGEND_POSITIONS, CHART_PALETTE_NAMES, type CalculatedFieldTextKey, type CellClickEvent, type CellPreparedEvent, type CellType, type ChartCategoryKeyAction, type ChartFont, type ChartFormat, type ChartGridLines, type ChartImageRequest, type ChartKeyTextKey, type ChartLabelAngle, type ChartLegendPosition, type ChartMark, type ChartPaletteName, type ChartStacking, type ChartStyle, type ChartStyleDefaults, type ColHeaderCell, type ColumnSlot, type ColumnSlotOptions, type ConditionalVisual, type CsvParseProgress, CsvReader, type CustomSummaryOptions, DEFAULT_DATA_COLUMN_WIDTH, DEFAULT_ROW_HEADER_WIDTH, DataNormalizer, type DateFormatContext, DateFormatter, type DateGranularity, type DimensionFieldInfo, type DrillDownTextKey, type DropIntent, type ExportFormat, type ExportOptions, ExportStreamController, type ExportingEvent, FastTrie, type FieldDistinctEntry, type FieldMoveEvent, type FilterCondition, type FilterGroup, type FilterOperator, type FlatCellMatrix, FlatPivotEngine, type FlatRow, type FloatingFrame, type FrameRect, type FrameSize, type FunnelStage, type HeaderFilterOption, type HeaderFilterState, type HeaderFilterWrite, type HistogramBin, type IFileReader, type ImportFormat, ImportManager, type ImportManagerOptions, type ImportProgress, type ImportResult, type ImportSnapshot, ImportStreamController, type ImportWorkerKind, type ImportWorkerResult, MAX_C, type MarkTone, PIVOT_AI_FEATURES, PIVOT_STATE_VERSION, type ParseFileOptions, type PersistedPivotState, type PivotAiApplyResult, type PivotAiCondition, type PivotAiFeature, type PivotAiFieldOptions, type PivotAiFilter, type PivotAiOptions, type PivotAiSort, type PivotAiState, type PivotAiTotals, type PivotAiValue, type PivotArea, type PivotCell, PivotCellAggregator, type PivotCellTemplate, type PivotCellTextAccessor, type PivotCellValueAccessor, type PivotChartChange, type PivotChartChangedEvent, type PivotChartClosedEvent, type PivotChartOpenedEvent, type PivotChartReportPart, type PivotChartState, type PivotChartWindowState, type PivotColumnWidthDefaults, type PivotConditionRule, PivotController, type PivotControllerCallbacks, type PivotControllerEvents, type PivotControllerOptions, type PivotControllerState, type PivotDataSource, type PivotDensity, type PivotDictionary, type PivotDragIntentState, PivotEngineRegistry, type PivotEngineResult, PivotEngineService, type PivotEngineServiceConfig, PivotEventEmitter, type PivotEventHandler, type PivotEventMap, PivotExportService, type PivotField, PivotFieldService, type PivotGridRef, type PivotGroupInterval, type PivotImportField, type PivotImportLabels, type PivotImportPreviewState, type PivotImportStatus, type PivotLabelFilter, type PivotLayoutProfile, type PivotLayoutState, type PivotLocale, type PivotNode, type PivotPlugin, type PivotPrefilter, type PivotReport, PivotReportManager, PivotReportService, type PivotReportState, type PivotRowKey, type PivotRowKeyResolver, type PivotRowSparkline, type PivotRowTransaction, type PivotSelectionMode, PivotSelectionModel, type PivotSelectionRange, type PivotSelectionState, type PivotSelectionStats, type PivotServerCell, type PivotServerField, type PivotServerInput, type PivotServerRequest, type PivotServerResponse, type PivotServerSource, type PivotServerSourceOptions, type PivotServerValue, type PivotStateListener, type PivotStateSession, PivotStateStore, type PivotStateStoringConfig, type PivotSummaryDisplayMode, type PivotSummaryType, type PivotTheme, type PivotToolbarConfig, type PivotTransactionResult, type PivotValue, type PivotValueFilter, type PrefilterConditionSpec, type PrefilterGroupSpec, type ProcessFileStreamingOptions, type ProcessFromUrlOptions, ROW_HEADER_MAX_PINNED_FRACTION, ROW_HEADER_MIN_COL_WIDTH, ROW_HEADER_MIN_DATA_STRIP, type ReportStatePart, type RowHeaderLayout, SHAPE_CHART_TYPES, type ShapeChartInput, type ShapeChartType, type StackedSegment, type TreemapCell, type TrendShape, type ValidationResult, type ValueRange, type WaterfallStep, type WorkerComputeRequest, type WorkerFilterRequest, type WorkerFilterSpec, type WorkerInitRequest, type WorkerResponse, type WorkerTransactionRequest, type XYPair, type XYPairInput, XmlReader, applyPivotAiState, ar, attachFloatingFrame, bindPivotScrollMemory, buildCellLookup, buildColPathsList, buildColumnHeaders, buildEngineResult, buildPivotAOA, buildRowLabelCells, calculatedFieldText, cellHash, cellHashCol, cellHashRow, centredFrame, chartCategoryKey, chartKeyText, chartPalette, chartWindowFrame, classifyValue, clearFormatCache, coerceRecords, coerceValue, collatorFor, compileSafeFormula, computeFieldRanges, computePivotMatrixAsync, computeRowHeaderWidths, conditionRuleToExcelStyle, cssColorToRgb, de, dedupeHeaders, defaultPivotLayout, destroyEngineWorker, detectDelimiter, diffPivotChartState, drillDownText, en, es, escapeXmlText, executePostAggregationPhase, executeSummaryDisplayModesPhase, exportPivotData, extractGroupValue, fieldNeedsRange, fieldValuesInMemory, filterEmptySummaryTree, filterPivotEngineAsync, filterRecords, filterRecordsAsync, flattenExportRows, flattenRowTree, flattenRowTreeTabular, flattenRowTreeTree, formatCellValue, formatCellValueCached, formatDimensionValue, formatHeaderValue, fr, funnelMarks, funnelStages, getAdvancedExporter, getCellVal, getFieldDistinctValues, getPivotAiSchema, getPivotAiState, getVisibleColLeaves, getVisibleColSlots, getVisibleLeafCount, getVisibleMaxDepth, headerFilterShown, headerFilterWrite, heatColor, heatTextColor, heatmapMarks, histogramBins, histogramMarks, inferColumnType, initPivotEngineAsync, intlFormatToExcelNumFmt, invertRowHeaderWidth, it, ja, ko, logAxisTicks, nextChartWindowId, nextLiveText, pairSeriesForXY, parseBoolean, parseColor, parseCsvToRows, parseDelimited, parseFlexibleDate, parseLocaleNumber, percentAxisTicks, percentModeExcelNumFmt, percentModeText, pivotChangeAnnouncement, pivotDensityClass, pivotRowHeight, pivotRowTrend, pivotServerSource, pt, rangeBarMarks, rangeRatio, readChartFormat, readFrameRect, readPivotChartState, reconfigurePivotEngineAsync, registerAdvancedExporter, resolveChartPalette, resolveChartStyle, resolveColPath, resolveColumnWidthDefaults, resolveConditionalVisual, rollupInMemory, ru, safeKey, sanitizeRows, scaleColor, serverRequestFor, setActiveEngineGrid, sortPivotTree, squarify, stackSeries, stripBom, sunburstMarks, testSafeFormula, tr, treemapMarks, trendColumnPaths, trendShape, waterfallDomain, waterfallMarks, waterfallSteps, windowStartFor, zhCN };
|