pptx-react-viewer 3.2.0 → 3.3.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 (155) hide show
  1. package/CHANGELOG.md +29 -0
  2. package/dist/{AiChatPanel-C3E7NLX3.mjs → AiChatPanel-BNFDBP4S.mjs} +9 -8
  3. package/dist/AiChatPanel-BNFDBP4S.mjs.br +0 -0
  4. package/dist/AiChatPanel-BNFDBP4S.mjs.gz +0 -0
  5. package/dist/{AiChatPanel-TKBVSYD2.js → AiChatPanel-WNQCTQB5.js} +29 -28
  6. package/dist/AiChatPanel-WNQCTQB5.js.br +0 -0
  7. package/dist/AiChatPanel-WNQCTQB5.js.gz +0 -0
  8. package/dist/{Area3DChartScene-3A3CXKN3.js → Area3DChartScene-FXBSLIGX.js} +2 -2
  9. package/dist/Area3DChartScene-FXBSLIGX.js.br +0 -0
  10. package/dist/Area3DChartScene-FXBSLIGX.js.gz +0 -0
  11. package/dist/{Area3DChartScene-7YCFWEGX.mjs → Area3DChartScene-SAQVRYOH.mjs} +1 -1
  12. package/dist/Area3DChartScene-SAQVRYOH.mjs.br +0 -0
  13. package/dist/Area3DChartScene-SAQVRYOH.mjs.gz +0 -0
  14. package/dist/{Bar3DChartScene-BDUENAWJ.js → Bar3DChartScene-7HVUTP2E.js} +2 -2
  15. package/dist/Bar3DChartScene-7HVUTP2E.js.br +0 -0
  16. package/dist/Bar3DChartScene-7HVUTP2E.js.gz +0 -0
  17. package/dist/{Bar3DChartScene-7CNSJ35X.mjs → Bar3DChartScene-LUA6E2K6.mjs} +1 -1
  18. package/dist/Bar3DChartScene-LUA6E2K6.mjs.br +3 -0
  19. package/dist/Bar3DChartScene-LUA6E2K6.mjs.gz +0 -0
  20. package/dist/{Line3DChartScene-SMTHK6MD.mjs → Line3DChartScene-IW4JGH57.mjs} +1 -1
  21. package/dist/Line3DChartScene-IW4JGH57.mjs.br +0 -0
  22. package/dist/Line3DChartScene-IW4JGH57.mjs.gz +0 -0
  23. package/dist/{Line3DChartScene-R352CZ5U.js → Line3DChartScene-OVPULUTF.js} +2 -2
  24. package/dist/Line3DChartScene-OVPULUTF.js.br +0 -0
  25. package/dist/Line3DChartScene-OVPULUTF.js.gz +0 -0
  26. package/dist/{Model3DScene-Y4SGFQYW.js → Model3DScene-5KP6BVCV.js} +2 -2
  27. package/dist/Model3DScene-5KP6BVCV.js.br +0 -0
  28. package/dist/Model3DScene-5KP6BVCV.js.gz +0 -0
  29. package/dist/{Model3DScene-AUVJXXPV.mjs → Model3DScene-BERTZYCJ.mjs} +1 -1
  30. package/dist/Model3DScene-BERTZYCJ.mjs.br +0 -0
  31. package/dist/Model3DScene-BERTZYCJ.mjs.gz +0 -0
  32. package/dist/{PieChart3DScene-TK2VT4RS.js → PieChart3DScene-3R2ETTGA.js} +2 -2
  33. package/dist/PieChart3DScene-3R2ETTGA.js.br +0 -0
  34. package/dist/PieChart3DScene-3R2ETTGA.js.gz +0 -0
  35. package/dist/{PieChart3DScene-UD7GRH55.mjs → PieChart3DScene-O6FFK5L7.mjs} +1 -1
  36. package/dist/PieChart3DScene-O6FFK5L7.mjs.br +0 -0
  37. package/dist/PieChart3DScene-O6FFK5L7.mjs.gz +0 -0
  38. package/dist/{SurfaceChart3DScene-TXY6UZSW.mjs → SurfaceChart3DScene-OCR26R5D.mjs} +1 -1
  39. package/dist/SurfaceChart3DScene-OCR26R5D.mjs.br +0 -0
  40. package/dist/SurfaceChart3DScene-OCR26R5D.mjs.gz +0 -0
  41. package/dist/{SurfaceChart3DScene-ERFXZW2O.js → SurfaceChart3DScene-TGFAOLHL.js} +2 -2
  42. package/dist/SurfaceChart3DScene-TGFAOLHL.js.br +0 -0
  43. package/dist/SurfaceChart3DScene-TGFAOLHL.js.gz +0 -0
  44. package/dist/{chunk-RX6FE24O.mjs → chunk-2FTJAMFA.mjs} +294 -61
  45. package/dist/chunk-2FTJAMFA.mjs.br +0 -0
  46. package/dist/chunk-2FTJAMFA.mjs.gz +0 -0
  47. package/dist/{chunk-PPNXPEEZ.mjs → chunk-3B5FRKYU.mjs} +130 -437
  48. package/dist/chunk-3B5FRKYU.mjs.br +0 -0
  49. package/dist/chunk-3B5FRKYU.mjs.gz +0 -0
  50. package/dist/{chunk-ALO4ZOHQ.js → chunk-3P7FYHJH.js} +1 -0
  51. package/dist/chunk-3P7FYHJH.js.br +0 -0
  52. package/dist/chunk-3P7FYHJH.js.gz +0 -0
  53. package/dist/{chunk-B6UIVRFA.js → chunk-44CQ67GQ.js} +173 -262
  54. package/dist/chunk-44CQ67GQ.js.br +0 -0
  55. package/dist/chunk-44CQ67GQ.js.gz +0 -0
  56. package/dist/{chunk-RHSA5BW5.mjs → chunk-AMRT3AE4.mjs} +1 -0
  57. package/dist/chunk-AMRT3AE4.mjs.br +0 -0
  58. package/dist/chunk-AMRT3AE4.mjs.gz +0 -0
  59. package/dist/{chunk-G7UBIKAG.mjs → chunk-DM2IZCSD.mjs} +2429 -39
  60. package/dist/chunk-DM2IZCSD.mjs.br +0 -0
  61. package/dist/{chunk-G7UBIKAG.mjs.gz → chunk-DM2IZCSD.mjs.gz} +0 -0
  62. package/dist/{chunk-Q52HT4EZ.js → chunk-FSQCEAMG.js} +299 -63
  63. package/dist/chunk-FSQCEAMG.js.br +0 -0
  64. package/dist/chunk-FSQCEAMG.js.gz +0 -0
  65. package/dist/{chunk-ARQGUUYU.js → chunk-GR6SJJIT.js} +449 -723
  66. package/dist/chunk-GR6SJJIT.js.br +0 -0
  67. package/dist/chunk-GR6SJJIT.js.gz +0 -0
  68. package/dist/{chunk-FMEEIS6L.mjs → chunk-ITN5NYYM.mjs} +10 -98
  69. package/dist/chunk-ITN5NYYM.mjs.br +0 -0
  70. package/dist/chunk-ITN5NYYM.mjs.gz +0 -0
  71. package/dist/{chunk-FJDZ7AEE.js → chunk-K6R2JNCK.js} +2459 -45
  72. package/dist/chunk-K6R2JNCK.js.br +0 -0
  73. package/dist/{chunk-FJDZ7AEE.js.gz → chunk-K6R2JNCK.js.gz} +0 -0
  74. package/dist/{chunk-UHR7EYFM.mjs → chunk-QEEU4S4Z.mjs} +50 -324
  75. package/dist/chunk-QEEU4S4Z.mjs.br +0 -0
  76. package/dist/chunk-QEEU4S4Z.mjs.gz +0 -0
  77. package/dist/{chunk-RRAL4Y7V.js → chunk-QKSYKQEL.js} +1236 -1543
  78. package/dist/chunk-QKSYKQEL.js.br +0 -0
  79. package/dist/chunk-QKSYKQEL.js.gz +0 -0
  80. package/dist/i18n.js +4 -4
  81. package/dist/i18n.js.br +0 -0
  82. package/dist/i18n.js.gz +0 -0
  83. package/dist/i18n.mjs +1 -1
  84. package/dist/i18n.mjs.br +0 -0
  85. package/dist/i18n.mjs.gz +0 -0
  86. package/dist/index.js +47 -47
  87. package/dist/index.js.br +0 -0
  88. package/dist/index.js.gz +0 -0
  89. package/dist/index.mjs +6 -6
  90. package/dist/index.mjs.br +0 -0
  91. package/dist/index.mjs.gz +0 -0
  92. package/dist/internals.d.ts.map +1 -1
  93. package/dist/internals.js +79 -79
  94. package/dist/internals.js.br +4 -6
  95. package/dist/internals.js.gz +0 -0
  96. package/dist/internals.mjs +4 -4
  97. package/dist/internals.mjs.br +0 -0
  98. package/dist/internals.mjs.gz +0 -0
  99. package/dist/viewer/index.js +27 -27
  100. package/dist/viewer/index.js.br +0 -0
  101. package/dist/viewer/index.js.gz +0 -0
  102. package/dist/viewer/index.mjs +6 -6
  103. package/dist/viewer/index.mjs.br +0 -0
  104. package/dist/viewer/index.mjs.gz +0 -0
  105. package/package.json +1 -1
  106. package/dist/AiChatPanel-C3E7NLX3.mjs.br +0 -0
  107. package/dist/AiChatPanel-C3E7NLX3.mjs.gz +0 -0
  108. package/dist/AiChatPanel-TKBVSYD2.js.br +0 -0
  109. package/dist/AiChatPanel-TKBVSYD2.js.gz +0 -0
  110. package/dist/Area3DChartScene-3A3CXKN3.js.br +0 -0
  111. package/dist/Area3DChartScene-3A3CXKN3.js.gz +0 -0
  112. package/dist/Area3DChartScene-7YCFWEGX.mjs.br +0 -3
  113. package/dist/Area3DChartScene-7YCFWEGX.mjs.gz +0 -0
  114. package/dist/Bar3DChartScene-7CNSJ35X.mjs.br +0 -0
  115. package/dist/Bar3DChartScene-7CNSJ35X.mjs.gz +0 -0
  116. package/dist/Bar3DChartScene-BDUENAWJ.js.br +0 -0
  117. package/dist/Bar3DChartScene-BDUENAWJ.js.gz +0 -0
  118. package/dist/Line3DChartScene-R352CZ5U.js.br +0 -0
  119. package/dist/Line3DChartScene-R352CZ5U.js.gz +0 -0
  120. package/dist/Line3DChartScene-SMTHK6MD.mjs.br +0 -3
  121. package/dist/Line3DChartScene-SMTHK6MD.mjs.gz +0 -0
  122. package/dist/Model3DScene-AUVJXXPV.mjs.br +0 -0
  123. package/dist/Model3DScene-AUVJXXPV.mjs.gz +0 -0
  124. package/dist/Model3DScene-Y4SGFQYW.js.br +0 -0
  125. package/dist/Model3DScene-Y4SGFQYW.js.gz +0 -0
  126. package/dist/PieChart3DScene-TK2VT4RS.js.br +0 -0
  127. package/dist/PieChart3DScene-TK2VT4RS.js.gz +0 -0
  128. package/dist/PieChart3DScene-UD7GRH55.mjs.br +0 -0
  129. package/dist/PieChart3DScene-UD7GRH55.mjs.gz +0 -0
  130. package/dist/SurfaceChart3DScene-ERFXZW2O.js.br +0 -0
  131. package/dist/SurfaceChart3DScene-ERFXZW2O.js.gz +0 -0
  132. package/dist/SurfaceChart3DScene-TXY6UZSW.mjs.br +0 -0
  133. package/dist/SurfaceChart3DScene-TXY6UZSW.mjs.gz +0 -0
  134. package/dist/chunk-ALO4ZOHQ.js.br +0 -0
  135. package/dist/chunk-ALO4ZOHQ.js.gz +0 -0
  136. package/dist/chunk-ARQGUUYU.js.br +0 -0
  137. package/dist/chunk-ARQGUUYU.js.gz +0 -0
  138. package/dist/chunk-B6UIVRFA.js.br +0 -0
  139. package/dist/chunk-B6UIVRFA.js.gz +0 -0
  140. package/dist/chunk-FJDZ7AEE.js.br +0 -0
  141. package/dist/chunk-FMEEIS6L.mjs.br +0 -0
  142. package/dist/chunk-FMEEIS6L.mjs.gz +0 -0
  143. package/dist/chunk-G7UBIKAG.mjs.br +0 -0
  144. package/dist/chunk-PPNXPEEZ.mjs.br +0 -0
  145. package/dist/chunk-PPNXPEEZ.mjs.gz +0 -0
  146. package/dist/chunk-Q52HT4EZ.js.br +0 -0
  147. package/dist/chunk-Q52HT4EZ.js.gz +0 -0
  148. package/dist/chunk-RHSA5BW5.mjs.br +0 -0
  149. package/dist/chunk-RHSA5BW5.mjs.gz +0 -0
  150. package/dist/chunk-RRAL4Y7V.js.br +0 -0
  151. package/dist/chunk-RRAL4Y7V.js.gz +0 -0
  152. package/dist/chunk-RX6FE24O.mjs.br +0 -0
  153. package/dist/chunk-RX6FE24O.mjs.gz +0 -0
  154. package/dist/chunk-UHR7EYFM.mjs.br +0 -0
  155. package/dist/chunk-UHR7EYFM.mjs.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.2.0](https://github.com/ChristopherVR/pptx-viewer/releases/tag/pptx-react-viewer@3.2.0) - 2026-09-02
11
+
12
+ ### Features
13
+
14
+ - **core:** Parse and save bar3D shape, radar style and surface wireframe (by @ChristopherVR) ([1f46205](https://github.com/ChristopherVR/pptx-viewer/commit/1f46205a1f1280df55baf990a3ed496e308233a2))
15
+ - **shared:** Google fonts webfont fallback for referenced families (by @nikko82) ([49571a5](https://github.com/ChristopherVR/pptx-viewer/commit/49571a5d192d54f992dd34cfdf3b60d8780c79ad))
16
+ - **react:** Load google-hosted webfonts for missing families (by @nikko82) ([ca1024f](https://github.com/ChristopherVR/pptx-viewer/commit/ca1024f2bd745fe4a1afc24366613592d28afb97))
17
+ - **shared:** Morph matching heuristics for media, twins, and group twins (by @nikko82) ([d5ba90b](https://github.com/ChristopherVR/pptx-viewer/commit/d5ba90b2bbc4ed8866e2367bb7751c00a3cc9f8f))
18
+
19
+ ### Bug Fixes
20
+
21
+ - **core:** Close OpenXML round-trip gaps in charts, pictures, tables, text and structure (by @ChristopherVR) ([9780265](https://github.com/ChristopherVR/pptx-viewer/commit/9780265ead99aba7f9e3fde80c0527eaed4f8d17))
22
+ - **shared:** Equation reverse conversion, chart manual layout and editor decision helpers (by @ChristopherVR) ([bffc2b3](https://github.com/ChristopherVR/pptx-viewer/commit/bffc2b380f125787cd39b20096127ab4eb9d6bbf))
23
+ - **shared:** Stop the webfont resolver dropping families the injected stylesheet satisfied (by @ChristopherVR) ([25a9a78](https://github.com/ChristopherVR/pptx-viewer/commit/25a9a781ade7bb3f2dc79847f2ade3284237b7c5))
24
+ - **react:** Resolve google webfonts through the shared resolver (by @ChristopherVR) ([7a359d7](https://github.com/ChristopherVR/pptx-viewer/commit/7a359d734a7b36c696e104d23078f1f9294b785b))
25
+ - **core:** Write gridline elements on generated chart axes (by @ChristopherVR) ([0d03c1a](https://github.com/ChristopherVR/pptx-viewer/commit/0d03c1a17c29499e234cc7e836a55e2d29bd2716))
26
+ - **shared:** Honour c:majorGridlines when drawing value-axis gridlines (by @ChristopherVR) ([8b9dd88](https://github.com/ChristopherVR/pptx-viewer/commit/8b9dd88cbe32f873ed8246903105aba0a7ad7e3b))
27
+ - **core:** Snapshot baked-in a14 corrections next to the live values (by @ChristopherVR) ([9e6cc01](https://github.com/ChristopherVR/pptx-viewer/commit/9e6cc01181e481d6e3132cc086c6f85c1c80fd44))
28
+ - **shared:** Stop re-applying a14 corrections PowerPoint already baked in (by @ChristopherVR) ([52766e7](https://github.com/ChristopherVR/pptx-viewer/commit/52766e78250805a4a03353dc22b1ed637f0c750f))
29
+ - **react:** Autoplay every media element in presentation mode (by @ChristopherVR) ([2f8e760](https://github.com/ChristopherVR/pptx-viewer/commit/2f8e76058e9669d5ce0a8d0620d1aa239f206ff0))
30
+
31
+ ### Refactor
32
+
33
+ - **shared:** Extract binding-duplicated engines, option lists and parity descriptors (by @ChristopherVR) ([b0acb02](https://github.com/ChristopherVR/pptx-viewer/commit/b0acb02210b17266f44eed013c2d801d3992257e))
34
+
35
+ ### Testing
36
+
37
+ - **e2e:** Pin the webfont fallback probe across the five bindings (by @nikko82) ([aabb9dd](https://github.com/ChristopherVR/pptx-viewer/commit/aabb9dd226fc08df63f270aef080936d9f602268))
38
+
10
39
  ## [3.1.5](https://github.com/ChristopherVR/pptx-viewer/releases/tag/pptx-react-viewer@3.1.5) - 2026-09-01
11
40
 
12
41
  ### Chores
@@ -1,7 +1,7 @@
1
- import { deckIdFromBridge, isAiAvailable, createAiChatSession, toolCanvasTarget, createChatHistoryStore, focusTargetChips, isTwoTableFocus, humanizeDiffLine, buildDeckContext, describeToolActivity, summarizeToolArgs, toolLabel } from './chunk-RX6FE24O.mjs';
2
- import { cn } from './chunk-FMEEIS6L.mjs';
3
- import './chunk-G7UBIKAG.mjs';
4
- import './chunk-RHSA5BW5.mjs';
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';
5
5
  import './chunk-XGB3TDIC.mjs';
6
6
  import { useMemo, useRef, useState, useEffect, useReducer, useCallback } from 'react';
7
7
  import { useTranslation } from 'react-i18next';
@@ -426,9 +426,6 @@ function AiComposer({
426
426
  )
427
427
  ] }) });
428
428
  }
429
- function mergeDirective(slideIndex, elementIdA, elementIdB) {
430
- return `Merge the two selected tables (elementIdA=${elementIdA}, elementIdB=${elementIdB}) on slide ${slideIndex + 1} using merge_tables; stage it now, do not ask me to confirm.`;
431
- }
432
429
  function AiFocusBar({
433
430
  targets,
434
431
  slides,
@@ -467,7 +464,11 @@ function AiFocusBar({
467
464
  {
468
465
  type: "button",
469
466
  onClick: () => onSendDirective(
470
- mergeDirective(twoTables.slideIndex, twoTables.elementIdA, twoTables.elementIdB)
467
+ mergeTablesDirective(
468
+ twoTables.slideIndex,
469
+ twoTables.elementIdA,
470
+ twoTables.elementIdB
471
+ )
471
472
  ),
472
473
  className: "inline-flex items-center gap-1 rounded-sm bg-primary/90 px-1.5 py-0.5 text-[11px] font-medium text-primary-foreground hover:bg-primary",
473
474
  children: [
Binary file
Binary file
@@ -1,9 +1,9 @@
1
1
  'use strict';
2
2
 
3
- var chunkQ52HT4EZ_js = require('./chunk-Q52HT4EZ.js');
4
- var chunkB6UIVRFA_js = require('./chunk-B6UIVRFA.js');
5
- require('./chunk-FJDZ7AEE.js');
6
- require('./chunk-ALO4ZOHQ.js');
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');
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 chunkQ52HT4EZ_js.isAiAvailable();
26
+ const available = await chunkFSQCEAMG_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 chunkQ52HT4EZ_js.createAiChatSession(bridge, configRef.current);
34
+ const built = await chunkFSQCEAMG_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 chunkQ52HT4EZ_js.buildDeckContext(bridge, { strategy, focus: {} });
140
+ context = await chunkFSQCEAMG_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?.(chunkQ52HT4EZ_js.toolCanvasTarget(call.toolName, call.input));
203
+ onToolTargetRef.current?.(chunkFSQCEAMG_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 ?? chunkQ52HT4EZ_js.createChatHistoryStore(), [input.store]);
279
+ const store = react.useMemo(() => input.store ?? chunkFSQCEAMG_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: chunkB6UIVRFA_js.cn(
422
+ className: chunk44CQ67GQ_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
  ),
@@ -428,9 +428,6 @@ function AiComposer({
428
428
  )
429
429
  ] }) });
430
430
  }
431
- function mergeDirective(slideIndex, elementIdA, elementIdB) {
432
- return `Merge the two selected tables (elementIdA=${elementIdA}, elementIdB=${elementIdB}) on slide ${slideIndex + 1} using merge_tables; stage it now, do not ask me to confirm.`;
433
- }
434
431
  function AiFocusBar({
435
432
  targets,
436
433
  slides,
@@ -445,15 +442,15 @@ function AiFocusBar({
445
442
  onClearPicks
446
443
  }) {
447
444
  const { t } = reactI18next.useTranslation();
448
- const chips = chunkQ52HT4EZ_js.focusTargetChips(targets, slides);
449
- const twoTables = chunkQ52HT4EZ_js.isTwoTableFocus(targets, slides);
445
+ const chips = chunkFSQCEAMG_js.focusTargetChips(targets, slides);
446
+ const twoTables = chunkFSQCEAMG_js.isTwoTableFocus(targets, slides);
450
447
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "border-b border-border bg-secondary/30", children: [
451
448
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-wrap items-center gap-1 px-2.5 py-1.5", children: [
452
449
  /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-[10px] font-semibold uppercase tracking-wide text-muted-foreground", children: t("pptx.ai.focusScope") }),
453
450
  chips.map((chip) => /* @__PURE__ */ jsxRuntime.jsx(
454
451
  "span",
455
452
  {
456
- className: chunkB6UIVRFA_js.cn(
453
+ className: chunk44CQ67GQ_js.cn(
457
454
  "inline-flex max-w-[10rem] items-center rounded-full px-2 py-0.5 text-[11px]",
458
455
  hasPicks || isPinned ? "bg-primary/15 text-primary" : "bg-muted text-muted-foreground"
459
456
  ),
@@ -469,7 +466,11 @@ function AiFocusBar({
469
466
  {
470
467
  type: "button",
471
468
  onClick: () => onSendDirective(
472
- mergeDirective(twoTables.slideIndex, twoTables.elementIdA, twoTables.elementIdB)
469
+ chunkFSQCEAMG_js.mergeTablesDirective(
470
+ twoTables.slideIndex,
471
+ twoTables.elementIdA,
472
+ twoTables.elementIdB
473
+ )
473
474
  ),
474
475
  className: "inline-flex items-center gap-1 rounded-sm bg-primary/90 px-1.5 py-0.5 text-[11px] font-medium text-primary-foreground hover:bg-primary",
475
476
  children: [
@@ -486,7 +487,7 @@ function AiFocusBar({
486
487
  title: t("pptx.ai.pickElement"),
487
488
  "aria-label": t("pptx.ai.pickAria"),
488
489
  "aria-pressed": pickMode,
489
- className: chunkB6UIVRFA_js.cn(
490
+ className: chunk44CQ67GQ_js.cn(
490
491
  "rounded-sm p-1",
491
492
  pickMode ? "bg-primary text-primary-foreground" : "text-muted-foreground hover:bg-accent"
492
493
  ),
@@ -565,7 +566,7 @@ function AiHistoryList({ chats, activeChatId, onResume, onDelete }) {
565
566
  {
566
567
  type: "button",
567
568
  onClick: () => onResume(chat.id),
568
- className: chunkB6UIVRFA_js.cn(
569
+ className: chunk44CQ67GQ_js.cn(
569
570
  "flex min-w-0 flex-1 items-start gap-2 rounded-sm px-2 py-1.5 text-left hover:bg-accent",
570
571
  chat.id === activeChatId && "bg-accent/60"
571
572
  ),
@@ -720,26 +721,26 @@ function AiToolCallCard({ part }) {
720
721
  const failed = part.state === "output-error";
721
722
  const done = part.state === "output-available";
722
723
  const running = !failed && !done;
723
- const activity = chunkQ52HT4EZ_js.describeToolActivity(part.toolName, part.input, running ? "present" : "past");
724
+ const activity = chunkFSQCEAMG_js.describeToolActivity(part.toolName, part.input, running ? "present" : "past");
724
725
  const Icon = ICONS[activity.icon] ?? lu.LuWrench;
725
- const rawSummary = chunkQ52HT4EZ_js.summarizeToolArgs(part.input);
726
+ const rawSummary = chunkFSQCEAMG_js.summarizeToolArgs(part.input);
726
727
  const statusLabel = failed ? t("pptx.ai.toolFailed") : done ? t("pptx.ai.toolDone") : t("pptx.ai.toolRunning");
727
728
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "text-[12px]", children: [
728
729
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-1.5", children: [
729
730
  /* @__PURE__ */ jsxRuntime.jsx(
730
731
  Icon,
731
732
  {
732
- className: chunkB6UIVRFA_js.cn(
733
+ className: chunk44CQ67GQ_js.cn(
733
734
  "w-3.5 h-3.5 shrink-0",
734
735
  failed ? "text-destructive" : "text-muted-foreground"
735
736
  )
736
737
  }
737
738
  ),
738
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: chunkB6UIVRFA_js.cn("truncate", failed ? "text-destructive" : "text-foreground"), children: activity.label }),
739
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: chunk44CQ67GQ_js.cn("truncate", failed ? "text-destructive" : "text-foreground"), children: activity.label }),
739
740
  /* @__PURE__ */ jsxRuntime.jsxs(
740
741
  "span",
741
742
  {
742
- className: chunkB6UIVRFA_js.cn(
743
+ className: chunk44CQ67GQ_js.cn(
743
744
  "ml-auto inline-flex items-center gap-1 rounded-sm px-1.5 py-0.5 text-[10px]",
744
745
  failed ? "bg-destructive/15 text-destructive" : done ? "bg-primary/10 text-primary" : "bg-muted text-muted-foreground"
745
746
  ),
@@ -756,7 +757,7 @@ function AiToolCallCard({ part }) {
756
757
  rawSummary && /* @__PURE__ */ jsxRuntime.jsxs("details", { className: "group mt-0.5 pl-5", children: [
757
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") }),
758
759
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mt-0.5 break-words font-mono text-[10px] text-muted-foreground/80", children: [
759
- chunkQ52HT4EZ_js.toolLabel(part.toolName),
760
+ chunkFSQCEAMG_js.toolLabel(part.toolName),
760
761
  ": ",
761
762
  rawSummary
762
763
  ] })
@@ -787,7 +788,7 @@ function AiMessageList({ messages, isStreaming, bridge }) {
787
788
  /* @__PURE__ */ jsxRuntime.jsx(
788
789
  "div",
789
790
  {
790
- className: chunkB6UIVRFA_js.cn(
791
+ className: chunk44CQ67GQ_js.cn(
791
792
  "mt-0.5 flex h-6 w-6 shrink-0 items-center justify-center rounded-full",
792
793
  isUser ? "bg-secondary text-muted-foreground" : "bg-primary/15 text-primary"
793
794
  ),
@@ -834,7 +835,7 @@ function AiMessageList({ messages, isStreaming, bridge }) {
834
835
  }
835
836
  function AiProposalCard({ proposal, onAccept, onReject }) {
836
837
  const { t } = reactI18next.useTranslation();
837
- const lines = proposal.summary.map(chunkQ52HT4EZ_js.humanizeDiffLine);
838
+ const lines = proposal.summary.map(chunkFSQCEAMG_js.humanizeDiffLine);
838
839
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "rounded-md border border-primary/40 bg-primary/5 p-2.5", children: [
839
840
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mb-1.5 text-[11px] font-semibold uppercase tracking-wide text-primary", children: t("pptx.ai.proposedChange") }),
840
841
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-[12px] font-medium text-foreground", children: proposal.label }),
@@ -1042,7 +1043,7 @@ function AiChatPanel({
1042
1043
  }) {
1043
1044
  const { t } = reactI18next.useTranslation();
1044
1045
  const { state, session, initError } = useAiChat(bridge, config);
1045
- const deckId = react.useMemo(() => chunkQ52HT4EZ_js.deckIdFromBridge(bridge), [bridge]);
1046
+ const deckId = react.useMemo(() => chunkFSQCEAMG_js.deckIdFromBridge(bridge), [bridge]);
1046
1047
  return /* @__PURE__ */ jsxRuntime.jsxs(
1047
1048
  "div",
1048
1049
  {
Binary file
Binary file
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunkFJDZ7AEE_js = require('./chunk-FJDZ7AEE.js');
3
+ var chunkK6R2JNCK_js = require('./chunk-K6R2JNCK.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 chunkFJDZ7AEE_js.mountAreaChart3D(container, options).then((handle) => {
17
+ void chunkK6R2JNCK_js.mountAreaChart3D(container, options).then((handle) => {
18
18
  if (disposed) {
19
19
  handle.dispose();
20
20
  } else {
@@ -1,4 +1,4 @@
1
- import { mountAreaChart3D } from './chunk-G7UBIKAG.mjs';
1
+ import { mountAreaChart3D } from './chunk-DM2IZCSD.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 chunkFJDZ7AEE_js = require('./chunk-FJDZ7AEE.js');
3
+ var chunkK6R2JNCK_js = require('./chunk-K6R2JNCK.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 chunkFJDZ7AEE_js.mountBarChart3D(container, options).then((handle) => {
17
+ void chunkK6R2JNCK_js.mountBarChart3D(container, options).then((handle) => {
18
18
  if (disposed) {
19
19
  handle.dispose();
20
20
  } else {
@@ -1,4 +1,4 @@
1
- import { mountBarChart3D } from './chunk-G7UBIKAG.mjs';
1
+ import { mountBarChart3D } from './chunk-DM2IZCSD.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
+ W �� �_Wߒ����Ԩ*�����j'�����x#ĵ���t�sf��B��a��"�Qf|y��1�㏡������~�Z��r'[������E���L��+g߿ܯ��|aᵏжzA���*^���qi]����)3��s\�O1G�<��_
2
+ �(4�`��_D���u��/��aG�B��cA�q�0�_���o|o��|�d��~d�<1��[��p$&���(�>ٽQ��( �C��
3
+ ��)�4��%a�Z(q>��D�y����b�7�~��I�u'k$����sU �и�Kr����?�uR���f�!�_�����NSdR_D��|��:���0��0 @�)�;:=�/(�-�ַ�cl��p���I��
@@ -1,4 +1,4 @@
1
- import { mountLineChart3D } from './chunk-G7UBIKAG.mjs';
1
+ import { mountLineChart3D } from './chunk-DM2IZCSD.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 chunkFJDZ7AEE_js = require('./chunk-FJDZ7AEE.js');
3
+ var chunkK6R2JNCK_js = require('./chunk-K6R2JNCK.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 chunkFJDZ7AEE_js.mountLineChart3D(container, options).then((handle) => {
17
+ void chunkK6R2JNCK_js.mountLineChart3D(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 chunkFJDZ7AEE_js = require('./chunk-FJDZ7AEE.js');
3
+ var chunkK6R2JNCK_js = require('./chunk-K6R2JNCK.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 chunkFJDZ7AEE_js.mountModel3D(container, modelUrl, { width, height, interactive }).then((handle) => {
17
+ void chunkK6R2JNCK_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-G7UBIKAG.mjs';
1
+ import { mountModel3D } from './chunk-DM2IZCSD.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 chunkFJDZ7AEE_js = require('./chunk-FJDZ7AEE.js');
3
+ var chunkK6R2JNCK_js = require('./chunk-K6R2JNCK.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 chunkFJDZ7AEE_js.mountPieChart3D(container, options).then((handle) => {
17
+ void chunkK6R2JNCK_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-G7UBIKAG.mjs';
1
+ import { mountPieChart3D } from './chunk-DM2IZCSD.mjs';
2
2
  import './chunk-XGB3TDIC.mjs';
3
3
  import { useRef, useEffect } from 'react';
4
4
  import { jsx } from 'react/jsx-runtime';
@@ -1,4 +1,4 @@
1
- import { mountSurfaceChart3D } from './chunk-G7UBIKAG.mjs';
1
+ import { mountSurfaceChart3D } from './chunk-DM2IZCSD.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 chunkFJDZ7AEE_js = require('./chunk-FJDZ7AEE.js');
3
+ var chunkK6R2JNCK_js = require('./chunk-K6R2JNCK.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 chunkFJDZ7AEE_js.mountSurfaceChart3D(container, options).then((handle) => {
19
+ void chunkK6R2JNCK_js.mountSurfaceChart3D(container, options).then((handle) => {
20
20
  if (disposed) {
21
21
  handle.dispose();
22
22
  } else {