pptx-svelte-viewer 4.7.0 → 4.8.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.
- package/CHANGELOG.md +66 -0
- package/dist/{AiChatPanel-UtQgHZdw.js → AiChatPanel-DlPmzYrj.js} +2 -2
- package/dist/{export-BmYgdMk2.js → export-eOlnlLkp.js} +1396 -1395
- package/dist/i18n/de.cjs +64 -96
- package/dist/i18n/de.mjs +64 -96
- package/dist/i18n/es.cjs +64 -96
- package/dist/i18n/es.mjs +64 -96
- package/dist/i18n/fr.cjs +64 -96
- package/dist/i18n/fr.mjs +64 -96
- package/dist/i18n/zh-CN.cjs +63 -95
- package/dist/i18n/zh-CN.mjs +63 -95
- package/dist/i18n.js +1 -1
- package/dist/index.d.ts +82 -3
- package/dist/index.js +41 -41
- package/dist/internals.d.ts +58 -3
- package/dist/internals.js +18 -18
- package/dist/{transition-overlay-BjAhkWT1.js → transition-overlay-DKx4G_5w.js} +63450 -47481
- package/dist/{translator-D5VddVYr.js → translator-BTAuI1KR.js} +63 -95
- package/dist/viewer/index.d.ts +99 -3
- package/dist/viewer/index.js +2 -2
- package/package.json +1 -1
|
@@ -22,63 +22,47 @@ var n = {
|
|
|
22
22
|
"pptx.animation.catalogPreset.entr9": "Dissolve In",
|
|
23
23
|
"pptx.animation.catalogPreset.entr10": "Fade",
|
|
24
24
|
"pptx.animation.catalogPreset.entr11": "Flash Once",
|
|
25
|
-
"pptx.animation.catalogPreset.entr12": "
|
|
25
|
+
"pptx.animation.catalogPreset.entr12": "Peek In",
|
|
26
26
|
"pptx.animation.catalogPreset.entr13": "Plus",
|
|
27
27
|
"pptx.animation.catalogPreset.entr14": "Random Bars",
|
|
28
28
|
"pptx.animation.catalogPreset.entr15": "Spiral In",
|
|
29
|
-
"pptx.animation.catalogPreset.entr16": "
|
|
30
|
-
"pptx.animation.catalogPreset.entr17": "
|
|
31
|
-
"pptx.animation.catalogPreset.entr18": "
|
|
32
|
-
"pptx.animation.catalogPreset.entr19": "
|
|
29
|
+
"pptx.animation.catalogPreset.entr16": "Split",
|
|
30
|
+
"pptx.animation.catalogPreset.entr17": "Stretch",
|
|
31
|
+
"pptx.animation.catalogPreset.entr18": "Strips",
|
|
32
|
+
"pptx.animation.catalogPreset.entr19": "Swivel",
|
|
33
33
|
"pptx.animation.catalogPreset.entr20": "Wedge",
|
|
34
34
|
"pptx.animation.catalogPreset.entr21": "Wheel",
|
|
35
35
|
"pptx.animation.catalogPreset.entr22": "Wipe",
|
|
36
36
|
"pptx.animation.catalogPreset.entr23": "Zoom",
|
|
37
37
|
"pptx.animation.catalogPreset.entr24": "Random Effects",
|
|
38
38
|
"pptx.animation.catalogPreset.entr25": "Boomerang",
|
|
39
|
-
"pptx.animation.catalogPreset.entr26": "
|
|
40
|
-
"pptx.animation.catalogPreset.entr27": "
|
|
41
|
-
"pptx.animation.catalogPreset.entr28": "
|
|
42
|
-
"pptx.animation.catalogPreset.entr29": "
|
|
43
|
-
"pptx.animation.catalogPreset.entr30": "Float
|
|
44
|
-
"pptx.animation.catalogPreset.entr31": "
|
|
45
|
-
"pptx.animation.catalogPreset.
|
|
46
|
-
"pptx.animation.catalogPreset.
|
|
47
|
-
"pptx.animation.catalogPreset.
|
|
48
|
-
"pptx.animation.catalogPreset.
|
|
49
|
-
"pptx.animation.catalogPreset.
|
|
50
|
-
"pptx.animation.catalogPreset.
|
|
51
|
-
"pptx.animation.catalogPreset.
|
|
52
|
-
"pptx.animation.catalogPreset.
|
|
53
|
-
"pptx.animation.catalogPreset.
|
|
54
|
-
"pptx.animation.catalogPreset.
|
|
55
|
-
"pptx.animation.catalogPreset.
|
|
56
|
-
"pptx.animation.catalogPreset.
|
|
57
|
-
"pptx.animation.catalogPreset.
|
|
58
|
-
"pptx.animation.catalogPreset.
|
|
59
|
-
"pptx.animation.catalogPreset.
|
|
60
|
-
"pptx.animation.catalogPreset.
|
|
61
|
-
"pptx.animation.catalogPreset.
|
|
62
|
-
"pptx.animation.catalogPreset.
|
|
63
|
-
"pptx.animation.catalogPreset.
|
|
64
|
-
"pptx.animation.catalogPreset.
|
|
65
|
-
"pptx.animation.catalogPreset.
|
|
66
|
-
"pptx.animation.catalogPreset.entr53": "Grow & Turn",
|
|
67
|
-
"pptx.animation.catalogPreset.entr54": "Zoom Rotate",
|
|
68
|
-
"pptx.animation.catalogPreset.entr55": "Curvy Star",
|
|
69
|
-
"pptx.animation.catalogPreset.entr56": "Rotate",
|
|
70
|
-
"pptx.animation.catalogPreset.entr57": "Center Revolve",
|
|
71
|
-
"pptx.animation.catalogPreset.entr58": "Thread",
|
|
72
|
-
"pptx.animation.catalogPreset.entr59": "Drop In",
|
|
73
|
-
"pptx.animation.catalogPreset.entr60": "Ascend",
|
|
74
|
-
"pptx.animation.catalogPreset.entr61": "Descend",
|
|
75
|
-
"pptx.animation.catalogPreset.entr62": "Center Stage",
|
|
76
|
-
"pptx.animation.catalogPreset.entr63": "Ease In",
|
|
77
|
-
"pptx.animation.catalogPreset.entr64": "Stretchy",
|
|
78
|
-
"pptx.animation.catalogPreset.entr65": "Zip",
|
|
79
|
-
"pptx.animation.catalogPreset.entr66": "Bars",
|
|
80
|
-
"pptx.animation.catalogPreset.entr67": "Cover",
|
|
81
|
-
"pptx.animation.catalogPreset.entr68": "Reveal",
|
|
39
|
+
"pptx.animation.catalogPreset.entr26": "Bounce",
|
|
40
|
+
"pptx.animation.catalogPreset.entr27": "Color Typewriter",
|
|
41
|
+
"pptx.animation.catalogPreset.entr28": "Credits",
|
|
42
|
+
"pptx.animation.catalogPreset.entr29": "Ease In",
|
|
43
|
+
"pptx.animation.catalogPreset.entr30": "Float",
|
|
44
|
+
"pptx.animation.catalogPreset.entr31": "Grow & Turn",
|
|
45
|
+
"pptx.animation.catalogPreset.entr34": "Light Speed",
|
|
46
|
+
"pptx.animation.catalogPreset.entr35": "Pinwheel",
|
|
47
|
+
"pptx.animation.catalogPreset.entr37": "Rise Up",
|
|
48
|
+
"pptx.animation.catalogPreset.entr38": "Swish",
|
|
49
|
+
"pptx.animation.catalogPreset.entr39": "Thin Line",
|
|
50
|
+
"pptx.animation.catalogPreset.entr40": "Unfold",
|
|
51
|
+
"pptx.animation.catalogPreset.entr41": "Whip",
|
|
52
|
+
"pptx.animation.catalogPreset.entr42": "Ascend",
|
|
53
|
+
"pptx.animation.catalogPreset.entr43": "Center Revolve",
|
|
54
|
+
"pptx.animation.catalogPreset.entr45": "Faded Swivel",
|
|
55
|
+
"pptx.animation.catalogPreset.entr47": "Descend",
|
|
56
|
+
"pptx.animation.catalogPreset.entr48": "Sling",
|
|
57
|
+
"pptx.animation.catalogPreset.entr49": "Spinner",
|
|
58
|
+
"pptx.animation.catalogPreset.entr50": "Compress",
|
|
59
|
+
"pptx.animation.catalogPreset.entr51": "Zip",
|
|
60
|
+
"pptx.animation.catalogPreset.entr52": "Arc Up",
|
|
61
|
+
"pptx.animation.catalogPreset.entr53": "Faded Zoom",
|
|
62
|
+
"pptx.animation.catalogPreset.entr54": "Glide",
|
|
63
|
+
"pptx.animation.catalogPreset.entr55": "Expand",
|
|
64
|
+
"pptx.animation.catalogPreset.entr56": "Flip",
|
|
65
|
+
"pptx.animation.catalogPreset.entr58": "Fold",
|
|
82
66
|
"pptx.animation.catalogPreset.exit1": "Disappear",
|
|
83
67
|
"pptx.animation.catalogPreset.exit2": "Fly Out",
|
|
84
68
|
"pptx.animation.catalogPreset.exit3": "Blinds",
|
|
@@ -94,59 +78,43 @@ var n = {
|
|
|
94
78
|
"pptx.animation.catalogPreset.exit13": "Plus",
|
|
95
79
|
"pptx.animation.catalogPreset.exit14": "Random Bars",
|
|
96
80
|
"pptx.animation.catalogPreset.exit15": "Spiral Out",
|
|
97
|
-
"pptx.animation.catalogPreset.exit16": "
|
|
98
|
-
"pptx.animation.catalogPreset.exit17": "
|
|
99
|
-
"pptx.animation.catalogPreset.exit18": "
|
|
100
|
-
"pptx.animation.catalogPreset.exit19": "
|
|
81
|
+
"pptx.animation.catalogPreset.exit16": "Split",
|
|
82
|
+
"pptx.animation.catalogPreset.exit17": "Collapse",
|
|
83
|
+
"pptx.animation.catalogPreset.exit18": "Strips",
|
|
84
|
+
"pptx.animation.catalogPreset.exit19": "Swivel",
|
|
101
85
|
"pptx.animation.catalogPreset.exit20": "Wedge",
|
|
102
86
|
"pptx.animation.catalogPreset.exit21": "Wheel",
|
|
103
87
|
"pptx.animation.catalogPreset.exit22": "Wipe",
|
|
104
88
|
"pptx.animation.catalogPreset.exit23": "Zoom",
|
|
105
89
|
"pptx.animation.catalogPreset.exit24": "Random Effects",
|
|
106
90
|
"pptx.animation.catalogPreset.exit25": "Boomerang",
|
|
107
|
-
"pptx.animation.catalogPreset.exit26": "
|
|
108
|
-
"pptx.animation.catalogPreset.exit27": "
|
|
109
|
-
"pptx.animation.catalogPreset.exit28": "
|
|
110
|
-
"pptx.animation.catalogPreset.exit29": "
|
|
111
|
-
"pptx.animation.catalogPreset.exit30": "Float
|
|
112
|
-
"pptx.animation.catalogPreset.exit31": "
|
|
113
|
-
"pptx.animation.catalogPreset.
|
|
114
|
-
"pptx.animation.catalogPreset.
|
|
115
|
-
"pptx.animation.catalogPreset.
|
|
116
|
-
"pptx.animation.catalogPreset.
|
|
117
|
-
"pptx.animation.catalogPreset.
|
|
118
|
-
"pptx.animation.catalogPreset.
|
|
119
|
-
"pptx.animation.catalogPreset.
|
|
120
|
-
"pptx.animation.catalogPreset.
|
|
121
|
-
"pptx.animation.catalogPreset.
|
|
122
|
-
"pptx.animation.catalogPreset.
|
|
123
|
-
"pptx.animation.catalogPreset.
|
|
124
|
-
"pptx.animation.catalogPreset.
|
|
125
|
-
"pptx.animation.catalogPreset.
|
|
126
|
-
"pptx.animation.catalogPreset.
|
|
127
|
-
"pptx.animation.catalogPreset.
|
|
128
|
-
"pptx.animation.catalogPreset.
|
|
129
|
-
"pptx.animation.catalogPreset.
|
|
130
|
-
"pptx.animation.catalogPreset.
|
|
131
|
-
"pptx.animation.catalogPreset.
|
|
132
|
-
"pptx.animation.catalogPreset.
|
|
133
|
-
"pptx.animation.catalogPreset.
|
|
134
|
-
"pptx.animation.catalogPreset.exit53": "Shrink & Spin",
|
|
135
|
-
"pptx.animation.catalogPreset.exit54": "Zoom Rotate",
|
|
136
|
-
"pptx.animation.catalogPreset.exit55": "Curvy Star",
|
|
137
|
-
"pptx.animation.catalogPreset.exit56": "Rotate",
|
|
138
|
-
"pptx.animation.catalogPreset.exit57": "Center Revolve",
|
|
139
|
-
"pptx.animation.catalogPreset.exit58": "Thread Out",
|
|
140
|
-
"pptx.animation.catalogPreset.exit59": "Drop Out",
|
|
141
|
-
"pptx.animation.catalogPreset.exit60": "Ascend",
|
|
142
|
-
"pptx.animation.catalogPreset.exit61": "Descend",
|
|
143
|
-
"pptx.animation.catalogPreset.exit62": "Exit Stage",
|
|
144
|
-
"pptx.animation.catalogPreset.exit63": "Ease Out",
|
|
145
|
-
"pptx.animation.catalogPreset.exit64": "Stretchy",
|
|
146
|
-
"pptx.animation.catalogPreset.exit65": "Zip Out",
|
|
147
|
-
"pptx.animation.catalogPreset.exit66": "Bars Out",
|
|
148
|
-
"pptx.animation.catalogPreset.exit67": "Uncover",
|
|
149
|
-
"pptx.animation.catalogPreset.exit68": "Conceal",
|
|
91
|
+
"pptx.animation.catalogPreset.exit26": "Bounce",
|
|
92
|
+
"pptx.animation.catalogPreset.exit27": "Color Typewriter",
|
|
93
|
+
"pptx.animation.catalogPreset.exit28": "Credits",
|
|
94
|
+
"pptx.animation.catalogPreset.exit29": "Ease Out",
|
|
95
|
+
"pptx.animation.catalogPreset.exit30": "Float",
|
|
96
|
+
"pptx.animation.catalogPreset.exit31": "Shrink & Turn",
|
|
97
|
+
"pptx.animation.catalogPreset.exit34": "Light Speed",
|
|
98
|
+
"pptx.animation.catalogPreset.exit35": "Pinwheel",
|
|
99
|
+
"pptx.animation.catalogPreset.exit37": "Sink Down",
|
|
100
|
+
"pptx.animation.catalogPreset.exit38": "Swish",
|
|
101
|
+
"pptx.animation.catalogPreset.exit39": "Thin Line",
|
|
102
|
+
"pptx.animation.catalogPreset.exit40": "Unfold",
|
|
103
|
+
"pptx.animation.catalogPreset.exit41": "Whip",
|
|
104
|
+
"pptx.animation.catalogPreset.exit42": "Ascend",
|
|
105
|
+
"pptx.animation.catalogPreset.exit43": "Center Revolve",
|
|
106
|
+
"pptx.animation.catalogPreset.exit45": "Faded Swivel",
|
|
107
|
+
"pptx.animation.catalogPreset.exit47": "Descend",
|
|
108
|
+
"pptx.animation.catalogPreset.exit48": "Sling",
|
|
109
|
+
"pptx.animation.catalogPreset.exit49": "Spinner",
|
|
110
|
+
"pptx.animation.catalogPreset.exit50": "Stretchy",
|
|
111
|
+
"pptx.animation.catalogPreset.exit51": "Zip",
|
|
112
|
+
"pptx.animation.catalogPreset.exit52": "Arc Up",
|
|
113
|
+
"pptx.animation.catalogPreset.exit53": "Faded Zoom",
|
|
114
|
+
"pptx.animation.catalogPreset.exit54": "Glide",
|
|
115
|
+
"pptx.animation.catalogPreset.exit55": "Contract",
|
|
116
|
+
"pptx.animation.catalogPreset.exit56": "Flip",
|
|
117
|
+
"pptx.animation.catalogPreset.exit58": "Fold",
|
|
150
118
|
"pptx.animation.catalogPreset.emph1": "Bold Flash",
|
|
151
119
|
"pptx.animation.catalogPreset.emph2": "Color Wave",
|
|
152
120
|
"pptx.animation.catalogPreset.emph3": "Brush on Color",
|
package/dist/viewer/index.d.ts
CHANGED
|
@@ -1296,6 +1296,27 @@ interface ShapeStyle {
|
|
|
1296
1296
|
* `authored-shape-style.ts`'s `effectIsPurelyStyleMatrix`.
|
|
1297
1297
|
*/
|
|
1298
1298
|
inheritedEffectStyle?: ShapeStyle;
|
|
1299
|
+
/**
|
|
1300
|
+
* Set by a style-matrix pick (the Shape Styles gallery): the shape's own
|
|
1301
|
+
* `spPr` fill, outline and effects were replaced by `<p:style>`, so the
|
|
1302
|
+
* writer clears whatever the retained `spPr` still authored before it
|
|
1303
|
+
* writes the (now reference-owned) style. Never parsed; editor state only.
|
|
1304
|
+
*/
|
|
1305
|
+
styleMatrixReset?: boolean;
|
|
1306
|
+
}
|
|
1307
|
+
/**
|
|
1308
|
+
* The result of resolving a `<p:style>` block against the loaded theme.
|
|
1309
|
+
*
|
|
1310
|
+
* `shapeStyle` is exactly what the load pipeline would have produced for a
|
|
1311
|
+
* shape whose `spPr` authors nothing and whose `<p:style>` is `styleXml`:
|
|
1312
|
+
* the flat fill/outline/effect values a renderer needs, the reference indices
|
|
1313
|
+
* and colours the writer re-emits, and the inheritance baselines that tell the
|
|
1314
|
+
* writer to leave `spPr` empty while the flat values still agree with them.
|
|
1315
|
+
*/
|
|
1316
|
+
interface ResolvedStyleMatrix {
|
|
1317
|
+
shapeStyle: ShapeStyle;
|
|
1318
|
+
/** The text colour `<a:fontRef>` names, resolved to hex. */
|
|
1319
|
+
fontColor?: string;
|
|
1299
1320
|
}
|
|
1300
1321
|
//#endregion
|
|
1301
1322
|
//#region src/core/types/text.d.ts
|
|
@@ -2270,6 +2291,22 @@ interface TextSegment {
|
|
|
2270
2291
|
* Used by the renderer to apply font family, colour, etc. to the `<rt>` element.
|
|
2271
2292
|
*/
|
|
2272
2293
|
rubyStyle?: TextStyle;
|
|
2294
|
+
/**
|
|
2295
|
+
* The parsed `a:rubyPr` node, kept verbatim so its attributes (`hps`,
|
|
2296
|
+
* `hpsRaise`, `hpsBaseText`, `lid`, ...) round-trip exactly; only an
|
|
2297
|
+
* edited {@link rubyAlignment} is written over it on save.
|
|
2298
|
+
*/
|
|
2299
|
+
rubyPropertiesXml?: XmlObject;
|
|
2300
|
+
/**
|
|
2301
|
+
* What each of a ruby run's two base-side `a:rPr`s authored on its own:
|
|
2302
|
+
* `outer` is the containing `a:r`'s, `base` the `a:rubyBase` run's. The
|
|
2303
|
+
* flat {@link style} merges both for rendering; these let the writer give
|
|
2304
|
+
* each `a:rPr` back only its own properties (plus any later edit).
|
|
2305
|
+
*/
|
|
2306
|
+
rubyRunAuthoredStyles?: {
|
|
2307
|
+
outer?: TextStyle;
|
|
2308
|
+
base?: TextStyle;
|
|
2309
|
+
};
|
|
2273
2310
|
}
|
|
2274
2311
|
//#endregion
|
|
2275
2312
|
//#region src/core/types/element-base.d.ts
|
|
@@ -4181,6 +4218,14 @@ interface PptxChartData {
|
|
|
4181
4218
|
style?: PptxChartStyle;
|
|
4182
4219
|
/** Grouping mode for bar/area/line charts: 'clustered' | 'stacked' | 'percentStacked' */
|
|
4183
4220
|
grouping?: 'clustered' | 'stacked' | 'percentStacked';
|
|
4221
|
+
/**
|
|
4222
|
+
* The source `c:grouping` was `standard`, which {@link grouping} folds into
|
|
4223
|
+
* `'clustered'` (a 2D bar chart draws the two the same). A 3D chart draws
|
|
4224
|
+
* `standard` differently: each series on its own depth row. The writer
|
|
4225
|
+
* emits `standard` again while `grouping` is still `'clustered'`, so the
|
|
4226
|
+
* chart round-trips unchanged.
|
|
4227
|
+
*/
|
|
4228
|
+
groupingStandard?: boolean;
|
|
4184
4229
|
/**
|
|
4185
4230
|
* Whether the first (or only) series varies its point colours
|
|
4186
4231
|
* (`c:varyColors/@val`). Pie/doughnut default this on; single-series
|
|
@@ -5578,6 +5623,14 @@ interface PptxSmartArtNode {
|
|
|
5578
5623
|
* quick-style variation) applied to every other node.
|
|
5579
5624
|
*/
|
|
5580
5625
|
coherent3DOff?: boolean;
|
|
5626
|
+
/**
|
|
5627
|
+
* The layout variables PowerPoint recorded for each presentation node
|
|
5628
|
+
* this point drives (`dgm:prSet/@presName` -> `dgm:presLayoutVars`
|
|
5629
|
+
* variable -> `@val`), e.g. `{ hierRoot1: { hierBranch: 'l' } }` for an
|
|
5630
|
+
* org-chart manager set to "Left Hanging". Read-only: the presentation
|
|
5631
|
+
* points themselves round-trip verbatim.
|
|
5632
|
+
*/
|
|
5633
|
+
presLayoutVarsByName?: Record<string, Record<string, string>>;
|
|
5581
5634
|
/**
|
|
5582
5635
|
* Per-run text + run-properties for the node's first paragraph, captured at
|
|
5583
5636
|
* parse time. When the joined run text still equals {@link text} (the node
|
|
@@ -5647,6 +5700,16 @@ interface PptxSmartArtQuickStyleLabel {
|
|
|
5647
5700
|
name: string;
|
|
5648
5701
|
/** Theme-resolved `dgm:style` refs for this label's role, when available. */
|
|
5649
5702
|
resolvedStyle?: PptxSmartArtResolvedStyleRef;
|
|
5703
|
+
/**
|
|
5704
|
+
* The label's own `dgm:scene3d` (per-shape camera + light rig). PowerPoint
|
|
5705
|
+
* copies it onto a shape's cached `a:scene3d` unless it is the default
|
|
5706
|
+
* front camera with a `threePt` light (see `applySmartArtQuickStyle3d`).
|
|
5707
|
+
*/
|
|
5708
|
+
scene3d?: Pptx3DScene;
|
|
5709
|
+
/** The label's own `dgm:sp3d` (bevel / extrusion / contour / material); absent when empty. */
|
|
5710
|
+
shape3d?: Pptx3DShape;
|
|
5711
|
+
/** The label's `dgm:txPr/a:sp3d` label-text extrusion (Bird's Eye Scene). */
|
|
5712
|
+
text3d?: Text3DStyle;
|
|
5650
5713
|
}
|
|
5651
5714
|
/** CT_CTStyleLabel metadata from a color-transform definition. */
|
|
5652
5715
|
interface PptxSmartArtColorStyleLabel {
|
|
@@ -5714,9 +5777,10 @@ interface PptxSmartArtQuickStyle extends PptxSmartArtDefinitionMetadata {
|
|
|
5714
5777
|
* for the "Scene" quick styles (Brick, Flat, Metallic, Sunset, Bird's Eye
|
|
5715
5778
|
* Scene). One camera renders the whole diagram; per-shape `a:scene3d` is
|
|
5716
5779
|
* absent for those styles (see `PptxSmartArtDrawingShape.scene3d`). Each
|
|
5717
|
-
* `dgm:styleLbl` also carries its own per-label `dgm:scene3d`/`dgm:sp3d
|
|
5718
|
-
*
|
|
5719
|
-
*
|
|
5780
|
+
* `dgm:styleLbl` also carries its own per-label `dgm:scene3d`/`dgm:sp3d`
|
|
5781
|
+
* ({@link PptxSmartArtQuickStyleLabel.scene3d} / `shape3d` / `text3d`),
|
|
5782
|
+
* which PowerPoint bakes onto each cached shape; they are re-applied when a
|
|
5783
|
+
* structural edit regenerates the shapes.
|
|
5720
5784
|
*/
|
|
5721
5785
|
scene3d?: Pptx3DScene;
|
|
5722
5786
|
}
|
|
@@ -5847,6 +5911,11 @@ interface PptxSmartArtDrawingShape extends PptxCustomPathProperties {
|
|
|
5847
5911
|
fillNone?: boolean;
|
|
5848
5912
|
/** Solid fill colour (hex). */
|
|
5849
5913
|
fillColor?: string;
|
|
5914
|
+
/**
|
|
5915
|
+
* Opacity (0..1) of the solid fill, from the colour's `a:alpha` (Basic Venn
|
|
5916
|
+
* paints its circles at 50% so overlaps blend). Absent when opaque.
|
|
5917
|
+
*/
|
|
5918
|
+
fillOpacity?: number;
|
|
5850
5919
|
/**
|
|
5851
5920
|
* Gradient fill stops when the cached shape uses `a:gradFill`. Positions are
|
|
5852
5921
|
* 0..100 (percent). Renderers emit an SVG/CSS gradient instead of a flat box.
|
|
@@ -11265,6 +11334,8 @@ interface IPptxHandlerRuntime {
|
|
|
11265
11334
|
updateThemeColorScheme(colorScheme: PptxThemeColorScheme): Promise<void>;
|
|
11266
11335
|
updateThemeFontScheme(fontScheme: PptxThemeFontScheme): Promise<void>;
|
|
11267
11336
|
updateThemeName(name: string): Promise<void>;
|
|
11337
|
+
/** Resolve a `<p:style>` node against the loaded theme (see PptxHandlerRuntimeStyleMatrixResolve). */
|
|
11338
|
+
resolveStyleMatrixReferences(styleXml: XmlObject): ResolvedStyleMatrix;
|
|
11268
11339
|
applyTheme(colorScheme: PptxThemeColorScheme, fontScheme: PptxThemeFontScheme, themeName?: string): Promise<void>;
|
|
11269
11340
|
load(data: ArrayBuffer, options?: PptxHandlerLoadOptions): Promise<PptxData>;
|
|
11270
11341
|
getChartDataForGraphicFrame(slidePath: string, graphicFrame: XmlObject | undefined): Promise<PptxChartData | undefined>;
|
|
@@ -11560,6 +11631,14 @@ declare class PptxHandlerCore {
|
|
|
11560
11631
|
* @param name - New display name for the theme.
|
|
11561
11632
|
*/
|
|
11562
11633
|
updateThemeName(name: string): Promise<void>;
|
|
11634
|
+
/**
|
|
11635
|
+
* Resolve a `<p:style>` block (`a:lnRef` / `a:fillRef` / `a:effectRef` /
|
|
11636
|
+
* `a:fontRef`) against the loaded theme, exactly as the load path would for
|
|
11637
|
+
* a shape whose `spPr` authors nothing. Apply the returned `shapeStyle` to a
|
|
11638
|
+
* shape and it renders like PowerPoint's Shape Styles entry and saves as a
|
|
11639
|
+
* bare `<p:style>` with an empty `spPr`, which is what PowerPoint writes.
|
|
11640
|
+
*/
|
|
11641
|
+
resolveStyleMatrixReferences(styleXml: XmlObject): ResolvedStyleMatrix;
|
|
11563
11642
|
/**
|
|
11564
11643
|
* Apply a complete theme in one call (colour scheme + font scheme + optional name).
|
|
11565
11644
|
*
|
|
@@ -12659,6 +12738,15 @@ interface PictureBulletMarker {
|
|
|
12659
12738
|
imageRelId?: string;
|
|
12660
12739
|
}
|
|
12661
12740
|
//#endregion
|
|
12741
|
+
//#region src/render/text-east-asian-breaks.d.ts
|
|
12742
|
+
/** Which of the two behaviours a paragraph asks for. */
|
|
12743
|
+
interface EastAsianBreakOptions {
|
|
12744
|
+
/** `a:pPr/@hangingPunct="1"`. */
|
|
12745
|
+
hangingPunctuation: boolean;
|
|
12746
|
+
/** `a:pPr/@eaLnBrk="0"`: break between any two East Asian characters. */
|
|
12747
|
+
breakAnywhere: boolean;
|
|
12748
|
+
}
|
|
12749
|
+
//#endregion
|
|
12662
12750
|
//#region src/render/text-run-meta.d.ts
|
|
12663
12751
|
/** A run's resolved hyperlink target. */
|
|
12664
12752
|
interface RunHyperlink {
|
|
@@ -12832,6 +12920,8 @@ interface ParagraphRun {
|
|
|
12832
12920
|
* `paragraph-run-build.ts`).
|
|
12833
12921
|
*/
|
|
12834
12922
|
underlineWordPieces?: ScriptFontPiece[];
|
|
12923
|
+
/** The advance-carrying space after a hanging `、`/`。` (`text-east-asian-breaks`). */
|
|
12924
|
+
hangingSpace?: true;
|
|
12835
12925
|
/**
|
|
12836
12926
|
* `a:reflection` mirrored-sibling wrapper style for this run (the text-run
|
|
12837
12927
|
* counterpart of a shape/picture's `ComputedEffectStyle.reflection`), or
|
|
@@ -12915,6 +13005,12 @@ interface RenderParagraph {
|
|
|
12915
13005
|
* break rules, rendered differently in the other four bindings.
|
|
12916
13006
|
*/
|
|
12917
13007
|
paragraphStyle?: RunStyle;
|
|
13008
|
+
/**
|
|
13009
|
+
* `@hangingPunct` / `@eaLnBrk="0"` as resolved for this paragraph. The runs
|
|
13010
|
+
* above already carry their pieces; React, which rebuilds each segment's
|
|
13011
|
+
* pieces inside one span, re-applies `splitEastAsianBreaks` from this.
|
|
13012
|
+
*/
|
|
13013
|
+
eastAsianBreaks?: EastAsianBreakOptions;
|
|
12918
13014
|
}
|
|
12919
13015
|
//#endregion
|
|
12920
13016
|
//#region src/render/inline-list-types.d.ts
|
package/dist/viewer/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { E_ as l, T_ as S } from "../transition-overlay-
|
|
2
|
-
import { A as e, I as a, N as o, P as r, a as n, c as d, d as b, f as p, i as c, j as s, k as t, l as m, n as g, o as x, p as T, r as w, s as C, t as P, u as $ } from "../export-
|
|
1
|
+
import { E_ as l, T_ as S } from "../transition-overlay-DKx4G_5w.js";
|
|
2
|
+
import { A as e, I as a, N as o, P as r, a as n, c as d, d as b, f as p, i as c, j as s, k as t, l as m, n as g, o as x, p as T, r as w, s as C, t as P, u as $ } from "../export-eOlnlLkp.js";
|
|
3
3
|
var y = a, A = r, V = s, f = e, u = t, R = o;
|
|
4
4
|
export {
|
|
5
5
|
f as CollaborationCursors,
|