pptx-vue-viewer 4.43.0 → 4.45.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 (66) hide show
  1. package/CHANGELOG.md +45 -0
  2. package/dist/{AiChatPanel-BQngAoiz.js → AiChatPanel-BVnemARt.js} +2 -2
  3. package/dist/AiChatPanel-BVnemARt.js.br +0 -0
  4. package/dist/AiChatPanel-BVnemARt.js.gz +0 -0
  5. package/dist/{AiChatPanel-x_V9Af1e.cjs → AiChatPanel-Xiq2AsYX.cjs} +1 -1
  6. package/dist/AiChatPanel-Xiq2AsYX.cjs.br +0 -0
  7. package/dist/AiChatPanel-Xiq2AsYX.cjs.gz +0 -0
  8. package/dist/index.cjs +1 -1
  9. package/dist/index.cjs.br +0 -0
  10. package/dist/index.cjs.gz +0 -0
  11. package/dist/index.d.ts +16 -2
  12. package/dist/index.js +2 -2
  13. package/dist/index.js.br +0 -0
  14. package/dist/index.js.gz +0 -0
  15. package/dist/internals.cjs +1 -1
  16. package/dist/internals.cjs.br +0 -0
  17. package/dist/internals.cjs.gz +0 -0
  18. package/dist/internals.d.ts +6 -2
  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 +15 -15
  23. package/dist/pptx-vue-viewer.css.br +0 -0
  24. package/dist/pptx-vue-viewer.css.gz +0 -0
  25. package/dist/{useViewerSettingsDialog-B785wW8S.cjs → useViewerSettingsDialog-D6InSTG6.cjs} +458 -432
  26. package/dist/useViewerSettingsDialog-D6InSTG6.cjs.br +0 -0
  27. package/dist/useViewerSettingsDialog-D6InSTG6.cjs.gz +0 -0
  28. package/dist/{useViewerSettingsDialog-CJcp6Muj.js → useViewerSettingsDialog-DPG5VDMB.js} +2590 -2564
  29. package/dist/useViewerSettingsDialog-DPG5VDMB.js.br +0 -0
  30. package/dist/useViewerSettingsDialog-DPG5VDMB.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 +16 -2
  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-CFfHWjKk.js → viewer-CWgTBLKM.js} +6754 -6714
  39. package/dist/viewer-CWgTBLKM.js.br +0 -0
  40. package/dist/viewer-CWgTBLKM.js.gz +0 -0
  41. package/dist/{viewer-qHZWMUj7.cjs → viewer-v6sw9LNJ.cjs} +2842 -2802
  42. package/dist/viewer-v6sw9LNJ.cjs.br +0 -0
  43. package/dist/viewer-v6sw9LNJ.cjs.gz +0 -0
  44. package/dist/{y-webrtc-IBYiLa3c.cjs → y-webrtc-Cb8v01f2.cjs} +1 -1
  45. package/dist/y-webrtc-Cb8v01f2.cjs.br +0 -0
  46. package/dist/y-webrtc-Cb8v01f2.cjs.gz +0 -0
  47. package/dist/{y-webrtc-DXjQY8Jq.js → y-webrtc-DDtmS1y0.js} +1 -1
  48. package/dist/y-webrtc-DDtmS1y0.js.br +0 -0
  49. package/dist/y-webrtc-DDtmS1y0.js.gz +0 -0
  50. package/package.json +3 -3
  51. package/dist/AiChatPanel-BQngAoiz.js.br +0 -0
  52. package/dist/AiChatPanel-BQngAoiz.js.gz +0 -0
  53. package/dist/AiChatPanel-x_V9Af1e.cjs.br +0 -0
  54. package/dist/AiChatPanel-x_V9Af1e.cjs.gz +0 -0
  55. package/dist/useViewerSettingsDialog-B785wW8S.cjs.br +0 -0
  56. package/dist/useViewerSettingsDialog-B785wW8S.cjs.gz +0 -0
  57. package/dist/useViewerSettingsDialog-CJcp6Muj.js.br +0 -0
  58. package/dist/useViewerSettingsDialog-CJcp6Muj.js.gz +0 -0
  59. package/dist/viewer-CFfHWjKk.js.br +0 -0
  60. package/dist/viewer-CFfHWjKk.js.gz +0 -0
  61. package/dist/viewer-qHZWMUj7.cjs.br +0 -0
  62. package/dist/viewer-qHZWMUj7.cjs.gz +0 -0
  63. package/dist/y-webrtc-DXjQY8Jq.js.br +0 -0
  64. package/dist/y-webrtc-DXjQY8Jq.js.gz +0 -0
  65. package/dist/y-webrtc-IBYiLa3c.cjs.br +0 -0
  66. package/dist/y-webrtc-IBYiLa3c.cjs.gz +0 -0
package/CHANGELOG.md CHANGED
@@ -7,6 +7,51 @@ 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.45.0](https://github.com/ChristopherVR/ooxml/releases/tag/pptx-vue-viewer@4.45.0) - 2026-10-22
11
+
12
+ ### Features
13
+
14
+ - **automation:** Define word, excel and visio tools once in core ([bed1839](https://github.com/ChristopherVR/ooxml/commit/bed18392fec1f07fa9a0c1eabf8a7c1bb25b0387))
15
+ - **pptx:** Report the shared collaboration state from every binding ([62752ef](https://github.com/ChristopherVR/ooxml/commit/62752efd7b2f9df8372db485cd23c2a6ed5f15ee))
16
+ - **automation:** Propose xlsx edits as a reviewable diff ([0e13837](https://github.com/ChristopherVR/ooxml/commit/0e13837c6fdf0766e21aa8a31ef69737df8ab203))
17
+ - **automation:** Add xlsx_propose_edits and xlsx_apply_proposal tools ([8c7500d](https://github.com/ChristopherVR/ooxml/commit/8c7500df317f1cffa3016705369e52b0a5ad0218))
18
+ - **pptx:** Define the powerpoint tools as shared automation tools ([88acafd](https://github.com/ChristopherVR/ooxml/commit/88acafd82419de2cefbebd4b91b935c378f8c772))
19
+ - **pptx:** Connect through a provider, webrtc or same-browser room ([4ae5288](https://github.com/ChristopherVR/ooxml/commit/4ae528882a33ec93730f30bf642589a00b6edf06))
20
+
21
+ ### Bug Fixes
22
+
23
+ - **pptx:** Render flowChart connector presets as shapes, not lines ([978593a](https://github.com/ChristopherVR/ooxml/commit/978593a0d0067d97105fd98b8d640dc929ec9f2b))
24
+ - **pptx:** Paint picture fills inherited from layout placeholders ([71b8196](https://github.com/ChristopherVR/ooxml/commit/71b81964ca4b19ef9cc143fa970479614426bd9d))
25
+
26
+ ## [4.44.0](https://github.com/ChristopherVR/ooxml/releases/tag/pptx-vue-viewer@4.44.0) - 2026-10-21
27
+
28
+ ### Features
29
+
30
+ - **opc:** Name the check a zip package failed ([5125361](https://github.com/ChristopherVR/ooxml/commit/5125361f7787c1edf9863ccf85d0666a56610d1b))
31
+ - **xml:** Throw a typed error when a part breaks a parse limit ([40e73f6](https://github.com/ChristopherVR/ooxml/commit/40e73f6e0ddb045ef5a3b960e26cfc07a1fc6d45))
32
+ - **automation:** List and fill Word form fields from document bytes ([548ca2d](https://github.com/ChristopherVR/ooxml/commit/548ca2d53b2828bc69681e154e8bd668cfacf90b))
33
+
34
+ ### Bug Fixes
35
+
36
+ - **chart:** Scale and draw series with very many points ([778a3e9](https://github.com/ChristopherVR/ooxml/commit/778a3e973b5d948e15ef2d0de6ac70a4243feb5a))
37
+ - **docx:** Add no folder entries to a saved package ([9688c30](https://github.com/ChristopherVR/ooxml/commit/9688c30da93a3a73436a248b59b5a64d71fc7585))
38
+ - **xml:** Keep the line break after the declaration of a part ([9af3e23](https://github.com/ChristopherVR/ooxml/commit/9af3e23b3c33368027123f1363c9d1236cc8230e))
39
+ - **docx:** Keep markers and smart tags in place in a rebuilt paragraph ([8ddce70](https://github.com/ChristopherVR/ooxml/commit/8ddce70d17ba25ff6a1887f91c907ecba70a9b1f))
40
+ - **text:** Keep unchanged words between far-apart edits in a diff ([3cf0b04](https://github.com/ChristopherVR/ooxml/commit/3cf0b0495a5c3c2d339b22c5db2b547c14921fbd))
41
+ - **pptx:** Render weight-named font families at their weight ([7188288](https://github.com/ChristopherVR/ooxml/commit/718828829585145b461742c04e030fe3fbbd2d52))
42
+ - **pptx:** Render style-named font families in their style ([5413be6](https://github.com/ChristopherVR/ooxml/commit/5413be6b74a6409c8a2f1454e1a1cf4c4f1b8ba8))
43
+ - **pptx:** Apply named weights and styles to Vue WordArt and bullet fonts ([fe6e687](https://github.com/ChristopherVR/ooxml/commit/fe6e687b27c70831b42b4e5d152cbfe5292774c1))
44
+ - **color:** Require each palette variant to name its step ([70d7d9a](https://github.com/ChristopherVR/ooxml/commit/70d7d9a949e9dc5289bacf33bf63bd9af4c9f258))
45
+ - **color:** Require each palette variant to name its step ([3135862](https://github.com/ChristopherVR/ooxml/commit/3135862978fd352498d977335777555ba519428a))
46
+ - **vue:** Show the inspector Text Warp, on the shared gallery ([1a358ad](https://github.com/ChristopherVR/ooxml/commit/1a358ade3f115e465a9df612da336d65f4390e27))
47
+ - **pptx:** Render flowChart connector presets as shapes, not lines ([08399ae](https://github.com/ChristopherVR/ooxml/commit/08399aea49db3270d6ef9c9c163c0ea3b6f8e23f))
48
+ - **pptx:** Paint picture fills inherited from layout placeholders ([70bf7f9](https://github.com/ChristopherVR/ooxml/commit/70bf7f91beda9ae8e4d70472134222afc873dc68))
49
+
50
+ ### Refactor
51
+
52
+ - **vue:** Render Help and Record through the shared section ([2817c70](https://github.com/ChristopherVR/ooxml/commit/2817c7092031dd06b53f7aa53366a3818c4bcc5c))
53
+ - **vue:** Draw the inspector theme colours on the shared grid ([e402a0e](https://github.com/ChristopherVR/ooxml/commit/e402a0eadec61e91ca1c6f0b21ec417d2de12a37))
54
+
10
55
  ## [4.43.0](https://github.com/ChristopherVR/ooxml/releases/tag/pptx-vue-viewer@4.43.0) - 2026-10-21
11
56
 
12
57
  ### Features
@@ -1,5 +1,5 @@
1
- import { Hr as e } from "./useViewerSettingsDialog-CJcp6Muj.js";
2
- import { l as t, x as a } from "./viewer-CFfHWjKk.js";
1
+ import { Hr as e } from "./useViewerSettingsDialog-DPG5VDMB.js";
2
+ import { l as t, x as a } from "./viewer-CWgTBLKM.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 H, LayoutTemplate as L, LoaderCircle as R, 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
@@ -1,4 +1,4 @@
1
- const e = require("./useViewerSettingsDialog-B785wW8S.cjs"), t = require("./viewer-qHZWMUj7.cjs");
1
+ const e = require("./useViewerSettingsDialog-D6InSTG6.cjs"), t = require("./viewer-v6sw9LNJ.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
package/dist/index.cjs CHANGED
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const e = require("./useViewerSettingsDialog-B785wW8S.cjs"), r = require("./viewer-qHZWMUj7.cjs");
2
+ const e = require("./useViewerSettingsDialog-D6InSTG6.cjs"), r = require("./viewer-v6sw9LNJ.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
@@ -11,9 +11,11 @@ import { ClassValue } from 'clsx';
11
11
  import { clearAudienceContent } from 'ooxml-ui/pptx';
12
12
  import { CollabLoadOrigin } from 'ooxml-ui/pptx';
13
13
  import { CollaborationConfig } from 'ooxml-ui/pptx';
14
+ import { CollaborationInput } from 'ooxml-ui/pptx';
14
15
  import { CollaborationLivePatcher } from 'ooxml-ui/pptx';
15
16
  import { CollaborationRole } from 'ooxml-ui/pptx';
16
17
  import { CollaborationShellState } from 'ooxml-ui/pptx';
18
+ import { CollaborationState } from 'ooxml-core/collab';
17
19
  import { ComponentOptionsMixin } from 'vue';
18
20
  import { ComponentProvideOptions } from 'vue';
19
21
  import { ComputedRef } from 'vue';
@@ -155,6 +157,7 @@ declare const __VLS_export: DefineComponent<PowerPointViewerProps, PowerPointVie
155
157
  "selection-change": (elementIds: string[]) => any;
156
158
  "start-collaboration": (config: CollaborationConfig) => any;
157
159
  "stop-collaboration": () => any;
160
+ "collaboration-change": (state: CollaborationState) => any;
158
161
  }, string, PublicProps, Readonly<PowerPointViewerProps> & Readonly<{
159
162
  onError?: ((message: string) => any) | undefined;
160
163
  onLoad?: ((detail: ViewerLoadDetail) => any) | undefined;
@@ -168,6 +171,7 @@ declare const __VLS_export: DefineComponent<PowerPointViewerProps, PowerPointVie
168
171
  "onSelection-change"?: ((elementIds: string[]) => any) | undefined;
169
172
  "onStart-collaboration"?: ((config: CollaborationConfig) => any) | undefined;
170
173
  "onStop-collaboration"?: (() => any) | undefined;
174
+ "onCollaboration-change"?: ((state: CollaborationState) => any) | undefined;
171
175
  }>, {
172
176
  canEdit: boolean;
173
177
  barChart3D: boolean;
@@ -491,6 +495,8 @@ export { CollaborationRole }
491
495
 
492
496
  export { CollaborationShellState }
493
497
 
498
+ export { CollaborationState }
499
+
494
500
  export declare const CollaborationStatusIndicator: typeof __VLS_export_7;
495
501
 
496
502
  export { ConnectionStatus }
@@ -627,6 +633,12 @@ export declare interface PowerPointViewerEmits {
627
633
  (e: 'start-collaboration', config: CollaborationConfig): void;
628
634
  /** Fired when the user stops a collaboration session from the Share dialog. */
629
635
  (e: 'stop-collaboration'): void;
636
+ /**
637
+ * Fired with the shared `CollaborationState` when a session starts or stops (the off
638
+ * state) and when its status, synced flag or people change. Viewer-owned and host-owned
639
+ * (`collaboration.session`) sessions both report; unchanged states are not repeated.
640
+ */
641
+ (e: 'collaboration-change', state: CollaborationState): void;
630
642
  /** Fired each time a presentation finishes loading without an error. */
631
643
  (e: 'load', detail: ViewerLoadDetail): void;
632
644
  /** Fired once per distinct load failure, with a human-readable message. */
@@ -718,7 +730,7 @@ export declare interface PowerPointViewerProps {
718
730
  * joins a Yjs session (y-websocket or serverless y-webrtc) with live cursors,
719
731
  * remote selections, follow mode and elected-writer write-back.
720
732
  */
721
- collaboration?: CollaborationConfig;
733
+ collaboration?: CollaborationInput;
722
734
  /** Default values for the Share dialog fields. */
723
735
  shareDefaults?: {
724
736
  roomId?: string;
@@ -1312,7 +1324,7 @@ export declare function useCollaboration(options: UseCollaborationOptions): UseC
1312
1324
 
1313
1325
  export declare interface UseCollaborationOptions {
1314
1326
  /** Optional reactive configuration; replacing or clearing it starts or stops the session. */
1315
- collaboration?: MaybeRefOrGetter<CollaborationConfig | undefined>;
1327
+ collaboration?: MaybeRefOrGetter<CollaborationInput | undefined>;
1316
1328
  /** Host authorization, combined with the session's canonical read-only state. */
1317
1329
  canEdit?: MaybeRefOrGetter<boolean>;
1318
1330
  /** Whether an actual source file is still loading or failed to load. */
@@ -1367,6 +1379,8 @@ export declare interface UseCollaborationOptions {
1367
1379
  export declare interface UseCollaborationResult {
1368
1380
  /** Shared custom-shell permissions, connection status and sanitized presence. */
1369
1381
  shellState: ComputedRef<CollaborationShellState>;
1382
+ /** The shared `CollaborationState` a host reads (`collaboration-change`). */
1383
+ state: ComputedRef<CollaborationState>;
1370
1384
  /** The configuration attached by start() or the reactive collaboration option. */
1371
1385
  activeCollaboration: Ref<CollaborationConfig | null>;
1372
1386
  status: Ref< ConnectionStatus>;
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-CJcp6Muj.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-CFfHWjKk.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-DPG5VDMB.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-CWgTBLKM.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-B785wW8S.cjs");
2
+ const e = require("./useViewerSettingsDialog-D6InSTG6.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
@@ -13,9 +13,11 @@ import { ChartPptxElement } from 'ooxml-core/pptx';
13
13
  import { CINEMATIC_TRANSITION_KEYFRAMES } from 'ooxml-ui/pptx';
14
14
  import { CollabLoadOrigin } from 'ooxml-ui/pptx';
15
15
  import { CollaborationConfig } from 'ooxml-ui/pptx';
16
+ import { CollaborationInput } from 'ooxml-ui/pptx';
16
17
  import { CollaborationLivePatcher } from 'ooxml-ui/pptx';
17
18
  import { CollaborationRole } from 'ooxml-ui/pptx';
18
19
  import { CollaborationShellState } from 'ooxml-ui/pptx';
20
+ import { CollaborationState } from 'ooxml-core/collab';
19
21
  import { CollaborationTransport } from 'ooxml-ui/pptx';
20
22
  import { CompareResult } from 'ooxml-ui/pptx';
21
23
  import { ComponentOptionsMixin } from 'vue';
@@ -1813,7 +1815,7 @@ export declare function useCollaboration(options: UseCollaborationOptions): UseC
1813
1815
 
1814
1816
  export declare interface UseCollaborationOptions {
1815
1817
  /** Optional reactive configuration; replacing or clearing it starts or stops the session. */
1816
- collaboration?: MaybeRefOrGetter<CollaborationConfig | undefined>;
1818
+ collaboration?: MaybeRefOrGetter<CollaborationInput | undefined>;
1817
1819
  /** Host authorization, combined with the session's canonical read-only state. */
1818
1820
  canEdit?: MaybeRefOrGetter<boolean>;
1819
1821
  /** Whether an actual source file is still loading or failed to load. */
@@ -1868,6 +1870,8 @@ export declare interface UseCollaborationOptions {
1868
1870
  export declare interface UseCollaborationResult {
1869
1871
  /** Shared custom-shell permissions, connection status and sanitized presence. */
1870
1872
  shellState: ComputedRef<CollaborationShellState>;
1873
+ /** The shared `CollaborationState` a host reads (`collaboration-change`). */
1874
+ state: ComputedRef<CollaborationState>;
1871
1875
  /** The configuration attached by start() or the reactive collaboration option. */
1872
1876
  activeCollaboration: Ref<CollaborationConfig | null>;
1873
1877
  status: Ref< ConnectionStatus>;
@@ -1935,7 +1939,7 @@ export declare interface UseCollaborationWiringInput {
1935
1939
  canvasWidth: ComputedRef<number>;
1936
1940
  canvasHeight: ComputedRef<number>;
1937
1941
  /** Live `props.collaboration`, watched to auto-start/stop a session. */
1938
- collaborationProp: () => CollaborationConfig | undefined;
1942
+ collaborationProp: () => CollaborationInput | undefined;
1939
1943
  selectedElementIds: Ref<string[]>;
1940
1944
  activeSlideIndex: Ref<number>;
1941
1945
  goTo: (index: number) => void;
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, Ct as g, D as m, Dr as p, Dt as y, E as l, Er as v, Et as T, F as c, Fn as d, Ft as f, G as h, Gt as j, H as D, Ht as E, I as F, It as L, J as O, Jt as V, K as b, Kt as k, L as u, Lt as x, Mn as A, Mt as M, Nn as P, Nt as Q, O as $, On as _, Ot as q, Pn as w, Pt as z, Q as B, Qn as G, Qt as H, Rn as I, Rt as J, St as K, T as N, Tr as R, Tt as S, U, Ut as W, V as X, Vr as Y, Vt as Z, W as C, Wt as aa, X as sa, Xt as ta, Y as na, Yt as ra, Z as ea, Zt as ia, _ as oa, _n as ga, _t as ma, a as pa, ar as ya, at as la, b as va, bn as Ta, bt as ca, c as da, cn as fa, cr as ha, ct as ja, d as Da, dn as Ea, dr as Fa, en as La, er as Oa, et as Va, f as ba, fn as ka, ft as ua, g as xa, gn as Aa, gt as Ma, h as Pa, hn as Qa, ht as $a, i as _a, ir as qa, j as wa, jn as za, jt as Ba, k as Ga, kn as Ha, kt as Ia, l as Ja, ln as Ka, lt as Na, m as Ra, mn as Sa, mt as Ua, n as Wa, nr as Xa, nt as Ya, o as Za, or as Ca, ot as as, p as ss, pn as ts, pt as ns, q as rs, qt as es, r as is, rt as os, s as gs, sn as ms, sr as ps, st as ys, t as ls, tn as vs, tr as Ts, tt as cs, u as ds, un as fs, v as hs, vn as js, vr as Ds, vt as Es, wt as Fs, xt as Ls, y as Os, yn as Vs, yt as bs, z as ks, zt as us } from "./useViewerSettingsDialog-CJcp6Muj.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, Ct as g, D as m, Dr as p, Dt as y, E as l, Er as v, Et as T, F as c, Fn as d, Ft as f, G as h, Gt as j, H as D, Ht as E, I as F, It as L, J as O, Jt as V, K as b, Kt as k, L as u, Lt as x, Mn as A, Mt as M, Nn as P, Nt as Q, O as $, On as _, Ot as q, Pn as w, Pt as z, Q as B, Qn as G, Qt as H, Rn as I, Rt as J, St as K, T as N, Tr as R, Tt as S, U, Ut as W, V as X, Vr as Y, Vt as Z, W as C, Wt as aa, X as sa, Xt as ta, Y as na, Yt as ra, Z as ea, Zt as ia, _ as oa, _n as ga, _t as ma, a as pa, ar as ya, at as la, b as va, bn as Ta, bt as ca, c as da, cn as fa, cr as ha, ct as ja, d as Da, dn as Ea, dr as Fa, en as La, er as Oa, et as Va, f as ba, fn as ka, ft as ua, g as xa, gn as Aa, gt as Ma, h as Pa, hn as Qa, ht as $a, i as _a, ir as qa, j as wa, jn as za, jt as Ba, k as Ga, kn as Ha, kt as Ia, l as Ja, ln as Ka, lt as Na, m as Ra, mn as Sa, mt as Ua, n as Wa, nr as Xa, nt as Ya, o as Za, or as Ca, ot as as, p as ss, pn as ts, pt as ns, q as rs, qt as es, r as is, rt as os, s as gs, sn as ms, sr as ps, st as ys, t as ls, tn as vs, tr as Ts, tt as cs, u as ds, un as fs, v as hs, vn as js, vr as Ds, vt as Es, wt as Fs, xt as Ls, y as Os, yn as Vs, yt as bs, z as ks, zt as us } from "./useViewerSettingsDialog-DPG5VDMB.js";
2
2
  export { g as CINEMATIC_TRANSITION_KEYFRAMES, _a as DEFAULT_MAX_VERSIONS, Fs as DEFAULT_MORPH_DURATION_MS, R as DEFAULT_RENDERING_3D_FLAGS, S as DEFAULT_TRANSITION_DURATION_MS, T as EASE, es as ERASER_RADIUS, Ls as FragmentedTransitionLayer, V as HIGHLIGHTER_OPACITY, ra as HIGHLIGHTER_WIDTH, y as INSTANT, za as MOBILE_BREAKPOINT, A as MOBILE_LANDSCAPE_MAX_HEIGHT, ca as MorphExtraLayers, Sa as NUDGE_LARGE, Qa as NUDGE_SMALL, q as P14_TRANSITION_KEYFRAMES, Ia as P14_TRANSITION_KEYFRAMES_2, e as P14_TRANSITION_KEYFRAMES_ALL, ta as PEN_WIDTH, bs as PresentationTransitionOverlay, Ba as RANDOM_ELIGIBLE_TYPES, oa as RIBBON_ALIGN, v as Rendering3DFlagsKey, js as SHORTCUT_CATALOG, Vs as SHORTCUT_GROUP_LABEL_KEYS, M as SLIDE_TRANSITION_KEYFRAMES, Q as SLIDE_TRANSITION_KEYFRAMES_CSS, fa as SMARTART_COLOR_SCHEMES, Ka as SMARTART_STYLE_OPTIONS, P as TABLET_BREAKPOINT, z as TRANSITION_SPEED_DURATION_MS, G as TableSelectionKey, f as WHEEL_SPOKE_COUNTS, La as buildClickGroups, s as computeCellSelection, _ as computeDocumentStatistics, Ma as computeElapsed, Ha as countWords, ia as createStroke, H as eraseStrokesAtPoint, ma as formatRehearseMs, as as generateCommentId, L as getCinematicTransitionAnimations, x as getP14TransitionAnimations, J as getSlideTransitionAnimations, Ta as groupShortcutCatalog, Oa as injectTableSelection, ya as inlineEditorRect, w as isMobileViewport, Ca as nodeIdsInRenderOrder, n as parseSignaturesFromBuffer, Ts as provideTableSelection, us as resolveDirection, o as resolveDirection8, Z as resolveOrientation, Aa as resolveShortcutAction, E as resolveSlideTransition, W as resolveTransitionDurationMs, aa as resolveWheelSpokeCount, fs as smartArtLayoutLabel, ps as textNodeIdsInRenderOrder, hs as toShapePreset, Ua as useAccessibility, ns as useAlignGroup, vs as useAnimationPlayback, ua as useAutosave, ts as useChartEditing, Na as useCollaboration, ja as useCollaborationWiring, Ds as useColorChangeImage, ys as useComments, la as useCommentsWiring, os as useContextMenu, Ya as useCustomShows, cs as useCustomShowsWiring, ka as useDebouncedCallback, Va as useDocumentPropertiesDialog, r as useDocumentStatistics, a as useEditorHistory, B as useEditorKeyboard, ea as useEditorOperations, sa as useElementDrag, na as useElementInsertion, O as useEmbeddedFonts, rs as useExport, b as useExportProgress, C as useExportWiring, U as useFindReplace, D as useFontEmbedding, X as useFormatPainter, i as useHeaderFooterDialog, ks as useInkDrawing, u as useInlineEditing, F as useInsertElementDialogs, d as useIsMobile, c as useKeyboardInsets, ga as useKeyboardShortcuts, wa as useLoadContent, Ga as useMasterViewState, h as useMediaExport, $ as useMobileChrome, Fa as useModel3dScene, K as useMorphTransitionOverlay, m as useMultiSelectOps, l as usePasswordProtection, t as usePresentationAnnotations, N as usePresentationModeWiring, va as usePrint, Es as useRehearseTimings, p as useRendering3DFlags, Os as useRibbonActions, Wa as useRibbonProps, xa as useRibbonUiState, Pa as useSectionOperations, Ra as useSelectionPaneWiring, Y as useSheetDismissDrag, ss as useSignatureWorkflow, $a as useSignatures, ba as useSlideMutations, Da as useSlideOperations, ds as useSlideShowSettings, Ja as useSlideTemplateInsertion, ms as useSmartArtEditing, Ea as useSmartArtFocus, qa as useSmartArtHoverRect, ha as useSmartArtInlineEditState, da as useSmartArtNodeEditContext, gs as useTableCellEditingContext, Xa as useTableCellSelection, Za as useThemeEditing, k as useToolbarAutoHide, I as useToolbarVisibility, j as useTouchGestures, pa as useVersionHistory, is as useVersionHistoryWiring, ls as useViewerSettingsDialog };
Binary file
Binary file