@openpresentation/opf 0.17.0 → 0.18.3
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 +4 -4
- package/dist/browser.js +38 -0
- package/dist/{catalog-refs-C4K4y-vh.d.ts → catalog-refs-BSfGELpt.d.ts} +1 -1
- package/dist/{catalog-schemas-g7RFQBdc.d.ts → catalog-schemas-CinPh5WA.d.ts} +1 -1
- package/dist/catalog.d.ts +2 -2
- package/dist/{chart-data-DTxdRRT1.d.ts → chart-data-BnNqgnC-.d.ts} +1 -1
- package/dist/{chunk-RA64UQKI.js → chunk-2PEWUUBR.js} +97 -73
- package/dist/{chunk-TCD2FB2K.js → chunk-ECP7QPGK.js} +5 -5
- package/dist/{chunk-O2CX5NEH.js → chunk-FO3WGS4R.js} +6 -5
- package/dist/{chunk-N4EVOFEA.js → chunk-GVOLSWAJ.js} +4 -4
- package/dist/{chunk-WWYWFVOI.js → chunk-IM337HP5.js} +151 -25
- package/dist/{chunk-YT7FMQER.js → chunk-JCOSZTOI.js} +1 -1
- package/dist/{chunk-IPW5BS3X.js → chunk-K5EG3UMS.js} +190 -172
- package/dist/{chunk-NLNYNBTS.js → chunk-KA3ZPFVT.js} +84 -26
- package/dist/{chunk-M4UR3NPN.js → chunk-L5YACLWK.js} +2 -2
- package/dist/{chunk-CW7GEAV3.js → chunk-MBU42S5Y.js} +291 -133
- package/dist/{chunk-BIC3SWPK.js → chunk-MSFE2HUK.js} +30 -5
- package/dist/{chunk-ESRYBYLY.js → chunk-PNINP5IF.js} +1 -1
- package/dist/{chunk-IS5H5JKH.js → chunk-R7KIASS4.js} +1 -1
- package/dist/{chunk-PPROJP2E.js → chunk-TRELE6I6.js} +1 -1
- package/dist/{chunk-O3CVNJTL.js → chunk-WHHLGDCQ.js} +1 -1
- package/dist/{chunk-O263APNI.js → chunk-ZCFSDSUX.js} +3 -3
- package/dist/{composition-BbZ_9C-c.d.ts → composition-C-OoqvAr.d.ts} +80 -40
- package/dist/composition.d.ts +3 -3
- package/dist/composition.js +1 -1
- package/dist/conversion-4CLOEG6O.js +21 -0
- package/dist/{conversion-SBpTOwdg.d.ts → conversion-BxZbBd_0.d.ts} +96 -38
- package/dist/convert.d.ts +4 -4
- package/dist/convert.js +7 -7
- package/dist/data.d.ts +7 -7
- package/dist/data.js +2 -2
- package/dist/{deck-report-Bx3naFlF.d.ts → deck-report-DiDf_Vew.d.ts} +5 -5
- package/dist/deck.d.ts +8 -8
- package/dist/deck.js +10 -10
- package/dist/diff.d.ts +1 -1
- package/dist/diff.js +5 -5
- package/dist/docs.js +35 -29
- package/dist/examples.d.ts +1 -1
- package/dist/examples.js +181 -214
- package/dist/{finding-CDQ_wH8j.d.ts → finding-CT_f_vbD.d.ts} +1 -1
- package/dist/format.js +2 -2
- package/dist/index.d.ts +153 -20
- package/dist/index.js +62 -15
- package/dist/markdown.d.ts +12 -8
- package/dist/markdown.js +7 -7
- package/dist/node-engine.d.ts +37 -17
- package/dist/node-engine.js +39 -16
- package/dist/{pagination-BhX4M48Y.d.ts → pagination-BaUjDrTz.d.ts} +7 -4
- package/dist/pagination.d.ts +4 -4
- package/dist/pagination.js +4 -4
- package/dist/patch.d.ts +1 -1
- package/dist/patch.js +4 -4
- package/dist/{presentation-fb8CZmRq.d.ts → presentation-81rNihF0.d.ts} +271 -384
- package/dist/repo-readme.js +1 -1
- package/dist/schemas.d.ts +4 -2
- package/dist/schemas.js +1 -1
- package/dist/spec/README.md +1 -1
- package/dist/spec/schemas/opf.schema.json +67 -72
- package/dist/types.d.ts +3 -3
- package/dist/{validation-types-iZbXfES6.d.ts → validation-types-PbGDrNUr.d.ts} +12 -7
- package/dist/validator.d.ts +8 -8
- package/dist/validator.js +3 -3
- package/dist/yaml.d.ts +6 -6
- package/dist/yaml.js +7 -7
- package/package.json +14 -12
- package/dist/node.d.ts +0 -60
- package/dist/node.js +0 -54
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Ctx, splitLines, lineRange, readYamlMapping, NOT_CHECKED, OPFMarkdownError, writeYaml, readCsv, DECIMAL, csvField, scalarText } from './chunk-
|
|
2
|
-
import { parseQuoteLines, levelsFromIndents, parseCodeFence, splitWhen, fenceCode } from './chunk-
|
|
3
|
-
import { same, isRecord, runText, isPlainRun, FORMATTING } from './chunk-
|
|
4
|
-
import { validate } from './chunk-
|
|
1
|
+
import { Ctx, splitLines, lineRange, readYamlMapping, NOT_CHECKED, OPFMarkdownError, writeYaml, readCsv, DECIMAL, csvField, scalarText } from './chunk-R7KIASS4.js';
|
|
2
|
+
import { parseQuoteLines, levelsFromIndents, parseCodeFence, splitWhen, fenceCode } from './chunk-PNINP5IF.js';
|
|
3
|
+
import { same, isRecord, runText, isPlainRun, FORMATTING } from './chunk-TRELE6I6.js';
|
|
4
|
+
import { validate } from './chunk-KA3ZPFVT.js';
|
|
5
5
|
import { checkCatalogsOption } from './chunk-SPFV27O5.js';
|
|
6
6
|
|
|
7
7
|
// src/markdown/canon.ts
|
|
@@ -789,6 +789,30 @@ function splitSegments(lines, split) {
|
|
|
789
789
|
}
|
|
790
790
|
return segments;
|
|
791
791
|
}
|
|
792
|
+
function isOutline(lines) {
|
|
793
|
+
let fence;
|
|
794
|
+
let comment = false;
|
|
795
|
+
let notes = false;
|
|
796
|
+
let headings = 0;
|
|
797
|
+
for (const { text } of lines) {
|
|
798
|
+
if (fence !== void 0) {
|
|
799
|
+
if (fenceClose(fence).test(text)) fence = void 0;
|
|
800
|
+
continue;
|
|
801
|
+
}
|
|
802
|
+
if (comment) {
|
|
803
|
+
if (text.includes("-->")) comment = false;
|
|
804
|
+
continue;
|
|
805
|
+
}
|
|
806
|
+
if (SEPARATOR.test(text)) return false;
|
|
807
|
+
if (notes) continue;
|
|
808
|
+
if (/^#(?:[ \t]|$)/.test(text)) headings++;
|
|
809
|
+
const open = fenceStart(text);
|
|
810
|
+
if (open) fence = open.fence;
|
|
811
|
+
else if (COMMENT.test(text) && !text.includes("-->", text.indexOf("<!--") + 4)) comment = true;
|
|
812
|
+
else if (NOTES.test(text)) notes = true;
|
|
813
|
+
}
|
|
814
|
+
return headings >= 2;
|
|
815
|
+
}
|
|
792
816
|
function joinParagraph(lines) {
|
|
793
817
|
let out = "";
|
|
794
818
|
lines.forEach((raw, k) => {
|
|
@@ -1776,7 +1800,8 @@ function fromMarkdown(markdown, options = {}) {
|
|
|
1776
1800
|
body = lines.slice(matter.end);
|
|
1777
1801
|
}
|
|
1778
1802
|
const document = { ...options.defaults ?? {}, ...front };
|
|
1779
|
-
const
|
|
1803
|
+
const split = options.split ?? "auto";
|
|
1804
|
+
const segments = splitSegments(body, split === "headings" || split === "auto" && isOutline(body) ? "headings" : "rules");
|
|
1780
1805
|
const slides = [];
|
|
1781
1806
|
segments.forEach((segment, index) => {
|
|
1782
1807
|
if (emptySegment(segment)) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { chartNumber } from './chunk-
|
|
1
|
+
import { chartNumber } from './chunk-MBU42S5Y.js';
|
|
2
2
|
|
|
3
3
|
// src/data.ts
|
|
4
4
|
var OPFDataImportError = class extends Error {
|
|
@@ -114,7 +114,7 @@ function measure(value, location) {
|
|
|
114
114
|
if (number !== null) return number;
|
|
115
115
|
return fail(`${location}: expected a numeric chart value; found ${JSON.stringify(value)}. Clean the value or select another series.`);
|
|
116
116
|
}
|
|
117
|
-
function
|
|
117
|
+
function ingest(input, options) {
|
|
118
118
|
const data = parseTabularData(input, options);
|
|
119
119
|
if (options.as === "table") return { table: data };
|
|
120
120
|
if (options.as !== "chart") return fail("Choose table or chart.");
|
|
@@ -144,4 +144,4 @@ function importData(input, options) {
|
|
|
144
144
|
} } };
|
|
145
145
|
}
|
|
146
146
|
|
|
147
|
-
export { OPFDataImportError,
|
|
147
|
+
export { OPFDataImportError, ingest, parseTabularData };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import './chart-data-
|
|
1
|
+
import { b as CatalogOptions } from './catalog-refs-BSfGELpt.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 {
|
|
@@ -523,6 +523,61 @@ declare function formatFurnitureDate(iso: string, pattern: string): {
|
|
|
523
523
|
error: string;
|
|
524
524
|
};
|
|
525
525
|
|
|
526
|
+
/**
|
|
527
|
+
* Organization logos (RR-71, OPF 0.18): every logo lives on an organization, in up to four shapes, each optionally
|
|
528
|
+
* split by the background it is drawn on. One resolution rule for every consumer: the cover and section logo, picture
|
|
529
|
+
* bullets, and the slide-scoped built-in references `var:organization.logo[.<shape>]` and
|
|
530
|
+
* `var:organization.<id>.logo[.<shape>]` in any image field (zone `image`, image blocks, slide `image`).
|
|
531
|
+
* Pure: no I/O; colors are never inspected (the host's dark-background test picks `onDark`).
|
|
532
|
+
* See docs/templates-and-variables.md and docs/design-resolution.md.
|
|
533
|
+
*/
|
|
534
|
+
/** The logo shapes an organization can provide, in picker order. */
|
|
535
|
+
declare const LOGO_SHAPES: readonly ["full", "stacked", "icon", "wordmark"];
|
|
536
|
+
type LogoShape = (typeof LOGO_SHAPES)[number];
|
|
537
|
+
/** Which value of a shape was drawn: `onLight` or `onDark` from a split shape, `default` for a single asset. */
|
|
538
|
+
type LogoVariant = "onLight" | "onDark" | "default";
|
|
539
|
+
/** A logo asset chosen by resolveLogo. */
|
|
540
|
+
interface ResolvedLogo {
|
|
541
|
+
/** The asset as authored (a string or an Asset object). */
|
|
542
|
+
source: unknown;
|
|
543
|
+
/** OPF path of the chosen value: `organization.logo`, `organization.1.logo.icon`, `organization.logo.full.onDark`. */
|
|
544
|
+
path: string;
|
|
545
|
+
/** The shape that was asked for (after a `design.logo` override); `path` shows the shape that supplied it. */
|
|
546
|
+
shape: LogoShape;
|
|
547
|
+
variant: LogoVariant;
|
|
548
|
+
/** The canonical slide-scoped reference for this logo: `var:organization.logo`, `var:organization.beta.logo.icon`. */
|
|
549
|
+
reference: string;
|
|
550
|
+
/** The `design.logo` override that chose the organization or shape (`design.logo`, `slides.3.design.logo`), when one did. */
|
|
551
|
+
designPath?: string;
|
|
552
|
+
}
|
|
553
|
+
interface ResolveLogoOptions {
|
|
554
|
+
/** The shape the consumer draws when no override names one; defaults to `full` (covers). Picture bullets ask for `icon`. */
|
|
555
|
+
shape?: LogoShape;
|
|
556
|
+
/** True on a dark background (host luminance test): `onDark` values first, then `onLight`. */
|
|
557
|
+
onDark?: boolean;
|
|
558
|
+
/** Index used in the `slides.N.design.logo` path of a slide-level override; defaults to 0. */
|
|
559
|
+
slideIndex?: number;
|
|
560
|
+
/** Resolve this reference (`var:organization.beta.logo.icon`, with or without `var:`) instead of the design.logo chain. */
|
|
561
|
+
reference?: string;
|
|
562
|
+
}
|
|
563
|
+
/**
|
|
564
|
+
* Resolve the logo a slide should draw, the same way in every engine (OPF 0.18, RR-71). Logos live on the
|
|
565
|
+
* organization (`Organization.logo`: one asset, or `{ full, stacked, icon, wordmark }`, each an asset or
|
|
566
|
+
* `{ onLight, onDark }`). Which one:
|
|
567
|
+
*
|
|
568
|
+
* 1. `options.reference`, when given (`var:organization.beta.logo.icon`);
|
|
569
|
+
* 2. else the slide's `design.logo`, then the deck's: `false` draws no logo, and a logo reference
|
|
570
|
+
* (`var:organization.beta.logo`, `var:organization.logo.wordmark`) picks the organization and, when it names one,
|
|
571
|
+
* the shape (a named shape wins over `options.shape`);
|
|
572
|
+
* 3. else the primary organization (`role: 'primary'`, else the first).
|
|
573
|
+
*
|
|
574
|
+
* The shape is `options.shape` (default `full`) unless the reference names one; a missing shape falls back to `full`,
|
|
575
|
+
* and `full` to the first defined of `wordmark`, `stacked`, `icon`. Within a shape, `onDark` is preferred on a dark
|
|
576
|
+
* background and `onLight` otherwise, and a missing one uses the other. Returns null when no logo resolves (including
|
|
577
|
+
* an override that names an organization without a logo: the override never falls back to another organization).
|
|
578
|
+
*/
|
|
579
|
+
declare function resolveLogo(presentation: unknown, slide: unknown, options?: ResolveLogoOptions): ResolvedLogo | null;
|
|
580
|
+
|
|
526
581
|
/** Normalize a literal hex color to uppercase #RRGGBB. */
|
|
527
582
|
declare function normalizeHexColor(value: unknown): string | undefined;
|
|
528
583
|
type ResolveColorRefRoles = Partial<Record<'primary' | 'secondary' | 'accent' | 'background' | 'surface' | 'surfaceAlt' | 'text' | 'textSecondary', string>>;
|
|
@@ -1617,26 +1672,19 @@ interface ComposedBackgroundImage {
|
|
|
1617
1672
|
/** Present when core reads the picture's aspect ratio and the fit is not tile; otherwise call `fitImage` with the host's. */
|
|
1618
1673
|
picture?: ImageFitPlacement;
|
|
1619
1674
|
}
|
|
1620
|
-
/** Which logo variant family a consumer asks for: the full lockup, a square mark, or a stacked lockup. */
|
|
1621
|
-
type LogoSlot = 'lockup' | 'icon' | 'stacked';
|
|
1622
|
-
/** A logo asset chosen by resolveLogo, with its source value, OPF path, LogoSet variant key and the slot it serves. */
|
|
1623
|
-
interface ResolvedLogo {
|
|
1624
|
-
source: unknown;
|
|
1625
|
-
path: string;
|
|
1626
|
-
variant: string;
|
|
1627
|
-
slot: LogoSlot;
|
|
1628
|
-
}
|
|
1629
1675
|
/**
|
|
1630
1676
|
* The deck logo drawn on a cover or section slide, at the top-left of the free area and above the
|
|
1631
|
-
* centered heading group
|
|
1632
|
-
* anchored left and vertically centered; content slides never carry one.
|
|
1677
|
+
* centered heading group: the primary organization's full logo, or the `design.logo` override. Consumers fit the
|
|
1678
|
+
* image inside `box` preserving its aspect ratio, anchored left and vertically centered; content slides never carry one.
|
|
1679
|
+
* `shape`, `variant` and `reference` are those of `resolveLogo`.
|
|
1633
1680
|
*/
|
|
1634
1681
|
interface ComposedLogo {
|
|
1635
1682
|
box: LayoutBox;
|
|
1636
|
-
|
|
1683
|
+
shape: LogoShape;
|
|
1637
1684
|
path: string;
|
|
1638
1685
|
source: unknown;
|
|
1639
|
-
variant:
|
|
1686
|
+
variant: LogoVariant;
|
|
1687
|
+
reference: string;
|
|
1640
1688
|
anchor: 'left' | 'right';
|
|
1641
1689
|
}
|
|
1642
1690
|
/** Picture bullet source for list markers: the deck's icon logo and the OPF path it was read from. */
|
|
@@ -1785,8 +1833,8 @@ interface ComposeSlideOptions {
|
|
|
1785
1833
|
datasets?: unknown;
|
|
1786
1834
|
};
|
|
1787
1835
|
/**
|
|
1788
|
-
* Whether the slide background is dark, by the host's own luminance test. Selects
|
|
1789
|
-
*
|
|
1836
|
+
* Whether the slide background is dark, by the host's own luminance test. Selects each logo's
|
|
1837
|
+
* `onDark` value (cover logo, `var:organization.logo.*` in zone images, picture bullets). Core never inspects colors.
|
|
1790
1838
|
*/
|
|
1791
1839
|
darkBackground?: boolean;
|
|
1792
1840
|
/**
|
|
@@ -1856,35 +1904,20 @@ declare function imageBackground(value: unknown): {
|
|
|
1856
1904
|
recolor?: unknown;
|
|
1857
1905
|
overlay?: unknown;
|
|
1858
1906
|
} | undefined;
|
|
1859
|
-
interface ResolveLogoOptions {
|
|
1860
|
-
/** Variant family to prefer; defaults to the full lockup. */
|
|
1861
|
-
slot?: LogoSlot;
|
|
1862
|
-
/** True on a dark background (host luminance test): light variants are preferred, dark ones come last. */
|
|
1863
|
-
onDark?: boolean;
|
|
1864
|
-
/** Index used in the `slides.N.design.logo` path of a slide-level logo; defaults to 0. */
|
|
1865
|
-
slideIndex?: number;
|
|
1866
|
-
}
|
|
1867
|
-
/**
|
|
1868
|
-
* Resolve the logo a slide should draw, the same way in every engine. Source precedence:
|
|
1869
|
-
* `slides[i].design.logo`, then `design.logo`, then the primary organization's `logo` (`role: 'primary'`,
|
|
1870
|
-
* else the first organization; `organization` may be an object or an array). Absence inherits; a source
|
|
1871
|
-
* that yields no usable asset falls through to the next. A string or Asset object is the `default`
|
|
1872
|
-
* variant. A LogoSet picks by slot and tone: `icon` tries iconLight/iconDark (tone), then icon, then the
|
|
1873
|
-
* lockup chain; `stacked` tries stackedLight/stackedDark (tone), then stacked, then the lockup chain; the
|
|
1874
|
-
* lockup chain prefers same-tone variants, then neutral ones, then the opposite tone. `path` is the OPF
|
|
1875
|
-
* path of the chosen value (`design.logo`, `design.logo.light`, `organization.2.logo`,
|
|
1876
|
-
* `slides.3.design.logo.icon`) and `variant` the LogoSet key or `default`. Returns null without a logo.
|
|
1877
|
-
*/
|
|
1878
|
-
declare function resolveLogo(presentation: unknown, slide: unknown, options?: ResolveLogoOptions): ResolvedLogo | null;
|
|
1879
1907
|
interface FurniturePartBase {
|
|
1880
1908
|
kind: 'header' | 'footer';
|
|
1881
1909
|
zone: 'left' | 'center' | 'right';
|
|
1882
|
-
field: 'text' | 'image' | '
|
|
1910
|
+
field: 'text' | 'image' | 'socials' | 'date';
|
|
1883
1911
|
/** Literal field or controlling flag, with the actual inherited/local path. */
|
|
1884
1912
|
path: string;
|
|
1885
|
-
/** String/asset source, when different from a generated field's flag. */
|
|
1913
|
+
/** String/asset source, when different from a generated field's flag; for a logo reference, the organization logo value drawn. */
|
|
1886
1914
|
sourcePath?: string;
|
|
1887
1915
|
generated: boolean;
|
|
1916
|
+
/**
|
|
1917
|
+
* The part's own box. A zone lays its parts out in one row, in the order image, text, socials, date (mirrored in a
|
|
1918
|
+
* right-to-left deck), aligned to the zone's edge with FURNITURE_GAP between parts and each part vertically centered
|
|
1919
|
+
* in the row. A zone with one part keeps the full zone width for text.
|
|
1920
|
+
*/
|
|
1888
1921
|
box: LayoutBox;
|
|
1889
1922
|
alignment: 'left' | 'center' | 'right';
|
|
1890
1923
|
}
|
|
@@ -1936,7 +1969,10 @@ interface FurnitureSocialLink extends SocialProfile {
|
|
|
1936
1969
|
declare function resolveSocialProfile(platform: string, value: string, owner?: 'organization' | 'speaker'): SocialProfile;
|
|
1937
1970
|
interface FurnitureImagePart extends FurniturePartBase {
|
|
1938
1971
|
type: 'image';
|
|
1972
|
+
/** The asset to draw: the zone `image` as written, or the organization logo a logo reference resolved to for this slide. */
|
|
1939
1973
|
image: unknown;
|
|
1974
|
+
/** The slide-scoped logo reference the zone wrote (`var:organization.logo.icon`), when `image` came from one. */
|
|
1975
|
+
reference?: string;
|
|
1940
1976
|
}
|
|
1941
1977
|
type FurniturePart = FurnitureTextPart | FurnitureImagePart;
|
|
1942
1978
|
interface FurnitureLayout {
|
|
@@ -1952,6 +1988,10 @@ interface FurnitureLayout {
|
|
|
1952
1988
|
diagnostics: LayoutDiagnostic[];
|
|
1953
1989
|
overflow: boolean;
|
|
1954
1990
|
}
|
|
1991
|
+
/** Gap between the parts of one header/footer zone row, in reference pixels (scaled with the canvas's short edge). */
|
|
1992
|
+
declare const FURNITURE_GAP = 12;
|
|
1993
|
+
/** 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. */
|
|
1994
|
+
declare const FURNITURE_IMAGE_SHARE = 0.4;
|
|
1955
1995
|
/** Resolve and measure repeated fields without mutating metadata or consulting a clock. */
|
|
1956
1996
|
declare function layoutFurniture(input: unknown, options?: ComposeSlideOptions): FurnitureLayout;
|
|
1957
1997
|
/** Deterministic estimate, not a font shaping engine. Preserves explicit line breaks. */
|
|
@@ -2462,4 +2502,4 @@ declare function resolveCanvasDimensions(input: unknown): {
|
|
|
2462
2502
|
height: number;
|
|
2463
2503
|
};
|
|
2464
2504
|
|
|
2465
|
-
export { type
|
|
2505
|
+
export { type ChartOptionTarget as $, type AnnotatedRun as A, type BackgroundImageFit as B, type ComposeSlideOptions as C, CODE_HIGHLIGHT_LANGUAGES as D, ENGINE_DEFAULT_CHART_TYPES as E, type Fonts as F, CODE_HIGHLIGHT_MAX_LENGTH as G, CODE_PANEL_BACKGROUND as H, CODE_PANEL_FOREGROUND as I, CODE_SYNTAX_MIN_CONTRAST as J, type Caption as K, type LayoutDiagnostic as L, type MeasureTextWidth as M, type CaptionAlignment as N, type CaptionObject as O, type CaptionPosition as P, type CaptionSettings as Q, type ResolveLogoOptions as R, SOCIAL_PLATFORMS as S, type TextMeasurement as T, type ChartHighlightMarks as U, type ChartLabelContent as V, type ChartLabelPosition as W, type ChartLegendPosition as X, type ChartOptionDiagnostic as Y, type ChartOptionKind as Z, type ChartOptionSupport as _, CHART_TYPES as a, type ImageFitPlacement as a$, type CitationMarker as a0, type CitationNote as a1, type CodeContent as a2, type CodeHighlightBand as a3, type CodeHighlightColors as a4, type CodeHighlightEntry as a5, type CodeHighlightIssue as a6, type CodeHighlightLines as a7, type CodeLayout as a8, type CodeLayoutDiagnostic as a9, type CompositionExplanation as aA, type CompositionPenalties as aB, type CompositionTrack as aC, DARK_BACKGROUND_LUMINANCE as aD, DEFAULT_CHART_LABEL_SEPARATOR as aE, DEFAULT_FURNITURE_DATE_FORMAT as aF, DESIGN_HINT_KEYS as aG, type DeckCitations as aH, type DesignHintKey as aI, type DesignHintSource as aJ, type DesignHints as aK, FONT_SIZE_GRID_PER_PX as aL, FOOTNOTE_MAX_RATIO as aM, FURNITURE_GAP as aN, FURNITURE_IMAGE_SHARE as aO, type FontFaceSelection as aP, type FootnoteLayoutOptions as aQ, type FurnitureField as aR, type FurnitureImagePart as aS, type FurnitureLayout as aT, type FurniturePart as aU, type FurniturePartBase as aV, type FurnitureSocialLink as aW, type FurnitureTextExtras as aX, type FurnitureTextPart as aY, type ImageEdge as aZ, type ImageFit as a_, type CodeLayoutOptions as aa, type CodeLineSegment as ab, type CodeLineSource as ac, type CodeRun as ad, type CodeSyntaxPalette as ae, type CodeSyntaxPaletteOptions as af, type CodeSyntaxPaletteTheme as ag, type CodeTextFit as ah, type CodeTextPart as ai, type CodeToken as aj, type CodeTokenKind as ak, type ComposedBackgroundImage as al, type ComposedCaption as am, type ComposedFlow as an, type ComposedFootnoteEntry as ao, type ComposedFootnotes as ap, type ComposedGroup as aq, type ComposedImage as ar, type ComposedItem as as, type ComposedLogo as at, type ComposedOverlay as au, type ComposedPlacement as av, type ComposedSlot as aw, type Composition as ax, type CompositionCandidate as ay, type CompositionDecision as az, ENGINE_DEFAULT_COLOR_SCHEME as b, type ResolvedDesignHints as b$, type ImageFocus as b0, type ImageShape as b1, LAYOUT_BODY_KINDS as b2, type LayoutBodyKind as b3, type LayoutBox as b4, type LayoutContent as b5, type LayoutLeaf as b6, type LayoutSlot as b7, type ListBulletImage as b8, type ListEntryLayout as b9, type NumberingStyleName as bA, type NumberingSuffix as bB, OPFCompositionError as bC, PATTERN_PRESETS as bD, PATTERN_PRESET_ALIASES as bE, PATTERN_TILE_SIZE as bF, PICTURE_BULLET_SCALE as bG, type PhysicalAlignment as bH, type QuoteContent as bI, type QuoteLayout as bJ, type QuoteLayoutDiagnostic as bK, type QuoteLayoutOptions as bL, type QuotePhoto as bM, type QuoteTextPart as bN, type QuoteTextSource as bO, type ReadingBox as bP, type Reference as bQ, type ReferencesSlideOptions as bR, type ResolveColorRefOptions as bS, type ResolveColorRefRoles as bT, type ResolveColorRolesOptions as bU, type ResolveDesignHintsOptions as bV, type ResolveScriptFontsOptions as bW, type ResolvedChartDataLabels as bX, type ResolvedChartHighlight as bY, type ResolvedChartOptions as bZ, type ResolvedColorRoles as b_, type ListFit as ba, type ListFitOptions as bb, type ListNumber as bc, type ListText as bd, type ListValue as be, MAX_COMPOSITION_DEPTH as bf, MAX_NUMBERING_LEVELS as bg, MAX_NUMBERING_VALUE as bh, MAX_PLACEHOLDER_GROUP_DEPTH as bi, MAX_ROMAN_VALUE as bj, METRIC_TREND_MIN_CONTRAST as bk, METRIC_TREND_SHAPES as bl, type MetricContent as bm, type MetricLayout as bn, type MetricLayoutDiagnostic as bo, type MetricLayoutOptions as bp, type MetricSentiment as bq, type MetricTextPart as br, type MetricTextSource as bs, type MetricTrend as bt, type MetricTrendColorOptions as bu, type MetricTrendMark as bv, NUMBERING_STYLES as bw, NUMBERING_SUFFIXES as bx, type Numbering as by, type NumberingInput as bz, ENGINE_DEFAULT_FONT_SCHEME as c, codeHighlightLines as c$, type ResolvedNumbering as c0, type ResolvedScriptFonts as c1, type RichText as c2, type RichTextFit as c3, type RichTextFragment as c4, type RichTextLine as c5, type RichTextOptions as c6, type RichTextRun as c7, SURFACE_ALT_MIN_CONTRAST as c8, SURFACE_ALT_MIX as c9, type TextLineSource as cA, type TextPlacement as cB, type TextPlacementLine as cC, type TimelineContent as cD, type TimelineEvent as cE, type TimelineLayout as cF, type TimelineLayoutDiagnostic as cG, type TimelineLayoutOptions as cH, type TimelineMarkerShape as cI, type TimelineStatus as cJ, type TimelineStatusColors as cK, type TimelineTextPart as cL, type WatermarkTextLayout as cM, type WatermarkTextOptions as cN, annotationText as cO, captionSettings as cP, chartColorForFill as cQ, chartHighlightColors as cR, chartHighlightMarks as cS, chartLabelText as cT, chartOptionSupport as cU, chartOptionTarget as cV, chartPaletteForFill as cW, chartPrimaryLayout as cX, citationMarkerText as cY, codeHighlightBands as cZ, codeHighlightColors as c_, 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, TIMELINE_OUTLINE_MIN_CONTRAST as ck, TIMELINE_STATUSES as cl, TIMELINE_TEXT_MIN_CONTRAST as cm, type TableBorder as cn, type TableCellLayout as co, type TableCellStyle as cp, type TableGrid as cq, type TableGridCell as cr, type TableGridIssue as cs, type TableLayout as ct, type TableLayoutOptions as cu, type TableRowLayout as cv, type TextDirection as cw, type TextFit as cx, type TextLineInk as cy, type TextLineSegment as cz, ENGINE_DEFAULT_THEME as d, resolveScriptFonts as d$, codeLineNumbers as d0, codeLineRuns as d1, codeSyntaxPalette as d2, codeSyntaxPaletteForScheme as d3, collectCitations as d4, colorContrast as d5, composeSlide as d6, defaultSlideBackground as d7, fitImage as d8, fitList as d9, layoutWatermark as dA, listNumbers as dB, measureText as dC, measureTextOutline as dD, metricTrendColor as dE, metricTrendMark as dF, metricTrendPoints as dG, normalizeHexColor as dH, numberingAtLevel as dI, numberingStyleDraws as dJ, paragraphDirection as dK, paragraphDirectionAt as dL, patternBitmap as dM, patternRuns as dN, physicalAlignment as dO, placeTextLines as dP, referencesSlide as dQ, resolveCanvasDimensions as dR, resolveChartOptions as dS, resolveCodeLanguage as dT, resolveColorRef as dU, resolveColorRoles as dV, resolveDesignHints as dW, resolveFontFamilies as dX, resolveLogo as dY, resolveNumbering as dZ, resolvePatternPreset as d_, fitRichText as da, fitText as db, formatChartLabelNumber as dc, formatChartLabelPercent as dd, formatFurnitureDate as de, formatListNumber as df, hasPlaceholderGroups as dg, imageBackground as dh, imageShape as di, intrinsicImageAspect as dj, intrinsicImageSize as dk, isDarkColor as dl, isPlaceholderGroup as dm, layoutCaption as dn, layoutCode as dp, layoutContent as dq, layoutFootnotes as dr, layoutFurniture as ds, layoutLeaves as dt, layoutMetric as du, layoutQuote as dv, layoutSlots as dw, layoutStructure as dx, layoutTable as dy, layoutTimeline as dz, type FontFamilies as e, resolveSlideDirection as e0, resolveSocialProfile as e1, resolveTextStyle as e2, scriptFontRole as e3, sliceNumberedItems as e4, slideCitations as e5, snapFontSizeDown as e6, snapFontSizeUp as e7, surfaceAltColor as e8, tableGrid as e9, tableRowBoundaries as ea, textColorForFill as eb, textWidthMeasurer as ec, timelineMarkerShapes as ed, timelineTextColor as ee, tokenizeCode as ef, visualReadingOrder as eg, walkCitationRuns as eh, wrapText as ei, 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 AnnotationFitter as p, type AnnotationLayoutOptions as q, CAPTIONABLE_FIELDS as r, CAPTION_FONT_RATIO as s, CAPTION_MAX_RATIO as t, CHART_HIGHLIGHT_MUTED_MIN_CONTRAST as u, CHART_HIGHLIGHT_MUTED_MIX as v, CHART_SERIES_MIN_DIFFERENCE as w, CHART_SERIES_MIN_LIGHTNESS_STEP as x, CITATION_MARKER_RAISE as y, CITATION_MARKER_SCALE as z };
|
package/dist/composition.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { A as AnnotatedRun,
|
|
2
|
-
export {
|
|
3
|
-
export {
|
|
1
|
+
export { A as AnnotatedRun, p as AnnotationFitter, q as AnnotationLayoutOptions, B as BackgroundImageFit, r as CAPTIONABLE_FIELDS, s as CAPTION_FONT_RATIO, t as CAPTION_MAX_RATIO, u as CHART_HIGHLIGHT_MUTED_MIN_CONTRAST, v as CHART_HIGHLIGHT_MUTED_MIX, w as CHART_SERIES_MIN_DIFFERENCE, x as CHART_SERIES_MIN_LIGHTNESS_STEP, a as CHART_TYPES, y as CITATION_MARKER_RAISE, z as CITATION_MARKER_SCALE, D as CODE_HIGHLIGHT_LANGUAGES, G as CODE_HIGHLIGHT_MAX_LENGTH, H as CODE_PANEL_BACKGROUND, I as CODE_PANEL_FOREGROUND, J as CODE_SYNTAX_MIN_CONTRAST, K as Caption, N as CaptionAlignment, O as CaptionObject, P as CaptionPosition, Q as CaptionSettings, U as ChartHighlightMarks, V as ChartLabelContent, W as ChartLabelPosition, X as ChartLegendPosition, Y as ChartOptionDiagnostic, Z as ChartOptionKind, _ as ChartOptionSupport, $ as ChartOptionTarget, a0 as CitationMarker, a1 as CitationNote, a2 as CodeContent, a3 as CodeHighlightBand, a4 as CodeHighlightColors, a5 as CodeHighlightEntry, a6 as CodeHighlightIssue, a7 as CodeHighlightLines, a8 as CodeLayout, a9 as CodeLayoutDiagnostic, aa as CodeLayoutOptions, ab as CodeLineSegment, ac as CodeLineSource, ad as CodeRun, ae as CodeSyntaxPalette, af as CodeSyntaxPaletteOptions, ag as CodeSyntaxPaletteTheme, ah as CodeTextFit, ai as CodeTextPart, aj as CodeToken, ak as CodeTokenKind, C as ComposeSlideOptions, al as ComposedBackgroundImage, am as ComposedCaption, an as ComposedFlow, ao as ComposedFootnoteEntry, ap as ComposedFootnotes, aq as ComposedGroup, ar as ComposedImage, as as ComposedItem, at as ComposedLogo, au as ComposedOverlay, av as ComposedPlacement, aw as ComposedSlot, ax as Composition, ay as CompositionCandidate, az as CompositionDecision, aA as CompositionExplanation, aB as CompositionPenalties, aC as CompositionTrack, aD as DARK_BACKGROUND_LUMINANCE, aE as DEFAULT_CHART_LABEL_SEPARATOR, aF as DEFAULT_FURNITURE_DATE_FORMAT, aG as DESIGN_HINT_KEYS, aH as DeckCitations, aI as DesignHintKey, aJ as DesignHintSource, aK 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, aL as FONT_SIZE_GRID_PER_PX, aM as FOOTNOTE_MAX_RATIO, aN as FURNITURE_GAP, aO as FURNITURE_IMAGE_SHARE, aP as FontFaceSelection, e as FontFamilies, F as Fonts, aQ as FootnoteLayoutOptions, aR as FurnitureField, aS as FurnitureImagePart, aT as FurnitureLayout, aU as FurniturePart, aV as FurniturePartBase, aW as FurnitureSocialLink, aX as FurnitureTextExtras, aY as FurnitureTextPart, aZ as ImageEdge, a_ as ImageFit, a$ as ImageFitPlacement, b0 as ImageFocus, b1 as ImageShape, f as LANGUAGES, b2 as LAYOUT_BODY_KINDS, g as LOGO_SHAPES, i as LanguageVocabulary, b3 as LayoutBodyKind, b4 as LayoutBox, b5 as LayoutContent, L as LayoutDiagnostic, b6 as LayoutLeaf, b7 as LayoutSlot, b8 as ListBulletImage, b9 as ListEntryLayout, ba as ListFit, bb as ListFitOptions, bc as ListNumber, bd as ListText, be as ListValue, j as LogoShape, k as LogoVariant, bf as MAX_COMPOSITION_DEPTH, bg as MAX_NUMBERING_LEVELS, bh as MAX_NUMBERING_VALUE, bi as MAX_PLACEHOLDER_GROUP_DEPTH, bj as MAX_ROMAN_VALUE, bk as METRIC_TREND_MIN_CONTRAST, bl as METRIC_TREND_SHAPES, M as MeasureTextWidth, bm as MetricContent, bn as MetricLayout, bo as MetricLayoutDiagnostic, bp as MetricLayoutOptions, bq as MetricSentiment, br as MetricTextPart, bs as MetricTextSource, bt as MetricTrend, bu as MetricTrendColorOptions, bv as MetricTrendMark, bw as NUMBERING_STYLES, bx as NUMBERING_SUFFIXES, by as Numbering, bz as NumberingInput, bA as NumberingStyleName, bB as NumberingSuffix, bC as OPFCompositionError, bD as PATTERN_PRESETS, bE as PATTERN_PRESET_ALIASES, bF as PATTERN_TILE_SIZE, bG as PICTURE_BULLET_SCALE, bH as PhysicalAlignment, bI as QuoteContent, bJ as QuoteLayout, bK as QuoteLayoutDiagnostic, bL as QuoteLayoutOptions, bM as QuotePhoto, bN as QuoteTextPart, bO as QuoteTextSource, bP as ReadingBox, bQ as Reference, bR as ReferencesSlideOptions, bS as ResolveColorRefOptions, bT as ResolveColorRefRoles, bU as ResolveColorRolesOptions, bV as ResolveDesignHintsOptions, R as ResolveLogoOptions, bW as ResolveScriptFontsOptions, bX as ResolvedChartDataLabels, bY as ResolvedChartHighlight, bZ as ResolvedChartOptions, b_ as ResolvedColorRoles, b$ as ResolvedDesignHints, l as ResolvedLogo, c0 as ResolvedNumbering, c1 as ResolvedScriptFonts, c2 as RichText, c3 as RichTextFit, c4 as RichTextFragment, c5 as RichTextLine, c6 as RichTextOptions, c7 as RichTextRun, S as SOCIAL_PLATFORMS, c8 as SURFACE_ALT_MIN_CONTRAST, c9 as SURFACE_ALT_MIX, ca as ScriptFontApp, cb as ScriptFontSlots, cc as ScriptFontSource, cd as ScriptFontSupplement, ce as ScriptMeasurementProfile, cf as ScriptRole, cg as SlideCitations, ch as SlideComposition, m as SocialPlatformVocabulary, ci as SocialProfile, cj as SourceTextFit, ck as TIMELINE_OUTLINE_MIN_CONTRAST, cl as TIMELINE_STATUSES, cm as TIMELINE_TEXT_MIN_CONTRAST, cn as TableBorder, co as TableCellLayout, cp as TableCellStyle, cq as TableGrid, cr as TableGridCell, cs as TableGridIssue, ct as TableLayout, cu as TableLayoutOptions, cv as TableRowLayout, cw as TextDirection, cx as TextFit, cy as TextLineInk, cz as TextLineSegment, cA as TextLineSource, T as TextMeasurement, cB as TextPlacement, cC as TextPlacementLine, n as TextStyle, cD as TimelineContent, cE as TimelineEvent, cF as TimelineLayout, cG as TimelineLayoutDiagnostic, cH as TimelineLayoutOptions, cI as TimelineMarkerShape, cJ as TimelineStatus, cK as TimelineStatusColors, cL as TimelineTextPart, cM as WatermarkTextLayout, cN as WatermarkTextOptions, cO as annotationText, cP as captionSettings, cQ as chartColorForFill, cR as chartHighlightColors, cS as chartHighlightMarks, cT as chartLabelText, cU as chartOptionSupport, cV as chartOptionTarget, cW as chartPaletteForFill, cX as chartPrimaryLayout, cY as citationMarkerText, cZ as codeHighlightBands, c_ as codeHighlightColors, c$ as codeHighlightLines, d0 as codeLineNumbers, d1 as codeLineRuns, d2 as codeSyntaxPalette, d3 as codeSyntaxPaletteForScheme, d4 as collectCitations, d5 as colorContrast, d6 as composeSlide, d7 as defaultSlideBackground, d8 as fitImage, d9 as fitList, da as fitRichText, db as fitText, dc as formatChartLabelNumber, dd as formatChartLabelPercent, de as formatFurnitureDate, df as formatListNumber, dg as hasPlaceholderGroups, dh as imageBackground, di as imageShape, dj as intrinsicImageAspect, dk as intrinsicImageSize, dl as isDarkColor, dm as isPlaceholderGroup, dn as layoutCaption, dp as layoutCode, dq as layoutContent, dr as layoutFootnotes, ds as layoutFurniture, dt as layoutLeaves, du as layoutMetric, dv as layoutQuote, dw as layoutSlots, dx as layoutStructure, dy as layoutTable, dz as layoutTimeline, dA as layoutWatermark, dB as listNumbers, dC as measureText, dD as measureTextOutline, dE as metricTrendColor, dF as metricTrendMark, dG as metricTrendPoints, dH as normalizeHexColor, dI as numberingAtLevel, dJ as numberingStyleDraws, dK as paragraphDirection, dL as paragraphDirectionAt, dM as patternBitmap, dN as patternRuns, dO as physicalAlignment, dP as placeTextLines, dQ as referencesSlide, dR as resolveCanvasDimensions, dS as resolveChartOptions, dT as resolveCodeLanguage, dU as resolveColorRef, dV as resolveColorRoles, dW as resolveDesignHints, dX as resolveFontFamilies, dY as resolveLogo, dZ as resolveNumbering, d_ as resolvePatternPreset, d$ as resolveScriptFonts, e0 as resolveSlideDirection, e1 as resolveSocialProfile, e2 as resolveTextStyle, e3 as scriptFontRole, e4 as sliceNumberedItems, e5 as slideCitations, e6 as snapFontSizeDown, e7 as snapFontSizeUp, e8 as surfaceAltColor, e9 as tableGrid, ea as tableRowBoundaries, eb as textColorForFill, ec as textWidthMeasurer, ed as timelineMarkerShapes, ee as timelineTextColor, ef as tokenizeCode, eg as visualReadingOrder, eh as walkCitationRuns, ei as wrapText } from './composition-C-OoqvAr.js';
|
|
2
|
+
export { d as CATALOG_REFERENCE_PATTERN, a as Catalog, C as CatalogKind, b 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-BSfGELpt.js';
|
|
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,2 +1,2 @@
|
|
|
1
|
-
export { CAPTIONABLE_FIELDS, CAPTION_FONT_RATIO, CAPTION_MAX_RATIO, 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, LANGUAGES, LAYOUT_BODY_KINDS, MAX_COMPOSITION_DEPTH, MAX_NUMBERING_LEVELS, MAX_NUMBERING_VALUE, MAX_PLACEHOLDER_GROUP_DEPTH, MAX_ROMAN_VALUE, METRIC_TREND_MIN_CONTRAST, METRIC_TREND_SHAPES, NUMBERING_STYLES, NUMBERING_SUFFIXES, OPFCompositionError, PATTERN_PRESETS, PATTERN_PRESET_ALIASES, PATTERN_TILE_SIZE, PICTURE_BULLET_SCALE, SOCIAL_PLATFORMS, SURFACE_ALT_MIN_CONTRAST, SURFACE_ALT_MIX, TIMELINE_OUTLINE_MIN_CONTRAST, TIMELINE_STATUSES, TIMELINE_TEXT_MIN_CONTRAST, annotationText, captionSettings, chartColorForFill, chartHighlightColors, chartHighlightMarks, chartLabelText, chartNumber, chartOptionSupport, chartOptionTarget, chartPaletteForFill, chartPrimaryLayout, citationMarkerText, codeHighlightBands, codeHighlightColors, codeHighlightLines, codeLineNumbers, codeLineRuns, codeSyntaxPalette, codeSyntaxPaletteForScheme, collectCitations, colorContrast, composeSlide, defaultSlideBackground, fitImage, fitList, fitRichText, fitText, formatChartLabelNumber, formatChartLabelPercent, formatDataNumber, formatFurnitureDate, formatListNumber, fromExcelNumberFormat, hasPlaceholderGroups, imageBackground, imageShape, inlineChartData, inlineDatasets, inlineTableData, intrinsicImageAspect, intrinsicImageSize, isDarkColor, isDatasetRef, isPlaceholderGroup, isXYChartType, layoutCaption, layoutCode, layoutContent, layoutFootnotes, layoutFurniture, layoutLeaves, layoutMetric, layoutQuote, layoutSlots, layoutStructure, layoutTable, layoutTimeline, layoutWatermark, listNumbers, measureText, measureTextOutline, metricTrendColor, metricTrendMark, metricTrendPoints, normalizeHexColor, numberFormatError, numberingAtLevel, numberingStyleDraws, paragraphDirection, paragraphDirectionAt, patternBitmap, patternRuns, physicalAlignment, placeTextLines, referencesSlide, resolveCanvasDimensions, resolveChartData, resolveChartOptions, resolveCodeLanguage, resolveColorRef, resolveColorRoles, resolveDesignHints, resolveFontFamilies, resolveLogo, resolveNumbering, resolvePatternPreset, resolveScriptFonts, resolveSlideDirection, resolveSocialProfile, resolveTableData, resolveTextStyle, scriptFontRole, sliceNumberedItems, slideCitations, snapFontSizeDown, snapFontSizeUp, surfaceAltColor, tableCellDisplayValue, tableGrid, tableRowBoundaries, textColorForFill, textWidthMeasurer, timelineMarkerShapes, timelineTextColor, toExcelNumberFormat, tokenizeCode, visualReadingOrder, walkCitationRuns, wrapText } from './chunk-
|
|
1
|
+
export { CAPTIONABLE_FIELDS, CAPTION_FONT_RATIO, CAPTION_MAX_RATIO, 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, LANGUAGES, LAYOUT_BODY_KINDS, LOGO_SHAPES, MAX_COMPOSITION_DEPTH, MAX_NUMBERING_LEVELS, MAX_NUMBERING_VALUE, MAX_PLACEHOLDER_GROUP_DEPTH, MAX_ROMAN_VALUE, METRIC_TREND_MIN_CONTRAST, METRIC_TREND_SHAPES, NUMBERING_STYLES, NUMBERING_SUFFIXES, OPFCompositionError, PATTERN_PRESETS, PATTERN_PRESET_ALIASES, PATTERN_TILE_SIZE, PICTURE_BULLET_SCALE, SOCIAL_PLATFORMS, SURFACE_ALT_MIN_CONTRAST, SURFACE_ALT_MIX, TIMELINE_OUTLINE_MIN_CONTRAST, TIMELINE_STATUSES, TIMELINE_TEXT_MIN_CONTRAST, annotationText, captionSettings, chartColorForFill, chartHighlightColors, chartHighlightMarks, chartLabelText, chartNumber, chartOptionSupport, chartOptionTarget, chartPaletteForFill, chartPrimaryLayout, citationMarkerText, codeHighlightBands, codeHighlightColors, codeHighlightLines, codeLineNumbers, codeLineRuns, codeSyntaxPalette, codeSyntaxPaletteForScheme, collectCitations, colorContrast, composeSlide, defaultSlideBackground, fitImage, fitList, fitRichText, fitText, formatChartLabelNumber, formatChartLabelPercent, formatDataNumber, formatFurnitureDate, formatListNumber, fromExcelNumberFormat, hasPlaceholderGroups, imageBackground, imageShape, inlineChartData, inlineDatasets, inlineTableData, intrinsicImageAspect, intrinsicImageSize, isDarkColor, isDatasetRef, isPlaceholderGroup, isXYChartType, layoutCaption, layoutCode, layoutContent, layoutFootnotes, layoutFurniture, layoutLeaves, layoutMetric, layoutQuote, layoutSlots, layoutStructure, layoutTable, layoutTimeline, layoutWatermark, listNumbers, measureText, measureTextOutline, metricTrendColor, metricTrendMark, metricTrendPoints, normalizeHexColor, numberFormatError, numberingAtLevel, numberingStyleDraws, paragraphDirection, paragraphDirectionAt, patternBitmap, patternRuns, physicalAlignment, placeTextLines, referencesSlide, resolveCanvasDimensions, resolveChartData, resolveChartOptions, resolveCodeLanguage, resolveColorRef, resolveColorRoles, resolveDesignHints, resolveFontFamilies, resolveLogo, resolveNumbering, resolvePatternPreset, resolveScriptFonts, resolveSlideDirection, resolveSocialProfile, resolveTableData, resolveTextStyle, scriptFontRole, sliceNumberedItems, slideCitations, snapFontSizeDown, snapFontSizeUp, surfaceAltColor, tableCellDisplayValue, tableGrid, tableRowBoundaries, textColorForFill, textWidthMeasurer, timelineMarkerShapes, timelineTextColor, toExcelNumberFormat, tokenizeCode, visualReadingOrder, walkCitationRuns, wrapText } from './chunk-MBU42S5Y.js';
|
|
2
2
|
export { CATALOG_REFERENCE_PATTERN, OPFCatalogsOptionError, OPFUnresolvedReferenceError, catalogGroupSource, catalogKinds, catalogRecords, catalogReferenceSites, parseReference, resolveReference, unresolvedReference } from './chunk-SPFV27O5.js';
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export { convertFiles, deckFileFormat, exportFormatOf, openDeck, planConversion, readInput, saveDeck, writePlanned } from './chunk-K5EG3UMS.js';
|
|
2
|
+
import './chunk-IM337HP5.js';
|
|
3
|
+
import './chunk-HXHOZ7AH.js';
|
|
4
|
+
import './chunk-ZCFSDSUX.js';
|
|
5
|
+
import './chunk-WCG3THTD.js';
|
|
6
|
+
import './chunk-GVOLSWAJ.js';
|
|
7
|
+
import './chunk-MSFE2HUK.js';
|
|
8
|
+
import './chunk-ECP7QPGK.js';
|
|
9
|
+
import './chunk-R7KIASS4.js';
|
|
10
|
+
import './chunk-L5YACLWK.js';
|
|
11
|
+
import './chunk-WHHLGDCQ.js';
|
|
12
|
+
import './chunk-JCOSZTOI.js';
|
|
13
|
+
import './chunk-FO3WGS4R.js';
|
|
14
|
+
import './chunk-PNINP5IF.js';
|
|
15
|
+
import './chunk-TRELE6I6.js';
|
|
16
|
+
import './chunk-KA3ZPFVT.js';
|
|
17
|
+
import './chunk-MBU42S5Y.js';
|
|
18
|
+
import './chunk-TRDXRRQK.js';
|
|
19
|
+
import './chunk-SPFV27O5.js';
|
|
20
|
+
import './chunk-2PEWUUBR.js';
|
|
21
|
+
import './chunk-WXSPETQ6.js';
|