pptx-react-viewer 3.3.0 → 3.4.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 (164) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/dist/{AiChatPanel-WNQCTQB5.js → AiChatPanel-3Q4STA5E.js} +25 -25
  3. package/dist/AiChatPanel-3Q4STA5E.js.br +0 -0
  4. package/dist/AiChatPanel-3Q4STA5E.js.gz +0 -0
  5. package/dist/{AiChatPanel-BNFDBP4S.mjs → AiChatPanel-NQZBZIRM.mjs} +4 -4
  6. package/dist/AiChatPanel-NQZBZIRM.mjs.br +0 -0
  7. package/dist/AiChatPanel-NQZBZIRM.mjs.gz +0 -0
  8. package/dist/{Area3DChartScene-SAQVRYOH.mjs → Area3DChartScene-7PARQDOZ.mjs} +1 -1
  9. package/dist/Area3DChartScene-7PARQDOZ.mjs.br +3 -0
  10. package/dist/Area3DChartScene-7PARQDOZ.mjs.gz +0 -0
  11. package/dist/{Area3DChartScene-FXBSLIGX.js → Area3DChartScene-THLG74CM.js} +2 -2
  12. package/dist/Area3DChartScene-THLG74CM.js.br +0 -0
  13. package/dist/Area3DChartScene-THLG74CM.js.gz +0 -0
  14. package/dist/{Bar3DChartScene-7HVUTP2E.js → Bar3DChartScene-OLZ2V56I.js} +2 -2
  15. package/dist/Bar3DChartScene-OLZ2V56I.js.br +2 -0
  16. package/dist/Bar3DChartScene-OLZ2V56I.js.gz +0 -0
  17. package/dist/{Bar3DChartScene-LUA6E2K6.mjs → Bar3DChartScene-QUU6RUXM.mjs} +1 -1
  18. package/dist/Bar3DChartScene-QUU6RUXM.mjs.br +0 -0
  19. package/dist/Bar3DChartScene-QUU6RUXM.mjs.gz +0 -0
  20. package/dist/{Line3DChartScene-OVPULUTF.js → Line3DChartScene-2VZS52IB.js} +2 -2
  21. package/dist/Line3DChartScene-2VZS52IB.js.br +0 -0
  22. package/dist/Line3DChartScene-2VZS52IB.js.gz +0 -0
  23. package/dist/{Line3DChartScene-IW4JGH57.mjs → Line3DChartScene-D77ORA4K.mjs} +1 -1
  24. package/dist/Line3DChartScene-D77ORA4K.mjs.br +3 -0
  25. package/dist/Line3DChartScene-D77ORA4K.mjs.gz +0 -0
  26. package/dist/{Model3DScene-5KP6BVCV.js → Model3DScene-3WCALTXO.js} +2 -2
  27. package/dist/Model3DScene-3WCALTXO.js.br +0 -0
  28. package/dist/Model3DScene-3WCALTXO.js.gz +0 -0
  29. package/dist/{Model3DScene-BERTZYCJ.mjs → Model3DScene-ZEGWNILH.mjs} +1 -1
  30. package/dist/Model3DScene-ZEGWNILH.mjs.br +0 -0
  31. package/dist/Model3DScene-ZEGWNILH.mjs.gz +0 -0
  32. package/dist/{PieChart3DScene-3R2ETTGA.js → PieChart3DScene-7C3ACGKN.js} +2 -2
  33. package/dist/PieChart3DScene-7C3ACGKN.js.br +0 -0
  34. package/dist/PieChart3DScene-7C3ACGKN.js.gz +0 -0
  35. package/dist/{PieChart3DScene-O6FFK5L7.mjs → PieChart3DScene-DGD4PZVV.mjs} +1 -1
  36. package/dist/PieChart3DScene-DGD4PZVV.mjs.br +0 -0
  37. package/dist/PieChart3DScene-DGD4PZVV.mjs.gz +0 -0
  38. package/dist/PowerPointViewer-Cl6jBPNw.d.ts.map +1 -1
  39. package/dist/{SurfaceChart3DScene-OCR26R5D.mjs → SurfaceChart3DScene-QGH3OLJV.mjs} +1 -1
  40. package/dist/SurfaceChart3DScene-QGH3OLJV.mjs.br +0 -0
  41. package/dist/SurfaceChart3DScene-QGH3OLJV.mjs.gz +0 -0
  42. package/dist/{SurfaceChart3DScene-TGFAOLHL.js → SurfaceChart3DScene-SJPQGGGE.js} +2 -2
  43. package/dist/SurfaceChart3DScene-SJPQGGGE.js.br +0 -0
  44. package/dist/SurfaceChart3DScene-SJPQGGGE.js.gz +0 -0
  45. package/dist/{chunk-QKSYKQEL.js → chunk-7E6SM42A.js} +2513 -1626
  46. package/dist/chunk-7E6SM42A.js.br +0 -0
  47. package/dist/chunk-7E6SM42A.js.gz +0 -0
  48. package/dist/{chunk-DM2IZCSD.mjs → chunk-B7WAGQW4.mjs} +2955 -835
  49. package/dist/chunk-B7WAGQW4.mjs.br +0 -0
  50. package/dist/chunk-B7WAGQW4.mjs.gz +0 -0
  51. package/dist/{chunk-2FTJAMFA.mjs → chunk-C4WTQIC6.mjs} +13 -5
  52. package/dist/chunk-C4WTQIC6.mjs.br +0 -0
  53. package/dist/chunk-C4WTQIC6.mjs.gz +0 -0
  54. package/dist/{chunk-FSQCEAMG.js → chunk-KY6JQJXK.js} +17 -9
  55. package/dist/chunk-KY6JQJXK.js.br +0 -0
  56. package/dist/chunk-KY6JQJXK.js.gz +0 -0
  57. package/dist/{chunk-3B5FRKYU.mjs → chunk-L5MRKDRM.mjs} +1397 -510
  58. package/dist/chunk-L5MRKDRM.mjs.br +0 -0
  59. package/dist/chunk-L5MRKDRM.mjs.gz +0 -0
  60. package/dist/{chunk-QEEU4S4Z.mjs → chunk-MSUUPLQ7.mjs} +671 -114
  61. package/dist/chunk-MSUUPLQ7.mjs.br +0 -0
  62. package/dist/chunk-MSUUPLQ7.mjs.gz +0 -0
  63. package/dist/{chunk-K6R2JNCK.js → chunk-PCW2KT7Z.js} +2987 -834
  64. package/dist/chunk-PCW2KT7Z.js.br +0 -0
  65. package/dist/chunk-PCW2KT7Z.js.gz +0 -0
  66. package/dist/{chunk-ITN5NYYM.mjs → chunk-SFMATKNJ.mjs} +6 -19
  67. package/dist/chunk-SFMATKNJ.mjs.br +0 -0
  68. package/dist/chunk-SFMATKNJ.mjs.gz +0 -0
  69. package/dist/{chunk-GR6SJJIT.js → chunk-TJNG5VEK.js} +1080 -518
  70. package/dist/chunk-TJNG5VEK.js.br +0 -0
  71. package/dist/chunk-TJNG5VEK.js.gz +0 -0
  72. package/dist/{chunk-3P7FYHJH.js → chunk-UNIJUD5C.js} +44 -1
  73. package/dist/chunk-UNIJUD5C.js.br +0 -0
  74. package/dist/{chunk-3P7FYHJH.js.gz → chunk-UNIJUD5C.js.gz} +0 -0
  75. package/dist/{chunk-44CQ67GQ.js → chunk-XBTHWXNO.js} +172 -185
  76. package/dist/chunk-XBTHWXNO.js.br +0 -0
  77. package/dist/chunk-XBTHWXNO.js.gz +0 -0
  78. package/dist/{chunk-AMRT3AE4.mjs → chunk-XWUMM2TX.mjs} +44 -1
  79. package/dist/chunk-XWUMM2TX.mjs.br +0 -0
  80. package/dist/{chunk-AMRT3AE4.mjs.gz → chunk-XWUMM2TX.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 +7 -0
  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 +176 -5
  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/pptx-viewer.css +1 -1
  103. package/dist/pptx-viewer.css.br +0 -0
  104. package/dist/pptx-viewer.css.gz +0 -0
  105. package/dist/{useViewerBuildingBlocks-X1L8BjsQ.d.ts → useViewerBuildingBlocks-f6oNGKMX.d.ts} +8 -1
  106. package/dist/useViewerBuildingBlocks-f6oNGKMX.d.ts.map +1 -0
  107. package/dist/viewer/index.js +27 -27
  108. package/dist/viewer/index.js.br +0 -0
  109. package/dist/viewer/index.js.gz +0 -0
  110. package/dist/viewer/index.mjs +6 -6
  111. package/dist/viewer/index.mjs.br +0 -0
  112. package/dist/viewer/index.mjs.gz +0 -0
  113. package/package.json +1 -1
  114. package/dist/AiChatPanel-BNFDBP4S.mjs.br +0 -0
  115. package/dist/AiChatPanel-BNFDBP4S.mjs.gz +0 -0
  116. package/dist/AiChatPanel-WNQCTQB5.js.br +0 -0
  117. package/dist/AiChatPanel-WNQCTQB5.js.gz +0 -0
  118. package/dist/Area3DChartScene-FXBSLIGX.js.br +0 -0
  119. package/dist/Area3DChartScene-FXBSLIGX.js.gz +0 -0
  120. package/dist/Area3DChartScene-SAQVRYOH.mjs.br +0 -0
  121. package/dist/Area3DChartScene-SAQVRYOH.mjs.gz +0 -0
  122. package/dist/Bar3DChartScene-7HVUTP2E.js.br +0 -0
  123. package/dist/Bar3DChartScene-7HVUTP2E.js.gz +0 -0
  124. package/dist/Bar3DChartScene-LUA6E2K6.mjs.br +0 -3
  125. package/dist/Bar3DChartScene-LUA6E2K6.mjs.gz +0 -0
  126. package/dist/Line3DChartScene-IW4JGH57.mjs.br +0 -0
  127. package/dist/Line3DChartScene-IW4JGH57.mjs.gz +0 -0
  128. package/dist/Line3DChartScene-OVPULUTF.js.br +0 -0
  129. package/dist/Line3DChartScene-OVPULUTF.js.gz +0 -0
  130. package/dist/Model3DScene-5KP6BVCV.js.br +0 -0
  131. package/dist/Model3DScene-5KP6BVCV.js.gz +0 -0
  132. package/dist/Model3DScene-BERTZYCJ.mjs.br +0 -0
  133. package/dist/Model3DScene-BERTZYCJ.mjs.gz +0 -0
  134. package/dist/PieChart3DScene-3R2ETTGA.js.br +0 -0
  135. package/dist/PieChart3DScene-3R2ETTGA.js.gz +0 -0
  136. package/dist/PieChart3DScene-O6FFK5L7.mjs.br +0 -0
  137. package/dist/PieChart3DScene-O6FFK5L7.mjs.gz +0 -0
  138. package/dist/SurfaceChart3DScene-OCR26R5D.mjs.br +0 -0
  139. package/dist/SurfaceChart3DScene-OCR26R5D.mjs.gz +0 -0
  140. package/dist/SurfaceChart3DScene-TGFAOLHL.js.br +0 -0
  141. package/dist/SurfaceChart3DScene-TGFAOLHL.js.gz +0 -0
  142. package/dist/chunk-2FTJAMFA.mjs.br +0 -0
  143. package/dist/chunk-2FTJAMFA.mjs.gz +0 -0
  144. package/dist/chunk-3B5FRKYU.mjs.br +0 -0
  145. package/dist/chunk-3B5FRKYU.mjs.gz +0 -0
  146. package/dist/chunk-3P7FYHJH.js.br +0 -0
  147. package/dist/chunk-44CQ67GQ.js.br +0 -0
  148. package/dist/chunk-44CQ67GQ.js.gz +0 -0
  149. package/dist/chunk-AMRT3AE4.mjs.br +0 -0
  150. package/dist/chunk-DM2IZCSD.mjs.br +0 -0
  151. package/dist/chunk-DM2IZCSD.mjs.gz +0 -0
  152. package/dist/chunk-FSQCEAMG.js.br +0 -0
  153. package/dist/chunk-FSQCEAMG.js.gz +0 -0
  154. package/dist/chunk-GR6SJJIT.js.br +0 -0
  155. package/dist/chunk-GR6SJJIT.js.gz +0 -0
  156. package/dist/chunk-ITN5NYYM.mjs.br +0 -0
  157. package/dist/chunk-ITN5NYYM.mjs.gz +0 -0
  158. package/dist/chunk-K6R2JNCK.js.br +0 -0
  159. package/dist/chunk-K6R2JNCK.js.gz +0 -0
  160. package/dist/chunk-QEEU4S4Z.mjs.br +0 -0
  161. package/dist/chunk-QEEU4S4Z.mjs.gz +0 -0
  162. package/dist/chunk-QKSYKQEL.js.br +0 -0
  163. package/dist/chunk-QKSYKQEL.js.gz +0 -0
  164. package/dist/useViewerBuildingBlocks-X1L8BjsQ.d.ts.map +0 -1
package/CHANGELOG.md CHANGED
@@ -7,6 +7,30 @@ 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.3.0](https://github.com/ChristopherVR/pptx-viewer/releases/tag/pptx-react-viewer@3.3.0) - 2026-09-02
11
+
12
+ ### Features
13
+
14
+ - **react:** Per-series secondary axis toggle and shift-locked corner resize (by @ChristopherVR) ([ae7d13b](https://github.com/ChristopherVR/pptx-viewer/commit/ae7d13bab96dedfcbf07aa3be3c11fea6b5e64b2))
15
+ - **shared:** Add the pptx.effects.rotateWithShape key and export DEFAULT_FONT_SIZE (by @ChristopherVR) ([2021a28](https://github.com/ChristopherVR/pptx-viewer/commit/2021a28c4442b5769f3faaed1cb7abc27b7316a3))
16
+
17
+ ### Bug Fixes
18
+
19
+ - **react:** Make the chart gridlines checkbox change the canvas and keep 3D model MIME types (by @ChristopherVR) ([77381a1](https://github.com/ChristopherVR/pptx-viewer/commit/77381a16dd051978ae965b0d461a35916ef59d8d))
20
+ - **react:** Localise the outer-shadow "Rotate with Shape" label (by @ChristopherVR) ([181ca8d](https://github.com/ChristopherVR/pptx-viewer/commit/181ca8d0f189d8d9832489042d19a00ed0123ef7))
21
+ - **shared:** Stop eaLnBrk splitting Latin words mid-word (by @ChristopherVR) ([c3eedb9](https://github.com/ChristopherVR/pptx-viewer/commit/c3eedb9e7adaccfcd5fc954518d554218f1050e2))
22
+ - **react:** Keep the placeholder prompt off show, viewer and still surfaces (by @ChristopherVR) ([58474f7](https://github.com/ChristopherVR/pptx-viewer/commit/58474f7b127d06beb2f9c034d52c6a21c7551053))
23
+ - **shared:** Resolve Google webfonts from a bundled catalogue instead of probing the API (by @ChristopherVR) ([43bda70](https://github.com/ChristopherVR/pptx-viewer/commit/43bda70309f0e9b2cd80dc3ae2ec5cdecda41548))
24
+
25
+ ### Refactor
26
+
27
+ - **react:** Repoint onto the wave-2 shared modules (by @ChristopherVR) ([52e7011](https://github.com/ChristopherVR/pptx-viewer/commit/52e701140d82c29e82e7604608cbef122dd1c874))
28
+ - **shared:** Make editor-geometry nudge helpers alias editor-keymap (by @ChristopherVR) ([87cf256](https://github.com/ChristopherVR/pptx-viewer/commit/87cf256d9bf0565dd6b70e264c6a558416d31ef5))
29
+
30
+ ### Testing
31
+
32
+ - **react:** Stub the network in the webfont tests, not probe responses (by @ChristopherVR) ([b5e5275](https://github.com/ChristopherVR/pptx-viewer/commit/b5e527599b7937027f6bd772db0790ec9b72ca3a))
33
+
10
34
  ## [3.2.0](https://github.com/ChristopherVR/pptx-viewer/releases/tag/pptx-react-viewer@3.2.0) - 2026-09-02
11
35
 
12
36
  ### Features
@@ -1,9 +1,9 @@
1
1
  'use strict';
2
2
 
3
- var chunkFSQCEAMG_js = require('./chunk-FSQCEAMG.js');
4
- var chunk44CQ67GQ_js = require('./chunk-44CQ67GQ.js');
5
- require('./chunk-K6R2JNCK.js');
6
- require('./chunk-3P7FYHJH.js');
3
+ var chunkKY6JQJXK_js = require('./chunk-KY6JQJXK.js');
4
+ var chunkXBTHWXNO_js = require('./chunk-XBTHWXNO.js');
5
+ require('./chunk-PCW2KT7Z.js');
6
+ require('./chunk-UNIJUD5C.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 chunkFSQCEAMG_js.isAiAvailable();
26
+ const available = await chunkKY6JQJXK_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 chunkFSQCEAMG_js.createAiChatSession(bridge, configRef.current);
34
+ const built = await chunkKY6JQJXK_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 chunkFSQCEAMG_js.buildDeckContext(bridge, { strategy, focus: {} });
140
+ context = await chunkKY6JQJXK_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?.(chunkFSQCEAMG_js.toolCanvasTarget(call.toolName, call.input));
203
+ onToolTargetRef.current?.(chunkKY6JQJXK_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 ?? chunkFSQCEAMG_js.createChatHistoryStore(), [input.store]);
279
+ const store = react.useMemo(() => input.store ?? chunkKY6JQJXK_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: chunk44CQ67GQ_js.cn(
422
+ className: chunkXBTHWXNO_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 = chunkFSQCEAMG_js.focusTargetChips(targets, slides);
446
- const twoTables = chunkFSQCEAMG_js.isTwoTableFocus(targets, slides);
445
+ const chips = chunkKY6JQJXK_js.focusTargetChips(targets, slides);
446
+ const twoTables = chunkKY6JQJXK_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: chunk44CQ67GQ_js.cn(
453
+ className: chunkXBTHWXNO_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
- chunkFSQCEAMG_js.mergeTablesDirective(
469
+ chunkKY6JQJXK_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: chunk44CQ67GQ_js.cn(
490
+ className: chunkXBTHWXNO_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: chunk44CQ67GQ_js.cn(
569
+ className: chunkXBTHWXNO_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 = chunkFSQCEAMG_js.describeToolActivity(part.toolName, part.input, running ? "present" : "past");
724
+ const activity = chunkKY6JQJXK_js.describeToolActivity(part.toolName, part.input, running ? "present" : "past");
725
725
  const Icon = ICONS[activity.icon] ?? lu.LuWrench;
726
- const rawSummary = chunkFSQCEAMG_js.summarizeToolArgs(part.input);
726
+ const rawSummary = chunkKY6JQJXK_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: chunk44CQ67GQ_js.cn(
733
+ className: chunkXBTHWXNO_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: chunk44CQ67GQ_js.cn("truncate", failed ? "text-destructive" : "text-foreground"), children: activity.label }),
739
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: chunkXBTHWXNO_js.cn("truncate", failed ? "text-destructive" : "text-foreground"), children: activity.label }),
740
740
  /* @__PURE__ */ jsxRuntime.jsxs(
741
741
  "span",
742
742
  {
743
- className: chunk44CQ67GQ_js.cn(
743
+ className: chunkXBTHWXNO_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
- chunkFSQCEAMG_js.toolLabel(part.toolName),
760
+ chunkKY6JQJXK_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: chunk44CQ67GQ_js.cn(
791
+ className: chunkXBTHWXNO_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(chunkFSQCEAMG_js.humanizeDiffLine);
838
+ const lines = proposal.summary.map(chunkKY6JQJXK_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(() => chunkFSQCEAMG_js.deckIdFromBridge(bridge), [bridge]);
1046
+ const deckId = react.useMemo(() => chunkKY6JQJXK_js.deckIdFromBridge(bridge), [bridge]);
1047
1047
  return /* @__PURE__ */ jsxRuntime.jsxs(
1048
1048
  "div",
1049
1049
  {
Binary file
Binary file
@@ -1,7 +1,7 @@
1
- import { deckIdFromBridge, isAiAvailable, createAiChatSession, toolCanvasTarget, createChatHistoryStore, focusTargetChips, isTwoTableFocus, mergeTablesDirective, humanizeDiffLine, buildDeckContext, describeToolActivity, summarizeToolArgs, toolLabel } from './chunk-2FTJAMFA.mjs';
2
- import { cn } from './chunk-ITN5NYYM.mjs';
3
- import './chunk-DM2IZCSD.mjs';
4
- import './chunk-AMRT3AE4.mjs';
1
+ import { deckIdFromBridge, isAiAvailable, createAiChatSession, toolCanvasTarget, createChatHistoryStore, focusTargetChips, isTwoTableFocus, mergeTablesDirective, humanizeDiffLine, buildDeckContext, describeToolActivity, summarizeToolArgs, toolLabel } from './chunk-C4WTQIC6.mjs';
2
+ import { cn } from './chunk-SFMATKNJ.mjs';
3
+ import './chunk-B7WAGQW4.mjs';
4
+ import './chunk-XWUMM2TX.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,4 +1,4 @@
1
- import { mountAreaChart3D } from './chunk-DM2IZCSD.mjs';
1
+ import { mountAreaChart3D } from './chunk-B7WAGQW4.mjs';
2
2
  import './chunk-XGB3TDIC.mjs';
3
3
  import { useRef, useEffect } from 'react';
4
4
  import { jsx } from 'react/jsx-runtime';
@@ -0,0 +1,3 @@
1
+ [ "���_SM�%�@~��B�$����:p��n&�n�hK�d�ڨ-��1�ը�K޸M:���:��|;$~�8]��n�ȆڙR��wnWgKL+�:��������\���tfb�GL[/�=�6�-�|וxp��;A-l�\$�З��1'�A߿���������tFBO||�b8xQ�7 �"�H$����$x�� ~ N���?��o�c3��琛�?��2���m �Ю��RG J��ZM?�Z��kQ�;{R
2
+ 6��D2��Tr�[GE�s"]Bmr^ܳx��͖��g3���k��? y���M6��}�,�:͚Pq�$ެ���Jz<��k3���r��E��/oz��Iwu/ ��[?
3
+ U
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunkK6R2JNCK_js = require('./chunk-K6R2JNCK.js');
3
+ var chunkPCW2KT7Z_js = require('./chunk-PCW2KT7Z.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 Area3DChartScene({ options }) {
14
14
  return;
15
15
  }
16
16
  let disposed = false;
17
- void chunkK6R2JNCK_js.mountAreaChart3D(container, options).then((handle) => {
17
+ void chunkPCW2KT7Z_js.mountAreaChart3D(container, options).then((handle) => {
18
18
  if (disposed) {
19
19
  handle.dispose();
20
20
  } else {
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunkK6R2JNCK_js = require('./chunk-K6R2JNCK.js');
3
+ var chunkPCW2KT7Z_js = require('./chunk-PCW2KT7Z.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 Bar3DChartScene({ options }) {
14
14
  return;
15
15
  }
16
16
  let disposed = false;
17
- void chunkK6R2JNCK_js.mountBarChart3D(container, options).then((handle) => {
17
+ void chunkPCW2KT7Z_js.mountBarChart3D(container, options).then((handle) => {
18
18
  if (disposed) {
19
19
  handle.dispose();
20
20
  } else {
@@ -0,0 +1,2 @@
1
+ �`��8܄�.]����W� .��n2R$�h��������k �F[]K��X�MxV�ډ?|����e=��R���tu?lKv3���:��*�ܒ�+�Z^\����)�(T#�R^�UO�!&kT���������8ʱ'_V>䳃5��2�I�_�}��x�g�
2
+ ���z����|U�5�_�e��}�R�O��X
@@ -1,4 +1,4 @@
1
- import { mountBarChart3D } from './chunk-DM2IZCSD.mjs';
1
+ import { mountBarChart3D } from './chunk-B7WAGQW4.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 chunkK6R2JNCK_js = require('./chunk-K6R2JNCK.js');
3
+ var chunkPCW2KT7Z_js = require('./chunk-PCW2KT7Z.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 Line3DChartScene({ options }) {
14
14
  return;
15
15
  }
16
16
  let disposed = false;
17
- void chunkK6R2JNCK_js.mountLineChart3D(container, options).then((handle) => {
17
+ void chunkPCW2KT7Z_js.mountLineChart3D(container, options).then((handle) => {
18
18
  if (disposed) {
19
19
  handle.dispose();
20
20
  } else {
@@ -1,4 +1,4 @@
1
- import { mountLineChart3D } from './chunk-DM2IZCSD.mjs';
1
+ import { mountLineChart3D } from './chunk-B7WAGQW4.mjs';
2
2
  import './chunk-XGB3TDIC.mjs';
3
3
  import { useRef, useEffect } from 'react';
4
4
  import { jsx } from 'react/jsx-runtime';
@@ -0,0 +1,3 @@
1
+ [ "���_SM�%�@~��B�$����:p��n&�n�hK�d�ڨ-��1�ը�K޸M*���:��|;$~�8]��n�ȆڙR��wnWgKL+�:��������\���tfb�GL[/�=�6�-�|וxp��;A-l�\$�З��1'�A߿���������tFBO||�b8xQ�7 �"�H$����$x�� ~ N���?��o�c3��琛�?��2���m �Ю��RG J��ZM?�Z��kQ�;{R
2
+ 6��D2��Tr�[GE�s"]Bmr^ܳx��͖��g3���k��? ����M6��}�,�:͚Pq�$ެ���Jz<��k3���r��E��/oz��Iwu/ ��[?
3
+ U
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunkK6R2JNCK_js = require('./chunk-K6R2JNCK.js');
3
+ var chunkPCW2KT7Z_js = require('./chunk-PCW2KT7Z.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 chunkK6R2JNCK_js.mountModel3D(container, modelUrl, { width, height, interactive }).then((handle) => {
17
+ void chunkPCW2KT7Z_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-DM2IZCSD.mjs';
1
+ import { mountModel3D } from './chunk-B7WAGQW4.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 chunkK6R2JNCK_js = require('./chunk-K6R2JNCK.js');
3
+ var chunkPCW2KT7Z_js = require('./chunk-PCW2KT7Z.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 PieChart3DScene({ options }) {
14
14
  return;
15
15
  }
16
16
  let disposed = false;
17
- void chunkK6R2JNCK_js.mountPieChart3D(container, options).then((handle) => {
17
+ void chunkPCW2KT7Z_js.mountPieChart3D(container, options).then((handle) => {
18
18
  if (disposed) {
19
19
  handle.dispose();
20
20
  } else {
@@ -1,4 +1,4 @@
1
- import { mountPieChart3D } from './chunk-DM2IZCSD.mjs';
1
+ import { mountPieChart3D } from './chunk-B7WAGQW4.mjs';
2
2
  import './chunk-XGB3TDIC.mjs';
3
3
  import { useRef, useEffect } from 'react';
4
4
  import { jsx } from 'react/jsx-runtime';
@@ -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;;;;;;;;;;;;cCmHI,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;;;;;;;;;;;;cC2HI,kCAAgB,0BAAA,wCAAA,cAAA"}
@@ -1,4 +1,4 @@
1
- import { mountSurfaceChart3D } from './chunk-DM2IZCSD.mjs';
1
+ import { mountSurfaceChart3D } from './chunk-B7WAGQW4.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 chunkK6R2JNCK_js = require('./chunk-K6R2JNCK.js');
3
+ var chunkPCW2KT7Z_js = require('./chunk-PCW2KT7Z.js');
4
4
  require('./chunk-4VNS5WPM.js');
5
5
  var react = require('react');
6
6
  var jsxRuntime = require('react/jsx-runtime');
@@ -16,7 +16,7 @@ function SurfaceChart3DScene({
16
16
  return;
17
17
  }
18
18
  let disposed = false;
19
- void chunkK6R2JNCK_js.mountSurfaceChart3D(container, options).then((handle) => {
19
+ void chunkPCW2KT7Z_js.mountSurfaceChart3D(container, options).then((handle) => {
20
20
  if (disposed) {
21
21
  handle.dispose();
22
22
  } else {