pptx-vue-viewer 3.21.0 → 4.1.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.
- package/CHANGELOG.md +19 -0
- package/README.md +8 -0
- package/dist/{AiChatPanel-C3SFixYS.cjs → AiChatPanel-C9eK71Og.cjs} +1 -1
- package/dist/AiChatPanel-C9eK71Og.cjs.br +0 -0
- package/dist/AiChatPanel-C9eK71Og.cjs.gz +0 -0
- package/dist/{AiChatPanel-YRXQsZFL.js → AiChatPanel-JedADygv.js} +2 -2
- package/dist/AiChatPanel-JedADygv.js.br +0 -0
- package/dist/AiChatPanel-JedADygv.js.gz +0 -0
- package/dist/canvas_emf-converter-CXU7lu1I.cjs +1 -0
- package/dist/canvas_emf-converter-CXU7lu1I.cjs.br +0 -0
- package/dist/canvas_emf-converter-CXU7lu1I.cjs.gz +0 -0
- package/dist/canvas_emf-converter-HimA9Y3J.js +3 -0
- package/dist/canvas_emf-converter-HimA9Y3J.js.br +0 -0
- package/dist/canvas_emf-converter-HimA9Y3J.js.gz +0 -0
- package/dist/{dist-Bg15Buin.cjs → dist-Br8KDhMp.cjs} +18542 -18480
- package/dist/dist-Br8KDhMp.cjs.br +0 -0
- package/dist/dist-Br8KDhMp.cjs.gz +0 -0
- package/dist/{dist-Ceczn6iD.js → dist-DSVV_5rB.js} +18328 -18266
- package/dist/dist-DSVV_5rB.js.br +0 -0
- package/dist/dist-DSVV_5rB.js.gz +0 -0
- package/dist/gif-encoder-CICb6ayU.cjs +2 -0
- package/dist/gif-encoder-CICb6ayU.cjs.br +0 -0
- package/dist/gif-encoder-CICb6ayU.cjs.gz +0 -0
- package/dist/gif-encoder-D7z5XpDB.js +2 -0
- package/dist/gif-encoder-D7z5XpDB.js.br +0 -0
- package/dist/gif-encoder-D7z5XpDB.js.gz +0 -0
- package/dist/i18n/de.cjs +2 -0
- package/dist/i18n/de.cjs.br +0 -0
- package/dist/i18n/de.cjs.gz +0 -0
- package/dist/i18n/de.mjs +2 -0
- package/dist/i18n/de.mjs.br +0 -0
- package/dist/i18n/de.mjs.gz +0 -0
- package/dist/i18n/es.cjs +2 -0
- package/dist/i18n/es.cjs.br +0 -0
- package/dist/i18n/es.cjs.gz +0 -0
- package/dist/i18n/es.mjs +2 -0
- package/dist/i18n/es.mjs.br +0 -0
- package/dist/i18n/es.mjs.gz +0 -0
- package/dist/i18n/fr.cjs +2 -0
- package/dist/i18n/fr.cjs.br +0 -0
- package/dist/i18n/fr.cjs.gz +0 -0
- package/dist/i18n/fr.mjs +2 -0
- package/dist/i18n/fr.mjs.br +0 -0
- package/dist/i18n/fr.mjs.gz +0 -0
- package/dist/i18n/zh-CN.cjs +2 -0
- package/dist/i18n/zh-CN.cjs.br +0 -0
- package/dist/i18n/zh-CN.cjs.gz +0 -0
- package/dist/i18n/zh-CN.mjs +2 -0
- package/dist/i18n/zh-CN.mjs.br +0 -0
- package/dist/i18n/zh-CN.mjs.gz +0 -0
- package/dist/{i18n-BMYGC7RW.cjs → i18n-BUjfZOiM.cjs} +2 -0
- package/dist/i18n-BUjfZOiM.cjs.br +0 -0
- package/dist/i18n-BUjfZOiM.cjs.gz +0 -0
- package/dist/{i18n-CRTWC-4k.js → i18n-cTdK-NvK.js} +2 -0
- package/dist/i18n-cTdK-NvK.js.br +0 -0
- package/dist/i18n-cTdK-NvK.js.gz +0 -0
- package/dist/i18n.cjs +1 -1
- package/dist/i18n.cjs.br +0 -0
- package/dist/i18n.cjs.gz +0 -0
- package/dist/i18n.js +1 -1
- package/dist/i18n.js.br +0 -0
- package/dist/i18n.js.gz +0 -0
- package/dist/index.cjs +2 -2
- package/dist/index.cjs.br +0 -0
- package/dist/index.cjs.gz +0 -0
- package/dist/index.d.ts +137 -3
- package/dist/index.js +3 -3
- package/dist/index.js.br +0 -0
- package/dist/index.js.gz +0 -0
- package/dist/internals.cjs +1 -1
- package/dist/internals.cjs.br +0 -0
- package/dist/internals.cjs.gz +0 -0
- package/dist/internals.d.ts +115 -0
- package/dist/internals.js +2 -2
- package/dist/internals.js.br +0 -0
- package/dist/internals.js.gz +0 -0
- package/dist/pptx-vue-viewer.css +4 -4
- package/dist/pptx-vue-viewer.css.br +0 -0
- package/dist/pptx-vue-viewer.css.gz +0 -0
- package/dist/smartart-3d-DNJZ9ZbV.js +278 -0
- package/dist/smartart-3d-DNJZ9ZbV.js.br +0 -0
- package/dist/smartart-3d-DNJZ9ZbV.js.gz +0 -0
- package/dist/smartart-3d-Dm0vCBX4.cjs +276 -0
- package/dist/smartart-3d-Dm0vCBX4.cjs.br +0 -0
- package/dist/smartart-3d-Dm0vCBX4.cjs.gz +0 -0
- package/dist/{useViewerSettingsDialog-DC5oTNB9.js → useViewerSettingsDialog-Cgs5nn6a.js} +8520 -7542
- package/dist/useViewerSettingsDialog-Cgs5nn6a.js.br +0 -0
- package/dist/useViewerSettingsDialog-Cgs5nn6a.js.gz +0 -0
- package/dist/{useViewerSettingsDialog-0H_Y-M2X.cjs → useViewerSettingsDialog-w5_IIp3-.cjs} +10052 -9053
- package/dist/useViewerSettingsDialog-w5_IIp3-.cjs.br +0 -0
- package/dist/useViewerSettingsDialog-w5_IIp3-.cjs.gz +0 -0
- package/dist/viewer/index.cjs +2 -2
- package/dist/viewer/index.cjs.br +0 -0
- package/dist/viewer/index.cjs.gz +0 -0
- package/dist/viewer/index.d.ts +735 -20
- package/dist/viewer/index.js +3 -3
- package/dist/viewer/index.js.br +0 -0
- package/dist/viewer/index.js.gz +0 -0
- package/dist/{viewer-DD0gCFhg.js → viewer-Bj84aywU.js} +10492 -10433
- package/dist/viewer-Bj84aywU.js.br +0 -0
- package/dist/viewer-Bj84aywU.js.gz +0 -0
- package/dist/{viewer-DfAhm6nQ.cjs → viewer-DW4Hra5s.cjs} +716 -647
- package/dist/viewer-DW4Hra5s.cjs.br +0 -0
- package/dist/viewer-DW4Hra5s.cjs.gz +0 -0
- package/package.json +2 -2
- package/dist/AiChatPanel-C3SFixYS.cjs.br +0 -0
- package/dist/AiChatPanel-C3SFixYS.cjs.gz +0 -0
- package/dist/AiChatPanel-YRXQsZFL.js.br +0 -0
- package/dist/AiChatPanel-YRXQsZFL.js.gz +0 -0
- package/dist/dist-Bg15Buin.cjs.br +0 -0
- package/dist/dist-Bg15Buin.cjs.gz +0 -0
- package/dist/dist-Ceczn6iD.js.br +0 -0
- package/dist/dist-Ceczn6iD.js.gz +0 -0
- package/dist/gif-encoder-B-tt5tMj.js +0 -2
- package/dist/gif-encoder-B-tt5tMj.js.br +0 -3
- package/dist/gif-encoder-B-tt5tMj.js.gz +0 -0
- package/dist/gif-encoder-BsQ4Gn3G.cjs +0 -2
- package/dist/gif-encoder-BsQ4Gn3G.cjs.br +0 -0
- package/dist/gif-encoder-BsQ4Gn3G.cjs.gz +0 -0
- package/dist/i18n-BMYGC7RW.cjs.br +0 -0
- package/dist/i18n-BMYGC7RW.cjs.gz +0 -0
- package/dist/i18n-CRTWC-4k.js.br +0 -0
- package/dist/i18n-CRTWC-4k.js.gz +0 -0
- package/dist/smartart-3d-DbBWzji8.cjs +0 -203
- package/dist/smartart-3d-DbBWzji8.cjs.br +0 -0
- package/dist/smartart-3d-DbBWzji8.cjs.gz +0 -0
- package/dist/smartart-3d-m84Wdu08.js +0 -205
- package/dist/smartart-3d-m84Wdu08.js.br +0 -0
- package/dist/smartart-3d-m84Wdu08.js.gz +0 -0
- package/dist/useViewerSettingsDialog-0H_Y-M2X.cjs.br +0 -0
- package/dist/useViewerSettingsDialog-0H_Y-M2X.cjs.gz +0 -0
- package/dist/useViewerSettingsDialog-DC5oTNB9.js.br +0 -0
- package/dist/useViewerSettingsDialog-DC5oTNB9.js.gz +0 -0
- package/dist/viewer-DD0gCFhg.js.br +0 -0
- package/dist/viewer-DD0gCFhg.js.gz +0 -0
- package/dist/viewer-DfAhm6nQ.cjs.br +0 -0
- package/dist/viewer-DfAhm6nQ.cjs.gz +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,25 @@ 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.0.0](https://github.com/ChristopherVR/pptx-viewer/releases/tag/pptx-vue-viewer@4.0.0) - 2026-09-18
|
|
11
|
+
|
|
12
|
+
### Bug Fixes
|
|
13
|
+
|
|
14
|
+
- **core:** Switch to emf-converter's unified convertMetafileToDataUrl (by @ChristopherVR) ([70a2ea5](https://github.com/ChristopherVR/pptx-viewer/commit/70a2ea5059af31627dfa1f0a7ebe5e12219804bb))
|
|
15
|
+
|
|
16
|
+
## [3.21.0](https://github.com/ChristopherVR/pptx-viewer/releases/tag/pptx-vue-viewer@3.21.0) - 2026-09-17
|
|
17
|
+
|
|
18
|
+
### Features
|
|
19
|
+
|
|
20
|
+
- **shared:** Support host-owned collaboration sessions (by @Sudhansh6) ([cd44eb3](https://github.com/ChristopherVR/pptx-viewer/commit/cd44eb3e79ff6d23e9b92d6f9b0a4eb4ea4f228e))
|
|
21
|
+
- **vue:** Borrow host collaboration resources (by @Sudhansh6) ([dd3da37](https://github.com/ChristopherVR/pptx-viewer/commit/dd3da37e075383148806576ffaf6aec764696052))
|
|
22
|
+
|
|
23
|
+
### Bug Fixes
|
|
24
|
+
|
|
25
|
+
- **shared:** Preserve consecutive collaborative text breaks (by @Sudhansh6) ([10d1667](https://github.com/ChristopherVR/pptx-viewer/commit/10d1667b3b41cf650985324b2accf7b006bf53c1))
|
|
26
|
+
- **shared:** Unify host session readiness and writeback (by @Sudhansh6) ([4635d01](https://github.com/ChristopherVR/pptx-viewer/commit/4635d01dd9f0d6cd48cfbd3f1ad9968acfd02906))
|
|
27
|
+
- **vue:** Share host readiness and retire paused text edits (by @Sudhansh6) ([d350c60](https://github.com/ChristopherVR/pptx-viewer/commit/d350c609ed3efac87c2f68ae836b6e869e6954be))
|
|
28
|
+
|
|
10
29
|
## [3.20.1](https://github.com/ChristopherVR/pptx-viewer/releases/tag/pptx-vue-viewer@3.20.1) - 2026-09-17
|
|
11
30
|
|
|
12
31
|
### Bug Fixes
|
package/README.md
CHANGED
|
@@ -266,6 +266,14 @@ for the `addElement` contract and a core-factory example.
|
|
|
266
266
|
|
|
267
267
|
### Composing a custom viewer shell
|
|
268
268
|
|
|
269
|
+
For host-owned collaboration, `useCollaboration` accepts a reactive `collaboration`
|
|
270
|
+
getter or shallow ref and exposes `shellState`: effective `canEdit`, connection
|
|
271
|
+
status, sanitized remote users and connected count. Use it for both custom controls
|
|
272
|
+
and their edit handlers. The public `/viewer` entry also exports `InlineTextEditor`
|
|
273
|
+
and `useInlineEditing` for reusing the native inline editing behavior.
|
|
274
|
+
See the [custom-shell collaboration guide](https://christophervr.github.io/pptx-viewer/vue/collaboration#custom-host-chrome)
|
|
275
|
+
and `demos/demo-vue/src/HostOwnedHeadlessEditor.vue` for complete wiring.
|
|
276
|
+
|
|
269
277
|
`<PowerPointViewer>` bundles the slide canvas, ribbon, inspector, and every
|
|
270
278
|
dialog into one component. If you only want a subset, for example your own
|
|
271
279
|
chrome around just the ribbon and the slide canvas, import the pieces
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const e = require("./useViewerSettingsDialog-
|
|
1
|
+
const e = require("./useViewerSettingsDialog-w5_IIp3-.cjs"), t = require("./viewer-DW4Hra5s.cjs");
|
|
2
2
|
let r = require("vue"), a = require("lucide-vue-next"), n = require("ai");
|
|
3
3
|
var o = /* @__PURE__ */ new Set([
|
|
4
4
|
"input-available",
|
|
Binary file
|
|
Binary file
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Zn as e } from "./useViewerSettingsDialog-
|
|
2
|
-
import { S as t, T as a, _ as s, b as r, d as l, f as o, g as n, h as i, m as p, o as d, p as c, u, v as m, x, y as g } from "./viewer-
|
|
1
|
+
import { Zn as e } from "./useViewerSettingsDialog-Cgs5nn6a.js";
|
|
2
|
+
import { S as t, T as a, _ as s, b as r, d as l, f as o, g as n, h as i, m as p, o as d, p as c, u, v as m, x, y as g } from "./viewer-Bj84aywU.js";
|
|
3
3
|
import { Fragment as f, Suspense as b, computed as v, createBlock as h, createCommentVNode as y, createElementBlock as k, createElementVNode as w, createTextVNode as C, createVNode as P, defineComponent as S, nextTick as T, normalizeClass as I, normalizeStyle as j, onBeforeUnmount as _, onMounted as A, openBlock as E, ref as M, renderList as F, resolveDynamicComponent as B, shallowRef as D, toDisplayString as N, unref as L, vModelText as R, watch as H, withAsyncContext as W, withCtx as z, withDirectives as V } from "vue";
|
|
4
4
|
import { Bot as K, ChartColumn as O, Check as U, Crosshair as Z, Eye as $, Film as q, GitMerge as G, History as J, LayoutTemplate as Q, LoaderCircle as X, MessageSquare as Y, MessageSquarePlus as ee, Move as te, Navigation as ae, Palette as se, Pin as re, PinOff as le, Plus as oe, Search as ne, Send as ie, Shapes as pe, Sparkles as de, Square as ce, StickyNote as ue, Table as me, Trash2 as xe, TriangleAlert as ge, Type as fe, User as be, Wrench as ve, X as he } from "lucide-vue-next";
|
|
5
5
|
import { getToolOrDynamicToolName as ye, isDynamicToolUIPart as ke, isToolUIPart as we } from "ai";
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
throw new Error("Could not resolve \"@napi-rs/canvas\" imported by \"emf-converter\". Is it installed?");
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|