@openpresentation/opf 0.23.0 → 0.24.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.
Files changed (40) hide show
  1. package/dist/browser.js +14 -14
  2. package/dist/{chunk-YMBA3V2O.js → chunk-33OBLTKZ.js} +1 -1
  3. package/dist/{chunk-TILQBXPZ.js → chunk-5PHLSH4E.js} +1 -1
  4. package/dist/{chunk-3FWUA763.js → chunk-6WDLGY25.js} +2 -2
  5. package/dist/{chunk-ZIRSAFRC.js → chunk-BN3A5TVI.js} +95 -4
  6. package/dist/{chunk-L67MPTPZ.js → chunk-F6CDJTSE.js} +1 -1
  7. package/dist/{chunk-TMOQ532D.js → chunk-H5GFPQAS.js} +1 -1
  8. package/dist/{chunk-XKUEEDDN.js → chunk-H77YYHPL.js} +4 -4
  9. package/dist/{chunk-VHNG75IH.js → chunk-JHSTEBPC.js} +4 -4
  10. package/dist/{chunk-NIA2WEXN.js → chunk-RE4F2USA.js} +1 -1
  11. package/dist/{chunk-PLV7P236.js → chunk-RP2KIC7W.js} +2 -2
  12. package/dist/{chunk-VIOSRKMA.js → chunk-RQACV2FR.js} +1 -1
  13. package/dist/{chunk-F55S5HDP.js → chunk-RXKXY75X.js} +1 -1
  14. package/dist/{chunk-CNOLYQ4C.js → chunk-UIKXX5EX.js} +1 -1
  15. package/dist/{chunk-BOWBPSFF.js → chunk-VKPFDUR5.js} +6 -6
  16. package/dist/{chunk-B2XALDGS.js → chunk-ZFNKRZZQ.js} +5 -5
  17. package/dist/{conversion-t-YYHWL-.d.ts → conversion-O0XSW0ZV.d.ts} +2 -2
  18. package/dist/conversion-XITF66VJ.js +19 -0
  19. package/dist/convert.js +6 -6
  20. package/dist/deck.js +9 -9
  21. package/dist/diff.js +4 -4
  22. package/dist/docs.js +5 -5
  23. package/dist/examples.js +5064 -839
  24. package/dist/format.js +2 -2
  25. package/dist/index.d.ts +2 -2
  26. package/dist/index.js +18 -18
  27. package/dist/markdown.js +6 -6
  28. package/dist/node-engine.d.ts +2 -2
  29. package/dist/node-engine.js +18 -18
  30. package/dist/pagination.js +3 -3
  31. package/dist/patch.js +3 -3
  32. package/dist/schemas.d.ts +2 -0
  33. package/dist/schemas.js +1 -1
  34. package/dist/spec/schemas/opf.schema.json +1 -1
  35. package/dist/spec/schemas/theme.schema.json +42 -3
  36. package/dist/types.d.ts +40 -0
  37. package/dist/validator.js +2 -2
  38. package/dist/yaml.js +6 -6
  39. package/package.json +6 -6
  40. package/dist/conversion-CY34E5WI.js +0 -19
package/dist/browser.js CHANGED
@@ -1,20 +1,20 @@
1
- import { OPFApiError } from './chunk-3FWUA763.js';
2
- export { OPFApiError, OPFExportError, OPFImportError, OPFMoveToCustomError, copySlides, edit, embed, fill, fillRecords, localAssetSources, moveToCustom, parseSlideSelection, sameRecord, stats, updateFromCatalog } from './chunk-3FWUA763.js';
1
+ import { OPFApiError } from './chunk-6WDLGY25.js';
2
+ export { OPFApiError, OPFExportError, OPFImportError, OPFMoveToCustomError, copySlides, edit, embed, fill, fillRecords, localAssetSources, moveToCustom, parseSlideSelection, sameRecord, stats, updateFromCatalog } from './chunk-6WDLGY25.js';
3
3
  export { specFileEntries, specFileKinds, specFilePaths } from './chunk-UJSAR6GF.js';
4
4
  export { OPFDataImportError, ingest, parseTabularData } from './chunk-4I3XPRAO.js';
5
- export { DECK_FORMATS, deckFormatOf, parse, stringify } from './chunk-VHNG75IH.js';
6
- export { fromMarkdown, toMarkdown } from './chunk-XKUEEDDN.js';
7
- import './chunk-B2XALDGS.js';
8
- export { OPFMarkdownError } from './chunk-TILQBXPZ.js';
9
- export { diff, merge } from './chunk-TMOQ532D.js';
10
- export { OPFPatchError, OPFPatchValidationError, applyPatch } from './chunk-VIOSRKMA.js';
11
- export { OPFFormatError, format } from './chunk-YMBA3V2O.js';
12
- export { OPFPaginationError, paginate, paginateSlide } from './chunk-CNOLYQ4C.js';
13
- import './chunk-NIA2WEXN.js';
14
- import './chunk-F55S5HDP.js';
15
- export { CATALOG_SCHEMA, DEFAULT_VALIDATION_THRESHOLDS, OPFValidationError, assertValid, assertValidCatalogRecord, catalogDisplayKinds, catalogSchemaNames, findValidationRule, resolveSlideContext, validate, validateCatalogRecord, validationCategories, validationRules } from './chunk-L67MPTPZ.js';
5
+ export { DECK_FORMATS, deckFormatOf, parse, stringify } from './chunk-JHSTEBPC.js';
6
+ export { fromMarkdown, toMarkdown } from './chunk-H77YYHPL.js';
7
+ import './chunk-ZFNKRZZQ.js';
8
+ export { OPFMarkdownError } from './chunk-5PHLSH4E.js';
9
+ export { diff, merge } from './chunk-H5GFPQAS.js';
10
+ export { OPFPatchError, OPFPatchValidationError, applyPatch } from './chunk-RQACV2FR.js';
11
+ export { OPFFormatError, format } from './chunk-33OBLTKZ.js';
12
+ export { OPFPaginationError, paginate, paginateSlide } from './chunk-UIKXX5EX.js';
13
+ import './chunk-RE4F2USA.js';
14
+ import './chunk-RXKXY75X.js';
15
+ export { CATALOG_SCHEMA, DEFAULT_VALIDATION_THRESHOLDS, OPFValidationError, assertValid, assertValidCatalogRecord, catalogDisplayKinds, catalogSchemaNames, findValidationRule, resolveSlideContext, validate, validateCatalogRecord, validationCategories, validationRules } from './chunk-F6CDJTSE.js';
16
16
  export { CATALOG_GROUP_PATTERN, CATALOG_REFERENCE_PATTERN, CHART_TYPES, DEFAULT_VARIABLE_DATE_FORMAT, ENGINE_DEFAULT_CHART_TYPES, ENGINE_DEFAULT_COLOR_SCHEME, ENGINE_DEFAULT_FONT_SCHEME, ENGINE_DEFAULT_THEME, LANGUAGES, LOGO_SHAPES, OPFCatalogsOptionError, OPFUnresolvedReferenceError, OPFVariableError, SLIDE_SCOPED_BUILTINS, SOCIAL_PLATFORMS, VARIABLE_KINDS, catalogGroupSource, catalogKinds, catalogRecords, catalogReferenceSites, chartNumber, coerceVariableValue, datasetDiagnostics, formatDataNumber, formatVariableNumber, fromExcelNumberFormat, hasContentVariables, inlineChartData, inlineDatasets, inlineTableData, isDatasetRef, isTemplate, isXYChartType, listBuiltinVariables, listVariables, normalizeLanguageFamily, numberFormatError, parseReference, resolveChartData, resolveDesignRecords, resolveFontScheme, resolveReference, resolveSlideVariables, resolveTableData, resolveVariables, suggestChartNumberFix, tableCellDisplayValue, toExcelNumberFormat, unresolvedReference, unusedDatasets, variableDeclarations } from './chunk-N3ZPLGK5.js';
17
- export { audience, chartType, colorScheme, fontScheme, language, layout, narrative, presentation, purpose, schemaEntries, schemaNames, schemas, socialPlatform, theme, tone } from './chunk-ZIRSAFRC.js';
17
+ export { audience, chartType, colorScheme, fontScheme, language, layout, narrative, presentation, purpose, schemaEntries, schemaNames, schemas, socialPlatform, theme, tone } from './chunk-BN3A5TVI.js';
18
18
  export { FONT_POLICY, applyFontPolicyDecisions, fontAvailabilityDiagnostics, fontPolicyFor } from './chunk-F7PLNWHQ.js';
19
19
 
20
20
  // src/browser.ts
@@ -1,4 +1,4 @@
1
- import { presentation } from './chunk-ZIRSAFRC.js';
1
+ import { presentation } from './chunk-BN3A5TVI.js';
2
2
 
3
3
  // src/format.ts
4
4
  var OPFFormatError = class extends Error {
@@ -1,4 +1,4 @@
1
- import { isRecord, same } from './chunk-F55S5HDP.js';
1
+ import { isRecord, same } from './chunk-RXKXY75X.js';
2
2
  import { parseDocument, YAMLMap, Scalar, stringify } from 'yaml';
3
3
 
4
4
  // src/not-checked.ts
@@ -1,6 +1,6 @@
1
1
  import { OPFDataImportError, parseTabularData } from './chunk-4I3XPRAO.js';
2
- import { applyPatchWithInverse } from './chunk-VIOSRKMA.js';
3
- import { validate, OPFValidationError } from './chunk-L67MPTPZ.js';
2
+ import { applyPatchWithInverse } from './chunk-RQACV2FR.js';
3
+ import { validate, OPFValidationError } from './chunk-F6CDJTSE.js';
4
4
  import { embeddedCopy, checkCatalogsOption, catalogReferenceSites, parseReference, catalogGroupDeclared, resolveReference, dottedPath, unresolvedReference, recordReferenceSites, catalogGroupSource, registeredCatalog, catalogKinds, CATALOG_GROUP_PATTERN, isRecord, visitContentPayloads, annotationText, listVariables, resolveVariables, LOGO_SHAPES, resolveDesignRecords, resolveFontFamilies, resolveCanvasDimensions, imageBackground } from './chunk-N3ZPLGK5.js';
5
5
 
6
6
  // src/api-errors.ts
@@ -1019,7 +1019,6 @@ var presentation = {
1019
1019
  "examples": [
1020
1020
  "minimal",
1021
1021
  "classic",
1022
- "dark",
1023
1022
  "bold",
1024
1023
  "acme:brand"
1025
1024
  ]
@@ -6427,7 +6426,6 @@ var theme = {
6427
6426
  "examples": [
6428
6427
  "minimal",
6429
6428
  "classic",
6430
- "dark",
6431
6429
  "bold"
6432
6430
  ]
6433
6431
  },
@@ -6437,7 +6435,6 @@ var theme = {
6437
6435
  "examples": [
6438
6436
  "Minimal",
6439
6437
  "Classic",
6440
- "Dark",
6441
6438
  "Bold"
6442
6439
  ]
6443
6440
  },
@@ -6446,7 +6443,7 @@ var theme = {
6446
6443
  "description": "One-sentence positioning of the theme \u2014 when to reach for it.",
6447
6444
  "examples": [
6448
6445
  "A clean, minimalist theme for professional, straightforward presentations.",
6449
- "A rich dark-mode theme with bold contrast and modern style."
6446
+ "A vibrant, high-energy theme with bold colors for presentations that need to stand out."
6450
6447
  ]
6451
6448
  },
6452
6449
  "description": {
@@ -6480,6 +6477,42 @@ var theme = {
6480
6477
  "background": {
6481
6478
  "$ref": "#/$defs/ThemeBackground"
6482
6479
  },
6480
+ "variants": {
6481
+ "type": "array",
6482
+ "items": {
6483
+ "$ref": "#/$defs/ThemeVariant"
6484
+ },
6485
+ "description": "The color variants the theme offers (OPF 0.23), for example light, light-alt, dark and dark-alt: named values of design.variant over the theme's one color scheme, so a dark deck is a variant of a theme and not a theme of its own. A picker lists them by name; choosing one sets design.variant (or a slide's design.variant) to the entry's 'variant'. A document stores that value and never the id, so a variant needs no record and the theme does not change when its variants do. The entry ids are unique within a theme.",
6486
+ "examples": [
6487
+ [
6488
+ {
6489
+ "id": "light",
6490
+ "name": "Light",
6491
+ "variant": "light1"
6492
+ },
6493
+ {
6494
+ "id": "dark",
6495
+ "name": "Dark",
6496
+ "variant": "dark1"
6497
+ },
6498
+ {
6499
+ "id": "dark-alt",
6500
+ "name": "Dark alt",
6501
+ "variant": {
6502
+ "background": "dark1",
6503
+ "accents": [
6504
+ "accent2",
6505
+ "accent1",
6506
+ "accent3",
6507
+ "accent4",
6508
+ "accent5",
6509
+ "accent6"
6510
+ ]
6511
+ }
6512
+ }
6513
+ ]
6514
+ ]
6515
+ },
6483
6516
  "dimensions": {
6484
6517
  "type": "string",
6485
6518
  "enum": [
@@ -6617,6 +6650,64 @@ var theme = {
6617
6650
  }
6618
6651
  },
6619
6652
  "$defs": {
6653
+ "ThemeVariant": {
6654
+ "type": "object",
6655
+ "additionalProperties": false,
6656
+ "required": [
6657
+ "id",
6658
+ "name",
6659
+ "variant"
6660
+ ],
6661
+ "description": "One named color variant of a theme.",
6662
+ "properties": {
6663
+ "id": {
6664
+ "type": "string",
6665
+ "pattern": "^[a-z][a-z0-9-]*$",
6666
+ "description": "The variant's id within the theme, lowercase kebab-case.",
6667
+ "examples": [
6668
+ "light",
6669
+ "light-alt",
6670
+ "dark",
6671
+ "dark-alt"
6672
+ ]
6673
+ },
6674
+ "name": {
6675
+ "type": "string",
6676
+ "description": "Human-readable variant name shown in pickers.",
6677
+ "examples": [
6678
+ "Light",
6679
+ "Light alt",
6680
+ "Dark",
6681
+ "Dark alt"
6682
+ ]
6683
+ },
6684
+ "variant": {
6685
+ "description": "The value design.variant takes when the variant is chosen: a background slot ('light1', 'light2', 'dark1', 'dark2'; the same as { background: slot }) or the ColorVariant object of opf.schema.json, which adds an accent order.",
6686
+ "oneOf": [
6687
+ {
6688
+ "$ref": "#/$defs/ThemeBackgroundSlot"
6689
+ },
6690
+ {
6691
+ "$ref": "https://openpresentation.org/schema/opf/v1#/$defs/ColorVariant"
6692
+ }
6693
+ ],
6694
+ "examples": [
6695
+ "dark1",
6696
+ {
6697
+ "background": "light1",
6698
+ "accents": [
6699
+ "accent6",
6700
+ "accent5",
6701
+ "accent4",
6702
+ "accent1",
6703
+ "accent3",
6704
+ "accent2"
6705
+ ]
6706
+ }
6707
+ ]
6708
+ }
6709
+ }
6710
+ },
6620
6711
  "ThemeBackgroundSlot": {
6621
6712
  "type": "string",
6622
6713
  "description": "PowerPoint theme-controlled slide background slot from the active color scheme. These are slots, not assumptions about actual colors: light1 is usually white and dark1 is usually black by convention, but the color scheme controls the real values.",
@@ -1,5 +1,5 @@
1
1
  import { promotedRegionKeys, VARIABLE_KINDS, resolveChartData, chartPaletteForFill, chartSeriesPalette, normalizeHexColor, resolveChartColors, colorContrast, imageBackground, tableGrid, timelineTextColor, LOGO_SHAPES, visitContentPayloads, readingRows, visualReadingOrder, intrinsicImageSize, resolveReference, textWidthMeasurer, resolveColorRef, resolveDesignRecords, resolveFontFamilies, checkCatalogsOption, provenanceOf, unresolvedReference, OPFUnresolvedReferenceError, resolveColorRoles, resolveCanvasDimensions, resolveSlideVariables, normalizeColorVariant, isRecord, hasContentVariables, isTemplate, instantiateForValidation, layoutTemplateIssues, resolveScriptFonts, defaultSlideBackground, catalogReferenceSites, parseReference, catalogGroupDeclared, pointerPath, unusedDatasets, MAX_COMPOSITION_DEPTH, datasetDiagnostics, pathFor, catalogRecords, collectCitations, numberingFindings, walkCitationRuns, resolveTableData, resolveChartOptions, chartOptionTarget, codeHighlightLines, chartNumberFixesByCell, catalogKinds, catalogGroupSource, registeredCatalog, OPFCompositionError, composeSlide } from './chunk-N3ZPLGK5.js';
2
- import { schemas, schemaEntries } from './chunk-ZIRSAFRC.js';
2
+ import { schemas, schemaEntries } from './chunk-BN3A5TVI.js';
3
3
  import Ajv2020 from 'ajv/dist/2020.js';
4
4
  import addFormats from 'ajv-formats';
5
5
  import { parseTree, printParseErrorCode, getNodePath } from 'jsonc-parser';
@@ -1,4 +1,4 @@
1
- import { jsonEqual, formatPointer } from './chunk-VIOSRKMA.js';
1
+ import { jsonEqual, formatPointer } from './chunk-RQACV2FR.js';
2
2
  import { annotationText } from './chunk-N3ZPLGK5.js';
3
3
 
4
4
  // src/diff-match.ts
@@ -1,7 +1,7 @@
1
- import { Ctx, splitLines, lineRange, readYamlMapping, NOT_CHECKED, OPFMarkdownError, writeYaml, readCsv, DECIMAL, csvField, scalarText } from './chunk-TILQBXPZ.js';
2
- import { parseQuoteLines, levelsFromIndents, parseCodeFence, splitWhen, fenceCode } from './chunk-NIA2WEXN.js';
3
- import { same, isRecord, runText, isPlainRun, FORMATTING } from './chunk-F55S5HDP.js';
4
- import { validate } from './chunk-L67MPTPZ.js';
1
+ import { Ctx, splitLines, lineRange, readYamlMapping, NOT_CHECKED, OPFMarkdownError, writeYaml, readCsv, DECIMAL, csvField, scalarText } from './chunk-5PHLSH4E.js';
2
+ import { parseQuoteLines, levelsFromIndents, parseCodeFence, splitWhen, fenceCode } from './chunk-RE4F2USA.js';
3
+ import { same, isRecord, runText, isPlainRun, FORMATTING } from './chunk-RXKXY75X.js';
4
+ import { validate } from './chunk-F6CDJTSE.js';
5
5
  import { checkCatalogsOption, PROMOTED_REGION_KEY } from './chunk-N3ZPLGK5.js';
6
6
 
7
7
  // src/markdown/canon.ts
@@ -1,7 +1,7 @@
1
- import { fromMarkdown, toMarkdown } from './chunk-XKUEEDDN.js';
2
- import { fromYaml, toYaml } from './chunk-B2XALDGS.js';
3
- import { NOT_CHECKED } from './chunk-TILQBXPZ.js';
4
- import { parseSource, validate, OPFValidationError } from './chunk-L67MPTPZ.js';
1
+ import { fromMarkdown, toMarkdown } from './chunk-H77YYHPL.js';
2
+ import { fromYaml, toYaml } from './chunk-ZFNKRZZQ.js';
3
+ import { NOT_CHECKED } from './chunk-5PHLSH4E.js';
4
+ import { parseSource, validate, OPFValidationError } from './chunk-F6CDJTSE.js';
5
5
  import { checkCatalogsOption } from './chunk-N3ZPLGK5.js';
6
6
 
7
7
  // src/deck-report.ts
@@ -1,4 +1,4 @@
1
- import { runText } from './chunk-F55S5HDP.js';
1
+ import { runText } from './chunk-RXKXY75X.js';
2
2
 
3
3
  // src/convert/text-lines.ts
4
4
  var LIST_PREFIX = /^([ \t]*)(?:([-*•+]|\d{1,3}[.)])[ \t]+)?/;
@@ -1,5 +1,5 @@
1
- import { OPFApiError } from './chunk-3FWUA763.js';
2
- import { CATALOG_SCHEMA } from './chunk-L67MPTPZ.js';
1
+ import { OPFApiError } from './chunk-6WDLGY25.js';
2
+ import { CATALOG_SCHEMA } from './chunk-F6CDJTSE.js';
3
3
  import { CATALOG_SCHEMA as CATALOG_SCHEMA$1, gallery } from '@openpresentation/gallery';
4
4
 
5
5
  function galleryMismatch(declared, reads = CATALOG_SCHEMA) {
@@ -1,4 +1,4 @@
1
- import { validate } from './chunk-L67MPTPZ.js';
1
+ import { validate } from './chunk-F6CDJTSE.js';
2
2
 
3
3
  // src/patch.ts
4
4
  var OPFPatchError = class extends Error {
@@ -1,4 +1,4 @@
1
- import { validate } from './chunk-L67MPTPZ.js';
1
+ import { validate } from './chunk-F6CDJTSE.js';
2
2
 
3
3
  // src/convert/shared.ts
4
4
  var CONTENT_KEYS = ["text", "items", "bullets", "image", "video", "chart", "table", "code", "metric", "quote", "timeline"];
@@ -1,4 +1,4 @@
1
- import { assertValid, resolveSlideScriptMeasurement, resolveSlideContext } from './chunk-L67MPTPZ.js';
1
+ import { assertValid, resolveSlideScriptMeasurement, resolveSlideContext } from './chunk-F6CDJTSE.js';
2
2
  import { resolveSlideVariables, checkCatalogsOption, usesSlideBuiltin, composeSlide, codeHighlightSlice, tableRowBoundaries, visitContentPayloads, regionAccepts, slideTokenSpans, sliceNumberedItems } from './chunk-N3ZPLGK5.js';
3
3
 
4
4
  // src/pagination.ts
@@ -1,8 +1,8 @@
1
- import { defaultCatalogs } from './chunk-PLV7P236.js';
2
- import { localAssetSources, OPFApiError, parseSlideSelection, OPFExportError, asApiError, OPFImportError } from './chunk-3FWUA763.js';
3
- import { deckFormatOf, readDeckReport, stringify } from './chunk-VHNG75IH.js';
4
- import { paginate } from './chunk-CNOLYQ4C.js';
5
- import { validate, OPFValidationError } from './chunk-L67MPTPZ.js';
1
+ import { defaultCatalogs } from './chunk-RP2KIC7W.js';
2
+ import { localAssetSources, OPFApiError, parseSlideSelection, OPFExportError, asApiError, OPFImportError } from './chunk-6WDLGY25.js';
3
+ import { deckFormatOf, readDeckReport, stringify } from './chunk-JHSTEBPC.js';
4
+ import { paginate } from './chunk-UIKXX5EX.js';
5
+ import { validate, OPFValidationError } from './chunk-F6CDJTSE.js';
6
6
  import { link, stat, readdir, lstat, readFile, open, unlink, mkdir, rename } from 'fs/promises';
7
7
  import path6 from 'path';
8
8
  import { readFileSync, statSync, realpathSync } from 'fs';
@@ -117,7 +117,7 @@ function localAssetProblems(deck, root) {
117
117
  }
118
118
  var RENDER_PACKAGE = "@openpresentation/opf-render";
119
119
  var PPTX_PACKAGE = "@openpresentation/opf-pptx";
120
- var PEER_RANGES = { [RENDER_PACKAGE]: "^0.23.0", [PPTX_PACKAGE]: "^0.23.0" };
120
+ var PEER_RANGES = { [RENDER_PACKAGE]: "^0.24.0", [PPTX_PACKAGE]: "^0.24.0" };
121
121
  var PPTX_TEXT_OPTIONS_FROM = "0.22.0";
122
122
  var numbers = (version) => version.replace(/[-+].*$/, "").split(".").map((part) => Number.parseInt(part, 10) || 0);
123
123
  function atLeast(version, minimum) {
@@ -1,9 +1,9 @@
1
- import { NOT_CHECKED, Ctx } from './chunk-TILQBXPZ.js';
2
- import { sortPresentationKeys } from './chunk-YMBA3V2O.js';
3
- import { same } from './chunk-F55S5HDP.js';
4
- import { validate } from './chunk-L67MPTPZ.js';
1
+ import { NOT_CHECKED, Ctx } from './chunk-5PHLSH4E.js';
2
+ import { sortPresentationKeys } from './chunk-33OBLTKZ.js';
3
+ import { same } from './chunk-RXKXY75X.js';
4
+ import { validate } from './chunk-F6CDJTSE.js';
5
5
  import { checkCatalogsOption } from './chunk-N3ZPLGK5.js';
6
- import { presentation } from './chunk-ZIRSAFRC.js';
6
+ import { presentation } from './chunk-BN3A5TVI.js';
7
7
  import { Parser, parseDocument, isMap, Document, visit, isScalar, isAlias, isSeq } from 'yaml';
8
8
 
9
9
  var MAX_ALIAS_COUNT = 100;
@@ -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.23.0";
47
- readonly "@openpresentation/opf-pptx": "^0.23.0";
46
+ readonly "@openpresentation/opf-render": "^0.24.0";
47
+ readonly "@openpresentation/opf-pptx": "^0.24.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-VKPFDUR5.js';
2
+ import './chunk-RP2KIC7W.js';
3
+ import './chunk-6WDLGY25.js';
4
+ import './chunk-UJSAR6GF.js';
5
+ import './chunk-4I3XPRAO.js';
6
+ import './chunk-JHSTEBPC.js';
7
+ import './chunk-H77YYHPL.js';
8
+ import './chunk-ZFNKRZZQ.js';
9
+ import './chunk-5PHLSH4E.js';
10
+ import './chunk-H5GFPQAS.js';
11
+ import './chunk-RQACV2FR.js';
12
+ import './chunk-33OBLTKZ.js';
13
+ import './chunk-UIKXX5EX.js';
14
+ import './chunk-RE4F2USA.js';
15
+ import './chunk-RXKXY75X.js';
16
+ import './chunk-F6CDJTSE.js';
17
+ import './chunk-N3ZPLGK5.js';
18
+ import './chunk-BN3A5TVI.js';
19
+ import './chunk-F7PLNWHQ.js';
package/dist/convert.js CHANGED
@@ -1,10 +1,10 @@
1
- import { paginate, OPFPaginationError } from './chunk-CNOLYQ4C.js';
2
- import { parseQuoteLines, parseCodeFence, splitWhen, parseListLine, levelsFromIndents, fenceCode } from './chunk-NIA2WEXN.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-F55S5HDP.js';
4
- export { OPFConversionError } from './chunk-F55S5HDP.js';
5
- import './chunk-L67MPTPZ.js';
1
+ import { paginate, OPFPaginationError } from './chunk-UIKXX5EX.js';
2
+ import { parseQuoteLines, parseCodeFence, splitWhen, parseListLine, levelsFromIndents, fenceCode } from './chunk-RE4F2USA.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-RXKXY75X.js';
4
+ export { OPFConversionError } from './chunk-RXKXY75X.js';
5
+ import './chunk-F6CDJTSE.js';
6
6
  import { promotedRegionKeys, isDatasetRef, inlineTableData, visitContentPayloads, chartNumber } from './chunk-N3ZPLGK5.js';
7
- import './chunk-ZIRSAFRC.js';
7
+ import './chunk-BN3A5TVI.js';
8
8
 
9
9
  // src/convert/tables.ts
10
10
  function cellOf(raw) {
package/dist/deck.js CHANGED
@@ -1,10 +1,10 @@
1
- export { DECK_FORMATS, deckFormatOf, parse, stringify } from './chunk-VHNG75IH.js';
2
- import './chunk-XKUEEDDN.js';
3
- import './chunk-B2XALDGS.js';
4
- import './chunk-TILQBXPZ.js';
5
- import './chunk-YMBA3V2O.js';
6
- import './chunk-NIA2WEXN.js';
7
- import './chunk-F55S5HDP.js';
8
- import './chunk-L67MPTPZ.js';
1
+ export { DECK_FORMATS, deckFormatOf, parse, stringify } from './chunk-JHSTEBPC.js';
2
+ import './chunk-H77YYHPL.js';
3
+ import './chunk-ZFNKRZZQ.js';
4
+ import './chunk-5PHLSH4E.js';
5
+ import './chunk-33OBLTKZ.js';
6
+ import './chunk-RE4F2USA.js';
7
+ import './chunk-RXKXY75X.js';
8
+ import './chunk-F6CDJTSE.js';
9
9
  import './chunk-N3ZPLGK5.js';
10
- import './chunk-ZIRSAFRC.js';
10
+ import './chunk-BN3A5TVI.js';
package/dist/diff.js CHANGED
@@ -1,5 +1,5 @@
1
- export { categoryOf, describeValue, diff, formatDiffReport, matchArrays, merge, similarity } from './chunk-TMOQ532D.js';
2
- import './chunk-VIOSRKMA.js';
3
- import './chunk-L67MPTPZ.js';
1
+ export { categoryOf, describeValue, diff, formatDiffReport, matchArrays, merge, similarity } from './chunk-H5GFPQAS.js';
2
+ import './chunk-RQACV2FR.js';
3
+ import './chunk-F6CDJTSE.js';
4
4
  import './chunk-N3ZPLGK5.js';
5
- import './chunk-ZIRSAFRC.js';
5
+ import './chunk-BN3A5TVI.js';