pptx-react-viewer 4.75.0 → 4.77.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 (123) hide show
  1. package/CHANGELOG.md +50 -0
  2. package/dist/{AiChatPanel-6ML3VLIX.mjs → AiChatPanel-7BPX44IR.mjs} +1 -1
  3. package/dist/AiChatPanel-7BPX44IR.mjs.br +0 -0
  4. package/dist/AiChatPanel-7BPX44IR.mjs.gz +0 -0
  5. package/dist/{AiChatPanel-4V7QB5Z3.js → AiChatPanel-YJ5R7PPW.js} +19 -19
  6. package/dist/AiChatPanel-YJ5R7PPW.js.br +0 -0
  7. package/dist/AiChatPanel-YJ5R7PPW.js.gz +0 -0
  8. package/dist/ai.js +2 -2
  9. package/dist/ai.js.br +2 -3
  10. package/dist/ai.js.gz +0 -0
  11. package/dist/ai.mjs +1 -1
  12. package/dist/ai.mjs.br +0 -0
  13. package/dist/ai.mjs.gz +0 -0
  14. package/dist/{chunk-P2IEKYVG.js → chunk-3T5NEBOR.js} +2 -2
  15. package/dist/chunk-3T5NEBOR.js.br +0 -0
  16. package/dist/chunk-3T5NEBOR.js.gz +0 -0
  17. package/dist/{chunk-3AZ6ESJU.js → chunk-5CJHRYFK.js} +1666 -1249
  18. package/dist/chunk-5CJHRYFK.js.br +0 -0
  19. package/dist/chunk-5CJHRYFK.js.gz +0 -0
  20. package/dist/{chunk-6GFSF2ML.js → chunk-AIA7CY5U.js} +4 -29
  21. package/dist/chunk-AIA7CY5U.js.br +0 -0
  22. package/dist/chunk-AIA7CY5U.js.gz +0 -0
  23. package/dist/{chunk-AZLOOFU2.mjs → chunk-I5WQFYAK.mjs} +680 -273
  24. package/dist/chunk-I5WQFYAK.mjs.br +0 -0
  25. package/dist/chunk-I5WQFYAK.mjs.gz +0 -0
  26. package/dist/{chunk-RMEWSJZU.mjs → chunk-J4NOGC3R.mjs} +1 -1
  27. package/dist/chunk-J4NOGC3R.mjs.br +0 -0
  28. package/dist/chunk-J4NOGC3R.mjs.gz +0 -0
  29. package/dist/{chunk-Y53EC3JU.mjs → chunk-JB37G6GW.mjs} +1 -1
  30. package/dist/chunk-JB37G6GW.mjs.br +0 -0
  31. package/dist/chunk-JB37G6GW.mjs.gz +0 -0
  32. package/dist/{chunk-DE4Y5F4T.mjs → chunk-MMBLGDHD.mjs} +556 -375
  33. package/dist/chunk-MMBLGDHD.mjs.br +0 -0
  34. package/dist/chunk-MMBLGDHD.mjs.gz +0 -0
  35. package/dist/{chunk-N3YK2BCA.mjs → chunk-N6BJW23K.mjs} +5 -30
  36. package/dist/chunk-N6BJW23K.mjs.br +0 -0
  37. package/dist/chunk-N6BJW23K.mjs.gz +0 -0
  38. package/dist/{chunk-RJRDE3C2.js → chunk-USEEERPE.js} +1107 -926
  39. package/dist/chunk-USEEERPE.js.br +0 -0
  40. package/dist/chunk-USEEERPE.js.gz +0 -0
  41. package/dist/{chunk-MU3BIZ2U.js → chunk-VCNDY7HS.js} +1 -1
  42. package/dist/chunk-VCNDY7HS.js.br +0 -0
  43. package/dist/chunk-VCNDY7HS.js.gz +0 -0
  44. package/dist/i18n/de.cjs +5 -0
  45. package/dist/i18n/de.cjs.br +0 -0
  46. package/dist/i18n/de.cjs.gz +0 -0
  47. package/dist/i18n/de.mjs +5 -0
  48. package/dist/i18n/de.mjs.br +0 -0
  49. package/dist/i18n/de.mjs.gz +0 -0
  50. package/dist/i18n/es.cjs +5 -0
  51. package/dist/i18n/es.cjs.br +0 -0
  52. package/dist/i18n/es.cjs.gz +0 -0
  53. package/dist/i18n/es.mjs +5 -0
  54. package/dist/i18n/es.mjs.br +0 -0
  55. package/dist/i18n/es.mjs.gz +0 -0
  56. package/dist/i18n/fr.cjs +5 -0
  57. package/dist/i18n/fr.cjs.br +0 -0
  58. package/dist/i18n/fr.cjs.gz +0 -0
  59. package/dist/i18n/fr.mjs +5 -0
  60. package/dist/i18n/fr.mjs.br +0 -0
  61. package/dist/i18n/fr.mjs.gz +0 -0
  62. package/dist/i18n/zh-CN.cjs +5 -0
  63. package/dist/i18n/zh-CN.cjs.br +0 -0
  64. package/dist/i18n/zh-CN.cjs.gz +0 -0
  65. package/dist/i18n/zh-CN.mjs +5 -0
  66. package/dist/i18n/zh-CN.mjs.br +0 -0
  67. package/dist/i18n/zh-CN.mjs.gz +0 -0
  68. package/dist/index.d.ts +59 -8
  69. package/dist/index.js +29 -29
  70. package/dist/index.js.br +0 -0
  71. package/dist/index.js.gz +0 -0
  72. package/dist/index.mjs +5 -5
  73. package/dist/index.mjs.br +0 -0
  74. package/dist/index.mjs.gz +0 -0
  75. package/dist/internals.d.ts +51 -24
  76. package/dist/internals.js +82 -82
  77. package/dist/internals.js.br +0 -0
  78. package/dist/internals.js.gz +0 -0
  79. package/dist/internals.mjs +3 -3
  80. package/dist/internals.mjs.br +0 -0
  81. package/dist/internals.mjs.gz +0 -0
  82. package/dist/no-i18next.d.ts +59 -8
  83. package/dist/no-i18next.js +28 -28
  84. package/dist/no-i18next.js.br +0 -0
  85. package/dist/no-i18next.js.gz +0 -0
  86. package/dist/no-i18next.mjs +4 -4
  87. package/dist/no-i18next.mjs.br +0 -0
  88. package/dist/no-i18next.mjs.gz +0 -0
  89. package/dist/pptx-viewer.css +1 -1
  90. package/dist/pptx-viewer.css.br +0 -0
  91. package/dist/pptx-viewer.css.gz +0 -0
  92. package/dist/viewer/index.d.ts +20 -1
  93. package/dist/viewer/index.js +22 -22
  94. package/dist/viewer/index.js.br +0 -0
  95. package/dist/viewer/index.js.gz +0 -0
  96. package/dist/viewer/index.mjs +5 -5
  97. package/dist/viewer/index.mjs.br +5 -4
  98. package/dist/viewer/index.mjs.gz +0 -0
  99. package/package.json +3 -3
  100. package/dist/AiChatPanel-4V7QB5Z3.js.br +0 -0
  101. package/dist/AiChatPanel-4V7QB5Z3.js.gz +0 -0
  102. package/dist/AiChatPanel-6ML3VLIX.mjs.br +0 -0
  103. package/dist/AiChatPanel-6ML3VLIX.mjs.gz +0 -0
  104. package/dist/chunk-3AZ6ESJU.js.br +0 -0
  105. package/dist/chunk-3AZ6ESJU.js.gz +0 -0
  106. package/dist/chunk-6GFSF2ML.js.br +0 -0
  107. package/dist/chunk-6GFSF2ML.js.gz +0 -0
  108. package/dist/chunk-AZLOOFU2.mjs.br +0 -0
  109. package/dist/chunk-AZLOOFU2.mjs.gz +0 -0
  110. package/dist/chunk-DE4Y5F4T.mjs.br +0 -0
  111. package/dist/chunk-DE4Y5F4T.mjs.gz +0 -0
  112. package/dist/chunk-MU3BIZ2U.js.br +0 -0
  113. package/dist/chunk-MU3BIZ2U.js.gz +0 -0
  114. package/dist/chunk-N3YK2BCA.mjs.br +0 -0
  115. package/dist/chunk-N3YK2BCA.mjs.gz +0 -0
  116. package/dist/chunk-P2IEKYVG.js.br +0 -0
  117. package/dist/chunk-P2IEKYVG.js.gz +0 -0
  118. package/dist/chunk-RJRDE3C2.js.br +0 -0
  119. package/dist/chunk-RJRDE3C2.js.gz +0 -0
  120. package/dist/chunk-RMEWSJZU.mjs.br +0 -0
  121. package/dist/chunk-RMEWSJZU.mjs.gz +0 -0
  122. package/dist/chunk-Y53EC3JU.mjs.br +0 -0
  123. package/dist/chunk-Y53EC3JU.mjs.gz +0 -0
package/CHANGELOG.md CHANGED
@@ -7,6 +7,56 @@ A release listed with no entries carried no Conventional Commit in this package'
7
7
  scope: scripts/release-plan.mjs releases whenever any published file changes, not only on
8
8
  conventional commits.
9
9
 
10
+ ## [4.77.0](https://github.com/ChristopherVR/ooxml/releases/tag/pptx-react-viewer@4.77.0) - 2026-11-13
11
+
12
+ ### Features
13
+
14
+ - **react:** Report collaborationState from useViewerBuildingBlocks ([8fe9e9f](https://github.com/ChristopherVR/ooxml/commit/8fe9e9fd1f2b69485e023cd8f414342fc0f5eee1))
15
+ - **react:** Take onElementRenderError on PowerPointViewer ([716a537](https://github.com/ChristopherVR/ooxml/commit/716a5373a6e00d03f66bb9ef06886b0580a92ea0))
16
+
17
+ ### Refactor
18
+
19
+ - **react:** Mark find matches through the shared highlight rule ([42010a2](https://github.com/ChristopherVR/ooxml/commit/42010a259e759e7dae003efeb415de611c54d716))
20
+
21
+ ### Testing
22
+
23
+ - **shared:** Prove shell state, collaboration and live options in blocks ([b26b465](https://github.com/ChristopherVR/ooxml/commit/b26b4656dd1520992f33da6d67cf7c5dffcab39d))
24
+ - **shared:** Add the element render error parity contract ([4781f2f](https://github.com/ChristopherVR/ooxml/commit/4781f2fe6d34356cb233d8d4211bcc751b9ab613))
25
+
26
+ ## [4.76.0](https://github.com/ChristopherVR/ooxml/releases/tag/pptx-react-viewer@4.76.0) - 2026-11-13
27
+
28
+ ### Features
29
+
30
+ - **pptx:** Add ribbon display options to every binding ([b374382](https://github.com/ChristopherVR/ooxml/commit/b374382d21e8d1c1e23068c339883ec4cff2849a))
31
+ - **pptx:** Zoom at the pointer and drag to pan the slide viewport ([73bc446](https://github.com/ChristopherVR/ooxml/commit/73bc4465d33c6c9ba2e2b77b3b36a77dde37a658))
32
+ - **pptx:** Zoom out to 10% and show a new slide from its top-left ([20cbb04](https://github.com/ChristopherVR/ooxml/commit/20cbb044810058cf282af27efd387bd4983f3375))
33
+ - **pptx:** Offer supported font weight variants ([#280](https://github.com/ChristopherVR/ooxml/issues/280)) ([c66bb54](https://github.com/ChristopherVR/ooxml/commit/c66bb54b85a8165969f6e4a6549ddd53b00fcc09))
34
+ - **pptx:** Host-owned workflows in useViewerBuildingBlocks ([781b14f](https://github.com/ChristopherVR/ooxml/commit/781b14f0d2e1c07746b9d9da9afedf499e30fc02))
35
+ - **pptx:** Acknowledge asynchronous saves by revision ([7a581e9](https://github.com/ChristopherVR/ooxml/commit/7a581e9436000ee16ac8612f7fa8b6d6b20086be))
36
+ - **pptx:** Host-owned chart insertion in useViewerBuildingBlocks ([24b8ad6](https://github.com/ChristopherVR/ooxml/commit/24b8ad6b9144f01f26d79e0ad02178becedcbed7))
37
+ - **pptx:** Host operations for protection, properties, fonts and signatures ([6bb4c28](https://github.com/ChristopherVR/ooxml/commit/6bb4c28a12b00e709aec5daf3a679910915bf98a))
38
+ - **pptx:** Host-owned slide show dialogs in building blocks ([e758425](https://github.com/ChristopherVR/ooxml/commit/e7584257450d4042d8099cf386e2b23dd75fd0fe))
39
+ - **vanilla:** Add building blocks on the shared session ([a96b599](https://github.com/ChristopherVR/ooxml/commit/a96b5992770d4c9a3aa4d082735a76a18de24789))
40
+ - **ui:** Register the pptx dialog operations as building-block groups ([2226646](https://github.com/ChristopherVR/ooxml/commit/2226646334bc76e04d722d8d93207117501883df))
41
+ - **vanilla:** Add dialog groups and live options to building blocks ([2e6355e](https://github.com/ChristopherVR/ooxml/commit/2e6355eaa4702910224319274a5d2184880563dd))
42
+
43
+ ### Bug Fixes
44
+
45
+ - **pptx:** Preserve slide zoom when saving tool edits ([#282](https://github.com/ChristopherVR/ooxml/issues/282)) ([7af7b5e](https://github.com/ChristopherVR/ooxml/commit/7af7b5ea3c9d4c5c30aefe7ccfb9c5955058fabb))
46
+ - **pptx:** Guard stale media inserts and mirror hooks docs in zh ([89adf24](https://github.com/ChristopherVR/ooxml/commit/89adf24d14c24414e49b4a7fb478b4ca52b219c9))
47
+ - **pptx:** Drop an unused import in the building-block actions ([5e2db99](https://github.com/ChristopherVR/ooxml/commit/5e2db99face2b5d837ff0fbc324ddec3df12b937))
48
+ - **react:** Isolate element rendering failures ([#288](https://github.com/ChristopherVR/ooxml/issues/288)) ([1d62335](https://github.com/ChristopherVR/ooxml/commit/1d62335c3b565610f5d5dd912037a62b528bb43a))
49
+ - **react:** Stop dialog flag requests from looping under React 18 ([f6bf9b9](https://github.com/ChristopherVR/ooxml/commit/f6bf9b9add8171e184c6c5bee862aed081ec1903))
50
+
51
+ ### Refactor
52
+
53
+ - **pptx:** Share signature parsing and password rules across bindings ([234881c](https://github.com/ChristopherVR/ooxml/commit/234881cd9d4d147fb297c73f66b3fc3116aae4e2))
54
+ - **react:** Run building blocks on the shared session and groups ([7501b95](https://github.com/ChristopherVR/ooxml/commit/7501b951fc6d97a20f21401b32d574104aef8d89))
55
+
56
+ ### Testing
57
+
58
+ - **react:** Run building blocks against the shared parity contract ([daf3d35](https://github.com/ChristopherVR/ooxml/commit/daf3d3583e42fd01900c16ecf526b9cb2fcbd82a))
59
+
10
60
  ## [4.75.0](https://github.com/ChristopherVR/ooxml/releases/tag/pptx-react-viewer@4.75.0) - 2026-11-12
11
61
 
12
62
  ### Features
@@ -1,4 +1,4 @@
1
- import { useTranslation, cn } from './chunk-N3YK2BCA.mjs';
1
+ import { useTranslation, cn } from './chunk-N6BJW23K.mjs';
2
2
  import './chunk-UV2HVMKZ.mjs';
3
3
  import { useMemo, useRef, useState, useEffect, useReducer, useCallback } from 'react';
4
4
  import { LuSparkles, LuX, LuLoaderCircle, LuTriangleAlert, LuHistory, LuMessageSquarePlus, LuTrash2, LuPlus, LuGitMerge, LuCrosshair, LuPinOff, LuPin, LuUser, LuBot, LuCheck, LuSquare, LuSend, LuMessageSquare, LuPalette, LuUndo2, LuWrench, LuStickyNote, LuFilm, LuNavigation, LuSearch, LuMove, LuChartColumn, LuLayoutTemplate, LuTable, LuShapes, LuType, LuEye } from 'react-icons/lu';
Binary file
Binary file
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunk6GFSF2ML_js = require('./chunk-6GFSF2ML.js');
3
+ var chunkAIA7CY5U_js = require('./chunk-AIA7CY5U.js');
4
4
  require('./chunk-PIRHQTI4.js');
5
5
  var react = require('react');
6
6
  var lu = require('react-icons/lu');
@@ -301,7 +301,7 @@ function AiComposer({
301
301
  prefillText,
302
302
  prefillNonce
303
303
  }) {
304
- const { t } = chunk6GFSF2ML_js.useTranslation();
304
+ const { t } = chunkAIA7CY5U_js.useTranslation();
305
305
  const [value, setValue] = react.useState("");
306
306
  const textareaRef = react.useRef(null);
307
307
  const appliedNonce = react.useRef(void 0);
@@ -364,7 +364,7 @@ function AiComposer({
364
364
  disabled: value.trim().length === 0,
365
365
  title: t("pptx.ai.send"),
366
366
  "aria-label": t("pptx.ai.send"),
367
- className: chunk6GFSF2ML_js.cn(
367
+ className: chunkAIA7CY5U_js.cn(
368
368
  "shrink-0 rounded-sm p-1.5 transition-colors",
369
369
  value.trim().length === 0 ? "text-muted-foreground/50" : "bg-primary text-primary-foreground hover:bg-primary/90"
370
370
  ),
@@ -386,7 +386,7 @@ function AiFocusBar({
386
386
  onStopPick,
387
387
  onClearPicks
388
388
  }) {
389
- const { t } = chunk6GFSF2ML_js.useTranslation();
389
+ const { t } = chunkAIA7CY5U_js.useTranslation();
390
390
  const chips = ai.focusTargetChips(targets, slides);
391
391
  const twoTables = ai.isTwoTableFocus(targets, slides);
392
392
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "border-b border-border bg-secondary/30", children: [
@@ -395,7 +395,7 @@ function AiFocusBar({
395
395
  chips.map((chip) => /* @__PURE__ */ jsxRuntime.jsx(
396
396
  "span",
397
397
  {
398
- className: chunk6GFSF2ML_js.cn(
398
+ className: chunkAIA7CY5U_js.cn(
399
399
  "inline-flex max-w-[10rem] items-center rounded-full px-2 py-0.5 text-[11px]",
400
400
  hasPicks || isPinned ? "bg-primary/15 text-primary" : "bg-muted text-muted-foreground"
401
401
  ),
@@ -432,7 +432,7 @@ function AiFocusBar({
432
432
  title: t("pptx.ai.pickElement"),
433
433
  "aria-label": t("pptx.ai.pickAria"),
434
434
  "aria-pressed": pickMode,
435
- className: chunk6GFSF2ML_js.cn(
435
+ className: chunkAIA7CY5U_js.cn(
436
436
  "rounded-sm p-1 max-md:min-w-[44px]! max-md:min-h-[44px]! flex items-center justify-center",
437
437
  pickMode ? "bg-primary text-primary-foreground" : "text-muted-foreground hover:bg-accent"
438
438
  ),
@@ -501,7 +501,7 @@ function relativeTime(from, now = Date.now()) {
501
501
  return `${weeks}w ago`;
502
502
  }
503
503
  function AiHistoryList({ chats, activeChatId, onResume, onDelete }) {
504
- const { t } = chunk6GFSF2ML_js.useTranslation();
504
+ const { t } = chunkAIA7CY5U_js.useTranslation();
505
505
  if (chats.length === 0) {
506
506
  return /* @__PURE__ */ jsxRuntime.jsx("p", { className: "px-3 py-4 text-center text-[12px] text-muted-foreground", children: t("pptx.ai.historyEmpty") });
507
507
  }
@@ -511,7 +511,7 @@ function AiHistoryList({ chats, activeChatId, onResume, onDelete }) {
511
511
  {
512
512
  type: "button",
513
513
  onClick: () => onResume(chat.id),
514
- className: chunk6GFSF2ML_js.cn(
514
+ className: chunkAIA7CY5U_js.cn(
515
515
  "flex min-w-0 flex-1 items-start gap-2 rounded-sm px-2 py-1.5 text-left hover:bg-accent",
516
516
  chat.id === activeChatId && "bg-accent/60"
517
517
  ),
@@ -550,7 +550,7 @@ function AiHistoryMenu({
550
550
  onNewChat,
551
551
  onClose
552
552
  }) {
553
- const { t } = chunk6GFSF2ML_js.useTranslation();
553
+ const { t } = chunkAIA7CY5U_js.useTranslation();
554
554
  const ref = react.useRef(null);
555
555
  react.useEffect(() => {
556
556
  const handler = (e) => {
@@ -616,7 +616,7 @@ function appliedThemeFromPart(part) {
616
616
  return { summary: out.summary ?? "Theme updated", previous: out.previous ?? {} };
617
617
  }
618
618
  function AiAppliedThemeCard({ summary, onUndo }) {
619
- const { t } = chunk6GFSF2ML_js.useTranslation();
619
+ const { t } = chunkAIA7CY5U_js.useTranslation();
620
620
  const [undone, setUndone] = react.useState(false);
621
621
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-1.5 rounded-md border border-primary/30 bg-primary/5 px-2.5 py-1.5 text-[12px]", children: [
622
622
  /* @__PURE__ */ jsxRuntime.jsx(lu.LuPalette, { className: "w-3.5 h-3.5 shrink-0 text-primary" }),
@@ -662,7 +662,7 @@ var ICONS = {
662
662
  tool: lu.LuWrench
663
663
  };
664
664
  function AiToolCallCard({ part }) {
665
- const { t } = chunk6GFSF2ML_js.useTranslation();
665
+ const { t } = chunkAIA7CY5U_js.useTranslation();
666
666
  const failed = part.state === "output-error";
667
667
  const done = part.state === "output-available";
668
668
  const running = !failed && !done;
@@ -675,17 +675,17 @@ function AiToolCallCard({ part }) {
675
675
  /* @__PURE__ */ jsxRuntime.jsx(
676
676
  Icon,
677
677
  {
678
- className: chunk6GFSF2ML_js.cn(
678
+ className: chunkAIA7CY5U_js.cn(
679
679
  "w-3.5 h-3.5 shrink-0",
680
680
  failed ? "text-destructive" : "text-muted-foreground"
681
681
  )
682
682
  }
683
683
  ),
684
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: chunk6GFSF2ML_js.cn("truncate", failed ? "text-destructive" : "text-foreground"), children: activity.label }),
684
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: chunkAIA7CY5U_js.cn("truncate", failed ? "text-destructive" : "text-foreground"), children: activity.label }),
685
685
  /* @__PURE__ */ jsxRuntime.jsxs(
686
686
  "span",
687
687
  {
688
- className: chunk6GFSF2ML_js.cn(
688
+ className: chunkAIA7CY5U_js.cn(
689
689
  "ml-auto inline-flex items-center gap-1 rounded-sm px-1.5 py-0.5 text-[10px]",
690
690
  failed ? "bg-destructive/15 text-destructive" : done ? "bg-primary/10 text-primary" : "bg-muted text-muted-foreground"
691
691
  ),
@@ -710,7 +710,7 @@ function AiToolCallCard({ part }) {
710
710
  ] });
711
711
  }
712
712
  function AiMessageList({ messages, isStreaming, bridge }) {
713
- const { t } = chunk6GFSF2ML_js.useTranslation();
713
+ const { t } = chunkAIA7CY5U_js.useTranslation();
714
714
  const endRef = react.useRef(null);
715
715
  react.useEffect(() => {
716
716
  endRef.current?.scrollIntoView({ block: "end" });
@@ -733,7 +733,7 @@ function AiMessageList({ messages, isStreaming, bridge }) {
733
733
  /* @__PURE__ */ jsxRuntime.jsx(
734
734
  "div",
735
735
  {
736
- className: chunk6GFSF2ML_js.cn(
736
+ className: chunkAIA7CY5U_js.cn(
737
737
  "mt-0.5 flex h-6 w-6 shrink-0 items-center justify-center rounded-full",
738
738
  isUser ? "bg-secondary text-muted-foreground" : "bg-primary/15 text-primary"
739
739
  ),
@@ -779,7 +779,7 @@ function AiMessageList({ messages, isStreaming, bridge }) {
779
779
  ] });
780
780
  }
781
781
  function AiProposalCard({ proposal, onAccept, onReject }) {
782
- const { t } = chunk6GFSF2ML_js.useTranslation();
782
+ const { t } = chunkAIA7CY5U_js.useTranslation();
783
783
  const lines = proposal.summary.map(ai.humanizeDiffLine);
784
784
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "rounded-md border border-primary/40 bg-primary/5 p-2.5", children: [
785
785
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mb-1.5 text-[11px] font-semibold uppercase tracking-wide text-primary", children: t("pptx.ai.proposedChange") }),
@@ -821,7 +821,7 @@ function AiConversation({
821
821
  aiPanel,
822
822
  deckId
823
823
  }) {
824
- const { t } = chunk6GFSF2ML_js.useTranslation();
824
+ const { t } = chunkAIA7CY5U_js.useTranslation();
825
825
  const chat = useAiConversation(useChat, session, config, bridge, {
826
826
  // Live "AI as a collaborator" focus: as each tool runs, navigate to and
827
827
  // highlight the slide / element(s) it touches so the canvas mirrors the
@@ -986,7 +986,7 @@ function AiChatPanel({
986
986
  onClose,
987
987
  panelWidth
988
988
  }) {
989
- const { t } = chunk6GFSF2ML_js.useTranslation();
989
+ const { t } = chunkAIA7CY5U_js.useTranslation();
990
990
  const { state, session, initError } = useAiChat(bridge, config);
991
991
  const deckId = react.useMemo(() => ai.deckIdFromBridge(bridge), [bridge]);
992
992
  return /* @__PURE__ */ jsxRuntime.jsxs(
Binary file
Binary file
package/dist/ai.js CHANGED
@@ -1,11 +1,11 @@
1
1
  'use strict';
2
2
 
3
- var chunkMU3BIZ2U_js = require('./chunk-MU3BIZ2U.js');
3
+ var chunkVCNDY7HS_js = require('./chunk-VCNDY7HS.js');
4
4
  require('./chunk-PIRHQTI4.js');
5
5
 
6
6
  // src/ai.ts
7
7
  function createAiAssistant(config) {
8
- return chunkMU3BIZ2U_js.aiAssistants.register(config, chunkMU3BIZ2U_js.AiChatPanelLazy);
8
+ return chunkVCNDY7HS_js.aiAssistants.register(config, chunkVCNDY7HS_js.AiChatPanelLazy);
9
9
  }
10
10
 
11
11
  exports.createAiAssistant = createAiAssistant;
package/dist/ai.js.br CHANGED
@@ -1,3 +1,2 @@
1
- % ��tc/�:��^[�Sٸq:r@
2
- �鎡��4�\�4
3
- ��I�_�]�|���()Ba;_1�E(iğ���=����T�Xq:4;�#����M@&`RuՄ�i3i�S��1��-���7�Õ�$C��D��B%
1
+ % ��tc/�:��^[�kZ�չ
2
+ q�r}����Tri�AP~:X�˷+�o~;%E(l�+f��1m����B���>��F�Va�U��#A�͑S@&�RuՄ:�^�;���=Wlq@N^g��=\i���%��KD.T��PQ^�<d���������ݽ- 9GH�
package/dist/ai.js.gz CHANGED
Binary file
package/dist/ai.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { aiAssistants, AiChatPanelLazy } from './chunk-RMEWSJZU.mjs';
1
+ import { aiAssistants, AiChatPanelLazy } from './chunk-J4NOGC3R.mjs';
2
2
  import './chunk-UV2HVMKZ.mjs';
3
3
 
4
4
  // src/ai.ts
package/dist/ai.mjs.br CHANGED
Binary file
package/dist/ai.mjs.gz CHANGED
Binary file
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunk6GFSF2ML_js = require('./chunk-6GFSF2ML.js');
3
+ var chunkAIA7CY5U_js = require('./chunk-AIA7CY5U.js');
4
4
  var reactI18next = require('react-i18next');
5
5
 
6
6
  function isEmptyPlainObject(value) {
@@ -26,4 +26,4 @@ function useHostI18next() {
26
26
  i18n: typeof i18n === "object" && i18n !== null ? i18n : NO_FIELDS
27
27
  };
28
28
  }
29
- chunk6GFSF2ML_js.registerHostI18next(useHostI18next);
29
+ chunkAIA7CY5U_js.registerHostI18next(useHostI18next);
Binary file
Binary file