@openpresentation/opf 0.19.0 → 0.20.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browser.js +16 -16
- package/dist/{chunk-V3RGXJJS.js → chunk-2AGWO7RM.js} +4 -4
- package/dist/{chunk-WHKFIFN7.js → chunk-2XJUXMBS.js} +1 -1
- package/dist/{chunk-A6COIVTD.js → chunk-32MHL3B3.js} +1 -1
- package/dist/{chunk-SIQWYDFF.js → chunk-4FBXVST6.js} +6 -6
- package/dist/{chunk-65GDO6TJ.js → chunk-7QUAOKS6.js} +3 -3
- package/dist/{chunk-OVBGGGKO.js → chunk-BDXJYO6R.js} +2 -2
- package/dist/{chunk-OOT5AY4V.js → chunk-BYEIFHWS.js} +2 -2
- package/dist/{chunk-XWMKAJSS.js → chunk-JMYM44I4.js} +10 -9
- package/dist/{chunk-SEUJIS55.js → chunk-L6RRLN6Q.js} +2 -2
- package/dist/{chunk-GRN3U5JT.js → chunk-NZDWCYDI.js} +5 -5
- package/dist/{chunk-LRPSMQ62.js → chunk-P6LMWUXV.js} +1 -1
- package/dist/{chunk-FGUQHD37.js → chunk-RFJ5TR3V.js} +5 -5
- package/dist/{chunk-YAHPQRVU.js → chunk-UA5EROLC.js} +1 -1
- package/dist/{chunk-ZPCKGGI6.js → chunk-UAXSW6VV.js} +106 -41
- package/dist/{chunk-R5T4H4ZV.js → chunk-VEHLQVGQ.js} +44 -13
- package/dist/{chunk-AK4UXIRP.js → chunk-W7G5LSXI.js} +1 -1
- package/dist/{chunk-HBFRNOP4.js → chunk-ZU5EQ23T.js} +1 -1
- package/dist/{composition-DilAHoWM.d.ts → composition-MFjGwuN_.d.ts} +10 -0
- package/dist/composition.d.ts +1 -1
- package/dist/composition.js +1 -1
- package/dist/{conversion-k9l5pQsq.d.ts → conversion-DDd1mdIj.d.ts} +4 -4
- package/dist/conversion-WHN4D4WH.js +19 -0
- package/dist/convert.d.ts +2 -2
- package/dist/convert.js +7 -7
- package/dist/data.js +2 -2
- package/dist/{deck-report-D19fyuNu.d.ts → deck-report-DldBcTHe.d.ts} +1 -1
- package/dist/deck.d.ts +4 -4
- package/dist/deck.js +10 -10
- package/dist/diff.js +5 -5
- package/dist/docs.js +19 -13
- package/dist/examples.js +4854 -1497
- package/dist/format.js +2 -2
- package/dist/index.d.ts +10 -10
- package/dist/index.js +20 -20
- package/dist/markdown.d.ts +2 -2
- package/dist/markdown.js +7 -7
- package/dist/node-engine.d.ts +7 -6
- package/dist/node-engine.js +20 -20
- package/dist/{pagination-BNj5UQn5.d.ts → pagination-BKsZIEcA.d.ts} +1 -1
- package/dist/pagination.d.ts +2 -2
- package/dist/pagination.js +4 -4
- package/dist/patch.js +4 -4
- package/dist/repo-readme.js +1 -1
- package/dist/schemas.js +1 -1
- package/dist/spec/schemas/layout.schema.json +27 -8
- package/dist/spec/schemas/opf.schema.json +3 -3
- package/dist/types.d.ts +3 -3
- package/dist/{validation-types-CWhPuYUt.d.ts → validation-types-DtN8X_HZ.d.ts} +1 -1
- package/dist/{validator-Cse-AD32.d.ts → validator-1d29Z3YY.d.ts} +2 -2
- package/dist/validator.d.ts +3 -3
- package/dist/validator.js +3 -3
- package/dist/yaml.d.ts +2 -2
- package/dist/yaml.js +7 -7
- package/package.json +6 -6
- package/dist/conversion-NJQHH4QW.js +0 -19
|
@@ -5571,8 +5571,14 @@ var presentation = {
|
|
|
5571
5571
|
"two-column": {
|
|
5572
5572
|
"name": "Two column",
|
|
5573
5573
|
"areas": [
|
|
5574
|
-
|
|
5575
|
-
|
|
5574
|
+
[
|
|
5575
|
+
"title",
|
|
5576
|
+
"title"
|
|
5577
|
+
],
|
|
5578
|
+
[
|
|
5579
|
+
"primary",
|
|
5580
|
+
"secondary"
|
|
5581
|
+
]
|
|
5576
5582
|
],
|
|
5577
5583
|
"regions": {
|
|
5578
5584
|
"primary": {
|
|
@@ -5643,7 +5649,9 @@ var presentation = {
|
|
|
5643
5649
|
"hero": {
|
|
5644
5650
|
"name": "Hero",
|
|
5645
5651
|
"areas": [
|
|
5646
|
-
|
|
5652
|
+
[
|
|
5653
|
+
"title"
|
|
5654
|
+
]
|
|
5647
5655
|
]
|
|
5648
5656
|
}
|
|
5649
5657
|
}
|
|
@@ -5653,8 +5661,12 @@ var presentation = {
|
|
|
5653
5661
|
"q4-special": {
|
|
5654
5662
|
"name": "Q4 special",
|
|
5655
5663
|
"areas": [
|
|
5656
|
-
|
|
5657
|
-
|
|
5664
|
+
[
|
|
5665
|
+
"title"
|
|
5666
|
+
],
|
|
5667
|
+
[
|
|
5668
|
+
"chart"
|
|
5669
|
+
]
|
|
5658
5670
|
],
|
|
5659
5671
|
"regions": {
|
|
5660
5672
|
"chart": {
|
|
@@ -6521,7 +6533,7 @@ var layout = {
|
|
|
6521
6533
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
6522
6534
|
"$id": "https://openpresentation.org/schema/opf-layout/v2",
|
|
6523
6535
|
"title": "Slide Layout",
|
|
6524
|
-
"description": "Schema for slide-layout records (OPF 0.19). A layout is a grid template: 'areas' names the cells of a grid
|
|
6536
|
+
"description": "Schema for slide-layout records (OPF 0.19). A layout is a grid template: 'areas' names the cells of a grid using nested row arrays, 'columns' and 'rows' size its tracks, and 'regions' says, for every body area, which content kinds it takes and how several blocks share it. Slide content stays flat: engines bind a slide's blocks to the regions by reading order, role and kind (bindRegions in @openpresentation/opf), a block may pin itself to a region with 'region', and an empty region collapses into a neighbour. Built-in and custom layouts are records of this one schema; a custom layout is embedded under catalogs.custom.layouts or shipped in a catalog. Documents reference a layout from Slide.layout; a slide without a layout, with layout 'auto', or whose layout resolves nowhere composes automatically.\n\nA document references a record as a bare id or 'name:id' and resolves it in its own catalogs groups first, then in the catalog the host registered for the group's source; engines never fetch a catalog. A published record file carries '$schema' and 'id'; the copy a document embeds under catalogs.<group>.<kind>.<id> carries neither (the key is the id) and no 'x-*' display metadata.",
|
|
6525
6537
|
"type": "object",
|
|
6526
6538
|
"required": [
|
|
6527
6539
|
"$schema",
|
|
@@ -6582,18 +6594,37 @@ var layout = {
|
|
|
6582
6594
|
"minItems": 1,
|
|
6583
6595
|
"maxItems": 12,
|
|
6584
6596
|
"items": {
|
|
6585
|
-
"type": "
|
|
6597
|
+
"type": "array",
|
|
6598
|
+
"minItems": 1,
|
|
6599
|
+
"maxItems": 12,
|
|
6600
|
+
"items": {
|
|
6601
|
+
"type": "string",
|
|
6602
|
+
"pattern": "^(?:[a-z][a-z0-9-]*|\\.)$"
|
|
6603
|
+
}
|
|
6586
6604
|
},
|
|
6587
|
-
"description": "The grid
|
|
6605
|
+
"description": "The grid as nested arrays: each inner array is a row, each string is one cell, and a name repeated over adjacent cells spans them; '.' is an empty cell. Cells are lowercase names ([a-z][a-z0-9-]*) or '.', and every row has the same number of cells (at most 12 rows and 12 columns). A name's cells must form one filled rectangle. 'title' and 'subtitle' are heading areas: 'title' holds the slide's heading group (tag, title and subtitle, stacked) and a 'subtitle' area takes the subtitle out of it; they have no regions entry, and a 'subtitle' area needs a 'title' area. A layout with no 'title' area gets an implicit auto row on top for a slide that has headings. Every other name is a body region and needs an entry in 'regions'. The grid rules a schema cannot express are the validate finding opf/layout-template.",
|
|
6588
6606
|
"examples": [
|
|
6589
6607
|
[
|
|
6590
|
-
|
|
6591
|
-
|
|
6608
|
+
[
|
|
6609
|
+
"title"
|
|
6610
|
+
],
|
|
6611
|
+
[
|
|
6612
|
+
"body"
|
|
6613
|
+
]
|
|
6592
6614
|
],
|
|
6593
6615
|
[
|
|
6594
|
-
|
|
6595
|
-
|
|
6596
|
-
|
|
6616
|
+
[
|
|
6617
|
+
"title",
|
|
6618
|
+
"title"
|
|
6619
|
+
],
|
|
6620
|
+
[
|
|
6621
|
+
"timeline",
|
|
6622
|
+
"notes"
|
|
6623
|
+
],
|
|
6624
|
+
[
|
|
6625
|
+
"timeline",
|
|
6626
|
+
"metrics"
|
|
6627
|
+
]
|
|
6597
6628
|
]
|
|
6598
6629
|
]
|
|
6599
6630
|
},
|
|
@@ -735,6 +735,8 @@ interface ResolvedColorRoles {
|
|
|
735
735
|
hyperlink: string;
|
|
736
736
|
/** Followed-hyperlink slot (OOXML folHlink). */
|
|
737
737
|
followedHyperlink: string;
|
|
738
|
+
/** Quiet structural rules/cards: neutral slate on a light or dark slide, never a brand accent. Authored borders still resolve their own ColorRef. */
|
|
739
|
+
border: string;
|
|
738
740
|
/** Whether the slide background is dark; text, surface and textSecondary defaults follow it. */
|
|
739
741
|
dark: boolean;
|
|
740
742
|
}
|
|
@@ -2314,6 +2316,8 @@ interface QuotePhoto {
|
|
|
2314
2316
|
shape: ImageShape;
|
|
2315
2317
|
}
|
|
2316
2318
|
interface QuoteLayout {
|
|
2319
|
+
/** Measured vertical content envelope at the allocated width, including the photo. */
|
|
2320
|
+
bounds: LayoutBox;
|
|
2317
2321
|
algorithm: 'quote-flow-v1';
|
|
2318
2322
|
textMeasurement: 'estimated' | 'provided';
|
|
2319
2323
|
parts: QuoteTextPart[];
|
|
@@ -2385,6 +2389,8 @@ interface MetricLayoutDiagnostic extends LayoutDiagnostic {
|
|
|
2385
2389
|
parts: MetricTextPart['role'][];
|
|
2386
2390
|
}
|
|
2387
2391
|
interface MetricLayout {
|
|
2392
|
+
/** Measured vertical value/metadata envelope at the allocated width. */
|
|
2393
|
+
bounds: LayoutBox;
|
|
2388
2394
|
algorithm: 'metric-flow-v1';
|
|
2389
2395
|
alignment: 'left' | 'center' | 'right';
|
|
2390
2396
|
textMeasurement: 'estimated' | 'provided';
|
|
@@ -2692,6 +2698,8 @@ interface ListFitOptions extends RichTextOptions {
|
|
|
2692
2698
|
/** Shared hanging indents, mixed-run fitting and description spacing for list payloads. */
|
|
2693
2699
|
declare function fitList(input: readonly ListValue[], box: LayoutBox, requestedSize?: number, minFontSize?: number, options?: ListFitOptions): ListFit;
|
|
2694
2700
|
interface TableLayoutOptions {
|
|
2701
|
+
/** Explicit resolved design alignment; absent uses typed numeric right/text left defaults. Cell style.align wins. */
|
|
2702
|
+
alignment?: 'left' | 'center' | 'right';
|
|
2695
2703
|
scale?: number;
|
|
2696
2704
|
minFontSize?: number;
|
|
2697
2705
|
fontFamily?: string;
|
|
@@ -2710,6 +2718,8 @@ interface TableLayoutOptions {
|
|
|
2710
2718
|
direction?: TextDirection;
|
|
2711
2719
|
}
|
|
2712
2720
|
interface TableCellLayout {
|
|
2721
|
+
/** Logical alignment, shared by preview and native export. Numeric default resolves to the physical right even in RTL. */
|
|
2722
|
+
alignment: 'left' | 'center' | 'right';
|
|
2713
2723
|
value: unknown;
|
|
2714
2724
|
input: unknown;
|
|
2715
2725
|
sourcePath: string;
|
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, G as CITATION_MARKER_RAISE, H as CITATION_MARKER_SCALE, I as CODE_HIGHLIGHT_LANGUAGES, J as CODE_HIGHLIGHT_MAX_LENGTH, K as CODE_PANEL_BACKGROUND, N as CODE_PANEL_FOREGROUND, O as CODE_SYNTAX_MIN_CONTRAST, P as Caption, Q as CaptionAlignment, U as CaptionObject, V as CaptionPosition, W as CaptionSettings, X as ChartHighlightMarks, Y as ChartLabelContent, Z as ChartLabelPosition, _ as ChartLegendPosition, $ as ChartOptionDiagnostic, a0 as ChartOptionKind, a1 as ChartOptionSupport, a2 as ChartOptionTarget, a3 as CitationMarker, a4 as CitationNote, a5 as CodeContent, a6 as CodeHighlightBand, a7 as CodeHighlightColors, a8 as CodeHighlightEntry, a9 as CodeHighlightIssue, aa as CodeHighlightLines, ab as CodeLayout, ac as CodeLayoutDiagnostic, ad as CodeLayoutOptions, ae as CodeLineSegment, af as CodeLineSource, ag as CodeRun, ah as CodeSyntaxPalette, ai as CodeSyntaxPaletteOptions, aj as CodeSyntaxPaletteTheme, ak as CodeTextFit, al as CodeTextPart, am as CodeToken, an as CodeTokenKind, C as ComposeSlideOptions, ao as ComposedBackgroundImage, ap as ComposedCaption, aq as ComposedFlow, ar as ComposedFootnoteEntry, as as ComposedFootnotes, at as ComposedGroup, au as ComposedHeadingArea, av as ComposedImage, aw as ComposedItem, ax as ComposedLayoutArea, ay as ComposedListColumn, az as ComposedLogo, aA as ComposedOverlay, aB as ComposedPlacement, aC as ComposedRegion, aD as Composition, aE as CompositionCandidate, aF as CompositionDecision, aG as CompositionExplanation, aH as CompositionPenalties, aI as CompositionTrack, aJ as DARK_BACKGROUND_LUMINANCE, aK as DEFAULT_CHART_LABEL_SEPARATOR, aL as DEFAULT_FURNITURE_DATE_FORMAT, aM as DESIGN_HINT_KEYS, aN as DeckCitations, aO as DesignHintKey, aP as DesignHintSource, aQ 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, aR as FONT_SIZE_GRID_PER_PX, aS as FOOTNOTE_MAX_RATIO, aT as FURNITURE_GAP, aU as FURNITURE_IMAGE_SHARE, aV as FlowShape, aW as FontFaceSelection, e as FontFamilies, F as Fonts, aX as FootnoteLayoutOptions, aY as FurnitureField, aZ as FurnitureImagePart, a_ as FurnitureLayout, a$ as FurniturePart, b0 as FurniturePartBase, b1 as FurnitureSocialLink, b2 as FurnitureTextExtras, b3 as FurnitureTextPart, b4 as HEADING_AREAS, b5 as ImageEdge, b6 as ImageFit, b7 as ImageFitPlacement, b8 as ImageFocus, b9 as ImageShape, f as LANGUAGES, ba as LAYOUT_BODY_KINDS, g as LOGO_SHAPES, i as LanguageVocabulary, bb as LayoutArea, bc as LayoutAreasOptions, bd as LayoutBodyKind, be as LayoutBox, bf as LayoutContent, L as LayoutDiagnostic, bg as LayoutRegion, bh as LayoutTemplate, bi as LayoutTemplateIssue, bj as ListBulletImage, bk as ListEntryLayout, bl as ListFit, bm as ListFitOptions, bn as ListNumber, bo as ListText, bp as ListValue, j as LogoShape, k as LogoVariant, bq as MAX_COMPOSITION_DEPTH, br as MAX_NUMBERING_LEVELS, bs as MAX_NUMBERING_VALUE, bt as MAX_REGION_BLOCKS, bu as MAX_ROMAN_VALUE, bv as MAX_TEMPLATE_TRACKS, bw as METRIC_TREND_MIN_CONTRAST, bx as METRIC_TREND_SHAPES, M as MeasureTextWidth, by as MetricContent, bz as MetricLayout, bA as MetricLayoutDiagnostic, bB as MetricLayoutOptions, bC as MetricSentiment, bD as MetricTextPart, bE as MetricTextSource, bF as MetricTrend, bG as MetricTrendColorOptions, bH as MetricTrendMark, bI as NUMBERING_STYLES, bJ as NUMBERING_SUFFIXES, bK as Numbering, bL as NumberingInput, bM as NumberingStyleName, bN as NumberingSuffix, bO as OPFCompositionError, bP as OPFLayoutTemplateError, bQ as PATTERN_PRESETS, bR as PATTERN_PRESET_ALIASES, bS as PATTERN_TILE_SIZE, bT as PICTURE_BULLET_SCALE, bU as PhysicalAlignment, bV as QuoteContent, bW as QuoteLayout, bX as QuoteLayoutDiagnostic, bY as QuoteLayoutOptions, bZ as QuotePhoto, b_ as QuoteTextPart, b$ as QuoteTextSource, c0 as REGION_ANCHORS, c1 as REGION_FLOWS, c2 as REGION_KINDS, c3 as REGION_ROLES, c4 as RESERVED_REGION_NAMES, c5 as ReadingBox, c6 as Reference, c7 as ReferencesSlideOptions, c8 as RegionAnchor, c9 as RegionBinding, ca as RegionBindingDiagnostic, cb as RegionBindingResult, cc as RegionFlow, cd as RegionKind, ce as RegionRole, cf as ResolveColorRefOptions, cg as ResolveColorRefRoles, ch as ResolveColorRolesOptions, ci as ResolveDesignHintsOptions, R as ResolveLogoOptions, cj as ResolveScriptFontsOptions, ck as ResolvedChartDataLabels, cl as ResolvedChartHighlight, cm as ResolvedChartOptions, cn as ResolvedColorRoles, co as ResolvedDesignHints, l as ResolvedLogo, cp as ResolvedNumbering, cq as ResolvedScriptFonts, cr as RichText, cs as RichTextFit, ct as RichTextFragment, cu as RichTextLine, cv as RichTextOptions, cw as RichTextRun, cx as RowDemand, S as SOCIAL_PLATFORMS, cy as SURFACE_ALT_MIN_CONTRAST, cz 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 THEME_DESIGN_KEYS, cL as TIMELINE_OUTLINE_MIN_CONTRAST, cM as TIMELINE_STATUSES, cN as TIMELINE_TEXT_MIN_CONTRAST, cO as TableBorder, cP as TableCellLayout, cQ as TableCellStyle, cR as TableGrid, cS as TableGridCell, cT as TableGridIssue, cU as TableLayout, cV as TableLayoutOptions, cW as TableRowLayout, cX as TextDirection, cY as TextFit, cZ as TextLineInk, c_ as TextLineSegment, c$ as TextLineSource, T as TextMeasurement, d0 as TextPlacement, d1 as TextPlacementLine, n as TextStyle, d2 as TimelineContent, d3 as TimelineEvent, d4 as TimelineLayout, d5 as TimelineLayoutDiagnostic, d6 as TimelineLayoutOptions, d7 as TimelineMarkerShape, d8 as TimelineStatus, d9 as TimelineStatusColors, da as TimelineTextPart, db as WatermarkTextLayout, dc as WatermarkTextOptions, dd as allocateRows, de as annotationText, df as bindRegions, dg as blockKind, dh as captionSettings, di as chartColorForFill, dj as chartHighlightColors, dk as chartHighlightMarks, dl as chartLabelText, dm as chartOptionSupport, dn as chartOptionTarget, dp as chartPaletteForFill, dq as citationMarkerText, dr as codeHighlightBands, ds as codeHighlightColors, dt as codeHighlightLines, du as codeLineNumbers, dv as codeLineRuns, dw as codeSyntaxPalette, dx as codeSyntaxPaletteForScheme, dy as collectCitations, dz as colorContrast, dA as composeLayoutAreas, dB as composeSlide, dC as defaultSlideBackground, dD as fitImage, dE as fitList, dF as fitRichText, dG as fitText, dH as formatChartLabelNumber, dI as formatChartLabelPercent, dJ as formatFurnitureDate, dK as formatListNumber, dL as gridFlowShape, dM as imageBackground, dN as imageShape, dO as intrinsicImageAspect, dP as intrinsicImageSize, dQ as isDarkColor, dR as isLayoutTemplate, dS as layoutCaption, dT as layoutCode, dU as layoutContent, dV as layoutFootnotes, dW as layoutFurniture, dX as layoutMetric, dY as layoutQuote, dZ as layoutRegion, d_ as layoutStructure, d$ as layoutTable, e0 as layoutTemplate, e1 as layoutTemplateIssues, e2 as layoutTimeline, e3 as layoutWatermark, e4 as listColumnBreaks, e5 as listNumbers, e6 as measureText, e7 as measureTextOutline, e8 as metricTrendColor, e9 as metricTrendMark, ea as metricTrendPoints, eb as normalizeHexColor, ec as numberingAtLevel, ed as numberingStyleDraws, ee as paragraphDirection, ef as paragraphDirectionAt, eg as patternBitmap, eh as patternRuns, ei as physicalAlignment, ej as placeTextLines, ek as placedImageBlocks, el as referencesSlide, em as regionAccepts, en as regionRoleRank, eo as resolveCanvasDimensions, ep as resolveChartOptions, eq as resolveCodeLanguage, er as resolveColorRef, es as resolveColorRoles, et as resolveDesignHints, eu as resolveFontFamilies, ev as resolveLogo, ew as resolveNumbering, ex as resolvePatternPreset, ey as resolveScriptFonts, ez as resolveSlideDirection, eA as resolveSocialProfile, eB as resolveTextStyle, eC as rootNodes, eD as scriptFontRole, eE as sliceNumberedItems, eF as slideCitations, eG as snapFontSizeDown, eH as snapFontSizeUp, eI as surfaceAltColor, eJ as tableGrid, eK as tableRowBoundaries, eL as textColorForFill, eM as textWidthMeasurer, eN as timelineMarkerShapes, eO as timelineTextColor, eP as tokenizeCode, eQ as visualReadingOrder, eR as walkCitationRuns, eS as wrapText } from './composition-
|
|
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, G as CITATION_MARKER_RAISE, H as CITATION_MARKER_SCALE, I as CODE_HIGHLIGHT_LANGUAGES, J as CODE_HIGHLIGHT_MAX_LENGTH, K as CODE_PANEL_BACKGROUND, N as CODE_PANEL_FOREGROUND, O as CODE_SYNTAX_MIN_CONTRAST, P as Caption, Q as CaptionAlignment, U as CaptionObject, V as CaptionPosition, W as CaptionSettings, X as ChartHighlightMarks, Y as ChartLabelContent, Z as ChartLabelPosition, _ as ChartLegendPosition, $ as ChartOptionDiagnostic, a0 as ChartOptionKind, a1 as ChartOptionSupport, a2 as ChartOptionTarget, a3 as CitationMarker, a4 as CitationNote, a5 as CodeContent, a6 as CodeHighlightBand, a7 as CodeHighlightColors, a8 as CodeHighlightEntry, a9 as CodeHighlightIssue, aa as CodeHighlightLines, ab as CodeLayout, ac as CodeLayoutDiagnostic, ad as CodeLayoutOptions, ae as CodeLineSegment, af as CodeLineSource, ag as CodeRun, ah as CodeSyntaxPalette, ai as CodeSyntaxPaletteOptions, aj as CodeSyntaxPaletteTheme, ak as CodeTextFit, al as CodeTextPart, am as CodeToken, an as CodeTokenKind, C as ComposeSlideOptions, ao as ComposedBackgroundImage, ap as ComposedCaption, aq as ComposedFlow, ar as ComposedFootnoteEntry, as as ComposedFootnotes, at as ComposedGroup, au as ComposedHeadingArea, av as ComposedImage, aw as ComposedItem, ax as ComposedLayoutArea, ay as ComposedListColumn, az as ComposedLogo, aA as ComposedOverlay, aB as ComposedPlacement, aC as ComposedRegion, aD as Composition, aE as CompositionCandidate, aF as CompositionDecision, aG as CompositionExplanation, aH as CompositionPenalties, aI as CompositionTrack, aJ as DARK_BACKGROUND_LUMINANCE, aK as DEFAULT_CHART_LABEL_SEPARATOR, aL as DEFAULT_FURNITURE_DATE_FORMAT, aM as DESIGN_HINT_KEYS, aN as DeckCitations, aO as DesignHintKey, aP as DesignHintSource, aQ 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, aR as FONT_SIZE_GRID_PER_PX, aS as FOOTNOTE_MAX_RATIO, aT as FURNITURE_GAP, aU as FURNITURE_IMAGE_SHARE, aV as FlowShape, aW as FontFaceSelection, e as FontFamilies, F as Fonts, aX as FootnoteLayoutOptions, aY as FurnitureField, aZ as FurnitureImagePart, a_ as FurnitureLayout, a$ as FurniturePart, b0 as FurniturePartBase, b1 as FurnitureSocialLink, b2 as FurnitureTextExtras, b3 as FurnitureTextPart, b4 as HEADING_AREAS, b5 as ImageEdge, b6 as ImageFit, b7 as ImageFitPlacement, b8 as ImageFocus, b9 as ImageShape, f as LANGUAGES, ba as LAYOUT_BODY_KINDS, g as LOGO_SHAPES, i as LanguageVocabulary, bb as LayoutArea, bc as LayoutAreasOptions, bd as LayoutBodyKind, be as LayoutBox, bf as LayoutContent, L as LayoutDiagnostic, bg as LayoutRegion, bh as LayoutTemplate, bi as LayoutTemplateIssue, bj as ListBulletImage, bk as ListEntryLayout, bl as ListFit, bm as ListFitOptions, bn as ListNumber, bo as ListText, bp as ListValue, j as LogoShape, k as LogoVariant, bq as MAX_COMPOSITION_DEPTH, br as MAX_NUMBERING_LEVELS, bs as MAX_NUMBERING_VALUE, bt as MAX_REGION_BLOCKS, bu as MAX_ROMAN_VALUE, bv as MAX_TEMPLATE_TRACKS, bw as METRIC_TREND_MIN_CONTRAST, bx as METRIC_TREND_SHAPES, M as MeasureTextWidth, by as MetricContent, bz as MetricLayout, bA as MetricLayoutDiagnostic, bB as MetricLayoutOptions, bC as MetricSentiment, bD as MetricTextPart, bE as MetricTextSource, bF as MetricTrend, bG as MetricTrendColorOptions, bH as MetricTrendMark, bI as NUMBERING_STYLES, bJ as NUMBERING_SUFFIXES, bK as Numbering, bL as NumberingInput, bM as NumberingStyleName, bN as NumberingSuffix, bO as OPFCompositionError, bP as OPFLayoutTemplateError, bQ as PATTERN_PRESETS, bR as PATTERN_PRESET_ALIASES, bS as PATTERN_TILE_SIZE, bT as PICTURE_BULLET_SCALE, bU as PhysicalAlignment, bV as QuoteContent, bW as QuoteLayout, bX as QuoteLayoutDiagnostic, bY as QuoteLayoutOptions, bZ as QuotePhoto, b_ as QuoteTextPart, b$ as QuoteTextSource, c0 as REGION_ANCHORS, c1 as REGION_FLOWS, c2 as REGION_KINDS, c3 as REGION_ROLES, c4 as RESERVED_REGION_NAMES, c5 as ReadingBox, c6 as Reference, c7 as ReferencesSlideOptions, c8 as RegionAnchor, c9 as RegionBinding, ca as RegionBindingDiagnostic, cb as RegionBindingResult, cc as RegionFlow, cd as RegionKind, ce as RegionRole, cf as ResolveColorRefOptions, cg as ResolveColorRefRoles, ch as ResolveColorRolesOptions, ci as ResolveDesignHintsOptions, R as ResolveLogoOptions, cj as ResolveScriptFontsOptions, ck as ResolvedChartDataLabels, cl as ResolvedChartHighlight, cm as ResolvedChartOptions, cn as ResolvedColorRoles, co as ResolvedDesignHints, l as ResolvedLogo, cp as ResolvedNumbering, cq as ResolvedScriptFonts, cr as RichText, cs as RichTextFit, ct as RichTextFragment, cu as RichTextLine, cv as RichTextOptions, cw as RichTextRun, cx as RowDemand, S as SOCIAL_PLATFORMS, cy as SURFACE_ALT_MIN_CONTRAST, cz 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 THEME_DESIGN_KEYS, cL as TIMELINE_OUTLINE_MIN_CONTRAST, cM as TIMELINE_STATUSES, cN as TIMELINE_TEXT_MIN_CONTRAST, cO as TableBorder, cP as TableCellLayout, cQ as TableCellStyle, cR as TableGrid, cS as TableGridCell, cT as TableGridIssue, cU as TableLayout, cV as TableLayoutOptions, cW as TableRowLayout, cX as TextDirection, cY as TextFit, cZ as TextLineInk, c_ as TextLineSegment, c$ as TextLineSource, T as TextMeasurement, d0 as TextPlacement, d1 as TextPlacementLine, n as TextStyle, d2 as TimelineContent, d3 as TimelineEvent, d4 as TimelineLayout, d5 as TimelineLayoutDiagnostic, d6 as TimelineLayoutOptions, d7 as TimelineMarkerShape, d8 as TimelineStatus, d9 as TimelineStatusColors, da as TimelineTextPart, db as WatermarkTextLayout, dc as WatermarkTextOptions, dd as allocateRows, de as annotationText, df as bindRegions, dg as blockKind, dh as captionSettings, di as chartColorForFill, dj as chartHighlightColors, dk as chartHighlightMarks, dl as chartLabelText, dm as chartOptionSupport, dn as chartOptionTarget, dp as chartPaletteForFill, dq as citationMarkerText, dr as codeHighlightBands, ds as codeHighlightColors, dt as codeHighlightLines, du as codeLineNumbers, dv as codeLineRuns, dw as codeSyntaxPalette, dx as codeSyntaxPaletteForScheme, dy as collectCitations, dz as colorContrast, dA as composeLayoutAreas, dB as composeSlide, dC as defaultSlideBackground, dD as fitImage, dE as fitList, dF as fitRichText, dG as fitText, dH as formatChartLabelNumber, dI as formatChartLabelPercent, dJ as formatFurnitureDate, dK as formatListNumber, dL as gridFlowShape, dM as imageBackground, dN as imageShape, dO as intrinsicImageAspect, dP as intrinsicImageSize, dQ as isDarkColor, dR as isLayoutTemplate, dS as layoutCaption, dT as layoutCode, dU as layoutContent, dV as layoutFootnotes, dW as layoutFurniture, dX as layoutMetric, dY as layoutQuote, dZ as layoutRegion, d_ as layoutStructure, d$ as layoutTable, e0 as layoutTemplate, e1 as layoutTemplateIssues, e2 as layoutTimeline, e3 as layoutWatermark, e4 as listColumnBreaks, e5 as listNumbers, e6 as measureText, e7 as measureTextOutline, e8 as metricTrendColor, e9 as metricTrendMark, ea as metricTrendPoints, eb as normalizeHexColor, ec as numberingAtLevel, ed as numberingStyleDraws, ee as paragraphDirection, ef as paragraphDirectionAt, eg as patternBitmap, eh as patternRuns, ei as physicalAlignment, ej as placeTextLines, ek as placedImageBlocks, el as referencesSlide, em as regionAccepts, en as regionRoleRank, eo as resolveCanvasDimensions, ep as resolveChartOptions, eq as resolveCodeLanguage, er as resolveColorRef, es as resolveColorRoles, et as resolveDesignHints, eu as resolveFontFamilies, ev as resolveLogo, ew as resolveNumbering, ex as resolvePatternPreset, ey as resolveScriptFonts, ez as resolveSlideDirection, eA as resolveSocialProfile, eB as resolveTextStyle, eC as rootNodes, eD as scriptFontRole, eE as sliceNumberedItems, eF as slideCitations, eG as snapFontSizeDown, eH as snapFontSizeUp, eI as surfaceAltColor, eJ as tableGrid, eK as tableRowBoundaries, eL as textColorForFill, eM as textWidthMeasurer, eN as timelineMarkerShapes, eO as timelineTextColor, eP as tokenizeCode, eQ as visualReadingOrder, eR as walkCitationRuns, eS as wrapText } from './composition-MFjGwuN_.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_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-UAXSW6VV.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { D as DeckFormat } from './deck-report-
|
|
1
|
+
import { D as DeckFormat } from './deck-report-DldBcTHe.js';
|
|
2
2
|
import { a as Finding, c as FindingSeverity } from './finding-CT_f_vbD.js';
|
|
3
3
|
import { P as Presentation } from './presentation-B_e2Djga.js';
|
|
4
|
-
import { V as ValidationReport, f as ValidationChecks, a as ValidateOptions } from './validation-types-
|
|
4
|
+
import { V as ValidationReport, f as ValidationChecks, a as ValidateOptions } from './validation-types-DtN8X_HZ.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`). */
|
|
@@ -43,8 +43,8 @@ declare const RENDER_PACKAGE = "@openpresentation/opf-render";
|
|
|
43
43
|
declare const PPTX_PACKAGE = "@openpresentation/opf-pptx";
|
|
44
44
|
/** Peer ranges. The CLI checks the features it calls rather than the version, so a newer release in range keeps working. */
|
|
45
45
|
declare const PEER_RANGES: {
|
|
46
|
-
readonly "@openpresentation/opf-render": "^0.
|
|
47
|
-
readonly "@openpresentation/opf-pptx": "^0.
|
|
46
|
+
readonly "@openpresentation/opf-render": "^0.20.0";
|
|
47
|
+
readonly "@openpresentation/opf-pptx": "^0.20.0";
|
|
48
48
|
};
|
|
49
49
|
interface Diagnostic {
|
|
50
50
|
code: string;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export { convertFiles, deckFileFormat, exportFormatOf, openDeck, planConversion, readInput, saveDeck, writePlanned } from './chunk-JMYM44I4.js';
|
|
2
|
+
import './chunk-BYEIFHWS.js';
|
|
3
|
+
import './chunk-2AGWO7RM.js';
|
|
4
|
+
import './chunk-UJSAR6GF.js';
|
|
5
|
+
import './chunk-W7G5LSXI.js';
|
|
6
|
+
import './chunk-NZDWCYDI.js';
|
|
7
|
+
import './chunk-RFJ5TR3V.js';
|
|
8
|
+
import './chunk-4FBXVST6.js';
|
|
9
|
+
import './chunk-P6LMWUXV.js';
|
|
10
|
+
import './chunk-L6RRLN6Q.js';
|
|
11
|
+
import './chunk-2XJUXMBS.js';
|
|
12
|
+
import './chunk-32MHL3B3.js';
|
|
13
|
+
import './chunk-BDXJYO6R.js';
|
|
14
|
+
import './chunk-UA5EROLC.js';
|
|
15
|
+
import './chunk-ZU5EQ23T.js';
|
|
16
|
+
import './chunk-7QUAOKS6.js';
|
|
17
|
+
import './chunk-UAXSW6VV.js';
|
|
18
|
+
import './chunk-VEHLQVGQ.js';
|
|
19
|
+
import './chunk-F7PLNWHQ.js';
|
package/dist/convert.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { P as PaginatedPage, a as PresentationPaginationOptions } from './pagination-
|
|
2
|
-
import './composition-
|
|
1
|
+
import { P as PaginatedPage, a as PresentationPaginationOptions } from './pagination-BKsZIEcA.js';
|
|
2
|
+
import './composition-MFjGwuN_.js';
|
|
3
3
|
import './catalog-refs-CSHevLn1.js';
|
|
4
4
|
import './chart-data-BnNqgnC-.js';
|
|
5
5
|
|
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-BDXJYO6R.js';
|
|
2
|
+
import { parseQuoteLines, parseCodeFence, splitWhen, parseListLine, levelsFromIndents, fenceCode } from './chunk-UA5EROLC.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-ZU5EQ23T.js';
|
|
4
|
+
export { OPFConversionError } from './chunk-ZU5EQ23T.js';
|
|
5
|
+
import './chunk-7QUAOKS6.js';
|
|
6
|
+
import { promotedRegionKeys, isDatasetRef, inlineTableData, visitContentPayloads, chartNumber } from './chunk-UAXSW6VV.js';
|
|
7
|
+
import './chunk-VEHLQVGQ.js';
|
|
8
8
|
|
|
9
9
|
// src/convert/tables.ts
|
|
10
10
|
function cellOf(raw) {
|
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-W7G5LSXI.js';
|
|
2
|
+
export { chartNumber, datasetDiagnostics, formatDataNumber, fromExcelNumberFormat, inlineChartData, inlineDatasets, inlineTableData, isDatasetRef, isXYChartType, numberFormatError, resolveChartData, resolveTableData, suggestChartNumberFix, tableCellDisplayValue, toExcelNumberFormat, unusedDatasets } from './chunk-UAXSW6VV.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { C as Catalog } from './catalog-refs-CSHevLn1.js';
|
|
2
2
|
import { P as Presentation } from './presentation-B_e2Djga.js';
|
|
3
|
-
import { V as ValidationReport, a as ValidateOptions } from './validation-types-
|
|
3
|
+
import { V as ValidationReport, a as ValidateOptions } from './validation-types-DtN8X_HZ.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,9 +1,9 @@
|
|
|
1
|
-
import { D as DeckFormat, P as ParseOptions } from './deck-report-
|
|
2
|
-
export { a as DECK_FORMATS, d as deckFormatOf } from './deck-report-
|
|
1
|
+
import { D as DeckFormat, P as ParseOptions } from './deck-report-DldBcTHe.js';
|
|
2
|
+
export { a as DECK_FORMATS, d as deckFormatOf } from './deck-report-DldBcTHe.js';
|
|
3
3
|
import { P as Presentation } from './presentation-B_e2Djga.js';
|
|
4
4
|
import './catalog-refs-CSHevLn1.js';
|
|
5
|
-
import './validation-types-
|
|
6
|
-
import './composition-
|
|
5
|
+
import './validation-types-DtN8X_HZ.js';
|
|
6
|
+
import './composition-MFjGwuN_.js';
|
|
7
7
|
import './chart-data-BnNqgnC-.js';
|
|
8
8
|
import './finding-CT_f_vbD.js';
|
|
9
9
|
import './json-BFSdESOE.js';
|
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-NZDWCYDI.js';
|
|
2
|
+
import './chunk-RFJ5TR3V.js';
|
|
3
|
+
import './chunk-4FBXVST6.js';
|
|
4
|
+
import './chunk-P6LMWUXV.js';
|
|
5
|
+
import './chunk-32MHL3B3.js';
|
|
6
|
+
import './chunk-UA5EROLC.js';
|
|
7
|
+
import './chunk-ZU5EQ23T.js';
|
|
8
|
+
import './chunk-7QUAOKS6.js';
|
|
9
|
+
import './chunk-UAXSW6VV.js';
|
|
10
|
+
import './chunk-VEHLQVGQ.js';
|
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-L6RRLN6Q.js';
|
|
2
|
+
import './chunk-2XJUXMBS.js';
|
|
3
|
+
import './chunk-7QUAOKS6.js';
|
|
4
|
+
import './chunk-UAXSW6VV.js';
|
|
5
|
+
import './chunk-VEHLQVGQ.js';
|