pptx-react-viewer 3.10.0 → 3.12.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 (157) hide show
  1. package/CHANGELOG.md +39 -0
  2. package/dist/{AiChatPanel-BQSUE2OO.mjs → AiChatPanel-SCA4RLFI.mjs} +4 -4
  3. package/dist/AiChatPanel-SCA4RLFI.mjs.br +0 -0
  4. package/dist/AiChatPanel-SCA4RLFI.mjs.gz +0 -0
  5. package/dist/{AiChatPanel-NSVSBJC7.js → AiChatPanel-TXCDQDHD.js} +25 -25
  6. package/dist/AiChatPanel-TXCDQDHD.js.br +0 -0
  7. package/dist/AiChatPanel-TXCDQDHD.js.gz +0 -0
  8. package/dist/{Area3DChartScene-2FQHPGNE.mjs → Area3DChartScene-NSV5AIMM.mjs} +1 -1
  9. package/dist/{Area3DChartScene-2FQHPGNE.mjs.br → Area3DChartScene-NSV5AIMM.mjs.br} +0 -0
  10. package/dist/Area3DChartScene-NSV5AIMM.mjs.gz +0 -0
  11. package/dist/{Area3DChartScene-V3W2V7N5.js → Area3DChartScene-YAK6W2J5.js} +2 -2
  12. package/dist/Area3DChartScene-YAK6W2J5.js.br +0 -0
  13. package/dist/Area3DChartScene-YAK6W2J5.js.gz +0 -0
  14. package/dist/{Bar3DChartScene-PSJEVANA.mjs → Bar3DChartScene-DFJ7XK3Q.mjs} +1 -1
  15. package/dist/{Bar3DChartScene-PSJEVANA.mjs.br → Bar3DChartScene-DFJ7XK3Q.mjs.br} +0 -0
  16. package/dist/Bar3DChartScene-DFJ7XK3Q.mjs.gz +0 -0
  17. package/dist/{Bar3DChartScene-55XMAUC7.js → Bar3DChartScene-WNBEX3TN.js} +2 -2
  18. package/dist/Bar3DChartScene-WNBEX3TN.js.br +0 -0
  19. package/dist/Bar3DChartScene-WNBEX3TN.js.gz +0 -0
  20. package/dist/{Line3DChartScene-5KACYRSQ.js → Line3DChartScene-PXA6WAQG.js} +2 -2
  21. package/dist/Line3DChartScene-PXA6WAQG.js.br +0 -0
  22. package/dist/Line3DChartScene-PXA6WAQG.js.gz +0 -0
  23. package/dist/{Line3DChartScene-BUVNUFNO.mjs → Line3DChartScene-TK6RPGET.mjs} +1 -1
  24. package/dist/{Line3DChartScene-BUVNUFNO.mjs.br → Line3DChartScene-TK6RPGET.mjs.br} +0 -0
  25. package/dist/Line3DChartScene-TK6RPGET.mjs.gz +0 -0
  26. package/dist/{Model3DScene-REKMR2L6.mjs → Model3DScene-7FZSQ3SP.mjs} +1 -1
  27. package/dist/Model3DScene-7FZSQ3SP.mjs.br +0 -0
  28. package/dist/Model3DScene-7FZSQ3SP.mjs.gz +0 -0
  29. package/dist/{Model3DScene-6U6TN36M.js → Model3DScene-FJQOUWCV.js} +2 -2
  30. package/dist/Model3DScene-FJQOUWCV.js.br +0 -0
  31. package/dist/Model3DScene-FJQOUWCV.js.gz +0 -0
  32. package/dist/{PieChart3DScene-4L2VVIUJ.mjs → PieChart3DScene-KKZTAIFB.mjs} +1 -1
  33. package/dist/{PieChart3DScene-4L2VVIUJ.mjs.br → PieChart3DScene-KKZTAIFB.mjs.br} +0 -0
  34. package/dist/PieChart3DScene-KKZTAIFB.mjs.gz +0 -0
  35. package/dist/{PieChart3DScene-MV3JF7EM.js → PieChart3DScene-P25IGVT6.js} +2 -2
  36. package/dist/PieChart3DScene-P25IGVT6.js.br +0 -0
  37. package/dist/PieChart3DScene-P25IGVT6.js.gz +0 -0
  38. package/dist/PowerPointViewer-Cl6jBPNw.d.ts.map +1 -1
  39. package/dist/{SurfaceChart3DScene-SFIOK3G3.js → SurfaceChart3DScene-36MT6QAK.js} +2 -2
  40. package/dist/SurfaceChart3DScene-36MT6QAK.js.br +0 -0
  41. package/dist/SurfaceChart3DScene-36MT6QAK.js.gz +0 -0
  42. package/dist/{SurfaceChart3DScene-ARE7OBFI.mjs → SurfaceChart3DScene-LWJCERTR.mjs} +1 -1
  43. package/dist/SurfaceChart3DScene-LWJCERTR.mjs.br +0 -0
  44. package/dist/SurfaceChart3DScene-LWJCERTR.mjs.gz +0 -0
  45. package/dist/{chunk-T4ZRSRQZ.mjs → chunk-2FSNTJVI.mjs} +1 -1
  46. package/dist/chunk-2FSNTJVI.mjs.br +0 -0
  47. package/dist/chunk-2FSNTJVI.mjs.gz +0 -0
  48. package/dist/{chunk-Y6GG2OOW.js → chunk-3AJ54EAB.js} +5 -0
  49. package/dist/chunk-3AJ54EAB.js.br +0 -0
  50. package/dist/chunk-3AJ54EAB.js.gz +0 -0
  51. package/dist/{chunk-2Q2NFPXA.js → chunk-3WK4AE52.js} +6144 -1844
  52. package/dist/chunk-3WK4AE52.js.br +0 -0
  53. package/dist/chunk-3WK4AE52.js.gz +0 -0
  54. package/dist/{chunk-HYUPPQJW.js → chunk-45AVHO7M.js} +5 -5
  55. package/dist/chunk-45AVHO7M.js.br +0 -0
  56. package/dist/chunk-45AVHO7M.js.gz +0 -0
  57. package/dist/{chunk-FHOUTYMB.js → chunk-AARQTIMN.js} +489 -456
  58. package/dist/chunk-AARQTIMN.js.br +0 -0
  59. package/dist/chunk-AARQTIMN.js.gz +0 -0
  60. package/dist/{chunk-UKPGYJ7G.mjs → chunk-C2BDHCL2.mjs} +6139 -1845
  61. package/dist/chunk-C2BDHCL2.mjs.br +0 -0
  62. package/dist/chunk-C2BDHCL2.mjs.gz +0 -0
  63. package/dist/{chunk-TAGG5YNA.mjs → chunk-HMX3MQR7.mjs} +5 -0
  64. package/dist/chunk-HMX3MQR7.mjs.br +0 -0
  65. package/dist/chunk-HMX3MQR7.mjs.gz +0 -0
  66. package/dist/{chunk-M6GIPAY4.mjs → chunk-HXDNYDRJ.mjs} +22 -8
  67. package/dist/chunk-HXDNYDRJ.mjs.br +0 -0
  68. package/dist/chunk-HXDNYDRJ.mjs.gz +0 -0
  69. package/dist/{chunk-XW46A7DN.js → chunk-O27KNZLJ.js} +195 -181
  70. package/dist/chunk-O27KNZLJ.js.br +0 -0
  71. package/dist/chunk-O27KNZLJ.js.gz +0 -0
  72. package/dist/{chunk-DZ3HWACD.js → chunk-T7MY5L3O.js} +1607 -1388
  73. package/dist/chunk-T7MY5L3O.js.br +0 -0
  74. package/dist/chunk-T7MY5L3O.js.gz +0 -0
  75. package/dist/{chunk-HJZA3O3S.mjs → chunk-WRHPPTYF.mjs} +53 -20
  76. package/dist/chunk-WRHPPTYF.mjs.br +0 -0
  77. package/dist/chunk-WRHPPTYF.mjs.gz +0 -0
  78. package/dist/{chunk-KWHURCVT.mjs → chunk-ZOEKVSSU.mjs} +361 -142
  79. package/dist/chunk-ZOEKVSSU.mjs.br +0 -0
  80. package/dist/chunk-ZOEKVSSU.mjs.gz +0 -0
  81. package/dist/i18n.js +4 -4
  82. package/dist/i18n.js.br +0 -0
  83. package/dist/i18n.js.gz +0 -0
  84. package/dist/i18n.mjs +1 -1
  85. package/dist/i18n.mjs.br +0 -0
  86. package/dist/i18n.mjs.gz +0 -0
  87. package/dist/index.d.ts +122 -17
  88. package/dist/index.js +47 -47
  89. package/dist/index.js.br +0 -0
  90. package/dist/index.js.gz +0 -0
  91. package/dist/index.mjs +6 -6
  92. package/dist/index.mjs.br +0 -0
  93. package/dist/index.mjs.gz +0 -0
  94. package/dist/internals.d.ts +187 -17
  95. package/dist/internals.d.ts.map +1 -1
  96. package/dist/internals.js +79 -79
  97. package/dist/internals.js.br +0 -0
  98. package/dist/internals.js.gz +0 -0
  99. package/dist/internals.mjs +4 -4
  100. package/dist/internals.mjs.br +0 -0
  101. package/dist/internals.mjs.gz +0 -0
  102. package/dist/viewer/index.d.ts +111 -17
  103. package/dist/viewer/index.js +27 -27
  104. package/dist/viewer/index.js.br +0 -0
  105. package/dist/viewer/index.js.gz +0 -0
  106. package/dist/viewer/index.mjs +6 -6
  107. package/dist/viewer/index.mjs.br +0 -0
  108. package/dist/viewer/index.mjs.gz +0 -0
  109. package/package.json +2 -2
  110. package/dist/AiChatPanel-BQSUE2OO.mjs.br +0 -0
  111. package/dist/AiChatPanel-BQSUE2OO.mjs.gz +0 -0
  112. package/dist/AiChatPanel-NSVSBJC7.js.br +0 -0
  113. package/dist/AiChatPanel-NSVSBJC7.js.gz +0 -0
  114. package/dist/Area3DChartScene-2FQHPGNE.mjs.gz +0 -0
  115. package/dist/Area3DChartScene-V3W2V7N5.js.br +0 -0
  116. package/dist/Area3DChartScene-V3W2V7N5.js.gz +0 -0
  117. package/dist/Bar3DChartScene-55XMAUC7.js.br +0 -0
  118. package/dist/Bar3DChartScene-55XMAUC7.js.gz +0 -0
  119. package/dist/Bar3DChartScene-PSJEVANA.mjs.gz +0 -0
  120. package/dist/Line3DChartScene-5KACYRSQ.js.br +0 -0
  121. package/dist/Line3DChartScene-5KACYRSQ.js.gz +0 -0
  122. package/dist/Line3DChartScene-BUVNUFNO.mjs.gz +0 -0
  123. package/dist/Model3DScene-6U6TN36M.js.br +0 -0
  124. package/dist/Model3DScene-6U6TN36M.js.gz +0 -0
  125. package/dist/Model3DScene-REKMR2L6.mjs.br +0 -0
  126. package/dist/Model3DScene-REKMR2L6.mjs.gz +0 -0
  127. package/dist/PieChart3DScene-4L2VVIUJ.mjs.gz +0 -0
  128. package/dist/PieChart3DScene-MV3JF7EM.js.br +0 -0
  129. package/dist/PieChart3DScene-MV3JF7EM.js.gz +0 -0
  130. package/dist/SurfaceChart3DScene-ARE7OBFI.mjs.br +0 -0
  131. package/dist/SurfaceChart3DScene-ARE7OBFI.mjs.gz +0 -0
  132. package/dist/SurfaceChart3DScene-SFIOK3G3.js.br +0 -0
  133. package/dist/SurfaceChart3DScene-SFIOK3G3.js.gz +0 -0
  134. package/dist/chunk-2Q2NFPXA.js.br +0 -0
  135. package/dist/chunk-2Q2NFPXA.js.gz +0 -0
  136. package/dist/chunk-DZ3HWACD.js.br +0 -0
  137. package/dist/chunk-DZ3HWACD.js.gz +0 -0
  138. package/dist/chunk-FHOUTYMB.js.br +0 -0
  139. package/dist/chunk-FHOUTYMB.js.gz +0 -0
  140. package/dist/chunk-HJZA3O3S.mjs.br +0 -0
  141. package/dist/chunk-HJZA3O3S.mjs.gz +0 -0
  142. package/dist/chunk-HYUPPQJW.js.br +0 -0
  143. package/dist/chunk-HYUPPQJW.js.gz +0 -0
  144. package/dist/chunk-KWHURCVT.mjs.br +0 -0
  145. package/dist/chunk-KWHURCVT.mjs.gz +0 -0
  146. package/dist/chunk-M6GIPAY4.mjs.br +0 -0
  147. package/dist/chunk-M6GIPAY4.mjs.gz +0 -0
  148. package/dist/chunk-T4ZRSRQZ.mjs.br +0 -0
  149. package/dist/chunk-T4ZRSRQZ.mjs.gz +0 -0
  150. package/dist/chunk-TAGG5YNA.mjs.br +0 -0
  151. package/dist/chunk-TAGG5YNA.mjs.gz +0 -0
  152. package/dist/chunk-UKPGYJ7G.mjs.br +0 -0
  153. package/dist/chunk-UKPGYJ7G.mjs.gz +0 -0
  154. package/dist/chunk-XW46A7DN.js.br +0 -0
  155. package/dist/chunk-XW46A7DN.js.gz +0 -0
  156. package/dist/chunk-Y6GG2OOW.js.br +0 -0
  157. package/dist/chunk-Y6GG2OOW.js.gz +0 -0
package/CHANGELOG.md CHANGED
@@ -7,6 +7,45 @@ A release listed with no entries carried no Conventional Commit in this package'
7
7
  scope: scripts/release-plan.mjs re-releases a package whenever any of its files
8
8
  change, not only on conventional ones.
9
9
 
10
+ ## [3.11.0](https://github.com/ChristopherVR/pptx-viewer/releases/tag/pptx-react-viewer@3.11.0) - 2026-09-10
11
+
12
+ ### Features
13
+
14
+ - **core:** Fit SmartArt layouts to PowerPoint's measured geometry (by @ChristopherVR) ([4f689ef](https://github.com/ChristopherVR/pptx-viewer/commit/4f689eff63edce2fa584929c54224142e3a20faf))
15
+
16
+ ### Testing
17
+
18
+ - **react:** Poll for the asynchronous OLE workbook commit (by @ChristopherVR) ([cffd4b8](https://github.com/ChristopherVR/pptx-viewer/commit/cffd4b8bcabcb302426e4a4eaf329c575a842a83))
19
+
20
+ ## [3.10.0](https://github.com/ChristopherVR/pptx-viewer/releases/tag/pptx-react-viewer@3.10.0) - 2026-09-09
21
+
22
+ ### Features
23
+
24
+ - **core:** Check salt-less modify verifiers instead of unlocking blindly (by @ChristopherVR) ([7c7f1da](https://github.com/ChristopherVR/pptx-viewer/commit/7c7f1da9f43e2d0836e675777d0f3036a0792c4e))
25
+ - **core:** Model the c15 filtered-title and Value From Cells chart extensions (by @ChristopherVR) ([880fa81](https://github.com/ChristopherVR/pptx-viewer/commit/880fa81e9f2149216e1fcbb057dc316dc02e640f))
26
+ - **core:** Ship PowerPoint's built-in stock sound gallery for effects and transitions (by @ChristopherVR) ([41854e5](https://github.com/ChristopherVR/pptx-viewer/commit/41854e561f3b56bbb177e761aadcfb66e608aba7))
27
+ - **core:** Write legacy binary .ppt (PowerPoint 97-2003) from the save pipeline (by @ChristopherVR) ([d3360c1](https://github.com/ChristopherVR/pptx-viewer/commit/d3360c18d30ab616ee0ba533a3cdf0357fa1e390))
28
+ - **core:** Edit embedded OLE content in place across all five bindings (by @ChristopherVR) ([3f51347](https://github.com/ChristopherVR/pptx-viewer/commit/3f513476e979cc2401cf0f20e5e000bc7af0a0ec))
29
+ - **core:** Edit legacy Word 97-2003 (.doc) OLE documents in place (by @ChristopherVR) ([cfad261](https://github.com/ChristopherVR/pptx-viewer/commit/cfad261b07d1ad5fb79b122fd8eeff29cfe3ab5e))
30
+ - **core:** Interpret SmartArt layouts against a COM-authored ground-truth corpus (by @ChristopherVR) ([d1b43a5](https://github.com/ChristopherVR/pptx-viewer/commit/d1b43a5203b499ac1b18c7da58a3d4a7c38ba640))
31
+
32
+ ### Bug Fixes
33
+
34
+ - **core:** Break the OLE nested-deck import cycle and declare the effect-sound fixture (by @ChristopherVR) ([7a99ea6](https://github.com/ChristopherVR/pptx-viewer/commit/7a99ea6acb31f4511bc68a504d971f0d6a20e954))
35
+ - **core:** Make SDK-authored .ppt decks open in PowerPoint (by @ChristopherVR) ([7433ee5](https://github.com/ChristopherVR/pptx-viewer/commit/7433ee510abc76bfdbe546874cb117387f381f18))
36
+ - **core:** Build the validator enum table through a pure call (by @ChristopherVR) ([d4977ea](https://github.com/ChristopherVR/pptx-viewer/commit/d4977eae77aff80a8b2b87bf87f8f76d89afb9c6))
37
+ - **core:** Replace a stray NUL byte inside a string literal (by @ChristopherVR) ([40bdda3](https://github.com/ChristopherVR/pptx-viewer/commit/40bdda3b5a066a89afcbf6beeabf4aa55837adad))
38
+ - **shared:** Sync the OLE content-dirty flag and settle three stale test premises (by @ChristopherVR) ([5302473](https://github.com/ChristopherVR/pptx-viewer/commit/53024730770ddbc50e997347c68c3a7737a686e3))
39
+ - **core:** Place cached SmartArt shapes at their raw offsets and keep a lone column in bounds (by @ChristopherVR) ([09ecba9](https://github.com/ChristopherVR/pptx-viewer/commit/09ecba9d245aa34d85e4a05eedb474775a413239))
40
+ - **shared:** Give the accessibility title field a name distinct from the chart title (by @ChristopherVR) ([37bbe6a](https://github.com/ChristopherVR/pptx-viewer/commit/37bbe6aa4b973feea6b04ffec7d80dc3a676e405))
41
+ - **shared:** Keep a plain Fly In on its directional preset when a real box is available (by @ChristopherVR) ([a026049](https://github.com/ChristopherVR/pptx-viewer/commit/a0260492322fe52a67b3d7fc01002ddf8f737211))
42
+
43
+ ### Dependencies
44
+
45
+ - **deps:** Bump the minor-and-patch group with 3 updates (by @dependabot[bot]) ([6e40989](https://github.com/ChristopherVR/pptx-viewer/commit/6e409896e58d8e60a6a94ae3c4d51c6b6a5e7108))
46
+ - **deps:** Merge dependabot #212 (by @ChristopherVR) ([a69fe7e](https://github.com/ChristopherVR/pptx-viewer/commit/a69fe7eaad513d06808570b31bf032f4310bafbd))
47
+ - **deps:** Update every dependency to its latest in-range version (by @ChristopherVR) ([1f242b7](https://github.com/ChristopherVR/pptx-viewer/commit/1f242b71b25a902f4ea817a45853c5f1a19db2c0))
48
+
10
49
  ## [3.9.0](https://github.com/ChristopherVR/pptx-viewer/releases/tag/pptx-react-viewer@3.9.0) - 2026-09-06
11
50
 
12
51
  ### Features
@@ -1,7 +1,7 @@
1
- import { deckIdFromBridge, isAiAvailable, createAiChatSession, toolCanvasTarget, createChatHistoryStore, focusTargetChips, isTwoTableFocus, mergeTablesDirective, humanizeDiffLine, buildDeckContext, describeToolActivity, summarizeToolArgs, toolLabel } from './chunk-T4ZRSRQZ.mjs';
2
- import { cn } from './chunk-M6GIPAY4.mjs';
3
- import './chunk-UKPGYJ7G.mjs';
4
- import './chunk-TAGG5YNA.mjs';
1
+ import { deckIdFromBridge, isAiAvailable, createAiChatSession, toolCanvasTarget, createChatHistoryStore, focusTargetChips, isTwoTableFocus, mergeTablesDirective, humanizeDiffLine, buildDeckContext, describeToolActivity, summarizeToolArgs, toolLabel } from './chunk-2FSNTJVI.mjs';
2
+ import { cn } from './chunk-HXDNYDRJ.mjs';
3
+ import './chunk-C2BDHCL2.mjs';
4
+ import './chunk-HMX3MQR7.mjs';
5
5
  import './chunk-XGB3TDIC.mjs';
6
6
  import { useMemo, useRef, useState, useEffect, useReducer, useCallback } from 'react';
7
7
  import { useTranslation } from 'react-i18next';
Binary file
Binary file
@@ -1,9 +1,9 @@
1
1
  'use strict';
2
2
 
3
- var chunkHYUPPQJW_js = require('./chunk-HYUPPQJW.js');
4
- var chunkXW46A7DN_js = require('./chunk-XW46A7DN.js');
5
- require('./chunk-2Q2NFPXA.js');
6
- require('./chunk-Y6GG2OOW.js');
3
+ var chunk45AVHO7M_js = require('./chunk-45AVHO7M.js');
4
+ var chunkO27KNZLJ_js = require('./chunk-O27KNZLJ.js');
5
+ require('./chunk-3WK4AE52.js');
6
+ require('./chunk-3AJ54EAB.js');
7
7
  require('./chunk-4VNS5WPM.js');
8
8
  var react = require('react');
9
9
  var reactI18next = require('react-i18next');
@@ -23,7 +23,7 @@ function useAiChat(bridge, config) {
23
23
  setInitError(void 0);
24
24
  void (async () => {
25
25
  try {
26
- const available = await chunkHYUPPQJW_js.isAiAvailable();
26
+ const available = await chunk45AVHO7M_js.isAiAvailable();
27
27
  if (cancelled) {
28
28
  return;
29
29
  }
@@ -31,7 +31,7 @@ function useAiChat(bridge, config) {
31
31
  setState("unavailable");
32
32
  return;
33
33
  }
34
- const built = await chunkHYUPPQJW_js.createAiChatSession(bridge, configRef.current);
34
+ const built = await chunk45AVHO7M_js.createAiChatSession(bridge, configRef.current);
35
35
  if (cancelled) {
36
36
  return;
37
37
  }
@@ -137,7 +137,7 @@ function withDeckContext(inner, bridge, strategy) {
137
137
  }
138
138
  let context = "";
139
139
  try {
140
- context = await chunkHYUPPQJW_js.buildDeckContext(bridge, { strategy, focus: {} });
140
+ context = await chunk45AVHO7M_js.buildDeckContext(bridge, { strategy, focus: {} });
141
141
  } catch {
142
142
  context = "";
143
143
  }
@@ -200,7 +200,7 @@ function useAiConversation(useChat, session, config, bridge, options = {}) {
200
200
  continue;
201
201
  }
202
202
  seen.add(call.toolCallId);
203
- onToolTargetRef.current?.(chunkHYUPPQJW_js.toolCanvasTarget(call.toolName, call.input));
203
+ onToolTargetRef.current?.(chunk45AVHO7M_js.toolCanvasTarget(call.toolName, call.input));
204
204
  }
205
205
  }, [chat.messages]);
206
206
  const send = react.useCallback(
@@ -276,7 +276,7 @@ function deriveTitle(messages) {
276
276
  }
277
277
  function useAiHistory(input) {
278
278
  const { deckId, messages, setMessages } = input;
279
- const store = react.useMemo(() => input.store ?? chunkHYUPPQJW_js.createChatHistoryStore(), [input.store]);
279
+ const store = react.useMemo(() => input.store ?? chunk45AVHO7M_js.createChatHistoryStore(), [input.store]);
280
280
  const [activeChatId, setActiveChatId] = react.useState(newChatId);
281
281
  const [chats, setChats] = react.useState([]);
282
282
  const createdAtRef = react.useRef(Date.now());
@@ -419,7 +419,7 @@ function AiComposer({
419
419
  disabled: value.trim().length === 0,
420
420
  title: t("pptx.ai.send"),
421
421
  "aria-label": t("pptx.ai.send"),
422
- className: chunkXW46A7DN_js.cn(
422
+ className: chunkO27KNZLJ_js.cn(
423
423
  "shrink-0 rounded-sm p-1.5 transition-colors",
424
424
  value.trim().length === 0 ? "text-muted-foreground/50" : "bg-primary text-primary-foreground hover:bg-primary/90"
425
425
  ),
@@ -442,15 +442,15 @@ function AiFocusBar({
442
442
  onClearPicks
443
443
  }) {
444
444
  const { t } = reactI18next.useTranslation();
445
- const chips = chunkHYUPPQJW_js.focusTargetChips(targets, slides);
446
- const twoTables = chunkHYUPPQJW_js.isTwoTableFocus(targets, slides);
445
+ const chips = chunk45AVHO7M_js.focusTargetChips(targets, slides);
446
+ const twoTables = chunk45AVHO7M_js.isTwoTableFocus(targets, slides);
447
447
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "border-b border-border bg-secondary/30", children: [
448
448
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-wrap items-center gap-1 px-2.5 py-1.5", children: [
449
449
  /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-[10px] font-semibold uppercase tracking-wide text-muted-foreground", children: t("pptx.ai.focusScope") }),
450
450
  chips.map((chip) => /* @__PURE__ */ jsxRuntime.jsx(
451
451
  "span",
452
452
  {
453
- className: chunkXW46A7DN_js.cn(
453
+ className: chunkO27KNZLJ_js.cn(
454
454
  "inline-flex max-w-[10rem] items-center rounded-full px-2 py-0.5 text-[11px]",
455
455
  hasPicks || isPinned ? "bg-primary/15 text-primary" : "bg-muted text-muted-foreground"
456
456
  ),
@@ -466,7 +466,7 @@ function AiFocusBar({
466
466
  {
467
467
  type: "button",
468
468
  onClick: () => onSendDirective(
469
- chunkHYUPPQJW_js.mergeTablesDirective(
469
+ chunk45AVHO7M_js.mergeTablesDirective(
470
470
  twoTables.slideIndex,
471
471
  twoTables.elementIdA,
472
472
  twoTables.elementIdB
@@ -487,7 +487,7 @@ function AiFocusBar({
487
487
  title: t("pptx.ai.pickElement"),
488
488
  "aria-label": t("pptx.ai.pickAria"),
489
489
  "aria-pressed": pickMode,
490
- className: chunkXW46A7DN_js.cn(
490
+ className: chunkO27KNZLJ_js.cn(
491
491
  "rounded-sm p-1",
492
492
  pickMode ? "bg-primary text-primary-foreground" : "text-muted-foreground hover:bg-accent"
493
493
  ),
@@ -566,7 +566,7 @@ function AiHistoryList({ chats, activeChatId, onResume, onDelete }) {
566
566
  {
567
567
  type: "button",
568
568
  onClick: () => onResume(chat.id),
569
- className: chunkXW46A7DN_js.cn(
569
+ className: chunkO27KNZLJ_js.cn(
570
570
  "flex min-w-0 flex-1 items-start gap-2 rounded-sm px-2 py-1.5 text-left hover:bg-accent",
571
571
  chat.id === activeChatId && "bg-accent/60"
572
572
  ),
@@ -721,26 +721,26 @@ function AiToolCallCard({ part }) {
721
721
  const failed = part.state === "output-error";
722
722
  const done = part.state === "output-available";
723
723
  const running = !failed && !done;
724
- const activity = chunkHYUPPQJW_js.describeToolActivity(part.toolName, part.input, running ? "present" : "past");
724
+ const activity = chunk45AVHO7M_js.describeToolActivity(part.toolName, part.input, running ? "present" : "past");
725
725
  const Icon = ICONS[activity.icon] ?? lu.LuWrench;
726
- const rawSummary = chunkHYUPPQJW_js.summarizeToolArgs(part.input);
726
+ const rawSummary = chunk45AVHO7M_js.summarizeToolArgs(part.input);
727
727
  const statusLabel = failed ? t("pptx.ai.toolFailed") : done ? t("pptx.ai.toolDone") : t("pptx.ai.toolRunning");
728
728
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "text-[12px]", children: [
729
729
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-1.5", children: [
730
730
  /* @__PURE__ */ jsxRuntime.jsx(
731
731
  Icon,
732
732
  {
733
- className: chunkXW46A7DN_js.cn(
733
+ className: chunkO27KNZLJ_js.cn(
734
734
  "w-3.5 h-3.5 shrink-0",
735
735
  failed ? "text-destructive" : "text-muted-foreground"
736
736
  )
737
737
  }
738
738
  ),
739
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: chunkXW46A7DN_js.cn("truncate", failed ? "text-destructive" : "text-foreground"), children: activity.label }),
739
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: chunkO27KNZLJ_js.cn("truncate", failed ? "text-destructive" : "text-foreground"), children: activity.label }),
740
740
  /* @__PURE__ */ jsxRuntime.jsxs(
741
741
  "span",
742
742
  {
743
- className: chunkXW46A7DN_js.cn(
743
+ className: chunkO27KNZLJ_js.cn(
744
744
  "ml-auto inline-flex items-center gap-1 rounded-sm px-1.5 py-0.5 text-[10px]",
745
745
  failed ? "bg-destructive/15 text-destructive" : done ? "bg-primary/10 text-primary" : "bg-muted text-muted-foreground"
746
746
  ),
@@ -757,7 +757,7 @@ function AiToolCallCard({ part }) {
757
757
  rawSummary && /* @__PURE__ */ jsxRuntime.jsxs("details", { className: "group mt-0.5 pl-5", children: [
758
758
  /* @__PURE__ */ jsxRuntime.jsx("summary", { className: "cursor-pointer list-none text-[10px] text-muted-foreground/70 hover:text-muted-foreground", children: t("pptx.ai.toolDetails") }),
759
759
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mt-0.5 break-words font-mono text-[10px] text-muted-foreground/80", children: [
760
- chunkHYUPPQJW_js.toolLabel(part.toolName),
760
+ chunk45AVHO7M_js.toolLabel(part.toolName),
761
761
  ": ",
762
762
  rawSummary
763
763
  ] })
@@ -788,7 +788,7 @@ function AiMessageList({ messages, isStreaming, bridge }) {
788
788
  /* @__PURE__ */ jsxRuntime.jsx(
789
789
  "div",
790
790
  {
791
- className: chunkXW46A7DN_js.cn(
791
+ className: chunkO27KNZLJ_js.cn(
792
792
  "mt-0.5 flex h-6 w-6 shrink-0 items-center justify-center rounded-full",
793
793
  isUser ? "bg-secondary text-muted-foreground" : "bg-primary/15 text-primary"
794
794
  ),
@@ -835,7 +835,7 @@ function AiMessageList({ messages, isStreaming, bridge }) {
835
835
  }
836
836
  function AiProposalCard({ proposal, onAccept, onReject }) {
837
837
  const { t } = reactI18next.useTranslation();
838
- const lines = proposal.summary.map(chunkHYUPPQJW_js.humanizeDiffLine);
838
+ const lines = proposal.summary.map(chunk45AVHO7M_js.humanizeDiffLine);
839
839
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "rounded-md border border-primary/40 bg-primary/5 p-2.5", children: [
840
840
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mb-1.5 text-[11px] font-semibold uppercase tracking-wide text-primary", children: t("pptx.ai.proposedChange") }),
841
841
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-[12px] font-medium text-foreground", children: proposal.label }),
@@ -1043,7 +1043,7 @@ function AiChatPanel({
1043
1043
  }) {
1044
1044
  const { t } = reactI18next.useTranslation();
1045
1045
  const { state, session, initError } = useAiChat(bridge, config);
1046
- const deckId = react.useMemo(() => chunkHYUPPQJW_js.deckIdFromBridge(bridge), [bridge]);
1046
+ const deckId = react.useMemo(() => chunk45AVHO7M_js.deckIdFromBridge(bridge), [bridge]);
1047
1047
  return /* @__PURE__ */ jsxRuntime.jsxs(
1048
1048
  "div",
1049
1049
  {
Binary file
Binary file
@@ -1,5 +1,5 @@
1
1
  import { useStableChart3DInteraction, useLatestRef } from './chunk-T6GFCLSM.mjs';
2
- import { mountAreaChart3D } from './chunk-UKPGYJ7G.mjs';
2
+ import { mountAreaChart3D } from './chunk-C2BDHCL2.mjs';
3
3
  import './chunk-XGB3TDIC.mjs';
4
4
  import { useRef, useEffect } from 'react';
5
5
  import { jsx } from 'react/jsx-runtime';
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var chunkDNR6CH6I_js = require('./chunk-DNR6CH6I.js');
4
- var chunk2Q2NFPXA_js = require('./chunk-2Q2NFPXA.js');
4
+ var chunk3WK4AE52_js = require('./chunk-3WK4AE52.js');
5
5
  require('./chunk-4VNS5WPM.js');
6
6
  var react = require('react');
7
7
  var jsxRuntime = require('react/jsx-runtime');
@@ -23,7 +23,7 @@ function Area3DChartScene({
23
23
  return;
24
24
  }
25
25
  let disposed = false;
26
- void chunk2Q2NFPXA_js.mountAreaChart3D(container, options, stableInteraction).then((handle) => {
26
+ void chunk3WK4AE52_js.mountAreaChart3D(container, options, stableInteraction).then((handle) => {
27
27
  if (disposed) {
28
28
  handle.dispose();
29
29
  } else {
@@ -1,5 +1,5 @@
1
1
  import { useStableChart3DInteraction, useLatestRef } from './chunk-T6GFCLSM.mjs';
2
- import { mountBarChart3D } from './chunk-UKPGYJ7G.mjs';
2
+ import { mountBarChart3D } from './chunk-C2BDHCL2.mjs';
3
3
  import './chunk-XGB3TDIC.mjs';
4
4
  import { useRef, useEffect } from 'react';
5
5
  import { jsx } from 'react/jsx-runtime';
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var chunkDNR6CH6I_js = require('./chunk-DNR6CH6I.js');
4
- var chunk2Q2NFPXA_js = require('./chunk-2Q2NFPXA.js');
4
+ var chunk3WK4AE52_js = require('./chunk-3WK4AE52.js');
5
5
  require('./chunk-4VNS5WPM.js');
6
6
  var react = require('react');
7
7
  var jsxRuntime = require('react/jsx-runtime');
@@ -23,7 +23,7 @@ function Bar3DChartScene({
23
23
  return;
24
24
  }
25
25
  let disposed = false;
26
- void chunk2Q2NFPXA_js.mountBarChart3D(container, options, stableInteraction).then((handle) => {
26
+ void chunk3WK4AE52_js.mountBarChart3D(container, options, stableInteraction).then((handle) => {
27
27
  if (disposed) {
28
28
  handle.dispose();
29
29
  } else {
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var chunkDNR6CH6I_js = require('./chunk-DNR6CH6I.js');
4
- var chunk2Q2NFPXA_js = require('./chunk-2Q2NFPXA.js');
4
+ var chunk3WK4AE52_js = require('./chunk-3WK4AE52.js');
5
5
  require('./chunk-4VNS5WPM.js');
6
6
  var react = require('react');
7
7
  var jsxRuntime = require('react/jsx-runtime');
@@ -23,7 +23,7 @@ function Line3DChartScene({
23
23
  return;
24
24
  }
25
25
  let disposed = false;
26
- void chunk2Q2NFPXA_js.mountLineChart3D(container, options, stableInteraction).then((handle) => {
26
+ void chunk3WK4AE52_js.mountLineChart3D(container, options, stableInteraction).then((handle) => {
27
27
  if (disposed) {
28
28
  handle.dispose();
29
29
  } else {
@@ -1,5 +1,5 @@
1
1
  import { useStableChart3DInteraction, useLatestRef } from './chunk-T6GFCLSM.mjs';
2
- import { mountLineChart3D } from './chunk-UKPGYJ7G.mjs';
2
+ import { mountLineChart3D } from './chunk-C2BDHCL2.mjs';
3
3
  import './chunk-XGB3TDIC.mjs';
4
4
  import { useRef, useEffect } from 'react';
5
5
  import { jsx } from 'react/jsx-runtime';
@@ -1,4 +1,4 @@
1
- import { mountModel3D } from './chunk-UKPGYJ7G.mjs';
1
+ import { mountModel3D } from './chunk-C2BDHCL2.mjs';
2
2
  import './chunk-XGB3TDIC.mjs';
3
3
  import { useRef, useEffect } from 'react';
4
4
  import { jsx } from 'react/jsx-runtime';
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunk2Q2NFPXA_js = require('./chunk-2Q2NFPXA.js');
3
+ var chunk3WK4AE52_js = require('./chunk-3WK4AE52.js');
4
4
  require('./chunk-4VNS5WPM.js');
5
5
  var react = require('react');
6
6
  var jsxRuntime = require('react/jsx-runtime');
@@ -14,7 +14,7 @@ function Model3DScene({ modelUrl, interactive, width, height }) {
14
14
  return;
15
15
  }
16
16
  let disposed = false;
17
- void chunk2Q2NFPXA_js.mountModel3D(container, modelUrl, { width, height, interactive }).then((handle) => {
17
+ void chunk3WK4AE52_js.mountModel3D(container, modelUrl, { width, height, interactive }).then((handle) => {
18
18
  if (disposed) {
19
19
  handle.dispose();
20
20
  } else {
Binary file
Binary file
@@ -1,5 +1,5 @@
1
1
  import { useStableChart3DInteraction, useLatestRef } from './chunk-T6GFCLSM.mjs';
2
- import { mountPieChart3D } from './chunk-UKPGYJ7G.mjs';
2
+ import { mountPieChart3D } from './chunk-C2BDHCL2.mjs';
3
3
  import './chunk-XGB3TDIC.mjs';
4
4
  import { useRef, useEffect } from 'react';
5
5
  import { jsx } from 'react/jsx-runtime';
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var chunkDNR6CH6I_js = require('./chunk-DNR6CH6I.js');
4
- var chunk2Q2NFPXA_js = require('./chunk-2Q2NFPXA.js');
4
+ var chunk3WK4AE52_js = require('./chunk-3WK4AE52.js');
5
5
  require('./chunk-4VNS5WPM.js');
6
6
  var react = require('react');
7
7
  var jsxRuntime = require('react/jsx-runtime');
@@ -21,7 +21,7 @@ function PieChart3DScene({
21
21
  return;
22
22
  }
23
23
  let disposed = false;
24
- void chunk2Q2NFPXA_js.mountPieChart3D(container, options, stableInteraction).then((handle) => {
24
+ void chunk3WK4AE52_js.mountPieChart3D(container, options, stableInteraction).then((handle) => {
25
25
  if (disposed) {
26
26
  handle.dispose();
27
27
  } else {
@@ -1 +1 @@
1
- {"version":3,"file":"PowerPointViewer-Cl6jBPNw.d.ts","names":[],"sources":["../src/viewer/utils/animation-effects.ts","../src/viewer/PowerPointViewer.tsx"],"mappings":";;;;;iBAmBgB,yBACf,QAAQ,iCACR,kBAAkB,sBAChB,MAAM;;;;;;;;;;;;cCgII,kCAAgB,0BAAA,wCAAA,cAAA"}
1
+ {"version":3,"file":"PowerPointViewer-Cl6jBPNw.d.ts","names":[],"sources":["../src/viewer/utils/animation-effects.ts","../src/viewer/PowerPointViewer.tsx"],"mappings":";;;;;iBAmBgB,yBACf,QAAQ,iCACR,kBAAkB,sBAChB,MAAM;;;;;;;;;;;;cCkII,kCAAgB,0BAAA,wCAAA,cAAA"}
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var chunkDNR6CH6I_js = require('./chunk-DNR6CH6I.js');
4
- var chunk2Q2NFPXA_js = require('./chunk-2Q2NFPXA.js');
4
+ var chunk3WK4AE52_js = require('./chunk-3WK4AE52.js');
5
5
  require('./chunk-4VNS5WPM.js');
6
6
  var react = require('react');
7
7
  var jsxRuntime = require('react/jsx-runtime');
@@ -23,7 +23,7 @@ function SurfaceChart3DScene({
23
23
  return;
24
24
  }
25
25
  let disposed = false;
26
- void chunk2Q2NFPXA_js.mountSurfaceChart3D(container, options, stableInteraction).then((handle) => {
26
+ void chunk3WK4AE52_js.mountSurfaceChart3D(container, options, stableInteraction).then((handle) => {
27
27
  if (disposed) {
28
28
  handle.dispose();
29
29
  } else {
@@ -1,5 +1,5 @@
1
1
  import { useStableChart3DInteraction, useLatestRef } from './chunk-T6GFCLSM.mjs';
2
- import { mountSurfaceChart3D } from './chunk-UKPGYJ7G.mjs';
2
+ import { mountSurfaceChart3D } from './chunk-C2BDHCL2.mjs';
3
3
  import './chunk-XGB3TDIC.mjs';
4
4
  import { useRef, useEffect } from 'react';
5
5
  import { jsx } from 'react/jsx-runtime';
@@ -1,4 +1,4 @@
1
- import { ThemePresets, PptxMarkdownConverter, hasTextProperties, hasShapeProperties } from './chunk-UKPGYJ7G.mjs';
1
+ import { ThemePresets, PptxMarkdownConverter, hasTextProperties, hasShapeProperties } from './chunk-C2BDHCL2.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
@@ -683,6 +683,8 @@ var translationsEn = {
683
683
  "pptx.presentation.laserPointer": "Laser Pointer",
684
684
  "pptx.presentation.endOfSlideShow": "End of slide show, click to exit.",
685
685
  "pptx.presentation.pointerTools": "Pointer Options",
686
+ "pptx.presentation.runProgramNotice": "This presentation wants to run a program, which cannot be launched from the browser: {{target}}",
687
+ "pptx.presentation.runProgramCopy": "Copy",
686
688
  // Selection pane
687
689
  "pptx.selectionPane.title": "Selection Pane",
688
690
  "pptx.selectionPane.empty": "No elements",
@@ -3261,6 +3263,8 @@ var translationsEn = {
3261
3263
  "pptx.options.advanced.showPopupToolbar": "Show popup toolbar",
3262
3264
  "pptx.options.advanced.promptKeepInk": "Prompt to keep ink annotations when exiting",
3263
3265
  "pptx.options.advanced.endWithBlackSlide": "End with black slide",
3266
+ "pptx.options.advanced.pixelateMosaicAnimation": "Show a mosaic effect for Pixelate transitions",
3267
+ "pptx.options.advanced.pixelateMosaicAnimationInfo": "PowerPoint itself does not animate the Pixelate transition filter; the element simply appears at the end. This is off by default to match PowerPoint. Turn it on to see a blocky mosaic reveal instead of PowerPoint's instant swap.",
3264
3268
  "pptx.options.advanced.print": "Print",
3265
3269
  "pptx.options.advanced.printInBackground": "Print in background",
3266
3270
  "pptx.options.advanced.printHighQuality": "High quality",
@@ -3789,6 +3793,7 @@ var translationsEn = {
3789
3793
  "pptx.hyperlink.actionOpenPresentation": "Open presentation",
3790
3794
  "pptx.hyperlink.actionPlayMedia": "Play media",
3791
3795
  "pptx.hyperlink.actionOleVerb": "Object action",
3796
+ "pptx.hyperlink.actionRunProgram": "Run program",
3792
3797
  // Table style (a:tblStyleLst) definition editor.
3793
3798
  "pptx.tableStyleEditor.editButton": "Edit style...",
3794
3799
  "pptx.tableStyleEditor.title": "Table Style Editor",
Binary file
Binary file