pptx-svelte-viewer 2.22.1 → 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/dist/index.d.ts CHANGED
@@ -4884,7 +4884,12 @@ interface ChartPptxElement extends PptxElementBase {
4884
4884
  * A SmartArt diagram embedded via a `<p:graphicFrame>`.
4885
4885
  *
4886
4886
  * SmartArt data is extracted from `dgm:dataModel` parts. The editor
4887
- * renders a simplified view; full editing is not supported.
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.
4888
4893
  */
4889
4894
  interface SmartArtPptxElement extends PptxElementBase {
4890
4895
  type: 'smartArt';
@@ -9851,6 +9856,16 @@ interface PowerPointViewerProps {
9851
9856
  * false.
9852
9857
  */
9853
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;
9854
9869
  /**
9855
9870
  * Enable in-place editing: click to select an element, drag to move, use the
9856
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-DNIxCUNt.js";
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 {