pptx-vue-viewer 4.29.0 → 4.30.1

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 (66) hide show
  1. package/CHANGELOG.md +71 -0
  2. package/README.md +30 -29
  3. package/dist/{AiChatPanel-C_WfcpVB.cjs → AiChatPanel-BtI5PYyM.cjs} +1 -1
  4. package/dist/AiChatPanel-BtI5PYyM.cjs.br +0 -0
  5. package/dist/AiChatPanel-BtI5PYyM.cjs.gz +0 -0
  6. package/dist/{AiChatPanel-N4Acx4A4.js → AiChatPanel-Cgc7T4im.js} +2 -2
  7. package/dist/AiChatPanel-Cgc7T4im.js.br +0 -0
  8. package/dist/AiChatPanel-Cgc7T4im.js.gz +0 -0
  9. package/dist/index.cjs +1 -1
  10. package/dist/index.cjs.br +0 -0
  11. package/dist/index.cjs.gz +0 -0
  12. package/dist/index.d.ts +6 -0
  13. package/dist/index.js +2 -2
  14. package/dist/index.js.br +0 -0
  15. package/dist/index.js.gz +0 -0
  16. package/dist/internals.cjs +1 -1
  17. package/dist/internals.cjs.br +0 -0
  18. package/dist/internals.cjs.gz +0 -0
  19. package/dist/internals.js +1 -1
  20. package/dist/internals.js.br +0 -0
  21. package/dist/internals.js.gz +0 -0
  22. package/dist/pptx-vue-viewer.css +12 -12
  23. package/dist/pptx-vue-viewer.css.br +0 -0
  24. package/dist/pptx-vue-viewer.css.gz +0 -0
  25. package/dist/{useViewerSettingsDialog-B0seUJf5.cjs → useViewerSettingsDialog-BMdcXvMi.cjs} +787 -749
  26. package/dist/useViewerSettingsDialog-BMdcXvMi.cjs.br +0 -0
  27. package/dist/useViewerSettingsDialog-BMdcXvMi.cjs.gz +0 -0
  28. package/dist/{useViewerSettingsDialog-Bu1FF4kK.js → useViewerSettingsDialog-DOAB5Wso.js} +2406 -2368
  29. package/dist/useViewerSettingsDialog-DOAB5Wso.js.br +0 -0
  30. package/dist/useViewerSettingsDialog-DOAB5Wso.js.gz +0 -0
  31. package/dist/viewer/index.cjs +1 -1
  32. package/dist/viewer/index.cjs.br +0 -0
  33. package/dist/viewer/index.cjs.gz +0 -0
  34. package/dist/viewer/index.d.ts +6 -0
  35. package/dist/viewer/index.js +2 -2
  36. package/dist/viewer/index.js.br +0 -0
  37. package/dist/viewer/index.js.gz +0 -0
  38. package/dist/{viewer-BhpqAiFD.cjs → viewer-Bn9c6zTh.cjs} +13 -15
  39. package/dist/viewer-Bn9c6zTh.cjs.br +0 -0
  40. package/dist/viewer-Bn9c6zTh.cjs.gz +0 -0
  41. package/dist/{viewer-Kzl-S1XT.js → viewer-Lhej_VIH.js} +5902 -5904
  42. package/dist/viewer-Lhej_VIH.js.br +0 -0
  43. package/dist/viewer-Lhej_VIH.js.gz +0 -0
  44. package/dist/{y-webrtc-Cc_szc_0.cjs → y-webrtc-3RAN0FIn.cjs} +1 -1
  45. package/dist/y-webrtc-3RAN0FIn.cjs.br +0 -0
  46. package/dist/y-webrtc-3RAN0FIn.cjs.gz +0 -0
  47. package/dist/{y-webrtc-AnFXd3eU.js → y-webrtc-CP84AXsV.js} +1 -1
  48. package/dist/y-webrtc-CP84AXsV.js.br +0 -0
  49. package/dist/y-webrtc-CP84AXsV.js.gz +0 -0
  50. package/package.json +3 -3
  51. package/dist/AiChatPanel-C_WfcpVB.cjs.br +0 -0
  52. package/dist/AiChatPanel-C_WfcpVB.cjs.gz +0 -0
  53. package/dist/AiChatPanel-N4Acx4A4.js.br +0 -0
  54. package/dist/AiChatPanel-N4Acx4A4.js.gz +0 -0
  55. package/dist/useViewerSettingsDialog-B0seUJf5.cjs.br +0 -0
  56. package/dist/useViewerSettingsDialog-B0seUJf5.cjs.gz +0 -0
  57. package/dist/useViewerSettingsDialog-Bu1FF4kK.js.br +0 -0
  58. package/dist/useViewerSettingsDialog-Bu1FF4kK.js.gz +0 -0
  59. package/dist/viewer-BhpqAiFD.cjs.br +0 -0
  60. package/dist/viewer-BhpqAiFD.cjs.gz +0 -0
  61. package/dist/viewer-Kzl-S1XT.js.br +0 -0
  62. package/dist/viewer-Kzl-S1XT.js.gz +0 -0
  63. package/dist/y-webrtc-AnFXd3eU.js.br +0 -0
  64. package/dist/y-webrtc-AnFXd3eU.js.gz +0 -0
  65. package/dist/y-webrtc-Cc_szc_0.cjs.br +0 -0
  66. package/dist/y-webrtc-Cc_szc_0.cjs.gz +0 -0
package/CHANGELOG.md CHANGED
@@ -7,6 +7,77 @@ 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.30.1](https://github.com/ChristopherVR/ooxml/releases/tag/pptx-vue-viewer@4.30.1) - 2026-10-08
11
+
12
+ ### Bug Fixes
13
+
14
+ - **ui:** Keep thin pptx strokes at least one device pixel on screen ([bb1df44](https://github.com/ChristopherVR/ooxml/commit/bb1df4463b9321ce6b57214037ac938bb1d33296))
15
+ - **pptx:** Keep unedited empty table cells free of a:tcPr ([01d4f3d](https://github.com/ChristopherVR/ooxml/commit/01d4f3d36d5acd4fb795b4f33018efa0e3482b06))
16
+ - **pptx:** Default an absent c:gapWidth to 150 ([e16f565](https://github.com/ChristopherVR/ooxml/commit/e16f5651541cfbba9b7a1280e58463c041e507d9))
17
+
18
+ ### Refactor
19
+
20
+ - **pptx:** Share the chart XML presence check for a:noFill ([ad7bae0](https://github.com/ChristopherVR/ooxml/commit/ad7bae0ea91758a2e7dcb581c2f472da394e5eb4))
21
+
22
+ ## [4.30.0](https://github.com/ChristopherVR/ooxml/releases/tag/pptx-vue-viewer@4.30.0) - 2026-10-08
23
+
24
+ ### Features
25
+
26
+ - **chart:** Add the neutral chartSpace model ([2544c31](https://github.com/ChristopherVR/ooxml/commit/2544c31319b5cc723b26a2c37b519719693f62b8))
27
+ - **chart:** Parse chart parts from the shared DOM ([49c1b76](https://github.com/ChristopherVR/ooxml/commit/49c1b76e41b5fac972c52a5d8169e9ad14478cfd))
28
+ - **opc:** Patch property parts in place and model app statistics ([66c4cf1](https://github.com/ChristopherVR/ooxml/commit/66c4cf1043d73a6df05131d813cbae7f5af6e35e))
29
+ - **chart:** Write chartSpace parts from the neutral model ([bf6920f](https://github.com/ChristopherVR/ooxml/commit/bf6920fb553ff32c32c3edf9bff652cad3bd71ac))
30
+ - **chart:** Accept text bodies given as XML and drop invalid characters ([816830f](https://github.com/ChristopherVR/ooxml/commit/816830fa29a42491d72b835a9b6eb7b5a617f234))
31
+ - **chart:** Render chartSpace parts to svg ([eb2c12f](https://github.com/ChristopherVR/ooxml/commit/eb2c12f877c0f4c7521a9d71e323120fb9084ca6))
32
+ - **chart:** Model display units, data tables and walls ([b95531a](https://github.com/ChristopherVR/ooxml/commit/b95531a3ff55f09c83676291c4b4857d1943189c))
33
+ - **ui:** Add showCompatibilityToasts root option ([992adda](https://github.com/ChristopherVR/ooxml/commit/992adda597325f8d2c9ca5fcbf612ac4da1b65c0))
34
+ - **opc:** Support shared suite files and embedded editing ([41614b1](https://github.com/ChristopherVR/ooxml/commit/41614b10ef62522fe2dceae695b478b53cca293a))
35
+
36
+ ### Bug Fixes
37
+
38
+ - **chart:** Paint coincident linear stops as the native one-step ramp ([eabbc5e](https://github.com/ChristopherVR/ooxml/commit/eabbc5e3dc968f0d40246293238ef88ae7b004f4))
39
+ - **pptx:** List line breaks in slide titles as spaces in app.xml ([45f496a](https://github.com/ChristopherVR/ooxml/commit/45f496ab747f90f7b8764a295c8d0df8414141c0))
40
+ - **pptx:** Export the neutral SmartArt type names from the public entry ([0f081d2](https://github.com/ChristopherVR/ooxml/commit/0f081d260fbaf034129114fcba6137c900dbf846))
41
+ - **chart:** Read the line chart group's own c:smooth ([a5cfd0d](https://github.com/ChristopherVR/ooxml/commit/a5cfd0d45af11e2b2214a9abdc86ce33ba5312be))
42
+ - **pptx:** Read chart style numbers from the mc:Fallback ([045faf7](https://github.com/ChristopherVR/ooxml/commit/045faf71cadf05f1c9bc4b3155003abe9520b764))
43
+ - **pptx:** Treat a bare data-label switch as on ([637f938](https://github.com/ChristopherVR/ooxml/commit/637f938814baced0d2f72aeca7142e2281db0ca3))
44
+ - **pptx:** Declare c15 and c16 prefixes in chart extension writers ([7b93a01](https://github.com/ChristopherVR/ooxml/commit/7b93a010a77c1ef8433f75fc8d2f3ad810659c75))
45
+ - **pptx:** Repair chart parts this library once saved with undeclared prefixes ([a5f77af](https://github.com/ChristopherVR/ooxml/commit/a5f77af3bf0a2661af35091da920ca707e4fcb96))
46
+ - **pptx:** Paint chart label fonts in every binding ([13493fc](https://github.com/ChristopherVR/ooxml/commit/13493fc180d39cb2622d5f22fd331a9e0abbb781))
47
+ - **pptx:** Build chart style palettes over the deck theme ([7ab9527](https://github.com/ChristopherVR/ooxml/commit/7ab9527743dbb1dc1438d2d3e6e73553b13e54b7))
48
+ - **pptx:** Read each table cell paragraph's own layout ([bcc61f3](https://github.com/ChristopherVR/ooxml/commit/bcc61f3b3e98564e50d018a4a37576f3b237fb57))
49
+ - **pptx:** Lay out table cell paragraphs with their own spacing ([c3db7c5](https://github.com/ChristopherVR/ooxml/commit/c3db7c57596d8f31e24b2d556ed1eea8dddad90a))
50
+ - **pptx:** Save each table cell paragraph's own alignment ([0d43f35](https://github.com/ChristopherVR/ooxml/commit/0d43f3530d5cefd52b98193be98329b4ec66547b))
51
+ - **pptx:** Align every paragraph when a table cell is aligned ([1bb7e7d](https://github.com/ChristopherVR/ooxml/commit/1bb7e7de568a0d8a6808862fd6dc4367782e9686))
52
+ - **pptx:** Skip chart axis lines and gridlines set to no line ([c6a9fcb](https://github.com/ChristopherVR/ooxml/commit/c6a9fcb0fb07498acf6db64d9ee9417339a6f2ac))
53
+ - **pptx:** Apply a table cell run's character spacing ([6d1ee14](https://github.com/ChristopherVR/ooxml/commit/6d1ee148cbd0ea058ae032a7a3b8fe9cdace1ce1))
54
+ - **pptx:** Size an empty table cell from its end paragraph properties ([30da656](https://github.com/ChristopherVR/ooxml/commit/30da656aa60039fff3c912c20cd286dc49055adf))
55
+
56
+ ### Performance
57
+
58
+ - **xml:** Add a lightweight reader for large plain fragments ([5e0318f](https://github.com/ChristopherVR/ooxml/commit/5e0318facba5e0766dd6d1f26172eb94177fe471))
59
+
60
+ ### Refactor
61
+
62
+ - **pptx:** Compile the ui helpers under the strict project ([edbff0a](https://github.com/ChristopherVR/ooxml/commit/edbff0a3fd1863efa394da6c9fe826514fda5f7c))
63
+ - **chart:** Use the Drawing type names ([76bf49c](https://github.com/ChristopherVR/ooxml/commit/76bf49c0a96519816c79375eed1aa9ead84f8b10))
64
+ - **diagram:** Add the neutral SmartArt model types ([b8f4e74](https://github.com/ChristopherVR/ooxml/commit/b8f4e7406362570e085c701dd1e342d534fcc048))
65
+ - **geometry:** Move the preset shape evaluator out of pptx ([c670910](https://github.com/ChristopherVR/ooxml/commit/c670910349b7f6d6d02c335a551518265efde6a9))
66
+ - **diagram:** Move the layout engine out of pptx ([91767c0](https://github.com/ChristopherVR/ooxml/commit/91767c03d4ec9fb2225c47eddd0adc850f187022))
67
+ - **pptx:** Update document properties through opc/properties ([a295f6a](https://github.com/ChristopherVR/ooxml/commit/a295f6a2182eb344e6c9e9a6fe70ba5366268b9c))
68
+ - **diagram:** Port the dgm:choose walkers to ordered XML ([2dfc037](https://github.com/ChristopherVR/ooxml/commit/2dfc0371bb0d4b72e5a3ef4b4cb71bd1a5cb7f81))
69
+ - **diagram:** Move the SmartArt constraint solver into diagram ([bd91ad8](https://github.com/ChristopherVR/ooxml/commit/bd91ad884cf00947957b9620309c885df21d6985))
70
+ - **diagram:** Move the SmartArt interpreter model into diagram ([b24d320](https://github.com/ChristopherVR/ooxml/commit/b24d3200af42eda7c1d7fcc7dcf592202e2fc0f8))
71
+ - **chart:** Move the svg painter into the chart area ([0f9169d](https://github.com/ChristopherVR/ooxml/commit/0f9169d11c5bf92342bc291fdb3f8ef8d84927c5))
72
+ - **pptx:** Build chart models from the neutral parser ([1e38985](https://github.com/ChristopherVR/ooxml/commit/1e389856ae308843d0d86c83b41f6a62284ef1d2))
73
+ - **pptx:** Delete the legacy object-tree chart parser ([b4f0f4f](https://github.com/ChristopherVR/ooxml/commit/b4f0f4f8af4b2eefe49749f5b3c1b1ee7492dba9))
74
+ - **diagram:** Move the SmartArt hierarchy arranger into diagram ([989744c](https://github.com/ChristopherVR/ooxml/commit/989744c5a2ed121eda9b2b11a37815e295c14740))
75
+ - **diagram:** Move the SmartArt layout interpreters into diagram ([3725b73](https://github.com/ChristopherVR/ooxml/commit/3725b7359b5d845012fa7b84b3cddc421446cfbd))
76
+
77
+ ### Testing
78
+
79
+ - **pptx:** Compare chart parts with the neutral parser on every deck ([58b16be](https://github.com/ChristopherVR/ooxml/commit/58b16be72bdcf27e291ff5b9bebc139db9cd3607))
80
+
10
81
  ## [4.29.0](https://github.com/ChristopherVR/ooxml/releases/tag/pptx-vue-viewer@4.29.0) - 2026-10-08
11
82
 
12
83
  ### Features
package/README.md CHANGED
@@ -178,36 +178,37 @@ See the [cross-binding defaults](../../docs/guide/viewport-fit.md).
178
178
 
179
179
  ### Props
180
180
 
181
- | Prop | Type | Default | Description |
182
- | -------------------------------------------------------------------------- | ------------------------------------ | ---------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
183
- | `content` | `Uint8Array \| ArrayBuffer` | n/a | The `.pptx` bytes to render. **Required.** |
184
- | `theme` | `ViewerTheme` | n/a | Color/radius overrides applied as CSS custom properties. Always wins over the File > Options theme picker. |
185
- | `class` | `string` | n/a | Class applied to the root element. |
186
- | `canEdit` | `boolean` | `false` | Enables the editor toolbar, inspector, and drag-and-drop editing. |
187
- | `initialSlide` | `number` | `0` | Zero-based slide shown after each load, clamped into the deck. |
188
- | `showToolbar` | `boolean` | `true` | Editor chrome: title bar, ribbon, toolbar, banners and status bar. |
189
- | `showThumbnails` | `boolean` | `true` | Slide thumbnail pane. |
190
- | `filePath` | `string` | n/a | Original file path, used for autosave recovery and version history. |
191
- | `fileName` | `string` | n/a | Display name of the open document, shown in the title bar. |
192
- | `fonts` | `ViewerFontSource[]` | n/a | Licensed font sources supplied by the host application. |
193
- | `autosave` | `boolean` | `true` | Enables debounced autosave (emits `@autosave` with serialised bytes). |
194
- | `autosaveIntervalMs` | `number` | File > Options cadence | Autosave debounce window in milliseconds. |
195
- | `authorName` | `string` | n/a | Author name for comments/annotations and collaboration presence. |
196
- | `collaboration` | `CollaborationConfig` | n/a | Yjs real-time collaboration config (server URL, room, role). |
197
- | `shareDefaults` | `{ roomId?, userName?, serverUrl? }` | n/a | Seed values for the Share dialog fields. |
198
- | `onOpenFile` | `() => void` | n/a | Host override for File > Open; bypasses the built-in file picker. |
199
- | `smartArt3D` | `boolean` | `false` | Opt-in Three.js 3D SmartArt renderer (needs the optional `three` peer; falls back to SVG without it). |
200
- | `surfaceChart3D`, `barChart3D`, `lineChart3D`, `areaChart3D`, `pieChart3D` | `boolean` | `false` | Independently opt in to interactive Three.js renderers for the matching 3D chart kinds; each falls back to SVG when WebGL is unavailable. |
201
- | `ai` | `PptxAiConfig` | n/a | Optional AI assistant configuration. The SDK peers load only when its panel is opened. |
202
- | `hiddenActions` | `ToolbarActionId[]` | n/a | Individual toolbar buttons and/or ribbon tabs to hide (e.g. `['share', 'broadcast', 'insert']`). Omit to show everything. |
181
+ | Prop | Type | Default | Description |
182
+ | -------------------------------------------------------------------------- | ------------------------------------ | ---------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
183
+ | `content` | `Uint8Array \| ArrayBuffer` | n/a | The `.pptx` bytes to render. **Required.** |
184
+ | `theme` | `ViewerTheme` | n/a | Color/radius overrides applied as CSS custom properties. Always wins over the File > Options theme picker. |
185
+ | `class` | `string` | n/a | Class applied to the root element. |
186
+ | `canEdit` | `boolean` | `false` | Enables the editor toolbar, inspector, and drag-and-drop editing. |
187
+ | `initialSlide` | `number` | `0` | Zero-based slide shown after each load, clamped into the deck. |
188
+ | `showToolbar` | `boolean` | `true` | Editor chrome: title bar, ribbon, toolbar, banners and status bar. |
189
+ | `showThumbnails` | `boolean` | `true` | Slide thumbnail pane. |
190
+ | `showCompatibilityToasts` | `boolean` | `true` | Compatibility warning toast stack; `false` hides it, warnings are still collected. |
191
+ | `filePath` | `string` | n/a | Original file path, used for autosave recovery and version history. |
192
+ | `fileName` | `string` | n/a | Display name of the open document, shown in the title bar. |
193
+ | `fonts` | `ViewerFontSource[]` | n/a | Licensed font sources supplied by the host application. |
194
+ | `autosave` | `boolean` | `true` | Enables debounced autosave (emits `@autosave` with serialised bytes). |
195
+ | `autosaveIntervalMs` | `number` | File > Options cadence | Autosave debounce window in milliseconds. |
196
+ | `authorName` | `string` | n/a | Author name for comments/annotations and collaboration presence. |
197
+ | `collaboration` | `CollaborationConfig` | n/a | Yjs real-time collaboration config (server URL, room, role). |
198
+ | `shareDefaults` | `{ roomId?, userName?, serverUrl? }` | n/a | Seed values for the Share dialog fields. |
199
+ | `onOpenFile` | `() => void` | n/a | Host override for File > Open; bypasses the built-in file picker. |
200
+ | `smartArt3D` | `boolean` | `false` | Opt-in Three.js 3D SmartArt renderer (needs the optional `three` peer; falls back to SVG without it). |
201
+ | `surfaceChart3D`, `barChart3D`, `lineChart3D`, `areaChart3D`, `pieChart3D` | `boolean` | `false` | Independently opt in to interactive Three.js renderers for the matching 3D chart kinds; each falls back to SVG when WebGL is unavailable. |
202
+ | `ai` | `PptxAiConfig` | n/a | Optional AI assistant configuration. The SDK peers load only when its panel is opened. |
203
+ | `hiddenActions` | `ToolbarActionId[]` | n/a | Individual toolbar buttons and/or ribbon tabs to hide (e.g. `['share', 'broadcast', 'insert']`). Omit to show everything. |
203
204
  | `customization` | `ViewerCustomization` | - | Hide, lock or remap any part of the UI (ribbon tabs/buttons, File > Options pages/sections/settings, File tab, context menus, shortcuts, panels, AI/collaboration, dialogs); the same helpers (`hideRibbonTab`, `lockSetting`, ...) are on the template ref. See the [UI Customization guide](https://christophervr.github.io/ooxml/pptx/guide/customization). |
204
- | `defaultThemeKey` | `string` | n/a | Initial File > Options > Appearance selection when no persisted preference exists. |
205
- | `availableThemes` | `ThemeCatalogEntry[]` | n/a | Theme choices offered by File > Options > Appearance (defaults to the built-in catalog). |
206
- | `onThemeChange` | `(key: string) => void` | n/a | Host hook for the appearance picker; when set, the host owns persisting the choice. |
207
- | `defaultLocale` | `string` | n/a | Initial locale code when no persisted preference exists. |
208
- | `availableLocales` | `LocaleCatalogEntry[]` | n/a | Locale choices offered by File > Options > Language (defaults to the host `vue-i18n` locales). |
209
- | `onLocaleChange` | `(code: string) => void` | n/a | Host hook for the language picker; when set, the host owns applying/persisting the switch. |
210
- | `accountAuth` | `AccountAuthConfig` | n/a | Optional sign-in hook point for File > Account (disabled unless `enabled: true`). |
205
+ | `defaultThemeKey` | `string` | n/a | Initial File > Options > Appearance selection when no persisted preference exists. |
206
+ | `availableThemes` | `ThemeCatalogEntry[]` | n/a | Theme choices offered by File > Options > Appearance (defaults to the built-in catalog). |
207
+ | `onThemeChange` | `(key: string) => void` | n/a | Host hook for the appearance picker; when set, the host owns persisting the choice. |
208
+ | `defaultLocale` | `string` | n/a | Initial locale code when no persisted preference exists. |
209
+ | `availableLocales` | `LocaleCatalogEntry[]` | n/a | Locale choices offered by File > Options > Language (defaults to the host `vue-i18n` locales). |
210
+ | `onLocaleChange` | `(code: string) => void` | n/a | Host hook for the language picker; when set, the host owns applying/persisting the switch. |
211
+ | `accountAuth` | `AccountAuthConfig` | n/a | Optional sign-in hook point for File > Account (disabled unless `enabled: true`). |
211
212
 
212
213
  ### Events
213
214
 
@@ -1,4 +1,4 @@
1
- const e = require("./useViewerSettingsDialog-B0seUJf5.cjs"), t = require("./viewer-BhpqAiFD.cjs");
1
+ const e = require("./useViewerSettingsDialog-BMdcXvMi.cjs"), t = require("./viewer-Bn9c6zTh.cjs");
2
2
  let r = require("vue"), a = require("lucide-vue-next"), n = require("ooxml-ui/pptx/ai");
3
3
  var o = { class: "border-t border-border p-2" }, l = { class: "flex items-end gap-1.5 rounded-md border border-input bg-background px-2 py-1.5 focus-within:border-ring" }, s = ["placeholder", "aria-label"], i = ["title", "aria-label"], c = [
4
4
  "disabled",
Binary file
Binary file
@@ -1,5 +1,5 @@
1
- import { zr as e } from "./useViewerSettingsDialog-Bu1FF4kK.js";
2
- import { l as t, x as a } from "./viewer-Kzl-S1XT.js";
1
+ import { zr as e } from "./useViewerSettingsDialog-DOAB5Wso.js";
2
+ import { l as t, x as a } from "./viewer-Lhej_VIH.js";
3
3
  import { Fragment as r, Suspense as s, computed as l, createBlock as o, createCommentVNode as i, createElementBlock as n, createElementVNode as p, createTextVNode as d, createVNode as c, defineComponent as u, nextTick as m, normalizeClass as x, normalizeStyle as g, onBeforeUnmount as f, onMounted as b, openBlock as v, ref as y, renderList as h, resolveDynamicComponent as k, shallowRef as w, toDisplayString as C, unref as P, vModelText as T, watch as S, withAsyncContext as I, withCtx as j, withDirectives as _ } from "vue";
4
4
  import { Bot as A, ChartColumn as E, Check as M, Crosshair as F, Eye as B, Film as D, GitMerge as N, History as L, LayoutTemplate as R, LoaderCircle as H, MessageSquare as W, MessageSquarePlus as z, Move as V, Navigation as K, Palette as O, Pin as U, PinOff as $, Plus as q, Search as G, Send as J, Shapes as Q, Sparkles as X, Square as Y, StickyNote as Z, Table as ee, Trash2 as te, TriangleAlert as ae, Type as re, User as se, Wrench as le, X as oe } from "lucide-vue-next";
5
5
  import { createAiChatHistoryController as ie, createAiChatSession as ne, deckIdFromBridge as pe, describeToolActivity as de, extractReadyToolCalls as ce, focusTargetChips as ue, humanizeDiffLine as me, isAiAvailable as xe, isTwoTableFocus as ge, mergeTablesDirective as fe, summarizeToolArgs as be, toRenderableParts as ve, toolCanvasTarget as ye, toolLabel as he } from "ooxml-ui/pptx/ai";
Binary file
Binary file
package/dist/index.cjs CHANGED
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const e = require("./useViewerSettingsDialog-B0seUJf5.cjs"), r = require("./viewer-BhpqAiFD.cjs");
2
+ const e = require("./useViewerSettingsDialog-BMdcXvMi.cjs"), r = require("./viewer-Bn9c6zTh.cjs");
3
3
  let t = require("ooxml-ui/pptx");
4
4
  Object.defineProperty(exports, "AUDIENCE_HASH", {
5
5
  enumerable: !0,
package/dist/index.cjs.br CHANGED
Binary file
package/dist/index.cjs.gz CHANGED
Binary file
package/dist/index.d.ts CHANGED
@@ -171,6 +171,7 @@ declare const __VLS_export: DefineComponent<PowerPointViewerProps, PowerPointVie
171
171
  canEdit: boolean;
172
172
  showToolbar: boolean;
173
173
  showThumbnails: boolean;
174
+ showCompatibilityToasts: boolean;
174
175
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
175
176
 
176
177
  declare const __VLS_export_2: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
@@ -799,6 +800,11 @@ export declare interface PowerPointViewerProps {
799
800
  * the user's own collapse toggle and the `slidesPane` customisation panel.
800
801
  */
801
802
  showThumbnails?: boolean;
803
+ /**
804
+ * Show the compatibility warning toast stack after a load. Default `true`.
805
+ * `false` hides the stack only; the warnings are still collected.
806
+ */
807
+ showCompatibilityToasts?: boolean;
802
808
  /**
803
809
  * Framework-neutral UI customisation. See docs/guide/customization.md.
804
810
  *
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { Bn as a, C as s, S as o, Vn as e, it as r, lt as i, w as t, x as l } from "./useViewerSettingsDialog-Bu1FF4kK.js";
2
- import { A as n, D as m, E as p, F as w, I as S, M as b, N as d, O as u, P as x, T as C, _ as f, a as g, b as v, c, d as j, f as P, g as R, h as V, i as y, j as B, k as D, m as E, o as F, p as I, s as M, u as O, v as T, w as h, x as k, y as A } from "./viewer-Kzl-S1XT.js";
1
+ import { Bn as a, C as s, S as o, Vn as e, it as r, lt as i, w as t, x as l } from "./useViewerSettingsDialog-DOAB5Wso.js";
2
+ import { A as n, D as m, E as p, F as w, I as S, M as b, N as d, O as u, P as x, T as C, _ as f, a as g, b as v, c, d as j, f as P, g as R, h as V, i as y, j as B, k as D, m as E, o as F, p as I, s as M, u as O, v as T, w as h, x as k, y as A } from "./viewer-Lhej_VIH.js";
3
3
  import { BACKSTAGE_CARD_IDS as N, BACKSTAGE_PAGE_IDS as _, CANVAS_CONTEXT_MENU_COMMAND_IDS as q, EDITOR_SHORTCUT_ACTION_IDS as z, ELEMENT_CONTEXT_MENU_COMMAND_IDS as G, OPTIONS_PAGE_IDS as H, OPTIONS_SECTION_IDS as J, OPTIONS_SETTING_IDS as K, PPTX_OPEN_ACCEPT as L, PRESENTATION_OPEN_EXTENSIONS as Q, RIBBON_TAB_IDS as U, TOOLBAR_BUTTON_IDS as W, VIEWER_DIALOG_IDS as X, VIEWER_EXPORT_FORMAT_IDS as Y, VIEWER_FEATURE_IDS as Z, VIEWER_PANEL_IDS as $, createImageElementFromFile as aa, describeCollaborationShellState as sa, forgetSessionDeck as oa, getSessionTabId as ea, isLegacyBinaryPresentation as ra, isSupportedPresentationFile as ia, loadSessionDeck as ta, parsePresentationSessionId as la, presentationBaseName as na, rememberSessionDeck as ma, restoreSessionDeck as pa, savedPresentationFileName as wa } from "ooxml-ui/pptx";
4
4
  export { j as AUDIENCE_HASH, N as BACKSTAGE_CARD_IDS, _ as BACKSTAGE_PAGE_IDS, q as CANVAS_CONTEXT_MENU_COMMAND_IDS, T as CollaborationCursors, h as CollaborationStatusIndicator, z as EDITOR_SHORTCUT_ACTION_IDS, G as ELEMENT_CONTEXT_MENU_COMMAND_IDS, e as ElementRenderer, O as FollowModeBar, H as OPTIONS_PAGE_IDS, J as OPTIONS_SECTION_IDS, K as OPTIONS_SETTING_IDS, L as PPTX_OPEN_ACCEPT, Q as PRESENTATION_OPEN_EXTENSIONS, c as PowerPointViewer, U as RIBBON_TAB_IDS, f as RemoteSelectionOverlay, v as RibbonToolbar, A as SlideCanvas, a as SlideStage, W as TOOLBAR_BUTTON_IDS, X as VIEWER_DIALOG_IDS, Y as VIEWER_EXPORT_FORMAT_IDS, Z as VIEWER_FEATURE_IDS, $ as VIEWER_PANEL_IDS, P as clearAudienceContent, k as cn, aa as createImageElementFromFile, u as defaultCssVars, w as defaultRadius, S as defaultThemeColors, sa as describeCollaborationShellState, l as exportAllSlidesToSvg, o as exportAllSlidesToSvgBlobs, s as exportSlideToSvg, t as exportSlideToSvgBlob, oa as forgetSessionDeck, ea as getSessionTabId, I as isAudienceTab, ra as isLegacyBinaryPresentation, ia as isSupportedPresentationFile, E as loadAudienceContent, ta as loadSessionDeck, V as parseAudienceNonce, la as parsePresentationSessionId, na as presentationBaseName, C as provideViewerTheme, ma as rememberSessionDeck, r as renderToCanvas, pa as restoreSessionDeck, wa as savedPresentationFileName, R as storeAudienceContent, D as themeToCssVars, i as useCollaboration, y as useCollaborativeHistory, g as useCollaborativeState, F as usePresenceTracking, p as useThemeStyle, m as useViewerTheme, M as useYjsProvider, n as vermilionDarkColors, B as vermilionDarkTheme, b as vermilionLightColors, d as vermilionLightTheme, x as vermilionRadius };
package/dist/index.js.br CHANGED
Binary file
package/dist/index.js.gz CHANGED
Binary file
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const e = require("./useViewerSettingsDialog-B0seUJf5.cjs");
2
+ const e = require("./useViewerSettingsDialog-BMdcXvMi.cjs");
3
3
  let t = require("ooxml-ui/pptx");
4
4
  Object.defineProperty(exports, "CINEMATIC_TRANSITION_KEYFRAMES", {
5
5
  enumerable: !0,
Binary file
Binary file
package/dist/internals.js CHANGED
@@ -1,2 +1,2 @@
1
- import { $ as a, $n as s, $t as t, A as n, An as r, At as e, B as i, Bt as o, Cr as g, Ct as m, D as p, Dt as y, E as l, Et as f, F as h, Fn as j, Ft as u, G as v, Gt as F, H as L, Ht as O, I as T, It as _, J as b, Jt as c, K as d, Kt as k, L as w, Lt as x, Mn as A, Mt as D, Nn as E, Nt as M, O as P, On as Q, Ot as R, Pn as S, Pt as V, Q as Z, Qn as $, Qt as q, Rn as z, Rr as B, Rt as C, Sr as G, St as H, T as I, Tt as J, U as K, Ut as N, V as U, Vt as W, W as X, Wt as Y, X as aa, Xt as sa, Y as ta, Yt as na, Z as ra, Zn as ea, Zt as ia, _ as oa, _n as ga, _r as ma, _t as pa, a as ya, ar as la, at as fa, b as ha, bn as ja, bt as ua, c as va, cn as Fa, ct as La, d as Oa, dn as Ta, en as _a, er as ba, et as ca, f as da, fn as ka, ft as wa, g as xa, gn as Aa, gt as Da, h as Ea, hn as Ma, ht as Pa, i as Qa, ir as Ra, j as Sa, jn as Va, jt as Za, k as $a, kn as qa, kt as za, l as Ba, ln as Ca, lt as Ga, m as Ha, mn as Ia, mt as Ja, n as Ka, nt as Na, o as Ua, or as Wa, ot as Xa, p as Ya, pn as as, pt as ss, q as ts, qt as ns, r as rs, rr as es, rt as is, s as os, sn as gs, sr as ms, st as ps, t as ys, tn as ls, tr as fs, tt as hs, u as js, un as us, ur as vs, v as Fs, vn as Ls, vt as Os, wr as Ts, wt as _s, xt as bs, y as cs, yn as ds, yt as ks, z as ws, zt as xs } from "./useViewerSettingsDialog-Bu1FF4kK.js";
1
+ import { $ as a, $n as s, $t as t, A as n, An as r, At as e, B as i, Bt as o, Cr as g, Ct as m, D as p, Dt as y, E as l, Et as f, F as h, Fn as j, Ft as u, G as v, Gt as F, H as L, Ht as O, I as T, It as _, J as b, Jt as c, K as d, Kt as k, L as w, Lt as x, Mn as A, Mt as D, Nn as E, Nt as M, O as P, On as Q, Ot as R, Pn as S, Pt as V, Q as Z, Qn as $, Qt as q, Rn as z, Rr as B, Rt as C, Sr as G, St as H, T as I, Tt as J, U as K, Ut as N, V as U, Vt as W, W as X, Wt as Y, X as aa, Xt as sa, Y as ta, Yt as na, Z as ra, Zn as ea, Zt as ia, _ as oa, _n as ga, _r as ma, _t as pa, a as ya, ar as la, at as fa, b as ha, bn as ja, bt as ua, c as va, cn as Fa, ct as La, d as Oa, dn as Ta, en as _a, er as ba, et as ca, f as da, fn as ka, ft as wa, g as xa, gn as Aa, gt as Da, h as Ea, hn as Ma, ht as Pa, i as Qa, ir as Ra, j as Sa, jn as Va, jt as Za, k as $a, kn as qa, kt as za, l as Ba, ln as Ca, lt as Ga, m as Ha, mn as Ia, mt as Ja, n as Ka, nt as Na, o as Ua, or as Wa, ot as Xa, p as Ya, pn as as, pt as ss, q as ts, qt as ns, r as rs, rr as es, rt as is, s as os, sn as gs, sr as ms, st as ps, t as ys, tn as ls, tr as fs, tt as hs, u as js, un as us, ur as vs, v as Fs, vn as Ls, vt as Os, wr as Ts, wt as _s, xt as bs, y as cs, yn as ds, yt as ks, z as ws, zt as xs } from "./useViewerSettingsDialog-DOAB5Wso.js";
2
2
  export { m as CINEMATIC_TRANSITION_KEYFRAMES, Qa as DEFAULT_MAX_VERSIONS, _s as DEFAULT_MORPH_DURATION_MS, G as DEFAULT_RENDERING_3D_FLAGS, J as DEFAULT_TRANSITION_DURATION_MS, f as EASE, ns as ERASER_RADIUS, bs as FragmentedTransitionLayer, c as HIGHLIGHTER_OPACITY, na as HIGHLIGHTER_WIDTH, y as INSTANT, Va as MOBILE_BREAKPOINT, A as MOBILE_LANDSCAPE_MAX_HEIGHT, ua as MorphExtraLayers, Ia as NUDGE_LARGE, Ma as NUDGE_SMALL, R as P14_TRANSITION_KEYFRAMES, za as P14_TRANSITION_KEYFRAMES_2, e as P14_TRANSITION_KEYFRAMES_ALL, sa as PEN_WIDTH, ks as PresentationTransitionOverlay, Za as RANDOM_ELIGIBLE_TYPES, oa as RIBBON_ALIGN, g as Rendering3DFlagsKey, Ls as SHORTCUT_CATALOG, ds as SHORTCUT_GROUP_LABEL_KEYS, D as SLIDE_TRANSITION_KEYFRAMES, M as SLIDE_TRANSITION_KEYFRAMES_CSS, Fa as SMARTART_COLOR_SCHEMES, Ca as SMARTART_STYLE_OPTIONS, E as TABLET_BREAKPOINT, V as TRANSITION_SPEED_DURATION_MS, ea as TableSelectionKey, u as WHEEL_SPOKE_COUNTS, _a as buildClickGroups, $ as computeCellSelection, Q as computeDocumentStatistics, Da as computeElapsed, qa as countWords, ia as createStroke, q as eraseStrokesAtPoint, pa as formatRehearseMs, Xa as generateCommentId, _ as getCinematicTransitionAnimations, x as getP14TransitionAnimations, C as getSlideTransitionAnimations, ja as groupShortcutCatalog, s as injectTableSelection, Ra as inlineEditorRect, S as isMobileViewport, la as nodeIdsInRenderOrder, n as parseSignaturesFromBuffer, ba as provideTableSelection, xs as resolveDirection, o as resolveDirection8, W as resolveOrientation, Aa as resolveShortcutAction, O as resolveSlideTransition, N as resolveTransitionDurationMs, Y as resolveWheelSpokeCount, us as smartArtLayoutLabel, Wa as textNodeIdsInRenderOrder, Fs as toShapePreset, Ja as useAccessibility, ss as useAlignGroup, ls as useAnimationPlayback, wa as useAutosave, as as useChartEditing, Ga as useCollaboration, La as useCollaborationWiring, ma as useColorChangeImage, ps as useComments, fa as useCommentsWiring, is as useContextMenu, Na as useCustomShows, hs as useCustomShowsWiring, ka as useDebouncedCallback, ca as useDocumentPropertiesDialog, r as useDocumentStatistics, a as useEditorHistory, Z as useEditorKeyboard, ra as useEditorOperations, aa as useElementDrag, ta as useElementInsertion, b as useEmbeddedFonts, ts as useExport, d as useExportProgress, X as useExportWiring, K as useFindReplace, L as useFontEmbedding, U as useFormatPainter, i as useHeaderFooterDialog, ws as useInkDrawing, w as useInlineEditing, T as useInsertElementDialogs, j as useIsMobile, h as useKeyboardInsets, ga as useKeyboardShortcuts, Sa as useLoadContent, $a as useMasterViewState, v as useMediaExport, P as useMobileChrome, vs as useModel3dScene, H as useMorphTransitionOverlay, p as useMultiSelectOps, l as usePasswordProtection, t as usePresentationAnnotations, I as usePresentationModeWiring, ha as usePrint, Os as useRehearseTimings, Ts as useRendering3DFlags, cs as useRibbonActions, Ka as useRibbonProps, xa as useRibbonUiState, Ea as useSectionOperations, Ha as useSelectionPaneWiring, B as useSheetDismissDrag, Ya as useSignatureWorkflow, Pa as useSignatures, da as useSlideMutations, Oa as useSlideOperations, js as useSlideShowSettings, Ba as useSlideTemplateInsertion, gs as useSmartArtEditing, Ta as useSmartArtFocus, es as useSmartArtHoverRect, ms as useSmartArtInlineEditState, va as useSmartArtNodeEditContext, os as useTableCellEditingContext, fs as useTableCellSelection, Ua as useThemeEditing, k as useToolbarAutoHide, z as useToolbarVisibility, F as useTouchGestures, ya as useVersionHistory, rs as useVersionHistoryWiring, ys as useViewerSettingsDialog };
Binary file
Binary file
@@ -34,7 +34,7 @@
34
34
  }
35
35
 
36
36
 
37
- .pptx-vue-chart-svg[data-v-bf84f22c] {
37
+ .pptx-vue-chart-svg[data-v-a1c14efc] {
38
38
  width: 100%;
39
39
  height: 100%;
40
40
  display: block;
@@ -518,11 +518,11 @@
518
518
  }
519
519
 
520
520
 
521
- .pptx-vue-table[data-v-bec38e0b] {
521
+ .pptx-vue-table[data-v-199d4c2f] {
522
522
  overflow: hidden;
523
523
  }
524
524
 
525
- .pptx-vue-table__grid[data-v-bec38e0b] {
525
+ .pptx-vue-table__grid[data-v-199d4c2f] {
526
526
  width: 100%;
527
527
  height: 100%;
528
528
  border-collapse: collapse;
@@ -531,7 +531,7 @@
531
531
 
532
532
 
533
533
  /* No border of its own: a side the deck gives no border renders with none, as PowerPoint does. */
534
- .pptx-vue-table__cell[data-v-bec38e0b] {
534
+ .pptx-vue-table__cell[data-v-199d4c2f] {
535
535
  position: relative;
536
536
  padding: 1px 4px;
537
537
  vertical-align: top;
@@ -540,24 +540,24 @@
540
540
  overflow-wrap: break-word;
541
541
  }
542
542
 
543
- .pptx-vue-table__cell--editable[data-v-bec38e0b] {
543
+ .pptx-vue-table__cell--editable[data-v-199d4c2f] {
544
544
  cursor: cell;
545
545
  /* A faint grid while editing, so cells of a borderless table can still be found. */
546
546
  border: 1px solid rgba(255, 255, 255, 0.3);
547
547
  }
548
548
 
549
- .pptx-vue-table__cell--selected[data-v-bec38e0b] {
549
+ .pptx-vue-table__cell--selected[data-v-199d4c2f] {
550
550
  outline: 2px solid rgb(59 130 246);
551
551
  outline-offset: -2px;
552
552
  }
553
553
 
554
- .pptx-vue-table__cell--in-selection[data-v-bec38e0b] {
554
+ .pptx-vue-table__cell--in-selection[data-v-199d4c2f] {
555
555
  background-color: rgba(59, 130, 246, 0.15);
556
556
  outline: 1px solid rgba(96, 165, 250, 0.5);
557
557
  outline-offset: -1px;
558
558
  }
559
559
 
560
- .pptx-vue-table__diag[data-v-bec38e0b] {
560
+ .pptx-vue-table__diag[data-v-199d4c2f] {
561
561
  position: absolute;
562
562
  inset: 0;
563
563
  width: 100%;
@@ -566,20 +566,20 @@
566
566
  overflow: visible;
567
567
  }
568
568
 
569
- .pptx-vue-table__text[data-v-bec38e0b] {
569
+ .pptx-vue-table__text[data-v-199d4c2f] {
570
570
  position: relative;
571
571
  }
572
572
 
573
- .pptx-vue-table__run[data-v-bec38e0b] {
573
+ .pptx-vue-table__run[data-v-199d4c2f] {
574
574
  position: relative;
575
575
  }
576
576
 
577
- .pptx-vue-table__para-break[data-v-bec38e0b] {
577
+ .pptx-vue-table__para-break[data-v-199d4c2f] {
578
578
  display: block;
579
579
  height: 0;
580
580
  }
581
581
 
582
- .pptx-vue-table__cell-input[data-v-bec38e0b] {
582
+ .pptx-vue-table__cell-input[data-v-199d4c2f] {
583
583
  width: 100%;
584
584
  margin: 0;
585
585
  padding: 0;
Binary file
Binary file