@openpresentation/opf 0.12.0 → 0.12.2

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 (50) hide show
  1. package/README.md +1 -1
  2. package/dist/audit.d.ts +3 -3
  3. package/dist/audit.js +6 -6
  4. package/dist/{catalogs-u6TEeMcz.d.ts → catalogs-BnI7JKcn.d.ts} +2 -2
  5. package/dist/catalogs.d.ts +1 -1
  6. package/dist/catalogs.js +1 -1
  7. package/dist/{chunk-RVN5C2FX.js → chunk-4LAM3N6S.js} +16 -16
  8. package/dist/{chunk-JENJZR3F.js → chunk-6LZK2IZB.js} +4 -4
  9. package/dist/{chunk-32DIB5BN.js → chunk-AUM5MXBR.js} +3 -3
  10. package/dist/{chunk-3ZGSWEHK.js → chunk-E34DJ5LL.js} +50 -14
  11. package/dist/{chunk-6TSDIPSH.js → chunk-HOBSL7AJ.js} +7 -1
  12. package/dist/{chunk-UQKJWHSS.js → chunk-JKVKYVWL.js} +3 -3
  13. package/dist/{chunk-JVTN3HPP.js → chunk-MWPMJE6P.js} +3 -3
  14. package/dist/{chunk-S667QI3M.js → chunk-RUC7L5DJ.js} +1 -1
  15. package/dist/{chunk-4FWCY4ZV.js → chunk-V2537ENL.js} +1 -1
  16. package/dist/composition.js +2 -2
  17. package/dist/convert.js +7 -7
  18. package/dist/diff.js +5 -5
  19. package/dist/docs.js +16 -16
  20. package/dist/examples.d.ts +1 -1
  21. package/dist/examples.js +112 -112
  22. package/dist/format.js +1 -1
  23. package/dist/index.d.ts +4 -4
  24. package/dist/index.js +9 -9
  25. package/dist/lint.d.ts +3 -3
  26. package/dist/lint.js +5 -5
  27. package/dist/markdown.d.ts +3 -3
  28. package/dist/markdown.js +6 -6
  29. package/dist/pagination.js +5 -5
  30. package/dist/patch.js +5 -5
  31. package/dist/{presentation-DRx4hpNZ.d.ts → presentation-DcF-MZcz.d.ts} +1 -1
  32. package/dist/repo-readme.js +1 -1
  33. package/dist/schemas.js +1 -1
  34. package/dist/spec/catalogs/audiences/customers.json +5 -1
  35. package/dist/spec/catalogs/audiences/executives.json +5 -1
  36. package/dist/spec/catalogs/audiences/index.json +20 -8
  37. package/dist/spec/catalogs/audiences/investors.json +5 -1
  38. package/dist/spec/catalogs/audiences/marketing-team.json +5 -1
  39. package/dist/spec/catalogs/audiences/regulators.json +5 -1
  40. package/dist/spec/catalogs/audiences/sales-team.json +5 -1
  41. package/dist/spec/catalogs/manifest.json +2 -2
  42. package/dist/spec/reference/engine-defaults.json +1 -1
  43. package/dist/spec/schemas/audience.schema.json +7 -7
  44. package/dist/spec/schemas/narrative.schema.json +1 -1
  45. package/dist/spec/schemas/opf.schema.json +6 -6
  46. package/dist/types.d.ts +3 -3
  47. package/dist/{validator-bu396ffT.d.ts → validator-DfG9yxba.d.ts} +2 -2
  48. package/dist/validator.d.ts +3 -3
  49. package/dist/validator.js +4 -4
  50. package/package.json +3 -3
package/README.md CHANGED
@@ -22,7 +22,7 @@ pnpm add @openpresentation/opf
22
22
  # or: yarn add @openpresentation/opf
23
23
  ```
24
24
 
25
- Requires Node 24 starting with version 0.10.0. Earlier published versions retain their recorded runtime requirements.
25
+ Requires Node 22 or later (`engines.node` `>=22`) from the release after 0.12.1. Versions 0.10.0 to 0.12.1 declared `24.x`, so npm on Node 22 or 26 silently installed an older release that matched (RR-20). Earlier published versions retain their recorded runtime requirements.
26
26
 
27
27
  ## Usage
28
28
 
package/dist/audit.d.ts CHANGED
@@ -1,9 +1,9 @@
1
- import { C as CatalogKind } from './catalogs-u6TEeMcz.js';
1
+ import { C as CatalogKind } from './catalogs-BnI7JKcn.js';
2
2
  import { T as TextMeasurement } from './composition-DWbCiMwF.js';
3
3
  import { LintDiagnostic, LintSeverity } from './lint.js';
4
4
  import './schemas-BSjlG8-R.js';
5
- import './validator-bu396ffT.js';
6
- import './presentation-DRx4hpNZ.js';
5
+ import './validator-DfG9yxba.js';
6
+ import './presentation-DcF-MZcz.js';
7
7
 
8
8
  /** Same three levels as `lintSource`. */
9
9
  type AuditSeverity = LintSeverity;
package/dist/audit.js CHANGED
@@ -1,7 +1,7 @@
1
- export { DEFAULT_AUDIT_THRESHOLDS, DEFAULT_CHART_PALETTE, auditPresentation, auditRules, auditSource, findAuditRule } from './chunk-JENJZR3F.js';
2
- import './chunk-JVTN3HPP.js';
3
- import './chunk-UQKJWHSS.js';
4
- import './chunk-6TSDIPSH.js';
1
+ export { DEFAULT_AUDIT_THRESHOLDS, DEFAULT_CHART_PALETTE, auditPresentation, auditRules, auditSource, findAuditRule } from './chunk-6LZK2IZB.js';
2
+ import './chunk-MWPMJE6P.js';
3
+ import './chunk-JKVKYVWL.js';
4
+ import './chunk-HOBSL7AJ.js';
5
5
  import './chunk-S5W34SIJ.js';
6
- import './chunk-3ZGSWEHK.js';
7
- import './chunk-RVN5C2FX.js';
6
+ import './chunk-E34DJ5LL.js';
7
+ import './chunk-4LAM3N6S.js';
@@ -1,7 +1,7 @@
1
1
  import { a as SchemaName } from './schemas-BSjlG8-R.js';
2
2
 
3
3
  /**
4
- * Schema for audience records in the pptx.gallery library. Each record names an audience archetype (e.g. 'executives', 'engineering-team', 'investors') and carries seniority, technical-fluency, decision-power, and attention-budget hints used by AI-driven generation. Audiences are referenced from OPF documents via audience; the engine resolves the reference against catalogs.audiences (inline) → catalogs.audiences.source → the default catalog at https://www.pptx.gallery/audiences. The audience field also accepts free-form strings; this catalog is for engine-aware audience archetypes that carry generation hints.
4
+ * Schema for audience records in the pptx.gallery library. Each record names an audience archetype (e.g. 'executive', 'engineering-team', 'investor') and carries seniority, technical-fluency, decision-power, and attention-budget hints used by AI-driven generation. Audiences are referenced from OPF documents via audience; the engine resolves the reference against catalogs.audiences (inline) → catalogs.audiences.source → the default catalog at https://www.pptx.gallery/audiences. The audience field also accepts free-form strings; this catalog is for engine-aware audience archetypes that carry generation hints.
5
5
  */
6
6
  interface Audience {
7
7
  /**
@@ -863,7 +863,7 @@ interface Narrative {
863
863
  */
864
864
  description?: string;
865
865
  /**
866
- * Audiences this narrative works well for, e.g. ['executives', 'investors', 'customers'].
866
+ * Audiences this narrative works well for, e.g. ['executive', 'investor', 'customer'].
867
867
  */
868
868
  audienceFit?: string[];
869
869
  /**
@@ -1,2 +1,2 @@
1
- export { a as CatalogEntry, b as CatalogIndex, c as CatalogIndexRecord, C as CatalogKind, d as CatalogRecord, i as audiences, j as catalogEntries, k as catalogIndexes, l as catalogKinds, m as catalogSchemaNames, n as catalogs, o as chartTypes, p as colorSchemes, q as fontSchemes, r as languages, s as layouts, t as narratives, u as purposes, v as socialPlatforms, w as themes, x as tones } from './catalogs-u6TEeMcz.js';
1
+ export { a as CatalogEntry, b as CatalogIndex, c as CatalogIndexRecord, C as CatalogKind, d as CatalogRecord, i as audiences, j as catalogEntries, k as catalogIndexes, l as catalogKinds, m as catalogSchemaNames, n as catalogs, o as chartTypes, p as colorSchemes, q as fontSchemes, r as languages, s as layouts, t as narratives, u as purposes, v as socialPlatforms, w as themes, x as tones } from './catalogs-BnI7JKcn.js';
2
2
  import './schemas-BSjlG8-R.js';
package/dist/catalogs.js CHANGED
@@ -1,2 +1,2 @@
1
1
  import './chunk-S5W34SIJ.js';
2
- export { audiences, catalogEntries, catalogIndexes, catalogKinds, catalogSchemaNames, catalogs, chartTypes, colorSchemes, fontSchemes, languages, layouts, narratives, purposes, socialPlatforms, themes, tones } from './chunk-3ZGSWEHK.js';
2
+ export { audiences, catalogEntries, catalogIndexes, catalogKinds, catalogSchemaNames, catalogs, chartTypes, colorSchemes, fontSchemes, languages, layouts, narratives, purposes, socialPlatforms, themes, tones } from './chunk-E34DJ5LL.js';
@@ -111,12 +111,12 @@ var presentation = {
111
111
  "minItems": 1
112
112
  }
113
113
  ],
114
- "description": "Intended audiences for the presentation. Accepts either:\n- A single string shorthand: free-form description ('Series B investors'), an audiences catalog id ('executives'), an HTTPS URL, or a 'pkg:' reference.\n- An array of string shorthands and/or inline Audience objects for custom audience metadata or catalog-backed overrides. Object form mirrors https://openpresentation.org/schema/opf-audience/v1 without '$schema'.\n\nResolution order for catalog ids and references: inline catalogs.audiences.records[] \u2192 catalogs.audiences.source \u2192 default catalog at https://www.pptx.gallery/audiences.",
114
+ "description": "Intended audiences for the presentation. Accepts either:\n- A single string shorthand: free-form description ('Series B investors'), an audiences catalog id ('executive'), an HTTPS URL, or a 'pkg:' reference.\n- An array of string shorthands and/or inline Audience objects for custom audience metadata or catalog-backed overrides. Object form mirrors https://openpresentation.org/schema/opf-audience/v1 without '$schema'.\n\nResolution order for catalog ids and references: inline catalogs.audiences.records[] \u2192 catalogs.audiences.source \u2192 default catalog at https://www.pptx.gallery/audiences.",
115
115
  "examples": [
116
- "executives",
116
+ "executive",
117
117
  "Biology Students and Wildlife Enthusiasts",
118
118
  [
119
- "executives"
119
+ "executive"
120
120
  ],
121
121
  [
122
122
  "board",
@@ -128,7 +128,7 @@ var presentation = {
128
128
  ],
129
129
  [
130
130
  {
131
- "id": "executives",
131
+ "id": "executive",
132
132
  "attentionBudgetMinutes": 20
133
133
  },
134
134
  {
@@ -486,7 +486,7 @@ Deck-level concerns that aren't part of the storyline (audience, tone, takeaway,
486
486
  "pattern": "^[a-z][a-z0-9-]*$",
487
487
  "description": "Optional audiences catalog id to resolve before applying inline overrides.",
488
488
  "examples": [
489
- "executives",
489
+ "executive",
490
490
  "board",
491
491
  "engineering-team"
492
492
  ]
@@ -1086,9 +1086,9 @@ Deck-level concerns that aren't part of the storyline (audience, tone, takeaway,
1086
1086
  "description": "Audiences this narrative works well for. Free-form strings or 'audiences' catalog ids.",
1087
1087
  "examples": [
1088
1088
  [
1089
- "executives",
1090
- "investors",
1091
- "customers"
1089
+ "executive",
1090
+ "investor",
1091
+ "customer"
1092
1092
  ]
1093
1093
  ]
1094
1094
  },
@@ -5271,7 +5271,7 @@ var audience = {
5271
5271
  "$schema": "https://json-schema.org/draft/2020-12/schema",
5272
5272
  "$id": "https://openpresentation.org/schema/opf-audience/v1",
5273
5273
  "title": "Audience",
5274
- "description": "Schema for audience records in the pptx.gallery library. Each record names an audience archetype (e.g. 'executives', 'engineering-team', 'investors') and carries seniority, technical-fluency, decision-power, and attention-budget hints used by AI-driven generation. Audiences are referenced from OPF documents via audience; the engine resolves the reference against catalogs.audiences (inline) \u2192 catalogs.audiences.source \u2192 the default catalog at https://www.pptx.gallery/audiences. The audience field also accepts free-form strings; this catalog is for engine-aware audience archetypes that carry generation hints.",
5274
+ "description": "Schema for audience records in the pptx.gallery library. Each record names an audience archetype (e.g. 'executive', 'engineering-team', 'investor') and carries seniority, technical-fluency, decision-power, and attention-budget hints used by AI-driven generation. Audiences are referenced from OPF documents via audience; the engine resolves the reference against catalogs.audiences (inline) \u2192 catalogs.audiences.source \u2192 the default catalog at https://www.pptx.gallery/audiences. The audience field also accepts free-form strings; this catalog is for engine-aware audience archetypes that carry generation hints.",
5275
5275
  "type": "object",
5276
5276
  "required": [
5277
5277
  "$schema",
@@ -5289,16 +5289,16 @@ var audience = {
5289
5289
  "pattern": "^[a-z][a-z0-9-]*$",
5290
5290
  "description": "Stable slug used by OPF documents to reference this audience via audience. Lowercase kebab-case.",
5291
5291
  "examples": [
5292
- "executives",
5292
+ "executive",
5293
5293
  "board",
5294
5294
  "engineering-team",
5295
- "investors",
5296
- "customers",
5297
- "sales-team",
5298
- "marketing-team",
5295
+ "investor",
5296
+ "customer",
5297
+ "sales",
5298
+ "marketing",
5299
5299
  "all-hands",
5300
5300
  "candidates",
5301
- "regulators"
5301
+ "regulatory"
5302
5302
  ]
5303
5303
  },
5304
5304
  "name": {
@@ -7001,7 +7001,7 @@ var narrative = {
7001
7001
  "items": {
7002
7002
  "type": "string"
7003
7003
  },
7004
- "description": "Audiences this narrative works well for, e.g. ['executives', 'investors', 'customers']."
7004
+ "description": "Audiences this narrative works well for, e.g. ['executive', 'investor', 'customer']."
7005
7005
  },
7006
7006
  "durationRange": {
7007
7007
  "type": "object",
@@ -1,7 +1,7 @@
1
- import { lintSource } from './chunk-JVTN3HPP.js';
2
- import { validatePresentation } from './chunk-UQKJWHSS.js';
3
- import { chartPaletteForFill, tableGrid, readingRows, visualReadingOrder, visitContentPayloads, intrinsicImageSize, textWidthMeasurer, normalizeHexColor, resolveColorRef, resolveScriptFonts, OPFCompositionError, resolveFontSchemeReference, DEFAULT_FONT_SCHEME, resolveCanvasDimensions, resolveFontFamilies, composeSlide } from './chunk-6TSDIPSH.js';
4
- import { catalogs } from './chunk-3ZGSWEHK.js';
1
+ import { lintSource } from './chunk-MWPMJE6P.js';
2
+ import { validatePresentation } from './chunk-JKVKYVWL.js';
3
+ import { chartPaletteForFill, tableGrid, readingRows, visualReadingOrder, visitContentPayloads, intrinsicImageSize, textWidthMeasurer, normalizeHexColor, resolveColorRef, resolveScriptFonts, OPFCompositionError, resolveFontSchemeReference, DEFAULT_FONT_SCHEME, resolveCanvasDimensions, resolveFontFamilies, composeSlide } from './chunk-HOBSL7AJ.js';
4
+ import { catalogs } from './chunk-E34DJ5LL.js';
5
5
  import { parseTree } from 'jsonc-parser';
6
6
 
7
7
  // src/audit-context.ts
@@ -1,6 +1,6 @@
1
- import { assertValidPresentation } from './chunk-UQKJWHSS.js';
2
- import { DEFAULT_FONT_SCHEME, resolveFontSchemeReference, resolveFontFamilies, resolveCanvasDimensions, composeSlide, tableRowBoundaries, visitContentPayloads, sliceNumberedItems } from './chunk-6TSDIPSH.js';
3
- import { catalogs } from './chunk-3ZGSWEHK.js';
1
+ import { assertValidPresentation } from './chunk-JKVKYVWL.js';
2
+ import { DEFAULT_FONT_SCHEME, resolveFontSchemeReference, resolveFontFamilies, resolveCanvasDimensions, composeSlide, tableRowBoundaries, visitContentPayloads, sliceNumberedItems } from './chunk-HOBSL7AJ.js';
3
+ import { catalogs } from './chunk-E34DJ5LL.js';
4
4
 
5
5
  // src/pagination.ts
6
6
  var OPFPaginationError = class extends Error {
@@ -24,7 +24,11 @@ var audiences = [
24
24
  "tags": [
25
25
  "leadership",
26
26
  "decision-making"
27
- ]
27
+ ],
28
+ "deprecation": {
29
+ "replacedBy": "executive",
30
+ "reason": "Duplicate of 'executive', the id pptx.gallery publishes. Kept so existing documents keep validating and rendering unchanged; use 'executive' in new documents."
31
+ }
28
32
  },
29
33
  {
30
34
  "$schema": "https://openpresentation.org/schema/opf-audience/v1",
@@ -106,7 +110,11 @@ var audiences = [
106
110
  "external",
107
111
  "capital",
108
112
  "fundraising"
109
- ]
113
+ ],
114
+ "deprecation": {
115
+ "replacedBy": "investor",
116
+ "reason": "Duplicate of 'investor', the id pptx.gallery publishes. Kept so existing documents keep validating and rendering unchanged; use 'investor' in new documents."
117
+ }
110
118
  },
111
119
  {
112
120
  "$schema": "https://openpresentation.org/schema/opf-audience/v1",
@@ -133,7 +141,11 @@ var audiences = [
133
141
  "external",
134
142
  "customer",
135
143
  "sales"
136
- ]
144
+ ],
145
+ "deprecation": {
146
+ "replacedBy": "customer",
147
+ "reason": "Duplicate of 'customer', the id pptx.gallery publishes. Kept so existing documents keep validating and rendering unchanged; use 'customer' in new documents."
148
+ }
137
149
  },
138
150
  {
139
151
  "$schema": "https://openpresentation.org/schema/opf-audience/v1",
@@ -160,7 +172,11 @@ var audiences = [
160
172
  "internal",
161
173
  "go-to-market",
162
174
  "enablement"
163
- ]
175
+ ],
176
+ "deprecation": {
177
+ "replacedBy": "sales",
178
+ "reason": "Duplicate of 'sales', the id pptx.gallery publishes. Kept so existing documents keep validating and rendering unchanged; use 'sales' in new documents."
179
+ }
164
180
  },
165
181
  {
166
182
  "$schema": "https://openpresentation.org/schema/opf-audience/v1",
@@ -187,7 +203,11 @@ var audiences = [
187
203
  "internal",
188
204
  "go-to-market",
189
205
  "brand"
190
- ]
206
+ ],
207
+ "deprecation": {
208
+ "replacedBy": "marketing",
209
+ "reason": "Duplicate of 'marketing', the id pptx.gallery publishes. Kept so existing documents keep validating and rendering unchanged; use 'marketing' in new documents."
210
+ }
191
211
  },
192
212
  {
193
213
  "$schema": "https://openpresentation.org/schema/opf-audience/v1",
@@ -269,7 +289,11 @@ var audiences = [
269
289
  "external",
270
290
  "compliance",
271
291
  "policy"
272
- ]
292
+ ],
293
+ "deprecation": {
294
+ "replacedBy": "regulatory",
295
+ "reason": "Duplicate of 'regulatory', the id pptx.gallery publishes. Kept so existing documents keep validating and rendering unchanged; use 'regulatory' in new documents."
296
+ }
273
297
  },
274
298
  {
275
299
  "$schema": "https://openpresentation.org/schema/opf-audience/v1",
@@ -19696,14 +19720,16 @@ var catalogIndexes = {
19696
19720
  "$schema": "https://openpresentation.org/schema/opf-catalog-index/v1",
19697
19721
  "kind": "audiences",
19698
19722
  "version": "1",
19699
- "description": "Catalog of presentation audiences available in the openpresentation.org catalog. Each entry is a lightweight summary; full audience records (seniority, technical fluency, decision power, attention budget, recommended narratives and tones) live in the per-id JSON files alongside this index. Audiences are referenced from OPF documents via audience. The singular ids from executive onward match the audience pages on pptx.gallery and carry its recommendations; they coexist with the older team-shaped archetypes (executives, investors, customers, and so on), and both sets stay valid.",
19700
- "contentSha256": "90ab1b5a3c55ff36ec8c05595a2b0f90a18c108af82c959b33f204f077ee4e51",
19723
+ "description": "Catalog of presentation audiences available in the openpresentation.org catalog. Each entry is a lightweight summary; full audience records (seniority, technical fluency, decision power, attention budget, recommended narratives and tones) live in the per-id JSON files alongside this index. Audiences are referenced from OPF documents via audience. The singular ids from executive onward match the audience pages on pptx.gallery and carry its recommendations. The older plural ids (executives, investors, customers, sales-team, marketing-team, regulators) are deprecated aliases: they stay resolvable for existing documents, point at their singular replacement through replacedBy, and are excluded from default listings.",
19724
+ "contentSha256": "bfb44226b533a2da04c92077eb39c689dde43181e0b9979fb15c247dfaba1f98",
19701
19725
  "records": [
19702
19726
  {
19703
19727
  "id": "executives",
19704
19728
  "name": "Executives",
19705
19729
  "summary": "Senior leaders who need the recommendation up front, the evidence behind it, and the ask.",
19706
- "file": "executives.json"
19730
+ "file": "executives.json",
19731
+ "deprecated": true,
19732
+ "replacedBy": "executive"
19707
19733
  },
19708
19734
  {
19709
19735
  "id": "board",
@@ -19721,25 +19747,33 @@ var catalogIndexes = {
19721
19747
  "id": "investors",
19722
19748
  "name": "Investors",
19723
19749
  "summary": "Capital allocators evaluating fit, traction, and risk-adjusted return.",
19724
- "file": "investors.json"
19750
+ "file": "investors.json",
19751
+ "deprecated": true,
19752
+ "replacedBy": "investor"
19725
19753
  },
19726
19754
  {
19727
19755
  "id": "customers",
19728
19756
  "name": "Customers",
19729
19757
  "summary": "Buyers and users \u2014 outcome-focused, allergic to jargon, sensitive to time.",
19730
- "file": "customers.json"
19758
+ "file": "customers.json",
19759
+ "deprecated": true,
19760
+ "replacedBy": "customer"
19731
19761
  },
19732
19762
  {
19733
19763
  "id": "sales-team",
19734
19764
  "name": "Sales Team",
19735
19765
  "summary": "Quota-carrying reps who want talk tracks, objection handling, and crisp proof.",
19736
- "file": "sales-team.json"
19766
+ "file": "sales-team.json",
19767
+ "deprecated": true,
19768
+ "replacedBy": "sales"
19737
19769
  },
19738
19770
  {
19739
19771
  "id": "marketing-team",
19740
19772
  "name": "Marketing Team",
19741
19773
  "summary": "Brand and demand-gen practitioners aligning on positioning, messaging, and campaigns.",
19742
- "file": "marketing-team.json"
19774
+ "file": "marketing-team.json",
19775
+ "deprecated": true,
19776
+ "replacedBy": "marketing"
19743
19777
  },
19744
19778
  {
19745
19779
  "id": "all-hands",
@@ -19757,7 +19791,9 @@ var catalogIndexes = {
19757
19791
  "id": "regulators",
19758
19792
  "name": "Regulators",
19759
19793
  "summary": "Government, agency, and policy reviewers evaluating compliance, risk, and impact.",
19760
- "file": "regulators.json"
19794
+ "file": "regulators.json",
19795
+ "deprecated": true,
19796
+ "replacedBy": "regulatory"
19761
19797
  },
19762
19798
  {
19763
19799
  "id": "executive",
@@ -1,4 +1,4 @@
1
- import { catalogs } from './chunk-3ZGSWEHK.js';
1
+ import { catalogs } from './chunk-E34DJ5LL.js';
2
2
 
3
3
  // src/table.ts
4
4
  var record = (value) => value && typeof value === "object" && !Array.isArray(value) ? value : {};
@@ -1660,6 +1660,12 @@ var catalogIds = {
1660
1660
  ]
1661
1661
  };
1662
1662
  var deprecatedCatalogIds = {
1663
+ "audiences/executives": "executive",
1664
+ "audiences/investors": "investor",
1665
+ "audiences/customers": "customer",
1666
+ "audiences/sales-team": "sales",
1667
+ "audiences/marketing-team": "marketing",
1668
+ "audiences/regulators": "regulatory",
1663
1669
  "chartTypes/100pct-bullet-bar": "100pct-stacked-bar-3x",
1664
1670
  "chartTypes/100pct-bullet-bar-2x": "100pct-stacked-bar-3x",
1665
1671
  "chartTypes/100pct-bullet-bar-3x": "100pct-stacked-bar-3x",
@@ -1,6 +1,6 @@
1
- import { promotedRegionKeys, isRecord, collectCitations, parseIsoDate, pathFor, MAX_COMPOSITION_DEPTH, visitContentPayloads, tableGrid, numberingFindings, walkCitationRuns, bareIdPattern, catalogIds, deprecatedCatalogIds, resolveChartOptions, chartOptionTarget, formatFurnitureDate } from './chunk-6TSDIPSH.js';
2
- import { catalogSchemaNames } from './chunk-3ZGSWEHK.js';
3
- import { schemas, schemaEntries } from './chunk-RVN5C2FX.js';
1
+ import { promotedRegionKeys, isRecord, collectCitations, parseIsoDate, pathFor, MAX_COMPOSITION_DEPTH, visitContentPayloads, tableGrid, numberingFindings, walkCitationRuns, bareIdPattern, catalogIds, deprecatedCatalogIds, resolveChartOptions, chartOptionTarget, formatFurnitureDate } from './chunk-HOBSL7AJ.js';
2
+ import { catalogSchemaNames } from './chunk-E34DJ5LL.js';
3
+ import { schemas, schemaEntries } from './chunk-4LAM3N6S.js';
4
4
  import Ajv2020 from 'ajv/dist/2020.js';
5
5
  import addFormats from 'ajv-formats';
6
6
 
@@ -1,6 +1,6 @@
1
- import { validatePresentation, unusedReferenceWarnings, validationDefinition, validateCatalogRecord } from './chunk-UQKJWHSS.js';
2
- import { catalogKinds, catalogEntries, catalogSchemaNames } from './chunk-3ZGSWEHK.js';
3
- import { schemas, schemaEntries } from './chunk-RVN5C2FX.js';
1
+ import { validatePresentation, unusedReferenceWarnings, validationDefinition, validateCatalogRecord } from './chunk-JKVKYVWL.js';
2
+ import { catalogKinds, catalogEntries, catalogSchemaNames } from './chunk-E34DJ5LL.js';
3
+ import { schemas, schemaEntries } from './chunk-4LAM3N6S.js';
4
4
  import { parseTree, printParseErrorCode, getNodePath } from 'jsonc-parser';
5
5
 
6
6
  var own = (value, key) => Object.hasOwn(value, key);
@@ -1,4 +1,4 @@
1
- import { validatePresentation } from './chunk-UQKJWHSS.js';
1
+ import { validatePresentation } from './chunk-JKVKYVWL.js';
2
2
 
3
3
  // src/patch.ts
4
4
  var PatchError = class extends Error {
@@ -1,4 +1,4 @@
1
- import { validatePresentation } from './chunk-UQKJWHSS.js';
1
+ import { validatePresentation } from './chunk-JKVKYVWL.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,2 +1,2 @@
1
- export { CAPTIONABLE_FIELDS, CAPTION_FONT_RATIO, CAPTION_MAX_RATIO, CHART_SERIES_MIN_DIFFERENCE, CHART_SERIES_MIN_LIGHTNESS_STEP, CITATION_MARKER_RAISE, CITATION_MARKER_SCALE, DEFAULT_CHART_LABEL_SEPARATOR, DEFAULT_FONT_SCHEME, DEFAULT_FURNITURE_DATE_FORMAT, DEFAULT_SLIDE_NUMBER_FORMAT, FONT_SIZE_GRID_PER_PX, FOOTNOTE_MAX_RATIO, MAX_COMPOSITION_DEPTH, MAX_NUMBERING_LEVELS, MAX_NUMBERING_VALUE, MAX_ROMAN_VALUE, NUMBERING_STYLES, NUMBERING_SUFFIXES, OPFCompositionError, PICTURE_BULLET_SCALE, annotationText, captionSettings, chartColorForFill, chartLabelText, chartOptionSupport, chartOptionTarget, chartPaletteForFill, citationMarkerText, collectCitations, colorContrast, composeSlide, fitList, fitRichText, fitText, formatChartLabelNumber, formatChartLabelPercent, formatFurnitureDate, formatListNumber, formatSlideNumber, layoutCaption, layoutCode, layoutFootnotes, layoutFurniture, layoutMetric, layoutQuote, layoutTable, layoutTimeline, listNumbers, measureText, measureTextOutline, numberingAtLevel, numberingStyleDraws, paragraphDirection, paragraphDirectionAt, physicalAlignment, placeTextLines, referencesSlide, resolveCanvasDimensions, resolveChartOptions, resolveFontFamilies, resolveFontSchemeReference, resolveLogo, resolveNumbering, resolveSocialProfile, resolveTextStyle, sliceNumberedItems, slideCitations, slideImageShape, snapFontSizeDown, snapFontSizeUp, tableGrid, tableRowBoundaries, textColorForFill, textWidthMeasurer, visualReadingOrder, walkCitationRuns, wrapText } from './chunk-6TSDIPSH.js';
2
- import './chunk-3ZGSWEHK.js';
1
+ export { CAPTIONABLE_FIELDS, CAPTION_FONT_RATIO, CAPTION_MAX_RATIO, CHART_SERIES_MIN_DIFFERENCE, CHART_SERIES_MIN_LIGHTNESS_STEP, CITATION_MARKER_RAISE, CITATION_MARKER_SCALE, DEFAULT_CHART_LABEL_SEPARATOR, DEFAULT_FONT_SCHEME, DEFAULT_FURNITURE_DATE_FORMAT, DEFAULT_SLIDE_NUMBER_FORMAT, FONT_SIZE_GRID_PER_PX, FOOTNOTE_MAX_RATIO, MAX_COMPOSITION_DEPTH, MAX_NUMBERING_LEVELS, MAX_NUMBERING_VALUE, MAX_ROMAN_VALUE, NUMBERING_STYLES, NUMBERING_SUFFIXES, OPFCompositionError, PICTURE_BULLET_SCALE, annotationText, captionSettings, chartColorForFill, chartLabelText, chartOptionSupport, chartOptionTarget, chartPaletteForFill, citationMarkerText, collectCitations, colorContrast, composeSlide, fitList, fitRichText, fitText, formatChartLabelNumber, formatChartLabelPercent, formatFurnitureDate, formatListNumber, formatSlideNumber, layoutCaption, layoutCode, layoutFootnotes, layoutFurniture, layoutMetric, layoutQuote, layoutTable, layoutTimeline, listNumbers, measureText, measureTextOutline, numberingAtLevel, numberingStyleDraws, paragraphDirection, paragraphDirectionAt, physicalAlignment, placeTextLines, referencesSlide, resolveCanvasDimensions, resolveChartOptions, resolveFontFamilies, resolveFontSchemeReference, resolveLogo, resolveNumbering, resolveSocialProfile, resolveTextStyle, sliceNumberedItems, slideCitations, slideImageShape, snapFontSizeDown, snapFontSizeUp, tableGrid, tableRowBoundaries, textColorForFill, textWidthMeasurer, visualReadingOrder, walkCitationRuns, wrapText } from './chunk-HOBSL7AJ.js';
2
+ import './chunk-E34DJ5LL.js';
package/dist/convert.js CHANGED
@@ -1,11 +1,11 @@
1
- import { paginatePresentation, OPFPaginationError } from './chunk-32DIB5BN.js';
2
- import { CONTENT_KEYS, isRecord, contentKeysOf, refuse, clone, Loss, isSlideLike, assertValidOwner, report, OPFConversionError, plainOf, assertValidOutput, same, splitRuns, runsOf, lineIsPlain, linePlain, concatText, parseQuoteLines, parseCodeFence, splitWhen, parseListLine, levelsFromIndents, lineValue, joinLines, hasFormatting, fenceCode } from './chunk-4FWCY4ZV.js';
3
- export { OPFConversionError } from './chunk-4FWCY4ZV.js';
4
- import './chunk-UQKJWHSS.js';
5
- import { promotedRegionKeys, visitContentPayloads } from './chunk-6TSDIPSH.js';
1
+ import { paginatePresentation, OPFPaginationError } from './chunk-AUM5MXBR.js';
2
+ import { CONTENT_KEYS, isRecord, contentKeysOf, refuse, clone, Loss, isSlideLike, assertValidOwner, report, OPFConversionError, plainOf, assertValidOutput, same, splitRuns, runsOf, lineIsPlain, linePlain, concatText, parseQuoteLines, parseCodeFence, splitWhen, parseListLine, levelsFromIndents, lineValue, joinLines, hasFormatting, fenceCode } from './chunk-V2537ENL.js';
3
+ export { OPFConversionError } from './chunk-V2537ENL.js';
4
+ import './chunk-JKVKYVWL.js';
5
+ import { promotedRegionKeys, visitContentPayloads } from './chunk-HOBSL7AJ.js';
6
6
  import './chunk-S5W34SIJ.js';
7
- import './chunk-3ZGSWEHK.js';
8
- import './chunk-RVN5C2FX.js';
7
+ import './chunk-E34DJ5LL.js';
8
+ import './chunk-4LAM3N6S.js';
9
9
 
10
10
  // src/convert/tables.ts
11
11
  function cellOf(raw) {
package/dist/diff.js CHANGED
@@ -1,9 +1,9 @@
1
- import { jsonEqual, formatPointer } from './chunk-S667QI3M.js';
2
- import './chunk-UQKJWHSS.js';
3
- import './chunk-6TSDIPSH.js';
1
+ import { jsonEqual, formatPointer } from './chunk-RUC7L5DJ.js';
2
+ import './chunk-JKVKYVWL.js';
3
+ import './chunk-HOBSL7AJ.js';
4
4
  import './chunk-S5W34SIJ.js';
5
- import './chunk-3ZGSWEHK.js';
6
- import './chunk-RVN5C2FX.js';
5
+ import './chunk-E34DJ5LL.js';
6
+ import './chunk-4LAM3N6S.js';
7
7
 
8
8
  // src/diff-match.ts
9
9
  var DEFAULT_MATCH_THRESHOLD = 0.5;