pptx-react-viewer 2.3.0 → 2.5.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 (152) hide show
  1. package/CHANGELOG.md +17 -0
  2. package/dist/{AiChatPanel-PXZYHJUB.mjs → AiChatPanel-EMF3UYCE.mjs} +4 -5
  3. package/dist/AiChatPanel-EMF3UYCE.mjs.br +0 -0
  4. package/dist/AiChatPanel-EMF3UYCE.mjs.gz +0 -0
  5. package/dist/{AiChatPanel-HC3CE3TL.js → AiChatPanel-OHSLJNYG.js} +23 -24
  6. package/dist/AiChatPanel-OHSLJNYG.js.br +0 -0
  7. package/dist/AiChatPanel-OHSLJNYG.js.gz +0 -0
  8. package/dist/{Model3DScene-37QZRHV5.js → Model3DScene-ULHIJPMU.js} +2 -3
  9. package/dist/Model3DScene-ULHIJPMU.js.br +0 -0
  10. package/dist/Model3DScene-ULHIJPMU.js.gz +0 -0
  11. package/dist/{Model3DScene-ZG4HTMPX.mjs → Model3DScene-X6QJTWHV.mjs} +1 -2
  12. package/dist/Model3DScene-X6QJTWHV.mjs.br +0 -0
  13. package/dist/Model3DScene-X6QJTWHV.mjs.gz +0 -0
  14. package/dist/{PowerPointViewer-gmU5rc7K.d.ts → PowerPointViewer-Cjn1RgSz.d.ts} +2 -2
  15. package/dist/{PowerPointViewer-gmU5rc7K.d.ts.map → PowerPointViewer-Cjn1RgSz.d.ts.map} +1 -1
  16. package/dist/{SurfaceChart3DScene-QIREQ66D.js → SurfaceChart3DScene-K7Q5NYZ4.js} +2 -3
  17. package/dist/SurfaceChart3DScene-K7Q5NYZ4.js.br +0 -0
  18. package/dist/SurfaceChart3DScene-K7Q5NYZ4.js.gz +0 -0
  19. package/dist/{SurfaceChart3DScene-Z7R6DZXN.mjs → SurfaceChart3DScene-PRCKQJQQ.mjs} +1 -2
  20. package/dist/SurfaceChart3DScene-PRCKQJQQ.mjs.br +0 -0
  21. package/dist/SurfaceChart3DScene-PRCKQJQQ.mjs.gz +0 -0
  22. package/dist/audience-content-store-BMlth_3U.d.ts +386 -0
  23. package/dist/audience-content-store-BMlth_3U.d.ts.map +1 -0
  24. package/dist/{chunk-YIFO3WQO.js → chunk-25VSL2BB.js} +1 -0
  25. package/dist/chunk-25VSL2BB.js.br +0 -0
  26. package/dist/chunk-25VSL2BB.js.gz +0 -0
  27. package/dist/{chunk-L7JNCVTF.js → chunk-7Q7AEPO7.js} +384 -332
  28. package/dist/chunk-7Q7AEPO7.js.br +0 -0
  29. package/dist/chunk-7Q7AEPO7.js.gz +0 -0
  30. package/dist/{chunk-ZLSVW5GP.js → chunk-I4AFCPUC.js} +876 -882
  31. package/dist/chunk-I4AFCPUC.js.br +0 -0
  32. package/dist/chunk-I4AFCPUC.js.gz +0 -0
  33. package/dist/{chunk-J5A22DZ7.mjs → chunk-JSFUU2BB.mjs} +36 -42
  34. package/dist/chunk-JSFUU2BB.mjs.br +0 -0
  35. package/dist/chunk-JSFUU2BB.mjs.gz +0 -0
  36. package/dist/{chunk-I5LEMC5C.mjs → chunk-LIQGO45T.mjs} +74 -22
  37. package/dist/chunk-LIQGO45T.mjs.br +0 -0
  38. package/dist/chunk-LIQGO45T.mjs.gz +0 -0
  39. package/dist/{chunk-JFNMD6TM.mjs → chunk-LTEDT475.js} +48579 -31703
  40. package/dist/chunk-LTEDT475.js.br +0 -0
  41. package/dist/chunk-LTEDT475.js.gz +0 -0
  42. package/dist/{chunk-EUIFPDXZ.js → chunk-MJAEB43A.js} +3 -3
  43. package/dist/chunk-MJAEB43A.js.br +0 -0
  44. package/dist/chunk-MJAEB43A.js.gz +0 -0
  45. package/dist/{chunk-P7UVBRFO.js → chunk-NVH3RIN7.js} +282 -291
  46. package/dist/chunk-NVH3RIN7.js.br +0 -0
  47. package/dist/chunk-NVH3RIN7.js.gz +0 -0
  48. package/dist/{chunk-VOHTAUN4.mjs → chunk-TGVID6BB.mjs} +41 -50
  49. package/dist/chunk-TGVID6BB.mjs.br +0 -0
  50. package/dist/chunk-TGVID6BB.mjs.gz +0 -0
  51. package/dist/{chunk-3TB45PVK.js → chunk-VOV2N3NY.mjs} +48075 -32275
  52. package/dist/chunk-VOV2N3NY.mjs.br +0 -0
  53. package/dist/chunk-VOV2N3NY.mjs.gz +0 -0
  54. package/dist/{chunk-M5YR3QSB.mjs → chunk-WJKMTDXS.mjs} +1 -1
  55. package/dist/chunk-WJKMTDXS.mjs.br +0 -0
  56. package/dist/chunk-WJKMTDXS.mjs.gz +0 -0
  57. package/dist/{chunk-PZTPX3HK.mjs → chunk-Z6HIZWIQ.mjs} +1 -0
  58. package/dist/chunk-Z6HIZWIQ.mjs.br +0 -0
  59. package/dist/chunk-Z6HIZWIQ.mjs.gz +0 -0
  60. package/dist/i18n.js +4 -4
  61. package/dist/i18n.js.br +0 -0
  62. package/dist/i18n.js.gz +0 -0
  63. package/dist/i18n.mjs +1 -1
  64. package/dist/i18n.mjs.br +0 -0
  65. package/dist/i18n.mjs.gz +0 -0
  66. package/dist/index.d.ts +112 -87
  67. package/dist/index.js +39 -40
  68. package/dist/index.js.br +0 -0
  69. package/dist/index.js.gz +0 -0
  70. package/dist/index.mjs +6 -7
  71. package/dist/index.mjs.br +0 -0
  72. package/dist/index.mjs.gz +0 -0
  73. package/dist/internals.d.ts +563 -514
  74. package/dist/internals.d.ts.map +1 -1
  75. package/dist/internals.js +79 -81
  76. package/dist/internals.js.br +0 -0
  77. package/dist/internals.js.gz +0 -0
  78. package/dist/internals.mjs +4 -6
  79. package/dist/internals.mjs.br +0 -0
  80. package/dist/internals.mjs.gz +0 -0
  81. package/dist/pptx-viewer.css +1 -1
  82. package/dist/pptx-viewer.css.br +0 -0
  83. package/dist/pptx-viewer.css.gz +0 -0
  84. package/dist/{animation-timeline-eb5z0SHW.d.ts → types-DciBT90G.d.ts} +4 -3
  85. package/dist/types-DciBT90G.d.ts.map +1 -0
  86. package/dist/{useViewerBuildingBlocks-CjureTRf.d.ts → useViewerBuildingBlocks-DMDZRawe.d.ts} +4 -4
  87. package/dist/{useViewerBuildingBlocks-CjureTRf.d.ts.map → useViewerBuildingBlocks-DMDZRawe.d.ts.map} +1 -1
  88. package/dist/viewer/index.d.ts +112 -88
  89. package/dist/viewer/index.js +22 -24
  90. package/dist/viewer/index.js.br +0 -0
  91. package/dist/viewer/index.js.gz +0 -0
  92. package/dist/viewer/index.mjs +6 -8
  93. package/dist/viewer/index.mjs.br +0 -0
  94. package/dist/viewer/index.mjs.gz +0 -0
  95. package/package.json +4 -4
  96. package/dist/AiChatPanel-HC3CE3TL.js.br +0 -0
  97. package/dist/AiChatPanel-HC3CE3TL.js.gz +0 -0
  98. package/dist/AiChatPanel-PXZYHJUB.mjs.br +0 -0
  99. package/dist/AiChatPanel-PXZYHJUB.mjs.gz +0 -0
  100. package/dist/Model3DScene-37QZRHV5.js.br +0 -0
  101. package/dist/Model3DScene-37QZRHV5.js.gz +0 -0
  102. package/dist/Model3DScene-ZG4HTMPX.mjs.br +0 -0
  103. package/dist/Model3DScene-ZG4HTMPX.mjs.gz +0 -0
  104. package/dist/SurfaceChart3DScene-QIREQ66D.js.br +0 -0
  105. package/dist/SurfaceChart3DScene-QIREQ66D.js.gz +0 -0
  106. package/dist/SurfaceChart3DScene-Z7R6DZXN.mjs.br +0 -0
  107. package/dist/SurfaceChart3DScene-Z7R6DZXN.mjs.gz +0 -0
  108. package/dist/animation-timeline-eb5z0SHW.d.ts.map +0 -1
  109. package/dist/chunk-3TB45PVK.js.br +0 -0
  110. package/dist/chunk-3TB45PVK.js.gz +0 -0
  111. package/dist/chunk-4AAFZFGH.mjs +0 -27633
  112. package/dist/chunk-4AAFZFGH.mjs.br +0 -0
  113. package/dist/chunk-4AAFZFGH.mjs.gz +0 -0
  114. package/dist/chunk-EUIFPDXZ.js.br +0 -0
  115. package/dist/chunk-EUIFPDXZ.js.gz +0 -0
  116. package/dist/chunk-I5LEMC5C.mjs.br +0 -0
  117. package/dist/chunk-I5LEMC5C.mjs.gz +0 -0
  118. package/dist/chunk-IKBO6CZC.js +0 -2
  119. package/dist/chunk-IKBO6CZC.js.br +0 -3
  120. package/dist/chunk-IKBO6CZC.js.gz +0 -0
  121. package/dist/chunk-J5A22DZ7.mjs.br +0 -0
  122. package/dist/chunk-J5A22DZ7.mjs.gz +0 -0
  123. package/dist/chunk-JFNMD6TM.mjs.br +0 -0
  124. package/dist/chunk-JFNMD6TM.mjs.gz +0 -0
  125. package/dist/chunk-KDW3LLG5.js +0 -28067
  126. package/dist/chunk-KDW3LLG5.js.br +0 -0
  127. package/dist/chunk-KDW3LLG5.js.gz +0 -0
  128. package/dist/chunk-L7JNCVTF.js.br +0 -0
  129. package/dist/chunk-L7JNCVTF.js.gz +0 -0
  130. package/dist/chunk-M5YR3QSB.mjs.br +0 -0
  131. package/dist/chunk-M5YR3QSB.mjs.gz +0 -0
  132. package/dist/chunk-P7UVBRFO.js.br +0 -0
  133. package/dist/chunk-P7UVBRFO.js.gz +0 -0
  134. package/dist/chunk-PZTPX3HK.mjs.br +0 -0
  135. package/dist/chunk-PZTPX3HK.mjs.gz +0 -0
  136. package/dist/chunk-T5U6P2JH.mjs +0 -1
  137. package/dist/chunk-T5U6P2JH.mjs.br +0 -0
  138. package/dist/chunk-T5U6P2JH.mjs.gz +0 -0
  139. package/dist/chunk-VOHTAUN4.mjs.br +0 -0
  140. package/dist/chunk-VOHTAUN4.mjs.gz +0 -0
  141. package/dist/chunk-YIFO3WQO.js.br +0 -0
  142. package/dist/chunk-YIFO3WQO.js.gz +0 -0
  143. package/dist/chunk-ZLSVW5GP.js.br +0 -0
  144. package/dist/chunk-ZLSVW5GP.js.gz +0 -0
  145. package/dist/dist-FTEVZZPM.js +0 -2283
  146. package/dist/dist-FTEVZZPM.js.br +0 -0
  147. package/dist/dist-FTEVZZPM.js.gz +0 -0
  148. package/dist/dist-L7GZVBMG.mjs +0 -2
  149. package/dist/dist-L7GZVBMG.mjs.br +0 -0
  150. package/dist/dist-L7GZVBMG.mjs.gz +0 -0
  151. package/dist/index-CDCSXtK3.d.ts +0 -685
  152. package/dist/index-CDCSXtK3.d.ts.map +0 -1
Binary file
Binary file
@@ -1,4 +1,4 @@
1
- import { ThemePresets, PptxMarkdownConverter } from './chunk-JFNMD6TM.mjs';
1
+ import { ThemePresets, PptxMarkdownConverter } from './chunk-VOV2N3NY.mjs';
2
2
  import { __export } from './chunk-XGB3TDIC.mjs';
3
3
  import * as mcp from 'pptx-viewer-mcp';
4
4
  import * as mcpSchemas from 'pptx-viewer-mcp/schemas';
Binary file
Binary file
@@ -375,6 +375,7 @@ var translationsEn = {
375
375
  "pptx.presentation.highlighter": "Highlighter",
376
376
  "pptx.presentation.eraser": "Eraser",
377
377
  "pptx.presentation.laserPointer": "Laser Pointer",
378
+ "pptx.presentation.endOfSlideShow": "End of slide show, click to exit.",
378
379
  "pptx.presentation.pointerTools": "Pointer Options",
379
380
  // Selection pane
380
381
  "pptx.selectionPane.title": "Selection Pane",
Binary file
Binary file
package/dist/i18n.js CHANGED
@@ -1,19 +1,19 @@
1
1
  'use strict';
2
2
 
3
- var chunkYIFO3WQO_js = require('./chunk-YIFO3WQO.js');
3
+ var chunk25VSL2BB_js = require('./chunk-25VSL2BB.js');
4
4
  require('./chunk-4VNS5WPM.js');
5
5
 
6
6
 
7
7
 
8
8
  Object.defineProperty(exports, "LOCALE_CATALOG", {
9
9
  enumerable: true,
10
- get: function () { return chunkYIFO3WQO_js.LOCALE_CATALOG; }
10
+ get: function () { return chunk25VSL2BB_js.LOCALE_CATALOG; }
11
11
  });
12
12
  Object.defineProperty(exports, "keyToLabel", {
13
13
  enumerable: true,
14
- get: function () { return chunkYIFO3WQO_js.keyToLabel; }
14
+ get: function () { return chunk25VSL2BB_js.keyToLabel; }
15
15
  });
16
16
  Object.defineProperty(exports, "translationsEn", {
17
17
  enumerable: true,
18
- get: function () { return chunkYIFO3WQO_js.translationsEn; }
18
+ get: function () { return chunk25VSL2BB_js.translationsEn; }
19
19
  });
package/dist/i18n.js.br CHANGED
Binary file
package/dist/i18n.js.gz CHANGED
Binary file
package/dist/i18n.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export { LOCALE_CATALOG, keyToLabel, translationsEn } from './chunk-PZTPX3HK.mjs';
1
+ export { LOCALE_CATALOG, keyToLabel, translationsEn } from './chunk-Z6HIZWIQ.mjs';
2
2
  import './chunk-XGB3TDIC.mjs';
package/dist/i18n.mjs.br CHANGED
Binary file
package/dist/i18n.mjs.gz CHANGED
Binary file
package/dist/index.d.ts CHANGED
@@ -554,6 +554,62 @@ interface PptxCustomPathProperties {
554
554
  customGeometryTextRect?: CustomGeometryTextRect;
555
555
  }
556
556
  //#endregion
557
+ //#region src/core/types/effect-dag.d.ts
558
+ type EffectDagBlendMode = 'darken' | 'lighten' | 'mult' | 'over' | 'screen';
559
+ type EffectDagContainerType = 'sib' | 'tree';
560
+ type EffectDagNode = EffectDagContainer | EffectDagBlend | EffectDagXfrm | EffectDagRelOff | EffectDagBlur | EffectDagAlphaOutset | EffectDagPresetShadow | EffectDagRawLeaf;
561
+ interface EffectDagContainer {
562
+ kind: 'cont';
563
+ type: EffectDagContainerType;
564
+ name?: string;
565
+ children: EffectDagNode[];
566
+ }
567
+ interface EffectDagBlend {
568
+ kind: 'blend';
569
+ mode: EffectDagBlendMode;
570
+ container: EffectDagContainer;
571
+ }
572
+ interface EffectDagXfrm {
573
+ kind: 'xfrmEffect';
574
+ sx?: number;
575
+ sy?: number;
576
+ kx?: number;
577
+ ky?: number;
578
+ tx?: number;
579
+ ty?: number;
580
+ }
581
+ interface EffectDagRelOff {
582
+ kind: 'relOff';
583
+ tx?: number;
584
+ ty?: number;
585
+ }
586
+ /** Typed CT_BlurEffect with its original payload retained for lossless edits. */
587
+ interface EffectDagBlur {
588
+ kind: 'blur';
589
+ radiusEmu?: number;
590
+ grow?: boolean;
591
+ xml: XmlObject;
592
+ }
593
+ /** Typed CT_AlphaOutsetEffect with original XML retained for lossless edits. */
594
+ interface EffectDagAlphaOutset {
595
+ kind: 'alphaOutset';
596
+ radiusEmu?: number;
597
+ xml: XmlObject;
598
+ }
599
+ /** Typed CT_PresetShadowEffect with colour and extension XML retained verbatim. */
600
+ interface EffectDagPresetShadow {
601
+ kind: 'prstShdw';
602
+ preset?: `shdw${number}`;
603
+ distanceEmu?: number;
604
+ direction?: number;
605
+ xml: XmlObject;
606
+ }
607
+ interface EffectDagRawLeaf {
608
+ kind: 'raw';
609
+ tag: string;
610
+ xml: Record<string, unknown>;
611
+ }
612
+ //#endregion
557
613
  //#region src/core/types/three-d.d.ts
558
614
  /**
559
615
  * 3-D effect properties, text warp (WordArt) presets, and scene/shape bevel
@@ -784,6 +840,18 @@ interface ShapeStyle {
784
840
  /** Original `gradFill` XML retained for unknown-child and extension round-tripping. */
785
841
  fillGradientXml?: XmlObject;
786
842
  fillMode?: 'solid' | 'gradient' | 'pattern' | 'none' | 'image' | 'theme' | 'group';
843
+ /**
844
+ * `<p:sp useBgFill="1">`: the shape paints with the SLIDE BACKGROUND's fill
845
+ * rather than its own or its theme style's.
846
+ *
847
+ * PowerPoint's designer emits full-bleed rectangles this way, and they also
848
+ * carry an `a:fillRef` pointing at `accent1`. Ignoring the attribute painted
849
+ * those panels in the accent colour, so a black-and-white title slide came out
850
+ * black-and-blue. The load pipeline copies the resolved slide background onto
851
+ * the fill fields; the flag stays for round-trip and for renderers that want
852
+ * to re-resolve against a changed background.
853
+ */
854
+ useBackgroundFill?: boolean;
787
855
  fillPatternPreset?: string;
788
856
  fillPatternBackgroundColor?: string;
789
857
  /** Original `pattFill` XML retained for unknown-child round-tripping. */
@@ -1016,6 +1084,15 @@ interface ShapeStyle {
1016
1084
  lineGlowOpacity?: number;
1017
1085
  /** Raw `a:effectDag` XML node preserved for round-trip serialisation. */
1018
1086
  effectDagXml?: XmlObject;
1087
+ /**
1088
+ * Typed effect graph parsed from {@link ShapeStyle.effectDagXml}. The four
1089
+ * structural container nodes (`a:cont`, `a:blend`, `a:xfrmEffect`,
1090
+ * `a:relOff`) are fully typed; any other leaf effect (e.g. `a:outerShdw`,
1091
+ * `a:glow`, `a:alphaInv`) is captured as
1092
+ * {@link import('./effect-dag').EffectDagRawLeaf} so we never have to
1093
+ * recurse into the full effect taxonomy.
1094
+ */
1095
+ effectDagTree?: EffectDagContainer;
1019
1096
  /** Grayscale flag from effectDag `a:grayscl`. */
1020
1097
  dagGrayscale?: boolean;
1021
1098
  /** Bi-level threshold (0-100) from effectDag `a:biLevel`. */
@@ -1450,6 +1527,20 @@ interface TextStyle {
1450
1527
  textPresetShadowDirection?: number;
1451
1528
  /** Text blur effect radius in px (`a:blur`). */
1452
1529
  textBlurRadius?: number;
1530
+ /**
1531
+ * Raw `a:effectDag` XML node from `a:rPr`, preserved verbatim for
1532
+ * round-trip serialisation. Mirrors the shape-level
1533
+ * {@link import('./shape-style').ShapeStyle.effectDagXml} field.
1534
+ */
1535
+ textEffectDagXml?: XmlObject;
1536
+ /**
1537
+ * Typed effect graph parsed from `textEffectDagXml`. The four structural
1538
+ * container nodes (`a:cont`, `a:blend`, `a:xfrmEffect`, `a:relOff`) are
1539
+ * fully typed; any other leaf effect is captured as
1540
+ * {@link import('./effect-dag').EffectDagRawLeaf} so we never have to
1541
+ * recurse into the full effect taxonomy.
1542
+ */
1543
+ textEffectDagTree?: EffectDagContainer;
1453
1544
  /** Text alpha modulation fixed (0-100) from `a:alphaModFix`. */
1454
1545
  textAlphaModFix?: number;
1455
1546
  /** Text alpha modulation from `a:alphaMod` (0-100 percentage). */
@@ -2840,62 +2931,6 @@ interface PptxChartData {
2840
2931
  clrMapOvr?: Record<string, string>;
2841
2932
  }
2842
2933
  //#endregion
2843
- //#region src/core/types/effect-dag.d.ts
2844
- type EffectDagBlendMode = 'darken' | 'lighten' | 'mult' | 'over' | 'screen';
2845
- type EffectDagContainerType = 'sib' | 'tree';
2846
- type EffectDagNode = EffectDagContainer | EffectDagBlend | EffectDagXfrm | EffectDagRelOff | EffectDagBlur | EffectDagAlphaOutset | EffectDagPresetShadow | EffectDagRawLeaf;
2847
- interface EffectDagContainer {
2848
- kind: 'cont';
2849
- type: EffectDagContainerType;
2850
- name?: string;
2851
- children: EffectDagNode[];
2852
- }
2853
- interface EffectDagBlend {
2854
- kind: 'blend';
2855
- mode: EffectDagBlendMode;
2856
- container: EffectDagContainer;
2857
- }
2858
- interface EffectDagXfrm {
2859
- kind: 'xfrmEffect';
2860
- sx?: number;
2861
- sy?: number;
2862
- kx?: number;
2863
- ky?: number;
2864
- tx?: number;
2865
- ty?: number;
2866
- }
2867
- interface EffectDagRelOff {
2868
- kind: 'relOff';
2869
- tx?: number;
2870
- ty?: number;
2871
- }
2872
- /** Typed CT_BlurEffect with its original payload retained for lossless edits. */
2873
- interface EffectDagBlur {
2874
- kind: 'blur';
2875
- radiusEmu?: number;
2876
- grow?: boolean;
2877
- xml: XmlObject;
2878
- }
2879
- /** Typed CT_AlphaOutsetEffect with original XML retained for lossless edits. */
2880
- interface EffectDagAlphaOutset {
2881
- kind: 'alphaOutset';
2882
- radiusEmu?: number;
2883
- xml: XmlObject;
2884
- }
2885
- /** Typed CT_PresetShadowEffect with colour and extension XML retained verbatim. */
2886
- interface EffectDagPresetShadow {
2887
- kind: 'prstShdw';
2888
- preset?: `shdw${number}`;
2889
- distanceEmu?: number;
2890
- direction?: number;
2891
- xml: XmlObject;
2892
- }
2893
- interface EffectDagRawLeaf {
2894
- kind: 'raw';
2895
- tag: string;
2896
- xml: Record<string, unknown>;
2897
- }
2898
- //#endregion
2899
2934
  //#region src/core/types/image.d.ts
2900
2935
  /**
2901
2936
  * Image recolour/adjustment properties parsed from blip extensions.
@@ -3098,36 +3133,6 @@ interface PptxImageProperties {
3098
3133
  /** Crop-to-shape — CSS clip-path shape name. */
3099
3134
  cropShape?: PptxCropShape;
3100
3135
  }
3101
- declare module "./index" {
3102
- interface TextStyle {
3103
- /**
3104
- * Raw `a:effectDag` XML node from `a:rPr`, preserved verbatim for
3105
- * round-trip serialisation. Mirrors the shape-level
3106
- * {@link import('./shape-style').ShapeStyle.effectDagXml} field.
3107
- */
3108
- textEffectDagXml?: XmlObject;
3109
- /**
3110
- * Typed effect graph parsed from `textEffectDagXml`. The four structural
3111
- * container nodes (`a:cont`, `a:blend`, `a:xfrmEffect`, `a:relOff`) are
3112
- * fully typed; any other leaf effect is captured as
3113
- * {@link EffectDagRawLeaf} so we never have to recurse into the full
3114
- * effect taxonomy.
3115
- */
3116
- textEffectDagTree?: EffectDagContainer;
3117
- }
3118
- }
3119
- declare module "./index" {
3120
- interface ShapeStyle {
3121
- /**
3122
- * Typed effect graph parsed from {@link ShapeStyle.effectDagXml}. The four
3123
- * structural container nodes (`a:cont`, `a:blend`, `a:xfrmEffect`,
3124
- * `a:relOff`) are fully typed; any other leaf effect (e.g. `a:outerShdw`,
3125
- * `a:glow`, `a:alphaInv`) is captured as {@link EffectDagRawLeaf} so we
3126
- * never have to recurse into the full effect taxonomy.
3127
- */
3128
- effectDagTree?: EffectDagContainer;
3129
- }
3130
- }
3131
3136
  //#endregion
3132
3137
  //#region src/core/types/media.d.ts
3133
3138
  /**
@@ -5184,6 +5189,27 @@ interface PptxNativeAnimation {
5184
5189
  soundPath?: string;
5185
5190
  /** Whether to stop any currently playing sound (`p:endSnd`). */
5186
5191
  stopSound?: boolean;
5192
+ /**
5193
+ * Whether the enclosing click-level group (a direct `p:par` child of the
5194
+ * `mainSeq`) begins automatically when the slide appears, rather than waiting
5195
+ * for a click.
5196
+ *
5197
+ * PowerPoint gates a click step with a lone `<p:cond delay="indefinite"/>`;
5198
+ * a group that also carries a time-node condition (`onBegin`/`onEnd` with a
5199
+ * `@tn`) or a finite delay starts on slide entry ("With/After Previous" as the
5200
+ * first effect on the slide). The flat animation list cannot express that on
5201
+ * its own, so the parse layer stamps it here.
5202
+ */
5203
+ groupAutoStart?: boolean;
5204
+ /**
5205
+ * Index of the enclosing effect-wrapper `p:par` inside the click-level group.
5206
+ *
5207
+ * Effects that share a wrapper are OOXML siblings: they all start when that
5208
+ * wrapper starts, and each `p:cond/@delay` is measured from the wrapper's
5209
+ * start, NOT chained off the effect before it. Playback uses this to place
5210
+ * simultaneous effects at their true offsets instead of accumulating delays.
5211
+ */
5212
+ parGroupIndex?: number;
5187
5213
  /** Structured start conditions parsed from `p:stCondLst`. */
5188
5214
  startConditions?: AnimationCondition[];
5189
5215
  /** Structured end conditions parsed from `p:endCondLst`. */
@@ -6847,7 +6873,6 @@ interface PptxEmbeddedFont {
6847
6873
  originalPartBytes?: Uint8Array;
6848
6874
  }
6849
6875
 
6850
- //#endregion
6851
6876
  //#region src/core/types/theme-presets.d.ts
6852
6877
  /**
6853
6878
  * A complete theme preset that can be applied to a presentation.
package/dist/index.js CHANGED
@@ -1,133 +1,132 @@
1
1
  'use strict';
2
2
 
3
- var chunkZLSVW5GP_js = require('./chunk-ZLSVW5GP.js');
4
- require('./chunk-EUIFPDXZ.js');
5
- var chunkL7JNCVTF_js = require('./chunk-L7JNCVTF.js');
6
- var chunkP7UVBRFO_js = require('./chunk-P7UVBRFO.js');
7
- var chunkKDW3LLG5_js = require('./chunk-KDW3LLG5.js');
8
- var chunkYIFO3WQO_js = require('./chunk-YIFO3WQO.js');
9
- require('./chunk-3TB45PVK.js');
3
+ var chunkI4AFCPUC_js = require('./chunk-I4AFCPUC.js');
4
+ require('./chunk-MJAEB43A.js');
5
+ var chunk7Q7AEPO7_js = require('./chunk-7Q7AEPO7.js');
6
+ var chunkNVH3RIN7_js = require('./chunk-NVH3RIN7.js');
7
+ var chunk25VSL2BB_js = require('./chunk-25VSL2BB.js');
8
+ var chunkLTEDT475_js = require('./chunk-LTEDT475.js');
10
9
  require('./chunk-4VNS5WPM.js');
11
10
 
12
11
 
13
12
 
14
13
  Object.defineProperty(exports, "PowerPointViewer", {
15
14
  enumerable: true,
16
- get: function () { return chunkZLSVW5GP_js.PowerPointViewer; }
15
+ get: function () { return chunkI4AFCPUC_js.PowerPointViewer; }
17
16
  });
18
17
  Object.defineProperty(exports, "SlideCanvas", {
19
18
  enumerable: true,
20
- get: function () { return chunkZLSVW5GP_js.SlideCanvas; }
19
+ get: function () { return chunkI4AFCPUC_js.SlideCanvas; }
21
20
  });
22
21
  Object.defineProperty(exports, "Toolbar", {
23
22
  enumerable: true,
24
- get: function () { return chunkZLSVW5GP_js.Toolbar; }
23
+ get: function () { return chunkI4AFCPUC_js.Toolbar; }
25
24
  });
26
25
  Object.defineProperty(exports, "ViewerThemeProvider", {
27
26
  enumerable: true,
28
- get: function () { return chunkZLSVW5GP_js.ViewerThemeProvider; }
27
+ get: function () { return chunkI4AFCPUC_js.ViewerThemeProvider; }
29
28
  });
30
29
  Object.defineProperty(exports, "useViewerTheme", {
31
30
  enumerable: true,
32
- get: function () { return chunkZLSVW5GP_js.useViewerTheme; }
31
+ get: function () { return chunkI4AFCPUC_js.useViewerTheme; }
33
32
  });
34
33
  Object.defineProperty(exports, "renderToCanvas", {
35
34
  enumerable: true,
36
- get: function () { return chunkL7JNCVTF_js.renderToCanvas; }
35
+ get: function () { return chunk7Q7AEPO7_js.renderToCanvas; }
37
36
  });
38
37
  Object.defineProperty(exports, "useViewerBuildingBlocks", {
39
38
  enumerable: true,
40
- get: function () { return chunkL7JNCVTF_js.useViewerBuildingBlocks; }
39
+ get: function () { return chunk7Q7AEPO7_js.useViewerBuildingBlocks; }
41
40
  });
42
41
  Object.defineProperty(exports, "getAnimationInitialStyle", {
43
42
  enumerable: true,
44
- get: function () { return chunkP7UVBRFO_js.getAnimationInitialStyle; }
43
+ get: function () { return chunkNVH3RIN7_js.getAnimationInitialStyle; }
44
+ });
45
+ Object.defineProperty(exports, "LOCALE_CATALOG", {
46
+ enumerable: true,
47
+ get: function () { return chunk25VSL2BB_js.LOCALE_CATALOG; }
45
48
  });
46
49
  Object.defineProperty(exports, "AVATAR_COLOR_SWATCHES", {
47
50
  enumerable: true,
48
- get: function () { return chunkKDW3LLG5_js.AVATAR_COLOR_SWATCHES; }
51
+ get: function () { return chunkLTEDT475_js.AVATAR_COLOR_SWATCHES; }
49
52
  });
50
53
  Object.defineProperty(exports, "DEFAULT_VIEWER_PROFILE", {
51
54
  enumerable: true,
52
- get: function () { return chunkKDW3LLG5_js.DEFAULT_VIEWER_PROFILE; }
55
+ get: function () { return chunkLTEDT475_js.DEFAULT_VIEWER_PROFILE; }
53
56
  });
54
57
  Object.defineProperty(exports, "THEME_CATALOG", {
55
58
  enumerable: true,
56
- get: function () { return chunkKDW3LLG5_js.THEME_CATALOG; }
59
+ get: function () { return chunkLTEDT475_js.THEME_CATALOG; }
57
60
  });
58
61
  Object.defineProperty(exports, "VIEWER_PREFS_STORAGE_KEY", {
59
62
  enumerable: true,
60
- get: function () { return chunkKDW3LLG5_js.VIEWER_PREFS_STORAGE_KEY; }
63
+ get: function () { return chunkLTEDT475_js.VIEWER_PREFS_STORAGE_KEY; }
61
64
  });
62
65
  Object.defineProperty(exports, "clearAllLocalViewerData", {
63
66
  enumerable: true,
64
- get: function () { return chunkKDW3LLG5_js.clearAllLocalViewerData; }
67
+ get: function () { return chunkLTEDT475_js.clearAllLocalViewerData; }
65
68
  });
66
69
  Object.defineProperty(exports, "clearStoredViewerPrefs", {
67
70
  enumerable: true,
68
- get: function () { return chunkKDW3LLG5_js.clearStoredViewerPrefs; }
71
+ get: function () { return chunkLTEDT475_js.clearStoredViewerPrefs; }
69
72
  });
70
73
  Object.defineProperty(exports, "defaultCssVars", {
71
74
  enumerable: true,
72
- get: function () { return chunkKDW3LLG5_js.defaultCssVars; }
75
+ get: function () { return chunkLTEDT475_js.defaultCssVars; }
73
76
  });
74
77
  Object.defineProperty(exports, "defaultRadius", {
75
78
  enumerable: true,
76
- get: function () { return chunkKDW3LLG5_js.defaultRadius; }
79
+ get: function () { return chunkLTEDT475_js.defaultRadius; }
77
80
  });
78
81
  Object.defineProperty(exports, "defaultThemeColors", {
79
82
  enumerable: true,
80
- get: function () { return chunkKDW3LLG5_js.defaultThemeColors; }
83
+ get: function () { return chunkLTEDT475_js.defaultThemeColors; }
81
84
  });
82
85
  Object.defineProperty(exports, "getLocalStorageUsageSummary", {
83
86
  enumerable: true,
84
- get: function () { return chunkKDW3LLG5_js.getLocalStorageUsageSummary; }
87
+ get: function () { return chunkLTEDT475_js.getLocalStorageUsageSummary; }
85
88
  });
86
89
  Object.defineProperty(exports, "readStoredViewerPrefs", {
87
90
  enumerable: true,
88
- get: function () { return chunkKDW3LLG5_js.readStoredViewerPrefs; }
91
+ get: function () { return chunkLTEDT475_js.readStoredViewerPrefs; }
89
92
  });
90
93
  Object.defineProperty(exports, "resolveProfileInitial", {
91
94
  enumerable: true,
92
- get: function () { return chunkKDW3LLG5_js.resolveProfileInitial; }
95
+ get: function () { return chunkLTEDT475_js.resolveProfileInitial; }
93
96
  });
94
97
  Object.defineProperty(exports, "resolveThemeCatalogEntry", {
95
98
  enumerable: true,
96
- get: function () { return chunkKDW3LLG5_js.resolveThemeCatalogEntry; }
99
+ get: function () { return chunkLTEDT475_js.resolveThemeCatalogEntry; }
97
100
  });
98
101
  Object.defineProperty(exports, "saveViewerProfile", {
99
102
  enumerable: true,
100
- get: function () { return chunkKDW3LLG5_js.saveViewerProfile; }
103
+ get: function () { return chunkLTEDT475_js.saveViewerProfile; }
101
104
  });
102
105
  Object.defineProperty(exports, "themeToCssVars", {
103
106
  enumerable: true,
104
- get: function () { return chunkKDW3LLG5_js.themeToCssVars; }
107
+ get: function () { return chunkLTEDT475_js.themeToCssVars; }
105
108
  });
106
109
  Object.defineProperty(exports, "vermilionDarkColors", {
107
110
  enumerable: true,
108
- get: function () { return chunkKDW3LLG5_js.vermilionDarkColors; }
111
+ get: function () { return chunkLTEDT475_js.vermilionDarkColors; }
109
112
  });
110
113
  Object.defineProperty(exports, "vermilionDarkTheme", {
111
114
  enumerable: true,
112
- get: function () { return chunkKDW3LLG5_js.vermilionDarkTheme; }
115
+ get: function () { return chunkLTEDT475_js.vermilionDarkTheme; }
113
116
  });
114
117
  Object.defineProperty(exports, "vermilionLightColors", {
115
118
  enumerable: true,
116
- get: function () { return chunkKDW3LLG5_js.vermilionLightColors; }
119
+ get: function () { return chunkLTEDT475_js.vermilionLightColors; }
117
120
  });
118
121
  Object.defineProperty(exports, "vermilionLightTheme", {
119
122
  enumerable: true,
120
- get: function () { return chunkKDW3LLG5_js.vermilionLightTheme; }
123
+ get: function () { return chunkLTEDT475_js.vermilionLightTheme; }
121
124
  });
122
125
  Object.defineProperty(exports, "vermilionRadius", {
123
126
  enumerable: true,
124
- get: function () { return chunkKDW3LLG5_js.vermilionRadius; }
127
+ get: function () { return chunkLTEDT475_js.vermilionRadius; }
125
128
  });
126
129
  Object.defineProperty(exports, "writeStoredViewerPrefs", {
127
130
  enumerable: true,
128
- get: function () { return chunkKDW3LLG5_js.writeStoredViewerPrefs; }
129
- });
130
- Object.defineProperty(exports, "LOCALE_CATALOG", {
131
- enumerable: true,
132
- get: function () { return chunkYIFO3WQO_js.LOCALE_CATALOG; }
131
+ get: function () { return chunkLTEDT475_js.writeStoredViewerPrefs; }
133
132
  });
package/dist/index.js.br CHANGED
Binary file
package/dist/index.js.gz CHANGED
Binary file
package/dist/index.mjs CHANGED
@@ -1,8 +1,7 @@
1
- export { PowerPointViewer, SlideCanvas, Toolbar, ViewerThemeProvider, useViewerTheme } from './chunk-J5A22DZ7.mjs';
2
- import './chunk-M5YR3QSB.mjs';
3
- export { renderToCanvas, useViewerBuildingBlocks } from './chunk-I5LEMC5C.mjs';
4
- export { getAnimationInitialStyle } from './chunk-VOHTAUN4.mjs';
5
- export { AVATAR_COLOR_SWATCHES, DEFAULT_VIEWER_PROFILE, THEME_CATALOG, VIEWER_PREFS_STORAGE_KEY, clearAllLocalViewerData, clearStoredViewerPrefs, defaultCssVars, defaultRadius, defaultThemeColors, getLocalStorageUsageSummary, readStoredViewerPrefs, resolveProfileInitial, resolveThemeCatalogEntry, saveViewerProfile, themeToCssVars, vermilionDarkColors, vermilionDarkTheme, vermilionLightColors, vermilionLightTheme, vermilionRadius, writeStoredViewerPrefs } from './chunk-4AAFZFGH.mjs';
6
- export { LOCALE_CATALOG } from './chunk-PZTPX3HK.mjs';
7
- import './chunk-JFNMD6TM.mjs';
1
+ export { PowerPointViewer, SlideCanvas, Toolbar, ViewerThemeProvider, useViewerTheme } from './chunk-JSFUU2BB.mjs';
2
+ import './chunk-WJKMTDXS.mjs';
3
+ export { renderToCanvas, useViewerBuildingBlocks } from './chunk-LIQGO45T.mjs';
4
+ export { getAnimationInitialStyle } from './chunk-TGVID6BB.mjs';
5
+ export { LOCALE_CATALOG } from './chunk-Z6HIZWIQ.mjs';
6
+ export { AVATAR_COLOR_SWATCHES, DEFAULT_VIEWER_PROFILE, THEME_CATALOG, VIEWER_PREFS_STORAGE_KEY, clearAllLocalViewerData, clearStoredViewerPrefs, defaultCssVars, defaultRadius, defaultThemeColors, getLocalStorageUsageSummary, readStoredViewerPrefs, resolveProfileInitial, resolveThemeCatalogEntry, saveViewerProfile, themeToCssVars, vermilionDarkColors, vermilionDarkTheme, vermilionLightColors, vermilionLightTheme, vermilionRadius, writeStoredViewerPrefs } from './chunk-VOV2N3NY.mjs';
8
7
  import './chunk-XGB3TDIC.mjs';
package/dist/index.mjs.br CHANGED
Binary file
package/dist/index.mjs.gz CHANGED
Binary file