pptx-vue-viewer 2.5.2 → 2.6.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 +13 -0
- package/dist/{AiChatPanel-Dggn1IrM.js → AiChatPanel-D4lvy3kQ.js} +2 -2
- package/dist/AiChatPanel-D4lvy3kQ.js.br +0 -0
- package/dist/AiChatPanel-D4lvy3kQ.js.gz +0 -0
- package/dist/{AiChatPanel-C4QgCQA7.cjs → AiChatPanel-DbD2RFQt.cjs} +1 -1
- package/dist/AiChatPanel-DbD2RFQt.cjs.br +0 -0
- package/dist/AiChatPanel-DbD2RFQt.cjs.gz +0 -0
- package/dist/{dist-BKPThKUs.cjs → dist-Bok6Fw3a.cjs} +7093 -7057
- package/dist/dist-Bok6Fw3a.cjs.br +0 -0
- package/dist/dist-Bok6Fw3a.cjs.gz +0 -0
- package/dist/{dist-BO5v2G1j.js → dist-CR-SAMD9.js} +6979 -6943
- package/dist/dist-CR-SAMD9.js.br +0 -0
- package/dist/dist-CR-SAMD9.js.gz +0 -0
- package/dist/gif-encoder-BZ9NPcc1.js +2 -0
- package/dist/gif-encoder-BZ9NPcc1.js.br +0 -0
- package/dist/gif-encoder-BZ9NPcc1.js.gz +0 -0
- package/dist/gif-encoder-BgQ0V1sH.cjs +2 -0
- package/dist/gif-encoder-BgQ0V1sH.cjs.br +0 -0
- package/dist/gif-encoder-BgQ0V1sH.cjs.gz +0 -0
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.br +0 -0
- package/dist/index.cjs.gz +0 -0
- package/dist/index.js +3 -3
- package/dist/index.js.br +0 -0
- package/dist/index.js.gz +0 -0
- package/dist/internals.cjs +1 -1
- package/dist/internals.cjs.br +0 -0
- package/dist/internals.cjs.gz +0 -0
- package/dist/internals.js +5 -5
- package/dist/internals.js.br +0 -0
- package/dist/internals.js.gz +0 -0
- package/dist/{useViewerSettingsDialog-C5c5hoVq.js → useViewerSettingsDialog-C4uagdo4.js} +2709 -2207
- package/dist/useViewerSettingsDialog-C4uagdo4.js.br +0 -0
- package/dist/useViewerSettingsDialog-C4uagdo4.js.gz +0 -0
- package/dist/{useViewerSettingsDialog-Bg4VrmnM.cjs → useViewerSettingsDialog-CXD2BfRY.cjs} +3033 -2516
- package/dist/useViewerSettingsDialog-CXD2BfRY.cjs.br +0 -0
- package/dist/useViewerSettingsDialog-CXD2BfRY.cjs.gz +0 -0
- package/dist/viewer/components/PresentationTransitionOverlay.vue.d.ts.map +1 -1
- package/dist/viewer/components/SlideStage.vue.d.ts +8 -0
- package/dist/viewer/components/SlideStage.vue.d.ts.map +1 -1
- package/dist/viewer/components/SlideTextBlock.vue.d.ts.map +1 -1
- package/dist/viewer/index.cjs +1 -1
- package/dist/viewer/index.cjs.br +0 -0
- package/dist/viewer/index.cjs.gz +0 -0
- package/dist/viewer/index.js +3 -3
- package/dist/viewer/index.js.br +0 -0
- package/dist/viewer/index.js.gz +0 -0
- package/dist/{viewer-K_cqfoUE.cjs → viewer-1w4LND_Z.cjs} +619 -598
- package/dist/viewer-1w4LND_Z.cjs.br +0 -0
- package/dist/viewer-1w4LND_Z.cjs.gz +0 -0
- package/dist/{viewer-BHmJAw7e.js → viewer-CPj-NpUp.js} +8858 -8837
- package/dist/viewer-CPj-NpUp.js.br +0 -0
- package/dist/viewer-CPj-NpUp.js.gz +0 -0
- package/package.json +3 -3
- package/dist/AiChatPanel-C4QgCQA7.cjs.br +0 -0
- package/dist/AiChatPanel-C4QgCQA7.cjs.gz +0 -0
- package/dist/AiChatPanel-Dggn1IrM.js.br +0 -0
- package/dist/AiChatPanel-Dggn1IrM.js.gz +0 -0
- package/dist/dist-BKPThKUs.cjs.br +0 -0
- package/dist/dist-BKPThKUs.cjs.gz +0 -0
- package/dist/dist-BO5v2G1j.js.br +0 -0
- package/dist/dist-BO5v2G1j.js.gz +0 -0
- package/dist/gif-encoder-DJgw8psf.js +0 -2
- package/dist/gif-encoder-DJgw8psf.js.br +0 -0
- package/dist/gif-encoder-DJgw8psf.js.gz +0 -0
- package/dist/gif-encoder-JlfdNbYB.cjs +0 -2
- package/dist/gif-encoder-JlfdNbYB.cjs.br +0 -0
- package/dist/gif-encoder-JlfdNbYB.cjs.gz +0 -0
- package/dist/useViewerSettingsDialog-Bg4VrmnM.cjs.br +0 -0
- package/dist/useViewerSettingsDialog-Bg4VrmnM.cjs.gz +0 -0
- package/dist/useViewerSettingsDialog-C5c5hoVq.js.br +0 -0
- package/dist/useViewerSettingsDialog-C5c5hoVq.js.gz +0 -0
- package/dist/viewer-BHmJAw7e.js.br +0 -0
- package/dist/viewer-BHmJAw7e.js.gz +0 -0
- package/dist/viewer-K_cqfoUE.cjs.br +0 -0
- package/dist/viewer-K_cqfoUE.cjs.gz +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const e = require("./rolldown-runtime-DoYlGkYw.cjs"), t = require("./dist-
|
|
1
|
+
const e = require("./rolldown-runtime-DoYlGkYw.cjs"), t = require("./dist-Bok6Fw3a.cjs"), n = require("./useViewerSettingsDialog-CXD2BfRY.cjs"), o = require("./i18n-gwdCzBc5.cjs");
|
|
2
2
|
require("./i18n.cjs");
|
|
3
3
|
let a = require("vue"), r = require("dompurify");
|
|
4
4
|
r = e.__toESM(r, 1);
|
|
@@ -88,7 +88,7 @@ var m, f = ["aria-label"], v = { class: "pptx-vue-a11y-panel__header flex items-
|
|
|
88
88
|
var n;
|
|
89
89
|
}), 128))])], 8, E))), 128))])) : ((0, a.openBlock)(), (0, a.createElementBlock)("div", h, [(0, a.createElementVNode)("p", y, (0, a.toDisplayString)((0, a.unref)(l)("pptx.accessibility.noIssuesFound")), 1), (0, a.createElementVNode)("p", b, (0, a.toDisplayString)((0, a.unref)(l)("pptx.accessibility.noIssuesHint")), 1)]))], 8, f));
|
|
90
90
|
}
|
|
91
|
-
}), I = (0, a.defineAsyncComponent)(() => Promise.resolve().then(() => require("./AiChatPanel-
|
|
91
|
+
}), I = (0, a.defineAsyncComponent)(() => Promise.resolve().then(() => require("./AiChatPanel-DbD2RFQt.cjs")));
|
|
92
92
|
function z(e, t, n) {
|
|
93
93
|
function o(n, o) {
|
|
94
94
|
if (n._zod || Object.defineProperty(n, "_zod", {
|
|
@@ -11377,7 +11377,8 @@ var vv = { class: "pptx-vue-chart-chrome" }, xv = ["x"], gv = [
|
|
|
11377
11377
|
marginBottom: void 0 !== e.spaceAfterPx ? `${e.spaceAfterPx}px` : 0,
|
|
11378
11378
|
marginLeft: void 0 !== e.marginLeftPx ? `${e.marginLeftPx}px` : 0,
|
|
11379
11379
|
textIndent: void 0 !== e.textIndentPx ? `${e.textIndentPx}px` : void 0,
|
|
11380
|
-
lineHeight: e.lineHeight
|
|
11380
|
+
lineHeight: e.lineHeight,
|
|
11381
|
+
fontSize: void 0 !== e.strutFontSizePx ? `${e.strutFontSizePx}px` : void 0
|
|
11381
11382
|
};
|
|
11382
11383
|
}
|
|
11383
11384
|
return (t, l) => ((0, a.openBlock)(), (0, a.createElementBlock)("div", {
|
|
@@ -12822,13 +12823,14 @@ var My, $y = [
|
|
|
12822
12823
|
interactive: { type: Boolean },
|
|
12823
12824
|
templateElements: {},
|
|
12824
12825
|
editTemplateMode: { type: Boolean },
|
|
12825
|
-
presenting: { type: Boolean }
|
|
12826
|
+
presenting: { type: Boolean },
|
|
12827
|
+
preserveElementIds: { type: Boolean }
|
|
12826
12828
|
},
|
|
12827
12829
|
setup(e) {
|
|
12828
12830
|
const t = e, { t: o } = n.useI18n(), r = (0, a.ref)(null), l = (0, a.computed)(() => t.templateElements ?? []), i = (0, a.computed)(() => l.value.length), s = (0, a.computed)(() => [...l.value, ...t.slide?.elements ?? []]);
|
|
12829
12831
|
(0, a.watchPostEffect)(() => {
|
|
12830
12832
|
const e = r.value, o = s.value;
|
|
12831
|
-
e && (t.interactive || t.presenting ? n.applyRenderedElementAccessibility(e, o) : function(e) {
|
|
12833
|
+
e && (t.interactive || t.presenting ? n.applyRenderedElementAccessibility(e, o) : t.preserveElementIds || function(e) {
|
|
12832
12834
|
const t = e.querySelectorAll("[data-element-id]");
|
|
12833
12835
|
for (const e of t) e.removeAttribute("data-element-id");
|
|
12834
12836
|
t.length;
|
|
@@ -21570,7 +21572,7 @@ var AM = { class: "space-y-1" }, MM = ["title", "onClick"], $M = { class: "text-
|
|
|
21570
21572
|
(0, a.createElementVNode)("span", mU, (0, a.toDisplayString)(t.drawingWidth), 1)
|
|
21571
21573
|
], 8, pU)])], 64));
|
|
21572
21574
|
}
|
|
21573
|
-
}), vU = "2.5.
|
|
21575
|
+
}), vU = "2.5.3", xU = Symbol("pptx-account-auth");
|
|
21574
21576
|
var gU = { class: "pptx-vue-account mt-8 flex max-w-[760px] flex-col gap-6" }, hU = { class: "pptx-vue-account-section border border-border bg-card p-6 text-card-foreground" }, yU = { class: "text-base font-semibold" }, bU = { class: "mt-4 flex items-center gap-4" }, kU = { class: "min-w-0 flex-1" }, EU = { class: "block text-xs font-medium text-muted-foreground" }, wU = ["value", "placeholder"], SU = { class: "mt-4" }, CU = { class: "block text-xs font-medium text-muted-foreground" }, BU = { class: "mt-2 flex gap-2" }, NU = [
|
|
21575
21577
|
"aria-pressed",
|
|
21576
21578
|
"aria-label",
|
|
@@ -25546,7 +25548,7 @@ var aG = { class: "flex items-start gap-3" }, rG = { class: "flex h-10 w-10 item
|
|
|
25546
25548
|
}), [["__scopeId", "data-v-018d09f2"]]), gq = {
|
|
25547
25549
|
class: "pptx-vue-transition-overlay",
|
|
25548
25550
|
"data-pptx-transition-overlay": ""
|
|
25549
|
-
}, yq = Km((0, a.defineComponent)({
|
|
25551
|
+
}, hq = ["data-pptx-morph-outgoing"], yq = ["data-pptx-morph-incoming"], kq = Km((0, a.defineComponent)({
|
|
25550
25552
|
__name: "PresentationTransitionOverlay",
|
|
25551
25553
|
props: {
|
|
25552
25554
|
outgoingSlide: {},
|
|
@@ -25558,59 +25560,78 @@ var aG = { class: "flex items-start gap-3" }, rG = { class: "flex h-10 w-10 item
|
|
|
25558
25560
|
},
|
|
25559
25561
|
emits: ["done"],
|
|
25560
25562
|
setup(e, { emit: t }) {
|
|
25561
|
-
const o = e, r = t, l = (0, a.computed)(() => n.resolveSlideTransition(o.transition)), i = (0, a.computed)(() => n.resolveTransitionDurationMs(o.transition)), s = (0, a.computed)(() =>
|
|
25562
|
-
|
|
25563
|
-
|
|
25564
|
-
|
|
25565
|
-
|
|
25566
|
-
|
|
25563
|
+
const o = e, r = t, l = (0, a.computed)(() => n.resolveSlideTransition(o.transition)), i = (0, a.computed)(() => n.resolveTransitionDurationMs(o.transition)), s = (0, a.computed)(() => "morph" === o.transition?.type ? n.buildMorphTransitionPlan(o.outgoingSlide, o.incomingSlide, i.value, n.morphOptionToMode(o.transition.morphOption)) : void 0), c = (0, a.computed)(() => {
|
|
25564
|
+
const e = s.value;
|
|
25565
|
+
if (e && o.outgoingSlide) return {
|
|
25566
|
+
...o.outgoingSlide,
|
|
25567
|
+
elements: e.outgoingElements
|
|
25568
|
+
};
|
|
25569
|
+
}), d = (0, a.computed)(() => {
|
|
25570
|
+
const e = s.value;
|
|
25571
|
+
return e ? [n.buildMorphScopedCss(e, "data-pptx-morph-incoming", "incoming"), n.buildMorphScopedCss(e, "data-pptx-morph-outgoing", "outgoing")].join("\n") : "";
|
|
25572
|
+
}), p = (0, a.computed)(() => l.value.outgoingOnTop ? 2 : 1), u = (0, a.computed)(() => l.value.outgoingOnTop ? 1 : 2), m = (0, a.computed)(() => ({
|
|
25573
|
+
zIndex: s.value ? 2 : p.value,
|
|
25574
|
+
animation: s.value ? void 0 : "none" !== l.value.outgoing ? l.value.outgoing : void 0
|
|
25575
|
+
})), f = (0, a.computed)(() => ({
|
|
25576
|
+
zIndex: s.value ? 1 : u.value,
|
|
25577
|
+
animation: s.value ? void 0 : "none" !== l.value.incoming ? l.value.incoming : void 0
|
|
25567
25578
|
}));
|
|
25568
|
-
let
|
|
25579
|
+
let v = null;
|
|
25569
25580
|
return (0, a.onMounted)(() => {
|
|
25570
25581
|
const e = Math.max(0, i.value) + 50;
|
|
25571
|
-
|
|
25572
|
-
|
|
25582
|
+
v = setTimeout(() => {
|
|
25583
|
+
v = null, r("done");
|
|
25573
25584
|
}, e);
|
|
25574
25585
|
}), (0, a.onBeforeUnmount)(function() {
|
|
25575
|
-
null !==
|
|
25586
|
+
null !== v && (clearTimeout(v), v = null);
|
|
25576
25587
|
}), (t, o) => ((0, a.openBlock)(), (0, a.createElementBlock)("div", gq, [
|
|
25577
25588
|
((0, a.openBlock)(), (0, a.createBlock)((0, a.resolveDynamicComponent)("style"), null, {
|
|
25578
25589
|
default: (0, a.withCtx)(() => [(0, a.createTextVNode)((0, a.toDisplayString)((0, a.unref)(n.SLIDE_TRANSITION_KEYFRAMES_CSS)), 1)]),
|
|
25579
25590
|
_: 1
|
|
25580
25591
|
})),
|
|
25592
|
+
s.value ? ((0, a.openBlock)(), (0, a.createBlock)((0, a.resolveDynamicComponent)("style"), { key: 0 }, {
|
|
25593
|
+
default: (0, a.withCtx)(() => [(0, a.createTextVNode)((0, a.toDisplayString)(d.value), 1)]),
|
|
25594
|
+
_: 1
|
|
25595
|
+
})) : (0, a.createCommentVNode)("", !0),
|
|
25581
25596
|
(0, a.createElementVNode)("div", {
|
|
25582
25597
|
class: "pptx-vue-transition-layer",
|
|
25583
25598
|
"data-pptx-transition-layer": "outgoing",
|
|
25584
|
-
|
|
25599
|
+
"data-pptx-morph-outgoing": s.value ? "true" : void 0,
|
|
25600
|
+
style: (0, a.normalizeStyle)(m.value)
|
|
25585
25601
|
}, [(0, a.createVNode)(nb, {
|
|
25586
|
-
slide: e.outgoingSlide,
|
|
25602
|
+
slide: s.value ? c.value : e.outgoingSlide,
|
|
25587
25603
|
"canvas-size": e.canvasSize,
|
|
25588
25604
|
"media-data-urls": e.mediaDataUrls,
|
|
25589
|
-
scale: e.scale
|
|
25605
|
+
scale: e.scale,
|
|
25606
|
+
"preserve-element-ids": Boolean(s.value)
|
|
25590
25607
|
}, null, 8, [
|
|
25591
25608
|
"slide",
|
|
25592
25609
|
"canvas-size",
|
|
25593
25610
|
"media-data-urls",
|
|
25594
|
-
"scale"
|
|
25595
|
-
|
|
25611
|
+
"scale",
|
|
25612
|
+
"preserve-element-ids"
|
|
25613
|
+
])], 12, hq),
|
|
25596
25614
|
(0, a.createElementVNode)("div", {
|
|
25597
25615
|
class: "pptx-vue-transition-layer",
|
|
25598
25616
|
"data-pptx-transition-layer": "incoming",
|
|
25599
|
-
|
|
25617
|
+
"data-pptx-morph-incoming": s.value ? "true" : void 0,
|
|
25618
|
+
style: (0, a.normalizeStyle)(f.value)
|
|
25600
25619
|
}, [(0, a.createVNode)(nb, {
|
|
25601
25620
|
slide: e.incomingSlide,
|
|
25602
25621
|
"canvas-size": e.canvasSize,
|
|
25603
25622
|
"media-data-urls": e.mediaDataUrls,
|
|
25604
|
-
scale: e.scale
|
|
25623
|
+
scale: e.scale,
|
|
25624
|
+
"preserve-element-ids": Boolean(s.value)
|
|
25605
25625
|
}, null, 8, [
|
|
25606
25626
|
"slide",
|
|
25607
25627
|
"canvas-size",
|
|
25608
25628
|
"media-data-urls",
|
|
25609
|
-
"scale"
|
|
25610
|
-
|
|
25629
|
+
"scale",
|
|
25630
|
+
"preserve-element-ids"
|
|
25631
|
+
])], 12, yq)
|
|
25611
25632
|
]));
|
|
25612
25633
|
}
|
|
25613
|
-
}), [["__scopeId", "data-v-
|
|
25634
|
+
}), [["__scopeId", "data-v-a1afce19"]]), Eq = { class: "presenter-strip" }, wq = ["onClick"], Cq = Km((0, a.defineComponent)({
|
|
25614
25635
|
__name: "PresenterControlStrip",
|
|
25615
25636
|
props: {
|
|
25616
25637
|
snapshot: {},
|
|
@@ -25635,7 +25656,7 @@ var aG = { class: "flex items-start gap-3" }, rG = { class: "flex h-10 w-10 item
|
|
|
25635
25656
|
"highlighter",
|
|
25636
25657
|
"eraser"
|
|
25637
25658
|
];
|
|
25638
|
-
return (t, r) => ((0, a.openBlock)(), (0, a.createElementBlock)("div",
|
|
25659
|
+
return (t, r) => ((0, a.openBlock)(), (0, a.createElementBlock)("div", Eq, [
|
|
25639
25660
|
(0, a.createElementVNode)("button", { onClick: r[0] || (r[0] = (e) => n("timer")) }, (0, a.toDisplayString)(e.snapshot.paused ? "Resume" : "Pause"), 1),
|
|
25640
25661
|
(0, a.createElementVNode)("button", { onClick: r[1] || (r[1] = (e) => n("reset-timer")) }, "Reset"),
|
|
25641
25662
|
r[11] || (r[11] = (0, a.createElementVNode)("i", null, null, -1)),
|
|
@@ -25648,7 +25669,7 @@ var aG = { class: "flex items-start gap-3" }, rG = { class: "flex h-10 w-10 item
|
|
|
25648
25669
|
key: t,
|
|
25649
25670
|
class: (0, a.normalizeClass)({ active: e.snapshot.pointer?.tool === t }),
|
|
25650
25671
|
onClick: (o) => n("tool", e.snapshot.pointer?.tool === t ? "none" : t)
|
|
25651
|
-
}, (0, a.toDisplayString)(t), 11,
|
|
25672
|
+
}, (0, a.toDisplayString)(t), 11, wq)), 64)),
|
|
25652
25673
|
(0, a.createElementVNode)("button", {
|
|
25653
25674
|
class: (0, a.normalizeClass)({ active: "black" === e.snapshot.blackout }),
|
|
25654
25675
|
onClick: r[6] || (r[6] = (t) => n("blackout", "black" === e.snapshot.blackout ? "none" : "black"))
|
|
@@ -25666,7 +25687,7 @@ var aG = { class: "flex items-start gap-3" }, rG = { class: "flex h-10 w-10 item
|
|
|
25666
25687
|
(0, a.createElementVNode)("button", { onClick: r[10] || (r[10] = (e) => n("exit")) }, "End")
|
|
25667
25688
|
]));
|
|
25668
25689
|
}
|
|
25669
|
-
}), [["__scopeId", "data-v-4ed3d870"]]),
|
|
25690
|
+
}), [["__scopeId", "data-v-4ed3d870"]]), Bq = { class: "slide-grid" }, Nq = ["onClick"], Dq = Km((0, a.defineComponent)({
|
|
25670
25691
|
__name: "PresenterSlideGrid",
|
|
25671
25692
|
props: {
|
|
25672
25693
|
slides: {},
|
|
@@ -25677,7 +25698,7 @@ var aG = { class: "flex items-start gap-3" }, rG = { class: "flex h-10 w-10 item
|
|
|
25677
25698
|
emits: ["select", "close"],
|
|
25678
25699
|
setup(e, { emit: t }) {
|
|
25679
25700
|
const n = t;
|
|
25680
|
-
return (t, o) => ((0, a.openBlock)(), (0, a.createElementBlock)("div",
|
|
25701
|
+
return (t, o) => ((0, a.openBlock)(), (0, a.createElementBlock)("div", Bq, [(0, a.createElementVNode)("header", null, [o[1] || (o[1] = (0, a.createElementVNode)("div", null, [(0, a.createElementVNode)("small", null, "Slide navigator"), (0, a.createElementVNode)("h2", null, "See all slides")], -1)), (0, a.createElementVNode)("button", { onClick: o[0] || (o[0] = (e) => n("close")) }, "Close")]), (0, a.createElementVNode)("main", null, [((0, a.openBlock)(!0), (0, a.createElementBlock)(a.Fragment, null, (0, a.renderList)(e.slides, (t, o) => ((0, a.openBlock)(), (0, a.createElementBlock)("button", {
|
|
25681
25702
|
key: t.id ?? o,
|
|
25682
25703
|
class: (0, a.normalizeClass)({
|
|
25683
25704
|
current: o === e.current,
|
|
@@ -25697,33 +25718,33 @@ var aG = { class: "flex items-start gap-3" }, rG = { class: "flex h-10 w-10 item
|
|
|
25697
25718
|
"canvas-size",
|
|
25698
25719
|
"media-data-urls",
|
|
25699
25720
|
"scale"
|
|
25700
|
-
])], 4), (0, a.createElementVNode)("span", null, (0, a.toDisplayString)(o + 1) + (0, a.toDisplayString)(t.hidden ? " - hidden" : ""), 1)], 10,
|
|
25721
|
+
])], 4), (0, a.createElementVNode)("span", null, (0, a.toDisplayString)(o + 1) + (0, a.toDisplayString)(t.hidden ? " - hidden" : ""), 1)], 10, Nq))), 128))])]));
|
|
25701
25722
|
}
|
|
25702
|
-
}), [["__scopeId", "data-v-218472a0"]]),
|
|
25723
|
+
}), [["__scopeId", "data-v-218472a0"]]), _q = {
|
|
25703
25724
|
key: 0,
|
|
25704
25725
|
class: "pptx-vue-presenter pptx-vue-presenter--empty absolute inset-0 z-50 flex items-center justify-center bg-card text-muted-foreground"
|
|
25705
|
-
},
|
|
25726
|
+
}, Tq = {
|
|
25706
25727
|
key: 1,
|
|
25707
25728
|
class: "pptx-vue-presenter absolute inset-0 z-50 flex flex-col bg-card text-foreground"
|
|
25708
|
-
},
|
|
25729
|
+
}, Iq = { class: "pptx-vue-presenter-body flex flex-1 min-h-0" }, zq = { class: "pptx-vue-presenter-slide-label mt-3 select-none font-mono text-xs tabular-nums text-white/50" }, Pq = { class: "pptx-vue-presenter-rail flex flex-[3] min-w-[260px] max-w-[440px] flex-col border-l border-border bg-background" }, Fq = { class: "pptx-vue-presenter-header flex items-center justify-between gap-2 border-b border-border/60 px-4 py-3" }, Aq = { class: "pptx-vue-presenter-time flex flex-col" }, Mq = { class: "pptx-vue-presenter-label text-[10px] uppercase tracking-wider text-muted-foreground" }, $q = { class: "pptx-vue-presenter-clock font-mono text-lg tabular-nums text-foreground" }, Oq = { class: "pptx-vue-presenter-time pptx-vue-presenter-time--right flex flex-col items-end" }, Lq = { class: "pptx-vue-presenter-label text-[10px] uppercase tracking-wider text-muted-foreground" }, Rq = { class: "pptx-vue-presenter-elapsed font-mono text-lg tabular-nums text-primary" }, Uq = { class: "flex items-center gap-1" }, jq = ["title"], Kq = ["title", "aria-label"], Zq = { class: "pptx-vue-presenter-nav flex items-center justify-between border-b border-border/60 px-4 py-2" }, Hq = ["disabled", "title"], Wq = { class: "pptx-vue-presenter-counter font-mono text-sm tabular-nums text-foreground" }, Gq = ["disabled", "title"], qq = { class: "pptx-vue-presenter-section border-b border-border/60 px-4 py-3" }, Xq = { class: "pptx-vue-presenter-label mb-2 text-[10px] uppercase tracking-wider text-muted-foreground" }, Yq = {
|
|
25709
25730
|
key: 1,
|
|
25710
25731
|
class: "pptx-vue-presenter-preview-empty mt-2 flex h-16 items-center justify-center rounded border border-border/30 bg-muted/40 text-xs italic text-muted-foreground"
|
|
25711
|
-
},
|
|
25732
|
+
}, Jq = { class: "pptx-vue-presenter-notes-section flex flex-1 min-h-0 flex-col px-4 py-3" }, Qq = { class: "pptx-vue-presenter-notes-head mb-2 flex items-center justify-between" }, eX = { class: "pptx-vue-presenter-label text-[10px] uppercase tracking-wider text-muted-foreground" }, tX = { class: "pptx-vue-presenter-font-ctl flex items-center gap-1" }, nX = [
|
|
25712
25733
|
"disabled",
|
|
25713
25734
|
"title",
|
|
25714
25735
|
"aria-label"
|
|
25715
|
-
],
|
|
25736
|
+
], oX = { class: "pptx-vue-presenter-font-val min-w-[28px] select-none text-center font-mono text-[10px] tabular-nums text-muted-foreground" }, aX = [
|
|
25716
25737
|
"disabled",
|
|
25717
25738
|
"title",
|
|
25718
25739
|
"aria-label"
|
|
25719
|
-
],
|
|
25740
|
+
], rX = { key: 0 }, lX = {
|
|
25720
25741
|
key: 2,
|
|
25721
25742
|
class: "pptx-vue-presenter-notes-empty italic text-muted-foreground"
|
|
25722
|
-
},
|
|
25743
|
+
}, iX = [
|
|
25723
25744
|
"aria-valuenow",
|
|
25724
25745
|
"aria-label",
|
|
25725
25746
|
"title"
|
|
25726
|
-
],
|
|
25747
|
+
], sX = 3e5, dX = (0, a.defineComponent)({
|
|
25727
25748
|
__name: "PresenterView",
|
|
25728
25749
|
props: {
|
|
25729
25750
|
slides: {},
|
|
@@ -25776,7 +25797,7 @@ var aG = { class: "flex items-start gap-3" }, rG = { class: "flex h-10 w-10 item
|
|
|
25776
25797
|
}), (0, a.onBeforeUnmount)(() => {
|
|
25777
25798
|
null !== v && (clearInterval(v), v = null);
|
|
25778
25799
|
});
|
|
25779
|
-
const x = (0, a.computed)(() => o.presentationStartTime ? f.value - o.presentationStartTime : 0), g = (0, a.computed)(() => n.formatTime(new Date(f.value))), h = (0, a.computed)(() => n.formatElapsed(x.value)), y = (0, a.computed)(() => Math.min(100, x.value %
|
|
25800
|
+
const x = (0, a.computed)(() => o.presentationStartTime ? f.value - o.presentationStartTime : 0), g = (0, a.computed)(() => n.formatTime(new Date(f.value))), h = (0, a.computed)(() => n.formatElapsed(x.value)), y = (0, a.computed)(() => Math.min(100, x.value % sX / sX * 100)), b = (0, a.computed)(() => Math.floor(x.value / sX)), k = (0, a.ref)(14);
|
|
25780
25801
|
function E() {
|
|
25781
25802
|
k.value = n.clampNotesFontSize(k.value + 2);
|
|
25782
25803
|
}
|
|
@@ -25801,8 +25822,8 @@ var aG = { class: "flex items-start gap-3" }, rG = { class: "flex h-10 w-10 item
|
|
|
25801
25822
|
transform: `scale(${o.snapshot.zoom?.scale ?? 1})`,
|
|
25802
25823
|
transformOrigin: `${100 * (o.snapshot.zoom?.originX ?? .5)}% ${100 * (o.snapshot.zoom?.originY ?? .5)}%`
|
|
25803
25824
|
}));
|
|
25804
|
-
return (t, n) => C.value ? ((0, a.openBlock)(), (0, a.createElementBlock)("div",
|
|
25805
|
-
(0, a.createElementVNode)("div",
|
|
25825
|
+
return (t, n) => C.value ? ((0, a.openBlock)(), (0, a.createElementBlock)("div", Tq, [
|
|
25826
|
+
(0, a.createElementVNode)("div", Iq, [(0, a.createElementVNode)("div", {
|
|
25806
25827
|
role: "presentation",
|
|
25807
25828
|
"data-pptx-presenter-slide": "",
|
|
25808
25829
|
class: (0, a.normalizeClass)(["pptx-vue-presenter-main flex flex-[7] min-w-0 flex-col items-center justify-center overflow-hidden bg-black p-6", { "cursor-pointer": c.value }]),
|
|
@@ -25820,19 +25841,19 @@ var aG = { class: "flex items-start gap-3" }, rG = { class: "flex h-10 w-10 item
|
|
|
25820
25841
|
"canvas-size",
|
|
25821
25842
|
"media-data-urls",
|
|
25822
25843
|
"scale"
|
|
25823
|
-
])], 4), (0, a.createElementVNode)("div",
|
|
25844
|
+
])], 4), (0, a.createElementVNode)("div", zq, (0, a.toDisplayString)((0, a.unref)(i)("pptx.statusBar.slideOf", {
|
|
25824
25845
|
current: e.currentSlideIndex + 1,
|
|
25825
25846
|
total: e.slides.length
|
|
25826
|
-
})), 1)], 2), (0, a.createElementVNode)("div",
|
|
25827
|
-
(0, a.createElementVNode)("div",
|
|
25828
|
-
(0, a.createElementVNode)("div",
|
|
25829
|
-
(0, a.createElementVNode)("div",
|
|
25830
|
-
(0, a.createElementVNode)("div",
|
|
25847
|
+
})), 1)], 2), (0, a.createElementVNode)("div", Pq, [
|
|
25848
|
+
(0, a.createElementVNode)("div", Fq, [
|
|
25849
|
+
(0, a.createElementVNode)("div", Aq, [(0, a.createElementVNode)("span", Mq, (0, a.toDisplayString)((0, a.unref)(i)("pptx.presenterView.currentTime")), 1), (0, a.createElementVNode)("span", $q, (0, a.toDisplayString)(g.value), 1)]),
|
|
25850
|
+
(0, a.createElementVNode)("div", Oq, [(0, a.createElementVNode)("span", Lq, (0, a.toDisplayString)((0, a.unref)(i)("pptx.mpresenter.elapsed")), 1), (0, a.createElementVNode)("span", Rq, (0, a.toDisplayString)(h.value), 1)]),
|
|
25851
|
+
(0, a.createElementVNode)("div", Uq, [(0, a.createElementVNode)("button", {
|
|
25831
25852
|
type: "button",
|
|
25832
25853
|
class: "pptx-vue-presenter-audience-btn flex h-7 items-center justify-center rounded px-2 text-xs text-muted-foreground transition-colors hover:bg-accent hover:text-foreground",
|
|
25833
25854
|
title: e.audienceOpen ? (0, a.unref)(i)("pptx.presenter.closeAudienceWindow") : (0, a.unref)(i)("pptx.presenter.openAudienceWindow"),
|
|
25834
25855
|
onClick: S
|
|
25835
|
-
}, (0, a.toDisplayString)(e.audienceOpen ? "Disconnect display" : "Audience display"), 9,
|
|
25856
|
+
}, (0, a.toDisplayString)(e.audienceOpen ? "Disconnect display" : "Audience display"), 9, jq), (0, a.createElementVNode)("button", {
|
|
25836
25857
|
type: "button",
|
|
25837
25858
|
class: "pptx-vue-presenter-icon-btn flex h-7 w-7 items-center justify-center rounded text-muted-foreground transition-colors hover:bg-accent hover:text-foreground",
|
|
25838
25859
|
title: (0, a.unref)(i)("pptx.presenter.endPresentation"),
|
|
@@ -25841,9 +25862,9 @@ var aG = { class: "flex items-start gap-3" }, rG = { class: "flex h-10 w-10 item
|
|
|
25841
25862
|
}, [(0, a.createVNode)((0, a.unref)(l.X), {
|
|
25842
25863
|
class: "h-4 w-4",
|
|
25843
25864
|
"aria-hidden": "true"
|
|
25844
|
-
})], 8,
|
|
25865
|
+
})], 8, Kq)])
|
|
25845
25866
|
]),
|
|
25846
|
-
(0, a.createElementVNode)("div",
|
|
25867
|
+
(0, a.createElementVNode)("div", Zq, [
|
|
25847
25868
|
(0, a.createElementVNode)("button", {
|
|
25848
25869
|
type: "button",
|
|
25849
25870
|
class: "pptx-vue-presenter-nav-btn inline-flex items-center gap-1.5 rounded bg-muted px-3 py-1.5 text-xs transition-colors hover:bg-accent disabled:cursor-not-allowed disabled:opacity-40",
|
|
@@ -25853,8 +25874,8 @@ var aG = { class: "flex items-start gap-3" }, rG = { class: "flex h-10 w-10 item
|
|
|
25853
25874
|
}, [(0, a.createVNode)((0, a.unref)(l.ChevronLeft), {
|
|
25854
25875
|
class: "h-4 w-4",
|
|
25855
25876
|
"aria-hidden": "true"
|
|
25856
|
-
}), (0, a.createTextVNode)(" " + (0, a.toDisplayString)((0, a.unref)(i)("pptx.mpresenter.prev")), 1)], 8,
|
|
25857
|
-
(0, a.createElementVNode)("span",
|
|
25877
|
+
}), (0, a.createTextVNode)(" " + (0, a.toDisplayString)((0, a.unref)(i)("pptx.mpresenter.prev")), 1)], 8, Hq),
|
|
25878
|
+
(0, a.createElementVNode)("span", Wq, (0, a.toDisplayString)(e.currentSlideIndex + 1) + " / " + (0, a.toDisplayString)(e.slides.length), 1),
|
|
25858
25879
|
(0, a.createElementVNode)("button", {
|
|
25859
25880
|
type: "button",
|
|
25860
25881
|
class: "pptx-vue-presenter-nav-btn inline-flex items-center gap-1.5 rounded bg-muted px-3 py-1.5 text-xs transition-colors hover:bg-accent disabled:cursor-not-allowed disabled:opacity-40",
|
|
@@ -25864,9 +25885,9 @@ var aG = { class: "flex items-start gap-3" }, rG = { class: "flex h-10 w-10 item
|
|
|
25864
25885
|
}, [(0, a.createTextVNode)((0, a.toDisplayString)((0, a.unref)(i)("pptx.mpresenter.next")) + " ", 1), (0, a.createVNode)((0, a.unref)(l.ChevronRight), {
|
|
25865
25886
|
class: "h-4 w-4",
|
|
25866
25887
|
"aria-hidden": "true"
|
|
25867
|
-
})], 8,
|
|
25888
|
+
})], 8, Gq)
|
|
25868
25889
|
]),
|
|
25869
|
-
(0, a.createElementVNode)("div",
|
|
25890
|
+
(0, a.createElementVNode)("div", qq, [(0, a.createElementVNode)("div", Xq, (0, a.toDisplayString)((0, a.unref)(i)("pptx.mobileBar.nextSlide")), 1), B.value ? ((0, a.openBlock)(), (0, a.createElementBlock)("div", {
|
|
25870
25891
|
key: 0,
|
|
25871
25892
|
class: "pptx-vue-presenter-preview-frame relative mt-2 overflow-hidden rounded border border-border/30",
|
|
25872
25893
|
style: (0, a.normalizeStyle)(z.value)
|
|
@@ -25880,8 +25901,8 @@ var aG = { class: "flex items-start gap-3" }, rG = { class: "flex h-10 w-10 item
|
|
|
25880
25901
|
"canvas-size",
|
|
25881
25902
|
"media-data-urls",
|
|
25882
25903
|
"scale"
|
|
25883
|
-
])], 4)) : ((0, a.openBlock)(), (0, a.createElementBlock)("div",
|
|
25884
|
-
(0, a.createElementVNode)("div",
|
|
25904
|
+
])], 4)) : ((0, a.openBlock)(), (0, a.createElementBlock)("div", Yq, (0, a.toDisplayString)((0, a.unref)(i)("pptx.mpresenter.endOfPresentation")), 1))]),
|
|
25905
|
+
(0, a.createElementVNode)("div", Jq, [(0, a.createElementVNode)("div", Qq, [(0, a.createElementVNode)("div", eX, (0, a.toDisplayString)((0, a.unref)(i)("pptx.presenter.speakerNotes")), 1), (0, a.createElementVNode)("div", tX, [
|
|
25885
25906
|
(0, a.createElementVNode)("button", {
|
|
25886
25907
|
type: "button",
|
|
25887
25908
|
class: "pptx-vue-presenter-font-btn rounded p-0.5 text-muted-foreground transition-colors hover:bg-accent hover:text-foreground disabled:cursor-not-allowed disabled:opacity-30",
|
|
@@ -25892,8 +25913,8 @@ var aG = { class: "flex items-start gap-3" }, rG = { class: "flex h-10 w-10 item
|
|
|
25892
25913
|
}, [(0, a.createVNode)((0, a.unref)(l.Minus), {
|
|
25893
25914
|
class: "h-3.5 w-3.5",
|
|
25894
25915
|
"aria-hidden": "true"
|
|
25895
|
-
})], 8,
|
|
25896
|
-
(0, a.createElementVNode)("span",
|
|
25916
|
+
})], 8, nX),
|
|
25917
|
+
(0, a.createElementVNode)("span", oX, (0, a.toDisplayString)(k.value) + "px", 1),
|
|
25897
25918
|
(0, a.createElementVNode)("button", {
|
|
25898
25919
|
type: "button",
|
|
25899
25920
|
class: "pptx-vue-presenter-font-btn rounded p-0.5 text-muted-foreground transition-colors hover:bg-accent hover:text-foreground disabled:cursor-not-allowed disabled:opacity-30",
|
|
@@ -25904,16 +25925,16 @@ var aG = { class: "flex items-start gap-3" }, rG = { class: "flex h-10 w-10 item
|
|
|
25904
25925
|
}, [(0, a.createVNode)((0, a.unref)(l.Plus), {
|
|
25905
25926
|
class: "h-3.5 w-3.5",
|
|
25906
25927
|
"aria-hidden": "true"
|
|
25907
|
-
})], 8,
|
|
25928
|
+
})], 8, aX)
|
|
25908
25929
|
])]), (0, a.createElementVNode)("div", {
|
|
25909
25930
|
class: "pptx-vue-presenter-notes flex-1 overflow-y-auto whitespace-pre-wrap rounded border border-border/30 bg-muted/40 px-3 py-2 leading-relaxed text-foreground",
|
|
25910
25931
|
style: (0, a.normalizeStyle)({ fontSize: `${k.value}px` })
|
|
25911
|
-
}, [V.value ? ((0, a.openBlock)(!0), (0, a.createElementBlock)(a.Fragment, { key: 0 }, (0, a.renderList)(V.value, (e) => ((0, a.openBlock)(), (0, a.createElementBlock)(a.Fragment, { key: e.key }, ["break" === e.kind ? ((0, a.openBlock)(), (0, a.createElementBlock)("br",
|
|
25932
|
+
}, [V.value ? ((0, a.openBlock)(!0), (0, a.createElementBlock)(a.Fragment, { key: 0 }, (0, a.renderList)(V.value, (e) => ((0, a.openBlock)(), (0, a.createElementBlock)(a.Fragment, { key: e.key }, ["break" === e.kind ? ((0, a.openBlock)(), (0, a.createElementBlock)("br", rX)) : ((0, a.openBlock)(), (0, a.createElementBlock)("span", {
|
|
25912
25933
|
key: 1,
|
|
25913
25934
|
style: (0, a.normalizeStyle)(e.style)
|
|
25914
|
-
}, (0, a.toDisplayString)(e.text), 5))], 64))), 128)) : D.value ? ((0, a.openBlock)(), (0, a.createElementBlock)(a.Fragment, { key: 1 }, [(0, a.createTextVNode)((0, a.toDisplayString)(N.value), 1)], 64)) : ((0, a.openBlock)(), (0, a.createElementBlock)("span",
|
|
25935
|
+
}, (0, a.toDisplayString)(e.text), 5))], 64))), 128)) : D.value ? ((0, a.openBlock)(), (0, a.createElementBlock)(a.Fragment, { key: 1 }, [(0, a.createTextVNode)((0, a.toDisplayString)(N.value), 1)], 64)) : ((0, a.openBlock)(), (0, a.createElementBlock)("span", lX, (0, a.toDisplayString)((0, a.unref)(i)("pptx.mpresenter.noNotes")), 1))], 4)])
|
|
25915
25936
|
])]),
|
|
25916
|
-
s.value ? ((0, a.openBlock)(), (0, a.createBlock)(
|
|
25937
|
+
s.value ? ((0, a.openBlock)(), (0, a.createBlock)(Dq, {
|
|
25917
25938
|
key: 0,
|
|
25918
25939
|
slides: e.slides,
|
|
25919
25940
|
current: e.currentSlideIndex,
|
|
@@ -25943,8 +25964,8 @@ var aG = { class: "flex items-start gap-3" }, rG = { class: "flex h-10 w-10 item
|
|
|
25943
25964
|
}, [(0, a.createElementVNode)("div", {
|
|
25944
25965
|
class: "pptx-vue-presenter-progress-fill h-full bg-primary transition-[width] duration-1000 ease-linear",
|
|
25945
25966
|
style: (0, a.normalizeStyle)({ width: `${y.value}%` })
|
|
25946
|
-
}, null, 4)], 8,
|
|
25947
|
-
])) : ((0, a.openBlock)(), (0, a.createElementBlock)("div",
|
|
25967
|
+
}, null, 4)], 8, iX)
|
|
25968
|
+
])) : ((0, a.openBlock)(), (0, a.createElementBlock)("div", _q, [(0, a.createVNode)(Cq, {
|
|
25948
25969
|
snapshot: e.snapshot,
|
|
25949
25970
|
"audience-open": Boolean(e.audienceOpen),
|
|
25950
25971
|
onTimer: n[0] || (n[0] = (t) => p({ paused: !e.snapshot.paused })),
|
|
@@ -25966,10 +25987,10 @@ var aG = { class: "flex items-start gap-3" }, rG = { class: "flex h-10 w-10 item
|
|
|
25966
25987
|
onExit: n[6] || (n[6] = (e) => r("exit"))
|
|
25967
25988
|
}, null, 8, ["snapshot", "audience-open"]), (0, a.createTextVNode)(" " + (0, a.toDisplayString)((0, a.unref)(i)("pptx.mpresenter.noSlides")), 1)]));
|
|
25968
25989
|
}
|
|
25969
|
-
}),
|
|
25990
|
+
}), pX = {
|
|
25970
25991
|
key: 2,
|
|
25971
25992
|
class: "pointer-events-none absolute inset-x-[10%] bottom-8 z-[77] rounded-lg bg-black/80 px-6 py-3 text-center text-xl text-white"
|
|
25972
|
-
},
|
|
25993
|
+
}, mX = Km((0, a.defineComponent)({
|
|
25973
25994
|
__name: "PresentationMode",
|
|
25974
25995
|
props: {
|
|
25975
25996
|
slides: {},
|
|
@@ -26322,7 +26343,7 @@ var aG = { class: "flex items-start gap-3" }, rG = { class: "flex h-10 w-10 item
|
|
|
26322
26343
|
"onLaserLeave",
|
|
26323
26344
|
"onErase"
|
|
26324
26345
|
])) : (0, a.createCommentVNode)("", !0),
|
|
26325
|
-
G.value ? ((0, a.openBlock)(), (0, a.createBlock)(
|
|
26346
|
+
G.value ? ((0, a.openBlock)(), (0, a.createBlock)(kq, {
|
|
26326
26347
|
key: 1,
|
|
26327
26348
|
"outgoing-slide": G.value.outgoing,
|
|
26328
26349
|
"incoming-slide": G.value.incoming,
|
|
@@ -26354,7 +26375,7 @@ var aG = { class: "flex items-start gap-3" }, rG = { class: "flex h-10 w-10 item
|
|
|
26354
26375
|
boxShadow: "0 0 20px 8px rgba(239,68,68,.55)"
|
|
26355
26376
|
})
|
|
26356
26377
|
}, null, 4)) : (0, a.createCommentVNode)("", !0),
|
|
26357
|
-
(0, a.unref)(M).snapshot.value.subtitlesVisible && (0, a.unref)(M).snapshot.value.caption ? ((0, a.openBlock)(), (0, a.createElementBlock)("div",
|
|
26378
|
+
(0, a.unref)(M).snapshot.value.subtitlesVisible && (0, a.unref)(M).snapshot.value.caption ? ((0, a.openBlock)(), (0, a.createElementBlock)("div", pX, (0, a.toDisplayString)((0, a.unref)(M).snapshot.value.caption), 1)) : (0, a.createCommentVNode)("", !0),
|
|
26358
26379
|
P.value && (0, a.unref)(F) ? ((0, a.openBlock)(), (0, a.createBlock)(_G, {
|
|
26359
26380
|
key: 3,
|
|
26360
26381
|
slides: e.slides,
|
|
@@ -26371,7 +26392,7 @@ var aG = { class: "flex items-start gap-3" }, rG = { class: "flex h-10 w-10 item
|
|
|
26371
26392
|
"canvas-size",
|
|
26372
26393
|
"media-data-urls",
|
|
26373
26394
|
"presentation-start-time"
|
|
26374
|
-
])) : P.value ? ((0, a.openBlock)(), (0, a.createBlock)(
|
|
26395
|
+
])) : P.value ? ((0, a.openBlock)(), (0, a.createBlock)(dX, {
|
|
26375
26396
|
key: 4,
|
|
26376
26397
|
slides: e.slides,
|
|
26377
26398
|
"current-slide-index": s.value,
|
|
@@ -26465,16 +26486,16 @@ var aG = { class: "flex items-start gap-3" }, rG = { class: "flex h-10 w-10 item
|
|
|
26465
26486
|
])
|
|
26466
26487
|
], 512)]));
|
|
26467
26488
|
}
|
|
26468
|
-
}), [["__scopeId", "data-v-4bf3d4af"]]),
|
|
26489
|
+
}), [["__scopeId", "data-v-4bf3d4af"]]), fX = { class: "pptx-vue-print-settings flex min-w-0 flex-1 flex-col gap-5" }, vX = { class: "pptx-vue-print-fieldset m-0 border-none p-0" }, xX = { class: "pptx-vue-print-legend mb-2 p-0 text-xs font-medium uppercase tracking-wide text-muted-foreground" }, gX = { class: "pptx-vue-print-grid grid grid-cols-2 gap-2" }, hX = ["checked", "onChange"], yX = {
|
|
26469
26490
|
key: 0,
|
|
26470
26491
|
class: "pptx-vue-print-fieldset m-0 border-none p-0"
|
|
26471
|
-
},
|
|
26492
|
+
}, bX = { class: "pptx-vue-print-legend mb-2 p-0 text-xs font-medium uppercase tracking-wide text-muted-foreground" }, kX = { class: "pptx-vue-print-chips flex flex-wrap gap-1.5" }, EX = ["onClick"], wX = { class: "pptx-vue-print-fieldset m-0 border-none p-0" }, SX = { class: "pptx-vue-print-legend mb-2 p-0 text-xs font-medium uppercase tracking-wide text-muted-foreground" }, CX = { class: "pptx-vue-print-stack flex flex-col gap-2" }, BX = ["checked"], NX = ["checked"], VX = ["checked"], DX = {
|
|
26472
26493
|
key: 0,
|
|
26473
26494
|
class: "pptx-vue-print-range flex items-center gap-2 pl-6"
|
|
26474
|
-
},
|
|
26495
|
+
}, _X = { class: "pptx-vue-print-range-label text-xs text-muted-foreground" }, TX = ["max", "value"], IX = { class: "pptx-vue-print-range-label text-xs text-muted-foreground" }, zX = ["max", "value"], PX = {
|
|
26475
26496
|
key: 1,
|
|
26476
26497
|
class: "pptx-vue-print-fieldset m-0 border-none p-0"
|
|
26477
|
-
},
|
|
26498
|
+
}, FX = { class: "pptx-vue-print-legend mb-2 p-0 text-xs font-medium uppercase tracking-wide text-muted-foreground" }, AX = { class: "pptx-vue-print-row flex flex-wrap gap-2" }, MX = ["checked"], $X = ["checked"], OX = { class: "pptx-vue-print-fieldset m-0 border-none p-0" }, LX = { class: "pptx-vue-print-legend mb-2 p-0 text-xs font-medium uppercase tracking-wide text-muted-foreground" }, RX = { class: "pptx-vue-print-row flex flex-wrap gap-2" }, UX = ["checked", "onChange"], jX = { class: "pptx-vue-print-checkbox flex cursor-pointer items-center gap-2 text-sm text-foreground" }, KX = ["checked"], HX = (0, a.defineComponent)({
|
|
26478
26499
|
__name: "PrintSettingsPanel",
|
|
26479
26500
|
props: {
|
|
26480
26501
|
printWhat: {},
|
|
@@ -26539,8 +26560,8 @@ var aG = { class: "flex items-start gap-3" }, rG = { class: "flex h-10 w-10 item
|
|
|
26539
26560
|
function p(e) {
|
|
26540
26561
|
l("update:customTo", c(e.target.value));
|
|
26541
26562
|
}
|
|
26542
|
-
return (e, t) => ((0, a.openBlock)(), (0, a.createElementBlock)("div",
|
|
26543
|
-
(0, a.createElementVNode)("fieldset",
|
|
26563
|
+
return (e, t) => ((0, a.openBlock)(), (0, a.createElementBlock)("div", fX, [
|
|
26564
|
+
(0, a.createElementVNode)("fieldset", vX, [(0, a.createElementVNode)("legend", xX, (0, a.toDisplayString)((0, a.unref)(o)("pptx.print.legendPrintWhat")), 1), (0, a.createElementVNode)("div", gX, [((0, a.openBlock)(!0), (0, a.createElementBlock)(a.Fragment, null, (0, a.renderList)(i.value, (e) => ((0, a.openBlock)(), (0, a.createElementBlock)("label", {
|
|
26544
26565
|
key: e.value,
|
|
26545
26566
|
class: (0, a.normalizeClass)(["pptx-vue-print-card flex cursor-pointer items-center gap-2 rounded-lg border px-3 py-2 text-sm transition-colors", r.printWhat === e.value ? "pptx-vue-print-card--active border-primary bg-primary/10 text-foreground" : "border-border bg-background text-muted-foreground hover:border-primary/40"])
|
|
26546
26567
|
}, [(0, a.createElementVNode)("input", {
|
|
@@ -26549,37 +26570,37 @@ var aG = { class: "flex items-start gap-3" }, rG = { class: "flex h-10 w-10 item
|
|
|
26549
26570
|
class: "pptx-vue-print-sr-only sr-only",
|
|
26550
26571
|
checked: r.printWhat === e.value,
|
|
26551
26572
|
onChange: (t) => l("update:printWhat", e.value)
|
|
26552
|
-
}, null, 40,
|
|
26553
|
-
"handouts" === r.printWhat ? ((0, a.openBlock)(), (0, a.createElementBlock)("fieldset",
|
|
26573
|
+
}, null, 40, hX), (0, a.createTextVNode)(" " + (0, a.toDisplayString)(e.label), 1)], 2))), 128))])]),
|
|
26574
|
+
"handouts" === r.printWhat ? ((0, a.openBlock)(), (0, a.createElementBlock)("fieldset", yX, [(0, a.createElementVNode)("legend", bX, (0, a.toDisplayString)((0, a.unref)(o)("pptx.print.legendSlidesPerPage")), 1), (0, a.createElementVNode)("div", kX, [((0, a.openBlock)(!0), (0, a.createElementBlock)(a.Fragment, null, (0, a.renderList)((0, a.unref)(n.HANDOUT_OPTIONS), (e) => ((0, a.openBlock)(), (0, a.createElementBlock)("button", {
|
|
26554
26575
|
key: e,
|
|
26555
26576
|
type: "button",
|
|
26556
26577
|
class: (0, a.normalizeClass)(["pptx-vue-print-chip rounded-md border px-3 py-1.5 text-sm font-medium transition-colors", r.slidesPerPage === e ? "pptx-vue-print-chip--active border-primary bg-primary/10 text-foreground" : "border-border bg-background text-muted-foreground hover:border-primary/40"]),
|
|
26557
26578
|
onClick: (t) => l("update:slidesPerPage", e)
|
|
26558
|
-
}, (0, a.toDisplayString)(e), 11,
|
|
26559
|
-
(0, a.createElementVNode)("fieldset",
|
|
26579
|
+
}, (0, a.toDisplayString)(e), 11, EX))), 128))])])) : (0, a.createCommentVNode)("", !0),
|
|
26580
|
+
(0, a.createElementVNode)("fieldset", wX, [(0, a.createElementVNode)("legend", SX, (0, a.toDisplayString)((0, a.unref)(o)("pptx.print.legendSlideRange")), 1), (0, a.createElementVNode)("div", CX, [
|
|
26560
26581
|
(0, a.createElementVNode)("label", { class: (0, a.normalizeClass)(["pptx-vue-print-card flex cursor-pointer items-center gap-2 rounded-lg border px-3 py-2 text-sm transition-colors", "all" === r.slideRange ? "pptx-vue-print-card--active border-primary bg-primary/10 text-foreground" : "border-border bg-background text-muted-foreground hover:border-primary/40"]) }, [(0, a.createElementVNode)("input", {
|
|
26561
26582
|
type: "radio",
|
|
26562
26583
|
name: "slideRange",
|
|
26563
26584
|
class: "pptx-vue-print-sr-only sr-only",
|
|
26564
26585
|
checked: "all" === r.slideRange,
|
|
26565
26586
|
onChange: t[0] || (t[0] = (e) => l("update:slideRange", "all"))
|
|
26566
|
-
}, null, 40,
|
|
26587
|
+
}, null, 40, BX), (0, a.createTextVNode)(" " + (0, a.toDisplayString)((0, a.unref)(o)("pptx.print.rangeAll", { count: r.totalSlides })), 1)], 2),
|
|
26567
26588
|
(0, a.createElementVNode)("label", { class: (0, a.normalizeClass)(["pptx-vue-print-card flex cursor-pointer items-center gap-2 rounded-lg border px-3 py-2 text-sm transition-colors", "current" === r.slideRange ? "pptx-vue-print-card--active border-primary bg-primary/10 text-foreground" : "border-border bg-background text-muted-foreground hover:border-primary/40"]) }, [(0, a.createElementVNode)("input", {
|
|
26568
26589
|
type: "radio",
|
|
26569
26590
|
name: "slideRange",
|
|
26570
26591
|
class: "pptx-vue-print-sr-only sr-only",
|
|
26571
26592
|
checked: "current" === r.slideRange,
|
|
26572
26593
|
onChange: t[1] || (t[1] = (e) => l("update:slideRange", "current"))
|
|
26573
|
-
}, null, 40,
|
|
26594
|
+
}, null, 40, NX), (0, a.createTextVNode)(" " + (0, a.toDisplayString)((0, a.unref)(o)("pptx.print.rangeCurrent", { count: r.activeSlideIndex + 1 })), 1)], 2),
|
|
26574
26595
|
(0, a.createElementVNode)("label", { class: (0, a.normalizeClass)(["pptx-vue-print-card flex cursor-pointer items-center gap-2 rounded-lg border px-3 py-2 text-sm transition-colors", "custom" === r.slideRange ? "pptx-vue-print-card--active border-primary bg-primary/10 text-foreground" : "border-border bg-background text-muted-foreground hover:border-primary/40"]) }, [(0, a.createElementVNode)("input", {
|
|
26575
26596
|
type: "radio",
|
|
26576
26597
|
name: "slideRange",
|
|
26577
26598
|
class: "pptx-vue-print-sr-only sr-only",
|
|
26578
26599
|
checked: "custom" === r.slideRange,
|
|
26579
26600
|
onChange: t[2] || (t[2] = (e) => l("update:slideRange", "custom"))
|
|
26580
|
-
}, null, 40,
|
|
26581
|
-
"custom" === r.slideRange ? ((0, a.openBlock)(), (0, a.createElementBlock)("div",
|
|
26582
|
-
(0, a.createElementVNode)("span",
|
|
26601
|
+
}, null, 40, VX), (0, a.createTextVNode)(" " + (0, a.toDisplayString)((0, a.unref)(o)("pptx.print.rangeCustom")), 1)], 2),
|
|
26602
|
+
"custom" === r.slideRange ? ((0, a.openBlock)(), (0, a.createElementBlock)("div", DX, [
|
|
26603
|
+
(0, a.createElementVNode)("span", _X, (0, a.toDisplayString)((0, a.unref)(o)("pptx.print.from")), 1),
|
|
26583
26604
|
(0, a.createElementVNode)("input", {
|
|
26584
26605
|
type: "number",
|
|
26585
26606
|
min: 1,
|
|
@@ -26587,8 +26608,8 @@ var aG = { class: "flex items-start gap-3" }, rG = { class: "flex h-10 w-10 item
|
|
|
26587
26608
|
value: r.customFrom,
|
|
26588
26609
|
class: "pptx-vue-print-number w-16 rounded border border-border bg-background px-2 py-1 text-sm text-foreground",
|
|
26589
26610
|
onInput: d
|
|
26590
|
-
}, null, 40,
|
|
26591
|
-
(0, a.createElementVNode)("span",
|
|
26611
|
+
}, null, 40, TX),
|
|
26612
|
+
(0, a.createElementVNode)("span", IX, (0, a.toDisplayString)((0, a.unref)(o)("pptx.print.to")), 1),
|
|
26592
26613
|
(0, a.createElementVNode)("input", {
|
|
26593
26614
|
type: "number",
|
|
26594
26615
|
min: 1,
|
|
@@ -26596,23 +26617,23 @@ var aG = { class: "flex items-start gap-3" }, rG = { class: "flex h-10 w-10 item
|
|
|
26596
26617
|
value: r.customTo,
|
|
26597
26618
|
class: "pptx-vue-print-number w-16 rounded border border-border bg-background px-2 py-1 text-sm text-foreground",
|
|
26598
26619
|
onInput: p
|
|
26599
|
-
}, null, 40,
|
|
26620
|
+
}, null, 40, zX)
|
|
26600
26621
|
])) : (0, a.createCommentVNode)("", !0)
|
|
26601
26622
|
])]),
|
|
26602
|
-
"slides" === r.printWhat ? ((0, a.openBlock)(), (0, a.createElementBlock)("fieldset",
|
|
26623
|
+
"slides" === r.printWhat ? ((0, a.openBlock)(), (0, a.createElementBlock)("fieldset", PX, [(0, a.createElementVNode)("legend", FX, (0, a.toDisplayString)((0, a.unref)(o)("pptx.print.legendOrientation")), 1), (0, a.createElementVNode)("div", AX, [(0, a.createElementVNode)("label", { class: (0, a.normalizeClass)(["pptx-vue-print-card flex cursor-pointer items-center gap-2 rounded-lg border px-3 py-2 text-sm transition-colors", "landscape" === r.orientation ? "pptx-vue-print-card--active border-primary bg-primary/10 text-foreground" : "border-border bg-background text-muted-foreground hover:border-primary/40"]) }, [(0, a.createElementVNode)("input", {
|
|
26603
26624
|
type: "radio",
|
|
26604
26625
|
name: "orientation",
|
|
26605
26626
|
class: "pptx-vue-print-sr-only sr-only",
|
|
26606
26627
|
checked: "landscape" === r.orientation,
|
|
26607
26628
|
onChange: t[3] || (t[3] = (e) => l("update:orientation", "landscape"))
|
|
26608
|
-
}, null, 40,
|
|
26629
|
+
}, null, 40, MX), (0, a.createTextVNode)(" " + (0, a.toDisplayString)((0, a.unref)(o)("pptx.print.landscape")), 1)], 2), (0, a.createElementVNode)("label", { class: (0, a.normalizeClass)(["pptx-vue-print-card flex cursor-pointer items-center gap-2 rounded-lg border px-3 py-2 text-sm transition-colors", "portrait" === r.orientation ? "pptx-vue-print-card--active border-primary bg-primary/10 text-foreground" : "border-border bg-background text-muted-foreground hover:border-primary/40"]) }, [(0, a.createElementVNode)("input", {
|
|
26609
26630
|
type: "radio",
|
|
26610
26631
|
name: "orientation",
|
|
26611
26632
|
class: "pptx-vue-print-sr-only sr-only",
|
|
26612
26633
|
checked: "portrait" === r.orientation,
|
|
26613
26634
|
onChange: t[4] || (t[4] = (e) => l("update:orientation", "portrait"))
|
|
26614
|
-
}, null, 40,
|
|
26615
|
-
(0, a.createElementVNode)("fieldset",
|
|
26635
|
+
}, null, 40, $X), (0, a.createTextVNode)(" " + (0, a.toDisplayString)((0, a.unref)(o)("pptx.print.portrait")), 1)], 2)])])) : (0, a.createCommentVNode)("", !0),
|
|
26636
|
+
(0, a.createElementVNode)("fieldset", OX, [(0, a.createElementVNode)("legend", LX, (0, a.toDisplayString)((0, a.unref)(o)("pptx.print.legendColorMode")), 1), (0, a.createElementVNode)("div", RX, [((0, a.openBlock)(!0), (0, a.createElementBlock)(a.Fragment, null, (0, a.renderList)(s.value, (e) => ((0, a.openBlock)(), (0, a.createElementBlock)("label", {
|
|
26616
26637
|
key: e.value,
|
|
26617
26638
|
class: (0, a.normalizeClass)(["pptx-vue-print-card flex cursor-pointer items-center gap-2 rounded-lg border px-3 py-2 text-sm transition-colors", r.colorMode === e.value ? "pptx-vue-print-card--active border-primary bg-primary/10 text-foreground" : "border-border bg-background text-muted-foreground hover:border-primary/40"])
|
|
26618
26639
|
}, [(0, a.createElementVNode)("input", {
|
|
@@ -26621,25 +26642,25 @@ var aG = { class: "flex items-start gap-3" }, rG = { class: "flex h-10 w-10 item
|
|
|
26621
26642
|
class: "pptx-vue-print-sr-only sr-only",
|
|
26622
26643
|
checked: r.colorMode === e.value,
|
|
26623
26644
|
onChange: (t) => l("update:colorMode", e.value)
|
|
26624
|
-
}, null, 40,
|
|
26625
|
-
(0, a.createElementVNode)("label",
|
|
26645
|
+
}, null, 40, UX), (0, a.createTextVNode)(" " + (0, a.toDisplayString)(e.label), 1)], 2))), 128))])]),
|
|
26646
|
+
(0, a.createElementVNode)("label", jX, [(0, a.createElementVNode)("input", {
|
|
26626
26647
|
type: "checkbox",
|
|
26627
26648
|
class: "rounded border-border",
|
|
26628
26649
|
checked: r.frameSlides,
|
|
26629
26650
|
onChange: t[5] || (t[5] = (e) => l("update:frameSlides", e.target.checked))
|
|
26630
|
-
}, null, 40,
|
|
26651
|
+
}, null, 40, KX), (0, a.createElementVNode)("span", null, (0, a.toDisplayString)((0, a.unref)(o)("pptx.print.frameSlides")), 1)])
|
|
26631
26652
|
]));
|
|
26632
26653
|
}
|
|
26633
|
-
}),
|
|
26654
|
+
}), WX = { class: "pptx-vue-print-body flex min-w-[480px] gap-5 max-md:min-w-0 max-md:flex-col" }, GX = {
|
|
26634
26655
|
key: 0,
|
|
26635
26656
|
class: "pptx-vue-print-preview flex w-[180px] shrink-0 flex-col items-center gap-2.5 border-l border-border pl-4 max-md:w-full max-md:border-l-0 max-md:border-t max-md:pl-0 max-md:pt-4"
|
|
26636
|
-
},
|
|
26657
|
+
}, qX = { class: "pptx-vue-print-preview-title text-[10px] uppercase tracking-wide text-muted-foreground" }, XX = {
|
|
26637
26658
|
key: 0,
|
|
26638
26659
|
class: "pptx-vue-print-preview-empty flex h-full items-center justify-center text-xs text-muted-foreground"
|
|
26639
|
-
},
|
|
26660
|
+
}, YX = { key: 0 }, JX = {
|
|
26640
26661
|
key: 2,
|
|
26641
26662
|
class: "pptx-vue-print-preview-notes-page"
|
|
26642
|
-
},
|
|
26663
|
+
}, QX = { class: "pptx-vue-print-preview-lines" }, eY = { class: "pptx-vue-print-estimate mr-auto text-xs text-muted-foreground" }, nY = Km((0, a.defineComponent)({
|
|
26643
26664
|
__name: "PrintDialog",
|
|
26644
26665
|
props: {
|
|
26645
26666
|
open: { type: Boolean },
|
|
@@ -26676,7 +26697,7 @@ var aG = { class: "flex items-start gap-3" }, rG = { class: "flex h-10 w-10 item
|
|
|
26676
26697
|
onClose: w
|
|
26677
26698
|
}, {
|
|
26678
26699
|
footer: (0, a.withCtx)(() => [
|
|
26679
|
-
(0, a.createElementVNode)("span",
|
|
26700
|
+
(0, a.createElementVNode)("span", eY, (0, a.toDisplayString)(1 === h.value ? (0, a.unref)(l)("pptx.print.page", { count: h.value }) : (0, a.unref)(l)("pptx.print.pages", { count: h.value })) + " · " + (0, a.toDisplayString)(1 === g.value ? (0, a.unref)(l)("pptx.print.slide", { count: g.value }) : (0, a.unref)(l)("pptx.print.slides", { count: g.value })), 1),
|
|
26680
26701
|
(0, a.createElementVNode)("button", {
|
|
26681
26702
|
type: "button",
|
|
26682
26703
|
class: "pptx-vue-print-btn pptx-vue-print-btn--secondary rounded-lg border border-border px-4 py-2 text-sm text-muted-foreground transition-colors hover:bg-accent hover:text-foreground",
|
|
@@ -26688,7 +26709,7 @@ var aG = { class: "flex items-start gap-3" }, rG = { class: "flex h-10 w-10 item
|
|
|
26688
26709
|
onClick: S
|
|
26689
26710
|
}, (0, a.toDisplayString)((0, a.unref)(l)("pptx.print.printButton")), 1)
|
|
26690
26711
|
]),
|
|
26691
|
-
default: (0, a.withCtx)(() => [(0, a.createElementVNode)("div",
|
|
26712
|
+
default: (0, a.withCtx)(() => [(0, a.createElementVNode)("div", WX, [(0, a.createVNode)(HX, {
|
|
26692
26713
|
"print-what": i.value,
|
|
26693
26714
|
orientation: s.value,
|
|
26694
26715
|
"color-mode": c.value,
|
|
@@ -26718,7 +26739,7 @@ var aG = { class: "flex items-start gap-3" }, rG = { class: "flex h-10 w-10 item
|
|
|
26718
26739
|
"custom-to",
|
|
26719
26740
|
"total-slides",
|
|
26720
26741
|
"active-slide-index"
|
|
26721
|
-
]), k.value || E.value ? ((0, a.openBlock)(), (0, a.createElementBlock)("div",
|
|
26742
|
+
]), k.value || E.value ? ((0, a.openBlock)(), (0, a.createElementBlock)("div", GX, [(0, a.createElementVNode)("span", qX, (0, a.toDisplayString)((0, a.unref)(l)("pptx.animations.preview")), 1), 0 === y.value.length ? ((0, a.openBlock)(), (0, a.createElementBlock)("div", XX, (0, a.toDisplayString)((0, a.unref)(l)("pptx.statusBar.noSlides")), 1)) : k.value ? ((0, a.openBlock)(), (0, a.createElementBlock)("div", {
|
|
26722
26743
|
key: 1,
|
|
26723
26744
|
class: "pptx-vue-print-preview-page",
|
|
26724
26745
|
style: (0, a.normalizeStyle)({
|
|
@@ -26729,23 +26750,23 @@ var aG = { class: "flex items-start gap-3" }, rG = { class: "flex h-10 w-10 item
|
|
|
26729
26750
|
}, [((0, a.openBlock)(!0), (0, a.createElementBlock)(a.Fragment, null, (0, a.renderList)(b.value.rows * b.value.columns, (e) => ((0, a.openBlock)(), (0, a.createElementBlock)("div", {
|
|
26730
26751
|
key: e,
|
|
26731
26752
|
class: (0, a.normalizeClass)(["pptx-vue-print-preview-cell", { "pptx-vue-print-preview-cell--framed": d.value }])
|
|
26732
|
-
}, [void 0 !== y.value[e - 1] ? ((0, a.openBlock)(), (0, a.createElementBlock)("span",
|
|
26753
|
+
}, [void 0 !== y.value[e - 1] ? ((0, a.openBlock)(), (0, a.createElementBlock)("span", YX, (0, a.toDisplayString)(y.value[e - 1] + 1), 1)) : (0, a.createCommentVNode)("", !0)], 2))), 128))], 4)) : ((0, a.openBlock)(), (0, a.createElementBlock)("div", JX, [(0, a.createElementVNode)("div", { class: (0, a.normalizeClass)(["pptx-vue-print-preview-cell", { "pptx-vue-print-preview-cell--framed": d.value }]) }, [(0, a.createElementVNode)("span", null, (0, a.toDisplayString)((y.value[0] ?? 0) + 1), 1)], 2), (0, a.createElementVNode)("div", QX, [((0, a.openBlock)(), (0, a.createElementBlock)(a.Fragment, null, (0, a.renderList)(5, (e) => (0, a.createElementVNode)("div", {
|
|
26733
26754
|
key: e,
|
|
26734
26755
|
class: "pptx-vue-print-preview-line"
|
|
26735
26756
|
})), 64))])]))])) : (0, a.createCommentVNode)("", !0)])]),
|
|
26736
26757
|
_: 1
|
|
26737
26758
|
}, 8, ["open", "title"]));
|
|
26738
26759
|
}
|
|
26739
|
-
}), [["__scopeId", "data-v-53017764"]]),
|
|
26760
|
+
}), [["__scopeId", "data-v-53017764"]]), oY = {
|
|
26740
26761
|
class: "pptx-vue-rehearse-hud fixed bottom-4 left-4 z-[9999] flex items-center gap-3 rounded-lg bg-black/80 px-4 py-2 text-white shadow-xl backdrop-blur-sm select-none",
|
|
26741
26762
|
"data-testid": "rehearse-hud"
|
|
26742
|
-
},
|
|
26763
|
+
}, aY = { class: "pptx-vue-rehearse-col flex flex-col text-xs leading-tight" }, rY = { class: "pptx-vue-rehearse-label text-white/60" }, lY = {
|
|
26743
26764
|
class: "pptx-vue-rehearse-value text-lg font-mono tabular-nums",
|
|
26744
26765
|
"data-testid": "rehearse-slide-time"
|
|
26745
|
-
},
|
|
26766
|
+
}, iY = { class: "pptx-vue-rehearse-col flex flex-col text-xs leading-tight" }, sY = { class: "pptx-vue-rehearse-label text-white/60" }, cY = {
|
|
26746
26767
|
class: "pptx-vue-rehearse-value text-lg font-mono tabular-nums",
|
|
26747
26768
|
"data-testid": "rehearse-total-time"
|
|
26748
|
-
},
|
|
26769
|
+
}, dY = ["title", "aria-label"], uY = (0, a.defineComponent)({
|
|
26749
26770
|
__name: "RehearseTimingsHud",
|
|
26750
26771
|
props: {
|
|
26751
26772
|
slideElapsedMs: {},
|
|
@@ -26755,10 +26776,10 @@ var aG = { class: "flex items-start gap-3" }, rG = { class: "flex h-10 w-10 item
|
|
|
26755
26776
|
emits: ["toggle-pause"],
|
|
26756
26777
|
setup(e, { emit: t }) {
|
|
26757
26778
|
const { t: o } = n.useI18n(), r = t;
|
|
26758
|
-
return (t, i) => ((0, a.openBlock)(), (0, a.createElementBlock)("div",
|
|
26759
|
-
(0, a.createElementVNode)("div",
|
|
26779
|
+
return (t, i) => ((0, a.openBlock)(), (0, a.createElementBlock)("div", oY, [
|
|
26780
|
+
(0, a.createElementVNode)("div", aY, [(0, a.createElementVNode)("span", rY, (0, a.toDisplayString)((0, a.unref)(o)("pptx.rehearse.slideTime")), 1), (0, a.createElementVNode)("span", lY, (0, a.toDisplayString)((0, a.unref)(n.formatRehearseMs)(e.slideElapsedMs)), 1)]),
|
|
26760
26781
|
i[1] || (i[1] = (0, a.createElementVNode)("div", { class: "pptx-vue-rehearse-divider w-px h-8 bg-white/20" }, null, -1)),
|
|
26761
|
-
(0, a.createElementVNode)("div",
|
|
26782
|
+
(0, a.createElementVNode)("div", iY, [(0, a.createElementVNode)("span", sY, (0, a.toDisplayString)((0, a.unref)(o)("pptx.rehearse.totalTime")), 1), (0, a.createElementVNode)("span", cY, (0, a.toDisplayString)((0, a.unref)(n.formatRehearseMs)(e.totalElapsedMs)), 1)]),
|
|
26762
26783
|
(0, a.createElementVNode)("button", {
|
|
26763
26784
|
type: "button",
|
|
26764
26785
|
class: "pptx-vue-rehearse-pause ml-1 flex items-center justify-center rounded p-1.5 text-sm transition-colors hover:bg-white/20",
|
|
@@ -26773,10 +26794,10 @@ var aG = { class: "flex items-start gap-3" }, rG = { class: "flex h-10 w-10 item
|
|
|
26773
26794
|
key: 1,
|
|
26774
26795
|
class: "w-4 h-4",
|
|
26775
26796
|
"aria-hidden": "true"
|
|
26776
|
-
}))], 8,
|
|
26797
|
+
}))], 8, dY)
|
|
26777
26798
|
]));
|
|
26778
26799
|
}
|
|
26779
|
-
}),
|
|
26800
|
+
}), mY = { class: "fixed inset-0 z-[10000] flex items-center justify-center bg-black/60 backdrop-blur-sm" }, fY = ["aria-label"], vY = { class: "border-b border-border px-5 py-4" }, xY = { class: "m-0 text-base font-semibold" }, gY = { class: "mb-0 mt-1 text-sm text-muted-foreground" }, hY = { class: "font-mono text-foreground" }, yY = { class: "max-h-72 overflow-y-auto px-5 py-3" }, bY = { class: "font-mono tabular-nums" }, kY = { class: "flex justify-end gap-2 border-t border-border px-5 py-3" }, wY = (0, a.defineComponent)({
|
|
26780
26801
|
__name: "RehearseTimingsSummary",
|
|
26781
26802
|
props: { timings: {} },
|
|
26782
26803
|
emits: ["save", "discard"],
|
|
@@ -26785,18 +26806,18 @@ var aG = { class: "flex items-start gap-3" }, rG = { class: "flex h-10 w-10 item
|
|
|
26785
26806
|
index: Number(e),
|
|
26786
26807
|
ms: t
|
|
26787
26808
|
})).sort((e, t) => e.index - t.index)), s = (0, a.computed)(() => i.value.reduce((e, t) => e + t.ms, 0));
|
|
26788
|
-
return (e, t) => ((0, a.openBlock)(), (0, a.createElementBlock)("div",
|
|
26809
|
+
return (e, t) => ((0, a.openBlock)(), (0, a.createElementBlock)("div", mY, [(0, a.createElementVNode)("section", {
|
|
26789
26810
|
class: "w-full max-w-md overflow-hidden rounded-xl border border-border bg-background shadow-2xl",
|
|
26790
26811
|
role: "dialog",
|
|
26791
26812
|
"aria-modal": "true",
|
|
26792
26813
|
"aria-label": (0, a.unref)(l)("pptx.rehearse.summaryTitle")
|
|
26793
26814
|
}, [
|
|
26794
|
-
(0, a.createElementVNode)("header",
|
|
26795
|
-
(0, a.createElementVNode)("div",
|
|
26815
|
+
(0, a.createElementVNode)("header", vY, [(0, a.createElementVNode)("h2", xY, (0, a.toDisplayString)((0, a.unref)(l)("pptx.rehearse.summaryTitle")), 1), (0, a.createElementVNode)("p", gY, [(0, a.createTextVNode)((0, a.toDisplayString)((0, a.unref)(l)("pptx.rehearse.totalPresentationTime")) + ": ", 1), (0, a.createElementVNode)("span", hY, (0, a.toDisplayString)((0, a.unref)(n.formatRehearseMs)(s.value)), 1)])]),
|
|
26816
|
+
(0, a.createElementVNode)("div", yY, [((0, a.openBlock)(!0), (0, a.createElementBlock)(a.Fragment, null, (0, a.renderList)(i.value, (e) => ((0, a.openBlock)(), (0, a.createElementBlock)("div", {
|
|
26796
26817
|
key: e.index,
|
|
26797
26818
|
class: "flex items-center justify-between border-b border-border/60 py-2 text-sm"
|
|
26798
|
-
}, [(0, a.createElementVNode)("span", null, (0, a.toDisplayString)((0, a.unref)(l)("pptx.rehearse.slide")) + " " + (0, a.toDisplayString)(e.index + 1), 1), (0, a.createElementVNode)("span",
|
|
26799
|
-
(0, a.createElementVNode)("footer",
|
|
26819
|
+
}, [(0, a.createElementVNode)("span", null, (0, a.toDisplayString)((0, a.unref)(l)("pptx.rehearse.slide")) + " " + (0, a.toDisplayString)(e.index + 1), 1), (0, a.createElementVNode)("span", bY, (0, a.toDisplayString)((0, a.unref)(n.formatRehearseMs)(e.ms)), 1)]))), 128))]),
|
|
26820
|
+
(0, a.createElementVNode)("footer", kY, [(0, a.createElementVNode)("button", {
|
|
26800
26821
|
type: "button",
|
|
26801
26822
|
class: "rounded px-4 py-2 text-sm hover:bg-muted",
|
|
26802
26823
|
onClick: t[0] || (t[0] = (e) => r("discard"))
|
|
@@ -26805,13 +26826,13 @@ var aG = { class: "flex items-start gap-3" }, rG = { class: "flex h-10 w-10 item
|
|
|
26805
26826
|
class: "rounded bg-primary px-4 py-2 text-sm text-primary-foreground hover:opacity-90",
|
|
26806
26827
|
onClick: t[1] || (t[1] = (e) => r("save"))
|
|
26807
26828
|
}, (0, a.toDisplayString)((0, a.unref)(l)("pptx.rehearse.saveTimings")), 1)])
|
|
26808
|
-
], 8,
|
|
26829
|
+
], 8, fY)]));
|
|
26809
26830
|
}
|
|
26810
|
-
}),
|
|
26831
|
+
}), SY = {
|
|
26811
26832
|
class: "pptx-vue-remote-selections",
|
|
26812
26833
|
"aria-hidden": "true",
|
|
26813
26834
|
"data-export-ignore": "true"
|
|
26814
|
-
},
|
|
26835
|
+
}, CY = ["data-element-id", "data-pptx-remote-selection"], NY = Km((0, a.defineComponent)({
|
|
26815
26836
|
__name: "RemoteSelectionOverlay",
|
|
26816
26837
|
props: {
|
|
26817
26838
|
presences: {},
|
|
@@ -26849,7 +26870,7 @@ var aG = { class: "flex items-start gap-3" }, rG = { class: "flex h-10 w-10 item
|
|
|
26849
26870
|
borderColor: e.color
|
|
26850
26871
|
};
|
|
26851
26872
|
}
|
|
26852
|
-
return (e, t) => ((0, a.openBlock)(), (0, a.createElementBlock)("div",
|
|
26873
|
+
return (e, t) => ((0, a.openBlock)(), (0, a.createElementBlock)("div", SY, [((0, a.openBlock)(!0), (0, a.createElementBlock)(a.Fragment, null, (0, a.renderList)(o.value, (e) => {
|
|
26853
26874
|
return (0, a.openBlock)(), (0, a.createElementBlock)("div", {
|
|
26854
26875
|
key: e.key,
|
|
26855
26876
|
class: "pptx-vue-remote-selection",
|
|
@@ -26859,23 +26880,23 @@ var aG = { class: "flex items-start gap-3" }, rG = { class: "flex h-10 w-10 item
|
|
|
26859
26880
|
}, [(0, a.createElementVNode)("span", {
|
|
26860
26881
|
class: "pptx-vue-remote-selection-label",
|
|
26861
26882
|
style: (0, a.normalizeStyle)({ backgroundColor: e.color })
|
|
26862
|
-
}, (0, a.toDisplayString)((t = e.userName, t.length > 20 ? `${t.slice(0, 19)}…` : t)), 5)], 12,
|
|
26883
|
+
}, (0, a.toDisplayString)((t = e.userName, t.length > 20 ? `${t.slice(0, 19)}…` : t)), 5)], 12, CY);
|
|
26863
26884
|
var t;
|
|
26864
26885
|
}), 128))]));
|
|
26865
26886
|
}
|
|
26866
|
-
}), [["__scopeId", "data-v-431d9dde"]]),
|
|
26887
|
+
}), [["__scopeId", "data-v-431d9dde"]]), VY = { class: "flex flex-col items-center gap-0.5" }, DY = { class: "flex items-center gap-1" }, _Y = ["disabled", "title"], TY = {
|
|
26867
26888
|
key: 0,
|
|
26868
26889
|
class: "absolute left-0 top-full z-50 flex flex-col w-52 pt-1"
|
|
26869
|
-
},
|
|
26890
|
+
}, IY = ["onClick"], zY = ["disabled", "title"], PY = {
|
|
26870
26891
|
key: 0,
|
|
26871
26892
|
class: "absolute left-0 top-full z-50 flex flex-col w-44 pt-1"
|
|
26872
|
-
},
|
|
26893
|
+
}, FY = ["disabled", "title"], AY = {
|
|
26873
26894
|
key: 0,
|
|
26874
26895
|
class: "absolute left-0 top-full z-50 pt-1"
|
|
26875
|
-
},
|
|
26896
|
+
}, MY = { class: "rounded-lg border border-border bg-popover backdrop-blur-lg shadow-2xl p-2 grid grid-cols-6 gap-1" }, $Y = ["title", "onClick"], OY = ["disabled", "title"], LY = {
|
|
26876
26897
|
key: 0,
|
|
26877
26898
|
class: "absolute left-0 top-full z-50 pt-1"
|
|
26878
|
-
},
|
|
26899
|
+
}, RY = { class: "rounded-lg border border-border bg-popover backdrop-blur-lg shadow-2xl p-2 grid grid-cols-6 gap-1" }, UY = ["title", "onClick"], jY = ["title"], KY = { class: "text-[9px] text-muted-foreground leading-none" }, ZY = (0, a.defineComponent)({
|
|
26879
26900
|
__name: "DrawingGroup",
|
|
26880
26901
|
props: {
|
|
26881
26902
|
canEdit: { type: Boolean },
|
|
@@ -26954,7 +26975,7 @@ var aG = { class: "flex items-start gap-3" }, rG = { class: "flex h-10 w-10 item
|
|
|
26954
26975
|
function u(e, n) {
|
|
26955
26976
|
n ? t.onMoveLayerToEdge(e) : t.onMoveLayer(e), c.close();
|
|
26956
26977
|
}
|
|
26957
|
-
return (e, n) => ((0, a.openBlock)(), (0, a.createElementBlock)(a.Fragment, null, [(0, a.createElementVNode)("div",
|
|
26978
|
+
return (e, n) => ((0, a.openBlock)(), (0, a.createElementBlock)(a.Fragment, null, [(0, a.createElementVNode)("div", VY, [(0, a.createElementVNode)("div", DY, [
|
|
26958
26979
|
(0, a.createElementVNode)("div", {
|
|
26959
26980
|
ref: (0, a.unref)(s).root,
|
|
26960
26981
|
class: "relative"
|
|
@@ -26964,14 +26985,14 @@ var aG = { class: "flex items-start gap-3" }, rG = { class: "flex h-10 w-10 item
|
|
|
26964
26985
|
class: (0, a.normalizeClass)((0, a.unref)(gR)),
|
|
26965
26986
|
title: (0, a.unref)(o)("pptx.drawing.shapes"),
|
|
26966
26987
|
onClick: n[0] || (n[0] = (e) => (0, a.unref)(s).toggle())
|
|
26967
|
-
}, [(0, a.createVNode)((0, a.unref)(l.Shapes), { class: (0, a.normalizeClass)((0, a.unref)(kR)) }, null, 8, ["class"]), (0, a.createTextVNode)(" " + (0, a.toDisplayString)((0, a.unref)(o)("pptx.drawing.shapes")), 1)], 10,
|
|
26988
|
+
}, [(0, a.createVNode)((0, a.unref)(l.Shapes), { class: (0, a.normalizeClass)((0, a.unref)(kR)) }, null, 8, ["class"]), (0, a.createTextVNode)(" " + (0, a.toDisplayString)((0, a.unref)(o)("pptx.drawing.shapes")), 1)], 10, _Y), (0, a.unref)(s).open.value ? ((0, a.openBlock)(), (0, a.createElementBlock)("div", TY, [(0, a.createElementVNode)("div", { class: (0, a.normalizeClass)((0, a.unref)(yR)) }, [((0, a.openBlock)(), (0, a.createElementBlock)(a.Fragment, null, (0, a.renderList)(r, (e) => (0, a.createElementVNode)("button", {
|
|
26968
26989
|
key: e.type,
|
|
26969
26990
|
type: "button",
|
|
26970
26991
|
class: (0, a.normalizeClass)((0, a.unref)(FM)((0, a.unref)(bR), t.newShapeType === e.type && "bg-accent")),
|
|
26971
26992
|
onClick: (n) => function(e) {
|
|
26972
26993
|
t.onSetNewShapeType(e.type), t.onAddShape(), s.close();
|
|
26973
26994
|
}(e)
|
|
26974
|
-
}, (0, a.toDisplayString)((0, a.unref)(o)(e.labelKey)), 11,
|
|
26995
|
+
}, (0, a.toDisplayString)((0, a.unref)(o)(e.labelKey)), 11, IY)), 64))], 2)])) : (0, a.createCommentVNode)("", !0)], 512),
|
|
26975
26996
|
(0, a.createElementVNode)("div", {
|
|
26976
26997
|
ref: (0, a.unref)(c).root,
|
|
26977
26998
|
class: "relative"
|
|
@@ -26981,7 +27002,7 @@ var aG = { class: "flex items-start gap-3" }, rG = { class: "flex h-10 w-10 item
|
|
|
26981
27002
|
class: (0, a.normalizeClass)((0, a.unref)(gR)),
|
|
26982
27003
|
title: (0, a.unref)(o)("pptx.ribbon.arrange"),
|
|
26983
27004
|
onClick: n[1] || (n[1] = (e) => (0, a.unref)(c).toggle())
|
|
26984
|
-
}, [(0, a.createVNode)((0, a.unref)(l.Layers), { class: (0, a.normalizeClass)((0, a.unref)(kR)) }, null, 8, ["class"]), (0, a.createTextVNode)(" " + (0, a.toDisplayString)((0, a.unref)(o)("pptx.ribbon.arrange")), 1)], 10,
|
|
27005
|
+
}, [(0, a.createVNode)((0, a.unref)(l.Layers), { class: (0, a.normalizeClass)((0, a.unref)(kR)) }, null, 8, ["class"]), (0, a.createTextVNode)(" " + (0, a.toDisplayString)((0, a.unref)(o)("pptx.ribbon.arrange")), 1)], 10, zY), (0, a.unref)(c).open.value ? ((0, a.openBlock)(), (0, a.createElementBlock)("div", PY, [(0, a.createElementVNode)("div", { class: (0, a.normalizeClass)((0, a.unref)(yR)) }, [
|
|
26985
27006
|
(0, a.createElementVNode)("button", {
|
|
26986
27007
|
type: "button",
|
|
26987
27008
|
class: (0, a.normalizeClass)((0, a.unref)(bR)),
|
|
@@ -27012,7 +27033,7 @@ var aG = { class: "flex items-start gap-3" }, rG = { class: "flex h-10 w-10 item
|
|
|
27012
27033
|
class: (0, a.normalizeClass)((0, a.unref)(gR)),
|
|
27013
27034
|
title: (0, a.unref)(o)("pptx.drawing.shapeFill"),
|
|
27014
27035
|
onClick: n[6] || (n[6] = (e) => (0, a.unref)(d).toggle())
|
|
27015
|
-
}, [(0, a.createVNode)((0, a.unref)(l.PaintBucket), { class: (0, a.normalizeClass)((0, a.unref)(kR)) }, null, 8, ["class"])], 10,
|
|
27036
|
+
}, [(0, a.createVNode)((0, a.unref)(l.PaintBucket), { class: (0, a.normalizeClass)((0, a.unref)(kR)) }, null, 8, ["class"])], 10, FY), (0, a.unref)(d).open.value ? ((0, a.openBlock)(), (0, a.createElementBlock)("div", AY, [(0, a.createElementVNode)("div", MY, [((0, a.openBlock)(), (0, a.createElementBlock)(a.Fragment, null, (0, a.renderList)(i, (e) => (0, a.createElementVNode)("button", {
|
|
27016
27037
|
key: e,
|
|
27017
27038
|
type: "button",
|
|
27018
27039
|
class: "w-5 h-5 rounded border border-border/60 hover:scale-110 transition-transform",
|
|
@@ -27024,7 +27045,7 @@ var aG = { class: "flex items-start gap-3" }, rG = { class: "flex h-10 w-10 item
|
|
|
27024
27045
|
return;
|
|
27025
27046
|
var o;
|
|
27026
27047
|
}
|
|
27027
|
-
}, null, 12,
|
|
27048
|
+
}, null, 12, $Y)), 64))])])) : (0, a.createCommentVNode)("", !0)], 512),
|
|
27028
27049
|
(0, a.createElementVNode)("div", {
|
|
27029
27050
|
ref: (0, a.unref)(p).root,
|
|
27030
27051
|
class: "relative"
|
|
@@ -27034,7 +27055,7 @@ var aG = { class: "flex items-start gap-3" }, rG = { class: "flex h-10 w-10 item
|
|
|
27034
27055
|
class: (0, a.normalizeClass)((0, a.unref)(gR)),
|
|
27035
27056
|
title: (0, a.unref)(o)("pptx.drawing.shapeOutline"),
|
|
27036
27057
|
onClick: n[7] || (n[7] = (e) => (0, a.unref)(p).toggle())
|
|
27037
|
-
}, [(0, a.createVNode)((0, a.unref)(l.PenLine), { class: (0, a.normalizeClass)((0, a.unref)(kR)) }, null, 8, ["class"])], 10,
|
|
27058
|
+
}, [(0, a.createVNode)((0, a.unref)(l.PenLine), { class: (0, a.normalizeClass)((0, a.unref)(kR)) }, null, 8, ["class"])], 10, OY), (0, a.unref)(p).open.value ? ((0, a.openBlock)(), (0, a.createElementBlock)("div", LY, [(0, a.createElementVNode)("div", RY, [((0, a.openBlock)(), (0, a.createElementBlock)(a.Fragment, null, (0, a.renderList)(i, (e) => (0, a.createElementVNode)("button", {
|
|
27038
27059
|
key: e,
|
|
27039
27060
|
type: "button",
|
|
27040
27061
|
class: "w-5 h-5 rounded border border-border/60 hover:scale-110 transition-transform",
|
|
@@ -27046,19 +27067,19 @@ var aG = { class: "flex items-start gap-3" }, rG = { class: "flex h-10 w-10 item
|
|
|
27046
27067
|
return;
|
|
27047
27068
|
var o;
|
|
27048
27069
|
}
|
|
27049
|
-
}, null, 12,
|
|
27070
|
+
}, null, 12, UY)), 64))])])) : (0, a.createCommentVNode)("", !0)], 512),
|
|
27050
27071
|
(0, a.createElementVNode)("button", {
|
|
27051
27072
|
type: "button",
|
|
27052
27073
|
disabled: "",
|
|
27053
27074
|
class: (0, a.normalizeClass)((0, a.unref)(FM)((0, a.unref)(gR), "opacity-50 cursor-not-allowed")),
|
|
27054
27075
|
title: (0, a.unref)(o)("pptx.drawing.shapeEffectsUnavailable")
|
|
27055
|
-
}, [(0, a.createVNode)((0, a.unref)(l.Sparkles), { class: (0, a.normalizeClass)((0, a.unref)(kR)) }, null, 8, ["class"])], 10,
|
|
27056
|
-
]), (0, a.createElementVNode)("span",
|
|
27076
|
+
}, [(0, a.createVNode)((0, a.unref)(l.Sparkles), { class: (0, a.normalizeClass)((0, a.unref)(kR)) }, null, 8, ["class"])], 10, jY)
|
|
27077
|
+
]), (0, a.createElementVNode)("span", KY, (0, a.toDisplayString)((0, a.unref)(o)("pptx.ribbon.groupDrawing")), 1)]), (0, a.createElementVNode)("div", { class: (0, a.normalizeClass)((0, a.unref)(hR)) }, null, 2)], 64));
|
|
27057
27078
|
}
|
|
27058
|
-
}),
|
|
27079
|
+
}), HY = { class: "flex flex-col items-center gap-0.5" }, WY = { class: "flex items-center gap-1" }, GY = ["title"], qY = ["title"], XY = ["title"], YY = {
|
|
27059
27080
|
key: 0,
|
|
27060
27081
|
class: "absolute right-0 top-full z-50 flex flex-col w-32 pt-1"
|
|
27061
|
-
},
|
|
27082
|
+
}, JY = { class: "text-[9px] text-muted-foreground leading-none" }, QY = (0, a.defineComponent)({
|
|
27062
27083
|
__name: "EditingSection",
|
|
27063
27084
|
props: {
|
|
27064
27085
|
onToggleFindReplace: { type: Function },
|
|
@@ -27069,21 +27090,21 @@ var aG = { class: "flex items-start gap-3" }, rG = { class: "flex h-10 w-10 item
|
|
|
27069
27090
|
function i() {
|
|
27070
27091
|
t.onSelectAll?.(), r.close();
|
|
27071
27092
|
}
|
|
27072
|
-
return (e, n) => ((0, a.openBlock)(), (0, a.createElementBlock)(a.Fragment, null, [(0, a.createElementVNode)("div", { class: (0, a.normalizeClass)((0, a.unref)(hR)) }, null, 2), (0, a.createElementVNode)("div",
|
|
27093
|
+
return (e, n) => ((0, a.openBlock)(), (0, a.createElementBlock)(a.Fragment, null, [(0, a.createElementVNode)("div", { class: (0, a.normalizeClass)((0, a.unref)(hR)) }, null, 2), (0, a.createElementVNode)("div", HY, [(0, a.createElementVNode)("div", WY, [
|
|
27073
27094
|
(0, a.createElementVNode)("button", {
|
|
27074
27095
|
type: "button",
|
|
27075
27096
|
class: (0, a.normalizeClass)((0, a.unref)(gR)),
|
|
27076
27097
|
title: (0, a.unref)(o)("pptx.editing.find"),
|
|
27077
27098
|
onMousedown: n[0] || (n[0] = (0, a.withModifiers)(() => {}, ["prevent"])),
|
|
27078
27099
|
onClick: n[1] || (n[1] = (e) => t.onToggleFindReplace())
|
|
27079
|
-
}, [(0, a.createVNode)((0, a.unref)(l.Search), { class: (0, a.normalizeClass)((0, a.unref)(kR)) }, null, 8, ["class"])], 42,
|
|
27100
|
+
}, [(0, a.createVNode)((0, a.unref)(l.Search), { class: (0, a.normalizeClass)((0, a.unref)(kR)) }, null, 8, ["class"])], 42, GY),
|
|
27080
27101
|
(0, a.createElementVNode)("button", {
|
|
27081
27102
|
type: "button",
|
|
27082
27103
|
class: (0, a.normalizeClass)((0, a.unref)(gR)),
|
|
27083
27104
|
title: (0, a.unref)(o)("pptx.ribbon.replace"),
|
|
27084
27105
|
onMousedown: n[2] || (n[2] = (0, a.withModifiers)(() => {}, ["prevent"])),
|
|
27085
27106
|
onClick: n[3] || (n[3] = (e) => t.onToggleFindReplace())
|
|
27086
|
-
}, [(0, a.createVNode)((0, a.unref)(l.ArrowRightLeft), { class: (0, a.normalizeClass)((0, a.unref)(kR)) }, null, 8, ["class"])], 42,
|
|
27107
|
+
}, [(0, a.createVNode)((0, a.unref)(l.ArrowRightLeft), { class: (0, a.normalizeClass)((0, a.unref)(kR)) }, null, 8, ["class"])], 42, qY),
|
|
27087
27108
|
(0, a.createElementVNode)("div", {
|
|
27088
27109
|
ref: (0, a.unref)(r).root,
|
|
27089
27110
|
class: "relative"
|
|
@@ -27093,14 +27114,14 @@ var aG = { class: "flex items-start gap-3" }, rG = { class: "flex h-10 w-10 item
|
|
|
27093
27114
|
title: (0, a.unref)(o)("pptx.ribbon.tool.select"),
|
|
27094
27115
|
onMousedown: n[4] || (n[4] = (0, a.withModifiers)(() => {}, ["prevent"])),
|
|
27095
27116
|
onClick: n[5] || (n[5] = (e) => (0, a.unref)(r).toggle())
|
|
27096
|
-
}, [(0, a.createTextVNode)((0, a.toDisplayString)((0, a.unref)(o)("pptx.ribbon.tool.select")) + " ", 1), (0, a.createVNode)((0, a.unref)(l.ChevronDown), { class: "w-3 h-3" })], 42,
|
|
27117
|
+
}, [(0, a.createTextVNode)((0, a.toDisplayString)((0, a.unref)(o)("pptx.ribbon.tool.select")) + " ", 1), (0, a.createVNode)((0, a.unref)(l.ChevronDown), { class: "w-3 h-3" })], 42, XY), (0, a.unref)(r).open.value ? ((0, a.openBlock)(), (0, a.createElementBlock)("div", YY, [(0, a.createElementVNode)("div", { class: (0, a.normalizeClass)((0, a.unref)(yR)) }, [(0, a.createElementVNode)("button", {
|
|
27097
27118
|
type: "button",
|
|
27098
27119
|
class: (0, a.normalizeClass)((0, a.unref)(bR)),
|
|
27099
27120
|
onClick: i
|
|
27100
27121
|
}, (0, a.toDisplayString)((0, a.unref)(o)("pptx.editing.selectAll")), 3)], 2)])) : (0, a.createCommentVNode)("", !0)], 512)
|
|
27101
|
-
]), (0, a.createElementVNode)("span",
|
|
27122
|
+
]), (0, a.createElementVNode)("span", JY, (0, a.toDisplayString)((0, a.unref)(o)("pptx.shortcuts.group.editing")), 1)])], 64));
|
|
27102
27123
|
}
|
|
27103
|
-
}),
|
|
27124
|
+
}), eJ = ["title"], tJ = ["title"], nJ = (0, a.defineComponent)({
|
|
27104
27125
|
__name: "HelpSection",
|
|
27105
27126
|
props: {
|
|
27106
27127
|
onToggleShortcuts: { type: Function },
|
|
@@ -27113,14 +27134,14 @@ var aG = { class: "flex items-start gap-3" }, rG = { class: "flex h-10 w-10 item
|
|
|
27113
27134
|
class: (0, a.normalizeClass)((0, a.unref)(gR)),
|
|
27114
27135
|
title: (0, a.unref)(o)("pptx.settings.keyboardShortcuts"),
|
|
27115
27136
|
onClick: n[0] || (n[0] = (e) => t.onToggleShortcuts())
|
|
27116
|
-
}, (0, a.toDisplayString)((0, a.unref)(o)("pptx.settings.keyboardShortcuts")), 11,
|
|
27137
|
+
}, (0, a.toDisplayString)((0, a.unref)(o)("pptx.settings.keyboardShortcuts")), 11, eJ), (0, a.createElementVNode)("button", {
|
|
27117
27138
|
type: "button",
|
|
27118
27139
|
class: (0, a.normalizeClass)((0, a.unref)(gR)),
|
|
27119
27140
|
title: (0, a.unref)(o)("pptx.ribbon.accessibilityCheck"),
|
|
27120
27141
|
onClick: n[1] || (n[1] = (e) => t.onRunAccessibilityCheck())
|
|
27121
|
-
}, (0, a.toDisplayString)((0, a.unref)(o)("pptx.ribbon.accessibility")), 11,
|
|
27142
|
+
}, (0, a.toDisplayString)((0, a.unref)(o)("pptx.ribbon.accessibility")), 11, tJ)], 64));
|
|
27122
27143
|
}
|
|
27123
|
-
}),
|
|
27144
|
+
}), oJ = (0, a.defineComponent)({
|
|
27124
27145
|
__name: "RecordSection",
|
|
27125
27146
|
props: {
|
|
27126
27147
|
onRecordFromBeginning: { type: Function },
|
|
@@ -27167,7 +27188,7 @@ var aG = { class: "flex items-start gap-3" }, rG = { class: "flex h-10 w-10 item
|
|
|
27167
27188
|
}, [(0, a.createVNode)((0, a.unref)(l.CircleHelp), { class: (0, a.normalizeClass)((0, a.unref)(kR)) }, null, 8, ["class"]), n[5] || (n[5] = (0, a.createTextVNode)(" Learn More ", -1))], 2)
|
|
27168
27189
|
], 64));
|
|
27169
27190
|
}
|
|
27170
|
-
}),
|
|
27191
|
+
}), aJ = { class: "flex items-center gap-1 pr-1" }, rJ = ["title", "aria-label"], lJ = ["title", "aria-label"], iJ = (0, a.defineComponent)({
|
|
27171
27192
|
__name: "TabRowActions",
|
|
27172
27193
|
props: {
|
|
27173
27194
|
onEnterRehearsalMode: { type: Function },
|
|
@@ -27179,7 +27200,7 @@ var aG = { class: "flex items-start gap-3" }, rG = { class: "flex h-10 w-10 item
|
|
|
27179
27200
|
},
|
|
27180
27201
|
setup(e) {
|
|
27181
27202
|
const t = e, { t: o } = n.useI18n(), { isHidden: r } = n.useToolbarVisibility(() => t.hiddenActions);
|
|
27182
|
-
return (e, i) => ((0, a.openBlock)(), (0, a.createElementBlock)("div",
|
|
27203
|
+
return (e, i) => ((0, a.openBlock)(), (0, a.createElementBlock)("div", aJ, [t.onEnterRehearsalMode && !(0, a.unref)(r)("record") ? ((0, a.openBlock)(), (0, a.createElementBlock)("button", {
|
|
27183
27204
|
key: 0,
|
|
27184
27205
|
type: "button",
|
|
27185
27206
|
class: (0, a.normalizeClass)((0, a.unref)(n.TAB_ROW_ACTION_CLASSES).record),
|
|
@@ -27189,23 +27210,23 @@ var aG = { class: "flex items-start gap-3" }, rG = { class: "flex h-10 w-10 item
|
|
|
27189
27210
|
}, [(0, a.createElementVNode)("span", {
|
|
27190
27211
|
class: (0, a.normalizeClass)((0, a.unref)(n.TAB_ROW_ACTION_CLASSES).recordDot),
|
|
27191
27212
|
"aria-hidden": "true"
|
|
27192
|
-
}, null, 2), (0, a.createElementVNode)("span", null, (0, a.toDisplayString)((0, a.unref)(o)("pptx.titleBar.record")), 1)], 10,
|
|
27213
|
+
}, null, 2), (0, a.createElementVNode)("span", null, (0, a.toDisplayString)((0, a.unref)(o)("pptx.titleBar.record")), 1)], 10, rJ)) : (0, a.createCommentVNode)("", !0), (0, a.unref)(r)("share") ? (0, a.createCommentVNode)("", !0) : ((0, a.openBlock)(), (0, a.createElementBlock)("button", {
|
|
27193
27214
|
key: 1,
|
|
27194
27215
|
type: "button",
|
|
27195
27216
|
class: (0, a.normalizeClass)((0, a.unref)(FM)("relative inline-flex items-center gap-1 px-2.5 py-1 rounded-sm text-[11px] font-medium transition-colors whitespace-nowrap", t.isCollaborating ? "bg-green-600 hover:bg-green-500 text-white" : "bg-primary hover:bg-primary/90 text-white")),
|
|
27196
27217
|
title: t.isCollaborating ? (0, a.unref)(o)("pptx.toolbar.sharingUsers", { count: t.collaboratorCount ?? 0 }) : (0, a.unref)(o)("pptx.toolbar.share"),
|
|
27197
27218
|
"aria-label": (0, a.unref)(o)("pptx.toolbar.share"),
|
|
27198
27219
|
onClick: i[1] || (i[1] = (e) => (t.onOpenShareDialog ?? t.onPackageForSharing)?.())
|
|
27199
|
-
}, [(0, a.createVNode)((0, a.unref)(l.Share2), { class: "w-3 h-3" }), (0, a.createElementVNode)("span", null, (0, a.toDisplayString)(t.isCollaborating ? (0, a.unref)(o)("pptx.toolbar.sharingCount", { count: t.collaboratorCount ?? 0 }) : (0, a.unref)(o)("pptx.toolbar.share")), 1)], 10,
|
|
27220
|
+
}, [(0, a.createVNode)((0, a.unref)(l.Share2), { class: "w-3 h-3" }), (0, a.createElementVNode)("span", null, (0, a.toDisplayString)(t.isCollaborating ? (0, a.unref)(o)("pptx.toolbar.sharingCount", { count: t.collaboratorCount ?? 0 }) : (0, a.unref)(o)("pptx.toolbar.share")), 1)], 10, lJ))]));
|
|
27200
27221
|
}
|
|
27201
|
-
}),
|
|
27222
|
+
}), sJ = {
|
|
27202
27223
|
role: "tablist",
|
|
27203
27224
|
class: "flex items-center border-b border-border/60 px-1 max-md:overflow-x-auto max-md:scrollbar-none"
|
|
27204
|
-
},
|
|
27225
|
+
}, cJ = ["aria-selected", "onClick"], dJ = [
|
|
27205
27226
|
"aria-pressed",
|
|
27206
27227
|
"aria-label",
|
|
27207
27228
|
"title"
|
|
27208
|
-
],
|
|
27229
|
+
], pJ = (0, a.defineComponent)({
|
|
27209
27230
|
__name: "RibbonTabBar",
|
|
27210
27231
|
props: {
|
|
27211
27232
|
toolbarSection: {},
|
|
@@ -27224,7 +27245,7 @@ var aG = { class: "flex items-start gap-3" }, rG = { class: "flex h-10 w-10 item
|
|
|
27224
27245
|
},
|
|
27225
27246
|
setup(e) {
|
|
27226
27247
|
const t = e, { t: o } = n.useI18n();
|
|
27227
|
-
return (e, n) => ((0, a.openBlock)(), (0, a.createElementBlock)("div",
|
|
27248
|
+
return (e, n) => ((0, a.openBlock)(), (0, a.createElementBlock)("div", sJ, [
|
|
27228
27249
|
((0, a.openBlock)(!0), (0, a.createElementBlock)(a.Fragment, null, (0, a.renderList)(t.visibleTabs, (e) => ((0, a.openBlock)(), (0, a.createElementBlock)("button", {
|
|
27229
27250
|
key: e.id,
|
|
27230
27251
|
type: "button",
|
|
@@ -27232,9 +27253,9 @@ var aG = { class: "flex items-start gap-3" }, rG = { class: "flex h-10 w-10 item
|
|
|
27232
27253
|
"aria-selected": t.toolbarSection === e.id,
|
|
27233
27254
|
class: (0, a.normalizeClass)((0, a.unref)(FM)("relative px-3.5 py-2 text-[12px] font-medium whitespace-nowrap transition-colors max-md:min-h-[36px] max-md:px-3", t.toolbarSection === e.id ? "file" === e.id ? "text-white bg-primary/80 rounded-sm" : "text-foreground after:absolute after:-bottom-px after:left-0 after:right-0 after:h-[2.5px] after:bg-primary" : "file" === e.id ? "text-primary hover:bg-primary/15 rounded-sm" : "text-muted-foreground hover:text-foreground hover:bg-accent/30")),
|
|
27234
27255
|
onClick: (n) => t.onSetToolbarSection(e.id)
|
|
27235
|
-
}, (0, a.toDisplayString)((0, a.unref)(o)(e.labelKey)), 11,
|
|
27256
|
+
}, (0, a.toDisplayString)((0, a.unref)(o)(e.labelKey)), 11, cJ))), 128)),
|
|
27236
27257
|
n[1] || (n[1] = (0, a.createElementVNode)("div", { class: "flex-1" }, null, -1)),
|
|
27237
|
-
(0, a.createVNode)(
|
|
27258
|
+
(0, a.createVNode)(iJ, {
|
|
27238
27259
|
"on-enter-rehearsal-mode": t.canEdit ? t.onEnterRehearsalMode ?? (() => t.onSetMode("present")) : void 0,
|
|
27239
27260
|
"on-open-share-dialog": t.onOpenShareDialog,
|
|
27240
27261
|
"on-package-for-sharing": t.onPackageForSharing,
|
|
@@ -27259,14 +27280,14 @@ var aG = { class: "flex items-start gap-3" }, rG = { class: "flex h-10 w-10 item
|
|
|
27259
27280
|
}, [((0, a.openBlock)(), (0, a.createBlock)((0, a.resolveDynamicComponent)(t.isCompactToolbarOpen ? (0, a.unref)(l.ChevronUp) : (0, a.unref)(l.ChevronDown)), {
|
|
27260
27281
|
class: "h-3.5 w-3.5",
|
|
27261
27282
|
"aria-hidden": "true"
|
|
27262
|
-
}))], 8,
|
|
27283
|
+
}))], 8, dJ)
|
|
27263
27284
|
]));
|
|
27264
27285
|
}
|
|
27265
|
-
}),
|
|
27286
|
+
}), uJ = [
|
|
27266
27287
|
"value",
|
|
27267
27288
|
"title",
|
|
27268
27289
|
"aria-label"
|
|
27269
|
-
],
|
|
27290
|
+
], mJ = { value: "" }, fJ = ["value"], vJ = ["title"], xJ = ["title"], gJ = ["title"], hJ = ["title"], yJ = ["title"], bJ = (0, a.defineComponent)({
|
|
27270
27291
|
__name: "CustomShowsControls",
|
|
27271
27292
|
props: {
|
|
27272
27293
|
customShows: {},
|
|
@@ -27293,43 +27314,43 @@ var aG = { class: "flex items-start gap-3" }, rG = { class: "flex h-10 w-10 item
|
|
|
27293
27314
|
title: (0, a.unref)(o)("pptx.customShows.customShowTooltip"),
|
|
27294
27315
|
"aria-label": (0, a.unref)(o)("pptx.customShows.selectCustomShow"),
|
|
27295
27316
|
onChange: r
|
|
27296
|
-
}, [(0, a.createElementVNode)("option",
|
|
27317
|
+
}, [(0, a.createElementVNode)("option", mJ, (0, a.toDisplayString)((0, a.unref)(o)("pptx.customShows.allSlides")), 1), ((0, a.openBlock)(!0), (0, a.createElementBlock)(a.Fragment, null, (0, a.renderList)(t.customShows, (e) => ((0, a.openBlock)(), (0, a.createElementBlock)("option", {
|
|
27297
27318
|
key: e.id,
|
|
27298
27319
|
value: e.id
|
|
27299
|
-
}, (0, a.toDisplayString)(e.name), 9,
|
|
27320
|
+
}, (0, a.toDisplayString)(e.name), 9, fJ))), 128))], 40, uJ),
|
|
27300
27321
|
t.canEdit ? ((0, a.openBlock)(), (0, a.createElementBlock)(a.Fragment, { key: 0 }, [(0, a.createElementVNode)("button", {
|
|
27301
27322
|
type: "button",
|
|
27302
27323
|
class: "px-2 py-1 rounded bg-muted hover:bg-accent text-[11px] transition-colors",
|
|
27303
27324
|
title: (0, a.unref)(o)("pptx.customShows.createTooltip"),
|
|
27304
27325
|
onClick: n[0] || (n[0] = (e) => t.onCreateCustomShow())
|
|
27305
|
-
}, (0, a.toDisplayString)((0, a.unref)(o)("pptx.customShows.addShow")), 9,
|
|
27326
|
+
}, (0, a.toDisplayString)((0, a.unref)(o)("pptx.customShows.addShow")), 9, vJ), t.activeCustomShowId ? ((0, a.openBlock)(), (0, a.createElementBlock)(a.Fragment, { key: 0 }, [
|
|
27306
27327
|
(0, a.createElementVNode)("button", {
|
|
27307
27328
|
type: "button",
|
|
27308
27329
|
class: "px-2 py-1 rounded bg-muted hover:bg-accent text-[11px] transition-colors",
|
|
27309
27330
|
title: (0, a.unref)(o)("pptx.customShows.renameTooltip"),
|
|
27310
27331
|
onClick: n[1] || (n[1] = (e) => t.onRenameActiveCustomShow())
|
|
27311
|
-
}, (0, a.toDisplayString)((0, a.unref)(o)("pptx.sections.rename")), 9,
|
|
27332
|
+
}, (0, a.toDisplayString)((0, a.unref)(o)("pptx.sections.rename")), 9, xJ),
|
|
27312
27333
|
(0, a.createElementVNode)("button", {
|
|
27313
27334
|
type: "button",
|
|
27314
27335
|
class: "px-2 py-1 rounded bg-red-700/80 hover:bg-red-600 text-[11px] transition-colors",
|
|
27315
27336
|
title: (0, a.unref)(o)("pptx.customShows.deleteTooltip"),
|
|
27316
27337
|
onClick: n[2] || (n[2] = (e) => t.onDeleteActiveCustomShow())
|
|
27317
|
-
}, (0, a.toDisplayString)((0, a.unref)(o)("pptx.sections.delete")), 9,
|
|
27338
|
+
}, (0, a.toDisplayString)((0, a.unref)(o)("pptx.sections.delete")), 9, gJ),
|
|
27318
27339
|
(0, a.createElementVNode)("button", {
|
|
27319
27340
|
type: "button",
|
|
27320
27341
|
class: (0, a.normalizeClass)((0, a.unref)(FM)("px-2 py-1 rounded text-[11px] transition-colors", t.isCurrentSlideInActiveShow ? "bg-primary text-white" : "bg-muted hover:bg-accent")),
|
|
27321
27342
|
title: (0, a.unref)(o)("pptx.customShows.toggleSlideTooltip"),
|
|
27322
27343
|
onClick: n[3] || (n[3] = (e) => t.onToggleCurrentSlideInActiveShow())
|
|
27323
|
-
}, (0, a.toDisplayString)(t.isCurrentSlideInActiveShow ? (0, a.unref)(o)("pptx.customShows.inShow") : (0, a.unref)(o)("pptx.customShows.addSlide")), 11,
|
|
27344
|
+
}, (0, a.toDisplayString)(t.isCurrentSlideInActiveShow ? (0, a.unref)(o)("pptx.customShows.inShow") : (0, a.unref)(o)("pptx.customShows.addSlide")), 11, hJ)
|
|
27324
27345
|
], 64)) : (0, a.createCommentVNode)("", !0)], 64)) : (0, a.createCommentVNode)("", !0)
|
|
27325
27346
|
], 64)) : t.canEdit ? ((0, a.openBlock)(), (0, a.createElementBlock)(a.Fragment, { key: 1 }, [(0, a.createElementVNode)("div", { class: (0, a.normalizeClass)((0, a.unref)(hR)) }, null, 2), (0, a.createElementVNode)("button", {
|
|
27326
27347
|
type: "button",
|
|
27327
27348
|
class: "px-2 py-1 rounded bg-muted hover:bg-accent text-[11px] transition-colors",
|
|
27328
27349
|
title: (0, a.unref)(o)("pptx.customShows.createTooltip"),
|
|
27329
27350
|
onClick: n[4] || (n[4] = (e) => t.onCreateCustomShow())
|
|
27330
|
-
}, (0, a.toDisplayString)((0, a.unref)(o)("pptx.customShows.addShow")), 9,
|
|
27351
|
+
}, (0, a.toDisplayString)((0, a.unref)(o)("pptx.customShows.addShow")), 9, yJ)], 64)) : (0, a.createCommentVNode)("", !0);
|
|
27331
27352
|
}
|
|
27332
|
-
}),
|
|
27353
|
+
}), kJ = { class: "inline-flex border-l border-border" }, EJ = ["title"], wJ = ["title", "aria-label"], SJ = ["aria-label"], CJ = { class: "absolute right-0 top-full mt-1 z-50 w-52 rounded-lg border border-border bg-popover backdrop-blur-lg shadow-2xl py-1" }, BJ = { class: "flex-1 text-left" }, NJ = (0, a.defineComponent)({
|
|
27333
27354
|
__name: "PresentDropdown",
|
|
27334
27355
|
props: {
|
|
27335
27356
|
isActive: { type: Boolean },
|
|
@@ -27346,23 +27367,23 @@ var aG = { class: "flex items-start gap-3" }, rG = { class: "flex h-10 w-10 item
|
|
|
27346
27367
|
return (e, n) => ((0, a.openBlock)(), (0, a.createElementBlock)("div", {
|
|
27347
27368
|
ref: (0, a.unref)(r).root,
|
|
27348
27369
|
class: "relative"
|
|
27349
|
-
}, [(0, a.createElementVNode)("div",
|
|
27370
|
+
}, [(0, a.createElementVNode)("div", kJ, [(0, a.createElementVNode)("button", {
|
|
27350
27371
|
type: "button",
|
|
27351
27372
|
class: (0, a.normalizeClass)((0, a.unref)(FM)("px-2 py-1 transition-colors", t.isActive ? "bg-primary text-white" : "hover:bg-accent text-foreground")),
|
|
27352
27373
|
title: (0, a.unref)(o)("pptx.present.presentTooltip"),
|
|
27353
27374
|
onClick: n[0] || (n[0] = (e) => t.onPresent())
|
|
27354
|
-
}, (0, a.toDisplayString)((0, a.unref)(o)("pptx.toolbar.present")), 11,
|
|
27375
|
+
}, (0, a.toDisplayString)((0, a.unref)(o)("pptx.toolbar.present")), 11, EJ), (0, a.createElementVNode)("button", {
|
|
27355
27376
|
type: "button",
|
|
27356
27377
|
class: (0, a.normalizeClass)((0, a.unref)(FM)("px-1 py-1 transition-colors border-l border-border", (0, a.unref)(r).open.value ? "bg-primary text-white" : "hover:bg-accent text-foreground")),
|
|
27357
27378
|
title: (0, a.unref)(o)("pptx.present.optionsTooltip"),
|
|
27358
27379
|
"aria-label": (0, a.unref)(o)("pptx.present.optionsTooltip"),
|
|
27359
27380
|
onClick: n[1] || (n[1] = (e) => (0, a.unref)(r).toggle())
|
|
27360
|
-
}, [(0, a.createVNode)((0, a.unref)(l.ChevronDown), { class: "w-3 h-3" })], 10,
|
|
27381
|
+
}, [(0, a.createVNode)((0, a.unref)(l.ChevronDown), { class: "w-3 h-3" })], 10, wJ)]), (0, a.unref)(r).open.value ? ((0, a.openBlock)(), (0, a.createElementBlock)(a.Fragment, { key: 0 }, [(0, a.createElementVNode)("button", {
|
|
27361
27382
|
type: "button",
|
|
27362
27383
|
class: "fixed inset-0 z-40",
|
|
27363
27384
|
"aria-label": (0, a.unref)(o)("pptx.overflow.closeMenu"),
|
|
27364
27385
|
onClick: n[2] || (n[2] = (e) => (0, a.unref)(r).close())
|
|
27365
|
-
}, null, 8,
|
|
27386
|
+
}, null, 8, SJ), (0, a.createElementVNode)("div", CJ, [
|
|
27366
27387
|
(0, a.createElementVNode)("button", {
|
|
27367
27388
|
type: "button",
|
|
27368
27389
|
class: "flex items-center gap-2 w-full px-3 py-1.5 text-xs text-foreground hover:bg-muted transition-colors",
|
|
@@ -27412,7 +27433,7 @@ var aG = { class: "flex items-start gap-3" }, rG = { class: "flex h-10 w-10 item
|
|
|
27412
27433
|
})
|
|
27413
27434
|
}, [
|
|
27414
27435
|
(0, a.createVNode)((0, a.unref)(l.Captions), { class: "w-3.5 h-3.5 text-muted-foreground" }),
|
|
27415
|
-
(0, a.createElementVNode)("span",
|
|
27436
|
+
(0, a.createElementVNode)("span", BJ, (0, a.toDisplayString)((0, a.unref)(o)("pptx.slideShow.subtitles")), 1),
|
|
27416
27437
|
t.showSubtitles ? ((0, a.openBlock)(), (0, a.createBlock)((0, a.unref)(l.Check), {
|
|
27417
27438
|
key: 0,
|
|
27418
27439
|
class: "w-3 h-3 text-primary"
|
|
@@ -27420,10 +27441,10 @@ var aG = { class: "flex items-start gap-3" }, rG = { class: "flex h-10 w-10 item
|
|
|
27420
27441
|
])) : (0, a.createCommentVNode)("", !0)
|
|
27421
27442
|
])], 64)) : (0, a.createCommentVNode)("", !0)], 512));
|
|
27422
27443
|
}
|
|
27423
|
-
}),
|
|
27444
|
+
}), VJ = {
|
|
27424
27445
|
key: 0,
|
|
27425
27446
|
class: "inline-flex items-center gap-1.5"
|
|
27426
|
-
},
|
|
27447
|
+
}, DJ = { class: "inline-flex items-center px-2 py-0.5 rounded-sm bg-amber-600/90 text-[10px] text-amber-50" }, _J = ["title"], TJ = (0, a.defineComponent)({
|
|
27427
27448
|
__name: "ModeSwitcher",
|
|
27428
27449
|
props: {
|
|
27429
27450
|
mode: {},
|
|
@@ -27438,12 +27459,12 @@ var aG = { class: "flex items-start gap-3" }, rG = { class: "flex h-10 w-10 item
|
|
|
27438
27459
|
},
|
|
27439
27460
|
setup(e) {
|
|
27440
27461
|
const t = e, { t: o } = n.useI18n();
|
|
27441
|
-
return (e, n) => "master" === t.mode ? ((0, a.openBlock)(), (0, a.createElementBlock)("div",
|
|
27462
|
+
return (e, n) => "master" === t.mode ? ((0, a.openBlock)(), (0, a.createElementBlock)("div", VJ, [(0, a.createElementVNode)("span", DJ, (0, a.toDisplayString)((0, a.unref)(o)("pptx.mode.masterView")), 1), (0, a.createElementVNode)("button", {
|
|
27442
27463
|
type: "button",
|
|
27443
27464
|
class: "px-2 py-0.5 rounded-sm hover:bg-accent text-[10px] text-foreground transition-colors",
|
|
27444
27465
|
title: (0, a.unref)(o)("pptx.mode.closeMasterViewTooltip"),
|
|
27445
27466
|
onClick: n[0] || (n[0] = (e) => t.onCloseMasterView())
|
|
27446
|
-
}, (0, a.toDisplayString)((0, a.unref)(o)("pptx.slideSorter.close")), 9,
|
|
27467
|
+
}, (0, a.toDisplayString)((0, a.unref)(o)("pptx.slideSorter.close")), 9, _J)])) : ((0, a.openBlock)(), (0, a.createBlock)(NJ, {
|
|
27447
27468
|
key: 1,
|
|
27448
27469
|
"is-active": "present" === t.mode,
|
|
27449
27470
|
"on-present": () => t.onSetMode("present"),
|
|
@@ -27464,10 +27485,10 @@ var aG = { class: "flex items-start gap-3" }, rG = { class: "flex h-10 w-10 item
|
|
|
27464
27485
|
"show-subtitles"
|
|
27465
27486
|
]));
|
|
27466
27487
|
}
|
|
27467
|
-
}),
|
|
27488
|
+
}), IJ = { class: "relative" }, zJ = ["title", "aria-label"], PJ = ["aria-label"], FJ = { class: "absolute right-0 top-full mt-1 z-50 w-44 rounded-lg border border-border bg-popover backdrop-blur-lg shadow-2xl py-1" }, AJ = {
|
|
27468
27489
|
key: 0,
|
|
27469
27490
|
class: "my-1 border-t border-border/60"
|
|
27470
|
-
},
|
|
27491
|
+
}, MJ = ["onClick"], $J = (0, a.defineComponent)({
|
|
27471
27492
|
__name: "OverflowMenu",
|
|
27472
27493
|
props: {
|
|
27473
27494
|
fileName: {},
|
|
@@ -27621,18 +27642,18 @@ var aG = { class: "flex items-start gap-3" }, rG = { class: "flex h-10 w-10 item
|
|
|
27621
27642
|
},
|
|
27622
27643
|
setup(e) {
|
|
27623
27644
|
const t = e, { t: o } = n.useI18n();
|
|
27624
|
-
return (e, n) => ((0, a.openBlock)(), (0, a.createElementBlock)("div",
|
|
27645
|
+
return (e, n) => ((0, a.openBlock)(), (0, a.createElementBlock)("div", IJ, [(0, a.createElementVNode)("button", {
|
|
27625
27646
|
type: "button",
|
|
27626
27647
|
class: (0, a.normalizeClass)((0, a.unref)(FM)("p-1.5 rounded transition-colors", t.isOverflowMenuOpen ? "bg-primary/80 text-white" : "bg-muted hover:bg-accent")),
|
|
27627
27648
|
title: (0, a.unref)(o)("pptx.ribbon.moreActions"),
|
|
27628
27649
|
"aria-label": (0, a.unref)(o)("pptx.ribbon.moreActions"),
|
|
27629
27650
|
onClick: n[0] || (n[0] = (e) => t.onSetOverflowMenuOpen(!t.isOverflowMenuOpen))
|
|
27630
|
-
}, [(0, a.createVNode)((0, a.unref)(l.Ellipsis), { class: (0, a.normalizeClass)((0, a.unref)(kR)) }, null, 8, ["class"])], 10,
|
|
27651
|
+
}, [(0, a.createVNode)((0, a.unref)(l.Ellipsis), { class: (0, a.normalizeClass)((0, a.unref)(kR)) }, null, 8, ["class"])], 10, zJ), t.isOverflowMenuOpen ? ((0, a.openBlock)(), (0, a.createElementBlock)(a.Fragment, { key: 0 }, [(0, a.createElementVNode)("button", {
|
|
27631
27652
|
type: "button",
|
|
27632
27653
|
class: "fixed inset-0 z-40",
|
|
27633
27654
|
"aria-label": (0, a.unref)(o)("pptx.overflow.closeMenu"),
|
|
27634
27655
|
onClick: n[1] || (n[1] = (e) => t.onSetOverflowMenuOpen(!1))
|
|
27635
|
-
}, null, 8,
|
|
27656
|
+
}, null, 8, PJ), (0, a.createElementVNode)("div", FJ, [((0, a.openBlock)(!0), (0, a.createElementBlock)(a.Fragment, null, (0, a.renderList)((0, a.unref)(BR).filter((e) => "pptm" !== e.k || t.hasMacros), (e) => ((0, a.openBlock)(), (0, a.createElementBlock)(a.Fragment, { key: e.k }, [e.k.startsWith("---") ? ((0, a.openBlock)(), (0, a.createElementBlock)("div", AJ)) : ((0, a.openBlock)(), (0, a.createElementBlock)("button", {
|
|
27636
27657
|
key: 1,
|
|
27637
27658
|
type: "button",
|
|
27638
27659
|
class: "flex items-center gap-2 w-full px-3 py-1.5 text-xs text-foreground hover:bg-muted transition-colors",
|
|
@@ -27661,15 +27682,15 @@ var aG = { class: "flex items-start gap-3" }, rG = { class: "flex h-10 w-10 item
|
|
|
27661
27682
|
}, [e.icon ? ((0, a.openBlock)(), (0, a.createBlock)((0, a.resolveDynamicComponent)(e.icon), {
|
|
27662
27683
|
key: 0,
|
|
27663
27684
|
class: (0, a.normalizeClass)((0, a.unref)(ER) + " text-muted-foreground")
|
|
27664
|
-
}, null, 8, ["class"])) : (0, a.createCommentVNode)("", !0), (0, a.createTextVNode)(" " + (0, a.toDisplayString)((0, a.unref)(o)(e.labelKey)), 1)], 8,
|
|
27685
|
+
}, null, 8, ["class"])) : (0, a.createCommentVNode)("", !0), (0, a.createTextVNode)(" " + (0, a.toDisplayString)((0, a.unref)(o)(e.labelKey)), 1)], 8, MJ))], 64))), 128))])], 64)) : (0, a.createCommentVNode)("", !0)]));
|
|
27665
27686
|
}
|
|
27666
|
-
}),
|
|
27687
|
+
}), OJ = { class: "flex items-center gap-0.5 max-md:gap-0 px-1.5 py-0.5 max-md:px-1" }, LJ = ["title", "aria-label"], RJ = ["title", "aria-label"], UJ = {
|
|
27667
27688
|
key: 0,
|
|
27668
27689
|
class: "absolute -top-0.5 -right-0.5 flex items-center justify-center w-3.5 h-3.5 rounded-full bg-primary text-[8px] text-white leading-none"
|
|
27669
|
-
},
|
|
27690
|
+
}, jJ = ["title", "aria-label"], KJ = ["title", "aria-label"], ZJ = ["title", "aria-label"], HJ = {
|
|
27670
27691
|
key: 4,
|
|
27671
27692
|
class: "inline-flex items-center px-2 py-0.5 rounded-sm bg-amber-600/90 text-[10px] text-amber-50"
|
|
27672
|
-
},
|
|
27693
|
+
}, WJ = "p-1 max-md:p-2 max-md:min-h-[40px] max-md:min-w-[40px] rounded-sm transition-colors hover:bg-accent/60 disabled:opacity-40 disabled:cursor-not-allowed active:scale-90 active:opacity-70", GJ = (0, a.defineComponent)({
|
|
27673
27694
|
__name: "ToolbarPrimaryRow",
|
|
27674
27695
|
props: {
|
|
27675
27696
|
fileName: {},
|
|
@@ -27823,25 +27844,25 @@ var aG = { class: "flex items-start gap-3" }, rG = { class: "flex h-10 w-10 item
|
|
|
27823
27844
|
},
|
|
27824
27845
|
setup(e) {
|
|
27825
27846
|
const t = e, { t: o } = n.useI18n();
|
|
27826
|
-
return (e, n) => ((0, a.openBlock)(), (0, a.createElementBlock)("div",
|
|
27847
|
+
return (e, n) => ((0, a.openBlock)(), (0, a.createElementBlock)("div", OJ, [
|
|
27827
27848
|
"present" !== t.mode ? ((0, a.openBlock)(), (0, a.createElementBlock)("button", {
|
|
27828
27849
|
key: 0,
|
|
27829
27850
|
type: "button",
|
|
27830
|
-
class: (0, a.normalizeClass)((0, a.unref)(FM)(
|
|
27851
|
+
class: (0, a.normalizeClass)((0, a.unref)(FM)(WJ, t.isSidebarCollapsed ? "text-muted-foreground" : "text-foreground")),
|
|
27831
27852
|
title: (0, a.unref)(o)("pptx.toolbar.toggleSlidesPanel"),
|
|
27832
27853
|
"aria-label": (0, a.unref)(o)("pptx.toolbar.toggleSlidesPanel"),
|
|
27833
27854
|
onClick: n[0] || (n[0] = (e) => t.onToggleSidebar())
|
|
27834
|
-
}, [(0, a.createVNode)((0, a.unref)(l.PanelLeft), { class: (0, a.normalizeClass)((0, a.unref)(kR)) }, null, 8, ["class"])], 10,
|
|
27855
|
+
}, [(0, a.createVNode)((0, a.unref)(l.PanelLeft), { class: (0, a.normalizeClass)((0, a.unref)(kR)) }, null, 8, ["class"])], 10, LJ)) : (0, a.createCommentVNode)("", !0),
|
|
27835
27856
|
n[5] || (n[5] = (0, a.createElementVNode)("div", { class: "flex-1 min-w-2 max-md:min-w-1" }, null, -1)),
|
|
27836
27857
|
"edit" === t.mode || "master" === t.mode ? ((0, a.openBlock)(), (0, a.createElementBlock)("button", {
|
|
27837
27858
|
key: 1,
|
|
27838
27859
|
type: "button",
|
|
27839
|
-
class: (0, a.normalizeClass)((0, a.unref)(FM)(
|
|
27860
|
+
class: (0, a.normalizeClass)((0, a.unref)(FM)(WJ, "relative max-md:hidden", t.isCommentsPanelOpen ? "text-foreground" : "text-muted-foreground")),
|
|
27840
27861
|
title: (0, a.unref)(o)("pptx.toolbar.comments"),
|
|
27841
27862
|
"aria-label": (0, a.unref)(o)("pptx.toolbar.comments"),
|
|
27842
27863
|
onClick: n[1] || (n[1] = (e) => t.onToggleComments?.())
|
|
27843
|
-
}, [(0, a.createVNode)((0, a.unref)(l.MessageSquare), { class: (0, a.normalizeClass)((0, a.unref)(ER)) }, null, 8, ["class"]), (t.slideCommentCount ?? 0) > 0 ? ((0, a.openBlock)(), (0, a.createElementBlock)("span",
|
|
27844
|
-
(0, a.createVNode)(
|
|
27864
|
+
}, [(0, a.createVNode)((0, a.unref)(l.MessageSquare), { class: (0, a.normalizeClass)((0, a.unref)(ER)) }, null, 8, ["class"]), (t.slideCommentCount ?? 0) > 0 ? ((0, a.openBlock)(), (0, a.createElementBlock)("span", UJ, (0, a.toDisplayString)(t.slideCommentCount), 1)) : (0, a.createCommentVNode)("", !0)], 10, RJ)) : (0, a.createCommentVNode)("", !0),
|
|
27865
|
+
(0, a.createVNode)(TJ, {
|
|
27845
27866
|
mode: t.mode,
|
|
27846
27867
|
"on-set-mode": t.onSetMode,
|
|
27847
27868
|
"on-close-master-view": t.onCloseMasterView,
|
|
@@ -27862,7 +27883,7 @@ var aG = { class: "flex items-start gap-3" }, rG = { class: "flex h-10 w-10 item
|
|
|
27862
27883
|
"on-toggle-subtitles",
|
|
27863
27884
|
"show-subtitles"
|
|
27864
27885
|
]),
|
|
27865
|
-
(0, a.createVNode)(
|
|
27886
|
+
(0, a.createVNode)(bJ, {
|
|
27866
27887
|
"custom-shows": t.customShows,
|
|
27867
27888
|
"active-custom-show-id": t.activeCustomShowId,
|
|
27868
27889
|
"can-edit": t.canEdit,
|
|
@@ -27887,34 +27908,34 @@ var aG = { class: "flex items-start gap-3" }, rG = { class: "flex h-10 w-10 item
|
|
|
27887
27908
|
"edit" === t.mode || "master" === t.mode ? ((0, a.openBlock)(), (0, a.createElementBlock)("button", {
|
|
27888
27909
|
key: 2,
|
|
27889
27910
|
type: "button",
|
|
27890
|
-
class: (0, a.normalizeClass)((0, a.unref)(FM)(
|
|
27911
|
+
class: (0, a.normalizeClass)((0, a.unref)(FM)(WJ, t.isInspectorPaneOpen ? "text-foreground" : "text-muted-foreground")),
|
|
27891
27912
|
title: (0, a.unref)(o)("pptx.toolbar.toggleInspector"),
|
|
27892
27913
|
"aria-label": (0, a.unref)(o)("pptx.toolbar.toggleInspector"),
|
|
27893
27914
|
onClick: n[2] || (n[2] = (e) => t.onToggleInspector())
|
|
27894
|
-
}, [(0, a.createVNode)((0, a.unref)(l.PanelRight), { class: (0, a.normalizeClass)((0, a.unref)(kR)) }, null, 8, ["class"])], 10,
|
|
27915
|
+
}, [(0, a.createVNode)((0, a.unref)(l.PanelRight), { class: (0, a.normalizeClass)((0, a.unref)(kR)) }, null, 8, ["class"])], 10, jJ)) : (0, a.createCommentVNode)("", !0),
|
|
27895
27916
|
!t.aiEnabled || "edit" !== t.mode && "master" !== t.mode ? (0, a.createCommentVNode)("", !0) : ((0, a.openBlock)(), (0, a.createElementBlock)("button", {
|
|
27896
27917
|
key: 3,
|
|
27897
27918
|
type: "button",
|
|
27898
|
-
class: (0, a.normalizeClass)((0, a.unref)(FM)(
|
|
27919
|
+
class: (0, a.normalizeClass)((0, a.unref)(FM)(WJ, t.isAiPanelOpen ? "text-primary" : "text-muted-foreground")),
|
|
27899
27920
|
title: (0, a.unref)(o)("pptx.toolbar.toggleAiAssistant"),
|
|
27900
27921
|
"aria-label": (0, a.unref)(o)("pptx.toolbar.toggleAiAssistant"),
|
|
27901
27922
|
onClick: n[3] || (n[3] = (e) => t.onToggleAiPanel?.())
|
|
27902
|
-
}, [(0, a.createVNode)((0, a.unref)(l.Sparkles), { class: (0, a.normalizeClass)((0, a.unref)(kR)) }, null, 8, ["class"])], 10,
|
|
27923
|
+
}, [(0, a.createVNode)((0, a.unref)(l.Sparkles), { class: (0, a.normalizeClass)((0, a.unref)(kR)) }, null, 8, ["class"])], 10, KJ)),
|
|
27903
27924
|
(0, a.createElementVNode)("button", {
|
|
27904
27925
|
type: "button",
|
|
27905
|
-
class: (0, a.normalizeClass)((0, a.unref)(FM)(
|
|
27926
|
+
class: (0, a.normalizeClass)((0, a.unref)(FM)(WJ, "text-muted-foreground")),
|
|
27906
27927
|
title: (0, a.unref)(o)("pptx.toolbar.settingsShortcuts"),
|
|
27907
27928
|
"aria-label": (0, a.unref)(o)("pptx.toolbar.settings"),
|
|
27908
27929
|
onClick: n[4] || (n[4] = (e) => (t.onOpenSettings ?? t.onToggleShortcuts)())
|
|
27909
|
-
}, [(0, a.createVNode)((0, a.unref)(l.Settings), { class: (0, a.normalizeClass)((0, a.unref)(ER)) }, null, 8, ["class"])], 10,
|
|
27910
|
-
t.canEdit ? (0, a.createCommentVNode)("", !0) : ((0, a.openBlock)(), (0, a.createElementBlock)("span",
|
|
27911
|
-
(0, a.createVNode)(
|
|
27930
|
+
}, [(0, a.createVNode)((0, a.unref)(l.Settings), { class: (0, a.normalizeClass)((0, a.unref)(ER)) }, null, 8, ["class"])], 10, ZJ),
|
|
27931
|
+
t.canEdit ? (0, a.createCommentVNode)("", !0) : ((0, a.openBlock)(), (0, a.createElementBlock)("span", HJ, (0, a.toDisplayString)((0, a.unref)(o)("pptx.toolbar.readOnly")), 1)),
|
|
27932
|
+
(0, a.createVNode)($J, (0, a.normalizeProps)((0, a.guardReactiveProps)(t)), null, 16)
|
|
27912
27933
|
]));
|
|
27913
27934
|
}
|
|
27914
|
-
}),
|
|
27935
|
+
}), qJ = ["aria-label"], XJ = {
|
|
27915
27936
|
key: 1,
|
|
27916
27937
|
class: "flex min-h-[82px] items-stretch gap-0 overflow-x-auto px-1 py-0.5 max-md:min-h-0 max-md:px-1 max-md:py-0.5 flex-nowrap [&>*]:shrink-0"
|
|
27917
|
-
},
|
|
27938
|
+
}, YJ = (0, a.defineComponent)({
|
|
27918
27939
|
__name: "RibbonToolbar",
|
|
27919
27940
|
props: {
|
|
27920
27941
|
fileName: {},
|
|
@@ -28073,8 +28094,8 @@ var aG = { class: "flex items-start gap-3" }, rG = { class: "flex h-10 w-10 item
|
|
|
28073
28094
|
"aria-label": (0, a.unref)(o)("pptx.toolbar.presentationToolbarAria"),
|
|
28074
28095
|
class: "relative z-20 border-b border-border bg-secondary/50 overflow-visible"
|
|
28075
28096
|
}, [
|
|
28076
|
-
(0, a.createVNode)(
|
|
28077
|
-
r.value ? ((0, a.openBlock)(), (0, a.createBlock)(
|
|
28097
|
+
(0, a.createVNode)(GJ, (0, a.normalizeProps)((0, a.guardReactiveProps)(t)), null, 16),
|
|
28098
|
+
r.value ? ((0, a.openBlock)(), (0, a.createBlock)(pJ, {
|
|
28078
28099
|
key: 0,
|
|
28079
28100
|
"toolbar-section": t.toolbarSection,
|
|
28080
28101
|
"visible-tabs": (0, a.unref)(s),
|
|
@@ -28104,7 +28125,7 @@ var aG = { class: "flex items-start gap-3" }, rG = { class: "flex h-10 w-10 item
|
|
|
28104
28125
|
"is-compact-toolbar-open",
|
|
28105
28126
|
"on-toggle-compact-toolbar"
|
|
28106
28127
|
])) : (0, a.createCommentVNode)("", !0),
|
|
28107
|
-
r.value ? (0, a.withDirectives)(((0, a.openBlock)(), (0, a.createElementBlock)("div",
|
|
28128
|
+
r.value ? (0, a.withDirectives)(((0, a.openBlock)(), (0, a.createElementBlock)("div", XJ, [
|
|
28108
28129
|
"file" === l.value ? ((0, a.openBlock)(), (0, a.createBlock)(yj, {
|
|
28109
28130
|
key: 0,
|
|
28110
28131
|
"file-name": t.fileName,
|
|
@@ -28235,12 +28256,12 @@ var aG = { class: "flex items-start gap-3" }, rG = { class: "flex h-10 w-10 item
|
|
|
28235
28256
|
"on-update-text-style",
|
|
28236
28257
|
"on-transform-text-case"
|
|
28237
28258
|
])) : (0, a.createCommentVNode)("", !0),
|
|
28238
|
-
"home" === l.value ? ((0, a.openBlock)(), (0, a.createBlock)(
|
|
28259
|
+
"home" === l.value ? ((0, a.openBlock)(), (0, a.createBlock)(QY, {
|
|
28239
28260
|
key: 4,
|
|
28240
28261
|
"on-toggle-find-replace": t.onToggleFindReplace,
|
|
28241
28262
|
"on-select-all": t.onSelectAll
|
|
28242
28263
|
}, null, 8, ["on-toggle-find-replace", "on-select-all"])) : (0, a.createCommentVNode)("", !0),
|
|
28243
|
-
"home" === l.value ? ((0, a.openBlock)(), (0, a.createBlock)(
|
|
28264
|
+
"home" === l.value ? ((0, a.openBlock)(), (0, a.createBlock)(ZY, {
|
|
28244
28265
|
key: 5,
|
|
28245
28266
|
"can-edit": t.canEdit,
|
|
28246
28267
|
"selected-element": t.selectedElement,
|
|
@@ -28399,7 +28420,7 @@ var aG = { class: "flex items-start gap-3" }, rG = { class: "flex h-10 w-10 item
|
|
|
28399
28420
|
"on-set-language",
|
|
28400
28421
|
"on-open-accessibility-check"
|
|
28401
28422
|
])) : (0, a.createCommentVNode)("", !0),
|
|
28402
|
-
"record" === l.value ? ((0, a.openBlock)(), (0, a.createBlock)(
|
|
28423
|
+
"record" === l.value ? ((0, a.openBlock)(), (0, a.createBlock)(oJ, {
|
|
28403
28424
|
key: 13,
|
|
28404
28425
|
"on-record-from-beginning": t.onEnterRehearsalMode ?? (() => {}),
|
|
28405
28426
|
"on-record-from-current": t.onEnterRehearsalMode ?? (() => {})
|
|
@@ -28448,33 +28469,33 @@ var aG = { class: "flex items-start gap-3" }, rG = { class: "flex h-10 w-10 item
|
|
|
28448
28469
|
"eyedropper-active",
|
|
28449
28470
|
"on-toggle-eyedropper"
|
|
28450
28471
|
])) : (0, a.createCommentVNode)("", !0),
|
|
28451
|
-
"help" === l.value ? ((0, a.openBlock)(), (0, a.createBlock)(
|
|
28472
|
+
"help" === l.value ? ((0, a.openBlock)(), (0, a.createBlock)(nJ, {
|
|
28452
28473
|
key: 15,
|
|
28453
28474
|
"on-toggle-shortcuts": t.onToggleShortcuts,
|
|
28454
28475
|
"on-run-accessibility-check": t.onRunAccessibilityCheck
|
|
28455
28476
|
}, null, 8, ["on-toggle-shortcuts", "on-run-accessibility-check"])) : (0, a.createCommentVNode)("", !0)
|
|
28456
28477
|
], 512)), [[a.vShow, t.isCompactToolbarOpen]]) : (0, a.createCommentVNode)("", !0)
|
|
28457
|
-
], 8,
|
|
28478
|
+
], 8, qJ));
|
|
28458
28479
|
}
|
|
28459
|
-
}),
|
|
28480
|
+
}), JJ = [
|
|
28460
28481
|
"aria-checked",
|
|
28461
28482
|
"title",
|
|
28462
28483
|
"aria-label"
|
|
28463
|
-
],
|
|
28484
|
+
], QJ = ["title", "aria-label"], eQ = [
|
|
28464
28485
|
"disabled",
|
|
28465
28486
|
"title",
|
|
28466
28487
|
"aria-label"
|
|
28467
|
-
],
|
|
28488
|
+
], tQ = [
|
|
28468
28489
|
"disabled",
|
|
28469
28490
|
"title",
|
|
28470
28491
|
"aria-label"
|
|
28471
|
-
],
|
|
28492
|
+
], nQ = ["placeholder", "aria-label"], oQ = {
|
|
28472
28493
|
key: 0,
|
|
28473
28494
|
class: "absolute left-0 right-0 top-full z-50 mt-1 rounded-lg border border-border bg-popover shadow-xl max-h-64 overflow-y-auto"
|
|
28474
|
-
},
|
|
28495
|
+
}, aQ = { class: "px-3 py-1.5 text-[10px] font-semibold text-muted-foreground uppercase tracking-wider" }, rQ = ["onMousedown"], lQ = { class: "truncate" }, iQ = { class: "ml-auto text-[10px] text-muted-foreground capitalize" }, sQ = {
|
|
28475
28496
|
key: 1,
|
|
28476
28497
|
class: "px-3 py-2 text-xs text-muted-foreground"
|
|
28477
|
-
},
|
|
28498
|
+
}, cQ = { class: "border-t border-border/60" }, pQ = (0, a.defineComponent)({
|
|
28478
28499
|
__name: "TitleBar",
|
|
28479
28500
|
props: {
|
|
28480
28501
|
mode: {},
|
|
@@ -28532,7 +28553,7 @@ var aG = { class: "flex items-start gap-3" }, rG = { class: "flex h-10 w-10 item
|
|
|
28532
28553
|
title: (0, a.unref)(o)("pptx.titleBar.toggleAutoSave"),
|
|
28533
28554
|
"aria-label": (0, a.unref)(o)("pptx.titleBar.toggleAutoSave"),
|
|
28534
28555
|
onClick: v[0] || (v[0] = (e) => t.onToggleAutosave())
|
|
28535
|
-
}, [(0, a.createElementVNode)("span", { class: (0, a.normalizeClass)((0, a.unref)(FM)((0, a.unref)(n.TITLE_BAR_CLASSES).toggleKnob, t.autosaveEnabled ? (0, a.unref)(n.TITLE_BAR_CLASSES).toggleKnobOn : (0, a.unref)(n.TITLE_BAR_CLASSES).toggleKnobOff)) }, null, 2)], 10,
|
|
28556
|
+
}, [(0, a.createElementVNode)("span", { class: (0, a.normalizeClass)((0, a.unref)(FM)((0, a.unref)(n.TITLE_BAR_CLASSES).toggleKnob, t.autosaveEnabled ? (0, a.unref)(n.TITLE_BAR_CLASSES).toggleKnobOn : (0, a.unref)(n.TITLE_BAR_CLASSES).toggleKnobOff)) }, null, 2)], 10, JJ),
|
|
28536
28557
|
(0, a.createElementVNode)("span", { class: (0, a.normalizeClass)((0, a.unref)(n.TITLE_BAR_CLASSES).autosaveLabel) }, (0, a.toDisplayString)((0, a.unref)(o)(t.autosaveEnabled ? "pptx.titleBar.autoSaveOn" : "pptx.titleBar.autoSaveOff")), 3)
|
|
28537
28558
|
], 2),
|
|
28538
28559
|
(0, a.createElementVNode)("div", { class: (0, a.normalizeClass)((0, a.unref)(n.TITLE_BAR_CLASSES).separator) }, null, 2),
|
|
@@ -28543,7 +28564,7 @@ var aG = { class: "flex items-start gap-3" }, rG = { class: "flex h-10 w-10 item
|
|
|
28543
28564
|
title: (0, a.unref)(o)("pptx.titleBar.save"),
|
|
28544
28565
|
"aria-label": (0, a.unref)(o)("pptx.titleBar.save"),
|
|
28545
28566
|
onClick: v[1] || (v[1] = (e) => t.onSave())
|
|
28546
|
-
}, [(0, a.createVNode)((0, a.unref)(l.Save), { class: "w-3.5 h-3.5" })], 10,
|
|
28567
|
+
}, [(0, a.createVNode)((0, a.unref)(l.Save), { class: "w-3.5 h-3.5" })], 10, QJ)) : (0, a.createCommentVNode)("", !0),
|
|
28547
28568
|
(0, a.unref)(r)("undo") ? (0, a.createCommentVNode)("", !0) : ((0, a.openBlock)(), (0, a.createElementBlock)("button", {
|
|
28548
28569
|
key: 1,
|
|
28549
28570
|
type: "button",
|
|
@@ -28552,7 +28573,7 @@ var aG = { class: "flex items-start gap-3" }, rG = { class: "flex h-10 w-10 item
|
|
|
28552
28573
|
title: t.undoLabel ? (0, a.unref)(o)("pptx.toolbar.undoAction", { action: t.undoLabel }) : (0, a.unref)(o)("pptx.toolbar.undo"),
|
|
28553
28574
|
"aria-label": (0, a.unref)(o)("pptx.toolbar.undo"),
|
|
28554
28575
|
onClick: v[2] || (v[2] = (e) => t.onUndo())
|
|
28555
|
-
}, [(0, a.createVNode)((0, a.unref)(l.Undo), { class: "w-3.5 h-3.5" })], 10,
|
|
28576
|
+
}, [(0, a.createVNode)((0, a.unref)(l.Undo), { class: "w-3.5 h-3.5" })], 10, eQ)),
|
|
28556
28577
|
(0, a.unref)(r)("redo") ? (0, a.createCommentVNode)("", !0) : ((0, a.openBlock)(), (0, a.createElementBlock)("button", {
|
|
28557
28578
|
key: 2,
|
|
28558
28579
|
type: "button",
|
|
@@ -28561,7 +28582,7 @@ var aG = { class: "flex items-start gap-3" }, rG = { class: "flex h-10 w-10 item
|
|
|
28561
28582
|
title: t.redoLabel ? (0, a.unref)(o)("pptx.toolbar.redoAction", { action: t.redoLabel }) : (0, a.unref)(o)("pptx.toolbar.redo"),
|
|
28562
28583
|
"aria-label": (0, a.unref)(o)("pptx.toolbar.redo"),
|
|
28563
28584
|
onClick: v[3] || (v[3] = (e) => t.onRedo())
|
|
28564
|
-
}, [(0, a.createVNode)((0, a.unref)(l.Redo), { class: "w-3.5 h-3.5" })], 10,
|
|
28585
|
+
}, [(0, a.createVNode)((0, a.unref)(l.Redo), { class: "w-3.5 h-3.5" })], 10, tQ)),
|
|
28565
28586
|
(0, a.createElementVNode)("div", { class: (0, a.normalizeClass)((0, a.unref)(n.TITLE_BAR_CLASSES).separator) }, null, 2)
|
|
28566
28587
|
], 64)) : (0, a.createCommentVNode)("", !0),
|
|
28567
28588
|
(0, a.createElementVNode)("span", { class: (0, a.normalizeClass)((0, a.unref)(n.TITLE_BAR_CLASSES).fileGroup) }, [(0, a.createElementVNode)("span", { class: (0, a.normalizeClass)((0, a.unref)(n.TITLE_BAR_CLASSES).fileName) }, (0, a.toDisplayString)(t.fileName || (0, a.unref)(o)((0, a.unref)("pptx.titleBar.defaultFileName"))), 3), i.value ? ((0, a.openBlock)(), (0, a.createElementBlock)(a.Fragment, { key: 0 }, [(0, a.createElementVNode)("span", {
|
|
@@ -28581,12 +28602,12 @@ var aG = { class: "flex items-start gap-3" }, rG = { class: "flex h-10 w-10 item
|
|
|
28581
28602
|
"aria-label": (0, a.unref)(o)("pptx.titleBar.search"),
|
|
28582
28603
|
onFocus: v[5] || (v[5] = (e) => d.value = !0),
|
|
28583
28604
|
onKeydown: f
|
|
28584
|
-
}, null, 40,
|
|
28605
|
+
}, null, 40, nQ), [[a.vModelText, c.value]])], 2), d.value && c.value.trim() ? ((0, a.openBlock)(), (0, a.createElementBlock)("div", oQ, [u.value.length > 0 ? ((0, a.openBlock)(), (0, a.createElementBlock)(a.Fragment, { key: 0 }, [(0, a.createElementVNode)("div", aQ, (0, a.toDisplayString)((0, a.unref)(o)("pptx.titleBar.searchCommands")), 1), ((0, a.openBlock)(!0), (0, a.createElementBlock)(a.Fragment, null, (0, a.renderList)(u.value.slice(0, 8), (e) => ((0, a.openBlock)(), (0, a.createElementBlock)("button", {
|
|
28585
28606
|
key: e.command,
|
|
28586
28607
|
type: "button",
|
|
28587
28608
|
class: "flex w-full items-center gap-2 px-3 py-1.5 text-xs text-foreground hover:bg-accent transition-colors",
|
|
28588
28609
|
onMousedown: (t) => m(e)
|
|
28589
|
-
}, [(0, a.createElementVNode)("span",
|
|
28610
|
+
}, [(0, a.createElementVNode)("span", lQ, (0, a.toDisplayString)((0, a.unref)(o)(e.labelKey)), 1), (0, a.createElementVNode)("span", iQ, (0, a.toDisplayString)(e.category), 1)], 40, rQ))), 128))], 64)) : ((0, a.openBlock)(), (0, a.createElementBlock)("div", sQ, (0, a.toDisplayString)((0, a.unref)(o)("pptx.titleBar.searchNoResults")), 1)), (0, a.createElementVNode)("div", cQ, [(0, a.createElementVNode)("button", {
|
|
28590
28611
|
type: "button",
|
|
28591
28612
|
class: "flex w-full items-center gap-2 px-3 py-1.5 text-xs text-foreground hover:bg-accent transition-colors",
|
|
28592
28613
|
onMousedown: v[6] || (v[6] = (e) => {
|
|
@@ -28596,34 +28617,34 @@ var aG = { class: "flex items-start gap-3" }, rG = { class: "flex h-10 w-10 item
|
|
|
28596
28617
|
(0, a.createElementVNode)("span", { class: (0, a.normalizeClass)((0, a.unref)(n.TITLE_BAR_CLASSES).rightSpacer) }, null, 2)
|
|
28597
28618
|
], 2));
|
|
28598
28619
|
}
|
|
28599
|
-
}),
|
|
28620
|
+
}), uQ = { class: "pptx-vue-section-list flex flex-col gap-0.5 p-1" }, mQ = {
|
|
28600
28621
|
key: 0,
|
|
28601
28622
|
class: "pptx-vue-section-header group flex items-center gap-1 px-1 py-0.5"
|
|
28602
|
-
},
|
|
28623
|
+
}, fQ = [
|
|
28603
28624
|
"aria-expanded",
|
|
28604
28625
|
"title",
|
|
28605
28626
|
"onClick",
|
|
28606
28627
|
"onDblclick"
|
|
28607
|
-
],
|
|
28628
|
+
], vQ = { class: "pptx-vue-section-name overflow-hidden text-ellipsis whitespace-nowrap" }, xQ = { class: "pptx-vue-section-count ml-auto text-[10px] text-muted-foreground" }, gQ = {
|
|
28608
28629
|
key: 0,
|
|
28609
28630
|
class: "pptx-vue-section-actions inline-flex gap-0.5 opacity-0 transition-opacity group-hover:opacity-100"
|
|
28610
|
-
},
|
|
28631
|
+
}, hQ = [
|
|
28611
28632
|
"title",
|
|
28612
28633
|
"aria-label",
|
|
28613
28634
|
"onClick"
|
|
28614
|
-
],
|
|
28635
|
+
], yQ = [
|
|
28615
28636
|
"title",
|
|
28616
28637
|
"aria-label",
|
|
28617
28638
|
"onClick"
|
|
28618
|
-
],
|
|
28639
|
+
], bQ = [
|
|
28619
28640
|
"title",
|
|
28620
28641
|
"aria-label",
|
|
28621
28642
|
"onClick"
|
|
28622
|
-
],
|
|
28643
|
+
], kQ = { class: "pptx-vue-section-slides m-0 flex list-none flex-col gap-1.5 px-1 pb-1 pt-0.5" }, EQ = [
|
|
28623
28644
|
"title",
|
|
28624
28645
|
"aria-label",
|
|
28625
28646
|
"onClick"
|
|
28626
|
-
],
|
|
28647
|
+
], wQ = { class: "pptx-vue-section-thumb-num w-[18px] flex-shrink-0 text-right text-[10px] text-muted-foreground" }, SQ = ["title", "onClick"], CQ = (0, a.defineComponent)({
|
|
28627
28648
|
__name: "SectionList",
|
|
28628
28649
|
props: {
|
|
28629
28650
|
groups: {},
|
|
@@ -28667,11 +28688,11 @@ var aG = { class: "flex items-start gap-3" }, rG = { class: "flex h-10 w-10 item
|
|
|
28667
28688
|
function b(e, t) {
|
|
28668
28689
|
return i("pptx.notes.slideN", { n: e.slideNumber || t + 1 });
|
|
28669
28690
|
}
|
|
28670
|
-
return (e, t) => ((0, a.openBlock)(), (0, a.createElementBlock)("div",
|
|
28691
|
+
return (e, t) => ((0, a.openBlock)(), (0, a.createElementBlock)("div", uQ, [((0, a.openBlock)(!0), (0, a.createElementBlock)(a.Fragment, null, (0, a.renderList)(o.groups, (e, n) => ((0, a.openBlock)(), (0, a.createElementBlock)("div", {
|
|
28671
28692
|
key: e.section?.id ?? `__nosection-${n}`,
|
|
28672
28693
|
class: "pptx-vue-section-group flex flex-col"
|
|
28673
28694
|
}, [
|
|
28674
|
-
e.section ? ((0, a.openBlock)(), (0, a.createElementBlock)("div",
|
|
28695
|
+
e.section ? ((0, a.openBlock)(), (0, a.createElementBlock)("div", mQ, [(0, a.createElementVNode)("button", {
|
|
28675
28696
|
type: "button",
|
|
28676
28697
|
class: "pptx-vue-section-toggle inline-flex min-w-0 flex-1 cursor-pointer items-center gap-1.5 rounded border-none bg-transparent px-1.5 py-1 text-[11px] uppercase tracking-wide text-muted-foreground hover:bg-muted hover:text-foreground",
|
|
28677
28698
|
"aria-expanded": !x(e),
|
|
@@ -28706,7 +28727,7 @@ var aG = { class: "flex items-start gap-3" }, rG = { class: "flex h-10 w-10 item
|
|
|
28706
28727
|
onKeydown: h,
|
|
28707
28728
|
onBlur: g,
|
|
28708
28729
|
onClick: t[1] || (t[1] = (0, a.withModifiers)(() => {}, ["stop"]))
|
|
28709
|
-
}, null, 544)), [[a.vModelText, m.value]]) : ((0, a.openBlock)(), (0, a.createElementBlock)(a.Fragment, { key: 1 }, [(0, a.createElementVNode)("span",
|
|
28730
|
+
}, null, 544)), [[a.vModelText, m.value]]) : ((0, a.openBlock)(), (0, a.createElementBlock)(a.Fragment, { key: 1 }, [(0, a.createElementVNode)("span", vQ, (0, a.toDisplayString)(e.section.name), 1), (0, a.createElementVNode)("span", xQ, (0, a.toDisplayString)(e.slides.length), 1)], 64))], 40, fQ), !1 !== o.canEdit && u.value !== e.section.id ? ((0, a.openBlock)(), (0, a.createElementBlock)("div", gQ, [
|
|
28710
28731
|
(0, a.createElementVNode)("button", {
|
|
28711
28732
|
type: "button",
|
|
28712
28733
|
class: "pptx-vue-section-action inline-flex h-[18px] w-[18px] cursor-pointer items-center justify-center rounded-sm border border-transparent bg-transparent p-0 text-[10px] leading-none text-muted-foreground hover:bg-muted hover:text-foreground",
|
|
@@ -28717,7 +28738,7 @@ var aG = { class: "flex items-start gap-3" }, rG = { class: "flex h-10 w-10 item
|
|
|
28717
28738
|
}, [(0, a.createVNode)((0, a.unref)(l.ChevronUp), {
|
|
28718
28739
|
class: "h-3 w-3",
|
|
28719
28740
|
"aria-hidden": "true"
|
|
28720
|
-
})], 8,
|
|
28741
|
+
})], 8, hQ),
|
|
28721
28742
|
(0, a.createElementVNode)("button", {
|
|
28722
28743
|
type: "button",
|
|
28723
28744
|
class: "pptx-vue-section-action inline-flex h-[18px] w-[18px] cursor-pointer items-center justify-center rounded-sm border border-transparent bg-transparent p-0 text-[10px] leading-none text-muted-foreground hover:bg-muted hover:text-foreground",
|
|
@@ -28728,7 +28749,7 @@ var aG = { class: "flex items-start gap-3" }, rG = { class: "flex h-10 w-10 item
|
|
|
28728
28749
|
}, [(0, a.createVNode)((0, a.unref)(l.ChevronDown), {
|
|
28729
28750
|
class: "h-3 w-3",
|
|
28730
28751
|
"aria-hidden": "true"
|
|
28731
|
-
})], 8,
|
|
28752
|
+
})], 8, yQ),
|
|
28732
28753
|
(0, a.createElementVNode)("button", {
|
|
28733
28754
|
type: "button",
|
|
28734
28755
|
class: "pptx-vue-section-action pptx-vue-section-action--danger inline-flex h-[18px] w-[18px] cursor-pointer items-center justify-center rounded-sm border border-transparent bg-transparent p-0 text-[10px] leading-none text-muted-foreground hover:bg-muted hover:text-destructive",
|
|
@@ -28739,9 +28760,9 @@ var aG = { class: "flex items-start gap-3" }, rG = { class: "flex h-10 w-10 item
|
|
|
28739
28760
|
}, [(0, a.createVNode)((0, a.unref)(l.X), {
|
|
28740
28761
|
class: "h-3 w-3",
|
|
28741
28762
|
"aria-hidden": "true"
|
|
28742
|
-
})], 8,
|
|
28763
|
+
})], 8, bQ)
|
|
28743
28764
|
])) : (0, a.createCommentVNode)("", !0)])) : (0, a.createCommentVNode)("", !0),
|
|
28744
|
-
(0, a.withDirectives)((0, a.createElementVNode)("ul",
|
|
28765
|
+
(0, a.withDirectives)((0, a.createElementVNode)("ul", kQ, [((0, a.openBlock)(!0), (0, a.createElementBlock)(a.Fragment, null, (0, a.renderList)(e.slides, (t, n) => ((0, a.openBlock)(), (0, a.createElementBlock)("li", {
|
|
28745
28766
|
key: t.id ?? e.slideIndexes[n],
|
|
28746
28767
|
class: (0, a.normalizeClass)(["pptx-vue-section-slide flex", { "is-active": e.slideIndexes[n] === o.activeIndex }])
|
|
28747
28768
|
}, [(0, a.createElementVNode)("button", {
|
|
@@ -28754,7 +28775,7 @@ var aG = { class: "flex items-start gap-3" }, rG = { class: "flex h-10 w-10 item
|
|
|
28754
28775
|
return;
|
|
28755
28776
|
var o;
|
|
28756
28777
|
}
|
|
28757
|
-
}, [(0, a.createElementVNode)("span",
|
|
28778
|
+
}, [(0, a.createElementVNode)("span", wQ, (0, a.toDisplayString)(e.slideIndexes[n] + 1), 1), (0, a.createElementVNode)("span", {
|
|
28758
28779
|
class: "pptx-vue-section-stage block overflow-hidden rounded-sm border border-border bg-white",
|
|
28759
28780
|
style: (0, a.normalizeStyle)(d.value)
|
|
28760
28781
|
}, [(0, a.createVNode)(nb, {
|
|
@@ -28767,21 +28788,21 @@ var aG = { class: "flex items-start gap-3" }, rG = { class: "flex h-10 w-10 item
|
|
|
28767
28788
|
"canvas-size",
|
|
28768
28789
|
"media-data-urls",
|
|
28769
28790
|
"scale"
|
|
28770
|
-
])], 4)], 10,
|
|
28791
|
+
])], 4)], 10, EQ)], 2))), 128))], 512), [[a.vShow, !x(e)]]),
|
|
28771
28792
|
!1 !== o.canEdit && y(e) >= 0 ? ((0, a.openBlock)(), (0, a.createElementBlock)("button", {
|
|
28772
28793
|
key: 1,
|
|
28773
28794
|
type: "button",
|
|
28774
28795
|
class: "pptx-vue-section-add mb-1 ml-7 mr-1 mt-0 cursor-pointer self-start rounded border border-dashed border-border bg-transparent px-1.5 py-0.5 text-[10px] text-muted-foreground hover:border-primary hover:text-foreground",
|
|
28775
28796
|
title: 0 === p.value ? (0, a.unref)(i)("pptx.sectionList.addSection") : (0, a.unref)(i)("pptx.sectionList.addSectionHere"),
|
|
28776
28797
|
onClick: (t) => r("add-section", y(e))
|
|
28777
|
-
}, " + " + (0, a.toDisplayString)((0, a.unref)(i)("pptx.sectionList.addSection")), 9,
|
|
28798
|
+
}, " + " + (0, a.toDisplayString)((0, a.unref)(i)("pptx.sectionList.addSection")), 9, SQ)) : (0, a.createCommentVNode)("", !0)
|
|
28778
28799
|
]))), 128))]));
|
|
28779
28800
|
}
|
|
28780
|
-
}),
|
|
28801
|
+
}), BQ = ["data-selection-for"], NQ = ["onPointerdown"], VQ = ["aria-label", "onPointerdown"], DQ = [
|
|
28781
28802
|
"data-handle",
|
|
28782
28803
|
"aria-label",
|
|
28783
28804
|
"onPointerdown"
|
|
28784
|
-
],
|
|
28805
|
+
], _Q = ["aria-label", "onPointerdown"], IQ = Km((0, a.defineComponent)({
|
|
28785
28806
|
__name: "SelectionOverlay",
|
|
28786
28807
|
props: {
|
|
28787
28808
|
elements: {},
|
|
@@ -29000,7 +29021,7 @@ var aG = { class: "flex items-start gap-3" }, rG = { class: "flex h-10 w-10 item
|
|
|
29000
29021
|
(0, a.createElementVNode)("div", {
|
|
29001
29022
|
class: "pptx-vue-selection-body",
|
|
29002
29023
|
onPointerdown: (t) => f("move", e.id, t)
|
|
29003
|
-
}, null, 40,
|
|
29024
|
+
}, null, 40, NQ),
|
|
29004
29025
|
(0, a.createElementVNode)("div", {
|
|
29005
29026
|
class: "pptx-vue-rotate-stem",
|
|
29006
29027
|
style: (0, a.normalizeStyle)(k(e))
|
|
@@ -29012,7 +29033,7 @@ var aG = { class: "flex items-start gap-3" }, rG = { class: "flex h-10 w-10 item
|
|
|
29012
29033
|
style: (0, a.normalizeStyle)(E(e)),
|
|
29013
29034
|
"aria-label": (0, a.unref)(r)("pptx.selectionOverlay.rotate"),
|
|
29014
29035
|
onPointerdown: (t) => f("rotate", e.id, t)
|
|
29015
|
-
}, null, 44,
|
|
29036
|
+
}, null, 44, VQ),
|
|
29016
29037
|
((0, a.openBlock)(!0), (0, a.createElementBlock)(a.Fragment, null, (0, a.renderList)(h.value, (t) => ((0, a.openBlock)(), (0, a.createElementBlock)("button", {
|
|
29017
29038
|
key: t.id,
|
|
29018
29039
|
type: "button",
|
|
@@ -29022,7 +29043,7 @@ var aG = { class: "flex items-start gap-3" }, rG = { class: "flex h-10 w-10 item
|
|
|
29022
29043
|
style: (0, a.normalizeStyle)(b(t, e)),
|
|
29023
29044
|
"aria-label": (0, a.unref)(r)("pptx.selectionOverlay.resize", { handle: t.id }),
|
|
29024
29045
|
onPointerdown: (n) => f("resize", e.id, n, t.id)
|
|
29025
|
-
}, null, 46,
|
|
29046
|
+
}, null, 46, DQ))), 128)),
|
|
29026
29047
|
i(e.id) ? ((0, a.openBlock)(), (0, a.createElementBlock)("button", {
|
|
29027
29048
|
key: 0,
|
|
29028
29049
|
type: "button",
|
|
@@ -29058,19 +29079,19 @@ var aG = { class: "flex items-start gap-3" }, rG = { class: "flex h-10 w-10 item
|
|
|
29058
29079
|
};
|
|
29059
29080
|
t.currentTarget?.setPointerCapture?.(t.pointerId), window.addEventListener("pointermove", v), window.addEventListener("pointerup", x), window.addEventListener("pointercancel", x), l("adjustStart", { id: e });
|
|
29060
29081
|
}(e.id, t)
|
|
29061
|
-
}, null, 44,
|
|
29062
|
-
], 12,
|
|
29082
|
+
}, null, 44, _Q)) : (0, a.createCommentVNode)("", !0)
|
|
29083
|
+
], 12, BQ))), 128))], 2));
|
|
29063
29084
|
}
|
|
29064
|
-
}), [["__scopeId", "data-v-722f3aae"]]),
|
|
29085
|
+
}), [["__scopeId", "data-v-722f3aae"]]), zQ = { class: "flex h-full w-56 flex-col border-l border-border bg-popover" }, PQ = { class: "flex items-center justify-between border-b border-border px-3 py-2" }, FQ = { class: "text-xs font-medium text-foreground" }, AQ = ["title"], MQ = { class: "flex-1 overflow-y-auto py-1" }, $Q = {
|
|
29065
29086
|
key: 0,
|
|
29066
29087
|
class: "px-3 py-4 text-xs italic text-muted-foreground"
|
|
29067
|
-
},
|
|
29088
|
+
}, OQ = [
|
|
29068
29089
|
"draggable",
|
|
29069
29090
|
"onClick",
|
|
29070
29091
|
"onDragstart",
|
|
29071
29092
|
"onDragover",
|
|
29072
29093
|
"onDrop"
|
|
29073
|
-
],
|
|
29094
|
+
], LQ = { class: "flex-1 truncate" }, RQ = ["title", "onClick"], UQ = (0, a.defineComponent)({
|
|
29074
29095
|
__name: "SelectionPane",
|
|
29075
29096
|
props: {
|
|
29076
29097
|
elements: {},
|
|
@@ -29111,12 +29132,12 @@ var aG = { class: "flex items-start gap-3" }, rG = { class: "flex h-10 w-10 item
|
|
|
29111
29132
|
element: e,
|
|
29112
29133
|
index: t
|
|
29113
29134
|
})).slice().reverse()), u = (0, a.ref)(null), m = (0, a.ref)(null);
|
|
29114
|
-
return (e, t) => ((0, a.openBlock)(), (0, a.createElementBlock)("div",
|
|
29135
|
+
return (e, t) => ((0, a.openBlock)(), (0, a.createElementBlock)("div", zQ, [(0, a.createElementVNode)("div", PQ, [(0, a.createElementVNode)("span", FQ, (0, a.toDisplayString)((0, a.unref)(s)("pptx.selectionPane.heading")), 1), (0, a.createElementVNode)("button", {
|
|
29115
29136
|
type: "button",
|
|
29116
29137
|
class: "text-xs text-muted-foreground hover:text-foreground",
|
|
29117
29138
|
title: (0, a.unref)(s)("pptx.selectionPane.close"),
|
|
29118
29139
|
onClick: t[0] || (t[0] = (e) => i("close"))
|
|
29119
|
-
}, " × ", 8,
|
|
29140
|
+
}, " × ", 8, AQ)]), (0, a.createElementVNode)("div", MQ, [0 === p.value.length ? ((0, a.openBlock)(), (0, a.createElementBlock)("div", $Q, (0, a.toDisplayString)((0, a.unref)(s)("pptx.selectionPane.noObjects")), 1)) : ((0, a.openBlock)(!0), (0, a.createElementBlock)(a.Fragment, { key: 1 }, (0, a.renderList)(p.value, ({ element: e, index: n }) => ((0, a.openBlock)(), (0, a.createElementBlock)("div", {
|
|
29120
29141
|
key: e.id,
|
|
29121
29142
|
draggable: r.canEdit,
|
|
29122
29143
|
class: (0, a.normalizeClass)(["flex cursor-pointer items-center gap-1.5 px-2 py-1 text-xs transition-colors", [r.selectedIds.includes(e.id) ? "bg-primary/30 text-primary" : "text-foreground hover:bg-muted", m.value === n ? "border-t-2 border-primary" : ""]]),
|
|
@@ -29142,7 +29163,7 @@ var aG = { class: "flex items-start gap-3" }, rG = { class: "flex h-10 w-10 item
|
|
|
29142
29163
|
key: 0,
|
|
29143
29164
|
class: "h-3 w-3 flex-shrink-0 cursor-grab text-muted-foreground"
|
|
29144
29165
|
})) : (0, a.createCommentVNode)("", !0),
|
|
29145
|
-
(0, a.createElementVNode)("span",
|
|
29166
|
+
(0, a.createElementVNode)("span", LQ, (0, a.toDisplayString)(d(e, n)), 1),
|
|
29146
29167
|
(0, a.createElementVNode)("button", {
|
|
29147
29168
|
type: "button",
|
|
29148
29169
|
class: "flex-shrink-0 text-muted-foreground hover:text-foreground",
|
|
@@ -29154,19 +29175,19 @@ var aG = { class: "flex items-start gap-3" }, rG = { class: "flex h-10 w-10 item
|
|
|
29154
29175
|
})) : ((0, a.openBlock)(), (0, a.createBlock)((0, a.unref)(l.Eye), {
|
|
29155
29176
|
key: 1,
|
|
29156
29177
|
class: "h-3.5 w-3.5 opacity-50"
|
|
29157
|
-
}))], 8,
|
|
29158
|
-
], 42,
|
|
29178
|
+
}))], 8, RQ)
|
|
29179
|
+
], 42, OQ))), 128))])]));
|
|
29159
29180
|
}
|
|
29160
|
-
}),
|
|
29181
|
+
}), jQ = { class: "pptx-vue-options-addins space-y-4" }, KQ = { class: "grid grid-cols-[1fr_auto_auto] gap-x-2 border-b border-border pb-1 pl-2 text-[11px] font-semibold uppercase tracking-wide text-muted-foreground" }, ZQ = { class: "mb-1 text-xs font-semibold text-foreground" }, HQ = {
|
|
29161
29182
|
key: 0,
|
|
29162
29183
|
class: "px-2 py-1 text-xs italic text-muted-foreground"
|
|
29163
|
-
},
|
|
29184
|
+
}, WQ = {
|
|
29164
29185
|
key: 1,
|
|
29165
29186
|
class: "w-full border-collapse text-left"
|
|
29166
|
-
},
|
|
29187
|
+
}, GQ = ["onClick"], qQ = { class: "px-2 py-1.5 text-xs text-foreground" }, XQ = { class: "px-2 py-1.5 font-mono text-[11px] text-muted-foreground" }, YQ = { class: "px-2 py-1.5 text-xs text-muted-foreground" }, JQ = {
|
|
29167
29188
|
key: 0,
|
|
29168
29189
|
class: "rounded border border-border/60 bg-muted/40 p-3"
|
|
29169
|
-
},
|
|
29190
|
+
}, QQ = { class: "text-xs font-semibold text-foreground" }, e0 = { class: "mt-1 text-xs text-muted-foreground" }, t0 = { class: "mt-1 font-mono text-[11px] text-muted-foreground" }, o0 = (0, a.defineComponent)({
|
|
29170
29191
|
__name: "OptionsAddInsPane",
|
|
29171
29192
|
props: { addinStatus: {} },
|
|
29172
29193
|
setup(e) {
|
|
@@ -29177,45 +29198,45 @@ var aG = { class: "flex items-start gap-3" }, rG = { class: "flex h-10 w-10 item
|
|
|
29177
29198
|
title: o("pptx.options.addIns.inactive"),
|
|
29178
29199
|
rows: s.value
|
|
29179
29200
|
}]);
|
|
29180
|
-
return (e, t) => ((0, a.openBlock)(), (0, a.createElementBlock)("div",
|
|
29181
|
-
(0, a.createElementVNode)("div",
|
|
29201
|
+
return (e, t) => ((0, a.openBlock)(), (0, a.createElementBlock)("div", jQ, [
|
|
29202
|
+
(0, a.createElementVNode)("div", KQ, [
|
|
29182
29203
|
(0, a.createElementVNode)("span", null, (0, a.toDisplayString)((0, a.unref)(o)("pptx.options.addIns.name")), 1),
|
|
29183
29204
|
(0, a.createElementVNode)("span", null, (0, a.toDisplayString)((0, a.unref)(o)("pptx.options.addIns.location")), 1),
|
|
29184
29205
|
(0, a.createElementVNode)("span", null, (0, a.toDisplayString)((0, a.unref)(o)("pptx.options.addIns.type")), 1)
|
|
29185
29206
|
]),
|
|
29186
|
-
((0, a.openBlock)(!0), (0, a.createElementBlock)(a.Fragment, null, (0, a.renderList)(d.value, (e) => ((0, a.openBlock)(), (0, a.createElementBlock)("section", { key: e.title }, [(0, a.createElementVNode)("h4",
|
|
29207
|
+
((0, a.openBlock)(!0), (0, a.createElementBlock)(a.Fragment, null, (0, a.renderList)(d.value, (e) => ((0, a.openBlock)(), (0, a.createElementBlock)("section", { key: e.title }, [(0, a.createElementVNode)("h4", ZQ, (0, a.toDisplayString)(e.title), 1), 0 === e.rows.length ? ((0, a.openBlock)(), (0, a.createElementBlock)("p", HQ, (0, a.toDisplayString)((0, a.unref)(o)("pptx.options.addIns.description")), 1)) : ((0, a.openBlock)(), (0, a.createElementBlock)("table", WQ, [(0, a.createElementVNode)("tbody", null, [((0, a.openBlock)(!0), (0, a.createElementBlock)(a.Fragment, null, (0, a.renderList)(e.rows, (e) => ((0, a.openBlock)(), (0, a.createElementBlock)("tr", {
|
|
29187
29208
|
key: e.id,
|
|
29188
29209
|
class: (0, a.normalizeClass)(["cursor-pointer border-b border-border/40 transition-colors", r.value === e.id ? "bg-primary/10" : "hover:bg-accent"]),
|
|
29189
29210
|
onClick: (t) => r.value = e.id
|
|
29190
29211
|
}, [
|
|
29191
|
-
(0, a.createElementVNode)("td",
|
|
29192
|
-
(0, a.createElementVNode)("td",
|
|
29193
|
-
(0, a.createElementVNode)("td",
|
|
29194
|
-
], 10,
|
|
29195
|
-
c.value ? ((0, a.openBlock)(), (0, a.createElementBlock)("div",
|
|
29196
|
-
(0, a.createElementVNode)("p",
|
|
29197
|
-
(0, a.createElementVNode)("p",
|
|
29198
|
-
(0, a.createElementVNode)("p",
|
|
29212
|
+
(0, a.createElementVNode)("td", qQ, (0, a.toDisplayString)((0, a.unref)(o)(e.nameKey)), 1),
|
|
29213
|
+
(0, a.createElementVNode)("td", XQ, (0, a.toDisplayString)(e.location), 1),
|
|
29214
|
+
(0, a.createElementVNode)("td", YQ, (0, a.toDisplayString)((0, a.unref)(o)(`pptx.options.addInType.${e.type}`)), 1)
|
|
29215
|
+
], 10, GQ))), 128))])]))]))), 128)),
|
|
29216
|
+
c.value ? ((0, a.openBlock)(), (0, a.createElementBlock)("div", JQ, [
|
|
29217
|
+
(0, a.createElementVNode)("p", QQ, (0, a.toDisplayString)((0, a.unref)(o)(c.value.nameKey)), 1),
|
|
29218
|
+
(0, a.createElementVNode)("p", e0, (0, a.toDisplayString)((0, a.unref)(o)(c.value.descriptionKey)), 1),
|
|
29219
|
+
(0, a.createElementVNode)("p", t0, (0, a.toDisplayString)(c.value.location), 1)
|
|
29199
29220
|
])) : (0, a.createCommentVNode)("", !0)
|
|
29200
29221
|
]));
|
|
29201
29222
|
}
|
|
29202
|
-
}),
|
|
29223
|
+
}), a0 = { class: "text-sm text-foreground" }, r0 = ["title"], l0 = ["checked"], i0 = { class: "text-sm text-foreground" }, s0 = ["title"], c0 = ["aria-label", "value"], d0 = ["value"], p0 = {
|
|
29203
29224
|
key: 1,
|
|
29204
29225
|
class: "flex items-center gap-1.5"
|
|
29205
|
-
},
|
|
29226
|
+
}, u0 = [
|
|
29206
29227
|
"aria-label",
|
|
29207
29228
|
"min",
|
|
29208
29229
|
"max",
|
|
29209
29230
|
"step",
|
|
29210
29231
|
"value"
|
|
29211
|
-
],
|
|
29232
|
+
], m0 = {
|
|
29212
29233
|
key: 0,
|
|
29213
29234
|
class: "text-xs text-muted-foreground"
|
|
29214
|
-
},
|
|
29235
|
+
}, f0 = [
|
|
29215
29236
|
"aria-label",
|
|
29216
29237
|
"maxlength",
|
|
29217
29238
|
"value"
|
|
29218
|
-
],
|
|
29239
|
+
], v0 = (0, a.defineComponent)({
|
|
29219
29240
|
__name: "OptionsControlRow",
|
|
29220
29241
|
props: {
|
|
29221
29242
|
control: {},
|
|
@@ -29238,29 +29259,29 @@ var aG = { class: "flex items-start gap-3" }, rG = { class: "flex h-10 w-10 item
|
|
|
29238
29259
|
return (t, n) => "toggle" === e.control.kind ? ((0, a.openBlock)(), (0, a.createElementBlock)("label", {
|
|
29239
29260
|
key: 0,
|
|
29240
29261
|
class: (0, a.normalizeClass)(["pptx-vue-options-row flex cursor-pointer select-none items-center justify-between gap-3 py-1.5", { "pl-6": e.control.indent }])
|
|
29241
|
-
}, [(0, a.createElementVNode)("span",
|
|
29262
|
+
}, [(0, a.createElementVNode)("span", a0, [(0, a.createTextVNode)((0, a.toDisplayString)(i.value) + " ", 1), s.value ? ((0, a.openBlock)(), (0, a.createElementBlock)("span", {
|
|
29242
29263
|
key: 0,
|
|
29243
29264
|
title: s.value,
|
|
29244
29265
|
class: "inline-flex cursor-help align-middle"
|
|
29245
29266
|
}, [(0, a.createVNode)((0, a.unref)(l.Info), {
|
|
29246
29267
|
class: "ml-1 h-3.5 w-3.5 text-primary/70",
|
|
29247
29268
|
"aria-label": s.value
|
|
29248
|
-
}, null, 8, ["aria-label"])], 8,
|
|
29269
|
+
}, null, 8, ["aria-label"])], 8, r0)) : (0, a.createCommentVNode)("", !0)]), (0, a.createElementVNode)("input", {
|
|
29249
29270
|
type: "checkbox",
|
|
29250
29271
|
class: "h-4 w-4 shrink-0 accent-[var(--pptx-primary,#6366f1)]",
|
|
29251
29272
|
checked: !0 === r.value,
|
|
29252
29273
|
onChange: n[0] || (n[0] = (e) => c(e.target.checked))
|
|
29253
|
-
}, null, 40,
|
|
29274
|
+
}, null, 40, l0)], 2)) : ((0, a.openBlock)(), (0, a.createElementBlock)("div", {
|
|
29254
29275
|
key: 1,
|
|
29255
29276
|
class: (0, a.normalizeClass)(["pptx-vue-options-row flex items-center justify-between gap-3 py-1.5", { "pl-6": e.control.indent }])
|
|
29256
|
-
}, [(0, a.createElementVNode)("span",
|
|
29277
|
+
}, [(0, a.createElementVNode)("span", i0, [(0, a.createTextVNode)((0, a.toDisplayString)(i.value) + " ", 1), s.value ? ((0, a.openBlock)(), (0, a.createElementBlock)("span", {
|
|
29257
29278
|
key: 0,
|
|
29258
29279
|
title: s.value,
|
|
29259
29280
|
class: "inline-flex cursor-help align-middle"
|
|
29260
29281
|
}, [(0, a.createVNode)((0, a.unref)(l.Info), {
|
|
29261
29282
|
class: "ml-1 h-3.5 w-3.5 text-primary/70",
|
|
29262
29283
|
"aria-label": s.value
|
|
29263
|
-
}, null, 8, ["aria-label"])], 8,
|
|
29284
|
+
}, null, 8, ["aria-label"])], 8, s0)) : (0, a.createCommentVNode)("", !0)]), "select" === e.control.kind ? ((0, a.openBlock)(), (0, a.createElementBlock)("select", {
|
|
29264
29285
|
key: 0,
|
|
29265
29286
|
"aria-label": i.value,
|
|
29266
29287
|
class: "max-w-[55%] rounded border border-border bg-background px-2 py-1 text-xs text-foreground",
|
|
@@ -29269,7 +29290,7 @@ var aG = { class: "flex items-start gap-3" }, rG = { class: "flex h-10 w-10 item
|
|
|
29269
29290
|
}, [((0, a.openBlock)(!0), (0, a.createElementBlock)(a.Fragment, null, (0, a.renderList)(e.control.choices, (e) => ((0, a.openBlock)(), (0, a.createElementBlock)("option", {
|
|
29270
29291
|
key: e.value,
|
|
29271
29292
|
value: e.value
|
|
29272
|
-
}, (0, a.toDisplayString)((0, a.unref)(o)(e.labelKey)), 9,
|
|
29293
|
+
}, (0, a.toDisplayString)((0, a.unref)(o)(e.labelKey)), 9, d0))), 128))], 40, c0)) : "number" === e.control.kind ? ((0, a.openBlock)(), (0, a.createElementBlock)("span", p0, [(0, a.createElementVNode)("input", {
|
|
29273
29294
|
type: "number",
|
|
29274
29295
|
"aria-label": i.value,
|
|
29275
29296
|
class: "w-20 rounded border border-border bg-background px-2 py-1 text-right text-xs text-foreground",
|
|
@@ -29278,7 +29299,7 @@ var aG = { class: "flex items-start gap-3" }, rG = { class: "flex h-10 w-10 item
|
|
|
29278
29299
|
step: e.control.step ?? 1,
|
|
29279
29300
|
value: "number" == typeof r.value ? r.value : e.control.min,
|
|
29280
29301
|
onChange: d
|
|
29281
|
-
}, null, 40,
|
|
29302
|
+
}, null, 40, u0), e.control.unitKey ? ((0, a.openBlock)(), (0, a.createElementBlock)("span", m0, (0, a.toDisplayString)((0, a.unref)(o)(e.control.unitKey)), 1)) : (0, a.createCommentVNode)("", !0)])) : ((0, a.openBlock)(), (0, a.createElementBlock)("input", {
|
|
29282
29303
|
key: 2,
|
|
29283
29304
|
type: "text",
|
|
29284
29305
|
"aria-label": i.value,
|
|
@@ -29286,12 +29307,12 @@ var aG = { class: "flex items-start gap-3" }, rG = { class: "flex h-10 w-10 item
|
|
|
29286
29307
|
maxlength: "text" === e.control.kind ? e.control.maxLength : void 0,
|
|
29287
29308
|
value: "string" == typeof r.value ? r.value : "",
|
|
29288
29309
|
onInput: n[2] || (n[2] = (e) => c(e.target.value))
|
|
29289
|
-
}, null, 40,
|
|
29310
|
+
}, null, 40, f0))], 2));
|
|
29290
29311
|
}
|
|
29291
|
-
}),
|
|
29312
|
+
}), x0 = { class: "pptx-vue-options-pane space-y-5" }, g0 = { class: "text-sm font-medium text-foreground" }, h0 = { class: "mb-1 border-b border-border/60 pb-1 text-xs font-semibold uppercase tracking-wide text-muted-foreground" }, y0 = {
|
|
29292
29313
|
key: 0,
|
|
29293
29314
|
class: "mb-2 text-xs text-muted-foreground"
|
|
29294
|
-
},
|
|
29315
|
+
}, b0 = { class: "space-y-0.5" }, k0 = (0, a.defineComponent)({
|
|
29295
29316
|
__name: "OptionsPane",
|
|
29296
29317
|
props: {
|
|
29297
29318
|
tab: {},
|
|
@@ -29300,12 +29321,12 @@ var aG = { class: "flex items-start gap-3" }, rG = { class: "flex h-10 w-10 item
|
|
|
29300
29321
|
},
|
|
29301
29322
|
setup(e) {
|
|
29302
29323
|
const { t } = n.useI18n();
|
|
29303
|
-
return (n, o) => ((0, a.openBlock)(), (0, a.createElementBlock)("div",
|
|
29304
|
-
(0, a.createElementVNode)("p",
|
|
29324
|
+
return (n, o) => ((0, a.openBlock)(), (0, a.createElementBlock)("div", x0, [
|
|
29325
|
+
(0, a.createElementVNode)("p", g0, (0, a.toDisplayString)((0, a.unref)(t)(e.tab.descriptionKey)), 1),
|
|
29305
29326
|
((0, a.openBlock)(!0), (0, a.createElementBlock)(a.Fragment, null, (0, a.renderList)(e.tab.sections, (o) => ((0, a.openBlock)(), (0, a.createElementBlock)("section", { key: o.id }, [
|
|
29306
|
-
(0, a.createElementVNode)("h3",
|
|
29307
|
-
o.descriptionKey ? ((0, a.openBlock)(), (0, a.createElementBlock)("p",
|
|
29308
|
-
(0, a.createElementVNode)("div",
|
|
29327
|
+
(0, a.createElementVNode)("h3", h0, (0, a.toDisplayString)((0, a.unref)(t)(o.titleKey)), 1),
|
|
29328
|
+
o.descriptionKey ? ((0, a.openBlock)(), (0, a.createElementBlock)("p", y0, (0, a.toDisplayString)((0, a.unref)(t)(o.descriptionKey)), 1)) : (0, a.createCommentVNode)("", !0),
|
|
29329
|
+
(0, a.createElementVNode)("div", b0, [((0, a.openBlock)(!0), (0, a.createElementBlock)(a.Fragment, null, (0, a.renderList)(o.controls, (t) => ((0, a.openBlock)(), (0, a.createBlock)(v0, {
|
|
29309
29330
|
key: `${t.group}.${t.key}.${o.id}`,
|
|
29310
29331
|
control: t,
|
|
29311
29332
|
options: e.options,
|
|
@@ -29320,7 +29341,7 @@ var aG = { class: "flex items-start gap-3" }, rG = { class: "flex h-10 w-10 item
|
|
|
29320
29341
|
(0, a.renderSlot)(n.$slots, "default")
|
|
29321
29342
|
]));
|
|
29322
29343
|
}
|
|
29323
|
-
}),
|
|
29344
|
+
}), E0 = { class: "pptx-vue-options-quick-access space-y-3" }, w0 = { class: "flex items-stretch gap-3" }, S0 = { class: "flex-1" }, C0 = { class: "mb-1 text-xs font-medium text-muted-foreground" }, B0 = ["aria-label"], N0 = ["aria-selected", "onClick"], V0 = { class: "flex flex-col justify-center gap-2" }, D0 = ["disabled"], _0 = ["disabled"], T0 = { class: "flex-1" }, I0 = { class: "mb-1 text-xs font-medium text-muted-foreground" }, z0 = ["aria-label"], P0 = ["aria-selected", "onClick"], F0 = { class: "flex flex-col justify-center gap-2" }, A0 = ["aria-label", "disabled"], M0 = ["aria-label", "disabled"], O0 = (0, a.defineComponent)({
|
|
29324
29345
|
__name: "OptionsQuickAccessPane",
|
|
29325
29346
|
props: {
|
|
29326
29347
|
options: {},
|
|
@@ -29342,8 +29363,8 @@ var aG = { class: "flex items-start gap-3" }, rG = { class: "flex h-10 w-10 item
|
|
|
29342
29363
|
function m(e) {
|
|
29343
29364
|
i.value && t.onQuickAccessCommandsChange(n.moveQuickAccessCommand(s.value, i.value, e));
|
|
29344
29365
|
}
|
|
29345
|
-
return (t, n) => ((0, a.openBlock)(), (0, a.createElementBlock)("div",
|
|
29346
|
-
(0, a.createElementVNode)("div",
|
|
29366
|
+
return (t, n) => ((0, a.openBlock)(), (0, a.createElementBlock)("div", E0, [(0, a.createElementVNode)("div", w0, [
|
|
29367
|
+
(0, a.createElementVNode)("div", S0, [(0, a.createElementVNode)("p", C0, (0, a.toDisplayString)((0, a.unref)(o)("pptx.options.quickAccess.chooseCommands")), 1), (0, a.createElementVNode)("div", {
|
|
29347
29368
|
role: "listbox",
|
|
29348
29369
|
"aria-label": (0, a.unref)(o)("pptx.options.quickAccess.chooseCommands"),
|
|
29349
29370
|
class: "h-48 space-y-0.5 overflow-y-auto rounded border border-border/60 p-1"
|
|
@@ -29354,19 +29375,19 @@ var aG = { class: "flex items-start gap-3" }, rG = { class: "flex h-10 w-10 item
|
|
|
29354
29375
|
"aria-selected": r.value === e,
|
|
29355
29376
|
class: (0, a.normalizeClass)(["flex w-full items-center rounded px-2 py-1.5 text-left text-sm transition-colors", r.value === e ? "bg-primary/15 text-primary" : "text-foreground hover:bg-accent"]),
|
|
29356
29377
|
onClick: (t) => r.value = e
|
|
29357
|
-
}, (0, a.toDisplayString)(d(e)), 11,
|
|
29358
|
-
(0, a.createElementVNode)("div",
|
|
29378
|
+
}, (0, a.toDisplayString)(d(e)), 11, N0))), 128))], 8, B0)]),
|
|
29379
|
+
(0, a.createElementVNode)("div", V0, [(0, a.createElementVNode)("button", {
|
|
29359
29380
|
type: "button",
|
|
29360
29381
|
disabled: !r.value,
|
|
29361
29382
|
class: "rounded border border-border px-3 py-1.5 text-xs text-foreground transition-colors hover:bg-accent disabled:cursor-not-allowed disabled:opacity-50",
|
|
29362
29383
|
onClick: p
|
|
29363
|
-
}, (0, a.toDisplayString)((0, a.unref)(o)("pptx.options.quickAccess.add")) + " >> ", 9,
|
|
29384
|
+
}, (0, a.toDisplayString)((0, a.unref)(o)("pptx.options.quickAccess.add")) + " >> ", 9, D0), (0, a.createElementVNode)("button", {
|
|
29364
29385
|
type: "button",
|
|
29365
29386
|
disabled: !i.value,
|
|
29366
29387
|
class: "rounded border border-border px-3 py-1.5 text-xs text-foreground transition-colors hover:bg-accent disabled:cursor-not-allowed disabled:opacity-50",
|
|
29367
29388
|
onClick: u
|
|
29368
|
-
}, " << " + (0, a.toDisplayString)((0, a.unref)(o)("pptx.options.quickAccess.remove")), 9,
|
|
29369
|
-
(0, a.createElementVNode)("div",
|
|
29389
|
+
}, " << " + (0, a.toDisplayString)((0, a.unref)(o)("pptx.options.quickAccess.remove")), 9, _0)]),
|
|
29390
|
+
(0, a.createElementVNode)("div", T0, [(0, a.createElementVNode)("p", I0, (0, a.toDisplayString)((0, a.unref)(o)("pptx.options.quickAccess.currentCommands")), 1), (0, a.createElementVNode)("div", {
|
|
29370
29391
|
role: "listbox",
|
|
29371
29392
|
"aria-label": (0, a.unref)(o)("pptx.options.quickAccess.currentCommands"),
|
|
29372
29393
|
class: "h-48 space-y-0.5 overflow-y-auto rounded border border-border/60 p-1"
|
|
@@ -29377,31 +29398,31 @@ var aG = { class: "flex items-start gap-3" }, rG = { class: "flex h-10 w-10 item
|
|
|
29377
29398
|
"aria-selected": i.value === e,
|
|
29378
29399
|
class: (0, a.normalizeClass)(["flex w-full items-center rounded px-2 py-1.5 text-left text-sm transition-colors", i.value === e ? "bg-primary/15 text-primary" : "text-foreground hover:bg-accent"]),
|
|
29379
29400
|
onClick: (t) => i.value = e
|
|
29380
|
-
}, (0, a.toDisplayString)(d(e)), 11,
|
|
29381
|
-
(0, a.createElementVNode)("div",
|
|
29401
|
+
}, (0, a.toDisplayString)(d(e)), 11, P0))), 128))], 8, z0)]),
|
|
29402
|
+
(0, a.createElementVNode)("div", F0, [(0, a.createElementVNode)("button", {
|
|
29382
29403
|
type: "button",
|
|
29383
29404
|
"aria-label": (0, a.unref)(o)("pptx.options.quickAccess.moveUp"),
|
|
29384
29405
|
disabled: !i.value,
|
|
29385
29406
|
class: "rounded border border-border p-1.5 text-foreground transition-colors hover:bg-accent disabled:cursor-not-allowed disabled:opacity-50",
|
|
29386
29407
|
onClick: n[0] || (n[0] = (e) => m("up"))
|
|
29387
|
-
}, [(0, a.createVNode)((0, a.unref)(l.ChevronUp), { class: "h-4 w-4" })], 8,
|
|
29408
|
+
}, [(0, a.createVNode)((0, a.unref)(l.ChevronUp), { class: "h-4 w-4" })], 8, A0), (0, a.createElementVNode)("button", {
|
|
29388
29409
|
type: "button",
|
|
29389
29410
|
"aria-label": (0, a.unref)(o)("pptx.options.quickAccess.moveDown"),
|
|
29390
29411
|
disabled: !i.value,
|
|
29391
29412
|
class: "rounded border border-border p-1.5 text-foreground transition-colors hover:bg-accent disabled:cursor-not-allowed disabled:opacity-50",
|
|
29392
29413
|
onClick: n[1] || (n[1] = (e) => m("down"))
|
|
29393
|
-
}, [(0, a.createVNode)((0, a.unref)(l.ChevronDown), { class: "h-4 w-4" })], 8,
|
|
29414
|
+
}, [(0, a.createVNode)((0, a.unref)(l.ChevronDown), { class: "h-4 w-4" })], 8, M0)])
|
|
29394
29415
|
]), (0, a.createElementVNode)("button", {
|
|
29395
29416
|
type: "button",
|
|
29396
29417
|
class: "rounded border border-border px-3 py-1.5 text-xs text-foreground transition-colors hover:bg-accent",
|
|
29397
29418
|
onClick: n[2] || (n[2] = (...t) => e.onResetQuickAccess && e.onResetQuickAccess(...t))
|
|
29398
29419
|
}, (0, a.toDisplayString)((0, a.unref)(o)("pptx.options.quickAccess.reset")), 1)]));
|
|
29399
29420
|
}
|
|
29400
|
-
}),
|
|
29421
|
+
}), L0 = { class: "pptx-vue-options-ribbon space-y-5" }, R0 = { class: "mb-1 border-b border-border/60 pb-1 text-xs font-semibold uppercase tracking-wide text-muted-foreground" }, U0 = { class: "mb-2 text-xs text-muted-foreground" }, j0 = { class: "space-y-0.5 rounded border border-border/60 p-2" }, K0 = [
|
|
29401
29422
|
"checked",
|
|
29402
29423
|
"disabled",
|
|
29403
29424
|
"onChange"
|
|
29404
|
-
],
|
|
29425
|
+
], Z0 = { class: "text-sm text-foreground" }, H0 = { class: "mb-1 border-b border-border/60 pb-1 text-xs font-semibold uppercase tracking-wide text-muted-foreground" }, W0 = { class: "space-y-0.5" }, G0 = { class: "text-xs text-foreground" }, q0 = { class: "whitespace-nowrap font-mono text-[11px] text-muted-foreground" }, X0 = (0, a.defineComponent)({
|
|
29405
29426
|
__name: "OptionsRibbonPane",
|
|
29406
29427
|
props: {
|
|
29407
29428
|
options: {},
|
|
@@ -29410,10 +29431,10 @@ var aG = { class: "flex items-start gap-3" }, rG = { class: "flex h-10 w-10 item
|
|
|
29410
29431
|
},
|
|
29411
29432
|
setup(e) {
|
|
29412
29433
|
const t = e, { t: o } = n.useI18n(), r = n.TOOLBAR_TABS, l = n.SHORTCUT_REFERENCE_ITEMS, i = (0, a.computed)(() => new Set(t.options.ribbon.hiddenTabIds));
|
|
29413
|
-
return (t, n) => ((0, a.openBlock)(), (0, a.createElementBlock)("div",
|
|
29414
|
-
(0, a.createElementVNode)("h3",
|
|
29415
|
-
(0, a.createElementVNode)("p",
|
|
29416
|
-
(0, a.createElementVNode)("div",
|
|
29434
|
+
return (t, n) => ((0, a.openBlock)(), (0, a.createElementBlock)("div", L0, [(0, a.createElementVNode)("section", null, [
|
|
29435
|
+
(0, a.createElementVNode)("h3", R0, (0, a.toDisplayString)((0, a.unref)(o)("pptx.options.ribbon.tabsTitle")), 1),
|
|
29436
|
+
(0, a.createElementVNode)("p", U0, (0, a.toDisplayString)((0, a.unref)(o)("pptx.options.ribbon.tabsDescription")), 1),
|
|
29437
|
+
(0, a.createElementVNode)("div", j0, [((0, a.openBlock)(!0), (0, a.createElementBlock)(a.Fragment, null, (0, a.renderList)((0, a.unref)(r), (t) => ((0, a.openBlock)(), (0, a.createElementBlock)("label", {
|
|
29417
29438
|
key: t.id,
|
|
29418
29439
|
class: (0, a.normalizeClass)(["pptx-vue-options-ribbon-tab flex items-center gap-2 rounded px-2 py-1.5", "file" === t.id ? "cursor-not-allowed opacity-60" : "cursor-pointer hover:bg-accent"])
|
|
29419
29440
|
}, [(0, a.createElementVNode)("input", {
|
|
@@ -29422,27 +29443,27 @@ var aG = { class: "flex items-start gap-3" }, rG = { class: "flex h-10 w-10 item
|
|
|
29422
29443
|
checked: "file" === t.id || !i.value.has(t.id),
|
|
29423
29444
|
disabled: "file" === t.id,
|
|
29424
29445
|
onChange: (n) => e.onRibbonTabHiddenChange(t.id, !n.target.checked)
|
|
29425
|
-
}, null, 40,
|
|
29446
|
+
}, null, 40, K0), (0, a.createElementVNode)("span", Z0, (0, a.toDisplayString)((0, a.unref)(o)(t.labelKey)), 1)], 2))), 128))]),
|
|
29426
29447
|
(0, a.createElementVNode)("button", {
|
|
29427
29448
|
type: "button",
|
|
29428
29449
|
class: "mt-2 rounded border border-border px-3 py-1.5 text-xs text-foreground transition-colors hover:bg-accent",
|
|
29429
29450
|
onClick: n[0] || (n[0] = (...t) => e.onResetRibbon && e.onResetRibbon(...t))
|
|
29430
29451
|
}, (0, a.toDisplayString)((0, a.unref)(o)("pptx.options.ribbon.reset")), 1)
|
|
29431
|
-
]), (0, a.createElementVNode)("section", null, [(0, a.createElementVNode)("h3",
|
|
29452
|
+
]), (0, a.createElementVNode)("section", null, [(0, a.createElementVNode)("h3", H0, (0, a.toDisplayString)((0, a.unref)(o)("pptx.settings.keyboardShortcuts")), 1), (0, a.createElementVNode)("div", W0, [((0, a.openBlock)(!0), (0, a.createElementBlock)(a.Fragment, null, (0, a.renderList)((0, a.unref)(l), (e, t) => ((0, a.openBlock)(), (0, a.createElementBlock)("div", {
|
|
29432
29453
|
key: e.actionKey,
|
|
29433
29454
|
class: (0, a.normalizeClass)(["pptx-vue-options-shortcut flex items-center justify-between gap-3 rounded px-3 py-2", { "bg-muted/60": t % 2 == 0 }])
|
|
29434
|
-
}, [(0, a.createElementVNode)("span",
|
|
29455
|
+
}, [(0, a.createElementVNode)("span", G0, (0, a.toDisplayString)((0, a.unref)(o)(e.actionKey)), 1), (0, a.createElementVNode)("span", q0, (0, a.toDisplayString)(e.shortcut), 1)], 2))), 128))])])]));
|
|
29435
29456
|
}
|
|
29436
29457
|
});
|
|
29437
|
-
function
|
|
29458
|
+
function Y0(e) {
|
|
29438
29459
|
return new Date(Number.isFinite(e) ? e : 0).toISOString();
|
|
29439
29460
|
}
|
|
29440
|
-
function
|
|
29461
|
+
function J0(e, t) {
|
|
29441
29462
|
const n = t?.detailed ?? !0;
|
|
29442
29463
|
return {
|
|
29443
29464
|
format: "pptx-ai-chat-log",
|
|
29444
29465
|
version: 1,
|
|
29445
|
-
exportedAt:
|
|
29466
|
+
exportedAt: Y0(t?.now ?? Date.now()),
|
|
29446
29467
|
detailed: n,
|
|
29447
29468
|
chatCount: e.length,
|
|
29448
29469
|
chats: e.map((e) => function(e, t) {
|
|
@@ -29468,19 +29489,19 @@ function X0(e, t) {
|
|
|
29468
29489
|
deckId: e.deckId,
|
|
29469
29490
|
createdAt: e.createdAt,
|
|
29470
29491
|
updatedAt: e.updatedAt,
|
|
29471
|
-
createdAtIso:
|
|
29472
|
-
updatedAtIso:
|
|
29492
|
+
createdAtIso: Y0(e.createdAt),
|
|
29493
|
+
updatedAtIso: Y0(e.updatedAt),
|
|
29473
29494
|
messageCount: e.messages.length,
|
|
29474
29495
|
messages: n
|
|
29475
29496
|
};
|
|
29476
29497
|
}(e, n))
|
|
29477
29498
|
};
|
|
29478
29499
|
}
|
|
29479
|
-
function
|
|
29500
|
+
function Q0(e, t) {
|
|
29480
29501
|
const n = [`- Tool \`${e.toolName}\` (${e.state})`];
|
|
29481
29502
|
return e.errorText && n.push(` - error: ${e.errorText}`), t && (n.push(" - input:"), n.push(" ```json"), n.push(JSON.stringify(e.input ?? null, null, 2)), n.push(" ```"), n.push(" - output:"), n.push(" ```json"), n.push(JSON.stringify(e.output ?? null, null, 2)), n.push(" ```")), n.join("\n");
|
|
29482
29503
|
}
|
|
29483
|
-
function
|
|
29504
|
+
function e1(e) {
|
|
29484
29505
|
const t = [
|
|
29485
29506
|
"# AI chat logs",
|
|
29486
29507
|
"",
|
|
@@ -29492,12 +29513,12 @@ function J0(e) {
|
|
|
29492
29513
|
t.push(`## ${n.title || n.id}`), t.push(""), t.push(`- id: ${n.id}`), n.deckId && t.push(`- deck: ${n.deckId}`), t.push(`- created: ${n.createdAtIso}`), t.push(`- updated: ${n.updatedAtIso}`), t.push(`- messages: ${n.messageCount}`), t.push("");
|
|
29493
29514
|
for (const o of n.messages) {
|
|
29494
29515
|
t.push(`### ${o.role}`), t.push(""), o.text && (t.push(o.text), t.push(""));
|
|
29495
|
-
for (const n of o.toolCalls) t.push(
|
|
29516
|
+
for (const n of o.toolCalls) t.push(Q0(n, e.detailed)), t.push("");
|
|
29496
29517
|
}
|
|
29497
29518
|
}
|
|
29498
29519
|
return t.join("\n");
|
|
29499
29520
|
}
|
|
29500
|
-
async function
|
|
29521
|
+
async function t1(e) {
|
|
29501
29522
|
const t = e?.store ?? $p(), o = e?.format ?? "json", a = e?.now ?? Date.now(), r = await async function(e) {
|
|
29502
29523
|
const t = await e.listChats(), n = [];
|
|
29503
29524
|
for (const o of t) {
|
|
@@ -29507,7 +29528,7 @@ async function Q0(e) {
|
|
|
29507
29528
|
return n;
|
|
29508
29529
|
}(t);
|
|
29509
29530
|
if (0 === r.length) return 0;
|
|
29510
|
-
const l =
|
|
29531
|
+
const l = J0(r, {
|
|
29511
29532
|
detailed: e?.detailed ?? !0,
|
|
29512
29533
|
now: a
|
|
29513
29534
|
}), i = function(e) {
|
|
@@ -29515,7 +29536,7 @@ async function Q0(e) {
|
|
|
29515
29536
|
return `${t.getFullYear()}${n(t.getMonth() + 1)}${n(t.getDate())}-${n(t.getHours())}${n(t.getMinutes())}${n(t.getSeconds())}`;
|
|
29516
29537
|
}(a);
|
|
29517
29538
|
if ("markdown" === o) {
|
|
29518
|
-
const e = new Blob([
|
|
29539
|
+
const e = new Blob([e1(l)], { type: "text/markdown" });
|
|
29519
29540
|
n.downloadBlob(e, `pptx-ai-chats-${i}.md`);
|
|
29520
29541
|
} else {
|
|
29521
29542
|
const e = new Blob([JSON.stringify(l, null, 2)], { type: "application/json" });
|
|
@@ -29523,11 +29544,11 @@ async function Q0(e) {
|
|
|
29523
29544
|
}
|
|
29524
29545
|
return r.length;
|
|
29525
29546
|
}
|
|
29526
|
-
var
|
|
29547
|
+
var n1 = { class: "space-y-4" }, o1 = { class: "flex items-start gap-2 rounded-lg border border-border/60 bg-muted/30 p-3" }, a1 = { class: "text-sm font-medium text-foreground" }, r1 = { class: "mt-1 text-xs text-muted-foreground" }, l1 = { class: "text-xs text-muted-foreground" }, i1 = { class: "flex items-center gap-2 text-xs text-foreground" }, s1 = { class: "flex flex-wrap items-center gap-2" }, c1 = ["disabled"], d1 = ["disabled"], p1 = {
|
|
29527
29548
|
key: 0,
|
|
29528
29549
|
class: "text-xs text-muted-foreground",
|
|
29529
29550
|
role: "status"
|
|
29530
|
-
},
|
|
29551
|
+
}, m1 = (0, a.defineComponent)({
|
|
29531
29552
|
__name: "SettingsAiTab",
|
|
29532
29553
|
props: { store: {} },
|
|
29533
29554
|
setup(e) {
|
|
@@ -29535,7 +29556,7 @@ var e1 = { class: "space-y-4" }, t1 = { class: "flex items-start gap-2 rounded-l
|
|
|
29535
29556
|
async function p(e) {
|
|
29536
29557
|
c.value = "busy";
|
|
29537
29558
|
try {
|
|
29538
|
-
d.value = await
|
|
29559
|
+
d.value = await t1({
|
|
29539
29560
|
store: r.value,
|
|
29540
29561
|
format: e,
|
|
29541
29562
|
detailed: s.value
|
|
@@ -29552,29 +29573,29 @@ var e1 = { class: "space-y-4" }, t1 = { class: "flex items-start gap-2 rounded-l
|
|
|
29552
29573
|
} catch {
|
|
29553
29574
|
i.value = 0;
|
|
29554
29575
|
}
|
|
29555
|
-
}), (e, t) => ((0, a.openBlock)(), (0, a.createElementBlock)("div",
|
|
29556
|
-
(0, a.createElementVNode)("div",
|
|
29557
|
-
(0, a.createElementVNode)("p",
|
|
29558
|
-
(0, a.createElementVNode)("label",
|
|
29576
|
+
}), (e, t) => ((0, a.openBlock)(), (0, a.createElementBlock)("div", n1, [
|
|
29577
|
+
(0, a.createElementVNode)("div", o1, [(0, a.createVNode)((0, a.unref)(l.Bug), { class: "mt-0.5 h-4 w-4 shrink-0 text-primary" }), (0, a.createElementVNode)("div", null, [(0, a.createElementVNode)("p", a1, (0, a.toDisplayString)((0, a.unref)(o)("pptx.ai.settingsSectionTitle")), 1), (0, a.createElementVNode)("p", r1, (0, a.toDisplayString)((0, a.unref)(o)("pptx.ai.exportLogsHint")), 1)])]),
|
|
29578
|
+
(0, a.createElementVNode)("p", l1, (0, a.toDisplayString)(null === i.value ? (0, a.unref)(o)("pptx.ai.exportLogsCounting") : (0, a.unref)(o)("pptx.ai.exportLogsStoredCount", { count: i.value })), 1),
|
|
29579
|
+
(0, a.createElementVNode)("label", i1, [(0, a.withDirectives)((0, a.createElementVNode)("input", {
|
|
29559
29580
|
"onUpdate:modelValue": t[0] || (t[0] = (e) => s.value = e),
|
|
29560
29581
|
type: "checkbox",
|
|
29561
29582
|
class: "h-3.5 w-3.5 rounded border-border"
|
|
29562
29583
|
}, null, 512), [[a.vModelCheckbox, s.value]]), (0, a.createTextVNode)(" " + (0, a.toDisplayString)((0, a.unref)(o)("pptx.ai.exportLogsDetailed")), 1)]),
|
|
29563
|
-
(0, a.createElementVNode)("div",
|
|
29584
|
+
(0, a.createElementVNode)("div", s1, [(0, a.createElementVNode)("button", {
|
|
29564
29585
|
type: "button",
|
|
29565
29586
|
disabled: "busy" === c.value,
|
|
29566
29587
|
class: "inline-flex items-center gap-1.5 rounded border border-border px-3 py-1.5 text-xs text-foreground transition-colors hover:bg-accent disabled:opacity-50",
|
|
29567
29588
|
onClick: t[1] || (t[1] = (e) => p("json"))
|
|
29568
|
-
}, [(0, a.createVNode)((0, a.unref)(l.Download), { class: "h-3.5 w-3.5" }), (0, a.createTextVNode)(" " + (0, a.toDisplayString)((0, a.unref)(o)("pptx.ai.exportLogsJson")), 1)], 8,
|
|
29589
|
+
}, [(0, a.createVNode)((0, a.unref)(l.Download), { class: "h-3.5 w-3.5" }), (0, a.createTextVNode)(" " + (0, a.toDisplayString)((0, a.unref)(o)("pptx.ai.exportLogsJson")), 1)], 8, c1), (0, a.createElementVNode)("button", {
|
|
29569
29590
|
type: "button",
|
|
29570
29591
|
disabled: "busy" === c.value,
|
|
29571
29592
|
class: "inline-flex items-center gap-1.5 rounded border border-border px-3 py-1.5 text-xs text-foreground transition-colors hover:bg-accent disabled:opacity-50",
|
|
29572
29593
|
onClick: t[2] || (t[2] = (e) => p("markdown"))
|
|
29573
|
-
}, [(0, a.createVNode)((0, a.unref)(l.Download), { class: "h-3.5 w-3.5" }), (0, a.createTextVNode)(" " + (0, a.toDisplayString)((0, a.unref)(o)("pptx.ai.exportLogsMarkdown")), 1)], 8,
|
|
29574
|
-
"done" === c.value ? ((0, a.openBlock)(), (0, a.createElementBlock)("p",
|
|
29594
|
+
}, [(0, a.createVNode)((0, a.unref)(l.Download), { class: "h-3.5 w-3.5" }), (0, a.createTextVNode)(" " + (0, a.toDisplayString)((0, a.unref)(o)("pptx.ai.exportLogsMarkdown")), 1)], 8, d1)]),
|
|
29595
|
+
"done" === c.value ? ((0, a.openBlock)(), (0, a.createElementBlock)("p", p1, (0, a.toDisplayString)(d.value > 0 ? (0, a.unref)(o)("pptx.ai.exportLogsDone", { count: d.value }) : (0, a.unref)(o)("pptx.ai.noChatsToExport")), 1)) : (0, a.createCommentVNode)("", !0)
|
|
29575
29596
|
]));
|
|
29576
29597
|
}
|
|
29577
|
-
}),
|
|
29598
|
+
}), f1 = { class: "pptx-vue-settings-panel flex max-h-[56vh] flex-col gap-1.5 overflow-y-auto p-1" }, v1 = ["aria-pressed", "onClick"], g1 = (0, a.defineComponent)({
|
|
29578
29599
|
__name: "SettingsAppearanceTab",
|
|
29579
29600
|
props: {
|
|
29580
29601
|
themeKey: {},
|
|
@@ -29586,7 +29607,7 @@ var e1 = { class: "space-y-4" }, t1 = { class: "flex items-start gap-2 rounded-l
|
|
|
29586
29607
|
function l(e) {
|
|
29587
29608
|
return e.theme?.colors?.primary ?? "#6b7280";
|
|
29588
29609
|
}
|
|
29589
|
-
return (t, n) => ((0, a.openBlock)(), (0, a.createElementBlock)("div",
|
|
29610
|
+
return (t, n) => ((0, a.openBlock)(), (0, a.createElementBlock)("div", f1, [((0, a.openBlock)(!0), (0, a.createElementBlock)(a.Fragment, null, (0, a.renderList)(r.value, (t) => ((0, a.openBlock)(), (0, a.createElementBlock)("button", {
|
|
29590
29611
|
key: t.key,
|
|
29591
29612
|
type: "button",
|
|
29592
29613
|
class: (0, a.normalizeClass)(["pptx-vue-settings-theme-swatch flex items-center gap-3 rounded border px-3 py-2 text-left text-[13px] transition-colors", e.themeKey === t.key ? "pptx-vue-settings-theme-swatch--active border-primary bg-accent text-foreground" : "border-border text-foreground hover:bg-accent/60"]),
|
|
@@ -29596,44 +29617,44 @@ var e1 = { class: "space-y-4" }, t1 = { class: "flex items-start gap-2 rounded-l
|
|
|
29596
29617
|
class: "pptx-vue-settings-theme-swatch-preview inline-block size-6 shrink-0 rounded-full border border-border",
|
|
29597
29618
|
style: (0, a.normalizeStyle)({ background: l(t) }),
|
|
29598
29619
|
"aria-hidden": "true"
|
|
29599
|
-
}, null, 4), (0, a.createTextVNode)(" " + (0, a.toDisplayString)((0, a.unref)(o)(t.labelKey)), 1)], 10,
|
|
29620
|
+
}, null, 4), (0, a.createTextVNode)(" " + (0, a.toDisplayString)((0, a.unref)(o)(t.labelKey)), 1)], 10, v1))), 128))]));
|
|
29600
29621
|
}
|
|
29601
|
-
}),
|
|
29622
|
+
}), h1 = { class: "pptx-vue-settings-panel flex max-h-[56vh] flex-col gap-1 overflow-y-auto p-1" }, y1 = ["aria-pressed", "onClick"], b1 = {
|
|
29602
29623
|
key: 0,
|
|
29603
29624
|
class: "pptx-vue-settings-locale-row-label text-xs text-muted-foreground"
|
|
29604
|
-
},
|
|
29625
|
+
}, E1 = (0, a.defineComponent)({
|
|
29605
29626
|
__name: "SettingsLanguageTab",
|
|
29606
29627
|
props: {
|
|
29607
29628
|
localeCode: {},
|
|
29608
29629
|
locales: {},
|
|
29609
29630
|
onSelect: { type: Function }
|
|
29610
29631
|
},
|
|
29611
|
-
setup: (e) => (t, n) => ((0, a.openBlock)(), (0, a.createElementBlock)("div",
|
|
29632
|
+
setup: (e) => (t, n) => ((0, a.openBlock)(), (0, a.createElementBlock)("div", h1, [((0, a.openBlock)(!0), (0, a.createElementBlock)(a.Fragment, null, (0, a.renderList)(e.locales, (t) => ((0, a.openBlock)(), (0, a.createElementBlock)("button", {
|
|
29612
29633
|
key: t.code,
|
|
29613
29634
|
type: "button",
|
|
29614
29635
|
class: (0, a.normalizeClass)(["pptx-vue-settings-locale-row flex items-center justify-between gap-3 rounded px-3 py-2 text-left text-[13px] transition-colors", e.localeCode === t.code ? "pptx-vue-settings-locale-row--active bg-accent font-medium text-primary" : "text-foreground hover:bg-accent/60"]),
|
|
29615
29636
|
"aria-pressed": e.localeCode === t.code,
|
|
29616
29637
|
onClick: (n) => e.onSelect(t.code)
|
|
29617
|
-
}, [(0, a.createElementVNode)("span", null, (0, a.toDisplayString)(t.nativeLabel), 1), t.nativeLabel !== t.label ? ((0, a.openBlock)(), (0, a.createElementBlock)("span",
|
|
29618
|
-
}),
|
|
29638
|
+
}, [(0, a.createElementVNode)("span", null, (0, a.toDisplayString)(t.nativeLabel), 1), t.nativeLabel !== t.label ? ((0, a.openBlock)(), (0, a.createElementBlock)("span", b1, (0, a.toDisplayString)(t.label), 1)) : (0, a.createCommentVNode)("", !0)], 10, y1))), 128))]))
|
|
29639
|
+
}), w1 = ["aria-label"], S1 = { class: "pointer-events-none fixed inset-0 z-[1201] flex items-center justify-center" }, C1 = ["aria-label"], B1 = { class: "pptx-vue-options-header flex items-center justify-between border-b border-border/60 px-5 py-4" }, N1 = { class: "flex items-center gap-2" }, V1 = { class: "text-sm font-semibold text-foreground" }, D1 = ["aria-label"], _1 = { class: "flex min-h-0 flex-1 max-md:flex-col" }, T1 = ["aria-label"], I1 = ["aria-current", "onClick"], z1 = ["aria-current"], P1 = { class: "pptx-vue-options-body min-h-0 flex-1 overflow-y-auto px-5 py-4" }, F1 = {
|
|
29619
29640
|
key: 0,
|
|
29620
29641
|
class: "space-y-4"
|
|
29621
|
-
},
|
|
29642
|
+
}, A1 = { class: "text-sm font-medium text-foreground" }, M1 = {
|
|
29622
29643
|
key: 1,
|
|
29623
29644
|
class: "space-y-4"
|
|
29624
|
-
},
|
|
29645
|
+
}, $1 = { class: "text-sm font-medium text-foreground" }, O1 = { class: "mb-1 border-b border-border/60 pb-1 text-xs font-semibold uppercase tracking-wide text-muted-foreground" }, L1 = { class: "mb-2 text-xs text-muted-foreground" }, R1 = {
|
|
29625
29646
|
key: 2,
|
|
29626
29647
|
class: "space-y-4"
|
|
29627
|
-
},
|
|
29648
|
+
}, U1 = { class: "text-sm font-medium text-foreground" }, j1 = {
|
|
29628
29649
|
key: 3,
|
|
29629
29650
|
class: "space-y-4"
|
|
29630
|
-
},
|
|
29651
|
+
}, K1 = { class: "text-sm font-medium text-foreground" }, Z1 = {
|
|
29631
29652
|
key: 0,
|
|
29632
29653
|
class: "mt-2"
|
|
29633
|
-
},
|
|
29654
|
+
}, H1 = {
|
|
29634
29655
|
key: 1,
|
|
29635
29656
|
class: "mt-2"
|
|
29636
|
-
},
|
|
29657
|
+
}, W1 = { class: "mb-2 text-xs text-muted-foreground" }, G1 = { class: "pptx-vue-options-footer flex items-center justify-between gap-2 border-t border-border/60 px-5 py-3" }, q1 = { class: "flex items-center gap-2" }, X1 = "ai", Y1 = (0, a.defineComponent)({
|
|
29637
29658
|
__name: "SettingsDialog",
|
|
29638
29659
|
props: {
|
|
29639
29660
|
open: { type: Boolean },
|
|
@@ -29677,22 +29698,22 @@ var e1 = { class: "space-y-4" }, t1 = { class: "flex items-start gap-2 rounded-l
|
|
|
29677
29698
|
class: "pptx-vue-options-backdrop fixed inset-0 z-[1200] bg-black/60",
|
|
29678
29699
|
"aria-label": (0, a.unref)(i)("pptx.settings.closeSettings"),
|
|
29679
29700
|
onClick: p
|
|
29680
|
-
}, null, 8,
|
|
29701
|
+
}, null, 8, w1), (0, a.createElementVNode)("div", S1, [(0, a.createElementVNode)("div", {
|
|
29681
29702
|
role: "dialog",
|
|
29682
29703
|
"aria-modal": "true",
|
|
29683
29704
|
"aria-label": (0, a.unref)(i)("pptx.options.title"),
|
|
29684
29705
|
class: "pptx-vue-options-dialog pointer-events-auto flex max-h-[85vh] w-[min(56rem,calc(100%-2rem))] flex-col rounded-xl border border-border bg-popover text-foreground shadow-2xl backdrop-blur-xl max-md:fixed max-md:inset-x-0 max-md:bottom-0 max-md:top-auto max-md:max-h-[88dvh] max-md:w-full max-md:rounded-b-none max-md:rounded-t-2xl max-md:border-x-0 max-md:border-b-0 max-md:pb-[max(env(safe-area-inset-bottom),0px)]"
|
|
29685
29706
|
}, [
|
|
29686
|
-
(0, a.createElementVNode)("div",
|
|
29707
|
+
(0, a.createElementVNode)("div", B1, [(0, a.createElementVNode)("div", N1, [(0, a.createVNode)((0, a.unref)(l.Settings), {
|
|
29687
29708
|
class: "h-5 w-5 text-primary",
|
|
29688
29709
|
"aria-hidden": "true"
|
|
29689
|
-
}), (0, a.createElementVNode)("h2",
|
|
29710
|
+
}), (0, a.createElementVNode)("h2", V1, (0, a.toDisplayString)((0, a.unref)(i)("pptx.options.title")), 1)]), (0, a.createElementVNode)("button", {
|
|
29690
29711
|
type: "button",
|
|
29691
29712
|
class: "rounded p-1 transition-colors hover:bg-accent",
|
|
29692
29713
|
"aria-label": (0, a.unref)(i)("pptx.settings.close"),
|
|
29693
29714
|
onClick: p
|
|
29694
|
-
}, [(0, a.createVNode)((0, a.unref)(l.X), { class: "h-4 w-4 text-muted-foreground" })], 8,
|
|
29695
|
-
(0, a.createElementVNode)("div",
|
|
29715
|
+
}, [(0, a.createVNode)((0, a.unref)(l.X), { class: "h-4 w-4 text-muted-foreground" })], 8, D1)]),
|
|
29716
|
+
(0, a.createElementVNode)("div", _1, [(0, a.createElementVNode)("nav", {
|
|
29696
29717
|
"aria-label": (0, a.unref)(i)("pptx.options.title"),
|
|
29697
29718
|
class: "pptx-vue-options-rail w-44 shrink-0 space-y-0.5 overflow-y-auto border-r border-border/60 p-2 max-md:flex max-md:w-full max-md:space-y-0 max-md:gap-1 max-md:overflow-x-auto max-md:border-b max-md:border-r-0"
|
|
29698
29719
|
}, [((0, a.openBlock)(!0), (0, a.createElementBlock)(a.Fragment, null, (0, a.renderList)((0, a.unref)(n.VIEWER_OPTIONS_TABS), (e) => ((0, a.openBlock)(), (0, a.createElementBlock)("button", {
|
|
@@ -29701,16 +29722,16 @@ var e1 = { class: "space-y-4" }, t1 = { class: "flex items-start gap-2 rounded-l
|
|
|
29701
29722
|
"aria-current": s.value === e.id,
|
|
29702
29723
|
class: (0, a.normalizeClass)(["block w-full whitespace-nowrap rounded px-3 py-2 text-left text-sm transition-colors max-md:w-auto", s.value === e.id ? "bg-primary/10 font-medium text-primary" : "text-foreground hover:bg-accent"]),
|
|
29703
29724
|
onClick: (t) => s.value = e.id
|
|
29704
|
-
}, (0, a.toDisplayString)((0, a.unref)(i)(e.labelKey)), 11,
|
|
29725
|
+
}, (0, a.toDisplayString)((0, a.unref)(i)(e.labelKey)), 11, I1))), 128)), e.aiEnabled ? ((0, a.openBlock)(), (0, a.createElementBlock)("button", {
|
|
29705
29726
|
key: 0,
|
|
29706
29727
|
type: "button",
|
|
29707
|
-
"aria-current": s.value ===
|
|
29708
|
-
class: (0, a.normalizeClass)(["block w-full whitespace-nowrap rounded px-3 py-2 text-left text-sm transition-colors max-md:w-auto", s.value ===
|
|
29709
|
-
onClick: o[0] || (o[0] = (e) => s.value =
|
|
29710
|
-
}, (0, a.toDisplayString)((0, a.unref)(i)("pptx.ai.settingsSectionTitle")), 11,
|
|
29711
|
-
(0, a.createElementVNode)("h3",
|
|
29712
|
-
(0, a.createElementVNode)("p",
|
|
29713
|
-
(0, a.createVNode)(
|
|
29728
|
+
"aria-current": s.value === X1,
|
|
29729
|
+
class: (0, a.normalizeClass)(["block w-full whitespace-nowrap rounded px-3 py-2 text-left text-sm transition-colors max-md:w-auto", s.value === X1 ? "bg-primary/10 font-medium text-primary" : "text-foreground hover:bg-accent"]),
|
|
29730
|
+
onClick: o[0] || (o[0] = (e) => s.value = X1)
|
|
29731
|
+
}, (0, a.toDisplayString)((0, a.unref)(i)("pptx.ai.settingsSectionTitle")), 11, z1)) : (0, a.createCommentVNode)("", !0)], 8, T1), (0, a.createElementVNode)("div", P1, [s.value === X1 ? ((0, a.openBlock)(), (0, a.createElementBlock)("div", F1, [(0, a.createElementVNode)("p", A1, (0, a.toDisplayString)((0, a.unref)(i)("pptx.ai.settingsSectionTitle")), 1), (0, a.createVNode)(m1, { store: e.chatStore }, null, 8, ["store"])])) : "language" === c.value.custom ? ((0, a.openBlock)(), (0, a.createElementBlock)("div", M1, [(0, a.createElementVNode)("p", $1, (0, a.toDisplayString)((0, a.unref)(i)(c.value.descriptionKey)), 1), (0, a.createElementVNode)("section", null, [
|
|
29732
|
+
(0, a.createElementVNode)("h3", O1, (0, a.toDisplayString)((0, a.unref)(i)("pptx.options.language.displayLanguage")), 1),
|
|
29733
|
+
(0, a.createElementVNode)("p", L1, (0, a.toDisplayString)((0, a.unref)(i)("pptx.options.language.displayLanguageDescription")), 1),
|
|
29734
|
+
(0, a.createVNode)(E1, {
|
|
29714
29735
|
"locale-code": e.localeCode,
|
|
29715
29736
|
locales: e.availableLocales,
|
|
29716
29737
|
"on-select": e.onLocaleSelect
|
|
@@ -29719,7 +29740,7 @@ var e1 = { class: "space-y-4" }, t1 = { class: "flex items-start gap-2 rounded-l
|
|
|
29719
29740
|
"locales",
|
|
29720
29741
|
"on-select"
|
|
29721
29742
|
])
|
|
29722
|
-
])])) : "ribbon" === c.value.custom ? ((0, a.openBlock)(), (0, a.createElementBlock)("div",
|
|
29743
|
+
])])) : "ribbon" === c.value.custom ? ((0, a.openBlock)(), (0, a.createElementBlock)("div", R1, [(0, a.createElementVNode)("p", U1, (0, a.toDisplayString)((0, a.unref)(i)(c.value.descriptionKey)), 1), (0, a.createVNode)(X0, {
|
|
29723
29744
|
options: e.options,
|
|
29724
29745
|
"on-ribbon-tab-hidden-change": e.onRibbonTabHiddenChange,
|
|
29725
29746
|
"on-reset-ribbon": () => e.onResetOptions("ribbon")
|
|
@@ -29727,13 +29748,13 @@ var e1 = { class: "space-y-4" }, t1 = { class: "flex items-start gap-2 rounded-l
|
|
|
29727
29748
|
"options",
|
|
29728
29749
|
"on-ribbon-tab-hidden-change",
|
|
29729
29750
|
"on-reset-ribbon"
|
|
29730
|
-
])])) : "addIns" === c.value.custom ? ((0, a.openBlock)(), (0, a.createElementBlock)("div",
|
|
29751
|
+
])])) : "addIns" === c.value.custom ? ((0, a.openBlock)(), (0, a.createElementBlock)("div", j1, [(0, a.createElementVNode)("p", K1, (0, a.toDisplayString)((0, a.unref)(i)(c.value.descriptionKey)), 1), (0, a.createVNode)(o0, { "addin-status": e.addinStatus }, null, 8, ["addin-status"])])) : ((0, a.openBlock)(), (0, a.createBlock)(k0, {
|
|
29731
29752
|
key: 4,
|
|
29732
29753
|
tab: c.value,
|
|
29733
29754
|
options: e.options,
|
|
29734
29755
|
"on-option-change": e.onOptionChange
|
|
29735
29756
|
}, {
|
|
29736
|
-
special: (0, a.withCtx)(({ section: t }) => ["themePicker" === t.special ? ((0, a.openBlock)(), (0, a.createElementBlock)("div",
|
|
29757
|
+
special: (0, a.withCtx)(({ section: t }) => ["themePicker" === t.special ? ((0, a.openBlock)(), (0, a.createElementBlock)("div", Z1, [(0, a.createVNode)(g1, {
|
|
29737
29758
|
"theme-key": e.themeKey,
|
|
29738
29759
|
catalog: e.availableThemes,
|
|
29739
29760
|
"on-select": e.onThemeSelect
|
|
@@ -29741,12 +29762,12 @@ var e1 = { class: "space-y-4" }, t1 = { class: "flex items-start gap-2 rounded-l
|
|
|
29741
29762
|
"theme-key",
|
|
29742
29763
|
"catalog",
|
|
29743
29764
|
"on-select"
|
|
29744
|
-
])])) : "clearCache" === t.special ? ((0, a.openBlock)(), (0, a.createElementBlock)("div",
|
|
29765
|
+
])])) : "clearCache" === t.special ? ((0, a.openBlock)(), (0, a.createElementBlock)("div", H1, [(0, a.createElementVNode)("p", W1, (0, a.toDisplayString)((0, a.unref)(i)("pptx.options.save.clearCacheDescription")), 1), (0, a.createElementVNode)("button", {
|
|
29745
29766
|
type: "button",
|
|
29746
29767
|
class: "rounded border border-border px-3 py-1.5 text-xs text-foreground transition-colors hover:bg-accent",
|
|
29747
29768
|
onClick: o[1] || (o[1] = (...t) => e.onClearCache && e.onClearCache(...t))
|
|
29748
29769
|
}, (0, a.toDisplayString)((0, a.unref)(i)("pptx.options.save.clearCacheNow")), 1)])) : (0, a.createCommentVNode)("", !0)]),
|
|
29749
|
-
default: (0, a.withCtx)(() => ["quickAccess" === c.value.custom ? ((0, a.openBlock)(), (0, a.createBlock)(
|
|
29770
|
+
default: (0, a.withCtx)(() => ["quickAccess" === c.value.custom ? ((0, a.openBlock)(), (0, a.createBlock)(O0, {
|
|
29750
29771
|
key: 0,
|
|
29751
29772
|
options: e.options,
|
|
29752
29773
|
"on-quick-access-commands-change": e.onQuickAccessCommandsChange,
|
|
@@ -29758,11 +29779,11 @@ var e1 = { class: "space-y-4" }, t1 = { class: "flex items-start gap-2 rounded-l
|
|
|
29758
29779
|
"options",
|
|
29759
29780
|
"on-option-change"
|
|
29760
29781
|
]))])]),
|
|
29761
|
-
(0, a.createElementVNode)("div",
|
|
29782
|
+
(0, a.createElementVNode)("div", G1, [(0, a.createElementVNode)("button", {
|
|
29762
29783
|
type: "button",
|
|
29763
29784
|
class: "rounded border border-border px-3 py-1.5 text-xs text-muted-foreground transition-colors hover:bg-accent hover:text-foreground",
|
|
29764
29785
|
onClick: o[2] || (o[2] = (t) => e.onResetOptions())
|
|
29765
|
-
}, (0, a.toDisplayString)((0, a.unref)(i)("pptx.options.resetAll")), 1), (0, a.createElementVNode)("div",
|
|
29786
|
+
}, (0, a.toDisplayString)((0, a.unref)(i)("pptx.options.resetAll")), 1), (0, a.createElementVNode)("div", q1, [(0, a.createElementVNode)("button", {
|
|
29766
29787
|
type: "button",
|
|
29767
29788
|
class: "rounded border border-border px-4 py-1.5 text-xs text-foreground transition-colors hover:bg-accent",
|
|
29768
29789
|
onClick: u
|
|
@@ -29771,9 +29792,9 @@ var e1 = { class: "space-y-4" }, t1 = { class: "flex items-start gap-2 rounded-l
|
|
|
29771
29792
|
class: "rounded bg-primary px-4 py-1.5 text-xs font-medium text-primary-foreground transition-colors hover:bg-primary/90",
|
|
29772
29793
|
onClick: p
|
|
29773
29794
|
}, (0, a.toDisplayString)((0, a.unref)(i)("pptx.common.ok")), 1)])])
|
|
29774
|
-
], 8,
|
|
29795
|
+
], 8, C1)])], 64)) : (0, a.createCommentVNode)("", !0)]));
|
|
29775
29796
|
}
|
|
29776
|
-
}),
|
|
29797
|
+
}), J1 = { class: "space-y-1.5" }, Q1 = { class: "mb-1 text-[11px] font-medium uppercase tracking-wide text-muted-foreground" }, e2 = { class: "flex cursor-pointer items-center gap-2" }, t2 = ["checked"], n2 = { class: "flex cursor-pointer items-center gap-2" }, o2 = ["checked"], a2 = { class: "flex cursor-pointer items-center gap-2" }, r2 = ["checked"], l2 = { class: "flex cursor-pointer items-center gap-2" }, i2 = ["checked"], s2 = { class: "flex cursor-pointer items-center gap-2 pt-1" }, c2 = { class: "text-muted-foreground" }, d2 = ["value"], p2 = (0, a.defineComponent)({
|
|
29777
29798
|
__name: "ShowOptionsFieldset",
|
|
29778
29799
|
props: { draft: {} },
|
|
29779
29800
|
emits: ["update"],
|
|
@@ -29782,47 +29803,47 @@ var e1 = { class: "space-y-4" }, t1 = { class: "flex items-start gap-2 rounded-l
|
|
|
29782
29803
|
function l(e) {
|
|
29783
29804
|
return e.target.checked;
|
|
29784
29805
|
}
|
|
29785
|
-
return (t, n) => ((0, a.openBlock)(), (0, a.createElementBlock)("fieldset",
|
|
29786
|
-
(0, a.createElementVNode)("legend",
|
|
29787
|
-
(0, a.createElementVNode)("label",
|
|
29806
|
+
return (t, n) => ((0, a.openBlock)(), (0, a.createElementBlock)("fieldset", J1, [
|
|
29807
|
+
(0, a.createElementVNode)("legend", Q1, (0, a.toDisplayString)((0, a.unref)(r)("pptx.slideShow.showOptions")), 1),
|
|
29808
|
+
(0, a.createElementVNode)("label", e2, [(0, a.createElementVNode)("input", {
|
|
29788
29809
|
type: "checkbox",
|
|
29789
29810
|
class: "accent-primary",
|
|
29790
29811
|
checked: Boolean(e.draft.loopContinuously),
|
|
29791
29812
|
onChange: n[0] || (n[0] = (e) => o("update", { loopContinuously: l(e) }))
|
|
29792
|
-
}, null, 40,
|
|
29793
|
-
(0, a.createElementVNode)("label",
|
|
29813
|
+
}, null, 40, t2), (0, a.createElementVNode)("span", null, (0, a.toDisplayString)((0, a.unref)(r)("pptx.slideShow.loopContinuously")), 1)]),
|
|
29814
|
+
(0, a.createElementVNode)("label", n2, [(0, a.createElementVNode)("input", {
|
|
29794
29815
|
type: "checkbox",
|
|
29795
29816
|
class: "accent-primary",
|
|
29796
29817
|
checked: !1 === e.draft.showWithNarration,
|
|
29797
29818
|
onChange: n[1] || (n[1] = (e) => o("update", { showWithNarration: !l(e) }))
|
|
29798
|
-
}, null, 40,
|
|
29799
|
-
(0, a.createElementVNode)("label",
|
|
29819
|
+
}, null, 40, o2), (0, a.createElementVNode)("span", null, (0, a.toDisplayString)((0, a.unref)(r)("pptx.slideShow.showWithoutNarration")), 1)]),
|
|
29820
|
+
(0, a.createElementVNode)("label", a2, [(0, a.createElementVNode)("input", {
|
|
29800
29821
|
type: "checkbox",
|
|
29801
29822
|
class: "accent-primary",
|
|
29802
29823
|
checked: !1 === e.draft.showWithAnimation,
|
|
29803
29824
|
onChange: n[2] || (n[2] = (e) => o("update", { showWithAnimation: !l(e) }))
|
|
29804
|
-
}, null, 40,
|
|
29805
|
-
(0, a.createElementVNode)("label",
|
|
29825
|
+
}, null, 40, r2), (0, a.createElementVNode)("span", null, (0, a.toDisplayString)((0, a.unref)(r)("pptx.slideShow.showWithoutAnimation")), 1)]),
|
|
29826
|
+
(0, a.createElementVNode)("label", l2, [(0, a.createElementVNode)("input", {
|
|
29806
29827
|
type: "checkbox",
|
|
29807
29828
|
class: "accent-primary",
|
|
29808
29829
|
checked: Boolean(e.draft.showSubtitles),
|
|
29809
29830
|
onChange: n[3] || (n[3] = (e) => o("update", { showSubtitles: l(e) }))
|
|
29810
|
-
}, null, 40,
|
|
29811
|
-
(0, a.createElementVNode)("label",
|
|
29831
|
+
}, null, 40, i2), (0, a.createElementVNode)("span", null, (0, a.toDisplayString)((0, a.unref)(r)("pptx.slideShow.showSubtitles")), 1)]),
|
|
29832
|
+
(0, a.createElementVNode)("label", s2, [(0, a.createElementVNode)("span", c2, (0, a.toDisplayString)((0, a.unref)(r)("pptx.slideShow.penColor")), 1), (0, a.createElementVNode)("input", {
|
|
29812
29833
|
type: "color",
|
|
29813
29834
|
class: "h-6 w-8 cursor-pointer rounded border border-border bg-muted",
|
|
29814
29835
|
value: e.draft.penColor ?? "#ff0000",
|
|
29815
29836
|
onInput: n[4] || (n[4] = (e) => o("update", { penColor: e.target.value }))
|
|
29816
|
-
}, null, 40,
|
|
29837
|
+
}, null, 40, d2)])
|
|
29817
29838
|
]));
|
|
29818
29839
|
}
|
|
29819
|
-
}),
|
|
29840
|
+
}), u2 = { class: "space-y-1.5" }, m2 = { class: "mb-1 text-[11px] font-medium uppercase tracking-wide text-muted-foreground" }, f2 = { class: "flex cursor-pointer items-center gap-2" }, v2 = ["checked"], x2 = { class: "flex cursor-pointer items-center gap-2" }, g2 = ["checked"], h2 = {
|
|
29820
29841
|
key: 0,
|
|
29821
29842
|
class: "ml-6 flex items-center gap-2"
|
|
29822
|
-
},
|
|
29843
|
+
}, y2 = { class: "flex items-center gap-1" }, b2 = { class: "text-muted-foreground" }, k2 = ["max", "value"], E2 = { class: "flex items-center gap-1" }, w2 = { class: "text-muted-foreground" }, S2 = ["max", "value"], C2 = { class: "flex cursor-pointer items-center gap-2" }, B2 = ["checked"], N2 = {
|
|
29823
29844
|
key: 0,
|
|
29824
29845
|
class: "ml-6"
|
|
29825
|
-
},
|
|
29846
|
+
}, V2 = ["value"], D2 = ["value"], _2 = (0, a.defineComponent)({
|
|
29826
29847
|
__name: "ShowSlidesFieldset",
|
|
29827
29848
|
props: {
|
|
29828
29849
|
draft: {},
|
|
@@ -29833,17 +29854,17 @@ var e1 = { class: "space-y-4" }, t1 = { class: "flex items-start gap-2 rounded-l
|
|
|
29833
29854
|
emits: ["update"],
|
|
29834
29855
|
setup(e, { emit: t }) {
|
|
29835
29856
|
const o = e, r = t, { t: l } = n.useI18n();
|
|
29836
|
-
return (t, n) => ((0, a.openBlock)(), (0, a.createElementBlock)("fieldset",
|
|
29837
|
-
(0, a.createElementVNode)("legend",
|
|
29838
|
-
(0, a.createElementVNode)("label",
|
|
29857
|
+
return (t, n) => ((0, a.openBlock)(), (0, a.createElementBlock)("fieldset", u2, [
|
|
29858
|
+
(0, a.createElementVNode)("legend", m2, (0, a.toDisplayString)((0, a.unref)(l)("pptx.slideShow.showSlides")), 1),
|
|
29859
|
+
(0, a.createElementVNode)("label", f2, [(0, a.createElementVNode)("input", {
|
|
29839
29860
|
type: "radio",
|
|
29840
29861
|
name: "showSlides",
|
|
29841
29862
|
value: "all",
|
|
29842
29863
|
class: "accent-primary",
|
|
29843
29864
|
checked: "all" === e.showSlidesMode,
|
|
29844
29865
|
onChange: n[0] || (n[0] = (e) => r("update", { showSlidesMode: "all" }))
|
|
29845
|
-
}, null, 40,
|
|
29846
|
-
(0, a.createElementVNode)("label",
|
|
29866
|
+
}, null, 40, v2), (0, a.createElementVNode)("span", null, (0, a.toDisplayString)((0, a.unref)(l)("pptx.slideShow.allSlides")), 1)]),
|
|
29867
|
+
(0, a.createElementVNode)("label", x2, [(0, a.createElementVNode)("input", {
|
|
29847
29868
|
type: "radio",
|
|
29848
29869
|
name: "showSlides",
|
|
29849
29870
|
value: "range",
|
|
@@ -29854,8 +29875,8 @@ var e1 = { class: "space-y-4" }, t1 = { class: "flex items-start gap-2 rounded-l
|
|
|
29854
29875
|
showSlidesFrom: e.draft.showSlidesFrom ?? 1,
|
|
29855
29876
|
showSlidesTo: e.draft.showSlidesTo ?? e.slideCount
|
|
29856
29877
|
}))
|
|
29857
|
-
}, null, 40,
|
|
29858
|
-
"range" === e.showSlidesMode ? ((0, a.openBlock)(), (0, a.createElementBlock)("div",
|
|
29878
|
+
}, null, 40, g2), (0, a.createElementVNode)("span", null, (0, a.toDisplayString)((0, a.unref)(l)("pptx.slideShow.fromTo")), 1)]),
|
|
29879
|
+
"range" === e.showSlidesMode ? ((0, a.openBlock)(), (0, a.createElementBlock)("div", h2, [(0, a.createElementVNode)("label", y2, [(0, a.createElementVNode)("span", b2, (0, a.toDisplayString)((0, a.unref)(l)("pptx.slideShow.from")), 1), (0, a.createElementVNode)("input", {
|
|
29859
29880
|
type: "number",
|
|
29860
29881
|
min: 1,
|
|
29861
29882
|
max: e.slideCount,
|
|
@@ -29866,7 +29887,7 @@ var e1 = { class: "space-y-4" }, t1 = { class: "flex items-start gap-2 rounded-l
|
|
|
29866
29887
|
return;
|
|
29867
29888
|
var t;
|
|
29868
29889
|
})
|
|
29869
|
-
}, null, 40,
|
|
29890
|
+
}, null, 40, k2)]), (0, a.createElementVNode)("label", E2, [(0, a.createElementVNode)("span", w2, (0, a.toDisplayString)((0, a.unref)(l)("pptx.slideShow.to")), 1), (0, a.createElementVNode)("input", {
|
|
29870
29891
|
type: "number",
|
|
29871
29892
|
min: 1,
|
|
29872
29893
|
max: e.slideCount,
|
|
@@ -29877,8 +29898,8 @@ var e1 = { class: "space-y-4" }, t1 = { class: "flex items-start gap-2 rounded-l
|
|
|
29877
29898
|
return;
|
|
29878
29899
|
var t;
|
|
29879
29900
|
})
|
|
29880
|
-
}, null, 40,
|
|
29881
|
-
e.customShows.length > 0 ? ((0, a.openBlock)(), (0, a.createElementBlock)(a.Fragment, { key: 1 }, [(0, a.createElementVNode)("label",
|
|
29901
|
+
}, null, 40, S2)])])) : (0, a.createCommentVNode)("", !0),
|
|
29902
|
+
e.customShows.length > 0 ? ((0, a.openBlock)(), (0, a.createElementBlock)(a.Fragment, { key: 1 }, [(0, a.createElementVNode)("label", C2, [(0, a.createElementVNode)("input", {
|
|
29882
29903
|
type: "radio",
|
|
29883
29904
|
name: "showSlides",
|
|
29884
29905
|
value: "customShow",
|
|
@@ -29888,21 +29909,21 @@ var e1 = { class: "space-y-4" }, t1 = { class: "flex items-start gap-2 rounded-l
|
|
|
29888
29909
|
showSlidesMode: "customShow",
|
|
29889
29910
|
showSlidesCustomShowId: e.draft.showSlidesCustomShowId ?? e.customShows[0]?.id
|
|
29890
29911
|
}))
|
|
29891
|
-
}, null, 40,
|
|
29912
|
+
}, null, 40, B2), (0, a.createElementVNode)("span", null, (0, a.toDisplayString)((0, a.unref)(l)("pptx.slideShow.customShow")), 1)]), "customShow" === e.showSlidesMode ? ((0, a.openBlock)(), (0, a.createElementBlock)("div", N2, [(0, a.createElementVNode)("select", {
|
|
29892
29913
|
class: "w-full rounded border border-border bg-muted px-2 py-1 text-[11px] text-foreground",
|
|
29893
29914
|
value: e.draft.showSlidesCustomShowId ?? e.customShows[0]?.id ?? "",
|
|
29894
29915
|
onChange: n[5] || (n[5] = (e) => r("update", { showSlidesCustomShowId: e.target.value }))
|
|
29895
29916
|
}, [((0, a.openBlock)(!0), (0, a.createElementBlock)(a.Fragment, null, (0, a.renderList)(e.customShows, (e) => ((0, a.openBlock)(), (0, a.createElementBlock)("option", {
|
|
29896
29917
|
key: e.id,
|
|
29897
29918
|
value: e.id
|
|
29898
|
-
}, (0, a.toDisplayString)(e.name), 9,
|
|
29919
|
+
}, (0, a.toDisplayString)(e.name), 9, D2))), 128))], 40, V2)])) : (0, a.createCommentVNode)("", !0)], 64)) : (0, a.createCommentVNode)("", !0)
|
|
29899
29920
|
]));
|
|
29900
29921
|
}
|
|
29901
|
-
}),
|
|
29922
|
+
}), T2 = { class: "flex flex-col gap-5 text-[12px] text-foreground" }, I2 = { class: "space-y-1.5" }, z2 = { class: "mb-1 text-[11px] font-medium uppercase tracking-wide text-muted-foreground" }, P2 = [
|
|
29902
29923
|
"value",
|
|
29903
29924
|
"checked",
|
|
29904
29925
|
"onChange"
|
|
29905
|
-
],
|
|
29926
|
+
], F2 = { class: "space-y-1.5" }, A2 = { class: "mb-1 text-[11px] font-medium uppercase tracking-wide text-muted-foreground" }, M2 = { class: "flex cursor-pointer items-center gap-2" }, $2 = ["checked"], O2 = { class: "flex cursor-pointer items-center gap-2" }, L2 = ["checked"], R2 = (0, a.defineComponent)({
|
|
29906
29927
|
__name: "SetUpSlideShowDialog",
|
|
29907
29928
|
props: {
|
|
29908
29929
|
open: { type: Boolean },
|
|
@@ -29945,8 +29966,8 @@ var e1 = { class: "space-y-4" }, t1 = { class: "flex items-start gap-2 rounded-l
|
|
|
29945
29966
|
class: "rounded bg-primary px-3 py-1.5 text-[12px] text-white transition-colors hover:bg-primary/80",
|
|
29946
29967
|
onClick: p
|
|
29947
29968
|
}, (0, a.toDisplayString)((0, a.unref)(l)("pptx.slideShow.ok")), 1)]),
|
|
29948
|
-
default: (0, a.withCtx)(() => [(0, a.createElementVNode)("div",
|
|
29949
|
-
(0, a.createElementVNode)("fieldset",
|
|
29969
|
+
default: (0, a.withCtx)(() => [(0, a.createElementVNode)("div", T2, [
|
|
29970
|
+
(0, a.createElementVNode)("fieldset", I2, [(0, a.createElementVNode)("legend", z2, (0, a.toDisplayString)((0, a.unref)(l)("pptx.slideShow.legendShowType")), 1), ((0, a.openBlock)(!0), (0, a.createElementBlock)(a.Fragment, null, (0, a.renderList)(u.value, ([e, t]) => ((0, a.openBlock)(), (0, a.createElementBlock)("label", {
|
|
29950
29971
|
key: e,
|
|
29951
29972
|
class: "flex cursor-pointer items-center gap-2"
|
|
29952
29973
|
}, [(0, a.createElementVNode)("input", {
|
|
@@ -29961,8 +29982,8 @@ var e1 = { class: "space-y-4" }, t1 = { class: "flex items-start gap-2 rounded-l
|
|
|
29961
29982
|
..."kiosk" === e ? { loopContinuously: !0 } : {}
|
|
29962
29983
|
});
|
|
29963
29984
|
}(e)
|
|
29964
|
-
}, null, 40,
|
|
29965
|
-
(0, a.createVNode)(
|
|
29985
|
+
}, null, 40, P2), (0, a.createElementVNode)("span", null, (0, a.toDisplayString)(t), 1)]))), 128))]),
|
|
29986
|
+
(0, a.createVNode)(_2, {
|
|
29966
29987
|
draft: i.value,
|
|
29967
29988
|
"show-slides-mode": c.value,
|
|
29968
29989
|
"slide-count": o.slideCount,
|
|
@@ -29974,26 +29995,26 @@ var e1 = { class: "space-y-4" }, t1 = { class: "flex items-start gap-2 rounded-l
|
|
|
29974
29995
|
"slide-count",
|
|
29975
29996
|
"custom-shows"
|
|
29976
29997
|
]),
|
|
29977
|
-
(0, a.createElementVNode)("fieldset",
|
|
29978
|
-
(0, a.createElementVNode)("legend",
|
|
29979
|
-
(0, a.createElementVNode)("label",
|
|
29998
|
+
(0, a.createElementVNode)("fieldset", F2, [
|
|
29999
|
+
(0, a.createElementVNode)("legend", A2, (0, a.toDisplayString)((0, a.unref)(l)("pptx.slideShow.legendAdvance")), 1),
|
|
30000
|
+
(0, a.createElementVNode)("label", M2, [(0, a.createElementVNode)("input", {
|
|
29980
30001
|
type: "radio",
|
|
29981
30002
|
name: "advanceMode",
|
|
29982
30003
|
value: "manual",
|
|
29983
30004
|
class: "accent-primary",
|
|
29984
30005
|
checked: "manual" === (i.value.advanceMode ?? "manual"),
|
|
29985
30006
|
onChange: t[0] || (t[0] = (e) => d({ advanceMode: "manual" }))
|
|
29986
|
-
}, null, 40,
|
|
29987
|
-
(0, a.createElementVNode)("label",
|
|
30007
|
+
}, null, 40, $2), (0, a.createElementVNode)("span", null, (0, a.toDisplayString)((0, a.unref)(l)("pptx.slideShow.advanceManual")), 1)]),
|
|
30008
|
+
(0, a.createElementVNode)("label", O2, [(0, a.createElementVNode)("input", {
|
|
29988
30009
|
type: "radio",
|
|
29989
30010
|
name: "advanceMode",
|
|
29990
30011
|
value: "useTimings",
|
|
29991
30012
|
class: "accent-primary",
|
|
29992
30013
|
checked: "useTimings" === i.value.advanceMode,
|
|
29993
30014
|
onChange: t[1] || (t[1] = (e) => d({ advanceMode: "useTimings" }))
|
|
29994
|
-
}, null, 40,
|
|
30015
|
+
}, null, 40, L2), (0, a.createElementVNode)("span", null, (0, a.toDisplayString)((0, a.unref)(l)("pptx.slideShow.advanceTimings")), 1)])
|
|
29995
30016
|
]),
|
|
29996
|
-
(0, a.createVNode)(
|
|
30017
|
+
(0, a.createVNode)(p2, {
|
|
29997
30018
|
draft: i.value,
|
|
29998
30019
|
onUpdate: d
|
|
29999
30020
|
}, null, 8, ["draft"])
|
|
@@ -30001,40 +30022,40 @@ var e1 = { class: "space-y-4" }, t1 = { class: "flex items-start gap-2 rounded-l
|
|
|
30001
30022
|
_: 1
|
|
30002
30023
|
}, 8, ["open", "title"]));
|
|
30003
30024
|
}
|
|
30004
|
-
}),
|
|
30025
|
+
}), U2 = {
|
|
30005
30026
|
key: 0,
|
|
30006
30027
|
class: "pptx-vue-share-active flex flex-col gap-4"
|
|
30007
|
-
},
|
|
30028
|
+
}, j2 = { class: "pptx-vue-share-desc text-[13px] leading-relaxed text-muted-foreground" }, K2 = {
|
|
30008
30029
|
key: 0,
|
|
30009
30030
|
class: "pptx-vue-share-server-value text-[12px] text-muted-foreground"
|
|
30010
|
-
},
|
|
30031
|
+
}, Z2 = {
|
|
30011
30032
|
key: 1,
|
|
30012
30033
|
class: "pptx-vue-share-form flex flex-col gap-4"
|
|
30013
|
-
},
|
|
30034
|
+
}, H2 = {
|
|
30014
30035
|
class: "grid grid-cols-2 gap-1 rounded-lg bg-muted p-1",
|
|
30015
30036
|
role: "tablist"
|
|
30016
|
-
},
|
|
30037
|
+
}, W2 = ["aria-selected", "onClick"], G2 = { class: "pptx-vue-share-desc text-[13px] leading-relaxed text-muted-foreground" }, q2 = {
|
|
30017
30038
|
key: 0,
|
|
30018
30039
|
class: "pptx-vue-share-field flex flex-col gap-1.5"
|
|
30019
|
-
},
|
|
30040
|
+
}, X2 = {
|
|
30020
30041
|
for: "pptx-vue-share-invitation",
|
|
30021
30042
|
class: "text-[12px] font-medium text-foreground"
|
|
30022
|
-
},
|
|
30043
|
+
}, Y2 = ["placeholder"], J2 = { class: "text-[11px] text-muted-foreground" }, Q2 = {
|
|
30023
30044
|
key: 1,
|
|
30024
30045
|
class: "pptx-vue-share-field flex flex-col gap-1.5"
|
|
30025
|
-
},
|
|
30046
|
+
}, e5 = {
|
|
30026
30047
|
for: "pptx-vue-share-room",
|
|
30027
30048
|
class: "pptx-vue-share-label text-[12px] font-medium text-foreground"
|
|
30028
|
-
},
|
|
30049
|
+
}, t5 = ["placeholder"], n5 = { class: "pptx-vue-share-field flex flex-col gap-1.5" }, o5 = {
|
|
30029
30050
|
for: "pptx-vue-share-name",
|
|
30030
30051
|
class: "pptx-vue-share-label text-[12px] font-medium text-foreground"
|
|
30031
|
-
},
|
|
30052
|
+
}, a5 = ["placeholder"], r5 = { class: "pptx-vue-share-field flex flex-col gap-1.5" }, l5 = {
|
|
30032
30053
|
for: "pptx-vue-share-server",
|
|
30033
30054
|
class: "pptx-vue-share-label text-[12px] font-medium text-foreground"
|
|
30034
|
-
},
|
|
30055
|
+
}, i5 = ["placeholder"], s5 = {
|
|
30035
30056
|
key: 0,
|
|
30036
30057
|
class: "pptx-vue-share-p2p-hint text-[11px] text-muted-foreground"
|
|
30037
|
-
},
|
|
30058
|
+
}, c5 = ["disabled"], d5 = (0, a.defineComponent)({
|
|
30038
30059
|
__name: "ShareDialog",
|
|
30039
30060
|
props: {
|
|
30040
30061
|
open: { type: Boolean },
|
|
@@ -30081,74 +30102,74 @@ var e1 = { class: "space-y-4" }, t1 = { class: "flex items-start gap-2 rounded-l
|
|
|
30081
30102
|
class: "pptx-vue-share-btn pptx-vue-share-btn-primary rounded bg-primary px-3 py-1.5 text-[12px] text-white transition-colors hover:bg-primary/90 disabled:cursor-not-allowed disabled:opacity-40",
|
|
30082
30103
|
disabled: !m.value,
|
|
30083
30104
|
onClick: v
|
|
30084
|
-
}, (0, a.toDisplayString)((0, a.unref)(l)("join" === d.value ? "pptx.share.joinSession" : "pptx.share.startSharing")), 9,
|
|
30085
|
-
default: (0, a.withCtx)(() => [e.active ? ((0, a.openBlock)(), (0, a.createElementBlock)("div",
|
|
30086
|
-
(0, a.createElementVNode)("p",
|
|
30087
|
-
f.value ? ((0, a.openBlock)(), (0, a.createElementBlock)("p",
|
|
30105
|
+
}, (0, a.toDisplayString)((0, a.unref)(l)("join" === d.value ? "pptx.share.joinSession" : "pptx.share.startSharing")), 9, c5))]),
|
|
30106
|
+
default: (0, a.withCtx)(() => [e.active ? ((0, a.openBlock)(), (0, a.createElementBlock)("div", U2, [
|
|
30107
|
+
(0, a.createElementVNode)("p", j2, (0, a.toDisplayString)((0, a.unref)(l)("pptx.share.activeDescription")), 1),
|
|
30108
|
+
f.value ? ((0, a.openBlock)(), (0, a.createElementBlock)("p", K2, (0, a.toDisplayString)((0, a.unref)(l)("pptx.share.p2pServerValue")), 1)) : (0, a.createCommentVNode)("", !0),
|
|
30088
30109
|
(0, a.createElementVNode)("button", {
|
|
30089
30110
|
type: "button",
|
|
30090
30111
|
class: "pptx-vue-share-stop w-full rounded border border-red-500/30 bg-red-500/10 px-3 py-2 text-[12px] font-medium text-red-400 transition-colors hover:bg-red-500/20",
|
|
30091
30112
|
onClick: x
|
|
30092
30113
|
}, (0, a.toDisplayString)((0, a.unref)(l)("pptx.share.stopSharing")), 1)
|
|
30093
|
-
])) : ((0, a.openBlock)(), (0, a.createElementBlock)("div",
|
|
30094
|
-
(0, a.createElementVNode)("div",
|
|
30114
|
+
])) : ((0, a.openBlock)(), (0, a.createElementBlock)("div", Z2, [
|
|
30115
|
+
(0, a.createElementVNode)("div", H2, [((0, a.openBlock)(), (0, a.createElementBlock)(a.Fragment, null, (0, a.renderList)(["create", "join"], (e) => (0, a.createElementVNode)("button", {
|
|
30095
30116
|
key: e,
|
|
30096
30117
|
type: "button",
|
|
30097
30118
|
role: "tab",
|
|
30098
30119
|
"aria-selected": d.value === e,
|
|
30099
30120
|
class: (0, a.normalizeClass)(["rounded-md px-3 py-1.5 text-[12px] font-medium transition-colors", d.value === e ? "bg-background text-foreground shadow-sm" : "text-muted-foreground"]),
|
|
30100
30121
|
onClick: (t) => d.value = e
|
|
30101
|
-
}, (0, a.toDisplayString)((0, a.unref)(l)("create" === e ? "pptx.share.createSession" : "pptx.share.joinSession")), 11,
|
|
30102
|
-
(0, a.createElementVNode)("p",
|
|
30103
|
-
"join" === d.value ? ((0, a.openBlock)(), (0, a.createElementBlock)("div",
|
|
30104
|
-
(0, a.createElementVNode)("label",
|
|
30122
|
+
}, (0, a.toDisplayString)((0, a.unref)(l)("create" === e ? "pptx.share.createSession" : "pptx.share.joinSession")), 11, W2)), 64))]),
|
|
30123
|
+
(0, a.createElementVNode)("p", G2, (0, a.toDisplayString)((0, a.unref)(l)("join" === d.value ? "pptx.share.joinDescription" : "pptx.share.formDescription")), 1),
|
|
30124
|
+
"join" === d.value ? ((0, a.openBlock)(), (0, a.createElementBlock)("div", q2, [
|
|
30125
|
+
(0, a.createElementVNode)("label", X2, (0, a.toDisplayString)((0, a.unref)(l)("pptx.share.invitationLabel")), 1),
|
|
30105
30126
|
(0, a.withDirectives)((0, a.createElementVNode)("input", {
|
|
30106
30127
|
id: "pptx-vue-share-invitation",
|
|
30107
30128
|
"onUpdate:modelValue": n[0] || (n[0] = (e) => p.value = e),
|
|
30108
30129
|
type: "text",
|
|
30109
30130
|
class: "pptx-vue-share-input w-full rounded border border-border bg-background px-3 py-1.5 text-[13px] text-foreground placeholder:text-muted-foreground focus:outline-none focus:ring-1 focus:ring-primary",
|
|
30110
30131
|
placeholder: (0, a.unref)(l)("pptx.share.invitationPlaceholder")
|
|
30111
|
-
}, null, 8,
|
|
30112
|
-
(0, a.createElementVNode)("p",
|
|
30113
|
-
])) : ((0, a.openBlock)(), (0, a.createElementBlock)("div",
|
|
30132
|
+
}, null, 8, Y2), [[a.vModelText, p.value]]),
|
|
30133
|
+
(0, a.createElementVNode)("p", J2, (0, a.toDisplayString)((0, a.unref)(l)("pptx.share.invitationHint")), 1)
|
|
30134
|
+
])) : ((0, a.openBlock)(), (0, a.createElementBlock)("div", Q2, [(0, a.createElementVNode)("label", e5, (0, a.toDisplayString)((0, a.unref)(l)("pptx.share.roomId")), 1), (0, a.withDirectives)((0, a.createElementVNode)("input", {
|
|
30114
30135
|
id: "pptx-vue-share-room",
|
|
30115
30136
|
"onUpdate:modelValue": n[1] || (n[1] = (e) => i.value = e),
|
|
30116
30137
|
type: "text",
|
|
30117
30138
|
class: "pptx-vue-share-input w-full rounded border border-border bg-background px-3 py-1.5 text-[13px] text-foreground placeholder:text-muted-foreground focus:outline-none focus:ring-1 focus:ring-primary",
|
|
30118
30139
|
placeholder: (0, a.unref)(l)("pptx.share.roomIdPlaceholder")
|
|
30119
|
-
}, null, 8,
|
|
30120
|
-
(0, a.createElementVNode)("div",
|
|
30140
|
+
}, null, 8, t5), [[a.vModelText, i.value]])])),
|
|
30141
|
+
(0, a.createElementVNode)("div", n5, [(0, a.createElementVNode)("label", o5, (0, a.toDisplayString)((0, a.unref)(l)("pptx.share.yourName")), 1), (0, a.withDirectives)((0, a.createElementVNode)("input", {
|
|
30121
30142
|
id: "pptx-vue-share-name",
|
|
30122
30143
|
"onUpdate:modelValue": n[2] || (n[2] = (e) => s.value = e),
|
|
30123
30144
|
type: "text",
|
|
30124
30145
|
class: "pptx-vue-share-input w-full rounded border border-border bg-background px-3 py-1.5 text-[13px] text-foreground placeholder:text-muted-foreground focus:outline-none focus:ring-1 focus:ring-primary",
|
|
30125
30146
|
placeholder: (0, a.unref)(l)("pptx.share.yourNamePlaceholder")
|
|
30126
|
-
}, null, 8,
|
|
30127
|
-
(0, a.createElementVNode)("div",
|
|
30128
|
-
(0, a.createElementVNode)("label",
|
|
30147
|
+
}, null, 8, a5), [[a.vModelText, s.value]])]),
|
|
30148
|
+
(0, a.createElementVNode)("div", r5, [
|
|
30149
|
+
(0, a.createElementVNode)("label", l5, (0, a.toDisplayString)((0, a.unref)(l)("pptx.share.serverUrl")), 1),
|
|
30129
30150
|
(0, a.withDirectives)((0, a.createElementVNode)("input", {
|
|
30130
30151
|
id: "pptx-vue-share-server",
|
|
30131
30152
|
"onUpdate:modelValue": n[3] || (n[3] = (e) => c.value = e),
|
|
30132
30153
|
type: "text",
|
|
30133
30154
|
class: "pptx-vue-share-input w-full rounded border border-border bg-background px-3 py-1.5 text-[13px] text-foreground placeholder:text-muted-foreground focus:outline-none focus:ring-1 focus:ring-primary",
|
|
30134
30155
|
placeholder: (0, a.unref)(l)("pptx.share.serverPlaceholder")
|
|
30135
|
-
}, null, 8,
|
|
30136
|
-
f.value ? ((0, a.openBlock)(), (0, a.createElementBlock)("p",
|
|
30156
|
+
}, null, 8, i5), [[a.vModelText, c.value]]),
|
|
30157
|
+
f.value ? ((0, a.openBlock)(), (0, a.createElementBlock)("p", s5, (0, a.toDisplayString)((0, a.unref)(l)("pptx.share.p2pHint")), 1)) : (0, a.createCommentVNode)("", !0)
|
|
30137
30158
|
])
|
|
30138
30159
|
]))]),
|
|
30139
30160
|
_: 1
|
|
30140
30161
|
}, 8, ["open", "title"]));
|
|
30141
30162
|
}
|
|
30142
|
-
}),
|
|
30163
|
+
}), p5 = {
|
|
30143
30164
|
class: "pptx-vue-shortcuts flex min-w-[18rem] flex-col gap-3",
|
|
30144
30165
|
"data-pptx-shortcuts-panel": "true"
|
|
30145
|
-
},
|
|
30166
|
+
}, u5 = ["placeholder", "aria-label"], m5 = {
|
|
30146
30167
|
key: 0,
|
|
30147
30168
|
class: "pptx-vue-shortcuts-list flex max-h-[22rem] flex-col gap-4 overflow-y-auto"
|
|
30148
|
-
},
|
|
30169
|
+
}, f5 = { class: "pptx-vue-shortcuts-group-title text-[11px] font-semibold uppercase tracking-wide text-muted-foreground" }, v5 = { class: "pptx-vue-shortcuts-desc text-[13px] text-foreground" }, x5 = { class: "pptx-vue-shortcuts-combo shrink-0 whitespace-nowrap rounded border border-border bg-popover px-2 py-0.5 font-mono text-xs text-foreground" }, g5 = {
|
|
30149
30170
|
key: 1,
|
|
30150
30171
|
class: "pptx-vue-shortcuts-empty px-2 py-3 text-[13px] text-muted-foreground"
|
|
30151
|
-
},
|
|
30172
|
+
}, y5 = (0, a.defineComponent)({
|
|
30152
30173
|
__name: "ShortcutPanel",
|
|
30153
30174
|
props: { open: { type: Boolean } },
|
|
30154
30175
|
emits: ["close"],
|
|
@@ -30189,32 +30210,32 @@ var e1 = { class: "space-y-4" }, t1 = { class: "flex items-start gap-2 rounded-l
|
|
|
30189
30210
|
title: (0, a.unref)(l)("pptx.settings.keyboardShortcuts"),
|
|
30190
30211
|
onClose: m
|
|
30191
30212
|
}, {
|
|
30192
|
-
default: (0, a.withCtx)(() => [(0, a.createElementVNode)("div",
|
|
30213
|
+
default: (0, a.withCtx)(() => [(0, a.createElementVNode)("div", p5, [(0, a.withDirectives)((0, a.createElementVNode)("input", {
|
|
30193
30214
|
"onUpdate:modelValue": n[0] || (n[0] = (e) => i.value = e),
|
|
30194
30215
|
type: "text",
|
|
30195
30216
|
class: "pptx-vue-shortcuts-search w-full rounded border border-border bg-muted px-2.5 py-1.5 text-foreground outline-none focus:ring-1 focus:ring-primary",
|
|
30196
30217
|
placeholder: (0, a.unref)(l)("pptx.shortcuts.searchPlaceholder"),
|
|
30197
30218
|
"aria-label": (0, a.unref)(l)("pptx.shortcuts.searchLabel")
|
|
30198
|
-
}, null, 8,
|
|
30219
|
+
}, null, 8, u5), [[a.vModelText, i.value]]), u.value ? ((0, a.openBlock)(), (0, a.createElementBlock)("div", m5, [((0, a.openBlock)(!0), (0, a.createElementBlock)(a.Fragment, null, (0, a.renderList)(p.value, (e) => ((0, a.openBlock)(), (0, a.createElementBlock)("section", {
|
|
30199
30220
|
key: e.group,
|
|
30200
30221
|
class: "pptx-vue-shortcuts-group flex flex-col gap-1"
|
|
30201
|
-
}, [(0, a.createElementVNode)("h3",
|
|
30222
|
+
}, [(0, a.createElementVNode)("h3", f5, (0, a.toDisplayString)((0, a.unref)(l)(e.labelKey)), 1), ((0, a.openBlock)(!0), (0, a.createElementBlock)(a.Fragment, null, (0, a.renderList)(e.shortcuts, (e) => ((0, a.openBlock)(), (0, a.createElementBlock)("div", {
|
|
30202
30223
|
key: e.id,
|
|
30203
30224
|
class: "pptx-vue-shortcuts-row flex items-center justify-between gap-3 rounded bg-muted px-2 py-1.5"
|
|
30204
|
-
}, [(0, a.createElementVNode)("span",
|
|
30225
|
+
}, [(0, a.createElementVNode)("span", v5, (0, a.toDisplayString)((0, a.unref)(l)(e.descriptionKey)), 1), (0, a.createElementVNode)("kbd", x5, (0, a.toDisplayString)(d(e.combo)), 1)]))), 128))]))), 128))])) : ((0, a.openBlock)(), (0, a.createElementBlock)("p", g5, (0, a.toDisplayString)((0, a.unref)(l)("pptx.shortcuts.noResults", { query: i.value })), 1))])]),
|
|
30205
30226
|
_: 1
|
|
30206
30227
|
}, 8, ["open", "title"]));
|
|
30207
30228
|
}
|
|
30208
|
-
}),
|
|
30229
|
+
}), b5 = ["aria-label"], k5 = { class: "pptx-vue-signatures__title flex-1" }, E5 = {
|
|
30209
30230
|
key: 0,
|
|
30210
30231
|
class: "pptx-vue-signatures__count text-xs font-normal opacity-80"
|
|
30211
|
-
},
|
|
30232
|
+
}, w5 = {
|
|
30212
30233
|
key: 0,
|
|
30213
30234
|
class: "pptx-vue-signatures__empty m-0 px-3 py-3.5 text-muted-foreground"
|
|
30214
|
-
},
|
|
30235
|
+
}, S5 = {
|
|
30215
30236
|
key: 1,
|
|
30216
30237
|
class: "pptx-vue-signatures__list m-0 list-none p-0"
|
|
30217
|
-
},
|
|
30238
|
+
}, C5 = { class: "pptx-vue-signatures__item-main flex items-center justify-between gap-2" }, B5 = { class: "pptx-vue-signatures__signer font-semibold break-words" }, N5 = { class: "pptx-vue-signatures__meta m-0 mt-1.5 grid grid-cols-[auto_1fr] gap-x-2.5 gap-y-0.5 text-xs text-muted-foreground [&_dd]:m-0 [&_dd]:break-words [&_dt]:font-medium [&_dt]:text-muted-foreground" }, V5 = (0, a.defineComponent)({
|
|
30218
30239
|
__name: "SignaturesPanel",
|
|
30219
30240
|
props: { signatures: {} },
|
|
30220
30241
|
setup(e) {
|
|
@@ -30261,27 +30282,27 @@ var e1 = { class: "space-y-4" }, t1 = { class: "flex items-start gap-2 rounded-l
|
|
|
30261
30282
|
class: "pptx-vue-signatures__dot h-2.5 w-2.5 flex-none rounded-full bg-current",
|
|
30262
30283
|
"aria-hidden": "true"
|
|
30263
30284
|
}, null, -1)),
|
|
30264
|
-
(0, a.createElementVNode)("span",
|
|
30265
|
-
(0, a.unref)(r) ? ((0, a.openBlock)(), (0, a.createElementBlock)("span",
|
|
30266
|
-
], 2), (0, a.unref)(r) ? ((0, a.openBlock)(), (0, a.createElementBlock)("ul",
|
|
30285
|
+
(0, a.createElementVNode)("span", k5, (0, a.toDisplayString)(s.value), 1),
|
|
30286
|
+
(0, a.unref)(r) ? ((0, a.openBlock)(), (0, a.createElementBlock)("span", E5, (0, a.toDisplayString)((0, a.unref)(t)("pptx.digitalSignatures.signatureCount", { count: o.signatures.length })), 1)) : (0, a.createCommentVNode)("", !0)
|
|
30287
|
+
], 2), (0, a.unref)(r) ? ((0, a.openBlock)(), (0, a.createElementBlock)("ul", S5, [((0, a.openBlock)(!0), (0, a.createElementBlock)(a.Fragment, null, (0, a.renderList)(o.signatures, (e, n) => ((0, a.openBlock)(), (0, a.createElementBlock)("li", {
|
|
30267
30288
|
key: m(e, n),
|
|
30268
30289
|
class: (0, a.normalizeClass)(["pptx-vue-signatures__item border-b border-l-[3px] border-b-border/60 border-l-transparent px-3 py-2.5 last:border-b-0", [`pptx-vue-signatures__item--${d(e.status)}`, {
|
|
30269
30290
|
"border-l-green-500": "valid" === d(e.status),
|
|
30270
30291
|
"border-l-red-500": "invalid" === d(e.status),
|
|
30271
30292
|
"border-l-amber-500": "unknown" === d(e.status)
|
|
30272
30293
|
}]])
|
|
30273
|
-
}, [(0, a.createElementVNode)("div",
|
|
30294
|
+
}, [(0, a.createElementVNode)("div", C5, [(0, a.createElementVNode)("span", B5, (0, a.toDisplayString)(p(e)), 1), (0, a.createElementVNode)("span", { class: (0, a.normalizeClass)(["pptx-vue-signatures__badge flex-none whitespace-nowrap rounded-full px-2 py-0.5 text-[11px] font-semibold", [`pptx-vue-signatures__badge--${d(e.status)}`, {
|
|
30274
30295
|
"bg-green-900/30 text-green-300": "valid" === d(e.status),
|
|
30275
30296
|
"bg-red-900/30 text-red-300": "invalid" === d(e.status),
|
|
30276
30297
|
"bg-amber-900/30 text-amber-300": "unknown" === d(e.status)
|
|
30277
|
-
}]]) }, (0, a.toDisplayString)(c(e.status)), 3)]), (0, a.createElementVNode)("dl",
|
|
30298
|
+
}]]) }, (0, a.toDisplayString)(c(e.status)), 3)]), (0, a.createElementVNode)("dl", N5, [
|
|
30278
30299
|
e.certificate?.issuer ? ((0, a.openBlock)(), (0, a.createElementBlock)(a.Fragment, { key: 0 }, [(0, a.createElementVNode)("dt", null, (0, a.toDisplayString)((0, a.unref)(t)("pptx.digitalSignatures.issuer")), 1), (0, a.createElementVNode)("dd", null, (0, a.toDisplayString)(e.certificate.issuer), 1)], 64)) : (0, a.createCommentVNode)("", !0),
|
|
30279
30300
|
e.certificate?.serialNumber ? ((0, a.openBlock)(), (0, a.createElementBlock)(a.Fragment, { key: 1 }, [(0, a.createElementVNode)("dt", null, (0, a.toDisplayString)((0, a.unref)(t)("pptx.digitalSignatures.serial")), 1), (0, a.createElementVNode)("dd", null, (0, a.toDisplayString)(e.certificate.serialNumber), 1)], 64)) : (0, a.createCommentVNode)("", !0),
|
|
30280
30301
|
u(e) ? ((0, a.openBlock)(), (0, a.createElementBlock)(a.Fragment, { key: 2 }, [(0, a.createElementVNode)("dt", null, (0, a.toDisplayString)((0, a.unref)(t)("pptx.digitalSignatures.headerSigned")), 1), (0, a.createElementVNode)("dd", null, (0, a.toDisplayString)(u(e)), 1)], 64)) : (0, a.createCommentVNode)("", !0),
|
|
30281
30302
|
e.certificate ? (0, a.createCommentVNode)("", !0) : ((0, a.openBlock)(), (0, a.createElementBlock)(a.Fragment, { key: 3 }, [(0, a.createElementVNode)("dt", null, (0, a.toDisplayString)((0, a.unref)(t)("pptx.digitalSignatures.certificate")), 1), (0, a.createElementVNode)("dd", null, (0, a.toDisplayString)((0, a.unref)(t)("pptx.digitalSignatures.notAvailable")), 1)], 64))
|
|
30282
|
-
])], 2))), 128))])) : ((0, a.openBlock)(), (0, a.createElementBlock)("p",
|
|
30303
|
+
])], 2))), 128))])) : ((0, a.openBlock)(), (0, a.createElementBlock)("p", w5, (0, a.toDisplayString)((0, a.unref)(t)("pptx.digitalSignatures.noSignatures")), 1))], 8, b5));
|
|
30283
30304
|
}
|
|
30284
|
-
}),
|
|
30305
|
+
}), D5 = ["title"], _5 = (0, a.defineComponent)({
|
|
30285
30306
|
__name: "SignatureStatusBadge",
|
|
30286
30307
|
props: {
|
|
30287
30308
|
hasSignatures: { type: Boolean },
|
|
@@ -30296,9 +30317,9 @@ var e1 = { class: "space-y-4" }, t1 = { class: "flex items-start gap-2 rounded-l
|
|
|
30296
30317
|
class: "inline-flex items-center gap-1 rounded-md border border-green-700/40 bg-green-900/30 px-2 py-0.5 text-[11px] font-medium text-green-300 transition-colors hover:bg-green-900/50",
|
|
30297
30318
|
title: (0, a.unref)(i)("pptx.digitalSignatures.badgeTitle", { count: o.signatureCount }),
|
|
30298
30319
|
onClick: t[0] || (t[0] = (e) => r("click"))
|
|
30299
|
-
}, [(0, a.createVNode)((0, a.unref)(l.ShieldCheck), { class: "h-3.5 w-3.5" }), (0, a.createElementVNode)("span", null, (0, a.toDisplayString)((0, a.unref)(i)("pptx.digitalSignatures.badgeSigned")), 1)], 8,
|
|
30320
|
+
}, [(0, a.createVNode)((0, a.unref)(l.ShieldCheck), { class: "h-3.5 w-3.5" }), (0, a.createElementVNode)("span", null, (0, a.toDisplayString)((0, a.unref)(i)("pptx.digitalSignatures.badgeSigned")), 1)], 8, D5)) : (0, a.createCommentVNode)("", !0);
|
|
30300
30321
|
}
|
|
30301
|
-
}),
|
|
30322
|
+
}), T5 = { class: "flex items-start gap-3 rounded-lg border border-amber-700/30 bg-amber-900/20 px-4 py-3" }, I5 = { class: "space-y-2" }, z5 = { class: "text-xs text-amber-200" }, P5 = { class: "text-[11px] text-amber-300/70" }, F5 = (0, a.defineComponent)({
|
|
30302
30323
|
__name: "SignatureStrippedDialog",
|
|
30303
30324
|
props: {
|
|
30304
30325
|
open: { type: Boolean },
|
|
@@ -30321,30 +30342,30 @@ var e1 = { class: "space-y-4" }, t1 = { class: "flex items-start gap-2 rounded-l
|
|
|
30321
30342
|
class: "rounded-lg bg-amber-600 px-3 py-1.5 text-xs text-white transition-colors hover:bg-amber-500",
|
|
30322
30343
|
onClick: t[1] || (t[1] = (e) => r("confirm"))
|
|
30323
30344
|
}, (0, a.toDisplayString)((0, a.unref)(i)("pptx.digitalSignatures.strippedConfirm")), 1)]),
|
|
30324
|
-
default: (0, a.withCtx)(() => [(0, a.createElementVNode)("div",
|
|
30345
|
+
default: (0, a.withCtx)(() => [(0, a.createElementVNode)("div", T5, [(0, a.createVNode)((0, a.unref)(l.TriangleAlert), { class: "mt-0.5 h-5 w-5 shrink-0 text-amber-400" }), (0, a.createElementVNode)("div", I5, [(0, a.createElementVNode)("p", z5, (0, a.toDisplayString)((0, a.unref)(i)("pptx.digitalSignatures.strippedMessage", { count: o.signatureCount })), 1), (0, a.createElementVNode)("p", P5, (0, a.toDisplayString)((0, a.unref)(i)("pptx.digitalSignatures.strippedIrreversible")), 1)])])]),
|
|
30325
30346
|
_: 1
|
|
30326
30347
|
}, 8, ["open", "title"]));
|
|
30327
30348
|
}
|
|
30328
|
-
}),
|
|
30349
|
+
}), A5 = ["width", "height"], M5 = [
|
|
30329
30350
|
"x1",
|
|
30330
30351
|
"x2",
|
|
30331
30352
|
"y1",
|
|
30332
30353
|
"y2"
|
|
30333
|
-
],
|
|
30354
|
+
], $5 = [
|
|
30334
30355
|
"x",
|
|
30335
30356
|
"y",
|
|
30336
30357
|
"font-size"
|
|
30337
|
-
],
|
|
30358
|
+
], O5 = ["width", "height"], L5 = [
|
|
30338
30359
|
"y1",
|
|
30339
30360
|
"y2",
|
|
30340
30361
|
"x1",
|
|
30341
30362
|
"x2"
|
|
30342
|
-
],
|
|
30363
|
+
], R5 = [
|
|
30343
30364
|
"x",
|
|
30344
30365
|
"y",
|
|
30345
30366
|
"font-size",
|
|
30346
30367
|
"transform"
|
|
30347
|
-
],
|
|
30368
|
+
], U5 = (0, a.defineComponent)({
|
|
30348
30369
|
__name: "RulerStrips",
|
|
30349
30370
|
props: {
|
|
30350
30371
|
canvasSize: {},
|
|
@@ -30380,13 +30401,13 @@ var e1 = { class: "space-y-4" }, t1 = { class: "flex items-start gap-2 rounded-l
|
|
|
30380
30401
|
y2: (0, a.unref)(s),
|
|
30381
30402
|
stroke: "currentColor",
|
|
30382
30403
|
"stroke-width": "0.5"
|
|
30383
|
-
}, null, 8,
|
|
30404
|
+
}, null, 8, M5), e.label ? ((0, a.openBlock)(), (0, a.createElementBlock)("text", {
|
|
30384
30405
|
key: 0,
|
|
30385
30406
|
x: e.position + 2,
|
|
30386
30407
|
y: (0, a.unref)(10),
|
|
30387
30408
|
"font-size": (0, a.unref)(10),
|
|
30388
30409
|
fill: "currentColor"
|
|
30389
|
-
}, (0, a.toDisplayString)(e.label), 9,
|
|
30410
|
+
}, (0, a.toDisplayString)(e.label), 9, $5)) : (0, a.createCommentVNode)("", !0)], 64))), 128))], 12, A5)),
|
|
30390
30411
|
((0, a.openBlock)(), (0, a.createElementBlock)("svg", {
|
|
30391
30412
|
class: "absolute bg-secondary border-r border-border pointer-events-none text-muted-foreground",
|
|
30392
30413
|
style: (0, a.normalizeStyle)({
|
|
@@ -30403,17 +30424,17 @@ var e1 = { class: "space-y-4" }, t1 = { class: "flex items-start gap-2 rounded-l
|
|
|
30403
30424
|
x2: (0, a.unref)(s),
|
|
30404
30425
|
stroke: "currentColor",
|
|
30405
30426
|
"stroke-width": "0.5"
|
|
30406
|
-
}, null, 8,
|
|
30427
|
+
}, null, 8, L5), e.label ? ((0, a.openBlock)(), (0, a.createElementBlock)("text", {
|
|
30407
30428
|
key: 0,
|
|
30408
30429
|
x: (0, a.unref)(10),
|
|
30409
30430
|
y: e.position + 2,
|
|
30410
30431
|
"font-size": (0, a.unref)(10),
|
|
30411
30432
|
fill: "currentColor",
|
|
30412
30433
|
transform: `rotate(-90, ${(0, a.unref)(10)}, ${e.position + 2})`
|
|
30413
|
-
}, (0, a.toDisplayString)(e.label), 9,
|
|
30434
|
+
}, (0, a.toDisplayString)(e.label), 9, R5)) : (0, a.createCommentVNode)("", !0)], 64))), 128))], 12, O5))
|
|
30414
30435
|
], 64));
|
|
30415
30436
|
}
|
|
30416
|
-
}),
|
|
30437
|
+
}), j5 = ["aria-label"], K5 = (0, a.defineComponent)({
|
|
30417
30438
|
__name: "SlideCanvas",
|
|
30418
30439
|
props: {
|
|
30419
30440
|
slide: {},
|
|
@@ -30458,7 +30479,7 @@ var e1 = { class: "space-y-4" }, t1 = { class: "flex items-start gap-2 rounded-l
|
|
|
30458
30479
|
role: "region",
|
|
30459
30480
|
"aria-roledescription": "slide",
|
|
30460
30481
|
"aria-label": (0, a.unref)(l)("pptx.canvas.slide")
|
|
30461
|
-
}, [e.showRulers ? ((0, a.openBlock)(), (0, a.createBlock)(
|
|
30482
|
+
}, [e.showRulers ? ((0, a.openBlock)(), (0, a.createBlock)(U5, {
|
|
30462
30483
|
key: 0,
|
|
30463
30484
|
"canvas-size": e.canvasSize,
|
|
30464
30485
|
scale: i.value
|
|
@@ -30480,9 +30501,9 @@ var e1 = { class: "space-y-4" }, t1 = { class: "flex items-start gap-2 rounded-l
|
|
|
30480
30501
|
"scale",
|
|
30481
30502
|
"template-elements",
|
|
30482
30503
|
"edit-template-mode"
|
|
30483
|
-
])], 12,
|
|
30504
|
+
])], 12, j5)], 512));
|
|
30484
30505
|
}
|
|
30485
|
-
}),
|
|
30506
|
+
}), Z5 = ["aria-label"], H5 = { class: "pptx-vue-sorter-head" }, W5 = { class: "pptx-vue-sorter-title" }, G5 = ["aria-label"], q5 = { class: "pptx-vue-sorter-grid" }, X5 = [
|
|
30486
30507
|
"data-index",
|
|
30487
30508
|
"aria-label",
|
|
30488
30509
|
"aria-current",
|
|
@@ -30491,10 +30512,10 @@ var e1 = { class: "space-y-4" }, t1 = { class: "flex items-start gap-2 rounded-l
|
|
|
30491
30512
|
"onDragstart",
|
|
30492
30513
|
"onDragover",
|
|
30493
30514
|
"onDrop"
|
|
30494
|
-
],
|
|
30515
|
+
], Y5 = { class: "pptx-vue-sorter-index" }, J5 = {
|
|
30495
30516
|
key: 0,
|
|
30496
30517
|
class: "pptx-vue-sorter-hidden"
|
|
30497
|
-
},
|
|
30518
|
+
}, Q5 = Km((0, a.defineComponent)({
|
|
30498
30519
|
__name: "SlideSorter",
|
|
30499
30520
|
props: {
|
|
30500
30521
|
slides: {},
|
|
@@ -30565,7 +30586,7 @@ var e1 = { class: "space-y-4" }, t1 = { class: "flex items-start gap-2 rounded-l
|
|
|
30565
30586
|
role: "dialog",
|
|
30566
30587
|
"aria-label": (0, a.unref)(o)("pptx.slideSorter.title")
|
|
30567
30588
|
}, [
|
|
30568
|
-
(0, a.createElementVNode)("header",
|
|
30589
|
+
(0, a.createElementVNode)("header", H5, [(0, a.createElementVNode)("h2", W5, (0, a.toDisplayString)((0, a.unref)(o)("pptx.slideSorter.title")), 1), (0, a.createElementVNode)("button", {
|
|
30569
30590
|
type: "button",
|
|
30570
30591
|
class: "pptx-vue-sorter-close",
|
|
30571
30592
|
"aria-label": (0, a.unref)(o)("pptx.slideSorter.close"),
|
|
@@ -30573,8 +30594,8 @@ var e1 = { class: "space-y-4" }, t1 = { class: "flex items-start gap-2 rounded-l
|
|
|
30573
30594
|
}, [(0, a.createVNode)((0, a.unref)(l.X), {
|
|
30574
30595
|
size: 16,
|
|
30575
30596
|
"aria-hidden": "true"
|
|
30576
|
-
})], 8,
|
|
30577
|
-
(0, a.createElementVNode)("div",
|
|
30597
|
+
})], 8, G5)]),
|
|
30598
|
+
(0, a.createElementVNode)("div", q5, [((0, a.openBlock)(!0), (0, a.createElementBlock)(a.Fragment, null, (0, a.renderList)(e.slides, (t, n) => ((0, a.openBlock)(), (0, a.createElementBlock)("div", {
|
|
30578
30599
|
key: t.id ?? n,
|
|
30579
30600
|
class: (0, a.normalizeClass)(["pptx-vue-sorter-tile", {
|
|
30580
30601
|
"is-active": n === e.activeIndex,
|
|
@@ -30624,9 +30645,9 @@ var e1 = { class: "space-y-4" }, t1 = { class: "flex items-start gap-2 rounded-l
|
|
|
30624
30645
|
"media-data-urls",
|
|
30625
30646
|
"scale"
|
|
30626
30647
|
])], 4),
|
|
30627
|
-
(0, a.createElementVNode)("span",
|
|
30628
|
-
t.hidden ? ((0, a.openBlock)(), (0, a.createElementBlock)("span",
|
|
30629
|
-
], 42,
|
|
30648
|
+
(0, a.createElementVNode)("span", Y5, (0, a.toDisplayString)(n + 1), 1),
|
|
30649
|
+
t.hidden ? ((0, a.openBlock)(), (0, a.createElementBlock)("span", J5, (0, a.toDisplayString)((0, a.unref)(o)("pptx.slideSorter.hidden")), 1)) : (0, a.createCommentVNode)("", !0)
|
|
30650
|
+
], 42, X5))), 128))]),
|
|
30630
30651
|
(0, a.createVNode)(Db, {
|
|
30631
30652
|
open: f.value.open,
|
|
30632
30653
|
x: f.value.x,
|
|
@@ -30640,9 +30661,9 @@ var e1 = { class: "space-y-4" }, t1 = { class: "flex items-start gap-2 rounded-l
|
|
|
30640
30661
|
"y",
|
|
30641
30662
|
"items"
|
|
30642
30663
|
])
|
|
30643
|
-
], 8,
|
|
30664
|
+
], 8, Z5));
|
|
30644
30665
|
}
|
|
30645
|
-
}), [["__scopeId", "data-v-943651fa"]]),
|
|
30666
|
+
}), [["__scopeId", "data-v-943651fa"]]), e4 = (0, a.defineComponent)({
|
|
30646
30667
|
__name: "SnapLinesOverlay",
|
|
30647
30668
|
props: { snapLines: {} },
|
|
30648
30669
|
setup(e) {
|
|
@@ -30663,7 +30684,7 @@ var e1 = { class: "space-y-4" }, t1 = { class: "flex items-start gap-2 rounded-l
|
|
|
30663
30684
|
})
|
|
30664
30685
|
}, null, 4))), 128));
|
|
30665
30686
|
}
|
|
30666
|
-
}),
|
|
30687
|
+
}), t4 = { class: "w-full px-2 py-0.5 border-t border-border bg-secondary/50 text-[10px] text-muted-foreground flex items-center gap-1" }, n4 = { class: "shrink-0" }, o4 = { class: "shrink-0 max-md:hidden text-[10px]" }, a4 = ["title", "aria-label"], r4 = { class: "max-md:hidden" }, l4 = { class: "flex items-center gap-0.5" }, i4 = ["title", "aria-label"], s4 = ["title", "aria-label"], c4 = ["title", "aria-label"], d4 = { class: "flex items-center gap-0.5" }, p4 = ["title", "aria-label"], u4 = ["title"], m4 = ["title", "aria-label"], f4 = "p-1 rounded-sm transition-colors hover:bg-accent/60 text-muted-foreground active:scale-95 active:opacity-80", v4 = (0, a.defineComponent)({
|
|
30667
30688
|
__name: "StatusBar",
|
|
30668
30689
|
props: {
|
|
30669
30690
|
slideCount: {},
|
|
@@ -30692,78 +30713,78 @@ var e1 = { class: "space-y-4" }, t1 = { class: "flex items-start gap-2 rounded-l
|
|
|
30692
30713
|
return t < 1 ? o("pptx.autosave.justNow") : 1 === t ? o("pptx.autosave.oneMinAgo") : o("pptx.autosave.minutesAgo", { count: t });
|
|
30693
30714
|
}
|
|
30694
30715
|
const p = (0, a.computed)(() => "saving" === r.autosaveStatus ? o("pptx.autosave.saving") : "saved" === r.autosaveStatus && "number" == typeof r.lastSavedAt ? o("pptx.autosave.saved", { time: d(r.lastSavedAt) }) : "error" === r.autosaveStatus ? o("pptx.autosave.error") : r.isDirty ? o("pptx.statusBar.unsavedChanges") : o("pptx.statusBar.allSaved"));
|
|
30695
|
-
return (e, t) => ((0, a.openBlock)(), (0, a.createElementBlock)("div",
|
|
30696
|
-
(0, a.createElementVNode)("span",
|
|
30716
|
+
return (e, t) => ((0, a.openBlock)(), (0, a.createElementBlock)("div", t4, [
|
|
30717
|
+
(0, a.createElementVNode)("span", n4, (0, a.toDisplayString)(r.slideCount > 0 ? (0, a.unref)(o)("pptx.statusBar.slideOf", {
|
|
30697
30718
|
current: Math.min(r.activeSlideIndex + 1, r.slideCount),
|
|
30698
30719
|
total: r.slideCount
|
|
30699
30720
|
}) : (0, a.unref)(o)("pptx.statusBar.noSlides")), 1),
|
|
30700
30721
|
t[9] || (t[9] = (0, a.createElementVNode)("div", { class: "w-px h-3 bg-border/40 mx-1 max-md:hidden" }, null, -1)),
|
|
30701
|
-
(0, a.createElementVNode)("span",
|
|
30722
|
+
(0, a.createElementVNode)("span", o4, (0, a.toDisplayString)((0, a.unref)(o)("pptx.statusBar.language")), 1),
|
|
30702
30723
|
t[10] || (t[10] = (0, a.createElementVNode)("div", { class: "w-px h-3 bg-border/60 mx-1 max-md:hidden" }, null, -1)),
|
|
30703
30724
|
(0, a.createElementVNode)("span", { class: (0, a.normalizeClass)((0, a.unref)(FM)("shrink-0 max-md:hidden", "error" === r.autosaveStatus ? "text-red-400" : "saving" === r.autosaveStatus ? "text-yellow-400" : "")) }, (0, a.toDisplayString)(p.value), 3),
|
|
30704
30725
|
t[11] || (t[11] = (0, a.createElementVNode)("div", { class: "flex-1" }, null, -1)),
|
|
30705
30726
|
r.showNotes && !(0, a.unref)(s)("notes") ? ((0, a.openBlock)(), (0, a.createElementBlock)("button", {
|
|
30706
30727
|
key: 0,
|
|
30707
30728
|
type: "button",
|
|
30708
|
-
class: (0, a.normalizeClass)((0, a.unref)(FM)(
|
|
30729
|
+
class: (0, a.normalizeClass)((0, a.unref)(FM)(f4, "flex items-center gap-1 text-[10px]", r.isNotesExpanded && "text-primary")),
|
|
30709
30730
|
title: (0, a.unref)(o)("pptx.statusBar.toggleNotes"),
|
|
30710
30731
|
"aria-label": (0, a.unref)(o)("pptx.statusBar.toggleNotes"),
|
|
30711
30732
|
onClick: t[0] || (t[0] = (e) => c("toggle-notes"))
|
|
30712
|
-
}, [(0, a.createVNode)((0, a.unref)(l.StickyNote), { class: "w-3 h-3" }), (0, a.createElementVNode)("span",
|
|
30733
|
+
}, [(0, a.createVNode)((0, a.unref)(l.StickyNote), { class: "w-3 h-3" }), (0, a.createElementVNode)("span", r4, (0, a.toDisplayString)((0, a.unref)(o)("pptx.notes.title")), 1)], 10, a4)) : (0, a.createCommentVNode)("", !0),
|
|
30713
30734
|
t[12] || (t[12] = (0, a.createElementVNode)("div", { class: "w-px h-3 bg-border/60 mx-0.5" }, null, -1)),
|
|
30714
|
-
(0, a.createElementVNode)("div",
|
|
30735
|
+
(0, a.createElementVNode)("div", l4, [
|
|
30715
30736
|
(0, a.createElementVNode)("button", {
|
|
30716
30737
|
type: "button",
|
|
30717
|
-
class: (0, a.normalizeClass)((0, a.unref)(FM)(
|
|
30738
|
+
class: (0, a.normalizeClass)((0, a.unref)(FM)(f4, "edit" === r.mode && "text-primary")),
|
|
30718
30739
|
title: (0, a.unref)(o)("pptx.statusBar.normalView"),
|
|
30719
30740
|
"aria-label": (0, a.unref)(o)("pptx.statusBar.normalView"),
|
|
30720
30741
|
onClick: t[1] || (t[1] = (e) => c("set-mode", "edit"))
|
|
30721
|
-
}, [(0, a.createVNode)((0, a.unref)(l.Monitor), { class: "w-3.5 h-3.5" })], 10,
|
|
30742
|
+
}, [(0, a.createVNode)((0, a.unref)(l.Monitor), { class: "w-3.5 h-3.5" })], 10, i4),
|
|
30722
30743
|
(0, a.createElementVNode)("button", {
|
|
30723
30744
|
type: "button",
|
|
30724
|
-
class: (0, a.normalizeClass)(
|
|
30745
|
+
class: (0, a.normalizeClass)(f4),
|
|
30725
30746
|
title: (0, a.unref)(o)("pptx.statusBar.slideSorter"),
|
|
30726
30747
|
"aria-label": (0, a.unref)(o)("pptx.statusBar.slideSorter"),
|
|
30727
30748
|
onClick: t[2] || (t[2] = (e) => c("toggle-slide-sorter"))
|
|
30728
|
-
}, [(0, a.createVNode)((0, a.unref)(l.Columns2), { class: "w-3.5 h-3.5" })], 8,
|
|
30749
|
+
}, [(0, a.createVNode)((0, a.unref)(l.Columns2), { class: "w-3.5 h-3.5" })], 8, s4),
|
|
30729
30750
|
(0, a.unref)(s)("fullscreen") ? (0, a.createCommentVNode)("", !0) : ((0, a.openBlock)(), (0, a.createElementBlock)("button", {
|
|
30730
30751
|
key: 0,
|
|
30731
30752
|
type: "button",
|
|
30732
|
-
class: (0, a.normalizeClass)((0, a.unref)(FM)(
|
|
30753
|
+
class: (0, a.normalizeClass)((0, a.unref)(FM)(f4, "present" === r.mode && "text-primary")),
|
|
30733
30754
|
title: (0, a.unref)(o)("pptx.statusBar.slideShow"),
|
|
30734
30755
|
"aria-label": (0, a.unref)(o)("pptx.statusBar.slideShow"),
|
|
30735
30756
|
onClick: t[3] || (t[3] = (e) => c("set-mode", "present"))
|
|
30736
|
-
}, [(0, a.createVNode)((0, a.unref)(l.Presentation), { class: "w-3.5 h-3.5" })], 10,
|
|
30757
|
+
}, [(0, a.createVNode)((0, a.unref)(l.Presentation), { class: "w-3.5 h-3.5" })], 10, c4))
|
|
30737
30758
|
]),
|
|
30738
30759
|
(0, a.unref)(i).collaboration ? ((0, a.openBlock)(), (0, a.createElementBlock)(a.Fragment, { key: 1 }, [t[7] || (t[7] = (0, a.createElementVNode)("div", { class: "w-px h-3 bg-border/40 mx-0.5" }, null, -1)), (0, a.renderSlot)(e.$slots, "collaboration")], 64)) : (0, a.createCommentVNode)("", !0),
|
|
30739
|
-
void 0 === r.scale || (0, a.unref)(s)("zoom") ? (0, a.createCommentVNode)("", !0) : ((0, a.openBlock)(), (0, a.createElementBlock)(a.Fragment, { key: 2 }, [t[8] || (t[8] = (0, a.createElementVNode)("div", { class: "w-px h-3 bg-border/60 mx-0.5" }, null, -1)), (0, a.createElementVNode)("div",
|
|
30760
|
+
void 0 === r.scale || (0, a.unref)(s)("zoom") ? (0, a.createCommentVNode)("", !0) : ((0, a.openBlock)(), (0, a.createElementBlock)(a.Fragment, { key: 2 }, [t[8] || (t[8] = (0, a.createElementVNode)("div", { class: "w-px h-3 bg-border/60 mx-0.5" }, null, -1)), (0, a.createElementVNode)("div", d4, [
|
|
30740
30761
|
(0, a.createElementVNode)("button", {
|
|
30741
30762
|
type: "button",
|
|
30742
|
-
class: (0, a.normalizeClass)(
|
|
30763
|
+
class: (0, a.normalizeClass)(f4),
|
|
30743
30764
|
title: (0, a.unref)(o)("pptx.statusBar.zoomOut"),
|
|
30744
30765
|
"aria-label": (0, a.unref)(o)("pptx.statusBar.zoomOut"),
|
|
30745
30766
|
onClick: t[4] || (t[4] = (e) => c("zoom-out"))
|
|
30746
|
-
}, [(0, a.createVNode)((0, a.unref)(l.Minus), { class: "w-3 h-3" })], 8,
|
|
30767
|
+
}, [(0, a.createVNode)((0, a.unref)(l.Minus), { class: "w-3 h-3" })], 8, p4),
|
|
30747
30768
|
(0, a.createElementVNode)("button", {
|
|
30748
30769
|
type: "button",
|
|
30749
30770
|
class: "px-1.5 py-0.5 rounded-sm hover:bg-accent/60 text-[10px] text-muted-foreground tabular-nums min-w-[3rem] text-center transition-colors",
|
|
30750
30771
|
title: (0, a.unref)(o)("pptx.statusBar.zoomToFit"),
|
|
30751
30772
|
onClick: t[5] || (t[5] = (e) => c("zoom-to-fit"))
|
|
30752
|
-
}, (0, a.toDisplayString)(Math.round(100 * (r.scale ?? 1))) + "% ", 9,
|
|
30773
|
+
}, (0, a.toDisplayString)(Math.round(100 * (r.scale ?? 1))) + "% ", 9, u4),
|
|
30753
30774
|
(0, a.createElementVNode)("button", {
|
|
30754
30775
|
type: "button",
|
|
30755
|
-
class: (0, a.normalizeClass)(
|
|
30776
|
+
class: (0, a.normalizeClass)(f4),
|
|
30756
30777
|
title: (0, a.unref)(o)("pptx.statusBar.zoomIn"),
|
|
30757
30778
|
"aria-label": (0, a.unref)(o)("pptx.statusBar.zoomIn"),
|
|
30758
30779
|
onClick: t[6] || (t[6] = (e) => c("zoom-in"))
|
|
30759
|
-
}, [(0, a.createVNode)((0, a.unref)(l.Plus), { class: "w-3 h-3" })], 8,
|
|
30780
|
+
}, [(0, a.createVNode)((0, a.unref)(l.Plus), { class: "w-3 h-3" })], 8, m4)
|
|
30760
30781
|
])], 64))
|
|
30761
30782
|
]));
|
|
30762
30783
|
}
|
|
30763
|
-
}),
|
|
30784
|
+
}), x4 = ["title"], g4 = { class: "h-24 flex flex-col" }, h4 = { class: "h-10 flex" }, y4 = { class: "flex-1 flex" }, b4 = { class: "bg-background border-t border-border px-2 py-1.5" }, k4 = { class: "text-xs font-medium text-foreground text-center" }, E4 = {
|
|
30764
30785
|
key: 0,
|
|
30765
30786
|
class: "absolute top-1 right-1 bg-primary text-white rounded-full p-1"
|
|
30766
|
-
},
|
|
30787
|
+
}, w4 = (0, a.defineComponent)({
|
|
30767
30788
|
__name: "ThemeThumbnail",
|
|
30768
30789
|
props: {
|
|
30769
30790
|
theme: {},
|
|
@@ -30778,7 +30799,7 @@ var e1 = { class: "space-y-4" }, t1 = { class: "flex items-start gap-2 rounded-l
|
|
|
30778
30799
|
title: n.theme.name,
|
|
30779
30800
|
onClick: t[0] || (t[0] = (e) => o("select"))
|
|
30780
30801
|
}, [
|
|
30781
|
-
(0, a.createElementVNode)("div",
|
|
30802
|
+
(0, a.createElementVNode)("div", g4, [(0, a.createElementVNode)("div", h4, [
|
|
30782
30803
|
(0, a.createElementVNode)("div", {
|
|
30783
30804
|
class: "flex-1",
|
|
30784
30805
|
style: (0, a.normalizeStyle)({ backgroundColor: n.theme.colorScheme.accent1 })
|
|
@@ -30791,18 +30812,18 @@ var e1 = { class: "space-y-4" }, t1 = { class: "flex items-start gap-2 rounded-l
|
|
|
30791
30812
|
class: "flex-1",
|
|
30792
30813
|
style: (0, a.normalizeStyle)({ backgroundColor: n.theme.colorScheme.accent3 })
|
|
30793
30814
|
}, null, 4)
|
|
30794
|
-
]), (0, a.createElementVNode)("div",
|
|
30815
|
+
]), (0, a.createElementVNode)("div", y4, [(0, a.createElementVNode)("div", {
|
|
30795
30816
|
class: "w-1/3",
|
|
30796
30817
|
style: (0, a.normalizeStyle)({ backgroundColor: n.theme.colorScheme.dk2 })
|
|
30797
30818
|
}, null, 4), (0, a.createElementVNode)("div", {
|
|
30798
30819
|
class: "flex-1",
|
|
30799
30820
|
style: (0, a.normalizeStyle)({ backgroundColor: n.theme.colorScheme.lt2 })
|
|
30800
30821
|
}, null, 4)])]),
|
|
30801
|
-
(0, a.createElementVNode)("div",
|
|
30802
|
-
n.selected ? ((0, a.openBlock)(), (0, a.createElementBlock)("div",
|
|
30803
|
-
], 10,
|
|
30822
|
+
(0, a.createElementVNode)("div", b4, [(0, a.createElementVNode)("p", k4, (0, a.toDisplayString)(n.theme.name), 1)]),
|
|
30823
|
+
n.selected ? ((0, a.openBlock)(), (0, a.createElementBlock)("div", E4, [(0, a.createVNode)((0, a.unref)(l.Check), { class: "w-3 h-3" })])) : (0, a.createCommentVNode)("", !0)
|
|
30824
|
+
], 10, x4));
|
|
30804
30825
|
}
|
|
30805
|
-
}),
|
|
30826
|
+
}), S4 = ["aria-label"], C4 = { class: "fixed inset-0 z-[101] flex items-center justify-center p-4" }, B4 = ["aria-label"], N4 = { class: "flex items-center justify-between px-6 py-4 border-b border-border" }, V4 = { class: "text-lg font-semibold text-foreground" }, D4 = { class: "text-xs text-muted-foreground mt-0.5" }, _4 = ["aria-label"], T4 = { class: "flex-1 overflow-auto p-6" }, I4 = { class: "grid grid-cols-2 sm:grid-cols-3 md:grid-cols-4 lg:grid-cols-5 gap-4" }, z4 = { class: "flex items-center justify-end px-6 py-4 border-t border-border gap-2" }, P4 = ["disabled"], F4 = (0, a.defineComponent)({
|
|
30806
30827
|
__name: "ThemeGallery",
|
|
30807
30828
|
props: {
|
|
30808
30829
|
open: { type: Boolean },
|
|
@@ -30826,18 +30847,18 @@ var e1 = { class: "space-y-4" }, t1 = { class: "flex items-start gap-2 rounded-l
|
|
|
30826
30847
|
class: "fixed inset-0 z-[100] bg-black/60 backdrop-blur-sm",
|
|
30827
30848
|
"aria-label": (0, a.unref)(o)("common.close"),
|
|
30828
30849
|
onClick: t[0] || (t[0] = (e) => i("close"))
|
|
30829
|
-
}, null, 8,
|
|
30850
|
+
}, null, 8, S4), (0, a.createElementVNode)("div", C4, [(0, a.createElementVNode)("div", {
|
|
30830
30851
|
class: "bg-background border border-border rounded-xl shadow-2xl max-w-5xl w-full max-h-[90vh] flex flex-col",
|
|
30831
30852
|
role: "dialog",
|
|
30832
30853
|
"aria-label": (0, a.unref)(o)("powerpoint.toolbar.themes.gallery.ariaLabel")
|
|
30833
30854
|
}, [
|
|
30834
|
-
(0, a.createElementVNode)("div",
|
|
30855
|
+
(0, a.createElementVNode)("div", N4, [(0, a.createElementVNode)("div", null, [(0, a.createElementVNode)("h2", V4, (0, a.toDisplayString)((0, a.unref)(o)("powerpoint.toolbar.themes.gallery.title")), 1), (0, a.createElementVNode)("p", D4, (0, a.toDisplayString)((0, a.unref)(o)("powerpoint.toolbar.themes.gallery.description")), 1)]), (0, a.createElementVNode)("button", {
|
|
30835
30856
|
type: "button",
|
|
30836
30857
|
class: "p-2 rounded hover:bg-accent transition-colors",
|
|
30837
30858
|
"aria-label": (0, a.unref)(o)("common.close"),
|
|
30838
30859
|
onClick: t[1] || (t[1] = (e) => i("close"))
|
|
30839
|
-
}, [(0, a.createVNode)((0, a.unref)(l.X), { class: "w-5 h-5" })], 8,
|
|
30840
|
-
(0, a.createElementVNode)("div",
|
|
30860
|
+
}, [(0, a.createVNode)((0, a.unref)(l.X), { class: "w-5 h-5" })], 8, _4)]),
|
|
30861
|
+
(0, a.createElementVNode)("div", T4, [(0, a.createElementVNode)("div", I4, [((0, a.openBlock)(!0), (0, a.createElementBlock)(a.Fragment, null, (0, a.renderList)((0, a.unref)(n.GALLERY_THEME_PRESETS), (e) => ((0, a.openBlock)(), (0, a.createBlock)(w4, {
|
|
30841
30862
|
key: e.id,
|
|
30842
30863
|
theme: e,
|
|
30843
30864
|
selected: s.value === e.id,
|
|
@@ -30847,7 +30868,7 @@ var e1 = { class: "space-y-4" }, t1 = { class: "flex items-start gap-2 rounded-l
|
|
|
30847
30868
|
"selected",
|
|
30848
30869
|
"onSelect"
|
|
30849
30870
|
]))), 128))])]),
|
|
30850
|
-
(0, a.createElementVNode)("div",
|
|
30871
|
+
(0, a.createElementVNode)("div", z4, [(0, a.createElementVNode)("button", {
|
|
30851
30872
|
type: "button",
|
|
30852
30873
|
class: "px-3 py-1.5 rounded bg-accent hover:bg-accent/80 text-xs font-medium text-foreground transition-colors",
|
|
30853
30874
|
onClick: t[2] || (t[2] = (e) => i("close"))
|
|
@@ -30856,19 +30877,19 @@ var e1 = { class: "space-y-4" }, t1 = { class: "flex items-start gap-2 rounded-l
|
|
|
30856
30877
|
disabled: !r.canEdit || !s.value,
|
|
30857
30878
|
class: "px-3 py-1.5 rounded bg-primary hover:bg-primary/80 text-xs font-medium text-white transition-colors disabled:opacity-40 disabled:cursor-not-allowed",
|
|
30858
30879
|
onClick: c
|
|
30859
|
-
}, (0, a.toDisplayString)((0, a.unref)(o)("common.apply")), 9,
|
|
30860
|
-
], 8,
|
|
30880
|
+
}, (0, a.toDisplayString)((0, a.unref)(o)("common.apply")), 9, P4)])
|
|
30881
|
+
], 8, B4)])], 64)) : (0, a.createCommentVNode)("", !0)]));
|
|
30861
30882
|
}
|
|
30862
|
-
}),
|
|
30883
|
+
}), A4 = {
|
|
30863
30884
|
key: 0,
|
|
30864
30885
|
class: "pptx-vue-version-panel absolute inset-y-0 right-0 z-50 flex w-80 flex-col border-l border-border bg-background text-foreground shadow-xl"
|
|
30865
|
-
},
|
|
30886
|
+
}, M4 = { class: "pptx-vue-version-header flex items-center justify-between border-b border-border px-3.5 py-2.5" }, $4 = { class: "pptx-vue-version-title m-0 text-sm font-semibold" }, O4 = ["aria-label"], L4 = { class: "pptx-vue-version-list flex-1 overflow-y-auto" }, R4 = {
|
|
30866
30887
|
key: 0,
|
|
30867
30888
|
class: "pptx-vue-version-empty m-0 px-3.5 py-8 text-center text-xs text-muted-foreground"
|
|
30868
|
-
},
|
|
30889
|
+
}, U4 = ["onClick"], j4 = { class: "pptx-vue-version-meta flex min-w-0 flex-col gap-0.5" }, K4 = { class: "pptx-vue-version-label truncate text-xs font-medium" }, Z4 = { class: "pptx-vue-version-sub text-[10px] text-muted-foreground" }, H4 = {
|
|
30869
30890
|
key: 0,
|
|
30870
30891
|
class: "pptx-vue-version-preview px-3.5 pb-2"
|
|
30871
|
-
},
|
|
30892
|
+
}, W4 = { class: "pptx-vue-version-actions flex gap-1.5 px-3.5 pb-2.5" }, G4 = ["onClick"], q4 = ["onClick"], X4 = ["onClick"], J4 = (0, a.defineComponent)({
|
|
30872
30893
|
__name: "VersionHistoryPanel",
|
|
30873
30894
|
props: {
|
|
30874
30895
|
open: { type: Boolean },
|
|
@@ -30887,7 +30908,7 @@ var e1 = { class: "space-y-4" }, t1 = { class: "flex items-start gap-2 rounded-l
|
|
|
30887
30908
|
width: "240px",
|
|
30888
30909
|
height: o.canvasSize.height * d.value + "px"
|
|
30889
30910
|
}));
|
|
30890
|
-
return (t, o) => e.open ? ((0, a.openBlock)(), (0, a.createElementBlock)("aside",
|
|
30911
|
+
return (t, o) => e.open ? ((0, a.openBlock)(), (0, a.createElementBlock)("aside", A4, [(0, a.createElementVNode)("header", M4, [(0, a.createElementVNode)("h3", $4, (0, a.toDisplayString)((0, a.unref)(i)("pptx.versionHistory.title")), 1), (0, a.createElementVNode)("button", {
|
|
30891
30912
|
type: "button",
|
|
30892
30913
|
class: "pptx-vue-version-close inline-flex h-6 w-6 items-center justify-center rounded p-0 text-lg leading-none text-muted-foreground hover:bg-accent hover:text-foreground",
|
|
30893
30914
|
"aria-label": (0, a.unref)(i)("common.close"),
|
|
@@ -30895,7 +30916,7 @@ var e1 = { class: "space-y-4" }, t1 = { class: "flex items-start gap-2 rounded-l
|
|
|
30895
30916
|
}, [(0, a.createVNode)((0, a.unref)(l.X), {
|
|
30896
30917
|
class: "h-4 w-4",
|
|
30897
30918
|
"aria-hidden": "true"
|
|
30898
|
-
})], 8,
|
|
30919
|
+
})], 8, O4)]), (0, a.createElementVNode)("div", L4, [0 === c.value.length ? ((0, a.openBlock)(), (0, a.createElementBlock)("p", R4, (0, a.toDisplayString)((0, a.unref)(i)("pptx.versionHistory.noVersionsYet")), 1)) : (0, a.createCommentVNode)("", !0), ((0, a.openBlock)(!0), (0, a.createElementBlock)(a.Fragment, null, (0, a.renderList)(c.value, (t) => ((0, a.openBlock)(), (0, a.createElementBlock)("div", {
|
|
30899
30920
|
key: t.id,
|
|
30900
30921
|
class: "pptx-vue-version-item group border-b border-border"
|
|
30901
30922
|
}, [
|
|
@@ -30910,8 +30931,8 @@ var e1 = { class: "space-y-4" }, t1 = { class: "flex items-start gap-2 rounded-l
|
|
|
30910
30931
|
}, [((0, a.openBlock)(), (0, a.createBlock)((0, a.resolveDynamicComponent)(s.value === t.id ? (0, a.unref)(l.ChevronDown) : (0, a.unref)(l.ChevronRight)), {
|
|
30911
30932
|
class: "pptx-vue-version-caret h-3.5 w-3.5 flex-shrink-0 text-muted-foreground",
|
|
30912
30933
|
"aria-hidden": "true"
|
|
30913
|
-
})), (0, a.createElementVNode)("span",
|
|
30914
|
-
s.value === t.id ? ((0, a.openBlock)(), (0, a.createElementBlock)("div",
|
|
30934
|
+
})), (0, a.createElementVNode)("span", j4, [(0, a.createElementVNode)("span", K4, (0, a.toDisplayString)(t.label), 1), (0, a.createElementVNode)("span", Z4, (0, a.toDisplayString)((0, a.unref)(n.formatVersionTimestamp)(t.timestamp)) + " · " + (0, a.toDisplayString)((0, a.unref)(i)("pptx.versionHistory.slideCount", { count: t.slideCount })), 1)])], 8, U4),
|
|
30935
|
+
s.value === t.id ? ((0, a.openBlock)(), (0, a.createElementBlock)("div", H4, [t.slides.length > 0 ? ((0, a.openBlock)(), (0, a.createElementBlock)("div", {
|
|
30915
30936
|
key: 0,
|
|
30916
30937
|
class: "pptx-vue-version-thumb overflow-hidden rounded border border-border",
|
|
30917
30938
|
style: (0, a.normalizeStyle)(p.value)
|
|
@@ -30926,27 +30947,27 @@ var e1 = { class: "space-y-4" }, t1 = { class: "flex items-start gap-2 rounded-l
|
|
|
30926
30947
|
"media-data-urls",
|
|
30927
30948
|
"scale"
|
|
30928
30949
|
])], 4)) : (0, a.createCommentVNode)("", !0)])) : (0, a.createCommentVNode)("", !0),
|
|
30929
|
-
(0, a.createElementVNode)("div",
|
|
30950
|
+
(0, a.createElementVNode)("div", W4, [
|
|
30930
30951
|
(0, a.createElementVNode)("button", {
|
|
30931
30952
|
type: "button",
|
|
30932
30953
|
class: "pptx-vue-version-btn pptx-vue-version-btn--primary inline-flex cursor-pointer items-center rounded bg-primary/20 px-2.5 py-1 text-[11px] text-primary transition-colors hover:bg-primary/30",
|
|
30933
30954
|
onClick: (e) => r("restore", t.id)
|
|
30934
|
-
}, (0, a.toDisplayString)((0, a.unref)(i)("pptx.versionHistory.restore")), 9,
|
|
30955
|
+
}, (0, a.toDisplayString)((0, a.unref)(i)("pptx.versionHistory.restore")), 9, G4),
|
|
30935
30956
|
(0, a.createElementVNode)("button", {
|
|
30936
30957
|
type: "button",
|
|
30937
30958
|
class: "pptx-vue-version-btn inline-flex cursor-pointer items-center rounded bg-muted px-2.5 py-1 text-[11px] text-foreground transition-colors hover:bg-accent",
|
|
30938
30959
|
onClick: (e) => r("compare", t.id)
|
|
30939
|
-
}, (0, a.toDisplayString)((0, a.unref)(i)("pptx.versionHistory.compare")), 9,
|
|
30960
|
+
}, (0, a.toDisplayString)((0, a.unref)(i)("pptx.versionHistory.compare")), 9, q4),
|
|
30940
30961
|
(0, a.createElementVNode)("button", {
|
|
30941
30962
|
type: "button",
|
|
30942
30963
|
class: "pptx-vue-version-btn pptx-vue-version-btn--danger inline-flex cursor-pointer items-center rounded bg-red-600/20 px-2.5 py-1 text-[11px] text-red-400 transition-colors hover:bg-red-600/30",
|
|
30943
30964
|
onClick: (e) => r("delete", t.id)
|
|
30944
|
-
}, (0, a.toDisplayString)((0, a.unref)(i)("common.delete")), 9,
|
|
30965
|
+
}, (0, a.toDisplayString)((0, a.unref)(i)("common.delete")), 9, X4)
|
|
30945
30966
|
])
|
|
30946
30967
|
]))), 128))])])) : (0, a.createCommentVNode)("", !0);
|
|
30947
30968
|
}
|
|
30948
30969
|
});
|
|
30949
|
-
function
|
|
30970
|
+
function Q4(e) {
|
|
30950
30971
|
const { activeSlideIndex: t, selectedElementIds: n, selectedElementId: o } = e, a = n.length > 0 ? n : o ? [o] : [];
|
|
30951
30972
|
return 0 === a.length ? [{
|
|
30952
30973
|
kind: "slide",
|
|
@@ -30957,7 +30978,7 @@ function Y4(e) {
|
|
|
30957
30978
|
elementId: e
|
|
30958
30979
|
}));
|
|
30959
30980
|
}
|
|
30960
|
-
function
|
|
30981
|
+
function e8(e, t) {
|
|
30961
30982
|
return e.map((e, n) => {
|
|
30962
30983
|
if ("slide" === e.kind) {
|
|
30963
30984
|
const t = `Slide ${e.slideIndex + 1}`;
|
|
@@ -30980,7 +31001,7 @@ function J4(e, t) {
|
|
|
30980
31001
|
};
|
|
30981
31002
|
});
|
|
30982
31003
|
}
|
|
30983
|
-
function
|
|
31004
|
+
function t8(e, t) {
|
|
30984
31005
|
if (2 !== e.length || e.some((e) => "element" !== e.kind)) return !1;
|
|
30985
31006
|
const [n, o] = e;
|
|
30986
31007
|
if (n.slideIndex !== o.slideIndex) return !1;
|
|
@@ -30991,13 +31012,13 @@ function Q4(e, t) {
|
|
|
30991
31012
|
elementIdB: o.elementId
|
|
30992
31013
|
};
|
|
30993
31014
|
}
|
|
30994
|
-
function
|
|
31015
|
+
function n8(e) {
|
|
30995
31016
|
const { activeSlideIndex: t, selectedElementIds: n, selectedElement: o } = e, r = (0, a.ref)(null), l = (0, a.ref)({
|
|
30996
31017
|
text: "",
|
|
30997
31018
|
nonce: 0
|
|
30998
31019
|
}), i = (0, a.ref)(!1), s = (0, a.ref)([]), c = (0, a.ref)(null), d = (0, a.ref)(0);
|
|
30999
31020
|
let p = null;
|
|
31000
|
-
const u = (0, a.ref)(null), m = (0, a.computed)(() =>
|
|
31021
|
+
const u = (0, a.ref)(null), m = (0, a.computed)(() => Q4({
|
|
31001
31022
|
activeSlideIndex: t.value,
|
|
31002
31023
|
selectedElementIds: n.value,
|
|
31003
31024
|
selectedElementId: n.value[0] ?? null
|
|
@@ -31080,27 +31101,27 @@ function e8(e) {
|
|
|
31080
31101
|
}
|
|
31081
31102
|
};
|
|
31082
31103
|
}
|
|
31083
|
-
var
|
|
31084
|
-
var
|
|
31104
|
+
var o8 = Symbol("pptxViewerOptions"), a8 = Symbol("pptxScreenTip");
|
|
31105
|
+
var r8 = ["aria-busy", "tabindex"], l8 = {
|
|
31085
31106
|
key: 0,
|
|
31086
31107
|
class: "pptx-vue-state pptx-vue-loading",
|
|
31087
31108
|
role: "status",
|
|
31088
31109
|
"aria-live": "polite"
|
|
31089
|
-
},
|
|
31110
|
+
}, i8 = {
|
|
31090
31111
|
key: 1,
|
|
31091
31112
|
class: "pptx-vue-state pptx-vue-error",
|
|
31092
31113
|
role: "alert"
|
|
31093
|
-
},
|
|
31114
|
+
}, s8 = {
|
|
31094
31115
|
key: 2,
|
|
31095
31116
|
class: "pptx-vue-state pptx-vue-error",
|
|
31096
31117
|
role: "alert"
|
|
31097
|
-
},
|
|
31118
|
+
}, c8 = { class: "pptx-vue-error-detail" }, d8 = { class: "pptx-vue-body" }, p8 = ["aria-label"], u8 = ["data-pptx-ai-active"], m8 = {
|
|
31098
31119
|
key: 7,
|
|
31099
31120
|
class: "pointer-events-auto absolute right-2 top-2 z-50"
|
|
31100
|
-
},
|
|
31121
|
+
}, f8 = ["aria-label"], v8 = ["aria-label"], x8 = {
|
|
31101
31122
|
key: 2,
|
|
31102
31123
|
class: "px-4 py-6 text-center text-xs text-muted-foreground"
|
|
31103
|
-
},
|
|
31124
|
+
}, h8 = (0, a.defineComponent)({
|
|
31104
31125
|
__name: "PowerPointViewer",
|
|
31105
31126
|
props: {
|
|
31106
31127
|
content: {},
|
|
@@ -31278,7 +31299,7 @@ var o8 = ["aria-busy", "tabindex"], a8 = {
|
|
|
31278
31299
|
function Ve() {
|
|
31279
31300
|
he.value = [];
|
|
31280
31301
|
}
|
|
31281
|
-
const De = (0, a.ref)(!1), _e =
|
|
31302
|
+
const De = (0, a.ref)(!1), _e = n8({
|
|
31282
31303
|
activeSlideIndex: oe,
|
|
31283
31304
|
selectedElementIds: he,
|
|
31284
31305
|
selectedElement: () => {
|
|
@@ -31761,7 +31782,7 @@ var o8 = ["aria-busy", "tabindex"], a8 = {
|
|
|
31761
31782
|
const e = n.createViewerOptionsStore(), t = (0, a.shallowRef)(e.getOptions()), o = e.subscribe((e) => {
|
|
31762
31783
|
t.value = e;
|
|
31763
31784
|
});
|
|
31764
|
-
return (0, a.onScopeDispose)(o), (0, a.provide)(
|
|
31785
|
+
return (0, a.onScopeDispose)(o), (0, a.provide)(o8, t), (0, a.provide)(a8, (e, o, a) => n.resolveScreenTip(t.value, e, o, a)), {
|
|
31765
31786
|
optionsStore: e,
|
|
31766
31787
|
viewerOptions: t
|
|
31767
31788
|
};
|
|
@@ -31861,7 +31882,7 @@ var o8 = ["aria-busy", "tabindex"], a8 = {
|
|
|
31861
31882
|
const n = e.pinnedFocus?.();
|
|
31862
31883
|
if (n && n.length > 0) return n;
|
|
31863
31884
|
const o = e.selectedElementIds?.() ?? [];
|
|
31864
|
-
return
|
|
31885
|
+
return Q4({
|
|
31865
31886
|
activeSlideIndex: e.activeSlideIndex.value,
|
|
31866
31887
|
selectedElementIds: o,
|
|
31867
31888
|
selectedElementId: o[0] ?? null
|
|
@@ -32214,11 +32235,11 @@ var o8 = ["aria-busy", "tabindex"], a8 = {
|
|
|
32214
32235
|
tabindex: i.canEdit ? 0 : void 0,
|
|
32215
32236
|
onKeydown: t[77] || (t[77] = (...e) => (0, a.unref)(Pa) && (0, a.unref)(Pa)(...e))
|
|
32216
32237
|
}, [
|
|
32217
|
-
(0, a.unref)(V) ? ((0, a.openBlock)(), (0, a.createElementBlock)("div",
|
|
32238
|
+
(0, a.unref)(V) ? ((0, a.openBlock)(), (0, a.createElementBlock)("div", l8, [t[78] || (t[78] = (0, a.createElementVNode)("div", {
|
|
32218
32239
|
class: "pptx-vue-spinner",
|
|
32219
32240
|
"aria-hidden": "true"
|
|
32220
|
-
}, null, -1)), (0, a.createElementVNode)("p", null, (0, a.toDisplayString)((0, a.unref)(c)("pptx.viewer.loading")), 1)])) : (0, a.unref)(_) ? ((0, a.openBlock)(), (0, a.createElementBlock)("div",
|
|
32221
|
-
(0, a.unref)(Rt) ? (0, a.createCommentVNode)("", !0) : ((0, a.openBlock)(), (0, a.createElementBlock)(a.Fragment, { key: 0 }, [(0, a.unref)(Mo) ? (0, a.createCommentVNode)("", !0) : ((0, a.openBlock)(), (0, a.createBlock)(
|
|
32241
|
+
}, null, -1)), (0, a.createElementVNode)("p", null, (0, a.toDisplayString)((0, a.unref)(c)("pptx.viewer.loading")), 1)])) : (0, a.unref)(_) ? ((0, a.openBlock)(), (0, a.createElementBlock)("div", i8, [(0, a.createElementVNode)("p", null, (0, a.toDisplayString)((0, a.unref)(c)("pptx.viewer.encrypted")), 1)])) : (0, a.unref)(D) ? ((0, a.openBlock)(), (0, a.createElementBlock)("div", s8, [(0, a.createElementVNode)("p", null, (0, a.toDisplayString)((0, a.unref)(c)("pptx.viewer.loadError")), 1), (0, a.createElementVNode)("pre", c8, (0, a.toDisplayString)((0, a.unref)(D)), 1)])) : ((0, a.openBlock)(), (0, a.createElementBlock)(a.Fragment, { key: 3 }, [
|
|
32242
|
+
(0, a.unref)(Rt) ? (0, a.createCommentVNode)("", !0) : ((0, a.openBlock)(), (0, a.createElementBlock)(a.Fragment, { key: 0 }, [(0, a.unref)(Mo) ? (0, a.createCommentVNode)("", !0) : ((0, a.openBlock)(), (0, a.createBlock)(pQ, {
|
|
32222
32243
|
key: 0,
|
|
32223
32244
|
mode: (0, a.unref)(mr),
|
|
32224
32245
|
"can-edit": i.canEdit,
|
|
@@ -32255,7 +32276,7 @@ var o8 = ["aria-busy", "tabindex"], a8 = {
|
|
|
32255
32276
|
"find-replace-open",
|
|
32256
32277
|
"on-toggle-find-replace",
|
|
32257
32278
|
"hidden-actions"
|
|
32258
|
-
])), (0, a.unref)(Mo) ? ((0, a.openBlock)(), (0, a.createBlock)(aW, (0, a.mergeProps)({ key: 2 }, (0, a.unref)(yr), { "hidden-actions": i.hiddenActions }), null, 16, ["hidden-actions"])) : ((0, a.openBlock)(), (0, a.createBlock)(
|
|
32279
|
+
])), (0, a.unref)(Mo) ? ((0, a.openBlock)(), (0, a.createBlock)(aW, (0, a.mergeProps)({ key: 2 }, (0, a.unref)(yr), { "hidden-actions": i.hiddenActions }), null, 16, ["hidden-actions"])) : ((0, a.openBlock)(), (0, a.createBlock)(YJ, (0, a.mergeProps)({ key: 1 }, (0, a.unref)(yr), {
|
|
32259
32280
|
"hidden-actions": i.hiddenActions,
|
|
32260
32281
|
"ai-enabled": Boolean(i.ai),
|
|
32261
32282
|
"is-ai-panel-open": De.value,
|
|
@@ -32310,12 +32331,12 @@ var o8 = ["aria-busy", "tabindex"], a8 = {
|
|
|
32310
32331
|
"onReplace",
|
|
32311
32332
|
"onReplaceAll"
|
|
32312
32333
|
])) : (0, a.createCommentVNode)("", !0),
|
|
32313
|
-
(0, a.createElementVNode)("div",
|
|
32334
|
+
(0, a.createElementVNode)("div", d8, [
|
|
32314
32335
|
(0, a.unref)(Mo) || da.value || (0, a.unref)(ja) ? (0, a.unref)(Mo) || (0, a.unref)(ja) ? (0, a.createCommentVNode)("", !0) : ((0, a.openBlock)(), (0, a.createElementBlock)("nav", {
|
|
32315
32336
|
key: 1,
|
|
32316
32337
|
class: "pptx-vue-thumbnails",
|
|
32317
32338
|
"aria-label": (0, a.unref)(c)("pptx.sections.slides")
|
|
32318
|
-
}, [(0, a.createVNode)(
|
|
32339
|
+
}, [(0, a.createVNode)(CQ, {
|
|
32319
32340
|
groups: pa.value,
|
|
32320
32341
|
"canvas-size": (0, a.unref)(B),
|
|
32321
32342
|
"media-data-urls": (0, a.unref)(N),
|
|
@@ -32339,7 +32360,7 @@ var o8 = ["aria-busy", "tabindex"], a8 = {
|
|
|
32339
32360
|
"onMoveUp",
|
|
32340
32361
|
"onMoveDown",
|
|
32341
32362
|
"onDelete"
|
|
32342
|
-
])], 8,
|
|
32363
|
+
])], 8, p8)) : ((0, a.openBlock)(), (0, a.createBlock)(pR, {
|
|
32343
32364
|
key: 0,
|
|
32344
32365
|
slides: Be.value,
|
|
32345
32366
|
"active-index": oe.value,
|
|
@@ -32372,7 +32393,7 @@ var o8 = ["aria-busy", "tabindex"], a8 = {
|
|
|
32372
32393
|
onPointermove: t[14] || (t[14] = (...e) => (0, a.unref)(io) && (0, a.unref)(io)(...e)),
|
|
32373
32394
|
onTouchstart: de,
|
|
32374
32395
|
onTouchend: pe
|
|
32375
|
-
}, [(0, a.createVNode)(
|
|
32396
|
+
}, [(0, a.createVNode)(K5, {
|
|
32376
32397
|
slide: re.value,
|
|
32377
32398
|
"canvas-size": (0, a.unref)(B),
|
|
32378
32399
|
"media-data-urls": (0, a.unref)(N),
|
|
@@ -32409,7 +32430,7 @@ var o8 = ["aria-busy", "tabindex"], a8 = {
|
|
|
32409
32430
|
"onMove",
|
|
32410
32431
|
"onRemove"
|
|
32411
32432
|
])) : (0, a.createCommentVNode)("", !0),
|
|
32412
|
-
(0, a.unref)(nt).length > 0 ? ((0, a.openBlock)(), (0, a.createBlock)(
|
|
32433
|
+
(0, a.unref)(nt).length > 0 ? ((0, a.openBlock)(), (0, a.createBlock)(e4, {
|
|
32413
32434
|
key: 2,
|
|
32414
32435
|
"snap-lines": (0, a.unref)(nt)
|
|
32415
32436
|
}, null, 8, ["snap-lines"])) : (0, a.createCommentVNode)("", !0),
|
|
@@ -32448,7 +32469,7 @@ var o8 = ["aria-busy", "tabindex"], a8 = {
|
|
|
32448
32469
|
batch: (0, a.unref)(_e).changeBatch.value,
|
|
32449
32470
|
"active-slide-index": oe.value
|
|
32450
32471
|
}, null, 8, ["batch", "active-slide-index"])) : (0, a.createCommentVNode)("", !0),
|
|
32451
|
-
!i.canEdit || (0, a.unref)(Ae) || (0, a.unref)(Rt) ? (0, a.createCommentVNode)("", !0) : ((0, a.openBlock)(), (0, a.createBlock)(
|
|
32472
|
+
!i.canEdit || (0, a.unref)(Ae) || (0, a.unref)(Rt) ? (0, a.createCommentVNode)("", !0) : ((0, a.openBlock)(), (0, a.createBlock)(IQ, {
|
|
32452
32473
|
key: 6,
|
|
32453
32474
|
elements: Ce.value,
|
|
32454
32475
|
"selected-ids": he.value,
|
|
@@ -32491,7 +32512,7 @@ var o8 = ["aria-busy", "tabindex"], a8 = {
|
|
|
32491
32512
|
key: 8,
|
|
32492
32513
|
cursors: (0, a.unref)(no).cursors.value
|
|
32493
32514
|
}, null, 8, ["cursors"])) : (0, a.createCommentVNode)("", !0),
|
|
32494
|
-
(0, a.unref)(oo) ? ((0, a.openBlock)(), (0, a.createBlock)(
|
|
32515
|
+
(0, a.unref)(oo) ? ((0, a.openBlock)(), (0, a.createBlock)(NY, {
|
|
32495
32516
|
key: 9,
|
|
32496
32517
|
presences: (0, a.unref)(no).remotePresences.value,
|
|
32497
32518
|
elements: re.value?.elements ?? [],
|
|
@@ -32511,7 +32532,7 @@ var o8 = ["aria-busy", "tabindex"], a8 = {
|
|
|
32511
32532
|
"show-rulers",
|
|
32512
32533
|
"template-elements",
|
|
32513
32534
|
"edit-template-mode"
|
|
32514
|
-
])], 42,
|
|
32535
|
+
])], 42, u8),
|
|
32515
32536
|
i.canEdit && !(0, a.unref)(Mo) && It.value && (0, a.unref)(Ua) ? ((0, a.openBlock)(), (0, a.createBlock)(_M, {
|
|
32516
32537
|
key: 2,
|
|
32517
32538
|
element: It.value,
|
|
@@ -32613,16 +32634,16 @@ var o8 = ["aria-busy", "tabindex"], a8 = {
|
|
|
32613
32634
|
onResolve: t[23] || (t[23] = (e) => (0, a.unref)(to)((0, a.unref)(Qn).resolveComment(e))),
|
|
32614
32635
|
onReply: t[24] || (t[24] = (e) => (0, a.unref)(to)((0, a.unref)(Qn).replyToComment(e.parentId, e.text)))
|
|
32615
32636
|
}, null, 8, ["comments", "author-name"])) : (0, a.createCommentVNode)("", !0),
|
|
32616
|
-
(0, a.unref)(vo) && !(0, a.unref)(Mo) ? ((0, a.openBlock)(), (0, a.createElementBlock)("div",
|
|
32637
|
+
(0, a.unref)(vo) && !(0, a.unref)(Mo) ? ((0, a.openBlock)(), (0, a.createElementBlock)("div", m8, [(0, a.createVNode)(_5, {
|
|
32617
32638
|
"has-signatures": (0, a.unref)(vo),
|
|
32618
32639
|
"signature-count": (0, a.unref)($).length,
|
|
32619
32640
|
onClick: t[25] || (t[25] = (e) => mo.value = !0)
|
|
32620
32641
|
}, null, 8, ["has-signatures", "signature-count"])])) : (0, a.createCommentVNode)("", !0),
|
|
32621
|
-
(0, a.unref)(mo) ? ((0, a.openBlock)(), (0, a.createBlock)(
|
|
32642
|
+
(0, a.unref)(mo) ? ((0, a.openBlock)(), (0, a.createBlock)(V5, {
|
|
32622
32643
|
key: 8,
|
|
32623
32644
|
signatures: (0, a.unref)($)
|
|
32624
32645
|
}, null, 8, ["signatures"])) : (0, a.createCommentVNode)("", !0),
|
|
32625
|
-
i.canEdit && !(0, a.unref)(Mo) && (0, a.unref)(Io) ? ((0, a.openBlock)(), (0, a.createBlock)(
|
|
32646
|
+
i.canEdit && !(0, a.unref)(Mo) && (0, a.unref)(Io) ? ((0, a.openBlock)(), (0, a.createBlock)(UQ, {
|
|
32626
32647
|
key: 9,
|
|
32627
32648
|
elements: re.value?.elements ?? [],
|
|
32628
32649
|
"selected-ids": he.value,
|
|
@@ -32682,7 +32703,7 @@ var o8 = ["aria-busy", "tabindex"], a8 = {
|
|
|
32682
32703
|
"expanded",
|
|
32683
32704
|
"onUpdate"
|
|
32684
32705
|
])) : (0, a.createCommentVNode)("", !0),
|
|
32685
|
-
!(0, a.unref)(Mo) && ae.value > 0 ? ((0, a.openBlock)(), (0, a.createBlock)(
|
|
32706
|
+
!(0, a.unref)(Mo) && ae.value > 0 ? ((0, a.openBlock)(), (0, a.createBlock)(v4, {
|
|
32686
32707
|
key: 3,
|
|
32687
32708
|
"slide-count": ae.value,
|
|
32688
32709
|
"active-slide-index": oe.value,
|
|
@@ -32724,7 +32745,7 @@ var o8 = ["aria-busy", "tabindex"], a8 = {
|
|
|
32724
32745
|
"show-notes",
|
|
32725
32746
|
"hidden-actions"
|
|
32726
32747
|
])) : (0, a.createCommentVNode)("", !0),
|
|
32727
|
-
(0, a.createVNode)(
|
|
32748
|
+
(0, a.createVNode)(F4, {
|
|
32728
32749
|
open: (0, a.unref)(Xa),
|
|
32729
32750
|
"active-name": (0, a.unref)(X)?.name,
|
|
32730
32751
|
"can-edit": i.canEdit,
|
|
@@ -32772,7 +32793,7 @@ var o8 = ["aria-busy", "tabindex"], a8 = {
|
|
|
32772
32793
|
"element",
|
|
32773
32794
|
"slide-count"
|
|
32774
32795
|
]),
|
|
32775
|
-
(0, a.createVNode)(
|
|
32796
|
+
(0, a.createVNode)(d5, {
|
|
32776
32797
|
open: (0, a.unref)(ao),
|
|
32777
32798
|
defaults: i.shareDefaults,
|
|
32778
32799
|
active: (0, a.unref)(oo),
|
|
@@ -32802,7 +32823,7 @@ var o8 = ["aria-busy", "tabindex"], a8 = {
|
|
|
32802
32823
|
"slides",
|
|
32803
32824
|
"onSave"
|
|
32804
32825
|
]),
|
|
32805
|
-
(0, a.createVNode)(
|
|
32826
|
+
(0, a.createVNode)(J4, {
|
|
32806
32827
|
open: (0, a.unref)(Ea),
|
|
32807
32828
|
versions: (0, a.unref)(ka).versions.value,
|
|
32808
32829
|
"canvas-size": (0, a.unref)(B),
|
|
@@ -32835,7 +32856,7 @@ var o8 = ["aria-busy", "tabindex"], a8 = {
|
|
|
32835
32856
|
"onClose",
|
|
32836
32857
|
"onAcceptAll"
|
|
32837
32858
|
]),
|
|
32838
|
-
(0, a.createVNode)(
|
|
32859
|
+
(0, a.createVNode)(nY, {
|
|
32839
32860
|
open: (0, a.unref)(vn).isPrintDialogOpen.value,
|
|
32840
32861
|
slides: (0, a.unref)(S),
|
|
32841
32862
|
"active-slide-index": oe.value,
|
|
@@ -32848,11 +32869,11 @@ var o8 = ["aria-busy", "tabindex"], a8 = {
|
|
|
32848
32869
|
"onPrint",
|
|
32849
32870
|
"onClose"
|
|
32850
32871
|
]),
|
|
32851
|
-
(0, a.createVNode)(
|
|
32872
|
+
(0, a.createVNode)(y5, {
|
|
32852
32873
|
open: (0, a.unref)(Ia),
|
|
32853
32874
|
onClose: t[39] || (t[39] = (e) => Ia.value = !1)
|
|
32854
32875
|
}, null, 8, ["open"]),
|
|
32855
|
-
(0, a.createVNode)(
|
|
32876
|
+
(0, a.createVNode)(Y1, {
|
|
32856
32877
|
open: (0, a.unref)(nr),
|
|
32857
32878
|
options: (0, a.unref)(tr),
|
|
32858
32879
|
"on-option-change": (e, t, n) => (0, a.unref)(er).setValue(e, t, n),
|
|
@@ -32974,7 +32995,7 @@ var o8 = ["aria-busy", "tabindex"], a8 = {
|
|
|
32974
32995
|
"slide",
|
|
32975
32996
|
"canvas-size",
|
|
32976
32997
|
"media-data-urls"
|
|
32977
|
-
])) : (0, a.createCommentVNode)("", !0)], 8,
|
|
32998
|
+
])) : (0, a.createCommentVNode)("", !0)], 8, v8)], 8, f8)) : (0, a.createCommentVNode)("", !0),
|
|
32978
32999
|
(0, a.createVNode)(Mm, {
|
|
32979
33000
|
open: (0, a.unref)(so),
|
|
32980
33001
|
active: (0, a.unref)(oo),
|
|
@@ -32991,7 +33012,7 @@ var o8 = ["aria-busy", "tabindex"], a8 = {
|
|
|
32991
33012
|
"onStart",
|
|
32992
33013
|
"onStop"
|
|
32993
33014
|
]),
|
|
32994
|
-
(0, a.createVNode)(
|
|
33015
|
+
(0, a.createVNode)(R2, {
|
|
32995
33016
|
open: (0, a.unref)(ho),
|
|
32996
33017
|
properties: (0, a.unref)(K),
|
|
32997
33018
|
"custom-shows": (0, a.unref)(j),
|
|
@@ -33048,7 +33069,7 @@ var o8 = ["aria-busy", "tabindex"], a8 = {
|
|
|
33048
33069
|
"onApply",
|
|
33049
33070
|
"onClose"
|
|
33050
33071
|
]),
|
|
33051
|
-
(0, a.createVNode)(
|
|
33072
|
+
(0, a.createVNode)(F5, {
|
|
33052
33073
|
open: (0, a.unref)(xo),
|
|
33053
33074
|
"signature-count": (0, a.unref)($).length,
|
|
33054
33075
|
onConfirm: (0, a.unref)(go),
|
|
@@ -33197,7 +33218,7 @@ var o8 = ["aria-busy", "tabindex"], a8 = {
|
|
|
33197
33218
|
"onUpdateCustomProperties",
|
|
33198
33219
|
"onUpdateTagCollections",
|
|
33199
33220
|
"onSelectElement"
|
|
33200
|
-
])) : ((0, a.openBlock)(), (0, a.createElementBlock)("p",
|
|
33221
|
+
])) : ((0, a.openBlock)(), (0, a.createElementBlock)("p", x8, (0, a.toDisplayString)((0, a.unref)(c)("pptx.inspector.noSlideSelected")), 1))]),
|
|
33201
33222
|
_: 1
|
|
33202
33223
|
}, 8, ["open", "title"])) : (0, a.createCommentVNode)("", !0),
|
|
33203
33224
|
(0, a.unref)(Mo) && i.canEdit && !(0, a.unref)(Rt) ? ((0, a.openBlock)(), (0, a.createBlock)(oR, {
|
|
@@ -33253,7 +33274,7 @@ var o8 = ["aria-busy", "tabindex"], a8 = {
|
|
|
33253
33274
|
"status-message",
|
|
33254
33275
|
"onCancel"
|
|
33255
33276
|
]),
|
|
33256
|
-
xn.value ? ((0, a.openBlock)(), (0, a.createBlock)(
|
|
33277
|
+
xn.value ? ((0, a.openBlock)(), (0, a.createBlock)(Q5, {
|
|
33257
33278
|
key: 4,
|
|
33258
33279
|
slides: Be.value,
|
|
33259
33280
|
"canvas-size": (0, a.unref)(B),
|
|
@@ -33276,7 +33297,7 @@ var o8 = ["aria-busy", "tabindex"], a8 = {
|
|
|
33276
33297
|
"can-edit",
|
|
33277
33298
|
"onToggleHidden"
|
|
33278
33299
|
])) : (0, a.createCommentVNode)("", !0),
|
|
33279
|
-
(0, a.unref)(Rt) ? ((0, a.openBlock)(), (0, a.createBlock)(
|
|
33300
|
+
(0, a.unref)(Rt) ? ((0, a.openBlock)(), (0, a.createBlock)(mX, {
|
|
33280
33301
|
key: 5,
|
|
33281
33302
|
slides: Be.value,
|
|
33282
33303
|
"canvas-size": (0, a.unref)(B),
|
|
@@ -33298,7 +33319,7 @@ var o8 = ["aria-busy", "tabindex"], a8 = {
|
|
|
33298
33319
|
"end-with-black-slide",
|
|
33299
33320
|
"prompt-keep-ink-annotations"
|
|
33300
33321
|
])) : (0, a.createCommentVNode)("", !0),
|
|
33301
|
-
(0, a.unref)(Ht).rehearsing.value ? ((0, a.openBlock)(), (0, a.createBlock)(
|
|
33322
|
+
(0, a.unref)(Ht).rehearsing.value ? ((0, a.openBlock)(), (0, a.createBlock)(uY, {
|
|
33302
33323
|
key: 6,
|
|
33303
33324
|
"slide-elapsed-ms": (0, a.unref)(Ht).slideElapsedMs.value,
|
|
33304
33325
|
"total-elapsed-ms": (0, a.unref)(Ht).totalElapsedMs.value,
|
|
@@ -33310,7 +33331,7 @@ var o8 = ["aria-busy", "tabindex"], a8 = {
|
|
|
33310
33331
|
"paused",
|
|
33311
33332
|
"onTogglePause"
|
|
33312
33333
|
])) : (0, a.createCommentVNode)("", !0),
|
|
33313
|
-
(0, a.unref)(Ht).showSummary.value ? ((0, a.openBlock)(), (0, a.createBlock)(
|
|
33334
|
+
(0, a.unref)(Ht).showSummary.value ? ((0, a.openBlock)(), (0, a.createBlock)(wY, {
|
|
33314
33335
|
key: 7,
|
|
33315
33336
|
timings: (0, a.unref)(Ht).recordedTimings.value,
|
|
33316
33337
|
onSave: (0, a.unref)(Ht).saveTimings,
|
|
@@ -33320,13 +33341,13 @@ var o8 = ["aria-busy", "tabindex"], a8 = {
|
|
|
33320
33341
|
"onSave",
|
|
33321
33342
|
"onDiscard"
|
|
33322
33343
|
])) : (0, a.createCommentVNode)("", !0)
|
|
33323
|
-
], 46,
|
|
33344
|
+
], 46, r8));
|
|
33324
33345
|
}
|
|
33325
33346
|
});
|
|
33326
|
-
function
|
|
33347
|
+
function y8(e) {
|
|
33327
33348
|
return n.useCollaboration(e);
|
|
33328
33349
|
}
|
|
33329
|
-
function
|
|
33350
|
+
function b8(e) {
|
|
33330
33351
|
return {
|
|
33331
33352
|
remotePresences: e.remotePresences,
|
|
33332
33353
|
cursors: e.cursors,
|
|
@@ -33338,7 +33359,7 @@ function h8(e) {
|
|
|
33338
33359
|
followUser: e.followUser
|
|
33339
33360
|
};
|
|
33340
33361
|
}
|
|
33341
|
-
function
|
|
33362
|
+
function k8(e) {
|
|
33342
33363
|
return {
|
|
33343
33364
|
status: e.status,
|
|
33344
33365
|
connected: e.connected,
|
|
@@ -33348,11 +33369,11 @@ function y8(e) {
|
|
|
33348
33369
|
retry: e.retry
|
|
33349
33370
|
};
|
|
33350
33371
|
}
|
|
33351
|
-
function
|
|
33372
|
+
function E8(e) {
|
|
33352
33373
|
return "boolean" == typeof e ? e : e.value;
|
|
33353
33374
|
}
|
|
33354
|
-
function
|
|
33355
|
-
const t = (0, a.ref)(0), n = (0, a.computed)(() =>
|
|
33375
|
+
function w8(e) {
|
|
33376
|
+
const t = (0, a.ref)(0), n = (0, a.computed)(() => E8(e.canUndo)), o = (0, a.computed)(() => E8(e.canRedo));
|
|
33356
33377
|
return {
|
|
33357
33378
|
handleUndo: function() {
|
|
33358
33379
|
n.value && (e.handleUndo(), t.value = Math.max(0, t.value - 1));
|
|
@@ -33417,22 +33438,22 @@ Object.defineProperty(exports, "ChartRenderer_default", {
|
|
|
33417
33438
|
}), Object.defineProperty(exports, "PowerPointViewer_default", {
|
|
33418
33439
|
enumerable: !0,
|
|
33419
33440
|
get: function() {
|
|
33420
|
-
return
|
|
33441
|
+
return h8;
|
|
33421
33442
|
}
|
|
33422
33443
|
}), Object.defineProperty(exports, "RemoteSelectionOverlay_default", {
|
|
33423
33444
|
enumerable: !0,
|
|
33424
33445
|
get: function() {
|
|
33425
|
-
return
|
|
33446
|
+
return NY;
|
|
33426
33447
|
}
|
|
33427
33448
|
}), Object.defineProperty(exports, "RibbonToolbar_default", {
|
|
33428
33449
|
enumerable: !0,
|
|
33429
33450
|
get: function() {
|
|
33430
|
-
return
|
|
33451
|
+
return YJ;
|
|
33431
33452
|
}
|
|
33432
33453
|
}), Object.defineProperty(exports, "SlideCanvas_default", {
|
|
33433
33454
|
enumerable: !0,
|
|
33434
33455
|
get: function() {
|
|
33435
|
-
return
|
|
33456
|
+
return K5;
|
|
33436
33457
|
}
|
|
33437
33458
|
}), Object.defineProperty(exports, "SlideStage_default", {
|
|
33438
33459
|
enumerable: !0,
|
|
@@ -33477,7 +33498,7 @@ Object.defineProperty(exports, "ChartRenderer_default", {
|
|
|
33477
33498
|
}), Object.defineProperty(exports, "focusTargetChips", {
|
|
33478
33499
|
enumerable: !0,
|
|
33479
33500
|
get: function() {
|
|
33480
|
-
return
|
|
33501
|
+
return e8;
|
|
33481
33502
|
}
|
|
33482
33503
|
}), Object.defineProperty(exports, "getContainerStyle", {
|
|
33483
33504
|
enumerable: !0,
|
|
@@ -33512,7 +33533,7 @@ Object.defineProperty(exports, "ChartRenderer_default", {
|
|
|
33512
33533
|
}), Object.defineProperty(exports, "isTwoTableFocus", {
|
|
33513
33534
|
enumerable: !0,
|
|
33514
33535
|
get: function() {
|
|
33515
|
-
return
|
|
33536
|
+
return t8;
|
|
33516
33537
|
}
|
|
33517
33538
|
}), Object.defineProperty(exports, "provideViewerTheme", {
|
|
33518
33539
|
enumerable: !0,
|
|
@@ -33542,22 +33563,22 @@ Object.defineProperty(exports, "ChartRenderer_default", {
|
|
|
33542
33563
|
}), Object.defineProperty(exports, "useAiPanelController", {
|
|
33543
33564
|
enumerable: !0,
|
|
33544
33565
|
get: function() {
|
|
33545
|
-
return
|
|
33566
|
+
return n8;
|
|
33546
33567
|
}
|
|
33547
33568
|
}), Object.defineProperty(exports, "useCollaborativeHistory", {
|
|
33548
33569
|
enumerable: !0,
|
|
33549
33570
|
get: function() {
|
|
33550
|
-
return
|
|
33571
|
+
return w8;
|
|
33551
33572
|
}
|
|
33552
33573
|
}), Object.defineProperty(exports, "useCollaborativeState", {
|
|
33553
33574
|
enumerable: !0,
|
|
33554
33575
|
get: function() {
|
|
33555
|
-
return
|
|
33576
|
+
return k8;
|
|
33556
33577
|
}
|
|
33557
33578
|
}), Object.defineProperty(exports, "usePresenceTracking", {
|
|
33558
33579
|
enumerable: !0,
|
|
33559
33580
|
get: function() {
|
|
33560
|
-
return
|
|
33581
|
+
return b8;
|
|
33561
33582
|
}
|
|
33562
33583
|
}), Object.defineProperty(exports, "useThemeStyle", {
|
|
33563
33584
|
enumerable: !0,
|
|
@@ -33572,6 +33593,6 @@ Object.defineProperty(exports, "ChartRenderer_default", {
|
|
|
33572
33593
|
}), Object.defineProperty(exports, "useYjsProvider", {
|
|
33573
33594
|
enumerable: !0,
|
|
33574
33595
|
get: function() {
|
|
33575
|
-
return
|
|
33596
|
+
return y8;
|
|
33576
33597
|
}
|
|
33577
33598
|
});
|