@kanunilabs/pivotgrid-core 1.11.0 → 1.11.2

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.d.cts CHANGED
@@ -1390,6 +1390,13 @@ declare function pivotRowHeight(density?: PivotDensity): number;
1390
1390
  * and unset add nothing, so a grid without `density` keeps its exact markup.
1391
1391
  */
1392
1392
  declare function pivotDensityClass(density?: PivotDensity): string;
1393
+ /**
1394
+ * The theme a grid paints with once `palette` and `dark` are folded in: both
1395
+ * name a stylesheet through the `data-theme` id the renderers already put on
1396
+ * the root and every popup. `palette` (a colour scheme) wins, as it decides its
1397
+ * own mode; `dark` alone picks the built-in `kanuni-dark` (2026-10-16).
1398
+ */
1399
+ declare function pivotSchemeTheme(theme: PivotTheme | undefined, palette?: string, dark?: boolean): PivotTheme | undefined;
1393
1400
  declare const ROW_HEADER_MIN_DATA_STRIP = 160;
1394
1401
  declare const ROW_HEADER_MAX_PINNED_FRACTION = 0.6;
1395
1402
  /** However tight it gets, a row-header column stays wide enough to read. */
@@ -1623,6 +1630,24 @@ interface ExportOptions {
1623
1630
  includeHiddenFields?: boolean;
1624
1631
  /** Locale for formatting. */
1625
1632
  locale?: string;
1633
+ /**
1634
+ * Asked before a styled Excel export gives way to the plain one (B.23): a
1635
+ * list over 100,000 rows or a pivot over 150,000 cells is written as
1636
+ * SpreadsheetML (.xls) without conditional formats, outline levels, the
1637
+ * frozen pane or column widths. Return `false` (or a Promise of it) to write
1638
+ * nothing; anything else goes on. The grid's own `onLargeExport` is used
1639
+ * when the call gives none.
1640
+ */
1641
+ onLargeExport?: (info: LargeExportInfo) => boolean | void | Promise<boolean | void>;
1642
+ }
1643
+ /** What {@link ExportOptions.onLargeExport} is told. */
1644
+ interface LargeExportInfo {
1645
+ format: 'excel-list' | 'excel-pivot';
1646
+ /** Rows (`excel-list`) or engine cells (`excel-pivot`). */
1647
+ size: number;
1648
+ /** The threshold it is over: 100,000 rows or 150,000 cells. */
1649
+ limit: number;
1650
+ unit: 'rows' | 'cells';
1626
1651
  }
1627
1652
  declare function exportPivotData<TRow>(format: ExportFormat, data: TRow[], fields: PivotField<TRow>[], engineResult: PivotEngineResult, layout: PivotLayoutState, expandedPaths: Set<string>, expandedColPaths: Set<string>, fileName?: string, locale?: string, options?: ExportOptions): Promise<void>;
1628
1653
  declare function escapeXmlText(value: string): string;
@@ -1782,7 +1807,7 @@ interface PivotTheme {
1782
1807
  * default, and what an unset value means), `comfortable` 36px. Independent of
1783
1808
  * the colours (`theme`).
1784
1809
  */
1785
- type PivotDensity = 'compact' | 'normal' | 'comfortable';
1810
+ type PivotDensity = 'compact' | 'normal' | 'comfortable' | 'touch';
1786
1811
  interface CustomSummaryOptions {
1787
1812
  summaryProcess: 'start' | 'calculate' | 'finalize';
1788
1813
  value: number | null;
@@ -1819,6 +1844,20 @@ interface PivotField<TRow = any, TCellTemplate = PivotCellTemplate, TStyle = any
1819
1844
  area?: PivotArea;
1820
1845
  /** Position index within the area. */
1821
1846
  areaIndex?: number;
1847
+ /**
1848
+ * A data field that is computed but never shown (Tekax B.21): a summary
1849
+ * formula reads it (`[Amount] / [Qty]` with Amount and Qty as helpers), but
1850
+ * it has no column on screen or in an export, no chip in the data area and
1851
+ * no entry in the field chooser. Put it in `area: 'data'`.
1852
+ */
1853
+ helper?: boolean;
1854
+ /**
1855
+ * Fields with the same `group` move as one (Enterprise, Tekax B.26): drag,
1856
+ * menu or API, the group lands side by side in one area. `groupIndex`
1857
+ * orders the members (otherwise their order in the field list).
1858
+ */
1859
+ group?: string;
1860
+ groupIndex?: number;
1822
1861
  /** Whether the field is visible in the field chooser. */
1823
1862
  visible?: boolean;
1824
1863
  /**
@@ -2144,6 +2183,8 @@ interface PivotControllerCallbacks<TRow = any> {
2144
2183
  onBeforePivotCalculate?: () => void;
2145
2184
  onAfterPivotCalculate?: (result: PivotEngineResult) => void;
2146
2185
  onExporting?: (e: ExportingEvent) => void;
2186
+ /** Before a styled Excel export gives way to the plain one; `false` cancels (B.23). See `ExportOptions.onLargeExport`. */
2187
+ onLargeExport?: ExportOptions['onLargeExport'];
2147
2188
  onError?: (error: Error) => void;
2148
2189
  onChartStateLoaded?: (chartState: any) => void;
2149
2190
  }
@@ -2655,6 +2696,8 @@ declare class PivotController<TRow> {
2655
2696
  clearAllSorting(): void;
2656
2697
  applyFilter(fieldId: string, selectedValues: Set<any>, filterType: 'include' | 'exclude'): void;
2657
2698
  clearFilter(fieldId: string): void;
2699
+ /** Every field's filter — values, value and label filters — off in one change (B.28). The prefilter stays. */
2700
+ clearAllFilters(): void;
2658
2701
  /**
2659
2702
  * Quick search: show only the row members whose caption contains `text`
2660
2703
  * (ignoring case and accents), with the members above them. A view on top
@@ -2774,6 +2817,11 @@ declare class PivotController<TRow> {
2774
2817
  */
2775
2818
  private static readonly ENTERPRISE_FORMATS;
2776
2819
  exportData(format: ExportFormat | string, options?: ExportOptions): Promise<void>;
2820
+ /**
2821
+ * A result computed on request — every row and column open (`all`) or as
2822
+ * on screen — with the filters applied; the live grid is not touched.
2823
+ */
2824
+ computeSnapshot(all?: boolean): Promise<PivotEngineResult>;
2777
2825
  getRawData(): TRow[];
2778
2826
  getEngineResult(): PivotEngineResult | null;
2779
2827
  getCell(rowPath: string[], colPath: string[]): PivotCell | null;
@@ -2788,7 +2836,18 @@ declare class PivotController<TRow> {
2788
2836
  * does not change the result, and a cell is usually a sliver of the data.
2789
2837
  */
2790
2838
  resolveCellClick(event: CellClickEvent<TRow>): CellClickEvent<TRow>;
2791
- private recordsAt;
2839
+ /**
2840
+ * The source rows behind one cell — its row and column path — with the
2841
+ * filters and the prefilter applied: what `cellClick`'s `records` holds.
2842
+ * An empty path is that axis's grand total. No event is fired.
2843
+ */
2844
+ getCellRecords(rowPath: string[], colPath: string[]): TRow[];
2845
+ /**
2846
+ * The fields in `area`, in order. For `'data'` this is what the ENGINE
2847
+ * computes: helper fields (`helper: true`, B.21) come last, after every shown
2848
+ * one, and their columns are cut from the result once the summary formulas
2849
+ * have read them — what is drawn is {@link shownFields}.
2850
+ */
2792
2851
  getAreaFields(area: PivotArea): PivotField<TRow>[];
2793
2852
  private cellIndexLookups;
2794
2853
  private getCellIndexLookup;
@@ -3176,6 +3235,79 @@ declare function percentModeText(value: number, field: PivotField<any> | undefin
3176
3235
  /** The Excel number format for the same case — the value stays 0-100, so the sign is literal. */
3177
3236
  declare function percentModeExcelNumFmt(field: PivotField<any> | undefined): string | undefined;
3178
3237
 
3238
+ /**
3239
+ * The fields a screen shows: helper data fields (`helper: true`, B.21) are
3240
+ * computed but have no column, chip or chooser entry. The same array comes
3241
+ * back when there is none, so a memo keyed on it does not churn.
3242
+ */
3243
+ declare function shownFields<T extends {
3244
+ helper?: boolean;
3245
+ }>(fields: T[]): T[];
3246
+
3247
+ interface PivotSummaryColumn {
3248
+ /** The field's id — the key of this column in every row. */
3249
+ id: string;
3250
+ caption: string;
3251
+ /** A row-area field (a level of the grouping) or a data field (a value). */
3252
+ kind: 'row' | 'data';
3253
+ field: PivotField;
3254
+ }
3255
+ interface PivotSummaryTable {
3256
+ /** Row fields in their order, then the shown data fields in theirs. */
3257
+ columns: PivotSummaryColumn[];
3258
+ /** One per deepest combination; values are numbers, a blank summary is `null`. */
3259
+ rows: Array<Record<string, PivotValue | number | null>>;
3260
+ }
3261
+ /**
3262
+ * The summary as a flat table: every deepest row combination × the shown data
3263
+ * fields, with the filters applied and regardless of what is expanded.
3264
+ * Enterprise; throws on a Community grid.
3265
+ */
3266
+ declare function getSummaryTable(controller: PivotController<any>): Promise<PivotSummaryTable>;
3267
+
3268
+ interface CellPath {
3269
+ rowPath: readonly string[];
3270
+ colPath: readonly string[];
3271
+ }
3272
+ /**
3273
+ * The source rows behind these cells, filters applied, each row once and in
3274
+ * source order. Enterprise; throws on a Community grid.
3275
+ */
3276
+ declare function getRecordsForCells<TRow>(controller: PivotController<TRow>, cells: readonly CellPath[]): TRow[];
3277
+
3278
+ /**
3279
+ * `next` with every split group put back together: all members in the area
3280
+ * of the member that moved (compared with `prev`), side by side at its place,
3281
+ * in group order. The same array when no group is split.
3282
+ */
3283
+ declare function keepFieldGroups<T extends PivotField<any>>(prev: readonly T[], next: T[]): T[];
3284
+
3285
+ /** A state's filters: per field id, and the prefilter. Plain JSON. */
3286
+ interface PersistedPivotFilters {
3287
+ fields: Record<string, {
3288
+ filterValues?: unknown[] | null;
3289
+ filterType?: string;
3290
+ valueFilter?: unknown;
3291
+ labelFilter?: unknown;
3292
+ }>;
3293
+ prefilter?: unknown;
3294
+ }
3295
+ /**
3296
+ * Cut a `getPersistedState()` snapshot in two: `layout` (everything but the
3297
+ * filters — fields and their areas, order, sorting, summaries, widths, open
3298
+ * members, parts) and `filters` (each field's filter and the prefilter).
3299
+ */
3300
+ declare function splitPersistedState(state: PersistedPivotState): {
3301
+ layout: PersistedPivotState;
3302
+ filters: PersistedPivotFilters;
3303
+ };
3304
+ /**
3305
+ * One state from the two parts, for `applyPersistedState`: the layout with
3306
+ * these filters. A field the layout does not have drops its filter; without
3307
+ * `filters` (or a field missing from it) the field has none.
3308
+ */
3309
+ declare function mergePersistedState(layout: PersistedPivotState, filters?: PersistedPivotFilters | null): PersistedPivotState;
3310
+
3179
3311
  type CalculatedFieldTextKey = 'createFormulasWithoutCode' | 'measureName' | 'numericStandard' | 'numericDecimal' | 'currencyTRY' | 'currencyUSD' | 'measureNamePlaceholder' | 'customFormat' | 'customPrefix' | 'customSuffix' | 'minFraction' | 'maxFraction' | 'calculationLevel' | 'calcRowLevel' | 'calcSummaryLevel' | 'noFieldsFound' | 'deleteCalcField' | 'formulaPlaceholder' | 'saveAndAdd' | 'measureNameEmpty' | 'formulaEmpty' | 'formulaError' | 'calcRowLevelHint' | 'calcSummaryLevelHint' | 'formulaValid' | 'calcFieldsHint' | 'formulaUses';
3180
3312
  /** The designer's text for `key` in `locale` (`tr-TR` → `tr`, `zh` → `zh-CN`), or undefined. */
3181
3313
  declare function calculatedFieldText(locale: string | undefined, key: string): string | undefined;
@@ -3220,6 +3352,8 @@ interface AdvancedExportRequest {
3220
3352
  locale: string;
3221
3353
  signal?: AbortSignal;
3222
3354
  onProgress?: (percent: number) => void;
3355
+ /** Asked before the plain-file fallback (B.23); `false` cancels. */
3356
+ onLargeExport?: ExportOptions['onLargeExport'];
3223
3357
  }
3224
3358
  type AdvancedExporter = (req: AdvancedExportRequest) => Promise<void>;
3225
3359
  /** Called by the Enterprise package to enable Excel/PDF export. */
@@ -3778,4 +3912,4 @@ declare function rollupInMemory<TRow>(rows: readonly TRow[], request: PivotServe
3778
3912
  /** Every value of a field in rows held in memory — the reference `loadFieldValues`. */
3779
3913
  declare function fieldValuesInMemory<TRow>(rows: readonly TRow[], field: PivotServerField): unknown[];
3780
3914
 
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 };
3915
+ export { type AdvancedExportRequest, type AdvancedExporter, CHART_LEGEND_POSITIONS, CHART_PALETTE_NAMES, type CalculatedFieldTextKey, type CellClickEvent, type CellPath, 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, type LargeExportInfo, MAX_C, type MarkTone, PIVOT_AI_FEATURES, PIVOT_STATE_VERSION, type ParseFileOptions, type PersistedPivotFilters, 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 PivotSummaryColumn, type PivotSummaryDisplayMode, type PivotSummaryTable, 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, getRecordsForCells, getSummaryTable, getVisibleColLeaves, getVisibleColSlots, getVisibleLeafCount, getVisibleMaxDepth, headerFilterShown, headerFilterWrite, heatColor, heatTextColor, heatmapMarks, histogramBins, histogramMarks, inferColumnType, initPivotEngineAsync, intlFormatToExcelNumFmt, invertRowHeaderWidth, it, ja, keepFieldGroups, ko, logAxisTicks, mergePersistedState, nextChartWindowId, nextLiveText, pairSeriesForXY, parseBoolean, parseColor, parseCsvToRows, parseDelimited, parseFlexibleDate, parseLocaleNumber, percentAxisTicks, percentModeExcelNumFmt, percentModeText, pivotChangeAnnouncement, pivotDensityClass, pivotRowHeight, pivotRowTrend, pivotSchemeTheme, pivotServerSource, pt, rangeBarMarks, rangeRatio, readChartFormat, readFrameRect, readPivotChartState, reconfigurePivotEngineAsync, registerAdvancedExporter, resolveChartPalette, resolveChartStyle, resolveColPath, resolveColumnWidthDefaults, resolveConditionalVisual, rollupInMemory, ru, safeKey, sanitizeRows, scaleColor, serverRequestFor, setActiveEngineGrid, shownFields, sortPivotTree, splitPersistedState, squarify, stackSeries, stripBom, sunburstMarks, testSafeFormula, tr, treemapMarks, trendColumnPaths, trendShape, waterfallDomain, waterfallMarks, waterfallSteps, windowStartFor, zhCN };
package/dist/index.d.ts CHANGED
@@ -1390,6 +1390,13 @@ declare function pivotRowHeight(density?: PivotDensity): number;
1390
1390
  * and unset add nothing, so a grid without `density` keeps its exact markup.
1391
1391
  */
1392
1392
  declare function pivotDensityClass(density?: PivotDensity): string;
1393
+ /**
1394
+ * The theme a grid paints with once `palette` and `dark` are folded in: both
1395
+ * name a stylesheet through the `data-theme` id the renderers already put on
1396
+ * the root and every popup. `palette` (a colour scheme) wins, as it decides its
1397
+ * own mode; `dark` alone picks the built-in `kanuni-dark` (2026-10-16).
1398
+ */
1399
+ declare function pivotSchemeTheme(theme: PivotTheme | undefined, palette?: string, dark?: boolean): PivotTheme | undefined;
1393
1400
  declare const ROW_HEADER_MIN_DATA_STRIP = 160;
1394
1401
  declare const ROW_HEADER_MAX_PINNED_FRACTION = 0.6;
1395
1402
  /** However tight it gets, a row-header column stays wide enough to read. */
@@ -1623,6 +1630,24 @@ interface ExportOptions {
1623
1630
  includeHiddenFields?: boolean;
1624
1631
  /** Locale for formatting. */
1625
1632
  locale?: string;
1633
+ /**
1634
+ * Asked before a styled Excel export gives way to the plain one (B.23): a
1635
+ * list over 100,000 rows or a pivot over 150,000 cells is written as
1636
+ * SpreadsheetML (.xls) without conditional formats, outline levels, the
1637
+ * frozen pane or column widths. Return `false` (or a Promise of it) to write
1638
+ * nothing; anything else goes on. The grid's own `onLargeExport` is used
1639
+ * when the call gives none.
1640
+ */
1641
+ onLargeExport?: (info: LargeExportInfo) => boolean | void | Promise<boolean | void>;
1642
+ }
1643
+ /** What {@link ExportOptions.onLargeExport} is told. */
1644
+ interface LargeExportInfo {
1645
+ format: 'excel-list' | 'excel-pivot';
1646
+ /** Rows (`excel-list`) or engine cells (`excel-pivot`). */
1647
+ size: number;
1648
+ /** The threshold it is over: 100,000 rows or 150,000 cells. */
1649
+ limit: number;
1650
+ unit: 'rows' | 'cells';
1626
1651
  }
1627
1652
  declare function exportPivotData<TRow>(format: ExportFormat, data: TRow[], fields: PivotField<TRow>[], engineResult: PivotEngineResult, layout: PivotLayoutState, expandedPaths: Set<string>, expandedColPaths: Set<string>, fileName?: string, locale?: string, options?: ExportOptions): Promise<void>;
1628
1653
  declare function escapeXmlText(value: string): string;
@@ -1782,7 +1807,7 @@ interface PivotTheme {
1782
1807
  * default, and what an unset value means), `comfortable` 36px. Independent of
1783
1808
  * the colours (`theme`).
1784
1809
  */
1785
- type PivotDensity = 'compact' | 'normal' | 'comfortable';
1810
+ type PivotDensity = 'compact' | 'normal' | 'comfortable' | 'touch';
1786
1811
  interface CustomSummaryOptions {
1787
1812
  summaryProcess: 'start' | 'calculate' | 'finalize';
1788
1813
  value: number | null;
@@ -1819,6 +1844,20 @@ interface PivotField<TRow = any, TCellTemplate = PivotCellTemplate, TStyle = any
1819
1844
  area?: PivotArea;
1820
1845
  /** Position index within the area. */
1821
1846
  areaIndex?: number;
1847
+ /**
1848
+ * A data field that is computed but never shown (Tekax B.21): a summary
1849
+ * formula reads it (`[Amount] / [Qty]` with Amount and Qty as helpers), but
1850
+ * it has no column on screen or in an export, no chip in the data area and
1851
+ * no entry in the field chooser. Put it in `area: 'data'`.
1852
+ */
1853
+ helper?: boolean;
1854
+ /**
1855
+ * Fields with the same `group` move as one (Enterprise, Tekax B.26): drag,
1856
+ * menu or API, the group lands side by side in one area. `groupIndex`
1857
+ * orders the members (otherwise their order in the field list).
1858
+ */
1859
+ group?: string;
1860
+ groupIndex?: number;
1822
1861
  /** Whether the field is visible in the field chooser. */
1823
1862
  visible?: boolean;
1824
1863
  /**
@@ -2144,6 +2183,8 @@ interface PivotControllerCallbacks<TRow = any> {
2144
2183
  onBeforePivotCalculate?: () => void;
2145
2184
  onAfterPivotCalculate?: (result: PivotEngineResult) => void;
2146
2185
  onExporting?: (e: ExportingEvent) => void;
2186
+ /** Before a styled Excel export gives way to the plain one; `false` cancels (B.23). See `ExportOptions.onLargeExport`. */
2187
+ onLargeExport?: ExportOptions['onLargeExport'];
2147
2188
  onError?: (error: Error) => void;
2148
2189
  onChartStateLoaded?: (chartState: any) => void;
2149
2190
  }
@@ -2655,6 +2696,8 @@ declare class PivotController<TRow> {
2655
2696
  clearAllSorting(): void;
2656
2697
  applyFilter(fieldId: string, selectedValues: Set<any>, filterType: 'include' | 'exclude'): void;
2657
2698
  clearFilter(fieldId: string): void;
2699
+ /** Every field's filter — values, value and label filters — off in one change (B.28). The prefilter stays. */
2700
+ clearAllFilters(): void;
2658
2701
  /**
2659
2702
  * Quick search: show only the row members whose caption contains `text`
2660
2703
  * (ignoring case and accents), with the members above them. A view on top
@@ -2774,6 +2817,11 @@ declare class PivotController<TRow> {
2774
2817
  */
2775
2818
  private static readonly ENTERPRISE_FORMATS;
2776
2819
  exportData(format: ExportFormat | string, options?: ExportOptions): Promise<void>;
2820
+ /**
2821
+ * A result computed on request — every row and column open (`all`) or as
2822
+ * on screen — with the filters applied; the live grid is not touched.
2823
+ */
2824
+ computeSnapshot(all?: boolean): Promise<PivotEngineResult>;
2777
2825
  getRawData(): TRow[];
2778
2826
  getEngineResult(): PivotEngineResult | null;
2779
2827
  getCell(rowPath: string[], colPath: string[]): PivotCell | null;
@@ -2788,7 +2836,18 @@ declare class PivotController<TRow> {
2788
2836
  * does not change the result, and a cell is usually a sliver of the data.
2789
2837
  */
2790
2838
  resolveCellClick(event: CellClickEvent<TRow>): CellClickEvent<TRow>;
2791
- private recordsAt;
2839
+ /**
2840
+ * The source rows behind one cell — its row and column path — with the
2841
+ * filters and the prefilter applied: what `cellClick`'s `records` holds.
2842
+ * An empty path is that axis's grand total. No event is fired.
2843
+ */
2844
+ getCellRecords(rowPath: string[], colPath: string[]): TRow[];
2845
+ /**
2846
+ * The fields in `area`, in order. For `'data'` this is what the ENGINE
2847
+ * computes: helper fields (`helper: true`, B.21) come last, after every shown
2848
+ * one, and their columns are cut from the result once the summary formulas
2849
+ * have read them — what is drawn is {@link shownFields}.
2850
+ */
2792
2851
  getAreaFields(area: PivotArea): PivotField<TRow>[];
2793
2852
  private cellIndexLookups;
2794
2853
  private getCellIndexLookup;
@@ -3176,6 +3235,79 @@ declare function percentModeText(value: number, field: PivotField<any> | undefin
3176
3235
  /** The Excel number format for the same case — the value stays 0-100, so the sign is literal. */
3177
3236
  declare function percentModeExcelNumFmt(field: PivotField<any> | undefined): string | undefined;
3178
3237
 
3238
+ /**
3239
+ * The fields a screen shows: helper data fields (`helper: true`, B.21) are
3240
+ * computed but have no column, chip or chooser entry. The same array comes
3241
+ * back when there is none, so a memo keyed on it does not churn.
3242
+ */
3243
+ declare function shownFields<T extends {
3244
+ helper?: boolean;
3245
+ }>(fields: T[]): T[];
3246
+
3247
+ interface PivotSummaryColumn {
3248
+ /** The field's id — the key of this column in every row. */
3249
+ id: string;
3250
+ caption: string;
3251
+ /** A row-area field (a level of the grouping) or a data field (a value). */
3252
+ kind: 'row' | 'data';
3253
+ field: PivotField;
3254
+ }
3255
+ interface PivotSummaryTable {
3256
+ /** Row fields in their order, then the shown data fields in theirs. */
3257
+ columns: PivotSummaryColumn[];
3258
+ /** One per deepest combination; values are numbers, a blank summary is `null`. */
3259
+ rows: Array<Record<string, PivotValue | number | null>>;
3260
+ }
3261
+ /**
3262
+ * The summary as a flat table: every deepest row combination × the shown data
3263
+ * fields, with the filters applied and regardless of what is expanded.
3264
+ * Enterprise; throws on a Community grid.
3265
+ */
3266
+ declare function getSummaryTable(controller: PivotController<any>): Promise<PivotSummaryTable>;
3267
+
3268
+ interface CellPath {
3269
+ rowPath: readonly string[];
3270
+ colPath: readonly string[];
3271
+ }
3272
+ /**
3273
+ * The source rows behind these cells, filters applied, each row once and in
3274
+ * source order. Enterprise; throws on a Community grid.
3275
+ */
3276
+ declare function getRecordsForCells<TRow>(controller: PivotController<TRow>, cells: readonly CellPath[]): TRow[];
3277
+
3278
+ /**
3279
+ * `next` with every split group put back together: all members in the area
3280
+ * of the member that moved (compared with `prev`), side by side at its place,
3281
+ * in group order. The same array when no group is split.
3282
+ */
3283
+ declare function keepFieldGroups<T extends PivotField<any>>(prev: readonly T[], next: T[]): T[];
3284
+
3285
+ /** A state's filters: per field id, and the prefilter. Plain JSON. */
3286
+ interface PersistedPivotFilters {
3287
+ fields: Record<string, {
3288
+ filterValues?: unknown[] | null;
3289
+ filterType?: string;
3290
+ valueFilter?: unknown;
3291
+ labelFilter?: unknown;
3292
+ }>;
3293
+ prefilter?: unknown;
3294
+ }
3295
+ /**
3296
+ * Cut a `getPersistedState()` snapshot in two: `layout` (everything but the
3297
+ * filters — fields and their areas, order, sorting, summaries, widths, open
3298
+ * members, parts) and `filters` (each field's filter and the prefilter).
3299
+ */
3300
+ declare function splitPersistedState(state: PersistedPivotState): {
3301
+ layout: PersistedPivotState;
3302
+ filters: PersistedPivotFilters;
3303
+ };
3304
+ /**
3305
+ * One state from the two parts, for `applyPersistedState`: the layout with
3306
+ * these filters. A field the layout does not have drops its filter; without
3307
+ * `filters` (or a field missing from it) the field has none.
3308
+ */
3309
+ declare function mergePersistedState(layout: PersistedPivotState, filters?: PersistedPivotFilters | null): PersistedPivotState;
3310
+
3179
3311
  type CalculatedFieldTextKey = 'createFormulasWithoutCode' | 'measureName' | 'numericStandard' | 'numericDecimal' | 'currencyTRY' | 'currencyUSD' | 'measureNamePlaceholder' | 'customFormat' | 'customPrefix' | 'customSuffix' | 'minFraction' | 'maxFraction' | 'calculationLevel' | 'calcRowLevel' | 'calcSummaryLevel' | 'noFieldsFound' | 'deleteCalcField' | 'formulaPlaceholder' | 'saveAndAdd' | 'measureNameEmpty' | 'formulaEmpty' | 'formulaError' | 'calcRowLevelHint' | 'calcSummaryLevelHint' | 'formulaValid' | 'calcFieldsHint' | 'formulaUses';
3180
3312
  /** The designer's text for `key` in `locale` (`tr-TR` → `tr`, `zh` → `zh-CN`), or undefined. */
3181
3313
  declare function calculatedFieldText(locale: string | undefined, key: string): string | undefined;
@@ -3220,6 +3352,8 @@ interface AdvancedExportRequest {
3220
3352
  locale: string;
3221
3353
  signal?: AbortSignal;
3222
3354
  onProgress?: (percent: number) => void;
3355
+ /** Asked before the plain-file fallback (B.23); `false` cancels. */
3356
+ onLargeExport?: ExportOptions['onLargeExport'];
3223
3357
  }
3224
3358
  type AdvancedExporter = (req: AdvancedExportRequest) => Promise<void>;
3225
3359
  /** Called by the Enterprise package to enable Excel/PDF export. */
@@ -3778,4 +3912,4 @@ declare function rollupInMemory<TRow>(rows: readonly TRow[], request: PivotServe
3778
3912
  /** Every value of a field in rows held in memory — the reference `loadFieldValues`. */
3779
3913
  declare function fieldValuesInMemory<TRow>(rows: readonly TRow[], field: PivotServerField): unknown[];
3780
3914
 
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 };
3915
+ export { type AdvancedExportRequest, type AdvancedExporter, CHART_LEGEND_POSITIONS, CHART_PALETTE_NAMES, type CalculatedFieldTextKey, type CellClickEvent, type CellPath, 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, type LargeExportInfo, MAX_C, type MarkTone, PIVOT_AI_FEATURES, PIVOT_STATE_VERSION, type ParseFileOptions, type PersistedPivotFilters, 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 PivotSummaryColumn, type PivotSummaryDisplayMode, type PivotSummaryTable, 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, getRecordsForCells, getSummaryTable, getVisibleColLeaves, getVisibleColSlots, getVisibleLeafCount, getVisibleMaxDepth, headerFilterShown, headerFilterWrite, heatColor, heatTextColor, heatmapMarks, histogramBins, histogramMarks, inferColumnType, initPivotEngineAsync, intlFormatToExcelNumFmt, invertRowHeaderWidth, it, ja, keepFieldGroups, ko, logAxisTicks, mergePersistedState, nextChartWindowId, nextLiveText, pairSeriesForXY, parseBoolean, parseColor, parseCsvToRows, parseDelimited, parseFlexibleDate, parseLocaleNumber, percentAxisTicks, percentModeExcelNumFmt, percentModeText, pivotChangeAnnouncement, pivotDensityClass, pivotRowHeight, pivotRowTrend, pivotSchemeTheme, pivotServerSource, pt, rangeBarMarks, rangeRatio, readChartFormat, readFrameRect, readPivotChartState, reconfigurePivotEngineAsync, registerAdvancedExporter, resolveChartPalette, resolveChartStyle, resolveColPath, resolveColumnWidthDefaults, resolveConditionalVisual, rollupInMemory, ru, safeKey, sanitizeRows, scaleColor, serverRequestFor, setActiveEngineGrid, shownFields, sortPivotTree, splitPersistedState, squarify, stackSeries, stripBom, sunburstMarks, testSafeFormula, tr, treemapMarks, trendColumnPaths, trendShape, waterfallDomain, waterfallMarks, waterfallSteps, windowStartFor, zhCN };