@kanunilabs/pivotgrid-core 1.11.1 → 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.cjs +12 -12
- package/dist/index.d.cts +130 -3
- package/dist/index.d.ts +130 -3
- package/dist/index.js +12 -12
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -1630,6 +1630,24 @@ interface ExportOptions {
|
|
|
1630
1630
|
includeHiddenFields?: boolean;
|
|
1631
1631
|
/** Locale for formatting. */
|
|
1632
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';
|
|
1633
1651
|
}
|
|
1634
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>;
|
|
1635
1653
|
declare function escapeXmlText(value: string): string;
|
|
@@ -1789,7 +1807,7 @@ interface PivotTheme {
|
|
|
1789
1807
|
* default, and what an unset value means), `comfortable` 36px. Independent of
|
|
1790
1808
|
* the colours (`theme`).
|
|
1791
1809
|
*/
|
|
1792
|
-
type PivotDensity = 'compact' | 'normal' | 'comfortable';
|
|
1810
|
+
type PivotDensity = 'compact' | 'normal' | 'comfortable' | 'touch';
|
|
1793
1811
|
interface CustomSummaryOptions {
|
|
1794
1812
|
summaryProcess: 'start' | 'calculate' | 'finalize';
|
|
1795
1813
|
value: number | null;
|
|
@@ -1826,6 +1844,20 @@ interface PivotField<TRow = any, TCellTemplate = PivotCellTemplate, TStyle = any
|
|
|
1826
1844
|
area?: PivotArea;
|
|
1827
1845
|
/** Position index within the area. */
|
|
1828
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;
|
|
1829
1861
|
/** Whether the field is visible in the field chooser. */
|
|
1830
1862
|
visible?: boolean;
|
|
1831
1863
|
/**
|
|
@@ -2151,6 +2183,8 @@ interface PivotControllerCallbacks<TRow = any> {
|
|
|
2151
2183
|
onBeforePivotCalculate?: () => void;
|
|
2152
2184
|
onAfterPivotCalculate?: (result: PivotEngineResult) => void;
|
|
2153
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'];
|
|
2154
2188
|
onError?: (error: Error) => void;
|
|
2155
2189
|
onChartStateLoaded?: (chartState: any) => void;
|
|
2156
2190
|
}
|
|
@@ -2662,6 +2696,8 @@ declare class PivotController<TRow> {
|
|
|
2662
2696
|
clearAllSorting(): void;
|
|
2663
2697
|
applyFilter(fieldId: string, selectedValues: Set<any>, filterType: 'include' | 'exclude'): void;
|
|
2664
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;
|
|
2665
2701
|
/**
|
|
2666
2702
|
* Quick search: show only the row members whose caption contains `text`
|
|
2667
2703
|
* (ignoring case and accents), with the members above them. A view on top
|
|
@@ -2781,6 +2817,11 @@ declare class PivotController<TRow> {
|
|
|
2781
2817
|
*/
|
|
2782
2818
|
private static readonly ENTERPRISE_FORMATS;
|
|
2783
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>;
|
|
2784
2825
|
getRawData(): TRow[];
|
|
2785
2826
|
getEngineResult(): PivotEngineResult | null;
|
|
2786
2827
|
getCell(rowPath: string[], colPath: string[]): PivotCell | null;
|
|
@@ -2795,7 +2836,18 @@ declare class PivotController<TRow> {
|
|
|
2795
2836
|
* does not change the result, and a cell is usually a sliver of the data.
|
|
2796
2837
|
*/
|
|
2797
2838
|
resolveCellClick(event: CellClickEvent<TRow>): CellClickEvent<TRow>;
|
|
2798
|
-
|
|
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
|
+
*/
|
|
2799
2851
|
getAreaFields(area: PivotArea): PivotField<TRow>[];
|
|
2800
2852
|
private cellIndexLookups;
|
|
2801
2853
|
private getCellIndexLookup;
|
|
@@ -3183,6 +3235,79 @@ declare function percentModeText(value: number, field: PivotField<any> | undefin
|
|
|
3183
3235
|
/** The Excel number format for the same case — the value stays 0-100, so the sign is literal. */
|
|
3184
3236
|
declare function percentModeExcelNumFmt(field: PivotField<any> | undefined): string | undefined;
|
|
3185
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
|
+
|
|
3186
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';
|
|
3187
3312
|
/** The designer's text for `key` in `locale` (`tr-TR` → `tr`, `zh` → `zh-CN`), or undefined. */
|
|
3188
3313
|
declare function calculatedFieldText(locale: string | undefined, key: string): string | undefined;
|
|
@@ -3227,6 +3352,8 @@ interface AdvancedExportRequest {
|
|
|
3227
3352
|
locale: string;
|
|
3228
3353
|
signal?: AbortSignal;
|
|
3229
3354
|
onProgress?: (percent: number) => void;
|
|
3355
|
+
/** Asked before the plain-file fallback (B.23); `false` cancels. */
|
|
3356
|
+
onLargeExport?: ExportOptions['onLargeExport'];
|
|
3230
3357
|
}
|
|
3231
3358
|
type AdvancedExporter = (req: AdvancedExportRequest) => Promise<void>;
|
|
3232
3359
|
/** Called by the Enterprise package to enable Excel/PDF export. */
|
|
@@ -3785,4 +3912,4 @@ declare function rollupInMemory<TRow>(rows: readonly TRow[], request: PivotServe
|
|
|
3785
3912
|
/** Every value of a field in rows held in memory — the reference `loadFieldValues`. */
|
|
3786
3913
|
declare function fieldValuesInMemory<TRow>(rows: readonly TRow[], field: PivotServerField): unknown[];
|
|
3787
3914
|
|
|
3788
|
-
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, pivotSchemeTheme, 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
|
@@ -1630,6 +1630,24 @@ interface ExportOptions {
|
|
|
1630
1630
|
includeHiddenFields?: boolean;
|
|
1631
1631
|
/** Locale for formatting. */
|
|
1632
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';
|
|
1633
1651
|
}
|
|
1634
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>;
|
|
1635
1653
|
declare function escapeXmlText(value: string): string;
|
|
@@ -1789,7 +1807,7 @@ interface PivotTheme {
|
|
|
1789
1807
|
* default, and what an unset value means), `comfortable` 36px. Independent of
|
|
1790
1808
|
* the colours (`theme`).
|
|
1791
1809
|
*/
|
|
1792
|
-
type PivotDensity = 'compact' | 'normal' | 'comfortable';
|
|
1810
|
+
type PivotDensity = 'compact' | 'normal' | 'comfortable' | 'touch';
|
|
1793
1811
|
interface CustomSummaryOptions {
|
|
1794
1812
|
summaryProcess: 'start' | 'calculate' | 'finalize';
|
|
1795
1813
|
value: number | null;
|
|
@@ -1826,6 +1844,20 @@ interface PivotField<TRow = any, TCellTemplate = PivotCellTemplate, TStyle = any
|
|
|
1826
1844
|
area?: PivotArea;
|
|
1827
1845
|
/** Position index within the area. */
|
|
1828
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;
|
|
1829
1861
|
/** Whether the field is visible in the field chooser. */
|
|
1830
1862
|
visible?: boolean;
|
|
1831
1863
|
/**
|
|
@@ -2151,6 +2183,8 @@ interface PivotControllerCallbacks<TRow = any> {
|
|
|
2151
2183
|
onBeforePivotCalculate?: () => void;
|
|
2152
2184
|
onAfterPivotCalculate?: (result: PivotEngineResult) => void;
|
|
2153
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'];
|
|
2154
2188
|
onError?: (error: Error) => void;
|
|
2155
2189
|
onChartStateLoaded?: (chartState: any) => void;
|
|
2156
2190
|
}
|
|
@@ -2662,6 +2696,8 @@ declare class PivotController<TRow> {
|
|
|
2662
2696
|
clearAllSorting(): void;
|
|
2663
2697
|
applyFilter(fieldId: string, selectedValues: Set<any>, filterType: 'include' | 'exclude'): void;
|
|
2664
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;
|
|
2665
2701
|
/**
|
|
2666
2702
|
* Quick search: show only the row members whose caption contains `text`
|
|
2667
2703
|
* (ignoring case and accents), with the members above them. A view on top
|
|
@@ -2781,6 +2817,11 @@ declare class PivotController<TRow> {
|
|
|
2781
2817
|
*/
|
|
2782
2818
|
private static readonly ENTERPRISE_FORMATS;
|
|
2783
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>;
|
|
2784
2825
|
getRawData(): TRow[];
|
|
2785
2826
|
getEngineResult(): PivotEngineResult | null;
|
|
2786
2827
|
getCell(rowPath: string[], colPath: string[]): PivotCell | null;
|
|
@@ -2795,7 +2836,18 @@ declare class PivotController<TRow> {
|
|
|
2795
2836
|
* does not change the result, and a cell is usually a sliver of the data.
|
|
2796
2837
|
*/
|
|
2797
2838
|
resolveCellClick(event: CellClickEvent<TRow>): CellClickEvent<TRow>;
|
|
2798
|
-
|
|
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
|
+
*/
|
|
2799
2851
|
getAreaFields(area: PivotArea): PivotField<TRow>[];
|
|
2800
2852
|
private cellIndexLookups;
|
|
2801
2853
|
private getCellIndexLookup;
|
|
@@ -3183,6 +3235,79 @@ declare function percentModeText(value: number, field: PivotField<any> | undefin
|
|
|
3183
3235
|
/** The Excel number format for the same case — the value stays 0-100, so the sign is literal. */
|
|
3184
3236
|
declare function percentModeExcelNumFmt(field: PivotField<any> | undefined): string | undefined;
|
|
3185
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
|
+
|
|
3186
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';
|
|
3187
3312
|
/** The designer's text for `key` in `locale` (`tr-TR` → `tr`, `zh` → `zh-CN`), or undefined. */
|
|
3188
3313
|
declare function calculatedFieldText(locale: string | undefined, key: string): string | undefined;
|
|
@@ -3227,6 +3352,8 @@ interface AdvancedExportRequest {
|
|
|
3227
3352
|
locale: string;
|
|
3228
3353
|
signal?: AbortSignal;
|
|
3229
3354
|
onProgress?: (percent: number) => void;
|
|
3355
|
+
/** Asked before the plain-file fallback (B.23); `false` cancels. */
|
|
3356
|
+
onLargeExport?: ExportOptions['onLargeExport'];
|
|
3230
3357
|
}
|
|
3231
3358
|
type AdvancedExporter = (req: AdvancedExportRequest) => Promise<void>;
|
|
3232
3359
|
/** Called by the Enterprise package to enable Excel/PDF export. */
|
|
@@ -3785,4 +3912,4 @@ declare function rollupInMemory<TRow>(rows: readonly TRow[], request: PivotServe
|
|
|
3785
3912
|
/** Every value of a field in rows held in memory — the reference `loadFieldValues`. */
|
|
3786
3913
|
declare function fieldValuesInMemory<TRow>(rows: readonly TRow[], field: PivotServerField): unknown[];
|
|
3787
3914
|
|
|
3788
|
-
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, pivotSchemeTheme, 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 };
|