@openpresentation/opf 0.34.1 → 0.35.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -6
- package/dist/browser.js +19 -19
- package/dist/{catalog-refs-CoIrOdAw.d.ts → catalog-refs-BgotJhR5.d.ts} +117 -98
- package/dist/{catalog-schemas-FjLRPtjB.d.ts → catalog-schemas-BX-VEc5Q.d.ts} +1 -1
- package/dist/{chunk-MUILZGRY.js → chunk-2GCTKQDD.js} +4 -4
- package/dist/{chunk-LCT5ZV3Q.js → chunk-3KPTVK77.js} +92 -284
- package/dist/{chunk-SR6T4LKI.js → chunk-3ZTKRX7F.js} +4 -6
- package/dist/{chunk-MAFJ5O2D.js → chunk-4UMZDDJG.js} +11 -29
- package/dist/{chunk-NLJFNCZ4.js → chunk-6JHV2K67.js} +6 -6
- package/dist/{chunk-FK5XG742.js → chunk-6VGLE7C5.js} +114 -2
- package/dist/{chunk-AAWHOCXS.js → chunk-7KUUIL7W.js} +8 -8
- package/dist/{chunk-FCSYIBVR.js → chunk-ARPMSD7V.js} +1 -1
- package/dist/{chunk-244OPLAV.js → chunk-GGN3NQDK.js} +1 -1
- package/dist/{chunk-L3MCLD3X.js → chunk-GKUAVSXU.js} +3 -10
- package/dist/{chunk-6PMXVP5G.js → chunk-HORPH6O7.js} +202 -21
- package/dist/{chunk-XLSWZSQS.js → chunk-JQNT37IO.js} +4 -13
- package/dist/{chunk-AEHDXNZX.js → chunk-KNMMEE67.js} +1433 -916
- package/dist/{chunk-CJVKOJ6B.js → chunk-LDLLZQPP.js} +1094 -472
- package/dist/{chunk-HHVQ2SDT.js → chunk-MS2LPR7F.js} +1 -5
- package/dist/{chunk-AGYPRTEC.js → chunk-MVPQEMCP.js} +97 -15
- package/dist/{chunk-2B6GLT2O.js → chunk-NPRNWPP4.js} +1 -1
- package/dist/{chunk-X72WPTST.js → chunk-P2ACZJUL.js} +6 -6
- package/dist/chunk-SEC4IOOS.js +1 -0
- package/dist/{chunk-CQXBGZQP.js → chunk-VMPOCXTE.js} +5 -17
- package/dist/{chunk-ABA2D6X5.js → chunk-ZZWX4W2G.js} +2 -2
- package/dist/{composition-CvtvgBDE.d.ts → composition-BmJfljJl.d.ts} +345 -242
- package/dist/composition.d.ts +2 -2
- package/dist/composition.js +1 -1
- package/dist/{conversion-CyNRlWGw.d.ts → conversion-BbXhlurO.d.ts} +10 -8
- package/dist/conversion-VWCH3NKR.js +25 -0
- package/dist/convert.d.ts +11 -11
- package/dist/convert.js +61 -86
- package/dist/data.d.ts +1 -1
- package/dist/data.js +2 -2
- package/dist/{deck-report-BVlQZ42f.d.ts → deck-report-BYkbL7uT.d.ts} +3 -3
- package/dist/deck.d.ts +6 -6
- package/dist/deck.js +11 -11
- package/dist/diagram-engine-eager.js +1 -1
- package/dist/diagram-engine-lazy.js +1 -1
- package/dist/{diagram-plantuml-XRZ6VAOL.js → diagram-plantuml-GWXGKY7R.js} +1 -1
- package/dist/diff.d.ts +2 -2
- package/dist/diff.js +4 -4
- package/dist/docs.js +40 -40
- package/dist/example-files/technical/assets/alice.png +0 -0
- package/dist/example-files/technical/assets/context-photo.png +0 -0
- package/dist/example-files/technical/assets/cover-image.png +0 -0
- package/dist/example-files/technical/assets/cover.png +0 -0
- package/dist/example-files/technical/assets/diagram.svg +1 -0
- package/dist/example-files/technical/assets/icon.svg +1 -0
- package/dist/example-files/technical/assets/logo-dark.svg +1 -0
- package/dist/example-files/technical/assets/logo-light.svg +1 -0
- package/dist/example-files/technical/assets/logo.svg +1 -0
- package/dist/example-files/technical/assets/primary-logo.svg +1 -0
- package/dist/example-files/technical/assets/product-shot.png +0 -0
- package/dist/example-files/technical/assets/watermark.png +0 -0
- package/dist/example-files/technical/assets/wordmark.svg +1 -0
- package/dist/examples.js +6383 -8169
- package/dist/{finding-l9dlQ2NF.d.ts → finding-mcHslZLA.d.ts} +6 -2
- package/dist/font-policy.d.ts +16 -2
- package/dist/font-policy.js +1 -1
- package/dist/format.js +2 -2
- package/dist/ids.d.ts +2 -2
- package/dist/ids.js +4 -4
- package/dist/index.d.ts +125 -27
- package/dist/index.js +24 -23
- package/dist/markdown.d.ts +1 -1
- package/dist/markdown.js +8 -8
- package/dist/node-engine.d.ts +22 -8
- package/dist/node-engine.js +38 -22
- package/dist/{pagination-CZQQYk7L.d.ts → pagination-C0FPjO29.d.ts} +4 -4
- package/dist/pagination.d.ts +3 -3
- package/dist/pagination.js +4 -4
- package/dist/patch.d.ts +4 -4
- package/dist/patch.js +3 -3
- package/dist/precompiled.js +2 -2
- package/dist/{presentation-s9262acV.d.ts → presentation-Dx-kZC8Y.d.ts} +33 -81
- package/dist/repo-readme.js +1 -1
- package/dist/schema-engine-ajv.js +1 -1
- package/dist/schema-engine-precompiled.js +2 -2
- package/dist/schema.d.ts +5 -7
- package/dist/schema.js +3 -3
- package/dist/schemas.js +1 -1
- package/dist/source.d.ts +5 -0
- package/dist/source.js +10 -10
- package/dist/spec/reference/engine-defaults.json +1 -1
- package/dist/spec/reference/engine-vocabularies.json +43 -43
- package/dist/spec/reference/font-policy.json +114 -2
- package/dist/spec/reference/font-policy.schema.json +45 -1
- package/dist/spec/schemas/color-scheme.schema.json +2 -2
- package/dist/spec/schemas/finding.schema.json +2 -1
- package/dist/spec/schemas/icon-set.schema.json +5 -0
- package/dist/spec/schemas/layout.schema.json +27 -85
- package/dist/spec/schemas/opf.schema.json +35 -176
- package/dist/spec/schemas/theme.schema.json +10 -10
- package/dist/symbol-font-encodings.d.ts +2 -2
- package/dist/symbol-font-encodings.js +12695 -12736
- package/dist/types.d.ts +74 -86
- package/dist/{validation-types-CYbsUuZ9.d.ts → validation-types-DKIe1RQW.d.ts} +5 -5
- package/dist/validator.d.ts +5 -7
- package/dist/validator.js +3 -3
- package/dist/yaml.d.ts +1 -1
- package/dist/yaml.js +7 -7
- package/package.json +7 -7
- package/dist/chunk-UJZN2ZH6.js +0 -1
- package/dist/conversion-CSQ5EHD2.js +0 -25
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { R as ResolvedChartData, D as DataCellValue, e as DataDiagnostic } from './chart-data-B_k-WTex.js';
|
|
2
|
-
import { d as CatalogOptions, D as ChartColorContext, b as ColorVariant, E as IconPart, F as IconPaint } from './catalog-refs-
|
|
2
|
+
import { d as CatalogOptions, D as ChartColorContext, b as ColorVariant, E as IconPart, F as IconPaint } from './catalog-refs-BgotJhR5.js';
|
|
3
3
|
import { ShapePathFill, CustomPathInput } from './shape-geometry.js';
|
|
4
4
|
|
|
5
5
|
interface Box$b {
|
|
@@ -36,11 +36,13 @@ type NativeTreeGeometryResult = NativeTreeGeometry | {
|
|
|
36
36
|
declare function nativeTreeGeometry(kind: NativeTreeKind, frame: Box$b, entries: readonly unknown[]): NativeTreeGeometryResult;
|
|
37
37
|
|
|
38
38
|
/** SH-21: list-entry levels are a single-root tree's zero-based parent depth. Preserve source order and never infer a missing parent. */
|
|
39
|
+
/** `assistant`: the entry is its parent's assistant (`assistant: true`), which only an org chart places, beside the line to the reports. */
|
|
39
40
|
interface ArrangementTreeNode {
|
|
40
41
|
index: number;
|
|
41
42
|
level: number;
|
|
42
43
|
parent?: number;
|
|
43
44
|
children: number[];
|
|
45
|
+
assistant?: true;
|
|
44
46
|
}
|
|
45
47
|
type ArrangementTreeResult = {
|
|
46
48
|
ok: true;
|
|
@@ -380,6 +382,139 @@ declare function alignBarRows(data: Extract<ResolvedChartData, {
|
|
|
380
382
|
measure: (text: string, size: number) => number;
|
|
381
383
|
}): ChartLayerRows | undefined;
|
|
382
384
|
|
|
385
|
+
/** The chart constructs the engines draw. Every catalog chart type id resolves to one (see `chartOptionTarget`). */
|
|
386
|
+
/** `combo` (FA-15) draws clustered columns and line series in one plot, the lines optionally on a secondary value axis. */
|
|
387
|
+
type ChartOptionKind = 'bar' | 'line' | 'area' | 'pie' | 'doughnut' | 'scatter' | 'radar' | 'treemap' | 'histogram' | 'pareto' | 'box' | 'waterfall' | 'funnel' | 'map' | 'combo';
|
|
388
|
+
interface ChartOptionTarget {
|
|
389
|
+
kind: ChartOptionKind;
|
|
390
|
+
/** Stacked and 100% stacked columns, bars, lines and areas: their data labels have no outside-end position. */
|
|
391
|
+
stacked?: boolean;
|
|
392
|
+
}
|
|
393
|
+
type ChartLegendPosition = 'none' | 'top' | 'bottom' | 'left' | 'right';
|
|
394
|
+
type ChartLabelContent = 'category' | 'value' | 'percent';
|
|
395
|
+
type ChartLabelPosition = 'center' | 'inside-end' | 'inside-base' | 'outside-end' | 'above' | 'below' | 'left' | 'right';
|
|
396
|
+
interface ChartOptionDiagnostic {
|
|
397
|
+
code: 'chart-option-adapted';
|
|
398
|
+
/** The option that was adapted: `axisTitles.category`, `axisTitles.value`, `axisTitles.secondary`, `legend`, `dataLabels`, `dataLabels.content`, `dataLabels.position`, `dataLabels.separator`, `line`, `secondaryAxis`, `highlight.series` or `highlight.categories`. */
|
|
399
|
+
option: string;
|
|
400
|
+
reason: 'unsupported-type' | 'unsupported-content' | 'unsupported-position';
|
|
401
|
+
message: string;
|
|
402
|
+
}
|
|
403
|
+
interface ResolvedChartDataLabels {
|
|
404
|
+
/** Canonical order: category, value, percent. Never empty. */
|
|
405
|
+
content: ChartLabelContent[];
|
|
406
|
+
/** The concrete position, or null for a construct whose labels have no position choice (area, doughnut, radar, treemap). On a combo chart, the column series' position. */
|
|
407
|
+
position: ChartLabelPosition | null;
|
|
408
|
+
/** Combo charts only: the concrete position of the line series' labels (`position` is the column series' one). */
|
|
409
|
+
linePosition?: ChartLabelPosition;
|
|
410
|
+
separator: string;
|
|
411
|
+
}
|
|
412
|
+
/** FA-14: the series and category names `chart.highlight` keeps for a chart type (what the type cannot highlight is dropped, with a diagnostic). */
|
|
413
|
+
interface ResolvedChartHighlight {
|
|
414
|
+
/** Series (column) names whose marks take the accent color. */
|
|
415
|
+
series: string[];
|
|
416
|
+
/** Category (row label) names whose marks take the accent color. */
|
|
417
|
+
categories: string[];
|
|
418
|
+
}
|
|
419
|
+
interface ResolvedChartOptions {
|
|
420
|
+
/** True when the chart carries at least one option (after adaptation); false means every engine keeps today's output. */
|
|
421
|
+
active: boolean;
|
|
422
|
+
/** `secondary` titles the secondary value axis of a combo chart. */
|
|
423
|
+
axisTitles: {
|
|
424
|
+
category?: string;
|
|
425
|
+
value?: string;
|
|
426
|
+
secondary?: string;
|
|
427
|
+
};
|
|
428
|
+
/** Undefined = no legend option: each engine keeps its default (a right legend on multi-series, pie and doughnut charts). */
|
|
429
|
+
legend?: ChartLegendPosition;
|
|
430
|
+
dataLabels?: ResolvedChartDataLabels;
|
|
431
|
+
/** True when `dataLabels: false` switches off the labels a construct draws by default (funnel values, treemap category names). */
|
|
432
|
+
dataLabelsOff?: boolean;
|
|
433
|
+
/**
|
|
434
|
+
* FA-14: the names `chart.highlight` keeps; undefined when the chart has no highlight or its type can highlight nothing it names.
|
|
435
|
+
* It does not make `active` true: a highlight changes the colors of marks, never the geometry or the reserved space.
|
|
436
|
+
*/
|
|
437
|
+
highlight?: ResolvedChartHighlight;
|
|
438
|
+
diagnostics: ChartOptionDiagnostic[];
|
|
439
|
+
}
|
|
440
|
+
interface ChartOptionSupport {
|
|
441
|
+
/** `secondary`: the construct can have a secondary value axis (a combo chart whose `secondaryAxis` names a line series). */
|
|
442
|
+
axisTitles: {
|
|
443
|
+
category: boolean;
|
|
444
|
+
value: boolean;
|
|
445
|
+
secondary: boolean;
|
|
446
|
+
};
|
|
447
|
+
legend: boolean;
|
|
448
|
+
/** FA-14: what `chart.highlight` can name: series (a whole series' marks) and categories (one category's marks, or a pie slice). */
|
|
449
|
+
highlight: {
|
|
450
|
+
series: boolean;
|
|
451
|
+
categories: boolean;
|
|
452
|
+
};
|
|
453
|
+
dataLabels: {
|
|
454
|
+
supported: boolean;
|
|
455
|
+
content: readonly ChartLabelContent[];
|
|
456
|
+
/** Empty when labels have no position choice. A combo chart lists the column positions, then the line-only ones. */
|
|
457
|
+
positions: readonly ChartLabelPosition[];
|
|
458
|
+
/** The position `auto` resolves to; null with no positions. */
|
|
459
|
+
defaultPosition: ChartLabelPosition | null;
|
|
460
|
+
/** True for the constructs that label their marks by default (funnel, treemap): `dataLabels: false` removes those labels. */
|
|
461
|
+
defaultOn: boolean;
|
|
462
|
+
};
|
|
463
|
+
}
|
|
464
|
+
/** What a chart construct can show. The table the docs, the validator, the preview and the exporter all follow. */
|
|
465
|
+
declare function chartOptionSupport(target: ChartOptionTarget): ChartOptionSupport;
|
|
466
|
+
/** The option target for a catalog chart type id; undefined for an id outside the catalog. */
|
|
467
|
+
declare function chartOptionTarget(typeId: unknown): ChartOptionTarget | undefined;
|
|
468
|
+
declare const DEFAULT_CHART_LABEL_SEPARATOR = ", ";
|
|
469
|
+
/**
|
|
470
|
+
* Normalize a chart's `axisTitles`, `legend` and `dataLabels` against what its type can show. `target` is undefined for a chart type
|
|
471
|
+
* outside the catalog: nothing is adapted then (the engines fall back to their legacy output for such charts anyway).
|
|
472
|
+
*/
|
|
473
|
+
declare function resolveChartOptions(chart: unknown, target?: ChartOptionTarget): ResolvedChartOptions;
|
|
474
|
+
/**
|
|
475
|
+
* A General-format number as a label: at most twelve significant digits, no exponent unless the value needs one. LH-141: with `group` (the
|
|
476
|
+
* series' labels group their thousands, see `groupsThousands`) a whole number of four digits or more groups them by `language`.
|
|
477
|
+
*/
|
|
478
|
+
declare function formatChartLabelNumber(value: number, group?: {
|
|
479
|
+
language?: string;
|
|
480
|
+
}, language?: string | undefined): string;
|
|
481
|
+
/** A share as PowerPoint's `0%` label, in the language's digits and percent sign (LH-106). */
|
|
482
|
+
declare function formatChartLabelPercent(share: number, language?: string): string;
|
|
483
|
+
/** The label text: the selected parts in the fixed order category, value, percent, joined by the separator. */
|
|
484
|
+
declare function chartLabelText(parts: {
|
|
485
|
+
category?: string;
|
|
486
|
+
value?: string;
|
|
487
|
+
percent?: string;
|
|
488
|
+
}, content: readonly ChartLabelContent[], separator?: string): string;
|
|
489
|
+
/** Which marks of a chart a highlight names, in the order of the resolved chart data. */
|
|
490
|
+
interface ChartHighlightMarks {
|
|
491
|
+
/** One flag per plotted series (the columns after the category and X columns): its marks are highlighted. */
|
|
492
|
+
series: boolean[];
|
|
493
|
+
/** One flag per data row: the marks of that category are highlighted. */
|
|
494
|
+
categories: boolean[];
|
|
495
|
+
}
|
|
496
|
+
/**
|
|
497
|
+
* FA-14: which series and categories of a chart are highlighted. `highlight` is `resolveChartOptions(...).highlight` and `data` the
|
|
498
|
+
* chart's `resolveChartData` result (its `columns`, `hasX` and `rows`). A mark is highlighted when its series OR its category is
|
|
499
|
+
* named: a column or bar of series s in row i takes the accent color when `series[s] || categories[i]`; every other mark takes the muted
|
|
500
|
+
* color (`chartHighlightColors`). Category names match the row labels as text (a number label `2024` matches `"2024"`, an empty label
|
|
501
|
+
* matches `""`), every row that carries the label. Returns undefined when there is no highlight or it names nothing the chart plots (a
|
|
502
|
+
* name that matches no column or label is the `chart-highlight-unknown-name` validation error), so the engines then draw the chart as if
|
|
503
|
+
* it had none.
|
|
504
|
+
*/
|
|
505
|
+
declare function chartHighlightMarks(highlight: ResolvedChartHighlight | undefined, data: {
|
|
506
|
+
columns: readonly string[];
|
|
507
|
+
hasX?: boolean;
|
|
508
|
+
rows: readonly (readonly unknown[])[];
|
|
509
|
+
}): ChartHighlightMarks | undefined;
|
|
510
|
+
/**
|
|
511
|
+
* LH-106 (vetoable): the language a chart's numbers are drawn in. A chartex chart (waterfall, histogram, pareto, box and whisker,
|
|
512
|
+
* funnel, treemap) keeps Latin digits with the locale's Latin separators (`ar-SA` draws them as `ar-SA-u-nu-latn`): PowerPoint
|
|
513
|
+
* 16.0.20527 draws chartex numbers with another decimal mark than its classic charts and puts a minus sign after Arabic-Indic digits,
|
|
514
|
+
* so only Latin digits agree. Every other chart draws the language's digits. `chart` is the chart payload (its `type`) or a type id.
|
|
515
|
+
*/
|
|
516
|
+
declare function chartNumberLanguage(chart: unknown, language?: string): string | undefined;
|
|
517
|
+
|
|
383
518
|
interface Box$9 {
|
|
384
519
|
x: number;
|
|
385
520
|
y: number;
|
|
@@ -523,7 +658,9 @@ interface ChartLayerWaterfall {
|
|
|
523
658
|
*/
|
|
524
659
|
declare function waterfallRoles(values: readonly (number | null)[]): (WaterfallRole | null)[];
|
|
525
660
|
/**
|
|
526
|
-
* LH-107: a waterfall bar's default label: a total as its value, a step signed (+9.3, −7.4 with U+2212), in the column's format.
|
|
661
|
+
* LH-107: a waterfall bar's default label: a total as its value, a step signed (+9.3, −7.4 with U+2212), in the column's format. A column
|
|
662
|
+
* format with `;` sections (`+0.0;(0.0)`) carries its own signs, so every bar, step or total, is that format's section for its value and
|
|
663
|
+
* no sign is added. LH-153: with
|
|
527
664
|
* `group` (the column has no format and groups its thousands, `columnGroups`) a whole number of four digits or more is grouped by the language.
|
|
528
665
|
*/
|
|
529
666
|
declare function waterfallLabelText(value: number, format: string | undefined, role: WaterfallRole | null, group?: {
|
|
@@ -612,6 +749,14 @@ interface ChartLayerDoughnut {
|
|
|
612
749
|
cy: number;
|
|
613
750
|
r: number;
|
|
614
751
|
};
|
|
752
|
+
/**
|
|
753
|
+
* The explicit data labels do not fit the ring (a doughnut has no outside position, so a label sits inside its slice): both engines draw
|
|
754
|
+
* `content` instead (the authored content without the category, or no labels when even that does not fit); `from` is the authored content.
|
|
755
|
+
*/
|
|
756
|
+
labels?: {
|
|
757
|
+
content: ChartLabelContent[] | null;
|
|
758
|
+
from: ChartLabelContent[];
|
|
759
|
+
};
|
|
615
760
|
}
|
|
616
761
|
/**
|
|
617
762
|
* LH-182: where a doughnut (the drawn type: a doughnut, or nested rings of a pie or doughnut of several series) is drawn, so its hole can
|
|
@@ -862,7 +1007,7 @@ interface ChartLayerSmall {
|
|
|
862
1007
|
labels: boolean;
|
|
863
1008
|
/** False when the value axis is dropped: no tick labels, no gridlines, no value axis line (the labels carry the values). */
|
|
864
1009
|
valueAxis: boolean;
|
|
865
|
-
/** Row index of the mark drawn in the stronger shade; every other mark keeps the series
|
|
1010
|
+
/** Row index of the mark drawn in the stronger shade; every other mark keeps the series color (`chartEmphasisColors`). One-series column and bar charts only. */
|
|
866
1011
|
emphasis?: number;
|
|
867
1012
|
}
|
|
868
1013
|
/** One legend entry of the header row: its series, its name and the box of its key and name (slide pixels). */
|
|
@@ -927,7 +1072,7 @@ interface ChartLayer {
|
|
|
927
1072
|
/** LH-105: a pie or one-series doughnut names its categories on its slices instead of drawing a legend (chart-direct-labels.ts). */
|
|
928
1073
|
slices?: ChartLayerSlices;
|
|
929
1074
|
/**
|
|
930
|
-
* LH-105: the series or categories the slide title names (chart-focus.ts): drawn in their full-strength
|
|
1075
|
+
* LH-105: the series or categories the slide title names (chart-focus.ts): drawn in their full-strength color, every other mark in the
|
|
931
1076
|
* context neutral. A focus replaces the small chart's last-point emphasis.
|
|
932
1077
|
*/
|
|
933
1078
|
focus?: ChartLayerFocus;
|
|
@@ -1009,7 +1154,7 @@ declare function chartHeaderCaption(chart: unknown, columns: readonly string[],
|
|
|
1009
1154
|
/**
|
|
1010
1155
|
* LH-03: the small-chart treatment of a chart, or undefined. A clustered column, bar or line chart (with or without markers) of one or
|
|
1011
1156
|
* two series, each of at most SMALL_CHART_MAX_POINTS (16) points, whose `dataLabels` is not `false`. With a geometry, the value labels must also fit beside
|
|
1012
|
-
* each other: a column or line label no wider than the room between
|
|
1157
|
+
* each other: a column or line label no wider than the room between neighboring marks, a bar label no taller than its bar's slot.
|
|
1013
1158
|
*/
|
|
1014
1159
|
declare function smallChart(chart: unknown, data: ResolvedChartData, geometry?: ChartLayerGeometry): ChartLayerSmall | undefined;
|
|
1015
1160
|
/**
|
|
@@ -1066,7 +1211,7 @@ declare function chartValueAxisHidden(layer: ChartLayer | undefined): boolean;
|
|
|
1066
1211
|
/** The chart layer of a chart item: its small-chart treatment and its header row, or undefined when it has neither. */
|
|
1067
1212
|
declare function chartLayer(chart: unknown, data: ResolvedChartData, geometry: ChartLayerGeometry): ChartLayer | undefined;
|
|
1068
1213
|
/**
|
|
1069
|
-
* LH-92: the ring names of a doughnut of two or more rings (LH-60's nested rings, the first series innermost, every ring
|
|
1214
|
+
* LH-92: the ring names of a doughnut of two or more rings (LH-60's nested rings, the first series innermost, every ring colored by
|
|
1070
1215
|
* category). The side legend names the categories only, so each ring's series name is written inside the ring, on its largest slice
|
|
1071
1216
|
* (the one with the most room; the first of equals), as that slice's label: the name alone, or before the slice's own label text with
|
|
1072
1217
|
* the labels' separator, as PowerPoint orders a label's parts (series name first). The label runs along the ring (`rotation`), so a
|
|
@@ -1083,12 +1228,16 @@ declare function chartLayerDataLabels<T extends {
|
|
|
1083
1228
|
}>(resolved: T, layer: ChartLayer | undefined, kind: 'bar' | 'line' | string): T;
|
|
1084
1229
|
|
|
1085
1230
|
/** The `design` keys that a layout record, the deck and a slide all share and that composition resolves per key. */
|
|
1086
|
-
declare const DESIGN_HINT_KEYS: readonly ["titleAlignment", "
|
|
1231
|
+
declare const DESIGN_HINT_KEYS: readonly ["titleAlignment", "titlePosition", "contentAlignment", "contentBox", "imageFit", "listBullet", "listStyle", "mirror"];
|
|
1087
1232
|
type DesignHintKey = typeof DESIGN_HINT_KEYS[number];
|
|
1088
1233
|
/** The design keys a theme record may carry (`theme.design`), so a house style such as boxed content is set once. */
|
|
1089
|
-
declare const THEME_DESIGN_KEYS: readonly ["titleAlignment", "
|
|
1234
|
+
declare const THEME_DESIGN_KEYS: readonly ["titleAlignment", "titlePosition", "contentAlignment", "contentBox", "imageFit", "listBullet", "listStyle"];
|
|
1090
1235
|
/** Where an effective design hint came from: the slide's own `design`, the deck's `design`, the resolved theme record, or the slide's layout record. */
|
|
1091
1236
|
type DesignHintSource = 'slide' | 'deck' | 'theme' | 'layout';
|
|
1237
|
+
/** Where a slide's heading group sits (design.titlePosition): above the body, or beside it on the reading side. */
|
|
1238
|
+
type DesignTitlePosition = 'top' | 'start';
|
|
1239
|
+
/** The values of design.titlePosition. */
|
|
1240
|
+
declare const TITLE_POSITIONS: readonly ["top", "start"];
|
|
1092
1241
|
/** A design alignment as a document writes it: logical, so `start` is the left edge of a left-to-right deck and the right edge of a right-to-left one. */
|
|
1093
1242
|
type DesignAlignment = 'start' | 'center' | 'end';
|
|
1094
1243
|
/**
|
|
@@ -1100,10 +1249,13 @@ declare const itemAlignment: (value: unknown) => "left" | "center" | "right" | u
|
|
|
1100
1249
|
/** The effective value of every shared design key, in the document's words. A key nobody sets is absent, so the engine default applies. */
|
|
1101
1250
|
interface DesignHints {
|
|
1102
1251
|
titleAlignment?: DesignAlignment;
|
|
1252
|
+
/**
|
|
1253
|
+
* OPF 0.35: where the heading group (tag, title, subtitle) sits: `top`, above the body (the engine default), or `start`, beside the
|
|
1254
|
+
* body in a column of two fifths of the content width on the reading side (titleBesideTemplate, TITLE_BESIDE_SHARE).
|
|
1255
|
+
*/
|
|
1256
|
+
titlePosition?: DesignTitlePosition;
|
|
1103
1257
|
contentAlignment?: DesignAlignment;
|
|
1104
1258
|
contentBox?: boolean;
|
|
1105
|
-
contentDirection?: 'horizontal' | 'vertical';
|
|
1106
|
-
chartPrimary?: 'none' | 'top' | 'bottom' | 'start' | 'end';
|
|
1107
1259
|
imageFit?: 'cover' | 'contain' | 'stretch' | 'auto';
|
|
1108
1260
|
listBullet?: 'character' | 'image' | 'none';
|
|
1109
1261
|
/** LH-08: how list entries are arranged: stacked (`stack`) or as ruled rows (`rows`). Absent: automatic (rows for a list of short labels with descriptions). */
|
|
@@ -1166,11 +1318,22 @@ declare function resolveDesignHints(options?: ResolveDesignHintsOptions): Resolv
|
|
|
1166
1318
|
*
|
|
1167
1319
|
* This module is pure geometry and paint: composeSlide places the text (SlideComposition.arrangements) and both engines draw from it.
|
|
1168
1320
|
*/
|
|
1169
|
-
/**
|
|
1170
|
-
|
|
1171
|
-
|
|
1172
|
-
declare const ARRANGEMENTS: readonly ["pyramid", "matrix", "cycle", "org-chart", "hierarchy", "venn", "chevrons", "
|
|
1321
|
+
/** SH-17's linear arrangements (linear-arrangements.ts has their geometry): PowerPoint's Basic Chevron Process, Basic Process and Vertical Process. */
|
|
1322
|
+
declare const LINEAR_ARRANGEMENTS: readonly ["chevrons", "process", "vertical-process"];
|
|
1323
|
+
/** The diagrams a region's `arrangement` draws its lone list as (an inverted pyramid is the pyramid's geometry upside down). */
|
|
1324
|
+
declare const ARRANGEMENTS: readonly ["pyramid", "inverted-pyramid", "matrix", "cycle", "org-chart", "hierarchy", "venn", "chevrons", "process", "vertical-process"];
|
|
1173
1325
|
type Arrangement = typeof ARRANGEMENTS[number];
|
|
1326
|
+
declare function isArrangement(value: unknown): value is Arrangement;
|
|
1327
|
+
/** LH-07: the `arrangement` values that draw the region's blocks or a lone list's entries as the steps of a sequence. */
|
|
1328
|
+
declare const SEQUENCE_ARRANGEMENTS: readonly ["steps", "numbered"];
|
|
1329
|
+
type SequenceArrangement = typeof SEQUENCE_ARRANGEMENTS[number];
|
|
1330
|
+
declare function isSequenceArrangement(value: unknown): value is SequenceArrangement;
|
|
1331
|
+
/** Every value of a layout region's `arrangement` (layout.schema.json), in the schema's order: a sequence or a diagram. */
|
|
1332
|
+
declare const REGION_ARRANGEMENTS: readonly ["steps", "numbered", "pyramid", "inverted-pyramid", "matrix", "cycle", "chevrons", "process", "vertical-process", "org-chart", "hierarchy", "venn"];
|
|
1333
|
+
type RegionArrangement = typeof REGION_ARRANGEMENTS[number];
|
|
1334
|
+
declare function isRegionArrangement(value: unknown): value is RegionArrangement;
|
|
1335
|
+
/** The arrangements OPF can write as live SmartArt (an inverted pyramid exports as native shapes). */
|
|
1336
|
+
type LiveArrangement = Exclude<Arrangement, 'inverted-pyramid'>;
|
|
1174
1337
|
/** The most entries each arrangement draws as its own shapes: a pyramid's levels, a matrix's quadrants (other counts draw cards). */
|
|
1175
1338
|
declare const ARRANGEMENT_MAX: Readonly<Record<Arrangement, number>>;
|
|
1176
1339
|
/** A matrix draws its quadrants for exactly this many entries; other counts draw a grid of cards (at most ARRANGEMENT_CARDS_MAX). */
|
|
@@ -1178,9 +1341,9 @@ declare const MATRIX_ENTRIES = 4;
|
|
|
1178
1341
|
declare const ARRANGEMENT_CARDS_MAX = 8;
|
|
1179
1342
|
/** A card's text inset, as a share of the font size. */
|
|
1180
1343
|
declare const CARD_TEXT_MARGIN = 0.6;
|
|
1181
|
-
/** PowerPoint's SmartArt layout each arrangement matches (the `loTypeId` of a live SmartArt export). */
|
|
1182
|
-
declare const SMART_ART_LAYOUTS: Readonly<Record<
|
|
1183
|
-
/** The name PowerPoint gives each layout, and what a finding calls one node of each arrangement. */
|
|
1344
|
+
/** PowerPoint's SmartArt layout each live arrangement matches (the `loTypeId` of a live SmartArt export). */
|
|
1345
|
+
declare const SMART_ART_LAYOUTS: Readonly<Record<LiveArrangement, string>>;
|
|
1346
|
+
/** The name PowerPoint gives each layout, and what a finding calls one node of each arrangement (an inverted pyramid is drawn on Basic Pyramid's geometry). */
|
|
1184
1347
|
declare const SMART_ART_NAMES: Readonly<Record<Arrangement, {
|
|
1185
1348
|
layout: string;
|
|
1186
1349
|
nodes: string;
|
|
@@ -1230,6 +1393,8 @@ interface ArrangementNode {
|
|
|
1230
1393
|
beside?: true;
|
|
1231
1394
|
/** SH-17: the shape is mirrored (a chevron pointing left, in a right-to-left deck). */
|
|
1232
1395
|
flip?: true;
|
|
1396
|
+
/** A Venn's overlap label (`overlap: true`): an opaque pill (a `roundRect` of full radius) in the slide's background color with the primary outline, over the circles. */
|
|
1397
|
+
overlap?: true;
|
|
1233
1398
|
/** The downward pyramid mirrors only its trapezoid, never its text. */
|
|
1234
1399
|
flipV?: true;
|
|
1235
1400
|
}
|
|
@@ -1410,7 +1575,6 @@ declare function smartArtScript(texts: readonly string[]): {
|
|
|
1410
1575
|
/** The facts of one composed arrangement the domain is checked on (ComposedArrangement.smartArt, the frame and the text). */
|
|
1411
1576
|
interface SmartArtCandidate {
|
|
1412
1577
|
kind: Arrangement;
|
|
1413
|
-
pyramidDirection?: 'up' | 'down';
|
|
1414
1578
|
count: number;
|
|
1415
1579
|
frame: Box$4;
|
|
1416
1580
|
/** Per entry: the lines it wraps to, and whether its breaks hold within SMART_ART_DOMAIN.slack of its width. */
|
|
@@ -1448,10 +1612,10 @@ declare function smartArtUnavailable(candidate: SmartArtCandidate): string | und
|
|
|
1448
1612
|
declare const REGION_KINDS: readonly ["text", "list", "image", "video", "chart", "table", "code", "metric", "quote", "timeline", "diagram", "shape", "group"];
|
|
1449
1613
|
type RegionKind = typeof REGION_KINDS[number];
|
|
1450
1614
|
/** Which content a region wants first (content binding, step 2). */
|
|
1451
|
-
declare const REGION_ROLES: readonly ["primary", "
|
|
1615
|
+
declare const REGION_ROLES: readonly ["primary", "media", "supporting"];
|
|
1452
1616
|
type RegionRole = typeof REGION_ROLES[number];
|
|
1453
|
-
/** How several blocks share a region. */
|
|
1454
|
-
declare const REGION_FLOWS: readonly ["
|
|
1617
|
+
/** How several blocks share a region, in the words of `composition.mode` (OPF 0.35: `none` is `max: 1`, singleBlockRegion). */
|
|
1618
|
+
declare const REGION_FLOWS: readonly ["auto", "grid", "row", "column"];
|
|
1455
1619
|
type RegionFlow = typeof REGION_FLOWS[number];
|
|
1456
1620
|
declare const REGION_ANCHORS: readonly ["top", "middle", "bottom"];
|
|
1457
1621
|
type RegionAnchor = typeof REGION_ANCHORS[number];
|
|
@@ -1470,35 +1634,28 @@ declare const MAX_REGION_ENTRIES = 12;
|
|
|
1470
1634
|
declare const MAX_REGION_DEPTH = 3;
|
|
1471
1635
|
/** A region holds at most this many blocks on one slide. */
|
|
1472
1636
|
declare const MAX_REGION_BLOCKS = 12;
|
|
1473
|
-
/** The layout id no catalog may define: `layout: "auto"` is automatic composition. */
|
|
1474
|
-
declare const AUTO_LAYOUT = "auto";
|
|
1475
1637
|
/** One region of a template with every default applied (an inherited `anchor` included). */
|
|
1476
1638
|
interface LayoutRegion {
|
|
1477
1639
|
name: string;
|
|
1478
1640
|
accepts: RegionKind[];
|
|
1479
1641
|
role: RegionRole;
|
|
1480
1642
|
flow: RegionFlow;
|
|
1481
|
-
/** Blocks the region holds on one slide (
|
|
1643
|
+
/** Blocks the region holds on one slide (6 unless set); 1 is a single-block region (singleBlockRegion). */
|
|
1482
1644
|
max: number;
|
|
1483
1645
|
bleed: boolean;
|
|
1484
|
-
listColumns: 'auto' | 1;
|
|
1485
1646
|
/** LH-68: `tile` when a metric in the region is laid out from its whole card; absent for the default `stack` (value, label and the rest as one block). */
|
|
1486
1647
|
metrics?: 'tile';
|
|
1487
1648
|
/**
|
|
1488
|
-
*
|
|
1489
|
-
* badges joined by a connector, and a lone list of
|
|
1490
|
-
*
|
|
1649
|
+
* What the region draws its content as (`regionSequence` and `regionDiagram` read the two families). LH-07, a sequence: `steps` (its
|
|
1650
|
+
* blocks, or a lone list's entries, are steps under numbered badges joined by a connector, and a lone list of 2 to 8 entries of one or two words
|
|
1651
|
+
* draws as Basic Process where it holds them at the steps' size, OPF 0.35) or `numbered` (an agenda: every list draws its entries beside badges, numbered or not; an unnumbered one is
|
|
1652
|
+
* counted as drawing only). A diagram of the region's lone list of one level, in PowerPoint's geometry or OPF's own (composition.ts):
|
|
1653
|
+
* SH-09 `pyramid` (stacked levels, the first entry at the apex), SH-24 `inverted-pyramid` (the widest level first, the entries still
|
|
1654
|
+
* top to bottom), SH-09 `matrix` (four quadrants; another count draws a grid of cards), SH-18 `cycle` (nodes on a ring with an arrow
|
|
1655
|
+
* to the next), SH-17 `chevrons` (a row of chevrons), `process` (a row of boxes with arrows between them) or `vertical-process` (a
|
|
1656
|
+
* column of them), SH-21 `org-chart` and `hierarchy` (a tree) and `venn` (overlapping sets). Absent: the region's content draws as any other.
|
|
1491
1657
|
*/
|
|
1492
|
-
|
|
1493
|
-
/**
|
|
1494
|
-
* SH-09: the region draws its lone list of one level as a diagram: `pyramid` (stacked levels, the first entry at the apex) or `matrix`
|
|
1495
|
-
* (four quadrants; another count draws a grid of cards), in PowerPoint's geometry or OPF's own (composition.ts). SH-18: `cycle` (the
|
|
1496
|
-
* entries as the steps of a loop, nodes on a ring with an arrow to the next). SH-17: `chevrons` (a row of chevrons), `flow` (a row of
|
|
1497
|
-
* boxes with arrows between them) or `vertical-flow` (a column of them). Absent: a list.
|
|
1498
|
-
*/
|
|
1499
|
-
arrangement?: Arrangement;
|
|
1500
|
-
/** Narrow tip at the top (up, default) or bottom (down); authored entry order stays top to bottom. */
|
|
1501
|
-
pyramidDirection?: 'up' | 'down';
|
|
1658
|
+
arrangement?: RegionArrangement;
|
|
1502
1659
|
anchor: RegionAnchor;
|
|
1503
1660
|
empty: 'collapse' | 'keep';
|
|
1504
1661
|
}
|
|
@@ -1559,10 +1716,20 @@ declare class OPFLayoutTemplateError extends RangeError {
|
|
|
1559
1716
|
readonly code = "layout-template";
|
|
1560
1717
|
constructor(issues: LayoutTemplateIssue[]);
|
|
1561
1718
|
}
|
|
1719
|
+
/**
|
|
1720
|
+
* OPF 0.35: whether a long list in the region may flow into columns (composition's listColumnsFor, in `auto` mode). Every region may,
|
|
1721
|
+
* except one whose `arrangement` draws its list as a figure or as steps: a diagram, or the `steps` sequence. A `numbered` sequence (the
|
|
1722
|
+
* agenda's) keeps its columns, its badges numbered across them. A list payload's own `columns` chooses in every region.
|
|
1723
|
+
*/
|
|
1724
|
+
declare const regionListColumns: (region: Pick<LayoutRegion, "arrangement">) => boolean;
|
|
1562
1725
|
/** Whether a layout record is a template (it has a `regions` list). */
|
|
1563
1726
|
declare function isLayoutTemplate(layout: unknown): boolean;
|
|
1564
1727
|
/** The region of `name` with every default applied; `value` is its entry in a `regions` list, `inherited` the `anchor` of the record or split it sits in. */
|
|
1565
1728
|
declare function layoutRegion(name: string, value: unknown, inherited?: RegionAnchor): LayoutRegion;
|
|
1729
|
+
/** LH-07: the sequence a region draws (its `arrangement` when that is `steps` or `numbered`). */
|
|
1730
|
+
declare const regionSequence: (region: Pick<LayoutRegion, "arrangement">) => SequenceArrangement | undefined;
|
|
1731
|
+
/** The diagram a region draws its lone list as (its `arrangement` when that is not a sequence). */
|
|
1732
|
+
declare const regionDiagram: (region: Pick<LayoutRegion, "arrangement">) => Arrangement | undefined;
|
|
1566
1733
|
/** A region of the record in reading order, as `layoutEntries` lists it. */
|
|
1567
1734
|
interface LayoutEntry {
|
|
1568
1735
|
name: string;
|
|
@@ -1580,11 +1747,26 @@ declare function layoutEntries(layout: unknown): LayoutEntry[];
|
|
|
1580
1747
|
* The problems `validate` reports for a template record (`opf/layout-template`, `opf/layout-region`): a `regions` list
|
|
1581
1748
|
* that is not 1 to 12 entries, an entry that is neither a region nor a split, a bad `direction` or `size`, `auto` outside
|
|
1582
1749
|
* a column, splits nested too deep, regions that compile to more than 12 rows or columns; a name used twice, a reserved
|
|
1583
|
-
* name, a heading region with content rules, a `subtitle` without `title`,
|
|
1750
|
+
* name, a heading region with content rules, a `subtitle` without `title`,
|
|
1584
1751
|
* a region that accepts nothing, an `overflowRegion` that is not a region. Empty for a valid template and for a record
|
|
1585
1752
|
* that is not a template.
|
|
1586
1753
|
*/
|
|
1587
1754
|
declare function layoutTemplateIssues(layout: unknown): LayoutTemplateIssue[];
|
|
1755
|
+
/** OPF 0.35 design.titlePosition `start`: the title column and the body beside it share the content width 2 : 3. */
|
|
1756
|
+
declare const TITLE_BESIDE_SHARE: readonly [2, 3];
|
|
1757
|
+
/**
|
|
1758
|
+
* OPF 0.35 design.titlePosition `start`: the template with its heading group beside the body instead of above it. The rows that hold
|
|
1759
|
+
* only headings (the title row, and a subtitle row, of a record that stacks its headings over the body) are removed, and a title
|
|
1760
|
+
* column of TITLE_BESIDE_SHARE (two fifths of the content width) spans every remaining row at the logical start; the body keeps its
|
|
1761
|
+
* own grid in the other three fifths. A `subtitle` region joins the title: the subtitle is part of the one heading group in the
|
|
1762
|
+
* column (`subtitle` is false). A template without a title region gets the column too, for the implicit title. The record's
|
|
1763
|
+
* `stack`, heading anchors and title rule are kept, so a stacked record (a quote) centers its row beside its title. A column is
|
|
1764
|
+
* logical: composition draws it at the right in a right-to-left deck, and `design.mirror` swaps it, as for every column.
|
|
1765
|
+
*
|
|
1766
|
+
* Undefined when the record cannot put its title beside the body: a heading shares a row with a body region (the record already
|
|
1767
|
+
* places its title beside or over a part of the body), or no row holds a body region.
|
|
1768
|
+
*/
|
|
1769
|
+
declare function titleBesideTemplate(plan: LayoutTemplate): LayoutTemplate | undefined;
|
|
1588
1770
|
/** Parse, check and compile a template record. Throws OPFLayoutTemplateError for a record with a `layout-template` or `layout-region` issue. */
|
|
1589
1771
|
declare function layoutTemplate(layout: unknown): LayoutTemplate;
|
|
1590
1772
|
|
|
@@ -1599,7 +1781,7 @@ declare function layoutTemplate(layout: unknown): LayoutTemplate;
|
|
|
1599
1781
|
*/
|
|
1600
1782
|
|
|
1601
1783
|
type MetricTrend = 'up' | 'down' | 'flat';
|
|
1602
|
-
/** Whether a change is good news: the
|
|
1784
|
+
/** Whether a change is good news: the color of the trend mark. */
|
|
1603
1785
|
type MetricSentiment = 'positive' | 'negative' | 'neutral';
|
|
1604
1786
|
/** The DrawingML preset geometry that draws each trend (`a:prstGeom prst`). */
|
|
1605
1787
|
declare const METRIC_TREND_SHAPES: Readonly<Record<MetricTrend, 'upArrow' | 'downArrow' | 'rightArrow'>>;
|
|
@@ -1607,7 +1789,7 @@ declare const METRIC_TREND_MIN_CONTRAST = 4.5;
|
|
|
1607
1789
|
/** LH-53: the arrow is this share of its line's font size square, and this share of it apart from the delta it precedes. */
|
|
1608
1790
|
declare const METRIC_TREND_ARROW_SIZE = 0.72;
|
|
1609
1791
|
declare const METRIC_TREND_ARROW_GAP = 0.3;
|
|
1610
|
-
/** WI-5 (P18, decision D3): the contrast a metric value keeps on a dark surface when it takes its
|
|
1792
|
+
/** WI-5 (P18, decision D3): the contrast a metric value keeps on a dark surface when it takes its color from the scheme. */
|
|
1611
1793
|
declare const METRIC_VALUE_MIN_CONTRAST = 4.5;
|
|
1612
1794
|
/**
|
|
1613
1795
|
* The color a metric value draws in: `color` (the scheme's primary) unless the background is dark ({@link isDarkColor}) and the color
|
|
@@ -1621,16 +1803,16 @@ declare function metricValueColor(color: string, background: string, text?: stri
|
|
|
1621
1803
|
interface MetricTrendColorOptions {
|
|
1622
1804
|
/** The slide background the metric text sits on. */
|
|
1623
1805
|
background: string;
|
|
1624
|
-
/** Neutral
|
|
1806
|
+
/** Neutral color for a neutral sentiment (the deck's muted text). */
|
|
1625
1807
|
neutral?: string;
|
|
1626
1808
|
/** Whether the change is good news; absent, the trend's default (up positive, down negative, flat neutral). */
|
|
1627
1809
|
sentiment?: MetricSentiment;
|
|
1628
1810
|
}
|
|
1629
|
-
/** The
|
|
1811
|
+
/** The color of a trend (or, with `options.sentiment`, of its sentiment), kept at >= 4.5:1 against the slide background. */
|
|
1630
1812
|
declare function metricTrendColor(trend: MetricTrend, options: MetricTrendColorOptions): string;
|
|
1631
1813
|
interface MetricTrendMark {
|
|
1632
1814
|
trend: MetricTrend;
|
|
1633
|
-
/** The sentiment the
|
|
1815
|
+
/** The sentiment the color follows: the metric's own, else the default for the trend. */
|
|
1634
1816
|
sentiment: MetricSentiment;
|
|
1635
1817
|
/** DrawingML preset name for native export. */
|
|
1636
1818
|
shape: 'upArrow' | 'downArrow' | 'rightArrow';
|
|
@@ -1677,7 +1859,7 @@ interface ReadingBox {
|
|
|
1677
1859
|
/**
|
|
1678
1860
|
* Visual reading order: rows from top to bottom, and within a row from the start to the end of the line.
|
|
1679
1861
|
*
|
|
1680
|
-
* Items whose vertical
|
|
1862
|
+
* Items whose vertical center falls inside an existing row's vertical extent join that row (so a full-height
|
|
1681
1863
|
* item shares one row with everything beside it and the row reads left to right). Rows are ordered by their
|
|
1682
1864
|
* top edge. Ties keep the input order, so the result is deterministic.
|
|
1683
1865
|
*
|
|
@@ -1734,7 +1916,7 @@ type TextDirection = "ltr" | "rtl";
|
|
|
1734
1916
|
* depend on locale data, only on the JavaScript engine's Unicode tables.
|
|
1735
1917
|
*/
|
|
1736
1918
|
declare function paragraphDirection(text: string, deckDirection: TextDirection | string | undefined): TextDirection;
|
|
1737
|
-
/** Horizontal alignment as drawn: the physical left,
|
|
1919
|
+
/** Horizontal alignment as drawn: the physical left, center or right of the text box. */
|
|
1738
1920
|
type PhysicalAlignment = "left" | "center" | "right";
|
|
1739
1921
|
/**
|
|
1740
1922
|
* Authored alignment is logical for right-to-left text (RR-05): `left` means the start edge and
|
|
@@ -1816,8 +1998,12 @@ interface ResolvedScriptFonts extends ScriptFontSlots {
|
|
|
1816
1998
|
lang: string;
|
|
1817
1999
|
/** Canonically cased BCP-47 tag for HTML/SVG `lang`: the authored tag. */
|
|
1818
2000
|
bcp47: string;
|
|
1819
|
-
/**
|
|
1820
|
-
|
|
2001
|
+
/**
|
|
2002
|
+
* Where the language came from: the `document` (the deck's or the slide's `language`), the `option`, the `text` (v0.35: no
|
|
2003
|
+
* language is declared and the slide is written in a right-to-left script), or `default` when the tag came from
|
|
2004
|
+
* `defaultLanguage` because no language resolved.
|
|
2005
|
+
*/
|
|
2006
|
+
languageSource: "document" | "option" | "text" | "default";
|
|
1821
2007
|
/** ISO 15924 script (`Zzzz` when it cannot be determined). */
|
|
1822
2008
|
script: string;
|
|
1823
2009
|
/** Script slot the language's own text uses. */
|
|
@@ -1879,8 +2065,8 @@ declare function scriptFontRole(script: string): ScriptRole;
|
|
|
1879
2065
|
declare function resolveScriptFonts(input: unknown, options?: ResolveScriptFontsOptions): ResolvedScriptFonts;
|
|
1880
2066
|
/**
|
|
1881
2067
|
* The deck base direction composition lays a slide out in: the direction of the presentation language's script
|
|
1882
|
-
* (`rtl` for Arabic, Hebrew and the other right-to-left scripts), `ltr` when the
|
|
1883
|
-
*
|
|
2068
|
+
* (`rtl` for Arabic, Hebrew and the other right-to-left scripts), `ltr` when the language does not resolve. A document
|
|
2069
|
+
* that names no language is `ltr` unless the slide's text is mostly in a right-to-left script (v0.35, language-inference.ts). Layout, preview and export all read this one value (RR-05).
|
|
1884
2070
|
*/
|
|
1885
2071
|
declare function resolveSlideDirection(presentation: unknown, slideIndex?: number): "ltr" | "rtl";
|
|
1886
2072
|
|
|
@@ -1907,7 +2093,7 @@ declare function unbindNoBreak(text: string): string;
|
|
|
1907
2093
|
type Rec$1 = Readonly<Record<string, unknown>>;
|
|
1908
2094
|
/** The drawing fields of the theme engines use when a document names none, or its theme resolves nowhere. */
|
|
1909
2095
|
declare const ENGINE_DEFAULT_THEME: Rec$1;
|
|
1910
|
-
/** The twelve slots engines use when neither the design nor the theme names a resolvable
|
|
2096
|
+
/** The twelve slots engines use when neither the design nor the theme names a resolvable color scheme. */
|
|
1911
2097
|
declare const ENGINE_DEFAULT_COLOR_SCHEME: Rec$1;
|
|
1912
2098
|
/** The font pair engines use when neither the design nor the theme names a resolvable font scheme. */
|
|
1913
2099
|
declare const ENGINE_DEFAULT_FONT_SCHEME: Rec$1;
|
|
@@ -2686,7 +2872,7 @@ interface OpfSmartArtCandidate {
|
|
|
2686
2872
|
declare function opfSmartArtUnavailable(candidate: OpfSmartArtCandidate): string | undefined;
|
|
2687
2873
|
|
|
2688
2874
|
/**
|
|
2689
|
-
* SH-17: the linear arrangements of a layout region (`arrangement: "chevrons" | "
|
|
2875
|
+
* SH-17: the linear arrangements of a layout region (`arrangement: "chevrons" | "process" | "vertical-process"`), next to SH-09's pyramid and
|
|
2690
2876
|
* matrix (arrangements.ts).
|
|
2691
2877
|
*
|
|
2692
2878
|
* A lone list of one level in such a region is drawn as a process diagram: a row of chevrons, a row of boxes with arrows between them,
|
|
@@ -2702,11 +2888,11 @@ declare function opfSmartArtUnavailable(candidate: OpfSmartArtCandidate): string
|
|
|
2702
2888
|
* its height deep); PowerPoint sets the text in the chevron's own text rectangle (between the notch and the point) with a margin of
|
|
2703
2889
|
* 0.315 em at the start and 0.105 em on the other sides. With one chevron in a frame less than 0.4 times as tall as wide, w is
|
|
2704
2890
|
* 1023/1024 W and the height is the frame's.
|
|
2705
|
-
* -
|
|
2891
|
+
* - process (Basic Process): n rounded rectangles of width w = s(n) W, height min(0.6 w, H), each 1.4 w after the last, centered, with a
|
|
2706
2892
|
* right arrow between two (0.212 w long, 0.248 w tall, 0.1 w after the box before it, on the frame's middle). A box is DrawingML's
|
|
2707
2893
|
* `roundRect` at adjustment 10000; its text is set in the rounded rectangle's own text rectangle with a margin of 0.3 em. One box in a
|
|
2708
2894
|
* frame less than 0.6 times as tall as wide is 1023/1024 W wide and as tall as the frame.
|
|
2709
|
-
* - vertical-
|
|
2895
|
+
* - vertical-process (Vertical Process): n rounded rectangles of height h = s(n) H, width min(1.8 h, W), each 1.5 h below the last,
|
|
2710
2896
|
* centered, with a down arrow between two (a right arrow turned 90 degrees, 0.45 h wide and 0.375 h long, in the middle of the gap).
|
|
2711
2897
|
* One box in a frame less than 1.8 times as wide as tall is 1023/1024 H tall and as wide as the frame.
|
|
2712
2898
|
*
|
|
@@ -2726,8 +2912,8 @@ interface Box$2 {
|
|
|
2726
2912
|
type LinearArrangement = typeof LINEAR_ARRANGEMENTS[number];
|
|
2727
2913
|
declare const isLinearArrangement: (kind: string) => kind is LinearArrangement;
|
|
2728
2914
|
/**
|
|
2729
|
-
* PowerPoint's scale for n nodes (index n - 1): a node's width over the frame's width (chevrons,
|
|
2730
|
-
* height (vertical-
|
|
2915
|
+
* PowerPoint's scale for n nodes (index n - 1): a node's width over the frame's width (chevrons, process) or its height over the frame's
|
|
2916
|
+
* height (vertical-process), as PowerPoint's binary search leaves it (multiples of 1/8192). Measured for 1 to 10 nodes in 20 frames each.
|
|
2731
2917
|
*/
|
|
2732
2918
|
declare const SMART_ART_SCALES: Readonly<Record<LinearArrangement, readonly number[]>>;
|
|
2733
2919
|
/** DrawingML's chevron default adjustment (the point's depth over the smaller side) and a process box's rounded corner. */
|
|
@@ -3089,139 +3275,6 @@ declare function shapeTextColor(backdrop: string, preferred: string, text: strin
|
|
|
3089
3275
|
/** The text to fit for `stacked` text: each character on its own line, as PowerPoint's stacked (wordArtVert) text draws it. */
|
|
3090
3276
|
declare function stackedText(value: unknown): unknown;
|
|
3091
3277
|
|
|
3092
|
-
/** The chart constructs the engines draw. Every catalog chart type id resolves to one (see `chartOptionTarget`). */
|
|
3093
|
-
/** `combo` (FA-15) draws clustered columns and line series in one plot, the lines optionally on a secondary value axis. */
|
|
3094
|
-
type ChartOptionKind = 'bar' | 'line' | 'area' | 'pie' | 'doughnut' | 'scatter' | 'radar' | 'treemap' | 'histogram' | 'pareto' | 'box' | 'waterfall' | 'funnel' | 'map' | 'combo';
|
|
3095
|
-
interface ChartOptionTarget {
|
|
3096
|
-
kind: ChartOptionKind;
|
|
3097
|
-
/** Stacked and 100% stacked columns, bars, lines and areas: their data labels have no outside-end position. */
|
|
3098
|
-
stacked?: boolean;
|
|
3099
|
-
}
|
|
3100
|
-
type ChartLegendPosition = 'none' | 'top' | 'bottom' | 'left' | 'right';
|
|
3101
|
-
type ChartLabelContent = 'category' | 'value' | 'percent';
|
|
3102
|
-
type ChartLabelPosition = 'center' | 'inside-end' | 'inside-base' | 'outside-end' | 'above' | 'below' | 'left' | 'right';
|
|
3103
|
-
interface ChartOptionDiagnostic {
|
|
3104
|
-
code: 'chart-option-adapted';
|
|
3105
|
-
/** The option that was adapted: `axisTitles.category`, `axisTitles.value`, `axisTitles.secondary`, `legend`, `dataLabels`, `dataLabels.content`, `dataLabels.position`, `dataLabels.separator`, `line`, `secondaryAxis`, `highlight.series` or `highlight.categories`. */
|
|
3106
|
-
option: string;
|
|
3107
|
-
reason: 'unsupported-type' | 'unsupported-content' | 'unsupported-position';
|
|
3108
|
-
message: string;
|
|
3109
|
-
}
|
|
3110
|
-
interface ResolvedChartDataLabels {
|
|
3111
|
-
/** Canonical order: category, value, percent. Never empty. */
|
|
3112
|
-
content: ChartLabelContent[];
|
|
3113
|
-
/** The concrete position, or null for a construct whose labels have no position choice (area, doughnut, radar, treemap). On a combo chart, the column series' position. */
|
|
3114
|
-
position: ChartLabelPosition | null;
|
|
3115
|
-
/** Combo charts only: the concrete position of the line series' labels (`position` is the column series' one). */
|
|
3116
|
-
linePosition?: ChartLabelPosition;
|
|
3117
|
-
separator: string;
|
|
3118
|
-
}
|
|
3119
|
-
/** FA-14: the series and category names `chart.highlight` keeps for a chart type (what the type cannot highlight is dropped, with a diagnostic). */
|
|
3120
|
-
interface ResolvedChartHighlight {
|
|
3121
|
-
/** Series (column) names whose marks take the accent colour. */
|
|
3122
|
-
series: string[];
|
|
3123
|
-
/** Category (row label) names whose marks take the accent colour. */
|
|
3124
|
-
categories: string[];
|
|
3125
|
-
}
|
|
3126
|
-
interface ResolvedChartOptions {
|
|
3127
|
-
/** True when the chart carries at least one option (after adaptation); false means every engine keeps today's output. */
|
|
3128
|
-
active: boolean;
|
|
3129
|
-
/** `secondary` titles the secondary value axis of a combo chart. */
|
|
3130
|
-
axisTitles: {
|
|
3131
|
-
category?: string;
|
|
3132
|
-
value?: string;
|
|
3133
|
-
secondary?: string;
|
|
3134
|
-
};
|
|
3135
|
-
/** Undefined = no legend option: each engine keeps its default (a right legend on multi-series, pie and doughnut charts). */
|
|
3136
|
-
legend?: ChartLegendPosition;
|
|
3137
|
-
dataLabels?: ResolvedChartDataLabels;
|
|
3138
|
-
/** True when `dataLabels: false` switches off the labels a construct draws by default (funnel values, treemap category names). */
|
|
3139
|
-
dataLabelsOff?: boolean;
|
|
3140
|
-
/**
|
|
3141
|
-
* FA-14: the names `chart.highlight` keeps; undefined when the chart has no highlight or its type can highlight nothing it names.
|
|
3142
|
-
* It does not make `active` true: a highlight changes the colours of marks, never the geometry or the reserved space.
|
|
3143
|
-
*/
|
|
3144
|
-
highlight?: ResolvedChartHighlight;
|
|
3145
|
-
diagnostics: ChartOptionDiagnostic[];
|
|
3146
|
-
}
|
|
3147
|
-
interface ChartOptionSupport {
|
|
3148
|
-
/** `secondary`: the construct can have a secondary value axis (a combo chart whose `secondaryAxis` names a line series). */
|
|
3149
|
-
axisTitles: {
|
|
3150
|
-
category: boolean;
|
|
3151
|
-
value: boolean;
|
|
3152
|
-
secondary: boolean;
|
|
3153
|
-
};
|
|
3154
|
-
legend: boolean;
|
|
3155
|
-
/** FA-14: what `chart.highlight` can name: series (a whole series' marks) and categories (one category's marks, or a pie slice). */
|
|
3156
|
-
highlight: {
|
|
3157
|
-
series: boolean;
|
|
3158
|
-
categories: boolean;
|
|
3159
|
-
};
|
|
3160
|
-
dataLabels: {
|
|
3161
|
-
supported: boolean;
|
|
3162
|
-
content: readonly ChartLabelContent[];
|
|
3163
|
-
/** Empty when labels have no position choice. A combo chart lists the column positions, then the line-only ones. */
|
|
3164
|
-
positions: readonly ChartLabelPosition[];
|
|
3165
|
-
/** The position `auto` resolves to; null with no positions. */
|
|
3166
|
-
defaultPosition: ChartLabelPosition | null;
|
|
3167
|
-
/** True for the constructs that label their marks by default (funnel, treemap): `dataLabels: false` removes those labels. */
|
|
3168
|
-
defaultOn: boolean;
|
|
3169
|
-
};
|
|
3170
|
-
}
|
|
3171
|
-
/** What a chart construct can show. The table the docs, the validator, the preview and the exporter all follow. */
|
|
3172
|
-
declare function chartOptionSupport(target: ChartOptionTarget): ChartOptionSupport;
|
|
3173
|
-
/** The option target for a catalog chart type id; undefined for an id outside the catalog. */
|
|
3174
|
-
declare function chartOptionTarget(typeId: unknown): ChartOptionTarget | undefined;
|
|
3175
|
-
declare const DEFAULT_CHART_LABEL_SEPARATOR = ", ";
|
|
3176
|
-
/**
|
|
3177
|
-
* Normalise a chart's `axisTitles`, `legend` and `dataLabels` against what its type can show. `target` is undefined for a chart type
|
|
3178
|
-
* outside the catalog: nothing is adapted then (the engines fall back to their legacy output for such charts anyway).
|
|
3179
|
-
*/
|
|
3180
|
-
declare function resolveChartOptions(chart: unknown, target?: ChartOptionTarget): ResolvedChartOptions;
|
|
3181
|
-
/**
|
|
3182
|
-
* A General-format number as a label: at most twelve significant digits, no exponent unless the value needs one. LH-141: with `group` (the
|
|
3183
|
-
* series' labels group their thousands, see `groupsThousands`) a whole number of four digits or more groups them by `language`.
|
|
3184
|
-
*/
|
|
3185
|
-
declare function formatChartLabelNumber(value: number, group?: {
|
|
3186
|
-
language?: string;
|
|
3187
|
-
}, language?: string | undefined): string;
|
|
3188
|
-
/** A share as PowerPoint's `0%` label, in the language's digits and percent sign (LH-106). */
|
|
3189
|
-
declare function formatChartLabelPercent(share: number, language?: string): string;
|
|
3190
|
-
/** The label text: the selected parts in the fixed order category, value, percent, joined by the separator. */
|
|
3191
|
-
declare function chartLabelText(parts: {
|
|
3192
|
-
category?: string;
|
|
3193
|
-
value?: string;
|
|
3194
|
-
percent?: string;
|
|
3195
|
-
}, content: readonly ChartLabelContent[], separator?: string): string;
|
|
3196
|
-
/** Which marks of a chart a highlight names, in the order of the resolved chart data. */
|
|
3197
|
-
interface ChartHighlightMarks {
|
|
3198
|
-
/** One flag per plotted series (the columns after the category and X columns): its marks are highlighted. */
|
|
3199
|
-
series: boolean[];
|
|
3200
|
-
/** One flag per data row: the marks of that category are highlighted. */
|
|
3201
|
-
categories: boolean[];
|
|
3202
|
-
}
|
|
3203
|
-
/**
|
|
3204
|
-
* FA-14: which series and categories of a chart are highlighted. `highlight` is `resolveChartOptions(...).highlight` and `data` the
|
|
3205
|
-
* chart's `resolveChartData` result (its `columns`, `hasX` and `rows`). A mark is highlighted when its series OR its category is
|
|
3206
|
-
* named: a column or bar of series s in row i takes the accent colour when `series[s] || categories[i]`; every other mark takes the muted
|
|
3207
|
-
* colour (`chartHighlightColors`). Category names match the row labels as text (a number label `2024` matches `"2024"`, an empty label
|
|
3208
|
-
* matches `""`), every row that carries the label. Returns undefined when there is no highlight or it names nothing the chart plots (a
|
|
3209
|
-
* name that matches no column or label is the `chart-highlight-unknown-name` validation error), so the engines then draw the chart as if
|
|
3210
|
-
* it had none.
|
|
3211
|
-
*/
|
|
3212
|
-
declare function chartHighlightMarks(highlight: ResolvedChartHighlight | undefined, data: {
|
|
3213
|
-
columns: readonly string[];
|
|
3214
|
-
hasX?: boolean;
|
|
3215
|
-
rows: readonly (readonly unknown[])[];
|
|
3216
|
-
}): ChartHighlightMarks | undefined;
|
|
3217
|
-
/**
|
|
3218
|
-
* LH-106 (vetoable): the language a chart's numbers are drawn in. A chartex chart (waterfall, histogram, pareto, box and whisker,
|
|
3219
|
-
* funnel, treemap) keeps Latin digits with the locale's Latin separators (`ar-SA` draws them as `ar-SA-u-nu-latn`): PowerPoint
|
|
3220
|
-
* 16.0.20527 draws chartex numbers with another decimal mark than its classic charts and puts a minus sign after Arabic-Indic digits,
|
|
3221
|
-
* so only Latin digits agree. Every other chart draws the language's digits. `chart` is the chart payload (its `type`) or a type id.
|
|
3222
|
-
*/
|
|
3223
|
-
declare function chartNumberLanguage(chart: unknown, language?: string): string | undefined;
|
|
3224
|
-
|
|
3225
3278
|
/** Why a chart is drawn as another construct (or with its data regrouped). */
|
|
3226
3279
|
type ChartFallback = 'map-as-columns' | 'pareto-as-columns' | 'box-per-series' | 'nested-rings' | 'scatter-by-position';
|
|
3227
3280
|
/** How the engines draw a chart: the construct and the data they plot. */
|
|
@@ -3259,7 +3312,7 @@ declare function isPlaceLabel(label: unknown, language?: string): boolean;
|
|
|
3259
3312
|
* - **One value per box-and-whisker category** (`box-per-series`): when no category label repeats (two rows or more), each box would be a
|
|
3260
3313
|
* single value. The rows are one group named after the category column, so each series is one box of its values across the categories.
|
|
3261
3314
|
* - **Several series on a pie or doughnut** (`nested-rings`): two or more series that hold numbers are drawn as a doughnut of one ring per
|
|
3262
|
-
* series, the first series innermost (as PowerPoint orders the rings of a doughnut), every ring
|
|
3315
|
+
* series, the first series innermost (as PowerPoint orders the rings of a doughnut), every ring colored by category.
|
|
3263
3316
|
* - **Scatter whose X column holds no number** (`scatter-by-position`): the text column cannot be an X axis, so it is left out and every
|
|
3264
3317
|
* series is plotted against the category position (1, 2, 3, ...), like a scatter of one value column.
|
|
3265
3318
|
*
|
|
@@ -3279,9 +3332,9 @@ declare function chartDrawDiagnostics(chart: unknown, resolved: ResolvedChartDat
|
|
|
3279
3332
|
language?: string;
|
|
3280
3333
|
}): DataDiagnostic[];
|
|
3281
3334
|
/**
|
|
3282
|
-
* LH-56: the
|
|
3283
|
-
* `text` when it reaches 4.5:1 on the fill, else the slide background `background` (the other role
|
|
3284
|
-
* theme
|
|
3335
|
+
* LH-56: the color of a label drawn inside a mark (a treemap tile, a funnel bar, a map tile) of color `fill`: the deck's full text color
|
|
3336
|
+
* `text` when it reaches 4.5:1 on the fill, else the slide background `background` (the other role color, so the PPTX export still writes a
|
|
3337
|
+
* theme color) when that does, else black or white ({@link textColorForFill}). The preview and the PPTX export both call it.
|
|
3285
3338
|
*/
|
|
3286
3339
|
declare function markLabelColor(fill: string, text: string, background?: string): string;
|
|
3287
3340
|
|
|
@@ -3497,7 +3550,11 @@ interface ComposedConnector {
|
|
|
3497
3550
|
}
|
|
3498
3551
|
/** An entry of `SlideComposition.overlayShapes`, in draw order. */
|
|
3499
3552
|
type ComposedOverlayEntry = ComposedOverlayShape | ComposedConnector;
|
|
3500
|
-
/**
|
|
3553
|
+
/**
|
|
3554
|
+
* Every block id of a slide with its dotted path (`slides.0.blocks.1.blocks.0`), in document order; the first of a repeated id wins.
|
|
3555
|
+
* composeSlide's own view of a slide whose blocks name cells keeps each cell under its cell word (`slides.0.top:start`): those payloads
|
|
3556
|
+
* are blocks too.
|
|
3557
|
+
*/
|
|
3501
3558
|
declare function slideBlockIds(slide: unknown, slidePath: string): Map<string, string>;
|
|
3502
3559
|
/** A validation issue of a slide's `shapes` (schema-check reports them); `code` absent means an opf/schema error. */
|
|
3503
3560
|
interface OverlayIssue {
|
|
@@ -3567,13 +3624,13 @@ declare function unwrapQuoteMarks(text: string): string;
|
|
|
3567
3624
|
/**
|
|
3568
3625
|
* Deterministic syntax highlighting shared by the SVG preview and the PPTX export (RR-07).
|
|
3569
3626
|
*
|
|
3570
|
-
* `tokenizeCode(source, language)` returns
|
|
3571
|
-
* string; everything between tokens is plain. `codeSyntaxPalette` derives one
|
|
3627
|
+
* `tokenizeCode(source, language)` returns colored token ranges over the exact source
|
|
3628
|
+
* string; everything between tokens is plain. `codeSyntaxPalette` derives one color per
|
|
3572
3629
|
* token kind from the deck theme and keeps each at WCAG contrast >= 4.5:1 against the code
|
|
3573
3630
|
* panel. The scanner is a small hand-written one (no dependency, no network, no locale or
|
|
3574
|
-
* clock input): it
|
|
3575
|
-
*
|
|
3576
|
-
* the text: callers
|
|
3631
|
+
* clock input): it recognizes comments, strings, numbers, keywords, definition names, calls,
|
|
3632
|
+
* capitalized types and the structure of JSON, YAML, TOML, HTML/XML and CSS. It never edits
|
|
3633
|
+
* the text: callers color ranges of `code.source` and the concatenated runs equal the source.
|
|
3577
3634
|
* An unknown or missing language yields no tokens (plain text).
|
|
3578
3635
|
*/
|
|
3579
3636
|
type CodeTokenKind = 'comment' | 'keyword' | 'string' | 'number' | 'function' | 'type' | 'property';
|
|
@@ -3593,7 +3650,7 @@ type CodeSyntaxPalette = Record<CodeTokenKind | 'plain', string>;
|
|
|
3593
3650
|
declare const CODE_HIGHLIGHT_MAX_LENGTH = 200000;
|
|
3594
3651
|
/** Contrast the palette keeps against the code panel. */
|
|
3595
3652
|
declare const CODE_SYNTAX_MIN_CONTRAST = 4.5;
|
|
3596
|
-
/** The code panel
|
|
3653
|
+
/** The code panel color the preview and the PPTX export both draw. */
|
|
3597
3654
|
declare const CODE_PANEL_BACKGROUND = "#111827";
|
|
3598
3655
|
declare const CODE_PANEL_FOREGROUND = "#E5E7EB";
|
|
3599
3656
|
/** Language ids with a scanner (the keys the aliases resolve to). */
|
|
@@ -3607,10 +3664,10 @@ declare function resolveCodeLanguage(language: unknown): string | undefined;
|
|
|
3607
3664
|
declare function tokenizeCode(source: string, language?: unknown): CodeToken[];
|
|
3608
3665
|
/**
|
|
3609
3666
|
* The runs of one source line `[start, end)`: consecutive slices that cover the line exactly.
|
|
3610
|
-
* A token that crosses the line boundary is clipped, so each native text line can be
|
|
3667
|
+
* A token that crosses the line boundary is clipped, so each native text line can be colored
|
|
3611
3668
|
* on its own while concatenating the runs returns the line text unchanged. With `source`, a tab
|
|
3612
3669
|
* character is always its own plain run, as in the preview where a tab is a measured segment: a
|
|
3613
|
-
* token (a multi-line string, say) never
|
|
3670
|
+
* token (a multi-line string, say) never colors a tab stop.
|
|
3614
3671
|
*/
|
|
3615
3672
|
declare function codeLineRuns(tokens: readonly CodeToken[], start: number, end: number, source?: string): CodeRun[];
|
|
3616
3673
|
interface CodeSyntaxPaletteOptions {
|
|
@@ -3625,21 +3682,21 @@ interface CodeSyntaxPaletteTheme {
|
|
|
3625
3682
|
mutedText?: string;
|
|
3626
3683
|
}
|
|
3627
3684
|
/**
|
|
3628
|
-
* One
|
|
3685
|
+
* One color per token kind from the deck theme: keyword = primary, string = accent,
|
|
3629
3686
|
* number = secondary, comment = a fixed slate; function, type and property take fixed hues
|
|
3630
|
-
* (blue, cyan, pink) rotated away from any theme
|
|
3631
|
-
*
|
|
3632
|
-
* dark theme
|
|
3687
|
+
* (blue, cyan, pink) rotated away from any theme color they would collide with. Every
|
|
3688
|
+
* color is lightened until it keeps `minimumContrast` (4.5:1) against the code panel, so a
|
|
3689
|
+
* dark theme color is raised rather than dropped. Deterministic for a given theme.
|
|
3633
3690
|
*/
|
|
3634
3691
|
declare function codeSyntaxPalette(theme?: CodeSyntaxPaletteTheme, options?: CodeSyntaxPaletteOptions): CodeSyntaxPalette;
|
|
3635
3692
|
/**
|
|
3636
|
-
* The palette for a resolved
|
|
3693
|
+
* The palette for a resolved color scheme record (`primary`, `secondary`, `accent`, or the
|
|
3637
3694
|
* `accent1` to `accent3` slots they default to). The preview and the PPTX export both call this
|
|
3638
3695
|
* with the scheme they resolved, so they cannot disagree on the inputs.
|
|
3639
3696
|
*/
|
|
3640
3697
|
declare function codeSyntaxPaletteForScheme(scheme: unknown, options?: CodeSyntaxPaletteOptions): CodeSyntaxPalette;
|
|
3641
3698
|
/**
|
|
3642
|
-
* RR-96: the palette for a slide's resolved roles. The code panel, the plain text and the comment
|
|
3699
|
+
* RR-96: the palette for a slide's resolved roles. The code panel, the plain text and the comment color come from the scheme through the
|
|
3643
3700
|
* variant's map (`roles.neutrals.codePanel`, `codeText`, `codeComment`), and keyword, string and number take the first three accents of the
|
|
3644
3701
|
* variant, so a dark variant or a re-ordered accent list restyles the code block with the rest of the slide. Preview and export call this with
|
|
3645
3702
|
* the roles they resolved; `scheme` supplies `primary`, `secondary` and `accent` overrides the same way {@link codeSyntaxPaletteForScheme} does.
|
|
@@ -3724,7 +3781,7 @@ declare function timelineTextColor(part: Pick<TimelineTextPart, 'status'> & {
|
|
|
3724
3781
|
* Lines are counted by line break in `code.source`, so a soft-wrapped line is still one line and every
|
|
3725
3782
|
* displayed line of it takes the same number (`codeLineNumbers`). Engines draw one band behind each
|
|
3726
3783
|
* run of marked displayed lines (`codeHighlightBands`) and set the unmarked lines in a slightly dimmed
|
|
3727
|
-
*
|
|
3784
|
+
* color (`codeHighlightColors`); both color sets keep WCAG contrast >= 4.5:1 against what they sit on.
|
|
3728
3785
|
* Everything here is deterministic: no clock, locale or network.
|
|
3729
3786
|
*/
|
|
3730
3787
|
|
|
@@ -3760,17 +3817,17 @@ declare function codeHighlightBands(sourceLines: readonly {
|
|
|
3760
3817
|
boundary: 'soft' | 'hard' | 'end';
|
|
3761
3818
|
}[], lines: readonly number[]): CodeHighlightBand[];
|
|
3762
3819
|
interface CodeHighlightColors {
|
|
3763
|
-
/** The band behind marked lines: the panel
|
|
3820
|
+
/** The band behind marked lines: the panel color tinted with the theme's primary color. */
|
|
3764
3821
|
band: string;
|
|
3765
|
-
/** Marked lines: the syntax palette, each
|
|
3822
|
+
/** Marked lines: the syntax palette, each color at least 4.5:1 on `band`. */
|
|
3766
3823
|
lit: CodeSyntaxPalette;
|
|
3767
3824
|
/** Unmarked lines: the syntax palette moved toward the panel, never below 4.5:1 on it. */
|
|
3768
3825
|
dim: CodeSyntaxPalette;
|
|
3769
3826
|
}
|
|
3770
3827
|
/**
|
|
3771
|
-
* The highlight
|
|
3828
|
+
* The highlight colors for a resolved color scheme record. The band takes the scheme's `primary`
|
|
3772
3829
|
* (or `accent1`); the palette is `codeSyntaxPaletteForScheme(scheme)` so highlighted lines keep their syntax
|
|
3773
|
-
*
|
|
3830
|
+
* colors. Preview and export call this with the scheme they resolved. `panel` is the code panel color the band and the dimmed
|
|
3774
3831
|
* lines sit on (RR-96: `roles.neutrals.codePanel.hex`, derived from the scheme); the default is the fixed {@link CODE_PANEL_BACKGROUND}.
|
|
3775
3832
|
*/
|
|
3776
3833
|
declare function codeHighlightColors(scheme: unknown, palette?: CodeSyntaxPalette, panel?: string): CodeHighlightColors;
|
|
@@ -3865,7 +3922,7 @@ declare function patternRuns(preset: unknown): {
|
|
|
3865
3922
|
* area by exactly its height. Slides without markers are unchanged.
|
|
3866
3923
|
* - `caption` on an image, chart, table or video payload reserves a caption band inside the block's
|
|
3867
3924
|
* region (`layoutCaption`): the media keeps the rest. Captions use the body family at the caption size
|
|
3868
|
-
* (0.6 of the body size, clamped to the readable floor) in the muted text
|
|
3925
|
+
* (0.6 of the body size, clamped to the readable floor) in the muted text color.
|
|
3869
3926
|
*
|
|
3870
3927
|
* Geometry is shared: renderers and exporters only draw what these functions return.
|
|
3871
3928
|
*/
|
|
@@ -3924,7 +3981,9 @@ interface AnnotatedRun {
|
|
|
3924
3981
|
/**
|
|
3925
3982
|
* Visit every rich-text run of a slide that can carry a citation (the slide tag, title and subtitle, then
|
|
3926
3983
|
* text, bullets, list item and quote runs), in reading order: the heading group first (tag, title, subtitle),
|
|
3927
|
-
* then
|
|
3984
|
+
* then blocks (recursively), then the root payload. The blocks of a slide placed in the cells of its grid read cell by cell in
|
|
3985
|
+
* reading order (rows from the top, each from its start column), the blocks of one cell in source order; composeSlide's own view of
|
|
3986
|
+
* such a slide, which keeps each cell under its cell word, reads the same.
|
|
3928
3987
|
* `basePath` is the slide's dotted path (`slides.3`).
|
|
3929
3988
|
*/
|
|
3930
3989
|
declare function walkCitationRuns(slide: unknown, basePath: string, visit: (entry: AnnotatedRun) => void): void;
|
|
@@ -4519,7 +4578,7 @@ interface Box {
|
|
|
4519
4578
|
height: number;
|
|
4520
4579
|
}
|
|
4521
4580
|
/**
|
|
4522
|
-
* The names at the line ends for a plot, or undefined when they cannot be placed: each name
|
|
4581
|
+
* The names at the line ends for a plot, or undefined when they cannot be placed: each name centered on its series' last point, then the
|
|
4523
4582
|
* names moved apart (in point order, top to bottom) so no two are closer than one text line, and kept between the plot's top and bottom.
|
|
4524
4583
|
* `relaxed` places them however far they move (used once the plot is fixed by a shared set); otherwise a name moved more than one line
|
|
4525
4584
|
* from its point fails, and the chart keeps its legend.
|
|
@@ -4599,7 +4658,7 @@ interface LayoutContent {
|
|
|
4599
4658
|
tag: boolean;
|
|
4600
4659
|
};
|
|
4601
4660
|
}
|
|
4602
|
-
/** The template areas in reading order, with each body's flow and accepted kinds. */
|
|
4661
|
+
/** The template areas in reading order, with each body's flow (and `max 1` for a single-block region) and accepted kinds. */
|
|
4603
4662
|
declare function layoutStructure(layout: unknown): string;
|
|
4604
4663
|
/** Derive the body kind, region count and headings from a template record. */
|
|
4605
4664
|
declare function layoutContent(layout: unknown): LayoutContent;
|
|
@@ -4623,7 +4682,7 @@ interface BoundBlock {
|
|
|
4623
4682
|
block?: number;
|
|
4624
4683
|
/** Root payload fields the node holds (a root payload only). */
|
|
4625
4684
|
fields?: string[];
|
|
4626
|
-
/** The block named this region with `region` and the pin was
|
|
4685
|
+
/** The block named this region with `region` and the pin was honored. */
|
|
4627
4686
|
pinned?: boolean;
|
|
4628
4687
|
}
|
|
4629
4688
|
interface RegionBinding {
|
|
@@ -4678,7 +4737,8 @@ declare function regionRoleRank(role: LayoutRegion['role'], kind: RegionKind): n
|
|
|
4678
4737
|
* drawn there anyway (`layout-unplaced`, which `paginate` resolves with a continuation slide). A layout with no overflow
|
|
4679
4738
|
* region draws it in an implicit row below the grid (`layout-unplaced` too).
|
|
4680
4739
|
*
|
|
4681
|
-
* A
|
|
4740
|
+
* A cell word (`top:start`; the cells of a slide without a layout) names no region of a layout: `region-unknown`, and the block is bound
|
|
4741
|
+
* as if it had no pin.
|
|
4682
4742
|
*/
|
|
4683
4743
|
declare function bindRegions(slide: unknown, layout: unknown, options?: BindRegionsOptions): RegionBindingResult;
|
|
4684
4744
|
|
|
@@ -4695,7 +4755,7 @@ declare function bindRegions(slide: unknown, layout: unknown, options?: BindRegi
|
|
|
4695
4755
|
* beyond its `max`, else to the row below the grid. With no layout, interleaved blocks of two kinds with unequal counts
|
|
4696
4756
|
* are a grid of the majority kind above a row of the others.
|
|
4697
4757
|
* 3. **Extra blocks join a fixed region (LH-46).** A block no region had room for, on a layout with no overflow region, joins
|
|
4698
|
-
* the region that accepts it instead of the row below the grid: a `
|
|
4758
|
+
* the region that accepts it instead of the row below the grid: a single-block region (`max: 1`) up to `JOINED_FIXED_MAX` blocks
|
|
4699
4759
|
* (accepted, no finding), a flowing region up to `MAX_REGION_BLOCKS` (beyond its `max`, still `layout-unplaced`). Fixed
|
|
4700
4760
|
* regions of one role side by side (the columns of `comparison`) become one region of N cells, with any block bound
|
|
4701
4761
|
* between theirs in source order; a lone fixed region arranges pictures as a mosaic and text as a lead plus cards.
|
|
@@ -4707,7 +4767,7 @@ declare function bindRegions(slide: unknown, layout: unknown, options?: BindRegi
|
|
|
4707
4767
|
declare const PAIR_FIGURE_KINDS: readonly string[];
|
|
4708
4768
|
/** LH-58: a pair of paragraphs is long + short when one is at least this many times the other's length. */
|
|
4709
4769
|
declare const PAIR_LENGTH_RATIO = 2;
|
|
4710
|
-
/** LH-46: a `flow: none`
|
|
4770
|
+
/** LH-46: a single-block region (`max: 1`, OPF 0.35; `flow: none` before) takes at most this many blocks when extra blocks join it. */
|
|
4711
4771
|
declare const JOINED_FIXED_MAX = 6;
|
|
4712
4772
|
/** A root block as grouping reads it: its kind, whether it is a content group and, for a paragraph, its length in characters. */
|
|
4713
4773
|
interface GroupingNode {
|
|
@@ -4788,6 +4848,44 @@ declare function groupBinding(binding: RegionBindingResult, template: LayoutTemp
|
|
|
4788
4848
|
labeled?: ReadonlySet<string>;
|
|
4789
4849
|
}): GroupedBinding;
|
|
4790
4850
|
|
|
4851
|
+
/**
|
|
4852
|
+
* OPF 0.35: the cells of the 3 x 3 grid of a slide without a layout, which a root block names with `region`.
|
|
4853
|
+
*
|
|
4854
|
+
* Internal module: no dependencies, so the composition engine, the validator and the walkers can share it.
|
|
4855
|
+
*/
|
|
4856
|
+
/**
|
|
4857
|
+
* OPF 0.35: the cells of a slide without a layout, the words a root block names with `region` to place itself on the slide's 3 x 3
|
|
4858
|
+
* grid: a column band (`start`, `center+end`), a row band (`top`, `middle+bottom`) or rows, a colon, then columns
|
|
4859
|
+
* (`top:start`, `middle+bottom:center+end`). Each half lists adjacent names in reading order. Through 0.34 these were slide keys
|
|
4860
|
+
* (the promoted regions); validate reports such a key with the fix that moves it into a block.
|
|
4861
|
+
*/
|
|
4862
|
+
declare const gridCells: readonly ["start", "center", "end", "start+center", "center+end", "start+center+end", "top", "middle", "bottom", "top+middle", "middle+bottom", "top+middle+bottom", "top:start", "top:center", "top:end", "top:start+center", "top:center+end", "top:start+center+end", "middle:start", "middle:center", "middle:end", "middle:start+center", "middle:center+end", "middle:start+center+end", "bottom:start", "bottom:center", "bottom:end", "bottom:start+center", "bottom:center+end", "bottom:start+center+end", "top+middle:start", "top+middle:center", "top+middle:end", "top+middle:start+center", "top+middle:center+end", "top+middle:start+center+end", "middle+bottom:start", "middle+bottom:center", "middle+bottom:end", "middle+bottom:start+center", "middle+bottom:center+end", "middle+bottom:start+center+end", "top+middle+bottom:start", "top+middle+bottom:center", "top+middle+bottom:end", "top+middle+bottom:start+center", "top+middle+bottom:center+end", "top+middle+bottom:start+center+end"];
|
|
4863
|
+
/** A cell word of a slide without a layout (`gridCells`). */
|
|
4864
|
+
type GridCell = (typeof gridCells)[number];
|
|
4865
|
+
/** Whether `value` is a cell word (`start`, `top+middle`, `middle:center+end`, ...). */
|
|
4866
|
+
declare function isGridCell(value: unknown): value is GridCell;
|
|
4867
|
+
/** One root block of a slide that places its blocks in cells (`cellBlocks`). */
|
|
4868
|
+
interface CellBlock {
|
|
4869
|
+
cell: GridCell;
|
|
4870
|
+
/** Its index in the slide's `blocks`. */
|
|
4871
|
+
index: number;
|
|
4872
|
+
block: Record<string, unknown>;
|
|
4873
|
+
}
|
|
4874
|
+
/**
|
|
4875
|
+
* OPF 0.35: the root blocks of a slide that places its blocks in the cells of its 3 x 3 grid, in source order; undefined when it does
|
|
4876
|
+
* not. A slide does when it has no `layout` and every block of its `blocks` names a cell with `region` (all or none: a slide with a
|
|
4877
|
+
* block that names none composes automatically, and validate reports the mix). Blocks that name the same cell stack in it, as a group
|
|
4878
|
+
* would. On a slide with a layout a cell word is an ordinary region pin that names no region of the layout (`opf/region-unknown`).
|
|
4879
|
+
*/
|
|
4880
|
+
declare function cellBlocks(slide: Record<string, unknown>): CellBlock[] | undefined;
|
|
4881
|
+
/**
|
|
4882
|
+
* The cells of `entries` in reading order: rows from the top, then along the row from the start column (a right-to-left deck reads
|
|
4883
|
+
* its start column first too). Each cell once.
|
|
4884
|
+
*/
|
|
4885
|
+
declare function cellsInReadingOrder(entries: readonly {
|
|
4886
|
+
cell: string;
|
|
4887
|
+
}[]): string[];
|
|
4888
|
+
|
|
4791
4889
|
/**
|
|
4792
4890
|
* Pure geometry of OPF 0.19 layout templates: the grid sequence of a flowing region, track sizing, the collapse of empty
|
|
4793
4891
|
* areas and the column breaks of a long list. `composeSlide` measures content and calls these; nothing here measures text.
|
|
@@ -4840,7 +4938,7 @@ interface RowDemand {
|
|
|
4840
4938
|
* 3. The other `auto` rows take what they need from what is left (WI-1: no fixed cap, so dense content in an `auto` row
|
|
4841
4939
|
* keeps its starting size while the space is there); when that is not enough they shrink together, each giving up the
|
|
4842
4940
|
* same fraction of what it can give up above its floor (shareHeights), so a one-line note keeps nearly its need beside
|
|
4843
|
-
* a dense
|
|
4941
|
+
* a dense neighbor and no row overflows while the floors fit.
|
|
4844
4942
|
* 4. The numeric rows share the rest in proportion to their sizes. An `auto` row with nothing in it has no height and no gap.
|
|
4845
4943
|
*/
|
|
4846
4944
|
declare function allocateRows(rows: readonly RowDemand[], total: number, gap: number): number[];
|
|
@@ -5135,7 +5233,7 @@ interface ComposedItem {
|
|
|
5135
5233
|
*/
|
|
5136
5234
|
region?: string;
|
|
5137
5235
|
/**
|
|
5138
|
-
* OPF 0.19: a list laid out in columns (a
|
|
5236
|
+
* OPF 0.19: a list laid out in columns (a long list in a layout region whose arrangement allows it, OPF 0.35, or a list payload with
|
|
5139
5237
|
* `columns`): one entry per column, in reading order, each with its cell, the half-open range of the payload's items it
|
|
5140
5238
|
* holds and its own fit at the shared font size. Numbering continues across columns. The item's `text` is the whole list:
|
|
5141
5239
|
* every entry of every column at its column's position (one ListFit, `overflow` when any column overflows), so a consumer
|
|
@@ -5202,7 +5300,6 @@ interface ComposedEmphasis {
|
|
|
5202
5300
|
* LH-07: one drawn sequence of a `sequence` region (layout record): what the engines draw besides its text, in canvas pixels.
|
|
5203
5301
|
* - `row`: the region's blocks side by side, each under a badge; `connector` runs through the badge centers of the row.
|
|
5204
5302
|
* - `column`: a list's entries, each beside a badge in the list's marker column; `connector` runs down that column.
|
|
5205
|
-
* - `flow`: a short list's entries in `chips` (one per entry; its text is the list column of the same index) with `arrows` between.
|
|
5206
5303
|
* - `tiles` (LH-137): a dark slide's short summary list as a grid of `chips` (one per entry, its text the list column of the same
|
|
5207
5304
|
* index), each with a badge at its start whose `check` mark stands in for the bullet; no connector or arrows.
|
|
5208
5305
|
* Paint order: chips, connector, badges, arrows, then the text. A badge is an accent (`primary`) circle of `radius` around
|
|
@@ -5214,14 +5311,14 @@ interface ComposedEmphasis {
|
|
|
5214
5311
|
* blocks and a flow runs right to left; a list's badges sit on the side each entry's paragraph starts, as its markers would.
|
|
5215
5312
|
*/
|
|
5216
5313
|
interface ComposedSteps {
|
|
5217
|
-
form: 'row' | 'column' | '
|
|
5314
|
+
form: 'row' | 'column' | 'tiles';
|
|
5218
5315
|
/**
|
|
5219
5316
|
* The `sequence` region. `tiles` (LH-137's check-mark tiles, LH-165's icon cards, LH-162's text tiles): the list's region, or empty on a
|
|
5220
5317
|
* slide without a layout. A tile is a chip (one card each, in the card surface); its badges are LH-137's check marks, LH-165's numerals
|
|
5221
5318
|
* (`numeral`) or LH-162's accent dots (a badge with an empty label).
|
|
5222
5319
|
*/
|
|
5223
5320
|
region: string;
|
|
5224
|
-
/** `row`: the region's first block; `column
|
|
5321
|
+
/** `row`: the region's first block; `column` and `tiles`: the list's payload path (LH-165's groups: the first group's; LH-162: the first paragraph's). */
|
|
5225
5322
|
path: string;
|
|
5226
5323
|
badges: ComposedStepBadge[];
|
|
5227
5324
|
connector?: {
|
|
@@ -5252,7 +5349,6 @@ interface ComposedSteps {
|
|
|
5252
5349
|
*/
|
|
5253
5350
|
interface ComposedArrangement {
|
|
5254
5351
|
kind: Arrangement;
|
|
5255
|
-
pyramidDirection?: 'up' | 'down';
|
|
5256
5352
|
/**
|
|
5257
5353
|
* `smartart`: PowerPoint's Basic Pyramid or Basic Matrix geometry (the PPTX export may write it as live SmartArt); `opf`: OPF's own design
|
|
5258
5354
|
* of the arrangement (a stepped pyramid with the entries beside it, or four quadrants filling the region); `cards`: a matrix of other
|
|
@@ -5456,7 +5552,7 @@ interface ComposedRegion {
|
|
|
5456
5552
|
content: string[];
|
|
5457
5553
|
/** Content no region had room for, drawn here beyond `max` (`opf/layout-unplaced`; `paginate` moves it to a continuation slide). */
|
|
5458
5554
|
overflow?: string[];
|
|
5459
|
-
/** The region received no content and its cells joined a
|
|
5555
|
+
/** The region received no content and its cells joined a neighbor on this slide. */
|
|
5460
5556
|
collapsed?: true;
|
|
5461
5557
|
bleed?: true;
|
|
5462
5558
|
/** A bled region's cell inside the content box, before bleed. */
|
|
@@ -5466,7 +5562,7 @@ interface ComposedRegion {
|
|
|
5466
5562
|
interface ComposedHeadingArea {
|
|
5467
5563
|
name: 'title' | 'subtitle';
|
|
5468
5564
|
box: LayoutBox;
|
|
5469
|
-
/** The slide has no heading for it and its cells joined a
|
|
5565
|
+
/** The slide has no heading for it and its cells joined a neighbor. */
|
|
5470
5566
|
collapsed?: true;
|
|
5471
5567
|
/** The template has no `title` area: an `auto` row on top that holds the slide's headings. */
|
|
5472
5568
|
implicit?: true;
|
|
@@ -5596,7 +5692,7 @@ interface ComposedImage {
|
|
|
5596
5692
|
/**
|
|
5597
5693
|
* The slide's picture background (FA-22): the effective `design.background` (the slide's, then the deck's, then
|
|
5598
5694
|
* `ComposeSlideOptions.themeBackground`) when it is an image, in object form or as an image-source string. It fills
|
|
5599
|
-
* the whole canvas behind everything and never moves content. Paint order: the
|
|
5695
|
+
* the whole canvas behind everything and never moves content. Paint order: the color scheme's default slide
|
|
5600
5696
|
* background, the picture (with `recolor` and `opacity` on its pixels), the overlay, then furniture and content.
|
|
5601
5697
|
*/
|
|
5602
5698
|
interface ComposedBackgroundImage {
|
|
@@ -5694,7 +5790,7 @@ interface CompositionDecision {
|
|
|
5694
5790
|
path: string;
|
|
5695
5791
|
mode: NonNullable<Composition['mode']> | 'regions';
|
|
5696
5792
|
/**
|
|
5697
|
-
* `chart-primary`: the root split a
|
|
5793
|
+
* `chart-primary`: the root split a short chart's track (LH-49) from a synthetic container of the other nodes.
|
|
5698
5794
|
* `table-width` (LH-44): the grid of `selectedColumns` gave a table less than its words need, so the table took its natural width
|
|
5699
5795
|
* beside a column of the other blocks, or the whole width between rows of them.
|
|
5700
5796
|
* `paragraph-columns` (LH-70): similar paragraphs set as a grid of columns at a reading measure.
|
|
@@ -5843,8 +5939,6 @@ interface ComposeSlideOptions {
|
|
|
5843
5939
|
background?: unknown;
|
|
5844
5940
|
imageFit?: unknown;
|
|
5845
5941
|
logo?: unknown;
|
|
5846
|
-
contentDirection?: unknown;
|
|
5847
|
-
chartPrimary?: unknown;
|
|
5848
5942
|
listBullet?: unknown;
|
|
5849
5943
|
titleAlignment?: unknown;
|
|
5850
5944
|
contentAlignment?: unknown;
|
|
@@ -5861,7 +5955,7 @@ interface ComposeSlideOptions {
|
|
|
5861
5955
|
assets?: unknown;
|
|
5862
5956
|
};
|
|
5863
5957
|
/**
|
|
5864
|
-
* OPF 0.19: the resolved theme record's `design` (titleAlignment, contentAlignment, contentBox,
|
|
5958
|
+
* OPF 0.19: the resolved theme record's `design` (titleAlignment, contentAlignment, contentBox,
|
|
5865
5959
|
* imageFit, listBullet). It ranks below the deck's design and above the layout record's. `resolveSlideContext` passes it.
|
|
5866
5960
|
*/
|
|
5867
5961
|
themeDesign?: unknown;
|
|
@@ -6102,7 +6196,7 @@ interface FurnitureLayout {
|
|
|
6102
6196
|
}
|
|
6103
6197
|
/** Gap between the parts of one header/footer zone row, in reference pixels (scaled with the canvas's short edge). */
|
|
6104
6198
|
declare const FURNITURE_GAP = 12;
|
|
6105
|
-
/** Gap between the three header/footer zones, as a share of the canvas width. An empty zone's column is lent to its occupied
|
|
6199
|
+
/** Gap between the three header/footer zones, as a share of the canvas width. An empty zone's column is lent to its occupied neighbors. */
|
|
6106
6200
|
declare const FURNITURE_ZONE_GUTTER = 0.02;
|
|
6107
6201
|
/** In a zone with other parts, an image is at most this share of the zone's width, so a wide logo cannot starve the text. */
|
|
6108
6202
|
declare const FURNITURE_IMAGE_SHARE = 0.4;
|
|
@@ -6282,6 +6376,11 @@ interface QuoteLayoutOptions {
|
|
|
6282
6376
|
* scale's ratio). Each role grows by it up to its display size (`LONE_DISPLAY_SIZES`) and never shrinks; absent or 1, the role sizes.
|
|
6283
6377
|
*/
|
|
6284
6378
|
growth?: number;
|
|
6379
|
+
/**
|
|
6380
|
+
* LH-48 for a body of several metrics: every role grows by `growth` with no display cap of its own, so the value and its label keep their
|
|
6381
|
+
* ratio (a label capped at its display size while its value grows on would read smaller beside it).
|
|
6382
|
+
*/
|
|
6383
|
+
proportional?: boolean;
|
|
6285
6384
|
}
|
|
6286
6385
|
/**
|
|
6287
6386
|
* LH-48: the largest size, in reference pixels, a role of a lone block grows to (`growth`): text one and a half times its role size,
|
|
@@ -7290,10 +7389,14 @@ declare const LIST_DISPLAY_GAP = 0.3;
|
|
|
7290
7389
|
declare const STEP_BADGE = 1.75;
|
|
7291
7390
|
/** LH-07: the space between a badge and its step's text, and the least space between two badges of a column, as a share of its diameter. */
|
|
7292
7391
|
declare const STEP_BADGE_GAP = 0.4;
|
|
7293
|
-
/**
|
|
7294
|
-
|
|
7295
|
-
|
|
7296
|
-
|
|
7392
|
+
/**
|
|
7393
|
+
* OPF 0.35: a lone list of a `steps` region draws PowerPoint's Basic Process (the `process` arrangement) when it has this many entries at
|
|
7394
|
+
* least and at most, each of one or two words, at most STEP_PROCESS_CHARACTERS long, with no description or icon, and the process holds
|
|
7395
|
+
* every entry at the size the steps would have or larger; otherwise it draws as steps.
|
|
7396
|
+
*/
|
|
7397
|
+
declare const STEP_PROCESS_MIN = 2;
|
|
7398
|
+
declare const STEP_PROCESS_MAX = 8;
|
|
7399
|
+
declare const STEP_PROCESS_CHARACTERS = 24;
|
|
7297
7400
|
/**
|
|
7298
7401
|
* LH-85: the bullet of each nesting level, by `level % LIST_MARKERS.length`, drawn at the entry's size. Every bundled text face has
|
|
7299
7402
|
* • (U+2022) and the en dash (U+2013); ◦ (U+25E6) and ▪ (U+25AA), the former level 1 and 2 bullets, are missing from most of them
|
|
@@ -7442,7 +7545,7 @@ declare const EMPHASIS_PILL_MAX_CHARACTERS = 30;
|
|
|
7442
7545
|
/** LH-06 (widened): a last text of up to this many characters is a foot band when it follows two or more charts or tables (a takeaway). */
|
|
7443
7546
|
declare const EMPHASIS_TAKEAWAY_MAX_CHARACTERS = 120;
|
|
7444
7547
|
/**
|
|
7445
|
-
* LH-170: a closing note (a
|
|
7548
|
+
* LH-170: a closing note (a verdict region's text (verdictRegion), or the paragraph after a row of figures) is a foot band when it sets in at most this
|
|
7446
7549
|
* many lines across the band at its size.
|
|
7447
7550
|
*/
|
|
7448
7551
|
declare const EMPHASIS_NOTE_LINES = 3;
|
|
@@ -7526,5 +7629,5 @@ declare function resolveCanvasDimensions(input: unknown): {
|
|
|
7526
7629
|
height: number;
|
|
7527
7630
|
};
|
|
7528
7631
|
|
|
7529
|
-
export { ARROW_ADJUST as $, isSupportedNumberingSystem as A, languageInEffect as B, localizeDigits as D, ENGINE_DEFAULT_CHART_TYPES as E, markLabelColor as G, normalizeLanguageFamily as H, numberLocale as I, numberingSystemExtension as J, numberingSystemOf as K, numeralScripts as O, plainLanguageTag as P, shapesPending as Q, SOCIAL_PLATFORMS as S, supportedNumberingSystems as U, ARRANGEMENTS as V, ARRANGEMENT_CARDS_MAX as W, ARRANGEMENT_GROWTH as X, ARRANGEMENT_LINE_POINTS as Y, ARRANGEMENT_MAX as Z, ARRANGEMENT_TEXT_MARGIN as _, CYCLE_ARROW as a$, ASCII_QUOTE_MARKS as a0, AUTO_FIT_MIN_KEPT as a1, AUTO_LAYOUT 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_NOMINAL_SIZE as c$, DEFAULT_CHART_LABEL_SEPARATOR as cU, DEFAULT_FURNITURE_DATE_FORMAT as cV, DEFAULT_SHAPE_STYLE as cW, DESIGN_HINT_KEYS as cX, DIAGRAM_BORDER_MIN_CONTRAST as cY, DIAGRAM_LINE_MIN_CONTRAST as cZ, DIAGRAM_MAX_EDGES as c_, DIAGRAM_SECONDARY_FLOOR as d0, DIAGRAM_SHAPE_FAMILIES as d1, DIAGRAM_SOURCE_LIMIT as d2, DIAGRAM_SURFACE_ALT_MIX as d3, DIAGRAM_SURFACE_MIX as d4, DIAGRAM_SYNTAXES as d5, DISPLAY_LINE_PITCH as d6, DISPLAY_SIZE_FACTOR as d7, DISPLAY_TRACKING as d8, DOT_LAYOUT_ENGINES as d9, EYEBROW_MIN_SIZE as dA, EYEBROW_SHARE as dB, EYEBROW_TAG_SIZE as dC, EYEBROW_TEXT_KIND as dD, EYEBROW_TRACKING as dE, FEATURED_LABEL_MAX_CHARACTERS as dF, FEATURED_LABEL_MAX_WORDS as dG, FEATURED_MARK_MAX_CHARACTERS as dH, FEATURED_MAX_CELLS as dI, FIGURE_CEILING as dJ, FIGURE_ROW_MAX as dK, FIGURE_ROW_MIN as dL, FIGURE_WORDS as dM, FLOW_ROUND_ADJUST as dN, FONT_SIZE_GRID_PER_PX as dO, FOOTNOTE_MAX_RATIO as dP, FURNITURE_GAP as dQ, FURNITURE_IMAGE_SHARE as dR, FURNITURE_ZONE_GUTTER as dS, DOT_SHAPES as da, EMPHASIS_BAND_MAX_CHARACTERS as dq, EMPHASIS_BAND_MAX_SHARE as dr, EMPHASIS_NOTE_LINES as ds, EMPHASIS_PILL_MAX_CHARACTERS as dt, EMPHASIS_PILL_SIZE as du, EMPHASIS_TAKEAWAY_MAX_CHARACTERS as dv, EYEBROW_GAP as dw, EYEBROW_LABEL_CHARS as dx, EYEBROW_LABEL_WORDS as dy, EYEBROW_MAX_SIZE as dz, ENGINE_DEFAULT_COLOR_SCHEME as e, GROUPED_LABEL_CODE as e5, HEADING_AREAS as e8, HEADING_DISPLAY_SIZES as e9, LIST_ACCENT_RULE_WIDTH as eA, LIST_DISPLAY_GAP as eB, LIST_DISPLAY_RULE as eC, LIST_DISPLAY_SCALE as eD, LIST_HEADING_SCALE as eE, LIST_MARKERS as eF, LIST_NOMINAL_SIZE as eG, LIST_NUMERAL_GAP as eH, LIST_NUMERAL_SCALE as eI, LIST_QUESTION_LINES as eJ, LIST_ROWS_GAP as eK, LIST_ROWS_LABEL_SHARE as eL, LIST_ROWS_SPREAD as eM, LIST_RULE_WIDTH as eN, LIST_WHOLE_ENTRIES as eO, LONE_DISPLAY_SIZES as eP, LONE_FILL as eQ, LONE_METRIC_TARGET as eR, LONE_TARGET as eS, HISTOGRAM_LABEL_SLOT as ea, HISTOGRAM_MIN_BINS as eb, ICON_CARD_DESCRIPTION as ed, ICON_CARD_DESCRIPTION_CHARACTERS as ee, ICON_CARD_FILL as ef, ICON_CARD_LABEL_CHARACTERS as eg, ICON_CARD_LABEL_WORDS as eh, ICON_CARD_MAX as ei, ICON_CARD_MIN as ej, ICON_CHIP as ek, ICON_CHIP_COMPACT as el, ICON_CHIP_GAP as em, ICON_GLYPH as en, JOINED_FIXED_MAX as eu, LAYOUT_BODY_KINDS as ew, LEAD_NOMINAL_SIZE as ex, LINEAR_ARRANGEMENTS as ey, LINEAR_TEXT_MARGINS as ez, ENGINE_DEFAULT_FONT_SCHEME as f, MESSAGE_CEILINGS as fA, MESSAGE_DISPLAY_LINES as fB, MESSAGE_DISPLAY_SIZE as fC, METRIC_BAND_MIN_COLUMN as fD, METRIC_BAND_RATIO as fE, METRIC_BAND_VALUE_SHARE as fF, METRIC_DISPLAY_HEIGHT as fG, METRIC_DISPLAY_SIZES as fH, METRIC_DISPLAY_WIDTH as fI, METRIC_ICON_TEXT as fJ, METRIC_PILL_PAD_X as fK, METRIC_PILL_PAD_Y as fL, METRIC_PILL_RISE as fM, METRIC_ROLE_VALUE_SIZE as fN, METRIC_TILE_VALUE_SHARE as fO, METRIC_TREND_ARROW_GAP as fP, METRIC_TREND_ARROW_SIZE as fQ, METRIC_TREND_MIN_CONTRAST as fR, METRIC_TREND_SHAPES as fS, METRIC_UNIT_GAP as fT, METRIC_UNIT_SHARE as fU, METRIC_VALUE_MIN_CONTRAST as fV, MIN_MEASURE_CHARS as fW, MM_PER_PX as fX, MOVED_ROW_MAX as fY, MATRIX_BACKGROUND_LIGHTEN as fn, MATRIX_ENTRIES as fo, MATRIX_GAP as fp, MATRIX_INSET as fq, MATRIX_QUADRANT as fr, MAX_COMPOSITION_DEPTH as fs, MAX_NUMBERING_LEVELS as ft, MAX_NUMBERING_VALUE as fu, MAX_REGION_BLOCKS as fv, MAX_REGION_DEPTH as fw, MAX_REGION_ENTRIES as fx, MAX_ROMAN_VALUE as fy, MAX_TEMPLATE_TRACKS as fz, ENGINE_DEFAULT_THEME as g, PICTURE_PANEL_SHARES as g$, NOTE_PEER_RATIO as g7, NOTE_PEER_WORDS as g8, NUMBERING_STYLES as g9, OPF_LAYOUT_DESIGNS as gA, OPF_LAYOUT_KIND as gB, OPF_LAYOUT_MAX as gC, OPF_LINES_MAX as gD, OVERLAY_ANCHOR_SHARE as gE, OVERLAY_BODY_SHARE as gF, OVERLAY_EDGES as gG, OVERLAY_LAYERS as gH, PAIR_ARROW_HEIGHT as gO, PAIR_ARROW_MARGIN as gP, PAIR_ARROW_WIDTH as gQ, PAIR_FIGURE_KINDS as gR, PAIR_GRID_ANSWER as gS, PAIR_GRID_MIN as gT, PAIR_GRID_QUESTION as gU, PAIR_LENGTH_RATIO as gV, PANEL_SCRIM_LIMIT as gW, PATTERN_PRESETS as gX, PATTERN_PRESET_ALIASES as gY, PATTERN_TILE_SIZE as gZ, PICTURE_BULLET_SCALE as g_, NUMBERING_SUFFIXES as ga, NUMBERING_SYSTEMS as gb, NUMBER_GROUPING_MIN as gc, NUMBER_LOCALES as gd, NUMBER_LOCALE_SOURCE as ge, NUMBER_SEPARATOR_OVERRIDES as gf, NUMERAL_SHAPES as gg, NUMERAL_TAKEAWAYS as gh, OPFCompositionError as gr, OPFLayoutTemplateError as gs, OPF_ARROW_LENGTH as gt, OPF_ARROW_ROOM as gu, OPF_ARROW_THICKNESS as gv, OPF_CHEVRON_DEPTH as gw, OPF_COLUMN_ARROW_LENGTH as gx, OPF_COLUMN_ARROW_THICKNESS as gy, OPF_COLUMN_ROOM as gz, LANGUAGES as h, REGION_ANCHORS as h$, PICTURE_STROKE_WIDTH as h0, PICTURE_TEXT_COLUMNS as h1, PICTURE_TEXT_PLACEMENTS as h2, PILLAR_MAX as h3, PILLAR_WORD_MAX as h4, PLACED_TILE_LINES as h5, PLACED_TILE_SHARE as h6, PLANTUML_DIAGRAMS as h7, PORTRAIT_FOCUS_Y as h8, PORTRAIT_GAP as h9, QUOTE_MARK as hD, QUOTE_MARKS as hE, QUOTE_NOMINAL_SIZE as hF, QUOTE_PORTRAIT_GAP as hG, QUOTE_PORTRAIT_MIN_WIDTH as hH, QUOTE_PORTRAIT_SHARE as hI, QUOTE_PORTRAIT_STEP as hJ, QUOTE_PULL_LINES as hK, QUOTE_PULL_MAX_CHARACTERS as hL, QUOTE_PULL_PREFIX as hM, QUOTE_PULL_ROLE_SEPARATOR as hN, QUOTE_PULL_RULE as hO, QUOTE_SOURCE_SEPARATOR as hP, RADAR_BOTTOM_LEGEND_GAIN as h_, PORTRAIT_MIN as ha, PORTRAIT_MODES as hb, PORTRAIT_SIDE_CHARS as hc, PORTRAIT_SIDE_FILL as hd, PORTRAIT_SIDE_MAX as he, PORTRAIT_SIDE_SHARE as hf, PORTRAIT_SIDE_SHARES as hg, PORTRAIT_TALLEST as hh, PORTRAIT_TEXT_SIZE as hi, PORTRAIT_TOP_MAX as hj, PORTRAIT_WIDEST as hk, PROSE_NOMINAL_SIZE as hl, PYRAMID_MAX_ASPECT as hm, PYRAMID_STEPS_ASPECT as hn, PYRAMID_STEPS_SHARE as ho, PYRAMID_TEXT_WIDTH as hp, LOGO_SHAPES as i, REGION_FLOWS as i0, REGION_KINDS as i1, REGION_ROLES as i2, RESERVED_REGION_NAMES as i3, ROUND_RECT_ADJUST as i4, ROW_LABEL_CHARS as i5, ROW_LABEL_WORDS as i6, RUN_IN_HEADING_CHARS as i7, SCRIM_FADE as iA, SCRIM_MARGIN as iB, SCRIM_TARGET_CONTRAST as iC, SHAPE_BLOCK_KEYS as iD, SHAPE_EFFECT_KEYS as iE, SHAPE_PADDING as iF, SHAPE_PRESETS as iG, SHAPE_STROKE_WIDTH as iH, SHAPE_STYLES as iI, SHORT_MESSAGE_WORDS as iJ, SHORT_TEXT_WORDS as iK, SMALL_CHART_MAX_POINTS as iL, SMALL_CHART_MAX_SERIES as iM, SMART_ART_DOMAIN as iN, SMART_ART_LAYOUTS as iO, SMART_ART_NAMES as iP, SMART_ART_OPF_DOMAIN as iQ, SMART_ART_SCALES as iR, STEP_BADGE as iS, STEP_BADGE_GAP as iT, STEP_FLOW_CHARACTERS as iU, STEP_FLOW_MAX as iV, STEP_FLOW_MIN as iW, STUB_LINE_SHARE as iX, SALIENT_LIMIT as iz, alignBarRows as j$, TABLE_NOMINAL_SIZE as je, TABLE_NUMERIC_SHARE as jf, TEAM_AVATAR as jg, TERM_WORDS as jh, TEXT_ONLY_LABELS as ji, TEXT_TILE_CHARACTERS as jj, TEXT_TILE_LINES as jk, TEXT_TILE_MARKER as jl, TEXT_TILE_MAX as jm, TEXT_TILE_MIN as jn, THEME_DESIGN_KEYS as jo, TIER_MAX as jp, TIER_VALUE_SIZES as jq, TIMELINE_OUTLINE_MIN_CONTRAST as jr, TIMELINE_STATUSES as js, TIMELINE_STATUS_WORDS as jt, TIMELINE_TEXT_MIN_CONTRAST as ju, TITLE_RULE_SIZE as jv, composeShape as k$, allocateRows as k0, annotationText as k1, arrangementPaint as k2, arrangementTree as k3, autoImageFit as k4, bindNoBreak as k5, bindRegions as k6, blockKind as k7, capitalsLabel as k8, captionSettings as k9, chartReferences as kA, chartRingLabels as kB, chartSliceLabels as kC, chartSlideFocus as kD, chartStack as kE, chartTextSize as kF, chartTitleFocus as kG, chartValueAxis as kH, chartValueAxisHidden as kI, chartValueList as kJ, chartWaterfall as kK, checkDiagram as kL, checkMarkPoints as kM, chevronNodes as kN, chooseConnectorSites as kO, choosePictureText as kP, citationMarkerText as kQ, codeHighlightBands as kR, codeHighlightColors as kS, codeHighlightLines as kT, codeLineNumbers as kU, codeLineRuns as kV, codeSyntaxPalette as kW, codeSyntaxPaletteForRoles as kX, codeSyntaxPaletteForScheme as kY, collectCitations as kZ, composeLayoutAreas as k_, cardGridColumns as ka, cardNodes as kb, chartAxisFraction as kc, chartAxisScale as kd, chartBarGeometry as ke, chartBarSeriesOffset as kf, chartCategoriesInTime as kg, chartComboAxes as kh, chartDoughnut as ki, chartEndLabels as kj, chartHeader as kk, chartHeaderCaption as kl, chartHighlightMarks as km, chartHistogram as kn, chartIntervalsFor as ko, chartLabelText as kp, chartLayer as kq, chartLayerDataLabels as kr, chartNumberLanguage as ks, chartNumericAxes as kt, chartOptionSupport as ku, chartOptionTarget as kv, chartPlotBox as kw, chartPlotInset as kx, chartRadarLayout as ky, chartReferenceSources as kz, itemAlignment as l$, composeSlide as l0, compositeLayoutDefinition as l1, connectorAdjustPreset as l2, connectorRoute as l3, coverKept as l4, cycleAspect as l5, cycleFrame as l6, cycleLoop as l7, cycleNodes as l8, cycleRing as l9, grayOfLuminance as lA, gridFlowShape as lB, groupBinding as lC, groupNumber as lD, groupingNode as lE, groupsAxisTicks as lF, groupsDataRange as lG, groupsThousands as lH, hasOverlayShapes as lI, histogramBins as lJ, histogramEdgeDecimals as lK, histogramEdgeFormat as lL, histogramEdgeText as lM, horizontalBarPlot as lN, imageBackground as lO, imageShape as lP, intrinsicImageAspect as lQ, intrinsicImageSize as lR, isLabelText as lS, isLayoutTemplate as lT, isLinearArrangement as lU, isOverlayConnector as lV, isPresetShape as lW, isShapeBlock as lX, isTimeFieldTitle as lY, isWrappedInQuoteMarks as lZ, isolateNumbers as l_, defaultImageFocus as la, diagramPalette as lb, diagramPayload as lc, displayDepth as ld, displayFrom as le, displayTracks as lf, dotToMermaid as lg, endLabelText as lh, evaluateLayoutDefinition as li, eyebrowCaps as lj, eyebrowLabel as lk, eyebrowSize as ll, featuredCells as lm, figureList as ln, figureText as lo, fitImage as lp, fitList as lq, fitRichText as lr, fitText as ls, flowNodes as lt, focusHits as lu, formatChartLabelNumber as lv, formatChartLabelPercent as lw, formatFurnitureDate as lx, formatListNumber as ly, frameToSlide as lz, paintDiagram as m$, itemizeScripts as m0, layoutArrangement as m1, layoutCaption as m2, layoutCode as m3, layoutContent as m4, layoutDiagram as m5, layoutEntries as m6, layoutFootnotes as m7, layoutFurniture as m8, layoutMetric as m9, matrixSquare as mA, maxIntervalsFor as mB, measureMonospaceText as mC, measureText as mD, measureTextOutline as mE, messageCeiling as mF, messageCharacters as mG, messageWords as mH, metricPillFill as mI, metricTrendColor as mJ, metricTrendMark as mK, metricTrendPoints as mL, metricValueColor as mM, monthOf as mN, nativeTreeGeometry as mO, niceScale as mP, nodeWidthAt as mQ, numberRanges as mR, numberingAtLevel as mS, numberingStyleDraws as mT, numeralShapePrefix as mU, numericText as mV, oneMessageField as mW, opfLayoutGeometry as mX, opfSmartArtUnavailable as mY, overlayIssues as mZ, overlaysDrawBody as m_, layoutQuote as ma, layoutRegion as mb, layoutStructure as mc, layoutTable as md, layoutTemplate as me, layoutTemplateIssues as mf, layoutTimeline as mg, layoutWatermark as mh, lineMayStartAt as mi, linePitch as mj, linearDesign as mk, linearMargins as ml, linearNodes as mm, listColumnBreaks as mn, listGridShape as mo, listNumberLabel as mp, listNumbers as mq, localizeNumberParts as mr, localizeNumberText as ms, localizePatternNumber as mt, lonePayload as mu, luminanceGrid as mv, majorityKind as mw, markQuote as mx, matrixNodes as my, matrixQuadrants as mz, shareSiblingPlots as n$, paintDiagramGroup as n0, pairEntry as n1, paragraphDirection as n2, paragraphDirectionAt as n3, paretoPlan as n4, patternBitmap as n5, patternRuns as n6, physicalAlignment as n7, pictureOverlay as n8, pictureScrims as n9, resolveFontFamilies as nA, resolveLogo as nB, resolveNumbering as nC, resolvePatternPreset as nD, resolveScriptFonts as nE, resolveSlideDirection as nF, resolveSocialProfile as nG, resolveTextStyle as nH, restackForRows as nI, rightArrowPoints as nJ, rootNodes as nK, rowLabel as nL, runInHeading as nM, sampledGrays as nN, sampledWeight as nO, scorePictureText as nP, scottBinCount as nQ, scrimGeometry as nR, scrimOpacity as nS, scriptFontRole as nT, scriptOfCharacter as nU, shapeIssues as nV, shapeSites as nW, shapeStyleLook as nX, shapeTextColor as nY, shareHeights as nZ, shareSiblingChartAxes as n_, placeEndLabels as na, placeReferences as nb, placeStackNames as nc, placeTextLines as nd, placedImageBlocks as ne, plantumlToMermaid as nf, presetAspect as ng, presetMask as nh, presetTextRect as ni, pyramidFrame as nj, pyramidNodes as nk, pyramidSteps as nl, questionText as nm, quoteLanguage as nn, quoteMarksFor as no, rectSites as np, referencesSlide as nq, refreshChartMarks as nr, refreshEndLabels as ns, regionAccepts as nt, regionRoleRank as nu, repeatedPairs as nv, resolveCanvasDimensions as nw, resolveChartOptions as nx, resolveCodeLanguage as ny, resolveDesignHints as nz, sliceNumberedItems as o0, slideBlockIds as o1, slideCitations as o2, slideFocusSources as o3, smallChart as o4, smartArtScript as o5, smartArtUnavailable as o6, snapFontSizeDown as o7, snapFontSizeUp as o8, stackCategoryValues as o9, waterfallSignedFormat as oA, waterfallSteps as oB, wrapText as oC, stackedText as oa, statementMessage as ob, stubLine as oc, styledText as od, tableGrid as oe, tableHighlightRows as of, tableRowBoundaries as og, tableSlideFocus as oh, textInkBox as oi, textLength as oj, textWidthMeasurer as ok, timelineMarkerShapes as ol, timelineStatusWordsFor as om, timelineTextColor as on, tokenizeCode as oo, trackingWidth as op, translatePathData as oq, turnedShapeBox as or, unbindNoBreak as os, unwrapQuoteMarks as ot, vennNodes as ou, verticalFlowNodes as ov, visualReadingOrder as ow, walkCitationRuns as ox, waterfallLabelText as oy, waterfallRoles as oz, asciiDigits as r, chartDrawDiagnostics as s, chartDrawPlan as t, diagramsPending as u, ensureDiagrams as v, ensureShapes as w, formatNumber as x, formatPercentNumber as y, isPlaceLabel as z };
|
|
7530
|
-
export type { ComposeSlideOptions as C, Fonts as F, LayoutDiagnostic as L, MessageSurface as M, NumberLocale as N, ResolveLogoOptions as R, TextMeasurement as T, FontFamilies as a, AnnotatedRun as a3, AnnotationFitter as a4, AnnotationLayoutOptions as a5, Arrangement as a6, ArrangementArrow as a7, ArrangementColor as a8, ArrangementNode as a9, ArrangementPaint as aa, ArrangementTreeNode as ab, ArrangementTreeResult as ac, BackgroundImageFit as af, BindRegionsOptions as ag, BoundBlock as ah,
|
|
7632
|
+
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 hH, QUOTE_MARKS as hI, QUOTE_NOMINAL_SIZE as hJ, QUOTE_PORTRAIT_GAP as hK, QUOTE_PORTRAIT_MIN_WIDTH as hL, QUOTE_PORTRAIT_SHARE as hM, QUOTE_PORTRAIT_STEP as hN, QUOTE_PULL_LINES as hO, QUOTE_PULL_MAX_CHARACTERS as hP, QUOTE_PULL_PREFIX as hQ, QUOTE_PULL_ROLE_SEPARATOR as hR, QUOTE_PULL_RULE as hS, QUOTE_SOURCE_SEPARATOR as hT, 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_TEXT_WIDTH as ht, LANGUAGES as i, STEP_PROCESS_CHARACTERS as i$, RADAR_BOTTOM_LEGEND_GAIN as i2, REGION_ANCHORS as i3, REGION_ARRANGEMENTS as i4, REGION_FLOWS as i5, REGION_KINDS as i6, REGION_ROLES as i7, RESERVED_REGION_NAMES as i8, ROUND_RECT_ADJUST as i9, SALIENT_LIMIT as iF, SCRIM_FADE as iG, SCRIM_MARGIN as iH, SCRIM_TARGET_CONTRAST as iI, SEQUENCE_ARRANGEMENTS as iJ, SHAPE_BLOCK_KEYS as iK, SHAPE_EFFECT_KEYS as iL, SHAPE_PADDING as iM, SHAPE_PRESETS as iN, SHAPE_STROKE_WIDTH as iO, SHAPE_STYLES as iP, SHORT_MESSAGE_WORDS as iQ, SHORT_TEXT_WORDS as iR, SMALL_CHART_MAX_POINTS as iS, SMALL_CHART_MAX_SERIES as iT, SMART_ART_DOMAIN as iU, SMART_ART_LAYOUTS as iV, SMART_ART_NAMES as iW, SMART_ART_OPF_DOMAIN as iX, SMART_ART_SCALES as iY, STEP_BADGE as iZ, STEP_BADGE_GAP as i_, ROW_LABEL_CHARS as ia, ROW_LABEL_WORDS as ib, RUN_IN_HEADING_CHARS as ic, LOGO_SHAPES as j, STEP_PROCESS_MAX as j0, STEP_PROCESS_MIN as j1, STUB_LINE_SHARE as j2, TIMELINE_STATUSES as jA, TIMELINE_STATUS_WORDS as jB, TIMELINE_TEXT_MIN_CONTRAST as jC, TITLE_BESIDE_SHARE as jD, TITLE_POSITIONS as jE, TITLE_RULE_SIZE as jF, TABLE_NOMINAL_SIZE as jm, TABLE_NUMERIC_SHARE as jn, TEAM_AVATAR as jo, TERM_WORDS as jp, TEXT_ONLY_LABELS as jq, TEXT_TILE_CHARACTERS as jr, TEXT_TILE_LINES as js, TEXT_TILE_MARKER as jt, TEXT_TILE_MAX as ju, TEXT_TILE_MIN as jv, THEME_DESIGN_KEYS as jw, TIER_MAX as jx, TIER_VALUE_SIZES as jy, TIMELINE_OUTLINE_MIN_CONTRAST as jz, choosePictureText as k$, alignBarRows as k9, chartIntervalsFor as kA, chartLabelText as kB, chartLayer as kC, chartLayerDataLabels as kD, chartNumberLanguage as kE, chartNumericAxes as kF, chartOptionSupport as kG, chartOptionTarget as kH, chartPlotBox as kI, chartPlotInset as kJ, chartRadarLayout as kK, chartReferenceSources as kL, chartReferences as kM, chartRingLabels as kN, chartSliceLabels as kO, chartSlideFocus as kP, chartStack as kQ, chartTextSize as kR, chartTitleFocus as kS, chartValueAxis as kT, chartValueAxisHidden as kU, chartValueList as kV, chartWaterfall as kW, checkDiagram as kX, checkMarkPoints as kY, chevronNodes as kZ, chooseConnectorSites as k_, allocateRows as ka, annotationText as kb, arrangementPaint as kc, arrangementTree as kd, autoImageFit as ke, bindNoBreak as kf, bindRegions as kg, blockKind as kh, capitalsLabel as ki, captionSettings as kj, cardGridColumns as kk, cardNodes as kl, cellBlocks as km, cellsInReadingOrder as kn, chartAxisFraction as ko, chartAxisScale as kp, chartBarGeometry as kq, chartBarSeriesOffset as kr, chartCategoriesInTime as ks, chartComboAxes as kt, chartDoughnut as ku, chartEndLabels as kv, chartHeader as kw, chartHeaderCaption as kx, chartHighlightMarks as ky, chartHistogram as kz, imageShape as l$, citationMarkerText as l0, codeHighlightBands as l1, codeHighlightColors as l2, codeHighlightLines as l3, codeLineNumbers as l4, codeLineRuns as l5, codeSyntaxPalette as l6, codeSyntaxPaletteForRoles as l7, codeSyntaxPaletteForScheme as l8, collectCitations as l9, figureText as lA, fitImage as lB, fitList as lC, fitRichText as lD, fitText as lE, flowNodes as lF, focusHits as lG, formatChartLabelNumber as lH, formatChartLabelPercent as lI, formatFurnitureDate as lJ, formatListNumber as lK, frameToSlide as lL, grayOfLuminance as lM, gridFlowShape as lN, groupBinding as lO, groupNumber as lP, groupingNode as lQ, groupsAxisTicks as lR, groupsDataRange as lS, groupsThousands as lT, hasOverlayShapes as lU, histogramBins as lV, histogramEdgeDecimals as lW, histogramEdgeFormat as lX, histogramEdgeText as lY, horizontalBarPlot as lZ, imageBackground as l_, composeLayoutAreas as la, composeShape as lb, composeSlide as lc, compositeLayoutDefinition as ld, connectorAdjustPreset as le, connectorRoute as lf, coverKept as lg, cycleAspect as lh, cycleFrame as li, cycleLoop as lj, cycleNodes as lk, cycleRing as ll, defaultImageFocus as lm, diagramPalette as ln, diagramPayload as lo, displayDepth as lp, displayFrom as lq, displayTracks as lr, dotToMermaid as ls, endLabelText as lt, evaluateLayoutDefinition as lu, eyebrowCaps as lv, eyebrowLabel as lw, eyebrowSize as lx, featuredCells as ly, figureList as lz, metricTrendPoints as m$, intrinsicImageAspect as m0, intrinsicImageSize as m1, isArrangement as m2, isGridCell as m3, isLabelText as m4, isLayoutTemplate as m5, isLinearArrangement as m6, isOverlayConnector as m7, isPresetShape as m8, isRegionArrangement as m9, linearDesign as mA, linearMargins as mB, linearNodes as mC, listColumnBreaks as mD, listGridShape as mE, listNumberLabel as mF, listNumbers as mG, localizeNumberParts as mH, localizeNumberText as mI, localizePatternNumber as mJ, lonePayload as mK, luminanceGrid as mL, majorityKind as mM, markQuote as mN, matrixNodes as mO, matrixQuadrants as mP, matrixSquare as mQ, maxIntervalsFor as mR, measureMonospaceText as mS, measureText as mT, measureTextOutline as mU, messageCeiling as mV, messageCharacters as mW, messageWords as mX, metricPillFill as mY, metricTrendColor as mZ, metricTrendMark as m_, isSequenceArrangement as ma, isShapeBlock as mb, isTimeFieldTitle as mc, isWrappedInQuoteMarks as md, isolateNumbers as me, itemAlignment as mf, itemizeScripts as mg, layoutArrangement as mh, layoutCaption as mi, layoutCode as mj, layoutContent as mk, layoutDiagram as ml, layoutEntries as mm, layoutFootnotes as mn, layoutFurniture as mo, layoutMetric as mp, layoutQuote as mq, layoutRegion as mr, layoutStructure as ms, layoutTable as mt, layoutTemplate as mu, layoutTemplateIssues as mv, layoutTimeline as mw, layoutWatermark as mx, lineMayStartAt as my, linePitch as mz, restackForRows as n$, metricValueColor as n0, monthOf as n1, nativeTreeGeometry as n2, niceScale as n3, nodeWidthAt as n4, numberRanges as n5, numberingAtLevel as n6, numberingStyleDraws as n7, numeralShapePrefix as n8, numericText as n9, pyramidNodes as nA, pyramidSteps as nB, questionText as nC, quoteLanguage as nD, quoteMarksFor as nE, rectSites as nF, referencesSlide as nG, refreshChartMarks as nH, refreshEndLabels as nI, regionAccepts as nJ, regionDiagram as nK, regionListColumns as nL, regionRoleRank as nM, regionSequence as nN, repeatedPairs as nO, resolveCanvasDimensions as nP, resolveChartOptions as nQ, resolveCodeLanguage as nR, resolveDesignHints as nS, resolveFontFamilies as nT, resolveLogo as nU, resolveNumbering as nV, resolvePatternPreset as nW, resolveScriptFonts as nX, resolveSlideDirection as nY, resolveSocialProfile as nZ, resolveTextStyle as n_, oneMessageField as na, opfLayoutGeometry as nb, opfSmartArtUnavailable as nc, overlayIssues as nd, overlaysDrawBody as ne, paintDiagram as nf, paintDiagramGroup as ng, pairEntry as nh, paragraphDirection as ni, paragraphDirectionAt as nj, paretoPlan as nk, patternBitmap as nl, patternRuns as nm, physicalAlignment as nn, pictureOverlay as no, pictureScrims as np, placeEndLabels as nq, placeReferences as nr, placeStackNames as ns, placeTextLines as nt, placedImageBlocks as nu, plantumlToMermaid as nv, presetAspect as nw, presetMask as nx, presetTextRect as ny, pyramidFrame as nz, rightArrowPoints as o0, rootNodes as o1, rowLabel as o2, runInHeading as o3, sampledGrays as o4, sampledWeight as o5, scorePictureText as o6, scottBinCount as o7, scrimGeometry as o8, scrimOpacity as o9, tableSlideFocus as oA, textInkBox as oB, textLength as oC, textWidthMeasurer as oD, timelineMarkerShapes as oE, timelineStatusWordsFor as oF, timelineTextColor as oG, titleBesideTemplate as oH, tokenizeCode as oI, trackingWidth as oJ, translatePathData as oK, turnedShapeBox as oL, unbindNoBreak as oM, unwrapQuoteMarks as oN, vennNodes as oO, verticalFlowNodes as oP, visualReadingOrder as oQ, walkCitationRuns as oR, waterfallLabelText as oS, waterfallRoles as oT, waterfallSignedFormat as oU, waterfallSteps as oV, wrapText as oW, scriptFontRole as oa, scriptOfCharacter as ob, shapeIssues as oc, shapeSites as od, shapeStyleLook as oe, shapeTextColor as of, shareHeights as og, shareSiblingChartAxes as oh, shareSiblingPlots as oi, sliceNumberedItems as oj, slideBlockIds as ok, slideCitations as ol, slideFocusSources as om, smallChart as on, smartArtScript as oo, smartArtUnavailable as op, snapFontSizeDown as oq, snapFontSizeUp as or, stackCategoryValues as os, stackedText as ot, statementMessage as ou, stubLine as ov, styledText as ow, tableGrid as ox, tableHighlightRows as oy, tableRowBoundaries as oz, asciiDigits as s, chartDrawDiagnostics as t, chartDrawPlan as u, diagramsPending as v, ensureDiagrams as w, ensureShapes as x, formatNumber as y, formatPercentNumber as z };
|
|
7633
|
+
export type { ComposeSlideOptions as C, Fonts as F, LayoutDiagnostic as L, MessageSurface as M, NumberLocale as N, ResolveLogoOptions as R, TextMeasurement as T, FontFamilies as a, AnnotatedRun as a3, AnnotationFitter as a4, AnnotationLayoutOptions as a5, Arrangement as a6, ArrangementArrow as a7, ArrangementColor as a8, ArrangementNode as a9, ArrangementPaint as aa, ArrangementTreeNode as ab, ArrangementTreeResult as ac, BackgroundImageFit as af, BindRegionsOptions as ag, BoundBlock as ah, CodeLayoutDiagnostic as b$, Caption as b7, CaptionAlignment as b8, CaptionObject as b9, ChartLegendPosition as bA, ChartNumericAxes as bB, ChartOptionDiagnostic as bC, ChartOptionKind as bD, ChartOptionSupport as bE, ChartOptionTarget as bF, ChartPlotGeometry as bG, ChartPlotInset as bH, ChartReference as bI, ChartReferenceDiagnostic as bJ, ChartReferenceLine as bK, ChartScale as bL, ChartSliceLabel as bM, ChartStackEnd as bN, ChartStackName as bO, ChartValueAxis as bP, ChartValueListHole as bQ, ChartValueListRow as bR, CitationMarker as bS, CitationNote as bT, CodeContent as bU, CodeHighlightBand as bV, CodeHighlightColors as bW, CodeHighlightEntry as bX, CodeHighlightIssue as bY, CodeHighlightLines as bZ, CodeLayout as b_, CaptionPosition as ba, CaptionSettings as bb, CellBlock as bc, ChartAxisGeometry as bd, ChartBarGeometry as be, ChartEndLabel as bf, ChartHeaderLegendEntry as bg, ChartHighlightMarks as bh, ChartLabelContent as bi, ChartLabelPosition as bj, ChartLayer as bk, ChartLayerDoughnut as bl, ChartLayerEndLabels as bm, ChartLayerFocus as bn, ChartLayerGeometry as bo, ChartLayerHeader as bp, ChartLayerHistogram as bq, ChartLayerRadar as br, ChartLayerReferences as bs, ChartLayerRing as bt, ChartLayerRows as bu, ChartLayerSlices as bv, ChartLayerSmall as bw, ChartLayerStack as bx, ChartLayerValueList as by, ChartLayerWaterfall as bz, ChartDrawPlan as c, CodeLayoutOptions as c0, CodeLineSegment as c1, CodeLineSource as c2, CodeRun as c3, CodeSyntaxPalette as c4, CodeSyntaxPaletteOptions as c5, CodeSyntaxPaletteTheme as c6, CodeTextFit as c7, CodeTextPart as c8, CodeToken as c9, ComposedOverlayShape as cA, ComposedPlacement as cB, ComposedRegion as cC, ComposedScrim as cD, ComposedShape as cE, ComposedShapePath as cF, ComposedStepBadge as cG, ComposedSteps as cH, ComposedStroke as cI, Composition as cJ, CompositionCandidate as cK, CompositionDecision as cL, CompositionExplanation as cM, CompositionPenalties as cN, CompositionTrack as cO, ConnectionSite as cP, ConnectorEnd as cQ, ConnectorFrame as cR, ConnectorPreset as cS, ConnectorRoute as cT, ConnectorRouteGeometry as cU, CodeTokenKind as ca, ComposedArrangement as cb, ComposedArrowhead as cc, ComposedBackgroundImage as cd, ComposedCaption as ce, ComposedChart as cf, ComposedConnector as cg, ComposedDiagram as ch, ComposedDiagramItem as ci, ComposedEmphasis as cj, ComposedFill as ck, ComposedFlow as cl, ComposedFootnoteEntry as cm, ComposedFootnotes as cn, ComposedGradient as co, ComposedGroup as cp, ComposedHeadingArea as cq, ComposedIcon as cr, ComposedImage as cs, ComposedImageCallout as ct, ComposedItem as cu, ComposedLayoutArea as cv, ComposedListColumn as cw, ComposedLogo as cx, ComposedOverlay as cy, ComposedOverlayEntry as cz, ChartFallback as d, FurnitureField as d$, FeaturedCells as dV, FeaturedKind as dW, FlowShape as dX, FocusSource as dY, FontFaceSelection as dZ, FootnoteLayoutOptions as d_, DeckCitations as dc, DesignAlignment as dd, DesignHintKey as de, DesignHintSource as df, DesignHints as dg, DesignTitlePosition as dh, DiagramIssue as di, DiagramLayoutOptions as dj, DiagramMeasure as dk, DiagramPalette as dl, DiagramPaletteInput as dm, DiagramPayload as dn, DiagramSyntax as dp, DotIssue as dq, DotTranslation as dr, LayoutBranch as e$, FurnitureImagePart as e0, FurnitureLayout as e1, FurniturePart as e2, FurniturePartBase as e3, FurnitureSocialLink as e4, FurnitureTextExtras as e5, FurnitureTextPart as e6, GridCell as e8, GroupedBinding as e9, LayoutAlgorithm as eW, LayoutArea as eX, LayoutAreasOptions as eY, LayoutBodyKind as eZ, LayoutBox as e_, GroupingNode as ea, HistogramBin as ef, ImageEdge as er, ImageFit as es, ImageFitOption as et, ImageFitPlacement as eu, ImageFocus as ev, ImageShape as ew, JoinedArrangement as ey, LayoutChild as f0, LayoutChoose as f1, LayoutConstraint as f2, LayoutContent as f3, LayoutDefinition as f4, LayoutEntry as f5, LayoutForEach as f6, LayoutNodeDefinition as f7, LayoutPresOf as f8, LayoutRegion as f9, LayoutShape as fa, LayoutShapeType as fb, LayoutStyle as fc, LayoutTable as fd, LayoutTemplate as fe, LayoutTemplateIssue as ff, LinearArrangement as fg, LinearGeometry as fh, ListBulletImage as fi, ListEntryLayout as fj, ListFit as fk, ListFitOptions as fl, ListNumber as fm, ListRule as fn, ListText as fo, ListValue as fp, LiveArrangement as fq, MetricContent as g1, MetricLayout as g2, MetricLayoutDiagnostic as g3, MetricLayoutOptions as g4, MetricSentiment as g5, MetricTextPart as g6, MetricTextSource as g7, MetricTrend as g8, MetricTrendColorOptions as g9, OpfLayoutDesign as gM, OpfLayoutRecipe as gN, OpfSmartArtCandidate as gO, OverlayEdge as gP, OverlayIssue as gQ, OverlayLayer as gR, MetricTrendMark as ga, NativeTreeConnector as gm, NativeTreeGeometry as gn, NativeTreeGeometryResult as go, NativeTreeKind as gp, NativeTreeNode as gq, Numbering as gr, NumberingInput as gs, NumberingStyleName as gt, NumberingSuffix as gu, QuotePhoto as h$, PictureTextInput as hA, PictureTextPlacement as hB, PictureWeights as hC, PlantumlDiagram as hD, PlantumlIssue as hE, PlantumlTranslation as hF, PortraitMode as hG, QuoteBodyOptions as hU, QuoteContent as hV, QuoteLayout as hW, QuoteLayoutDiagnostic as hX, QuoteLayoutOptions as hY, QuoteMark as hZ, QuoteMarks as h_, PhysicalAlignment as hu, PictureLuminance as hv, PictureText as hw, PictureTextAlignment as hx, PictureTextAnchor as hy, PictureTextCandidate as hz, QuoteTextPart as i0, QuoteTextSource as i1, RichTextFragment as iA, RichTextLine as iB, RichTextOptions as iC, RichTextRun as iD, RowDemand as iE, ReadingBox as id, Reference as ie, ReferencesSlideOptions as ig, RegionAnchor as ih, RegionArrangement as ii, RegionBinding as ij, RegionBindingDiagnostic as ik, RegionBindingResult as il, RegionFlow as im, RegionKind as io, RegionRole as ip, ResolveDesignHintsOptions as iq, ResolveScriptFontsOptions as ir, ResolvedChartDataLabels as is, ResolvedChartHighlight as it, ResolvedChartOptions as iu, ResolvedDesignHints as iv, ResolvedNumbering as iw, ResolvedScriptFonts as ix, RichText as iy, RichTextFit as iz, TimelineMarkerShape as j$, ScrimEdge as j3, ScriptFontApp as j4, ScriptFontSlots as j5, ScriptFontSource as j6, ScriptFontSupplement as j7, ScriptItemizationProfile as j8, ScriptMeasurementProfile as j9, TableBorder as jG, TableCellLayout as jH, TableCellStyle as jI, TableGrid as jJ, TableGridCell as jK, TableGridIssue as jL, TableLayout as jM, TableLayoutOptions as jN, TableRowLayout as jO, TextDirection as jP, TextFit as jQ, TextLineInk as jR, TextLineSegment as jS, TextLineSource as jT, TextPlacement as jU, TextPlacementLine as jV, TimelineContent as jW, TimelineEvent as jX, TimelineLayout as jY, TimelineLayoutDiagnostic as jZ, TimelineLayoutOptions as j_, ScriptRole as ja, ScriptTextRun as jb, SequenceArrangement as jc, ShapeEnd as jd, ShapeStyleLook as je, ShapeStyleName as jf, SiblingPlotChart as jg, SlideCitations as jh, SlideComposition as ji, SmartArtCandidate as jj, SocialProfile as jk, SourceTextFit as jl, LanguageFamilyName as k, TimelineStatus as k0, TimelineStatusColors as k1, TimelineTextPart as k2, VennBox as k3, VennNode as k4, WaterfallRole as k5, WaterfallStep as k6, WatermarkTextLayout as k7, WatermarkTextOptions as k8, LanguageVocabulary as l, LogoShape as m, LogoVariant as n, MeasureTextWidth as o, ResolvedLogo as p, SocialPlatformVocabulary as q, TextStyle as r };
|