pptx-vue-viewer 2.1.0 → 2.2.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 +2 -0
- package/dist/{AiChatPanel-CpGx5oyv.js → AiChatPanel-Bdcsyhem.js} +2 -2
- package/dist/AiChatPanel-Bdcsyhem.js.br +0 -0
- package/dist/AiChatPanel-Bdcsyhem.js.gz +0 -0
- package/dist/{AiChatPanel-DrqRHGqi.cjs → AiChatPanel-CVDOmMJT.cjs} +1 -1
- package/dist/AiChatPanel-CVDOmMJT.cjs.br +0 -0
- package/dist/AiChatPanel-CVDOmMJT.cjs.gz +0 -0
- package/dist/gif-encoder-1Sa65LK2.js +2 -0
- package/dist/gif-encoder-1Sa65LK2.js.br +0 -0
- package/dist/gif-encoder-1Sa65LK2.js.gz +0 -0
- package/dist/gif-encoder-CKqONXXD.cjs +2 -0
- package/dist/gif-encoder-CKqONXXD.cjs.br +0 -0
- package/dist/gif-encoder-CKqONXXD.cjs.gz +0 -0
- package/dist/{i18n-DlbVzRoS.js → i18n-CktYTjt-.js} +10 -1
- package/dist/i18n-CktYTjt-.js.br +0 -0
- package/dist/i18n-CktYTjt-.js.gz +0 -0
- package/dist/{i18n-CiJ98jSy.cjs → i18n-CvXsJIg8.cjs} +10 -1
- package/dist/i18n-CvXsJIg8.cjs.br +0 -0
- package/dist/i18n-CvXsJIg8.cjs.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 +1 -1
- package/dist/index.cjs.br +0 -0
- package/dist/index.cjs.gz +0 -0
- 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.js +2 -2
- package/dist/internals.js.br +0 -0
- package/dist/internals.js.gz +0 -0
- package/dist/{useViewerSettingsDialog-BkP7IYJY.js → useViewerSettingsDialog-YvIaQaZT.js} +1312 -1226
- package/dist/useViewerSettingsDialog-YvIaQaZT.js.br +0 -0
- package/dist/useViewerSettingsDialog-YvIaQaZT.js.gz +0 -0
- package/dist/{useViewerSettingsDialog-DiXdexuT.cjs → useViewerSettingsDialog-jCvoCGBG.cjs} +1661 -1565
- package/dist/useViewerSettingsDialog-jCvoCGBG.cjs.br +0 -0
- package/dist/useViewerSettingsDialog-jCvoCGBG.cjs.gz +0 -0
- package/dist/viewer/components/PresentationMode.vue.d.ts.map +1 -1
- package/dist/viewer/composables/usePresenterSession.d.ts +2 -0
- package/dist/viewer/composables/usePresenterSession.d.ts.map +1 -1
- package/dist/viewer/composables/useToolbarAutoHide.d.ts +5 -0
- package/dist/viewer/composables/useToolbarAutoHide.d.ts.map +1 -1
- package/dist/viewer/index.cjs +1 -1
- package/dist/viewer/index.cjs.br +0 -0
- package/dist/viewer/index.cjs.gz +0 -0
- 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-Nehb6dyW.cjs → viewer-WZtk0HHJ.cjs} +117 -90
- package/dist/viewer-WZtk0HHJ.cjs.br +0 -0
- package/dist/viewer-WZtk0HHJ.cjs.gz +0 -0
- package/dist/{viewer-CsCuYLxO.js → viewer-nPrXharA.js} +11896 -11869
- package/dist/viewer-nPrXharA.js.br +0 -0
- package/dist/viewer-nPrXharA.js.gz +0 -0
- package/package.json +1 -1
- package/dist/AiChatPanel-CpGx5oyv.js.br +0 -0
- package/dist/AiChatPanel-CpGx5oyv.js.gz +0 -0
- package/dist/AiChatPanel-DrqRHGqi.cjs.br +0 -0
- package/dist/AiChatPanel-DrqRHGqi.cjs.gz +0 -0
- package/dist/gif-encoder-ClfqyHy0.js +0 -2
- package/dist/gif-encoder-ClfqyHy0.js.br +0 -0
- package/dist/gif-encoder-ClfqyHy0.js.gz +0 -0
- package/dist/gif-encoder-NU6Soq14.cjs +0 -2
- package/dist/gif-encoder-NU6Soq14.cjs.br +0 -0
- package/dist/gif-encoder-NU6Soq14.cjs.gz +0 -0
- package/dist/i18n-CiJ98jSy.cjs.br +0 -0
- package/dist/i18n-CiJ98jSy.cjs.gz +0 -0
- package/dist/i18n-DlbVzRoS.js.br +0 -0
- package/dist/i18n-DlbVzRoS.js.gz +0 -0
- package/dist/useViewerSettingsDialog-BkP7IYJY.js.br +0 -0
- package/dist/useViewerSettingsDialog-BkP7IYJY.js.gz +0 -0
- package/dist/useViewerSettingsDialog-DiXdexuT.cjs.br +0 -0
- package/dist/useViewerSettingsDialog-DiXdexuT.cjs.gz +0 -0
- package/dist/viewer-CsCuYLxO.js.br +0 -0
- package/dist/viewer-CsCuYLxO.js.gz +0 -0
- package/dist/viewer-Nehb6dyW.cjs.br +0 -0
- package/dist/viewer-Nehb6dyW.cjs.gz +0 -0
|
Binary file
|
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PresentationMode.vue.d.ts","sourceRoot":"","sources":["../../../src/viewer/components/PresentationMode.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"PresentationMode.vue.d.ts","sourceRoot":"","sources":["../../../src/viewer/components/PresentationMode.vue"],"names":[],"mappings":"AAk0BA,OAAO,KAAK,EAAE,0BAA0B,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAc9E,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,2CAA2C,CAAC;AAKpF,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAW3C;;;;;;;;;;;;;;;;GAgBG;AACH,KAAK,WAAW,GAAG;IACjB,MAAM,EAAE,SAAS,EAAE,CAAC;IACpB,UAAU,EAAE,UAAU,CAAC;IACvB,aAAa,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACnC,OAAO,CAAC,EAAE,WAAW,GAAG,UAAU,GAAG,IAAI,CAAC;IAC1C,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B,sBAAsB,CAAC,EAAE,0BAA0B,CAAC;IACpD,6DAA6D;IAC7D,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,wBAAwB,CAAC,EAAE,OAAO,CAAC;CACnC,CAAC;AAojCH,QAAA,MAAM,YAAY;;qBA7hCqB,kBAAkB;;;;;qBAAlB,kBAAkB;;;;gBA7B1C,MAAM;0BACI,OAAO;uBAGV,OAAO;8BACA,OAAO;6EAyjClC,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -38,6 +38,7 @@ export declare function usePresenterSession(options: PresenterSessionOptions): {
|
|
|
38
38
|
y: number;
|
|
39
39
|
}[];
|
|
40
40
|
}[] | undefined;
|
|
41
|
+
inkMarkupVisible?: boolean | undefined;
|
|
41
42
|
caption?: string | undefined;
|
|
42
43
|
subtitlesVisible?: boolean | undefined;
|
|
43
44
|
}, PresentationSnapshot | {
|
|
@@ -69,6 +70,7 @@ export declare function usePresenterSession(options: PresenterSessionOptions): {
|
|
|
69
70
|
y: number;
|
|
70
71
|
}[];
|
|
71
72
|
}[] | undefined;
|
|
73
|
+
inkMarkupVisible?: boolean | undefined;
|
|
72
74
|
caption?: string | undefined;
|
|
73
75
|
subtitlesVisible?: boolean | undefined;
|
|
74
76
|
}>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"usePresenterSession.d.ts","sourceRoot":"","sources":["../../../src/viewer/composables/usePresenterSession.ts"],"names":[],"mappings":"AAYA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE/D,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAI/B,MAAM,WAAW,uBAAuB;IACvC,iBAAiB,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IAC/B,OAAO,EAAE,MAAM,WAAW,GAAG,UAAU,GAAG,IAAI,CAAC;IAC/C,eAAe,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACzC,cAAc,EAAE,MAAM,IAAI,CAAC;CAC3B;AAED,wBAAgB,mBAAmB,CAAC,OAAO,EAAE,uBAAuB
|
|
1
|
+
{"version":3,"file":"usePresenterSession.d.ts","sourceRoot":"","sources":["../../../src/viewer/composables/usePresenterSession.ts"],"names":[],"mappings":"AAYA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE/D,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAI/B,MAAM,WAAW,uBAAuB;IACvC,iBAAiB,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IAC/B,OAAO,EAAE,MAAM,WAAW,GAAG,UAAU,GAAG,IAAI,CAAC;IAC/C,eAAe,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACzC,cAAc,EAAE,MAAM,IAAI,CAAC;CAC3B;AAED,wBAAgB,mBAAmB,CAAC,OAAO,EAAE,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4BAgCpC,OAAO,CAAC,oBAAoB,CAAC,KAAG,IAAI;wBA2B1C,OAAO;yBApBN,IAAI;EA6F9B"}
|
|
@@ -19,6 +19,11 @@ import { Ref } from 'vue';
|
|
|
19
19
|
export interface UseToolbarAutoHideResult {
|
|
20
20
|
/** Whether the toolbar should currently be shown (and clickable). */
|
|
21
21
|
toolbarVisible: Readonly<Ref<boolean>>;
|
|
22
|
+
/**
|
|
23
|
+
* Show or hide the toolbar explicitly, for PowerPoint's Ctrl+H. Any later
|
|
24
|
+
* mouse movement resumes the normal auto-hide cycle.
|
|
25
|
+
*/
|
|
26
|
+
setToolbarVisible: (visible: boolean) => void;
|
|
22
27
|
}
|
|
23
28
|
export declare function useToolbarAutoHide(): UseToolbarAutoHideResult;
|
|
24
29
|
//# sourceMappingURL=useToolbarAutoHide.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useToolbarAutoHide.d.ts","sourceRoot":"","sources":["../../../src/viewer/composables/useToolbarAutoHide.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE/B;;;;;;;;;;;;;;;;GAgBG;AACH,MAAM,WAAW,wBAAwB;IACxC,qEAAqE;IACrE,cAAc,EAAE,QAAQ,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"useToolbarAutoHide.d.ts","sourceRoot":"","sources":["../../../src/viewer/composables/useToolbarAutoHide.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE/B;;;;;;;;;;;;;;;;GAgBG;AACH,MAAM,WAAW,wBAAwB;IACxC,qEAAqE;IACrE,cAAc,EAAE,QAAQ,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC,CAAC;IACvC;;;OAGG;IACH,iBAAiB,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;CAC9C;AAED,wBAAgB,kBAAkB,IAAI,wBAAwB,CAkC7D"}
|
package/dist/viewer/index.cjs
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const e = require("../useViewerSettingsDialog-
|
|
2
|
+
const e = require("../useViewerSettingsDialog-jCvoCGBG.cjs"), t = require("../viewer-WZtk0HHJ.cjs");
|
|
3
3
|
exports.AUDIENCE_HASH = e.AUDIENCE_HASH, exports.ChartRenderer = t.ChartRenderer_default, exports.CollaborationCursors = t.CollaborationCursors_default, exports.CollaborationStatusIndicator = t.CollaborationStatusIndicator_default, exports.ConnectorRenderer = t.ConnectorRenderer_default, exports.DEFAULT_CANVAS_HEIGHT = e.DEFAULT_CANVAS_HEIGHT, exports.DEFAULT_CANVAS_WIDTH = e.DEFAULT_CANVAS_WIDTH, exports.DEFAULT_FILL_COLOR = e.DEFAULT_FILL_COLOR, exports.DEFAULT_STROKE_COLOR = e.DEFAULT_STROKE_COLOR, exports.DEFAULT_TEXT_COLOR = e.DEFAULT_TEXT_COLOR, exports.ElementRenderer = t.ElementRenderer_default, exports.EquationRenderer = t.EquationRenderer_default, exports.FollowModeBar = t.FollowModeBar_default, exports.InkRenderer = t.InkRenderer_default, exports.Model3DRenderer = t.Model3DRenderer_default, exports.OleRenderer = t.OleRenderer_default, exports.PowerPointViewer = t.PowerPointViewer_default, exports.RemoteSelectionOverlay = t.RemoteSelectionOverlay_default, exports.RibbonToolbar = t.RibbonToolbar_default, exports.SlideCanvas = t.SlideCanvas_default, exports.SlideStage = t.SlideStage_default, exports.SmartArtRenderer = t.SmartArtRenderer_default, exports.TableRenderer = t.TableRenderer_default, exports.WordArtText = t.WordArtText_default, exports.ZoomRenderer = t.ZoomRenderer_default, exports.buildInitialGuides = e.buildInitialGuides, exports.clearAudienceContent = e.clearAudienceContent, exports.collectImagePaths = e.collectImagePaths, exports.collectMediaElements = e.collectMediaElements, exports.exportAllSlidesToSvg = e.exportAllSlidesToSvg, exports.exportAllSlidesToSvgBlobs = e.exportAllSlidesToSvgBlobs, exports.exportSlideToSvg = e.exportSlideToSvg, exports.exportSlideToSvgBlob = e.exportSlideToSvgBlob, exports.getContainerStyle = t.getContainerStyle, exports.getImageSrc = t.getImageSrc, exports.getResolvedShapeClipPath = e.getResolvedShapeClipPath, exports.getResolvedShapeClipPathFor = e.getResolvedShapeClipPathFor, exports.getShapeFillStrokeStyle = t.getShapeFillStrokeStyle, exports.getTextBlockStyle = t.getTextBlockStyle, exports.isAudienceTab = e.isAudienceTab, exports.loadAudienceContent = e.loadAudienceContent, exports.parseAudienceNonce = e.parseAudienceNonce, exports.storeAudienceContent = e.storeAudienceContent, exports.useCollaboration = e.useCollaboration, exports.useCollaborativeHistory = t.useCollaborativeHistory, exports.useCollaborativeState = t.useCollaborativeState, exports.useEditorHistory = e.useEditorHistory, exports.useEditorOperations = e.useEditorOperations, exports.useLoadContent = e.useLoadContent, exports.usePresenceTracking = t.usePresenceTracking, exports.useYjsProvider = t.useYjsProvider;
|
package/dist/viewer/index.cjs.br
CHANGED
|
Binary file
|
package/dist/viewer/index.cjs.gz
CHANGED
|
Binary file
|
package/dist/viewer/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { Br as a, C as s,
|
|
2
|
-
import { A as h, C as j, D as k, E as
|
|
3
|
-
export { T as AUDIENCE_HASH,
|
|
1
|
+
import { Br as a, C as s, Fa as e, J as r, Pa as o, S as n, X as t, at as i, b as d, ci as l, dn as R, fn as m, hn as S, io as b, k as C, li as u, mn as w, pn as x, qa as p, ss as c, ui as g, x as v, xn as T, xo as f } from "../useViewerSettingsDialog-YvIaQaZT.js";
|
|
2
|
+
import { A as h, C as j, D as k, E as A, O as D, S as E, T as O, _ as P, a as q, b as y, d as B, g as F, h as I, i as M, j as V, k as J, l as W, m as X, n as Z, p as _, r as z, t as G, u as H, v as K, w as L, x as N, y as Q } from "../viewer-nPrXharA.js";
|
|
3
|
+
export { T as AUDIENCE_HASH, O as ChartRenderer, V as CollaborationCursors, h as CollaborationStatusIndicator, L as ConnectorRenderer, R as DEFAULT_CANVAS_HEIGHT, m as DEFAULT_CANVAS_WIDTH, x as DEFAULT_FILL_COLOR, w as DEFAULT_STROKE_COLOR, S as DEFAULT_TEXT_COLOR, I as ElementRenderer, j as EquationRenderer, _ as FollowModeBar, E as InkRenderer, N as Model3DRenderer, y as OleRenderer, q as PowerPointViewer, B as RemoteSelectionOverlay, H as RibbonToolbar, W as SlideCanvas, X as SlideStage, Q as SmartArtRenderer, K as TableRenderer, P as WordArtText, F as ZoomRenderer, a as buildInitialGuides, l as clearAudienceContent, u as collectImagePaths, g as collectMediaElements, d as exportAllSlidesToSvg, v as exportAllSlidesToSvgBlobs, n as exportSlideToSvg, s as exportSlideToSvgBlob, A as getContainerStyle, k as getImageSrc, o as getResolvedShapeClipPath, e as getResolvedShapeClipPathFor, D as getShapeFillStrokeStyle, J as getTextBlockStyle, p as isAudienceTab, b as loadAudienceContent, f as parseAudienceNonce, c as storeAudienceContent, i as useCollaboration, G as useCollaborativeHistory, Z as useCollaborativeState, t as useEditorHistory, r as useEditorOperations, C as useLoadContent, z as usePresenceTracking, M as useYjsProvider };
|
package/dist/viewer/index.js.br
CHANGED
|
Binary file
|
package/dist/viewer/index.js.gz
CHANGED
|
Binary file
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const e = require("./rolldown-runtime-DoYlGkYw.cjs"), t = require("./dist-CdhFHzWb.cjs"), n = require("./useViewerSettingsDialog-
|
|
1
|
+
const e = require("./rolldown-runtime-DoYlGkYw.cjs"), t = require("./dist-CdhFHzWb.cjs"), n = require("./useViewerSettingsDialog-jCvoCGBG.cjs"), r = require("./i18n-CvXsJIg8.cjs");
|
|
2
2
|
require("./i18n.cjs");
|
|
3
3
|
let o = require("vue"), a = require("jszip");
|
|
4
4
|
a = e.__toESM(a, 1);
|
|
@@ -90,7 +90,7 @@ var f, g = ["aria-label"], y = { class: "pptx-vue-a11y-panel__header flex items-
|
|
|
90
90
|
var n;
|
|
91
91
|
}), 128))])], 8, S))), 128))])) : ((0, o.openBlock)(), (0, o.createElementBlock)("div", v, [(0, o.createElementVNode)("p", w, (0, o.toDisplayString)((0, o.unref)(i)("pptx.accessibility.noIssuesFound")), 1), (0, o.createElementVNode)("p", k, (0, o.toDisplayString)((0, o.unref)(i)("pptx.accessibility.noIssuesHint")), 1)]))], 8, g));
|
|
92
92
|
}
|
|
93
|
-
}), F = (0, o.defineAsyncComponent)(() => Promise.resolve().then(() => require("./AiChatPanel-
|
|
93
|
+
}), F = (0, o.defineAsyncComponent)(() => Promise.resolve().then(() => require("./AiChatPanel-CVDOmMJT.cjs")));
|
|
94
94
|
function M(e, t, n) {
|
|
95
95
|
function r(n, r) {
|
|
96
96
|
if (n._zod || Object.defineProperty(n, "_zod", {
|
|
@@ -48948,7 +48948,7 @@ var Z3 = { class: "space-y-1" }, q3 = ["title", "onClick"], K3 = { class: "text-
|
|
|
48948
48948
|
(0, o.createElementVNode)("span", $9, (0, o.toDisplayString)(t.drawingWidth), 1)
|
|
48949
48949
|
], 8, O9)])], 64));
|
|
48950
48950
|
}
|
|
48951
|
-
}), X9 = "2.0
|
|
48951
|
+
}), X9 = "2.1.0", G9 = Symbol("pptx-account-auth");
|
|
48952
48952
|
var H9 = { class: "pptx-vue-account mt-8 flex max-w-[760px] flex-col gap-6" }, W9 = { class: "pptx-vue-account-section border border-border bg-card p-6 text-card-foreground" }, Z9 = { class: "text-base font-semibold" }, q9 = { class: "mt-4 flex items-center gap-4" }, K9 = { class: "min-w-0 flex-1" }, Y9 = { class: "block text-xs font-medium text-muted-foreground" }, J9 = ["value", "placeholder"], Q9 = { class: "mt-4" }, e7 = { class: "block text-xs font-medium text-muted-foreground" }, t7 = { class: "mt-2 flex gap-2" }, n7 = [
|
|
48953
48953
|
"aria-pressed",
|
|
48954
48954
|
"aria-label",
|
|
@@ -53418,14 +53418,14 @@ var Loe = { class: "flex items-start gap-3" }, Voe = { class: "flex h-10 w-10 it
|
|
|
53418
53418
|
(_.value || !y.isComplete.value || n.isClickAdvanceAllowed(c.value)) && E();
|
|
53419
53419
|
}
|
|
53420
53420
|
function N() {
|
|
53421
|
-
|
|
53421
|
+
$.hasAnyAnnotations.value && a.value.promptKeepInkAnnotations ? U.value = !0 : i("close");
|
|
53422
53422
|
}
|
|
53423
53423
|
function I() {
|
|
53424
|
-
const e = new Map(
|
|
53425
|
-
|
|
53424
|
+
const e = new Map($.allSlideAnnotations.value);
|
|
53425
|
+
U.value = !1, i("close", { annotations: e });
|
|
53426
53426
|
}
|
|
53427
53427
|
function D() {
|
|
53428
|
-
|
|
53428
|
+
U.value = !1, i("close");
|
|
53429
53429
|
}
|
|
53430
53430
|
const A = (0, o.ref)(null), F = (0, o.ref)(r.startInPresenterView), { isMobile: M, isTouchDevice: L } = n.useIsMobile(), V = function(e) {
|
|
53431
53431
|
const t = (0, o.ref)(""), r = (0, o.ref)(!1), a = (0, o.ref)(n.createInitialPresentationSnapshot(e.currentSlideIndex.value)), i = "undefined" == typeof window ? null : n.parsePresentationSessionId(window.location.hash), l = null !== i;
|
|
@@ -53505,59 +53505,32 @@ var Loe = { class: "flex items-start gap-3" }, Voe = { class: "flex h-10 w-10 it
|
|
|
53505
53505
|
e >= 0 && e < r.slides.length && (s.value = e, i("slide-change", e));
|
|
53506
53506
|
},
|
|
53507
53507
|
onAudienceExit: () => i("close")
|
|
53508
|
-
}), z = (0, o.ref)(!1), { toolbarVisible:
|
|
53508
|
+
}), z = (0, o.ref)(!1), R = (0, o.ref)(!0), { toolbarVisible: O, setToolbarVisible: j } = n.useToolbarAutoHide(), $ = n.usePresentationAnnotations({
|
|
53509
53509
|
isActive: () => !0,
|
|
53510
53510
|
activeSlideIndex: s
|
|
53511
|
-
}),
|
|
53511
|
+
}), U = (0, o.ref)(!1), X = (0, o.computed)(() => {
|
|
53512
53512
|
let e = 0;
|
|
53513
|
-
for (const t of
|
|
53513
|
+
for (const t of $.allSlideAnnotations.value.values()) e += t.length;
|
|
53514
53514
|
return e;
|
|
53515
|
-
}),
|
|
53516
|
-
function
|
|
53517
|
-
"none" !==
|
|
53515
|
+
}), G = (0, o.computed)(() => $.allSlideAnnotations.value.size);
|
|
53516
|
+
function H() {
|
|
53517
|
+
"none" !== $.presentationTool.value || F.value || P();
|
|
53518
53518
|
}
|
|
53519
|
-
function
|
|
53519
|
+
function W(e) {
|
|
53520
53520
|
e > 0 ? E() : B();
|
|
53521
53521
|
}
|
|
53522
|
-
const
|
|
53523
|
-
function W() {
|
|
53524
|
-
H.value = null;
|
|
53525
|
-
}
|
|
53526
|
-
function Z(e) {
|
|
53527
|
-
switch (e.key) {
|
|
53528
|
-
case "Escape":
|
|
53529
|
-
e.preventDefault(), N();
|
|
53530
|
-
return;
|
|
53531
|
-
case "ArrowRight":
|
|
53532
|
-
case "PageDown":
|
|
53533
|
-
case " ":
|
|
53534
|
-
e.preventDefault(), E();
|
|
53535
|
-
return;
|
|
53536
|
-
case "ArrowLeft":
|
|
53537
|
-
case "PageUp":
|
|
53538
|
-
e.preventDefault(), B();
|
|
53539
|
-
return;
|
|
53540
|
-
case "Home":
|
|
53541
|
-
e.preventDefault(), h(0);
|
|
53542
|
-
return;
|
|
53543
|
-
case "End":
|
|
53544
|
-
e.preventDefault(), h(r.slides.length - 1);
|
|
53545
|
-
return;
|
|
53546
|
-
case "c":
|
|
53547
|
-
case "C": e.preventDefault(), z.value = !z.value;
|
|
53548
|
-
}
|
|
53549
|
-
}
|
|
53522
|
+
const Z = (0, o.ref)(null);
|
|
53550
53523
|
function q() {
|
|
53551
|
-
|
|
53524
|
+
Z.value = null;
|
|
53552
53525
|
}
|
|
53553
53526
|
(0, o.watch)(s, (e, t) => {
|
|
53554
53527
|
i("slide-change", e);
|
|
53555
53528
|
const n = r.slides[e], o = n?.transition;
|
|
53556
|
-
o && o.type && "none" !== o.type ?
|
|
53529
|
+
o && o.type && "none" !== o.type ? Z.value = {
|
|
53557
53530
|
outgoing: r.slides[t],
|
|
53558
53531
|
incoming: n,
|
|
53559
53532
|
transition: o
|
|
53560
|
-
} :
|
|
53533
|
+
} : Z.value = null;
|
|
53561
53534
|
}), (0, o.watch)([
|
|
53562
53535
|
y.presentationElementStates,
|
|
53563
53536
|
y.interactiveTriggerShapeIds,
|
|
@@ -53566,37 +53539,90 @@ var Loe = { class: "flex items-start gap-3" }, Voe = { class: "flex h-10 w-10 it
|
|
|
53566
53539
|
], () => {
|
|
53567
53540
|
(0, o.nextTick)(w);
|
|
53568
53541
|
}, { immediate: !0 });
|
|
53569
|
-
const K =
|
|
53570
|
-
function
|
|
53571
|
-
const
|
|
53542
|
+
const K = n.createPresentationKeyBuffer();
|
|
53543
|
+
function Y(e) {
|
|
53544
|
+
const t = V.snapshot.value.blackout;
|
|
53545
|
+
V.updateSnapshot({ blackout: t === e ? "none" : e });
|
|
53546
|
+
}
|
|
53547
|
+
function J(e) {
|
|
53548
|
+
if (!("c" !== e.key && "C" !== e.key || e.ctrlKey || e.metaKey)) return e.preventDefault(), void (z.value = !z.value);
|
|
53549
|
+
const t = n.mapPresentationKey(e, K);
|
|
53550
|
+
if ("none" !== t.action) switch (e.preventDefault(), t.action) {
|
|
53551
|
+
case "end":
|
|
53552
|
+
N();
|
|
53553
|
+
return;
|
|
53554
|
+
case "next":
|
|
53555
|
+
E();
|
|
53556
|
+
return;
|
|
53557
|
+
case "previous":
|
|
53558
|
+
B();
|
|
53559
|
+
return;
|
|
53560
|
+
case "first":
|
|
53561
|
+
h(0);
|
|
53562
|
+
return;
|
|
53563
|
+
case "last":
|
|
53564
|
+
h(r.slides.length - 1);
|
|
53565
|
+
return;
|
|
53566
|
+
case "goto": {
|
|
53567
|
+
const e = t.slideNumber - 1;
|
|
53568
|
+
e >= 0 && e < r.slides.length && h(e);
|
|
53569
|
+
return;
|
|
53570
|
+
}
|
|
53571
|
+
case "pointerTool":
|
|
53572
|
+
$.setPresentationTool("arrow" === t.tool ? "none" : t.tool);
|
|
53573
|
+
return;
|
|
53574
|
+
case "eraseAnnotations":
|
|
53575
|
+
$.clearAnnotations();
|
|
53576
|
+
return;
|
|
53577
|
+
case "toggleInkMarkup":
|
|
53578
|
+
R.value = !R.value;
|
|
53579
|
+
return;
|
|
53580
|
+
case "toggleChrome":
|
|
53581
|
+
j(!O.value);
|
|
53582
|
+
return;
|
|
53583
|
+
case "toggleBlackScreen":
|
|
53584
|
+
Y("black");
|
|
53585
|
+
return;
|
|
53586
|
+
case "toggleWhiteScreen":
|
|
53587
|
+
Y("white");
|
|
53588
|
+
return;
|
|
53589
|
+
case "showAllSlides": F.value = !0;
|
|
53590
|
+
}
|
|
53591
|
+
}
|
|
53592
|
+
function Q() {
|
|
53593
|
+
d.value = window.innerWidth, p.value = window.innerHeight;
|
|
53594
|
+
}
|
|
53595
|
+
const ee = (0, o.ref)(null), te = (0, o.ref)(1);
|
|
53596
|
+
function ne() {
|
|
53597
|
+
const e = ee.value;
|
|
53572
53598
|
if (e && "function" == typeof e.requestFullscreen) try {
|
|
53573
53599
|
e.requestFullscreen().catch(() => {});
|
|
53574
53600
|
} catch {}
|
|
53575
53601
|
}
|
|
53576
53602
|
return n.useTouchGestures({
|
|
53577
|
-
targetRef:
|
|
53578
|
-
currentScale:
|
|
53603
|
+
targetRef: ee,
|
|
53604
|
+
currentScale: te,
|
|
53579
53605
|
minScale: 1,
|
|
53580
53606
|
maxScale: 1,
|
|
53581
53607
|
callbacks: { onSwipe: (e) => {
|
|
53582
53608
|
1 === e ? B() : P();
|
|
53583
53609
|
} }
|
|
53584
53610
|
}), (0, o.onMounted)(() => {
|
|
53585
|
-
if (A.value = Date.now(), window.addEventListener("keydown",
|
|
53586
|
-
const e = () =>
|
|
53611
|
+
if (A.value = Date.now(), window.addEventListener("keydown", J), window.addEventListener("resize", Q), Q(), ne(), V.isAudience) {
|
|
53612
|
+
const e = () => ne();
|
|
53587
53613
|
document.addEventListener("pointerdown", e, { once: !0 }), document.addEventListener("keydown", e, { once: !0 });
|
|
53588
53614
|
}
|
|
53589
53615
|
}), (0, o.onBeforeUnmount)(() => {
|
|
53590
|
-
window.removeEventListener("keydown",
|
|
53616
|
+
window.removeEventListener("keydown", J), window.removeEventListener("resize", Q), function() {
|
|
53591
53617
|
if ("undefined" != typeof document) try {
|
|
53592
53618
|
document.fullscreenElement && "function" == typeof document.exitFullscreen && document.exitFullscreen().catch(() => {});
|
|
53593
53619
|
} catch {}
|
|
53594
53620
|
}();
|
|
53595
53621
|
}), (t, r) => ((0, o.openBlock)(), (0, o.createBlock)(o.Teleport, { to: "body" }, [(0, o.createElementVNode)("div", {
|
|
53596
53622
|
ref_key: "overlayRef",
|
|
53597
|
-
ref:
|
|
53623
|
+
ref: ee,
|
|
53598
53624
|
class: "pptx-vue-presentation",
|
|
53599
|
-
onClick:
|
|
53625
|
+
onClick: H
|
|
53600
53626
|
}, [
|
|
53601
53627
|
((0, o.openBlock)(), (0, o.createBlock)((0, o.resolveDynamicComponent)("style"), null, {
|
|
53602
53628
|
default: (0, o.withCtx)(() => [(0, o.createTextVNode)((0, o.toDisplayString)((0, o.unref)(n.ANIMATION_KEYFRAMES_CSS)) + (0, o.toDisplayString)((0, o.unref)(b)), 1)]),
|
|
@@ -53623,19 +53649,20 @@ var Loe = { class: "flex items-start gap-3" }, Voe = { class: "flex h-10 w-10 it
|
|
|
53623
53649
|
"media-data-urls",
|
|
53624
53650
|
"scale"
|
|
53625
53651
|
]),
|
|
53626
|
-
(0, o.
|
|
53652
|
+
R.value ? ((0, o.openBlock)(), (0, o.createBlock)(uae, {
|
|
53653
|
+
key: 0,
|
|
53627
53654
|
"canvas-size": e.canvasSize,
|
|
53628
53655
|
"editor-scale": u.value,
|
|
53629
|
-
"presentation-tool": (0, o.unref)(
|
|
53630
|
-
"annotation-strokes": (0, o.unref)(
|
|
53631
|
-
"current-stroke": (0, o.unref)(
|
|
53632
|
-
"laser-position": (0, o.unref)(
|
|
53633
|
-
onPointerDown: (0, o.unref)(
|
|
53634
|
-
onPointerMove: (0, o.unref)(
|
|
53635
|
-
onPointerUp: (0, o.unref)(
|
|
53636
|
-
onLaserMove: (0, o.unref)(
|
|
53637
|
-
onLaserLeave: (0, o.unref)(
|
|
53638
|
-
onErase: (0, o.unref)(
|
|
53656
|
+
"presentation-tool": (0, o.unref)($).presentationTool.value,
|
|
53657
|
+
"annotation-strokes": (0, o.unref)($).annotationStrokes.value,
|
|
53658
|
+
"current-stroke": (0, o.unref)($).currentStroke.value,
|
|
53659
|
+
"laser-position": (0, o.unref)($).laserPosition.value,
|
|
53660
|
+
onPointerDown: (0, o.unref)($).handlePointerDown,
|
|
53661
|
+
onPointerMove: (0, o.unref)($).handlePointerMove,
|
|
53662
|
+
onPointerUp: (0, o.unref)($).handlePointerUp,
|
|
53663
|
+
onLaserMove: (0, o.unref)($).handleLaserMove,
|
|
53664
|
+
onLaserLeave: (0, o.unref)($).handleLaserLeave,
|
|
53665
|
+
onErase: (0, o.unref)($).eraseAtPoint
|
|
53639
53666
|
}, null, 8, [
|
|
53640
53667
|
"canvas-size",
|
|
53641
53668
|
"editor-scale",
|
|
@@ -53649,16 +53676,16 @@ var Loe = { class: "flex items-start gap-3" }, Voe = { class: "flex h-10 w-10 it
|
|
|
53649
53676
|
"onLaserMove",
|
|
53650
53677
|
"onLaserLeave",
|
|
53651
53678
|
"onErase"
|
|
53652
|
-
]),
|
|
53653
|
-
|
|
53654
|
-
key:
|
|
53655
|
-
"outgoing-slide":
|
|
53656
|
-
"incoming-slide":
|
|
53679
|
+
])) : (0, o.createCommentVNode)("", !0),
|
|
53680
|
+
Z.value ? ((0, o.openBlock)(), (0, o.createBlock)(Zae, {
|
|
53681
|
+
key: 1,
|
|
53682
|
+
"outgoing-slide": Z.value.outgoing,
|
|
53683
|
+
"incoming-slide": Z.value.incoming,
|
|
53657
53684
|
"canvas-size": e.canvasSize,
|
|
53658
53685
|
"media-data-urls": e.mediaDataUrls,
|
|
53659
53686
|
scale: u.value,
|
|
53660
|
-
transition:
|
|
53661
|
-
onDone:
|
|
53687
|
+
transition: Z.value.transition,
|
|
53688
|
+
onDone: q
|
|
53662
53689
|
}, null, 8, [
|
|
53663
53690
|
"outgoing-slide",
|
|
53664
53691
|
"incoming-slide",
|
|
@@ -53691,7 +53718,7 @@ var Loe = { class: "flex items-start gap-3" }, Voe = { class: "flex h-10 w-10 it
|
|
|
53691
53718
|
"media-data-urls": e.mediaDataUrls,
|
|
53692
53719
|
"presentation-start-time": A.value,
|
|
53693
53720
|
onClick: r[0] || (r[0] = (0, o.withModifiers)(() => {}, ["stop"])),
|
|
53694
|
-
onMove:
|
|
53721
|
+
onMove: W,
|
|
53695
53722
|
onExit: r[1] || (r[1] = (e) => F.value = !1)
|
|
53696
53723
|
}, null, 8, [
|
|
53697
53724
|
"slides",
|
|
@@ -53709,7 +53736,7 @@ var Loe = { class: "flex items-start gap-3" }, Voe = { class: "flex h-10 w-10 it
|
|
|
53709
53736
|
"audience-open": (0, o.unref)(V).audienceOpen.value,
|
|
53710
53737
|
snapshot: (0, o.unref)(V).snapshot.value,
|
|
53711
53738
|
onClick: r[2] || (r[2] = (0, o.withModifiers)(() => {}, ["stop"])),
|
|
53712
|
-
onMove:
|
|
53739
|
+
onMove: W,
|
|
53713
53740
|
onOpenAudience: (0, o.unref)(V).openAudience,
|
|
53714
53741
|
onCloseAudience: (0, o.unref)(V).closeAudience,
|
|
53715
53742
|
onNavigate: h,
|
|
@@ -53739,27 +53766,27 @@ var Loe = { class: "flex items-start gap-3" }, Voe = { class: "flex h-10 w-10 it
|
|
|
53739
53766
|
(0, o.createVNode)(Gae, {
|
|
53740
53767
|
"current-slide-index": s.value,
|
|
53741
53768
|
"total-slides": e.slides.length,
|
|
53742
|
-
onMove:
|
|
53769
|
+
onMove: W,
|
|
53743
53770
|
onEnd: N
|
|
53744
53771
|
}, null, 8, ["current-slide-index", "total-slides"]),
|
|
53745
53772
|
(0, o.createElementVNode)("div", {
|
|
53746
|
-
class: (0, o.normalizeClass)(["pptx-vue-presentation-toolbar-slot", { "is-visible": (0, o.unref)(
|
|
53773
|
+
class: (0, o.normalizeClass)(["pptx-vue-presentation-toolbar-slot", { "is-visible": (0, o.unref)(O) }]),
|
|
53747
53774
|
onClick: r[7] || (r[7] = (0, o.withModifiers)(() => {}, ["stop"]))
|
|
53748
53775
|
}, [(0, o.createVNode)(Rae, {
|
|
53749
|
-
"presentation-tool": (0, o.unref)(
|
|
53750
|
-
"pen-color": (0, o.unref)(
|
|
53751
|
-
"highlighter-color": (0, o.unref)(
|
|
53752
|
-
"has-annotations": (0, o.unref)(
|
|
53776
|
+
"presentation-tool": (0, o.unref)($).presentationTool.value,
|
|
53777
|
+
"pen-color": (0, o.unref)($).penColor.value,
|
|
53778
|
+
"highlighter-color": (0, o.unref)($).highlighterColor.value,
|
|
53779
|
+
"has-annotations": (0, o.unref)($).hasAnyAnnotations.value,
|
|
53753
53780
|
"current-slide-index": s.value,
|
|
53754
53781
|
"total-slides": e.slides.length,
|
|
53755
53782
|
"presentation-start-time": A.value,
|
|
53756
53783
|
"presenter-mode": F.value,
|
|
53757
53784
|
"show-presenter-toggle": !0,
|
|
53758
|
-
onSetTool: (0, o.unref)(
|
|
53759
|
-
onSetPenColor: (0, o.unref)(
|
|
53760
|
-
onSetHighlighterColor: (0, o.unref)(
|
|
53761
|
-
onClearAnnotations: (0, o.unref)(
|
|
53762
|
-
onMove:
|
|
53785
|
+
onSetTool: (0, o.unref)($).setPresentationTool,
|
|
53786
|
+
onSetPenColor: (0, o.unref)($).setPenColor,
|
|
53787
|
+
onSetHighlighterColor: (0, o.unref)($).setHighlighterColor,
|
|
53788
|
+
onClearAnnotations: (0, o.unref)($).clearAnnotations,
|
|
53789
|
+
onMove: W,
|
|
53763
53790
|
onEndPresentation: N,
|
|
53764
53791
|
onTogglePresenterView: r[6] || (r[6] = (e) => F.value = !F.value)
|
|
53765
53792
|
}, null, 8, [
|
|
@@ -53777,9 +53804,9 @@ var Loe = { class: "flex items-start gap-3" }, Voe = { class: "flex h-10 w-10 it
|
|
|
53777
53804
|
"onClearAnnotations"
|
|
53778
53805
|
])], 2),
|
|
53779
53806
|
(0, o.createVNode)(Ooe, {
|
|
53780
|
-
open:
|
|
53781
|
-
"annotation-count":
|
|
53782
|
-
"slide-count":
|
|
53807
|
+
open: U.value,
|
|
53808
|
+
"annotation-count": X.value,
|
|
53809
|
+
"slide-count": G.value,
|
|
53783
53810
|
onKeep: I,
|
|
53784
53811
|
onDiscard: D
|
|
53785
53812
|
}, null, 8, [
|
|
@@ -53789,7 +53816,7 @@ var Loe = { class: "flex items-start gap-3" }, Voe = { class: "flex h-10 w-10 it
|
|
|
53789
53816
|
])
|
|
53790
53817
|
], 512)]));
|
|
53791
53818
|
}
|
|
53792
|
-
}), [["__scopeId", "data-v-
|
|
53819
|
+
}), [["__scopeId", "data-v-7039fa6e"]]), $ie = { class: "pptx-vue-print-settings flex min-w-0 flex-1 flex-col gap-5" }, Uie = { class: "pptx-vue-print-fieldset m-0 border-none p-0" }, Xie = { class: "pptx-vue-print-legend mb-2 p-0 text-xs font-medium uppercase tracking-wide text-muted-foreground" }, Gie = { class: "pptx-vue-print-grid grid grid-cols-2 gap-2" }, Hie = ["checked", "onChange"], Wie = {
|
|
53793
53820
|
key: 0,
|
|
53794
53821
|
class: "pptx-vue-print-fieldset m-0 border-none p-0"
|
|
53795
53822
|
}, Zie = { class: "pptx-vue-print-legend mb-2 p-0 text-xs font-medium uppercase tracking-wide text-muted-foreground" }, qie = { class: "pptx-vue-print-chips flex flex-wrap gap-1.5" }, Kie = ["onClick"], Yie = { class: "pptx-vue-print-fieldset m-0 border-none p-0" }, Jie = { class: "pptx-vue-print-legend mb-2 p-0 text-xs font-medium uppercase tracking-wide text-muted-foreground" }, Qie = { class: "pptx-vue-print-stack flex flex-col gap-2" }, ele = ["checked"], tle = ["checked"], nle = ["checked"], rle = {
|
|
Binary file
|
|
Binary file
|