pptx-vue-viewer 4.65.0 → 4.67.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +36 -0
- package/README.md +10 -0
- package/dist/i18n/de.cjs +3 -0
- package/dist/i18n/de.cjs.br +0 -0
- package/dist/i18n/de.cjs.gz +0 -0
- package/dist/i18n/de.mjs +3 -0
- package/dist/i18n/de.mjs.br +0 -0
- package/dist/i18n/de.mjs.gz +0 -0
- package/dist/i18n/es.cjs +3 -0
- package/dist/i18n/es.cjs.br +0 -0
- package/dist/i18n/es.cjs.gz +0 -0
- package/dist/i18n/es.mjs +3 -0
- package/dist/i18n/es.mjs.br +0 -0
- package/dist/i18n/es.mjs.gz +0 -0
- package/dist/i18n/fr.cjs +3 -0
- package/dist/i18n/fr.cjs.br +0 -0
- package/dist/i18n/fr.cjs.gz +0 -0
- package/dist/i18n/fr.mjs +3 -0
- package/dist/i18n/fr.mjs.br +0 -0
- package/dist/i18n/fr.mjs.gz +0 -0
- package/dist/i18n/zh-CN.cjs +3 -0
- package/dist/i18n/zh-CN.cjs.br +0 -0
- package/dist/i18n/zh-CN.cjs.gz +0 -0
- package/dist/i18n/zh-CN.mjs +3 -0
- package/dist/i18n/zh-CN.mjs.br +0 -0
- package/dist/i18n/zh-CN.mjs.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.d.ts +6 -2
- package/dist/index.js +3 -3
- package/dist/index.js.br +0 -0
- package/dist/index.js.gz +0 -0
- package/dist/internals.cjs +1 -1
- package/dist/internals.cjs.br +0 -0
- package/dist/internals.cjs.gz +0 -0
- package/dist/internals.d.ts +9 -0
- package/dist/internals.js +1 -1
- package/dist/internals.js.br +0 -0
- package/dist/internals.js.gz +0 -0
- package/dist/pptx-vue-viewer.css +1 -1
- package/dist/pptx-vue-viewer.css.br +0 -0
- package/dist/pptx-vue-viewer.css.gz +0 -0
- package/dist/{useViewerSettingsDialog-CuiWscv-.cjs → useViewerSettingsDialog-BNnWGJwV.cjs} +430 -388
- package/dist/useViewerSettingsDialog-BNnWGJwV.cjs.br +0 -0
- package/dist/useViewerSettingsDialog-BNnWGJwV.cjs.gz +0 -0
- package/dist/{useViewerSettingsDialog-D5C2Wbjw.js → useViewerSettingsDialog-CGI6HR0i.js} +1913 -1866
- package/dist/useViewerSettingsDialog-CGI6HR0i.js.br +0 -0
- package/dist/useViewerSettingsDialog-CGI6HR0i.js.gz +0 -0
- 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.d.ts +14 -2
- 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-q1mZieZF.cjs → viewer-B-B4pL2o.cjs} +1328 -1361
- package/dist/viewer-B-B4pL2o.cjs.br +0 -0
- package/dist/viewer-B-B4pL2o.cjs.gz +0 -0
- package/dist/{viewer-DQPBgO7l.js → viewer-DYs723bH.js} +8472 -8505
- package/dist/viewer-DYs723bH.js.br +0 -0
- package/dist/viewer-DYs723bH.js.gz +0 -0
- package/dist/{y-webrtc-CpZkvep1.js → y-webrtc-BxRkXfn3.js} +23 -23
- package/dist/y-webrtc-BxRkXfn3.js.br +0 -0
- package/dist/y-webrtc-BxRkXfn3.js.gz +0 -0
- package/dist/{y-webrtc-CTBB9Ok0.cjs → y-webrtc-D9l3ByiO.cjs} +1 -1
- package/dist/y-webrtc-D9l3ByiO.cjs.br +0 -0
- package/dist/y-webrtc-D9l3ByiO.cjs.gz +0 -0
- package/package.json +4 -4
- package/dist/useViewerSettingsDialog-CuiWscv-.cjs.br +0 -0
- package/dist/useViewerSettingsDialog-CuiWscv-.cjs.gz +0 -0
- package/dist/useViewerSettingsDialog-D5C2Wbjw.js.br +0 -0
- package/dist/useViewerSettingsDialog-D5C2Wbjw.js.gz +0 -0
- package/dist/viewer-DQPBgO7l.js.br +0 -0
- package/dist/viewer-DQPBgO7l.js.gz +0 -0
- package/dist/viewer-q1mZieZF.cjs.br +0 -0
- package/dist/viewer-q1mZieZF.cjs.gz +0 -0
- package/dist/y-webrtc-CTBB9Ok0.cjs.br +0 -0
- package/dist/y-webrtc-CTBB9Ok0.cjs.gz +0 -0
- package/dist/y-webrtc-CpZkvep1.js.br +0 -0
- package/dist/y-webrtc-CpZkvep1.js.gz +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const e = require("./useViewerSettingsDialog-
|
|
1
|
+
const e = require("./useViewerSettingsDialog-BNnWGJwV.cjs"), t = require("./useController-CYBNpWy-.cjs"), n = require("./ai-8VTpsXre.cjs"), o = require("./useAiPanelController-aOhIHxkq.cjs");
|
|
2
2
|
require("./i18n.cjs");
|
|
3
3
|
let a = require("ooxml-ui/pptx"), l = require("vue"), r = require("lucide-vue-next"), i = require("ooxml-ui/pptx/ai/host"), s = require("ooxml-ui/pptx/i18n");
|
|
4
4
|
var c = Symbol("pptx-viewer-theme");
|
|
@@ -608,101 +608,97 @@ var fe = ["spellcheck", "aria-label"], xe = (0, l.defineComponent)({
|
|
|
608
608
|
"format",
|
|
609
609
|
"listSession"
|
|
610
610
|
],
|
|
611
|
-
setup(
|
|
612
|
-
const { t:
|
|
613
|
-
let
|
|
614
|
-
function
|
|
615
|
-
return
|
|
611
|
+
setup(n, { emit: o }) {
|
|
612
|
+
const { t: r } = t.useI18n(), i = n, s = o, c = (0, l.ref)(null), d = (0, l.shallowRef)((0, a.createInlineListSeed)((0, l.toRaw)(i.element)));
|
|
613
|
+
let p, u, m = !1, v = !1;
|
|
614
|
+
function g() {
|
|
615
|
+
return c.value ? (0, a.readEditableText)(c.value) : "";
|
|
616
616
|
}
|
|
617
|
-
(0, l.watch)(() =>
|
|
618
|
-
if (
|
|
619
|
-
if (
|
|
617
|
+
(0, l.watch)(() => i.element, async (e) => {
|
|
618
|
+
if (u) return void u.checkModel((0, l.toRaw)(e));
|
|
619
|
+
if (d.value) return;
|
|
620
620
|
const t = (0, a.createInlineListSeed)((0, l.toRaw)(e));
|
|
621
621
|
if (!t) return;
|
|
622
622
|
const n = (0, a.inlineListBodyText)("textSegments" in e ? e.textSegments : void 0);
|
|
623
|
-
if (
|
|
624
|
-
const o =
|
|
625
|
-
|
|
623
|
+
if (c.value && (0, a.readEditableText)(c.value) !== n) return m = !0, void s("cancel");
|
|
624
|
+
const o = c.value ? (0, a.readListActivationSelection)(c.value, (0, a.inlineListBodyText)("textSegments" in e ? e.textSegments : void 0)) : void 0;
|
|
625
|
+
v = !0, d.value = t, await (0, l.nextTick)(), m || x(o), v = !1;
|
|
626
626
|
});
|
|
627
|
-
const
|
|
628
|
-
|
|
629
|
-
|
|
627
|
+
const f = (0, l.computed)(() => {
|
|
628
|
+
return t = i.element, n = Boolean(d.value || i.livePatcher?.isActive()), {
|
|
629
|
+
...e.getTextBlockStyle(t),
|
|
630
630
|
position: "absolute",
|
|
631
|
-
left: `${
|
|
632
|
-
top: `${
|
|
633
|
-
width: `${
|
|
634
|
-
height: `${
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
631
|
+
left: `${t.x}px`,
|
|
632
|
+
top: `${t.y}px`,
|
|
633
|
+
width: `${t.width}px`,
|
|
634
|
+
height: `${t.height}px`,
|
|
635
|
+
...n ? {
|
|
636
|
+
display: "block",
|
|
637
|
+
textDecoration: "none",
|
|
638
|
+
textDecorationLine: "none"
|
|
639
|
+
} : {},
|
|
638
640
|
boxSizing: "border-box",
|
|
639
|
-
padding: "2px 4px",
|
|
640
641
|
margin: 0,
|
|
641
642
|
outline: "2px solid var(--pptx-vue-selection-color, #3b82f6)",
|
|
642
643
|
background: "transparent",
|
|
643
|
-
color: "string" == typeof n.color ? n.color : "#111827",
|
|
644
|
-
fontFamily: "string" == typeof n.fontFamily ? n.fontFamily : "inherit",
|
|
645
|
-
fontSize: o ?? "inherit",
|
|
646
|
-
fontWeight: n.bold ? 700 : "normal",
|
|
647
|
-
fontStyle: n.italic ? "italic" : "normal",
|
|
648
|
-
...t ? {
|
|
649
|
-
textDecoration: "none",
|
|
650
|
-
textDecorationLine: "none"
|
|
651
|
-
} : {},
|
|
652
|
-
textAlign: a ?? "left",
|
|
653
644
|
overflow: "hidden",
|
|
654
645
|
whiteSpace: "pre-wrap",
|
|
655
646
|
cursor: "text",
|
|
656
647
|
zIndex: 60
|
|
657
648
|
};
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
649
|
+
var t, n;
|
|
650
|
+
});
|
|
651
|
+
function x(e) {
|
|
652
|
+
const t = c.value;
|
|
661
653
|
if (!t) return;
|
|
662
|
-
const n =
|
|
663
|
-
if (
|
|
664
|
-
if (
|
|
665
|
-
patcher:
|
|
666
|
-
slideId:
|
|
667
|
-
onSnapshot: (e) =>
|
|
654
|
+
const n = d.value;
|
|
655
|
+
if (i.livePatcher?.isActive()) {
|
|
656
|
+
if (u = (0, a.attachCollaborationInlineEditor)(t, (0, l.toRaw)(i.element), {
|
|
657
|
+
patcher: i.livePatcher,
|
|
658
|
+
slideId: i.slideId,
|
|
659
|
+
onSnapshot: (e) => s("change", e.text, e),
|
|
668
660
|
onCancel: () => {
|
|
669
|
-
|
|
661
|
+
m = !0, s("cancel");
|
|
670
662
|
}
|
|
671
|
-
}), !
|
|
672
|
-
|
|
673
|
-
controller:
|
|
663
|
+
}), !u) return m = !0, void s("cancel");
|
|
664
|
+
p = u, s("listSession", {
|
|
665
|
+
controller: u,
|
|
674
666
|
active: !0
|
|
675
667
|
});
|
|
676
|
-
} else n && (0, a.initializeInlineListDom)(t, n)
|
|
677
|
-
isCurrent: () => !
|
|
678
|
-
onRead: (e) =>
|
|
679
|
-
}),
|
|
680
|
-
controller:
|
|
668
|
+
} else if (n && (0, a.initializeInlineListDom)(t, n)) p = (0, a.attachInlineListController)(t, n, {
|
|
669
|
+
isCurrent: () => !m && i.element.id === n.elementId && c.value === t,
|
|
670
|
+
onRead: (e) => s("change", "supported" === e.kind ? e.snapshot.text : e.text, "supported" === e.kind ? e.snapshot : void 0)
|
|
671
|
+
}), s("listSession", {
|
|
672
|
+
controller: p,
|
|
681
673
|
active: !0
|
|
682
|
-
})
|
|
674
|
+
});
|
|
675
|
+
else {
|
|
676
|
+
const e = (0, l.toRaw)(i.element);
|
|
677
|
+
(0, a.seedPlainInlineText)(t, "textSegments" in e ? e.textSegments : void 0, i.element.text ?? "", "textStyle" in e ? e.textStyle : void 0);
|
|
678
|
+
}
|
|
683
679
|
t.focus(), (0, a.placeCaretAt)(t, (0, a.takePendingCaretPoint)()), n && e && (0, a.restoreInlineListBodySelection)(n, t, e);
|
|
684
680
|
}
|
|
685
|
-
function x() {
|
|
686
|
-
d || i("change", v());
|
|
687
|
-
}
|
|
688
681
|
function y() {
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
682
|
+
p || s("change", g());
|
|
683
|
+
}
|
|
684
|
+
function h() {
|
|
685
|
+
if (!v && !m) {
|
|
686
|
+
if (p) {
|
|
687
|
+
const e = p.refresh();
|
|
688
|
+
if (u && "supported" !== e.kind) return;
|
|
689
|
+
} else s("change", g());
|
|
690
|
+
s("commit");
|
|
695
691
|
}
|
|
696
692
|
}
|
|
697
|
-
function
|
|
698
|
-
if (
|
|
693
|
+
function b(e) {
|
|
694
|
+
if (p && e.isComposing) return;
|
|
699
695
|
const t = (0, a.mapInlineTextFormatKey)(e);
|
|
700
696
|
if (t) {
|
|
701
697
|
e.preventDefault(), e.stopPropagation();
|
|
702
698
|
const n = function() {
|
|
703
|
-
const e =
|
|
704
|
-
if (!
|
|
705
|
-
const t =
|
|
699
|
+
const e = i.element;
|
|
700
|
+
if (!p) return e.textSegments?.[0]?.style ?? e.textStyle;
|
|
701
|
+
const t = p.readSelection(), n = "supported" === t.kind ? t.snapshot.textSegments?.[t.selection?.startSegIdx ?? 0]?.style : e.textSegments?.[0]?.style;
|
|
706
702
|
return {
|
|
707
703
|
...n,
|
|
708
704
|
bold: n?.bold ?? e.textStyle?.bold,
|
|
@@ -710,40 +706,40 @@ var fe = ["spellcheck", "aria-label"], xe = (0, l.defineComponent)({
|
|
|
710
706
|
underline: n?.underline ?? e.textStyle?.underline
|
|
711
707
|
};
|
|
712
708
|
}();
|
|
713
|
-
|
|
709
|
+
s("format", { [t]: !n?.[t] });
|
|
714
710
|
return;
|
|
715
711
|
}
|
|
716
712
|
const n = (0, a.mapInlineEditorChord)(e);
|
|
717
|
-
if (n) return e.preventDefault(), e.stopPropagation(), void ("commit" === n &&
|
|
718
|
-
"Enter" !== e.key ||
|
|
713
|
+
if (n) return e.preventDefault(), e.stopPropagation(), void ("commit" === n && c.value?.blur());
|
|
714
|
+
"Enter" !== e.key || p && (!u || d.value) || function() {
|
|
719
715
|
const e = window.getSelection();
|
|
720
716
|
if (!e || !e.isCollapsed || 0 === e.rangeCount) return;
|
|
721
717
|
const { startContainer: n, startOffset: o } = e.getRangeAt(0);
|
|
722
718
|
if (n.nodeType !== Node.TEXT_NODE || 0 === o) return;
|
|
723
719
|
if (" " !== (n.textContent ?? "").charAt(o - 1)) return;
|
|
724
720
|
const a = document.createRange();
|
|
725
|
-
a.setStart(n, o - 1), a.setEnd(n, o),
|
|
721
|
+
a.setStart(n, o - 1), a.setEnd(n, o), u ? u.mutate(a, () => a.deleteContents()) : a.deleteContents();
|
|
726
722
|
}();
|
|
727
723
|
}
|
|
728
|
-
return (0, l.onMounted)(() =>
|
|
729
|
-
|
|
730
|
-
controller:
|
|
724
|
+
return (0, l.onMounted)(() => x()), (0, l.onBeforeUnmount)(() => {
|
|
725
|
+
m = !0, p?.dispose(), p && s("listSession", {
|
|
726
|
+
controller: p,
|
|
731
727
|
active: !1
|
|
732
728
|
});
|
|
733
729
|
}), (e, t) => ((0, l.openBlock)(), (0, l.createElementBlock)("div", {
|
|
734
|
-
key:
|
|
730
|
+
key: d.value ? "list" : "plain",
|
|
735
731
|
ref_key: "editorRef",
|
|
736
|
-
ref:
|
|
732
|
+
ref: c,
|
|
737
733
|
class: "pptx-vue-inline-editor",
|
|
738
734
|
"data-inline-editor": "",
|
|
739
735
|
contenteditable: "true",
|
|
740
|
-
spellcheck:
|
|
736
|
+
spellcheck: i.spellCheck,
|
|
741
737
|
role: "textbox",
|
|
742
|
-
"aria-label": (0, l.unref)(
|
|
743
|
-
style: (0, l.normalizeStyle)(
|
|
744
|
-
onInput:
|
|
745
|
-
onBlur:
|
|
746
|
-
onKeydown:
|
|
738
|
+
"aria-label": (0, l.unref)(r)("pptx.inlineEditor.editText"),
|
|
739
|
+
style: (0, l.normalizeStyle)(f.value),
|
|
740
|
+
onInput: y,
|
|
741
|
+
onBlur: h,
|
|
742
|
+
onKeydown: b,
|
|
747
743
|
onPointerdown: t[0] || (t[0] = (0, l.withModifiers)(() => {}, ["stop"]))
|
|
748
744
|
}, null, 44, fe));
|
|
749
745
|
}
|
|
@@ -2874,7 +2870,7 @@ var so = Symbol("pptx-viewer-storage");
|
|
|
2874
2870
|
function co() {
|
|
2875
2871
|
return (0, l.inject)(so, () => {});
|
|
2876
2872
|
}
|
|
2877
|
-
var po = "4.
|
|
2873
|
+
var po = "4.67.0", uo = Symbol("pptx-account-auth");
|
|
2878
2874
|
var mo = { class: "pptx-vue-account mt-8 flex max-w-[760px] flex-col gap-6" }, vo = { class: "pptx-vue-account-section border border-border bg-card p-6 text-card-foreground" }, go = { class: "text-base font-semibold" }, fo = { class: "mt-4 flex items-center gap-4" }, xo = { class: "min-w-0 flex-1" }, yo = { class: "block text-xs font-medium text-muted-foreground" }, ho = ["value", "placeholder"], bo = { class: "mt-4" }, ko = { class: "block text-xs font-medium text-muted-foreground" }, So = { class: "mt-2 flex gap-2" }, Eo = [
|
|
2879
2875
|
"aria-pressed",
|
|
2880
2876
|
"aria-label",
|
|
@@ -7722,6 +7718,7 @@ var oi = ["placement", ".state"], ai = {
|
|
|
7722
7718
|
autosaveStatus: {},
|
|
7723
7719
|
lastSavedAt: {},
|
|
7724
7720
|
saveProgress: {},
|
|
7721
|
+
fontProgress: {},
|
|
7725
7722
|
scale: {},
|
|
7726
7723
|
isNotesExpanded: { type: Boolean },
|
|
7727
7724
|
mode: {},
|
|
@@ -7746,6 +7743,7 @@ var oi = ["placement", ".state"], ai = {
|
|
|
7746
7743
|
timestamp: r.lastSavedAt ?? void 0
|
|
7747
7744
|
} : void 0,
|
|
7748
7745
|
saveProgress: r.saveProgress ? (0, a.saveProgressStatus)(r.saveProgress, (e) => o(e, { percent: "{percent}" })) : void 0,
|
|
7746
|
+
fontProgress: r.fontProgress,
|
|
7749
7747
|
zoomPercent: void 0 === r.scale ? void 0 : 100 * r.scale,
|
|
7750
7748
|
notesExpanded: r.isNotesExpanded,
|
|
7751
7749
|
viewMode: (0, a.statusBarViewMode)(r.mode),
|
|
@@ -26147,10 +26145,7 @@ var UG = ["aria-busy", "tabindex"], HG = {
|
|
|
26147
26145
|
hiddenActions: {},
|
|
26148
26146
|
ribbonAddIns: {},
|
|
26149
26147
|
initialSlide: {},
|
|
26150
|
-
googleFonts: {
|
|
26151
|
-
type: [Boolean, Object],
|
|
26152
|
-
default: void 0
|
|
26153
|
-
},
|
|
26148
|
+
googleFonts: { default: void 0 },
|
|
26154
26149
|
listConversionScope: {},
|
|
26155
26150
|
allowExternalContent: {
|
|
26156
26151
|
type: Boolean,
|
|
@@ -26283,14 +26278,14 @@ var UG = ["aria-busy", "tabindex"], HG = {
|
|
|
26283
26278
|
});
|
|
26284
26279
|
const P = T.activeContent, D = (0, l.ref)(0), _ = e.usePasswordProtection(), { optionsStore: A, viewerOptions: M } = e.useViewerOptionsStore(), L = function(e) {
|
|
26285
26280
|
const { props: t } = e, o = (0, a.createCustomizationController)(t.customization);
|
|
26286
|
-
o.setAllowExternalContent(t.allowExternalContent);
|
|
26281
|
+
o.setAllowExternalContent(t.allowExternalContent), o.setGoogleFonts(t.googleFonts);
|
|
26287
26282
|
const r = (0, l.shallowRef)(o.getResolved());
|
|
26288
26283
|
f(e.optionsStore, r.value);
|
|
26289
26284
|
const i = o.subscribe(() => {
|
|
26290
26285
|
const t = o.getResolved();
|
|
26291
26286
|
t !== r.value && (r.value = t, f(e.optionsStore, t));
|
|
26292
26287
|
});
|
|
26293
|
-
(0, l.onScopeDispose)(i), (0, l.watch)(() => t.customization, (e) => o.api.setCustomization(e ?? {})), (0, l.watch)(() => t.allowExternalContent, (e) => o.setAllowExternalContent(e)), (0, l.provide)(g, r);
|
|
26288
|
+
(0, l.onScopeDispose)(i), (0, l.watch)(() => t.customization, (e) => o.api.setCustomization(e ?? {})), (0, l.watch)(() => t.allowExternalContent, (e) => o.setAllowExternalContent(e)), (0, l.watch)(() => t.googleFonts, (e) => o.setGoogleFonts(e)), (0, l.provide)(g, r);
|
|
26294
26289
|
const s = (0, l.computed)(() => Boolean(t.ai) && (0, a.isFeatureEnabled)(r.value, "ai")), c = (0, l.computed)(() => s.value ? n.aiAssistants.resolve(t.ai) : void 0);
|
|
26295
26290
|
return {
|
|
26296
26291
|
controller: o,
|
|
@@ -26307,35 +26302,35 @@ var UG = ["aria-busy", "tabindex"], HG = {
|
|
|
26307
26302
|
}({
|
|
26308
26303
|
props: v,
|
|
26309
26304
|
optionsStore: A
|
|
26310
|
-
}), { panelVisible:
|
|
26305
|
+
}), H = (0, l.computed)(() => (0, a.resolveEffectiveGoogleFonts)(v.googleFonts, M.value)), { panelVisible: G, dialogAvailable: K, effectiveHiddenActions: $, aiEnabled: j, aiConfig: W, aiChatPanel: q } = L, Y = function(e) {
|
|
26311
26306
|
const t = `pptx-vue-ribbon-${MG += 1}`;
|
|
26312
26307
|
return {
|
|
26313
26308
|
rootAttrs: { [a.RIBBON_SCOPE_ATTR]: t },
|
|
26314
26309
|
css: (0, l.computed)(() => (0, a.ribbonCustomizationCss)(e.value, t))
|
|
26315
26310
|
};
|
|
26316
|
-
}(L.resolved),
|
|
26317
|
-
getHeldDeck: () =>
|
|
26311
|
+
}(L.resolved), X = (0, l.shallowRef)(void 0), Z = e.useLoadContent(() => P.value, {
|
|
26312
|
+
getHeldDeck: () => X.value,
|
|
26318
26313
|
getPendingInlineEdit: () => {
|
|
26319
|
-
if (!
|
|
26320
|
-
const e =
|
|
26321
|
-
if (
|
|
26314
|
+
if (!_e.value) return;
|
|
26315
|
+
const e = St.value?.readInlineSnapshot();
|
|
26316
|
+
if (Eo.showMasterView.value && e) return {
|
|
26322
26317
|
snapshot: e,
|
|
26323
26318
|
target: { masterView: {
|
|
26324
|
-
tab:
|
|
26325
|
-
masterIndex:
|
|
26326
|
-
layoutIndex:
|
|
26319
|
+
tab: Eo.masterViewTab.value,
|
|
26320
|
+
masterIndex: Eo.activeMasterIndex.value,
|
|
26321
|
+
layoutIndex: Eo.activeLayoutIndex.value
|
|
26327
26322
|
} }
|
|
26328
26323
|
};
|
|
26329
|
-
if (
|
|
26330
|
-
const t =
|
|
26331
|
-
return t &&
|
|
26324
|
+
if (kt.isInlineInputPending()) throw new Error("Finish the current text input before saving.");
|
|
26325
|
+
const t = kt.readInlineSnapshot();
|
|
26326
|
+
return t && Ue.value ? {
|
|
26332
26327
|
snapshot: t,
|
|
26333
|
-
text: (0, a.applyAutoCorrectToEdit)(t.text,
|
|
26334
|
-
target: { slideId:
|
|
26328
|
+
text: (0, a.applyAutoCorrectToEdit)(t.text, kt.readInlineStartText(), M.value.proofing),
|
|
26329
|
+
target: { slideId: Ue.value.id }
|
|
26335
26330
|
} : void 0;
|
|
26336
26331
|
},
|
|
26337
26332
|
onContentApplied: () => {
|
|
26338
|
-
D.value += 1,
|
|
26333
|
+
D.value += 1, Re.value = (0, a.resolveInitialSlideIndex)(v.initialSlide, Q.value.length);
|
|
26339
26334
|
},
|
|
26340
26335
|
getSaveIntent: () => ({
|
|
26341
26336
|
password: _.presentationPassword.value,
|
|
@@ -26343,9 +26338,10 @@ var UG = ["aria-busy", "tabindex"], HG = {
|
|
|
26343
26338
|
}),
|
|
26344
26339
|
getAllowExternalImages: () => (0, a.resolveAllowExternalContent)(v.allowExternalContent, M.value),
|
|
26345
26340
|
getLimits: () => v.limits,
|
|
26341
|
+
getGoogleFonts: () => H.value,
|
|
26346
26342
|
translate: (e, t) => b(e, t),
|
|
26347
|
-
getEmbedFonts: () =>
|
|
26348
|
-
}), { slides:
|
|
26343
|
+
getEmbedFonts: () => vo.embedFontsEnabled.value
|
|
26344
|
+
}), { slides: Q, templateElementsBySlideId: J, canvasSize: ee, mediaDataUrls: te, loading: ne, fontProgress: oe, error: ae, isEncrypted: le, coreProperties: re, customProperties: se, modifyVerifier: ce, compatibilityWarnings: de, appProperties: pe, tagCollections: ue, signatures: me, tableStyleMap: ve, slideMasters: ge, sections: fe, customShows: xe, modernCommentAuthors: ye, presentationProperties: he, viewProperties: be, headerFooter: ke, notesMaster: Se, handoutMaster: Ee, theme: Ce, themeColorMap: we, handler: Be, getContent: Ne, getRecoverySnapshot: Ve } = Z, Te = (0, l.ref)(!1), Fe = (0, l.computed)(() => (0, a.shouldOpenInProtectedView)(M.value) && !Te.value), Pe = function(e) {
|
|
26349
26345
|
function t() {
|
|
26350
26346
|
return (0, a.readOnlyRecommendation)({
|
|
26351
26347
|
modifyVerifier: e.modifyVerifier.value,
|
|
@@ -26379,14 +26375,14 @@ var UG = ["aria-busy", "tabindex"], HG = {
|
|
|
26379
26375
|
cancelPasswordPrompt: r.cancelPassword
|
|
26380
26376
|
};
|
|
26381
26377
|
}({
|
|
26382
|
-
modifyVerifier:
|
|
26383
|
-
customProperties:
|
|
26378
|
+
modifyVerifier: ce,
|
|
26379
|
+
customProperties: se,
|
|
26384
26380
|
loadVersion: D
|
|
26385
|
-
}),
|
|
26386
|
-
function
|
|
26387
|
-
|
|
26381
|
+
}), De = (0, l.ref)(!0), Ie = (0, l.ref)(!1), _e = (0, l.computed)(() => De.value && N.value.canEdit && (0, a.isEditingAllowed)(L.resolved.value) && !Ie.value && !Fe.value && !Pe.locked.value);
|
|
26382
|
+
function Ae() {
|
|
26383
|
+
Te.value = !0;
|
|
26388
26384
|
}
|
|
26389
|
-
const
|
|
26385
|
+
const ze = function(e) {
|
|
26390
26386
|
const t = (0, l.ref)(/* @__PURE__ */ new Set()), n = (0, l.ref)(!1), o = (0, l.ref)([]), r = (0, l.computed)(() => [...o.value, ...(0, a.compatibilityWarningToasts)(e.warnings.value)]), i = (0, l.computed)(() => n.value ? [] : r.value.filter((e) => !t.value.has(e.id)));
|
|
26391
26387
|
return {
|
|
26392
26388
|
visibleToasts: (0, l.computed)(() => i.value.slice(0, 5)),
|
|
@@ -26405,9 +26401,9 @@ var UG = ["aria-busy", "tabindex"], HG = {
|
|
|
26405
26401
|
o.value = [e, ...o.value.filter((t) => t.id !== e.id)], a.delete(e.id), t.value = a, n.value = !1;
|
|
26406
26402
|
}
|
|
26407
26403
|
};
|
|
26408
|
-
}({ warnings:
|
|
26409
|
-
(0, l.provide)(e.TableThemeKey, () => e.tableThemeContextFor(
|
|
26410
|
-
const
|
|
26404
|
+
}({ warnings: de });
|
|
26405
|
+
(0, l.provide)(e.TableThemeKey, () => e.tableThemeContextFor(Ce.value, ve.value));
|
|
26406
|
+
const Me = function(e) {
|
|
26411
26407
|
const t = (0, l.ref)((0, a.seedRecentColors)(e.presentationProperties.value));
|
|
26412
26408
|
return e.loadVersion && (0, l.watch)(e.loadVersion, () => {
|
|
26413
26409
|
t.value = (0, a.seedRecentColors)(e.presentationProperties.value);
|
|
@@ -26422,68 +26418,34 @@ var UG = ["aria-busy", "tabindex"], HG = {
|
|
|
26422
26418
|
}
|
|
26423
26419
|
};
|
|
26424
26420
|
}({
|
|
26425
|
-
presentationProperties:
|
|
26421
|
+
presentationProperties: he,
|
|
26426
26422
|
loadVersion: D
|
|
26427
26423
|
});
|
|
26428
|
-
(0, l.provide)(to,
|
|
26429
|
-
headerFooter:
|
|
26430
|
-
customProperties:
|
|
26431
|
-
slide:
|
|
26432
|
-
firstSlideNumber:
|
|
26424
|
+
(0, l.provide)(to, Me), (0, l.provide)(qa, we), e.provideZoomTargetLookup((t) => e.toZoomTargetInfo(Q.value[t])), (0, l.provide)(e.FieldContextKey, () => (0, a.buildFieldSubstitutionContext)({
|
|
26425
|
+
headerFooter: ke.value,
|
|
26426
|
+
customProperties: se.value,
|
|
26427
|
+
slide: Ue.value,
|
|
26428
|
+
firstSlideNumber: Z.firstSlideNumber.value
|
|
26433
26429
|
}));
|
|
26434
|
-
const { tableSelection:
|
|
26435
|
-
canEdit: () =>
|
|
26436
|
-
canEditInline: () =>
|
|
26437
|
-
findActiveElement: (e) =>
|
|
26438
|
-
updateElement: (e, t) =>
|
|
26439
|
-
commitTableCell: (e, t, n, o) =>
|
|
26430
|
+
const { tableSelection: Oe } = e.useTableCellEditingContext({
|
|
26431
|
+
canEdit: () => _e.value,
|
|
26432
|
+
canEditInline: () => _e.value && !Gt.presenting.value,
|
|
26433
|
+
findActiveElement: (e) => Qe.findActiveElement(e),
|
|
26434
|
+
updateElement: (e, t) => ct.updateElement(e, t),
|
|
26435
|
+
commitTableCell: (e, t, n, o) => kt.commitTableCell(e, t, n, o)
|
|
26440
26436
|
});
|
|
26441
26437
|
e.useSmartArtNodeEditContext({
|
|
26442
|
-
canEdit: () =>
|
|
26443
|
-
canEditInline: () =>
|
|
26444
|
-
findActiveElement: (e) =>
|
|
26445
|
-
updateElement: (e, t) =>
|
|
26446
|
-
}), e.useEmbeddedFonts(
|
|
26447
|
-
const r = "pptx-vue-google-fonts";
|
|
26448
|
-
(0, l.watchEffect)((e) => {
|
|
26449
|
-
if ("undefined" == typeof document) return;
|
|
26450
|
-
let i = !1;
|
|
26451
|
-
e(() => {
|
|
26452
|
-
i = !0;
|
|
26453
|
-
}), (0, a.resolveGoogleWebfontHref)((0, l.toValue)(t) ?? [], (0, l.toValue)(n) ?? [], void 0, (0, a.resolveGoogleFontsCss2Base)((0, l.toValue)(o))).then((e) => i ? null : ((0, a.syncGoogleWebfontStylesheet)(document, r, e), e));
|
|
26454
|
-
}), (0, l.onScopeDispose)(() => {
|
|
26455
|
-
document.getElementById(r)?.remove();
|
|
26456
|
-
}), (0, l.watchEffect)((r) => {
|
|
26457
|
-
let i = !1;
|
|
26458
|
-
r(() => {
|
|
26459
|
-
i = !0;
|
|
26460
|
-
});
|
|
26461
|
-
const s = (0, l.toValue)(t) ?? [], c = (0, l.toValue)(n) ?? [], d = (0, a.resolveGoogleFontsCss2Base)((0, l.toValue)(o)), p = (0, a.collectReferencedFontFamilies)(s), u = (0, a.selectGoogleWebfontFamilies)(p, (0, a.selectTrustedEmbeddedFonts)(c).map((e) => e.name));
|
|
26462
|
-
0 !== u.length && (0, a.resolveGoogleWebfontHref)(s, c, void 0, d).then(async (t) => {
|
|
26463
|
-
if (i || !t) return;
|
|
26464
|
-
const n = [{
|
|
26465
|
-
bold: !1,
|
|
26466
|
-
italic: !1
|
|
26467
|
-
}, {
|
|
26468
|
-
bold: !0,
|
|
26469
|
-
italic: !1
|
|
26470
|
-
}];
|
|
26471
|
-
let o = !1;
|
|
26472
|
-
for (const l of u) for (const r of n) {
|
|
26473
|
-
if (i) return;
|
|
26474
|
-
const n = await (0, a.fetchGoogleWebfontOutlineBytes)(t, l, r.bold, r.italic, fetch);
|
|
26475
|
-
n && e.glyphOutlineFontCache.registerFontBytes(l, r.bold, r.italic, n) && (o = !0);
|
|
26476
|
-
}
|
|
26477
|
-
o && !i && (e.glyphOutlineFontsTick.value += 1);
|
|
26478
|
-
});
|
|
26479
|
-
});
|
|
26480
|
-
}(Z, X.embeddedFonts, () => v.googleFonts), (0, l.watchEffect)((e) => {
|
|
26438
|
+
canEdit: () => _e.value,
|
|
26439
|
+
canEditInline: () => _e.value && !Gt.presenting.value,
|
|
26440
|
+
findActiveElement: (e) => Qe.findActiveElement(e),
|
|
26441
|
+
updateElement: (e, t) => ct.updateElement(e, t)
|
|
26442
|
+
}), e.useEmbeddedFonts(Z.embeddedFonts), e.useGoogleWebfonts(Q, Z.embeddedFonts, H), (0, l.watchEffect)((e) => {
|
|
26481
26443
|
const t = (0, a.buildUserFontFaceStyles)(v.fonts ?? []);
|
|
26482
26444
|
if (!t || "undefined" == typeof document) return;
|
|
26483
26445
|
const n = document.createElement("style");
|
|
26484
26446
|
n.dataset.pptxUserFonts = "vue", n.textContent = t, document.head.appendChild(n), e(() => n.remove());
|
|
26485
26447
|
});
|
|
26486
|
-
const { activeSlideIndex:
|
|
26448
|
+
const { activeSlideIndex: Re, slideCount: Le, activeSlide: Ue, goTo: He, goPrev: Ge, goNext: Ke } = function(e) {
|
|
26487
26449
|
const t = (0, l.ref)(0), n = (0, l.computed)(() => e.value.length), o = (0, l.computed)(() => e.value[t.value]);
|
|
26488
26450
|
function a(e) {
|
|
26489
26451
|
e < 0 || e >= n.value || (t.value = e);
|
|
@@ -26496,7 +26458,7 @@ var UG = ["aria-busy", "tabindex"], HG = {
|
|
|
26496
26458
|
goPrev: () => a(t.value - 1),
|
|
26497
26459
|
goNext: () => a(t.value + 1)
|
|
26498
26460
|
};
|
|
26499
|
-
}(
|
|
26461
|
+
}(Q), { zoom: $e, fitScale: je, effectiveZoom: We, zoomIn: qe, zoomOut: Ye, zoomReset: Xe } = function() {
|
|
26500
26462
|
const e = (0, a.createViewerZoomStore)(), t = LG(e, (e) => e.zoom), n = LG(e, (e) => e.fitScale);
|
|
26501
26463
|
return {
|
|
26502
26464
|
zoom: (0, l.computed)({
|
|
@@ -26521,11 +26483,11 @@ var UG = ["aria-busy", "tabindex"], HG = {
|
|
|
26521
26483
|
};
|
|
26522
26484
|
}();
|
|
26523
26485
|
(0, l.watch)(P, () => {
|
|
26524
|
-
|
|
26525
|
-
}), (0, l.watch)(
|
|
26486
|
+
Re.value = 0, Qe.selectedElementIds.value = [], st.clearHistory(), Te.value = !1, Pe.reset(), ze.reset();
|
|
26487
|
+
}), (0, l.watch)(Re, (e) => {
|
|
26526
26488
|
h("active-slide-change", e);
|
|
26527
26489
|
});
|
|
26528
|
-
const
|
|
26490
|
+
const Ze = function(e) {
|
|
26529
26491
|
let t = null;
|
|
26530
26492
|
return {
|
|
26531
26493
|
onTouchStart: function(n) {
|
|
@@ -26546,10 +26508,10 @@ var UG = ["aria-busy", "tabindex"], HG = {
|
|
|
26546
26508
|
}
|
|
26547
26509
|
};
|
|
26548
26510
|
}({
|
|
26549
|
-
canEdit: () =>
|
|
26550
|
-
goPrev:
|
|
26551
|
-
goNext:
|
|
26552
|
-
}),
|
|
26511
|
+
canEdit: () => _e.value,
|
|
26512
|
+
goPrev: Ge,
|
|
26513
|
+
goNext: Ke
|
|
26514
|
+
}), Qe = function(e) {
|
|
26553
26515
|
const { slides: t, templateElementsBySlideId: n, activeSlide: o } = e, r = (0, l.ref)([]), i = (0, l.ref)(!1), s = (0, l.computed)(() => r.value.length > 0), c = (0, l.computed)(() => n.value[o.value?.id ?? ""] ?? []), d = (0, l.computed)(() => (0, a.slideSpaceMembers)(o.value?.elements ?? [])), p = (0, l.computed)(() => {
|
|
26554
26516
|
const e = new Set(r.value), t = (o.value?.elements ?? []).filter((t) => e.has(t.id)), n = c.value.filter((t) => e.has(t.id)), a = new Set(t.map((e) => e.id)), l = r.value.flatMap((e) => {
|
|
26555
26517
|
const t = a.has(e) ? void 0 : d.value.get(e);
|
|
@@ -26590,10 +26552,10 @@ var UG = ["aria-busy", "tabindex"], HG = {
|
|
|
26590
26552
|
isInteractive: (e) => (0, a.isElementIdInteractive)(e, i.value)
|
|
26591
26553
|
};
|
|
26592
26554
|
}({
|
|
26593
|
-
slides:
|
|
26594
|
-
templateElementsBySlideId:
|
|
26595
|
-
activeSlide:
|
|
26596
|
-
}),
|
|
26555
|
+
slides: Q,
|
|
26556
|
+
templateElementsBySlideId: J,
|
|
26557
|
+
activeSlide: Ue
|
|
26558
|
+
}), Je = function({ activeSlideIndex: e, goTo: t, selectedElementIds: n }) {
|
|
26597
26559
|
let o = null;
|
|
26598
26560
|
return (0, l.watch)(e, (e) => {
|
|
26599
26561
|
const t = o === e;
|
|
@@ -26602,46 +26564,46 @@ var UG = ["aria-busy", "tabindex"], HG = {
|
|
|
26602
26564
|
t(a), o = e.value, n.value = l;
|
|
26603
26565
|
} };
|
|
26604
26566
|
}({
|
|
26605
|
-
activeSlideIndex:
|
|
26606
|
-
goTo:
|
|
26607
|
-
selectedElementIds:
|
|
26608
|
-
}), { selectedElementIds:
|
|
26567
|
+
activeSlideIndex: Re,
|
|
26568
|
+
goTo: He,
|
|
26569
|
+
selectedElementIds: Qe.selectedElementIds
|
|
26570
|
+
}), { selectedElementIds: et, editTemplateMode: tt, activeTemplateElements: nt, findActiveElement: ot, selectedElements: at, mergedSlides: lt, clearSelection: rt } = Qe, it = () => (0, a.loadedThemeName)(Z.themeOptions.value, ge.value), st = e.useEditorHistory(Q, J, {
|
|
26609
26571
|
maxDepth: (0, a.resolveHistoryDepth)(M.value),
|
|
26610
|
-
activeSlideIndex:
|
|
26572
|
+
activeSlideIndex: Re,
|
|
26611
26573
|
onChange: () => h("change"),
|
|
26612
26574
|
theme: {
|
|
26613
|
-
theme:
|
|
26614
|
-
themeColorMap:
|
|
26615
|
-
handler:
|
|
26616
|
-
loadedThemeName:
|
|
26617
|
-
slideMasters:
|
|
26575
|
+
theme: Ce,
|
|
26576
|
+
themeColorMap: we,
|
|
26577
|
+
handler: Be,
|
|
26578
|
+
loadedThemeName: it,
|
|
26579
|
+
slideMasters: ge
|
|
26618
26580
|
}
|
|
26619
26581
|
});
|
|
26620
|
-
(0, l.watch)(() => (0, a.resolveHistoryDepth)(M.value), (e) =>
|
|
26621
|
-
const
|
|
26622
|
-
slides:
|
|
26623
|
-
activeSlideIndex:
|
|
26624
|
-
pushHistory:
|
|
26625
|
-
selectedElementIds:
|
|
26626
|
-
templateElementsBySlideId:
|
|
26627
|
-
}),
|
|
26628
|
-
(0, l.watch)(
|
|
26582
|
+
(0, l.watch)(() => (0, a.resolveHistoryDepth)(M.value), (e) => st.setMaxDepth(e));
|
|
26583
|
+
const ct = e.useEditorOperations({
|
|
26584
|
+
slides: Q,
|
|
26585
|
+
activeSlideIndex: Re,
|
|
26586
|
+
pushHistory: st.pushHistory,
|
|
26587
|
+
selectedElementIds: et,
|
|
26588
|
+
templateElementsBySlideId: J
|
|
26589
|
+
}), dt = mn(ct, () => L.resolved.value);
|
|
26590
|
+
(0, l.watch)($e, (e) => {
|
|
26629
26591
|
h("zoom-change", e);
|
|
26630
|
-
}), (0, l.watch)(
|
|
26592
|
+
}), (0, l.watch)(et, (e) => {
|
|
26631
26593
|
h("selection-change", e);
|
|
26632
|
-
const t =
|
|
26633
|
-
t && !e.includes(t.elementId) && (
|
|
26634
|
-
}), (0, l.watch)(
|
|
26594
|
+
const t = Oe.value;
|
|
26595
|
+
t && !e.includes(t.elementId) && (Oe.value = null);
|
|
26596
|
+
}), (0, l.watch)(Le, (e) => {
|
|
26635
26597
|
h("slide-count-change", e);
|
|
26636
|
-
}), (0, l.watch)(
|
|
26637
|
-
!t || e ||
|
|
26638
|
-
slideCount:
|
|
26639
|
-
canvasSize:
|
|
26598
|
+
}), (0, l.watch)(ne, (e, t) => {
|
|
26599
|
+
!t || e || ae.value || h("load", {
|
|
26600
|
+
slideCount: Q.value.length,
|
|
26601
|
+
canvasSize: ee.value
|
|
26640
26602
|
});
|
|
26641
|
-
}), (0, l.watch)(
|
|
26603
|
+
}), (0, l.watch)(ae, (e) => {
|
|
26642
26604
|
e && h("error", e);
|
|
26643
26605
|
});
|
|
26644
|
-
const { marquee:
|
|
26606
|
+
const { marquee: pt, beginMarquee: ut, cancelMarquee: mt } = function(e) {
|
|
26645
26607
|
const { getSelectableElements: t, getCanvasSize: n, selectedElementIds: o } = e, r = (0, l.ref)(null);
|
|
26646
26608
|
let i = null, s = 0, c = 0, d = [], p = !1;
|
|
26647
26609
|
function u() {
|
|
@@ -26697,111 +26659,111 @@ var UG = ["aria-busy", "tabindex"], HG = {
|
|
|
26697
26659
|
}
|
|
26698
26660
|
};
|
|
26699
26661
|
}({
|
|
26700
|
-
getSelectableElements: () => [...
|
|
26701
|
-
getCanvasSize: () =>
|
|
26702
|
-
selectedElementIds:
|
|
26662
|
+
getSelectableElements: () => [...nt.value, ...Ue.value?.elements ?? []].filter((e) => Qe.isInteractive(e.id) && (0, a.canInteractWithElement)(e, "select")),
|
|
26663
|
+
getCanvasSize: () => ee.value,
|
|
26664
|
+
selectedElementIds: et
|
|
26703
26665
|
});
|
|
26704
|
-
(0, l.onBeforeUnmount)(
|
|
26705
|
-
const
|
|
26706
|
-
activeSlideIndex:
|
|
26707
|
-
selectedElementIds:
|
|
26666
|
+
(0, l.onBeforeUnmount)(mt);
|
|
26667
|
+
const vt = (0, l.ref)(!1), gt = o.useAiPanelController({
|
|
26668
|
+
activeSlideIndex: Re,
|
|
26669
|
+
selectedElementIds: et,
|
|
26708
26670
|
selectedElement: () => {
|
|
26709
|
-
const e =
|
|
26710
|
-
return e ?
|
|
26671
|
+
const e = et.value[0];
|
|
26672
|
+
return e ? ot(e) ?? null : null;
|
|
26711
26673
|
}
|
|
26712
|
-
}), { formatPainterActive:
|
|
26713
|
-
selectedElements:
|
|
26714
|
-
findActiveElement:
|
|
26715
|
-
ops:
|
|
26716
|
-
}),
|
|
26717
|
-
canEdit: () =>
|
|
26718
|
-
findActiveElement:
|
|
26719
|
-
ops:
|
|
26720
|
-
livePatcher: () =>
|
|
26721
|
-
autosave: () =>
|
|
26722
|
-
activeSlide: () =>
|
|
26674
|
+
}), { formatPainterActive: ft, canActivateFormatPainter: xt, toggleFormatPainter: yt, cancelFormatPainter: ht, applyFormatToTarget: bt } = e.useFormatPainter({
|
|
26675
|
+
selectedElements: at,
|
|
26676
|
+
findActiveElement: ot,
|
|
26677
|
+
ops: ct
|
|
26678
|
+
}), kt = e.useInlineEditing({
|
|
26679
|
+
canEdit: () => _e.value,
|
|
26680
|
+
findActiveElement: ot,
|
|
26681
|
+
ops: ct,
|
|
26682
|
+
livePatcher: () => io.collab.livePatcher,
|
|
26683
|
+
autosave: () => qn.engine,
|
|
26684
|
+
activeSlide: () => Ue.value,
|
|
26723
26685
|
onConnectedSuspend: (e) => {
|
|
26724
|
-
const t =
|
|
26725
|
-
|
|
26686
|
+
const t = Ue.value?.id;
|
|
26687
|
+
Q.value = Q.value.map((n) => n.id === t ? {
|
|
26726
26688
|
...n,
|
|
26727
26689
|
elements: [...(0, a.overlayInlineTextSnapshot)(n.elements, e)]
|
|
26728
26690
|
} : n);
|
|
26729
26691
|
},
|
|
26730
26692
|
proofing: () => M.value.proofing
|
|
26731
|
-
}),
|
|
26732
|
-
ops:
|
|
26733
|
-
selectedElementIds:
|
|
26734
|
-
findActiveElement:
|
|
26735
|
-
}), { requestElementEdit:
|
|
26736
|
-
canEdit: () =>
|
|
26737
|
-
editTemplateMode:
|
|
26738
|
-
findActiveElement:
|
|
26739
|
-
openEquationEditorForElement:
|
|
26740
|
-
enterInlineEdit:
|
|
26741
|
-
inlineEditingElementId:
|
|
26742
|
-
commitInlineEdit:
|
|
26743
|
-
cancelInlineEdit:
|
|
26744
|
-
formatPainterActive:
|
|
26745
|
-
cancelFormatPainter:
|
|
26746
|
-
applyFormatToTarget:
|
|
26747
|
-
selectedElementIds:
|
|
26748
|
-
selectElement:
|
|
26749
|
-
clearSelection:
|
|
26750
|
-
activeSlideIndex:
|
|
26751
|
-
aiPickMode:
|
|
26752
|
-
addAiPick:
|
|
26753
|
-
startElementDrag: (e, t, n) =>
|
|
26754
|
-
beginMarquee:
|
|
26755
|
-
slideElements: () =>
|
|
26756
|
-
canvasSize: () =>
|
|
26757
|
-
}),
|
|
26758
|
-
findActiveElement:
|
|
26759
|
-
pushHistory:
|
|
26760
|
-
effectiveZoom:
|
|
26761
|
-
activeTemplateElements:
|
|
26762
|
-
activeSlide:
|
|
26763
|
-
activeSlideIndex:
|
|
26764
|
-
gridSpacingPx:
|
|
26765
|
-
slides:
|
|
26766
|
-
templateElementsBySlideId:
|
|
26767
|
-
canvasSize:
|
|
26768
|
-
enterInlineEdit:
|
|
26769
|
-
}),
|
|
26770
|
-
canvasSize:
|
|
26771
|
-
ops:
|
|
26772
|
-
selectedElementIds:
|
|
26773
|
-
slides:
|
|
26774
|
-
activeSlideIndex:
|
|
26775
|
-
pushHistory:
|
|
26776
|
-
handler:
|
|
26777
|
-
templateElementsBySlideId:
|
|
26778
|
-
}), { imageInputRef:
|
|
26779
|
-
canvasSize:
|
|
26780
|
-
slides:
|
|
26781
|
-
activeSlideIndex:
|
|
26782
|
-
pushHistory:
|
|
26783
|
-
theme:
|
|
26784
|
-
}), { deleteSelected:
|
|
26785
|
-
selectedElementIds:
|
|
26786
|
-
ops:
|
|
26787
|
-
clearSelection:
|
|
26788
|
-
}),
|
|
26789
|
-
slides:
|
|
26790
|
-
activeSlide:
|
|
26791
|
-
activeSlideIndex:
|
|
26792
|
-
selectedElements:
|
|
26793
|
-
pushHistory:
|
|
26794
|
-
updateElement: (e, t) =>
|
|
26795
|
-
previewElement: (e, t) =>
|
|
26796
|
-
findActiveElement:
|
|
26693
|
+
}), St = (0, l.ref)(null), Et = e.useInsertElementDialogs({
|
|
26694
|
+
ops: ct,
|
|
26695
|
+
selectedElementIds: et,
|
|
26696
|
+
findActiveElement: ot
|
|
26697
|
+
}), { requestElementEdit: Ct, onCanvasDoubleClick: wt, onCanvasPointerDown: Bt, onEscape: Nt } = TG({
|
|
26698
|
+
canEdit: () => _e.value,
|
|
26699
|
+
editTemplateMode: tt,
|
|
26700
|
+
findActiveElement: ot,
|
|
26701
|
+
openEquationEditorForElement: Et.openEquationEditorForElement,
|
|
26702
|
+
enterInlineEdit: kt.enterInlineEdit,
|
|
26703
|
+
inlineEditingElementId: kt.inlineEditingElementId,
|
|
26704
|
+
commitInlineEdit: kt.commitInlineEdit,
|
|
26705
|
+
cancelInlineEdit: kt.cancelInlineEdit,
|
|
26706
|
+
formatPainterActive: ft,
|
|
26707
|
+
cancelFormatPainter: ht,
|
|
26708
|
+
applyFormatToTarget: bt,
|
|
26709
|
+
selectedElementIds: et,
|
|
26710
|
+
selectElement: Qe.selectElement,
|
|
26711
|
+
clearSelection: rt,
|
|
26712
|
+
activeSlideIndex: Re,
|
|
26713
|
+
aiPickMode: gt.pickMode,
|
|
26714
|
+
addAiPick: gt.addPick,
|
|
26715
|
+
startElementDrag: (e, t, n) => Tt.startElementDrag(e, t, n),
|
|
26716
|
+
beginMarquee: ut,
|
|
26717
|
+
slideElements: () => Ue.value?.elements,
|
|
26718
|
+
canvasSize: () => ee.value
|
|
26719
|
+
}), Vt = (0, l.computed)(() => (0, a.computeGridSpacingPx)(be.value?.gridSpacing, 8)), Tt = e.useElementDrag({
|
|
26720
|
+
findActiveElement: ot,
|
|
26721
|
+
pushHistory: st.pushHistory,
|
|
26722
|
+
effectiveZoom: We,
|
|
26723
|
+
activeTemplateElements: nt,
|
|
26724
|
+
activeSlide: Ue,
|
|
26725
|
+
activeSlideIndex: Re,
|
|
26726
|
+
gridSpacingPx: Vt,
|
|
26727
|
+
slides: Q,
|
|
26728
|
+
templateElementsBySlideId: J,
|
|
26729
|
+
canvasSize: ee,
|
|
26730
|
+
enterInlineEdit: Ct
|
|
26731
|
+
}), Ft = e.useElementInsertion({
|
|
26732
|
+
canvasSize: ee,
|
|
26733
|
+
ops: ct,
|
|
26734
|
+
selectedElementIds: et,
|
|
26735
|
+
slides: Q,
|
|
26736
|
+
activeSlideIndex: Re,
|
|
26737
|
+
pushHistory: st.pushHistory,
|
|
26738
|
+
handler: Be,
|
|
26739
|
+
templateElementsBySlideId: J
|
|
26740
|
+
}), { imageInputRef: Pt, mediaInputRef: Dt } = Ft, It = e.useSlideTemplateInsertion({
|
|
26741
|
+
canvasSize: ee,
|
|
26742
|
+
slides: Q,
|
|
26743
|
+
activeSlideIndex: Re,
|
|
26744
|
+
pushHistory: st.pushHistory,
|
|
26745
|
+
theme: Ce
|
|
26746
|
+
}), { deleteSelected: _t, duplicateSelected: At, bringForward: zt, sendBackward: Mt } = e.useMultiSelectOps({
|
|
26747
|
+
selectedElementIds: et,
|
|
26748
|
+
ops: ct,
|
|
26749
|
+
clearSelection: rt
|
|
26750
|
+
}), Ot = PG({
|
|
26751
|
+
slides: Q,
|
|
26752
|
+
activeSlide: Ue,
|
|
26753
|
+
activeSlideIndex: Re,
|
|
26754
|
+
selectedElements: at,
|
|
26755
|
+
pushHistory: st.pushHistory,
|
|
26756
|
+
updateElement: (e, t) => ct.updateElement(e, t),
|
|
26757
|
+
previewElement: (e, t) => ct.previewElement(e, t),
|
|
26758
|
+
findActiveElement: ot
|
|
26797
26759
|
});
|
|
26798
|
-
(0, l.provide)(Ww,
|
|
26799
|
-
const
|
|
26800
|
-
slides:
|
|
26801
|
-
activeSlideIndex:
|
|
26802
|
-
pushHistory:
|
|
26803
|
-
templateElementsBySlideId:
|
|
26804
|
-
}),
|
|
26760
|
+
(0, l.provide)(Ww, Ot.inspectorPreview);
|
|
26761
|
+
const Rt = e.useSlideOperations({
|
|
26762
|
+
slides: Q,
|
|
26763
|
+
activeSlideIndex: Re,
|
|
26764
|
+
pushHistory: st.pushHistory,
|
|
26765
|
+
templateElementsBySlideId: J
|
|
26766
|
+
}), Lt = function(t) {
|
|
26805
26767
|
const n = (0, l.shallowRef)(null), o = (0, l.computed)(() => null !== n.value);
|
|
26806
26768
|
function r(o) {
|
|
26807
26769
|
const a = t.findSlideElement(o);
|
|
@@ -26821,11 +26783,11 @@ var UG = ["aria-busy", "tabindex"], HG = {
|
|
|
26821
26783
|
}
|
|
26822
26784
|
};
|
|
26823
26785
|
}({
|
|
26824
|
-
findSlideElement: (e) =>
|
|
26825
|
-
addElement: (e) =>
|
|
26826
|
-
removeElement: (e) =>
|
|
26827
|
-
selectedElementIds:
|
|
26828
|
-
}),
|
|
26786
|
+
findSlideElement: (e) => Ue.value?.elements.find((t) => t.id === e),
|
|
26787
|
+
addElement: (e) => ct.addElement(e),
|
|
26788
|
+
removeElement: (e) => ct.removeElement(e),
|
|
26789
|
+
selectedElementIds: et
|
|
26790
|
+
}), Ut = function(e) {
|
|
26829
26791
|
const { clipboard: t, ops: n, selectedElementIds: o } = e, r = (0, l.ref)(!1), i = (0, l.shallowRef)(null);
|
|
26830
26792
|
return {
|
|
26831
26793
|
isPasteSpecialDialogOpen: r,
|
|
@@ -26873,15 +26835,15 @@ var UG = ["aria-busy", "tabindex"], HG = {
|
|
|
26873
26835
|
}
|
|
26874
26836
|
};
|
|
26875
26837
|
}({
|
|
26876
|
-
clipboard:
|
|
26877
|
-
ops:
|
|
26878
|
-
selectedElementIds:
|
|
26838
|
+
clipboard: Lt.clipboard,
|
|
26839
|
+
ops: ct,
|
|
26840
|
+
selectedElementIds: et
|
|
26879
26841
|
});
|
|
26880
|
-
function
|
|
26881
|
-
const e =
|
|
26882
|
-
e &&
|
|
26842
|
+
function Ht() {
|
|
26843
|
+
const e = Lt.pasteElement();
|
|
26844
|
+
e && Ut.notePastedElement(e);
|
|
26883
26845
|
}
|
|
26884
|
-
const
|
|
26846
|
+
const Gt = function(t) {
|
|
26885
26847
|
const { slides: n, activeSlideIndex: o, pushHistory: r } = t, { presenting: i, startPresenting: s, onPresentClose: c, onPresentSlideChange: d } = e.usePresentationModeWiring({
|
|
26886
26848
|
slides: n,
|
|
26887
26849
|
activeSlideIndex: o,
|
|
@@ -26927,23 +26889,23 @@ var UG = ["aria-busy", "tabindex"], HG = {
|
|
|
26927
26889
|
presentationStartIndex: u
|
|
26928
26890
|
};
|
|
26929
26891
|
}({
|
|
26930
|
-
slides:
|
|
26931
|
-
activeSlideIndex:
|
|
26932
|
-
customShows:
|
|
26933
|
-
activeCustomShowId: () =>
|
|
26934
|
-
authoredRange: () =>
|
|
26935
|
-
pushHistory:
|
|
26892
|
+
slides: Q,
|
|
26893
|
+
activeSlideIndex: Re,
|
|
26894
|
+
customShows: xe,
|
|
26895
|
+
activeCustomShowId: () => ko.activeCustomShowId.value,
|
|
26896
|
+
authoredRange: () => So.value,
|
|
26897
|
+
pushHistory: st.pushHistory
|
|
26936
26898
|
});
|
|
26937
26899
|
e.useChartCanvasEditContext({
|
|
26938
|
-
canEditInline: () =>
|
|
26939
|
-
isElementSelected: (e) =>
|
|
26940
|
-
updateElement: (e, t) =>
|
|
26900
|
+
canEditInline: () => _e.value && !Gt.presenting.value,
|
|
26901
|
+
isElementSelected: (e) => et.value.includes(e),
|
|
26902
|
+
updateElement: (e, t) => ct.updateElement(e, t)
|
|
26941
26903
|
});
|
|
26942
|
-
const
|
|
26943
|
-
selectedElement: () => 1 ===
|
|
26944
|
-
canEdit: () =>
|
|
26945
|
-
updateElement: (e, t) =>
|
|
26946
|
-
}),
|
|
26904
|
+
const Kt = e.useChartFormatPane({
|
|
26905
|
+
selectedElement: () => 1 === et.value.length ? at.value[0] : null,
|
|
26906
|
+
canEdit: () => _e.value && !Gt.presenting.value,
|
|
26907
|
+
updateElement: (e, t) => ct.updateElement(e, t)
|
|
26908
|
+
}), $t = function(e) {
|
|
26947
26909
|
const t = (0, l.ref)(!1), n = (0, l.ref)(null);
|
|
26948
26910
|
function o(o) {
|
|
26949
26911
|
const a = e.findSlideElement(o);
|
|
@@ -26962,43 +26924,43 @@ var UG = ["aria-busy", "tabindex"], HG = {
|
|
|
26962
26924
|
}
|
|
26963
26925
|
};
|
|
26964
26926
|
}({
|
|
26965
|
-
findSlideElement: (e) =>
|
|
26966
|
-
selectedElementIds:
|
|
26967
|
-
updateElement: (e, t) =>
|
|
26927
|
+
findSlideElement: (e) => Ue.value?.elements.find((t) => t.id === e),
|
|
26928
|
+
selectedElementIds: et,
|
|
26929
|
+
updateElement: (e, t) => ct.updateElement(e, t)
|
|
26968
26930
|
});
|
|
26969
|
-
const
|
|
26970
|
-
slides:
|
|
26971
|
-
showMatch:
|
|
26972
|
-
pushHistory:
|
|
26973
|
-
open:
|
|
26974
|
-
}),
|
|
26975
|
-
mergedSlides:
|
|
26976
|
-
slides:
|
|
26977
|
-
slideCount:
|
|
26978
|
-
canvasSize:
|
|
26979
|
-
activeSlideIndex:
|
|
26980
|
-
saveAs:
|
|
26931
|
+
const Wt = (0, l.ref)(!1), qt = e.useFindReplace({
|
|
26932
|
+
slides: Q,
|
|
26933
|
+
showMatch: Je.showSlideSelection,
|
|
26934
|
+
pushHistory: st.pushHistory,
|
|
26935
|
+
open: Wt
|
|
26936
|
+
}), Yt = e.useExportWiring({
|
|
26937
|
+
mergedSlides: lt,
|
|
26938
|
+
slides: Q,
|
|
26939
|
+
slideCount: Le,
|
|
26940
|
+
canvasSize: ee,
|
|
26941
|
+
activeSlideIndex: Re,
|
|
26942
|
+
saveAs: Z.saveAs,
|
|
26981
26943
|
fileName: () => N.value.fileName,
|
|
26982
|
-
getDeckData: () => VG(
|
|
26944
|
+
getDeckData: () => VG(Z),
|
|
26983
26945
|
imageExportScale: () => (0, a.resolveImageResolutionScale)(M.value),
|
|
26984
26946
|
getOptions: () => M.value,
|
|
26985
26947
|
filePath: V,
|
|
26986
26948
|
storage: () => N.value.storage,
|
|
26987
26949
|
onSaveError: (e) => {
|
|
26988
|
-
h("error", (0, a.saveFailureMessage)(e)),
|
|
26950
|
+
h("error", (0, a.saveFailureMessage)(e)), ze.notify(a.SAVE_FAILED_TOAST);
|
|
26989
26951
|
},
|
|
26990
|
-
changeSources: () => [
|
|
26952
|
+
changeSources: () => [Q.value, J.value],
|
|
26991
26953
|
onSavedClean: () => {
|
|
26992
|
-
|
|
26954
|
+
qn.isDirty.value = !1;
|
|
26993
26955
|
}
|
|
26994
|
-
}), { exportStageRef:
|
|
26995
|
-
slides:
|
|
26996
|
-
activeSlideIndex:
|
|
26997
|
-
rasterizeSlide:
|
|
26998
|
-
slideSize:
|
|
26999
|
-
handoutMaster:
|
|
27000
|
-
canOpen: () =>
|
|
27001
|
-
}),
|
|
26956
|
+
}), { exportStageRef: Xt, exportSlide: Zt, rasterizeSlide: Qt, exportProgressCtl: Jt, onExportPdf: en } = Yt, tn = e.usePrint({
|
|
26957
|
+
slides: lt,
|
|
26958
|
+
activeSlideIndex: Re,
|
|
26959
|
+
rasterizeSlide: Qt,
|
|
26960
|
+
slideSize: ee,
|
|
26961
|
+
handoutMaster: Ee,
|
|
26962
|
+
canOpen: () => K("print")
|
|
26963
|
+
}), nn = function(e) {
|
|
27002
26964
|
const t = (0, l.ref)(!1), n = (0, l.ref)(!1), o = (0, l.ref)(!1);
|
|
27003
26965
|
return {
|
|
27004
26966
|
showSorter: t,
|
|
@@ -27016,39 +26978,39 @@ var UG = ["aria-busy", "tabindex"], HG = {
|
|
|
27016
26978
|
}
|
|
27017
26979
|
};
|
|
27018
26980
|
}({
|
|
27019
|
-
slides:
|
|
27020
|
-
goTo:
|
|
27021
|
-
moveSlide:
|
|
27022
|
-
pushHistory:
|
|
27023
|
-
}),
|
|
27024
|
-
slides:
|
|
27025
|
-
activeSlideIndex:
|
|
27026
|
-
activeSlide:
|
|
27027
|
-
pushHistory:
|
|
27028
|
-
selectedElements:
|
|
26981
|
+
slides: Q,
|
|
26982
|
+
goTo: He,
|
|
26983
|
+
moveSlide: Rt.moveSlide,
|
|
26984
|
+
pushHistory: st.pushHistory
|
|
26985
|
+
}), on = (0, l.ref)(!1), an = e.useAccessibility(Q), { onNotesUpdate: ln, toggleSlideHidden: rn, applySlideBackgroundPatch: sn, onTransitionChange: cn, onApplyTransitionToAll: dn, onAddAnimation: pn, onRemoveAnimation: un } = e.useSlideMutations({
|
|
26986
|
+
slides: Q,
|
|
26987
|
+
activeSlideIndex: Re,
|
|
26988
|
+
activeSlide: Ue,
|
|
26989
|
+
pushHistory: st.pushHistory,
|
|
26990
|
+
selectedElements: at,
|
|
27029
26991
|
onNotesChanged: (e) => h("notes-update", e)
|
|
27030
|
-
}), { canGroup:
|
|
27031
|
-
selectedElements:
|
|
27032
|
-
selectedElementIds:
|
|
27033
|
-
activeSlideIndex:
|
|
27034
|
-
slides:
|
|
27035
|
-
canvasSize:
|
|
27036
|
-
pushHistory:
|
|
27037
|
-
}),
|
|
27038
|
-
canEdit: () =>
|
|
27039
|
-
slides:
|
|
27040
|
-
activeSlideIndex:
|
|
27041
|
-
selectedElementIds:
|
|
27042
|
-
pushHistory: () =>
|
|
27043
|
-
},
|
|
27044
|
-
..._G(
|
|
26992
|
+
}), { canGroup: vn, canUngroup: gn, canDistribute: fn, selectionGroupable: xn, onAlign: yn, onDistribute: hn, onGroup: bn, onUngroup: kn } = e.useAlignGroup({
|
|
26993
|
+
selectedElements: at,
|
|
26994
|
+
selectedElementIds: et,
|
|
26995
|
+
activeSlideIndex: Re,
|
|
26996
|
+
slides: Q,
|
|
26997
|
+
canvasSize: ee,
|
|
26998
|
+
pushHistory: st.pushHistory
|
|
26999
|
+
}), Sn = {
|
|
27000
|
+
canEdit: () => _e.value && !Gt.presenting.value,
|
|
27001
|
+
slides: Q,
|
|
27002
|
+
activeSlideIndex: Re,
|
|
27003
|
+
selectedElementIds: et,
|
|
27004
|
+
pushHistory: () => st.pushHistory()
|
|
27005
|
+
}, En = {
|
|
27006
|
+
..._G(Sn),
|
|
27045
27007
|
...zG({
|
|
27046
|
-
...
|
|
27047
|
-
mediaDataUrls:
|
|
27008
|
+
...Sn,
|
|
27009
|
+
mediaDataUrls: te
|
|
27048
27010
|
})
|
|
27049
27011
|
};
|
|
27050
|
-
(0, l.provide)(Dn,
|
|
27051
|
-
const
|
|
27012
|
+
(0, l.provide)(Dn, En);
|
|
27013
|
+
const Cn = e.useRibbonUiState(v.inspectorInitiallyOpen), { activeTool: wn, drawingColor: Bn, drawingWidth: Nn, inspectorOpen: Vn, sidebarCollapsed: Tn, notesExpanded: Fn, showGrid: Pn, showRulers: In, showGuides: _n, spellCheckEnabled: An, themeGalleryOpen: zn, themeEditorOpen: Mn } = Cn, On = (0, l.ref)(null), Rn = function(e) {
|
|
27052
27014
|
const { t: n } = t.useI18n(), o = (0, l.ref)({
|
|
27053
27015
|
open: !1,
|
|
27054
27016
|
x: 0,
|
|
@@ -27113,78 +27075,78 @@ var UG = ["aria-busy", "tabindex"], HG = {
|
|
|
27113
27075
|
}
|
|
27114
27076
|
};
|
|
27115
27077
|
}({
|
|
27116
|
-
slideIndex: () =>
|
|
27117
|
-
hasClipboard:
|
|
27118
|
-
showGrid:
|
|
27119
|
-
showRulers:
|
|
27120
|
-
onPaste:
|
|
27078
|
+
slideIndex: () => Re.value,
|
|
27079
|
+
hasClipboard: Lt.hasClipboard,
|
|
27080
|
+
showGrid: Pn,
|
|
27081
|
+
showRulers: In,
|
|
27082
|
+
onPaste: Ht,
|
|
27121
27083
|
onOpenLayoutGallery: (e, t) => {
|
|
27122
|
-
|
|
27084
|
+
On.value = {
|
|
27123
27085
|
x: e,
|
|
27124
27086
|
y: t
|
|
27125
27087
|
};
|
|
27126
27088
|
},
|
|
27127
27089
|
onResetSlide: () => {
|
|
27128
|
-
const e = (0, a.resetSlideLayoutPath)(
|
|
27129
|
-
e &&
|
|
27090
|
+
const e = (0, a.resetSlideLayoutPath)(Ue.value);
|
|
27091
|
+
e && Ft.applyLayoutToActiveSlide(e);
|
|
27130
27092
|
},
|
|
27131
27093
|
onOpenFormatBackground: () => {
|
|
27132
|
-
|
|
27094
|
+
et.value = [], Vn.value = !0;
|
|
27133
27095
|
},
|
|
27134
27096
|
customization: () => L.resolved.value
|
|
27135
|
-
}),
|
|
27097
|
+
}), Ln = (0, l.ref)(/* @__PURE__ */ new Map());
|
|
27136
27098
|
(0, l.watchEffect)(() => {
|
|
27137
|
-
|
|
27138
|
-
|
|
27099
|
+
On.value && Ft.loadLayoutPreviews().then((e) => {
|
|
27100
|
+
Ln.value = new Map(e.map((e) => [e.path, e]));
|
|
27139
27101
|
}).catch(() => {});
|
|
27140
27102
|
});
|
|
27141
|
-
const
|
|
27142
|
-
anchor:
|
|
27143
|
-
layoutOptions:
|
|
27144
|
-
previews:
|
|
27145
|
-
currentLayoutPath:
|
|
27103
|
+
const Un = (0, l.computed)(() => ({
|
|
27104
|
+
anchor: On.value,
|
|
27105
|
+
layoutOptions: Z.layoutOptions.value,
|
|
27106
|
+
previews: Ln.value,
|
|
27107
|
+
currentLayoutPath: Ue.value?.layoutPath,
|
|
27146
27108
|
onSelect: (e) => {
|
|
27147
|
-
|
|
27109
|
+
Ft.applyLayoutToActiveSlide(e.path), On.value = null;
|
|
27148
27110
|
},
|
|
27149
27111
|
onClose: () => {
|
|
27150
|
-
|
|
27112
|
+
On.value = null;
|
|
27151
27113
|
}
|
|
27152
|
-
})), { contextMenu:
|
|
27153
|
-
slideIndex: () =>
|
|
27154
|
-
canEdit: () =>
|
|
27155
|
-
findActiveElement:
|
|
27156
|
-
tableSelection:
|
|
27157
|
-
hasClipboard:
|
|
27158
|
-
canGroup:
|
|
27159
|
-
selectionGroupable:
|
|
27160
|
-
editTemplateMode:
|
|
27161
|
-
selectedElementIds:
|
|
27162
|
-
inlineEditingElementId:
|
|
27163
|
-
inspectorOpen:
|
|
27164
|
-
enterInlineEdit:
|
|
27165
|
-
ops:
|
|
27166
|
-
cutElement:
|
|
27167
|
-
copyElement:
|
|
27168
|
-
pasteElement:
|
|
27169
|
-
onGroup:
|
|
27170
|
-
onUngroup:
|
|
27171
|
-
onEmptyCanvasContextMenu:
|
|
27172
|
-
openHyperlinkDialog:
|
|
27114
|
+
})), { contextMenu: Hn, contextItems: Gn, onCanvasContextMenu: Kn, onContextSelect: $n } = e.useContextMenu({
|
|
27115
|
+
slideIndex: () => Re.value,
|
|
27116
|
+
canEdit: () => _e.value,
|
|
27117
|
+
findActiveElement: ot,
|
|
27118
|
+
tableSelection: Oe,
|
|
27119
|
+
hasClipboard: Lt.hasClipboard,
|
|
27120
|
+
canGroup: vn,
|
|
27121
|
+
selectionGroupable: xn,
|
|
27122
|
+
editTemplateMode: tt,
|
|
27123
|
+
selectedElementIds: et,
|
|
27124
|
+
inlineEditingElementId: kt.inlineEditingElementId,
|
|
27125
|
+
inspectorOpen: Vn,
|
|
27126
|
+
enterInlineEdit: kt.enterInlineEdit,
|
|
27127
|
+
ops: ct,
|
|
27128
|
+
cutElement: Lt.cutElement,
|
|
27129
|
+
copyElement: Lt.copyElement,
|
|
27130
|
+
pasteElement: Ht,
|
|
27131
|
+
onGroup: bn,
|
|
27132
|
+
onUngroup: kn,
|
|
27133
|
+
onEmptyCanvasContextMenu: Rn.openCanvasContextMenu,
|
|
27134
|
+
openHyperlinkDialog: $t.openHyperlinkDialog,
|
|
27173
27135
|
onAddComment: () => {
|
|
27174
|
-
|
|
27136
|
+
lo.showComments.value = !0;
|
|
27175
27137
|
},
|
|
27176
|
-
aiEnabled: () =>
|
|
27138
|
+
aiEnabled: () => j.value,
|
|
27177
27139
|
customization: () => L.resolved.value,
|
|
27178
|
-
onEditPoints:
|
|
27179
|
-
mergeCrop:
|
|
27180
|
-
chartFormat:
|
|
27140
|
+
onEditPoints: dt.startEditPoints,
|
|
27141
|
+
mergeCrop: En,
|
|
27142
|
+
chartFormat: Kt,
|
|
27181
27143
|
onAskAi: () => {
|
|
27182
|
-
|
|
27144
|
+
gt.askAboutSelection(), vt.value = !0;
|
|
27183
27145
|
},
|
|
27184
27146
|
onFixAi: () => {
|
|
27185
|
-
|
|
27147
|
+
gt.fixSelection(), vt.value = !0;
|
|
27186
27148
|
}
|
|
27187
|
-
}),
|
|
27149
|
+
}), jn = (0, l.ref)(!1), { autosave: qn, autosaveEnabled: Yn, autosaveActive: Xn, toggleAutosave: Zn, autosaveDisabledReason: Qn, autosaveToggleAvailable: Jn } = function(t) {
|
|
27188
27150
|
const n = (0, l.ref)(!0), o = (0, l.computed)(() => (0, a.resolveAutosaveActivation)({
|
|
27189
27151
|
hostAutosave: t.autosaveEnabledByHost(),
|
|
27190
27152
|
userEnabled: n.value,
|
|
@@ -27220,21 +27182,21 @@ var UG = ["aria-busy", "tabindex"], HG = {
|
|
|
27220
27182
|
autosaveToggleAvailable: s
|
|
27221
27183
|
};
|
|
27222
27184
|
}({
|
|
27223
|
-
slides:
|
|
27224
|
-
templateElements:
|
|
27225
|
-
paused:
|
|
27226
|
-
loading:
|
|
27227
|
-
canEdit: () =>
|
|
27185
|
+
slides: Q,
|
|
27186
|
+
templateElements: J,
|
|
27187
|
+
paused: jn,
|
|
27188
|
+
loading: ne,
|
|
27189
|
+
canEdit: () => _e.value,
|
|
27228
27190
|
autosaveEnabledByHost: () => v.autosave,
|
|
27229
27191
|
intervalMs: () => v.autosaveIntervalMs,
|
|
27230
27192
|
optionsIntervalSeconds: () => (0, a.resolveAutosaveIntervalSeconds)(M.value),
|
|
27231
27193
|
snapshotName: V,
|
|
27232
27194
|
storage: () => N.value.storage,
|
|
27233
|
-
getRecoverySnapshot:
|
|
27234
|
-
getInlineEditingId: () =>
|
|
27195
|
+
getRecoverySnapshot: Ve,
|
|
27196
|
+
getInlineEditingId: () => kt.inlineEditingElementId.value,
|
|
27235
27197
|
emitAutosave: (e) => h("autosave", e),
|
|
27236
|
-
captureVersion: (e, t) =>
|
|
27237
|
-
}),
|
|
27198
|
+
captureVersion: (e, t) => bo.versionHistory.capture(e, t)
|
|
27199
|
+
}), eo = function(e) {
|
|
27238
27200
|
const n = (0, a.createAutosaveRecoveryController)({
|
|
27239
27201
|
getStorage: () => e.storage?.(),
|
|
27240
27202
|
load: (t) => e.onRestore(t),
|
|
@@ -27266,15 +27228,15 @@ var UG = ["aria-busy", "tabindex"], HG = {
|
|
|
27266
27228
|
filePath: V,
|
|
27267
27229
|
fileName: () => N.value.fileName,
|
|
27268
27230
|
storage: () => N.value.storage,
|
|
27269
|
-
loading:
|
|
27270
|
-
error:
|
|
27271
|
-
slideCount: () =>
|
|
27231
|
+
loading: ne,
|
|
27232
|
+
error: ae,
|
|
27233
|
+
slideCount: () => Q.value.length,
|
|
27272
27234
|
autosaveAllowed: () => !1 !== v.autosave,
|
|
27273
27235
|
onOffered: (e) => h("autosave-recovery", e),
|
|
27274
27236
|
onRestore: (e) => {
|
|
27275
27237
|
T.internalContent.value = e;
|
|
27276
27238
|
}
|
|
27277
|
-
}),
|
|
27239
|
+
}), no = function(e) {
|
|
27278
27240
|
const { handler: t, slideMasters: n, canvasSize: o, slideSize: r, slides: i, templateElementsBySlideId: s, pptxTheme: c, themeColorMap: d, coreProperties: p, appProperties: u, customProperties: m, tagCollections: v, markDirty: g, pushHistory: f } = e, x = (0, l.ref)(null);
|
|
27279
27241
|
function y(e) {
|
|
27280
27242
|
const t = Math.max(1, Math.round(e.width)), n = Math.max(1, Math.round(e.height));
|
|
@@ -27346,24 +27308,24 @@ var UG = ["aria-busy", "tabindex"], HG = {
|
|
|
27346
27308
|
}
|
|
27347
27309
|
};
|
|
27348
27310
|
}({
|
|
27349
|
-
handler:
|
|
27350
|
-
slideMasters:
|
|
27351
|
-
canvasSize:
|
|
27352
|
-
slideSize:
|
|
27353
|
-
slides:
|
|
27354
|
-
templateElementsBySlideId:
|
|
27355
|
-
pptxTheme:
|
|
27356
|
-
themeColorMap:
|
|
27357
|
-
coreProperties:
|
|
27358
|
-
appProperties:
|
|
27359
|
-
customProperties:
|
|
27360
|
-
tagCollections:
|
|
27311
|
+
handler: Be,
|
|
27312
|
+
slideMasters: ge,
|
|
27313
|
+
canvasSize: ee,
|
|
27314
|
+
slideSize: Z.slideSize,
|
|
27315
|
+
slides: Q,
|
|
27316
|
+
templateElementsBySlideId: J,
|
|
27317
|
+
pptxTheme: Ce,
|
|
27318
|
+
themeColorMap: we,
|
|
27319
|
+
coreProperties: re,
|
|
27320
|
+
appProperties: pe,
|
|
27321
|
+
customProperties: se,
|
|
27322
|
+
tagCollections: ue,
|
|
27361
27323
|
markDirty: () => {
|
|
27362
|
-
|
|
27324
|
+
qn.isDirty.value = !0;
|
|
27363
27325
|
},
|
|
27364
27326
|
onCorePropertiesChanged: (e) => h("properties-change", e),
|
|
27365
|
-
pushHistory:
|
|
27366
|
-
}),
|
|
27327
|
+
pushHistory: st.pushHistory
|
|
27328
|
+
}), oo = function(e) {
|
|
27367
27329
|
const { tableStyleMap: t, tableStylesToDelete: n, markDirty: o } = e;
|
|
27368
27330
|
return {
|
|
27369
27331
|
onTableStyleMapChange: function(e) {
|
|
@@ -27382,105 +27344,105 @@ var UG = ["aria-busy", "tabindex"], HG = {
|
|
|
27382
27344
|
}
|
|
27383
27345
|
};
|
|
27384
27346
|
}({
|
|
27385
|
-
tableStyleMap:
|
|
27386
|
-
tableStylesToDelete:
|
|
27347
|
+
tableStyleMap: Z.tableStyleMap,
|
|
27348
|
+
tableStylesToDelete: Z.tableStylesToDelete,
|
|
27387
27349
|
markDirty: () => {
|
|
27388
|
-
|
|
27350
|
+
qn.isDirty.value = !0;
|
|
27389
27351
|
}
|
|
27390
|
-
}),
|
|
27391
|
-
activeSlide:
|
|
27392
|
-
activeSlideIndex:
|
|
27393
|
-
slides:
|
|
27394
|
-
authorName:
|
|
27395
|
-
pushHistory:
|
|
27396
|
-
}),
|
|
27397
|
-
slides:
|
|
27398
|
-
history:
|
|
27399
|
-
slidesPaused: () =>
|
|
27352
|
+
}), ao = (0, l.computed)(() => v.authorName || M.value.general.userName || "You"), lo = e.useCommentsWiring({
|
|
27353
|
+
activeSlide: Ue,
|
|
27354
|
+
activeSlideIndex: Re,
|
|
27355
|
+
slides: Q,
|
|
27356
|
+
authorName: ao,
|
|
27357
|
+
pushHistory: st.pushHistory
|
|
27358
|
+
}), io = e.useCollaborationWiring({
|
|
27359
|
+
slides: Q,
|
|
27360
|
+
history: st,
|
|
27361
|
+
slidesPaused: () => jn.value,
|
|
27400
27362
|
loadVersion: D,
|
|
27401
27363
|
getLoadOrigin: () => T.loadOrigin.value,
|
|
27402
|
-
getTemplateElements: () =>
|
|
27364
|
+
getTemplateElements: () => J.value,
|
|
27403
27365
|
getSourceBytes: () => {
|
|
27404
27366
|
const e = P.value;
|
|
27405
27367
|
return e ? e instanceof Uint8Array ? e : new Uint8Array(e) : null;
|
|
27406
27368
|
},
|
|
27407
27369
|
getSaveOptions: () => (0, a.buildDeckSaveOptions)({
|
|
27408
|
-
headerFooter:
|
|
27409
|
-
presentationProperties:
|
|
27410
|
-
viewProperties:
|
|
27411
|
-
customShows:
|
|
27412
|
-
sections:
|
|
27413
|
-
coreProperties:
|
|
27414
|
-
appProperties:
|
|
27415
|
-
customProperties:
|
|
27416
|
-
tagCollections:
|
|
27417
|
-
slideMasters:
|
|
27418
|
-
notesMaster:
|
|
27419
|
-
handoutMaster:
|
|
27370
|
+
headerFooter: ke.value,
|
|
27371
|
+
presentationProperties: he.value,
|
|
27372
|
+
viewProperties: be.value,
|
|
27373
|
+
customShows: xe.value,
|
|
27374
|
+
sections: fe.value,
|
|
27375
|
+
coreProperties: re.value,
|
|
27376
|
+
appProperties: pe.value,
|
|
27377
|
+
customProperties: se.value,
|
|
27378
|
+
tagCollections: ue.value,
|
|
27379
|
+
slideMasters: ge.value,
|
|
27380
|
+
notesMaster: Se.value,
|
|
27381
|
+
handoutMaster: Ee.value,
|
|
27420
27382
|
slideSize: (0, a.resolveSlideSizeSelection)({
|
|
27421
|
-
current:
|
|
27422
|
-
canvas:
|
|
27383
|
+
current: Z.slideSize.value,
|
|
27384
|
+
canvas: ee.value
|
|
27423
27385
|
}).size,
|
|
27424
|
-
tableStyleMap:
|
|
27425
|
-
tableStylesDefaultId:
|
|
27426
|
-
tableStylesToDelete:
|
|
27427
|
-
embedFonts:
|
|
27386
|
+
tableStyleMap: ve.value,
|
|
27387
|
+
tableStylesDefaultId: Z.tableStylesDefaultId.value,
|
|
27388
|
+
tableStylesToDelete: Z.tableStylesToDelete.value,
|
|
27389
|
+
embedFonts: vo.embedFontsEnabled.value
|
|
27428
27390
|
}),
|
|
27429
27391
|
initialUserColor: (0, a.resolveCollaborationConfig)(v.collaboration)?.userColor,
|
|
27430
|
-
canvasWidth: (0, l.computed)(() =>
|
|
27431
|
-
canvasHeight: (0, l.computed)(() =>
|
|
27392
|
+
canvasWidth: (0, l.computed)(() => ee.value.width),
|
|
27393
|
+
canvasHeight: (0, l.computed)(() => ee.value.height),
|
|
27432
27394
|
collaborationProp: () => v.collaboration,
|
|
27433
|
-
selectedElementIds:
|
|
27434
|
-
activeSlideIndex:
|
|
27435
|
-
goTo:
|
|
27436
|
-
effectiveZoom:
|
|
27395
|
+
selectedElementIds: et,
|
|
27396
|
+
activeSlideIndex: Re,
|
|
27397
|
+
goTo: He,
|
|
27398
|
+
effectiveZoom: We,
|
|
27437
27399
|
authorName: () => v.authorName,
|
|
27438
27400
|
onStartCollaboration: (e) => h("start-collaboration", e),
|
|
27439
27401
|
onStopCollaboration: () => h("stop-collaboration")
|
|
27440
27402
|
});
|
|
27441
|
-
(0, l.watch)(
|
|
27442
|
-
e && !
|
|
27403
|
+
(0, l.watch)(io.collab.readOnly, (e) => {
|
|
27404
|
+
e && !Ie.value && kt.commitInlineEdit(), Ie.value = e;
|
|
27443
27405
|
}, {
|
|
27444
27406
|
immediate: !0,
|
|
27445
27407
|
flush: "sync"
|
|
27446
27408
|
});
|
|
27447
|
-
const
|
|
27448
|
-
(0, l.watch)(
|
|
27409
|
+
const co = (0, a.createCollaborationStateReporter)((e) => h("collaboration-change", e));
|
|
27410
|
+
(0, l.watch)(io.collab.state, (e) => co.update(e), {
|
|
27449
27411
|
immediate: !0,
|
|
27450
27412
|
flush: "sync"
|
|
27451
27413
|
});
|
|
27452
|
-
const
|
|
27453
|
-
signatures:
|
|
27454
|
-
isDirty:
|
|
27455
|
-
}),
|
|
27456
|
-
slides:
|
|
27457
|
-
embeddedFonts:
|
|
27458
|
-
}),
|
|
27459
|
-
function
|
|
27460
|
-
|
|
27461
|
-
}
|
|
27462
|
-
const
|
|
27463
|
-
findActiveElement:
|
|
27464
|
-
activeSlide:
|
|
27465
|
-
selectedElementIds:
|
|
27466
|
-
ops:
|
|
27467
|
-
}),
|
|
27468
|
-
coreProperties:
|
|
27469
|
-
customProperties:
|
|
27470
|
-
appProperties:
|
|
27414
|
+
const po = e.useSignatureWorkflow({
|
|
27415
|
+
signatures: me,
|
|
27416
|
+
isDirty: qn.isDirty
|
|
27417
|
+
}), mo = e.useSlideShowSettings({ presentationProperties: he }), vo = e.useFontEmbedding({
|
|
27418
|
+
slides: Q,
|
|
27419
|
+
embeddedFonts: Z.embeddedFonts
|
|
27420
|
+
}), go = (0, l.ref)([]);
|
|
27421
|
+
function fo(e) {
|
|
27422
|
+
go.value.includes(e) || (go.value = [...go.value, e]);
|
|
27423
|
+
}
|
|
27424
|
+
const xo = e.useSelectionPaneWiring({
|
|
27425
|
+
findActiveElement: ot,
|
|
27426
|
+
activeSlide: Ue,
|
|
27427
|
+
selectedElementIds: et,
|
|
27428
|
+
ops: ct
|
|
27429
|
+
}), yo = e.useDocumentPropertiesDialog({
|
|
27430
|
+
coreProperties: re,
|
|
27431
|
+
customProperties: se,
|
|
27432
|
+
appProperties: pe,
|
|
27471
27433
|
onCorePropertiesChanged: (e) => h("properties-change", e)
|
|
27472
|
-
}),
|
|
27473
|
-
slides:
|
|
27474
|
-
pushHistory:
|
|
27475
|
-
}),
|
|
27476
|
-
customShows:
|
|
27477
|
-
slides:
|
|
27478
|
-
activeSlideIndex:
|
|
27479
|
-
activeSlide:
|
|
27480
|
-
presentationProperties:
|
|
27481
|
-
pushHistory:
|
|
27482
|
-
startShow: () =>
|
|
27483
|
-
}),
|
|
27434
|
+
}), ho = e.useHeaderFooterDialog({ headerFooter: ke }), bo = e.useVersionHistoryWiring({
|
|
27435
|
+
slides: Q,
|
|
27436
|
+
pushHistory: st.pushHistory
|
|
27437
|
+
}), ko = e.useCustomShowsWiring({
|
|
27438
|
+
customShows: xe,
|
|
27439
|
+
slides: Q,
|
|
27440
|
+
activeSlideIndex: Re,
|
|
27441
|
+
activeSlide: Ue,
|
|
27442
|
+
presentationProperties: he,
|
|
27443
|
+
pushHistory: st.pushHistory,
|
|
27444
|
+
startShow: () => Gt.presentFromBeginning()
|
|
27445
|
+
}), So = (0, l.computed)(() => (0, a.resolveAuthoredSlideRange)(he.value, Q.value.length) ?? null), Eo = function(t) {
|
|
27484
27446
|
const n = e.useMasterViewState();
|
|
27485
27447
|
function o() {
|
|
27486
27448
|
return {
|
|
@@ -27550,47 +27512,47 @@ var UG = ["aria-busy", "tabindex"], HG = {
|
|
|
27550
27512
|
}
|
|
27551
27513
|
};
|
|
27552
27514
|
}({
|
|
27553
|
-
slideMasters:
|
|
27554
|
-
notesMaster:
|
|
27555
|
-
handoutMaster:
|
|
27515
|
+
slideMasters: ge,
|
|
27516
|
+
notesMaster: Se,
|
|
27517
|
+
handoutMaster: Ee,
|
|
27556
27518
|
markDirty: () => {
|
|
27557
|
-
|
|
27519
|
+
qn.isDirty.value = !0;
|
|
27558
27520
|
}
|
|
27559
|
-
}),
|
|
27560
|
-
handler:
|
|
27561
|
-
slideMasters:
|
|
27562
|
-
layoutOptions:
|
|
27563
|
-
deckData: () => VG(
|
|
27521
|
+
}), Co = IG({
|
|
27522
|
+
handler: Be,
|
|
27523
|
+
slideMasters: ge,
|
|
27524
|
+
layoutOptions: Z.layoutOptions,
|
|
27525
|
+
deckData: () => VG(Z),
|
|
27564
27526
|
target: () => ({
|
|
27565
|
-
tab:
|
|
27566
|
-
masterIndex:
|
|
27567
|
-
layoutIndex:
|
|
27527
|
+
tab: Eo.masterViewTab.value,
|
|
27528
|
+
masterIndex: Eo.activeMasterIndex.value,
|
|
27529
|
+
layoutIndex: Eo.activeLayoutIndex.value
|
|
27568
27530
|
}),
|
|
27569
|
-
onSelectMaster:
|
|
27570
|
-
onSelectLayout:
|
|
27531
|
+
onSelectMaster: Eo.onSelectMaster,
|
|
27532
|
+
onSelectLayout: Eo.onSelectLayout,
|
|
27571
27533
|
markDirty: () => {
|
|
27572
|
-
|
|
27534
|
+
qn.isDirty.value = !0;
|
|
27573
27535
|
},
|
|
27574
|
-
pushHistory:
|
|
27575
|
-
forgetHistory:
|
|
27576
|
-
}),
|
|
27577
|
-
sections:
|
|
27578
|
-
slides:
|
|
27579
|
-
activeSlideIndex:
|
|
27580
|
-
pushHistory:
|
|
27581
|
-
}),
|
|
27582
|
-
const
|
|
27536
|
+
pushHistory: st.pushHistory,
|
|
27537
|
+
forgetHistory: st.forgetHistory
|
|
27538
|
+
}), wo = e.useSectionOperations({
|
|
27539
|
+
sections: fe,
|
|
27540
|
+
slides: Q,
|
|
27541
|
+
activeSlideIndex: Re,
|
|
27542
|
+
pushHistory: st.pushHistory
|
|
27543
|
+
}), Bo = (0, l.computed)(() => fe.value.length > 0);
|
|
27544
|
+
const No = (0, l.ref)(null);
|
|
27583
27545
|
(0, l.watchEffect)((e) => {
|
|
27584
|
-
const t =
|
|
27546
|
+
const t = No.value, n = _e.value;
|
|
27585
27547
|
t && e((0, a.attachViewerHyperlinks)(t, {
|
|
27586
27548
|
getState: () => ({
|
|
27587
|
-
slide:
|
|
27588
|
-
slideCount:
|
|
27589
|
-
currentSlideIndex:
|
|
27549
|
+
slide: lt.value[Re.value],
|
|
27550
|
+
slideCount: lt.value.length,
|
|
27551
|
+
currentSlideIndex: Re.value,
|
|
27590
27552
|
editable: n,
|
|
27591
|
-
presenting:
|
|
27553
|
+
presenting: Gt.presenting.value
|
|
27592
27554
|
}),
|
|
27593
|
-
goToSlide:
|
|
27555
|
+
goToSlide: He,
|
|
27594
27556
|
onHyperlinkClick: (e) => v.onHyperlinkClick?.(e),
|
|
27595
27557
|
confirmExternalHyperlink: (e) => !(0, a.shouldConfirmExternalHyperlink)(M.value, e) || (0, a.confirmExternalHyperlinkDialog)(e, {
|
|
27596
27558
|
t: b,
|
|
@@ -27598,21 +27560,21 @@ var UG = ["aria-busy", "tabindex"], HG = {
|
|
|
27598
27560
|
})
|
|
27599
27561
|
}));
|
|
27600
27562
|
}, { flush: "post" });
|
|
27601
|
-
const { isMobile:
|
|
27563
|
+
const { isMobile: Vo, isTouchDevice: To } = e.useIsMobile(768), { keyboardInset: Fo } = e.useKeyboardInsets(), Po = (0, l.ref)(null), Do = (0, l.ref)(null);
|
|
27602
27564
|
e.useTouchGestures({
|
|
27603
|
-
targetRef:
|
|
27604
|
-
currentScale:
|
|
27565
|
+
targetRef: Po,
|
|
27566
|
+
currentScale: $e,
|
|
27605
27567
|
minScale: a.MIN_ZOOM_SCALE,
|
|
27606
27568
|
maxScale: a.MAX_ZOOM_SCALE,
|
|
27607
|
-
enabled:
|
|
27569
|
+
enabled: To,
|
|
27608
27570
|
callbacks: {
|
|
27609
27571
|
onPinchZoom: (e) => {
|
|
27610
|
-
|
|
27572
|
+
$e.value = Number(e.toFixed(2));
|
|
27611
27573
|
},
|
|
27612
27574
|
onLongPress: (e, t) => {
|
|
27613
|
-
if (!
|
|
27614
|
-
const n =
|
|
27615
|
-
n && (
|
|
27575
|
+
if (!_e.value || Gt.presenting.value) return;
|
|
27576
|
+
const n = et.value[0];
|
|
27577
|
+
n && (Hn.value = {
|
|
27616
27578
|
open: !0,
|
|
27617
27579
|
x: e,
|
|
27618
27580
|
y: t,
|
|
@@ -27621,74 +27583,74 @@ var UG = ["aria-busy", "tabindex"], HG = {
|
|
|
27621
27583
|
}
|
|
27622
27584
|
}
|
|
27623
27585
|
});
|
|
27624
|
-
const
|
|
27625
|
-
readInlineSnapshot:
|
|
27626
|
-
formatInlineSnapshot:
|
|
27627
|
-
endInlineListSession:
|
|
27586
|
+
const Io = e.useMobileChrome({ presenting: Gt.presenting }), _o = e.useRibbonActions({
|
|
27587
|
+
readInlineSnapshot: kt.readInlineSnapshot,
|
|
27588
|
+
formatInlineSnapshot: kt.formatInlineSnapshot,
|
|
27589
|
+
endInlineListSession: kt.endInlineListSession,
|
|
27628
27590
|
listConversionScope: () => v.listConversionScope,
|
|
27629
|
-
canEdit: () =>
|
|
27630
|
-
presenting:
|
|
27631
|
-
showMasterView:
|
|
27632
|
-
tableSelection:
|
|
27633
|
-
selectedElements:
|
|
27634
|
-
selectedElementIds:
|
|
27635
|
-
activeSlide:
|
|
27636
|
-
activeSlideIndex:
|
|
27637
|
-
slides:
|
|
27638
|
-
pushHistory:
|
|
27639
|
-
ops:
|
|
27640
|
-
}), { ribbonMode:
|
|
27641
|
-
(0, l.watch)(
|
|
27591
|
+
canEdit: () => _e.value,
|
|
27592
|
+
presenting: Gt.presenting,
|
|
27593
|
+
showMasterView: Eo.showMasterView,
|
|
27594
|
+
tableSelection: Oe,
|
|
27595
|
+
selectedElements: at,
|
|
27596
|
+
selectedElementIds: et,
|
|
27597
|
+
activeSlide: Ue,
|
|
27598
|
+
activeSlideIndex: Re,
|
|
27599
|
+
slides: Q,
|
|
27600
|
+
pushHistory: st.pushHistory,
|
|
27601
|
+
ops: ct
|
|
27602
|
+
}), { ribbonMode: Ao, ribbonUpdateTextStyle: zo, ribbonMoveToEdge: Mo } = _o, Oo = (0, l.computed)(() => "preview" === Ao.value && De.value ? "edit" : Ao.value);
|
|
27603
|
+
(0, l.watch)(Ao, (e) => {
|
|
27642
27604
|
h("mode-change", e);
|
|
27643
|
-
}), (0, l.watch)(() => "present" ===
|
|
27644
|
-
const { showShortcuts:
|
|
27645
|
-
canEdit: () =>
|
|
27646
|
-
canPaste: () =>
|
|
27647
|
-
hasSelection:
|
|
27648
|
-
presenting:
|
|
27649
|
-
findOpen:
|
|
27650
|
-
selectedElementIds:
|
|
27651
|
-
activeSlide:
|
|
27652
|
-
activeSlideIndex:
|
|
27653
|
-
slides:
|
|
27654
|
-
templateElementsBySlideId:
|
|
27655
|
-
pushHistory:
|
|
27656
|
-
undo:
|
|
27657
|
-
redo:
|
|
27658
|
-
copyElement:
|
|
27659
|
-
cutElement:
|
|
27660
|
-
pasteElement:
|
|
27661
|
-
onPasteSpecial:
|
|
27662
|
-
duplicateSelected:
|
|
27663
|
-
deleteSelected:
|
|
27664
|
-
goPrev:
|
|
27665
|
-
goNext:
|
|
27666
|
-
onEscape:
|
|
27667
|
-
onGroup:
|
|
27668
|
-
onUngroup:
|
|
27669
|
-
presentFromBeginning:
|
|
27670
|
-
startPresenting:
|
|
27671
|
-
inlineEditingElementId:
|
|
27672
|
-
tableEditorIsEditing: () => null !==
|
|
27673
|
-
activeTool: () =>
|
|
27674
|
-
selectedElements:
|
|
27675
|
-
selectElement:
|
|
27676
|
-
ribbonUpdateTextStyle:
|
|
27677
|
-
addSlide: () =>
|
|
27678
|
-
openHyperlinkForSelection:
|
|
27679
|
-
toggleFormatPainter:
|
|
27680
|
-
applyFormatToTarget:
|
|
27681
|
-
cancelFormatPainter:
|
|
27605
|
+
}), (0, l.watch)(() => "present" === Ao.value, (e) => h("presentation-change", e));
|
|
27606
|
+
const { showShortcuts: Ro, onEditorKeydown: Lo, copySelected: Uo, cutSelected: Ho, selectAllElements: Go } = e.useEditorKeyboard({
|
|
27607
|
+
canEdit: () => _e.value,
|
|
27608
|
+
canPaste: () => Lt.hasClipboard.value && Boolean(Ue.value),
|
|
27609
|
+
hasSelection: Qe.hasSelection,
|
|
27610
|
+
presenting: Gt.presenting,
|
|
27611
|
+
findOpen: Wt,
|
|
27612
|
+
selectedElementIds: et,
|
|
27613
|
+
activeSlide: Ue,
|
|
27614
|
+
activeSlideIndex: Re,
|
|
27615
|
+
slides: Q,
|
|
27616
|
+
templateElementsBySlideId: J,
|
|
27617
|
+
pushHistory: st.pushHistory,
|
|
27618
|
+
undo: st.undo,
|
|
27619
|
+
redo: st.redo,
|
|
27620
|
+
copyElement: Lt.copyElement,
|
|
27621
|
+
cutElement: Lt.cutElement,
|
|
27622
|
+
pasteElement: Ht,
|
|
27623
|
+
onPasteSpecial: Ut.openPasteSpecialDialog,
|
|
27624
|
+
duplicateSelected: At,
|
|
27625
|
+
deleteSelected: _t,
|
|
27626
|
+
goPrev: Ge,
|
|
27627
|
+
goNext: Ke,
|
|
27628
|
+
onEscape: Nt,
|
|
27629
|
+
onGroup: bn,
|
|
27630
|
+
onUngroup: kn,
|
|
27631
|
+
presentFromBeginning: Gt.presentFromBeginning,
|
|
27632
|
+
startPresenting: Gt.startPresenting,
|
|
27633
|
+
inlineEditingElementId: kt.inlineEditingElementId,
|
|
27634
|
+
tableEditorIsEditing: () => null !== Oe.value,
|
|
27635
|
+
activeTool: () => wn.value,
|
|
27636
|
+
selectedElements: at,
|
|
27637
|
+
selectElement: Qe.selectElement,
|
|
27638
|
+
ribbonUpdateTextStyle: zo,
|
|
27639
|
+
addSlide: () => Rt.addSlide(),
|
|
27640
|
+
openHyperlinkForSelection: $t.openHyperlinkForSelection,
|
|
27641
|
+
toggleFormatPainter: yt,
|
|
27642
|
+
applyFormatToTarget: bt,
|
|
27643
|
+
cancelFormatPainter: ht,
|
|
27682
27644
|
customization: () => L.resolved.value
|
|
27683
|
-
}),
|
|
27645
|
+
}), Ko = (0, l.computed)(() => Vo.value || !Vn.value && !vt.value ? 0 : a.INSPECTOR_PANEL_DEFAULT_WIDTH), $o = (0, l.ref)(null), jo = (0, l.ref)(0);
|
|
27684
27646
|
(0, l.watchEffect)((e) => {
|
|
27685
|
-
const t =
|
|
27686
|
-
if (!(t instanceof HTMLElement)) return void (
|
|
27647
|
+
const t = $o.value?.$el;
|
|
27648
|
+
if (!(t instanceof HTMLElement)) return void (jo.value = 0);
|
|
27687
27649
|
const n = (0, a.observeElementHeight)(t, (e) => {
|
|
27688
|
-
|
|
27650
|
+
jo.value = e;
|
|
27689
27651
|
});
|
|
27690
27652
|
e(() => {
|
|
27691
|
-
n(),
|
|
27653
|
+
n(), jo.value = 0;
|
|
27692
27654
|
});
|
|
27693
27655
|
}), function(e) {
|
|
27694
27656
|
const { viewProperties: t, loadVersion: n, snapToGrid: o, snapToObjects: r, showGuides: i } = e;
|
|
@@ -27725,13 +27687,13 @@ var UG = ["aria-busy", "tabindex"], HG = {
|
|
|
27725
27687
|
};
|
|
27726
27688
|
}, { flush: "sync" });
|
|
27727
27689
|
}({
|
|
27728
|
-
viewProperties:
|
|
27690
|
+
viewProperties: be,
|
|
27729
27691
|
loadVersion: D,
|
|
27730
|
-
snapToGrid:
|
|
27731
|
-
snapToObjects:
|
|
27732
|
-
showGuides:
|
|
27692
|
+
snapToGrid: Tt.snapToGrid,
|
|
27693
|
+
snapToObjects: Tt.snapToShape,
|
|
27694
|
+
showGuides: _n
|
|
27733
27695
|
});
|
|
27734
|
-
const
|
|
27696
|
+
const Wo = (0, l.ref)(!1), qo = (0, l.computed)(() => (0, a.resolveOptionRootClasses)(M.value, "pptx-vue")), Yo = (0, l.computed)(() => (0, a.resolve3DRenderingFlags)({
|
|
27735
27697
|
smartArt3D: v.smartArt3D,
|
|
27736
27698
|
surfaceChart3D: v.surfaceChart3D,
|
|
27737
27699
|
barChart3D: v.barChart3D,
|
|
@@ -27739,54 +27701,54 @@ var UG = ["aria-busy", "tabindex"], HG = {
|
|
|
27739
27701
|
areaChart3D: v.areaChart3D,
|
|
27740
27702
|
pieChart3D: v.pieChart3D
|
|
27741
27703
|
}, M.value));
|
|
27742
|
-
(0, l.provide)(e.Rendering3DFlagsKey,
|
|
27743
|
-
const
|
|
27744
|
-
smartArt3d:
|
|
27745
|
-
collaboration:
|
|
27746
|
-
})), { showSettings:
|
|
27747
|
-
autoSave:
|
|
27748
|
-
spellCheck:
|
|
27749
|
-
showGrid:
|
|
27750
|
-
showRulers:
|
|
27751
|
-
snapToGrid:
|
|
27752
|
-
reducedMotion:
|
|
27704
|
+
(0, l.provide)(e.Rendering3DFlagsKey, Yo);
|
|
27705
|
+
const Xo = (0, l.computed)(() => ({
|
|
27706
|
+
smartArt3d: Yo.value.smartArt3D,
|
|
27707
|
+
collaboration: io.collabActive.value
|
|
27708
|
+
})), { showSettings: Zo } = e.useViewerSettingsDialog({
|
|
27709
|
+
autoSave: Yn,
|
|
27710
|
+
spellCheck: An,
|
|
27711
|
+
showGrid: Pn,
|
|
27712
|
+
showRulers: In,
|
|
27713
|
+
snapToGrid: Tt.snapToGrid,
|
|
27714
|
+
reducedMotion: Wo,
|
|
27753
27715
|
optionsStore: A,
|
|
27754
27716
|
viewerOptions: M
|
|
27755
27717
|
});
|
|
27756
|
-
function
|
|
27718
|
+
function Qo() {
|
|
27757
27719
|
(0, a.clearAutosaveSnapshots)(N.value.storage).catch(() => {});
|
|
27758
27720
|
}
|
|
27759
|
-
let
|
|
27760
|
-
function
|
|
27761
|
-
(0, a.shouldClearAutosaveCacheOnClose)(M.value) &&
|
|
27721
|
+
let Jo;
|
|
27722
|
+
function ea() {
|
|
27723
|
+
(0, a.shouldClearAutosaveCacheOnClose)(M.value) && Qo();
|
|
27762
27724
|
}
|
|
27763
|
-
(0, l.watch)(() =>
|
|
27764
|
-
|
|
27765
|
-
}), (0, l.onBeforeUnmount)(() =>
|
|
27725
|
+
(0, l.watch)(() => qn.isDirty.value, (e) => h("dirty-change", e), { immediate: !0 }), (0, l.watch)(Yn, (e) => h("autosave-toggle", e)), (0, l.watch)(() => (0, a.autosaveStatusKind)(qn.status.value), (e) => h("autosave-status", e)), (0, l.watch)(() => io.collab.status.value, (e) => h("collaboration-status", e)), (0, l.onMounted)(() => {
|
|
27726
|
+
Jo = (0, a.installSvgIdScope)();
|
|
27727
|
+
}), (0, l.onBeforeUnmount)(() => Jo?.()), (0, l.onMounted)(() => {
|
|
27766
27728
|
(0, a.pruneExpiredAutosaveSnapshots)(M.value, N.value.storage).catch(() => {});
|
|
27767
|
-
}), "undefined" != typeof window && window.addEventListener("beforeunload",
|
|
27768
|
-
"undefined" != typeof window && window.removeEventListener("beforeunload",
|
|
27729
|
+
}), "undefined" != typeof window && window.addEventListener("beforeunload", ea), (0, l.onBeforeUnmount)(() => {
|
|
27730
|
+
"undefined" != typeof window && window.removeEventListener("beforeunload", ea), ea();
|
|
27769
27731
|
});
|
|
27770
|
-
const { drawingActive:
|
|
27771
|
-
canEdit: () =>
|
|
27772
|
-
presenting:
|
|
27773
|
-
activeTool:
|
|
27774
|
-
activeSlide:
|
|
27775
|
-
selectedElementIds:
|
|
27776
|
-
ops:
|
|
27777
|
-
}),
|
|
27778
|
-
handler:
|
|
27779
|
-
slides:
|
|
27780
|
-
pptxTheme:
|
|
27781
|
-
themeColorMap:
|
|
27782
|
-
pushHistory:
|
|
27783
|
-
themeGalleryOpen:
|
|
27784
|
-
themeEditorOpen:
|
|
27785
|
-
templateElementsBySlideId:
|
|
27786
|
-
loadedThemeName:
|
|
27732
|
+
const { drawingActive: ta, addInkStroke: na, eraseInkAt: oa } = e.useInkDrawing({
|
|
27733
|
+
canEdit: () => _e.value,
|
|
27734
|
+
presenting: Gt.presenting,
|
|
27735
|
+
activeTool: wn,
|
|
27736
|
+
activeSlide: Ue,
|
|
27737
|
+
selectedElementIds: et,
|
|
27738
|
+
ops: ct
|
|
27739
|
+
}), aa = e.useThemeEditing({
|
|
27740
|
+
handler: Be,
|
|
27741
|
+
slides: Q,
|
|
27742
|
+
pptxTheme: Ce,
|
|
27743
|
+
themeColorMap: we,
|
|
27744
|
+
pushHistory: st.pushHistory,
|
|
27745
|
+
themeGalleryOpen: zn,
|
|
27746
|
+
themeEditorOpen: Mn,
|
|
27747
|
+
templateElementsBySlideId: J,
|
|
27748
|
+
loadedThemeName: it
|
|
27787
27749
|
});
|
|
27788
|
-
function
|
|
27789
|
-
|
|
27750
|
+
function la(e) {
|
|
27751
|
+
aa.applyThemeUpdates(e);
|
|
27790
27752
|
}
|
|
27791
27753
|
Wn({
|
|
27792
27754
|
deckStyle: function(e) {
|
|
@@ -27814,27 +27776,27 @@ var UG = ["aria-busy", "tabindex"], HG = {
|
|
|
27814
27776
|
}
|
|
27815
27777
|
}));
|
|
27816
27778
|
}({
|
|
27817
|
-
held:
|
|
27818
|
-
heldDeck:
|
|
27819
|
-
slides:
|
|
27820
|
-
templateElementsBySlideId:
|
|
27821
|
-
pptxTheme:
|
|
27822
|
-
themeColorMap:
|
|
27823
|
-
handler:
|
|
27824
|
-
selectedSlideIds: () =>
|
|
27825
|
-
pushHistory:
|
|
27779
|
+
held: jn,
|
|
27780
|
+
heldDeck: X,
|
|
27781
|
+
slides: Q,
|
|
27782
|
+
templateElementsBySlideId: J,
|
|
27783
|
+
pptxTheme: Ce,
|
|
27784
|
+
themeColorMap: we,
|
|
27785
|
+
handler: Be,
|
|
27786
|
+
selectedSlideIds: () => Ue.value ? [Ue.value.id] : [],
|
|
27787
|
+
pushHistory: st.pushHistory
|
|
27826
27788
|
}),
|
|
27827
|
-
activeSlide: () =>
|
|
27828
|
-
editable: () =>
|
|
27829
|
-
selectedElement: () =>
|
|
27830
|
-
theme:
|
|
27831
|
-
themeColorMap:
|
|
27832
|
-
handler:
|
|
27833
|
-
tableSelection: () =>
|
|
27834
|
-
updateElement: (e, t) =>
|
|
27835
|
-
applyTheme:
|
|
27789
|
+
activeSlide: () => Ue.value ?? null,
|
|
27790
|
+
editable: () => _e.value,
|
|
27791
|
+
selectedElement: () => at.value[0] ?? null,
|
|
27792
|
+
theme: Ce,
|
|
27793
|
+
themeColorMap: we,
|
|
27794
|
+
handler: Be,
|
|
27795
|
+
tableSelection: () => Oe.value,
|
|
27796
|
+
updateElement: (e, t) => ct.updateElement(e, t),
|
|
27797
|
+
applyTheme: la
|
|
27836
27798
|
});
|
|
27837
|
-
const
|
|
27799
|
+
const ra = function(e) {
|
|
27838
27800
|
return (0, i.createPptxAiBridge)({
|
|
27839
27801
|
getSlides: () => e.slides.value,
|
|
27840
27802
|
getActiveSlideIndex: () => e.activeSlideIndex.value,
|
|
@@ -27907,267 +27869,267 @@ var UG = ["aria-busy", "tabindex"], HG = {
|
|
|
27907
27869
|
});
|
|
27908
27870
|
}({
|
|
27909
27871
|
onCorePropertiesChanged: (e) => h("properties-change", e),
|
|
27910
|
-
slides:
|
|
27911
|
-
activeSlideIndex:
|
|
27912
|
-
canvasSize:
|
|
27913
|
-
theme:
|
|
27914
|
-
handler:
|
|
27915
|
-
sections:
|
|
27916
|
-
customShows:
|
|
27917
|
-
presentationProperties:
|
|
27918
|
-
customProperties:
|
|
27919
|
-
coreProperties:
|
|
27920
|
-
appProperties:
|
|
27921
|
-
viewProperties:
|
|
27922
|
-
tableStyleMap:
|
|
27923
|
-
tableStylesDefaultId:
|
|
27924
|
-
tagCollections:
|
|
27872
|
+
slides: Q,
|
|
27873
|
+
activeSlideIndex: Re,
|
|
27874
|
+
canvasSize: ee,
|
|
27875
|
+
theme: Ce,
|
|
27876
|
+
handler: Be,
|
|
27877
|
+
sections: fe,
|
|
27878
|
+
customShows: xe,
|
|
27879
|
+
presentationProperties: he,
|
|
27880
|
+
customProperties: se,
|
|
27881
|
+
coreProperties: re,
|
|
27882
|
+
appProperties: pe,
|
|
27883
|
+
viewProperties: be,
|
|
27884
|
+
tableStyleMap: ve,
|
|
27885
|
+
tableStylesDefaultId: Z.tableStylesDefaultId,
|
|
27886
|
+
tagCollections: ue,
|
|
27925
27887
|
fileName: () => N.value.fileName,
|
|
27926
|
-
pushHistory:
|
|
27888
|
+
pushHistory: st.pushHistory,
|
|
27927
27889
|
markDirty: () => {
|
|
27928
|
-
|
|
27890
|
+
qn.isDirty.value = !0;
|
|
27929
27891
|
},
|
|
27930
|
-
goTo:
|
|
27892
|
+
goTo: He,
|
|
27931
27893
|
setSelection: (e) => {
|
|
27932
|
-
|
|
27894
|
+
et.value = e;
|
|
27933
27895
|
},
|
|
27934
|
-
applyThemeUpdates:
|
|
27935
|
-
selectedElementIds: () =>
|
|
27936
|
-
pinnedFocus: () =>
|
|
27937
|
-
pickedFocus: () =>
|
|
27938
|
-
}),
|
|
27939
|
-
canEdit: () =>
|
|
27940
|
-
isMobile:
|
|
27941
|
-
zoom:
|
|
27942
|
-
zoomIn:
|
|
27943
|
-
zoomOut:
|
|
27944
|
-
zoomReset:
|
|
27945
|
-
findOpen:
|
|
27946
|
-
activeSlide:
|
|
27947
|
-
activeSlideIndex:
|
|
27948
|
-
showA11y:
|
|
27949
|
-
showShortcuts:
|
|
27950
|
-
showSettings:
|
|
27951
|
-
deck:
|
|
27952
|
-
embeddedFontFamilies:
|
|
27953
|
-
customFontFamilies:
|
|
27954
|
-
ui:
|
|
27955
|
-
selection:
|
|
27956
|
-
history:
|
|
27896
|
+
applyThemeUpdates: la,
|
|
27897
|
+
selectedElementIds: () => et.value,
|
|
27898
|
+
pinnedFocus: () => gt.pinnedFocus.value,
|
|
27899
|
+
pickedFocus: () => gt.pickTargets.value
|
|
27900
|
+
}), ia = (sa = {
|
|
27901
|
+
canEdit: () => _e.value,
|
|
27902
|
+
isMobile: Vo,
|
|
27903
|
+
zoom: $e,
|
|
27904
|
+
zoomIn: qe,
|
|
27905
|
+
zoomOut: Ye,
|
|
27906
|
+
zoomReset: Xe,
|
|
27907
|
+
findOpen: Wt,
|
|
27908
|
+
activeSlide: Ue,
|
|
27909
|
+
activeSlideIndex: Re,
|
|
27910
|
+
showA11y: on,
|
|
27911
|
+
showShortcuts: Ro,
|
|
27912
|
+
showSettings: Zo,
|
|
27913
|
+
deck: Z,
|
|
27914
|
+
embeddedFontFamilies: vo.embeddedFontNames,
|
|
27915
|
+
customFontFamilies: go,
|
|
27916
|
+
ui: Cn,
|
|
27917
|
+
selection: Qe,
|
|
27918
|
+
history: st,
|
|
27957
27919
|
arrange: {
|
|
27958
|
-
bringForward:
|
|
27959
|
-
sendBackward:
|
|
27960
|
-
duplicateSelected:
|
|
27961
|
-
deleteSelected:
|
|
27962
|
-
canDistribute:
|
|
27963
|
-
onAlign:
|
|
27964
|
-
onDistribute:
|
|
27965
|
-
onGroup:
|
|
27966
|
-
onUngroup:
|
|
27920
|
+
bringForward: zt,
|
|
27921
|
+
sendBackward: Mt,
|
|
27922
|
+
duplicateSelected: At,
|
|
27923
|
+
deleteSelected: _t,
|
|
27924
|
+
canDistribute: fn,
|
|
27925
|
+
onAlign: yn,
|
|
27926
|
+
onDistribute: hn,
|
|
27927
|
+
onGroup: bn,
|
|
27928
|
+
onUngroup: kn
|
|
27967
27929
|
},
|
|
27968
27930
|
editing: {
|
|
27969
|
-
clipboard:
|
|
27970
|
-
pasteElement:
|
|
27971
|
-
copySelected:
|
|
27972
|
-
cutSelected:
|
|
27973
|
-
formatPainterActive:
|
|
27974
|
-
canActivateFormatPainter:
|
|
27975
|
-
toggleFormatPainter:
|
|
27931
|
+
clipboard: Lt.clipboard,
|
|
27932
|
+
pasteElement: Ht,
|
|
27933
|
+
copySelected: Uo,
|
|
27934
|
+
cutSelected: Ho,
|
|
27935
|
+
formatPainterActive: ft,
|
|
27936
|
+
canActivateFormatPainter: xt,
|
|
27937
|
+
toggleFormatPainter: yt,
|
|
27976
27938
|
updateSelectedShapeStyle: function(t) {
|
|
27977
|
-
const n =
|
|
27978
|
-
n && (0, e.dist_exports.hasShapeProperties)(n) &&
|
|
27939
|
+
const n = at.value[0];
|
|
27940
|
+
n && (0, e.dist_exports.hasShapeProperties)(n) && ct.updateElement(n.id, { shapeStyle: {
|
|
27979
27941
|
...n.shapeStyle,
|
|
27980
27942
|
...t
|
|
27981
27943
|
} });
|
|
27982
27944
|
},
|
|
27983
|
-
openHyperlinkForSelection:
|
|
27945
|
+
openHyperlinkForSelection: $t.openHyperlinkForSelection
|
|
27984
27946
|
},
|
|
27985
27947
|
slideMutations: {
|
|
27986
|
-
toggleSlideHidden:
|
|
27987
|
-
onAddAnimation:
|
|
27988
|
-
onRemoveAnimation:
|
|
27989
|
-
onTransitionChange:
|
|
27990
|
-
onApplyTransitionToAll:
|
|
27948
|
+
toggleSlideHidden: rn,
|
|
27949
|
+
onAddAnimation: pn,
|
|
27950
|
+
onRemoveAnimation: un,
|
|
27951
|
+
onTransitionChange: cn,
|
|
27952
|
+
onApplyTransitionToAll: dn
|
|
27991
27953
|
},
|
|
27992
27954
|
slideCommands: {
|
|
27993
|
-
addSection:
|
|
27955
|
+
addSection: wo.addSection,
|
|
27994
27956
|
defaultSectionName: () => b("pptx.sections.defaultName"),
|
|
27995
|
-
selectAllElements:
|
|
27996
|
-
clearSelection:
|
|
27957
|
+
selectAllElements: Go,
|
|
27958
|
+
clearSelection: rt
|
|
27997
27959
|
},
|
|
27998
|
-
presentationProperties:
|
|
27999
|
-
ribbonActions:
|
|
28000
|
-
chromeMode:
|
|
28001
|
-
drag:
|
|
28002
|
-
insertion:
|
|
28003
|
-
templateInsertion:
|
|
28004
|
-
insertDialogs:
|
|
28005
|
-
exporter:
|
|
28006
|
-
printer:
|
|
28007
|
-
presentation:
|
|
28008
|
-
deckViews:
|
|
28009
|
-
comments:
|
|
28010
|
-
collaboration:
|
|
28011
|
-
customShows:
|
|
28012
|
-
versionHistory:
|
|
28013
|
-
documentProperties:
|
|
28014
|
-
fontEmbedding:
|
|
28015
|
-
signatureWorkflow:
|
|
28016
|
-
selectionPane:
|
|
28017
|
-
slideShow:
|
|
27960
|
+
presentationProperties: he,
|
|
27961
|
+
ribbonActions: _o,
|
|
27962
|
+
chromeMode: Oo,
|
|
27963
|
+
drag: Tt,
|
|
27964
|
+
insertion: Ft,
|
|
27965
|
+
templateInsertion: It,
|
|
27966
|
+
insertDialogs: Et,
|
|
27967
|
+
exporter: Yt,
|
|
27968
|
+
printer: tn,
|
|
27969
|
+
presentation: Gt,
|
|
27970
|
+
deckViews: nn,
|
|
27971
|
+
comments: lo,
|
|
27972
|
+
collaboration: io,
|
|
27973
|
+
customShows: ko,
|
|
27974
|
+
versionHistory: bo,
|
|
27975
|
+
documentProperties: yo,
|
|
27976
|
+
fontEmbedding: vo,
|
|
27977
|
+
signatureWorkflow: po,
|
|
27978
|
+
selectionPane: xo,
|
|
27979
|
+
slideShow: mo,
|
|
28018
27980
|
password: _,
|
|
28019
|
-
masterView:
|
|
28020
|
-
headerFooterDialog:
|
|
27981
|
+
masterView: Eo,
|
|
27982
|
+
headerFooterDialog: ho,
|
|
28021
27983
|
handleOpenFile: T.handleOpenFile,
|
|
28022
27984
|
handleOpenRecentFile: T.handleOpenRecentFile,
|
|
28023
27985
|
createPresentation: function(e) {
|
|
28024
|
-
|
|
27986
|
+
Q.value = (0, a.createBackstagePresentation)(e), J.value = {}, Re.value = 0, Qe.selectedElementIds.value = [];
|
|
28025
27987
|
},
|
|
28026
27988
|
compareWithPresentation: async function() {
|
|
28027
27989
|
const t = await (0, a.openPptxFile)();
|
|
28028
27990
|
if (!t) return;
|
|
28029
27991
|
const n = await new e.dist_exports.PptxHandler().load(t.buffer, { allowExternalImages: (0, a.resolveAllowExternalContent)(v.allowExternalContent, M.value) });
|
|
28030
|
-
n &&
|
|
27992
|
+
n && bo.compareWithSlides(n.slides);
|
|
28031
27993
|
}
|
|
28032
27994
|
}, e.useRibbonProps({
|
|
28033
|
-
ribbonMode:
|
|
28034
|
-
canEdit:
|
|
28035
|
-
isMobile:
|
|
28036
|
-
sidebarCollapsed:
|
|
28037
|
-
inspectorOpen:
|
|
28038
|
-
ribbonExpanded:
|
|
28039
|
-
toolbarSection:
|
|
28040
|
-
zoom:
|
|
28041
|
-
canUndo:
|
|
28042
|
-
canRedo:
|
|
28043
|
-
findOpen:
|
|
28044
|
-
selectedElements:
|
|
28045
|
-
activeTableSelection:
|
|
28046
|
-
editTemplateMode:
|
|
28047
|
-
newShapeType:
|
|
28048
|
-
activeTool:
|
|
28049
|
-
drawingColor:
|
|
28050
|
-
drawingWidth:
|
|
28051
|
-
clipboard:
|
|
28052
|
-
spellCheckEnabled:
|
|
28053
|
-
showGrid:
|
|
28054
|
-
showRulers:
|
|
28055
|
-
showGuides:
|
|
28056
|
-
snapToGrid:
|
|
28057
|
-
snapToShape:
|
|
28058
|
-
overflowOpen:
|
|
28059
|
-
layoutOptions:
|
|
28060
|
-
embeddedFontFamilies:
|
|
28061
|
-
customFontFamilies:
|
|
28062
|
-
theme:
|
|
28063
|
-
customShows:
|
|
28064
|
-
activeCustomShowId:
|
|
28065
|
-
isCurrentSlideInActiveShow:
|
|
28066
|
-
themeEditorOpen:
|
|
28067
|
-
themeGalleryOpen:
|
|
28068
|
-
eyedropperActive:
|
|
28069
|
-
showComments:
|
|
28070
|
-
activeComments:
|
|
28071
|
-
reviewComments:
|
|
28072
|
-
formatPainterActive:
|
|
28073
|
-
canActivateFormatPainter:
|
|
28074
|
-
showSelectionPane:
|
|
28075
|
-
showSubtitles:
|
|
28076
|
-
activeSlide:
|
|
28077
|
-
activeSlideIndex:
|
|
28078
|
-
toggleSlideHidden:
|
|
28079
|
-
presentationProperties:
|
|
28080
|
-
presenting:
|
|
28081
|
-
canDistribute:
|
|
28082
|
-
shareOpen:
|
|
28083
|
-
showShortcuts:
|
|
28084
|
-
showSettings:
|
|
28085
|
-
showHeaderFooter:
|
|
28086
|
-
showA11y:
|
|
28087
|
-
showSorter:
|
|
28088
|
-
showReadingView:
|
|
28089
|
-
showOutlineView:
|
|
28090
|
-
showCustomShows:
|
|
28091
|
-
showVersionHistory:
|
|
28092
|
-
showPasswordDialog:
|
|
28093
|
-
propertiesOpen:
|
|
28094
|
-
showFontEmbedding:
|
|
28095
|
-
showSignatures:
|
|
28096
|
-
showMasterView:
|
|
28097
|
-
showSetUpSlideShow:
|
|
28098
|
-
broadcastOpen:
|
|
28099
|
-
showInsertSmartArt:
|
|
28100
|
-
showEquationEditor:
|
|
28101
|
-
collab:
|
|
28102
|
-
startPresenting:
|
|
28103
|
-
presentFromBeginning:
|
|
28104
|
-
startPresenterView:
|
|
28105
|
-
startRehearsal:
|
|
28106
|
-
compareWithPresentation:
|
|
28107
|
-
onAddAnimation:
|
|
28108
|
-
onRemoveAnimation:
|
|
28109
|
-
zoomIn:
|
|
28110
|
-
zoomOut:
|
|
28111
|
-
zoomReset:
|
|
28112
|
-
undo:
|
|
28113
|
-
redo:
|
|
28114
|
-
addText:
|
|
28115
|
-
addShape:
|
|
28116
|
-
addTable:
|
|
28117
|
-
addChart:
|
|
28118
|
-
addField:
|
|
28119
|
-
addActionButton:
|
|
28120
|
-
openImagePicker:
|
|
28121
|
-
openMediaPicker:
|
|
28122
|
-
addGuide:
|
|
28123
|
-
onAlign:
|
|
28124
|
-
onDistribute:
|
|
28125
|
-
copySelected:
|
|
28126
|
-
cutSelected:
|
|
28127
|
-
pasteElement:
|
|
28128
|
-
ribbonFlip:
|
|
28129
|
-
bringForward:
|
|
28130
|
-
sendBackward:
|
|
28131
|
-
ribbonMoveToEdge:
|
|
28132
|
-
onGroup:
|
|
28133
|
-
onUngroup:
|
|
28134
|
-
updateSelectedShapeStyle:
|
|
28135
|
-
openHyperlinkForSelection:
|
|
28136
|
-
duplicateSelected:
|
|
28137
|
-
deleteSelected:
|
|
28138
|
-
handleOpenFile:
|
|
28139
|
-
handleOpenRecentFile:
|
|
28140
|
-
createPresentation:
|
|
28141
|
-
onExportPng:
|
|
28142
|
-
onExportPdf:
|
|
28143
|
-
onExportWebm:
|
|
28144
|
-
onExportGif:
|
|
28145
|
-
onExportJson:
|
|
28146
|
-
downloadAs:
|
|
28147
|
-
save:
|
|
28148
|
-
onCopySlideAsImage:
|
|
28149
|
-
openPrintDialog:
|
|
28150
|
-
ribbonUpdateTextStyle:
|
|
28151
|
-
ribbonUpdateTextCase:
|
|
28152
|
-
insertSlideFromLayout:
|
|
28153
|
-
applyLayoutToActiveSlide:
|
|
28154
|
-
loadLayoutPreviews:
|
|
28155
|
-
insertSlideFromTemplate:
|
|
28156
|
-
onRenameActiveCustomShow:
|
|
28157
|
-
onDeleteActiveCustomShow:
|
|
28158
|
-
onToggleCurrentSlideInActiveShow:
|
|
28159
|
-
toggleFormatPainter:
|
|
28160
|
-
onToggleSubtitles:
|
|
28161
|
-
onTransitionChange:
|
|
28162
|
-
onApplyTransitionToAll:
|
|
28163
|
-
addSection:
|
|
28164
|
-
defaultSectionName:
|
|
28165
|
-
selectAllElements:
|
|
28166
|
-
clearSelection:
|
|
28167
|
-
onPresentationPropertiesUpdate:
|
|
27995
|
+
ribbonMode: sa.chromeMode,
|
|
27996
|
+
canEdit: sa.canEdit,
|
|
27997
|
+
isMobile: sa.isMobile,
|
|
27998
|
+
sidebarCollapsed: sa.ui.sidebarCollapsed,
|
|
27999
|
+
inspectorOpen: sa.ui.inspectorOpen,
|
|
28000
|
+
ribbonExpanded: sa.ui.ribbonExpanded,
|
|
28001
|
+
toolbarSection: sa.ui.toolbarSection,
|
|
28002
|
+
zoom: sa.zoom,
|
|
28003
|
+
canUndo: sa.history.canUndo,
|
|
28004
|
+
canRedo: sa.history.canRedo,
|
|
28005
|
+
findOpen: sa.findOpen,
|
|
28006
|
+
selectedElements: sa.selection.selectedElements,
|
|
28007
|
+
activeTableSelection: sa.ribbonActions.activeTableSelection,
|
|
28008
|
+
editTemplateMode: sa.selection.editTemplateMode,
|
|
28009
|
+
newShapeType: sa.ui.newShapeType,
|
|
28010
|
+
activeTool: sa.ui.activeTool,
|
|
28011
|
+
drawingColor: sa.ui.drawingColor,
|
|
28012
|
+
drawingWidth: sa.ui.drawingWidth,
|
|
28013
|
+
clipboard: sa.editing.clipboard,
|
|
28014
|
+
spellCheckEnabled: sa.ui.spellCheckEnabled,
|
|
28015
|
+
showGrid: sa.ui.showGrid,
|
|
28016
|
+
showRulers: sa.ui.showRulers,
|
|
28017
|
+
showGuides: sa.ui.showGuides,
|
|
28018
|
+
snapToGrid: sa.drag.snapToGrid,
|
|
28019
|
+
snapToShape: sa.drag.snapToShape,
|
|
28020
|
+
overflowOpen: sa.ui.overflowOpen,
|
|
28021
|
+
layoutOptions: sa.deck.layoutOptions,
|
|
28022
|
+
embeddedFontFamilies: sa.embeddedFontFamilies,
|
|
28023
|
+
customFontFamilies: sa.customFontFamilies,
|
|
28024
|
+
theme: sa.deck.theme,
|
|
28025
|
+
customShows: sa.deck.customShows,
|
|
28026
|
+
activeCustomShowId: sa.customShows.activeCustomShowId,
|
|
28027
|
+
isCurrentSlideInActiveShow: sa.customShows.isCurrentSlideInActiveShow,
|
|
28028
|
+
themeEditorOpen: sa.ui.themeEditorOpen,
|
|
28029
|
+
themeGalleryOpen: sa.ui.themeGalleryOpen,
|
|
28030
|
+
eyedropperActive: sa.ui.eyedropperActive,
|
|
28031
|
+
showComments: sa.comments.showComments,
|
|
28032
|
+
activeComments: sa.comments.activeComments,
|
|
28033
|
+
reviewComments: sa.comments.reviewHost,
|
|
28034
|
+
formatPainterActive: sa.editing.formatPainterActive,
|
|
28035
|
+
canActivateFormatPainter: sa.editing.canActivateFormatPainter,
|
|
28036
|
+
showSelectionPane: sa.selectionPane.showSelectionPane,
|
|
28037
|
+
showSubtitles: sa.slideShow.showSubtitles,
|
|
28038
|
+
activeSlide: sa.activeSlide,
|
|
28039
|
+
activeSlideIndex: sa.activeSlideIndex,
|
|
28040
|
+
toggleSlideHidden: sa.slideMutations.toggleSlideHidden,
|
|
28041
|
+
presentationProperties: sa.presentationProperties,
|
|
28042
|
+
presenting: sa.presentation.presenting,
|
|
28043
|
+
canDistribute: sa.arrange.canDistribute,
|
|
28044
|
+
shareOpen: sa.collaboration.shareOpen,
|
|
28045
|
+
showShortcuts: sa.showShortcuts,
|
|
28046
|
+
showSettings: sa.showSettings,
|
|
28047
|
+
showHeaderFooter: sa.headerFooterDialog.showHeaderFooter,
|
|
28048
|
+
showA11y: sa.showA11y,
|
|
28049
|
+
showSorter: sa.deckViews.showSorter,
|
|
28050
|
+
showReadingView: sa.deckViews.showReadingView,
|
|
28051
|
+
showOutlineView: sa.deckViews.showOutlineView,
|
|
28052
|
+
showCustomShows: sa.customShows.showCustomShows,
|
|
28053
|
+
showVersionHistory: sa.versionHistory.showVersionHistory,
|
|
28054
|
+
showPasswordDialog: sa.password.showPasswordDialog,
|
|
28055
|
+
propertiesOpen: sa.documentProperties.propertiesOpen,
|
|
28056
|
+
showFontEmbedding: sa.fontEmbedding.showFontEmbedding,
|
|
28057
|
+
showSignatures: sa.signatureWorkflow.showSignatures,
|
|
28058
|
+
showMasterView: sa.masterView.showMasterView,
|
|
28059
|
+
showSetUpSlideShow: sa.slideShow.showSetUpSlideShow,
|
|
28060
|
+
broadcastOpen: sa.collaboration.broadcastOpen,
|
|
28061
|
+
showInsertSmartArt: sa.insertDialogs.showInsertSmartArt,
|
|
28062
|
+
showEquationEditor: sa.insertDialogs.showEquationEditor,
|
|
28063
|
+
collab: sa.collaboration.collab,
|
|
28064
|
+
startPresenting: sa.presentation.startPresenting,
|
|
28065
|
+
presentFromBeginning: sa.presentation.presentFromBeginning,
|
|
28066
|
+
startPresenterView: sa.presentation.startPresenterView,
|
|
28067
|
+
startRehearsal: sa.presentation.startRehearsal,
|
|
28068
|
+
compareWithPresentation: sa.compareWithPresentation,
|
|
28069
|
+
onAddAnimation: sa.slideMutations.onAddAnimation,
|
|
28070
|
+
onRemoveAnimation: sa.slideMutations.onRemoveAnimation,
|
|
28071
|
+
zoomIn: sa.zoomIn,
|
|
28072
|
+
zoomOut: sa.zoomOut,
|
|
28073
|
+
zoomReset: sa.zoomReset,
|
|
28074
|
+
undo: sa.history.undo,
|
|
28075
|
+
redo: sa.history.redo,
|
|
28076
|
+
addText: sa.insertion.addText,
|
|
28077
|
+
addShape: sa.insertion.addShape,
|
|
28078
|
+
addTable: sa.insertion.addTable,
|
|
28079
|
+
addChart: sa.insertion.addChart,
|
|
28080
|
+
addField: sa.insertion.addField,
|
|
28081
|
+
addActionButton: sa.insertion.addActionButton,
|
|
28082
|
+
openImagePicker: sa.insertion.openImagePicker,
|
|
28083
|
+
openMediaPicker: sa.insertion.openMediaPicker,
|
|
28084
|
+
addGuide: sa.drag.addGuide,
|
|
28085
|
+
onAlign: sa.arrange.onAlign,
|
|
28086
|
+
onDistribute: sa.arrange.onDistribute,
|
|
28087
|
+
copySelected: sa.editing.copySelected,
|
|
28088
|
+
cutSelected: sa.editing.cutSelected,
|
|
28089
|
+
pasteElement: sa.editing.pasteElement,
|
|
28090
|
+
ribbonFlip: sa.ribbonActions.ribbonFlip,
|
|
28091
|
+
bringForward: sa.arrange.bringForward,
|
|
28092
|
+
sendBackward: sa.arrange.sendBackward,
|
|
28093
|
+
ribbonMoveToEdge: sa.ribbonActions.ribbonMoveToEdge,
|
|
28094
|
+
onGroup: sa.arrange.onGroup,
|
|
28095
|
+
onUngroup: sa.arrange.onUngroup,
|
|
28096
|
+
updateSelectedShapeStyle: sa.editing.updateSelectedShapeStyle,
|
|
28097
|
+
openHyperlinkForSelection: sa.editing.openHyperlinkForSelection,
|
|
28098
|
+
duplicateSelected: sa.arrange.duplicateSelected,
|
|
28099
|
+
deleteSelected: sa.arrange.deleteSelected,
|
|
28100
|
+
handleOpenFile: sa.handleOpenFile,
|
|
28101
|
+
handleOpenRecentFile: sa.handleOpenRecentFile,
|
|
28102
|
+
createPresentation: sa.createPresentation,
|
|
28103
|
+
onExportPng: sa.exporter.onExportPng,
|
|
28104
|
+
onExportPdf: sa.exporter.onExportPdf,
|
|
28105
|
+
onExportWebm: sa.exporter.onExportWebm,
|
|
28106
|
+
onExportGif: sa.exporter.onExportGif,
|
|
28107
|
+
onExportJson: sa.exporter.onExportJson,
|
|
28108
|
+
downloadAs: sa.exporter.downloadAs,
|
|
28109
|
+
save: sa.exporter.save,
|
|
28110
|
+
onCopySlideAsImage: sa.exporter.onCopySlideAsImage,
|
|
28111
|
+
openPrintDialog: sa.printer.openPrintDialog,
|
|
28112
|
+
ribbonUpdateTextStyle: sa.ribbonActions.ribbonUpdateTextStyle,
|
|
28113
|
+
ribbonUpdateTextCase: sa.ribbonActions.ribbonUpdateTextCase,
|
|
28114
|
+
insertSlideFromLayout: sa.insertion.insertSlideFromLayout,
|
|
28115
|
+
applyLayoutToActiveSlide: sa.insertion.applyLayoutToActiveSlide,
|
|
28116
|
+
loadLayoutPreviews: sa.insertion.loadLayoutPreviews,
|
|
28117
|
+
insertSlideFromTemplate: sa.templateInsertion.insertSlideFromTemplate,
|
|
28118
|
+
onRenameActiveCustomShow: sa.customShows.onRenameActiveCustomShow,
|
|
28119
|
+
onDeleteActiveCustomShow: sa.customShows.onDeleteActiveCustomShow,
|
|
28120
|
+
onToggleCurrentSlideInActiveShow: sa.customShows.onToggleCurrentSlideInActiveShow,
|
|
28121
|
+
toggleFormatPainter: sa.editing.toggleFormatPainter,
|
|
28122
|
+
onToggleSubtitles: sa.slideShow.onToggleSubtitles,
|
|
28123
|
+
onTransitionChange: sa.slideMutations.onTransitionChange,
|
|
28124
|
+
onApplyTransitionToAll: sa.slideMutations.onApplyTransitionToAll,
|
|
28125
|
+
addSection: sa.slideCommands.addSection,
|
|
28126
|
+
defaultSectionName: sa.slideCommands.defaultSectionName,
|
|
28127
|
+
selectAllElements: sa.slideCommands.selectAllElements,
|
|
28128
|
+
clearSelection: sa.slideCommands.clearSelection,
|
|
28129
|
+
onPresentationPropertiesUpdate: sa.slideShow.onPresentationPropertiesUpdate
|
|
28168
28130
|
}));
|
|
28169
|
-
var
|
|
28170
|
-
const { handleCommandSearch:
|
|
28131
|
+
var sa;
|
|
28132
|
+
const { handleCommandSearch: ca, handleQuickAccessCommand: da } = function(e) {
|
|
28171
28133
|
const t = {
|
|
28172
28134
|
format: {
|
|
28173
28135
|
bold: () => e.updateTextStyle({ bold: !0 }),
|
|
@@ -28250,138 +28212,141 @@ var UG = ["aria-busy", "tabindex"], HG = {
|
|
|
28250
28212
|
}
|
|
28251
28213
|
};
|
|
28252
28214
|
}({
|
|
28253
|
-
updateTextStyle:
|
|
28254
|
-
addText:
|
|
28255
|
-
addShape:
|
|
28256
|
-
addTable:
|
|
28257
|
-
addChart:
|
|
28258
|
-
openImagePicker:
|
|
28259
|
-
openMediaPicker:
|
|
28260
|
-
showInsertSmartArt:
|
|
28261
|
-
showEquationEditor:
|
|
28262
|
-
editingEquationOmml:
|
|
28263
|
-
hyperlinkOpen:
|
|
28264
|
-
showGrid:
|
|
28265
|
-
showRulers:
|
|
28266
|
-
showSorter:
|
|
28267
|
-
spellCheckEnabled:
|
|
28268
|
-
themeGalleryOpen:
|
|
28269
|
-
zoomIn:
|
|
28270
|
-
zoomOut:
|
|
28271
|
-
zoomReset:
|
|
28272
|
-
startPresenting:
|
|
28273
|
-
presentFromBeginning:
|
|
28274
|
-
moveToEdge:
|
|
28275
|
-
duplicateSelected:
|
|
28276
|
-
openPrintDialog:
|
|
28277
|
-
exportPdf:
|
|
28278
|
-
addSlide:
|
|
28279
|
-
}),
|
|
28280
|
-
var
|
|
28281
|
-
getCanvas: () =>
|
|
28282
|
-
getTarget: () => !
|
|
28283
|
-
documentId:
|
|
28284
|
-
slideId:
|
|
28285
|
-
canvasSize:
|
|
28215
|
+
updateTextStyle: zo,
|
|
28216
|
+
addText: Ft.addText,
|
|
28217
|
+
addShape: Ft.addShape,
|
|
28218
|
+
addTable: Ft.addTable,
|
|
28219
|
+
addChart: Ft.addChart,
|
|
28220
|
+
openImagePicker: Ft.openImagePicker,
|
|
28221
|
+
openMediaPicker: Ft.openMediaPicker,
|
|
28222
|
+
showInsertSmartArt: Et.showInsertSmartArt,
|
|
28223
|
+
showEquationEditor: Et.showEquationEditor,
|
|
28224
|
+
editingEquationOmml: Et.editingEquationOmml,
|
|
28225
|
+
hyperlinkOpen: $t.hyperlinkOpen,
|
|
28226
|
+
showGrid: Pn,
|
|
28227
|
+
showRulers: In,
|
|
28228
|
+
showSorter: nn.showSorter,
|
|
28229
|
+
spellCheckEnabled: An,
|
|
28230
|
+
themeGalleryOpen: zn,
|
|
28231
|
+
zoomIn: qe,
|
|
28232
|
+
zoomOut: Ye,
|
|
28233
|
+
zoomReset: Xe,
|
|
28234
|
+
startPresenting: Gt.startPresenting,
|
|
28235
|
+
presentFromBeginning: Gt.presentFromBeginning,
|
|
28236
|
+
moveToEdge: Mo,
|
|
28237
|
+
duplicateSelected: At,
|
|
28238
|
+
openPrintDialog: tn.openPrintDialog,
|
|
28239
|
+
exportPdf: en,
|
|
28240
|
+
addSlide: Rt.addSlide
|
|
28241
|
+
}), pa = NG(ia, L.resolved);
|
|
28242
|
+
var ua = No, ma = {
|
|
28243
|
+
getCanvas: () => Po.value,
|
|
28244
|
+
getTarget: () => !_e.value || ne.value || ae.value || Gt.presenting.value || Eo.showMasterView.value || tt.value || kt.inlineEditingElementId.value || "select" !== wn.value || Hn.value?.open || !Ue.value || !Be.value ? null : {
|
|
28245
|
+
documentId: Be.value,
|
|
28246
|
+
slideId: Ue.value.id,
|
|
28247
|
+
canvasSize: ee.value
|
|
28286
28248
|
},
|
|
28287
|
-
insertElement:
|
|
28249
|
+
insertElement: ct.addElement
|
|
28288
28250
|
};
|
|
28289
28251
|
(0, l.watch)([
|
|
28290
|
-
|
|
28291
|
-
() =>
|
|
28292
|
-
() =>
|
|
28293
|
-
() =>
|
|
28294
|
-
() =>
|
|
28252
|
+
ua,
|
|
28253
|
+
() => ma.getTarget()?.documentId,
|
|
28254
|
+
() => ma.getTarget()?.slideId,
|
|
28255
|
+
() => ma.getTarget()?.canvasSize.width,
|
|
28256
|
+
() => ma.getTarget()?.canvasSize.height
|
|
28295
28257
|
], (e, t, n) => {
|
|
28296
|
-
|
|
28258
|
+
ua.value && n((0, a.attachEditorImagePaste)(ua.value, ma));
|
|
28297
28259
|
}, {
|
|
28298
28260
|
immediate: !0,
|
|
28299
28261
|
flush: "sync"
|
|
28300
28262
|
});
|
|
28301
|
-
const
|
|
28263
|
+
const va = {
|
|
28302
28264
|
...RG({
|
|
28303
|
-
slides:
|
|
28304
|
-
activeSlide:
|
|
28305
|
-
activeSlideIndex:
|
|
28306
|
-
slideCount:
|
|
28307
|
-
selectedElementIds:
|
|
28308
|
-
zoom:
|
|
28309
|
-
isDirty:
|
|
28310
|
-
presenting:
|
|
28311
|
-
showMasterView:
|
|
28312
|
-
mode:
|
|
28313
|
-
canEdit:
|
|
28314
|
-
loading:
|
|
28315
|
-
error:
|
|
28316
|
-
editTemplateMode:
|
|
28265
|
+
slides: Q,
|
|
28266
|
+
activeSlide: Ue,
|
|
28267
|
+
activeSlideIndex: Re,
|
|
28268
|
+
slideCount: Le,
|
|
28269
|
+
selectedElementIds: et,
|
|
28270
|
+
zoom: $e,
|
|
28271
|
+
isDirty: qn.isDirty,
|
|
28272
|
+
presenting: Gt.presenting,
|
|
28273
|
+
showMasterView: Eo.showMasterView,
|
|
28274
|
+
mode: Ao,
|
|
28275
|
+
canEdit: _e,
|
|
28276
|
+
loading: ne,
|
|
28277
|
+
error: ae,
|
|
28278
|
+
editTemplateMode: tt,
|
|
28317
28279
|
setEditingRequested: (e) => {
|
|
28318
|
-
|
|
28280
|
+
De.value = e;
|
|
28319
28281
|
},
|
|
28320
|
-
hasActivePointerInteraction: () =>
|
|
28321
|
-
commitPendingText:
|
|
28322
|
-
getContent:
|
|
28323
|
-
goTo:
|
|
28324
|
-
goPrev:
|
|
28325
|
-
goNext:
|
|
28326
|
-
zoomIn:
|
|
28327
|
-
zoomOut:
|
|
28328
|
-
zoomReset:
|
|
28329
|
-
startPresenting:
|
|
28330
|
-
history:
|
|
28331
|
-
slideOps:
|
|
28332
|
-
toggleSlideHidden:
|
|
28333
|
-
elementOps:
|
|
28282
|
+
hasActivePointerInteraction: () => Tt.hasActivePointerInteraction() || null !== pt.value || Boolean(Do.value?.hasActivePointerInteraction()),
|
|
28283
|
+
commitPendingText: kt.commitInlineEdit,
|
|
28284
|
+
getContent: Ne,
|
|
28285
|
+
goTo: He,
|
|
28286
|
+
goPrev: Ge,
|
|
28287
|
+
goNext: Ke,
|
|
28288
|
+
zoomIn: qe,
|
|
28289
|
+
zoomOut: Ye,
|
|
28290
|
+
zoomReset: Xe,
|
|
28291
|
+
startPresenting: Gt.startPresenting,
|
|
28292
|
+
history: st,
|
|
28293
|
+
slideOps: Rt,
|
|
28294
|
+
toggleSlideHidden: rn,
|
|
28295
|
+
elementOps: ct
|
|
28334
28296
|
}),
|
|
28335
28297
|
...L.api
|
|
28336
28298
|
};
|
|
28337
|
-
p(
|
|
28338
|
-
viewer:
|
|
28339
|
-
mode:
|
|
28340
|
-
canEdit:
|
|
28341
|
-
activeSlideIndex:
|
|
28342
|
-
slideCount:
|
|
28343
|
-
selectedElementIds:
|
|
28299
|
+
p(va), (0, l.provide)(y, (0, l.computed)(() => ({
|
|
28300
|
+
viewer: va,
|
|
28301
|
+
mode: Ao.value,
|
|
28302
|
+
canEdit: _e.value,
|
|
28303
|
+
activeSlideIndex: Re.value,
|
|
28304
|
+
slideCount: Le.value,
|
|
28305
|
+
selectedElementIds: et.value,
|
|
28344
28306
|
locale: k.localeCode.value
|
|
28345
28307
|
})));
|
|
28346
|
-
const
|
|
28347
|
-
getSnapshot: () =>
|
|
28348
|
-
handler:
|
|
28349
|
-
slides:
|
|
28350
|
-
templateElementsBySlideId:
|
|
28308
|
+
const ga = (0, a.createSlidePackageClipboard)({
|
|
28309
|
+
getSnapshot: () => Be.value ? {
|
|
28310
|
+
handler: Be.value,
|
|
28311
|
+
slides: Q.value,
|
|
28312
|
+
templateElementsBySlideId: J.value,
|
|
28351
28313
|
allowExternalImages: (0, a.resolveAllowExternalContent)(v.allowExternalContent, M.value),
|
|
28352
|
-
editable:
|
|
28314
|
+
editable: _e.value
|
|
28353
28315
|
} : null,
|
|
28354
28316
|
commit: (e) => {
|
|
28355
|
-
|
|
28356
|
-
for (const [t, n] of e.mediaUrls)
|
|
28357
|
-
|
|
28317
|
+
st.pushHistory(), Be.value = e.handler, Q.value = e.slides, J.value = e.templateElementsBySlideId, ge.value = e.data.slideMasters ?? [], Z.layoutOptions.value = e.data.layoutOptions ?? [], Z.themeOptions.value = e.data.themeOptions ?? [];
|
|
28318
|
+
for (const [t, n] of e.mediaUrls) te.value.set(t, n);
|
|
28319
|
+
Re.value = e.insertAt, qn.isDirty.value = !0;
|
|
28358
28320
|
}
|
|
28359
28321
|
});
|
|
28360
|
-
return (0, l.onBeforeUnmount)(() =>
|
|
28322
|
+
return (0, l.onBeforeUnmount)(() => ga.dispose()), (t, n) => ((0, l.openBlock)(), (0, l.createElementBlock)("div", (0, l.mergeProps)({
|
|
28361
28323
|
ref_key: "viewerRootRef",
|
|
28362
|
-
ref:
|
|
28324
|
+
ref: No,
|
|
28363
28325
|
class: ["pptx-vue-viewer", [
|
|
28364
28326
|
v.class,
|
|
28365
|
-
{ "pptx-vue-reduced-motion":
|
|
28366
|
-
...
|
|
28327
|
+
{ "pptx-vue-reduced-motion": Wo.value },
|
|
28328
|
+
...qo.value
|
|
28367
28329
|
]],
|
|
28368
28330
|
"data-pptx-theme-root": "",
|
|
28369
28331
|
"data-pptx-scope": "",
|
|
28370
28332
|
"data-pptx-editor-chrome": "",
|
|
28371
28333
|
style: (0, l.unref)(S)
|
|
28372
|
-
}, (0, l.unref)(
|
|
28373
|
-
"aria-busy": (0, l.unref)(
|
|
28374
|
-
tabindex:
|
|
28375
|
-
onKeydown: n[21] || (n[21] = (...e) => (0, l.unref)(
|
|
28334
|
+
}, (0, l.unref)(Y).rootAttrs, {
|
|
28335
|
+
"aria-busy": (0, l.unref)(ne) ? "true" : "false",
|
|
28336
|
+
tabindex: _e.value ? 0 : void 0,
|
|
28337
|
+
onKeydown: n[21] || (n[21] = (...e) => (0, l.unref)(Lo) && (0, l.unref)(Lo)(...e))
|
|
28376
28338
|
}), [
|
|
28377
28339
|
(0, l.createVNode)((0, l.unref)(R)),
|
|
28378
|
-
(0, l.createVNode)((0, l.unref)(OG), { css: (0, l.unref)(
|
|
28379
|
-
(0, l.unref)(
|
|
28340
|
+
(0, l.createVNode)((0, l.unref)(OG), { css: (0, l.unref)(Y).css.value }, null, 8, ["css"]),
|
|
28341
|
+
(0, l.unref)(ne) ? ((0, l.openBlock)(), (0, l.createElementBlock)("div", HG, [n[22] || (n[22] = (0, l.createElementVNode)("div", {
|
|
28380
28342
|
class: "pptx-vue-spinner",
|
|
28381
28343
|
"aria-hidden": "true"
|
|
28382
|
-
}, null, -1)), (0, l.createElementVNode)("p", null, (0, l.toDisplayString)((0, l.unref)(
|
|
28383
|
-
|
|
28384
|
-
|
|
28344
|
+
}, null, -1)), (0, l.createElementVNode)("p", null, (0, l.toDisplayString)((0, l.unref)(oe) ? (0, l.unref)(b)("pptx.viewer.loadingFonts", {
|
|
28345
|
+
loaded: (0, l.unref)(oe).loaded,
|
|
28346
|
+
total: (0, l.unref)(oe).total
|
|
28347
|
+
}) : (0, l.unref)(b)("pptx.viewer.loading")), 1)])) : (0, l.unref)(le) ? ((0, l.openBlock)(), (0, l.createElementBlock)("div", GG, [(0, l.createElementVNode)("p", null, (0, l.toDisplayString)((0, l.unref)(b)("pptx.viewer.encrypted")), 1)])) : (0, l.unref)(ae) ? ((0, l.openBlock)(), (0, l.createElementBlock)("div", KG, [(0, l.createElementVNode)("p", null, (0, l.toDisplayString)((0, l.unref)(b)("pptx.viewer.loadError")), 1), (0, l.createElementVNode)("pre", $G, (0, l.toDisplayString)((0, l.unref)(ae)), 1)])) : ((0, l.openBlock)(), (0, l.createElementBlock)(l.Fragment, { key: 3 }, [
|
|
28348
|
+
!(0, l.unref)(Gt).presenting.value && x.value.showToolbar ? ((0, l.openBlock)(), (0, l.createElementBlock)(l.Fragment, { key: 0 }, [
|
|
28349
|
+
N.value.canEdit && (0, l.unref)(a.isEditingAllowed)((0, l.unref)(L).resolved.value) && Fe.value ? ((0, l.openBlock)(), (0, l.createElementBlock)("div", jG, [
|
|
28385
28350
|
(0, l.createVNode)((0, l.unref)(r.ShieldAlert), {
|
|
28386
28351
|
class: "h-4 w-4 shrink-0 text-amber-400",
|
|
28387
28352
|
"aria-hidden": "true"
|
|
@@ -28390,20 +28355,20 @@ var UG = ["aria-busy", "tabindex"], HG = {
|
|
|
28390
28355
|
(0, l.createElementVNode)("button", {
|
|
28391
28356
|
type: "button",
|
|
28392
28357
|
class: "shrink-0 rounded border border-amber-600/50 px-3 py-1 text-xs font-medium text-amber-100 transition-colors hover:bg-amber-700/30",
|
|
28393
|
-
onClick:
|
|
28358
|
+
onClick: Ae
|
|
28394
28359
|
}, (0, l.toDisplayString)((0, l.unref)(b)("pptx.security.enableEditing")), 1)
|
|
28395
28360
|
])) : (0, l.createCommentVNode)("", !0),
|
|
28396
|
-
(0, l.unref)(
|
|
28361
|
+
(0, l.unref)(Pe).showBanner.value ? ((0, l.openBlock)(), (0, l.createBlock)(Ml, {
|
|
28397
28362
|
key: 1,
|
|
28398
|
-
kind: (0, l.unref)(
|
|
28399
|
-
"message-key": (0, l.unref)(
|
|
28400
|
-
"password-prompt-open": (0, l.unref)(
|
|
28401
|
-
"password-error": (0, l.unref)(
|
|
28402
|
-
"checking-password": (0, l.unref)(
|
|
28403
|
-
onEditAnyway: (0, l.unref)(
|
|
28404
|
-
onDismiss: (0, l.unref)(
|
|
28405
|
-
onSubmitPassword: (0, l.unref)(
|
|
28406
|
-
onCancelPassword: (0, l.unref)(
|
|
28363
|
+
kind: (0, l.unref)(Pe).recommendation.value.kind,
|
|
28364
|
+
"message-key": (0, l.unref)(Pe).recommendation.value.messageKey,
|
|
28365
|
+
"password-prompt-open": (0, l.unref)(Pe).passwordPromptOpen.value,
|
|
28366
|
+
"password-error": (0, l.unref)(Pe).passwordError.value,
|
|
28367
|
+
"checking-password": (0, l.unref)(Pe).checkingPassword.value,
|
|
28368
|
+
onEditAnyway: (0, l.unref)(Pe).editAnyway,
|
|
28369
|
+
onDismiss: (0, l.unref)(Pe).dismiss,
|
|
28370
|
+
onSubmitPassword: (0, l.unref)(Pe).submitPassword,
|
|
28371
|
+
onCancelPassword: (0, l.unref)(Pe).cancelPasswordPrompt
|
|
28407
28372
|
}, null, 8, [
|
|
28408
28373
|
"kind",
|
|
28409
28374
|
"message-key",
|
|
@@ -28415,31 +28380,31 @@ var UG = ["aria-busy", "tabindex"], HG = {
|
|
|
28415
28380
|
"onSubmitPassword",
|
|
28416
28381
|
"onCancelPassword"
|
|
28417
28382
|
])) : (0, l.createCommentVNode)("", !0),
|
|
28418
|
-
!(0, l.unref)(
|
|
28383
|
+
!(0, l.unref)(Vo) && (0, l.unref)(G)("titleBar") ? ((0, l.openBlock)(), (0, l.createBlock)(ri, {
|
|
28419
28384
|
key: 2,
|
|
28420
|
-
mode:
|
|
28421
|
-
"can-edit":
|
|
28385
|
+
mode: Oo.value,
|
|
28386
|
+
"can-edit": _e.value,
|
|
28422
28387
|
"file-name": N.value.fileName,
|
|
28423
|
-
"is-dirty": (0, l.unref)(
|
|
28424
|
-
"autosave-status": (0, l.unref)(
|
|
28425
|
-
"autosave-enabled": (0, l.unref)(
|
|
28426
|
-
"autosave-disabled-reason": (0, l.unref)(
|
|
28427
|
-
"autosave-toggle-available": (0, l.unref)(
|
|
28428
|
-
"on-toggle-autosave": (0, l.unref)(
|
|
28429
|
-
"can-undo": (0, l.unref)(
|
|
28430
|
-
"undo-label": (0, l.unref)(
|
|
28431
|
-
"redo-label": (0, l.unref)(
|
|
28432
|
-
"can-redo": (0, l.unref)(
|
|
28433
|
-
"on-undo": (0, l.unref)(
|
|
28434
|
-
"on-redo": (0, l.unref)(
|
|
28388
|
+
"is-dirty": (0, l.unref)(qn).isDirty.value,
|
|
28389
|
+
"autosave-status": (0, l.unref)(Qn) ? "disabled" : (0, l.unref)(qn).status.value,
|
|
28390
|
+
"autosave-enabled": (0, l.unref)(Xn),
|
|
28391
|
+
"autosave-disabled-reason": (0, l.unref)(Qn),
|
|
28392
|
+
"autosave-toggle-available": (0, l.unref)(Jn),
|
|
28393
|
+
"on-toggle-autosave": (0, l.unref)(Zn),
|
|
28394
|
+
"can-undo": (0, l.unref)(st).canUndo.value,
|
|
28395
|
+
"undo-label": (0, l.unref)(st).undoLabel.value,
|
|
28396
|
+
"redo-label": (0, l.unref)(st).redoLabel.value,
|
|
28397
|
+
"can-redo": (0, l.unref)(st).canRedo.value,
|
|
28398
|
+
"on-undo": (0, l.unref)(st).undo,
|
|
28399
|
+
"on-redo": (0, l.unref)(st).redo,
|
|
28435
28400
|
"on-save": () => {
|
|
28436
|
-
(0, l.unref)(
|
|
28401
|
+
(0, l.unref)(Yt).save();
|
|
28437
28402
|
},
|
|
28438
|
-
"find-replace-open":
|
|
28439
|
-
"on-toggle-find-replace": () =>
|
|
28440
|
-
"on-command-search": (0, l.unref)(
|
|
28441
|
-
"on-quick-command": (0, l.unref)(
|
|
28442
|
-
"hidden-actions": (0, l.unref)(
|
|
28403
|
+
"find-replace-open": Wt.value,
|
|
28404
|
+
"on-toggle-find-replace": () => Wt.value = !Wt.value,
|
|
28405
|
+
"on-command-search": (0, l.unref)(ca),
|
|
28406
|
+
"on-quick-command": (0, l.unref)(da),
|
|
28407
|
+
"hidden-actions": (0, l.unref)($)
|
|
28443
28408
|
}, null, 8, [
|
|
28444
28409
|
"mode",
|
|
28445
28410
|
"can-edit",
|
|
@@ -28463,14 +28428,14 @@ var UG = ["aria-busy", "tabindex"], HG = {
|
|
|
28463
28428
|
"on-quick-command",
|
|
28464
28429
|
"hidden-actions"
|
|
28465
28430
|
])) : (0, l.createCommentVNode)("", !0),
|
|
28466
|
-
(0, l.unref)(
|
|
28467
|
-
"hidden-actions": (0, l.unref)(
|
|
28431
|
+
(0, l.unref)(Vo) ? ((0, l.openBlock)(), (0, l.createBlock)(wl, (0, l.mergeProps)({ key: 4 }, (0, l.unref)(pa), {
|
|
28432
|
+
"hidden-actions": (0, l.unref)($),
|
|
28468
28433
|
"recent-presentations-count": (0, l.unref)(M).advanced.recentPresentationsCount,
|
|
28469
|
-
"ai-enabled": (0, l.unref)(
|
|
28470
|
-
"is-ai-panel-open":
|
|
28471
|
-
"on-toggle-ai-panel": () =>
|
|
28472
|
-
"insert-open": (0, l.unref)(
|
|
28473
|
-
onCloseInsert: n[0] || (n[0] = (e) => (0, l.unref)(
|
|
28434
|
+
"ai-enabled": (0, l.unref)(j),
|
|
28435
|
+
"is-ai-panel-open": vt.value,
|
|
28436
|
+
"on-toggle-ai-panel": () => vt.value = !vt.value,
|
|
28437
|
+
"insert-open": (0, l.unref)(Io).mobileInsertOpen.value,
|
|
28438
|
+
onCloseInsert: n[0] || (n[0] = (e) => (0, l.unref)(Io).mobileInsertOpen.value = !1)
|
|
28474
28439
|
}), null, 16, [
|
|
28475
28440
|
"hidden-actions",
|
|
28476
28441
|
"recent-presentations-count",
|
|
@@ -28478,12 +28443,12 @@ var UG = ["aria-busy", "tabindex"], HG = {
|
|
|
28478
28443
|
"is-ai-panel-open",
|
|
28479
28444
|
"on-toggle-ai-panel",
|
|
28480
28445
|
"insert-open"
|
|
28481
|
-
])) : ((0, l.openBlock)(), (0, l.createElementBlock)(l.Fragment, { key: 3 }, [(0, l.createVNode)(ni, (0, l.mergeProps)((0, l.unref)(
|
|
28482
|
-
"hidden-actions": (0, l.unref)(
|
|
28446
|
+
])) : ((0, l.openBlock)(), (0, l.createElementBlock)(l.Fragment, { key: 3 }, [(0, l.createVNode)(ni, (0, l.mergeProps)((0, l.unref)(pa), {
|
|
28447
|
+
"hidden-actions": (0, l.unref)($),
|
|
28483
28448
|
"recent-presentations-count": (0, l.unref)(M).advanced.recentPresentationsCount,
|
|
28484
|
-
"ai-enabled": (0, l.unref)(
|
|
28485
|
-
"is-ai-panel-open":
|
|
28486
|
-
"on-toggle-ai-panel": () =>
|
|
28449
|
+
"ai-enabled": (0, l.unref)(j),
|
|
28450
|
+
"is-ai-panel-open": vt.value,
|
|
28451
|
+
"on-toggle-ai-panel": () => vt.value = !vt.value
|
|
28487
28452
|
}), null, 16, [
|
|
28488
28453
|
"hidden-actions",
|
|
28489
28454
|
"recent-presentations-count",
|
|
@@ -28492,11 +28457,11 @@ var UG = ["aria-busy", "tabindex"], HG = {
|
|
|
28492
28457
|
"on-toggle-ai-panel"
|
|
28493
28458
|
]), (0, l.createVNode)(ri, {
|
|
28494
28459
|
placement: "belowRibbon",
|
|
28495
|
-
mode:
|
|
28496
|
-
"can-edit":
|
|
28497
|
-
"is-dirty": (0, l.unref)(
|
|
28498
|
-
"autosave-enabled": (0, l.unref)(
|
|
28499
|
-
"on-quick-command": (0, l.unref)(
|
|
28460
|
+
mode: Oo.value,
|
|
28461
|
+
"can-edit": _e.value,
|
|
28462
|
+
"is-dirty": (0, l.unref)(qn).isDirty.value,
|
|
28463
|
+
"autosave-enabled": (0, l.unref)(Xn),
|
|
28464
|
+
"on-quick-command": (0, l.unref)(da)
|
|
28500
28465
|
}, null, 8, [
|
|
28501
28466
|
"mode",
|
|
28502
28467
|
"can-edit",
|
|
@@ -28507,44 +28472,44 @@ var UG = ["aria-busy", "tabindex"], HG = {
|
|
|
28507
28472
|
], 64)) : (0, l.createCommentVNode)("", !0),
|
|
28508
28473
|
(0, l.createElementVNode)("input", {
|
|
28509
28474
|
ref_key: "imageInputRef",
|
|
28510
|
-
ref:
|
|
28475
|
+
ref: Pt,
|
|
28511
28476
|
type: "file",
|
|
28512
28477
|
accept: "image/*",
|
|
28513
28478
|
"aria-hidden": "true",
|
|
28514
28479
|
style: { display: "none" },
|
|
28515
|
-
onChange: n[1] || (n[1] = (...e) => (0, l.unref)(
|
|
28480
|
+
onChange: n[1] || (n[1] = (...e) => (0, l.unref)(Ft).onImageFileSelected && (0, l.unref)(Ft).onImageFileSelected(...e))
|
|
28516
28481
|
}, null, 544),
|
|
28517
28482
|
(0, l.createElementVNode)("input", {
|
|
28518
28483
|
ref_key: "mediaInputRef",
|
|
28519
|
-
ref:
|
|
28484
|
+
ref: Dt,
|
|
28520
28485
|
type: "file",
|
|
28521
28486
|
accept: "audio/*,video/*",
|
|
28522
28487
|
"aria-hidden": "true",
|
|
28523
28488
|
style: { display: "none" },
|
|
28524
|
-
onChange: n[2] || (n[2] = (...e) => (0, l.unref)(
|
|
28489
|
+
onChange: n[2] || (n[2] = (...e) => (0, l.unref)(Ft).onMediaFileSelected && (0, l.unref)(Ft).onMediaFileSelected(...e))
|
|
28525
28490
|
}, null, 544),
|
|
28526
|
-
|
|
28491
|
+
_e.value && Wt.value && (0, l.unref)(G)("findReplace") ? ((0, l.openBlock)(), (0, l.createBlock)(ie, {
|
|
28527
28492
|
key: 1,
|
|
28528
|
-
query: (0, l.unref)(
|
|
28529
|
-
"onUpdate:query": n[3] || (n[3] = (e) => (0, l.unref)(
|
|
28530
|
-
replacement: (0, l.unref)(
|
|
28531
|
-
"onUpdate:replacement": n[4] || (n[4] = (e) => (0, l.unref)(
|
|
28532
|
-
"match-case": (0, l.unref)(
|
|
28533
|
-
"onUpdate:matchCase": n[5] || (n[5] = (e) => (0, l.unref)(
|
|
28534
|
-
"include-notes": (0, l.unref)(
|
|
28535
|
-
"onUpdate:includeNotes": n[6] || (n[6] = (e) => (0, l.unref)(
|
|
28536
|
-
"include-chart-titles": (0, l.unref)(
|
|
28537
|
-
"onUpdate:includeChartTitles": n[7] || (n[7] = (e) => (0, l.unref)(
|
|
28538
|
-
"include-chart-data": (0, l.unref)(
|
|
28539
|
-
"onUpdate:includeChartData": n[8] || (n[8] = (e) => (0, l.unref)(
|
|
28540
|
-
"match-count": (0, l.unref)(
|
|
28541
|
-
"current-index": (0, l.unref)(
|
|
28542
|
-
matches: (0, l.unref)(
|
|
28543
|
-
onNext: (0, l.unref)(
|
|
28544
|
-
onPrev: (0, l.unref)(
|
|
28545
|
-
onReplace: (0, l.unref)(
|
|
28546
|
-
onReplaceAll: (0, l.unref)(
|
|
28547
|
-
onClose: n[9] || (n[9] = (e) =>
|
|
28493
|
+
query: (0, l.unref)(qt).query.value,
|
|
28494
|
+
"onUpdate:query": n[3] || (n[3] = (e) => (0, l.unref)(qt).query.value = e),
|
|
28495
|
+
replacement: (0, l.unref)(qt).replacement.value,
|
|
28496
|
+
"onUpdate:replacement": n[4] || (n[4] = (e) => (0, l.unref)(qt).replacement.value = e),
|
|
28497
|
+
"match-case": (0, l.unref)(qt).matchCase.value,
|
|
28498
|
+
"onUpdate:matchCase": n[5] || (n[5] = (e) => (0, l.unref)(qt).matchCase.value = e),
|
|
28499
|
+
"include-notes": (0, l.unref)(qt).includeNotes.value,
|
|
28500
|
+
"onUpdate:includeNotes": n[6] || (n[6] = (e) => (0, l.unref)(qt).includeNotes.value = e),
|
|
28501
|
+
"include-chart-titles": (0, l.unref)(qt).includeChartTitles.value,
|
|
28502
|
+
"onUpdate:includeChartTitles": n[7] || (n[7] = (e) => (0, l.unref)(qt).includeChartTitles.value = e),
|
|
28503
|
+
"include-chart-data": (0, l.unref)(qt).includeChartData.value,
|
|
28504
|
+
"onUpdate:includeChartData": n[8] || (n[8] = (e) => (0, l.unref)(qt).includeChartData.value = e),
|
|
28505
|
+
"match-count": (0, l.unref)(qt).matchCount.value,
|
|
28506
|
+
"current-index": (0, l.unref)(qt).currentMatch.value,
|
|
28507
|
+
matches: (0, l.unref)(qt).matches.value,
|
|
28508
|
+
onNext: (0, l.unref)(qt).next,
|
|
28509
|
+
onPrev: (0, l.unref)(qt).prev,
|
|
28510
|
+
onReplace: (0, l.unref)(qt).replaceCurrent,
|
|
28511
|
+
onReplaceAll: (0, l.unref)(qt).replaceAll,
|
|
28512
|
+
onClose: n[9] || (n[9] = (e) => Wt.value = !1)
|
|
28548
28513
|
}, null, 8, [
|
|
28549
28514
|
"query",
|
|
28550
28515
|
"replacement",
|
|
@@ -28561,25 +28526,25 @@ var UG = ["aria-busy", "tabindex"], HG = {
|
|
|
28561
28526
|
"onReplaceAll"
|
|
28562
28527
|
])) : (0, l.createCommentVNode)("", !0),
|
|
28563
28528
|
(0, l.withDirectives)((0, l.createElementVNode)("div", qG, [
|
|
28564
|
-
(0, l.unref)(
|
|
28529
|
+
(0, l.unref)(Vo) || (0, l.unref)(Tn) || (0, l.unref)(Gt).presenting.value || !x.value.showThumbnails || !(0, l.unref)(G)("slidesPane") ? (0, l.createCommentVNode)("", !0) : ((0, l.openBlock)(), (0, l.createBlock)(wG, {
|
|
28565
28530
|
key: 0,
|
|
28566
|
-
"merged-slides": (0, l.unref)(
|
|
28567
|
-
"active-slide-index": (0, l.unref)(
|
|
28568
|
-
"canvas-size": (0, l.unref)(
|
|
28569
|
-
"media-data-urls": (0, l.unref)(
|
|
28570
|
-
"can-edit":
|
|
28571
|
-
"has-sections":
|
|
28572
|
-
"section-ops": (0, l.unref)(
|
|
28573
|
-
"slide-ops": (0, l.unref)(
|
|
28574
|
-
"go-to": (0, l.unref)(
|
|
28575
|
-
"toggle-slide-hidden": (0, l.unref)(
|
|
28576
|
-
"header-footer": (0, l.unref)(
|
|
28577
|
-
"custom-properties": (0, l.unref)(
|
|
28578
|
-
"first-slide-number": (0, l.unref)(
|
|
28579
|
-
theme: (0, l.unref)(
|
|
28580
|
-
"table-style-map": (0, l.unref)(
|
|
28531
|
+
"merged-slides": (0, l.unref)(lt),
|
|
28532
|
+
"active-slide-index": (0, l.unref)(Re),
|
|
28533
|
+
"canvas-size": (0, l.unref)(ee),
|
|
28534
|
+
"media-data-urls": (0, l.unref)(te),
|
|
28535
|
+
"can-edit": _e.value,
|
|
28536
|
+
"has-sections": Bo.value,
|
|
28537
|
+
"section-ops": (0, l.unref)(wo),
|
|
28538
|
+
"slide-ops": (0, l.unref)(Rt),
|
|
28539
|
+
"go-to": (0, l.unref)(He),
|
|
28540
|
+
"toggle-slide-hidden": (0, l.unref)(rn),
|
|
28541
|
+
"header-footer": (0, l.unref)(ke),
|
|
28542
|
+
"custom-properties": (0, l.unref)(se),
|
|
28543
|
+
"first-slide-number": (0, l.unref)(Z).firstSlideNumber.value,
|
|
28544
|
+
theme: (0, l.unref)(Ce),
|
|
28545
|
+
"table-style-map": (0, l.unref)(ve),
|
|
28581
28546
|
"on-open-layout-for-slide": (e, t, n) => {
|
|
28582
|
-
(0, l.unref)(
|
|
28547
|
+
(0, l.unref)(He)(e), On.value = {
|
|
28583
28548
|
x: t,
|
|
28584
28549
|
y: n
|
|
28585
28550
|
};
|
|
@@ -28604,64 +28569,64 @@ var UG = ["aria-busy", "tabindex"], HG = {
|
|
|
28604
28569
|
])),
|
|
28605
28570
|
(0, l.createElementVNode)("main", {
|
|
28606
28571
|
ref_key: "mainRef",
|
|
28607
|
-
ref:
|
|
28608
|
-
class: (0, l.normalizeClass)(["pptx-vue-main", { "is-editable":
|
|
28609
|
-
"data-pptx-ai-active": (0, l.unref)(
|
|
28610
|
-
onPointerdown: n[11] || (n[11] = (...e) => (0, l.unref)(
|
|
28611
|
-
onDblclickCapture: n[12] || (n[12] = (...e) => (0, l.unref)(
|
|
28612
|
-
onContextmenu: n[13] || (n[13] = (...e) => (0, l.unref)(
|
|
28613
|
-
onPointermove: n[14] || (n[14] = (...e) => (0, l.unref)(
|
|
28614
|
-
onTouchstart: n[15] || (n[15] = (...e) => (0, l.unref)(
|
|
28615
|
-
onTouchend: n[16] || (n[16] = (...e) => (0, l.unref)(
|
|
28572
|
+
ref: Po,
|
|
28573
|
+
class: (0, l.normalizeClass)(["pptx-vue-main", { "is-editable": _e.value }]),
|
|
28574
|
+
"data-pptx-ai-active": (0, l.unref)(W) && (0, l.unref)(gt).canvasAnimating.value ? "true" : void 0,
|
|
28575
|
+
onPointerdown: n[11] || (n[11] = (...e) => (0, l.unref)(Bt) && (0, l.unref)(Bt)(...e)),
|
|
28576
|
+
onDblclickCapture: n[12] || (n[12] = (...e) => (0, l.unref)(wt) && (0, l.unref)(wt)(...e)),
|
|
28577
|
+
onContextmenu: n[13] || (n[13] = (...e) => (0, l.unref)(Kn) && (0, l.unref)(Kn)(...e)),
|
|
28578
|
+
onPointermove: n[14] || (n[14] = (...e) => (0, l.unref)(io).onCollabPointerMove && (0, l.unref)(io).onCollabPointerMove(...e)),
|
|
28579
|
+
onTouchstart: n[15] || (n[15] = (...e) => (0, l.unref)(Ze).onTouchStart && (0, l.unref)(Ze).onTouchStart(...e)),
|
|
28580
|
+
onTouchend: n[16] || (n[16] = (...e) => (0, l.unref)(Ze).onTouchEnd && (0, l.unref)(Ze).onTouchEnd(...e))
|
|
28616
28581
|
}, [(0, l.createVNode)(xi, {
|
|
28617
|
-
slide: (0, l.unref)(
|
|
28618
|
-
"canvas-size": (0, l.unref)(
|
|
28619
|
-
"media-data-urls": (0, l.unref)(
|
|
28620
|
-
zoom: (0, l.unref)(
|
|
28582
|
+
slide: (0, l.unref)(Ue),
|
|
28583
|
+
"canvas-size": (0, l.unref)(ee),
|
|
28584
|
+
"media-data-urls": (0, l.unref)(te),
|
|
28585
|
+
zoom: (0, l.unref)(We),
|
|
28621
28586
|
"fit-padding": v.fitPadding,
|
|
28622
28587
|
"max-fit-scale": v.maxFitScale,
|
|
28623
|
-
"show-rulers": (0, l.unref)(
|
|
28624
|
-
"ruler-selected-bounds": (0, l.unref)(
|
|
28625
|
-
"can-drag-guides":
|
|
28626
|
-
"template-elements": (0, l.unref)(
|
|
28627
|
-
"edit-template-mode": (0, l.unref)(
|
|
28628
|
-
"inline-editing-element-id": (0, l.unref)(
|
|
28629
|
-
"selected-element-ids": (0, l.unref)(
|
|
28630
|
-
"onUpdate:fitScale": n[10] || (n[10] = (e) =>
|
|
28631
|
-
onCreateGuide: (0, l.unref)(
|
|
28588
|
+
"show-rulers": (0, l.unref)(In) && !(0, l.unref)(Gt).presenting.value,
|
|
28589
|
+
"ruler-selected-bounds": (0, l.unref)(Qe).rulerSelectedBounds.value,
|
|
28590
|
+
"can-drag-guides": _e.value && !(0, l.unref)(Gt).presenting.value,
|
|
28591
|
+
"template-elements": (0, l.unref)(nt),
|
|
28592
|
+
"edit-template-mode": (0, l.unref)(tt) && !(0, l.unref)(Gt).presenting.value,
|
|
28593
|
+
"inline-editing-element-id": (0, l.unref)(kt).inlineEditingElementId.value,
|
|
28594
|
+
"selected-element-ids": (0, l.unref)(Qe).selectedElementIds.value,
|
|
28595
|
+
"onUpdate:fitScale": n[10] || (n[10] = (e) => je.value = e),
|
|
28596
|
+
onCreateGuide: (0, l.unref)(Tt).addGuide
|
|
28632
28597
|
}, {
|
|
28633
28598
|
default: (0, l.withCtx)(() => [(0, l.createVNode)(Ys, {
|
|
28634
28599
|
ref_key: "canvasOverlaysRef",
|
|
28635
|
-
ref:
|
|
28636
|
-
"can-edit":
|
|
28637
|
-
presenting: (0, l.unref)(
|
|
28638
|
-
"canvas-size": (0, l.unref)(
|
|
28639
|
-
"effective-zoom": (0, l.unref)(
|
|
28640
|
-
"active-slide": (0, l.unref)(
|
|
28641
|
-
"active-slide-index": (0, l.unref)(
|
|
28642
|
-
"selected-elements": (0, l.unref)(
|
|
28643
|
-
"selected-element-ids": (0, l.unref)(
|
|
28644
|
-
marquee: (0, l.unref)(
|
|
28645
|
-
"active-comments": (0, l.unref)(
|
|
28646
|
-
"on-comment-marker-click": (0, l.unref)(
|
|
28647
|
-
"show-grid": (0, l.unref)(
|
|
28648
|
-
"grid-spacing-px":
|
|
28649
|
-
"show-guides": (0, l.unref)(
|
|
28650
|
-
drag: (0, l.unref)(
|
|
28651
|
-
"inline-edit": (0, l.unref)(
|
|
28652
|
-
inspector: (0, l.unref)(
|
|
28653
|
-
collaboration: (0, l.unref)(
|
|
28654
|
-
"spell-check-enabled": (0, l.unref)(
|
|
28655
|
-
"drawing-active": (0, l.unref)(
|
|
28656
|
-
"active-tool": (0, l.unref)(
|
|
28657
|
-
"drawing-color": (0, l.unref)(
|
|
28658
|
-
"drawing-width": (0, l.unref)(
|
|
28659
|
-
"on-stroke": (0, l.unref)(
|
|
28660
|
-
"on-erase": (0, l.unref)(
|
|
28661
|
-
ai: (0, l.unref)(
|
|
28662
|
-
"ai-panel": (0, l.unref)(
|
|
28663
|
-
"on-request-edit": (0, l.unref)(
|
|
28664
|
-
"on-format": (0, l.unref)(
|
|
28600
|
+
ref: Do,
|
|
28601
|
+
"can-edit": _e.value,
|
|
28602
|
+
presenting: (0, l.unref)(Gt).presenting.value,
|
|
28603
|
+
"canvas-size": (0, l.unref)(ee),
|
|
28604
|
+
"effective-zoom": (0, l.unref)(We),
|
|
28605
|
+
"active-slide": (0, l.unref)(Ue),
|
|
28606
|
+
"active-slide-index": (0, l.unref)(Re),
|
|
28607
|
+
"selected-elements": (0, l.unref)(at),
|
|
28608
|
+
"selected-element-ids": (0, l.unref)(et),
|
|
28609
|
+
marquee: (0, l.unref)(pt),
|
|
28610
|
+
"active-comments": (0, l.unref)(lo).activeComments.value,
|
|
28611
|
+
"on-comment-marker-click": (0, l.unref)(lo).onCommentMarkerClick,
|
|
28612
|
+
"show-grid": (0, l.unref)(Pn),
|
|
28613
|
+
"grid-spacing-px": Vt.value,
|
|
28614
|
+
"show-guides": (0, l.unref)(_n),
|
|
28615
|
+
drag: (0, l.unref)(Tt),
|
|
28616
|
+
"inline-edit": (0, l.unref)(kt),
|
|
28617
|
+
inspector: (0, l.unref)(Ot),
|
|
28618
|
+
collaboration: (0, l.unref)(io),
|
|
28619
|
+
"spell-check-enabled": (0, l.unref)(An),
|
|
28620
|
+
"drawing-active": (0, l.unref)(ta),
|
|
28621
|
+
"active-tool": (0, l.unref)(wn),
|
|
28622
|
+
"drawing-color": (0, l.unref)(Bn),
|
|
28623
|
+
"drawing-width": (0, l.unref)(Nn),
|
|
28624
|
+
"on-stroke": (0, l.unref)(na),
|
|
28625
|
+
"on-erase": (0, l.unref)(oa),
|
|
28626
|
+
ai: (0, l.unref)(W),
|
|
28627
|
+
"ai-panel": (0, l.unref)(gt),
|
|
28628
|
+
"on-request-edit": (0, l.unref)(Ct),
|
|
28629
|
+
"on-format": (0, l.unref)(zo)
|
|
28665
28630
|
}, null, 8, [
|
|
28666
28631
|
"can-edit",
|
|
28667
28632
|
"presenting",
|
|
@@ -28710,41 +28675,41 @@ var UG = ["aria-busy", "tabindex"], HG = {
|
|
|
28710
28675
|
"selected-element-ids",
|
|
28711
28676
|
"onCreateGuide"
|
|
28712
28677
|
])], 42, YG),
|
|
28713
|
-
(0, l.unref)(
|
|
28678
|
+
(0, l.unref)(Gt).presenting.value ? (0, l.createCommentVNode)("", !0) : ((0, l.openBlock)(), (0, l.createBlock)(dG, {
|
|
28714
28679
|
key: 1,
|
|
28715
|
-
deck: (0, l.unref)(
|
|
28716
|
-
"can-edit":
|
|
28717
|
-
"edit-template-mode": (0, l.unref)(
|
|
28718
|
-
"is-mobile": (0, l.unref)(
|
|
28719
|
-
"inspector-open": (0, l.unref)(
|
|
28720
|
-
"on-close-inspector": () =>
|
|
28721
|
-
"inspector-element": (0, l.unref)(
|
|
28722
|
-
"active-slide": (0, l.unref)(
|
|
28723
|
-
"slide-count": (0, l.unref)(
|
|
28724
|
-
"author-name":
|
|
28725
|
-
"selected-element-ids": (0, l.unref)(
|
|
28726
|
-
"deck-actions": (0, l.unref)(
|
|
28727
|
-
comments: (0, l.unref)(
|
|
28728
|
-
accessibility: (0, l.unref)(
|
|
28729
|
-
"show-a11y":
|
|
28730
|
-
"signature-workflow": (0, l.unref)(
|
|
28731
|
-
"selection-pane": (0, l.unref)(
|
|
28732
|
-
collaboration: (0, l.unref)(
|
|
28733
|
-
"custom-shows": (0, l.unref)(
|
|
28734
|
-
ai: (0, l.unref)(
|
|
28735
|
-
"ai-chat-panel": (0, l.unref)(
|
|
28736
|
-
"ai-panel-open":
|
|
28737
|
-
"on-close-ai-panel": () =>
|
|
28738
|
-
"ai-panel": (0, l.unref)(
|
|
28739
|
-
"ai-bridge": (0, l.unref)(
|
|
28740
|
-
"ribbon-mode":
|
|
28741
|
-
"go-to": (0, l.unref)(
|
|
28742
|
-
"on-inspector-update": (0, l.unref)(
|
|
28743
|
-
"on-update-slide-animations": (0, l.unref)(
|
|
28744
|
-
"on-table-style-map-change": (0, l.unref)(
|
|
28745
|
-
"on-delete-table-style": (0, l.unref)(
|
|
28746
|
-
"on-slide-update": (0, l.unref)(
|
|
28747
|
-
"on-presentation-update": (0, l.unref)(
|
|
28680
|
+
deck: (0, l.unref)(Z),
|
|
28681
|
+
"can-edit": _e.value,
|
|
28682
|
+
"edit-template-mode": (0, l.unref)(tt),
|
|
28683
|
+
"is-mobile": (0, l.unref)(Vo),
|
|
28684
|
+
"inspector-open": (0, l.unref)(Vn),
|
|
28685
|
+
"on-close-inspector": () => Vn.value = !1,
|
|
28686
|
+
"inspector-element": (0, l.unref)(Ot).inspectorElementForPanels.value,
|
|
28687
|
+
"active-slide": (0, l.unref)(Ue),
|
|
28688
|
+
"slide-count": (0, l.unref)(Le),
|
|
28689
|
+
"author-name": ao.value,
|
|
28690
|
+
"selected-element-ids": (0, l.unref)(et),
|
|
28691
|
+
"deck-actions": (0, l.unref)(no),
|
|
28692
|
+
comments: (0, l.unref)(lo),
|
|
28693
|
+
accessibility: (0, l.unref)(an),
|
|
28694
|
+
"show-a11y": on.value,
|
|
28695
|
+
"signature-workflow": (0, l.unref)(po),
|
|
28696
|
+
"selection-pane": (0, l.unref)(xo),
|
|
28697
|
+
collaboration: (0, l.unref)(io),
|
|
28698
|
+
"custom-shows": (0, l.unref)(ko),
|
|
28699
|
+
ai: (0, l.unref)(W),
|
|
28700
|
+
"ai-chat-panel": (0, l.unref)(q),
|
|
28701
|
+
"ai-panel-open": vt.value,
|
|
28702
|
+
"on-close-ai-panel": () => vt.value = !1,
|
|
28703
|
+
"ai-panel": (0, l.unref)(gt),
|
|
28704
|
+
"ai-bridge": (0, l.unref)(ra),
|
|
28705
|
+
"ribbon-mode": Oo.value,
|
|
28706
|
+
"go-to": (0, l.unref)(He),
|
|
28707
|
+
"on-inspector-update": (0, l.unref)(Ot).onInspectorUpdate,
|
|
28708
|
+
"on-update-slide-animations": (0, l.unref)(Ot).writeSlideAnimations,
|
|
28709
|
+
"on-table-style-map-change": (0, l.unref)(oo).onTableStyleMapChange,
|
|
28710
|
+
"on-delete-table-style": (0, l.unref)(oo).onDeleteTableStyle,
|
|
28711
|
+
"on-slide-update": (0, l.unref)(sn),
|
|
28712
|
+
"on-presentation-update": (0, l.unref)(mo).onPresentationPropertiesUpdate
|
|
28748
28713
|
}, null, 8, [
|
|
28749
28714
|
"deck",
|
|
28750
28715
|
"can-edit",
|
|
@@ -28780,47 +28745,48 @@ var UG = ["aria-busy", "tabindex"], HG = {
|
|
|
28780
28745
|
"on-slide-update",
|
|
28781
28746
|
"on-presentation-update"
|
|
28782
28747
|
]))
|
|
28783
|
-
], 512), [[l.vShow, !(0, l.unref)(
|
|
28784
|
-
|
|
28748
|
+
], 512), [[l.vShow, !(0, l.unref)(Gt).presenting.value]]),
|
|
28749
|
+
_e.value && !(0, l.unref)(Vo) && (0, l.unref)(Le) > 0 && !(0, l.unref)(Gt).presenting.value && (0, l.unref)(G)("notes") ? ((0, l.openBlock)(), (0, l.createBlock)(Al, {
|
|
28785
28750
|
key: 2,
|
|
28786
28751
|
ref_key: "notesPanel",
|
|
28787
|
-
ref:
|
|
28788
|
-
slide: (0, l.unref)(
|
|
28789
|
-
expanded: (0, l.unref)(
|
|
28790
|
-
"notes-style": (0, l.unref)(
|
|
28791
|
-
onUpdate: (0, l.unref)(
|
|
28792
|
-
onToggle: n[17] || (n[17] = (e) =>
|
|
28752
|
+
ref: $o,
|
|
28753
|
+
slide: (0, l.unref)(Ue),
|
|
28754
|
+
expanded: (0, l.unref)(Fn),
|
|
28755
|
+
"notes-style": (0, l.unref)(Se)?.notesStyle,
|
|
28756
|
+
onUpdate: (0, l.unref)(ln),
|
|
28757
|
+
onToggle: n[17] || (n[17] = (e) => Fn.value = !(0, l.unref)(Fn))
|
|
28793
28758
|
}, null, 8, [
|
|
28794
28759
|
"slide",
|
|
28795
28760
|
"expanded",
|
|
28796
28761
|
"notes-style",
|
|
28797
28762
|
"onUpdate"
|
|
28798
28763
|
])) : (0, l.createCommentVNode)("", !0),
|
|
28799
|
-
!(0, l.unref)(
|
|
28764
|
+
!(0, l.unref)(Vo) && (0, l.unref)(Le) > 0 && !(0, l.unref)(Gt).presenting.value && x.value.showToolbar && (0, l.unref)(G)("statusBar") ? ((0, l.openBlock)(), (0, l.createBlock)(ki, {
|
|
28800
28765
|
key: 3,
|
|
28801
|
-
"slide-count": (0, l.unref)(
|
|
28802
|
-
"active-slide-index": (0, l.unref)(
|
|
28803
|
-
"is-dirty": (0, l.unref)(
|
|
28804
|
-
"autosave-status": (0, l.unref)(
|
|
28805
|
-
"last-saved-at": (0, l.unref)(
|
|
28766
|
+
"slide-count": (0, l.unref)(Le),
|
|
28767
|
+
"active-slide-index": (0, l.unref)(Re),
|
|
28768
|
+
"is-dirty": (0, l.unref)(qn).isDirty.value,
|
|
28769
|
+
"autosave-status": (0, l.unref)(Qn) ? "disabled" : (0, l.unref)(Yn) ? (0, l.unref)(qn).status.value : void 0,
|
|
28770
|
+
"last-saved-at": (0, l.unref)(qn).lastSavedAt.value,
|
|
28806
28771
|
"save-progress": (0, l.unref)(B),
|
|
28807
|
-
|
|
28808
|
-
|
|
28809
|
-
|
|
28810
|
-
"
|
|
28811
|
-
"
|
|
28812
|
-
|
|
28813
|
-
|
|
28814
|
-
|
|
28815
|
-
|
|
28816
|
-
|
|
28817
|
-
|
|
28818
|
-
|
|
28772
|
+
"font-progress": (0, l.unref)(oe),
|
|
28773
|
+
scale: (0, l.unref)($e),
|
|
28774
|
+
mode: Oo.value,
|
|
28775
|
+
"is-notes-expanded": (0, l.unref)(Fn),
|
|
28776
|
+
"show-notes": _e.value && (0, l.unref)(G)("notes"),
|
|
28777
|
+
"hidden-actions": (0, l.unref)($),
|
|
28778
|
+
onZoomIn: (0, l.unref)(qe),
|
|
28779
|
+
onZoomOut: (0, l.unref)(Ye),
|
|
28780
|
+
onZoomToFit: (0, l.unref)(Xe),
|
|
28781
|
+
onToggleNotes: n[18] || (n[18] = (e) => Fn.value = !(0, l.unref)(Fn)),
|
|
28782
|
+
onToggleSlideSorter: n[19] || (n[19] = (e) => (0, l.unref)(nn).showSorter.value = !0),
|
|
28783
|
+
onSetMode: n[20] || (n[20] = (e) => "present" === e ? (0, l.unref)(Gt).startPresenting() : (0, l.unref)(Gt).presenting.value = !1)
|
|
28784
|
+
}, (0, l.createSlots)({ _: 2 }, [(0, l.unref)(io).collabActive.value && (0, l.unref)(K)("share") ? {
|
|
28819
28785
|
name: "collaboration",
|
|
28820
28786
|
fn: (0, l.withCtx)(() => [(0, l.createVNode)(z, {
|
|
28821
|
-
status: (0, l.unref)(
|
|
28822
|
-
"connected-count": (0, l.unref)(
|
|
28823
|
-
onRetry: (0, l.unref)(
|
|
28787
|
+
status: (0, l.unref)(io).collab.status.value,
|
|
28788
|
+
"connected-count": (0, l.unref)(io).collab.connectedCount.value,
|
|
28789
|
+
onRetry: (0, l.unref)(io).collab.retry
|
|
28824
28790
|
}, null, 8, [
|
|
28825
28791
|
"status",
|
|
28826
28792
|
"connected-count",
|
|
@@ -28834,6 +28800,7 @@ var UG = ["aria-busy", "tabindex"], HG = {
|
|
|
28834
28800
|
"autosave-status",
|
|
28835
28801
|
"last-saved-at",
|
|
28836
28802
|
"save-progress",
|
|
28803
|
+
"font-progress",
|
|
28837
28804
|
"scale",
|
|
28838
28805
|
"mode",
|
|
28839
28806
|
"is-notes-expanded",
|
|
@@ -28844,27 +28811,27 @@ var UG = ["aria-busy", "tabindex"], HG = {
|
|
|
28844
28811
|
"onZoomToFit"
|
|
28845
28812
|
])) : (0, l.createCommentVNode)("", !0),
|
|
28846
28813
|
(0, l.createVNode)(Zu, {
|
|
28847
|
-
"can-edit":
|
|
28848
|
-
theme: (0, l.unref)(
|
|
28849
|
-
"theme-gallery-open": (0, l.unref)(
|
|
28850
|
-
"on-close-theme-gallery": () =>
|
|
28851
|
-
"theme-editor-open": (0, l.unref)(
|
|
28852
|
-
"on-close-theme-editor": () =>
|
|
28853
|
-
"theme-editing": (0, l.unref)(
|
|
28854
|
-
"context-menu": (0, l.unref)(
|
|
28855
|
-
"context-items": (0, l.unref)(
|
|
28856
|
-
"on-context-select": (0, l.unref)(
|
|
28857
|
-
"on-close-context-menu": () => (0, l.unref)(
|
|
28858
|
-
"canvas-context-menu": (0, l.unref)(
|
|
28859
|
-
"canvas-context-items": (0, l.unref)(
|
|
28860
|
-
"on-canvas-context-select": (0, l.unref)(
|
|
28861
|
-
"on-close-canvas-context-menu": (0, l.unref)(
|
|
28862
|
-
"layout-gallery":
|
|
28863
|
-
hyperlink: (0, l.unref)(
|
|
28864
|
-
"slide-count": (0, l.unref)(
|
|
28865
|
-
collaboration: (0, l.unref)(
|
|
28814
|
+
"can-edit": _e.value,
|
|
28815
|
+
theme: (0, l.unref)(Ce),
|
|
28816
|
+
"theme-gallery-open": (0, l.unref)(zn),
|
|
28817
|
+
"on-close-theme-gallery": () => zn.value = !1,
|
|
28818
|
+
"theme-editor-open": (0, l.unref)(Mn),
|
|
28819
|
+
"on-close-theme-editor": () => Mn.value = !1,
|
|
28820
|
+
"theme-editing": (0, l.unref)(aa),
|
|
28821
|
+
"context-menu": (0, l.unref)(Hn),
|
|
28822
|
+
"context-items": (0, l.unref)(Gn),
|
|
28823
|
+
"on-context-select": (0, l.unref)($n),
|
|
28824
|
+
"on-close-context-menu": () => (0, l.unref)(Hn).open = !1,
|
|
28825
|
+
"canvas-context-menu": (0, l.unref)(Rn).canvasContextMenu.value,
|
|
28826
|
+
"canvas-context-items": (0, l.unref)(Rn).canvasContextItems.value,
|
|
28827
|
+
"on-canvas-context-select": (0, l.unref)(Rn).onCanvasContextSelect,
|
|
28828
|
+
"on-close-canvas-context-menu": (0, l.unref)(Rn).closeCanvasContextMenu,
|
|
28829
|
+
"layout-gallery": Un.value,
|
|
28830
|
+
hyperlink: (0, l.unref)($t),
|
|
28831
|
+
"slide-count": (0, l.unref)(Le),
|
|
28832
|
+
collaboration: (0, l.unref)(io),
|
|
28866
28833
|
"share-defaults": v.shareDefaults,
|
|
28867
|
-
"paste-special": (0, l.unref)(
|
|
28834
|
+
"paste-special": (0, l.unref)(Ut)
|
|
28868
28835
|
}, null, 8, [
|
|
28869
28836
|
"can-edit",
|
|
28870
28837
|
"theme",
|
|
@@ -28890,12 +28857,12 @@ var UG = ["aria-busy", "tabindex"], HG = {
|
|
|
28890
28857
|
]),
|
|
28891
28858
|
(0, l.createVNode)(I, {
|
|
28892
28859
|
prompt: (0, l.unref)(a.shouldShowAutosaveRecoveryPrompt)({
|
|
28893
|
-
prompt: (0, l.unref)(
|
|
28894
|
-
presenting: (0, l.unref)(
|
|
28895
|
-
}) ? (0, l.unref)(
|
|
28896
|
-
discarding: (0, l.unref)(
|
|
28897
|
-
onRestore: (0, l.unref)(
|
|
28898
|
-
onDiscard: (0, l.unref)(
|
|
28860
|
+
prompt: (0, l.unref)(eo).prompt.value,
|
|
28861
|
+
presenting: (0, l.unref)(Gt).presenting.value
|
|
28862
|
+
}) ? (0, l.unref)(eo).prompt.value : null,
|
|
28863
|
+
discarding: (0, l.unref)(eo).discarding.value,
|
|
28864
|
+
onRestore: (0, l.unref)(eo).restore,
|
|
28865
|
+
onDiscard: (0, l.unref)(eo).discard
|
|
28899
28866
|
}, null, 8, [
|
|
28900
28867
|
"prompt",
|
|
28901
28868
|
"discarding",
|
|
@@ -28903,35 +28870,35 @@ var UG = ["aria-busy", "tabindex"], HG = {
|
|
|
28903
28870
|
"onDiscard"
|
|
28904
28871
|
]),
|
|
28905
28872
|
(0, l.createVNode)(dx, {
|
|
28906
|
-
"custom-font-families":
|
|
28907
|
-
slides: (0, l.unref)(
|
|
28908
|
-
onCustomFontRegistered:
|
|
28909
|
-
"active-slide-index": (0, l.unref)(
|
|
28910
|
-
"canvas-size": (0, l.unref)(
|
|
28911
|
-
"media-data-urls": (0, l.unref)(
|
|
28912
|
-
"core-properties": (0, l.unref)(
|
|
28913
|
-
"custom-properties": (0, l.unref)(
|
|
28914
|
-
"app-properties": (0, l.unref)(
|
|
28915
|
-
"header-footer": (0, l.unref)(
|
|
28916
|
-
"document-properties": (0, l.unref)(
|
|
28917
|
-
"version-history": (0, l.unref)(
|
|
28918
|
-
printer: (0, l.unref)(
|
|
28919
|
-
"header-footer-dialog": (0, l.unref)(
|
|
28920
|
-
"show-shortcuts": (0, l.unref)(
|
|
28921
|
-
"on-close-shortcuts": () =>
|
|
28922
|
-
"show-settings": (0, l.unref)(
|
|
28923
|
-
"on-close-settings": () =>
|
|
28873
|
+
"custom-font-families": go.value,
|
|
28874
|
+
slides: (0, l.unref)(Q),
|
|
28875
|
+
onCustomFontRegistered: fo,
|
|
28876
|
+
"active-slide-index": (0, l.unref)(Re),
|
|
28877
|
+
"canvas-size": (0, l.unref)(ee),
|
|
28878
|
+
"media-data-urls": (0, l.unref)(te),
|
|
28879
|
+
"core-properties": (0, l.unref)(re),
|
|
28880
|
+
"custom-properties": (0, l.unref)(se),
|
|
28881
|
+
"app-properties": (0, l.unref)(pe),
|
|
28882
|
+
"header-footer": (0, l.unref)(ke),
|
|
28883
|
+
"document-properties": (0, l.unref)(yo),
|
|
28884
|
+
"version-history": (0, l.unref)(bo),
|
|
28885
|
+
printer: (0, l.unref)(tn),
|
|
28886
|
+
"header-footer-dialog": (0, l.unref)(ho),
|
|
28887
|
+
"show-shortcuts": (0, l.unref)(Ro),
|
|
28888
|
+
"on-close-shortcuts": () => Ro.value = !1,
|
|
28889
|
+
"show-settings": (0, l.unref)(Zo) && (0, l.unref)(K)("options"),
|
|
28890
|
+
"on-close-settings": () => Zo.value = !1,
|
|
28924
28891
|
"options-store": (0, l.unref)(A),
|
|
28925
28892
|
"viewer-options": (0, l.unref)(M),
|
|
28926
|
-
"addin-status":
|
|
28893
|
+
"addin-status": Xo.value,
|
|
28927
28894
|
"theme-key": (0, l.unref)(k).themeKey.value,
|
|
28928
28895
|
"on-theme-select": (0, l.unref)(k).selectTheme,
|
|
28929
28896
|
"locale-code": (0, l.unref)(k).localeCode.value,
|
|
28930
28897
|
"on-locale-select": (0, l.unref)(k).selectLocale,
|
|
28931
28898
|
"available-themes": v.availableThemes,
|
|
28932
28899
|
"available-locales": (0, l.unref)(k).resolvedAvailableLocales.value,
|
|
28933
|
-
"ai-enabled": (0, l.unref)(
|
|
28934
|
-
"on-clear-cache":
|
|
28900
|
+
"ai-enabled": (0, l.unref)(j),
|
|
28901
|
+
"on-clear-cache": Qo
|
|
28935
28902
|
}, null, 8, [
|
|
28936
28903
|
"custom-font-families",
|
|
28937
28904
|
"slides",
|
|
@@ -28961,19 +28928,19 @@ var UG = ["aria-busy", "tabindex"], HG = {
|
|
|
28961
28928
|
"available-locales",
|
|
28962
28929
|
"ai-enabled"
|
|
28963
28930
|
]),
|
|
28964
|
-
(0, l.unref)(
|
|
28931
|
+
(0, l.unref)(Eo).showMasterView.value ? ((0, l.openBlock)(), (0, l.createBlock)(jt, {
|
|
28965
28932
|
key: 4,
|
|
28966
28933
|
ref_key: "masterInlineEditor",
|
|
28967
|
-
ref:
|
|
28968
|
-
state: (0, l.unref)(
|
|
28969
|
-
crud: (0, l.unref)(
|
|
28970
|
-
"slide-masters": (0, l.unref)(
|
|
28971
|
-
"canvas-size": (0, l.unref)(
|
|
28972
|
-
"media-data-urls": (0, l.unref)(
|
|
28973
|
-
"notes-master": (0, l.unref)(
|
|
28974
|
-
"notes-canvas-size": (0, l.unref)(
|
|
28975
|
-
"handout-master": (0, l.unref)(
|
|
28976
|
-
"can-edit":
|
|
28934
|
+
ref: St,
|
|
28935
|
+
state: (0, l.unref)(Eo),
|
|
28936
|
+
crud: (0, l.unref)(Co),
|
|
28937
|
+
"slide-masters": (0, l.unref)(ge),
|
|
28938
|
+
"canvas-size": (0, l.unref)(ee),
|
|
28939
|
+
"media-data-urls": (0, l.unref)(te),
|
|
28940
|
+
"notes-master": (0, l.unref)(Se),
|
|
28941
|
+
"notes-canvas-size": (0, l.unref)(Z).notesCanvasSize.value,
|
|
28942
|
+
"handout-master": (0, l.unref)(Ee),
|
|
28943
|
+
"can-edit": _e.value,
|
|
28977
28944
|
"list-conversion-scope": v.listConversionScope
|
|
28978
28945
|
}, null, 8, [
|
|
28979
28946
|
"state",
|
|
@@ -28988,18 +28955,18 @@ var UG = ["aria-busy", "tabindex"], HG = {
|
|
|
28988
28955
|
"list-conversion-scope"
|
|
28989
28956
|
])) : (0, l.createCommentVNode)("", !0),
|
|
28990
28957
|
(0, l.createVNode)(rp, {
|
|
28991
|
-
collaboration: (0, l.unref)(
|
|
28958
|
+
collaboration: (0, l.unref)(io),
|
|
28992
28959
|
"broadcast-server-url": v.shareDefaults?.serverUrl,
|
|
28993
|
-
"slide-show": (0, l.unref)(
|
|
28994
|
-
"presentation-properties": (0, l.unref)(
|
|
28995
|
-
"custom-shows": (0, l.unref)(
|
|
28996
|
-
"slide-count": (0, l.unref)(
|
|
28960
|
+
"slide-show": (0, l.unref)(mo),
|
|
28961
|
+
"presentation-properties": (0, l.unref)(he),
|
|
28962
|
+
"custom-shows": (0, l.unref)(xe),
|
|
28963
|
+
"slide-count": (0, l.unref)(Le),
|
|
28997
28964
|
password: (0, l.unref)(_),
|
|
28998
|
-
"font-embedding": (0, l.unref)(
|
|
28999
|
-
"insert-dialogs": (0, l.unref)(
|
|
29000
|
-
"signature-workflow": (0, l.unref)(
|
|
29001
|
-
"signature-count": (0, l.unref)(
|
|
29002
|
-
"deck-actions": (0, l.unref)(
|
|
28965
|
+
"font-embedding": (0, l.unref)(vo),
|
|
28966
|
+
"insert-dialogs": (0, l.unref)(Et),
|
|
28967
|
+
"signature-workflow": (0, l.unref)(po),
|
|
28968
|
+
"signature-count": (0, l.unref)(me).length,
|
|
28969
|
+
"deck-actions": (0, l.unref)(no)
|
|
29003
28970
|
}, null, 8, [
|
|
29004
28971
|
"collaboration",
|
|
29005
28972
|
"broadcast-server-url",
|
|
@@ -29014,35 +28981,35 @@ var UG = ["aria-busy", "tabindex"], HG = {
|
|
|
29014
28981
|
"signature-count",
|
|
29015
28982
|
"deck-actions"
|
|
29016
28983
|
]),
|
|
29017
|
-
(0, l.unref)(
|
|
28984
|
+
(0, l.unref)(Vo) && !(0, l.unref)(Gt).presenting.value && x.value.showToolbar ? ((0, l.openBlock)(), (0, l.createBlock)(dR, {
|
|
29018
28985
|
key: 5,
|
|
29019
|
-
chrome: (0, l.unref)(
|
|
29020
|
-
deck: (0, l.unref)(
|
|
29021
|
-
"slide-ops": (0, l.unref)(
|
|
29022
|
-
comments: (0, l.unref)(
|
|
29023
|
-
"deck-actions": (0, l.unref)(
|
|
29024
|
-
"edit-template-mode": (0, l.unref)(
|
|
29025
|
-
"merged-slides": (0, l.unref)(
|
|
29026
|
-
"active-slide": (0, l.unref)(
|
|
29027
|
-
"active-slide-index": (0, l.unref)(
|
|
29028
|
-
"slide-count": (0, l.unref)(
|
|
29029
|
-
"active-comments": (0, l.unref)(
|
|
29030
|
-
"can-edit":
|
|
29031
|
-
"keyboard-inset": (0, l.unref)(
|
|
29032
|
-
"inspector-element": (0, l.unref)(
|
|
29033
|
-
"author-name":
|
|
29034
|
-
"notes-master": (0, l.unref)(
|
|
29035
|
-
"go-to": (0, l.unref)(
|
|
29036
|
-
"toggle-slide-hidden": (0, l.unref)(
|
|
29037
|
-
"on-add-section": (0, l.unref)(
|
|
29038
|
-
"on-notes-update": (0, l.unref)(
|
|
29039
|
-
"on-inspector-update": (0, l.unref)(
|
|
29040
|
-
"on-update-slide-animations": (0, l.unref)(
|
|
29041
|
-
"on-table-style-map-change": (0, l.unref)(
|
|
29042
|
-
"on-delete-table-style": (0, l.unref)(
|
|
29043
|
-
"on-slide-update": (0, l.unref)(
|
|
29044
|
-
"on-presentation-update": (0, l.unref)(
|
|
29045
|
-
"on-select-element": (0, l.unref)(
|
|
28986
|
+
chrome: (0, l.unref)(Io),
|
|
28987
|
+
deck: (0, l.unref)(Z),
|
|
28988
|
+
"slide-ops": (0, l.unref)(Rt),
|
|
28989
|
+
comments: (0, l.unref)(lo),
|
|
28990
|
+
"deck-actions": (0, l.unref)(no),
|
|
28991
|
+
"edit-template-mode": (0, l.unref)(tt),
|
|
28992
|
+
"merged-slides": (0, l.unref)(lt),
|
|
28993
|
+
"active-slide": (0, l.unref)(Ue),
|
|
28994
|
+
"active-slide-index": (0, l.unref)(Re),
|
|
28995
|
+
"slide-count": (0, l.unref)(Le),
|
|
28996
|
+
"active-comments": (0, l.unref)(lo).activeComments.value,
|
|
28997
|
+
"can-edit": _e.value,
|
|
28998
|
+
"keyboard-inset": (0, l.unref)(Fo),
|
|
28999
|
+
"inspector-element": (0, l.unref)(Ot).inspectorElementForPanels.value,
|
|
29000
|
+
"author-name": ao.value,
|
|
29001
|
+
"notes-master": (0, l.unref)(Se),
|
|
29002
|
+
"go-to": (0, l.unref)(He),
|
|
29003
|
+
"toggle-slide-hidden": (0, l.unref)(rn),
|
|
29004
|
+
"on-add-section": (0, l.unref)(wo).addSection,
|
|
29005
|
+
"on-notes-update": (0, l.unref)(ln),
|
|
29006
|
+
"on-inspector-update": (0, l.unref)(Ot).onInspectorUpdate,
|
|
29007
|
+
"on-update-slide-animations": (0, l.unref)(Ot).writeSlideAnimations,
|
|
29008
|
+
"on-table-style-map-change": (0, l.unref)(oo).onTableStyleMapChange,
|
|
29009
|
+
"on-delete-table-style": (0, l.unref)(oo).onDeleteTableStyle,
|
|
29010
|
+
"on-slide-update": (0, l.unref)(sn),
|
|
29011
|
+
"on-presentation-update": (0, l.unref)(mo).onPresentationPropertiesUpdate,
|
|
29012
|
+
"on-select-element": (0, l.unref)(xo).onSelectionPaneSelect
|
|
29046
29013
|
}, null, 8, [
|
|
29047
29014
|
"chrome",
|
|
29048
29015
|
"deck",
|
|
@@ -29074,7 +29041,7 @@ var UG = ["aria-busy", "tabindex"], HG = {
|
|
|
29074
29041
|
])) : (0, l.createCommentVNode)("", !0),
|
|
29075
29042
|
(0, l.createElementVNode)("div", {
|
|
29076
29043
|
ref_key: "exportStageRef",
|
|
29077
|
-
ref:
|
|
29044
|
+
ref: Xt,
|
|
29078
29045
|
class: "pptx-vue-export-stage",
|
|
29079
29046
|
"aria-hidden": "true",
|
|
29080
29047
|
style: {
|
|
@@ -29084,11 +29051,11 @@ var UG = ["aria-busy", "tabindex"], HG = {
|
|
|
29084
29051
|
"pointer-events": "none",
|
|
29085
29052
|
opacity: "0"
|
|
29086
29053
|
}
|
|
29087
|
-
}, [(0, l.unref)(
|
|
29054
|
+
}, [(0, l.unref)(Zt) ? ((0, l.openBlock)(), (0, l.createBlock)(e.SlideStage_default, {
|
|
29088
29055
|
key: 0,
|
|
29089
|
-
slide: (0, l.unref)(
|
|
29090
|
-
"canvas-size": (0, l.unref)(
|
|
29091
|
-
"media-data-urls": (0, l.unref)(
|
|
29056
|
+
slide: (0, l.unref)(Zt),
|
|
29057
|
+
"canvas-size": (0, l.unref)(ee),
|
|
29058
|
+
"media-data-urls": (0, l.unref)(te),
|
|
29092
29059
|
scale: 1
|
|
29093
29060
|
}, null, 8, [
|
|
29094
29061
|
"slide",
|
|
@@ -29096,14 +29063,14 @@ var UG = ["aria-busy", "tabindex"], HG = {
|
|
|
29096
29063
|
"media-data-urls"
|
|
29097
29064
|
])) : (0, l.createCommentVNode)("", !0)], 512)
|
|
29098
29065
|
], 64)),
|
|
29099
|
-
!(0, l.unref)(
|
|
29066
|
+
!(0, l.unref)(Gt).presenting.value && x.value.showCompatibilityToasts ? ((0, l.openBlock)(), (0, l.createBlock)(O, {
|
|
29100
29067
|
key: 4,
|
|
29101
|
-
toasts: (0, l.unref)(
|
|
29102
|
-
"overflow-count": (0, l.unref)(
|
|
29103
|
-
"right-inset":
|
|
29104
|
-
"bottom-inset":
|
|
29105
|
-
onDismiss: (0, l.unref)(
|
|
29106
|
-
onDismissAll: (0, l.unref)(
|
|
29068
|
+
toasts: (0, l.unref)(ze).visibleToasts.value,
|
|
29069
|
+
"overflow-count": (0, l.unref)(ze).overflowCount.value,
|
|
29070
|
+
"right-inset": Ko.value,
|
|
29071
|
+
"bottom-inset": jo.value,
|
|
29072
|
+
onDismiss: (0, l.unref)(ze).dismiss,
|
|
29073
|
+
onDismissAll: (0, l.unref)(ze).dismissAll
|
|
29107
29074
|
}, null, 8, [
|
|
29108
29075
|
"toasts",
|
|
29109
29076
|
"overflow-count",
|
|
@@ -29113,11 +29080,11 @@ var UG = ["aria-busy", "tabindex"], HG = {
|
|
|
29113
29080
|
"onDismissAll"
|
|
29114
29081
|
])) : (0, l.createCommentVNode)("", !0),
|
|
29115
29082
|
(0, l.createVNode)(U, {
|
|
29116
|
-
open: (0, l.unref)(
|
|
29117
|
-
title: (0, l.unref)(
|
|
29118
|
-
progress: (0, l.unref)(
|
|
29119
|
-
"status-message": (0, l.unref)(
|
|
29120
|
-
onCancel: (0, l.unref)(
|
|
29083
|
+
open: (0, l.unref)(Jt).exportModalOpen.value,
|
|
29084
|
+
title: (0, l.unref)(Jt).exportModalTitle.value,
|
|
29085
|
+
progress: (0, l.unref)(Jt).exportProgress.value,
|
|
29086
|
+
"status-message": (0, l.unref)(Jt).exportStatusMessage.value,
|
|
29087
|
+
onCancel: (0, l.unref)(Jt).cancelExport
|
|
29121
29088
|
}, null, 8, [
|
|
29122
29089
|
"open",
|
|
29123
29090
|
"title",
|
|
@@ -29126,31 +29093,31 @@ var UG = ["aria-busy", "tabindex"], HG = {
|
|
|
29126
29093
|
"onCancel"
|
|
29127
29094
|
]),
|
|
29128
29095
|
(0, l.createVNode)(LU, {
|
|
29129
|
-
"deck-views": (0, l.unref)(
|
|
29096
|
+
"deck-views": (0, l.unref)(nn),
|
|
29130
29097
|
"on-hyperlink-click": v.onHyperlinkClick,
|
|
29131
|
-
presentation: (0, l.unref)(
|
|
29132
|
-
"merged-slides": (0, l.unref)(
|
|
29133
|
-
"clipboard-templates": (0, l.unref)(
|
|
29134
|
-
slides: (0, l.unref)(
|
|
29135
|
-
"canvas-size": (0, l.unref)(
|
|
29136
|
-
"media-data-urls": (0, l.unref)(
|
|
29098
|
+
presentation: (0, l.unref)(Gt),
|
|
29099
|
+
"merged-slides": (0, l.unref)(lt),
|
|
29100
|
+
"clipboard-templates": (0, l.unref)(J),
|
|
29101
|
+
slides: (0, l.unref)(Q),
|
|
29102
|
+
"canvas-size": (0, l.unref)(ee),
|
|
29103
|
+
"media-data-urls": (0, l.unref)(te),
|
|
29137
29104
|
content: v.content,
|
|
29138
|
-
"active-slide-index": (0, l.unref)(
|
|
29139
|
-
"can-edit":
|
|
29140
|
-
"presentation-properties": (0, l.unref)(
|
|
29141
|
-
"custom-shows": (0, l.unref)(
|
|
29142
|
-
"authored-range":
|
|
29105
|
+
"active-slide-index": (0, l.unref)(Re),
|
|
29106
|
+
"can-edit": _e.value,
|
|
29107
|
+
"presentation-properties": (0, l.unref)(he),
|
|
29108
|
+
"custom-shows": (0, l.unref)(xe),
|
|
29109
|
+
"authored-range": So.value,
|
|
29143
29110
|
"end-with-black-slide": (0, l.unref)(M).advanced.slideShowEndWithBlackSlide,
|
|
29144
29111
|
"prompt-keep-ink-annotations": (0, l.unref)(M).advanced.slideShowPromptKeepInkAnnotations,
|
|
29145
29112
|
"show-menu-on-right-click": (0, l.unref)(M).advanced.slideShowShowMenuOnRightClick,
|
|
29146
29113
|
"show-popup-toolbar": (0, l.unref)(M).advanced.slideShowShowPopupToolbar,
|
|
29147
29114
|
"pixelate-mosaic-animation": (0, l.unref)(M).advanced.pixelateMosaicAnimation,
|
|
29148
|
-
"duplicate-slide": (0, l.unref)(
|
|
29149
|
-
"paste-slides": (0, l.unref)(
|
|
29150
|
-
"copy-system-slides": (e) => (0, l.unref)(
|
|
29151
|
-
"paste-system-slides": (e) => (0, l.unref)(
|
|
29152
|
-
"delete-slide": (0, l.unref)(
|
|
29153
|
-
"toggle-slide-hidden": (0, l.unref)(
|
|
29115
|
+
"duplicate-slide": (0, l.unref)(Rt).duplicateSlide,
|
|
29116
|
+
"paste-slides": (0, l.unref)(Rt).pasteSlides,
|
|
29117
|
+
"copy-system-slides": (e) => (0, l.unref)(ga).copy(e),
|
|
29118
|
+
"paste-system-slides": (e) => (0, l.unref)(ga).paste(e),
|
|
29119
|
+
"delete-slide": (0, l.unref)(Rt).deleteSlide,
|
|
29120
|
+
"toggle-slide-hidden": (0, l.unref)(rn)
|
|
29154
29121
|
}, null, 8, [
|
|
29155
29122
|
"deck-views",
|
|
29156
29123
|
"on-hyperlink-click",
|