pptx-vue-viewer 4.72.1 → 4.74.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 +17 -0
- package/dist/index.cjs +2 -2
- package/dist/index.cjs.br +0 -0
- package/dist/index.cjs.gz +0 -0
- package/dist/index.d.ts +99 -39
- package/dist/index.js +5 -5
- package/dist/index.js.br +0 -0
- package/dist/index.js.gz +0 -0
- package/dist/internals.cjs +1 -1
- package/dist/internals.cjs.br +0 -0
- package/dist/internals.cjs.gz +0 -0
- package/dist/internals.js +1 -1
- package/dist/internals.js.br +0 -0
- package/dist/internals.js.gz +0 -0
- package/dist/{useViewerSettingsDialog-Bgy-6QAK.cjs → useViewerSettingsDialog-B33MOSx-.cjs} +83 -82
- package/dist/useViewerSettingsDialog-B33MOSx-.cjs.br +0 -0
- package/dist/useViewerSettingsDialog-B33MOSx-.cjs.gz +0 -0
- package/dist/{useViewerSettingsDialog-BbtAGHdZ.js → useViewerSettingsDialog-Bz0RdicV.js} +1599 -1598
- package/dist/useViewerSettingsDialog-Bz0RdicV.js.br +0 -0
- package/dist/useViewerSettingsDialog-Bz0RdicV.js.gz +0 -0
- package/dist/viewer/index.cjs +2 -2
- package/dist/viewer/index.cjs.br +0 -0
- package/dist/viewer/index.cjs.gz +0 -0
- package/dist/viewer/index.d.ts +101 -41
- 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-CXeAhlqC.cjs → viewer-Co39Flri.cjs} +437 -384
- package/dist/viewer-Co39Flri.cjs.br +0 -0
- package/dist/viewer-Co39Flri.cjs.gz +0 -0
- package/dist/{viewer-BW6vsxRO.js → viewer-Dwl_oBxY.js} +6419 -6371
- package/dist/viewer-Dwl_oBxY.js.br +0 -0
- package/dist/viewer-Dwl_oBxY.js.gz +0 -0
- package/dist/{y-webrtc-BgcE4lbF.js → y-webrtc-CwHdtPzt.js} +1 -1
- package/dist/y-webrtc-CwHdtPzt.js.br +0 -0
- package/dist/y-webrtc-CwHdtPzt.js.gz +0 -0
- package/dist/{y-webrtc-DjfDRwd4.cjs → y-webrtc-DOVNm7CC.cjs} +1 -1
- package/dist/y-webrtc-DOVNm7CC.cjs.br +0 -0
- package/dist/y-webrtc-DOVNm7CC.cjs.gz +0 -0
- package/package.json +4 -4
- package/dist/useViewerSettingsDialog-BbtAGHdZ.js.br +0 -0
- package/dist/useViewerSettingsDialog-BbtAGHdZ.js.gz +0 -0
- package/dist/useViewerSettingsDialog-Bgy-6QAK.cjs.br +0 -0
- package/dist/useViewerSettingsDialog-Bgy-6QAK.cjs.gz +0 -0
- package/dist/viewer-BW6vsxRO.js.br +0 -0
- package/dist/viewer-BW6vsxRO.js.gz +0 -0
- package/dist/viewer-CXeAhlqC.cjs.br +0 -0
- package/dist/viewer-CXeAhlqC.cjs.gz +0 -0
- package/dist/y-webrtc-BgcE4lbF.js.br +0 -0
- package/dist/y-webrtc-BgcE4lbF.js.gz +0 -0
- package/dist/y-webrtc-DjfDRwd4.cjs.br +0 -0
- package/dist/y-webrtc-DjfDRwd4.cjs.gz +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const e = require("./useViewerSettingsDialog-
|
|
1
|
+
const e = require("./useViewerSettingsDialog-B33MOSx-.cjs"), t = require("./useController-BPpUYfta.cjs"), n = require("./ai-CU3vgjZb.cjs"), o = require("./useAiPanelController-Bc1diEUl.cjs");
|
|
2
2
|
require("./i18n.cjs");
|
|
3
3
|
let a = require("ooxml-ui/pptx"), l = require("vue"), r = require("lucide-vue-next"), i = require("ooxml-ui/pptx/ai/host"), s = require("ooxml-ui/pptx/i18n");
|
|
4
4
|
var c = Symbol("pptx-viewer-theme");
|
|
@@ -90,7 +90,7 @@ var b = (0, l.defineComponent)({
|
|
|
90
90
|
}), k = ["aria-busy", "aria-label"], S = {
|
|
91
91
|
key: 0,
|
|
92
92
|
class: "pptx-vue-modal-title text-sm font-semibold leading-snug"
|
|
93
|
-
}, E = { key: 1 },
|
|
93
|
+
}, E = { key: 1 }, w = ["aria-label", "disabled"], C = { class: "pptx-vue-modal-body overflow-y-auto p-4" }, B = {
|
|
94
94
|
key: 0,
|
|
95
95
|
class: "pptx-vue-modal-footer flex flex-wrap justify-end gap-2 border-t border-border px-4 py-3"
|
|
96
96
|
}, N = (0, l.defineComponent)({
|
|
@@ -161,8 +161,8 @@ var b = (0, l.defineComponent)({
|
|
|
161
161
|
}, [(0, l.createVNode)((0, l.unref)(r.X), {
|
|
162
162
|
class: "h-4 w-4 max-md:h-6 max-md:w-6",
|
|
163
163
|
"aria-hidden": "true"
|
|
164
|
-
})], 8,
|
|
165
|
-
(0, l.createElementVNode)("div",
|
|
164
|
+
})], 8, w)], 32),
|
|
165
|
+
(0, l.createElementVNode)("div", C, [(0, l.unref)(d).renderer.value && p.value ? ((0, l.openBlock)(), (0, l.createBlock)(b, {
|
|
166
166
|
key: 0,
|
|
167
167
|
renderer: (0, l.unref)(d).renderer.value,
|
|
168
168
|
context: p.value
|
|
@@ -749,7 +749,7 @@ var fe = ["spellcheck", "aria-label"], xe = (0, l.defineComponent)({
|
|
|
749
749
|
"aria-pressed",
|
|
750
750
|
"data-testid",
|
|
751
751
|
"onClick"
|
|
752
|
-
],
|
|
752
|
+
], we = { class: "pptx-vue-handout-master-panel__card" }, Ce = { class: "pptx-vue-handout-master-panel__heading" }, Be = ["aria-label", "value"], Ne = {
|
|
753
753
|
key: 0,
|
|
754
754
|
class: "pptx-vue-handout-master-panel__card"
|
|
755
755
|
}, Ve = { class: "pptx-vue-handout-master-panel__heading" }, Te = { class: "pptx-vue-handout-master-panel__list" }, Fe = (0, l.defineComponent)({
|
|
@@ -777,7 +777,7 @@ var fe = ["spellcheck", "aria-label"], xe = (0, l.defineComponent)({
|
|
|
777
777
|
"data-testid": `slides-per-page-${t}`,
|
|
778
778
|
onClick: (e) => o("slides-per-page-change", t)
|
|
779
779
|
}, (0, l.toDisplayString)(t), 11, Ee)), 64))])]),
|
|
780
|
-
(0, l.createElementVNode)("section",
|
|
780
|
+
(0, l.createElementVNode)("section", we, [(0, l.createElementVNode)("div", Ce, (0, l.toDisplayString)((0, l.unref)(a)("pptx.master.handoutBackground")), 1), (0, l.createElementVNode)("input", {
|
|
781
781
|
type: "color",
|
|
782
782
|
"aria-label": (0, l.unref)(a)("pptx.master.backgroundColorLabel"),
|
|
783
783
|
class: "pptx-vue-handout-master-panel__swatch",
|
|
@@ -1232,10 +1232,10 @@ var fe = ["spellcheck", "aria-label"], xe = (0, l.defineComponent)({
|
|
|
1232
1232
|
}(e)), 13, kt))), 128))
|
|
1233
1233
|
], 4)) : ((0, l.openBlock)(), (0, l.createElementBlock)("div", ft, (0, l.toDisplayString)((0, l.unref)(o)("pptx.notesMaster.empty")), 1))]));
|
|
1234
1234
|
}
|
|
1235
|
-
}), Et = e._plugin_vue_export_helper_default(St, [["__scopeId", "data-v-a2686550"]]),
|
|
1235
|
+
}), Et = e._plugin_vue_export_helper_default(St, [["__scopeId", "data-v-a2686550"]]), wt = a.RESIZE_HANDLES.map((e) => ({
|
|
1236
1236
|
id: e,
|
|
1237
1237
|
...a.RESIZE_HANDLE_GEOMETRY[e]
|
|
1238
|
-
})),
|
|
1238
|
+
})), Ct = "function" == typeof matchMedia && matchMedia("(pointer: coarse)").matches;
|
|
1239
1239
|
function Bt(e) {
|
|
1240
1240
|
return {
|
|
1241
1241
|
x: e.x,
|
|
@@ -1430,7 +1430,7 @@ var At = ["data-selection-for"], zt = ["onPointerdown"], Mt = ["aria-label", "on
|
|
|
1430
1430
|
onAdjust: (e) => s("adjust", e),
|
|
1431
1431
|
onAdjustEnd: (e) => s("adjustEnd", e),
|
|
1432
1432
|
onRequestEdit: (e) => s("requestEdit", e)
|
|
1433
|
-
}), h =
|
|
1433
|
+
}), h = wt, b = (0, l.computed)(() => Nt(i.zoom)), k = (e) => function(e, t) {
|
|
1434
1434
|
const n = Vt(t);
|
|
1435
1435
|
return {
|
|
1436
1436
|
left: e.width / 2 + "px",
|
|
@@ -1453,7 +1453,7 @@ var At = ["data-selection-for"], zt = ["onPointerdown"], Mt = ["aria-label", "on
|
|
|
1453
1453
|
ref_key: "rootEl",
|
|
1454
1454
|
ref: d,
|
|
1455
1455
|
class: (0, l.normalizeClass)(["pptx-vue-selection-overlay", {
|
|
1456
|
-
"is-coarse-pointer": (0, l.unref)(
|
|
1456
|
+
"is-coarse-pointer": (0, l.unref)(Ct),
|
|
1457
1457
|
"is-inline-editing": n.inlineEditing
|
|
1458
1458
|
}]),
|
|
1459
1459
|
"data-testid": "selection-overlay",
|
|
@@ -2005,7 +2005,7 @@ var gn = 1280, fn = (0, l.defineComponent)({
|
|
|
2005
2005
|
_: 1
|
|
2006
2006
|
}, 8, ["open", "title"]));
|
|
2007
2007
|
}
|
|
2008
|
-
}),
|
|
2008
|
+
}), wn = [".state"], Cn = [".state"], Bn = (0, l.defineComponent)({
|
|
2009
2009
|
__name: "InsertSection",
|
|
2010
2010
|
props: {
|
|
2011
2011
|
canEdit: { type: Boolean },
|
|
@@ -2114,11 +2114,11 @@ var gn = 1280, fn = (0, l.defineComponent)({
|
|
|
2114
2114
|
key: 0,
|
|
2115
2115
|
".state": m.value,
|
|
2116
2116
|
onInsertRequest: v
|
|
2117
|
-
}, null, 40,
|
|
2117
|
+
}, null, 40, wn)) : ((0, l.openBlock)(), (0, l.createElementBlock)("pptx-ui-ribbon-insert", {
|
|
2118
2118
|
key: 1,
|
|
2119
2119
|
".state": m.value,
|
|
2120
2120
|
onInsertRequest: v
|
|
2121
|
-
}, null, 40,
|
|
2121
|
+
}, null, 40, Cn)),
|
|
2122
2122
|
u.value && !n.dialogHost ? ((0, l.openBlock)(), (0, l.createBlock)(En, {
|
|
2123
2123
|
key: 2,
|
|
2124
2124
|
open: d.value,
|
|
@@ -2865,12 +2865,12 @@ var so = Symbol("pptx-viewer-storage");
|
|
|
2865
2865
|
function co() {
|
|
2866
2866
|
return (0, l.inject)(so, () => {});
|
|
2867
2867
|
}
|
|
2868
|
-
var po = "4.
|
|
2868
|
+
var po = "4.74.0", uo = Symbol("pptx-account-auth");
|
|
2869
2869
|
var mo = { class: "pptx-vue-account mt-8 flex max-w-[760px] flex-col gap-6" }, vo = { class: "pptx-vue-account-section border border-border bg-card p-6 text-card-foreground" }, go = { class: "text-base font-semibold" }, fo = { class: "mt-4 flex items-center gap-4" }, xo = { class: "min-w-0 flex-1" }, yo = { class: "block text-xs font-medium text-muted-foreground" }, ho = ["value", "placeholder"], bo = { class: "mt-4" }, ko = { class: "block text-xs font-medium text-muted-foreground" }, So = { class: "mt-2 flex gap-2" }, Eo = [
|
|
2870
2870
|
"aria-pressed",
|
|
2871
2871
|
"aria-label",
|
|
2872
2872
|
"onClick"
|
|
2873
|
-
],
|
|
2873
|
+
], wo = { class: "pptx-vue-account-section border border-border bg-card p-6 text-card-foreground" }, Co = { class: "text-base font-semibold" }, Bo = { class: "mt-2 text-sm text-muted-foreground" }, No = { class: "mt-3 text-xs leading-5 text-muted-foreground" }, Vo = {
|
|
2874
2874
|
key: 0,
|
|
2875
2875
|
class: "mt-2 text-xs text-muted-foreground",
|
|
2876
2876
|
role: "status"
|
|
@@ -2928,8 +2928,8 @@ var mo = { class: "pptx-vue-account mt-8 flex max-w-[760px] flex-col gap-6" }, v
|
|
|
2928
2928
|
}(e)
|
|
2929
2929
|
}, null, 14, Eo))), 128))])])
|
|
2930
2930
|
]),
|
|
2931
|
-
(0, l.createElementVNode)("section",
|
|
2932
|
-
(0, l.createElementVNode)("h2",
|
|
2931
|
+
(0, l.createElementVNode)("section", wo, [
|
|
2932
|
+
(0, l.createElementVNode)("h2", Co, (0, l.toDisplayString)((0, l.unref)(n)("pptx.account.storage.title")), 1),
|
|
2933
2933
|
(0, l.createElementVNode)("p", Bo, (0, l.toDisplayString)(0 === u.value ? (0, l.unref)(n)("pptx.account.storage.usageEmpty") : (0, l.unref)(n)("pptx.account.storage.usage", {
|
|
2934
2934
|
count: u.value,
|
|
2935
2935
|
size: (0, l.unref)(a.formatBackstageSize)(m.value)
|
|
@@ -3013,7 +3013,7 @@ var Go = ["aria-label"], Ko = { class: "flex w-[148px] shrink-0 flex-col border-
|
|
|
3013
3013
|
}, fa = ["onClick"], xa = { class: "grid size-10 shrink-0 place-items-center bg-accent text-primary" }, ya = { class: "block text-[15px]" }, ha = { class: "mt-1 block text-[12px] leading-5 text-muted-foreground" }, ba = {
|
|
3014
3014
|
key: 4,
|
|
3015
3015
|
class: "mt-8 max-w-[760px] border border-border bg-card p-7 text-card-foreground"
|
|
3016
|
-
}, ka = { class: "grid size-14 place-items-center rounded-full bg-primary text-primary-foreground" }, Sa = { class: "mt-4 text-lg font-semibold" }, Ea = { class: "mt-2 text-sm leading-6 text-muted-foreground" },
|
|
3016
|
+
}, ka = { class: "grid size-14 place-items-center rounded-full bg-primary text-primary-foreground" }, Sa = { class: "mt-4 text-lg font-semibold" }, Ea = { class: "mt-2 text-sm leading-6 text-muted-foreground" }, wa = { class: "mt-12 text-[11px] text-muted-foreground" }, Ca = (0, l.defineComponent)({
|
|
3017
3017
|
__name: "FileSection",
|
|
3018
3018
|
props: {
|
|
3019
3019
|
fileName: {},
|
|
@@ -3057,9 +3057,9 @@ var Go = ["aria-label"], Ko = { class: "flex w-[148px] shrink-0 flex-col border-
|
|
|
3057
3057
|
if (e) return e.label;
|
|
3058
3058
|
const t = a.BACKSTAGE_NAV.find((e) => e.id === c.value);
|
|
3059
3059
|
return i(t ? t.labelKey : "pptx.backstage.nav.home");
|
|
3060
|
-
}),
|
|
3060
|
+
}), w = (e) => {
|
|
3061
3061
|
e?.(), e && o.onClose();
|
|
3062
|
-
}, { isHidden:
|
|
3062
|
+
}, { isHidden: C } = e.useToolbarVisibility(() => o.hiddenActions), B = x(), N = (0, l.computed)(() => function(e, t, n, o = a.EMPTY_RESOLVED_CUSTOMIZATION) {
|
|
3063
3063
|
if ("export" === e && n("export")) return [];
|
|
3064
3064
|
const l = {
|
|
3065
3065
|
protect: t.onOpenPasswordProtection,
|
|
@@ -3088,13 +3088,13 @@ var Go = ["aria-label"], Ko = { class: "flex w-[148px] shrink-0 flex-col border-
|
|
|
3088
3088
|
e.title,
|
|
3089
3089
|
e.body
|
|
3090
3090
|
]);
|
|
3091
|
-
}(c.value, o,
|
|
3091
|
+
}(c.value, o, C, B.value)), V = (0, l.computed)(() => (0, a.backstageNavEntries)(a.BACKSTAGE_NAV, B.value).filter((e) => !("export" === e.id && C("export")))), T = (0, l.computed)(() => V.value.filter((e) => "footer" !== e.group)), F = (0, l.computed)(() => V.value.filter((e) => "footer" === e.group)), P = (0, l.computed)(() => V.value.find((e) => e.id === c.value)?.host), D = (0, l.inject)(y, void 0), I = (0, l.computed)(() => P.value && D ? {
|
|
3092
3092
|
...D.value,
|
|
3093
3093
|
region: `backstage.host.${P.value.id}`,
|
|
3094
3094
|
close: o.onClose
|
|
3095
3095
|
} : void 0), _ = (0, l.computed)(() => c.value), A = h(() => P.value ? void 0 : `backstage.${_.value}`), z = (0, l.computed)(() => A.context(o.onClose));
|
|
3096
3096
|
function M(e) {
|
|
3097
|
-
return "close" === e ? o.onClose() : "save" === e ?
|
|
3097
|
+
return "close" === e ? o.onClose() : "save" === e ? w(o.onSave ?? o.onSaveAsPptx) : "options" === e && o.onOpenSettings ? w(o.onOpenSettings) : void (c.value = e);
|
|
3098
3098
|
}
|
|
3099
3099
|
return (0, l.watch)(V, (e) => {
|
|
3100
3100
|
e.some((e) => e.id === c.value) || (c.value = e.some((e) => "home" === e.id) ? "home" : e[0]?.id ?? "home");
|
|
@@ -3148,7 +3148,7 @@ var Go = ["aria-label"], Ko = { class: "flex w-[148px] shrink-0 flex-col border-
|
|
|
3148
3148
|
key: e.id,
|
|
3149
3149
|
type: "button",
|
|
3150
3150
|
class: "text-left",
|
|
3151
|
-
onClick: (t) =>
|
|
3151
|
+
onClick: (t) => w(() => {
|
|
3152
3152
|
t = e.id, m.clear(), o.onCreatePresentation(t);
|
|
3153
3153
|
return;
|
|
3154
3154
|
var t;
|
|
@@ -3171,7 +3171,7 @@ var Go = ["aria-label"], Ko = { class: "flex w-[148px] shrink-0 flex-col border-
|
|
|
3171
3171
|
".selected": k.value ?? "device",
|
|
3172
3172
|
onOfficeOpenPlaceChange: t[3] || (t[3] = (e) => k.value = e.detail.place),
|
|
3173
3173
|
onOfficeCloudFileOpen: t[4] || (t[4] = (e) => {
|
|
3174
|
-
t = e.detail.file,
|
|
3174
|
+
t = e.detail.file, w(() => m.open(t));
|
|
3175
3175
|
return;
|
|
3176
3176
|
var t;
|
|
3177
3177
|
})
|
|
@@ -3189,7 +3189,7 @@ var Go = ["aria-label"], Ko = { class: "flex w-[148px] shrink-0 flex-col border-
|
|
|
3189
3189
|
key: 0,
|
|
3190
3190
|
type: "button",
|
|
3191
3191
|
class: "mt-4 bg-primary px-5 py-2.5 text-sm font-semibold text-primary-foreground hover:opacity-90",
|
|
3192
|
-
onClick: t[2] || (t[2] = (e) =>
|
|
3192
|
+
onClick: t[2] || (t[2] = (e) => w(o.onOpenFile))
|
|
3193
3193
|
}, (0, l.toDisplayString)((0, l.unref)(i)("pptx.backstage.browseDevice")), 1)) : (0, l.createCommentVNode)("", !0),
|
|
3194
3194
|
(0, l.createElementVNode)("h2", aa, (0, l.toDisplayString)((0, l.unref)(i)("pptx.backstage.recentHeading")), 1),
|
|
3195
3195
|
(0, l.createElementVNode)("div", la, [
|
|
@@ -3202,7 +3202,7 @@ var Go = ["aria-label"], Ko = { class: "flex w-[148px] shrink-0 flex-col border-
|
|
|
3202
3202
|
key: e.key,
|
|
3203
3203
|
type: "button",
|
|
3204
3204
|
class: "grid w-full grid-cols-[1fr_120px_90px] items-center border-t border-border px-3 py-3 text-left hover:bg-accent",
|
|
3205
|
-
onClick: (t) =>
|
|
3205
|
+
onClick: (t) => w(() => o.onOpenRecentFile?.(e.key))
|
|
3206
3206
|
}, [
|
|
3207
3207
|
(0, l.createElementVNode)("span", sa, [t[7] || (t[7] = (0, l.createElementVNode)("span", { class: "grid size-8 shrink-0 place-items-center bg-primary font-bold text-primary-foreground" }, "P", -1)), (0, l.createElementVNode)("span", ca, [(0, l.createElementVNode)("strong", da, (0, l.toDisplayString)(e.name), 1), (0, l.createElementVNode)("small", pa, (0, l.toDisplayString)(e.location), 1)])]),
|
|
3208
3208
|
(0, l.createElementVNode)("span", ua, (0, l.toDisplayString)((0, l.unref)(a.formatBackstageDate)(e.timestamp, Date.now(), (0, l.unref)(i))), 1),
|
|
@@ -3215,7 +3215,7 @@ var Go = ["aria-label"], Ko = { class: "flex w-[148px] shrink-0 flex-col border-
|
|
|
3215
3215
|
key: e[0],
|
|
3216
3216
|
type: "button",
|
|
3217
3217
|
class: "flex min-h-28 items-start gap-4 border border-border bg-card p-5 text-left text-card-foreground transition hover:border-primary hover:shadow-md",
|
|
3218
|
-
onClick: (t) =>
|
|
3218
|
+
onClick: (t) => w(e[3])
|
|
3219
3219
|
}, [(0, l.createElementVNode)("span", xa, [((0, l.openBlock)(), (0, l.createBlock)((0, l.resolveDynamicComponent)(e[2]), {
|
|
3220
3220
|
size: 20,
|
|
3221
3221
|
"aria-hidden": "true"
|
|
@@ -3230,10 +3230,10 @@ var Go = ["aria-label"], Ko = { class: "flex w-[148px] shrink-0 flex-col border-
|
|
|
3230
3230
|
(0, l.createElementVNode)("button", {
|
|
3231
3231
|
type: "button",
|
|
3232
3232
|
class: "mt-6 bg-primary px-5 py-2.5 text-sm font-semibold text-primary-foreground hover:opacity-90",
|
|
3233
|
-
onClick: t[5] || (t[5] = (e) =>
|
|
3233
|
+
onClick: t[5] || (t[5] = (e) => w(o.onOpenSettings))
|
|
3234
3234
|
}, (0, l.toDisplayString)((0, l.unref)(i)("pptx.backstage.openOptions")), 1)
|
|
3235
3235
|
])) : (0, l.createCommentVNode)("", !0),
|
|
3236
|
-
(0, l.createElementVNode)("p",
|
|
3236
|
+
(0, l.createElementVNode)("p", wa, (0, l.toDisplayString)(o.fileName || (0, l.unref)(i)("pptx.backstage.untitled")) + " · " + (0, l.toDisplayString)((0, l.unref)(i)("pptx.backstage.savedToBrowser")), 1)
|
|
3237
3237
|
], 64))])], 8, Go));
|
|
3238
3238
|
}
|
|
3239
3239
|
}), Ba = [".state"], Na = (0, l.defineComponent)({
|
|
@@ -4106,7 +4106,7 @@ var Za = [".state"], Qa = (0, l.defineComponent)({
|
|
|
4106
4106
|
function E(e) {
|
|
4107
4107
|
p.value && o.onUpdateTextStyle({ characterSpacing: e });
|
|
4108
4108
|
}
|
|
4109
|
-
function
|
|
4109
|
+
function w(e) {
|
|
4110
4110
|
p.value && (d.value ? o.onUpdateTextStyle({ textCaps: "upper" === e ? "all" : "none" }) : o.onTransformTextCase(e));
|
|
4111
4111
|
}
|
|
4112
4112
|
return (e, t) => ((0, l.openBlock)(), (0, l.createElementBlock)(l.Fragment, null, [
|
|
@@ -4140,7 +4140,7 @@ var Za = [".state"], Qa = (0, l.defineComponent)({
|
|
|
4140
4140
|
onColor: f,
|
|
4141
4141
|
onHighlight: x,
|
|
4142
4142
|
onSpacing: E,
|
|
4143
|
-
onCase:
|
|
4143
|
+
onCase: w
|
|
4144
4144
|
}, null, 8, [
|
|
4145
4145
|
"disabled",
|
|
4146
4146
|
"text-style",
|
|
@@ -4823,7 +4823,7 @@ var Za = [".state"], Qa = (0, l.defineComponent)({
|
|
|
4823
4823
|
])])) : "file" === m.value ? ((0, l.openBlock)(), (0, l.createElementBlock)("div", {
|
|
4824
4824
|
key: 11,
|
|
4825
4825
|
class: (0, l.normalizeClass)(bl)
|
|
4826
|
-
}, [(0, l.createVNode)(
|
|
4826
|
+
}, [(0, l.createVNode)(Ca, {
|
|
4827
4827
|
"file-name": i.fileName,
|
|
4828
4828
|
"on-close": () => s("close"),
|
|
4829
4829
|
"on-create-presentation": i.onCreatePresentation,
|
|
@@ -4881,7 +4881,7 @@ var Za = [".state"], Qa = (0, l.defineComponent)({
|
|
|
4881
4881
|
_: 1
|
|
4882
4882
|
}, 8, ["open", "title"]));
|
|
4883
4883
|
}
|
|
4884
|
-
}), El = { class: "relative z-20" },
|
|
4884
|
+
}), El = { class: "relative z-20" }, wl = [".state"], Cl = (0, l.defineComponent)({
|
|
4885
4885
|
__name: "MobileToolbar",
|
|
4886
4886
|
props: {
|
|
4887
4887
|
insertOpen: { type: Boolean },
|
|
@@ -5104,7 +5104,7 @@ var Za = [".state"], Qa = (0, l.defineComponent)({
|
|
|
5104
5104
|
(0, l.createElementVNode)("pptx-ui-mobile-toolbar", {
|
|
5105
5105
|
".state": m.value,
|
|
5106
5106
|
onMobileToolbarRequest: v
|
|
5107
|
-
}, null, 40,
|
|
5107
|
+
}, null, 40, wl),
|
|
5108
5108
|
(0, l.createVNode)(Sl, (0, l.mergeProps)(r, {
|
|
5109
5109
|
open: d.value,
|
|
5110
5110
|
onClose: t[0] || (t[0] = (e) => d.value = !1)
|
|
@@ -5262,7 +5262,7 @@ var Tl = ["data-collapsed"], Fl = ["aria-expanded"], Pl = { class: "pptx-vue-not
|
|
|
5262
5262
|
},
|
|
5263
5263
|
emits: ["update", "toggle"],
|
|
5264
5264
|
setup(e, { emit: n }) {
|
|
5265
|
-
const o = e, a = n, { t: i } = t.useI18n(), s = h("notes"), c = (0, l.computed)(() => s.context(() => {})), d = (0, l.computed)(() => Boolean(s.renderer.value && c.value)), p = (0, l.computed)(() => void 0 !== o.slide), { richEditorRef: u, textareaRef: m, isRichEnabled: v, onRichInput: g, onRichBlur: f, inlineCommand: x, paragraphCommand: y, onRichKeydown: k, onEditorClick: S, insertLink: E, onPlainCommit:
|
|
5265
|
+
const o = e, a = n, { t: i } = t.useI18n(), s = h("notes"), c = (0, l.computed)(() => s.context(() => {})), d = (0, l.computed)(() => Boolean(s.renderer.value && c.value)), p = (0, l.computed)(() => void 0 !== o.slide), { richEditorRef: u, textareaRef: m, isRichEnabled: v, onRichInput: g, onRichBlur: f, inlineCommand: x, paragraphCommand: y, onRichKeydown: k, onEditorClick: S, insertLink: E, onPlainCommit: w, toggleRich: C, printNotes: B } = Vl(() => o.slide, (e, t) => a("update", e, t), () => o.notesStyle), N = (0, l.computed)(() => p.value && v.value), V = (0, l.computed)(() => !o.expanded);
|
|
5266
5266
|
function T() {
|
|
5267
5267
|
a("toggle");
|
|
5268
5268
|
}
|
|
@@ -5293,7 +5293,7 @@ var Tl = ["data-collapsed"], Fl = ["aria-expanded"], Pl = { class: "pptx-vue-not
|
|
|
5293
5293
|
onParagraph: (0, l.unref)(y),
|
|
5294
5294
|
onInsertLink: (0, l.unref)(E),
|
|
5295
5295
|
onPrint: (0, l.unref)(B),
|
|
5296
|
-
onToggleRich: (0, l.unref)(
|
|
5296
|
+
onToggleRich: (0, l.unref)(C)
|
|
5297
5297
|
}, null, 8, [
|
|
5298
5298
|
"is-rich-enabled",
|
|
5299
5299
|
"onInline",
|
|
@@ -5324,8 +5324,8 @@ var Tl = ["data-collapsed"], Fl = ["aria-expanded"], Pl = { class: "pptx-vue-not
|
|
|
5324
5324
|
placeholder: p.value ? (0, l.unref)(i)("pptx.notes.addSpeakerNotes") : (0, l.unref)(i)("pptx.notes.noSlide"),
|
|
5325
5325
|
"aria-label": (0, l.unref)(i)("pptx.presenter.speakerNotes"),
|
|
5326
5326
|
spellcheck: "true",
|
|
5327
|
-
onChange: n[4] || (n[4] = (...e) => (0, l.unref)(
|
|
5328
|
-
onBlur: n[5] || (n[5] = (...e) => (0, l.unref)(
|
|
5327
|
+
onChange: n[4] || (n[4] = (...e) => (0, l.unref)(w) && (0, l.unref)(w)(...e)),
|
|
5328
|
+
onBlur: n[5] || (n[5] = (...e) => (0, l.unref)(w) && (0, l.unref)(w)(...e))
|
|
5329
5329
|
}, null, 40, _l), [[l.vShow, !N.value]])
|
|
5330
5330
|
], 512)), [[l.vShow, !V.value]])], 12, Tl)), [[l.vShow, !d.value || e.embedded || !V.value]]);
|
|
5331
5331
|
}
|
|
@@ -6057,7 +6057,7 @@ var Rl = [".state"], Ll = (0, l.defineComponent)({
|
|
|
6057
6057
|
"value",
|
|
6058
6058
|
"title",
|
|
6059
6059
|
"aria-label"
|
|
6060
|
-
], br = { value: "" }, kr = ["value"], Sr = ["title"], Er = ["title"],
|
|
6060
|
+
], br = { value: "" }, kr = ["value"], Sr = ["title"], Er = ["title"], wr = ["title"], Cr = ["title"], Br = ["title"], Nr = (0, l.defineComponent)({
|
|
6061
6061
|
__name: "CustomShowsControls",
|
|
6062
6062
|
props: {
|
|
6063
6063
|
customShows: {},
|
|
@@ -6105,13 +6105,13 @@ var Rl = [".state"], Ll = (0, l.defineComponent)({
|
|
|
6105
6105
|
class: "px-2 py-1 rounded bg-red-700/80 hover:bg-red-600 text-[11px] transition-colors",
|
|
6106
6106
|
title: (0, l.unref)(a)("pptx.customShows.deleteTooltip"),
|
|
6107
6107
|
onClick: t[2] || (t[2] = (e) => n.onDeleteActiveCustomShow())
|
|
6108
|
-
}, (0, l.toDisplayString)((0, l.unref)(a)("pptx.sections.delete")), 9,
|
|
6108
|
+
}, (0, l.toDisplayString)((0, l.unref)(a)("pptx.sections.delete")), 9, wr),
|
|
6109
6109
|
(0, l.createElementVNode)("button", {
|
|
6110
6110
|
type: "button",
|
|
6111
6111
|
class: (0, l.normalizeClass)((0, l.unref)(o.cn)("px-2 py-1 rounded text-[11px] transition-colors", n.isCurrentSlideInActiveShow ? "bg-primary text-white" : "bg-muted hover:bg-accent")),
|
|
6112
6112
|
title: (0, l.unref)(a)("pptx.customShows.toggleSlideTooltip"),
|
|
6113
6113
|
onClick: t[3] || (t[3] = (e) => n.onToggleCurrentSlideInActiveShow())
|
|
6114
|
-
}, (0, l.toDisplayString)(n.isCurrentSlideInActiveShow ? (0, l.unref)(a)("pptx.customShows.inShow") : (0, l.unref)(a)("pptx.customShows.addSlide")), 11,
|
|
6114
|
+
}, (0, l.toDisplayString)(n.isCurrentSlideInActiveShow ? (0, l.unref)(a)("pptx.customShows.inShow") : (0, l.unref)(a)("pptx.customShows.addSlide")), 11, Cr)
|
|
6115
6115
|
], 64)) : (0, l.createCommentVNode)("", !0)], 64)) : (0, l.createCommentVNode)("", !0)
|
|
6116
6116
|
], 64)) : n.canEdit ? ((0, l.openBlock)(), (0, l.createElementBlock)(l.Fragment, { key: 1 }, [(0, l.createElementVNode)("div", { class: (0, l.normalizeClass)((0, l.unref)(Va)) }, null, 2), (0, l.createElementVNode)("button", {
|
|
6117
6117
|
type: "button",
|
|
@@ -7038,7 +7038,7 @@ var Vr = { class: "inline-flex border-l border-border" }, Tr = ["title"], Fr = [
|
|
|
7038
7038
|
key: 0,
|
|
7039
7039
|
tab: (0, l.unref)(u).active.value
|
|
7040
7040
|
}, null, 8, ["tab"])) : ((0, l.openBlock)(), (0, l.createElementBlock)(l.Fragment, { key: 1 }, [
|
|
7041
|
-
"file" === d.value ? ((0, l.openBlock)(), (0, l.createBlock)(
|
|
7041
|
+
"file" === d.value ? ((0, l.openBlock)(), (0, l.createBlock)(Ca, {
|
|
7042
7042
|
key: 0,
|
|
7043
7043
|
"file-name": o.fileName,
|
|
7044
7044
|
"on-close": () => o.onSetToolbarSection("home"),
|
|
@@ -7766,7 +7766,7 @@ var oi = ["placement", ".state"], ai = {
|
|
|
7766
7766
|
onStatusRequest: u
|
|
7767
7767
|
}, [(0, l.unref)(c).collaboration ? ((0, l.openBlock)(), (0, l.createElementBlock)("div", bi, [(0, l.renderSlot)(e.$slots, "collaboration")])) : (0, l.createCommentVNode)("", !0)], 40, hi));
|
|
7768
7768
|
}
|
|
7769
|
-
}), Si = ["data-testid", "data-ai-change"], Ei = "pptx-ai-change-css",
|
|
7769
|
+
}), Si = ["data-testid", "data-ai-change"], Ei = "pptx-ai-change-css", wi = (0, l.defineComponent)({
|
|
7770
7770
|
__name: "AiChangeOverlay",
|
|
7771
7771
|
props: {
|
|
7772
7772
|
batch: {},
|
|
@@ -7831,7 +7831,7 @@ var oi = ["placement", ".state"], ai = {
|
|
|
7831
7831
|
style: (0, l.normalizeStyle)(e.style)
|
|
7832
7832
|
}, null, 12, Si))), 128));
|
|
7833
7833
|
}
|
|
7834
|
-
}),
|
|
7834
|
+
}), Ci = ["data-testid", "data-ai-highlight"], Ni = (0, l.defineComponent)({
|
|
7835
7835
|
__name: "AiFocusHighlightOverlay",
|
|
7836
7836
|
props: {
|
|
7837
7837
|
highlights: {},
|
|
@@ -7871,7 +7871,7 @@ var oi = ["placement", ".state"], ai = {
|
|
|
7871
7871
|
"data-export-ignore": "true",
|
|
7872
7872
|
class: "absolute pointer-events-none rounded-[3px]",
|
|
7873
7873
|
style: (0, l.normalizeStyle)(e.style)
|
|
7874
|
-
}, null, 12,
|
|
7874
|
+
}, null, 12, Ci))), 128));
|
|
7875
7875
|
}
|
|
7876
7876
|
}), Vi = [
|
|
7877
7877
|
"title",
|
|
@@ -8567,12 +8567,12 @@ var oi = ["placement", ".state"], ai = {
|
|
|
8567
8567
|
onClick: (t) => o("run", e.id)
|
|
8568
8568
|
}, [void 0 !== e.checked ? ((0, l.openBlock)(), (0, l.createElementBlock)("span", Ss, (0, l.toDisplayString)(e.checked ? "✓" : ""), 1)) : (0, l.createCommentVNode)("", !0), (0, l.createTextVNode)(" " + (0, l.toDisplayString)((0, l.unref)(a)(e.labelKey)), 1)], 10, ks)], 8, bs)], 64))), 128))], 44, ys));
|
|
8569
8569
|
}
|
|
8570
|
-
}),
|
|
8570
|
+
}), ws = [
|
|
8571
8571
|
"width",
|
|
8572
8572
|
"height",
|
|
8573
8573
|
"aria-label",
|
|
8574
8574
|
"data-pptx-edit-points-element"
|
|
8575
|
-
],
|
|
8575
|
+
], Cs = ["width", "height"], Bs = ["d", "stroke-width"], Ns = [
|
|
8576
8576
|
"d",
|
|
8577
8577
|
"stroke",
|
|
8578
8578
|
"stroke-width"
|
|
@@ -8672,7 +8672,7 @@ var oi = ["placement", ".state"], ai = {
|
|
|
8672
8672
|
width: e.canvasSize.width,
|
|
8673
8673
|
height: e.canvasSize.height,
|
|
8674
8674
|
fill: "transparent"
|
|
8675
|
-
}, null, 8,
|
|
8675
|
+
}, null, 8, Cs),
|
|
8676
8676
|
((0, l.openBlock)(!0), (0, l.createElementBlock)(l.Fragment, null, (0, l.renderList)(d.value.segments, (e) => ((0, l.openBlock)(), (0, l.createElementBlock)("path", (0, l.mergeProps)({
|
|
8677
8677
|
key: e.target,
|
|
8678
8678
|
d: e.d,
|
|
@@ -8720,7 +8720,7 @@ var oi = ["placement", ".state"], ai = {
|
|
|
8720
8720
|
"data-pptx-edit-points-node-type": e.type,
|
|
8721
8721
|
"data-selected": e.selected ? "true" : void 0
|
|
8722
8722
|
}, { ref_for: !0 }, x(e.target)), null, 16, Fs))), 128))
|
|
8723
|
-
], 40,
|
|
8723
|
+
], 40, ws)) : (0, l.createCommentVNode)("", !0), d.value?.menu ? ((0, l.openBlock)(), (0, l.createBlock)(Es, {
|
|
8724
8724
|
key: 1,
|
|
8725
8725
|
menu: d.value.menu,
|
|
8726
8726
|
onRun: f
|
|
@@ -9175,7 +9175,7 @@ var Os = ["src"], Rs = [
|
|
|
9175
9175
|
"elements",
|
|
9176
9176
|
"active-slide-index"
|
|
9177
9177
|
])) : (0, l.createCommentVNode)("", !0),
|
|
9178
|
-
e.ai && e.aiPanel.changeBatch.value ? ((0, l.openBlock)(), (0, l.createBlock)(
|
|
9178
|
+
e.ai && e.aiPanel.changeBatch.value ? ((0, l.openBlock)(), (0, l.createBlock)(wi, {
|
|
9179
9179
|
key: 5,
|
|
9180
9180
|
batch: e.aiPanel.changeBatch.value,
|
|
9181
9181
|
"active-slide-index": e.activeSlideIndex
|
|
@@ -9451,7 +9451,7 @@ var Os = ["src"], Rs = [
|
|
|
9451
9451
|
}), vc = { class: "pptx-vue-equation-editor flex w-[min(82vw,600px)] flex-col gap-3.5" }, gc = { class: "pptx-vue-equation-preview flex min-h-[80px] items-center justify-center rounded-md border border-border bg-muted/60 p-3" }, fc = ["innerHTML"], xc = {
|
|
9452
9452
|
key: 1,
|
|
9453
9453
|
class: "pptx-vue-equation-preview-empty text-[13px] italic text-muted-foreground"
|
|
9454
|
-
}, yc = { class: "pptx-vue-equation-field flex flex-col gap-1" }, hc = { class: "pptx-vue-equation-label text-xs font-medium text-muted-foreground" }, bc = { class: "pptx-vue-equation-hint text-[11px] text-muted-foreground" }, kc = { class: "pptx-vue-equation-templates-wrap flex flex-col gap-1.5" }, Sc = { class: "pptx-vue-equation-label text-xs font-medium text-muted-foreground" }, Ec = { class: "pptx-vue-equation-templates grid grid-cols-4 gap-1.5" },
|
|
9454
|
+
}, yc = { class: "pptx-vue-equation-field flex flex-col gap-1" }, hc = { class: "pptx-vue-equation-label text-xs font-medium text-muted-foreground" }, bc = { class: "pptx-vue-equation-hint text-[11px] text-muted-foreground" }, kc = { class: "pptx-vue-equation-templates-wrap flex flex-col gap-1.5" }, Sc = { class: "pptx-vue-equation-label text-xs font-medium text-muted-foreground" }, Ec = { class: "pptx-vue-equation-templates grid grid-cols-4 gap-1.5" }, wc = ["title", "onClick"], Cc = ["innerHTML"], Bc = { class: "pptx-vue-equation-template-label w-full truncate text-center text-[10px] text-muted-foreground" }, Nc = (0, l.defineComponent)({
|
|
9455
9455
|
__name: "EquationEditorDialog",
|
|
9456
9456
|
props: {
|
|
9457
9457
|
open: { type: Boolean },
|
|
@@ -9557,7 +9557,7 @@ var Os = ["src"], Rs = [
|
|
|
9557
9557
|
}, [(0, l.createElementVNode)("span", {
|
|
9558
9558
|
class: "pptx-vue-equation-template-math flex h-7 items-center justify-center overflow-hidden text-foreground",
|
|
9559
9559
|
innerHTML: c.value[t]
|
|
9560
|
-
}, null, 8,
|
|
9560
|
+
}, null, 8, Cc), (0, l.createElementVNode)("span", Bc, (0, l.toDisplayString)((0, l.unref)(i)(e.i18nKey)), 1)], 10, wc))), 128))])])
|
|
9561
9561
|
])]),
|
|
9562
9562
|
_: 1
|
|
9563
9563
|
}, 8, ["open", "title"]));
|
|
@@ -9812,7 +9812,7 @@ var Os = ["src"], Rs = [
|
|
|
9812
9812
|
}, null, 40, bd)])
|
|
9813
9813
|
]));
|
|
9814
9814
|
}
|
|
9815
|
-
}), Sd = { class: "space-y-1.5" }, Ed = { class: "mb-1 text-[11px] font-medium uppercase tracking-wide text-muted-foreground" },
|
|
9815
|
+
}), Sd = { class: "space-y-1.5" }, Ed = { class: "mb-1 text-[11px] font-medium uppercase tracking-wide text-muted-foreground" }, wd = { class: "flex cursor-pointer items-center gap-2" }, Cd = ["checked"], Bd = { class: "flex cursor-pointer items-center gap-2" }, Nd = ["checked"], Vd = {
|
|
9816
9816
|
key: 0,
|
|
9817
9817
|
class: "ml-6 flex items-center gap-2"
|
|
9818
9818
|
}, Td = { class: "flex items-center gap-1" }, Fd = { class: "text-muted-foreground" }, Pd = ["max", "value"], Dd = { class: "flex items-center gap-1" }, Id = { class: "text-muted-foreground" }, _d = ["max", "value"], Ad = { class: "flex cursor-pointer items-center gap-2" }, zd = ["checked"], Md = {
|
|
@@ -9831,13 +9831,13 @@ var Os = ["src"], Rs = [
|
|
|
9831
9831
|
const o = e, a = n, { t: r } = t.useI18n();
|
|
9832
9832
|
return (t, n) => ((0, l.openBlock)(), (0, l.createElementBlock)("fieldset", Sd, [
|
|
9833
9833
|
(0, l.createElementVNode)("legend", Ed, (0, l.toDisplayString)((0, l.unref)(r)("pptx.slideShow.showSlides")), 1),
|
|
9834
|
-
(0, l.createElementVNode)("label",
|
|
9834
|
+
(0, l.createElementVNode)("label", wd, [(0, l.createElementVNode)("pptx-ui-radio", {
|
|
9835
9835
|
name: "showSlides",
|
|
9836
9836
|
value: "all",
|
|
9837
9837
|
class: "accent-primary",
|
|
9838
9838
|
checked: "all" === e.showSlidesMode,
|
|
9839
9839
|
onChange: n[0] || (n[0] = (e) => a("update", { showSlidesMode: "all" }))
|
|
9840
|
-
}, null, 40,
|
|
9840
|
+
}, null, 40, Cd), (0, l.createElementVNode)("span", null, (0, l.toDisplayString)((0, l.unref)(r)("pptx.slideShow.allSlides")), 1)]),
|
|
9841
9841
|
(0, l.createElementVNode)("label", Bd, [(0, l.createElementVNode)("pptx-ui-radio", {
|
|
9842
9842
|
name: "showSlides",
|
|
9843
9843
|
value: "range",
|
|
@@ -10239,7 +10239,7 @@ var Os = ["src"], Rs = [
|
|
|
10239
10239
|
"max",
|
|
10240
10240
|
"placeholder",
|
|
10241
10241
|
"onKeydown"
|
|
10242
|
-
], kp = { class: "flex flex-col gap-1" }, Sp = { class: "text-xs font-medium text-muted-foreground" }, Ep = ["placeholder", "onKeydown"],
|
|
10242
|
+
], kp = { class: "flex flex-col gap-1" }, Sp = { class: "text-xs font-medium text-muted-foreground" }, Ep = ["placeholder", "onKeydown"], wp = "w-full rounded border border-border bg-background px-2.5 py-1.5 text-xs text-foreground outline-none focus:ring-1 focus:ring-primary", Cp = (0, l.defineComponent)({
|
|
10243
10243
|
__name: "HyperlinkDialog",
|
|
10244
10244
|
props: {
|
|
10245
10245
|
open: { type: Boolean },
|
|
@@ -10337,7 +10337,7 @@ var Os = ["src"], Rs = [
|
|
|
10337
10337
|
(0, l.createElementVNode)("label", pp, [(0, l.createElementVNode)("span", up, (0, l.toDisplayString)((0, l.unref)(i)("pptx.hyperlink.linkTo")), 1), (0, l.createElementVNode)("pptx-ui-select", {
|
|
10338
10338
|
"aria-label": (0, l.unref)(i)("pptx.hyperlink.linkTo"),
|
|
10339
10339
|
value: c.value,
|
|
10340
|
-
class: (0, l.normalizeClass)(
|
|
10340
|
+
class: (0, l.normalizeClass)(wp),
|
|
10341
10341
|
onChange: t[0] || (t[0] = (e) => c.value = e.target.value)
|
|
10342
10342
|
}, [((0, l.openBlock)(), (0, l.createElementBlock)(l.Fragment, null, (0, l.renderList)(s, (e) => (0, l.createElementVNode)("option", {
|
|
10343
10343
|
key: e.value,
|
|
@@ -10346,7 +10346,7 @@ var Os = ["src"], Rs = [
|
|
|
10346
10346
|
"url" === c.value ? ((0, l.openBlock)(), (0, l.createElementBlock)("label", gp, [(0, l.createElementVNode)("span", fp, (0, l.toDisplayString)((0, l.unref)(i)("pptx.hyperlink.urlLabel")), 1), (0, l.withDirectives)((0, l.createElementVNode)("input", {
|
|
10347
10347
|
"onUpdate:modelValue": t[1] || (t[1] = (e) => d.value = e),
|
|
10348
10348
|
type: "url",
|
|
10349
|
-
class: (0, l.normalizeClass)(
|
|
10349
|
+
class: (0, l.normalizeClass)(wp),
|
|
10350
10350
|
placeholder: (0, l.unref)(i)("pptx.hyperlink.urlPlaceholder"),
|
|
10351
10351
|
onKeydown: (0, l.withKeys)((0, l.withModifiers)(f, ["prevent"]), ["enter"])
|
|
10352
10352
|
}, null, 40, xp), [[l.vModelText, d.value]])])) : "slide" === c.value ? ((0, l.openBlock)(), (0, l.createElementBlock)("label", yp, [(0, l.createElementVNode)("span", hp, (0, l.toDisplayString)((0, l.unref)(i)("pptx.hyperlink.slideLabel")), 1), (0, l.withDirectives)((0, l.createElementVNode)("input", {
|
|
@@ -10354,7 +10354,7 @@ var Os = ["src"], Rs = [
|
|
|
10354
10354
|
type: "number",
|
|
10355
10355
|
min: 1,
|
|
10356
10356
|
max: a.slideCount ?? void 0,
|
|
10357
|
-
class: (0, l.normalizeClass)(
|
|
10357
|
+
class: (0, l.normalizeClass)(wp),
|
|
10358
10358
|
placeholder: (0, l.unref)(i)("pptx.hyperlink.slideLabel"),
|
|
10359
10359
|
onKeydown: (0, l.withKeys)((0, l.withModifiers)(f, ["prevent"]), ["enter"])
|
|
10360
10360
|
}, null, 40, bp), [[
|
|
@@ -10366,7 +10366,7 @@ var Os = ["src"], Rs = [
|
|
|
10366
10366
|
(0, l.createElementVNode)("label", kp, [(0, l.createElementVNode)("span", Sp, (0, l.toDisplayString)((0, l.unref)(i)("pptx.hyperlink.tooltipLabel")), 1), (0, l.withDirectives)((0, l.createElementVNode)("input", {
|
|
10367
10367
|
"onUpdate:modelValue": t[3] || (t[3] = (e) => p.value = e),
|
|
10368
10368
|
type: "text",
|
|
10369
|
-
class: (0, l.normalizeClass)(
|
|
10369
|
+
class: (0, l.normalizeClass)(wp),
|
|
10370
10370
|
placeholder: (0, l.unref)(i)("pptx.hyperlinkDialog.tooltipPlaceholder"),
|
|
10371
10371
|
onKeydown: (0, l.withKeys)((0, l.withModifiers)(f, ["prevent"]), ["enter"])
|
|
10372
10372
|
}, null, 40, Ep), [[l.vModelText, p.value]])])
|
|
@@ -10626,10 +10626,10 @@ var Op = {
|
|
|
10626
10626
|
}, ku = {
|
|
10627
10627
|
for: "pptx-vue-share-room",
|
|
10628
10628
|
class: "pptx-vue-share-label text-[12px] font-medium text-foreground"
|
|
10629
|
-
}, Su = ["placeholder"], Eu = { class: "pptx-vue-share-field flex flex-col gap-1.5" },
|
|
10629
|
+
}, Su = ["placeholder"], Eu = { class: "pptx-vue-share-field flex flex-col gap-1.5" }, wu = {
|
|
10630
10630
|
for: "pptx-vue-share-name",
|
|
10631
10631
|
class: "pptx-vue-share-label text-[12px] font-medium text-foreground"
|
|
10632
|
-
},
|
|
10632
|
+
}, Cu = ["placeholder"], Bu = { class: "pptx-vue-share-field flex flex-col gap-1.5" }, Nu = {
|
|
10633
10633
|
for: "pptx-vue-share-server",
|
|
10634
10634
|
class: "pptx-vue-share-label text-[12px] font-medium text-foreground"
|
|
10635
10635
|
}, Vu = ["placeholder"], Tu = {
|
|
@@ -10675,11 +10675,11 @@ var Op = {
|
|
|
10675
10675
|
userColor: e.color,
|
|
10676
10676
|
activeSlideIndex: e.activeSlide
|
|
10677
10677
|
}))
|
|
10678
|
-
}) : []),
|
|
10679
|
-
function
|
|
10678
|
+
}) : []), w = (0, l.ref)(!1);
|
|
10679
|
+
function C() {
|
|
10680
10680
|
S.value && "undefined" != typeof navigator && navigator.clipboard && navigator.clipboard.writeText(S.value).then(() => {
|
|
10681
|
-
|
|
10682
|
-
|
|
10681
|
+
w.value = !0, window.setTimeout(() => {
|
|
10682
|
+
w.value = !1;
|
|
10683
10683
|
}, 2e3);
|
|
10684
10684
|
});
|
|
10685
10685
|
}
|
|
@@ -10727,8 +10727,8 @@ var Op = {
|
|
|
10727
10727
|
type: "button",
|
|
10728
10728
|
class: "shrink-0 rounded border border-border bg-muted px-2.5 py-1.5 text-[12px] text-foreground transition-colors hover:bg-accent",
|
|
10729
10729
|
title: (0, l.unref)(c)("pptx.share.copyLink"),
|
|
10730
|
-
onClick:
|
|
10731
|
-
}, (0, l.toDisplayString)(
|
|
10730
|
+
onClick: C
|
|
10731
|
+
}, (0, l.toDisplayString)(w.value ? (0, l.unref)(c)("pptx.share.copied") : (0, l.unref)(c)("pptx.share.copyUrl")), 9, eu)]),
|
|
10732
10732
|
(0, l.createElementVNode)("p", tu, (0, l.toDisplayString)((0, l.unref)(c)("pptx.share.shareHint")), 1)
|
|
10733
10733
|
])) : (0, l.createCommentVNode)("", !0),
|
|
10734
10734
|
n.activeCollaboration ? ((0, l.openBlock)(), (0, l.createElementBlock)("div", nu, [(0, l.createElementVNode)("span", null, [(0, l.createTextVNode)((0, l.toDisplayString)((0, l.unref)(c)("pptx.share.room")) + " ", 1), (0, l.createElementVNode)("code", ou, (0, l.toDisplayString)(n.activeCollaboration.roomId), 1)]), (0, l.createElementVNode)("span", null, [(0, l.createTextVNode)((0, l.toDisplayString)((0, l.unref)(c)("pptx.share.server")) + " ", 1), (0, l.createElementVNode)("code", au, (0, l.toDisplayString)(k.value ? (0, l.unref)(c)("pptx.share.p2pServerValue") : n.activeCollaboration.serverUrl), 1)])])) : y.value ? ((0, l.openBlock)(), (0, l.createElementBlock)("p", lu, (0, l.toDisplayString)((0, l.unref)(c)("pptx.share.p2pServerValue")), 1)) : (0, l.createCommentVNode)("", !0),
|
|
@@ -10783,14 +10783,14 @@ var Op = {
|
|
|
10783
10783
|
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",
|
|
10784
10784
|
placeholder: (0, l.unref)(c)("pptx.share.roomIdPlaceholder")
|
|
10785
10785
|
}, null, 12, Su), [[l.vModelText, d.value]])])),
|
|
10786
|
-
(0, l.createElementVNode)("div", Eu, [(0, l.createElementVNode)("label",
|
|
10786
|
+
(0, l.createElementVNode)("div", Eu, [(0, l.createElementVNode)("label", wu, (0, l.toDisplayString)((0, l.unref)(c)("pptx.share.yourName")), 1), (0, l.withDirectives)((0, l.createElementVNode)("input", {
|
|
10787
10787
|
id: "pptx-vue-share-name",
|
|
10788
10788
|
"onUpdate:modelValue": t[2] || (t[2] = (e) => p.value = e),
|
|
10789
10789
|
type: "text",
|
|
10790
10790
|
style: (0, l.normalizeStyle)(F.value),
|
|
10791
10791
|
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",
|
|
10792
10792
|
placeholder: (0, l.unref)(c)("pptx.share.yourNamePlaceholder")
|
|
10793
|
-
}, null, 12,
|
|
10793
|
+
}, null, 12, Cu), [[l.vModelText, p.value]])]),
|
|
10794
10794
|
(0, l.createElementVNode)("div", Bu, [
|
|
10795
10795
|
(0, l.createElementVNode)("label", Nu, (0, l.toDisplayString)((0, l.unref)(c)("pptx.share.serverUrl")), 1),
|
|
10796
10796
|
(0, l.withDirectives)((0, l.createElementVNode)("input", {
|
|
@@ -11030,7 +11030,7 @@ var Op = {
|
|
|
11030
11030
|
"onSelect"
|
|
11031
11031
|
])
|
|
11032
11032
|
], 64)) : (0, l.createCommentVNode)("", !0),
|
|
11033
|
-
(0, l.createVNode)(
|
|
11033
|
+
(0, l.createVNode)(Cp, {
|
|
11034
11034
|
open: e.hyperlink.hyperlinkOpen.value && i.value,
|
|
11035
11035
|
element: e.hyperlink.hyperlinkTarget.value,
|
|
11036
11036
|
"slide-count": e.slideCount,
|
|
@@ -11317,7 +11317,7 @@ var Op = {
|
|
|
11317
11317
|
"placeholder",
|
|
11318
11318
|
"value",
|
|
11319
11319
|
"onInput"
|
|
11320
|
-
],
|
|
11320
|
+
], wm = ["value", "onChange"], Cm = { value: "true" }, Bm = { value: "false" }, Nm = [
|
|
11321
11321
|
"type",
|
|
11322
11322
|
"placeholder",
|
|
11323
11323
|
"value",
|
|
@@ -11391,7 +11391,7 @@ var Op = {
|
|
|
11391
11391
|
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",
|
|
11392
11392
|
value: e.value,
|
|
11393
11393
|
onChange: (e) => p(t, e)
|
|
11394
|
-
}, [(0, l.createElementVNode)("option",
|
|
11394
|
+
}, [(0, l.createElementVNode)("option", Cm, (0, l.toDisplayString)((0, l.unref)(s)("pptx.documentProperties.custom.yes")), 1), (0, l.createElementVNode)("option", Bm, (0, l.toDisplayString)((0, l.unref)(s)("pptx.documentProperties.custom.no")), 1)], 40, wm)) : ((0, l.openBlock)(), (0, l.createElementBlock)("input", {
|
|
11395
11395
|
key: 1,
|
|
11396
11396
|
type: (n = e.type, "i4" === n ? "number" : "text"),
|
|
11397
11397
|
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",
|
|
@@ -11739,10 +11739,10 @@ var Op = {
|
|
|
11739
11739
|
function E(e) {
|
|
11740
11740
|
d({ hasHeader: e.target.checked });
|
|
11741
11741
|
}
|
|
11742
|
-
function
|
|
11742
|
+
function w(e) {
|
|
11743
11743
|
d({ hasFooter: e.target.checked });
|
|
11744
11744
|
}
|
|
11745
|
-
function
|
|
11745
|
+
function C(e) {
|
|
11746
11746
|
d({ dateTimeAuto: e.target.checked });
|
|
11747
11747
|
}
|
|
11748
11748
|
function B(e) {
|
|
@@ -11778,7 +11778,7 @@ var Op = {
|
|
|
11778
11778
|
u.value ? ((0, l.openBlock)(), (0, l.createElementBlock)("div", rv, [(0, l.createElementVNode)("label", iv, [(0, l.createElementVNode)("pptx-ui-checkbox", {
|
|
11779
11779
|
"data-testid": "hf-date-auto",
|
|
11780
11780
|
checked: x.value,
|
|
11781
|
-
onChange:
|
|
11781
|
+
onChange: C
|
|
11782
11782
|
}, null, 40, sv), (0, l.createElementVNode)("span", null, (0, l.toDisplayString)((0, l.unref)(i)("pptx.headerFooter.updateAutomatically")), 1)]), y.value ? ((0, l.openBlock)(), (0, l.createElementBlock)("input", {
|
|
11783
11783
|
key: 0,
|
|
11784
11784
|
type: "text",
|
|
@@ -11809,7 +11809,7 @@ var Op = {
|
|
|
11809
11809
|
(0, l.createElementVNode)("label", fv, [(0, l.createElementVNode)("pptx-ui-checkbox", {
|
|
11810
11810
|
"data-testid": "hf-footer",
|
|
11811
11811
|
checked: f.value,
|
|
11812
|
-
onChange:
|
|
11812
|
+
onChange: w
|
|
11813
11813
|
}, null, 40, xv), (0, l.createElementVNode)("span", null, (0, l.toDisplayString)((0, l.unref)(i)("pptx.headerFooter.footer")), 1)]),
|
|
11814
11814
|
b.value ? ((0, l.openBlock)(), (0, l.createElementBlock)("div", yv, [(0, l.createElementVNode)("input", {
|
|
11815
11815
|
type: "text",
|
|
@@ -11835,7 +11835,7 @@ var Op = {
|
|
|
11835
11835
|
}, null, 8, ["actions"])])
|
|
11836
11836
|
], 8, Jm));
|
|
11837
11837
|
}
|
|
11838
|
-
}), Sv = e._plugin_vue_export_helper_default(kv, [["__scopeId", "data-v-64226413"]]), Ev = { class: "pptx-vue-print-settings flex min-w-0 flex-1 flex-col gap-5" },
|
|
11838
|
+
}), Sv = e._plugin_vue_export_helper_default(kv, [["__scopeId", "data-v-64226413"]]), Ev = { class: "pptx-vue-print-settings flex min-w-0 flex-1 flex-col gap-5" }, wv = { class: "pptx-vue-print-fieldset m-0 border-none p-0" }, Cv = { class: "pptx-vue-print-legend mb-2 p-0 text-xs font-medium uppercase tracking-wide text-muted-foreground" }, Bv = { class: "pptx-vue-print-grid grid grid-cols-2 gap-2" }, Nv = ["checked", "onChange"], Vv = {
|
|
11839
11839
|
key: 0,
|
|
11840
11840
|
class: "pptx-vue-print-fieldset m-0 border-none p-0"
|
|
11841
11841
|
}, Tv = { class: "pptx-vue-print-legend mb-2 p-0 text-xs font-medium uppercase tracking-wide text-muted-foreground" }, Fv = { class: "pptx-vue-print-chips flex flex-wrap gap-1.5" }, Pv = ["onClick"], Dv = { class: "pptx-vue-print-fieldset m-0 border-none p-0" }, Iv = { class: "pptx-vue-print-legend mb-2 p-0 text-xs font-medium uppercase tracking-wide text-muted-foreground" }, _v = { class: "pptx-vue-print-stack flex flex-col gap-2" }, Av = ["checked"], zv = ["checked"], Mv = ["checked"], Ov = {
|
|
@@ -11910,7 +11910,7 @@ var Op = {
|
|
|
11910
11910
|
i("update:customTo", d(e.target.value));
|
|
11911
11911
|
}
|
|
11912
11912
|
return (e, t) => ((0, l.openBlock)(), (0, l.createElementBlock)("div", Ev, [
|
|
11913
|
-
(0, l.createElementVNode)("fieldset",
|
|
11913
|
+
(0, l.createElementVNode)("fieldset", wv, [(0, l.createElementVNode)("legend", Cv, (0, l.toDisplayString)((0, l.unref)(o)("pptx.print.legendPrintWhat")), 1), (0, l.createElementVNode)("div", Bv, [((0, l.openBlock)(!0), (0, l.createElementBlock)(l.Fragment, null, (0, l.renderList)(s.value, (e) => ((0, l.openBlock)(), (0, l.createElementBlock)("label", {
|
|
11914
11914
|
key: e.value,
|
|
11915
11915
|
class: (0, l.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"])
|
|
11916
11916
|
}, [(0, l.createElementVNode)("pptx-ui-radio", {
|
|
@@ -12019,7 +12019,7 @@ var Op = {
|
|
|
12019
12019
|
p.value = e?.printWhat ?? "slides", u.value = "landscape", m.value = e?.colorMode ?? "color", g.value = e?.frameSlides ?? r.defaultFrameSlides ?? !1, f.value = (0, a.normalizeSlidesPerPage)(r.defaultSlidesPerPage), x.value = "all", y.value = 1, h.value = r.slides.length;
|
|
12020
12020
|
}
|
|
12021
12021
|
});
|
|
12022
|
-
const b = (0, l.computed)(() => r.slides.length), k = (0, l.computed)(() => (0, a.effectiveOrientation)(p.value, u.value)), S = (0, l.computed)(() => (0, a.computeSlideCount)(x.value, b.value, y.value, h.value)), E = (0, l.computed)(() => (0, a.estimatePageCount)(p.value, S.value, f.value)),
|
|
12022
|
+
const b = (0, l.computed)(() => r.slides.length), k = (0, l.computed)(() => (0, a.effectiveOrientation)(p.value, u.value)), S = (0, l.computed)(() => (0, a.computeSlideCount)(x.value, b.value, y.value, h.value)), E = (0, l.computed)(() => (0, a.estimatePageCount)(p.value, S.value, f.value)), w = (0, l.computed)(() => (0, a.computeSlideIndices)(x.value, r.activeSlideIndex, b.value, y.value, h.value)), C = (0, l.computed)(() => (0, a.getHandoutGrid)(f.value)), B = (0, l.computed)(() => "handouts" === p.value), V = (0, l.computed)(() => "notes" === p.value);
|
|
12023
12023
|
function T() {
|
|
12024
12024
|
i("close");
|
|
12025
12025
|
}
|
|
@@ -12081,18 +12081,18 @@ var Op = {
|
|
|
12081
12081
|
"custom-to",
|
|
12082
12082
|
"total-slides",
|
|
12083
12083
|
"active-slide-index"
|
|
12084
|
-
]), B.value || V.value ? ((0, l.openBlock)(), (0, l.createElementBlock)("div", ng, [(0, l.createElementVNode)("span", og, (0, l.toDisplayString)((0, l.unref)(s)("pptx.animations.preview")), 1), 0 ===
|
|
12084
|
+
]), B.value || V.value ? ((0, l.openBlock)(), (0, l.createElementBlock)("div", ng, [(0, l.createElementVNode)("span", og, (0, l.toDisplayString)((0, l.unref)(s)("pptx.animations.preview")), 1), 0 === w.value.length ? ((0, l.openBlock)(), (0, l.createElementBlock)("div", ag, (0, l.toDisplayString)((0, l.unref)(s)("pptx.statusBar.noSlides")), 1)) : B.value ? ((0, l.openBlock)(), (0, l.createElementBlock)("div", {
|
|
12085
12085
|
key: 1,
|
|
12086
12086
|
class: "pptx-vue-print-preview-page",
|
|
12087
12087
|
style: (0, l.normalizeStyle)({
|
|
12088
12088
|
display: "grid",
|
|
12089
|
-
gridTemplateColumns: `repeat(${
|
|
12090
|
-
gridTemplateRows: `repeat(${
|
|
12089
|
+
gridTemplateColumns: `repeat(${C.value.columns}, 1fr)`,
|
|
12090
|
+
gridTemplateRows: `repeat(${C.value.rows}, 1fr)`
|
|
12091
12091
|
})
|
|
12092
|
-
}, [((0, l.openBlock)(!0), (0, l.createElementBlock)(l.Fragment, null, (0, l.renderList)(
|
|
12092
|
+
}, [((0, l.openBlock)(!0), (0, l.createElementBlock)(l.Fragment, null, (0, l.renderList)(C.value.rows * C.value.columns, (e) => ((0, l.openBlock)(), (0, l.createElementBlock)("div", {
|
|
12093
12093
|
key: e,
|
|
12094
12094
|
class: (0, l.normalizeClass)(["pptx-vue-print-preview-cell", { "pptx-vue-print-preview-cell--framed": g.value }])
|
|
12095
|
-
}, [void 0 !==
|
|
12095
|
+
}, [void 0 !== w.value[e - 1] ? ((0, l.openBlock)(), (0, l.createElementBlock)("span", lg, (0, l.toDisplayString)(w.value[e - 1] + 1), 1)) : (0, l.createCommentVNode)("", !0)], 2))), 128))], 4)) : ((0, l.openBlock)(), (0, l.createElementBlock)("div", rg, [(0, l.createElementVNode)("div", { class: (0, l.normalizeClass)(["pptx-vue-print-preview-cell", { "pptx-vue-print-preview-cell--framed": g.value }]) }, [(0, l.createElementVNode)("span", null, (0, l.toDisplayString)((w.value[0] ?? 0) + 1), 1)], 2), (0, l.createElementVNode)("div", ig, [((0, l.openBlock)(), (0, l.createElementBlock)(l.Fragment, null, (0, l.renderList)(5, (e) => (0, l.createElementVNode)("div", {
|
|
12096
12096
|
key: e,
|
|
12097
12097
|
class: "pptx-vue-print-preview-line"
|
|
12098
12098
|
})), 64))])]))])) : (0, l.createCommentVNode)("", !0)])]),
|
|
@@ -12108,7 +12108,7 @@ var Op = {
|
|
|
12108
12108
|
}, fg = ["onClick"], xg = { class: "px-2 py-1.5 text-xs text-foreground" }, yg = { class: "px-2 py-1.5 font-mono text-[11px] text-muted-foreground" }, hg = { class: "px-2 py-1.5 text-xs text-muted-foreground" }, bg = {
|
|
12109
12109
|
key: 0,
|
|
12110
12110
|
class: "rounded border border-border/60 bg-muted/40 p-3"
|
|
12111
|
-
}, kg = { class: "text-xs font-semibold text-foreground" }, Sg = { class: "mt-1 text-xs text-muted-foreground" }, Eg = { class: "mt-1 font-mono text-[11px] text-muted-foreground" },
|
|
12111
|
+
}, kg = { class: "text-xs font-semibold text-foreground" }, Sg = { class: "mt-1 text-xs text-muted-foreground" }, Eg = { class: "mt-1 font-mono text-[11px] text-muted-foreground" }, Cg = (0, l.defineComponent)({
|
|
12112
12112
|
__name: "OptionsAddInsPane",
|
|
12113
12113
|
props: { addinStatus: {} },
|
|
12114
12114
|
setup(e) {
|
|
@@ -12350,7 +12350,7 @@ var ef = { class: "space-y-4" }, tf = { class: "flex items-start gap-2 rounded-l
|
|
|
12350
12350
|
}, Ef = {
|
|
12351
12351
|
key: 3,
|
|
12352
12352
|
class: "mt-1 flex flex-col gap-0.5"
|
|
12353
|
-
},
|
|
12353
|
+
}, wf = (0, l.defineComponent)({
|
|
12354
12354
|
__name: "SettingsCustomFontsSection",
|
|
12355
12355
|
props: {
|
|
12356
12356
|
enabled: { type: Boolean },
|
|
@@ -12396,7 +12396,7 @@ var ef = { class: "space-y-4" }, tf = { class: "flex items-start gap-2 rounded-l
|
|
|
12396
12396
|
}, (0, l.toDisplayString)(e), 5))), 128))]))
|
|
12397
12397
|
]));
|
|
12398
12398
|
}
|
|
12399
|
-
}),
|
|
12399
|
+
}), Cf = { class: "pptx-vue-settings-panel flex max-h-[56vh] flex-col gap-1 overflow-y-auto p-1" }, Bf = ["aria-pressed", "onClick"], Nf = {
|
|
12400
12400
|
key: 0,
|
|
12401
12401
|
class: "pptx-vue-settings-locale-row-label text-xs text-muted-foreground"
|
|
12402
12402
|
}, Vf = (0, l.defineComponent)({
|
|
@@ -12406,7 +12406,7 @@ var ef = { class: "space-y-4" }, tf = { class: "flex items-start gap-2 rounded-l
|
|
|
12406
12406
|
locales: {},
|
|
12407
12407
|
onSelect: { type: Function }
|
|
12408
12408
|
},
|
|
12409
|
-
setup: (e) => (t, n) => ((0, l.openBlock)(), (0, l.createElementBlock)("div",
|
|
12409
|
+
setup: (e) => (t, n) => ((0, l.openBlock)(), (0, l.createElementBlock)("div", Cf, [((0, l.openBlock)(!0), (0, l.createElementBlock)(l.Fragment, null, (0, l.renderList)(e.locales, (t) => ((0, l.openBlock)(), (0, l.createElementBlock)("button", {
|
|
12410
12410
|
key: t.code,
|
|
12411
12411
|
type: "button",
|
|
12412
12412
|
class: (0, l.normalizeClass)(["pptx-vue-settings-locale-row flex items-center justify-between gap-3 rounded px-3 py-2 text-left text-[13px] transition-colors", e.localeCode === t.code ? "pptx-vue-settings-locale-row--active bg-accent font-medium text-primary" : "text-foreground hover:bg-accent/60"]),
|
|
@@ -12490,7 +12490,7 @@ var ef = { class: "space-y-4" }, tf = { class: "flex items-start gap-2 rounded-l
|
|
|
12490
12490
|
"theme-key",
|
|
12491
12491
|
"catalog",
|
|
12492
12492
|
"on-select"
|
|
12493
|
-
])], 8, Ff), (0, l.createElementVNode)("div", { slot: (0, l.unref)(a.optionsBlockSlot)("customFonts") }, [(0, l.createVNode)(
|
|
12493
|
+
])], 8, Ff), (0, l.createElementVNode)("div", { slot: (0, l.unref)(a.optionsBlockSlot)("customFonts") }, [(0, l.createVNode)(wf, {
|
|
12494
12494
|
enabled: o.options.general.enableCustomFontUpload,
|
|
12495
12495
|
families: o.customFontFamilies ?? [],
|
|
12496
12496
|
onRegistered: n[0] || (n[0] = (e) => r("customFontRegistered", e))
|
|
@@ -12534,7 +12534,7 @@ var ef = { class: "space-y-4" }, tf = { class: "flex items-start gap-2 rounded-l
|
|
|
12534
12534
|
}, null, 8, ["options", "on-quick-access-commands-change"])], 8, zf)) : "addIns" === u.value ? ((0, l.openBlock)(), (0, l.createElementBlock)("div", {
|
|
12535
12535
|
key: 5,
|
|
12536
12536
|
slot: (0, l.unref)(a.optionsPaneSlot)("addIns")
|
|
12537
|
-
}, [(0, l.createVNode)(
|
|
12537
|
+
}, [(0, l.createVNode)(Cg, { "addin-status": e.addinStatus }, null, 8, ["addin-status"])], 8, Mf)) : u.value === (0, l.unref)(a.AI_OPTIONS_CATEGORY) ? ((0, l.openBlock)(), (0, l.createElementBlock)("div", {
|
|
12538
12538
|
key: 6,
|
|
12539
12539
|
slot: (0, l.unref)(a.optionsPaneSlot)((0, l.unref)(a.AI_OPTIONS_CATEGORY))
|
|
12540
12540
|
}, [(0, l.createVNode)(uf, { store: e.chatStore }, null, 8, ["store"])], 8, Of)) : (0, l.createCommentVNode)("", !0)], 512)])) : (0, l.createCommentVNode)("", !0)]));
|
|
@@ -12949,7 +12949,7 @@ var mx = { class: "pptx-comment-mention-input relative" }, vx = [
|
|
|
12949
12949
|
}, Sx = {
|
|
12950
12950
|
key: 1,
|
|
12951
12951
|
class: "pptx-comments-panel__list m-0 min-h-0 flex-1 list-none overflow-y-auto p-2"
|
|
12952
|
-
}, Ex = ["data-comment-id"],
|
|
12952
|
+
}, Ex = ["data-comment-id"], wx = { class: "pptx-comments-panel__meta mb-1 flex items-baseline justify-between gap-2" }, Cx = { class: "pptx-comments-panel__author text-[13px] font-semibold" }, Bx = {
|
|
12953
12953
|
key: 0,
|
|
12954
12954
|
class: "pptx-comments-panel__time text-[11px] text-muted-foreground"
|
|
12955
12955
|
}, Nx = { class: "pptx-comments-panel__text m-0 mb-2 whitespace-pre-wrap break-words text-[13px]" }, Vx = {
|
|
@@ -13006,7 +13006,7 @@ var mx = { class: "pptx-comment-mention-input relative" }, vx = [
|
|
|
13006
13006
|
class: (0, l.normalizeClass)(["pptx-comments-panel__item mb-2 rounded-lg border border-border px-3 py-2.5", { "pptx-comments-panel__item--resolved opacity-60": e.resolved }]),
|
|
13007
13007
|
"data-comment-id": e.id
|
|
13008
13008
|
}, [
|
|
13009
|
-
(0, l.createElementVNode)("div",
|
|
13009
|
+
(0, l.createElementVNode)("div", wx, [(0, l.createElementVNode)("span", Cx, (0, l.toDisplayString)(e.author || (0, l.unref)(s)("pptx.comments.unknownAuthor")), 1), x(e.createdAt) ? ((0, l.openBlock)(), (0, l.createElementBlock)("time", Bx, (0, l.toDisplayString)(x(e.createdAt)), 1)) : (0, l.createCommentVNode)("", !0)]),
|
|
13010
13010
|
(0, l.createElementVNode)("p", Nx, [(0, l.createVNode)(ux, {
|
|
13011
13011
|
text: e.text,
|
|
13012
13012
|
mentions: e.mentions
|
|
@@ -13346,8 +13346,8 @@ var qx, Yx = ["aria-label"], Xx = ["data-virtualized"], Zx = [
|
|
|
13346
13346
|
const n = t.clientHeight || 600, o = e * h.value, a = o + h.value;
|
|
13347
13347
|
o < t.scrollTop ? t.scrollTop = o : a > t.scrollTop + n && (t.scrollTop = Math.max(0, a - n)), E();
|
|
13348
13348
|
}, { immediate: !0 });
|
|
13349
|
-
const
|
|
13350
|
-
const { selectedIds:
|
|
13349
|
+
const w = (0, l.ref)(null);
|
|
13350
|
+
const { selectedIds: C, isSelected: B, onSlideClick: N, onPaneKeydown: V, menu: T, menuItems: F, onContextMenu: P, onMenuSelect: D } = Wx(() => s.slides, () => s.activeIndex, () => s.canEdit, c);
|
|
13351
13351
|
return (t, a) => ((0, l.openBlock)(), (0, l.createElementBlock)("aside", {
|
|
13352
13352
|
role: "navigation",
|
|
13353
13353
|
"aria-label": (0, l.unref)(d)("pptx.sections.slides"),
|
|
@@ -13390,14 +13390,14 @@ var qx, Yx = ["aria-label"], Xx = ["data-virtualized"], Zx = [
|
|
|
13390
13390
|
onClick: (e) => (0, l.unref)(N)(e, i),
|
|
13391
13391
|
onContextmenu: (e) => (0, l.unref)(P)(e, i),
|
|
13392
13392
|
onDragstart: (e) => function(e, t) {
|
|
13393
|
-
|
|
13393
|
+
w.value = t, e.dataTransfer && (e.dataTransfer.effectAllowed = "move");
|
|
13394
13394
|
}(e, i),
|
|
13395
13395
|
onDragover: a[0] || (a[0] = (0, l.withModifiers)(() => {}, ["prevent"])),
|
|
13396
13396
|
onDrop: (e) => function(e) {
|
|
13397
|
-
null !==
|
|
13398
|
-
from:
|
|
13397
|
+
null !== w.value && w.value !== e && c("reorder", {
|
|
13398
|
+
from: w.value,
|
|
13399
13399
|
to: e
|
|
13400
|
-
}),
|
|
13400
|
+
}), w.value = null;
|
|
13401
13401
|
}(i)
|
|
13402
13402
|
}, [(0, l.createElementVNode)("div", Qx, [(0, l.createElementVNode)("span", {
|
|
13403
13403
|
class: (0, l.normalizeClass)((0, l.unref)(o.cn)("text-[10px] tabular-nums text-right select-none w-full", i === n.activeIndex ? "text-primary font-medium" : "text-muted-foreground")),
|
|
@@ -13590,11 +13590,11 @@ var qx, Yx = ["aria-label"], Xx = ["data-virtualized"], Zx = [
|
|
|
13590
13590
|
], ky = {
|
|
13591
13591
|
value: "",
|
|
13592
13592
|
disabled: ""
|
|
13593
|
-
}, Sy = ["value"], Ey = { class: "flex items-center gap-1.5 text-[11px] text-muted-foreground" },
|
|
13593
|
+
}, Sy = ["value"], Ey = { class: "flex items-center gap-1.5 text-[11px] text-muted-foreground" }, wy = [
|
|
13594
13594
|
"disabled",
|
|
13595
13595
|
"checked",
|
|
13596
13596
|
"onChange"
|
|
13597
|
-
],
|
|
13597
|
+
], Cy = (0, l.defineComponent)({
|
|
13598
13598
|
__name: "ActionSettingsPanel",
|
|
13599
13599
|
props: {
|
|
13600
13600
|
element: {},
|
|
@@ -13703,7 +13703,7 @@ var qx, Yx = ["aria-label"], Xx = ["data-virtualized"], Zx = [
|
|
|
13703
13703
|
const n = e.target.checked, o = m(t);
|
|
13704
13704
|
o?.customShowId && g(t, "customShow", void 0, void 0, o.customShowId, n);
|
|
13705
13705
|
}(t, e)
|
|
13706
|
-
}, null, 40,
|
|
13706
|
+
}, null, 40, wy), (0, l.createTextVNode)(" " + (0, l.toDisplayString)((0, l.unref)(s)("pptx.hyperlink.customShowReturn")), 1)])], 64)) : (0, l.createCommentVNode)("", !0)
|
|
13707
13707
|
])), 64))]));
|
|
13708
13708
|
}
|
|
13709
13709
|
}), By = { class: "pptx-vue-after-animation" }, Ny = [
|
|
@@ -13913,7 +13913,7 @@ var Ry = {
|
|
|
13913
13913
|
}), th = e._plugin_vue_export_helper_default(eh, [["__scopeId", "data-v-e47de647"]]), nh = {
|
|
13914
13914
|
class: "pptx-vue-anim-row rounded border border-border bg-muted p-2 space-y-2",
|
|
13915
13915
|
"data-animation-editor": ""
|
|
13916
|
-
}, oh = { class: "flex items-center gap-1" }, ah = { class: "flex-1 truncate" }, lh = ["aria-label"], rh = { class: "grid grid-cols-2 gap-2" }, ih = ["aria-label", "value"], sh = ["aria-label", "value"], ch = { key: 0 }, dh = ["aria-label", "value"], ph = ["value"], uh = ["aria-label", "value"], mh = ["value"], vh = ["aria-label", "value"], gh = ["value"], fh = { key: 2 }, xh = ["aria-label", "value"], yh = { value: "" }, hh = ["value"], bh = ["aria-label", "value"], kh = ["value"], Sh = { class: "grid grid-cols-2 gap-2" }, Eh = ["aria-label", "value"],
|
|
13916
|
+
}, oh = { class: "flex items-center gap-1" }, ah = { class: "flex-1 truncate" }, lh = ["aria-label"], rh = { class: "grid grid-cols-2 gap-2" }, ih = ["aria-label", "value"], sh = ["aria-label", "value"], ch = { key: 0 }, dh = ["aria-label", "value"], ph = ["value"], uh = ["aria-label", "value"], mh = ["value"], vh = ["aria-label", "value"], gh = ["value"], fh = { key: 2 }, xh = ["aria-label", "value"], yh = { value: "" }, hh = ["value"], bh = ["aria-label", "value"], kh = ["value"], Sh = { class: "grid grid-cols-2 gap-2" }, Eh = ["aria-label", "value"], wh = ["aria-label", "value"], Ch = { value: "none" }, Bh = { value: "untilNextClick" }, Nh = { value: "untilEndOfSlide" }, Vh = (0, l.defineComponent)({
|
|
13917
13917
|
__name: "AnimationEditorControls",
|
|
13918
13918
|
props: {
|
|
13919
13919
|
animation: {},
|
|
@@ -14112,10 +14112,10 @@ var Ry = {
|
|
|
14112
14112
|
value: e.animation.repeatMode ?? "none",
|
|
14113
14113
|
onChange: n[15] || (n[15] = (e) => i("patch", { repeatMode: "none" === m(e) ? void 0 : m(e) }))
|
|
14114
14114
|
}, [
|
|
14115
|
-
(0, l.createElementVNode)("option",
|
|
14115
|
+
(0, l.createElementVNode)("option", Ch, (0, l.toDisplayString)((0, l.unref)(s)("pptx.animation.repeatUntil.none")), 1),
|
|
14116
14116
|
(0, l.createElementVNode)("option", Bh, (0, l.toDisplayString)((0, l.unref)(s)("pptx.animation.repeatUntil.untilNextClick")), 1),
|
|
14117
14117
|
(0, l.createElementVNode)("option", Nh, (0, l.toDisplayString)((0, l.unref)(s)("pptx.animation.repeatUntil.untilEndOfSlide")), 1)
|
|
14118
|
-
], 40,
|
|
14118
|
+
], 40, wh)])])
|
|
14119
14119
|
]);
|
|
14120
14120
|
var h;
|
|
14121
14121
|
};
|
|
@@ -14342,8 +14342,8 @@ var Ry = {
|
|
|
14342
14342
|
trigger: g.value
|
|
14343
14343
|
}] });
|
|
14344
14344
|
}
|
|
14345
|
-
const
|
|
14346
|
-
function
|
|
14345
|
+
const w = (0, l.computed)(() => (0, a.motionPathFor)(r.slideAnimations, r.element.id));
|
|
14346
|
+
function C(e) {
|
|
14347
14347
|
r.canEdit && "custom" !== e && i("updateSlideAnimations", "none" === e ? (0, a.clearMotionPath)(r.slideAnimations, r.element.id) : (0, a.applyMotionPathPreset)(r.slideAnimations, r.element.id, e));
|
|
14348
14348
|
}
|
|
14349
14349
|
return (e, t) => ((0, l.openBlock)(), (0, l.createElementBlock)("div", Jh, [
|
|
@@ -14382,9 +14382,9 @@ var Ry = {
|
|
|
14382
14382
|
"onPreview"
|
|
14383
14383
|
]))], 64))), 128))])) : ((0, l.openBlock)(), (0, l.createElementBlock)("p", nb, (0, l.toDisplayString)((0, l.unref)(s)("pptx.animation.noAnimations")), 1)),
|
|
14384
14384
|
(0, l.createVNode)(Qh, {
|
|
14385
|
-
"motion-path":
|
|
14385
|
+
"motion-path": w.value,
|
|
14386
14386
|
"can-edit": n.canEdit,
|
|
14387
|
-
onChange:
|
|
14387
|
+
onChange: C
|
|
14388
14388
|
}, null, 8, ["motion-path", "can-edit"]),
|
|
14389
14389
|
(0, l.createVNode)(Hh, {
|
|
14390
14390
|
animations: h.value,
|
|
@@ -14464,7 +14464,7 @@ var Ry = {
|
|
|
14464
14464
|
"value",
|
|
14465
14465
|
"disabled",
|
|
14466
14466
|
"onChange"
|
|
14467
|
-
], Eb = ["value"],
|
|
14467
|
+
], Eb = ["value"], wb = [
|
|
14468
14468
|
"data-testid",
|
|
14469
14469
|
"aria-label",
|
|
14470
14470
|
"value",
|
|
@@ -14472,7 +14472,7 @@ var Ry = {
|
|
|
14472
14472
|
"onInput",
|
|
14473
14473
|
"onChange",
|
|
14474
14474
|
"onBlur"
|
|
14475
|
-
],
|
|
14475
|
+
], Cb = [
|
|
14476
14476
|
"type",
|
|
14477
14477
|
"data-testid",
|
|
14478
14478
|
"aria-label",
|
|
@@ -14559,7 +14559,7 @@ var Ry = {
|
|
|
14559
14559
|
onInput: (n) => u(e.id, t.id, n),
|
|
14560
14560
|
onChange: (n) => u(e.id, t.id, n),
|
|
14561
14561
|
onBlur: (n) => u(e.id, t.id, n)
|
|
14562
|
-
}, null, 40,
|
|
14562
|
+
}, null, 40, wb)) : ((0, l.openBlock)(), (0, l.createElementBlock)("input", {
|
|
14563
14563
|
key: 2,
|
|
14564
14564
|
type: t.control,
|
|
14565
14565
|
class: (0, l.normalizeClass)("range" === t.control ? "pptx-vue-fields-range w-full accent-primary" : "pptx-vue-fields-input rounded border border-border bg-muted px-2 py-1 max-md:min-h-[44px]"),
|
|
@@ -14571,7 +14571,7 @@ var Ry = {
|
|
|
14571
14571
|
value: t.value,
|
|
14572
14572
|
disabled: o.disabled,
|
|
14573
14573
|
onInput: (n) => d(e.id, t.id, m(n))
|
|
14574
|
-
}, null, 42,
|
|
14574
|
+
}, null, 42, Cb))], 2))], 64))), 128))])) : (0, l.createCommentVNode)("", !0)], 8, vb))), 128));
|
|
14575
14575
|
}
|
|
14576
14576
|
}), Vb = { class: "pptx-vue-arrange flex flex-col gap-2 text-xs" }, Tb = { class: "flex items-center justify-between" }, Fb = { class: "text-muted-foreground font-medium" }, Pb = [
|
|
14577
14577
|
"disabled",
|
|
@@ -14786,7 +14786,7 @@ var Ry = {
|
|
|
14786
14786
|
"title",
|
|
14787
14787
|
"value",
|
|
14788
14788
|
"onInput"
|
|
14789
|
-
],
|
|
14789
|
+
], wk = { class: "flex items-center gap-2 text-[11px]" }, Ck = { class: "w-12 text-muted-foreground shrink-0" }, Bk = [
|
|
14790
14790
|
"placeholder",
|
|
14791
14791
|
"value",
|
|
14792
14792
|
"onInput"
|
|
@@ -14872,8 +14872,8 @@ var Ry = {
|
|
|
14872
14872
|
});
|
|
14873
14873
|
}(t, e)
|
|
14874
14874
|
}, null, 40, Ek)) : (0, l.createCommentVNode)("", !0)])) : (0, l.createCommentVNode)("", !0),
|
|
14875
|
-
(0, l.createElementVNode)("div",
|
|
14876
|
-
(0, l.createElementVNode)("span",
|
|
14875
|
+
(0, l.createElementVNode)("div", wk, [
|
|
14876
|
+
(0, l.createElementVNode)("span", Ck, (0, l.toDisplayString)((0, l.unref)(i)("pptx.chart.titleFont")), 1),
|
|
14877
14877
|
(0, l.createElementVNode)("input", {
|
|
14878
14878
|
type: "text",
|
|
14879
14879
|
class: (0, l.normalizeClass)(Lk),
|
|
@@ -15042,11 +15042,11 @@ var Ry = {
|
|
|
15042
15042
|
"placeholder",
|
|
15043
15043
|
"title",
|
|
15044
15044
|
"onInput"
|
|
15045
|
-
],
|
|
15045
|
+
], wS = [
|
|
15046
15046
|
"value",
|
|
15047
15047
|
"title",
|
|
15048
15048
|
"onInput"
|
|
15049
|
-
],
|
|
15049
|
+
], CS = (0, l.defineComponent)({
|
|
15050
15050
|
__name: "ChartDataPointMarkerOptions",
|
|
15051
15051
|
props: {
|
|
15052
15052
|
chartType: {},
|
|
@@ -15126,7 +15126,7 @@ var Ry = {
|
|
|
15126
15126
|
r("setPointMarker", u.value, t, { fillColor: e.target.value });
|
|
15127
15127
|
}(e, t),
|
|
15128
15128
|
onChange: f
|
|
15129
|
-
}, null, 40,
|
|
15129
|
+
}, null, 40, wS)
|
|
15130
15130
|
])) : (0, l.createCommentVNode)("", !0)]))), 128))])
|
|
15131
15131
|
])) : (0, l.createCommentVNode)("", !0);
|
|
15132
15132
|
}
|
|
@@ -15416,12 +15416,12 @@ var Ry = {
|
|
|
15416
15416
|
}, kE = { class: "pptx-vue-chart-heading text-[11px] uppercase tracking-wide text-muted-foreground" }, SE = {
|
|
15417
15417
|
key: 0,
|
|
15418
15418
|
class: "space-y-1"
|
|
15419
|
-
}, EE = ["title"],
|
|
15419
|
+
}, EE = ["title"], wE = [
|
|
15420
15420
|
"disabled",
|
|
15421
15421
|
"aria-label",
|
|
15422
15422
|
"data-testid",
|
|
15423
15423
|
"onClick"
|
|
15424
|
-
],
|
|
15424
|
+
], CE = {
|
|
15425
15425
|
key: 1,
|
|
15426
15426
|
class: "space-y-1"
|
|
15427
15427
|
}, BE = ["title"], NE = [
|
|
@@ -15473,8 +15473,8 @@ var Ry = {
|
|
|
15473
15473
|
}, [(0, l.createVNode)((0, l.unref)(r.EyeOff), {
|
|
15474
15474
|
class: "size-3",
|
|
15475
15475
|
"aria-hidden": "true"
|
|
15476
|
-
})], 8,
|
|
15477
|
-
s.value.length > 0 ? ((0, l.openBlock)(), (0, l.createElementBlock)("div",
|
|
15476
|
+
})], 8, wE)]))), 128))])) : (0, l.createCommentVNode)("", !0),
|
|
15477
|
+
s.value.length > 0 ? ((0, l.openBlock)(), (0, l.createElementBlock)("div", CE, [((0, l.openBlock)(!0), (0, l.createElementBlock)(l.Fragment, null, (0, l.renderList)(s.value, (t, n) => ((0, l.openBlock)(), (0, l.createElementBlock)("div", {
|
|
15478
15478
|
key: `filtered-${u(n)}-${n}`,
|
|
15479
15479
|
class: "flex items-center gap-2 text-[11px] opacity-60"
|
|
15480
15480
|
}, [(0, l.createElementVNode)("span", {
|
|
@@ -15641,16 +15641,16 @@ var Ry = {
|
|
|
15641
15641
|
}), JE = {
|
|
15642
15642
|
key: 0,
|
|
15643
15643
|
class: "pptx-vue-chart-card rounded border border-border bg-card p-2 space-y-1.5"
|
|
15644
|
-
},
|
|
15644
|
+
}, ew = {
|
|
15645
15645
|
key: 0,
|
|
15646
15646
|
class: "flex items-center gap-2 text-[11px]"
|
|
15647
|
-
},
|
|
15647
|
+
}, tw = { class: "w-20 text-muted-foreground shrink-0" }, nw = ["aria-label", "value"], ow = ["value"], aw = {
|
|
15648
15648
|
key: 1,
|
|
15649
15649
|
class: "flex items-center gap-2 text-[11px]"
|
|
15650
|
-
},
|
|
15650
|
+
}, lw = { class: "w-20 text-muted-foreground shrink-0" }, rw = ["aria-label", "value"], iw = ["value"], sw = {
|
|
15651
15651
|
key: 2,
|
|
15652
15652
|
class: "flex items-center gap-2 text-[11px]"
|
|
15653
|
-
},
|
|
15653
|
+
}, cw = { class: "w-20 text-muted-foreground shrink-0" }, dw = ["aria-label", "value"], pw = ["value"], uw = (0, l.defineComponent)({
|
|
15654
15654
|
__name: "ChartSubtypeOptions",
|
|
15655
15655
|
props: { chartData: {} },
|
|
15656
15656
|
emits: ["update-chart-data"],
|
|
@@ -15675,7 +15675,7 @@ var Ry = {
|
|
|
15675
15675
|
r("update-chart-data", (0, a.surfaceWireframePatch)(t, n));
|
|
15676
15676
|
}
|
|
15677
15677
|
return (t, n) => s.value || c.value || d.value ? ((0, l.openBlock)(), (0, l.createElementBlock)("div", JE, [
|
|
15678
|
-
s.value ? ((0, l.openBlock)(), (0, l.createElementBlock)("label",
|
|
15678
|
+
s.value ? ((0, l.openBlock)(), (0, l.createElementBlock)("label", ew, [(0, l.createElementVNode)("span", tw, (0, l.toDisplayString)((0, l.unref)(i)("pptx.chart.bar3DShapeLabel")), 1), (0, l.createElementVNode)("pptx-ui-select", {
|
|
15679
15679
|
"aria-label": (0, l.unref)(i)("pptx.chart.bar3DShapeLabel"),
|
|
15680
15680
|
class: "pptx-vue-chart-input flex-1 bg-muted border border-border rounded px-1.5 py-0.5 w-full",
|
|
15681
15681
|
"data-testid": "pptx-chart-bar3d-shape",
|
|
@@ -15684,8 +15684,8 @@ var Ry = {
|
|
|
15684
15684
|
}, [((0, l.openBlock)(!0), (0, l.createElementBlock)(l.Fragment, null, (0, l.renderList)((0, l.unref)(a.BAR3D_SHAPE_OPTIONS), (e) => ((0, l.openBlock)(), (0, l.createElementBlock)("option", {
|
|
15685
15685
|
key: e.value,
|
|
15686
15686
|
value: e.value
|
|
15687
|
-
}, (0, l.toDisplayString)((0, l.unref)(i)(e.labelKey)), 9,
|
|
15688
|
-
c.value ? ((0, l.openBlock)(), (0, l.createElementBlock)("label",
|
|
15687
|
+
}, (0, l.toDisplayString)((0, l.unref)(i)(e.labelKey)), 9, ow))), 128))], 40, nw)])) : (0, l.createCommentVNode)("", !0),
|
|
15688
|
+
c.value ? ((0, l.openBlock)(), (0, l.createElementBlock)("label", aw, [(0, l.createElementVNode)("span", lw, (0, l.toDisplayString)((0, l.unref)(i)("pptx.chart.radarStyleLabel")), 1), (0, l.createElementVNode)("pptx-ui-select", {
|
|
15689
15689
|
"aria-label": (0, l.unref)(i)("pptx.chart.radarStyleLabel"),
|
|
15690
15690
|
class: "pptx-vue-chart-input flex-1 bg-muted border border-border rounded px-1.5 py-0.5 w-full",
|
|
15691
15691
|
"data-testid": "pptx-chart-radar-style",
|
|
@@ -15694,8 +15694,8 @@ var Ry = {
|
|
|
15694
15694
|
}, [((0, l.openBlock)(!0), (0, l.createElementBlock)(l.Fragment, null, (0, l.renderList)((0, l.unref)(a.RADAR_STYLE_OPTIONS), (e) => ((0, l.openBlock)(), (0, l.createElementBlock)("option", {
|
|
15695
15695
|
key: e.value,
|
|
15696
15696
|
value: e.value
|
|
15697
|
-
}, (0, l.toDisplayString)((0, l.unref)(i)(e.labelKey)), 9,
|
|
15698
|
-
d.value ? ((0, l.openBlock)(), (0, l.createElementBlock)("label",
|
|
15697
|
+
}, (0, l.toDisplayString)((0, l.unref)(i)(e.labelKey)), 9, iw))), 128))], 40, rw)])) : (0, l.createCommentVNode)("", !0),
|
|
15698
|
+
d.value ? ((0, l.openBlock)(), (0, l.createElementBlock)("label", sw, [(0, l.createElementVNode)("span", cw, (0, l.toDisplayString)((0, l.unref)(i)("pptx.chart.surfaceWireframeLabel")), 1), (0, l.createElementVNode)("pptx-ui-select", {
|
|
15699
15699
|
"aria-label": (0, l.unref)(i)("pptx.chart.surfaceWireframeLabel"),
|
|
15700
15700
|
class: "pptx-vue-chart-input flex-1 bg-muted border border-border rounded px-1.5 py-0.5 w-full",
|
|
15701
15701
|
"data-testid": "pptx-chart-surface-wireframe",
|
|
@@ -15704,16 +15704,16 @@ var Ry = {
|
|
|
15704
15704
|
}, [((0, l.openBlock)(!0), (0, l.createElementBlock)(l.Fragment, null, (0, l.renderList)((0, l.unref)(a.SURFACE_WIREFRAME_OPTIONS), (e) => ((0, l.openBlock)(), (0, l.createElementBlock)("option", {
|
|
15705
15705
|
key: e.value,
|
|
15706
15706
|
value: e.value
|
|
15707
|
-
}, (0, l.toDisplayString)((0, l.unref)(i)(e.labelKey)), 9,
|
|
15707
|
+
}, (0, l.toDisplayString)((0, l.unref)(i)(e.labelKey)), 9, pw))), 128))], 40, dw)])) : (0, l.createCommentVNode)("", !0)
|
|
15708
15708
|
])) : (0, l.createCommentVNode)("", !0);
|
|
15709
15709
|
}
|
|
15710
|
-
}),
|
|
15710
|
+
}), mw = {
|
|
15711
15711
|
key: 0,
|
|
15712
15712
|
class: "pptx-vue-chart-card rounded border border-border bg-card p-2 space-y-2"
|
|
15713
|
-
},
|
|
15713
|
+
}, vw = { class: "pptx-vue-chart-heading text-[11px] uppercase tracking-wide text-muted-foreground" }, gw = { class: "space-y-2" }, fw = { class: "flex items-center gap-2 text-[11px]" }, xw = ["title"], yw = ["value", "onChange"], hw = ["value"], bw = {
|
|
15714
15714
|
key: 0,
|
|
15715
15715
|
class: "flex items-center gap-3 ml-2"
|
|
15716
|
-
},
|
|
15716
|
+
}, kw = { class: "flex items-center gap-1 text-[11px] cursor-pointer" }, Sw = ["checked", "onChange"], Ew = { class: "flex items-center gap-1 text-[11px] cursor-pointer" }, ww = ["checked", "onChange"], Cw = (0, l.defineComponent)({
|
|
15717
15717
|
__name: "ChartTrendlineOptions",
|
|
15718
15718
|
props: {
|
|
15719
15719
|
chartType: {},
|
|
@@ -15731,13 +15731,13 @@ var Ry = {
|
|
|
15731
15731
|
[o]: e.target.checked
|
|
15732
15732
|
});
|
|
15733
15733
|
}
|
|
15734
|
-
return (e, t) => s.value ? ((0, l.openBlock)(), (0, l.createElementBlock)("div",
|
|
15734
|
+
return (e, t) => s.value ? ((0, l.openBlock)(), (0, l.createElementBlock)("div", mw, [(0, l.createElementVNode)("div", vw, (0, l.toDisplayString)((0, l.unref)(i)("pptx.chart.trendlines")), 1), (0, l.createElementVNode)("div", gw, [((0, l.openBlock)(!0), (0, l.createElementBlock)(l.Fragment, null, (0, l.renderList)(o.series, (e, t) => ((0, l.openBlock)(), (0, l.createElementBlock)("div", {
|
|
15735
15735
|
key: `${e.name}-${t}`,
|
|
15736
15736
|
class: "space-y-1"
|
|
15737
|
-
}, [(0, l.createElementVNode)("div",
|
|
15737
|
+
}, [(0, l.createElementVNode)("div", fw, [(0, l.createElementVNode)("span", {
|
|
15738
15738
|
class: "flex-1 truncate",
|
|
15739
15739
|
title: e.name
|
|
15740
|
-
}, (0, l.toDisplayString)(e.name), 9,
|
|
15740
|
+
}, (0, l.toDisplayString)(e.name), 9, xw), (0, l.createElementVNode)("pptx-ui-select", {
|
|
15741
15741
|
class: "pptx-vue-chart-input flex-1 bg-muted border border-border rounded px-1.5 py-0.5 w-full",
|
|
15742
15742
|
"data-testid": "chart-trendline-type",
|
|
15743
15743
|
value: c(e)?.trendlineType ?? "",
|
|
@@ -15751,23 +15751,23 @@ var Ry = {
|
|
|
15751
15751
|
}, [((0, l.openBlock)(!0), (0, l.createElementBlock)(l.Fragment, null, (0, l.renderList)((0, l.unref)(a.TRENDLINE_TYPE_OPTIONS), (e) => ((0, l.openBlock)(), (0, l.createElementBlock)("option", {
|
|
15752
15752
|
key: e.value,
|
|
15753
15753
|
value: e.value
|
|
15754
|
-
}, (0, l.toDisplayString)((0, l.unref)(i)(e.labelKey)), 9,
|
|
15754
|
+
}, (0, l.toDisplayString)((0, l.unref)(i)(e.labelKey)), 9, hw))), 128))], 40, yw)]), c(e) ? ((0, l.openBlock)(), (0, l.createElementBlock)("div", bw, [(0, l.createElementVNode)("label", kw, [(0, l.createElementVNode)("pptx-ui-checkbox", {
|
|
15755
15755
|
"data-testid": "chart-trendline-eq",
|
|
15756
15756
|
checked: c(e)?.displayEq ?? !1,
|
|
15757
15757
|
onChange: (n) => d(n, t, c(e), "displayEq")
|
|
15758
|
-
}, null, 40,
|
|
15758
|
+
}, null, 40, Sw), (0, l.createElementVNode)("span", null, (0, l.toDisplayString)((0, l.unref)(i)("pptx.chart.trendlineEquation")), 1)]), (0, l.createElementVNode)("label", Ew, [(0, l.createElementVNode)("pptx-ui-checkbox", {
|
|
15759
15759
|
"data-testid": "chart-trendline-rsq",
|
|
15760
15760
|
checked: c(e)?.displayRSq ?? !1,
|
|
15761
15761
|
onChange: (n) => d(n, t, c(e), "displayRSq")
|
|
15762
|
-
}, null, 40,
|
|
15762
|
+
}, null, 40, ww), (0, l.createElementVNode)("span", null, (0, l.toDisplayString)((0, l.unref)(i)("pptx.chart.trendlineRSquared")), 1)])])) : (0, l.createCommentVNode)("", !0)]))), 128))])])) : (0, l.createCommentVNode)("", !0);
|
|
15763
15763
|
}
|
|
15764
|
-
}),
|
|
15764
|
+
}), Bw = {
|
|
15765
15765
|
key: 0,
|
|
15766
15766
|
class: "flex flex-wrap items-center gap-1 text-[11px]"
|
|
15767
|
-
},
|
|
15767
|
+
}, Nw = { class: "text-muted-foreground" }, Vw = ["value"], Tw = ["value"], Fw = { class: "text-muted-foreground" }, Pw = ["value"], Dw = ["value"], Iw = { class: "text-muted-foreground" }, _w = ["value"], Aw = ["value"], zw = { class: "text-muted-foreground" }, Mw = ["aria-label", "value"], Ow = { class: "flex items-center gap-1 cursor-pointer" }, Rw = ["aria-label", "checked"], Lw = { class: "text-muted-foreground" }, Uw = { class: "flex items-center gap-1 cursor-pointer" }, Hw = ["aria-label", "checked"], Gw = { class: "text-muted-foreground" }, Kw = {
|
|
15768
15768
|
key: 1,
|
|
15769
15769
|
class: "flex flex-wrap items-center gap-1 text-[11px]"
|
|
15770
|
-
}, $
|
|
15770
|
+
}, $w = { class: "text-muted-foreground" }, jw = ["value"], Ww = ["value"], qw = { class: "text-muted-foreground" }, Yw = ["value"], Xw = ["value"], Zw = { class: "text-muted-foreground" }, Qw = ["aria-label", "value"], Jw = { class: "flex items-center gap-1 cursor-pointer" }, eC = ["aria-label", "checked"], tC = { class: "text-muted-foreground" }, nC = { class: "flex items-center gap-1 cursor-pointer" }, oC = ["aria-label", "checked"], aC = { class: "text-muted-foreground" }, lC = (0, l.defineComponent)({
|
|
15771
15771
|
__name: "ChartUserShapePositionFields",
|
|
15772
15772
|
props: {
|
|
15773
15773
|
row: {},
|
|
@@ -15876,8 +15876,8 @@ var Ry = {
|
|
|
15876
15876
|
function S(e) {
|
|
15877
15877
|
r("flipPatch", o.row.path, { flipV: e.target.checked });
|
|
15878
15878
|
}
|
|
15879
|
-
return (t, n) => 0 === e.row.depth ? ((0, l.openBlock)(), (0, l.createElementBlock)("div",
|
|
15880
|
-
(0, l.createElementVNode)("span",
|
|
15879
|
+
return (t, n) => 0 === e.row.depth ? ((0, l.openBlock)(), (0, l.createElementBlock)("div", Bw, [
|
|
15880
|
+
(0, l.createElementVNode)("span", Nw, (0, l.toDisplayString)((0, l.unref)(i)("pptx.chart.userShapeFrom")), 1),
|
|
15881
15881
|
(0, l.createElementVNode)("input", {
|
|
15882
15882
|
type: "number",
|
|
15883
15883
|
step: "0.01",
|
|
@@ -15886,7 +15886,7 @@ var Ry = {
|
|
|
15886
15886
|
class: "flex-1 bg-muted border border-border rounded px-1.5 py-0.5 w-full",
|
|
15887
15887
|
value: e.row.from.x,
|
|
15888
15888
|
onChange: d
|
|
15889
|
-
}, null, 40,
|
|
15889
|
+
}, null, 40, Vw),
|
|
15890
15890
|
(0, l.createElementVNode)("input", {
|
|
15891
15891
|
type: "number",
|
|
15892
15892
|
step: "0.01",
|
|
@@ -15895,9 +15895,9 @@ var Ry = {
|
|
|
15895
15895
|
class: "flex-1 bg-muted border border-border rounded px-1.5 py-0.5 w-full",
|
|
15896
15896
|
value: e.row.from.y,
|
|
15897
15897
|
onChange: p
|
|
15898
|
-
}, null, 40,
|
|
15898
|
+
}, null, 40, Tw),
|
|
15899
15899
|
"rel" === e.row.anchor && e.row.to ? ((0, l.openBlock)(), (0, l.createElementBlock)(l.Fragment, { key: 0 }, [
|
|
15900
|
-
(0, l.createElementVNode)("span",
|
|
15900
|
+
(0, l.createElementVNode)("span", Fw, (0, l.toDisplayString)((0, l.unref)(i)("pptx.chart.userShapeTo")), 1),
|
|
15901
15901
|
(0, l.createElementVNode)("input", {
|
|
15902
15902
|
type: "number",
|
|
15903
15903
|
step: "0.01",
|
|
@@ -15906,7 +15906,7 @@ var Ry = {
|
|
|
15906
15906
|
class: "flex-1 bg-muted border border-border rounded px-1.5 py-0.5 w-full",
|
|
15907
15907
|
value: e.row.to.x,
|
|
15908
15908
|
onChange: u
|
|
15909
|
-
}, null, 40,
|
|
15909
|
+
}, null, 40, Pw),
|
|
15910
15910
|
(0, l.createElementVNode)("input", {
|
|
15911
15911
|
type: "number",
|
|
15912
15912
|
step: "0.01",
|
|
@@ -15915,26 +15915,26 @@ var Ry = {
|
|
|
15915
15915
|
class: "flex-1 bg-muted border border-border rounded px-1.5 py-0.5 w-full",
|
|
15916
15916
|
value: e.row.to.y,
|
|
15917
15917
|
onChange: m
|
|
15918
|
-
}, null, 40,
|
|
15918
|
+
}, null, 40, Dw)
|
|
15919
15919
|
], 64)) : (0, l.createCommentVNode)("", !0),
|
|
15920
15920
|
"abs" === e.row.anchor && e.row.ext ? ((0, l.openBlock)(), (0, l.createElementBlock)(l.Fragment, { key: 1 }, [
|
|
15921
|
-
(0, l.createElementVNode)("span",
|
|
15921
|
+
(0, l.createElementVNode)("span", Iw, (0, l.toDisplayString)((0, l.unref)(i)("pptx.chart.userShapeSize")), 1),
|
|
15922
15922
|
(0, l.createElementVNode)("input", {
|
|
15923
15923
|
type: "number",
|
|
15924
15924
|
min: "0",
|
|
15925
15925
|
class: "flex-1 bg-muted border border-border rounded px-1.5 py-0.5 w-full",
|
|
15926
15926
|
value: e.row.ext.cx,
|
|
15927
15927
|
onChange: v
|
|
15928
|
-
}, null, 40,
|
|
15928
|
+
}, null, 40, _w),
|
|
15929
15929
|
(0, l.createElementVNode)("input", {
|
|
15930
15930
|
type: "number",
|
|
15931
15931
|
min: "0",
|
|
15932
15932
|
class: "flex-1 bg-muted border border-border rounded px-1.5 py-0.5 w-full",
|
|
15933
15933
|
value: e.row.ext.cy,
|
|
15934
15934
|
onChange: g
|
|
15935
|
-
}, null, 40,
|
|
15935
|
+
}, null, 40, Aw)
|
|
15936
15936
|
], 64)) : (0, l.createCommentVNode)("", !0),
|
|
15937
|
-
(0, l.createElementVNode)("span",
|
|
15937
|
+
(0, l.createElementVNode)("span", zw, (0, l.toDisplayString)((0, l.unref)(i)("pptx.chart.userShapeRotation")), 1),
|
|
15938
15938
|
(0, l.createElementVNode)("input", {
|
|
15939
15939
|
type: "number",
|
|
15940
15940
|
step: "1",
|
|
@@ -15942,19 +15942,19 @@ var Ry = {
|
|
|
15942
15942
|
class: "flex-1 bg-muted border border-border rounded px-1.5 py-0.5 w-full",
|
|
15943
15943
|
value: e.row.rotation ?? 0,
|
|
15944
15944
|
onChange: b
|
|
15945
|
-
}, null, 40,
|
|
15946
|
-
(0, l.createElementVNode)("label",
|
|
15945
|
+
}, null, 40, Mw),
|
|
15946
|
+
(0, l.createElementVNode)("label", Ow, [(0, l.createElementVNode)("pptx-ui-checkbox", {
|
|
15947
15947
|
"aria-label": (0, l.unref)(i)("pptx.arrange.flipHorizontally"),
|
|
15948
15948
|
checked: e.row.flipH ?? !1,
|
|
15949
15949
|
onChange: k
|
|
15950
|
-
}, null, 40,
|
|
15951
|
-
(0, l.createElementVNode)("label",
|
|
15950
|
+
}, null, 40, Rw), (0, l.createElementVNode)("span", Lw, (0, l.toDisplayString)((0, l.unref)(i)("pptx.arrange.flipHorizontally")), 1)]),
|
|
15951
|
+
(0, l.createElementVNode)("label", Uw, [(0, l.createElementVNode)("pptx-ui-checkbox", {
|
|
15952
15952
|
"aria-label": (0, l.unref)(i)("pptx.arrange.flipVertically"),
|
|
15953
15953
|
checked: e.row.flipV ?? !1,
|
|
15954
15954
|
onChange: S
|
|
15955
|
-
}, null, 40,
|
|
15956
|
-
])) : s.value ? ((0, l.openBlock)(), (0, l.createElementBlock)("div",
|
|
15957
|
-
(0, l.createElementVNode)("span", $
|
|
15955
|
+
}, null, 40, Hw), (0, l.createElementVNode)("span", Gw, (0, l.toDisplayString)((0, l.unref)(i)("pptx.arrange.flipVertically")), 1)])
|
|
15956
|
+
])) : s.value ? ((0, l.openBlock)(), (0, l.createElementBlock)("div", Kw, [
|
|
15957
|
+
(0, l.createElementVNode)("span", $w, (0, l.toDisplayString)((0, l.unref)(i)("pptx.chart.userShapeFrom")), 1),
|
|
15958
15958
|
(0, l.createElementVNode)("input", {
|
|
15959
15959
|
type: "number",
|
|
15960
15960
|
step: "0.01",
|
|
@@ -15963,7 +15963,7 @@ var Ry = {
|
|
|
15963
15963
|
class: "flex-1 bg-muted border border-border rounded px-1.5 py-0.5 w-full",
|
|
15964
15964
|
value: s.value.from.x,
|
|
15965
15965
|
onChange: f
|
|
15966
|
-
}, null, 40,
|
|
15966
|
+
}, null, 40, jw),
|
|
15967
15967
|
(0, l.createElementVNode)("input", {
|
|
15968
15968
|
type: "number",
|
|
15969
15969
|
step: "0.01",
|
|
@@ -15972,8 +15972,8 @@ var Ry = {
|
|
|
15972
15972
|
class: "flex-1 bg-muted border border-border rounded px-1.5 py-0.5 w-full",
|
|
15973
15973
|
value: s.value.from.y,
|
|
15974
15974
|
onChange: x
|
|
15975
|
-
}, null, 40,
|
|
15976
|
-
(0, l.createElementVNode)("span",
|
|
15975
|
+
}, null, 40, Ww),
|
|
15976
|
+
(0, l.createElementVNode)("span", qw, (0, l.toDisplayString)((0, l.unref)(i)("pptx.chart.userShapeTo")), 1),
|
|
15977
15977
|
(0, l.createElementVNode)("input", {
|
|
15978
15978
|
type: "number",
|
|
15979
15979
|
step: "0.01",
|
|
@@ -15982,7 +15982,7 @@ var Ry = {
|
|
|
15982
15982
|
class: "flex-1 bg-muted border border-border rounded px-1.5 py-0.5 w-full",
|
|
15983
15983
|
value: s.value.to.x,
|
|
15984
15984
|
onChange: y
|
|
15985
|
-
}, null, 40,
|
|
15985
|
+
}, null, 40, Yw),
|
|
15986
15986
|
(0, l.createElementVNode)("input", {
|
|
15987
15987
|
type: "number",
|
|
15988
15988
|
step: "0.01",
|
|
@@ -15991,8 +15991,8 @@ var Ry = {
|
|
|
15991
15991
|
class: "flex-1 bg-muted border border-border rounded px-1.5 py-0.5 w-full",
|
|
15992
15992
|
value: s.value.to.y,
|
|
15993
15993
|
onChange: h
|
|
15994
|
-
}, null, 40,
|
|
15995
|
-
(0, l.createElementVNode)("span",
|
|
15994
|
+
}, null, 40, Xw),
|
|
15995
|
+
(0, l.createElementVNode)("span", Zw, (0, l.toDisplayString)((0, l.unref)(i)("pptx.chart.userShapeRotation")), 1),
|
|
15996
15996
|
(0, l.createElementVNode)("input", {
|
|
15997
15997
|
type: "number",
|
|
15998
15998
|
step: "1",
|
|
@@ -16000,51 +16000,51 @@ var Ry = {
|
|
|
16000
16000
|
class: "flex-1 bg-muted border border-border rounded px-1.5 py-0.5 w-full",
|
|
16001
16001
|
value: e.row.rotation ?? 0,
|
|
16002
16002
|
onChange: b
|
|
16003
|
-
}, null, 40,
|
|
16004
|
-
(0, l.createElementVNode)("label",
|
|
16003
|
+
}, null, 40, Qw),
|
|
16004
|
+
(0, l.createElementVNode)("label", Jw, [(0, l.createElementVNode)("pptx-ui-checkbox", {
|
|
16005
16005
|
"aria-label": (0, l.unref)(i)("pptx.arrange.flipHorizontally"),
|
|
16006
16006
|
checked: e.row.flipH ?? !1,
|
|
16007
16007
|
onChange: k
|
|
16008
|
-
}, null, 40,
|
|
16009
|
-
(0, l.createElementVNode)("label",
|
|
16008
|
+
}, null, 40, eC), (0, l.createElementVNode)("span", tC, (0, l.toDisplayString)((0, l.unref)(i)("pptx.arrange.flipHorizontally")), 1)]),
|
|
16009
|
+
(0, l.createElementVNode)("label", nC, [(0, l.createElementVNode)("pptx-ui-checkbox", {
|
|
16010
16010
|
"aria-label": (0, l.unref)(i)("pptx.arrange.flipVertically"),
|
|
16011
16011
|
checked: e.row.flipV ?? !1,
|
|
16012
16012
|
onChange: S
|
|
16013
|
-
}, null, 40,
|
|
16013
|
+
}, null, 40, oC), (0, l.createElementVNode)("span", aC, (0, l.toDisplayString)((0, l.unref)(i)("pptx.arrange.flipVertically")), 1)])
|
|
16014
16014
|
])) : (0, l.createCommentVNode)("", !0);
|
|
16015
16015
|
}
|
|
16016
|
-
}),
|
|
16016
|
+
}), rC = { class: "pptx-vue-chart-card rounded border border-border bg-card p-2 space-y-2" }, iC = { class: "flex items-center justify-between" }, sC = { class: "text-[11px] uppercase tracking-wide text-muted-foreground" }, cC = {
|
|
16017
16017
|
key: 0,
|
|
16018
16018
|
class: "text-[11px] text-muted-foreground"
|
|
16019
|
-
},
|
|
16019
|
+
}, dC = {
|
|
16020
16020
|
key: 1,
|
|
16021
16021
|
class: "space-y-2"
|
|
16022
|
-
},
|
|
16022
|
+
}, pC = ["data-chart-user-shape-path"], uC = { class: "flex items-center gap-2 text-[11px]" }, mC = { class: "flex-1 truncate" }, vC = ["onClick"], gC = ["aria-label", "onClick"], fC = {
|
|
16023
16023
|
key: 0,
|
|
16024
16024
|
class: "flex items-center gap-1 text-[11px]"
|
|
16025
|
-
},
|
|
16025
|
+
}, xC = { class: "text-muted-foreground" }, yC = [
|
|
16026
16026
|
"aria-label",
|
|
16027
16027
|
"value",
|
|
16028
16028
|
"onChange"
|
|
16029
|
-
],
|
|
16029
|
+
], hC = {
|
|
16030
16030
|
key: 1,
|
|
16031
16031
|
class: "flex items-center gap-3 text-[11px]"
|
|
16032
|
-
},
|
|
16032
|
+
}, bC = { class: "flex items-center gap-1" }, kC = { class: "text-muted-foreground" }, SC = [
|
|
16033
16033
|
"aria-label",
|
|
16034
16034
|
"value",
|
|
16035
16035
|
"onChange"
|
|
16036
|
-
],
|
|
16036
|
+
], EC = { class: "flex items-center gap-1" }, wC = { class: "text-muted-foreground" }, CC = [
|
|
16037
16037
|
"aria-label",
|
|
16038
16038
|
"value",
|
|
16039
16039
|
"onChange"
|
|
16040
|
-
],
|
|
16040
|
+
], BC = {
|
|
16041
16041
|
key: 2,
|
|
16042
16042
|
class: "flex items-center gap-1 text-[11px]"
|
|
16043
|
-
},
|
|
16043
|
+
}, NC = { class: "text-muted-foreground" }, VC = [
|
|
16044
16044
|
"aria-label",
|
|
16045
16045
|
"value",
|
|
16046
16046
|
"onChange"
|
|
16047
|
-
],
|
|
16047
|
+
], TC = (0, l.defineComponent)({
|
|
16048
16048
|
__name: "ChartUserShapeOptions",
|
|
16049
16049
|
props: { chartData: {} },
|
|
16050
16050
|
emits: ["update-chart-data"],
|
|
@@ -16068,12 +16068,12 @@ var Ry = {
|
|
|
16068
16068
|
function v(e, t) {
|
|
16069
16069
|
r("update-chart-data", { userShapes: (0, a.withChartUserShapeRowFlipUpdated)(o.chartData.userShapes, e, t) });
|
|
16070
16070
|
}
|
|
16071
|
-
return (t, n) => ((0, l.openBlock)(), (0, l.createElementBlock)("div",
|
|
16071
|
+
return (t, n) => ((0, l.openBlock)(), (0, l.createElementBlock)("div", rC, [(0, l.createElementVNode)("div", iC, [(0, l.createElementVNode)("span", sC, (0, l.toDisplayString)((0, l.unref)(i)("pptx.chart.userShapes")), 1), (0, l.createElementVNode)("button", {
|
|
16072
16072
|
type: "button",
|
|
16073
16073
|
class: "rounded bg-muted hover:bg-accent px-2 py-1 text-[11px] transition-colors",
|
|
16074
16074
|
"data-testid": "chart-user-shape-add",
|
|
16075
16075
|
onClick: d
|
|
16076
|
-
}, (0, l.toDisplayString)((0, l.unref)(i)("pptx.chart.userShapeAddTextBox")), 1)]), 0 === s.value.length ? ((0, l.openBlock)(), (0, l.createElementBlock)("div",
|
|
16076
|
+
}, (0, l.toDisplayString)((0, l.unref)(i)("pptx.chart.userShapeAddTextBox")), 1)]), 0 === s.value.length ? ((0, l.openBlock)(), (0, l.createElementBlock)("div", cC, (0, l.toDisplayString)((0, l.unref)(i)("pptx.chart.userShapesEmpty")), 1)) : ((0, l.openBlock)(), (0, l.createElementBlock)("div", dC, [((0, l.openBlock)(!0), (0, l.createElementBlock)(l.Fragment, null, (0, l.renderList)(s.value, (t) => {
|
|
16077
16077
|
return (0, l.openBlock)(), (0, l.createElementBlock)("div", {
|
|
16078
16078
|
key: c(t.path),
|
|
16079
16079
|
"data-chart-user-shape-path": c(t.path),
|
|
@@ -16081,8 +16081,8 @@ var Ry = {
|
|
|
16081
16081
|
class: "space-y-1 rounded border border-border p-1.5",
|
|
16082
16082
|
"data-testid": "chart-user-shape-row"
|
|
16083
16083
|
}, [
|
|
16084
|
-
(0, l.createElementVNode)("div",
|
|
16085
|
-
(0, l.createElementVNode)("span",
|
|
16084
|
+
(0, l.createElementVNode)("div", uC, [
|
|
16085
|
+
(0, l.createElementVNode)("span", mC, [(0, l.createTextVNode)((0, l.toDisplayString)((n = t.kind, i(`pptx.chart.userShapeKind${n.charAt(0).toUpperCase()}${n.slice(1)}`))), 1), t.text ? ((0, l.openBlock)(), (0, l.createElementBlock)(l.Fragment, { key: 0 }, [(0, l.createTextVNode)(" - " + (0, l.toDisplayString)(t.text), 1)], 64)) : (0, l.createCommentVNode)("", !0)]),
|
|
16086
16086
|
t.isGroup ? ((0, l.openBlock)(), (0, l.createElementBlock)("button", {
|
|
16087
16087
|
key: 0,
|
|
16088
16088
|
type: "button",
|
|
@@ -16092,7 +16092,7 @@ var Ry = {
|
|
|
16092
16092
|
const t = (0, a.getChartUserShapeGroupTransform)(o.chartData.userShapes, e);
|
|
16093
16093
|
t && r("update-chart-data", { userShapes: (0, a.withChartUserShapeGroupChildAdded)(o.chartData.userShapes, e, (0, a.createDefaultChartUserShapeGroupChild)(t)) });
|
|
16094
16094
|
}(t.path)
|
|
16095
|
-
}, (0, l.toDisplayString)((0, l.unref)(i)("pptx.chart.userShapeAddIntoGroup")), 9,
|
|
16095
|
+
}, (0, l.toDisplayString)((0, l.unref)(i)("pptx.chart.userShapeAddIntoGroup")), 9, vC)) : (0, l.createCommentVNode)("", !0),
|
|
16096
16096
|
(0, l.createElementVNode)("button", {
|
|
16097
16097
|
type: "button",
|
|
16098
16098
|
class: "rounded bg-muted hover:bg-accent px-2 py-1 text-[11px] transition-colors",
|
|
@@ -16103,9 +16103,9 @@ var Ry = {
|
|
|
16103
16103
|
return;
|
|
16104
16104
|
var n;
|
|
16105
16105
|
}
|
|
16106
|
-
}, " ✕ ", 8,
|
|
16106
|
+
}, " ✕ ", 8, gC)
|
|
16107
16107
|
]),
|
|
16108
|
-
t.editableVisuals ? ((0, l.openBlock)(), (0, l.createElementBlock)("div",
|
|
16108
|
+
t.editableVisuals ? ((0, l.openBlock)(), (0, l.createElementBlock)("div", fC, [(0, l.createElementVNode)("span", xC, (0, l.toDisplayString)((0, l.unref)(i)("pptx.chart.userShapeText")), 1), (0, l.createElementVNode)("input", {
|
|
16109
16109
|
type: "text",
|
|
16110
16110
|
"aria-label": (0, l.unref)(i)("pptx.chart.userShapeText"),
|
|
16111
16111
|
class: "flex-1 bg-muted border border-border rounded px-1.5 py-0.5 w-full",
|
|
@@ -16115,23 +16115,23 @@ var Ry = {
|
|
|
16115
16115
|
return;
|
|
16116
16116
|
var n, l;
|
|
16117
16117
|
}
|
|
16118
|
-
}, null, 40,
|
|
16119
|
-
t.editableVisuals ? ((0, l.openBlock)(), (0, l.createElementBlock)("div",
|
|
16118
|
+
}, null, 40, yC)])) : (0, l.createCommentVNode)("", !0),
|
|
16119
|
+
t.editableVisuals ? ((0, l.openBlock)(), (0, l.createElementBlock)("div", hC, [(0, l.createElementVNode)("label", bC, [(0, l.createElementVNode)("span", kC, (0, l.toDisplayString)((0, l.unref)(i)("pptx.chart.userShapeFill")), 1), (0, l.createElementVNode)("input", {
|
|
16120
16120
|
type: "color",
|
|
16121
16121
|
"aria-label": (0, l.unref)(i)("pptx.chart.userShapeFill"),
|
|
16122
16122
|
value: t.fill ?? "#ffffff",
|
|
16123
16123
|
onChange: (e) => function(e, t) {
|
|
16124
16124
|
p(e.path, { fill: t.target.value });
|
|
16125
16125
|
}(t, e)
|
|
16126
|
-
}, null, 40,
|
|
16126
|
+
}, null, 40, SC)]), (0, l.createElementVNode)("label", EC, [(0, l.createElementVNode)("span", wC, (0, l.toDisplayString)((0, l.unref)(i)("pptx.chart.userShapeStroke")), 1), (0, l.createElementVNode)("input", {
|
|
16127
16127
|
type: "color",
|
|
16128
16128
|
"aria-label": (0, l.unref)(i)("pptx.chart.userShapeStroke"),
|
|
16129
16129
|
value: t.stroke ?? "#000000",
|
|
16130
16130
|
onChange: (e) => function(e, t) {
|
|
16131
16131
|
p(e.path, { stroke: t.target.value });
|
|
16132
16132
|
}(t, e)
|
|
16133
|
-
}, null, 40,
|
|
16134
|
-
t.editableAltText ? ((0, l.openBlock)(), (0, l.createElementBlock)("div",
|
|
16133
|
+
}, null, 40, CC)])])) : (0, l.createCommentVNode)("", !0),
|
|
16134
|
+
t.editableAltText ? ((0, l.openBlock)(), (0, l.createElementBlock)("div", BC, [(0, l.createElementVNode)("span", NC, (0, l.toDisplayString)((0, l.unref)(i)("pptx.chart.userShapeAltText")), 1), (0, l.createElementVNode)("input", {
|
|
16135
16135
|
type: "text",
|
|
16136
16136
|
"aria-label": (0, l.unref)(i)("pptx.chart.userShapeAltText"),
|
|
16137
16137
|
class: "flex-1 bg-muted border border-border rounded px-1.5 py-0.5 w-full",
|
|
@@ -16139,8 +16139,8 @@ var Ry = {
|
|
|
16139
16139
|
onChange: (e) => function(e, t) {
|
|
16140
16140
|
p(e.path, { altText: t.target.value });
|
|
16141
16141
|
}(t, e)
|
|
16142
|
-
}, null, 40,
|
|
16143
|
-
(0, l.createVNode)(
|
|
16142
|
+
}, null, 40, VC)])) : (0, l.createCommentVNode)("", !0),
|
|
16143
|
+
(0, l.createVNode)(lC, {
|
|
16144
16144
|
row: t,
|
|
16145
16145
|
"user-shapes": e.chartData.userShapes,
|
|
16146
16146
|
onPatch: p,
|
|
@@ -16148,17 +16148,17 @@ var Ry = {
|
|
|
16148
16148
|
onRotationPatch: m,
|
|
16149
16149
|
onFlipPatch: v
|
|
16150
16150
|
}, null, 8, ["row", "user-shapes"])
|
|
16151
|
-
], 12,
|
|
16151
|
+
], 12, pC);
|
|
16152
16152
|
var n;
|
|
16153
16153
|
}), 128))]))]));
|
|
16154
16154
|
}
|
|
16155
|
-
}),
|
|
16155
|
+
}), FC = { class: "pptx-vue-chart-panel flex flex-col gap-3 p-3 text-xs" }, PC = {
|
|
16156
16156
|
key: 0,
|
|
16157
16157
|
class: "pptx-vue-chart-muted text-muted-foreground italic"
|
|
16158
|
-
},
|
|
16158
|
+
}, DC = {
|
|
16159
16159
|
key: 1,
|
|
16160
16160
|
class: "pptx-vue-chart-muted text-muted-foreground italic"
|
|
16161
|
-
},
|
|
16161
|
+
}, IC = ["value", "placeholder"], _C = ["aria-label", "value"], AC = ["value"], zC = ["aria-label", "value"], MC = ["value"], OC = "pptx-vue-chart-field flex flex-col gap-1", RC = "pptx-vue-chart-label font-semibold text-muted-foreground", LC = "w-full bg-muted border border-border rounded px-2 py-1 max-md:min-h-[44px] focus:outline-none focus:border-ring focus:ring-2 focus:ring-ring/20", UC = (0, l.defineComponent)({
|
|
16162
16162
|
__name: "ChartPanel",
|
|
16163
16163
|
props: {
|
|
16164
16164
|
element: {},
|
|
@@ -16180,47 +16180,47 @@ var Ry = {
|
|
|
16180
16180
|
i("update", { chartData: e });
|
|
16181
16181
|
}
|
|
16182
16182
|
const k = (0, l.inject)(e.ViewerOptionsKey, void 0), S = (0, l.computed)(() => k?.value.advanced.chartPropertiesFollowDataPoint ?? !0), E = e.useChartEditing(d, p, b);
|
|
16183
|
-
function
|
|
16183
|
+
function w(e) {
|
|
16184
16184
|
E.patchChartData({ chartType: e.target.value });
|
|
16185
16185
|
}
|
|
16186
|
-
function
|
|
16186
|
+
function C(e) {
|
|
16187
16187
|
E.patchChartData((0, a.collapseChartTitleRunsForEdit)(p.value ?? void 0, e.target.value));
|
|
16188
16188
|
}
|
|
16189
16189
|
function B(e) {
|
|
16190
16190
|
E.patchChartData({ grouping: e.target.value });
|
|
16191
16191
|
}
|
|
16192
|
-
return (e, t) => ((0, l.openBlock)(), (0, l.createElementBlock)("div",
|
|
16193
|
-
(0, l.createElementVNode)("label", { class: (0, l.normalizeClass)(
|
|
16194
|
-
class: (0, l.normalizeClass)(["pptx-vue-chart-input",
|
|
16192
|
+
return (e, t) => ((0, l.openBlock)(), (0, l.createElementBlock)("div", FC, [c.value ? p.value ? ((0, l.openBlock)(), (0, l.createElementBlock)(l.Fragment, { key: 2 }, [
|
|
16193
|
+
(0, l.createElementVNode)("label", { class: (0, l.normalizeClass)(OC) }, [(0, l.createElementVNode)("span", { class: (0, l.normalizeClass)(RC) }, (0, l.toDisplayString)((0, l.unref)(s)("pptx.chart.title")), 1), (0, l.createElementVNode)("input", {
|
|
16194
|
+
class: (0, l.normalizeClass)(["pptx-vue-chart-input", LC]),
|
|
16195
16195
|
"data-testid": "chart-title",
|
|
16196
16196
|
type: "text",
|
|
16197
16197
|
value: g.value,
|
|
16198
16198
|
placeholder: (0, l.unref)(s)("pptx.chart.titlePlaceholder"),
|
|
16199
|
-
onInput:
|
|
16200
|
-
}, null, 42,
|
|
16201
|
-
(0, l.createElementVNode)("label", { class: (0, l.normalizeClass)(
|
|
16199
|
+
onInput: C
|
|
16200
|
+
}, null, 42, IC)]),
|
|
16201
|
+
(0, l.createElementVNode)("label", { class: (0, l.normalizeClass)(OC) }, [(0, l.createElementVNode)("span", { class: (0, l.normalizeClass)(RC) }, (0, l.toDisplayString)((0, l.unref)(s)("pptx.chart.type")), 1), (0, l.createElementVNode)("pptx-ui-select", {
|
|
16202
16202
|
"aria-label": (0, l.unref)(s)("pptx.chart.type"),
|
|
16203
|
-
class: (0, l.normalizeClass)(["pptx-vue-chart-select",
|
|
16203
|
+
class: (0, l.normalizeClass)(["pptx-vue-chart-select", LC]),
|
|
16204
16204
|
"data-testid": "chart-type",
|
|
16205
16205
|
value: v.value,
|
|
16206
|
-
onChange:
|
|
16206
|
+
onChange: w
|
|
16207
16207
|
}, [((0, l.openBlock)(!0), (0, l.createElementBlock)(l.Fragment, null, (0, l.renderList)((0, l.unref)(a.CHART_TYPE_OPTIONS), (e) => ((0, l.openBlock)(), (0, l.createElementBlock)("option", {
|
|
16208
16208
|
key: e.value,
|
|
16209
16209
|
value: e.value
|
|
16210
|
-
}, (0, l.toDisplayString)((0, l.unref)(s)(e.labelKey)), 9,
|
|
16210
|
+
}, (0, l.toDisplayString)((0, l.unref)(s)(e.labelKey)), 9, AC))), 128))], 42, _C)]),
|
|
16211
16211
|
x.value ? ((0, l.openBlock)(), (0, l.createElementBlock)("label", {
|
|
16212
16212
|
key: 0,
|
|
16213
|
-
class: (0, l.normalizeClass)(
|
|
16214
|
-
}, [(0, l.createElementVNode)("span", { class: (0, l.normalizeClass)(
|
|
16213
|
+
class: (0, l.normalizeClass)(OC)
|
|
16214
|
+
}, [(0, l.createElementVNode)("span", { class: (0, l.normalizeClass)(RC) }, (0, l.toDisplayString)((0, l.unref)(s)("pptx.chart.grouping")), 1), (0, l.createElementVNode)("pptx-ui-select", {
|
|
16215
16215
|
"aria-label": (0, l.unref)(s)("pptx.chart.grouping"),
|
|
16216
|
-
class: (0, l.normalizeClass)(["pptx-vue-chart-select",
|
|
16216
|
+
class: (0, l.normalizeClass)(["pptx-vue-chart-select", LC]),
|
|
16217
16217
|
"data-testid": "chart-grouping",
|
|
16218
16218
|
value: f.value,
|
|
16219
16219
|
onChange: B
|
|
16220
16220
|
}, [((0, l.openBlock)(!0), (0, l.createElementBlock)(l.Fragment, null, (0, l.renderList)((0, l.unref)(a.GROUPING_OPTIONS), (e) => ((0, l.openBlock)(), (0, l.createElementBlock)("option", {
|
|
16221
16221
|
key: e.value,
|
|
16222
16222
|
value: e.value
|
|
16223
|
-
}, (0, l.toDisplayString)((0, l.unref)(s)(e.labelKey)), 9,
|
|
16223
|
+
}, (0, l.toDisplayString)((0, l.unref)(s)(e.labelKey)), 9, MC))), 128))], 42, zC)])) : (0, l.createCommentVNode)("", !0),
|
|
16224
16224
|
(0, l.createVNode)(iE, {
|
|
16225
16225
|
"chart-data": p.value,
|
|
16226
16226
|
onUpdate: (0, l.unref)(E).updateStyle,
|
|
@@ -16230,7 +16230,7 @@ var Ry = {
|
|
|
16230
16230
|
"onUpdate",
|
|
16231
16231
|
"onUpdateChartData"
|
|
16232
16232
|
]),
|
|
16233
|
-
(0, l.createVNode)(
|
|
16233
|
+
(0, l.createVNode)(uw, {
|
|
16234
16234
|
"chart-data": p.value,
|
|
16235
16235
|
onUpdateChartData: (0, l.unref)(E).patchChartData
|
|
16236
16236
|
}, null, 8, ["chart-data", "onUpdateChartData"]),
|
|
@@ -16286,7 +16286,7 @@ var Ry = {
|
|
|
16286
16286
|
"onSetPointExplosion",
|
|
16287
16287
|
"onSetPointLabel"
|
|
16288
16288
|
]),
|
|
16289
|
-
(0, l.createVNode)(
|
|
16289
|
+
(0, l.createVNode)(CS, {
|
|
16290
16290
|
"chart-type": p.value.chartType,
|
|
16291
16291
|
categories: m.value,
|
|
16292
16292
|
series: u.value,
|
|
@@ -16297,7 +16297,7 @@ var Ry = {
|
|
|
16297
16297
|
"series",
|
|
16298
16298
|
"onSetPointMarker"
|
|
16299
16299
|
]),
|
|
16300
|
-
(0, l.createVNode)(
|
|
16300
|
+
(0, l.createVNode)(Cw, {
|
|
16301
16301
|
"chart-type": p.value.chartType,
|
|
16302
16302
|
series: u.value,
|
|
16303
16303
|
onSetTrendline: (0, l.unref)(E).setSeriesTrendline
|
|
@@ -16337,7 +16337,7 @@ var Ry = {
|
|
|
16337
16337
|
"onRestoreSeries",
|
|
16338
16338
|
"onSetDataLabelsRangeCache"
|
|
16339
16339
|
]),
|
|
16340
|
-
(0, l.createVNode)(
|
|
16340
|
+
(0, l.createVNode)(TC, {
|
|
16341
16341
|
"chart-data": p.value,
|
|
16342
16342
|
onUpdateChartData: (0, l.unref)(E).patchChartData
|
|
16343
16343
|
}, null, 8, ["chart-data", "onUpdateChartData"]),
|
|
@@ -16353,14 +16353,14 @@ var Ry = {
|
|
|
16353
16353
|
"follow-data-point",
|
|
16354
16354
|
"highlight-cell"
|
|
16355
16355
|
])
|
|
16356
|
-
], 64)) : ((0, l.openBlock)(), (0, l.createElementBlock)("p",
|
|
16356
|
+
], 64)) : ((0, l.openBlock)(), (0, l.createElementBlock)("p", DC, (0, l.toDisplayString)((0, l.unref)(s)("pptx.chart.noEditableData")), 1)) : ((0, l.openBlock)(), (0, l.createElementBlock)("p", PC, (0, l.toDisplayString)((0, l.unref)(s)("pptx.chart.selectPrompt")), 1))]));
|
|
16357
16357
|
}
|
|
16358
|
-
}),
|
|
16358
|
+
}), HC = { class: "pptx-vue-connector-arrows grid grid-cols-2 gap-2" }, GC = { class: "pptx-vue-connector-arrow-label text-muted-foreground" }, KC = [
|
|
16359
16359
|
"aria-label",
|
|
16360
16360
|
"value",
|
|
16361
16361
|
"disabled",
|
|
16362
16362
|
"onChange"
|
|
16363
|
-
], $
|
|
16363
|
+
], $C = ["value"], jC = (0, l.defineComponent)({
|
|
16364
16364
|
__name: "ConnectorArrowsPanel",
|
|
16365
16365
|
props: {
|
|
16366
16366
|
element: {},
|
|
@@ -16375,10 +16375,10 @@ var Ry = {
|
|
|
16375
16375
|
function u(e) {
|
|
16376
16376
|
return (0, a.connectorArrowValue)(e, d.value);
|
|
16377
16377
|
}
|
|
16378
|
-
return (e, t) => ((0, l.openBlock)(), (0, l.createElementBlock)("div",
|
|
16378
|
+
return (e, t) => ((0, l.openBlock)(), (0, l.createElementBlock)("div", HC, [((0, l.openBlock)(!0), (0, l.createElementBlock)(l.Fragment, null, (0, l.renderList)((0, l.unref)(c), (e) => ((0, l.openBlock)(), (0, l.createElementBlock)("label", {
|
|
16379
16379
|
key: e.styleKey,
|
|
16380
16380
|
class: "pptx-vue-connector-arrow-field flex flex-col gap-1"
|
|
16381
|
-
}, [(0, l.createElementVNode)("span",
|
|
16381
|
+
}, [(0, l.createElementVNode)("span", GC, (0, l.toDisplayString)((0, l.unref)(s)(e.labelKey)), 1), (0, l.createElementVNode)("pptx-ui-select", {
|
|
16382
16382
|
"aria-label": (0, l.unref)(s)(e.labelKey),
|
|
16383
16383
|
class: "pptx-vue-connector-arrow-input w-full bg-muted border border-border rounded px-1.5 py-0.5",
|
|
16384
16384
|
value: u(e),
|
|
@@ -16396,17 +16396,17 @@ var Ry = {
|
|
|
16396
16396
|
value: t
|
|
16397
16397
|
}, (0, l.toDisplayString)(function(e, t) {
|
|
16398
16398
|
return (0, a.schemaLabel)(e.optionLabelKeys, t, s);
|
|
16399
|
-
}(e, t)), 9, $
|
|
16399
|
+
}(e, t)), 9, $C))), 128))], 40, KC)]))), 128))]));
|
|
16400
16400
|
}
|
|
16401
|
-
}),
|
|
16402
|
-
function
|
|
16403
|
-
return (0, l.inject)(
|
|
16401
|
+
}), WC = Symbol("pptx-vue-inspector-preview");
|
|
16402
|
+
function qC() {
|
|
16403
|
+
return (0, l.inject)(WC, void 0);
|
|
16404
16404
|
}
|
|
16405
|
-
var
|
|
16405
|
+
var YC = { class: "pptx-vue-quickstyles flex flex-col gap-1" }, XC = { class: "pptx-vue-quickstyles-label text-muted-foreground" }, ZC = [
|
|
16406
16406
|
".descriptor",
|
|
16407
16407
|
".translateLabel",
|
|
16408
16408
|
".disabled"
|
|
16409
|
-
],
|
|
16409
|
+
], QC = (0, l.defineComponent)({
|
|
16410
16410
|
__name: "QuickStylesGallery",
|
|
16411
16411
|
props: { disabled: { type: Boolean } },
|
|
16412
16412
|
emits: ["select"],
|
|
@@ -16416,16 +16416,16 @@ var Yw = { class: "pptx-vue-quickstyles flex flex-col gap-1" }, Xw = { class: "p
|
|
|
16416
16416
|
const t = (0, a.quickStyleShapeStyle)(e.detail.itemId);
|
|
16417
16417
|
t && r("select", t);
|
|
16418
16418
|
}
|
|
16419
|
-
return (e, t) => ((0, l.openBlock)(), (0, l.createElementBlock)("div",
|
|
16419
|
+
return (e, t) => ((0, l.openBlock)(), (0, l.createElementBlock)("div", YC, [(0, l.createElementVNode)("span", XC, (0, l.toDisplayString)((0, l.unref)(i)("pptx.shape.quickStyles")), 1), (0, l.createElementVNode)("pptx-ui-ribbon-gallery", {
|
|
16420
16420
|
mode: "panel",
|
|
16421
16421
|
compact: "",
|
|
16422
16422
|
".descriptor": c.value,
|
|
16423
16423
|
".translateLabel": d.value,
|
|
16424
16424
|
".disabled": o.disabled,
|
|
16425
16425
|
onGalleryPick: p
|
|
16426
|
-
}, null, 40,
|
|
16426
|
+
}, null, 40, ZC)]));
|
|
16427
16427
|
}
|
|
16428
|
-
}),
|
|
16428
|
+
}), JC = { class: "pptx-vue-effects flex flex-col gap-3 text-xs" }, eB = { class: "pptx-vue-effects-field flex flex-col gap-1" }, tB = { class: "pptx-vue-effects-label text-muted-foreground" }, nB = ["value"], oB = {
|
|
16429
16429
|
key: 1,
|
|
16430
16430
|
class: "pptx-vue-effects-note text-muted-foreground italic"
|
|
16431
16431
|
}, aB = (0, l.defineComponent)({
|
|
@@ -16443,7 +16443,7 @@ var Yw = { class: "pptx-vue-quickstyles flex flex-col gap-1" }, Xw = { class: "p
|
|
|
16443
16443
|
function p(e) {
|
|
16444
16444
|
i("update", (0, a.shapeQuickStylePatch)(r.element, e));
|
|
16445
16445
|
}
|
|
16446
|
-
const u =
|
|
16446
|
+
const u = qC();
|
|
16447
16447
|
function m(t) {
|
|
16448
16448
|
const n = u?.element(t);
|
|
16449
16449
|
return n && (0, e.dist_exports.hasShapeProperties)(n) ? n.shapeStyle : void 0;
|
|
@@ -16456,7 +16456,7 @@ var Yw = { class: "pptx-vue-quickstyles flex flex-col gap-1" }, Xw = { class: "p
|
|
|
16456
16456
|
i("update", (0, a.shapeQuickStylePatch)(r.element, e));
|
|
16457
16457
|
}
|
|
16458
16458
|
const f = (0, l.computed)(() => Math.round(100 * (r.element.opacity ?? 1)));
|
|
16459
|
-
return (e, t) => ((0, l.openBlock)(), (0, l.createElementBlock)("div",
|
|
16459
|
+
return (e, t) => ((0, l.openBlock)(), (0, l.createElementBlock)("div", JC, [(0, l.createElementVNode)("label", eB, [(0, l.createElementVNode)("span", tB, (0, l.toDisplayString)((0, l.unref)(s)("pptx.effects.opacityPercent", { value: f.value })), 1), (0, l.createElementVNode)("input", {
|
|
16460
16460
|
type: "range",
|
|
16461
16461
|
class: "pptx-vue-effects-range w-full accent-primary",
|
|
16462
16462
|
min: "0",
|
|
@@ -16466,7 +16466,7 @@ var Yw = { class: "pptx-vue-quickstyles flex flex-col gap-1" }, Xw = { class: "p
|
|
|
16466
16466
|
const t = Number(e);
|
|
16467
16467
|
Number.isFinite(t) && i("update", { opacity: Math.max(0, Math.min(100, t)) / 100 });
|
|
16468
16468
|
}(e.target.value))
|
|
16469
|
-
}, null, 40, nB)]), c.value ? ((0, l.openBlock)(), (0, l.createElementBlock)(l.Fragment, { key: 0 }, [(0, l.createVNode)(
|
|
16469
|
+
}, null, 40, nB)]), c.value ? ((0, l.openBlock)(), (0, l.createElementBlock)(l.Fragment, { key: 0 }, [(0, l.createVNode)(QC, {
|
|
16470
16470
|
disabled: !r.canEdit,
|
|
16471
16471
|
onSelect: g
|
|
16472
16472
|
}, null, 8, ["disabled"]), (0, l.createVNode)(Nb, {
|
|
@@ -16484,7 +16484,7 @@ var Yw = { class: "pptx-vue-quickstyles flex flex-col gap-1" }, Xw = { class: "p
|
|
|
16484
16484
|
}
|
|
16485
16485
|
});
|
|
16486
16486
|
function lB(e) {
|
|
16487
|
-
const t =
|
|
16487
|
+
const t = qC(), n = no(), o = (0, a.createLiveColorInput)({
|
|
16488
16488
|
read: () => {
|
|
16489
16489
|
const n = e.element(), o = t?.element(n.id) ?? n;
|
|
16490
16490
|
return {
|
|
@@ -16577,7 +16577,7 @@ var rB = [
|
|
|
16577
16577
|
}, yB = { class: "pptx-vue-gradient-label text-muted-foreground" }, hB = { class: "flex items-center gap-2" }, bB = ["value"], kB = ["value"], SB = { class: "pptx-vue-gradient-stops-heading uppercase tracking-wide text-muted-foreground" }, EB = {
|
|
16578
16578
|
"data-testid": "fx-gradient-stop-row",
|
|
16579
16579
|
class: "pptx-vue-gradient-stop-row flex items-center gap-1"
|
|
16580
|
-
},
|
|
16580
|
+
}, wB = { class: "pptx-vue-gradient-stop-idx w-3 text-center text-muted-foreground" }, CB = ["value", "onInput"], BB = [
|
|
16581
16581
|
"aria-label",
|
|
16582
16582
|
"value",
|
|
16583
16583
|
"onChange"
|
|
@@ -16645,7 +16645,7 @@ var rB = [
|
|
|
16645
16645
|
key: n,
|
|
16646
16646
|
class: "pptx-vue-gradient-stop-block"
|
|
16647
16647
|
}, [(0, l.createElementVNode)("div", EB, [
|
|
16648
|
-
(0, l.createElementVNode)("span",
|
|
16648
|
+
(0, l.createElementVNode)("span", wB, (0, l.toDisplayString)(n + 1), 1),
|
|
16649
16649
|
(0, l.createElementVNode)("input", {
|
|
16650
16650
|
type: "color",
|
|
16651
16651
|
class: "pptx-vue-gradient-color h-6 w-8 cursor-pointer rounded border border-border",
|
|
@@ -16661,7 +16661,7 @@ var rB = [
|
|
|
16661
16661
|
return;
|
|
16662
16662
|
var t;
|
|
16663
16663
|
})
|
|
16664
|
-
}, null, 40,
|
|
16664
|
+
}, null, 40, CB),
|
|
16665
16665
|
(0, l.createElementVNode)("input", {
|
|
16666
16666
|
type: "number",
|
|
16667
16667
|
class: "pptx-vue-gradient-input w-14 rounded border border-border bg-muted px-1.5 py-0.5",
|
|
@@ -16977,7 +16977,7 @@ var mN = { class: "pptx-vue-artistic flex flex-col gap-1 text-[11px]" }, vN = {
|
|
|
16977
16977
|
onChange: s
|
|
16978
16978
|
}, null, 40, hN));
|
|
16979
16979
|
}
|
|
16980
|
-
}), kN = { class: "pptx-vue-color-change flex flex-col gap-1 text-[11px]" }, SN = { class: "flex items-center justify-between gap-2" }, EN = { class: "font-semibold text-muted-foreground" },
|
|
16980
|
+
}), kN = { class: "pptx-vue-color-change flex flex-col gap-1 text-[11px]" }, SN = { class: "flex items-center justify-between gap-2" }, EN = { class: "font-semibold text-muted-foreground" }, wN = ["checked"], CN = {
|
|
16981
16981
|
key: 0,
|
|
16982
16982
|
class: "grid grid-cols-2 gap-1.5"
|
|
16983
16983
|
}, BN = { class: "flex items-center gap-2" }, NN = { class: "text-muted-foreground" }, VN = { class: "flex items-center gap-2" }, TN = { class: "text-muted-foreground" }, FN = { class: "col-span-2 flex items-center justify-between gap-2" }, PN = { class: "text-muted-foreground" }, DN = ["checked"], IN = (0, l.defineComponent)({
|
|
@@ -17016,7 +17016,7 @@ var mN = { class: "pptx-vue-artistic flex flex-col gap-1 text-[11px]" }, vN = {
|
|
|
17016
17016
|
return (e, t) => ((0, l.openBlock)(), (0, l.createElementBlock)("div", kN, [(0, l.createElementVNode)("label", SN, [(0, l.createElementVNode)("span", EN, (0, l.toDisplayString)((0, l.unref)(i)("pptx.image.colorChange")), 1), (0, l.createElementVNode)("pptx-ui-checkbox", {
|
|
17017
17017
|
checked: Boolean(s.value),
|
|
17018
17018
|
onChange: m
|
|
17019
|
-
}, null, 40,
|
|
17019
|
+
}, null, 40, wN)]), s.value ? ((0, l.openBlock)(), (0, l.createElementBlock)("div", CN, [
|
|
17020
17020
|
(0, l.createElementVNode)("label", BN, [(0, l.createElementVNode)("span", NN, (0, l.toDisplayString)((0, l.unref)(i)("pptx.image.colorChangeFrom")), 1), (0, l.createVNode)(bN, {
|
|
17021
17021
|
value: c.value,
|
|
17022
17022
|
"aria-label": (0, l.unref)(i)("pptx.image.recolourFromAria"),
|
|
@@ -17135,7 +17135,7 @@ var mN = { class: "pptx-vue-artistic flex flex-col gap-1 text-[11px]" }, vN = {
|
|
|
17135
17135
|
}, (0, l.toDisplayString)((0, l.unref)(i)("pptx.image.duotoneClear")), 1)) : (0, l.createCommentVNode)("", !0)
|
|
17136
17136
|
]));
|
|
17137
17137
|
}
|
|
17138
|
-
}), lV = { class: "pptx-vue-image-adjust flex flex-col gap-2 text-[11px]" }, rV = { class: "pptx-vue-image-adjust__slider grid grid-cols-[72px_1fr_36px] items-center gap-2" }, iV = { class: "text-muted-foreground" }, sV = ["value"], cV = { class: "text-right tabular-nums text-muted-foreground" }, dV = { class: "pptx-vue-image-adjust__slider grid grid-cols-[72px_1fr_36px] items-center gap-2" }, pV = { class: "text-muted-foreground" }, uV = ["value"], mV = { class: "text-right tabular-nums text-muted-foreground" }, vV = { class: "pptx-vue-image-adjust__slider grid grid-cols-[72px_1fr_36px] items-center gap-2" }, gV = { class: "text-muted-foreground" }, fV = ["value"], xV = { class: "text-right tabular-nums text-muted-foreground" }, yV = { class: "pptx-vue-image-adjust__head flex items-center justify-between pt-1" }, hV = { class: "font-semibold text-muted-foreground" }, bV = { class: "pptx-vue-image-adjust__slider grid grid-cols-[72px_1fr_36px] items-center gap-2" }, kV = { class: "text-muted-foreground" }, SV = ["value"], EV = { class: "text-right tabular-nums text-muted-foreground" },
|
|
17138
|
+
}), lV = { class: "pptx-vue-image-adjust flex flex-col gap-2 text-[11px]" }, rV = { class: "pptx-vue-image-adjust__slider grid grid-cols-[72px_1fr_36px] items-center gap-2" }, iV = { class: "text-muted-foreground" }, sV = ["value"], cV = { class: "text-right tabular-nums text-muted-foreground" }, dV = { class: "pptx-vue-image-adjust__slider grid grid-cols-[72px_1fr_36px] items-center gap-2" }, pV = { class: "text-muted-foreground" }, uV = ["value"], mV = { class: "text-right tabular-nums text-muted-foreground" }, vV = { class: "pptx-vue-image-adjust__slider grid grid-cols-[72px_1fr_36px] items-center gap-2" }, gV = { class: "text-muted-foreground" }, fV = ["value"], xV = { class: "text-right tabular-nums text-muted-foreground" }, yV = { class: "pptx-vue-image-adjust__head flex items-center justify-between pt-1" }, hV = { class: "font-semibold text-muted-foreground" }, bV = { class: "pptx-vue-image-adjust__slider grid grid-cols-[72px_1fr_36px] items-center gap-2" }, kV = { class: "text-muted-foreground" }, SV = ["value"], EV = { class: "text-right tabular-nums text-muted-foreground" }, wV = { class: "pptx-vue-image-adjust__slider grid grid-cols-[72px_1fr_36px] items-center gap-2" }, CV = { class: "text-muted-foreground" }, BV = ["value"], NV = { class: "text-right tabular-nums text-muted-foreground" }, VV = (0, l.defineComponent)({
|
|
17139
17139
|
__name: "ImageAdjustmentsPanel",
|
|
17140
17140
|
props: { fx: {} },
|
|
17141
17141
|
emits: ["update"],
|
|
@@ -17224,8 +17224,8 @@ var mN = { class: "pptx-vue-artistic flex flex-col gap-1 text-[11px]" }, vN = {
|
|
|
17224
17224
|
}, null, 40, SV),
|
|
17225
17225
|
(0, l.createElementVNode)("span", EV, (0, l.toDisplayString)(d.value) + "%", 1)
|
|
17226
17226
|
]),
|
|
17227
|
-
(0, l.createElementVNode)("label",
|
|
17228
|
-
(0, l.createElementVNode)("span",
|
|
17227
|
+
(0, l.createElementVNode)("label", wV, [
|
|
17228
|
+
(0, l.createElementVNode)("span", CV, (0, l.toDisplayString)((0, l.unref)(r)("pptx.imageAdjustments.biLevelThreshold")), 1),
|
|
17229
17229
|
(0, l.createElementVNode)("input", {
|
|
17230
17230
|
type: "range",
|
|
17231
17231
|
class: "w-full accent-primary",
|
|
@@ -17538,7 +17538,7 @@ var tT = {
|
|
|
17538
17538
|
"aria-label",
|
|
17539
17539
|
"disabled",
|
|
17540
17540
|
"value"
|
|
17541
|
-
], ST = { value: "onClick" }, ET = { value: "auto" },
|
|
17541
|
+
], ST = { value: "onClick" }, ET = { value: "auto" }, wT = ["disabled", "checked"], CT = ["disabled", "checked"], BT = ["disabled", "checked"], NT = "flex items-center justify-between gap-2", VT = "text-[11px] text-muted-foreground", TT = "flex-1 bg-muted border border-border rounded px-1.5 py-0.5 w-full text-[11px]", PT = (0, l.defineComponent)({
|
|
17542
17542
|
__name: "MediaPlaybackOptions",
|
|
17543
17543
|
props: {
|
|
17544
17544
|
element: {},
|
|
@@ -17649,12 +17649,12 @@ var tT = {
|
|
|
17649
17649
|
disabled: !e.canEdit,
|
|
17650
17650
|
checked: Boolean(e.element.playAcrossSlides),
|
|
17651
17651
|
onChange: b
|
|
17652
|
-
}, null, 40,
|
|
17652
|
+
}, null, 40, wT)])) : (0, l.createCommentVNode)("", !0),
|
|
17653
17653
|
(0, l.createElementVNode)("label", { class: (0, l.normalizeClass)(NT) }, [(0, l.createElementVNode)("span", { class: (0, l.normalizeClass)(VT) }, (0, l.toDisplayString)((0, l.unref)(r)("pptx.media.fullScreen")), 1), (0, l.createElementVNode)("pptx-ui-checkbox", {
|
|
17654
17654
|
disabled: !e.canEdit,
|
|
17655
17655
|
checked: Boolean(e.element.fullScreen),
|
|
17656
17656
|
onChange: k
|
|
17657
|
-
}, null, 40,
|
|
17657
|
+
}, null, 40, CT)]),
|
|
17658
17658
|
(0, l.createElementVNode)("label", { class: (0, l.normalizeClass)(NT) }, [(0, l.createElementVNode)("span", { class: (0, l.normalizeClass)(VT) }, (0, l.toDisplayString)((0, l.unref)(r)("pptx.media.hideWhenNotPlaying")), 1), (0, l.createElementVNode)("pptx-ui-checkbox", {
|
|
17659
17659
|
disabled: !e.canEdit,
|
|
17660
17660
|
checked: Boolean(e.element.hideWhenNotPlaying),
|
|
@@ -17776,11 +17776,11 @@ var tT = {
|
|
|
17776
17776
|
trimEndMs: b.value
|
|
17777
17777
|
}, c.value)), E = (0, l.computed)(() => function(e, t, n) {
|
|
17778
17778
|
return XV((0, a.trimmedMediaDurationMs)(e, t, n));
|
|
17779
|
-
}(h.value, b.value, y.value)),
|
|
17779
|
+
}(h.value, b.value, y.value)), w = (0, l.computed)(() => function(e, t, n) {
|
|
17780
17780
|
const o = (0, a.validateMediaTrimRange)(e, t, n);
|
|
17781
17781
|
return o ? QV[o] : null;
|
|
17782
17782
|
}(h.value, b.value, y.value));
|
|
17783
|
-
function
|
|
17783
|
+
function C() {
|
|
17784
17784
|
d.value && (p.value = d.value.currentTime);
|
|
17785
17785
|
}
|
|
17786
17786
|
function B() {
|
|
@@ -17830,7 +17830,7 @@ var tT = {
|
|
|
17830
17830
|
class: "w-full rounded bg-black max-h-32 object-contain",
|
|
17831
17831
|
src: v.value,
|
|
17832
17832
|
preload: "metadata",
|
|
17833
|
-
onTimeupdate:
|
|
17833
|
+
onTimeupdate: C,
|
|
17834
17834
|
onDurationchange: B,
|
|
17835
17835
|
onLoadedmetadata: B,
|
|
17836
17836
|
onPlay: t[0] || (t[0] = (e) => m.value = !0),
|
|
@@ -17843,7 +17843,7 @@ var tT = {
|
|
|
17843
17843
|
class: "w-full",
|
|
17844
17844
|
src: v.value,
|
|
17845
17845
|
preload: "metadata",
|
|
17846
|
-
onTimeupdate:
|
|
17846
|
+
onTimeupdate: C,
|
|
17847
17847
|
onDurationchange: B,
|
|
17848
17848
|
onLoadedmetadata: B,
|
|
17849
17849
|
onPlay: t[3] || (t[3] = (e) => m.value = !0),
|
|
@@ -17892,7 +17892,7 @@ var tT = {
|
|
|
17892
17892
|
onChange: P
|
|
17893
17893
|
}, null, 40, YT)])]),
|
|
17894
17894
|
(0, l.createElementVNode)("div", { class: (0, l.normalizeClass)("flex items-center justify-between gap-2") }, [(0, l.createElementVNode)("span", { class: (0, l.normalizeClass)(eF) }, (0, l.toDisplayString)((0, l.unref)(i)("pptx.media.trimmedDuration")), 1), (0, l.createElementVNode)("span", XT, (0, l.toDisplayString)(E.value), 1)]),
|
|
17895
|
-
|
|
17895
|
+
w.value ? ((0, l.openBlock)(), (0, l.createElementBlock)("div", ZT, (0, l.toDisplayString)(w.value), 1)) : (0, l.createCommentVNode)("", !0),
|
|
17896
17896
|
S.value.visible ? ((0, l.openBlock)(), (0, l.createElementBlock)("button", {
|
|
17897
17897
|
key: 1,
|
|
17898
17898
|
type: "button",
|
|
@@ -18004,10 +18004,10 @@ var tT = {
|
|
|
18004
18004
|
}(t, n, e.value, o)
|
|
18005
18005
|
}, null, 40, bF)]))), 128))]))), 128))])])])) : ((0, l.openBlock)(), (0, l.createElementBlock)("p", xF, (0, l.toDisplayString)((0, l.unref)(r)("pptx.ole.editDialog.emptySheet")), 1));
|
|
18006
18006
|
}
|
|
18007
|
-
}), EF = { class: "flex w-[min(90vw,520px)] flex-col gap-3 text-sm" },
|
|
18007
|
+
}), EF = { class: "flex w-[min(90vw,520px)] flex-col gap-3 text-sm" }, wF = {
|
|
18008
18008
|
key: 0,
|
|
18009
18009
|
class: "text-xs text-muted-foreground"
|
|
18010
|
-
},
|
|
18010
|
+
}, CF = {
|
|
18011
18011
|
key: 1,
|
|
18012
18012
|
class: "text-xs text-destructive"
|
|
18013
18013
|
}, BF = {
|
|
@@ -18106,8 +18106,8 @@ var tT = {
|
|
|
18106
18106
|
onAction: t[0] || (t[0] = (e) => "replace" === e ? f.value?.click() : y())
|
|
18107
18107
|
}, null, 8, ["actions"])]),
|
|
18108
18108
|
default: (0, l.withCtx)(() => [(0, l.createElementVNode)("div", EF, [
|
|
18109
|
-
m.value ? ((0, l.openBlock)(), (0, l.createElementBlock)("p",
|
|
18110
|
-
g.value ? ((0, l.openBlock)(), (0, l.createElementBlock)("p",
|
|
18109
|
+
m.value ? ((0, l.openBlock)(), (0, l.createElementBlock)("p", wF, (0, l.toDisplayString)((0, l.unref)(s)("pptx.ole.editDialog.loading")), 1)) : (0, l.createCommentVNode)("", !0),
|
|
18110
|
+
g.value ? ((0, l.openBlock)(), (0, l.createElementBlock)("p", CF, (0, l.toDisplayString)((0, l.unref)(s)("pptx.ole.editDialog.saveError")), 1)) : (0, l.createCommentVNode)("", !0),
|
|
18111
18111
|
m.value ? (0, l.createCommentVNode)("", !0) : ((0, l.openBlock)(), (0, l.createElementBlock)(l.Fragment, { key: 2 }, ["sheet" === c.value.contentTab?.kind ? ((0, l.openBlock)(), (0, l.createBlock)(SF, {
|
|
18112
18112
|
key: 0,
|
|
18113
18113
|
grid: d.value,
|
|
@@ -18367,7 +18367,7 @@ var tT = {
|
|
|
18367
18367
|
}, hP = ["aria-label"], bP = { class: "flex items-center justify-between gap-1 mb-1.5" }, kP = { class: "text-[11px] uppercase tracking-wide text-muted-foreground" }, SP = {
|
|
18368
18368
|
key: 0,
|
|
18369
18369
|
class: "flex flex-wrap gap-0.5"
|
|
18370
|
-
}, EP = ["title"],
|
|
18370
|
+
}, EP = ["title"], wP = ["disabled", "title"], CP = ["title"], BP = ["disabled", "title"], NP = { class: "overflow-x-auto" }, VP = {
|
|
18371
18371
|
class: "flex flex-col text-[11px] w-max min-w-full",
|
|
18372
18372
|
role: "grid"
|
|
18373
18373
|
}, TP = {
|
|
@@ -18429,14 +18429,14 @@ var tT = {
|
|
|
18429
18429
|
disabled: !d.value.canRemoveRow,
|
|
18430
18430
|
title: (0, l.unref)(s)("pptx.tableDataEditor.removeRowTitle"),
|
|
18431
18431
|
onClick: t[1] || (t[1] = (e) => u((0, l.unref)(a.removeLastTableElementRow)))
|
|
18432
|
-
}, (0, l.toDisplayString)((0, l.unref)(s)("pptx.tableDataEditor.removeRowLabel")), 13,
|
|
18432
|
+
}, (0, l.toDisplayString)((0, l.unref)(s)("pptx.tableDataEditor.removeRowLabel")), 13, wP),
|
|
18433
18433
|
(0, l.createElementVNode)("button", {
|
|
18434
18434
|
type: "button",
|
|
18435
18435
|
class: (0, l.normalizeClass)(AP),
|
|
18436
18436
|
style: (0, l.normalizeStyle)(x.value),
|
|
18437
18437
|
title: (0, l.unref)(s)("pptx.tableDataEditor.addColumnTitle"),
|
|
18438
18438
|
onClick: t[2] || (t[2] = (e) => u((0, l.unref)(a.appendTableElementColumn)))
|
|
18439
|
-
}, (0, l.toDisplayString)((0, l.unref)(s)("pptx.tableDataEditor.addColumnLabel")), 13,
|
|
18439
|
+
}, (0, l.toDisplayString)((0, l.unref)(s)("pptx.tableDataEditor.addColumnLabel")), 13, CP),
|
|
18440
18440
|
(0, l.createElementVNode)("button", {
|
|
18441
18441
|
type: "button",
|
|
18442
18442
|
class: (0, l.normalizeClass)(AP),
|
|
@@ -18672,7 +18672,7 @@ var tT = {
|
|
|
18672
18672
|
}, null, 40, yD)])), 64))])])
|
|
18673
18673
|
]));
|
|
18674
18674
|
}
|
|
18675
|
-
}), kD = { class: "flex flex-col gap-1" }, SD = { class: "text-[11px] text-muted-foreground" },
|
|
18675
|
+
}), kD = { class: "flex flex-col gap-1" }, SD = { class: "text-[11px] text-muted-foreground" }, wD = (0, l.defineComponent)({
|
|
18676
18676
|
__name: "TableCellColorField",
|
|
18677
18677
|
props: {
|
|
18678
18678
|
label: {},
|
|
@@ -18719,7 +18719,7 @@ var tT = {
|
|
|
18719
18719
|
])
|
|
18720
18720
|
]));
|
|
18721
18721
|
}
|
|
18722
|
-
}),
|
|
18722
|
+
}), CD = {
|
|
18723
18723
|
key: 0,
|
|
18724
18724
|
class: "flex flex-col gap-2"
|
|
18725
18725
|
}, BD = { class: "text-[11px] font-semibold uppercase tracking-wide text-muted-foreground" }, ND = { class: "flex items-center gap-2 text-[11px]" }, VD = { class: "w-14 text-muted-foreground" }, TD = ["disabled", "value"], FD = { class: "grid grid-cols-2 gap-1.5" }, PD = { class: "flex gap-1" }, DD = ["disabled", "onClick"], ID = { class: "flex gap-1" }, _D = ["disabled", "onClick"], AD = { class: "flex gap-1" }, zD = ["disabled", "onClick"], MD = { class: "flex flex-col gap-1.5" }, OD = { class: "text-[11px] text-muted-foreground" }, RD = { class: "grid grid-cols-2 gap-1.5" }, LD = { class: "text-[10px] text-muted-foreground" }, UD = { class: "flex items-center gap-1" }, HD = [
|
|
@@ -18797,7 +18797,7 @@ var tT = {
|
|
|
18797
18797
|
const e = (0, a.computeSplitCell)(o.tableData, o.rowIndex, o.columnIndex);
|
|
18798
18798
|
e && r("update", { rows: e });
|
|
18799
18799
|
}
|
|
18800
|
-
return (t, n) => s.value ? ((0, l.openBlock)(), (0, l.createElementBlock)("div",
|
|
18800
|
+
return (t, n) => s.value ? ((0, l.openBlock)(), (0, l.createElementBlock)("div", CD, [
|
|
18801
18801
|
(0, l.createElementVNode)("div", BD, (0, l.toDisplayString)((0, l.unref)(i)("pptx.table.cell", {
|
|
18802
18802
|
row: e.rowIndex + 1,
|
|
18803
18803
|
col: e.columnIndex + 1
|
|
@@ -18811,7 +18811,7 @@ var tT = {
|
|
|
18811
18811
|
value: (0, l.unref)(a.inspectorNumber)(c.value.fontSize, 14),
|
|
18812
18812
|
onInput: n[0] || (n[0] = (e) => g({ fontSize: Number(e.target.value) }))
|
|
18813
18813
|
}, null, 40, TD)]),
|
|
18814
|
-
(0, l.createElementVNode)("div", FD, [(0, l.createVNode)(
|
|
18814
|
+
(0, l.createElementVNode)("div", FD, [(0, l.createVNode)(wD, {
|
|
18815
18815
|
label: (0, l.unref)(i)("pptx.table.color"),
|
|
18816
18816
|
value: c.value.color,
|
|
18817
18817
|
fallback: "#000000",
|
|
@@ -18828,7 +18828,7 @@ var tT = {
|
|
|
18828
18828
|
"selected-ref",
|
|
18829
18829
|
"disabled",
|
|
18830
18830
|
"aria-label"
|
|
18831
|
-
]), (0, l.createVNode)(
|
|
18831
|
+
]), (0, l.createVNode)(wD, {
|
|
18832
18832
|
label: (0, l.unref)(i)("pptx.table.background"),
|
|
18833
18833
|
value: c.value.backgroundColor,
|
|
18834
18834
|
fallback: "#ffffff",
|
|
@@ -18994,7 +18994,7 @@ var tT = {
|
|
|
18994
18994
|
n[0] || (n[0] = (0, l.createElementVNode)("span", { class: "w-6 text-muted-foreground" }, "px", -1))
|
|
18995
18995
|
]))), 128))])]));
|
|
18996
18996
|
}
|
|
18997
|
-
}), pI = { class: "flex flex-col gap-2" }, uI = { class: "flex flex-col gap-1" }, mI = { class: "text-[11px] uppercase tracking-wide text-muted-foreground" }, vI = { class: "flex items-center gap-2 text-[11px]" }, gI = ["disabled", "value"], fI = { class: "flex items-center gap-1" }, xI = ["disabled", "checked"], yI = { class: "flex flex-col gap-1" }, hI = { class: "text-[11px] uppercase tracking-wide text-muted-foreground" }, bI = { class: "flex gap-1" }, kI = ["disabled", "onClick"], SI = { class: "flex items-center gap-2 text-[11px]" }, EI = ["disabled", "value"],
|
|
18997
|
+
}), pI = { class: "flex flex-col gap-2" }, uI = { class: "flex flex-col gap-1" }, mI = { class: "text-[11px] uppercase tracking-wide text-muted-foreground" }, vI = { class: "flex items-center gap-2 text-[11px]" }, gI = ["disabled", "value"], fI = { class: "flex items-center gap-1" }, xI = ["disabled", "checked"], yI = { class: "flex flex-col gap-1" }, hI = { class: "text-[11px] uppercase tracking-wide text-muted-foreground" }, bI = { class: "flex gap-1" }, kI = ["disabled", "onClick"], SI = { class: "flex items-center gap-2 text-[11px]" }, EI = ["disabled", "value"], wI = { class: "flex flex-col gap-1" }, CI = { class: "text-[11px] uppercase tracking-wide text-muted-foreground" }, BI = { class: "w-28 shrink-0 text-muted-foreground" }, NI = [
|
|
18998
18998
|
"disabled",
|
|
18999
18999
|
"value",
|
|
19000
19000
|
"onChange"
|
|
@@ -19105,7 +19105,7 @@ var tT = {
|
|
|
19105
19105
|
"selected-ref",
|
|
19106
19106
|
"selected-hex"
|
|
19107
19107
|
])
|
|
19108
|
-
]), (0, l.createElementVNode)("div",
|
|
19108
|
+
]), (0, l.createElementVNode)("div", wI, [(0, l.createElementVNode)("div", CI, (0, l.toDisplayString)((0, l.unref)(r)("pptx.tableStyleEditor.bordersSection")), 1), ((0, l.openBlock)(!0), (0, l.createElementBlock)(l.Fragment, null, (0, l.renderList)((0, l.unref)(a.TABLE_STYLE_BORDER_SIDES), (t) => ((0, l.openBlock)(), (0, l.createElementBlock)("div", {
|
|
19109
19109
|
key: t,
|
|
19110
19110
|
class: "flex items-center gap-1.5 text-[11px]"
|
|
19111
19111
|
}, [
|
|
@@ -19400,13 +19400,13 @@ var tT = {
|
|
|
19400
19400
|
const n = c.value;
|
|
19401
19401
|
n && S(e.applyInsertRow(n, x.value, t));
|
|
19402
19402
|
}
|
|
19403
|
-
function
|
|
19403
|
+
function w() {
|
|
19404
19404
|
const t = c.value;
|
|
19405
19405
|
if (!t) return;
|
|
19406
19406
|
const n = e.applyDeleteRow(t, x.value);
|
|
19407
19407
|
n && S(n);
|
|
19408
19408
|
}
|
|
19409
|
-
function
|
|
19409
|
+
function C(t) {
|
|
19410
19410
|
const n = c.value;
|
|
19411
19411
|
n && S(e.applyInsertColumn(n, y.value, t));
|
|
19412
19412
|
}
|
|
@@ -19441,19 +19441,19 @@ var tT = {
|
|
|
19441
19441
|
type: "button",
|
|
19442
19442
|
class: "min-w-0 flex-1 rounded border border-border bg-muted px-2 py-1 text-[11px] transition-colors hover:border-destructive hover:text-destructive disabled:cursor-not-allowed disabled:opacity-50",
|
|
19443
19443
|
disabled: !m.value,
|
|
19444
|
-
onClick:
|
|
19444
|
+
onClick: w
|
|
19445
19445
|
}, (0, l.toDisplayString)((0, l.unref)(i)("pptx.table.deleteRow")), 9, f_)
|
|
19446
19446
|
])]),
|
|
19447
19447
|
(0, l.createElementVNode)("div", x_, [(0, l.createElementVNode)("div", y_, (0, l.toDisplayString)((0, l.unref)(i)("pptx.table.columns")), 1), (0, l.createElementVNode)("div", h_, [
|
|
19448
19448
|
(0, l.createElementVNode)("button", {
|
|
19449
19449
|
type: "button",
|
|
19450
19450
|
class: "min-w-0 flex-1 rounded border border-border bg-muted px-2 py-1 text-[11px] transition-colors hover:bg-accent",
|
|
19451
|
-
onClick: t[2] || (t[2] = (e) =>
|
|
19451
|
+
onClick: t[2] || (t[2] = (e) => C("left"))
|
|
19452
19452
|
}, (0, l.toDisplayString)((0, l.unref)(i)("pptx.table.insertLeft")), 1),
|
|
19453
19453
|
(0, l.createElementVNode)("button", {
|
|
19454
19454
|
type: "button",
|
|
19455
19455
|
class: "min-w-0 flex-1 rounded border border-border bg-muted px-2 py-1 text-[11px] transition-colors hover:bg-accent",
|
|
19456
|
-
onClick: t[3] || (t[3] = (e) =>
|
|
19456
|
+
onClick: t[3] || (t[3] = (e) => C("right"))
|
|
19457
19457
|
}, (0, l.toDisplayString)((0, l.unref)(i)("pptx.table.insertRight")), 1),
|
|
19458
19458
|
(0, l.createElementVNode)("button", {
|
|
19459
19459
|
type: "button",
|
|
@@ -19495,7 +19495,7 @@ var tT = {
|
|
|
19495
19495
|
}, null, 8, ["table-data"])
|
|
19496
19496
|
], 64)) : ((0, l.openBlock)(), (0, l.createElementBlock)("p", p_, (0, l.toDisplayString)((0, l.unref)(i)("pptx.table.noEditableData")), 1)) : ((0, l.openBlock)(), (0, l.createElementBlock)("p", d_, (0, l.toDisplayString)((0, l.unref)(i)("pptx.table.selectTablePrompt")), 1))]));
|
|
19497
19497
|
}
|
|
19498
|
-
}), E_ = { class: "pptx-vue-text3d-bevel space-y-1 pl-4" },
|
|
19498
|
+
}), E_ = { class: "pptx-vue-text3d-bevel space-y-1 pl-4" }, w_ = { class: "text-[11px] text-muted-foreground" }, C_ = { class: "grid grid-cols-3 gap-2" }, B_ = { class: "flex flex-col gap-1" }, N_ = { class: "text-muted-foreground" }, V_ = [
|
|
19499
19499
|
"aria-label",
|
|
19500
19500
|
"value",
|
|
19501
19501
|
"disabled"
|
|
@@ -19534,7 +19534,7 @@ var tT = {
|
|
|
19534
19534
|
const t = Number(e.target.value);
|
|
19535
19535
|
Number.isFinite(t) && r("heightChange", (0, a.clampText3dPt)(t, a.TEXT_3D_MAX_BEVEL_PT));
|
|
19536
19536
|
}
|
|
19537
|
-
return (e, t) => ((0, l.openBlock)(), (0, l.createElementBlock)("div", E_, [(0, l.createElementVNode)("span",
|
|
19537
|
+
return (e, t) => ((0, l.openBlock)(), (0, l.createElementBlock)("div", E_, [(0, l.createElementVNode)("span", w_, (0, l.toDisplayString)(o.label), 1), (0, l.createElementVNode)("div", C_, [
|
|
19538
19538
|
(0, l.createElementVNode)("label", B_, [(0, l.createElementVNode)("span", N_, (0, l.toDisplayString)((0, l.unref)(i)("pptx.text3d.bevelType")), 1), (0, l.createElementVNode)("pptx-ui-select", {
|
|
19539
19539
|
"aria-label": (0, l.unref)(i)("pptx.text3d.bevelType"),
|
|
19540
19540
|
class: (0, l.normalizeClass)(z_),
|
|
@@ -19761,7 +19761,7 @@ var tT = {
|
|
|
19761
19761
|
}, hA = {
|
|
19762
19762
|
key: 1,
|
|
19763
19763
|
class: "pptx-vue-text-fields flex flex-col gap-2"
|
|
19764
|
-
}, bA = { class: "pptx-vue-text-field flex flex-col gap-1" }, kA = { class: "pptx-vue-text-label text-muted-foreground" }, SA = ["aria-label", "value"], EA = { value: "" },
|
|
19764
|
+
}, bA = { class: "pptx-vue-text-field flex flex-col gap-1" }, kA = { class: "pptx-vue-text-label text-muted-foreground" }, SA = ["aria-label", "value"], EA = { value: "" }, wA = ["value"], CA = ["value"], BA = { class: "pptx-vue-text-row grid grid-cols-2 gap-2" }, NA = { class: "pptx-vue-text-field flex flex-col gap-1" }, VA = { class: "pptx-vue-text-label text-muted-foreground" }, TA = ["value"], FA = { class: "pptx-vue-text-field flex flex-col gap-1" }, PA = { class: "pptx-vue-text-label text-muted-foreground" }, DA = ["value"], IA = { class: "pptx-vue-text-field flex flex-col gap-1" }, _A = { class: "pptx-vue-text-label text-muted-foreground" }, AA = { class: "pptx-vue-text-toggles flex flex-wrap gap-1" }, zA = [
|
|
19765
19765
|
"aria-pressed",
|
|
19766
19766
|
"title",
|
|
19767
19767
|
"onClick"
|
|
@@ -19847,13 +19847,13 @@ var tT = {
|
|
|
19847
19847
|
}),
|
|
19848
19848
|
commit: (e) => i("update", e)
|
|
19849
19849
|
});
|
|
19850
|
-
function
|
|
19850
|
+
function w(e) {
|
|
19851
19851
|
b({
|
|
19852
19852
|
color: e,
|
|
19853
19853
|
colorRef: void 0
|
|
19854
19854
|
}), c?.push(e);
|
|
19855
19855
|
}
|
|
19856
|
-
function
|
|
19856
|
+
function C(e) {
|
|
19857
19857
|
b({
|
|
19858
19858
|
color: e.hex,
|
|
19859
19859
|
colorRef: e.ref
|
|
@@ -19879,11 +19879,11 @@ var tT = {
|
|
|
19879
19879
|
((0, l.openBlock)(), (0, l.createElementBlock)(l.Fragment, null, (0, l.renderList)(d, (e) => (0, l.createElementVNode)("option", {
|
|
19880
19880
|
key: e,
|
|
19881
19881
|
value: e
|
|
19882
|
-
}, (0, l.toDisplayString)(e), 9,
|
|
19882
|
+
}, (0, l.toDisplayString)(e), 9, wA)), 64)),
|
|
19883
19883
|
g.value && !d.includes(g.value) ? ((0, l.openBlock)(), (0, l.createElementBlock)("option", {
|
|
19884
19884
|
key: 0,
|
|
19885
19885
|
value: g.value
|
|
19886
|
-
}, (0, l.toDisplayString)(g.value), 9,
|
|
19886
|
+
}, (0, l.toDisplayString)(g.value), 9, CA)) : (0, l.createCommentVNode)("", !0)
|
|
19887
19887
|
], 40, SA)]),
|
|
19888
19888
|
(0, l.createElementVNode)("div", BA, [(0, l.createElementVNode)("label", NA, [(0, l.createElementVNode)("span", VA, (0, l.toDisplayString)((0, l.unref)(s)("pptx.textPanel.size")), 1), (0, l.createElementVNode)("input", {
|
|
19889
19889
|
type: "number",
|
|
@@ -19900,12 +19900,12 @@ var tT = {
|
|
|
19900
19900
|
(0, l.createVNode)(cB, {
|
|
19901
19901
|
"selected-ref": y.value,
|
|
19902
19902
|
"selected-hex": x.value,
|
|
19903
|
-
onPick:
|
|
19903
|
+
onPick: C
|
|
19904
19904
|
}, null, 8, ["selected-ref", "selected-hex"]),
|
|
19905
19905
|
(0, l.unref)(c) ? ((0, l.openBlock)(), (0, l.createBlock)(iB, {
|
|
19906
19906
|
key: 0,
|
|
19907
19907
|
colors: (0, l.unref)(c).recent.value,
|
|
19908
|
-
onPick:
|
|
19908
|
+
onPick: w
|
|
19909
19909
|
}, null, 8, ["colors"])) : (0, l.createCommentVNode)("", !0),
|
|
19910
19910
|
(0, l.createElementVNode)("div", IA, [(0, l.createElementVNode)("span", _A, (0, l.toDisplayString)((0, l.unref)(s)("pptx.textPanel.style")), 1), (0, l.createElementVNode)("div", AA, [((0, l.openBlock)(), (0, l.createElementBlock)(l.Fragment, null, (0, l.renderList)(u, (e) => (0, l.createElementVNode)("button", {
|
|
19911
19911
|
key: e.key,
|
|
@@ -20021,7 +20021,7 @@ var tT = {
|
|
|
20021
20021
|
_: 1
|
|
20022
20022
|
}, 8, ["title"])) : (0, l.createCommentVNode)("", !0),
|
|
20023
20023
|
(0, l.createVNode)(qV, null, {
|
|
20024
|
-
default: (0, l.withCtx)(() => [(0, l.createVNode)(
|
|
20024
|
+
default: (0, l.withCtx)(() => [(0, l.createVNode)(Cy, {
|
|
20025
20025
|
element: n.element,
|
|
20026
20026
|
"slide-count": r.slideCount,
|
|
20027
20027
|
"can-edit": r.canEdit,
|
|
@@ -20078,7 +20078,7 @@ var tT = {
|
|
|
20078
20078
|
key: 5,
|
|
20079
20079
|
title: (0, l.unref)(s)("pptx.inspector.chart")
|
|
20080
20080
|
}, {
|
|
20081
|
-
default: (0, l.withCtx)(() => [(0, l.createVNode)(
|
|
20081
|
+
default: (0, l.withCtx)(() => [(0, l.createVNode)(UC, {
|
|
20082
20082
|
element: n.element,
|
|
20083
20083
|
"can-edit": r.canEdit,
|
|
20084
20084
|
onUpdate: b
|
|
@@ -20154,7 +20154,7 @@ var tT = {
|
|
|
20154
20154
|
key: 10,
|
|
20155
20155
|
title: (0, l.unref)(s)("pptx.elementType.connector")
|
|
20156
20156
|
}, {
|
|
20157
|
-
default: (0, l.withCtx)(() => [(0, l.createVNode)(
|
|
20157
|
+
default: (0, l.withCtx)(() => [(0, l.createVNode)(jC, {
|
|
20158
20158
|
element: n.element,
|
|
20159
20159
|
"can-edit": r.canEdit,
|
|
20160
20160
|
onUpdate: b
|
|
@@ -20430,7 +20430,7 @@ var tT = {
|
|
|
20430
20430
|
}), Ez = {
|
|
20431
20431
|
"data-pptx-chrome": "presentation-fields",
|
|
20432
20432
|
class: "space-y-1.5 text-[11px]"
|
|
20433
|
-
},
|
|
20433
|
+
}, wz = { class: "flex items-center justify-between gap-2" }, Cz = { class: "text-muted-foreground" }, Bz = [
|
|
20434
20434
|
"aria-label",
|
|
20435
20435
|
"disabled",
|
|
20436
20436
|
"value"
|
|
@@ -20463,7 +20463,7 @@ var tT = {
|
|
|
20463
20463
|
setup(e, { emit: n }) {
|
|
20464
20464
|
const o = e, r = n, { t: i } = t.useI18n();
|
|
20465
20465
|
return (e, t) => ((0, l.openBlock)(), (0, l.createElementBlock)("div", Ez, [
|
|
20466
|
-
(0, l.createElementVNode)("label",
|
|
20466
|
+
(0, l.createElementVNode)("label", wz, [(0, l.createElementVNode)("span", Cz, (0, l.toDisplayString)((0, l.unref)(i)("pptx.presentationSettings.showType")), 1), (0, l.createElementVNode)("pptx-ui-select", {
|
|
20467
20467
|
class: "w-28 max-md:min-h-[44px]!",
|
|
20468
20468
|
"aria-label": (0, l.unref)(i)("pptx.presentationSettings.showType"),
|
|
20469
20469
|
disabled: !o.canEdit,
|
|
@@ -20699,18 +20699,18 @@ var tT = {
|
|
|
20699
20699
|
"value",
|
|
20700
20700
|
"disabled",
|
|
20701
20701
|
"aria-label"
|
|
20702
|
-
], EM = ["value"],
|
|
20702
|
+
], EM = ["value"], wM = "__none__", CM = (0, l.defineComponent)({
|
|
20703
20703
|
__name: "SlideTransitionPanel",
|
|
20704
20704
|
props: { slide: {} },
|
|
20705
20705
|
emits: ["update"],
|
|
20706
20706
|
setup(e, { emit: n }) {
|
|
20707
20707
|
const o = e, r = n, { t: i } = t.useI18n(), s = a.SLIDE_TRANSITION_OPTIONS.filter((e) => "none" !== e.value), c = (0, l.computed)(() => o.slide?.transition), d = (0, l.computed)(() => {
|
|
20708
20708
|
const e = c.value?.type;
|
|
20709
|
-
return e && "none" !== e ? e :
|
|
20710
|
-
}), p = (0, l.computed)(() => c.value?.durationMs ?? 1e3), u = (0, l.computed)(() => d.value !==
|
|
20709
|
+
return e && "none" !== e ? e : wM;
|
|
20710
|
+
}), p = (0, l.computed)(() => c.value?.durationMs ?? 1e3), u = (0, l.computed)(() => d.value !== wM);
|
|
20711
20711
|
function m(e) {
|
|
20712
20712
|
const t = e.target.value;
|
|
20713
|
-
if (t ===
|
|
20713
|
+
if (t === wM) return void r("update", void 0);
|
|
20714
20714
|
const n = t, o = {
|
|
20715
20715
|
...c.value,
|
|
20716
20716
|
type: n,
|
|
@@ -20740,7 +20740,7 @@ var tT = {
|
|
|
20740
20740
|
"aria-label": (0, l.unref)(i)("pptx.transition.label"),
|
|
20741
20741
|
"data-testid": "transition-type",
|
|
20742
20742
|
onChange: m
|
|
20743
|
-
}, [(0, l.createElementVNode)("option", { value:
|
|
20743
|
+
}, [(0, l.createElementVNode)("option", { value: wM }, (0, l.toDisplayString)((0, l.unref)(i)("pptx.transition.none")), 1), ((0, l.openBlock)(!0), (0, l.createElementBlock)(l.Fragment, null, (0, l.renderList)((0, l.unref)(s), (e) => ((0, l.openBlock)(), (0, l.createElementBlock)("option", {
|
|
20744
20744
|
key: e.value,
|
|
20745
20745
|
value: e.value
|
|
20746
20746
|
}, (0, l.toDisplayString)((0, l.unref)(i)(e.i18nKey)), 9, fM))), 128))], 40, gM)]),
|
|
@@ -20923,48 +20923,48 @@ var tT = {
|
|
|
20923
20923
|
setup(n, { emit: o }) {
|
|
20924
20924
|
const r = n, i = o, { t: s } = t.useI18n(), c = (0, l.computed)(() => Boolean(r.slide?.transition) && "none" !== r.slide?.transition?.type), d = (0, l.computed)(() => !1 !== r.slide?.transition?.advanceOnClick), p = (0, l.computed)(() => r.slide?.transition?.type ?? "none"), u = (0, l.computed)(() => e.dist_exports.TRANSITION_VALID_DIRECTIONS[p.value] ?? []), m = (0, l.computed)(() => a.TRANSITION_ORIENTATION_TYPES.has(p.value)), v = (0, l.computed)(() => c.value && u.value.length > 0 && !m.value), g = (0, l.computed)(() => "wheel" === p.value), f = (0, l.computed)(() => "morph" === p.value), x = (0, l.computed)(() => r.slide?.transition?.orient ?? "horz"), y = (0, l.computed)(() => r.slide?.transition?.spokes ?? 4), h = (0, l.computed)(() => r.slide?.transition?.morphOption ?? "byObject"), b = (0, l.computed)(() => e.dist_exports.TRANSITION_PATTERN_OPTIONS[p.value]), k = (0, l.computed)(() => e.dist_exports.TRANSITION_THRUBLK_TYPES.has(p.value));
|
|
20925
20925
|
function S(e) {
|
|
20926
|
-
|
|
20926
|
+
w({ thruBlk: e.target.checked });
|
|
20927
20927
|
}
|
|
20928
20928
|
function E(e) {
|
|
20929
|
-
|
|
20929
|
+
w({ morphOption: e.target.value });
|
|
20930
20930
|
}
|
|
20931
|
-
function
|
|
20931
|
+
function w(e) {
|
|
20932
20932
|
const t = r.slide?.transition;
|
|
20933
20933
|
t && i("transition-update", {
|
|
20934
20934
|
...t,
|
|
20935
20935
|
...e
|
|
20936
20936
|
});
|
|
20937
20937
|
}
|
|
20938
|
-
function
|
|
20938
|
+
function C(e) {
|
|
20939
20939
|
const t = Number(e.target.value);
|
|
20940
|
-
Number.isFinite(t) &&
|
|
20940
|
+
Number.isFinite(t) && w({ spokes: Math.max(1, Math.min(8, Math.round(t))) });
|
|
20941
20941
|
}
|
|
20942
20942
|
function B(e) {
|
|
20943
|
-
|
|
20943
|
+
w({ advanceOnClick: e.target.checked });
|
|
20944
20944
|
}
|
|
20945
20945
|
return (e, t) => ((0, l.openBlock)(), (0, l.createElementBlock)("div", null, [
|
|
20946
20946
|
(0, l.createElementVNode)("h3", MM, (0, l.toDisplayString)((0, l.unref)(s)("pptx.slideInspector.slideTransition")), 1),
|
|
20947
|
-
(0, l.createVNode)(
|
|
20947
|
+
(0, l.createVNode)(CM, {
|
|
20948
20948
|
slide: n.slide,
|
|
20949
20949
|
onUpdate: t[0] || (t[0] = (e) => i("transition-update", e))
|
|
20950
20950
|
}, null, 8, ["slide"]),
|
|
20951
20951
|
v.value ? ((0, l.openBlock)(), (0, l.createElementBlock)("div", OM, [(0, l.createElementVNode)("span", RM, (0, l.toDisplayString)((0, l.unref)(s)("pptx.transition.direction")), 1), (0, l.createVNode)(PM, {
|
|
20952
20952
|
directions: u.value,
|
|
20953
20953
|
value: n.slide?.transition?.direction,
|
|
20954
|
-
onChange: t[1] || (t[1] = (e) =>
|
|
20954
|
+
onChange: t[1] || (t[1] = (e) => w({ direction: e }))
|
|
20955
20955
|
}, null, 8, ["directions", "value"])])) : (0, l.createCommentVNode)("", !0),
|
|
20956
20956
|
c.value && m.value ? ((0, l.openBlock)(), (0, l.createElementBlock)("div", LM, [(0, l.createElementVNode)("span", UM, (0, l.toDisplayString)((0, l.unref)(s)("pptx.transition.orientation")), 1), (0, l.createElementVNode)("div", HM, [((0, l.openBlock)(), (0, l.createElementBlock)(l.Fragment, null, (0, l.renderList)(["horz", "vert"], (e) => (0, l.createElementVNode)("button", {
|
|
20957
20957
|
key: e,
|
|
20958
20958
|
type: "button",
|
|
20959
20959
|
class: (0, l.normalizeClass)(["rounded border px-2 py-1 text-xs", x.value === e ? "border-primary bg-primary text-white" : "border-border bg-muted hover:bg-accent"]),
|
|
20960
20960
|
"aria-pressed": x.value === e,
|
|
20961
|
-
onClick: (t) =>
|
|
20961
|
+
onClick: (t) => w({ orient: e })
|
|
20962
20962
|
}, (0, l.toDisplayString)("horz" === e ? (0, l.unref)(s)("pptx.slideInspector.horizontal") : (0, l.unref)(s)("pptx.slideInspector.vertical")), 11, GM)), 64))])])) : (0, l.createCommentVNode)("", !0),
|
|
20963
20963
|
b.value ? ((0, l.openBlock)(), (0, l.createElementBlock)("div", KM, [(0, l.createElementVNode)("span", $M, (0, l.toDisplayString)((0, l.unref)(s)("pptx.transition.pattern")), 1), (0, l.createElementVNode)("div", jM, [((0, l.openBlock)(!0), (0, l.createElementBlock)(l.Fragment, null, (0, l.renderList)(b.value, (e) => ((0, l.openBlock)(), (0, l.createElementBlock)("button", {
|
|
20964
20964
|
key: e,
|
|
20965
20965
|
type: "button",
|
|
20966
20966
|
class: (0, l.normalizeClass)(["rounded border px-2 py-1 text-xs", (n.slide?.transition?.pattern ?? b.value[0]) === e ? "border-primary bg-primary text-white" : "border-border bg-muted hover:bg-accent"]),
|
|
20967
|
-
onClick: (t) =>
|
|
20967
|
+
onClick: (t) => w({ pattern: e })
|
|
20968
20968
|
}, (0, l.toDisplayString)((0, l.unref)(s)(`pptx.transition.pattern.${e}`)), 11, WM))), 128))])])) : (0, l.createCommentVNode)("", !0),
|
|
20969
20969
|
k.value ? ((0, l.openBlock)(), (0, l.createElementBlock)("label", qM, [(0, l.createElementVNode)("pptx-ui-checkbox", {
|
|
20970
20970
|
"data-testid": "transition-thru-blk",
|
|
@@ -20978,7 +20978,7 @@ var tT = {
|
|
|
20978
20978
|
value: y.value,
|
|
20979
20979
|
"data-testid": "transition-spokes",
|
|
20980
20980
|
class: "w-16 rounded border border-border bg-muted px-2 py-1 text-xs",
|
|
20981
|
-
onInput:
|
|
20981
|
+
onInput: C
|
|
20982
20982
|
}, null, 40, QM)])) : (0, l.createCommentVNode)("", !0),
|
|
20983
20983
|
c.value && f.value ? ((0, l.openBlock)(), (0, l.createElementBlock)("div", JM, [(0, l.createElementVNode)("span", eO, (0, l.toDisplayString)((0, l.unref)(s)("pptx.transition.morphOption")), 1), (0, l.createElementVNode)("pptx-ui-select", {
|
|
20984
20984
|
class: "w-full rounded border border-border bg-muted px-2 py-1 text-xs",
|
|
@@ -21155,10 +21155,10 @@ var tT = {
|
|
|
21155
21155
|
onClick: t[1] || (t[1] = (e) => a("apply-theme", o.selectedThemePath, !0))
|
|
21156
21156
|
}, (0, l.toDisplayString)((0, l.unref)(r)("pptx.documentProperties.applyAllMasters")), 11, SO)])])], 2));
|
|
21157
21157
|
}
|
|
21158
|
-
}),
|
|
21158
|
+
}), wO = {
|
|
21159
21159
|
"data-pptx-chrome": "deck-properties",
|
|
21160
21160
|
class: "space-y-3"
|
|
21161
|
-
},
|
|
21161
|
+
}, CO = { "data-pptx-inspector-card": "presentation" }, BO = { "data-pptx-inspector-card": "theme" }, NO = {
|
|
21162
21162
|
key: 1,
|
|
21163
21163
|
"data-pptx-inspector-card": "slideSize"
|
|
21164
21164
|
}, VO = { "data-pptx-inspector-card": "notesHandout" }, TO = { "data-pptx-inspector-card": "document" }, FO = { "data-pptx-inspector-card": "tags" }, PO = { class: "text-[11px] text-muted-foreground" }, DO = (0, l.defineComponent)({
|
|
@@ -21204,12 +21204,12 @@ var tT = {
|
|
|
21204
21204
|
}), c = (0, l.ref)("");
|
|
21205
21205
|
return (0, l.watch)([i, s], () => {
|
|
21206
21206
|
c.value = i.value ?? s.value[0]?.path ?? "";
|
|
21207
|
-
}, { immediate: !0 }), (e, t) => ((0, l.openBlock)(), (0, l.createElementBlock)("div",
|
|
21207
|
+
}, { immediate: !0 }), (e, t) => ((0, l.openBlock)(), (0, l.createElementBlock)("div", wO, [
|
|
21208
21208
|
o.presentationProperties ? ((0, l.openBlock)(), (0, l.createElementBlock)("div", {
|
|
21209
21209
|
key: 0,
|
|
21210
21210
|
"data-pptx-inspector-card": "presentation",
|
|
21211
21211
|
class: (0, l.normalizeClass)(`${(0, l.unref)(WA)} pptx-editor-presentation-card`)
|
|
21212
|
-
}, [(0, l.createElementVNode)("div", { class: (0, l.normalizeClass)((0, l.unref)(jA)) }, (0, l.toDisplayString)((0, l.unref)(r)("pptx.slideInspector.presentation")), 3), (0, l.createElementVNode)("div",
|
|
21212
|
+
}, [(0, l.createElementVNode)("div", { class: (0, l.normalizeClass)((0, l.unref)(jA)) }, (0, l.toDisplayString)((0, l.unref)(r)("pptx.slideInspector.presentation")), 3), (0, l.createElementVNode)("div", CO, [(0, l.createVNode)($z, {
|
|
21213
21213
|
"presentation-properties": o.presentationProperties,
|
|
21214
21214
|
"can-edit": o.canEdit,
|
|
21215
21215
|
onUpdate: t[0] || (t[0] = (e) => a("presentation-update", e))
|
|
@@ -22038,7 +22038,7 @@ function SR(e) {
|
|
|
22038
22038
|
frameStyle: a
|
|
22039
22039
|
};
|
|
22040
22040
|
}
|
|
22041
|
-
var ER = { class: "flex items-start gap-3" },
|
|
22041
|
+
var ER = { class: "flex items-start gap-3" }, wR = { class: "flex h-10 w-10 items-center justify-center rounded-full bg-primary/10" }, CR = { class: "text-sm text-muted-foreground" }, BR = (0, l.defineComponent)({
|
|
22042
22042
|
__name: "KeepAnnotationsDialog",
|
|
22043
22043
|
props: {
|
|
22044
22044
|
open: { type: Boolean },
|
|
@@ -22066,7 +22066,7 @@ var ER = { class: "flex items-start gap-3" }, CR = { class: "flex h-10 w-10 item
|
|
|
22066
22066
|
}],
|
|
22067
22067
|
onAction: t[0] || (t[0] = (e) => i("keep" === e ? "keep" : "discard"))
|
|
22068
22068
|
}, null, 8, ["actions"])]),
|
|
22069
|
-
default: (0, l.withCtx)(() => [(0, l.createElementVNode)("div", ER, [(0, l.createElementVNode)("div",
|
|
22069
|
+
default: (0, l.withCtx)(() => [(0, l.createElementVNode)("div", ER, [(0, l.createElementVNode)("div", wR, [(0, l.createVNode)((0, l.unref)(r.PenTool), { class: "h-5 w-5 text-primary" })]), (0, l.createElementVNode)("p", CR, (0, l.toDisplayString)((0, l.unref)(o)("pptx.keepAnnotations.description", {
|
|
22070
22070
|
count: a.annotationCount,
|
|
22071
22071
|
slides: a.slideCount
|
|
22072
22072
|
})), 1)])]),
|
|
@@ -22124,7 +22124,7 @@ var ER = { class: "flex items-start gap-3" }, CR = { class: "flex h-10 w-10 item
|
|
|
22124
22124
|
}), S = (0, l.computed)(() => ({
|
|
22125
22125
|
width: i.canvasSize.width * k.value + "px",
|
|
22126
22126
|
height: i.canvasSize.height * k.value + "px"
|
|
22127
|
-
})), E = (0, l.computed)(() => (0, a.mobileNextThumbSize)(i.canvasSize.width, i.canvasSize.height)),
|
|
22127
|
+
})), E = (0, l.computed)(() => (0, a.mobileNextThumbSize)(i.canvasSize.width, i.canvasSize.height)), w = (0, l.computed)(() => ({
|
|
22128
22128
|
width: `${E.value.width}px`,
|
|
22129
22129
|
height: `${E.value.height}px`
|
|
22130
22130
|
}));
|
|
@@ -22160,7 +22160,7 @@ var ER = { class: "flex items-start gap-3" }, CR = { class: "flex h-10 w-10 item
|
|
|
22160
22160
|
(0, l.createElementVNode)("div", zR, [(0, l.createElementVNode)("span", MR, (0, l.toDisplayString)((0, l.unref)(c)("pptx.presenter.nextSlidePreview")), 1), v.value ? ((0, l.openBlock)(), (0, l.createElementBlock)("div", {
|
|
22161
22161
|
key: 0,
|
|
22162
22162
|
class: "relative flex-shrink-0 overflow-hidden rounded border border-border/30",
|
|
22163
|
-
style: (0, l.normalizeStyle)(
|
|
22163
|
+
style: (0, l.normalizeStyle)(w.value)
|
|
22164
22164
|
}, [(0, l.createVNode)(e.SlideStage_default, {
|
|
22165
22165
|
slide: v.value,
|
|
22166
22166
|
"canvas-size": n.canvasSize,
|
|
@@ -22553,7 +22553,7 @@ var gL = [".state"], fL = (0, l.defineComponent)({
|
|
|
22553
22553
|
onPresenterConsoleRequest: d
|
|
22554
22554
|
}, null, 40, gL));
|
|
22555
22555
|
}
|
|
22556
|
-
}), xL = Object.fromEntries(a.PRESENTER_RAIL_CONTROLS.map((e) => [e.id, e.labelKey])), yL = { class: "pptx-vue-presenter-header flex items-center justify-between gap-2 border-b border-border/60 px-4 py-3" }, hL = { class: "pptx-vue-presenter-time flex flex-col" }, bL = { class: "pptx-vue-presenter-clock font-mono text-lg tabular-nums text-foreground" }, kL = { class: "pptx-vue-presenter-time pptx-vue-presenter-time--right flex flex-col items-end" }, SL = { class: "pptx-vue-presenter-elapsed font-mono text-lg tabular-nums text-primary" }, EL = { class: "flex items-center gap-1" },
|
|
22556
|
+
}), xL = Object.fromEntries(a.PRESENTER_RAIL_CONTROLS.map((e) => [e.id, e.labelKey])), yL = { class: "pptx-vue-presenter-header flex items-center justify-between gap-2 border-b border-border/60 px-4 py-3" }, hL = { class: "pptx-vue-presenter-time flex flex-col" }, bL = { class: "pptx-vue-presenter-clock font-mono text-lg tabular-nums text-foreground" }, kL = { class: "pptx-vue-presenter-time pptx-vue-presenter-time--right flex flex-col items-end" }, SL = { class: "pptx-vue-presenter-elapsed font-mono text-lg tabular-nums text-primary" }, EL = { class: "flex items-center gap-1" }, wL = ["title"], CL = ["title", "aria-label"], BL = { class: "pptx-vue-presenter-nav flex items-center justify-between border-b border-border/60 px-4 py-2" }, NL = [
|
|
22557
22557
|
"disabled",
|
|
22558
22558
|
"title",
|
|
22559
22559
|
"aria-label"
|
|
@@ -22620,7 +22620,7 @@ var gL = [".state"], fL = (0, l.defineComponent)({
|
|
|
22620
22620
|
class: "pptx-vue-presenter-audience-btn flex h-7 items-center justify-center rounded px-2 text-xs text-muted-foreground transition-colors hover:bg-accent hover:text-foreground",
|
|
22621
22621
|
title: n.audienceOpen ? (0, l.unref)(c)("pptx.presenter.closeAudienceWindow") : (0, l.unref)(c)("pptx.presenter.openAudienceWindow"),
|
|
22622
22622
|
onClick: o[0] || (o[0] = (e) => s("audience"))
|
|
22623
|
-
}, (0, l.toDisplayString)(n.audienceOpen ? (0, l.unref)(c)("pptx.presenter.closeAudienceWindow") : (0, l.unref)(c)("pptx.presenter.openAudienceWindow")), 9,
|
|
22623
|
+
}, (0, l.toDisplayString)(n.audienceOpen ? (0, l.unref)(c)("pptx.presenter.closeAudienceWindow") : (0, l.unref)(c)("pptx.presenter.openAudienceWindow")), 9, wL), (0, l.createElementVNode)("button", {
|
|
22624
22624
|
type: "button",
|
|
22625
22625
|
class: "pptx-vue-presenter-icon-btn flex h-7 w-7 items-center justify-center rounded text-muted-foreground transition-colors hover:bg-accent hover:text-foreground",
|
|
22626
22626
|
title: (0, l.unref)(c)("pptx.presenter.endPresentation"),
|
|
@@ -22629,7 +22629,7 @@ var gL = [".state"], fL = (0, l.defineComponent)({
|
|
|
22629
22629
|
}, [(0, l.createVNode)((0, l.unref)(r.X), {
|
|
22630
22630
|
class: "h-4 w-4",
|
|
22631
22631
|
"aria-hidden": "true"
|
|
22632
|
-
})], 8,
|
|
22632
|
+
})], 8, CL)])
|
|
22633
22633
|
]),
|
|
22634
22634
|
(0, l.createElementVNode)("div", BL, [
|
|
22635
22635
|
(0, l.createElementVNode)("button", {
|
|
@@ -23382,7 +23382,7 @@ var gL = [".state"], fL = (0, l.defineComponent)({
|
|
|
23382
23382
|
onAudienceExit: () => {
|
|
23383
23383
|
(0, a.endAudienceDisplay)(window) && (x.showEndScreen.value = !0);
|
|
23384
23384
|
}
|
|
23385
|
-
}), { scale:
|
|
23385
|
+
}), { scale: w, frameStyle: C } = SR({
|
|
23386
23386
|
canvasSize: () => r.canvasSize,
|
|
23387
23387
|
overlayRef: s,
|
|
23388
23388
|
isAudience: E.isAudience
|
|
@@ -23656,7 +23656,7 @@ var gL = [".state"], fL = (0, l.defineComponent)({
|
|
|
23656
23656
|
ref_key: "frameRef",
|
|
23657
23657
|
ref: c,
|
|
23658
23658
|
class: "pptx-vue-presentation-frame",
|
|
23659
|
-
style: (0, l.normalizeStyle)((0, l.unref)(
|
|
23659
|
+
style: (0, l.normalizeStyle)((0, l.unref)(C)),
|
|
23660
23660
|
onClick: o[0] || (o[0] = (...e) => (0, l.unref)(h) && (0, l.unref)(h)(...e)),
|
|
23661
23661
|
onMouseover: o[1] || (o[1] = (e) => {
|
|
23662
23662
|
(0, l.unref)(b)(e), function(e) {
|
|
@@ -23675,7 +23675,7 @@ var gL = [".state"], fL = (0, l.defineComponent)({
|
|
|
23675
23675
|
slide: (0, l.unref)(x).activeSlide.value,
|
|
23676
23676
|
"canvas-size": n.canvasSize,
|
|
23677
23677
|
"media-data-urls": n.mediaDataUrls,
|
|
23678
|
-
scale: (0, l.unref)(
|
|
23678
|
+
scale: (0, l.unref)(w),
|
|
23679
23679
|
presenting: !0
|
|
23680
23680
|
}, null, 8, [
|
|
23681
23681
|
"slide",
|
|
@@ -23686,7 +23686,7 @@ var gL = [".state"], fL = (0, l.defineComponent)({
|
|
|
23686
23686
|
R.value ? ((0, l.openBlock)(), (0, l.createBlock)(QR, {
|
|
23687
23687
|
key: 0,
|
|
23688
23688
|
"canvas-size": n.canvasSize,
|
|
23689
|
-
"editor-scale": (0, l.unref)(
|
|
23689
|
+
"editor-scale": (0, l.unref)(w),
|
|
23690
23690
|
blackout: (0, l.unref)(E).snapshot.value.blackout,
|
|
23691
23691
|
"presentation-tool": (0, l.unref)(B).presentationTool.value,
|
|
23692
23692
|
"annotation-strokes": (0, l.unref)(B).annotationStrokes.value,
|
|
@@ -23719,7 +23719,7 @@ var gL = [".state"], fL = (0, l.defineComponent)({
|
|
|
23719
23719
|
"incoming-slide": (0, l.unref)(x).transitionState.value.incoming,
|
|
23720
23720
|
"canvas-size": n.canvasSize,
|
|
23721
23721
|
"media-data-urls": n.mediaDataUrls,
|
|
23722
|
-
scale: (0, l.unref)(
|
|
23722
|
+
scale: (0, l.unref)(w),
|
|
23723
23723
|
transition: (0, l.unref)(x).transitionState.value.transition,
|
|
23724
23724
|
onDone: (0, l.unref)(x).onTransitionDone
|
|
23725
23725
|
}, null, 8, [
|
|
@@ -24059,7 +24059,7 @@ var nU = (0, l.defineComponent)({
|
|
|
24059
24059
|
}))], 8, yU)
|
|
24060
24060
|
]));
|
|
24061
24061
|
}
|
|
24062
|
-
}), bU = { class: "fixed inset-0 z-[10000] flex items-center justify-center bg-black/60 backdrop-blur-sm" }, kU = ["aria-label"], SU = { class: "border-b border-border px-5 py-4" }, EU = { class: "m-0 text-base font-semibold" },
|
|
24062
|
+
}), bU = { class: "fixed inset-0 z-[10000] flex items-center justify-center bg-black/60 backdrop-blur-sm" }, kU = ["aria-label"], SU = { class: "border-b border-border px-5 py-4" }, EU = { class: "m-0 text-base font-semibold" }, wU = { class: "mb-0 mt-1 text-sm text-muted-foreground" }, CU = { class: "font-mono text-foreground" }, BU = { class: "max-h-72 overflow-y-auto px-5 py-3" }, NU = { class: "font-mono tabular-nums" }, VU = { class: "flex justify-end gap-2 border-t border-border px-5 py-3" }, TU = (0, l.defineComponent)({
|
|
24063
24063
|
__name: "RehearseTimingsSummary",
|
|
24064
24064
|
props: { timings: {} },
|
|
24065
24065
|
emits: ["save", "discard"],
|
|
@@ -24074,7 +24074,7 @@ var nU = (0, l.defineComponent)({
|
|
|
24074
24074
|
"aria-modal": "true",
|
|
24075
24075
|
"aria-label": (0, l.unref)(i)("pptx.rehearse.summaryTitle")
|
|
24076
24076
|
}, [
|
|
24077
|
-
(0, l.createElementVNode)("header", SU, [(0, l.createElementVNode)("h2", EU, (0, l.toDisplayString)((0, l.unref)(i)("pptx.rehearse.summaryTitle")), 1), (0, l.createElementVNode)("p",
|
|
24077
|
+
(0, l.createElementVNode)("header", SU, [(0, l.createElementVNode)("h2", EU, (0, l.toDisplayString)((0, l.unref)(i)("pptx.rehearse.summaryTitle")), 1), (0, l.createElementVNode)("p", wU, [(0, l.createTextVNode)((0, l.toDisplayString)((0, l.unref)(i)("pptx.rehearse.totalPresentationTime")) + ": ", 1), (0, l.createElementVNode)("span", CU, (0, l.toDisplayString)((0, l.unref)(e.formatRehearseMs)(c.value)), 1)])]),
|
|
24078
24078
|
(0, l.createElementVNode)("div", BU, [((0, l.openBlock)(!0), (0, l.createElementBlock)(l.Fragment, null, (0, l.renderList)(s.value, (t) => ((0, l.openBlock)(), (0, l.createElementBlock)("div", {
|
|
24079
24079
|
key: t.index,
|
|
24080
24080
|
class: "flex items-center justify-between border-b border-border/60 py-2 text-sm"
|
|
@@ -24165,7 +24165,7 @@ var nU = (0, l.defineComponent)({
|
|
|
24165
24165
|
function E(e) {
|
|
24166
24166
|
b.value.open = !1, k(e);
|
|
24167
24167
|
}
|
|
24168
|
-
function
|
|
24168
|
+
function w(e) {
|
|
24169
24169
|
b.value.open = !1;
|
|
24170
24170
|
const { action: t } = (0, a.mapSlideSorterKey)(e, {
|
|
24171
24171
|
canEdit: Boolean(s.canEdit),
|
|
@@ -24175,9 +24175,9 @@ var nU = (0, l.defineComponent)({
|
|
|
24175
24175
|
t && (e.preventDefault(), e.stopPropagation(), k(t));
|
|
24176
24176
|
}
|
|
24177
24177
|
return (0, l.onMounted)(() => {
|
|
24178
|
-
window.addEventListener("keydown",
|
|
24178
|
+
window.addEventListener("keydown", w);
|
|
24179
24179
|
}), (0, l.onBeforeUnmount)(() => {
|
|
24180
|
-
window.removeEventListener("keydown",
|
|
24180
|
+
window.removeEventListener("keydown", w);
|
|
24181
24181
|
}), (t, o) => ((0, l.openBlock)(), (0, l.createElementBlock)("div", {
|
|
24182
24182
|
class: "pptx-vue-sorter",
|
|
24183
24183
|
role: "dialog",
|
|
@@ -24521,7 +24521,7 @@ var nU = (0, l.defineComponent)({
|
|
|
24521
24521
|
"onClick",
|
|
24522
24522
|
"onDblclick",
|
|
24523
24523
|
"onKeydown"
|
|
24524
|
-
], SH = { class: "pptx-vue-cs-actions" }, EH = ["disabled"],
|
|
24524
|
+
], SH = { class: "pptx-vue-cs-actions" }, EH = ["disabled"], wH = ["disabled"], CH = ["aria-label"], BH = [
|
|
24525
24525
|
"aria-selected",
|
|
24526
24526
|
"onClick",
|
|
24527
24527
|
"onKeydown"
|
|
@@ -24652,7 +24652,7 @@ var nU = (0, l.defineComponent)({
|
|
|
24652
24652
|
class: "pptx-vue-cs-btn",
|
|
24653
24653
|
disabled: !d.value.canRemoveSlides,
|
|
24654
24654
|
onClick: t[6] || (t[6] = (e) => (0, l.unref)(s).removeSelectedSlides())
|
|
24655
|
-
}, (0, l.toDisplayString)((0, l.unref)(i)("pptx.customShows.remove")), 9,
|
|
24655
|
+
}, (0, l.toDisplayString)((0, l.unref)(i)("pptx.customShows.remove")), 9, wH)]),
|
|
24656
24656
|
(0, l.createElementVNode)("div", null, [(0, l.createElementVNode)("strong", null, (0, l.toDisplayString)((0, l.unref)(i)("pptx.customShows.slidesInShow")), 1), (0, l.createElementVNode)("ul", {
|
|
24657
24657
|
role: "listbox",
|
|
24658
24658
|
"aria-multiselectable": "true",
|
|
@@ -24665,7 +24665,7 @@ var nU = (0, l.defineComponent)({
|
|
|
24665
24665
|
"aria-selected": e.selected,
|
|
24666
24666
|
onClick: (t) => (0, l.unref)(s).toggleRight(e.position ?? 0),
|
|
24667
24667
|
onKeydown: (0, l.withKeys)((0, l.withModifiers)((t) => (0, l.unref)(s).toggleRight(e.position ?? 0), ["prevent"]), ["space"])
|
|
24668
|
-
}, (0, l.toDisplayString)(e.number) + ". " + (0, l.toDisplayString)(e.title), 41, BH))), 128)), 0 === d.value.showSlides.length ? ((0, l.openBlock)(), (0, l.createElementBlock)("li", NH, (0, l.toDisplayString)((0, l.unref)(i)("pptx.customShows.noSlidesYet")), 1)) : (0, l.createCommentVNode)("", !0)], 8,
|
|
24668
|
+
}, (0, l.toDisplayString)(e.number) + ". " + (0, l.toDisplayString)(e.title), 41, BH))), 128)), 0 === d.value.showSlides.length ? ((0, l.openBlock)(), (0, l.createElementBlock)("li", NH, (0, l.toDisplayString)((0, l.unref)(i)("pptx.customShows.noSlidesYet")), 1)) : (0, l.createCommentVNode)("", !0)], 8, CH)]),
|
|
24669
24669
|
(0, l.createElementVNode)("div", VH, [(0, l.createElementVNode)("button", {
|
|
24670
24670
|
type: "button",
|
|
24671
24671
|
class: "pptx-vue-cs-btn",
|
|
@@ -25212,7 +25212,7 @@ var uG = {
|
|
|
25212
25212
|
e[t.slideIndexes[o]] = n;
|
|
25213
25213
|
});
|
|
25214
25214
|
return e;
|
|
25215
|
-
}), { isSelected: y, onSlideClick: h, onPaneKeydown: b, menu: k, menuItems: S, onContextMenu: E, onMenuSelect:
|
|
25215
|
+
}), { isSelected: y, onSlideClick: h, onPaneKeydown: b, menu: k, menuItems: S, onContextMenu: E, onMenuSelect: w } = Wx(() => x.value, () => r.activeIndex, () => !1 !== r.canEdit, (e, ...t) => i(e, ...t)), { menu: C, items: B, openFor: N, onSelect: V } = function(e, n, o, r) {
|
|
25216
25216
|
const { t: i } = t.useI18n(), s = (0, l.ref)({
|
|
25217
25217
|
open: !1,
|
|
25218
25218
|
x: 0,
|
|
@@ -25368,13 +25368,13 @@ var uG = {
|
|
|
25368
25368
|
"scale"
|
|
25369
25369
|
])], 4)], 42, xG)], 2))), 128))], 512), [[l.vShow, !f(t)]])]))), 128)),
|
|
25370
25370
|
(0, l.createVNode)(cp, {
|
|
25371
|
-
open: (0, l.unref)(
|
|
25372
|
-
x: (0, l.unref)(
|
|
25373
|
-
y: (0, l.unref)(
|
|
25371
|
+
open: (0, l.unref)(C).open,
|
|
25372
|
+
x: (0, l.unref)(C).x,
|
|
25373
|
+
y: (0, l.unref)(C).y,
|
|
25374
25374
|
items: (0, l.unref)(B),
|
|
25375
25375
|
"aria-label": (0, l.unref)(s)("pptx.sections.sectionButtonLabel"),
|
|
25376
25376
|
onSelect: (0, l.unref)(V),
|
|
25377
|
-
onClose: n[2] || (n[2] = (e) => (0, l.unref)(
|
|
25377
|
+
onClose: n[2] || (n[2] = (e) => (0, l.unref)(C).open = !1)
|
|
25378
25378
|
}, null, 8, [
|
|
25379
25379
|
"open",
|
|
25380
25380
|
"x",
|
|
@@ -25388,7 +25388,7 @@ var uG = {
|
|
|
25388
25388
|
x: (0, l.unref)(k).x,
|
|
25389
25389
|
y: (0, l.unref)(k).y,
|
|
25390
25390
|
items: (0, l.unref)(S),
|
|
25391
|
-
onSelect: (0, l.unref)(
|
|
25391
|
+
onSelect: (0, l.unref)(w),
|
|
25392
25392
|
onClose: n[3] || (n[3] = (e) => (0, l.unref)(k).open = !1)
|
|
25393
25393
|
}, null, 8, [
|
|
25394
25394
|
"open",
|
|
@@ -25525,7 +25525,7 @@ var uG = {
|
|
|
25525
25525
|
"onToggleHidden"
|
|
25526
25526
|
]));
|
|
25527
25527
|
}
|
|
25528
|
-
}),
|
|
25528
|
+
}), CG = (0, l.defineComponent)({
|
|
25529
25529
|
__name: "ViewerSlideRail",
|
|
25530
25530
|
props: {
|
|
25531
25531
|
mergedSlides: {},
|
|
@@ -26219,8 +26219,8 @@ var UG = ["aria-busy", "tabindex"], HG = {
|
|
|
26219
26219
|
d(k.effectiveTheme);
|
|
26220
26220
|
const S = u(k.effectiveTheme);
|
|
26221
26221
|
(0, l.provide)(uo, v.accountAuth), (0, l.provide)(Ol, () => v.ribbonAddIns);
|
|
26222
|
-
const E = (0, a.createCloudDocumentController)(),
|
|
26223
|
-
const e = (0, a.resolveCloudDocumentView)(
|
|
26222
|
+
const E = (0, a.createCloudDocumentController)(), w = t.useController(E), C = (0, a.createSaveProgressController)(), B = t.useController(C), N = (0, l.computed)(() => {
|
|
26223
|
+
const e = (0, a.resolveCloudDocumentView)(w.value.file, {
|
|
26224
26224
|
storage: v.storage,
|
|
26225
26225
|
canEdit: v.canEdit && !v.readOnly,
|
|
26226
26226
|
fileName: v.fileName,
|
|
@@ -26228,7 +26228,7 @@ var UG = ["aria-busy", "tabindex"], HG = {
|
|
|
26228
26228
|
});
|
|
26229
26229
|
return e.storage ? {
|
|
26230
26230
|
...e,
|
|
26231
|
-
storage:
|
|
26231
|
+
storage: C.wrap(e.storage)
|
|
26232
26232
|
} : e;
|
|
26233
26233
|
}), V = () => N.value.filePath ?? N.value.fileName ?? "Untitled Presentation", T = function(e) {
|
|
26234
26234
|
const t = (0, l.ref)(null);
|
|
@@ -26336,7 +26336,7 @@ var UG = ["aria-busy", "tabindex"], HG = {
|
|
|
26336
26336
|
getGoogleFonts: () => H.value,
|
|
26337
26337
|
translate: (e, t) => b(e, t),
|
|
26338
26338
|
getEmbedFonts: () => vo.embedFontsEnabled.value
|
|
26339
|
-
}), { slides: Q, templateElementsBySlideId: J, canvasSize: ee, mediaDataUrls: te, loading: ne, fontProgress: oe, error: ae, isEncrypted: le, coreProperties: re, customProperties: se, modifyVerifier: ce, compatibilityWarnings: de, appProperties: pe, tagCollections: ue, signatures: me, tableStyleMap: ve, slideMasters: ge, sections: fe, customShows: xe, modernCommentAuthors: ye, presentationProperties: he, viewProperties: be, headerFooter: ke, notesMaster: Se, handoutMaster: Ee, theme:
|
|
26339
|
+
}), { slides: Q, templateElementsBySlideId: J, canvasSize: ee, mediaDataUrls: te, loading: ne, fontProgress: oe, error: ae, isEncrypted: le, coreProperties: re, customProperties: se, modifyVerifier: ce, compatibilityWarnings: de, appProperties: pe, tagCollections: ue, signatures: me, tableStyleMap: ve, slideMasters: ge, sections: fe, customShows: xe, modernCommentAuthors: ye, presentationProperties: he, viewProperties: be, headerFooter: ke, notesMaster: Se, handoutMaster: Ee, theme: we, themeColorMap: Ce, handler: Be, getContent: Ne, getRecoverySnapshot: Ve } = Z, Te = (0, l.ref)(!1), Fe = (0, l.computed)(() => (0, a.shouldOpenInProtectedView)(M.value) && !Te.value), Pe = function(e) {
|
|
26340
26340
|
function t() {
|
|
26341
26341
|
return (0, a.readOnlyRecommendation)({
|
|
26342
26342
|
modifyVerifier: e.modifyVerifier.value,
|
|
@@ -26397,7 +26397,7 @@ var UG = ["aria-busy", "tabindex"], HG = {
|
|
|
26397
26397
|
}
|
|
26398
26398
|
};
|
|
26399
26399
|
}({ warnings: de });
|
|
26400
|
-
(0, l.provide)(e.TableThemeKey, () => e.tableThemeContextFor(
|
|
26400
|
+
(0, l.provide)(e.TableThemeKey, () => e.tableThemeContextFor(we.value, ve.value));
|
|
26401
26401
|
const Me = function(e) {
|
|
26402
26402
|
const t = (0, l.ref)((0, a.seedRecentColors)(e.presentationProperties.value));
|
|
26403
26403
|
return e.loadVersion && (0, l.watch)(e.loadVersion, () => {
|
|
@@ -26416,7 +26416,7 @@ var UG = ["aria-busy", "tabindex"], HG = {
|
|
|
26416
26416
|
presentationProperties: he,
|
|
26417
26417
|
loadVersion: D
|
|
26418
26418
|
});
|
|
26419
|
-
(0, l.provide)(to, Me), (0, l.provide)(qa,
|
|
26419
|
+
(0, l.provide)(to, Me), (0, l.provide)(qa, Ce), e.provideZoomTargetLookup((t) => e.toZoomTargetInfo(Q.value[t])), (0, l.provide)(e.FieldContextKey, () => (0, a.buildFieldSubstitutionContext)({
|
|
26420
26420
|
headerFooter: ke.value,
|
|
26421
26421
|
customProperties: se.value,
|
|
26422
26422
|
slide: Ue.value,
|
|
@@ -26567,8 +26567,8 @@ var UG = ["aria-busy", "tabindex"], HG = {
|
|
|
26567
26567
|
activeSlideIndex: Re,
|
|
26568
26568
|
onChange: () => h("change"),
|
|
26569
26569
|
theme: {
|
|
26570
|
-
theme:
|
|
26571
|
-
themeColorMap:
|
|
26570
|
+
theme: we,
|
|
26571
|
+
themeColorMap: Ce,
|
|
26572
26572
|
handler: Be,
|
|
26573
26573
|
loadedThemeName: it,
|
|
26574
26574
|
slideMasters: ge
|
|
@@ -26689,7 +26689,7 @@ var UG = ["aria-busy", "tabindex"], HG = {
|
|
|
26689
26689
|
ops: ct,
|
|
26690
26690
|
selectedElementIds: et,
|
|
26691
26691
|
findActiveElement: ot
|
|
26692
|
-
}), { requestElementEdit:
|
|
26692
|
+
}), { requestElementEdit: wt, onCanvasDoubleClick: Ct, onCanvasPointerDown: Bt, onEscape: Nt } = TG({
|
|
26693
26693
|
canEdit: () => _e.value,
|
|
26694
26694
|
editTemplateMode: tt,
|
|
26695
26695
|
findActiveElement: ot,
|
|
@@ -26722,7 +26722,7 @@ var UG = ["aria-busy", "tabindex"], HG = {
|
|
|
26722
26722
|
slides: Q,
|
|
26723
26723
|
templateElementsBySlideId: J,
|
|
26724
26724
|
canvasSize: ee,
|
|
26725
|
-
enterInlineEdit:
|
|
26725
|
+
enterInlineEdit: wt
|
|
26726
26726
|
}), Ft = e.useElementInsertion({
|
|
26727
26727
|
canvasSize: ee,
|
|
26728
26728
|
ops: ct,
|
|
@@ -26737,7 +26737,7 @@ var UG = ["aria-busy", "tabindex"], HG = {
|
|
|
26737
26737
|
slides: Q,
|
|
26738
26738
|
activeSlideIndex: Re,
|
|
26739
26739
|
pushHistory: st.pushHistory,
|
|
26740
|
-
theme:
|
|
26740
|
+
theme: we
|
|
26741
26741
|
}), { deleteSelected: _t, duplicateSelected: At, bringForward: zt, sendBackward: Mt } = e.useMultiSelectOps({
|
|
26742
26742
|
selectedElementIds: et,
|
|
26743
26743
|
ops: ct,
|
|
@@ -26752,7 +26752,7 @@ var UG = ["aria-busy", "tabindex"], HG = {
|
|
|
26752
26752
|
previewElement: (e, t) => ct.previewElement(e, t),
|
|
26753
26753
|
findActiveElement: ot
|
|
26754
26754
|
});
|
|
26755
|
-
(0, l.provide)(
|
|
26755
|
+
(0, l.provide)(WC, Ot.inspectorPreview);
|
|
26756
26756
|
const Rt = e.useSlideOperations({
|
|
26757
26757
|
slides: Q,
|
|
26758
26758
|
activeSlideIndex: Re,
|
|
@@ -27005,7 +27005,7 @@ var UG = ["aria-busy", "tabindex"], HG = {
|
|
|
27005
27005
|
})
|
|
27006
27006
|
};
|
|
27007
27007
|
(0, l.provide)(Dn, En);
|
|
27008
|
-
const
|
|
27008
|
+
const wn = e.useRibbonUiState(v.inspectorInitiallyOpen), { activeTool: Cn, drawingColor: Bn, drawingWidth: Nn, inspectorOpen: Vn, sidebarCollapsed: Tn, notesExpanded: Fn, showGrid: Pn, showRulers: In, showGuides: _n, spellCheckEnabled: An, themeGalleryOpen: zn, themeEditorOpen: Mn } = wn, On = (0, l.ref)(null), Rn = function(e) {
|
|
27009
27009
|
const { t: n } = t.useI18n(), o = (0, l.ref)({
|
|
27010
27010
|
open: !1,
|
|
27011
27011
|
x: 0,
|
|
@@ -27309,8 +27309,8 @@ var UG = ["aria-busy", "tabindex"], HG = {
|
|
|
27309
27309
|
slideSize: Z.slideSize,
|
|
27310
27310
|
slides: Q,
|
|
27311
27311
|
templateElementsBySlideId: J,
|
|
27312
|
-
pptxTheme:
|
|
27313
|
-
themeColorMap:
|
|
27312
|
+
pptxTheme: we,
|
|
27313
|
+
themeColorMap: Ce,
|
|
27314
27314
|
coreProperties: re,
|
|
27315
27315
|
appProperties: pe,
|
|
27316
27316
|
customProperties: se,
|
|
@@ -27513,7 +27513,7 @@ var UG = ["aria-busy", "tabindex"], HG = {
|
|
|
27513
27513
|
markDirty: () => {
|
|
27514
27514
|
qn.isDirty.value = !0;
|
|
27515
27515
|
}
|
|
27516
|
-
}),
|
|
27516
|
+
}), wo = IG({
|
|
27517
27517
|
handler: Be,
|
|
27518
27518
|
slideMasters: ge,
|
|
27519
27519
|
layoutOptions: Z.layoutOptions,
|
|
@@ -27530,7 +27530,7 @@ var UG = ["aria-busy", "tabindex"], HG = {
|
|
|
27530
27530
|
},
|
|
27531
27531
|
pushHistory: st.pushHistory,
|
|
27532
27532
|
forgetHistory: st.forgetHistory
|
|
27533
|
-
}),
|
|
27533
|
+
}), Co = e.useSectionOperations({
|
|
27534
27534
|
sections: fe,
|
|
27535
27535
|
slides: Q,
|
|
27536
27536
|
activeSlideIndex: Re,
|
|
@@ -27627,7 +27627,7 @@ var UG = ["aria-busy", "tabindex"], HG = {
|
|
|
27627
27627
|
startPresenting: Gt.startPresenting,
|
|
27628
27628
|
inlineEditingElementId: kt.inlineEditingElementId,
|
|
27629
27629
|
tableEditorIsEditing: () => null !== Oe.value,
|
|
27630
|
-
activeTool: () =>
|
|
27630
|
+
activeTool: () => Cn.value,
|
|
27631
27631
|
selectedElements: at,
|
|
27632
27632
|
selectElement: Qe.selectElement,
|
|
27633
27633
|
ribbonUpdateTextStyle: zo,
|
|
@@ -27727,15 +27727,15 @@ var UG = ["aria-busy", "tabindex"], HG = {
|
|
|
27727
27727
|
const { drawingActive: ta, addInkStroke: na, eraseInkAt: oa } = e.useInkDrawing({
|
|
27728
27728
|
canEdit: () => _e.value,
|
|
27729
27729
|
presenting: Gt.presenting,
|
|
27730
|
-
activeTool:
|
|
27730
|
+
activeTool: Cn,
|
|
27731
27731
|
activeSlide: Ue,
|
|
27732
27732
|
selectedElementIds: et,
|
|
27733
27733
|
ops: ct
|
|
27734
27734
|
}), aa = e.useThemeEditing({
|
|
27735
27735
|
handler: Be,
|
|
27736
27736
|
slides: Q,
|
|
27737
|
-
pptxTheme:
|
|
27738
|
-
themeColorMap:
|
|
27737
|
+
pptxTheme: we,
|
|
27738
|
+
themeColorMap: Ce,
|
|
27739
27739
|
pushHistory: st.pushHistory,
|
|
27740
27740
|
themeGalleryOpen: zn,
|
|
27741
27741
|
themeEditorOpen: Mn,
|
|
@@ -27775,8 +27775,8 @@ var UG = ["aria-busy", "tabindex"], HG = {
|
|
|
27775
27775
|
heldDeck: X,
|
|
27776
27776
|
slides: Q,
|
|
27777
27777
|
templateElementsBySlideId: J,
|
|
27778
|
-
pptxTheme:
|
|
27779
|
-
themeColorMap:
|
|
27778
|
+
pptxTheme: we,
|
|
27779
|
+
themeColorMap: Ce,
|
|
27780
27780
|
handler: Be,
|
|
27781
27781
|
selectedSlideIds: () => Ue.value ? [Ue.value.id] : [],
|
|
27782
27782
|
pushHistory: st.pushHistory
|
|
@@ -27784,8 +27784,8 @@ var UG = ["aria-busy", "tabindex"], HG = {
|
|
|
27784
27784
|
activeSlide: () => Ue.value ?? null,
|
|
27785
27785
|
editable: () => _e.value,
|
|
27786
27786
|
selectedElement: () => at.value[0] ?? null,
|
|
27787
|
-
theme:
|
|
27788
|
-
themeColorMap:
|
|
27787
|
+
theme: we,
|
|
27788
|
+
themeColorMap: Ce,
|
|
27789
27789
|
handler: Be,
|
|
27790
27790
|
tableSelection: () => Oe.value,
|
|
27791
27791
|
updateElement: (e, t) => ct.updateElement(e, t),
|
|
@@ -27867,7 +27867,7 @@ var UG = ["aria-busy", "tabindex"], HG = {
|
|
|
27867
27867
|
slides: Q,
|
|
27868
27868
|
activeSlideIndex: Re,
|
|
27869
27869
|
canvasSize: ee,
|
|
27870
|
-
theme:
|
|
27870
|
+
theme: we,
|
|
27871
27871
|
handler: Be,
|
|
27872
27872
|
sections: fe,
|
|
27873
27873
|
customShows: xe,
|
|
@@ -27908,7 +27908,7 @@ var UG = ["aria-busy", "tabindex"], HG = {
|
|
|
27908
27908
|
deck: Z,
|
|
27909
27909
|
embeddedFontFamilies: vo.embeddedFontNames,
|
|
27910
27910
|
customFontFamilies: go,
|
|
27911
|
-
ui:
|
|
27911
|
+
ui: wn,
|
|
27912
27912
|
selection: Qe,
|
|
27913
27913
|
history: st,
|
|
27914
27914
|
arrange: {
|
|
@@ -27947,7 +27947,7 @@ var UG = ["aria-busy", "tabindex"], HG = {
|
|
|
27947
27947
|
onApplyTransitionToAll: dn
|
|
27948
27948
|
},
|
|
27949
27949
|
slideCommands: {
|
|
27950
|
-
addSection:
|
|
27950
|
+
addSection: Co.addSection,
|
|
27951
27951
|
defaultSectionName: () => b("pptx.sections.defaultName"),
|
|
27952
27952
|
selectAllElements: Go,
|
|
27953
27953
|
clearSelection: rt
|
|
@@ -28236,7 +28236,7 @@ var UG = ["aria-busy", "tabindex"], HG = {
|
|
|
28236
28236
|
}), pa = NG(ia, L.resolved);
|
|
28237
28237
|
var ua = No, ma = {
|
|
28238
28238
|
getCanvas: () => Po.value,
|
|
28239
|
-
getTarget: () => !_e.value || ne.value || ae.value || Gt.presenting.value || Eo.showMasterView.value || tt.value || kt.inlineEditingElementId.value || "select" !==
|
|
28239
|
+
getTarget: () => !_e.value || ne.value || ae.value || Gt.presenting.value || Eo.showMasterView.value || tt.value || kt.inlineEditingElementId.value || "select" !== Cn.value || Hn.value?.open || !Ue.value || !Be.value ? null : {
|
|
28240
28240
|
documentId: Be.value,
|
|
28241
28241
|
slideId: Ue.value.id,
|
|
28242
28242
|
canvasSize: ee.value
|
|
@@ -28423,7 +28423,7 @@ var UG = ["aria-busy", "tabindex"], HG = {
|
|
|
28423
28423
|
"on-quick-command",
|
|
28424
28424
|
"hidden-actions"
|
|
28425
28425
|
])) : (0, l.createCommentVNode)("", !0),
|
|
28426
|
-
(0, l.unref)(Vo) ? ((0, l.openBlock)(), (0, l.createBlock)(
|
|
28426
|
+
(0, l.unref)(Vo) ? ((0, l.openBlock)(), (0, l.createBlock)(Cl, (0, l.mergeProps)({ key: 4 }, (0, l.unref)(pa), {
|
|
28427
28427
|
"hidden-actions": (0, l.unref)($),
|
|
28428
28428
|
"recent-presentations-count": (0, l.unref)(M).advanced.recentPresentationsCount,
|
|
28429
28429
|
"ai-enabled": (0, l.unref)(j),
|
|
@@ -28521,7 +28521,7 @@ var UG = ["aria-busy", "tabindex"], HG = {
|
|
|
28521
28521
|
"onReplaceAll"
|
|
28522
28522
|
])) : (0, l.createCommentVNode)("", !0),
|
|
28523
28523
|
(0, l.withDirectives)((0, l.createElementVNode)("div", qG, [
|
|
28524
|
-
(0, l.unref)(Vo) || (0, l.unref)(Tn) || (0, l.unref)(Gt).presenting.value || !x.value.showThumbnails || !(0, l.unref)(G)("slidesPane") ? (0, l.createCommentVNode)("", !0) : ((0, l.openBlock)(), (0, l.createBlock)(
|
|
28524
|
+
(0, l.unref)(Vo) || (0, l.unref)(Tn) || (0, l.unref)(Gt).presenting.value || !x.value.showThumbnails || !(0, l.unref)(G)("slidesPane") ? (0, l.createCommentVNode)("", !0) : ((0, l.openBlock)(), (0, l.createBlock)(CG, {
|
|
28525
28525
|
key: 0,
|
|
28526
28526
|
"merged-slides": (0, l.unref)(lt),
|
|
28527
28527
|
"active-slide-index": (0, l.unref)(Re),
|
|
@@ -28529,14 +28529,14 @@ var UG = ["aria-busy", "tabindex"], HG = {
|
|
|
28529
28529
|
"media-data-urls": (0, l.unref)(te),
|
|
28530
28530
|
"can-edit": _e.value,
|
|
28531
28531
|
"has-sections": Bo.value,
|
|
28532
|
-
"section-ops": (0, l.unref)(
|
|
28532
|
+
"section-ops": (0, l.unref)(Co),
|
|
28533
28533
|
"slide-ops": (0, l.unref)(Rt),
|
|
28534
28534
|
"go-to": (0, l.unref)(He),
|
|
28535
28535
|
"toggle-slide-hidden": (0, l.unref)(rn),
|
|
28536
28536
|
"header-footer": (0, l.unref)(ke),
|
|
28537
28537
|
"custom-properties": (0, l.unref)(se),
|
|
28538
28538
|
"first-slide-number": (0, l.unref)(Z).firstSlideNumber.value,
|
|
28539
|
-
theme: (0, l.unref)(
|
|
28539
|
+
theme: (0, l.unref)(we),
|
|
28540
28540
|
"table-style-map": (0, l.unref)(ve),
|
|
28541
28541
|
"on-open-layout-for-slide": (e, t, n) => {
|
|
28542
28542
|
(0, l.unref)(He)(e), On.value = {
|
|
@@ -28568,7 +28568,7 @@ var UG = ["aria-busy", "tabindex"], HG = {
|
|
|
28568
28568
|
class: (0, l.normalizeClass)(["pptx-vue-main", { "is-editable": _e.value }]),
|
|
28569
28569
|
"data-pptx-ai-active": (0, l.unref)(W) && (0, l.unref)(gt).canvasAnimating.value ? "true" : void 0,
|
|
28570
28570
|
onPointerdown: n[11] || (n[11] = (...e) => (0, l.unref)(Bt) && (0, l.unref)(Bt)(...e)),
|
|
28571
|
-
onDblclickCapture: n[12] || (n[12] = (...e) => (0, l.unref)(
|
|
28571
|
+
onDblclickCapture: n[12] || (n[12] = (...e) => (0, l.unref)(Ct) && (0, l.unref)(Ct)(...e)),
|
|
28572
28572
|
onContextmenu: n[13] || (n[13] = (...e) => (0, l.unref)(Kn) && (0, l.unref)(Kn)(...e)),
|
|
28573
28573
|
onPointermove: n[14] || (n[14] = (...e) => (0, l.unref)(io).onCollabPointerMove && (0, l.unref)(io).onCollabPointerMove(...e)),
|
|
28574
28574
|
onTouchstart: n[15] || (n[15] = (...e) => (0, l.unref)(Ze).onTouchStart && (0, l.unref)(Ze).onTouchStart(...e)),
|
|
@@ -28613,14 +28613,14 @@ var UG = ["aria-busy", "tabindex"], HG = {
|
|
|
28613
28613
|
collaboration: (0, l.unref)(io),
|
|
28614
28614
|
"spell-check-enabled": (0, l.unref)(An),
|
|
28615
28615
|
"drawing-active": (0, l.unref)(ta),
|
|
28616
|
-
"active-tool": (0, l.unref)(
|
|
28616
|
+
"active-tool": (0, l.unref)(Cn),
|
|
28617
28617
|
"drawing-color": (0, l.unref)(Bn),
|
|
28618
28618
|
"drawing-width": (0, l.unref)(Nn),
|
|
28619
28619
|
"on-stroke": (0, l.unref)(na),
|
|
28620
28620
|
"on-erase": (0, l.unref)(oa),
|
|
28621
28621
|
ai: (0, l.unref)(W),
|
|
28622
28622
|
"ai-panel": (0, l.unref)(gt),
|
|
28623
|
-
"on-request-edit": (0, l.unref)(
|
|
28623
|
+
"on-request-edit": (0, l.unref)(wt),
|
|
28624
28624
|
"on-format": (0, l.unref)(zo)
|
|
28625
28625
|
}, null, 8, [
|
|
28626
28626
|
"can-edit",
|
|
@@ -28807,7 +28807,7 @@ var UG = ["aria-busy", "tabindex"], HG = {
|
|
|
28807
28807
|
])) : (0, l.createCommentVNode)("", !0),
|
|
28808
28808
|
(0, l.createVNode)(Zu, {
|
|
28809
28809
|
"can-edit": _e.value,
|
|
28810
|
-
theme: (0, l.unref)(
|
|
28810
|
+
theme: (0, l.unref)(we),
|
|
28811
28811
|
"theme-gallery-open": (0, l.unref)(zn),
|
|
28812
28812
|
"on-close-theme-gallery": () => zn.value = !1,
|
|
28813
28813
|
"theme-editor-open": (0, l.unref)(Mn),
|
|
@@ -28928,7 +28928,7 @@ var UG = ["aria-busy", "tabindex"], HG = {
|
|
|
28928
28928
|
ref_key: "masterInlineEditor",
|
|
28929
28929
|
ref: St,
|
|
28930
28930
|
state: (0, l.unref)(Eo),
|
|
28931
|
-
crud: (0, l.unref)(
|
|
28931
|
+
crud: (0, l.unref)(wo),
|
|
28932
28932
|
"slide-masters": (0, l.unref)(ge),
|
|
28933
28933
|
"canvas-size": (0, l.unref)(ee),
|
|
28934
28934
|
"media-data-urls": (0, l.unref)(te),
|
|
@@ -28996,7 +28996,7 @@ var UG = ["aria-busy", "tabindex"], HG = {
|
|
|
28996
28996
|
"notes-master": (0, l.unref)(Se),
|
|
28997
28997
|
"go-to": (0, l.unref)(He),
|
|
28998
28998
|
"toggle-slide-hidden": (0, l.unref)(rn),
|
|
28999
|
-
"on-add-section": (0, l.unref)(
|
|
28999
|
+
"on-add-section": (0, l.unref)(Co).addSection,
|
|
29000
29000
|
"on-notes-update": (0, l.unref)(ln),
|
|
29001
29001
|
"on-inspector-update": (0, l.unref)(Ot).onInspectorUpdate,
|
|
29002
29002
|
"on-update-slide-animations": (0, l.unref)(Ot).writeSlideAnimations,
|
|
@@ -29142,11 +29142,59 @@ var UG = ["aria-busy", "tabindex"], HG = {
|
|
|
29142
29142
|
])
|
|
29143
29143
|
], 16, UG));
|
|
29144
29144
|
}
|
|
29145
|
+
}), ZG = ["title"], QG = (0, l.defineComponent)({
|
|
29146
|
+
__name: "SlideThumbnail",
|
|
29147
|
+
props: {
|
|
29148
|
+
slide: {},
|
|
29149
|
+
templateElements: { default: () => [] },
|
|
29150
|
+
canvasSize: {},
|
|
29151
|
+
previewWidth: { default: a.EDITOR_THUMBNAIL_WIDTH },
|
|
29152
|
+
mediaDataUrls: { default: () => /* @__PURE__ */ new Map() },
|
|
29153
|
+
headerFooter: { default: void 0 },
|
|
29154
|
+
customProperties: { default: void 0 },
|
|
29155
|
+
firstSlideNumber: { default: void 0 },
|
|
29156
|
+
locale: { default: void 0 },
|
|
29157
|
+
theme: { default: void 0 },
|
|
29158
|
+
tableStyleMap: { default: void 0 }
|
|
29159
|
+
},
|
|
29160
|
+
setup(n) {
|
|
29161
|
+
const o = n;
|
|
29162
|
+
pG(() => o);
|
|
29163
|
+
const { t: r } = t.useI18n(), i = (0, l.computed)(() => ({
|
|
29164
|
+
width: Math.max(1, o.canvasSize.width),
|
|
29165
|
+
height: Math.max(1, o.canvasSize.height)
|
|
29166
|
+
})), s = (0, l.computed)(() => (0, a.slideThumbnailLayout)(i.value.width, i.value.height, o.previewWidth)), c = (0, l.computed)(() => ({
|
|
29167
|
+
...o.slide,
|
|
29168
|
+
elements: (0, a.buildPreviewElements)(o.slide, o.templateElements)
|
|
29169
|
+
})), d = (0, l.computed)(() => (0, a.slideThumbnailTransitionBadge)(o.slide, (e, t) => r(e, t ?? {})));
|
|
29170
|
+
return (t, o) => ((0, l.openBlock)(), (0, l.createElementBlock)("div", {
|
|
29171
|
+
class: "relative w-full overflow-hidden bg-white",
|
|
29172
|
+
style: (0, l.normalizeStyle)({
|
|
29173
|
+
height: `${s.value.height}px`,
|
|
29174
|
+
overflow: "hidden"
|
|
29175
|
+
})
|
|
29176
|
+
}, [(0, l.createVNode)(e.SlideStage_default, {
|
|
29177
|
+
slide: c.value,
|
|
29178
|
+
"canvas-size": i.value,
|
|
29179
|
+
"media-data-urls": n.mediaDataUrls,
|
|
29180
|
+
scale: s.value.scale
|
|
29181
|
+
}, null, 8, [
|
|
29182
|
+
"slide",
|
|
29183
|
+
"canvas-size",
|
|
29184
|
+
"media-data-urls",
|
|
29185
|
+
"scale"
|
|
29186
|
+
]), d.value ? ((0, l.openBlock)(), (0, l.createElementBlock)("div", {
|
|
29187
|
+
key: 0,
|
|
29188
|
+
"data-pptx-thumbnail-transition": "",
|
|
29189
|
+
title: d.value.title,
|
|
29190
|
+
style: (0, l.normalizeStyle)((0, l.unref)(a.slideThumbnailTransitionBadgeStyle)(s.value))
|
|
29191
|
+
}, (0, l.toDisplayString)(d.value.label), 13, ZG)) : (0, l.createCommentVNode)("", !0)], 4));
|
|
29192
|
+
}
|
|
29145
29193
|
});
|
|
29146
|
-
function
|
|
29194
|
+
function JG(t) {
|
|
29147
29195
|
return e.useCollaboration(t);
|
|
29148
29196
|
}
|
|
29149
|
-
function
|
|
29197
|
+
function eK(e) {
|
|
29150
29198
|
return {
|
|
29151
29199
|
remotePresences: e.remotePresences,
|
|
29152
29200
|
cursors: e.cursors,
|
|
@@ -29158,7 +29206,7 @@ function QG(e) {
|
|
|
29158
29206
|
followUser: e.followUser
|
|
29159
29207
|
};
|
|
29160
29208
|
}
|
|
29161
|
-
function
|
|
29209
|
+
function tK(e) {
|
|
29162
29210
|
return {
|
|
29163
29211
|
status: e.status,
|
|
29164
29212
|
connected: e.connected,
|
|
@@ -29168,11 +29216,11 @@ function JG(e) {
|
|
|
29168
29216
|
retry: e.retry
|
|
29169
29217
|
};
|
|
29170
29218
|
}
|
|
29171
|
-
function
|
|
29219
|
+
function nK(e) {
|
|
29172
29220
|
return "boolean" == typeof e ? e : e.value;
|
|
29173
29221
|
}
|
|
29174
|
-
function
|
|
29175
|
-
const t = (0, l.ref)(0), n = (0, l.computed)(() =>
|
|
29222
|
+
function oK(e) {
|
|
29223
|
+
const t = (0, l.ref)(0), n = (0, l.computed)(() => nK(e.canUndo)), o = (0, l.computed)(() => nK(e.canRedo));
|
|
29176
29224
|
return {
|
|
29177
29225
|
handleUndo: function() {
|
|
29178
29226
|
n.value && (e.handleUndo(), t.value = Math.max(0, t.value - 1));
|
|
@@ -29229,6 +29277,11 @@ Object.defineProperty(exports, "CollaborationCursors_default", {
|
|
|
29229
29277
|
get: function() {
|
|
29230
29278
|
return xi;
|
|
29231
29279
|
}
|
|
29280
|
+
}), Object.defineProperty(exports, "SlideThumbnail_default", {
|
|
29281
|
+
enumerable: !0,
|
|
29282
|
+
get: function() {
|
|
29283
|
+
return QG;
|
|
29284
|
+
}
|
|
29232
29285
|
}), Object.defineProperty(exports, "SlidesPane_default", {
|
|
29233
29286
|
enumerable: !0,
|
|
29234
29287
|
get: function() {
|
|
@@ -29242,17 +29295,17 @@ Object.defineProperty(exports, "CollaborationCursors_default", {
|
|
|
29242
29295
|
}), Object.defineProperty(exports, "useCollaborativeHistory", {
|
|
29243
29296
|
enumerable: !0,
|
|
29244
29297
|
get: function() {
|
|
29245
|
-
return
|
|
29298
|
+
return oK;
|
|
29246
29299
|
}
|
|
29247
29300
|
}), Object.defineProperty(exports, "useCollaborativeState", {
|
|
29248
29301
|
enumerable: !0,
|
|
29249
29302
|
get: function() {
|
|
29250
|
-
return
|
|
29303
|
+
return tK;
|
|
29251
29304
|
}
|
|
29252
29305
|
}), Object.defineProperty(exports, "usePresenceTracking", {
|
|
29253
29306
|
enumerable: !0,
|
|
29254
29307
|
get: function() {
|
|
29255
|
-
return
|
|
29308
|
+
return eK;
|
|
29256
29309
|
}
|
|
29257
29310
|
}), Object.defineProperty(exports, "useThemeStyle", {
|
|
29258
29311
|
enumerable: !0,
|
|
@@ -29267,6 +29320,6 @@ Object.defineProperty(exports, "CollaborationCursors_default", {
|
|
|
29267
29320
|
}), Object.defineProperty(exports, "useYjsProvider", {
|
|
29268
29321
|
enumerable: !0,
|
|
29269
29322
|
get: function() {
|
|
29270
|
-
return
|
|
29323
|
+
return JG;
|
|
29271
29324
|
}
|
|
29272
29325
|
});
|