@openpresentation/opf 0.20.5 → 0.22.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/dist/browser.js +16 -16
- package/dist/{chunk-2M7U4WL3.js → chunk-23MOKE4B.js} +292 -104
- package/dist/{chunk-TCBEF5OY.js → chunk-2SENTA2R.js} +1 -1
- package/dist/{chunk-7PQZDC2H.js → chunk-3T7MNRBY.js} +1 -1
- package/dist/{chunk-VFMHM2IL.js → chunk-3UAVON3O.js} +28 -2
- package/dist/{chunk-IDMQWS6O.js → chunk-7XNAMCGT.js} +6 -6
- package/dist/{chunk-URUNMZFO.js → chunk-BULGAKBY.js} +2 -2
- package/dist/{chunk-WD4W7KKK.js → chunk-DY7H4RG6.js} +54 -11
- package/dist/{chunk-V66KJA3H.js → chunk-KUNXFN7B.js} +1 -1
- package/dist/{chunk-52GKVP3I.js → chunk-MAJHCGOW.js} +22 -12
- package/dist/{chunk-OIGCC6VA.js → chunk-MG34DCDB.js} +2 -2
- package/dist/{chunk-5SQ6CIWR.js → chunk-MLMTXXM4.js} +5 -5
- package/dist/{chunk-Z75YB54S.js → chunk-SBWIZSPB.js} +5 -5
- package/dist/{chunk-TZ5IZETE.js → chunk-SPCONMIY.js} +1 -1
- package/dist/{chunk-XAYMPBNE.js → chunk-VKNFZEMG.js} +403 -189
- package/dist/{chunk-S4FR7ATF.js → chunk-X3PQMMAY.js} +1 -1
- package/dist/{chunk-YOLDSF7U.js → chunk-YSJRBRHB.js} +1 -1
- package/dist/{chunk-DYGYMBBW.js → chunk-YUIEWE5B.js} +2 -2
- package/dist/{composition-QtS1rnhv.d.ts → composition-CkHn6JrM.d.ts} +139 -5
- package/dist/composition.d.ts +1 -1
- package/dist/composition.js +1 -1
- package/dist/conversion-3TTBY7OY.js +19 -0
- package/dist/{conversion-Cqwu0Ds9.d.ts → conversion-DS4OiVls.d.ts} +6 -5
- package/dist/convert.d.ts +3 -3
- package/dist/convert.js +7 -7
- package/dist/data.d.ts +1 -1
- package/dist/data.js +2 -2
- package/dist/{deck-report-BdG5H3Qj.d.ts → deck-report-vnWmXBjq.d.ts} +2 -2
- package/dist/deck.d.ts +6 -6
- package/dist/deck.js +10 -10
- package/dist/diff.d.ts +1 -1
- package/dist/diff.js +5 -5
- package/dist/docs.js +18 -12
- package/dist/examples.d.ts +1 -1
- package/dist/{finding-DqgwzUmr.d.ts → finding-l9dlQ2NF.d.ts} +4 -0
- package/dist/format.js +2 -2
- package/dist/index.d.ts +21 -15
- package/dist/index.js +20 -20
- package/dist/markdown.d.ts +4 -4
- package/dist/markdown.js +7 -7
- package/dist/node-engine.d.ts +30 -9
- package/dist/node-engine.js +20 -20
- package/dist/{pagination-CAX6mHG6.d.ts → pagination-C4jzAtFy.d.ts} +2 -2
- package/dist/pagination.d.ts +2 -2
- package/dist/pagination.js +4 -4
- package/dist/patch.d.ts +1 -1
- package/dist/patch.js +4 -4
- package/dist/{presentation-BG4QCcdB.d.ts → presentation-fN6tORPZ.d.ts} +58 -8
- package/dist/repo-readme.js +1 -1
- package/dist/schemas.js +1 -1
- package/dist/spec/schemas/finding.schema.json +6 -1
- package/dist/spec/schemas/opf.schema.json +14 -2
- package/dist/types.d.ts +2 -2
- package/dist/{validation-types-DRaNnieo.d.ts → validation-types-B21fZfb2.d.ts} +3 -3
- package/dist/{validator-BJtXHJKh.d.ts → validator-Cflv4F9e.d.ts} +4 -10
- package/dist/validator.d.ts +5 -5
- package/dist/validator.js +3 -3
- package/dist/yaml.d.ts +4 -4
- package/dist/yaml.js +7 -7
- package/package.json +1 -1
- package/dist/conversion-DRCJIMWS.js +0 -19
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { assertValid, resolveSlideScriptMeasurement, resolveSlideContext } from './chunk-
|
|
2
|
-
import { resolveSlideVariables, checkCatalogsOption, usesSlideBuiltin, composeSlide, codeHighlightSlice, tableRowBoundaries, visitContentPayloads, regionAccepts, slideTokenSpans, sliceNumberedItems } from './chunk-
|
|
1
|
+
import { assertValid, resolveSlideScriptMeasurement, resolveSlideContext } from './chunk-23MOKE4B.js';
|
|
2
|
+
import { resolveSlideVariables, checkCatalogsOption, usesSlideBuiltin, composeSlide, codeHighlightSlice, tableRowBoundaries, visitContentPayloads, regionAccepts, slideTokenSpans, sliceNumberedItems } from './chunk-VKNFZEMG.js';
|
|
3
3
|
|
|
4
4
|
// src/pagination.ts
|
|
5
5
|
var OPFPaginationError = class extends Error {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import { R as ResolvedChartData } from './chart-data-BnNqgnC-.js';
|
|
1
2
|
import { a as CatalogOptions } from './catalog-refs-CSHevLn1.js';
|
|
2
|
-
import './chart-data-BnNqgnC-.js';
|
|
3
3
|
|
|
4
4
|
/** Canonical table grid. No renderer, fonts, DOM or network dependencies. */
|
|
5
5
|
interface TableBorder {
|
|
@@ -10,6 +10,7 @@ interface TableBorder {
|
|
|
10
10
|
interface TableCellStyle {
|
|
11
11
|
fill?: string;
|
|
12
12
|
color?: string;
|
|
13
|
+
bold?: boolean;
|
|
13
14
|
align?: 'left' | 'center' | 'right';
|
|
14
15
|
verticalAlign?: 'top' | 'middle' | 'bottom';
|
|
15
16
|
padding?: Partial<Record<'top' | 'right' | 'bottom' | 'left', number>>;
|
|
@@ -44,6 +45,89 @@ declare function tableGrid(value: unknown, path?: string): TableGrid;
|
|
|
44
45
|
/** Row boundaries that preserve every vertical merge, used by pagination. */
|
|
45
46
|
declare function tableRowBoundaries(value: unknown): number[];
|
|
46
47
|
|
|
48
|
+
/** The ticks of an automatic value axis: `ticks` runs from `min` to `max` in steps of `step`. */
|
|
49
|
+
interface ChartScale {
|
|
50
|
+
min: number;
|
|
51
|
+
max: number;
|
|
52
|
+
step: number;
|
|
53
|
+
ticks: number[];
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* The value axis of a chart: the bounds and the major unit (the distance between gridlines) in data units. A percent-stacked chart's axis
|
|
57
|
+
* is a fraction (`max: 1` is 100%) and has `percent: true`, as PowerPoint stores it.
|
|
58
|
+
*/
|
|
59
|
+
interface ChartValueAxis {
|
|
60
|
+
min: number;
|
|
61
|
+
max: number;
|
|
62
|
+
majorUnit: number;
|
|
63
|
+
percent?: true;
|
|
64
|
+
}
|
|
65
|
+
/**
|
|
66
|
+
* RR-90: the chart text size a roomy chart asks for, in slide pixels at the 1280 x 720 reference (before the slide scale). It was 14,
|
|
67
|
+
* floored to the 16 px (12 pt) minimum, beside 24 pt bullets; 20 px (15 pt) keeps the 4:5 ratio to the 25 px table body.
|
|
68
|
+
*/
|
|
69
|
+
declare const CHART_TEXT_PX = 20;
|
|
70
|
+
/**
|
|
71
|
+
* RR-90: the unscaled chart text size for a chart box: {@link CHART_TEXT_PX}, shrunk only when the box is small (the text is at most
|
|
72
|
+
* 1/18 of the box height and 1/30 of its width, whole pixels) and never below `minFontSize` (default 16). `width` and `height` are the box in
|
|
73
|
+
* canvas pixels and `scale` is `min(slide width, slide height) / 720`. The preview and the axis density both call it, so the
|
|
74
|
+
* axis core computes matches the text the preview draws.
|
|
75
|
+
*/
|
|
76
|
+
declare function chartTextSize(geometry: {
|
|
77
|
+
width: number;
|
|
78
|
+
height: number;
|
|
79
|
+
scale: number;
|
|
80
|
+
minFontSize?: number;
|
|
81
|
+
}): number;
|
|
82
|
+
/**
|
|
83
|
+
* Office-like automatic value axis: include zero unless every value sits in the top sixth of the range, add 5% headroom, then choose
|
|
84
|
+
* the smallest 1/2/5 x 10^k major unit that fits `maxIntervals` (default 10, at least 1). `percent` is the 100% stacked axis: 0 to 1 in
|
|
85
|
+
* steps of 0.1, 0.2, 0.25, 0.5 or 1 (from -1 when a value is negative). Non-finite data bounds fall back to 0 to 1.
|
|
86
|
+
*/
|
|
87
|
+
declare function niceScale(dataMin: number, dataMax: number, maxIntervals?: number, { percent }?: {
|
|
88
|
+
percent?: boolean;
|
|
89
|
+
}): ChartScale;
|
|
90
|
+
/** How many intervals a value axis `length` pixels long can carry when each tick label needs `labelExtent` pixels: 1 to 10. */
|
|
91
|
+
declare function maxIntervalsFor(length: number, labelExtent: number): number;
|
|
92
|
+
/**
|
|
93
|
+
* Plotted extents per series point. Bars stack positive and negative values separately; lines and areas accumulate the signed sum.
|
|
94
|
+
* 100% groupings divide by the category's sum of absolute values first. Throws a RangeError when a total leaves the finite range.
|
|
95
|
+
*/
|
|
96
|
+
declare function stackCategoryValues(series: readonly {
|
|
97
|
+
values: readonly (number | null)[];
|
|
98
|
+
}[], count: number, kind: string, grouping: string, path?: string): ({
|
|
99
|
+
value: number;
|
|
100
|
+
from: number;
|
|
101
|
+
to: number;
|
|
102
|
+
} | null)[][];
|
|
103
|
+
/** The slide geometry the axis density follows. All lengths are slide pixels. */
|
|
104
|
+
interface ChartAxisGeometry {
|
|
105
|
+
/** The chart box (after any caption band). */
|
|
106
|
+
width: number;
|
|
107
|
+
height: number;
|
|
108
|
+
/** `min(slide width, slide height) / 720`. */
|
|
109
|
+
scale: number;
|
|
110
|
+
/** The composition's `minFontSize` (default 16), which the chart text never goes below. */
|
|
111
|
+
minFontSize?: number;
|
|
112
|
+
}
|
|
113
|
+
/**
|
|
114
|
+
* The value axis of a column, bar, line or area chart (`chart` is the chart object, `resolved` its `resolveChartData`), or undefined for any other type (or data with no plotted series).
|
|
115
|
+
*
|
|
116
|
+
* The axis is `niceScale` of the plotted extents (bars and areas include zero) with at most `maxIntervalsFor(length, label)` intervals.
|
|
117
|
+
* `length` is the plot's extent along the value axis, estimated from the box the way the preview lays a chart with one line of
|
|
118
|
+
* horizontal category labels out:
|
|
119
|
+
*
|
|
120
|
+
* - column, line, area: box height - 2 x pad - 1.5 x line height (the top margin plus the category labels), less one line height
|
|
121
|
+
* for a category axis title and one line height plus a pad for a top or bottom legend (a one-row legend), over labels 1.2 line
|
|
122
|
+
* heights tall;
|
|
123
|
+
* - bar: the width left of a category gutter of 30% of the box, minus the padding, over labels `4 x text size` wide.
|
|
124
|
+
*
|
|
125
|
+
* with pad = 10 x scale, text size = {@link chartTextSize} x scale and line height = 1.5 x text size. Rotated or
|
|
126
|
+
* wrapped category labels, a wider tick label and a legend of several rows make the preview's plot shorter than this estimate; for
|
|
127
|
+
* the usual chart (a plot of ten tick labels or more) all of them give the same ten intervals.
|
|
128
|
+
*/
|
|
129
|
+
declare function chartValueAxis(chart: unknown, resolved: ResolvedChartData, geometry: ChartAxisGeometry): ChartValueAxis | undefined;
|
|
130
|
+
|
|
47
131
|
/** The `design` keys that a layout record, the deck and a slide all share and that composition resolves per key. */
|
|
48
132
|
declare const DESIGN_HINT_KEYS: readonly ["titleAlignment", "contentAlignment", "contentBox", "contentDirection", "chartPrimary", "imageFit", "listBullet", "mirror"];
|
|
49
133
|
type DesignHintKey = typeof DESIGN_HINT_KEYS[number];
|
|
@@ -770,6 +854,8 @@ declare function chartColorForFill(fill: string, preferred: string): string;
|
|
|
770
854
|
declare const CHART_SERIES_MIN_LIGHTNESS_STEP = 11;
|
|
771
855
|
/** Smallest CIE76 colour difference kept between any two series that were at least that far apart before the surface adjustment. */
|
|
772
856
|
declare const CHART_SERIES_MIN_DIFFERENCE = 12;
|
|
857
|
+
/** Series are placed in tiers of this many: a colour is kept apart from the colours of its own and earlier tiers only (see {@link chartPaletteForFill}). */
|
|
858
|
+
declare const CHART_SERIES_TIER_SIZE = 6;
|
|
773
859
|
/** Series colours for a chart drawn on `fill`: the palette in order, each colour adjusted for contrast
|
|
774
860
|
* (`chartColorForFill`) without letting the adjustment merge series.
|
|
775
861
|
*
|
|
@@ -785,7 +871,10 @@ declare const CHART_SERIES_MIN_DIFFERENCE = 12;
|
|
|
785
871
|
* series, which is what keeps neighbours apart on a greyscale print;
|
|
786
872
|
* - the same lightness step from the remaining series, as a weaker aim.
|
|
787
873
|
*
|
|
788
|
-
* Series are placed in order against the kept colours and the colours placed before them. The
|
|
874
|
+
* Series are placed in order against the kept colours and the colours placed before them. The palette is read in tiers of
|
|
875
|
+
* {@link CHART_SERIES_TIER_SIZE} (series 1 to 6, 7 to 12, ...): a colour is separated from the colours of its own and earlier tiers only,
|
|
876
|
+
* so the later tiers (the tints of `chartSeriesPalette`) are placed around the first six without ever pulling them towards a lightness
|
|
877
|
+
* the tints already hold. A palette of six colours or fewer is one tier. The placement
|
|
789
878
|
* with the lowest cost wins: its distance (in L*) from the contrast-adjusted colour plus a penalty for
|
|
790
879
|
* every point it falls short of those separations, so a colour that is already clear of the others is
|
|
791
880
|
* simply the adjusted colour, a near miss is not worth a large change, and a collision is resolved at the
|
|
@@ -796,6 +885,38 @@ declare const CHART_SERIES_MIN_DIFFERENCE = 12;
|
|
|
796
885
|
* and preview and export (which both call this function) draw the same ones.
|
|
797
886
|
*/
|
|
798
887
|
declare function chartPaletteForFill(fill: string, palette: readonly string[]): string[];
|
|
888
|
+
/** Share of white mixed into each accent to make the extended tints of {@link chartSeriesPalette} (series 7 to 12). */
|
|
889
|
+
declare const CHART_SERIES_TINT_MIX = 0.4;
|
|
890
|
+
/**
|
|
891
|
+
* The series colours of a chart before the per-surface adjustment: twelve opaque #RRGGBB colours in series order, taken from the deck's
|
|
892
|
+
* resolved colour scheme (`design.colorScheme` after the theme, the record and any inline overrides are applied).
|
|
893
|
+
*
|
|
894
|
+
* - 1 to 6: `accent1` to `accent6`. A slot the scheme leaves out takes the engine default scheme's slot.
|
|
895
|
+
* - 7 to 12: the same six accents mixed {@link CHART_SERIES_TINT_MIX} of the way towards white, in the same order (a tint of `accent1`
|
|
896
|
+
* is series 7), for charts with more than six series.
|
|
897
|
+
*
|
|
898
|
+
* Pass the result to {@link chartPaletteForFill} with the chart panel colour for the colours a chart draws and writes: contrast against
|
|
899
|
+
* the panel without letting two series merge. Series `i` takes colour `i`; a pie, doughnut, treemap or funnel takes colour `i` for
|
|
900
|
+
* category `i`. The colours depend on the scheme only, so the preview, the PPTX export and the colour-blind rule draw the same ones.
|
|
901
|
+
* The role overrides (`primary`, `secondary`, `accent`) do not change the list: series 1 to 3 are always `accent1` to `accent3`, the
|
|
902
|
+
* theme slots the PPTX export writes as `schemeClr accentN`.
|
|
903
|
+
*
|
|
904
|
+
* RR-89: `colors` is the chart's own `chart.colors` (positional ColorRefs). Entry `i` replaces palette colour `i`; an entry that cannot
|
|
905
|
+
* be resolved ({@link resolveChartColors}) keeps the scheme colour, and entries past the twelfth extend the list. `context` carries the
|
|
906
|
+
* deck's roles and `variables` for entries that name them.
|
|
907
|
+
*/
|
|
908
|
+
declare function chartSeriesPalette(colorScheme?: Record<string, unknown>, colors?: unknown, context?: ChartColorContext): string[];
|
|
909
|
+
/** What a `chart.colors` entry resolves against: the deck's role colours and `variables`, as for any ColorRef. */
|
|
910
|
+
interface ChartColorContext {
|
|
911
|
+
roles?: ResolveColorRefRoles;
|
|
912
|
+
variables?: Record<string, unknown>;
|
|
913
|
+
}
|
|
914
|
+
/**
|
|
915
|
+
* The opaque #RRGGBB colour of each `chart.colors` entry (a hex colour, a colour-scheme slot or role, or a `var:<id>` variable), in
|
|
916
|
+
* order; undefined for an entry that is not a string or cannot be resolved (an unknown variable, a name that is not a colour). Alpha is
|
|
917
|
+
* dropped. `colors` that is not an array resolves to an empty list.
|
|
918
|
+
*/
|
|
919
|
+
declare function resolveChartColors(colors: unknown, colorScheme?: Record<string, unknown>, context?: ChartColorContext): (string | undefined)[];
|
|
799
920
|
/** Share of the text colour mixed into the surface to make the muted colour of a highlighted chart. */
|
|
800
921
|
declare const CHART_HIGHLIGHT_MUTED_MIX = 0.3;
|
|
801
922
|
/** Smallest contrast the muted colour keeps against the surface: recessive, but still a visible mark. */
|
|
@@ -1698,6 +1819,10 @@ interface TextFit {
|
|
|
1698
1819
|
/** Place complete measured lines, preserving alignment where it leaves room for ink.
|
|
1699
1820
|
* Move following baselines together when outlines need more vertical separation. */
|
|
1700
1821
|
declare function placeTextLines(lines: readonly TextLineInk[], box: LayoutBox, alignment?: TextPlacement['alignment'], rasterPadding?: number, directions?: readonly TextDirection[]): TextPlacement;
|
|
1822
|
+
/** RR-92: what composition computes for a chart item beyond its box. */
|
|
1823
|
+
interface ComposedChart {
|
|
1824
|
+
valueAxis?: ChartValueAxis;
|
|
1825
|
+
}
|
|
1701
1826
|
interface ComposedItem {
|
|
1702
1827
|
path: string;
|
|
1703
1828
|
field: string;
|
|
@@ -1729,11 +1854,17 @@ interface ComposedItem {
|
|
|
1729
1854
|
caption?: ComposedCaption;
|
|
1730
1855
|
/** Picture geometry and treatments of an image item (`field` image); absent on every other item. */
|
|
1731
1856
|
image?: ComposedImage;
|
|
1857
|
+
/**
|
|
1858
|
+
* RR-92: the value axis of a column, bar, line or area chart (`field` chart), computed from the chart box (`chartValueAxis`). The preview
|
|
1859
|
+
* draws it and the PPTX export writes it as `c:min`, `c:max` and `c:majorUnit`, so both show the same axis. Absent for every other chart
|
|
1860
|
+
* type (combo, scatter, pie and the rest keep the engines' own axis) and for charts whose data does not resolve.
|
|
1861
|
+
*/
|
|
1862
|
+
chart?: ComposedChart;
|
|
1732
1863
|
/** Effective container settings, including inherited readability constraints. */
|
|
1733
1864
|
composition: Composition;
|
|
1734
1865
|
/**
|
|
1735
1866
|
* Resolved horizontal text alignment for this item: titleAlignment for the
|
|
1736
|
-
* title, contentAlignment for every other item (slide design, deck design or host, theme design,
|
|
1867
|
+
* title and the tag, contentAlignment for every other item (slide design, deck design or host, theme design,
|
|
1737
1868
|
* layout design, then center for metrics or left for other items). Engines anchor native and preview text to this value.
|
|
1738
1869
|
*/
|
|
1739
1870
|
alignment: 'left' | 'center' | 'right';
|
|
@@ -2168,7 +2299,8 @@ interface FurniturePartBase {
|
|
|
2168
2299
|
/**
|
|
2169
2300
|
* The part's own box. A zone lays its parts out in one row, in the order image, text, socials, date (mirrored in a
|
|
2170
2301
|
* right-to-left deck), aligned to the zone's edge with FURNITURE_GAP between parts and each part vertically centered
|
|
2171
|
-
* in the row. A zone with one part keeps the full zone width for text.
|
|
2302
|
+
* in the row. A zone with one part keeps the full zone width for text. The zones sit on the content inset
|
|
2303
|
+
* (`composition.padding`); a zone beside empty zones takes their width (FURNITURE_ZONE_GUTTER between occupied zones).
|
|
2172
2304
|
*/
|
|
2173
2305
|
box: LayoutBox;
|
|
2174
2306
|
alignment: 'left' | 'center' | 'right';
|
|
@@ -2242,6 +2374,8 @@ interface FurnitureLayout {
|
|
|
2242
2374
|
}
|
|
2243
2375
|
/** Gap between the parts of one header/footer zone row, in reference pixels (scaled with the canvas's short edge). */
|
|
2244
2376
|
declare const FURNITURE_GAP = 12;
|
|
2377
|
+
/** Gap between the three header/footer zones, as a share of the canvas width. An empty zone's column is lent to its occupied neighbours. */
|
|
2378
|
+
declare const FURNITURE_ZONE_GUTTER = 0.02;
|
|
2245
2379
|
/** 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. */
|
|
2246
2380
|
declare const FURNITURE_IMAGE_SHARE = 0.4;
|
|
2247
2381
|
/** Resolve and measure repeated fields without mutating metadata or consulting a clock. */
|
|
@@ -2799,4 +2933,4 @@ declare function resolveCanvasDimensions(input: unknown): {
|
|
|
2799
2933
|
height: number;
|
|
2800
2934
|
};
|
|
2801
2935
|
|
|
2802
|
-
export { type ChartOptionDiagnostic as $, AUTO_LAYOUT as A, type BackgroundImageFit as B, type ComposeSlideOptions as C, CHART_SERIES_MIN_LIGHTNESS_STEP as D, ENGINE_DEFAULT_CHART_TYPES as E, type Fonts as F, CITATION_MARKER_RAISE as G, CITATION_MARKER_SCALE as H, CODE_HIGHLIGHT_LANGUAGES as I, CODE_HIGHLIGHT_MAX_LENGTH as J, CODE_PANEL_BACKGROUND as K, type LayoutDiagnostic as L, type MeasureTextWidth as M, CODE_PANEL_FOREGROUND as N, CODE_SYNTAX_MIN_CONTRAST as O, type Caption as P, type CaptionAlignment as Q, type ResolveLogoOptions as R, SOCIAL_PLATFORMS as S, type TextMeasurement as T, type CaptionObject as U, type CaptionPosition as V, type CaptionSettings as W, type ChartHighlightMarks as X, type ChartLabelContent as Y, type ChartLabelPosition as Z, type ChartLegendPosition as _, CHART_TYPES as a, type FurniturePart as a$, type ChartOptionKind as a0, type ChartOptionSupport as a1, type ChartOptionTarget as a2, type CitationMarker as a3, type CitationNote as a4, type CodeContent as a5, type CodeHighlightBand as a6, type CodeHighlightColors as a7, type CodeHighlightEntry as a8, type CodeHighlightIssue as a9, type ComposedOverlay as aA, type ComposedPlacement as aB, type ComposedRegion as aC, type Composition as aD, type CompositionCandidate as aE, type CompositionDecision as aF, type CompositionExplanation as aG, type CompositionPenalties as aH, type CompositionTrack as aI, DARK_BACKGROUND_LUMINANCE as aJ, DEFAULT_CHART_LABEL_SEPARATOR as aK, DEFAULT_FURNITURE_DATE_FORMAT as aL, DESIGN_HINT_KEYS as aM, type DeckCitations as aN, type DesignHintKey as aO, type DesignHintSource as aP, type DesignHints as aQ, FONT_SIZE_GRID_PER_PX as aR, FOOTNOTE_MAX_RATIO as aS, FURNITURE_GAP as aT, FURNITURE_IMAGE_SHARE as aU, type FlowShape as aV, type FontFaceSelection as aW, type FootnoteLayoutOptions as aX, type FurnitureField as aY, type FurnitureImagePart as aZ, type FurnitureLayout as a_, type CodeHighlightLines as aa, type CodeLayout as ab, type CodeLayoutDiagnostic as ac, type CodeLayoutOptions as ad, type CodeLineSegment as ae, type CodeLineSource as af, type CodeRun as ag, type CodeSyntaxPalette as ah, type CodeSyntaxPaletteOptions as ai, type CodeSyntaxPaletteTheme as aj, type CodeTextFit as ak, type CodeTextPart as al, type CodeToken as am, type CodeTokenKind as an, type ComposedBackgroundImage as ao, type ComposedCaption as ap, type ComposedFlow as aq, type ComposedFootnoteEntry as ar, type ComposedFootnotes as as, type ComposedGroup as at, type ComposedHeadingArea as au, type ComposedImage as av, type ComposedItem as aw, type ComposedLayoutArea as ax, type ComposedListColumn as ay, type ComposedLogo as az, ENGINE_DEFAULT_COLOR_SCHEME as b, type QuoteTextSource as b$, type FurniturePartBase as b0, type FurnitureSocialLink as b1, type FurnitureTextExtras as b2, type FurnitureTextPart as b3, HEADING_AREAS as b4, type ImageEdge as b5, type ImageFit as b6, type ImageFitPlacement as b7, type ImageFocus as b8, type ImageShape as b9, type MetricLayoutDiagnostic as bA, type MetricLayoutOptions as bB, type MetricSentiment as bC, type MetricTextPart as bD, type MetricTextSource as bE, type MetricTrend as bF, type MetricTrendColorOptions as bG, type MetricTrendMark as bH, NUMBERING_STYLES as bI, NUMBERING_SUFFIXES as bJ, type Numbering as bK, type NumberingInput as bL, type NumberingStyleName as bM, type NumberingSuffix as bN, OPFCompositionError as bO, OPFLayoutTemplateError as bP, PATTERN_PRESETS as bQ, PATTERN_PRESET_ALIASES as bR, PATTERN_TILE_SIZE as bS, PICTURE_BULLET_SCALE as bT, type PhysicalAlignment as bU, type QuoteContent as bV, type QuoteLayout as bW, type QuoteLayoutDiagnostic as bX, type QuoteLayoutOptions as bY, type QuotePhoto as bZ, type QuoteTextPart as b_, LAYOUT_BODY_KINDS as ba, type LayoutArea as bb, type LayoutAreasOptions as bc, type LayoutBodyKind as bd, type LayoutBox as be, type LayoutContent as bf, type LayoutRegion as bg, type LayoutTemplate as bh, type LayoutTemplateIssue as bi, type ListBulletImage as bj, type ListEntryLayout as bk, type ListFit as bl, type ListFitOptions as bm, type ListNumber as bn, type ListText as bo, type ListValue as bp, MAX_COMPOSITION_DEPTH as bq, MAX_NUMBERING_LEVELS as br, MAX_NUMBERING_VALUE as bs, MAX_REGION_BLOCKS as bt, MAX_ROMAN_VALUE as bu, MAX_TEMPLATE_TRACKS as bv, METRIC_TREND_MIN_CONTRAST as bw, METRIC_TREND_SHAPES as bx, type MetricContent as by, type MetricLayout as bz, ENGINE_DEFAULT_FONT_SCHEME as c, type TextLineSource as c$, REGION_ANCHORS as c0, REGION_FLOWS as c1, REGION_KINDS as c2, REGION_ROLES as c3, RESERVED_REGION_NAMES as c4, type ReadingBox as c5, type Reference as c6, type ReferencesSlideOptions as c7, type RegionAnchor as c8, type RegionBinding as c9, type ScriptFontApp as cA, type ScriptFontSlots as cB, type ScriptFontSource as cC, type ScriptFontSupplement as cD, type ScriptMeasurementProfile as cE, type ScriptRole as cF, type SlideCitations as cG, type SlideComposition as cH, type SocialProfile as cI, type SourceTextFit as cJ, THEME_DESIGN_KEYS as cK, TIMELINE_OUTLINE_MIN_CONTRAST as cL, TIMELINE_STATUSES as cM, TIMELINE_TEXT_MIN_CONTRAST as cN, type TableBorder as cO, type TableCellLayout as cP, type TableCellStyle as cQ, type TableGrid as cR, type TableGridCell as cS, type TableGridIssue as cT, type TableLayout as cU, type TableLayoutOptions as cV, type TableRowLayout as cW, type TextDirection as cX, type TextFit as cY, type TextLineInk as cZ, type TextLineSegment as c_, type RegionBindingDiagnostic as ca, type RegionBindingResult as cb, type RegionFlow as cc, type RegionKind as cd, type RegionRole as ce, type ResolveColorRefOptions as cf, type ResolveColorRefRoles as cg, type ResolveColorRolesOptions as ch, type ResolveDesignHintsOptions as ci, type ResolveScriptFontsOptions as cj, type ResolvedChartDataLabels as ck, type ResolvedChartHighlight as cl, type ResolvedChartOptions as cm, type ResolvedColorRoles as cn, type ResolvedDesignHints as co, type ResolvedNumbering as cp, type ResolvedScriptFonts as cq, type RichText as cr, type RichTextFit as cs, type RichTextFragment as ct, type RichTextLine as cu, type RichTextOptions as cv, type RichTextRun as cw, type RowDemand as cx, SURFACE_ALT_MIN_CONTRAST as cy, SURFACE_ALT_MIX as cz, ENGINE_DEFAULT_THEME as d, layoutTable as d$, type TextPlacement as d0, type TextPlacementLine as d1, type TimelineContent as d2, type TimelineEvent as d3, type TimelineLayout as d4, type TimelineLayoutDiagnostic as d5, type TimelineLayoutOptions as d6, type TimelineMarkerShape as d7, type TimelineStatus as d8, type TimelineStatusColors as d9, composeLayoutAreas as dA, composeSlide as dB, defaultSlideBackground as dC, fitImage as dD, fitList as dE, fitRichText as dF, fitText as dG, formatChartLabelNumber as dH, formatChartLabelPercent as dI, formatFurnitureDate as dJ, formatListNumber as dK, gridFlowShape as dL, imageBackground as dM, imageShape as dN, intrinsicImageAspect as dO, intrinsicImageSize as dP, isDarkColor as dQ, isLayoutTemplate as dR, layoutCaption as dS, layoutCode as dT, layoutContent as dU, layoutFootnotes as dV, layoutFurniture as dW, layoutMetric as dX, layoutQuote as dY, layoutRegion as dZ, layoutStructure as d_, type TimelineTextPart as da, type WatermarkTextLayout as db, type WatermarkTextOptions as dc, allocateRows as dd, annotationText as de, bindRegions as df, blockKind as dg, captionSettings as dh, chartColorForFill as di, chartHighlightColors as dj, chartHighlightMarks as dk, chartLabelText as dl, chartOptionSupport as dm, chartOptionTarget as dn, chartPaletteForFill as dp, citationMarkerText as dq, codeHighlightBands as dr, codeHighlightColors as ds, codeHighlightLines as dt, codeLineNumbers as du, codeLineRuns as dv, codeSyntaxPalette as dw, codeSyntaxPaletteForScheme as dx, collectCitations as dy, colorContrast as dz, type FontFamilies as e, layoutTemplate as e0, layoutTemplateIssues as e1, layoutTimeline as e2, layoutWatermark as e3, listColumnBreaks as e4, listNumbers as e5, measureText as e6, measureTextOutline as e7, metricTrendColor as e8, metricTrendMark as e9, resolveSocialProfile as eA, resolveTextStyle as eB, rootNodes as eC, scriptFontRole as eD, sliceNumberedItems as eE, slideCitations as eF, snapFontSizeDown as eG, snapFontSizeUp as eH, surfaceAltColor as eI, tableGrid as eJ, tableRowBoundaries as eK, textColorForFill as eL, textWidthMeasurer as eM, timelineMarkerShapes as eN, timelineTextColor as eO, tokenizeCode as eP, visualReadingOrder as eQ, walkCitationRuns as eR, wrapText as eS, metricTrendPoints as ea, normalizeHexColor as eb, numberingAtLevel as ec, numberingStyleDraws as ed, paragraphDirection as ee, paragraphDirectionAt as ef, patternBitmap as eg, patternRuns as eh, physicalAlignment as ei, placeTextLines as ej, placedImageBlocks as ek, referencesSlide as el, regionAccepts as em, regionRoleRank as en, resolveCanvasDimensions as eo, resolveChartOptions as ep, resolveCodeLanguage as eq, resolveColorRef as er, resolveColorRoles as es, resolveDesignHints as et, resolveFontFamilies as eu, resolveLogo as ev, resolveNumbering as ew, resolvePatternPreset as ex, resolveScriptFonts as ey, resolveSlideDirection as ez, LANGUAGES as f, LOGO_SHAPES as g, type LanguageFamilyName as h, type LanguageVocabulary as i, type LogoShape as j, type LogoVariant as k, type ResolvedLogo as l, type SocialPlatformVocabulary as m, type TextStyle as n, normalizeLanguageFamily as o, type AnnotatedRun as p, type AnnotationFitter as q, type AnnotationLayoutOptions as r, type BindRegionsOptions as s, type BoundBlock as t, CAPTIONABLE_FIELDS as u, CAPTION_FONT_RATIO as v, CAPTION_MAX_RATIO as w, CHART_HIGHLIGHT_MUTED_MIN_CONTRAST as x, CHART_HIGHLIGHT_MUTED_MIX as y, CHART_SERIES_MIN_DIFFERENCE as z };
|
|
2936
|
+
export { type ChartColorContext as $, AUTO_LAYOUT as A, type BackgroundImageFit as B, type ComposeSlideOptions as C, CHART_SERIES_MIN_LIGHTNESS_STEP as D, ENGINE_DEFAULT_CHART_TYPES as E, type Fonts as F, CHART_SERIES_TIER_SIZE as G, CHART_SERIES_TINT_MIX as H, CHART_TEXT_PX as I, CITATION_MARKER_RAISE as J, CITATION_MARKER_SCALE as K, type LayoutDiagnostic as L, type MeasureTextWidth as M, CODE_HIGHLIGHT_LANGUAGES as N, CODE_HIGHLIGHT_MAX_LENGTH as O, CODE_PANEL_BACKGROUND as P, CODE_PANEL_FOREGROUND as Q, type ResolveLogoOptions as R, SOCIAL_PLATFORMS as S, type TextMeasurement as T, CODE_SYNTAX_MIN_CONTRAST as U, type Caption as V, type CaptionAlignment as W, type CaptionObject as X, type CaptionPosition as Y, type CaptionSettings as Z, type ChartAxisGeometry as _, CHART_TYPES as a, FURNITURE_GAP as a$, type ChartHighlightMarks as a0, type ChartLabelContent as a1, type ChartLabelPosition as a2, type ChartLegendPosition as a3, type ChartOptionDiagnostic as a4, type ChartOptionKind as a5, type ChartOptionSupport as a6, type ChartOptionTarget as a7, type ChartScale as a8, type ChartValueAxis as a9, type ComposedFootnotes as aA, type ComposedGroup as aB, type ComposedHeadingArea as aC, type ComposedImage as aD, type ComposedItem as aE, type ComposedLayoutArea as aF, type ComposedListColumn as aG, type ComposedLogo as aH, type ComposedOverlay as aI, type ComposedPlacement as aJ, type ComposedRegion as aK, type Composition as aL, type CompositionCandidate as aM, type CompositionDecision as aN, type CompositionExplanation as aO, type CompositionPenalties as aP, type CompositionTrack as aQ, DARK_BACKGROUND_LUMINANCE as aR, DEFAULT_CHART_LABEL_SEPARATOR as aS, DEFAULT_FURNITURE_DATE_FORMAT as aT, DESIGN_HINT_KEYS as aU, type DeckCitations as aV, type DesignHintKey as aW, type DesignHintSource as aX, type DesignHints as aY, FONT_SIZE_GRID_PER_PX as aZ, FOOTNOTE_MAX_RATIO as a_, type CitationMarker as aa, type CitationNote as ab, type CodeContent as ac, type CodeHighlightBand as ad, type CodeHighlightColors as ae, type CodeHighlightEntry as af, type CodeHighlightIssue as ag, type CodeHighlightLines as ah, type CodeLayout as ai, type CodeLayoutDiagnostic as aj, type CodeLayoutOptions as ak, type CodeLineSegment as al, type CodeLineSource as am, type CodeRun as an, type CodeSyntaxPalette as ao, type CodeSyntaxPaletteOptions as ap, type CodeSyntaxPaletteTheme as aq, type CodeTextFit as ar, type CodeTextPart as as, type CodeToken as at, type CodeTokenKind as au, type ComposedBackgroundImage as av, type ComposedCaption as aw, type ComposedChart as ax, type ComposedFlow as ay, type ComposedFootnoteEntry as az, ENGINE_DEFAULT_COLOR_SCHEME as b, PATTERN_TILE_SIZE as b$, FURNITURE_IMAGE_SHARE as b0, FURNITURE_ZONE_GUTTER as b1, type FlowShape as b2, type FontFaceSelection as b3, type FootnoteLayoutOptions as b4, type FurnitureField as b5, type FurnitureImagePart as b6, type FurnitureLayout as b7, type FurniturePart as b8, type FurniturePartBase as b9, MAX_NUMBERING_LEVELS as bA, MAX_NUMBERING_VALUE as bB, MAX_REGION_BLOCKS as bC, MAX_ROMAN_VALUE as bD, MAX_TEMPLATE_TRACKS as bE, METRIC_TREND_MIN_CONTRAST as bF, METRIC_TREND_SHAPES as bG, type MetricContent as bH, type MetricLayout as bI, type MetricLayoutDiagnostic as bJ, type MetricLayoutOptions as bK, type MetricSentiment as bL, type MetricTextPart as bM, type MetricTextSource as bN, type MetricTrend as bO, type MetricTrendColorOptions as bP, type MetricTrendMark as bQ, NUMBERING_STYLES as bR, NUMBERING_SUFFIXES as bS, type Numbering as bT, type NumberingInput as bU, type NumberingStyleName as bV, type NumberingSuffix as bW, OPFCompositionError as bX, OPFLayoutTemplateError as bY, PATTERN_PRESETS as bZ, PATTERN_PRESET_ALIASES as b_, type FurnitureSocialLink as ba, type FurnitureTextExtras as bb, type FurnitureTextPart as bc, HEADING_AREAS as bd, type ImageEdge as be, type ImageFit as bf, type ImageFitPlacement as bg, type ImageFocus as bh, type ImageShape as bi, LAYOUT_BODY_KINDS as bj, type LayoutArea as bk, type LayoutAreasOptions as bl, type LayoutBodyKind as bm, type LayoutBox as bn, type LayoutContent as bo, type LayoutRegion as bp, type LayoutTemplate as bq, type LayoutTemplateIssue as br, type ListBulletImage as bs, type ListEntryLayout as bt, type ListFit as bu, type ListFitOptions as bv, type ListNumber as bw, type ListText as bx, type ListValue as by, MAX_COMPOSITION_DEPTH as bz, ENGINE_DEFAULT_FONT_SCHEME as c, type TableGridCell as c$, PICTURE_BULLET_SCALE as c0, type PhysicalAlignment as c1, type QuoteContent as c2, type QuoteLayout as c3, type QuoteLayoutDiagnostic as c4, type QuoteLayoutOptions as c5, type QuotePhoto as c6, type QuoteTextPart as c7, type QuoteTextSource as c8, REGION_ANCHORS as c9, type RichText as cA, type RichTextFit as cB, type RichTextFragment as cC, type RichTextLine as cD, type RichTextOptions as cE, type RichTextRun as cF, type RowDemand as cG, SURFACE_ALT_MIN_CONTRAST as cH, SURFACE_ALT_MIX as cI, type ScriptFontApp as cJ, type ScriptFontSlots as cK, type ScriptFontSource as cL, type ScriptFontSupplement as cM, type ScriptMeasurementProfile as cN, type ScriptRole as cO, type SlideCitations as cP, type SlideComposition as cQ, type SocialProfile as cR, type SourceTextFit as cS, THEME_DESIGN_KEYS as cT, TIMELINE_OUTLINE_MIN_CONTRAST as cU, TIMELINE_STATUSES as cV, TIMELINE_TEXT_MIN_CONTRAST as cW, type TableBorder as cX, type TableCellLayout as cY, type TableCellStyle as cZ, type TableGrid as c_, REGION_FLOWS as ca, REGION_KINDS as cb, REGION_ROLES as cc, RESERVED_REGION_NAMES as cd, type ReadingBox as ce, type Reference as cf, type ReferencesSlideOptions as cg, type RegionAnchor as ch, type RegionBinding as ci, type RegionBindingDiagnostic as cj, type RegionBindingResult as ck, type RegionFlow as cl, type RegionKind as cm, type RegionRole as cn, type ResolveColorRefOptions as co, type ResolveColorRefRoles as cp, type ResolveColorRolesOptions as cq, type ResolveDesignHintsOptions as cr, type ResolveScriptFontsOptions as cs, type ResolvedChartDataLabels as ct, type ResolvedChartHighlight as cu, type ResolvedChartOptions as cv, type ResolvedColorRoles as cw, type ResolvedDesignHints as cx, type ResolvedNumbering as cy, type ResolvedScriptFonts as cz, ENGINE_DEFAULT_THEME as d, intrinsicImageSize as d$, type TableGridIssue as d0, type TableLayout as d1, type TableLayoutOptions as d2, type TableRowLayout as d3, type TextDirection as d4, type TextFit as d5, type TextLineInk as d6, type TextLineSegment as d7, type TextLineSource as d8, type TextPlacement as d9, chartTextSize as dA, chartValueAxis as dB, citationMarkerText as dC, codeHighlightBands as dD, codeHighlightColors as dE, codeHighlightLines as dF, codeLineNumbers as dG, codeLineRuns as dH, codeSyntaxPalette as dI, codeSyntaxPaletteForScheme as dJ, collectCitations as dK, colorContrast as dL, composeLayoutAreas as dM, composeSlide as dN, defaultSlideBackground as dO, fitImage as dP, fitList as dQ, fitRichText as dR, fitText as dS, formatChartLabelNumber as dT, formatChartLabelPercent as dU, formatFurnitureDate as dV, formatListNumber as dW, gridFlowShape as dX, imageBackground as dY, imageShape as dZ, intrinsicImageAspect as d_, type TextPlacementLine as da, type TimelineContent as db, type TimelineEvent as dc, type TimelineLayout as dd, type TimelineLayoutDiagnostic as de, type TimelineLayoutOptions as df, type TimelineMarkerShape as dg, type TimelineStatus as dh, type TimelineStatusColors as di, type TimelineTextPart as dj, type WatermarkTextLayout as dk, type WatermarkTextOptions as dl, allocateRows as dm, annotationText as dn, bindRegions as dp, blockKind as dq, captionSettings as dr, chartColorForFill as ds, chartHighlightColors as dt, chartHighlightMarks as du, chartLabelText as dv, chartOptionSupport as dw, chartOptionTarget as dx, chartPaletteForFill as dy, chartSeriesPalette as dz, type FontFamilies as e, textColorForFill as e$, isDarkColor as e0, isLayoutTemplate as e1, layoutCaption as e2, layoutCode as e3, layoutContent as e4, layoutFootnotes as e5, layoutFurniture as e6, layoutMetric as e7, layoutQuote as e8, layoutRegion as e9, regionAccepts as eA, regionRoleRank as eB, resolveCanvasDimensions as eC, resolveChartColors as eD, resolveChartOptions as eE, resolveCodeLanguage as eF, resolveColorRef as eG, resolveColorRoles as eH, resolveDesignHints as eI, resolveFontFamilies as eJ, resolveLogo as eK, resolveNumbering as eL, resolvePatternPreset as eM, resolveScriptFonts as eN, resolveSlideDirection as eO, resolveSocialProfile as eP, resolveTextStyle as eQ, rootNodes as eR, scriptFontRole as eS, sliceNumberedItems as eT, slideCitations as eU, snapFontSizeDown as eV, snapFontSizeUp as eW, stackCategoryValues as eX, surfaceAltColor as eY, tableGrid as eZ, tableRowBoundaries as e_, layoutStructure as ea, layoutTable as eb, layoutTemplate as ec, layoutTemplateIssues as ed, layoutTimeline as ee, layoutWatermark as ef, listColumnBreaks as eg, listNumbers as eh, maxIntervalsFor as ei, measureText as ej, measureTextOutline as ek, metricTrendColor as el, metricTrendMark as em, metricTrendPoints as en, niceScale as eo, normalizeHexColor as ep, numberingAtLevel as eq, numberingStyleDraws as er, paragraphDirection as es, paragraphDirectionAt as et, patternBitmap as eu, patternRuns as ev, physicalAlignment as ew, placeTextLines as ex, placedImageBlocks as ey, referencesSlide as ez, LANGUAGES as f, textWidthMeasurer as f0, timelineMarkerShapes as f1, timelineTextColor as f2, tokenizeCode as f3, visualReadingOrder as f4, walkCitationRuns as f5, wrapText as f6, LOGO_SHAPES as g, type LanguageFamilyName as h, type LanguageVocabulary as i, type LogoShape as j, type LogoVariant as k, type ResolvedLogo as l, type SocialPlatformVocabulary as m, type TextStyle as n, normalizeLanguageFamily as o, type AnnotatedRun as p, type AnnotationFitter as q, type AnnotationLayoutOptions as r, type BindRegionsOptions as s, type BoundBlock as t, CAPTIONABLE_FIELDS as u, CAPTION_FONT_RATIO as v, CAPTION_MAX_RATIO as w, CHART_HIGHLIGHT_MUTED_MIN_CONTRAST as x, CHART_HIGHLIGHT_MUTED_MIX as y, CHART_SERIES_MIN_DIFFERENCE as z };
|
package/dist/composition.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { A as AUTO_LAYOUT, p as AnnotatedRun, q as AnnotationFitter, r as AnnotationLayoutOptions, B as BackgroundImageFit, s as BindRegionsOptions, t as BoundBlock, u as CAPTIONABLE_FIELDS, v as CAPTION_FONT_RATIO, w as CAPTION_MAX_RATIO, x as CHART_HIGHLIGHT_MUTED_MIN_CONTRAST, y as CHART_HIGHLIGHT_MUTED_MIX, z as CHART_SERIES_MIN_DIFFERENCE, D as CHART_SERIES_MIN_LIGHTNESS_STEP, a as CHART_TYPES,
|
|
1
|
+
export { A as AUTO_LAYOUT, p as AnnotatedRun, q as AnnotationFitter, r as AnnotationLayoutOptions, B as BackgroundImageFit, s as BindRegionsOptions, t as BoundBlock, u as CAPTIONABLE_FIELDS, v as CAPTION_FONT_RATIO, w as CAPTION_MAX_RATIO, x as CHART_HIGHLIGHT_MUTED_MIN_CONTRAST, y as CHART_HIGHLIGHT_MUTED_MIX, z as CHART_SERIES_MIN_DIFFERENCE, D as CHART_SERIES_MIN_LIGHTNESS_STEP, G as CHART_SERIES_TIER_SIZE, H as CHART_SERIES_TINT_MIX, I as CHART_TEXT_PX, a as CHART_TYPES, J as CITATION_MARKER_RAISE, K as CITATION_MARKER_SCALE, N as CODE_HIGHLIGHT_LANGUAGES, O as CODE_HIGHLIGHT_MAX_LENGTH, P as CODE_PANEL_BACKGROUND, Q as CODE_PANEL_FOREGROUND, U as CODE_SYNTAX_MIN_CONTRAST, V as Caption, W as CaptionAlignment, X as CaptionObject, Y as CaptionPosition, Z as CaptionSettings, _ as ChartAxisGeometry, $ as ChartColorContext, a0 as ChartHighlightMarks, a1 as ChartLabelContent, a2 as ChartLabelPosition, a3 as ChartLegendPosition, a4 as ChartOptionDiagnostic, a5 as ChartOptionKind, a6 as ChartOptionSupport, a7 as ChartOptionTarget, a8 as ChartScale, a9 as ChartValueAxis, aa as CitationMarker, ab as CitationNote, ac as CodeContent, ad as CodeHighlightBand, ae as CodeHighlightColors, af as CodeHighlightEntry, ag as CodeHighlightIssue, ah as CodeHighlightLines, ai as CodeLayout, aj as CodeLayoutDiagnostic, ak as CodeLayoutOptions, al as CodeLineSegment, am as CodeLineSource, an as CodeRun, ao as CodeSyntaxPalette, ap as CodeSyntaxPaletteOptions, aq as CodeSyntaxPaletteTheme, ar as CodeTextFit, as as CodeTextPart, at as CodeToken, au as CodeTokenKind, C as ComposeSlideOptions, av as ComposedBackgroundImage, aw as ComposedCaption, ax as ComposedChart, ay as ComposedFlow, az as ComposedFootnoteEntry, aA as ComposedFootnotes, aB as ComposedGroup, aC as ComposedHeadingArea, aD as ComposedImage, aE as ComposedItem, aF as ComposedLayoutArea, aG as ComposedListColumn, aH as ComposedLogo, aI as ComposedOverlay, aJ as ComposedPlacement, aK as ComposedRegion, aL as Composition, aM as CompositionCandidate, aN as CompositionDecision, aO as CompositionExplanation, aP as CompositionPenalties, aQ as CompositionTrack, aR as DARK_BACKGROUND_LUMINANCE, aS as DEFAULT_CHART_LABEL_SEPARATOR, aT as DEFAULT_FURNITURE_DATE_FORMAT, aU as DESIGN_HINT_KEYS, aV as DeckCitations, aW as DesignHintKey, aX as DesignHintSource, aY as DesignHints, E as ENGINE_DEFAULT_CHART_TYPES, b as ENGINE_DEFAULT_COLOR_SCHEME, c as ENGINE_DEFAULT_FONT_SCHEME, d as ENGINE_DEFAULT_THEME, aZ as FONT_SIZE_GRID_PER_PX, a_ as FOOTNOTE_MAX_RATIO, a$ as FURNITURE_GAP, b0 as FURNITURE_IMAGE_SHARE, b1 as FURNITURE_ZONE_GUTTER, b2 as FlowShape, b3 as FontFaceSelection, e as FontFamilies, F as Fonts, b4 as FootnoteLayoutOptions, b5 as FurnitureField, b6 as FurnitureImagePart, b7 as FurnitureLayout, b8 as FurniturePart, b9 as FurniturePartBase, ba as FurnitureSocialLink, bb as FurnitureTextExtras, bc as FurnitureTextPart, bd as HEADING_AREAS, be as ImageEdge, bf as ImageFit, bg as ImageFitPlacement, bh as ImageFocus, bi as ImageShape, f as LANGUAGES, bj as LAYOUT_BODY_KINDS, g as LOGO_SHAPES, i as LanguageVocabulary, bk as LayoutArea, bl as LayoutAreasOptions, bm as LayoutBodyKind, bn as LayoutBox, bo as LayoutContent, L as LayoutDiagnostic, bp as LayoutRegion, bq as LayoutTemplate, br as LayoutTemplateIssue, bs as ListBulletImage, bt as ListEntryLayout, bu as ListFit, bv as ListFitOptions, bw as ListNumber, bx as ListText, by as ListValue, j as LogoShape, k as LogoVariant, bz as MAX_COMPOSITION_DEPTH, bA as MAX_NUMBERING_LEVELS, bB as MAX_NUMBERING_VALUE, bC as MAX_REGION_BLOCKS, bD as MAX_ROMAN_VALUE, bE as MAX_TEMPLATE_TRACKS, bF as METRIC_TREND_MIN_CONTRAST, bG as METRIC_TREND_SHAPES, M as MeasureTextWidth, bH as MetricContent, bI as MetricLayout, bJ as MetricLayoutDiagnostic, bK as MetricLayoutOptions, bL as MetricSentiment, bM as MetricTextPart, bN as MetricTextSource, bO as MetricTrend, bP as MetricTrendColorOptions, bQ as MetricTrendMark, bR as NUMBERING_STYLES, bS as NUMBERING_SUFFIXES, bT as Numbering, bU as NumberingInput, bV as NumberingStyleName, bW as NumberingSuffix, bX as OPFCompositionError, bY as OPFLayoutTemplateError, bZ as PATTERN_PRESETS, b_ as PATTERN_PRESET_ALIASES, b$ as PATTERN_TILE_SIZE, c0 as PICTURE_BULLET_SCALE, c1 as PhysicalAlignment, c2 as QuoteContent, c3 as QuoteLayout, c4 as QuoteLayoutDiagnostic, c5 as QuoteLayoutOptions, c6 as QuotePhoto, c7 as QuoteTextPart, c8 as QuoteTextSource, c9 as REGION_ANCHORS, ca as REGION_FLOWS, cb as REGION_KINDS, cc as REGION_ROLES, cd as RESERVED_REGION_NAMES, ce as ReadingBox, cf as Reference, cg as ReferencesSlideOptions, ch as RegionAnchor, ci as RegionBinding, cj as RegionBindingDiagnostic, ck as RegionBindingResult, cl as RegionFlow, cm as RegionKind, cn as RegionRole, co as ResolveColorRefOptions, cp as ResolveColorRefRoles, cq as ResolveColorRolesOptions, cr as ResolveDesignHintsOptions, R as ResolveLogoOptions, cs as ResolveScriptFontsOptions, ct as ResolvedChartDataLabels, cu as ResolvedChartHighlight, cv as ResolvedChartOptions, cw as ResolvedColorRoles, cx as ResolvedDesignHints, l as ResolvedLogo, cy as ResolvedNumbering, cz as ResolvedScriptFonts, cA as RichText, cB as RichTextFit, cC as RichTextFragment, cD as RichTextLine, cE as RichTextOptions, cF as RichTextRun, cG as RowDemand, S as SOCIAL_PLATFORMS, cH as SURFACE_ALT_MIN_CONTRAST, cI as SURFACE_ALT_MIX, cJ as ScriptFontApp, cK as ScriptFontSlots, cL as ScriptFontSource, cM as ScriptFontSupplement, cN as ScriptMeasurementProfile, cO as ScriptRole, cP as SlideCitations, cQ as SlideComposition, m as SocialPlatformVocabulary, cR as SocialProfile, cS as SourceTextFit, cT as THEME_DESIGN_KEYS, cU as TIMELINE_OUTLINE_MIN_CONTRAST, cV as TIMELINE_STATUSES, cW as TIMELINE_TEXT_MIN_CONTRAST, cX as TableBorder, cY as TableCellLayout, cZ as TableCellStyle, c_ as TableGrid, c$ as TableGridCell, d0 as TableGridIssue, d1 as TableLayout, d2 as TableLayoutOptions, d3 as TableRowLayout, d4 as TextDirection, d5 as TextFit, d6 as TextLineInk, d7 as TextLineSegment, d8 as TextLineSource, T as TextMeasurement, d9 as TextPlacement, da as TextPlacementLine, n as TextStyle, db as TimelineContent, dc as TimelineEvent, dd as TimelineLayout, de as TimelineLayoutDiagnostic, df as TimelineLayoutOptions, dg as TimelineMarkerShape, dh as TimelineStatus, di as TimelineStatusColors, dj as TimelineTextPart, dk as WatermarkTextLayout, dl as WatermarkTextOptions, dm as allocateRows, dn as annotationText, dp as bindRegions, dq as blockKind, dr as captionSettings, ds as chartColorForFill, dt as chartHighlightColors, du as chartHighlightMarks, dv as chartLabelText, dw as chartOptionSupport, dx as chartOptionTarget, dy as chartPaletteForFill, dz as chartSeriesPalette, dA as chartTextSize, dB as chartValueAxis, dC as citationMarkerText, dD as codeHighlightBands, dE as codeHighlightColors, dF as codeHighlightLines, dG as codeLineNumbers, dH as codeLineRuns, dI as codeSyntaxPalette, dJ as codeSyntaxPaletteForScheme, dK as collectCitations, dL as colorContrast, dM as composeLayoutAreas, dN as composeSlide, dO as defaultSlideBackground, dP as fitImage, dQ as fitList, dR as fitRichText, dS as fitText, dT as formatChartLabelNumber, dU as formatChartLabelPercent, dV as formatFurnitureDate, dW as formatListNumber, dX as gridFlowShape, dY as imageBackground, dZ as imageShape, d_ as intrinsicImageAspect, d$ as intrinsicImageSize, e0 as isDarkColor, e1 as isLayoutTemplate, e2 as layoutCaption, e3 as layoutCode, e4 as layoutContent, e5 as layoutFootnotes, e6 as layoutFurniture, e7 as layoutMetric, e8 as layoutQuote, e9 as layoutRegion, ea as layoutStructure, eb as layoutTable, ec as layoutTemplate, ed as layoutTemplateIssues, ee as layoutTimeline, ef as layoutWatermark, eg as listColumnBreaks, eh as listNumbers, ei as maxIntervalsFor, ej as measureText, ek as measureTextOutline, el as metricTrendColor, em as metricTrendMark, en as metricTrendPoints, eo as niceScale, ep as normalizeHexColor, eq as numberingAtLevel, er as numberingStyleDraws, es as paragraphDirection, et as paragraphDirectionAt, eu as patternBitmap, ev as patternRuns, ew as physicalAlignment, ex as placeTextLines, ey as placedImageBlocks, ez as referencesSlide, eA as regionAccepts, eB as regionRoleRank, eC as resolveCanvasDimensions, eD as resolveChartColors, eE as resolveChartOptions, eF as resolveCodeLanguage, eG as resolveColorRef, eH as resolveColorRoles, eI as resolveDesignHints, eJ as resolveFontFamilies, eK as resolveLogo, eL as resolveNumbering, eM as resolvePatternPreset, eN as resolveScriptFonts, eO as resolveSlideDirection, eP as resolveSocialProfile, eQ as resolveTextStyle, eR as rootNodes, eS as scriptFontRole, eT as sliceNumberedItems, eU as slideCitations, eV as snapFontSizeDown, eW as snapFontSizeUp, eX as stackCategoryValues, eY as surfaceAltColor, eZ as tableGrid, e_ as tableRowBoundaries, e$ as textColorForFill, f0 as textWidthMeasurer, f1 as timelineMarkerShapes, f2 as timelineTextColor, f3 as tokenizeCode, f4 as visualReadingOrder, f5 as walkCitationRuns, f6 as wrapText } from './composition-CkHn6JrM.js';
|
|
2
2
|
export { d as CATALOG_REFERENCE_PATTERN, C as Catalog, b as CatalogKind, a as CatalogOptions, f as CatalogRecords, g as CatalogReferenceSite, O as OPFCatalogsOptionError, h as OPFUnresolvedReferenceError, R as RecordProvenance, i as ResolvedReference, U as UnresolvedReferenceDiagnostic, j as catalogGroupSource, k as catalogKinds, l as catalogRecords, m as catalogReferenceSites, p as parseReference, r as resolveReference, u as unresolvedReference } from './catalog-refs-CSHevLn1.js';
|
|
3
3
|
export { I as ChartComboSeries, C as ChartMapping, D as DataCellValue, d as DataColumn, e as DataDiagnostic, h as DataSourceRef, j as DataTableCell, k as DataTableHeader, n as Dataset, o as DatasetRef, R as ResolvedChartData, p as ResolvedTableData, q as chartNumber, s as formatDataNumber, t as fromExcelNumberFormat, u as inlineChartData, v as inlineDatasets, w as inlineTableData, x as isDatasetRef, y as isXYChartType, z as numberFormatError, A as resolveChartData, B as resolveTableData, F as tableCellDisplayValue, G as toExcelNumberFormat } from './chart-data-BnNqgnC-.js';
|
package/dist/composition.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { AUTO_LAYOUT, CAPTIONABLE_FIELDS, CAPTION_FONT_RATIO, CAPTION_MAX_RATIO, CATALOG_REFERENCE_PATTERN, CHART_HIGHLIGHT_MUTED_MIN_CONTRAST, CHART_HIGHLIGHT_MUTED_MIX, CHART_SERIES_MIN_DIFFERENCE, CHART_SERIES_MIN_LIGHTNESS_STEP, CHART_TYPES, CITATION_MARKER_RAISE, CITATION_MARKER_SCALE, CODE_HIGHLIGHT_LANGUAGES, CODE_HIGHLIGHT_MAX_LENGTH, CODE_PANEL_BACKGROUND, CODE_PANEL_FOREGROUND, CODE_SYNTAX_MIN_CONTRAST, DARK_BACKGROUND_LUMINANCE, DEFAULT_CHART_LABEL_SEPARATOR, DEFAULT_FURNITURE_DATE_FORMAT, DESIGN_HINT_KEYS, ENGINE_DEFAULT_CHART_TYPES, ENGINE_DEFAULT_COLOR_SCHEME, ENGINE_DEFAULT_FONT_SCHEME, ENGINE_DEFAULT_THEME, FONT_SIZE_GRID_PER_PX, FOOTNOTE_MAX_RATIO, FURNITURE_GAP, FURNITURE_IMAGE_SHARE, HEADING_AREAS, LANGUAGES, LAYOUT_BODY_KINDS, LOGO_SHAPES, MAX_COMPOSITION_DEPTH, MAX_NUMBERING_LEVELS, MAX_NUMBERING_VALUE, MAX_REGION_BLOCKS, MAX_ROMAN_VALUE, MAX_TEMPLATE_TRACKS, METRIC_TREND_MIN_CONTRAST, METRIC_TREND_SHAPES, NUMBERING_STYLES, NUMBERING_SUFFIXES, OPFCatalogsOptionError, OPFCompositionError, OPFLayoutTemplateError, OPFUnresolvedReferenceError, PATTERN_PRESETS, PATTERN_PRESET_ALIASES, PATTERN_TILE_SIZE, PICTURE_BULLET_SCALE, REGION_ANCHORS, REGION_FLOWS, REGION_KINDS, REGION_ROLES, RESERVED_REGION_NAMES, SOCIAL_PLATFORMS, SURFACE_ALT_MIN_CONTRAST, SURFACE_ALT_MIX, THEME_DESIGN_KEYS, TIMELINE_OUTLINE_MIN_CONTRAST, TIMELINE_STATUSES, TIMELINE_TEXT_MIN_CONTRAST, allocateRows, annotationText, bindRegions, blockKind, captionSettings, catalogGroupSource, catalogKinds, catalogRecords, catalogReferenceSites, chartColorForFill, chartHighlightColors, chartHighlightMarks, chartLabelText, chartNumber, chartOptionSupport, chartOptionTarget, chartPaletteForFill, citationMarkerText, codeHighlightBands, codeHighlightColors, codeHighlightLines, codeLineNumbers, codeLineRuns, codeSyntaxPalette, codeSyntaxPaletteForScheme, collectCitations, colorContrast, composeLayoutAreas, composeSlide, defaultSlideBackground, fitImage, fitList, fitRichText, fitText, formatChartLabelNumber, formatChartLabelPercent, formatDataNumber, formatFurnitureDate, formatListNumber, fromExcelNumberFormat, gridFlowShape, imageBackground, imageShape, inlineChartData, inlineDatasets, inlineTableData, intrinsicImageAspect, intrinsicImageSize, isDarkColor, isDatasetRef, isLayoutTemplate, isXYChartType, layoutCaption, layoutCode, layoutContent, layoutFootnotes, layoutFurniture, layoutMetric, layoutQuote, layoutRegion, layoutStructure, layoutTable, layoutTemplate, layoutTemplateIssues, layoutTimeline, layoutWatermark, listColumnBreaks, listNumbers, measureText, measureTextOutline, metricTrendColor, metricTrendMark, metricTrendPoints, normalizeHexColor, numberFormatError, numberingAtLevel, numberingStyleDraws, paragraphDirection, paragraphDirectionAt, parseReference, patternBitmap, patternRuns, physicalAlignment, placeTextLines, placedImageBlocks, referencesSlide, regionAccepts, regionRoleRank, resolveCanvasDimensions, resolveChartData, resolveChartOptions, resolveCodeLanguage, resolveColorRef, resolveColorRoles, resolveDesignHints, resolveFontFamilies, resolveLogo, resolveNumbering, resolvePatternPreset, resolveReference, resolveScriptFonts, resolveSlideDirection, resolveSocialProfile, resolveTableData, resolveTextStyle, rootNodes, scriptFontRole, sliceNumberedItems, slideCitations, snapFontSizeDown, snapFontSizeUp, surfaceAltColor, tableCellDisplayValue, tableGrid, tableRowBoundaries, textColorForFill, textWidthMeasurer, timelineMarkerShapes, timelineTextColor, toExcelNumberFormat, tokenizeCode, unresolvedReference, visualReadingOrder, walkCitationRuns, wrapText } from './chunk-
|
|
1
|
+
export { AUTO_LAYOUT, CAPTIONABLE_FIELDS, CAPTION_FONT_RATIO, CAPTION_MAX_RATIO, CATALOG_REFERENCE_PATTERN, CHART_HIGHLIGHT_MUTED_MIN_CONTRAST, CHART_HIGHLIGHT_MUTED_MIX, CHART_SERIES_MIN_DIFFERENCE, CHART_SERIES_MIN_LIGHTNESS_STEP, CHART_SERIES_TIER_SIZE, CHART_SERIES_TINT_MIX, CHART_TEXT_PX, CHART_TYPES, CITATION_MARKER_RAISE, CITATION_MARKER_SCALE, CODE_HIGHLIGHT_LANGUAGES, CODE_HIGHLIGHT_MAX_LENGTH, CODE_PANEL_BACKGROUND, CODE_PANEL_FOREGROUND, CODE_SYNTAX_MIN_CONTRAST, DARK_BACKGROUND_LUMINANCE, DEFAULT_CHART_LABEL_SEPARATOR, DEFAULT_FURNITURE_DATE_FORMAT, DESIGN_HINT_KEYS, ENGINE_DEFAULT_CHART_TYPES, ENGINE_DEFAULT_COLOR_SCHEME, ENGINE_DEFAULT_FONT_SCHEME, ENGINE_DEFAULT_THEME, FONT_SIZE_GRID_PER_PX, FOOTNOTE_MAX_RATIO, FURNITURE_GAP, FURNITURE_IMAGE_SHARE, FURNITURE_ZONE_GUTTER, HEADING_AREAS, LANGUAGES, LAYOUT_BODY_KINDS, LOGO_SHAPES, MAX_COMPOSITION_DEPTH, MAX_NUMBERING_LEVELS, MAX_NUMBERING_VALUE, MAX_REGION_BLOCKS, MAX_ROMAN_VALUE, MAX_TEMPLATE_TRACKS, METRIC_TREND_MIN_CONTRAST, METRIC_TREND_SHAPES, NUMBERING_STYLES, NUMBERING_SUFFIXES, OPFCatalogsOptionError, OPFCompositionError, OPFLayoutTemplateError, OPFUnresolvedReferenceError, PATTERN_PRESETS, PATTERN_PRESET_ALIASES, PATTERN_TILE_SIZE, PICTURE_BULLET_SCALE, REGION_ANCHORS, REGION_FLOWS, REGION_KINDS, REGION_ROLES, RESERVED_REGION_NAMES, SOCIAL_PLATFORMS, SURFACE_ALT_MIN_CONTRAST, SURFACE_ALT_MIX, THEME_DESIGN_KEYS, TIMELINE_OUTLINE_MIN_CONTRAST, TIMELINE_STATUSES, TIMELINE_TEXT_MIN_CONTRAST, allocateRows, annotationText, bindRegions, blockKind, captionSettings, catalogGroupSource, catalogKinds, catalogRecords, catalogReferenceSites, chartColorForFill, chartHighlightColors, chartHighlightMarks, chartLabelText, chartNumber, chartOptionSupport, chartOptionTarget, chartPaletteForFill, chartSeriesPalette, chartTextSize, chartValueAxis, citationMarkerText, codeHighlightBands, codeHighlightColors, codeHighlightLines, codeLineNumbers, codeLineRuns, codeSyntaxPalette, codeSyntaxPaletteForScheme, collectCitations, colorContrast, composeLayoutAreas, composeSlide, defaultSlideBackground, fitImage, fitList, fitRichText, fitText, formatChartLabelNumber, formatChartLabelPercent, formatDataNumber, formatFurnitureDate, formatListNumber, fromExcelNumberFormat, gridFlowShape, imageBackground, imageShape, inlineChartData, inlineDatasets, inlineTableData, intrinsicImageAspect, intrinsicImageSize, isDarkColor, isDatasetRef, isLayoutTemplate, isXYChartType, layoutCaption, layoutCode, layoutContent, layoutFootnotes, layoutFurniture, layoutMetric, layoutQuote, layoutRegion, layoutStructure, layoutTable, layoutTemplate, layoutTemplateIssues, layoutTimeline, layoutWatermark, listColumnBreaks, listNumbers, maxIntervalsFor, measureText, measureTextOutline, metricTrendColor, metricTrendMark, metricTrendPoints, niceScale, normalizeHexColor, numberFormatError, numberingAtLevel, numberingStyleDraws, paragraphDirection, paragraphDirectionAt, parseReference, patternBitmap, patternRuns, physicalAlignment, placeTextLines, placedImageBlocks, referencesSlide, regionAccepts, regionRoleRank, resolveCanvasDimensions, resolveChartColors, resolveChartData, resolveChartOptions, resolveCodeLanguage, resolveColorRef, resolveColorRoles, resolveDesignHints, resolveFontFamilies, resolveLogo, resolveNumbering, resolvePatternPreset, resolveReference, resolveScriptFonts, resolveSlideDirection, resolveSocialProfile, resolveTableData, resolveTextStyle, rootNodes, scriptFontRole, sliceNumberedItems, slideCitations, snapFontSizeDown, snapFontSizeUp, stackCategoryValues, surfaceAltColor, tableCellDisplayValue, tableGrid, tableRowBoundaries, textColorForFill, textWidthMeasurer, timelineMarkerShapes, timelineTextColor, toExcelNumberFormat, tokenizeCode, unresolvedReference, visualReadingOrder, walkCitationRuns, wrapText } from './chunk-VKNFZEMG.js';
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export { convertFiles, deckFileFormat, exportFormatOf, openDeck, planConversion, readInput, saveDeck, writePlanned } from './chunk-DY7H4RG6.js';
|
|
2
|
+
import './chunk-MG34DCDB.js';
|
|
3
|
+
import './chunk-MAJHCGOW.js';
|
|
4
|
+
import './chunk-UJSAR6GF.js';
|
|
5
|
+
import './chunk-SPCONMIY.js';
|
|
6
|
+
import './chunk-MLMTXXM4.js';
|
|
7
|
+
import './chunk-SBWIZSPB.js';
|
|
8
|
+
import './chunk-7XNAMCGT.js';
|
|
9
|
+
import './chunk-3T7MNRBY.js';
|
|
10
|
+
import './chunk-BULGAKBY.js';
|
|
11
|
+
import './chunk-YSJRBRHB.js';
|
|
12
|
+
import './chunk-X3PQMMAY.js';
|
|
13
|
+
import './chunk-YUIEWE5B.js';
|
|
14
|
+
import './chunk-KUNXFN7B.js';
|
|
15
|
+
import './chunk-2SENTA2R.js';
|
|
16
|
+
import './chunk-23MOKE4B.js';
|
|
17
|
+
import './chunk-VKNFZEMG.js';
|
|
18
|
+
import './chunk-3UAVON3O.js';
|
|
19
|
+
import './chunk-F7PLNWHQ.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { D as DeckFormat } from './deck-report-
|
|
2
|
-
import { a as Finding, c as FindingSeverity } from './finding-
|
|
3
|
-
import { P as Presentation } from './presentation-
|
|
4
|
-
import { V as ValidationReport, f as ValidationChecks, a as ValidateOptions } from './validation-types-
|
|
1
|
+
import { D as DeckFormat } from './deck-report-vnWmXBjq.js';
|
|
2
|
+
import { a as Finding, c as FindingSeverity } from './finding-l9dlQ2NF.js';
|
|
3
|
+
import { P as Presentation } from './presentation-fN6tORPZ.js';
|
|
4
|
+
import { V as ValidationReport, f as ValidationChecks, a as ValidateOptions } from './validation-types-B21fZfb2.js';
|
|
5
5
|
import { C as Catalog } from './catalog-refs-CSHevLn1.js';
|
|
6
6
|
|
|
7
7
|
/** The base class: thrown for the request and the files (`node-only` in the browser build, `invalid-option`, `input-not-found`, `input-unreadable`, `invalid-presentation`, `output-exists`, `output-not-file`, `output-unwritable`). */
|
|
@@ -304,6 +304,7 @@ interface ResolvedExportOptions extends Omit<ExportOptions, "fonts" | "text" | "
|
|
|
304
304
|
}
|
|
305
305
|
/** The options of a call, checked against each other. Throws `invalid-option` (an OPFApiError) for a value out of range or an option that does not apply to the format. */
|
|
306
306
|
declare function resolveExportOptions(options: ExportOptions): ResolvedExportOptions;
|
|
307
|
+
declare function assetRoot(directory: string | undefined, flags?: boolean): string | undefined;
|
|
307
308
|
/**
|
|
308
309
|
* Draw a presentation that has already passed the format and references check (`ctx.reporter` holds that check's findings).
|
|
309
310
|
* Diagnostics from fonts, layout, the SVG, PDF and PPTX writers are added to `ctx.reporter`. Throws an `OPFApiError` for an
|
|
@@ -499,4 +500,4 @@ declare function planConversion(input: ConvertInput, output: string | undefined,
|
|
|
499
500
|
*/
|
|
500
501
|
declare function writePlanned(files: readonly ConvertedFile[], overwrite: boolean, flags?: boolean): Promise<void>;
|
|
501
502
|
|
|
502
|
-
export {
|
|
503
|
+
export { loadRenderer as $, type PreparedExport as A, RENDER_EXTRAS as B, type ConvertInput as C, type Diagnostic as D, type ExportFormat as E, type FontsHandle as F, RENDER_PACKAGE as G, type ReportFinding as H, type ImportOptions as I, type ResolvedExportOptions as J, type Source as K, asApiError as L, assetRoot as M, checkDate as N, type OpenOptions as O, type Peer as P, checkOptions as Q, type Renderer as R, type SaveOptions as S, checkRenamedOptions as T, checkScale as U, VERSIONS as V, deckFileFormat as W, exportFormatOf as X, finishReport as Y, importPresentation as Z, loadPptx as _, type ConvertOptions as a, locatePackage as a0, missingPeerFrom as a1, planConversion as a2, prepareExport as a3, reaches as a4, readInput as a5, reportThrown as a6, resolveExportOptions as a7, runExport as a8, runPreparedExport as a9, writePlanned as aa, type ConvertResult as b, type ConvertFormat as c, type SaveResult as d, type ConvertedFile as e, OPFApiError as f, OPFExportError as g, OPFImportError as h, type SlideSelection as i, type EmbeddedFace as j, Reporter as k, type PptxModule as l, type ConversionPlan as m, EXPORT_FORMATS as n, EXPORT_TEXT as o, parseSlideSelection as p, type ExportContext as q, type ExportFile as r, type ExportFontSummary as s, type ExportOptions as t, type ExportResult as u, type ExportRun as v, type ExportText as w, type ImportResult as x, PEER_RANGES as y, PPTX_PACKAGE as z };
|
package/dist/convert.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { P as PaginatedPage, a as PresentationPaginationOptions } from './pagination-
|
|
2
|
-
import './composition-
|
|
3
|
-
import './catalog-refs-CSHevLn1.js';
|
|
1
|
+
import { P as PaginatedPage, a as PresentationPaginationOptions } from './pagination-C4jzAtFy.js';
|
|
2
|
+
import './composition-CkHn6JrM.js';
|
|
4
3
|
import './chart-data-BnNqgnC-.js';
|
|
4
|
+
import './catalog-refs-CSHevLn1.js';
|
|
5
5
|
|
|
6
6
|
type Json = any;
|
|
7
7
|
type Obj = Record<string, any>;
|
package/dist/convert.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { paginate, OPFPaginationError } from './chunk-
|
|
2
|
-
import { parseQuoteLines, parseCodeFence, splitWhen, parseListLine, levelsFromIndents, fenceCode } from './chunk-
|
|
3
|
-
import { CONTENT_KEYS, isRecord, contentKeysOf, refuse, clone, Loss, isSlideLike, assertValidOwner, report, OPFConversionError, plainOf, assertValidOutput, same, splitRuns, runsOf, lineIsPlain, linePlain, concatText, lineValue, joinLines, hasFormatting } from './chunk-
|
|
4
|
-
export { OPFConversionError } from './chunk-
|
|
5
|
-
import './chunk-
|
|
6
|
-
import { promotedRegionKeys, isDatasetRef, inlineTableData, visitContentPayloads, chartNumber } from './chunk-
|
|
7
|
-
import './chunk-
|
|
1
|
+
import { paginate, OPFPaginationError } from './chunk-YUIEWE5B.js';
|
|
2
|
+
import { parseQuoteLines, parseCodeFence, splitWhen, parseListLine, levelsFromIndents, fenceCode } from './chunk-KUNXFN7B.js';
|
|
3
|
+
import { CONTENT_KEYS, isRecord, contentKeysOf, refuse, clone, Loss, isSlideLike, assertValidOwner, report, OPFConversionError, plainOf, assertValidOutput, same, splitRuns, runsOf, lineIsPlain, linePlain, concatText, lineValue, joinLines, hasFormatting } from './chunk-2SENTA2R.js';
|
|
4
|
+
export { OPFConversionError } from './chunk-2SENTA2R.js';
|
|
5
|
+
import './chunk-23MOKE4B.js';
|
|
6
|
+
import { promotedRegionKeys, isDatasetRef, inlineTableData, visitContentPayloads, chartNumber } from './chunk-VKNFZEMG.js';
|
|
7
|
+
import './chunk-3UAVON3O.js';
|
|
8
8
|
|
|
9
9
|
// src/convert/tables.ts
|
|
10
10
|
function cellOf(raw) {
|
package/dist/data.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as Chart } from './presentation-
|
|
1
|
+
import { C as Chart } from './presentation-fN6tORPZ.js';
|
|
2
2
|
export { C as ChartMapping, a as ChartNumberFix, b as ChartNumberFixOperation, c as ChartNumberFixOptions, D as DataCellValue, d as DataColumn, e as DataDiagnostic, f as DataDiagnosticCode, g as DataResolveOptions, h as DataSourceRef, i as DataStyledCell, j as DataTableCell, k as DataTableHeader, l as DataTableValue, m as DataTextRun, n as Dataset, o as DatasetRef, R as ResolvedChartData, p as ResolvedTableData, q as chartNumber, r as datasetDiagnostics, s as formatDataNumber, t as fromExcelNumberFormat, u as inlineChartData, v as inlineDatasets, w as inlineTableData, x as isDatasetRef, y as isXYChartType, z as numberFormatError, A as resolveChartData, B as resolveTableData, E as suggestChartNumberFix, F as tableCellDisplayValue, G as toExcelNumberFormat, H as unusedDatasets } from './chart-data-BnNqgnC-.js';
|
|
3
3
|
|
|
4
4
|
type DataCell = string | number | boolean | null;
|
package/dist/data.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { OPFDataImportError, ingest, parseTabularData } from './chunk-
|
|
2
|
-
export { chartNumber, datasetDiagnostics, formatDataNumber, fromExcelNumberFormat, inlineChartData, inlineDatasets, inlineTableData, isDatasetRef, isXYChartType, numberFormatError, resolveChartData, resolveTableData, suggestChartNumberFix, tableCellDisplayValue, toExcelNumberFormat, unusedDatasets } from './chunk-
|
|
1
|
+
export { OPFDataImportError, ingest, parseTabularData } from './chunk-SPCONMIY.js';
|
|
2
|
+
export { chartNumber, datasetDiagnostics, formatDataNumber, fromExcelNumberFormat, inlineChartData, inlineDatasets, inlineTableData, isDatasetRef, isXYChartType, numberFormatError, resolveChartData, resolveTableData, suggestChartNumberFix, tableCellDisplayValue, toExcelNumberFormat, unusedDatasets } from './chunk-VKNFZEMG.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { C as Catalog } from './catalog-refs-CSHevLn1.js';
|
|
2
|
-
import { P as Presentation } from './presentation-
|
|
3
|
-
import { V as ValidationReport, a as ValidateOptions } from './validation-types-
|
|
2
|
+
import { P as Presentation } from './presentation-fN6tORPZ.js';
|
|
3
|
+
import { V as ValidationReport, a as ValidateOptions } from './validation-types-B21fZfb2.js';
|
|
4
4
|
|
|
5
5
|
/** The serializations of a deck: `json` (canonical), `yaml` (`.opf.yaml`) and `markdown` (`.opf.md`). */
|
|
6
6
|
type DeckFormat = "json" | "yaml" | "markdown";
|
package/dist/deck.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { D as DeckFormat, P as ParseOptions } from './deck-report-
|
|
2
|
-
export { a as DECK_FORMATS, d as deckFormatOf } from './deck-report-
|
|
3
|
-
import { P as Presentation } from './presentation-
|
|
1
|
+
import { D as DeckFormat, P as ParseOptions } from './deck-report-vnWmXBjq.js';
|
|
2
|
+
export { a as DECK_FORMATS, d as deckFormatOf } from './deck-report-vnWmXBjq.js';
|
|
3
|
+
import { P as Presentation } from './presentation-fN6tORPZ.js';
|
|
4
4
|
import './catalog-refs-CSHevLn1.js';
|
|
5
|
-
import './validation-types-
|
|
6
|
-
import './composition-
|
|
5
|
+
import './validation-types-B21fZfb2.js';
|
|
6
|
+
import './composition-CkHn6JrM.js';
|
|
7
7
|
import './chart-data-BnNqgnC-.js';
|
|
8
|
-
import './finding-
|
|
8
|
+
import './finding-l9dlQ2NF.js';
|
|
9
9
|
import './json-BFSdESOE.js';
|
|
10
10
|
|
|
11
11
|
/**
|
package/dist/deck.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export { DECK_FORMATS, deckFormatOf, parse, stringify } from './chunk-
|
|
2
|
-
import './chunk-
|
|
3
|
-
import './chunk-
|
|
4
|
-
import './chunk-
|
|
5
|
-
import './chunk-
|
|
6
|
-
import './chunk-
|
|
7
|
-
import './chunk-
|
|
8
|
-
import './chunk-
|
|
9
|
-
import './chunk-
|
|
10
|
-
import './chunk-
|
|
1
|
+
export { DECK_FORMATS, deckFormatOf, parse, stringify } from './chunk-MLMTXXM4.js';
|
|
2
|
+
import './chunk-SBWIZSPB.js';
|
|
3
|
+
import './chunk-7XNAMCGT.js';
|
|
4
|
+
import './chunk-3T7MNRBY.js';
|
|
5
|
+
import './chunk-X3PQMMAY.js';
|
|
6
|
+
import './chunk-KUNXFN7B.js';
|
|
7
|
+
import './chunk-2SENTA2R.js';
|
|
8
|
+
import './chunk-23MOKE4B.js';
|
|
9
|
+
import './chunk-VKNFZEMG.js';
|
|
10
|
+
import './chunk-3UAVON3O.js';
|
package/dist/diff.d.ts
CHANGED
package/dist/diff.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { categoryOf, describeValue, diff, formatDiffReport, matchArrays, merge, similarity } from './chunk-
|
|
2
|
-
import './chunk-
|
|
3
|
-
import './chunk-
|
|
4
|
-
import './chunk-
|
|
5
|
-
import './chunk-
|
|
1
|
+
export { categoryOf, describeValue, diff, formatDiffReport, matchArrays, merge, similarity } from './chunk-BULGAKBY.js';
|
|
2
|
+
import './chunk-YSJRBRHB.js';
|
|
3
|
+
import './chunk-23MOKE4B.js';
|
|
4
|
+
import './chunk-VKNFZEMG.js';
|
|
5
|
+
import './chunk-3UAVON3O.js';
|