pptx-react-viewer 3.12.0 → 3.13.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 (135) hide show
  1. package/CHANGELOG.md +30 -0
  2. package/dist/{AiChatPanel-TXCDQDHD.js → AiChatPanel-E53JJRZX.js} +24 -24
  3. package/dist/AiChatPanel-E53JJRZX.js.br +0 -0
  4. package/dist/AiChatPanel-E53JJRZX.js.gz +0 -0
  5. package/dist/{AiChatPanel-SCA4RLFI.mjs → AiChatPanel-JTXC5WWH.mjs} +3 -3
  6. package/dist/AiChatPanel-JTXC5WWH.mjs.br +0 -0
  7. package/dist/AiChatPanel-JTXC5WWH.mjs.gz +0 -0
  8. package/dist/{Area3DChartScene-YAK6W2J5.js → Area3DChartScene-J7G54OH4.js} +2 -2
  9. package/dist/{Area3DChartScene-YAK6W2J5.js.br → Area3DChartScene-J7G54OH4.js.br} +0 -0
  10. package/dist/Area3DChartScene-J7G54OH4.js.gz +0 -0
  11. package/dist/{Area3DChartScene-NSV5AIMM.mjs → Area3DChartScene-JQ2VU73H.mjs} +1 -1
  12. package/dist/Area3DChartScene-JQ2VU73H.mjs.br +0 -0
  13. package/dist/Area3DChartScene-JQ2VU73H.mjs.gz +0 -0
  14. package/dist/{Bar3DChartScene-DFJ7XK3Q.mjs → Bar3DChartScene-5HC7LYBH.mjs} +1 -1
  15. package/dist/Bar3DChartScene-5HC7LYBH.mjs.br +0 -0
  16. package/dist/Bar3DChartScene-5HC7LYBH.mjs.gz +0 -0
  17. package/dist/{Bar3DChartScene-WNBEX3TN.js → Bar3DChartScene-JV3A2P6O.js} +2 -2
  18. package/dist/{Bar3DChartScene-WNBEX3TN.js.br → Bar3DChartScene-JV3A2P6O.js.br} +0 -0
  19. package/dist/Bar3DChartScene-JV3A2P6O.js.gz +0 -0
  20. package/dist/{Line3DChartScene-TK6RPGET.mjs → Line3DChartScene-4ZAOOU7U.mjs} +1 -1
  21. package/dist/Line3DChartScene-4ZAOOU7U.mjs.br +0 -0
  22. package/dist/Line3DChartScene-4ZAOOU7U.mjs.gz +0 -0
  23. package/dist/{Line3DChartScene-PXA6WAQG.js → Line3DChartScene-7SN7TVKQ.js} +2 -2
  24. package/dist/{Line3DChartScene-PXA6WAQG.js.br → Line3DChartScene-7SN7TVKQ.js.br} +0 -0
  25. package/dist/Line3DChartScene-7SN7TVKQ.js.gz +0 -0
  26. package/dist/{Model3DScene-FJQOUWCV.js → Model3DScene-GQANXXQD.js} +2 -2
  27. package/dist/Model3DScene-GQANXXQD.js.br +0 -0
  28. package/dist/Model3DScene-GQANXXQD.js.gz +0 -0
  29. package/dist/{Model3DScene-7FZSQ3SP.mjs → Model3DScene-GWIBUQ2U.mjs} +1 -1
  30. package/dist/Model3DScene-GWIBUQ2U.mjs.br +0 -0
  31. package/dist/Model3DScene-GWIBUQ2U.mjs.gz +0 -0
  32. package/dist/{PieChart3DScene-P25IGVT6.js → PieChart3DScene-QPFDRMEA.js} +2 -2
  33. package/dist/{PieChart3DScene-P25IGVT6.js.br → PieChart3DScene-QPFDRMEA.js.br} +0 -0
  34. package/dist/PieChart3DScene-QPFDRMEA.js.gz +0 -0
  35. package/dist/{PieChart3DScene-KKZTAIFB.mjs → PieChart3DScene-RDTOLFTD.mjs} +1 -1
  36. package/dist/PieChart3DScene-RDTOLFTD.mjs.br +0 -0
  37. package/dist/PieChart3DScene-RDTOLFTD.mjs.gz +0 -0
  38. package/dist/{SurfaceChart3DScene-LWJCERTR.mjs → SurfaceChart3DScene-5JQCRWA5.mjs} +1 -1
  39. package/dist/SurfaceChart3DScene-5JQCRWA5.mjs.br +0 -0
  40. package/dist/SurfaceChart3DScene-5JQCRWA5.mjs.gz +0 -0
  41. package/dist/{SurfaceChart3DScene-36MT6QAK.js → SurfaceChart3DScene-JLYGC7QU.js} +2 -2
  42. package/dist/{SurfaceChart3DScene-36MT6QAK.js.br → SurfaceChart3DScene-JLYGC7QU.js.br} +0 -0
  43. package/dist/SurfaceChart3DScene-JLYGC7QU.js.gz +0 -0
  44. package/dist/{chunk-45AVHO7M.js → chunk-G2Z7QULX.js} +5 -5
  45. package/dist/chunk-G2Z7QULX.js.br +0 -0
  46. package/dist/chunk-G2Z7QULX.js.gz +0 -0
  47. package/dist/{chunk-AARQTIMN.js → chunk-H3GHGSGW.js} +533 -483
  48. package/dist/chunk-H3GHGSGW.js.br +0 -0
  49. package/dist/chunk-H3GHGSGW.js.gz +0 -0
  50. package/dist/{chunk-2FSNTJVI.mjs → chunk-HB7DJENT.mjs} +1 -1
  51. package/dist/chunk-HB7DJENT.mjs.br +0 -0
  52. package/dist/chunk-HB7DJENT.mjs.gz +0 -0
  53. package/dist/{chunk-O27KNZLJ.js → chunk-IVCYND7A.js} +169 -169
  54. package/dist/chunk-IVCYND7A.js.br +0 -0
  55. package/dist/chunk-IVCYND7A.js.gz +0 -0
  56. package/dist/{chunk-WRHPPTYF.mjs → chunk-M7SNS3DQ.mjs} +103 -53
  57. package/dist/chunk-M7SNS3DQ.mjs.br +0 -0
  58. package/dist/chunk-M7SNS3DQ.mjs.gz +0 -0
  59. package/dist/{chunk-ZOEKVSSU.mjs → chunk-PKHTTHA2.mjs} +12 -12
  60. package/dist/chunk-PKHTTHA2.mjs.br +0 -0
  61. package/dist/chunk-PKHTTHA2.mjs.gz +0 -0
  62. package/dist/{chunk-C2BDHCL2.mjs → chunk-TS2DHMBS.mjs} +3443 -403
  63. package/dist/chunk-TS2DHMBS.mjs.br +0 -0
  64. package/dist/chunk-TS2DHMBS.mjs.gz +0 -0
  65. package/dist/{chunk-3WK4AE52.js → chunk-TWUAZRCG.js} +3450 -403
  66. package/dist/chunk-TWUAZRCG.js.br +0 -0
  67. package/dist/chunk-TWUAZRCG.js.gz +0 -0
  68. package/dist/{chunk-T7MY5L3O.js → chunk-UGVPKJSU.js} +1260 -1260
  69. package/dist/chunk-UGVPKJSU.js.br +0 -0
  70. package/dist/chunk-UGVPKJSU.js.gz +0 -0
  71. package/dist/{chunk-HXDNYDRJ.mjs → chunk-Y3SA5H5H.mjs} +4 -4
  72. package/dist/chunk-Y3SA5H5H.mjs.br +0 -0
  73. package/dist/chunk-Y3SA5H5H.mjs.gz +0 -0
  74. package/dist/index.js +45 -45
  75. package/dist/index.js.br +0 -0
  76. package/dist/index.js.gz +0 -0
  77. package/dist/index.mjs +5 -5
  78. package/dist/index.mjs.br +0 -0
  79. package/dist/index.mjs.gz +0 -0
  80. package/dist/internals.js +78 -78
  81. package/dist/internals.js.br +0 -0
  82. package/dist/internals.js.gz +0 -0
  83. package/dist/internals.mjs +3 -3
  84. package/dist/internals.mjs.br +0 -0
  85. package/dist/internals.mjs.gz +0 -0
  86. package/dist/viewer/index.js +26 -26
  87. package/dist/viewer/index.js.br +0 -0
  88. package/dist/viewer/index.js.gz +0 -0
  89. package/dist/viewer/index.mjs +5 -5
  90. package/dist/viewer/index.mjs.br +0 -0
  91. package/dist/viewer/index.mjs.gz +0 -0
  92. package/package.json +1 -1
  93. package/dist/AiChatPanel-SCA4RLFI.mjs.br +0 -0
  94. package/dist/AiChatPanel-SCA4RLFI.mjs.gz +0 -0
  95. package/dist/AiChatPanel-TXCDQDHD.js.br +0 -0
  96. package/dist/AiChatPanel-TXCDQDHD.js.gz +0 -0
  97. package/dist/Area3DChartScene-NSV5AIMM.mjs.br +0 -0
  98. package/dist/Area3DChartScene-NSV5AIMM.mjs.gz +0 -0
  99. package/dist/Area3DChartScene-YAK6W2J5.js.gz +0 -0
  100. package/dist/Bar3DChartScene-DFJ7XK3Q.mjs.br +0 -0
  101. package/dist/Bar3DChartScene-DFJ7XK3Q.mjs.gz +0 -0
  102. package/dist/Bar3DChartScene-WNBEX3TN.js.gz +0 -0
  103. package/dist/Line3DChartScene-PXA6WAQG.js.gz +0 -0
  104. package/dist/Line3DChartScene-TK6RPGET.mjs.br +0 -0
  105. package/dist/Line3DChartScene-TK6RPGET.mjs.gz +0 -0
  106. package/dist/Model3DScene-7FZSQ3SP.mjs.br +0 -0
  107. package/dist/Model3DScene-7FZSQ3SP.mjs.gz +0 -0
  108. package/dist/Model3DScene-FJQOUWCV.js.br +0 -0
  109. package/dist/Model3DScene-FJQOUWCV.js.gz +0 -0
  110. package/dist/PieChart3DScene-KKZTAIFB.mjs.br +0 -0
  111. package/dist/PieChart3DScene-KKZTAIFB.mjs.gz +0 -0
  112. package/dist/PieChart3DScene-P25IGVT6.js.gz +0 -0
  113. package/dist/SurfaceChart3DScene-36MT6QAK.js.gz +0 -0
  114. package/dist/SurfaceChart3DScene-LWJCERTR.mjs.br +0 -0
  115. package/dist/SurfaceChart3DScene-LWJCERTR.mjs.gz +0 -0
  116. package/dist/chunk-2FSNTJVI.mjs.br +0 -0
  117. package/dist/chunk-2FSNTJVI.mjs.gz +0 -0
  118. package/dist/chunk-3WK4AE52.js.br +0 -0
  119. package/dist/chunk-3WK4AE52.js.gz +0 -0
  120. package/dist/chunk-45AVHO7M.js.br +0 -0
  121. package/dist/chunk-45AVHO7M.js.gz +0 -0
  122. package/dist/chunk-AARQTIMN.js.br +0 -0
  123. package/dist/chunk-AARQTIMN.js.gz +0 -0
  124. package/dist/chunk-C2BDHCL2.mjs.br +0 -0
  125. package/dist/chunk-C2BDHCL2.mjs.gz +0 -0
  126. package/dist/chunk-HXDNYDRJ.mjs.br +0 -0
  127. package/dist/chunk-HXDNYDRJ.mjs.gz +0 -0
  128. package/dist/chunk-O27KNZLJ.js.br +0 -0
  129. package/dist/chunk-O27KNZLJ.js.gz +0 -0
  130. package/dist/chunk-T7MY5L3O.js.br +0 -0
  131. package/dist/chunk-T7MY5L3O.js.gz +0 -0
  132. package/dist/chunk-WRHPPTYF.mjs.br +0 -0
  133. package/dist/chunk-WRHPPTYF.mjs.gz +0 -0
  134. package/dist/chunk-ZOEKVSSU.mjs.br +0 -0
  135. package/dist/chunk-ZOEKVSSU.mjs.gz +0 -0
package/CHANGELOG.md CHANGED
@@ -7,6 +7,36 @@ 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.12.0](https://github.com/ChristopherVR/pptx-viewer/releases/tag/pptx-react-viewer@3.12.0) - 2026-09-10
11
+
12
+ ### Features
13
+
14
+ - **core:** Fit SmartArt text and structure from the corpus rules (by @ChristopherVR) ([c29d1d1](https://github.com/ChristopherVR/pptx-viewer/commit/c29d1d153ae0b0b420aa0da3312a4399a68ec3bb))
15
+ - **shared:** Load a metric-compatible web font when a deck's font is missing (by @ChristopherVR) ([75a1874](https://github.com/ChristopherVR/pptx-viewer/commit/75a1874a63d89716b109b94b29b23b951cf2bd1a))
16
+ - **shared:** Light 3D bevels with SVG lighting filters and derive explicit camera overrides (by @ChristopherVR) ([a36c635](https://github.com/ChristopherVR/pptx-viewer/commit/a36c635acb78a7eab7e85293e6a01116ad56a642))
17
+ - **core:** Decode a picture fill's first pixel and a media file's duration without the DOM (by @ChristopherVR) ([a9136fa](https://github.com/ChristopherVR/pptx-viewer/commit/a9136fa1468f026cb56d21c78824a7d8646a231c))
18
+ - **core:** Write hyperlinks, click actions and OLE embeds into legacy .ppt (by @ChristopherVR) ([b8a46fa](https://github.com/ChristopherVR/pptx-viewer/commit/b8a46faef3ac906ea8ab87a0fa145c3aeb527ee9))
19
+ - **shared:** Render fragment-based cinematic transitions in every binding (by @ChristopherVR) ([4aee13e](https://github.com/ChristopherVR/pptx-viewer/commit/4aee13eb6a8eb7e83f13e42e74e5242427aaad2c))
20
+ - **core:** Fourth SmartArt interpreter snapshot against the COM corpus (by @ChristopherVR) ([7b29670](https://github.com/ChristopherVR/pptx-viewer/commit/7b29670ef2f9fb141d30b992a72c2af7476065d8))
21
+ - **shared:** Match PowerPoint on soft edges, pixelate and run-program actions (by @ChristopherVR) ([d4339c2](https://github.com/ChristopherVR/pptx-viewer/commit/d4339c28a939350887f536c1d8053fb00ddc55a2))
22
+ - **core:** Embed real WAV audio in legacy .ppt output (by @ChristopherVR) ([dfebe92](https://github.com/ChristopherVR/pptx-viewer/commit/dfebe92645b500228f6bf37a0ef34699e290df45))
23
+
24
+ ### Bug Fixes
25
+
26
+ - **core:** Resize a rotated shape or group child axis by axis, as PowerPoint does (by @ChristopherVR) ([012929e](https://github.com/ChristopherVR/pptx-viewer/commit/012929ed75310ef664da306082314fe9cd0a7ac8))
27
+ - **core:** Re-enable the hierarchy-descendant dispatch guard (by @ChristopherVR) ([8d3d462](https://github.com/ChristopherVR/pptx-viewer/commit/8d3d462f9424092ec9bf9be60cc5d7860a7acb33))
28
+ - **shared:** Export the fragment transition descriptor and keyframes (by @ChristopherVR) ([306c8ff](https://github.com/ChristopherVR/pptx-viewer/commit/306c8ffdab542dd260ba4a0c4558765cf57869ba))
29
+ - **core:** Export readCnvPrId and track the two generated fixtures CI needs (by @ChristopherVR) ([13bff65](https://github.com/ChristopherVR/pptx-viewer/commit/13bff654b33fc1fbec20384dcd52ad5a86c6b65d))
30
+ - **react,angular:** Skip unchanged autofit commits ([#222](https://github.com/ChristopherVR/pptx-viewer/issues/222)) (by @Sudhansh6) ([fb93aab](https://github.com/ChristopherVR/pptx-viewer/commit/fb93aab5a1b9721b921470b8c94f13d232ce6446))
31
+
32
+ ### Documentation
33
+
34
+ - State the measured SmartArt interpreter status in the limitations row (by @ChristopherVR) ([de5c891](https://github.com/ChristopherVR/pptx-viewer/commit/de5c8911ebd90c0a2c859715d982481515c54c1d))
35
+
36
+ ### Testing
37
+
38
+ - **core:** Declare the two generated fixtures the decoding stream added (by @ChristopherVR) ([acda9bf](https://github.com/ChristopherVR/pptx-viewer/commit/acda9bfac0cf98a9ddd1fc692b4301e10b268b7f))
39
+
10
40
  ## [3.11.0](https://github.com/ChristopherVR/pptx-viewer/releases/tag/pptx-react-viewer@3.11.0) - 2026-09-10
11
41
 
12
42
  ### Features
@@ -1,8 +1,8 @@
1
1
  'use strict';
2
2
 
3
- var chunk45AVHO7M_js = require('./chunk-45AVHO7M.js');
4
- var chunkO27KNZLJ_js = require('./chunk-O27KNZLJ.js');
5
- require('./chunk-3WK4AE52.js');
3
+ var chunkG2Z7QULX_js = require('./chunk-G2Z7QULX.js');
4
+ var chunkIVCYND7A_js = require('./chunk-IVCYND7A.js');
5
+ require('./chunk-TWUAZRCG.js');
6
6
  require('./chunk-3AJ54EAB.js');
7
7
  require('./chunk-4VNS5WPM.js');
8
8
  var react = require('react');
@@ -23,7 +23,7 @@ function useAiChat(bridge, config) {
23
23
  setInitError(void 0);
24
24
  void (async () => {
25
25
  try {
26
- const available = await chunk45AVHO7M_js.isAiAvailable();
26
+ const available = await chunkG2Z7QULX_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 chunk45AVHO7M_js.createAiChatSession(bridge, configRef.current);
34
+ const built = await chunkG2Z7QULX_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 chunk45AVHO7M_js.buildDeckContext(bridge, { strategy, focus: {} });
140
+ context = await chunkG2Z7QULX_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?.(chunk45AVHO7M_js.toolCanvasTarget(call.toolName, call.input));
203
+ onToolTargetRef.current?.(chunkG2Z7QULX_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 ?? chunk45AVHO7M_js.createChatHistoryStore(), [input.store]);
279
+ const store = react.useMemo(() => input.store ?? chunkG2Z7QULX_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: chunkO27KNZLJ_js.cn(
422
+ className: chunkIVCYND7A_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 = chunk45AVHO7M_js.focusTargetChips(targets, slides);
446
- const twoTables = chunk45AVHO7M_js.isTwoTableFocus(targets, slides);
445
+ const chips = chunkG2Z7QULX_js.focusTargetChips(targets, slides);
446
+ const twoTables = chunkG2Z7QULX_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: chunkO27KNZLJ_js.cn(
453
+ className: chunkIVCYND7A_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
- chunk45AVHO7M_js.mergeTablesDirective(
469
+ chunkG2Z7QULX_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: chunkO27KNZLJ_js.cn(
490
+ className: chunkIVCYND7A_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: chunkO27KNZLJ_js.cn(
569
+ className: chunkIVCYND7A_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 = chunk45AVHO7M_js.describeToolActivity(part.toolName, part.input, running ? "present" : "past");
724
+ const activity = chunkG2Z7QULX_js.describeToolActivity(part.toolName, part.input, running ? "present" : "past");
725
725
  const Icon = ICONS[activity.icon] ?? lu.LuWrench;
726
- const rawSummary = chunk45AVHO7M_js.summarizeToolArgs(part.input);
726
+ const rawSummary = chunkG2Z7QULX_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: chunkO27KNZLJ_js.cn(
733
+ className: chunkIVCYND7A_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: chunkO27KNZLJ_js.cn("truncate", failed ? "text-destructive" : "text-foreground"), children: activity.label }),
739
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: chunkIVCYND7A_js.cn("truncate", failed ? "text-destructive" : "text-foreground"), children: activity.label }),
740
740
  /* @__PURE__ */ jsxRuntime.jsxs(
741
741
  "span",
742
742
  {
743
- className: chunkO27KNZLJ_js.cn(
743
+ className: chunkIVCYND7A_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
- chunk45AVHO7M_js.toolLabel(part.toolName),
760
+ chunkG2Z7QULX_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: chunkO27KNZLJ_js.cn(
791
+ className: chunkIVCYND7A_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(chunk45AVHO7M_js.humanizeDiffLine);
838
+ const lines = proposal.summary.map(chunkG2Z7QULX_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(() => chunk45AVHO7M_js.deckIdFromBridge(bridge), [bridge]);
1046
+ const deckId = react.useMemo(() => chunkG2Z7QULX_js.deckIdFromBridge(bridge), [bridge]);
1047
1047
  return /* @__PURE__ */ jsxRuntime.jsxs(
1048
1048
  "div",
1049
1049
  {
Binary file
Binary file
@@ -1,6 +1,6 @@
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';
1
+ import { deckIdFromBridge, isAiAvailable, createAiChatSession, toolCanvasTarget, createChatHistoryStore, focusTargetChips, isTwoTableFocus, mergeTablesDirective, humanizeDiffLine, buildDeckContext, describeToolActivity, summarizeToolArgs, toolLabel } from './chunk-HB7DJENT.mjs';
2
+ import { cn } from './chunk-Y3SA5H5H.mjs';
3
+ import './chunk-TS2DHMBS.mjs';
4
4
  import './chunk-HMX3MQR7.mjs';
5
5
  import './chunk-XGB3TDIC.mjs';
6
6
  import { useMemo, useRef, useState, useEffect, useReducer, useCallback } from 'react';
Binary file
Binary file
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var chunkDNR6CH6I_js = require('./chunk-DNR6CH6I.js');
4
- var chunk3WK4AE52_js = require('./chunk-3WK4AE52.js');
4
+ var chunkTWUAZRCG_js = require('./chunk-TWUAZRCG.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 chunk3WK4AE52_js.mountAreaChart3D(container, options, stableInteraction).then((handle) => {
26
+ void chunkTWUAZRCG_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 { mountAreaChart3D } from './chunk-C2BDHCL2.mjs';
2
+ import { mountAreaChart3D } from './chunk-TS2DHMBS.mjs';
3
3
  import './chunk-XGB3TDIC.mjs';
4
4
  import { useRef, useEffect } from 'react';
5
5
  import { jsx } from 'react/jsx-runtime';
@@ -1,5 +1,5 @@
1
1
  import { useStableChart3DInteraction, useLatestRef } from './chunk-T6GFCLSM.mjs';
2
- import { mountBarChart3D } from './chunk-C2BDHCL2.mjs';
2
+ import { mountBarChart3D } from './chunk-TS2DHMBS.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 chunk3WK4AE52_js = require('./chunk-3WK4AE52.js');
4
+ var chunkTWUAZRCG_js = require('./chunk-TWUAZRCG.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 chunk3WK4AE52_js.mountBarChart3D(container, options, stableInteraction).then((handle) => {
26
+ void chunkTWUAZRCG_js.mountBarChart3D(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-C2BDHCL2.mjs';
2
+ import { mountLineChart3D } from './chunk-TS2DHMBS.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 chunk3WK4AE52_js = require('./chunk-3WK4AE52.js');
4
+ var chunkTWUAZRCG_js = require('./chunk-TWUAZRCG.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 chunk3WK4AE52_js.mountLineChart3D(container, options, stableInteraction).then((handle) => {
26
+ void chunkTWUAZRCG_js.mountLineChart3D(container, options, stableInteraction).then((handle) => {
27
27
  if (disposed) {
28
28
  handle.dispose();
29
29
  } else {
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunk3WK4AE52_js = require('./chunk-3WK4AE52.js');
3
+ var chunkTWUAZRCG_js = require('./chunk-TWUAZRCG.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 chunk3WK4AE52_js.mountModel3D(container, modelUrl, { width, height, interactive }).then((handle) => {
17
+ void chunkTWUAZRCG_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,4 +1,4 @@
1
- import { mountModel3D } from './chunk-C2BDHCL2.mjs';
1
+ import { mountModel3D } from './chunk-TS2DHMBS.mjs';
2
2
  import './chunk-XGB3TDIC.mjs';
3
3
  import { useRef, useEffect } from 'react';
4
4
  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 chunk3WK4AE52_js = require('./chunk-3WK4AE52.js');
4
+ var chunkTWUAZRCG_js = require('./chunk-TWUAZRCG.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 chunk3WK4AE52_js.mountPieChart3D(container, options, stableInteraction).then((handle) => {
24
+ void chunkTWUAZRCG_js.mountPieChart3D(container, options, stableInteraction).then((handle) => {
25
25
  if (disposed) {
26
26
  handle.dispose();
27
27
  } else {
@@ -1,5 +1,5 @@
1
1
  import { useStableChart3DInteraction, useLatestRef } from './chunk-T6GFCLSM.mjs';
2
- import { mountPieChart3D } from './chunk-C2BDHCL2.mjs';
2
+ import { mountPieChart3D } from './chunk-TS2DHMBS.mjs';
3
3
  import './chunk-XGB3TDIC.mjs';
4
4
  import { useRef, useEffect } from 'react';
5
5
  import { jsx } from 'react/jsx-runtime';
@@ -1,5 +1,5 @@
1
1
  import { useStableChart3DInteraction, useLatestRef } from './chunk-T6GFCLSM.mjs';
2
- import { mountSurfaceChart3D } from './chunk-C2BDHCL2.mjs';
2
+ import { mountSurfaceChart3D } from './chunk-TS2DHMBS.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 chunk3WK4AE52_js = require('./chunk-3WK4AE52.js');
4
+ var chunkTWUAZRCG_js = require('./chunk-TWUAZRCG.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 chunk3WK4AE52_js.mountSurfaceChart3D(container, options, stableInteraction).then((handle) => {
26
+ void chunkTWUAZRCG_js.mountSurfaceChart3D(container, options, stableInteraction).then((handle) => {
27
27
  if (disposed) {
28
28
  handle.dispose();
29
29
  } else {
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunk3WK4AE52_js = require('./chunk-3WK4AE52.js');
3
+ var chunkTWUAZRCG_js = require('./chunk-TWUAZRCG.js');
4
4
  var chunk4VNS5WPM_js = require('./chunk-4VNS5WPM.js');
5
5
  var mcp = require('pptx-viewer-mcp');
6
6
  var mcpSchemas = require('pptx-viewer-mcp/schemas');
@@ -19079,7 +19079,7 @@ async function buildSlideMarkdown(slides, slideIndex2, meta3, options = {}) {
19079
19079
  };
19080
19080
  let markdown;
19081
19081
  try {
19082
- const converter = new chunk3WK4AE52_js.PptxMarkdownConverter(
19082
+ const converter = new chunkTWUAZRCG_js.PptxMarkdownConverter(
19083
19083
  "",
19084
19084
  {
19085
19085
  sourceName: meta3.title ?? "deck.pptx",
@@ -19671,7 +19671,7 @@ var getTheme = (ctx) => {
19671
19671
  name: theme?.name,
19672
19672
  colorScheme: theme?.colorScheme,
19673
19673
  fontScheme: theme?.fontScheme,
19674
- availablePresets: Object.keys(chunk3WK4AE52_js.ThemePresets)
19674
+ availablePresets: Object.keys(chunkTWUAZRCG_js.ThemePresets)
19675
19675
  };
19676
19676
  };
19677
19677
  var readExecutors = {
@@ -20769,7 +20769,7 @@ function applyElementUpdate(el, u) {
20769
20769
  applyShapeStyleUpdate(el, u);
20770
20770
  }
20771
20771
  function applyTextUpdate(el, u) {
20772
- if (!chunk3WK4AE52_js.hasTextProperties(el)) {
20772
+ if (!chunkTWUAZRCG_js.hasTextProperties(el)) {
20773
20773
  return;
20774
20774
  }
20775
20775
  const textEl = el;
@@ -20818,7 +20818,7 @@ function applyShapeStyleUpdate(el, u) {
20818
20818
  if (u.fillColor === void 0 && u.strokeColor === void 0 && u.strokeWidth === void 0) {
20819
20819
  return;
20820
20820
  }
20821
- if (!chunk3WK4AE52_js.hasShapeProperties(el)) {
20821
+ if (!chunkTWUAZRCG_js.hasShapeProperties(el)) {
20822
20822
  return;
20823
20823
  }
20824
20824
  const holder = el;
Binary file
Binary file