pptx-vue-viewer 4.5.0 → 4.7.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 (119) hide show
  1. package/CHANGELOG.md +61 -0
  2. package/README.md +27 -26
  3. package/dist/{AiChatPanel-D0CdZo3r.cjs → AiChatPanel-CjeectIh.cjs} +1 -1
  4. package/dist/AiChatPanel-CjeectIh.cjs.br +0 -0
  5. package/dist/AiChatPanel-CjeectIh.cjs.gz +0 -0
  6. package/dist/{AiChatPanel-C3ESiOhR.js → AiChatPanel-nw5FhCkO.js} +2 -2
  7. package/dist/AiChatPanel-nw5FhCkO.js.br +0 -0
  8. package/dist/AiChatPanel-nw5FhCkO.js.gz +0 -0
  9. package/dist/{dist-AmYzTQzk.js → dist-BzoXRMsu.js} +15365 -14489
  10. package/dist/dist-BzoXRMsu.js.br +0 -0
  11. package/dist/dist-BzoXRMsu.js.gz +0 -0
  12. package/dist/{dist-Bo-J1QzM.cjs → dist-DSBD42Mj.cjs} +15153 -14272
  13. package/dist/dist-DSBD42Mj.cjs.br +0 -0
  14. package/dist/dist-DSBD42Mj.cjs.gz +0 -0
  15. package/dist/gif-encoder-B5v2aNVB.cjs +2 -0
  16. package/dist/gif-encoder-B5v2aNVB.cjs.br +0 -0
  17. package/dist/gif-encoder-B5v2aNVB.cjs.gz +0 -0
  18. package/dist/gif-encoder-CFL99kww.js +2 -0
  19. package/dist/gif-encoder-CFL99kww.js.br +0 -0
  20. package/dist/gif-encoder-CFL99kww.js.gz +0 -0
  21. package/dist/i18n/de.cjs +71 -21
  22. package/dist/i18n/de.cjs.br +0 -0
  23. package/dist/i18n/de.cjs.gz +0 -0
  24. package/dist/i18n/de.mjs +71 -21
  25. package/dist/i18n/de.mjs.br +0 -0
  26. package/dist/i18n/de.mjs.gz +0 -0
  27. package/dist/i18n/es.cjs +71 -21
  28. package/dist/i18n/es.cjs.br +0 -0
  29. package/dist/i18n/es.cjs.gz +0 -0
  30. package/dist/i18n/es.mjs +71 -21
  31. package/dist/i18n/es.mjs.br +0 -0
  32. package/dist/i18n/es.mjs.gz +0 -0
  33. package/dist/i18n/fr.cjs +71 -21
  34. package/dist/i18n/fr.cjs.br +0 -0
  35. package/dist/i18n/fr.cjs.gz +0 -0
  36. package/dist/i18n/fr.mjs +71 -21
  37. package/dist/i18n/fr.mjs.br +0 -0
  38. package/dist/i18n/fr.mjs.gz +0 -0
  39. package/dist/i18n/zh-CN.cjs +49 -4
  40. package/dist/i18n/zh-CN.cjs.br +0 -0
  41. package/dist/i18n/zh-CN.cjs.gz +0 -0
  42. package/dist/i18n/zh-CN.mjs +49 -4
  43. package/dist/i18n/zh-CN.mjs.br +0 -0
  44. package/dist/i18n/zh-CN.mjs.gz +0 -0
  45. package/dist/{i18n-DPsrnKK_.cjs → i18n-B2X80p7Z.cjs} +45 -0
  46. package/dist/i18n-B2X80p7Z.cjs.br +0 -0
  47. package/dist/i18n-B2X80p7Z.cjs.gz +0 -0
  48. package/dist/{i18n-CDuAZ9uT.js → i18n-JivFMMF1.js} +45 -0
  49. package/dist/i18n-JivFMMF1.js.br +0 -0
  50. package/dist/i18n-JivFMMF1.js.gz +0 -0
  51. package/dist/i18n.cjs +1 -1
  52. package/dist/i18n.cjs.br +0 -0
  53. package/dist/i18n.cjs.gz +0 -0
  54. package/dist/i18n.js +1 -1
  55. package/dist/i18n.js.br +1 -1
  56. package/dist/i18n.js.gz +0 -0
  57. package/dist/index.cjs +2 -2
  58. package/dist/index.cjs.br +0 -0
  59. package/dist/index.cjs.gz +0 -0
  60. package/dist/index.d.ts +619 -12
  61. package/dist/index.js +3 -3
  62. package/dist/index.js.br +0 -0
  63. package/dist/index.js.gz +0 -0
  64. package/dist/internals.cjs +1 -1
  65. package/dist/internals.cjs.br +0 -0
  66. package/dist/internals.cjs.gz +0 -0
  67. package/dist/internals.d.ts +346 -12
  68. package/dist/internals.js +2 -2
  69. package/dist/internals.js.br +0 -0
  70. package/dist/internals.js.gz +0 -0
  71. package/dist/pptx-vue-viewer.css +8 -8
  72. package/dist/pptx-vue-viewer.css.br +0 -0
  73. package/dist/pptx-vue-viewer.css.gz +0 -0
  74. package/dist/{useViewerSettingsDialog-DG9s22Hd.cjs → useViewerSettingsDialog-B0sMNC6m.cjs} +13905 -10390
  75. package/dist/useViewerSettingsDialog-B0sMNC6m.cjs.br +0 -0
  76. package/dist/useViewerSettingsDialog-B0sMNC6m.cjs.gz +0 -0
  77. package/dist/{useViewerSettingsDialog-D3fF9v6l.js → useViewerSettingsDialog-CQ0S78jY.js} +14343 -11182
  78. package/dist/useViewerSettingsDialog-CQ0S78jY.js.br +0 -0
  79. package/dist/useViewerSettingsDialog-CQ0S78jY.js.gz +0 -0
  80. package/dist/viewer/index.cjs +1 -1
  81. package/dist/viewer/index.cjs.br +0 -0
  82. package/dist/viewer/index.cjs.gz +0 -0
  83. package/dist/viewer/index.d.ts +536 -12
  84. package/dist/viewer/index.js +3 -3
  85. package/dist/viewer/index.js.br +0 -0
  86. package/dist/viewer/index.js.gz +0 -0
  87. package/dist/{viewer-BrnxTiWa.cjs → viewer-EICU_xgv.cjs} +9158 -8180
  88. package/dist/viewer-EICU_xgv.cjs.br +0 -0
  89. package/dist/viewer-EICU_xgv.cjs.gz +0 -0
  90. package/dist/{viewer-DK5UNDHj.js → viewer-tPQ28_FX.js} +12534 -11556
  91. package/dist/viewer-tPQ28_FX.js.br +0 -0
  92. package/dist/viewer-tPQ28_FX.js.gz +0 -0
  93. package/package.json +1 -1
  94. package/dist/AiChatPanel-C3ESiOhR.js.br +0 -0
  95. package/dist/AiChatPanel-C3ESiOhR.js.gz +0 -0
  96. package/dist/AiChatPanel-D0CdZo3r.cjs.br +0 -0
  97. package/dist/AiChatPanel-D0CdZo3r.cjs.gz +0 -0
  98. package/dist/dist-AmYzTQzk.js.br +0 -0
  99. package/dist/dist-AmYzTQzk.js.gz +0 -0
  100. package/dist/dist-Bo-J1QzM.cjs.br +0 -0
  101. package/dist/dist-Bo-J1QzM.cjs.gz +0 -0
  102. package/dist/gif-encoder-BvGs54nm.cjs +0 -2
  103. package/dist/gif-encoder-BvGs54nm.cjs.br +0 -0
  104. package/dist/gif-encoder-BvGs54nm.cjs.gz +0 -0
  105. package/dist/gif-encoder-CtHMXqIj.js +0 -2
  106. package/dist/gif-encoder-CtHMXqIj.js.br +0 -0
  107. package/dist/gif-encoder-CtHMXqIj.js.gz +0 -0
  108. package/dist/i18n-CDuAZ9uT.js.br +0 -0
  109. package/dist/i18n-CDuAZ9uT.js.gz +0 -0
  110. package/dist/i18n-DPsrnKK_.cjs.br +0 -0
  111. package/dist/i18n-DPsrnKK_.cjs.gz +0 -0
  112. package/dist/useViewerSettingsDialog-D3fF9v6l.js.br +0 -0
  113. package/dist/useViewerSettingsDialog-D3fF9v6l.js.gz +0 -0
  114. package/dist/useViewerSettingsDialog-DG9s22Hd.cjs.br +0 -0
  115. package/dist/useViewerSettingsDialog-DG9s22Hd.cjs.gz +0 -0
  116. package/dist/viewer-BrnxTiWa.cjs.br +0 -0
  117. package/dist/viewer-BrnxTiWa.cjs.gz +0 -0
  118. package/dist/viewer-DK5UNDHj.js.br +0 -0
  119. package/dist/viewer-DK5UNDHj.js.gz +0 -0
package/CHANGELOG.md CHANGED
@@ -7,6 +7,67 @@ 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
+ ## [4.6.0](https://github.com/ChristopherVR/pptx-viewer/releases/tag/pptx-vue-viewer@4.6.0) - 2026-09-25
11
+
12
+ ### Features
13
+
14
+ - **shared:** Add a framework-neutral ui customization model (by @ChristopherVR) ([7e67dbd](https://github.com/ChristopherVR/pptx-viewer/commit/7e67dbdd859aef4a71c697c0ee5f607ce8cdc731))
15
+ - **vue:** Expose the ui customization model (by @ChristopherVR) ([cc378da](https://github.com/ChristopherVR/pptx-viewer/commit/cc378da614f0798403bc329cd2dbc4b342150aea))
16
+
17
+ ### Bug Fixes
18
+
19
+ - **vue,angular,svelte:** Keep rotation and opacity on chart text labels (by @ChristopherVR) ([174039d](https://github.com/ChristopherVR/pptx-viewer/commit/174039d91b3de3ee9d1ce229c1dd4abec0ae9771))
20
+ - **shared,react,vue,angular,svelte,vanilla:** Leave Tab on chrome controls to focus navigation (by @ChristopherVR) ([6561c8d](https://github.com/ChristopherVR/pptx-viewer/commit/6561c8dd0ecf506b6e97cf1991616e40a2204e41))
21
+ - **shared,vue,angular,svelte,vanilla:** Target the canvas node, not a thumbnail's (by @ChristopherVR) ([84df4fa](https://github.com/ChristopherVR/pptx-viewer/commit/84df4fafa2f8a04669b9f527af3e6ec9142cdfc0))
22
+
23
+ ### Testing
24
+
25
+ - **shared:** Compare the customization reference ignoring table padding (by @ChristopherVR) ([8695b36](https://github.com/ChristopherVR/pptx-viewer/commit/8695b362ab25a3a35a9683a67ed9bce30afc40b2))
26
+
27
+ ## [4.5.0](https://github.com/ChristopherVR/pptx-viewer/releases/tag/pptx-vue-viewer@4.5.0) - 2026-09-24
28
+
29
+ ### Features
30
+
31
+ - **shared,react,vue,angular,svelte,vanilla:** Empty-canvas context menu (by @ChristopherVR) ([15b9a88](https://github.com/ChristopherVR/pptx-viewer/commit/15b9a88356ef91fda565d65ee107249d32aeb0b8))
32
+ - **shared,react,vue,angular,svelte,vanilla:** Slides pane multi-select + thumbnail menu (by @ChristopherVR) ([4078a33](https://github.com/ChristopherVR/pptx-viewer/commit/4078a33160a1edbabdf37ac7f3163bad37898752))
33
+ - **shared,react,vue,angular,svelte,vanilla:** Real in-place ribbon animation preview (by @ChristopherVR) ([9b98bac](https://github.com/ChristopherVR/pptx-viewer/commit/9b98bac62f90c02c78afe0fa2989ab57dc9e7928))
34
+
35
+ ### Bug Fixes
36
+
37
+ - **core:** Stop materializing mc:Ignorable for self-declaring a16 elements (by @ChristopherVR) ([0e9a23a](https://github.com/ChristopherVR/pptx-viewer/commit/0e9a23a9bca70c60974babd4c64abe11c9a2b0e9))
38
+ - **core:** Stop materializing empty a:pPr / a:endParaRPr on real paragraphs (by @ChristopherVR) ([d50a8b6](https://github.com/ChristopherVR/pptx-viewer/commit/d50a8b65ab63bacc10d39eac489899297989e265))
39
+ - **core:** Stop materializing a:rPr@dirty / @smtClean on runs that never authored them (by @ChristopherVR) ([d14f95d](https://github.com/ChristopherVR/pptx-viewer/commit/d14f95d9c56663ecd189f511fbc27ec3210df283))
40
+ - **core:** Stop materializing a:t@xml:space and leaked font @panose (by @ChristopherVR) ([2ce4d43](https://github.com/ChristopherVR/pptx-viewer/commit/2ce4d433a9d7b896b546ad44b6216f416561c0f0))
41
+ - **core:** Stop dropping authored schema-default line/gradient/transition values (by @ChristopherVR) ([374ba48](https://github.com/ChristopherVR/pptx-viewer/commit/374ba4818babfbe72b5ce600b187ccb32a0e3444))
42
+ - **core:** Stop dropping connector arrow-end/dash and ink fallback content (by @ChristopherVR) ([de2a0d1](https://github.com/ChristopherVR/pptx-viewer/commit/de2a0d12054d9007299b445853743fa177322c7f))
43
+ - **core:** Resolve font @panose/@pitchFamily/@charset from the run's own scope (by @ChristopherVR) ([751d9fb](https://github.com/ChristopherVR/pptx-viewer/commit/751d9fbe237f66dd23a7c6b376ef7e6088d98dd6))
44
+ - **core:** Match typeface before trusting the baseline font metadata (by @ChristopherVR) ([7c5f915](https://github.com/ChristopherVR/pptx-viewer/commit/7c5f9151a60fb03d6ae411b4678e51e79364afb8))
45
+ - **core:** Port pyraAcctRatio accent-column split into alg-pyra (by @ChristopherVR) ([08792ef](https://github.com/ChristopherVR/pptx-viewer/commit/08792ef0c9c896d752286ba889a730035e3defda))
46
+ - **core:** Resolve sibTrans transition-point labels in the smartart engine (by @ChristopherVR) ([7a353f0](https://github.com/ChristopherVR/pptx-viewer/commit/7a353f02193766a628496d0ced053cd0d16a4149))
47
+ - **core:** Stop declining SmartArt diagrams over zero-area shapes; port hierRoot/hierChild (by @ChristopherVR) ([2dae123](https://github.com/ChristopherVR/pptx-viewer/commit/2dae123426c79a484a5cc7b37a608898d2080034))
48
+ - **core,shared:** Render surface charts as PowerPoint's four surface types (by @ChristopherVR) ([4a0232b](https://github.com/ChristopherVR/pptx-viewer/commit/4a0232bb0e5dd19490731f31f30c73f3d97e898f))
49
+ - **shared:** Group box-whisker boxes by repeated category, not by series (by @ChristopherVR) ([076ba4c](https://github.com/ChristopherVR/pptx-viewer/commit/076ba4c3ac2ec269ca42a11ec27034df1c3068a4))
50
+ - **core,shared:** Aggregate Pareto bars by category, not by value bin (by @ChristopherVR) ([67ec333](https://github.com/ChristopherVR/pptx-viewer/commit/67ec333a0c32af900213c591a980107c8d8b2e1f))
51
+ - **shared:** Bin histograms with Scott's rule, paint bars one colour (by @ChristopherVR) ([4bae8f0](https://github.com/ChristopherVR/pptx-viewer/commit/4bae8f06d0c54a3e9a46ed3446e17c7a433c761d))
52
+ - **shared:** Draw funnel bars flat and single-coloured, not tapered (by @ChristopherVR) ([82b349a](https://github.com/ChristopherVR/pptx-viewer/commit/82b349a4bc098f9cb13788375c84ebe6cd7cf272))
53
+ - **shared:** Squarify treemap layout, colour by branch, sunburst labels (by @ChristopherVR) ([2b34646](https://github.com/ChristopherVR/pptx-viewer/commit/2b34646ae16a80af25c618a2c747990e47bf208a))
54
+ - **core:** Honor dgm:layoutNode moveWith to stop numbered-list phantom shapes (by @ChristopherVR) ([2c247e9](https://github.com/ChristopherVR/pptx-viewer/commit/2c247e9a96b5356b1e2a88abcdbf503e238ff689))
55
+ - **core:** Stop fabricating a:rPr lang on runs that authored none (by @ChristopherVR) ([ad495de](https://github.com/ChristopherVR/pptx-viewer/commit/ad495ded1cc98e2962f151cadb0e05bb998c71b1))
56
+ - **core:** Preserve text run inner-shadow preset/theme colour choice (by @ChristopherVR) ([6a48785](https://github.com/ChristopherVR/pptx-viewer/commit/6a48785ac9f140d6a85e6dfc9365d122ed2684c0))
57
+ - **core:** Stop padding partial gradFill fillToRect/tileRect with zeros (by @ChristopherVR) ([2dc54d2](https://github.com/ChristopherVR/pptx-viewer/commit/2dc54d2115258091d0f930d4b573a659af6f68b0))
58
+ - **core:** Stop dropping a tiny but authored blipFill a:srcRect crop (by @ChristopherVR) ([3753725](https://github.com/ChristopherVR/pptx-viewer/commit/37537258e2452f5b83d3d5cf27372946e69c0f53))
59
+ - **shared,react:** Round normAutofit fontScale to a whole point (by @ChristopherVR) ([cda09e4](https://github.com/ChristopherVR/pptx-viewer/commit/cda09e4eb35619701663fbfcb81892ef23ee377c))
60
+ - **shared,core:** Fix text reflection mirror, inner shadow, glow, soft edge (by @ChristopherVR) ([1796d14](https://github.com/ChristopherVR/pptx-viewer/commit/1796d14015e6d1a1db2221bcfc90bf446536a453))
61
+ - **core,shared,react:** Size inline equations from their own paragraph; assert anchorCtr on painted text (by @ChristopherVR) ([16ecb59](https://github.com/ChristopherVR/pptx-viewer/commit/16ecb593ba301bced3d68bfb323d1040b1874904))
62
+
63
+ ### Testing
64
+
65
+ - **core:** Fix stale coverage evidence anchors after test renames (by @ChristopherVR) ([87c17c6](https://github.com/ChristopherVR/pptx-viewer/commit/87c17c664805806bbcfd90f40e74035a4cca37c9))
66
+ - **core:** Give the salt-less WHIRLPOOL verifier fixture a CI-safe timeout (by @ChristopherVR) ([560c120](https://github.com/ChristopherVR/pptx-viewer/commit/560c12079514f9b0089f6ceceecdd633fda842ea))
67
+ - **shared:** Give the salt-less modify-password check a CI-safe timeout (by @ChristopherVR) ([9ff5b84](https://github.com/ChristopherVR/pptx-viewer/commit/9ff5b84473800b77773c123a819e30c8a02d5097))
68
+ - **core:** Lock in a:blip/a:extLst vendor-extension preservation (by @ChristopherVR) ([d2fad1a](https://github.com/ChristopherVR/pptx-viewer/commit/d2fad1a5a191a7779b99101537294a571224e45a))
69
+ - **shared:** Round the normAutofit fixture in buildParagraphs coverage (by @ChristopherVR) ([a88422d](https://github.com/ChristopherVR/pptx-viewer/commit/a88422dcdf9162e72f1528eae16a16891dfb13bd))
70
+
10
71
  ## [4.4.0](https://github.com/ChristopherVR/pptx-viewer/releases/tag/pptx-vue-viewer@4.4.0) - 2026-09-24
11
72
 
12
73
  ### Features
package/README.md CHANGED
@@ -178,32 +178,33 @@ 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
- | `filePath` | `string` | n/a | Original file path, used for autosave recovery and version history. |
188
- | `fileName` | `string` | n/a | Display name of the open document, shown in the title bar. |
189
- | `fonts` | `ViewerFontSource[]` | n/a | Licensed font sources supplied by the host application. |
190
- | `autosave` | `boolean` | `true` | Enables debounced autosave (emits `@autosave` with serialised bytes). |
191
- | `autosaveIntervalMs` | `number` | File > Options cadence | Autosave debounce window in milliseconds. |
192
- | `authorName` | `string` | n/a | Author name for comments/annotations and collaboration presence. |
193
- | `collaboration` | `CollaborationConfig` | n/a | Yjs real-time collaboration config (server URL, room, role). |
194
- | `shareDefaults` | `{ roomId?, userName?, serverUrl? }` | n/a | Seed values for the Share dialog fields. |
195
- | `onOpenFile` | `() => void` | n/a | Host override for File > Open; bypasses the built-in file picker. |
196
- | `smartArt3D` | `boolean` | `false` | Opt-in Three.js 3D SmartArt renderer (needs the optional `three` peer; falls back to SVG without it). |
197
- | `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. |
198
- | `ai` | `PptxAiConfig` | n/a | Optional AI assistant configuration. The SDK peers load only when its panel is opened. |
199
- | `hiddenActions` | `ToolbarActionId[]` | n/a | Individual toolbar buttons and/or ribbon tabs to hide (e.g. `['share', 'broadcast', 'insert']`). Omit to show everything. |
200
- | `defaultThemeKey` | `string` | n/a | Initial File > Options > Appearance selection when no persisted preference exists. |
201
- | `availableThemes` | `ThemeCatalogEntry[]` | n/a | Theme choices offered by File > Options > Appearance (defaults to the built-in catalog). |
202
- | `onThemeChange` | `(key: string) => void` | n/a | Host hook for the appearance picker; when set, the host owns persisting the choice. |
203
- | `defaultLocale` | `string` | n/a | Initial locale code when no persisted preference exists. |
204
- | `availableLocales` | `LocaleCatalogEntry[]` | n/a | Locale choices offered by File > Options > Language (defaults to the host `vue-i18n` locales). |
205
- | `onLocaleChange` | `(code: string) => void` | n/a | Host hook for the language picker; when set, the host owns applying/persisting the switch. |
206
- | `accountAuth` | `AccountAuthConfig` | n/a | Optional sign-in hook point for File > Account (disabled unless `enabled: true`). |
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
+ | `filePath` | `string` | n/a | Original file path, used for autosave recovery and version history. |
188
+ | `fileName` | `string` | n/a | Display name of the open document, shown in the title bar. |
189
+ | `fonts` | `ViewerFontSource[]` | n/a | Licensed font sources supplied by the host application. |
190
+ | `autosave` | `boolean` | `true` | Enables debounced autosave (emits `@autosave` with serialised bytes). |
191
+ | `autosaveIntervalMs` | `number` | File > Options cadence | Autosave debounce window in milliseconds. |
192
+ | `authorName` | `string` | n/a | Author name for comments/annotations and collaboration presence. |
193
+ | `collaboration` | `CollaborationConfig` | n/a | Yjs real-time collaboration config (server URL, room, role). |
194
+ | `shareDefaults` | `{ roomId?, userName?, serverUrl? }` | n/a | Seed values for the Share dialog fields. |
195
+ | `onOpenFile` | `() => void` | n/a | Host override for File > Open; bypasses the built-in file picker. |
196
+ | `smartArt3D` | `boolean` | `false` | Opt-in Three.js 3D SmartArt renderer (needs the optional `three` peer; falls back to SVG without it). |
197
+ | `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. |
198
+ | `ai` | `PptxAiConfig` | n/a | Optional AI assistant configuration. The SDK peers load only when its panel is opened. |
199
+ | `hiddenActions` | `ToolbarActionId[]` | n/a | Individual toolbar buttons and/or ribbon tabs to hide (e.g. `['share', 'broadcast', 'insert']`). Omit to show everything. |
200
+ | `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/pptx-viewer/guide/customization). |
201
+ | `defaultThemeKey` | `string` | n/a | Initial File > Options > Appearance selection when no persisted preference exists. |
202
+ | `availableThemes` | `ThemeCatalogEntry[]` | n/a | Theme choices offered by File > Options > Appearance (defaults to the built-in catalog). |
203
+ | `onThemeChange` | `(key: string) => void` | n/a | Host hook for the appearance picker; when set, the host owns persisting the choice. |
204
+ | `defaultLocale` | `string` | n/a | Initial locale code when no persisted preference exists. |
205
+ | `availableLocales` | `LocaleCatalogEntry[]` | n/a | Locale choices offered by File > Options > Language (defaults to the host `vue-i18n` locales). |
206
+ | `onLocaleChange` | `(code: string) => void` | n/a | Host hook for the language picker; when set, the host owns applying/persisting the switch. |
207
+ | `accountAuth` | `AccountAuthConfig` | n/a | Optional sign-in hook point for File > Account (disabled unless `enabled: true`). |
207
208
 
208
209
  ### Events
209
210
 
@@ -1,4 +1,4 @@
1
- const e = require("./useViewerSettingsDialog-DG9s22Hd.cjs"), t = require("./viewer-BrnxTiWa.cjs");
1
+ const e = require("./useViewerSettingsDialog-B0sMNC6m.cjs"), t = require("./viewer-EICU_xgv.cjs");
2
2
  let r = require("vue"), a = require("lucide-vue-next");
3
3
  var n = { class: "border-t border-border p-2" }, o = { class: "flex items-end gap-1.5 rounded-md border border-input bg-background px-2 py-1.5 focus-within:border-ring" }, l = ["placeholder", "aria-label"], s = ["title", "aria-label"], i = [
4
4
  "disabled",
Binary file
Binary file
@@ -1,5 +1,5 @@
1
- import { qn as e } from "./useViewerSettingsDialog-D3fF9v6l.js";
2
- import { C as t, E as a, S as s, _ as r, b as l, d as o, f as n, g as i, h as p, m as d, o as c, p as u, u as m, v as x, x as g, y as f } from "./viewer-DK5UNDHj.js";
1
+ import { qn as e } from "./useViewerSettingsDialog-CQ0S78jY.js";
2
+ import { C as t, E as a, S as s, _ as r, b as l, d as o, f as n, g as i, h as p, m as d, o as c, p as u, u as m, v as x, x as g, y as f } from "./viewer-tPQ28_FX.js";
3
3
  import { Fragment as b, Suspense as v, computed as y, createBlock as h, createCommentVNode as k, createElementBlock as w, createElementVNode as C, createTextVNode as P, createVNode as S, defineComponent as T, nextTick as I, normalizeClass as j, normalizeStyle as _, onBeforeUnmount as E, onMounted as A, openBlock as M, ref as F, renderList as B, resolveDynamicComponent as D, shallowRef as N, toDisplayString as L, unref as R, vModelText as H, watch as W, withAsyncContext as z, withCtx as V, withDirectives as K } from "vue";
4
4
  import { Bot as q, ChartColumn as O, Check as U, Crosshair as $, Eye as G, Film as J, GitMerge as Q, History as X, LayoutTemplate as Y, LoaderCircle as Z, MessageSquare as ee, MessageSquarePlus as te, Move as ae, Navigation as se, Palette as re, Pin as le, PinOff as oe, Plus as ne, Search as ie, Send as pe, Shapes as de, Sparkles as ce, Square as ue, StickyNote as me, Table as xe, Trash2 as ge, TriangleAlert as fe, Type as be, User as ve, Wrench as ye, X as he } from "lucide-vue-next";
5
5
  var ke = { class: "border-t border-border p-2" }, we = { class: "flex items-end gap-1.5 rounded-md border border-input bg-background px-2 py-1.5 focus-within:border-ring" }, Ce = ["placeholder", "aria-label"], Pe = ["title", "aria-label"], Se = [
Binary file
Binary file