pptx-react-viewer 3.16.0 → 3.16.2

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 (139) hide show
  1. package/CHANGELOG.md +29 -0
  2. package/dist/{AiChatPanel-FAAO6JYZ.mjs → AiChatPanel-D77PKWZT.mjs} +3 -3
  3. package/dist/AiChatPanel-D77PKWZT.mjs.br +0 -0
  4. package/dist/AiChatPanel-D77PKWZT.mjs.gz +0 -0
  5. package/dist/{AiChatPanel-WSH2K7T4.js → AiChatPanel-SNG6LWGZ.js} +24 -24
  6. package/dist/AiChatPanel-SNG6LWGZ.js.br +0 -0
  7. package/dist/AiChatPanel-SNG6LWGZ.js.gz +0 -0
  8. package/dist/{Area3DChartScene-LGLVVQEB.mjs → Area3DChartScene-3RNVCXU6.mjs} +1 -1
  9. package/dist/Area3DChartScene-3RNVCXU6.mjs.br +0 -0
  10. package/dist/Area3DChartScene-3RNVCXU6.mjs.gz +0 -0
  11. package/dist/{Area3DChartScene-PTKML4PN.js → Area3DChartScene-4IS4EKPJ.js} +2 -2
  12. package/dist/Area3DChartScene-4IS4EKPJ.js.br +0 -0
  13. package/dist/Area3DChartScene-4IS4EKPJ.js.gz +0 -0
  14. package/dist/{Bar3DChartScene-UXC4LE44.js → Bar3DChartScene-OODRQGK6.js} +2 -2
  15. package/dist/Bar3DChartScene-OODRQGK6.js.br +0 -0
  16. package/dist/Bar3DChartScene-OODRQGK6.js.gz +0 -0
  17. package/dist/{Bar3DChartScene-HCP7MA3A.mjs → Bar3DChartScene-VKGLA3KB.mjs} +1 -1
  18. package/dist/Bar3DChartScene-VKGLA3KB.mjs.br +0 -0
  19. package/dist/Bar3DChartScene-VKGLA3KB.mjs.gz +0 -0
  20. package/dist/{Line3DChartScene-JF54KXMH.mjs → Line3DChartScene-EPLCFAC5.mjs} +1 -1
  21. package/dist/Line3DChartScene-EPLCFAC5.mjs.br +0 -0
  22. package/dist/Line3DChartScene-EPLCFAC5.mjs.gz +0 -0
  23. package/dist/{Line3DChartScene-Z2EVGX4C.js → Line3DChartScene-Y6QDWIFG.js} +2 -2
  24. package/dist/Line3DChartScene-Y6QDWIFG.js.br +0 -0
  25. package/dist/Line3DChartScene-Y6QDWIFG.js.gz +0 -0
  26. package/dist/{Model3DScene-YWQBX477.mjs → Model3DScene-3MYNMS6E.mjs} +1 -1
  27. package/dist/Model3DScene-3MYNMS6E.mjs.br +0 -0
  28. package/dist/Model3DScene-3MYNMS6E.mjs.gz +0 -0
  29. package/dist/{Model3DScene-ZBOF56VV.js → Model3DScene-TS35CVPY.js} +2 -2
  30. package/dist/Model3DScene-TS35CVPY.js.br +0 -0
  31. package/dist/Model3DScene-TS35CVPY.js.gz +0 -0
  32. package/dist/{PieChart3DScene-JPQTAS34.js → PieChart3DScene-FMVV6AYF.js} +2 -2
  33. package/dist/PieChart3DScene-FMVV6AYF.js.br +0 -0
  34. package/dist/PieChart3DScene-FMVV6AYF.js.gz +0 -0
  35. package/dist/{PieChart3DScene-4TRQ4V3M.mjs → PieChart3DScene-UZQFG6GM.mjs} +1 -1
  36. package/dist/PieChart3DScene-UZQFG6GM.mjs.br +0 -0
  37. package/dist/PieChart3DScene-UZQFG6GM.mjs.gz +0 -0
  38. package/dist/{SurfaceChart3DScene-P3LX35OP.js → SurfaceChart3DScene-T6HOOYKR.js} +2 -2
  39. package/dist/SurfaceChart3DScene-T6HOOYKR.js.br +0 -0
  40. package/dist/SurfaceChart3DScene-T6HOOYKR.js.gz +0 -0
  41. package/dist/{SurfaceChart3DScene-N76RNCUY.mjs → SurfaceChart3DScene-UWRHDZMG.mjs} +1 -1
  42. package/dist/SurfaceChart3DScene-UWRHDZMG.mjs.br +0 -0
  43. package/dist/SurfaceChart3DScene-UWRHDZMG.mjs.gz +0 -0
  44. package/dist/{chunk-W5W75MFP.js → chunk-3URR46TX.js} +169 -179
  45. package/dist/chunk-3URR46TX.js.br +0 -0
  46. package/dist/chunk-3URR46TX.js.gz +0 -0
  47. package/dist/{chunk-L2MOKP3E.js → chunk-42YQYM4M.js} +326 -319
  48. package/dist/chunk-42YQYM4M.js.br +0 -0
  49. package/dist/chunk-42YQYM4M.js.gz +0 -0
  50. package/dist/{chunk-Y2UFUL7P.js → chunk-5ETLPGKA.js} +5 -5
  51. package/dist/chunk-5ETLPGKA.js.br +0 -0
  52. package/dist/chunk-5ETLPGKA.js.gz +0 -0
  53. package/dist/{chunk-WYGPSCMS.js → chunk-66PTLRAD.js} +1292 -1292
  54. package/dist/chunk-66PTLRAD.js.br +0 -0
  55. package/dist/chunk-66PTLRAD.js.gz +0 -0
  56. package/dist/{chunk-QVEPXTUB.mjs → chunk-F3B7MWQ5.mjs} +325 -320
  57. package/dist/chunk-F3B7MWQ5.mjs.br +0 -0
  58. package/dist/chunk-F3B7MWQ5.mjs.gz +0 -0
  59. package/dist/{chunk-A6UVUZUX.mjs → chunk-K5DP3GFC.mjs} +1 -1
  60. package/dist/chunk-K5DP3GFC.mjs.br +0 -0
  61. package/dist/{chunk-A6UVUZUX.mjs.gz → chunk-K5DP3GFC.mjs.gz} +0 -0
  62. package/dist/{chunk-BNR6YPW5.mjs → chunk-KJEEEUWF.mjs} +2 -2
  63. package/dist/chunk-KJEEEUWF.mjs.br +0 -0
  64. package/dist/chunk-KJEEEUWF.mjs.gz +0 -0
  65. package/dist/{chunk-6B7A5JNM.mjs → chunk-LFOXMY2O.mjs} +15 -15
  66. package/dist/chunk-LFOXMY2O.mjs.br +0 -0
  67. package/dist/chunk-LFOXMY2O.mjs.gz +0 -0
  68. package/dist/{chunk-TJ4L42RA.js → chunk-QLM6L5PA.js} +450 -450
  69. package/dist/chunk-QLM6L5PA.js.br +0 -0
  70. package/dist/chunk-QLM6L5PA.js.gz +0 -0
  71. package/dist/{chunk-ERCY52HH.mjs → chunk-TX77ZJH6.mjs} +3 -13
  72. package/dist/chunk-TX77ZJH6.mjs.br +0 -0
  73. package/dist/chunk-TX77ZJH6.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 +2 -2
  93. package/dist/AiChatPanel-FAAO6JYZ.mjs.br +0 -0
  94. package/dist/AiChatPanel-FAAO6JYZ.mjs.gz +0 -0
  95. package/dist/AiChatPanel-WSH2K7T4.js.br +0 -0
  96. package/dist/AiChatPanel-WSH2K7T4.js.gz +0 -0
  97. package/dist/Area3DChartScene-LGLVVQEB.mjs.br +0 -0
  98. package/dist/Area3DChartScene-LGLVVQEB.mjs.gz +0 -0
  99. package/dist/Area3DChartScene-PTKML4PN.js.br +0 -0
  100. package/dist/Area3DChartScene-PTKML4PN.js.gz +0 -0
  101. package/dist/Bar3DChartScene-HCP7MA3A.mjs.br +0 -0
  102. package/dist/Bar3DChartScene-HCP7MA3A.mjs.gz +0 -0
  103. package/dist/Bar3DChartScene-UXC4LE44.js.br +0 -0
  104. package/dist/Bar3DChartScene-UXC4LE44.js.gz +0 -0
  105. package/dist/Line3DChartScene-JF54KXMH.mjs.br +0 -0
  106. package/dist/Line3DChartScene-JF54KXMH.mjs.gz +0 -0
  107. package/dist/Line3DChartScene-Z2EVGX4C.js.br +0 -0
  108. package/dist/Line3DChartScene-Z2EVGX4C.js.gz +0 -0
  109. package/dist/Model3DScene-YWQBX477.mjs.br +0 -0
  110. package/dist/Model3DScene-YWQBX477.mjs.gz +0 -0
  111. package/dist/Model3DScene-ZBOF56VV.js.br +0 -0
  112. package/dist/Model3DScene-ZBOF56VV.js.gz +0 -0
  113. package/dist/PieChart3DScene-4TRQ4V3M.mjs.br +0 -0
  114. package/dist/PieChart3DScene-4TRQ4V3M.mjs.gz +0 -0
  115. package/dist/PieChart3DScene-JPQTAS34.js.br +0 -0
  116. package/dist/PieChart3DScene-JPQTAS34.js.gz +0 -0
  117. package/dist/SurfaceChart3DScene-N76RNCUY.mjs.br +0 -0
  118. package/dist/SurfaceChart3DScene-N76RNCUY.mjs.gz +0 -0
  119. package/dist/SurfaceChart3DScene-P3LX35OP.js.br +0 -0
  120. package/dist/SurfaceChart3DScene-P3LX35OP.js.gz +0 -0
  121. package/dist/chunk-6B7A5JNM.mjs.br +0 -0
  122. package/dist/chunk-6B7A5JNM.mjs.gz +0 -0
  123. package/dist/chunk-A6UVUZUX.mjs.br +0 -0
  124. package/dist/chunk-BNR6YPW5.mjs.br +0 -0
  125. package/dist/chunk-BNR6YPW5.mjs.gz +0 -0
  126. package/dist/chunk-ERCY52HH.mjs.br +0 -0
  127. package/dist/chunk-ERCY52HH.mjs.gz +0 -0
  128. package/dist/chunk-L2MOKP3E.js.br +0 -0
  129. package/dist/chunk-L2MOKP3E.js.gz +0 -0
  130. package/dist/chunk-QVEPXTUB.mjs.br +0 -0
  131. package/dist/chunk-QVEPXTUB.mjs.gz +0 -0
  132. package/dist/chunk-TJ4L42RA.js.br +0 -0
  133. package/dist/chunk-TJ4L42RA.js.gz +0 -0
  134. package/dist/chunk-W5W75MFP.js.br +0 -0
  135. package/dist/chunk-W5W75MFP.js.gz +0 -0
  136. package/dist/chunk-WYGPSCMS.js.br +0 -0
  137. package/dist/chunk-WYGPSCMS.js.gz +0 -0
  138. package/dist/chunk-Y2UFUL7P.js.br +0 -0
  139. package/dist/chunk-Y2UFUL7P.js.gz +0 -0
package/CHANGELOG.md CHANGED
@@ -7,6 +7,35 @@ 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.16.1](https://github.com/ChristopherVR/pptx-viewer/releases/tag/pptx-react-viewer@3.16.1) - 2026-09-11
11
+
12
+ ### Bug Fixes
13
+
14
+ - Preserve unchanged table text during merge and split (by @Sudhansh6) ([22df796](https://github.com/ChristopherVR/pptx-viewer/commit/22df7968570c89f03b72766b10473401cc179e9c))
15
+ - Keep split available for a single merged table cell (by @Sudhansh6) ([38727de](https://github.com/ChristopherVR/pptx-viewer/commit/38727de2d0bd2105d4e263c12bc6fdbe7b013cb8))
16
+
17
+ ## [3.16.0](https://github.com/ChristopherVR/pptx-viewer/releases/tag/pptx-react-viewer@3.16.0) - 2026-09-10
18
+
19
+ ### Features
20
+
21
+ - **core:** SmartArt fanned-root hanging forests and choose-wrapped text templates (by @ChristopherVR) ([f303bbb](https://github.com/ChristopherVR/pptx-viewer/commit/f303bbbcc535052a3d5fbc4ba5e1898e3e300781))
22
+ - **core:** Size repeater-rendered SmartArt satellites from the diagram-wide userS (by @ChristopherVR) ([fc5e931](https://github.com/ChristopherVR/pptx-viewer/commit/fc5e9313d1876daec8c64632c3579a7bddf8a02a))
23
+ - **core:** Reserve the fan-axis hang gap in transposed tailed hierarchies (by @ChristopherVR) ([0a367d5](https://github.com/ChristopherVR/pptx-viewer/commit/0a367d519e49cd538da2c0a4cf4408a4d94b3a94))
24
+ - **core:** Size nested SmartArt hub-and-satellite rings from the diagram-wide userS (by @ChristopherVR) ([228d624](https://github.com/ChristopherVR/pptx-viewer/commit/228d6242cc07f1946cc82efcffea5d06cf3cbf4e))
25
+
26
+ ### Bug Fixes
27
+
28
+ - **shared,vanilla:** Space WordArt envelope glyphs across the box and keep paragraph bands apart (by @ChristopherVR) ([e165d72](https://github.com/ChristopherVR/pptx-viewer/commit/e165d7210ba360a79a384206c5459a7630db19a8))
29
+ - **core:** Preserve table inline content order on save (by @Sudhansh6) ([4f38ac3](https://github.com/ChristopherVR/pptx-viewer/commit/4f38ac34fbe7bb92d365159c7951e14cce48ae7d))
30
+ - **shared,core:** Resolve the open code-scanning alerts (by @ChristopherVR) ([e66f068](https://github.com/ChristopherVR/pptx-viewer/commit/e66f06864f472dcd7d94b31435bb8bd1f7054be5))
31
+ - **core:** Preserve empty soft line breaks on load (by @Sudhansh6) ([be9f5f5](https://github.com/ChristopherVR/pptx-viewer/commit/be9f5f59849434f76cc074ea1d49024460ad9164))
32
+ - **core:** Drop the removed ensureItems argument after the soft-break fix (by @ChristopherVR) ([83f9b37](https://github.com/ChristopherVR/pptx-viewer/commit/83f9b37cf590952abeba2e3e7138e4ed7fab81ca))
33
+ - Preserve rich table cells during row and column edits (by @Sudhansh6) ([e83c2eb](https://github.com/ChristopherVR/pptx-viewer/commit/e83c2ebe92b78a7d32ed1d90ebe6765573a2c148))
34
+
35
+ ### Refactor
36
+
37
+ - **shared:** Move the WordArt canvas measurement helpers to their own module (by @ChristopherVR) ([ed9f400](https://github.com/ChristopherVR/pptx-viewer/commit/ed9f4009b523985c28ea5740404191d3118a03a4))
38
+
10
39
  ## [3.15.0](https://github.com/ChristopherVR/pptx-viewer/releases/tag/pptx-react-viewer@3.15.0) - 2026-09-10
11
40
 
12
41
  ### Features
@@ -1,6 +1,6 @@
1
- import { deckIdFromBridge, isAiAvailable, createAiChatSession, toolCanvasTarget, createChatHistoryStore, focusTargetChips, isTwoTableFocus, mergeTablesDirective, humanizeDiffLine, buildDeckContext, describeToolActivity, summarizeToolArgs, toolLabel } from './chunk-A6UVUZUX.mjs';
2
- import { cn } from './chunk-ERCY52HH.mjs';
3
- import './chunk-QVEPXTUB.mjs';
1
+ import { deckIdFromBridge, isAiAvailable, createAiChatSession, toolCanvasTarget, createChatHistoryStore, focusTargetChips, isTwoTableFocus, mergeTablesDirective, humanizeDiffLine, buildDeckContext, describeToolActivity, summarizeToolArgs, toolLabel } from './chunk-K5DP3GFC.mjs';
2
+ import { cn } from './chunk-TX77ZJH6.mjs';
3
+ import './chunk-F3B7MWQ5.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,8 +1,8 @@
1
1
  'use strict';
2
2
 
3
- var chunkY2UFUL7P_js = require('./chunk-Y2UFUL7P.js');
4
- var chunkW5W75MFP_js = require('./chunk-W5W75MFP.js');
5
- require('./chunk-L2MOKP3E.js');
3
+ var chunk5ETLPGKA_js = require('./chunk-5ETLPGKA.js');
4
+ var chunk3URR46TX_js = require('./chunk-3URR46TX.js');
5
+ require('./chunk-42YQYM4M.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 chunkY2UFUL7P_js.isAiAvailable();
26
+ const available = await chunk5ETLPGKA_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 chunkY2UFUL7P_js.createAiChatSession(bridge, configRef.current);
34
+ const built = await chunk5ETLPGKA_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 chunkY2UFUL7P_js.buildDeckContext(bridge, { strategy, focus: {} });
140
+ context = await chunk5ETLPGKA_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?.(chunkY2UFUL7P_js.toolCanvasTarget(call.toolName, call.input));
203
+ onToolTargetRef.current?.(chunk5ETLPGKA_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 ?? chunkY2UFUL7P_js.createChatHistoryStore(), [input.store]);
279
+ const store = react.useMemo(() => input.store ?? chunk5ETLPGKA_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: chunkW5W75MFP_js.cn(
422
+ className: chunk3URR46TX_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 = chunkY2UFUL7P_js.focusTargetChips(targets, slides);
446
- const twoTables = chunkY2UFUL7P_js.isTwoTableFocus(targets, slides);
445
+ const chips = chunk5ETLPGKA_js.focusTargetChips(targets, slides);
446
+ const twoTables = chunk5ETLPGKA_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: chunkW5W75MFP_js.cn(
453
+ className: chunk3URR46TX_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
- chunkY2UFUL7P_js.mergeTablesDirective(
469
+ chunk5ETLPGKA_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: chunkW5W75MFP_js.cn(
490
+ className: chunk3URR46TX_js.cn(
491
491
  "rounded-sm p-1 max-md:min-w-[44px]! max-md:min-h-[44px]! flex items-center justify-center",
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: chunkW5W75MFP_js.cn(
569
+ className: chunk3URR46TX_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 = chunkY2UFUL7P_js.describeToolActivity(part.toolName, part.input, running ? "present" : "past");
724
+ const activity = chunk5ETLPGKA_js.describeToolActivity(part.toolName, part.input, running ? "present" : "past");
725
725
  const Icon = ICONS[activity.icon] ?? lu.LuWrench;
726
- const rawSummary = chunkY2UFUL7P_js.summarizeToolArgs(part.input);
726
+ const rawSummary = chunk5ETLPGKA_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: chunkW5W75MFP_js.cn(
733
+ className: chunk3URR46TX_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: chunkW5W75MFP_js.cn("truncate", failed ? "text-destructive" : "text-foreground"), children: activity.label }),
739
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: chunk3URR46TX_js.cn("truncate", failed ? "text-destructive" : "text-foreground"), children: activity.label }),
740
740
  /* @__PURE__ */ jsxRuntime.jsxs(
741
741
  "span",
742
742
  {
743
- className: chunkW5W75MFP_js.cn(
743
+ className: chunk3URR46TX_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
- chunkY2UFUL7P_js.toolLabel(part.toolName),
760
+ chunk5ETLPGKA_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: chunkW5W75MFP_js.cn(
791
+ className: chunk3URR46TX_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(chunkY2UFUL7P_js.humanizeDiffLine);
838
+ const lines = proposal.summary.map(chunk5ETLPGKA_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(() => chunkY2UFUL7P_js.deckIdFromBridge(bridge), [bridge]);
1046
+ const deckId = react.useMemo(() => chunk5ETLPGKA_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-QVEPXTUB.mjs';
2
+ import { mountAreaChart3D } from './chunk-F3B7MWQ5.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 chunkL2MOKP3E_js = require('./chunk-L2MOKP3E.js');
4
+ var chunk42YQYM4M_js = require('./chunk-42YQYM4M.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 chunkL2MOKP3E_js.mountAreaChart3D(container, options, stableInteraction).then((handle) => {
26
+ void chunk42YQYM4M_js.mountAreaChart3D(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 chunkL2MOKP3E_js = require('./chunk-L2MOKP3E.js');
4
+ var chunk42YQYM4M_js = require('./chunk-42YQYM4M.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 chunkL2MOKP3E_js.mountBarChart3D(container, options, stableInteraction).then((handle) => {
26
+ void chunk42YQYM4M_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 { mountBarChart3D } from './chunk-QVEPXTUB.mjs';
2
+ import { mountBarChart3D } from './chunk-F3B7MWQ5.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 { mountLineChart3D } from './chunk-QVEPXTUB.mjs';
2
+ import { mountLineChart3D } from './chunk-F3B7MWQ5.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 chunkL2MOKP3E_js = require('./chunk-L2MOKP3E.js');
4
+ var chunk42YQYM4M_js = require('./chunk-42YQYM4M.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 chunkL2MOKP3E_js.mountLineChart3D(container, options, stableInteraction).then((handle) => {
26
+ void chunk42YQYM4M_js.mountLineChart3D(container, options, stableInteraction).then((handle) => {
27
27
  if (disposed) {
28
28
  handle.dispose();
29
29
  } else {
@@ -1,4 +1,4 @@
1
- import { mountModel3D } from './chunk-QVEPXTUB.mjs';
1
+ import { mountModel3D } from './chunk-F3B7MWQ5.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 chunkL2MOKP3E_js = require('./chunk-L2MOKP3E.js');
3
+ var chunk42YQYM4M_js = require('./chunk-42YQYM4M.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 chunkL2MOKP3E_js.mountModel3D(container, modelUrl, { width, height, interactive }).then((handle) => {
17
+ void chunk42YQYM4M_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,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var chunkDNR6CH6I_js = require('./chunk-DNR6CH6I.js');
4
- var chunkL2MOKP3E_js = require('./chunk-L2MOKP3E.js');
4
+ var chunk42YQYM4M_js = require('./chunk-42YQYM4M.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 chunkL2MOKP3E_js.mountPieChart3D(container, options, stableInteraction).then((handle) => {
24
+ void chunk42YQYM4M_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-QVEPXTUB.mjs';
2
+ import { mountPieChart3D } from './chunk-F3B7MWQ5.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 chunkL2MOKP3E_js = require('./chunk-L2MOKP3E.js');
4
+ var chunk42YQYM4M_js = require('./chunk-42YQYM4M.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 chunkL2MOKP3E_js.mountSurfaceChart3D(container, options, stableInteraction).then((handle) => {
26
+ void chunk42YQYM4M_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-QVEPXTUB.mjs';
2
+ import { mountSurfaceChart3D } from './chunk-F3B7MWQ5.mjs';
3
3
  import './chunk-XGB3TDIC.mjs';
4
4
  import { useRef, useEffect } from 'react';
5
5
  import { jsx } from 'react/jsx-runtime';