@shbernal/ts-pptx 3.2.0 → 3.4.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 (77) hide show
  1. package/README.md +19 -20
  2. package/dist/{autopage-QQyfRtoK.js → autopage-BYlTzX-l.js} +21 -17
  3. package/dist/autopage-BYlTzX-l.js.map +1 -0
  4. package/dist/browser.d.ts +6 -6
  5. package/dist/browser.js +11 -12
  6. package/dist/browser.js.map +1 -1
  7. package/dist/{diagnostics-Chjz_4_Q.d.ts → diagnostics-B0OmTOoz.d.ts} +65 -16
  8. package/dist/diagnostics-B0OmTOoz.d.ts.map +1 -0
  9. package/dist/{diagnostics-DYQC7xLV.js → diagnostics-CPVADSL1.js} +0 -0
  10. package/dist/{diagnostics-DYQC7xLV.js.map → diagnostics-CPVADSL1.js.map} +1 -1
  11. package/dist/{enums-CoXnxiCI.d.ts → enums-CvRYniUA.d.ts} +13 -3
  12. package/dist/{enums-CoXnxiCI.d.ts.map → enums-CvRYniUA.d.ts.map} +1 -1
  13. package/dist/{errors-BVLCFr-t.d.ts → errors-fB1KDJKQ.d.ts} +5 -5
  14. package/dist/{errors-BVLCFr-t.d.ts.map → errors-fB1KDJKQ.d.ts.map} +1 -1
  15. package/dist/{fit-DhMbQG5O.js → fit-TjpNbMru.js} +0 -0
  16. package/dist/fit-TjpNbMru.js.map +1 -0
  17. package/dist/{html-dom-DajBuobe.js → html-dom-yUSdCExA.js} +5 -6
  18. package/dist/html-dom-yUSdCExA.js.map +1 -0
  19. package/dist/html.d.ts +3 -3
  20. package/dist/html.js +1 -1
  21. package/dist/index.d.ts +6 -6
  22. package/dist/index.js +16 -34
  23. package/dist/index.js.map +1 -1
  24. package/dist/inspect.d.ts +1 -1
  25. package/dist/inspect.js +5 -4
  26. package/dist/inspect.js.map +1 -1
  27. package/dist/math.d.ts +1 -1
  28. package/dist/measure.d.ts +96 -6
  29. package/dist/measure.d.ts.map +1 -1
  30. package/dist/measure.js +2 -2
  31. package/dist/{st-enums-evQG2A7Z.js → namespaces-Sy_m7Nhd.js} +318 -209
  32. package/dist/namespaces-Sy_m7Nhd.js.map +1 -0
  33. package/dist/node.d.ts +6 -6
  34. package/dist/node.js +7 -20
  35. package/dist/node.js.map +1 -1
  36. package/dist/notes-bWApshah.js +1727 -0
  37. package/dist/notes-bWApshah.js.map +1 -0
  38. package/dist/{pres-C-EU3SkN.d.ts → pres-Dybf7ZUl.d.ts} +4 -4
  39. package/dist/{pres-C-EU3SkN.d.ts.map → pres-Dybf7ZUl.d.ts.map} +1 -1
  40. package/dist/{presentation-CxnUVhK9.js → presentation-3rAKKRfm.js} +1247 -743
  41. package/dist/presentation-3rAKKRfm.js.map +1 -0
  42. package/dist/{presentation-Osx1cDdJ.d.ts → presentation-types-D7cgT-eG.d.ts} +867 -24
  43. package/dist/presentation-types-D7cgT-eG.d.ts.map +1 -0
  44. package/dist/read.d.ts +4 -5
  45. package/dist/read.d.ts.map +1 -1
  46. package/dist/read.js +3 -3
  47. package/dist/script.d.ts +2 -2
  48. package/dist/script.d.ts.map +1 -1
  49. package/dist/script.js +0 -0
  50. package/dist/script.js.map +1 -1
  51. package/dist/{shapes-DoJBPrwN.js → shapes-Dyw5bxwO.js} +371 -52
  52. package/dist/shapes-Dyw5bxwO.js.map +1 -0
  53. package/dist/{slide-BTfn1Pyp.d.ts → slide-B_aInw3N.d.ts} +246 -182
  54. package/dist/slide-B_aInw3N.d.ts.map +1 -0
  55. package/dist/{text-C4P9MNdf.js → text-DSN3anEh.js} +3609 -4932
  56. package/dist/text-DSN3anEh.js.map +1 -0
  57. package/dist/{units-internal-CR8s8YQa.js → units-internal-DNvK2I6o.js} +207 -35
  58. package/dist/units-internal-DNvK2I6o.js.map +1 -0
  59. package/dist/zip.d.ts +2 -2
  60. package/package.json +36 -27
  61. package/dist/autopage-QQyfRtoK.js.map +0 -1
  62. package/dist/diagnostics-Chjz_4_Q.d.ts.map +0 -1
  63. package/dist/embedded-fonts-MaynAHa9.js +0 -94
  64. package/dist/embedded-fonts-MaynAHa9.js.map +0 -1
  65. package/dist/fit-DhMbQG5O.js.map +0 -1
  66. package/dist/html-dom-DajBuobe.js.map +0 -1
  67. package/dist/presentation-CxnUVhK9.js.map +0 -1
  68. package/dist/presentation-Osx1cDdJ.d.ts.map +0 -1
  69. package/dist/presentation-types-Dj4riuDs.d.ts +0 -538
  70. package/dist/presentation-types-Dj4riuDs.d.ts.map +0 -1
  71. package/dist/shapes-DoJBPrwN.js.map +0 -1
  72. package/dist/slide-BTfn1Pyp.d.ts.map +0 -1
  73. package/dist/st-enums-evQG2A7Z.js.map +0 -1
  74. package/dist/text-C4P9MNdf.js.map +0 -1
  75. package/dist/units-C7QM1KgH.js +0 -144
  76. package/dist/units-C7QM1KgH.js.map +0 -1
  77. package/dist/units-internal-CR8s8YQa.js.map +0 -1
@@ -1,8 +1,190 @@
1
- import { _ as TextAnchor, f as SHAPE_NAME, g as TableStyle, h as SlideObjectType, i as CHART_NAME, l as PLACEHOLDER_TYPE, t as AlignH } from "./enums-CoXnxiCI.js";
1
+ import { _ as TextAnchor, f as SHAPE_NAME, g as TableStyle, h as SlideObjectType, i as CHART_NAME, l as PLACEHOLDER_TYPE, t as AlignH } from "./enums-CvRYniUA.js";
2
+ //#region src/types/shape.d.ts
3
+ /**
4
+ * A single preset-geometry adjustment guide (`<a:gd>` inside `<a:avLst>`).
5
+ * - `name` is the guide name the preset defines, e.g. `'adj'`, `'adj1'`, `'adj2'`.
6
+ * PowerPoint shows these handles as the yellow drag dots on a selected shape.
7
+ * - `value` is a fraction `0.0–1.0` of the handle's range, emitted as a percentage
8
+ * guide formula (`val`, in 1/100000 units, so `0.25` → `fmla="val 25000"`).
9
+ * Most adjustment handles (corner radius, chevron point, callout depth, bevel
10
+ * width, …) are percentage-based and map directly; some shapes accept values
11
+ * beyond `1.0`. For angle-based handles, prefer the `angleRange` shortcut.
12
+ */
13
+ interface ShapeAdjustValue {
14
+ name: string;
15
+ value: number;
16
+ }
17
+ /**
18
+ * A geometry guide (`<a:gd>` inside a `custGeom`'s `<a:gdLst>`): a named construction formula
19
+ * that connection sites, adjust handles, and the text rect can reference by name.
20
+ * - `name` is a `ST_GeomGuideName` token, e.g. `'w2'`.
21
+ * - `formula` is a `ST_GeomGuideFormula` — a space-delimited op + args string emitted verbatim,
22
+ * e.g. the multiply-divide op `"* / w 1 2"` written without the inner space (w × 1 ÷ 2), or
23
+ * `'val 10800'`. This is an advanced escape hatch: the arguments are not interpreted, only
24
+ * escaped. The leading operation *is* checked against the 17 ECMA-376 §20.1.9.11 operations
25
+ * (multiply-divide, add-subtract, add-divide, if-else, `abs`, `at2`, `cat2`, `cos`, `max`,
26
+ * `min`, `mod`, `pin`, `sat2`, `sin`, `sqrt`, `tan`, `val` — see `GEOM_GUIDE_OPS` in
27
+ * `src/gen/drawingml/geometry.ts` for the literal tokens), because an unknown one emits
28
+ * schema-shaped but semantically dead geometry that PowerPoint answers with a repair prompt;
29
+ * such a guide is warned about and skipped.
30
+ * @see http://www.datypic.com/sc/ooxml/e-a_gd-1.html
31
+ */
32
+ interface ShapeGuide {
33
+ name: string;
34
+ formula: string;
35
+ }
36
+ /**
37
+ * A connection site (`<a:cxn>` inside a `custGeom`'s `<a:cxnLst>`): a point a connector can attach
38
+ * to. A connector's `startShapeIdx`/`endShapeIdx` index into the target shape's connection sites.
39
+ */
40
+ interface ShapeConnectionSite {
41
+ /** Incoming-connector angle in degrees (emitted to `ang`, `ST_AdjAngle` 60000ths). */
42
+ ang: number;
43
+ /** X in the object's own space (like `points`), or a guide-name string emitted verbatim. */
44
+ x: Coord | string;
45
+ /** Y in the object's own space (like `points`), or a guide-name string emitted verbatim. */
46
+ y: Coord | string;
47
+ }
48
+ /** An XY adjust handle (`<a:ahXY>`) — a draggable handle, optionally bound to guides. */
49
+ interface ShapeAdjustHandleXY {
50
+ x: Coord | string;
51
+ y: Coord | string;
52
+ gdRefX?: string;
53
+ minX?: Coord | string;
54
+ maxX?: Coord | string;
55
+ gdRefY?: string;
56
+ minY?: Coord | string;
57
+ maxY?: Coord | string;
58
+ }
59
+ /** A polar adjust handle (`<a:ahPolar>`) — radius/angle rather than XY. */
60
+ interface ShapeAdjustHandlePolar {
61
+ x: Coord | string;
62
+ y: Coord | string;
63
+ gdRefR?: string;
64
+ minR?: Coord | string;
65
+ maxR?: Coord | string;
66
+ gdRefAng?: string;
67
+ minAng?: number;
68
+ maxAng?: number;
69
+ }
70
+ type ShapeAdjustHandle = ShapeAdjustHandleXY | ShapeAdjustHandlePolar;
71
+ interface ShapeProps extends PositionProps, ObjectNameProps {
72
+ /**
73
+ * Horizontal alignment
74
+ * @default 'left'
75
+ */
76
+ align?: HAlign;
77
+ /**
78
+ * Radius (only for ShapeType.pie, ShapeType.arc, ShapeType.blockArc)
79
+ * - In the case of ShapeType.blockArc you have to setup the arcThicknessRatio
80
+ * - values: [0-359, 0-359]
81
+ * @default [270, 0]
82
+ */
83
+ angleRange?: [number, number];
84
+ /**
85
+ * Preset-geometry adjustment handles (`<a:avLst>` guides) for any preset shape.
86
+ * - Use this to tune adjustment handles that lack a dedicated shortcut option,
87
+ * e.g. chevron/arrow point depth, callout pointer, bevel/frame thickness.
88
+ * - Accepts a single guide or an array; each `value` is a `0.0–1.0` fraction of
89
+ * the handle's range (see {@link ShapeAdjustValue}).
90
+ * - `rectRadius` / `angleRange` remain friendly shortcuts; any `shapeAdjust`
91
+ * guide that does not collide with a shortcut name is emitted in addition.
92
+ * @example { name: 'adj', value: 0.25 } // set the single adjust handle to 25%
93
+ * @example [{ name: 'adj1', value: 0.5 }, { name: 'adj2', value: 0.25 }] // two handles
94
+ */
95
+ shapeAdjust?: ShapeAdjustValue | ShapeAdjustValue[];
96
+ /**
97
+ * Radius (only for ShapeType.blockArc)
98
+ * - You have to setup the angleRange values too
99
+ * - values: 0.0-1.0
100
+ * @default 0.5
101
+ */
102
+ arcThicknessRatio?: number;
103
+ /**
104
+ * Shape fill color properties
105
+ * @example { color:'FF0000' } // hex color (red)
106
+ * @example { color:'0088CC', transparency:50 } // hex color, 50% transparent
107
+ * @example { color:SchemeColor.accent1 } // Theme color Accent1
108
+ */
109
+ fill?: ShapeFillProps;
110
+ /**
111
+ * Flip shape horizontally?
112
+ * @default false
113
+ */
114
+ flipH?: boolean;
115
+ /**
116
+ * Flip shape vertical?
117
+ * @default false
118
+ */
119
+ flipV?: boolean;
120
+ /**
121
+ * Add hyperlink to shape
122
+ * @example hyperlink: { url: "https://example.com", tooltip: "Visit Homepage" },
123
+ */
124
+ hyperlink?: HyperlinkProps;
125
+ /**
126
+ * Line options
127
+ */
128
+ line?: ShapeLineProps;
129
+ /**
130
+ * Points (only for ShapeType.custGeom)
131
+ * - type: 'arc' (no end point — it is computed from the pen position, radii and sweep)
132
+ * - `hR` Shape Arc Height Radius
133
+ * - `wR` Shape Arc Width Radius
134
+ * - `stAng` Shape Arc Start Angle (degrees, not wrapped into 0..360)
135
+ * - `swAng` Shape Arc Swing Angle (degrees, not wrapped into 0..360)
136
+ * @see http://www.datypic.com/sc/ooxml/e-a_arcTo-1.html
137
+ * @example [{ x: 0, y: 0 }, { x: 10, y: 10 }] // draw a line between those two points
138
+ */
139
+ points?: GeometryPoint[];
140
+ /**
141
+ * Geometry guides (`<a:gdLst>`) for a `custGeom` shape — named construction formulas that
142
+ * connection sites / adjust handles can reference. Advanced: each `formula` is emitted verbatim.
143
+ * @example [{ name: 'w2', formula: 'val 10800' }]
144
+ */
145
+ guides?: ShapeGuide[];
146
+ /**
147
+ * Connection sites (`<a:cxnLst>`) for a `custGeom` shape — the points a connector can attach to.
148
+ * Positions are absolute in the object's own space (like `points`); a `startShapeIdx`/`endShapeIdx`
149
+ * on an `addConnector` indexes into this list.
150
+ * @example [{ ang: 0, x: 1, y: 0 }, { ang: 180, x: 0, y: 1 }]
151
+ */
152
+ connectionSites?: ShapeConnectionSite[];
153
+ /**
154
+ * Adjust handles (`<a:ahLst>`) for a `custGeom` shape — draggable handles (XY or polar),
155
+ * optionally bound to guides via `gdRef*`.
156
+ */
157
+ adjustHandles?: ShapeAdjustHandle[];
158
+ /**
159
+ * Rounded rectangle radius (only for ShapeType.roundRect)
160
+ * - values: 0.0 to 1.0
161
+ * @default 0
162
+ */
163
+ rectRadius?: number;
164
+ /**
165
+ * Rotation (degrees)
166
+ * - range: -360 to 360
167
+ * @default 0
168
+ * @example 180 // rotate 180 degrees
169
+ */
170
+ rotate?: number;
171
+ /**
172
+ * Shadow options
173
+ */
174
+ shadow?: ShadowProps;
175
+ }
176
+ //#endregion
2
177
  //#region src/types/text.d.ts
3
178
  interface TextBaseProps {
4
179
  /**
5
180
  * Horizontal alignment
181
+ *
182
+ * When a shape's text is an array of runs, set this on **every run** of a paragraph.
183
+ * {@link breakLine} is not the only paragraph boundary: two adjacent runs whose `align`
184
+ * differs start a new one, so stating it on the opening run alone splits the paragraph in
185
+ * two. That is the mirror of {@link bullet}, {@link paraMarginLeft} and {@link paraIndent},
186
+ * which are read from the opening run only. Neither mistake changes the run count — the
187
+ * only symptom is a differently shaped paragraph, with no error.
6
188
  * @default 'left'
7
189
  */
8
190
  align?: HAlign;
@@ -38,6 +220,11 @@ interface TextBaseProps {
38
220
  * The margins are only a *default* of the bullet state: {@link paraMarginLeft} and
39
221
  * {@link paraIndent} state `@marL`/`@indent` independently in any of the three, including
40
222
  * an inherited margin under a drawn bullet.
223
+ *
224
+ * When a shape's text is an array of runs, state this on the **opening run only**. A run
225
+ * that draws a bullet starts a new paragraph by itself, so repeating it — the placement
226
+ * that {@link align} requires — turns one three-run paragraph into three one-run
227
+ * paragraphs. A paragraph takes its properties from its first run.
41
228
  * @default false
42
229
  */
43
230
  bullet?: boolean | 'inherit' | {
@@ -184,6 +371,8 @@ interface TextBaseProps {
184
371
  * @example -18 // hang the first line 18pt left of the body text
185
372
  * @example 18 // indent the first line 18pt, prose style
186
373
  * @example 'inherit' // keep the list style's indent, even on a bulleted paragraph
374
+ * @remarks Read from the **opening run** of a paragraph, like {@link bullet} and unlike
375
+ * {@link align}; a value on a continuation run is ignored.
187
376
  */
188
377
  paraIndent?: number | 'inherit';
189
378
  /**
@@ -199,6 +388,8 @@ interface TextBaseProps {
199
388
  * - a value here overrides all of those, in every bullet state
200
389
  * @example 36 // body text starts 36pt (0.5in) from the frame's text edge
201
390
  * @example 'inherit' // keep the list style's margin, even on a bulleted paragraph
391
+ * @remarks Read from the **opening run** of a paragraph, like {@link bullet} and unlike
392
+ * {@link align}; a value on a continuation run is ignored.
202
393
  */
203
394
  paraMarginLeft?: number | 'inherit';
204
395
  /**
@@ -290,6 +481,18 @@ interface TextFitShrinkProps {
290
481
  lnSpcReduction?: number;
291
482
  }
292
483
  interface TextPropsOptions extends PositionProps, DataOrPathProps, TextBaseProps, ObjectNameProps {
484
+ /**
485
+ * Preset-geometry start/end angles for text frames (`shape` + these build `<a:prstGeom>`
486
+ * adjustment guides through the shared emitter — `genXmlPresetGeom` reads them whether
487
+ * the object is a shape or a styled text frame).
488
+ */
489
+ angleRange?: [number, number];
490
+ /** Preset-geometry block-arc thickness for text frames. */
491
+ arcThicknessRatio?: number;
492
+ /** Custom geometry points when a text frame uses a custom geometry shape. */
493
+ points?: GeometryPoint[];
494
+ /** Preset-geometry adjustment guides for text frames. */
495
+ shapeAdjust?: ShapeAdjustValue | ShapeAdjustValue[];
293
496
  _bodyProp?: {
294
497
  align?: AlignH;
295
498
  anchor?: TextAnchor;
@@ -553,6 +756,24 @@ interface TextMeasurement {
553
756
  * the face via {@link TsPptx.registerFontMetrics} for an exact result.
554
757
  */
555
758
  approximatedFaces: string[];
759
+ /**
760
+ * Code points in the measured text — sorted, deduplicated — whose run resolved to a
761
+ * **registered** face that has no glyph for them. Empty for fully covered text.
762
+ *
763
+ * Unlike everything else here, a non-empty list means the numbers are **not reliably
764
+ * conservative**. PowerPoint renders such a code point from a substituted face and
765
+ * measures it in that face's advances; this model has no fallback and charges the
766
+ * registered font's `.notdef` advance, which is unrelated to the glyph that paints. A
767
+ * `.notdef` wider than the real glyph over-reports (harmless); a narrower one
768
+ * under-reports the width and can drop a line, so `heightIn` may come back **short**
769
+ * and the text overflow. Register a face that covers them (or set an explicit
770
+ * `fontFace` on those runs) before trusting the height.
771
+ *
772
+ * Faces with no registered metrics are not audited — they measure through the
773
+ * cmap-less heuristic and are reported in {@link approximatedFaces} instead.
774
+ * `String.fromCodePoint(...uncoveredCodepoints)` renders the list.
775
+ */
776
+ uncoveredCodepoints: number[];
556
777
  /** True if the text fits a box of inner height `hIn` (inches) at full size. */
557
778
  fitsBox: (hIn: number) => boolean;
558
779
  /** The `fontScale` (percent) that fits inner height `hIn`; `100` if it already fits, never below the shrink floor. */
@@ -944,6 +1165,14 @@ interface ChartPropsBase {
944
1165
  * Axis position
945
1166
  */
946
1167
  axisPos?: 'b' | 'l' | 'r' | 't';
1168
+ /**
1169
+ * Series colours, cycled: series (or, on a pie/doughnut, data point) `n` takes
1170
+ * `chartColors[n % chartColors.length]`, so a shorter list repeats rather than running out.
1171
+ *
1172
+ * Omitting it, or passing an empty array, both mean the same thing — the built-in default
1173
+ * palette for the chart type. Two spellings of "I named no colours"; there is no third state
1174
+ * that suppresses the fills.
1175
+ */
947
1176
  chartColors?: HexColor[];
948
1177
  /**
949
1178
  * opacity (0 - 100)
@@ -2131,181 +2360,6 @@ type GeometryPoint = {
2131
2360
  close: true;
2132
2361
  };
2133
2362
  //#endregion
2134
- //#region src/types/shape.d.ts
2135
- /**
2136
- * A single preset-geometry adjustment guide (`<a:gd>` inside `<a:avLst>`).
2137
- * - `name` is the guide name the preset defines, e.g. `'adj'`, `'adj1'`, `'adj2'`.
2138
- * PowerPoint shows these handles as the yellow drag dots on a selected shape.
2139
- * - `value` is a fraction `0.0–1.0` of the handle's range, emitted as a percentage
2140
- * guide formula (`val`, in 1/100000 units, so `0.25` → `fmla="val 25000"`).
2141
- * Most adjustment handles (corner radius, chevron point, callout depth, bevel
2142
- * width, …) are percentage-based and map directly; some shapes accept values
2143
- * beyond `1.0`. For angle-based handles, prefer the `angleRange` shortcut.
2144
- */
2145
- interface ShapeAdjustValue {
2146
- name: string;
2147
- value: number;
2148
- }
2149
- /**
2150
- * A geometry guide (`<a:gd>` inside a `custGeom`'s `<a:gdLst>`): a named construction formula
2151
- * that connection sites, adjust handles, and the text rect can reference by name.
2152
- * - `name` is a `ST_GeomGuideName` token, e.g. `'w2'`.
2153
- * - `formula` is a `ST_GeomGuideFormula` — a space-delimited op + args string emitted verbatim,
2154
- * e.g. the multiply-divide op `"* / w 1 2"` written without the inner space (w × 1 ÷ 2), or
2155
- * `'val 10800'`. This is an advanced escape hatch: the arguments are not interpreted, only
2156
- * escaped. The leading operation *is* checked against the 17 ECMA-376 §20.1.9.11 operations
2157
- * (multiply-divide, add-subtract, add-divide, if-else, `abs`, `at2`, `cat2`, `cos`, `max`,
2158
- * `min`, `mod`, `pin`, `sat2`, `sin`, `sqrt`, `tan`, `val` — see `GEOM_GUIDE_OPS` in
2159
- * `src/gen/drawingml/geometry.ts` for the literal tokens), because an unknown one emits
2160
- * schema-shaped but semantically dead geometry that PowerPoint answers with a repair prompt;
2161
- * such a guide is warned about and skipped.
2162
- * @see http://www.datypic.com/sc/ooxml/e-a_gd-1.html
2163
- */
2164
- interface ShapeGuide {
2165
- name: string;
2166
- formula: string;
2167
- }
2168
- /**
2169
- * A connection site (`<a:cxn>` inside a `custGeom`'s `<a:cxnLst>`): a point a connector can attach
2170
- * to. A connector's `startShapeIdx`/`endShapeIdx` index into the target shape's connection sites.
2171
- */
2172
- interface ShapeConnectionSite {
2173
- /** Incoming-connector angle in degrees (emitted to `ang`, `ST_AdjAngle` 60000ths). */
2174
- ang: number;
2175
- /** X in the object's own space (like `points`), or a guide-name string emitted verbatim. */
2176
- x: Coord | string;
2177
- /** Y in the object's own space (like `points`), or a guide-name string emitted verbatim. */
2178
- y: Coord | string;
2179
- }
2180
- /** An XY adjust handle (`<a:ahXY>`) — a draggable handle, optionally bound to guides. */
2181
- interface ShapeAdjustHandleXY {
2182
- x: Coord | string;
2183
- y: Coord | string;
2184
- gdRefX?: string;
2185
- minX?: Coord | string;
2186
- maxX?: Coord | string;
2187
- gdRefY?: string;
2188
- minY?: Coord | string;
2189
- maxY?: Coord | string;
2190
- }
2191
- /** A polar adjust handle (`<a:ahPolar>`) — radius/angle rather than XY. */
2192
- interface ShapeAdjustHandlePolar {
2193
- x: Coord | string;
2194
- y: Coord | string;
2195
- gdRefR?: string;
2196
- minR?: Coord | string;
2197
- maxR?: Coord | string;
2198
- gdRefAng?: string;
2199
- minAng?: number;
2200
- maxAng?: number;
2201
- }
2202
- type ShapeAdjustHandle = ShapeAdjustHandleXY | ShapeAdjustHandlePolar;
2203
- interface ShapeProps extends PositionProps, ObjectNameProps {
2204
- /**
2205
- * Horizontal alignment
2206
- * @default 'left'
2207
- */
2208
- align?: HAlign;
2209
- /**
2210
- * Radius (only for ShapeType.pie, ShapeType.arc, ShapeType.blockArc)
2211
- * - In the case of ShapeType.blockArc you have to setup the arcThicknessRatio
2212
- * - values: [0-359, 0-359]
2213
- * @default [270, 0]
2214
- */
2215
- angleRange?: [number, number];
2216
- /**
2217
- * Preset-geometry adjustment handles (`<a:avLst>` guides) for any preset shape.
2218
- * - Use this to tune adjustment handles that lack a dedicated shortcut option,
2219
- * e.g. chevron/arrow point depth, callout pointer, bevel/frame thickness.
2220
- * - Accepts a single guide or an array; each `value` is a `0.0–1.0` fraction of
2221
- * the handle's range (see {@link ShapeAdjustValue}).
2222
- * - `rectRadius` / `angleRange` remain friendly shortcuts; any `shapeAdjust`
2223
- * guide that does not collide with a shortcut name is emitted in addition.
2224
- * @example { name: 'adj', value: 0.25 } // set the single adjust handle to 25%
2225
- * @example [{ name: 'adj1', value: 0.5 }, { name: 'adj2', value: 0.25 }] // two handles
2226
- */
2227
- shapeAdjust?: ShapeAdjustValue | ShapeAdjustValue[];
2228
- /**
2229
- * Radius (only for ShapeType.blockArc)
2230
- * - You have to setup the angleRange values too
2231
- * - values: 0.0-1.0
2232
- * @default 0.5
2233
- */
2234
- arcThicknessRatio?: number;
2235
- /**
2236
- * Shape fill color properties
2237
- * @example { color:'FF0000' } // hex color (red)
2238
- * @example { color:'0088CC', transparency:50 } // hex color, 50% transparent
2239
- * @example { color:SchemeColor.accent1 } // Theme color Accent1
2240
- */
2241
- fill?: ShapeFillProps;
2242
- /**
2243
- * Flip shape horizontally?
2244
- * @default false
2245
- */
2246
- flipH?: boolean;
2247
- /**
2248
- * Flip shape vertical?
2249
- * @default false
2250
- */
2251
- flipV?: boolean;
2252
- /**
2253
- * Add hyperlink to shape
2254
- * @example hyperlink: { url: "https://example.com", tooltip: "Visit Homepage" },
2255
- */
2256
- hyperlink?: HyperlinkProps;
2257
- /**
2258
- * Line options
2259
- */
2260
- line?: ShapeLineProps;
2261
- /**
2262
- * Points (only for ShapeType.custGeom)
2263
- * - type: 'arc' (no end point — it is computed from the pen position, radii and sweep)
2264
- * - `hR` Shape Arc Height Radius
2265
- * - `wR` Shape Arc Width Radius
2266
- * - `stAng` Shape Arc Start Angle (degrees, not wrapped into 0..360)
2267
- * - `swAng` Shape Arc Swing Angle (degrees, not wrapped into 0..360)
2268
- * @see http://www.datypic.com/sc/ooxml/e-a_arcTo-1.html
2269
- * @example [{ x: 0, y: 0 }, { x: 10, y: 10 }] // draw a line between those two points
2270
- */
2271
- points?: GeometryPoint[];
2272
- /**
2273
- * Geometry guides (`<a:gdLst>`) for a `custGeom` shape — named construction formulas that
2274
- * connection sites / adjust handles can reference. Advanced: each `formula` is emitted verbatim.
2275
- * @example [{ name: 'w2', formula: 'val 10800' }]
2276
- */
2277
- guides?: ShapeGuide[];
2278
- /**
2279
- * Connection sites (`<a:cxnLst>`) for a `custGeom` shape — the points a connector can attach to.
2280
- * Positions are absolute in the object's own space (like `points`); a `startShapeIdx`/`endShapeIdx`
2281
- * on an `addConnector` indexes into this list.
2282
- * @example [{ ang: 0, x: 1, y: 0 }, { ang: 180, x: 0, y: 1 }]
2283
- */
2284
- connectionSites?: ShapeConnectionSite[];
2285
- /**
2286
- * Adjust handles (`<a:ahLst>`) for a `custGeom` shape — draggable handles (XY or polar),
2287
- * optionally bound to guides via `gdRef*`.
2288
- */
2289
- adjustHandles?: ShapeAdjustHandle[];
2290
- /**
2291
- * Rounded rectangle radius (only for ShapeType.roundRect)
2292
- * - values: 0.0 to 1.0
2293
- * @default 0
2294
- */
2295
- rectRadius?: number;
2296
- /**
2297
- * Rotation (degrees)
2298
- * - range: -360 to 360
2299
- * @default 0
2300
- * @example 180 // rotate 180 degrees
2301
- */
2302
- rotate?: number;
2303
- /**
2304
- * Shadow options
2305
- */
2306
- shadow?: ShadowProps;
2307
- }
2308
- //#endregion
2309
2363
  //#region src/types/media.d.ts
2310
2364
  type MediaType = 'audio' | 'online' | 'video';
2311
2365
  interface ImageBaseProps extends PositionProps, ObjectNameProps {
@@ -2850,10 +2904,12 @@ interface TableCellProps extends TextBaseProps {
2850
2904
  * - an array is read in **TRBL** order (`[top, right, bottom, left]`)
2851
2905
  *
2852
2906
  * Overrides the table-level {@link TableProps.border} default entirely — the two do not
2853
- * merge per side. For the two corner-to-corner rules see {@link diagonal}; for the
2907
+ * merge per side. A `null` entry is a hole: that edge is left out of `a:tcPr` and keeps
2908
+ * inheriting from the table style, while `{ type: 'none' }` writes an explicit no-line
2909
+ * that overrides it. For the two corner-to-corner rules see {@link diagonal}; for the
2854
2910
  * table's outside edge see {@link TableProps.outerBorder}.
2855
2911
  */
2856
- border?: BorderProps | [BorderProps, BorderProps, BorderProps, BorderProps];
2912
+ border?: BorderProps | [BorderProps | null, BorderProps | null, BorderProps | null, BorderProps | null];
2857
2913
  /**
2858
2914
  * The cell's corner-to-corner rules — PowerPoint's "Diagonal Down/Up Border".
2859
2915
  *
@@ -3014,13 +3070,19 @@ interface TableProps extends PositionProps, TextBaseProps, ObjectNameProps {
3014
3070
  * cell a top and bottom rule — a full set of horizontal grid lines, not a rule at the
3015
3071
  * top and bottom of the table. A cell's own `options.border` overrides this entirely.
3016
3072
  *
3073
+ * A `null` entry is a hole — that edge inherits from the table style — where
3074
+ * `{ type: 'none' }` writes an explicit no-line that overrides it. Authoring nothing at
3075
+ * all depends on {@link tableStyle}: a styled table leaves every edge absent so the style
3076
+ * paints its grid, and a table with no style takes four no-fill sides, which is what keeps
3077
+ * it clear of PowerPoint's no-style black hairline grid.
3078
+ *
3017
3079
  * For the perimeter, use {@link outerBorder}, which applies only to the cells on the
3018
3080
  * table's outside edge. The two compose: `border` draws the interior grid and
3019
3081
  * `outerBorder` overrides the edges it reaches.
3020
3082
  * @example border: { type:'solid', color:'D9D9D9', width:0.5 } // full grid
3021
3083
  * @example border: [{type:'solid'}, {type:'none'}, {type:'solid'}, {type:'none'}] // horizontal rules only
3022
3084
  */
3023
- border?: BorderProps | [BorderProps, BorderProps, BorderProps, BorderProps];
3085
+ border?: BorderProps | [BorderProps | null, BorderProps | null, BorderProps | null, BorderProps | null];
3024
3086
  /**
3025
3087
  * Border for the table's outer perimeter only — the top edge of the first row, the
3026
3088
  * bottom edge of the last row, the left edge of the first column and the right edge of
@@ -3409,7 +3471,9 @@ type SlideMasterObject = {
3409
3471
  * Any preset shape, addressed by `SHAPE_NAME` (e.g. `ShapeType.ellipse`).
3410
3472
  * Generalizes the `line`/`rect`/`roundRect` shortcuts to every preset the
3411
3473
  * `addShape()` serializer supports (ellipse, triangle, chevron, …).
3412
- * @example { shape: { type: 'ellipse', options: { x: 1, y: 1, w: 2, h: 2, fill: { color: 'FF0000' } } } }
3474
+ *
3475
+ * A union member's comment cannot carry block tags, so this stands in for `@example`:
3476
+ * `{ shape: { type: 'ellipse', options: { x: 1, y: 1, w: 2, h: 2, fill: { color: 'FF0000' } } } }`
3413
3477
  */
3414
3478
  {
3415
3479
  shape: {
@@ -3781,5 +3845,5 @@ interface AddSlideProps {
3781
3845
  sectionTitle?: string;
3782
3846
  }
3783
3847
  //#endregion
3784
- export { HAlign as $, ChartSeriesOpts as $t, TableToSlidesDocument as A, ChartLineDash as At, ShapeAdjustHandleXY as B, ChartPropsChartHistogram as Bt, TableCell as C, ChartAreaProps as Ct, TableProps as D, ChartExBinning as Dt, TableCellProps as E, ChartErrorBarOptions as Et, MediaProps as F, ChartPropsAxisVal as Ft, BackgroundProps as G, ChartPropsChartStock as Gt, ShapeConnectionSite as H, ChartPropsChartPie as Ht, MediaType as I, ChartPropsBase as It, DataOrPathProps as J, ChartPropsDataLabel as Jt, Color as K, ChartPropsChartSurface as Kt, OleObjectProps as L, ChartPropsChartBar as Lt, TableToSlidesProps as M, ChartOpts as Mt, ImageBaseProps as N, ChartPropsAxisCat as Nt, TableRow as O, ChartExGeography as Ot, ImageProps as P, ChartPropsAxisSer as Pt, GradientStopProps as Q, ChartPropsTitle as Qt, ShapeAdjustHandle as R, ChartPropsChartBoxWhisker as Rt, TransitionType as S, textRuns as Sn, PresetMaterialType as St, TableCellDiagonals as T, ChartDataPointStyle as Tt, ShapeGuide as U, ChartPropsChartRadar as Ut, ShapeAdjustValue as V, ChartPropsChartLine as Vt, ShapeProps as W, ChartPropsChartRegionMap as Wt, GeometryPoint as X, ChartPropsFillLine as Xt, DataOrPathRequiredProps as Y, ChartPropsDataTable as Yt, GradientFillProps as Z, ChartPropsLegend as Zt, AnimationProps as _, TextGlowProps as _n, ShapeFillProps as _t, Slide as a, PlaceholderProps as an, PatternPreset as at, TransitionProps as b, TextPropsOptions as bn, LightRigDirection as bt, Model3dPoint as c, NotesProps as cn, TextVertType as ct, MasterTextStyleLevel as d, ResolvedCommentAuthor as dn, BorderProps as dt, LineCap as en, HexColor as et, MasterTextStyleProps as f, SlideComment as fn, ConnectorProps as ft, SlideNumberProps as g, TextFitShrinkProps as gn, ShadowProps as gt, SlideMasterProps as h, TextBaseProps as hn, HyperlinkProps as ht, ObjectOptions as i, ObjectNameProps as in, PatternFillProps as it, TableToSlidesElement as j, ChartMulti as jt, TableRowSlide as k, ChartExStatistics as kt, Model3dProps as l, NotesTextOptions as ln, ThemeColor as lt, SlideMasterObject as m, TableLayoutResult as mn, HyperlinkActionJump as mt, GroupChildProps as n, OptsChartGridLine as nn, LinearGradientFillProps as nt, SlideLayout as o, CommentProps as on, PositionProps as ot, SlideMasterChartProps as p, TableCellLayout as pn, ConnectorType as pt, Coord as q, ChartPropsChartWaterfall as qt, GroupProps as r, ObjectLockProps as rn, Margin as rt, Model3dCameraProps as s, MeasureTextOptions as sn, RadialGradientFillProps as st, AddSlideProps as t, OptsChartData as tn, ImageFillProps as tt, MasterBulletProps as u, OverflowBoxOptions as un, VAlign as ut, AnimationTrigger as v, TextMeasurement as vn, ShapeLineProps as vt, TableCell3DProps as w, ChartAxisTickMark as wt, TransitionSoundProps as x, textRun as xn, LightRigType as xt, PresetEffect as y, TextProps as yn, BevelPresetType as yt, ShapeAdjustHandlePolar as z, ChartPropsChartDoughnut as zt };
3785
- //# sourceMappingURL=slide-BTfn1Pyp.d.ts.map
3848
+ export { PositionProps as $, CommentProps as $t, TableToSlidesDocument as A, ChartPropsChartBar as At, Coord as B, ChartPropsChartWaterfall as Bt, TableCell as C, ChartLineDash as Ct, TableProps as D, ChartPropsAxisSer as Dt, TableCellProps as E, ChartPropsAxisCat as Et, MediaProps as F, ChartPropsChartPie as Ft, GradientStopProps as G, ChartPropsTitle as Gt, DataOrPathRequiredProps as H, ChartPropsDataTable as Ht, MediaType as I, ChartPropsChartRadar as It, ImageFillProps as J, OptsChartData as Jt, HAlign as K, ChartSeriesOpts as Kt, OleObjectProps as L, ChartPropsChartRegionMap as Lt, TableToSlidesProps as M, ChartPropsChartDoughnut as Mt, ImageBaseProps as N, ChartPropsChartHistogram as Nt, TableRow as O, ChartPropsAxisVal as Ot, ImageProps as P, ChartPropsChartLine as Pt, PatternPreset as Q, PlaceholderProps as Qt, BackgroundProps as R, ChartPropsChartStock as Rt, TransitionType as S, ShapeProps as Sn, ChartExStatistics as St, TableCellDiagonals as T, ChartOpts as Tt, GeometryPoint as U, ChartPropsFillLine as Ut, DataOrPathProps as V, ChartPropsDataLabel as Vt, GradientFillProps as W, ChartPropsLegend as Wt, Margin as X, ObjectLockProps as Xt, LinearGradientFillProps as Y, OptsChartGridLine as Yt, PatternFillProps as Z, ObjectNameProps as Zt, AnimationProps as _, ShapeAdjustHandlePolar as _n, ChartAxisTickMark as _t, Slide as a, SlideComment as an, ConnectorProps as at, TransitionProps as b, ShapeConnectionSite as bn, ChartExBinning as bt, Model3dPoint as c, TextBaseProps as cn, HyperlinkProps as ct, MasterTextStyleLevel as d, TextMeasurement as dn, ShapeLineProps as dt, MeasureTextOptions as en, RadialGradientFillProps as et, MasterTextStyleProps as f, TextProps as fn, BevelPresetType as ft, SlideNumberProps as g, ShapeAdjustHandle as gn, ChartAreaProps as gt, SlideMasterProps as h, textRuns as hn, PresetMaterialType as ht, ObjectOptions as i, ResolvedCommentAuthor as in, BorderProps as it, TableToSlidesElement as j, ChartPropsChartBoxWhisker as jt, TableRowSlide as k, ChartPropsBase as kt, Model3dProps as l, TextFitShrinkProps as ln, ShadowProps as lt, SlideMasterObject as m, textRun as mn, LightRigType as mt, GroupChildProps as n, NotesTextOptions as nn, ThemeColor as nt, SlideLayout as o, TableCellLayout as on, ConnectorType as ot, SlideMasterChartProps as p, TextPropsOptions as pn, LightRigDirection as pt, HexColor as q, LineCap as qt, GroupProps as r, OverflowBoxOptions as rn, VAlign as rt, Model3dCameraProps as s, TableLayoutResult as sn, HyperlinkActionJump as st, AddSlideProps as t, NotesProps as tn, TextVertType as tt, MasterBulletProps as u, TextGlowProps as un, ShapeFillProps as ut, AnimationTrigger as v, ShapeAdjustHandleXY as vn, ChartDataPointStyle as vt, TableCell3DProps as w, ChartMulti as wt, TransitionSoundProps as x, ShapeGuide as xn, ChartExGeography as xt, PresetEffect as y, ShapeAdjustValue as yn, ChartErrorBarOptions as yt, Color as z, ChartPropsChartSurface as zt };
3849
+ //# sourceMappingURL=slide-B_aInw3N.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"slide-B_aInw3N.d.ts","names":[],"sources":["../src/types/shape.ts","../src/types/text.ts","../src/types/object.ts","../src/types/chart.ts","../src/ooxml/st-enums.ts","../src/types/style.ts","../src/types/core.ts","../src/types/media.ts","../src/types/table.ts","../src/types/animation.ts","../src/types/master.ts","../src/types/model3d.ts","../src/types/slide.ts"],"mappings":";;;;;;;;;;;;UAmBiB;EAChB;EACA;;;;;;;;;;;;;;;;;UAkBgB;EAChB;EACA;;;;;;UAOgB;;EAEhB;;EAEA,GAAG;;EAEH,GAAG;;;UAIa;EAChB,GAAG;EACH,GAAG;EACH;EACA,OAAO;EACP,OAAO;EACP;EACA,OAAO;EACP,OAAO;;;UAIS;EAChB,GAAG;EACH,GAAG;EACH;EACA,OAAO;EACP,OAAO;EACP;EACA;EACA;;KAGW,oBAAoB,sBAAsB;UAErC,mBAAmB,eAAe;;;;;EAKlD,QAAQ;;;;;;;EAOR;;;;;;;;;;;;EAYA,cAAc,mBAAmB;;;;;;;EAOjC;;;;;;;EAOA,OAAO;;;;;EAKP;;;;;EAKA;;;;;EAKA,YAAY;;;;EAIZ,OAAO;;;;;;;;;;;EAWP,SAAS;;;;;;EAMT,SAAS;;;;;;;EAOT,kBAAkB;;;;;EAKlB,gBAAgB;;;;;;EAMhB;;;;;;;EAOA;;;;EAIA,SAAS;;;;UCnKO;;;;;;;;;;;;EAYhB,QAAQ;;;;;EAKR;;;;;EAKA;;;;;;;;EAQA;;;;;;;;;;;;;;;;;;;;;;EAsBA;;;;;IAQG;;;;;IAKA;;;;;IAKA;;;;;;IAMA;;;;;;IAMA;;;;;IAKA;;;;;;IAsBA;;;;;;;;;;;IAWA;MAAU;MAAe;;;;;;;IAMzB;;;;;IAKA;;;;;IAKA,QAAQ;;;;;;;;;;;;EAYX;;;;;;;;EAQA,QAAQ;;;;;;;;;;EAUR;;;;;;;;EAQA;;;;;EAKA;;;;;EAKA,YAAY;;;;;EAKZ;;;;;;;EAOA;;;;;;;;;;;;;;;;;;;EAmBA;;;;;;;;;;;;;;;;;EAiBA;;;;;EAKA;;;;;;EAMA,WAAW;IAAQ;IAAkB;;;;;;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