@openpresentation/opf 0.36.0 → 0.37.1
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/THIRD-PARTY-NOTICES.md +99 -0
- package/dist/browser.js +19 -19
- package/dist/{catalog-refs-BgotJhR5.d.ts → catalog-refs-BeRgtpZS.d.ts} +4 -4
- package/dist/{catalog-schemas-BX-VEc5Q.d.ts → catalog-schemas-CwY-3cCP.d.ts} +1 -1
- package/dist/{chunk-6WVPFWPD.js → chunk-434E2RWO.js} +4 -4
- package/dist/{chunk-OFL3WY6F.js → chunk-63Y75CCK.js} +77 -15
- package/dist/{chunk-O65COLKF.js → chunk-BPILTZUJ.js} +118 -19
- package/dist/{chunk-4FA4AZXY.js → chunk-DDD4WUEH.js} +2375 -825
- package/dist/{chunk-MS2LPR7F.js → chunk-DMV3G65U.js} +1 -1
- package/dist/{chunk-AZELWKG2.js → chunk-EHYAVRL3.js} +5 -4
- package/dist/{chunk-7JE3XTL7.js → chunk-HBO64RWP.js} +4 -4
- package/dist/{chunk-J7FUSZZ5.js → chunk-HOK3DZA6.js} +6 -6
- package/dist/chunk-I4NQP7Z4.js +1 -0
- package/dist/{chunk-2NIID3QD.js → chunk-ITGR2RW2.js} +6 -6
- package/dist/chunk-IW4TXMJY.js +646 -0
- package/dist/{chunk-SER6GJTT.js → chunk-KB7TPZQI.js} +23 -6
- package/dist/{chunk-VDZXNNZF.js → chunk-M4IPCFDV.js} +1 -1
- package/dist/{chunk-F5SY7MSA.js → chunk-MNJ4JV7I.js} +1 -1
- package/dist/{chunk-XRMYP4JD.js → chunk-ORVMHVOS.js} +86 -2
- package/dist/{chunk-BPSZ7OWD.js → chunk-PDBZN7EJ.js} +26 -21
- package/dist/{chunk-3KPTVK77.js → chunk-Q2L5ERNK.js} +1248 -120
- package/dist/{chunk-HHQROUYC.js → chunk-QFT4R2IL.js} +4405 -2808
- package/dist/chunk-QQBOI5XI.js +86 -0
- package/dist/{chunk-TJMESSBQ.js → chunk-SIF5JDZC.js} +109 -9
- package/dist/{chunk-GNKOQ6NA.js → chunk-XY332BQP.js} +4 -4
- package/dist/{chunk-APCNAAA7.js → chunk-ZB427MLO.js} +2 -2
- package/dist/{composition-CSM7YfBl.d.ts → composition-DiKC371V.d.ts} +707 -134
- package/dist/composition.d.ts +3 -3
- package/dist/composition.js +1 -1
- package/dist/{conversion-CL7ipVGO.d.ts → conversion-DBkC9Y2e.d.ts} +6 -6
- package/dist/conversion-P56LOOE2.js +25 -0
- package/dist/convert.d.ts +5 -5
- package/dist/convert.js +63 -23
- package/dist/data.d.ts +41 -3
- package/dist/data.js +2 -2
- package/dist/{deck-report-DhsB0SUz.d.ts → deck-report-BwgsIRAf.d.ts} +3 -3
- package/dist/deck.d.ts +6 -6
- package/dist/deck.js +11 -11
- package/dist/diff.js +4 -4
- package/dist/docs.js +43 -31
- package/dist/examples.js +2338 -392
- package/dist/font-policy.js +1 -1
- package/dist/format.js +2 -2
- package/dist/ids.d.ts +17 -4
- package/dist/ids.js +4 -4
- package/dist/index.d.ts +140 -23
- package/dist/index.js +22 -22
- package/dist/markdown.d.ts +2 -2
- package/dist/markdown.js +8 -8
- package/dist/metric-data-B4Q8RFRR.d.ts +382 -0
- package/dist/node-engine.d.ts +6 -6
- package/dist/node-engine.js +21 -21
- package/dist/{pagination-BSqq32xt.d.ts → pagination-C9qnH_n-.d.ts} +5 -5
- package/dist/pagination.d.ts +4 -4
- package/dist/pagination.js +4 -4
- package/dist/patch.js +3 -3
- package/dist/precompiled.js +2 -2
- package/dist/{presentation-Dx-kZC8Y.d.ts → presentation-DmOhusrX.d.ts} +541 -110
- package/dist/schema-engine-ajv.js +1 -1
- package/dist/schema-engine-precompiled.js +2 -2
- package/dist/schema.d.ts +2 -2
- package/dist/schema.js +3 -3
- package/dist/schemas.d.ts +46 -2
- package/dist/schemas.js +1 -1
- package/dist/shape-engine-eager.js +2 -2
- package/dist/shape-engine-lazy.js +1 -1
- package/dist/{shape-engine-module-N74FCHGY.js → shape-engine-module-YU2XGIQN.js} +2 -2
- package/dist/shape-geometry.js +1 -1
- package/dist/source.js +10 -11
- package/dist/spec/reference/engine-defaults.json +1 -1
- package/dist/spec/reference/engine-vocabularies.json +1 -0
- package/dist/spec/schemas/font-scheme.schema.json +9 -7
- package/dist/spec/schemas/layout.schema.json +5 -4
- package/dist/spec/schemas/narrative.schema.json +1 -0
- package/dist/spec/schemas/opf.schema.json +661 -98
- package/dist/types.d.ts +16 -12
- package/dist/{validation-types-bnrso0JL.d.ts → validation-types-CV-ngACL.d.ts} +49 -6
- package/dist/validator.d.ts +5 -5
- package/dist/validator.js +3 -3
- package/dist/yaml.d.ts +2 -2
- package/dist/yaml.js +7 -7
- package/package.json +7 -6
- package/dist/chart-data-B_k-WTex.d.ts +0 -194
- package/dist/chunk-6VGLE7C5.js +0 -3983
- package/dist/chunk-SEC4IOOS.js +0 -1
- package/dist/chunk-WCPDN7AY.js +0 -642
- package/dist/conversion-FTGQLJK7.js +0 -25
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { d as CatalogOptions, D as ChartColorContext, b as ColorVariant, E as IconPart, F as IconPaint } from './catalog-refs-
|
|
1
|
+
import { E as ResolvedChartData, F as ResolvedMetric, y as MetricDataDiagnostic, b as DataColumnType, D as DataCellValue, j as DataDiagnostic, B as MetricRecord } from './metric-data-B4Q8RFRR.js';
|
|
2
|
+
import { d as CatalogOptions, D as ChartColorContext, b as ColorVariant, E as IconPart, F as IconPaint } from './catalog-refs-BeRgtpZS.js';
|
|
3
3
|
import { ShapePathFill, CustomPathInput } from './shape-geometry.js';
|
|
4
4
|
|
|
5
|
-
interface Box$
|
|
5
|
+
interface Box$d {
|
|
6
6
|
x: number;
|
|
7
7
|
y: number;
|
|
8
8
|
width: number;
|
|
@@ -13,13 +13,13 @@ interface NativeTreeNode {
|
|
|
13
13
|
index: number;
|
|
14
14
|
level: number;
|
|
15
15
|
parent?: number;
|
|
16
|
-
box: Box$
|
|
17
|
-
background?: Box$
|
|
16
|
+
box: Box$d;
|
|
17
|
+
background?: Box$d;
|
|
18
18
|
}
|
|
19
19
|
interface NativeTreeConnector {
|
|
20
20
|
parent: number;
|
|
21
21
|
child: number;
|
|
22
|
-
box: Box$
|
|
22
|
+
box: Box$d;
|
|
23
23
|
points: readonly [number, number][];
|
|
24
24
|
}
|
|
25
25
|
interface NativeTreeGeometry {
|
|
@@ -33,14 +33,14 @@ type NativeTreeGeometryResult = NativeTreeGeometry | {
|
|
|
33
33
|
index?: number;
|
|
34
34
|
};
|
|
35
35
|
/** SH21 geometry measured in PowerPoint, including paired Hierarchy cards and semantic connector paths; eligibility is separate. */
|
|
36
|
-
declare function nativeTreeGeometry(kind: NativeTreeKind, frame: Box$
|
|
36
|
+
declare function nativeTreeGeometry(kind: NativeTreeKind, frame: Box$d, entries: readonly unknown[]): NativeTreeGeometryResult;
|
|
37
37
|
/**
|
|
38
38
|
* HI1, H2: OPF's own tree, drawn where PowerPoint's (scaled as a whole to its frame) leaves most of the region empty or does not hold
|
|
39
39
|
* the labels: the same tidy positions, rows and connectors, but scaled across and down on their own. A node is as wide as the region's
|
|
40
40
|
* width allows (`span` of a unit); its height is `share` of a row's step, at most `aspect` times its width and at least PowerPoint's
|
|
41
41
|
* proportion of it, and the tree is centered in the region. A hierarchy keeps its rear and front cards in PowerPoint's proportions.
|
|
42
42
|
*/
|
|
43
|
-
declare function opfTreeGeometry(kind: NativeTreeKind, frame: Box$
|
|
43
|
+
declare function opfTreeGeometry(kind: NativeTreeKind, frame: Box$d, entries: readonly unknown[], share?: number, aspect?: number): NativeTreeGeometryResult;
|
|
44
44
|
|
|
45
45
|
/** SH-21: list-entry levels are a single-root tree's zero-based parent depth. Preserve source order and never infer a missing parent. */
|
|
46
46
|
/** `assistant`: the entry is its parent's assistant (`assistant: true`), which only an org chart places, beside the line to the reports. */
|
|
@@ -96,7 +96,7 @@ interface TableCellStyle {
|
|
|
96
96
|
bold?: boolean;
|
|
97
97
|
/** Logical, in the engine's words: `left` is the start edge (the document writes `start`) and `right` the end edge (`end`). */
|
|
98
98
|
align?: 'left' | 'center' | 'right';
|
|
99
|
-
|
|
99
|
+
anchor?: 'top' | 'middle' | 'bottom';
|
|
100
100
|
padding?: Partial<Record<'top' | 'right' | 'bottom' | 'left', number>>;
|
|
101
101
|
borders?: Partial<Record<'top' | 'right' | 'bottom' | 'left', TableBorder>>;
|
|
102
102
|
}
|
|
@@ -112,11 +112,24 @@ interface TableGridCell {
|
|
|
112
112
|
path: string;
|
|
113
113
|
valuePath: string;
|
|
114
114
|
}
|
|
115
|
+
/** One body row in the single form every reader uses: its `id` (when the row is the object form and has one), its cells and where they sit in the document. */
|
|
116
|
+
interface TableRowEntry {
|
|
117
|
+
id?: string;
|
|
118
|
+
cells: unknown[];
|
|
119
|
+
/** The row's own position, dotted (`table.rows.1`). */
|
|
120
|
+
path: string;
|
|
121
|
+
/** Where the cells are, dotted: the row itself for the array form, `<row>.cells` for the object form. */
|
|
122
|
+
cellsPath: string;
|
|
123
|
+
/** Whether the row is the object form `{ id, cells }`. */
|
|
124
|
+
object: boolean;
|
|
125
|
+
}
|
|
115
126
|
interface TableGridIssue {
|
|
116
127
|
path: string;
|
|
117
128
|
message: string;
|
|
118
129
|
}
|
|
119
130
|
interface TableGrid {
|
|
131
|
+
/** The id of each grid row (the header row has none), index-aligned with `owners`. */
|
|
132
|
+
rowIds: (string | undefined)[];
|
|
120
133
|
rows: TableGridCell[][];
|
|
121
134
|
columnCount: number;
|
|
122
135
|
rowCount: number;
|
|
@@ -125,6 +138,16 @@ interface TableGrid {
|
|
|
125
138
|
owners: (TableGridCell | undefined)[][];
|
|
126
139
|
issues: TableGridIssue[];
|
|
127
140
|
}
|
|
141
|
+
/** A row's cells whichever form it is written in: the array itself, or `cells` of the object form; anything else has none. */
|
|
142
|
+
declare function rowCells(row: unknown): unknown[];
|
|
143
|
+
/** The id of a body row: `id` of the object form, undefined for the array form and for an id that is not a non-empty string. */
|
|
144
|
+
declare function rowId(row: unknown): string | undefined;
|
|
145
|
+
/**
|
|
146
|
+
* The body rows of an inline table in ONE form (FR-02): each row is `{ id?, cells, path, cellsPath, object }` whether the document wrote
|
|
147
|
+
* `[cell, ...]` or `{ "id": "r1", "cells": [...] }`. The renderer, the exporter, the editor and the converters read rows through this
|
|
148
|
+
* (or through `rowCells`), so none of them branches on the two spellings. A dataset-backed table or a value that is not a table has no rows.
|
|
149
|
+
*/
|
|
150
|
+
declare function tableRows(value: unknown, path?: string): TableRowEntry[];
|
|
128
151
|
declare function tableGrid(value: unknown, path?: string): TableGrid;
|
|
129
152
|
/** Row boundaries that preserve every vertical merge, used by pagination. */
|
|
130
153
|
declare function tableRowBoundaries(value: unknown): number[];
|
|
@@ -162,7 +185,7 @@ declare const CHART_MIN_TICK_SPACING_PX = 48;
|
|
|
162
185
|
declare const CHART_MAX_INTERVALS = 6;
|
|
163
186
|
/**
|
|
164
187
|
* RR-90: the unscaled chart text size for a chart box: {@link CHART_TEXT_PX}, shrunk only when the box is small (the text is at most
|
|
165
|
-
* 1/18 of the box height and 1/30 of its width, whole pixels) and never below `
|
|
188
|
+
* 1/18 of the box height and 1/30 of its width, whole pixels) and never below `minFontSizePx` (default 16). WI-5: a box with room for it
|
|
166
189
|
* (at least 216 x 288 reference pixels) keeps {@link CHART_TEXT_FLOOR_PX} (18) as its floor, so a three-column or dashboard chart draws 18 px text
|
|
167
190
|
* where it drew 16. `width` and `height` are the box in
|
|
168
191
|
* canvas pixels and `scale` is `min(slide width, slide height) / 720`. The preview and the axis density both call it, so the
|
|
@@ -172,7 +195,7 @@ declare function chartTextSize(geometry: {
|
|
|
172
195
|
width: number;
|
|
173
196
|
height: number;
|
|
174
197
|
scale: number;
|
|
175
|
-
|
|
198
|
+
minFontSizePx?: number;
|
|
176
199
|
}): number;
|
|
177
200
|
/** Rebuild bounded native-axis ticks without overflowing an otherwise finite axis span or tick product. */
|
|
178
201
|
declare function chartAxisScale(axis: ChartValueAxis | undefined): ChartScale | undefined;
|
|
@@ -246,8 +269,8 @@ interface ChartAxisGeometry {
|
|
|
246
269
|
height: number;
|
|
247
270
|
/** `min(slide width, slide height) / 720`. */
|
|
248
271
|
scale: number;
|
|
249
|
-
/** The composition's `
|
|
250
|
-
|
|
272
|
+
/** The composition's `minFontSizePx` (default 16), which the chart text never goes below. */
|
|
273
|
+
minFontSizePx?: number;
|
|
251
274
|
/** LH-60: the deck language, which names the places a map chart plots (a map over other categories is drawn as columns). */
|
|
252
275
|
language?: string;
|
|
253
276
|
/** LH-119: the chart's points (or columns) carry their value labels and its value axis is hidden (the small chart, LH-03). */
|
|
@@ -300,6 +323,89 @@ declare function chartAxisFraction(value: number, axis: {
|
|
|
300
323
|
max: number;
|
|
301
324
|
}, reverse?: boolean): number;
|
|
302
325
|
|
|
326
|
+
interface Box$c {
|
|
327
|
+
x: number;
|
|
328
|
+
y: number;
|
|
329
|
+
width: number;
|
|
330
|
+
height: number;
|
|
331
|
+
}
|
|
332
|
+
/** One band label as composition placed it: the band's index in `chart.bands`, its text and its box (slide pixels), and the end it took. */
|
|
333
|
+
interface ChartBandLabel {
|
|
334
|
+
index: number;
|
|
335
|
+
text: string;
|
|
336
|
+
box: Box$c;
|
|
337
|
+
/** `end`/`start` of a stripe, `top`/`bottom` of a strip, or `beside` the plot (FR-07d: a stripe's in the gutter at the plot's end, a
|
|
338
|
+
* strip's in the row above the plot). */
|
|
339
|
+
place: 'end' | 'start' | 'top' | 'bottom' | 'beside';
|
|
340
|
+
/** The category (0-based, in data order) whose point carries the label in PowerPoint. */
|
|
341
|
+
category: number;
|
|
342
|
+
/** The label's text alignment in its box (`center` for a strip's label above the plot). */
|
|
343
|
+
align: 'left' | 'right' | 'center';
|
|
344
|
+
}
|
|
345
|
+
interface ChartLayerBandLabels {
|
|
346
|
+
/** The labels drawn inside their bands; empty when `legend` is true. */
|
|
347
|
+
labels: ChartBandLabel[];
|
|
348
|
+
/** True when the labels go to the legend instead (a label does not fit its band, or meets a mark at both places). */
|
|
349
|
+
legend?: true;
|
|
350
|
+
/** FR-07d: true when the labels stand beside the plot (`placeBandLabelsBeside`): the secondary text color on the surface. */
|
|
351
|
+
beside?: true;
|
|
352
|
+
/** Why the labels went to the legend. */
|
|
353
|
+
reason?: 'too-large' | 'collision';
|
|
354
|
+
}
|
|
355
|
+
/** The padding of a band label inside its band, in reference pixels: 8 along the band's edge, 4 from its top (or bottom). */
|
|
356
|
+
declare const BAND_LABEL_PADDING: Readonly<{
|
|
357
|
+
along: 8;
|
|
358
|
+
across: 4;
|
|
359
|
+
}>;
|
|
360
|
+
/**
|
|
361
|
+
* Place the labels of a chart's labeled bands inside their bands (see the module comment). `plot` is the chart's pinned plot as an inset from
|
|
362
|
+
* `box`; `axis` its value axis. Undefined when the chart has no labeled band. `labeled` says the chart's marks carry data labels.
|
|
363
|
+
*/
|
|
364
|
+
declare function placeBandLabels(chart: unknown, data: ResolvedChartData, axis: ChartValueAxis | undefined, box: Box$c, inset: ChartPlotInset, geometry: {
|
|
365
|
+
scale: number;
|
|
366
|
+
minFontSizePx?: number;
|
|
367
|
+
measure: (text: string, size: number) => number;
|
|
368
|
+
direction?: 'ltr' | 'rtl';
|
|
369
|
+
labeled?: boolean;
|
|
370
|
+
avoid?: readonly Box$c[];
|
|
371
|
+
}): ChartLayerBandLabels | undefined;
|
|
372
|
+
/** FR-07d: the most of the chart frame a gutter of band labels beside the plot may take (its width), and a row above the plot (its height). */
|
|
373
|
+
declare const BAND_LABEL_BESIDE_LIMIT: Readonly<{
|
|
374
|
+
gutter: 0.22;
|
|
375
|
+
row: 0.12;
|
|
376
|
+
}>;
|
|
377
|
+
/**
|
|
378
|
+
* FR-07d (supervisor, 2026-11-26): the second placement of a chart's band labels, tried when they do not all stand inside their bands. Stripes
|
|
379
|
+
* (column, line and area charts) take a gutter at the plot's END, the side of its last category and away from the value axis: the right, or the
|
|
380
|
+
* left in a right-to-left chart, whose categories run from the right with the value axis on the right. Each label is centered on its band's
|
|
381
|
+
* height and starts 8 px from the plot's edge; the plot gets narrower by the widest label and that padding. Strips (horizontal bar charts and the
|
|
382
|
+
* bullet chart) take a row above the plot: each label centered over its strip; the plot gets shorter by one label line and its padding (4 px
|
|
383
|
+
* above and below). Returns the labels and the new plot inset, or undefined when the placement is not allowed: `blocked` (something else of the
|
|
384
|
+
* chart uses that side), two labels overlap (a label is never moved off its band), a strip's label is wider than its strip less the padding, a
|
|
385
|
+
* label leaves the chart frame, or the gutter takes more than 22% of the frame's width (the row more than 12% of its height).
|
|
386
|
+
*/
|
|
387
|
+
declare function placeBandLabelsBeside(chart: unknown, data: ResolvedChartData, axis: ChartValueAxis | undefined, box: Box$c, inset: ChartPlotInset, geometry: {
|
|
388
|
+
scale: number;
|
|
389
|
+
minFontSizePx?: number;
|
|
390
|
+
measure: (text: string, size: number) => number;
|
|
391
|
+
direction?: 'ltr' | 'rtl';
|
|
392
|
+
blocked?: boolean;
|
|
393
|
+
}): {
|
|
394
|
+
labels: ChartBandLabel[];
|
|
395
|
+
inset: ChartPlotInset;
|
|
396
|
+
} | undefined;
|
|
397
|
+
/** The contrast every band label keeps against its band. */
|
|
398
|
+
declare const BAND_LABEL_MIN_CONTRAST = 4.5;
|
|
399
|
+
/**
|
|
400
|
+
* The one color of all band labels of a chart: the secondary text color (`secondary`, the axis-label color) when it reaches 4.5:1 on every labeled
|
|
401
|
+
* band's fill, otherwise the primary text color (`primary`). `failing` lists the positions (in `fills`) where even the primary color stays below
|
|
402
|
+
* 4.5:1 (an author's own dark band): the label is still drawn there, and the engines report it.
|
|
403
|
+
*/
|
|
404
|
+
declare function bandLabelColor(fills: readonly string[], secondary: string, primary: string): {
|
|
405
|
+
color: string;
|
|
406
|
+
failing: number[];
|
|
407
|
+
};
|
|
408
|
+
|
|
303
409
|
/** LH-105: what the slide title names: series (indices among the plotted series) or categories (row indices). */
|
|
304
410
|
interface ChartLayerFocus {
|
|
305
411
|
series?: number[];
|
|
@@ -365,7 +471,7 @@ interface ChartLayerRows {
|
|
|
365
471
|
left: number;
|
|
366
472
|
right: number;
|
|
367
473
|
}
|
|
368
|
-
type Box$
|
|
474
|
+
type Box$b = {
|
|
369
475
|
x: number;
|
|
370
476
|
y: number;
|
|
371
477
|
width: number;
|
|
@@ -380,9 +486,9 @@ type Box$a = {
|
|
|
380
486
|
*/
|
|
381
487
|
declare function alignBarRows(data: Extract<ResolvedChartData, {
|
|
382
488
|
ok: true;
|
|
383
|
-
}>, box: Box$
|
|
489
|
+
}>, box: Box$b, rows: readonly Box$b[], centers: readonly number[], options: {
|
|
384
490
|
scale: number;
|
|
385
|
-
|
|
491
|
+
minFontSizePx?: number;
|
|
386
492
|
header?: number;
|
|
387
493
|
hiddenAxis?: boolean;
|
|
388
494
|
labels?: boolean;
|
|
@@ -522,7 +628,7 @@ declare function chartHighlightMarks(highlight: ResolvedChartHighlight | undefin
|
|
|
522
628
|
*/
|
|
523
629
|
declare function chartNumberLanguage(chart: unknown, language?: string): string | undefined;
|
|
524
630
|
|
|
525
|
-
interface Box$
|
|
631
|
+
interface Box$a {
|
|
526
632
|
x: number;
|
|
527
633
|
y: number;
|
|
528
634
|
width: number;
|
|
@@ -530,10 +636,10 @@ interface Box$9 {
|
|
|
530
636
|
}
|
|
531
637
|
/** The geometry a chart's plot is laid out with. Lengths are slide pixels. */
|
|
532
638
|
interface ChartPlotGeometry {
|
|
533
|
-
box: Box$
|
|
639
|
+
box: Box$a;
|
|
534
640
|
/** `min(slide width, slide height) / 720`. */
|
|
535
641
|
scale: number;
|
|
536
|
-
|
|
642
|
+
minFontSizePx?: number;
|
|
537
643
|
/** The width of `text` at `size` px in the deck's body font at weight 400. */
|
|
538
644
|
measure: (text: string, size: number) => number;
|
|
539
645
|
direction?: 'ltr' | 'rtl';
|
|
@@ -555,7 +661,7 @@ declare function chartPlotInset(chart: unknown, resolved: ResolvedChartData, com
|
|
|
555
661
|
/** LH-93: a chart of a shared set: its object, its box and what composition gave it. */
|
|
556
662
|
interface SiblingPlotChart {
|
|
557
663
|
value: unknown;
|
|
558
|
-
box: Box$
|
|
664
|
+
box: Box$a;
|
|
559
665
|
chart?: {
|
|
560
666
|
valueAxis?: ChartValueAxis;
|
|
561
667
|
layer?: ChartLayer;
|
|
@@ -585,12 +691,12 @@ interface ChartReference {
|
|
|
585
691
|
stroke: {
|
|
586
692
|
color?: unknown;
|
|
587
693
|
width: number;
|
|
588
|
-
dash:
|
|
694
|
+
dash: ChartReferenceDash;
|
|
589
695
|
};
|
|
590
696
|
/** Original authored stroke, retained only while native paint is unchanged. */
|
|
591
697
|
authoredStroke?: unknown;
|
|
592
698
|
}
|
|
593
|
-
interface Box$
|
|
699
|
+
interface Box$9 {
|
|
594
700
|
x: number;
|
|
595
701
|
y: number;
|
|
596
702
|
width: number;
|
|
@@ -606,7 +712,7 @@ interface ChartReferenceLine extends ChartReference {
|
|
|
606
712
|
strokeWidth: number;
|
|
607
713
|
native: boolean;
|
|
608
714
|
endpoint: number;
|
|
609
|
-
labelBox?: Box$
|
|
715
|
+
labelBox?: Box$9;
|
|
610
716
|
labelSide?: 'above' | 'below' | 'left' | 'right';
|
|
611
717
|
labelAlign?: 'left' | 'right' | 'center';
|
|
612
718
|
/** RR-105: the label could not avoid a mark at either end, so it stands on a plate of the chart's surface color. */
|
|
@@ -621,6 +727,8 @@ interface ChartLayerReferences {
|
|
|
621
727
|
lines: ChartReferenceLine[];
|
|
622
728
|
diagnostics: ChartReferenceDiagnostic[];
|
|
623
729
|
}
|
|
730
|
+
/** The preset dash names of a chart reference line's stroke (the names a shape outline's `Stroke.dash` takes); `dash` is the default. */
|
|
731
|
+
type ChartReferenceDash = 'solid' | 'dot' | 'dash' | 'longDash' | 'dashDot' | 'longDashDot' | 'longDashDotDot' | 'sysDot' | 'sysDash' | 'sysDashDot' | 'sysDashDotDot';
|
|
624
732
|
/** Read only explicit properties; never parse text, suppress duplicates or impose a line cap. */
|
|
625
733
|
declare function chartReferences(chart: unknown): ChartReference[];
|
|
626
734
|
/** The authored position (`referenceLines.<n>`) of each reference chartReferences keeps, in its order: an entry without a finite value is skipped. */
|
|
@@ -629,7 +737,7 @@ declare function chartReferenceSources(chart: unknown): number[];
|
|
|
629
737
|
declare function placeReferences(refs: readonly ChartReference[], data: ResolvedChartData, axes: {
|
|
630
738
|
value: ChartValueAxis;
|
|
631
739
|
secondary?: ChartValueAxis;
|
|
632
|
-
}, box: Box$
|
|
740
|
+
}, box: Box$9, inset: {
|
|
633
741
|
left: number;
|
|
634
742
|
top: number;
|
|
635
743
|
right: number;
|
|
@@ -639,7 +747,7 @@ declare function placeReferences(refs: readonly ChartReference[], data: Resolved
|
|
|
639
747
|
chartType?: string;
|
|
640
748
|
}): ChartLayerReferences | undefined;
|
|
641
749
|
|
|
642
|
-
interface Box$
|
|
750
|
+
interface Box$8 {
|
|
643
751
|
x: number;
|
|
644
752
|
y: number;
|
|
645
753
|
width: number;
|
|
@@ -698,7 +806,7 @@ interface ChartValueListRow {
|
|
|
698
806
|
name: string;
|
|
699
807
|
value: string;
|
|
700
808
|
bold?: boolean;
|
|
701
|
-
box: Box$
|
|
809
|
+
box: Box$8;
|
|
702
810
|
}
|
|
703
811
|
/**
|
|
704
812
|
* LH-125: a doughnut with one focused slice prints that slice's value in its hole, large and bold in the slice's color, with the slice's
|
|
@@ -709,24 +817,24 @@ interface ChartValueListHole {
|
|
|
709
817
|
row: number;
|
|
710
818
|
value: {
|
|
711
819
|
text: string;
|
|
712
|
-
box: Box$
|
|
820
|
+
box: Box$8; /** The text size in slide pixels. */
|
|
713
821
|
size: number;
|
|
714
822
|
};
|
|
715
823
|
name?: {
|
|
716
824
|
text: string;
|
|
717
|
-
box: Box$
|
|
825
|
+
box: Box$8;
|
|
718
826
|
};
|
|
719
827
|
}
|
|
720
828
|
/** LH-108: the value list beside a pie or one-series doughnut. Boxes are slide pixels. */
|
|
721
829
|
interface ChartLayerValueList {
|
|
722
830
|
/** The square the pie (or doughnut) fills. */
|
|
723
|
-
pie: Box$
|
|
831
|
+
pie: Box$8;
|
|
724
832
|
/** LH-125: the focused slice's value in a doughnut's hole. */
|
|
725
833
|
hole?: ChartValueListHole;
|
|
726
834
|
/** The values' unit above the value column (the value column's name or the value axis title), at the end of the list's first line. */
|
|
727
835
|
header?: {
|
|
728
836
|
text: string;
|
|
729
|
-
box: Box$
|
|
837
|
+
box: Box$8;
|
|
730
838
|
};
|
|
731
839
|
rows: ChartValueListRow[];
|
|
732
840
|
/** The swatch side and the space after it. */
|
|
@@ -749,7 +857,7 @@ declare function chartValueList(chart: unknown, data: ResolvedChartData, geometr
|
|
|
749
857
|
/** LH-182: a doughnut's square and its hole, in slide pixels. */
|
|
750
858
|
interface ChartLayerDoughnut {
|
|
751
859
|
/** The square the doughnut fills (its outer diameter): the preview draws it there and the PPTX export pins the plot area to it. */
|
|
752
|
-
pie: Box$
|
|
860
|
+
pie: Box$8;
|
|
753
861
|
/** The hole, half the doughnut's radius (`c:holeSize` 50), which both engines fill with the surface the chart stands on. */
|
|
754
862
|
hole: {
|
|
755
863
|
cx: number;
|
|
@@ -783,13 +891,13 @@ declare function chartDoughnut(chart: unknown, data: ResolvedChartData, geometry
|
|
|
783
891
|
*/
|
|
784
892
|
declare function chartCircleSquare(chart: unknown, data: ResolvedChartData, geometry: ChartLayerGeometry, layer: ChartLayer | undefined, { labels }?: {
|
|
785
893
|
labels?: boolean;
|
|
786
|
-
}): Box$
|
|
894
|
+
}): Box$8 | undefined;
|
|
787
895
|
/** LH-109: one series name beside the last column or band (LH-125: above the first bar): its swatch and name in `box`, centered on its segment's middle when it can be. */
|
|
788
896
|
interface ChartStackName {
|
|
789
897
|
series: number;
|
|
790
898
|
name: string;
|
|
791
899
|
bold?: boolean;
|
|
792
|
-
box: Box$
|
|
900
|
+
box: Box$8;
|
|
793
901
|
}
|
|
794
902
|
/** LH-125: one end point of a stacked area drawn inside the band at the plot's edge: the value as the column's format prints it, `align`ed to that edge. */
|
|
795
903
|
interface ChartStackEnd {
|
|
@@ -797,7 +905,7 @@ interface ChartStackEnd {
|
|
|
797
905
|
row: number;
|
|
798
906
|
text: string;
|
|
799
907
|
align: 'left' | 'right';
|
|
800
|
-
box: Box$
|
|
908
|
+
box: Box$8;
|
|
801
909
|
}
|
|
802
910
|
/** LH-109: how a stacked column, bar or area chart labels itself. */
|
|
803
911
|
interface ChartLayerStack {
|
|
@@ -835,7 +943,7 @@ interface ChartLayerStack {
|
|
|
835
943
|
* closer than a text line, within the plot. `relaxed` places them however far they move (after a shared plot moved them); otherwise a name
|
|
836
944
|
* moved more than a line from its segment fails, and the chart keeps its legend.
|
|
837
945
|
*/
|
|
838
|
-
declare function placeStackNames(chart: unknown, data: ResolvedChartData, axis: ChartValueAxis, box: Box$
|
|
946
|
+
declare function placeStackNames(chart: unknown, data: ResolvedChartData, axis: ChartValueAxis, box: Box$8, plotInset: {
|
|
839
947
|
left: number;
|
|
840
948
|
top: number;
|
|
841
949
|
right: number;
|
|
@@ -849,7 +957,7 @@ declare function placeStackNames(chart: unknown, data: ResolvedChartData, axis:
|
|
|
849
957
|
* a small chart's value labels (LH-03, no value axis) keep the widest label's room beyond the longest bar. Undefined for a chart with
|
|
850
958
|
* options or a chart drawn on a table's rows (LH-115): those keep their own plot. Stacked marks are refitted after sharing (refreshChartMarks).
|
|
851
959
|
*/
|
|
852
|
-
declare function horizontalBarPlot(chart: unknown, data: ResolvedChartData, layer: ChartLayer | undefined, axis: ChartValueAxis, box: Box$
|
|
960
|
+
declare function horizontalBarPlot(chart: unknown, data: ResolvedChartData, layer: ChartLayer | undefined, axis: ChartValueAxis, box: Box$8, geometry: Omit<ChartPlotGeometry, 'box'>): ChartPlotInset | undefined;
|
|
853
961
|
/**
|
|
854
962
|
* LH-109, LH-125: the stacked-chart layer and value axis, or undefined for another chart.
|
|
855
963
|
*
|
|
@@ -869,12 +977,12 @@ declare function chartStack(chart: unknown, data: ResolvedChartData, layer: Char
|
|
|
869
977
|
* else the header it had), and the values that fit their segments are decided again against the aligned plot (the rows' span and the
|
|
870
978
|
* gutter and value labels the preview leaves). Any other layer is returned with its `rows`.
|
|
871
979
|
*/
|
|
872
|
-
declare function restackForRows(chart: unknown, data: ResolvedChartData, layer: ChartLayer, rows: ChartLayerRows, box: Box$
|
|
980
|
+
declare function restackForRows(chart: unknown, data: ResolvedChartData, layer: ChartLayer, rows: ChartLayerRows, box: Box$8, axis: ChartValueAxis | undefined, geometry: Omit<ChartPlotGeometry, 'box'>): ChartLayer;
|
|
873
981
|
|
|
874
982
|
/** A composed chart item, as composition hands it to {@link refreshChartMarks}. */
|
|
875
983
|
interface ComposedChartItem$1 {
|
|
876
984
|
value: unknown;
|
|
877
|
-
box: Box$
|
|
985
|
+
box: Box$8;
|
|
878
986
|
chart?: {
|
|
879
987
|
valueAxis?: ChartValueAxis;
|
|
880
988
|
secondaryValueAxis?: ChartValueAxis;
|
|
@@ -965,7 +1073,7 @@ interface ChartNumericAxes {
|
|
|
965
1073
|
/** The same chart-text size, padding, legend and axis-title bands the preview reserves. */
|
|
966
1074
|
declare function chartNumericAxes(chart: unknown, data: ResolvedChartData, geometry: ChartLayerGeometry, layer?: ChartLayer): ChartNumericAxes | undefined;
|
|
967
1075
|
|
|
968
|
-
interface Box$
|
|
1076
|
+
interface Box$7 {
|
|
969
1077
|
x: number;
|
|
970
1078
|
y: number;
|
|
971
1079
|
width: number;
|
|
@@ -973,9 +1081,9 @@ interface Box$6 {
|
|
|
973
1081
|
}
|
|
974
1082
|
/** The geometry a radar is laid out in (chart-layer.ts ChartLayerGeometry). */
|
|
975
1083
|
interface RadarGeometry {
|
|
976
|
-
box: Box$
|
|
1084
|
+
box: Box$7;
|
|
977
1085
|
scale: number;
|
|
978
|
-
|
|
1086
|
+
minFontSizePx?: number;
|
|
979
1087
|
measure: (text: string, size: number, weight: 400 | 700) => number;
|
|
980
1088
|
}
|
|
981
1089
|
/** RR-105: a radar's layout, read by both engines: where its legend stands and its value axis. */
|
|
@@ -986,7 +1094,7 @@ interface ChartLayerRadar {
|
|
|
986
1094
|
* A bottom legend's band (slide pixels): its rows of entries centered across the box, `pad` above the box's bottom edge; the web and its
|
|
987
1095
|
* labels are laid out in the box above it. The PPTX export writes it as the legend's manual layout.
|
|
988
1096
|
*/
|
|
989
|
-
legendBox?: Box$
|
|
1097
|
+
legendBox?: Box$7;
|
|
990
1098
|
/** The value axis (ticks from `min` to `max` every `majorUnit`), which the PPTX export writes as the radar's c:valAx scaling. */
|
|
991
1099
|
axis: {
|
|
992
1100
|
min: number;
|
|
@@ -1013,7 +1121,7 @@ declare const SMALL_CHART_MAX_POINTS = 16;
|
|
|
1013
1121
|
declare const CHART_HEADER_MAX_LEGEND = 4;
|
|
1014
1122
|
/** LH-143: a legend wider than the header row wraps onto at most this many rows before the chart keeps its side legend. */
|
|
1015
1123
|
declare const CHART_HEADER_LEGEND_ROWS = 2;
|
|
1016
|
-
interface Box$
|
|
1124
|
+
interface Box$6 {
|
|
1017
1125
|
x: number;
|
|
1018
1126
|
y: number;
|
|
1019
1127
|
width: number;
|
|
@@ -1030,23 +1138,25 @@ interface ChartLayerSmall {
|
|
|
1030
1138
|
}
|
|
1031
1139
|
/** One legend entry of the header row: its series, its name and the box of its key and name (slide pixels). */
|
|
1032
1140
|
interface ChartHeaderLegendEntry {
|
|
1033
|
-
/** Index of the series among the plotted series. */
|
|
1141
|
+
/** Index of the series among the plotted series; -1 for a band's entry. */
|
|
1034
1142
|
series: number;
|
|
1143
|
+
/** FR-07: a labeled band's entry: its index in `chart.bands` as authored. The bands come first (PowerPoint lists them first). */
|
|
1144
|
+
band?: number;
|
|
1035
1145
|
name: string;
|
|
1036
1146
|
/** `line`: a line key (with a marker on a line chart with markers and on a combo line series); otherwise a square swatch. */
|
|
1037
1147
|
key?: 'line';
|
|
1038
|
-
box: Box$
|
|
1148
|
+
box: Box$6;
|
|
1039
1149
|
}
|
|
1040
1150
|
/** LH-81: the header row above the plot. Boxes are slide pixels. */
|
|
1041
1151
|
interface ChartLayerHeader {
|
|
1042
1152
|
/** The caption and its box (one line, at the start of the first row); absent when the payload has its own caption. */
|
|
1043
1153
|
caption?: {
|
|
1044
1154
|
text: string;
|
|
1045
|
-
box: Box$
|
|
1155
|
+
box: Box$6;
|
|
1046
1156
|
};
|
|
1047
1157
|
/** The legend in the header row; absent for one series, for more than four, or when the entries do not fit one row. */
|
|
1048
1158
|
legend?: {
|
|
1049
|
-
box: Box$
|
|
1159
|
+
box: Box$6;
|
|
1050
1160
|
entries: ChartHeaderLegendEntry[];
|
|
1051
1161
|
};
|
|
1052
1162
|
/** The band the header takes from the top of the chart box: the padding and one or two rows. The plot is laid out below it. */
|
|
@@ -1074,6 +1184,8 @@ interface ChartPlotInset {
|
|
|
1074
1184
|
}
|
|
1075
1185
|
/** What composition decides for a chart beyond its value axis (LH-03, LH-81, LH-92, LH-93). */
|
|
1076
1186
|
interface ChartLayer {
|
|
1187
|
+
/** FR-07: the band labels inside their bands, or (`legend`) the fallback that lists them in the legend. */
|
|
1188
|
+
bandLabels?: ChartLayerBandLabels;
|
|
1077
1189
|
/** RR-105: scatter X/Y and box-and-whisker axes, also written into native PPTX. */
|
|
1078
1190
|
numericAxes?: ChartNumericAxes;
|
|
1079
1191
|
small?: ChartLayerSmall;
|
|
@@ -1131,7 +1243,7 @@ interface ChartEndLabel {
|
|
|
1131
1243
|
/** True for a series the title names (ChartLayer.focus): its label is bold. */
|
|
1132
1244
|
bold?: boolean;
|
|
1133
1245
|
/** The label's box: beside the point (after it, before it right to left), moved up or down only to keep clear of the other names. */
|
|
1134
|
-
box: Box$
|
|
1246
|
+
box: Box$6;
|
|
1135
1247
|
}
|
|
1136
1248
|
/** LH-105: the names at the line ends and the gutter the plot leaves for them at its end (slide pixels). */
|
|
1137
1249
|
interface ChartLayerEndLabels {
|
|
@@ -1149,10 +1261,10 @@ interface ChartLayerSlices {
|
|
|
1149
1261
|
}
|
|
1150
1262
|
/** The geometry and text a chart layer is decided with. Lengths are slide pixels. */
|
|
1151
1263
|
interface ChartLayerGeometry {
|
|
1152
|
-
box: Box$
|
|
1264
|
+
box: Box$6;
|
|
1153
1265
|
/** `min(slide width, slide height) / 720`. */
|
|
1154
1266
|
scale: number;
|
|
1155
|
-
|
|
1267
|
+
minFontSizePx?: number;
|
|
1156
1268
|
/** The width of `text` at `size` px in the deck's body font, at weight 400 or (the caption) 700. */
|
|
1157
1269
|
measure: (text: string, size: number, weight: 400 | 700) => number;
|
|
1158
1270
|
direction?: 'ltr' | 'rtl';
|
|
@@ -1189,6 +1301,7 @@ declare function smallChart(chart: unknown, data: ResolvedChartData, geometry?:
|
|
|
1189
1301
|
*/
|
|
1190
1302
|
declare function chartHeader(chart: unknown, data: ResolvedChartData, geometry: ChartLayerGeometry, options?: {
|
|
1191
1303
|
legend?: boolean;
|
|
1304
|
+
bands?: boolean;
|
|
1192
1305
|
}): ChartLayerHeader | undefined;
|
|
1193
1306
|
/**
|
|
1194
1307
|
* LH-176: the gap between two categories' bars, as a percent of one bar's width (DrawingML `c:gapWidth`): 150 for clustered bars and
|
|
@@ -1245,6 +1358,342 @@ declare function chartLayerDataLabels<T extends {
|
|
|
1245
1358
|
dataLabels?: unknown;
|
|
1246
1359
|
}>(resolved: T, layer: ChartLayer | undefined, kind: 'bar' | 'line' | string): T;
|
|
1247
1360
|
|
|
1361
|
+
/** The color-scheme names a scale may use: the slots and roles of ColorRef, without the hyperlink colors (schema `SchemeColorName`). */
|
|
1362
|
+
declare const SCHEME_COLOR_NAMES: readonly ["accent1", "accent2", "accent3", "accent4", "accent5", "accent6", "dark1", "dark2", "light1", "light2", "primary", "secondary", "accent", "background", "surface", "surfaceAlt", "text", "textSecondary"];
|
|
1363
|
+
type SchemeColorName = typeof SCHEME_COLOR_NAMES[number];
|
|
1364
|
+
/** The authored scale (schema `TableColorScale`). */
|
|
1365
|
+
interface TableColorScaleSpec {
|
|
1366
|
+
columns: string[];
|
|
1367
|
+
/** Two or three scheme color names, low to high: two make a sequential scale, three a diverging one through the middle color. Absent: surface, primary. */
|
|
1368
|
+
colors?: SchemeColorName[];
|
|
1369
|
+
center?: number;
|
|
1370
|
+
min?: number;
|
|
1371
|
+
max?: number;
|
|
1372
|
+
}
|
|
1373
|
+
/** What the caller supplies: how a scheme name resolves in the effective color scheme, and the scheme's text color. */
|
|
1374
|
+
interface TableColorScaleColors {
|
|
1375
|
+
/** The color of a scheme name as `#RRGGBB`. */
|
|
1376
|
+
resolve: (name: SchemeColorName) => string;
|
|
1377
|
+
/** The scheme's `text` color: the cell text on a fill it reads on (4.5:1). */
|
|
1378
|
+
text: string;
|
|
1379
|
+
/** The scheme's `background` color: the cell text on a fill `text` does not read on but this does (4.5:1); without it, or when it does not read either, black or white. */
|
|
1380
|
+
background?: string;
|
|
1381
|
+
}
|
|
1382
|
+
/** One shaded cell: the fill (`#RRGGBB`) and the text color that reads on it. `row` is the body row (0-based, after the header). */
|
|
1383
|
+
interface TableColorScaleCell {
|
|
1384
|
+
row: number;
|
|
1385
|
+
column: number;
|
|
1386
|
+
value: number;
|
|
1387
|
+
fill: string;
|
|
1388
|
+
text: string;
|
|
1389
|
+
}
|
|
1390
|
+
/** The values a scale was computed over: `center` only for a diverging scale. */
|
|
1391
|
+
interface TableColorScaleRange {
|
|
1392
|
+
min: number;
|
|
1393
|
+
max: number;
|
|
1394
|
+
center?: number;
|
|
1395
|
+
}
|
|
1396
|
+
interface TableColorScaleResult {
|
|
1397
|
+
cells: TableColorScaleCell[];
|
|
1398
|
+
/** The cell at (body row, column), when it is shaded. */
|
|
1399
|
+
at: (row: number, column: number) => TableColorScaleCell | undefined;
|
|
1400
|
+
/** The effective range, absent when no named column has a number. */
|
|
1401
|
+
range?: TableColorScaleRange;
|
|
1402
|
+
}
|
|
1403
|
+
/** A diagnostic the validator reports (`table-color-scale-*`). */
|
|
1404
|
+
interface TableColorScaleDiagnostic {
|
|
1405
|
+
code: 'table-color-scale-unknown-column' | 'table-color-scale-no-data' | 'table-color-scale-range';
|
|
1406
|
+
severity: 'error' | 'warning';
|
|
1407
|
+
path: string;
|
|
1408
|
+
message: string;
|
|
1409
|
+
}
|
|
1410
|
+
/** The scale of a table, when it is an object with a non-empty `columns` list of strings; anything else is not a scale. */
|
|
1411
|
+
declare function tableColorScaleOf(table: unknown): TableColorScaleSpec | undefined;
|
|
1412
|
+
/**
|
|
1413
|
+
* The same table with its scale's range written out (`min`, `max` and, for a diverging scale, `center`), computed over the whole table.
|
|
1414
|
+
* Pagination uses it so every page of a split table is shaded on one range: a value has the same color on every page.
|
|
1415
|
+
* A table without a scale, or whose named columns hold no numbers, is returned as is.
|
|
1416
|
+
*/
|
|
1417
|
+
declare function pinTableColorScale<T>(table: T): T;
|
|
1418
|
+
/**
|
|
1419
|
+
* The validator's findings for a table's color scale. `headers` and `rows` are the table's resolved columns and body rows (a dataset-backed
|
|
1420
|
+
* table after `fields`); `base` is the JSON Pointer of the table. An unknown column is an error; a scale with no numbers, an empty range or a
|
|
1421
|
+
* center outside the range is a warning (a refresh of a dataset must not make a deck invalid).
|
|
1422
|
+
*/
|
|
1423
|
+
declare function tableColorScaleDiagnostics(table: unknown, headers: readonly unknown[] | undefined, rows: readonly (readonly unknown[])[], base: string, types?: readonly (string | undefined)[]): TableColorScaleDiagnostic[];
|
|
1424
|
+
|
|
1425
|
+
/** The chart types that draw bands: bar, column, line and area charts (and their stacked forms) and the bullet chart. */
|
|
1426
|
+
declare const CHART_BAND_TYPES: ReadonlySet<string>;
|
|
1427
|
+
/**
|
|
1428
|
+
* The neutral bands' contrast ratio against the chart's surface, lowest band first (the darkest on a light surface, the lightest on a dark one):
|
|
1429
|
+
* 1.75, 1.45 and 1.25, then again from the first for a fourth to sixth band (so neighbors always differ). Each neutral is the scheme's `text`
|
|
1430
|
+
* mixed into the `surface` in OKLab until it reaches its ratio, so the bands read alike on a light and a dark variant (a fixed share of the text
|
|
1431
|
+
* color drew #121212 on black). A band that names a color is that color at {@link CHART_BAND_COLOR_SHARE} over the surface.
|
|
1432
|
+
*/
|
|
1433
|
+
declare const CHART_BAND_NEUTRAL_CONTRASTS: readonly number[];
|
|
1434
|
+
/** The share of a band's own scheme color over the surface (a light tint). */
|
|
1435
|
+
declare const CHART_BAND_COLOR_SHARE = 0.25;
|
|
1436
|
+
/** One authored band as engines read it: its upper end, its optional label and scheme color, and its index in `chart.bands`. */
|
|
1437
|
+
interface ChartBandSpec {
|
|
1438
|
+
/** The band's position in `chart.bands` as authored (its document path is `bands.<index>`). */
|
|
1439
|
+
index: number;
|
|
1440
|
+
to: number;
|
|
1441
|
+
label?: string;
|
|
1442
|
+
color?: SchemeColorName;
|
|
1443
|
+
}
|
|
1444
|
+
/** A band over an axis: its lower and upper value, clamped to the axis, in increasing order. */
|
|
1445
|
+
interface ChartBandRange extends ChartBandSpec {
|
|
1446
|
+
from: number;
|
|
1447
|
+
/** The band's place among the bands without a color of their own (0 for the first): the neutral it is drawn in. Absent for a colored band. */
|
|
1448
|
+
neutral?: number;
|
|
1449
|
+
}
|
|
1450
|
+
/** The colors bands are mixed from: the chart's surface (the card or slide background it stands on), the scheme's text color, and a resolver for scheme names. */
|
|
1451
|
+
interface ChartBandColors {
|
|
1452
|
+
surface: string;
|
|
1453
|
+
text: string;
|
|
1454
|
+
/** A scheme color name (slot or role) as `#RRGGBB`. */
|
|
1455
|
+
resolve: (name: SchemeColorName) => string;
|
|
1456
|
+
}
|
|
1457
|
+
interface ChartBandDiagnostic {
|
|
1458
|
+
code: 'chart-bands-order' | 'chart-bands-unsupported';
|
|
1459
|
+
severity: 'warning';
|
|
1460
|
+
path: string;
|
|
1461
|
+
message: string;
|
|
1462
|
+
}
|
|
1463
|
+
/**
|
|
1464
|
+
* The bands a chart draws, sorted by `to` (equal ends keep their authored order): empty for a chart type that does not draw bands
|
|
1465
|
+
* ({@link CHART_BAND_TYPES}). Engines sort unordered bands rather than refuse them (the `chart-bands-order` warning names them).
|
|
1466
|
+
*/
|
|
1467
|
+
declare function chartBands(chart: unknown): ChartBandSpec[];
|
|
1468
|
+
/** The largest band end of a chart that draws bands: the value its automatic axis extends to, as a reference line's value does. */
|
|
1469
|
+
declare function chartBandMaximum(chart: unknown): number | undefined;
|
|
1470
|
+
/**
|
|
1471
|
+
* The sorted bands over an axis: each runs from the previous band's `to` (the first from the axis minimum) to its own `to`, clamped to
|
|
1472
|
+
* the axis. A band whose range lies wholly below the axis minimum or above its maximum, or is empty, is not drawn (and has no place in the
|
|
1473
|
+
* list); no finding names it. `neutral` counts the drawn bands without a color of their own, so the darkest neutral is the lowest one.
|
|
1474
|
+
*/
|
|
1475
|
+
declare function chartBandRanges(bands: readonly ChartBandSpec[], axis: {
|
|
1476
|
+
min: number;
|
|
1477
|
+
max: number;
|
|
1478
|
+
}): ChartBandRange[];
|
|
1479
|
+
/**
|
|
1480
|
+
* The fill of a band: a neutral (the scheme's text mixed into the surface to {@link CHART_BAND_NEUTRAL_CONTRASTS}, the first neutral band the
|
|
1481
|
+
* strongest), or the band's own scheme color at {@link CHART_BAND_COLOR_SHARE} over the surface. Uppercase `#RRGGBB`.
|
|
1482
|
+
*/
|
|
1483
|
+
declare function chartBandFill(band: Pick<ChartBandRange, 'color' | 'neutral'>, colors: ChartBandColors): string;
|
|
1484
|
+
/** The mix of `text` into `surface` (OKLab) whose contrast against the surface is `ratio` (the text itself when it has less). */
|
|
1485
|
+
declare function neutralFill(surface: string, text: string, ratio: number): string;
|
|
1486
|
+
/** The contrast the muted marks of a highlighted chart keep against the chart's strongest band. */
|
|
1487
|
+
declare const CHART_BAND_MUTED_CONTRAST = 1.5;
|
|
1488
|
+
/**
|
|
1489
|
+
* FR-07 (supervisor, 2026-11-26): the muted color of a highlighted (or focused) chart that has bands, so its context marks do not vanish into
|
|
1490
|
+
* the bands: the scheme's text mixed into the surface (OKLab) to 1.5:1 from the strongest band (the fill with the most contrast against the
|
|
1491
|
+
* surface), on the side away from the surface. The text itself when even it stays nearer. Both engines call it with the same inputs.
|
|
1492
|
+
*/
|
|
1493
|
+
declare function chartBandMutedColor(fills: readonly string[], surface: string, text: string): string | undefined;
|
|
1494
|
+
/** The fills of a list of band ranges, in order ({@link chartBandFill}). */
|
|
1495
|
+
declare function chartBandFills(bands: readonly Pick<ChartBandRange, 'color' | 'neutral'>[], colors: ChartBandColors): string[];
|
|
1496
|
+
/**
|
|
1497
|
+
* The band warnings of a chart (`base` is the chart's JSON Pointer): `chart-bands-unsupported` when its type does not draw bands, and
|
|
1498
|
+
* `chart-bands-order` when the `to` values are not strictly increasing (the engines draw them sorted).
|
|
1499
|
+
*/
|
|
1500
|
+
declare function chartBandDiagnostics(chart: unknown, base?: string): ChartBandDiagnostic[];
|
|
1501
|
+
/** The bullet chart type id. */
|
|
1502
|
+
declare const BULLET_CHART_TYPE = "bullet";
|
|
1503
|
+
/** A bullet chart: the measure bar is a third of its row, the target tick two thirds, 2 reference pixels wide. */
|
|
1504
|
+
declare const BULLET_BAR_SHARE: number;
|
|
1505
|
+
declare const BULLET_TARGET_SHARE: number;
|
|
1506
|
+
declare const BULLET_TARGET_WIDTH_PX = 2;
|
|
1507
|
+
/** The bullet's measure bar as PowerPoint's gap width (`c:gapWidth`): 200% of a bar's width between bars, so a bar is a third of its row. */
|
|
1508
|
+
declare const BULLET_GAP_WIDTH = 200;
|
|
1509
|
+
|
|
1510
|
+
/** The track's (and each band's) thickness as a share of the arc's outer radius. */
|
|
1511
|
+
declare const METRIC_GAUGE_THICKNESS = 0.18;
|
|
1512
|
+
/** The value arc's thickness as a share of the track's, centered in it, so the bands stay visible around it. */
|
|
1513
|
+
declare const METRIC_GAUGE_VALUE_SHARE = 0.6;
|
|
1514
|
+
/** The target tick's length as a multiple of the track's thickness, centered on the track. */
|
|
1515
|
+
declare const METRIC_GAUGE_TARGET_LENGTH = 1.4;
|
|
1516
|
+
/** The target tick's width, in reference pixels. */
|
|
1517
|
+
declare const METRIC_GAUGE_TARGET_WIDTH_PX = 2;
|
|
1518
|
+
/** The track's neutral: the scheme's text mixed into the surface (OKLab) at this share. */
|
|
1519
|
+
declare const METRIC_GAUGE_TRACK_SHARE = 0.12;
|
|
1520
|
+
/** The narrowest arc drawn, in reference pixels (its outer width); a region that cannot hold it draws the metric without its gauge. */
|
|
1521
|
+
declare const METRIC_GAUGE_MIN_WIDTH_PX = 96;
|
|
1522
|
+
/** The widest arc drawn, in reference pixels (twice its outer radius). */
|
|
1523
|
+
declare const METRIC_GAUGE_MAX_WIDTH_PX = 640;
|
|
1524
|
+
/** The room a value in the arc's bowl keeps from the track's inner edge, as a share of the arc's outer radius (supervisor, 2026-11-26). */
|
|
1525
|
+
declare const METRIC_GAUGE_BOWL_GAP: number;
|
|
1526
|
+
/** What layout needs to draw a gauge: the range, the number drawn, the sorted bands, the target and the ends' labels. */
|
|
1527
|
+
interface MetricGaugeInput {
|
|
1528
|
+
min: number;
|
|
1529
|
+
max: number;
|
|
1530
|
+
/** The number the metric shows (its computed or written value). */
|
|
1531
|
+
value: number;
|
|
1532
|
+
bands: ChartBandSpec[];
|
|
1533
|
+
target?: number;
|
|
1534
|
+
/** The labels under the arc's ends: `min` and `max` written as the value is (its number format, else the metric's number rules). */
|
|
1535
|
+
ends: [string, string];
|
|
1536
|
+
}
|
|
1537
|
+
/** The authored gauge of a metric, read leniently (as engines draw it): undefined when the metric has none or it has no finite `max`. */
|
|
1538
|
+
declare function metricGaugeSpec(metric: unknown): {
|
|
1539
|
+
min: number;
|
|
1540
|
+
max: number;
|
|
1541
|
+
bands: ChartBandSpec[];
|
|
1542
|
+
target?: number;
|
|
1543
|
+
} | undefined;
|
|
1544
|
+
/** A number written as a metric's value is: with the value's number format when it has one, else the metric's number rules (grouped by the deck language). */
|
|
1545
|
+
declare function metricGaugeNumber(value: number, format: string | undefined, language: string | undefined): string;
|
|
1546
|
+
/**
|
|
1547
|
+
* The gauge a metric draws (`resolved` is core resolveMetric's result for it), or undefined when it draws none: no gauge, `max` not above
|
|
1548
|
+
* `min` (metric-gauge-range), or a value that is not a number (metric-gauge-value).
|
|
1549
|
+
*/
|
|
1550
|
+
declare function metricGaugeInput(metric: unknown, resolved: Pick<ResolvedMetric, 'value'>, language?: string): MetricGaugeInput | undefined;
|
|
1551
|
+
/**
|
|
1552
|
+
* The gauge's warnings (`base` is the metric's JSON Pointer): `metric-gauge-range` for `max` not above `min`, and for a value, target or band
|
|
1553
|
+
* end outside the range; `metric-gauge-value` for a value that is not a number; `chart-bands-order` for bands not in increasing order.
|
|
1554
|
+
*/
|
|
1555
|
+
declare function metricGaugeDiagnostics(metric: unknown, resolved: Pick<ResolvedMetric, 'value'>, base?: string): MetricDataDiagnostic[];
|
|
1556
|
+
/** A band of a gauge: core chartBandRanges over the gauge's range, with its share of the arc (`start`, `end`: 0 at `min`, 1 at `max`). */
|
|
1557
|
+
interface MetricGaugeBand extends ChartBandRange {
|
|
1558
|
+
start: number;
|
|
1559
|
+
end: number;
|
|
1560
|
+
}
|
|
1561
|
+
/** One label under an end of the arc: its text, the center of its line, its baseline and size, and its line box. */
|
|
1562
|
+
interface MetricGaugeEnd {
|
|
1563
|
+
text: string;
|
|
1564
|
+
x: number;
|
|
1565
|
+
baseline: number;
|
|
1566
|
+
fontSize: number;
|
|
1567
|
+
width: number;
|
|
1568
|
+
box: LayoutBox;
|
|
1569
|
+
}
|
|
1570
|
+
/**
|
|
1571
|
+
* A laid-out gauge (MetricLayout.gauge): the arc's center and outer radius (its frame is the square around that circle, of which only the
|
|
1572
|
+
* upper half is drawn), its thickness, the bands, the share of the arc the value fills (`fill`: the value clamped to the range, 0 at `min`),
|
|
1573
|
+
* the target's share (absent when it has none or it lies outside the range), the ends' labels and their style, and whether the value stands
|
|
1574
|
+
* in the arc's bowl.
|
|
1575
|
+
*/
|
|
1576
|
+
interface MetricGaugeLayout {
|
|
1577
|
+
min: number;
|
|
1578
|
+
max: number;
|
|
1579
|
+
value: number;
|
|
1580
|
+
fill: number;
|
|
1581
|
+
center: {
|
|
1582
|
+
x: number;
|
|
1583
|
+
y: number;
|
|
1584
|
+
};
|
|
1585
|
+
radius: number;
|
|
1586
|
+
thickness: number;
|
|
1587
|
+
/** The target tick's width (METRIC_GAUGE_TARGET_WIDTH_PX at the layout's scale). */
|
|
1588
|
+
targetWidth: number;
|
|
1589
|
+
bands: MetricGaugeBand[];
|
|
1590
|
+
/** The authored index of the band the value falls in, when it falls in one. */
|
|
1591
|
+
valueBand?: number;
|
|
1592
|
+
target?: {
|
|
1593
|
+
value: number;
|
|
1594
|
+
share: number;
|
|
1595
|
+
};
|
|
1596
|
+
ends: [MetricGaugeEnd, MetricGaugeEnd];
|
|
1597
|
+
endStyle: TextStyle;
|
|
1598
|
+
/** The value (and a unit beside it) stands inside the arc's bowl. */
|
|
1599
|
+
inBowl: boolean;
|
|
1600
|
+
/** The gauge's own box: the upper half of the arc's frame and the ends' labels. */
|
|
1601
|
+
box: LayoutBox;
|
|
1602
|
+
}
|
|
1603
|
+
/** The share of the arc a value fills, clamped to [0, 1]. */
|
|
1604
|
+
declare const metricGaugeShare: (value: number, min: number, max: number) => number;
|
|
1605
|
+
/** The geometry of a gauge of outer radius `radius` centered at `center` (the ends' labels are placed by the caller). */
|
|
1606
|
+
declare function metricGaugeGeometry(input: MetricGaugeInput, center: {
|
|
1607
|
+
x: number;
|
|
1608
|
+
y: number;
|
|
1609
|
+
}, radius: number, scale?: number): Pick<MetricGaugeLayout, 'min' | 'max' | 'value' | 'fill' | 'center' | 'radius' | 'thickness' | 'targetWidth' | 'bands' | 'valueBand' | 'target'>;
|
|
1610
|
+
/** A point on the gauge's circle at `share` of the arc (0 at the left end, 1 at the right end, through the top), at `radius` from the center. */
|
|
1611
|
+
declare function metricGaugePoint(center: {
|
|
1612
|
+
x: number;
|
|
1613
|
+
y: number;
|
|
1614
|
+
}, radius: number, share: number): {
|
|
1615
|
+
x: number;
|
|
1616
|
+
y: number;
|
|
1617
|
+
};
|
|
1618
|
+
/** The colors a gauge is drawn in: the surface it stands on, the scheme's text and secondary text, its primary, and a resolver for scheme names. */
|
|
1619
|
+
interface MetricGaugeColors extends ChartBandColors {
|
|
1620
|
+
primary: string;
|
|
1621
|
+
/** The secondary text color, for the ends' labels. */
|
|
1622
|
+
muted: string;
|
|
1623
|
+
}
|
|
1624
|
+
/** One arc of a gauge as PowerPoint's `blockArc` preset: its part name, its square frame, its adjustments (OPF units: degrees, and a fraction of the frame), its fill. */
|
|
1625
|
+
interface MetricGaugeArc {
|
|
1626
|
+
part: string;
|
|
1627
|
+
role: 'track' | 'band' | 'value';
|
|
1628
|
+
/** The authored band index of a band segment. */
|
|
1629
|
+
band?: number;
|
|
1630
|
+
frame: LayoutBox;
|
|
1631
|
+
/** `adj1` the start angle and `adj2` the end angle (degrees clockwise from east, as DrawingML), `adj3` the thickness as a share of the frame. */
|
|
1632
|
+
adjust: {
|
|
1633
|
+
adj1: number;
|
|
1634
|
+
adj2: number;
|
|
1635
|
+
adj3: number;
|
|
1636
|
+
};
|
|
1637
|
+
fill: string;
|
|
1638
|
+
/** The preset's outline at that frame and those adjustments (core presetGeometry), as SVG path data relative to the frame's top left. */
|
|
1639
|
+
d: string;
|
|
1640
|
+
}
|
|
1641
|
+
/** Everything a gauge draws, in drawing order: the arcs (track, bands, value), the target tick, and the ends' labels with their color. */
|
|
1642
|
+
interface MetricGaugeDrawing {
|
|
1643
|
+
arcs: MetricGaugeArc[];
|
|
1644
|
+
target?: {
|
|
1645
|
+
part: string;
|
|
1646
|
+
x1: number;
|
|
1647
|
+
y1: number;
|
|
1648
|
+
x2: number;
|
|
1649
|
+
y2: number;
|
|
1650
|
+
width: number;
|
|
1651
|
+
color: string;
|
|
1652
|
+
};
|
|
1653
|
+
ends: {
|
|
1654
|
+
part: string;
|
|
1655
|
+
color: string;
|
|
1656
|
+
end: MetricGaugeEnd;
|
|
1657
|
+
}[];
|
|
1658
|
+
}
|
|
1659
|
+
/** The DrawingML angle (degrees clockwise from east) of a share of the arc: 180 at the left end, 270 at the top, 0 at the right end. */
|
|
1660
|
+
declare const metricGaugeAngle: (share: number) => number;
|
|
1661
|
+
/** The fill of the gauge's track (the arc where no band is): the scheme's text mixed into the surface at METRIC_GAUGE_TRACK_SHARE. */
|
|
1662
|
+
declare function metricGaugeTrackFill(colors: Pick<MetricGaugeColors, 'surface' | 'text'>): string;
|
|
1663
|
+
/** The value arc's color: the full scheme color of the band the value falls in when that band names one, else the primary. */
|
|
1664
|
+
declare function metricGaugeValueFill(gauge: Pick<MetricGaugeLayout, 'bands' | 'valueBand'>, colors: Pick<MetricGaugeColors, 'primary' | 'resolve'>): string;
|
|
1665
|
+
/**
|
|
1666
|
+
* The outline of DrawingML's blockArc preset in a square frame of side `size` (presetShapeDefinitions.xml: the outer arc from adj1 clockwise to
|
|
1667
|
+
* adj2 at half the frame, then the inner arc back at half the frame less adj3 of it), as SVG path data relative to the frame's top left. The
|
|
1668
|
+
* preset's own guides, written out for a square frame, so the composition entry does not carry the preset table (shape-geometry.ts draws the
|
|
1669
|
+
* same outline; a test compares them).
|
|
1670
|
+
*/
|
|
1671
|
+
declare function blockArcPath(size: number, adjust: {
|
|
1672
|
+
adj1: number;
|
|
1673
|
+
adj2: number;
|
|
1674
|
+
adj3: number;
|
|
1675
|
+
}): string;
|
|
1676
|
+
/**
|
|
1677
|
+
* The drawing plan of a laid-out gauge, which both engines draw: the bands as arc segments (and the track where no band is, or the whole
|
|
1678
|
+
* track without bands), the value arc over them at METRIC_GAUGE_VALUE_SHARE of their thickness (none for a value at or below `min`), the
|
|
1679
|
+
* target tick across the arc, and the ends' labels in the secondary text color. Part names are stable: `gauge track`, `gauge band <n>` (n the
|
|
1680
|
+
* band's position in drawing order, from 1), `gauge value`, `gauge target`, `gauge min`, `gauge max`.
|
|
1681
|
+
*/
|
|
1682
|
+
declare function metricGaugeDrawing(gauge: MetricGaugeLayout, colors: MetricGaugeColors): MetricGaugeDrawing;
|
|
1683
|
+
|
|
1684
|
+
/**
|
|
1685
|
+
* The text color for a cell on `fill`: the scheme's `text` color when it reaches 4.5:1 on the fill, else the scheme's `background` color when it does,
|
|
1686
|
+
* else black or white (core `textColorForFill`, the rule every engine already applies to default cell text on a filled cell). A theme color
|
|
1687
|
+
* is preferred to black or white so the PowerPoint export can write the text as a theme color.
|
|
1688
|
+
*/
|
|
1689
|
+
declare function tableColorScaleText(fill: string, colors: Pick<TableColorScaleColors, 'text' | 'background'>): string;
|
|
1690
|
+
/**
|
|
1691
|
+
* Computes a table's color scale. `headers` are the column labels (as authored: strings, rich runs, styled cells, DataColumns) and `rows`
|
|
1692
|
+
* the body rows' cells, by position. A cell takes part when its value is a finite number; a cell with a `style.fill` of its own counts
|
|
1693
|
+
* towards the range and keeps its fill (it is not in the result). A table without a scale, or with no number in the named columns, has no cells.
|
|
1694
|
+
*/
|
|
1695
|
+
declare function resolveTableColorScale(table: unknown, colors: TableColorScaleColors, types?: readonly (string | undefined)[]): TableColorScaleResult;
|
|
1696
|
+
|
|
1248
1697
|
/** The `design` keys that a layout record, the deck and a slide all share and that composition resolves per key. */
|
|
1249
1698
|
declare const DESIGN_HINT_KEYS: readonly ["titleAlignment", "titlePosition", "contentAlignment", "contentBox", "imageFit", "listBullet", "listStyle", "mirror"];
|
|
1250
1699
|
type DesignHintKey = typeof DESIGN_HINT_KEYS[number];
|
|
@@ -1384,7 +1833,7 @@ declare const ARRANGEMENT_LINE_POINTS = 1.5;
|
|
|
1384
1833
|
declare const MATRIX_BACKGROUND_LIGHTEN = 0.8;
|
|
1385
1834
|
/** The widest pyramid frame, as a multiple of its height: a wider region centers a frame of this proportion. */
|
|
1386
1835
|
declare const PYRAMID_MAX_ASPECT = 2.5;
|
|
1387
|
-
interface Box$
|
|
1836
|
+
interface Box$5 {
|
|
1388
1837
|
x: number;
|
|
1389
1838
|
y: number;
|
|
1390
1839
|
width: number;
|
|
@@ -1394,11 +1843,11 @@ interface Box$4 {
|
|
|
1394
1843
|
interface ArrangementNode {
|
|
1395
1844
|
/** 0-based: the pyramid's level from the top, the matrix's quadrant (top left, top right, bottom left, bottom right). */
|
|
1396
1845
|
index: number;
|
|
1397
|
-
box: Box$
|
|
1846
|
+
box: Box$5;
|
|
1398
1847
|
/** DrawingML preset: `trapezoid` for a pyramid level (the apex too, as PowerPoint writes it), `roundRect` for a quadrant or a box, `ellipse` for a cycle's circle, `chevron` (SH-17). */
|
|
1399
1848
|
preset: 'trapezoid' | 'roundRect' | 'ellipse' | 'chevron' | 'rect';
|
|
1400
1849
|
/** SH21: Hierarchy's rounded rear card; the entry's main box is its foreground card. */
|
|
1401
|
-
background?: Box$
|
|
1850
|
+
background?: Box$5;
|
|
1402
1851
|
/** The preset's `adj` (of 100000): a trapezoid's inset over its smaller side, a rounded rectangle's corner. */
|
|
1403
1852
|
adjust: number;
|
|
1404
1853
|
/** The outline as a polygon (a pyramid level), in the same units as `box`; absent for a rounded rectangle (`radius`). */
|
|
@@ -1406,7 +1855,7 @@ interface ArrangementNode {
|
|
|
1406
1855
|
/** A rounded rectangle's corner radius. */
|
|
1407
1856
|
radius?: number;
|
|
1408
1857
|
/** The rectangle the node's text is set in (before the text margin): PowerPoint's in the SmartArt design. */
|
|
1409
|
-
textBox: Box$
|
|
1858
|
+
textBox: Box$5;
|
|
1410
1859
|
/** OPF's pyramid: the text sits beside its level, outside the shape, so the shape's outline does not bound it. */
|
|
1411
1860
|
beside?: true;
|
|
1412
1861
|
/** SH-17: the shape is mirrored (a chevron pointing left, in a right-to-left deck). */
|
|
@@ -1417,13 +1866,13 @@ interface ArrangementNode {
|
|
|
1417
1866
|
flipV?: true;
|
|
1418
1867
|
}
|
|
1419
1868
|
/** The frame a pyramid takes in `area`: all of it, or a centered frame PYRAMID_MAX_ASPECT times as wide as tall when the area is wider. */
|
|
1420
|
-
declare function pyramidFrame(area: Box$
|
|
1869
|
+
declare function pyramidFrame(area: Box$5): Box$5;
|
|
1421
1870
|
/** The levels of a pyramid of `count` entries in `frame`, the apex first (PowerPoint's Basic Pyramid). */
|
|
1422
|
-
declare function pyramidNodes(frame: Box$
|
|
1871
|
+
declare function pyramidNodes(frame: Box$5, count: number, direction?: 'up' | 'down'): ArrangementNode[];
|
|
1423
1872
|
/** The square of a matrix in `frame` (its diamond's box). */
|
|
1424
|
-
declare function matrixSquare(frame: Box$
|
|
1873
|
+
declare function matrixSquare(frame: Box$5): Box$5;
|
|
1425
1874
|
/** The four quadrants of a matrix in `frame` (PowerPoint's Basic Matrix), whatever the number of entries. */
|
|
1426
|
-
declare function matrixNodes(frame: Box$
|
|
1875
|
+
declare function matrixNodes(frame: Box$5): ArrangementNode[];
|
|
1427
1876
|
/** OPF's pyramid, at its start: the share of the area's width the steps take, at most this many times its height. */
|
|
1428
1877
|
declare const PYRAMID_STEPS_SHARE = 0.4;
|
|
1429
1878
|
declare const PYRAMID_STEPS_ASPECT = 1.6;
|
|
@@ -1434,14 +1883,14 @@ declare const PYRAMID_STEP_HEIGHT = 0.3;
|
|
|
1434
1883
|
* rounded bars at the start of `area` (level i of n is i/n of the steps' width, centered on one axis, `gap` apart), and each entry's
|
|
1435
1884
|
* text beside its level, in one column across the rest of the area, vertically centered on its level.
|
|
1436
1885
|
*/
|
|
1437
|
-
declare function pyramidSteps(area: Box$
|
|
1886
|
+
declare function pyramidSteps(area: Box$5, count: number, gap: number, radius: number, direction?: 'up' | 'down', inset?: number, barWidth?: number): ArrangementNode[];
|
|
1438
1887
|
/** OPF's own matrix design: four rounded quadrants filling `area` two by two, `gap` apart (rectangular where the area is). */
|
|
1439
|
-
declare function matrixQuadrants(area: Box$
|
|
1888
|
+
declare function matrixQuadrants(area: Box$5, gap: number): ArrangementNode[];
|
|
1440
1889
|
/**
|
|
1441
1890
|
* The grid of cards a matrix of other than four entries draws: `columns` cards a row (core cardGridColumns), every row full but the
|
|
1442
1891
|
* last, whose cards keep the others' width and are centered; the cards fill `area`, `gap` apart, with corner `radius`.
|
|
1443
1892
|
*/
|
|
1444
|
-
declare function cardNodes(area: Box$
|
|
1893
|
+
declare function cardNodes(area: Box$5, count: number, columns: number, gap: number, radius: number): ArrangementNode[];
|
|
1445
1894
|
/**
|
|
1446
1895
|
* The width of a node's shape across a horizontal line `y` (a pyramid level narrows toward its top edge); a quadrant's full width,
|
|
1447
1896
|
* less its rounded corners where `y` is within a radius of its top or bottom edge.
|
|
@@ -1497,7 +1946,7 @@ declare const CYCLE_ARROW_LIGHTEN = 0.4;
|
|
|
1497
1946
|
/** One arrow of a cycle, after the node `index`: its unrotated box, its clockwise rotation in degrees and its outline as drawn. */
|
|
1498
1947
|
interface ArrangementArrow {
|
|
1499
1948
|
index: number;
|
|
1500
|
-
box: Box$
|
|
1949
|
+
box: Box$5;
|
|
1501
1950
|
rotation: number;
|
|
1502
1951
|
/** DrawingML `rightArrow`'s adj1 and adj2. */
|
|
1503
1952
|
adjust: readonly [number, number];
|
|
@@ -1505,11 +1954,11 @@ interface ArrangementArrow {
|
|
|
1505
1954
|
points: [number, number][];
|
|
1506
1955
|
}
|
|
1507
1956
|
/** DrawingML `rightArrow` in `box` with `adjust`, turned `rotation` degrees clockwise about its center. */
|
|
1508
|
-
declare function rightArrowPoints(box: Box$
|
|
1957
|
+
declare function rightArrowPoints(box: Box$5, rotation: number, adjust?: readonly [number, number]): [number, number][];
|
|
1509
1958
|
/** The frame a cycle of `count` entries takes in `area`: the largest of cycleAspect's proportion, centered. */
|
|
1510
|
-
declare function cycleFrame(area: Box$
|
|
1959
|
+
declare function cycleFrame(area: Box$5, count: number): Box$5;
|
|
1511
1960
|
/** PowerPoint's Basic Cycle of `count` entries (1 to 8) in `frame` (cycleFrame): the circles in entry order and the arrow after each. */
|
|
1512
|
-
declare function cycleNodes(frame: Box$
|
|
1961
|
+
declare function cycleNodes(frame: Box$5, count: number, rtl?: boolean): {
|
|
1513
1962
|
nodes: ArrangementNode[];
|
|
1514
1963
|
arrows: ArrangementArrow[];
|
|
1515
1964
|
};
|
|
@@ -1528,7 +1977,7 @@ declare const CYCLE_RING_NODE: Readonly<{
|
|
|
1528
1977
|
* middle; two in a tall area: one above the other), each as large as the area lets every node be while neighbors keep room for an arrow between them (2 `gap`), and an arrow
|
|
1529
1978
|
* from each to the next on the line between their centers, in the middle of the room between them.
|
|
1530
1979
|
*/
|
|
1531
|
-
declare function cycleRing(area: Box$
|
|
1980
|
+
declare function cycleRing(area: Box$5, count: number, gap: number, rtl?: boolean): {
|
|
1532
1981
|
nodes: ArrangementNode[];
|
|
1533
1982
|
arrows: ArrangementArrow[];
|
|
1534
1983
|
};
|
|
@@ -1540,7 +1989,7 @@ declare function cycleRing(area: Box$4, count: number, gap: number, rtl?: boolea
|
|
|
1540
1989
|
* (cycleLinks). In a tall area the loop is turned a quarter clockwise. Composition keeps whichever of the ring and the loops holds the
|
|
1541
1990
|
* entries larger.
|
|
1542
1991
|
*/
|
|
1543
|
-
declare function cycleLoop(area: Box$
|
|
1992
|
+
declare function cycleLoop(area: Box$5, count: number, gap: number, rtl?: boolean, rows?: number): {
|
|
1544
1993
|
nodes: ArrangementNode[];
|
|
1545
1994
|
arrows: ArrangementArrow[];
|
|
1546
1995
|
} | undefined;
|
|
@@ -1596,7 +2045,7 @@ declare function smartArtScript(texts: readonly string[]): {
|
|
|
1596
2045
|
interface SmartArtCandidate {
|
|
1597
2046
|
kind: Arrangement;
|
|
1598
2047
|
count: number;
|
|
1599
|
-
frame: Box$
|
|
2048
|
+
frame: Box$5;
|
|
1600
2049
|
/** Per entry: the lines it wraps to, and whether its breaks hold within SMART_ART_DOMAIN.slack of its width. */
|
|
1601
2050
|
nodes: {
|
|
1602
2051
|
lines: number;
|
|
@@ -1629,8 +2078,16 @@ declare function smartArtUnavailable(candidate: SmartArtCandidate): string | und
|
|
|
1629
2078
|
* A record is a template when it has `regions`.
|
|
1630
2079
|
*/
|
|
1631
2080
|
/** The content kinds a region can accept: the body content kinds and `group` for a content group. */
|
|
1632
|
-
declare const REGION_KINDS: readonly ["text", "list", "image", "video", "chart", "table", "code", "metric", "quote", "timeline", "diagram", "shape", "group"];
|
|
2081
|
+
declare const REGION_KINDS: readonly ["text", "list", "image", "video", "embed", "chart", "table", "code", "metric", "quote", "timeline", "diagram", "shape", "group"];
|
|
1633
2082
|
type RegionKind = typeof REGION_KINDS[number];
|
|
2083
|
+
/**
|
|
2084
|
+
* A kind a region accepts because it accepts another (FR-08): an embed sits where a video would, so a region that lists `video` takes an embed
|
|
2085
|
+
* and no layout record has to list `embed`. Everything that asks "does this region take this kind" reads this one table (`kindAccepted`).
|
|
2086
|
+
* A record may still list the implied kind itself; no default layout does.
|
|
2087
|
+
*/
|
|
2088
|
+
declare const IMPLIED_REGION_KINDS: Readonly<Record<string, RegionKind>>;
|
|
2089
|
+
/** Whether a region that lists `accepts` takes content of `kind`: it lists the kind, or the kind it is implied by (`IMPLIED_REGION_KINDS`). */
|
|
2090
|
+
declare function kindAccepted(accepts: readonly string[], kind: string): boolean;
|
|
1634
2091
|
/** Which content a region wants first (content binding, step 2). */
|
|
1635
2092
|
declare const REGION_ROLES: readonly ["primary", "media", "supporting"];
|
|
1636
2093
|
type RegionRole = typeof REGION_ROLES[number];
|
|
@@ -2005,13 +2462,13 @@ declare function paragraphDirectionAt(text: string, deckDirection: TextDirection
|
|
|
2005
2462
|
*/
|
|
2006
2463
|
/** OOXML script slot a writing system uses: `a:latin`, `a:ea` or `a:cs`. */
|
|
2007
2464
|
type ScriptRole = "latin" | "eastAsian" | "complexScript";
|
|
2008
|
-
/** FontScheme.
|
|
2009
|
-
type
|
|
2465
|
+
/** FontScheme.scriptGroup as written (OPF 0.37): the three group names; the short OOXML names `ea` and `cs` are no longer accepted. */
|
|
2466
|
+
type ScriptGroupName = "latin" | "eastAsian" | "complexScript";
|
|
2010
2467
|
/**
|
|
2011
|
-
* Read a FontScheme `
|
|
2012
|
-
* `cs`; anything that is not one of the
|
|
2468
|
+
* Read a FontScheme `scriptGroup` as the OOXML slot of its group: `eastAsian` is `ea` and `complexScript` is
|
|
2469
|
+
* `cs`; anything that is not one of the three names returns undefined.
|
|
2013
2470
|
*/
|
|
2014
|
-
declare function
|
|
2471
|
+
declare function normalizeScriptGroup(value: unknown): "latin" | "ea" | "cs" | undefined;
|
|
2015
2472
|
/** Target application whose language font-scheme defaults apply. */
|
|
2016
2473
|
type ScriptFontApp = "powerpoint" | "google-slides";
|
|
2017
2474
|
/** Font family per OOXML script slot for one theme font (major or minor). */
|
|
@@ -2023,7 +2480,7 @@ interface ScriptFontSlots {
|
|
|
2023
2480
|
/**
|
|
2024
2481
|
* Where a resolved eastAsian/complexScript family came from:
|
|
2025
2482
|
* - `fontScheme`: an explicit `eastAsian`/`complexScript` slot on the effective design font scheme.
|
|
2026
|
-
* - `schemeFamily`: the design font scheme's own major/minor, because its `
|
|
2483
|
+
* - `schemeFamily`: the design font scheme's own major/minor, because its `scriptGroup` names this
|
|
2027
2484
|
* slot and its `languages` list is empty or names the presentation language.
|
|
2028
2485
|
* - `language`: the presentation language's font scheme (`fontScheme`, or `googleFontScheme` for Google Slides).
|
|
2029
2486
|
* - `latin`: no script-specific choice exists, so the slot repeats the latin family.
|
|
@@ -2114,7 +2571,7 @@ declare function scriptFontRole(script: string): ScriptRole;
|
|
|
2114
2571
|
* `resolveFontFamilies` does; when nothing names a font scheme it falls back to
|
|
2115
2572
|
* the engine default font scheme. Each of the eastAsian and complexScript slots
|
|
2116
2573
|
* takes, in order: the design font scheme's explicit slot; the scheme's own
|
|
2117
|
-
* families when its `
|
|
2574
|
+
* families when its `scriptGroup` names the slot and its `languages` list
|
|
2118
2575
|
* is empty or names the language; the language's font scheme when the
|
|
2119
2576
|
* language's script uses the slot; otherwise the latin family.
|
|
2120
2577
|
*/
|
|
@@ -2301,11 +2758,6 @@ declare function listNumbers(items: readonly unknown[], numbering: NumberingInpu
|
|
|
2301
2758
|
*/
|
|
2302
2759
|
declare function sliceNumberedItems<T>(items: readonly T[], numbering: NumberingInput, from: number, to?: number): T[];
|
|
2303
2760
|
|
|
2304
|
-
/**
|
|
2305
|
-
* Deterministic header/footer field formatting. Nothing here consults a clock,
|
|
2306
|
-
* the host locale or the host time zone: dates are calendar dates supplied by the
|
|
2307
|
-
* document or the host, and month/weekday names are fixed English names.
|
|
2308
|
-
*/
|
|
2309
2761
|
/** A live field inside displayed furniture text, as half-open UTF-16 offsets into the part's `text`. */
|
|
2310
2762
|
interface FurnitureField {
|
|
2311
2763
|
type: 'slideNumber' | 'date';
|
|
@@ -2316,8 +2768,13 @@ interface FurnitureField {
|
|
|
2316
2768
|
}
|
|
2317
2769
|
/** PowerPoint's first Insert > Date and Time choice for en-US (`datetime1`). */
|
|
2318
2770
|
declare const DEFAULT_FURNITURE_DATE_FORMAT = "M/d/yyyy";
|
|
2319
|
-
/**
|
|
2320
|
-
|
|
2771
|
+
/**
|
|
2772
|
+
* Format an ISO calendar date with an LDML-style pattern. Returns an error message when either input is unsupported. FR-10: with
|
|
2773
|
+
* `language`, `MMMM`, `MMM`, `EEEE` and `EEE` print that language's names (a month in the form that follows a day number when the
|
|
2774
|
+
* pattern has a day token, else its stand-alone form) and the digits are the language's (LH-106); without one, or where the table has no
|
|
2775
|
+
* data for it, the names are English and the digits Latin, as every date was drawn before.
|
|
2776
|
+
*/
|
|
2777
|
+
declare function formatFurnitureDate(iso: string, pattern: string, language?: string): {
|
|
2321
2778
|
text: string;
|
|
2322
2779
|
} | {
|
|
2323
2780
|
error: string;
|
|
@@ -2378,6 +2835,42 @@ interface ResolveLogoOptions {
|
|
|
2378
2835
|
*/
|
|
2379
2836
|
declare function resolveLogo(presentation: unknown, slide: unknown, options?: ResolveLogoOptions): ResolvedLogo | null;
|
|
2380
2837
|
|
|
2838
|
+
/** The runtime this table was read from: its ICU and CLDR versions and its Node major (two Node majors with one ICU version can disagree). */
|
|
2839
|
+
declare const DATE_NAME_SOURCE: {
|
|
2840
|
+
readonly icu: "78.3";
|
|
2841
|
+
readonly cldr: "48.0";
|
|
2842
|
+
readonly node: "24";
|
|
2843
|
+
};
|
|
2844
|
+
/** Languages the gallery lists that the runtime had no date data for: they draw English names. */
|
|
2845
|
+
declare const DATE_NAMES_MISSING: readonly string[];
|
|
2846
|
+
/** Six '|'-joined lists per language, joined by '~': long and short months (format form), their stand-alone forms ('' when equal), long and short weekdays (Sunday first). */
|
|
2847
|
+
declare const DATE_NAMES: Readonly<Record<string, string>>;
|
|
2848
|
+
/** Each language's long date pattern in OPF's date tokens. */
|
|
2849
|
+
declare const DATE_PATTERNS: Readonly<Record<string, string>>;
|
|
2850
|
+
|
|
2851
|
+
/** The names a date's `MMMM`, `MMM`, `EEEE` and `EEE` tokens print in one language, index 0 being January and Sunday. */
|
|
2852
|
+
interface DateNames {
|
|
2853
|
+
/** Long month names, in the form that follows a day number ("5 марта"). */
|
|
2854
|
+
months: readonly string[];
|
|
2855
|
+
/** Short month names, in the form that follows a day number. */
|
|
2856
|
+
monthsShort: readonly string[];
|
|
2857
|
+
/** Long month names on their own ("март 2026"); the same as `months` in a language that does not inflect them. */
|
|
2858
|
+
monthsStandalone: readonly string[];
|
|
2859
|
+
/** Short month names on their own. */
|
|
2860
|
+
monthsShortStandalone: readonly string[];
|
|
2861
|
+
weekdays: readonly string[];
|
|
2862
|
+
weekdaysShort: readonly string[];
|
|
2863
|
+
}
|
|
2864
|
+
/** English: the names every date drew before the language mattered, and those of a deck that declares none. */
|
|
2865
|
+
declare const ENGLISH_DATE_NAMES: DateNames;
|
|
2866
|
+
/** The names of the language (the tag, then the tag without its last subtag, and so on); English with none given or no data for it. */
|
|
2867
|
+
declare function dateNamesOf(language?: string): DateNames;
|
|
2868
|
+
/**
|
|
2869
|
+
* The language's long date pattern in OPF's date tokens (`d. MMMM yyyy` in German, `d MMMM yyyy` in French and British English,
|
|
2870
|
+
* `yyyy年M月d日` in Japanese), the pattern a date variable with no `format` is drawn with. Undefined with no language or no data for it.
|
|
2871
|
+
*/
|
|
2872
|
+
declare function longDatePattern(language?: string): string | undefined;
|
|
2873
|
+
|
|
2381
2874
|
/**
|
|
2382
2875
|
* LH-02: the automatic scrim under text on a picture background.
|
|
2383
2876
|
*
|
|
@@ -2712,7 +3205,7 @@ declare function choosePictureText(candidates: readonly PictureTextCandidate[],
|
|
|
2712
3205
|
* Pure data and geometry: no Node built-ins, so it runs on the edge runtimes as the rest of core.
|
|
2713
3206
|
*/
|
|
2714
3207
|
|
|
2715
|
-
interface Box$
|
|
3208
|
+
interface Box$4 {
|
|
2716
3209
|
x: number;
|
|
2717
3210
|
y: number;
|
|
2718
3211
|
width: number;
|
|
@@ -2797,9 +3290,9 @@ declare const TEXT_ONLY_LABELS: readonly string[];
|
|
|
2797
3290
|
/** Millimeters per canvas pixel (1/96 inch): a constraint's absolute lengths are in millimeters. */
|
|
2798
3291
|
declare const MM_PER_PX: number;
|
|
2799
3292
|
/** The text rectangle of a DrawingML preset at `box` with its first adjustment (of 100000), as PowerPoint sets a node's text in it. */
|
|
2800
|
-
declare function presetTextRect(preset: string, box: Box$
|
|
3293
|
+
declare function presetTextRect(preset: string, box: Box$4, adjust?: number): Box$4;
|
|
2801
3294
|
/** The largest-area rectangle turned by `rotation` degrees that fits in `box`, centered in it (PowerPoint's rule for a turned shape). */
|
|
2802
|
-
declare function turnedShapeBox(box: Box$
|
|
3295
|
+
declare function turnedShapeBox(box: Box$4, rotation: number): Box$4;
|
|
2803
3296
|
/** One shape the definition draws, in drawing order: its layout node, what it presents, its preset, box and turn. */
|
|
2804
3297
|
interface LayoutShape {
|
|
2805
3298
|
name: string;
|
|
@@ -2811,7 +3304,7 @@ interface LayoutShape {
|
|
|
2811
3304
|
};
|
|
2812
3305
|
preset: string;
|
|
2813
3306
|
/** Unturned box, canvas pixels. */
|
|
2814
|
-
box: Box$
|
|
3307
|
+
box: Box$4;
|
|
2815
3308
|
rotation: number;
|
|
2816
3309
|
adjust: readonly number[];
|
|
2817
3310
|
hidden: boolean;
|
|
@@ -2826,7 +3319,7 @@ interface LayoutShape {
|
|
|
2826
3319
|
* it out: the shapes in drawing order. Throws on what OPF's definitions never use (another algorithm at the root, a child without a box,
|
|
2827
3320
|
* a drawing that reaches outside its frame).
|
|
2828
3321
|
*/
|
|
2829
|
-
declare function evaluateLayoutDefinition(definition: LayoutDefinition, frame: Box$
|
|
3322
|
+
declare function evaluateLayoutDefinition(definition: LayoutDefinition, frame: Box$4, count: number): LayoutShape[];
|
|
2830
3323
|
/**
|
|
2831
3324
|
* The interpreter's shapes as a composed arrangement's nodes and arrows (core ComposedArrangement): one node per entry (its shape, with
|
|
2832
3325
|
* the shape's text rectangle, or a text-only node's box beside or over the shape before it), an arrow per transition shape, and a shape
|
|
@@ -2835,7 +3328,7 @@ declare function evaluateLayoutDefinition(definition: LayoutDefinition, frame: B
|
|
|
2835
3328
|
declare function layoutArrangement(shapes: readonly LayoutShape[]): {
|
|
2836
3329
|
nodes: ArrangementNode[];
|
|
2837
3330
|
arrows: ArrangementArrow[];
|
|
2838
|
-
background?: Box$
|
|
3331
|
+
background?: Box$4;
|
|
2839
3332
|
};
|
|
2840
3333
|
/** One count's drawing in its frame (canvas pixels): composed nodes and arrows, and an optional background shape. */
|
|
2841
3334
|
/**
|
|
@@ -2846,7 +3339,7 @@ declare function layoutArrangement(shapes: readonly LayoutShape[]): {
|
|
|
2846
3339
|
interface LayoutTable {
|
|
2847
3340
|
nodes: readonly ArrangementNode[];
|
|
2848
3341
|
arrows?: readonly ArrangementArrow[];
|
|
2849
|
-
background?: Box$
|
|
3342
|
+
background?: Box$4;
|
|
2850
3343
|
textTops?: readonly (number | undefined)[];
|
|
2851
3344
|
}
|
|
2852
3345
|
/** How a definition paints and sets its text: style labels, the text insets as shares of the font size, the font size in points. */
|
|
@@ -2864,7 +3357,7 @@ interface LayoutStyle {
|
|
|
2864
3357
|
* two node centers, two arrows after one node, a shape outside the frame). Layout node names carry the count (`n3_2`: node 2 of 3), as
|
|
2865
3358
|
* PowerPoint needs every name unique.
|
|
2866
3359
|
*/
|
|
2867
|
-
declare function compositeLayoutDefinition(identity: Omit<LayoutDefinition, 'root'>, frame: Box$
|
|
3360
|
+
declare function compositeLayoutDefinition(identity: Omit<LayoutDefinition, 'root'>, frame: Box$4, max: number, table: (count: number) => LayoutTable | undefined, style: LayoutStyle): LayoutDefinition | {
|
|
2868
3361
|
reason: string;
|
|
2869
3362
|
};
|
|
2870
3363
|
/** OPF's designs that have a layout definition of their own. */
|
|
@@ -2873,7 +3366,7 @@ type OpfLayoutDesign = typeof OPF_LAYOUT_DESIGNS[number];
|
|
|
2873
3366
|
/** The inputs of one composed OPF design: its region, its gap and corner, its direction and (rows, columns, compact, `need`) its shape. */
|
|
2874
3367
|
interface OpfLayoutRecipe {
|
|
2875
3368
|
design: OpfLayoutDesign;
|
|
2876
|
-
area: Box$
|
|
3369
|
+
area: Box$4;
|
|
2877
3370
|
gap: number;
|
|
2878
3371
|
radius?: number;
|
|
2879
3372
|
rtl?: boolean;
|
|
@@ -2962,7 +3455,7 @@ declare function opfSmartArtUnavailable(candidate: OpfSmartArtCandidate): string
|
|
|
2962
3455
|
* own design of the arrangement (chevronRow, flowRow, flowColumn), filling the region; a right-to-left deck mirrors both.
|
|
2963
3456
|
*/
|
|
2964
3457
|
|
|
2965
|
-
interface Box$
|
|
3458
|
+
interface Box$3 {
|
|
2966
3459
|
x: number;
|
|
2967
3460
|
y: number;
|
|
2968
3461
|
width: number;
|
|
@@ -2992,13 +3485,13 @@ interface LinearGeometry {
|
|
|
2992
3485
|
arrows: ArrangementArrow[];
|
|
2993
3486
|
}
|
|
2994
3487
|
/** PowerPoint's Basic Chevron Process of `count` chevrons in `frame` (mirrored, pointing left, when `rtl`). */
|
|
2995
|
-
declare function chevronNodes(frame: Box$
|
|
3488
|
+
declare function chevronNodes(frame: Box$3, count: number, rtl?: boolean): LinearGeometry;
|
|
2996
3489
|
/** PowerPoint's Basic Process of `count` boxes in `frame`, with an arrow between two (mirrored when `rtl`). */
|
|
2997
|
-
declare function flowNodes(frame: Box$
|
|
3490
|
+
declare function flowNodes(frame: Box$3, count: number, rtl?: boolean): LinearGeometry;
|
|
2998
3491
|
/** PowerPoint's Vertical Process of `count` boxes in `frame`, with a down arrow between two. */
|
|
2999
|
-
declare function verticalFlowNodes(frame: Box$
|
|
3492
|
+
declare function verticalFlowNodes(frame: Box$3, count: number): LinearGeometry;
|
|
3000
3493
|
/** PowerPoint's geometry of a linear arrangement in its SmartArt frame. */
|
|
3001
|
-
declare function linearNodes(kind: LinearArrangement, frame: Box$
|
|
3494
|
+
declare function linearNodes(kind: LinearArrangement, frame: Box$3, count: number, rtl?: boolean): LinearGeometry;
|
|
3002
3495
|
/** The most rows (chevrons, flow) or columns (vertical flow) OPF's own design wraps its entries into. */
|
|
3003
3496
|
declare const OPF_LINES_MAX = 4;
|
|
3004
3497
|
/** OPF's flows: an arrow is PowerPoint's (0.212 of a box's width long, 0.248 thick), in a room of 0.4 of a box's width between two. */
|
|
@@ -3033,7 +3526,7 @@ declare const OPF_CHEVRON_DEPTH = 0.2;
|
|
|
3033
3526
|
* as a list a design could hold): the rooms two gaps (a vertical flow's 1.25 gaps) with an arrow 0.6 of the room long, a
|
|
3034
3527
|
* chevron's point at most 0.12 of its width deep and half a gap from the next notch, and no least height.
|
|
3035
3528
|
*/
|
|
3036
|
-
declare function linearDesign(kind: LinearArrangement, area: Box$
|
|
3529
|
+
declare function linearDesign(kind: LinearArrangement, area: Box$3, count: number, gap: number, rtl?: boolean, lines?: number, need?: number, compact?: boolean): LinearGeometry | undefined;
|
|
3037
3530
|
/**
|
|
3038
3531
|
* A node's text margins (left, top, right, bottom) as shares of its size, in PowerPoint's design or (`opf`) OPF's own: a chevron's larger
|
|
3039
3532
|
* margin is at its start (the right when `rtl`).
|
|
@@ -3063,7 +3556,7 @@ declare function shapesPending(input: unknown, options?: {
|
|
|
3063
3556
|
declare function ensureShapes(input: unknown, options?: {
|
|
3064
3557
|
diagrams?: boolean;
|
|
3065
3558
|
}): Promise<string[]>;
|
|
3066
|
-
interface Box$
|
|
3559
|
+
interface Box$2 {
|
|
3067
3560
|
x: number;
|
|
3068
3561
|
y: number;
|
|
3069
3562
|
width: number;
|
|
@@ -3109,7 +3602,7 @@ interface ShapeOutline {
|
|
|
3109
3602
|
* An image frame's mask (FA-22, SH-02): `preset` (default rect) with the block's `adjust` (OPF units) at `box`, the DrawingML values
|
|
3110
3603
|
* for export and the outline the preview clips to, from SH-01's preset geometry. An unknown preset is a rectangle.
|
|
3111
3604
|
*/
|
|
3112
|
-
declare function presetMask(preset: unknown, box: Box$
|
|
3605
|
+
declare function presetMask(preset: unknown, box: Box$2, adjust?: Record<string, number>): ShapeOutline & {
|
|
3113
3606
|
kind: string;
|
|
3114
3607
|
};
|
|
3115
3608
|
/** A validation issue of a shape or image block's `shape`/`adjust` (schema-check reports them). */
|
|
@@ -3252,9 +3745,9 @@ interface ShapeEnd {
|
|
|
3252
3745
|
*/
|
|
3253
3746
|
interface ComposedShape {
|
|
3254
3747
|
/** Allocated region (the cell). */
|
|
3255
|
-
region: Box$
|
|
3748
|
+
region: Box$2;
|
|
3256
3749
|
/** The frame: the largest box of the shape's aspect centered in the region (or the region itself for an aspect of 0). */
|
|
3257
|
-
box: Box$
|
|
3750
|
+
box: Box$2;
|
|
3258
3751
|
/** The DrawingML preset, absent for a custom path. */
|
|
3259
3752
|
preset?: string;
|
|
3260
3753
|
/** In a browser or edge runtime before `ensureShapes`: the preset geometry is still loading, so `paths` is empty (engines draw no outline). */
|
|
@@ -3263,7 +3756,7 @@ interface ComposedShape {
|
|
|
3263
3756
|
* For a gradient fill: the box the gradient spans, the bounds of the shape's whole outline in slide coordinates (PowerPoint lays a
|
|
3264
3757
|
* gradient across the geometry's bounds, which for most presets are the frame and for `arc`, `blockArc` and the like are smaller).
|
|
3265
3758
|
*/
|
|
3266
|
-
gradientBox?: Box$
|
|
3759
|
+
gradientBox?: Box$2;
|
|
3267
3760
|
/**
|
|
3268
3761
|
* How a `shape` gradient fill is drawn, as PowerPoint draws it: `outline`, contours that are the outline scaled about the center of
|
|
3269
3762
|
* `gradientBox` (each filled path's `gradientOutline`), or `circle`, PowerPoint's circle gradient (some presets and every custom path).
|
|
@@ -3276,7 +3769,7 @@ interface ComposedShape {
|
|
|
3276
3769
|
avLst: Record<string, number>;
|
|
3277
3770
|
paths: ComposedShapePath[];
|
|
3278
3771
|
/** The preset's text rectangle in slide coordinates. */
|
|
3279
|
-
textRect: Box$
|
|
3772
|
+
textRect: Box$2;
|
|
3280
3773
|
/** Insets inside it (scaled reference pixels). */
|
|
3281
3774
|
padding: {
|
|
3282
3775
|
top: number;
|
|
@@ -3285,10 +3778,10 @@ interface ComposedShape {
|
|
|
3285
3778
|
left: number;
|
|
3286
3779
|
};
|
|
3287
3780
|
/** The text rectangle less the insets: where the text is fitted (for vertical text, the box turned about its center). */
|
|
3288
|
-
textBox: Box$
|
|
3781
|
+
textBox: Box$2;
|
|
3289
3782
|
anchor: 'top' | 'middle' | 'bottom';
|
|
3290
3783
|
/** Where the fitted text block is drawn: `textBox` narrowed to the text's height at the anchor (present when the shape has text). */
|
|
3291
|
-
textArea?: Box$
|
|
3784
|
+
textArea?: Box$2;
|
|
3292
3785
|
/**
|
|
3293
3786
|
* RR-105: `none` when the text is one unwrapped line wider than `textBox` (a word that would otherwise break inside it): it is centered
|
|
3294
3787
|
* on the text rectangle and reaches past the insets up to the shape's edges (`textArea` is that width). PPTX writes a:bodyPr wrap="none".
|
|
@@ -3322,7 +3815,7 @@ interface ComposedShape {
|
|
|
3322
3815
|
* aspect, as the largest centered box; `fill: true` in `options` takes the whole region), the evaluated paths, the text rectangle
|
|
3323
3816
|
* and insets, and the effective fill, stroke, text color and effects. Text is fitted by composition in `textBox`.
|
|
3324
3817
|
*/
|
|
3325
|
-
declare function composeShape(host: Rec, region: Box$
|
|
3818
|
+
declare function composeShape(host: Rec, region: Box$2, options: {
|
|
3326
3819
|
scale: number;
|
|
3327
3820
|
aspect?: number;
|
|
3328
3821
|
anchorY?: 'top' | 'middle' | 'bottom';
|
|
@@ -3349,6 +3842,8 @@ interface ChartDrawPlan {
|
|
|
3349
3842
|
columns: string[];
|
|
3350
3843
|
hasX: boolean;
|
|
3351
3844
|
formats: (string | undefined)[];
|
|
3845
|
+
/** FR-05: the declared type of each drawn column, aligned with `columns`. */
|
|
3846
|
+
types: (DataColumnType | undefined)[];
|
|
3352
3847
|
rows: DataCellValue[][];
|
|
3353
3848
|
/** The index in the resolved columns of each drawn column (a dropped scatter X column shifts the series by one). */
|
|
3354
3849
|
sources: number[];
|
|
@@ -3635,6 +4130,21 @@ declare function overlayIssues(slide: unknown, slidePath: string, presentation?:
|
|
|
3635
4130
|
rtl: boolean;
|
|
3636
4131
|
}): OverlayIssue[];
|
|
3637
4132
|
|
|
4133
|
+
/**
|
|
4134
|
+
* OKLab (Björn Ottosson, 2020): a perceptually even color space. Pure functions over opaque `#RRGGBB` colors, no dependencies.
|
|
4135
|
+
* A mix of two colors in OKLab has even perceived steps and no muddy middle; the table color scale and every later scale use it.
|
|
4136
|
+
*/
|
|
4137
|
+
type Oklab = readonly [lightness: number, a: number, b: number];
|
|
4138
|
+
/** An sRGB color as OKLab `[L, a, b]`: L is 0 for black and 1 for white. */
|
|
4139
|
+
declare function srgbToOklab(hex: string): Oklab;
|
|
4140
|
+
/** OKLab `[L, a, b]` as uppercase `#RRGGBB`; a color outside the sRGB gamut is clamped per channel. */
|
|
4141
|
+
declare function oklabToSrgb(color: Oklab): string;
|
|
4142
|
+
/**
|
|
4143
|
+
* The color `t` of the way from `from` to `to`, mixed in OKLab (`t` clamped to 0..1). The two ends come back as themselves, exactly
|
|
4144
|
+
* (uppercase `#RRGGBB`), not as a round trip through OKLab.
|
|
4145
|
+
*/
|
|
4146
|
+
declare function mixOklab(from: string, to: string, t: number): string;
|
|
4147
|
+
|
|
3638
4148
|
type ScriptItemizationProfile = Partial<Pick<ScriptMeasurementProfile, 'script' | 'scriptRole' | 'bcp47'>>;
|
|
3639
4149
|
interface ScriptTextRun {
|
|
3640
4150
|
text: string;
|
|
@@ -3981,7 +4491,7 @@ declare function patternRuns(preset: unknown): {
|
|
|
3981
4491
|
* - A slide that carries markers gets a footnote area directly above the footer band: `layoutFootnotes`
|
|
3982
4492
|
* lists `<n> <text>` for the slide's markers in number order, and `composeSlide` shrinks the content
|
|
3983
4493
|
* area by exactly its height. Slides without markers are unchanged.
|
|
3984
|
-
* - `caption` on an image, chart, table or
|
|
4494
|
+
* - `caption` on an image, chart, table, video or embed payload reserves a caption band inside the block's
|
|
3985
4495
|
* region (`layoutCaption`): the media keeps the rest. Captions use the body family at the caption size
|
|
3986
4496
|
* (0.6 of the body size, clamped to the readable floor) in the muted text color.
|
|
3987
4497
|
*
|
|
@@ -4000,7 +4510,7 @@ type Caption = RichText | CaptionObject;
|
|
|
4000
4510
|
interface Reference {
|
|
4001
4511
|
id: string;
|
|
4002
4512
|
text: RichText;
|
|
4003
|
-
|
|
4513
|
+
link?: string;
|
|
4004
4514
|
}
|
|
4005
4515
|
interface CaptionSettings {
|
|
4006
4516
|
text: RichText;
|
|
@@ -4058,7 +4568,7 @@ interface CitationNote {
|
|
|
4058
4568
|
text: RichText;
|
|
4059
4569
|
/** `references.N` for a reference, the marked run's path for a footnote. */
|
|
4060
4570
|
sourcePath: string;
|
|
4061
|
-
|
|
4571
|
+
link?: string;
|
|
4062
4572
|
/** False when a cited id has no references entry. */
|
|
4063
4573
|
resolved: boolean;
|
|
4064
4574
|
}
|
|
@@ -4101,12 +4611,12 @@ declare function collectCitations(presentation: unknown): DeckCitations;
|
|
|
4101
4611
|
*/
|
|
4102
4612
|
declare function slideCitations(slide: unknown, slideIndex: number, presentation?: unknown): SlideCitations | undefined;
|
|
4103
4613
|
/** Fits a string or TextRun[] into a box at a requested size (composeSlide supplies its placed fitter). */
|
|
4104
|
-
type AnnotationFitter = (value: RichText, box: LayoutBox, requestedSize: number,
|
|
4614
|
+
type AnnotationFitter = (value: RichText, box: LayoutBox, requestedSize: number, minFontSizePx: number, path: string, alignment: 'left' | 'center' | 'right') => TextFit | RichTextFit;
|
|
4105
4615
|
interface AnnotationLayoutOptions {
|
|
4106
4616
|
/** LH-138: a caption that reads "Name: detail" draws its name in bold (a picture's caption; see `splitCaptionName`). */
|
|
4107
4617
|
nameDetail?: boolean;
|
|
4108
4618
|
scale: number;
|
|
4109
|
-
|
|
4619
|
+
minFontSizePx: number;
|
|
4110
4620
|
fit: AnnotationFitter;
|
|
4111
4621
|
textStyle: (path: string) => TextStyle;
|
|
4112
4622
|
}
|
|
@@ -4154,7 +4664,7 @@ interface ComposedFootnoteEntry {
|
|
|
4154
4664
|
box: LayoutBox;
|
|
4155
4665
|
fit: TextFit | RichTextFit;
|
|
4156
4666
|
textStyle: TextStyle;
|
|
4157
|
-
|
|
4667
|
+
link?: string;
|
|
4158
4668
|
overflow: boolean;
|
|
4159
4669
|
}
|
|
4160
4670
|
/** The footnote area of a slide: a rule, then the slide's notes in number order. */
|
|
@@ -4195,7 +4705,7 @@ interface ReferencesSlideOptions {
|
|
|
4195
4705
|
}
|
|
4196
4706
|
/**
|
|
4197
4707
|
* An ordinary list slide of the deck's cited references in marker order (`n. text`, linked to the
|
|
4198
|
-
* reference
|
|
4708
|
+
* reference link when there is one). Inline footnotes are not listed. A deck that cites nothing gets
|
|
4199
4709
|
* a slide with the title only.
|
|
4200
4710
|
*/
|
|
4201
4711
|
declare function referencesSlide(presentation: unknown, options?: ReferencesSlideOptions): Record<string, unknown>;
|
|
@@ -4632,6 +5142,32 @@ declare const NUMBERING_SYSTEMS: Readonly<Record<string, readonly [zero: number,
|
|
|
4632
5142
|
*/
|
|
4633
5143
|
declare const NUMBER_LOCALES: Readonly<Record<string, string>>;
|
|
4634
5144
|
|
|
5145
|
+
interface Box$1 {
|
|
5146
|
+
x: number;
|
|
5147
|
+
y: number;
|
|
5148
|
+
width: number;
|
|
5149
|
+
height: number;
|
|
5150
|
+
}
|
|
5151
|
+
/**
|
|
5152
|
+
* The legend entries of a chart with bands: the plotted series (a bullet chart its measure only). The band labels stand inside their bands; only
|
|
5153
|
+
* when they do not fit (`bands`, composition's fallback) are the labeled bands listed, first (PowerPoint lists the band group, which it draws first,
|
|
5154
|
+
* before the data, whatever the file says).
|
|
5155
|
+
*/
|
|
5156
|
+
declare function bandLegendNames(chart: unknown, data: ResolvedChartData, axis: {
|
|
5157
|
+
min: number;
|
|
5158
|
+
max: number;
|
|
5159
|
+
} | undefined, { bands: withBands }?: {
|
|
5160
|
+
bands?: boolean;
|
|
5161
|
+
}): string[];
|
|
5162
|
+
/**
|
|
5163
|
+
* The plot of a bullet chart as an inset from its chart box (slide pixels), as the preview lays it out: an explicit legend carved from its edge,
|
|
5164
|
+
* axis titles (category at the start, value under the plot), the category names in a gutter at the start (the end, right to left) of up to 30% of
|
|
5165
|
+
* the box (40% for a long word), the value axis labels in one line under the plot. Undefined for any other chart.
|
|
5166
|
+
*/
|
|
5167
|
+
declare function bulletPlot(chart: unknown, data: ResolvedChartData, axis: ChartValueAxis | undefined, box: Box$1, geometry: Omit<ChartPlotGeometry, 'box'>, { bandsInLegend }?: {
|
|
5168
|
+
bandsInLegend?: boolean;
|
|
5169
|
+
}): ChartPlotInset | undefined;
|
|
5170
|
+
|
|
4635
5171
|
interface Box {
|
|
4636
5172
|
x: number;
|
|
4637
5173
|
y: number;
|
|
@@ -4660,7 +5196,9 @@ declare function endLabelText(data: ResolvedChartData, series: number, language?
|
|
|
4660
5196
|
* composed axis). The plot is laid out as the preview lays it out (chartPlotInset) with a gutter at its end as wide as the gap and the
|
|
4661
5197
|
* widest name, and the names are placed against it (placeEndLabels).
|
|
4662
5198
|
*/
|
|
4663
|
-
declare function chartEndLabels(chart: unknown, data: ResolvedChartData, layer: ChartLayer | undefined, geometry: ChartLayerGeometry, axisFor: (headerHeight: number) => ChartValueAxis | undefined
|
|
5199
|
+
declare function chartEndLabels(chart: unknown, data: ResolvedChartData, layer: ChartLayer | undefined, geometry: ChartLayerGeometry, axisFor: (headerHeight: number) => ChartValueAxis | undefined, headerOptions?: {
|
|
5200
|
+
bands?: boolean;
|
|
5201
|
+
}): {
|
|
4664
5202
|
layer: ChartLayer;
|
|
4665
5203
|
valueAxis: ChartValueAxis;
|
|
4666
5204
|
} | undefined;
|
|
@@ -4699,12 +5237,15 @@ declare function isTimeFieldTitle(title: unknown, language?: string): boolean;
|
|
|
4699
5237
|
declare function chartCategoriesInTime(labels: readonly unknown[], options?: {
|
|
4700
5238
|
title?: unknown;
|
|
4701
5239
|
language?: string;
|
|
5240
|
+
type?: 'text' | 'number' | 'date' | 'boolean';
|
|
4702
5241
|
}): boolean;
|
|
5242
|
+
/** FR-05: true when `value` is a time label the time-order rule reads (a year, period, week, month, date or ISO date-time), or an integer year from 1800 to 2200; a plain number is not. */
|
|
5243
|
+
declare function isTimeLabel(value: unknown, language?: string): boolean;
|
|
4703
5244
|
/** LH-105: the month (1 to 12) a word or label names in English or the deck language (January, Jan, Sept, يناير), or undefined. */
|
|
4704
5245
|
declare function monthOf(text: unknown, language?: string): number | undefined;
|
|
4705
5246
|
|
|
4706
5247
|
/** Body content kinds accepted by template regions. */
|
|
4707
|
-
declare const LAYOUT_BODY_KINDS: readonly ["text", "list", "image", "video", "chart", "table", "code", "metric", "quote", "timeline", "diagram", "shape"];
|
|
5248
|
+
declare const LAYOUT_BODY_KINDS: readonly ["text", "list", "image", "video", "embed", "chart", "table", "code", "metric", "quote", "timeline", "diagram", "shape"];
|
|
4708
5249
|
type LayoutBodyKind = typeof LAYOUT_BODY_KINDS[number];
|
|
4709
5250
|
/** What a layout template holds, derived from its regions. */
|
|
4710
5251
|
interface LayoutContent {
|
|
@@ -5043,9 +5584,9 @@ interface Composition {
|
|
|
5043
5584
|
gap?: number;
|
|
5044
5585
|
padding?: number;
|
|
5045
5586
|
weights?: number[];
|
|
5046
|
-
|
|
5587
|
+
minFontSizePx?: number;
|
|
5047
5588
|
/** LH-144: the largest body text size in reference pixels (paragraphs, lists, quotes, metrics, timelines); `paginate` sets it on continuation pages. */
|
|
5048
|
-
|
|
5589
|
+
maxFontSizePx?: number;
|
|
5049
5590
|
overflow?: "warn" | "error";
|
|
5050
5591
|
}
|
|
5051
5592
|
declare const MAX_COMPOSITION_DEPTH = 32;
|
|
@@ -5069,7 +5610,7 @@ interface LayoutDiagnostic {
|
|
|
5069
5610
|
* `shape-off-slide` for an overlay shape or an image callout that lies wholly outside the slide, so nothing of it is drawn (advice, not an
|
|
5070
5611
|
* overflow: a strict composition still composes it; a hidden shape is exempt, and a rotated one is judged by the circle through its corners).
|
|
5071
5612
|
*/
|
|
5072
|
-
code: "shape-anchor-missing" | "text-overflow" | "small-cell" | "unresolved-content" | "unsupported-image-treatment" | "numbering-adapted" | "region-unknown" | "region-kind" | "region-full" | "layout-unplaced" | "emphasis-ignored" | "icon-dropped" | "arrangement-adapted" | "chart-label-collision" | "timeline-period-short" | "shape-off-slide";
|
|
5613
|
+
code: "shape-anchor-missing" | "text-overflow" | "small-cell" | "unresolved-content" | "unsupported-image-treatment" | "numbering-adapted" | "region-unknown" | "region-kind" | "region-full" | "layout-unplaced" | "emphasis-ignored" | "icon-dropped" | "arrangement-adapted" | "chart-label-collision" | "timeline-period-short" | "shape-off-slide" | "chart-band-labels-in-legend" | "metric-gauge-dropped";
|
|
5073
5614
|
path: string;
|
|
5074
5615
|
message: string;
|
|
5075
5616
|
/**
|
|
@@ -5270,6 +5811,8 @@ interface ComposedItem {
|
|
|
5270
5811
|
codeLayout?: CodeLayout;
|
|
5271
5812
|
/** Complete shared metric geometry, including its unit, label and metadata. */
|
|
5272
5813
|
metricLayout?: MetricLayout;
|
|
5814
|
+
/** FR-06: the 0.37 part of a metric whose drawn form was computed or formatted (its link, `better`, `format`, which keys were derived): what a PowerPoint tag keeps beside the drawn form. `value` and `payload` hold the drawn form. */
|
|
5815
|
+
metricRecord?: MetricRecord;
|
|
5273
5816
|
/** Complete timeline fields, markers and connector accepted by composition. */
|
|
5274
5817
|
timelineLayout?: TimelineLayout;
|
|
5275
5818
|
/**
|
|
@@ -6207,7 +6750,7 @@ interface FurnitureTextPart extends FurniturePartBase {
|
|
|
6207
6750
|
text: string;
|
|
6208
6751
|
style: TextStyle;
|
|
6209
6752
|
requestedFontSize: number;
|
|
6210
|
-
|
|
6753
|
+
minFontSizePx: number;
|
|
6211
6754
|
fit: SourceTextFit;
|
|
6212
6755
|
/**
|
|
6213
6756
|
* Live values inside `text`: every substituted `{{slide.number}}` of a `text` part (type
|
|
@@ -6280,7 +6823,7 @@ declare function layoutFurniture(input: unknown, options?: ComposeSlideOptions):
|
|
|
6280
6823
|
/**
|
|
6281
6824
|
* WI-4: the type roles of the content scale, in reference pixels (a 13.333 x 7.5 in slide is 1280 x 720). Prose and a subtitle ask for 28 px
|
|
6282
6825
|
* (21 pt) and a list item for 32 px; a lone short block uses the 32 px lead size. Each fits down to the readability floor
|
|
6283
|
-
* (`composition.
|
|
6826
|
+
* (`composition.minFontSizePx`, 16 px by default) and an explicit run size wins.
|
|
6284
6827
|
*/
|
|
6285
6828
|
declare const PROSE_NOMINAL_SIZE = 28;
|
|
6286
6829
|
declare const LIST_NOMINAL_SIZE = 32;
|
|
@@ -6322,7 +6865,7 @@ declare function measureText(text: string, fontSize: number): number;
|
|
|
6322
6865
|
declare function measureMonospaceText(text: string, fontSize: number): number;
|
|
6323
6866
|
declare function wrapText(text: string, width: number, fontSize: number, measure?: MeasureTextWidth): string[];
|
|
6324
6867
|
/** `displayFrom` (LH-189): the canvas size from which a line takes DISPLAY_LINE_PITCH (linePitch); by default every line takes BODY_LINE_PITCH. */
|
|
6325
|
-
declare function fitText(text: string, box: LayoutBox, requestedSize?: number,
|
|
6868
|
+
declare function fitText(text: string, box: LayoutBox, requestedSize?: number, minFontSizePx?: number, measure?: MeasureTextWidth, direction?: TextDirection, balance?: boolean, displayFrom?: number): SourceTextFit;
|
|
6326
6869
|
/**
|
|
6327
6870
|
* PowerPoint stores a run size (`sz`) in hundredths of a point, and composition pixels are CSS pixels (96 per
|
|
6328
6871
|
* inch, so a point is 4/3 px). Every composed font size is therefore a whole multiple of 0.01 pt, which is
|
|
@@ -6359,7 +6902,7 @@ interface QuoteTextPart {
|
|
|
6359
6902
|
/** Available space, before fitting. Invalid dimensions remain visible in failed results. */
|
|
6360
6903
|
box: LayoutBox;
|
|
6361
6904
|
requestedFontSize: number;
|
|
6362
|
-
|
|
6905
|
+
minFontSizePx: number;
|
|
6363
6906
|
requestedStyle: TextStyle;
|
|
6364
6907
|
style: TextStyle;
|
|
6365
6908
|
/**
|
|
@@ -6429,7 +6972,7 @@ interface QuoteLayoutOptions {
|
|
|
6429
6972
|
scale?: number;
|
|
6430
6973
|
fontFamilies?: Partial<FontFamilies>;
|
|
6431
6974
|
/** Readability floor in reference pixels, before canvas scaling. */
|
|
6432
|
-
|
|
6975
|
+
minFontSizePx?: number;
|
|
6433
6976
|
overflow?: Composition['overflow'];
|
|
6434
6977
|
path?: string;
|
|
6435
6978
|
textMeasurement?: TextMeasurement;
|
|
@@ -6695,7 +7238,7 @@ interface MetricTextPart {
|
|
|
6695
7238
|
}[];
|
|
6696
7239
|
box: LayoutBox;
|
|
6697
7240
|
requestedFontSize: number;
|
|
6698
|
-
|
|
7241
|
+
minFontSizePx: number;
|
|
6699
7242
|
requestedStyle: TextStyle;
|
|
6700
7243
|
style: TextStyle;
|
|
6701
7244
|
/** Source-preserving line/segment representation shared with code, with proportional fonts. */
|
|
@@ -6736,6 +7279,13 @@ interface MetricLayout {
|
|
|
6736
7279
|
radius: number;
|
|
6737
7280
|
placement: 'beside' | 'above';
|
|
6738
7281
|
};
|
|
7282
|
+
/**
|
|
7283
|
+
* FR-07, part 3: the metric's gauge (`MetricLayoutOptions.gauge`): the arc above the text, its bands, value, target and the labels under
|
|
7284
|
+
* its ends (core metricGaugeDrawing turns it into what engines draw). Absent without a gauge, and when the region could not hold one.
|
|
7285
|
+
*/
|
|
7286
|
+
gauge?: MetricGaugeLayout;
|
|
7287
|
+
/** FR-07, part 3: the metric asked for a gauge but its region cannot hold an arc METRIC_GAUGE_MIN_WIDTH_PX wide: it is drawn as a plain metric. */
|
|
7288
|
+
gaugeDropped?: true;
|
|
6739
7289
|
/** At most 48 arrangements; value fitting is bounded by 77 reference-size trials per arrangement. */
|
|
6740
7290
|
attempts: number;
|
|
6741
7291
|
parts: MetricTextPart[];
|
|
@@ -6805,6 +7355,13 @@ interface MetricLayoutOptions extends QuoteLayoutOptions {
|
|
|
6805
7355
|
* their delta in place. The result says where (`MetricLayout.deltaPill`). `above` tries only above (sibling metrics draw one way).
|
|
6806
7356
|
*/
|
|
6807
7357
|
deltaPill?: boolean | 'above';
|
|
7358
|
+
/**
|
|
7359
|
+
* FR-07, part 3: draw the metric as a gauge (core metricGaugeInput): an arc at the top of the box, as large as the box allows while the
|
|
7360
|
+
* text keeps its sizes (at most METRIC_GAUGE_MAX_WIDTH_PX wide), the labels of its ends under them, and the metric's text stacked and
|
|
7361
|
+
* centered under the arc (a tile, band, display size, eyebrow or pill does not apply), the value inside the arc's bowl when it fits there at
|
|
7362
|
+
* the size it has under the arc. Below METRIC_GAUGE_MIN_WIDTH_PX the metric is laid out as without a gauge (`gaugeDropped`).
|
|
7363
|
+
*/
|
|
7364
|
+
gauge?: MetricGaugeInput;
|
|
6808
7365
|
}
|
|
6809
7366
|
/** LH-137: a delta pill's inset around its line, as shares of the delta's size: across, and above and below. */
|
|
6810
7367
|
declare const METRIC_PILL_PAD_X = 0.55;
|
|
@@ -6926,6 +7483,12 @@ declare const QUOTE_PORTRAIT_SHARE = 0.26;
|
|
|
6926
7483
|
declare const QUOTE_PORTRAIT_STEP = 0.02;
|
|
6927
7484
|
declare const QUOTE_PORTRAIT_GAP = 40;
|
|
6928
7485
|
declare const QUOTE_PORTRAIT_MIN_WIDTH = 640;
|
|
7486
|
+
/**
|
|
7487
|
+
* FR-07 (owner, 2026-11-26): a gauge's value takes at most this share of the arc's outer radius as its font size, in the bowl; under the arc,
|
|
7488
|
+
* the last resort, at most METRIC_GAUGE_VALUE_UNDER of it, so it does not outweigh the arc.
|
|
7489
|
+
*/
|
|
7490
|
+
declare const METRIC_GAUGE_VALUE_SIZE = 0.42;
|
|
7491
|
+
declare const METRIC_GAUGE_VALUE_UNDER = 0.3;
|
|
6929
7492
|
/**
|
|
6930
7493
|
* Measure every metric field before accepting geometry. Short single-line values and units can
|
|
6931
7494
|
* share a baseline; longer values or units stack. No locale formatting or rewritten source text is
|
|
@@ -6970,7 +7533,7 @@ interface TimelineTextPart {
|
|
|
6970
7533
|
/** Logical alignment: `left` is the start edge, which a right-to-left line draws at the right (see `fit.directions`). */
|
|
6971
7534
|
alignment: 'left' | 'center';
|
|
6972
7535
|
requestedFontSize: number;
|
|
6973
|
-
|
|
7536
|
+
minFontSizePx: number;
|
|
6974
7537
|
requestedStyle: TextStyle;
|
|
6975
7538
|
style: TextStyle;
|
|
6976
7539
|
fit?: SourceTextFit;
|
|
@@ -7063,7 +7626,7 @@ interface TimelineLayoutOptions extends QuoteLayoutOptions {
|
|
|
7063
7626
|
/**
|
|
7064
7627
|
* LH-41: reference pixels added to every role size before the search. Negative starts smaller (the bands of one region at one
|
|
7065
7628
|
* size; a large negative value measures at the readability floor); positive lets a lone timeline grow when it still fits.
|
|
7066
|
-
* No part goes below `
|
|
7629
|
+
* No part goes below `minFontSizePx`.
|
|
7067
7630
|
*/
|
|
7068
7631
|
sizeOffset?: number;
|
|
7069
7632
|
/**
|
|
@@ -7139,7 +7702,7 @@ interface CodeTextPart {
|
|
|
7139
7702
|
generated: boolean;
|
|
7140
7703
|
box: LayoutBox;
|
|
7141
7704
|
requestedFontSize: number;
|
|
7142
|
-
|
|
7705
|
+
minFontSizePx: number;
|
|
7143
7706
|
requestedStyle: TextStyle;
|
|
7144
7707
|
style: TextStyle;
|
|
7145
7708
|
fit?: CodeTextFit;
|
|
@@ -7256,7 +7819,7 @@ interface RichTextOptions {
|
|
|
7256
7819
|
displayPitch?: boolean;
|
|
7257
7820
|
}
|
|
7258
7821
|
/** Fit mixed styles without flattening font metrics. Run fontSize is in points. */
|
|
7259
|
-
declare function fitRichText(input: readonly (string | RichTextRun)[], box: LayoutBox, requestedSize?: number,
|
|
7822
|
+
declare function fitRichText(input: readonly (string | RichTextRun)[], box: LayoutBox, requestedSize?: number, minFontSizePx?: number, options?: RichTextOptions): RichTextFit;
|
|
7260
7823
|
type ListText = string | readonly (string | RichTextRun)[];
|
|
7261
7824
|
type ListValue = ListText | {
|
|
7262
7825
|
text: ListText;
|
|
@@ -7527,7 +8090,7 @@ declare const STEP_ROW_LINES = 3;
|
|
|
7527
8090
|
*/
|
|
7528
8091
|
declare const LIST_MARKERS: readonly string[];
|
|
7529
8092
|
/** Shared hanging indents, mixed-run fitting and description spacing for list payloads. */
|
|
7530
|
-
declare function fitList(input: readonly ListValue[], box: LayoutBox, requestedSize?: number,
|
|
8093
|
+
declare function fitList(input: readonly ListValue[], box: LayoutBox, requestedSize?: number, minFontSizePx?: number, options?: ListFitOptions): ListFit;
|
|
7531
8094
|
/** LH-133: a question ends with a question mark of its script (Latin and fullwidth `?`, Arabic `؟`, the reversed `⸮`), before any closing quote or bracket. */
|
|
7532
8095
|
declare function questionText(value: unknown): boolean;
|
|
7533
8096
|
/** LH-133: a glossary's term is a label (isLabelText) of at most this many words ("ARR", "CAC payback"); a longer label is a phrase. */
|
|
@@ -7545,7 +8108,7 @@ interface TableLayoutOptions {
|
|
|
7545
8108
|
/** Explicit resolved design alignment; absent, a column of numbers (LH-117) aligns at the end and every other at the start. A cell's style.align wins, then its header's. */
|
|
7546
8109
|
alignment?: 'left' | 'center' | 'right';
|
|
7547
8110
|
scale?: number;
|
|
7548
|
-
|
|
8111
|
+
minFontSizePx?: number;
|
|
7549
8112
|
fontFamily?: string;
|
|
7550
8113
|
/** The design's code family for cell runs with `code: true`. */
|
|
7551
8114
|
codeFontFamily?: string;
|
|
@@ -7567,6 +8130,11 @@ interface TableLayoutOptions {
|
|
|
7567
8130
|
growth?: number;
|
|
7568
8131
|
/** LH-113: the body rows (0-based, after the header) drawn on the highlight tint (`ComposedItem.tableHighlight`); their cells are `highlighted`. */
|
|
7569
8132
|
highlight?: readonly number[];
|
|
8133
|
+
/**
|
|
8134
|
+
* FR-07: how the scheme names of `table.colorScale` resolve (the effective color scheme), with the scheme's text and background colors.
|
|
8135
|
+
* With it a table that has a color scale gives each number cell of the named columns its fill and text color (`TableCellLayout.scaled`).
|
|
8136
|
+
*/
|
|
8137
|
+
colorScale?: TableColorScaleColors;
|
|
7570
8138
|
}
|
|
7571
8139
|
interface TableCellLayout {
|
|
7572
8140
|
/** Logical alignment, shared by preview and native export. A column of numbers (LH-117) resolves to the physical right even in RTL. */
|
|
@@ -7590,6 +8158,11 @@ interface TableCellLayout {
|
|
|
7590
8158
|
direction?: TextDirection;
|
|
7591
8159
|
/** LH-113: a body cell of a highlighted row: without a fill of its own it takes the highlight tint (core `tableHighlightColor`). */
|
|
7592
8160
|
highlighted?: true;
|
|
8161
|
+
/** FR-07: the fill and the text color the table's color scale gives this number cell (`#RRGGBB`). A fill of the cell's own wins and has none here; it also wins over the highlight tint. */
|
|
8162
|
+
scaled?: {
|
|
8163
|
+
fill: string;
|
|
8164
|
+
text: string;
|
|
8165
|
+
};
|
|
7593
8166
|
}
|
|
7594
8167
|
interface TableRowLayout {
|
|
7595
8168
|
box: LayoutBox;
|
|
@@ -7618,7 +8191,7 @@ interface TableLayout {
|
|
|
7618
8191
|
/** Shared cell geometry and font fitting for SVG, native PPTX and pagination.
|
|
7619
8192
|
* Short rows retain their 54px preferred height. Multiline rows use the space
|
|
7620
8193
|
* their text needs; constrained tables consume row padding before readable text.
|
|
7621
|
-
* All dimensions are canvas pixels;
|
|
8194
|
+
* All dimensions are canvas pixels; minFontSizePx is an unscaled canvas size.
|
|
7622
8195
|
*/
|
|
7623
8196
|
declare function layoutTable(value: unknown, box: LayoutBox, options?: TableLayoutOptions): TableLayout;
|
|
7624
8197
|
/** Options of `composeLayoutAreas`: those of composeSlide (canvas, deck, theme, direction, ...) plus the layout's own. */
|
|
@@ -7757,5 +8330,5 @@ declare function resolveCanvasDimensions(input: unknown): {
|
|
|
7757
8330
|
height: number;
|
|
7758
8331
|
};
|
|
7759
8332
|
|
|
7760
|
-
export { ARRANGEMENT_TEXT_MARGIN as $, isPlaceLabel as A, isSupportedNumberingSystem as B, languageInEffect as D, ENGINE_DEFAULT_CHART_TYPES as E, localizeDigits as G, markLabelColor as H, normalizeLanguageFamily as I, numberLocale as J, numberingSystemExtension as K, numberingSystemOf as O, numeralScripts as P, plainLanguageTag as Q, SOCIAL_PLATFORMS as S, shapesPending as U, supportedNumberingSystems as V, ARRANGEMENTS as W, ARRANGEMENT_CARDS_MAX as X, ARRANGEMENT_GROWTH as Y, ARRANGEMENT_LINE_POINTS as Z, ARRANGEMENT_MAX as _, CYCLE_ARROW as a$, ARROW_ADJUST as a0, ASCII_QUOTE_MARKS as a1, AUTO_FIT_MIN_KEPT as a2, CHART_MIN_PLOT_PX as aA, CHART_MIN_PLOT_SHARE as aB, CHART_MIN_TICK_SPACING_PX as aC, CHART_RADAR_MAX_HEIGHT_RATIO as aD, CHART_REFERENCE_TYPES as aE, CHART_SLICE_LABEL_MIN_RADIUS as aF, CHART_TEXT_FLOOR_PX as aG, CHART_TEXT_PX as aH, CHART_VALUE_LIST_MAX_ROWS as aI, CHART_VALUE_LIST_SMALL_SLICE as aJ, CHECK_TILE_MAX as aK, CHECK_TILE_MAX_CHARACTERS as aL, CHECK_TILE_MAX_LINES as aM, CHECK_TILE_MIN as aN, CHEVRON_ADJUST as aO, CITATION_MARKER_RAISE as aP, CITATION_MARKER_SCALE as aQ, CODE_HIGHLIGHT_LANGUAGES as aR, CODE_HIGHLIGHT_MAX_LENGTH as aS, CODE_NOMINAL_SIZE as aT, CODE_PANEL_BACKGROUND as aU, CODE_PANEL_FOREGROUND as aV, CODE_SYNTAX_MIN_CONTRAST as aW, CONNECTOR_ROUTES as aX, CONNECTOR_STANDOFF as aY, CONNECTOR_STROKE_COLOR as aZ, CONNECTOR_STROKE_WIDTH as a_, BODY_LINE_PITCH as ad, BUILT_IN_MASKS as ae, CALM_PICTURE_SPREAD as ai, CAPTIONABLE_FIELDS as aj, CAPTION_FONT_RATIO as ak, CAPTION_MAX_RATIO as al, CARD_FILL_SPACE as am, CARD_INSET as an, CARD_RADIUS as ao, CARD_TEXT_MARGIN as ap, CELL_CARD_INSET as aq, CHART_AXIS_MAX_OVERSHOOT as ar, CHART_BAR_GAP_WIDTH as as, CHART_HEADER_LEGEND_ROWS as at, CHART_HEADER_MAX_LEGEND as au, CHART_LABELED_ZERO_SHARE as av, CHART_LONE_MAX_HEIGHT_RATIO as aw, CHART_MAX_HEIGHT_RATIO as ax, CHART_MAX_INTERVALS as ay, CHART_MAX_PLOT_ASPECT as az, CHART_TYPES as b, CYCLE_ARROW_ADJUST as b0, CYCLE_ARROW_LIGHTEN as b1, CYCLE_DIAMETER as b2, CYCLE_RADIUS as b3, CYCLE_RING_MARGIN as b4, CYCLE_RING_NODE as b5, CYCLE_TWO as b6, DIAGRAM_MAX_EDGES as c$, DEFAULT_CHART_LABEL_SEPARATOR as cV, DEFAULT_FURNITURE_DATE_FORMAT as cW, DEFAULT_SHAPE_STYLE as cX, DESIGN_HINT_KEYS as cY, DIAGRAM_BORDER_MIN_CONTRAST as cZ, DIAGRAM_LINE_MIN_CONTRAST as c_, DIAGRAM_NOMINAL_SIZE as d0, DIAGRAM_SECONDARY_FLOOR as d1, DIAGRAM_SHAPE_FAMILIES as d2, DIAGRAM_SOURCE_LIMIT as d3, DIAGRAM_SURFACE_ALT_MIX as d4, DIAGRAM_SURFACE_MIX as d5, DIAGRAM_SYNTAXES as d6, DISPLAY_LINE_PITCH as d7, DISPLAY_SIZE_FACTOR as d8, DISPLAY_TRACKING as d9, EYEBROW_LABEL_WORDS as dA, EYEBROW_MAX_SIZE as dB, EYEBROW_MIN_SIZE as dC, EYEBROW_SHARE as dD, EYEBROW_TAG_SIZE as dE, EYEBROW_TEXT_KIND as dF, EYEBROW_TRACKING as dG, FEATURED_LABEL_MAX_CHARACTERS as dH, FEATURED_LABEL_MAX_WORDS as dI, FEATURED_MARK_MAX_CHARACTERS as dJ, FEATURED_MAX_CELLS as dK, FIGURE_CEILING as dL, FIGURE_ROW_MAX as dM, FIGURE_ROW_MIN as dN, FIGURE_WORDS as dO, FLOW_ROUND_ADJUST as dP, FONT_SIZE_GRID_PER_PX as dQ, FOOTNOTE_MAX_RATIO as dR, FURNITURE_GAP as dS, FURNITURE_IMAGE_SHARE as dT, FURNITURE_ZONE_GUTTER as dU, DOT_LAYOUT_ENGINES as da, DOT_SHAPES as db, EMPHASIS_BAND_MAX_CHARACTERS as ds, EMPHASIS_BAND_MAX_SHARE as dt, EMPHASIS_NOTE_LINES as du, EMPHASIS_PILL_MAX_CHARACTERS as dv, EMPHASIS_PILL_SIZE as dw, EMPHASIS_TAKEAWAY_MAX_CHARACTERS as dx, EYEBROW_GAP as dy, EYEBROW_LABEL_CHARS as dz, ENGINE_DEFAULT_COLOR_SCHEME as e, GROUPED_LABEL_CODE as e7, LEAD_NOMINAL_SIZE as eA, LINEAR_ARRANGEMENTS as eB, LINEAR_TEXT_MARGINS as eC, LIST_ACCENT_RULE_WIDTH as eD, LIST_DISPLAY_GAP as eE, LIST_DISPLAY_RULE as eF, LIST_DISPLAY_SCALE as eG, LIST_HEADING_SCALE as eH, LIST_MARKERS as eI, LIST_NOMINAL_SIZE as eJ, LIST_NUMERAL_GAP as eK, LIST_NUMERAL_SCALE as eL, LIST_QUESTION_LINES as eM, LIST_ROWS_GAP as eN, LIST_ROWS_LABEL_SHARE as eO, LIST_ROWS_SPREAD as eP, LIST_RULE_WIDTH as eQ, LIST_WHOLE_ENTRIES as eR, LONE_DISPLAY_SIZES as eS, LONE_FILL as eT, LONE_METRIC_TARGET as eU, LONE_TARGET as eV, HEADING_AREAS as eb, HEADING_DISPLAY_SIZES as ec, HISTOGRAM_LABEL_SLOT as ed, HISTOGRAM_MIN_BINS as ee, ICON_CARD_DESCRIPTION as eg, ICON_CARD_DESCRIPTION_CHARACTERS as eh, ICON_CARD_FILL as ei, ICON_CARD_LABEL_CHARACTERS as ej, ICON_CARD_LABEL_WORDS as ek, ICON_CARD_MAX as el, ICON_CARD_MIN as em, ICON_CHIP as en, ICON_CHIP_COMPACT as eo, ICON_CHIP_GAP as ep, ICON_GLYPH as eq, JOINED_FIXED_MAX as ex, LAYOUT_BODY_KINDS as ez, ENGINE_DEFAULT_FONT_SCHEME as f, MM_PER_PX as f$, MAX_REGION_DEPTH as fA, MAX_REGION_ENTRIES as fB, MAX_ROMAN_VALUE as fC, MAX_TEMPLATE_TRACKS as fD, MESSAGE_CEILINGS as fE, MESSAGE_DISPLAY_LINES as fF, MESSAGE_DISPLAY_SIZE as fG, METRIC_BAND_MIN_COLUMN as fH, METRIC_BAND_RATIO as fI, METRIC_BAND_VALUE_SHARE as fJ, METRIC_DISPLAY_HEIGHT as fK, METRIC_DISPLAY_SIZES as fL, METRIC_DISPLAY_WIDTH as fM, METRIC_ICON_TEXT as fN, METRIC_PILL_PAD_X as fO, METRIC_PILL_PAD_Y as fP, METRIC_PILL_RISE as fQ, METRIC_ROLE_VALUE_SIZE as fR, METRIC_TILE_VALUE_SHARE as fS, METRIC_TREND_ARROW_GAP as fT, METRIC_TREND_ARROW_SIZE as fU, METRIC_TREND_MIN_CONTRAST as fV, METRIC_TREND_SHAPES as fW, METRIC_UNIT_GAP as fX, METRIC_UNIT_SHARE as fY, METRIC_VALUE_MIN_CONTRAST as fZ, MIN_MEASURE_CHARS as f_, MATRIX_BACKGROUND_LIGHTEN as fr, MATRIX_ENTRIES as fs, MATRIX_GAP as ft, MATRIX_INSET as fu, MATRIX_QUADRANT as fv, MAX_COMPOSITION_DEPTH as fw, MAX_NUMBERING_LEVELS as fx, MAX_NUMBERING_VALUE as fy, MAX_REGION_BLOCKS as fz, gridCells as g, PATTERN_PRESETS as g$, MOVED_ROW_MAX as g0, OPF_CHEVRON_DEPTH as gA, OPF_COLUMN_ARROW_LENGTH as gB, OPF_COLUMN_ARROW_THICKNESS as gC, OPF_COLUMN_ROOM as gD, OPF_LAYOUT_DESIGNS as gE, OPF_LAYOUT_KIND as gF, OPF_LAYOUT_MAX as gG, OPF_LINES_MAX as gH, OVERLAY_ANCHOR_SHARE as gI, OVERLAY_BODY_SHARE as gJ, OVERLAY_EDGES as gK, OVERLAY_LAYERS as gL, PAIR_ARROW_HEIGHT as gS, PAIR_ARROW_MARGIN as gT, PAIR_ARROW_WIDTH as gU, PAIR_FIGURE_KINDS as gV, PAIR_GRID_ANSWER as gW, PAIR_GRID_MIN as gX, PAIR_GRID_QUESTION as gY, PAIR_LENGTH_RATIO as gZ, PANEL_SCRIM_LIMIT as g_, NOTE_PEER_RATIO as gb, NOTE_PEER_WORDS as gc, NUMBERING_STYLES as gd, NUMBERING_SUFFIXES as ge, NUMBERING_SYSTEMS as gf, NUMBER_GROUPING_MIN as gg, NUMBER_LOCALES as gh, NUMBER_LOCALE_SOURCE as gi, NUMBER_SEPARATOR_OVERRIDES as gj, NUMERAL_SHAPES as gk, NUMERAL_TAKEAWAYS as gl, OPFCompositionError as gv, OPFLayoutTemplateError as gw, OPF_ARROW_LENGTH as gx, OPF_ARROW_ROOM as gy, OPF_ARROW_THICKNESS as gz, ENGINE_DEFAULT_THEME as h, PATTERN_PRESET_ALIASES as h0, PATTERN_TILE_SIZE as h1, PICTURE_BULLET_SCALE as h2, PICTURE_PANEL_SHARES as h3, PICTURE_STROKE_WIDTH as h4, PICTURE_TEXT_COLUMNS as h5, PICTURE_TEXT_PLACEMENTS as h6, PILLAR_MAX as h7, PILLAR_WORD_MAX as h8, PLACED_TILE_LINES as h9, QUOTE_MARK as hI, QUOTE_MARKS as hJ, QUOTE_NOMINAL_SIZE as hK, QUOTE_PORTRAIT_GAP as hL, QUOTE_PORTRAIT_MIN_WIDTH as hM, QUOTE_PORTRAIT_SHARE as hN, QUOTE_PORTRAIT_STEP as hO, QUOTE_PULL_LINES as hP, QUOTE_PULL_MAX_CHARACTERS as hQ, QUOTE_PULL_PREFIX as hR, QUOTE_PULL_ROLE_SEPARATOR as hS, QUOTE_PULL_RULE as hT, QUOTE_SOURCE_SEPARATOR as hU, PLACED_TILE_SHARE as ha, PLANTUML_DIAGRAMS as hb, PORTRAIT_FOCUS_Y as hc, PORTRAIT_GAP as hd, PORTRAIT_MIN as he, PORTRAIT_MODES as hf, PORTRAIT_SIDE_CHARS as hg, PORTRAIT_SIDE_FILL as hh, PORTRAIT_SIDE_MAX as hi, PORTRAIT_SIDE_SHARE as hj, PORTRAIT_SIDE_SHARES as hk, PORTRAIT_TALLEST as hl, PORTRAIT_TEXT_SIZE as hm, PORTRAIT_TOP_MAX as hn, PORTRAIT_WIDEST as ho, PROSE_NOMINAL_SIZE as hp, PYRAMID_MAX_ASPECT as hq, PYRAMID_STEPS_ASPECT as hr, PYRAMID_STEPS_SHARE as hs, PYRAMID_STEP_HEIGHT as ht, PYRAMID_TEXT_WIDTH as hu, LANGUAGES as i, STEP_BADGE as i$, RADAR_BOTTOM_LEGEND_GAIN as i3, REGION_ANCHORS as i4, REGION_ARRANGEMENTS as i5, REGION_FLOWS as i6, REGION_KINDS as i7, REGION_ROLES as i8, RESERVED_REGION_NAMES as i9, SALIENT_LIMIT as iG, SCRIM_FADE as iH, SCRIM_MARGIN as iI, SCRIM_TARGET_CONTRAST as iJ, SEQUENCE_ARRANGEMENTS as iK, SHAPE_BLOCK_KEYS as iL, SHAPE_EFFECT_KEYS as iM, SHAPE_PADDING as iN, SHAPE_PRESETS as iO, SHAPE_STROKE_WIDTH as iP, SHAPE_STYLES as iQ, SHORT_MESSAGE_WORDS as iR, SHORT_TEXT_WORDS as iS, SMALL_CHART_MAX_POINTS as iT, SMALL_CHART_MAX_SERIES as iU, SMART_ART_DOMAIN as iV, SMART_ART_LAYOUTS as iW, SMART_ART_NAMES as iX, SMART_ART_OPF_DOMAIN as iY, SMART_ART_SCALES as iZ, SPARSE_LIST_DISPLAY as i_, ROUND_RECT_ADJUST as ia, ROW_LABEL_CHARS as ib, ROW_LABEL_WORDS as ic, RUN_IN_HEADING_CHARS as id, LOGO_SHAPES as j, STEP_BADGE_GAP as j0, STEP_PROCESS_CHARACTERS as j1, STEP_PROCESS_MAX as j2, STEP_PROCESS_MIN as j3, STEP_ROW_DISPLAY as j4, STEP_ROW_LINES as j5, STEP_ROW_MAX as j6, STEP_ROW_MIN_EMS as j7, STUB_LINE_SHARE as j8, TEXT_TILE_MARKER as jA, TEXT_TILE_MAX as jB, TEXT_TILE_MIN as jC, THEME_DESIGN_KEYS as jD, TIER_MAX as jE, TIER_VALUE_SIZES as jF, TIMELINE_OUTLINE_MIN_CONTRAST as jG, TIMELINE_STATUSES as jH, TIMELINE_STATUS_WORDS as jI, TIMELINE_TEXT_MIN_CONTRAST as jJ, TITLE_BESIDE_SHARE as jK, TITLE_POSITIONS as jL, TITLE_RULE_SIZE as jM, TABLE_NOMINAL_SIZE as jt, TABLE_NUMERIC_SHARE as ju, TEAM_AVATAR as jv, TERM_WORDS as jw, TEXT_ONLY_LABELS as jx, TEXT_TILE_CHARACTERS as jy, TEXT_TILE_LINES as jz, chartValueAxis as k$, chartCircleSquare as kA, chartComboAxes as kB, chartDoughnut as kC, chartEndLabels as kD, chartHeader as kE, chartHeaderCaption as kF, chartHighlightMarks as kG, chartHistogram as kH, chartIntervalsFor as kI, chartLabelText as kJ, chartLayer as kK, chartLayerDataLabels as kL, chartNumberLanguage as kM, chartNumericAxes as kN, chartOptionSupport as kO, chartOptionTarget as kP, chartPlotBox as kQ, chartPlotInset as kR, chartRadarLayout as kS, chartReferenceSources as kT, chartReferences as kU, chartRingLabels as kV, chartSliceLabels as kW, chartSlideFocus as kX, chartStack as kY, chartTextSize as kZ, chartTitleFocus as k_, alignBarRows as kg, allocateRows as kh, annotationText as ki, arrangementPaint as kj, arrangementTree as kk, autoImageFit as kl, bindNoBreak as km, bindRegions as kn, blockKind as ko, capitalsLabel as kp, captionSettings as kq, cardGridColumns as kr, cardNodes as ks, cellBlocks as kt, cellsInReadingOrder as ku, chartAxisFraction as kv, chartAxisScale as kw, chartBarGeometry as kx, chartBarSeriesOffset as ky, chartCategoriesInTime as kz, groupsThousands as l$, chartValueAxisHidden as l0, chartValueList as l1, chartWaterfall as l2, checkDiagram as l3, checkMarkPoints as l4, chevronNodes as l5, chooseConnectorSites as l6, choosePictureText as l7, citationMarkerText as l8, codeHighlightBands as l9, dotToMermaid as lA, endLabelText as lB, evaluateLayoutDefinition as lC, eyebrowCaps as lD, eyebrowLabel as lE, eyebrowSize as lF, featuredCells as lG, figureList as lH, figureText as lI, fitImage as lJ, fitList as lK, fitRichText as lL, fitText as lM, flowNodes as lN, focusHits as lO, formatChartLabelNumber as lP, formatChartLabelPercent as lQ, formatFurnitureDate as lR, formatListNumber as lS, frameToSlide as lT, grayOfLuminance as lU, gridFlowShape as lV, groupBinding as lW, groupNumber as lX, groupingNode as lY, groupsAxisTicks as lZ, groupsDataRange as l_, codeHighlightColors as la, codeHighlightLines as lb, codeLineNumbers as lc, codeLineRuns as ld, codeSyntaxPalette as le, codeSyntaxPaletteForRoles as lf, codeSyntaxPaletteForScheme as lg, collectCitations as lh, composeLayoutAreas as li, composeShape as lj, composeSlide as lk, compositeLayoutDefinition as ll, connectorAdjustPreset as lm, connectorRoute as ln, coverKept as lo, cycleAspect as lp, cycleFrame as lq, cycleLoop as lr, cycleNodes as ls, cycleRing as lt, defaultImageFocus as lu, diagramPalette as lv, diagramPayload as lw, displayDepth as lx, displayFrom as ly, displayTracks as lz, maxIntervalsFor as m$, hasOverlayShapes as m0, histogramBins as m1, histogramEdgeDecimals as m2, histogramEdgeFormat as m3, histogramEdgeText as m4, horizontalBarPlot as m5, hslStopColor as m6, imageBackground as m7, imageShape as m8, intrinsicImageAspect as m9, layoutRegion as mA, layoutStructure as mB, layoutTable as mC, layoutTemplate as mD, layoutTemplateIssues as mE, layoutTimeline as mF, layoutWatermark as mG, lineMayStartAt as mH, linePitch as mI, linearDesign as mJ, linearMargins as mK, linearNodes as mL, listColumnBreaks as mM, listGridShape as mN, listNumberLabel as mO, listNumbers as mP, localizeNumberParts as mQ, localizeNumberText as mR, localizePatternNumber as mS, lonePayload as mT, loneQuote as mU, luminanceGrid as mV, majorityKind as mW, markQuote as mX, matrixNodes as mY, matrixQuadrants as mZ, matrixSquare as m_, intrinsicImageSize as ma, isArrangement as mb, isGridCell as mc, isLabelText as md, isLayoutTemplate as me, isLinearArrangement as mf, isOverlayConnector as mg, isPresetShape as mh, isRegionArrangement as mi, isSequenceArrangement as mj, isShapeBlock as mk, isTimeFieldTitle as ml, isWrappedInQuoteMarks as mm, isolateNumbers as mn, itemAlignment as mo, itemizeScripts as mp, layoutArrangement as mq, layoutCaption as mr, layoutCode as ms, layoutContent as mt, layoutDiagram as mu, layoutEntries as mv, layoutFootnotes as mw, layoutFurniture as mx, layoutMetric as my, layoutQuote as mz, resolveChartOptions as n$, measureMonospaceText as n0, measureText as n1, measureTextOutline as n2, messageCeiling as n3, messageCharacters as n4, messageWords as n5, metricPillFill as n6, metricTrendColor as n7, metricTrendMark as n8, metricTrendPoints as n9, pictureScrims as nA, placeEndLabels as nB, placeReferences as nC, placeStackNames as nD, placeTextLines as nE, placedImageBlocks as nF, plantumlToMermaid as nG, presetAspect as nH, presetMask as nI, presetTextRect as nJ, pyramidFrame as nK, pyramidNodes as nL, pyramidSteps as nM, questionText as nN, quoteLanguage as nO, quoteMarksFor as nP, rectSites as nQ, referencesSlide as nR, refreshChartMarks as nS, refreshEndLabels as nT, regionAccepts as nU, regionDiagram as nV, regionListColumns as nW, regionRoleRank as nX, regionSequence as nY, repeatedPairs as nZ, resolveCanvasDimensions as n_, metricValueColor as na, monthOf as nb, nativeTreeGeometry as nc, niceScale as nd, nodeWidthAt as ne, numberRanges as nf, numberingAtLevel as ng, numberingStyleDraws as nh, numeralShapePrefix as ni, numericText as nj, oneMessageField as nk, opfLayoutGeometry as nl, opfSmartArtUnavailable as nm, opfTreeGeometry as nn, overlayIssues as no, overlaysDrawBody as np, paintDiagram as nq, paintDiagramGroup as nr, pairEntry as ns, paragraphDirection as nt, paragraphDirectionAt as nu, paretoPlan as nv, patternBitmap as nw, patternRuns as nx, physicalAlignment as ny, pictureOverlay as nz, turnedShapeBox as o$, resolveCodeLanguage as o0, resolveDesignHints as o1, resolveFontFamilies as o2, resolveLogo as o3, resolveNumbering as o4, resolvePatternPreset as o5, resolveScriptFonts as o6, resolveSlideDirection as o7, resolveSocialProfile as o8, resolveTextStyle as o9, smartArtUnavailable as oA, snapFontSizeDown as oB, snapFontSizeUp as oC, stackCategoryValues as oD, stackedText as oE, statementMessage as oF, stopDeclarationList as oG, stopElementAttributes as oH, stopOpacityValue as oI, stopStylesheet as oJ, stubLine as oK, styledText as oL, svgHslStopsToSrgb as oM, tableGrid as oN, tableHighlightRows as oO, tableRowBoundaries as oP, tableSlideFocus as oQ, textInkBox as oR, textLength as oS, textWidthMeasurer as oT, timelineMarkerShapes as oU, timelineStatusWordsFor as oV, timelineTextColor as oW, titleBesideTemplate as oX, tokenizeCode as oY, trackingWidth as oZ, translatePathData as o_, restackForRows as oa, rightArrowPoints as ob, rootNodes as oc, rowLabel as od, runInHeading as oe, sampledGrays as of, sampledWeight as og, scorePictureText as oh, scottBinCount as oi, scrimGeometry as oj, scrimOpacity as ok, scriptFontRole as ol, scriptOfCharacter as om, shapeIssues as on, shapeSites as oo, shapeStyleLook as op, shapeTextColor as oq, shareHeights as or, shareSiblingChartAxes as os, shareSiblingPlots as ot, sliceNumberedItems as ou, slideBlockIds as ov, slideCitations as ow, slideFocusSources as ox, smallChart as oy, smartArtScript as oz, unbindNoBreak as p0, unwrapQuoteMarks as p1, vennNodes as p2, verticalFlowNodes as p3, visualReadingOrder as p4, walkCitationRuns as p5, waterfallLabelText as p6, waterfallRoles as p7, waterfallSignedFormat as p8, waterfallSteps as p9, wrapText as pa, asciiDigits as s, chartDrawDiagnostics as t, chartDrawPlan as u, diagramsPending as v, ensureDiagrams as w, ensureShapes as x, formatNumber as y, formatPercentNumber as z };
|
|
7761
|
-
export type { ComposeSlideOptions as C, Fonts as F, LayoutDiagnostic as L, MessageSurface as M, NumberLocale as N, ResolveLogoOptions as R, TextMeasurement as T,
|
|
8333
|
+
export { normalizeScriptGroup as $, asciiDigits as B, ENGINE_DEFAULT_CHART_TYPES as E, chartDrawDiagnostics as G, chartDrawPlan as H, dateNamesOf as I, diagramsPending as J, ensureDiagrams as K, ensureShapes as O, formatNumber as P, formatPercentNumber as Q, SCHEME_COLOR_NAMES as S, isPlaceLabel as U, isSupportedNumberingSystem as V, languageInEffect as W, localizeDigits as X, longDatePattern as Y, markLabelColor as Z, mixOklab as _, CHART_BAR_GAP_WIDTH as a$, numberLocale as a0, numberingSystemExtension as a1, numberingSystemOf as a2, numeralScripts as a3, oklabToSrgb as a4, pinTableColorScale as a5, plainLanguageTag as a6, resolveTableColorScale as a7, rowCells as a8, rowId as a9, BAND_LABEL_BESIDE_LIMIT as aA, BAND_LABEL_MIN_CONTRAST as aB, BAND_LABEL_PADDING as aC, BODY_LINE_PITCH as aD, BUILT_IN_MASKS as aE, BULLET_BAR_SHARE as aF, BULLET_CHART_TYPE as aG, BULLET_GAP_WIDTH as aH, BULLET_TARGET_SHARE as aI, BULLET_TARGET_WIDTH_PX as aJ, CALM_PICTURE_SPREAD as aN, CAPTIONABLE_FIELDS as aO, CAPTION_FONT_RATIO as aP, CAPTION_MAX_RATIO as aQ, CARD_FILL_SPACE as aR, CARD_INSET as aS, CARD_RADIUS as aT, CARD_TEXT_MARGIN as aU, CELL_CARD_INSET as aV, CHART_AXIS_MAX_OVERSHOOT as aW, CHART_BAND_COLOR_SHARE as aX, CHART_BAND_MUTED_CONTRAST as aY, CHART_BAND_NEUTRAL_CONTRASTS as aZ, CHART_BAND_TYPES as a_, shapesPending as aa, srgbToOklab as ab, supportedNumberingSystems as ac, tableColorScaleDiagnostics as ad, tableColorScaleOf as ae, tableColorScaleText as af, tableRows as ag, ARRANGEMENTS as ah, ARRANGEMENT_CARDS_MAX as ai, ARRANGEMENT_GROWTH as aj, ARRANGEMENT_LINE_POINTS as ak, ARRANGEMENT_MAX as al, ARRANGEMENT_TEXT_MARGIN as am, ARROW_ADJUST as an, ASCII_QUOTE_MARKS as ao, AUTO_FIT_MIN_KEPT as ap, CHART_HEADER_LEGEND_ROWS as b0, CHART_HEADER_MAX_LEGEND as b1, CHART_LABELED_ZERO_SHARE as b2, CHART_LONE_MAX_HEIGHT_RATIO as b3, CHART_MAX_HEIGHT_RATIO as b4, CHART_MAX_INTERVALS as b5, CHART_MAX_PLOT_ASPECT as b6, CHART_MIN_PLOT_PX as b7, CHART_MIN_PLOT_SHARE as b8, CHART_MIN_TICK_SPACING_PX as b9, CYCLE_ARROW_LIGHTEN as bA, CYCLE_DIAMETER as bB, CYCLE_RADIUS as bC, CYCLE_RING_MARGIN as bD, CYCLE_RING_NODE as bE, CYCLE_TWO as bF, CHART_RADAR_MAX_HEIGHT_RATIO as ba, CHART_REFERENCE_TYPES as bb, CHART_SLICE_LABEL_MIN_RADIUS as bc, CHART_TEXT_FLOOR_PX as bd, CHART_TEXT_PX as be, CHART_VALUE_LIST_MAX_ROWS as bf, CHART_VALUE_LIST_SMALL_SLICE as bg, CHECK_TILE_MAX as bh, CHECK_TILE_MAX_CHARACTERS as bi, CHECK_TILE_MAX_LINES as bj, CHECK_TILE_MIN as bk, CHEVRON_ADJUST as bl, CITATION_MARKER_RAISE as bm, CITATION_MARKER_SCALE as bn, CODE_HIGHLIGHT_LANGUAGES as bo, CODE_HIGHLIGHT_MAX_LENGTH as bp, CODE_NOMINAL_SIZE as bq, CODE_PANEL_BACKGROUND as br, CODE_PANEL_FOREGROUND as bs, CODE_SYNTAX_MIN_CONTRAST as bt, CONNECTOR_ROUTES as bu, CONNECTOR_STANDOFF as bv, CONNECTOR_STROKE_COLOR as bw, CONNECTOR_STROKE_WIDTH as bx, CYCLE_ARROW as by, CYCLE_ARROW_ADJUST as bz, CHART_TYPES as d, DATE_NAMES_MISSING as dA, DATE_NAME_SOURCE as dB, DATE_PATTERNS as dC, DEFAULT_CHART_LABEL_SEPARATOR as dD, DEFAULT_FURNITURE_DATE_FORMAT as dE, DEFAULT_SHAPE_STYLE as dF, DESIGN_HINT_KEYS as dG, DIAGRAM_BORDER_MIN_CONTRAST as dH, DIAGRAM_LINE_MIN_CONTRAST as dI, DIAGRAM_MAX_EDGES as dJ, DIAGRAM_NOMINAL_SIZE as dK, DIAGRAM_SECONDARY_FLOOR as dL, DIAGRAM_SHAPE_FAMILIES as dM, DIAGRAM_SOURCE_LIMIT as dN, DIAGRAM_SURFACE_ALT_MIX as dO, DIAGRAM_SURFACE_MIX as dP, DIAGRAM_SYNTAXES as dQ, DISPLAY_LINE_PITCH as dR, DISPLAY_SIZE_FACTOR as dS, DISPLAY_TRACKING as dT, DOT_LAYOUT_ENGINES as dU, DOT_SHAPES as dV, DATE_NAMES as dz, ICON_CARD_DESCRIPTION_CHARACTERS as e$, EMPHASIS_BAND_MAX_CHARACTERS as e9, FURNITURE_GAP as eA, FURNITURE_IMAGE_SHARE as eB, FURNITURE_ZONE_GUTTER as eC, GROUPED_LABEL_CODE as eR, HEADING_AREAS as eV, HEADING_DISPLAY_SIZES as eW, HISTOGRAM_LABEL_SLOT as eX, HISTOGRAM_MIN_BINS as eY, ICON_CARD_DESCRIPTION as e_, EMPHASIS_BAND_MAX_SHARE as ea, EMPHASIS_NOTE_LINES as eb, EMPHASIS_PILL_MAX_CHARACTERS as ec, EMPHASIS_PILL_SIZE as ed, EMPHASIS_TAKEAWAY_MAX_CHARACTERS as ee, ENGLISH_DATE_NAMES as ef, EYEBROW_GAP as eg, EYEBROW_LABEL_CHARS as eh, EYEBROW_LABEL_WORDS as ei, EYEBROW_MAX_SIZE as ej, EYEBROW_MIN_SIZE as ek, EYEBROW_SHARE as el, EYEBROW_TAG_SIZE as em, EYEBROW_TEXT_KIND as en, EYEBROW_TRACKING as eo, FEATURED_LABEL_MAX_CHARACTERS as ep, FEATURED_LABEL_MAX_WORDS as eq, FEATURED_MARK_MAX_CHARACTERS as er, FEATURED_MAX_CELLS as es, FIGURE_CEILING as et, FIGURE_ROW_MAX as eu, FIGURE_ROW_MIN as ev, FIGURE_WORDS as ew, FLOW_ROUND_ADJUST as ex, FONT_SIZE_GRID_PER_PX as ey, FOOTNOTE_MAX_RATIO as ez, ICON_CARD_FILL as f0, ICON_CARD_LABEL_CHARACTERS as f1, ICON_CARD_LABEL_WORDS as f2, ICON_CARD_MAX as f3, ICON_CARD_MIN as f4, ICON_CHIP as f5, ICON_CHIP_COMPACT as f6, ICON_CHIP_GAP as f7, ICON_GLYPH as f8, IMPLIED_REGION_KINDS as f9, LIST_WHOLE_ENTRIES as fA, LONE_DISPLAY_SIZES as fB, LONE_FILL as fC, LONE_METRIC_TARGET as fD, LONE_TARGET as fE, JOINED_FIXED_MAX as fg, LAYOUT_BODY_KINDS as fi, LEAD_NOMINAL_SIZE as fj, LINEAR_ARRANGEMENTS as fk, LINEAR_TEXT_MARGINS as fl, LIST_ACCENT_RULE_WIDTH as fm, LIST_DISPLAY_GAP as fn, LIST_DISPLAY_RULE as fo, LIST_DISPLAY_SCALE as fp, LIST_HEADING_SCALE as fq, LIST_MARKERS as fr, LIST_NOMINAL_SIZE as fs, LIST_NUMERAL_GAP as ft, LIST_NUMERAL_SCALE as fu, LIST_QUESTION_LINES as fv, LIST_ROWS_GAP as fw, LIST_ROWS_LABEL_SHARE as fx, LIST_ROWS_SPREAD as fy, LIST_RULE_WIDTH as fz, gridCells as g, MATRIX_BACKGROUND_LIGHTEN as g9, METRIC_GAUGE_THICKNESS as gA, METRIC_GAUGE_TRACK_SHARE as gB, METRIC_GAUGE_VALUE_SHARE as gC, METRIC_GAUGE_VALUE_SIZE as gD, METRIC_GAUGE_VALUE_UNDER as gE, METRIC_ICON_TEXT as gF, METRIC_PILL_PAD_X as gG, METRIC_PILL_PAD_Y as gH, METRIC_PILL_RISE as gI, METRIC_ROLE_VALUE_SIZE as gJ, METRIC_TILE_VALUE_SHARE as gK, METRIC_TREND_ARROW_GAP as gL, METRIC_TREND_ARROW_SIZE as gM, METRIC_TREND_MIN_CONTRAST as gN, METRIC_TREND_SHAPES as gO, METRIC_UNIT_GAP as gP, METRIC_UNIT_SHARE as gQ, METRIC_VALUE_MIN_CONTRAST as gR, MIN_MEASURE_CHARS as gS, MM_PER_PX as gT, MOVED_ROW_MAX as gU, MATRIX_ENTRIES as ga, MATRIX_GAP as gb, MATRIX_INSET as gc, MATRIX_QUADRANT as gd, MAX_COMPOSITION_DEPTH as ge, MAX_NUMBERING_LEVELS as gf, MAX_NUMBERING_VALUE as gg, MAX_REGION_BLOCKS as gh, MAX_REGION_DEPTH as gi, MAX_REGION_ENTRIES as gj, MAX_ROMAN_VALUE as gk, MAX_TEMPLATE_TRACKS as gl, MESSAGE_CEILINGS as gm, MESSAGE_DISPLAY_LINES as gn, MESSAGE_DISPLAY_SIZE as go, METRIC_BAND_MIN_COLUMN as gp, METRIC_BAND_RATIO as gq, METRIC_BAND_VALUE_SHARE as gr, METRIC_DISPLAY_HEIGHT as gs, METRIC_DISPLAY_SIZES as gt, METRIC_DISPLAY_WIDTH as gu, METRIC_GAUGE_BOWL_GAP as gv, METRIC_GAUGE_MAX_WIDTH_PX as gw, METRIC_GAUGE_MIN_WIDTH_PX as gx, METRIC_GAUGE_TARGET_LENGTH as gy, METRIC_GAUGE_TARGET_WIDTH_PX as gz, ENGINE_DEFAULT_COLOR_SCHEME as h, PATTERN_PRESET_ALIASES as h$, OPF_COLUMN_ARROW_LENGTH as hA, OPF_COLUMN_ARROW_THICKNESS as hB, OPF_COLUMN_ROOM as hC, OPF_LAYOUT_DESIGNS as hD, OPF_LAYOUT_KIND as hE, OPF_LAYOUT_MAX as hF, OPF_LINES_MAX as hG, OVERLAY_ANCHOR_SHARE as hH, OVERLAY_BODY_SHARE as hI, OVERLAY_EDGES as hJ, OVERLAY_LAYERS as hK, PAIR_ARROW_HEIGHT as hR, PAIR_ARROW_MARGIN as hS, PAIR_ARROW_WIDTH as hT, PAIR_FIGURE_KINDS as hU, PAIR_GRID_ANSWER as hV, PAIR_GRID_MIN as hW, PAIR_GRID_QUESTION as hX, PAIR_LENGTH_RATIO as hY, PANEL_SCRIM_LIMIT as hZ, PATTERN_PRESETS as h_, NOTE_PEER_RATIO as ha, NOTE_PEER_WORDS as hb, NUMBERING_STYLES as hc, NUMBERING_SUFFIXES as hd, NUMBERING_SYSTEMS as he, NUMBER_GROUPING_MIN as hf, NUMBER_LOCALES as hg, NUMBER_LOCALE_SOURCE as hh, NUMBER_SEPARATOR_OVERRIDES as hi, NUMERAL_SHAPES as hj, NUMERAL_TAKEAWAYS as hk, OPFCompositionError as hu, OPFLayoutTemplateError as hv, OPF_ARROW_LENGTH as hw, OPF_ARROW_ROOM as hx, OPF_ARROW_THICKNESS as hy, OPF_CHEVRON_DEPTH as hz, ENGINE_DEFAULT_FONT_SCHEME as i, PATTERN_TILE_SIZE as i0, PICTURE_BULLET_SCALE as i1, PICTURE_PANEL_SHARES as i2, PICTURE_STROKE_WIDTH as i3, PICTURE_TEXT_COLUMNS as i4, PICTURE_TEXT_PLACEMENTS as i5, PILLAR_MAX as i6, PILLAR_WORD_MAX as i7, PLACED_TILE_LINES as i8, PLACED_TILE_SHARE as i9, QUOTE_MARK as iJ, QUOTE_MARKS as iK, QUOTE_NOMINAL_SIZE as iL, QUOTE_PORTRAIT_GAP as iM, QUOTE_PORTRAIT_MIN_WIDTH as iN, QUOTE_PORTRAIT_SHARE as iO, QUOTE_PORTRAIT_STEP as iP, QUOTE_PULL_LINES as iQ, QUOTE_PULL_MAX_CHARACTERS as iR, QUOTE_PULL_PREFIX as iS, QUOTE_PULL_ROLE_SEPARATOR as iT, QUOTE_PULL_RULE as iU, QUOTE_SOURCE_SEPARATOR as iV, PLANTUML_DIAGRAMS as ia, PORTRAIT_FOCUS_Y as ib, PORTRAIT_GAP as ic, PORTRAIT_MIN as id, PORTRAIT_MODES as ie, PORTRAIT_SIDE_CHARS as ig, PORTRAIT_SIDE_FILL as ih, PORTRAIT_SIDE_MAX as ii, PORTRAIT_SIDE_SHARE as ij, PORTRAIT_SIDE_SHARES as ik, PORTRAIT_TALLEST as il, PORTRAIT_TEXT_SIZE as im, PORTRAIT_TOP_MAX as io, PORTRAIT_WIDEST as ip, PROSE_NOMINAL_SIZE as iq, PYRAMID_MAX_ASPECT as ir, PYRAMID_STEPS_ASPECT as is, PYRAMID_STEPS_SHARE as it, PYRAMID_STEP_HEIGHT as iu, PYRAMID_TEXT_WIDTH as iv, ENGINE_DEFAULT_THEME as j, STEP_BADGE_GAP as j$, RADAR_BOTTOM_LEGEND_GAIN as j4, REGION_ANCHORS as j5, REGION_ARRANGEMENTS as j6, REGION_FLOWS as j7, REGION_KINDS as j8, REGION_ROLES as j9, SALIENT_LIMIT as jF, SCRIM_FADE as jG, SCRIM_MARGIN as jH, SCRIM_TARGET_CONTRAST as jI, SEQUENCE_ARRANGEMENTS as jJ, SHAPE_BLOCK_KEYS as jK, SHAPE_EFFECT_KEYS as jL, SHAPE_PADDING as jM, SHAPE_PRESETS as jN, SHAPE_STROKE_WIDTH as jO, SHAPE_STYLES as jP, SHORT_MESSAGE_WORDS as jQ, SHORT_TEXT_WORDS as jR, SMALL_CHART_MAX_POINTS as jS, SMALL_CHART_MAX_SERIES as jT, SMART_ART_DOMAIN as jU, SMART_ART_LAYOUTS as jV, SMART_ART_NAMES as jW, SMART_ART_OPF_DOMAIN as jX, SMART_ART_SCALES as jY, SPARSE_LIST_DISPLAY as jZ, STEP_BADGE as j_, RESERVED_REGION_NAMES as ja, ROUND_RECT_ADJUST as jb, ROW_LABEL_CHARS as jc, ROW_LABEL_WORDS as jd, RUN_IN_HEADING_CHARS as je, LANGUAGES as k, STEP_PROCESS_CHARACTERS as k0, STEP_PROCESS_MAX as k1, STEP_PROCESS_MIN as k2, STEP_ROW_DISPLAY as k3, STEP_ROW_LINES as k4, STEP_ROW_MAX as k5, STEP_ROW_MIN_EMS as k6, STUB_LINE_SHARE as k7, TEXT_TILE_MAX as kA, TEXT_TILE_MIN as kB, THEME_DESIGN_KEYS as kC, TIER_MAX as kD, TIER_VALUE_SIZES as kE, TIMELINE_OUTLINE_MIN_CONTRAST as kF, TIMELINE_STATUSES as kG, TIMELINE_STATUS_WORDS as kH, TIMELINE_TEXT_MIN_CONTRAST as kI, TITLE_BESIDE_SHARE as kJ, TITLE_POSITIONS as kK, TITLE_RULE_SIZE as kL, TABLE_NOMINAL_SIZE as ks, TABLE_NUMERIC_SHARE as kt, TEAM_AVATAR as ku, TERM_WORDS as kv, TEXT_ONLY_LABELS as kw, TEXT_TILE_CHARACTERS as kx, TEXT_TILE_LINES as ky, TEXT_TILE_MARKER as kz, LOGO_SHAPES as l, chartPlotBox as l$, chartBandDiagnostics as lA, chartBandFill as lB, chartBandFills as lC, chartBandMaximum as lD, chartBandMutedColor as lE, neutralFill as lF, chartBandRanges as lG, chartBands as lH, chartBarGeometry as lI, chartBarSeriesOffset as lJ, chartCategoriesInTime as lK, chartCircleSquare as lL, chartComboAxes as lM, chartDoughnut as lN, chartEndLabels as lO, chartHeader as lP, chartHeaderCaption as lQ, chartHighlightMarks as lR, chartHistogram as lS, chartIntervalsFor as lT, chartLabelText as lU, chartLayer as lV, chartLayerDataLabels as lW, chartNumberLanguage as lX, chartNumericAxes as lY, chartOptionSupport as lZ, chartOptionTarget as l_, alignBarRows as lf, allocateRows as lg, annotationText as lh, arrangementPaint as li, arrangementTree as lj, autoImageFit as lk, bandLabelColor as ll, bandLegendNames as lm, bindNoBreak as ln, bindRegions as lo, blockArcPath as lp, blockKind as lq, bulletPlot as lr, capitalsLabel as ls, captionSettings as lt, cardGridColumns as lu, cardNodes as lv, cellBlocks as lw, cellsInReadingOrder as lx, chartAxisFraction as ly, chartAxisScale as lz, formatChartLabelPercent as m$, chartPlotInset as m0, chartRadarLayout as m1, chartReferenceSources as m2, chartReferences as m3, chartRingLabels as m4, chartSliceLabels as m5, chartSlideFocus as m6, chartStack as m7, chartTextSize as m8, chartTitleFocus as m9, cycleAspect as mA, cycleFrame as mB, cycleLoop as mC, cycleNodes as mD, cycleRing as mE, defaultImageFocus as mF, diagramPalette as mG, diagramPayload as mH, displayDepth as mI, displayFrom as mJ, displayTracks as mK, dotToMermaid as mL, endLabelText as mM, evaluateLayoutDefinition as mN, eyebrowCaps as mO, eyebrowLabel as mP, eyebrowSize as mQ, featuredCells as mR, figureList as mS, figureText as mT, fitImage as mU, fitList as mV, fitRichText as mW, fitText as mX, flowNodes as mY, focusHits as mZ, formatChartLabelNumber as m_, chartValueAxis as ma, chartValueAxisHidden as mb, chartValueList as mc, chartWaterfall as md, checkDiagram as me, checkMarkPoints as mf, chevronNodes as mg, chooseConnectorSites as mh, choosePictureText as mi, citationMarkerText as mj, codeHighlightBands as mk, codeHighlightColors as ml, codeHighlightLines as mm, codeLineNumbers as mn, codeLineRuns as mo, codeSyntaxPalette as mp, codeSyntaxPaletteForRoles as mq, codeSyntaxPaletteForScheme as mr, collectCitations as ms, composeLayoutAreas as mt, composeShape as mu, composeSlide as mv, compositeLayoutDefinition as mw, connectorAdjustPreset as mx, connectorRoute as my, coverKept as mz, listNumberLabel as n$, formatFurnitureDate as n0, formatListNumber as n1, frameToSlide as n2, grayOfLuminance as n3, gridFlowShape as n4, groupBinding as n5, groupNumber as n6, groupingNode as n7, groupsAxisTicks as n8, groupsDataRange as n9, itemAlignment as nA, itemizeScripts as nB, kindAccepted as nC, layoutArrangement as nD, layoutCaption as nE, layoutCode as nF, layoutContent as nG, layoutDiagram as nH, layoutEntries as nI, layoutFootnotes as nJ, layoutFurniture as nK, layoutMetric as nL, layoutQuote as nM, layoutRegion as nN, layoutStructure as nO, layoutTable as nP, layoutTemplate as nQ, layoutTemplateIssues as nR, layoutTimeline as nS, layoutWatermark as nT, lineMayStartAt as nU, linePitch as nV, linearDesign as nW, linearMargins as nX, linearNodes as nY, listColumnBreaks as nZ, listGridShape as n_, groupsThousands as na, hasOverlayShapes as nb, histogramBins as nc, histogramEdgeDecimals as nd, histogramEdgeFormat as ne, histogramEdgeText as nf, horizontalBarPlot as ng, hslStopColor as nh, imageBackground as ni, imageShape as nj, intrinsicImageAspect as nk, intrinsicImageSize as nl, isArrangement as nm, isGridCell as nn, isLabelText as no, isLayoutTemplate as np, isLinearArrangement as nq, isOverlayConnector as nr, isPresetShape as ns, isRegionArrangement as nt, isSequenceArrangement as nu, isShapeBlock as nv, isTimeFieldTitle as nw, isTimeLabel as nx, isWrappedInQuoteMarks as ny, isolateNumbers as nz, placeEndLabels as o$, listNumbers as o0, localizeNumberParts as o1, localizeNumberText as o2, localizePatternNumber as o3, lonePayload as o4, loneQuote as o5, luminanceGrid as o6, majorityKind as o7, markQuote as o8, matrixNodes as o9, nativeTreeGeometry as oA, niceScale as oB, nodeWidthAt as oC, numberRanges as oD, numberingAtLevel as oE, numberingStyleDraws as oF, numeralShapePrefix as oG, numericText as oH, oneMessageField as oI, opfLayoutGeometry as oJ, opfSmartArtUnavailable as oK, opfTreeGeometry as oL, overlayIssues as oM, overlaysDrawBody as oN, paintDiagram as oO, paintDiagramGroup as oP, pairEntry as oQ, paragraphDirection as oR, paragraphDirectionAt as oS, paretoPlan as oT, patternBitmap as oU, patternRuns as oV, physicalAlignment as oW, pictureOverlay as oX, pictureScrims as oY, placeBandLabels as oZ, placeBandLabelsBeside as o_, matrixQuadrants as oa, matrixSquare as ob, maxIntervalsFor as oc, measureMonospaceText as od, measureText as oe, measureTextOutline as of, messageCeiling as og, messageCharacters as oh, messageWords as oi, metricGaugeAngle as oj, metricGaugeDiagnostics as ok, metricGaugeDrawing as ol, metricGaugeGeometry as om, metricGaugeInput as on, metricGaugeNumber as oo, metricGaugePoint as op, metricGaugeShare as oq, metricGaugeSpec as or, metricGaugeTrackFill as os, metricGaugeValueFill as ot, metricPillFill as ou, metricTrendColor as ov, metricTrendMark as ow, metricTrendPoints as ox, metricValueColor as oy, monthOf as oz, snapFontSizeDown as p$, placeReferences as p0, placeStackNames as p1, placeTextLines as p2, placedImageBlocks as p3, plantumlToMermaid as p4, presetAspect as p5, presetMask as p6, presetTextRect as p7, pyramidFrame as p8, pyramidNodes as p9, restackForRows as pA, rightArrowPoints as pB, rootNodes as pC, rowLabel as pD, runInHeading as pE, sampledGrays as pF, sampledWeight as pG, scorePictureText as pH, scottBinCount as pI, scrimGeometry as pJ, scrimOpacity as pK, scriptFontRole as pL, scriptOfCharacter as pM, shapeIssues as pN, shapeSites as pO, shapeStyleLook as pP, shapeTextColor as pQ, shareHeights as pR, shareSiblingChartAxes as pS, shareSiblingPlots as pT, sliceNumberedItems as pU, slideBlockIds as pV, slideCitations as pW, slideFocusSources as pX, smallChart as pY, smartArtScript as pZ, smartArtUnavailable as p_, pyramidSteps as pa, questionText as pb, quoteLanguage as pc, quoteMarksFor as pd, rectSites as pe, referencesSlide as pf, refreshChartMarks as pg, refreshEndLabels as ph, regionAccepts as pi, regionDiagram as pj, regionListColumns as pk, regionRoleRank as pl, regionSequence as pm, repeatedPairs as pn, resolveCanvasDimensions as po, resolveChartOptions as pp, resolveCodeLanguage as pq, resolveDesignHints as pr, resolveFontFamilies as ps, resolveLogo as pt, resolveNumbering as pu, resolvePatternPreset as pv, resolveScriptFonts as pw, resolveSlideDirection as px, resolveSocialProfile as py, resolveTextStyle as pz, snapFontSizeUp as q0, stackCategoryValues as q1, stackedText as q2, statementMessage as q3, stopDeclarationList as q4, stopElementAttributes as q5, stopOpacityValue as q6, stopStylesheet as q7, stubLine as q8, styledText as q9, wrapText as qA, svgHslStopsToSrgb as qa, tableGrid as qb, tableHighlightRows as qc, tableRowBoundaries as qd, tableSlideFocus as qe, textInkBox as qf, textLength as qg, textWidthMeasurer as qh, timelineMarkerShapes as qi, timelineStatusWordsFor as qj, timelineTextColor as qk, titleBesideTemplate as ql, tokenizeCode as qm, trackingWidth as qn, translatePathData as qo, turnedShapeBox as qp, unbindNoBreak as qq, unwrapQuoteMarks as qr, vennNodes as qs, verticalFlowNodes as qt, visualReadingOrder as qu, walkCitationRuns as qv, waterfallLabelText as qw, waterfallRoles as qx, waterfallSignedFormat as qy, waterfallSteps as qz, SOCIAL_PLATFORMS as r };
|
|
8334
|
+
export type { TableRowEntry as A, ComposeSlideOptions as C, DateNames as D, Fonts as F, LayoutDiagnostic as L, MessageSurface as M, NumberLocale as N, ResolveLogoOptions as R, TextMeasurement as T, LayoutBox as a, BackgroundImageFit as aK, BindRegionsOptions as aL, BoundBlock as aM, AnnotatedRun as aq, AnnotationFitter as ar, AnnotationLayoutOptions as as, Arrangement as at, ArrangementArrow as au, ArrangementColor as av, ArrangementNode as aw, ArrangementPaint as ax, ArrangementTreeNode as ay, ArrangementTreeResult as az, TextStyle as b, ChartLayerEndLabels as b$, Caption as bG, CaptionAlignment as bH, CaptionObject as bI, CaptionPosition as bJ, CaptionSettings as bK, CellBlock as bL, ChartAxisGeometry as bM, ChartBandColors as bN, ChartBandDiagnostic as bO, ChartBandLabel as bP, ChartBandRange as bQ, ChartBandSpec as bR, ChartBarGeometry as bS, ChartEndLabel as bT, ChartHeaderLegendEntry as bU, ChartHighlightMarks as bV, ChartLabelContent as bW, ChartLabelPosition as bX, ChartLayer as bY, ChartLayerBandLabels as bZ, ChartLayerDoughnut as b_, FontFamilies as c, ComposedFootnoteEntry as c$, ChartLayerFocus as c0, ChartLayerGeometry as c1, ChartLayerHeader as c2, ChartLayerHistogram as c3, ChartLayerRadar as c4, ChartLayerReferences as c5, ChartLayerRing as c6, ChartLayerRows as c7, ChartLayerSlices as c8, ChartLayerSmall as c9, CodeHighlightEntry as cA, CodeHighlightIssue as cB, CodeHighlightLines as cC, CodeLayout as cD, CodeLayoutDiagnostic as cE, CodeLayoutOptions as cF, CodeLineSegment as cG, CodeLineSource as cH, CodeRun as cI, CodeSyntaxPalette as cJ, CodeSyntaxPaletteOptions as cK, CodeSyntaxPaletteTheme as cL, CodeTextFit as cM, CodeTextPart as cN, CodeToken as cO, CodeTokenKind as cP, ComposedArrangement as cQ, ComposedArrowhead as cR, ComposedBackgroundImage as cS, ComposedCaption as cT, ComposedChart as cU, ComposedConnector as cV, ComposedDiagram as cW, ComposedDiagramItem as cX, ComposedEmphasis as cY, ComposedFill as cZ, ComposedFlow as c_, ChartLayerStack as ca, ChartLayerValueList as cb, ChartLayerWaterfall as cc, ChartLegendPosition as cd, ChartNumericAxes as ce, ChartOptionDiagnostic as cf, ChartOptionKind as cg, ChartOptionSupport as ch, ChartOptionTarget as ci, ChartPlotGeometry as cj, ChartPlotInset as ck, ChartReference as cl, ChartReferenceDiagnostic as cm, ChartReferenceLine as cn, ChartScale as co, ChartSliceLabel as cp, ChartStackEnd as cq, ChartStackName as cr, ChartValueAxis as cs, ChartValueListHole as ct, ChartValueListRow as cu, CitationMarker as cv, CitationNote as cw, CodeContent as cx, CodeHighlightBand as cy, CodeHighlightColors as cz, DesignTitlePosition as d$, ComposedFootnotes as d0, ComposedGradient as d1, ComposedGroup as d2, ComposedHeadingArea as d3, ComposedIcon as d4, ComposedImage as d5, ComposedImageCallout as d6, ComposedItem as d7, ComposedLayoutArea as d8, ComposedListColumn as d9, DeckCitations as dW, DesignAlignment as dX, DesignHintKey as dY, DesignHintSource as dZ, DesignHints as d_, ComposedLogo as da, ComposedOverlay as db, ComposedOverlayEntry as dc, ComposedOverlayShape as dd, ComposedPlacement as de, ComposedRegion as df, ComposedScrim as dg, ComposedShape as dh, ComposedShapePath as di, ComposedStepBadge as dj, ComposedSteps as dk, ComposedStroke as dl, Composition as dm, CompositionCandidate as dn, CompositionDecision as dp, CompositionExplanation as dq, CompositionPenalties as dr, CompositionTrack as ds, ConnectionSite as dt, ConnectorEnd as du, ConnectorFrame as dv, ConnectorPreset as dw, ConnectorRoute as dx, ConnectorRouteGeometry as dy, ChartDrawPlan as e, DiagramIssue as e0, DiagramLayoutOptions as e1, DiagramMeasure as e2, DiagramPalette as e3, DiagramPaletteInput as e4, DiagramPayload as e5, DiagramSyntax as e6, DotIssue as e7, DotTranslation as e8, FeaturedCells as eD, FeaturedKind as eE, FlowShape as eF, FocusSource as eG, FontFaceSelection as eH, FootnoteLayoutOptions as eI, FurnitureField as eJ, FurnitureImagePart as eK, FurnitureLayout as eL, FurniturePart as eM, FurniturePartBase as eN, FurnitureSocialLink as eO, FurnitureTextExtras as eP, FurnitureTextPart as eQ, GridCell as eS, GroupedBinding as eT, GroupingNode as eU, HistogramBin as eZ, ChartFallback as f, LinearGeometry as f$, LayoutAlgorithm as fF, LayoutArea as fG, LayoutAreasOptions as fH, LayoutBodyKind as fI, LayoutBranch as fJ, LayoutChild as fK, LayoutChoose as fL, LayoutConstraint as fM, LayoutContent as fN, LayoutDefinition as fO, LayoutEntry as fP, LayoutForEach as fQ, LayoutNodeDefinition as fR, LayoutPresOf as fS, LayoutRegion as fT, LayoutShape as fU, LayoutShapeType as fV, LayoutStyle as fW, LayoutTable as fX, LayoutTemplate as fY, LayoutTemplateIssue as fZ, LinearArrangement as f_, ImageEdge as fa, ImageFit as fb, ImageFitOption as fc, ImageFitPlacement as fd, ImageFocus as fe, ImageShape as ff, JoinedArrangement as fh, MetricGaugeInput as g$, ListBulletImage as g0, ListEntryLayout as g1, ListFit as g2, ListFitOptions as g3, ListNumber as g4, ListRule as g5, ListText as g6, ListValue as g7, LiveArrangement as g8, MetricContent as gV, MetricGaugeArc as gW, MetricGaugeBand as gX, MetricGaugeColors as gY, MetricGaugeDrawing as gZ, MetricGaugeEnd as g_, MetricGaugeLayout as h0, MetricLayout as h1, MetricLayoutDiagnostic as h2, MetricLayoutOptions as h3, MetricSentiment as h4, MetricTextPart as h5, MetricTextSource as h6, MetricTrend as h7, MetricTrendColorOptions as h8, MetricTrendMark as h9, OpfLayoutDesign as hL, OpfLayoutRecipe as hM, OpfSmartArtCandidate as hN, OverlayEdge as hO, OverlayIssue as hP, OverlayLayer as hQ, NativeTreeConnector as hl, NativeTreeGeometry as hm, NativeTreeGeometryResult as hn, NativeTreeKind as ho, NativeTreeNode as hp, Numbering as hq, NumberingInput as hr, NumberingStyleName as hs, NumberingSuffix as ht, QuoteMark as i$, PictureTextAnchor as iA, PictureTextCandidate as iB, PictureTextInput as iC, PictureTextPlacement as iD, PictureWeights as iE, PlantumlDiagram as iF, PlantumlIssue as iG, PlantumlTranslation as iH, PortraitMode as iI, QuoteBodyOptions as iW, QuoteContent as iX, QuoteLayout as iY, QuoteLayoutDiagnostic as iZ, QuoteLayoutOptions as i_, PhysicalAlignment as iw, PictureLuminance as ix, PictureText as iy, PictureTextAlignment as iz, QuoteMarks as j0, QuotePhoto as j1, QuoteTextPart as j2, QuoteTextSource as j3, RichTextFragment as jA, RichTextLine as jB, RichTextOptions as jC, RichTextRun as jD, RowDemand as jE, ReadingBox as jf, Reference as jg, ReferencesSlideOptions as jh, RegionAnchor as ji, RegionArrangement as jj, RegionBinding as jk, RegionBindingDiagnostic as jl, RegionBindingResult as jm, RegionFlow as jn, RegionKind as jo, RegionRole as jp, ResolveDesignHintsOptions as jq, ResolveScriptFontsOptions as jr, ResolvedChartDataLabels as js, ResolvedChartHighlight as jt, ResolvedChartOptions as ju, ResolvedDesignHints as jv, ResolvedNumbering as jw, ResolvedScriptFonts as jx, RichText as jy, RichTextFit as jz, TextPlacementLine as k$, ScrimEdge as k8, ScriptFontApp as k9, TableBorder as kM, TableCellLayout as kN, TableCellStyle as kO, TableGrid as kP, TableGridCell as kQ, TableGridIssue as kR, TableLayout as kS, TableLayoutOptions as kT, TableRowLayout as kU, TextDirection as kV, TextFit as kW, TextLineInk as kX, TextLineSegment as kY, TextLineSource as kZ, TextPlacement as k_, ScriptFontSlots as ka, ScriptFontSource as kb, ScriptFontSupplement as kc, ScriptItemizationProfile as kd, ScriptMeasurementProfile as ke, ScriptRole as kf, ScriptTextRun as kg, SequenceArrangement as kh, ShapeEnd as ki, ShapeStyleLook as kj, ShapeStyleName as kk, SiblingPlotChart as kl, SlideCitations as km, SlideComposition as kn, SmartArtCandidate as ko, SocialProfile as kp, SourceTextFit as kq, StopColorReader as kr, TimelineContent as l0, TimelineEvent as l1, TimelineLayout as l2, TimelineLayoutDiagnostic as l3, TimelineLayoutOptions as l4, TimelineMarkerShape as l5, TimelineStatus as l6, TimelineStatusColors as l7, TimelineTextPart as l8, VennBox as l9, VennNode as la, WaterfallRole as lb, WaterfallStep as lc, WatermarkTextLayout as ld, WatermarkTextOptions as le, LanguageVocabulary as m, LogoShape as n, LogoVariant as o, MeasureTextWidth as p, ResolvedLogo as q, SchemeColorName as s, ScriptGroupName as t, SocialPlatformVocabulary as u, TableColorScaleCell as v, TableColorScaleColors as w, TableColorScaleRange as x, TableColorScaleResult as y, TableColorScaleSpec as z };
|