pptx-vue-viewer 4.2.0 → 4.3.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 +31 -0
- package/dist/{AiChatPanel-CMpvBPva.cjs → AiChatPanel-BIJ-bHQj.cjs} +1 -1
- package/dist/AiChatPanel-BIJ-bHQj.cjs.br +0 -0
- package/dist/AiChatPanel-BIJ-bHQj.cjs.gz +0 -0
- package/dist/{AiChatPanel-BAXxvQl4.js → AiChatPanel-U3EFn2Ng.js} +2 -2
- package/dist/AiChatPanel-U3EFn2Ng.js.br +0 -0
- package/dist/AiChatPanel-U3EFn2Ng.js.gz +0 -0
- package/dist/{dist-3uZ0g742.cjs → dist-0XJeILOd.cjs} +24804 -20069
- package/dist/dist-0XJeILOd.cjs.br +0 -0
- package/dist/dist-0XJeILOd.cjs.gz +0 -0
- package/dist/{dist-BgtJA5eT.js → dist-BV_7SUio.js} +29355 -24620
- package/dist/dist-BV_7SUio.js.br +0 -0
- package/dist/dist-BV_7SUio.js.gz +0 -0
- package/dist/gif-encoder-Bbb-HJnH.js +2 -0
- package/dist/gif-encoder-Bbb-HJnH.js.br +0 -0
- package/dist/gif-encoder-Bbb-HJnH.js.gz +0 -0
- package/dist/gif-encoder-CmBKDBC6.cjs +2 -0
- package/dist/gif-encoder-CmBKDBC6.cjs.br +0 -0
- package/dist/gif-encoder-CmBKDBC6.cjs.gz +0 -0
- package/dist/i18n/de.cjs +2 -2
- package/dist/i18n/de.cjs.br +0 -0
- package/dist/i18n/de.cjs.gz +0 -0
- package/dist/i18n/de.mjs +2 -2
- package/dist/i18n/de.mjs.br +0 -0
- package/dist/i18n/de.mjs.gz +0 -0
- package/dist/i18n/es.cjs +2 -2
- package/dist/i18n/es.cjs.br +0 -0
- package/dist/i18n/es.cjs.gz +0 -0
- package/dist/i18n/es.mjs +2 -2
- package/dist/i18n/es.mjs.br +0 -0
- package/dist/i18n/es.mjs.gz +0 -0
- package/dist/i18n/fr.cjs +2 -2
- package/dist/i18n/fr.cjs.br +0 -0
- package/dist/i18n/fr.cjs.gz +0 -0
- package/dist/i18n/fr.mjs +2 -2
- package/dist/i18n/fr.mjs.br +0 -0
- package/dist/i18n/fr.mjs.gz +0 -0
- package/dist/i18n/zh-CN.cjs +2 -2
- package/dist/i18n/zh-CN.cjs.br +0 -0
- package/dist/i18n/zh-CN.cjs.gz +0 -0
- package/dist/i18n/zh-CN.mjs +2 -2
- package/dist/i18n/zh-CN.mjs.br +0 -0
- package/dist/i18n/zh-CN.mjs.gz +0 -0
- package/dist/{i18n-BUjfZOiM.cjs → i18n-C5PLnqCs.cjs} +2 -2
- package/dist/i18n-C5PLnqCs.cjs.br +0 -0
- package/dist/i18n-C5PLnqCs.cjs.gz +0 -0
- package/dist/{i18n-cTdK-NvK.js → i18n-DOJnZmCW.js} +2 -2
- package/dist/i18n-DOJnZmCW.js.br +0 -0
- package/dist/i18n-DOJnZmCW.js.gz +0 -0
- package/dist/i18n.cjs +1 -1
- package/dist/i18n.cjs.br +0 -0
- package/dist/i18n.cjs.gz +0 -0
- package/dist/i18n.js +1 -1
- package/dist/i18n.js.br +1 -3
- package/dist/i18n.js.gz +0 -0
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.br +0 -0
- package/dist/index.cjs.gz +0 -0
- package/dist/index.d.ts +236 -2
- package/dist/index.js +3 -3
- package/dist/index.js.br +0 -0
- package/dist/index.js.gz +0 -0
- package/dist/internals.cjs +1 -1
- package/dist/internals.cjs.br +0 -0
- package/dist/internals.cjs.gz +0 -0
- package/dist/internals.d.ts +305 -5
- package/dist/internals.js +2 -2
- package/dist/internals.js.br +0 -0
- package/dist/internals.js.gz +0 -0
- package/dist/pptx-vue-viewer.css +33 -12
- package/dist/pptx-vue-viewer.css.br +0 -0
- package/dist/pptx-vue-viewer.css.gz +0 -0
- package/dist/{useViewerSettingsDialog-2Agl6hEE.cjs → useViewerSettingsDialog-BYMmaXqc.cjs} +12150 -10925
- package/dist/useViewerSettingsDialog-BYMmaXqc.cjs.br +0 -0
- package/dist/useViewerSettingsDialog-BYMmaXqc.cjs.gz +0 -0
- package/dist/{useViewerSettingsDialog-csWTWDGr.js → useViewerSettingsDialog-DKWvCzGK.js} +11248 -10033
- package/dist/useViewerSettingsDialog-DKWvCzGK.js.br +0 -0
- package/dist/useViewerSettingsDialog-DKWvCzGK.js.gz +0 -0
- package/dist/viewer/index.cjs +1 -1
- package/dist/viewer/index.cjs.br +0 -0
- package/dist/viewer/index.cjs.gz +0 -0
- package/dist/viewer/index.d.ts +236 -2
- package/dist/viewer/index.js +3 -3
- package/dist/viewer/index.js.br +0 -0
- package/dist/viewer/index.js.gz +0 -0
- package/dist/{viewer-BCE1J1So.js → viewer-CDKF3LoJ.js} +10472 -10444
- package/dist/viewer-CDKF3LoJ.js.br +0 -0
- package/dist/viewer-CDKF3LoJ.js.gz +0 -0
- package/dist/{viewer-BF80DYuw.cjs → viewer-D4jitSRB.cjs} +578 -550
- package/dist/viewer-D4jitSRB.cjs.br +0 -0
- package/dist/viewer-D4jitSRB.cjs.gz +0 -0
- package/package.json +1 -1
- package/dist/AiChatPanel-BAXxvQl4.js.br +0 -0
- package/dist/AiChatPanel-BAXxvQl4.js.gz +0 -0
- package/dist/AiChatPanel-CMpvBPva.cjs.br +0 -0
- package/dist/AiChatPanel-CMpvBPva.cjs.gz +0 -0
- package/dist/canvas_emf-converter-CXU7lu1I.cjs +0 -1
- package/dist/canvas_emf-converter-CXU7lu1I.cjs.br +0 -0
- package/dist/canvas_emf-converter-CXU7lu1I.cjs.gz +0 -0
- package/dist/canvas_emf-converter-HimA9Y3J.js +0 -3
- package/dist/canvas_emf-converter-HimA9Y3J.js.br +0 -0
- package/dist/canvas_emf-converter-HimA9Y3J.js.gz +0 -0
- package/dist/dist-3uZ0g742.cjs.br +0 -0
- package/dist/dist-3uZ0g742.cjs.gz +0 -0
- package/dist/dist-BgtJA5eT.js.br +0 -0
- package/dist/dist-BgtJA5eT.js.gz +0 -0
- package/dist/gif-encoder-BAJa752-.js +0 -2
- package/dist/gif-encoder-BAJa752-.js.br +0 -0
- package/dist/gif-encoder-BAJa752-.js.gz +0 -0
- package/dist/gif-encoder-DkEWIbep.cjs +0 -2
- package/dist/gif-encoder-DkEWIbep.cjs.br +0 -0
- package/dist/gif-encoder-DkEWIbep.cjs.gz +0 -0
- package/dist/i18n-BUjfZOiM.cjs.br +0 -0
- package/dist/i18n-BUjfZOiM.cjs.gz +0 -0
- package/dist/i18n-cTdK-NvK.js.br +0 -0
- package/dist/i18n-cTdK-NvK.js.gz +0 -0
- package/dist/useViewerSettingsDialog-2Agl6hEE.cjs.br +0 -0
- package/dist/useViewerSettingsDialog-2Agl6hEE.cjs.gz +0 -0
- package/dist/useViewerSettingsDialog-csWTWDGr.js.br +0 -0
- package/dist/useViewerSettingsDialog-csWTWDGr.js.gz +0 -0
- package/dist/viewer-BCE1J1So.js.br +0 -0
- package/dist/viewer-BCE1J1So.js.gz +0 -0
- package/dist/viewer-BF80DYuw.cjs.br +0 -0
- package/dist/viewer-BF80DYuw.cjs.gz +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const e = require("./rolldown-runtime-C7a0RdOx.cjs"), t = require("./dist-
|
|
1
|
+
const e = require("./rolldown-runtime-C7a0RdOx.cjs"), t = require("./dist-0XJeILOd.cjs"), n = require("./useViewerSettingsDialog-BYMmaXqc.cjs"), o = require("./i18n-C5PLnqCs.cjs");
|
|
2
2
|
require("./i18n.cjs");
|
|
3
3
|
let a = require("vue"), r = require("lucide-vue-next"), l = require("clsx"), i = require("tailwind-merge");
|
|
4
4
|
var s = Symbol("pptx-viewer-theme");
|
|
@@ -196,7 +196,7 @@ var u = ["aria-busy", "aria-label"], m = {
|
|
|
196
196
|
}, (0, a.toDisplayString)((0, a.unref)(r)("pptx.collaboration.retry")), 9, V)) : (0, a.createCommentVNode)("", !0)
|
|
197
197
|
], 8, B));
|
|
198
198
|
}
|
|
199
|
-
}), T = { class: "pointer-events-auto flex items-center justify-between" }, _ = { class: "text-[11px] font-semibold text-muted-foreground" }, I = ["data-code", "data-severity"], P = { class: "flex-1 text-foreground" },
|
|
199
|
+
}), T = { class: "pointer-events-auto flex items-center justify-between" }, _ = { class: "text-[11px] font-semibold text-muted-foreground" }, I = ["data-code", "data-severity"], P = { class: "flex-1 text-foreground" }, F = ["aria-label", "onClick"], z = {
|
|
200
200
|
key: 0,
|
|
201
201
|
class: "pointer-events-auto text-center text-[11px] text-muted-foreground"
|
|
202
202
|
}, A = (0, a.defineComponent)({
|
|
@@ -248,9 +248,9 @@ var u = ["aria-busy", "aria-label"], m = {
|
|
|
248
248
|
}, [(0, a.createVNode)((0, a.unref)(r.X), {
|
|
249
249
|
class: "h-3.5 w-3.5",
|
|
250
250
|
"aria-hidden": "true"
|
|
251
|
-
})], 8,
|
|
251
|
+
})], 8, F)
|
|
252
252
|
], 8, I))), 128)),
|
|
253
|
-
o.overflowCount > 0 ? ((0, a.openBlock)(), (0, a.createElementBlock)("p",
|
|
253
|
+
o.overflowCount > 0 ? ((0, a.openBlock)(), (0, a.createElementBlock)("p", z, " +" + (0, a.toDisplayString)(o.overflowCount), 1)) : (0, a.createCommentVNode)("", !0)
|
|
254
254
|
], 4)) : (0, a.createCommentVNode)("", !0);
|
|
255
255
|
}
|
|
256
256
|
}), O = ["aria-label"], M = { class: "pptx-vue-export-progress-panel w-[min(92vw,384px)] rounded-xl border border-border bg-popover p-6 text-foreground shadow-2xl" }, R = { class: "mb-4 text-sm font-semibold" }, L = { class: "mb-3 h-2.5 w-full overflow-hidden rounded-full bg-muted" }, $ = { class: "mb-4 flex items-center justify-between text-xs text-muted-foreground" }, U = { class: "tabular-nums" }, j = { class: "flex justify-end" }, K = (0, a.defineComponent)({
|
|
@@ -609,37 +609,34 @@ var ve = ["spellcheck", "aria-label"], he = (0, a.defineComponent)({
|
|
|
609
609
|
}
|
|
610
610
|
}
|
|
611
611
|
function h(e) {
|
|
612
|
-
if (
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
};
|
|
627
|
-
}();
|
|
628
|
-
l("format", "b" === t ? { bold: !n?.bold } : "i" === t ? { italic: !n?.italic } : { underline: !n?.underline });
|
|
629
|
-
return;
|
|
630
|
-
}
|
|
631
|
-
}
|
|
632
|
-
if ("Escape" === e.key) return e.preventDefault(), c && (p = !0, c.dispose()), void l("cancel");
|
|
633
|
-
"Enter" !== e.key || c && (!d || s.value) || function() {
|
|
634
|
-
const e = window.getSelection();
|
|
635
|
-
if (!e || !e.isCollapsed || 0 === e.rangeCount) return;
|
|
636
|
-
const { startContainer: n, startOffset: o } = e.getRangeAt(0);
|
|
637
|
-
if (n.nodeType !== Node.TEXT_NODE || 0 === o) return;
|
|
638
|
-
if (" " !== (n.textContent ?? "").charAt(o - 1)) return;
|
|
639
|
-
const a = document.createRange();
|
|
640
|
-
a.setStart(n, o - 1), a.setEnd(n, o), d ? d.mutate(a, () => a.deleteContents()) : a.deleteContents();
|
|
612
|
+
if (c && e.isComposing) return;
|
|
613
|
+
const t = n.mapInlineTextFormatKey(e);
|
|
614
|
+
if (t) {
|
|
615
|
+
e.preventDefault(), e.stopPropagation();
|
|
616
|
+
const n = function() {
|
|
617
|
+
const e = r.element;
|
|
618
|
+
if (!c) return e.textSegments?.[0]?.style ?? e.textStyle;
|
|
619
|
+
const t = c.readSelection(), n = "supported" === t.kind ? t.snapshot.textSegments?.[t.selection?.startSegIdx ?? 0]?.style : e.textSegments?.[0]?.style;
|
|
620
|
+
return {
|
|
621
|
+
...n,
|
|
622
|
+
bold: n?.bold ?? e.textStyle?.bold,
|
|
623
|
+
italic: n?.italic ?? e.textStyle?.italic,
|
|
624
|
+
underline: n?.underline ?? e.textStyle?.underline
|
|
625
|
+
};
|
|
641
626
|
}();
|
|
627
|
+
l("format", { [t]: !n?.[t] });
|
|
628
|
+
return;
|
|
642
629
|
}
|
|
630
|
+
if ("Escape" === e.key) return e.preventDefault(), c && (p = !0, c.dispose()), void l("cancel");
|
|
631
|
+
"Enter" !== e.key || c && (!d || s.value) || function() {
|
|
632
|
+
const e = window.getSelection();
|
|
633
|
+
if (!e || !e.isCollapsed || 0 === e.rangeCount) return;
|
|
634
|
+
const { startContainer: n, startOffset: o } = e.getRangeAt(0);
|
|
635
|
+
if (n.nodeType !== Node.TEXT_NODE || 0 === o) return;
|
|
636
|
+
if (" " !== (n.textContent ?? "").charAt(o - 1)) return;
|
|
637
|
+
const a = document.createRange();
|
|
638
|
+
a.setStart(n, o - 1), a.setEnd(n, o), d ? d.mutate(a, () => a.deleteContents()) : a.deleteContents();
|
|
639
|
+
}();
|
|
643
640
|
}
|
|
644
641
|
return (0, a.onMounted)(() => g()), (0, a.onBeforeUnmount)(() => {
|
|
645
642
|
p = !0, c?.dispose(), c && l("listSession", {
|
|
@@ -720,12 +717,12 @@ var ve = ["spellcheck", "aria-label"], he = (0, a.defineComponent)({
|
|
|
720
717
|
}), Ie = n._plugin_vue_export_helper_default(_e, [["__scopeId", "data-v-4ff26ddc"]]), Pe = {
|
|
721
718
|
key: 0,
|
|
722
719
|
class: "pptx-vue-master-crud"
|
|
723
|
-
},
|
|
720
|
+
}, Fe = [
|
|
724
721
|
"disabled",
|
|
725
722
|
"title",
|
|
726
723
|
"data-testid",
|
|
727
724
|
"onClick"
|
|
728
|
-
],
|
|
725
|
+
], ze = {
|
|
729
726
|
key: 0,
|
|
730
727
|
class: "pptx-vue-master-crud__error",
|
|
731
728
|
role: "alert"
|
|
@@ -746,7 +743,7 @@ var ve = ["spellcheck", "aria-label"], he = (0, a.defineComponent)({
|
|
|
746
743
|
title: e.disabledReasonKey ? (0, a.unref)(r)(e.disabledReasonKey) : void 0,
|
|
747
744
|
"data-testid": `pptx-master-crud-${e.id}`,
|
|
748
745
|
onClick: (t) => o("run", e.id)
|
|
749
|
-
}, (0, a.toDisplayString)((0, a.unref)(r)(e.labelKey)), 9,
|
|
746
|
+
}, (0, a.toDisplayString)((0, a.unref)(r)(e.labelKey)), 9, Fe))), 128)), e.error ? ((0, a.openBlock)(), (0, a.createElementBlock)("p", ze, (0, a.toDisplayString)(e.error), 1)) : (0, a.createCommentVNode)("", !0)])) : (0, a.createCommentVNode)("", !0);
|
|
750
747
|
}
|
|
751
748
|
}), Oe = n._plugin_vue_export_helper_default(Ae, [["__scopeId", "data-v-94234ad1"]]), Me = {
|
|
752
749
|
key: 0,
|
|
@@ -1271,7 +1268,7 @@ function It(e) {
|
|
|
1271
1268
|
hasActivePointerInteraction: () => a.isActive() || null !== r
|
|
1272
1269
|
};
|
|
1273
1270
|
}
|
|
1274
|
-
var Pt = /* @__PURE__ */ new WeakMap(),
|
|
1271
|
+
var Pt = /* @__PURE__ */ new WeakMap(), Ft = {
|
|
1275
1272
|
mounted(e) {
|
|
1276
1273
|
Pt.set(e, n.attachRotateHandlePlacement(e, { stem: e.parentElement?.querySelector("[data-pptx-rotate-stem]") }));
|
|
1277
1274
|
},
|
|
@@ -1279,7 +1276,7 @@ var Pt = /* @__PURE__ */ new WeakMap(), zt = {
|
|
|
1279
1276
|
Pt.get(e)?.(), Pt.delete(e);
|
|
1280
1277
|
}
|
|
1281
1278
|
};
|
|
1282
|
-
function
|
|
1279
|
+
function zt(e, t) {
|
|
1283
1280
|
const o = "rotate" === e, a = o ? "var(--pptx-vue-rotate-default, 12px)" : "var(--pptx-vue-resize-default, 10px)", r = n.getSelectionControlArtworkStyle(o ? "rotate" : 2 === e.length ? "corner" : "n" === e || "s" === e ? "horizontal-edge" : "vertical-edge", {
|
|
1284
1281
|
width: a,
|
|
1285
1282
|
height: a,
|
|
@@ -1404,15 +1401,15 @@ var At = ["data-selection-for"], Ot = ["onPointerdown"], Mt = ["aria-label", "on
|
|
|
1404
1401
|
"data-pptx-compact": "",
|
|
1405
1402
|
style: (0, a.normalizeStyle)({
|
|
1406
1403
|
...y(e),
|
|
1407
|
-
...(0, a.unref)(
|
|
1404
|
+
...(0, a.unref)(zt)("rotate", h.value).frame
|
|
1408
1405
|
}),
|
|
1409
1406
|
"aria-label": (0, a.unref)(i)("pptx.selectionOverlay.rotate"),
|
|
1410
1407
|
onPointerdown: (t) => (0, a.unref)(f)("rotate", e.id, t)
|
|
1411
1408
|
}, [(0, a.createElementVNode)("span", {
|
|
1412
1409
|
"data-pptx-handle-artwork": "",
|
|
1413
1410
|
"aria-hidden": "true",
|
|
1414
|
-
style: (0, a.normalizeStyle)((0, a.unref)(
|
|
1415
|
-
}, null, 4)], 44, Mt)), [[(0, a.unref)(
|
|
1411
|
+
style: (0, a.normalizeStyle)((0, a.unref)(zt)("rotate", h.value).artwork)
|
|
1412
|
+
}, null, 4)], 44, Mt)), [[(0, a.unref)(Ft)]])], 64)) : (0, a.createCommentVNode)("", !0),
|
|
1416
1413
|
(0, a.unref)(d)(e.id) ? ((0, a.openBlock)(!0), (0, a.createElementBlock)(a.Fragment, { key: 1 }, (0, a.renderList)((0, a.unref)(x), (t) => ((0, a.openBlock)(), (0, a.createElementBlock)("button", {
|
|
1417
1414
|
key: t.id,
|
|
1418
1415
|
type: "button",
|
|
@@ -1422,7 +1419,7 @@ var At = ["data-selection-for"], Ot = ["onPointerdown"], Mt = ["aria-label", "on
|
|
|
1422
1419
|
"data-pptx-handle-kind": "resize",
|
|
1423
1420
|
style: (0, a.normalizeStyle)({
|
|
1424
1421
|
...(0, a.unref)(_t)(t, e),
|
|
1425
|
-
...(0, a.unref)(
|
|
1422
|
+
...(0, a.unref)(zt)(t.id, h.value).frame
|
|
1426
1423
|
}),
|
|
1427
1424
|
"aria-label": (0, a.unref)(i)("pptx.selectionOverlay.resize", { handle: t.id }),
|
|
1428
1425
|
onPointerdown: (n) => (0, a.unref)(f)("resize", e.id, n, t.id)
|
|
@@ -1432,7 +1429,7 @@ var At = ["data-selection-for"], Ot = ["onPointerdown"], Mt = ["aria-label", "on
|
|
|
1432
1429
|
}, null, 4), (0, a.createElementVNode)("span", {
|
|
1433
1430
|
"data-pptx-handle-artwork": "",
|
|
1434
1431
|
"aria-hidden": "true",
|
|
1435
|
-
style: (0, a.normalizeStyle)((0, a.unref)(
|
|
1432
|
+
style: (0, a.normalizeStyle)((0, a.unref)(zt)(t.id, h.value).artwork)
|
|
1436
1433
|
}, null, 4)], 46, Rt))), 128)) : (0, a.createCommentVNode)("", !0),
|
|
1437
1434
|
((0, a.openBlock)(!0), (0, a.createElementBlock)(a.Fragment, null, (0, a.renderList)(m(e.id), (t) => ((0, a.openBlock)(), (0, a.createElementBlock)("button", {
|
|
1438
1435
|
key: `adjust-${t.key}`,
|
|
@@ -2009,11 +2006,11 @@ var qt = {
|
|
|
2009
2006
|
icon: r.AlignJustify,
|
|
2010
2007
|
labelKey: "pptx.ribbon.justify"
|
|
2011
2008
|
}
|
|
2012
|
-
],
|
|
2009
|
+
], Fn = [
|
|
2013
2010
|
"pptx.animations.onClick",
|
|
2014
2011
|
"pptx.animations.withPrevious",
|
|
2015
2012
|
"pptx.animations.afterPrevious"
|
|
2016
|
-
],
|
|
2013
|
+
], zn = [
|
|
2017
2014
|
8,
|
|
2018
2015
|
9,
|
|
2019
2016
|
10,
|
|
@@ -2126,7 +2123,7 @@ var qt = {
|
|
|
2126
2123
|
(0, a.createElementVNode)("div", { class: (0, a.normalizeClass)((0, a.unref)(Sn)) }, null, 2),
|
|
2127
2124
|
(0, a.createElementVNode)("div", Kn, [
|
|
2128
2125
|
(0, a.createElementVNode)("label", Hn, (0, a.toDisplayString)((0, a.unref)(o)("pptx.animations.start")), 1),
|
|
2129
|
-
(0, a.createElementVNode)("select", Gn, [((0, a.openBlock)(!0), (0, a.createElementBlock)(a.Fragment, null, (0, a.renderList)((0, a.unref)(
|
|
2126
|
+
(0, a.createElementVNode)("select", Gn, [((0, a.openBlock)(!0), (0, a.createElementBlock)(a.Fragment, null, (0, a.renderList)((0, a.unref)(Fn), (e) => ((0, a.openBlock)(), (0, a.createElementBlock)("option", { key: e }, (0, a.toDisplayString)((0, a.unref)(o)(e)), 1))), 128))]),
|
|
2130
2127
|
(0, a.createElementVNode)("span", Zn, [(0, a.createVNode)((0, a.unref)(r.Clock), { class: (0, a.normalizeClass)((0, a.unref)(Nn)) }, null, 8, ["class"]), (0, a.createTextVNode)(" " + (0, a.toDisplayString)((0, a.unref)(o)("pptx.animations.duration")), 1)]),
|
|
2131
2128
|
(0, a.createElementVNode)("input", {
|
|
2132
2129
|
type: "number",
|
|
@@ -2437,8 +2434,8 @@ var ko = ["title", "onClick"], So = { class: "inline-flex items-center gap-2 tex
|
|
|
2437
2434
|
(0, a.createElementVNode)("span", Bo, (0, a.toDisplayString)(t.drawingWidth), 1)
|
|
2438
2435
|
], 8, Co)])], 64));
|
|
2439
2436
|
}
|
|
2440
|
-
}), Do = "4.
|
|
2441
|
-
var _o = { class: "pptx-vue-account mt-8 flex max-w-[760px] flex-col gap-6" }, Io = { class: "pptx-vue-account-section border border-border bg-card p-6 text-card-foreground" }, Po = { class: "text-base font-semibold" },
|
|
2437
|
+
}), Do = "4.2.0", To = Symbol("pptx-account-auth");
|
|
2438
|
+
var _o = { class: "pptx-vue-account mt-8 flex max-w-[760px] flex-col gap-6" }, Io = { class: "pptx-vue-account-section border border-border bg-card p-6 text-card-foreground" }, Po = { class: "text-base font-semibold" }, Fo = { class: "mt-4 flex items-center gap-4" }, zo = { class: "min-w-0 flex-1" }, Ao = { class: "block text-xs font-medium text-muted-foreground" }, Oo = ["value", "placeholder"], Mo = { class: "mt-4" }, Ro = { class: "block text-xs font-medium text-muted-foreground" }, Lo = { class: "mt-2 flex gap-2" }, $o = [
|
|
2442
2439
|
"aria-pressed",
|
|
2443
2440
|
"aria-label",
|
|
2444
2441
|
"onClick"
|
|
@@ -2475,10 +2472,10 @@ var _o = { class: "pptx-vue-account mt-8 flex max-w-[760px] flex-col gap-6" }, I
|
|
|
2475
2472
|
}), (e, p) => ((0, a.openBlock)(), (0, a.createElementBlock)("div", _o, [
|
|
2476
2473
|
(0, a.createElementVNode)("section", Io, [
|
|
2477
2474
|
(0, a.createElementVNode)("h2", Po, (0, a.toDisplayString)((0, a.unref)(t)("pptx.account.profile.title")), 1),
|
|
2478
|
-
(0, a.createElementVNode)("div",
|
|
2475
|
+
(0, a.createElementVNode)("div", Fo, [(0, a.createElementVNode)("div", {
|
|
2479
2476
|
class: "grid size-14 shrink-0 place-items-center rounded-full text-xl font-semibold text-white",
|
|
2480
2477
|
style: (0, a.normalizeStyle)({ background: r.avatarColor })
|
|
2481
|
-
}, (0, a.toDisplayString)((0, a.unref)(n.resolveProfileInitial)(r)), 5), (0, a.createElementVNode)("div",
|
|
2478
|
+
}, (0, a.toDisplayString)((0, a.unref)(n.resolveProfileInitial)(r)), 5), (0, a.createElementVNode)("div", zo, [(0, a.createElementVNode)("label", Ao, (0, a.toDisplayString)((0, a.unref)(t)("pptx.account.profile.nameLabel")), 1), (0, a.createElementVNode)("input", {
|
|
2482
2479
|
value: r.displayName,
|
|
2483
2480
|
type: "text",
|
|
2484
2481
|
placeholder: (0, a.unref)(t)("pptx.account.profile.namePlaceholder"),
|
|
@@ -2569,7 +2566,7 @@ var ra = ["aria-label"], la = { class: "flex w-[148px] shrink-0 flex-col border-
|
|
|
2569
2566
|
}, Ta = {
|
|
2570
2567
|
key: 2,
|
|
2571
2568
|
class: "mt-8 grid max-w-[900px] grid-cols-2 gap-5"
|
|
2572
|
-
}, _a = ["onClick"], Ia = { class: "grid size-10 shrink-0 place-items-center bg-accent text-primary" }, Pa = { class: "block text-[15px]" },
|
|
2569
|
+
}, _a = ["onClick"], Ia = { class: "grid size-10 shrink-0 place-items-center bg-accent text-primary" }, Pa = { class: "block text-[15px]" }, Fa = { class: "mt-1 block text-[12px] leading-5 text-muted-foreground" }, za = {
|
|
2573
2570
|
key: 4,
|
|
2574
2571
|
class: "mt-8 max-w-[760px] border border-border bg-card p-7 text-card-foreground"
|
|
2575
2572
|
}, Aa = { class: "grid size-14 place-items-center rounded-full bg-primary text-primary-foreground" }, Oa = { class: "mt-4 text-lg font-semibold" }, Ma = { class: "mt-2 text-sm leading-6 text-muted-foreground" }, Ra = { class: "mt-12 text-[11px] text-muted-foreground" }, $a = (0, a.defineComponent)({
|
|
@@ -2744,8 +2741,8 @@ var ra = ["aria-label"], la = { class: "flex w-[148px] shrink-0 flex-col border-
|
|
|
2744
2741
|
}, [(0, a.createElementVNode)("span", Ia, [((0, a.openBlock)(), (0, a.createBlock)((0, a.resolveDynamicComponent)(e[2]), {
|
|
2745
2742
|
size: 20,
|
|
2746
2743
|
"aria-hidden": "true"
|
|
2747
|
-
}))]), (0, a.createElementVNode)("span", null, [(0, a.createElementVNode)("strong", Pa, (0, a.toDisplayString)((0, a.unref)(o)(e[0], e[4])), 1), (0, a.createElementVNode)("span",
|
|
2748
|
-
"account" === l.value ? ((0, a.openBlock)(), (0, a.createBlock)(ta, { key: 3 })) : "options" === l.value ? ((0, a.openBlock)(), (0, a.createElementBlock)("div",
|
|
2744
|
+
}))]), (0, a.createElementVNode)("span", null, [(0, a.createElementVNode)("strong", Pa, (0, a.toDisplayString)((0, a.unref)(o)(e[0], e[4])), 1), (0, a.createElementVNode)("span", Fa, (0, a.toDisplayString)((0, a.unref)(o)(e[1], e[5])), 1)])], 8, _a))), 128))])) : (0, a.createCommentVNode)("", !0),
|
|
2745
|
+
"account" === l.value ? ((0, a.openBlock)(), (0, a.createBlock)(ta, { key: 3 })) : "options" === l.value ? ((0, a.openBlock)(), (0, a.createElementBlock)("div", za, [
|
|
2749
2746
|
(0, a.createElementVNode)("div", Aa, [(0, a.createVNode)((0, a.unref)(r.Settings), {
|
|
2750
2747
|
size: 28,
|
|
2751
2748
|
"aria-hidden": "true"
|
|
@@ -3143,7 +3140,7 @@ var fr = { class: "flex flex-col items-center gap-0.5" }, gr = { class: "flex it
|
|
|
3143
3140
|
"disabled",
|
|
3144
3141
|
"data-active",
|
|
3145
3142
|
"title"
|
|
3146
|
-
], Dr = { class: "text-[9px] text-muted-foreground leading-none" }, Tr = { class: "flex flex-col items-center gap-0.5" }, _r = { class: "flex items-center gap-1" }, Ir = ["aria-label", "disabled"], Pr = { class: "truncate" },
|
|
3143
|
+
], Dr = { class: "text-[9px] text-muted-foreground leading-none" }, Tr = { class: "flex flex-col items-center gap-0.5" }, _r = { class: "flex items-center gap-1" }, Ir = ["aria-label", "disabled"], Pr = { class: "truncate" }, Fr = ["aria-label", "disabled"], zr = { class: "truncate" }, Ar = {
|
|
3147
3144
|
key: 0,
|
|
3148
3145
|
class: "z-50 flex flex-col w-48 pt-1"
|
|
3149
3146
|
}, Or = ["onClick"], Mr = { class: "text-[9px] text-muted-foreground leading-none" }, Rr = (0, a.defineComponent)({
|
|
@@ -3291,7 +3288,7 @@ var fr = { class: "flex flex-col items-center gap-0.5" }, gr = { class: "flex it
|
|
|
3291
3288
|
disabled: !c.value,
|
|
3292
3289
|
class: "inline-flex items-center justify-between px-2 py-1 rounded-sm border border-border/60 bg-background/60 text-[11px] text-foreground min-w-[50px] text-center enabled:hover:bg-accent/40 transition-colors cursor-pointer disabled:opacity-40 disabled:cursor-not-allowed",
|
|
3293
3290
|
onClick: i[5] || (i[5] = (e) => (0, a.unref)(m).toggle())
|
|
3294
|
-
}, [(0, a.createElementVNode)("span",
|
|
3291
|
+
}, [(0, a.createElementVNode)("span", zr, (0, a.toDisplayString)(p.value), 1), (0, a.createVNode)((0, a.unref)(r.ChevronDown), { class: "w-3 h-3 ml-1 shrink-0 text-muted-foreground" })], 8, Fr), (0, a.unref)(m).open.value && c.value ? (0, a.withDirectives)(((0, a.openBlock)(), (0, a.createElementBlock)("div", Ar, [(0, a.createElementVNode)("div", { class: (0, a.normalizeClass)((0, a.unref)(wn)) }, [((0, a.openBlock)(!0), (0, a.createElementBlock)(a.Fragment, null, (0, a.renderList)((0, a.unref)(zn), (e) => ((0, a.openBlock)(), (0, a.createElementBlock)("button", {
|
|
3295
3292
|
key: e,
|
|
3296
3293
|
type: "button",
|
|
3297
3294
|
class: (0, a.normalizeClass)((0, a.unref)(Cn)),
|
|
@@ -3881,10 +3878,10 @@ var fr = { class: "flex flex-col items-center gap-0.5" }, gr = { class: "flex it
|
|
|
3881
3878
|
labelKey: "pptx.ribbon.file",
|
|
3882
3879
|
icon: r.File
|
|
3883
3880
|
}
|
|
3884
|
-
], Dl = ["title"], Tl = ["title"], _l = ["title"], Il = ["disabled", "title"], Pl = ["title"],
|
|
3881
|
+
], Dl = ["title"], Tl = ["title"], _l = ["title"], Il = ["disabled", "title"], Pl = ["title"], Fl = {
|
|
3885
3882
|
key: 0,
|
|
3886
3883
|
class: "inline-flex items-center justify-center min-w-[16px] h-4 rounded-full bg-amber-500 text-[10px] font-medium text-white px-1"
|
|
3887
|
-
},
|
|
3884
|
+
}, zl = (0, a.defineComponent)({
|
|
3888
3885
|
__name: "ReviewSection",
|
|
3889
3886
|
props: {
|
|
3890
3887
|
canEdit: { type: Boolean },
|
|
@@ -3948,7 +3945,7 @@ var fr = { class: "flex flex-col items-center gap-0.5" }, gr = { class: "flex it
|
|
|
3948
3945
|
}, [
|
|
3949
3946
|
(0, a.createVNode)((0, a.unref)(r.MessageSquarePlus), { class: (0, a.normalizeClass)((0, a.unref)(Nn)) }, null, 8, ["class"]),
|
|
3950
3947
|
(0, a.createTextVNode)(" " + (0, a.toDisplayString)((0, a.unref)(o)("pptx.toolbar.comments")) + " ", 1),
|
|
3951
|
-
(t.slideCommentCount ?? 0) > 0 ? ((0, a.openBlock)(), (0, a.createElementBlock)("span",
|
|
3948
|
+
(t.slideCommentCount ?? 0) > 0 ? ((0, a.openBlock)(), (0, a.createElementBlock)("span", Fl, (0, a.toDisplayString)(t.slideCommentCount), 1)) : (0, a.createCommentVNode)("", !0)
|
|
3952
3949
|
], 10, Pl)) : (0, a.createCommentVNode)("", !0),
|
|
3953
3950
|
(0, a.createElementVNode)("button", {
|
|
3954
3951
|
disabled: "",
|
|
@@ -4385,7 +4382,7 @@ var yi = {
|
|
|
4385
4382
|
onClick: (e) => o("pick", t)
|
|
4386
4383
|
}, null, 12, Di))), 128))], 8, Vi)])) : (0, a.createCommentVNode)("", !0);
|
|
4387
4384
|
}
|
|
4388
|
-
}), Ii = { class: "relative group" }, Pi = ["disabled", "title"],
|
|
4385
|
+
}), Ii = { class: "relative group" }, Pi = ["disabled", "title"], Fi = { class: "z-50 hidden group-hover:block pt-1" }, zi = {
|
|
4389
4386
|
key: 1,
|
|
4390
4387
|
class: "text-[10px] text-muted-foreground mt-1 mb-1"
|
|
4391
4388
|
}, Ai = { class: "grid grid-cols-5 gap-1.5 mb-2" }, Oi = ["onClick"], Mi = ["value"], Li = (0, a.defineComponent)({
|
|
@@ -4415,7 +4412,7 @@ var yi = {
|
|
|
4415
4412
|
}, [(0, a.renderSlot)(t.$slots, "default"), (0, a.createElementVNode)("div", {
|
|
4416
4413
|
class: "w-4 h-1 rounded-sm -mt-0.5",
|
|
4417
4414
|
style: (0, a.normalizeStyle)({ backgroundColor: o.current })
|
|
4418
|
-
}, null, 4)], 42, Pi), (0, a.withDirectives)(((0, a.openBlock)(), (0, a.createElementBlock)("div",
|
|
4415
|
+
}, null, 4)], 42, Pi), (0, a.withDirectives)(((0, a.openBlock)(), (0, a.createElementBlock)("div", Fi, [(0, a.createElementVNode)("div", { class: (0, a.normalizeClass)(["rounded-lg border border-border bg-popover backdrop-blur-lg shadow-2xl p-2", e.showThemeColors ? "w-48" : "w-36"]) }, [
|
|
4419
4416
|
e.showThemeColors ? ((0, a.openBlock)(), (0, a.createBlock)(Ci, {
|
|
4420
4417
|
key: 0,
|
|
4421
4418
|
disabled: o.disabled,
|
|
@@ -4427,7 +4424,7 @@ var yi = {
|
|
|
4427
4424
|
"selected-ref",
|
|
4428
4425
|
"selected-hex"
|
|
4429
4426
|
])) : (0, a.createCommentVNode)("", !0),
|
|
4430
|
-
e.showThemeColors ? ((0, a.openBlock)(), (0, a.createElementBlock)("div",
|
|
4427
|
+
e.showThemeColors ? ((0, a.openBlock)(), (0, a.createElementBlock)("div", zi, (0, a.toDisplayString)((0, a.unref)(l)("pptx.colorPicker.standardColors")), 1)) : (0, a.createCommentVNode)("", !0),
|
|
4431
4428
|
(0, a.createElementVNode)("div", Ai, [((0, a.openBlock)(!0), (0, a.createElementBlock)(a.Fragment, null, (0, a.renderList)(e.presets, (e) => ((0, a.openBlock)(), (0, a.createElementBlock)("button", {
|
|
4432
4429
|
key: e,
|
|
4433
4430
|
type: "button",
|
|
@@ -5052,7 +5049,7 @@ var ds = ["title"], ps = { class: "inline-flex items-center gap-0.5 overflow-x-a
|
|
|
5052
5049
|
}, [(0, a.createVNode)((0, a.unref)(r.PanelRight), { class: (0, a.normalizeClass)((0, a.unref)(Nn)) }, null, 8, ["class"]), (0, a.createTextVNode)(" " + (0, a.toDisplayString)((0, a.unref)(o)("pptx.ribbon.inspector")), 1)], 10, _s)
|
|
5053
5050
|
], 64));
|
|
5054
5051
|
}
|
|
5055
|
-
}),
|
|
5052
|
+
}), Fs = { class: "flex flex-col items-center justify-between self-stretch gap-0.5" }, zs = { class: "flex items-center gap-0.5" }, As = ["title"], Os = ["title"], Ms = ["title"], Rs = ["title"], Ls = { class: "flex flex-col items-center justify-between self-stretch gap-0.5" }, $s = { class: "flex items-center gap-0.5" }, Us = ["disabled", "title"], js = { class: "flex flex-col items-center justify-between self-stretch gap-0.5" }, Ks = { class: "flex items-start gap-2" }, Hs = { class: "flex flex-col justify-start gap-0.5" }, Gs = ["checked"], Zs = ["checked", "title"], Ws = ["checked", "title"], qs = ["checked"], Xs = { class: "flex flex-col justify-start gap-0.5" }, Js = ["title"], Ys = ["disabled", "title"], Qs = ["aria-pressed", "title"], ec = ["title"], tc = ["title"], nc = { class: "flex flex-col items-center justify-between self-stretch gap-0.5" }, oc = { class: "flex items-center gap-0.5" }, ac = ["title"], rc = { class: "flex flex-col items-center justify-between self-stretch gap-0.5" }, lc = { class: "flex items-center gap-0.5" }, ic = ["disabled", "title"], sc = "flex h-[19px] items-center gap-1 whitespace-nowrap rounded-sm px-1 text-[10px]", cc = (0, a.defineComponent)({
|
|
5056
5053
|
__name: "ViewSection",
|
|
5057
5054
|
props: {
|
|
5058
5055
|
canEdit: { type: Boolean },
|
|
@@ -5077,6 +5074,7 @@ var ds = ["title"], ps = { class: "inline-flex items-center gap-0.5 overflow-x-a
|
|
|
5077
5074
|
eyedropperActive: { type: Boolean },
|
|
5078
5075
|
onToggleEyedropper: { type: Function },
|
|
5079
5076
|
onToggleSlideSorter: { type: Function },
|
|
5077
|
+
onGoToNormalView: { type: Function },
|
|
5080
5078
|
onOpenReadingView: { type: Function },
|
|
5081
5079
|
onOpenOutlineView: { type: Function },
|
|
5082
5080
|
onZoomToFit: { type: Function }
|
|
@@ -5084,25 +5082,26 @@ var ds = ["title"], ps = { class: "inline-flex items-center gap-0.5 overflow-x-a
|
|
|
5084
5082
|
setup(e) {
|
|
5085
5083
|
const t = e, { t: o } = n.useI18n();
|
|
5086
5084
|
return (e, n) => ((0, a.openBlock)(), (0, a.createElementBlock)(a.Fragment, null, [
|
|
5087
|
-
(0, a.createElementVNode)("div",
|
|
5085
|
+
(0, a.createElementVNode)("div", Fs, [(0, a.createElementVNode)("div", zs, [
|
|
5088
5086
|
(0, a.createElementVNode)("button", {
|
|
5089
5087
|
class: (0, a.normalizeClass)((0, a.unref)(kn)),
|
|
5090
|
-
title: (0, a.unref)(o)("pptx.statusBar.normalView")
|
|
5088
|
+
title: (0, a.unref)(o)("pptx.statusBar.normalView"),
|
|
5089
|
+
onClick: n[0] || (n[0] = (e) => t.onGoToNormalView?.())
|
|
5091
5090
|
}, (0, a.toDisplayString)((0, a.unref)(o)("pptx.view.normal")), 11, As),
|
|
5092
5091
|
(0, a.createElementVNode)("button", {
|
|
5093
5092
|
class: (0, a.normalizeClass)((0, a.unref)(kn)),
|
|
5094
5093
|
title: (0, a.unref)(o)("pptx.view.slideSorterTooltip"),
|
|
5095
|
-
onClick: n[
|
|
5094
|
+
onClick: n[1] || (n[1] = (e) => t.onToggleSlideSorter?.())
|
|
5096
5095
|
}, (0, a.toDisplayString)((0, a.unref)(o)("pptx.slideSorter.title")), 11, Os),
|
|
5097
5096
|
(0, a.createElementVNode)("button", {
|
|
5098
5097
|
class: (0, a.normalizeClass)((0, a.unref)(kn)),
|
|
5099
5098
|
title: (0, a.unref)(o)("pptx.view.outlineViewTooltip"),
|
|
5100
|
-
onClick: n[
|
|
5099
|
+
onClick: n[2] || (n[2] = (e) => t.onOpenOutlineView?.())
|
|
5101
5100
|
}, (0, a.toDisplayString)((0, a.unref)(o)("pptx.view.outlineView")), 11, Ms),
|
|
5102
5101
|
(0, a.createElementVNode)("button", {
|
|
5103
5102
|
class: (0, a.normalizeClass)((0, a.unref)(kn)),
|
|
5104
5103
|
title: (0, a.unref)(o)("pptx.view.readingView"),
|
|
5105
|
-
onClick: n[
|
|
5104
|
+
onClick: n[3] || (n[3] = (e) => t.onOpenReadingView?.())
|
|
5106
5105
|
}, (0, a.toDisplayString)((0, a.unref)(o)("pptx.view.readingView")), 11, Rs)
|
|
5107
5106
|
]), (0, a.createElementVNode)("span", { class: (0, a.normalizeClass)((0, a.unref)(En)) }, (0, a.toDisplayString)((0, a.unref)(o)("pptx.view.presentationViews")), 3)]),
|
|
5108
5107
|
(0, a.createElementVNode)("div", { class: (0, a.normalizeClass)((0, a.unref)(Sn)) }, null, 2),
|
|
@@ -5111,7 +5110,7 @@ var ds = ["title"], ps = { class: "inline-flex items-center gap-0.5 overflow-x-a
|
|
|
5111
5110
|
disabled: !t.canEdit,
|
|
5112
5111
|
class: (0, a.normalizeClass)((0, a.unref)(kn)),
|
|
5113
5112
|
title: (0, a.unref)(o)("pptx.view.slideMasterTooltip"),
|
|
5114
|
-
onClick: n[
|
|
5113
|
+
onClick: n[4] || (n[4] = (e) => t.onEnterMasterView())
|
|
5115
5114
|
}, (0, a.toDisplayString)((0, a.unref)(o)("pptx.master.title")), 11, Us),
|
|
5116
5115
|
(0, a.createElementVNode)("button", {
|
|
5117
5116
|
disabled: "",
|
|
@@ -5128,27 +5127,27 @@ var ds = ["title"], ps = { class: "inline-flex items-center gap-0.5 overflow-x-a
|
|
|
5128
5127
|
type: "checkbox",
|
|
5129
5128
|
class: "h-3 w-3 accent-primary",
|
|
5130
5129
|
checked: t.showRulers,
|
|
5131
|
-
onChange: n[
|
|
5130
|
+
onChange: n[5] || (n[5] = (e) => t.onSetShowRulers(e.target.checked))
|
|
5132
5131
|
}, null, 40, Gs), (0, a.createTextVNode)(" " + (0, a.toDisplayString)((0, a.unref)(o)("pptx.ruler.rulers")), 1)], 2),
|
|
5133
5132
|
(0, a.createElementVNode)("label", { class: (0, a.normalizeClass)((0, a.unref)(Wt)(sc, t.showGrid ? "bg-primary/15 text-primary" : "")) }, [(0, a.createElementVNode)("input", {
|
|
5134
5133
|
type: "checkbox",
|
|
5135
5134
|
class: "h-3 w-3 accent-primary",
|
|
5136
5135
|
checked: t.showGrid,
|
|
5137
5136
|
title: (0, a.unref)(o)("pptx.grid.toggleGrid"),
|
|
5138
|
-
onChange: n[
|
|
5137
|
+
onChange: n[6] || (n[6] = (e) => t.onSetShowGrid(e.target.checked))
|
|
5139
5138
|
}, null, 40, Zs), (0, a.createTextVNode)(" " + (0, a.toDisplayString)((0, a.unref)(o)("pptx.grid.grid")), 1)], 2),
|
|
5140
5139
|
(0, a.createElementVNode)("label", { class: (0, a.normalizeClass)((0, a.unref)(Wt)(sc, t.showGuides ? "bg-primary/15 text-primary" : "")) }, [(0, a.createElementVNode)("input", {
|
|
5141
5140
|
type: "checkbox",
|
|
5142
5141
|
class: "h-3 w-3 accent-primary",
|
|
5143
5142
|
checked: t.showGuides,
|
|
5144
5143
|
title: (0, a.unref)(o)("pptx.ribbon.toggleGuides"),
|
|
5145
|
-
onChange: n[
|
|
5144
|
+
onChange: n[7] || (n[7] = (e) => t.onSetShowGuides(e.target.checked))
|
|
5146
5145
|
}, null, 40, Ws), (0, a.createTextVNode)(" " + (0, a.toDisplayString)((0, a.unref)(o)("pptx.view.guides")), 1)], 2),
|
|
5147
5146
|
(0, a.createElementVNode)("label", { class: (0, a.normalizeClass)((0, a.unref)(Wt)(sc, t.snapToGrid ? "bg-primary/15 text-primary" : "")) }, [(0, a.createElementVNode)("input", {
|
|
5148
5147
|
type: "checkbox",
|
|
5149
5148
|
class: "h-3 w-3 accent-primary",
|
|
5150
5149
|
checked: t.snapToGrid,
|
|
5151
|
-
onChange: n[
|
|
5150
|
+
onChange: n[8] || (n[8] = (e) => t.onSetSnapToGrid(e.target.checked))
|
|
5152
5151
|
}, null, 40, qs), (0, a.createTextVNode)(" " + (0, a.toDisplayString)((0, a.unref)(o)("pptx.grid.snapToGrid")), 1)], 2)
|
|
5153
5152
|
]), (0, a.createElementVNode)("div", Xs, [
|
|
5154
5153
|
t.onToggleSelectionPane ? ((0, a.openBlock)(), (0, a.createElementBlock)("button", {
|
|
@@ -5156,7 +5155,7 @@ var ds = ["title"], ps = { class: "inline-flex items-center gap-0.5 overflow-x-a
|
|
|
5156
5155
|
type: "button",
|
|
5157
5156
|
class: (0, a.normalizeClass)((0, a.unref)(Wt)((0, a.unref)(kn), t.isSelectionPaneOpen ? "bg-primary hover:bg-primary/80 text-white" : "")),
|
|
5158
5157
|
title: (0, a.unref)(o)("pptx.selectionPane.title"),
|
|
5159
|
-
onClick: n[
|
|
5158
|
+
onClick: n[9] || (n[9] = (e) => t.onToggleSelectionPane())
|
|
5160
5159
|
}, [(0, a.createVNode)((0, a.unref)(r.List), { class: (0, a.normalizeClass)((0, a.unref)(Nn)) }, null, 8, ["class"]), (0, a.createTextVNode)(" " + (0, a.toDisplayString)((0, a.unref)(o)("pptx.view.selection")), 1)], 10, Js)) : (0, a.createCommentVNode)("", !0),
|
|
5161
5160
|
t.onToggleEyedropper ? ((0, a.openBlock)(), (0, a.createElementBlock)("button", {
|
|
5162
5161
|
key: 1,
|
|
@@ -5164,24 +5163,24 @@ var ds = ["title"], ps = { class: "inline-flex items-center gap-0.5 overflow-x-a
|
|
|
5164
5163
|
disabled: !t.canEdit,
|
|
5165
5164
|
class: (0, a.normalizeClass)((0, a.unref)(Wt)((0, a.unref)(kn), t.eyedropperActive ? "bg-purple-600 hover:bg-purple-500 text-purple-50" : "")),
|
|
5166
5165
|
title: (0, a.unref)(o)("pptx.view.eyedropperTooltip"),
|
|
5167
|
-
onClick: n[
|
|
5166
|
+
onClick: n[10] || (n[10] = (e) => t.onToggleEyedropper())
|
|
5168
5167
|
}, [(0, a.createVNode)((0, a.unref)(r.Pipette), { class: (0, a.normalizeClass)((0, a.unref)(Nn)) }, null, 8, ["class"]), (0, a.createTextVNode)(" " + (0, a.toDisplayString)((0, a.unref)(o)("pptx.ribbon.eyedropper")), 1)], 10, Ys)) : (0, a.createCommentVNode)("", !0),
|
|
5169
5168
|
(0, a.createElementVNode)("button", {
|
|
5170
5169
|
type: "button",
|
|
5171
5170
|
class: (0, a.normalizeClass)((0, a.unref)(Wt)((0, a.unref)(kn), t.snapToShape ? "bg-primary hover:bg-primary/80 text-white" : "")),
|
|
5172
5171
|
"aria-pressed": t.snapToShape,
|
|
5173
5172
|
title: (0, a.unref)(o)("pptx.view.snapToShape"),
|
|
5174
|
-
onClick: n[
|
|
5173
|
+
onClick: n[11] || (n[11] = (e) => t.onSetSnapToShape(!t.snapToShape))
|
|
5175
5174
|
}, [(0, a.createVNode)((0, a.unref)(r.Grid3X3), { class: (0, a.normalizeClass)((0, a.unref)(Nn)) }, null, 8, ["class"]), (0, a.createTextVNode)(" " + (0, a.toDisplayString)((0, a.unref)(o)("pptx.view.snapToShape")), 1)], 10, Qs),
|
|
5176
5175
|
(0, a.createElementVNode)("button", {
|
|
5177
5176
|
class: (0, a.normalizeClass)((0, a.unref)(kn)),
|
|
5178
5177
|
title: (0, a.unref)(o)("pptx.view.addHorizontalGuide"),
|
|
5179
|
-
onClick: n[
|
|
5178
|
+
onClick: n[12] || (n[12] = (e) => t.onAddGuide("h"))
|
|
5180
5179
|
}, (0, a.toDisplayString)((0, a.unref)(o)("pptx.view.hGuide")), 11, ec),
|
|
5181
5180
|
(0, a.createElementVNode)("button", {
|
|
5182
5181
|
class: (0, a.normalizeClass)((0, a.unref)(kn)),
|
|
5183
5182
|
title: (0, a.unref)(o)("pptx.view.addVerticalGuide"),
|
|
5184
|
-
onClick: n[
|
|
5183
|
+
onClick: n[13] || (n[13] = (e) => t.onAddGuide("v"))
|
|
5185
5184
|
}, (0, a.toDisplayString)((0, a.unref)(o)("pptx.view.vGuide")), 11, tc)
|
|
5186
5185
|
])]), (0, a.createElementVNode)("span", { class: (0, a.normalizeClass)((0, a.unref)(En)) }, (0, a.toDisplayString)((0, a.unref)(o)("pptx.view.show")), 3)]),
|
|
5187
5186
|
(0, a.createElementVNode)("div", { class: (0, a.normalizeClass)((0, a.unref)(Sn)) }, null, 2),
|
|
@@ -5191,14 +5190,14 @@ var ds = ["title"], ps = { class: "inline-flex items-center gap-0.5 overflow-x-a
|
|
|
5191
5190
|
}, [(0, a.createVNode)((0, a.unref)(r.ZoomIn), { class: (0, a.normalizeClass)((0, a.unref)(Nn)) }, null, 8, ["class"]), (0, a.createTextVNode)(" " + (0, a.toDisplayString)((0, a.unref)(o)("pptx.slideSorter.zoom")), 1)], 2), (0, a.createElementVNode)("button", {
|
|
5192
5191
|
class: (0, a.normalizeClass)((0, a.unref)(kn)),
|
|
5193
5192
|
title: (0, a.unref)(o)("pptx.view.zoomToFitTooltip"),
|
|
5194
|
-
onClick: n[
|
|
5193
|
+
onClick: n[14] || (n[14] = (e) => t.onZoomToFit?.())
|
|
5195
5194
|
}, (0, a.toDisplayString)((0, a.unref)(o)("pptx.view.zoomToFit")), 11, ac)]), (0, a.createElementVNode)("span", { class: (0, a.normalizeClass)((0, a.unref)(En)) }, (0, a.toDisplayString)((0, a.unref)(o)("pptx.slideSorter.zoom")), 3)]),
|
|
5196
5195
|
(0, a.createElementVNode)("div", { class: (0, a.normalizeClass)((0, a.unref)(Sn)) }, null, 2),
|
|
5197
5196
|
(0, a.createElementVNode)("div", rc, [(0, a.createElementVNode)("div", lc, [(0, a.createElementVNode)("button", {
|
|
5198
5197
|
disabled: !t.canEdit,
|
|
5199
5198
|
class: (0, a.normalizeClass)((0, a.unref)(Wt)((0, a.unref)(kn), t.editTemplateMode ? "bg-amber-600 hover:bg-amber-500 text-amber-50" : "")),
|
|
5200
5199
|
title: (0, a.unref)(o)("pptx.view.templateEditingTooltip"),
|
|
5201
|
-
onClick: n[
|
|
5200
|
+
onClick: n[15] || (n[15] = (e) => t.onSetEditTemplateMode(!t.editTemplateMode))
|
|
5202
5201
|
}, (0, a.toDisplayString)(t.editTemplateMode ? (0, a.unref)(o)("pptx.ribbon.templatesOn") : (0, a.unref)(o)("pptx.ribbon.templatesOff")), 11, ic), (0, a.createElementVNode)("button", {
|
|
5203
5202
|
disabled: "",
|
|
5204
5203
|
class: (0, a.normalizeClass)((0, a.unref)(kn))
|
|
@@ -5343,6 +5342,7 @@ var ds = ["title"], ps = { class: "inline-flex items-center gap-0.5 overflow-x-a
|
|
|
5343
5342
|
onOpenSettings: { type: Function },
|
|
5344
5343
|
onRunAccessibilityCheck: { type: Function },
|
|
5345
5344
|
onToggleSlideSorter: { type: Function },
|
|
5345
|
+
onGoToNormalView: { type: Function },
|
|
5346
5346
|
onOpenReadingView: { type: Function },
|
|
5347
5347
|
onOpenOutlineView: { type: Function },
|
|
5348
5348
|
onUpdateTextStyle: { type: Function },
|
|
@@ -5641,7 +5641,7 @@ var ds = ["title"], ps = { class: "inline-flex items-center gap-0.5 overflow-x-a
|
|
|
5641
5641
|
])])) : "review" === d.value ? ((0, a.openBlock)(), (0, a.createElementBlock)("div", {
|
|
5642
5642
|
key: 9,
|
|
5643
5643
|
class: (0, a.normalizeClass)(vc)
|
|
5644
|
-
}, [(0, a.createVNode)(
|
|
5644
|
+
}, [(0, a.createVNode)(zl, {
|
|
5645
5645
|
"can-edit": o.canEdit,
|
|
5646
5646
|
"spell-check-enabled": o.spellCheckEnabled,
|
|
5647
5647
|
"on-set-spell-check-enabled": o.onSetSpellCheckEnabled,
|
|
@@ -5682,6 +5682,7 @@ var ds = ["title"], ps = { class: "inline-flex items-center gap-0.5 overflow-x-a
|
|
|
5682
5682
|
"on-set-snap-to-shape": o.onSetSnapToShape,
|
|
5683
5683
|
"on-add-guide": o.onAddGuide,
|
|
5684
5684
|
"on-zoom-to-fit": o.onZoomToFit,
|
|
5685
|
+
"on-go-to-normal-view": o.onGoToNormalView,
|
|
5685
5686
|
"on-enter-master-view": o.onEnterMasterView,
|
|
5686
5687
|
"is-selection-pane-open": o.isSelectionPaneOpen,
|
|
5687
5688
|
"on-toggle-selection-pane": o.onToggleSelectionPane,
|
|
@@ -5706,6 +5707,7 @@ var ds = ["title"], ps = { class: "inline-flex items-center gap-0.5 overflow-x-a
|
|
|
5706
5707
|
"on-set-snap-to-shape",
|
|
5707
5708
|
"on-add-guide",
|
|
5708
5709
|
"on-zoom-to-fit",
|
|
5710
|
+
"on-go-to-normal-view",
|
|
5709
5711
|
"on-enter-master-view",
|
|
5710
5712
|
"is-selection-pane-open",
|
|
5711
5713
|
"on-toggle-selection-pane",
|
|
@@ -5915,6 +5917,7 @@ var ds = ["title"], ps = { class: "inline-flex items-center gap-0.5 overflow-x-a
|
|
|
5915
5917
|
onOpenSettings: { type: Function },
|
|
5916
5918
|
onRunAccessibilityCheck: { type: Function },
|
|
5917
5919
|
onToggleSlideSorter: { type: Function },
|
|
5920
|
+
onGoToNormalView: { type: Function },
|
|
5918
5921
|
onOpenReadingView: { type: Function },
|
|
5919
5922
|
onOpenOutlineView: { type: Function },
|
|
5920
5923
|
onUpdateTextStyle: { type: Function },
|
|
@@ -6027,7 +6030,7 @@ var ds = ["title"], ps = { class: "inline-flex items-center gap-0.5 overflow-x-a
|
|
|
6027
6030
|
}), null, 16, ["open"])
|
|
6028
6031
|
], 8, bc));
|
|
6029
6032
|
}
|
|
6030
|
-
}), Dc = { class: "pptx-vue-notes-toolbar mb-1 flex items-center justify-between gap-2" }, Tc = ["title"], _c = ["title"], Ic = ["title"], Pc = ["title"],
|
|
6033
|
+
}), Dc = { class: "pptx-vue-notes-toolbar mb-1 flex items-center justify-between gap-2" }, Tc = ["title"], _c = ["title"], Ic = ["title"], Pc = ["title"], Fc = ["title"], zc = ["title"], Ac = ["title"], Oc = ["title"], Mc = ["title"], Rc = ["title"], Lc = {
|
|
6031
6034
|
key: 0,
|
|
6032
6035
|
class: "pptx-vue-notes-link-popover absolute bottom-full left-0 mb-1 z-10 w-72 rounded-lg border border-border bg-muted p-3 shadow-lg"
|
|
6033
6036
|
}, $c = { class: "mb-0.5 block text-[10px] text-muted-foreground" }, Uc = { class: "mb-0.5 block text-[10px] text-muted-foreground" }, jc = ["placeholder"], Kc = { class: "flex justify-end gap-2" }, Hc = {
|
|
@@ -6095,13 +6098,13 @@ var ds = ["title"], ps = { class: "inline-flex items-center gap-0.5 overflow-x-a
|
|
|
6095
6098
|
class: (0, a.normalizeClass)(Zc),
|
|
6096
6099
|
title: (0, a.unref)(i)("pptx.notesToolbar.bulletedList"),
|
|
6097
6100
|
onClick: n[4] || (n[4] = (e) => l("toggleBullet"))
|
|
6098
|
-
}, [(0, a.createVNode)((0, a.unref)(r.List), { class: "w-3.5 h-3.5" })], 8,
|
|
6101
|
+
}, [(0, a.createVNode)((0, a.unref)(r.List), { class: "w-3.5 h-3.5" })], 8, Fc),
|
|
6099
6102
|
(0, a.createElementVNode)("button", {
|
|
6100
6103
|
type: "button",
|
|
6101
6104
|
class: (0, a.normalizeClass)(u),
|
|
6102
6105
|
title: (0, a.unref)(i)("pptx.notesToolbar.numberedList"),
|
|
6103
6106
|
onClick: n[5] || (n[5] = (e) => l("toggleNumbered"))
|
|
6104
|
-
}, [(0, a.createVNode)((0, a.unref)(r.ListOrdered), { class: "w-3.5 h-3.5" })], 8,
|
|
6107
|
+
}, [(0, a.createVNode)((0, a.unref)(r.ListOrdered), { class: "w-3.5 h-3.5" })], 8, zc),
|
|
6105
6108
|
(0, a.createElementVNode)("span", {
|
|
6106
6109
|
class: (0, a.normalizeClass)(Wc),
|
|
6107
6110
|
"aria-hidden": "true"
|
|
@@ -6673,7 +6676,7 @@ var Yc = ["data-collapsed"], Qc = ["aria-expanded"], ed = { class: "pptx-vue-not
|
|
|
6673
6676
|
}, [(0, a.createVNode)((0, a.unref)(r.Sparkles), { class: (0, a.normalizeClass)((0, a.unref)(Nn)) }, null, 8, ["class"])], 10, _d)
|
|
6674
6677
|
]), (0, a.createElementVNode)("span", Id, (0, a.toDisplayString)((0, a.unref)(l)("pptx.ribbon.groupDrawing")), 1)]), (0, a.createElementVNode)("div", { class: (0, a.normalizeClass)((0, a.unref)(Sn)) }, null, 2)], 64));
|
|
6675
6678
|
}
|
|
6676
|
-
}),
|
|
6679
|
+
}), Fd = { class: "flex flex-col items-center gap-0.5" }, zd = { class: "flex items-center gap-1" }, Ad = ["title"], Od = ["title"], Md = ["title"], Rd = {
|
|
6677
6680
|
key: 0,
|
|
6678
6681
|
class: "z-50 flex flex-col w-32 pt-1"
|
|
6679
6682
|
}, Ld = { class: "text-[9px] text-muted-foreground leading-none" }, $d = (0, a.defineComponent)({
|
|
@@ -6687,7 +6690,7 @@ var Yc = ["data-collapsed"], Qc = ["aria-expanded"], ed = { class: "pptx-vue-not
|
|
|
6687
6690
|
function i() {
|
|
6688
6691
|
t.onSelectAll?.(), l.close();
|
|
6689
6692
|
}
|
|
6690
|
-
return (e, n) => ((0, a.openBlock)(), (0, a.createElementBlock)(a.Fragment, null, [(0, a.createElementVNode)("div", { class: (0, a.normalizeClass)((0, a.unref)(Sn)) }, null, 2), (0, a.createElementVNode)("div",
|
|
6693
|
+
return (e, n) => ((0, a.openBlock)(), (0, a.createElementBlock)(a.Fragment, null, [(0, a.createElementVNode)("div", { class: (0, a.normalizeClass)((0, a.unref)(Sn)) }, null, 2), (0, a.createElementVNode)("div", Fd, [(0, a.createElementVNode)("div", zd, [
|
|
6691
6694
|
(0, a.createElementVNode)("button", {
|
|
6692
6695
|
type: "button",
|
|
6693
6696
|
class: (0, a.normalizeClass)((0, a.unref)(kn)),
|
|
@@ -7029,6 +7032,7 @@ var Yc = ["data-collapsed"], Qc = ["aria-expanded"], ed = { class: "pptx-vue-not
|
|
|
7029
7032
|
onOpenSettings: { type: Function },
|
|
7030
7033
|
onRunAccessibilityCheck: { type: Function },
|
|
7031
7034
|
onToggleSlideSorter: { type: Function },
|
|
7035
|
+
onGoToNormalView: { type: Function },
|
|
7032
7036
|
onOpenReadingView: { type: Function },
|
|
7033
7037
|
onOpenOutlineView: { type: Function },
|
|
7034
7038
|
onUpdateTextStyle: { type: Function },
|
|
@@ -7107,7 +7111,7 @@ var Yc = ["data-collapsed"], Qc = ["aria-expanded"], ed = { class: "pptx-vue-not
|
|
|
7107
7111
|
"presentation-properties",
|
|
7108
7112
|
"on-presentation-properties-change"
|
|
7109
7113
|
])) : (0, a.createCommentVNode)("", !0),
|
|
7110
|
-
"review" === n.value ? ((0, a.openBlock)(), (0, a.createBlock)(
|
|
7114
|
+
"review" === n.value ? ((0, a.openBlock)(), (0, a.createBlock)(zl, {
|
|
7111
7115
|
key: 1,
|
|
7112
7116
|
"can-edit": t.canEdit,
|
|
7113
7117
|
"spell-check-enabled": t.spellCheckEnabled,
|
|
@@ -7153,6 +7157,8 @@ var Yc = ["data-collapsed"], Qc = ["aria-expanded"], ed = { class: "pptx-vue-not
|
|
|
7153
7157
|
"on-set-snap-to-shape": t.onSetSnapToShape,
|
|
7154
7158
|
"on-add-guide": t.onAddGuide,
|
|
7155
7159
|
"on-zoom-to-fit": t.onZoomToFit,
|
|
7160
|
+
"on-toggle-slide-sorter": t.onToggleSlideSorter,
|
|
7161
|
+
"on-go-to-normal-view": t.onGoToNormalView,
|
|
7156
7162
|
"on-enter-master-view": t.onEnterMasterView,
|
|
7157
7163
|
"is-selection-pane-open": t.isSelectionPaneOpen,
|
|
7158
7164
|
"on-toggle-selection-pane": t.onToggleSelectionPane,
|
|
@@ -7178,6 +7184,8 @@ var Yc = ["data-collapsed"], Qc = ["aria-expanded"], ed = { class: "pptx-vue-not
|
|
|
7178
7184
|
"on-set-snap-to-shape",
|
|
7179
7185
|
"on-add-guide",
|
|
7180
7186
|
"on-zoom-to-fit",
|
|
7187
|
+
"on-toggle-slide-sorter",
|
|
7188
|
+
"on-go-to-normal-view",
|
|
7181
7189
|
"on-enter-master-view",
|
|
7182
7190
|
"is-selection-pane-open",
|
|
7183
7191
|
"on-toggle-selection-pane",
|
|
@@ -7470,6 +7478,7 @@ var Yc = ["data-collapsed"], Qc = ["aria-expanded"], ed = { class: "pptx-vue-not
|
|
|
7470
7478
|
onOpenSettings: { type: Function },
|
|
7471
7479
|
onRunAccessibilityCheck: { type: Function },
|
|
7472
7480
|
onToggleSlideSorter: { type: Function },
|
|
7481
|
+
onGoToNormalView: { type: Function },
|
|
7473
7482
|
onOpenReadingView: { type: Function },
|
|
7474
7483
|
onOpenOutlineView: { type: Function },
|
|
7475
7484
|
onUpdateTextStyle: { type: Function },
|
|
@@ -7697,6 +7706,7 @@ var Yc = ["data-collapsed"], Qc = ["aria-expanded"], ed = { class: "pptx-vue-not
|
|
|
7697
7706
|
onOpenSettings: { type: Function },
|
|
7698
7707
|
onRunAccessibilityCheck: { type: Function },
|
|
7699
7708
|
onToggleSlideSorter: { type: Function },
|
|
7709
|
+
onGoToNormalView: { type: Function },
|
|
7700
7710
|
onOpenReadingView: { type: Function },
|
|
7701
7711
|
onOpenOutlineView: { type: Function },
|
|
7702
7712
|
onUpdateTextStyle: { type: Function },
|
|
@@ -7967,6 +7977,7 @@ var Yc = ["data-collapsed"], Qc = ["aria-expanded"], ed = { class: "pptx-vue-not
|
|
|
7967
7977
|
onOpenSettings: { type: Function },
|
|
7968
7978
|
onRunAccessibilityCheck: { type: Function },
|
|
7969
7979
|
onToggleSlideSorter: { type: Function },
|
|
7980
|
+
onGoToNormalView: { type: Function },
|
|
7970
7981
|
onOpenReadingView: { type: Function },
|
|
7971
7982
|
onOpenOutlineView: { type: Function },
|
|
7972
7983
|
onUpdateTextStyle: { type: Function },
|
|
@@ -8347,12 +8358,12 @@ var Yc = ["data-collapsed"], Qc = ["aria-expanded"], ed = { class: "pptx-vue-not
|
|
|
8347
8358
|
}), Pp = {
|
|
8348
8359
|
class: "pptx-vue-quick-access flex items-center gap-0.5",
|
|
8349
8360
|
"data-pptx-quick-access": ""
|
|
8350
|
-
},
|
|
8361
|
+
}, Fp = [
|
|
8351
8362
|
"disabled",
|
|
8352
8363
|
"title",
|
|
8353
8364
|
"aria-label",
|
|
8354
8365
|
"onClick"
|
|
8355
|
-
],
|
|
8366
|
+
], zp = {
|
|
8356
8367
|
key: 0,
|
|
8357
8368
|
class: "ml-1 text-[11px]"
|
|
8358
8369
|
}, Op = (0, a.defineComponent)({
|
|
@@ -8383,7 +8394,7 @@ var Yc = ["data-collapsed"], Qc = ["aria-expanded"], ed = { class: "pptx-vue-not
|
|
|
8383
8394
|
title: (0, a.unref)(o)(e.label),
|
|
8384
8395
|
"aria-label": e.label,
|
|
8385
8396
|
onClick: (n) => t.onCommand(e.id)
|
|
8386
|
-
}, [((0, a.openBlock)(), (0, a.createBlock)((0, a.resolveDynamicComponent)(l[e.icon] ?? (0, a.unref)(r.Save)), { class: "w-3.5 h-3.5" })), t.showLabels ? ((0, a.openBlock)(), (0, a.createElementBlock)("span",
|
|
8397
|
+
}, [((0, a.openBlock)(), (0, a.createBlock)((0, a.resolveDynamicComponent)(l[e.icon] ?? (0, a.unref)(r.Save)), { class: "w-3.5 h-3.5" })), t.showLabels ? ((0, a.openBlock)(), (0, a.createElementBlock)("span", zp, (0, a.toDisplayString)(e.label), 1)) : (0, a.createCommentVNode)("", !0)], 10, Fp))), 128))]));
|
|
8387
8398
|
}
|
|
8388
8399
|
}), Mp = [
|
|
8389
8400
|
"aria-checked",
|
|
@@ -8956,10 +8967,10 @@ function Pu(...e) {
|
|
|
8956
8967
|
}
|
|
8957
8968
|
return Object.defineProperties({}, t);
|
|
8958
8969
|
}
|
|
8959
|
-
function
|
|
8970
|
+
function Fu(e) {
|
|
8960
8971
|
return JSON.stringify(e);
|
|
8961
8972
|
}
|
|
8962
|
-
function
|
|
8973
|
+
function zu(e) {
|
|
8963
8974
|
return e.toLowerCase().trim().replace(/[^\w\s-]/g, "").replace(/[\s_-]+/g, "-").replace(/^-+|-+$/g, "");
|
|
8964
8975
|
}
|
|
8965
8976
|
var Au = "captureStackTrace" in Error ? Error.captureStackTrace : (...e) => {};
|
|
@@ -9385,7 +9396,7 @@ var Im = globalThis.__zod_globalConfig;
|
|
|
9385
9396
|
function Pm(e) {
|
|
9386
9397
|
return e && Object.assign(Im, e), Im;
|
|
9387
9398
|
}
|
|
9388
|
-
var
|
|
9399
|
+
var Fm = {
|
|
9389
9400
|
get: function() {
|
|
9390
9401
|
const e = this._zod;
|
|
9391
9402
|
return e.message ?? (e.message = JSON.stringify(e.def, Cu, 2)), e.message;
|
|
@@ -9395,14 +9406,14 @@ var zm = {
|
|
|
9395
9406
|
},
|
|
9396
9407
|
enumerable: !0,
|
|
9397
9408
|
configurable: !0
|
|
9398
|
-
},
|
|
9409
|
+
}, zm = {
|
|
9399
9410
|
value: void 0,
|
|
9400
9411
|
enumerable: !1
|
|
9401
9412
|
}, Am = {
|
|
9402
9413
|
value: void 0,
|
|
9403
9414
|
enumerable: !1
|
|
9404
9415
|
}, Om = new WeakSet([Object.prototype, Error.prototype]), Mm = (e, t) => {
|
|
9405
|
-
e.name = "$ZodError",
|
|
9416
|
+
e.name = "$ZodError", zm.value = e._zod, Object.defineProperty(e, "_zod", zm), Am.value = t, Object.defineProperty(e, "issues", Am), zm.value = void 0, Am.value = void 0, Object.defineProperty(e, "message", Fm);
|
|
9406
9417
|
const n = Object.getPrototypeOf(e);
|
|
9407
9418
|
Om.has(n) || (Om.add(n), Object.defineProperty(n, "toString", {
|
|
9408
9419
|
configurable: !0,
|
|
@@ -9585,8 +9596,8 @@ var Qm = (e) => {
|
|
|
9585
9596
|
bigint: () => Xf,
|
|
9586
9597
|
boolean: () => Qf,
|
|
9587
9598
|
browserEmail: () => Vf,
|
|
9588
|
-
cidrv4: () =>
|
|
9589
|
-
cidrv6: () =>
|
|
9599
|
+
cidrv4: () => Ff,
|
|
9600
|
+
cidrv6: () => zf,
|
|
9590
9601
|
creditCard: () => Uf,
|
|
9591
9602
|
cuid: () => cf,
|
|
9592
9603
|
cuid2: () => df,
|
|
@@ -9652,7 +9663,7 @@ function Tf() {
|
|
|
9652
9663
|
var _f = /^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/, If = /^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:))$/, Pf = (e) => {
|
|
9653
9664
|
const t = ju(e ?? ":");
|
|
9654
9665
|
return new RegExp(`^(?:[0-9A-F]{2}${t}){5}[0-9A-F]{2}$|^(?:[0-9a-f]{2}${t}){5}[0-9a-f]{2}$`);
|
|
9655
|
-
},
|
|
9666
|
+
}, Ff = /^((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/([0-9]|[1-2][0-9]|3[0-2])$/, zf = /^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:))\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/, Af = /^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$/, Of = /^[A-Za-z0-9_-]*$/, Mf = /^(?=.{1,253}\.?$)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[-0-9a-zA-Z]{0,61}[0-9a-zA-Z])?)*\.?$/, Rf = /^(?=.{1,253}$)([a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,63}$/, Lf = /^https?$/, $f = /^\+[1-9]\d{6,14}$/, Uf = /^\d(?:[ -]?\d){11,18}$/, jf = "(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))";
|
|
9656
9667
|
function Kf(e) {
|
|
9657
9668
|
return new RegExp(`^${e}$`);
|
|
9658
9669
|
}
|
|
@@ -9882,7 +9893,7 @@ var ig = /^[0-9a-fA-F]{32}$/, sg = rg(22, "=="), cg = lg(22), dg = /^[0-9a-fA-F]
|
|
|
9882
9893
|
continue: !t.abort
|
|
9883
9894
|
});
|
|
9884
9895
|
};
|
|
9885
|
-
}),
|
|
9896
|
+
}), Fg = Dm("$ZodCheckMaxLength", (e, t) => {
|
|
9886
9897
|
var n;
|
|
9887
9898
|
Sg.init(e, t), (n = e._zod.def).when ?? (n.when = wg), e._zod.onattach.push((e) => {
|
|
9888
9899
|
const n = e._zod.bag.maximum ?? Number.POSITIVE_INFINITY;
|
|
@@ -9901,7 +9912,7 @@ var ig = /^[0-9a-fA-F]{32}$/, sg = rg(22, "=="), cg = lg(22), dg = /^[0-9a-fA-F]
|
|
|
9901
9912
|
continue: !t.abort
|
|
9902
9913
|
});
|
|
9903
9914
|
};
|
|
9904
|
-
}),
|
|
9915
|
+
}), zg = Dm("$ZodCheckMinLength", (e, t) => {
|
|
9905
9916
|
var n;
|
|
9906
9917
|
Sg.init(e, t), (n = e._zod.def).when ?? (n.when = wg), e._zod.onattach.push((e) => {
|
|
9907
9918
|
const n = e._zod.bag.minimum ?? Number.NEGATIVE_INFINITY;
|
|
@@ -10305,7 +10316,7 @@ var wv = Dm("$ZodIPv6", (e, t) => {
|
|
|
10305
10316
|
}), Cv = Dm("$ZodMAC", (e, t) => {
|
|
10306
10317
|
t.pattern ?? (t.pattern = Pf(t.delimiter)), ev.init(e, t), e._zod.bag.format = "mac";
|
|
10307
10318
|
}), Nv = Dm("$ZodCIDRv4", (e, t) => {
|
|
10308
|
-
t.pattern ?? (t.pattern =
|
|
10319
|
+
t.pattern ?? (t.pattern = Ff), ev.init(e, t);
|
|
10309
10320
|
});
|
|
10310
10321
|
function Bv(e) {
|
|
10311
10322
|
const t = e.split("/");
|
|
@@ -10316,7 +10327,7 @@ function Bv(e) {
|
|
|
10316
10327
|
return `${a}` === o && !(a < 0 || a > 128) && Ev(n);
|
|
10317
10328
|
}
|
|
10318
10329
|
var Vv = Dm("$ZodCIDRv6", (e, t) => {
|
|
10319
|
-
t.pattern ?? (t.pattern =
|
|
10330
|
+
t.pattern ?? (t.pattern = zf), ev.init(e, t), e._zod.check = (n) => {
|
|
10320
10331
|
Bv(n.value) || n.issues.push({
|
|
10321
10332
|
code: "invalid_format",
|
|
10322
10333
|
format: "cidrv6",
|
|
@@ -10364,8 +10375,8 @@ var Iv = Dm("$ZodBase64URL", (e, t) => {
|
|
|
10364
10375
|
};
|
|
10365
10376
|
}), Pv = Dm("$ZodE164", (e, t) => {
|
|
10366
10377
|
t.pattern ?? (t.pattern = $f), ev.init(e, t);
|
|
10367
|
-
}),
|
|
10368
|
-
function
|
|
10378
|
+
}), Fv = /[- ]/g;
|
|
10379
|
+
function zv(e) {
|
|
10369
10380
|
return !!Uf.test(e) && function(e) {
|
|
10370
10381
|
let t = e.length, n = 1, o = 0;
|
|
10371
10382
|
for (; t;) {
|
|
@@ -10384,11 +10395,11 @@ function Fv(e) {
|
|
|
10384
10395
|
][a] : a;
|
|
10385
10396
|
}
|
|
10386
10397
|
return o % 10 == 0;
|
|
10387
|
-
}(e.replace(
|
|
10398
|
+
}(e.replace(Fv, ""));
|
|
10388
10399
|
}
|
|
10389
10400
|
var Av = Dm("$ZodCreditCard", (e, t) => {
|
|
10390
10401
|
t.pattern ?? (t.pattern = Uf), ev.init(e, t), e._zod.check = (n) => {
|
|
10391
|
-
|
|
10402
|
+
zv(n.value) || n.issues.push({
|
|
10392
10403
|
code: "invalid_format",
|
|
10393
10404
|
format: "credit_card",
|
|
10394
10405
|
input: n.value,
|
|
@@ -10690,7 +10701,7 @@ var rx = /* @__PURE__ */ new WeakMap(), lx = Dm("$ZodObject", (e, t) => {
|
|
|
10690
10701
|
l.write(a ? "const newResult = memo.alloc(inst, payload, {}, ctx);" : "const newResult = {};");
|
|
10691
10702
|
for (const e of n.allKeys) {
|
|
10692
10703
|
if ("__proto__" === e) continue;
|
|
10693
|
-
const n = c[e], o = "symbol" == typeof e ? `syms[${r.indexOf(e)}]` :
|
|
10704
|
+
const n = c[e], o = "symbol" == typeof e ? `syms[${r.indexOf(e)}]` : Fu(e), a = `${o} in input`, d = t[e], p = d?._zod?.optin, u = void 0 !== p, m = "optional" === d?._zod?.optout;
|
|
10694
10705
|
if (l.write(`const ${n} = ${i(o)};`), u && m) {
|
|
10695
10706
|
const e = "optional" === p ? `${n}_present` : `${n}.value !== undefined || ${n}_present`;
|
|
10696
10707
|
l.write(`\n const ${n}_present = ${a};\n if (!${n}.issues.length || ${n}_present) {\n if (${n}.issues.length) {${s(n, o)}\n }\n\n if (${e}) {\n newResult[${o}] = ${n}.value;\n }\n }\n\n `);
|
|
@@ -11260,13 +11271,13 @@ var Tx = Dm("$ZodOptional", (e, t) => {
|
|
|
11260
11271
|
if ("backward" === n.direction) return t.innerType._zod.run(e, n);
|
|
11261
11272
|
if (void 0 === e.value) return e.value = t.defaultValue, e;
|
|
11262
11273
|
const o = t.innerType._zod.run(e, n);
|
|
11263
|
-
return o instanceof Promise ? o.then((e) =>
|
|
11274
|
+
return o instanceof Promise ? o.then((e) => Fx(e, t)) : Fx(o, t);
|
|
11264
11275
|
};
|
|
11265
11276
|
});
|
|
11266
|
-
function
|
|
11277
|
+
function Fx(e, t) {
|
|
11267
11278
|
return void 0 === e.value && (e.value = t.defaultValue), e;
|
|
11268
11279
|
}
|
|
11269
|
-
var
|
|
11280
|
+
var zx = Dm("$ZodPrefault", (e, t) => {
|
|
11270
11281
|
Xg.init(e, t), e._zod.optin = "defaulted", Sm(e, "values", (e) => e.def.innerType._zod.values), e._zod.parse = (e, n) => ("backward" === n.direction || void 0 === e.value && (e.value = t.defaultValue), t.innerType._zod.run(e, n));
|
|
11271
11282
|
}), Ax = Dm("$ZodNonOptional", (e, t) => {
|
|
11272
11283
|
Xg.init(e, t), Sm(e, "values", (e) => {
|
|
@@ -11826,7 +11837,7 @@ function Ph(e, t) {
|
|
|
11826
11837
|
...Hu(t)
|
|
11827
11838
|
});
|
|
11828
11839
|
}
|
|
11829
|
-
function
|
|
11840
|
+
function Fh(e, t) {
|
|
11830
11841
|
return new e({
|
|
11831
11842
|
type: "string",
|
|
11832
11843
|
format: "ipv4",
|
|
@@ -11835,7 +11846,7 @@ function zh(e, t) {
|
|
|
11835
11846
|
...Hu(t)
|
|
11836
11847
|
});
|
|
11837
11848
|
}
|
|
11838
|
-
function
|
|
11849
|
+
function zh(e, t) {
|
|
11839
11850
|
return new e({
|
|
11840
11851
|
type: "string",
|
|
11841
11852
|
format: "ipv6",
|
|
@@ -12155,14 +12166,14 @@ function wb(e, t) {
|
|
|
12155
12166
|
});
|
|
12156
12167
|
}
|
|
12157
12168
|
function Cb(e, t) {
|
|
12158
|
-
return new
|
|
12169
|
+
return new Fg({
|
|
12159
12170
|
check: "max_length",
|
|
12160
12171
|
...Hu(t),
|
|
12161
12172
|
maximum: e
|
|
12162
12173
|
});
|
|
12163
12174
|
}
|
|
12164
12175
|
function Nb(e, t) {
|
|
12165
|
-
return new
|
|
12176
|
+
return new zg({
|
|
12166
12177
|
check: "min_length",
|
|
12167
12178
|
...Hu(t),
|
|
12168
12179
|
minimum: e
|
|
@@ -12221,7 +12232,7 @@ function Pb(e, t) {
|
|
|
12221
12232
|
suffix: e
|
|
12222
12233
|
});
|
|
12223
12234
|
}
|
|
12224
|
-
function
|
|
12235
|
+
function Fb(e, t, n) {
|
|
12225
12236
|
return new Hg({
|
|
12226
12237
|
check: "property",
|
|
12227
12238
|
property: e,
|
|
@@ -12229,7 +12240,7 @@ function zb(e, t, n) {
|
|
|
12229
12240
|
...Hu(n)
|
|
12230
12241
|
});
|
|
12231
12242
|
}
|
|
12232
|
-
function
|
|
12243
|
+
function zb(e) {
|
|
12233
12244
|
return Object.entries(e).map(([e, t]) => new Hg({
|
|
12234
12245
|
check: "property",
|
|
12235
12246
|
property: e,
|
|
@@ -12262,7 +12273,7 @@ function $b() {
|
|
|
12262
12273
|
return Ob((e) => e.toUpperCase());
|
|
12263
12274
|
}
|
|
12264
12275
|
function Ub() {
|
|
12265
|
-
return Ob((e) =>
|
|
12276
|
+
return Ob((e) => zu(e));
|
|
12266
12277
|
}
|
|
12267
12278
|
function jb(e, t, n) {
|
|
12268
12279
|
return new e({
|
|
@@ -12786,9 +12797,9 @@ var my = (e, t = {}) => (n) => {
|
|
|
12786
12797
|
ty(e, t, n, o, "Custom types cannot be represented in JSON Schema");
|
|
12787
12798
|
}, Py = (e, t, n, o) => {
|
|
12788
12799
|
ty(e, t, n, o, "Function types cannot be represented in JSON Schema");
|
|
12789
|
-
}, zy = (e, t, n, o) => {
|
|
12790
|
-
ty(e, t, n, o, "Transforms cannot be represented in JSON Schema");
|
|
12791
12800
|
}, Fy = (e, t, n, o) => {
|
|
12801
|
+
ty(e, t, n, o, "Transforms cannot be represented in JSON Schema");
|
|
12802
|
+
}, zy = (e, t, n, o) => {
|
|
12792
12803
|
ty(e, t, n, o, "Map cannot be represented in JSON Schema");
|
|
12793
12804
|
}, Ay = (e, t, n, o) => {
|
|
12794
12805
|
ty(e, t, n, o, "Set cannot be represented in JSON Schema");
|
|
@@ -12984,8 +12995,8 @@ e.__exportAll({
|
|
|
12984
12995
|
normalize: () => Mb,
|
|
12985
12996
|
overwrite: () => Ob,
|
|
12986
12997
|
positive: () => xb,
|
|
12987
|
-
properties: () =>
|
|
12988
|
-
property: () =>
|
|
12998
|
+
properties: () => zb,
|
|
12999
|
+
property: () => Fb,
|
|
12989
13000
|
regex: () => Vb,
|
|
12990
13001
|
size: () => wb,
|
|
12991
13002
|
slugify: () => Ub,
|
|
@@ -13039,7 +13050,7 @@ e.__exportAll({
|
|
|
13039
13050
|
ZodBase64URL: () => fS,
|
|
13040
13051
|
ZodBigInt: () => OS,
|
|
13041
13052
|
ZodBigIntFormat: () => RS,
|
|
13042
|
-
ZodBoolean: () =>
|
|
13053
|
+
ZodBoolean: () => zS,
|
|
13043
13054
|
ZodCIDRv4: () => sS,
|
|
13044
13055
|
ZodCIDRv6: () => dS,
|
|
13045
13056
|
ZodCUID: () => Gk,
|
|
@@ -13057,7 +13068,7 @@ e.__exportAll({
|
|
|
13057
13068
|
ZodEmoji: () => Uk,
|
|
13058
13069
|
ZodEnum: () => DE,
|
|
13059
13070
|
ZodExactOptional: () => LE,
|
|
13060
|
-
ZodFile: () =>
|
|
13071
|
+
ZodFile: () => FE,
|
|
13061
13072
|
ZodFunction: () => xw,
|
|
13062
13073
|
ZodGUID: () => Ik,
|
|
13063
13074
|
ZodIPv4: () => nS,
|
|
@@ -13100,7 +13111,7 @@ e.__exportAll({
|
|
|
13100
13111
|
ZodType: () => kk,
|
|
13101
13112
|
ZodULID: () => Xk,
|
|
13102
13113
|
ZodURL: () => Rk,
|
|
13103
|
-
ZodUUID: () =>
|
|
13114
|
+
ZodUUID: () => Fk,
|
|
13104
13115
|
ZodUndefined: () => KS,
|
|
13105
13116
|
ZodUnion: () => pE,
|
|
13106
13117
|
ZodUnknown: () => XS,
|
|
@@ -13133,7 +13144,7 @@ e.__exportAll({
|
|
|
13133
13144
|
emoji: () => jk,
|
|
13134
13145
|
enum: () => TE,
|
|
13135
13146
|
exactOptional: () => $E,
|
|
13136
|
-
file: () =>
|
|
13147
|
+
file: () => zE,
|
|
13137
13148
|
float32: () => _S,
|
|
13138
13149
|
float64: () => IS,
|
|
13139
13150
|
function: () => hw,
|
|
@@ -13191,14 +13202,14 @@ e.__exportAll({
|
|
|
13191
13202
|
templateLiteral: () => uw,
|
|
13192
13203
|
transform: () => OE,
|
|
13193
13204
|
tuple: () => yE,
|
|
13194
|
-
uint32: () =>
|
|
13205
|
+
uint32: () => FS,
|
|
13195
13206
|
uint64: () => $S,
|
|
13196
13207
|
ulid: () => Jk,
|
|
13197
13208
|
undefined: () => HS,
|
|
13198
13209
|
union: () => uE,
|
|
13199
13210
|
unknown: () => JS,
|
|
13200
13211
|
url: () => Lk,
|
|
13201
|
-
uuid: () =>
|
|
13212
|
+
uuid: () => zk,
|
|
13202
13213
|
uuidv4: () => Ak,
|
|
13203
13214
|
uuidv6: () => Ok,
|
|
13204
13215
|
uuidv7: () => Mk,
|
|
@@ -13431,16 +13442,16 @@ var kk = Dm("ZodType", (e, t) => (Im.localeError || Pm(fh()), Xg.init(e, t), e.d
|
|
|
13431
13442
|
return this.check(kh(Ik, e));
|
|
13432
13443
|
},
|
|
13433
13444
|
uuid(e) {
|
|
13434
|
-
return this.check(Sh(
|
|
13445
|
+
return this.check(Sh(Fk, e));
|
|
13435
13446
|
},
|
|
13436
13447
|
uuidv4(e) {
|
|
13437
|
-
return this.check(Eh(
|
|
13448
|
+
return this.check(Eh(Fk, e));
|
|
13438
13449
|
},
|
|
13439
13450
|
uuidv6(e) {
|
|
13440
|
-
return this.check(wh(
|
|
13451
|
+
return this.check(wh(Fk, e));
|
|
13441
13452
|
},
|
|
13442
13453
|
uuidv7(e) {
|
|
13443
|
-
return this.check(Ch(
|
|
13454
|
+
return this.check(Ch(Fk, e));
|
|
13444
13455
|
},
|
|
13445
13456
|
nanoid(e) {
|
|
13446
13457
|
return this.check(Vh(Kk, e));
|
|
@@ -13467,10 +13478,10 @@ var kk = Dm("ZodType", (e, t) => (Im.localeError || Pm(fh()), Xg.init(e, t), e.d
|
|
|
13467
13478
|
return this.check(Ph(eS, e));
|
|
13468
13479
|
},
|
|
13469
13480
|
ipv4(e) {
|
|
13470
|
-
return this.check(
|
|
13481
|
+
return this.check(Fh(nS, e));
|
|
13471
13482
|
},
|
|
13472
13483
|
ipv6(e) {
|
|
13473
|
-
return this.check(
|
|
13484
|
+
return this.check(zh(lS, e));
|
|
13474
13485
|
},
|
|
13475
13486
|
cidrv4(e) {
|
|
13476
13487
|
return this.check(Oh(sS, e));
|
|
@@ -13519,20 +13530,20 @@ var Ik = Dm("ZodGUID", (e, t) => {
|
|
|
13519
13530
|
function Pk(e) {
|
|
13520
13531
|
return kh(Ik, e);
|
|
13521
13532
|
}
|
|
13522
|
-
var
|
|
13533
|
+
var Fk = Dm("ZodUUID", (e, t) => {
|
|
13523
13534
|
nv.init(e, t), Ck.init(e, t);
|
|
13524
13535
|
});
|
|
13525
|
-
function
|
|
13526
|
-
return Sh(
|
|
13536
|
+
function zk(e) {
|
|
13537
|
+
return Sh(Fk, e);
|
|
13527
13538
|
}
|
|
13528
13539
|
function Ak(e) {
|
|
13529
|
-
return Eh(
|
|
13540
|
+
return Eh(Fk, e);
|
|
13530
13541
|
}
|
|
13531
13542
|
function Ok(e) {
|
|
13532
|
-
return wh(
|
|
13543
|
+
return wh(Fk, e);
|
|
13533
13544
|
}
|
|
13534
13545
|
function Mk(e) {
|
|
13535
|
-
return Ch(
|
|
13546
|
+
return Ch(Fk, e);
|
|
13536
13547
|
}
|
|
13537
13548
|
var Rk = Dm("ZodURL", (e, t) => {
|
|
13538
13549
|
cv.init(e, t), Ck.init(e, t);
|
|
@@ -13593,7 +13604,7 @@ var nS = Dm("ZodIPv4", (e, t) => {
|
|
|
13593
13604
|
kv.init(e, t), Ck.init(e, t);
|
|
13594
13605
|
});
|
|
13595
13606
|
function oS(e) {
|
|
13596
|
-
return
|
|
13607
|
+
return Fh(nS, e);
|
|
13597
13608
|
}
|
|
13598
13609
|
var aS = Dm("ZodMAC", (e, t) => {
|
|
13599
13610
|
Cv.init(e, t), Ck.init(e, t);
|
|
@@ -13605,7 +13616,7 @@ var lS = Dm("ZodIPv6", (e, t) => {
|
|
|
13605
13616
|
wv.init(e, t), Ck.init(e, t);
|
|
13606
13617
|
});
|
|
13607
13618
|
function iS(e) {
|
|
13608
|
-
return
|
|
13619
|
+
return zh(lS, e);
|
|
13609
13620
|
}
|
|
13610
13621
|
var sS = Dm("ZodCIDRv4", (e, t) => {
|
|
13611
13622
|
Nv.init(e, t), Ck.init(e, t);
|
|
@@ -13735,14 +13746,14 @@ function IS(e) {
|
|
|
13735
13746
|
function PS(e) {
|
|
13736
13747
|
return Yh(DS, e);
|
|
13737
13748
|
}
|
|
13738
|
-
function
|
|
13749
|
+
function FS(e) {
|
|
13739
13750
|
return Qh(DS, e);
|
|
13740
13751
|
}
|
|
13741
|
-
var
|
|
13752
|
+
var zS = Dm("ZodBoolean", (e, t) => {
|
|
13742
13753
|
Uv.init(e, t), kk.init(e, t), e._zod.processJSONSchema = (e, t, n) => hy(0, 0, t);
|
|
13743
13754
|
});
|
|
13744
13755
|
function AS(e) {
|
|
13745
|
-
return eb(
|
|
13756
|
+
return eb(zS, e);
|
|
13746
13757
|
}
|
|
13747
13758
|
var OS = Dm("ZodBigInt", (e, t) => {
|
|
13748
13759
|
jv.init(e, t), kk.init(e, t), e._zod.processJSONSchema = (t, n, o) => by(e, t, n, o);
|
|
@@ -14062,7 +14073,7 @@ function wE(e, t, n) {
|
|
|
14062
14073
|
});
|
|
14063
14074
|
}
|
|
14064
14075
|
var CE = Dm("ZodMap", (e, t) => {
|
|
14065
|
-
yk(), kx.init(e, t), kk.init(e, t), e._zod.processJSONSchema = (t, n, o) =>
|
|
14076
|
+
yk(), kx.init(e, t), kk.init(e, t), e._zod.processJSONSchema = (t, n, o) => zy(e, t, n, o), e.keyType = t.keyType, e.valueType = t.valueType, e.min = (...t) => e.check(Eb(...t)), e.nonempty = (t) => e.check(Eb(1, t)), e.max = (...t) => e.check(Sb(...t)), e.size = (...t) => e.check(wb(...t));
|
|
14066
14077
|
});
|
|
14067
14078
|
function NE(e, t, n) {
|
|
14068
14079
|
return new CE({
|
|
@@ -14138,14 +14149,14 @@ function PE(e, t) {
|
|
|
14138
14149
|
...Hu(t)
|
|
14139
14150
|
});
|
|
14140
14151
|
}
|
|
14141
|
-
var
|
|
14152
|
+
var FE = Dm("ZodFile", (e, t) => {
|
|
14142
14153
|
Bx.init(e, t), kk.init(e, t), e._zod.processJSONSchema = (t, n, o) => Ty(e, 0, n), e.min = (t, n) => e.check(Eb(t, n)), e.max = (t, n) => e.check(Sb(t, n)), e.mime = (t, n) => e.check(Ab(Array.isArray(t) ? t : [t], n));
|
|
14143
14154
|
});
|
|
14144
|
-
function
|
|
14145
|
-
return Kb(
|
|
14155
|
+
function zE(e) {
|
|
14156
|
+
return Kb(FE, e);
|
|
14146
14157
|
}
|
|
14147
14158
|
var AE = Dm("ZodTransform", (e, t) => {
|
|
14148
|
-
yk(), Vx.init(e, t), kk.init(e, t), e._zod.processJSONSchema = (t, n, o) =>
|
|
14159
|
+
yk(), Vx.init(e, t), kk.init(e, t), e._zod.processJSONSchema = (t, n, o) => Fy(e, t, n, o), e._zod.parse = (n, o) => {
|
|
14149
14160
|
if ("backward" === o.direction) throw new _m(e.constructor.name);
|
|
14150
14161
|
n.addIssue = (o) => {
|
|
14151
14162
|
if ("string" == typeof o) n.issues.push(fm(o, n.value, t));
|
|
@@ -14207,7 +14218,7 @@ function GE(e, t) {
|
|
|
14207
14218
|
});
|
|
14208
14219
|
}
|
|
14209
14220
|
var ZE = Dm("ZodPrefault", (e, t) => {
|
|
14210
|
-
|
|
14221
|
+
zx.init(e, t), kk.init(e, t), e._zod.processJSONSchema = (t, n, o) => qy(e, t, n, o), e.unwrap = () => e._zod.def.innerType;
|
|
14211
14222
|
});
|
|
14212
14223
|
function WE(e, t) {
|
|
14213
14224
|
return new ZE({
|
|
@@ -14371,7 +14382,7 @@ function Nw(e, t = {}) {
|
|
|
14371
14382
|
}
|
|
14372
14383
|
var Bw = (...e) => Jb({
|
|
14373
14384
|
Codec: rw,
|
|
14374
|
-
Boolean:
|
|
14385
|
+
Boolean: zS,
|
|
14375
14386
|
String: Ek
|
|
14376
14387
|
}, ...e);
|
|
14377
14388
|
function Vw(e) {
|
|
@@ -14401,8 +14412,8 @@ e.__exportAll({
|
|
|
14401
14412
|
ZodISOTime: () => Vk,
|
|
14402
14413
|
date: () => Pw,
|
|
14403
14414
|
datetime: () => Iw,
|
|
14404
|
-
duration: () =>
|
|
14405
|
-
time: () =>
|
|
14415
|
+
duration: () => zw,
|
|
14416
|
+
time: () => Fw
|
|
14406
14417
|
});
|
|
14407
14418
|
function Iw(e) {
|
|
14408
14419
|
return Kh(Nk, e);
|
|
@@ -14410,10 +14421,10 @@ function Iw(e) {
|
|
|
14410
14421
|
function Pw(e) {
|
|
14411
14422
|
return Hh(Bk, e);
|
|
14412
14423
|
}
|
|
14413
|
-
function
|
|
14424
|
+
function Fw(e) {
|
|
14414
14425
|
return Gh(Vk, e);
|
|
14415
14426
|
}
|
|
14416
|
-
function
|
|
14427
|
+
function zw(e) {
|
|
14417
14428
|
return Zh(Dk, e);
|
|
14418
14429
|
}
|
|
14419
14430
|
function Aw() {
|
|
@@ -14984,7 +14995,7 @@ var Xw, Jw, Yw = sE({
|
|
|
14984
14995
|
"triangle",
|
|
14985
14996
|
"x",
|
|
14986
14997
|
"auto"
|
|
14987
|
-
]),
|
|
14998
|
+
]), FC = TE([
|
|
14988
14999
|
"bestFit",
|
|
14989
15000
|
"b",
|
|
14990
15001
|
"ctr",
|
|
@@ -14994,7 +15005,7 @@ var Xw, Jw, Yw = sE({
|
|
|
14994
15005
|
"outEnd",
|
|
14995
15006
|
"r",
|
|
14996
15007
|
"t"
|
|
14997
|
-
]),
|
|
15008
|
+
]), zC = (sE({
|
|
14998
15009
|
filePath: wk().describe("Path to the PPTX file"),
|
|
14999
15010
|
slideIndex: VS().int().min(0).describe("Zero-based slide index"),
|
|
15000
15011
|
elementId: wk().describe("Chart element ID"),
|
|
@@ -15023,7 +15034,7 @@ var Xw, Jw, Yw = sE({
|
|
|
15023
15034
|
showSeriesName: AS().optional(),
|
|
15024
15035
|
showPercent: AS().optional(),
|
|
15025
15036
|
showLegendKey: AS().optional(),
|
|
15026
|
-
position:
|
|
15037
|
+
position: FC.optional(),
|
|
15027
15038
|
text: wk().optional().describe("Custom label text override; '' clears it"),
|
|
15028
15039
|
spPr: sE({
|
|
15029
15040
|
fillColor: wk().optional(),
|
|
@@ -15571,10 +15582,10 @@ function PN(e, t) {
|
|
|
15571
15582
|
const n = 4 * t;
|
|
15572
15583
|
return e.length <= n ? e : `${e.slice(0, n)}\n...[truncated to fit context budget]`;
|
|
15573
15584
|
}
|
|
15574
|
-
function
|
|
15585
|
+
function FN(e) {
|
|
15575
15586
|
for (const t of e.elements) if ("text" in t && "string" == typeof t.text && t.text.trim()) return t.text.trim().split("\n")[0].slice(0, 80);
|
|
15576
15587
|
}
|
|
15577
|
-
function
|
|
15588
|
+
function zN(e) {
|
|
15578
15589
|
const t = /* @__PURE__ */ new Map();
|
|
15579
15590
|
for (const n of e) t.set(n.type, (t.get(n.type) ?? 0) + 1);
|
|
15580
15591
|
return [...t.entries()].map(([e, t]) => `${t} ${e}`).join(", ") || "empty";
|
|
@@ -15582,8 +15593,8 @@ function FN(e) {
|
|
|
15582
15593
|
function AN(e, t, n = {}) {
|
|
15583
15594
|
const o = Math.min(n.maxSlides ?? e.length, e.length), a = [`Deck: ${t.title ?? "Untitled"} - ${t.slideCount} slide(s), ${Math.round(t.width)}x${Math.round(t.height)}px. Active slide: ${t.activeSlideIndex + 1}.`, ""];
|
|
15584
15595
|
for (let t = 0; t < o; t++) {
|
|
15585
|
-
const n = e[t], o =
|
|
15586
|
-
a.push(`Slide ${t + 1}${r}: ${o} - ${
|
|
15596
|
+
const n = e[t], o = FN(n) ?? "(no title)", r = n.hidden ? " [hidden]" : "";
|
|
15597
|
+
a.push(`Slide ${t + 1}${r}: ${o} - ${zN(n.elements)}`);
|
|
15587
15598
|
}
|
|
15588
15599
|
return o < e.length && a.push(`...and ${e.length - o} more slide(s).`), PN(a.join("\n"), n.maxTokens ?? 2e3);
|
|
15589
15600
|
}
|
|
@@ -16973,7 +16984,7 @@ var cB = {
|
|
|
16973
16984
|
}
|
|
16974
16985
|
};
|
|
16975
16986
|
}, "slides", "Create chart"),
|
|
16976
|
-
update_chart: sB("Update chart type, title, legend, data labels, axis, or categories.",
|
|
16987
|
+
update_chart: sB("Update chart type, title, legend, data labels, axis, or categories.", zC, function(e, n) {
|
|
16977
16988
|
const o = Mw(n.slideIndex, e.pptxData.slides.length);
|
|
16978
16989
|
if (o) throw new Error(o);
|
|
16979
16990
|
const a = e.pptxData.slides[n.slideIndex].elements.find((e) => e.id === n.elementId);
|
|
@@ -17824,7 +17835,7 @@ var PB = /* @__PURE__ */ new Set([
|
|
|
17824
17835
|
"output-available",
|
|
17825
17836
|
"output-error"
|
|
17826
17837
|
]);
|
|
17827
|
-
function
|
|
17838
|
+
function FB(e) {
|
|
17828
17839
|
const t = [];
|
|
17829
17840
|
for (const n of e) for (const e of n.parts) {
|
|
17830
17841
|
const n = e;
|
|
@@ -17838,7 +17849,7 @@ function zB(e) {
|
|
|
17838
17849
|
}
|
|
17839
17850
|
return t;
|
|
17840
17851
|
}
|
|
17841
|
-
function
|
|
17852
|
+
function zB(e) {
|
|
17842
17853
|
const t = [];
|
|
17843
17854
|
for (const n of e.parts) {
|
|
17844
17855
|
const e = n;
|
|
@@ -17875,7 +17886,7 @@ function OB(e, t) {
|
|
|
17875
17886
|
chatCount: e.length,
|
|
17876
17887
|
chats: e.map((e) => function(e, t) {
|
|
17877
17888
|
const n = e.messages.map((e) => {
|
|
17878
|
-
const n =
|
|
17889
|
+
const n = zB(e), o = [], a = [];
|
|
17879
17890
|
for (const e of n) "text" !== e.kind ? a.push({
|
|
17880
17891
|
toolName: e.toolName,
|
|
17881
17892
|
toolCallId: e.toolCallId,
|
|
@@ -18793,7 +18804,7 @@ var cV = ["data-testid", "data-ai-change"], dV = "pptx-ai-change-css", uV = (0,
|
|
|
18793
18804
|
height: "22",
|
|
18794
18805
|
viewBox: "0 0 20 22",
|
|
18795
18806
|
focusable: "false"
|
|
18796
|
-
}, PV = ["fill"],
|
|
18807
|
+
}, PV = ["fill"], FV = (0, a.defineComponent)({
|
|
18797
18808
|
__name: "CollaborationCursors",
|
|
18798
18809
|
props: {
|
|
18799
18810
|
cursors: {},
|
|
@@ -18823,7 +18834,7 @@ var cV = ["data-testid", "data-ai-change"], dV = "pptx-ai-change-css", uV = (0,
|
|
|
18823
18834
|
var t;
|
|
18824
18835
|
}), 128))]));
|
|
18825
18836
|
}
|
|
18826
|
-
}),
|
|
18837
|
+
}), zV = n._plugin_vue_export_helper_default(FV, [["__scopeId", "data-v-f4e3b294"]]), AV = { class: "pointer-events-none absolute inset-0 z-[45]" }, OV = ["title", "onClick"], RV = (0, a.defineComponent)({
|
|
18827
18838
|
__name: "CommentMarkersOverlay",
|
|
18828
18839
|
props: {
|
|
18829
18840
|
comments: {},
|
|
@@ -18993,7 +19004,7 @@ var cV = ["data-testid", "data-ai-change"], dV = "pptx-ai-change-css", uV = (0,
|
|
|
18993
19004
|
color: r.color,
|
|
18994
19005
|
width: v.value,
|
|
18995
19006
|
tool: "freeform" === r.tool ? "freeform" : g.value ? "highlighter" : "pen"
|
|
18996
|
-
}));
|
|
19007
|
+
})), b = (0, a.computed)(() => "multiply" === h.value?.blendMode ? { mixBlendMode: "multiply" } : void 0);
|
|
18997
19008
|
return t({ hasActivePointerInteraction: () => s.value }), (t, n) => ((0, a.openBlock)(), (0, a.createElementBlock)("svg", {
|
|
18998
19009
|
ref_key: "rootRef",
|
|
18999
19010
|
ref: i,
|
|
@@ -19012,7 +19023,8 @@ var cV = ["data-testid", "data-ai-change"], dV = "pptx-ai-change-css", uV = (0,
|
|
|
19012
19023
|
onPointerleave: m
|
|
19013
19024
|
}, [h.value ? ((0, a.openBlock)(), (0, a.createElementBlock)(a.Fragment, { key: 0 }, [h.value.nibMarks ? ((0, a.openBlock)(), (0, a.createElementBlock)("g", {
|
|
19014
19025
|
key: 0,
|
|
19015
|
-
opacity: h.value.opacity
|
|
19026
|
+
opacity: h.value.opacity,
|
|
19027
|
+
style: (0, a.normalizeStyle)(b.value)
|
|
19016
19028
|
}, [((0, a.openBlock)(!0), (0, a.createElementBlock)(a.Fragment, null, (0, a.renderList)(h.value.nibMarks, (e, t) => ((0, a.openBlock)(), (0, a.createElementBlock)("ellipse", {
|
|
19017
19029
|
key: `live-nib-${t}`,
|
|
19018
19030
|
cx: e.cx,
|
|
@@ -19021,16 +19033,17 @@ var cV = ["data-testid", "data-ai-change"], dV = "pptx-ai-change-css", uV = (0,
|
|
|
19021
19033
|
ry: e.rTilt,
|
|
19022
19034
|
transform: `rotate(${e.rotationDeg} ${e.cx} ${e.cy})`,
|
|
19023
19035
|
fill: h.value.color
|
|
19024
|
-
}, null, 8, HV))), 128))],
|
|
19036
|
+
}, null, 8, HV))), 128))], 12, KV)) : h.value.circles ? ((0, a.openBlock)(), (0, a.createElementBlock)("g", {
|
|
19025
19037
|
key: 1,
|
|
19026
|
-
opacity: h.value.opacity
|
|
19038
|
+
opacity: h.value.opacity,
|
|
19039
|
+
style: (0, a.normalizeStyle)(b.value)
|
|
19027
19040
|
}, [((0, a.openBlock)(!0), (0, a.createElementBlock)(a.Fragment, null, (0, a.renderList)(h.value.circles, (e, t) => ((0, a.openBlock)(), (0, a.createElementBlock)("circle", {
|
|
19028
19041
|
key: `live-pc-${t}`,
|
|
19029
19042
|
cx: e.cx,
|
|
19030
19043
|
cy: e.cy,
|
|
19031
19044
|
r: e.r,
|
|
19032
19045
|
fill: h.value.color
|
|
19033
|
-
}, null, 8, ZV))), 128))],
|
|
19046
|
+
}, null, 8, ZV))), 128))], 12, GV)) : ((0, a.openBlock)(), (0, a.createElementBlock)("path", {
|
|
19034
19047
|
key: 2,
|
|
19035
19048
|
d: h.value.d,
|
|
19036
19049
|
fill: "none",
|
|
@@ -19038,8 +19051,9 @@ var cV = ["data-testid", "data-ai-change"], dV = "pptx-ai-change-css", uV = (0,
|
|
|
19038
19051
|
"stroke-width": h.value.width,
|
|
19039
19052
|
"stroke-linecap": "round",
|
|
19040
19053
|
"stroke-linejoin": "round",
|
|
19041
|
-
opacity: h.value.opacity
|
|
19042
|
-
|
|
19054
|
+
opacity: h.value.opacity,
|
|
19055
|
+
style: (0, a.normalizeStyle)(b.value)
|
|
19056
|
+
}, null, 12, WV))], 64)) : f.value ? ((0, a.openBlock)(), (0, a.createElementBlock)("path", {
|
|
19043
19057
|
key: 1,
|
|
19044
19058
|
d: f.value,
|
|
19045
19059
|
fill: "none",
|
|
@@ -19468,7 +19482,7 @@ var cV = ["data-testid", "data-ai-change"], dV = "pptx-ai-change-css", uV = (0,
|
|
|
19468
19482
|
"onFormat",
|
|
19469
19483
|
"onListSession"
|
|
19470
19484
|
])) : (0, a.createCommentVNode)("", !0),
|
|
19471
|
-
e.collaboration.collabActive.value ? ((0, a.openBlock)(), (0, a.createBlock)(
|
|
19485
|
+
e.collaboration.collabActive.value ? ((0, a.openBlock)(), (0, a.createBlock)(zV, {
|
|
19472
19486
|
key: 11,
|
|
19473
19487
|
cursors: e.collaboration.collab.cursors.value
|
|
19474
19488
|
}, null, 8, ["cursors"])) : (0, a.createCommentVNode)("", !0),
|
|
@@ -19499,7 +19513,7 @@ var cV = ["data-testid", "data-ai-change"], dV = "pptx-ai-change-css", uV = (0,
|
|
|
19499
19513
|
}, TD = { class: "pptx-vue-broadcast-desc text-[13px] leading-relaxed text-muted-foreground" }, _D = { class: "pptx-vue-broadcast-field flex flex-col gap-1.5" }, ID = {
|
|
19500
19514
|
for: "pptx-vue-broadcast-room-id",
|
|
19501
19515
|
class: "pptx-vue-broadcast-label text-[12px] font-medium text-foreground"
|
|
19502
|
-
}, PD = ["placeholder"],
|
|
19516
|
+
}, PD = ["placeholder"], FD = { class: "pptx-vue-broadcast-field flex flex-col gap-1.5" }, zD = {
|
|
19503
19517
|
for: "pptx-vue-broadcast-server-url",
|
|
19504
19518
|
class: "pptx-vue-broadcast-label text-[12px] font-medium text-foreground"
|
|
19505
19519
|
}, AD = {
|
|
@@ -19597,8 +19611,8 @@ var cV = ["data-testid", "data-ai-change"], dV = "pptx-ai-change-css", uV = (0,
|
|
|
19597
19611
|
type: "text",
|
|
19598
19612
|
placeholder: (0, a.unref)(l)("pptx.broadcast.roomIdPlaceholder")
|
|
19599
19613
|
}, null, 8, PD), [[a.vModelText, i.value]])]),
|
|
19600
|
-
(0, a.createElementVNode)("div",
|
|
19601
|
-
(0, a.createElementVNode)("label",
|
|
19614
|
+
(0, a.createElementVNode)("div", FD, [
|
|
19615
|
+
(0, a.createElementVNode)("label", zD, (0, a.toDisplayString)((0, a.unref)(l)("pptx.broadcast.serverUrl")), 1),
|
|
19602
19616
|
(0, a.withDirectives)((0, a.createElementVNode)("input", {
|
|
19603
19617
|
id: "pptx-vue-broadcast-server-url",
|
|
19604
19618
|
"onUpdate:modelValue": t[2] || (t[2] = (e) => s.value = e),
|
|
@@ -19835,7 +19849,7 @@ var cV = ["data-testid", "data-ai-change"], dV = "pptx-ai-change-css", uV = (0,
|
|
|
19835
19849
|
], TT = { class: "pptx-vue-smartart-thumb flex h-12 w-16 items-center justify-center rounded bg-muted" }, _T = { class: "pptx-vue-smartart-tile-label text-center text-[10px] leading-tight text-foreground" }, IT = {
|
|
19836
19850
|
key: 0,
|
|
19837
19851
|
class: "pptx-vue-smartart-nodes flex flex-shrink-0 flex-col gap-1"
|
|
19838
|
-
}, PT = { class: "pptx-vue-smartart-nodes-label text-xs font-medium text-muted-foreground" },
|
|
19852
|
+
}, PT = { class: "pptx-vue-smartart-nodes-label text-xs font-medium text-muted-foreground" }, FT = ["placeholder"], zT = ["disabled"], OT = (0, a.defineComponent)({
|
|
19839
19853
|
__name: "InsertSmartArtDialog",
|
|
19840
19854
|
props: { open: { type: Boolean } },
|
|
19841
19855
|
emits: ["insert", "close"],
|
|
@@ -19880,7 +19894,7 @@ var cV = ["data-testid", "data-ai-change"], dV = "pptx-ai-change-css", uV = (0,
|
|
|
19880
19894
|
class: "pptx-vue-smartart-btn pptx-vue-smartart-btn--primary rounded border border-transparent bg-primary px-3 py-1.5 text-xs text-primary-foreground transition-colors hover:bg-primary/80 disabled:cursor-not-allowed disabled:opacity-45",
|
|
19881
19895
|
disabled: !u.value,
|
|
19882
19896
|
onClick: g
|
|
19883
|
-
}, (0, a.toDisplayString)((0, a.unref)(l)("pptx.smartArt.insert")), 9,
|
|
19897
|
+
}, (0, a.toDisplayString)((0, a.unref)(l)("pptx.smartArt.insert")), 9, zT)]),
|
|
19884
19898
|
default: (0, a.withCtx)(() => [(0, a.createElementVNode)("div", wT, [(0, a.createElementVNode)("nav", {
|
|
19885
19899
|
class: "pptx-vue-smartart-sidebar flex w-[130px] flex-shrink-0 flex-col gap-0.5 border-r border-border pr-2",
|
|
19886
19900
|
"aria-label": (0, a.unref)(l)("pptx.smartArt.categoriesLabel")
|
|
@@ -19911,7 +19925,7 @@ var cV = ["data-testid", "data-ai-change"], dV = "pptx-ai-change-css", uV = (0,
|
|
|
19911
19925
|
rows: "5",
|
|
19912
19926
|
spellcheck: "false",
|
|
19913
19927
|
placeholder: (0, a.unref)(l)("pptx.smartArt.nodesPlaceholder")
|
|
19914
|
-
}, null, 8,
|
|
19928
|
+
}, null, 8, FT), [[a.vModelText, c.value]])])) : (0, a.createCommentVNode)("", !0)])])]),
|
|
19915
19929
|
_: 1
|
|
19916
19930
|
}, 8, ["open", "title"]));
|
|
19917
19931
|
}
|
|
@@ -20176,7 +20190,7 @@ var cV = ["data-testid", "data-ai-change"], dV = "pptx-ai-change-css", uV = (0,
|
|
|
20176
20190
|
}, (0, a.toDisplayString)(e.name), 9, __))), 128))], 40, T_)])) : (0, a.createCommentVNode)("", !0)], 64)) : (0, a.createCommentVNode)("", !0)
|
|
20177
20191
|
]));
|
|
20178
20192
|
}
|
|
20179
|
-
}),
|
|
20193
|
+
}), F_ = { class: "flex flex-col gap-5 text-[12px] text-foreground" }, z_ = { class: "space-y-1.5" }, A_ = { class: "mb-1 text-[11px] font-medium uppercase tracking-wide text-muted-foreground" }, O_ = [
|
|
20180
20194
|
"value",
|
|
20181
20195
|
"checked",
|
|
20182
20196
|
"onChange"
|
|
@@ -20223,8 +20237,8 @@ var cV = ["data-testid", "data-ai-change"], dV = "pptx-ai-change-css", uV = (0,
|
|
|
20223
20237
|
class: "rounded bg-primary px-3 py-1.5 text-[12px] text-white transition-colors hover:bg-primary/80",
|
|
20224
20238
|
onClick: p
|
|
20225
20239
|
}, (0, a.toDisplayString)((0, a.unref)(l)("pptx.slideShow.ok")), 1)]),
|
|
20226
|
-
default: (0, a.withCtx)(() => [(0, a.createElementVNode)("div",
|
|
20227
|
-
(0, a.createElementVNode)("fieldset",
|
|
20240
|
+
default: (0, a.withCtx)(() => [(0, a.createElementVNode)("div", F_, [
|
|
20241
|
+
(0, a.createElementVNode)("fieldset", z_, [(0, a.createElementVNode)("legend", A_, (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", {
|
|
20228
20242
|
key: e,
|
|
20229
20243
|
class: "flex cursor-pointer items-center gap-2"
|
|
20230
20244
|
}, [(0, a.createElementVNode)("input", {
|
|
@@ -20689,7 +20703,7 @@ var cV = ["data-testid", "data-ai-change"], dV = "pptx-ai-change-css", uV = (0,
|
|
|
20689
20703
|
_: 1
|
|
20690
20704
|
}, 8, ["open", "title"]));
|
|
20691
20705
|
}
|
|
20692
|
-
}), BI = ["aria-label"], VI = { class: "flex items-center justify-between" }, DI = { class: "text-sm font-semibold text-foreground" }, TI = ["title", "aria-label"], _I = { class: "flex flex-col gap-1" }, II = { class: "text-[11px] uppercase tracking-wide text-muted-foreground" }, PI = ["disabled"],
|
|
20706
|
+
}), BI = ["aria-label"], VI = { class: "flex items-center justify-between" }, DI = { class: "text-sm font-semibold text-foreground" }, TI = ["title", "aria-label"], _I = { class: "flex flex-col gap-1" }, II = { class: "text-[11px] uppercase tracking-wide text-muted-foreground" }, PI = ["disabled"], FI = { class: "flex flex-col gap-1" }, zI = { class: "text-[11px] uppercase tracking-wide text-muted-foreground" }, AI = { class: "grid grid-cols-2 gap-1.5" }, OI = ["title"], MI = [
|
|
20693
20707
|
"value",
|
|
20694
20708
|
"disabled",
|
|
20695
20709
|
"onInput"
|
|
@@ -20809,7 +20823,7 @@ var cV = ["data-testid", "data-ai-change"], dV = "pptx-ai-change-css", uV = (0,
|
|
|
20809
20823
|
disabled: !o.canEdit,
|
|
20810
20824
|
class: "rounded border border-border bg-background/60 px-2 py-1 text-xs"
|
|
20811
20825
|
}, null, 8, PI), [[a.vModelText, f.value]])]),
|
|
20812
|
-
(0, a.createElementVNode)("div",
|
|
20826
|
+
(0, a.createElementVNode)("div", FI, [(0, a.createElementVNode)("span", zI, (0, a.toDisplayString)((0, a.unref)(i)("pptx.themeEditor.colorScheme")), 1), (0, a.createElementVNode)("div", AI, [((0, a.openBlock)(), (0, a.createElementBlock)(a.Fragment, null, (0, a.renderList)(s, (e) => (0, a.createElementVNode)("label", {
|
|
20813
20827
|
key: e.key,
|
|
20814
20828
|
class: "flex items-center gap-1.5",
|
|
20815
20829
|
title: (0, a.unref)(i)(e.labelKey)
|
|
@@ -20891,10 +20905,10 @@ var cV = ["data-testid", "data-ai-change"], dV = "pptx-ai-change-css", uV = (0,
|
|
|
20891
20905
|
}, TP = ["placeholder"], _P = { class: "pptx-vue-share-field flex flex-col gap-1.5" }, IP = {
|
|
20892
20906
|
for: "pptx-vue-share-server",
|
|
20893
20907
|
class: "pptx-vue-share-label text-[12px] font-medium text-foreground"
|
|
20894
|
-
}, PP = ["placeholder"],
|
|
20908
|
+
}, PP = ["placeholder"], FP = {
|
|
20895
20909
|
key: 0,
|
|
20896
20910
|
class: "pptx-vue-share-p2p-hint text-[11px] text-muted-foreground"
|
|
20897
|
-
},
|
|
20911
|
+
}, zP = ["disabled"], OP = (0, a.defineComponent)({
|
|
20898
20912
|
__name: "ShareDialog",
|
|
20899
20913
|
props: {
|
|
20900
20914
|
open: { type: Boolean },
|
|
@@ -20972,7 +20986,7 @@ var cV = ["data-testid", "data-ai-change"], dV = "pptx-ai-change-css", uV = (0,
|
|
|
20972
20986
|
style: (0, a.normalizeStyle)(V.value),
|
|
20973
20987
|
disabled: !f.value,
|
|
20974
20988
|
onClick: w
|
|
20975
|
-
}, (0, a.toDisplayString)((0, a.unref)(i)("join" === p.value ? "pptx.share.joinSession" : "pptx.share.startSharing")), 13,
|
|
20989
|
+
}, (0, a.toDisplayString)((0, a.unref)(i)("join" === p.value ? "pptx.share.joinSession" : "pptx.share.startSharing")), 13, zP))]),
|
|
20976
20990
|
default: (0, a.withCtx)(() => [e.active ? ((0, a.openBlock)(), (0, a.createElementBlock)("div", JI, [
|
|
20977
20991
|
(0, a.createElementVNode)("div", YI, [
|
|
20978
20992
|
(0, a.createElementVNode)("span", { class: (0, a.normalizeClass)(["inline-block h-2 w-2 rounded-full", {
|
|
@@ -21063,7 +21077,7 @@ var cV = ["data-testid", "data-ai-change"], dV = "pptx-ai-change-css", uV = (0,
|
|
|
21063
21077
|
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",
|
|
21064
21078
|
placeholder: (0, a.unref)(i)("pptx.share.serverPlaceholder")
|
|
21065
21079
|
}, null, 12, PP), [[a.vModelText, d.value]]),
|
|
21066
|
-
g.value ? ((0, a.openBlock)(), (0, a.createElementBlock)("p",
|
|
21080
|
+
g.value ? ((0, a.openBlock)(), (0, a.createElementBlock)("p", FP, (0, a.toDisplayString)((0, a.unref)(i)("pptx.share.p2pHint")), 1)) : (0, a.createCommentVNode)("", !0)
|
|
21067
21081
|
])
|
|
21068
21082
|
]))]),
|
|
21069
21083
|
_: 1
|
|
@@ -21111,7 +21125,7 @@ var cV = ["data-testid", "data-ai-change"], dV = "pptx-ai-change-css", uV = (0,
|
|
|
21111
21125
|
n.selected ? ((0, a.openBlock)(), (0, a.createElementBlock)("div", KP, [(0, a.createVNode)((0, a.unref)(r.Check), { class: "w-3 h-3" })])) : (0, a.createCommentVNode)("", !0)
|
|
21112
21126
|
], 10, MP));
|
|
21113
21127
|
}
|
|
21114
|
-
}), ZP = ["aria-label"], WP = { class: "fixed inset-0 z-[101] flex items-center justify-center p-4" }, qP = ["aria-label"], XP = { class: "flex items-center justify-between px-6 py-4 border-b border-border" }, JP = { class: "text-lg font-semibold text-foreground" }, YP = { class: "text-xs text-muted-foreground mt-0.5" }, QP = ["aria-label"],
|
|
21128
|
+
}), ZP = ["aria-label"], WP = { class: "fixed inset-0 z-[101] flex items-center justify-center p-4" }, qP = ["aria-label"], XP = { class: "flex items-center justify-between px-6 py-4 border-b border-border" }, JP = { class: "text-lg font-semibold text-foreground" }, YP = { class: "text-xs text-muted-foreground mt-0.5" }, QP = ["aria-label"], eF = { class: "flex-1 overflow-auto p-6" }, tF = { class: "grid grid-cols-2 sm:grid-cols-3 md:grid-cols-4 lg:grid-cols-5 gap-4" }, nF = { class: "flex items-center justify-end px-6 py-4 border-t border-border gap-2" }, oF = ["disabled"], aF = (0, a.defineComponent)({
|
|
21115
21129
|
__name: "ThemeGallery",
|
|
21116
21130
|
props: {
|
|
21117
21131
|
open: { type: Boolean },
|
|
@@ -21146,7 +21160,7 @@ var cV = ["data-testid", "data-ai-change"], dV = "pptx-ai-change-css", uV = (0,
|
|
|
21146
21160
|
"aria-label": (0, a.unref)(o)("pptx.common.close"),
|
|
21147
21161
|
onClick: t[1] || (t[1] = (e) => i("close"))
|
|
21148
21162
|
}, [(0, a.createVNode)((0, a.unref)(r.X), { class: "w-5 h-5" })], 8, QP)]),
|
|
21149
|
-
(0, a.createElementVNode)("div",
|
|
21163
|
+
(0, a.createElementVNode)("div", eF, [(0, a.createElementVNode)("div", tF, [((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)(GP, {
|
|
21150
21164
|
key: e.id,
|
|
21151
21165
|
theme: e,
|
|
21152
21166
|
selected: s.value === e.id,
|
|
@@ -21156,7 +21170,7 @@ var cV = ["data-testid", "data-ai-change"], dV = "pptx-ai-change-css", uV = (0,
|
|
|
21156
21170
|
"selected",
|
|
21157
21171
|
"onSelect"
|
|
21158
21172
|
]))), 128))])]),
|
|
21159
|
-
(0, a.createElementVNode)("div",
|
|
21173
|
+
(0, a.createElementVNode)("div", nF, [(0, a.createElementVNode)("button", {
|
|
21160
21174
|
type: "button",
|
|
21161
21175
|
class: "px-3 py-1.5 rounded bg-accent hover:bg-accent/80 text-xs font-medium text-foreground transition-colors",
|
|
21162
21176
|
onClick: t[2] || (t[2] = (e) => i("close"))
|
|
@@ -21165,10 +21179,10 @@ var cV = ["data-testid", "data-ai-change"], dV = "pptx-ai-change-css", uV = (0,
|
|
|
21165
21179
|
disabled: !l.canEdit || !s.value,
|
|
21166
21180
|
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",
|
|
21167
21181
|
onClick: c
|
|
21168
|
-
}, (0, a.toDisplayString)((0, a.unref)(o)("pptx.common.apply")), 9,
|
|
21182
|
+
}, (0, a.toDisplayString)((0, a.unref)(o)("pptx.common.apply")), 9, oF)])
|
|
21169
21183
|
], 8, qP)])], 64)) : (0, a.createCommentVNode)("", !0)]));
|
|
21170
21184
|
}
|
|
21171
|
-
}),
|
|
21185
|
+
}), rF = (0, a.defineComponent)({
|
|
21172
21186
|
__name: "ViewerEditDialogs",
|
|
21173
21187
|
props: {
|
|
21174
21188
|
canEdit: { type: Boolean },
|
|
@@ -21190,7 +21204,7 @@ var cV = ["data-testid", "data-ai-change"], dV = "pptx-ai-change-css", uV = (0,
|
|
|
21190
21204
|
setup(e) {
|
|
21191
21205
|
const { t } = n.useI18n();
|
|
21192
21206
|
return (n, o) => ((0, a.openBlock)(), (0, a.createElementBlock)(a.Fragment, null, [
|
|
21193
|
-
(0, a.createVNode)(
|
|
21207
|
+
(0, a.createVNode)(aF, {
|
|
21194
21208
|
open: e.themeGalleryOpen,
|
|
21195
21209
|
"active-name": e.theme?.name,
|
|
21196
21210
|
"can-edit": e.canEdit,
|
|
@@ -21264,25 +21278,25 @@ var cV = ["data-testid", "data-ai-change"], dV = "pptx-ai-change-css", uV = (0,
|
|
|
21264
21278
|
])
|
|
21265
21279
|
], 64));
|
|
21266
21280
|
}
|
|
21267
|
-
}),
|
|
21281
|
+
}), lF = { class: "pptx-vue-diff-slide-no" }, iF = {
|
|
21268
21282
|
key: 0,
|
|
21269
21283
|
class: "pptx-vue-diff-count text-[10px] text-muted-foreground"
|
|
21270
|
-
},
|
|
21284
|
+
}, sF = {
|
|
21271
21285
|
key: 0,
|
|
21272
21286
|
class: "pptx-vue-diff-body flex flex-col gap-2 px-3 pb-3"
|
|
21273
|
-
},
|
|
21287
|
+
}, cF = { class: "pptx-vue-diff-thumbs flex gap-2" }, dF = {
|
|
21274
21288
|
key: 0,
|
|
21275
21289
|
class: "pptx-vue-diff-thumb-col flex-1"
|
|
21276
|
-
},
|
|
21290
|
+
}, pF = { class: "pptx-vue-diff-thumb-label mb-1 text-[10px] text-muted-foreground" }, uF = {
|
|
21277
21291
|
key: 1,
|
|
21278
21292
|
class: "pptx-vue-diff-thumb-col flex-1"
|
|
21279
|
-
},
|
|
21293
|
+
}, mF = { class: "pptx-vue-diff-thumb-label mb-1 text-[10px] text-muted-foreground" }, fF = {
|
|
21280
21294
|
key: 0,
|
|
21281
21295
|
class: "pptx-vue-diff-changes m-0 flex list-none flex-col gap-1 p-0"
|
|
21282
|
-
},
|
|
21296
|
+
}, gF = { class: "pptx-vue-diff-change-desc text-foreground" }, vF = {
|
|
21283
21297
|
key: 1,
|
|
21284
21298
|
class: "pptx-vue-diff-actions flex items-center gap-2 pt-1"
|
|
21285
|
-
},
|
|
21299
|
+
}, hF = (0, a.defineComponent)({
|
|
21286
21300
|
__name: "SlideDiffRow",
|
|
21287
21301
|
props: {
|
|
21288
21302
|
diff: {},
|
|
@@ -21352,16 +21366,16 @@ var cV = ["data-testid", "data-ai-change"], dV = "pptx-ai-change-css", uV = (0,
|
|
|
21352
21366
|
class: "pptx-vue-diff-caret h-3.5 w-3.5 flex-shrink-0 text-muted-foreground",
|
|
21353
21367
|
"aria-hidden": "true"
|
|
21354
21368
|
})),
|
|
21355
|
-
(0, a.createElementVNode)("span",
|
|
21369
|
+
(0, a.createElementVNode)("span", lF, (0, a.toDisplayString)((0, a.unref)(i)("pptx.compare.slideNumber", { number: d.value })), 1),
|
|
21356
21370
|
(0, a.createElementVNode)("span", { class: (0, a.normalizeClass)(["pptx-vue-diff-status rounded-full px-2 py-0.5 text-[10px] font-medium", [u.value, m.value]]) }, (0, a.toDisplayString)(p.value), 3),
|
|
21357
|
-
e.diff.changes.length > 0 ? ((0, a.openBlock)(), (0, a.createElementBlock)("span",
|
|
21371
|
+
e.diff.changes.length > 0 ? ((0, a.openBlock)(), (0, a.createElementBlock)("span", iF, (0, a.toDisplayString)(e.diff.changes.length) + " " + (0, a.toDisplayString)(1 === e.diff.changes.length ? "change" : "changes"), 1)) : (0, a.createCommentVNode)("", !0),
|
|
21358
21372
|
o[2] || (o[2] = (0, a.createElementVNode)("span", { class: "pptx-vue-diff-spacer flex-1" }, null, -1)),
|
|
21359
21373
|
c.value ? ((0, a.openBlock)(), (0, a.createElementBlock)("span", {
|
|
21360
21374
|
key: 1,
|
|
21361
21375
|
class: (0, a.normalizeClass)(["pptx-vue-diff-resolution text-[10px] font-medium", e.accepted ? ["pptx-vue-diff-resolution--accepted", "text-green-400"] : ["pptx-vue-diff-resolution--rejected", "text-muted-foreground"]])
|
|
21362
21376
|
}, (0, a.toDisplayString)(e.accepted ? (0, a.unref)(i)("pptx.compare.accepted") : (0, a.unref)(i)("pptx.compare.rejected")), 3)) : (0, a.createCommentVNode)("", !0)
|
|
21363
|
-
]), s.value ? ((0, a.openBlock)(), (0, a.createElementBlock)("div",
|
|
21364
|
-
(0, a.createElementVNode)("div",
|
|
21377
|
+
]), s.value ? ((0, a.openBlock)(), (0, a.createElementBlock)("div", sF, [
|
|
21378
|
+
(0, a.createElementVNode)("div", cF, [e.diff.baseSlide ? ((0, a.openBlock)(), (0, a.createElementBlock)("div", dF, [(0, a.createElementVNode)("div", pF, (0, a.toDisplayString)((0, a.unref)(i)("pptx.compare.current")), 1), (0, a.createElementVNode)("div", {
|
|
21365
21379
|
class: "pptx-vue-diff-thumb overflow-hidden rounded border border-border",
|
|
21366
21380
|
style: (0, a.normalizeStyle)(x.value)
|
|
21367
21381
|
}, [(0, a.createVNode)(n.SlideStage_default, {
|
|
@@ -21374,7 +21388,7 @@ var cV = ["data-testid", "data-ai-change"], dV = "pptx-ai-change-css", uV = (0,
|
|
|
21374
21388
|
"canvas-size",
|
|
21375
21389
|
"media-data-urls",
|
|
21376
21390
|
"scale"
|
|
21377
|
-
])], 4)])) : (0, a.createCommentVNode)("", !0), e.diff.compareSlide ? ((0, a.openBlock)(), (0, a.createElementBlock)("div",
|
|
21391
|
+
])], 4)])) : (0, a.createCommentVNode)("", !0), e.diff.compareSlide ? ((0, a.openBlock)(), (0, a.createElementBlock)("div", uF, [(0, a.createElementVNode)("div", mF, (0, a.toDisplayString)((0, a.unref)(i)("pptx.compare.incoming")), 1), (0, a.createElementVNode)("div", {
|
|
21378
21392
|
class: (0, a.normalizeClass)(["pptx-vue-diff-thumb overflow-hidden rounded border", [u.value, f.value]]),
|
|
21379
21393
|
style: (0, a.normalizeStyle)(x.value)
|
|
21380
21394
|
}, [(0, a.createVNode)(n.SlideStage_default, {
|
|
@@ -21388,14 +21402,14 @@ var cV = ["data-testid", "data-ai-change"], dV = "pptx-ai-change-css", uV = (0,
|
|
|
21388
21402
|
"media-data-urls",
|
|
21389
21403
|
"scale"
|
|
21390
21404
|
])], 6)])) : (0, a.createCommentVNode)("", !0)]),
|
|
21391
|
-
e.diff.changes.length > 0 ? ((0, a.openBlock)(), (0, a.createElementBlock)("ul",
|
|
21405
|
+
e.diff.changes.length > 0 ? ((0, a.openBlock)(), (0, a.createElementBlock)("ul", fF, [((0, a.openBlock)(!0), (0, a.createElementBlock)(a.Fragment, null, (0, a.renderList)(e.diff.changes, (e, t) => ((0, a.openBlock)(), (0, a.createElementBlock)("li", {
|
|
21392
21406
|
key: `${e.elementId}-${e.kind}-${t}`,
|
|
21393
21407
|
class: "pptx-vue-diff-change flex items-start gap-2 rounded bg-muted/60 px-2 py-1.5 text-[11px]"
|
|
21394
21408
|
}, [((0, a.openBlock)(), (0, a.createBlock)((0, a.resolveDynamicComponent)(h(e.kind)), {
|
|
21395
21409
|
class: (0, a.normalizeClass)(["pptx-vue-diff-change-kind h-3 w-3 flex-shrink-0", [`pptx-vue-diff-change-kind--${e.kind}`, g(e.kind)]]),
|
|
21396
21410
|
"aria-hidden": "true"
|
|
21397
|
-
}, null, 8, ["class"])), (0, a.createElementVNode)("span",
|
|
21398
|
-
c.value ? (0, a.createCommentVNode)("", !0) : ((0, a.openBlock)(), (0, a.createElementBlock)("div",
|
|
21411
|
+
}, null, 8, ["class"])), (0, a.createElementVNode)("span", gF, (0, a.toDisplayString)(e.description), 1)]))), 128))])) : (0, a.createCommentVNode)("", !0),
|
|
21412
|
+
c.value ? (0, a.createCommentVNode)("", !0) : ((0, a.openBlock)(), (0, a.createElementBlock)("div", vF, [(0, a.createElementVNode)("button", {
|
|
21399
21413
|
type: "button",
|
|
21400
21414
|
class: "pptx-vue-diff-btn pptx-vue-diff-btn--accept inline-flex cursor-pointer items-center gap-1 rounded bg-green-700/80 px-2.5 py-1 text-[11px] text-green-50 transition-colors hover:bg-green-600",
|
|
21401
21415
|
onClick: o[0] || (o[0] = (t) => l("accept", e.diffIndex))
|
|
@@ -21412,16 +21426,16 @@ var cV = ["data-testid", "data-ai-change"], dV = "pptx-ai-change-css", uV = (0,
|
|
|
21412
21426
|
}), (0, a.createTextVNode)(" " + (0, a.toDisplayString)((0, a.unref)(i)("pptx.compare.reject")), 1)])]))
|
|
21413
21427
|
])) : (0, a.createCommentVNode)("", !0)], 2)) : (0, a.createCommentVNode)("", !0);
|
|
21414
21428
|
}
|
|
21415
|
-
}),
|
|
21429
|
+
}), bF = {
|
|
21416
21430
|
key: 0,
|
|
21417
21431
|
class: "pptx-vue-compare-panel fixed inset-y-0 right-0 z-50 flex w-[440px] max-w-[100vw] flex-col border-l border-border bg-popover text-foreground shadow-2xl backdrop-blur-lg"
|
|
21418
|
-
},
|
|
21432
|
+
}, yF = { class: "pptx-vue-compare-header flex items-start justify-between gap-3 border-b border-border px-4 py-3" }, kF = { class: "pptx-vue-compare-title m-0 text-sm font-medium text-foreground" }, SF = { class: "pptx-vue-compare-summary mt-0.5 text-[11px] text-muted-foreground" }, EF = ["aria-label"], wF = {
|
|
21419
21433
|
key: 0,
|
|
21420
21434
|
class: "pptx-vue-compare-actions border-b border-border/60 px-4 py-2"
|
|
21421
|
-
},
|
|
21435
|
+
}, CF = { class: "pptx-vue-compare-list flex flex-1 flex-col gap-2 overflow-y-auto p-3" }, NF = {
|
|
21422
21436
|
key: 0,
|
|
21423
21437
|
class: "pptx-vue-compare-empty m-0 py-8 text-center text-xs text-muted-foreground"
|
|
21424
|
-
},
|
|
21438
|
+
}, BF = (0, a.defineComponent)({
|
|
21425
21439
|
__name: "ComparePanel",
|
|
21426
21440
|
props: {
|
|
21427
21441
|
open: { type: Boolean },
|
|
@@ -21460,8 +21474,8 @@ var cV = ["data-testid", "data-ai-change"], dV = "pptx-ai-change-css", uV = (0,
|
|
|
21460
21474
|
"unchanged" !== t.status && (e[n] = !0);
|
|
21461
21475
|
}), s.value = e, c.value = {}, l("accept-all");
|
|
21462
21476
|
}
|
|
21463
|
-
return (t, n) => e.open && e.compareResult ? ((0, a.openBlock)(), (0, a.createElementBlock)("aside",
|
|
21464
|
-
(0, a.createElementVNode)("header",
|
|
21477
|
+
return (t, n) => e.open && e.compareResult ? ((0, a.openBlock)(), (0, a.createElementBlock)("aside", bF, [
|
|
21478
|
+
(0, a.createElementVNode)("header", yF, [(0, a.createElementVNode)("div", null, [(0, a.createElementVNode)("h3", kF, (0, a.toDisplayString)((0, a.unref)(i)("pptx.compare.title")), 1), (0, a.createElementVNode)("p", SF, (0, a.toDisplayString)((0, a.unref)(i)("pptx.compare.summary", {
|
|
21465
21479
|
added: e.compareResult.addedCount,
|
|
21466
21480
|
removed: e.compareResult.removedCount,
|
|
21467
21481
|
changed: e.compareResult.changedCount
|
|
@@ -21473,13 +21487,13 @@ var cV = ["data-testid", "data-ai-change"], dV = "pptx-ai-change-css", uV = (0,
|
|
|
21473
21487
|
}, [(0, a.createVNode)((0, a.unref)(r.X), {
|
|
21474
21488
|
class: "h-4 w-4",
|
|
21475
21489
|
"aria-hidden": "true"
|
|
21476
|
-
})], 8,
|
|
21477
|
-
d.value > 0 ? ((0, a.openBlock)(), (0, a.createElementBlock)("div",
|
|
21490
|
+
})], 8, EF)]),
|
|
21491
|
+
d.value > 0 ? ((0, a.openBlock)(), (0, a.createElementBlock)("div", wF, [(0, a.createElementVNode)("button", {
|
|
21478
21492
|
type: "button",
|
|
21479
21493
|
class: "pptx-vue-compare-accept-all inline-flex cursor-pointer items-center gap-1.5 rounded bg-green-700/80 px-3 py-1.5 text-xs text-green-50 transition-colors hover:bg-green-600",
|
|
21480
21494
|
onClick: m
|
|
21481
21495
|
}, (0, a.toDisplayString)((0, a.unref)(i)("pptx.compare.acceptAll")), 1)])) : (0, a.createCommentVNode)("", !0),
|
|
21482
|
-
(0, a.createElementVNode)("div",
|
|
21496
|
+
(0, a.createElementVNode)("div", CF, [0 === d.value ? ((0, a.openBlock)(), (0, a.createElementBlock)("p", NF, (0, a.toDisplayString)((0, a.unref)(i)("pptx.compare.noDifferences")), 1)) : ((0, a.openBlock)(!0), (0, a.createElementBlock)(a.Fragment, { key: 1 }, (0, a.renderList)(e.compareResult.diffs, (t, n) => ((0, a.openBlock)(), (0, a.createBlock)(hF, {
|
|
21483
21497
|
key: `diff-${n}-${t.status}`,
|
|
21484
21498
|
diff: t,
|
|
21485
21499
|
"diff-index": n,
|
|
@@ -21499,19 +21513,19 @@ var cV = ["data-testid", "data-ai-change"], dV = "pptx-ai-change-css", uV = (0,
|
|
|
21499
21513
|
]))), 128))])
|
|
21500
21514
|
])) : (0, a.createCommentVNode)("", !0);
|
|
21501
21515
|
}
|
|
21502
|
-
}),
|
|
21516
|
+
}), VF = { class: "pptx-vue-docprops-custom flex flex-col gap-3" }, DF = { class: "pptx-vue-docprops-custom-desc text-xs text-muted-foreground" }, TF = { class: "pptx-vue-docprops-custom-head grid grid-cols-[1fr_1fr_100px_32px] items-center gap-1 px-1 text-[11px] font-medium text-muted-foreground" }, _F = { class: "pptx-vue-docprops-custom-rows flex max-h-[240px] flex-col gap-1 overflow-y-auto" }, IF = [
|
|
21503
21517
|
"placeholder",
|
|
21504
21518
|
"value",
|
|
21505
21519
|
"onInput"
|
|
21506
|
-
],
|
|
21520
|
+
], PF = ["value", "onChange"], FF = { value: "true" }, zF = { value: "false" }, AF = [
|
|
21507
21521
|
"type",
|
|
21508
21522
|
"placeholder",
|
|
21509
21523
|
"value",
|
|
21510
21524
|
"onInput"
|
|
21511
|
-
],
|
|
21525
|
+
], OF = ["value", "onChange"], MF = ["value"], RF = ["aria-label", "onClick"], LF = {
|
|
21512
21526
|
key: 0,
|
|
21513
21527
|
class: "pptx-vue-docprops-custom-empty py-4 text-center text-xs text-muted-foreground/60"
|
|
21514
|
-
}, $
|
|
21528
|
+
}, $F = (0, a.defineComponent)({
|
|
21515
21529
|
__name: "DocumentPropertiesCustomTab",
|
|
21516
21530
|
props: { customProperties: {} },
|
|
21517
21531
|
emits: ["update"],
|
|
@@ -21550,15 +21564,15 @@ var cV = ["data-testid", "data-ai-change"], dV = "pptx-ai-change-css", uV = (0,
|
|
|
21550
21564
|
function p(e, t) {
|
|
21551
21565
|
d(e, { value: t.target.value });
|
|
21552
21566
|
}
|
|
21553
|
-
return (t, n) => ((0, a.openBlock)(), (0, a.createElementBlock)("div",
|
|
21554
|
-
(0, a.createElementVNode)("p",
|
|
21555
|
-
(0, a.createElementVNode)("div",
|
|
21567
|
+
return (t, n) => ((0, a.openBlock)(), (0, a.createElementBlock)("div", VF, [
|
|
21568
|
+
(0, a.createElementVNode)("p", DF, (0, a.toDisplayString)((0, a.unref)(s)("pptx.documentProperties.custom.description")), 1),
|
|
21569
|
+
(0, a.createElementVNode)("div", TF, [
|
|
21556
21570
|
(0, a.createElementVNode)("span", null, (0, a.toDisplayString)((0, a.unref)(s)("pptx.documentProperties.custom.name")), 1),
|
|
21557
21571
|
(0, a.createElementVNode)("span", null, (0, a.toDisplayString)((0, a.unref)(s)("pptx.documentProperties.custom.value")), 1),
|
|
21558
21572
|
(0, a.createElementVNode)("span", null, (0, a.toDisplayString)((0, a.unref)(s)("pptx.documentProperties.custom.type")), 1),
|
|
21559
21573
|
n[0] || (n[0] = (0, a.createElementVNode)("span", null, null, -1))
|
|
21560
21574
|
]),
|
|
21561
|
-
(0, a.createElementVNode)("div",
|
|
21575
|
+
(0, a.createElementVNode)("div", _F, [((0, a.openBlock)(!0), (0, a.createElementBlock)(a.Fragment, null, (0, a.renderList)(e.customProperties, (e, t) => {
|
|
21562
21576
|
return (0, a.openBlock)(), (0, a.createElementBlock)("div", {
|
|
21563
21577
|
key: `custom-prop-${t}`,
|
|
21564
21578
|
class: "pptx-vue-docprops-custom-row grid grid-cols-[1fr_1fr_100px_32px] items-center gap-1"
|
|
@@ -21571,20 +21585,20 @@ var cV = ["data-testid", "data-ai-change"], dV = "pptx-ai-change-css", uV = (0,
|
|
|
21571
21585
|
onInput: (e) => function(e, t) {
|
|
21572
21586
|
d(e, { name: t.target.value });
|
|
21573
21587
|
}(t, e)
|
|
21574
|
-
}, null, 40,
|
|
21588
|
+
}, null, 40, IF),
|
|
21575
21589
|
"bool" === e.type ? ((0, a.openBlock)(), (0, a.createElementBlock)("select", {
|
|
21576
21590
|
key: 0,
|
|
21577
21591
|
class: "pptx-vue-docprops-custom-input w-full rounded border border-border bg-muted px-2 py-1 text-xs text-foreground outline-none focus:border-primary focus:ring-1 focus:ring-primary",
|
|
21578
21592
|
value: e.value,
|
|
21579
21593
|
onChange: (e) => p(t, e)
|
|
21580
|
-
}, [(0, a.createElementVNode)("option",
|
|
21594
|
+
}, [(0, a.createElementVNode)("option", FF, (0, a.toDisplayString)((0, a.unref)(s)("pptx.documentProperties.custom.yes")), 1), (0, a.createElementVNode)("option", zF, (0, a.toDisplayString)((0, a.unref)(s)("pptx.documentProperties.custom.no")), 1)], 40, PF)) : ((0, a.openBlock)(), (0, a.createElementBlock)("input", {
|
|
21581
21595
|
key: 1,
|
|
21582
21596
|
type: (n = e.type, "i4" === n ? "number" : "text"),
|
|
21583
21597
|
class: "pptx-vue-docprops-custom-input w-full rounded border border-border bg-muted px-2 py-1 text-xs text-foreground placeholder-muted-foreground outline-none focus:border-primary focus:ring-1 focus:ring-primary",
|
|
21584
21598
|
placeholder: (0, a.unref)(s)("pptx.documentProperties.custom.valuePlaceholder"),
|
|
21585
21599
|
value: e.value,
|
|
21586
21600
|
onInput: (e) => p(t, e)
|
|
21587
|
-
}, null, 40,
|
|
21601
|
+
}, null, 40, AF)),
|
|
21588
21602
|
(0, a.createElementVNode)("select", {
|
|
21589
21603
|
class: "pptx-vue-docprops-custom-input w-full rounded border border-border bg-muted px-2 py-1 text-xs text-foreground outline-none focus:border-primary focus:ring-1 focus:ring-primary",
|
|
21590
21604
|
value: e.type,
|
|
@@ -21594,7 +21608,7 @@ var cV = ["data-testid", "data-ai-change"], dV = "pptx-ai-change-css", uV = (0,
|
|
|
21594
21608
|
}, [((0, a.openBlock)(), (0, a.createElementBlock)(a.Fragment, null, (0, a.renderList)(o, (e) => (0, a.createElementVNode)("option", {
|
|
21595
21609
|
key: e.value,
|
|
21596
21610
|
value: e.value
|
|
21597
|
-
}, (0, a.toDisplayString)((0, a.unref)(s)(e.labelKey)), 9,
|
|
21611
|
+
}, (0, a.toDisplayString)((0, a.unref)(s)(e.labelKey)), 9, MF)), 64))], 40, OF),
|
|
21598
21612
|
(0, a.createElementVNode)("button", {
|
|
21599
21613
|
type: "button",
|
|
21600
21614
|
class: "pptx-vue-docprops-custom-delete inline-flex h-6 w-6 items-center justify-center rounded p-0 text-muted-foreground transition-colors hover:bg-red-500/20 hover:text-red-400",
|
|
@@ -21605,11 +21619,11 @@ var cV = ["data-testid", "data-ai-change"], dV = "pptx-ai-change-css", uV = (0,
|
|
|
21605
21619
|
}, [(0, a.createVNode)((0, a.unref)(r.Trash2), {
|
|
21606
21620
|
class: "h-3.5 w-3.5",
|
|
21607
21621
|
"aria-hidden": "true"
|
|
21608
|
-
})], 8,
|
|
21622
|
+
})], 8, RF)
|
|
21609
21623
|
]);
|
|
21610
21624
|
var n;
|
|
21611
21625
|
}), 128))]),
|
|
21612
|
-
0 === e.customProperties.length ? ((0, a.openBlock)(), (0, a.createElementBlock)("p",
|
|
21626
|
+
0 === e.customProperties.length ? ((0, a.openBlock)(), (0, a.createElementBlock)("p", LF, (0, a.toDisplayString)((0, a.unref)(s)("pptx.documentProperties.custom.empty")), 1)) : (0, a.createCommentVNode)("", !0),
|
|
21613
21627
|
(0, a.createElementVNode)("button", {
|
|
21614
21628
|
type: "button",
|
|
21615
21629
|
class: "pptx-vue-docprops-custom-add inline-flex items-center gap-1.5 self-start rounded-md border border-border px-2.5 py-1.5 text-xs text-foreground transition-colors hover:bg-muted",
|
|
@@ -21620,21 +21634,21 @@ var cV = ["data-testid", "data-ai-change"], dV = "pptx-ai-change-css", uV = (0,
|
|
|
21620
21634
|
}), (0, a.createTextVNode)(" " + (0, a.toDisplayString)((0, a.unref)(s)("pptx.documentProperties.custom.addProperty")), 1)])
|
|
21621
21635
|
]));
|
|
21622
21636
|
}
|
|
21623
|
-
}),
|
|
21637
|
+
}), UF = { class: "pptx-vue-docprops-general flex flex-col gap-3" }, jF = ["for"], KF = [
|
|
21624
21638
|
"id",
|
|
21625
21639
|
"value",
|
|
21626
21640
|
"onInput"
|
|
21627
|
-
],
|
|
21641
|
+
], HF = [
|
|
21628
21642
|
"id",
|
|
21629
21643
|
"value",
|
|
21630
21644
|
"onInput"
|
|
21631
|
-
],
|
|
21645
|
+
], GF = { class: "pptx-vue-docprops-field flex flex-col gap-1.5" }, ZF = {
|
|
21632
21646
|
for: "pptx-vue-docprops-manager",
|
|
21633
21647
|
class: "pptx-vue-docprops-label text-xs font-medium text-foreground"
|
|
21634
|
-
},
|
|
21648
|
+
}, WF = ["value"], qF = { class: "pptx-vue-docprops-field flex flex-col gap-1.5" }, XF = {
|
|
21635
21649
|
for: "pptx-vue-docprops-company",
|
|
21636
21650
|
class: "pptx-vue-docprops-label text-xs font-medium text-foreground"
|
|
21637
|
-
},
|
|
21651
|
+
}, JF = ["value"], YF = (0, a.defineComponent)({
|
|
21638
21652
|
__name: "DocumentPropertiesGeneralTab",
|
|
21639
21653
|
props: {
|
|
21640
21654
|
core: {},
|
|
@@ -21687,45 +21701,45 @@ var cV = ["data-testid", "data-ai-change"], dV = "pptx-ai-change-css", uV = (0,
|
|
|
21687
21701
|
function p(e) {
|
|
21688
21702
|
i("update-company", e.target.value);
|
|
21689
21703
|
}
|
|
21690
|
-
return (t, n) => ((0, a.openBlock)(), (0, a.createElementBlock)("div",
|
|
21704
|
+
return (t, n) => ((0, a.openBlock)(), (0, a.createElementBlock)("div", UF, [
|
|
21691
21705
|
((0, a.openBlock)(), (0, a.createElementBlock)(a.Fragment, null, (0, a.renderList)(o, (e) => (0, a.createElementVNode)("div", {
|
|
21692
21706
|
key: e.key,
|
|
21693
21707
|
class: "pptx-vue-docprops-field flex flex-col gap-1.5"
|
|
21694
21708
|
}, [(0, a.createElementVNode)("label", {
|
|
21695
21709
|
for: `pptx-vue-docprops-${e.key}`,
|
|
21696
21710
|
class: "pptx-vue-docprops-label text-xs font-medium text-foreground"
|
|
21697
|
-
}, (0, a.toDisplayString)((0, a.unref)(l)(e.labelKey)), 9,
|
|
21711
|
+
}, (0, a.toDisplayString)((0, a.unref)(l)(e.labelKey)), 9, jF), e.multiline ? ((0, a.openBlock)(), (0, a.createElementBlock)("textarea", {
|
|
21698
21712
|
key: 0,
|
|
21699
21713
|
id: `pptx-vue-docprops-${e.key}`,
|
|
21700
21714
|
class: "pptx-vue-docprops-input pptx-vue-docprops-textarea w-full resize-y rounded-md border border-border bg-muted px-3 py-1.5 text-[0.8125rem] text-foreground placeholder-muted-foreground outline-none focus:border-primary focus:ring-1 focus:ring-primary",
|
|
21701
21715
|
rows: "3",
|
|
21702
21716
|
value: s(e.key),
|
|
21703
21717
|
onInput: (t) => c(e.key, t)
|
|
21704
|
-
}, null, 40,
|
|
21718
|
+
}, null, 40, KF)) : ((0, a.openBlock)(), (0, a.createElementBlock)("input", {
|
|
21705
21719
|
key: 1,
|
|
21706
21720
|
id: `pptx-vue-docprops-${e.key}`,
|
|
21707
21721
|
type: "text",
|
|
21708
21722
|
class: "pptx-vue-docprops-input w-full rounded-md border border-border bg-muted px-3 py-1.5 text-[0.8125rem] text-foreground placeholder-muted-foreground outline-none focus:border-primary focus:ring-1 focus:ring-primary",
|
|
21709
21723
|
value: s(e.key),
|
|
21710
21724
|
onInput: (t) => c(e.key, t)
|
|
21711
|
-
}, null, 40,
|
|
21712
|
-
(0, a.createElementVNode)("div",
|
|
21725
|
+
}, null, 40, HF))])), 64)),
|
|
21726
|
+
(0, a.createElementVNode)("div", GF, [(0, a.createElementVNode)("label", ZF, (0, a.toDisplayString)((0, a.unref)(l)("pptx.documentProperties.summary.manager")), 1), (0, a.createElementVNode)("input", {
|
|
21713
21727
|
id: "pptx-vue-docprops-manager",
|
|
21714
21728
|
type: "text",
|
|
21715
21729
|
class: "pptx-vue-docprops-input w-full rounded-md border border-border bg-muted px-3 py-1.5 text-[0.8125rem] text-foreground placeholder-muted-foreground outline-none focus:border-primary focus:ring-1 focus:ring-primary",
|
|
21716
21730
|
value: e.manager,
|
|
21717
21731
|
onInput: d
|
|
21718
|
-
}, null, 40,
|
|
21719
|
-
(0, a.createElementVNode)("div",
|
|
21732
|
+
}, null, 40, WF)]),
|
|
21733
|
+
(0, a.createElementVNode)("div", qF, [(0, a.createElementVNode)("label", XF, (0, a.toDisplayString)((0, a.unref)(l)("pptx.documentProperties.summary.company")), 1), (0, a.createElementVNode)("input", {
|
|
21720
21734
|
id: "pptx-vue-docprops-company",
|
|
21721
21735
|
type: "text",
|
|
21722
21736
|
class: "pptx-vue-docprops-input w-full rounded-md border border-border bg-muted px-3 py-1.5 text-[0.8125rem] text-foreground placeholder-muted-foreground outline-none focus:border-primary focus:ring-1 focus:ring-primary",
|
|
21723
21737
|
value: e.company,
|
|
21724
21738
|
onInput: p
|
|
21725
|
-
}, null, 40,
|
|
21739
|
+
}, null, 40, JF)])
|
|
21726
21740
|
]));
|
|
21727
21741
|
}
|
|
21728
|
-
}),
|
|
21742
|
+
}), QF = { class: "pptx-vue-docprops-stats flex flex-col gap-2" }, ez = { class: "pptx-vue-docprops-stat-label text-muted-foreground" }, tz = { class: "pptx-vue-docprops-stat-value tabular-nums text-foreground" }, nz = (0, a.defineComponent)({
|
|
21729
21743
|
__name: "DocumentPropertiesStatisticsTab",
|
|
21730
21744
|
props: { statistics: {} },
|
|
21731
21745
|
setup(e) {
|
|
@@ -21774,15 +21788,15 @@ var cV = ["data-testid", "data-ai-change"], dV = "pptx-ai-change-css", uV = (0,
|
|
|
21774
21788
|
}
|
|
21775
21789
|
];
|
|
21776
21790
|
});
|
|
21777
|
-
return (e, t) => ((0, a.openBlock)(), (0, a.createElementBlock)("div",
|
|
21791
|
+
return (e, t) => ((0, a.openBlock)(), (0, a.createElementBlock)("div", QF, [((0, a.openBlock)(!0), (0, a.createElementBlock)(a.Fragment, null, (0, a.renderList)(r.value, (e) => ((0, a.openBlock)(), (0, a.createElementBlock)("div", {
|
|
21778
21792
|
key: e.labelKey,
|
|
21779
21793
|
class: "pptx-vue-docprops-stat-row flex items-center justify-between gap-3 text-[0.8125rem]"
|
|
21780
|
-
}, [(0, a.createElementVNode)("span",
|
|
21794
|
+
}, [(0, a.createElementVNode)("span", ez, (0, a.toDisplayString)((0, a.unref)(o)(e.labelKey)), 1), (0, a.createElementVNode)("span", tz, (0, a.toDisplayString)(e.value), 1)]))), 128))]));
|
|
21781
21795
|
}
|
|
21782
|
-
}),
|
|
21796
|
+
}), oz = { class: "pptx-vue-docprops flex min-w-[360px] flex-col gap-3 max-md:min-w-0" }, az = {
|
|
21783
21797
|
class: "pptx-vue-docprops-tabs flex border-b border-border/60",
|
|
21784
21798
|
role: "tablist"
|
|
21785
|
-
},
|
|
21799
|
+
}, rz = ["aria-selected", "onClick"], lz = { class: "pptx-vue-docprops-body min-h-[280px]" }, iz = ["disabled"], sz = (0, a.defineComponent)({
|
|
21786
21800
|
__name: "DocumentPropertiesDialog",
|
|
21787
21801
|
props: {
|
|
21788
21802
|
open: { type: Boolean },
|
|
@@ -21859,15 +21873,15 @@ var cV = ["data-testid", "data-ai-change"], dV = "pptx-ai-change-css", uV = (0,
|
|
|
21859
21873
|
class: "pptx-vue-docprops-btn pptx-vue-docprops-btn-primary rounded-md border border-transparent bg-primary px-3 py-1.5 text-xs text-primary-foreground transition-colors hover:bg-primary/80 disabled:cursor-not-allowed disabled:opacity-40",
|
|
21860
21874
|
disabled: !v.value,
|
|
21861
21875
|
onClick: x
|
|
21862
|
-
}, (0, a.toDisplayString)((0, a.unref)(l)("pptx.comments.save")), 9,
|
|
21863
|
-
default: (0, a.withCtx)(() => [(0, a.createElementVNode)("div",
|
|
21876
|
+
}, (0, a.toDisplayString)((0, a.unref)(l)("pptx.comments.save")), 9, iz)]),
|
|
21877
|
+
default: (0, a.withCtx)(() => [(0, a.createElementVNode)("div", oz, [(0, a.createElementVNode)("div", az, [((0, a.openBlock)(), (0, a.createElementBlock)(a.Fragment, null, (0, a.renderList)(i, (e) => (0, a.createElementVNode)("button", {
|
|
21864
21878
|
key: e.id,
|
|
21865
21879
|
type: "button",
|
|
21866
21880
|
role: "tab",
|
|
21867
21881
|
"aria-selected": s.value === e.id,
|
|
21868
21882
|
class: (0, a.normalizeClass)(["pptx-vue-docprops-tab px-4 py-2 text-xs font-medium transition-colors", s.value === e.id ? "pptx-vue-docprops-tab-active border-b-2 border-primary text-primary" : "text-muted-foreground hover:text-foreground"]),
|
|
21869
21883
|
onClick: (t) => s.value = e.id
|
|
21870
|
-
}, (0, a.toDisplayString)((0, a.unref)(l)(e.labelKey)), 11,
|
|
21884
|
+
}, (0, a.toDisplayString)((0, a.unref)(l)(e.labelKey)), 11, rz)), 64))]), (0, a.createElementVNode)("div", lz, ["general" === s.value ? ((0, a.openBlock)(), (0, a.createBlock)(YF, {
|
|
21871
21885
|
key: 0,
|
|
21872
21886
|
core: c.value,
|
|
21873
21887
|
manager: p.value,
|
|
@@ -21879,10 +21893,10 @@ var cV = ["data-testid", "data-ai-change"], dV = "pptx-ai-change-css", uV = (0,
|
|
|
21879
21893
|
"core",
|
|
21880
21894
|
"manager",
|
|
21881
21895
|
"company"
|
|
21882
|
-
])) : "statistics" === s.value ? ((0, a.openBlock)(), (0, a.createBlock)(
|
|
21896
|
+
])) : "statistics" === s.value ? ((0, a.openBlock)(), (0, a.createBlock)(nz, {
|
|
21883
21897
|
key: 1,
|
|
21884
21898
|
statistics: m.value
|
|
21885
|
-
}, null, 8, ["statistics"])) : ((0, a.openBlock)(), (0, a.createBlock)($
|
|
21899
|
+
}, null, 8, ["statistics"])) : ((0, a.openBlock)(), (0, a.createBlock)($F, {
|
|
21886
21900
|
key: 2,
|
|
21887
21901
|
"custom-properties": d.value,
|
|
21888
21902
|
onUpdate: g
|
|
@@ -21890,16 +21904,16 @@ var cV = ["data-testid", "data-ai-change"], dV = "pptx-ai-change-css", uV = (0,
|
|
|
21890
21904
|
_: 1
|
|
21891
21905
|
}, 8, ["open", "title"]));
|
|
21892
21906
|
}
|
|
21893
|
-
}),
|
|
21907
|
+
}), cz = ["aria-label"], dz = { class: "pptx-vue-header-footer-panel__header" }, pz = { class: "pptx-vue-header-footer-panel__title" }, uz = ["aria-label"], mz = { class: "pptx-vue-header-footer-panel__body" }, fz = { class: "pptx-vue-header-footer-panel__row" }, gz = ["checked"], vz = {
|
|
21894
21908
|
key: 0,
|
|
21895
21909
|
class: "pptx-vue-header-footer-panel__sub"
|
|
21896
|
-
},
|
|
21910
|
+
}, xz = { class: "pptx-vue-header-footer-panel__row" }, hz = ["checked"], bz = ["placeholder", "value"], yz = { class: "pptx-vue-header-footer-panel__row" }, kz = ["checked"], Sz = { class: "pptx-vue-header-footer-panel__row" }, Ez = ["checked"], wz = {
|
|
21897
21911
|
key: 1,
|
|
21898
21912
|
class: "pptx-vue-header-footer-panel__sub"
|
|
21899
|
-
},
|
|
21913
|
+
}, Cz = ["placeholder", "value"], Nz = { class: "pptx-vue-header-footer-panel__row" }, Bz = ["checked"], Vz = {
|
|
21900
21914
|
key: 2,
|
|
21901
21915
|
class: "pptx-vue-header-footer-panel__sub"
|
|
21902
|
-
},
|
|
21916
|
+
}, Dz = ["placeholder", "value"], Tz = { class: "pptx-vue-header-footer-panel__footer" }, _z = (0, a.defineComponent)({
|
|
21903
21917
|
__name: "HeaderFooterPanel",
|
|
21904
21918
|
props: { headerFooter: {} },
|
|
21905
21919
|
emits: ["update", "close"],
|
|
@@ -21944,7 +21958,7 @@ var cV = ["data-testid", "data-ai-change"], dV = "pptx-ai-change-css", uV = (0,
|
|
|
21944
21958
|
role: "dialog",
|
|
21945
21959
|
"aria-label": (0, a.unref)(l)("pptx.headerFooter.title")
|
|
21946
21960
|
}, [
|
|
21947
|
-
(0, a.createElementVNode)("header",
|
|
21961
|
+
(0, a.createElementVNode)("header", dz, [(0, a.createElementVNode)("h2", pz, (0, a.toDisplayString)((0, a.unref)(l)("pptx.headerFooter.title")), 1), (0, a.createElementVNode)("button", {
|
|
21948
21962
|
type: "button",
|
|
21949
21963
|
class: "pptx-vue-header-footer-panel__close",
|
|
21950
21964
|
"aria-label": (0, a.unref)(l)("pptx.headerFooter.close"),
|
|
@@ -21953,20 +21967,20 @@ var cV = ["data-testid", "data-ai-change"], dV = "pptx-ai-change-css", uV = (0,
|
|
|
21953
21967
|
}, [(0, a.createVNode)((0, a.unref)(r.X), {
|
|
21954
21968
|
class: "h-4 w-4",
|
|
21955
21969
|
"aria-hidden": "true"
|
|
21956
|
-
})], 8,
|
|
21957
|
-
(0, a.createElementVNode)("div",
|
|
21958
|
-
(0, a.createElementVNode)("label",
|
|
21970
|
+
})], 8, uz)]),
|
|
21971
|
+
(0, a.createElementVNode)("div", mz, [
|
|
21972
|
+
(0, a.createElementVNode)("label", fz, [(0, a.createElementVNode)("input", {
|
|
21959
21973
|
type: "checkbox",
|
|
21960
21974
|
"data-testid": "hf-date-time",
|
|
21961
21975
|
checked: p.value,
|
|
21962
21976
|
onChange: b
|
|
21963
|
-
}, null, 40,
|
|
21964
|
-
p.value ? ((0, a.openBlock)(), (0, a.createElementBlock)("div",
|
|
21977
|
+
}, null, 40, gz), (0, a.createElementVNode)("span", null, (0, a.toDisplayString)((0, a.unref)(l)("pptx.headerFooter.dateAndTime")), 1)]),
|
|
21978
|
+
p.value ? ((0, a.openBlock)(), (0, a.createElementBlock)("div", vz, [(0, a.createElementVNode)("label", xz, [(0, a.createElementVNode)("input", {
|
|
21965
21979
|
type: "checkbox",
|
|
21966
21980
|
"data-testid": "hf-date-auto",
|
|
21967
21981
|
checked: g.value,
|
|
21968
21982
|
onChange: E
|
|
21969
|
-
}, null, 40,
|
|
21983
|
+
}, null, 40, hz), (0, a.createElementVNode)("span", null, (0, a.toDisplayString)((0, a.unref)(l)("pptx.headerFooter.updateAutomatically")), 1)]), v.value ? ((0, a.openBlock)(), (0, a.createElementBlock)("input", {
|
|
21970
21984
|
key: 0,
|
|
21971
21985
|
type: "text",
|
|
21972
21986
|
class: "pptx-vue-header-footer-panel__input",
|
|
@@ -21974,43 +21988,43 @@ var cV = ["data-testid", "data-ai-change"], dV = "pptx-ai-change-css", uV = (0,
|
|
|
21974
21988
|
"data-testid": "hf-date-text",
|
|
21975
21989
|
value: s.value.dateTimeText ?? "",
|
|
21976
21990
|
onInput: N
|
|
21977
|
-
}, null, 40,
|
|
21978
|
-
(0, a.createElementVNode)("label",
|
|
21991
|
+
}, null, 40, bz)) : (0, a.createCommentVNode)("", !0)])) : (0, a.createCommentVNode)("", !0),
|
|
21992
|
+
(0, a.createElementVNode)("label", yz, [(0, a.createElementVNode)("input", {
|
|
21979
21993
|
type: "checkbox",
|
|
21980
21994
|
"data-testid": "hf-slide-number",
|
|
21981
21995
|
checked: u.value,
|
|
21982
21996
|
onChange: y
|
|
21983
|
-
}, null, 40,
|
|
21984
|
-
(0, a.createElementVNode)("label",
|
|
21997
|
+
}, null, 40, kz), (0, a.createElementVNode)("span", null, (0, a.toDisplayString)((0, a.unref)(l)("pptx.headerFooter.slideNumber")), 1)]),
|
|
21998
|
+
(0, a.createElementVNode)("label", Sz, [(0, a.createElementVNode)("input", {
|
|
21985
21999
|
type: "checkbox",
|
|
21986
22000
|
"data-testid": "hf-header",
|
|
21987
22001
|
checked: m.value,
|
|
21988
22002
|
onChange: k
|
|
21989
|
-
}, null, 40,
|
|
21990
|
-
x.value ? ((0, a.openBlock)(), (0, a.createElementBlock)("div",
|
|
22003
|
+
}, null, 40, Ez), (0, a.createElementVNode)("span", null, (0, a.toDisplayString)((0, a.unref)(l)("pptx.field.header")), 1)]),
|
|
22004
|
+
x.value ? ((0, a.openBlock)(), (0, a.createElementBlock)("div", wz, [(0, a.createElementVNode)("input", {
|
|
21991
22005
|
type: "text",
|
|
21992
22006
|
class: "pptx-vue-header-footer-panel__input",
|
|
21993
22007
|
placeholder: (0, a.unref)(l)("pptx.headerFooter.headerText"),
|
|
21994
22008
|
"data-testid": "hf-header-text",
|
|
21995
22009
|
value: s.value.headerText ?? "",
|
|
21996
22010
|
onInput: w
|
|
21997
|
-
}, null, 40,
|
|
21998
|
-
(0, a.createElementVNode)("label",
|
|
22011
|
+
}, null, 40, Cz)])) : (0, a.createCommentVNode)("", !0),
|
|
22012
|
+
(0, a.createElementVNode)("label", Nz, [(0, a.createElementVNode)("input", {
|
|
21999
22013
|
type: "checkbox",
|
|
22000
22014
|
"data-testid": "hf-footer",
|
|
22001
22015
|
checked: f.value,
|
|
22002
22016
|
onChange: S
|
|
22003
|
-
}, null, 40,
|
|
22004
|
-
h.value ? ((0, a.openBlock)(), (0, a.createElementBlock)("div",
|
|
22017
|
+
}, null, 40, Bz), (0, a.createElementVNode)("span", null, (0, a.toDisplayString)((0, a.unref)(l)("pptx.headerFooter.footer")), 1)]),
|
|
22018
|
+
h.value ? ((0, a.openBlock)(), (0, a.createElementBlock)("div", Vz, [(0, a.createElementVNode)("input", {
|
|
22005
22019
|
type: "text",
|
|
22006
22020
|
class: "pptx-vue-header-footer-panel__input",
|
|
22007
22021
|
placeholder: (0, a.unref)(l)("pptx.headerFooter.footerPlaceholder"),
|
|
22008
22022
|
"data-testid": "hf-footer-text",
|
|
22009
22023
|
value: s.value.footerText ?? "",
|
|
22010
22024
|
onInput: C
|
|
22011
|
-
}, null, 40,
|
|
22025
|
+
}, null, 40, Dz)])) : (0, a.createCommentVNode)("", !0)
|
|
22012
22026
|
]),
|
|
22013
|
-
(0, a.createElementVNode)("footer",
|
|
22027
|
+
(0, a.createElementVNode)("footer", Tz, [(0, a.createElementVNode)("button", {
|
|
22014
22028
|
type: "button",
|
|
22015
22029
|
class: "pptx-vue-header-footer-panel__apply",
|
|
22016
22030
|
"data-testid": "hf-apply-all",
|
|
@@ -22021,15 +22035,15 @@ var cV = ["data-testid", "data-ai-change"], dV = "pptx-ai-change-css", uV = (0,
|
|
|
22021
22035
|
"data-testid": "hf-apply-current",
|
|
22022
22036
|
onClick: d
|
|
22023
22037
|
}, (0, a.toDisplayString)((0, a.unref)(l)("pptx.headerFooter.applyToCurrent")), 1)])
|
|
22024
|
-
], 8,
|
|
22038
|
+
], 8, cz));
|
|
22025
22039
|
}
|
|
22026
|
-
}),
|
|
22040
|
+
}), Iz = n._plugin_vue_export_helper_default(_z, [["__scopeId", "data-v-c30ad032"]]), Pz = { class: "pptx-vue-print-settings flex min-w-0 flex-1 flex-col gap-5" }, Fz = { class: "pptx-vue-print-fieldset m-0 border-none p-0" }, zz = { class: "pptx-vue-print-legend mb-2 p-0 text-xs font-medium uppercase tracking-wide text-muted-foreground" }, Az = { class: "pptx-vue-print-grid grid grid-cols-2 gap-2" }, Oz = ["checked", "onChange"], Mz = {
|
|
22027
22041
|
key: 0,
|
|
22028
22042
|
class: "pptx-vue-print-fieldset m-0 border-none p-0"
|
|
22029
|
-
},
|
|
22043
|
+
}, Rz = { class: "pptx-vue-print-legend mb-2 p-0 text-xs font-medium uppercase tracking-wide text-muted-foreground" }, Lz = { class: "pptx-vue-print-chips flex flex-wrap gap-1.5" }, $z = ["onClick"], Uz = { class: "pptx-vue-print-fieldset m-0 border-none p-0" }, jz = { class: "pptx-vue-print-legend mb-2 p-0 text-xs font-medium uppercase tracking-wide text-muted-foreground" }, Kz = { class: "pptx-vue-print-stack flex flex-col gap-2" }, Hz = ["checked"], Gz = ["checked"], Zz = ["checked"], Wz = {
|
|
22030
22044
|
key: 0,
|
|
22031
22045
|
class: "pptx-vue-print-range flex items-center gap-2 pl-6"
|
|
22032
|
-
},
|
|
22046
|
+
}, qz = { class: "pptx-vue-print-range-label text-xs text-muted-foreground" }, Xz = ["max", "value"], Jz = { class: "pptx-vue-print-range-label text-xs text-muted-foreground" }, Yz = ["max", "value"], Qz = {
|
|
22033
22047
|
key: 1,
|
|
22034
22048
|
class: "pptx-vue-print-fieldset m-0 border-none p-0"
|
|
22035
22049
|
}, eA = { class: "pptx-vue-print-legend mb-2 p-0 text-xs font-medium uppercase tracking-wide text-muted-foreground" }, tA = { class: "pptx-vue-print-row flex flex-wrap gap-2" }, nA = ["checked"], oA = ["checked"], aA = { class: "pptx-vue-print-fieldset m-0 border-none p-0" }, rA = { class: "pptx-vue-print-legend mb-2 p-0 text-xs font-medium uppercase tracking-wide text-muted-foreground" }, lA = { class: "pptx-vue-print-row flex flex-wrap gap-2" }, iA = ["checked", "onChange"], sA = { class: "pptx-vue-print-checkbox flex cursor-pointer items-center gap-2 text-sm text-foreground" }, cA = ["checked"], dA = (0, a.defineComponent)({
|
|
@@ -22097,8 +22111,8 @@ var cV = ["data-testid", "data-ai-change"], dV = "pptx-ai-change-css", uV = (0,
|
|
|
22097
22111
|
function p(e) {
|
|
22098
22112
|
l("update:customTo", c(e.target.value));
|
|
22099
22113
|
}
|
|
22100
|
-
return (e, t) => ((0, a.openBlock)(), (0, a.createElementBlock)("div",
|
|
22101
|
-
(0, a.createElementVNode)("fieldset",
|
|
22114
|
+
return (e, t) => ((0, a.openBlock)(), (0, a.createElementBlock)("div", Pz, [
|
|
22115
|
+
(0, a.createElementVNode)("fieldset", Fz, [(0, a.createElementVNode)("legend", zz, (0, a.toDisplayString)((0, a.unref)(o)("pptx.print.legendPrintWhat")), 1), (0, a.createElementVNode)("div", Az, [((0, a.openBlock)(!0), (0, a.createElementBlock)(a.Fragment, null, (0, a.renderList)(i.value, (e) => ((0, a.openBlock)(), (0, a.createElementBlock)("label", {
|
|
22102
22116
|
key: e.value,
|
|
22103
22117
|
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"])
|
|
22104
22118
|
}, [(0, a.createElementVNode)("input", {
|
|
@@ -22107,37 +22121,37 @@ var cV = ["data-testid", "data-ai-change"], dV = "pptx-ai-change-css", uV = (0,
|
|
|
22107
22121
|
class: "pptx-vue-print-sr-only sr-only",
|
|
22108
22122
|
checked: r.printWhat === e.value,
|
|
22109
22123
|
onChange: (t) => l("update:printWhat", e.value)
|
|
22110
|
-
}, null, 40,
|
|
22111
|
-
"handouts" === r.printWhat ? ((0, a.openBlock)(), (0, a.createElementBlock)("fieldset",
|
|
22124
|
+
}, null, 40, Oz), (0, a.createTextVNode)(" " + (0, a.toDisplayString)(e.label), 1)], 2))), 128))])]),
|
|
22125
|
+
"handouts" === r.printWhat ? ((0, a.openBlock)(), (0, a.createElementBlock)("fieldset", Mz, [(0, a.createElementVNode)("legend", Rz, (0, a.toDisplayString)((0, a.unref)(o)("pptx.print.legendSlidesPerPage")), 1), (0, a.createElementVNode)("div", Lz, [((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", {
|
|
22112
22126
|
key: e,
|
|
22113
22127
|
type: "button",
|
|
22114
22128
|
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"]),
|
|
22115
22129
|
onClick: (t) => l("update:slidesPerPage", e)
|
|
22116
|
-
}, (0, a.toDisplayString)(e), 11, $
|
|
22117
|
-
(0, a.createElementVNode)("fieldset",
|
|
22130
|
+
}, (0, a.toDisplayString)(e), 11, $z))), 128))])])) : (0, a.createCommentVNode)("", !0),
|
|
22131
|
+
(0, a.createElementVNode)("fieldset", Uz, [(0, a.createElementVNode)("legend", jz, (0, a.toDisplayString)((0, a.unref)(o)("pptx.print.legendSlideRange")), 1), (0, a.createElementVNode)("div", Kz, [
|
|
22118
22132
|
(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", {
|
|
22119
22133
|
type: "radio",
|
|
22120
22134
|
name: "slideRange",
|
|
22121
22135
|
class: "pptx-vue-print-sr-only sr-only",
|
|
22122
22136
|
checked: "all" === r.slideRange,
|
|
22123
22137
|
onChange: t[0] || (t[0] = (e) => l("update:slideRange", "all"))
|
|
22124
|
-
}, null, 40,
|
|
22138
|
+
}, null, 40, Hz), (0, a.createTextVNode)(" " + (0, a.toDisplayString)((0, a.unref)(o)("pptx.print.rangeAll", { count: r.totalSlides })), 1)], 2),
|
|
22125
22139
|
(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", {
|
|
22126
22140
|
type: "radio",
|
|
22127
22141
|
name: "slideRange",
|
|
22128
22142
|
class: "pptx-vue-print-sr-only sr-only",
|
|
22129
22143
|
checked: "current" === r.slideRange,
|
|
22130
22144
|
onChange: t[1] || (t[1] = (e) => l("update:slideRange", "current"))
|
|
22131
|
-
}, null, 40,
|
|
22145
|
+
}, null, 40, Gz), (0, a.createTextVNode)(" " + (0, a.toDisplayString)((0, a.unref)(o)("pptx.print.rangeCurrent", { count: r.activeSlideIndex + 1 })), 1)], 2),
|
|
22132
22146
|
(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", {
|
|
22133
22147
|
type: "radio",
|
|
22134
22148
|
name: "slideRange",
|
|
22135
22149
|
class: "pptx-vue-print-sr-only sr-only",
|
|
22136
22150
|
checked: "custom" === r.slideRange,
|
|
22137
22151
|
onChange: t[2] || (t[2] = (e) => l("update:slideRange", "custom"))
|
|
22138
|
-
}, null, 40,
|
|
22139
|
-
"custom" === r.slideRange ? ((0, a.openBlock)(), (0, a.createElementBlock)("div",
|
|
22140
|
-
(0, a.createElementVNode)("span",
|
|
22152
|
+
}, null, 40, Zz), (0, a.createTextVNode)(" " + (0, a.toDisplayString)((0, a.unref)(o)("pptx.print.rangeCustom")), 1)], 2),
|
|
22153
|
+
"custom" === r.slideRange ? ((0, a.openBlock)(), (0, a.createElementBlock)("div", Wz, [
|
|
22154
|
+
(0, a.createElementVNode)("span", qz, (0, a.toDisplayString)((0, a.unref)(o)("pptx.print.from")), 1),
|
|
22141
22155
|
(0, a.createElementVNode)("input", {
|
|
22142
22156
|
type: "number",
|
|
22143
22157
|
min: 1,
|
|
@@ -22145,8 +22159,8 @@ var cV = ["data-testid", "data-ai-change"], dV = "pptx-ai-change-css", uV = (0,
|
|
|
22145
22159
|
value: r.customFrom,
|
|
22146
22160
|
class: "pptx-vue-print-number w-16 rounded border border-border bg-background px-2 py-1 text-sm text-foreground",
|
|
22147
22161
|
onInput: d
|
|
22148
|
-
}, null, 40,
|
|
22149
|
-
(0, a.createElementVNode)("span",
|
|
22162
|
+
}, null, 40, Xz),
|
|
22163
|
+
(0, a.createElementVNode)("span", Jz, (0, a.toDisplayString)((0, a.unref)(o)("pptx.print.to")), 1),
|
|
22150
22164
|
(0, a.createElementVNode)("input", {
|
|
22151
22165
|
type: "number",
|
|
22152
22166
|
min: 1,
|
|
@@ -22154,10 +22168,10 @@ var cV = ["data-testid", "data-ai-change"], dV = "pptx-ai-change-css", uV = (0,
|
|
|
22154
22168
|
value: r.customTo,
|
|
22155
22169
|
class: "pptx-vue-print-number w-16 rounded border border-border bg-background px-2 py-1 text-sm text-foreground",
|
|
22156
22170
|
onInput: p
|
|
22157
|
-
}, null, 40,
|
|
22171
|
+
}, null, 40, Yz)
|
|
22158
22172
|
])) : (0, a.createCommentVNode)("", !0)
|
|
22159
22173
|
])]),
|
|
22160
|
-
"slides" === r.printWhat ? ((0, a.openBlock)(), (0, a.createElementBlock)("fieldset",
|
|
22174
|
+
"slides" === r.printWhat ? ((0, a.openBlock)(), (0, a.createElementBlock)("fieldset", Qz, [(0, a.createElementVNode)("legend", eA, (0, a.toDisplayString)((0, a.unref)(o)("pptx.print.legendOrientation")), 1), (0, a.createElementVNode)("div", tA, [(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", {
|
|
22161
22175
|
type: "radio",
|
|
22162
22176
|
name: "orientation",
|
|
22163
22177
|
class: "pptx-vue-print-sr-only sr-only",
|
|
@@ -22307,7 +22321,7 @@ var cV = ["data-testid", "data-ai-change"], dV = "pptx-ai-change-css", uV = (0,
|
|
|
22307
22321
|
}, NA = ["onClick"], BA = { class: "px-2 py-1.5 text-xs text-foreground" }, VA = { class: "px-2 py-1.5 font-mono text-[11px] text-muted-foreground" }, DA = { class: "px-2 py-1.5 text-xs text-muted-foreground" }, TA = {
|
|
22308
22322
|
key: 0,
|
|
22309
22323
|
class: "rounded border border-border/60 bg-muted/40 p-3"
|
|
22310
|
-
}, _A = { class: "text-xs font-semibold text-foreground" }, IA = { class: "mt-1 text-xs text-muted-foreground" }, PA = { class: "mt-1 font-mono text-[11px] text-muted-foreground" },
|
|
22324
|
+
}, _A = { class: "text-xs font-semibold text-foreground" }, IA = { class: "mt-1 text-xs text-muted-foreground" }, PA = { class: "mt-1 font-mono text-[11px] text-muted-foreground" }, zA = (0, a.defineComponent)({
|
|
22311
22325
|
__name: "OptionsAddInsPane",
|
|
22312
22326
|
props: { addinStatus: {} },
|
|
22313
22327
|
setup(e) {
|
|
@@ -22595,7 +22609,7 @@ async function DO(e) {
|
|
|
22595
22609
|
n.downloadBlob(new Blob([t], { type: o }), e);
|
|
22596
22610
|
});
|
|
22597
22611
|
}
|
|
22598
|
-
var TO = { class: "space-y-4" }, _O = { class: "flex items-start gap-2 rounded-lg border border-border/60 bg-muted/30 p-3" }, IO = { class: "text-sm font-medium text-foreground" }, PO = { class: "mt-1 text-xs text-muted-foreground" },
|
|
22612
|
+
var TO = { class: "space-y-4" }, _O = { class: "flex items-start gap-2 rounded-lg border border-border/60 bg-muted/30 p-3" }, IO = { class: "text-sm font-medium text-foreground" }, PO = { class: "mt-1 text-xs text-muted-foreground" }, FO = { class: "text-xs text-muted-foreground" }, zO = { class: "flex items-center gap-2 text-xs text-foreground" }, AO = { class: "flex flex-wrap items-center gap-2" }, OO = ["disabled"], MO = ["disabled"], RO = {
|
|
22599
22613
|
key: 0,
|
|
22600
22614
|
class: "text-xs text-muted-foreground",
|
|
22601
22615
|
role: "status"
|
|
@@ -22626,8 +22640,8 @@ var TO = { class: "space-y-4" }, _O = { class: "flex items-start gap-2 rounded-l
|
|
|
22626
22640
|
}
|
|
22627
22641
|
}), (e, t) => ((0, a.openBlock)(), (0, a.createElementBlock)("div", TO, [
|
|
22628
22642
|
(0, a.createElementVNode)("div", _O, [(0, a.createVNode)((0, a.unref)(r.Bug), { class: "mt-0.5 h-4 w-4 shrink-0 text-primary" }), (0, a.createElementVNode)("div", null, [(0, a.createElementVNode)("p", IO, (0, a.toDisplayString)((0, a.unref)(o)("pptx.ai.settingsSectionTitle")), 1), (0, a.createElementVNode)("p", PO, (0, a.toDisplayString)((0, a.unref)(o)("pptx.ai.exportLogsHint")), 1)])]),
|
|
22629
|
-
(0, a.createElementVNode)("p",
|
|
22630
|
-
(0, a.createElementVNode)("label",
|
|
22643
|
+
(0, a.createElementVNode)("p", FO, (0, a.toDisplayString)(null === i.value ? (0, a.unref)(o)("pptx.ai.exportLogsCounting") : (0, a.unref)(o)("pptx.ai.exportLogsStoredCount", { count: i.value })), 1),
|
|
22644
|
+
(0, a.createElementVNode)("label", zO, [(0, a.withDirectives)((0, a.createElementVNode)("input", {
|
|
22631
22645
|
"onUpdate:modelValue": t[0] || (t[0] = (e) => s.value = e),
|
|
22632
22646
|
type: "checkbox",
|
|
22633
22647
|
class: "h-3.5 w-3.5 rounded border-border"
|
|
@@ -22764,7 +22778,7 @@ var TO = { class: "space-y-4" }, _O = { class: "flex items-start gap-2 rounded-l
|
|
|
22764
22778
|
}, DM = {
|
|
22765
22779
|
key: 2,
|
|
22766
22780
|
class: "mt-2"
|
|
22767
|
-
}, TM = { class: "mb-2 text-xs text-muted-foreground" }, _M = { class: "pptx-vue-options-footer flex items-center justify-between gap-2 border-t border-border/60 px-5 py-3" }, IM = { class: "flex items-center gap-2" }, PM = "ai",
|
|
22781
|
+
}, TM = { class: "mb-2 text-xs text-muted-foreground" }, _M = { class: "pptx-vue-options-footer flex items-center justify-between gap-2 border-t border-border/60 px-5 py-3" }, IM = { class: "flex items-center gap-2" }, PM = "ai", FM = (0, a.defineComponent)({
|
|
22768
22782
|
__name: "SettingsDialog",
|
|
22769
22783
|
props: {
|
|
22770
22784
|
open: { type: Boolean },
|
|
@@ -22874,7 +22888,7 @@ var TO = { class: "space-y-4" }, _O = { class: "flex items-start gap-2 rounded-l
|
|
|
22874
22888
|
"options",
|
|
22875
22889
|
"on-ribbon-tab-hidden-change",
|
|
22876
22890
|
"on-reset-ribbon"
|
|
22877
|
-
])])) : "addIns" === u.value.custom ? ((0, a.openBlock)(), (0, a.createElementBlock)("div", NM, [(0, a.createElementVNode)("p", BM, (0, a.toDisplayString)((0, a.unref)(i)(u.value.descriptionKey)), 1), (0, a.createVNode)(
|
|
22891
|
+
])])) : "addIns" === u.value.custom ? ((0, a.openBlock)(), (0, a.createElementBlock)("div", NM, [(0, a.createElementVNode)("p", BM, (0, a.toDisplayString)((0, a.unref)(i)(u.value.descriptionKey)), 1), (0, a.createVNode)(zA, { "addin-status": e.addinStatus }, null, 8, ["addin-status"])])) : ((0, a.openBlock)(), (0, a.createBlock)(QA, {
|
|
22878
22892
|
key: 4,
|
|
22879
22893
|
tab: u.value,
|
|
22880
22894
|
options: e.options,
|
|
@@ -22925,7 +22939,7 @@ var TO = { class: "space-y-4" }, _O = { class: "flex items-start gap-2 rounded-l
|
|
|
22925
22939
|
}, (0, a.toDisplayString)((0, a.unref)(i)("pptx.common.ok")), 1)])])
|
|
22926
22940
|
], 8, sM)])], 64)) : (0, a.createCommentVNode)("", !0)]));
|
|
22927
22941
|
}
|
|
22928
|
-
}),
|
|
22942
|
+
}), zM = {
|
|
22929
22943
|
class: "pptx-vue-shortcuts flex min-w-[18rem] flex-col gap-3",
|
|
22930
22944
|
"data-pptx-shortcuts-panel": "true"
|
|
22931
22945
|
}, AM = ["placeholder", "aria-label"], OM = {
|
|
@@ -22975,7 +22989,7 @@ var TO = { class: "space-y-4" }, _O = { class: "flex items-start gap-2 rounded-l
|
|
|
22975
22989
|
title: (0, a.unref)(l)("pptx.settings.keyboardShortcuts"),
|
|
22976
22990
|
onClose: m
|
|
22977
22991
|
}, {
|
|
22978
|
-
default: (0, a.withCtx)(() => [(0, a.createElementVNode)("div",
|
|
22992
|
+
default: (0, a.withCtx)(() => [(0, a.createElementVNode)("div", zM, [(0, a.withDirectives)((0, a.createElementVNode)("input", {
|
|
22979
22993
|
"onUpdate:modelValue": n[0] || (n[0] = (e) => i.value = e),
|
|
22980
22994
|
type: "text",
|
|
22981
22995
|
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",
|
|
@@ -23113,7 +23127,7 @@ var TO = { class: "space-y-4" }, _O = { class: "flex items-start gap-2 rounded-l
|
|
|
23113
23127
|
setup(e, { emit: t }) {
|
|
23114
23128
|
const n = t;
|
|
23115
23129
|
return (t, o) => ((0, a.openBlock)(), (0, a.createElementBlock)(a.Fragment, null, [
|
|
23116
|
-
(0, a.createVNode)(
|
|
23130
|
+
(0, a.createVNode)(sz, {
|
|
23117
23131
|
open: e.documentProperties.propertiesOpen.value,
|
|
23118
23132
|
"core-properties": e.coreProperties,
|
|
23119
23133
|
"custom-properties": e.customProperties,
|
|
@@ -23147,7 +23161,7 @@ var TO = { class: "space-y-4" }, _O = { class: "flex items-start gap-2 rounded-l
|
|
|
23147
23161
|
"onDelete",
|
|
23148
23162
|
"onCompare"
|
|
23149
23163
|
]),
|
|
23150
|
-
(0, a.createVNode)(
|
|
23164
|
+
(0, a.createVNode)(BF, {
|
|
23151
23165
|
open: e.versionHistory.showCompare.value,
|
|
23152
23166
|
"compare-result": e.versionHistory.compareResult.value,
|
|
23153
23167
|
"canvas-size": e.canvasSize,
|
|
@@ -23179,7 +23193,7 @@ var TO = { class: "space-y-4" }, _O = { class: "flex items-start gap-2 rounded-l
|
|
|
23179
23193
|
open: e.showShortcuts,
|
|
23180
23194
|
onClose: e.onCloseShortcuts
|
|
23181
23195
|
}, null, 8, ["open", "onClose"]),
|
|
23182
|
-
(0, a.createVNode)(
|
|
23196
|
+
(0, a.createVNode)(FM, {
|
|
23183
23197
|
open: e.showSettings,
|
|
23184
23198
|
options: e.viewerOptions,
|
|
23185
23199
|
"on-option-change": (t, n, o) => e.optionsStore.setValue(t, n, o),
|
|
@@ -23224,7 +23238,7 @@ var TO = { class: "space-y-4" }, _O = { class: "flex items-start gap-2 rounded-l
|
|
|
23224
23238
|
title: "Header & footer",
|
|
23225
23239
|
onClose: o[4] || (o[4] = (t) => e.headerFooterDialog.showHeaderFooter.value = !1)
|
|
23226
23240
|
}, {
|
|
23227
|
-
default: (0, a.withCtx)(() => [(0, a.createVNode)(
|
|
23241
|
+
default: (0, a.withCtx)(() => [(0, a.createVNode)(Iz, {
|
|
23228
23242
|
"header-footer": e.headerFooter,
|
|
23229
23243
|
onUpdate: e.headerFooterDialog.onHeaderFooterUpdate,
|
|
23230
23244
|
onClose: o[3] || (o[3] = (t) => e.headerFooterDialog.showHeaderFooter.value = !1)
|
|
@@ -23356,11 +23370,11 @@ var dR, pR = { class: "pptx-comment-mention-input relative" }, uR = [
|
|
|
23356
23370
|
}, VR = ["data-comment-id"], DR = { class: "mb-0.5 flex items-baseline justify-between gap-2" }, TR = { class: "text-[12px] font-semibold" }, _R = {
|
|
23357
23371
|
key: 0,
|
|
23358
23372
|
class: "text-[11px] text-muted-foreground"
|
|
23359
|
-
}, IR = { class: "m-0 whitespace-pre-wrap break-words text-[12px]" }, PR = { class: "pptx-comments-panel__actions flex gap-2" },
|
|
23373
|
+
}, IR = { class: "m-0 whitespace-pre-wrap break-words text-[12px]" }, PR = { class: "pptx-comments-panel__actions flex gap-2" }, FR = [
|
|
23360
23374
|
"data-comment-id",
|
|
23361
23375
|
"aria-pressed",
|
|
23362
23376
|
"onClick"
|
|
23363
|
-
],
|
|
23377
|
+
], zR = ["data-comment-id", "onClick"], AR = [
|
|
23364
23378
|
"data-comment-id",
|
|
23365
23379
|
"aria-label",
|
|
23366
23380
|
"onClick"
|
|
@@ -23424,7 +23438,7 @@ var dR, pR = { class: "pptx-comment-mention-input relative" }, uR = [
|
|
|
23424
23438
|
"data-comment-id": e.id,
|
|
23425
23439
|
"aria-pressed": e.resolved ? "true" : "false",
|
|
23426
23440
|
onClick: (t) => l("resolve", e.id)
|
|
23427
|
-
}, (0, a.toDisplayString)(e.resolved ? (0, a.unref)(i)("pptx.comments.reopen") : (0, a.unref)(i)("pptx.comments.resolve")), 9,
|
|
23441
|
+
}, (0, a.toDisplayString)(e.resolved ? (0, a.unref)(i)("pptx.comments.reopen") : (0, a.unref)(i)("pptx.comments.resolve")), 9, FR),
|
|
23428
23442
|
(0, a.createElementVNode)("button", {
|
|
23429
23443
|
type: "button",
|
|
23430
23444
|
class: "pptx-comments-panel__action cursor-pointer rounded-md border border-border bg-transparent px-2 py-1 text-xs text-foreground hover:bg-muted max-md:min-h-[44px]!",
|
|
@@ -23440,7 +23454,7 @@ var dR, pR = { class: "pptx-comment-mention-input relative" }, uR = [
|
|
|
23440
23454
|
return;
|
|
23441
23455
|
var n;
|
|
23442
23456
|
}
|
|
23443
|
-
}, (0, a.toDisplayString)((0, a.unref)(i)("pptx.comments.reply")), 9,
|
|
23457
|
+
}, (0, a.toDisplayString)((0, a.unref)(i)("pptx.comments.reply")), 9, zR),
|
|
23444
23458
|
(0, a.createElementVNode)("button", {
|
|
23445
23459
|
type: "button",
|
|
23446
23460
|
class: "pptx-comments-panel__action pptx-comments-panel__action--danger cursor-pointer rounded-md border border-border bg-transparent px-2 py-1 text-xs text-red-400 hover:bg-muted max-md:min-h-[44px]!",
|
|
@@ -24133,7 +24147,7 @@ function PL(e) {
|
|
|
24133
24147
|
originalVisibility: l
|
|
24134
24148
|
}, !0;
|
|
24135
24149
|
}
|
|
24136
|
-
var
|
|
24150
|
+
var FL = { class: "pptx-vue-after-animation" }, zL = ["aria-label", "value"], AL = ["value"], OL = {
|
|
24137
24151
|
key: 0,
|
|
24138
24152
|
class: "pptx-vue-after-animation-color"
|
|
24139
24153
|
}, ML = ["aria-label", "value"], RL = (0, a.defineComponent)({
|
|
@@ -24152,14 +24166,14 @@ var zL = { class: "pptx-vue-after-animation" }, FL = ["aria-label", "value"], AL
|
|
|
24152
24166
|
const t = e.target.value;
|
|
24153
24167
|
o("color", t), l?.push(t);
|
|
24154
24168
|
}
|
|
24155
|
-
return (t, o) => ((0, a.openBlock)(), (0, a.createElementBlock)("div",
|
|
24169
|
+
return (t, o) => ((0, a.openBlock)(), (0, a.createElementBlock)("div", FL, [(0, a.createElementVNode)("label", null, [(0, a.createTextVNode)((0, a.toDisplayString)((0, a.unref)(r)("pptx.animation.afterAnimation")) + " ", 1), (0, a.createElementVNode)("pptx-ui-select", {
|
|
24156
24170
|
"aria-label": (0, a.unref)(r)("pptx.animation.afterAnimation"),
|
|
24157
24171
|
value: e.action,
|
|
24158
24172
|
onChange: i
|
|
24159
24173
|
}, [((0, a.openBlock)(!0), (0, a.createElementBlock)(a.Fragment, null, (0, a.renderList)((0, a.unref)(n.AFTER_ANIMATION_VALUES), (e) => ((0, a.openBlock)(), (0, a.createElementBlock)("option", {
|
|
24160
24174
|
key: e,
|
|
24161
24175
|
value: e
|
|
24162
|
-
}, (0, a.toDisplayString)((0, a.unref)(r)(`pptx.animation.afterAnimation.${e}`)), 9, AL))), 128))], 40,
|
|
24176
|
+
}, (0, a.toDisplayString)((0, a.unref)(r)(`pptx.animation.afterAnimation.${e}`)), 9, AL))), 128))], 40, zL)]), "dimToColor" === e.action ? ((0, a.openBlock)(), (0, a.createElementBlock)("label", OL, [(0, a.createTextVNode)((0, a.toDisplayString)((0, a.unref)(r)("pptx.animation.afterAnimation.color")) + " ", 1), (0, a.createElementVNode)("input", {
|
|
24163
24177
|
type: "color",
|
|
24164
24178
|
"aria-label": (0, a.unref)(r)("pptx.animation.afterAnimation.color"),
|
|
24165
24179
|
value: e.color ?? "#808080",
|
|
@@ -24472,12 +24486,12 @@ var zL = { class: "pptx-vue-after-animation" }, FL = ["aria-label", "value"], AL
|
|
|
24472
24486
|
"title",
|
|
24473
24487
|
"onDragover",
|
|
24474
24488
|
"onDrop"
|
|
24475
|
-
], I$ = { class: "w-4 shrink-0 text-muted-foreground/70" }, P$ = { class: "min-w-0 flex-1 truncate" },
|
|
24489
|
+
], I$ = { class: "w-4 shrink-0 text-muted-foreground/70" }, P$ = { class: "min-w-0 flex-1 truncate" }, F$ = [
|
|
24476
24490
|
"onDragstart",
|
|
24477
24491
|
"onDragover",
|
|
24478
24492
|
"onDrop",
|
|
24479
24493
|
"onMouseenter"
|
|
24480
|
-
],
|
|
24494
|
+
], z$ = { class: "w-4 shrink-0 text-muted-foreground" }, A$ = { class: "min-w-0 flex-1 truncate" }, O$ = { class: "text-muted-foreground" }, R$ = (0, a.defineComponent)({
|
|
24481
24495
|
__name: "AnimationTimeline",
|
|
24482
24496
|
props: {
|
|
24483
24497
|
animations: {},
|
|
@@ -24561,10 +24575,10 @@ var zL = { class: "pptx-vue-after-animation" }, FL = ["aria-label", "value"], AL
|
|
|
24561
24575
|
class: "h-3 w-3 shrink-0 text-muted-foreground/50",
|
|
24562
24576
|
"aria-hidden": "true"
|
|
24563
24577
|
}),
|
|
24564
|
-
(0, a.createElementVNode)("span",
|
|
24578
|
+
(0, a.createElementVNode)("span", z$, (0, a.toDisplayString)(l + 1) + ".", 1),
|
|
24565
24579
|
(0, a.createElementVNode)("span", A$, (0, a.toDisplayString)((p = f.value.get(t.elementId), TL(o.elements.find((e) => e.id === p.elementId), p.elementId))), 1),
|
|
24566
24580
|
(0, a.createElementVNode)("span", O$, (0, a.toDisplayString)(s(f.value.get(t.elementId))), 1)
|
|
24567
|
-
], 42,
|
|
24581
|
+
], 42, F$)) : (0, a.createCommentVNode)("", !0)], 64);
|
|
24568
24582
|
var p;
|
|
24569
24583
|
}), 128))])
|
|
24570
24584
|
], 8, B$)) : (0, a.createCommentVNode)("", !0);
|
|
@@ -24780,7 +24794,7 @@ var zL = { class: "pptx-vue-after-animation" }, FL = ["aria-label", "value"], AL
|
|
|
24780
24794
|
"title",
|
|
24781
24795
|
"aria-label",
|
|
24782
24796
|
"aria-pressed"
|
|
24783
|
-
], gU = { class: "pptx-vue-arrange-grid grid grid-cols-2 gap-2" }, vU = { class: "pptx-vue-arrange-field flex flex-col gap-1" }, xU = { class: "pptx-vue-arrange-label text-muted-foreground" }, hU = ["value"], bU = { class: "pptx-vue-arrange-field flex flex-col gap-1" }, yU = { class: "pptx-vue-arrange-label text-muted-foreground" }, kU = ["value"], SU = { class: "pptx-vue-arrange-field flex flex-col gap-1" }, EU = { class: "pptx-vue-arrange-label text-muted-foreground" }, wU = ["value"], CU = { class: "pptx-vue-arrange-field flex flex-col gap-1" }, NU = { class: "pptx-vue-arrange-label text-muted-foreground" }, BU = ["value"], VU = { class: "pptx-vue-arrange-field flex flex-col gap-1" }, DU = { class: "pptx-vue-arrange-label text-muted-foreground" }, TU = ["value"], _U = { class: "pptx-vue-arrange-flips grid grid-cols-2 gap-2" }, IU = { class: "pptx-vue-arrange-check inline-flex items-center gap-2 text-foreground" }, PU = ["checked"],
|
|
24797
|
+
], gU = { class: "pptx-vue-arrange-grid grid grid-cols-2 gap-2" }, vU = { class: "pptx-vue-arrange-field flex flex-col gap-1" }, xU = { class: "pptx-vue-arrange-label text-muted-foreground" }, hU = ["value"], bU = { class: "pptx-vue-arrange-field flex flex-col gap-1" }, yU = { class: "pptx-vue-arrange-label text-muted-foreground" }, kU = ["value"], SU = { class: "pptx-vue-arrange-field flex flex-col gap-1" }, EU = { class: "pptx-vue-arrange-label text-muted-foreground" }, wU = ["value"], CU = { class: "pptx-vue-arrange-field flex flex-col gap-1" }, NU = { class: "pptx-vue-arrange-label text-muted-foreground" }, BU = ["value"], VU = { class: "pptx-vue-arrange-field flex flex-col gap-1" }, DU = { class: "pptx-vue-arrange-label text-muted-foreground" }, TU = ["value"], _U = { class: "pptx-vue-arrange-flips grid grid-cols-2 gap-2" }, IU = { class: "pptx-vue-arrange-check inline-flex items-center gap-2 text-foreground" }, PU = ["checked"], FU = { class: "pptx-vue-arrange-check inline-flex items-center gap-2 text-foreground" }, zU = ["checked"], OU = (0, a.defineComponent)({
|
|
24784
24798
|
__name: "ArrangePanel",
|
|
24785
24799
|
props: {
|
|
24786
24800
|
element: {},
|
|
@@ -24865,7 +24879,7 @@ var zL = { class: "pptx-vue-after-animation" }, FL = ["aria-label", "value"], AL
|
|
|
24865
24879
|
return;
|
|
24866
24880
|
var t;
|
|
24867
24881
|
})
|
|
24868
|
-
}, null, 40, PU), (0, a.createTextVNode)(" " + (0, a.toDisplayString)((0, a.unref)(i)("pptx.arrange.flipHorizontally")), 1)]), (0, a.createElementVNode)("label",
|
|
24882
|
+
}, null, 40, PU), (0, a.createTextVNode)(" " + (0, a.toDisplayString)((0, a.unref)(i)("pptx.arrange.flipHorizontally")), 1)]), (0, a.createElementVNode)("label", FU, [(0, a.createElementVNode)("pptx-ui-checkbox", {
|
|
24869
24883
|
type: "checkbox",
|
|
24870
24884
|
checked: f.value,
|
|
24871
24885
|
onChange: t[6] || (t[6] = (e) => {
|
|
@@ -24873,7 +24887,7 @@ var zL = { class: "pptx-vue-after-animation" }, FL = ["aria-label", "value"], AL
|
|
|
24873
24887
|
return;
|
|
24874
24888
|
var t;
|
|
24875
24889
|
})
|
|
24876
|
-
}, null, 40,
|
|
24890
|
+
}, null, 40, zU), (0, a.createTextVNode)(" " + (0, a.toDisplayString)((0, a.unref)(i)("pptx.arrange.flipVertically")), 1)])])
|
|
24877
24891
|
]));
|
|
24878
24892
|
}
|
|
24879
24893
|
}), MU = {
|
|
@@ -25045,7 +25059,7 @@ var zL = { class: "pptx-vue-after-animation" }, FL = ["aria-label", "value"], AL
|
|
|
25045
25059
|
], Bj = { class: "flex items-center gap-3 text-[11px]" }, Vj = { class: "flex items-center gap-1 cursor-pointer" }, Dj = ["checked", "onChange"], Tj = { class: "flex items-center gap-1" }, _j = { class: "text-muted-foreground" }, Ij = ["value", "onInput"], Pj = {
|
|
25046
25060
|
key: 0,
|
|
25047
25061
|
class: "flex items-center gap-2 text-[11px]"
|
|
25048
|
-
},
|
|
25062
|
+
}, Fj = { class: "w-12 text-muted-foreground shrink-0" }, zj = [
|
|
25049
25063
|
"title",
|
|
25050
25064
|
"value",
|
|
25051
25065
|
"onInput"
|
|
@@ -25167,7 +25181,7 @@ var zL = { class: "pptx-vue-after-animation" }, FL = ["aria-label", "value"], AL
|
|
|
25167
25181
|
onChange: c
|
|
25168
25182
|
}, null, 40, Ij)])]),
|
|
25169
25183
|
((0, a.openBlock)(), (0, a.createElementBlock)(a.Fragment, null, (0, a.renderList)(m, (t) => ((0, a.openBlock)(), (0, a.createElementBlock)(a.Fragment, { key: t.which }, [p(e, t.which) ? ((0, a.openBlock)(), (0, a.createElementBlock)("div", Pj, [
|
|
25170
|
-
(0, a.createElementVNode)("span",
|
|
25184
|
+
(0, a.createElementVNode)("span", Fj, (0, a.toDisplayString)((0, a.unref)(l)(t.labelKey)), 1),
|
|
25171
25185
|
(0, a.createElementVNode)("input", {
|
|
25172
25186
|
type: "color",
|
|
25173
25187
|
"data-testid": "chart-gridline-color",
|
|
@@ -25178,7 +25192,7 @@ var zL = { class: "pptx-vue-after-animation" }, FL = ["aria-label", "value"], AL
|
|
|
25178
25192
|
r("setGridlineStyle", t.type, n, { color: e.target.value });
|
|
25179
25193
|
}(n, e, t.which),
|
|
25180
25194
|
onChange: u
|
|
25181
|
-
}, null, 40,
|
|
25195
|
+
}, null, 40, zj),
|
|
25182
25196
|
(0, a.createElementVNode)("input", {
|
|
25183
25197
|
type: "number",
|
|
25184
25198
|
min: "0.25",
|
|
@@ -25410,7 +25424,7 @@ var zL = { class: "pptx-vue-after-animation" }, FL = ["aria-label", "value"], AL
|
|
|
25410
25424
|
}, DK = { class: "pptx-vue-chart-heading text-[11px] uppercase tracking-wide text-muted-foreground" }, TK = {
|
|
25411
25425
|
key: 0,
|
|
25412
25426
|
class: "flex items-center gap-2 text-[11px]"
|
|
25413
|
-
}, _K = { class: "w-12 text-muted-foreground shrink-0" }, IK = ["aria-label", "value"], PK = ["value"],
|
|
25427
|
+
}, _K = { class: "w-12 text-muted-foreground shrink-0" }, IK = ["aria-label", "value"], PK = ["value"], FK = { class: "space-y-2" }, zK = { class: "flex items-center gap-2 text-[11px]" }, AK = ["title"], OK = { class: "flex items-center gap-1 shrink-0" }, MK = ["checked", "onChange"], RK = { class: "text-muted-foreground" }, LK = {
|
|
25414
25428
|
key: 0,
|
|
25415
25429
|
class: "flex items-center gap-2 ml-2 flex-wrap"
|
|
25416
25430
|
}, $K = ["value", "onChange"], UK = ["value"], jK = [
|
|
@@ -25453,10 +25467,10 @@ var zL = { class: "pptx-vue-after-animation" }, FL = ["aria-label", "value"], AL
|
|
|
25453
25467
|
key: `${e.name}-${t}`,
|
|
25454
25468
|
value: t
|
|
25455
25469
|
}, (0, a.toDisplayString)(e.name), 9, PK))), 128))], 40, IK)])) : (0, a.createCommentVNode)("", !0),
|
|
25456
|
-
(0, a.createElementVNode)("div",
|
|
25470
|
+
(0, a.createElementVNode)("div", FK, [((0, a.openBlock)(!0), (0, a.createElementBlock)(a.Fragment, null, (0, a.renderList)(o.categories, (e, t) => ((0, a.openBlock)(), (0, a.createElementBlock)("div", {
|
|
25457
25471
|
key: `${e}-${t}`,
|
|
25458
25472
|
class: "space-y-1"
|
|
25459
|
-
}, [(0, a.createElementVNode)("div",
|
|
25473
|
+
}, [(0, a.createElementVNode)("div", zK, [(0, a.createElementVNode)("span", {
|
|
25460
25474
|
class: "flex-1 truncate",
|
|
25461
25475
|
title: e
|
|
25462
25476
|
}, (0, a.toDisplayString)(e), 9, AK), (0, a.createElementVNode)("label", OK, [(0, a.createElementVNode)("pptx-ui-checkbox", {
|
|
@@ -25641,9 +25655,12 @@ var zL = { class: "pptx-vue-after-animation" }, FL = ["aria-label", "value"], AL
|
|
|
25641
25655
|
c({ [t]: e.target.checked });
|
|
25642
25656
|
}
|
|
25643
25657
|
function p(e) {
|
|
25644
|
-
c(
|
|
25658
|
+
c(n.chartDataLabelsTogglePatch(i.value, e.target.checked));
|
|
25645
25659
|
}
|
|
25646
25660
|
function u(e) {
|
|
25661
|
+
c({ legendPosition: e.target.value });
|
|
25662
|
+
}
|
|
25663
|
+
function m(e) {
|
|
25647
25664
|
if (!o.chartData) return;
|
|
25648
25665
|
const t = e.target.checked;
|
|
25649
25666
|
r("update-chart-data", n.chartGridlinesPatch(o.chartData, t));
|
|
@@ -25668,7 +25685,7 @@ var zL = { class: "pptx-vue-after-animation" }, FL = ["aria-label", "value"], AL
|
|
|
25668
25685
|
class: "pptx-vue-chart-input flex-1 bg-muted border border-border rounded px-1.5 py-0.5 w-full",
|
|
25669
25686
|
"data-testid": "chart-legend-position",
|
|
25670
25687
|
value: i.value?.legendPosition ?? "b",
|
|
25671
|
-
onChange:
|
|
25688
|
+
onChange: u
|
|
25672
25689
|
}, [((0, a.openBlock)(!0), (0, a.createElementBlock)(a.Fragment, null, (0, a.renderList)((0, a.unref)(n.LEGEND_POSITION_OPTIONS), (e) => ((0, a.openBlock)(), (0, a.createElementBlock)("option", {
|
|
25673
25690
|
key: e.value,
|
|
25674
25691
|
value: e.value
|
|
@@ -25678,21 +25695,21 @@ var zL = { class: "pptx-vue-after-animation" }, FL = ["aria-label", "value"], AL
|
|
|
25678
25695
|
"data-testid": "chart-show-gridlines",
|
|
25679
25696
|
class: "accent-primary",
|
|
25680
25697
|
checked: s.value,
|
|
25681
|
-
onChange:
|
|
25698
|
+
onChange: m
|
|
25682
25699
|
}, null, 40, kH), (0, a.createElementVNode)("span", SH, (0, a.toDisplayString)((0, a.unref)(l)("pptx.chart.showGridlines")), 1)]),
|
|
25683
25700
|
(0, a.createElementVNode)("label", EH, [(0, a.createElementVNode)("pptx-ui-checkbox", {
|
|
25684
25701
|
type: "checkbox",
|
|
25685
25702
|
"data-testid": "chart-show-data-labels",
|
|
25686
25703
|
class: "accent-primary",
|
|
25687
25704
|
checked: i.value?.hasDataLabels ?? !1,
|
|
25688
|
-
onChange:
|
|
25705
|
+
onChange: p
|
|
25689
25706
|
}, null, 40, wH), (0, a.createElementVNode)("span", CH, (0, a.toDisplayString)((0, a.unref)(l)("pptx.chart.showDataLabels")), 1)])
|
|
25690
25707
|
])]));
|
|
25691
25708
|
}
|
|
25692
25709
|
}), VH = {
|
|
25693
25710
|
key: 0,
|
|
25694
25711
|
class: "pptx-vue-chart-card rounded border border-border bg-card p-2 space-y-2"
|
|
25695
|
-
}, DH = { class: "pptx-vue-chart-heading text-[11px] uppercase tracking-wide text-muted-foreground" }, TH = { class: "space-y-2" }, _H = { class: "flex items-center gap-2 text-[11px]" }, IH = ["title"], PH = ["value", "onChange"],
|
|
25712
|
+
}, DH = { class: "pptx-vue-chart-heading text-[11px] uppercase tracking-wide text-muted-foreground" }, TH = { class: "space-y-2" }, _H = { class: "flex items-center gap-2 text-[11px]" }, IH = ["title"], PH = ["value", "onChange"], FH = ["value"], zH = {
|
|
25696
25713
|
key: 0,
|
|
25697
25714
|
class: "flex items-center gap-2 ml-2"
|
|
25698
25715
|
}, AH = ["value", "onChange"], OH = ["value"], MH = [
|
|
@@ -25734,7 +25751,7 @@ var zL = { class: "pptx-vue-after-animation" }, FL = ["aria-label", "value"], AL
|
|
|
25734
25751
|
}, [((0, a.openBlock)(!0), (0, a.createElementBlock)(a.Fragment, null, (0, a.renderList)((0, a.unref)(n.ERROR_BAR_VALTYPE_OPTIONS), (e) => ((0, a.openBlock)(), (0, a.createElementBlock)("option", {
|
|
25735
25752
|
key: e.value,
|
|
25736
25753
|
value: e.value
|
|
25737
|
-
}, (0, a.toDisplayString)((0, a.unref)(l)(e.labelKey)), 9,
|
|
25754
|
+
}, (0, a.toDisplayString)((0, a.unref)(l)(e.labelKey)), 9, FH))), 128))], 40, PH)]), s(e) ? ((0, a.openBlock)(), (0, a.createElementBlock)("div", zH, [(0, a.createElementVNode)("pptx-ui-select", {
|
|
25738
25755
|
class: "pptx-vue-chart-input flex-1 bg-muted border border-border rounded px-1.5 py-0.5 w-full",
|
|
25739
25756
|
"data-testid": "chart-error-bar-type",
|
|
25740
25757
|
value: s(e).barType,
|
|
@@ -25996,7 +26013,7 @@ var zL = { class: "pptx-vue-after-animation" }, FL = ["aria-label", "value"], AL
|
|
|
25996
26013
|
}, DG = { class: "w-20 text-muted-foreground shrink-0" }, TG = ["aria-label", "value"], _G = ["value"], IG = {
|
|
25997
26014
|
key: 2,
|
|
25998
26015
|
class: "flex items-center gap-2 text-[11px]"
|
|
25999
|
-
}, PG = { class: "w-20 text-muted-foreground shrink-0" },
|
|
26016
|
+
}, PG = { class: "w-20 text-muted-foreground shrink-0" }, FG = ["aria-label", "value"], zG = ["value"], OG = (0, a.defineComponent)({
|
|
26000
26017
|
__name: "ChartSubtypeOptions",
|
|
26001
26018
|
props: { chartData: {} },
|
|
26002
26019
|
emits: ["update-chart-data"],
|
|
@@ -26050,7 +26067,7 @@ var zL = { class: "pptx-vue-after-animation" }, FL = ["aria-label", "value"], AL
|
|
|
26050
26067
|
}, [((0, a.openBlock)(!0), (0, a.createElementBlock)(a.Fragment, null, (0, a.renderList)((0, a.unref)(n.SURFACE_WIREFRAME_OPTIONS), (e) => ((0, a.openBlock)(), (0, a.createElementBlock)("option", {
|
|
26051
26068
|
key: e.value,
|
|
26052
26069
|
value: e.value
|
|
26053
|
-
}, (0, a.toDisplayString)((0, a.unref)(l)(e.labelKey)), 9,
|
|
26070
|
+
}, (0, a.toDisplayString)((0, a.unref)(l)(e.labelKey)), 9, zG))), 128))], 40, FG)])) : (0, a.createCommentVNode)("", !0)
|
|
26054
26071
|
])) : (0, a.createCommentVNode)("", !0);
|
|
26055
26072
|
}
|
|
26056
26073
|
}), MG = {
|
|
@@ -26371,7 +26388,7 @@ var zL = { class: "pptx-vue-after-animation" }, FL = ["aria-label", "value"], AL
|
|
|
26371
26388
|
}, null, 40, DZ), (0, a.createElementVNode)("span", TZ, (0, a.toDisplayString)((0, a.unref)(l)("pptx.arrange.flipVertically")), 1)])
|
|
26372
26389
|
])) : (0, a.createCommentVNode)("", !0);
|
|
26373
26390
|
}
|
|
26374
|
-
}), IZ = { class: "pptx-vue-chart-card rounded border border-border bg-card p-2 space-y-2" }, PZ = { class: "flex items-center justify-between" },
|
|
26391
|
+
}), IZ = { class: "pptx-vue-chart-card rounded border border-border bg-card p-2 space-y-2" }, PZ = { class: "flex items-center justify-between" }, FZ = { class: "text-[11px] uppercase tracking-wide text-muted-foreground" }, zZ = {
|
|
26375
26392
|
key: 0,
|
|
26376
26393
|
class: "text-[11px] text-muted-foreground"
|
|
26377
26394
|
}, AZ = {
|
|
@@ -26426,12 +26443,12 @@ var zL = { class: "pptx-vue-after-animation" }, FL = ["aria-label", "value"], AL
|
|
|
26426
26443
|
function m(e, t) {
|
|
26427
26444
|
r("update-chart-data", { userShapes: n.withChartUserShapeRowFlipUpdated(o.chartData.userShapes, e, t) });
|
|
26428
26445
|
}
|
|
26429
|
-
return (t, f) => ((0, a.openBlock)(), (0, a.createElementBlock)("div", IZ, [(0, a.createElementVNode)("div", PZ, [(0, a.createElementVNode)("span",
|
|
26446
|
+
return (t, f) => ((0, a.openBlock)(), (0, a.createElementBlock)("div", IZ, [(0, a.createElementVNode)("div", PZ, [(0, a.createElementVNode)("span", FZ, (0, a.toDisplayString)((0, a.unref)(l)("pptx.chart.userShapes")), 1), (0, a.createElementVNode)("button", {
|
|
26430
26447
|
type: "button",
|
|
26431
26448
|
class: "rounded bg-muted hover:bg-accent px-2 py-1 text-[11px] transition-colors",
|
|
26432
26449
|
"data-testid": "chart-user-shape-add",
|
|
26433
26450
|
onClick: c
|
|
26434
|
-
}, (0, a.toDisplayString)((0, a.unref)(l)("pptx.chart.userShapeAddTextBox")), 1)]), 0 === i.value.length ? ((0, a.openBlock)(), (0, a.createElementBlock)("div",
|
|
26451
|
+
}, (0, a.toDisplayString)((0, a.unref)(l)("pptx.chart.userShapeAddTextBox")), 1)]), 0 === i.value.length ? ((0, a.openBlock)(), (0, a.createElementBlock)("div", zZ, (0, a.toDisplayString)((0, a.unref)(l)("pptx.chart.userShapesEmpty")), 1)) : ((0, a.openBlock)(), (0, a.createElementBlock)("div", AZ, [((0, a.openBlock)(!0), (0, a.createElementBlock)(a.Fragment, null, (0, a.renderList)(i.value, (t) => {
|
|
26435
26452
|
return (0, a.openBlock)(), (0, a.createElementBlock)("div", {
|
|
26436
26453
|
key: s(t.path),
|
|
26437
26454
|
"data-chart-user-shape-path": s(t.path),
|
|
@@ -26758,7 +26775,7 @@ var zL = { class: "pptx-vue-after-animation" }, FL = ["aria-label", "value"], AL
|
|
|
26758
26775
|
}), yW = { class: "pptx-vue-effects-section flex flex-col gap-2 border-b border-border pb-2 last:border-b-0 last:pb-0" }, kW = { class: "pptx-vue-effects-check inline-flex items-center gap-2 text-foreground" }, SW = ["checked"], EW = {
|
|
26759
26776
|
key: 0,
|
|
26760
26777
|
class: "pptx-vue-effects-grid grid grid-cols-2 gap-2"
|
|
26761
|
-
}, wW = { class: "pptx-vue-effects-field flex flex-col gap-1" }, CW = { class: "pptx-vue-effects-label text-muted-foreground" }, NW = ["value"], BW = { class: "pptx-vue-effects-field flex flex-col gap-1" }, VW = { class: "pptx-vue-effects-label text-muted-foreground" }, DW = ["value"], TW = { class: "pptx-vue-effects-field flex flex-col gap-1" }, _W = { class: "pptx-vue-effects-label text-muted-foreground" }, IW = ["value"], PW = { class: "pptx-vue-effects-section flex flex-col gap-2 border-b border-border pb-2 last:border-b-0 last:pb-0" },
|
|
26778
|
+
}, wW = { class: "pptx-vue-effects-field flex flex-col gap-1" }, CW = { class: "pptx-vue-effects-label text-muted-foreground" }, NW = ["value"], BW = { class: "pptx-vue-effects-field flex flex-col gap-1" }, VW = { class: "pptx-vue-effects-label text-muted-foreground" }, DW = ["value"], TW = { class: "pptx-vue-effects-field flex flex-col gap-1" }, _W = { class: "pptx-vue-effects-label text-muted-foreground" }, IW = ["value"], PW = { class: "pptx-vue-effects-section flex flex-col gap-2 border-b border-border pb-2 last:border-b-0 last:pb-0" }, FW = { class: "pptx-vue-effects-check inline-flex items-center gap-2 text-foreground" }, zW = ["checked"], AW = {
|
|
26762
26779
|
key: 0,
|
|
26763
26780
|
class: "pptx-vue-effects-grid grid grid-cols-2 gap-2"
|
|
26764
26781
|
}, OW = { class: "pptx-vue-effects-field flex flex-col gap-1" }, MW = { class: "pptx-vue-effects-label text-muted-foreground" }, RW = ["value"], LW = { class: "pptx-vue-effects-field flex flex-col gap-1" }, $W = { class: "pptx-vue-effects-label text-muted-foreground" }, UW = ["value"], jW = { class: "pptx-vue-effects-field flex flex-col gap-1" }, KW = { class: "pptx-vue-effects-label text-muted-foreground" }, HW = ["value"], GW = { class: "pptx-vue-effects-field flex flex-col gap-1" }, ZW = { class: "pptx-vue-effects-label text-muted-foreground" }, WW = ["value"], qW = { class: "pptx-vue-effects-field col-span-2 flex flex-col gap-1" }, XW = { class: "pptx-vue-effects-label text-muted-foreground" }, JW = ["value"], YW = { class: "pptx-vue-effects-section flex flex-col gap-2 border-b border-border pb-2 last:border-b-0 last:pb-0" }, QW = { class: "pptx-vue-effects-check inline-flex items-center gap-2 text-foreground" }, eq = ["checked"], tq = {
|
|
@@ -26830,7 +26847,7 @@ var zL = { class: "pptx-vue-after-animation" }, FL = ["aria-label", "value"], AL
|
|
|
26830
26847
|
}(e.target.value))
|
|
26831
26848
|
}, null, 40, IW)])
|
|
26832
26849
|
])) : (0, a.createCommentVNode)("", !0)]),
|
|
26833
|
-
(0, a.createElementVNode)("div", PW, [(0, a.createElementVNode)("label",
|
|
26850
|
+
(0, a.createElementVNode)("div", PW, [(0, a.createElementVNode)("label", FW, [(0, a.createElementVNode)("pptx-ui-checkbox", {
|
|
26834
26851
|
type: "checkbox",
|
|
26835
26852
|
"data-testid": "fx-reflection-toggle",
|
|
26836
26853
|
checked: s.value.reflection.enabled,
|
|
@@ -26839,7 +26856,7 @@ var zL = { class: "pptx-vue-after-animation" }, FL = ["aria-label", "value"], AL
|
|
|
26839
26856
|
return;
|
|
26840
26857
|
var t;
|
|
26841
26858
|
})
|
|
26842
|
-
}, null, 40,
|
|
26859
|
+
}, null, 40, zW), (0, a.createTextVNode)(" " + (0, a.toDisplayString)((0, a.unref)(l)("pptx.effects.reflection")), 1)]), s.value.reflection.enabled ? ((0, a.openBlock)(), (0, a.createElementBlock)("div", AW, [
|
|
26843
26860
|
(0, a.createElementVNode)("label", OW, [(0, a.createElementVNode)("span", MW, (0, a.toDisplayString)((0, a.unref)(l)("pptx.effects.blur")), 1), (0, a.createElementVNode)("input", {
|
|
26844
26861
|
type: "number",
|
|
26845
26862
|
class: "pptx-vue-effects-input rounded border border-border bg-muted px-2 py-1",
|
|
@@ -26910,7 +26927,7 @@ var zL = { class: "pptx-vue-after-animation" }, FL = ["aria-label", "value"], AL
|
|
|
26910
26927
|
}, pq = { class: "pptx-vue-effects-field flex flex-col gap-1" }, uq = { class: "pptx-vue-effects-label text-muted-foreground" }, mq = ["value"], fq = { class: "pptx-vue-effects-field flex flex-col gap-1" }, gq = { class: "pptx-vue-effects-label text-muted-foreground" }, vq = ["value"], xq = { class: "pptx-vue-effects-field flex flex-col gap-1" }, hq = { class: "pptx-vue-effects-label text-muted-foreground" }, bq = ["value"], yq = { class: "pptx-vue-effects-field flex flex-col gap-1" }, kq = { class: "pptx-vue-effects-label text-muted-foreground" }, Sq = ["value"], Eq = { class: "pptx-vue-effects-check col-span-2 inline-flex items-center gap-2 text-foreground" }, wq = ["checked"], Cq = { class: "pptx-vue-effects-section flex flex-col gap-2 border-b border-border pb-2 last:border-b-0 last:pb-0" }, Nq = { class: "pptx-vue-effects-check inline-flex items-center gap-2 text-foreground" }, Bq = ["checked"], Vq = {
|
|
26911
26928
|
key: 0,
|
|
26912
26929
|
class: "pptx-vue-effects-grid grid grid-cols-2 gap-2"
|
|
26913
|
-
}, Dq = { class: "pptx-vue-effects-field flex flex-col gap-1" }, Tq = { class: "pptx-vue-effects-label text-muted-foreground" }, _q = ["value"], Iq = { class: "pptx-vue-effects-field flex flex-col gap-1" }, Pq = { class: "pptx-vue-effects-label text-muted-foreground" },
|
|
26930
|
+
}, Dq = { class: "pptx-vue-effects-field flex flex-col gap-1" }, Tq = { class: "pptx-vue-effects-label text-muted-foreground" }, _q = ["value"], Iq = { class: "pptx-vue-effects-field flex flex-col gap-1" }, Pq = { class: "pptx-vue-effects-label text-muted-foreground" }, Fq = ["value"], zq = { class: "pptx-vue-effects-field flex flex-col gap-1" }, Aq = { class: "pptx-vue-effects-label text-muted-foreground" }, Oq = ["value"], Mq = { class: "pptx-vue-effects-field flex flex-col gap-1" }, Rq = { class: "pptx-vue-effects-label text-muted-foreground" }, Lq = ["value"], Uq = (0, a.defineComponent)({
|
|
26914
26931
|
__name: "EffectsShadowSection",
|
|
26915
26932
|
props: { element: {} },
|
|
26916
26933
|
emits: ["update"],
|
|
@@ -27026,8 +27043,8 @@ var zL = { class: "pptx-vue-after-animation" }, FL = ["aria-label", "value"], AL
|
|
|
27026
27043
|
const t = c(e);
|
|
27027
27044
|
void 0 !== t && r("update", n.updateInnerShadowPatch(o.element, { blur: d(t, 0, 96) }));
|
|
27028
27045
|
}(e.target.value))
|
|
27029
|
-
}, null, 40,
|
|
27030
|
-
(0, a.createElementVNode)("label",
|
|
27046
|
+
}, null, 40, Fq)]),
|
|
27047
|
+
(0, a.createElementVNode)("label", zq, [(0, a.createElementVNode)("span", Aq, (0, a.toDisplayString)((0, a.unref)(l)("pptx.effects.offsetX")), 1), (0, a.createElementVNode)("input", {
|
|
27031
27048
|
type: "number",
|
|
27032
27049
|
class: "pptx-vue-effects-input rounded border border-border bg-muted px-2 py-1",
|
|
27033
27050
|
min: "-96",
|
|
@@ -27341,7 +27358,7 @@ var zL = { class: "pptx-vue-after-animation" }, FL = ["aria-label", "value"], AL
|
|
|
27341
27358
|
}), _X = { class: "pptx-vue-fill flex flex-col gap-2 text-xs" }, IX = {
|
|
27342
27359
|
key: 0,
|
|
27343
27360
|
class: "pptx-vue-fill-note text-muted-foreground italic"
|
|
27344
|
-
}, PX = { class: "pptx-vue-fill-field flex flex-col gap-1" },
|
|
27361
|
+
}, PX = { class: "pptx-vue-fill-field flex flex-col gap-1" }, FX = { class: "pptx-vue-fill-label text-muted-foreground" }, zX = ["aria-label", "value"], AX = { value: "none" }, OX = { value: "solid" }, MX = { value: "gradient" }, RX = { value: "pattern" }, LX = { class: "pptx-vue-fill-field flex flex-col gap-1" }, $X = { class: "pptx-vue-fill-label text-muted-foreground" }, UX = ["value"], jX = { class: "pptx-vue-fill-field flex flex-col gap-1" }, KX = { class: "pptx-vue-fill-label text-muted-foreground" }, HX = ["value"], ZX = (0, a.defineComponent)({
|
|
27345
27362
|
__name: "FillPanel",
|
|
27346
27363
|
props: { element: {} },
|
|
27347
27364
|
emits: ["update"],
|
|
@@ -27371,7 +27388,7 @@ var zL = { class: "pptx-vue-after-animation" }, FL = ["aria-label", "value"], AL
|
|
|
27371
27388
|
fillColorRef: e.ref
|
|
27372
27389
|
}), s?.push(e.hex);
|
|
27373
27390
|
}
|
|
27374
|
-
return (t, n) => ((0, a.openBlock)(), (0, a.createElementBlock)("div", _X, [c.value ? ((0, a.openBlock)(), (0, a.createElementBlock)(a.Fragment, { key: 1 }, [(0, a.createElementVNode)("label", PX, [(0, a.createElementVNode)("span",
|
|
27391
|
+
return (t, n) => ((0, a.openBlock)(), (0, a.createElementBlock)("div", _X, [c.value ? ((0, a.openBlock)(), (0, a.createElementBlock)(a.Fragment, { key: 1 }, [(0, a.createElementVNode)("label", PX, [(0, a.createElementVNode)("span", FX, (0, a.toDisplayString)((0, a.unref)(i)("pptx.fill.fill")), 1), (0, a.createElementVNode)("pptx-ui-select", {
|
|
27375
27392
|
"aria-label": (0, a.unref)(i)("pptx.fill.fill"),
|
|
27376
27393
|
class: "pptx-vue-fill-select bg-muted border border-border rounded px-2 py-1 max-md:min-h-[44px]",
|
|
27377
27394
|
value: p.value,
|
|
@@ -27383,7 +27400,7 @@ var zL = { class: "pptx-vue-after-animation" }, FL = ["aria-label", "value"], AL
|
|
|
27383
27400
|
(0, a.createElementVNode)("option", OX, (0, a.toDisplayString)((0, a.unref)(i)("pptx.fill.solid")), 1),
|
|
27384
27401
|
(0, a.createElementVNode)("option", MX, (0, a.toDisplayString)((0, a.unref)(i)("pptx.fill.gradient")), 1),
|
|
27385
27402
|
(0, a.createElementVNode)("option", RX, (0, a.toDisplayString)((0, a.unref)(i)("pptx.table.fillPattern")), 1)
|
|
27386
|
-
], 40,
|
|
27403
|
+
], 40, zX)]), "solid" === p.value ? ((0, a.openBlock)(), (0, a.createElementBlock)(a.Fragment, { key: 0 }, [
|
|
27387
27404
|
(0, a.createElementVNode)("label", LX, [(0, a.createElementVNode)("span", $X, (0, a.toDisplayString)((0, a.unref)(i)("pptx.fill.color")), 1), (0, a.createElementVNode)("input", {
|
|
27388
27405
|
type: "color",
|
|
27389
27406
|
class: "pptx-vue-fill-color w-full h-8 p-0 bg-muted border border-border rounded",
|
|
@@ -27592,7 +27609,7 @@ var aJ = { class: "pptx-vue-artistic flex flex-col gap-1 text-[11px]" }, rJ = {
|
|
|
27592
27609
|
}), NJ = { class: "pptx-vue-color-wash flex flex-col gap-1 text-[11px]" }, BJ = { class: "flex items-center justify-between gap-2" }, VJ = { class: "font-semibold text-muted-foreground" }, DJ = ["checked"], TJ = {
|
|
27593
27610
|
key: 0,
|
|
27594
27611
|
class: "grid grid-cols-2 gap-1.5"
|
|
27595
|
-
}, _J = { class: "flex items-center gap-2" }, IJ = { class: "text-muted-foreground" }, PJ = { class: "flex flex-col gap-1" },
|
|
27612
|
+
}, _J = { class: "flex items-center gap-2" }, IJ = { class: "text-muted-foreground" }, PJ = { class: "flex flex-col gap-1" }, FJ = { class: "text-muted-foreground" }, zJ = ["value"], OJ = (0, a.defineComponent)({
|
|
27596
27613
|
__name: "ColorWashSection",
|
|
27597
27614
|
props: { fx: {} },
|
|
27598
27615
|
emits: ["update"],
|
|
@@ -27624,7 +27641,7 @@ var aJ = { class: "pptx-vue-artistic flex flex-col gap-1 text-[11px]" }, rJ = {
|
|
|
27624
27641
|
value: s.value,
|
|
27625
27642
|
"aria-label": (0, a.unref)(l)("pptx.image.washColorAria"),
|
|
27626
27643
|
onCommit: u
|
|
27627
|
-
}, null, 8, ["value", "aria-label"])]), (0, a.createElementVNode)("label", PJ, [(0, a.createElementVNode)("span",
|
|
27644
|
+
}, null, 8, ["value", "aria-label"])]), (0, a.createElementVNode)("label", PJ, [(0, a.createElementVNode)("span", FJ, (0, a.toDisplayString)((0, a.unref)(l)("pptx.image.washOpacity")), 1), (0, a.createElementVNode)("input", {
|
|
27628
27645
|
type: "range",
|
|
27629
27646
|
class: "w-full accent-primary",
|
|
27630
27647
|
min: "0",
|
|
@@ -27632,7 +27649,7 @@ var aJ = { class: "pptx-vue-artistic flex flex-col gap-1 text-[11px]" }, rJ = {
|
|
|
27632
27649
|
step: "1",
|
|
27633
27650
|
value: c.value,
|
|
27634
27651
|
onInput: m
|
|
27635
|
-
}, null, 40,
|
|
27652
|
+
}, null, 40, zJ)])])) : (0, a.createCommentVNode)("", !0)]));
|
|
27636
27653
|
}
|
|
27637
27654
|
}), MJ = { class: "pptx-vue-duotone flex flex-col gap-2 text-[11px]" }, RJ = { class: "font-semibold text-muted-foreground" }, LJ = { class: "flex items-center gap-3" }, $J = { class: "flex items-center gap-1.5" }, UJ = { class: "text-muted-foreground" }, jJ = { class: "flex items-center gap-1.5" }, KJ = { class: "text-muted-foreground" }, HJ = { class: "flex flex-col gap-1" }, GJ = { class: "text-[10px] text-muted-foreground" }, ZJ = { class: "pptx-vue-duotone__grid grid grid-cols-4 gap-1" }, WJ = ["title", "onClick"], qJ = { class: "flex h-4 w-full overflow-hidden rounded" }, XJ = { class: "w-full truncate text-center text-[8px] text-muted-foreground" }, YJ = (0, a.defineComponent)({
|
|
27638
27655
|
__name: "DuotonePanel",
|
|
@@ -27880,7 +27897,7 @@ var aJ = { class: "pptx-vue-artistic flex flex-col gap-1 text-[11px]" }, rJ = {
|
|
|
27880
27897
|
}), _Y = { class: "pptx-vue-image-panel flex flex-col gap-3 text-[11px]" }, IY = {
|
|
27881
27898
|
key: 0,
|
|
27882
27899
|
class: "pptx-vue-image-panel__note text-muted-foreground"
|
|
27883
|
-
}, PY = { class: "pptx-vue-image-panel__field flex flex-col gap-1" },
|
|
27900
|
+
}, PY = { class: "pptx-vue-image-panel__field flex flex-col gap-1" }, FY = { class: "pptx-vue-image-panel__label font-semibold text-muted-foreground" }, zY = ["value", "placeholder"], AY = { class: "pptx-vue-image-panel__field flex items-center justify-between gap-2" }, OY = { class: "font-semibold text-muted-foreground" }, MY = ["checked"], RY = (0, a.defineComponent)({
|
|
27884
27901
|
__name: "ImagePanel",
|
|
27885
27902
|
props: { element: {} },
|
|
27886
27903
|
emits: ["update"],
|
|
@@ -27919,13 +27936,13 @@ var aJ = { class: "pptx-vue-artistic flex flex-col gap-1 text-[11px]" }, rJ = {
|
|
|
27919
27936
|
});
|
|
27920
27937
|
}
|
|
27921
27938
|
return (t, n) => ((0, a.openBlock)(), (0, a.createElementBlock)("div", _Y, [s.value ? ((0, a.openBlock)(), (0, a.createElementBlock)(a.Fragment, { key: 1 }, [
|
|
27922
|
-
(0, a.createElementVNode)("label", PY, [(0, a.createElementVNode)("span",
|
|
27939
|
+
(0, a.createElementVNode)("label", PY, [(0, a.createElementVNode)("span", FY, (0, a.toDisplayString)((0, a.unref)(i)("pptx.image.altText")), 1), (0, a.createElementVNode)("input", {
|
|
27923
27940
|
type: "text",
|
|
27924
27941
|
class: "pptx-vue-image-panel__input w-full bg-muted border border-border rounded px-1.5 py-1 text-[11px]",
|
|
27925
27942
|
value: c.value,
|
|
27926
27943
|
placeholder: (0, a.unref)(i)("pptx.image.altTextPlaceholder"),
|
|
27927
27944
|
onInput: g
|
|
27928
|
-
}, null, 40,
|
|
27945
|
+
}, null, 40, zY)]),
|
|
27929
27946
|
(0, a.createVNode)(TY, {
|
|
27930
27947
|
element: e.element,
|
|
27931
27948
|
onUpdate: f
|
|
@@ -28313,7 +28330,7 @@ var qY = {
|
|
|
28313
28330
|
}, IQ = { class: "text-[11px] text-muted-foreground" }, PQ = {
|
|
28314
28331
|
key: 0,
|
|
28315
28332
|
class: "space-y-1"
|
|
28316
|
-
},
|
|
28333
|
+
}, FQ = ["src"], zQ = ["src"], AQ = { class: "flex items-center gap-1" }, OQ = ["title"], MQ = { class: "text-[10px] text-muted-foreground tabular-nums" }, RQ = { class: "grid grid-cols-2 gap-1.5" }, LQ = { class: "flex flex-col gap-0.5" }, $Q = ["disabled", "value"], UQ = { class: "flex flex-col gap-0.5" }, jQ = ["disabled", "value"], KQ = { class: "text-[11px] tabular-nums font-medium" }, HQ = {
|
|
28317
28334
|
key: 0,
|
|
28318
28335
|
class: "text-[10px] text-red-400"
|
|
28319
28336
|
}, GQ = "pptx-vue-media-card rounded border border-border bg-card p-2 space-y-2", ZQ = "text-[11px] uppercase tracking-wide text-muted-foreground", WQ = "text-[11px] text-muted-foreground", qQ = "flex-1 bg-muted border border-border rounded px-1.5 py-0.5 w-full text-[11px] tabular-nums", XQ = "rounded bg-muted hover:bg-accent px-2 py-1 text-[11px] transition-colors", YQ = (0, a.defineComponent)({
|
|
@@ -28393,7 +28410,7 @@ var qY = {
|
|
|
28393
28410
|
onPlay: t[0] || (t[0] = (e) => u.value = !0),
|
|
28394
28411
|
onPause: t[1] || (t[1] = (e) => u.value = !1),
|
|
28395
28412
|
onEnded: t[2] || (t[2] = (e) => u.value = !1)
|
|
28396
|
-
}, null, 40,
|
|
28413
|
+
}, null, 40, FQ)) : ((0, a.openBlock)(), (0, a.createElementBlock)("audio", {
|
|
28397
28414
|
key: 1,
|
|
28398
28415
|
ref_key: "mediaRef",
|
|
28399
28416
|
ref: c,
|
|
@@ -28406,7 +28423,7 @@ var qY = {
|
|
|
28406
28423
|
onPlay: t[3] || (t[3] = (e) => u.value = !0),
|
|
28407
28424
|
onPause: t[4] || (t[4] = (e) => u.value = !1),
|
|
28408
28425
|
onEnded: t[5] || (t[5] = (e) => u.value = !1)
|
|
28409
|
-
}, null, 40,
|
|
28426
|
+
}, null, 40, zQ)), (0, a.createElementVNode)("div", AQ, [(0, a.createElementVNode)("button", {
|
|
28410
28427
|
type: "button",
|
|
28411
28428
|
class: (0, a.normalizeClass)(XQ),
|
|
28412
28429
|
title: u.value ? (0, a.unref)(l)("pptx.media.pause") : (0, a.unref)(l)("pptx.media.play"),
|
|
@@ -28690,7 +28707,7 @@ var qY = {
|
|
|
28690
28707
|
], B0 = { class: "flex items-center justify-between gap-2" }, V0 = { class: "text-muted-foreground" }, D0 = { class: "truncate text-foreground" }, T0 = {
|
|
28691
28708
|
key: 1,
|
|
28692
28709
|
class: "flex items-center justify-between gap-2"
|
|
28693
|
-
}, _0 = { class: "text-muted-foreground" }, I0 = ["title"], P0 = { class: "flex items-center justify-between gap-2" },
|
|
28710
|
+
}, _0 = { class: "text-muted-foreground" }, I0 = ["title"], P0 = { class: "flex items-center justify-between gap-2" }, F0 = { class: "text-muted-foreground" }, A0 = (0, a.defineComponent)({
|
|
28694
28711
|
__name: "OlePropertiesPanel",
|
|
28695
28712
|
props: {
|
|
28696
28713
|
element: {},
|
|
@@ -28725,7 +28742,7 @@ var qY = {
|
|
|
28725
28742
|
class: "truncate text-foreground",
|
|
28726
28743
|
title: s.value.fileName
|
|
28727
28744
|
}, (0, a.toDisplayString)(s.value.fileName), 9, I0)])) : (0, a.createCommentVNode)("", !0),
|
|
28728
|
-
(0, a.createElementVNode)("div", P0, [(0, a.createElementVNode)("span",
|
|
28745
|
+
(0, a.createElementVNode)("div", P0, [(0, a.createElementVNode)("span", F0, (0, a.toDisplayString)((0, a.unref)(i)("pptx.ole.linkStatus")), 1), (0, a.createElementVNode)("span", { class: (0, a.normalizeClass)(["inline-flex items-center rounded-full px-2 py-0.5 text-[10px] font-medium", s.value.isLinked ? "bg-blue-500/20 text-blue-400" : "bg-green-500/20 text-green-400"]) }, (0, a.toDisplayString)(s.value.isLinked ? (0, a.unref)(i)("pptx.ole.linked") : (0, a.unref)(i)("pptx.ole.embedded")), 3)])
|
|
28729
28746
|
]), (0, a.createVNode)(S0, {
|
|
28730
28747
|
open: c.value,
|
|
28731
28748
|
element: s.value,
|
|
@@ -29110,7 +29127,7 @@ var qY = {
|
|
|
29110
29127
|
}, D1 = {
|
|
29111
29128
|
key: 1,
|
|
29112
29129
|
class: "pptx-vue-stroke-fields flex flex-col gap-2"
|
|
29113
|
-
}, T1 = { class: "pptx-vue-stroke-field flex flex-col gap-1" }, _1 = { class: "pptx-vue-stroke-label text-muted-foreground" }, I1 = ["value"], P1 = { class: "pptx-vue-stroke-field flex flex-col gap-1" },
|
|
29130
|
+
}, T1 = { class: "pptx-vue-stroke-field flex flex-col gap-1" }, _1 = { class: "pptx-vue-stroke-label text-muted-foreground" }, I1 = ["value"], P1 = { class: "pptx-vue-stroke-field flex flex-col gap-1" }, F1 = { class: "pptx-vue-stroke-label text-muted-foreground" }, z1 = ["value"], A1 = { class: "pptx-vue-stroke-field flex flex-col gap-1" }, O1 = { class: "pptx-vue-stroke-label text-muted-foreground" }, M1 = ["aria-label", "value"], R1 = ["value"], $1 = (0, a.defineComponent)({
|
|
29114
29131
|
__name: "StrokePanel",
|
|
29115
29132
|
props: { element: {} },
|
|
29116
29133
|
emits: ["update"],
|
|
@@ -29165,14 +29182,14 @@ var qY = {
|
|
|
29165
29182
|
colors: (0, a.unref)(s).recent.value,
|
|
29166
29183
|
onPick: v
|
|
29167
29184
|
}, null, 8, ["colors"])) : (0, a.createCommentVNode)("", !0),
|
|
29168
|
-
(0, a.createElementVNode)("label", P1, [(0, a.createElementVNode)("span",
|
|
29185
|
+
(0, a.createElementVNode)("label", P1, [(0, a.createElementVNode)("span", F1, (0, a.toDisplayString)((0, a.unref)(i)("pptx.stroke.widthPx")), 1), (0, a.createElementVNode)("input", {
|
|
29169
29186
|
type: "number",
|
|
29170
29187
|
class: "pptx-vue-stroke-input w-full bg-muted border border-border rounded px-2 py-1 max-md:min-h-[44px]",
|
|
29171
29188
|
min: "0",
|
|
29172
29189
|
step: "0.5",
|
|
29173
29190
|
value: u.value,
|
|
29174
29191
|
onInput: h
|
|
29175
|
-
}, null, 40,
|
|
29192
|
+
}, null, 40, z1)]),
|
|
29176
29193
|
(0, a.createElementVNode)("label", A1, [(0, a.createElementVNode)("span", O1, (0, a.toDisplayString)((0, a.unref)(i)("pptx.stroke.dash")), 1), (0, a.createElementVNode)("pptx-ui-select", {
|
|
29177
29194
|
"aria-label": (0, a.unref)(i)("pptx.stroke.dash"),
|
|
29178
29195
|
class: "pptx-vue-stroke-input w-full bg-muted border border-border rounded px-2 py-1 max-md:min-h-[44px]",
|
|
@@ -29346,7 +29363,7 @@ var qY = {
|
|
|
29346
29363
|
"aria-label",
|
|
29347
29364
|
"disabled",
|
|
29348
29365
|
"value"
|
|
29349
|
-
], T2 = ["value"], _2 = { class: "grid grid-cols-2 gap-1.5" }, I2 = { class: "flex flex-col gap-0.5" }, P2 = { class: "text-[11px] text-muted-foreground" },
|
|
29366
|
+
], T2 = ["value"], _2 = { class: "grid grid-cols-2 gap-1.5" }, I2 = { class: "flex flex-col gap-0.5" }, P2 = { class: "text-[11px] text-muted-foreground" }, F2 = ["disabled", "value"], z2 = { class: "flex flex-col gap-0.5" }, A2 = { class: "text-[11px] text-muted-foreground" }, O2 = ["disabled", "value"], M2 = { class: "flex flex-col gap-1" }, R2 = { class: "text-[11px] uppercase tracking-wide text-muted-foreground" }, L2 = { class: "grid grid-cols-2 gap-1.5" }, $2 = { class: "text-[11px] text-muted-foreground" }, U2 = [
|
|
29350
29367
|
"disabled",
|
|
29351
29368
|
"value",
|
|
29352
29369
|
"onInput"
|
|
@@ -29473,7 +29490,7 @@ var qY = {
|
|
|
29473
29490
|
value: e.cellStyle.patternFillForeground ?? "#000000",
|
|
29474
29491
|
onInput: o[4] || (o[4] = (e) => r("update", { patternFillForeground: e.target.value })),
|
|
29475
29492
|
onChange: o[5] || (o[5] = (e) => (0, a.unref)(i)?.push(e.target.value))
|
|
29476
|
-
}, null, 40,
|
|
29493
|
+
}, null, 40, F2)]), (0, a.createElementVNode)("label", z2, [(0, a.createElementVNode)("span", A2, (0, a.toDisplayString)((0, a.unref)(l)("pptx.table.patternBackground")), 1), (0, a.createElementVNode)("input", {
|
|
29477
29494
|
type: "color",
|
|
29478
29495
|
class: "h-7 w-full cursor-pointer rounded border border-border bg-transparent",
|
|
29479
29496
|
disabled: !e.canEdit,
|
|
@@ -29756,7 +29773,7 @@ var qY = {
|
|
|
29756
29773
|
"disabled",
|
|
29757
29774
|
"value",
|
|
29758
29775
|
"onInput"
|
|
29759
|
-
],
|
|
29776
|
+
], F4 = (0, a.defineComponent)({
|
|
29760
29777
|
__name: "TableSizePanel",
|
|
29761
29778
|
props: {
|
|
29762
29779
|
tableData: {},
|
|
@@ -29823,7 +29840,7 @@ var qY = {
|
|
|
29823
29840
|
c[0] || (c[0] = (0, a.createElementVNode)("span", { class: "w-6 text-muted-foreground" }, "px", -1))
|
|
29824
29841
|
]))), 128))])]));
|
|
29825
29842
|
}
|
|
29826
|
-
}),
|
|
29843
|
+
}), z4 = { class: "flex flex-col gap-2" }, A4 = { class: "flex flex-col gap-1" }, O4 = { class: "text-[11px] uppercase tracking-wide text-muted-foreground" }, M4 = { class: "flex items-center gap-2 text-[11px]" }, R4 = ["disabled", "value"], L4 = { class: "flex items-center gap-1" }, $4 = ["disabled", "checked"], U4 = { class: "flex flex-col gap-1" }, j4 = { class: "text-[11px] uppercase tracking-wide text-muted-foreground" }, K4 = { class: "flex gap-1" }, H4 = ["disabled", "onClick"], G4 = { class: "flex items-center gap-2 text-[11px]" }, Z4 = ["disabled", "value"], W4 = { class: "flex flex-col gap-1" }, q4 = { class: "text-[11px] uppercase tracking-wide text-muted-foreground" }, X4 = { class: "w-28 shrink-0 text-muted-foreground" }, J4 = [
|
|
29827
29844
|
"disabled",
|
|
29828
29845
|
"value",
|
|
29829
29846
|
"onChange"
|
|
@@ -29851,7 +29868,7 @@ var qY = {
|
|
|
29851
29868
|
function l(e, t) {
|
|
29852
29869
|
return e.borders[t];
|
|
29853
29870
|
}
|
|
29854
|
-
return (t, i) => ((0, a.openBlock)(), (0, a.createElementBlock)("div",
|
|
29871
|
+
return (t, i) => ((0, a.openBlock)(), (0, a.createElementBlock)("div", z4, [(0, a.createElementVNode)("div", A4, [
|
|
29855
29872
|
(0, a.createElementVNode)("div", O4, (0, a.toDisplayString)((0, a.unref)(r)("pptx.tableStyleEditor.fillSection")), 1),
|
|
29856
29873
|
(0, a.createElementVNode)("div", M4, [(0, a.createElementVNode)("input", {
|
|
29857
29874
|
type: "color",
|
|
@@ -30194,10 +30211,10 @@ var qY = {
|
|
|
30194
30211
|
])) : (0, a.createCommentVNode)("", !0)
|
|
30195
30212
|
]));
|
|
30196
30213
|
}
|
|
30197
|
-
}), P8 = { class: "pptx-vue-table-panel flex flex-col gap-3 text-xs" },
|
|
30214
|
+
}), P8 = { class: "pptx-vue-table-panel flex flex-col gap-3 text-xs" }, F8 = {
|
|
30198
30215
|
key: 0,
|
|
30199
30216
|
class: "text-[11px] text-muted-foreground"
|
|
30200
|
-
},
|
|
30217
|
+
}, z8 = {
|
|
30201
30218
|
key: 1,
|
|
30202
30219
|
class: "text-[11px] text-muted-foreground"
|
|
30203
30220
|
}, A8 = { class: "flex gap-4 text-[11px] text-muted-foreground" }, O8 = { class: "flex flex-col gap-1" }, M8 = { class: "text-[11px] font-medium" }, R8 = { class: "flex flex-wrap gap-1" }, L8 = ["disabled"], $8 = { class: "flex flex-col gap-1" }, U8 = { class: "text-[11px] font-medium" }, j8 = { class: "flex flex-wrap gap-1" }, K8 = ["disabled"], G8 = (0, a.defineComponent)({
|
|
@@ -30321,12 +30338,12 @@ var qY = {
|
|
|
30321
30338
|
"row-index",
|
|
30322
30339
|
"column-index"
|
|
30323
30340
|
])) : (0, a.createCommentVNode)("", !0),
|
|
30324
|
-
(0, a.createVNode)(
|
|
30341
|
+
(0, a.createVNode)(F4, {
|
|
30325
30342
|
"table-data": c.value,
|
|
30326
30343
|
"can-edit": !0,
|
|
30327
30344
|
onUpdate: y
|
|
30328
30345
|
}, null, 8, ["table-data"])
|
|
30329
|
-
], 64)) : ((0, a.openBlock)(), (0, a.createElementBlock)("p",
|
|
30346
|
+
], 64)) : ((0, a.openBlock)(), (0, a.createElementBlock)("p", z8, (0, a.toDisplayString)((0, a.unref)(l)("pptx.table.noEditableData")), 1)) : ((0, a.openBlock)(), (0, a.createElementBlock)("p", F8, (0, a.toDisplayString)((0, a.unref)(l)("pptx.table.selectTablePrompt")), 1))]));
|
|
30330
30347
|
}
|
|
30331
30348
|
}), Z8 = { class: "pptx-vue-text-panel flex flex-col gap-2 p-2" }, W8 = { class: "pptx-vue-text-title text-xs font-semibold uppercase tracking-wide text-muted-foreground" }, q8 = {
|
|
30332
30349
|
key: 0,
|
|
@@ -30737,7 +30754,7 @@ var qY = {
|
|
|
30737
30754
|
}, 8, ["title"])) : (0, a.createCommentVNode)("", !0)
|
|
30738
30755
|
], 10, w5));
|
|
30739
30756
|
}
|
|
30740
|
-
}), N5 = n._plugin_vue_export_helper_default(C5, [["__scopeId", "data-v-e38c5035"]]), B5 = "text-[11px] uppercase tracking-wide text-muted-foreground", V5 = "rounded border border-border bg-card p-2 space-y-2", D5 = "flex-1 bg-muted border border-border rounded px-1.5 py-0.5 w-full", T5 = "rounded bg-muted hover:bg-accent px-2 py-1 text-[11px] transition-colors", _5 = { class: "space-y-1" }, I5 = ["title", "onClick"], P5 = { class: "text-muted-foreground w-4 text-right" },
|
|
30757
|
+
}), N5 = n._plugin_vue_export_helper_default(C5, [["__scopeId", "data-v-e38c5035"]]), B5 = "text-[11px] uppercase tracking-wide text-muted-foreground", V5 = "rounded border border-border bg-card p-2 space-y-2", D5 = "flex-1 bg-muted border border-border rounded px-1.5 py-0.5 w-full", T5 = "rounded bg-muted hover:bg-accent px-2 py-1 text-[11px] transition-colors", _5 = { class: "space-y-1" }, I5 = ["title", "onClick"], P5 = { class: "text-muted-foreground w-4 text-right" }, F5 = { class: "flex-1 truncate" }, z5 = {
|
|
30741
30758
|
key: 1,
|
|
30742
30759
|
class: "text-muted-foreground italic"
|
|
30743
30760
|
}, A5 = (0, a.defineComponent)({
|
|
@@ -30762,7 +30779,7 @@ var qY = {
|
|
|
30762
30779
|
title: `${e.element.type} - ${e.element.id}`,
|
|
30763
30780
|
class: (0, a.normalizeClass)((0, a.unref)(Wt)("flex items-center gap-2 px-2 py-1 rounded cursor-pointer transition-colors", e.selected ? "bg-primary/30 text-primary" : "hover:bg-muted text-foreground")),
|
|
30764
30781
|
onClick: (t) => l("select-element", e.element.id)
|
|
30765
|
-
}, [(0, a.createElementVNode)("span", P5, (0, a.toDisplayString)(e.index + 1), 1), (0, a.createElementVNode)("span",
|
|
30782
|
+
}, [(0, a.createElementVNode)("span", P5, (0, a.toDisplayString)(e.index + 1), 1), (0, a.createElementVNode)("span", F5, (0, a.toDisplayString)(e.label), 1)], 10, I5))), 128)) : ((0, a.openBlock)(), (0, a.createElementBlock)("div", z5, (0, a.toDisplayString)((0, a.unref)(i)("pptx.inspector.noSlideSelected")), 1))]));
|
|
30766
30783
|
}
|
|
30767
30784
|
}), O5 = { class: "flex items-center justify-between gap-2 px-3 py-2 border-b border-border" }, M5 = { class: "flex items-center gap-1 rounded bg-muted p-0.5" }, R5 = ["title", "onClick"], L5 = { class: "hidden sm:inline" }, $5 = ["title"], U5 = (0, a.defineComponent)({
|
|
30768
30785
|
__name: "InspectorTabs",
|
|
@@ -31051,7 +31068,7 @@ var qY = {
|
|
|
31051
31068
|
"disabled",
|
|
31052
31069
|
"value",
|
|
31053
31070
|
"aria-label"
|
|
31054
|
-
], _3 = ["value"], I3 = { class: "mb-1.5 flex flex-col gap-1 text-[11px]" }, P3 = { class: "text-muted-foreground" },
|
|
31071
|
+
], _3 = ["value"], I3 = { class: "mb-1.5 flex flex-col gap-1 text-[11px]" }, P3 = { class: "text-muted-foreground" }, F3 = ["aria-label"], z3 = [
|
|
31055
31072
|
"data-pptx-slide-size-orientation",
|
|
31056
31073
|
"aria-pressed",
|
|
31057
31074
|
"disabled",
|
|
@@ -31113,7 +31130,7 @@ var qY = {
|
|
|
31113
31130
|
onClick: (t) => function(e) {
|
|
31114
31131
|
u(n.withSlideSizeOrientation(d.value.size, e));
|
|
31115
31132
|
}(e)
|
|
31116
|
-
}, (0, a.toDisplayString)((0, a.unref)(l)(`pptx.slideSize.${e}`)), 11,
|
|
31133
|
+
}, (0, a.toDisplayString)((0, a.unref)(l)(`pptx.slideSize.${e}`)), 11, z3)), 64))], 8, F3)]),
|
|
31117
31134
|
(0, a.createElementVNode)("div", A3, [((0, a.openBlock)(), (0, a.createElementBlock)(a.Fragment, null, (0, a.renderList)(i, ([e, t]) => (0, a.createElementVNode)("label", {
|
|
31118
31135
|
key: t,
|
|
31119
31136
|
class: "flex items-center gap-1"
|
|
@@ -31440,10 +31457,10 @@ var qY = {
|
|
|
31440
31457
|
}, V6 = { class: "text-xs text-muted-foreground" }, D6 = ["value"], T6 = {
|
|
31441
31458
|
key: 3,
|
|
31442
31459
|
class: "mt-2 space-y-1 px-2.5"
|
|
31443
|
-
}, _6 = { class: "text-xs text-muted-foreground" }, I6 = ["value", "aria-label"], P6 = ["value"],
|
|
31460
|
+
}, _6 = { class: "text-xs text-muted-foreground" }, I6 = ["value", "aria-label"], P6 = ["value"], F6 = {
|
|
31444
31461
|
key: 4,
|
|
31445
31462
|
class: "mt-1 inline-flex items-center gap-2 px-2.5 text-xs text-foreground"
|
|
31446
|
-
},
|
|
31463
|
+
}, z6 = ["checked"], A6 = {
|
|
31447
31464
|
key: 5,
|
|
31448
31465
|
class: "mt-2 px-2.5"
|
|
31449
31466
|
}, O6 = (0, a.defineComponent)({
|
|
@@ -31506,12 +31523,12 @@ var qY = {
|
|
|
31506
31523
|
key: e.value,
|
|
31507
31524
|
value: e.value
|
|
31508
31525
|
}, (0, a.toDisplayString)((0, a.unref)(i)(e.i18nKey)), 9, P6))), 128))], 40, I6)])) : (0, a.createCommentVNode)("", !0),
|
|
31509
|
-
s.value ? ((0, a.openBlock)(), (0, a.createElementBlock)("label",
|
|
31526
|
+
s.value ? ((0, a.openBlock)(), (0, a.createElementBlock)("label", F6, [(0, a.createElementVNode)("pptx-ui-checkbox", {
|
|
31510
31527
|
type: "checkbox",
|
|
31511
31528
|
"data-testid": "transition-advance",
|
|
31512
31529
|
checked: c.value,
|
|
31513
31530
|
onChange: S
|
|
31514
|
-
}, null, 40,
|
|
31531
|
+
}, null, 40, z6), (0, a.createTextVNode)(" " + (0, a.toDisplayString)((0, a.unref)(i)("pptx.transition.advanceOnClick")), 1)])) : (0, a.createCommentVNode)("", !0),
|
|
31515
31532
|
e.slide?.transition ? ((0, a.openBlock)(), (0, a.createElementBlock)("div", A6, [(0, a.createVNode)(b6, { transition: e.slide.transition }, null, 8, ["transition"])])) : (0, a.createCommentVNode)("", !0)
|
|
31516
31533
|
]));
|
|
31517
31534
|
}
|
|
@@ -32097,7 +32114,7 @@ var qY = {
|
|
|
32097
32114
|
}), P9 = {
|
|
32098
32115
|
key: 2,
|
|
32099
32116
|
class: "px-4 py-6 text-center text-xs text-muted-foreground"
|
|
32100
|
-
},
|
|
32117
|
+
}, F9 = (0, a.defineComponent)({
|
|
32101
32118
|
__name: "SlideDeckInspector",
|
|
32102
32119
|
props: {
|
|
32103
32120
|
deck: {},
|
|
@@ -32230,7 +32247,7 @@ var qY = {
|
|
|
32230
32247
|
"onClose"
|
|
32231
32248
|
])) : e.mobile ? ((0, a.openBlock)(), (0, a.createElementBlock)("p", P9, (0, a.toDisplayString)((0, a.unref)(o)("pptx.inspector.noSlideSelected")), 1)) : (0, a.createCommentVNode)("", !0);
|
|
32232
32249
|
}
|
|
32233
|
-
}),
|
|
32250
|
+
}), z9 = (0, a.defineComponent)({
|
|
32234
32251
|
__name: "ViewerMobileSheets",
|
|
32235
32252
|
props: {
|
|
32236
32253
|
chrome: {},
|
|
@@ -32332,7 +32349,7 @@ var qY = {
|
|
|
32332
32349
|
title: (0, a.unref)(o)("pptx.arrange.format"),
|
|
32333
32350
|
onClose: n[10] || (n[10] = (t) => e.chrome.mobileInspectorOpen.value = !1)
|
|
32334
32351
|
}, {
|
|
32335
|
-
default: (0, a.withCtx)(() => [(0, a.createVNode)(
|
|
32352
|
+
default: (0, a.withCtx)(() => [(0, a.createVNode)(F9, {
|
|
32336
32353
|
mobile: "",
|
|
32337
32354
|
deck: e.deck,
|
|
32338
32355
|
element: e.inspectorElement,
|
|
@@ -32870,11 +32887,11 @@ var W9 = { class: "flex items-start gap-3" }, q9 = { class: "flex h-10 w-10 item
|
|
|
32870
32887
|
"disabled",
|
|
32871
32888
|
"title",
|
|
32872
32889
|
"aria-label"
|
|
32873
|
-
],
|
|
32890
|
+
], F7 = [
|
|
32874
32891
|
"disabled",
|
|
32875
32892
|
"title",
|
|
32876
32893
|
"aria-label"
|
|
32877
|
-
],
|
|
32894
|
+
], z7 = ["title", "aria-label"], A7 = ["title", "aria-label"], O7 = { class: "pptx-vue-ptb-group relative flex items-center" }, M7 = ["title", "aria-label"], R7 = ["title", "aria-label"], L7 = ["aria-label", "onClick"], $7 = { class: "pptx-vue-ptb-group relative flex items-center" }, U7 = ["title", "aria-label"], j7 = ["title", "aria-label"], K7 = ["aria-label", "onClick"], H7 = ["title", "aria-label"], G7 = ["title", "aria-label"], Z7 = [
|
|
32878
32895
|
"disabled",
|
|
32879
32896
|
"title",
|
|
32880
32897
|
"aria-label"
|
|
@@ -32985,7 +33002,7 @@ var W9 = { class: "flex items-start gap-3" }, q9 = { class: "flex h-10 w-10 item
|
|
|
32985
33002
|
}, [(0, a.createVNode)((0, a.unref)(r.ChevronRight), {
|
|
32986
33003
|
size: 18,
|
|
32987
33004
|
"aria-hidden": "true"
|
|
32988
|
-
})], 10,
|
|
33005
|
+
})], 10, F7),
|
|
32989
33006
|
(0, a.createElementVNode)("div", {
|
|
32990
33007
|
class: (0, a.normalizeClass)(["pptx-vue-ptb-divider", (0, a.unref)(C).divider]),
|
|
32991
33008
|
"data-pptx-present-control": "divider-navigation"
|
|
@@ -32998,7 +33015,7 @@ var W9 = { class: "flex items-start gap-3" }, q9 = { class: "flex h-10 w-10 item
|
|
|
32998
33015
|
}, [(0, a.createVNode)((0, a.unref)(r.Timer), {
|
|
32999
33016
|
size: 14,
|
|
33000
33017
|
"aria-hidden": "true"
|
|
33001
|
-
}), (0, a.createElementVNode)("span", null, (0, a.toDisplayString)(g.value), 1)], 10,
|
|
33018
|
+
}), (0, a.createElementVNode)("span", null, (0, a.toDisplayString)(g.value), 1)], 10, z7),
|
|
33002
33019
|
(0, a.createElementVNode)("div", {
|
|
33003
33020
|
class: (0, a.normalizeClass)(["pptx-vue-ptb-divider", (0, a.unref)(C).divider]),
|
|
33004
33021
|
"data-pptx-present-control": "divider-timer"
|
|
@@ -33378,10 +33395,10 @@ var cee = Object.fromEntries(n.PRESENTER_RAIL_CONTROLS.map((e) => [e.id, e.label
|
|
|
33378
33395
|
"disabled",
|
|
33379
33396
|
"title",
|
|
33380
33397
|
"aria-label"
|
|
33381
|
-
], Pee = { key: 0 },
|
|
33398
|
+
], Pee = { key: 0 }, Fee = {
|
|
33382
33399
|
key: 2,
|
|
33383
33400
|
class: "pptx-vue-presenter-notes-empty italic text-muted-foreground"
|
|
33384
|
-
},
|
|
33401
|
+
}, zee = (0, a.defineComponent)({
|
|
33385
33402
|
__name: "PresenterNotesRail",
|
|
33386
33403
|
props: {
|
|
33387
33404
|
slides: {},
|
|
@@ -33505,7 +33522,7 @@ var cee = Object.fromEntries(n.PRESENTER_RAIL_CONTROLS.map((e) => [e.id, e.label
|
|
|
33505
33522
|
}, [f.value ? ((0, a.openBlock)(!0), (0, a.createElementBlock)(a.Fragment, { key: 0 }, (0, a.renderList)(f.value, (e) => ((0, a.openBlock)(), (0, a.createElementBlock)(a.Fragment, { key: e.key }, ["break" === e.kind ? ((0, a.openBlock)(), (0, a.createElementBlock)("br", Pee)) : ((0, a.openBlock)(), (0, a.createElementBlock)("span", {
|
|
33506
33523
|
key: 1,
|
|
33507
33524
|
style: (0, a.normalizeStyle)(e.style)
|
|
33508
|
-
}, (0, a.toDisplayString)(e.text), 5))], 64))), 128)) : g.value ? ((0, a.openBlock)(), (0, a.createElementBlock)(a.Fragment, { key: 1 }, [(0, a.createTextVNode)((0, a.toDisplayString)(m.value), 1)], 64)) : ((0, a.openBlock)(), (0, a.createElementBlock)("span",
|
|
33525
|
+
}, (0, a.toDisplayString)(e.text), 5))], 64))), 128)) : g.value ? ((0, a.openBlock)(), (0, a.createElementBlock)(a.Fragment, { key: 1 }, [(0, a.createTextVNode)((0, a.toDisplayString)(m.value), 1)], 64)) : ((0, a.openBlock)(), (0, a.createElementBlock)("span", Fee, (0, a.toDisplayString)((0, a.unref)(i)((0, a.unref)(s).noNotes)), 1))], 4)])
|
|
33509
33526
|
], 2));
|
|
33510
33527
|
}
|
|
33511
33528
|
}), Aee = ["onClick"], Oee = (0, a.defineComponent)({
|
|
@@ -33721,7 +33738,7 @@ var cee = Object.fromEntries(n.PRESENTER_RAIL_CONTROLS.map((e) => [e.id, e.label
|
|
|
33721
33738
|
"slide-count",
|
|
33722
33739
|
"zoom",
|
|
33723
33740
|
"advances-on-click"
|
|
33724
|
-
]), (0, a.createVNode)(
|
|
33741
|
+
]), (0, a.createVNode)(zee, {
|
|
33725
33742
|
slides: e.slides,
|
|
33726
33743
|
"current-slide-index": e.currentSlideIndex,
|
|
33727
33744
|
"canvas-size": e.canvasSize,
|
|
@@ -34183,7 +34200,7 @@ var cee = Object.fromEntries(n.PRESENTER_RAIL_CONTROLS.map((e) => [e.id, e.label
|
|
|
34183
34200
|
bottom: `${String(n.PRESENT_TOOLBAR_METRICS.bottomOffset)}px`,
|
|
34184
34201
|
zIndex: String(n.PRESENT_TOOLBAR_METRICS.zIndex),
|
|
34185
34202
|
transitionDuration: `${String(n.PRESENT_TOOLBAR_METRICS.fadeMs)}ms`
|
|
34186
|
-
})), P = (0, a.ref)(o.startInPresenterView),
|
|
34203
|
+
})), P = (0, a.ref)(o.startInPresenterView), F = (0, a.ref)(0), { isMobile: z } = n.useIsMobile(), A = (0, a.ref)(!1), O = (0, a.ref)(!0), { toolbarVisible: M, setToolbarVisible: R } = n.useToolbarAutoHide({ enabled: () => o.showPopupToolbar });
|
|
34187
34204
|
function L(e) {
|
|
34188
34205
|
e > 0 ? g.next() : g.prev();
|
|
34189
34206
|
}
|
|
@@ -34231,7 +34248,7 @@ var cee = Object.fromEntries(n.PRESENTER_RAIL_CONTROLS.map((e) => [e.id, e.label
|
|
|
34231
34248
|
g.prev();
|
|
34232
34249
|
break;
|
|
34233
34250
|
case "seeAllSlides":
|
|
34234
|
-
P.value = !0,
|
|
34251
|
+
P.value = !0, F.value += 1;
|
|
34235
34252
|
break;
|
|
34236
34253
|
case "presenterView":
|
|
34237
34254
|
P.value = !P.value;
|
|
@@ -34381,7 +34398,7 @@ var cee = Object.fromEntries(n.PRESENTER_RAIL_CONTROLS.map((e) => [e.id, e.label
|
|
|
34381
34398
|
setToolbarVisible: R,
|
|
34382
34399
|
setBlackout: U,
|
|
34383
34400
|
showAllSlides: () => {
|
|
34384
|
-
P.value = !0,
|
|
34401
|
+
P.value = !0, F.value += 1;
|
|
34385
34402
|
}
|
|
34386
34403
|
});
|
|
34387
34404
|
const Y = (0, a.ref)(1);
|
|
@@ -34485,7 +34502,7 @@ var cee = Object.fromEntries(n.PRESENTER_RAIL_CONTROLS.map((e) => [e.id, e.label
|
|
|
34485
34502
|
])) : (0, a.createCommentVNode)("", !0)
|
|
34486
34503
|
], 36),
|
|
34487
34504
|
(0, a.createVNode)(C7, { snapshot: (0, a.unref)(k).snapshot.value }, null, 8, ["snapshot"]),
|
|
34488
|
-
P.value && (0, a.unref)(
|
|
34505
|
+
P.value && (0, a.unref)(z) ? ((0, a.openBlock)(), (0, a.createBlock)(b7, {
|
|
34489
34506
|
key: 0,
|
|
34490
34507
|
slides: e.slides,
|
|
34491
34508
|
"current-slide-index": (0, a.unref)(g).currentIndex.value,
|
|
@@ -34516,7 +34533,7 @@ var cee = Object.fromEntries(n.PRESENTER_RAIL_CONTROLS.map((e) => [e.id, e.label
|
|
|
34516
34533
|
snapshot: (0, a.unref)(k).snapshot.value,
|
|
34517
34534
|
"active-custom-show": e.activeCustomShow,
|
|
34518
34535
|
"authored-range": e.authoredRange,
|
|
34519
|
-
"open-slide-grid-nonce":
|
|
34536
|
+
"open-slide-grid-nonce": F.value,
|
|
34520
34537
|
onClick: o[5] || (o[5] = (0, a.withModifiers)(() => {}, ["stop"])),
|
|
34521
34538
|
onMove: L,
|
|
34522
34539
|
onOpenAudience: (0, a.unref)(k).openAudience,
|
|
@@ -35011,7 +35028,7 @@ var Jee = (0, a.defineComponent)({
|
|
|
35011
35028
|
])
|
|
35012
35029
|
], 8, Nte));
|
|
35013
35030
|
}
|
|
35014
|
-
}),
|
|
35031
|
+
}), Fte = n._plugin_vue_export_helper_default(Pte, [["__scopeId", "data-v-82aafc4c"]]), zte = (0, a.defineComponent)({
|
|
35015
35032
|
__name: "ViewerPresentationLayer",
|
|
35016
35033
|
props: {
|
|
35017
35034
|
deckViews: {},
|
|
@@ -35036,7 +35053,7 @@ var Jee = (0, a.defineComponent)({
|
|
|
35036
35053
|
toggleSlideHidden: { type: Function }
|
|
35037
35054
|
},
|
|
35038
35055
|
setup: (e) => (t, n) => ((0, a.openBlock)(), (0, a.createElementBlock)(a.Fragment, null, [
|
|
35039
|
-
e.deckViews.showSorter.value ? ((0, a.openBlock)(), (0, a.createBlock)(
|
|
35056
|
+
e.deckViews.showSorter.value ? ((0, a.openBlock)(), (0, a.createBlock)(Fte, {
|
|
35040
35057
|
key: 0,
|
|
35041
35058
|
slides: e.mergedSlides,
|
|
35042
35059
|
"canvas-size": e.canvasSize,
|
|
@@ -35199,7 +35216,7 @@ var Jee = (0, a.defineComponent)({
|
|
|
35199
35216
|
var o;
|
|
35200
35217
|
}), 128))])], 8, Kte))), 128))])) : ((0, a.openBlock)(), (0, a.createElementBlock)("div", Lte, [(0, a.createElementVNode)("p", $te, (0, a.toDisplayString)((0, a.unref)(l)("pptx.accessibility.noIssuesFound")), 1), (0, a.createElementVNode)("p", Ute, (0, a.toDisplayString)((0, a.unref)(l)("pptx.accessibility.noIssuesHint")), 1)]))], 8, Ate));
|
|
35201
35218
|
}
|
|
35202
|
-
}), ene = (0, a.defineAsyncComponent)(() => Promise.resolve().then(() => require("./AiChatPanel-
|
|
35219
|
+
}), ene = (0, a.defineAsyncComponent)(() => Promise.resolve().then(() => require("./AiChatPanel-BIJ-bHQj.cjs"))), tne = { class: "pptx-vue-custom-shows flex flex-col gap-2 p-2.5 text-xs text-foreground" }, nne = { class: "pptx-vue-cs-header flex items-center" }, one = { class: "pptx-vue-cs-title m-0 text-[13px] font-semibold" }, ane = { class: "pptx-vue-cs-list-row flex items-center gap-1.5" }, rne = ["aria-label", "value"], lne = {
|
|
35203
35220
|
key: 0,
|
|
35204
35221
|
value: "",
|
|
35205
35222
|
disabled: ""
|
|
@@ -35414,10 +35431,10 @@ var Jee = (0, a.defineComponent)({
|
|
|
35414
35431
|
style: (0, a.normalizeStyle)({ backgroundColor: e.color })
|
|
35415
35432
|
}, (0, a.toDisplayString)(i(e.userName)), 5), (0, a.createElementVNode)("span", Ine, (0, a.toDisplayString)(e.userName), 1)], 10, _ne)]))), 128))])])) : (0, a.createCommentVNode)("", !0);
|
|
35416
35433
|
}
|
|
35417
|
-
}),
|
|
35434
|
+
}), Fne = {
|
|
35418
35435
|
class: "flex h-full w-56 flex-col border-l border-border bg-popover",
|
|
35419
35436
|
"data-pptx-selection-pane": ""
|
|
35420
|
-
},
|
|
35437
|
+
}, zne = { class: "flex items-center justify-between border-b border-border px-3 py-2" }, Ane = { class: "text-xs font-medium text-foreground" }, One = ["title"], Mne = { class: "flex-1 overflow-y-auto py-1" }, Rne = {
|
|
35421
35438
|
key: 0,
|
|
35422
35439
|
class: "px-3 py-4 text-xs italic text-muted-foreground"
|
|
35423
35440
|
}, Lne = [
|
|
@@ -35494,7 +35511,7 @@ var Jee = (0, a.defineComponent)({
|
|
|
35494
35511
|
element: e,
|
|
35495
35512
|
index: t
|
|
35496
35513
|
})).slice().reverse()), y = (0, a.ref)(null), k = (0, a.ref)(null);
|
|
35497
|
-
return (e, t) => ((0, a.openBlock)(), (0, a.createElementBlock)("div",
|
|
35514
|
+
return (e, t) => ((0, a.openBlock)(), (0, a.createElementBlock)("div", Fne, [(0, a.createElementVNode)("div", zne, [(0, a.createElementVNode)("span", Ane, (0, a.toDisplayString)((0, a.unref)(s)("pptx.selectionPane.heading")), 1), (0, a.createElementVNode)("button", {
|
|
35498
35515
|
type: "button",
|
|
35499
35516
|
class: "text-xs text-muted-foreground hover:text-foreground",
|
|
35500
35517
|
title: (0, a.unref)(s)("pptx.selectionPane.close"),
|
|
@@ -35698,7 +35715,7 @@ var Jee = (0, a.defineComponent)({
|
|
|
35698
35715
|
t.comments.commitComments(e);
|
|
35699
35716
|
}
|
|
35700
35717
|
return (t, o) => ((0, a.openBlock)(), (0, a.createElementBlock)(a.Fragment, null, [
|
|
35701
|
-
e.canEdit && !e.isMobile && e.inspectorOpen ? ((0, a.openBlock)(), (0, a.createBlock)(
|
|
35718
|
+
e.canEdit && !e.isMobile && e.inspectorOpen ? ((0, a.openBlock)(), (0, a.createBlock)(F9, {
|
|
35702
35719
|
key: 0,
|
|
35703
35720
|
deck: e.deck,
|
|
35704
35721
|
element: e.inspectorElement,
|
|
@@ -36374,7 +36391,7 @@ var Voe = ["aria-busy", "tabindex"], Doe = {
|
|
|
36374
36391
|
key: 0,
|
|
36375
36392
|
class: "pptx-vue-protected-view-banner flex items-center gap-3 border-b border-amber-700/30 bg-amber-900/20 px-4 py-2",
|
|
36376
36393
|
role: "status"
|
|
36377
|
-
},
|
|
36394
|
+
}, Foe = { class: "flex-1 text-xs text-amber-200" }, zoe = {
|
|
36378
36395
|
key: 0,
|
|
36379
36396
|
class: "flex items-center border-b border-border bg-background px-2 py-0.5",
|
|
36380
36397
|
"data-pptx-quick-access-below": ""
|
|
@@ -36526,7 +36543,7 @@ var Voe = ["aria-busy", "tabindex"], Doe = {
|
|
|
36526
36543
|
}),
|
|
36527
36544
|
getAllowExternalImages: () => y.value.trust.allowExternalContent,
|
|
36528
36545
|
getEmbedFonts: () => rn.embedFontsEnabled.value
|
|
36529
|
-
}), { slides: S, templateElementsBySlideId: E, canvasSize: w, mediaDataUrls: C, loading: B, error: V, isEncrypted: T, coreProperties: _, customProperties: I, modifyVerifier: P, compatibilityWarnings:
|
|
36546
|
+
}), { slides: S, templateElementsBySlideId: E, canvasSize: w, mediaDataUrls: C, loading: B, error: V, isEncrypted: T, coreProperties: _, customProperties: I, modifyVerifier: P, compatibilityWarnings: F, appProperties: z, tagCollections: O, signatures: M, tableStyleMap: R, slideMasters: L, sections: $, customShows: U, modernCommentAuthors: j, presentationProperties: H, viewProperties: G, headerFooter: Z, notesMaster: W, handoutMaster: q, theme: X, themeColorMap: J, handler: Y, getContent: Q, getRecoverySnapshot: ee } = k, te = (0, a.ref)(!1), ne = (0, a.computed)(() => n.shouldOpenInProtectedView(y.value) && !te.value), oe = function(e) {
|
|
36530
36547
|
const t = (0, a.ref)(!1), o = (0, a.ref)(!1), r = (0, a.ref)(!1), l = (0, a.ref)(null), i = (0, a.ref)(!1), s = (0, a.computed)(() => n.readOnlyRecommendation({
|
|
36531
36548
|
modifyVerifier: e.modifyVerifier.value,
|
|
36532
36549
|
customProperties: e.customProperties.value
|
|
@@ -36586,7 +36603,7 @@ var Voe = ["aria-busy", "tabindex"], Doe = {
|
|
|
36586
36603
|
t.value = /* @__PURE__ */ new Set(), o.value = !1;
|
|
36587
36604
|
}
|
|
36588
36605
|
};
|
|
36589
|
-
}({ warnings:
|
|
36606
|
+
}({ warnings: F });
|
|
36590
36607
|
(0, a.provide)(n.TableThemeKey, () => ({
|
|
36591
36608
|
colorScheme: X.value?.colorScheme,
|
|
36592
36609
|
tableStyleMap: R.value,
|
|
@@ -36619,14 +36636,14 @@ var Voe = ["aria-busy", "tabindex"], Doe = {
|
|
|
36619
36636
|
canEdit: () => le.value,
|
|
36620
36637
|
canEditInline: () => le.value && !pt.presenting.value,
|
|
36621
36638
|
findActiveElement: (e) => Ce.findActiveElement(e),
|
|
36622
|
-
updateElement: (e, t) =>
|
|
36639
|
+
updateElement: (e, t) => Fe.updateElement(e, t),
|
|
36623
36640
|
commitTableCell: (e, t, n, o) => He.commitTableCell(e, t, n, o)
|
|
36624
36641
|
});
|
|
36625
36642
|
n.useSmartArtNodeEditContext({
|
|
36626
36643
|
canEdit: () => le.value,
|
|
36627
36644
|
canEditInline: () => le.value && !pt.presenting.value,
|
|
36628
36645
|
findActiveElement: (e) => Ce.findActiveElement(e),
|
|
36629
|
-
updateElement: (e, t) =>
|
|
36646
|
+
updateElement: (e, t) => Fe.updateElement(e, t)
|
|
36630
36647
|
}), n.useEmbeddedFonts(k.embeddedFonts), function(e, t) {
|
|
36631
36648
|
const o = "pptx-vue-google-fonts";
|
|
36632
36649
|
(0, a.watchEffect)((r) => {
|
|
@@ -36772,7 +36789,7 @@ var Voe = ["aria-busy", "tabindex"], Doe = {
|
|
|
36772
36789
|
activeSlide: fe
|
|
36773
36790
|
}), { selectedElementIds: Ne, editTemplateMode: Be, activeTemplateElements: Ve, findActiveElement: De, selectedElements: Te, mergedSlides: _e, clearSelection: Ie } = Ce, Pe = n.useEditorHistory(S, E, { maxDepth: n.resolveHistoryDepth(y.value) });
|
|
36774
36791
|
(0, a.watch)(() => n.resolveHistoryDepth(y.value), (e) => Pe.setMaxDepth(e));
|
|
36775
|
-
const
|
|
36792
|
+
const Fe = n.useEditorOperations({
|
|
36776
36793
|
slides: S,
|
|
36777
36794
|
activeSlideIndex: ue,
|
|
36778
36795
|
pushHistory: Pe.pushHistory,
|
|
@@ -36788,7 +36805,7 @@ var Voe = ["aria-busy", "tabindex"], Doe = {
|
|
|
36788
36805
|
}), (0, a.watch)(me, (e) => {
|
|
36789
36806
|
d("slide-count-change", e);
|
|
36790
36807
|
});
|
|
36791
|
-
const { marquee:
|
|
36808
|
+
const { marquee: ze, beginMarquee: Ae, cancelMarquee: Oe } = function(e) {
|
|
36792
36809
|
const { getSelectableElements: t, getCanvasSize: o, selectedElementIds: r } = e, l = (0, a.ref)(null);
|
|
36793
36810
|
let i = null, s = 0, c = 0, d = [], p = !1;
|
|
36794
36811
|
function u() {
|
|
@@ -36859,11 +36876,11 @@ var Voe = ["aria-busy", "tabindex"], Doe = {
|
|
|
36859
36876
|
}), { formatPainterActive: Le, canActivateFormatPainter: $e, toggleFormatPainter: Ue, cancelFormatPainter: je, applyFormatToTarget: Ke } = n.useFormatPainter({
|
|
36860
36877
|
selectedElements: Te,
|
|
36861
36878
|
findActiveElement: De,
|
|
36862
|
-
ops:
|
|
36879
|
+
ops: Fe
|
|
36863
36880
|
}), He = n.useInlineEditing({
|
|
36864
36881
|
canEdit: () => le.value,
|
|
36865
36882
|
findActiveElement: De,
|
|
36866
|
-
ops:
|
|
36883
|
+
ops: Fe,
|
|
36867
36884
|
livePatcher: () => nn.collab.livePatcher,
|
|
36868
36885
|
activeSlide: () => fe.value,
|
|
36869
36886
|
onConnectedSuspend: (e) => {
|
|
@@ -36875,7 +36892,7 @@ var Voe = ["aria-busy", "tabindex"], Doe = {
|
|
|
36875
36892
|
},
|
|
36876
36893
|
proofing: () => y.value.proofing
|
|
36877
36894
|
}), Ge = (0, a.ref)(null), Ze = n.useInsertElementDialogs({
|
|
36878
|
-
ops:
|
|
36895
|
+
ops: Fe,
|
|
36879
36896
|
selectedElementIds: Ne,
|
|
36880
36897
|
findActiveElement: De
|
|
36881
36898
|
}), { requestElementEdit: We, onCanvasDoubleClick: qe, onCanvasPointerDown: Xe, onEscape: Je } = Soe({
|
|
@@ -36912,7 +36929,7 @@ var Voe = ["aria-busy", "tabindex"], Doe = {
|
|
|
36912
36929
|
enterInlineEdit: We
|
|
36913
36930
|
}), et = n.useElementInsertion({
|
|
36914
36931
|
canvasSize: w,
|
|
36915
|
-
ops:
|
|
36932
|
+
ops: Fe,
|
|
36916
36933
|
selectedElementIds: Ne,
|
|
36917
36934
|
slides: S,
|
|
36918
36935
|
activeSlideIndex: ue,
|
|
@@ -36927,7 +36944,7 @@ var Voe = ["aria-busy", "tabindex"], Doe = {
|
|
|
36927
36944
|
theme: X
|
|
36928
36945
|
}), { deleteSelected: at, duplicateSelected: rt, bringForward: lt, sendBackward: it } = n.useMultiSelectOps({
|
|
36929
36946
|
selectedElementIds: Ne,
|
|
36930
|
-
ops:
|
|
36947
|
+
ops: Fe,
|
|
36931
36948
|
clearSelection: Ie
|
|
36932
36949
|
}), st = woe({
|
|
36933
36950
|
slides: S,
|
|
@@ -36935,7 +36952,7 @@ var Voe = ["aria-busy", "tabindex"], Doe = {
|
|
|
36935
36952
|
activeSlideIndex: ue,
|
|
36936
36953
|
selectedElements: Te,
|
|
36937
36954
|
pushHistory: Pe.pushHistory,
|
|
36938
|
-
updateElement: (e, t) =>
|
|
36955
|
+
updateElement: (e, t) => Fe.updateElement(e, t)
|
|
36939
36956
|
}), ct = n.useSlideOperations({
|
|
36940
36957
|
slides: S,
|
|
36941
36958
|
activeSlideIndex: ue,
|
|
@@ -36961,8 +36978,8 @@ var Voe = ["aria-busy", "tabindex"], Doe = {
|
|
|
36961
36978
|
};
|
|
36962
36979
|
}({
|
|
36963
36980
|
findSlideElement: (e) => fe.value?.elements.find((t) => t.id === e),
|
|
36964
|
-
addElement: (e) =>
|
|
36965
|
-
removeElement: (e) =>
|
|
36981
|
+
addElement: (e) => Fe.addElement(e),
|
|
36982
|
+
removeElement: (e) => Fe.removeElement(e),
|
|
36966
36983
|
selectedElementIds: Ne
|
|
36967
36984
|
}), pt = function(e) {
|
|
36968
36985
|
const { slides: t, activeSlideIndex: o, pushHistory: r } = e, { presenting: l, startPresenting: i, onPresentClose: s, onPresentSlideChange: c } = n.usePresentationModeWiring({
|
|
@@ -37020,7 +37037,7 @@ var Voe = ["aria-busy", "tabindex"], Doe = {
|
|
|
37020
37037
|
n.useChartCanvasEditContext({
|
|
37021
37038
|
canEditInline: () => le.value && !pt.presenting.value,
|
|
37022
37039
|
isElementSelected: (e) => Ne.value.includes(e),
|
|
37023
|
-
updateElement: (e, t) =>
|
|
37040
|
+
updateElement: (e, t) => Fe.updateElement(e, t)
|
|
37024
37041
|
});
|
|
37025
37042
|
const ut = function(e) {
|
|
37026
37043
|
const t = (0, a.ref)(!1), n = (0, a.ref)(null);
|
|
@@ -37043,7 +37060,7 @@ var Voe = ["aria-busy", "tabindex"], Doe = {
|
|
|
37043
37060
|
}({
|
|
37044
37061
|
findSlideElement: (e) => fe.value?.elements.find((t) => t.id === e),
|
|
37045
37062
|
selectedElementIds: Ne,
|
|
37046
|
-
updateElement: (e, t) =>
|
|
37063
|
+
updateElement: (e, t) => Fe.updateElement(e, t)
|
|
37047
37064
|
});
|
|
37048
37065
|
const mt = (0, a.ref)(!1), ft = n.useFindReplace({
|
|
37049
37066
|
slides: S,
|
|
@@ -37095,7 +37112,7 @@ var Voe = ["aria-busy", "tabindex"], Doe = {
|
|
|
37095
37112
|
activeSlide: fe,
|
|
37096
37113
|
pushHistory: Pe.pushHistory,
|
|
37097
37114
|
selectedElements: Te
|
|
37098
|
-
}), { canGroup: Pt, canUngroup:
|
|
37115
|
+
}), { canGroup: Pt, canUngroup: Ft, canDistribute: zt, selectionGroupable: At, onAlign: Ot, onDistribute: Mt, onGroup: Rt, onUngroup: Lt } = n.useAlignGroup({
|
|
37099
37116
|
selectedElements: Te,
|
|
37100
37117
|
selectedElementIds: Ne,
|
|
37101
37118
|
activeSlideIndex: ue,
|
|
@@ -37112,7 +37129,7 @@ var Voe = ["aria-busy", "tabindex"], Doe = {
|
|
|
37112
37129
|
editTemplateMode: Be,
|
|
37113
37130
|
selectedElementIds: Ne,
|
|
37114
37131
|
inlineEditingElementId: He.inlineEditingElementId,
|
|
37115
|
-
ops:
|
|
37132
|
+
ops: Fe,
|
|
37116
37133
|
cutElement: dt.cutElement,
|
|
37117
37134
|
copyElement: dt.copyElement,
|
|
37118
37135
|
pasteElement: dt.pasteElement,
|
|
@@ -37297,7 +37314,7 @@ var Voe = ["aria-busy", "tabindex"], Doe = {
|
|
|
37297
37314
|
slideSize: k.slideSize,
|
|
37298
37315
|
slides: S,
|
|
37299
37316
|
coreProperties: _,
|
|
37300
|
-
appProperties:
|
|
37317
|
+
appProperties: z,
|
|
37301
37318
|
customProperties: I,
|
|
37302
37319
|
tagCollections: O,
|
|
37303
37320
|
markDirty: () => {
|
|
@@ -37353,7 +37370,7 @@ var Voe = ["aria-busy", "tabindex"], Doe = {
|
|
|
37353
37370
|
customShows: U.value,
|
|
37354
37371
|
sections: $.value,
|
|
37355
37372
|
coreProperties: _.value,
|
|
37356
|
-
appProperties:
|
|
37373
|
+
appProperties: z.value,
|
|
37357
37374
|
customProperties: I.value,
|
|
37358
37375
|
tagCollections: O.value,
|
|
37359
37376
|
slideMasters: L.value,
|
|
@@ -37400,11 +37417,11 @@ var Voe = ["aria-busy", "tabindex"], Doe = {
|
|
|
37400
37417
|
findActiveElement: De,
|
|
37401
37418
|
activeSlide: fe,
|
|
37402
37419
|
selectedElementIds: Ne,
|
|
37403
|
-
ops:
|
|
37420
|
+
ops: Fe
|
|
37404
37421
|
}), dn = n.useDocumentPropertiesDialog({
|
|
37405
37422
|
coreProperties: _,
|
|
37406
37423
|
customProperties: I,
|
|
37407
|
-
appProperties:
|
|
37424
|
+
appProperties: z
|
|
37408
37425
|
}), pn = n.useHeaderFooterDialog({ headerFooter: Z }), un = n.useVersionHistoryWiring({
|
|
37409
37426
|
slides: S,
|
|
37410
37427
|
pushHistory: Pe.pushHistory
|
|
@@ -37538,7 +37555,26 @@ var Voe = ["aria-busy", "tabindex"], Doe = {
|
|
|
37538
37555
|
const Cn = n.useMobileChrome({
|
|
37539
37556
|
presenting: pt.presenting,
|
|
37540
37557
|
addText: et.addText
|
|
37541
|
-
}),
|
|
37558
|
+
}), Nn = n.useRibbonUiState(), { activeTool: Bn, drawingColor: Vn, drawingWidth: Dn, inspectorOpen: Tn, sidebarCollapsed: _n, notesExpanded: In, showGrid: Pn, showRulers: Fn, showGuides: zn, spellCheckEnabled: An, themeGalleryOpen: On, themeEditorOpen: Mn } = Nn, Rn = n.useRibbonActions({
|
|
37559
|
+
readInlineSnapshot: He.readInlineSnapshot,
|
|
37560
|
+
formatInlineSnapshot: He.formatInlineSnapshot,
|
|
37561
|
+
endInlineListSession: He.endInlineListSession,
|
|
37562
|
+
canEdit: () => le.value,
|
|
37563
|
+
presenting: pt.presenting,
|
|
37564
|
+
showMasterView: gn.showMasterView,
|
|
37565
|
+
tableSelection: pe,
|
|
37566
|
+
selectedElements: Te,
|
|
37567
|
+
selectedElementIds: Ne,
|
|
37568
|
+
activeSlide: fe,
|
|
37569
|
+
activeSlideIndex: ue,
|
|
37570
|
+
slides: S,
|
|
37571
|
+
pushHistory: Pe.pushHistory,
|
|
37572
|
+
ops: Fe
|
|
37573
|
+
}), { ribbonMode: Ln, ribbonUpdateTextStyle: $n, ribbonMoveToEdge: Un } = Rn;
|
|
37574
|
+
(0, a.watch)(Ln, (e) => {
|
|
37575
|
+
d("mode-change", e);
|
|
37576
|
+
});
|
|
37577
|
+
const { showShortcuts: jn, onEditorKeydown: Kn, copySelected: Hn, cutSelected: Gn, selectAllElements: Zn } = n.useEditorKeyboard({
|
|
37542
37578
|
canEdit: () => le.value,
|
|
37543
37579
|
canPaste: () => dt.hasClipboard.value && Boolean(fe.value),
|
|
37544
37580
|
hasSelection: Ce.hasSelection,
|
|
@@ -37563,16 +37599,27 @@ var Voe = ["aria-busy", "tabindex"], Doe = {
|
|
|
37563
37599
|
onGroup: Rt,
|
|
37564
37600
|
onUngroup: Lt,
|
|
37565
37601
|
presentFromBeginning: pt.presentFromBeginning,
|
|
37566
|
-
startPresenting: pt.startPresenting
|
|
37567
|
-
|
|
37602
|
+
startPresenting: pt.startPresenting,
|
|
37603
|
+
inlineEditingElementId: He.inlineEditingElementId,
|
|
37604
|
+
tableEditorIsEditing: () => null !== pe.value,
|
|
37605
|
+
activeTool: () => Bn.value,
|
|
37606
|
+
selectedElements: Te,
|
|
37607
|
+
selectElement: Ce.selectElement,
|
|
37608
|
+
ribbonUpdateTextStyle: $n,
|
|
37609
|
+
addSlide: () => ct.addSlide(),
|
|
37610
|
+
openHyperlinkForSelection: ut.openHyperlinkForSelection,
|
|
37611
|
+
toggleFormatPainter: Ue,
|
|
37612
|
+
applyFormatToTarget: Ke,
|
|
37613
|
+
cancelFormatPainter: je
|
|
37614
|
+
}), Wn = (0, a.computed)(() => yn.value || !Tn.value && !Me.value ? 0 : 288), qn = (0, a.ref)(null), Xn = (0, a.ref)(0);
|
|
37568
37615
|
(0, a.watchEffect)((e) => {
|
|
37569
|
-
const t =
|
|
37570
|
-
if (!(t instanceof HTMLElement)) return void (
|
|
37616
|
+
const t = qn.value?.$el;
|
|
37617
|
+
if (!(t instanceof HTMLElement)) return void (Xn.value = 0);
|
|
37571
37618
|
const o = n.observeElementHeight(t, (e) => {
|
|
37572
|
-
|
|
37619
|
+
Xn.value = e;
|
|
37573
37620
|
});
|
|
37574
37621
|
e(() => {
|
|
37575
|
-
o(),
|
|
37622
|
+
o(), Xn.value = 0;
|
|
37576
37623
|
});
|
|
37577
37624
|
}), function(e) {
|
|
37578
37625
|
const { viewProperties: t, loadVersion: o, snapToGrid: r, snapToObjects: l, showGuides: i } = e;
|
|
@@ -37613,16 +37660,16 @@ var Voe = ["aria-busy", "tabindex"], Doe = {
|
|
|
37613
37660
|
loadVersion: x,
|
|
37614
37661
|
snapToGrid: Qe.snapToGrid,
|
|
37615
37662
|
snapToObjects: Qe.snapToShape,
|
|
37616
|
-
showGuides:
|
|
37663
|
+
showGuides: zn
|
|
37617
37664
|
});
|
|
37618
|
-
const
|
|
37665
|
+
const Jn = (0, a.ref)(!1), Yn = (0, a.computed)(() => n.resolveOptionRootClasses(y.value, "pptx-vue")), Qn = (0, a.computed)(() => {
|
|
37619
37666
|
const e = y.value.quickAccess;
|
|
37620
37667
|
return e.visible && "below" === e.position ? n.extraQuickAccessCommands(e.commandIds).map((e) => ({
|
|
37621
37668
|
id: e.id,
|
|
37622
37669
|
label: u(e.labelKey),
|
|
37623
37670
|
icon: e.icon
|
|
37624
37671
|
})) : [];
|
|
37625
|
-
}),
|
|
37672
|
+
}), eo = (0, a.computed)(() => n.resolve3DRenderingFlags({
|
|
37626
37673
|
smartArt3D: s.smartArt3D,
|
|
37627
37674
|
surfaceChart3D: s.surfaceChart3D,
|
|
37628
37675
|
barChart3D: s.barChart3D,
|
|
@@ -37630,21 +37677,21 @@ var Voe = ["aria-busy", "tabindex"], Doe = {
|
|
|
37630
37677
|
areaChart3D: s.areaChart3D,
|
|
37631
37678
|
pieChart3D: s.pieChart3D
|
|
37632
37679
|
}, y.value));
|
|
37633
|
-
(0, a.provide)(n.Rendering3DFlagsKey,
|
|
37634
|
-
const
|
|
37635
|
-
smartArt3d:
|
|
37680
|
+
(0, a.provide)(n.Rendering3DFlagsKey, eo);
|
|
37681
|
+
const to = (0, a.computed)(() => ({
|
|
37682
|
+
smartArt3d: eo.value.smartArt3D,
|
|
37636
37683
|
collaboration: nn.collabActive.value
|
|
37637
|
-
})), { showSettings:
|
|
37684
|
+
})), { showSettings: no } = n.useViewerSettingsDialog({
|
|
37638
37685
|
autoSave: Gt,
|
|
37639
|
-
spellCheck:
|
|
37640
|
-
showGrid:
|
|
37641
|
-
showRulers:
|
|
37686
|
+
spellCheck: An,
|
|
37687
|
+
showGrid: Pn,
|
|
37688
|
+
showRulers: Fn,
|
|
37642
37689
|
snapToGrid: Qe.snapToGrid,
|
|
37643
|
-
reducedMotion:
|
|
37690
|
+
reducedMotion: Jn,
|
|
37644
37691
|
optionsStore: b,
|
|
37645
37692
|
viewerOptions: y
|
|
37646
37693
|
});
|
|
37647
|
-
function
|
|
37694
|
+
function oo() {
|
|
37648
37695
|
(async () => {
|
|
37649
37696
|
try {
|
|
37650
37697
|
const e = await n.listAutosaveSnapshots();
|
|
@@ -37652,8 +37699,8 @@ var Voe = ["aria-busy", "tabindex"], Doe = {
|
|
|
37652
37699
|
} catch {}
|
|
37653
37700
|
})();
|
|
37654
37701
|
}
|
|
37655
|
-
function
|
|
37656
|
-
n.shouldClearAutosaveCacheOnClose(y.value) &&
|
|
37702
|
+
function ao() {
|
|
37703
|
+
n.shouldClearAutosaveCacheOnClose(y.value) && oo();
|
|
37657
37704
|
}
|
|
37658
37705
|
(0, a.onMounted)(() => {
|
|
37659
37706
|
(async () => {
|
|
@@ -37662,26 +37709,26 @@ var Voe = ["aria-busy", "tabindex"], Doe = {
|
|
|
37662
37709
|
await Promise.all(t.map((e) => n.deleteAutosaveSnapshot(e)));
|
|
37663
37710
|
} catch {}
|
|
37664
37711
|
})();
|
|
37665
|
-
}), "undefined" != typeof window && window.addEventListener("beforeunload",
|
|
37666
|
-
"undefined" != typeof window && window.removeEventListener("beforeunload",
|
|
37712
|
+
}), "undefined" != typeof window && window.addEventListener("beforeunload", ao), (0, a.onBeforeUnmount)(() => {
|
|
37713
|
+
"undefined" != typeof window && window.removeEventListener("beforeunload", ao), ao();
|
|
37667
37714
|
});
|
|
37668
|
-
const { drawingActive:
|
|
37715
|
+
const { drawingActive: ro, addInkStroke: lo, eraseInkAt: io } = n.useInkDrawing({
|
|
37669
37716
|
canEdit: () => le.value,
|
|
37670
37717
|
presenting: pt.presenting,
|
|
37671
|
-
activeTool:
|
|
37718
|
+
activeTool: Bn,
|
|
37672
37719
|
activeSlide: fe,
|
|
37673
37720
|
selectedElementIds: Ne,
|
|
37674
|
-
ops:
|
|
37675
|
-
}),
|
|
37721
|
+
ops: Fe
|
|
37722
|
+
}), so = n.useThemeEditing({
|
|
37676
37723
|
slides: S,
|
|
37677
37724
|
pptxTheme: X,
|
|
37678
37725
|
themeColorMap: J,
|
|
37679
37726
|
pushHistory: Pe.pushHistory,
|
|
37680
|
-
themeGalleryOpen:
|
|
37681
|
-
themeEditorOpen:
|
|
37727
|
+
themeGalleryOpen: On,
|
|
37728
|
+
themeEditorOpen: Mn,
|
|
37682
37729
|
templateElementsBySlideId: E
|
|
37683
37730
|
});
|
|
37684
|
-
const
|
|
37731
|
+
const co = function(e) {
|
|
37685
37732
|
const n = (n, o) => {
|
|
37686
37733
|
e.pushHistory(), e.slides.value = n(e.slides.value.map(t.cloneSlide)), e.markDirty();
|
|
37687
37734
|
}, o = () => ({
|
|
@@ -37772,7 +37819,7 @@ var Voe = ["aria-busy", "tabindex"], Doe = {
|
|
|
37772
37819
|
presentationProperties: H,
|
|
37773
37820
|
customProperties: I,
|
|
37774
37821
|
coreProperties: _,
|
|
37775
|
-
appProperties:
|
|
37822
|
+
appProperties: z,
|
|
37776
37823
|
viewProperties: G,
|
|
37777
37824
|
tableStyleMap: R,
|
|
37778
37825
|
tableStylesDefaultId: k.tableStylesDefaultId,
|
|
@@ -37788,31 +37835,12 @@ var Voe = ["aria-busy", "tabindex"], Doe = {
|
|
|
37788
37835
|
},
|
|
37789
37836
|
applyThemeUpdates: function(e) {
|
|
37790
37837
|
const t = X.value, n = e.colorScheme ?? t?.colorScheme;
|
|
37791
|
-
n &&
|
|
37838
|
+
n && so.applyTheme(n, e.fontScheme ?? t?.fontScheme, e.name ?? t?.name ?? "Theme");
|
|
37792
37839
|
},
|
|
37793
37840
|
selectedElementIds: () => Ne.value,
|
|
37794
37841
|
pinnedFocus: () => Re.pinnedFocus.value,
|
|
37795
37842
|
pickedFocus: () => Re.pickTargets.value
|
|
37796
|
-
}),
|
|
37797
|
-
readInlineSnapshot: He.readInlineSnapshot,
|
|
37798
|
-
formatInlineSnapshot: He.formatInlineSnapshot,
|
|
37799
|
-
endInlineListSession: He.endInlineListSession,
|
|
37800
|
-
canEdit: () => le.value,
|
|
37801
|
-
presenting: pt.presenting,
|
|
37802
|
-
showMasterView: gn.showMasterView,
|
|
37803
|
-
tableSelection: pe,
|
|
37804
|
-
selectedElements: Te,
|
|
37805
|
-
selectedElementIds: Ne,
|
|
37806
|
-
activeSlide: fe,
|
|
37807
|
-
activeSlideIndex: ue,
|
|
37808
|
-
slides: S,
|
|
37809
|
-
pushHistory: Pe.pushHistory,
|
|
37810
|
-
ops: ze
|
|
37811
|
-
}), { ribbonMode: io, ribbonUpdateTextStyle: so, ribbonMoveToEdge: co } = lo;
|
|
37812
|
-
(0, a.watch)(io, (e) => {
|
|
37813
|
-
d("mode-change", e);
|
|
37814
|
-
});
|
|
37815
|
-
const po = (uo = {
|
|
37843
|
+
}), po = (uo = {
|
|
37816
37844
|
canEdit: () => le.value,
|
|
37817
37845
|
isMobile: yn,
|
|
37818
37846
|
zoom: he,
|
|
@@ -37823,12 +37851,12 @@ var Voe = ["aria-busy", "tabindex"], Doe = {
|
|
|
37823
37851
|
activeSlide: fe,
|
|
37824
37852
|
activeSlideIndex: ue,
|
|
37825
37853
|
showA11y: wt,
|
|
37826
|
-
showShortcuts:
|
|
37827
|
-
showSettings:
|
|
37854
|
+
showShortcuts: jn,
|
|
37855
|
+
showSettings: no,
|
|
37828
37856
|
deck: k,
|
|
37829
37857
|
embeddedFontFamilies: rn.embeddedFontNames,
|
|
37830
37858
|
customFontFamilies: ln,
|
|
37831
|
-
ui:
|
|
37859
|
+
ui: Nn,
|
|
37832
37860
|
selection: Ce,
|
|
37833
37861
|
history: Pe,
|
|
37834
37862
|
arrange: {
|
|
@@ -37836,7 +37864,7 @@ var Voe = ["aria-busy", "tabindex"], Doe = {
|
|
|
37836
37864
|
sendBackward: it,
|
|
37837
37865
|
duplicateSelected: rt,
|
|
37838
37866
|
deleteSelected: at,
|
|
37839
|
-
canDistribute:
|
|
37867
|
+
canDistribute: zt,
|
|
37840
37868
|
onAlign: Ot,
|
|
37841
37869
|
onDistribute: Mt,
|
|
37842
37870
|
onGroup: Rt,
|
|
@@ -37845,14 +37873,14 @@ var Voe = ["aria-busy", "tabindex"], Doe = {
|
|
|
37845
37873
|
editing: {
|
|
37846
37874
|
clipboard: dt.clipboard,
|
|
37847
37875
|
pasteElement: dt.pasteElement,
|
|
37848
|
-
copySelected:
|
|
37849
|
-
cutSelected:
|
|
37876
|
+
copySelected: Hn,
|
|
37877
|
+
cutSelected: Gn,
|
|
37850
37878
|
formatPainterActive: Le,
|
|
37851
37879
|
canActivateFormatPainter: $e,
|
|
37852
37880
|
toggleFormatPainter: Ue,
|
|
37853
37881
|
updateSelectedShapeStyle: function(e) {
|
|
37854
37882
|
const n = Te.value[0];
|
|
37855
|
-
n && t.hasShapeProperties(n) &&
|
|
37883
|
+
n && t.hasShapeProperties(n) && Fe.updateElement(n.id, { shapeStyle: {
|
|
37856
37884
|
...n.shapeStyle,
|
|
37857
37885
|
...e
|
|
37858
37886
|
} });
|
|
@@ -37869,11 +37897,11 @@ var Voe = ["aria-busy", "tabindex"], Doe = {
|
|
|
37869
37897
|
slideCommands: {
|
|
37870
37898
|
addSection: xn.addSection,
|
|
37871
37899
|
defaultSectionName: () => u("pptx.sections.defaultName"),
|
|
37872
|
-
selectAllElements:
|
|
37900
|
+
selectAllElements: Zn,
|
|
37873
37901
|
clearSelection: Ie
|
|
37874
37902
|
},
|
|
37875
37903
|
presentationProperties: H,
|
|
37876
|
-
ribbonActions:
|
|
37904
|
+
ribbonActions: Rn,
|
|
37877
37905
|
drag: Qe,
|
|
37878
37906
|
insertion: et,
|
|
37879
37907
|
templateInsertion: ot,
|
|
@@ -38124,7 +38152,7 @@ var Voe = ["aria-busy", "tabindex"], Doe = {
|
|
|
38124
38152
|
}
|
|
38125
38153
|
};
|
|
38126
38154
|
}({
|
|
38127
|
-
updateTextStyle:
|
|
38155
|
+
updateTextStyle: $n,
|
|
38128
38156
|
addText: et.addText,
|
|
38129
38157
|
addShape: et.addShape,
|
|
38130
38158
|
addTable: et.addTable,
|
|
@@ -38135,17 +38163,17 @@ var Voe = ["aria-busy", "tabindex"], Doe = {
|
|
|
38135
38163
|
showEquationEditor: Ze.showEquationEditor,
|
|
38136
38164
|
editingEquationOmml: Ze.editingEquationOmml,
|
|
38137
38165
|
hyperlinkOpen: ut.hyperlinkOpen,
|
|
38138
|
-
showGrid:
|
|
38139
|
-
showRulers:
|
|
38166
|
+
showGrid: Pn,
|
|
38167
|
+
showRulers: Fn,
|
|
38140
38168
|
showSorter: Et.showSorter,
|
|
38141
|
-
spellCheckEnabled:
|
|
38142
|
-
themeGalleryOpen:
|
|
38169
|
+
spellCheckEnabled: An,
|
|
38170
|
+
themeGalleryOpen: On,
|
|
38143
38171
|
zoomIn: ke,
|
|
38144
38172
|
zoomOut: Se,
|
|
38145
38173
|
zoomReset: Ee,
|
|
38146
38174
|
startPresenting: pt.startPresenting,
|
|
38147
38175
|
presentFromBeginning: pt.presentFromBeginning,
|
|
38148
|
-
moveToEdge:
|
|
38176
|
+
moveToEdge: Un,
|
|
38149
38177
|
duplicateSelected: rt,
|
|
38150
38178
|
openPrintDialog: St.openPrintDialog,
|
|
38151
38179
|
exportPdf: kt,
|
|
@@ -38153,12 +38181,12 @@ var Voe = ["aria-busy", "tabindex"], Doe = {
|
|
|
38153
38181
|
});
|
|
38154
38182
|
var go = bn, vo = {
|
|
38155
38183
|
getCanvas: () => En.value,
|
|
38156
|
-
getTarget: () => !le.value || B.value || V.value || pt.presenting.value || gn.showMasterView.value || Be.value || He.inlineEditingElementId.value || "select" !==
|
|
38184
|
+
getTarget: () => !le.value || B.value || V.value || pt.presenting.value || gn.showMasterView.value || Be.value || He.inlineEditingElementId.value || "select" !== Bn.value || $t.value?.open || !fe.value || !Y.value ? null : {
|
|
38157
38185
|
documentId: Y.value,
|
|
38158
38186
|
slideId: fe.value.id,
|
|
38159
38187
|
canvasSize: w.value
|
|
38160
38188
|
},
|
|
38161
|
-
insertElement:
|
|
38189
|
+
insertElement: Fe.addElement
|
|
38162
38190
|
};
|
|
38163
38191
|
return (0, a.watch)([
|
|
38164
38192
|
go,
|
|
@@ -38263,7 +38291,7 @@ var Voe = ["aria-busy", "tabindex"], Doe = {
|
|
|
38263
38291
|
isDirty: Ht.isDirty,
|
|
38264
38292
|
presenting: pt.presenting,
|
|
38265
38293
|
showMasterView: gn.showMasterView,
|
|
38266
|
-
mode:
|
|
38294
|
+
mode: Ln,
|
|
38267
38295
|
canEdit: le,
|
|
38268
38296
|
loading: B,
|
|
38269
38297
|
error: V,
|
|
@@ -38271,7 +38299,7 @@ var Voe = ["aria-busy", "tabindex"], Doe = {
|
|
|
38271
38299
|
setEditingRequested: (e) => {
|
|
38272
38300
|
ae.value = e;
|
|
38273
38301
|
},
|
|
38274
|
-
hasActivePointerInteraction: () => Qe.hasActivePointerInteraction() || null !==
|
|
38302
|
+
hasActivePointerInteraction: () => Qe.hasActivePointerInteraction() || null !== ze.value || Boolean(wn.value?.hasActivePointerInteraction()),
|
|
38275
38303
|
commitPendingText: He.commitInlineEdit,
|
|
38276
38304
|
getContent: Q,
|
|
38277
38305
|
goTo: ge,
|
|
@@ -38284,19 +38312,19 @@ var Voe = ["aria-busy", "tabindex"], Doe = {
|
|
|
38284
38312
|
history: Pe,
|
|
38285
38313
|
slideOps: ct,
|
|
38286
38314
|
toggleSlideHidden: Bt,
|
|
38287
|
-
elementOps:
|
|
38315
|
+
elementOps: Fe
|
|
38288
38316
|
})), (e, t) => ((0, a.openBlock)(), (0, a.createElementBlock)("div", {
|
|
38289
38317
|
ref_key: "viewerRootRef",
|
|
38290
38318
|
ref: bn,
|
|
38291
38319
|
class: (0, a.normalizeClass)(["pptx-vue-viewer", [
|
|
38292
38320
|
s.class,
|
|
38293
|
-
{ "pptx-vue-reduced-motion":
|
|
38294
|
-
...
|
|
38321
|
+
{ "pptx-vue-reduced-motion": Jn.value },
|
|
38322
|
+
...Yn.value
|
|
38295
38323
|
]]),
|
|
38296
38324
|
style: (0, a.normalizeStyle)((0, a.unref)(f)),
|
|
38297
38325
|
"aria-busy": (0, a.unref)(B) ? "true" : "false",
|
|
38298
38326
|
tabindex: le.value ? 0 : void 0,
|
|
38299
|
-
onKeydown: t[17] || (t[17] = (...e) => (0, a.unref)(
|
|
38327
|
+
onKeydown: t[17] || (t[17] = (...e) => (0, a.unref)(Kn) && (0, a.unref)(Kn)(...e))
|
|
38300
38328
|
}, [
|
|
38301
38329
|
(0, a.unref)(B) ? ((0, a.openBlock)(), (0, a.createElementBlock)("div", Doe, [t[18] || (t[18] = (0, a.createElementVNode)("div", {
|
|
38302
38330
|
class: "pptx-vue-spinner",
|
|
@@ -38308,7 +38336,7 @@ var Voe = ["aria-busy", "tabindex"], Doe = {
|
|
|
38308
38336
|
class: "h-4 w-4 shrink-0 text-amber-400",
|
|
38309
38337
|
"aria-hidden": "true"
|
|
38310
38338
|
}),
|
|
38311
|
-
(0, a.createElementVNode)("p",
|
|
38339
|
+
(0, a.createElementVNode)("p", Foe, [(0, a.createElementVNode)("strong", null, (0, a.toDisplayString)((0, a.unref)(u)("pptx.security.protectedViewTitle")), 1), (0, a.createTextVNode)(": " + (0, a.toDisplayString)((0, a.unref)(u)("pptx.options.trust.protectedViewInfo")), 1)]),
|
|
38312
38340
|
(0, a.createElementVNode)("button", {
|
|
38313
38341
|
type: "button",
|
|
38314
38342
|
class: "shrink-0 rounded border border-amber-600/50 px-3 py-1 text-xs font-medium text-amber-100 transition-colors hover:bg-amber-700/30",
|
|
@@ -38339,7 +38367,7 @@ var Voe = ["aria-busy", "tabindex"], Doe = {
|
|
|
38339
38367
|
])) : (0, a.createCommentVNode)("", !0),
|
|
38340
38368
|
(0, a.unref)(yn) ? (0, a.createCommentVNode)("", !0) : ((0, a.openBlock)(), (0, a.createBlock)(Jp, {
|
|
38341
38369
|
key: 2,
|
|
38342
|
-
mode: (0, a.unref)(
|
|
38370
|
+
mode: (0, a.unref)(Ln),
|
|
38343
38371
|
"can-edit": le.value,
|
|
38344
38372
|
"file-name": s.fileName,
|
|
38345
38373
|
"is-dirty": (0, a.unref)(Ht).isDirty.value,
|
|
@@ -38403,8 +38431,8 @@ var Voe = ["aria-busy", "tabindex"], Doe = {
|
|
|
38403
38431
|
"ai-enabled",
|
|
38404
38432
|
"is-ai-panel-open",
|
|
38405
38433
|
"on-toggle-ai-panel"
|
|
38406
|
-
]),
|
|
38407
|
-
items:
|
|
38434
|
+
]), Qn.value.length > 0 ? ((0, a.openBlock)(), (0, a.createElementBlock)("div", zoe, [(0, a.createVNode)(Op, {
|
|
38435
|
+
items: Qn.value,
|
|
38408
38436
|
"show-labels": (0, a.unref)(y).quickAccess.showCommandLabels,
|
|
38409
38437
|
"on-command": (0, a.unref)(fo)
|
|
38410
38438
|
}, null, 8, [
|
|
@@ -38458,7 +38486,7 @@ var Voe = ["aria-busy", "tabindex"], Doe = {
|
|
|
38458
38486
|
"onReplaceAll"
|
|
38459
38487
|
])) : (0, a.createCommentVNode)("", !0),
|
|
38460
38488
|
(0, a.withDirectives)((0, a.createElementVNode)("div", Aoe, [
|
|
38461
|
-
(0, a.unref)(yn) || (0, a.unref)(
|
|
38489
|
+
(0, a.unref)(yn) || (0, a.unref)(_n) || (0, a.unref)(pt).presenting.value ? (0, a.createCommentVNode)("", !0) : ((0, a.openBlock)(), (0, a.createBlock)(boe, {
|
|
38462
38490
|
key: 0,
|
|
38463
38491
|
"merged-slides": (0, a.unref)(_e),
|
|
38464
38492
|
"merged-slide-by-id": (0, a.unref)(Ce).mergedSlideById.value,
|
|
@@ -38502,7 +38530,7 @@ var Voe = ["aria-busy", "tabindex"], Doe = {
|
|
|
38502
38530
|
zoom: (0, a.unref)(ye),
|
|
38503
38531
|
"fit-padding": s.fitPadding,
|
|
38504
38532
|
"max-fit-scale": s.maxFitScale,
|
|
38505
|
-
"show-rulers": (0, a.unref)(
|
|
38533
|
+
"show-rulers": (0, a.unref)(Fn) && !(0, a.unref)(pt).presenting.value,
|
|
38506
38534
|
"ruler-selected-bounds": (0, a.unref)(Ce).rulerSelectedBounds.value,
|
|
38507
38535
|
"can-drag-guides": le.value && !(0, a.unref)(pt).presenting.value,
|
|
38508
38536
|
"template-elements": (0, a.unref)(Ve),
|
|
@@ -38522,27 +38550,27 @@ var Voe = ["aria-busy", "tabindex"], Doe = {
|
|
|
38522
38550
|
"active-slide-index": (0, a.unref)(ue),
|
|
38523
38551
|
"selected-elements": (0, a.unref)(Te),
|
|
38524
38552
|
"selected-element-ids": (0, a.unref)(Ne),
|
|
38525
|
-
marquee: (0, a.unref)(
|
|
38553
|
+
marquee: (0, a.unref)(ze),
|
|
38526
38554
|
"active-comments": (0, a.unref)(tn).activeComments.value,
|
|
38527
38555
|
"on-comment-marker-click": (0, a.unref)(tn).onCommentMarkerClick,
|
|
38528
|
-
"show-grid": (0, a.unref)(
|
|
38556
|
+
"show-grid": (0, a.unref)(Pn),
|
|
38529
38557
|
"grid-spacing-px": Ye.value,
|
|
38530
|
-
"show-guides": (0, a.unref)(
|
|
38558
|
+
"show-guides": (0, a.unref)(zn),
|
|
38531
38559
|
drag: (0, a.unref)(Qe),
|
|
38532
38560
|
"inline-edit": (0, a.unref)(He),
|
|
38533
38561
|
inspector: (0, a.unref)(st),
|
|
38534
38562
|
collaboration: (0, a.unref)(nn),
|
|
38535
|
-
"spell-check-enabled": (0, a.unref)(
|
|
38536
|
-
"drawing-active": (0, a.unref)(
|
|
38537
|
-
"active-tool": (0, a.unref)(
|
|
38538
|
-
"drawing-color": (0, a.unref)(
|
|
38539
|
-
"drawing-width": (0, a.unref)(
|
|
38540
|
-
"on-stroke": (0, a.unref)(
|
|
38541
|
-
"on-erase": (0, a.unref)(
|
|
38563
|
+
"spell-check-enabled": (0, a.unref)(An),
|
|
38564
|
+
"drawing-active": (0, a.unref)(ro),
|
|
38565
|
+
"active-tool": (0, a.unref)(Bn),
|
|
38566
|
+
"drawing-color": (0, a.unref)(Vn),
|
|
38567
|
+
"drawing-width": (0, a.unref)(Dn),
|
|
38568
|
+
"on-stroke": (0, a.unref)(lo),
|
|
38569
|
+
"on-erase": (0, a.unref)(io),
|
|
38542
38570
|
ai: s.ai,
|
|
38543
38571
|
"ai-panel": (0, a.unref)(Re),
|
|
38544
38572
|
"on-request-edit": (0, a.unref)(We),
|
|
38545
|
-
"on-format": (0, a.unref)(
|
|
38573
|
+
"on-format": (0, a.unref)($n)
|
|
38546
38574
|
}, null, 8, [
|
|
38547
38575
|
"can-edit",
|
|
38548
38576
|
"presenting",
|
|
@@ -38596,8 +38624,8 @@ var Voe = ["aria-busy", "tabindex"], Doe = {
|
|
|
38596
38624
|
"can-edit": le.value,
|
|
38597
38625
|
"edit-template-mode": (0, a.unref)(Be),
|
|
38598
38626
|
"is-mobile": (0, a.unref)(yn),
|
|
38599
|
-
"inspector-open": (0, a.unref)(
|
|
38600
|
-
"on-close-inspector": () =>
|
|
38627
|
+
"inspector-open": (0, a.unref)(Tn),
|
|
38628
|
+
"on-close-inspector": () => Tn.value = !1,
|
|
38601
38629
|
"inspector-element": (0, a.unref)(st).inspectorElementForPanels.value,
|
|
38602
38630
|
"active-slide": (0, a.unref)(fe),
|
|
38603
38631
|
"slide-count": (0, a.unref)(me),
|
|
@@ -38615,8 +38643,8 @@ var Voe = ["aria-busy", "tabindex"], Doe = {
|
|
|
38615
38643
|
"ai-panel-open": Me.value,
|
|
38616
38644
|
"on-close-ai-panel": () => Me.value = !1,
|
|
38617
38645
|
"ai-panel": (0, a.unref)(Re),
|
|
38618
|
-
"ai-bridge": (0, a.unref)(
|
|
38619
|
-
"ribbon-mode": (0, a.unref)(
|
|
38646
|
+
"ai-bridge": (0, a.unref)(co),
|
|
38647
|
+
"ribbon-mode": (0, a.unref)(Ln),
|
|
38620
38648
|
"go-to": (0, a.unref)(ge),
|
|
38621
38649
|
"on-inspector-update": (0, a.unref)(st).onInspectorUpdate,
|
|
38622
38650
|
"on-update-slide-animations": (0, a.unref)(st).writeSlideAnimations,
|
|
@@ -38662,12 +38690,12 @@ var Voe = ["aria-busy", "tabindex"], Doe = {
|
|
|
38662
38690
|
le.value && !(0, a.unref)(yn) && (0, a.unref)(me) > 0 && !(0, a.unref)(pt).presenting.value ? ((0, a.openBlock)(), (0, a.createBlock)(ad, {
|
|
38663
38691
|
key: 2,
|
|
38664
38692
|
ref_key: "notesPanel",
|
|
38665
|
-
ref:
|
|
38693
|
+
ref: qn,
|
|
38666
38694
|
slide: (0, a.unref)(fe),
|
|
38667
|
-
expanded: (0, a.unref)(
|
|
38695
|
+
expanded: (0, a.unref)(In),
|
|
38668
38696
|
"notes-style": (0, a.unref)(W)?.notesStyle,
|
|
38669
38697
|
onUpdate: (0, a.unref)(Nt),
|
|
38670
|
-
onToggle: t[13] || (t[13] = (e) =>
|
|
38698
|
+
onToggle: t[13] || (t[13] = (e) => In.value = !(0, a.unref)(In))
|
|
38671
38699
|
}, null, 8, [
|
|
38672
38700
|
"slide",
|
|
38673
38701
|
"expanded",
|
|
@@ -38682,14 +38710,14 @@ var Voe = ["aria-busy", "tabindex"], Doe = {
|
|
|
38682
38710
|
"autosave-status": (0, a.unref)(Xt) ? "disabled" : (0, a.unref)(Gt) ? (0, a.unref)(Ht).status.value : void 0,
|
|
38683
38711
|
"last-saved-at": (0, a.unref)(Ht).lastSavedAt.value,
|
|
38684
38712
|
scale: (0, a.unref)(he),
|
|
38685
|
-
mode: (0, a.unref)(
|
|
38686
|
-
"is-notes-expanded": (0, a.unref)(
|
|
38713
|
+
mode: (0, a.unref)(Ln),
|
|
38714
|
+
"is-notes-expanded": (0, a.unref)(In),
|
|
38687
38715
|
"show-notes": le.value,
|
|
38688
38716
|
"hidden-actions": s.hiddenActions,
|
|
38689
38717
|
onZoomIn: (0, a.unref)(ke),
|
|
38690
38718
|
onZoomOut: (0, a.unref)(Se),
|
|
38691
38719
|
onZoomToFit: (0, a.unref)(Ee),
|
|
38692
|
-
onToggleNotes: t[14] || (t[14] = (e) =>
|
|
38720
|
+
onToggleNotes: t[14] || (t[14] = (e) => In.value = !(0, a.unref)(In)),
|
|
38693
38721
|
onToggleSlideSorter: t[15] || (t[15] = (e) => (0, a.unref)(Et).showSorter.value = !0),
|
|
38694
38722
|
onSetMode: t[16] || (t[16] = (e) => "present" === e ? (0, a.unref)(pt).startPresenting() : (0, a.unref)(pt).presenting.value = !1)
|
|
38695
38723
|
}, (0, a.createSlots)({ _: 2 }, [(0, a.unref)(nn).collabActive.value ? {
|
|
@@ -38719,14 +38747,14 @@ var Voe = ["aria-busy", "tabindex"], Doe = {
|
|
|
38719
38747
|
"onZoomOut",
|
|
38720
38748
|
"onZoomToFit"
|
|
38721
38749
|
])) : (0, a.createCommentVNode)("", !0),
|
|
38722
|
-
(0, a.createVNode)(
|
|
38750
|
+
(0, a.createVNode)(rF, {
|
|
38723
38751
|
"can-edit": le.value,
|
|
38724
38752
|
theme: (0, a.unref)(X),
|
|
38725
|
-
"theme-gallery-open": (0, a.unref)(
|
|
38726
|
-
"on-close-theme-gallery": () =>
|
|
38727
|
-
"theme-editor-open": (0, a.unref)(
|
|
38728
|
-
"on-close-theme-editor": () =>
|
|
38729
|
-
"theme-editing": (0, a.unref)(
|
|
38753
|
+
"theme-gallery-open": (0, a.unref)(On),
|
|
38754
|
+
"on-close-theme-gallery": () => On.value = !1,
|
|
38755
|
+
"theme-editor-open": (0, a.unref)(Mn),
|
|
38756
|
+
"on-close-theme-editor": () => Mn.value = !1,
|
|
38757
|
+
"theme-editing": (0, a.unref)(so),
|
|
38730
38758
|
"context-menu": (0, a.unref)($t),
|
|
38731
38759
|
"context-items": (0, a.unref)(Ut),
|
|
38732
38760
|
"on-context-select": (0, a.unref)(Kt),
|
|
@@ -38775,19 +38803,19 @@ var Voe = ["aria-busy", "tabindex"], Doe = {
|
|
|
38775
38803
|
"media-data-urls": (0, a.unref)(C),
|
|
38776
38804
|
"core-properties": (0, a.unref)(_),
|
|
38777
38805
|
"custom-properties": (0, a.unref)(I),
|
|
38778
|
-
"app-properties": (0, a.unref)(
|
|
38806
|
+
"app-properties": (0, a.unref)(z),
|
|
38779
38807
|
"header-footer": (0, a.unref)(Z),
|
|
38780
38808
|
"document-properties": (0, a.unref)(dn),
|
|
38781
38809
|
"version-history": (0, a.unref)(un),
|
|
38782
38810
|
printer: (0, a.unref)(St),
|
|
38783
38811
|
"header-footer-dialog": (0, a.unref)(pn),
|
|
38784
|
-
"show-shortcuts": (0, a.unref)(
|
|
38785
|
-
"on-close-shortcuts": () =>
|
|
38786
|
-
"show-settings": (0, a.unref)(
|
|
38787
|
-
"on-close-settings": () =>
|
|
38812
|
+
"show-shortcuts": (0, a.unref)(jn),
|
|
38813
|
+
"on-close-shortcuts": () => jn.value = !1,
|
|
38814
|
+
"show-settings": (0, a.unref)(no),
|
|
38815
|
+
"on-close-settings": () => no.value = !1,
|
|
38788
38816
|
"options-store": (0, a.unref)(b),
|
|
38789
38817
|
"viewer-options": (0, a.unref)(y),
|
|
38790
|
-
"addin-status":
|
|
38818
|
+
"addin-status": to.value,
|
|
38791
38819
|
"theme-key": (0, a.unref)(m).themeKey.value,
|
|
38792
38820
|
"on-theme-select": (0, a.unref)(m).selectTheme,
|
|
38793
38821
|
"locale-code": (0, a.unref)(m).localeCode.value,
|
|
@@ -38795,7 +38823,7 @@ var Voe = ["aria-busy", "tabindex"], Doe = {
|
|
|
38795
38823
|
"available-themes": s.availableThemes,
|
|
38796
38824
|
"available-locales": (0, a.unref)(m).resolvedAvailableLocales.value,
|
|
38797
38825
|
"ai-enabled": Boolean(s.ai),
|
|
38798
|
-
"on-clear-cache":
|
|
38826
|
+
"on-clear-cache": oo
|
|
38799
38827
|
}, null, 8, [
|
|
38800
38828
|
"custom-font-families",
|
|
38801
38829
|
"slides",
|
|
@@ -38876,7 +38904,7 @@ var Voe = ["aria-busy", "tabindex"], Doe = {
|
|
|
38876
38904
|
"signature-count",
|
|
38877
38905
|
"deck-actions"
|
|
38878
38906
|
]),
|
|
38879
|
-
(0, a.unref)(yn) && !(0, a.unref)(pt).presenting.value ? ((0, a.openBlock)(), (0, a.createBlock)(
|
|
38907
|
+
(0, a.unref)(yn) && !(0, a.unref)(pt).presenting.value ? ((0, a.openBlock)(), (0, a.createBlock)(z9, {
|
|
38880
38908
|
key: 5,
|
|
38881
38909
|
chrome: (0, a.unref)(Cn),
|
|
38882
38910
|
deck: (0, a.unref)(k),
|
|
@@ -38960,8 +38988,8 @@ var Voe = ["aria-busy", "tabindex"], Doe = {
|
|
|
38960
38988
|
key: 4,
|
|
38961
38989
|
toasts: (0, a.unref)(ce).visibleToasts.value,
|
|
38962
38990
|
"overflow-count": (0, a.unref)(ce).overflowCount.value,
|
|
38963
|
-
"right-inset":
|
|
38964
|
-
"bottom-inset":
|
|
38991
|
+
"right-inset": Wn.value,
|
|
38992
|
+
"bottom-inset": Xn.value,
|
|
38965
38993
|
onDismiss: (0, a.unref)(ce).dismiss,
|
|
38966
38994
|
onDismissAll: (0, a.unref)(ce).dismissAll
|
|
38967
38995
|
}, null, 8, [
|
|
@@ -38985,7 +39013,7 @@ var Voe = ["aria-busy", "tabindex"], Doe = {
|
|
|
38985
39013
|
"status-message",
|
|
38986
39014
|
"onCancel"
|
|
38987
39015
|
]),
|
|
38988
|
-
(0, a.createVNode)(
|
|
39016
|
+
(0, a.createVNode)(zte, {
|
|
38989
39017
|
"deck-views": (0, a.unref)(Et),
|
|
38990
39018
|
presentation: (0, a.unref)(pt),
|
|
38991
39019
|
"merged-slides": (0, a.unref)(_e),
|
|
@@ -39075,7 +39103,7 @@ function Koe(e) {
|
|
|
39075
39103
|
Object.defineProperty(exports, "CollaborationCursors_default", {
|
|
39076
39104
|
enumerable: !0,
|
|
39077
39105
|
get: function() {
|
|
39078
|
-
return
|
|
39106
|
+
return zV;
|
|
39079
39107
|
}
|
|
39080
39108
|
}), Object.defineProperty(exports, "CollaborationStatusIndicator_default", {
|
|
39081
39109
|
enumerable: !0,
|
|
@@ -39145,7 +39173,7 @@ Object.defineProperty(exports, "CollaborationCursors_default", {
|
|
|
39145
39173
|
}), Object.defineProperty(exports, "extractReadyToolCalls", {
|
|
39146
39174
|
enumerable: !0,
|
|
39147
39175
|
get: function() {
|
|
39148
|
-
return
|
|
39176
|
+
return FB;
|
|
39149
39177
|
}
|
|
39150
39178
|
}), Object.defineProperty(exports, "focusTargetChips", {
|
|
39151
39179
|
enumerable: !0,
|
|
@@ -39185,7 +39213,7 @@ Object.defineProperty(exports, "CollaborationCursors_default", {
|
|
|
39185
39213
|
}), Object.defineProperty(exports, "toRenderableParts", {
|
|
39186
39214
|
enumerable: !0,
|
|
39187
39215
|
get: function() {
|
|
39188
|
-
return
|
|
39216
|
+
return zB;
|
|
39189
39217
|
}
|
|
39190
39218
|
}), Object.defineProperty(exports, "toolCanvasTarget", {
|
|
39191
39219
|
enumerable: !0,
|