@kanunilabs/pivotgrid-core 1.8.0 → 1.9.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 +12 -12
- package/dist/index.d.cts +127 -14
- package/dist/index.d.ts +127 -14
- package/dist/index.js +12 -12
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -320,6 +320,35 @@ declare function percentAxisTicks(min: number): number[];
|
|
|
320
320
|
* nearer the axis.
|
|
321
321
|
*/
|
|
322
322
|
declare function stackSeries(series: ReadonlyArray<ArrayLike<number>>, mode: Exclude<ChartStacking, 'grouped'>, include?: (index: number) => boolean): Array<StackedSegment | null>;
|
|
323
|
+
/**
|
|
324
|
+
* `count` colours derived from `accent`, index-stable.
|
|
325
|
+
*
|
|
326
|
+
* Falls back to the packaged eight when the accent cannot be read — an unthemed
|
|
327
|
+
* grid, or a custom theme whose `--dg-primary` is something this cannot parse
|
|
328
|
+
* (a named colour, `color-mix()`, `oklch()`). Falling back is deliberate: a
|
|
329
|
+
* chart with the wrong-but-readable palette beats a chart of black shapes.
|
|
330
|
+
*
|
|
331
|
+
* A near-grey accent also falls back. Rotating the hue of something with almost
|
|
332
|
+
* no saturation produces eight indistinguishable greys, which is worse than an
|
|
333
|
+
* off-theme palette that can actually be told apart.
|
|
334
|
+
*/
|
|
335
|
+
declare function chartPalette(accent: string | null | undefined, count: number): string[];
|
|
336
|
+
/** The series palettes a chart offers by name. */
|
|
337
|
+
type ChartPaletteName = 'theme' | 'classic' | 'colorblind' | 'vivid' | 'monochrome';
|
|
338
|
+
declare const CHART_PALETTE_NAMES: readonly ChartPaletteName[];
|
|
339
|
+
/**
|
|
340
|
+
* The series colours for a chart, `count` long and index-stable.
|
|
341
|
+
*
|
|
342
|
+
* @param choice the chart format's `palette` and `colors` (both optional)
|
|
343
|
+
* @param accent the grid's accent, as read from its tokens (`theme` derives from it)
|
|
344
|
+
* @param surface the chart's background, as read from its tokens — the floor
|
|
345
|
+
* named palettes keep their contrast against; without it they
|
|
346
|
+
* are used as listed
|
|
347
|
+
*/
|
|
348
|
+
declare function resolveChartPalette(choice: {
|
|
349
|
+
palette?: ChartPaletteName;
|
|
350
|
+
colors?: readonly string[];
|
|
351
|
+
} | null | undefined, accent: string | null | undefined, surface: string | null | undefined, count: number): string[];
|
|
323
352
|
|
|
324
353
|
/** Where the legend sits around the plot, or `'none'` to hide it. */
|
|
325
354
|
type ChartLegendPosition = 'top' | 'bottom' | 'left' | 'right' | 'none';
|
|
@@ -378,6 +407,19 @@ interface ChartFormat {
|
|
|
378
407
|
* browser. Absent: the grouping's own labels ("2026-03", "2026-Q1").
|
|
379
408
|
*/
|
|
380
409
|
dateFormat?: ChartDateFormat;
|
|
410
|
+
/**
|
|
411
|
+
* Series colours by name (rival analysis, charts §E.4 #54): `'theme'` (the
|
|
412
|
+
* default — derived from the grid's accent), `'classic'`, `'colorblind'`,
|
|
413
|
+
* `'vivid'` or `'monochrome'`. Named palettes keep 3:1 contrast against the
|
|
414
|
+
* chart background.
|
|
415
|
+
*/
|
|
416
|
+
palette?: ChartPaletteName;
|
|
417
|
+
/**
|
|
418
|
+
* The app's own series colours, as `#rgb` / `#rrggbb`, used in order and
|
|
419
|
+
* repeated — they win over `palette`. Set it through `defaultFormat` to give
|
|
420
|
+
* every chart a brand palette.
|
|
421
|
+
*/
|
|
422
|
+
colors?: string[];
|
|
381
423
|
}
|
|
382
424
|
/**
|
|
383
425
|
* The date presets an axis offers. Each is an `Intl.DateTimeFormat` shape, so
|
|
@@ -420,19 +462,6 @@ interface ChartImageRequest {
|
|
|
420
462
|
/** Background colour; `null` keeps transparency (not for JPEG). Default white. */
|
|
421
463
|
background?: string | null;
|
|
422
464
|
}
|
|
423
|
-
/**
|
|
424
|
-
* `count` colours derived from `accent`, index-stable.
|
|
425
|
-
*
|
|
426
|
-
* Falls back to the packaged eight when the accent cannot be read — an unthemed
|
|
427
|
-
* grid, or a custom theme whose `--dg-primary` is something this cannot parse
|
|
428
|
-
* (a named colour, `color-mix()`, `oklch()`). Falling back is deliberate: a
|
|
429
|
-
* chart with the wrong-but-readable palette beats a chart of black shapes.
|
|
430
|
-
*
|
|
431
|
-
* A near-grey accent also falls back. Rotating the hue of something with almost
|
|
432
|
-
* no saturation produces eight indistinguishable greys, which is worse than an
|
|
433
|
-
* off-theme palette that can actually be told apart.
|
|
434
|
-
*/
|
|
435
|
-
declare function chartPalette(accent: string | null | undefined, count: number): string[];
|
|
436
465
|
|
|
437
466
|
interface WaterfallStep {
|
|
438
467
|
/** Running total before and after this step. */
|
|
@@ -1344,6 +1373,20 @@ declare function resolveColumnWidthDefaults(defaults?: PivotColumnWidthDefaults)
|
|
|
1344
1373
|
rowHeader: number;
|
|
1345
1374
|
data: number;
|
|
1346
1375
|
};
|
|
1376
|
+
/**
|
|
1377
|
+
* The body row height a `density` paints at — the number BOTH renderers'
|
|
1378
|
+
* virtualizers run on (window, spacers, keyboard scroll). The stylesheet's
|
|
1379
|
+
* `kanuni-pivot-density-*` rules set the matching cell line heights; the two
|
|
1380
|
+
* must agree or the frozen row headers drift away from the data rows. Anything
|
|
1381
|
+
* but `compact` / `comfortable` (unset, `normal`, a typo from plain JS) is the
|
|
1382
|
+
* historical 28px.
|
|
1383
|
+
*/
|
|
1384
|
+
declare function pivotRowHeight(density?: PivotDensity): number;
|
|
1385
|
+
/**
|
|
1386
|
+
* The class a density puts on the grid root (and its popups' hosts). `normal`
|
|
1387
|
+
* and unset add nothing, so a grid without `density` keeps its exact markup.
|
|
1388
|
+
*/
|
|
1389
|
+
declare function pivotDensityClass(density?: PivotDensity): string;
|
|
1347
1390
|
declare const ROW_HEADER_MIN_DATA_STRIP = 160;
|
|
1348
1391
|
declare const ROW_HEADER_MAX_PINNED_FRACTION = 0.6;
|
|
1349
1392
|
/** However tight it gets, a row-header column stays wide enough to read. */
|
|
@@ -1701,11 +1744,21 @@ interface PivotTheme {
|
|
|
1701
1744
|
background?: string;
|
|
1702
1745
|
surface?: string;
|
|
1703
1746
|
surfaceHover?: string;
|
|
1747
|
+
/** Panels (filter area, field areas, footer, dialog headers) — and the column-header band unless `headerBackground` is set. */
|
|
1704
1748
|
surfaceHeader?: string;
|
|
1705
1749
|
border?: string;
|
|
1706
1750
|
text?: string;
|
|
1707
1751
|
textMuted?: string;
|
|
1752
|
+
/** Header text — on the panels, and on the column-header band unless `headerText` is set. */
|
|
1708
1753
|
textHeader?: string;
|
|
1754
|
+
/**
|
|
1755
|
+
* The column-header band alone, apart from the panels: an ink band over light
|
|
1756
|
+
* panels (`headerBackground: '#1e293b', headerText: '#f8fafc'`). Unset, the
|
|
1757
|
+
* band follows `surfaceHeader` / `textHeader` as it always has.
|
|
1758
|
+
*/
|
|
1759
|
+
headerBackground?: string;
|
|
1760
|
+
/** Text on the column-header band; see `headerBackground`. */
|
|
1761
|
+
headerText?: string;
|
|
1709
1762
|
primary?: string;
|
|
1710
1763
|
primaryForeground?: string;
|
|
1711
1764
|
success?: string;
|
|
@@ -1717,6 +1770,12 @@ interface PivotTheme {
|
|
|
1717
1770
|
groupBorder?: string;
|
|
1718
1771
|
iconActive?: string;
|
|
1719
1772
|
}
|
|
1773
|
+
/**
|
|
1774
|
+
* Row rhythm of the grid: `compact` 24px body rows, `normal` 28px (the
|
|
1775
|
+
* default, and what an unset value means), `comfortable` 36px. Independent of
|
|
1776
|
+
* the colours (`theme`).
|
|
1777
|
+
*/
|
|
1778
|
+
type PivotDensity = 'compact' | 'normal' | 'comfortable';
|
|
1720
1779
|
interface CustomSummaryOptions {
|
|
1721
1780
|
summaryProcess: 'start' | 'calculate' | 'finalize';
|
|
1722
1781
|
value: number | null;
|
|
@@ -2581,7 +2640,18 @@ declare class PivotController<TRow> {
|
|
|
2581
2640
|
getRawData(): TRow[];
|
|
2582
2641
|
getEngineResult(): PivotEngineResult | null;
|
|
2583
2642
|
getCell(rowPath: string[], colPath: string[]): PivotCell | null;
|
|
2643
|
+
/**
|
|
2644
|
+
* The click event with the source rows behind the cell as `records`.
|
|
2645
|
+
*
|
|
2646
|
+
* Resolved on first READ, not on the click (6d-16): the rows are found by a
|
|
2647
|
+
* scan of the whole dataset on the main thread, 0.3-0.5 s per click on a
|
|
2648
|
+
* million rows, and a click handler that never reads them paid it anyway.
|
|
2649
|
+
* The scan matches the cell's path first and runs the filters only on the
|
|
2650
|
+
* rows that matched — every filter judges one row at a time, so the order
|
|
2651
|
+
* does not change the result, and a cell is usually a sliver of the data.
|
|
2652
|
+
*/
|
|
2584
2653
|
resolveCellClick(event: CellClickEvent<TRow>): CellClickEvent<TRow>;
|
|
2654
|
+
private recordsAt;
|
|
2585
2655
|
getAreaFields(area: PivotArea): PivotField<TRow>[];
|
|
2586
2656
|
private cellIndexLookups;
|
|
2587
2657
|
private getCellIndexLookup;
|
|
@@ -2887,6 +2957,49 @@ declare function sortPivotTree(nodes: PivotNode[], fields: PivotField<any>[], en
|
|
|
2887
2957
|
*/
|
|
2888
2958
|
declare function collatorFor(locale?: string, numeric?: boolean): Intl.Collator;
|
|
2889
2959
|
|
|
2960
|
+
/** One row of the popup's list: the value as text (the row's key) and as stored. */
|
|
2961
|
+
interface HeaderFilterOption {
|
|
2962
|
+
rawStr: string;
|
|
2963
|
+
rawVal: unknown;
|
|
2964
|
+
}
|
|
2965
|
+
/** The part of a field the popup reads. */
|
|
2966
|
+
interface HeaderFilterState {
|
|
2967
|
+
filterValues?: Set<unknown>;
|
|
2968
|
+
filterType?: 'include' | 'exclude';
|
|
2969
|
+
}
|
|
2970
|
+
/** What OK writes back. */
|
|
2971
|
+
type HeaderFilterWrite = {
|
|
2972
|
+
kind: 'keep';
|
|
2973
|
+
} | {
|
|
2974
|
+
kind: 'clear';
|
|
2975
|
+
} | {
|
|
2976
|
+
kind: 'apply';
|
|
2977
|
+
values: Set<unknown>;
|
|
2978
|
+
filterType: 'include' | 'exclude';
|
|
2979
|
+
};
|
|
2980
|
+
/** The `rawStr` of every option the report shows now — the boxes to tick on open. */
|
|
2981
|
+
declare function headerFilterShown(options: readonly HeaderFilterOption[], field: HeaderFilterState): Set<string>;
|
|
2982
|
+
/**
|
|
2983
|
+
* The write that makes the shown set exactly the ticked set.
|
|
2984
|
+
*
|
|
2985
|
+
* - Nothing changed → `keep`: OK without touching anything must leave the
|
|
2986
|
+
* filter as it was, including values no current row holds (a live update
|
|
2987
|
+
* may still bring them).
|
|
2988
|
+
* - Nothing ticked → `keep`: an empty list cannot be expressed (an empty
|
|
2989
|
+
* `filterValues` means "no filter"), so the popup disables OK instead.
|
|
2990
|
+
* - All ticked → `clear`.
|
|
2991
|
+
* - A field that already has a filter keeps its mode: exclude lists the
|
|
2992
|
+
* unticked values, include the ticked ones.
|
|
2993
|
+
* - A field with no filter yet gets whichever list is SHORTER — exclude when
|
|
2994
|
+
* fewer values are unticked than ticked, include otherwise (ties: include).
|
|
2995
|
+
* Unticking three fee rows out of thousands of products stores three
|
|
2996
|
+
* values, not thousands.
|
|
2997
|
+
*
|
|
2998
|
+
* Each listed option contributes its `rawStr` and its `rawVal`, as the popup
|
|
2999
|
+
* always wrote (a number field stores both `'10'` and `10`).
|
|
3000
|
+
*/
|
|
3001
|
+
declare function headerFilterWrite(options: readonly HeaderFilterOption[], ticked: ReadonlySet<string>, field: HeaderFilterState): HeaderFilterWrite;
|
|
3002
|
+
|
|
2890
3003
|
declare function executePostAggregationPhase<TRow>(engineResult: PivotEngineResult, dataFields: PivotField<TRow>[], registry?: PivotEngineRegistry): void;
|
|
2891
3004
|
declare function executeSummaryDisplayModesPhase<TRow>(engineResult: PivotEngineResult, dataFields: PivotField<TRow>[]): void;
|
|
2892
3005
|
|
|
@@ -3514,4 +3627,4 @@ declare function rollupInMemory<TRow>(rows: readonly TRow[], request: PivotServe
|
|
|
3514
3627
|
/** Every value of a field in rows held in memory — the reference `loadFieldValues`. */
|
|
3515
3628
|
declare function fieldValuesInMemory<TRow>(rows: readonly TRow[], field: PivotServerField): unknown[];
|
|
3516
3629
|
|
|
3517
|
-
export { type AdvancedExportRequest, type AdvancedExporter, CHART_LEGEND_POSITIONS, 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 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 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 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, 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, pivotRowTrend, pivotServerSource, pt, rangeBarMarks, rangeRatio, readChartFormat, readFrameRect, readPivotChartState, reconfigurePivotEngineAsync, registerAdvancedExporter, 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 };
|
|
3630
|
+
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 };
|
package/dist/index.d.ts
CHANGED
|
@@ -320,6 +320,35 @@ declare function percentAxisTicks(min: number): number[];
|
|
|
320
320
|
* nearer the axis.
|
|
321
321
|
*/
|
|
322
322
|
declare function stackSeries(series: ReadonlyArray<ArrayLike<number>>, mode: Exclude<ChartStacking, 'grouped'>, include?: (index: number) => boolean): Array<StackedSegment | null>;
|
|
323
|
+
/**
|
|
324
|
+
* `count` colours derived from `accent`, index-stable.
|
|
325
|
+
*
|
|
326
|
+
* Falls back to the packaged eight when the accent cannot be read — an unthemed
|
|
327
|
+
* grid, or a custom theme whose `--dg-primary` is something this cannot parse
|
|
328
|
+
* (a named colour, `color-mix()`, `oklch()`). Falling back is deliberate: a
|
|
329
|
+
* chart with the wrong-but-readable palette beats a chart of black shapes.
|
|
330
|
+
*
|
|
331
|
+
* A near-grey accent also falls back. Rotating the hue of something with almost
|
|
332
|
+
* no saturation produces eight indistinguishable greys, which is worse than an
|
|
333
|
+
* off-theme palette that can actually be told apart.
|
|
334
|
+
*/
|
|
335
|
+
declare function chartPalette(accent: string | null | undefined, count: number): string[];
|
|
336
|
+
/** The series palettes a chart offers by name. */
|
|
337
|
+
type ChartPaletteName = 'theme' | 'classic' | 'colorblind' | 'vivid' | 'monochrome';
|
|
338
|
+
declare const CHART_PALETTE_NAMES: readonly ChartPaletteName[];
|
|
339
|
+
/**
|
|
340
|
+
* The series colours for a chart, `count` long and index-stable.
|
|
341
|
+
*
|
|
342
|
+
* @param choice the chart format's `palette` and `colors` (both optional)
|
|
343
|
+
* @param accent the grid's accent, as read from its tokens (`theme` derives from it)
|
|
344
|
+
* @param surface the chart's background, as read from its tokens — the floor
|
|
345
|
+
* named palettes keep their contrast against; without it they
|
|
346
|
+
* are used as listed
|
|
347
|
+
*/
|
|
348
|
+
declare function resolveChartPalette(choice: {
|
|
349
|
+
palette?: ChartPaletteName;
|
|
350
|
+
colors?: readonly string[];
|
|
351
|
+
} | null | undefined, accent: string | null | undefined, surface: string | null | undefined, count: number): string[];
|
|
323
352
|
|
|
324
353
|
/** Where the legend sits around the plot, or `'none'` to hide it. */
|
|
325
354
|
type ChartLegendPosition = 'top' | 'bottom' | 'left' | 'right' | 'none';
|
|
@@ -378,6 +407,19 @@ interface ChartFormat {
|
|
|
378
407
|
* browser. Absent: the grouping's own labels ("2026-03", "2026-Q1").
|
|
379
408
|
*/
|
|
380
409
|
dateFormat?: ChartDateFormat;
|
|
410
|
+
/**
|
|
411
|
+
* Series colours by name (rival analysis, charts §E.4 #54): `'theme'` (the
|
|
412
|
+
* default — derived from the grid's accent), `'classic'`, `'colorblind'`,
|
|
413
|
+
* `'vivid'` or `'monochrome'`. Named palettes keep 3:1 contrast against the
|
|
414
|
+
* chart background.
|
|
415
|
+
*/
|
|
416
|
+
palette?: ChartPaletteName;
|
|
417
|
+
/**
|
|
418
|
+
* The app's own series colours, as `#rgb` / `#rrggbb`, used in order and
|
|
419
|
+
* repeated — they win over `palette`. Set it through `defaultFormat` to give
|
|
420
|
+
* every chart a brand palette.
|
|
421
|
+
*/
|
|
422
|
+
colors?: string[];
|
|
381
423
|
}
|
|
382
424
|
/**
|
|
383
425
|
* The date presets an axis offers. Each is an `Intl.DateTimeFormat` shape, so
|
|
@@ -420,19 +462,6 @@ interface ChartImageRequest {
|
|
|
420
462
|
/** Background colour; `null` keeps transparency (not for JPEG). Default white. */
|
|
421
463
|
background?: string | null;
|
|
422
464
|
}
|
|
423
|
-
/**
|
|
424
|
-
* `count` colours derived from `accent`, index-stable.
|
|
425
|
-
*
|
|
426
|
-
* Falls back to the packaged eight when the accent cannot be read — an unthemed
|
|
427
|
-
* grid, or a custom theme whose `--dg-primary` is something this cannot parse
|
|
428
|
-
* (a named colour, `color-mix()`, `oklch()`). Falling back is deliberate: a
|
|
429
|
-
* chart with the wrong-but-readable palette beats a chart of black shapes.
|
|
430
|
-
*
|
|
431
|
-
* A near-grey accent also falls back. Rotating the hue of something with almost
|
|
432
|
-
* no saturation produces eight indistinguishable greys, which is worse than an
|
|
433
|
-
* off-theme palette that can actually be told apart.
|
|
434
|
-
*/
|
|
435
|
-
declare function chartPalette(accent: string | null | undefined, count: number): string[];
|
|
436
465
|
|
|
437
466
|
interface WaterfallStep {
|
|
438
467
|
/** Running total before and after this step. */
|
|
@@ -1344,6 +1373,20 @@ declare function resolveColumnWidthDefaults(defaults?: PivotColumnWidthDefaults)
|
|
|
1344
1373
|
rowHeader: number;
|
|
1345
1374
|
data: number;
|
|
1346
1375
|
};
|
|
1376
|
+
/**
|
|
1377
|
+
* The body row height a `density` paints at — the number BOTH renderers'
|
|
1378
|
+
* virtualizers run on (window, spacers, keyboard scroll). The stylesheet's
|
|
1379
|
+
* `kanuni-pivot-density-*` rules set the matching cell line heights; the two
|
|
1380
|
+
* must agree or the frozen row headers drift away from the data rows. Anything
|
|
1381
|
+
* but `compact` / `comfortable` (unset, `normal`, a typo from plain JS) is the
|
|
1382
|
+
* historical 28px.
|
|
1383
|
+
*/
|
|
1384
|
+
declare function pivotRowHeight(density?: PivotDensity): number;
|
|
1385
|
+
/**
|
|
1386
|
+
* The class a density puts on the grid root (and its popups' hosts). `normal`
|
|
1387
|
+
* and unset add nothing, so a grid without `density` keeps its exact markup.
|
|
1388
|
+
*/
|
|
1389
|
+
declare function pivotDensityClass(density?: PivotDensity): string;
|
|
1347
1390
|
declare const ROW_HEADER_MIN_DATA_STRIP = 160;
|
|
1348
1391
|
declare const ROW_HEADER_MAX_PINNED_FRACTION = 0.6;
|
|
1349
1392
|
/** However tight it gets, a row-header column stays wide enough to read. */
|
|
@@ -1701,11 +1744,21 @@ interface PivotTheme {
|
|
|
1701
1744
|
background?: string;
|
|
1702
1745
|
surface?: string;
|
|
1703
1746
|
surfaceHover?: string;
|
|
1747
|
+
/** Panels (filter area, field areas, footer, dialog headers) — and the column-header band unless `headerBackground` is set. */
|
|
1704
1748
|
surfaceHeader?: string;
|
|
1705
1749
|
border?: string;
|
|
1706
1750
|
text?: string;
|
|
1707
1751
|
textMuted?: string;
|
|
1752
|
+
/** Header text — on the panels, and on the column-header band unless `headerText` is set. */
|
|
1708
1753
|
textHeader?: string;
|
|
1754
|
+
/**
|
|
1755
|
+
* The column-header band alone, apart from the panels: an ink band over light
|
|
1756
|
+
* panels (`headerBackground: '#1e293b', headerText: '#f8fafc'`). Unset, the
|
|
1757
|
+
* band follows `surfaceHeader` / `textHeader` as it always has.
|
|
1758
|
+
*/
|
|
1759
|
+
headerBackground?: string;
|
|
1760
|
+
/** Text on the column-header band; see `headerBackground`. */
|
|
1761
|
+
headerText?: string;
|
|
1709
1762
|
primary?: string;
|
|
1710
1763
|
primaryForeground?: string;
|
|
1711
1764
|
success?: string;
|
|
@@ -1717,6 +1770,12 @@ interface PivotTheme {
|
|
|
1717
1770
|
groupBorder?: string;
|
|
1718
1771
|
iconActive?: string;
|
|
1719
1772
|
}
|
|
1773
|
+
/**
|
|
1774
|
+
* Row rhythm of the grid: `compact` 24px body rows, `normal` 28px (the
|
|
1775
|
+
* default, and what an unset value means), `comfortable` 36px. Independent of
|
|
1776
|
+
* the colours (`theme`).
|
|
1777
|
+
*/
|
|
1778
|
+
type PivotDensity = 'compact' | 'normal' | 'comfortable';
|
|
1720
1779
|
interface CustomSummaryOptions {
|
|
1721
1780
|
summaryProcess: 'start' | 'calculate' | 'finalize';
|
|
1722
1781
|
value: number | null;
|
|
@@ -2581,7 +2640,18 @@ declare class PivotController<TRow> {
|
|
|
2581
2640
|
getRawData(): TRow[];
|
|
2582
2641
|
getEngineResult(): PivotEngineResult | null;
|
|
2583
2642
|
getCell(rowPath: string[], colPath: string[]): PivotCell | null;
|
|
2643
|
+
/**
|
|
2644
|
+
* The click event with the source rows behind the cell as `records`.
|
|
2645
|
+
*
|
|
2646
|
+
* Resolved on first READ, not on the click (6d-16): the rows are found by a
|
|
2647
|
+
* scan of the whole dataset on the main thread, 0.3-0.5 s per click on a
|
|
2648
|
+
* million rows, and a click handler that never reads them paid it anyway.
|
|
2649
|
+
* The scan matches the cell's path first and runs the filters only on the
|
|
2650
|
+
* rows that matched — every filter judges one row at a time, so the order
|
|
2651
|
+
* does not change the result, and a cell is usually a sliver of the data.
|
|
2652
|
+
*/
|
|
2584
2653
|
resolveCellClick(event: CellClickEvent<TRow>): CellClickEvent<TRow>;
|
|
2654
|
+
private recordsAt;
|
|
2585
2655
|
getAreaFields(area: PivotArea): PivotField<TRow>[];
|
|
2586
2656
|
private cellIndexLookups;
|
|
2587
2657
|
private getCellIndexLookup;
|
|
@@ -2887,6 +2957,49 @@ declare function sortPivotTree(nodes: PivotNode[], fields: PivotField<any>[], en
|
|
|
2887
2957
|
*/
|
|
2888
2958
|
declare function collatorFor(locale?: string, numeric?: boolean): Intl.Collator;
|
|
2889
2959
|
|
|
2960
|
+
/** One row of the popup's list: the value as text (the row's key) and as stored. */
|
|
2961
|
+
interface HeaderFilterOption {
|
|
2962
|
+
rawStr: string;
|
|
2963
|
+
rawVal: unknown;
|
|
2964
|
+
}
|
|
2965
|
+
/** The part of a field the popup reads. */
|
|
2966
|
+
interface HeaderFilterState {
|
|
2967
|
+
filterValues?: Set<unknown>;
|
|
2968
|
+
filterType?: 'include' | 'exclude';
|
|
2969
|
+
}
|
|
2970
|
+
/** What OK writes back. */
|
|
2971
|
+
type HeaderFilterWrite = {
|
|
2972
|
+
kind: 'keep';
|
|
2973
|
+
} | {
|
|
2974
|
+
kind: 'clear';
|
|
2975
|
+
} | {
|
|
2976
|
+
kind: 'apply';
|
|
2977
|
+
values: Set<unknown>;
|
|
2978
|
+
filterType: 'include' | 'exclude';
|
|
2979
|
+
};
|
|
2980
|
+
/** The `rawStr` of every option the report shows now — the boxes to tick on open. */
|
|
2981
|
+
declare function headerFilterShown(options: readonly HeaderFilterOption[], field: HeaderFilterState): Set<string>;
|
|
2982
|
+
/**
|
|
2983
|
+
* The write that makes the shown set exactly the ticked set.
|
|
2984
|
+
*
|
|
2985
|
+
* - Nothing changed → `keep`: OK without touching anything must leave the
|
|
2986
|
+
* filter as it was, including values no current row holds (a live update
|
|
2987
|
+
* may still bring them).
|
|
2988
|
+
* - Nothing ticked → `keep`: an empty list cannot be expressed (an empty
|
|
2989
|
+
* `filterValues` means "no filter"), so the popup disables OK instead.
|
|
2990
|
+
* - All ticked → `clear`.
|
|
2991
|
+
* - A field that already has a filter keeps its mode: exclude lists the
|
|
2992
|
+
* unticked values, include the ticked ones.
|
|
2993
|
+
* - A field with no filter yet gets whichever list is SHORTER — exclude when
|
|
2994
|
+
* fewer values are unticked than ticked, include otherwise (ties: include).
|
|
2995
|
+
* Unticking three fee rows out of thousands of products stores three
|
|
2996
|
+
* values, not thousands.
|
|
2997
|
+
*
|
|
2998
|
+
* Each listed option contributes its `rawStr` and its `rawVal`, as the popup
|
|
2999
|
+
* always wrote (a number field stores both `'10'` and `10`).
|
|
3000
|
+
*/
|
|
3001
|
+
declare function headerFilterWrite(options: readonly HeaderFilterOption[], ticked: ReadonlySet<string>, field: HeaderFilterState): HeaderFilterWrite;
|
|
3002
|
+
|
|
2890
3003
|
declare function executePostAggregationPhase<TRow>(engineResult: PivotEngineResult, dataFields: PivotField<TRow>[], registry?: PivotEngineRegistry): void;
|
|
2891
3004
|
declare function executeSummaryDisplayModesPhase<TRow>(engineResult: PivotEngineResult, dataFields: PivotField<TRow>[]): void;
|
|
2892
3005
|
|
|
@@ -3514,4 +3627,4 @@ declare function rollupInMemory<TRow>(rows: readonly TRow[], request: PivotServe
|
|
|
3514
3627
|
/** Every value of a field in rows held in memory — the reference `loadFieldValues`. */
|
|
3515
3628
|
declare function fieldValuesInMemory<TRow>(rows: readonly TRow[], field: PivotServerField): unknown[];
|
|
3516
3629
|
|
|
3517
|
-
export { type AdvancedExportRequest, type AdvancedExporter, CHART_LEGEND_POSITIONS, 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 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 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 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, 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, pivotRowTrend, pivotServerSource, pt, rangeBarMarks, rangeRatio, readChartFormat, readFrameRect, readPivotChartState, reconfigurePivotEngineAsync, registerAdvancedExporter, 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 };
|
|
3630
|
+
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 };
|