pptx-react-viewer 4.1.6 → 4.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 (154) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/dist/{AiChatPanel-Y2RKSHOO.mjs → AiChatPanel-SEIRQ3XP.mjs} +3 -3
  3. package/dist/AiChatPanel-SEIRQ3XP.mjs.br +0 -0
  4. package/dist/AiChatPanel-SEIRQ3XP.mjs.gz +0 -0
  5. package/dist/{AiChatPanel-DRCY3T2Z.js → AiChatPanel-VVTLQXQ5.js} +27 -27
  6. package/dist/AiChatPanel-VVTLQXQ5.js.br +0 -0
  7. package/dist/AiChatPanel-VVTLQXQ5.js.gz +0 -0
  8. package/dist/{Model3DScene-ITHRMCLT.mjs → Model3DScene-DCTVSK2F.mjs} +1 -1
  9. package/dist/Model3DScene-DCTVSK2F.mjs.br +0 -0
  10. package/dist/Model3DScene-DCTVSK2F.mjs.gz +0 -0
  11. package/dist/{Model3DScene-VJZS726S.js → Model3DScene-SCWQXMEA.js} +2 -2
  12. package/dist/Model3DScene-SCWQXMEA.js.br +0 -0
  13. package/dist/Model3DScene-SCWQXMEA.js.gz +0 -0
  14. package/dist/{chunk-IXS7DALE.js → OrbitControls-4TDJCTBA.js} +1 -0
  15. package/dist/OrbitControls-4TDJCTBA.js.br +0 -0
  16. package/dist/OrbitControls-4TDJCTBA.js.gz +0 -0
  17. package/dist/{chunk-MV2GCDBR.mjs → OrbitControls-WCOIJFFL.mjs} +1 -0
  18. package/dist/OrbitControls-WCOIJFFL.mjs.br +0 -0
  19. package/dist/OrbitControls-WCOIJFFL.mjs.gz +0 -0
  20. package/dist/{chunk-2O66VMWK.js → chunk-3WYNGYB6.js} +5 -5
  21. package/dist/chunk-3WYNGYB6.js.br +0 -0
  22. package/dist/chunk-3WYNGYB6.js.gz +0 -0
  23. package/dist/{chunk-OFSKGB3W.mjs → chunk-4GTDG2FH.mjs} +157 -579
  24. package/dist/chunk-4GTDG2FH.mjs.br +0 -0
  25. package/dist/chunk-4GTDG2FH.mjs.gz +0 -0
  26. package/dist/{chunk-P5LF34BT.js → chunk-5MRNT4V6.js} +173 -173
  27. package/dist/chunk-5MRNT4V6.js.br +0 -0
  28. package/dist/chunk-5MRNT4V6.js.gz +0 -0
  29. package/dist/{chunk-KDTE5JOW.mjs → chunk-B5YZABYX.mjs} +1 -1
  30. package/dist/chunk-B5YZABYX.mjs.br +0 -0
  31. package/dist/chunk-B5YZABYX.mjs.gz +0 -0
  32. package/dist/{chunk-LNSYROED.js → chunk-KTSDPBQZ.js} +1309 -1210
  33. package/dist/chunk-KTSDPBQZ.js.br +0 -0
  34. package/dist/chunk-KTSDPBQZ.js.gz +0 -0
  35. package/dist/{chunk-QEYWSHNE.mjs → chunk-L4XBWL7J.mjs} +1 -1
  36. package/dist/chunk-L4XBWL7J.mjs.br +0 -0
  37. package/dist/chunk-L4XBWL7J.mjs.gz +0 -0
  38. package/dist/{chunk-VWGJXNMR.js → chunk-P2SBIMYF.js} +1645 -2073
  39. package/dist/chunk-P2SBIMYF.js.br +0 -0
  40. package/dist/chunk-P2SBIMYF.js.gz +0 -0
  41. package/dist/{chunk-QMSSDBKN.js → chunk-S65QSO6T.js} +26522 -22546
  42. package/dist/chunk-S65QSO6T.js.br +0 -0
  43. package/dist/chunk-S65QSO6T.js.gz +0 -0
  44. package/dist/{chunk-FT3MMIXW.mjs → chunk-VPJOJJ36.mjs} +26518 -22532
  45. package/dist/chunk-VPJOJJ36.mjs.br +0 -0
  46. package/dist/chunk-VPJOJJ36.mjs.gz +0 -0
  47. package/dist/{chunk-YHTDDCSC.mjs → chunk-ZYIJODUR.mjs} +254 -155
  48. package/dist/chunk-ZYIJODUR.mjs.br +0 -0
  49. package/dist/chunk-ZYIJODUR.mjs.gz +0 -0
  50. package/dist/index.d.ts +65 -18
  51. package/dist/index.js +47 -47
  52. package/dist/index.js.br +0 -0
  53. package/dist/index.js.gz +0 -0
  54. package/dist/index.mjs +5 -5
  55. package/dist/index.mjs.br +0 -0
  56. package/dist/index.mjs.gz +0 -0
  57. package/dist/internals.d.ts +65 -18
  58. package/dist/internals.js +104 -104
  59. package/dist/internals.js.br +0 -0
  60. package/dist/internals.js.gz +0 -0
  61. package/dist/internals.mjs +3 -3
  62. package/dist/internals.mjs.br +0 -0
  63. package/dist/internals.mjs.gz +0 -0
  64. package/dist/pptx-viewer.css +1 -1
  65. package/dist/pptx-viewer.css.br +0 -0
  66. package/dist/pptx-viewer.css.gz +0 -0
  67. package/dist/viewer/index.d.ts +48 -1
  68. package/dist/viewer/index.js +26 -26
  69. package/dist/viewer/index.js.br +0 -0
  70. package/dist/viewer/index.js.gz +0 -0
  71. package/dist/viewer/index.mjs +5 -5
  72. package/dist/viewer/index.mjs.br +0 -0
  73. package/dist/viewer/index.mjs.gz +0 -0
  74. package/package.json +1 -1
  75. package/dist/AiChatPanel-DRCY3T2Z.js.br +0 -0
  76. package/dist/AiChatPanel-DRCY3T2Z.js.gz +0 -0
  77. package/dist/AiChatPanel-Y2RKSHOO.mjs.br +0 -0
  78. package/dist/AiChatPanel-Y2RKSHOO.mjs.gz +0 -0
  79. package/dist/Area3DChartScene-J4LMNSGM.js +0 -64
  80. package/dist/Area3DChartScene-J4LMNSGM.js.br +0 -0
  81. package/dist/Area3DChartScene-J4LMNSGM.js.gz +0 -0
  82. package/dist/Area3DChartScene-TDACCSOI.mjs +0 -62
  83. package/dist/Area3DChartScene-TDACCSOI.mjs.br +0 -0
  84. package/dist/Area3DChartScene-TDACCSOI.mjs.gz +0 -0
  85. package/dist/Bar3DChartScene-AD72DLBJ.mjs +0 -62
  86. package/dist/Bar3DChartScene-AD72DLBJ.mjs.br +0 -0
  87. package/dist/Bar3DChartScene-AD72DLBJ.mjs.gz +0 -0
  88. package/dist/Bar3DChartScene-T7334CTK.js +0 -64
  89. package/dist/Bar3DChartScene-T7334CTK.js.br +0 -0
  90. package/dist/Bar3DChartScene-T7334CTK.js.gz +0 -0
  91. package/dist/Line3DChartScene-2ZQSCHK3.mjs +0 -62
  92. package/dist/Line3DChartScene-2ZQSCHK3.mjs.br +0 -0
  93. package/dist/Line3DChartScene-2ZQSCHK3.mjs.gz +0 -0
  94. package/dist/Line3DChartScene-ELVKCFJZ.js +0 -64
  95. package/dist/Line3DChartScene-ELVKCFJZ.js.br +0 -0
  96. package/dist/Line3DChartScene-ELVKCFJZ.js.gz +0 -0
  97. package/dist/Model3DScene-ITHRMCLT.mjs.br +0 -0
  98. package/dist/Model3DScene-ITHRMCLT.mjs.gz +0 -0
  99. package/dist/Model3DScene-VJZS726S.js.br +0 -0
  100. package/dist/Model3DScene-VJZS726S.js.gz +0 -0
  101. package/dist/OrbitControls-2XOMWUVE.mjs +0 -3
  102. package/dist/OrbitControls-2XOMWUVE.mjs.br +0 -0
  103. package/dist/OrbitControls-2XOMWUVE.mjs.gz +0 -0
  104. package/dist/OrbitControls-CGYUF3BY.js +0 -12
  105. package/dist/OrbitControls-CGYUF3BY.js.br +0 -0
  106. package/dist/OrbitControls-CGYUF3BY.js.gz +0 -0
  107. package/dist/PieChart3DScene-N3DM33FW.js +0 -58
  108. package/dist/PieChart3DScene-N3DM33FW.js.br +0 -0
  109. package/dist/PieChart3DScene-N3DM33FW.js.gz +0 -0
  110. package/dist/PieChart3DScene-PYHOA7BO.mjs +0 -56
  111. package/dist/PieChart3DScene-PYHOA7BO.mjs.br +0 -0
  112. package/dist/PieChart3DScene-PYHOA7BO.mjs.gz +0 -0
  113. package/dist/SmartArt3DScene-D4VNNPHS.mjs +0 -500
  114. package/dist/SmartArt3DScene-D4VNNPHS.mjs.br +0 -0
  115. package/dist/SmartArt3DScene-D4VNNPHS.mjs.gz +0 -0
  116. package/dist/SmartArt3DScene-NHD7CZJ5.js +0 -502
  117. package/dist/SmartArt3DScene-NHD7CZJ5.js.br +0 -0
  118. package/dist/SmartArt3DScene-NHD7CZJ5.js.gz +0 -0
  119. package/dist/SurfaceChart3DScene-IFBUOLNB.mjs +0 -62
  120. package/dist/SurfaceChart3DScene-IFBUOLNB.mjs.br +0 -0
  121. package/dist/SurfaceChart3DScene-IFBUOLNB.mjs.gz +0 -0
  122. package/dist/SurfaceChart3DScene-PUWIMT7V.js +0 -64
  123. package/dist/SurfaceChart3DScene-PUWIMT7V.js.br +0 -0
  124. package/dist/SurfaceChart3DScene-PUWIMT7V.js.gz +0 -0
  125. package/dist/chunk-2O66VMWK.js.br +0 -0
  126. package/dist/chunk-2O66VMWK.js.gz +0 -0
  127. package/dist/chunk-DNR6CH6I.js +0 -30
  128. package/dist/chunk-DNR6CH6I.js.br +0 -0
  129. package/dist/chunk-DNR6CH6I.js.gz +0 -0
  130. package/dist/chunk-FT3MMIXW.mjs.br +0 -0
  131. package/dist/chunk-FT3MMIXW.mjs.gz +0 -0
  132. package/dist/chunk-IXS7DALE.js.br +0 -0
  133. package/dist/chunk-IXS7DALE.js.gz +0 -0
  134. package/dist/chunk-KDTE5JOW.mjs.br +0 -0
  135. package/dist/chunk-KDTE5JOW.mjs.gz +0 -0
  136. package/dist/chunk-LNSYROED.js.br +0 -0
  137. package/dist/chunk-LNSYROED.js.gz +0 -0
  138. package/dist/chunk-MV2GCDBR.mjs.br +0 -0
  139. package/dist/chunk-MV2GCDBR.mjs.gz +0 -0
  140. package/dist/chunk-OFSKGB3W.mjs.br +0 -0
  141. package/dist/chunk-OFSKGB3W.mjs.gz +0 -0
  142. package/dist/chunk-P5LF34BT.js.br +0 -0
  143. package/dist/chunk-P5LF34BT.js.gz +0 -0
  144. package/dist/chunk-QEYWSHNE.mjs.br +0 -0
  145. package/dist/chunk-QEYWSHNE.mjs.gz +0 -0
  146. package/dist/chunk-QMSSDBKN.js.br +0 -0
  147. package/dist/chunk-QMSSDBKN.js.gz +0 -0
  148. package/dist/chunk-T6GFCLSM.mjs +0 -27
  149. package/dist/chunk-T6GFCLSM.mjs.br +0 -4
  150. package/dist/chunk-T6GFCLSM.mjs.gz +0 -0
  151. package/dist/chunk-VWGJXNMR.js.br +0 -0
  152. package/dist/chunk-VWGJXNMR.js.gz +0 -0
  153. package/dist/chunk-YHTDDCSC.mjs.br +0 -0
  154. package/dist/chunk-YHTDDCSC.mjs.gz +0 -0
Binary file
Binary file
package/dist/index.d.ts CHANGED
@@ -5340,7 +5340,6 @@ interface PptxSmartArtNode {
5340
5340
  }
5341
5341
  //#endregion
5342
5342
  //#region src/core/types/smart-art-style-definition.d.ts
5343
- /** Editable metadata shared by DiagramML quick-style and color definitions. */
5344
5343
  interface PptxSmartArtDefinitionText {
5345
5344
  value: string;
5346
5345
  language?: string;
@@ -5440,6 +5439,17 @@ interface PptxSmartArtQuickStyle extends PptxSmartArtDefinitionMetadata {
5440
5439
  effectIntensity?: string;
5441
5440
  /** Ordered CT_StyleLabel metadata. Complex style payload remains preserved XML. */
5442
5441
  labels?: PptxSmartArtQuickStyleLabel[];
5442
+ /**
5443
+ * Whole-diagram 3D scene (camera preset/rotation/zoom/fov, light rig,
5444
+ * backdrop) from the quick style's own `dgm:styleDef/dgm:scene3d`, present
5445
+ * for the "Scene" quick styles (Brick, Flat, Metallic, Sunset, Bird's Eye
5446
+ * Scene). One camera renders the whole diagram; per-shape `a:scene3d` is
5447
+ * absent for those styles (see `PptxSmartArtDrawingShape.scene3d`). Each
5448
+ * `dgm:styleLbl` also carries its own per-label `dgm:scene3d`/`dgm:sp3d`,
5449
+ * but PowerPoint bakes those fully resolved onto each cached shape's own
5450
+ * `dsp:spPr/a:sp3d`, so only the diagram-level scene is exposed here.
5451
+ */
5452
+ scene3d?: Pptx3DScene;
5443
5453
  }
5444
5454
  //#endregion
5445
5455
  //#region src/core/types/smart-art.d.ts
@@ -5640,6 +5650,29 @@ interface PptxSmartArtDrawingShape extends PptxCustomPathProperties {
5640
5650
  textFrameY?: number;
5641
5651
  textFrameWidth?: number;
5642
5652
  textFrameHeight?: number;
5653
+ /**
5654
+ * 3D scene (camera/light rig/backdrop) from `dsp:spPr/a:scene3d`, when this
5655
+ * cached shape carries its own per-shape camera. Bevel quick styles
5656
+ * (Polished, Inset, Cartoon, Powder) cache one per shape (always
5657
+ * `orthographicFront`, so the 2D layout stays undistorted). Scene quick
5658
+ * styles (Brick, Flat, Metallic, Sunset, Bird's Eye) instead put ONE camera
5659
+ * on the whole diagram (see `PptxSmartArtQuickStyle.scene3d`) and leave this
5660
+ * undefined on every shape.
5661
+ */
5662
+ scene3d?: Pptx3DScene;
5663
+ /**
5664
+ * 3D extrusion/bevel/contour/material from `dsp:spPr/a:sp3d`. PowerPoint
5665
+ * caches this fully resolved (from the quick style's per-label `dgm:sp3d`)
5666
+ * on every shape for every non-flat quick style, bevel or scene alike.
5667
+ */
5668
+ shape3d?: Pptx3DShape;
5669
+ /**
5670
+ * Text-body 3D extrusion/bevel from `dsp:txBody/a:bodyPr/a:sp3d`. Rare:
5671
+ * present when a quick style extrudes the label text itself off the shape
5672
+ * face (e.g. Bird's Eye Scene: `extrusionH="28000"`), rather than only the
5673
+ * shape body.
5674
+ */
5675
+ text3d?: Text3DStyle;
5643
5676
  }
5644
5677
  /**
5645
5678
  * Presentation layout variables from `dgm:prSet/dgm:presLayoutVars` (data model)
@@ -11629,23 +11662,6 @@ declare const THEME_CATALOG: readonly ThemeCatalogEntry[];
11629
11662
  /** Look up a catalog entry by key, falling back to `undefined` (the built-in default) if not found. */
11630
11663
  declare function resolveThemeCatalogEntry(key: string | undefined, catalog?: readonly ThemeCatalogEntry[]): ViewerTheme | undefined;
11631
11664
 
11632
- //#region src/render/animation-text-style-resolve.d.ts
11633
- /**
11634
- * Framework-neutral text-style override a font-style emphasis effect applies
11635
- * on top of its target's own authored per-run bold/italic/underline/size/
11636
- * colour. Every binding maps this onto its own text container so it OVERRIDES
11637
- * the runs' inline styles (the runs carry explicit inline styles of their
11638
- * own, so plain CSS inheritance cannot reach them).
11639
- */
11640
- interface TextStyleAnimationDescriptor {
11641
- bold?: boolean;
11642
- italic?: boolean;
11643
- underline?: boolean;
11644
- /** Relative multiplier against each run's own authored font size. */
11645
- fontScale?: number;
11646
- color?: string;
11647
- }
11648
-
11649
11665
  //#region src/render/collaboration-presence.d.ts
11650
11666
  /** Connection lifecycle states for the Yjs WebSocket provider. */
11651
11667
  type ConnectionStatus$1 = 'disconnected' | 'connecting' | 'connected' | 'error';
@@ -12057,6 +12073,23 @@ type ElementBuildState = {
12057
12073
  mode: DiagramBuildMode;
12058
12074
  progress: number;
12059
12075
  };
12076
+ //#endregion
12077
+ //#region src/render/animation-text-style-resolve.d.ts
12078
+ /**
12079
+ * Framework-neutral text-style override a font-style emphasis effect applies
12080
+ * on top of its target's own authored per-run bold/italic/underline/size/
12081
+ * colour. Every binding maps this onto its own text container so it OVERRIDES
12082
+ * the runs' inline styles (the runs carry explicit inline styles of their
12083
+ * own, so plain CSS inheritance cannot reach them).
12084
+ */
12085
+ interface TextStyleAnimationDescriptor {
12086
+ bold?: boolean;
12087
+ italic?: boolean;
12088
+ underline?: boolean;
12089
+ /** Relative multiplier against each run's own authored font size. */
12090
+ fontScale?: number;
12091
+ color?: string;
12092
+ }
12060
12093
  /** Snapshot of a single element's animation state at a point in the timeline. */
12061
12094
  interface ElementAnimationState {
12062
12095
  /** Whether the element should be visible. */
@@ -13157,6 +13190,20 @@ interface ViewportFitOptions {
13157
13190
  /** Positive fit-factor ceiling; null allows enlargement without a ceiling. */
13158
13191
  maxFitScale?: number | null;
13159
13192
  }
13193
+ //#endregion
13194
+ //#region src/web-components/select-value.d.ts
13195
+ /** Public DOM shape used by all bindings; the element is not a native select. */
13196
+ interface PptxUiSelectElement extends HTMLElement {
13197
+ value: string;
13198
+ disabled: boolean;
13199
+ readonly options: HTMLOptionElement[];
13200
+ selectedIndex: number;
13201
+ }
13202
+ declare global {
13203
+ interface HTMLElementTagNameMap {
13204
+ 'pptx-ui-select': PptxUiSelectElement;
13205
+ }
13206
+ }
13160
13207
 
13161
13208
  //#region src/viewer/types-core.d.ts
13162
13209
  /**
package/dist/index.js CHANGED
@@ -1,10 +1,10 @@
1
1
  'use strict';
2
2
 
3
- var chunkLNSYROED_js = require('./chunk-LNSYROED.js');
4
- require('./chunk-2O66VMWK.js');
5
- var chunkVWGJXNMR_js = require('./chunk-VWGJXNMR.js');
6
- var chunkP5LF34BT_js = require('./chunk-P5LF34BT.js');
7
- var chunkQMSSDBKN_js = require('./chunk-QMSSDBKN.js');
3
+ var chunkKTSDPBQZ_js = require('./chunk-KTSDPBQZ.js');
4
+ require('./chunk-3WYNGYB6.js');
5
+ var chunkP2SBIMYF_js = require('./chunk-P2SBIMYF.js');
6
+ var chunk5MRNT4V6_js = require('./chunk-5MRNT4V6.js');
7
+ var chunkS65QSO6T_js = require('./chunk-S65QSO6T.js');
8
8
  var chunkNXGUR2DO_js = require('./chunk-NXGUR2DO.js');
9
9
  require('./chunk-4VNS5WPM.js');
10
10
 
@@ -12,171 +12,171 @@ require('./chunk-4VNS5WPM.js');
12
12
 
13
13
  Object.defineProperty(exports, "PowerPointViewer", {
14
14
  enumerable: true,
15
- get: function () { return chunkLNSYROED_js.PowerPointViewer; }
15
+ get: function () { return chunkKTSDPBQZ_js.PowerPointViewer; }
16
16
  });
17
17
  Object.defineProperty(exports, "SlideCanvas", {
18
18
  enumerable: true,
19
- get: function () { return chunkLNSYROED_js.SlideCanvas; }
19
+ get: function () { return chunkKTSDPBQZ_js.SlideCanvas; }
20
20
  });
21
21
  Object.defineProperty(exports, "SlideTemplateGalleryDialog", {
22
22
  enumerable: true,
23
- get: function () { return chunkLNSYROED_js.SlideTemplateGalleryDialog; }
23
+ get: function () { return chunkKTSDPBQZ_js.SlideTemplateGalleryDialog; }
24
24
  });
25
25
  Object.defineProperty(exports, "SlideTemplatePreview", {
26
26
  enumerable: true,
27
- get: function () { return chunkLNSYROED_js.SlideTemplatePreview; }
27
+ get: function () { return chunkKTSDPBQZ_js.SlideTemplatePreview; }
28
28
  });
29
29
  Object.defineProperty(exports, "Toolbar", {
30
30
  enumerable: true,
31
- get: function () { return chunkLNSYROED_js.Toolbar; }
31
+ get: function () { return chunkKTSDPBQZ_js.Toolbar; }
32
32
  });
33
33
  Object.defineProperty(exports, "ViewerThemeProvider", {
34
34
  enumerable: true,
35
- get: function () { return chunkLNSYROED_js.ViewerThemeProvider; }
35
+ get: function () { return chunkKTSDPBQZ_js.ViewerThemeProvider; }
36
36
  });
37
37
  Object.defineProperty(exports, "useViewerTheme", {
38
38
  enumerable: true,
39
- get: function () { return chunkLNSYROED_js.useViewerTheme; }
39
+ get: function () { return chunkKTSDPBQZ_js.useViewerTheme; }
40
40
  });
41
41
  Object.defineProperty(exports, "renderToCanvas", {
42
42
  enumerable: true,
43
- get: function () { return chunkVWGJXNMR_js.renderToCanvas; }
43
+ get: function () { return chunkP2SBIMYF_js.renderToCanvas; }
44
44
  });
45
45
  Object.defineProperty(exports, "useViewerBuildingBlocks", {
46
46
  enumerable: true,
47
- get: function () { return chunkVWGJXNMR_js.useViewerBuildingBlocks; }
47
+ get: function () { return chunkP2SBIMYF_js.useViewerBuildingBlocks; }
48
48
  });
49
49
  Object.defineProperty(exports, "getAnimationInitialStyle", {
50
50
  enumerable: true,
51
- get: function () { return chunkP5LF34BT_js.getAnimationInitialStyle; }
51
+ get: function () { return chunk5MRNT4V6_js.getAnimationInitialStyle; }
52
52
  });
53
53
  Object.defineProperty(exports, "AVATAR_COLOR_SWATCHES", {
54
54
  enumerable: true,
55
- get: function () { return chunkQMSSDBKN_js.AVATAR_COLOR_SWATCHES; }
55
+ get: function () { return chunkS65QSO6T_js.AVATAR_COLOR_SWATCHES; }
56
56
  });
57
57
  Object.defineProperty(exports, "DEFAULT_VIEWER_PROFILE", {
58
58
  enumerable: true,
59
- get: function () { return chunkQMSSDBKN_js.DEFAULT_VIEWER_PROFILE; }
59
+ get: function () { return chunkS65QSO6T_js.DEFAULT_VIEWER_PROFILE; }
60
60
  });
61
61
  Object.defineProperty(exports, "PPTX_OPEN_ACCEPT", {
62
62
  enumerable: true,
63
- get: function () { return chunkQMSSDBKN_js.PPTX_OPEN_ACCEPT; }
63
+ get: function () { return chunkS65QSO6T_js.PPTX_OPEN_ACCEPT; }
64
64
  });
65
65
  Object.defineProperty(exports, "PRESENTATION_OPEN_EXTENSIONS", {
66
66
  enumerable: true,
67
- get: function () { return chunkQMSSDBKN_js.PRESENTATION_OPEN_EXTENSIONS; }
67
+ get: function () { return chunkS65QSO6T_js.PRESENTATION_OPEN_EXTENSIONS; }
68
68
  });
69
69
  Object.defineProperty(exports, "SLIDE_TEMPLATES", {
70
70
  enumerable: true,
71
- get: function () { return chunkQMSSDBKN_js.SLIDE_TEMPLATES; }
71
+ get: function () { return chunkS65QSO6T_js.SLIDE_TEMPLATES; }
72
72
  });
73
73
  Object.defineProperty(exports, "THEME_CATALOG", {
74
74
  enumerable: true,
75
- get: function () { return chunkQMSSDBKN_js.THEME_CATALOG; }
75
+ get: function () { return chunkS65QSO6T_js.THEME_CATALOG; }
76
76
  });
77
77
  Object.defineProperty(exports, "VIEWER_PREFS_STORAGE_KEY", {
78
78
  enumerable: true,
79
- get: function () { return chunkQMSSDBKN_js.VIEWER_PREFS_STORAGE_KEY; }
79
+ get: function () { return chunkS65QSO6T_js.VIEWER_PREFS_STORAGE_KEY; }
80
80
  });
81
81
  Object.defineProperty(exports, "buildSlideTemplateContent", {
82
82
  enumerable: true,
83
- get: function () { return chunkQMSSDBKN_js.buildSlideTemplateContent; }
83
+ get: function () { return chunkS65QSO6T_js.buildSlideTemplateContent; }
84
84
  });
85
85
  Object.defineProperty(exports, "buildSlideTemplateSlide", {
86
86
  enumerable: true,
87
- get: function () { return chunkQMSSDBKN_js.buildSlideTemplateSlide; }
87
+ get: function () { return chunkS65QSO6T_js.buildSlideTemplateSlide; }
88
88
  });
89
89
  Object.defineProperty(exports, "clearAllLocalViewerData", {
90
90
  enumerable: true,
91
- get: function () { return chunkQMSSDBKN_js.clearAllLocalViewerData; }
91
+ get: function () { return chunkS65QSO6T_js.clearAllLocalViewerData; }
92
92
  });
93
93
  Object.defineProperty(exports, "clearStoredViewerPrefs", {
94
94
  enumerable: true,
95
- get: function () { return chunkQMSSDBKN_js.clearStoredViewerPrefs; }
95
+ get: function () { return chunkS65QSO6T_js.clearStoredViewerPrefs; }
96
96
  });
97
97
  Object.defineProperty(exports, "createImageElementFromFile", {
98
98
  enumerable: true,
99
- get: function () { return chunkQMSSDBKN_js.createImageElementFromFile; }
99
+ get: function () { return chunkS65QSO6T_js.createImageElementFromFile; }
100
100
  });
101
101
  Object.defineProperty(exports, "defaultCssVars", {
102
102
  enumerable: true,
103
- get: function () { return chunkQMSSDBKN_js.defaultCssVars; }
103
+ get: function () { return chunkS65QSO6T_js.defaultCssVars; }
104
104
  });
105
105
  Object.defineProperty(exports, "defaultRadius", {
106
106
  enumerable: true,
107
- get: function () { return chunkQMSSDBKN_js.defaultRadius; }
107
+ get: function () { return chunkS65QSO6T_js.defaultRadius; }
108
108
  });
109
109
  Object.defineProperty(exports, "defaultThemeColors", {
110
110
  enumerable: true,
111
- get: function () { return chunkQMSSDBKN_js.defaultThemeColors; }
111
+ get: function () { return chunkS65QSO6T_js.defaultThemeColors; }
112
112
  });
113
113
  Object.defineProperty(exports, "describeCollaborationShellState", {
114
114
  enumerable: true,
115
- get: function () { return chunkQMSSDBKN_js.describeCollaborationShellState; }
115
+ get: function () { return chunkS65QSO6T_js.describeCollaborationShellState; }
116
116
  });
117
117
  Object.defineProperty(exports, "getLocalStorageUsageSummary", {
118
118
  enumerable: true,
119
- get: function () { return chunkQMSSDBKN_js.getLocalStorageUsageSummary; }
119
+ get: function () { return chunkS65QSO6T_js.getLocalStorageUsageSummary; }
120
120
  });
121
121
  Object.defineProperty(exports, "isLegacyBinaryPresentation", {
122
122
  enumerable: true,
123
- get: function () { return chunkQMSSDBKN_js.isLegacyBinaryPresentation; }
123
+ get: function () { return chunkS65QSO6T_js.isLegacyBinaryPresentation; }
124
124
  });
125
125
  Object.defineProperty(exports, "isSupportedPresentationFile", {
126
126
  enumerable: true,
127
- get: function () { return chunkQMSSDBKN_js.isSupportedPresentationFile; }
127
+ get: function () { return chunkS65QSO6T_js.isSupportedPresentationFile; }
128
128
  });
129
129
  Object.defineProperty(exports, "presentationBaseName", {
130
130
  enumerable: true,
131
- get: function () { return chunkQMSSDBKN_js.presentationBaseName; }
131
+ get: function () { return chunkS65QSO6T_js.presentationBaseName; }
132
132
  });
133
133
  Object.defineProperty(exports, "readStoredViewerPrefs", {
134
134
  enumerable: true,
135
- get: function () { return chunkQMSSDBKN_js.readStoredViewerPrefs; }
135
+ get: function () { return chunkS65QSO6T_js.readStoredViewerPrefs; }
136
136
  });
137
137
  Object.defineProperty(exports, "resolveProfileInitial", {
138
138
  enumerable: true,
139
- get: function () { return chunkQMSSDBKN_js.resolveProfileInitial; }
139
+ get: function () { return chunkS65QSO6T_js.resolveProfileInitial; }
140
140
  });
141
141
  Object.defineProperty(exports, "resolveThemeCatalogEntry", {
142
142
  enumerable: true,
143
- get: function () { return chunkQMSSDBKN_js.resolveThemeCatalogEntry; }
143
+ get: function () { return chunkS65QSO6T_js.resolveThemeCatalogEntry; }
144
144
  });
145
145
  Object.defineProperty(exports, "saveViewerProfile", {
146
146
  enumerable: true,
147
- get: function () { return chunkQMSSDBKN_js.saveViewerProfile; }
147
+ get: function () { return chunkS65QSO6T_js.saveViewerProfile; }
148
148
  });
149
149
  Object.defineProperty(exports, "savedPresentationFileName", {
150
150
  enumerable: true,
151
- get: function () { return chunkQMSSDBKN_js.savedPresentationFileName; }
151
+ get: function () { return chunkS65QSO6T_js.savedPresentationFileName; }
152
152
  });
153
153
  Object.defineProperty(exports, "themeToCssVars", {
154
154
  enumerable: true,
155
- get: function () { return chunkQMSSDBKN_js.themeToCssVars; }
155
+ get: function () { return chunkS65QSO6T_js.themeToCssVars; }
156
156
  });
157
157
  Object.defineProperty(exports, "vermilionDarkColors", {
158
158
  enumerable: true,
159
- get: function () { return chunkQMSSDBKN_js.vermilionDarkColors; }
159
+ get: function () { return chunkS65QSO6T_js.vermilionDarkColors; }
160
160
  });
161
161
  Object.defineProperty(exports, "vermilionDarkTheme", {
162
162
  enumerable: true,
163
- get: function () { return chunkQMSSDBKN_js.vermilionDarkTheme; }
163
+ get: function () { return chunkS65QSO6T_js.vermilionDarkTheme; }
164
164
  });
165
165
  Object.defineProperty(exports, "vermilionLightColors", {
166
166
  enumerable: true,
167
- get: function () { return chunkQMSSDBKN_js.vermilionLightColors; }
167
+ get: function () { return chunkS65QSO6T_js.vermilionLightColors; }
168
168
  });
169
169
  Object.defineProperty(exports, "vermilionLightTheme", {
170
170
  enumerable: true,
171
- get: function () { return chunkQMSSDBKN_js.vermilionLightTheme; }
171
+ get: function () { return chunkS65QSO6T_js.vermilionLightTheme; }
172
172
  });
173
173
  Object.defineProperty(exports, "vermilionRadius", {
174
174
  enumerable: true,
175
- get: function () { return chunkQMSSDBKN_js.vermilionRadius; }
175
+ get: function () { return chunkS65QSO6T_js.vermilionRadius; }
176
176
  });
177
177
  Object.defineProperty(exports, "writeStoredViewerPrefs", {
178
178
  enumerable: true,
179
- get: function () { return chunkQMSSDBKN_js.writeStoredViewerPrefs; }
179
+ get: function () { return chunkS65QSO6T_js.writeStoredViewerPrefs; }
180
180
  });
181
181
  Object.defineProperty(exports, "LOCALE_CATALOG", {
182
182
  enumerable: true,
package/dist/index.js.br CHANGED
Binary file
package/dist/index.js.gz CHANGED
Binary file
package/dist/index.mjs CHANGED
@@ -1,7 +1,7 @@
1
- export { PowerPointViewer, SlideCanvas, SlideTemplateGalleryDialog, SlideTemplatePreview, Toolbar, ViewerThemeProvider, useViewerTheme } from './chunk-YHTDDCSC.mjs';
2
- import './chunk-QEYWSHNE.mjs';
3
- export { renderToCanvas, useViewerBuildingBlocks } from './chunk-OFSKGB3W.mjs';
4
- export { getAnimationInitialStyle } from './chunk-KDTE5JOW.mjs';
5
- export { AVATAR_COLOR_SWATCHES, DEFAULT_VIEWER_PROFILE, PPTX_OPEN_ACCEPT, PRESENTATION_OPEN_EXTENSIONS, SLIDE_TEMPLATES, THEME_CATALOG, VIEWER_PREFS_STORAGE_KEY, buildSlideTemplateContent, buildSlideTemplateSlide, clearAllLocalViewerData, clearStoredViewerPrefs, createImageElementFromFile, defaultCssVars, defaultRadius, defaultThemeColors, describeCollaborationShellState, getLocalStorageUsageSummary, isLegacyBinaryPresentation, isSupportedPresentationFile, presentationBaseName, readStoredViewerPrefs, resolveProfileInitial, resolveThemeCatalogEntry, saveViewerProfile, savedPresentationFileName, themeToCssVars, vermilionDarkColors, vermilionDarkTheme, vermilionLightColors, vermilionLightTheme, vermilionRadius, writeStoredViewerPrefs } from './chunk-FT3MMIXW.mjs';
1
+ export { PowerPointViewer, SlideCanvas, SlideTemplateGalleryDialog, SlideTemplatePreview, Toolbar, ViewerThemeProvider, useViewerTheme } from './chunk-ZYIJODUR.mjs';
2
+ import './chunk-L4XBWL7J.mjs';
3
+ export { renderToCanvas, useViewerBuildingBlocks } from './chunk-4GTDG2FH.mjs';
4
+ export { getAnimationInitialStyle } from './chunk-B5YZABYX.mjs';
5
+ export { AVATAR_COLOR_SWATCHES, DEFAULT_VIEWER_PROFILE, PPTX_OPEN_ACCEPT, PRESENTATION_OPEN_EXTENSIONS, SLIDE_TEMPLATES, THEME_CATALOG, VIEWER_PREFS_STORAGE_KEY, buildSlideTemplateContent, buildSlideTemplateSlide, clearAllLocalViewerData, clearStoredViewerPrefs, createImageElementFromFile, defaultCssVars, defaultRadius, defaultThemeColors, describeCollaborationShellState, getLocalStorageUsageSummary, isLegacyBinaryPresentation, isSupportedPresentationFile, presentationBaseName, readStoredViewerPrefs, resolveProfileInitial, resolveThemeCatalogEntry, saveViewerProfile, savedPresentationFileName, themeToCssVars, vermilionDarkColors, vermilionDarkTheme, vermilionLightColors, vermilionLightTheme, vermilionRadius, writeStoredViewerPrefs } from './chunk-VPJOJJ36.mjs';
6
6
  export { LOCALE_CATALOG } from './chunk-PC7H3C5W.mjs';
7
7
  import './chunk-XGB3TDIC.mjs';
package/dist/index.mjs.br CHANGED
Binary file
package/dist/index.mjs.gz CHANGED
Binary file
@@ -5319,7 +5319,6 @@ interface PptxSmartArtNode {
5319
5319
  }
5320
5320
  //#endregion
5321
5321
  //#region src/core/types/smart-art-style-definition.d.ts
5322
- /** Editable metadata shared by DiagramML quick-style and color definitions. */
5323
5322
  interface PptxSmartArtDefinitionText {
5324
5323
  value: string;
5325
5324
  language?: string;
@@ -5419,6 +5418,17 @@ interface PptxSmartArtQuickStyle extends PptxSmartArtDefinitionMetadata {
5419
5418
  effectIntensity?: string;
5420
5419
  /** Ordered CT_StyleLabel metadata. Complex style payload remains preserved XML. */
5421
5420
  labels?: PptxSmartArtQuickStyleLabel[];
5421
+ /**
5422
+ * Whole-diagram 3D scene (camera preset/rotation/zoom/fov, light rig,
5423
+ * backdrop) from the quick style's own `dgm:styleDef/dgm:scene3d`, present
5424
+ * for the "Scene" quick styles (Brick, Flat, Metallic, Sunset, Bird's Eye
5425
+ * Scene). One camera renders the whole diagram; per-shape `a:scene3d` is
5426
+ * absent for those styles (see `PptxSmartArtDrawingShape.scene3d`). Each
5427
+ * `dgm:styleLbl` also carries its own per-label `dgm:scene3d`/`dgm:sp3d`,
5428
+ * but PowerPoint bakes those fully resolved onto each cached shape's own
5429
+ * `dsp:spPr/a:sp3d`, so only the diagram-level scene is exposed here.
5430
+ */
5431
+ scene3d?: Pptx3DScene;
5422
5432
  }
5423
5433
  //#endregion
5424
5434
  //#region src/core/types/smart-art.d.ts
@@ -5619,6 +5629,29 @@ interface PptxSmartArtDrawingShape extends PptxCustomPathProperties {
5619
5629
  textFrameY?: number;
5620
5630
  textFrameWidth?: number;
5621
5631
  textFrameHeight?: number;
5632
+ /**
5633
+ * 3D scene (camera/light rig/backdrop) from `dsp:spPr/a:scene3d`, when this
5634
+ * cached shape carries its own per-shape camera. Bevel quick styles
5635
+ * (Polished, Inset, Cartoon, Powder) cache one per shape (always
5636
+ * `orthographicFront`, so the 2D layout stays undistorted). Scene quick
5637
+ * styles (Brick, Flat, Metallic, Sunset, Bird's Eye) instead put ONE camera
5638
+ * on the whole diagram (see `PptxSmartArtQuickStyle.scene3d`) and leave this
5639
+ * undefined on every shape.
5640
+ */
5641
+ scene3d?: Pptx3DScene;
5642
+ /**
5643
+ * 3D extrusion/bevel/contour/material from `dsp:spPr/a:sp3d`. PowerPoint
5644
+ * caches this fully resolved (from the quick style's per-label `dgm:sp3d`)
5645
+ * on every shape for every non-flat quick style, bevel or scene alike.
5646
+ */
5647
+ shape3d?: Pptx3DShape;
5648
+ /**
5649
+ * Text-body 3D extrusion/bevel from `dsp:txBody/a:bodyPr/a:sp3d`. Rare:
5650
+ * present when a quick style extrudes the label text itself off the shape
5651
+ * face (e.g. Bird's Eye Scene: `extrusionH="28000"`), rather than only the
5652
+ * shape body.
5653
+ */
5654
+ text3d?: Text3DStyle;
5622
5655
  }
5623
5656
  /**
5624
5657
  * Presentation layout variables from `dgm:prSet/dgm:presLayoutVars` (data model)
@@ -11472,23 +11505,6 @@ declare class PptxHandler extends PptxHandlerCore {
11472
11505
  /** Supported merge shape operations (matching PowerPoint's Merge Shapes menu). */
11473
11506
  type MergeShapeOperation = 'union' | 'intersect' | 'subtract' | 'fragment' | 'combine';
11474
11507
 
11475
- //#region src/render/animation-text-style-resolve.d.ts
11476
- /**
11477
- * Framework-neutral text-style override a font-style emphasis effect applies
11478
- * on top of its target's own authored per-run bold/italic/underline/size/
11479
- * colour. Every binding maps this onto its own text container so it OVERRIDES
11480
- * the runs' inline styles (the runs carry explicit inline styles of their
11481
- * own, so plain CSS inheritance cannot reach them).
11482
- */
11483
- interface TextStyleAnimationDescriptor {
11484
- bold?: boolean;
11485
- italic?: boolean;
11486
- underline?: boolean;
11487
- /** Relative multiplier against each run's own authored font size. */
11488
- fontScale?: number;
11489
- color?: string;
11490
- }
11491
-
11492
11508
  //#region src/render/collaboration-presence.d.ts
11493
11509
  /** Connection lifecycle states for the Yjs WebSocket provider. */
11494
11510
  type ConnectionStatus$1 = 'disconnected' | 'connecting' | 'connected' | 'error';
@@ -11905,6 +11921,23 @@ type ElementBuildState = {
11905
11921
  mode: DiagramBuildMode;
11906
11922
  progress: number;
11907
11923
  };
11924
+ //#endregion
11925
+ //#region src/render/animation-text-style-resolve.d.ts
11926
+ /**
11927
+ * Framework-neutral text-style override a font-style emphasis effect applies
11928
+ * on top of its target's own authored per-run bold/italic/underline/size/
11929
+ * colour. Every binding maps this onto its own text container so it OVERRIDES
11930
+ * the runs' inline styles (the runs carry explicit inline styles of their
11931
+ * own, so plain CSS inheritance cannot reach them).
11932
+ */
11933
+ interface TextStyleAnimationDescriptor {
11934
+ bold?: boolean;
11935
+ italic?: boolean;
11936
+ underline?: boolean;
11937
+ /** Relative multiplier against each run's own authored font size. */
11938
+ fontScale?: number;
11939
+ color?: string;
11940
+ }
11908
11941
  /** Snapshot of a single element's animation state at a point in the timeline. */
11909
11942
  interface ElementAnimationState {
11910
11943
  /** Whether the element should be visible. */
@@ -13523,6 +13556,20 @@ interface ViewportFitOptions {
13523
13556
  maxFitScale?: number | null;
13524
13557
  }
13525
13558
  //#endregion
13559
+ //#region src/web-components/select-value.d.ts
13560
+ /** Public DOM shape used by all bindings; the element is not a native select. */
13561
+ interface PptxUiSelectElement extends HTMLElement {
13562
+ value: string;
13563
+ disabled: boolean;
13564
+ readonly options: HTMLOptionElement[];
13565
+ selectedIndex: number;
13566
+ }
13567
+ declare global {
13568
+ interface HTMLElementTagNameMap {
13569
+ 'pptx-ui-select': PptxUiSelectElement;
13570
+ }
13571
+ }
13572
+ //#endregion
13526
13573
  //#region src/render/slide-transition-cinematic.d.ts
13527
13574
  /**
13528
13575
  * Resolve a p15 cinematic transition to its CSS `animation` descriptors, or