@kanunilabs/pivotgrid-core 1.11.6 → 1.11.7
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 +48 -3
- package/dist/index.d.ts +48 -3
- package/dist/index.js +12 -12
- package/dist/pivot.worker.cjs +1 -1
- package/dist/pivot.worker.js +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -971,6 +971,12 @@ interface WorkerReconfigureRequest {
|
|
|
971
971
|
}>;
|
|
972
972
|
/** Dictionary entries appended (in order) since the worker's dictionary was last synced. */
|
|
973
973
|
dictionaryAppend?: string[];
|
|
974
|
+
/**
|
|
975
|
+
* Stored columns no longer needed (a Values field's filter column, B.87,
|
|
976
|
+
* once the filter is gone or the field left Values): dropped, so a live
|
|
977
|
+
* update does not have to send their values.
|
|
978
|
+
*/
|
|
979
|
+
dropColumns?: string[];
|
|
974
980
|
}
|
|
975
981
|
/**
|
|
976
982
|
* Live update (G-PIV-02): replace, remove and append rows of the stored
|
|
@@ -2167,9 +2173,12 @@ interface PivotLayoutState {
|
|
|
2167
2173
|
* What the Values and Columns zones above the table do when their chips do not fit on one line (B.74). `'wrap'`
|
|
2168
2174
|
* (default) starts a new line, as before; `'scroll'` keeps one line and scrolls it sideways (a quick swipe on
|
|
2169
2175
|
* touch). Dragging a chip to the zone's edge scrolls it, like the field list. The filter strip keeps its own
|
|
2170
|
-
* rows (`filterAreaMaxRows`).
|
|
2176
|
+
* rows (`filterAreaMaxRows`). `'shrink'` (B.86) also keeps one line, but the chips narrow in proportion first so they
|
|
2177
|
+
* all fit: the caption is cut off (always clipped, whatever `textOverflow` says; the full name stays in the chip's
|
|
2178
|
+
* tooltip) down to a floor of 56px (`--pivot-chip-shrink-min`, never under 44px on touch); only when they do not fit
|
|
2179
|
+
* even at the floor does the line scroll sideways. A view setting.
|
|
2171
2180
|
*/
|
|
2172
|
-
areaChipOverflow?: 'wrap' | 'scroll';
|
|
2181
|
+
areaChipOverflow?: 'wrap' | 'scroll' | 'shrink';
|
|
2173
2182
|
/** Chart integration type when rendering in chart mode. */
|
|
2174
2183
|
chartType?: string;
|
|
2175
2184
|
}
|
|
@@ -3297,6 +3306,11 @@ declare class PivotEngineService<TRow> {
|
|
|
3297
3306
|
private progressCapFor;
|
|
3298
3307
|
private estimateProgressDuration;
|
|
3299
3308
|
private handleEngineError;
|
|
3309
|
+
/**
|
|
3310
|
+
* Filtered fields that have no row/column dictionary column: unplaced ones,
|
|
3311
|
+
* and data fields (B.87) — a data field's column is a number column, so its
|
|
3312
|
+
* filter needs a column of its own (`filterColumnId`), encoded by reconfigure.
|
|
3313
|
+
*/
|
|
3300
3314
|
private unplacedFilteredFieldIds;
|
|
3301
3315
|
private createStructuralFieldsHash;
|
|
3302
3316
|
private createFieldsHash;
|
|
@@ -3521,6 +3535,37 @@ declare function headerFilterShown(options: readonly HeaderFilterOption[], field
|
|
|
3521
3535
|
* always wrote (a number field stores both `'10'` and `10`).
|
|
3522
3536
|
*/
|
|
3523
3537
|
declare function headerFilterWrite(options: readonly HeaderFilterOption[], ticked: ReadonlySet<string>, field: HeaderFilterState): HeaderFilterWrite;
|
|
3538
|
+
/** One row of the list: the options that read the same. */
|
|
3539
|
+
interface HeaderFilterGroup<T extends HeaderFilterOption & {
|
|
3540
|
+
label: string;
|
|
3541
|
+
}> {
|
|
3542
|
+
/** The first member's `rawStr` — the row's key and DOM id, as before for a row of one. */
|
|
3543
|
+
key: string;
|
|
3544
|
+
label: string;
|
|
3545
|
+
members: T[];
|
|
3546
|
+
}
|
|
3547
|
+
/**
|
|
3548
|
+
* The list's rows, one per label, in one pass. `options` come sorted by raw
|
|
3549
|
+
* value, so a row sits where its smallest raw value does.
|
|
3550
|
+
*/
|
|
3551
|
+
declare function groupHeaderFilterOptions<T extends HeaderFilterOption & {
|
|
3552
|
+
label: string;
|
|
3553
|
+
}>(options: readonly T[]): HeaderFilterGroup<T>[];
|
|
3554
|
+
/** How a row's box shows: every raw value under it ticked, some, or none. */
|
|
3555
|
+
declare function headerFilterGroupTick(group: {
|
|
3556
|
+
members: readonly HeaderFilterOption[];
|
|
3557
|
+
}, ticked: ReadonlySet<string>): 'all' | 'some' | 'none';
|
|
3558
|
+
/** `ticked` with every raw value under `groups` ticked (`on`) or unticked. */
|
|
3559
|
+
declare function setHeaderFilterGroups(ticked: ReadonlySet<string>, groups: readonly {
|
|
3560
|
+
members: readonly HeaderFilterOption[];
|
|
3561
|
+
}[], on: boolean): Set<string>;
|
|
3562
|
+
/** A click on a row: a half-ticked or unticked row ticks all of it, a ticked one unticks. */
|
|
3563
|
+
declare function toggleHeaderFilterGroup(ticked: ReadonlySet<string>, group: {
|
|
3564
|
+
members: readonly HeaderFilterOption[];
|
|
3565
|
+
}): Set<string>;
|
|
3566
|
+
declare function formatHeaderFilterLabel(val: unknown, field: {
|
|
3567
|
+
format?: unknown;
|
|
3568
|
+
}, locale: string, blanksText?: string): string;
|
|
3524
3569
|
|
|
3525
3570
|
declare function executePostAggregationPhase<TRow>(engineResult: PivotEngineResult, dataFields: PivotField<TRow>[], registry?: PivotEngineRegistry): void;
|
|
3526
3571
|
declare function executeSummaryDisplayModesPhase<TRow>(engineResult: PivotEngineResult, dataFields: PivotField<TRow>[]): void;
|
|
@@ -4144,4 +4189,4 @@ declare function rollupInMemory<TRow>(rows: readonly TRow[], request: PivotServe
|
|
|
4144
4189
|
/** Every value of a field in rows held in memory — the reference `loadFieldValues`. */
|
|
4145
4190
|
declare function fieldValuesInMemory<TRow>(rows: readonly TRow[], field: PivotServerField): unknown[];
|
|
4146
4191
|
|
|
4147
|
-
export { type AdvancedExportRequest, type AdvancedExporter, CHART_LEGEND_POSITIONS, CHART_PALETTE_NAMES, CHIP_AUTO_MAX_WIDTH, COLLAPSED_PREFIX, type CalculatedFieldTextKey, type CellClickEvent, type CellPath, type CellPreparedEvent, 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 CustomSummaryOptions, DEFAULT_DATA_COLUMN_WIDTH, DEFAULT_ROW_HEADER_WIDTH, type DateFormatContext, DateFormatter, type DateGranularity, type DimensionFieldInfo, type DrillDownTextKey, type DropIntent, EXCEL_MAX_COLUMN_WIDTH, EXCEL_MIN_COLUMN_WIDTH, EXCEL_WIDTH_SAMPLE_ROWS, ExcelWidthTracker, type ExportFormat, type ExportOptions, ExportStreamController, type ExportingEvent, FILTER_AREA_PADDING, FILTER_AREA_ROW_GAP, 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 LargeExportInfo, MAX_C, type MarkTone, PIVOT_AI_FEATURES, PIVOT_LICENSE_TEXT, PIVOT_STATE_VERSION, 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 PivotChipView, 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 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 PivotSummaryTableOptions, type PivotSummaryType, type PivotTheme, type PivotToolbarConfig, type PivotTransactionResult, type PivotValue, type PivotValueFilter, type PopupPlacement, type PopupViewport, type PrefilterConditionSpec, type PrefilterGroupSpec, ROW_HEADER_MAX_PINNED_FRACTION, ROW_HEADER_MIN_COL_WIDTH, ROW_HEADER_MIN_DATA_STRIP, type ReportStatePart, type RowHeaderLayout, SHAPE_CHART_TYPES, SHORT_PIVOT_HEIGHT, type ShapeChartInput, type ShapeChartType, type StackedSegment, type TreemapCell, type TrendShape, type ValueRange, type WaterfallStep, type WorkerComputeRequest, type WorkerFilterRequest, type WorkerFilterSpec, type WorkerInitRequest, type WorkerResponse, type WorkerTransactionRequest, type XYPair, type XYPairInput, applyPivotAiState, ar, attachFloatingFrame, bindPivotScrollMemory, buildCellLookup, buildColPathsList, buildColumnHeaders, buildEngineResult, buildPivotAOA, buildRowLabelCells, calculatedFieldText, cellHash, cellHashCol, cellHashRow, centredFrame, chartCategoryKey, chartKeyText, chartPalette, chartWindowFrame, clearFormatCache, collapsedKey, collapsedKeyPath, collatorFor, columnSlotOptions, compileSafeFormula, computeFieldRanges, computePivotMatrixAsync, computeRowHeaderWidths, computedFields, conditionRuleToExcelStyle, countFilteredFields, cssColorToRgb, cssZoomOf, de, defaultPivotLayout, destroyEngineWorker, diffPivotChartState, drillDownText, en, es, escapeXmlText, excelTextLength, excelValueLength, executePostAggregationPhase, executeSummaryDisplayModesPhase, exportPivotData, extractGroupValue, fieldNeedsRange, fieldValuesInMemory, filterAreaMaxHeight, filterAreaRows, 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, grandTotalHeaderShown, grandTotalShown, headerFilterShown, headerFilterWrite, heatColor, heatTextColor, heatmapMarks, histogramBins, histogramMarks, initPivotEngineAsync, intlFormatToExcelNumFmt, invertRowHeaderWidth, isCollapsedKey, isKeyExpanded, it, ja, keepFieldGroups, keepFocusAcross, ko, logAxisTicks, measureFitWidth, mergePersistedState, nextChartWindowId, nextLiveText, paintedFontWeight, pairSeriesForXY, parseColor, pathKey, pathParts, percentAxisTicks, percentModeExcelNumFmt, percentModeText, pivotChangeAnnouncement, pivotChipView, pivotDensityClass, pivotLicenseText, pivotRowHeight, pivotRowTrend, pivotSchemeTheme, pivotServerSource, placePopup, popupViewport, pt, rangeBarMarks, rangeRatio, readChartFormat, readFrameRect, readPivotChartState, reconfigurePivotEngineAsync, registerAdvancedExporter, resizeLineX, resolveChartPalette, resolveChartStyle, resolveColPath, resolveColumnWidthDefaults, resolveConditionalVisual, rollupInMemory, rowHeaderGroupEnd, rowHeadersUnpinned, ru, scaleColor, serverRequestFor, setActiveEngineGrid, setKeysIn, shownFields, sortPivotTree, splitPersistedState, squarify, stackSeries, subtotalFor, summaryTypeLabel, sunburstMarks, testSafeFormula, toCssPixels, toggleKeyIn, tr, treemapMarks, trendColumnPaths, trendShape, watchShortPivot, waterfallDomain, waterfallMarks, waterfallSteps, windowStartFor, withoutCollapsed, zhCN };
|
|
4192
|
+
export { type AdvancedExportRequest, type AdvancedExporter, CHART_LEGEND_POSITIONS, CHART_PALETTE_NAMES, CHIP_AUTO_MAX_WIDTH, COLLAPSED_PREFIX, type CalculatedFieldTextKey, type CellClickEvent, type CellPath, type CellPreparedEvent, 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 CustomSummaryOptions, DEFAULT_DATA_COLUMN_WIDTH, DEFAULT_ROW_HEADER_WIDTH, type DateFormatContext, DateFormatter, type DateGranularity, type DimensionFieldInfo, type DrillDownTextKey, type DropIntent, EXCEL_MAX_COLUMN_WIDTH, EXCEL_MIN_COLUMN_WIDTH, EXCEL_WIDTH_SAMPLE_ROWS, ExcelWidthTracker, type ExportFormat, type ExportOptions, ExportStreamController, type ExportingEvent, FILTER_AREA_PADDING, FILTER_AREA_ROW_GAP, 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 HeaderFilterGroup, type HeaderFilterOption, type HeaderFilterState, type HeaderFilterWrite, type HistogramBin, type LargeExportInfo, MAX_C, type MarkTone, PIVOT_AI_FEATURES, PIVOT_LICENSE_TEXT, PIVOT_STATE_VERSION, 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 PivotChipView, 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 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 PivotSummaryTableOptions, type PivotSummaryType, type PivotTheme, type PivotToolbarConfig, type PivotTransactionResult, type PivotValue, type PivotValueFilter, type PopupPlacement, type PopupViewport, type PrefilterConditionSpec, type PrefilterGroupSpec, ROW_HEADER_MAX_PINNED_FRACTION, ROW_HEADER_MIN_COL_WIDTH, ROW_HEADER_MIN_DATA_STRIP, type ReportStatePart, type RowHeaderLayout, SHAPE_CHART_TYPES, SHORT_PIVOT_HEIGHT, type ShapeChartInput, type ShapeChartType, type StackedSegment, type TreemapCell, type TrendShape, type ValueRange, type WaterfallStep, type WorkerComputeRequest, type WorkerFilterRequest, type WorkerFilterSpec, type WorkerInitRequest, type WorkerResponse, type WorkerTransactionRequest, type XYPair, type XYPairInput, applyPivotAiState, ar, attachFloatingFrame, bindPivotScrollMemory, buildCellLookup, buildColPathsList, buildColumnHeaders, buildEngineResult, buildPivotAOA, buildRowLabelCells, calculatedFieldText, cellHash, cellHashCol, cellHashRow, centredFrame, chartCategoryKey, chartKeyText, chartPalette, chartWindowFrame, clearFormatCache, collapsedKey, collapsedKeyPath, collatorFor, columnSlotOptions, compileSafeFormula, computeFieldRanges, computePivotMatrixAsync, computeRowHeaderWidths, computedFields, conditionRuleToExcelStyle, countFilteredFields, cssColorToRgb, cssZoomOf, de, defaultPivotLayout, destroyEngineWorker, diffPivotChartState, drillDownText, en, es, escapeXmlText, excelTextLength, excelValueLength, executePostAggregationPhase, executeSummaryDisplayModesPhase, exportPivotData, extractGroupValue, fieldNeedsRange, fieldValuesInMemory, filterAreaMaxHeight, filterAreaRows, filterEmptySummaryTree, filterPivotEngineAsync, filterRecords, filterRecordsAsync, flattenExportRows, flattenRowTree, flattenRowTreeTabular, flattenRowTreeTree, formatCellValue, formatCellValueCached, formatDimensionValue, formatHeaderFilterLabel, formatHeaderValue, fr, funnelMarks, funnelStages, getAdvancedExporter, getCellVal, getFieldDistinctValues, getPivotAiSchema, getPivotAiState, getRecordsForCells, getSummaryTable, getVisibleColLeaves, getVisibleColSlots, getVisibleLeafCount, getVisibleMaxDepth, grandTotalHeaderShown, grandTotalShown, groupHeaderFilterOptions, headerFilterGroupTick, headerFilterShown, headerFilterWrite, heatColor, heatTextColor, heatmapMarks, histogramBins, histogramMarks, initPivotEngineAsync, intlFormatToExcelNumFmt, invertRowHeaderWidth, isCollapsedKey, isKeyExpanded, it, ja, keepFieldGroups, keepFocusAcross, ko, logAxisTicks, measureFitWidth, mergePersistedState, nextChartWindowId, nextLiveText, paintedFontWeight, pairSeriesForXY, parseColor, pathKey, pathParts, percentAxisTicks, percentModeExcelNumFmt, percentModeText, pivotChangeAnnouncement, pivotChipView, pivotDensityClass, pivotLicenseText, pivotRowHeight, pivotRowTrend, pivotSchemeTheme, pivotServerSource, placePopup, popupViewport, pt, rangeBarMarks, rangeRatio, readChartFormat, readFrameRect, readPivotChartState, reconfigurePivotEngineAsync, registerAdvancedExporter, resizeLineX, resolveChartPalette, resolveChartStyle, resolveColPath, resolveColumnWidthDefaults, resolveConditionalVisual, rollupInMemory, rowHeaderGroupEnd, rowHeadersUnpinned, ru, scaleColor, serverRequestFor, setActiveEngineGrid, setHeaderFilterGroups, setKeysIn, shownFields, sortPivotTree, splitPersistedState, squarify, stackSeries, subtotalFor, summaryTypeLabel, sunburstMarks, testSafeFormula, toCssPixels, toggleHeaderFilterGroup, toggleKeyIn, tr, treemapMarks, trendColumnPaths, trendShape, watchShortPivot, waterfallDomain, waterfallMarks, waterfallSteps, windowStartFor, withoutCollapsed, zhCN };
|
package/dist/index.d.ts
CHANGED
|
@@ -971,6 +971,12 @@ interface WorkerReconfigureRequest {
|
|
|
971
971
|
}>;
|
|
972
972
|
/** Dictionary entries appended (in order) since the worker's dictionary was last synced. */
|
|
973
973
|
dictionaryAppend?: string[];
|
|
974
|
+
/**
|
|
975
|
+
* Stored columns no longer needed (a Values field's filter column, B.87,
|
|
976
|
+
* once the filter is gone or the field left Values): dropped, so a live
|
|
977
|
+
* update does not have to send their values.
|
|
978
|
+
*/
|
|
979
|
+
dropColumns?: string[];
|
|
974
980
|
}
|
|
975
981
|
/**
|
|
976
982
|
* Live update (G-PIV-02): replace, remove and append rows of the stored
|
|
@@ -2167,9 +2173,12 @@ interface PivotLayoutState {
|
|
|
2167
2173
|
* What the Values and Columns zones above the table do when their chips do not fit on one line (B.74). `'wrap'`
|
|
2168
2174
|
* (default) starts a new line, as before; `'scroll'` keeps one line and scrolls it sideways (a quick swipe on
|
|
2169
2175
|
* touch). Dragging a chip to the zone's edge scrolls it, like the field list. The filter strip keeps its own
|
|
2170
|
-
* rows (`filterAreaMaxRows`).
|
|
2176
|
+
* rows (`filterAreaMaxRows`). `'shrink'` (B.86) also keeps one line, but the chips narrow in proportion first so they
|
|
2177
|
+
* all fit: the caption is cut off (always clipped, whatever `textOverflow` says; the full name stays in the chip's
|
|
2178
|
+
* tooltip) down to a floor of 56px (`--pivot-chip-shrink-min`, never under 44px on touch); only when they do not fit
|
|
2179
|
+
* even at the floor does the line scroll sideways. A view setting.
|
|
2171
2180
|
*/
|
|
2172
|
-
areaChipOverflow?: 'wrap' | 'scroll';
|
|
2181
|
+
areaChipOverflow?: 'wrap' | 'scroll' | 'shrink';
|
|
2173
2182
|
/** Chart integration type when rendering in chart mode. */
|
|
2174
2183
|
chartType?: string;
|
|
2175
2184
|
}
|
|
@@ -3297,6 +3306,11 @@ declare class PivotEngineService<TRow> {
|
|
|
3297
3306
|
private progressCapFor;
|
|
3298
3307
|
private estimateProgressDuration;
|
|
3299
3308
|
private handleEngineError;
|
|
3309
|
+
/**
|
|
3310
|
+
* Filtered fields that have no row/column dictionary column: unplaced ones,
|
|
3311
|
+
* and data fields (B.87) — a data field's column is a number column, so its
|
|
3312
|
+
* filter needs a column of its own (`filterColumnId`), encoded by reconfigure.
|
|
3313
|
+
*/
|
|
3300
3314
|
private unplacedFilteredFieldIds;
|
|
3301
3315
|
private createStructuralFieldsHash;
|
|
3302
3316
|
private createFieldsHash;
|
|
@@ -3521,6 +3535,37 @@ declare function headerFilterShown(options: readonly HeaderFilterOption[], field
|
|
|
3521
3535
|
* always wrote (a number field stores both `'10'` and `10`).
|
|
3522
3536
|
*/
|
|
3523
3537
|
declare function headerFilterWrite(options: readonly HeaderFilterOption[], ticked: ReadonlySet<string>, field: HeaderFilterState): HeaderFilterWrite;
|
|
3538
|
+
/** One row of the list: the options that read the same. */
|
|
3539
|
+
interface HeaderFilterGroup<T extends HeaderFilterOption & {
|
|
3540
|
+
label: string;
|
|
3541
|
+
}> {
|
|
3542
|
+
/** The first member's `rawStr` — the row's key and DOM id, as before for a row of one. */
|
|
3543
|
+
key: string;
|
|
3544
|
+
label: string;
|
|
3545
|
+
members: T[];
|
|
3546
|
+
}
|
|
3547
|
+
/**
|
|
3548
|
+
* The list's rows, one per label, in one pass. `options` come sorted by raw
|
|
3549
|
+
* value, so a row sits where its smallest raw value does.
|
|
3550
|
+
*/
|
|
3551
|
+
declare function groupHeaderFilterOptions<T extends HeaderFilterOption & {
|
|
3552
|
+
label: string;
|
|
3553
|
+
}>(options: readonly T[]): HeaderFilterGroup<T>[];
|
|
3554
|
+
/** How a row's box shows: every raw value under it ticked, some, or none. */
|
|
3555
|
+
declare function headerFilterGroupTick(group: {
|
|
3556
|
+
members: readonly HeaderFilterOption[];
|
|
3557
|
+
}, ticked: ReadonlySet<string>): 'all' | 'some' | 'none';
|
|
3558
|
+
/** `ticked` with every raw value under `groups` ticked (`on`) or unticked. */
|
|
3559
|
+
declare function setHeaderFilterGroups(ticked: ReadonlySet<string>, groups: readonly {
|
|
3560
|
+
members: readonly HeaderFilterOption[];
|
|
3561
|
+
}[], on: boolean): Set<string>;
|
|
3562
|
+
/** A click on a row: a half-ticked or unticked row ticks all of it, a ticked one unticks. */
|
|
3563
|
+
declare function toggleHeaderFilterGroup(ticked: ReadonlySet<string>, group: {
|
|
3564
|
+
members: readonly HeaderFilterOption[];
|
|
3565
|
+
}): Set<string>;
|
|
3566
|
+
declare function formatHeaderFilterLabel(val: unknown, field: {
|
|
3567
|
+
format?: unknown;
|
|
3568
|
+
}, locale: string, blanksText?: string): string;
|
|
3524
3569
|
|
|
3525
3570
|
declare function executePostAggregationPhase<TRow>(engineResult: PivotEngineResult, dataFields: PivotField<TRow>[], registry?: PivotEngineRegistry): void;
|
|
3526
3571
|
declare function executeSummaryDisplayModesPhase<TRow>(engineResult: PivotEngineResult, dataFields: PivotField<TRow>[]): void;
|
|
@@ -4144,4 +4189,4 @@ declare function rollupInMemory<TRow>(rows: readonly TRow[], request: PivotServe
|
|
|
4144
4189
|
/** Every value of a field in rows held in memory — the reference `loadFieldValues`. */
|
|
4145
4190
|
declare function fieldValuesInMemory<TRow>(rows: readonly TRow[], field: PivotServerField): unknown[];
|
|
4146
4191
|
|
|
4147
|
-
export { type AdvancedExportRequest, type AdvancedExporter, CHART_LEGEND_POSITIONS, CHART_PALETTE_NAMES, CHIP_AUTO_MAX_WIDTH, COLLAPSED_PREFIX, type CalculatedFieldTextKey, type CellClickEvent, type CellPath, type CellPreparedEvent, 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 CustomSummaryOptions, DEFAULT_DATA_COLUMN_WIDTH, DEFAULT_ROW_HEADER_WIDTH, type DateFormatContext, DateFormatter, type DateGranularity, type DimensionFieldInfo, type DrillDownTextKey, type DropIntent, EXCEL_MAX_COLUMN_WIDTH, EXCEL_MIN_COLUMN_WIDTH, EXCEL_WIDTH_SAMPLE_ROWS, ExcelWidthTracker, type ExportFormat, type ExportOptions, ExportStreamController, type ExportingEvent, FILTER_AREA_PADDING, FILTER_AREA_ROW_GAP, 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 LargeExportInfo, MAX_C, type MarkTone, PIVOT_AI_FEATURES, PIVOT_LICENSE_TEXT, PIVOT_STATE_VERSION, 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 PivotChipView, 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 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 PivotSummaryTableOptions, type PivotSummaryType, type PivotTheme, type PivotToolbarConfig, type PivotTransactionResult, type PivotValue, type PivotValueFilter, type PopupPlacement, type PopupViewport, type PrefilterConditionSpec, type PrefilterGroupSpec, ROW_HEADER_MAX_PINNED_FRACTION, ROW_HEADER_MIN_COL_WIDTH, ROW_HEADER_MIN_DATA_STRIP, type ReportStatePart, type RowHeaderLayout, SHAPE_CHART_TYPES, SHORT_PIVOT_HEIGHT, type ShapeChartInput, type ShapeChartType, type StackedSegment, type TreemapCell, type TrendShape, type ValueRange, type WaterfallStep, type WorkerComputeRequest, type WorkerFilterRequest, type WorkerFilterSpec, type WorkerInitRequest, type WorkerResponse, type WorkerTransactionRequest, type XYPair, type XYPairInput, applyPivotAiState, ar, attachFloatingFrame, bindPivotScrollMemory, buildCellLookup, buildColPathsList, buildColumnHeaders, buildEngineResult, buildPivotAOA, buildRowLabelCells, calculatedFieldText, cellHash, cellHashCol, cellHashRow, centredFrame, chartCategoryKey, chartKeyText, chartPalette, chartWindowFrame, clearFormatCache, collapsedKey, collapsedKeyPath, collatorFor, columnSlotOptions, compileSafeFormula, computeFieldRanges, computePivotMatrixAsync, computeRowHeaderWidths, computedFields, conditionRuleToExcelStyle, countFilteredFields, cssColorToRgb, cssZoomOf, de, defaultPivotLayout, destroyEngineWorker, diffPivotChartState, drillDownText, en, es, escapeXmlText, excelTextLength, excelValueLength, executePostAggregationPhase, executeSummaryDisplayModesPhase, exportPivotData, extractGroupValue, fieldNeedsRange, fieldValuesInMemory, filterAreaMaxHeight, filterAreaRows, 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, grandTotalHeaderShown, grandTotalShown, headerFilterShown, headerFilterWrite, heatColor, heatTextColor, heatmapMarks, histogramBins, histogramMarks, initPivotEngineAsync, intlFormatToExcelNumFmt, invertRowHeaderWidth, isCollapsedKey, isKeyExpanded, it, ja, keepFieldGroups, keepFocusAcross, ko, logAxisTicks, measureFitWidth, mergePersistedState, nextChartWindowId, nextLiveText, paintedFontWeight, pairSeriesForXY, parseColor, pathKey, pathParts, percentAxisTicks, percentModeExcelNumFmt, percentModeText, pivotChangeAnnouncement, pivotChipView, pivotDensityClass, pivotLicenseText, pivotRowHeight, pivotRowTrend, pivotSchemeTheme, pivotServerSource, placePopup, popupViewport, pt, rangeBarMarks, rangeRatio, readChartFormat, readFrameRect, readPivotChartState, reconfigurePivotEngineAsync, registerAdvancedExporter, resizeLineX, resolveChartPalette, resolveChartStyle, resolveColPath, resolveColumnWidthDefaults, resolveConditionalVisual, rollupInMemory, rowHeaderGroupEnd, rowHeadersUnpinned, ru, scaleColor, serverRequestFor, setActiveEngineGrid, setKeysIn, shownFields, sortPivotTree, splitPersistedState, squarify, stackSeries, subtotalFor, summaryTypeLabel, sunburstMarks, testSafeFormula, toCssPixels, toggleKeyIn, tr, treemapMarks, trendColumnPaths, trendShape, watchShortPivot, waterfallDomain, waterfallMarks, waterfallSteps, windowStartFor, withoutCollapsed, zhCN };
|
|
4192
|
+
export { type AdvancedExportRequest, type AdvancedExporter, CHART_LEGEND_POSITIONS, CHART_PALETTE_NAMES, CHIP_AUTO_MAX_WIDTH, COLLAPSED_PREFIX, type CalculatedFieldTextKey, type CellClickEvent, type CellPath, type CellPreparedEvent, 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 CustomSummaryOptions, DEFAULT_DATA_COLUMN_WIDTH, DEFAULT_ROW_HEADER_WIDTH, type DateFormatContext, DateFormatter, type DateGranularity, type DimensionFieldInfo, type DrillDownTextKey, type DropIntent, EXCEL_MAX_COLUMN_WIDTH, EXCEL_MIN_COLUMN_WIDTH, EXCEL_WIDTH_SAMPLE_ROWS, ExcelWidthTracker, type ExportFormat, type ExportOptions, ExportStreamController, type ExportingEvent, FILTER_AREA_PADDING, FILTER_AREA_ROW_GAP, 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 HeaderFilterGroup, type HeaderFilterOption, type HeaderFilterState, type HeaderFilterWrite, type HistogramBin, type LargeExportInfo, MAX_C, type MarkTone, PIVOT_AI_FEATURES, PIVOT_LICENSE_TEXT, PIVOT_STATE_VERSION, 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 PivotChipView, 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 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 PivotSummaryTableOptions, type PivotSummaryType, type PivotTheme, type PivotToolbarConfig, type PivotTransactionResult, type PivotValue, type PivotValueFilter, type PopupPlacement, type PopupViewport, type PrefilterConditionSpec, type PrefilterGroupSpec, ROW_HEADER_MAX_PINNED_FRACTION, ROW_HEADER_MIN_COL_WIDTH, ROW_HEADER_MIN_DATA_STRIP, type ReportStatePart, type RowHeaderLayout, SHAPE_CHART_TYPES, SHORT_PIVOT_HEIGHT, type ShapeChartInput, type ShapeChartType, type StackedSegment, type TreemapCell, type TrendShape, type ValueRange, type WaterfallStep, type WorkerComputeRequest, type WorkerFilterRequest, type WorkerFilterSpec, type WorkerInitRequest, type WorkerResponse, type WorkerTransactionRequest, type XYPair, type XYPairInput, applyPivotAiState, ar, attachFloatingFrame, bindPivotScrollMemory, buildCellLookup, buildColPathsList, buildColumnHeaders, buildEngineResult, buildPivotAOA, buildRowLabelCells, calculatedFieldText, cellHash, cellHashCol, cellHashRow, centredFrame, chartCategoryKey, chartKeyText, chartPalette, chartWindowFrame, clearFormatCache, collapsedKey, collapsedKeyPath, collatorFor, columnSlotOptions, compileSafeFormula, computeFieldRanges, computePivotMatrixAsync, computeRowHeaderWidths, computedFields, conditionRuleToExcelStyle, countFilteredFields, cssColorToRgb, cssZoomOf, de, defaultPivotLayout, destroyEngineWorker, diffPivotChartState, drillDownText, en, es, escapeXmlText, excelTextLength, excelValueLength, executePostAggregationPhase, executeSummaryDisplayModesPhase, exportPivotData, extractGroupValue, fieldNeedsRange, fieldValuesInMemory, filterAreaMaxHeight, filterAreaRows, filterEmptySummaryTree, filterPivotEngineAsync, filterRecords, filterRecordsAsync, flattenExportRows, flattenRowTree, flattenRowTreeTabular, flattenRowTreeTree, formatCellValue, formatCellValueCached, formatDimensionValue, formatHeaderFilterLabel, formatHeaderValue, fr, funnelMarks, funnelStages, getAdvancedExporter, getCellVal, getFieldDistinctValues, getPivotAiSchema, getPivotAiState, getRecordsForCells, getSummaryTable, getVisibleColLeaves, getVisibleColSlots, getVisibleLeafCount, getVisibleMaxDepth, grandTotalHeaderShown, grandTotalShown, groupHeaderFilterOptions, headerFilterGroupTick, headerFilterShown, headerFilterWrite, heatColor, heatTextColor, heatmapMarks, histogramBins, histogramMarks, initPivotEngineAsync, intlFormatToExcelNumFmt, invertRowHeaderWidth, isCollapsedKey, isKeyExpanded, it, ja, keepFieldGroups, keepFocusAcross, ko, logAxisTicks, measureFitWidth, mergePersistedState, nextChartWindowId, nextLiveText, paintedFontWeight, pairSeriesForXY, parseColor, pathKey, pathParts, percentAxisTicks, percentModeExcelNumFmt, percentModeText, pivotChangeAnnouncement, pivotChipView, pivotDensityClass, pivotLicenseText, pivotRowHeight, pivotRowTrend, pivotSchemeTheme, pivotServerSource, placePopup, popupViewport, pt, rangeBarMarks, rangeRatio, readChartFormat, readFrameRect, readPivotChartState, reconfigurePivotEngineAsync, registerAdvancedExporter, resizeLineX, resolveChartPalette, resolveChartStyle, resolveColPath, resolveColumnWidthDefaults, resolveConditionalVisual, rollupInMemory, rowHeaderGroupEnd, rowHeadersUnpinned, ru, scaleColor, serverRequestFor, setActiveEngineGrid, setHeaderFilterGroups, setKeysIn, shownFields, sortPivotTree, splitPersistedState, squarify, stackSeries, subtotalFor, summaryTypeLabel, sunburstMarks, testSafeFormula, toCssPixels, toggleHeaderFilterGroup, toggleKeyIn, tr, treemapMarks, trendColumnPaths, trendShape, watchShortPivot, waterfallDomain, waterfallMarks, waterfallSteps, windowStartFor, withoutCollapsed, zhCN };
|