pptx-svelte-viewer 2.22.0 → 2.23.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 +40 -0
- package/dist/{AiChatPanel-DcT3NFmB.js → AiChatPanel-DaxBf2ts.js} +1 -1
- package/dist/{export-DoE4VlON.js → export-Mu_Z5RVP.js} +24512 -23801
- package/dist/index.d.ts +25 -1
- package/dist/index.js +1 -1
- package/dist/pptx-svelte-viewer.css +1 -1
- package/dist/viewer/export/export-wiring.svelte.d.ts +1 -0
- package/dist/viewer/export/export-wiring.svelte.d.ts.map +1 -1
- package/dist/viewer/export/rasterize-slide.d.ts +5 -0
- package/dist/viewer/export/rasterize-slide.d.ts.map +1 -1
- package/dist/viewer/index.d.ts +26 -1
- package/dist/viewer/index.js +1 -1
- package/dist/viewer/state/create-viewer-state-export-notes.svelte.d.ts +1 -0
- package/dist/viewer/state/create-viewer-state-export-notes.svelte.d.ts.map +1 -1
- package/dist/viewer/state/create-viewer-state-types.d.ts +1 -0
- package/dist/viewer/state/create-viewer-state-types.d.ts.map +1 -1
- package/dist/viewer/state/create-viewer-state.svelte.d.ts.map +1 -1
- package/dist/viewer/state/index.d.ts +1 -0
- package/dist/viewer/state/index.d.ts.map +1 -1
- package/dist/viewer/state/surface-chart-3d-context.d.ts +19 -0
- package/dist/viewer/state/surface-chart-3d-context.d.ts.map +1 -0
- package/dist/viewer/state/viewer-state-options.d.ts.map +1 -1
- package/dist/viewer/types.d.ts +10 -0
- package/dist/viewer/types.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1176,6 +1176,15 @@ interface ShapeStyle {
|
|
|
1176
1176
|
* authored on the shape and must not be written back as if it were.
|
|
1177
1177
|
*/
|
|
1178
1178
|
inheritedLineStyle?: ShapeStyle;
|
|
1179
|
+
/**
|
|
1180
|
+
* The shadow/glow/reflection/soft-edge/3D properties `<a:effectRef>`
|
|
1181
|
+
* resolved from the theme's `effectStyleLst`, recorded ONLY for the
|
|
1182
|
+
* properties the shape had not already authored itself. A shape whose
|
|
1183
|
+
* effects still match this baseline was never given its own effects and
|
|
1184
|
+
* must not have them written back as a literal `spPr/a:effectLst`; see
|
|
1185
|
+
* `authored-shape-style.ts`'s `effectIsPurelyStyleMatrix`.
|
|
1186
|
+
*/
|
|
1187
|
+
inheritedEffectStyle?: ShapeStyle;
|
|
1179
1188
|
}
|
|
1180
1189
|
//#endregion
|
|
1181
1190
|
//#region src/core/types/text.d.ts
|
|
@@ -4875,7 +4884,12 @@ interface ChartPptxElement extends PptxElementBase {
|
|
|
4875
4884
|
* A SmartArt diagram embedded via a `<p:graphicFrame>`.
|
|
4876
4885
|
*
|
|
4877
4886
|
* SmartArt data is extracted from `dgm:dataModel` parts. The editor
|
|
4878
|
-
*
|
|
4887
|
+
* supports real structural editing (adding, removing and reordering nodes,
|
|
4888
|
+
* editing node text, and switching layout presets) with a lossless
|
|
4889
|
+
* `ptLst` round-trip. When the file carries PowerPoint's own pre-computed
|
|
4890
|
+
* drawing part, that exact layout is used; otherwise an algorithmic layout
|
|
4891
|
+
* engine approximates it, so complex custom layouts may not match
|
|
4892
|
+
* PowerPoint pixel-for-pixel.
|
|
4879
4893
|
*/
|
|
4880
4894
|
interface SmartArtPptxElement extends PptxElementBase {
|
|
4881
4895
|
type: 'smartArt';
|
|
@@ -9842,6 +9856,16 @@ interface PowerPointViewerProps {
|
|
|
9842
9856
|
* false.
|
|
9843
9857
|
*/
|
|
9844
9858
|
smartArt3D?: boolean;
|
|
9859
|
+
/**
|
|
9860
|
+
* Opt in to the interactive Three.js surface-chart renderer. When `true`,
|
|
9861
|
+
* `surface`/`surface3D` charts render as a camera-orbitable WebGL mesh
|
|
9862
|
+
* (drag to rotate, scroll to zoom) instead of the static SVG isometric
|
|
9863
|
+
* projection. Chart marks are not selectable/draggable in this mode.
|
|
9864
|
+
* Requires the optional `three` peer dependency; when it is not installed
|
|
9865
|
+
* (or the chart has no plottable grid), the viewer transparently falls back
|
|
9866
|
+
* to the SVG surface renderer. Default `false`.
|
|
9867
|
+
*/
|
|
9868
|
+
surfaceChart3D?: boolean;
|
|
9845
9869
|
/**
|
|
9846
9870
|
* Enable in-place editing: click to select an element, drag to move, use the
|
|
9847
9871
|
* 8 handles to resize (Shift locks aspect) and the rotate handle to rotate,
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as e, G as a, J as t, K as o, Q as i, W as r, X as n, Y as l, Z as S, a as d, at as m, c as p, ct as T, dt as v, et as P, ft as g, it as u, l as h, lt as c, mt as A, nt as C, o as N, ot as f, pt as k, q as D, rt as E, s as x, st as b, t as B, tt as I, u as O, ut as _ } from "./export-
|
|
1
|
+
import { $ as e, G as a, J as t, K as o, Q as i, W as r, X as n, Y as l, Z as S, a as d, at as m, c as p, ct as T, dt as v, et as P, ft as g, it as u, l as h, lt as c, mt as A, nt as C, o as N, ot as f, pt as k, q as D, rt as E, s as x, st as b, t as B, tt as I, u as O, ut as _ } from "./export-Mu_Z5RVP.js";
|
|
2
2
|
import { i as R } from "./translator-CAcsC5k6.js";
|
|
3
3
|
import "./i18n.js";
|
|
4
4
|
export {
|