pptx-vue-viewer 4.63.0 → 4.64.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 +27 -0
- package/dist/i18n/de.cjs +5 -0
- package/dist/i18n/de.cjs.br +0 -0
- package/dist/i18n/de.cjs.gz +0 -0
- package/dist/i18n/de.mjs +5 -0
- package/dist/i18n/de.mjs.br +0 -0
- package/dist/i18n/de.mjs.gz +0 -0
- package/dist/i18n/es.cjs +5 -0
- package/dist/i18n/es.cjs.br +0 -0
- package/dist/i18n/es.cjs.gz +0 -0
- package/dist/i18n/es.mjs +5 -0
- package/dist/i18n/es.mjs.br +0 -0
- package/dist/i18n/es.mjs.gz +0 -0
- package/dist/i18n/fr.cjs +5 -0
- package/dist/i18n/fr.cjs.br +0 -0
- package/dist/i18n/fr.cjs.gz +0 -0
- package/dist/i18n/fr.mjs +5 -0
- package/dist/i18n/fr.mjs.br +0 -0
- package/dist/i18n/fr.mjs.gz +0 -0
- package/dist/i18n/zh-CN.cjs +5 -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 +5 -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.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.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-Cf0EUQ6A.cjs → useViewerSettingsDialog-D2C68gva.cjs} +60 -58
- package/dist/useViewerSettingsDialog-D2C68gva.cjs.br +0 -0
- package/dist/useViewerSettingsDialog-D2C68gva.cjs.gz +0 -0
- package/dist/{useViewerSettingsDialog-CCdx0WaP.js → useViewerSettingsDialog-DQ-7sQiE.js} +1838 -1836
- package/dist/useViewerSettingsDialog-DQ-7sQiE.js.br +0 -0
- package/dist/useViewerSettingsDialog-DQ-7sQiE.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.js +2 -2
- package/dist/viewer/index.js.br +0 -0
- package/dist/viewer/index.js.gz +0 -0
- package/dist/{viewer-vQxiJYTJ.js → viewer-Ct-iuQ5z.js} +7173 -7163
- package/dist/viewer-Ct-iuQ5z.js.br +0 -0
- package/dist/viewer-Ct-iuQ5z.js.gz +0 -0
- package/dist/{viewer-CEr7y9hX.cjs → viewer-CyKE_1FR.cjs} +1312 -1302
- package/dist/viewer-CyKE_1FR.cjs.br +0 -0
- package/dist/viewer-CyKE_1FR.cjs.gz +0 -0
- package/dist/{y-webrtc-B4BFox9k.js → y-webrtc-DFA3NALq.js} +1 -1
- package/dist/y-webrtc-DFA3NALq.js.br +0 -0
- package/dist/y-webrtc-DFA3NALq.js.gz +0 -0
- package/dist/{y-webrtc-Er9ajboC.cjs → y-webrtc-J37L1eue.cjs} +1 -1
- package/dist/y-webrtc-J37L1eue.cjs.br +0 -0
- package/dist/y-webrtc-J37L1eue.cjs.gz +0 -0
- package/package.json +3 -3
- package/dist/useViewerSettingsDialog-CCdx0WaP.js.br +0 -0
- package/dist/useViewerSettingsDialog-CCdx0WaP.js.gz +0 -0
- package/dist/useViewerSettingsDialog-Cf0EUQ6A.cjs.br +0 -0
- package/dist/useViewerSettingsDialog-Cf0EUQ6A.cjs.gz +0 -0
- package/dist/viewer-CEr7y9hX.cjs.br +0 -0
- package/dist/viewer-CEr7y9hX.cjs.gz +0 -0
- package/dist/viewer-vQxiJYTJ.js.br +0 -0
- package/dist/viewer-vQxiJYTJ.js.gz +0 -0
- package/dist/y-webrtc-B4BFox9k.js.br +0 -0
- package/dist/y-webrtc-B4BFox9k.js.gz +0 -0
- package/dist/y-webrtc-Er9ajboC.cjs.br +0 -0
- package/dist/y-webrtc-Er9ajboC.cjs.gz +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const e = require("./useViewerSettingsDialog-
|
|
1
|
+
const e = require("./useViewerSettingsDialog-D2C68gva.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");
|
|
@@ -2874,7 +2874,7 @@ var so = Symbol("pptx-viewer-storage");
|
|
|
2874
2874
|
function co() {
|
|
2875
2875
|
return (0, l.inject)(so, () => {});
|
|
2876
2876
|
}
|
|
2877
|
-
var po = "4.
|
|
2877
|
+
var po = "4.64.0", uo = Symbol("pptx-account-auth");
|
|
2878
2878
|
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
2879
|
"aria-pressed",
|
|
2880
2880
|
"aria-label",
|
|
@@ -7721,6 +7721,7 @@ var oi = ["placement", ".state"], ai = {
|
|
|
7721
7721
|
isDirty: { type: Boolean },
|
|
7722
7722
|
autosaveStatus: {},
|
|
7723
7723
|
lastSavedAt: {},
|
|
7724
|
+
saveProgress: {},
|
|
7724
7725
|
scale: {},
|
|
7725
7726
|
isNotesExpanded: { type: Boolean },
|
|
7726
7727
|
mode: {},
|
|
@@ -7744,6 +7745,7 @@ var oi = ["placement", ".state"], ai = {
|
|
|
7744
7745
|
state: r.autosaveStatus,
|
|
7745
7746
|
timestamp: r.lastSavedAt ?? void 0
|
|
7746
7747
|
} : void 0,
|
|
7748
|
+
saveProgress: r.saveProgress ? (0, a.saveProgressStatus)(r.saveProgress, (e) => o(e, { percent: "{percent}" })) : void 0,
|
|
7747
7749
|
zoomPercent: void 0 === r.scale ? void 0 : 100 * r.scale,
|
|
7748
7750
|
notesExpanded: r.isNotesExpanded,
|
|
7749
7751
|
viewMode: (0, a.statusBarViewMode)(r.mode),
|
|
@@ -26227,12 +26229,18 @@ var UG = ["aria-busy", "tabindex"], HG = {
|
|
|
26227
26229
|
d(k.effectiveTheme);
|
|
26228
26230
|
const S = u(k.effectiveTheme);
|
|
26229
26231
|
(0, l.provide)(uo, v.accountAuth), (0, l.provide)(Ol, () => v.ribbonAddIns);
|
|
26230
|
-
const E = (0, a.createCloudDocumentController)(), C = t.useController(E), w = (0,
|
|
26231
|
-
|
|
26232
|
-
|
|
26233
|
-
|
|
26234
|
-
|
|
26235
|
-
|
|
26232
|
+
const E = (0, a.createCloudDocumentController)(), C = t.useController(E), w = (0, a.createSaveProgressController)(), B = t.useController(w), N = (0, l.computed)(() => {
|
|
26233
|
+
const e = (0, a.resolveCloudDocumentView)(C.value.file, {
|
|
26234
|
+
storage: v.storage,
|
|
26235
|
+
canEdit: v.canEdit && !v.readOnly,
|
|
26236
|
+
fileName: v.fileName,
|
|
26237
|
+
filePath: v.filePath
|
|
26238
|
+
});
|
|
26239
|
+
return e.storage ? {
|
|
26240
|
+
...e,
|
|
26241
|
+
storage: w.wrap(e.storage)
|
|
26242
|
+
} : e;
|
|
26243
|
+
}), V = () => N.value.filePath ?? N.value.fileName ?? "Untitled Presentation", T = function(e) {
|
|
26236
26244
|
const t = (0, l.ref)(null);
|
|
26237
26245
|
(0, l.watch)(e.content, () => {
|
|
26238
26246
|
t.value = null, e.onDocumentReplaced?.();
|
|
@@ -26265,15 +26273,15 @@ var UG = ["aria-busy", "tabindex"], HG = {
|
|
|
26265
26273
|
onDocumentReplaced: E.clear
|
|
26266
26274
|
});
|
|
26267
26275
|
(0, l.provide)(so, () => v.storage);
|
|
26268
|
-
const
|
|
26276
|
+
const F = [];
|
|
26269
26277
|
(0, l.provide)(ro, {
|
|
26270
|
-
providers: () => v.fileProviders ??
|
|
26278
|
+
providers: () => v.fileProviders ?? F,
|
|
26271
26279
|
open: (e) => {
|
|
26272
|
-
|
|
26280
|
+
T.openBytes(e.bytes), E.open(e);
|
|
26273
26281
|
},
|
|
26274
26282
|
clear: E.clear
|
|
26275
26283
|
});
|
|
26276
|
-
const
|
|
26284
|
+
const P = T.activeContent, D = (0, l.ref)(0), _ = e.usePasswordProtection(), { optionsStore: A, viewerOptions: M } = e.useViewerOptionsStore(), L = function(e) {
|
|
26277
26285
|
const { props: t } = e, o = (0, a.createCustomizationController)(t.customization);
|
|
26278
26286
|
o.setAllowExternalContent(t.allowExternalContent);
|
|
26279
26287
|
const r = (0, l.shallowRef)(o.getResolved());
|
|
@@ -26298,46 +26306,46 @@ var UG = ["aria-busy", "tabindex"], HG = {
|
|
|
26298
26306
|
};
|
|
26299
26307
|
}({
|
|
26300
26308
|
props: v,
|
|
26301
|
-
optionsStore:
|
|
26302
|
-
}), { panelVisible:
|
|
26309
|
+
optionsStore: A
|
|
26310
|
+
}), { panelVisible: H, dialogAvailable: G, effectiveHiddenActions: K, aiEnabled: $, aiConfig: j, aiChatPanel: W } = L, q = function(e) {
|
|
26303
26311
|
const t = `pptx-vue-ribbon-${MG += 1}`;
|
|
26304
26312
|
return {
|
|
26305
26313
|
rootAttrs: { [a.RIBBON_SCOPE_ATTR]: t },
|
|
26306
26314
|
css: (0, l.computed)(() => (0, a.ribbonCustomizationCss)(e.value, t))
|
|
26307
26315
|
};
|
|
26308
|
-
}(
|
|
26309
|
-
getHeldDeck: () =>
|
|
26316
|
+
}(L.resolved), Y = (0, l.shallowRef)(void 0), X = e.useLoadContent(() => P.value, {
|
|
26317
|
+
getHeldDeck: () => Y.value,
|
|
26310
26318
|
getPendingInlineEdit: () => {
|
|
26311
|
-
if (!
|
|
26312
|
-
const e =
|
|
26313
|
-
if (
|
|
26319
|
+
if (!De.value) return;
|
|
26320
|
+
const e = bt.value?.readInlineSnapshot();
|
|
26321
|
+
if (ko.showMasterView.value && e) return {
|
|
26314
26322
|
snapshot: e,
|
|
26315
26323
|
target: { masterView: {
|
|
26316
|
-
tab:
|
|
26317
|
-
masterIndex:
|
|
26318
|
-
layoutIndex:
|
|
26324
|
+
tab: ko.masterViewTab.value,
|
|
26325
|
+
masterIndex: ko.activeMasterIndex.value,
|
|
26326
|
+
layoutIndex: ko.activeLayoutIndex.value
|
|
26319
26327
|
} }
|
|
26320
26328
|
};
|
|
26321
|
-
if (
|
|
26322
|
-
const t =
|
|
26323
|
-
return t &&
|
|
26329
|
+
if (ht.isInlineInputPending()) throw new Error("Finish the current text input before saving.");
|
|
26330
|
+
const t = ht.readInlineSnapshot();
|
|
26331
|
+
return t && Re.value ? {
|
|
26324
26332
|
snapshot: t,
|
|
26325
|
-
text: (0, a.applyAutoCorrectToEdit)(t.text,
|
|
26326
|
-
target: { slideId:
|
|
26333
|
+
text: (0, a.applyAutoCorrectToEdit)(t.text, ht.readInlineStartText(), M.value.proofing),
|
|
26334
|
+
target: { slideId: Re.value.id }
|
|
26327
26335
|
} : void 0;
|
|
26328
26336
|
},
|
|
26329
26337
|
onContentApplied: () => {
|
|
26330
|
-
|
|
26338
|
+
D.value += 1, Me.value = (0, a.resolveInitialSlideIndex)(v.initialSlide, Z.value.length);
|
|
26331
26339
|
},
|
|
26332
26340
|
getSaveIntent: () => ({
|
|
26333
|
-
password:
|
|
26334
|
-
passwordProtected:
|
|
26341
|
+
password: _.presentationPassword.value,
|
|
26342
|
+
passwordProtected: _.isPasswordProtected.value
|
|
26335
26343
|
}),
|
|
26336
|
-
getAllowExternalImages: () => (0, a.resolveAllowExternalContent)(v.allowExternalContent,
|
|
26344
|
+
getAllowExternalImages: () => (0, a.resolveAllowExternalContent)(v.allowExternalContent, M.value),
|
|
26337
26345
|
getLimits: () => v.limits,
|
|
26338
26346
|
translate: (e, t) => b(e, t),
|
|
26339
|
-
getEmbedFonts: () =>
|
|
26340
|
-
}), { slides:
|
|
26347
|
+
getEmbedFonts: () => po.embedFontsEnabled.value
|
|
26348
|
+
}), { slides: Z, templateElementsBySlideId: Q, canvasSize: J, mediaDataUrls: ee, loading: te, error: ne, isEncrypted: oe, coreProperties: ae, customProperties: le, modifyVerifier: re, compatibilityWarnings: se, appProperties: ce, tagCollections: de, signatures: pe, tableStyleMap: ue, slideMasters: me, sections: ve, customShows: ge, modernCommentAuthors: fe, presentationProperties: xe, viewProperties: ye, headerFooter: he, notesMaster: be, handoutMaster: ke, theme: Se, themeColorMap: Ee, handler: Ce, getContent: we, getRecoverySnapshot: Be } = X, Ne = (0, l.ref)(!1), Ve = (0, l.computed)(() => (0, a.shouldOpenInProtectedView)(M.value) && !Ne.value), Te = function(e) {
|
|
26341
26349
|
function t() {
|
|
26342
26350
|
return (0, a.readOnlyRecommendation)({
|
|
26343
26351
|
modifyVerifier: e.modifyVerifier.value,
|
|
@@ -26371,14 +26379,14 @@ var UG = ["aria-busy", "tabindex"], HG = {
|
|
|
26371
26379
|
cancelPasswordPrompt: r.cancelPassword
|
|
26372
26380
|
};
|
|
26373
26381
|
}({
|
|
26374
|
-
modifyVerifier:
|
|
26375
|
-
customProperties:
|
|
26376
|
-
loadVersion:
|
|
26377
|
-
}),
|
|
26378
|
-
function
|
|
26379
|
-
|
|
26380
|
-
}
|
|
26381
|
-
const
|
|
26382
|
+
modifyVerifier: re,
|
|
26383
|
+
customProperties: le,
|
|
26384
|
+
loadVersion: D
|
|
26385
|
+
}), Fe = (0, l.ref)(!0), Pe = (0, l.ref)(!1), De = (0, l.computed)(() => Fe.value && N.value.canEdit && (0, a.isEditingAllowed)(L.resolved.value) && !Pe.value && !Ve.value && !Te.locked.value);
|
|
26386
|
+
function Ie() {
|
|
26387
|
+
Ne.value = !0;
|
|
26388
|
+
}
|
|
26389
|
+
const _e = function(e) {
|
|
26382
26390
|
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)));
|
|
26383
26391
|
return {
|
|
26384
26392
|
visibleToasts: (0, l.computed)(() => i.value.slice(0, 5)),
|
|
@@ -26397,9 +26405,9 @@ var UG = ["aria-busy", "tabindex"], HG = {
|
|
|
26397
26405
|
o.value = [e, ...o.value.filter((t) => t.id !== e.id)], a.delete(e.id), t.value = a, n.value = !1;
|
|
26398
26406
|
}
|
|
26399
26407
|
};
|
|
26400
|
-
}({ warnings:
|
|
26401
|
-
(0, l.provide)(e.TableThemeKey, () => e.tableThemeContextFor(
|
|
26402
|
-
const
|
|
26408
|
+
}({ warnings: se });
|
|
26409
|
+
(0, l.provide)(e.TableThemeKey, () => e.tableThemeContextFor(Se.value, ue.value));
|
|
26410
|
+
const Ae = function(e) {
|
|
26403
26411
|
const t = (0, l.ref)((0, a.seedRecentColors)(e.presentationProperties.value));
|
|
26404
26412
|
return e.loadVersion && (0, l.watch)(e.loadVersion, () => {
|
|
26405
26413
|
t.value = (0, a.seedRecentColors)(e.presentationProperties.value);
|
|
@@ -26414,28 +26422,28 @@ var UG = ["aria-busy", "tabindex"], HG = {
|
|
|
26414
26422
|
}
|
|
26415
26423
|
};
|
|
26416
26424
|
}({
|
|
26417
|
-
presentationProperties:
|
|
26418
|
-
loadVersion:
|
|
26425
|
+
presentationProperties: xe,
|
|
26426
|
+
loadVersion: D
|
|
26419
26427
|
});
|
|
26420
|
-
(0, l.provide)(to,
|
|
26421
|
-
headerFooter:
|
|
26422
|
-
customProperties:
|
|
26423
|
-
slide:
|
|
26424
|
-
firstSlideNumber:
|
|
26428
|
+
(0, l.provide)(to, Ae), (0, l.provide)(qa, Ee), e.provideZoomTargetLookup((t) => e.toZoomTargetInfo(Z.value[t])), (0, l.provide)(e.FieldContextKey, () => (0, a.buildFieldSubstitutionContext)({
|
|
26429
|
+
headerFooter: he.value,
|
|
26430
|
+
customProperties: le.value,
|
|
26431
|
+
slide: Re.value,
|
|
26432
|
+
firstSlideNumber: X.firstSlideNumber.value
|
|
26425
26433
|
}));
|
|
26426
|
-
const { tableSelection:
|
|
26427
|
-
canEdit: () =>
|
|
26428
|
-
canEditInline: () =>
|
|
26429
|
-
findActiveElement: (e) =>
|
|
26430
|
-
updateElement: (e, t) =>
|
|
26431
|
-
commitTableCell: (e, t, n, o) =>
|
|
26434
|
+
const { tableSelection: ze } = e.useTableCellEditingContext({
|
|
26435
|
+
canEdit: () => De.value,
|
|
26436
|
+
canEditInline: () => De.value && !Ut.presenting.value,
|
|
26437
|
+
findActiveElement: (e) => Xe.findActiveElement(e),
|
|
26438
|
+
updateElement: (e, t) => it.updateElement(e, t),
|
|
26439
|
+
commitTableCell: (e, t, n, o) => ht.commitTableCell(e, t, n, o)
|
|
26432
26440
|
});
|
|
26433
26441
|
e.useSmartArtNodeEditContext({
|
|
26434
|
-
canEdit: () =>
|
|
26435
|
-
canEditInline: () =>
|
|
26436
|
-
findActiveElement: (e) =>
|
|
26437
|
-
updateElement: (e, t) =>
|
|
26438
|
-
}), e.useEmbeddedFonts(
|
|
26442
|
+
canEdit: () => De.value,
|
|
26443
|
+
canEditInline: () => De.value && !Ut.presenting.value,
|
|
26444
|
+
findActiveElement: (e) => Xe.findActiveElement(e),
|
|
26445
|
+
updateElement: (e, t) => it.updateElement(e, t)
|
|
26446
|
+
}), e.useEmbeddedFonts(X.embeddedFonts), function(t, n, o) {
|
|
26439
26447
|
const r = "pptx-vue-google-fonts";
|
|
26440
26448
|
(0, l.watchEffect)((e) => {
|
|
26441
26449
|
if ("undefined" == typeof document) return;
|
|
@@ -26469,13 +26477,13 @@ var UG = ["aria-busy", "tabindex"], HG = {
|
|
|
26469
26477
|
o && !i && (e.glyphOutlineFontsTick.value += 1);
|
|
26470
26478
|
});
|
|
26471
26479
|
});
|
|
26472
|
-
}(
|
|
26480
|
+
}(Z, X.embeddedFonts, () => v.googleFonts), (0, l.watchEffect)((e) => {
|
|
26473
26481
|
const t = (0, a.buildUserFontFaceStyles)(v.fonts ?? []);
|
|
26474
26482
|
if (!t || "undefined" == typeof document) return;
|
|
26475
26483
|
const n = document.createElement("style");
|
|
26476
26484
|
n.dataset.pptxUserFonts = "vue", n.textContent = t, document.head.appendChild(n), e(() => n.remove());
|
|
26477
26485
|
});
|
|
26478
|
-
const { activeSlideIndex:
|
|
26486
|
+
const { activeSlideIndex: Me, slideCount: Oe, activeSlide: Re, goTo: Le, goPrev: Ue, goNext: He } = function(e) {
|
|
26479
26487
|
const t = (0, l.ref)(0), n = (0, l.computed)(() => e.value.length), o = (0, l.computed)(() => e.value[t.value]);
|
|
26480
26488
|
function a(e) {
|
|
26481
26489
|
e < 0 || e >= n.value || (t.value = e);
|
|
@@ -26488,7 +26496,7 @@ var UG = ["aria-busy", "tabindex"], HG = {
|
|
|
26488
26496
|
goPrev: () => a(t.value - 1),
|
|
26489
26497
|
goNext: () => a(t.value + 1)
|
|
26490
26498
|
};
|
|
26491
|
-
}(
|
|
26499
|
+
}(Z), { zoom: Ge, fitScale: Ke, effectiveZoom: $e, zoomIn: je, zoomOut: We, zoomReset: qe } = function() {
|
|
26492
26500
|
const e = (0, a.createViewerZoomStore)(), t = LG(e, (e) => e.zoom), n = LG(e, (e) => e.fitScale);
|
|
26493
26501
|
return {
|
|
26494
26502
|
zoom: (0, l.computed)({
|
|
@@ -26512,12 +26520,12 @@ var UG = ["aria-busy", "tabindex"], HG = {
|
|
|
26512
26520
|
store: e
|
|
26513
26521
|
};
|
|
26514
26522
|
}();
|
|
26515
|
-
(0, l.watch)(
|
|
26516
|
-
|
|
26517
|
-
}), (0, l.watch)(
|
|
26523
|
+
(0, l.watch)(P, () => {
|
|
26524
|
+
Me.value = 0, Xe.selectedElementIds.value = [], rt.clearHistory(), Ne.value = !1, Te.reset(), _e.reset();
|
|
26525
|
+
}), (0, l.watch)(Me, (e) => {
|
|
26518
26526
|
h("active-slide-change", e);
|
|
26519
26527
|
});
|
|
26520
|
-
const
|
|
26528
|
+
const Ye = function(e) {
|
|
26521
26529
|
let t = null;
|
|
26522
26530
|
return {
|
|
26523
26531
|
onTouchStart: function(n) {
|
|
@@ -26538,10 +26546,10 @@ var UG = ["aria-busy", "tabindex"], HG = {
|
|
|
26538
26546
|
}
|
|
26539
26547
|
};
|
|
26540
26548
|
}({
|
|
26541
|
-
canEdit: () =>
|
|
26542
|
-
goPrev:
|
|
26543
|
-
goNext:
|
|
26544
|
-
}),
|
|
26549
|
+
canEdit: () => De.value,
|
|
26550
|
+
goPrev: Ue,
|
|
26551
|
+
goNext: He
|
|
26552
|
+
}), Xe = function(e) {
|
|
26545
26553
|
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)(() => {
|
|
26546
26554
|
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) => {
|
|
26547
26555
|
const t = a.has(e) ? void 0 : d.value.get(e);
|
|
@@ -26582,10 +26590,10 @@ var UG = ["aria-busy", "tabindex"], HG = {
|
|
|
26582
26590
|
isInteractive: (e) => (0, a.isElementIdInteractive)(e, i.value)
|
|
26583
26591
|
};
|
|
26584
26592
|
}({
|
|
26585
|
-
slides:
|
|
26586
|
-
templateElementsBySlideId:
|
|
26587
|
-
activeSlide:
|
|
26588
|
-
}),
|
|
26593
|
+
slides: Z,
|
|
26594
|
+
templateElementsBySlideId: Q,
|
|
26595
|
+
activeSlide: Re
|
|
26596
|
+
}), Ze = function({ activeSlideIndex: e, goTo: t, selectedElementIds: n }) {
|
|
26589
26597
|
let o = null;
|
|
26590
26598
|
return (0, l.watch)(e, (e) => {
|
|
26591
26599
|
const t = o === e;
|
|
@@ -26594,46 +26602,46 @@ var UG = ["aria-busy", "tabindex"], HG = {
|
|
|
26594
26602
|
t(a), o = e.value, n.value = l;
|
|
26595
26603
|
} };
|
|
26596
26604
|
}({
|
|
26597
|
-
activeSlideIndex:
|
|
26598
|
-
goTo:
|
|
26599
|
-
selectedElementIds:
|
|
26600
|
-
}), { selectedElementIds:
|
|
26601
|
-
maxDepth: (0, a.resolveHistoryDepth)(
|
|
26602
|
-
activeSlideIndex:
|
|
26605
|
+
activeSlideIndex: Me,
|
|
26606
|
+
goTo: Le,
|
|
26607
|
+
selectedElementIds: Xe.selectedElementIds
|
|
26608
|
+
}), { selectedElementIds: Qe, editTemplateMode: Je, activeTemplateElements: et, findActiveElement: tt, selectedElements: nt, mergedSlides: ot, clearSelection: at } = Xe, lt = () => (0, a.loadedThemeName)(X.themeOptions.value, me.value), rt = e.useEditorHistory(Z, Q, {
|
|
26609
|
+
maxDepth: (0, a.resolveHistoryDepth)(M.value),
|
|
26610
|
+
activeSlideIndex: Me,
|
|
26603
26611
|
onChange: () => h("change"),
|
|
26604
26612
|
theme: {
|
|
26605
|
-
theme:
|
|
26606
|
-
themeColorMap:
|
|
26607
|
-
handler:
|
|
26608
|
-
loadedThemeName:
|
|
26609
|
-
slideMasters:
|
|
26613
|
+
theme: Se,
|
|
26614
|
+
themeColorMap: Ee,
|
|
26615
|
+
handler: Ce,
|
|
26616
|
+
loadedThemeName: lt,
|
|
26617
|
+
slideMasters: me
|
|
26610
26618
|
}
|
|
26611
26619
|
});
|
|
26612
|
-
(0, l.watch)(() => (0, a.resolveHistoryDepth)(
|
|
26613
|
-
const
|
|
26614
|
-
slides:
|
|
26615
|
-
activeSlideIndex:
|
|
26616
|
-
pushHistory:
|
|
26617
|
-
selectedElementIds:
|
|
26618
|
-
templateElementsBySlideId:
|
|
26619
|
-
}),
|
|
26620
|
-
(0, l.watch)(
|
|
26620
|
+
(0, l.watch)(() => (0, a.resolveHistoryDepth)(M.value), (e) => rt.setMaxDepth(e));
|
|
26621
|
+
const it = e.useEditorOperations({
|
|
26622
|
+
slides: Z,
|
|
26623
|
+
activeSlideIndex: Me,
|
|
26624
|
+
pushHistory: rt.pushHistory,
|
|
26625
|
+
selectedElementIds: Qe,
|
|
26626
|
+
templateElementsBySlideId: Q
|
|
26627
|
+
}), st = mn(it, () => L.resolved.value);
|
|
26628
|
+
(0, l.watch)(Ge, (e) => {
|
|
26621
26629
|
h("zoom-change", e);
|
|
26622
|
-
}), (0, l.watch)(
|
|
26630
|
+
}), (0, l.watch)(Qe, (e) => {
|
|
26623
26631
|
h("selection-change", e);
|
|
26624
|
-
const t =
|
|
26625
|
-
t && !e.includes(t.elementId) && (
|
|
26626
|
-
}), (0, l.watch)(
|
|
26632
|
+
const t = ze.value;
|
|
26633
|
+
t && !e.includes(t.elementId) && (ze.value = null);
|
|
26634
|
+
}), (0, l.watch)(Oe, (e) => {
|
|
26627
26635
|
h("slide-count-change", e);
|
|
26628
|
-
}), (0, l.watch)(
|
|
26629
|
-
!t || e ||
|
|
26630
|
-
slideCount:
|
|
26631
|
-
canvasSize:
|
|
26636
|
+
}), (0, l.watch)(te, (e, t) => {
|
|
26637
|
+
!t || e || ne.value || h("load", {
|
|
26638
|
+
slideCount: Z.value.length,
|
|
26639
|
+
canvasSize: J.value
|
|
26632
26640
|
});
|
|
26633
|
-
}), (0, l.watch)(
|
|
26641
|
+
}), (0, l.watch)(ne, (e) => {
|
|
26634
26642
|
e && h("error", e);
|
|
26635
26643
|
});
|
|
26636
|
-
const { marquee:
|
|
26644
|
+
const { marquee: ct, beginMarquee: dt, cancelMarquee: pt } = function(e) {
|
|
26637
26645
|
const { getSelectableElements: t, getCanvasSize: n, selectedElementIds: o } = e, r = (0, l.ref)(null);
|
|
26638
26646
|
let i = null, s = 0, c = 0, d = [], p = !1;
|
|
26639
26647
|
function u() {
|
|
@@ -26689,111 +26697,111 @@ var UG = ["aria-busy", "tabindex"], HG = {
|
|
|
26689
26697
|
}
|
|
26690
26698
|
};
|
|
26691
26699
|
}({
|
|
26692
|
-
getSelectableElements: () => [...
|
|
26693
|
-
getCanvasSize: () =>
|
|
26694
|
-
selectedElementIds:
|
|
26700
|
+
getSelectableElements: () => [...et.value, ...Re.value?.elements ?? []].filter((e) => Xe.isInteractive(e.id) && (0, a.canInteractWithElement)(e, "select")),
|
|
26701
|
+
getCanvasSize: () => J.value,
|
|
26702
|
+
selectedElementIds: Qe
|
|
26695
26703
|
});
|
|
26696
|
-
(0, l.onBeforeUnmount)(
|
|
26697
|
-
const
|
|
26698
|
-
activeSlideIndex:
|
|
26699
|
-
selectedElementIds:
|
|
26704
|
+
(0, l.onBeforeUnmount)(pt);
|
|
26705
|
+
const ut = (0, l.ref)(!1), mt = o.useAiPanelController({
|
|
26706
|
+
activeSlideIndex: Me,
|
|
26707
|
+
selectedElementIds: Qe,
|
|
26700
26708
|
selectedElement: () => {
|
|
26701
|
-
const e =
|
|
26702
|
-
return e ?
|
|
26709
|
+
const e = Qe.value[0];
|
|
26710
|
+
return e ? tt(e) ?? null : null;
|
|
26703
26711
|
}
|
|
26704
|
-
}), { formatPainterActive:
|
|
26705
|
-
selectedElements:
|
|
26706
|
-
findActiveElement:
|
|
26707
|
-
ops:
|
|
26708
|
-
}),
|
|
26709
|
-
canEdit: () =>
|
|
26710
|
-
findActiveElement:
|
|
26711
|
-
ops:
|
|
26712
|
-
livePatcher: () =>
|
|
26713
|
-
autosave: () =>
|
|
26714
|
-
activeSlide: () =>
|
|
26712
|
+
}), { formatPainterActive: vt, canActivateFormatPainter: gt, toggleFormatPainter: ft, cancelFormatPainter: xt, applyFormatToTarget: yt } = e.useFormatPainter({
|
|
26713
|
+
selectedElements: nt,
|
|
26714
|
+
findActiveElement: tt,
|
|
26715
|
+
ops: it
|
|
26716
|
+
}), ht = e.useInlineEditing({
|
|
26717
|
+
canEdit: () => De.value,
|
|
26718
|
+
findActiveElement: tt,
|
|
26719
|
+
ops: it,
|
|
26720
|
+
livePatcher: () => ao.collab.livePatcher,
|
|
26721
|
+
autosave: () => $n.engine,
|
|
26722
|
+
activeSlide: () => Re.value,
|
|
26715
26723
|
onConnectedSuspend: (e) => {
|
|
26716
|
-
const t =
|
|
26717
|
-
|
|
26724
|
+
const t = Re.value?.id;
|
|
26725
|
+
Z.value = Z.value.map((n) => n.id === t ? {
|
|
26718
26726
|
...n,
|
|
26719
26727
|
elements: [...(0, a.overlayInlineTextSnapshot)(n.elements, e)]
|
|
26720
26728
|
} : n);
|
|
26721
26729
|
},
|
|
26722
|
-
proofing: () =>
|
|
26723
|
-
}),
|
|
26724
|
-
ops:
|
|
26725
|
-
selectedElementIds:
|
|
26726
|
-
findActiveElement:
|
|
26727
|
-
}), { requestElementEdit:
|
|
26728
|
-
canEdit: () =>
|
|
26729
|
-
editTemplateMode:
|
|
26730
|
-
findActiveElement:
|
|
26731
|
-
openEquationEditorForElement:
|
|
26732
|
-
enterInlineEdit:
|
|
26733
|
-
inlineEditingElementId:
|
|
26734
|
-
commitInlineEdit:
|
|
26735
|
-
cancelInlineEdit:
|
|
26736
|
-
formatPainterActive:
|
|
26737
|
-
cancelFormatPainter:
|
|
26738
|
-
applyFormatToTarget:
|
|
26739
|
-
selectedElementIds:
|
|
26740
|
-
selectElement:
|
|
26741
|
-
clearSelection:
|
|
26742
|
-
activeSlideIndex:
|
|
26743
|
-
aiPickMode:
|
|
26744
|
-
addAiPick:
|
|
26745
|
-
startElementDrag: (e, t, n) =>
|
|
26746
|
-
beginMarquee:
|
|
26747
|
-
slideElements: () =>
|
|
26748
|
-
canvasSize: () =>
|
|
26749
|
-
}),
|
|
26750
|
-
findActiveElement:
|
|
26751
|
-
pushHistory:
|
|
26752
|
-
effectiveZoom:
|
|
26753
|
-
activeTemplateElements:
|
|
26754
|
-
activeSlide:
|
|
26755
|
-
activeSlideIndex:
|
|
26756
|
-
gridSpacingPx:
|
|
26757
|
-
slides:
|
|
26758
|
-
templateElementsBySlideId:
|
|
26759
|
-
canvasSize:
|
|
26760
|
-
enterInlineEdit:
|
|
26761
|
-
}),
|
|
26762
|
-
canvasSize:
|
|
26763
|
-
ops:
|
|
26764
|
-
selectedElementIds:
|
|
26765
|
-
slides:
|
|
26766
|
-
activeSlideIndex:
|
|
26767
|
-
pushHistory:
|
|
26768
|
-
handler:
|
|
26769
|
-
templateElementsBySlideId:
|
|
26770
|
-
}), { imageInputRef:
|
|
26771
|
-
canvasSize:
|
|
26772
|
-
slides:
|
|
26773
|
-
activeSlideIndex:
|
|
26774
|
-
pushHistory:
|
|
26775
|
-
theme:
|
|
26776
|
-
}), { deleteSelected:
|
|
26777
|
-
selectedElementIds:
|
|
26778
|
-
ops:
|
|
26779
|
-
clearSelection:
|
|
26780
|
-
}),
|
|
26781
|
-
slides:
|
|
26782
|
-
activeSlide:
|
|
26783
|
-
activeSlideIndex:
|
|
26784
|
-
selectedElements:
|
|
26785
|
-
pushHistory:
|
|
26786
|
-
updateElement: (e, t) =>
|
|
26787
|
-
previewElement: (e, t) =>
|
|
26788
|
-
findActiveElement:
|
|
26730
|
+
proofing: () => M.value.proofing
|
|
26731
|
+
}), bt = (0, l.ref)(null), kt = e.useInsertElementDialogs({
|
|
26732
|
+
ops: it,
|
|
26733
|
+
selectedElementIds: Qe,
|
|
26734
|
+
findActiveElement: tt
|
|
26735
|
+
}), { requestElementEdit: St, onCanvasDoubleClick: Et, onCanvasPointerDown: Ct, onEscape: wt } = TG({
|
|
26736
|
+
canEdit: () => De.value,
|
|
26737
|
+
editTemplateMode: Je,
|
|
26738
|
+
findActiveElement: tt,
|
|
26739
|
+
openEquationEditorForElement: kt.openEquationEditorForElement,
|
|
26740
|
+
enterInlineEdit: ht.enterInlineEdit,
|
|
26741
|
+
inlineEditingElementId: ht.inlineEditingElementId,
|
|
26742
|
+
commitInlineEdit: ht.commitInlineEdit,
|
|
26743
|
+
cancelInlineEdit: ht.cancelInlineEdit,
|
|
26744
|
+
formatPainterActive: vt,
|
|
26745
|
+
cancelFormatPainter: xt,
|
|
26746
|
+
applyFormatToTarget: yt,
|
|
26747
|
+
selectedElementIds: Qe,
|
|
26748
|
+
selectElement: Xe.selectElement,
|
|
26749
|
+
clearSelection: at,
|
|
26750
|
+
activeSlideIndex: Me,
|
|
26751
|
+
aiPickMode: mt.pickMode,
|
|
26752
|
+
addAiPick: mt.addPick,
|
|
26753
|
+
startElementDrag: (e, t, n) => Nt.startElementDrag(e, t, n),
|
|
26754
|
+
beginMarquee: dt,
|
|
26755
|
+
slideElements: () => Re.value?.elements,
|
|
26756
|
+
canvasSize: () => J.value
|
|
26757
|
+
}), Bt = (0, l.computed)(() => (0, a.computeGridSpacingPx)(ye.value?.gridSpacing, 8)), Nt = e.useElementDrag({
|
|
26758
|
+
findActiveElement: tt,
|
|
26759
|
+
pushHistory: rt.pushHistory,
|
|
26760
|
+
effectiveZoom: $e,
|
|
26761
|
+
activeTemplateElements: et,
|
|
26762
|
+
activeSlide: Re,
|
|
26763
|
+
activeSlideIndex: Me,
|
|
26764
|
+
gridSpacingPx: Bt,
|
|
26765
|
+
slides: Z,
|
|
26766
|
+
templateElementsBySlideId: Q,
|
|
26767
|
+
canvasSize: J,
|
|
26768
|
+
enterInlineEdit: St
|
|
26769
|
+
}), Vt = e.useElementInsertion({
|
|
26770
|
+
canvasSize: J,
|
|
26771
|
+
ops: it,
|
|
26772
|
+
selectedElementIds: Qe,
|
|
26773
|
+
slides: Z,
|
|
26774
|
+
activeSlideIndex: Me,
|
|
26775
|
+
pushHistory: rt.pushHistory,
|
|
26776
|
+
handler: Ce,
|
|
26777
|
+
templateElementsBySlideId: Q
|
|
26778
|
+
}), { imageInputRef: Tt, mediaInputRef: Ft } = Vt, Pt = e.useSlideTemplateInsertion({
|
|
26779
|
+
canvasSize: J,
|
|
26780
|
+
slides: Z,
|
|
26781
|
+
activeSlideIndex: Me,
|
|
26782
|
+
pushHistory: rt.pushHistory,
|
|
26783
|
+
theme: Se
|
|
26784
|
+
}), { deleteSelected: Dt, duplicateSelected: It, bringForward: _t, sendBackward: At } = e.useMultiSelectOps({
|
|
26785
|
+
selectedElementIds: Qe,
|
|
26786
|
+
ops: it,
|
|
26787
|
+
clearSelection: at
|
|
26788
|
+
}), zt = PG({
|
|
26789
|
+
slides: Z,
|
|
26790
|
+
activeSlide: Re,
|
|
26791
|
+
activeSlideIndex: Me,
|
|
26792
|
+
selectedElements: nt,
|
|
26793
|
+
pushHistory: rt.pushHistory,
|
|
26794
|
+
updateElement: (e, t) => it.updateElement(e, t),
|
|
26795
|
+
previewElement: (e, t) => it.previewElement(e, t),
|
|
26796
|
+
findActiveElement: tt
|
|
26789
26797
|
});
|
|
26790
|
-
(0, l.provide)(Ww,
|
|
26791
|
-
const
|
|
26792
|
-
slides:
|
|
26793
|
-
activeSlideIndex:
|
|
26794
|
-
pushHistory:
|
|
26795
|
-
templateElementsBySlideId:
|
|
26796
|
-
}),
|
|
26798
|
+
(0, l.provide)(Ww, zt.inspectorPreview);
|
|
26799
|
+
const Mt = e.useSlideOperations({
|
|
26800
|
+
slides: Z,
|
|
26801
|
+
activeSlideIndex: Me,
|
|
26802
|
+
pushHistory: rt.pushHistory,
|
|
26803
|
+
templateElementsBySlideId: Q
|
|
26804
|
+
}), Ot = function(t) {
|
|
26797
26805
|
const n = (0, l.shallowRef)(null), o = (0, l.computed)(() => null !== n.value);
|
|
26798
26806
|
function r(o) {
|
|
26799
26807
|
const a = t.findSlideElement(o);
|
|
@@ -26813,11 +26821,11 @@ var UG = ["aria-busy", "tabindex"], HG = {
|
|
|
26813
26821
|
}
|
|
26814
26822
|
};
|
|
26815
26823
|
}({
|
|
26816
|
-
findSlideElement: (e) =>
|
|
26817
|
-
addElement: (e) =>
|
|
26818
|
-
removeElement: (e) =>
|
|
26819
|
-
selectedElementIds:
|
|
26820
|
-
}),
|
|
26824
|
+
findSlideElement: (e) => Re.value?.elements.find((t) => t.id === e),
|
|
26825
|
+
addElement: (e) => it.addElement(e),
|
|
26826
|
+
removeElement: (e) => it.removeElement(e),
|
|
26827
|
+
selectedElementIds: Qe
|
|
26828
|
+
}), Rt = function(e) {
|
|
26821
26829
|
const { clipboard: t, ops: n, selectedElementIds: o } = e, r = (0, l.ref)(!1), i = (0, l.shallowRef)(null);
|
|
26822
26830
|
return {
|
|
26823
26831
|
isPasteSpecialDialogOpen: r,
|
|
@@ -26865,15 +26873,15 @@ var UG = ["aria-busy", "tabindex"], HG = {
|
|
|
26865
26873
|
}
|
|
26866
26874
|
};
|
|
26867
26875
|
}({
|
|
26868
|
-
clipboard:
|
|
26869
|
-
ops:
|
|
26870
|
-
selectedElementIds:
|
|
26876
|
+
clipboard: Ot.clipboard,
|
|
26877
|
+
ops: it,
|
|
26878
|
+
selectedElementIds: Qe
|
|
26871
26879
|
});
|
|
26872
|
-
function
|
|
26873
|
-
const e =
|
|
26874
|
-
e &&
|
|
26880
|
+
function Lt() {
|
|
26881
|
+
const e = Ot.pasteElement();
|
|
26882
|
+
e && Rt.notePastedElement(e);
|
|
26875
26883
|
}
|
|
26876
|
-
const
|
|
26884
|
+
const Ut = function(t) {
|
|
26877
26885
|
const { slides: n, activeSlideIndex: o, pushHistory: r } = t, { presenting: i, startPresenting: s, onPresentClose: c, onPresentSlideChange: d } = e.usePresentationModeWiring({
|
|
26878
26886
|
slides: n,
|
|
26879
26887
|
activeSlideIndex: o,
|
|
@@ -26919,23 +26927,23 @@ var UG = ["aria-busy", "tabindex"], HG = {
|
|
|
26919
26927
|
presentationStartIndex: u
|
|
26920
26928
|
};
|
|
26921
26929
|
}({
|
|
26922
|
-
slides:
|
|
26923
|
-
activeSlideIndex:
|
|
26924
|
-
customShows:
|
|
26925
|
-
activeCustomShowId: () =>
|
|
26926
|
-
authoredRange: () =>
|
|
26927
|
-
pushHistory:
|
|
26930
|
+
slides: Z,
|
|
26931
|
+
activeSlideIndex: Me,
|
|
26932
|
+
customShows: ge,
|
|
26933
|
+
activeCustomShowId: () => ho.activeCustomShowId.value,
|
|
26934
|
+
authoredRange: () => bo.value,
|
|
26935
|
+
pushHistory: rt.pushHistory
|
|
26928
26936
|
});
|
|
26929
26937
|
e.useChartCanvasEditContext({
|
|
26930
|
-
canEditInline: () =>
|
|
26931
|
-
isElementSelected: (e) =>
|
|
26932
|
-
updateElement: (e, t) =>
|
|
26938
|
+
canEditInline: () => De.value && !Ut.presenting.value,
|
|
26939
|
+
isElementSelected: (e) => Qe.value.includes(e),
|
|
26940
|
+
updateElement: (e, t) => it.updateElement(e, t)
|
|
26933
26941
|
});
|
|
26934
|
-
const
|
|
26935
|
-
selectedElement: () => 1 ===
|
|
26936
|
-
canEdit: () =>
|
|
26937
|
-
updateElement: (e, t) =>
|
|
26938
|
-
}),
|
|
26942
|
+
const Ht = e.useChartFormatPane({
|
|
26943
|
+
selectedElement: () => 1 === Qe.value.length ? nt.value[0] : null,
|
|
26944
|
+
canEdit: () => De.value && !Ut.presenting.value,
|
|
26945
|
+
updateElement: (e, t) => it.updateElement(e, t)
|
|
26946
|
+
}), Gt = function(e) {
|
|
26939
26947
|
const t = (0, l.ref)(!1), n = (0, l.ref)(null);
|
|
26940
26948
|
function o(o) {
|
|
26941
26949
|
const a = e.findSlideElement(o);
|
|
@@ -26954,43 +26962,43 @@ var UG = ["aria-busy", "tabindex"], HG = {
|
|
|
26954
26962
|
}
|
|
26955
26963
|
};
|
|
26956
26964
|
}({
|
|
26957
|
-
findSlideElement: (e) =>
|
|
26958
|
-
selectedElementIds:
|
|
26959
|
-
updateElement: (e, t) =>
|
|
26965
|
+
findSlideElement: (e) => Re.value?.elements.find((t) => t.id === e),
|
|
26966
|
+
selectedElementIds: Qe,
|
|
26967
|
+
updateElement: (e, t) => it.updateElement(e, t)
|
|
26960
26968
|
});
|
|
26961
|
-
const
|
|
26962
|
-
slides:
|
|
26963
|
-
showMatch:
|
|
26964
|
-
pushHistory:
|
|
26965
|
-
open:
|
|
26966
|
-
}),
|
|
26967
|
-
mergedSlides:
|
|
26968
|
-
slides:
|
|
26969
|
-
slideCount:
|
|
26970
|
-
canvasSize:
|
|
26971
|
-
activeSlideIndex:
|
|
26972
|
-
saveAs:
|
|
26973
|
-
fileName: () =>
|
|
26974
|
-
getDeckData: () => VG(
|
|
26975
|
-
imageExportScale: () => (0, a.resolveImageResolutionScale)(
|
|
26976
|
-
getOptions: () =>
|
|
26977
|
-
filePath:
|
|
26978
|
-
storage: () =>
|
|
26969
|
+
const Kt = (0, l.ref)(!1), $t = e.useFindReplace({
|
|
26970
|
+
slides: Z,
|
|
26971
|
+
showMatch: Ze.showSlideSelection,
|
|
26972
|
+
pushHistory: rt.pushHistory,
|
|
26973
|
+
open: Kt
|
|
26974
|
+
}), Wt = e.useExportWiring({
|
|
26975
|
+
mergedSlides: ot,
|
|
26976
|
+
slides: Z,
|
|
26977
|
+
slideCount: Oe,
|
|
26978
|
+
canvasSize: J,
|
|
26979
|
+
activeSlideIndex: Me,
|
|
26980
|
+
saveAs: X.saveAs,
|
|
26981
|
+
fileName: () => N.value.fileName,
|
|
26982
|
+
getDeckData: () => VG(X),
|
|
26983
|
+
imageExportScale: () => (0, a.resolveImageResolutionScale)(M.value),
|
|
26984
|
+
getOptions: () => M.value,
|
|
26985
|
+
filePath: V,
|
|
26986
|
+
storage: () => N.value.storage,
|
|
26979
26987
|
onSaveError: (e) => {
|
|
26980
|
-
h("error", (0, a.saveFailureMessage)(e)),
|
|
26988
|
+
h("error", (0, a.saveFailureMessage)(e)), _e.notify(a.SAVE_FAILED_TOAST);
|
|
26981
26989
|
},
|
|
26982
|
-
changeSources: () => [
|
|
26990
|
+
changeSources: () => [Z.value, Q.value],
|
|
26983
26991
|
onSavedClean: () => {
|
|
26984
|
-
|
|
26992
|
+
$n.isDirty.value = !1;
|
|
26985
26993
|
}
|
|
26986
|
-
}), { exportStageRef:
|
|
26987
|
-
slides:
|
|
26988
|
-
activeSlideIndex:
|
|
26989
|
-
rasterizeSlide:
|
|
26990
|
-
slideSize:
|
|
26991
|
-
handoutMaster:
|
|
26992
|
-
canOpen: () =>
|
|
26993
|
-
}),
|
|
26994
|
+
}), { exportStageRef: qt, exportSlide: Yt, rasterizeSlide: Xt, exportProgressCtl: Zt, onExportPdf: Qt } = Wt, Jt = e.usePrint({
|
|
26995
|
+
slides: ot,
|
|
26996
|
+
activeSlideIndex: Me,
|
|
26997
|
+
rasterizeSlide: Xt,
|
|
26998
|
+
slideSize: J,
|
|
26999
|
+
handoutMaster: ke,
|
|
27000
|
+
canOpen: () => G("print")
|
|
27001
|
+
}), en = function(e) {
|
|
26994
27002
|
const t = (0, l.ref)(!1), n = (0, l.ref)(!1), o = (0, l.ref)(!1);
|
|
26995
27003
|
return {
|
|
26996
27004
|
showSorter: t,
|
|
@@ -27008,39 +27016,39 @@ var UG = ["aria-busy", "tabindex"], HG = {
|
|
|
27008
27016
|
}
|
|
27009
27017
|
};
|
|
27010
27018
|
}({
|
|
27011
|
-
slides:
|
|
27012
|
-
goTo:
|
|
27013
|
-
moveSlide:
|
|
27014
|
-
pushHistory:
|
|
27015
|
-
}),
|
|
27016
|
-
slides:
|
|
27017
|
-
activeSlideIndex:
|
|
27018
|
-
activeSlide:
|
|
27019
|
-
pushHistory:
|
|
27020
|
-
selectedElements:
|
|
27019
|
+
slides: Z,
|
|
27020
|
+
goTo: Le,
|
|
27021
|
+
moveSlide: Mt.moveSlide,
|
|
27022
|
+
pushHistory: rt.pushHistory
|
|
27023
|
+
}), tn = (0, l.ref)(!1), nn = e.useAccessibility(Z), { onNotesUpdate: on, toggleSlideHidden: an, applySlideBackgroundPatch: ln, onTransitionChange: rn, onApplyTransitionToAll: sn, onAddAnimation: cn, onRemoveAnimation: dn } = e.useSlideMutations({
|
|
27024
|
+
slides: Z,
|
|
27025
|
+
activeSlideIndex: Me,
|
|
27026
|
+
activeSlide: Re,
|
|
27027
|
+
pushHistory: rt.pushHistory,
|
|
27028
|
+
selectedElements: nt,
|
|
27021
27029
|
onNotesChanged: (e) => h("notes-update", e)
|
|
27022
|
-
}), { canGroup:
|
|
27023
|
-
selectedElements:
|
|
27024
|
-
selectedElementIds:
|
|
27025
|
-
activeSlideIndex:
|
|
27026
|
-
slides:
|
|
27027
|
-
canvasSize:
|
|
27028
|
-
pushHistory:
|
|
27029
|
-
}),
|
|
27030
|
-
canEdit: () =>
|
|
27031
|
-
slides:
|
|
27032
|
-
activeSlideIndex:
|
|
27033
|
-
selectedElementIds:
|
|
27034
|
-
pushHistory: () =>
|
|
27035
|
-
},
|
|
27036
|
-
..._G(
|
|
27030
|
+
}), { canGroup: pn, canUngroup: un, canDistribute: vn, selectionGroupable: gn, onAlign: fn, onDistribute: xn, onGroup: yn, onUngroup: hn } = e.useAlignGroup({
|
|
27031
|
+
selectedElements: nt,
|
|
27032
|
+
selectedElementIds: Qe,
|
|
27033
|
+
activeSlideIndex: Me,
|
|
27034
|
+
slides: Z,
|
|
27035
|
+
canvasSize: J,
|
|
27036
|
+
pushHistory: rt.pushHistory
|
|
27037
|
+
}), bn = {
|
|
27038
|
+
canEdit: () => De.value && !Ut.presenting.value,
|
|
27039
|
+
slides: Z,
|
|
27040
|
+
activeSlideIndex: Me,
|
|
27041
|
+
selectedElementIds: Qe,
|
|
27042
|
+
pushHistory: () => rt.pushHistory()
|
|
27043
|
+
}, kn = {
|
|
27044
|
+
..._G(bn),
|
|
27037
27045
|
...zG({
|
|
27038
|
-
...
|
|
27039
|
-
mediaDataUrls:
|
|
27046
|
+
...bn,
|
|
27047
|
+
mediaDataUrls: ee
|
|
27040
27048
|
})
|
|
27041
27049
|
};
|
|
27042
|
-
(0, l.provide)(Dn,
|
|
27043
|
-
const
|
|
27050
|
+
(0, l.provide)(Dn, kn);
|
|
27051
|
+
const Sn = e.useRibbonUiState(v.inspectorInitiallyOpen), { activeTool: En, drawingColor: Cn, drawingWidth: wn, inspectorOpen: Bn, sidebarCollapsed: Nn, notesExpanded: Vn, showGrid: Tn, showRulers: Fn, showGuides: Pn, spellCheckEnabled: In, themeGalleryOpen: _n, themeEditorOpen: An } = Sn, zn = (0, l.ref)(null), Mn = function(e) {
|
|
27044
27052
|
const { t: n } = t.useI18n(), o = (0, l.ref)({
|
|
27045
27053
|
open: !1,
|
|
27046
27054
|
x: 0,
|
|
@@ -27105,78 +27113,78 @@ var UG = ["aria-busy", "tabindex"], HG = {
|
|
|
27105
27113
|
}
|
|
27106
27114
|
};
|
|
27107
27115
|
}({
|
|
27108
|
-
slideIndex: () =>
|
|
27109
|
-
hasClipboard:
|
|
27110
|
-
showGrid:
|
|
27111
|
-
showRulers:
|
|
27112
|
-
onPaste:
|
|
27116
|
+
slideIndex: () => Me.value,
|
|
27117
|
+
hasClipboard: Ot.hasClipboard,
|
|
27118
|
+
showGrid: Tn,
|
|
27119
|
+
showRulers: Fn,
|
|
27120
|
+
onPaste: Lt,
|
|
27113
27121
|
onOpenLayoutGallery: (e, t) => {
|
|
27114
|
-
|
|
27122
|
+
zn.value = {
|
|
27115
27123
|
x: e,
|
|
27116
27124
|
y: t
|
|
27117
27125
|
};
|
|
27118
27126
|
},
|
|
27119
27127
|
onResetSlide: () => {
|
|
27120
|
-
const e = (0, a.resetSlideLayoutPath)(
|
|
27121
|
-
e &&
|
|
27128
|
+
const e = (0, a.resetSlideLayoutPath)(Re.value);
|
|
27129
|
+
e && Vt.applyLayoutToActiveSlide(e);
|
|
27122
27130
|
},
|
|
27123
27131
|
onOpenFormatBackground: () => {
|
|
27124
|
-
|
|
27132
|
+
Qe.value = [], Bn.value = !0;
|
|
27125
27133
|
},
|
|
27126
|
-
customization: () =>
|
|
27127
|
-
}),
|
|
27134
|
+
customization: () => L.resolved.value
|
|
27135
|
+
}), On = (0, l.ref)(/* @__PURE__ */ new Map());
|
|
27128
27136
|
(0, l.watchEffect)(() => {
|
|
27129
|
-
|
|
27130
|
-
|
|
27137
|
+
zn.value && Vt.loadLayoutPreviews().then((e) => {
|
|
27138
|
+
On.value = new Map(e.map((e) => [e.path, e]));
|
|
27131
27139
|
}).catch(() => {});
|
|
27132
27140
|
});
|
|
27133
|
-
const
|
|
27134
|
-
anchor:
|
|
27135
|
-
layoutOptions:
|
|
27136
|
-
previews:
|
|
27137
|
-
currentLayoutPath:
|
|
27141
|
+
const Rn = (0, l.computed)(() => ({
|
|
27142
|
+
anchor: zn.value,
|
|
27143
|
+
layoutOptions: X.layoutOptions.value,
|
|
27144
|
+
previews: On.value,
|
|
27145
|
+
currentLayoutPath: Re.value?.layoutPath,
|
|
27138
27146
|
onSelect: (e) => {
|
|
27139
|
-
|
|
27147
|
+
Vt.applyLayoutToActiveSlide(e.path), zn.value = null;
|
|
27140
27148
|
},
|
|
27141
27149
|
onClose: () => {
|
|
27142
|
-
|
|
27150
|
+
zn.value = null;
|
|
27143
27151
|
}
|
|
27144
|
-
})), { contextMenu:
|
|
27145
|
-
slideIndex: () =>
|
|
27146
|
-
canEdit: () =>
|
|
27147
|
-
findActiveElement:
|
|
27148
|
-
tableSelection:
|
|
27149
|
-
hasClipboard:
|
|
27150
|
-
canGroup:
|
|
27151
|
-
selectionGroupable:
|
|
27152
|
-
editTemplateMode:
|
|
27153
|
-
selectedElementIds:
|
|
27154
|
-
inlineEditingElementId:
|
|
27155
|
-
inspectorOpen:
|
|
27156
|
-
enterInlineEdit:
|
|
27157
|
-
ops:
|
|
27158
|
-
cutElement:
|
|
27159
|
-
copyElement:
|
|
27160
|
-
pasteElement:
|
|
27161
|
-
onGroup:
|
|
27162
|
-
onUngroup:
|
|
27163
|
-
onEmptyCanvasContextMenu:
|
|
27164
|
-
openHyperlinkDialog:
|
|
27152
|
+
})), { contextMenu: Ln, contextItems: Un, onCanvasContextMenu: Hn, onContextSelect: Gn } = e.useContextMenu({
|
|
27153
|
+
slideIndex: () => Me.value,
|
|
27154
|
+
canEdit: () => De.value,
|
|
27155
|
+
findActiveElement: tt,
|
|
27156
|
+
tableSelection: ze,
|
|
27157
|
+
hasClipboard: Ot.hasClipboard,
|
|
27158
|
+
canGroup: pn,
|
|
27159
|
+
selectionGroupable: gn,
|
|
27160
|
+
editTemplateMode: Je,
|
|
27161
|
+
selectedElementIds: Qe,
|
|
27162
|
+
inlineEditingElementId: ht.inlineEditingElementId,
|
|
27163
|
+
inspectorOpen: Bn,
|
|
27164
|
+
enterInlineEdit: ht.enterInlineEdit,
|
|
27165
|
+
ops: it,
|
|
27166
|
+
cutElement: Ot.cutElement,
|
|
27167
|
+
copyElement: Ot.copyElement,
|
|
27168
|
+
pasteElement: Lt,
|
|
27169
|
+
onGroup: yn,
|
|
27170
|
+
onUngroup: hn,
|
|
27171
|
+
onEmptyCanvasContextMenu: Mn.openCanvasContextMenu,
|
|
27172
|
+
openHyperlinkDialog: Gt.openHyperlinkDialog,
|
|
27165
27173
|
onAddComment: () => {
|
|
27166
|
-
|
|
27174
|
+
oo.showComments.value = !0;
|
|
27167
27175
|
},
|
|
27168
|
-
aiEnabled: () =>
|
|
27169
|
-
customization: () =>
|
|
27170
|
-
onEditPoints:
|
|
27171
|
-
mergeCrop:
|
|
27172
|
-
chartFormat:
|
|
27176
|
+
aiEnabled: () => $.value,
|
|
27177
|
+
customization: () => L.resolved.value,
|
|
27178
|
+
onEditPoints: st.startEditPoints,
|
|
27179
|
+
mergeCrop: kn,
|
|
27180
|
+
chartFormat: Ht,
|
|
27173
27181
|
onAskAi: () => {
|
|
27174
|
-
|
|
27182
|
+
mt.askAboutSelection(), ut.value = !0;
|
|
27175
27183
|
},
|
|
27176
27184
|
onFixAi: () => {
|
|
27177
|
-
|
|
27185
|
+
mt.fixSelection(), ut.value = !0;
|
|
27178
27186
|
}
|
|
27179
|
-
}),
|
|
27187
|
+
}), Kn = (0, l.ref)(!1), { autosave: $n, autosaveEnabled: jn, autosaveActive: qn, toggleAutosave: Yn, autosaveDisabledReason: Xn, autosaveToggleAvailable: Zn } = function(t) {
|
|
27180
27188
|
const n = (0, l.ref)(!0), o = (0, l.computed)(() => (0, a.resolveAutosaveActivation)({
|
|
27181
27189
|
hostAutosave: t.autosaveEnabledByHost(),
|
|
27182
27190
|
userEnabled: n.value,
|
|
@@ -27212,21 +27220,21 @@ var UG = ["aria-busy", "tabindex"], HG = {
|
|
|
27212
27220
|
autosaveToggleAvailable: s
|
|
27213
27221
|
};
|
|
27214
27222
|
}({
|
|
27215
|
-
slides:
|
|
27216
|
-
templateElements:
|
|
27217
|
-
paused:
|
|
27218
|
-
loading:
|
|
27219
|
-
canEdit: () =>
|
|
27223
|
+
slides: Z,
|
|
27224
|
+
templateElements: Q,
|
|
27225
|
+
paused: Kn,
|
|
27226
|
+
loading: te,
|
|
27227
|
+
canEdit: () => De.value,
|
|
27220
27228
|
autosaveEnabledByHost: () => v.autosave,
|
|
27221
27229
|
intervalMs: () => v.autosaveIntervalMs,
|
|
27222
|
-
optionsIntervalSeconds: () => (0, a.resolveAutosaveIntervalSeconds)(
|
|
27223
|
-
snapshotName:
|
|
27224
|
-
storage: () =>
|
|
27225
|
-
getRecoverySnapshot:
|
|
27226
|
-
getInlineEditingId: () =>
|
|
27230
|
+
optionsIntervalSeconds: () => (0, a.resolveAutosaveIntervalSeconds)(M.value),
|
|
27231
|
+
snapshotName: V,
|
|
27232
|
+
storage: () => N.value.storage,
|
|
27233
|
+
getRecoverySnapshot: Be,
|
|
27234
|
+
getInlineEditingId: () => ht.inlineEditingElementId.value,
|
|
27227
27235
|
emitAutosave: (e) => h("autosave", e),
|
|
27228
|
-
captureVersion: (e, t) =>
|
|
27229
|
-
}),
|
|
27236
|
+
captureVersion: (e, t) => yo.versionHistory.capture(e, t)
|
|
27237
|
+
}), Qn = function(e) {
|
|
27230
27238
|
const n = (0, a.createAutosaveRecoveryController)({
|
|
27231
27239
|
getStorage: () => e.storage?.(),
|
|
27232
27240
|
load: (t) => e.onRestore(t),
|
|
@@ -27255,18 +27263,18 @@ var UG = ["aria-busy", "tabindex"], HG = {
|
|
|
27255
27263
|
discard: () => n.discard()
|
|
27256
27264
|
};
|
|
27257
27265
|
}({
|
|
27258
|
-
filePath:
|
|
27259
|
-
fileName: () =>
|
|
27260
|
-
storage: () =>
|
|
27261
|
-
loading:
|
|
27262
|
-
error:
|
|
27263
|
-
slideCount: () =>
|
|
27266
|
+
filePath: V,
|
|
27267
|
+
fileName: () => N.value.fileName,
|
|
27268
|
+
storage: () => N.value.storage,
|
|
27269
|
+
loading: te,
|
|
27270
|
+
error: ne,
|
|
27271
|
+
slideCount: () => Z.value.length,
|
|
27264
27272
|
autosaveAllowed: () => !1 !== v.autosave,
|
|
27265
27273
|
onOffered: (e) => h("autosave-recovery", e),
|
|
27266
27274
|
onRestore: (e) => {
|
|
27267
|
-
|
|
27275
|
+
T.internalContent.value = e;
|
|
27268
27276
|
}
|
|
27269
|
-
}),
|
|
27277
|
+
}), Jn = function(e) {
|
|
27270
27278
|
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);
|
|
27271
27279
|
function y(e) {
|
|
27272
27280
|
const t = Math.max(1, Math.round(e.width)), n = Math.max(1, Math.round(e.height));
|
|
@@ -27338,24 +27346,24 @@ var UG = ["aria-busy", "tabindex"], HG = {
|
|
|
27338
27346
|
}
|
|
27339
27347
|
};
|
|
27340
27348
|
}({
|
|
27341
|
-
handler:
|
|
27342
|
-
slideMasters:
|
|
27343
|
-
canvasSize:
|
|
27344
|
-
slideSize:
|
|
27345
|
-
slides:
|
|
27346
|
-
templateElementsBySlideId:
|
|
27347
|
-
pptxTheme:
|
|
27348
|
-
themeColorMap:
|
|
27349
|
-
coreProperties:
|
|
27350
|
-
appProperties:
|
|
27351
|
-
customProperties:
|
|
27352
|
-
tagCollections:
|
|
27349
|
+
handler: Ce,
|
|
27350
|
+
slideMasters: me,
|
|
27351
|
+
canvasSize: J,
|
|
27352
|
+
slideSize: X.slideSize,
|
|
27353
|
+
slides: Z,
|
|
27354
|
+
templateElementsBySlideId: Q,
|
|
27355
|
+
pptxTheme: Se,
|
|
27356
|
+
themeColorMap: Ee,
|
|
27357
|
+
coreProperties: ae,
|
|
27358
|
+
appProperties: ce,
|
|
27359
|
+
customProperties: le,
|
|
27360
|
+
tagCollections: de,
|
|
27353
27361
|
markDirty: () => {
|
|
27354
|
-
|
|
27362
|
+
$n.isDirty.value = !0;
|
|
27355
27363
|
},
|
|
27356
27364
|
onCorePropertiesChanged: (e) => h("properties-change", e),
|
|
27357
|
-
pushHistory:
|
|
27358
|
-
}),
|
|
27365
|
+
pushHistory: rt.pushHistory
|
|
27366
|
+
}), eo = function(e) {
|
|
27359
27367
|
const { tableStyleMap: t, tableStylesToDelete: n, markDirty: o } = e;
|
|
27360
27368
|
return {
|
|
27361
27369
|
onTableStyleMapChange: function(e) {
|
|
@@ -27374,105 +27382,105 @@ var UG = ["aria-busy", "tabindex"], HG = {
|
|
|
27374
27382
|
}
|
|
27375
27383
|
};
|
|
27376
27384
|
}({
|
|
27377
|
-
tableStyleMap:
|
|
27378
|
-
tableStylesToDelete:
|
|
27385
|
+
tableStyleMap: X.tableStyleMap,
|
|
27386
|
+
tableStylesToDelete: X.tableStylesToDelete,
|
|
27379
27387
|
markDirty: () => {
|
|
27380
|
-
|
|
27388
|
+
$n.isDirty.value = !0;
|
|
27381
27389
|
}
|
|
27382
|
-
}),
|
|
27383
|
-
activeSlide:
|
|
27384
|
-
activeSlideIndex:
|
|
27385
|
-
slides:
|
|
27386
|
-
authorName:
|
|
27387
|
-
pushHistory:
|
|
27388
|
-
}),
|
|
27389
|
-
slides:
|
|
27390
|
-
history:
|
|
27391
|
-
slidesPaused: () =>
|
|
27392
|
-
loadVersion:
|
|
27393
|
-
getLoadOrigin: () =>
|
|
27394
|
-
getTemplateElements: () =>
|
|
27390
|
+
}), no = (0, l.computed)(() => v.authorName || M.value.general.userName || "You"), oo = e.useCommentsWiring({
|
|
27391
|
+
activeSlide: Re,
|
|
27392
|
+
activeSlideIndex: Me,
|
|
27393
|
+
slides: Z,
|
|
27394
|
+
authorName: no,
|
|
27395
|
+
pushHistory: rt.pushHistory
|
|
27396
|
+
}), ao = e.useCollaborationWiring({
|
|
27397
|
+
slides: Z,
|
|
27398
|
+
history: rt,
|
|
27399
|
+
slidesPaused: () => Kn.value,
|
|
27400
|
+
loadVersion: D,
|
|
27401
|
+
getLoadOrigin: () => T.loadOrigin.value,
|
|
27402
|
+
getTemplateElements: () => Q.value,
|
|
27395
27403
|
getSourceBytes: () => {
|
|
27396
|
-
const e =
|
|
27404
|
+
const e = P.value;
|
|
27397
27405
|
return e ? e instanceof Uint8Array ? e : new Uint8Array(e) : null;
|
|
27398
27406
|
},
|
|
27399
27407
|
getSaveOptions: () => (0, a.buildDeckSaveOptions)({
|
|
27400
|
-
headerFooter:
|
|
27401
|
-
presentationProperties:
|
|
27402
|
-
viewProperties:
|
|
27403
|
-
customShows:
|
|
27404
|
-
sections:
|
|
27405
|
-
coreProperties:
|
|
27406
|
-
appProperties:
|
|
27407
|
-
customProperties:
|
|
27408
|
-
tagCollections:
|
|
27409
|
-
slideMasters:
|
|
27410
|
-
notesMaster:
|
|
27411
|
-
handoutMaster:
|
|
27408
|
+
headerFooter: he.value,
|
|
27409
|
+
presentationProperties: xe.value,
|
|
27410
|
+
viewProperties: ye.value,
|
|
27411
|
+
customShows: ge.value,
|
|
27412
|
+
sections: ve.value,
|
|
27413
|
+
coreProperties: ae.value,
|
|
27414
|
+
appProperties: ce.value,
|
|
27415
|
+
customProperties: le.value,
|
|
27416
|
+
tagCollections: de.value,
|
|
27417
|
+
slideMasters: me.value,
|
|
27418
|
+
notesMaster: be.value,
|
|
27419
|
+
handoutMaster: ke.value,
|
|
27412
27420
|
slideSize: (0, a.resolveSlideSizeSelection)({
|
|
27413
|
-
current:
|
|
27414
|
-
canvas:
|
|
27421
|
+
current: X.slideSize.value,
|
|
27422
|
+
canvas: J.value
|
|
27415
27423
|
}).size,
|
|
27416
|
-
tableStyleMap:
|
|
27417
|
-
tableStylesDefaultId:
|
|
27418
|
-
tableStylesToDelete:
|
|
27419
|
-
embedFonts:
|
|
27424
|
+
tableStyleMap: ue.value,
|
|
27425
|
+
tableStylesDefaultId: X.tableStylesDefaultId.value,
|
|
27426
|
+
tableStylesToDelete: X.tableStylesToDelete.value,
|
|
27427
|
+
embedFonts: po.embedFontsEnabled.value
|
|
27420
27428
|
}),
|
|
27421
27429
|
initialUserColor: (0, a.resolveCollaborationConfig)(v.collaboration)?.userColor,
|
|
27422
|
-
canvasWidth: (0, l.computed)(() =>
|
|
27423
|
-
canvasHeight: (0, l.computed)(() =>
|
|
27430
|
+
canvasWidth: (0, l.computed)(() => J.value.width),
|
|
27431
|
+
canvasHeight: (0, l.computed)(() => J.value.height),
|
|
27424
27432
|
collaborationProp: () => v.collaboration,
|
|
27425
|
-
selectedElementIds:
|
|
27426
|
-
activeSlideIndex:
|
|
27427
|
-
goTo:
|
|
27428
|
-
effectiveZoom:
|
|
27433
|
+
selectedElementIds: Qe,
|
|
27434
|
+
activeSlideIndex: Me,
|
|
27435
|
+
goTo: Le,
|
|
27436
|
+
effectiveZoom: $e,
|
|
27429
27437
|
authorName: () => v.authorName,
|
|
27430
27438
|
onStartCollaboration: (e) => h("start-collaboration", e),
|
|
27431
27439
|
onStopCollaboration: () => h("stop-collaboration")
|
|
27432
27440
|
});
|
|
27433
|
-
(0, l.watch)(
|
|
27434
|
-
e && !
|
|
27441
|
+
(0, l.watch)(ao.collab.readOnly, (e) => {
|
|
27442
|
+
e && !Pe.value && ht.commitInlineEdit(), Pe.value = e;
|
|
27435
27443
|
}, {
|
|
27436
27444
|
immediate: !0,
|
|
27437
27445
|
flush: "sync"
|
|
27438
27446
|
});
|
|
27439
|
-
const
|
|
27440
|
-
(0, l.watch)(
|
|
27447
|
+
const lo = (0, a.createCollaborationStateReporter)((e) => h("collaboration-change", e));
|
|
27448
|
+
(0, l.watch)(ao.collab.state, (e) => lo.update(e), {
|
|
27441
27449
|
immediate: !0,
|
|
27442
27450
|
flush: "sync"
|
|
27443
27451
|
});
|
|
27444
|
-
const
|
|
27445
|
-
signatures:
|
|
27446
|
-
isDirty:
|
|
27447
|
-
}),
|
|
27448
|
-
slides:
|
|
27449
|
-
embeddedFonts:
|
|
27450
|
-
}),
|
|
27451
|
-
function
|
|
27452
|
-
|
|
27453
|
-
}
|
|
27454
|
-
const
|
|
27455
|
-
findActiveElement:
|
|
27456
|
-
activeSlide:
|
|
27457
|
-
selectedElementIds:
|
|
27458
|
-
ops:
|
|
27459
|
-
}),
|
|
27460
|
-
coreProperties:
|
|
27461
|
-
customProperties:
|
|
27462
|
-
appProperties:
|
|
27452
|
+
const io = e.useSignatureWorkflow({
|
|
27453
|
+
signatures: pe,
|
|
27454
|
+
isDirty: $n.isDirty
|
|
27455
|
+
}), co = e.useSlideShowSettings({ presentationProperties: xe }), po = e.useFontEmbedding({
|
|
27456
|
+
slides: Z,
|
|
27457
|
+
embeddedFonts: X.embeddedFonts
|
|
27458
|
+
}), mo = (0, l.ref)([]);
|
|
27459
|
+
function vo(e) {
|
|
27460
|
+
mo.value.includes(e) || (mo.value = [...mo.value, e]);
|
|
27461
|
+
}
|
|
27462
|
+
const go = e.useSelectionPaneWiring({
|
|
27463
|
+
findActiveElement: tt,
|
|
27464
|
+
activeSlide: Re,
|
|
27465
|
+
selectedElementIds: Qe,
|
|
27466
|
+
ops: it
|
|
27467
|
+
}), fo = e.useDocumentPropertiesDialog({
|
|
27468
|
+
coreProperties: ae,
|
|
27469
|
+
customProperties: le,
|
|
27470
|
+
appProperties: ce,
|
|
27463
27471
|
onCorePropertiesChanged: (e) => h("properties-change", e)
|
|
27464
|
-
}),
|
|
27465
|
-
slides:
|
|
27466
|
-
pushHistory:
|
|
27467
|
-
}),
|
|
27468
|
-
customShows:
|
|
27469
|
-
slides:
|
|
27470
|
-
activeSlideIndex:
|
|
27471
|
-
activeSlide:
|
|
27472
|
-
presentationProperties:
|
|
27473
|
-
pushHistory:
|
|
27474
|
-
startShow: () =>
|
|
27475
|
-
}),
|
|
27472
|
+
}), xo = e.useHeaderFooterDialog({ headerFooter: he }), yo = e.useVersionHistoryWiring({
|
|
27473
|
+
slides: Z,
|
|
27474
|
+
pushHistory: rt.pushHistory
|
|
27475
|
+
}), ho = e.useCustomShowsWiring({
|
|
27476
|
+
customShows: ge,
|
|
27477
|
+
slides: Z,
|
|
27478
|
+
activeSlideIndex: Me,
|
|
27479
|
+
activeSlide: Re,
|
|
27480
|
+
presentationProperties: xe,
|
|
27481
|
+
pushHistory: rt.pushHistory,
|
|
27482
|
+
startShow: () => Ut.presentFromBeginning()
|
|
27483
|
+
}), bo = (0, l.computed)(() => (0, a.resolveAuthoredSlideRange)(xe.value, Z.value.length) ?? null), ko = function(t) {
|
|
27476
27484
|
const n = e.useMasterViewState();
|
|
27477
27485
|
function o() {
|
|
27478
27486
|
return {
|
|
@@ -27542,69 +27550,69 @@ var UG = ["aria-busy", "tabindex"], HG = {
|
|
|
27542
27550
|
}
|
|
27543
27551
|
};
|
|
27544
27552
|
}({
|
|
27545
|
-
slideMasters:
|
|
27546
|
-
notesMaster:
|
|
27547
|
-
handoutMaster:
|
|
27553
|
+
slideMasters: me,
|
|
27554
|
+
notesMaster: be,
|
|
27555
|
+
handoutMaster: ke,
|
|
27548
27556
|
markDirty: () => {
|
|
27549
|
-
|
|
27557
|
+
$n.isDirty.value = !0;
|
|
27550
27558
|
}
|
|
27551
|
-
}),
|
|
27552
|
-
handler:
|
|
27553
|
-
slideMasters:
|
|
27554
|
-
layoutOptions:
|
|
27555
|
-
deckData: () => VG(
|
|
27559
|
+
}), So = IG({
|
|
27560
|
+
handler: Ce,
|
|
27561
|
+
slideMasters: me,
|
|
27562
|
+
layoutOptions: X.layoutOptions,
|
|
27563
|
+
deckData: () => VG(X),
|
|
27556
27564
|
target: () => ({
|
|
27557
|
-
tab:
|
|
27558
|
-
masterIndex:
|
|
27559
|
-
layoutIndex:
|
|
27565
|
+
tab: ko.masterViewTab.value,
|
|
27566
|
+
masterIndex: ko.activeMasterIndex.value,
|
|
27567
|
+
layoutIndex: ko.activeLayoutIndex.value
|
|
27560
27568
|
}),
|
|
27561
|
-
onSelectMaster:
|
|
27562
|
-
onSelectLayout:
|
|
27569
|
+
onSelectMaster: ko.onSelectMaster,
|
|
27570
|
+
onSelectLayout: ko.onSelectLayout,
|
|
27563
27571
|
markDirty: () => {
|
|
27564
|
-
|
|
27572
|
+
$n.isDirty.value = !0;
|
|
27565
27573
|
},
|
|
27566
|
-
pushHistory:
|
|
27567
|
-
forgetHistory:
|
|
27568
|
-
}),
|
|
27569
|
-
sections:
|
|
27570
|
-
slides:
|
|
27571
|
-
activeSlideIndex:
|
|
27572
|
-
pushHistory:
|
|
27573
|
-
}),
|
|
27574
|
-
const
|
|
27574
|
+
pushHistory: rt.pushHistory,
|
|
27575
|
+
forgetHistory: rt.forgetHistory
|
|
27576
|
+
}), Eo = e.useSectionOperations({
|
|
27577
|
+
sections: ve,
|
|
27578
|
+
slides: Z,
|
|
27579
|
+
activeSlideIndex: Me,
|
|
27580
|
+
pushHistory: rt.pushHistory
|
|
27581
|
+
}), Co = (0, l.computed)(() => ve.value.length > 0);
|
|
27582
|
+
const wo = (0, l.ref)(null);
|
|
27575
27583
|
(0, l.watchEffect)((e) => {
|
|
27576
|
-
const t =
|
|
27584
|
+
const t = wo.value, n = De.value;
|
|
27577
27585
|
t && e((0, a.attachViewerHyperlinks)(t, {
|
|
27578
27586
|
getState: () => ({
|
|
27579
|
-
slide:
|
|
27580
|
-
slideCount:
|
|
27581
|
-
currentSlideIndex:
|
|
27587
|
+
slide: ot.value[Me.value],
|
|
27588
|
+
slideCount: ot.value.length,
|
|
27589
|
+
currentSlideIndex: Me.value,
|
|
27582
27590
|
editable: n,
|
|
27583
|
-
presenting:
|
|
27591
|
+
presenting: Ut.presenting.value
|
|
27584
27592
|
}),
|
|
27585
|
-
goToSlide:
|
|
27593
|
+
goToSlide: Le,
|
|
27586
27594
|
onHyperlinkClick: (e) => v.onHyperlinkClick?.(e),
|
|
27587
|
-
confirmExternalHyperlink: (e) => !(0, a.shouldConfirmExternalHyperlink)(
|
|
27595
|
+
confirmExternalHyperlink: (e) => !(0, a.shouldConfirmExternalHyperlink)(M.value, e) || (0, a.confirmExternalHyperlinkDialog)(e, {
|
|
27588
27596
|
t: b,
|
|
27589
27597
|
host: t
|
|
27590
27598
|
})
|
|
27591
27599
|
}));
|
|
27592
27600
|
}, { flush: "post" });
|
|
27593
|
-
const { isMobile:
|
|
27601
|
+
const { isMobile: Bo, isTouchDevice: No } = e.useIsMobile(768), { keyboardInset: Vo } = e.useKeyboardInsets(), To = (0, l.ref)(null), Fo = (0, l.ref)(null);
|
|
27594
27602
|
e.useTouchGestures({
|
|
27595
|
-
targetRef:
|
|
27596
|
-
currentScale:
|
|
27603
|
+
targetRef: To,
|
|
27604
|
+
currentScale: Ge,
|
|
27597
27605
|
minScale: a.MIN_ZOOM_SCALE,
|
|
27598
27606
|
maxScale: a.MAX_ZOOM_SCALE,
|
|
27599
|
-
enabled:
|
|
27607
|
+
enabled: No,
|
|
27600
27608
|
callbacks: {
|
|
27601
27609
|
onPinchZoom: (e) => {
|
|
27602
|
-
|
|
27610
|
+
Ge.value = Number(e.toFixed(2));
|
|
27603
27611
|
},
|
|
27604
27612
|
onLongPress: (e, t) => {
|
|
27605
|
-
if (!
|
|
27606
|
-
const n =
|
|
27607
|
-
n && (
|
|
27613
|
+
if (!De.value || Ut.presenting.value) return;
|
|
27614
|
+
const n = Qe.value[0];
|
|
27615
|
+
n && (Ln.value = {
|
|
27608
27616
|
open: !0,
|
|
27609
27617
|
x: e,
|
|
27610
27618
|
y: t,
|
|
@@ -27613,74 +27621,74 @@ var UG = ["aria-busy", "tabindex"], HG = {
|
|
|
27613
27621
|
}
|
|
27614
27622
|
}
|
|
27615
27623
|
});
|
|
27616
|
-
const
|
|
27617
|
-
readInlineSnapshot:
|
|
27618
|
-
formatInlineSnapshot:
|
|
27619
|
-
endInlineListSession:
|
|
27624
|
+
const Po = e.useMobileChrome({ presenting: Ut.presenting }), Do = e.useRibbonActions({
|
|
27625
|
+
readInlineSnapshot: ht.readInlineSnapshot,
|
|
27626
|
+
formatInlineSnapshot: ht.formatInlineSnapshot,
|
|
27627
|
+
endInlineListSession: ht.endInlineListSession,
|
|
27620
27628
|
listConversionScope: () => v.listConversionScope,
|
|
27621
|
-
canEdit: () =>
|
|
27622
|
-
presenting:
|
|
27623
|
-
showMasterView:
|
|
27624
|
-
tableSelection:
|
|
27625
|
-
selectedElements:
|
|
27626
|
-
selectedElementIds:
|
|
27627
|
-
activeSlide:
|
|
27628
|
-
activeSlideIndex:
|
|
27629
|
-
slides:
|
|
27630
|
-
pushHistory:
|
|
27631
|
-
ops:
|
|
27632
|
-
}), { ribbonMode:
|
|
27633
|
-
(0, l.watch)(
|
|
27629
|
+
canEdit: () => De.value,
|
|
27630
|
+
presenting: Ut.presenting,
|
|
27631
|
+
showMasterView: ko.showMasterView,
|
|
27632
|
+
tableSelection: ze,
|
|
27633
|
+
selectedElements: nt,
|
|
27634
|
+
selectedElementIds: Qe,
|
|
27635
|
+
activeSlide: Re,
|
|
27636
|
+
activeSlideIndex: Me,
|
|
27637
|
+
slides: Z,
|
|
27638
|
+
pushHistory: rt.pushHistory,
|
|
27639
|
+
ops: it
|
|
27640
|
+
}), { ribbonMode: Io, ribbonUpdateTextStyle: _o, ribbonMoveToEdge: Ao } = Do, zo = (0, l.computed)(() => "preview" === Io.value && Fe.value ? "edit" : Io.value);
|
|
27641
|
+
(0, l.watch)(Io, (e) => {
|
|
27634
27642
|
h("mode-change", e);
|
|
27635
|
-
}), (0, l.watch)(() => "present" ===
|
|
27636
|
-
const { showShortcuts:
|
|
27637
|
-
canEdit: () =>
|
|
27638
|
-
canPaste: () =>
|
|
27639
|
-
hasSelection:
|
|
27640
|
-
presenting:
|
|
27641
|
-
findOpen:
|
|
27642
|
-
selectedElementIds:
|
|
27643
|
-
activeSlide:
|
|
27644
|
-
activeSlideIndex:
|
|
27645
|
-
slides:
|
|
27646
|
-
templateElementsBySlideId:
|
|
27647
|
-
pushHistory:
|
|
27648
|
-
undo:
|
|
27649
|
-
redo:
|
|
27650
|
-
copyElement:
|
|
27651
|
-
cutElement:
|
|
27652
|
-
pasteElement:
|
|
27653
|
-
onPasteSpecial:
|
|
27654
|
-
duplicateSelected:
|
|
27655
|
-
deleteSelected:
|
|
27656
|
-
goPrev:
|
|
27657
|
-
goNext:
|
|
27658
|
-
onEscape:
|
|
27659
|
-
onGroup:
|
|
27660
|
-
onUngroup:
|
|
27661
|
-
presentFromBeginning:
|
|
27662
|
-
startPresenting:
|
|
27663
|
-
inlineEditingElementId:
|
|
27664
|
-
tableEditorIsEditing: () => null !==
|
|
27665
|
-
activeTool: () =>
|
|
27666
|
-
selectedElements:
|
|
27667
|
-
selectElement:
|
|
27668
|
-
ribbonUpdateTextStyle:
|
|
27669
|
-
addSlide: () =>
|
|
27670
|
-
openHyperlinkForSelection:
|
|
27671
|
-
toggleFormatPainter:
|
|
27672
|
-
applyFormatToTarget:
|
|
27673
|
-
cancelFormatPainter:
|
|
27674
|
-
customization: () =>
|
|
27675
|
-
}),
|
|
27643
|
+
}), (0, l.watch)(() => "present" === Io.value, (e) => h("presentation-change", e));
|
|
27644
|
+
const { showShortcuts: Mo, onEditorKeydown: Oo, copySelected: Ro, cutSelected: Lo, selectAllElements: Uo } = e.useEditorKeyboard({
|
|
27645
|
+
canEdit: () => De.value,
|
|
27646
|
+
canPaste: () => Ot.hasClipboard.value && Boolean(Re.value),
|
|
27647
|
+
hasSelection: Xe.hasSelection,
|
|
27648
|
+
presenting: Ut.presenting,
|
|
27649
|
+
findOpen: Kt,
|
|
27650
|
+
selectedElementIds: Qe,
|
|
27651
|
+
activeSlide: Re,
|
|
27652
|
+
activeSlideIndex: Me,
|
|
27653
|
+
slides: Z,
|
|
27654
|
+
templateElementsBySlideId: Q,
|
|
27655
|
+
pushHistory: rt.pushHistory,
|
|
27656
|
+
undo: rt.undo,
|
|
27657
|
+
redo: rt.redo,
|
|
27658
|
+
copyElement: Ot.copyElement,
|
|
27659
|
+
cutElement: Ot.cutElement,
|
|
27660
|
+
pasteElement: Lt,
|
|
27661
|
+
onPasteSpecial: Rt.openPasteSpecialDialog,
|
|
27662
|
+
duplicateSelected: It,
|
|
27663
|
+
deleteSelected: Dt,
|
|
27664
|
+
goPrev: Ue,
|
|
27665
|
+
goNext: He,
|
|
27666
|
+
onEscape: wt,
|
|
27667
|
+
onGroup: yn,
|
|
27668
|
+
onUngroup: hn,
|
|
27669
|
+
presentFromBeginning: Ut.presentFromBeginning,
|
|
27670
|
+
startPresenting: Ut.startPresenting,
|
|
27671
|
+
inlineEditingElementId: ht.inlineEditingElementId,
|
|
27672
|
+
tableEditorIsEditing: () => null !== ze.value,
|
|
27673
|
+
activeTool: () => En.value,
|
|
27674
|
+
selectedElements: nt,
|
|
27675
|
+
selectElement: Xe.selectElement,
|
|
27676
|
+
ribbonUpdateTextStyle: _o,
|
|
27677
|
+
addSlide: () => Mt.addSlide(),
|
|
27678
|
+
openHyperlinkForSelection: Gt.openHyperlinkForSelection,
|
|
27679
|
+
toggleFormatPainter: ft,
|
|
27680
|
+
applyFormatToTarget: yt,
|
|
27681
|
+
cancelFormatPainter: xt,
|
|
27682
|
+
customization: () => L.resolved.value
|
|
27683
|
+
}), Ho = (0, l.computed)(() => Bo.value || !Bn.value && !ut.value ? 0 : a.INSPECTOR_PANEL_DEFAULT_WIDTH), Go = (0, l.ref)(null), Ko = (0, l.ref)(0);
|
|
27676
27684
|
(0, l.watchEffect)((e) => {
|
|
27677
|
-
const t =
|
|
27678
|
-
if (!(t instanceof HTMLElement)) return void (
|
|
27685
|
+
const t = Go.value?.$el;
|
|
27686
|
+
if (!(t instanceof HTMLElement)) return void (Ko.value = 0);
|
|
27679
27687
|
const n = (0, a.observeElementHeight)(t, (e) => {
|
|
27680
|
-
|
|
27688
|
+
Ko.value = e;
|
|
27681
27689
|
});
|
|
27682
27690
|
e(() => {
|
|
27683
|
-
n(),
|
|
27691
|
+
n(), Ko.value = 0;
|
|
27684
27692
|
});
|
|
27685
27693
|
}), function(e) {
|
|
27686
27694
|
const { viewProperties: t, loadVersion: n, snapToGrid: o, snapToObjects: r, showGuides: i } = e;
|
|
@@ -27717,65 +27725,65 @@ var UG = ["aria-busy", "tabindex"], HG = {
|
|
|
27717
27725
|
};
|
|
27718
27726
|
}, { flush: "sync" });
|
|
27719
27727
|
}({
|
|
27720
|
-
viewProperties:
|
|
27721
|
-
loadVersion:
|
|
27722
|
-
snapToGrid:
|
|
27723
|
-
snapToObjects:
|
|
27724
|
-
showGuides:
|
|
27728
|
+
viewProperties: ye,
|
|
27729
|
+
loadVersion: D,
|
|
27730
|
+
snapToGrid: Nt.snapToGrid,
|
|
27731
|
+
snapToObjects: Nt.snapToShape,
|
|
27732
|
+
showGuides: Pn
|
|
27725
27733
|
});
|
|
27726
|
-
const
|
|
27734
|
+
const $o = (0, l.ref)(!1), jo = (0, l.computed)(() => (0, a.resolveOptionRootClasses)(M.value, "pptx-vue")), Wo = (0, l.computed)(() => (0, a.resolve3DRenderingFlags)({
|
|
27727
27735
|
smartArt3D: v.smartArt3D,
|
|
27728
27736
|
surfaceChart3D: v.surfaceChart3D,
|
|
27729
27737
|
barChart3D: v.barChart3D,
|
|
27730
27738
|
lineChart3D: v.lineChart3D,
|
|
27731
27739
|
areaChart3D: v.areaChart3D,
|
|
27732
27740
|
pieChart3D: v.pieChart3D
|
|
27733
|
-
},
|
|
27734
|
-
(0, l.provide)(e.Rendering3DFlagsKey,
|
|
27735
|
-
const
|
|
27736
|
-
smartArt3d:
|
|
27737
|
-
collaboration:
|
|
27738
|
-
})), { showSettings:
|
|
27739
|
-
autoSave:
|
|
27740
|
-
spellCheck:
|
|
27741
|
-
showGrid:
|
|
27742
|
-
showRulers:
|
|
27743
|
-
snapToGrid:
|
|
27744
|
-
reducedMotion:
|
|
27745
|
-
optionsStore:
|
|
27746
|
-
viewerOptions:
|
|
27741
|
+
}, M.value));
|
|
27742
|
+
(0, l.provide)(e.Rendering3DFlagsKey, Wo);
|
|
27743
|
+
const qo = (0, l.computed)(() => ({
|
|
27744
|
+
smartArt3d: Wo.value.smartArt3D,
|
|
27745
|
+
collaboration: ao.collabActive.value
|
|
27746
|
+
})), { showSettings: Yo } = e.useViewerSettingsDialog({
|
|
27747
|
+
autoSave: jn,
|
|
27748
|
+
spellCheck: In,
|
|
27749
|
+
showGrid: Tn,
|
|
27750
|
+
showRulers: Fn,
|
|
27751
|
+
snapToGrid: Nt.snapToGrid,
|
|
27752
|
+
reducedMotion: $o,
|
|
27753
|
+
optionsStore: A,
|
|
27754
|
+
viewerOptions: M
|
|
27747
27755
|
});
|
|
27748
|
-
function
|
|
27749
|
-
(0, a.clearAutosaveSnapshots)(
|
|
27756
|
+
function Xo() {
|
|
27757
|
+
(0, a.clearAutosaveSnapshots)(N.value.storage).catch(() => {});
|
|
27750
27758
|
}
|
|
27751
|
-
function
|
|
27752
|
-
(0, a.shouldClearAutosaveCacheOnClose)(
|
|
27759
|
+
function Zo() {
|
|
27760
|
+
(0, a.shouldClearAutosaveCacheOnClose)(M.value) && Xo();
|
|
27753
27761
|
}
|
|
27754
|
-
(0, l.watch)(() =>
|
|
27755
|
-
(0, a.pruneExpiredAutosaveSnapshots)(
|
|
27756
|
-
}), "undefined" != typeof window && window.addEventListener("beforeunload",
|
|
27757
|
-
"undefined" != typeof window && window.removeEventListener("beforeunload",
|
|
27762
|
+
(0, l.watch)(() => $n.isDirty.value, (e) => h("dirty-change", e), { immediate: !0 }), (0, l.watch)(jn, (e) => h("autosave-toggle", e)), (0, l.watch)(() => (0, a.autosaveStatusKind)($n.status.value), (e) => h("autosave-status", e)), (0, l.watch)(() => ao.collab.status.value, (e) => h("collaboration-status", e)), (0, l.onMounted)(() => {
|
|
27763
|
+
(0, a.pruneExpiredAutosaveSnapshots)(M.value, N.value.storage).catch(() => {});
|
|
27764
|
+
}), "undefined" != typeof window && window.addEventListener("beforeunload", Zo), (0, l.onBeforeUnmount)(() => {
|
|
27765
|
+
"undefined" != typeof window && window.removeEventListener("beforeunload", Zo), Zo();
|
|
27758
27766
|
});
|
|
27759
|
-
const { drawingActive:
|
|
27760
|
-
canEdit: () =>
|
|
27761
|
-
presenting:
|
|
27762
|
-
activeTool:
|
|
27763
|
-
activeSlide:
|
|
27764
|
-
selectedElementIds:
|
|
27765
|
-
ops:
|
|
27766
|
-
}),
|
|
27767
|
-
handler:
|
|
27768
|
-
slides:
|
|
27769
|
-
pptxTheme:
|
|
27770
|
-
themeColorMap:
|
|
27771
|
-
pushHistory:
|
|
27772
|
-
themeGalleryOpen:
|
|
27773
|
-
themeEditorOpen:
|
|
27774
|
-
templateElementsBySlideId:
|
|
27775
|
-
loadedThemeName:
|
|
27767
|
+
const { drawingActive: Qo, addInkStroke: Jo, eraseInkAt: ea } = e.useInkDrawing({
|
|
27768
|
+
canEdit: () => De.value,
|
|
27769
|
+
presenting: Ut.presenting,
|
|
27770
|
+
activeTool: En,
|
|
27771
|
+
activeSlide: Re,
|
|
27772
|
+
selectedElementIds: Qe,
|
|
27773
|
+
ops: it
|
|
27774
|
+
}), ta = e.useThemeEditing({
|
|
27775
|
+
handler: Ce,
|
|
27776
|
+
slides: Z,
|
|
27777
|
+
pptxTheme: Se,
|
|
27778
|
+
themeColorMap: Ee,
|
|
27779
|
+
pushHistory: rt.pushHistory,
|
|
27780
|
+
themeGalleryOpen: _n,
|
|
27781
|
+
themeEditorOpen: An,
|
|
27782
|
+
templateElementsBySlideId: Q,
|
|
27783
|
+
loadedThemeName: lt
|
|
27776
27784
|
});
|
|
27777
|
-
function
|
|
27778
|
-
|
|
27785
|
+
function na(e) {
|
|
27786
|
+
ta.applyThemeUpdates(e);
|
|
27779
27787
|
}
|
|
27780
27788
|
Wn({
|
|
27781
27789
|
deckStyle: function(e) {
|
|
@@ -27803,27 +27811,27 @@ var UG = ["aria-busy", "tabindex"], HG = {
|
|
|
27803
27811
|
}
|
|
27804
27812
|
}));
|
|
27805
27813
|
}({
|
|
27806
|
-
held:
|
|
27807
|
-
heldDeck:
|
|
27808
|
-
slides:
|
|
27809
|
-
templateElementsBySlideId:
|
|
27810
|
-
pptxTheme:
|
|
27811
|
-
themeColorMap:
|
|
27812
|
-
handler:
|
|
27813
|
-
selectedSlideIds: () =>
|
|
27814
|
-
pushHistory:
|
|
27814
|
+
held: Kn,
|
|
27815
|
+
heldDeck: Y,
|
|
27816
|
+
slides: Z,
|
|
27817
|
+
templateElementsBySlideId: Q,
|
|
27818
|
+
pptxTheme: Se,
|
|
27819
|
+
themeColorMap: Ee,
|
|
27820
|
+
handler: Ce,
|
|
27821
|
+
selectedSlideIds: () => Re.value ? [Re.value.id] : [],
|
|
27822
|
+
pushHistory: rt.pushHistory
|
|
27815
27823
|
}),
|
|
27816
|
-
activeSlide: () =>
|
|
27817
|
-
editable: () =>
|
|
27818
|
-
selectedElement: () =>
|
|
27819
|
-
theme:
|
|
27820
|
-
themeColorMap:
|
|
27821
|
-
handler:
|
|
27822
|
-
tableSelection: () =>
|
|
27823
|
-
updateElement: (e, t) =>
|
|
27824
|
-
applyTheme:
|
|
27824
|
+
activeSlide: () => Re.value ?? null,
|
|
27825
|
+
editable: () => De.value,
|
|
27826
|
+
selectedElement: () => nt.value[0] ?? null,
|
|
27827
|
+
theme: Se,
|
|
27828
|
+
themeColorMap: Ee,
|
|
27829
|
+
handler: Ce,
|
|
27830
|
+
tableSelection: () => ze.value,
|
|
27831
|
+
updateElement: (e, t) => it.updateElement(e, t),
|
|
27832
|
+
applyTheme: na
|
|
27825
27833
|
});
|
|
27826
|
-
const
|
|
27834
|
+
const oa = function(e) {
|
|
27827
27835
|
return (0, i.createPptxAiBridge)({
|
|
27828
27836
|
getSlides: () => e.slides.value,
|
|
27829
27837
|
getActiveSlideIndex: () => e.activeSlideIndex.value,
|
|
@@ -27896,267 +27904,267 @@ var UG = ["aria-busy", "tabindex"], HG = {
|
|
|
27896
27904
|
});
|
|
27897
27905
|
}({
|
|
27898
27906
|
onCorePropertiesChanged: (e) => h("properties-change", e),
|
|
27899
|
-
slides:
|
|
27900
|
-
activeSlideIndex:
|
|
27901
|
-
canvasSize:
|
|
27902
|
-
theme:
|
|
27903
|
-
handler:
|
|
27904
|
-
sections:
|
|
27905
|
-
customShows:
|
|
27906
|
-
presentationProperties:
|
|
27907
|
-
customProperties:
|
|
27908
|
-
coreProperties:
|
|
27909
|
-
appProperties:
|
|
27910
|
-
viewProperties:
|
|
27911
|
-
tableStyleMap:
|
|
27912
|
-
tableStylesDefaultId:
|
|
27913
|
-
tagCollections:
|
|
27914
|
-
fileName: () =>
|
|
27915
|
-
pushHistory:
|
|
27907
|
+
slides: Z,
|
|
27908
|
+
activeSlideIndex: Me,
|
|
27909
|
+
canvasSize: J,
|
|
27910
|
+
theme: Se,
|
|
27911
|
+
handler: Ce,
|
|
27912
|
+
sections: ve,
|
|
27913
|
+
customShows: ge,
|
|
27914
|
+
presentationProperties: xe,
|
|
27915
|
+
customProperties: le,
|
|
27916
|
+
coreProperties: ae,
|
|
27917
|
+
appProperties: ce,
|
|
27918
|
+
viewProperties: ye,
|
|
27919
|
+
tableStyleMap: ue,
|
|
27920
|
+
tableStylesDefaultId: X.tableStylesDefaultId,
|
|
27921
|
+
tagCollections: de,
|
|
27922
|
+
fileName: () => N.value.fileName,
|
|
27923
|
+
pushHistory: rt.pushHistory,
|
|
27916
27924
|
markDirty: () => {
|
|
27917
|
-
|
|
27925
|
+
$n.isDirty.value = !0;
|
|
27918
27926
|
},
|
|
27919
|
-
goTo:
|
|
27927
|
+
goTo: Le,
|
|
27920
27928
|
setSelection: (e) => {
|
|
27921
|
-
|
|
27929
|
+
Qe.value = e;
|
|
27922
27930
|
},
|
|
27923
|
-
applyThemeUpdates:
|
|
27924
|
-
selectedElementIds: () =>
|
|
27925
|
-
pinnedFocus: () =>
|
|
27926
|
-
pickedFocus: () =>
|
|
27927
|
-
}),
|
|
27928
|
-
canEdit: () =>
|
|
27929
|
-
isMobile:
|
|
27930
|
-
zoom:
|
|
27931
|
-
zoomIn:
|
|
27932
|
-
zoomOut:
|
|
27933
|
-
zoomReset:
|
|
27934
|
-
findOpen:
|
|
27935
|
-
activeSlide:
|
|
27936
|
-
activeSlideIndex:
|
|
27937
|
-
showA11y:
|
|
27938
|
-
showShortcuts:
|
|
27939
|
-
showSettings:
|
|
27940
|
-
deck:
|
|
27941
|
-
embeddedFontFamilies:
|
|
27942
|
-
customFontFamilies:
|
|
27943
|
-
ui:
|
|
27944
|
-
selection:
|
|
27945
|
-
history:
|
|
27931
|
+
applyThemeUpdates: na,
|
|
27932
|
+
selectedElementIds: () => Qe.value,
|
|
27933
|
+
pinnedFocus: () => mt.pinnedFocus.value,
|
|
27934
|
+
pickedFocus: () => mt.pickTargets.value
|
|
27935
|
+
}), aa = (la = {
|
|
27936
|
+
canEdit: () => De.value,
|
|
27937
|
+
isMobile: Bo,
|
|
27938
|
+
zoom: Ge,
|
|
27939
|
+
zoomIn: je,
|
|
27940
|
+
zoomOut: We,
|
|
27941
|
+
zoomReset: qe,
|
|
27942
|
+
findOpen: Kt,
|
|
27943
|
+
activeSlide: Re,
|
|
27944
|
+
activeSlideIndex: Me,
|
|
27945
|
+
showA11y: tn,
|
|
27946
|
+
showShortcuts: Mo,
|
|
27947
|
+
showSettings: Yo,
|
|
27948
|
+
deck: X,
|
|
27949
|
+
embeddedFontFamilies: po.embeddedFontNames,
|
|
27950
|
+
customFontFamilies: mo,
|
|
27951
|
+
ui: Sn,
|
|
27952
|
+
selection: Xe,
|
|
27953
|
+
history: rt,
|
|
27946
27954
|
arrange: {
|
|
27947
|
-
bringForward:
|
|
27948
|
-
sendBackward:
|
|
27949
|
-
duplicateSelected:
|
|
27950
|
-
deleteSelected:
|
|
27951
|
-
canDistribute:
|
|
27952
|
-
onAlign:
|
|
27953
|
-
onDistribute:
|
|
27954
|
-
onGroup:
|
|
27955
|
-
onUngroup:
|
|
27955
|
+
bringForward: _t,
|
|
27956
|
+
sendBackward: At,
|
|
27957
|
+
duplicateSelected: It,
|
|
27958
|
+
deleteSelected: Dt,
|
|
27959
|
+
canDistribute: vn,
|
|
27960
|
+
onAlign: fn,
|
|
27961
|
+
onDistribute: xn,
|
|
27962
|
+
onGroup: yn,
|
|
27963
|
+
onUngroup: hn
|
|
27956
27964
|
},
|
|
27957
27965
|
editing: {
|
|
27958
|
-
clipboard:
|
|
27959
|
-
pasteElement:
|
|
27960
|
-
copySelected:
|
|
27961
|
-
cutSelected:
|
|
27962
|
-
formatPainterActive:
|
|
27963
|
-
canActivateFormatPainter:
|
|
27964
|
-
toggleFormatPainter:
|
|
27966
|
+
clipboard: Ot.clipboard,
|
|
27967
|
+
pasteElement: Lt,
|
|
27968
|
+
copySelected: Ro,
|
|
27969
|
+
cutSelected: Lo,
|
|
27970
|
+
formatPainterActive: vt,
|
|
27971
|
+
canActivateFormatPainter: gt,
|
|
27972
|
+
toggleFormatPainter: ft,
|
|
27965
27973
|
updateSelectedShapeStyle: function(t) {
|
|
27966
|
-
const n =
|
|
27967
|
-
n && (0, e.dist_exports.hasShapeProperties)(n) &&
|
|
27974
|
+
const n = nt.value[0];
|
|
27975
|
+
n && (0, e.dist_exports.hasShapeProperties)(n) && it.updateElement(n.id, { shapeStyle: {
|
|
27968
27976
|
...n.shapeStyle,
|
|
27969
27977
|
...t
|
|
27970
27978
|
} });
|
|
27971
27979
|
},
|
|
27972
|
-
openHyperlinkForSelection:
|
|
27980
|
+
openHyperlinkForSelection: Gt.openHyperlinkForSelection
|
|
27973
27981
|
},
|
|
27974
27982
|
slideMutations: {
|
|
27975
|
-
toggleSlideHidden:
|
|
27976
|
-
onAddAnimation:
|
|
27977
|
-
onRemoveAnimation:
|
|
27978
|
-
onTransitionChange:
|
|
27979
|
-
onApplyTransitionToAll:
|
|
27983
|
+
toggleSlideHidden: an,
|
|
27984
|
+
onAddAnimation: cn,
|
|
27985
|
+
onRemoveAnimation: dn,
|
|
27986
|
+
onTransitionChange: rn,
|
|
27987
|
+
onApplyTransitionToAll: sn
|
|
27980
27988
|
},
|
|
27981
27989
|
slideCommands: {
|
|
27982
|
-
addSection:
|
|
27990
|
+
addSection: Eo.addSection,
|
|
27983
27991
|
defaultSectionName: () => b("pptx.sections.defaultName"),
|
|
27984
|
-
selectAllElements:
|
|
27985
|
-
clearSelection:
|
|
27992
|
+
selectAllElements: Uo,
|
|
27993
|
+
clearSelection: at
|
|
27986
27994
|
},
|
|
27987
|
-
presentationProperties:
|
|
27988
|
-
ribbonActions:
|
|
27989
|
-
chromeMode:
|
|
27990
|
-
drag:
|
|
27991
|
-
insertion:
|
|
27992
|
-
templateInsertion:
|
|
27993
|
-
insertDialogs:
|
|
27994
|
-
exporter:
|
|
27995
|
-
printer:
|
|
27996
|
-
presentation:
|
|
27997
|
-
deckViews:
|
|
27998
|
-
comments:
|
|
27999
|
-
collaboration:
|
|
28000
|
-
customShows:
|
|
28001
|
-
versionHistory:
|
|
28002
|
-
documentProperties:
|
|
28003
|
-
fontEmbedding:
|
|
28004
|
-
signatureWorkflow:
|
|
28005
|
-
selectionPane:
|
|
28006
|
-
slideShow:
|
|
28007
|
-
password:
|
|
28008
|
-
masterView:
|
|
28009
|
-
headerFooterDialog:
|
|
28010
|
-
handleOpenFile:
|
|
28011
|
-
handleOpenRecentFile:
|
|
27995
|
+
presentationProperties: xe,
|
|
27996
|
+
ribbonActions: Do,
|
|
27997
|
+
chromeMode: zo,
|
|
27998
|
+
drag: Nt,
|
|
27999
|
+
insertion: Vt,
|
|
28000
|
+
templateInsertion: Pt,
|
|
28001
|
+
insertDialogs: kt,
|
|
28002
|
+
exporter: Wt,
|
|
28003
|
+
printer: Jt,
|
|
28004
|
+
presentation: Ut,
|
|
28005
|
+
deckViews: en,
|
|
28006
|
+
comments: oo,
|
|
28007
|
+
collaboration: ao,
|
|
28008
|
+
customShows: ho,
|
|
28009
|
+
versionHistory: yo,
|
|
28010
|
+
documentProperties: fo,
|
|
28011
|
+
fontEmbedding: po,
|
|
28012
|
+
signatureWorkflow: io,
|
|
28013
|
+
selectionPane: go,
|
|
28014
|
+
slideShow: co,
|
|
28015
|
+
password: _,
|
|
28016
|
+
masterView: ko,
|
|
28017
|
+
headerFooterDialog: xo,
|
|
28018
|
+
handleOpenFile: T.handleOpenFile,
|
|
28019
|
+
handleOpenRecentFile: T.handleOpenRecentFile,
|
|
28012
28020
|
createPresentation: function(e) {
|
|
28013
|
-
|
|
28021
|
+
Z.value = (0, a.createBackstagePresentation)(e), Q.value = {}, Me.value = 0, Xe.selectedElementIds.value = [];
|
|
28014
28022
|
},
|
|
28015
28023
|
compareWithPresentation: async function() {
|
|
28016
28024
|
const t = await (0, a.openPptxFile)();
|
|
28017
28025
|
if (!t) return;
|
|
28018
|
-
const n = await new e.dist_exports.PptxHandler().load(t.buffer, { allowExternalImages: (0, a.resolveAllowExternalContent)(v.allowExternalContent,
|
|
28019
|
-
n &&
|
|
28026
|
+
const n = await new e.dist_exports.PptxHandler().load(t.buffer, { allowExternalImages: (0, a.resolveAllowExternalContent)(v.allowExternalContent, M.value) });
|
|
28027
|
+
n && yo.compareWithSlides(n.slides);
|
|
28020
28028
|
}
|
|
28021
28029
|
}, e.useRibbonProps({
|
|
28022
|
-
ribbonMode:
|
|
28023
|
-
canEdit:
|
|
28024
|
-
isMobile:
|
|
28025
|
-
sidebarCollapsed:
|
|
28026
|
-
inspectorOpen:
|
|
28027
|
-
ribbonExpanded:
|
|
28028
|
-
toolbarSection:
|
|
28029
|
-
zoom:
|
|
28030
|
-
canUndo:
|
|
28031
|
-
canRedo:
|
|
28032
|
-
findOpen:
|
|
28033
|
-
selectedElements:
|
|
28034
|
-
activeTableSelection:
|
|
28035
|
-
editTemplateMode:
|
|
28036
|
-
newShapeType:
|
|
28037
|
-
activeTool:
|
|
28038
|
-
drawingColor:
|
|
28039
|
-
drawingWidth:
|
|
28040
|
-
clipboard:
|
|
28041
|
-
spellCheckEnabled:
|
|
28042
|
-
showGrid:
|
|
28043
|
-
showRulers:
|
|
28044
|
-
showGuides:
|
|
28045
|
-
snapToGrid:
|
|
28046
|
-
snapToShape:
|
|
28047
|
-
overflowOpen:
|
|
28048
|
-
layoutOptions:
|
|
28049
|
-
embeddedFontFamilies:
|
|
28050
|
-
customFontFamilies:
|
|
28051
|
-
theme:
|
|
28052
|
-
customShows:
|
|
28053
|
-
activeCustomShowId:
|
|
28054
|
-
isCurrentSlideInActiveShow:
|
|
28055
|
-
themeEditorOpen:
|
|
28056
|
-
themeGalleryOpen:
|
|
28057
|
-
eyedropperActive:
|
|
28058
|
-
showComments:
|
|
28059
|
-
activeComments:
|
|
28060
|
-
reviewComments:
|
|
28061
|
-
formatPainterActive:
|
|
28062
|
-
canActivateFormatPainter:
|
|
28063
|
-
showSelectionPane:
|
|
28064
|
-
showSubtitles:
|
|
28065
|
-
activeSlide:
|
|
28066
|
-
activeSlideIndex:
|
|
28067
|
-
toggleSlideHidden:
|
|
28068
|
-
presentationProperties:
|
|
28069
|
-
presenting:
|
|
28070
|
-
canDistribute:
|
|
28071
|
-
shareOpen:
|
|
28072
|
-
showShortcuts:
|
|
28073
|
-
showSettings:
|
|
28074
|
-
showHeaderFooter:
|
|
28075
|
-
showA11y:
|
|
28076
|
-
showSorter:
|
|
28077
|
-
showReadingView:
|
|
28078
|
-
showOutlineView:
|
|
28079
|
-
showCustomShows:
|
|
28080
|
-
showVersionHistory:
|
|
28081
|
-
showPasswordDialog:
|
|
28082
|
-
propertiesOpen:
|
|
28083
|
-
showFontEmbedding:
|
|
28084
|
-
showSignatures:
|
|
28085
|
-
showMasterView:
|
|
28086
|
-
showSetUpSlideShow:
|
|
28087
|
-
broadcastOpen:
|
|
28088
|
-
showInsertSmartArt:
|
|
28089
|
-
showEquationEditor:
|
|
28090
|
-
collab:
|
|
28091
|
-
startPresenting:
|
|
28092
|
-
presentFromBeginning:
|
|
28093
|
-
startPresenterView:
|
|
28094
|
-
startRehearsal:
|
|
28095
|
-
compareWithPresentation:
|
|
28096
|
-
onAddAnimation:
|
|
28097
|
-
onRemoveAnimation:
|
|
28098
|
-
zoomIn:
|
|
28099
|
-
zoomOut:
|
|
28100
|
-
zoomReset:
|
|
28101
|
-
undo:
|
|
28102
|
-
redo:
|
|
28103
|
-
addText:
|
|
28104
|
-
addShape:
|
|
28105
|
-
addTable:
|
|
28106
|
-
addChart:
|
|
28107
|
-
addField:
|
|
28108
|
-
addActionButton:
|
|
28109
|
-
openImagePicker:
|
|
28110
|
-
openMediaPicker:
|
|
28111
|
-
addGuide:
|
|
28112
|
-
onAlign:
|
|
28113
|
-
onDistribute:
|
|
28114
|
-
copySelected:
|
|
28115
|
-
cutSelected:
|
|
28116
|
-
pasteElement:
|
|
28117
|
-
ribbonFlip:
|
|
28118
|
-
bringForward:
|
|
28119
|
-
sendBackward:
|
|
28120
|
-
ribbonMoveToEdge:
|
|
28121
|
-
onGroup:
|
|
28122
|
-
onUngroup:
|
|
28123
|
-
updateSelectedShapeStyle:
|
|
28124
|
-
openHyperlinkForSelection:
|
|
28125
|
-
duplicateSelected:
|
|
28126
|
-
deleteSelected:
|
|
28127
|
-
handleOpenFile:
|
|
28128
|
-
handleOpenRecentFile:
|
|
28129
|
-
createPresentation:
|
|
28130
|
-
onExportPng:
|
|
28131
|
-
onExportPdf:
|
|
28132
|
-
onExportWebm:
|
|
28133
|
-
onExportGif:
|
|
28134
|
-
onExportJson:
|
|
28135
|
-
downloadAs:
|
|
28136
|
-
save:
|
|
28137
|
-
onCopySlideAsImage:
|
|
28138
|
-
openPrintDialog:
|
|
28139
|
-
ribbonUpdateTextStyle:
|
|
28140
|
-
ribbonUpdateTextCase:
|
|
28141
|
-
insertSlideFromLayout:
|
|
28142
|
-
applyLayoutToActiveSlide:
|
|
28143
|
-
loadLayoutPreviews:
|
|
28144
|
-
insertSlideFromTemplate:
|
|
28145
|
-
onRenameActiveCustomShow:
|
|
28146
|
-
onDeleteActiveCustomShow:
|
|
28147
|
-
onToggleCurrentSlideInActiveShow:
|
|
28148
|
-
toggleFormatPainter:
|
|
28149
|
-
onToggleSubtitles:
|
|
28150
|
-
onTransitionChange:
|
|
28151
|
-
onApplyTransitionToAll:
|
|
28152
|
-
addSection:
|
|
28153
|
-
defaultSectionName:
|
|
28154
|
-
selectAllElements:
|
|
28155
|
-
clearSelection:
|
|
28156
|
-
onPresentationPropertiesUpdate:
|
|
28030
|
+
ribbonMode: la.chromeMode,
|
|
28031
|
+
canEdit: la.canEdit,
|
|
28032
|
+
isMobile: la.isMobile,
|
|
28033
|
+
sidebarCollapsed: la.ui.sidebarCollapsed,
|
|
28034
|
+
inspectorOpen: la.ui.inspectorOpen,
|
|
28035
|
+
ribbonExpanded: la.ui.ribbonExpanded,
|
|
28036
|
+
toolbarSection: la.ui.toolbarSection,
|
|
28037
|
+
zoom: la.zoom,
|
|
28038
|
+
canUndo: la.history.canUndo,
|
|
28039
|
+
canRedo: la.history.canRedo,
|
|
28040
|
+
findOpen: la.findOpen,
|
|
28041
|
+
selectedElements: la.selection.selectedElements,
|
|
28042
|
+
activeTableSelection: la.ribbonActions.activeTableSelection,
|
|
28043
|
+
editTemplateMode: la.selection.editTemplateMode,
|
|
28044
|
+
newShapeType: la.ui.newShapeType,
|
|
28045
|
+
activeTool: la.ui.activeTool,
|
|
28046
|
+
drawingColor: la.ui.drawingColor,
|
|
28047
|
+
drawingWidth: la.ui.drawingWidth,
|
|
28048
|
+
clipboard: la.editing.clipboard,
|
|
28049
|
+
spellCheckEnabled: la.ui.spellCheckEnabled,
|
|
28050
|
+
showGrid: la.ui.showGrid,
|
|
28051
|
+
showRulers: la.ui.showRulers,
|
|
28052
|
+
showGuides: la.ui.showGuides,
|
|
28053
|
+
snapToGrid: la.drag.snapToGrid,
|
|
28054
|
+
snapToShape: la.drag.snapToShape,
|
|
28055
|
+
overflowOpen: la.ui.overflowOpen,
|
|
28056
|
+
layoutOptions: la.deck.layoutOptions,
|
|
28057
|
+
embeddedFontFamilies: la.embeddedFontFamilies,
|
|
28058
|
+
customFontFamilies: la.customFontFamilies,
|
|
28059
|
+
theme: la.deck.theme,
|
|
28060
|
+
customShows: la.deck.customShows,
|
|
28061
|
+
activeCustomShowId: la.customShows.activeCustomShowId,
|
|
28062
|
+
isCurrentSlideInActiveShow: la.customShows.isCurrentSlideInActiveShow,
|
|
28063
|
+
themeEditorOpen: la.ui.themeEditorOpen,
|
|
28064
|
+
themeGalleryOpen: la.ui.themeGalleryOpen,
|
|
28065
|
+
eyedropperActive: la.ui.eyedropperActive,
|
|
28066
|
+
showComments: la.comments.showComments,
|
|
28067
|
+
activeComments: la.comments.activeComments,
|
|
28068
|
+
reviewComments: la.comments.reviewHost,
|
|
28069
|
+
formatPainterActive: la.editing.formatPainterActive,
|
|
28070
|
+
canActivateFormatPainter: la.editing.canActivateFormatPainter,
|
|
28071
|
+
showSelectionPane: la.selectionPane.showSelectionPane,
|
|
28072
|
+
showSubtitles: la.slideShow.showSubtitles,
|
|
28073
|
+
activeSlide: la.activeSlide,
|
|
28074
|
+
activeSlideIndex: la.activeSlideIndex,
|
|
28075
|
+
toggleSlideHidden: la.slideMutations.toggleSlideHidden,
|
|
28076
|
+
presentationProperties: la.presentationProperties,
|
|
28077
|
+
presenting: la.presentation.presenting,
|
|
28078
|
+
canDistribute: la.arrange.canDistribute,
|
|
28079
|
+
shareOpen: la.collaboration.shareOpen,
|
|
28080
|
+
showShortcuts: la.showShortcuts,
|
|
28081
|
+
showSettings: la.showSettings,
|
|
28082
|
+
showHeaderFooter: la.headerFooterDialog.showHeaderFooter,
|
|
28083
|
+
showA11y: la.showA11y,
|
|
28084
|
+
showSorter: la.deckViews.showSorter,
|
|
28085
|
+
showReadingView: la.deckViews.showReadingView,
|
|
28086
|
+
showOutlineView: la.deckViews.showOutlineView,
|
|
28087
|
+
showCustomShows: la.customShows.showCustomShows,
|
|
28088
|
+
showVersionHistory: la.versionHistory.showVersionHistory,
|
|
28089
|
+
showPasswordDialog: la.password.showPasswordDialog,
|
|
28090
|
+
propertiesOpen: la.documentProperties.propertiesOpen,
|
|
28091
|
+
showFontEmbedding: la.fontEmbedding.showFontEmbedding,
|
|
28092
|
+
showSignatures: la.signatureWorkflow.showSignatures,
|
|
28093
|
+
showMasterView: la.masterView.showMasterView,
|
|
28094
|
+
showSetUpSlideShow: la.slideShow.showSetUpSlideShow,
|
|
28095
|
+
broadcastOpen: la.collaboration.broadcastOpen,
|
|
28096
|
+
showInsertSmartArt: la.insertDialogs.showInsertSmartArt,
|
|
28097
|
+
showEquationEditor: la.insertDialogs.showEquationEditor,
|
|
28098
|
+
collab: la.collaboration.collab,
|
|
28099
|
+
startPresenting: la.presentation.startPresenting,
|
|
28100
|
+
presentFromBeginning: la.presentation.presentFromBeginning,
|
|
28101
|
+
startPresenterView: la.presentation.startPresenterView,
|
|
28102
|
+
startRehearsal: la.presentation.startRehearsal,
|
|
28103
|
+
compareWithPresentation: la.compareWithPresentation,
|
|
28104
|
+
onAddAnimation: la.slideMutations.onAddAnimation,
|
|
28105
|
+
onRemoveAnimation: la.slideMutations.onRemoveAnimation,
|
|
28106
|
+
zoomIn: la.zoomIn,
|
|
28107
|
+
zoomOut: la.zoomOut,
|
|
28108
|
+
zoomReset: la.zoomReset,
|
|
28109
|
+
undo: la.history.undo,
|
|
28110
|
+
redo: la.history.redo,
|
|
28111
|
+
addText: la.insertion.addText,
|
|
28112
|
+
addShape: la.insertion.addShape,
|
|
28113
|
+
addTable: la.insertion.addTable,
|
|
28114
|
+
addChart: la.insertion.addChart,
|
|
28115
|
+
addField: la.insertion.addField,
|
|
28116
|
+
addActionButton: la.insertion.addActionButton,
|
|
28117
|
+
openImagePicker: la.insertion.openImagePicker,
|
|
28118
|
+
openMediaPicker: la.insertion.openMediaPicker,
|
|
28119
|
+
addGuide: la.drag.addGuide,
|
|
28120
|
+
onAlign: la.arrange.onAlign,
|
|
28121
|
+
onDistribute: la.arrange.onDistribute,
|
|
28122
|
+
copySelected: la.editing.copySelected,
|
|
28123
|
+
cutSelected: la.editing.cutSelected,
|
|
28124
|
+
pasteElement: la.editing.pasteElement,
|
|
28125
|
+
ribbonFlip: la.ribbonActions.ribbonFlip,
|
|
28126
|
+
bringForward: la.arrange.bringForward,
|
|
28127
|
+
sendBackward: la.arrange.sendBackward,
|
|
28128
|
+
ribbonMoveToEdge: la.ribbonActions.ribbonMoveToEdge,
|
|
28129
|
+
onGroup: la.arrange.onGroup,
|
|
28130
|
+
onUngroup: la.arrange.onUngroup,
|
|
28131
|
+
updateSelectedShapeStyle: la.editing.updateSelectedShapeStyle,
|
|
28132
|
+
openHyperlinkForSelection: la.editing.openHyperlinkForSelection,
|
|
28133
|
+
duplicateSelected: la.arrange.duplicateSelected,
|
|
28134
|
+
deleteSelected: la.arrange.deleteSelected,
|
|
28135
|
+
handleOpenFile: la.handleOpenFile,
|
|
28136
|
+
handleOpenRecentFile: la.handleOpenRecentFile,
|
|
28137
|
+
createPresentation: la.createPresentation,
|
|
28138
|
+
onExportPng: la.exporter.onExportPng,
|
|
28139
|
+
onExportPdf: la.exporter.onExportPdf,
|
|
28140
|
+
onExportWebm: la.exporter.onExportWebm,
|
|
28141
|
+
onExportGif: la.exporter.onExportGif,
|
|
28142
|
+
onExportJson: la.exporter.onExportJson,
|
|
28143
|
+
downloadAs: la.exporter.downloadAs,
|
|
28144
|
+
save: la.exporter.save,
|
|
28145
|
+
onCopySlideAsImage: la.exporter.onCopySlideAsImage,
|
|
28146
|
+
openPrintDialog: la.printer.openPrintDialog,
|
|
28147
|
+
ribbonUpdateTextStyle: la.ribbonActions.ribbonUpdateTextStyle,
|
|
28148
|
+
ribbonUpdateTextCase: la.ribbonActions.ribbonUpdateTextCase,
|
|
28149
|
+
insertSlideFromLayout: la.insertion.insertSlideFromLayout,
|
|
28150
|
+
applyLayoutToActiveSlide: la.insertion.applyLayoutToActiveSlide,
|
|
28151
|
+
loadLayoutPreviews: la.insertion.loadLayoutPreviews,
|
|
28152
|
+
insertSlideFromTemplate: la.templateInsertion.insertSlideFromTemplate,
|
|
28153
|
+
onRenameActiveCustomShow: la.customShows.onRenameActiveCustomShow,
|
|
28154
|
+
onDeleteActiveCustomShow: la.customShows.onDeleteActiveCustomShow,
|
|
28155
|
+
onToggleCurrentSlideInActiveShow: la.customShows.onToggleCurrentSlideInActiveShow,
|
|
28156
|
+
toggleFormatPainter: la.editing.toggleFormatPainter,
|
|
28157
|
+
onToggleSubtitles: la.slideShow.onToggleSubtitles,
|
|
28158
|
+
onTransitionChange: la.slideMutations.onTransitionChange,
|
|
28159
|
+
onApplyTransitionToAll: la.slideMutations.onApplyTransitionToAll,
|
|
28160
|
+
addSection: la.slideCommands.addSection,
|
|
28161
|
+
defaultSectionName: la.slideCommands.defaultSectionName,
|
|
28162
|
+
selectAllElements: la.slideCommands.selectAllElements,
|
|
28163
|
+
clearSelection: la.slideCommands.clearSelection,
|
|
28164
|
+
onPresentationPropertiesUpdate: la.slideShow.onPresentationPropertiesUpdate
|
|
28157
28165
|
}));
|
|
28158
|
-
var
|
|
28159
|
-
const { handleCommandSearch:
|
|
28166
|
+
var la;
|
|
28167
|
+
const { handleCommandSearch: ra, handleQuickAccessCommand: ia } = function(e) {
|
|
28160
28168
|
const t = {
|
|
28161
28169
|
format: {
|
|
28162
28170
|
bold: () => e.updateTextStyle({ bold: !0 }),
|
|
@@ -28239,138 +28247,138 @@ var UG = ["aria-busy", "tabindex"], HG = {
|
|
|
28239
28247
|
}
|
|
28240
28248
|
};
|
|
28241
28249
|
}({
|
|
28242
|
-
updateTextStyle:
|
|
28243
|
-
addText:
|
|
28244
|
-
addShape:
|
|
28245
|
-
addTable:
|
|
28246
|
-
addChart:
|
|
28247
|
-
openImagePicker:
|
|
28248
|
-
openMediaPicker:
|
|
28249
|
-
showInsertSmartArt:
|
|
28250
|
-
showEquationEditor:
|
|
28251
|
-
editingEquationOmml:
|
|
28252
|
-
hyperlinkOpen:
|
|
28253
|
-
showGrid:
|
|
28254
|
-
showRulers:
|
|
28255
|
-
showSorter:
|
|
28256
|
-
spellCheckEnabled:
|
|
28257
|
-
themeGalleryOpen:
|
|
28258
|
-
zoomIn:
|
|
28259
|
-
zoomOut:
|
|
28260
|
-
zoomReset:
|
|
28261
|
-
startPresenting:
|
|
28262
|
-
presentFromBeginning:
|
|
28263
|
-
moveToEdge:
|
|
28264
|
-
duplicateSelected:
|
|
28265
|
-
openPrintDialog:
|
|
28266
|
-
exportPdf:
|
|
28267
|
-
addSlide:
|
|
28268
|
-
}),
|
|
28269
|
-
var
|
|
28270
|
-
getCanvas: () =>
|
|
28271
|
-
getTarget: () => !
|
|
28272
|
-
documentId:
|
|
28273
|
-
slideId:
|
|
28274
|
-
canvasSize:
|
|
28250
|
+
updateTextStyle: _o,
|
|
28251
|
+
addText: Vt.addText,
|
|
28252
|
+
addShape: Vt.addShape,
|
|
28253
|
+
addTable: Vt.addTable,
|
|
28254
|
+
addChart: Vt.addChart,
|
|
28255
|
+
openImagePicker: Vt.openImagePicker,
|
|
28256
|
+
openMediaPicker: Vt.openMediaPicker,
|
|
28257
|
+
showInsertSmartArt: kt.showInsertSmartArt,
|
|
28258
|
+
showEquationEditor: kt.showEquationEditor,
|
|
28259
|
+
editingEquationOmml: kt.editingEquationOmml,
|
|
28260
|
+
hyperlinkOpen: Gt.hyperlinkOpen,
|
|
28261
|
+
showGrid: Tn,
|
|
28262
|
+
showRulers: Fn,
|
|
28263
|
+
showSorter: en.showSorter,
|
|
28264
|
+
spellCheckEnabled: In,
|
|
28265
|
+
themeGalleryOpen: _n,
|
|
28266
|
+
zoomIn: je,
|
|
28267
|
+
zoomOut: We,
|
|
28268
|
+
zoomReset: qe,
|
|
28269
|
+
startPresenting: Ut.startPresenting,
|
|
28270
|
+
presentFromBeginning: Ut.presentFromBeginning,
|
|
28271
|
+
moveToEdge: Ao,
|
|
28272
|
+
duplicateSelected: It,
|
|
28273
|
+
openPrintDialog: Jt.openPrintDialog,
|
|
28274
|
+
exportPdf: Qt,
|
|
28275
|
+
addSlide: Mt.addSlide
|
|
28276
|
+
}), sa = NG(aa, L.resolved);
|
|
28277
|
+
var ca = wo, da = {
|
|
28278
|
+
getCanvas: () => To.value,
|
|
28279
|
+
getTarget: () => !De.value || te.value || ne.value || Ut.presenting.value || ko.showMasterView.value || Je.value || ht.inlineEditingElementId.value || "select" !== En.value || Ln.value?.open || !Re.value || !Ce.value ? null : {
|
|
28280
|
+
documentId: Ce.value,
|
|
28281
|
+
slideId: Re.value.id,
|
|
28282
|
+
canvasSize: J.value
|
|
28275
28283
|
},
|
|
28276
|
-
insertElement:
|
|
28284
|
+
insertElement: it.addElement
|
|
28277
28285
|
};
|
|
28278
28286
|
(0, l.watch)([
|
|
28279
|
-
|
|
28280
|
-
() =>
|
|
28281
|
-
() =>
|
|
28282
|
-
() =>
|
|
28283
|
-
() =>
|
|
28287
|
+
ca,
|
|
28288
|
+
() => da.getTarget()?.documentId,
|
|
28289
|
+
() => da.getTarget()?.slideId,
|
|
28290
|
+
() => da.getTarget()?.canvasSize.width,
|
|
28291
|
+
() => da.getTarget()?.canvasSize.height
|
|
28284
28292
|
], (e, t, n) => {
|
|
28285
|
-
|
|
28293
|
+
ca.value && n((0, a.attachEditorImagePaste)(ca.value, da));
|
|
28286
28294
|
}, {
|
|
28287
28295
|
immediate: !0,
|
|
28288
28296
|
flush: "sync"
|
|
28289
28297
|
});
|
|
28290
|
-
const
|
|
28298
|
+
const pa = {
|
|
28291
28299
|
...RG({
|
|
28292
|
-
slides:
|
|
28293
|
-
activeSlide:
|
|
28294
|
-
activeSlideIndex:
|
|
28295
|
-
slideCount:
|
|
28296
|
-
selectedElementIds:
|
|
28297
|
-
zoom:
|
|
28298
|
-
isDirty:
|
|
28299
|
-
presenting:
|
|
28300
|
-
showMasterView:
|
|
28301
|
-
mode:
|
|
28302
|
-
canEdit:
|
|
28303
|
-
loading:
|
|
28304
|
-
error:
|
|
28305
|
-
editTemplateMode:
|
|
28300
|
+
slides: Z,
|
|
28301
|
+
activeSlide: Re,
|
|
28302
|
+
activeSlideIndex: Me,
|
|
28303
|
+
slideCount: Oe,
|
|
28304
|
+
selectedElementIds: Qe,
|
|
28305
|
+
zoom: Ge,
|
|
28306
|
+
isDirty: $n.isDirty,
|
|
28307
|
+
presenting: Ut.presenting,
|
|
28308
|
+
showMasterView: ko.showMasterView,
|
|
28309
|
+
mode: Io,
|
|
28310
|
+
canEdit: De,
|
|
28311
|
+
loading: te,
|
|
28312
|
+
error: ne,
|
|
28313
|
+
editTemplateMode: Je,
|
|
28306
28314
|
setEditingRequested: (e) => {
|
|
28307
|
-
|
|
28315
|
+
Fe.value = e;
|
|
28308
28316
|
},
|
|
28309
|
-
hasActivePointerInteraction: () =>
|
|
28310
|
-
commitPendingText:
|
|
28311
|
-
getContent:
|
|
28312
|
-
goTo:
|
|
28313
|
-
goPrev:
|
|
28314
|
-
goNext:
|
|
28315
|
-
zoomIn:
|
|
28316
|
-
zoomOut:
|
|
28317
|
-
zoomReset:
|
|
28318
|
-
startPresenting:
|
|
28319
|
-
history:
|
|
28320
|
-
slideOps:
|
|
28321
|
-
toggleSlideHidden:
|
|
28322
|
-
elementOps:
|
|
28317
|
+
hasActivePointerInteraction: () => Nt.hasActivePointerInteraction() || null !== ct.value || Boolean(Fo.value?.hasActivePointerInteraction()),
|
|
28318
|
+
commitPendingText: ht.commitInlineEdit,
|
|
28319
|
+
getContent: we,
|
|
28320
|
+
goTo: Le,
|
|
28321
|
+
goPrev: Ue,
|
|
28322
|
+
goNext: He,
|
|
28323
|
+
zoomIn: je,
|
|
28324
|
+
zoomOut: We,
|
|
28325
|
+
zoomReset: qe,
|
|
28326
|
+
startPresenting: Ut.startPresenting,
|
|
28327
|
+
history: rt,
|
|
28328
|
+
slideOps: Mt,
|
|
28329
|
+
toggleSlideHidden: an,
|
|
28330
|
+
elementOps: it
|
|
28323
28331
|
}),
|
|
28324
|
-
...
|
|
28332
|
+
...L.api
|
|
28325
28333
|
};
|
|
28326
|
-
p(
|
|
28327
|
-
viewer:
|
|
28328
|
-
mode:
|
|
28329
|
-
canEdit:
|
|
28330
|
-
activeSlideIndex:
|
|
28331
|
-
slideCount:
|
|
28332
|
-
selectedElementIds:
|
|
28334
|
+
p(pa), (0, l.provide)(y, (0, l.computed)(() => ({
|
|
28335
|
+
viewer: pa,
|
|
28336
|
+
mode: Io.value,
|
|
28337
|
+
canEdit: De.value,
|
|
28338
|
+
activeSlideIndex: Me.value,
|
|
28339
|
+
slideCount: Oe.value,
|
|
28340
|
+
selectedElementIds: Qe.value,
|
|
28333
28341
|
locale: k.localeCode.value
|
|
28334
28342
|
})));
|
|
28335
|
-
const
|
|
28336
|
-
getSnapshot: () =>
|
|
28337
|
-
handler:
|
|
28338
|
-
slides:
|
|
28339
|
-
templateElementsBySlideId:
|
|
28340
|
-
allowExternalImages: (0, a.resolveAllowExternalContent)(v.allowExternalContent,
|
|
28341
|
-
editable:
|
|
28343
|
+
const ua = (0, a.createSlidePackageClipboard)({
|
|
28344
|
+
getSnapshot: () => Ce.value ? {
|
|
28345
|
+
handler: Ce.value,
|
|
28346
|
+
slides: Z.value,
|
|
28347
|
+
templateElementsBySlideId: Q.value,
|
|
28348
|
+
allowExternalImages: (0, a.resolveAllowExternalContent)(v.allowExternalContent, M.value),
|
|
28349
|
+
editable: De.value
|
|
28342
28350
|
} : null,
|
|
28343
28351
|
commit: (e) => {
|
|
28344
|
-
|
|
28345
|
-
for (const [t, n] of e.mediaUrls)
|
|
28346
|
-
|
|
28352
|
+
rt.pushHistory(), Ce.value = e.handler, Z.value = e.slides, Q.value = e.templateElementsBySlideId, me.value = e.data.slideMasters ?? [], X.layoutOptions.value = e.data.layoutOptions ?? [], X.themeOptions.value = e.data.themeOptions ?? [];
|
|
28353
|
+
for (const [t, n] of e.mediaUrls) ee.value.set(t, n);
|
|
28354
|
+
Me.value = e.insertAt, $n.isDirty.value = !0;
|
|
28347
28355
|
}
|
|
28348
28356
|
});
|
|
28349
|
-
return (0, l.onBeforeUnmount)(() =>
|
|
28357
|
+
return (0, l.onBeforeUnmount)(() => ua.dispose()), (t, n) => ((0, l.openBlock)(), (0, l.createElementBlock)("div", (0, l.mergeProps)({
|
|
28350
28358
|
ref_key: "viewerRootRef",
|
|
28351
|
-
ref:
|
|
28359
|
+
ref: wo,
|
|
28352
28360
|
class: ["pptx-vue-viewer", [
|
|
28353
28361
|
v.class,
|
|
28354
|
-
{ "pptx-vue-reduced-motion":
|
|
28355
|
-
...
|
|
28362
|
+
{ "pptx-vue-reduced-motion": $o.value },
|
|
28363
|
+
...jo.value
|
|
28356
28364
|
]],
|
|
28357
28365
|
"data-pptx-theme-root": "",
|
|
28358
28366
|
"data-pptx-scope": "",
|
|
28359
28367
|
"data-pptx-editor-chrome": "",
|
|
28360
28368
|
style: (0, l.unref)(S)
|
|
28361
|
-
}, (0, l.unref)(
|
|
28362
|
-
"aria-busy": (0, l.unref)(
|
|
28363
|
-
tabindex:
|
|
28364
|
-
onKeydown: n[21] || (n[21] = (...e) => (0, l.unref)(
|
|
28369
|
+
}, (0, l.unref)(q).rootAttrs, {
|
|
28370
|
+
"aria-busy": (0, l.unref)(te) ? "true" : "false",
|
|
28371
|
+
tabindex: De.value ? 0 : void 0,
|
|
28372
|
+
onKeydown: n[21] || (n[21] = (...e) => (0, l.unref)(Oo) && (0, l.unref)(Oo)(...e))
|
|
28365
28373
|
}), [
|
|
28366
28374
|
(0, l.createVNode)((0, l.unref)(R)),
|
|
28367
|
-
(0, l.createVNode)((0, l.unref)(OG), { css: (0, l.unref)(
|
|
28368
|
-
(0, l.unref)(
|
|
28375
|
+
(0, l.createVNode)((0, l.unref)(OG), { css: (0, l.unref)(q).css.value }, null, 8, ["css"]),
|
|
28376
|
+
(0, l.unref)(te) ? ((0, l.openBlock)(), (0, l.createElementBlock)("div", HG, [n[22] || (n[22] = (0, l.createElementVNode)("div", {
|
|
28369
28377
|
class: "pptx-vue-spinner",
|
|
28370
28378
|
"aria-hidden": "true"
|
|
28371
|
-
}, null, -1)), (0, l.createElementVNode)("p", null, (0, l.toDisplayString)((0, l.unref)(b)("pptx.viewer.loading")), 1)])) : (0, l.unref)(
|
|
28372
|
-
!(0, l.unref)(
|
|
28373
|
-
|
|
28379
|
+
}, null, -1)), (0, l.createElementVNode)("p", null, (0, l.toDisplayString)((0, l.unref)(b)("pptx.viewer.loading")), 1)])) : (0, l.unref)(oe) ? ((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)(ne) ? ((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)(ne)), 1)])) : ((0, l.openBlock)(), (0, l.createElementBlock)(l.Fragment, { key: 3 }, [
|
|
28380
|
+
!(0, l.unref)(Ut).presenting.value && x.value.showToolbar ? ((0, l.openBlock)(), (0, l.createElementBlock)(l.Fragment, { key: 0 }, [
|
|
28381
|
+
N.value.canEdit && (0, l.unref)(a.isEditingAllowed)((0, l.unref)(L).resolved.value) && Ve.value ? ((0, l.openBlock)(), (0, l.createElementBlock)("div", jG, [
|
|
28374
28382
|
(0, l.createVNode)((0, l.unref)(r.ShieldAlert), {
|
|
28375
28383
|
class: "h-4 w-4 shrink-0 text-amber-400",
|
|
28376
28384
|
"aria-hidden": "true"
|
|
@@ -28379,20 +28387,20 @@ var UG = ["aria-busy", "tabindex"], HG = {
|
|
|
28379
28387
|
(0, l.createElementVNode)("button", {
|
|
28380
28388
|
type: "button",
|
|
28381
28389
|
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",
|
|
28382
|
-
onClick:
|
|
28390
|
+
onClick: Ie
|
|
28383
28391
|
}, (0, l.toDisplayString)((0, l.unref)(b)("pptx.security.enableEditing")), 1)
|
|
28384
28392
|
])) : (0, l.createCommentVNode)("", !0),
|
|
28385
|
-
(0, l.unref)(
|
|
28393
|
+
(0, l.unref)(Te).showBanner.value ? ((0, l.openBlock)(), (0, l.createBlock)(Ml, {
|
|
28386
28394
|
key: 1,
|
|
28387
|
-
kind: (0, l.unref)(
|
|
28388
|
-
"message-key": (0, l.unref)(
|
|
28389
|
-
"password-prompt-open": (0, l.unref)(
|
|
28390
|
-
"password-error": (0, l.unref)(
|
|
28391
|
-
"checking-password": (0, l.unref)(
|
|
28392
|
-
onEditAnyway: (0, l.unref)(
|
|
28393
|
-
onDismiss: (0, l.unref)(
|
|
28394
|
-
onSubmitPassword: (0, l.unref)(
|
|
28395
|
-
onCancelPassword: (0, l.unref)(
|
|
28395
|
+
kind: (0, l.unref)(Te).recommendation.value.kind,
|
|
28396
|
+
"message-key": (0, l.unref)(Te).recommendation.value.messageKey,
|
|
28397
|
+
"password-prompt-open": (0, l.unref)(Te).passwordPromptOpen.value,
|
|
28398
|
+
"password-error": (0, l.unref)(Te).passwordError.value,
|
|
28399
|
+
"checking-password": (0, l.unref)(Te).checkingPassword.value,
|
|
28400
|
+
onEditAnyway: (0, l.unref)(Te).editAnyway,
|
|
28401
|
+
onDismiss: (0, l.unref)(Te).dismiss,
|
|
28402
|
+
onSubmitPassword: (0, l.unref)(Te).submitPassword,
|
|
28403
|
+
onCancelPassword: (0, l.unref)(Te).cancelPasswordPrompt
|
|
28396
28404
|
}, null, 8, [
|
|
28397
28405
|
"kind",
|
|
28398
28406
|
"message-key",
|
|
@@ -28404,31 +28412,31 @@ var UG = ["aria-busy", "tabindex"], HG = {
|
|
|
28404
28412
|
"onSubmitPassword",
|
|
28405
28413
|
"onCancelPassword"
|
|
28406
28414
|
])) : (0, l.createCommentVNode)("", !0),
|
|
28407
|
-
!(0, l.unref)(
|
|
28415
|
+
!(0, l.unref)(Bo) && (0, l.unref)(H)("titleBar") ? ((0, l.openBlock)(), (0, l.createBlock)(ri, {
|
|
28408
28416
|
key: 2,
|
|
28409
|
-
mode:
|
|
28410
|
-
"can-edit":
|
|
28411
|
-
"file-name":
|
|
28412
|
-
"is-dirty": (0, l.unref)(
|
|
28413
|
-
"autosave-status": (0, l.unref)(
|
|
28414
|
-
"autosave-enabled": (0, l.unref)(
|
|
28415
|
-
"autosave-disabled-reason": (0, l.unref)(
|
|
28416
|
-
"autosave-toggle-available": (0, l.unref)(
|
|
28417
|
-
"on-toggle-autosave": (0, l.unref)(
|
|
28418
|
-
"can-undo": (0, l.unref)(
|
|
28419
|
-
"undo-label": (0, l.unref)(
|
|
28420
|
-
"redo-label": (0, l.unref)(
|
|
28421
|
-
"can-redo": (0, l.unref)(
|
|
28422
|
-
"on-undo": (0, l.unref)(
|
|
28423
|
-
"on-redo": (0, l.unref)(
|
|
28417
|
+
mode: zo.value,
|
|
28418
|
+
"can-edit": De.value,
|
|
28419
|
+
"file-name": N.value.fileName,
|
|
28420
|
+
"is-dirty": (0, l.unref)($n).isDirty.value,
|
|
28421
|
+
"autosave-status": (0, l.unref)(Xn) ? "disabled" : (0, l.unref)($n).status.value,
|
|
28422
|
+
"autosave-enabled": (0, l.unref)(qn),
|
|
28423
|
+
"autosave-disabled-reason": (0, l.unref)(Xn),
|
|
28424
|
+
"autosave-toggle-available": (0, l.unref)(Zn),
|
|
28425
|
+
"on-toggle-autosave": (0, l.unref)(Yn),
|
|
28426
|
+
"can-undo": (0, l.unref)(rt).canUndo.value,
|
|
28427
|
+
"undo-label": (0, l.unref)(rt).undoLabel.value,
|
|
28428
|
+
"redo-label": (0, l.unref)(rt).redoLabel.value,
|
|
28429
|
+
"can-redo": (0, l.unref)(rt).canRedo.value,
|
|
28430
|
+
"on-undo": (0, l.unref)(rt).undo,
|
|
28431
|
+
"on-redo": (0, l.unref)(rt).redo,
|
|
28424
28432
|
"on-save": () => {
|
|
28425
|
-
(0, l.unref)(
|
|
28433
|
+
(0, l.unref)(Wt).save();
|
|
28426
28434
|
},
|
|
28427
|
-
"find-replace-open":
|
|
28428
|
-
"on-toggle-find-replace": () =>
|
|
28429
|
-
"on-command-search": (0, l.unref)(
|
|
28430
|
-
"on-quick-command": (0, l.unref)(
|
|
28431
|
-
"hidden-actions": (0, l.unref)(
|
|
28435
|
+
"find-replace-open": Kt.value,
|
|
28436
|
+
"on-toggle-find-replace": () => Kt.value = !Kt.value,
|
|
28437
|
+
"on-command-search": (0, l.unref)(ra),
|
|
28438
|
+
"on-quick-command": (0, l.unref)(ia),
|
|
28439
|
+
"hidden-actions": (0, l.unref)(K)
|
|
28432
28440
|
}, null, 8, [
|
|
28433
28441
|
"mode",
|
|
28434
28442
|
"can-edit",
|
|
@@ -28452,14 +28460,14 @@ var UG = ["aria-busy", "tabindex"], HG = {
|
|
|
28452
28460
|
"on-quick-command",
|
|
28453
28461
|
"hidden-actions"
|
|
28454
28462
|
])) : (0, l.createCommentVNode)("", !0),
|
|
28455
|
-
(0, l.unref)(
|
|
28456
|
-
"hidden-actions": (0, l.unref)(
|
|
28457
|
-
"recent-presentations-count": (0, l.unref)(
|
|
28458
|
-
"ai-enabled": (0, l.unref)(
|
|
28459
|
-
"is-ai-panel-open":
|
|
28460
|
-
"on-toggle-ai-panel": () =>
|
|
28461
|
-
"insert-open": (0, l.unref)(
|
|
28462
|
-
onCloseInsert: n[0] || (n[0] = (e) => (0, l.unref)(
|
|
28463
|
+
(0, l.unref)(Bo) ? ((0, l.openBlock)(), (0, l.createBlock)(wl, (0, l.mergeProps)({ key: 4 }, (0, l.unref)(sa), {
|
|
28464
|
+
"hidden-actions": (0, l.unref)(K),
|
|
28465
|
+
"recent-presentations-count": (0, l.unref)(M).advanced.recentPresentationsCount,
|
|
28466
|
+
"ai-enabled": (0, l.unref)($),
|
|
28467
|
+
"is-ai-panel-open": ut.value,
|
|
28468
|
+
"on-toggle-ai-panel": () => ut.value = !ut.value,
|
|
28469
|
+
"insert-open": (0, l.unref)(Po).mobileInsertOpen.value,
|
|
28470
|
+
onCloseInsert: n[0] || (n[0] = (e) => (0, l.unref)(Po).mobileInsertOpen.value = !1)
|
|
28463
28471
|
}), null, 16, [
|
|
28464
28472
|
"hidden-actions",
|
|
28465
28473
|
"recent-presentations-count",
|
|
@@ -28467,12 +28475,12 @@ var UG = ["aria-busy", "tabindex"], HG = {
|
|
|
28467
28475
|
"is-ai-panel-open",
|
|
28468
28476
|
"on-toggle-ai-panel",
|
|
28469
28477
|
"insert-open"
|
|
28470
|
-
])) : ((0, l.openBlock)(), (0, l.createElementBlock)(l.Fragment, { key: 3 }, [(0, l.createVNode)(ni, (0, l.mergeProps)((0, l.unref)(
|
|
28471
|
-
"hidden-actions": (0, l.unref)(
|
|
28472
|
-
"recent-presentations-count": (0, l.unref)(
|
|
28473
|
-
"ai-enabled": (0, l.unref)(
|
|
28474
|
-
"is-ai-panel-open":
|
|
28475
|
-
"on-toggle-ai-panel": () =>
|
|
28478
|
+
])) : ((0, l.openBlock)(), (0, l.createElementBlock)(l.Fragment, { key: 3 }, [(0, l.createVNode)(ni, (0, l.mergeProps)((0, l.unref)(sa), {
|
|
28479
|
+
"hidden-actions": (0, l.unref)(K),
|
|
28480
|
+
"recent-presentations-count": (0, l.unref)(M).advanced.recentPresentationsCount,
|
|
28481
|
+
"ai-enabled": (0, l.unref)($),
|
|
28482
|
+
"is-ai-panel-open": ut.value,
|
|
28483
|
+
"on-toggle-ai-panel": () => ut.value = !ut.value
|
|
28476
28484
|
}), null, 16, [
|
|
28477
28485
|
"hidden-actions",
|
|
28478
28486
|
"recent-presentations-count",
|
|
@@ -28481,11 +28489,11 @@ var UG = ["aria-busy", "tabindex"], HG = {
|
|
|
28481
28489
|
"on-toggle-ai-panel"
|
|
28482
28490
|
]), (0, l.createVNode)(ri, {
|
|
28483
28491
|
placement: "belowRibbon",
|
|
28484
|
-
mode:
|
|
28485
|
-
"can-edit":
|
|
28486
|
-
"is-dirty": (0, l.unref)(
|
|
28487
|
-
"autosave-enabled": (0, l.unref)(
|
|
28488
|
-
"on-quick-command": (0, l.unref)(
|
|
28492
|
+
mode: zo.value,
|
|
28493
|
+
"can-edit": De.value,
|
|
28494
|
+
"is-dirty": (0, l.unref)($n).isDirty.value,
|
|
28495
|
+
"autosave-enabled": (0, l.unref)(qn),
|
|
28496
|
+
"on-quick-command": (0, l.unref)(ia)
|
|
28489
28497
|
}, null, 8, [
|
|
28490
28498
|
"mode",
|
|
28491
28499
|
"can-edit",
|
|
@@ -28496,44 +28504,44 @@ var UG = ["aria-busy", "tabindex"], HG = {
|
|
|
28496
28504
|
], 64)) : (0, l.createCommentVNode)("", !0),
|
|
28497
28505
|
(0, l.createElementVNode)("input", {
|
|
28498
28506
|
ref_key: "imageInputRef",
|
|
28499
|
-
ref:
|
|
28507
|
+
ref: Tt,
|
|
28500
28508
|
type: "file",
|
|
28501
28509
|
accept: "image/*",
|
|
28502
28510
|
"aria-hidden": "true",
|
|
28503
28511
|
style: { display: "none" },
|
|
28504
|
-
onChange: n[1] || (n[1] = (...e) => (0, l.unref)(
|
|
28512
|
+
onChange: n[1] || (n[1] = (...e) => (0, l.unref)(Vt).onImageFileSelected && (0, l.unref)(Vt).onImageFileSelected(...e))
|
|
28505
28513
|
}, null, 544),
|
|
28506
28514
|
(0, l.createElementVNode)("input", {
|
|
28507
28515
|
ref_key: "mediaInputRef",
|
|
28508
|
-
ref:
|
|
28516
|
+
ref: Ft,
|
|
28509
28517
|
type: "file",
|
|
28510
28518
|
accept: "audio/*,video/*",
|
|
28511
28519
|
"aria-hidden": "true",
|
|
28512
28520
|
style: { display: "none" },
|
|
28513
|
-
onChange: n[2] || (n[2] = (...e) => (0, l.unref)(
|
|
28521
|
+
onChange: n[2] || (n[2] = (...e) => (0, l.unref)(Vt).onMediaFileSelected && (0, l.unref)(Vt).onMediaFileSelected(...e))
|
|
28514
28522
|
}, null, 544),
|
|
28515
|
-
|
|
28523
|
+
De.value && Kt.value && (0, l.unref)(H)("findReplace") ? ((0, l.openBlock)(), (0, l.createBlock)(ie, {
|
|
28516
28524
|
key: 1,
|
|
28517
|
-
query: (0, l.unref)(
|
|
28518
|
-
"onUpdate:query": n[3] || (n[3] = (e) => (0, l.unref)(
|
|
28519
|
-
replacement: (0, l.unref)(
|
|
28520
|
-
"onUpdate:replacement": n[4] || (n[4] = (e) => (0, l.unref)(
|
|
28521
|
-
"match-case": (0, l.unref)(
|
|
28522
|
-
"onUpdate:matchCase": n[5] || (n[5] = (e) => (0, l.unref)(
|
|
28523
|
-
"include-notes": (0, l.unref)(
|
|
28524
|
-
"onUpdate:includeNotes": n[6] || (n[6] = (e) => (0, l.unref)(
|
|
28525
|
-
"include-chart-titles": (0, l.unref)(
|
|
28526
|
-
"onUpdate:includeChartTitles": n[7] || (n[7] = (e) => (0, l.unref)(
|
|
28527
|
-
"include-chart-data": (0, l.unref)(
|
|
28528
|
-
"onUpdate:includeChartData": n[8] || (n[8] = (e) => (0, l.unref)(
|
|
28529
|
-
"match-count": (0, l.unref)(
|
|
28530
|
-
"current-index": (0, l.unref)(
|
|
28531
|
-
matches: (0, l.unref)(
|
|
28532
|
-
onNext: (0, l.unref)(
|
|
28533
|
-
onPrev: (0, l.unref)(
|
|
28534
|
-
onReplace: (0, l.unref)(
|
|
28535
|
-
onReplaceAll: (0, l.unref)(
|
|
28536
|
-
onClose: n[9] || (n[9] = (e) =>
|
|
28525
|
+
query: (0, l.unref)($t).query.value,
|
|
28526
|
+
"onUpdate:query": n[3] || (n[3] = (e) => (0, l.unref)($t).query.value = e),
|
|
28527
|
+
replacement: (0, l.unref)($t).replacement.value,
|
|
28528
|
+
"onUpdate:replacement": n[4] || (n[4] = (e) => (0, l.unref)($t).replacement.value = e),
|
|
28529
|
+
"match-case": (0, l.unref)($t).matchCase.value,
|
|
28530
|
+
"onUpdate:matchCase": n[5] || (n[5] = (e) => (0, l.unref)($t).matchCase.value = e),
|
|
28531
|
+
"include-notes": (0, l.unref)($t).includeNotes.value,
|
|
28532
|
+
"onUpdate:includeNotes": n[6] || (n[6] = (e) => (0, l.unref)($t).includeNotes.value = e),
|
|
28533
|
+
"include-chart-titles": (0, l.unref)($t).includeChartTitles.value,
|
|
28534
|
+
"onUpdate:includeChartTitles": n[7] || (n[7] = (e) => (0, l.unref)($t).includeChartTitles.value = e),
|
|
28535
|
+
"include-chart-data": (0, l.unref)($t).includeChartData.value,
|
|
28536
|
+
"onUpdate:includeChartData": n[8] || (n[8] = (e) => (0, l.unref)($t).includeChartData.value = e),
|
|
28537
|
+
"match-count": (0, l.unref)($t).matchCount.value,
|
|
28538
|
+
"current-index": (0, l.unref)($t).currentMatch.value,
|
|
28539
|
+
matches: (0, l.unref)($t).matches.value,
|
|
28540
|
+
onNext: (0, l.unref)($t).next,
|
|
28541
|
+
onPrev: (0, l.unref)($t).prev,
|
|
28542
|
+
onReplace: (0, l.unref)($t).replaceCurrent,
|
|
28543
|
+
onReplaceAll: (0, l.unref)($t).replaceAll,
|
|
28544
|
+
onClose: n[9] || (n[9] = (e) => Kt.value = !1)
|
|
28537
28545
|
}, null, 8, [
|
|
28538
28546
|
"query",
|
|
28539
28547
|
"replacement",
|
|
@@ -28550,25 +28558,25 @@ var UG = ["aria-busy", "tabindex"], HG = {
|
|
|
28550
28558
|
"onReplaceAll"
|
|
28551
28559
|
])) : (0, l.createCommentVNode)("", !0),
|
|
28552
28560
|
(0, l.withDirectives)((0, l.createElementVNode)("div", qG, [
|
|
28553
|
-
(0, l.unref)(
|
|
28561
|
+
(0, l.unref)(Bo) || (0, l.unref)(Nn) || (0, l.unref)(Ut).presenting.value || !x.value.showThumbnails || !(0, l.unref)(H)("slidesPane") ? (0, l.createCommentVNode)("", !0) : ((0, l.openBlock)(), (0, l.createBlock)(wG, {
|
|
28554
28562
|
key: 0,
|
|
28555
|
-
"merged-slides": (0, l.unref)(
|
|
28556
|
-
"active-slide-index": (0, l.unref)(
|
|
28557
|
-
"canvas-size": (0, l.unref)(
|
|
28558
|
-
"media-data-urls": (0, l.unref)(
|
|
28559
|
-
"can-edit":
|
|
28560
|
-
"has-sections":
|
|
28561
|
-
"section-ops": (0, l.unref)(
|
|
28562
|
-
"slide-ops": (0, l.unref)(
|
|
28563
|
-
"go-to": (0, l.unref)(
|
|
28564
|
-
"toggle-slide-hidden": (0, l.unref)(
|
|
28565
|
-
"header-footer": (0, l.unref)(
|
|
28566
|
-
"custom-properties": (0, l.unref)(
|
|
28567
|
-
"first-slide-number": (0, l.unref)(
|
|
28568
|
-
theme: (0, l.unref)(
|
|
28569
|
-
"table-style-map": (0, l.unref)(
|
|
28563
|
+
"merged-slides": (0, l.unref)(ot),
|
|
28564
|
+
"active-slide-index": (0, l.unref)(Me),
|
|
28565
|
+
"canvas-size": (0, l.unref)(J),
|
|
28566
|
+
"media-data-urls": (0, l.unref)(ee),
|
|
28567
|
+
"can-edit": De.value,
|
|
28568
|
+
"has-sections": Co.value,
|
|
28569
|
+
"section-ops": (0, l.unref)(Eo),
|
|
28570
|
+
"slide-ops": (0, l.unref)(Mt),
|
|
28571
|
+
"go-to": (0, l.unref)(Le),
|
|
28572
|
+
"toggle-slide-hidden": (0, l.unref)(an),
|
|
28573
|
+
"header-footer": (0, l.unref)(he),
|
|
28574
|
+
"custom-properties": (0, l.unref)(le),
|
|
28575
|
+
"first-slide-number": (0, l.unref)(X).firstSlideNumber.value,
|
|
28576
|
+
theme: (0, l.unref)(Se),
|
|
28577
|
+
"table-style-map": (0, l.unref)(ue),
|
|
28570
28578
|
"on-open-layout-for-slide": (e, t, n) => {
|
|
28571
|
-
(0, l.unref)(
|
|
28579
|
+
(0, l.unref)(Le)(e), zn.value = {
|
|
28572
28580
|
x: t,
|
|
28573
28581
|
y: n
|
|
28574
28582
|
};
|
|
@@ -28593,64 +28601,64 @@ var UG = ["aria-busy", "tabindex"], HG = {
|
|
|
28593
28601
|
])),
|
|
28594
28602
|
(0, l.createElementVNode)("main", {
|
|
28595
28603
|
ref_key: "mainRef",
|
|
28596
|
-
ref:
|
|
28597
|
-
class: (0, l.normalizeClass)(["pptx-vue-main", { "is-editable":
|
|
28598
|
-
"data-pptx-ai-active": (0, l.unref)(
|
|
28599
|
-
onPointerdown: n[11] || (n[11] = (...e) => (0, l.unref)(
|
|
28600
|
-
onDblclickCapture: n[12] || (n[12] = (...e) => (0, l.unref)(
|
|
28601
|
-
onContextmenu: n[13] || (n[13] = (...e) => (0, l.unref)(
|
|
28602
|
-
onPointermove: n[14] || (n[14] = (...e) => (0, l.unref)(
|
|
28603
|
-
onTouchstart: n[15] || (n[15] = (...e) => (0, l.unref)(
|
|
28604
|
-
onTouchend: n[16] || (n[16] = (...e) => (0, l.unref)(
|
|
28604
|
+
ref: To,
|
|
28605
|
+
class: (0, l.normalizeClass)(["pptx-vue-main", { "is-editable": De.value }]),
|
|
28606
|
+
"data-pptx-ai-active": (0, l.unref)(j) && (0, l.unref)(mt).canvasAnimating.value ? "true" : void 0,
|
|
28607
|
+
onPointerdown: n[11] || (n[11] = (...e) => (0, l.unref)(Ct) && (0, l.unref)(Ct)(...e)),
|
|
28608
|
+
onDblclickCapture: n[12] || (n[12] = (...e) => (0, l.unref)(Et) && (0, l.unref)(Et)(...e)),
|
|
28609
|
+
onContextmenu: n[13] || (n[13] = (...e) => (0, l.unref)(Hn) && (0, l.unref)(Hn)(...e)),
|
|
28610
|
+
onPointermove: n[14] || (n[14] = (...e) => (0, l.unref)(ao).onCollabPointerMove && (0, l.unref)(ao).onCollabPointerMove(...e)),
|
|
28611
|
+
onTouchstart: n[15] || (n[15] = (...e) => (0, l.unref)(Ye).onTouchStart && (0, l.unref)(Ye).onTouchStart(...e)),
|
|
28612
|
+
onTouchend: n[16] || (n[16] = (...e) => (0, l.unref)(Ye).onTouchEnd && (0, l.unref)(Ye).onTouchEnd(...e))
|
|
28605
28613
|
}, [(0, l.createVNode)(xi, {
|
|
28606
|
-
slide: (0, l.unref)(
|
|
28607
|
-
"canvas-size": (0, l.unref)(
|
|
28608
|
-
"media-data-urls": (0, l.unref)(
|
|
28609
|
-
zoom: (0, l.unref)(
|
|
28614
|
+
slide: (0, l.unref)(Re),
|
|
28615
|
+
"canvas-size": (0, l.unref)(J),
|
|
28616
|
+
"media-data-urls": (0, l.unref)(ee),
|
|
28617
|
+
zoom: (0, l.unref)($e),
|
|
28610
28618
|
"fit-padding": v.fitPadding,
|
|
28611
28619
|
"max-fit-scale": v.maxFitScale,
|
|
28612
|
-
"show-rulers": (0, l.unref)(
|
|
28613
|
-
"ruler-selected-bounds": (0, l.unref)(
|
|
28614
|
-
"can-drag-guides":
|
|
28615
|
-
"template-elements": (0, l.unref)(
|
|
28616
|
-
"edit-template-mode": (0, l.unref)(
|
|
28617
|
-
"inline-editing-element-id": (0, l.unref)(
|
|
28618
|
-
"selected-element-ids": (0, l.unref)(
|
|
28619
|
-
"onUpdate:fitScale": n[10] || (n[10] = (e) =>
|
|
28620
|
-
onCreateGuide: (0, l.unref)(
|
|
28620
|
+
"show-rulers": (0, l.unref)(Fn) && !(0, l.unref)(Ut).presenting.value,
|
|
28621
|
+
"ruler-selected-bounds": (0, l.unref)(Xe).rulerSelectedBounds.value,
|
|
28622
|
+
"can-drag-guides": De.value && !(0, l.unref)(Ut).presenting.value,
|
|
28623
|
+
"template-elements": (0, l.unref)(et),
|
|
28624
|
+
"edit-template-mode": (0, l.unref)(Je) && !(0, l.unref)(Ut).presenting.value,
|
|
28625
|
+
"inline-editing-element-id": (0, l.unref)(ht).inlineEditingElementId.value,
|
|
28626
|
+
"selected-element-ids": (0, l.unref)(Xe).selectedElementIds.value,
|
|
28627
|
+
"onUpdate:fitScale": n[10] || (n[10] = (e) => Ke.value = e),
|
|
28628
|
+
onCreateGuide: (0, l.unref)(Nt).addGuide
|
|
28621
28629
|
}, {
|
|
28622
28630
|
default: (0, l.withCtx)(() => [(0, l.createVNode)(Ys, {
|
|
28623
28631
|
ref_key: "canvasOverlaysRef",
|
|
28624
|
-
ref:
|
|
28625
|
-
"can-edit":
|
|
28626
|
-
presenting: (0, l.unref)(
|
|
28627
|
-
"canvas-size": (0, l.unref)(
|
|
28628
|
-
"effective-zoom": (0, l.unref)(
|
|
28629
|
-
"active-slide": (0, l.unref)(
|
|
28630
|
-
"active-slide-index": (0, l.unref)(
|
|
28631
|
-
"selected-elements": (0, l.unref)(
|
|
28632
|
-
"selected-element-ids": (0, l.unref)(
|
|
28633
|
-
marquee: (0, l.unref)(
|
|
28634
|
-
"active-comments": (0, l.unref)(
|
|
28635
|
-
"on-comment-marker-click": (0, l.unref)(
|
|
28636
|
-
"show-grid": (0, l.unref)(
|
|
28637
|
-
"grid-spacing-px":
|
|
28638
|
-
"show-guides": (0, l.unref)(
|
|
28639
|
-
drag: (0, l.unref)(
|
|
28640
|
-
"inline-edit": (0, l.unref)(
|
|
28641
|
-
inspector: (0, l.unref)(
|
|
28642
|
-
collaboration: (0, l.unref)(
|
|
28643
|
-
"spell-check-enabled": (0, l.unref)(
|
|
28644
|
-
"drawing-active": (0, l.unref)(
|
|
28645
|
-
"active-tool": (0, l.unref)(
|
|
28646
|
-
"drawing-color": (0, l.unref)(
|
|
28647
|
-
"drawing-width": (0, l.unref)(
|
|
28648
|
-
"on-stroke": (0, l.unref)(
|
|
28649
|
-
"on-erase": (0, l.unref)(
|
|
28650
|
-
ai: (0, l.unref)(
|
|
28651
|
-
"ai-panel": (0, l.unref)(
|
|
28652
|
-
"on-request-edit": (0, l.unref)(
|
|
28653
|
-
"on-format": (0, l.unref)(
|
|
28632
|
+
ref: Fo,
|
|
28633
|
+
"can-edit": De.value,
|
|
28634
|
+
presenting: (0, l.unref)(Ut).presenting.value,
|
|
28635
|
+
"canvas-size": (0, l.unref)(J),
|
|
28636
|
+
"effective-zoom": (0, l.unref)($e),
|
|
28637
|
+
"active-slide": (0, l.unref)(Re),
|
|
28638
|
+
"active-slide-index": (0, l.unref)(Me),
|
|
28639
|
+
"selected-elements": (0, l.unref)(nt),
|
|
28640
|
+
"selected-element-ids": (0, l.unref)(Qe),
|
|
28641
|
+
marquee: (0, l.unref)(ct),
|
|
28642
|
+
"active-comments": (0, l.unref)(oo).activeComments.value,
|
|
28643
|
+
"on-comment-marker-click": (0, l.unref)(oo).onCommentMarkerClick,
|
|
28644
|
+
"show-grid": (0, l.unref)(Tn),
|
|
28645
|
+
"grid-spacing-px": Bt.value,
|
|
28646
|
+
"show-guides": (0, l.unref)(Pn),
|
|
28647
|
+
drag: (0, l.unref)(Nt),
|
|
28648
|
+
"inline-edit": (0, l.unref)(ht),
|
|
28649
|
+
inspector: (0, l.unref)(zt),
|
|
28650
|
+
collaboration: (0, l.unref)(ao),
|
|
28651
|
+
"spell-check-enabled": (0, l.unref)(In),
|
|
28652
|
+
"drawing-active": (0, l.unref)(Qo),
|
|
28653
|
+
"active-tool": (0, l.unref)(En),
|
|
28654
|
+
"drawing-color": (0, l.unref)(Cn),
|
|
28655
|
+
"drawing-width": (0, l.unref)(wn),
|
|
28656
|
+
"on-stroke": (0, l.unref)(Jo),
|
|
28657
|
+
"on-erase": (0, l.unref)(ea),
|
|
28658
|
+
ai: (0, l.unref)(j),
|
|
28659
|
+
"ai-panel": (0, l.unref)(mt),
|
|
28660
|
+
"on-request-edit": (0, l.unref)(St),
|
|
28661
|
+
"on-format": (0, l.unref)(_o)
|
|
28654
28662
|
}, null, 8, [
|
|
28655
28663
|
"can-edit",
|
|
28656
28664
|
"presenting",
|
|
@@ -28699,41 +28707,41 @@ var UG = ["aria-busy", "tabindex"], HG = {
|
|
|
28699
28707
|
"selected-element-ids",
|
|
28700
28708
|
"onCreateGuide"
|
|
28701
28709
|
])], 42, YG),
|
|
28702
|
-
(0, l.unref)(
|
|
28710
|
+
(0, l.unref)(Ut).presenting.value ? (0, l.createCommentVNode)("", !0) : ((0, l.openBlock)(), (0, l.createBlock)(dG, {
|
|
28703
28711
|
key: 1,
|
|
28704
|
-
deck: (0, l.unref)(
|
|
28705
|
-
"can-edit":
|
|
28706
|
-
"edit-template-mode": (0, l.unref)(
|
|
28707
|
-
"is-mobile": (0, l.unref)(
|
|
28708
|
-
"inspector-open": (0, l.unref)(
|
|
28709
|
-
"on-close-inspector": () =>
|
|
28710
|
-
"inspector-element": (0, l.unref)(
|
|
28711
|
-
"active-slide": (0, l.unref)(
|
|
28712
|
-
"slide-count": (0, l.unref)(
|
|
28713
|
-
"author-name":
|
|
28714
|
-
"selected-element-ids": (0, l.unref)(
|
|
28715
|
-
"deck-actions": (0, l.unref)(
|
|
28716
|
-
comments: (0, l.unref)(
|
|
28717
|
-
accessibility: (0, l.unref)(
|
|
28718
|
-
"show-a11y":
|
|
28719
|
-
"signature-workflow": (0, l.unref)(
|
|
28720
|
-
"selection-pane": (0, l.unref)(
|
|
28721
|
-
collaboration: (0, l.unref)(
|
|
28722
|
-
"custom-shows": (0, l.unref)(
|
|
28723
|
-
ai: (0, l.unref)(
|
|
28724
|
-
"ai-chat-panel": (0, l.unref)(
|
|
28725
|
-
"ai-panel-open":
|
|
28726
|
-
"on-close-ai-panel": () =>
|
|
28727
|
-
"ai-panel": (0, l.unref)(
|
|
28728
|
-
"ai-bridge": (0, l.unref)(
|
|
28729
|
-
"ribbon-mode":
|
|
28730
|
-
"go-to": (0, l.unref)(
|
|
28731
|
-
"on-inspector-update": (0, l.unref)(
|
|
28732
|
-
"on-update-slide-animations": (0, l.unref)(
|
|
28733
|
-
"on-table-style-map-change": (0, l.unref)(
|
|
28734
|
-
"on-delete-table-style": (0, l.unref)(
|
|
28735
|
-
"on-slide-update": (0, l.unref)(
|
|
28736
|
-
"on-presentation-update": (0, l.unref)(
|
|
28712
|
+
deck: (0, l.unref)(X),
|
|
28713
|
+
"can-edit": De.value,
|
|
28714
|
+
"edit-template-mode": (0, l.unref)(Je),
|
|
28715
|
+
"is-mobile": (0, l.unref)(Bo),
|
|
28716
|
+
"inspector-open": (0, l.unref)(Bn),
|
|
28717
|
+
"on-close-inspector": () => Bn.value = !1,
|
|
28718
|
+
"inspector-element": (0, l.unref)(zt).inspectorElementForPanels.value,
|
|
28719
|
+
"active-slide": (0, l.unref)(Re),
|
|
28720
|
+
"slide-count": (0, l.unref)(Oe),
|
|
28721
|
+
"author-name": no.value,
|
|
28722
|
+
"selected-element-ids": (0, l.unref)(Qe),
|
|
28723
|
+
"deck-actions": (0, l.unref)(Jn),
|
|
28724
|
+
comments: (0, l.unref)(oo),
|
|
28725
|
+
accessibility: (0, l.unref)(nn),
|
|
28726
|
+
"show-a11y": tn.value,
|
|
28727
|
+
"signature-workflow": (0, l.unref)(io),
|
|
28728
|
+
"selection-pane": (0, l.unref)(go),
|
|
28729
|
+
collaboration: (0, l.unref)(ao),
|
|
28730
|
+
"custom-shows": (0, l.unref)(ho),
|
|
28731
|
+
ai: (0, l.unref)(j),
|
|
28732
|
+
"ai-chat-panel": (0, l.unref)(W),
|
|
28733
|
+
"ai-panel-open": ut.value,
|
|
28734
|
+
"on-close-ai-panel": () => ut.value = !1,
|
|
28735
|
+
"ai-panel": (0, l.unref)(mt),
|
|
28736
|
+
"ai-bridge": (0, l.unref)(oa),
|
|
28737
|
+
"ribbon-mode": zo.value,
|
|
28738
|
+
"go-to": (0, l.unref)(Le),
|
|
28739
|
+
"on-inspector-update": (0, l.unref)(zt).onInspectorUpdate,
|
|
28740
|
+
"on-update-slide-animations": (0, l.unref)(zt).writeSlideAnimations,
|
|
28741
|
+
"on-table-style-map-change": (0, l.unref)(eo).onTableStyleMapChange,
|
|
28742
|
+
"on-delete-table-style": (0, l.unref)(eo).onDeleteTableStyle,
|
|
28743
|
+
"on-slide-update": (0, l.unref)(ln),
|
|
28744
|
+
"on-presentation-update": (0, l.unref)(co).onPresentationPropertiesUpdate
|
|
28737
28745
|
}, null, 8, [
|
|
28738
28746
|
"deck",
|
|
28739
28747
|
"can-edit",
|
|
@@ -28769,46 +28777,47 @@ var UG = ["aria-busy", "tabindex"], HG = {
|
|
|
28769
28777
|
"on-slide-update",
|
|
28770
28778
|
"on-presentation-update"
|
|
28771
28779
|
]))
|
|
28772
|
-
], 512), [[l.vShow, !(0, l.unref)(
|
|
28773
|
-
|
|
28780
|
+
], 512), [[l.vShow, !(0, l.unref)(Ut).presenting.value]]),
|
|
28781
|
+
De.value && !(0, l.unref)(Bo) && (0, l.unref)(Oe) > 0 && !(0, l.unref)(Ut).presenting.value && (0, l.unref)(H)("notes") ? ((0, l.openBlock)(), (0, l.createBlock)(Al, {
|
|
28774
28782
|
key: 2,
|
|
28775
28783
|
ref_key: "notesPanel",
|
|
28776
|
-
ref:
|
|
28777
|
-
slide: (0, l.unref)(
|
|
28778
|
-
expanded: (0, l.unref)(
|
|
28779
|
-
"notes-style": (0, l.unref)(
|
|
28780
|
-
onUpdate: (0, l.unref)(
|
|
28781
|
-
onToggle: n[17] || (n[17] = (e) =>
|
|
28784
|
+
ref: Go,
|
|
28785
|
+
slide: (0, l.unref)(Re),
|
|
28786
|
+
expanded: (0, l.unref)(Vn),
|
|
28787
|
+
"notes-style": (0, l.unref)(be)?.notesStyle,
|
|
28788
|
+
onUpdate: (0, l.unref)(on),
|
|
28789
|
+
onToggle: n[17] || (n[17] = (e) => Vn.value = !(0, l.unref)(Vn))
|
|
28782
28790
|
}, null, 8, [
|
|
28783
28791
|
"slide",
|
|
28784
28792
|
"expanded",
|
|
28785
28793
|
"notes-style",
|
|
28786
28794
|
"onUpdate"
|
|
28787
28795
|
])) : (0, l.createCommentVNode)("", !0),
|
|
28788
|
-
!(0, l.unref)(
|
|
28796
|
+
!(0, l.unref)(Bo) && (0, l.unref)(Oe) > 0 && !(0, l.unref)(Ut).presenting.value && x.value.showToolbar && (0, l.unref)(H)("statusBar") ? ((0, l.openBlock)(), (0, l.createBlock)(ki, {
|
|
28789
28797
|
key: 3,
|
|
28790
|
-
"slide-count": (0, l.unref)(
|
|
28791
|
-
"active-slide-index": (0, l.unref)(
|
|
28792
|
-
"is-dirty": (0, l.unref)(
|
|
28793
|
-
"autosave-status": (0, l.unref)(
|
|
28794
|
-
"last-saved-at": (0, l.unref)(
|
|
28795
|
-
|
|
28796
|
-
|
|
28797
|
-
|
|
28798
|
-
"
|
|
28799
|
-
"
|
|
28800
|
-
|
|
28801
|
-
|
|
28802
|
-
|
|
28803
|
-
|
|
28804
|
-
|
|
28805
|
-
|
|
28806
|
-
|
|
28798
|
+
"slide-count": (0, l.unref)(Oe),
|
|
28799
|
+
"active-slide-index": (0, l.unref)(Me),
|
|
28800
|
+
"is-dirty": (0, l.unref)($n).isDirty.value,
|
|
28801
|
+
"autosave-status": (0, l.unref)(Xn) ? "disabled" : (0, l.unref)(jn) ? (0, l.unref)($n).status.value : void 0,
|
|
28802
|
+
"last-saved-at": (0, l.unref)($n).lastSavedAt.value,
|
|
28803
|
+
"save-progress": (0, l.unref)(B),
|
|
28804
|
+
scale: (0, l.unref)(Ge),
|
|
28805
|
+
mode: zo.value,
|
|
28806
|
+
"is-notes-expanded": (0, l.unref)(Vn),
|
|
28807
|
+
"show-notes": De.value && (0, l.unref)(H)("notes"),
|
|
28808
|
+
"hidden-actions": (0, l.unref)(K),
|
|
28809
|
+
onZoomIn: (0, l.unref)(je),
|
|
28810
|
+
onZoomOut: (0, l.unref)(We),
|
|
28811
|
+
onZoomToFit: (0, l.unref)(qe),
|
|
28812
|
+
onToggleNotes: n[18] || (n[18] = (e) => Vn.value = !(0, l.unref)(Vn)),
|
|
28813
|
+
onToggleSlideSorter: n[19] || (n[19] = (e) => (0, l.unref)(en).showSorter.value = !0),
|
|
28814
|
+
onSetMode: n[20] || (n[20] = (e) => "present" === e ? (0, l.unref)(Ut).startPresenting() : (0, l.unref)(Ut).presenting.value = !1)
|
|
28815
|
+
}, (0, l.createSlots)({ _: 2 }, [(0, l.unref)(ao).collabActive.value && (0, l.unref)(G)("share") ? {
|
|
28807
28816
|
name: "collaboration",
|
|
28808
28817
|
fn: (0, l.withCtx)(() => [(0, l.createVNode)(z, {
|
|
28809
|
-
status: (0, l.unref)(
|
|
28810
|
-
"connected-count": (0, l.unref)(
|
|
28811
|
-
onRetry: (0, l.unref)(
|
|
28818
|
+
status: (0, l.unref)(ao).collab.status.value,
|
|
28819
|
+
"connected-count": (0, l.unref)(ao).collab.connectedCount.value,
|
|
28820
|
+
onRetry: (0, l.unref)(ao).collab.retry
|
|
28812
28821
|
}, null, 8, [
|
|
28813
28822
|
"status",
|
|
28814
28823
|
"connected-count",
|
|
@@ -28821,6 +28830,7 @@ var UG = ["aria-busy", "tabindex"], HG = {
|
|
|
28821
28830
|
"is-dirty",
|
|
28822
28831
|
"autosave-status",
|
|
28823
28832
|
"last-saved-at",
|
|
28833
|
+
"save-progress",
|
|
28824
28834
|
"scale",
|
|
28825
28835
|
"mode",
|
|
28826
28836
|
"is-notes-expanded",
|
|
@@ -28831,27 +28841,27 @@ var UG = ["aria-busy", "tabindex"], HG = {
|
|
|
28831
28841
|
"onZoomToFit"
|
|
28832
28842
|
])) : (0, l.createCommentVNode)("", !0),
|
|
28833
28843
|
(0, l.createVNode)(Zu, {
|
|
28834
|
-
"can-edit":
|
|
28835
|
-
theme: (0, l.unref)(
|
|
28836
|
-
"theme-gallery-open": (0, l.unref)(
|
|
28837
|
-
"on-close-theme-gallery": () =>
|
|
28838
|
-
"theme-editor-open": (0, l.unref)(
|
|
28839
|
-
"on-close-theme-editor": () =>
|
|
28840
|
-
"theme-editing": (0, l.unref)(
|
|
28841
|
-
"context-menu": (0, l.unref)(
|
|
28842
|
-
"context-items": (0, l.unref)(
|
|
28843
|
-
"on-context-select": (0, l.unref)(
|
|
28844
|
-
"on-close-context-menu": () => (0, l.unref)(
|
|
28845
|
-
"canvas-context-menu": (0, l.unref)(
|
|
28846
|
-
"canvas-context-items": (0, l.unref)(
|
|
28847
|
-
"on-canvas-context-select": (0, l.unref)(
|
|
28848
|
-
"on-close-canvas-context-menu": (0, l.unref)(
|
|
28849
|
-
"layout-gallery":
|
|
28850
|
-
hyperlink: (0, l.unref)(
|
|
28851
|
-
"slide-count": (0, l.unref)(
|
|
28852
|
-
collaboration: (0, l.unref)(
|
|
28844
|
+
"can-edit": De.value,
|
|
28845
|
+
theme: (0, l.unref)(Se),
|
|
28846
|
+
"theme-gallery-open": (0, l.unref)(_n),
|
|
28847
|
+
"on-close-theme-gallery": () => _n.value = !1,
|
|
28848
|
+
"theme-editor-open": (0, l.unref)(An),
|
|
28849
|
+
"on-close-theme-editor": () => An.value = !1,
|
|
28850
|
+
"theme-editing": (0, l.unref)(ta),
|
|
28851
|
+
"context-menu": (0, l.unref)(Ln),
|
|
28852
|
+
"context-items": (0, l.unref)(Un),
|
|
28853
|
+
"on-context-select": (0, l.unref)(Gn),
|
|
28854
|
+
"on-close-context-menu": () => (0, l.unref)(Ln).open = !1,
|
|
28855
|
+
"canvas-context-menu": (0, l.unref)(Mn).canvasContextMenu.value,
|
|
28856
|
+
"canvas-context-items": (0, l.unref)(Mn).canvasContextItems.value,
|
|
28857
|
+
"on-canvas-context-select": (0, l.unref)(Mn).onCanvasContextSelect,
|
|
28858
|
+
"on-close-canvas-context-menu": (0, l.unref)(Mn).closeCanvasContextMenu,
|
|
28859
|
+
"layout-gallery": Rn.value,
|
|
28860
|
+
hyperlink: (0, l.unref)(Gt),
|
|
28861
|
+
"slide-count": (0, l.unref)(Oe),
|
|
28862
|
+
collaboration: (0, l.unref)(ao),
|
|
28853
28863
|
"share-defaults": v.shareDefaults,
|
|
28854
|
-
"paste-special": (0, l.unref)(
|
|
28864
|
+
"paste-special": (0, l.unref)(Rt)
|
|
28855
28865
|
}, null, 8, [
|
|
28856
28866
|
"can-edit",
|
|
28857
28867
|
"theme",
|
|
@@ -28877,12 +28887,12 @@ var UG = ["aria-busy", "tabindex"], HG = {
|
|
|
28877
28887
|
]),
|
|
28878
28888
|
(0, l.createVNode)(I, {
|
|
28879
28889
|
prompt: (0, l.unref)(a.shouldShowAutosaveRecoveryPrompt)({
|
|
28880
|
-
prompt: (0, l.unref)(
|
|
28881
|
-
presenting: (0, l.unref)(
|
|
28882
|
-
}) ? (0, l.unref)(
|
|
28883
|
-
discarding: (0, l.unref)(
|
|
28884
|
-
onRestore: (0, l.unref)(
|
|
28885
|
-
onDiscard: (0, l.unref)(
|
|
28890
|
+
prompt: (0, l.unref)(Qn).prompt.value,
|
|
28891
|
+
presenting: (0, l.unref)(Ut).presenting.value
|
|
28892
|
+
}) ? (0, l.unref)(Qn).prompt.value : null,
|
|
28893
|
+
discarding: (0, l.unref)(Qn).discarding.value,
|
|
28894
|
+
onRestore: (0, l.unref)(Qn).restore,
|
|
28895
|
+
onDiscard: (0, l.unref)(Qn).discard
|
|
28886
28896
|
}, null, 8, [
|
|
28887
28897
|
"prompt",
|
|
28888
28898
|
"discarding",
|
|
@@ -28890,35 +28900,35 @@ var UG = ["aria-busy", "tabindex"], HG = {
|
|
|
28890
28900
|
"onDiscard"
|
|
28891
28901
|
]),
|
|
28892
28902
|
(0, l.createVNode)(dx, {
|
|
28893
|
-
"custom-font-families":
|
|
28894
|
-
slides: (0, l.unref)(
|
|
28895
|
-
onCustomFontRegistered:
|
|
28896
|
-
"active-slide-index": (0, l.unref)(
|
|
28897
|
-
"canvas-size": (0, l.unref)(
|
|
28898
|
-
"media-data-urls": (0, l.unref)(
|
|
28899
|
-
"core-properties": (0, l.unref)(
|
|
28900
|
-
"custom-properties": (0, l.unref)(
|
|
28901
|
-
"app-properties": (0, l.unref)(
|
|
28902
|
-
"header-footer": (0, l.unref)(
|
|
28903
|
-
"document-properties": (0, l.unref)(
|
|
28904
|
-
"version-history": (0, l.unref)(
|
|
28905
|
-
printer: (0, l.unref)(
|
|
28906
|
-
"header-footer-dialog": (0, l.unref)(
|
|
28907
|
-
"show-shortcuts": (0, l.unref)(
|
|
28908
|
-
"on-close-shortcuts": () =>
|
|
28909
|
-
"show-settings": (0, l.unref)(
|
|
28910
|
-
"on-close-settings": () =>
|
|
28911
|
-
"options-store": (0, l.unref)(
|
|
28912
|
-
"viewer-options": (0, l.unref)(
|
|
28913
|
-
"addin-status":
|
|
28903
|
+
"custom-font-families": mo.value,
|
|
28904
|
+
slides: (0, l.unref)(Z),
|
|
28905
|
+
onCustomFontRegistered: vo,
|
|
28906
|
+
"active-slide-index": (0, l.unref)(Me),
|
|
28907
|
+
"canvas-size": (0, l.unref)(J),
|
|
28908
|
+
"media-data-urls": (0, l.unref)(ee),
|
|
28909
|
+
"core-properties": (0, l.unref)(ae),
|
|
28910
|
+
"custom-properties": (0, l.unref)(le),
|
|
28911
|
+
"app-properties": (0, l.unref)(ce),
|
|
28912
|
+
"header-footer": (0, l.unref)(he),
|
|
28913
|
+
"document-properties": (0, l.unref)(fo),
|
|
28914
|
+
"version-history": (0, l.unref)(yo),
|
|
28915
|
+
printer: (0, l.unref)(Jt),
|
|
28916
|
+
"header-footer-dialog": (0, l.unref)(xo),
|
|
28917
|
+
"show-shortcuts": (0, l.unref)(Mo),
|
|
28918
|
+
"on-close-shortcuts": () => Mo.value = !1,
|
|
28919
|
+
"show-settings": (0, l.unref)(Yo) && (0, l.unref)(G)("options"),
|
|
28920
|
+
"on-close-settings": () => Yo.value = !1,
|
|
28921
|
+
"options-store": (0, l.unref)(A),
|
|
28922
|
+
"viewer-options": (0, l.unref)(M),
|
|
28923
|
+
"addin-status": qo.value,
|
|
28914
28924
|
"theme-key": (0, l.unref)(k).themeKey.value,
|
|
28915
28925
|
"on-theme-select": (0, l.unref)(k).selectTheme,
|
|
28916
28926
|
"locale-code": (0, l.unref)(k).localeCode.value,
|
|
28917
28927
|
"on-locale-select": (0, l.unref)(k).selectLocale,
|
|
28918
28928
|
"available-themes": v.availableThemes,
|
|
28919
28929
|
"available-locales": (0, l.unref)(k).resolvedAvailableLocales.value,
|
|
28920
|
-
"ai-enabled": (0, l.unref)(
|
|
28921
|
-
"on-clear-cache":
|
|
28930
|
+
"ai-enabled": (0, l.unref)($),
|
|
28931
|
+
"on-clear-cache": Xo
|
|
28922
28932
|
}, null, 8, [
|
|
28923
28933
|
"custom-font-families",
|
|
28924
28934
|
"slides",
|
|
@@ -28948,19 +28958,19 @@ var UG = ["aria-busy", "tabindex"], HG = {
|
|
|
28948
28958
|
"available-locales",
|
|
28949
28959
|
"ai-enabled"
|
|
28950
28960
|
]),
|
|
28951
|
-
(0, l.unref)(
|
|
28961
|
+
(0, l.unref)(ko).showMasterView.value ? ((0, l.openBlock)(), (0, l.createBlock)(jt, {
|
|
28952
28962
|
key: 4,
|
|
28953
28963
|
ref_key: "masterInlineEditor",
|
|
28954
|
-
ref:
|
|
28955
|
-
state: (0, l.unref)(
|
|
28956
|
-
crud: (0, l.unref)(
|
|
28957
|
-
"slide-masters": (0, l.unref)(
|
|
28958
|
-
"canvas-size": (0, l.unref)(
|
|
28959
|
-
"media-data-urls": (0, l.unref)(
|
|
28960
|
-
"notes-master": (0, l.unref)(
|
|
28961
|
-
"notes-canvas-size": (0, l.unref)(
|
|
28962
|
-
"handout-master": (0, l.unref)(
|
|
28963
|
-
"can-edit":
|
|
28964
|
+
ref: bt,
|
|
28965
|
+
state: (0, l.unref)(ko),
|
|
28966
|
+
crud: (0, l.unref)(So),
|
|
28967
|
+
"slide-masters": (0, l.unref)(me),
|
|
28968
|
+
"canvas-size": (0, l.unref)(J),
|
|
28969
|
+
"media-data-urls": (0, l.unref)(ee),
|
|
28970
|
+
"notes-master": (0, l.unref)(be),
|
|
28971
|
+
"notes-canvas-size": (0, l.unref)(X).notesCanvasSize.value,
|
|
28972
|
+
"handout-master": (0, l.unref)(ke),
|
|
28973
|
+
"can-edit": De.value,
|
|
28964
28974
|
"list-conversion-scope": v.listConversionScope
|
|
28965
28975
|
}, null, 8, [
|
|
28966
28976
|
"state",
|
|
@@ -28975,18 +28985,18 @@ var UG = ["aria-busy", "tabindex"], HG = {
|
|
|
28975
28985
|
"list-conversion-scope"
|
|
28976
28986
|
])) : (0, l.createCommentVNode)("", !0),
|
|
28977
28987
|
(0, l.createVNode)(rp, {
|
|
28978
|
-
collaboration: (0, l.unref)(
|
|
28988
|
+
collaboration: (0, l.unref)(ao),
|
|
28979
28989
|
"broadcast-server-url": v.shareDefaults?.serverUrl,
|
|
28980
|
-
"slide-show": (0, l.unref)(
|
|
28981
|
-
"presentation-properties": (0, l.unref)(
|
|
28982
|
-
"custom-shows": (0, l.unref)(
|
|
28983
|
-
"slide-count": (0, l.unref)(
|
|
28984
|
-
password: (0, l.unref)(
|
|
28985
|
-
"font-embedding": (0, l.unref)(
|
|
28986
|
-
"insert-dialogs": (0, l.unref)(
|
|
28987
|
-
"signature-workflow": (0, l.unref)(
|
|
28988
|
-
"signature-count": (0, l.unref)(
|
|
28989
|
-
"deck-actions": (0, l.unref)(
|
|
28990
|
+
"slide-show": (0, l.unref)(co),
|
|
28991
|
+
"presentation-properties": (0, l.unref)(xe),
|
|
28992
|
+
"custom-shows": (0, l.unref)(ge),
|
|
28993
|
+
"slide-count": (0, l.unref)(Oe),
|
|
28994
|
+
password: (0, l.unref)(_),
|
|
28995
|
+
"font-embedding": (0, l.unref)(po),
|
|
28996
|
+
"insert-dialogs": (0, l.unref)(kt),
|
|
28997
|
+
"signature-workflow": (0, l.unref)(io),
|
|
28998
|
+
"signature-count": (0, l.unref)(pe).length,
|
|
28999
|
+
"deck-actions": (0, l.unref)(Jn)
|
|
28990
29000
|
}, null, 8, [
|
|
28991
29001
|
"collaboration",
|
|
28992
29002
|
"broadcast-server-url",
|
|
@@ -29001,35 +29011,35 @@ var UG = ["aria-busy", "tabindex"], HG = {
|
|
|
29001
29011
|
"signature-count",
|
|
29002
29012
|
"deck-actions"
|
|
29003
29013
|
]),
|
|
29004
|
-
(0, l.unref)(
|
|
29014
|
+
(0, l.unref)(Bo) && !(0, l.unref)(Ut).presenting.value && x.value.showToolbar ? ((0, l.openBlock)(), (0, l.createBlock)(dR, {
|
|
29005
29015
|
key: 5,
|
|
29006
|
-
chrome: (0, l.unref)(
|
|
29007
|
-
deck: (0, l.unref)(
|
|
29008
|
-
"slide-ops": (0, l.unref)(
|
|
29009
|
-
comments: (0, l.unref)(
|
|
29010
|
-
"deck-actions": (0, l.unref)(
|
|
29011
|
-
"edit-template-mode": (0, l.unref)(
|
|
29012
|
-
"merged-slides": (0, l.unref)(
|
|
29013
|
-
"active-slide": (0, l.unref)(
|
|
29014
|
-
"active-slide-index": (0, l.unref)(
|
|
29015
|
-
"slide-count": (0, l.unref)(
|
|
29016
|
-
"active-comments": (0, l.unref)(
|
|
29017
|
-
"can-edit":
|
|
29018
|
-
"keyboard-inset": (0, l.unref)(
|
|
29019
|
-
"inspector-element": (0, l.unref)(
|
|
29020
|
-
"author-name":
|
|
29021
|
-
"notes-master": (0, l.unref)(
|
|
29022
|
-
"go-to": (0, l.unref)(
|
|
29023
|
-
"toggle-slide-hidden": (0, l.unref)(
|
|
29024
|
-
"on-add-section": (0, l.unref)(
|
|
29025
|
-
"on-notes-update": (0, l.unref)(
|
|
29026
|
-
"on-inspector-update": (0, l.unref)(
|
|
29027
|
-
"on-update-slide-animations": (0, l.unref)(
|
|
29028
|
-
"on-table-style-map-change": (0, l.unref)(
|
|
29029
|
-
"on-delete-table-style": (0, l.unref)(
|
|
29030
|
-
"on-slide-update": (0, l.unref)(
|
|
29031
|
-
"on-presentation-update": (0, l.unref)(
|
|
29032
|
-
"on-select-element": (0, l.unref)(
|
|
29016
|
+
chrome: (0, l.unref)(Po),
|
|
29017
|
+
deck: (0, l.unref)(X),
|
|
29018
|
+
"slide-ops": (0, l.unref)(Mt),
|
|
29019
|
+
comments: (0, l.unref)(oo),
|
|
29020
|
+
"deck-actions": (0, l.unref)(Jn),
|
|
29021
|
+
"edit-template-mode": (0, l.unref)(Je),
|
|
29022
|
+
"merged-slides": (0, l.unref)(ot),
|
|
29023
|
+
"active-slide": (0, l.unref)(Re),
|
|
29024
|
+
"active-slide-index": (0, l.unref)(Me),
|
|
29025
|
+
"slide-count": (0, l.unref)(Oe),
|
|
29026
|
+
"active-comments": (0, l.unref)(oo).activeComments.value,
|
|
29027
|
+
"can-edit": De.value,
|
|
29028
|
+
"keyboard-inset": (0, l.unref)(Vo),
|
|
29029
|
+
"inspector-element": (0, l.unref)(zt).inspectorElementForPanels.value,
|
|
29030
|
+
"author-name": no.value,
|
|
29031
|
+
"notes-master": (0, l.unref)(be),
|
|
29032
|
+
"go-to": (0, l.unref)(Le),
|
|
29033
|
+
"toggle-slide-hidden": (0, l.unref)(an),
|
|
29034
|
+
"on-add-section": (0, l.unref)(Eo).addSection,
|
|
29035
|
+
"on-notes-update": (0, l.unref)(on),
|
|
29036
|
+
"on-inspector-update": (0, l.unref)(zt).onInspectorUpdate,
|
|
29037
|
+
"on-update-slide-animations": (0, l.unref)(zt).writeSlideAnimations,
|
|
29038
|
+
"on-table-style-map-change": (0, l.unref)(eo).onTableStyleMapChange,
|
|
29039
|
+
"on-delete-table-style": (0, l.unref)(eo).onDeleteTableStyle,
|
|
29040
|
+
"on-slide-update": (0, l.unref)(ln),
|
|
29041
|
+
"on-presentation-update": (0, l.unref)(co).onPresentationPropertiesUpdate,
|
|
29042
|
+
"on-select-element": (0, l.unref)(go).onSelectionPaneSelect
|
|
29033
29043
|
}, null, 8, [
|
|
29034
29044
|
"chrome",
|
|
29035
29045
|
"deck",
|
|
@@ -29061,7 +29071,7 @@ var UG = ["aria-busy", "tabindex"], HG = {
|
|
|
29061
29071
|
])) : (0, l.createCommentVNode)("", !0),
|
|
29062
29072
|
(0, l.createElementVNode)("div", {
|
|
29063
29073
|
ref_key: "exportStageRef",
|
|
29064
|
-
ref:
|
|
29074
|
+
ref: qt,
|
|
29065
29075
|
class: "pptx-vue-export-stage",
|
|
29066
29076
|
"aria-hidden": "true",
|
|
29067
29077
|
style: {
|
|
@@ -29071,11 +29081,11 @@ var UG = ["aria-busy", "tabindex"], HG = {
|
|
|
29071
29081
|
"pointer-events": "none",
|
|
29072
29082
|
opacity: "0"
|
|
29073
29083
|
}
|
|
29074
|
-
}, [(0, l.unref)(
|
|
29084
|
+
}, [(0, l.unref)(Yt) ? ((0, l.openBlock)(), (0, l.createBlock)(e.SlideStage_default, {
|
|
29075
29085
|
key: 0,
|
|
29076
|
-
slide: (0, l.unref)(
|
|
29077
|
-
"canvas-size": (0, l.unref)(
|
|
29078
|
-
"media-data-urls": (0, l.unref)(
|
|
29086
|
+
slide: (0, l.unref)(Yt),
|
|
29087
|
+
"canvas-size": (0, l.unref)(J),
|
|
29088
|
+
"media-data-urls": (0, l.unref)(ee),
|
|
29079
29089
|
scale: 1
|
|
29080
29090
|
}, null, 8, [
|
|
29081
29091
|
"slide",
|
|
@@ -29083,14 +29093,14 @@ var UG = ["aria-busy", "tabindex"], HG = {
|
|
|
29083
29093
|
"media-data-urls"
|
|
29084
29094
|
])) : (0, l.createCommentVNode)("", !0)], 512)
|
|
29085
29095
|
], 64)),
|
|
29086
|
-
!(0, l.unref)(
|
|
29096
|
+
!(0, l.unref)(Ut).presenting.value && x.value.showCompatibilityToasts ? ((0, l.openBlock)(), (0, l.createBlock)(O, {
|
|
29087
29097
|
key: 4,
|
|
29088
|
-
toasts: (0, l.unref)(
|
|
29089
|
-
"overflow-count": (0, l.unref)(
|
|
29090
|
-
"right-inset":
|
|
29091
|
-
"bottom-inset":
|
|
29092
|
-
onDismiss: (0, l.unref)(
|
|
29093
|
-
onDismissAll: (0, l.unref)(
|
|
29098
|
+
toasts: (0, l.unref)(_e).visibleToasts.value,
|
|
29099
|
+
"overflow-count": (0, l.unref)(_e).overflowCount.value,
|
|
29100
|
+
"right-inset": Ho.value,
|
|
29101
|
+
"bottom-inset": Ko.value,
|
|
29102
|
+
onDismiss: (0, l.unref)(_e).dismiss,
|
|
29103
|
+
onDismissAll: (0, l.unref)(_e).dismissAll
|
|
29094
29104
|
}, null, 8, [
|
|
29095
29105
|
"toasts",
|
|
29096
29106
|
"overflow-count",
|
|
@@ -29100,11 +29110,11 @@ var UG = ["aria-busy", "tabindex"], HG = {
|
|
|
29100
29110
|
"onDismissAll"
|
|
29101
29111
|
])) : (0, l.createCommentVNode)("", !0),
|
|
29102
29112
|
(0, l.createVNode)(U, {
|
|
29103
|
-
open: (0, l.unref)(
|
|
29104
|
-
title: (0, l.unref)(
|
|
29105
|
-
progress: (0, l.unref)(
|
|
29106
|
-
"status-message": (0, l.unref)(
|
|
29107
|
-
onCancel: (0, l.unref)(
|
|
29113
|
+
open: (0, l.unref)(Zt).exportModalOpen.value,
|
|
29114
|
+
title: (0, l.unref)(Zt).exportModalTitle.value,
|
|
29115
|
+
progress: (0, l.unref)(Zt).exportProgress.value,
|
|
29116
|
+
"status-message": (0, l.unref)(Zt).exportStatusMessage.value,
|
|
29117
|
+
onCancel: (0, l.unref)(Zt).cancelExport
|
|
29108
29118
|
}, null, 8, [
|
|
29109
29119
|
"open",
|
|
29110
29120
|
"title",
|
|
@@ -29113,31 +29123,31 @@ var UG = ["aria-busy", "tabindex"], HG = {
|
|
|
29113
29123
|
"onCancel"
|
|
29114
29124
|
]),
|
|
29115
29125
|
(0, l.createVNode)(LU, {
|
|
29116
|
-
"deck-views": (0, l.unref)(
|
|
29126
|
+
"deck-views": (0, l.unref)(en),
|
|
29117
29127
|
"on-hyperlink-click": v.onHyperlinkClick,
|
|
29118
|
-
presentation: (0, l.unref)(
|
|
29119
|
-
"merged-slides": (0, l.unref)(
|
|
29120
|
-
"clipboard-templates": (0, l.unref)(
|
|
29121
|
-
slides: (0, l.unref)(
|
|
29122
|
-
"canvas-size": (0, l.unref)(
|
|
29123
|
-
"media-data-urls": (0, l.unref)(
|
|
29128
|
+
presentation: (0, l.unref)(Ut),
|
|
29129
|
+
"merged-slides": (0, l.unref)(ot),
|
|
29130
|
+
"clipboard-templates": (0, l.unref)(Q),
|
|
29131
|
+
slides: (0, l.unref)(Z),
|
|
29132
|
+
"canvas-size": (0, l.unref)(J),
|
|
29133
|
+
"media-data-urls": (0, l.unref)(ee),
|
|
29124
29134
|
content: v.content,
|
|
29125
|
-
"active-slide-index": (0, l.unref)(
|
|
29126
|
-
"can-edit":
|
|
29127
|
-
"presentation-properties": (0, l.unref)(
|
|
29128
|
-
"custom-shows": (0, l.unref)(
|
|
29129
|
-
"authored-range":
|
|
29130
|
-
"end-with-black-slide": (0, l.unref)(
|
|
29131
|
-
"prompt-keep-ink-annotations": (0, l.unref)(
|
|
29132
|
-
"show-menu-on-right-click": (0, l.unref)(
|
|
29133
|
-
"show-popup-toolbar": (0, l.unref)(
|
|
29134
|
-
"pixelate-mosaic-animation": (0, l.unref)(
|
|
29135
|
-
"duplicate-slide": (0, l.unref)(
|
|
29136
|
-
"paste-slides": (0, l.unref)(
|
|
29137
|
-
"copy-system-slides": (e) => (0, l.unref)(
|
|
29138
|
-
"paste-system-slides": (e) => (0, l.unref)(
|
|
29139
|
-
"delete-slide": (0, l.unref)(
|
|
29140
|
-
"toggle-slide-hidden": (0, l.unref)(
|
|
29135
|
+
"active-slide-index": (0, l.unref)(Me),
|
|
29136
|
+
"can-edit": De.value,
|
|
29137
|
+
"presentation-properties": (0, l.unref)(xe),
|
|
29138
|
+
"custom-shows": (0, l.unref)(ge),
|
|
29139
|
+
"authored-range": bo.value,
|
|
29140
|
+
"end-with-black-slide": (0, l.unref)(M).advanced.slideShowEndWithBlackSlide,
|
|
29141
|
+
"prompt-keep-ink-annotations": (0, l.unref)(M).advanced.slideShowPromptKeepInkAnnotations,
|
|
29142
|
+
"show-menu-on-right-click": (0, l.unref)(M).advanced.slideShowShowMenuOnRightClick,
|
|
29143
|
+
"show-popup-toolbar": (0, l.unref)(M).advanced.slideShowShowPopupToolbar,
|
|
29144
|
+
"pixelate-mosaic-animation": (0, l.unref)(M).advanced.pixelateMosaicAnimation,
|
|
29145
|
+
"duplicate-slide": (0, l.unref)(Mt).duplicateSlide,
|
|
29146
|
+
"paste-slides": (0, l.unref)(Mt).pasteSlides,
|
|
29147
|
+
"copy-system-slides": (e) => (0, l.unref)(ua).copy(e),
|
|
29148
|
+
"paste-system-slides": (e) => (0, l.unref)(ua).paste(e),
|
|
29149
|
+
"delete-slide": (0, l.unref)(Mt).deleteSlide,
|
|
29150
|
+
"toggle-slide-hidden": (0, l.unref)(an)
|
|
29141
29151
|
}, null, 8, [
|
|
29142
29152
|
"deck-views",
|
|
29143
29153
|
"on-hyperlink-click",
|