pptx-vue-viewer 4.44.0 → 4.45.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +16 -0
- package/dist/{AiChatPanel-BGWwcF0k.js → AiChatPanel-BVnemARt.js} +2 -2
- package/dist/AiChatPanel-BVnemARt.js.br +0 -0
- package/dist/AiChatPanel-BVnemARt.js.gz +0 -0
- package/dist/{AiChatPanel-6BBi_4MF.cjs → AiChatPanel-Xiq2AsYX.cjs} +1 -1
- package/dist/AiChatPanel-Xiq2AsYX.cjs.br +0 -0
- package/dist/AiChatPanel-Xiq2AsYX.cjs.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 +13 -0
- package/dist/index.js +2 -2
- 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 +3 -0
- package/dist/internals.js +1 -1
- package/dist/internals.js.br +0 -0
- package/dist/internals.js.gz +0 -0
- package/dist/{useViewerSettingsDialog-ZrhB1hri.cjs → useViewerSettingsDialog-D6InSTG6.cjs} +136 -110
- package/dist/useViewerSettingsDialog-D6InSTG6.cjs.br +0 -0
- package/dist/{useViewerSettingsDialog-ZrhB1hri.cjs.gz → useViewerSettingsDialog-D6InSTG6.cjs.gz} +0 -0
- package/dist/{useViewerSettingsDialog-C8CtLKnI.js → useViewerSettingsDialog-DPG5VDMB.js} +2567 -2541
- package/dist/useViewerSettingsDialog-DPG5VDMB.js.br +0 -0
- package/dist/useViewerSettingsDialog-DPG5VDMB.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 +13 -0
- package/dist/viewer/index.js +2 -2
- package/dist/viewer/index.js.br +0 -0
- package/dist/viewer/index.js.gz +0 -0
- package/dist/{viewer-BwSDTF4b.js → viewer-CWgTBLKM.js} +6545 -6539
- package/dist/viewer-CWgTBLKM.js.br +0 -0
- package/dist/viewer-CWgTBLKM.js.gz +0 -0
- package/dist/{viewer-BZEPCKNP.cjs → viewer-v6sw9LNJ.cjs} +312 -306
- package/dist/viewer-v6sw9LNJ.cjs.br +0 -0
- package/dist/{viewer-BZEPCKNP.cjs.gz → viewer-v6sw9LNJ.cjs.gz} +0 -0
- package/dist/{y-webrtc-C6jlHQOv.cjs → y-webrtc-Cb8v01f2.cjs} +1 -1
- package/dist/y-webrtc-Cb8v01f2.cjs.br +0 -0
- package/dist/y-webrtc-Cb8v01f2.cjs.gz +0 -0
- package/dist/{y-webrtc-ugRXIsvG.js → y-webrtc-DDtmS1y0.js} +1 -1
- package/dist/y-webrtc-DDtmS1y0.js.br +0 -0
- package/dist/y-webrtc-DDtmS1y0.js.gz +0 -0
- package/package.json +3 -3
- package/dist/AiChatPanel-6BBi_4MF.cjs.br +0 -0
- package/dist/AiChatPanel-6BBi_4MF.cjs.gz +0 -0
- package/dist/AiChatPanel-BGWwcF0k.js.br +0 -0
- package/dist/AiChatPanel-BGWwcF0k.js.gz +0 -0
- package/dist/useViewerSettingsDialog-C8CtLKnI.js.br +0 -0
- package/dist/useViewerSettingsDialog-C8CtLKnI.js.gz +0 -0
- package/dist/useViewerSettingsDialog-ZrhB1hri.cjs.br +0 -0
- package/dist/viewer-BZEPCKNP.cjs.br +0 -0
- package/dist/viewer-BwSDTF4b.js.br +0 -0
- package/dist/viewer-BwSDTF4b.js.gz +0 -0
- package/dist/y-webrtc-C6jlHQOv.cjs.br +0 -0
- package/dist/y-webrtc-C6jlHQOv.cjs.gz +0 -0
- package/dist/y-webrtc-ugRXIsvG.js.br +0 -0
- package/dist/y-webrtc-ugRXIsvG.js.gz +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const e = require("./useViewerSettingsDialog-
|
|
1
|
+
const e = require("./useViewerSettingsDialog-D6InSTG6.cjs");
|
|
2
2
|
require("./i18n.cjs");
|
|
3
3
|
let t = require("ooxml-ui/pptx"), n = require("vue"), o = require("lucide-vue-next"), a = require("clsx"), l = require("tailwind-merge"), r = require("ooxml-ui/pptx/ai"), i = require("ooxml-ui/pptx/i18n");
|
|
4
4
|
var s = Symbol("pptx-viewer-theme");
|
|
@@ -2791,7 +2791,7 @@ var ro = [".state"], io = (0, n.defineComponent)({
|
|
|
2791
2791
|
onDrawRequest: i
|
|
2792
2792
|
}, null, 40, ro));
|
|
2793
2793
|
}
|
|
2794
|
-
}), so = "4.
|
|
2794
|
+
}), so = "4.45.0", co = Symbol("pptx-account-auth");
|
|
2795
2795
|
var po = { class: "pptx-vue-account mt-8 flex max-w-[760px] flex-col gap-6" }, uo = { class: "pptx-vue-account-section border border-border bg-card p-6 text-card-foreground" }, mo = { class: "text-base font-semibold" }, vo = { class: "mt-4 flex items-center gap-4" }, fo = { class: "min-w-0 flex-1" }, go = { class: "block text-xs font-medium text-muted-foreground" }, xo = ["value", "placeholder"], yo = { class: "mt-4" }, ho = { class: "block text-xs font-medium text-muted-foreground" }, bo = { class: "mt-2 flex gap-2" }, ko = [
|
|
2796
2796
|
"aria-pressed",
|
|
2797
2797
|
"aria-label",
|
|
@@ -24819,7 +24819,7 @@ var wG = (0, n.defineComponent)({
|
|
|
24819
24819
|
var a;
|
|
24820
24820
|
}), 128))])], 8, xK))), 128))])) : ((0, n.openBlock)(), (0, n.createElementBlock)("div", mK, [(0, n.createElementVNode)("p", vK, (0, n.toDisplayString)((0, n.unref)(i)("pptx.accessibility.noIssuesFound")), 1), (0, n.createElementVNode)("p", fK, (0, n.toDisplayString)((0, n.unref)(i)("pptx.accessibility.noIssuesHint")), 1)]))], 8, cK));
|
|
24821
24821
|
}
|
|
24822
|
-
}), BK = (0, n.defineAsyncComponent)(() => Promise.resolve().then(() => require("./AiChatPanel-
|
|
24822
|
+
}), BK = (0, n.defineAsyncComponent)(() => Promise.resolve().then(() => require("./AiChatPanel-Xiq2AsYX.cjs"))), NK = { class: "pptx-vue-custom-shows flex flex-col gap-2 p-2.5 text-xs text-foreground" }, VK = { class: "pptx-vue-cs-header flex items-center" }, TK = { class: "pptx-vue-cs-title m-0 text-[13px] font-semibold" }, FK = { class: "pptx-vue-cs-list-row flex items-center gap-1.5" }, PK = ["aria-label", "value"], DK = {
|
|
24823
24823
|
key: 0,
|
|
24824
24824
|
value: "",
|
|
24825
24825
|
disabled: ""
|
|
@@ -26451,6 +26451,7 @@ var aj = ["aria-busy", "tabindex"], lj = {
|
|
|
26451
26451
|
"selection-change",
|
|
26452
26452
|
"start-collaboration",
|
|
26453
26453
|
"stop-collaboration",
|
|
26454
|
+
"collaboration-change",
|
|
26454
26455
|
"load",
|
|
26455
26456
|
"error"
|
|
26456
26457
|
],
|
|
@@ -26540,12 +26541,12 @@ var aj = ["aria-busy", "tabindex"], lj = {
|
|
|
26540
26541
|
getPendingInlineEdit: () => {
|
|
26541
26542
|
if (!ke.value) return;
|
|
26542
26543
|
const e = it.value?.readInlineSnapshot();
|
|
26543
|
-
if (
|
|
26544
|
+
if (lo.showMasterView.value && e) return {
|
|
26544
26545
|
snapshot: e,
|
|
26545
26546
|
target: { masterView: {
|
|
26546
|
-
tab:
|
|
26547
|
-
masterIndex:
|
|
26548
|
-
layoutIndex:
|
|
26547
|
+
tab: lo.masterViewTab.value,
|
|
26548
|
+
masterIndex: lo.activeMasterIndex.value,
|
|
26549
|
+
layoutIndex: lo.activeLayoutIndex.value
|
|
26549
26550
|
} }
|
|
26550
26551
|
};
|
|
26551
26552
|
if (rt.isInlineInputPending()) throw new Error("Finish the current text input before saving.");
|
|
@@ -26564,7 +26565,7 @@ var aj = ["aria-busy", "tabindex"], lj = {
|
|
|
26564
26565
|
passwordProtected: E.isPasswordProtected.value
|
|
26565
26566
|
}),
|
|
26566
26567
|
getAllowExternalImages: () => C.value.trust.allowExternalContent,
|
|
26567
|
-
getEmbedFonts: () =>
|
|
26568
|
+
getEmbedFonts: () => qn.embedFontsEnabled.value
|
|
26568
26569
|
}), { slides: R, templateElementsBySlideId: L, canvasSize: U, mediaDataUrls: H, loading: G, error: K, isEncrypted: $, coreProperties: W, customProperties: q, modifyVerifier: Y, compatibilityWarnings: X, appProperties: Z, tagCollections: Q, signatures: J, tableStyleMap: ee, slideMasters: te, sections: ne, customShows: oe, modernCommentAuthors: ae, presentationProperties: le, viewProperties: re, headerFooter: ie, notesMaster: se, handoutMaster: ce, theme: de, themeColorMap: pe, handler: me, getContent: ve, getRecoverySnapshot: fe } = z, ge = (0, n.ref)(!1), xe = (0, n.computed)(() => (0, t.shouldOpenInProtectedView)(C.value) && !ge.value), ye = function(e) {
|
|
26569
26570
|
const o = (0, n.ref)(!1), a = (0, n.ref)(!1), l = (0, n.ref)(!1), r = (0, n.ref)(null), i = (0, n.ref)(!1), s = (0, n.computed)(() => (0, t.readOnlyRecommendation)({
|
|
26570
26571
|
modifyVerifier: e.modifyVerifier.value,
|
|
@@ -27125,8 +27126,8 @@ var aj = ["aria-busy", "tabindex"], lj = {
|
|
|
27125
27126
|
slides: R,
|
|
27126
27127
|
activeSlideIndex: Be,
|
|
27127
27128
|
customShows: oe,
|
|
27128
|
-
activeCustomShowId: () =>
|
|
27129
|
-
authoredRange: () =>
|
|
27129
|
+
activeCustomShowId: () => no.activeCustomShowId.value,
|
|
27130
|
+
authoredRange: () => oo.value,
|
|
27130
27131
|
pushHistory: We.pushHistory
|
|
27131
27132
|
});
|
|
27132
27133
|
e.useChartCanvasEditContext({
|
|
@@ -27413,7 +27414,7 @@ var aj = ["aria-busy", "tabindex"], lj = {
|
|
|
27413
27414
|
snapshotName: () => d.filePath ?? d.fileName ?? "Untitled Presentation",
|
|
27414
27415
|
getRecoverySnapshot: fe,
|
|
27415
27416
|
emitAutosave: (e) => m("autosave", e),
|
|
27416
|
-
captureVersion: (e, t) =>
|
|
27417
|
+
captureVersion: (e, t) => to.versionHistory.capture(e, t)
|
|
27417
27418
|
}), Rn = function(e) {
|
|
27418
27419
|
const o = (0, n.ref)(null), a = (0, n.ref)(!1);
|
|
27419
27420
|
let l = null, r = !1, i = !1;
|
|
@@ -27610,9 +27611,9 @@ var aj = ["aria-busy", "tabindex"], lj = {
|
|
|
27610
27611
|
tableStyleMap: ee.value,
|
|
27611
27612
|
tableStylesDefaultId: z.tableStylesDefaultId.value,
|
|
27612
27613
|
tableStylesToDelete: z.tableStylesToDelete.value,
|
|
27613
|
-
embedFonts:
|
|
27614
|
+
embedFonts: qn.embedFontsEnabled.value
|
|
27614
27615
|
}),
|
|
27615
|
-
initialUserColor: d.collaboration?.userColor,
|
|
27616
|
+
initialUserColor: (0, t.resolveCollaborationConfig)(d.collaboration)?.userColor,
|
|
27616
27617
|
canvasWidth: (0, n.computed)(() => U.value.width),
|
|
27617
27618
|
canvasHeight: (0, n.computed)(() => U.value.height),
|
|
27618
27619
|
collaborationProp: () => d.collaboration,
|
|
@@ -27630,36 +27631,41 @@ var aj = ["aria-busy", "tabindex"], lj = {
|
|
|
27630
27631
|
immediate: !0,
|
|
27631
27632
|
flush: "sync"
|
|
27632
27633
|
});
|
|
27633
|
-
const $n =
|
|
27634
|
+
const $n = (0, t.createCollaborationStateReporter)((e) => m("collaboration-change", e));
|
|
27635
|
+
(0, n.watch)(Kn.collab.state, (e) => $n.update(e), {
|
|
27636
|
+
immediate: !0,
|
|
27637
|
+
flush: "sync"
|
|
27638
|
+
});
|
|
27639
|
+
const jn = e.useSignatureWorkflow({
|
|
27634
27640
|
signatures: J,
|
|
27635
27641
|
isDirty: Dn.isDirty
|
|
27636
|
-
}),
|
|
27642
|
+
}), Wn = e.useSlideShowSettings({ presentationProperties: le }), qn = e.useFontEmbedding({
|
|
27637
27643
|
slides: R,
|
|
27638
27644
|
embeddedFonts: z.embeddedFonts
|
|
27639
|
-
}),
|
|
27640
|
-
function
|
|
27641
|
-
|
|
27645
|
+
}), Yn = (0, n.ref)([]);
|
|
27646
|
+
function Zn(e) {
|
|
27647
|
+
Yn.value.includes(e) || (Yn.value = [...Yn.value, e]);
|
|
27642
27648
|
}
|
|
27643
|
-
const
|
|
27649
|
+
const Qn = e.useSelectionPaneWiring({
|
|
27644
27650
|
findActiveElement: Ge,
|
|
27645
27651
|
activeSlide: Ve,
|
|
27646
27652
|
selectedElementIds: Le,
|
|
27647
27653
|
ops: qe
|
|
27648
|
-
}),
|
|
27654
|
+
}), Jn = e.useDocumentPropertiesDialog({
|
|
27649
27655
|
coreProperties: W,
|
|
27650
27656
|
customProperties: q,
|
|
27651
27657
|
appProperties: Z
|
|
27652
|
-
}),
|
|
27658
|
+
}), eo = e.useHeaderFooterDialog({ headerFooter: ie }), to = e.useVersionHistoryWiring({
|
|
27653
27659
|
slides: R,
|
|
27654
27660
|
pushHistory: We.pushHistory
|
|
27655
|
-
}),
|
|
27661
|
+
}), no = e.useCustomShowsWiring({
|
|
27656
27662
|
customShows: oe,
|
|
27657
27663
|
slides: R,
|
|
27658
27664
|
activeSlideIndex: Be,
|
|
27659
27665
|
activeSlide: Ve,
|
|
27660
27666
|
presentationProperties: le,
|
|
27661
27667
|
pushHistory: We.pushHistory
|
|
27662
|
-
}),
|
|
27668
|
+
}), oo = (0, n.computed)(() => (0, t.resolveAuthoredSlideRange)(le.value, R.value.length) ?? null), lo = function(o) {
|
|
27663
27669
|
const a = e.useMasterViewState();
|
|
27664
27670
|
function l() {
|
|
27665
27671
|
return {
|
|
@@ -27735,30 +27741,30 @@ var aj = ["aria-busy", "tabindex"], lj = {
|
|
|
27735
27741
|
markDirty: () => {
|
|
27736
27742
|
Dn.isDirty.value = !0;
|
|
27737
27743
|
}
|
|
27738
|
-
}),
|
|
27744
|
+
}), ro = X$({
|
|
27739
27745
|
handler: me,
|
|
27740
27746
|
slideMasters: te,
|
|
27741
27747
|
deckData: () => $$(z),
|
|
27742
27748
|
target: () => ({
|
|
27743
|
-
tab:
|
|
27744
|
-
masterIndex:
|
|
27745
|
-
layoutIndex:
|
|
27749
|
+
tab: lo.masterViewTab.value,
|
|
27750
|
+
masterIndex: lo.activeMasterIndex.value,
|
|
27751
|
+
layoutIndex: lo.activeLayoutIndex.value
|
|
27746
27752
|
}),
|
|
27747
|
-
onSelectMaster:
|
|
27748
|
-
onSelectLayout:
|
|
27753
|
+
onSelectMaster: lo.onSelectMaster,
|
|
27754
|
+
onSelectLayout: lo.onSelectLayout,
|
|
27749
27755
|
markDirty: () => {
|
|
27750
27756
|
Dn.isDirty.value = !0;
|
|
27751
27757
|
},
|
|
27752
27758
|
pushHistory: We.pushHistory
|
|
27753
|
-
}),
|
|
27759
|
+
}), io = e.useSectionOperations({
|
|
27754
27760
|
sections: ne,
|
|
27755
27761
|
slides: R,
|
|
27756
27762
|
activeSlideIndex: Be,
|
|
27757
27763
|
pushHistory: We.pushHistory
|
|
27758
|
-
}),
|
|
27759
|
-
const
|
|
27764
|
+
}), so = (0, n.computed)(() => ne.value.length > 0);
|
|
27765
|
+
const po = (0, n.ref)(null);
|
|
27760
27766
|
(0, n.watchEffect)((e) => {
|
|
27761
|
-
const n =
|
|
27767
|
+
const n = po.value, o = ke.value;
|
|
27762
27768
|
n && e((0, t.attachViewerHyperlinks)(n, {
|
|
27763
27769
|
getState: () => ({
|
|
27764
27770
|
slide: $e.value[Be.value],
|
|
@@ -27772,13 +27778,13 @@ var aj = ["aria-busy", "tabindex"], lj = {
|
|
|
27772
27778
|
confirmExternalHyperlink: (e) => !(0, t.shouldConfirmExternalHyperlink)(C.value, e) || window.confirm(`${g("pptx.options.trust.confirmHyperlinks")}\n\n${e}`)
|
|
27773
27779
|
}));
|
|
27774
27780
|
}, { flush: "post" });
|
|
27775
|
-
const { isMobile:
|
|
27781
|
+
const { isMobile: uo, isTouchDevice: mo } = e.useIsMobile(768), { keyboardInset: vo } = e.useKeyboardInsets(), fo = (0, n.ref)(null), go = (0, n.ref)(null);
|
|
27776
27782
|
e.useTouchGestures({
|
|
27777
|
-
targetRef:
|
|
27783
|
+
targetRef: fo,
|
|
27778
27784
|
currentScale: De,
|
|
27779
27785
|
minScale: t.MIN_ZOOM_SCALE,
|
|
27780
27786
|
maxScale: t.MAX_ZOOM_SCALE,
|
|
27781
|
-
enabled:
|
|
27787
|
+
enabled: mo,
|
|
27782
27788
|
callbacks: {
|
|
27783
27789
|
onPinchZoom: (e) => {
|
|
27784
27790
|
De.value = Number(e.toFixed(2));
|
|
@@ -27795,13 +27801,13 @@ var aj = ["aria-busy", "tabindex"], lj = {
|
|
|
27795
27801
|
}
|
|
27796
27802
|
}
|
|
27797
27803
|
});
|
|
27798
|
-
const
|
|
27804
|
+
const xo = e.useMobileChrome({ presenting: Vt.presenting }), yo = e.useRibbonActions({
|
|
27799
27805
|
readInlineSnapshot: rt.readInlineSnapshot,
|
|
27800
27806
|
formatInlineSnapshot: rt.formatInlineSnapshot,
|
|
27801
27807
|
endInlineListSession: rt.endInlineListSession,
|
|
27802
27808
|
canEdit: () => ke.value,
|
|
27803
27809
|
presenting: Vt.presenting,
|
|
27804
|
-
showMasterView:
|
|
27810
|
+
showMasterView: lo.showMasterView,
|
|
27805
27811
|
tableSelection: Ce,
|
|
27806
27812
|
selectedElements: Ke,
|
|
27807
27813
|
selectedElementIds: Le,
|
|
@@ -27810,11 +27816,11 @@ var aj = ["aria-busy", "tabindex"], lj = {
|
|
|
27810
27816
|
slides: R,
|
|
27811
27817
|
pushHistory: We.pushHistory,
|
|
27812
27818
|
ops: qe
|
|
27813
|
-
}), { ribbonMode:
|
|
27814
|
-
(0, n.watch)(
|
|
27819
|
+
}), { ribbonMode: ho, ribbonUpdateTextStyle: bo, ribbonMoveToEdge: ko } = yo;
|
|
27820
|
+
(0, n.watch)(ho, (e) => {
|
|
27815
27821
|
m("mode-change", e);
|
|
27816
27822
|
});
|
|
27817
|
-
const { showShortcuts:
|
|
27823
|
+
const { showShortcuts: So, onEditorKeydown: Eo, copySelected: wo, cutSelected: Co, selectAllElements: Bo } = e.useEditorKeyboard({
|
|
27818
27824
|
canEdit: () => ke.value,
|
|
27819
27825
|
canPaste: () => Ct.hasClipboard.value && Boolean(Ve.value),
|
|
27820
27826
|
hasSelection: Re.hasSelection,
|
|
@@ -27846,22 +27852,22 @@ var aj = ["aria-busy", "tabindex"], lj = {
|
|
|
27846
27852
|
activeTool: () => dn.value,
|
|
27847
27853
|
selectedElements: Ke,
|
|
27848
27854
|
selectElement: Re.selectElement,
|
|
27849
|
-
ribbonUpdateTextStyle:
|
|
27855
|
+
ribbonUpdateTextStyle: bo,
|
|
27850
27856
|
addSlide: () => wt.addSlide(),
|
|
27851
27857
|
openHyperlinkForSelection: Ft.openHyperlinkForSelection,
|
|
27852
27858
|
toggleFormatPainter: ot,
|
|
27853
27859
|
applyFormatToTarget: lt,
|
|
27854
27860
|
cancelFormatPainter: at,
|
|
27855
27861
|
customization: () => B.resolved.value
|
|
27856
|
-
}),
|
|
27862
|
+
}), No = (0, n.computed)(() => uo.value || !mn.value && !Je.value ? 0 : t.INSPECTOR_PANEL_DEFAULT_WIDTH), Vo = (0, n.ref)(null), To = (0, n.ref)(0);
|
|
27857
27863
|
(0, n.watchEffect)((e) => {
|
|
27858
|
-
const n =
|
|
27859
|
-
if (!(n instanceof HTMLElement)) return void (
|
|
27864
|
+
const n = Vo.value?.$el;
|
|
27865
|
+
if (!(n instanceof HTMLElement)) return void (To.value = 0);
|
|
27860
27866
|
const o = (0, t.observeElementHeight)(n, (e) => {
|
|
27861
|
-
|
|
27867
|
+
To.value = e;
|
|
27862
27868
|
});
|
|
27863
27869
|
e(() => {
|
|
27864
|
-
o(),
|
|
27870
|
+
o(), To.value = 0;
|
|
27865
27871
|
});
|
|
27866
27872
|
}), function(e) {
|
|
27867
27873
|
const { viewProperties: o, loadVersion: a, snapToGrid: l, snapToObjects: r, showGuides: i } = e;
|
|
@@ -27904,7 +27910,7 @@ var aj = ["aria-busy", "tabindex"], lj = {
|
|
|
27904
27910
|
snapToObjects: vt.snapToShape,
|
|
27905
27911
|
showGuides: hn
|
|
27906
27912
|
});
|
|
27907
|
-
const
|
|
27913
|
+
const Fo = (0, n.ref)(!1), Po = (0, n.computed)(() => (0, t.resolveOptionRootClasses)(C.value, "pptx-vue")), Do = (0, n.computed)(() => (0, t.resolve3DRenderingFlags)({
|
|
27908
27914
|
smartArt3D: d.smartArt3D,
|
|
27909
27915
|
surfaceChart3D: d.surfaceChart3D,
|
|
27910
27916
|
barChart3D: d.barChart3D,
|
|
@@ -27912,21 +27918,21 @@ var aj = ["aria-busy", "tabindex"], lj = {
|
|
|
27912
27918
|
areaChart3D: d.areaChart3D,
|
|
27913
27919
|
pieChart3D: d.pieChart3D
|
|
27914
27920
|
}, C.value));
|
|
27915
|
-
(0, n.provide)(e.Rendering3DFlagsKey,
|
|
27916
|
-
const
|
|
27917
|
-
smartArt3d:
|
|
27921
|
+
(0, n.provide)(e.Rendering3DFlagsKey, Do);
|
|
27922
|
+
const Io = (0, n.computed)(() => ({
|
|
27923
|
+
smartArt3d: Do.value.smartArt3D,
|
|
27918
27924
|
collaboration: Kn.collabActive.value
|
|
27919
|
-
})), { showSettings:
|
|
27925
|
+
})), { showSettings: Ao } = e.useViewerSettingsDialog({
|
|
27920
27926
|
autoSave: In,
|
|
27921
27927
|
spellCheck: bn,
|
|
27922
27928
|
showGrid: xn,
|
|
27923
27929
|
showRulers: yn,
|
|
27924
27930
|
snapToGrid: vt.snapToGrid,
|
|
27925
|
-
reducedMotion:
|
|
27931
|
+
reducedMotion: Fo,
|
|
27926
27932
|
optionsStore: w,
|
|
27927
27933
|
viewerOptions: C
|
|
27928
27934
|
});
|
|
27929
|
-
function
|
|
27935
|
+
function _o() {
|
|
27930
27936
|
(async () => {
|
|
27931
27937
|
try {
|
|
27932
27938
|
const e = await (0, t.listAutosaveSnapshots)();
|
|
@@ -27934,8 +27940,8 @@ var aj = ["aria-busy", "tabindex"], lj = {
|
|
|
27934
27940
|
} catch {}
|
|
27935
27941
|
})();
|
|
27936
27942
|
}
|
|
27937
|
-
function
|
|
27938
|
-
(0, t.shouldClearAutosaveCacheOnClose)(C.value) &&
|
|
27943
|
+
function zo() {
|
|
27944
|
+
(0, t.shouldClearAutosaveCacheOnClose)(C.value) && _o();
|
|
27939
27945
|
}
|
|
27940
27946
|
(0, n.onMounted)(() => {
|
|
27941
27947
|
(async () => {
|
|
@@ -27944,17 +27950,17 @@ var aj = ["aria-busy", "tabindex"], lj = {
|
|
|
27944
27950
|
await Promise.all(n.map((e) => (0, t.deleteAutosaveSnapshot)(e)));
|
|
27945
27951
|
} catch {}
|
|
27946
27952
|
})();
|
|
27947
|
-
}), "undefined" != typeof window && window.addEventListener("beforeunload",
|
|
27948
|
-
"undefined" != typeof window && window.removeEventListener("beforeunload",
|
|
27953
|
+
}), "undefined" != typeof window && window.addEventListener("beforeunload", zo), (0, n.onBeforeUnmount)(() => {
|
|
27954
|
+
"undefined" != typeof window && window.removeEventListener("beforeunload", zo), zo();
|
|
27949
27955
|
});
|
|
27950
|
-
const { drawingActive:
|
|
27956
|
+
const { drawingActive: Mo, addInkStroke: Oo, eraseInkAt: Ro } = e.useInkDrawing({
|
|
27951
27957
|
canEdit: () => ke.value,
|
|
27952
27958
|
presenting: Vt.presenting,
|
|
27953
27959
|
activeTool: dn,
|
|
27954
27960
|
activeSlide: Ve,
|
|
27955
27961
|
selectedElementIds: Le,
|
|
27956
27962
|
ops: qe
|
|
27957
|
-
}),
|
|
27963
|
+
}), Lo = e.useThemeEditing({
|
|
27958
27964
|
handler: me,
|
|
27959
27965
|
slides: R,
|
|
27960
27966
|
pptxTheme: de,
|
|
@@ -27964,9 +27970,9 @@ var aj = ["aria-busy", "tabindex"], lj = {
|
|
|
27964
27970
|
themeEditorOpen: Sn,
|
|
27965
27971
|
templateElementsBySlideId: L
|
|
27966
27972
|
});
|
|
27967
|
-
function
|
|
27973
|
+
function Uo(e) {
|
|
27968
27974
|
const t = de.value, n = e.colorScheme ?? t?.colorScheme;
|
|
27969
|
-
n &&
|
|
27975
|
+
n && Lo.applyTheme(n, e.fontScheme ?? t?.fontScheme, e.name ?? t?.name ?? "Theme");
|
|
27970
27976
|
}
|
|
27971
27977
|
(function(e) {
|
|
27972
27978
|
const o = (0, n.computed)(() => {
|
|
@@ -28056,9 +28062,9 @@ var aj = ["aria-busy", "tabindex"], lj = {
|
|
|
28056
28062
|
handler: me,
|
|
28057
28063
|
tableSelection: () => Ce.value,
|
|
28058
28064
|
updateElement: (e, t) => qe.updateElement(e, t),
|
|
28059
|
-
applyTheme:
|
|
28065
|
+
applyTheme: Uo
|
|
28060
28066
|
});
|
|
28061
|
-
const
|
|
28067
|
+
const Ho = function(t) {
|
|
28062
28068
|
const n = (n, o) => {
|
|
28063
28069
|
t.pushHistory(), t.slides.value = n(t.slides.value.map(e.dist_exports.cloneSlide)), t.markDirty();
|
|
28064
28070
|
}, o = () => ({
|
|
@@ -28163,13 +28169,13 @@ var aj = ["aria-busy", "tabindex"], lj = {
|
|
|
28163
28169
|
setSelection: (e) => {
|
|
28164
28170
|
Le.value = e;
|
|
28165
28171
|
},
|
|
28166
|
-
applyThemeUpdates:
|
|
28172
|
+
applyThemeUpdates: Uo,
|
|
28167
28173
|
selectedElementIds: () => Le.value,
|
|
28168
28174
|
pinnedFocus: () => et.pinnedFocus.value,
|
|
28169
28175
|
pickedFocus: () => et.pickTargets.value
|
|
28170
|
-
}),
|
|
28176
|
+
}), Go = (Ko = {
|
|
28171
28177
|
canEdit: () => ke.value,
|
|
28172
|
-
isMobile:
|
|
28178
|
+
isMobile: uo,
|
|
28173
28179
|
zoom: De,
|
|
28174
28180
|
zoomIn: _e,
|
|
28175
28181
|
zoomOut: ze,
|
|
@@ -28178,11 +28184,11 @@ var aj = ["aria-busy", "tabindex"], lj = {
|
|
|
28178
28184
|
activeSlide: Ve,
|
|
28179
28185
|
activeSlideIndex: Be,
|
|
28180
28186
|
showA11y: Ht,
|
|
28181
|
-
showShortcuts:
|
|
28182
|
-
showSettings:
|
|
28187
|
+
showShortcuts: So,
|
|
28188
|
+
showSettings: Ao,
|
|
28183
28189
|
deck: z,
|
|
28184
|
-
embeddedFontFamilies:
|
|
28185
|
-
customFontFamilies:
|
|
28190
|
+
embeddedFontFamilies: qn.embeddedFontNames,
|
|
28191
|
+
customFontFamilies: Yn,
|
|
28186
28192
|
ui: cn,
|
|
28187
28193
|
selection: Re,
|
|
28188
28194
|
history: We,
|
|
@@ -28200,8 +28206,8 @@ var aj = ["aria-busy", "tabindex"], lj = {
|
|
|
28200
28206
|
editing: {
|
|
28201
28207
|
clipboard: Ct.clipboard,
|
|
28202
28208
|
pasteElement: Nt,
|
|
28203
|
-
copySelected:
|
|
28204
|
-
cutSelected:
|
|
28209
|
+
copySelected: wo,
|
|
28210
|
+
cutSelected: Co,
|
|
28205
28211
|
formatPainterActive: tt,
|
|
28206
28212
|
canActivateFormatPainter: nt,
|
|
28207
28213
|
toggleFormatPainter: ot,
|
|
@@ -28222,13 +28228,13 @@ var aj = ["aria-busy", "tabindex"], lj = {
|
|
|
28222
28228
|
onApplyTransitionToAll: qt
|
|
28223
28229
|
},
|
|
28224
28230
|
slideCommands: {
|
|
28225
|
-
addSection:
|
|
28231
|
+
addSection: io.addSection,
|
|
28226
28232
|
defaultSectionName: () => g("pptx.sections.defaultName"),
|
|
28227
|
-
selectAllElements:
|
|
28233
|
+
selectAllElements: Bo,
|
|
28228
28234
|
clearSelection: je
|
|
28229
28235
|
},
|
|
28230
28236
|
presentationProperties: le,
|
|
28231
|
-
ribbonActions:
|
|
28237
|
+
ribbonActions: yo,
|
|
28232
28238
|
drag: vt,
|
|
28233
28239
|
insertion: ft,
|
|
28234
28240
|
templateInsertion: yt,
|
|
@@ -28239,16 +28245,16 @@ var aj = ["aria-busy", "tabindex"], lj = {
|
|
|
28239
28245
|
deckViews: Ut,
|
|
28240
28246
|
comments: Gn,
|
|
28241
28247
|
collaboration: Kn,
|
|
28242
|
-
customShows:
|
|
28243
|
-
versionHistory:
|
|
28244
|
-
documentProperties:
|
|
28245
|
-
fontEmbedding:
|
|
28246
|
-
signatureWorkflow:
|
|
28247
|
-
selectionPane:
|
|
28248
|
-
slideShow:
|
|
28248
|
+
customShows: no,
|
|
28249
|
+
versionHistory: to,
|
|
28250
|
+
documentProperties: Jn,
|
|
28251
|
+
fontEmbedding: qn,
|
|
28252
|
+
signatureWorkflow: jn,
|
|
28253
|
+
selectionPane: Qn,
|
|
28254
|
+
slideShow: Wn,
|
|
28249
28255
|
password: E,
|
|
28250
|
-
masterView:
|
|
28251
|
-
headerFooterDialog:
|
|
28256
|
+
masterView: lo,
|
|
28257
|
+
headerFooterDialog: eo,
|
|
28252
28258
|
handleOpenFile: b.handleOpenFile,
|
|
28253
28259
|
handleOpenRecentFile: b.handleOpenRecentFile,
|
|
28254
28260
|
createPresentation: function(e) {
|
|
@@ -28258,146 +28264,146 @@ var aj = ["aria-busy", "tabindex"], lj = {
|
|
|
28258
28264
|
const n = await (0, t.openPptxFile)();
|
|
28259
28265
|
if (!n) return;
|
|
28260
28266
|
const o = await new e.dist_exports.PptxHandler().load(n.buffer, { allowExternalImages: C.value.trust.allowExternalContent });
|
|
28261
|
-
o &&
|
|
28267
|
+
o && to.compareWithSlides(o.slides);
|
|
28262
28268
|
}
|
|
28263
28269
|
}, e.useRibbonProps({
|
|
28264
|
-
ribbonMode:
|
|
28265
|
-
canEdit:
|
|
28266
|
-
isMobile:
|
|
28267
|
-
sidebarCollapsed:
|
|
28268
|
-
inspectorOpen:
|
|
28269
|
-
ribbonExpanded:
|
|
28270
|
-
toolbarSection:
|
|
28271
|
-
zoom:
|
|
28272
|
-
canUndo:
|
|
28273
|
-
canRedo:
|
|
28274
|
-
findOpen:
|
|
28275
|
-
selectedElements:
|
|
28276
|
-
activeTableSelection:
|
|
28277
|
-
editTemplateMode:
|
|
28278
|
-
newShapeType:
|
|
28279
|
-
activeTool:
|
|
28280
|
-
drawingColor:
|
|
28281
|
-
drawingWidth:
|
|
28282
|
-
clipboard:
|
|
28283
|
-
spellCheckEnabled:
|
|
28284
|
-
showGrid:
|
|
28285
|
-
showRulers:
|
|
28286
|
-
showGuides:
|
|
28287
|
-
snapToGrid:
|
|
28288
|
-
snapToShape:
|
|
28289
|
-
overflowOpen:
|
|
28290
|
-
layoutOptions:
|
|
28291
|
-
embeddedFontFamilies:
|
|
28292
|
-
customFontFamilies:
|
|
28293
|
-
theme:
|
|
28294
|
-
customShows:
|
|
28295
|
-
activeCustomShowId:
|
|
28296
|
-
isCurrentSlideInActiveShow:
|
|
28297
|
-
themeEditorOpen:
|
|
28298
|
-
themeGalleryOpen:
|
|
28299
|
-
eyedropperActive:
|
|
28300
|
-
showComments:
|
|
28301
|
-
activeComments:
|
|
28302
|
-
reviewComments:
|
|
28303
|
-
formatPainterActive:
|
|
28304
|
-
canActivateFormatPainter:
|
|
28305
|
-
showSelectionPane:
|
|
28306
|
-
showSubtitles:
|
|
28307
|
-
activeSlide:
|
|
28308
|
-
activeSlideIndex:
|
|
28309
|
-
toggleSlideHidden:
|
|
28310
|
-
presentationProperties:
|
|
28311
|
-
presenting:
|
|
28312
|
-
canDistribute:
|
|
28313
|
-
shareOpen:
|
|
28314
|
-
showShortcuts:
|
|
28315
|
-
showSettings:
|
|
28316
|
-
showHeaderFooter:
|
|
28317
|
-
showA11y:
|
|
28318
|
-
showSorter:
|
|
28319
|
-
showReadingView:
|
|
28320
|
-
showOutlineView:
|
|
28321
|
-
showCustomShows:
|
|
28322
|
-
showVersionHistory:
|
|
28323
|
-
showPasswordDialog:
|
|
28324
|
-
propertiesOpen:
|
|
28325
|
-
showFontEmbedding:
|
|
28326
|
-
showSignatures:
|
|
28327
|
-
showMasterView:
|
|
28328
|
-
showSetUpSlideShow:
|
|
28329
|
-
broadcastOpen:
|
|
28330
|
-
showInsertSmartArt:
|
|
28331
|
-
showEquationEditor:
|
|
28332
|
-
collab:
|
|
28333
|
-
startPresenting:
|
|
28334
|
-
presentFromBeginning:
|
|
28335
|
-
startPresenterView:
|
|
28336
|
-
startRehearsal:
|
|
28337
|
-
compareWithPresentation:
|
|
28338
|
-
onAddAnimation:
|
|
28339
|
-
onRemoveAnimation:
|
|
28340
|
-
zoomIn:
|
|
28341
|
-
zoomOut:
|
|
28342
|
-
zoomReset:
|
|
28343
|
-
undo:
|
|
28344
|
-
redo:
|
|
28345
|
-
addText:
|
|
28346
|
-
addShape:
|
|
28347
|
-
addTable:
|
|
28348
|
-
addChart:
|
|
28349
|
-
addField:
|
|
28350
|
-
addActionButton:
|
|
28351
|
-
openImagePicker:
|
|
28352
|
-
openMediaPicker:
|
|
28353
|
-
addGuide:
|
|
28354
|
-
onAlign:
|
|
28355
|
-
onDistribute:
|
|
28356
|
-
copySelected:
|
|
28357
|
-
cutSelected:
|
|
28358
|
-
pasteElement:
|
|
28359
|
-
ribbonFlip:
|
|
28360
|
-
bringForward:
|
|
28361
|
-
sendBackward:
|
|
28362
|
-
ribbonMoveToEdge:
|
|
28363
|
-
onGroup:
|
|
28364
|
-
onUngroup:
|
|
28365
|
-
updateSelectedShapeStyle:
|
|
28366
|
-
openHyperlinkForSelection:
|
|
28367
|
-
duplicateSelected:
|
|
28368
|
-
deleteSelected:
|
|
28369
|
-
handleOpenFile:
|
|
28370
|
-
handleOpenRecentFile:
|
|
28371
|
-
createPresentation:
|
|
28372
|
-
onExportPng:
|
|
28373
|
-
onExportPdf:
|
|
28374
|
-
onExportWebm:
|
|
28375
|
-
onExportGif:
|
|
28376
|
-
onExportJson:
|
|
28377
|
-
downloadAs:
|
|
28378
|
-
onCopySlideAsImage:
|
|
28379
|
-
openPrintDialog:
|
|
28380
|
-
ribbonUpdateTextStyle:
|
|
28381
|
-
ribbonUpdateTextCase:
|
|
28382
|
-
insertSlideFromLayout:
|
|
28383
|
-
applyLayoutToActiveSlide:
|
|
28384
|
-
loadLayoutPreviews:
|
|
28385
|
-
insertSlideFromTemplate:
|
|
28386
|
-
onRenameActiveCustomShow:
|
|
28387
|
-
onDeleteActiveCustomShow:
|
|
28388
|
-
onToggleCurrentSlideInActiveShow:
|
|
28389
|
-
toggleFormatPainter:
|
|
28390
|
-
onToggleSubtitles:
|
|
28391
|
-
onTransitionChange:
|
|
28392
|
-
onApplyTransitionToAll:
|
|
28393
|
-
addSection:
|
|
28394
|
-
defaultSectionName:
|
|
28395
|
-
selectAllElements:
|
|
28396
|
-
clearSelection:
|
|
28397
|
-
onPresentationPropertiesUpdate:
|
|
28270
|
+
ribbonMode: Ko.ribbonActions.ribbonMode,
|
|
28271
|
+
canEdit: Ko.canEdit,
|
|
28272
|
+
isMobile: Ko.isMobile,
|
|
28273
|
+
sidebarCollapsed: Ko.ui.sidebarCollapsed,
|
|
28274
|
+
inspectorOpen: Ko.ui.inspectorOpen,
|
|
28275
|
+
ribbonExpanded: Ko.ui.ribbonExpanded,
|
|
28276
|
+
toolbarSection: Ko.ui.toolbarSection,
|
|
28277
|
+
zoom: Ko.zoom,
|
|
28278
|
+
canUndo: Ko.history.canUndo,
|
|
28279
|
+
canRedo: Ko.history.canRedo,
|
|
28280
|
+
findOpen: Ko.findOpen,
|
|
28281
|
+
selectedElements: Ko.selection.selectedElements,
|
|
28282
|
+
activeTableSelection: Ko.ribbonActions.activeTableSelection,
|
|
28283
|
+
editTemplateMode: Ko.selection.editTemplateMode,
|
|
28284
|
+
newShapeType: Ko.ui.newShapeType,
|
|
28285
|
+
activeTool: Ko.ui.activeTool,
|
|
28286
|
+
drawingColor: Ko.ui.drawingColor,
|
|
28287
|
+
drawingWidth: Ko.ui.drawingWidth,
|
|
28288
|
+
clipboard: Ko.editing.clipboard,
|
|
28289
|
+
spellCheckEnabled: Ko.ui.spellCheckEnabled,
|
|
28290
|
+
showGrid: Ko.ui.showGrid,
|
|
28291
|
+
showRulers: Ko.ui.showRulers,
|
|
28292
|
+
showGuides: Ko.ui.showGuides,
|
|
28293
|
+
snapToGrid: Ko.drag.snapToGrid,
|
|
28294
|
+
snapToShape: Ko.drag.snapToShape,
|
|
28295
|
+
overflowOpen: Ko.ui.overflowOpen,
|
|
28296
|
+
layoutOptions: Ko.deck.layoutOptions,
|
|
28297
|
+
embeddedFontFamilies: Ko.embeddedFontFamilies,
|
|
28298
|
+
customFontFamilies: Ko.customFontFamilies,
|
|
28299
|
+
theme: Ko.deck.theme,
|
|
28300
|
+
customShows: Ko.deck.customShows,
|
|
28301
|
+
activeCustomShowId: Ko.customShows.activeCustomShowId,
|
|
28302
|
+
isCurrentSlideInActiveShow: Ko.customShows.isCurrentSlideInActiveShow,
|
|
28303
|
+
themeEditorOpen: Ko.ui.themeEditorOpen,
|
|
28304
|
+
themeGalleryOpen: Ko.ui.themeGalleryOpen,
|
|
28305
|
+
eyedropperActive: Ko.ui.eyedropperActive,
|
|
28306
|
+
showComments: Ko.comments.showComments,
|
|
28307
|
+
activeComments: Ko.comments.activeComments,
|
|
28308
|
+
reviewComments: Ko.comments.reviewHost,
|
|
28309
|
+
formatPainterActive: Ko.editing.formatPainterActive,
|
|
28310
|
+
canActivateFormatPainter: Ko.editing.canActivateFormatPainter,
|
|
28311
|
+
showSelectionPane: Ko.selectionPane.showSelectionPane,
|
|
28312
|
+
showSubtitles: Ko.slideShow.showSubtitles,
|
|
28313
|
+
activeSlide: Ko.activeSlide,
|
|
28314
|
+
activeSlideIndex: Ko.activeSlideIndex,
|
|
28315
|
+
toggleSlideHidden: Ko.slideMutations.toggleSlideHidden,
|
|
28316
|
+
presentationProperties: Ko.presentationProperties,
|
|
28317
|
+
presenting: Ko.presentation.presenting,
|
|
28318
|
+
canDistribute: Ko.arrange.canDistribute,
|
|
28319
|
+
shareOpen: Ko.collaboration.shareOpen,
|
|
28320
|
+
showShortcuts: Ko.showShortcuts,
|
|
28321
|
+
showSettings: Ko.showSettings,
|
|
28322
|
+
showHeaderFooter: Ko.headerFooterDialog.showHeaderFooter,
|
|
28323
|
+
showA11y: Ko.showA11y,
|
|
28324
|
+
showSorter: Ko.deckViews.showSorter,
|
|
28325
|
+
showReadingView: Ko.deckViews.showReadingView,
|
|
28326
|
+
showOutlineView: Ko.deckViews.showOutlineView,
|
|
28327
|
+
showCustomShows: Ko.customShows.showCustomShows,
|
|
28328
|
+
showVersionHistory: Ko.versionHistory.showVersionHistory,
|
|
28329
|
+
showPasswordDialog: Ko.password.showPasswordDialog,
|
|
28330
|
+
propertiesOpen: Ko.documentProperties.propertiesOpen,
|
|
28331
|
+
showFontEmbedding: Ko.fontEmbedding.showFontEmbedding,
|
|
28332
|
+
showSignatures: Ko.signatureWorkflow.showSignatures,
|
|
28333
|
+
showMasterView: Ko.masterView.showMasterView,
|
|
28334
|
+
showSetUpSlideShow: Ko.slideShow.showSetUpSlideShow,
|
|
28335
|
+
broadcastOpen: Ko.collaboration.broadcastOpen,
|
|
28336
|
+
showInsertSmartArt: Ko.insertDialogs.showInsertSmartArt,
|
|
28337
|
+
showEquationEditor: Ko.insertDialogs.showEquationEditor,
|
|
28338
|
+
collab: Ko.collaboration.collab,
|
|
28339
|
+
startPresenting: Ko.presentation.startPresenting,
|
|
28340
|
+
presentFromBeginning: Ko.presentation.presentFromBeginning,
|
|
28341
|
+
startPresenterView: Ko.presentation.startPresenterView,
|
|
28342
|
+
startRehearsal: Ko.presentation.startRehearsal,
|
|
28343
|
+
compareWithPresentation: Ko.compareWithPresentation,
|
|
28344
|
+
onAddAnimation: Ko.slideMutations.onAddAnimation,
|
|
28345
|
+
onRemoveAnimation: Ko.slideMutations.onRemoveAnimation,
|
|
28346
|
+
zoomIn: Ko.zoomIn,
|
|
28347
|
+
zoomOut: Ko.zoomOut,
|
|
28348
|
+
zoomReset: Ko.zoomReset,
|
|
28349
|
+
undo: Ko.history.undo,
|
|
28350
|
+
redo: Ko.history.redo,
|
|
28351
|
+
addText: Ko.insertion.addText,
|
|
28352
|
+
addShape: Ko.insertion.addShape,
|
|
28353
|
+
addTable: Ko.insertion.addTable,
|
|
28354
|
+
addChart: Ko.insertion.addChart,
|
|
28355
|
+
addField: Ko.insertion.addField,
|
|
28356
|
+
addActionButton: Ko.insertion.addActionButton,
|
|
28357
|
+
openImagePicker: Ko.insertion.openImagePicker,
|
|
28358
|
+
openMediaPicker: Ko.insertion.openMediaPicker,
|
|
28359
|
+
addGuide: Ko.drag.addGuide,
|
|
28360
|
+
onAlign: Ko.arrange.onAlign,
|
|
28361
|
+
onDistribute: Ko.arrange.onDistribute,
|
|
28362
|
+
copySelected: Ko.editing.copySelected,
|
|
28363
|
+
cutSelected: Ko.editing.cutSelected,
|
|
28364
|
+
pasteElement: Ko.editing.pasteElement,
|
|
28365
|
+
ribbonFlip: Ko.ribbonActions.ribbonFlip,
|
|
28366
|
+
bringForward: Ko.arrange.bringForward,
|
|
28367
|
+
sendBackward: Ko.arrange.sendBackward,
|
|
28368
|
+
ribbonMoveToEdge: Ko.ribbonActions.ribbonMoveToEdge,
|
|
28369
|
+
onGroup: Ko.arrange.onGroup,
|
|
28370
|
+
onUngroup: Ko.arrange.onUngroup,
|
|
28371
|
+
updateSelectedShapeStyle: Ko.editing.updateSelectedShapeStyle,
|
|
28372
|
+
openHyperlinkForSelection: Ko.editing.openHyperlinkForSelection,
|
|
28373
|
+
duplicateSelected: Ko.arrange.duplicateSelected,
|
|
28374
|
+
deleteSelected: Ko.arrange.deleteSelected,
|
|
28375
|
+
handleOpenFile: Ko.handleOpenFile,
|
|
28376
|
+
handleOpenRecentFile: Ko.handleOpenRecentFile,
|
|
28377
|
+
createPresentation: Ko.createPresentation,
|
|
28378
|
+
onExportPng: Ko.exporter.onExportPng,
|
|
28379
|
+
onExportPdf: Ko.exporter.onExportPdf,
|
|
28380
|
+
onExportWebm: Ko.exporter.onExportWebm,
|
|
28381
|
+
onExportGif: Ko.exporter.onExportGif,
|
|
28382
|
+
onExportJson: Ko.exporter.onExportJson,
|
|
28383
|
+
downloadAs: Ko.exporter.downloadAs,
|
|
28384
|
+
onCopySlideAsImage: Ko.exporter.onCopySlideAsImage,
|
|
28385
|
+
openPrintDialog: Ko.printer.openPrintDialog,
|
|
28386
|
+
ribbonUpdateTextStyle: Ko.ribbonActions.ribbonUpdateTextStyle,
|
|
28387
|
+
ribbonUpdateTextCase: Ko.ribbonActions.ribbonUpdateTextCase,
|
|
28388
|
+
insertSlideFromLayout: Ko.insertion.insertSlideFromLayout,
|
|
28389
|
+
applyLayoutToActiveSlide: Ko.insertion.applyLayoutToActiveSlide,
|
|
28390
|
+
loadLayoutPreviews: Ko.insertion.loadLayoutPreviews,
|
|
28391
|
+
insertSlideFromTemplate: Ko.templateInsertion.insertSlideFromTemplate,
|
|
28392
|
+
onRenameActiveCustomShow: Ko.customShows.onRenameActiveCustomShow,
|
|
28393
|
+
onDeleteActiveCustomShow: Ko.customShows.onDeleteActiveCustomShow,
|
|
28394
|
+
onToggleCurrentSlideInActiveShow: Ko.customShows.onToggleCurrentSlideInActiveShow,
|
|
28395
|
+
toggleFormatPainter: Ko.editing.toggleFormatPainter,
|
|
28396
|
+
onToggleSubtitles: Ko.slideShow.onToggleSubtitles,
|
|
28397
|
+
onTransitionChange: Ko.slideMutations.onTransitionChange,
|
|
28398
|
+
onApplyTransitionToAll: Ko.slideMutations.onApplyTransitionToAll,
|
|
28399
|
+
addSection: Ko.slideCommands.addSection,
|
|
28400
|
+
defaultSectionName: Ko.slideCommands.defaultSectionName,
|
|
28401
|
+
selectAllElements: Ko.slideCommands.selectAllElements,
|
|
28402
|
+
clearSelection: Ko.slideCommands.clearSelection,
|
|
28403
|
+
onPresentationPropertiesUpdate: Ko.slideShow.onPresentationPropertiesUpdate
|
|
28398
28404
|
}));
|
|
28399
|
-
var
|
|
28400
|
-
const { handleCommandSearch:
|
|
28405
|
+
var Ko;
|
|
28406
|
+
const { handleCommandSearch: $o, handleQuickAccessCommand: jo } = function(e) {
|
|
28401
28407
|
const n = {
|
|
28402
28408
|
format: {
|
|
28403
28409
|
bold: () => e.updateTextStyle({ bold: !0 }),
|
|
@@ -28480,7 +28486,7 @@ var aj = ["aria-busy", "tabindex"], lj = {
|
|
|
28480
28486
|
}
|
|
28481
28487
|
};
|
|
28482
28488
|
}({
|
|
28483
|
-
updateTextStyle:
|
|
28489
|
+
updateTextStyle: bo,
|
|
28484
28490
|
addText: ft.addText,
|
|
28485
28491
|
addShape: ft.addShape,
|
|
28486
28492
|
addTable: ft.addTable,
|
|
@@ -28501,15 +28507,15 @@ var aj = ["aria-busy", "tabindex"], lj = {
|
|
|
28501
28507
|
zoomReset: Me,
|
|
28502
28508
|
startPresenting: Vt.startPresenting,
|
|
28503
28509
|
presentFromBeginning: Vt.presentFromBeginning,
|
|
28504
|
-
moveToEdge:
|
|
28510
|
+
moveToEdge: ko,
|
|
28505
28511
|
duplicateSelected: bt,
|
|
28506
28512
|
openPrintDialog: Lt.openPrintDialog,
|
|
28507
28513
|
exportPdf: Rt,
|
|
28508
28514
|
addSlide: wt.addSlide
|
|
28509
|
-
}),
|
|
28510
|
-
var
|
|
28511
|
-
getCanvas: () =>
|
|
28512
|
-
getTarget: () => !ke.value || G.value || K.value || Vt.presenting.value ||
|
|
28515
|
+
}), Wo = K$(Go, B.resolved);
|
|
28516
|
+
var qo = po, Yo = {
|
|
28517
|
+
getCanvas: () => fo.value,
|
|
28518
|
+
getTarget: () => !ke.value || G.value || K.value || Vt.presenting.value || lo.showMasterView.value || Ue.value || rt.inlineEditingElementId.value || "select" !== dn.value || Nn.value?.open || !Ve.value || !me.value ? null : {
|
|
28513
28519
|
documentId: me.value,
|
|
28514
28520
|
slideId: Ve.value.id,
|
|
28515
28521
|
canvasSize: U.value
|
|
@@ -28517,18 +28523,18 @@ var aj = ["aria-busy", "tabindex"], lj = {
|
|
|
28517
28523
|
insertElement: qe.addElement
|
|
28518
28524
|
};
|
|
28519
28525
|
(0, n.watch)([
|
|
28520
|
-
|
|
28521
|
-
() =>
|
|
28522
|
-
() =>
|
|
28523
|
-
() =>
|
|
28524
|
-
() =>
|
|
28526
|
+
qo,
|
|
28527
|
+
() => Yo.getTarget()?.documentId,
|
|
28528
|
+
() => Yo.getTarget()?.slideId,
|
|
28529
|
+
() => Yo.getTarget()?.canvasSize.width,
|
|
28530
|
+
() => Yo.getTarget()?.canvasSize.height
|
|
28525
28531
|
], (e, n, o) => {
|
|
28526
|
-
|
|
28532
|
+
qo.value && o((0, t.attachEditorImagePaste)(qo.value, Yo));
|
|
28527
28533
|
}, {
|
|
28528
28534
|
immediate: !0,
|
|
28529
28535
|
flush: "sync"
|
|
28530
28536
|
});
|
|
28531
|
-
const
|
|
28537
|
+
const Xo = {
|
|
28532
28538
|
...nj({
|
|
28533
28539
|
slides: R,
|
|
28534
28540
|
activeSlide: Ve,
|
|
@@ -28538,8 +28544,8 @@ var aj = ["aria-busy", "tabindex"], lj = {
|
|
|
28538
28544
|
zoom: De,
|
|
28539
28545
|
isDirty: Dn.isDirty,
|
|
28540
28546
|
presenting: Vt.presenting,
|
|
28541
|
-
showMasterView:
|
|
28542
|
-
mode:
|
|
28547
|
+
showMasterView: lo.showMasterView,
|
|
28548
|
+
mode: ho,
|
|
28543
28549
|
canEdit: ke,
|
|
28544
28550
|
loading: G,
|
|
28545
28551
|
error: K,
|
|
@@ -28547,7 +28553,7 @@ var aj = ["aria-busy", "tabindex"], lj = {
|
|
|
28547
28553
|
setEditingRequested: (e) => {
|
|
28548
28554
|
he.value = e;
|
|
28549
28555
|
},
|
|
28550
|
-
hasActivePointerInteraction: () => vt.hasActivePointerInteraction() || null !== Xe.value || Boolean(
|
|
28556
|
+
hasActivePointerInteraction: () => vt.hasActivePointerInteraction() || null !== Xe.value || Boolean(go.value?.hasActivePointerInteraction()),
|
|
28551
28557
|
commitPendingText: rt.commitInlineEdit,
|
|
28552
28558
|
getContent: ve,
|
|
28553
28559
|
goTo: Te,
|
|
@@ -28564,16 +28570,16 @@ var aj = ["aria-busy", "tabindex"], lj = {
|
|
|
28564
28570
|
}),
|
|
28565
28571
|
...B.api
|
|
28566
28572
|
};
|
|
28567
|
-
l(
|
|
28568
|
-
viewer:
|
|
28569
|
-
mode:
|
|
28573
|
+
l(Xo), (0, n.provide)(x, (0, n.computed)(() => ({
|
|
28574
|
+
viewer: Xo,
|
|
28575
|
+
mode: ho.value,
|
|
28570
28576
|
canEdit: ke.value,
|
|
28571
28577
|
activeSlideIndex: Be.value,
|
|
28572
28578
|
slideCount: Ne.value,
|
|
28573
28579
|
selectedElementIds: Le.value,
|
|
28574
28580
|
locale: y.localeCode.value
|
|
28575
28581
|
})));
|
|
28576
|
-
const
|
|
28582
|
+
const Zo = (0, t.createSlidePackageClipboard)({
|
|
28577
28583
|
getSnapshot: () => me.value ? {
|
|
28578
28584
|
handler: me.value,
|
|
28579
28585
|
slides: R.value,
|
|
@@ -28587,13 +28593,13 @@ var aj = ["aria-busy", "tabindex"], lj = {
|
|
|
28587
28593
|
Be.value = e.insertAt, Dn.isDirty.value = !0;
|
|
28588
28594
|
}
|
|
28589
28595
|
});
|
|
28590
|
-
return (0, n.onBeforeUnmount)(() =>
|
|
28596
|
+
return (0, n.onBeforeUnmount)(() => Zo.dispose()), (a, l) => ((0, n.openBlock)(), (0, n.createElementBlock)("div", (0, n.mergeProps)({
|
|
28591
28597
|
ref_key: "viewerRootRef",
|
|
28592
|
-
ref:
|
|
28598
|
+
ref: po,
|
|
28593
28599
|
class: ["pptx-vue-viewer", [
|
|
28594
28600
|
d.class,
|
|
28595
|
-
{ "pptx-vue-reduced-motion":
|
|
28596
|
-
...
|
|
28601
|
+
{ "pptx-vue-reduced-motion": Fo.value },
|
|
28602
|
+
...Po.value
|
|
28597
28603
|
]],
|
|
28598
28604
|
"data-pptx-theme-root": "",
|
|
28599
28605
|
"data-pptx-editor-chrome": "",
|
|
@@ -28601,7 +28607,7 @@ var aj = ["aria-busy", "tabindex"], lj = {
|
|
|
28601
28607
|
}, (0, n.unref)(I).rootAttrs, {
|
|
28602
28608
|
"aria-busy": (0, n.unref)(G) ? "true" : "false",
|
|
28603
28609
|
tabindex: ke.value ? 0 : void 0,
|
|
28604
|
-
onKeydown: l[21] || (l[21] = (...e) => (0, n.unref)(
|
|
28610
|
+
onKeydown: l[21] || (l[21] = (...e) => (0, n.unref)(Eo) && (0, n.unref)(Eo)(...e))
|
|
28605
28611
|
}), [
|
|
28606
28612
|
(0, n.createVNode)((0, n.unref)(O)),
|
|
28607
28613
|
(0, n.createVNode)((0, n.unref)(tj), { css: (0, n.unref)(I).css.value }, null, 8, ["css"]),
|
|
@@ -28644,9 +28650,9 @@ var aj = ["aria-busy", "tabindex"], lj = {
|
|
|
28644
28650
|
"onSubmitPassword",
|
|
28645
28651
|
"onCancelPassword"
|
|
28646
28652
|
])) : (0, n.createCommentVNode)("", !0),
|
|
28647
|
-
!(0, n.unref)(
|
|
28653
|
+
!(0, n.unref)(uo) && (0, n.unref)(N)("titleBar") ? ((0, n.openBlock)(), (0, n.createBlock)(si, {
|
|
28648
28654
|
key: 2,
|
|
28649
|
-
mode: (0, n.unref)(
|
|
28655
|
+
mode: (0, n.unref)(ho),
|
|
28650
28656
|
"can-edit": ke.value,
|
|
28651
28657
|
"file-name": d.fileName,
|
|
28652
28658
|
"is-dirty": (0, n.unref)(Dn).isDirty.value,
|
|
@@ -28666,8 +28672,8 @@ var aj = ["aria-busy", "tabindex"], lj = {
|
|
|
28666
28672
|
},
|
|
28667
28673
|
"find-replace-open": Pt.value,
|
|
28668
28674
|
"on-toggle-find-replace": () => Pt.value = !Pt.value,
|
|
28669
|
-
"on-command-search": (0, n.unref)(
|
|
28670
|
-
"on-quick-command": (0, n.unref)(
|
|
28675
|
+
"on-command-search": (0, n.unref)($o),
|
|
28676
|
+
"on-quick-command": (0, n.unref)(jo),
|
|
28671
28677
|
"hidden-actions": (0, n.unref)(T)
|
|
28672
28678
|
}, null, 8, [
|
|
28673
28679
|
"mode",
|
|
@@ -28692,14 +28698,14 @@ var aj = ["aria-busy", "tabindex"], lj = {
|
|
|
28692
28698
|
"on-quick-command",
|
|
28693
28699
|
"hidden-actions"
|
|
28694
28700
|
])) : (0, n.createCommentVNode)("", !0),
|
|
28695
|
-
(0, n.unref)(
|
|
28701
|
+
(0, n.unref)(uo) ? ((0, n.openBlock)(), (0, n.createBlock)(zl, (0, n.mergeProps)({ key: 4 }, (0, n.unref)(Wo), {
|
|
28696
28702
|
"hidden-actions": (0, n.unref)(T),
|
|
28697
28703
|
"recent-presentations-count": (0, n.unref)(C).advanced.recentPresentationsCount,
|
|
28698
28704
|
"ai-enabled": (0, n.unref)(F),
|
|
28699
28705
|
"is-ai-panel-open": Je.value,
|
|
28700
28706
|
"on-toggle-ai-panel": () => Je.value = !Je.value,
|
|
28701
|
-
"insert-open": (0, n.unref)(
|
|
28702
|
-
onCloseInsert: l[0] || (l[0] = (e) => (0, n.unref)(
|
|
28707
|
+
"insert-open": (0, n.unref)(xo).mobileInsertOpen.value,
|
|
28708
|
+
onCloseInsert: l[0] || (l[0] = (e) => (0, n.unref)(xo).mobileInsertOpen.value = !1)
|
|
28703
28709
|
}), null, 16, [
|
|
28704
28710
|
"hidden-actions",
|
|
28705
28711
|
"recent-presentations-count",
|
|
@@ -28707,7 +28713,7 @@ var aj = ["aria-busy", "tabindex"], lj = {
|
|
|
28707
28713
|
"is-ai-panel-open",
|
|
28708
28714
|
"on-toggle-ai-panel",
|
|
28709
28715
|
"insert-open"
|
|
28710
|
-
])) : ((0, n.openBlock)(), (0, n.createElementBlock)(n.Fragment, { key: 3 }, [(0, n.createVNode)(ai, (0, n.mergeProps)((0, n.unref)(
|
|
28716
|
+
])) : ((0, n.openBlock)(), (0, n.createElementBlock)(n.Fragment, { key: 3 }, [(0, n.createVNode)(ai, (0, n.mergeProps)((0, n.unref)(Wo), {
|
|
28711
28717
|
"hidden-actions": (0, n.unref)(T),
|
|
28712
28718
|
"recent-presentations-count": (0, n.unref)(C).advanced.recentPresentationsCount,
|
|
28713
28719
|
"ai-enabled": (0, n.unref)(F),
|
|
@@ -28721,11 +28727,11 @@ var aj = ["aria-busy", "tabindex"], lj = {
|
|
|
28721
28727
|
"on-toggle-ai-panel"
|
|
28722
28728
|
]), (0, n.createVNode)(si, {
|
|
28723
28729
|
placement: "belowRibbon",
|
|
28724
|
-
mode: (0, n.unref)(
|
|
28730
|
+
mode: (0, n.unref)(ho),
|
|
28725
28731
|
"can-edit": ke.value,
|
|
28726
28732
|
"is-dirty": (0, n.unref)(Dn).isDirty.value,
|
|
28727
28733
|
"autosave-enabled": (0, n.unref)(An),
|
|
28728
|
-
"on-quick-command": (0, n.unref)(
|
|
28734
|
+
"on-quick-command": (0, n.unref)(jo)
|
|
28729
28735
|
}, null, 8, [
|
|
28730
28736
|
"mode",
|
|
28731
28737
|
"can-edit",
|
|
@@ -28790,7 +28796,7 @@ var aj = ["aria-busy", "tabindex"], lj = {
|
|
|
28790
28796
|
"onReplaceAll"
|
|
28791
28797
|
])) : (0, n.createCommentVNode)("", !0),
|
|
28792
28798
|
(0, n.withDirectives)((0, n.createElementVNode)("div", pj, [
|
|
28793
|
-
(0, n.unref)(
|
|
28799
|
+
(0, n.unref)(uo) || (0, n.unref)(vn) || (0, n.unref)(Vt).presenting.value || !u.value.showThumbnails || !(0, n.unref)(N)("slidesPane") ? (0, n.createCommentVNode)("", !0) : ((0, n.openBlock)(), (0, n.createBlock)(U$, {
|
|
28794
28800
|
key: 0,
|
|
28795
28801
|
"merged-slides": (0, n.unref)($e),
|
|
28796
28802
|
"merged-slide-by-id": (0, n.unref)(Re).mergedSlideById.value,
|
|
@@ -28798,8 +28804,8 @@ var aj = ["aria-busy", "tabindex"], lj = {
|
|
|
28798
28804
|
"canvas-size": (0, n.unref)(U),
|
|
28799
28805
|
"media-data-urls": (0, n.unref)(H),
|
|
28800
28806
|
"can-edit": ke.value,
|
|
28801
|
-
"has-sections":
|
|
28802
|
-
"section-ops": (0, n.unref)(
|
|
28807
|
+
"has-sections": so.value,
|
|
28808
|
+
"section-ops": (0, n.unref)(io),
|
|
28803
28809
|
"slide-ops": (0, n.unref)(wt),
|
|
28804
28810
|
"go-to": (0, n.unref)(Te),
|
|
28805
28811
|
"toggle-slide-hidden": (0, n.unref)($t),
|
|
@@ -28825,7 +28831,7 @@ var aj = ["aria-busy", "tabindex"], lj = {
|
|
|
28825
28831
|
])),
|
|
28826
28832
|
(0, n.createElementVNode)("main", {
|
|
28827
28833
|
ref_key: "mainRef",
|
|
28828
|
-
ref:
|
|
28834
|
+
ref: fo,
|
|
28829
28835
|
class: (0, n.normalizeClass)(["pptx-vue-main", { "is-editable": ke.value }]),
|
|
28830
28836
|
"data-pptx-ai-active": (0, n.unref)(P) && (0, n.unref)(et).canvasAnimating.value ? "true" : void 0,
|
|
28831
28837
|
onPointerdown: l[11] || (l[11] = (...e) => (0, n.unref)(pt) && (0, n.unref)(pt)(...e)),
|
|
@@ -28852,7 +28858,7 @@ var aj = ["aria-busy", "tabindex"], lj = {
|
|
|
28852
28858
|
}, {
|
|
28853
28859
|
default: (0, n.withCtx)(() => [(0, n.createVNode)(Js, {
|
|
28854
28860
|
ref_key: "canvasOverlaysRef",
|
|
28855
|
-
ref:
|
|
28861
|
+
ref: go,
|
|
28856
28862
|
"can-edit": ke.value,
|
|
28857
28863
|
presenting: (0, n.unref)(Vt).presenting.value,
|
|
28858
28864
|
"canvas-size": (0, n.unref)(U),
|
|
@@ -28872,16 +28878,16 @@ var aj = ["aria-busy", "tabindex"], lj = {
|
|
|
28872
28878
|
inspector: (0, n.unref)(Et),
|
|
28873
28879
|
collaboration: (0, n.unref)(Kn),
|
|
28874
28880
|
"spell-check-enabled": (0, n.unref)(bn),
|
|
28875
|
-
"drawing-active": (0, n.unref)(
|
|
28881
|
+
"drawing-active": (0, n.unref)(Mo),
|
|
28876
28882
|
"active-tool": (0, n.unref)(dn),
|
|
28877
28883
|
"drawing-color": (0, n.unref)(pn),
|
|
28878
28884
|
"drawing-width": (0, n.unref)(un),
|
|
28879
|
-
"on-stroke": (0, n.unref)(
|
|
28880
|
-
"on-erase": (0, n.unref)(
|
|
28885
|
+
"on-stroke": (0, n.unref)(Oo),
|
|
28886
|
+
"on-erase": (0, n.unref)(Ro),
|
|
28881
28887
|
ai: (0, n.unref)(P),
|
|
28882
28888
|
"ai-panel": (0, n.unref)(et),
|
|
28883
28889
|
"on-request-edit": (0, n.unref)(ct),
|
|
28884
|
-
"on-format": (0, n.unref)(
|
|
28890
|
+
"on-format": (0, n.unref)(bo)
|
|
28885
28891
|
}, null, 8, [
|
|
28886
28892
|
"can-edit",
|
|
28887
28893
|
"presenting",
|
|
@@ -28934,7 +28940,7 @@ var aj = ["aria-busy", "tabindex"], lj = {
|
|
|
28934
28940
|
deck: (0, n.unref)(z),
|
|
28935
28941
|
"can-edit": ke.value,
|
|
28936
28942
|
"edit-template-mode": (0, n.unref)(Ue),
|
|
28937
|
-
"is-mobile": (0, n.unref)(
|
|
28943
|
+
"is-mobile": (0, n.unref)(uo),
|
|
28938
28944
|
"inspector-open": (0, n.unref)(mn),
|
|
28939
28945
|
"on-close-inspector": () => mn.value = !1,
|
|
28940
28946
|
"inspector-element": (0, n.unref)(Et).inspectorElementForPanels.value,
|
|
@@ -28946,23 +28952,23 @@ var aj = ["aria-busy", "tabindex"], lj = {
|
|
|
28946
28952
|
comments: (0, n.unref)(Gn),
|
|
28947
28953
|
accessibility: (0, n.unref)(Gt),
|
|
28948
28954
|
"show-a11y": Ht.value,
|
|
28949
|
-
"signature-workflow": (0, n.unref)(
|
|
28950
|
-
"selection-pane": (0, n.unref)(
|
|
28955
|
+
"signature-workflow": (0, n.unref)(jn),
|
|
28956
|
+
"selection-pane": (0, n.unref)(Qn),
|
|
28951
28957
|
collaboration: (0, n.unref)(Kn),
|
|
28952
|
-
"custom-shows": (0, n.unref)(
|
|
28958
|
+
"custom-shows": (0, n.unref)(no),
|
|
28953
28959
|
ai: (0, n.unref)(P),
|
|
28954
28960
|
"ai-panel-open": Je.value,
|
|
28955
28961
|
"on-close-ai-panel": () => Je.value = !1,
|
|
28956
28962
|
"ai-panel": (0, n.unref)(et),
|
|
28957
|
-
"ai-bridge": (0, n.unref)(
|
|
28958
|
-
"ribbon-mode": (0, n.unref)(
|
|
28963
|
+
"ai-bridge": (0, n.unref)(Ho),
|
|
28964
|
+
"ribbon-mode": (0, n.unref)(ho),
|
|
28959
28965
|
"go-to": (0, n.unref)(Te),
|
|
28960
28966
|
"on-inspector-update": (0, n.unref)(Et).onInspectorUpdate,
|
|
28961
28967
|
"on-update-slide-animations": (0, n.unref)(Et).writeSlideAnimations,
|
|
28962
28968
|
"on-table-style-map-change": (0, n.unref)(Un).onTableStyleMapChange,
|
|
28963
28969
|
"on-delete-table-style": (0, n.unref)(Un).onDeleteTableStyle,
|
|
28964
28970
|
"on-slide-update": (0, n.unref)(jt),
|
|
28965
|
-
"on-presentation-update": (0, n.unref)(
|
|
28971
|
+
"on-presentation-update": (0, n.unref)(Wn).onPresentationPropertiesUpdate
|
|
28966
28972
|
}, null, 8, [
|
|
28967
28973
|
"deck",
|
|
28968
28974
|
"can-edit",
|
|
@@ -28998,10 +29004,10 @@ var aj = ["aria-busy", "tabindex"], lj = {
|
|
|
28998
29004
|
"on-presentation-update"
|
|
28999
29005
|
]))
|
|
29000
29006
|
], 512), [[n.vShow, !(0, n.unref)(Vt).presenting.value]]),
|
|
29001
|
-
ke.value && !(0, n.unref)(
|
|
29007
|
+
ke.value && !(0, n.unref)(uo) && (0, n.unref)(Ne) > 0 && !(0, n.unref)(Vt).presenting.value && (0, n.unref)(N)("notes") ? ((0, n.openBlock)(), (0, n.createBlock)(jl, {
|
|
29002
29008
|
key: 2,
|
|
29003
29009
|
ref_key: "notesPanel",
|
|
29004
|
-
ref:
|
|
29010
|
+
ref: Vo,
|
|
29005
29011
|
slide: (0, n.unref)(Ve),
|
|
29006
29012
|
expanded: (0, n.unref)(fn),
|
|
29007
29013
|
"notes-style": (0, n.unref)(se)?.notesStyle,
|
|
@@ -29013,7 +29019,7 @@ var aj = ["aria-busy", "tabindex"], lj = {
|
|
|
29013
29019
|
"notes-style",
|
|
29014
29020
|
"onUpdate"
|
|
29015
29021
|
])) : (0, n.createCommentVNode)("", !0),
|
|
29016
|
-
!(0, n.unref)(
|
|
29022
|
+
!(0, n.unref)(uo) && (0, n.unref)(Ne) > 0 && !(0, n.unref)(Vt).presenting.value && u.value.showToolbar && (0, n.unref)(N)("statusBar") ? ((0, n.openBlock)(), (0, n.createBlock)(Ei, {
|
|
29017
29023
|
key: 3,
|
|
29018
29024
|
"slide-count": (0, n.unref)(Ne),
|
|
29019
29025
|
"active-slide-index": (0, n.unref)(Be),
|
|
@@ -29021,7 +29027,7 @@ var aj = ["aria-busy", "tabindex"], lj = {
|
|
|
29021
29027
|
"autosave-status": (0, n.unref)(Mn) ? "disabled" : (0, n.unref)(In) ? (0, n.unref)(Dn).status.value : void 0,
|
|
29022
29028
|
"last-saved-at": (0, n.unref)(Dn).lastSavedAt.value,
|
|
29023
29029
|
scale: (0, n.unref)(De),
|
|
29024
|
-
mode: (0, n.unref)(
|
|
29030
|
+
mode: (0, n.unref)(ho),
|
|
29025
29031
|
"is-notes-expanded": (0, n.unref)(fn),
|
|
29026
29032
|
"show-notes": ke.value && (0, n.unref)(N)("notes"),
|
|
29027
29033
|
"hidden-actions": (0, n.unref)(T),
|
|
@@ -29065,7 +29071,7 @@ var aj = ["aria-busy", "tabindex"], lj = {
|
|
|
29065
29071
|
"on-close-theme-gallery": () => kn.value = !1,
|
|
29066
29072
|
"theme-editor-open": (0, n.unref)(Sn),
|
|
29067
29073
|
"on-close-theme-editor": () => Sn.value = !1,
|
|
29068
|
-
"theme-editing": (0, n.unref)(
|
|
29074
|
+
"theme-editing": (0, n.unref)(Lo),
|
|
29069
29075
|
"context-menu": (0, n.unref)(Nn),
|
|
29070
29076
|
"context-items": (0, n.unref)(Vn),
|
|
29071
29077
|
"on-context-select": (0, n.unref)(Fn),
|
|
@@ -29118,9 +29124,9 @@ var aj = ["aria-busy", "tabindex"], lj = {
|
|
|
29118
29124
|
"onDiscard"
|
|
29119
29125
|
]),
|
|
29120
29126
|
(0, n.createVNode)(Ox, {
|
|
29121
|
-
"custom-font-families":
|
|
29127
|
+
"custom-font-families": Yn.value,
|
|
29122
29128
|
slides: (0, n.unref)(R),
|
|
29123
|
-
onCustomFontRegistered:
|
|
29129
|
+
onCustomFontRegistered: Zn,
|
|
29124
29130
|
"active-slide-index": (0, n.unref)(Be),
|
|
29125
29131
|
"canvas-size": (0, n.unref)(U),
|
|
29126
29132
|
"media-data-urls": (0, n.unref)(H),
|
|
@@ -29128,17 +29134,17 @@ var aj = ["aria-busy", "tabindex"], lj = {
|
|
|
29128
29134
|
"custom-properties": (0, n.unref)(q),
|
|
29129
29135
|
"app-properties": (0, n.unref)(Z),
|
|
29130
29136
|
"header-footer": (0, n.unref)(ie),
|
|
29131
|
-
"document-properties": (0, n.unref)(
|
|
29132
|
-
"version-history": (0, n.unref)(
|
|
29137
|
+
"document-properties": (0, n.unref)(Jn),
|
|
29138
|
+
"version-history": (0, n.unref)(to),
|
|
29133
29139
|
printer: (0, n.unref)(Lt),
|
|
29134
|
-
"header-footer-dialog": (0, n.unref)(
|
|
29135
|
-
"show-shortcuts": (0, n.unref)(
|
|
29136
|
-
"on-close-shortcuts": () =>
|
|
29137
|
-
"show-settings": (0, n.unref)(
|
|
29138
|
-
"on-close-settings": () =>
|
|
29140
|
+
"header-footer-dialog": (0, n.unref)(eo),
|
|
29141
|
+
"show-shortcuts": (0, n.unref)(So),
|
|
29142
|
+
"on-close-shortcuts": () => So.value = !1,
|
|
29143
|
+
"show-settings": (0, n.unref)(Ao) && (0, n.unref)(V)("options"),
|
|
29144
|
+
"on-close-settings": () => Ao.value = !1,
|
|
29139
29145
|
"options-store": (0, n.unref)(w),
|
|
29140
29146
|
"viewer-options": (0, n.unref)(C),
|
|
29141
|
-
"addin-status":
|
|
29147
|
+
"addin-status": Io.value,
|
|
29142
29148
|
"theme-key": (0, n.unref)(y).themeKey.value,
|
|
29143
29149
|
"on-theme-select": (0, n.unref)(y).selectTheme,
|
|
29144
29150
|
"locale-code": (0, n.unref)(y).localeCode.value,
|
|
@@ -29146,7 +29152,7 @@ var aj = ["aria-busy", "tabindex"], lj = {
|
|
|
29146
29152
|
"available-themes": d.availableThemes,
|
|
29147
29153
|
"available-locales": (0, n.unref)(y).resolvedAvailableLocales.value,
|
|
29148
29154
|
"ai-enabled": (0, n.unref)(F),
|
|
29149
|
-
"on-clear-cache":
|
|
29155
|
+
"on-clear-cache": _o
|
|
29150
29156
|
}, null, 8, [
|
|
29151
29157
|
"custom-font-families",
|
|
29152
29158
|
"slides",
|
|
@@ -29176,12 +29182,12 @@ var aj = ["aria-busy", "tabindex"], lj = {
|
|
|
29176
29182
|
"available-locales",
|
|
29177
29183
|
"ai-enabled"
|
|
29178
29184
|
]),
|
|
29179
|
-
(0, n.unref)(
|
|
29185
|
+
(0, n.unref)(lo).showMasterView.value ? ((0, n.openBlock)(), (0, n.createBlock)(Zt, {
|
|
29180
29186
|
key: 4,
|
|
29181
29187
|
ref_key: "masterInlineEditor",
|
|
29182
29188
|
ref: it,
|
|
29183
|
-
state: (0, n.unref)(
|
|
29184
|
-
crud: (0, n.unref)(
|
|
29189
|
+
state: (0, n.unref)(lo),
|
|
29190
|
+
crud: (0, n.unref)(ro),
|
|
29185
29191
|
"slide-masters": (0, n.unref)(te),
|
|
29186
29192
|
"canvas-size": (0, n.unref)(U),
|
|
29187
29193
|
"media-data-urls": (0, n.unref)(H),
|
|
@@ -29203,14 +29209,14 @@ var aj = ["aria-busy", "tabindex"], lj = {
|
|
|
29203
29209
|
(0, n.createVNode)(Ip, {
|
|
29204
29210
|
collaboration: (0, n.unref)(Kn),
|
|
29205
29211
|
"broadcast-server-url": d.shareDefaults?.serverUrl,
|
|
29206
|
-
"slide-show": (0, n.unref)(
|
|
29212
|
+
"slide-show": (0, n.unref)(Wn),
|
|
29207
29213
|
"presentation-properties": (0, n.unref)(le),
|
|
29208
29214
|
"custom-shows": (0, n.unref)(oe),
|
|
29209
29215
|
"slide-count": (0, n.unref)(Ne),
|
|
29210
29216
|
password: (0, n.unref)(E),
|
|
29211
|
-
"font-embedding": (0, n.unref)(
|
|
29217
|
+
"font-embedding": (0, n.unref)(qn),
|
|
29212
29218
|
"insert-dialogs": (0, n.unref)(st),
|
|
29213
|
-
"signature-workflow": (0, n.unref)(
|
|
29219
|
+
"signature-workflow": (0, n.unref)(jn),
|
|
29214
29220
|
"signature-count": (0, n.unref)(J).length,
|
|
29215
29221
|
"deck-actions": (0, n.unref)(Ln)
|
|
29216
29222
|
}, null, 8, [
|
|
@@ -29227,9 +29233,9 @@ var aj = ["aria-busy", "tabindex"], lj = {
|
|
|
29227
29233
|
"signature-count",
|
|
29228
29234
|
"deck-actions"
|
|
29229
29235
|
]),
|
|
29230
|
-
(0, n.unref)(
|
|
29236
|
+
(0, n.unref)(uo) && !(0, n.unref)(Vt).presenting.value && u.value.showToolbar ? ((0, n.openBlock)(), (0, n.createBlock)(DU, {
|
|
29231
29237
|
key: 5,
|
|
29232
|
-
chrome: (0, n.unref)(
|
|
29238
|
+
chrome: (0, n.unref)(xo),
|
|
29233
29239
|
deck: (0, n.unref)(z),
|
|
29234
29240
|
"slide-ops": (0, n.unref)(wt),
|
|
29235
29241
|
comments: (0, n.unref)(Gn),
|
|
@@ -29241,21 +29247,21 @@ var aj = ["aria-busy", "tabindex"], lj = {
|
|
|
29241
29247
|
"slide-count": (0, n.unref)(Ne),
|
|
29242
29248
|
"active-comments": (0, n.unref)(Gn).activeComments.value,
|
|
29243
29249
|
"can-edit": ke.value,
|
|
29244
|
-
"keyboard-inset": (0, n.unref)(
|
|
29250
|
+
"keyboard-inset": (0, n.unref)(vo),
|
|
29245
29251
|
"inspector-element": (0, n.unref)(Et).inspectorElementForPanels.value,
|
|
29246
29252
|
"author-name": Hn.value,
|
|
29247
29253
|
"notes-master": (0, n.unref)(se),
|
|
29248
29254
|
"go-to": (0, n.unref)(Te),
|
|
29249
29255
|
"toggle-slide-hidden": (0, n.unref)($t),
|
|
29250
|
-
"on-add-section": (0, n.unref)(
|
|
29256
|
+
"on-add-section": (0, n.unref)(io).addSection,
|
|
29251
29257
|
"on-notes-update": (0, n.unref)(Kt),
|
|
29252
29258
|
"on-inspector-update": (0, n.unref)(Et).onInspectorUpdate,
|
|
29253
29259
|
"on-update-slide-animations": (0, n.unref)(Et).writeSlideAnimations,
|
|
29254
29260
|
"on-table-style-map-change": (0, n.unref)(Un).onTableStyleMapChange,
|
|
29255
29261
|
"on-delete-table-style": (0, n.unref)(Un).onDeleteTableStyle,
|
|
29256
29262
|
"on-slide-update": (0, n.unref)(jt),
|
|
29257
|
-
"on-presentation-update": (0, n.unref)(
|
|
29258
|
-
"on-select-element": (0, n.unref)(
|
|
29263
|
+
"on-presentation-update": (0, n.unref)(Wn).onPresentationPropertiesUpdate,
|
|
29264
|
+
"on-select-element": (0, n.unref)(Qn).onSelectionPaneSelect
|
|
29259
29265
|
}, null, 8, [
|
|
29260
29266
|
"chrome",
|
|
29261
29267
|
"deck",
|
|
@@ -29313,8 +29319,8 @@ var aj = ["aria-busy", "tabindex"], lj = {
|
|
|
29313
29319
|
key: 4,
|
|
29314
29320
|
toasts: (0, n.unref)(Ee).visibleToasts.value,
|
|
29315
29321
|
"overflow-count": (0, n.unref)(Ee).overflowCount.value,
|
|
29316
|
-
"right-inset":
|
|
29317
|
-
"bottom-inset":
|
|
29322
|
+
"right-inset": No.value,
|
|
29323
|
+
"bottom-inset": To.value,
|
|
29318
29324
|
onDismiss: (0, n.unref)(Ee).dismiss,
|
|
29319
29325
|
onDismissAll: (0, n.unref)(Ee).dismissAll
|
|
29320
29326
|
}, null, 8, [
|
|
@@ -29352,7 +29358,7 @@ var aj = ["aria-busy", "tabindex"], lj = {
|
|
|
29352
29358
|
"can-edit": ke.value,
|
|
29353
29359
|
"presentation-properties": (0, n.unref)(le),
|
|
29354
29360
|
"custom-shows": (0, n.unref)(oe),
|
|
29355
|
-
"authored-range":
|
|
29361
|
+
"authored-range": oo.value,
|
|
29356
29362
|
"end-with-black-slide": (0, n.unref)(C).advanced.slideShowEndWithBlackSlide,
|
|
29357
29363
|
"prompt-keep-ink-annotations": (0, n.unref)(C).advanced.slideShowPromptKeepInkAnnotations,
|
|
29358
29364
|
"show-menu-on-right-click": (0, n.unref)(C).advanced.slideShowShowMenuOnRightClick,
|
|
@@ -29360,8 +29366,8 @@ var aj = ["aria-busy", "tabindex"], lj = {
|
|
|
29360
29366
|
"pixelate-mosaic-animation": (0, n.unref)(C).advanced.pixelateMosaicAnimation,
|
|
29361
29367
|
"duplicate-slide": (0, n.unref)(wt).duplicateSlide,
|
|
29362
29368
|
"paste-slides": (0, n.unref)(wt).pasteSlides,
|
|
29363
|
-
"copy-system-slides": (e) => (0, n.unref)(
|
|
29364
|
-
"paste-system-slides": (e) => (0, n.unref)(
|
|
29369
|
+
"copy-system-slides": (e) => (0, n.unref)(Zo).copy(e),
|
|
29370
|
+
"paste-system-slides": (e) => (0, n.unref)(Zo).paste(e),
|
|
29365
29371
|
"delete-slide": (0, n.unref)(wt).deleteSlide,
|
|
29366
29372
|
"toggle-slide-hidden": (0, n.unref)($t)
|
|
29367
29373
|
}, null, 8, [
|