@shbernal/ts-pptx 3.1.0 → 3.2.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 (42) hide show
  1. package/README.md +39 -3
  2. package/dist/browser.d.ts +4 -4
  3. package/dist/browser.js +1 -1
  4. package/dist/{diagnostics-PMINsVP6.d.ts → diagnostics-Chjz_4_Q.d.ts} +4 -4
  5. package/dist/{diagnostics-PMINsVP6.d.ts.map → diagnostics-Chjz_4_Q.d.ts.map} +1 -1
  6. package/dist/{errors-BeUEkNWL.d.ts → errors-BVLCFr-t.d.ts} +2 -2
  7. package/dist/{errors-BeUEkNWL.d.ts.map → errors-BVLCFr-t.d.ts.map} +1 -1
  8. package/dist/html.d.ts +3 -3
  9. package/dist/index.d.ts +4 -4
  10. package/dist/index.js +1 -1
  11. package/dist/inspect.d.ts +1 -1
  12. package/dist/inspect.js +2 -2
  13. package/dist/math.d.ts +1 -1
  14. package/dist/measure.d.ts +2 -2
  15. package/dist/node.d.ts +4 -4
  16. package/dist/node.js +1 -1
  17. package/dist/{pres-BgvxhQ_m.d.ts → pres-C-EU3SkN.d.ts} +2 -2
  18. package/dist/{pres-BgvxhQ_m.d.ts.map → pres-C-EU3SkN.d.ts.map} +1 -1
  19. package/dist/{presentation-BP1B8PCF.js → presentation-CxnUVhK9.js} +100 -24
  20. package/dist/presentation-CxnUVhK9.js.map +1 -0
  21. package/dist/{presentation-DyIRDKkp.d.ts → presentation-Osx1cDdJ.d.ts} +128 -31
  22. package/dist/presentation-Osx1cDdJ.d.ts.map +1 -0
  23. package/dist/read.d.ts +4 -4
  24. package/dist/read.js +2 -2
  25. package/dist/script.d.ts +32 -4
  26. package/dist/script.d.ts.map +1 -1
  27. package/dist/script.js +0 -0
  28. package/dist/script.js.map +1 -1
  29. package/dist/{shapes-DMThLsZN.js → shapes-DoJBPrwN.js} +79 -61
  30. package/dist/shapes-DoJBPrwN.js.map +1 -0
  31. package/dist/{slide-BRAtT8Dl.d.ts → slide-BTfn1Pyp.d.ts} +92 -9
  32. package/dist/slide-BTfn1Pyp.d.ts.map +1 -0
  33. package/dist/{text-B6PbMFih.js → text-C4P9MNdf.js} +157 -77
  34. package/dist/text-C4P9MNdf.js.map +1 -0
  35. package/dist/zip.d.ts +1 -1
  36. package/package.json +5 -2
  37. package/skills/ts-pptx-upstream/SKILL.md +107 -14
  38. package/dist/presentation-BP1B8PCF.js.map +0 -1
  39. package/dist/presentation-DyIRDKkp.d.ts.map +0 -1
  40. package/dist/shapes-DMThLsZN.js.map +0 -1
  41. package/dist/slide-BRAtT8Dl.d.ts.map +0 -1
  42. package/dist/text-B6PbMFih.js.map +0 -1
@@ -1,4 +1,4 @@
1
- import { t as CustomPropertyValue } from "./pres-BgvxhQ_m.js";
1
+ import { t as CustomPropertyValue } from "./pres-C-EU3SkN.js";
2
2
  import { c as ImportSlideMastersOptions, d as LayoutHandle, f as SlideSize, l as ImportSlideOptions, o as FromTemplateOptions, p as SlideSource, r as EmbeddedFontInfo, s as ImportShapeOptions, t as AppendSlidesOptions, u as ImportedSlideMaster } from "./presentation-types-Dj4riuDs.js";
3
3
  import { a as Part, i as Relationships, n as OpcPackage, o as Element, t as OpcInput } from "./package-CaOLXSNi.js";
4
4
  //#region src/read/oxml/theme.d.ts
@@ -1084,13 +1084,41 @@ declare class TextFrame {
1084
1084
  markDirty(): void;
1085
1085
  }
1086
1086
  //#endregion
1087
+ //#region src/read/api/shapes/host.d.ts
1088
+ /** The part-level surface a {@link import('./base.js').Shape} resolves against. */
1089
+ interface ShapeHost {
1090
+ /** The OPC part holding the shape tree (`p:sld` / `p:sldLayout` / `p:sldMaster`). */
1091
+ readonly part: Part;
1092
+ /** Partname of {@link part}. */
1093
+ readonly partName: string;
1094
+ /** The package the host belongs to, for reaching a referenced part (image, chart, …). */
1095
+ readonly opc: OpcPackage;
1096
+ /** {@link part}'s relationships — image embeds, hyperlinks, chart references. */
1097
+ readonly relationships: Relationships;
1098
+ /** The host's resolved colour/font context, backing every `resolved*` getter. */
1099
+ themeContext(): ThemeContext;
1100
+ /** The shape anywhere in this host's tree with the given drawing id, or `undefined`. */
1101
+ shapeByIdDeep(id: number): AnyShape | undefined;
1102
+ }
1103
+ //#endregion
1087
1104
  //#region src/read/api/shapes/base.d.ts
1088
- /** Common base for every shape in a slide's shape tree. */
1105
+ /** Common base for every shape in a shape tree — a slide's, a layout's, or a master's. */
1089
1106
  declare abstract class Shape {
1090
1107
  #private;
1091
1108
  protected readonly element: Element;
1092
- readonly slide: Slide;
1093
- constructor(element: Element, slide: Slide);
1109
+ /**
1110
+ * The part that owns this shape's tree — a `Slide`, a `SlideLayout`, or a
1111
+ * `SlideMaster`. Narrow it with `instanceof` when you need the concrete class;
1112
+ * {@link ShapeHost.partName} tells the tiers apart without one.
1113
+ */
1114
+ readonly host: ShapeHost;
1115
+ constructor(element: Element,
1116
+ /**
1117
+ * The part that owns this shape's tree — a `Slide`, a `SlideLayout`, or a
1118
+ * `SlideMaster`. Narrow it with `instanceof` when you need the concrete class;
1119
+ * {@link ShapeHost.partName} tells the tiers apart without one.
1120
+ */
1121
+ host: ShapeHost);
1094
1122
  /** Which concrete shape kind this is. */
1095
1123
  abstract readonly shapeType: ShapeType;
1096
1124
  /** The transform element (`a:xfrm` or `p:xfrm`) carrying this shape's geometry, or `null` if inherited. */
@@ -1098,7 +1126,7 @@ declare abstract class Shape {
1098
1126
  /** The transform element, creating it (and its container) in document order if absent. */
1099
1127
  protected abstract getOrAddXfrm(): Element;
1100
1128
  /**
1101
- * Mark the owning slide part dirty so `save()` reserializes it. Public
1129
+ * Mark the owning host's part dirty so `save()` reserializes it. Public
1102
1130
  * because {@link element_} hands out the live DOM node: the hatch and the
1103
1131
  * obligation that comes with it belong on the same object.
1104
1132
  */
@@ -1340,20 +1368,20 @@ declare abstract class Shape {
1340
1368
  get lineEnds(): LineEnds | null;
1341
1369
  /**
1342
1370
  * The shape's outer drop shadow (`spPr/a:effectLst/a:outerShdw`), resolved
1343
- * against the slide theme, or `null` when the shape has no outer shadow. The
1371
+ * against the host's theme, or `null` when the shape has no outer shadow. The
1344
1372
  * soft brand shadows the eye reads as "floating" panels live here and are
1345
1373
  * invisible in geometry/fill alone.
1346
1374
  */
1347
1375
  get shadow(): OuterShadow | null;
1348
1376
  /**
1349
1377
  * The shape's **inner** shadow (`spPr/a:effectLst/a:innerShdw`), resolved against
1350
- * the slide theme, or `null` when the shape has no inner shadow. The inset
1378
+ * the host's theme, or `null` when the shape has no inner shadow. The inset
1351
1379
  * counterpart of {@link shadow}: the write-side `shadow: { type: 'inner' }`
1352
1380
  * emits it, and it is invisible in geometry/fill alone.
1353
1381
  */
1354
1382
  get innerShadow(): InnerShadow | null;
1355
1383
  /**
1356
- * The shape's glow halo (`spPr/a:effectLst/a:glow`), resolved against the slide
1384
+ * The shape's glow halo (`spPr/a:effectLst/a:glow`), resolved against the host's
1357
1385
  * theme, or `null` when the shape has no glow. Same element the write-side text
1358
1386
  * glow emits, so its {@link Glow.radiusPt} and colour round-trip.
1359
1387
  */
@@ -1372,7 +1400,7 @@ declare abstract class Shape {
1372
1400
  /**
1373
1401
  * The shape's pattern (hatch) fill (`spPr/a:pattFill`), or `null` when the fill
1374
1402
  * is not a pattern. Surfaces the {@link PatternFill.preset} name and both
1375
- * colours resolved against the slide theme — the pattern counterpart of
1403
+ * colours resolved against the host's theme — the pattern counterpart of
1376
1404
  * {@link resolvedFill}, which reports `null` for a non-solid fill and so drops a
1377
1405
  * hatched surface entirely.
1378
1406
  */
@@ -1388,7 +1416,7 @@ declare abstract class Shape {
1388
1416
  */
1389
1417
  get pictureFill(): PictureFill | null;
1390
1418
  /**
1391
- * The shape's solid fill resolved against the slide's theme
1419
+ * The shape's solid fill resolved against the host's theme
1392
1420
  * ({@link Slide.themeContext}) to a literal hex — the resolved counterpart of
1393
1421
  * {@link fillColor}/{@link fillSchemeColor}, which report the raw reference.
1394
1422
  * `null` when the shape has no `a:solidFill` (a gradient/none/inherited fill)
@@ -1403,7 +1431,7 @@ declare abstract class Shape {
1403
1431
  */
1404
1432
  get resolvedFill(): ResolvedColor | null;
1405
1433
  /**
1406
- * The shape's line/border solid fill resolved against the slide's theme to a
1434
+ * The shape's line/border solid fill resolved against the host's theme to a
1407
1435
  * literal hex — the resolved counterpart of {@link lineColor}/{@link lineSchemeColor}.
1408
1436
  * `null` when the shape has no `a:ln/a:solidFill` or it cannot be made literal.
1409
1437
  * Like {@link resolvedFill}, the result carries `effectiveHex` (the base colour
@@ -1433,8 +1461,8 @@ declare abstract class Shape {
1433
1461
  */
1434
1462
  get placeholder(): PlaceholderRef | null;
1435
1463
  /**
1436
- * Remove this shape from its parent (the slide's shape tree, or an enclosing
1437
- * group) and mark the owning slide part dirty. The proxy is dead afterwards.
1464
+ * Remove this shape from its parent (the host's shape tree, or an enclosing
1465
+ * group) and mark the owning host's part dirty. The proxy is dead afterwards.
1438
1466
  */
1439
1467
  delete(): void;
1440
1468
  /** Escape hatch: the underlying shape element. After mutating it call {@link markDirty}, or `save()` writes the original bytes. */
@@ -1477,12 +1505,12 @@ declare class Picture extends Shape {
1477
1505
  /** Relationship id of the embedded image (`p:blipFill/a:blip/@r:embed`), or `null`. */
1478
1506
  get imageRelId(): string | null;
1479
1507
  /**
1480
- * Repoint the blip at a relationship id already present in the slide's
1508
+ * Repoint the blip at a relationship id already present in the owning part's
1481
1509
  * relationships, without minting a new media part. The caller owns ensuring
1482
1510
  * the id exists and targets an image; use {@link setImage} to add fresh bytes.
1483
1511
  */
1484
1512
  set imageRelId(value: string);
1485
- /** Absolute partname of the embedded image, resolved via the slide's relationships, or `null`. */
1513
+ /** Absolute partname of the embedded image, resolved via the owning part's relationships, or `null`. */
1486
1514
  get imagePartName(): string | null;
1487
1515
  /**
1488
1516
  * Relationship id of the embedded **vector (SVG)** image, read from the
@@ -1493,7 +1521,7 @@ declare class Picture extends Shape {
1493
1521
  * so a reader that wants the real drawn art must consult both.
1494
1522
  */
1495
1523
  get svgRelId(): string | null;
1496
- /** Absolute partname of the embedded SVG image, resolved via the slide's relationships, or `null`. */
1524
+ /** Absolute partname of the embedded SVG image, resolved via the owning part's relationships, or `null`. */
1497
1525
  get svgPartName(): string | null;
1498
1526
  /**
1499
1527
  * Which drawable media this picture carries:
@@ -1548,7 +1576,7 @@ declare class Picture extends Shape {
1548
1576
  /**
1549
1577
  * Replace this picture's image with new bytes. Mints a fresh media part under
1550
1578
  * `/ppt/media/`, registers its content type, wires an `image` relationship
1551
- * from the owning slide, and repoints the blip's `@r:embed` at it.
1579
+ * from the owning part, and repoints the blip's `@r:embed` at it.
1552
1580
  *
1553
1581
  * Copy-on-write: the previous media part is never mutated or removed, so any
1554
1582
  * other picture sharing it (common after `importSlide`/dedup) is unaffected;
@@ -2844,6 +2872,13 @@ declare class Theme {
2844
2872
  * and text style from. Geometry getters read the placeholder's *own* `a:xfrm`,
2845
2873
  * which a master/layout placeholder carries explicitly (so it round-trips, unlike a
2846
2874
  * notes placeholder's inherited geometry).
2875
+ *
2876
+ * This is the identity-and-geometry view. The same `p:sp` also appears in
2877
+ * {@link SlideMaster.shapes} / {@link SlideLayout.shapes} as an `AutoShape`, which
2878
+ * additionally carries the paint surface (`resolvedFill`, `resolvedLine`,
2879
+ * `presetGeometry`, `rotation`, `absoluteFrame`) and reports its `p:ph` through
2880
+ * `AutoShape.placeholder`. Read a placeholder here to *place* it; read it there to
2881
+ * *draw* it.
2847
2882
  */
2848
2883
  declare class Placeholder {
2849
2884
  #private;
@@ -2888,20 +2923,25 @@ declare class Placeholder {
2888
2923
  /**
2889
2924
  * A deck's slide master (`slideMasterN.xml`) as a modeled object. Exposes the
2890
2925
  * property tiers a bound slide inherits: the {@link colorMap} (token → theme slot),
2891
- * its {@link theme}, its {@link placeholders} (with geometry), its own
2892
- * {@link background}, and the {@link layouts} that build on it. Reachable from
2893
- * {@link SlideLayout.master} and `Slide.master`.
2926
+ * its {@link theme}, its {@link shapes} and the {@link placeholders} subset of them,
2927
+ * its own {@link background}, and the {@link layouts} that build on it. Reachable
2928
+ * from {@link SlideLayout.master} and `Slide.master`.
2894
2929
  */
2895
- declare class SlideMaster {
2930
+ declare class SlideMaster implements ShapeHost {
2896
2931
  #private;
2897
- private readonly opc;
2932
+ /** The package the master belongs to, for reaching its layouts, theme, and media. */
2933
+ readonly opc: OpcPackage;
2898
2934
  /** The master's OPC part (`/ppt/slideMasters/slideMasterN.xml`). */
2899
2935
  readonly part: Part;
2900
- constructor(opc: OpcPackage,
2936
+ constructor(
2937
+ /** The package the master belongs to, for reaching its layouts, theme, and media. */
2938
+ opc: OpcPackage,
2901
2939
  /** The master's OPC part (`/ppt/slideMasters/slideMasterN.xml`). */
2902
2940
  part: Part);
2903
2941
  /** Partname of the master part. */
2904
2942
  get partName(): string;
2943
+ /** This master part's relationships (its layouts, its theme, image embeds, …). */
2944
+ get relationships(): Relationships;
2905
2945
  /** The master's authoring name (`p:cSld/@name`), or `''` when unnamed (the writer's default). */
2906
2946
  get name(): string;
2907
2947
  /** The master's theme (via its `theme` relationship), or `null` when absent. */
@@ -2913,6 +2953,18 @@ declare class SlideMaster {
2913
2953
  * A token the map omits reads `null`.
2914
2954
  */
2915
2955
  get colorMap(): Record<ColorMapToken, string | null>;
2956
+ /**
2957
+ * Every shape in the master's `p:cSld/p:spTree`, in document order — the same
2958
+ * `AnyShape` union `Slide.shapes` returns, so shape-walking code applies
2959
+ * unchanged. This is where a template's non-placeholder furniture lives: the
2960
+ * header band, the rule under the title, the logo. Whether a given slide draws
2961
+ * them is `Slide.showMasterSp` (and, for a layout, {@link SlideLayout.showMasterSp}).
2962
+ *
2963
+ * {@link placeholders} is the filtered view of the same tree.
2964
+ */
2965
+ get shapes(): AnyShape[];
2966
+ /** The shape anywhere in the master's tree with the given drawing id, or `undefined`. */
2967
+ shapeByIdDeep(id: number): AnyShape | undefined;
2916
2968
  /** The master's placeholder shapes (`p:sp` carrying a `p:ph`), in document order. */
2917
2969
  get placeholders(): Placeholder[];
2918
2970
  /** The layouts built on this master (via `p:sldLayoutIdLst` → its relationships), in list order. */
@@ -2933,19 +2985,24 @@ declare class SlideMaster {
2933
2985
  * A deck's slide layout (`slideLayoutN.xml`) as a modeled object — the gallery entry
2934
2986
  * a slide binds to. Exposes its {@link name}, its {@link type} (import-only; the
2935
2987
  * writer authors none), its {@link master} (and, through it, the {@link theme}), its
2936
- * {@link placeholders} (with geometry), and its own {@link background}. Reachable
2937
- * from `Slide.layout` and {@link SlideMaster.layouts}.
2988
+ * {@link shapes} and the {@link placeholders} subset of them, and its own
2989
+ * {@link background}. Reachable from `Slide.layout` and {@link SlideMaster.layouts}.
2938
2990
  */
2939
- declare class SlideLayout {
2991
+ declare class SlideLayout implements ShapeHost {
2940
2992
  #private;
2941
- private readonly opc;
2993
+ /** The package the layout belongs to, for reaching its master, theme, and media. */
2994
+ readonly opc: OpcPackage;
2942
2995
  /** The layout's OPC part (`/ppt/slideLayouts/slideLayoutN.xml`). */
2943
2996
  readonly part: Part;
2944
- constructor(opc: OpcPackage,
2997
+ constructor(
2998
+ /** The package the layout belongs to, for reaching its master, theme, and media. */
2999
+ opc: OpcPackage,
2945
3000
  /** The layout's OPC part (`/ppt/slideLayouts/slideLayoutN.xml`). */
2946
3001
  part: Part);
2947
3002
  /** Partname of the layout part. */
2948
3003
  get partName(): string;
3004
+ /** This layout part's relationships (its master, image embeds, hyperlinks, …). */
3005
+ get relationships(): Relationships;
2949
3006
  /** The layout's authoring name (`p:cSld/@name`, e.g. `Title and Content`), or `''` when unnamed. */
2950
3007
  get name(): string;
2951
3008
  /**
@@ -2954,10 +3011,31 @@ declare class SlideLayout {
2954
3011
  * authored deck reads `null`; an imported deck carries PowerPoint's value.
2955
3012
  */
2956
3013
  get type(): string | null;
3014
+ /**
3015
+ * Whether this layout draws the master's non-placeholder shapes
3016
+ * (`p:sldLayout/@showMasterSp`). `xsd:boolean` defaulting to `true`, so an absent
3017
+ * attribute means shown — the layout-tier counterpart of `Slide.showMasterSp`,
3018
+ * and the one PowerPoint actually writes on a section-divider or full-bleed
3019
+ * layout. A renderer resolving what to paint under a slide's own shapes has to
3020
+ * consult both: the slide's flag, then its layout's.
3021
+ */
3022
+ get showMasterSp(): boolean;
2957
3023
  /** The master this layout is built on (via its `slideMaster` relationship), or `null` when absent. */
2958
3024
  get master(): SlideMaster | null;
2959
3025
  /** The theme this layout resolves against, via its {@link master}, or `null`. */
2960
3026
  get theme(): Theme | null;
3027
+ /**
3028
+ * Every shape in the layout's `p:cSld/p:spTree`, in document order — the same
3029
+ * `AnyShape` union `Slide.shapes` returns, so shape-walking code applies
3030
+ * unchanged. The write API authors non-placeholder shapes here: every
3031
+ * `defineSlideMaster({ objects })` member that is not a `placeholder` (a `rect`,
3032
+ * a `line`, an `image`, a `chart`, a `text` box) lands in this tree.
3033
+ *
3034
+ * {@link placeholders} is the filtered view of the same tree.
3035
+ */
3036
+ get shapes(): AnyShape[];
3037
+ /** The shape anywhere in the layout's tree with the given drawing id, or `undefined`. */
3038
+ shapeByIdDeep(id: number): AnyShape | undefined;
2961
3039
  /** The layout's placeholder shapes (`p:sp` carrying a `p:ph`), in document order. */
2962
3040
  get placeholders(): Placeholder[];
2963
3041
  /**
@@ -3060,7 +3138,7 @@ interface AddPictureOptions {
3060
3138
  /** MIME content type (e.g. `image/png`); sniffed alongside `extension` when omitted. */
3061
3139
  contentType?: string;
3062
3140
  }
3063
- declare class Slide {
3141
+ declare class Slide implements ShapeHost {
3064
3142
  #private;
3065
3143
  readonly presentation: Presentation;
3066
3144
  /** The slide's OPC part (`/ppt/slides/slideN.xml`). */
@@ -3089,6 +3167,12 @@ declare class Slide {
3089
3167
  markDirty(): void;
3090
3168
  /** This slide part's relationships (image embeds, layout, hyperlinks, …). */
3091
3169
  get relationships(): Relationships;
3170
+ /**
3171
+ * The deck's OPC package. Convenience for `presentation.opc`, and the member
3172
+ * {@link ShapeHost} names so a shape can reach a referenced part (an image, a
3173
+ * chart) the same way whether it lives on a slide, a layout, or a master.
3174
+ */
3175
+ get opc(): OpcPackage;
3092
3176
  /**
3093
3177
  * The slide's resolved theme context (`clrMap` + `clrScheme` + the theme
3094
3178
  * `fmtScheme` + `fontScheme`, plus the layout/master roots), walked once from
@@ -3117,6 +3201,19 @@ declare class Slide {
3117
3201
  * Marks the slide part dirty.
3118
3202
  */
3119
3203
  set hidden(value: boolean);
3204
+ /**
3205
+ * Whether this slide draws the master's non-placeholder shapes
3206
+ * (`p:sld/@showMasterSp`). `xsd:boolean` defaulting to `true`, so an absent
3207
+ * attribute means shown — the same shape as {@link hidden}.
3208
+ *
3209
+ * This is the switch that decides whether {@link SlideMaster.shapes} belongs on
3210
+ * *this* slide. A slide the author gave a full-bleed image or a section divider
3211
+ * usually sets it to `0`, and a renderer that paints the master's band and logo
3212
+ * anyway puts the template's furniture on top of a slide that deliberately hid
3213
+ * it. Placeholders are unaffected: the flag suppresses only the master's
3214
+ * decorative shapes.
3215
+ */
3216
+ get showMasterSp(): boolean;
3120
3217
  /**
3121
3218
  * The slide's show transition (`p:transition`), decoded into a typed model, or
3122
3219
  * `null` when the slide has none. Handles both PowerPoint forms: the bare
@@ -3690,5 +3787,5 @@ declare class Presentation {
3690
3787
  save(): Promise<Uint8Array>;
3691
3788
  }
3692
3789
  //#endregion
3693
- export { Chart as $, GroupShape as A, Recolor as At, Table as B, PictureFill as Bt, CommentAuthor as C, CustomGeometryPath as Ct, NotesPlaceholder as D, LineEnd as Dt, ModernCommentAuthor as E, InnerShadow as Et, isPicture as F, PatternFill as Ft, TableConditionFlags as G, resolveColorElement as Gt, TableCellBorderEdit as H, GradientFill as Ht, GraphicFrame as I, BackgroundFill as It, ChartExAxis as J, TableCellEdge as K, ColorContext as Kt, CellBorder as L, BackgroundSource as Lt, isConnector as M, Reflection as Mt, isGraphicFrame as N, ShapeType as Nt, NotesSlide as O, LineEnds as Ot, isGroupShape as P, SoftEdge as Pt, AxisNumberFormat as Q, CellBorders as R, SlideBackground as Rt, Comment as S, CustomGeometry as St, ModernComment as T, Glow as Tt, TableRow as U, GradientStop as Ut, TableCell as V, PictureFillTile as Vt, ResolvedTableStyle as W, ResolvedColor as Wt, ChartExLegend as X, ChartExDataLabels as Y, ChartExSeries as Z, ThemeColorSlot as _, RunHyperlink as _t, readCustomProperties as a, ChartSeries as at, Tag as b, ChildFrame as bt, Slide as c, AutoShape as ct, TransitionSpeed as d, BodyProperties as dt, ChartAxis as et, ColorMapToken as f, BulletDetail as ft, Theme as g, Run as gt, SlideMaster as h, Paragraph as ht, readCoreProperties as i, ChartLine as it, isAutoShape as j, RecolorColor as jt, AnyShape as k, OuterShadow as kt, TransitionInfo as l, Shape as lt, SlideLayout as m, LineSpacing as mt, CoreProperties as n, ChartFill as nt, AddPictureOptions as o, Connector as ot, Placeholder as p, BulletStyle as pt, ChartEx as q, CustomProperty as r, ChartLegend as rt, AddTextBoxOptions as s, Picture as st, Presentation as t, ChartDataLabels as tt, TransitionInput as u, AutofitMode as ut, ThemeFontFace as v, TextFrame as vt, CommentSchema as w, GeometryCommand as wt, readTagsForPart as x, ConnectionSite as xt, ThemeFontScheme as y, AbsoluteFrame as yt, CellThreeD as z, FillRect as zt };
3694
- //# sourceMappingURL=presentation-DyIRDKkp.d.ts.map
3790
+ export { Chart as $, GroupShape as A, OuterShadow as At, Table as B, FillRect as Bt, CommentAuthor as C, CustomGeometry as Ct, NotesPlaceholder as D, InnerShadow as Dt, ModernCommentAuthor as E, Glow as Et, isPicture as F, SoftEdge as Ft, TableConditionFlags as G, ResolvedColor as Gt, TableCellBorderEdit as H, PictureFillTile as Ht, GraphicFrame as I, PatternFill as It, ChartExAxis as J, TableCellEdge as K, resolveColorElement as Kt, CellBorder as L, BackgroundFill as Lt, isConnector as M, RecolorColor as Mt, isGraphicFrame as N, Reflection as Nt, NotesSlide as O, LineEnd as Ot, isGroupShape as P, ShapeType as Pt, AxisNumberFormat as Q, CellBorders as R, BackgroundSource as Rt, Comment as S, ConnectionSite as St, ModernComment as T, GeometryCommand as Tt, TableRow as U, GradientFill as Ut, TableCell as V, PictureFill as Vt, ResolvedTableStyle as W, GradientStop as Wt, ChartExLegend as X, ChartExDataLabels as Y, ChartExSeries as Z, ThemeColorSlot as _, Run as _t, readCustomProperties as a, ChartSeries as at, Tag as b, AbsoluteFrame as bt, Slide as c, AutoShape as ct, TransitionSpeed as d, AutofitMode as dt, ChartAxis as et, ColorMapToken as f, BodyProperties as ft, Theme as g, Paragraph as gt, SlideMaster as h, LineSpacing as ht, readCoreProperties as i, ChartLine as it, isAutoShape as j, Recolor as jt, AnyShape as k, LineEnds as kt, TransitionInfo as l, Shape as lt, SlideLayout as m, BulletStyle as mt, CoreProperties as n, ChartFill as nt, AddPictureOptions as o, Connector as ot, Placeholder as p, BulletDetail as pt, ChartEx as q, ColorContext as qt, CustomProperty as r, ChartLegend as rt, AddTextBoxOptions as s, Picture as st, Presentation as t, ChartDataLabels as tt, TransitionInput as u, ShapeHost as ut, ThemeFontFace as v, RunHyperlink as vt, CommentSchema as w, CustomGeometryPath as wt, readTagsForPart as x, ChildFrame as xt, ThemeFontScheme as y, TextFrame as yt, CellThreeD as z, SlideBackground as zt };
3791
+ //# sourceMappingURL=presentation-Osx1cDdJ.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"presentation-Osx1cDdJ.d.ts","names":[],"sources":["../src/read/oxml/theme.ts","../src/read/api/theme-context.ts","../src/read/api/gradient.ts","../src/read/api/picture-fill.ts","../src/read/api/slide-background.ts","../src/read/api/shapes/oxml.ts","../src/read/api/pattern-fill.ts","../src/read/api/shapes/types.ts","../src/read/api/text.ts","../src/read/api/shapes/host.ts","../src/read/api/shapes/base.ts","../src/read/api/shapes/autoshape.ts","../src/read/api/shapes/picture.ts","../src/read/api/shapes/connector.ts","../src/read/api/chart.ts","../src/read/api/chartex.ts","../src/read/api/table-edit.ts","../src/read/api/table-style-resolve.ts","../src/read/api/table.ts","../src/read/api/shapes/graphic-frame.ts","../src/read/api/shapes.ts","../src/read/api/notes.ts","../src/read/api/comments.ts","../src/read/api/tags.ts","../src/read/api/chrome.ts","../src/read/api/transition.ts","../src/read/api/slide.ts","../src/read/api/document-properties.ts","../src/read/api/presentation.ts"],"mappings":";;;;;;;;;;UA8DiB;EAChB,QAAQ;EACR,WAAW;;;;;;;;;;;UAYK,qBAAqB;EACrC,WAAW;;;;;EAKX,aAAa;;;;;EAKb,aAAa;;;;;;;EAOb,aAAa;;;;;;;;;;EAUb,aAAa;;;;;;;;;EASb,mBAAmB;;;;;UCqHH;EAChB;EACA;;;KAmJW;;UAGK;EAChB;EACA;EACA;EACA;EACA,QAAQ;;;;;;;;;;;;;;;UAyCQ;EAChB;EACA;IAAc;IAAc;;EAC5B;EACA;;;;;;;;;iBAUe,oBAAoB,SAAS,gBAAgB,KAAK,eAAe;;UAmDhE;;EAEhB,OAAO;;EAEP;;;;;UCtegB;;EAEhB;;EAEA;;EAEA;;;;;;;;EAQA;;EAEA;;;;;;;;;;;UAYgB;;EAEhB;;EAEA;;EAEA;;EAEA,OAAO;;;;;UChCS;EAChB;EACA;EACA;EACA;;;;;;;UAQgB;;EAEhB;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;;;;;;;;;;;;;UAcgB;;EAEhB;;EAEA;;EAEA;;EAEA,SAAS;;EAET,UAAU;;EAEV,MAAM;;EAEN;;EAEA;;EAEA;;;;;KC1CW;;;;;;;;;;;KAYA;EACP;EAAe,OAAO;;EACtB;EAAkB,UAAU;;EAC5B;EAAe,SAAS;EAAa;EAAsB;;EAC3D;EAAiB;EAAuB,YAAY;EAAsB,YAAY;;EACtF;;;;;;;;;;;KAWO;EACP;EAAe,QAAQ;EAAkB,OAAO;;EAChD;EAAkB,QAAQ;EAAkB,UAAU;;EACtD;EAAe,QAAQ;EAAkB,SAAS;EAAa;EAAsB;;EAEvF;EACA,QAAQ;EACR;EACA,YAAY;EACZ,YAAY;;EAGZ;EACA,QAAQ;EACR;EACA,OAAO;EACP,cAAc;;EAEZ;EAAc,QAAQ;;;;;;;;;UCrCV;EAChB,OAAO;EACP;EACA;;;;;;;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aAAa,SAAS,sBAAsB,QAAQ;;;;;;;;;;;;;;;;;;;;;;;EAmL/E,YAAY,QAAQ,OAAO,QAAQ,OAAO,oBAAoB,UAAS,qBAA0B;;;;;;;;EAiBjG,aAAa,QAAQ,OAAO,QAAQ,OAAO,wBAAwB,UAAS,qBAA0B;;EA0LhG,QAAQ,QAAQ"}
package/dist/read.d.ts CHANGED
@@ -1,8 +1,8 @@
1
- import { t as CustomPropertyValue } from "./pres-BgvxhQ_m.js";
1
+ import { t as CustomPropertyValue } from "./pres-C-EU3SkN.js";
2
2
  import { a as ExtractedSlides, c as ImportSlideMastersOptions, d as LayoutHandle, f as SlideSize, i as ExtractedSlide, l as ImportSlideOptions, n as EmbeddedFontFaceInfo, o as FromTemplateOptions, p as SlideSource, r as EmbeddedFontInfo, s as ImportShapeOptions, t as AppendSlidesOptions, u as ImportedSlideMaster } from "./presentation-types-Dj4riuDs.js";
3
- import { a as TsPptxError, d as InvalidOptionErrorCode, f as MediaErrorCode, h as UnsupportedFeatureErrorCode, i as PackageReadError, l as ErrorCode, m as TsPptxCode, n as InvalidOptionError, o as TsPptxErrorOptions, p as PackageReadErrorCode, r as MediaError, s as UnsupportedFeatureError, t as InternalError, u as InternalErrorCode } from "./errors-BeUEkNWL.js";
3
+ import { a as TsPptxError, d as InvalidOptionErrorCode, f as MediaErrorCode, h as UnsupportedFeatureErrorCode, i as PackageReadError, l as ErrorCode, m as TsPptxCode, n as InvalidOptionError, o as TsPptxErrorOptions, p as PackageReadErrorCode, r as MediaError, s as UnsupportedFeatureError, t as InternalError, u as InternalErrorCode } from "./errors-BVLCFr-t.js";
4
4
  import { a as Part, i as Relationships, n as OpcPackage, r as Relationship, s as ContentTypes, t as OpcInput } from "./package-CaOLXSNi.js";
5
- import { $ as Chart, A as GroupShape, At as Recolor, B as Table, Bt as PictureFill, C as CommentAuthor, Ct as CustomGeometryPath, D as NotesPlaceholder, Dt as LineEnd, E as ModernCommentAuthor, Et as InnerShadow, F as isPicture, Ft as PatternFill, G as TableConditionFlags, Gt as resolveColorElement, H as TableCellBorderEdit, Ht as GradientFill, I as GraphicFrame, It as BackgroundFill, J as ChartExAxis, K as TableCellEdge, Kt as ColorContext, L as CellBorder, Lt as BackgroundSource, M as isConnector, Mt as Reflection, N as isGraphicFrame, Nt as ShapeType, O as NotesSlide, Ot as LineEnds, P as isGroupShape, Pt as SoftEdge, Q as AxisNumberFormat, R as CellBorders, Rt as SlideBackground, S as Comment, St as CustomGeometry, T as ModernComment, Tt as Glow, U as TableRow, Ut as GradientStop, V as TableCell, Vt as PictureFillTile, W as ResolvedTableStyle, Wt as ResolvedColor, X as ChartExLegend, Y as ChartExDataLabels, Z as ChartExSeries, _ as ThemeColorSlot, _t as RunHyperlink, a as readCustomProperties, at as ChartSeries, b as Tag, bt as ChildFrame, c as Slide, ct as AutoShape, d as TransitionSpeed, dt as BodyProperties, et as ChartAxis, f as ColorMapToken, ft as BulletDetail, g as Theme, gt as Run, h as SlideMaster, ht as Paragraph, i as readCoreProperties, it as ChartLine, j as isAutoShape, jt as RecolorColor, k as AnyShape, kt as OuterShadow, l as TransitionInfo, lt as Shape, m as SlideLayout, mt as LineSpacing, n as CoreProperties, nt as ChartFill, o as AddPictureOptions, ot as Connector, p as Placeholder, pt as BulletStyle, q as ChartEx, r as CustomProperty, rt as ChartLegend, s as AddTextBoxOptions, st as Picture, t as Presentation, tt as ChartDataLabels, u as TransitionInput, ut as AutofitMode, v as ThemeFontFace, vt as TextFrame, w as CommentSchema, wt as GeometryCommand, x as readTagsForPart, xt as ConnectionSite, y as ThemeFontScheme, yt as AbsoluteFrame, z as CellThreeD, zt as FillRect } from "./presentation-DyIRDKkp.js";
5
+ import { $ as Chart, A as GroupShape, At as OuterShadow, B as Table, Bt as FillRect, C as CommentAuthor, Ct as CustomGeometry, D as NotesPlaceholder, Dt as InnerShadow, E as ModernCommentAuthor, Et as Glow, F as isPicture, Ft as SoftEdge, G as TableConditionFlags, Gt as ResolvedColor, H as TableCellBorderEdit, Ht as PictureFillTile, I as GraphicFrame, It as PatternFill, J as ChartExAxis, K as TableCellEdge, Kt as resolveColorElement, L as CellBorder, Lt as BackgroundFill, M as isConnector, Mt as RecolorColor, N as isGraphicFrame, Nt as Reflection, O as NotesSlide, Ot as LineEnd, P as isGroupShape, Pt as ShapeType, Q as AxisNumberFormat, R as CellBorders, Rt as BackgroundSource, S as Comment, St as ConnectionSite, T as ModernComment, Tt as GeometryCommand, U as TableRow, Ut as GradientFill, V as TableCell, Vt as PictureFill, W as ResolvedTableStyle, Wt as GradientStop, X as ChartExLegend, Y as ChartExDataLabels, Z as ChartExSeries, _ as ThemeColorSlot, _t as Run, a as readCustomProperties, at as ChartSeries, b as Tag, bt as AbsoluteFrame, c as Slide, ct as AutoShape, d as TransitionSpeed, dt as AutofitMode, et as ChartAxis, f as ColorMapToken, ft as BodyProperties, g as Theme, gt as Paragraph, h as SlideMaster, ht as LineSpacing, i as readCoreProperties, it as ChartLine, j as isAutoShape, jt as Recolor, k as AnyShape, kt as LineEnds, l as TransitionInfo, lt as Shape, m as SlideLayout, mt as BulletStyle, n as CoreProperties, nt as ChartFill, o as AddPictureOptions, ot as Connector, p as Placeholder, pt as BulletDetail, q as ChartEx, qt as ColorContext, r as CustomProperty, rt as ChartLegend, s as AddTextBoxOptions, st as Picture, t as Presentation, tt as ChartDataLabels, u as TransitionInput, ut as ShapeHost, v as ThemeFontFace, vt as RunHyperlink, w as CommentSchema, wt as CustomGeometryPath, x as readTagsForPart, xt as ChildFrame, y as ThemeFontScheme, yt as TextFrame, z as CellThreeD, zt as SlideBackground } from "./presentation-Osx1cDdJ.js";
6
6
  //#region src/read/opc/partnames.d.ts
7
7
  /** Partname of the `.rels` part holding `sourcePartName`'s relationships ('/' = package). */
8
8
  declare function relsPartNameFor(sourcePartName: string): string;
@@ -69,5 +69,5 @@ interface EffectiveColor {
69
69
  */
70
70
  declare function applyColorTransforms(baseHex: string, transforms: ColorTransform[]): EffectiveColor;
71
71
  //#endregion
72
- export { type AbsoluteFrame, type AddPictureOptions, type AddTextBoxOptions, type AnyShape, type AppendSlidesOptions, AutoShape, type AutofitMode, type AxisNumberFormat, type BackgroundFill, type BackgroundSource, type BodyProperties, type BulletDetail, type BulletStyle, type CellBorder, type CellBorders, type CellThreeD, Chart, ChartAxis, type ChartDataLabels, ChartEx, ChartExAxis, type ChartExDataLabels, type ChartExLegend, ChartExSeries, type ChartFill, type ChartLegend, type ChartLine, ChartSeries, type ChildFrame, type ColorContext, type ColorMapToken, type ColorTransform, type Comment, type CommentAuthor, type CommentSchema, type ConnectionSite, Connector, ContentTypes, type CoreProperties, type CustomGeometry, type CustomGeometryPath, type CustomProperty, type CustomPropertyValue, type EffectiveColor, type EmbeddedFontFaceInfo, type EmbeddedFontInfo, type ErrorCode, type ExtractedSlide, type ExtractedSlides, type FillRect, type FromTemplateOptions, type GeometryCommand, type Glow, type GradientFill, type GradientStop, GraphicFrame, GroupShape, type ImportShapeOptions, type ImportSlideMastersOptions, type ImportSlideOptions, type ImportedSlideMaster, type InnerShadow, InternalError, type InternalErrorCode, InvalidOptionError, type InvalidOptionErrorCode, type LayoutHandle, type LineEnd, type LineEnds, type LineSpacing, MediaError, type MediaErrorCode, type ModernComment, type ModernCommentAuthor, NotesPlaceholder, NotesSlide, type OpcInput, OpcPackage, type OuterShadow, PackageReadError, type PackageReadErrorCode, Paragraph, Part, type PatternFill, Picture, type PictureFill, type PictureFillTile, Placeholder, Presentation, type Recolor, type RecolorColor, type Reflection, type Relationship, Relationships, type ResolvedColor, type ResolvedTableStyle, Run, type RunHyperlink, Shape, type ShapeType, Slide, type SlideBackground, SlideLayout, SlideMaster, type SlideSize, type SlideSource, type SoftEdge, Table, TableCell, type TableCellBorderEdit, type TableCellEdge, type TableConditionFlags, TableRow, type Tag, TextFrame, Theme, type ThemeColorSlot, type ThemeFontFace, type ThemeFontScheme, type TransitionInfo, type TransitionInput, type TransitionSpeed, type TsPptxCode, TsPptxError, type TsPptxErrorOptions, UnsupportedFeatureError, type UnsupportedFeatureErrorCode, applyColorTransforms, isAutoShape, isConnector, isGraphicFrame, isGroupShape, isPicture, readCoreProperties, readCustomProperties, readTagsForPart, relsPartNameFor, resolveColorElement, resolveRelativePartName };
72
+ export { type AbsoluteFrame, type AddPictureOptions, type AddTextBoxOptions, type AnyShape, type AppendSlidesOptions, AutoShape, type AutofitMode, type AxisNumberFormat, type BackgroundFill, type BackgroundSource, type BodyProperties, type BulletDetail, type BulletStyle, type CellBorder, type CellBorders, type CellThreeD, Chart, ChartAxis, type ChartDataLabels, ChartEx, ChartExAxis, type ChartExDataLabels, type ChartExLegend, ChartExSeries, type ChartFill, type ChartLegend, type ChartLine, ChartSeries, type ChildFrame, type ColorContext, type ColorMapToken, type ColorTransform, type Comment, type CommentAuthor, type CommentSchema, type ConnectionSite, Connector, ContentTypes, type CoreProperties, type CustomGeometry, type CustomGeometryPath, type CustomProperty, type CustomPropertyValue, type EffectiveColor, type EmbeddedFontFaceInfo, type EmbeddedFontInfo, type ErrorCode, type ExtractedSlide, type ExtractedSlides, type FillRect, type FromTemplateOptions, type GeometryCommand, type Glow, type GradientFill, type GradientStop, GraphicFrame, GroupShape, type ImportShapeOptions, type ImportSlideMastersOptions, type ImportSlideOptions, type ImportedSlideMaster, type InnerShadow, InternalError, type InternalErrorCode, InvalidOptionError, type InvalidOptionErrorCode, type LayoutHandle, type LineEnd, type LineEnds, type LineSpacing, MediaError, type MediaErrorCode, type ModernComment, type ModernCommentAuthor, NotesPlaceholder, NotesSlide, type OpcInput, OpcPackage, type OuterShadow, PackageReadError, type PackageReadErrorCode, Paragraph, Part, type PatternFill, Picture, type PictureFill, type PictureFillTile, Placeholder, Presentation, type Recolor, type RecolorColor, type Reflection, type Relationship, Relationships, type ResolvedColor, type ResolvedTableStyle, Run, type RunHyperlink, Shape, type ShapeHost, type ShapeType, Slide, type SlideBackground, SlideLayout, SlideMaster, type SlideSize, type SlideSource, type SoftEdge, Table, TableCell, type TableCellBorderEdit, type TableCellEdge, type TableConditionFlags, TableRow, type Tag, TextFrame, Theme, type ThemeColorSlot, type ThemeFontFace, type ThemeFontScheme, type TransitionInfo, type TransitionInput, type TransitionSpeed, type TsPptxCode, TsPptxError, type TsPptxErrorOptions, UnsupportedFeatureError, type UnsupportedFeatureErrorCode, applyColorTransforms, isAutoShape, isConnector, isGraphicFrame, isGroupShape, isPicture, readCoreProperties, readCustomProperties, readTagsForPart, relsPartNameFor, resolveColorElement, resolveRelativePartName };
73
73
  //# sourceMappingURL=read.d.ts.map
package/dist/read.js CHANGED
@@ -1,4 +1,4 @@
1
1
  import { a as TsPptxError, i as PackageReadError, n as InvalidOptionError, o as UnsupportedFeatureError, r as MediaError, t as InternalError } from "./errors-Bvln0H-7.js";
2
- import { A as resolveColorElement, C as Paragraph, I as applyColorTransforms, S as Shape, T as TextFrame, _ as ChartAxis, _t as resolveRelativePartName, a as isGraphicFrame, b as Picture, d as TableCell, f as TableRow, g as Chart, gt as relsPartNameFor, h as ChartExSeries, i as isConnector, l as GraphicFrame, m as ChartExAxis, o as isGroupShape, p as ChartEx, r as isAutoShape, s as isPicture, t as GroupShape, u as Table, v as ChartSeries, w as Run, x as AutoShape, y as Connector } from "./shapes-DMThLsZN.js";
3
- import { a as Placeholder, c as Theme, d as NotesSlide, f as OpcPackage, h as ContentTypes, i as Slide, l as readTagsForPart, m as Part, n as readCoreProperties, o as SlideLayout, p as Relationships, r as readCustomProperties, s as SlideMaster, t as Presentation, u as NotesPlaceholder } from "./presentation-BP1B8PCF.js";
2
+ import { C as Shape, E as TextFrame, L as applyColorTransforms, S as AutoShape, T as Run, _ as Chart, _t as relsPartNameFor, a as isConnector, b as Connector, c as isPicture, d as Table, f as TableCell, g as ChartExSeries, h as ChartExAxis, i as isAutoShape, j as resolveColorElement, m as ChartEx, o as isGraphicFrame, p as TableRow, s as isGroupShape, t as GroupShape, u as GraphicFrame, v as ChartAxis, vt as resolveRelativePartName, w as Paragraph, x as Picture, y as ChartSeries } from "./shapes-DoJBPrwN.js";
3
+ import { a as Placeholder, c as Theme, d as NotesSlide, f as OpcPackage, h as ContentTypes, i as Slide, l as readTagsForPart, m as Part, n as readCoreProperties, o as SlideLayout, p as Relationships, r as readCustomProperties, s as SlideMaster, t as Presentation, u as NotesPlaceholder } from "./presentation-CxnUVhK9.js";
4
4
  export { AutoShape, Chart, ChartAxis, ChartEx, ChartExAxis, ChartExSeries, ChartSeries, Connector, ContentTypes, GraphicFrame, GroupShape, InternalError, InvalidOptionError, MediaError, NotesPlaceholder, NotesSlide, OpcPackage, PackageReadError, Paragraph, Part, Picture, Placeholder, Presentation, Relationships, Run, Shape, Slide, SlideLayout, SlideMaster, Table, TableCell, TableRow, TextFrame, Theme, TsPptxError, UnsupportedFeatureError, applyColorTransforms, isAutoShape, isConnector, isGraphicFrame, isGroupShape, isPicture, readCoreProperties, readCustomProperties, readTagsForPart, relsPartNameFor, resolveColorElement, resolveRelativePartName };
package/dist/script.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { a as TsPptxError, d as InvalidOptionErrorCode, f as MediaErrorCode, h as UnsupportedFeatureErrorCode, i as PackageReadError, l as ErrorCode, m as TsPptxCode, n as InvalidOptionError, o as TsPptxErrorOptions, p as PackageReadErrorCode, r as MediaError, s as UnsupportedFeatureError, t as InternalError, u as InternalErrorCode } from "./errors-BeUEkNWL.js";
2
- import { t as Presentation } from "./presentation-DyIRDKkp.js";
1
+ import { a as TsPptxError, d as InvalidOptionErrorCode, f as MediaErrorCode, h as UnsupportedFeatureErrorCode, i as PackageReadError, l as ErrorCode, m as TsPptxCode, n as InvalidOptionError, o as TsPptxErrorOptions, p as PackageReadErrorCode, r as MediaError, s as UnsupportedFeatureError, t as InternalError, u as InternalErrorCode } from "./errors-BVLCFr-t.js";
2
+ import { t as Presentation } from "./presentation-Osx1cDdJ.js";
3
3
  //#region src/script/fidelity.d.ts
4
4
  /**
5
5
  * Fidelity notes — the declared, machine-checkable list of what a deck loses on the way
@@ -66,6 +66,25 @@ interface FidelityNote {
66
66
  /** Why, in a sentence, for a human reading the emitted script's header. */
67
67
  detail: string;
68
68
  }
69
+ /**
70
+ * Namespace for a loss recorded against a shape on a **slide layout** rather than on a slide,
71
+ * prepended to the construct by {@link layoutShapeScope}.
72
+ *
73
+ * The chrome mapper reuses the slide shape mapper wholesale — a rectangle on a layout is
74
+ * transcribed by the same code that transcribes one on a slide, which is what keeps the two
75
+ * from drifting. That sharing brings the slide vocabulary with it: a themed outline on a
76
+ * layout records `line.width` exactly as a slide's would. Left unmarked, those notes would be
77
+ * wrong twice over. A template-anchored script would report them, though it never rebuilds a
78
+ * layout and loses nothing; and the round trip would let one excuse a *slide* difference,
79
+ * because a layout note carries no slide number and a name like "Rectangle 7" repeats between
80
+ * the tiers. The prefix keeps the shared vocabulary and states which tier it is about.
81
+ *
82
+ * `layout.` rather than `master.`, which is how the other chrome constructs are spelled: those
83
+ * are named after the `defineSlideMaster` call that authors them, while these name the source
84
+ * tier the loss is on — and a master's own decoration is not re-authored at all, so a note
85
+ * under this prefix is always about a layout.
86
+ */
87
+ declare const LAYOUT_NOTE_PREFIX = "layout.";
69
88
  //#endregion
70
89
  //#region src/script/ir.d.ts
71
90
  /**
@@ -537,7 +556,11 @@ interface RoundTripReport {
537
556
  */
538
557
  unmatchedNotes: FidelityNote[];
539
558
  }
540
- /** Every note construct this table knows how to match, for a test to check against. */
559
+ /**
560
+ * Every note construct this table knows how to match, for a test to check against. The
561
+ * `layout.` spellings are not listed — they resolve through {@link isKnownNoteConstruct},
562
+ * which is what a corpus check should use.
563
+ */
541
564
  declare function knownNoteConstructs(): string[];
542
565
  /**
543
566
  * Compare the deck a script was generated from against the deck it produced.
@@ -548,6 +571,11 @@ declare function knownNoteConstructs(): string[];
548
571
  * IR's own list would both over- and under-exclude.
549
572
  */
550
573
  declare function diffDeckIr(expected: CanonicalDeck, actual: CanonicalDeck, notes: FidelityNote[]): RoundTripReport;
574
+ /**
575
+ * `true` when the coverage table can match this construct — directly or through the
576
+ * layout-shape fallback. The check a corpus test runs over every note both printers emit.
577
+ */
578
+ declare function isKnownNoteConstruct(construct: string): boolean;
551
579
  //#endregion
552
- export { type AssetIr, type AssetMode, type AssetRef, type BackgroundIr, type CallIr, type CanonicalCall, type CanonicalChrome, type CanonicalDeck, type CanonicalSlide, type Cause, type ChromeIr, type DeckIr, type DeckPropsIr, type DifferenceKind, type Disposition, type ErrorCode, type FidelityNote, InternalError, type InternalErrorCode, InvalidOptionError, type InvalidOptionErrorCode, type IrDifference, type IrValue, type MasterIr, MediaError, type MediaErrorCode, PackageReadError, type PackageReadErrorCode, type PrintScriptOptions, type PrintStandaloneScriptOptions, type PrintedScript, type RoundTripReport, type SlideIr, type SlideLayoutIr, type SlideSource, type ThemeIr, type TransitionIr, type TransitionSoundIr, type TsPptxCode, TsPptxError, type TsPptxErrorOptions, UnsupportedFeatureError, type UnsupportedFeatureErrorCode, canonicalDeckIr, diffDeckIr, isAssetRef, knownNoteConstructs, printScript, printStandaloneScript, readModelToIr };
580
+ export { type AssetIr, type AssetMode, type AssetRef, type BackgroundIr, type CallIr, type CanonicalCall, type CanonicalChrome, type CanonicalDeck, type CanonicalSlide, type Cause, type ChromeIr, type DeckIr, type DeckPropsIr, type DifferenceKind, type Disposition, type ErrorCode, type FidelityNote, InternalError, type InternalErrorCode, InvalidOptionError, type InvalidOptionErrorCode, type IrDifference, type IrValue, LAYOUT_NOTE_PREFIX, type MasterIr, MediaError, type MediaErrorCode, PackageReadError, type PackageReadErrorCode, type PrintScriptOptions, type PrintStandaloneScriptOptions, type PrintedScript, type RoundTripReport, type SlideIr, type SlideLayoutIr, type SlideSource, type ThemeIr, type TransitionIr, type TransitionSoundIr, type TsPptxCode, TsPptxError, type TsPptxErrorOptions, UnsupportedFeatureError, type UnsupportedFeatureErrorCode, canonicalDeckIr, diffDeckIr, isAssetRef, isKnownNoteConstruct, knownNoteConstructs, printScript, printStandaloneScript, readModelToIr };
553
581
  //# sourceMappingURL=script.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"script.d.ts","names":[],"sources":["../src/script/fidelity.ts","../src/script/ir.ts","../src/script/from-read/deck.ts","../src/script/print/common.ts","../src/script/print/script.ts","../src/script/print/standalone.ts","../src/script/verify/canonical.ts","../src/script/verify/diff.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;KAoBY;;;;;;;;;;;;;;;;;;;;;KAsBA;;;;;;;;UASK;;EAEhB;;EAEA;;;;;;;EAOA;EACA,aAAa;EACb,OAAO;;EAEP;;;;;;;;;;;;;UC7BgB;EAChB;;;iBAIe,WAAW,iBAAiB,SAAS;;;;;;;KAUzC,6CAA6C,WAAW;GAAe,cAAc;;;UAmBhF;;EAEhB;;EAEA;EACA,OAAO;;;;;;;;;;UAWS;EAChB;EACA,MAAM;;;;;EAKN;;;;;;;;;;;;;;;;;;;;KAqBW;;;;;;;;UASK;EAChB;EACA;EACA,OAAO;;;;;;;;;;UAWS;;EAEhB,OAAO;;EAEP;;EAEA;;EAEA;;;;;;;;;;;;;UAcgB;;EAEhB;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;KAAa;;EACb,QAAQ;;;;;;;;;;;;;UAcQ;;EAEhB;;EAEA;;EAEA;;;UAIgB;;EAEhB;EACA,QAAQ;;EAER,QAAQ;;EAER;;EAEA;EACA,aAAa;;EAEb;;;;;;EAMA,aAAa;;;;;;;;;EASb,OAAO;;;;;;;;;;UAWS;EAChB;EACA;EACA;EACA;EACA;EACA;;EAEA;KAAiB;;;;;;;;;;UAUD;;;;;EAKhB;;;;;;EAMA;KAAU,cAAc;;;;;;;UAOR;EAChB,OAAO;;EAEP,SAAS;;;UAIO;EAChB;EACA;EACA;EACA;EACA;;;;;;;;;UAUgB;EAChB;IAAa;IAAkB;;EAC/B,OAAO;;;;;EAKP,QAAQ;EACR,QAAQ;EACR,QAAQ;;;;;;;EAOR,UAAU;;;;;iBCvNK,cAAc,MAAM,eAAe;;;;KC5EvC;;;;;UAMK;;EAEhB;;;;;;EAMA,QAAQ,YAAY;;;;;;EAMpB,OAAO;;;;UCQS;;;;;;EAMhB;;EAEA;;EAEA;;EAEA,SAAS;;;;;;;EAOT;;;iBAyCe,YAAY,IAAI,QAAQ,UAAS,qBAA0B;;;UCnE1D;;EAEhB;;EAEA;;EAEA,SAAS;;;;;;EAMT;;;iBAkBe,sBAAsB,IAAI,QAAQ,UAAS,+BAAoC;;;;UC7C9E;EAChB;;EAEA;;;;;;;;;;EAUA;EACA,MAAM;;UAGU;EAChB;EACA;;;;;;;;;;EAUA;EACA,YAAY;EACZ;;;;;;;;;;;EAWA,YAAY;EACZ,OAAO;;;;;;;;;;;;UAaS;EAChB,OAAO;;EAEP,SAAS;;UAGO;EAChB;IAAa;IAAkB;;;EAE/B,OAAO;EACP,QAAQ;EACR,QAAQ;;;iBAoDO,gBAAgB,IAAI,SAAS;;;;;;;;;;;;;KC9FjC;UAsDK;;EAEhB;;EAEA;;;;;EAKA;;EAEA;;;;;;;EAOA;EACA,MAAM;;EAEN;;EAEA;;EAEA,YAAY;;UAGI;EAChB;;EAEA,aAAa;;;;;EAKb,YAAY;;EAEZ,UAAU;;EAEV,OAAO;;;;;;;;;EASP,gBAAgB;;;iBAsKD;;;;;;;;;iBAYA,WAAW,UAAU,eAAe,QAAQ,eAAe,OAAO,iBAAiB"}
1
+ {"version":3,"file":"script.d.ts","names":[],"sources":["../src/script/fidelity.ts","../src/script/ir.ts","../src/script/from-read/deck.ts","../src/script/print/common.ts","../src/script/print/script.ts","../src/script/print/standalone.ts","../src/script/verify/canonical.ts","../src/script/verify/diff.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;KAoBY;;;;;;;;;;;;;;;;;;;;;KAsBA;;;;;;;;UASK;;EAEhB;;EAEA;;;;;;;EAOA;EACA,aAAa;EACb,OAAO;;EAEP;;;;;;;;;;;;;;;;;;;;cAkDY;;;;;;;;;;;;UC/EI;EAChB;;;iBAIe,WAAW,iBAAiB,SAAS;;;;;;;KAUzC,6CAA6C,WAAW;GAAe,cAAc;;;UAmBhF;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