pptx-vue-viewer 4.44.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 (61) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/dist/{AiChatPanel-BGWwcF0k.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-6BBi_4MF.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 +13 -0
  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 +3 -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/{useViewerSettingsDialog-ZrhB1hri.cjs → useViewerSettingsDialog-D6InSTG6.cjs} +136 -110
  23. package/dist/useViewerSettingsDialog-D6InSTG6.cjs.br +0 -0
  24. package/dist/{useViewerSettingsDialog-ZrhB1hri.cjs.gz → useViewerSettingsDialog-D6InSTG6.cjs.gz} +0 -0
  25. package/dist/{useViewerSettingsDialog-C8CtLKnI.js → useViewerSettingsDialog-DPG5VDMB.js} +2567 -2541
  26. package/dist/useViewerSettingsDialog-DPG5VDMB.js.br +0 -0
  27. package/dist/useViewerSettingsDialog-DPG5VDMB.js.gz +0 -0
  28. package/dist/viewer/index.cjs +1 -1
  29. package/dist/viewer/index.cjs.br +0 -0
  30. package/dist/viewer/index.cjs.gz +0 -0
  31. package/dist/viewer/index.d.ts +13 -0
  32. package/dist/viewer/index.js +2 -2
  33. package/dist/viewer/index.js.br +0 -0
  34. package/dist/viewer/index.js.gz +0 -0
  35. package/dist/{viewer-BwSDTF4b.js → viewer-CWgTBLKM.js} +6545 -6539
  36. package/dist/viewer-CWgTBLKM.js.br +0 -0
  37. package/dist/viewer-CWgTBLKM.js.gz +0 -0
  38. package/dist/{viewer-BZEPCKNP.cjs → viewer-v6sw9LNJ.cjs} +312 -306
  39. package/dist/viewer-v6sw9LNJ.cjs.br +0 -0
  40. package/dist/{viewer-BZEPCKNP.cjs.gz → viewer-v6sw9LNJ.cjs.gz} +0 -0
  41. package/dist/{y-webrtc-C6jlHQOv.cjs → y-webrtc-Cb8v01f2.cjs} +1 -1
  42. package/dist/y-webrtc-Cb8v01f2.cjs.br +0 -0
  43. package/dist/y-webrtc-Cb8v01f2.cjs.gz +0 -0
  44. package/dist/{y-webrtc-ugRXIsvG.js → y-webrtc-DDtmS1y0.js} +1 -1
  45. package/dist/y-webrtc-DDtmS1y0.js.br +0 -0
  46. package/dist/y-webrtc-DDtmS1y0.js.gz +0 -0
  47. package/package.json +3 -3
  48. package/dist/AiChatPanel-6BBi_4MF.cjs.br +0 -0
  49. package/dist/AiChatPanel-6BBi_4MF.cjs.gz +0 -0
  50. package/dist/AiChatPanel-BGWwcF0k.js.br +0 -0
  51. package/dist/AiChatPanel-BGWwcF0k.js.gz +0 -0
  52. package/dist/useViewerSettingsDialog-C8CtLKnI.js.br +0 -0
  53. package/dist/useViewerSettingsDialog-C8CtLKnI.js.gz +0 -0
  54. package/dist/useViewerSettingsDialog-ZrhB1hri.cjs.br +0 -0
  55. package/dist/viewer-BZEPCKNP.cjs.br +0 -0
  56. package/dist/viewer-BwSDTF4b.js.br +0 -0
  57. package/dist/viewer-BwSDTF4b.js.gz +0 -0
  58. package/dist/y-webrtc-C6jlHQOv.cjs.br +0 -0
  59. package/dist/y-webrtc-C6jlHQOv.cjs.gz +0 -0
  60. package/dist/y-webrtc-ugRXIsvG.js.br +0 -0
  61. package/dist/y-webrtc-ugRXIsvG.js.gz +0 -0
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const e = require("../useViewerSettingsDialog-ZrhB1hri.cjs"), t = require("../viewer-BZEPCKNP.cjs");
2
+ const e = require("../useViewerSettingsDialog-D6InSTG6.cjs"), t = require("../viewer-v6sw9LNJ.cjs");
3
3
  let r = require("ooxml-ui/pptx");
4
4
  Object.defineProperty(exports, "AUDIENCE_HASH", {
5
5
  enumerable: !0,
Binary file
Binary file
@@ -11,6 +11,7 @@ import { CollaborationInput } from 'ooxml-ui/pptx';
11
11
  import { CollaborationLivePatcher } from 'ooxml-ui/pptx';
12
12
  import { CollaborationRole } from 'ooxml-ui/pptx';
13
13
  import { CollaborationShellState } from 'ooxml-ui/pptx';
14
+ import { CollaborationState } from 'ooxml-core/collab';
14
15
  import { collectImagePaths } from 'ooxml-ui/pptx';
15
16
  import { collectMediaElements } from 'ooxml-ui/pptx';
16
17
  import { ComponentOptionsMixin } from 'vue';
@@ -133,6 +134,7 @@ declare const __VLS_export: DefineComponent<PowerPointViewerProps, PowerPointVie
133
134
  "selection-change": (elementIds: string[]) => any;
134
135
  "start-collaboration": (config: CollaborationConfig) => any;
135
136
  "stop-collaboration": () => any;
137
+ "collaboration-change": (state: CollaborationState) => any;
136
138
  }, string, PublicProps, Readonly<PowerPointViewerProps> & Readonly<{
137
139
  onError?: ((message: string) => any) | undefined;
138
140
  onLoad?: ((detail: ViewerLoadDetail) => any) | undefined;
@@ -146,6 +148,7 @@ declare const __VLS_export: DefineComponent<PowerPointViewerProps, PowerPointVie
146
148
  "onSelection-change"?: ((elementIds: string[]) => any) | undefined;
147
149
  "onStart-collaboration"?: ((config: CollaborationConfig) => any) | undefined;
148
150
  "onStop-collaboration"?: (() => any) | undefined;
151
+ "onCollaboration-change"?: ((state: CollaborationState) => any) | undefined;
149
152
  }>, {
150
153
  canEdit: boolean;
151
154
  barChart3D: boolean;
@@ -909,6 +912,8 @@ export { CollaborationRole }
909
912
 
910
913
  export { CollaborationShellState }
911
914
 
915
+ export { CollaborationState }
916
+
912
917
  export declare const CollaborationStatusIndicator: typeof __VLS_export_18;
913
918
 
914
919
  export { collectImagePaths }
@@ -1170,6 +1175,12 @@ export declare interface PowerPointViewerEmits {
1170
1175
  (e: 'start-collaboration', config: CollaborationConfig): void;
1171
1176
  /** Fired when the user stops a collaboration session from the Share dialog. */
1172
1177
  (e: 'stop-collaboration'): void;
1178
+ /**
1179
+ * Fired with the shared `CollaborationState` when a session starts or stops (the off
1180
+ * state) and when its status, synced flag or people change. Viewer-owned and host-owned
1181
+ * (`collaboration.session`) sessions both report; unchanged states are not repeated.
1182
+ */
1183
+ (e: 'collaboration-change', state: CollaborationState): void;
1173
1184
  /** Fired each time a presentation finishes loading without an error. */
1174
1185
  (e: 'load', detail: ViewerLoadDetail): void;
1175
1186
  /** Fired once per distinct load failure, with a human-readable message. */
@@ -1874,6 +1885,8 @@ export declare interface UseCollaborationOptions {
1874
1885
  export declare interface UseCollaborationResult {
1875
1886
  /** Shared custom-shell permissions, connection status and sanitized presence. */
1876
1887
  shellState: ComputedRef<CollaborationShellState>;
1888
+ /** The shared `CollaborationState` a host reads (`collaboration-change`). */
1889
+ state: ComputedRef<CollaborationState>;
1877
1890
  /** The configuration attached by start() or the reactive collaboration option. */
1878
1891
  activeCollaboration: Ref<CollaborationConfig | null>;
1879
1892
  status: Ref< ConnectionStatus>;
@@ -1,3 +1,3 @@
1
- import { $ as a, Ar as s, Bn as r, C as e, Fr as o, Hn as n, Ir as t, Kn as l, L as i, Lr as d, M as R, Mr as S, N as m, Nr as b, P as C, Pr as w, S as u, Vn as c, X as p, Yn as v, Z as f, br as g, fr as j, j as x, jr as y, kr as I, lr as M, lt as P, pr as T, rr as A, ur as E, w as O, x as V, yr as h } from "../useViewerSettingsDialog-C8CtLKnI.js";
2
- import { C as k, S as B, _ as D, a as F, b as L, c as N, d as Z, f as q, g as H, h as K, i as W, m as X, n as Y, o as $, p as _, r as z, s as G, t as J, u as Q, v as U, w as aa, y as sa } from "../viewer-BwSDTF4b.js";
1
+ import { $ as a, Ar as s, Bn as r, C as e, Fr as o, Hn as n, Ir as t, Kn as l, L as i, Lr as d, M as R, Mr as S, N as m, Nr as b, P as C, Pr as w, S as u, Vn as c, X as p, Yn as v, Z as f, br as g, fr as j, j as x, jr as y, kr as I, lr as M, lt as P, pr as T, rr as A, ur as E, w as O, x as V, yr as h } from "../useViewerSettingsDialog-DPG5VDMB.js";
2
+ import { C as k, S as B, _ as D, a as F, b as L, c as N, d as Z, f as q, g as H, h as K, i as W, m as X, n as Y, o as $, p as _, r as z, s as G, t as J, u as Q, v as U, w as aa, y as sa } from "../viewer-CWgTBLKM.js";
3
3
  export { Z as AUDIENCE_HASH, g as ChartRenderer, U as CollaborationCursors, aa as CollaborationStatusIndicator, h as ConnectorRenderer, b as DEFAULT_CANVAS_HEIGHT, w as DEFAULT_CANVAS_WIDTH, o as DEFAULT_FILL_COLOR, t as DEFAULT_STROKE_COLOR, d as DEFAULT_TEXT_COLOR, c as ElementRenderer, T as EquationRenderer, Q as FollowModeBar, j as InkRenderer, k as InlineTextEditor, E as Model3DRenderer, M as OleRenderer, N as PowerPointViewer, D as RemoteSelectionOverlay, L as RibbonToolbar, B as SelectionOverlay, sa as SlideCanvas, r as SlideStage, A as SmartArtRenderer, v as TableRenderer, l as WordArtText, n as ZoomRenderer, R as buildInitialGuides, q as clearAudienceContent, m as collectImagePaths, C as collectMediaElements, V as exportAllSlidesToSvg, u as exportAllSlidesToSvgBlobs, e as exportSlideToSvg, O as exportSlideToSvgBlob, I as getContainerStyle, s as getImageSrc, Y as getResolvedShapeClipPath, z as getResolvedShapeClipPathFor, y as getShapeFillStrokeStyle, S as getTextBlockStyle, _ as isAudienceTab, X as loadAudienceContent, J as overlayInlineTextSnapshot, K as parseAudienceNonce, H as storeAudienceContent, P as useCollaboration, W as useCollaborativeHistory, F as useCollaborativeState, a as useEditorHistory, f as useEditorOperations, p as useElementDrag, i as useInlineEditing, x as useLoadContent, $ as usePresenceTracking, G as useYjsProvider };
Binary file
Binary file