pptx-vue-viewer 2.20.0 → 2.20.2
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 +17 -0
- package/dist/{AiChatPanel-Dx2dk1rl.cjs → AiChatPanel-Cj3Na-kH.cjs} +1 -1
- package/dist/AiChatPanel-Cj3Na-kH.cjs.br +0 -0
- package/dist/AiChatPanel-Cj3Na-kH.cjs.gz +0 -0
- package/dist/{AiChatPanel-Bz3r8n3e.js → AiChatPanel-FjRxapvZ.js} +2 -2
- package/dist/AiChatPanel-FjRxapvZ.js.br +0 -0
- package/dist/AiChatPanel-FjRxapvZ.js.gz +0 -0
- package/dist/gif-encoder-CC9WPa91.cjs +2 -0
- package/dist/gif-encoder-CC9WPa91.cjs.br +0 -0
- package/dist/gif-encoder-CC9WPa91.cjs.gz +0 -0
- package/dist/gif-encoder-bCFZDskO.js +2 -0
- package/dist/gif-encoder-bCFZDskO.js.br +0 -0
- package/dist/gif-encoder-bCFZDskO.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-XzXbxJXB.js → useViewerSettingsDialog-DZGoJp-j.js} +3309 -3259
- package/dist/useViewerSettingsDialog-DZGoJp-j.js.br +0 -0
- package/dist/useViewerSettingsDialog-DZGoJp-j.js.gz +0 -0
- package/dist/{useViewerSettingsDialog-doOHioJ6.cjs → useViewerSettingsDialog-Dg1M2ALq.cjs} +3875 -3815
- package/dist/useViewerSettingsDialog-Dg1M2ALq.cjs.br +0 -0
- package/dist/useViewerSettingsDialog-Dg1M2ALq.cjs.gz +0 -0
- package/dist/viewer/components/PresentationTransitionOverlay.vue.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-CB11GPcM.js → viewer-B55K4CAz.js} +9618 -9560
- package/dist/viewer-B55K4CAz.js.br +0 -0
- package/dist/viewer-B55K4CAz.js.gz +0 -0
- package/dist/{viewer-Px2AOVRb.cjs → viewer-pJzQchvM.cjs} +316 -258
- package/dist/viewer-pJzQchvM.cjs.br +0 -0
- package/dist/viewer-pJzQchvM.cjs.gz +0 -0
- package/package.json +1 -1
- package/dist/AiChatPanel-Bz3r8n3e.js.br +0 -0
- package/dist/AiChatPanel-Bz3r8n3e.js.gz +0 -0
- package/dist/AiChatPanel-Dx2dk1rl.cjs.br +0 -0
- package/dist/AiChatPanel-Dx2dk1rl.cjs.gz +0 -0
- package/dist/gif-encoder-BcKwvPbL.js +0 -2
- package/dist/gif-encoder-BcKwvPbL.js.br +0 -0
- package/dist/gif-encoder-BcKwvPbL.js.gz +0 -0
- package/dist/gif-encoder-CBO1WHB1.cjs +0 -2
- package/dist/gif-encoder-CBO1WHB1.cjs.br +0 -0
- package/dist/gif-encoder-CBO1WHB1.cjs.gz +0 -0
- package/dist/useViewerSettingsDialog-XzXbxJXB.js.br +0 -0
- package/dist/useViewerSettingsDialog-XzXbxJXB.js.gz +0 -0
- package/dist/useViewerSettingsDialog-doOHioJ6.cjs.br +0 -0
- package/dist/useViewerSettingsDialog-doOHioJ6.cjs.gz +0 -0
- package/dist/viewer-CB11GPcM.js.br +0 -0
- package/dist/viewer-CB11GPcM.js.gz +0 -0
- package/dist/viewer-Px2AOVRb.cjs.br +0 -0
- package/dist/viewer-Px2AOVRb.cjs.gz +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const e = require("./rolldown-runtime-DoYlGkYw.cjs"), t = require("./dist-DBct2JJI.cjs"), n = require("./useViewerSettingsDialog-
|
|
1
|
+
const e = require("./rolldown-runtime-DoYlGkYw.cjs"), t = require("./dist-DBct2JJI.cjs"), n = require("./useViewerSettingsDialog-Dg1M2ALq.cjs"), o = require("./i18n-DY6sSyww.cjs");
|
|
2
2
|
require("./i18n.cjs");
|
|
3
3
|
let a = require("vue"), r = require("lucide-vue-next"), l = require("clsx"), i = require("tailwind-merge");
|
|
4
4
|
var s = Symbol("pptx-viewer-theme");
|
|
@@ -5704,7 +5704,7 @@ var Ci = ["disabled", "title"], Bi = ["disabled", "title"], Ni = ["title"], Vi =
|
|
|
5704
5704
|
(0, a.createElementVNode)("span", Ai, (0, a.toDisplayString)(t.drawingWidth), 1)
|
|
5705
5705
|
], 8, Pi)])], 64));
|
|
5706
5706
|
}
|
|
5707
|
-
}), Oi = "2.
|
|
5707
|
+
}), Oi = "2.20.1", Li = Symbol("pptx-account-auth");
|
|
5708
5708
|
var Ri = { class: "pptx-vue-account mt-8 flex max-w-[760px] flex-col gap-6" }, $i = { class: "pptx-vue-account-section border border-border bg-card p-6 text-card-foreground" }, Ui = { class: "text-base font-semibold" }, ji = { class: "mt-4 flex items-center gap-4" }, Ki = { class: "min-w-0 flex-1" }, Hi = { class: "block text-xs font-medium text-muted-foreground" }, Zi = ["value", "placeholder"], Gi = { class: "mt-4" }, Wi = { class: "block text-xs font-medium text-muted-foreground" }, qi = { class: "mt-2 flex gap-2" }, Xi = [
|
|
5709
5709
|
"aria-pressed",
|
|
5710
5710
|
"aria-label",
|
|
@@ -31633,7 +31633,7 @@ var a4 = { class: "flex items-start gap-3" }, r4 = { class: "flex h-10 w-10 item
|
|
|
31633
31633
|
}), [["__scopeId", "data-v-018d09f2"]]), d5 = {
|
|
31634
31634
|
class: "pptx-vue-transition-overlay",
|
|
31635
31635
|
"data-pptx-transition-overlay": ""
|
|
31636
|
-
}, p5 = ["data-pptx-morph-outgoing"], u5 = ["data-pptx-morph-incoming"], m5 = ae((0, a.defineComponent)({
|
|
31636
|
+
}, p5 = ["data-pptx-morph-outgoing"], u5 = ["data-pptx-morph-incoming"], m5 = ["data-pptx-morph-crossfade"], f5 = ae((0, a.defineComponent)({
|
|
31637
31637
|
__name: "PresentationTransitionOverlay",
|
|
31638
31638
|
props: {
|
|
31639
31639
|
outgoingSlide: {},
|
|
@@ -31658,41 +31658,60 @@ var a4 = { class: "flex items-start gap-3" }, r4 = { class: "flex h-10 w-10 item
|
|
|
31658
31658
|
elements: e.overlayIncomingElements
|
|
31659
31659
|
};
|
|
31660
31660
|
}), p = (0, a.computed)(() => {
|
|
31661
|
+
const e = s.value;
|
|
31662
|
+
if (!e || !o.outgoingSlide || !o.incomingSlide) return [];
|
|
31663
|
+
const t = o.outgoingSlide, a = o.incomingSlide;
|
|
31664
|
+
return e.crossfadeGroups.map((e, o) => ({
|
|
31665
|
+
key: e.incoming.id,
|
|
31666
|
+
style: {
|
|
31667
|
+
...n.MORPH_CROSSFADE_GROUP_STYLE,
|
|
31668
|
+
zIndex: 4 + o
|
|
31669
|
+
},
|
|
31670
|
+
outgoingSlide: {
|
|
31671
|
+
...t,
|
|
31672
|
+
elements: [e.outgoing]
|
|
31673
|
+
},
|
|
31674
|
+
incomingSlide: {
|
|
31675
|
+
...a,
|
|
31676
|
+
elements: [e.incoming]
|
|
31677
|
+
}
|
|
31678
|
+
}));
|
|
31679
|
+
}), u = { mixBlendMode: n.MORPH_CROSSFADE_HALF_BLEND_MODE }, m = (0, a.computed)(() => {
|
|
31661
31680
|
const e = s.value;
|
|
31662
31681
|
return e ? [
|
|
31663
31682
|
n.buildMorphScopedCss(e, "data-pptx-morph-incoming", "incoming"),
|
|
31664
31683
|
n.buildMorphScopedCss(e, "data-pptx-morph-outgoing", "outgoing"),
|
|
31665
31684
|
n.buildMorphScopedCss(e, "data-pptx-morph-lifted", "lifted")
|
|
31666
31685
|
].join("\n") : "";
|
|
31667
|
-
}),
|
|
31668
|
-
zIndex: s.value ? 2 :
|
|
31686
|
+
}), f = (0, a.computed)(() => l.value.outgoingOnTop ? 2 : 1), v = (0, a.computed)(() => l.value.outgoingOnTop ? 1 : 2), g = (0, a.computed)(() => ({
|
|
31687
|
+
zIndex: s.value ? 2 : f.value,
|
|
31669
31688
|
animation: s.value ? void 0 : "none" !== l.value.outgoing ? l.value.outgoing : void 0
|
|
31670
|
-
})),
|
|
31671
|
-
zIndex: s.value ? 1 :
|
|
31689
|
+
})), x = (0, a.computed)(() => ({ zIndex: 3 })), h = (0, a.computed)(() => ({
|
|
31690
|
+
zIndex: s.value ? 1 : v.value,
|
|
31672
31691
|
animation: s.value ? void 0 : "none" !== l.value.incoming ? l.value.incoming : void 0
|
|
31673
31692
|
}));
|
|
31674
|
-
let
|
|
31693
|
+
let y = null;
|
|
31675
31694
|
return (0, a.onMounted)(() => {
|
|
31676
31695
|
const e = Math.max(0, i.value) + 50;
|
|
31677
|
-
|
|
31678
|
-
|
|
31696
|
+
y = setTimeout(() => {
|
|
31697
|
+
y = null, r("done");
|
|
31679
31698
|
}, e);
|
|
31680
31699
|
}), (0, a.onBeforeUnmount)(function() {
|
|
31681
|
-
null !==
|
|
31700
|
+
null !== y && (clearTimeout(y), y = null);
|
|
31682
31701
|
}), (t, o) => ((0, a.openBlock)(), (0, a.createElementBlock)("div", d5, [
|
|
31683
31702
|
((0, a.openBlock)(), (0, a.createBlock)((0, a.resolveDynamicComponent)("style"), null, {
|
|
31684
31703
|
default: (0, a.withCtx)(() => [(0, a.createTextVNode)((0, a.toDisplayString)((0, a.unref)(n.SLIDE_TRANSITION_KEYFRAMES_CSS)), 1)]),
|
|
31685
31704
|
_: 1
|
|
31686
31705
|
})),
|
|
31687
31706
|
s.value ? ((0, a.openBlock)(), (0, a.createBlock)((0, a.resolveDynamicComponent)("style"), { key: 0 }, {
|
|
31688
|
-
default: (0, a.withCtx)(() => [(0, a.createTextVNode)((0, a.toDisplayString)(
|
|
31707
|
+
default: (0, a.withCtx)(() => [(0, a.createTextVNode)((0, a.toDisplayString)(m.value), 1)]),
|
|
31689
31708
|
_: 1
|
|
31690
31709
|
})) : (0, a.createCommentVNode)("", !0),
|
|
31691
31710
|
(0, a.createElementVNode)("div", {
|
|
31692
31711
|
class: "pptx-vue-transition-layer",
|
|
31693
31712
|
"data-pptx-transition-layer": "outgoing",
|
|
31694
31713
|
"data-pptx-morph-outgoing": s.value ? "true" : void 0,
|
|
31695
|
-
style: (0, a.normalizeStyle)(
|
|
31714
|
+
style: (0, a.normalizeStyle)(g.value)
|
|
31696
31715
|
}, [(0, a.createVNode)(mr, {
|
|
31697
31716
|
slide: s.value ? c.value : e.outgoingSlide,
|
|
31698
31717
|
"canvas-size": e.canvasSize,
|
|
@@ -31712,7 +31731,7 @@ var a4 = { class: "flex items-start gap-3" }, r4 = { class: "flex h-10 w-10 item
|
|
|
31712
31731
|
class: "pptx-vue-transition-layer",
|
|
31713
31732
|
"data-pptx-transition-layer": "incoming",
|
|
31714
31733
|
"data-pptx-morph-incoming": s.value ? "true" : void 0,
|
|
31715
|
-
style: (0, a.normalizeStyle)(
|
|
31734
|
+
style: (0, a.normalizeStyle)(h.value)
|
|
31716
31735
|
}, [(0, a.createVNode)(mr, {
|
|
31717
31736
|
slide: e.incomingSlide,
|
|
31718
31737
|
"canvas-size": e.canvasSize,
|
|
@@ -31731,7 +31750,7 @@ var a4 = { class: "flex items-start gap-3" }, r4 = { class: "flex h-10 w-10 item
|
|
|
31731
31750
|
class: "pptx-vue-transition-layer",
|
|
31732
31751
|
"data-pptx-transition-layer": "lifted",
|
|
31733
31752
|
"data-pptx-morph-lifted": "true",
|
|
31734
|
-
style: (0, a.normalizeStyle)(
|
|
31753
|
+
style: (0, a.normalizeStyle)(x.value)
|
|
31735
31754
|
}, [(0, a.createVNode)(mr, {
|
|
31736
31755
|
slide: d.value,
|
|
31737
31756
|
"canvas-size": e.canvasSize,
|
|
@@ -31744,11 +31763,50 @@ var a4 = { class: "flex items-start gap-3" }, r4 = { class: "flex h-10 w-10 item
|
|
|
31744
31763
|
"canvas-size",
|
|
31745
31764
|
"media-data-urls",
|
|
31746
31765
|
"scale"
|
|
31747
|
-
])], 4)) : (0, a.createCommentVNode)("", !0)
|
|
31766
|
+
])], 4)) : (0, a.createCommentVNode)("", !0),
|
|
31767
|
+
((0, a.openBlock)(!0), (0, a.createElementBlock)(a.Fragment, null, (0, a.renderList)(p.value, (t) => ((0, a.openBlock)(), (0, a.createElementBlock)("div", {
|
|
31768
|
+
key: t.key,
|
|
31769
|
+
"data-pptx-morph-crossfade": t.key,
|
|
31770
|
+
style: (0, a.normalizeStyle)(t.style)
|
|
31771
|
+
}, [(0, a.createElementVNode)("div", {
|
|
31772
|
+
class: "pptx-vue-transition-layer",
|
|
31773
|
+
"data-pptx-transition-layer": "outgoing",
|
|
31774
|
+
"data-pptx-morph-outgoing": "true",
|
|
31775
|
+
style: u
|
|
31776
|
+
}, [(0, a.createVNode)(mr, {
|
|
31777
|
+
slide: t.outgoingSlide,
|
|
31778
|
+
"canvas-size": e.canvasSize,
|
|
31779
|
+
"media-data-urls": e.mediaDataUrls,
|
|
31780
|
+
scale: e.scale,
|
|
31781
|
+
"preserve-element-ids": "",
|
|
31782
|
+
"transparent-background": ""
|
|
31783
|
+
}, null, 8, [
|
|
31784
|
+
"slide",
|
|
31785
|
+
"canvas-size",
|
|
31786
|
+
"media-data-urls",
|
|
31787
|
+
"scale"
|
|
31788
|
+
])]), (0, a.createElementVNode)("div", {
|
|
31789
|
+
class: "pptx-vue-transition-layer",
|
|
31790
|
+
"data-pptx-transition-layer": "lifted",
|
|
31791
|
+
"data-pptx-morph-lifted": "true",
|
|
31792
|
+
style: u
|
|
31793
|
+
}, [(0, a.createVNode)(mr, {
|
|
31794
|
+
slide: t.incomingSlide,
|
|
31795
|
+
"canvas-size": e.canvasSize,
|
|
31796
|
+
"media-data-urls": e.mediaDataUrls,
|
|
31797
|
+
scale: e.scale,
|
|
31798
|
+
"preserve-element-ids": "",
|
|
31799
|
+
"transparent-background": ""
|
|
31800
|
+
}, null, 8, [
|
|
31801
|
+
"slide",
|
|
31802
|
+
"canvas-size",
|
|
31803
|
+
"media-data-urls",
|
|
31804
|
+
"scale"
|
|
31805
|
+
])])], 12, m5))), 128))
|
|
31748
31806
|
]));
|
|
31749
31807
|
}
|
|
31750
|
-
}), [["__scopeId", "data-v-
|
|
31751
|
-
var
|
|
31808
|
+
}), [["__scopeId", "data-v-9f2c888c"]]);
|
|
31809
|
+
var v5 = {
|
|
31752
31810
|
"arrow-left-right": r.ArrowLeftRight,
|
|
31753
31811
|
captions: r.Captions,
|
|
31754
31812
|
"circle-pause": r.CirclePause,
|
|
@@ -31765,22 +31823,22 @@ var f5 = {
|
|
|
31765
31823
|
x: r.X,
|
|
31766
31824
|
"zoom-in": r.ZoomIn,
|
|
31767
31825
|
"zoom-out": r.ZoomOut
|
|
31768
|
-
},
|
|
31826
|
+
}, g5 = {
|
|
31769
31827
|
laser: "laser",
|
|
31770
31828
|
pen: "pen",
|
|
31771
31829
|
highlighter: "highlighter",
|
|
31772
31830
|
eraser: "eraser"
|
|
31773
|
-
},
|
|
31831
|
+
}, x5 = {
|
|
31774
31832
|
"blackout-black": "black",
|
|
31775
31833
|
"blackout-white": "white"
|
|
31776
31834
|
};
|
|
31777
|
-
function x5(e) {
|
|
31778
|
-
return v5[e];
|
|
31779
|
-
}
|
|
31780
31835
|
function h5(e) {
|
|
31781
31836
|
return g5[e];
|
|
31782
31837
|
}
|
|
31783
|
-
function y5(e
|
|
31838
|
+
function y5(e) {
|
|
31839
|
+
return x5[e];
|
|
31840
|
+
}
|
|
31841
|
+
function b5(e, t) {
|
|
31784
31842
|
return n.PRESENTER_CONSOLE_CONTROLS.map((n) => {
|
|
31785
31843
|
const o = function(e, t, n) {
|
|
31786
31844
|
switch (e.id) {
|
|
@@ -31789,31 +31847,31 @@ function y5(e, t) {
|
|
|
31789
31847
|
case "captions": return !0 === t.subtitlesVisible;
|
|
31790
31848
|
case "audience": return n;
|
|
31791
31849
|
}
|
|
31792
|
-
const o =
|
|
31850
|
+
const o = y5(e.id);
|
|
31793
31851
|
if (void 0 !== o) return t.blackout === o;
|
|
31794
|
-
const a =
|
|
31852
|
+
const a = h5(e.id);
|
|
31795
31853
|
return void 0 !== a && (t.pointer?.tool ?? "none") === a;
|
|
31796
31854
|
}(n, e, t), a = o && void 0 !== n.activeIcon ? n.activeIcon : n.icon, r = o && void 0 !== n.activeLabelKey ? n.activeLabelKey : n.labelKey;
|
|
31797
31855
|
return {
|
|
31798
31856
|
id: n.id,
|
|
31799
31857
|
kind: n.kind,
|
|
31800
31858
|
labelKey: r ?? "",
|
|
31801
|
-
icon: (void 0 === a ? void 0 :
|
|
31859
|
+
icon: (void 0 === a ? void 0 : v5[a]) ?? null,
|
|
31802
31860
|
glyph: n.glyph ?? null,
|
|
31803
31861
|
active: o
|
|
31804
31862
|
};
|
|
31805
31863
|
});
|
|
31806
31864
|
}
|
|
31807
|
-
var
|
|
31865
|
+
var k5 = Object.fromEntries(n.PRESENTER_RAIL_CONTROLS.map((e) => [e.id, e.labelKey])), E5 = [
|
|
31808
31866
|
"data-pptx-presenter-control",
|
|
31809
31867
|
"aria-label",
|
|
31810
31868
|
"title",
|
|
31811
31869
|
"aria-pressed",
|
|
31812
31870
|
"onClick"
|
|
31813
|
-
],
|
|
31871
|
+
], S5 = {
|
|
31814
31872
|
key: 1,
|
|
31815
31873
|
"aria-hidden": "true"
|
|
31816
|
-
},
|
|
31874
|
+
}, w5 = (0, a.defineComponent)({
|
|
31817
31875
|
__name: "PresenterControlStrip",
|
|
31818
31876
|
props: {
|
|
31819
31877
|
snapshot: {},
|
|
@@ -31833,7 +31891,7 @@ var b5 = Object.fromEntries(n.PRESENTER_RAIL_CONTROLS.map((e) => [e.id, e.labelK
|
|
|
31833
31891
|
"tool"
|
|
31834
31892
|
],
|
|
31835
31893
|
setup(e, { emit: t }) {
|
|
31836
|
-
const o = e, r = t, { t: l } = n.useI18n(), i = n.PRESENTER_CONSOLE_CLASSES, s = (0, a.computed)(() =>
|
|
31894
|
+
const o = e, r = t, { t: l } = n.useI18n(), i = n.PRESENTER_CONSOLE_CLASSES, s = (0, a.computed)(() => b5(o.snapshot, o.audienceOpen));
|
|
31837
31895
|
return (e, t) => ((0, a.openBlock)(), (0, a.createElementBlock)("div", {
|
|
31838
31896
|
class: (0, a.normalizeClass)(["pptx-vue-presenter-strip", (0, a.unref)(i).strip]),
|
|
31839
31897
|
"data-pptx-presenter-strip": ""
|
|
@@ -31853,9 +31911,9 @@ var b5 = Object.fromEntries(n.PRESENTER_RAIL_CONTROLS.map((e) => [e.id, e.labelK
|
|
|
31853
31911
|
title: (0, a.unref)(l)(e.labelKey),
|
|
31854
31912
|
"aria-pressed": "toggle" === e.kind ? e.active : void 0,
|
|
31855
31913
|
onClick: (t) => function(e) {
|
|
31856
|
-
const t =
|
|
31914
|
+
const t = h5(e.id);
|
|
31857
31915
|
if (void 0 !== t) return void r("tool", e.active ? "none" : t);
|
|
31858
|
-
const n =
|
|
31916
|
+
const n = y5(e.id);
|
|
31859
31917
|
if (void 0 === n) switch (e.id) {
|
|
31860
31918
|
case "timer-toggle":
|
|
31861
31919
|
r("timer");
|
|
@@ -31892,37 +31950,37 @@ var b5 = Object.fromEntries(n.PRESENTER_RAIL_CONTROLS.map((e) => [e.id, e.labelK
|
|
|
31892
31950
|
key: 0,
|
|
31893
31951
|
class: "h-4 w-4",
|
|
31894
31952
|
"aria-hidden": "true"
|
|
31895
|
-
})) : (0, a.createCommentVNode)("", !0), e.glyph ? ((0, a.openBlock)(), (0, a.createElementBlock)("span",
|
|
31953
|
+
})) : (0, a.createCommentVNode)("", !0), e.glyph ? ((0, a.openBlock)(), (0, a.createElementBlock)("span", S5, (0, a.toDisplayString)(e.glyph), 1)) : (0, a.createCommentVNode)("", !0)], 10, E5))], 64))), 128))], 2));
|
|
31896
31954
|
}
|
|
31897
|
-
}),
|
|
31955
|
+
}), C5 = { class: "pptx-vue-presenter-header flex items-center justify-between gap-2 border-b border-border/60 px-4 py-3" }, B5 = { class: "pptx-vue-presenter-time flex flex-col" }, N5 = { class: "pptx-vue-presenter-clock font-mono text-lg tabular-nums text-foreground" }, V5 = { class: "pptx-vue-presenter-time pptx-vue-presenter-time--right flex flex-col items-end" }, D5 = { class: "pptx-vue-presenter-elapsed font-mono text-lg tabular-nums text-primary" }, T5 = { class: "flex items-center gap-1" }, I5 = ["title"], _5 = ["title", "aria-label"], z5 = { class: "pptx-vue-presenter-nav flex items-center justify-between border-b border-border/60 px-4 py-2" }, P5 = [
|
|
31898
31956
|
"disabled",
|
|
31899
31957
|
"title",
|
|
31900
31958
|
"aria-label"
|
|
31901
|
-
],
|
|
31959
|
+
], F5 = { class: "pptx-vue-presenter-counter font-mono text-sm tabular-nums text-foreground" }, A5 = [
|
|
31902
31960
|
"disabled",
|
|
31903
31961
|
"title",
|
|
31904
31962
|
"aria-label"
|
|
31905
|
-
],
|
|
31963
|
+
], M5 = {
|
|
31906
31964
|
class: "pptx-vue-presenter-section border-b border-border/60 px-4 py-3",
|
|
31907
31965
|
"data-pptx-presenter-next-preview": ""
|
|
31908
|
-
},
|
|
31966
|
+
}, O5 = {
|
|
31909
31967
|
key: 1,
|
|
31910
31968
|
class: "pptx-vue-presenter-preview-empty mt-2 flex h-16 items-center justify-center rounded border border-border/30 bg-muted/40 text-xs italic text-muted-foreground"
|
|
31911
|
-
},
|
|
31969
|
+
}, L5 = {
|
|
31912
31970
|
class: "pptx-vue-presenter-notes-section flex flex-1 min-h-0 flex-col px-4 py-3",
|
|
31913
31971
|
"data-pptx-presenter-notes": ""
|
|
31914
|
-
},
|
|
31972
|
+
}, R5 = { class: "pptx-vue-presenter-notes-head mb-2 flex items-center justify-between" }, $5 = { class: "pptx-vue-presenter-font-ctl flex items-center gap-1" }, U5 = [
|
|
31915
31973
|
"disabled",
|
|
31916
31974
|
"title",
|
|
31917
31975
|
"aria-label"
|
|
31918
|
-
],
|
|
31976
|
+
], j5 = { class: "pptx-vue-presenter-font-val min-w-[28px] select-none text-center font-mono text-[10px] tabular-nums text-muted-foreground" }, K5 = [
|
|
31919
31977
|
"disabled",
|
|
31920
31978
|
"title",
|
|
31921
31979
|
"aria-label"
|
|
31922
|
-
],
|
|
31980
|
+
], H5 = { key: 0 }, Z5 = {
|
|
31923
31981
|
key: 2,
|
|
31924
31982
|
class: "pptx-vue-presenter-notes-empty italic text-muted-foreground"
|
|
31925
|
-
},
|
|
31983
|
+
}, G5 = (0, a.defineComponent)({
|
|
31926
31984
|
__name: "PresenterNotesRail",
|
|
31927
31985
|
props: {
|
|
31928
31986
|
slides: {},
|
|
@@ -31940,7 +31998,7 @@ var b5 = Object.fromEntries(n.PRESENTER_RAIL_CONTROLS.map((e) => [e.id, e.labelK
|
|
|
31940
31998
|
"audience"
|
|
31941
31999
|
],
|
|
31942
32000
|
setup(e, { emit: t }) {
|
|
31943
|
-
const o = e, l = t, { t: i } = n.useI18n(), s = n.PRESENTER_RAIL_LABEL_KEYS, c =
|
|
32001
|
+
const o = e, l = t, { t: i } = n.useI18n(), s = n.PRESENTER_RAIL_LABEL_KEYS, c = k5, d = n.PRESENTER_CONSOLE_CLASSES, p = (0, a.computed)(() => o.slides[o.currentSlideIndex]), u = (0, a.computed)(() => n.nextPresentedSlide(o.slides, o.currentSlideIndex, o.activeCustomShow)), m = (0, a.computed)(() => p.value?.notes ?? ""), f = (0, a.computed)(() => {
|
|
31944
32002
|
const e = p.value?.notesSegments;
|
|
31945
32003
|
return e && e.length > 0 ? n.notesSegmentsToSpans(e) : null;
|
|
31946
32004
|
}), v = (0, a.computed)(() => m.value.trim().length > 0), g = (0, a.ref)(14);
|
|
@@ -31952,15 +32010,15 @@ var b5 = Object.fromEntries(n.PRESENTER_RAIL_CONTROLS.map((e) => [e.id, e.labelK
|
|
|
31952
32010
|
height: o.canvasSize.height * h.value + "px"
|
|
31953
32011
|
}));
|
|
31954
32012
|
return (t, o) => ((0, a.openBlock)(), (0, a.createElementBlock)("div", { class: (0, a.normalizeClass)(["pptx-vue-presenter-rail", (0, a.unref)(d).rail]) }, [
|
|
31955
|
-
(0, a.createElementVNode)("div",
|
|
31956
|
-
(0, a.createElementVNode)("div",
|
|
31957
|
-
(0, a.createElementVNode)("div",
|
|
31958
|
-
(0, a.createElementVNode)("div",
|
|
32013
|
+
(0, a.createElementVNode)("div", C5, [
|
|
32014
|
+
(0, a.createElementVNode)("div", B5, [(0, a.createElementVNode)("span", { class: (0, a.normalizeClass)(["pptx-vue-presenter-label", (0, a.unref)(d).railHeading]) }, (0, a.toDisplayString)((0, a.unref)(i)((0, a.unref)(s).currentTime)), 3), (0, a.createElementVNode)("span", N5, (0, a.toDisplayString)(e.clockText), 1)]),
|
|
32015
|
+
(0, a.createElementVNode)("div", V5, [(0, a.createElementVNode)("span", { class: (0, a.normalizeClass)(["pptx-vue-presenter-label", (0, a.unref)(d).railHeading]) }, (0, a.toDisplayString)((0, a.unref)(i)((0, a.unref)(s).elapsed)), 3), (0, a.createElementVNode)("span", D5, (0, a.toDisplayString)(e.elapsedText), 1)]),
|
|
32016
|
+
(0, a.createElementVNode)("div", T5, [(0, a.createElementVNode)("button", {
|
|
31959
32017
|
type: "button",
|
|
31960
32018
|
class: "pptx-vue-presenter-audience-btn flex h-7 items-center justify-center rounded px-2 text-xs text-muted-foreground transition-colors hover:bg-accent hover:text-foreground",
|
|
31961
32019
|
title: e.audienceOpen ? (0, a.unref)(i)("pptx.presenter.closeAudienceWindow") : (0, a.unref)(i)("pptx.presenter.openAudienceWindow"),
|
|
31962
32020
|
onClick: o[0] || (o[0] = (e) => l("audience"))
|
|
31963
|
-
}, (0, a.toDisplayString)(e.audienceOpen ? (0, a.unref)(i)("pptx.presenter.closeAudienceWindow") : (0, a.unref)(i)("pptx.presenter.openAudienceWindow")), 9,
|
|
32021
|
+
}, (0, a.toDisplayString)(e.audienceOpen ? (0, a.unref)(i)("pptx.presenter.closeAudienceWindow") : (0, a.unref)(i)("pptx.presenter.openAudienceWindow")), 9, I5), (0, a.createElementVNode)("button", {
|
|
31964
32022
|
type: "button",
|
|
31965
32023
|
class: "pptx-vue-presenter-icon-btn flex h-7 w-7 items-center justify-center rounded text-muted-foreground transition-colors hover:bg-accent hover:text-foreground",
|
|
31966
32024
|
title: (0, a.unref)(i)("pptx.presenter.endPresentation"),
|
|
@@ -31969,9 +32027,9 @@ var b5 = Object.fromEntries(n.PRESENTER_RAIL_CONTROLS.map((e) => [e.id, e.labelK
|
|
|
31969
32027
|
}, [(0, a.createVNode)((0, a.unref)(r.X), {
|
|
31970
32028
|
class: "h-4 w-4",
|
|
31971
32029
|
"aria-hidden": "true"
|
|
31972
|
-
})], 8,
|
|
32030
|
+
})], 8, _5)])
|
|
31973
32031
|
]),
|
|
31974
|
-
(0, a.createElementVNode)("div",
|
|
32032
|
+
(0, a.createElementVNode)("div", z5, [
|
|
31975
32033
|
(0, a.createElementVNode)("button", {
|
|
31976
32034
|
type: "button",
|
|
31977
32035
|
class: "pptx-vue-presenter-nav-btn inline-flex items-center gap-1.5 rounded bg-muted px-3 py-1.5 text-xs transition-colors hover:bg-accent disabled:cursor-not-allowed disabled:opacity-40",
|
|
@@ -31983,8 +32041,8 @@ var b5 = Object.fromEntries(n.PRESENTER_RAIL_CONTROLS.map((e) => [e.id, e.labelK
|
|
|
31983
32041
|
}, [(0, a.createVNode)((0, a.unref)(r.ChevronLeft), {
|
|
31984
32042
|
class: "h-4 w-4",
|
|
31985
32043
|
"aria-hidden": "true"
|
|
31986
|
-
}), (0, a.createTextVNode)(" " + (0, a.toDisplayString)((0, a.unref)(i)((0, a.unref)(c).prev)), 1)], 8,
|
|
31987
|
-
(0, a.createElementVNode)("span",
|
|
32044
|
+
}), (0, a.createTextVNode)(" " + (0, a.toDisplayString)((0, a.unref)(i)((0, a.unref)(c).prev)), 1)], 8, P5),
|
|
32045
|
+
(0, a.createElementVNode)("span", F5, (0, a.toDisplayString)(e.currentSlideIndex + 1) + " / " + (0, a.toDisplayString)(e.slides.length), 1),
|
|
31988
32046
|
(0, a.createElementVNode)("button", {
|
|
31989
32047
|
type: "button",
|
|
31990
32048
|
class: "pptx-vue-presenter-nav-btn inline-flex items-center gap-1.5 rounded bg-muted px-3 py-1.5 text-xs transition-colors hover:bg-accent disabled:cursor-not-allowed disabled:opacity-40",
|
|
@@ -31996,9 +32054,9 @@ var b5 = Object.fromEntries(n.PRESENTER_RAIL_CONTROLS.map((e) => [e.id, e.labelK
|
|
|
31996
32054
|
}, [(0, a.createTextVNode)((0, a.toDisplayString)((0, a.unref)(i)((0, a.unref)(c).next)) + " ", 1), (0, a.createVNode)((0, a.unref)(r.ChevronRight), {
|
|
31997
32055
|
class: "h-4 w-4",
|
|
31998
32056
|
"aria-hidden": "true"
|
|
31999
|
-
})], 8,
|
|
32057
|
+
})], 8, A5)
|
|
32000
32058
|
]),
|
|
32001
|
-
(0, a.createElementVNode)("div",
|
|
32059
|
+
(0, a.createElementVNode)("div", M5, [(0, a.createElementVNode)("div", { class: (0, a.normalizeClass)(["pptx-vue-presenter-label mb-2", (0, a.unref)(d).railHeading]) }, (0, a.toDisplayString)((0, a.unref)(i)((0, a.unref)(s).nextSlidePreview)), 3), u.value ? ((0, a.openBlock)(), (0, a.createElementBlock)("div", {
|
|
32002
32060
|
key: 0,
|
|
32003
32061
|
class: "pptx-vue-presenter-preview-frame relative mt-2 overflow-hidden rounded border border-border/30",
|
|
32004
32062
|
style: (0, a.normalizeStyle)(y.value)
|
|
@@ -32012,8 +32070,8 @@ var b5 = Object.fromEntries(n.PRESENTER_RAIL_CONTROLS.map((e) => [e.id, e.labelK
|
|
|
32012
32070
|
"canvas-size",
|
|
32013
32071
|
"media-data-urls",
|
|
32014
32072
|
"scale"
|
|
32015
|
-
])], 4)) : ((0, a.openBlock)(), (0, a.createElementBlock)("div",
|
|
32016
|
-
(0, a.createElementVNode)("div",
|
|
32073
|
+
])], 4)) : ((0, a.openBlock)(), (0, a.createElementBlock)("div", O5, (0, a.toDisplayString)((0, a.unref)(i)((0, a.unref)(s).endOfPresentation)), 1))]),
|
|
32074
|
+
(0, a.createElementVNode)("div", L5, [(0, a.createElementVNode)("div", R5, [(0, a.createElementVNode)("div", { class: (0, a.normalizeClass)(["pptx-vue-presenter-label", (0, a.unref)(d).railHeading]) }, (0, a.toDisplayString)((0, a.unref)(i)((0, a.unref)(s).speakerNotes)), 3), (0, a.createElementVNode)("div", $5, [
|
|
32017
32075
|
(0, a.createElementVNode)("button", {
|
|
32018
32076
|
type: "button",
|
|
32019
32077
|
class: "pptx-vue-presenter-font-btn rounded p-0.5 text-muted-foreground transition-colors hover:bg-accent hover:text-foreground disabled:cursor-not-allowed disabled:opacity-30",
|
|
@@ -32025,8 +32083,8 @@ var b5 = Object.fromEntries(n.PRESENTER_RAIL_CONTROLS.map((e) => [e.id, e.labelK
|
|
|
32025
32083
|
}, [(0, a.createVNode)((0, a.unref)(r.Minus), {
|
|
32026
32084
|
class: "h-3.5 w-3.5",
|
|
32027
32085
|
"aria-hidden": "true"
|
|
32028
|
-
})], 8,
|
|
32029
|
-
(0, a.createElementVNode)("span",
|
|
32086
|
+
})], 8, U5),
|
|
32087
|
+
(0, a.createElementVNode)("span", j5, (0, a.toDisplayString)(g.value) + "px", 1),
|
|
32030
32088
|
(0, a.createElementVNode)("button", {
|
|
32031
32089
|
type: "button",
|
|
32032
32090
|
class: "pptx-vue-presenter-font-btn rounded p-0.5 text-muted-foreground transition-colors hover:bg-accent hover:text-foreground disabled:cursor-not-allowed disabled:opacity-30",
|
|
@@ -32038,17 +32096,17 @@ var b5 = Object.fromEntries(n.PRESENTER_RAIL_CONTROLS.map((e) => [e.id, e.labelK
|
|
|
32038
32096
|
}, [(0, a.createVNode)((0, a.unref)(r.Plus), {
|
|
32039
32097
|
class: "h-3.5 w-3.5",
|
|
32040
32098
|
"aria-hidden": "true"
|
|
32041
|
-
})], 8,
|
|
32099
|
+
})], 8, K5)
|
|
32042
32100
|
])]), (0, a.createElementVNode)("div", {
|
|
32043
32101
|
class: "pptx-vue-presenter-notes flex-1 overflow-y-auto whitespace-pre-wrap rounded border border-border/30 bg-muted/40 px-3 py-2 leading-relaxed text-foreground",
|
|
32044
32102
|
style: (0, a.normalizeStyle)({ fontSize: `${g.value}px` })
|
|
32045
|
-
}, [f.value ? ((0, a.openBlock)(!0), (0, a.createElementBlock)(a.Fragment, { key: 0 }, (0, a.renderList)(f.value, (e) => ((0, a.openBlock)(), (0, a.createElementBlock)(a.Fragment, { key: e.key }, ["break" === e.kind ? ((0, a.openBlock)(), (0, a.createElementBlock)("br",
|
|
32103
|
+
}, [f.value ? ((0, a.openBlock)(!0), (0, a.createElementBlock)(a.Fragment, { key: 0 }, (0, a.renderList)(f.value, (e) => ((0, a.openBlock)(), (0, a.createElementBlock)(a.Fragment, { key: e.key }, ["break" === e.kind ? ((0, a.openBlock)(), (0, a.createElementBlock)("br", H5)) : ((0, a.openBlock)(), (0, a.createElementBlock)("span", {
|
|
32046
32104
|
key: 1,
|
|
32047
32105
|
style: (0, a.normalizeStyle)(e.style)
|
|
32048
|
-
}, (0, a.toDisplayString)(e.text), 5))], 64))), 128)) : v.value ? ((0, a.openBlock)(), (0, a.createElementBlock)(a.Fragment, { key: 1 }, [(0, a.createTextVNode)((0, a.toDisplayString)(m.value), 1)], 64)) : ((0, a.openBlock)(), (0, a.createElementBlock)("span",
|
|
32106
|
+
}, (0, a.toDisplayString)(e.text), 5))], 64))), 128)) : v.value ? ((0, a.openBlock)(), (0, a.createElementBlock)(a.Fragment, { key: 1 }, [(0, a.createTextVNode)((0, a.toDisplayString)(m.value), 1)], 64)) : ((0, a.openBlock)(), (0, a.createElementBlock)("span", Z5, (0, a.toDisplayString)((0, a.unref)(i)((0, a.unref)(s).noNotes)), 1))], 4)])
|
|
32049
32107
|
], 2));
|
|
32050
32108
|
}
|
|
32051
|
-
}),
|
|
32109
|
+
}), W5 = ["onClick"], q5 = ae((0, a.defineComponent)({
|
|
32052
32110
|
__name: "PresenterSlideGrid",
|
|
32053
32111
|
props: {
|
|
32054
32112
|
slides: {},
|
|
@@ -32087,9 +32145,9 @@ var b5 = Object.fromEntries(n.PRESENTER_RAIL_CONTROLS.map((e) => [e.id, e.labelK
|
|
|
32087
32145
|
"canvas-size",
|
|
32088
32146
|
"media-data-urls",
|
|
32089
32147
|
"scale"
|
|
32090
|
-
])], 4), (0, a.createElementVNode)("span", null, (0, a.toDisplayString)(n + 1) + (0, a.toDisplayString)(t.hidden ? " - hidden" : ""), 1)], 10,
|
|
32148
|
+
])], 4), (0, a.createElementVNode)("span", null, (0, a.toDisplayString)(n + 1) + (0, a.toDisplayString)(t.hidden ? " - hidden" : ""), 1)], 10, W5))), 128))], 2)], 2));
|
|
32091
32149
|
}
|
|
32092
|
-
}), [["__scopeId", "data-v-be0c4a45"]]),
|
|
32150
|
+
}), [["__scopeId", "data-v-be0c4a45"]]), X5 = { class: "pptx-vue-presenter-slide-label mt-3 select-none font-mono text-xs tabular-nums text-white/50" }, Y5 = (0, a.defineComponent)({
|
|
32093
32151
|
__name: "PresenterStagePane",
|
|
32094
32152
|
props: {
|
|
32095
32153
|
slide: {},
|
|
@@ -32133,19 +32191,19 @@ var b5 = Object.fromEntries(n.PRESENTER_RAIL_CONTROLS.map((e) => [e.id, e.labelK
|
|
|
32133
32191
|
"canvas-size",
|
|
32134
32192
|
"media-data-urls",
|
|
32135
32193
|
"scale"
|
|
32136
|
-
])], 4), (0, a.createElementVNode)("div",
|
|
32194
|
+
])], 4), (0, a.createElementVNode)("div", X5, (0, a.toDisplayString)((0, a.unref)(l)((0, a.unref)(n.PRESENTER_RAIL_LABEL_KEYS).slideLabel, {
|
|
32137
32195
|
current: e.slideNumber,
|
|
32138
32196
|
total: e.slideCount
|
|
32139
32197
|
})), 1)], 2));
|
|
32140
32198
|
}
|
|
32141
|
-
}),
|
|
32199
|
+
}), J5 = {
|
|
32142
32200
|
key: 0,
|
|
32143
32201
|
class: "pptx-vue-presenter-empty-body flex flex-1 items-center justify-center bg-card text-muted-foreground"
|
|
32144
|
-
},
|
|
32202
|
+
}, Q5 = [
|
|
32145
32203
|
"aria-valuenow",
|
|
32146
32204
|
"aria-label",
|
|
32147
32205
|
"title"
|
|
32148
|
-
],
|
|
32206
|
+
], e3 = (0, a.defineComponent)({
|
|
32149
32207
|
__name: "PresenterView",
|
|
32150
32208
|
props: {
|
|
32151
32209
|
slides: {},
|
|
@@ -32221,7 +32279,7 @@ var b5 = Object.fromEntries(n.PRESENTER_RAIL_CONTROLS.map((e) => [e.id, e.labelK
|
|
|
32221
32279
|
elapsed: p.value,
|
|
32222
32280
|
segment: u.value.segment + 1
|
|
32223
32281
|
}));
|
|
32224
|
-
return (t, n) => ((0, a.openBlock)(), (0, a.createElementBlock)("div", { class: (0, a.normalizeClass)(["pptx-vue-presenter", [(0, a.unref)(i).root, { "pptx-vue-presenter--empty": !h.value }]]) }, [(0, a.createVNode)(
|
|
32282
|
+
return (t, n) => ((0, a.openBlock)(), (0, a.createElementBlock)("div", { class: (0, a.normalizeClass)(["pptx-vue-presenter", [(0, a.unref)(i).root, { "pptx-vue-presenter--empty": !h.value }]]) }, [(0, a.createVNode)(w5, {
|
|
32225
32283
|
snapshot: e.snapshot,
|
|
32226
32284
|
"audience-open": Boolean(e.audienceOpen),
|
|
32227
32285
|
onTimer: n[0] || (n[0] = (t) => f({ paused: !e.snapshot.paused })),
|
|
@@ -32243,7 +32301,7 @@ var b5 = Object.fromEntries(n.PRESENTER_RAIL_CONTROLS.map((e) => [e.id, e.labelK
|
|
|
32243
32301
|
onSwapDisplays: n[6] || (n[6] = (e) => r("swap-displays")),
|
|
32244
32302
|
onExit: n[7] || (n[7] = (e) => r("exit"))
|
|
32245
32303
|
}, null, 8, ["snapshot", "audience-open"]), h.value ? ((0, a.openBlock)(), (0, a.createElementBlock)(a.Fragment, { key: 1 }, [
|
|
32246
|
-
(0, a.createElementVNode)("div", { class: (0, a.normalizeClass)(["pptx-vue-presenter-body", (0, a.unref)(i).body]) }, [(0, a.createVNode)(
|
|
32304
|
+
(0, a.createElementVNode)("div", { class: (0, a.normalizeClass)(["pptx-vue-presenter-body", (0, a.unref)(i).body]) }, [(0, a.createVNode)(Y5, {
|
|
32247
32305
|
slide: h.value,
|
|
32248
32306
|
"canvas-size": e.canvasSize,
|
|
32249
32307
|
"media-data-urls": e.mediaDataUrls,
|
|
@@ -32260,7 +32318,7 @@ var b5 = Object.fromEntries(n.PRESENTER_RAIL_CONTROLS.map((e) => [e.id, e.labelK
|
|
|
32260
32318
|
"slide-count",
|
|
32261
32319
|
"zoom",
|
|
32262
32320
|
"advances-on-click"
|
|
32263
|
-
]), (0, a.createVNode)(
|
|
32321
|
+
]), (0, a.createVNode)(G5, {
|
|
32264
32322
|
slides: e.slides,
|
|
32265
32323
|
"current-slide-index": e.currentSlideIndex,
|
|
32266
32324
|
"canvas-size": e.canvasSize,
|
|
@@ -32282,7 +32340,7 @@ var b5 = Object.fromEntries(n.PRESENTER_RAIL_CONTROLS.map((e) => [e.id, e.labelK
|
|
|
32282
32340
|
"audience-open",
|
|
32283
32341
|
"active-custom-show"
|
|
32284
32342
|
])], 2),
|
|
32285
|
-
c.value ? ((0, a.openBlock)(), (0, a.createBlock)(
|
|
32343
|
+
c.value ? ((0, a.openBlock)(), (0, a.createBlock)(q5, {
|
|
32286
32344
|
key: 0,
|
|
32287
32345
|
slides: e.slides,
|
|
32288
32346
|
current: e.currentSlideIndex,
|
|
@@ -32309,10 +32367,10 @@ var b5 = Object.fromEntries(n.PRESENTER_RAIL_CONTROLS.map((e) => [e.id, e.labelK
|
|
|
32309
32367
|
}, [(0, a.createElementVNode)("div", {
|
|
32310
32368
|
class: (0, a.normalizeClass)(["pptx-vue-presenter-progress-fill", (0, a.unref)(i).progressFill]),
|
|
32311
32369
|
style: (0, a.normalizeStyle)({ width: `${(0, a.unref)(u).percent}%` })
|
|
32312
|
-
}, null, 6)], 10,
|
|
32313
|
-
], 64)) : ((0, a.openBlock)(), (0, a.createElementBlock)("div",
|
|
32370
|
+
}, null, 6)], 10, Q5)
|
|
32371
|
+
], 64)) : ((0, a.openBlock)(), (0, a.createElementBlock)("div", J5, (0, a.toDisplayString)((0, a.unref)(l)((0, a.unref)(s).noSlides)), 1))], 2));
|
|
32314
32372
|
}
|
|
32315
|
-
}),
|
|
32373
|
+
}), n3 = ae((0, a.defineComponent)({
|
|
32316
32374
|
__name: "PresentationMode",
|
|
32317
32375
|
props: {
|
|
32318
32376
|
slides: {},
|
|
@@ -32777,7 +32835,7 @@ var b5 = Object.fromEntries(n.PRESENTER_RAIL_CONTROLS.map((e) => [e.id, e.labelK
|
|
|
32777
32835
|
"onLaserLeave",
|
|
32778
32836
|
"onErase"
|
|
32779
32837
|
])) : (0, a.createCommentVNode)("", !0),
|
|
32780
|
-
(0, a.unref)(c).transitionState.value ? ((0, a.openBlock)(), (0, a.createBlock)(
|
|
32838
|
+
(0, a.unref)(c).transitionState.value ? ((0, a.openBlock)(), (0, a.createBlock)(f5, {
|
|
32781
32839
|
key: 1,
|
|
32782
32840
|
"outgoing-slide": (0, a.unref)(c).transitionState.value.outgoing,
|
|
32783
32841
|
"incoming-slide": (0, a.unref)(c).transitionState.value.incoming,
|
|
@@ -32815,7 +32873,7 @@ var b5 = Object.fromEntries(n.PRESENTER_RAIL_CONTROLS.map((e) => [e.id, e.labelK
|
|
|
32815
32873
|
"media-data-urls",
|
|
32816
32874
|
"presentation-start-time",
|
|
32817
32875
|
"active-custom-show"
|
|
32818
|
-
])) : D.value ? ((0, a.openBlock)(), (0, a.createBlock)(
|
|
32876
|
+
])) : D.value ? ((0, a.openBlock)(), (0, a.createBlock)(e3, {
|
|
32819
32877
|
key: 1,
|
|
32820
32878
|
slides: e.slides,
|
|
32821
32879
|
"current-slide-index": (0, a.unref)(c).currentIndex.value,
|
|
@@ -32917,7 +32975,7 @@ var b5 = Object.fromEntries(n.PRESENTER_RAIL_CONTROLS.map((e) => [e.id, e.labelK
|
|
|
32917
32975
|
], 512)]));
|
|
32918
32976
|
}
|
|
32919
32977
|
}), [["__scopeId", "data-v-d4c44a23"]]);
|
|
32920
|
-
var
|
|
32978
|
+
var a3 = ae((0, a.defineComponent)({
|
|
32921
32979
|
__name: "ReadingViewStage",
|
|
32922
32980
|
props: {
|
|
32923
32981
|
slide: {},
|
|
@@ -32946,15 +33004,15 @@ var o3 = ae((0, a.defineComponent)({
|
|
|
32946
33004
|
"scale"
|
|
32947
33005
|
])], 16)) : (0, a.createCommentVNode)("", !0);
|
|
32948
33006
|
}
|
|
32949
|
-
}), [["__scopeId", "data-v-4ab26059"]]),
|
|
33007
|
+
}), [["__scopeId", "data-v-4ab26059"]]), r3 = ["aria-label"], l3 = { class: "pptx-vue-reading-bar" }, i3 = [
|
|
32950
33008
|
"aria-label",
|
|
32951
33009
|
"title",
|
|
32952
33010
|
"disabled"
|
|
32953
|
-
],
|
|
33011
|
+
], s3 = [
|
|
32954
33012
|
"aria-label",
|
|
32955
33013
|
"title",
|
|
32956
33014
|
"disabled"
|
|
32957
|
-
],
|
|
33015
|
+
], c3 = ["aria-label", "title"], p3 = ae((0, a.defineComponent)({
|
|
32958
33016
|
__name: "ReadingViewOverlay",
|
|
32959
33017
|
props: {
|
|
32960
33018
|
slides: {},
|
|
@@ -33012,7 +33070,7 @@ var o3 = ae((0, a.defineComponent)({
|
|
|
33012
33070
|
ref_key: "viewportRef",
|
|
33013
33071
|
ref: c,
|
|
33014
33072
|
class: "pptx-vue-reading-viewport"
|
|
33015
|
-
}, [(0, a.createVNode)(
|
|
33073
|
+
}, [(0, a.createVNode)(a3, {
|
|
33016
33074
|
slide: f.value,
|
|
33017
33075
|
"canvas-size": e.canvasSize,
|
|
33018
33076
|
"media-data-urls": e.mediaDataUrls,
|
|
@@ -33022,7 +33080,7 @@ var o3 = ae((0, a.defineComponent)({
|
|
|
33022
33080
|
"canvas-size",
|
|
33023
33081
|
"media-data-urls",
|
|
33024
33082
|
"scale"
|
|
33025
|
-
])], 512), (0, a.createElementVNode)("div",
|
|
33083
|
+
])], 512), (0, a.createElementVNode)("div", l3, [
|
|
33026
33084
|
(0, a.createElementVNode)("button", {
|
|
33027
33085
|
type: "button",
|
|
33028
33086
|
class: "pptx-vue-reading-control",
|
|
@@ -33033,7 +33091,7 @@ var o3 = ae((0, a.defineComponent)({
|
|
|
33033
33091
|
}, [(0, a.createVNode)((0, a.unref)(r.ChevronLeft), {
|
|
33034
33092
|
size: 16,
|
|
33035
33093
|
"aria-hidden": "true"
|
|
33036
|
-
})], 8,
|
|
33094
|
+
})], 8, i3),
|
|
33037
33095
|
(0, a.createElementVNode)("span", (0, a.mergeProps)(m, { class: "pptx-vue-reading-counter" }), (0, a.toDisplayString)(v.value), 17),
|
|
33038
33096
|
(0, a.createElementVNode)("button", {
|
|
33039
33097
|
type: "button",
|
|
@@ -33045,7 +33103,7 @@ var o3 = ae((0, a.defineComponent)({
|
|
|
33045
33103
|
}, [(0, a.createVNode)((0, a.unref)(r.ChevronRight), {
|
|
33046
33104
|
size: 16,
|
|
33047
33105
|
"aria-hidden": "true"
|
|
33048
|
-
})], 8,
|
|
33106
|
+
})], 8, s3),
|
|
33049
33107
|
(0, a.createElementVNode)("button", {
|
|
33050
33108
|
type: "button",
|
|
33051
33109
|
class: "pptx-vue-reading-control",
|
|
@@ -33055,19 +33113,19 @@ var o3 = ae((0, a.defineComponent)({
|
|
|
33055
33113
|
}, [(0, a.createVNode)((0, a.unref)(r.X), {
|
|
33056
33114
|
size: 16,
|
|
33057
33115
|
"aria-hidden": "true"
|
|
33058
|
-
})], 8,
|
|
33059
|
-
])], 16,
|
|
33116
|
+
})], 8, c3)
|
|
33117
|
+
])], 16, r3)) : (0, a.createCommentVNode)("", !0);
|
|
33060
33118
|
}
|
|
33061
|
-
}), [["__scopeId", "data-v-c326dbfa"]]),
|
|
33119
|
+
}), [["__scopeId", "data-v-c326dbfa"]]), u3 = {
|
|
33062
33120
|
class: "pptx-vue-rehearse-hud fixed bottom-4 left-4 z-[9999] flex items-center gap-3 rounded-lg bg-black/80 px-4 py-2 text-white shadow-xl backdrop-blur-sm select-none",
|
|
33063
33121
|
"data-testid": "rehearse-hud"
|
|
33064
|
-
},
|
|
33122
|
+
}, m3 = { class: "pptx-vue-rehearse-col flex flex-col text-xs leading-tight" }, f3 = { class: "pptx-vue-rehearse-label text-white/60" }, v3 = {
|
|
33065
33123
|
class: "pptx-vue-rehearse-value text-lg font-mono tabular-nums",
|
|
33066
33124
|
"data-testid": "rehearse-slide-time"
|
|
33067
|
-
},
|
|
33125
|
+
}, g3 = { class: "pptx-vue-rehearse-col flex flex-col text-xs leading-tight" }, x3 = { class: "pptx-vue-rehearse-label text-white/60" }, h3 = {
|
|
33068
33126
|
class: "pptx-vue-rehearse-value text-lg font-mono tabular-nums",
|
|
33069
33127
|
"data-testid": "rehearse-total-time"
|
|
33070
|
-
},
|
|
33128
|
+
}, y3 = ["title", "aria-label"], b3 = (0, a.defineComponent)({
|
|
33071
33129
|
__name: "RehearseTimingsHud",
|
|
33072
33130
|
props: {
|
|
33073
33131
|
slideElapsedMs: {},
|
|
@@ -33077,10 +33135,10 @@ var o3 = ae((0, a.defineComponent)({
|
|
|
33077
33135
|
emits: ["toggle-pause"],
|
|
33078
33136
|
setup(e, { emit: t }) {
|
|
33079
33137
|
const { t: o } = n.useI18n(), l = t;
|
|
33080
|
-
return (t, i) => ((0, a.openBlock)(), (0, a.createElementBlock)("div",
|
|
33081
|
-
(0, a.createElementVNode)("div",
|
|
33138
|
+
return (t, i) => ((0, a.openBlock)(), (0, a.createElementBlock)("div", u3, [
|
|
33139
|
+
(0, a.createElementVNode)("div", m3, [(0, a.createElementVNode)("span", f3, (0, a.toDisplayString)((0, a.unref)(o)("pptx.rehearse.slideTime")), 1), (0, a.createElementVNode)("span", v3, (0, a.toDisplayString)((0, a.unref)(n.formatRehearseMs)(e.slideElapsedMs)), 1)]),
|
|
33082
33140
|
i[1] || (i[1] = (0, a.createElementVNode)("div", { class: "pptx-vue-rehearse-divider w-px h-8 bg-white/20" }, null, -1)),
|
|
33083
|
-
(0, a.createElementVNode)("div",
|
|
33141
|
+
(0, a.createElementVNode)("div", g3, [(0, a.createElementVNode)("span", x3, (0, a.toDisplayString)((0, a.unref)(o)("pptx.rehearse.totalTime")), 1), (0, a.createElementVNode)("span", h3, (0, a.toDisplayString)((0, a.unref)(n.formatRehearseMs)(e.totalElapsedMs)), 1)]),
|
|
33084
33142
|
(0, a.createElementVNode)("button", {
|
|
33085
33143
|
type: "button",
|
|
33086
33144
|
class: "pptx-vue-rehearse-pause ml-1 flex items-center justify-center rounded p-1.5 text-sm transition-colors hover:bg-white/20",
|
|
@@ -33095,10 +33153,10 @@ var o3 = ae((0, a.defineComponent)({
|
|
|
33095
33153
|
key: 1,
|
|
33096
33154
|
class: "w-4 h-4",
|
|
33097
33155
|
"aria-hidden": "true"
|
|
33098
|
-
}))], 8,
|
|
33156
|
+
}))], 8, y3)
|
|
33099
33157
|
]));
|
|
33100
33158
|
}
|
|
33101
|
-
}),
|
|
33159
|
+
}), k3 = { class: "fixed inset-0 z-[10000] flex items-center justify-center bg-black/60 backdrop-blur-sm" }, E3 = ["aria-label"], S3 = { class: "border-b border-border px-5 py-4" }, w3 = { class: "m-0 text-base font-semibold" }, C3 = { class: "mb-0 mt-1 text-sm text-muted-foreground" }, B3 = { class: "font-mono text-foreground" }, N3 = { class: "max-h-72 overflow-y-auto px-5 py-3" }, V3 = { class: "font-mono tabular-nums" }, D3 = { class: "flex justify-end gap-2 border-t border-border px-5 py-3" }, I3 = (0, a.defineComponent)({
|
|
33102
33160
|
__name: "RehearseTimingsSummary",
|
|
33103
33161
|
props: { timings: {} },
|
|
33104
33162
|
emits: ["save", "discard"],
|
|
@@ -33107,18 +33165,18 @@ var o3 = ae((0, a.defineComponent)({
|
|
|
33107
33165
|
index: Number(e),
|
|
33108
33166
|
ms: t
|
|
33109
33167
|
})).sort((e, t) => e.index - t.index)), s = (0, a.computed)(() => i.value.reduce((e, t) => e + t.ms, 0));
|
|
33110
|
-
return (e, t) => ((0, a.openBlock)(), (0, a.createElementBlock)("div",
|
|
33168
|
+
return (e, t) => ((0, a.openBlock)(), (0, a.createElementBlock)("div", k3, [(0, a.createElementVNode)("section", {
|
|
33111
33169
|
class: "w-full max-w-md overflow-hidden rounded-xl border border-border bg-background shadow-2xl",
|
|
33112
33170
|
role: "dialog",
|
|
33113
33171
|
"aria-modal": "true",
|
|
33114
33172
|
"aria-label": (0, a.unref)(l)("pptx.rehearse.summaryTitle")
|
|
33115
33173
|
}, [
|
|
33116
|
-
(0, a.createElementVNode)("header",
|
|
33117
|
-
(0, a.createElementVNode)("div",
|
|
33174
|
+
(0, a.createElementVNode)("header", S3, [(0, a.createElementVNode)("h2", w3, (0, a.toDisplayString)((0, a.unref)(l)("pptx.rehearse.summaryTitle")), 1), (0, a.createElementVNode)("p", C3, [(0, a.createTextVNode)((0, a.toDisplayString)((0, a.unref)(l)("pptx.rehearse.totalPresentationTime")) + ": ", 1), (0, a.createElementVNode)("span", B3, (0, a.toDisplayString)((0, a.unref)(n.formatRehearseMs)(s.value)), 1)])]),
|
|
33175
|
+
(0, a.createElementVNode)("div", N3, [((0, a.openBlock)(!0), (0, a.createElementBlock)(a.Fragment, null, (0, a.renderList)(i.value, (e) => ((0, a.openBlock)(), (0, a.createElementBlock)("div", {
|
|
33118
33176
|
key: e.index,
|
|
33119
33177
|
class: "flex items-center justify-between border-b border-border/60 py-2 text-sm"
|
|
33120
|
-
}, [(0, a.createElementVNode)("span", null, (0, a.toDisplayString)((0, a.unref)(l)("pptx.rehearse.slide")) + " " + (0, a.toDisplayString)(e.index + 1), 1), (0, a.createElementVNode)("span",
|
|
33121
|
-
(0, a.createElementVNode)("footer",
|
|
33178
|
+
}, [(0, a.createElementVNode)("span", null, (0, a.toDisplayString)((0, a.unref)(l)("pptx.rehearse.slide")) + " " + (0, a.toDisplayString)(e.index + 1), 1), (0, a.createElementVNode)("span", V3, (0, a.toDisplayString)((0, a.unref)(n.formatRehearseMs)(e.ms)), 1)]))), 128))]),
|
|
33179
|
+
(0, a.createElementVNode)("footer", D3, [(0, a.createElementVNode)("button", {
|
|
33122
33180
|
type: "button",
|
|
33123
33181
|
class: "rounded px-4 py-2 text-sm hover:bg-muted",
|
|
33124
33182
|
onClick: t[0] || (t[0] = (e) => r("discard"))
|
|
@@ -33127,9 +33185,9 @@ var o3 = ae((0, a.defineComponent)({
|
|
|
33127
33185
|
class: "rounded bg-primary px-4 py-2 text-sm text-primary-foreground hover:opacity-90",
|
|
33128
33186
|
onClick: t[1] || (t[1] = (e) => r("save"))
|
|
33129
33187
|
}, (0, a.toDisplayString)((0, a.unref)(l)("pptx.rehearse.saveTimings")), 1)])
|
|
33130
|
-
], 8,
|
|
33188
|
+
], 8, E3)]));
|
|
33131
33189
|
}
|
|
33132
|
-
}),
|
|
33190
|
+
}), _3 = ["aria-label"], z3 = { class: "pptx-vue-sorter-head" }, P3 = { class: "pptx-vue-sorter-title" }, F3 = ["aria-label"], A3 = { class: "pptx-vue-sorter-grid" }, M3 = [
|
|
33133
33191
|
"data-index",
|
|
33134
33192
|
"data-pptx-slide-hidden",
|
|
33135
33193
|
"aria-label",
|
|
@@ -33140,7 +33198,7 @@ var o3 = ae((0, a.defineComponent)({
|
|
|
33140
33198
|
"onDragstart",
|
|
33141
33199
|
"onDragover",
|
|
33142
33200
|
"onDrop"
|
|
33143
|
-
],
|
|
33201
|
+
], O3 = ["id"], L3 = ae((0, a.defineComponent)({
|
|
33144
33202
|
__name: "SlideSorter",
|
|
33145
33203
|
props: {
|
|
33146
33204
|
slides: {},
|
|
@@ -33214,7 +33272,7 @@ var o3 = ae((0, a.defineComponent)({
|
|
|
33214
33272
|
role: "dialog",
|
|
33215
33273
|
"aria-label": (0, a.unref)(o)("pptx.slideSorter.title")
|
|
33216
33274
|
}, [
|
|
33217
|
-
(0, a.createElementVNode)("header",
|
|
33275
|
+
(0, a.createElementVNode)("header", z3, [(0, a.createElementVNode)("h2", P3, (0, a.toDisplayString)((0, a.unref)(o)("pptx.slideSorter.title")), 1), (0, a.createElementVNode)("button", {
|
|
33218
33276
|
type: "button",
|
|
33219
33277
|
class: "pptx-vue-sorter-close",
|
|
33220
33278
|
"aria-label": (0, a.unref)(o)("pptx.slideSorter.close"),
|
|
@@ -33222,8 +33280,8 @@ var o3 = ae((0, a.defineComponent)({
|
|
|
33222
33280
|
}, [(0, a.createVNode)((0, a.unref)(r.X), {
|
|
33223
33281
|
size: 16,
|
|
33224
33282
|
"aria-hidden": "true"
|
|
33225
|
-
})], 8,
|
|
33226
|
-
(0, a.createElementVNode)("div",
|
|
33283
|
+
})], 8, F3)]),
|
|
33284
|
+
(0, a.createElementVNode)("div", A3, [((0, a.openBlock)(!0), (0, a.createElementBlock)(a.Fragment, null, (0, a.renderList)(e.slides, (t, n) => ((0, a.openBlock)(), (0, a.createElementBlock)("div", {
|
|
33227
33285
|
key: t.id ?? n,
|
|
33228
33286
|
class: (0, a.normalizeClass)(["pptx-vue-sorter-tile", {
|
|
33229
33287
|
"is-active": n === e.activeIndex,
|
|
@@ -33284,8 +33342,8 @@ var o3 = ae((0, a.defineComponent)({
|
|
|
33284
33342
|
key: 0,
|
|
33285
33343
|
id: (0, a.unref)(p)(t.hidden, "sorter", n).labelId,
|
|
33286
33344
|
class: "pptx-vue-sorter-hidden"
|
|
33287
|
-
}, (0, a.toDisplayString)((0, a.unref)(o)("pptx.slideSorter.hidden")), 9,
|
|
33288
|
-
], 42,
|
|
33345
|
+
}, (0, a.toDisplayString)((0, a.unref)(o)("pptx.slideSorter.hidden")), 9, O3)) : (0, a.createCommentVNode)("", !0)
|
|
33346
|
+
], 42, M3))), 128))]),
|
|
33289
33347
|
(0, a.createVNode)(yz, {
|
|
33290
33348
|
open: g.value.open,
|
|
33291
33349
|
x: g.value.x,
|
|
@@ -33299,9 +33357,9 @@ var o3 = ae((0, a.defineComponent)({
|
|
|
33299
33357
|
"y",
|
|
33300
33358
|
"items"
|
|
33301
33359
|
])
|
|
33302
|
-
], 8,
|
|
33360
|
+
], 8, _3));
|
|
33303
33361
|
}
|
|
33304
|
-
}), [["__scopeId", "data-v-61310fb7"]]),
|
|
33362
|
+
}), [["__scopeId", "data-v-61310fb7"]]), R3 = (0, a.defineComponent)({
|
|
33305
33363
|
__name: "ViewerPresentationLayer",
|
|
33306
33364
|
props: {
|
|
33307
33365
|
deckViews: {},
|
|
@@ -33321,7 +33379,7 @@ var o3 = ae((0, a.defineComponent)({
|
|
|
33321
33379
|
toggleSlideHidden: { type: Function }
|
|
33322
33380
|
},
|
|
33323
33381
|
setup: (e) => (t, n) => ((0, a.openBlock)(), (0, a.createElementBlock)(a.Fragment, null, [
|
|
33324
|
-
e.deckViews.showSorter.value ? ((0, a.openBlock)(), (0, a.createBlock)(
|
|
33382
|
+
e.deckViews.showSorter.value ? ((0, a.openBlock)(), (0, a.createBlock)(L3, {
|
|
33325
33383
|
key: 0,
|
|
33326
33384
|
slides: e.mergedSlides,
|
|
33327
33385
|
"canvas-size": e.canvasSize,
|
|
@@ -33361,7 +33419,7 @@ var o3 = ae((0, a.defineComponent)({
|
|
|
33361
33419
|
"can-edit",
|
|
33362
33420
|
"onCommit"
|
|
33363
33421
|
])) : (0, a.createCommentVNode)("", !0),
|
|
33364
|
-
e.deckViews.showReadingView.value ? ((0, a.openBlock)(), (0, a.createBlock)(
|
|
33422
|
+
e.deckViews.showReadingView.value ? ((0, a.openBlock)(), (0, a.createBlock)(p3, {
|
|
33365
33423
|
key: 2,
|
|
33366
33424
|
slides: e.mergedSlides,
|
|
33367
33425
|
"canvas-size": e.canvasSize,
|
|
@@ -33375,7 +33433,7 @@ var o3 = ae((0, a.defineComponent)({
|
|
|
33375
33433
|
"active-slide-index",
|
|
33376
33434
|
"onExit"
|
|
33377
33435
|
])) : (0, a.createCommentVNode)("", !0),
|
|
33378
|
-
e.presentation.presenting.value ? ((0, a.openBlock)(), (0, a.createBlock)(
|
|
33436
|
+
e.presentation.presenting.value ? ((0, a.openBlock)(), (0, a.createBlock)(n3, {
|
|
33379
33437
|
key: 3,
|
|
33380
33438
|
slides: e.mergedSlides,
|
|
33381
33439
|
"canvas-size": e.canvasSize,
|
|
@@ -33401,7 +33459,7 @@ var o3 = ae((0, a.defineComponent)({
|
|
|
33401
33459
|
"onClose",
|
|
33402
33460
|
"onSlideChange"
|
|
33403
33461
|
])) : (0, a.createCommentVNode)("", !0),
|
|
33404
|
-
e.presentation.rehearsal.rehearsing.value ? ((0, a.openBlock)(), (0, a.createBlock)(
|
|
33462
|
+
e.presentation.rehearsal.rehearsing.value ? ((0, a.openBlock)(), (0, a.createBlock)(b3, {
|
|
33405
33463
|
key: 4,
|
|
33406
33464
|
"slide-elapsed-ms": e.presentation.rehearsal.slideElapsedMs.value,
|
|
33407
33465
|
"total-elapsed-ms": e.presentation.rehearsal.totalElapsedMs.value,
|
|
@@ -33413,7 +33471,7 @@ var o3 = ae((0, a.defineComponent)({
|
|
|
33413
33471
|
"paused",
|
|
33414
33472
|
"onTogglePause"
|
|
33415
33473
|
])) : (0, a.createCommentVNode)("", !0),
|
|
33416
|
-
e.presentation.rehearsal.showSummary.value ? ((0, a.openBlock)(), (0, a.createBlock)(
|
|
33474
|
+
e.presentation.rehearsal.showSummary.value ? ((0, a.openBlock)(), (0, a.createBlock)(I3, {
|
|
33417
33475
|
key: 5,
|
|
33418
33476
|
timings: e.presentation.rehearsal.recordedTimings.value,
|
|
33419
33477
|
onSave: e.presentation.rehearsal.saveTimings,
|
|
@@ -33424,13 +33482,13 @@ var o3 = ae((0, a.defineComponent)({
|
|
|
33424
33482
|
"onDiscard"
|
|
33425
33483
|
])) : (0, a.createCommentVNode)("", !0)
|
|
33426
33484
|
], 64))
|
|
33427
|
-
}),
|
|
33485
|
+
}), $3 = ["aria-label"], U3 = { class: "pptx-vue-a11y-panel__header flex items-center justify-between gap-2" }, j3 = { class: "pptx-vue-a11y-panel__title m-0 text-base font-semibold" }, K3 = { class: "pptx-vue-a11y-panel__count min-w-6 rounded-full bg-muted px-1.5 py-px text-center text-xs font-semibold text-muted-foreground" }, H3 = {
|
|
33428
33486
|
key: 0,
|
|
33429
33487
|
class: "pptx-vue-a11y-panel__empty px-2 py-6 text-center text-green-400"
|
|
33430
|
-
},
|
|
33488
|
+
}, Z3 = { class: "pptx-vue-a11y-panel__empty-title m-0 mb-1 font-semibold" }, G3 = { class: "pptx-vue-a11y-panel__empty-hint m-0 text-[0.8125rem] text-muted-foreground" }, W3 = {
|
|
33431
33489
|
key: 1,
|
|
33432
33490
|
class: "pptx-vue-a11y-panel__groups flex flex-col gap-4"
|
|
33433
|
-
},
|
|
33491
|
+
}, q3 = ["data-severity"], X3 = { class: "pptx-vue-a11y-group__count text-[0.6875rem] font-semibold text-muted-foreground" }, Y3 = { class: "pptx-vue-a11y-group__list m-0 flex list-none flex-col gap-1.5 p-0" }, J3 = ["data-severity", "data-type"], Q3 = ["onClick"], e6 = { class: "pptx-vue-a11y-issue__type font-semibold" }, t6 = { class: "pptx-vue-a11y-issue__message text-foreground" }, n6 = { class: "pptx-vue-a11y-issue__slide text-xs text-muted-foreground" }, a6 = (0, a.defineComponent)({
|
|
33434
33492
|
__name: "AccessibilityPanel",
|
|
33435
33493
|
props: { issues: {} },
|
|
33436
33494
|
emits: ["select-slide"],
|
|
@@ -33442,7 +33500,7 @@ var o3 = ae((0, a.defineComponent)({
|
|
|
33442
33500
|
return (t, o) => ((0, a.openBlock)(), (0, a.createElementBlock)("section", {
|
|
33443
33501
|
class: "pptx-vue-a11y-panel flex flex-col gap-3 bg-popover p-3 text-sm text-foreground",
|
|
33444
33502
|
"aria-label": (0, a.unref)(l)("pptx.accessibility.title")
|
|
33445
|
-
}, [(0, a.createElementVNode)("header",
|
|
33503
|
+
}, [(0, a.createElementVNode)("header", U3, [(0, a.createElementVNode)("h2", j3, (0, a.toDisplayString)((0, a.unref)(l)("pptx.accessibility.heading")), 1), (0, a.createElementVNode)("span", K3, (0, a.toDisplayString)(e.issues.length), 1)]), s.value ? ((0, a.openBlock)(), (0, a.createElementBlock)("div", W3, [((0, a.openBlock)(!0), (0, a.createElementBlock)(a.Fragment, null, (0, a.renderList)(i.value, (e) => ((0, a.openBlock)(), (0, a.createElementBlock)("div", {
|
|
33446
33504
|
key: e.severity,
|
|
33447
33505
|
class: "pptx-vue-a11y-group",
|
|
33448
33506
|
"data-severity": e.severity
|
|
@@ -33450,7 +33508,7 @@ var o3 = ae((0, a.defineComponent)({
|
|
|
33450
33508
|
"text-red-400": "error" === e.severity,
|
|
33451
33509
|
"text-amber-400": "warning" === e.severity,
|
|
33452
33510
|
"text-blue-400": "tip" === e.severity
|
|
33453
|
-
}]) }, [(0, a.createTextVNode)((0, a.toDisplayString)(e.label) + " ", 1), (0, a.createElementVNode)("span",
|
|
33511
|
+
}]) }, [(0, a.createTextVNode)((0, a.toDisplayString)(e.label) + " ", 1), (0, a.createElementVNode)("span", X3, (0, a.toDisplayString)(e.issues.length), 1)], 2), (0, a.createElementVNode)("ul", Y3, [((0, a.openBlock)(!0), (0, a.createElementBlock)(a.Fragment, null, (0, a.renderList)(e.issues, (e, t) => {
|
|
33454
33512
|
return (0, a.openBlock)(), (0, a.createElementBlock)("li", {
|
|
33455
33513
|
key: c(e, t),
|
|
33456
33514
|
class: "pptx-vue-a11y-issue",
|
|
@@ -33467,44 +33525,44 @@ var o3 = ae((0, a.defineComponent)({
|
|
|
33467
33525
|
r("select-slide", e.slideIndex);
|
|
33468
33526
|
}(e)
|
|
33469
33527
|
}, [
|
|
33470
|
-
(0, a.createElementVNode)("span",
|
|
33471
|
-
(0, a.createElementVNode)("span",
|
|
33472
|
-
(0, a.createElementVNode)("span",
|
|
33473
|
-
], 10,
|
|
33528
|
+
(0, a.createElementVNode)("span", e6, (0, a.toDisplayString)((o = e.type, n.issueTypeLabel(o, (e) => l(e)))), 1),
|
|
33529
|
+
(0, a.createElementVNode)("span", t6, (0, a.toDisplayString)(e.message), 1),
|
|
33530
|
+
(0, a.createElementVNode)("span", n6, (0, a.toDisplayString)((0, a.unref)(l)("pptx.notes.slideN", { n: e.slideIndex + 1 })), 1)
|
|
33531
|
+
], 10, Q3)], 8, J3);
|
|
33474
33532
|
var o;
|
|
33475
|
-
}), 128))])], 8,
|
|
33533
|
+
}), 128))])], 8, q3))), 128))])) : ((0, a.openBlock)(), (0, a.createElementBlock)("div", H3, [(0, a.createElementVNode)("p", Z3, (0, a.toDisplayString)((0, a.unref)(l)("pptx.accessibility.noIssuesFound")), 1), (0, a.createElementVNode)("p", G3, (0, a.toDisplayString)((0, a.unref)(l)("pptx.accessibility.noIssuesHint")), 1)]))], 8, $3));
|
|
33476
33534
|
}
|
|
33477
|
-
}),
|
|
33535
|
+
}), r6 = (0, a.defineAsyncComponent)(() => Promise.resolve().then(() => require("./AiChatPanel-Cj3Na-kH.cjs"))), l6 = { class: "pptx-vue-custom-shows flex flex-col gap-2 p-2.5 text-xs text-foreground" }, i6 = { class: "pptx-vue-cs-header flex items-center" }, s6 = { class: "pptx-vue-cs-title m-0 text-[13px] font-semibold" }, c6 = { class: "pptx-vue-cs-list-row flex items-center gap-1.5" }, d6 = ["aria-label", "value"], p6 = {
|
|
33478
33536
|
key: 0,
|
|
33479
33537
|
value: "",
|
|
33480
33538
|
disabled: ""
|
|
33481
|
-
},
|
|
33539
|
+
}, u6 = ["value"], m6 = ["title"], f6 = ["title"], v6 = {
|
|
33482
33540
|
key: 0,
|
|
33483
33541
|
class: "pptx-vue-cs-rename-row flex items-center gap-1.5"
|
|
33484
|
-
},
|
|
33542
|
+
}, g6 = ["aria-label", "onKeydown"], x6 = ["placeholder", "aria-label"], h6 = {
|
|
33485
33543
|
type: "submit",
|
|
33486
33544
|
class: "pptx-vue-cs-btn shrink-0 cursor-pointer rounded border border-border bg-muted px-2 py-1 text-xs text-foreground hover:bg-accent"
|
|
33487
|
-
},
|
|
33545
|
+
}, y6 = {
|
|
33488
33546
|
key: 1,
|
|
33489
33547
|
class: "pptx-vue-cs-members flex flex-col gap-1"
|
|
33490
|
-
},
|
|
33548
|
+
}, b6 = { class: "pptx-vue-cs-section-label mt-1.5 mb-0.5 text-[10px] uppercase tracking-wide text-muted-foreground" }, k6 = { class: "pptx-vue-cs-order m-0 flex list-none flex-col gap-0.5 p-0" }, E6 = { class: "pptx-vue-cs-order-label flex-1 overflow-hidden text-ellipsis whitespace-nowrap" }, S6 = [
|
|
33491
33549
|
"title",
|
|
33492
33550
|
"aria-label",
|
|
33493
33551
|
"disabled",
|
|
33494
33552
|
"onClick"
|
|
33495
|
-
],
|
|
33553
|
+
], w6 = [
|
|
33496
33554
|
"title",
|
|
33497
33555
|
"aria-label",
|
|
33498
33556
|
"disabled",
|
|
33499
33557
|
"onClick"
|
|
33500
|
-
],
|
|
33558
|
+
], C6 = {
|
|
33501
33559
|
key: 0,
|
|
33502
33560
|
class: "pptx-vue-cs-empty px-1 py-0.5 italic text-muted-foreground"
|
|
33503
|
-
},
|
|
33561
|
+
}, B6 = { class: "pptx-vue-cs-section-label mt-1.5 mb-0.5 text-[10px] uppercase tracking-wide text-muted-foreground" }, N6 = { class: "pptx-vue-cs-all m-0 flex list-none flex-col gap-0.5 p-0" }, V6 = { class: "pptx-vue-cs-check flex cursor-pointer items-center gap-1.5" }, D6 = [
|
|
33504
33562
|
"checked",
|
|
33505
33563
|
"disabled",
|
|
33506
33564
|
"onChange"
|
|
33507
|
-
],
|
|
33565
|
+
], T6 = (0, a.defineComponent)({
|
|
33508
33566
|
__name: "CustomShowsPanel",
|
|
33509
33567
|
props: {
|
|
33510
33568
|
customShows: {},
|
|
@@ -33543,40 +33601,40 @@ var o3 = ae((0, a.defineComponent)({
|
|
|
33543
33601
|
const e = p.value;
|
|
33544
33602
|
e && c.value.trim().length > 0 && l("rename", e.id, c.value), d.value = !1;
|
|
33545
33603
|
}
|
|
33546
|
-
return (e, t) => ((0, a.openBlock)(), (0, a.createElementBlock)("div",
|
|
33547
|
-
(0, a.createElementVNode)("header",
|
|
33548
|
-
(0, a.createElementVNode)("div",
|
|
33604
|
+
return (e, t) => ((0, a.openBlock)(), (0, a.createElementBlock)("div", l6, [
|
|
33605
|
+
(0, a.createElementVNode)("header", i6, [(0, a.createElementVNode)("h3", s6, (0, a.toDisplayString)((0, a.unref)(i)("pptx.customShows.title")), 1)]),
|
|
33606
|
+
(0, a.createElementVNode)("div", c6, [
|
|
33549
33607
|
(0, a.createElementVNode)("select", {
|
|
33550
33608
|
class: "pptx-vue-cs-select min-w-0 flex-1 rounded border border-border bg-popover px-1.5 py-1 text-xs text-foreground",
|
|
33551
33609
|
"aria-label": (0, a.unref)(i)("pptx.customShows.selectCustomShow"),
|
|
33552
33610
|
value: o.activeShowId ?? "",
|
|
33553
33611
|
onChange: t[0] || (t[0] = (e) => l("select", e.target.value))
|
|
33554
|
-
}, [0 === o.customShows.length ? ((0, a.openBlock)(), (0, a.createElementBlock)("option",
|
|
33612
|
+
}, [0 === o.customShows.length ? ((0, a.openBlock)(), (0, a.createElementBlock)("option", p6, (0, a.toDisplayString)((0, a.unref)(i)("pptx.customShows.none")), 1)) : (0, a.createCommentVNode)("", !0), ((0, a.openBlock)(!0), (0, a.createElementBlock)(a.Fragment, null, (0, a.renderList)(o.customShows, (e) => ((0, a.openBlock)(), (0, a.createElementBlock)("option", {
|
|
33555
33613
|
key: e.id,
|
|
33556
33614
|
value: e.id
|
|
33557
|
-
}, (0, a.toDisplayString)(e.name) + " (" + (0, a.toDisplayString)(e.slideRIds.length) + ") ", 9,
|
|
33615
|
+
}, (0, a.toDisplayString)(e.name) + " (" + (0, a.toDisplayString)(e.slideRIds.length) + ") ", 9, u6))), 128))], 40, d6),
|
|
33558
33616
|
p.value ? ((0, a.openBlock)(), (0, a.createElementBlock)("button", {
|
|
33559
33617
|
key: 0,
|
|
33560
33618
|
type: "button",
|
|
33561
33619
|
class: "pptx-vue-cs-btn shrink-0 cursor-pointer rounded border border-border bg-muted px-2 py-1 text-xs text-foreground hover:bg-accent",
|
|
33562
33620
|
title: (0, a.unref)(i)("pptx.customShows.renameShow"),
|
|
33563
33621
|
onClick: g
|
|
33564
|
-
}, (0, a.toDisplayString)((0, a.unref)(i)("pptx.sections.rename")), 9,
|
|
33622
|
+
}, (0, a.toDisplayString)((0, a.unref)(i)("pptx.sections.rename")), 9, m6)) : (0, a.createCommentVNode)("", !0),
|
|
33565
33623
|
p.value ? ((0, a.openBlock)(), (0, a.createElementBlock)("button", {
|
|
33566
33624
|
key: 1,
|
|
33567
33625
|
type: "button",
|
|
33568
33626
|
class: "pptx-vue-cs-btn pptx-vue-cs-btn--danger shrink-0 cursor-pointer rounded border border-border bg-muted px-2 py-1 text-xs text-foreground hover:border-destructive hover:text-destructive",
|
|
33569
33627
|
title: (0, a.unref)(i)("pptx.customShows.deleteShow"),
|
|
33570
33628
|
onClick: t[1] || (t[1] = (e) => l("delete", p.value.id))
|
|
33571
|
-
}, (0, a.toDisplayString)((0, a.unref)(i)("pptx.sections.delete")), 9,
|
|
33629
|
+
}, (0, a.toDisplayString)((0, a.unref)(i)("pptx.sections.delete")), 9, f6)) : (0, a.createCommentVNode)("", !0)
|
|
33572
33630
|
]),
|
|
33573
|
-
d.value ? ((0, a.openBlock)(), (0, a.createElementBlock)("div",
|
|
33631
|
+
d.value ? ((0, a.openBlock)(), (0, a.createElementBlock)("div", v6, [(0, a.withDirectives)((0, a.createElementVNode)("input", {
|
|
33574
33632
|
"onUpdate:modelValue": t[2] || (t[2] = (e) => c.value = e),
|
|
33575
33633
|
class: "pptx-vue-cs-input min-w-0 flex-1 rounded border border-border bg-popover px-1.5 py-1 text-xs text-foreground",
|
|
33576
33634
|
type: "text",
|
|
33577
33635
|
"aria-label": (0, a.unref)(i)("pptx.customShows.renameNameLabel"),
|
|
33578
33636
|
onKeydown: [(0, a.withKeys)((0, a.withModifiers)(x, ["prevent"]), ["enter"]), t[3] || (t[3] = (0, a.withKeys)((0, a.withModifiers)((e) => d.value = !1, ["prevent"]), ["escape"]))]
|
|
33579
|
-
}, null, 40,
|
|
33637
|
+
}, null, 40, g6), [[a.vModelText, c.value]]), (0, a.createElementVNode)("button", {
|
|
33580
33638
|
type: "button",
|
|
33581
33639
|
class: "pptx-vue-cs-btn shrink-0 cursor-pointer rounded border border-border bg-muted px-2 py-1 text-xs text-foreground hover:bg-accent",
|
|
33582
33640
|
onClick: x
|
|
@@ -33590,14 +33648,14 @@ var o3 = ae((0, a.defineComponent)({
|
|
|
33590
33648
|
type: "text",
|
|
33591
33649
|
placeholder: (0, a.unref)(i)("pptx.customShows.namePlaceholder"),
|
|
33592
33650
|
"aria-label": (0, a.unref)(i)("pptx.customShows.newNameLabel")
|
|
33593
|
-
}, null, 8,
|
|
33594
|
-
p.value ? ((0, a.openBlock)(), (0, a.createElementBlock)("div",
|
|
33595
|
-
(0, a.createElementVNode)("p",
|
|
33596
|
-
(0, a.createElementVNode)("ol",
|
|
33651
|
+
}, null, 8, x6), [[a.vModelText, s.value]]), (0, a.createElementVNode)("button", h6, (0, a.toDisplayString)((0, a.unref)(i)("pptx.customShows.create")), 1)], 32),
|
|
33652
|
+
p.value ? ((0, a.openBlock)(), (0, a.createElementBlock)("div", y6, [
|
|
33653
|
+
(0, a.createElementVNode)("p", b6, (0, a.toDisplayString)((0, a.unref)(i)("pptx.customShows.slidesInShow")), 1),
|
|
33654
|
+
(0, a.createElementVNode)("ol", k6, [((0, a.openBlock)(!0), (0, a.createElementBlock)(a.Fragment, null, (0, a.renderList)(u.value, (e, t) => ((0, a.openBlock)(), (0, a.createElementBlock)("li", {
|
|
33597
33655
|
key: e.id ?? e.rId,
|
|
33598
33656
|
class: "pptx-vue-cs-order-item flex items-center gap-1 rounded-sm px-1 py-0.5"
|
|
33599
33657
|
}, [
|
|
33600
|
-
(0, a.createElementVNode)("span",
|
|
33658
|
+
(0, a.createElementVNode)("span", E6, (0, a.toDisplayString)(f(e, t)), 1),
|
|
33601
33659
|
(0, a.createElementVNode)("button", {
|
|
33602
33660
|
type: "button",
|
|
33603
33661
|
class: "pptx-vue-cs-mini inline-flex h-[18px] w-[18px] cursor-pointer items-center justify-center rounded-sm border border-border bg-transparent p-0 text-[9px] text-muted-foreground enabled:hover:bg-muted enabled:hover:text-foreground disabled:cursor-not-allowed disabled:opacity-40",
|
|
@@ -33609,7 +33667,7 @@ var o3 = ae((0, a.defineComponent)({
|
|
|
33609
33667
|
}, [(0, a.createVNode)((0, a.unref)(r.ChevronUp), {
|
|
33610
33668
|
class: "h-3 w-3",
|
|
33611
33669
|
"aria-hidden": "true"
|
|
33612
|
-
})], 8,
|
|
33670
|
+
})], 8, S6),
|
|
33613
33671
|
(0, a.createElementVNode)("button", {
|
|
33614
33672
|
type: "button",
|
|
33615
33673
|
class: "pptx-vue-cs-mini inline-flex h-[18px] w-[18px] cursor-pointer items-center justify-center rounded-sm border border-border bg-transparent p-0 text-[9px] text-muted-foreground enabled:hover:bg-muted enabled:hover:text-foreground disabled:cursor-not-allowed disabled:opacity-40",
|
|
@@ -33621,33 +33679,33 @@ var o3 = ae((0, a.defineComponent)({
|
|
|
33621
33679
|
}, [(0, a.createVNode)((0, a.unref)(r.ChevronDown), {
|
|
33622
33680
|
class: "h-3 w-3",
|
|
33623
33681
|
"aria-hidden": "true"
|
|
33624
|
-
})], 8,
|
|
33625
|
-
]))), 128)), 0 === u.value.length ? ((0, a.openBlock)(), (0, a.createElementBlock)("li",
|
|
33626
|
-
(0, a.createElementVNode)("p",
|
|
33627
|
-
(0, a.createElementVNode)("ul",
|
|
33682
|
+
})], 8, w6)
|
|
33683
|
+
]))), 128)), 0 === u.value.length ? ((0, a.openBlock)(), (0, a.createElementBlock)("li", C6, (0, a.toDisplayString)((0, a.unref)(i)("pptx.customShows.noSlidesYet")), 1)) : (0, a.createCommentVNode)("", !0)]),
|
|
33684
|
+
(0, a.createElementVNode)("p", B6, (0, a.toDisplayString)((0, a.unref)(i)("pptx.customShows.allSlides")), 1),
|
|
33685
|
+
(0, a.createElementVNode)("ul", N6, [((0, a.openBlock)(!0), (0, a.createElementBlock)(a.Fragment, null, (0, a.renderList)(o.slides, (e, t) => ((0, a.openBlock)(), (0, a.createElementBlock)("li", {
|
|
33628
33686
|
key: e.id ?? t,
|
|
33629
33687
|
class: "pptx-vue-cs-all-item px-1 py-px"
|
|
33630
|
-
}, [(0, a.createElementVNode)("label",
|
|
33688
|
+
}, [(0, a.createElementVNode)("label", V6, [(0, a.createElementVNode)("input", {
|
|
33631
33689
|
type: "checkbox",
|
|
33632
33690
|
checked: m(e),
|
|
33633
33691
|
disabled: !e.rId,
|
|
33634
33692
|
onChange: (t) => function(e) {
|
|
33635
33693
|
p.value && e.rId && l("toggle-slide", p.value.id, e.rId);
|
|
33636
33694
|
}(e)
|
|
33637
|
-
}, null, 40,
|
|
33695
|
+
}, null, 40, D6), (0, a.createElementVNode)("span", null, (0, a.toDisplayString)(f(e, t)), 1)])]))), 128))])
|
|
33638
33696
|
])) : (0, a.createCommentVNode)("", !0)
|
|
33639
33697
|
]));
|
|
33640
33698
|
}
|
|
33641
|
-
}),
|
|
33699
|
+
}), I6 = {
|
|
33642
33700
|
key: 0,
|
|
33643
33701
|
class: "pptx-vue-follow-bar flex flex-wrap items-center gap-3 rounded-lg bg-card/95 px-2.5 py-1.5 text-xs text-foreground",
|
|
33644
33702
|
"data-export-ignore": "true"
|
|
33645
|
-
},
|
|
33703
|
+
}, _6 = { class: "pptx-vue-follow-status inline-flex items-center gap-1.5 whitespace-nowrap text-muted-foreground" }, z6 = { class: "text-foreground" }, P6 = ["title"], F6 = { class: "pptx-vue-follow-list m-0 flex list-none items-center gap-1.5 p-0" }, A6 = [
|
|
33646
33704
|
"data-client-id",
|
|
33647
33705
|
"aria-pressed",
|
|
33648
33706
|
"title",
|
|
33649
33707
|
"onClick"
|
|
33650
|
-
],
|
|
33708
|
+
], M6 = { class: "pptx-vue-follow-name max-w-[120px] overflow-hidden text-ellipsis whitespace-nowrap" }, O6 = (0, a.defineComponent)({
|
|
33651
33709
|
__name: "FollowModeBar",
|
|
33652
33710
|
props: {
|
|
33653
33711
|
presences: {},
|
|
@@ -33664,16 +33722,16 @@ var o3 = ae((0, a.defineComponent)({
|
|
|
33664
33722
|
function c() {
|
|
33665
33723
|
r("follow", null);
|
|
33666
33724
|
}
|
|
33667
|
-
return (e, t) => o.presences.length > 0 ? ((0, a.openBlock)(), (0, a.createElementBlock)("div",
|
|
33725
|
+
return (e, t) => o.presences.length > 0 ? ((0, a.openBlock)(), (0, a.createElementBlock)("div", I6, [(0, a.createElementVNode)("span", _6, [s.value ? ((0, a.openBlock)(), (0, a.createElementBlock)(a.Fragment, { key: 0 }, [
|
|
33668
33726
|
(0, a.createTextVNode)((0, a.toDisplayString)((0, a.unref)(l)("pptx.followMode.following")) + " ", 1),
|
|
33669
|
-
(0, a.createElementVNode)("strong",
|
|
33727
|
+
(0, a.createElementVNode)("strong", z6, (0, a.toDisplayString)(s.value.userName), 1),
|
|
33670
33728
|
(0, a.createElementVNode)("button", {
|
|
33671
33729
|
type: "button",
|
|
33672
33730
|
class: "pptx-vue-follow-stop cursor-pointer rounded-md border border-border bg-transparent px-2 py-0.5 text-[11px] text-foreground hover:bg-muted",
|
|
33673
33731
|
title: (0, a.unref)(l)("pptx.followMode.stopFollowing"),
|
|
33674
33732
|
onClick: c
|
|
33675
|
-
}, (0, a.toDisplayString)((0, a.unref)(l)("pptx.followMode.stop")), 9,
|
|
33676
|
-
], 64)) : ((0, a.openBlock)(), (0, a.createElementBlock)(a.Fragment, { key: 1 }, [(0, a.createTextVNode)((0, a.toDisplayString)((0, a.unref)(l)("pptx.followMode.followCollaborator")), 1)], 64))]), (0, a.createElementVNode)("ul",
|
|
33733
|
+
}, (0, a.toDisplayString)((0, a.unref)(l)("pptx.followMode.stop")), 9, P6)
|
|
33734
|
+
], 64)) : ((0, a.openBlock)(), (0, a.createElementBlock)(a.Fragment, { key: 1 }, [(0, a.createTextVNode)((0, a.toDisplayString)((0, a.unref)(l)("pptx.followMode.followCollaborator")), 1)], 64))]), (0, a.createElementVNode)("ul", F6, [((0, a.openBlock)(!0), (0, a.createElementBlock)(a.Fragment, null, (0, a.renderList)(o.presences, (e) => ((0, a.openBlock)(), (0, a.createElementBlock)("li", { key: e.clientId }, [(0, a.createElementVNode)("button", {
|
|
33677
33735
|
type: "button",
|
|
33678
33736
|
class: (0, a.normalizeClass)(["pptx-vue-follow-peer inline-flex cursor-pointer items-center gap-1.5 rounded-full border border-transparent bg-muted/60 py-0.5 pl-0.5 pr-2 text-foreground hover:bg-muted", { "is-following border-primary bg-primary/30": e.clientId === o.followedClientId }]),
|
|
33679
33737
|
"data-client-id": e.clientId,
|
|
@@ -33687,26 +33745,26 @@ var o3 = ae((0, a.defineComponent)({
|
|
|
33687
33745
|
}, [(0, a.createElementVNode)("span", {
|
|
33688
33746
|
class: "pptx-vue-follow-avatar inline-flex h-[22px] w-[22px] items-center justify-center rounded-full text-[10px] font-semibold leading-none text-white",
|
|
33689
33747
|
style: (0, a.normalizeStyle)({ backgroundColor: e.color })
|
|
33690
|
-
}, (0, a.toDisplayString)(i(e.userName)), 5), (0, a.createElementVNode)("span",
|
|
33748
|
+
}, (0, a.toDisplayString)(i(e.userName)), 5), (0, a.createElementVNode)("span", M6, (0, a.toDisplayString)(e.userName), 1)], 10, A6)]))), 128))])])) : (0, a.createCommentVNode)("", !0);
|
|
33691
33749
|
}
|
|
33692
|
-
}),
|
|
33750
|
+
}), L6 = {
|
|
33693
33751
|
class: "flex h-full w-56 flex-col border-l border-border bg-popover",
|
|
33694
33752
|
"data-pptx-selection-pane": ""
|
|
33695
|
-
},
|
|
33753
|
+
}, R6 = { class: "flex items-center justify-between border-b border-border px-3 py-2" }, $6 = { class: "text-xs font-medium text-foreground" }, U6 = ["title"], j6 = { class: "flex-1 overflow-y-auto py-1" }, K6 = {
|
|
33696
33754
|
key: 0,
|
|
33697
33755
|
class: "px-3 py-4 text-xs italic text-muted-foreground"
|
|
33698
|
-
},
|
|
33756
|
+
}, H6 = [
|
|
33699
33757
|
"draggable",
|
|
33700
33758
|
"onClick",
|
|
33701
33759
|
"onDragstart",
|
|
33702
33760
|
"onDragover",
|
|
33703
33761
|
"onDrop"
|
|
33704
|
-
],
|
|
33762
|
+
], Z6 = ["onDblclick"], G6 = [
|
|
33705
33763
|
"aria-label",
|
|
33706
33764
|
"value",
|
|
33707
33765
|
"onBlur",
|
|
33708
33766
|
"onKeydown"
|
|
33709
|
-
],
|
|
33767
|
+
], W6 = ["title", "onClick"], q6 = (0, a.defineComponent)({
|
|
33710
33768
|
__name: "SelectionPane",
|
|
33711
33769
|
props: {
|
|
33712
33770
|
elements: {},
|
|
@@ -33769,12 +33827,12 @@ var o3 = ae((0, a.defineComponent)({
|
|
|
33769
33827
|
element: e,
|
|
33770
33828
|
index: t
|
|
33771
33829
|
})).slice().reverse()), b = (0, a.ref)(null), k = (0, a.ref)(null);
|
|
33772
|
-
return (e, t) => ((0, a.openBlock)(), (0, a.createElementBlock)("div",
|
|
33830
|
+
return (e, t) => ((0, a.openBlock)(), (0, a.createElementBlock)("div", L6, [(0, a.createElementVNode)("div", R6, [(0, a.createElementVNode)("span", $6, (0, a.toDisplayString)((0, a.unref)(s)("pptx.selectionPane.heading")), 1), (0, a.createElementVNode)("button", {
|
|
33773
33831
|
type: "button",
|
|
33774
33832
|
class: "text-xs text-muted-foreground hover:text-foreground",
|
|
33775
33833
|
title: (0, a.unref)(s)("pptx.selectionPane.close"),
|
|
33776
33834
|
onClick: t[0] || (t[0] = (e) => i("close"))
|
|
33777
|
-
}, " × ", 8,
|
|
33835
|
+
}, " × ", 8, U6)]), (0, a.createElementVNode)("div", j6, [0 === y.value.length ? ((0, a.openBlock)(), (0, a.createElementBlock)("div", K6, (0, a.toDisplayString)((0, a.unref)(s)("pptx.selectionPane.noObjects")), 1)) : ((0, a.openBlock)(!0), (0, a.createElementBlock)(a.Fragment, { key: 1 }, (0, a.renderList)(y.value, ({ element: e, index: n }) => ((0, a.openBlock)(), (0, a.createElementBlock)("div", {
|
|
33778
33836
|
key: e.id,
|
|
33779
33837
|
draggable: l.canEdit && p.value !== e.id,
|
|
33780
33838
|
class: (0, a.normalizeClass)(["flex cursor-pointer items-center gap-1.5 px-2 py-1 text-xs transition-colors", [l.selectedIds.includes(e.id) ? "bg-primary/30 text-primary" : "text-foreground hover:bg-muted", k.value === n ? "border-t-2 border-primary" : ""]]),
|
|
@@ -33820,7 +33878,7 @@ var o3 = ae((0, a.defineComponent)({
|
|
|
33820
33878
|
onBlur: (t) => x(e),
|
|
33821
33879
|
onKeydown: [(0, a.withKeys)((t) => x(e), ["enter"]), (0, a.withKeys)(h, ["escape"])],
|
|
33822
33880
|
onClick: t[2] || (t[2] = (0, a.withModifiers)(() => {}, ["stop"]))
|
|
33823
|
-
}, null, 40,
|
|
33881
|
+
}, null, 40, G6)) : ((0, a.openBlock)(), (0, a.createElementBlock)(a.Fragment, { key: 1 }, [(0, a.createTextVNode)((0, a.toDisplayString)(d(e, n)), 1)], 64))], 40, Z6),
|
|
33824
33882
|
(0, a.createElementVNode)("button", {
|
|
33825
33883
|
type: "button",
|
|
33826
33884
|
class: "flex-shrink-0 text-muted-foreground hover:text-foreground",
|
|
@@ -33832,19 +33890,19 @@ var o3 = ae((0, a.defineComponent)({
|
|
|
33832
33890
|
})) : ((0, a.openBlock)(), (0, a.createBlock)((0, a.unref)(r.Eye), {
|
|
33833
33891
|
key: 1,
|
|
33834
33892
|
class: "h-3.5 w-3.5 opacity-50"
|
|
33835
|
-
}))], 8,
|
|
33836
|
-
], 42,
|
|
33893
|
+
}))], 8, W6)
|
|
33894
|
+
], 42, H6))), 128))])]));
|
|
33837
33895
|
}
|
|
33838
|
-
}),
|
|
33896
|
+
}), X6 = ["aria-label"], Y6 = { class: "pptx-vue-signatures__title flex-1" }, J6 = {
|
|
33839
33897
|
key: 0,
|
|
33840
33898
|
class: "pptx-vue-signatures__count text-xs font-normal opacity-80"
|
|
33841
|
-
},
|
|
33899
|
+
}, Q6 = {
|
|
33842
33900
|
key: 0,
|
|
33843
33901
|
class: "pptx-vue-signatures__empty m-0 px-3 py-3.5 text-muted-foreground"
|
|
33844
|
-
},
|
|
33902
|
+
}, e9 = {
|
|
33845
33903
|
key: 1,
|
|
33846
33904
|
class: "pptx-vue-signatures__list m-0 list-none p-0"
|
|
33847
|
-
},
|
|
33905
|
+
}, t9 = { class: "pptx-vue-signatures__item-main flex items-center justify-between gap-2" }, n9 = { class: "pptx-vue-signatures__signer font-semibold break-words" }, o9 = { class: "pptx-vue-signatures__meta m-0 mt-1.5 grid grid-cols-[auto_1fr] gap-x-2.5 gap-y-0.5 text-xs text-muted-foreground [&_dd]:m-0 [&_dd]:break-words [&_dt]:font-medium [&_dt]:text-muted-foreground" }, a9 = (0, a.defineComponent)({
|
|
33848
33906
|
__name: "SignaturesPanel",
|
|
33849
33907
|
props: { signatures: {} },
|
|
33850
33908
|
setup(e) {
|
|
@@ -33891,27 +33949,27 @@ var o3 = ae((0, a.defineComponent)({
|
|
|
33891
33949
|
class: "pptx-vue-signatures__dot h-2.5 w-2.5 flex-none rounded-full bg-current",
|
|
33892
33950
|
"aria-hidden": "true"
|
|
33893
33951
|
}, null, -1)),
|
|
33894
|
-
(0, a.createElementVNode)("span",
|
|
33895
|
-
(0, a.unref)(r) ? ((0, a.openBlock)(), (0, a.createElementBlock)("span",
|
|
33896
|
-
], 2), (0, a.unref)(r) ? ((0, a.openBlock)(), (0, a.createElementBlock)("ul",
|
|
33952
|
+
(0, a.createElementVNode)("span", Y6, (0, a.toDisplayString)(s.value), 1),
|
|
33953
|
+
(0, a.unref)(r) ? ((0, a.openBlock)(), (0, a.createElementBlock)("span", J6, (0, a.toDisplayString)((0, a.unref)(t)("pptx.digitalSignatures.signatureCount", { count: o.signatures.length })), 1)) : (0, a.createCommentVNode)("", !0)
|
|
33954
|
+
], 2), (0, a.unref)(r) ? ((0, a.openBlock)(), (0, a.createElementBlock)("ul", e9, [((0, a.openBlock)(!0), (0, a.createElementBlock)(a.Fragment, null, (0, a.renderList)(o.signatures, (e, n) => ((0, a.openBlock)(), (0, a.createElementBlock)("li", {
|
|
33897
33955
|
key: m(e, n),
|
|
33898
33956
|
class: (0, a.normalizeClass)(["pptx-vue-signatures__item border-b border-l-[3px] border-b-border/60 border-l-transparent px-3 py-2.5 last:border-b-0", [`pptx-vue-signatures__item--${d(e.status)}`, {
|
|
33899
33957
|
"border-l-green-500": "valid" === d(e.status),
|
|
33900
33958
|
"border-l-red-500": "invalid" === d(e.status),
|
|
33901
33959
|
"border-l-amber-500": "unknown" === d(e.status)
|
|
33902
33960
|
}]])
|
|
33903
|
-
}, [(0, a.createElementVNode)("div",
|
|
33961
|
+
}, [(0, a.createElementVNode)("div", t9, [(0, a.createElementVNode)("span", n9, (0, a.toDisplayString)(p(e)), 1), (0, a.createElementVNode)("span", { class: (0, a.normalizeClass)(["pptx-vue-signatures__badge flex-none whitespace-nowrap rounded-full px-2 py-0.5 text-[11px] font-semibold", [`pptx-vue-signatures__badge--${d(e.status)}`, {
|
|
33904
33962
|
"bg-green-900/30 text-green-300": "valid" === d(e.status),
|
|
33905
33963
|
"bg-red-900/30 text-red-300": "invalid" === d(e.status),
|
|
33906
33964
|
"bg-amber-900/30 text-amber-300": "unknown" === d(e.status)
|
|
33907
|
-
}]]) }, (0, a.toDisplayString)(c(e.status)), 3)]), (0, a.createElementVNode)("dl",
|
|
33965
|
+
}]]) }, (0, a.toDisplayString)(c(e.status)), 3)]), (0, a.createElementVNode)("dl", o9, [
|
|
33908
33966
|
e.certificate?.issuer ? ((0, a.openBlock)(), (0, a.createElementBlock)(a.Fragment, { key: 0 }, [(0, a.createElementVNode)("dt", null, (0, a.toDisplayString)((0, a.unref)(t)("pptx.digitalSignatures.issuer")), 1), (0, a.createElementVNode)("dd", null, (0, a.toDisplayString)(e.certificate.issuer), 1)], 64)) : (0, a.createCommentVNode)("", !0),
|
|
33909
33967
|
e.certificate?.serialNumber ? ((0, a.openBlock)(), (0, a.createElementBlock)(a.Fragment, { key: 1 }, [(0, a.createElementVNode)("dt", null, (0, a.toDisplayString)((0, a.unref)(t)("pptx.digitalSignatures.serial")), 1), (0, a.createElementVNode)("dd", null, (0, a.toDisplayString)(e.certificate.serialNumber), 1)], 64)) : (0, a.createCommentVNode)("", !0),
|
|
33910
33968
|
u(e) ? ((0, a.openBlock)(), (0, a.createElementBlock)(a.Fragment, { key: 2 }, [(0, a.createElementVNode)("dt", null, (0, a.toDisplayString)((0, a.unref)(t)("pptx.digitalSignatures.headerSigned")), 1), (0, a.createElementVNode)("dd", null, (0, a.toDisplayString)(u(e)), 1)], 64)) : (0, a.createCommentVNode)("", !0),
|
|
33911
33969
|
e.certificate ? (0, a.createCommentVNode)("", !0) : ((0, a.openBlock)(), (0, a.createElementBlock)(a.Fragment, { key: 3 }, [(0, a.createElementVNode)("dt", null, (0, a.toDisplayString)((0, a.unref)(t)("pptx.digitalSignatures.certificate")), 1), (0, a.createElementVNode)("dd", null, (0, a.toDisplayString)((0, a.unref)(t)("pptx.digitalSignatures.notAvailable")), 1)], 64))
|
|
33912
|
-
])], 2))), 128))])) : ((0, a.openBlock)(), (0, a.createElementBlock)("p",
|
|
33970
|
+
])], 2))), 128))])) : ((0, a.openBlock)(), (0, a.createElementBlock)("p", Q6, (0, a.toDisplayString)((0, a.unref)(t)("pptx.digitalSignatures.noSignatures")), 1))], 8, X6));
|
|
33913
33971
|
}
|
|
33914
|
-
}),
|
|
33972
|
+
}), r9 = ["title"], l9 = (0, a.defineComponent)({
|
|
33915
33973
|
__name: "SignatureStatusBadge",
|
|
33916
33974
|
props: {
|
|
33917
33975
|
hasSignatures: { type: Boolean },
|
|
@@ -33926,12 +33984,12 @@ var o3 = ae((0, a.defineComponent)({
|
|
|
33926
33984
|
class: "inline-flex items-center gap-1 rounded-md border border-green-700/40 bg-green-900/30 px-2 py-0.5 text-[11px] font-medium text-green-300 transition-colors hover:bg-green-900/50",
|
|
33927
33985
|
title: (0, a.unref)(i)("pptx.digitalSignatures.badgeTitle", { count: o.signatureCount }),
|
|
33928
33986
|
onClick: t[0] || (t[0] = (e) => l("click"))
|
|
33929
|
-
}, [(0, a.createVNode)((0, a.unref)(r.ShieldCheck), { class: "h-3.5 w-3.5" }), (0, a.createElementVNode)("span", null, (0, a.toDisplayString)((0, a.unref)(i)("pptx.digitalSignatures.badgeSigned")), 1)], 8,
|
|
33987
|
+
}, [(0, a.createVNode)((0, a.unref)(r.ShieldCheck), { class: "h-3.5 w-3.5" }), (0, a.createElementVNode)("span", null, (0, a.toDisplayString)((0, a.unref)(i)("pptx.digitalSignatures.badgeSigned")), 1)], 8, r9)) : (0, a.createCommentVNode)("", !0);
|
|
33930
33988
|
}
|
|
33931
|
-
}),
|
|
33989
|
+
}), i9 = {
|
|
33932
33990
|
key: 4,
|
|
33933
33991
|
class: "pointer-events-auto absolute right-2 top-2 z-50"
|
|
33934
|
-
},
|
|
33992
|
+
}, s9 = (0, a.defineComponent)({
|
|
33935
33993
|
__name: "ViewerSidePanels",
|
|
33936
33994
|
props: {
|
|
33937
33995
|
deck: {},
|
|
@@ -34002,7 +34060,7 @@ var o3 = ae((0, a.defineComponent)({
|
|
|
34002
34060
|
"on-select-element",
|
|
34003
34061
|
"on-close"
|
|
34004
34062
|
])) : (0, a.createCommentVNode)("", !0),
|
|
34005
|
-
e.ai && e.aiPanelOpen && ("edit" === e.ribbonMode || "master" === e.ribbonMode) ? ((0, a.openBlock)(), (0, a.createBlock)((0, a.unref)(
|
|
34063
|
+
e.ai && e.aiPanelOpen && ("edit" === e.ribbonMode || "master" === e.ribbonMode) ? ((0, a.openBlock)(), (0, a.createBlock)((0, a.unref)(r6), {
|
|
34006
34064
|
key: 1,
|
|
34007
34065
|
bridge: e.aiBridge,
|
|
34008
34066
|
config: e.ai,
|
|
@@ -34014,7 +34072,7 @@ var o3 = ae((0, a.defineComponent)({
|
|
|
34014
34072
|
"ai-panel",
|
|
34015
34073
|
"onClose"
|
|
34016
34074
|
])) : (0, a.createCommentVNode)("", !0),
|
|
34017
|
-
e.canEdit && e.showA11y ? ((0, a.openBlock)(), (0, a.createBlock)(
|
|
34075
|
+
e.canEdit && e.showA11y ? ((0, a.openBlock)(), (0, a.createBlock)(a6, {
|
|
34018
34076
|
key: 2,
|
|
34019
34077
|
issues: e.accessibility.issues.value,
|
|
34020
34078
|
onSelectSlide: e.goTo
|
|
@@ -34028,16 +34086,16 @@ var o3 = ae((0, a.defineComponent)({
|
|
|
34028
34086
|
onResolve: o[2] || (o[2] = (t) => n(e.comments.commentsApi.resolveComment(t))),
|
|
34029
34087
|
onReply: o[3] || (o[3] = (t) => n(e.comments.commentsApi.replyToComment(t.parentId, t.text)))
|
|
34030
34088
|
}, null, 8, ["comments", "author-name"])) : (0, a.createCommentVNode)("", !0),
|
|
34031
|
-
e.signatureWorkflow.hasDigitalSignatures.value && !e.isMobile ? ((0, a.openBlock)(), (0, a.createElementBlock)("div",
|
|
34089
|
+
e.signatureWorkflow.hasDigitalSignatures.value && !e.isMobile ? ((0, a.openBlock)(), (0, a.createElementBlock)("div", i9, [(0, a.createVNode)(l9, {
|
|
34032
34090
|
"has-signatures": e.signatureWorkflow.hasDigitalSignatures.value,
|
|
34033
34091
|
"signature-count": e.deck.signatures.value.length,
|
|
34034
34092
|
onClick: o[4] || (o[4] = (t) => e.signatureWorkflow.showSignatures.value = !0)
|
|
34035
34093
|
}, null, 8, ["has-signatures", "signature-count"])])) : (0, a.createCommentVNode)("", !0),
|
|
34036
|
-
e.signatureWorkflow.showSignatures.value ? ((0, a.openBlock)(), (0, a.createBlock)(
|
|
34094
|
+
e.signatureWorkflow.showSignatures.value ? ((0, a.openBlock)(), (0, a.createBlock)(a9, {
|
|
34037
34095
|
key: 5,
|
|
34038
34096
|
signatures: e.deck.signatures.value
|
|
34039
34097
|
}, null, 8, ["signatures"])) : (0, a.createCommentVNode)("", !0),
|
|
34040
|
-
e.canEdit && !e.isMobile && e.selectionPane.showSelectionPane.value ? ((0, a.openBlock)(), (0, a.createBlock)(
|
|
34098
|
+
e.canEdit && !e.isMobile && e.selectionPane.showSelectionPane.value ? ((0, a.openBlock)(), (0, a.createBlock)(q6, {
|
|
34041
34099
|
key: 6,
|
|
34042
34100
|
elements: e.activeSlide?.elements ?? [],
|
|
34043
34101
|
"selected-ids": e.selectedElementIds,
|
|
@@ -34056,7 +34114,7 @@ var o3 = ae((0, a.defineComponent)({
|
|
|
34056
34114
|
"onReorder",
|
|
34057
34115
|
"onRename"
|
|
34058
34116
|
])) : (0, a.createCommentVNode)("", !0),
|
|
34059
|
-
e.collaboration.collabActive.value ? ((0, a.openBlock)(), (0, a.createBlock)(
|
|
34117
|
+
e.collaboration.collabActive.value ? ((0, a.openBlock)(), (0, a.createBlock)(O6, {
|
|
34060
34118
|
key: 7,
|
|
34061
34119
|
presences: e.collaboration.collab.remotePresences.value,
|
|
34062
34120
|
"followed-client-id": e.collaboration.collab.followedClientId.value,
|
|
@@ -34066,7 +34124,7 @@ var o3 = ae((0, a.defineComponent)({
|
|
|
34066
34124
|
"followed-client-id",
|
|
34067
34125
|
"onFollow"
|
|
34068
34126
|
])) : (0, a.createCommentVNode)("", !0),
|
|
34069
|
-
e.canEdit && e.customShows.showCustomShows.value ? ((0, a.openBlock)(), (0, a.createBlock)(
|
|
34127
|
+
e.canEdit && e.customShows.showCustomShows.value ? ((0, a.openBlock)(), (0, a.createBlock)(T6, {
|
|
34070
34128
|
key: 8,
|
|
34071
34129
|
"custom-shows": e.deck.customShows.value,
|
|
34072
34130
|
slides: e.deck.slides.value,
|
|
@@ -34089,34 +34147,34 @@ var o3 = ae((0, a.defineComponent)({
|
|
|
34089
34147
|
])) : (0, a.createCommentVNode)("", !0)
|
|
34090
34148
|
], 64));
|
|
34091
34149
|
}
|
|
34092
|
-
}),
|
|
34150
|
+
}), c9 = { class: "pptx-vue-section-list flex flex-col gap-0.5 p-1" }, d9 = {
|
|
34093
34151
|
key: 0,
|
|
34094
34152
|
class: "pptx-vue-section-header group flex items-center gap-1 px-1 py-0.5"
|
|
34095
|
-
},
|
|
34153
|
+
}, p9 = [
|
|
34096
34154
|
"aria-expanded",
|
|
34097
34155
|
"title",
|
|
34098
34156
|
"onClick",
|
|
34099
34157
|
"onDblclick"
|
|
34100
|
-
],
|
|
34158
|
+
], u9 = { class: "pptx-vue-section-name overflow-hidden text-ellipsis whitespace-nowrap" }, m9 = { class: "pptx-vue-section-count ml-auto text-[10px] text-muted-foreground" }, f9 = {
|
|
34101
34159
|
key: 0,
|
|
34102
34160
|
class: "pptx-vue-section-actions inline-flex gap-0.5 opacity-0 transition-opacity group-hover:opacity-100"
|
|
34103
|
-
},
|
|
34161
|
+
}, v9 = [
|
|
34104
34162
|
"title",
|
|
34105
34163
|
"aria-label",
|
|
34106
34164
|
"onClick"
|
|
34107
|
-
],
|
|
34165
|
+
], g9 = [
|
|
34108
34166
|
"title",
|
|
34109
34167
|
"aria-label",
|
|
34110
34168
|
"onClick"
|
|
34111
|
-
],
|
|
34169
|
+
], x9 = [
|
|
34112
34170
|
"title",
|
|
34113
34171
|
"aria-label",
|
|
34114
34172
|
"onClick"
|
|
34115
|
-
],
|
|
34173
|
+
], h9 = { class: "pptx-vue-section-slides m-0 flex list-none flex-col gap-1.5 px-1 pb-1 pt-0.5" }, y9 = [
|
|
34116
34174
|
"title",
|
|
34117
34175
|
"aria-label",
|
|
34118
34176
|
"onClick"
|
|
34119
|
-
],
|
|
34177
|
+
], b9 = { class: "pptx-vue-section-thumb-num w-[18px] flex-shrink-0 text-right text-[10px] text-muted-foreground" }, k9 = ["title", "onClick"], E9 = (0, a.defineComponent)({
|
|
34120
34178
|
__name: "SectionList",
|
|
34121
34179
|
props: {
|
|
34122
34180
|
groups: {},
|
|
@@ -34160,11 +34218,11 @@ var o3 = ae((0, a.defineComponent)({
|
|
|
34160
34218
|
function b(e, t) {
|
|
34161
34219
|
return i("pptx.notes.slideN", { n: e.slideNumber || t + 1 });
|
|
34162
34220
|
}
|
|
34163
|
-
return (e, t) => ((0, a.openBlock)(), (0, a.createElementBlock)("div",
|
|
34221
|
+
return (e, t) => ((0, a.openBlock)(), (0, a.createElementBlock)("div", c9, [((0, a.openBlock)(!0), (0, a.createElementBlock)(a.Fragment, null, (0, a.renderList)(o.groups, (e, n) => ((0, a.openBlock)(), (0, a.createElementBlock)("div", {
|
|
34164
34222
|
key: e.section?.id ?? `__nosection-${n}`,
|
|
34165
34223
|
class: "pptx-vue-section-group flex flex-col"
|
|
34166
34224
|
}, [
|
|
34167
|
-
e.section ? ((0, a.openBlock)(), (0, a.createElementBlock)("div",
|
|
34225
|
+
e.section ? ((0, a.openBlock)(), (0, a.createElementBlock)("div", d9, [(0, a.createElementVNode)("button", {
|
|
34168
34226
|
type: "button",
|
|
34169
34227
|
class: "pptx-vue-section-toggle inline-flex min-w-0 flex-1 cursor-pointer items-center gap-1.5 rounded border-none bg-transparent px-1.5 py-1 text-[11px] uppercase tracking-wide text-muted-foreground hover:bg-muted hover:text-foreground",
|
|
34170
34228
|
"aria-expanded": !g(e),
|
|
@@ -34208,8 +34266,8 @@ var o3 = ae((0, a.defineComponent)({
|
|
|
34208
34266
|
onKeydown: h,
|
|
34209
34267
|
onBlur: x,
|
|
34210
34268
|
onClick: t[1] || (t[1] = (0, a.withModifiers)(() => {}, ["stop"]))
|
|
34211
|
-
}, null, 544)), [[a.vModelText, m.value]]) : ((0, a.openBlock)(), (0, a.createElementBlock)(a.Fragment, { key: 2 }, [(0, a.createElementVNode)("span",
|
|
34212
|
-
], 40,
|
|
34269
|
+
}, null, 544)), [[a.vModelText, m.value]]) : ((0, a.openBlock)(), (0, a.createElementBlock)(a.Fragment, { key: 2 }, [(0, a.createElementVNode)("span", u9, (0, a.toDisplayString)(e.section.name), 1), (0, a.createElementVNode)("span", m9, (0, a.toDisplayString)(e.slides.length), 1)], 64))
|
|
34270
|
+
], 40, p9), !1 !== o.canEdit && u.value !== e.section.id ? ((0, a.openBlock)(), (0, a.createElementBlock)("div", f9, [
|
|
34213
34271
|
(0, a.createElementVNode)("button", {
|
|
34214
34272
|
type: "button",
|
|
34215
34273
|
class: "pptx-vue-section-action inline-flex h-[18px] w-[18px] cursor-pointer items-center justify-center rounded-sm border border-transparent bg-transparent p-0 text-[10px] leading-none text-muted-foreground hover:bg-muted hover:text-foreground",
|
|
@@ -34220,7 +34278,7 @@ var o3 = ae((0, a.defineComponent)({
|
|
|
34220
34278
|
}, [(0, a.createVNode)((0, a.unref)(r.ChevronUp), {
|
|
34221
34279
|
class: "h-3 w-3",
|
|
34222
34280
|
"aria-hidden": "true"
|
|
34223
|
-
})], 8,
|
|
34281
|
+
})], 8, v9),
|
|
34224
34282
|
(0, a.createElementVNode)("button", {
|
|
34225
34283
|
type: "button",
|
|
34226
34284
|
class: "pptx-vue-section-action inline-flex h-[18px] w-[18px] cursor-pointer items-center justify-center rounded-sm border border-transparent bg-transparent p-0 text-[10px] leading-none text-muted-foreground hover:bg-muted hover:text-foreground",
|
|
@@ -34231,7 +34289,7 @@ var o3 = ae((0, a.defineComponent)({
|
|
|
34231
34289
|
}, [(0, a.createVNode)((0, a.unref)(r.ChevronDown), {
|
|
34232
34290
|
class: "h-3 w-3",
|
|
34233
34291
|
"aria-hidden": "true"
|
|
34234
|
-
})], 8,
|
|
34292
|
+
})], 8, g9),
|
|
34235
34293
|
(0, a.createElementVNode)("button", {
|
|
34236
34294
|
type: "button",
|
|
34237
34295
|
class: "pptx-vue-section-action pptx-vue-section-action--danger inline-flex h-[18px] w-[18px] cursor-pointer items-center justify-center rounded-sm border border-transparent bg-transparent p-0 text-[10px] leading-none text-muted-foreground hover:bg-muted hover:text-destructive",
|
|
@@ -34242,9 +34300,9 @@ var o3 = ae((0, a.defineComponent)({
|
|
|
34242
34300
|
}, [(0, a.createVNode)((0, a.unref)(r.X), {
|
|
34243
34301
|
class: "h-3 w-3",
|
|
34244
34302
|
"aria-hidden": "true"
|
|
34245
|
-
})], 8,
|
|
34303
|
+
})], 8, x9)
|
|
34246
34304
|
])) : (0, a.createCommentVNode)("", !0)])) : (0, a.createCommentVNode)("", !0),
|
|
34247
|
-
(0, a.withDirectives)((0, a.createElementVNode)("ul",
|
|
34305
|
+
(0, a.withDirectives)((0, a.createElementVNode)("ul", h9, [((0, a.openBlock)(!0), (0, a.createElementBlock)(a.Fragment, null, (0, a.renderList)(e.slides, (t, n) => ((0, a.openBlock)(), (0, a.createElementBlock)("li", {
|
|
34248
34306
|
key: t.id ?? e.slideIndexes[n],
|
|
34249
34307
|
class: (0, a.normalizeClass)(["pptx-vue-section-slide flex", { "is-active": e.slideIndexes[n] === o.activeIndex }])
|
|
34250
34308
|
}, [(0, a.createElementVNode)("button", {
|
|
@@ -34257,7 +34315,7 @@ var o3 = ae((0, a.defineComponent)({
|
|
|
34257
34315
|
return;
|
|
34258
34316
|
var o;
|
|
34259
34317
|
}
|
|
34260
|
-
}, [(0, a.createElementVNode)("span",
|
|
34318
|
+
}, [(0, a.createElementVNode)("span", b9, (0, a.toDisplayString)(e.slideIndexes[n] + 1), 1), (0, a.createElementVNode)("span", {
|
|
34261
34319
|
class: "pptx-vue-section-stage block overflow-hidden rounded-sm border border-border bg-white",
|
|
34262
34320
|
style: (0, a.normalizeStyle)(d.value)
|
|
34263
34321
|
}, [(0, a.createVNode)(mr, {
|
|
@@ -34270,17 +34328,17 @@ var o3 = ae((0, a.defineComponent)({
|
|
|
34270
34328
|
"canvas-size",
|
|
34271
34329
|
"media-data-urls",
|
|
34272
34330
|
"scale"
|
|
34273
|
-
])], 4)], 10,
|
|
34331
|
+
])], 4)], 10, y9)], 2))), 128))], 512), [[a.vShow, !g(e)]]),
|
|
34274
34332
|
!1 !== o.canEdit && y(e) >= 0 ? ((0, a.openBlock)(), (0, a.createElementBlock)("button", {
|
|
34275
34333
|
key: 1,
|
|
34276
34334
|
type: "button",
|
|
34277
34335
|
class: "pptx-vue-section-add mb-1 ml-7 mr-1 mt-0 cursor-pointer self-start rounded border border-dashed border-border bg-transparent px-1.5 py-0.5 text-[10px] text-muted-foreground hover:border-primary hover:text-foreground",
|
|
34278
34336
|
title: 0 === p.value ? (0, a.unref)(i)("pptx.sectionList.addSection") : (0, a.unref)(i)("pptx.sectionList.addSectionHere"),
|
|
34279
34337
|
onClick: (t) => l("add-section", y(e))
|
|
34280
|
-
}, " + " + (0, a.toDisplayString)((0, a.unref)(i)("pptx.sectionList.addSection")), 9,
|
|
34338
|
+
}, " + " + (0, a.toDisplayString)((0, a.unref)(i)("pptx.sectionList.addSection")), 9, k9)) : (0, a.createCommentVNode)("", !0)
|
|
34281
34339
|
]))), 128))]));
|
|
34282
34340
|
}
|
|
34283
|
-
}),
|
|
34341
|
+
}), S9 = ["aria-label"], w9 = (0, a.defineComponent)({
|
|
34284
34342
|
__name: "ViewerSlideRail",
|
|
34285
34343
|
props: {
|
|
34286
34344
|
mergedSlides: {},
|
|
@@ -34304,7 +34362,7 @@ var o3 = ae((0, a.defineComponent)({
|
|
|
34304
34362
|
key: 1,
|
|
34305
34363
|
class: "pptx-vue-thumbnails",
|
|
34306
34364
|
"aria-label": (0, a.unref)(o)("pptx.sections.slides")
|
|
34307
|
-
}, [(0, a.createVNode)(
|
|
34365
|
+
}, [(0, a.createVNode)(E9, {
|
|
34308
34366
|
groups: r.value,
|
|
34309
34367
|
"canvas-size": e.canvasSize,
|
|
34310
34368
|
"media-data-urls": e.mediaDataUrls,
|
|
@@ -34329,7 +34387,7 @@ var o3 = ae((0, a.defineComponent)({
|
|
|
34329
34387
|
"onMoveUp",
|
|
34330
34388
|
"onMoveDown",
|
|
34331
34389
|
"onDelete"
|
|
34332
|
-
])], 8,
|
|
34390
|
+
])], 8, S9)) : ((0, a.openBlock)(), (0, a.createBlock)(GR, {
|
|
34333
34391
|
key: 0,
|
|
34334
34392
|
slides: e.mergedSlides,
|
|
34335
34393
|
"active-index": e.activeSlideIndex,
|
|
@@ -34354,7 +34412,7 @@ var o3 = ae((0, a.defineComponent)({
|
|
|
34354
34412
|
]));
|
|
34355
34413
|
}
|
|
34356
34414
|
});
|
|
34357
|
-
function
|
|
34415
|
+
function C9(e) {
|
|
34358
34416
|
const { activeSlideIndex: t, selectedElementIds: n, selectedElementId: o } = e, a = n.length > 0 ? n : o ? [o] : [];
|
|
34359
34417
|
return 0 === a.length ? [{
|
|
34360
34418
|
kind: "slide",
|
|
@@ -34365,7 +34423,7 @@ function w9(e) {
|
|
|
34365
34423
|
elementId: e
|
|
34366
34424
|
}));
|
|
34367
34425
|
}
|
|
34368
|
-
function
|
|
34426
|
+
function B9(e, t) {
|
|
34369
34427
|
return e.map((e, n) => {
|
|
34370
34428
|
if ("slide" === e.kind) {
|
|
34371
34429
|
const t = `Slide ${e.slideIndex + 1}`;
|
|
@@ -34388,7 +34446,7 @@ function C9(e, t) {
|
|
|
34388
34446
|
};
|
|
34389
34447
|
});
|
|
34390
34448
|
}
|
|
34391
|
-
function
|
|
34449
|
+
function N9(e, t) {
|
|
34392
34450
|
if (2 !== e.length || e.some((e) => "element" !== e.kind)) return !1;
|
|
34393
34451
|
const [n, o] = e;
|
|
34394
34452
|
if (n.slideIndex !== o.slideIndex) return !1;
|
|
@@ -34399,13 +34457,13 @@ function B9(e, t) {
|
|
|
34399
34457
|
elementIdB: o.elementId
|
|
34400
34458
|
};
|
|
34401
34459
|
}
|
|
34402
|
-
function
|
|
34460
|
+
function V9(e) {
|
|
34403
34461
|
const { activeSlideIndex: t, selectedElementIds: n, selectedElement: o } = e, r = (0, a.ref)(null), l = (0, a.ref)({
|
|
34404
34462
|
text: "",
|
|
34405
34463
|
nonce: 0
|
|
34406
34464
|
}), i = (0, a.ref)(!1), s = (0, a.ref)([]), c = (0, a.ref)(null), d = (0, a.ref)(0);
|
|
34407
34465
|
let p = null;
|
|
34408
|
-
const u = (0, a.ref)(null), m = (0, a.computed)(() =>
|
|
34466
|
+
const u = (0, a.ref)(null), m = (0, a.computed)(() => C9({
|
|
34409
34467
|
activeSlideIndex: t.value,
|
|
34410
34468
|
selectedElementIds: n.value,
|
|
34411
34469
|
selectedElementId: n.value[0] ?? null
|
|
@@ -34488,7 +34546,7 @@ function N9(e) {
|
|
|
34488
34546
|
}
|
|
34489
34547
|
};
|
|
34490
34548
|
}
|
|
34491
|
-
function
|
|
34549
|
+
function D9(e) {
|
|
34492
34550
|
let o = null;
|
|
34493
34551
|
function a(t) {
|
|
34494
34552
|
if (t && n.isElementIdInteractive(t, e.editTemplateMode.value)) return n.canInteractWithElement(e.findActiveElement(t), "select") ? t : void 0;
|
|
@@ -34552,7 +34610,7 @@ function V9(e) {
|
|
|
34552
34610
|
}
|
|
34553
34611
|
};
|
|
34554
34612
|
}
|
|
34555
|
-
function
|
|
34613
|
+
function T9(e) {
|
|
34556
34614
|
const { slides: t, activeSlide: o, activeSlideIndex: r, selectedElements: l, pushHistory: i } = e, s = (0, a.computed)(() => 1 === l.value.length ? l.value[0] : void 0), c = (0, a.computed)(() => {
|
|
34557
34615
|
const e = s.value;
|
|
34558
34616
|
if (!e) return;
|
|
@@ -34611,26 +34669,26 @@ function D9(e) {
|
|
|
34611
34669
|
}
|
|
34612
34670
|
};
|
|
34613
34671
|
}
|
|
34614
|
-
function
|
|
34672
|
+
function I9(e, t, n) {
|
|
34615
34673
|
const o = (0, a.shallowRef)(t(e.getState())), r = e.subscribeSelector(t, (e) => {
|
|
34616
34674
|
o.value = e;
|
|
34617
34675
|
}, n);
|
|
34618
34676
|
return (0, a.onScopeDispose)(r), o;
|
|
34619
34677
|
}
|
|
34620
|
-
var
|
|
34678
|
+
var _9 = ["aria-busy", "tabindex"], z9 = {
|
|
34621
34679
|
key: 0,
|
|
34622
34680
|
class: "pptx-vue-state pptx-vue-loading",
|
|
34623
34681
|
role: "status",
|
|
34624
34682
|
"aria-live": "polite"
|
|
34625
|
-
},
|
|
34683
|
+
}, P9 = {
|
|
34626
34684
|
key: 1,
|
|
34627
34685
|
class: "pptx-vue-state pptx-vue-error",
|
|
34628
34686
|
role: "alert"
|
|
34629
|
-
},
|
|
34687
|
+
}, F9 = {
|
|
34630
34688
|
key: 2,
|
|
34631
34689
|
class: "pptx-vue-state pptx-vue-error",
|
|
34632
34690
|
role: "alert"
|
|
34633
|
-
},
|
|
34691
|
+
}, A9 = { class: "pptx-vue-error-detail" }, M9 = { class: "pptx-vue-body" }, O9 = ["data-pptx-ai-active"], R9 = (0, a.defineComponent)({
|
|
34634
34692
|
__name: "PowerPointViewer",
|
|
34635
34693
|
props: {
|
|
34636
34694
|
content: {},
|
|
@@ -34784,7 +34842,7 @@ var I9 = ["aria-busy", "tabindex"], _9 = {
|
|
|
34784
34842
|
goNext: () => r(t.value + 1)
|
|
34785
34843
|
};
|
|
34786
34844
|
}(y), { zoom: ne, fitScale: oe, effectiveZoom: ae, zoomIn: re, zoomOut: le, zoomReset: ie } = function() {
|
|
34787
|
-
const e = n.createViewerZoomStore(), t =
|
|
34845
|
+
const e = n.createViewerZoomStore(), t = I9(e, (e) => e.zoom), o = I9(e, (e) => e.fitScale);
|
|
34788
34846
|
return {
|
|
34789
34847
|
zoom: (0, a.computed)({
|
|
34790
34848
|
get: () => t.value,
|
|
@@ -34950,7 +35008,7 @@ var I9 = ["aria-busy", "tabindex"], _9 = {
|
|
|
34950
35008
|
selectedElementIds: de
|
|
34951
35009
|
});
|
|
34952
35010
|
(0, a.onBeforeUnmount)(ke);
|
|
34953
|
-
const Ee = (0, a.ref)(!1), Se =
|
|
35011
|
+
const Ee = (0, a.ref)(!1), Se = V9({
|
|
34954
35012
|
activeSlideIndex: q,
|
|
34955
35013
|
selectedElementIds: de,
|
|
34956
35014
|
selectedElement: () => {
|
|
@@ -34971,7 +35029,7 @@ var I9 = ["aria-busy", "tabindex"], _9 = {
|
|
|
34971
35029
|
ops: he,
|
|
34972
35030
|
selectedElementIds: de,
|
|
34973
35031
|
findActiveElement: me
|
|
34974
|
-
}), { requestElementEdit: _e, onCanvasDoubleClick: ze, onCanvasPointerDown: Pe, onEscape: Fe } =
|
|
35032
|
+
}), { requestElementEdit: _e, onCanvasDoubleClick: ze, onCanvasPointerDown: Pe, onEscape: Fe } = D9({
|
|
34975
35033
|
canEdit: () => i.canEdit,
|
|
34976
35034
|
editTemplateMode: pe,
|
|
34977
35035
|
findActiveElement: me,
|
|
@@ -35021,7 +35079,7 @@ var I9 = ["aria-busy", "tabindex"], _9 = {
|
|
|
35021
35079
|
selectedElementIds: de,
|
|
35022
35080
|
ops: he,
|
|
35023
35081
|
clearSelection: ge
|
|
35024
|
-
}), Ze =
|
|
35082
|
+
}), Ze = T9({
|
|
35025
35083
|
slides: y,
|
|
35026
35084
|
activeSlide: J,
|
|
35027
35085
|
activeSlideIndex: q,
|
|
@@ -35653,7 +35711,7 @@ var I9 = ["aria-busy", "tabindex"], _9 = {
|
|
|
35653
35711
|
const n = e.pinnedFocus?.();
|
|
35654
35712
|
if (n && n.length > 0) return n;
|
|
35655
35713
|
const o = e.selectedElementIds?.() ?? [];
|
|
35656
|
-
return
|
|
35714
|
+
return C9({
|
|
35657
35715
|
activeSlideIndex: e.activeSlideIndex.value,
|
|
35658
35716
|
selectedElementIds: o,
|
|
35659
35717
|
selectedElementId: o[0] ?? null
|
|
@@ -36133,10 +36191,10 @@ var I9 = ["aria-busy", "tabindex"], _9 = {
|
|
|
36133
36191
|
tabindex: i.canEdit ? 0 : void 0,
|
|
36134
36192
|
onKeydown: o[17] || (o[17] = (...e) => (0, a.unref)(an) && (0, a.unref)(an)(...e))
|
|
36135
36193
|
}, [
|
|
36136
|
-
(0, a.unref)(w) ? ((0, a.openBlock)(), (0, a.createElementBlock)("div",
|
|
36194
|
+
(0, a.unref)(w) ? ((0, a.openBlock)(), (0, a.createElementBlock)("div", z9, [o[18] || (o[18] = (0, a.createElementVNode)("div", {
|
|
36137
36195
|
class: "pptx-vue-spinner",
|
|
36138
36196
|
"aria-hidden": "true"
|
|
36139
|
-
}, null, -1)), (0, a.createElementVNode)("p", null, (0, a.toDisplayString)((0, a.unref)(d)("pptx.viewer.loading")), 1)])) : (0, a.unref)(N) ? ((0, a.openBlock)(), (0, a.createElementBlock)("div",
|
|
36197
|
+
}, null, -1)), (0, a.createElementVNode)("p", null, (0, a.toDisplayString)((0, a.unref)(d)("pptx.viewer.loading")), 1)])) : (0, a.unref)(N) ? ((0, a.openBlock)(), (0, a.createElementBlock)("div", P9, [(0, a.createElementVNode)("p", null, (0, a.toDisplayString)((0, a.unref)(d)("pptx.viewer.encrypted")), 1)])) : (0, a.unref)(C) ? ((0, a.openBlock)(), (0, a.createElementBlock)("div", F9, [(0, a.createElementVNode)("p", null, (0, a.toDisplayString)((0, a.unref)(d)("pptx.viewer.loadError")), 1), (0, a.createElementVNode)("pre", A9, (0, a.toDisplayString)((0, a.unref)(C)), 1)])) : ((0, a.openBlock)(), (0, a.createElementBlock)(a.Fragment, { key: 3 }, [
|
|
36140
36198
|
(0, a.unref)(qe).presenting.value ? (0, a.createCommentVNode)("", !0) : ((0, a.openBlock)(), (0, a.createElementBlock)(a.Fragment, { key: 0 }, [(0, a.unref)(Jt) ? (0, a.createCommentVNode)("", !0) : ((0, a.openBlock)(), (0, a.createBlock)(Mv, {
|
|
36141
36199
|
key: 0,
|
|
36142
36200
|
mode: (0, a.unref)(zn),
|
|
@@ -36243,8 +36301,8 @@ var I9 = ["aria-busy", "tabindex"], _9 = {
|
|
|
36243
36301
|
"onReplace",
|
|
36244
36302
|
"onReplaceAll"
|
|
36245
36303
|
])) : (0, a.createCommentVNode)("", !0),
|
|
36246
|
-
(0, a.createElementVNode)("div",
|
|
36247
|
-
(0, a.unref)(Jt) || (0, a.unref)(fn) || (0, a.unref)(qe).presenting.value ? (0, a.createCommentVNode)("", !0) : ((0, a.openBlock)(), (0, a.createBlock)(
|
|
36304
|
+
(0, a.createElementVNode)("div", M9, [
|
|
36305
|
+
(0, a.unref)(Jt) || (0, a.unref)(fn) || (0, a.unref)(qe).presenting.value ? (0, a.createCommentVNode)("", !0) : ((0, a.openBlock)(), (0, a.createBlock)(w9, {
|
|
36248
36306
|
key: 0,
|
|
36249
36307
|
"merged-slides": (0, a.unref)(ve),
|
|
36250
36308
|
"merged-slide-by-id": (0, a.unref)(ce).mergedSlideById.value,
|
|
@@ -36365,8 +36423,8 @@ var I9 = ["aria-busy", "tabindex"], _9 = {
|
|
|
36365
36423
|
"template-elements",
|
|
36366
36424
|
"edit-template-mode",
|
|
36367
36425
|
"onCreateGuide"
|
|
36368
|
-
])], 42,
|
|
36369
|
-
(0, a.unref)(qe).presenting.value ? (0, a.createCommentVNode)("", !0) : ((0, a.openBlock)(), (0, a.createBlock)(
|
|
36426
|
+
])], 42, O9),
|
|
36427
|
+
(0, a.unref)(qe).presenting.value ? (0, a.createCommentVNode)("", !0) : ((0, a.openBlock)(), (0, a.createBlock)(s9, {
|
|
36370
36428
|
key: 1,
|
|
36371
36429
|
deck: (0, a.unref)(h),
|
|
36372
36430
|
"can-edit": i.canEdit,
|
|
@@ -36717,7 +36775,7 @@ var I9 = ["aria-busy", "tabindex"], _9 = {
|
|
|
36717
36775
|
"status-message",
|
|
36718
36776
|
"onCancel"
|
|
36719
36777
|
]),
|
|
36720
|
-
(0, a.createVNode)(
|
|
36778
|
+
(0, a.createVNode)(R3, {
|
|
36721
36779
|
"deck-views": (0, a.unref)(it),
|
|
36722
36780
|
presentation: (0, a.unref)(qe),
|
|
36723
36781
|
"merged-slides": (0, a.unref)(ve),
|
|
@@ -36750,13 +36808,13 @@ var I9 = ["aria-busy", "tabindex"], _9 = {
|
|
|
36750
36808
|
"delete-slide",
|
|
36751
36809
|
"toggle-slide-hidden"
|
|
36752
36810
|
])
|
|
36753
|
-
], 46,
|
|
36811
|
+
], 46, _9));
|
|
36754
36812
|
}
|
|
36755
36813
|
});
|
|
36756
|
-
function
|
|
36814
|
+
function $9(e) {
|
|
36757
36815
|
return n.useCollaboration(e);
|
|
36758
36816
|
}
|
|
36759
|
-
function
|
|
36817
|
+
function U9(e) {
|
|
36760
36818
|
return {
|
|
36761
36819
|
remotePresences: e.remotePresences,
|
|
36762
36820
|
cursors: e.cursors,
|
|
@@ -36768,7 +36826,7 @@ function $9(e) {
|
|
|
36768
36826
|
followUser: e.followUser
|
|
36769
36827
|
};
|
|
36770
36828
|
}
|
|
36771
|
-
function
|
|
36829
|
+
function j9(e) {
|
|
36772
36830
|
return {
|
|
36773
36831
|
status: e.status,
|
|
36774
36832
|
connected: e.connected,
|
|
@@ -36778,11 +36836,11 @@ function U9(e) {
|
|
|
36778
36836
|
retry: e.retry
|
|
36779
36837
|
};
|
|
36780
36838
|
}
|
|
36781
|
-
function
|
|
36839
|
+
function K9(e) {
|
|
36782
36840
|
return "boolean" == typeof e ? e : e.value;
|
|
36783
36841
|
}
|
|
36784
|
-
function
|
|
36785
|
-
const t = (0, a.ref)(0), n = (0, a.computed)(() =>
|
|
36842
|
+
function H9(e) {
|
|
36843
|
+
const t = (0, a.ref)(0), n = (0, a.computed)(() => K9(e.canUndo)), o = (0, a.computed)(() => K9(e.canRedo));
|
|
36786
36844
|
return {
|
|
36787
36845
|
handleUndo: function() {
|
|
36788
36846
|
n.value && (e.handleUndo(), t.value = Math.max(0, t.value - 1));
|
|
@@ -36827,7 +36885,7 @@ Object.defineProperty(exports, "ChartRenderer_default", {
|
|
|
36827
36885
|
}), Object.defineProperty(exports, "FollowModeBar_default", {
|
|
36828
36886
|
enumerable: !0,
|
|
36829
36887
|
get: function() {
|
|
36830
|
-
return
|
|
36888
|
+
return O6;
|
|
36831
36889
|
}
|
|
36832
36890
|
}), Object.defineProperty(exports, "InkRenderer_default", {
|
|
36833
36891
|
enumerable: !0,
|
|
@@ -36847,7 +36905,7 @@ Object.defineProperty(exports, "ChartRenderer_default", {
|
|
|
36847
36905
|
}), Object.defineProperty(exports, "PowerPointViewer_default", {
|
|
36848
36906
|
enumerable: !0,
|
|
36849
36907
|
get: function() {
|
|
36850
|
-
return
|
|
36908
|
+
return R9;
|
|
36851
36909
|
}
|
|
36852
36910
|
}), Object.defineProperty(exports, "RemoteSelectionOverlay_default", {
|
|
36853
36911
|
enumerable: !0,
|
|
@@ -36917,7 +36975,7 @@ Object.defineProperty(exports, "ChartRenderer_default", {
|
|
|
36917
36975
|
}), Object.defineProperty(exports, "focusTargetChips", {
|
|
36918
36976
|
enumerable: !0,
|
|
36919
36977
|
get: function() {
|
|
36920
|
-
return
|
|
36978
|
+
return B9;
|
|
36921
36979
|
}
|
|
36922
36980
|
}), Object.defineProperty(exports, "getContainerStyle", {
|
|
36923
36981
|
enumerable: !0,
|
|
@@ -36952,7 +37010,7 @@ Object.defineProperty(exports, "ChartRenderer_default", {
|
|
|
36952
37010
|
}), Object.defineProperty(exports, "isTwoTableFocus", {
|
|
36953
37011
|
enumerable: !0,
|
|
36954
37012
|
get: function() {
|
|
36955
|
-
return
|
|
37013
|
+
return N9;
|
|
36956
37014
|
}
|
|
36957
37015
|
}), Object.defineProperty(exports, "provideViewerTheme", {
|
|
36958
37016
|
enumerable: !0,
|
|
@@ -36982,22 +37040,22 @@ Object.defineProperty(exports, "ChartRenderer_default", {
|
|
|
36982
37040
|
}), Object.defineProperty(exports, "useAiPanelController", {
|
|
36983
37041
|
enumerable: !0,
|
|
36984
37042
|
get: function() {
|
|
36985
|
-
return
|
|
37043
|
+
return V9;
|
|
36986
37044
|
}
|
|
36987
37045
|
}), Object.defineProperty(exports, "useCollaborativeHistory", {
|
|
36988
37046
|
enumerable: !0,
|
|
36989
37047
|
get: function() {
|
|
36990
|
-
return
|
|
37048
|
+
return H9;
|
|
36991
37049
|
}
|
|
36992
37050
|
}), Object.defineProperty(exports, "useCollaborativeState", {
|
|
36993
37051
|
enumerable: !0,
|
|
36994
37052
|
get: function() {
|
|
36995
|
-
return
|
|
37053
|
+
return j9;
|
|
36996
37054
|
}
|
|
36997
37055
|
}), Object.defineProperty(exports, "usePresenceTracking", {
|
|
36998
37056
|
enumerable: !0,
|
|
36999
37057
|
get: function() {
|
|
37000
|
-
return
|
|
37058
|
+
return U9;
|
|
37001
37059
|
}
|
|
37002
37060
|
}), Object.defineProperty(exports, "useThemeStyle", {
|
|
37003
37061
|
enumerable: !0,
|
|
@@ -37012,6 +37070,6 @@ Object.defineProperty(exports, "ChartRenderer_default", {
|
|
|
37012
37070
|
}), Object.defineProperty(exports, "useYjsProvider", {
|
|
37013
37071
|
enumerable: !0,
|
|
37014
37072
|
get: function() {
|
|
37015
|
-
return
|
|
37073
|
+
return $9;
|
|
37016
37074
|
}
|
|
37017
37075
|
});
|