pptx-vue-viewer 4.36.2 → 4.36.3
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 +7 -0
- package/dist/{AiChatPanel-BeOTgP5C.cjs → AiChatPanel-Bn-iDAZn.cjs} +1 -1
- package/dist/AiChatPanel-Bn-iDAZn.cjs.br +0 -0
- package/dist/AiChatPanel-Bn-iDAZn.cjs.gz +0 -0
- package/dist/{AiChatPanel-t6dL7YP4.js → AiChatPanel-EKhjFMJ6.js} +2 -2
- package/dist/AiChatPanel-EKhjFMJ6.js.br +0 -0
- package/dist/AiChatPanel-EKhjFMJ6.js.gz +0 -0
- package/dist/i18n/de.cjs +76 -1
- package/dist/i18n/de.cjs.br +0 -0
- package/dist/i18n/de.cjs.gz +0 -0
- package/dist/i18n/de.mjs +76 -1
- package/dist/i18n/de.mjs.br +0 -0
- package/dist/i18n/de.mjs.gz +0 -0
- package/dist/i18n/es.cjs +76 -1
- package/dist/i18n/es.cjs.br +0 -0
- package/dist/i18n/es.cjs.gz +0 -0
- package/dist/i18n/es.mjs +76 -1
- package/dist/i18n/es.mjs.br +0 -0
- package/dist/i18n/es.mjs.gz +0 -0
- package/dist/i18n/fr.cjs +76 -1
- package/dist/i18n/fr.cjs.br +0 -0
- package/dist/i18n/fr.cjs.gz +0 -0
- package/dist/i18n/fr.mjs +76 -1
- package/dist/i18n/fr.mjs.br +0 -0
- package/dist/i18n/fr.mjs.gz +0 -0
- package/dist/i18n/zh-CN.cjs +76 -1
- package/dist/i18n/zh-CN.cjs.br +0 -0
- package/dist/i18n/zh-CN.cjs.gz +0 -0
- package/dist/i18n/zh-CN.mjs +76 -1
- package/dist/i18n/zh-CN.mjs.br +0 -0
- package/dist/i18n/zh-CN.mjs.gz +0 -0
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.br +0 -0
- package/dist/index.cjs.gz +0 -0
- package/dist/index.js +2 -2
- package/dist/index.js.br +0 -0
- package/dist/index.js.gz +0 -0
- package/dist/internals.cjs +1 -1
- package/dist/internals.cjs.br +0 -0
- package/dist/internals.cjs.gz +0 -0
- package/dist/internals.js +2 -2
- package/dist/internals.js.br +0 -0
- package/dist/internals.js.gz +0 -0
- package/dist/pptx-vue-viewer.css +11 -11
- package/dist/pptx-vue-viewer.css.br +0 -0
- package/dist/pptx-vue-viewer.css.gz +0 -0
- package/dist/{useViewerSettingsDialog-TAbf4Ixp.cjs → useViewerSettingsDialog-B6Kgdt-N.cjs} +437 -423
- package/dist/useViewerSettingsDialog-B6Kgdt-N.cjs.br +0 -0
- package/dist/useViewerSettingsDialog-B6Kgdt-N.cjs.gz +0 -0
- package/dist/{useViewerSettingsDialog-r1bUiLdb.js → useViewerSettingsDialog-DC1BK_TE.js} +326 -317
- package/dist/useViewerSettingsDialog-DC1BK_TE.js.br +0 -0
- package/dist/{useViewerSettingsDialog-r1bUiLdb.js.gz → useViewerSettingsDialog-DC1BK_TE.js.gz} +0 -0
- package/dist/viewer/index.cjs +1 -1
- package/dist/viewer/index.cjs.br +0 -0
- package/dist/viewer/index.cjs.gz +0 -0
- package/dist/viewer/index.js +3 -3
- package/dist/viewer/index.js.br +0 -0
- package/dist/viewer/index.js.gz +0 -0
- package/dist/{viewer-SxxyChcY.js → viewer-B9i-UUPm.js} +9660 -9664
- package/dist/viewer-B9i-UUPm.js.br +0 -0
- package/dist/viewer-B9i-UUPm.js.gz +0 -0
- package/dist/{viewer-CDJjPn4g.cjs → viewer-DLYseLiI.cjs} +13 -17
- package/dist/viewer-DLYseLiI.cjs.br +0 -0
- package/dist/viewer-DLYseLiI.cjs.gz +0 -0
- package/dist/{y-webrtc-KiXq-fxq.cjs → y-webrtc-BLNwChNj.cjs} +1 -1
- package/dist/y-webrtc-BLNwChNj.cjs.br +0 -0
- package/dist/{y-webrtc-KiXq-fxq.cjs.gz → y-webrtc-BLNwChNj.cjs.gz} +0 -0
- package/dist/{y-webrtc-swexTCT2.js → y-webrtc-moBg1ISb.js} +74 -74
- package/dist/y-webrtc-moBg1ISb.js.br +0 -0
- package/dist/y-webrtc-moBg1ISb.js.gz +0 -0
- package/package.json +3 -3
- package/dist/AiChatPanel-BeOTgP5C.cjs.br +0 -0
- package/dist/AiChatPanel-BeOTgP5C.cjs.gz +0 -0
- package/dist/AiChatPanel-t6dL7YP4.js.br +0 -0
- package/dist/AiChatPanel-t6dL7YP4.js.gz +0 -0
- package/dist/useViewerSettingsDialog-TAbf4Ixp.cjs.br +0 -0
- package/dist/useViewerSettingsDialog-TAbf4Ixp.cjs.gz +0 -0
- package/dist/useViewerSettingsDialog-r1bUiLdb.js.br +0 -0
- package/dist/viewer-CDJjPn4g.cjs.br +0 -0
- package/dist/viewer-CDJjPn4g.cjs.gz +0 -0
- package/dist/viewer-SxxyChcY.js.br +0 -0
- package/dist/viewer-SxxyChcY.js.gz +0 -0
- package/dist/y-webrtc-KiXq-fxq.cjs.br +0 -0
- package/dist/y-webrtc-swexTCT2.js.br +0 -0
- package/dist/y-webrtc-swexTCT2.js.gz +0 -0
|
@@ -5648,7 +5648,15 @@ function Ws(e, t) {
|
|
|
5648
5648
|
};
|
|
5649
5649
|
}
|
|
5650
5650
|
var Us = Symbol("pptx-vue-table-theme");
|
|
5651
|
-
|
|
5651
|
+
function Hs(e, t) {
|
|
5652
|
+
return {
|
|
5653
|
+
colorScheme: e?.colorScheme,
|
|
5654
|
+
tableStyleMap: t,
|
|
5655
|
+
fontScheme: e?.fontScheme,
|
|
5656
|
+
formatScheme: e?.formatScheme
|
|
5657
|
+
};
|
|
5658
|
+
}
|
|
5659
|
+
var Ks = Xo((0, d.defineComponent)({
|
|
5652
5660
|
__name: "TableResizeOverlay",
|
|
5653
5661
|
props: {
|
|
5654
5662
|
columnWidths: {},
|
|
@@ -5759,23 +5767,23 @@ var Gs = Xo((0, d.defineComponent)({
|
|
|
5759
5767
|
})
|
|
5760
5768
|
}, [...n[1] || (n[1] = [(0, d.createElementVNode)("div", { class: "my-auto h-px w-full bg-transparent transition-colors group-hover:bg-blue-400/60" }, null, -1)])], 4))), 128))], 4))), 128))], 64)) : (0, d.createCommentVNode)("", !0)], 544));
|
|
5761
5769
|
}
|
|
5762
|
-
}), [["__scopeId", "data-v-288ab33e"]]),
|
|
5770
|
+
}), [["__scopeId", "data-v-288ab33e"]]), Ys = ["data-element-id", "data-pptx-element"], qs = { key: 0 }, Xs = [
|
|
5763
5771
|
"colspan",
|
|
5764
5772
|
"rowspan",
|
|
5765
5773
|
"onClick",
|
|
5766
5774
|
"onDblclick"
|
|
5767
|
-
],
|
|
5775
|
+
], Zs = {
|
|
5768
5776
|
key: 0,
|
|
5769
5777
|
class: "pptx-vue-table__diag",
|
|
5770
5778
|
"aria-hidden": "true",
|
|
5771
5779
|
preserveAspectRatio: "none"
|
|
5772
|
-
},
|
|
5780
|
+
}, Js = ["stroke", "stroke-width"], Qs = ["stroke", "stroke-width"], ec = { key: 0 }, tc = {
|
|
5773
5781
|
key: 0,
|
|
5774
5782
|
class: "pptx-vue-table__para-break"
|
|
5775
|
-
},
|
|
5783
|
+
}, nc = { key: 1 }, oc = {
|
|
5776
5784
|
key: 4,
|
|
5777
5785
|
class: "pptx-vue-table__text"
|
|
5778
|
-
},
|
|
5786
|
+
}, ac = Xo((0, d.defineComponent)({
|
|
5779
5787
|
__name: "TableRenderer",
|
|
5780
5788
|
props: {
|
|
5781
5789
|
element: {},
|
|
@@ -5806,10 +5814,11 @@ var Gs = Xo((0, d.defineComponent)({
|
|
|
5806
5814
|
if (!e) return [];
|
|
5807
5815
|
const n = t.element.id, o = s.value, l = c.value, i = (p = a) ? (0, d.toValue)(p) : void 0;
|
|
5808
5816
|
var p;
|
|
5809
|
-
const m = t.colorScheme ?? i?.colorScheme, v = t.tableStyleMap ?? i?.tableStyleMap, f = i?.fontScheme, g = m || v || f ? {
|
|
5817
|
+
const m = t.colorScheme ?? i?.colorScheme, v = t.tableStyleMap ?? i?.tableStyleMap, f = i?.fontScheme, g = i?.formatScheme, y = m || v || f || g ? {
|
|
5810
5818
|
colorScheme: m,
|
|
5811
5819
|
tableStyleMap: v,
|
|
5812
|
-
fontScheme: f
|
|
5820
|
+
fontScheme: f,
|
|
5821
|
+
formatScheme: g
|
|
5813
5822
|
} : void 0;
|
|
5814
5823
|
return e.rows.map((t, a) => {
|
|
5815
5824
|
const r = [];
|
|
@@ -5820,7 +5829,7 @@ var Gs = Xo((0, d.defineComponent)({
|
|
|
5820
5829
|
cellIndex: i,
|
|
5821
5830
|
rowCount: o,
|
|
5822
5831
|
columnCount: l
|
|
5823
|
-
},
|
|
5832
|
+
}, y), p = t.style ? function(e) {
|
|
5824
5833
|
return (0, u.cellPatternFillCss)(e);
|
|
5825
5834
|
}(t.style) : null, m = t, v = m.textRuns && m.textRuns.length > 0 ? m.textRuns : null;
|
|
5826
5835
|
r.push({
|
|
@@ -5839,7 +5848,7 @@ var Gs = Xo((0, d.defineComponent)({
|
|
|
5839
5848
|
cellIndex: i,
|
|
5840
5849
|
rowCount: o,
|
|
5841
5850
|
columnCount: l
|
|
5842
|
-
},
|
|
5851
|
+
}, y)
|
|
5843
5852
|
});
|
|
5844
5853
|
}), {
|
|
5845
5854
|
key: `${n}-row-${a}`,
|
|
@@ -5916,7 +5925,7 @@ var Gs = Xo((0, d.defineComponent)({
|
|
|
5916
5925
|
default: (0, d.withCtx)(() => [(0, d.createTextVNode)((0, d.toDisplayString)(e.textStyleOverrideCss), 1)]),
|
|
5917
5926
|
_: 1
|
|
5918
5927
|
})) : (0, d.createCommentVNode)("", !0),
|
|
5919
|
-
(0, d.createVNode)(
|
|
5928
|
+
(0, d.createVNode)(Ks, {
|
|
5920
5929
|
"column-widths": r.value.columnWidths,
|
|
5921
5930
|
rows: r.value.rows,
|
|
5922
5931
|
editable: B.value,
|
|
@@ -5926,7 +5935,7 @@ var Gs = Xo((0, d.defineComponent)({
|
|
|
5926
5935
|
default: (0, d.withCtx)(() => [(0, d.createElementVNode)("table", {
|
|
5927
5936
|
class: "pptx-vue-table__grid",
|
|
5928
5937
|
style: (0, d.normalizeStyle)(i.value)
|
|
5929
|
-
}, [p.value.length > 0 ? ((0, d.openBlock)(), (0, d.createElementBlock)("colgroup",
|
|
5938
|
+
}, [p.value.length > 0 ? ((0, d.openBlock)(), (0, d.createElementBlock)("colgroup", qs, [((0, d.openBlock)(!0), (0, d.createElementBlock)(d.Fragment, null, (0, d.renderList)(p.value, (t, n) => ((0, d.openBlock)(), (0, d.createElementBlock)("col", {
|
|
5930
5939
|
key: `${e.element.id}-col-${n}`,
|
|
5931
5940
|
style: (0, d.normalizeStyle)({ width: t })
|
|
5932
5941
|
}, null, 4))), 128))])) : (0, d.createCommentVNode)("", !0), (0, d.createElementVNode)("tbody", null, [((0, d.openBlock)(!0), (0, d.createElementBlock)(d.Fragment, null, (0, d.renderList)(m.value, (e) => ((0, d.openBlock)(), (0, d.createElementBlock)("tr", {
|
|
@@ -5956,7 +5965,7 @@ var Gs = Xo((0, d.defineComponent)({
|
|
|
5956
5965
|
B.value && (e.stopPropagation(), h.selectCell(t.rowIndex, t.colIndex, e.shiftKey));
|
|
5957
5966
|
}(t, e),
|
|
5958
5967
|
onDblclick: (t) => I(t, e)
|
|
5959
|
-
}, [e.diagonals ? ((0, d.openBlock)(), (0, d.createElementBlock)("svg",
|
|
5968
|
+
}, [e.diagonals ? ((0, d.openBlock)(), (0, d.createElementBlock)("svg", Zs, [e.diagonals.diagDownColor && e.diagonals.diagDownWidth ? ((0, d.openBlock)(), (0, d.createElementBlock)("line", {
|
|
5960
5969
|
key: 0,
|
|
5961
5970
|
x1: "0",
|
|
5962
5971
|
y1: "0",
|
|
@@ -5965,7 +5974,7 @@ var Gs = Xo((0, d.defineComponent)({
|
|
|
5965
5974
|
stroke: e.diagonals.diagDownColor,
|
|
5966
5975
|
"stroke-width": e.diagonals.diagDownWidth,
|
|
5967
5976
|
style: (0, d.normalizeStyle)({ strokeWidth: (0, d.unref)(u.screenStrokeWidth)(e.diagonals.diagDownWidth) })
|
|
5968
|
-
}, null, 12,
|
|
5977
|
+
}, null, 12, Js)) : (0, d.createCommentVNode)("", !0), e.diagonals.diagUpColor && e.diagonals.diagUpWidth ? ((0, d.openBlock)(), (0, d.createElementBlock)("line", {
|
|
5969
5978
|
key: 1,
|
|
5970
5979
|
x1: "0",
|
|
5971
5980
|
y1: "100%",
|
|
@@ -5974,7 +5983,7 @@ var Gs = Xo((0, d.defineComponent)({
|
|
|
5974
5983
|
stroke: e.diagonals.diagUpColor,
|
|
5975
5984
|
"stroke-width": e.diagonals.diagUpWidth,
|
|
5976
5985
|
style: (0, d.normalizeStyle)({ strokeWidth: (0, d.unref)(u.screenStrokeWidth)(e.diagonals.diagUpWidth) })
|
|
5977
|
-
}, null, 12,
|
|
5986
|
+
}, null, 12, Qs)) : (0, d.createCommentVNode)("", !0)])) : (0, d.createCommentVNode)("", !0), C(e) ? (0, d.withDirectives)(((0, d.openBlock)(), (0, d.createElementBlock)("input", {
|
|
5978
5987
|
key: 1,
|
|
5979
5988
|
ref_for: !0,
|
|
5980
5989
|
ref: E,
|
|
@@ -5994,25 +6003,25 @@ var Gs = Xo((0, d.defineComponent)({
|
|
|
5994
6003
|
display: "block",
|
|
5995
6004
|
...t.css
|
|
5996
6005
|
})
|
|
5997
|
-
}, [((0, d.openBlock)(!0), (0, d.createElementBlock)(d.Fragment, null, (0, d.renderList)(t.runs, (t, o) => ((0, d.openBlock)(), (0, d.createElementBlock)(d.Fragment, { key: `${e.key}-para-${n}-run-${o}` }, [t.isLineBreak ? ((0, d.openBlock)(), (0, d.createElementBlock)("br",
|
|
6006
|
+
}, [((0, d.openBlock)(!0), (0, d.createElementBlock)(d.Fragment, null, (0, d.renderList)(t.runs, (t, o) => ((0, d.openBlock)(), (0, d.createElementBlock)(d.Fragment, { key: `${e.key}-para-${n}-run-${o}` }, [t.isLineBreak ? ((0, d.openBlock)(), (0, d.createElementBlock)("br", ec)) : ((0, d.openBlock)(), (0, d.createElementBlock)("span", {
|
|
5998
6007
|
key: 1,
|
|
5999
6008
|
class: "pptx-vue-table__run",
|
|
6000
6009
|
style: (0, d.normalizeStyle)(f(t))
|
|
6001
|
-
}, (0, d.toDisplayString)(t.text), 5))], 64))), 128))], 4))), 128)) : e.textRuns ? ((0, d.openBlock)(!0), (0, d.createElementBlock)(d.Fragment, { key: 3 }, (0, d.renderList)(e.textRuns, (t, n) => ((0, d.openBlock)(), (0, d.createElementBlock)(d.Fragment, { key: `${e.key}-run-${n}` }, [t.isParagraphBreak ? ((0, d.openBlock)(), (0, d.createElementBlock)("div",
|
|
6010
|
+
}, (0, d.toDisplayString)(t.text), 5))], 64))), 128))], 4))), 128)) : e.textRuns ? ((0, d.openBlock)(!0), (0, d.createElementBlock)(d.Fragment, { key: 3 }, (0, d.renderList)(e.textRuns, (t, n) => ((0, d.openBlock)(), (0, d.createElementBlock)(d.Fragment, { key: `${e.key}-run-${n}` }, [t.isParagraphBreak ? ((0, d.openBlock)(), (0, d.createElementBlock)("div", tc)) : t.isLineBreak ? ((0, d.openBlock)(), (0, d.createElementBlock)("br", nc)) : ((0, d.openBlock)(), (0, d.createElementBlock)("span", {
|
|
6002
6011
|
key: 2,
|
|
6003
6012
|
class: "pptx-vue-table__run",
|
|
6004
6013
|
style: (0, d.normalizeStyle)(f(t))
|
|
6005
|
-
}, (0, d.toDisplayString)(t.text), 5))], 64))), 128)) : ((0, d.openBlock)(), (0, d.createElementBlock)("span",
|
|
6014
|
+
}, (0, d.toDisplayString)(t.text), 5))], 64))), 128)) : ((0, d.openBlock)(), (0, d.createElementBlock)("span", oc, (0, d.toDisplayString)(e.text), 1))], 46, Xs))), 128))], 4))), 128))])], 4)]),
|
|
6006
6015
|
_: 1
|
|
6007
6016
|
}, 8, [
|
|
6008
6017
|
"column-widths",
|
|
6009
6018
|
"rows",
|
|
6010
6019
|
"editable"
|
|
6011
6020
|
])
|
|
6012
|
-
], 12,
|
|
6021
|
+
], 12, Ys)) : (0, d.createCommentVNode)("", !0);
|
|
6013
6022
|
}
|
|
6014
|
-
}), [["__scopeId", "data-v-
|
|
6015
|
-
var
|
|
6023
|
+
}), [["__scopeId", "data-v-813c8811"]]), rc = new u.GlyphOutlineFontCache(), ic = (0, d.ref)(0), sc = (0, u.createGlyphOutlineLookup)(rc);
|
|
6024
|
+
var cc = ["d", "fill"], uc = [
|
|
6016
6025
|
"x",
|
|
6017
6026
|
"y",
|
|
6018
6027
|
"transform",
|
|
@@ -6022,7 +6031,7 @@ var sc = ["d", "fill"], cc = [
|
|
|
6022
6031
|
"font-style",
|
|
6023
6032
|
"font-family",
|
|
6024
6033
|
"text-decoration"
|
|
6025
|
-
],
|
|
6034
|
+
], dc = ["data-glyph-slices"], pc = ["id"], mc = ["x", "width"], vc = [
|
|
6026
6035
|
"x",
|
|
6027
6036
|
"y",
|
|
6028
6037
|
"transform",
|
|
@@ -6033,7 +6042,7 @@ var sc = ["d", "fill"], cc = [
|
|
|
6033
6042
|
"font-style",
|
|
6034
6043
|
"font-family",
|
|
6035
6044
|
"text-decoration"
|
|
6036
|
-
],
|
|
6045
|
+
], fc = (0, d.defineComponent)({
|
|
6037
6046
|
__name: "WordArtEnvelopeGlyph",
|
|
6038
6047
|
props: {
|
|
6039
6048
|
glyph: {},
|
|
@@ -6049,7 +6058,7 @@ var sc = ["d", "fill"], cc = [
|
|
|
6049
6058
|
key: 0,
|
|
6050
6059
|
d: e.glyph.outlinePath,
|
|
6051
6060
|
fill: e.tspan.fill
|
|
6052
|
-
}, null, 8,
|
|
6061
|
+
}, null, 8, cc)) : !e.glyph.slices || e.glyph.slices.length <= 1 ? ((0, d.openBlock)(), (0, d.createElementBlock)("text", {
|
|
6053
6062
|
key: 1,
|
|
6054
6063
|
x: e.glyph.x,
|
|
6055
6064
|
y: e.glyph.y,
|
|
@@ -6060,7 +6069,7 @@ var sc = ["d", "fill"], cc = [
|
|
|
6060
6069
|
"font-style": e.tspan.fontStyle,
|
|
6061
6070
|
"font-family": e.tspan.fontFamily,
|
|
6062
6071
|
"text-decoration": e.tspan.textDecoration
|
|
6063
|
-
}, (0, d.toDisplayString)(e.glyph.char), 9,
|
|
6072
|
+
}, (0, d.toDisplayString)(e.glyph.char), 9, uc)) : ((0, d.openBlock)(), (0, d.createElementBlock)("g", {
|
|
6064
6073
|
key: 2,
|
|
6065
6074
|
"data-glyph-slices": e.glyph.slices.length
|
|
6066
6075
|
}, [((0, d.openBlock)(!0), (0, d.createElementBlock)(d.Fragment, null, (0, d.renderList)(e.glyph.slices, (e, t) => ((0, d.openBlock)(), (0, d.createElementBlock)("clipPath", {
|
|
@@ -6072,7 +6081,7 @@ var sc = ["d", "fill"], cc = [
|
|
|
6072
6081
|
y: "-100000",
|
|
6073
6082
|
width: Math.max(0, e.clipX1 - e.clipX0),
|
|
6074
6083
|
height: "200000"
|
|
6075
|
-
}, null, 8,
|
|
6084
|
+
}, null, 8, mc)], 8, pc))), 128)), ((0, d.openBlock)(!0), (0, d.createElementBlock)(d.Fragment, null, (0, d.renderList)(e.glyph.slices, (t, o) => ((0, d.openBlock)(), (0, d.createElementBlock)("text", {
|
|
6076
6085
|
key: `txt-${o}`,
|
|
6077
6086
|
x: e.glyph.x,
|
|
6078
6087
|
y: e.glyph.y,
|
|
@@ -6084,34 +6093,34 @@ var sc = ["d", "fill"], cc = [
|
|
|
6084
6093
|
"font-style": e.tspan.fontStyle,
|
|
6085
6094
|
"font-family": e.tspan.fontFamily,
|
|
6086
6095
|
"text-decoration": e.tspan.textDecoration
|
|
6087
|
-
}, (0, d.toDisplayString)(e.glyph.char), 9,
|
|
6096
|
+
}, (0, d.toDisplayString)(e.glyph.char), 9, vc))), 128))], 8, dc));
|
|
6088
6097
|
}
|
|
6089
|
-
}),
|
|
6098
|
+
}), gc = [
|
|
6090
6099
|
"width",
|
|
6091
6100
|
"height",
|
|
6092
6101
|
"viewBox"
|
|
6093
|
-
],
|
|
6102
|
+
], yc = [
|
|
6094
6103
|
"width",
|
|
6095
6104
|
"height",
|
|
6096
6105
|
"viewBox"
|
|
6097
|
-
],
|
|
6106
|
+
], hc = ["id", "d"], kc = [
|
|
6098
6107
|
"font-size",
|
|
6099
6108
|
"font-family",
|
|
6100
6109
|
"fill",
|
|
6101
6110
|
"font-weight",
|
|
6102
6111
|
"font-style"
|
|
6103
|
-
],
|
|
6112
|
+
], xc = [
|
|
6104
6113
|
"href",
|
|
6105
6114
|
"startOffset",
|
|
6106
6115
|
"text-anchor"
|
|
6107
|
-
],
|
|
6116
|
+
], bc = [
|
|
6108
6117
|
"fill",
|
|
6109
6118
|
"font-size",
|
|
6110
6119
|
"font-weight",
|
|
6111
6120
|
"font-style",
|
|
6112
6121
|
"font-family",
|
|
6113
6122
|
"text-decoration"
|
|
6114
|
-
],
|
|
6123
|
+
], Sc = "#111827", wc = Xo((0, d.defineComponent)({
|
|
6115
6124
|
__name: "WordArtText",
|
|
6116
6125
|
props: {
|
|
6117
6126
|
element: {},
|
|
@@ -6147,11 +6156,11 @@ var sc = ["d", "fill"], cc = [
|
|
|
6147
6156
|
textAnchor: "start"
|
|
6148
6157
|
};
|
|
6149
6158
|
}
|
|
6150
|
-
}), f = (0, d.computed)(() => n.value?.textStyle?.fontSize ?? 24), g = (0, d.computed)(() => n.value?.textStyle?.fontFamily ? (0, h.getSubstituteFontFamily)(n.value.textStyle.fontFamily) : u.DEFAULT_FONT_FAMILY), y = (0, d.computed)(() => (0, u.normalizeHexColor)(n.value?.textStyle?.color,
|
|
6159
|
+
}), f = (0, d.computed)(() => n.value?.textStyle?.fontSize ?? 24), g = (0, d.computed)(() => n.value?.textStyle?.fontFamily ? (0, h.getSubstituteFontFamily)(n.value.textStyle.fontFamily) : u.DEFAULT_FONT_FAMILY), y = (0, d.computed)(() => (0, u.normalizeHexColor)(n.value?.textStyle?.color, Sc)), k = (0, d.computed)(() => n.value?.textStyle?.bold ? 700 : 400), x = (0, d.computed)(() => n.value?.textStyle?.italic ? "italic" : "normal");
|
|
6151
6160
|
function b(e) {
|
|
6152
6161
|
const t = e.style ?? {}, o = [];
|
|
6153
6162
|
(t.underline || t.hyperlink) && o.push("underline"), t.strikethrough && o.push("line-through");
|
|
6154
|
-
const l = n.value?.textStyle, a = t.hyperlink ? (0, u.normalizeHexColor)(t.color ?? l?.color, "#0563C1") : (0, u.normalizeHexColor)(t.color ?? l?.color,
|
|
6163
|
+
const l = n.value?.textStyle, a = t.hyperlink ? (0, u.normalizeHexColor)(t.color ?? l?.color, "#0563C1") : (0, u.normalizeHexColor)(t.color ?? l?.color, Sc), r = t.fontFamily ?? l?.fontFamily;
|
|
6155
6164
|
return {
|
|
6156
6165
|
fill: a,
|
|
6157
6166
|
fontSize: t.fontSize ?? l?.fontSize ?? 24,
|
|
@@ -6179,12 +6188,12 @@ var sc = ["d", "fill"], cc = [
|
|
|
6179
6188
|
useGlyphEnvelope: p,
|
|
6180
6189
|
glyphLines: (0, d.computed)(() => {
|
|
6181
6190
|
if (!p.value) return [];
|
|
6182
|
-
|
|
6191
|
+
ic.value;
|
|
6183
6192
|
const e = (0, u.buildGlyphEnvelopeBlock)(n.value, o.value.map((e) => e.segments.map((e, t) => ({
|
|
6184
6193
|
text: e.text,
|
|
6185
6194
|
font: m(e),
|
|
6186
6195
|
segmentIndex: t
|
|
6187
|
-
}))), l.value, a.value, t.value?.textStyle?.align, r.value, i.value,
|
|
6196
|
+
}))), l.value, a.value, t.value?.textStyle?.align, r.value, i.value, sc);
|
|
6188
6197
|
return o.value.map((t, n) => ({
|
|
6189
6198
|
lineIndex: n,
|
|
6190
6199
|
glyphs: e[n] ?? [],
|
|
@@ -6213,7 +6222,7 @@ var sc = ["d", "fill"], cc = [
|
|
|
6213
6222
|
"aria-hidden": "true",
|
|
6214
6223
|
style: (0, d.normalizeStyle)({ zIndex: e.zIndex })
|
|
6215
6224
|
}, [((0, d.openBlock)(!0), (0, d.createElementBlock)(d.Fragment, null, (0, d.renderList)((0, d.unref)(E), (e) => ((0, d.openBlock)(), (0, d.createElementBlock)(d.Fragment, { key: `line-${e.lineIndex}` }, [((0, d.openBlock)(!0), (0, d.createElementBlock)(d.Fragment, null, (0, d.renderList)(e.glyphs, (t, n) => {
|
|
6216
|
-
return (0, d.openBlock)(), (0, d.createBlock)(
|
|
6225
|
+
return (0, d.openBlock)(), (0, d.createBlock)(fc, {
|
|
6217
6226
|
key: `g-${e.lineIndex}-${n}`,
|
|
6218
6227
|
glyph: t,
|
|
6219
6228
|
tspan: (a = t, r = e.segments, b(r[a.segmentIndex])),
|
|
@@ -6224,7 +6233,7 @@ var sc = ["d", "fill"], cc = [
|
|
|
6224
6233
|
"clip-id-prefix"
|
|
6225
6234
|
]);
|
|
6226
6235
|
var o, l, a, r;
|
|
6227
|
-
}), 128))], 64))), 128))], 12,
|
|
6236
|
+
}), 128))], 64))), 128))], 12, gc)) : l.value && s.value.length > 0 ? ((0, d.openBlock)(), (0, d.createElementBlock)("svg", {
|
|
6228
6237
|
key: 1,
|
|
6229
6238
|
class: "pptx-vue-wordart",
|
|
6230
6239
|
width: a.value,
|
|
@@ -6238,7 +6247,7 @@ var sc = ["d", "fill"], cc = [
|
|
|
6238
6247
|
key: `def-${t}`,
|
|
6239
6248
|
d: S(t),
|
|
6240
6249
|
fill: "none"
|
|
6241
|
-
}, null, 8,
|
|
6250
|
+
}, null, 8, hc))), 128))]), ((0, d.openBlock)(!0), (0, d.createElementBlock)(d.Fragment, null, (0, d.renderList)(s.value, (e, t) => ((0, d.openBlock)(), (0, d.createElementBlock)("text", {
|
|
6242
6251
|
key: `txt-${t}`,
|
|
6243
6252
|
"font-size": f.value,
|
|
6244
6253
|
"font-family": g.value,
|
|
@@ -6257,31 +6266,31 @@ var sc = ["d", "fill"], cc = [
|
|
|
6257
6266
|
"font-style": b(e).fontStyle,
|
|
6258
6267
|
"font-family": b(e).fontFamily,
|
|
6259
6268
|
"text-decoration": b(e).textDecoration
|
|
6260
|
-
}, (0, d.toDisplayString)(e.text), 9,
|
|
6269
|
+
}, (0, d.toDisplayString)(e.text), 9, bc))), 128))], 8, xc)], 8, kc))), 128))], 12, yc)) : (0, d.createCommentVNode)("", !0);
|
|
6261
6270
|
}
|
|
6262
|
-
}), [["__scopeId", "data-v-51c1eadc"]]),
|
|
6263
|
-
function
|
|
6264
|
-
(0, d.provide)(
|
|
6271
|
+
}), [["__scopeId", "data-v-51c1eadc"]]), Ec = Symbol("pptx-vue-zoom-navigation");
|
|
6272
|
+
function Bc(e) {
|
|
6273
|
+
(0, d.provide)(Ec, e);
|
|
6265
6274
|
}
|
|
6266
|
-
var
|
|
6267
|
-
function
|
|
6275
|
+
var Cc = Symbol("pptx-vue-zoom-target");
|
|
6276
|
+
function Ic(e) {
|
|
6268
6277
|
if (e) return {
|
|
6269
6278
|
backgroundColor: e.backgroundColor,
|
|
6270
6279
|
slideNumber: e.slideNumber,
|
|
6271
6280
|
sectionName: e.sectionName
|
|
6272
6281
|
};
|
|
6273
6282
|
}
|
|
6274
|
-
function
|
|
6275
|
-
(0, d.provide)(
|
|
6283
|
+
function Pc(e) {
|
|
6284
|
+
(0, d.provide)(Cc, e);
|
|
6276
6285
|
}
|
|
6277
|
-
var
|
|
6286
|
+
var Tc = [
|
|
6278
6287
|
"data-element-id",
|
|
6279
6288
|
"data-zoom-type",
|
|
6280
6289
|
"data-zoom-target",
|
|
6281
6290
|
"aria-label",
|
|
6282
6291
|
"role",
|
|
6283
6292
|
"tabindex"
|
|
6284
|
-
],
|
|
6293
|
+
], _c = [
|
|
6285
6294
|
"data-zoom-target",
|
|
6286
6295
|
"data-section-id",
|
|
6287
6296
|
"aria-label",
|
|
@@ -6289,13 +6298,13 @@ var Pc = [
|
|
|
6289
6298
|
"tabindex",
|
|
6290
6299
|
"onClick",
|
|
6291
6300
|
"onKeydown"
|
|
6292
|
-
],
|
|
6301
|
+
], Oc = ["src", "alt"], Dc = {
|
|
6293
6302
|
key: 2,
|
|
6294
6303
|
class: "pptx-vue-zoom-tile"
|
|
6295
|
-
},
|
|
6304
|
+
}, Nc = ["src", "alt"], Lc = { class: "pptx-vue-zoom-slide-label" }, Ac = {
|
|
6296
6305
|
key: 0,
|
|
6297
6306
|
class: "pptx-vue-zoom-section-label"
|
|
6298
|
-
},
|
|
6307
|
+
}, Mc = { class: "pptx-vue-zoom-badge" }, zc = Xo((0, d.defineComponent)({
|
|
6299
6308
|
__name: "ZoomRenderer",
|
|
6300
6309
|
props: {
|
|
6301
6310
|
element: {},
|
|
@@ -6305,10 +6314,10 @@ var Pc = [
|
|
|
6305
6314
|
presenting: { type: Boolean }
|
|
6306
6315
|
},
|
|
6307
6316
|
setup(e) {
|
|
6308
|
-
const t = e, { t: n } = Ho(), o = (0, d.computed)(() => ol(t.element, t.zIndex)), l = il(() => t.element, () => t.interactive, () => t.presenting), a = (0, d.computed)(() => (0, h.isZoomElement)(t.element) ? t.element : void 0), r = (0, d.computed)(() => a.value?.imageData), i = (0, d.computed)(() => a.value?.targetSlideIndex ?? 0), s = (0, d.computed)(() => a.value?.zoomType ?? "slide"), c = (0, d.computed)(() => a.value?.targetSectionId), p = (0, d.computed)(() => "section" === s.value ? n("pptx.zoom.sectionZoom") : n("pptx.zoom.slideZoom")), m = (0, d.inject)(
|
|
6317
|
+
const t = e, { t: n } = Ho(), o = (0, d.computed)(() => ol(t.element, t.zIndex)), l = il(() => t.element, () => t.interactive, () => t.presenting), a = (0, d.computed)(() => (0, h.isZoomElement)(t.element) ? t.element : void 0), r = (0, d.computed)(() => a.value?.imageData), i = (0, d.computed)(() => a.value?.targetSlideIndex ?? 0), s = (0, d.computed)(() => a.value?.zoomType ?? "slide"), c = (0, d.computed)(() => a.value?.targetSectionId), p = (0, d.computed)(() => "section" === s.value ? n("pptx.zoom.sectionZoom") : n("pptx.zoom.slideZoom")), m = (0, d.inject)(Cc, void 0), v = (0, d.computed)(() => m?.(i.value)), f = (0, d.computed)(() => a.value ? (0, u.buildSummaryZoomView)(a.value, m, (e, t) => n(e, t ?? {})) : void 0), g = (0, d.computed)(() => ({ backgroundColor: v.value?.backgroundColor ?? "#f0f0f0" })), y = (0, d.computed)(() => void 0 !== v.value?.slideNumber ? n("pptx.notes.slideN", { n: v.value.slideNumber }) : n("pptx.notes.slideN", { n: i.value + 1 })), k = (0, d.computed)(() => v.value?.sectionName ?? c.value), x = (0, d.computed)(() => "section" === s.value && c.value ? n("pptx.zoom.ariaLabelSection", {
|
|
6309
6318
|
number: i.value + 1,
|
|
6310
6319
|
section: c.value
|
|
6311
|
-
}) : n("pptx.zoom.ariaLabel", { number: i.value + 1 })), b = (0, d.inject)(
|
|
6320
|
+
}) : n("pptx.zoom.ariaLabel", { number: i.value + 1 })), b = (0, d.inject)(Ec, void 0), S = (0, d.computed)(() => Boolean(b && a.value));
|
|
6312
6321
|
function w() {
|
|
6313
6322
|
if (!b || !a.value) return;
|
|
6314
6323
|
const e = (0, u.resolveZoomNavigationTarget)(a.value);
|
|
@@ -6367,19 +6376,19 @@ var Pc = [
|
|
|
6367
6376
|
src: e.imageSrc,
|
|
6368
6377
|
alt: e.ariaLabel,
|
|
6369
6378
|
draggable: "false"
|
|
6370
|
-
}, null, 8,
|
|
6379
|
+
}, null, 8, Oc)) : ((0, d.openBlock)(), (0, d.createElementBlock)(d.Fragment, { key: 1 }, [(0, d.createElementVNode)("div", null, (0, d.toDisplayString)(e.label), 1), (0, d.createElementVNode)("div", null, (0, d.toDisplayString)(e.slideLabel), 1)], 64))], 44, _c))), 128)), a[0] || (a[0] = (0, d.createElementVNode)("div", { class: "pptx-vue-zoom-badge" }, "Summary Zoom", -1))], 4)) : ((0, d.openBlock)(), (0, d.createElementBlock)("div", Dc, [r.value ? ((0, d.openBlock)(), (0, d.createElementBlock)("img", {
|
|
6371
6380
|
key: 0,
|
|
6372
6381
|
src: r.value,
|
|
6373
6382
|
alt: (0, d.unref)(n)("pptx.zoom.slidePreviewAlt", { number: i.value + 1 }),
|
|
6374
6383
|
class: "pptx-vue-zoom-img",
|
|
6375
6384
|
draggable: "false"
|
|
6376
|
-
}, null, 8,
|
|
6385
|
+
}, null, 8, Nc)) : ((0, d.openBlock)(), (0, d.createElementBlock)("div", {
|
|
6377
6386
|
key: 1,
|
|
6378
6387
|
class: "pptx-vue-zoom-thumbnail",
|
|
6379
6388
|
style: (0, d.normalizeStyle)(g.value)
|
|
6380
|
-
}, [(0, d.createElementVNode)("div",
|
|
6389
|
+
}, [(0, d.createElementVNode)("div", Lc, (0, d.toDisplayString)(y.value), 1), k.value ? ((0, d.openBlock)(), (0, d.createElementBlock)("div", Ac, (0, d.toDisplayString)(k.value), 1)) : (0, d.createCommentVNode)("", !0)], 4)), (0, d.createElementVNode)("div", Mc, (0, d.toDisplayString)(p.value), 1)]))], 46, Tc));
|
|
6381
6390
|
}
|
|
6382
|
-
}), [["__scopeId", "data-v-12ce2987"]]),
|
|
6391
|
+
}), [["__scopeId", "data-v-12ce2987"]]), Rc = ["data-element-id", "data-pptx-element"], Vc = ["data-element-id", "data-pptx-element"], jc = ["data-anim-id", "data-pptx-animation-layer"], $c = ["data-element-id", "data-pptx-element"], Wc = { class: "pptx-vue-placeholder" }, Uc = (0, d.defineComponent)({
|
|
6383
6392
|
__name: "ElementRenderer",
|
|
6384
6393
|
props: {
|
|
6385
6394
|
element: {},
|
|
@@ -6462,7 +6471,7 @@ var Pc = [
|
|
|
6462
6471
|
"parent-group-fill",
|
|
6463
6472
|
"inline-editing-element-id"
|
|
6464
6473
|
]))), 128))
|
|
6465
|
-
], 14,
|
|
6474
|
+
], 14, Rc)) : b.value ? ((0, d.openBlock)(), (0, d.createBlock)(Hr, {
|
|
6466
6475
|
key: 2,
|
|
6467
6476
|
element: e.element,
|
|
6468
6477
|
"media-data-urls": e.mediaDataUrls,
|
|
@@ -6509,7 +6518,7 @@ var Pc = [
|
|
|
6509
6518
|
"animation-state",
|
|
6510
6519
|
"text-style-override-css",
|
|
6511
6520
|
"data-pptx-element"
|
|
6512
|
-
])) : "table" === e.element.type ? ((0, d.openBlock)(), (0, d.createBlock)(
|
|
6521
|
+
])) : "table" === e.element.type ? ((0, d.openBlock)(), (0, d.createBlock)(ac, {
|
|
6513
6522
|
key: 5,
|
|
6514
6523
|
element: e.element,
|
|
6515
6524
|
"media-data-urls": e.mediaDataUrls,
|
|
@@ -6645,7 +6654,7 @@ var Pc = [
|
|
|
6645
6654
|
"interactive",
|
|
6646
6655
|
"presenting",
|
|
6647
6656
|
"data-pptx-element"
|
|
6648
|
-
])) : "zoom" === e.element.type ? ((0, d.openBlock)(), (0, d.createBlock)(
|
|
6657
|
+
])) : "zoom" === e.element.type ? ((0, d.openBlock)(), (0, d.createBlock)(zc, {
|
|
6649
6658
|
key: 13,
|
|
6650
6659
|
element: e.element,
|
|
6651
6660
|
"media-data-urls": e.mediaDataUrls,
|
|
@@ -6707,8 +6716,8 @@ var Pc = [
|
|
|
6707
6716
|
data: k.value
|
|
6708
6717
|
}, null, 8, ["data"])) : (0, d.createCommentVNode)("", !0),
|
|
6709
6718
|
(0, d.createVNode)(fl, { element: e.element }, null, 8, ["element"])
|
|
6710
|
-
], 12,
|
|
6711
|
-
D.value ? (0, d.createCommentVNode)("", !0) : ((0, d.openBlock)(), (0, d.createElementBlock)(d.Fragment, { key: 2 }, [w.value ? ((0, d.openBlock)(), (0, d.createBlock)(
|
|
6719
|
+
], 12, jc),
|
|
6720
|
+
D.value ? (0, d.createCommentVNode)("", !0) : ((0, d.openBlock)(), (0, d.createElementBlock)(d.Fragment, { key: 2 }, [w.value ? ((0, d.openBlock)(), (0, d.createBlock)(wc, {
|
|
6712
6721
|
key: 0,
|
|
6713
6722
|
element: e.element,
|
|
6714
6723
|
"z-index": 0
|
|
@@ -6728,21 +6737,21 @@ var Pc = [
|
|
|
6728
6737
|
class: "pptx-vue-text pptx-vue-placeholder-prompt",
|
|
6729
6738
|
style: (0, d.normalizeStyle)([y.value, I.value.style])
|
|
6730
6739
|
}, (0, d.toDisplayString)(I.value.text), 5)) : (0, d.createCommentVNode)("", !0)], 64))
|
|
6731
|
-
], 14,
|
|
6740
|
+
], 14, Vc)) : ((0, d.openBlock)(), (0, d.createElementBlock)("div", {
|
|
6732
6741
|
key: 16,
|
|
6733
6742
|
class: (0, d.normalizeClass)(["pptx-vue-element pptx-vue-unsupported", P.value]),
|
|
6734
6743
|
style: (0, d.normalizeStyle)([p.value, _.value]),
|
|
6735
6744
|
"data-element-id": e.element.id,
|
|
6736
6745
|
"data-pptx-element": T.value
|
|
6737
|
-
}, [(0, d.createElementVNode)("div",
|
|
6746
|
+
}, [(0, d.createElementVNode)("div", Wc, (0, d.toDisplayString)(e.element.type), 1)], 14, $c)) : ((0, d.openBlock)(), (0, d.createElementBlock)(d.Fragment, { key: 0 }, [], 64));
|
|
6738
6747
|
};
|
|
6739
6748
|
}
|
|
6740
|
-
}),
|
|
6749
|
+
}), Hc = [
|
|
6741
6750
|
"role",
|
|
6742
6751
|
"aria-roledescription",
|
|
6743
6752
|
"aria-label",
|
|
6744
6753
|
"aria-hidden"
|
|
6745
|
-
],
|
|
6754
|
+
], Gc = (0, d.defineComponent)({
|
|
6746
6755
|
__name: "SlideStage",
|
|
6747
6756
|
props: {
|
|
6748
6757
|
slide: {},
|
|
@@ -6807,7 +6816,7 @@ var Pc = [
|
|
|
6807
6816
|
"aria-label": e.presenting ? (0, d.unref)(n)("pptx.canvas.slide") : void 0,
|
|
6808
6817
|
"aria-hidden": e.interactive || e.presenting ? void 0 : "true"
|
|
6809
6818
|
}, [
|
|
6810
|
-
((0, d.openBlock)(!0), (0, d.createElementBlock)(d.Fragment, null, (0, d.renderList)(l.value, (t, n) => ((0, d.openBlock)(), (0, d.createBlock)(
|
|
6819
|
+
((0, d.openBlock)(!0), (0, d.createElementBlock)(d.Fragment, null, (0, d.renderList)(l.value, (t, n) => ((0, d.openBlock)(), (0, d.createBlock)(Uc, {
|
|
6811
6820
|
key: t.id,
|
|
6812
6821
|
element: t,
|
|
6813
6822
|
"media-data-urls": e.mediaDataUrls,
|
|
@@ -6825,7 +6834,7 @@ var Pc = [
|
|
|
6825
6834
|
"template-editing",
|
|
6826
6835
|
"inline-editing-element-id"
|
|
6827
6836
|
]))), 128)),
|
|
6828
|
-
((0, d.openBlock)(!0), (0, d.createElementBlock)(d.Fragment, null, (0, d.renderList)(e.slide?.elements ?? [], (t, n) => ((0, d.openBlock)(), (0, d.createBlock)(
|
|
6837
|
+
((0, d.openBlock)(!0), (0, d.createElementBlock)(d.Fragment, null, (0, d.renderList)(e.slide?.elements ?? [], (t, n) => ((0, d.openBlock)(), (0, d.createBlock)(Uc, {
|
|
6829
6838
|
key: t.id,
|
|
6830
6839
|
element: t,
|
|
6831
6840
|
"media-data-urls": e.mediaDataUrls,
|
|
@@ -6842,10 +6851,10 @@ var Pc = [
|
|
|
6842
6851
|
"inline-editing-element-id"
|
|
6843
6852
|
]))), 128)),
|
|
6844
6853
|
(0, d.renderSlot)(t.$slots, "default")
|
|
6845
|
-
], 12,
|
|
6854
|
+
], 12, Hc));
|
|
6846
6855
|
}
|
|
6847
6856
|
});
|
|
6848
|
-
function
|
|
6857
|
+
function Kc(e) {
|
|
6849
6858
|
return {
|
|
6850
6859
|
x: e.x,
|
|
6851
6860
|
y: e.y,
|
|
@@ -6854,7 +6863,7 @@ function Gc(e) {
|
|
|
6854
6863
|
rotation: e.rotation ?? 0
|
|
6855
6864
|
};
|
|
6856
6865
|
}
|
|
6857
|
-
function
|
|
6866
|
+
function Yc(e, t) {
|
|
6858
6867
|
const n = (0, d.computed)(() => function(e, t) {
|
|
6859
6868
|
const n = new Set(t), o = /* @__PURE__ */ new Map();
|
|
6860
6869
|
for (const t of e) n.has(t.id) && o.set(t.id, (0, u.resolveElementInteractivity)(t));
|
|
@@ -6865,7 +6874,7 @@ function Kc(e, t) {
|
|
|
6865
6874
|
canRotate: (e) => !1 !== n.value.get(e)?.rotatable
|
|
6866
6875
|
};
|
|
6867
6876
|
}
|
|
6868
|
-
function
|
|
6877
|
+
function qc(e, t) {
|
|
6869
6878
|
return {
|
|
6870
6879
|
isHidden: (t) => (0, u.isActionHidden)(t, e()),
|
|
6871
6880
|
visibleTabs: (0, d.computed)(() => {
|
|
@@ -6874,14 +6883,14 @@ function Yc(e, t) {
|
|
|
6874
6883
|
})
|
|
6875
6884
|
};
|
|
6876
6885
|
}
|
|
6877
|
-
var
|
|
6878
|
-
function
|
|
6879
|
-
|
|
6886
|
+
var Xc = null;
|
|
6887
|
+
function Zc(e, t = !1) {
|
|
6888
|
+
Jc(), "undefined" != typeof Audio && ((Xc = new Audio(e)).loop = t, Xc.play().catch(() => {}));
|
|
6880
6889
|
}
|
|
6881
|
-
function
|
|
6882
|
-
|
|
6890
|
+
function Jc() {
|
|
6891
|
+
Xc && (Xc.pause(), Xc.currentTime = 0, Xc = null);
|
|
6883
6892
|
}
|
|
6884
|
-
function
|
|
6893
|
+
function Qc(e = 768, t) {
|
|
6885
6894
|
const n = (0, d.ref)(!1), o = (0, d.ref)(!1), l = (0, d.ref)(!1), a = (0, d.ref)((0, u.detectTouchDevice)()), r = (0, d.ref)((0, u.detectOrientation)()), i = (0, d.ref)(!1), s = (0, d.ref)("undefined" != typeof window ? window.innerWidth : u.TABLET_BREAKPOINT), c = "undefined" != typeof window, p = (0, d.ref)(c ? window.innerWidth : u.TABLET_BREAKPOINT), m = (0, d.ref)(c ? window.innerHeight : 800), v = {
|
|
6886
6895
|
isMobile: (0, d.readonly)(n),
|
|
6887
6896
|
isTablet: (0, d.readonly)(o),
|
|
@@ -6955,10 +6964,10 @@ function Jc(e = 768, t) {
|
|
|
6955
6964
|
k.removeEventListener("change", b), window.removeEventListener("resize", h);
|
|
6956
6965
|
}), v;
|
|
6957
6966
|
}
|
|
6958
|
-
function
|
|
6967
|
+
function eu(e, t) {
|
|
6959
6968
|
return (0, d.computed)(() => (0, u.computeDocumentStatistics)((0, d.toValue)(e), (0, d.toValue)(t)));
|
|
6960
6969
|
}
|
|
6961
|
-
var
|
|
6970
|
+
var tu = [
|
|
6962
6971
|
{
|
|
6963
6972
|
id: "undo",
|
|
6964
6973
|
combo: "Mod+Z",
|
|
@@ -7079,21 +7088,21 @@ var eu = [
|
|
|
7079
7088
|
group: "general",
|
|
7080
7089
|
descriptionKey: "pptx.slideShow.fromCurrent"
|
|
7081
7090
|
}
|
|
7082
|
-
],
|
|
7091
|
+
], nu = {
|
|
7083
7092
|
history: "pptx.editorToolbar.history",
|
|
7084
7093
|
clipboard: "pptx.ribbon.clipboard",
|
|
7085
7094
|
editing: "pptx.shortcuts.group.editing",
|
|
7086
7095
|
navigation: "pptx.shortcuts.group.navigation",
|
|
7087
7096
|
general: "pptx.settings.general"
|
|
7088
7097
|
};
|
|
7089
|
-
function
|
|
7090
|
-
return Object.keys(
|
|
7098
|
+
function ou(e = tu) {
|
|
7099
|
+
return Object.keys(nu).map((t) => ({
|
|
7091
7100
|
group: t,
|
|
7092
|
-
labelKey:
|
|
7101
|
+
labelKey: nu[t],
|
|
7093
7102
|
shortcuts: e.filter((e) => e.group === t)
|
|
7094
7103
|
})).filter((e) => e.shortcuts.length > 0);
|
|
7095
7104
|
}
|
|
7096
|
-
function
|
|
7105
|
+
function lu(e, t, n, o, l = !1, a) {
|
|
7097
7106
|
return (0, u.mapCustomizedEditorKey)({
|
|
7098
7107
|
key: e,
|
|
7099
7108
|
ctrlKey: t,
|
|
@@ -7110,23 +7119,23 @@ function ou(e, t, n, o, l = !1, a) {
|
|
|
7110
7119
|
isControlTarget: o.isControl ?? !1
|
|
7111
7120
|
}, a);
|
|
7112
7121
|
}
|
|
7113
|
-
function
|
|
7122
|
+
function au(e) {
|
|
7114
7123
|
return (0, u.isEditorTextInputTarget)(e.target);
|
|
7115
7124
|
}
|
|
7116
|
-
function
|
|
7125
|
+
function ru(e) {
|
|
7117
7126
|
const { actions: t } = e;
|
|
7118
7127
|
function n(t) {
|
|
7119
7128
|
const n = t.metaKey || t.ctrlKey;
|
|
7120
|
-
return
|
|
7129
|
+
return lu(t.key, n, t.shiftKey, function(t) {
|
|
7121
7130
|
return {
|
|
7122
|
-
canEdit:
|
|
7123
|
-
canPaste:
|
|
7124
|
-
isPresenting:
|
|
7125
|
-
hasSelection:
|
|
7126
|
-
inlineEditingElementId:
|
|
7127
|
-
tableEditorIsEditing:
|
|
7128
|
-
activeTool:
|
|
7129
|
-
isTextInput:
|
|
7131
|
+
canEdit: iu(e.canEdit, !0),
|
|
7132
|
+
canPaste: iu(e.canPaste, !0),
|
|
7133
|
+
isPresenting: iu(e.isPresenting, !1),
|
|
7134
|
+
hasSelection: iu(e.hasSelection, !1),
|
|
7135
|
+
inlineEditingElementId: iu(e.inlineEditingElementId, null),
|
|
7136
|
+
tableEditorIsEditing: iu(e.tableEditorIsEditing, !1),
|
|
7137
|
+
activeTool: iu(e.activeTool, "select"),
|
|
7138
|
+
isTextInput: au(t),
|
|
7130
7139
|
isControl: (0, u.isEditorControlTarget)(t.target)
|
|
7131
7140
|
};
|
|
7132
7141
|
}(t), t.altKey, e.keyboard?.());
|
|
@@ -7157,10 +7166,10 @@ function au(e) {
|
|
|
7157
7166
|
attach: l
|
|
7158
7167
|
};
|
|
7159
7168
|
}
|
|
7160
|
-
function
|
|
7169
|
+
function iu(e, t) {
|
|
7161
7170
|
return void 0 === e ? t : (0, d.toValue)(e);
|
|
7162
7171
|
}
|
|
7163
|
-
function
|
|
7172
|
+
function su(e, t, n, o = () => !0) {
|
|
7164
7173
|
const l = (e) => n(e), a = (e) => {
|
|
7165
7174
|
const n = t.value;
|
|
7166
7175
|
n && l((0, u.patchChartData)(n, e));
|
|
@@ -7265,7 +7274,7 @@ function iu(e, t, n, o = () => !0) {
|
|
|
7265
7274
|
}
|
|
7266
7275
|
};
|
|
7267
7276
|
}
|
|
7268
|
-
function
|
|
7277
|
+
function cu(e, t = 180) {
|
|
7269
7278
|
let n, o;
|
|
7270
7279
|
const l = () => {
|
|
7271
7280
|
void 0 !== n && (clearTimeout(n), n = void 0), o = void 0;
|
|
@@ -7281,7 +7290,7 @@ function su(e, t = 180) {
|
|
|
7281
7290
|
void 0 !== n && (clearTimeout(n), a());
|
|
7282
7291
|
}, (0, d.onScopeDispose)(l), r;
|
|
7283
7292
|
}
|
|
7284
|
-
function
|
|
7293
|
+
function uu() {
|
|
7285
7294
|
const e = /* @__PURE__ */ new Map(), t = (0, d.ref)(null);
|
|
7286
7295
|
return {
|
|
7287
7296
|
pendingFocusId: t,
|
|
@@ -7295,21 +7304,21 @@ function cu() {
|
|
|
7295
7304
|
}
|
|
7296
7305
|
};
|
|
7297
7306
|
}
|
|
7298
|
-
var
|
|
7307
|
+
var du = [
|
|
7299
7308
|
"colorful1",
|
|
7300
7309
|
"colorful2",
|
|
7301
7310
|
"colorful3",
|
|
7302
7311
|
"monochromatic1",
|
|
7303
7312
|
"monochromatic2"
|
|
7304
|
-
],
|
|
7313
|
+
], pu = [
|
|
7305
7314
|
"flat",
|
|
7306
7315
|
"moderate",
|
|
7307
7316
|
"intense"
|
|
7308
7317
|
];
|
|
7309
|
-
function
|
|
7318
|
+
function mu(e, t) {
|
|
7310
7319
|
return (0, u.schemaLabel)(u.SMARTART_LAYOUT_LABEL_KEYS, e, t);
|
|
7311
7320
|
}
|
|
7312
|
-
function
|
|
7321
|
+
function vu(e) {
|
|
7313
7322
|
const { smartArtData: t, apply: n } = e, o = (0, d.computed)(() => t.value.nodes ?? []), l = (0, d.computed)(() => t.value.colorScheme ?? "colorful1"), a = (0, d.computed)(() => t.value.style ?? "flat"), r = (0, d.computed)(() => t.value.resolvedLayoutType ?? "list"), i = (0, d.computed)(() => (0, u.countTopLevel)(t.value)), s = (0, d.computed)(() => (0, u.canAddTopLevelNode)(r.value, i.value)), c = (0, d.computed)(() => (0, u.describeSmartArtBounds)(r.value)), p = (0, d.computed)(() => (0, u.extraConnectionCount)(t.value)), m = (0, d.computed)(() => {
|
|
7314
7323
|
const e = t.value, n = (0, u.canRemoveTopLevelNode)(r.value, i.value);
|
|
7315
7324
|
let l = 0;
|
|
@@ -7327,7 +7336,7 @@ function mu(e) {
|
|
|
7327
7336
|
removeDisabled: o.value.length <= 1 || !r && !n
|
|
7328
7337
|
};
|
|
7329
7338
|
});
|
|
7330
|
-
}), { pendingFocusId: v, setInputEl: f, focusNode: g } =
|
|
7339
|
+
}), { pendingFocusId: v, setInputEl: f, focusNode: g } = uu();
|
|
7331
7340
|
function y(t, o) {
|
|
7332
7341
|
const l = e.box?.value, a = l ? (0, u.rebuildDrawingShapesIfCleared)(t, t.layout, (0, u.resolvePalette)(t), t.style ?? "flat", e.elementId ?? "smartart", l) : t;
|
|
7333
7342
|
n({ smartArtData: a }), g(o);
|
|
@@ -7411,24 +7420,24 @@ function mu(e) {
|
|
|
7411
7420
|
}
|
|
7412
7421
|
};
|
|
7413
7422
|
}
|
|
7414
|
-
function
|
|
7423
|
+
function fu(e, t, n) {
|
|
7415
7424
|
return (0, u.insertTableElementRow)((0, d.toRaw)(e), t, n);
|
|
7416
7425
|
}
|
|
7417
|
-
function
|
|
7426
|
+
function gu(e, t) {
|
|
7418
7427
|
const n = (0, d.toRaw)(e), o = (0, u.removeTableElementRow)(n, t);
|
|
7419
7428
|
return o === n ? null : o;
|
|
7420
7429
|
}
|
|
7421
|
-
function
|
|
7430
|
+
function yu(e, t, n) {
|
|
7422
7431
|
return (0, u.insertTableElementColumn)((0, d.toRaw)(e), t, n);
|
|
7423
7432
|
}
|
|
7424
|
-
function
|
|
7433
|
+
function hu(e, t) {
|
|
7425
7434
|
const n = (0, d.toRaw)(e), o = (0, u.removeTableElementColumn)(n, t);
|
|
7426
7435
|
return o === n ? null : o;
|
|
7427
7436
|
}
|
|
7428
|
-
function
|
|
7437
|
+
function ku(e, t) {
|
|
7429
7438
|
return !t || t.length < 2 || !(0, u.canMergeCells)(t, e) ? null : (0, u.mergeCells)(t, e);
|
|
7430
7439
|
}
|
|
7431
|
-
function
|
|
7440
|
+
function xu(e) {
|
|
7432
7441
|
const t = (0, d.shallowRef)(/* @__PURE__ */ new Map()), n = (0, d.shallowRef)(""), o = (0, d.shallowRef)(/* @__PURE__ */ new Set()), l = (0, d.shallowRef)(/* @__PURE__ */ new Set()), a = (0, d.shallowRef)(!0);
|
|
7433
7442
|
let r = null;
|
|
7434
7443
|
const i = [], s = (0, u.createActiveAnimationGroup)(), c = {
|
|
@@ -7438,8 +7447,8 @@ function ku(e) {
|
|
|
7438
7447
|
timers: i,
|
|
7439
7448
|
buildHandle: { current: null },
|
|
7440
7449
|
onPlayActionSound: e.onPlayActionSound,
|
|
7441
|
-
playSound:
|
|
7442
|
-
stopSound:
|
|
7450
|
+
playSound: Zc,
|
|
7451
|
+
stopSound: Jc,
|
|
7443
7452
|
frameRoot: e.frameRoot
|
|
7444
7453
|
}, p = () => !1 !== (0, d.toValue)(e.showWithAnimation);
|
|
7445
7454
|
function m() {
|
|
@@ -7508,11 +7517,11 @@ function ku(e) {
|
|
|
7508
7517
|
clearTimers: m
|
|
7509
7518
|
};
|
|
7510
7519
|
}
|
|
7511
|
-
var
|
|
7512
|
-
function
|
|
7520
|
+
var bu = 0;
|
|
7521
|
+
function Su(e, t, n, o, l) {
|
|
7513
7522
|
const a = "pen" === e;
|
|
7514
7523
|
return {
|
|
7515
|
-
id: `stroke-${
|
|
7524
|
+
id: `stroke-${bu += 1}`,
|
|
7516
7525
|
points: [{
|
|
7517
7526
|
x: t,
|
|
7518
7527
|
y: n
|
|
@@ -7522,14 +7531,14 @@ function bu(e, t, n, o, l) {
|
|
|
7522
7531
|
opacity: a ? 1 : .4
|
|
7523
7532
|
};
|
|
7524
7533
|
}
|
|
7525
|
-
function
|
|
7534
|
+
function wu(e, t, n, o = 16) {
|
|
7526
7535
|
const l = o * o, a = e.filter((e) => !e.points.some((e) => {
|
|
7527
7536
|
const o = e.x - t, a = e.y - n;
|
|
7528
7537
|
return o * o + a * a < l;
|
|
7529
7538
|
}));
|
|
7530
7539
|
return a.length === e.length ? e : a;
|
|
7531
7540
|
}
|
|
7532
|
-
function
|
|
7541
|
+
function Eu(e) {
|
|
7533
7542
|
const t = (0, d.ref)("none"), n = (0, d.ref)("#ff0000"), o = (0, d.ref)("#ffff00"), l = (0, d.ref)([]), a = (0, d.ref)(null), r = (0, d.ref)(null), i = /* @__PURE__ */ new Map(), s = (0, d.ref)(0);
|
|
7534
7543
|
let c = !1, u = (0, d.toValue)(e.activeSlideIndex);
|
|
7535
7544
|
function p() {
|
|
@@ -7559,7 +7568,7 @@ function wu(e) {
|
|
|
7559
7568
|
handlePointerDown: function(l, r) {
|
|
7560
7569
|
if (!(0, d.toValue)(e.isActive)) return;
|
|
7561
7570
|
const i = t.value;
|
|
7562
|
-
"pen" !== i && "highlighter" !== i || (c = !0, a.value =
|
|
7571
|
+
"pen" !== i && "highlighter" !== i || (c = !0, a.value = Su(i, l, r, n.value, o.value));
|
|
7563
7572
|
},
|
|
7564
7573
|
handlePointerMove: function(t, n) {
|
|
7565
7574
|
if (!(0, d.toValue)(e.isActive) || !c) return;
|
|
@@ -7593,7 +7602,7 @@ function wu(e) {
|
|
|
7593
7602
|
},
|
|
7594
7603
|
eraseAtPoint: function(n, o) {
|
|
7595
7604
|
if (!(0, d.toValue)(e.isActive) || "eraser" !== t.value) return;
|
|
7596
|
-
const a =
|
|
7605
|
+
const a = wu(l.value, n, o);
|
|
7597
7606
|
if (a === l.value) return;
|
|
7598
7607
|
l.value = a;
|
|
7599
7608
|
const r = (0, d.toValue)(e.activeSlideIndex);
|
|
@@ -7613,7 +7622,7 @@ function wu(e) {
|
|
|
7613
7622
|
hasAnyAnnotations: (0, d.computed)(() => (s.value, l.value.length > 0 || i.size > 0))
|
|
7614
7623
|
};
|
|
7615
7624
|
}
|
|
7616
|
-
function
|
|
7625
|
+
function Bu(e) {
|
|
7617
7626
|
const t = (0, d.ref)(!1);
|
|
7618
7627
|
let n = null;
|
|
7619
7628
|
function o() {
|
|
@@ -7635,7 +7644,7 @@ function Eu(e) {
|
|
|
7635
7644
|
}
|
|
7636
7645
|
};
|
|
7637
7646
|
}
|
|
7638
|
-
function
|
|
7647
|
+
function Cu(e) {
|
|
7639
7648
|
const { targetRef: t, currentScale: n, minScale: o, maxScale: l, callbacks: a, enabled: r = !0 } = e;
|
|
7640
7649
|
let i = null;
|
|
7641
7650
|
const s = () => {
|
|
@@ -7659,7 +7668,7 @@ function Bu(e) {
|
|
|
7659
7668
|
})(e);
|
|
7660
7669
|
}, { immediate: !0 }), (0, d.onScopeDispose)(s);
|
|
7661
7670
|
}
|
|
7662
|
-
function
|
|
7671
|
+
function Iu(e) {
|
|
7663
7672
|
const t = (0, d.computed)(() => {
|
|
7664
7673
|
const t = e.transition();
|
|
7665
7674
|
return "morph" === t?.type ? (0, u.buildMorphTransitionPlan)(e.outgoingSlide(), e.incomingSlide(), e.durationMs(), (0, u.morphOptionToMode)(t.morphOption)) : void 0;
|
|
@@ -7716,7 +7725,7 @@ function Cu(e) {
|
|
|
7716
7725
|
})
|
|
7717
7726
|
};
|
|
7718
7727
|
}
|
|
7719
|
-
var
|
|
7728
|
+
var Pu = ["data-pptx-transition-fragment"], Tu = Xo((0, d.defineComponent)({
|
|
7720
7729
|
__name: "FragmentedTransitionLayer",
|
|
7721
7730
|
props: {
|
|
7722
7731
|
layer: {},
|
|
@@ -7749,7 +7758,7 @@ var Iu = ["data-pptx-transition-fragment"], Pu = Xo((0, d.defineComponent)({
|
|
|
7749
7758
|
"data-pptx-transition-fragment": t.id,
|
|
7750
7759
|
class: "pptx-vue-transition-fragment",
|
|
7751
7760
|
style: (0, d.normalizeStyle)(o(t))
|
|
7752
|
-
}, [(0, d.createVNode)(
|
|
7761
|
+
}, [(0, d.createVNode)(Gc, {
|
|
7753
7762
|
slide: e.slide,
|
|
7754
7763
|
"canvas-size": e.canvasSize,
|
|
7755
7764
|
"media-data-urls": e.mediaDataUrls,
|
|
@@ -7759,9 +7768,9 @@ var Iu = ["data-pptx-transition-fragment"], Pu = Xo((0, d.defineComponent)({
|
|
|
7759
7768
|
"canvas-size",
|
|
7760
7769
|
"media-data-urls",
|
|
7761
7770
|
"scale"
|
|
7762
|
-
])], 12,
|
|
7771
|
+
])], 12, Pu))), 128));
|
|
7763
7772
|
}
|
|
7764
|
-
}), [["__scopeId", "data-v-f67781fa"]]),
|
|
7773
|
+
}), [["__scopeId", "data-v-f67781fa"]]), _u = ["data-pptx-morph-crossfade"], Ou = Xo((0, d.defineComponent)({
|
|
7765
7774
|
__name: "MorphExtraLayers",
|
|
7766
7775
|
props: {
|
|
7767
7776
|
liftedSlide: {},
|
|
@@ -7777,7 +7786,7 @@ var Iu = ["data-pptx-transition-fragment"], Pu = Xo((0, d.defineComponent)({
|
|
|
7777
7786
|
"data-pptx-transition-layer": "lifted",
|
|
7778
7787
|
"data-pptx-morph-lifted": "true",
|
|
7779
7788
|
style: (0, d.normalizeStyle)(e.liftedLayerStyle)
|
|
7780
|
-
}, [(0, d.createVNode)(
|
|
7789
|
+
}, [(0, d.createVNode)(Gc, {
|
|
7781
7790
|
slide: e.liftedSlide,
|
|
7782
7791
|
"canvas-size": e.canvasSize,
|
|
7783
7792
|
"media-data-urls": e.mediaDataUrls,
|
|
@@ -7798,7 +7807,7 @@ var Iu = ["data-pptx-transition-fragment"], Pu = Xo((0, d.defineComponent)({
|
|
|
7798
7807
|
"data-pptx-transition-layer": "outgoing",
|
|
7799
7808
|
"data-pptx-morph-outgoing": "true",
|
|
7800
7809
|
style: (0, d.normalizeStyle)(t.outgoingStyle)
|
|
7801
|
-
}, [(0, d.createVNode)(
|
|
7810
|
+
}, [(0, d.createVNode)(Gc, {
|
|
7802
7811
|
slide: t.outgoingSlide,
|
|
7803
7812
|
"canvas-size": e.canvasSize,
|
|
7804
7813
|
"media-data-urls": e.mediaDataUrls,
|
|
@@ -7815,7 +7824,7 @@ var Iu = ["data-pptx-transition-fragment"], Pu = Xo((0, d.defineComponent)({
|
|
|
7815
7824
|
"data-pptx-transition-layer": "lifted",
|
|
7816
7825
|
"data-pptx-morph-lifted": "true",
|
|
7817
7826
|
style: (0, d.normalizeStyle)(t.incomingStyle)
|
|
7818
|
-
}, [(0, d.createVNode)(
|
|
7827
|
+
}, [(0, d.createVNode)(Gc, {
|
|
7819
7828
|
slide: t.incomingSlide,
|
|
7820
7829
|
"canvas-size": e.canvasSize,
|
|
7821
7830
|
"media-data-urls": e.mediaDataUrls,
|
|
@@ -7827,11 +7836,11 @@ var Iu = ["data-pptx-transition-fragment"], Pu = Xo((0, d.defineComponent)({
|
|
|
7827
7836
|
"canvas-size",
|
|
7828
7837
|
"media-data-urls",
|
|
7829
7838
|
"scale"
|
|
7830
|
-
])], 4)], 12,
|
|
7831
|
-
}), [["__scopeId", "data-v-adf1a9bf"]]),
|
|
7839
|
+
])], 4)], 12, _u))), 128))], 64))
|
|
7840
|
+
}), [["__scopeId", "data-v-adf1a9bf"]]), Du = {
|
|
7832
7841
|
class: "pptx-vue-transition-overlay",
|
|
7833
7842
|
"data-pptx-transition-overlay": ""
|
|
7834
|
-
},
|
|
7843
|
+
}, Nu = ["data-pptx-morph-outgoing", "data-pptx-transition-fragments"], Lu = ["data-pptx-morph-incoming", "data-pptx-transition-fragments"], Au = Xo((0, d.defineComponent)({
|
|
7835
7844
|
__name: "PresentationTransitionOverlay",
|
|
7836
7845
|
props: {
|
|
7837
7846
|
outgoingSlide: {},
|
|
@@ -7843,7 +7852,7 @@ var Iu = ["data-pptx-transition-fragment"], Pu = Xo((0, d.defineComponent)({
|
|
|
7843
7852
|
},
|
|
7844
7853
|
emits: ["done"],
|
|
7845
7854
|
setup(e, { emit: t }) {
|
|
7846
|
-
const n = e, o = t, l = (0, d.computed)(() => (0, u.resolveSlideTransition)(n.transition)), a = (0, d.computed)(() => (0, u.resolveTransitionDurationMs)(n.transition)), r = (0, d.computed)(() => n.transition ? (0, u.getFragmentedTransitionDescriptor)(n.transition.type, a.value, n.transition.direction, n.transition.spokes, n.transition.pattern) : void 0), { morphPlan: i, morphOutgoingSlide: s, morphLiftedSlide: c, morphCrossfadeGroups: p, morphCss: m } =
|
|
7855
|
+
const n = e, o = t, l = (0, d.computed)(() => (0, u.resolveSlideTransition)(n.transition)), a = (0, d.computed)(() => (0, u.resolveTransitionDurationMs)(n.transition)), r = (0, d.computed)(() => n.transition ? (0, u.getFragmentedTransitionDescriptor)(n.transition.type, a.value, n.transition.direction, n.transition.spokes, n.transition.pattern) : void 0), { morphPlan: i, morphOutgoingSlide: s, morphLiftedSlide: c, morphCrossfadeGroups: p, morphCss: m } = Iu({
|
|
7847
7856
|
transition: () => n.transition,
|
|
7848
7857
|
outgoingSlide: () => n.outgoingSlide,
|
|
7849
7858
|
incomingSlide: () => n.incomingSlide,
|
|
@@ -7857,8 +7866,8 @@ var Iu = ["data-pptx-transition-fragment"], Pu = Xo((0, d.defineComponent)({
|
|
|
7857
7866
|
}));
|
|
7858
7867
|
(0, d.watch)(() => n.transition, (e) => {
|
|
7859
7868
|
(0, u.applySlideTransitionSound)(e, (e) => n.mediaDataUrls.get(e), {
|
|
7860
|
-
play:
|
|
7861
|
-
stop:
|
|
7869
|
+
play: Zc,
|
|
7870
|
+
stop: Jc
|
|
7862
7871
|
});
|
|
7863
7872
|
}, { immediate: !0 });
|
|
7864
7873
|
let k = null;
|
|
@@ -7869,7 +7878,7 @@ var Iu = ["data-pptx-transition-fragment"], Pu = Xo((0, d.defineComponent)({
|
|
|
7869
7878
|
}, e);
|
|
7870
7879
|
}), (0, d.onBeforeUnmount)(function() {
|
|
7871
7880
|
null !== k && (clearTimeout(k), k = null);
|
|
7872
|
-
}), (t, n) => ((0, d.openBlock)(), (0, d.createElementBlock)("div",
|
|
7881
|
+
}), (t, n) => ((0, d.openBlock)(), (0, d.createElementBlock)("div", Du, [
|
|
7873
7882
|
((0, d.openBlock)(), (0, d.createBlock)((0, d.resolveDynamicComponent)("style"), null, {
|
|
7874
7883
|
default: (0, d.withCtx)(() => [(0, d.createTextVNode)((0, d.toDisplayString)((0, d.unref)(u.SLIDE_TRANSITION_KEYFRAMES_CSS)), 1)]),
|
|
7875
7884
|
_: 1
|
|
@@ -7884,7 +7893,7 @@ var Iu = ["data-pptx-transition-fragment"], Pu = Xo((0, d.defineComponent)({
|
|
|
7884
7893
|
"data-pptx-morph-outgoing": (0, d.unref)(i) ? "true" : void 0,
|
|
7885
7894
|
"data-pptx-transition-fragments": !(0, d.unref)(i) && r.value?.outgoing ? r.value.outgoing.keyframesName : void 0,
|
|
7886
7895
|
style: (0, d.normalizeStyle)(g.value)
|
|
7887
|
-
}, [!(0, d.unref)(i) && r.value?.outgoing ? ((0, d.openBlock)(), (0, d.createBlock)(
|
|
7896
|
+
}, [!(0, d.unref)(i) && r.value?.outgoing ? ((0, d.openBlock)(), (0, d.createBlock)(Tu, {
|
|
7888
7897
|
key: 0,
|
|
7889
7898
|
layer: r.value.outgoing,
|
|
7890
7899
|
slide: e.outgoingSlide,
|
|
@@ -7898,7 +7907,7 @@ var Iu = ["data-pptx-transition-fragment"], Pu = Xo((0, d.defineComponent)({
|
|
|
7898
7907
|
"canvas-size",
|
|
7899
7908
|
"media-data-urls",
|
|
7900
7909
|
"scale"
|
|
7901
|
-
])) : ((0, d.openBlock)(), (0, d.createBlock)(
|
|
7910
|
+
])) : ((0, d.openBlock)(), (0, d.createBlock)(Gc, {
|
|
7902
7911
|
key: 1,
|
|
7903
7912
|
slide: (0, d.unref)(i) ? (0, d.unref)(s) : e.outgoingSlide,
|
|
7904
7913
|
"canvas-size": e.canvasSize,
|
|
@@ -7913,14 +7922,14 @@ var Iu = ["data-pptx-transition-fragment"], Pu = Xo((0, d.defineComponent)({
|
|
|
7913
7922
|
"scale",
|
|
7914
7923
|
"preserve-element-ids",
|
|
7915
7924
|
"transparent-background"
|
|
7916
|
-
]))], 12,
|
|
7925
|
+
]))], 12, Nu),
|
|
7917
7926
|
(0, d.createElementVNode)("div", {
|
|
7918
7927
|
class: "pptx-vue-transition-layer",
|
|
7919
7928
|
"data-pptx-transition-layer": "incoming",
|
|
7920
7929
|
"data-pptx-morph-incoming": (0, d.unref)(i) ? "true" : void 0,
|
|
7921
7930
|
"data-pptx-transition-fragments": !(0, d.unref)(i) && r.value?.incoming ? r.value.incoming.keyframesName : void 0,
|
|
7922
7931
|
style: (0, d.normalizeStyle)(h.value)
|
|
7923
|
-
}, [!(0, d.unref)(i) && r.value?.incoming ? ((0, d.openBlock)(), (0, d.createBlock)(
|
|
7932
|
+
}, [!(0, d.unref)(i) && r.value?.incoming ? ((0, d.openBlock)(), (0, d.createBlock)(Tu, {
|
|
7924
7933
|
key: 0,
|
|
7925
7934
|
layer: r.value.incoming,
|
|
7926
7935
|
slide: e.incomingSlide,
|
|
@@ -7934,7 +7943,7 @@ var Iu = ["data-pptx-transition-fragment"], Pu = Xo((0, d.defineComponent)({
|
|
|
7934
7943
|
"canvas-size",
|
|
7935
7944
|
"media-data-urls",
|
|
7936
7945
|
"scale"
|
|
7937
|
-
])) : ((0, d.openBlock)(), (0, d.createBlock)(
|
|
7946
|
+
])) : ((0, d.openBlock)(), (0, d.createBlock)(Gc, {
|
|
7938
7947
|
key: 1,
|
|
7939
7948
|
slide: e.incomingSlide,
|
|
7940
7949
|
"canvas-size": e.canvasSize,
|
|
@@ -7947,8 +7956,8 @@ var Iu = ["data-pptx-transition-fragment"], Pu = Xo((0, d.defineComponent)({
|
|
|
7947
7956
|
"media-data-urls",
|
|
7948
7957
|
"scale",
|
|
7949
7958
|
"preserve-element-ids"
|
|
7950
|
-
]))], 12,
|
|
7951
|
-
(0, d.createVNode)(
|
|
7959
|
+
]))], 12, Lu),
|
|
7960
|
+
(0, d.createVNode)(Ou, {
|
|
7952
7961
|
"lifted-slide": (0, d.unref)(c),
|
|
7953
7962
|
"lifted-layer-style": y.value,
|
|
7954
7963
|
"crossfade-groups": (0, d.unref)(p),
|
|
@@ -7966,16 +7975,16 @@ var Iu = ["data-pptx-transition-fragment"], Pu = Xo((0, d.defineComponent)({
|
|
|
7966
7975
|
]));
|
|
7967
7976
|
}
|
|
7968
7977
|
}), [["__scopeId", "data-v-be6bfe13"]]);
|
|
7969
|
-
function
|
|
7978
|
+
function Mu(e) {
|
|
7970
7979
|
const t = Math.max(0, Math.floor(e / 1e3)), n = Math.floor(t / 60), o = t % 60;
|
|
7971
7980
|
return `${String(n)}:${String(o).padStart(2, "0")}`;
|
|
7972
7981
|
}
|
|
7973
|
-
function
|
|
7982
|
+
function Fu(e, t, n = 0, o = null) {
|
|
7974
7983
|
if (null === e) return 0;
|
|
7975
7984
|
let l = n;
|
|
7976
7985
|
return null !== o && (l += t - o), Math.max(0, t - e - l);
|
|
7977
7986
|
}
|
|
7978
|
-
function
|
|
7987
|
+
function zu(e = {}) {
|
|
7979
7988
|
const t = e.now ?? Date.now, n = e.tickIntervalMs ?? 250, o = (0, d.ref)(!1), l = (0, d.ref)(!1), a = (0, d.ref)(!1), r = (0, d.ref)({}), i = (0, d.ref)(null), s = (0, d.ref)(null);
|
|
7980
7989
|
let c = 0, u = null;
|
|
7981
7990
|
const p = (0, d.ref)(0);
|
|
@@ -7988,7 +7997,7 @@ function Fu(e = {}) {
|
|
|
7988
7997
|
p.value += 1;
|
|
7989
7998
|
}, n));
|
|
7990
7999
|
}
|
|
7991
|
-
const g = (0, d.computed)(() => (p.value, o.value ?
|
|
8000
|
+
const g = (0, d.computed)(() => (p.value, o.value ? Fu(s.value, t(), c, u) : 0)), y = (0, d.computed)(() => (p.value, o.value ? Fu(i.value, t()) : 0)), h = (0, d.computed)(() => Object.values(r.value).reduce((e, t) => e + t, 0));
|
|
7992
8001
|
return (0, d.onScopeDispose)(v), {
|
|
7993
8002
|
rehearsing: o,
|
|
7994
8003
|
paused: l,
|
|
@@ -8003,7 +8012,7 @@ function Fu(e = {}) {
|
|
|
8003
8012
|
},
|
|
8004
8013
|
recordCurrentSlideTime: function(e) {
|
|
8005
8014
|
if (null === s.value) return;
|
|
8006
|
-
const n =
|
|
8015
|
+
const n = Fu(s.value, t(), c, u);
|
|
8007
8016
|
r.value = {
|
|
8008
8017
|
...r.value,
|
|
8009
8018
|
[e]: n
|
|
@@ -8023,18 +8032,18 @@ function Fu(e = {}) {
|
|
|
8023
8032
|
}
|
|
8024
8033
|
};
|
|
8025
8034
|
}
|
|
8026
|
-
var
|
|
8035
|
+
var Ru = {
|
|
8027
8036
|
valid: 0,
|
|
8028
8037
|
unverified: 1,
|
|
8029
8038
|
unknownCA: 2,
|
|
8030
8039
|
expired: 3,
|
|
8031
8040
|
invalid: 4
|
|
8032
8041
|
};
|
|
8033
|
-
function
|
|
8042
|
+
function Vu(e) {
|
|
8034
8043
|
const t = (0, d.computed)(() => (0, d.toValue)(e) ?? []), n = (0, d.computed)(() => t.value.length > 0), o = (0, d.computed)(() => {
|
|
8035
8044
|
if (0 === t.value.length) return;
|
|
8036
8045
|
let e = "valid";
|
|
8037
|
-
for (const n of t.value)
|
|
8046
|
+
for (const n of t.value) Ru[n.status] > Ru[e] && (e = n.status);
|
|
8038
8047
|
return e;
|
|
8039
8048
|
});
|
|
8040
8049
|
return {
|
|
@@ -8044,26 +8053,26 @@ function Ru(e) {
|
|
|
8044
8053
|
overall: (0, d.computed)(() => n.value ? "invalid" === o.value ? "invalid" : "signed" : "unsigned")
|
|
8045
8054
|
};
|
|
8046
8055
|
}
|
|
8047
|
-
var
|
|
8056
|
+
var ju = {
|
|
8048
8057
|
error: 0,
|
|
8049
8058
|
warning: 1,
|
|
8050
8059
|
tip: 2
|
|
8051
8060
|
};
|
|
8052
|
-
function
|
|
8061
|
+
function $u(e, t = {}) {
|
|
8053
8062
|
const n = (0, d.computed)(() => {
|
|
8054
8063
|
const n = (0, d.toValue)(e), o = (0, d.toValue)(t), l = o.minContrastRatio ?? 4.5, a = o.skipContrast ?? !1, r = o.skipBlankSlide ?? !1, i = [];
|
|
8055
8064
|
for (let e = 0; e < n.length; e++) {
|
|
8056
8065
|
const t = n[e];
|
|
8057
8066
|
i.push(...(0, h.checkMissingAltText)(t, e)), i.push(...(0, h.checkMissingSlideTitle)(t, e)), a || i.push(...(0, h.checkLowContrast)(t, e, l, t.backgroundColor)), i.push(...(0, h.checkComplexTables)(t, e)), r || i.push(...(0, h.checkBlankSlide)(t, e));
|
|
8058
8067
|
}
|
|
8059
|
-
return i.push(...(0, h.checkDuplicateTitles)(n)), i.sort((e, t) => e.slideIndex - t.slideIndex ||
|
|
8068
|
+
return i.push(...(0, h.checkDuplicateTitles)(n)), i.sort((e, t) => e.slideIndex - t.slideIndex || ju[e.severity] - ju[t.severity]), i;
|
|
8060
8069
|
});
|
|
8061
8070
|
return {
|
|
8062
8071
|
issues: n,
|
|
8063
8072
|
issueCount: (0, d.computed)(() => n.value.length)
|
|
8064
8073
|
};
|
|
8065
8074
|
}
|
|
8066
|
-
function
|
|
8075
|
+
function Wu(e) {
|
|
8067
8076
|
const { selectedElements: t, selectedElementIds: n, activeSlideIndex: o, slides: l, canvasSize: a, pushHistory: r } = e;
|
|
8068
8077
|
function i(e) {
|
|
8069
8078
|
if (0 === e.size) return;
|
|
@@ -8121,14 +8130,14 @@ function $u(e) {
|
|
|
8121
8130
|
}
|
|
8122
8131
|
};
|
|
8123
8132
|
}
|
|
8124
|
-
var
|
|
8133
|
+
var Uu = {
|
|
8125
8134
|
setTimer: (e, t) => setTimeout(e, t),
|
|
8126
8135
|
clearTimer: (e) => {
|
|
8127
8136
|
clearTimeout(e);
|
|
8128
8137
|
}
|
|
8129
8138
|
};
|
|
8130
|
-
function
|
|
8131
|
-
const { slides: t, templateElements: n, enabled: o = !0, intervalMs: l, onSave: a } = e, r = e.timers ??
|
|
8139
|
+
function Hu(e) {
|
|
8140
|
+
const { slides: t, templateElements: n, enabled: o = !0, intervalMs: l, onSave: a } = e, r = e.timers ?? Uu, i = (0, d.ref)("idle"), s = (0, d.ref)(null), c = (0, d.ref)(!1);
|
|
8132
8141
|
let p = null, m = null, v = null;
|
|
8133
8142
|
const f = () => !1 !== (0, d.toValue)(o), g = () => {
|
|
8134
8143
|
null !== p && (r.clearTimer(p), p = null);
|
|
@@ -8171,7 +8180,7 @@ function Uu(e) {
|
|
|
8171
8180
|
isDirty: c
|
|
8172
8181
|
};
|
|
8173
8182
|
}
|
|
8174
|
-
function
|
|
8183
|
+
function Gu(e, t) {
|
|
8175
8184
|
const n = (0, d.ref)(!1), o = (0, u.createCollaborationLivePatcher)();
|
|
8176
8185
|
let l = null, a = null, r = null, i = !1, s = "", c = null, p = null;
|
|
8177
8186
|
const m = (0, u.createWriteBackScheduler)({
|
|
@@ -8259,13 +8268,13 @@ function Hu(e, t) {
|
|
|
8259
8268
|
}
|
|
8260
8269
|
};
|
|
8261
8270
|
}
|
|
8262
|
-
var
|
|
8263
|
-
function
|
|
8264
|
-
if (void 0 === e) return
|
|
8271
|
+
var Ku = 1e5;
|
|
8272
|
+
function Yu(e) {
|
|
8273
|
+
if (void 0 === e) return Ku;
|
|
8265
8274
|
const t = "number" == typeof e ? e : e.value;
|
|
8266
|
-
return t > 0 ? t :
|
|
8275
|
+
return t > 0 ? t : Ku;
|
|
8267
8276
|
}
|
|
8268
|
-
function
|
|
8277
|
+
function qu(e) {
|
|
8269
8278
|
const t = (0, d.ref)([]), n = (0, d.ref)([]), o = (0, d.ref)([]), l = (0, d.ref)(null), a = (0, d.computed)(() => t.value.find((e) => e.clientId === l.value)?.activeSlide ?? null), r = (0, d.computed)(() => t.value.find((e) => "owner" === e.role)?.activeSlide ?? null), i = function() {
|
|
8270
8279
|
const e = (0, u.createPresenceProjector)();
|
|
8271
8280
|
let t = [];
|
|
@@ -8303,7 +8312,7 @@ function Yu(e) {
|
|
|
8303
8312
|
let s = null, c = null, p = 0, m = null;
|
|
8304
8313
|
function v() {
|
|
8305
8314
|
if (!s) return;
|
|
8306
|
-
const a = i.project(s.getStates(), s.clientID ?? -1,
|
|
8315
|
+
const a = i.project(s.getStates(), s.clientID ?? -1, Yu(e.canvasWidth), Yu(e.canvasHeight), p);
|
|
8307
8316
|
a.changed && (t.value = a.presences, n.value = a.remoteUsers, o.value = a.cursors, null === l.value || a.presences.some((e) => e.clientId === l.value) || (l.value = null));
|
|
8308
8317
|
}
|
|
8309
8318
|
return {
|
|
@@ -8337,8 +8346,8 @@ function Yu(e) {
|
|
|
8337
8346
|
}
|
|
8338
8347
|
};
|
|
8339
8348
|
}
|
|
8340
|
-
function
|
|
8341
|
-
const t = (0, d.ref)("disconnected"), n = (0, d.computed)(() => "connected" === t.value), o = (0, d.ref)(!1), l = (0, d.shallowRef)(null), a = (0, d.ref)(void 0), r =
|
|
8349
|
+
function Xu(e) {
|
|
8350
|
+
const t = (0, d.ref)("disconnected"), n = (0, d.computed)(() => "connected" === t.value), o = (0, d.ref)(!1), l = (0, d.shallowRef)(null), a = (0, d.ref)(void 0), r = qu(e), i = Gu(e, t), s = (0, d.computed)(() => (0, u.resolveCollaborationShellState)({
|
|
8342
8351
|
authorizedCanEdit: (0, d.toValue)(e.canEdit) ?? !0,
|
|
8343
8352
|
configured: Boolean((0, d.toValue)(e.collaboration) || l.value),
|
|
8344
8353
|
readOnly: i.readOnly.value,
|
|
@@ -8379,7 +8388,7 @@ function qu(e) {
|
|
|
8379
8388
|
}
|
|
8380
8389
|
const h = await async function(e, t, n) {
|
|
8381
8390
|
if ("webrtc" === e) {
|
|
8382
|
-
const { WebrtcProvider: e } = await Promise.resolve().then(() => require("./y-webrtc-
|
|
8391
|
+
const { WebrtcProvider: e } = await Promise.resolve().then(() => require("./y-webrtc-BLNwChNj.cjs")), o = new e(t.roomId, n, {
|
|
8383
8392
|
signaling: t.signaling?.length ? t.signaling : void 0,
|
|
8384
8393
|
password: t.authToken || void 0
|
|
8385
8394
|
}), l = (0, u.createDepartureChannel)(t.roomId, o.awareness);
|
|
@@ -8465,8 +8474,8 @@ function qu(e) {
|
|
|
8465
8474
|
livePatcher: i.livePatcher
|
|
8466
8475
|
};
|
|
8467
8476
|
}
|
|
8468
|
-
function
|
|
8469
|
-
const { slides: t, loadVersion: n, getLoadOrigin: o, getTemplateElements: l, getSourceBytes: a, getSaveOptions: r, initialUserColor: i, canvasWidth: s, canvasHeight: c, collaborationProp: p, selectedElementIds: m, activeSlideIndex: v, goTo: f, effectiveZoom: g, authorName: y, onStartCollaboration: h, onStopCollaboration: k } = e, x =
|
|
8477
|
+
function Zu(e) {
|
|
8478
|
+
const { slides: t, loadVersion: n, getLoadOrigin: o, getTemplateElements: l, getSourceBytes: a, getSaveOptions: r, initialUserColor: i, canvasWidth: s, canvasHeight: c, collaborationProp: p, selectedElementIds: m, activeSlideIndex: v, goTo: f, effectiveZoom: g, authorName: y, onStartCollaboration: h, onStopCollaboration: k } = e, x = Xu({
|
|
8470
8479
|
collaboration: p,
|
|
8471
8480
|
slides: t,
|
|
8472
8481
|
loadVersion: n,
|
|
@@ -8536,7 +8545,7 @@ function Xu(e) {
|
|
|
8536
8545
|
}
|
|
8537
8546
|
};
|
|
8538
8547
|
}
|
|
8539
|
-
function
|
|
8548
|
+
function Ju(e) {
|
|
8540
8549
|
const t = (0, d.computed)(() => (0, d.toValue)(e.comments) ?? []);
|
|
8541
8550
|
return {
|
|
8542
8551
|
slideComments: t,
|
|
@@ -8571,12 +8580,12 @@ function Zu(e) {
|
|
|
8571
8580
|
}
|
|
8572
8581
|
};
|
|
8573
8582
|
}
|
|
8574
|
-
function
|
|
8583
|
+
function Qu(e) {
|
|
8575
8584
|
const { activeSlide: t, activeSlideIndex: n, slides: o, authorName: l, pushHistory: a } = e, r = (0, d.ref)(!1), i = (0, d.computed)(() => t.value?.comments ?? []);
|
|
8576
8585
|
return {
|
|
8577
8586
|
showComments: r,
|
|
8578
8587
|
activeComments: i,
|
|
8579
|
-
commentsApi:
|
|
8588
|
+
commentsApi: Ju({
|
|
8580
8589
|
comments: i,
|
|
8581
8590
|
activeSlideIndex: n,
|
|
8582
8591
|
authorName: l
|
|
@@ -8597,7 +8606,7 @@ function Ju(e) {
|
|
|
8597
8606
|
}
|
|
8598
8607
|
};
|
|
8599
8608
|
}
|
|
8600
|
-
async function
|
|
8609
|
+
async function ed(e, t = {}) {
|
|
8601
8610
|
const { default: n } = await import("html2canvas-pro"), o = t.onclone;
|
|
8602
8611
|
return n(e, {
|
|
8603
8612
|
...t,
|
|
@@ -8606,7 +8615,7 @@ async function Qu(e, t = {}) {
|
|
|
8606
8615
|
}
|
|
8607
8616
|
});
|
|
8608
8617
|
}
|
|
8609
|
-
function
|
|
8618
|
+
function td(e, t, n) {
|
|
8610
8619
|
const o = t?.el.tableData;
|
|
8611
8620
|
if (!t || !o) return;
|
|
8612
8621
|
const l = (e) => {
|
|
@@ -8619,22 +8628,22 @@ function ed(e, t, n) {
|
|
|
8619
8628
|
}, { rowIndex: r, columnIndex: i } = t.sel;
|
|
8620
8629
|
switch (e) {
|
|
8621
8630
|
case "table-insert-row-above":
|
|
8622
|
-
a(
|
|
8631
|
+
a(fu(t.el, r, "above"));
|
|
8623
8632
|
break;
|
|
8624
8633
|
case "table-insert-row-below":
|
|
8625
|
-
a(
|
|
8634
|
+
a(fu(t.el, r, "below"));
|
|
8626
8635
|
break;
|
|
8627
8636
|
case "table-delete-row":
|
|
8628
|
-
a(
|
|
8637
|
+
a(gu(t.el, r));
|
|
8629
8638
|
break;
|
|
8630
8639
|
case "table-insert-col-left":
|
|
8631
|
-
a(
|
|
8640
|
+
a(yu(t.el, i, "left"));
|
|
8632
8641
|
break;
|
|
8633
8642
|
case "table-insert-col-right":
|
|
8634
|
-
a(
|
|
8643
|
+
a(yu(t.el, i, "right"));
|
|
8635
8644
|
break;
|
|
8636
8645
|
case "table-delete-col":
|
|
8637
|
-
a(
|
|
8646
|
+
a(hu(t.el, i));
|
|
8638
8647
|
break;
|
|
8639
8648
|
case "table-merge-right":
|
|
8640
8649
|
l(function(e, t, n) {
|
|
@@ -8655,7 +8664,7 @@ function ed(e, t, n) {
|
|
|
8655
8664
|
}(o, r, i));
|
|
8656
8665
|
break;
|
|
8657
8666
|
case "table-merge-selected":
|
|
8658
|
-
l(
|
|
8667
|
+
l(ku(o, t.sel.selectedCells));
|
|
8659
8668
|
break;
|
|
8660
8669
|
case "table-split": l(function(e, t, n) {
|
|
8661
8670
|
const o = (0, u.computeSplitCell)(e, t, n);
|
|
@@ -8666,7 +8675,7 @@ function ed(e, t, n) {
|
|
|
8666
8675
|
}(o, r, i));
|
|
8667
8676
|
}
|
|
8668
8677
|
}
|
|
8669
|
-
function
|
|
8678
|
+
function nd(e) {
|
|
8670
8679
|
const { t } = Ho(), { canEdit: n, findActiveElement: o, tableSelection: l, hasClipboard: a, canGroup: r, selectionGroupable: i, editTemplateMode: s, selectedElementIds: c, inlineEditingElementId: p, inspectorOpen: m, enterInlineEdit: v, ops: f, cutElement: g, copyElement: y, pasteElement: h, onGroup: k, onUngroup: x, openHyperlinkDialog: b, onAddComment: S, aiEnabled: w, onAskAi: E, onFixAi: B, onEmptyCanvasContextMenu: C, customization: I, onEditPoints: P, mergeCrop: T } = e, _ = (0, d.ref)({
|
|
8671
8680
|
open: !1,
|
|
8672
8681
|
x: 0,
|
|
@@ -8802,7 +8811,7 @@ function td(e) {
|
|
|
8802
8811
|
const l = o.getBoundingClientRect(), a = l.width || o.offsetWidth, r = l.height || o.offsetHeight;
|
|
8803
8812
|
await (0, u.saveElementAsPicture)(o, a, r, document, (0, u.elementPictureFilename)(t, n), {
|
|
8804
8813
|
scale: 2,
|
|
8805
|
-
html2canvasFallback: (e, t) =>
|
|
8814
|
+
html2canvasFallback: (e, t) => ed(o, {
|
|
8806
8815
|
scale: t.width / (e.width || 1),
|
|
8807
8816
|
x: e.x,
|
|
8808
8817
|
y: e.y,
|
|
@@ -8829,14 +8838,14 @@ function td(e) {
|
|
|
8829
8838
|
break;
|
|
8830
8839
|
default: {
|
|
8831
8840
|
const t = (0, u.mergeOperationForCommand)(e);
|
|
8832
|
-
t ? T?.merge(t) :
|
|
8841
|
+
t ? T?.merge(t) : td(e, D.value, f);
|
|
8833
8842
|
break;
|
|
8834
8843
|
}
|
|
8835
8844
|
}
|
|
8836
8845
|
}
|
|
8837
8846
|
};
|
|
8838
8847
|
}
|
|
8839
|
-
function
|
|
8848
|
+
function od(e) {
|
|
8840
8849
|
const { customShows: t, slides: n, activeSlideIndex: o, pushHistory: l } = e, a = (0, d.computed)(() => {
|
|
8841
8850
|
const e = n.value[o.value];
|
|
8842
8851
|
return e?.rId && e.rId.length > 0 ? e.rId : void 0;
|
|
@@ -8899,8 +8908,8 @@ function nd(e) {
|
|
|
8899
8908
|
activeSlideRId: a
|
|
8900
8909
|
};
|
|
8901
8910
|
}
|
|
8902
|
-
function
|
|
8903
|
-
const { customShows: t, slides: n, activeSlideIndex: o, activeSlide: l, pushHistory: a } = e, { t: r } = Ho(), i = (0, d.ref)(!1), s = (0, d.ref)(null), c =
|
|
8911
|
+
function ld(e) {
|
|
8912
|
+
const { customShows: t, slides: n, activeSlideIndex: o, activeSlide: l, pushHistory: a } = e, { t: r } = Ho(), i = (0, d.ref)(!1), s = (0, d.ref)(null), c = od({
|
|
8904
8913
|
customShows: t,
|
|
8905
8914
|
slides: n,
|
|
8906
8915
|
activeSlideIndex: o,
|
|
@@ -8943,7 +8952,7 @@ function od(e) {
|
|
|
8943
8952
|
}
|
|
8944
8953
|
};
|
|
8945
8954
|
}
|
|
8946
|
-
function
|
|
8955
|
+
function ad(e) {
|
|
8947
8956
|
const { coreProperties: t, customProperties: n, appProperties: o } = e, l = (0, d.ref)(!1);
|
|
8948
8957
|
return {
|
|
8949
8958
|
propertiesOpen: l,
|
|
@@ -8958,7 +8967,7 @@ function ld(e) {
|
|
|
8958
8967
|
}
|
|
8959
8968
|
};
|
|
8960
8969
|
}
|
|
8961
|
-
function
|
|
8970
|
+
function rd(e, t, n) {
|
|
8962
8971
|
const o = new u.EditorHistory({ maxDepth: n?.maxDepth ?? 120 }), l = (0, d.shallowRef)(0), a = () => {
|
|
8963
8972
|
l.value++;
|
|
8964
8973
|
}, r = (e) => {
|
|
@@ -9000,17 +9009,17 @@ function ad(e, t, n) {
|
|
|
9000
9009
|
}
|
|
9001
9010
|
};
|
|
9002
9011
|
}
|
|
9003
|
-
function
|
|
9012
|
+
function id(e, t) {
|
|
9004
9013
|
return 0 === t.size ? e : (0, u.applyReroutedConnectors)(e, (0, u.rerouteConnectorsForMovedElements)(e, t));
|
|
9005
9014
|
}
|
|
9006
|
-
function
|
|
9015
|
+
function sd(e) {
|
|
9007
9016
|
const { slides: t, activeSlideIndex: n, templateElementsBySlideId: o } = e;
|
|
9008
9017
|
return function(e) {
|
|
9009
9018
|
if (0 === e.size) return;
|
|
9010
9019
|
const l = n.value, a = function(e, t, n) {
|
|
9011
9020
|
const o = e[t];
|
|
9012
9021
|
if (!o) return e;
|
|
9013
|
-
const l =
|
|
9022
|
+
const l = id(o.elements, n);
|
|
9014
9023
|
if (l === o.elements) return e;
|
|
9015
9024
|
const a = e.slice();
|
|
9016
9025
|
return a[t] = {
|
|
@@ -9021,11 +9030,11 @@ function id(e) {
|
|
|
9021
9030
|
a !== t.value && (t.value = a);
|
|
9022
9031
|
const r = t.value[l], i = r ? o.value[r.id] : void 0;
|
|
9023
9032
|
if (!r || !i) return;
|
|
9024
|
-
const s =
|
|
9033
|
+
const s = id(i, e);
|
|
9025
9034
|
s !== i && (o.value = (0, u.setTemplateElements)(o.value, r.id, s));
|
|
9026
9035
|
};
|
|
9027
9036
|
}
|
|
9028
|
-
function
|
|
9037
|
+
function cd(e) {
|
|
9029
9038
|
const { canEdit: t, hasSelection: n, presenting: o, findOpen: l, selectedElementIds: a, activeSlide: r, activeSlideIndex: i, slides: s, templateElementsBySlideId: c, pushHistory: p, undo: m, redo: v, copyElement: f, cutElement: g, pasteElement: y, onPasteSpecial: k, duplicateSelected: x, deleteSelected: b, goPrev: S, goNext: w, onEscape: E, onGroup: B, onUngroup: C, presentFromBeginning: I, startPresenting: P, inlineEditingElementId: T, tableEditorIsEditing: _, activeTool: O, selectedElements: D, selectElement: N, ribbonUpdateTextStyle: L, addSlide: A, openHyperlinkForSelection: M, toggleFormatPainter: F, applyFormatToTarget: z, cancelFormatPainter: R } = e, V = (0, d.ref)(!1);
|
|
9030
9039
|
function j() {
|
|
9031
9040
|
a.value = (r.value?.elements ?? []).map((e) => e.id);
|
|
@@ -9039,7 +9048,7 @@ function sd(e) {
|
|
|
9039
9048
|
e && g(e);
|
|
9040
9049
|
}
|
|
9041
9050
|
const U = function(e) {
|
|
9042
|
-
const { selectedElementIds: t, activeSlideIndex: n, slides: o, templateElementsBySlideId: l, pushHistory: a } = e, r =
|
|
9051
|
+
const { selectedElementIds: t, activeSlideIndex: n, slides: o, templateElementsBySlideId: l, pushHistory: a } = e, r = sd({
|
|
9043
9052
|
slides: o,
|
|
9044
9053
|
activeSlideIndex: n,
|
|
9045
9054
|
templateElementsBySlideId: l
|
|
@@ -9089,7 +9098,7 @@ function sd(e) {
|
|
|
9089
9098
|
const t = (r.value?.elements ?? []).map((e) => e.id), n = (0, u.cycleSelectableElement)(t, a.value[0] ?? null, e);
|
|
9090
9099
|
n && N(n, !1);
|
|
9091
9100
|
}
|
|
9092
|
-
const K =
|
|
9101
|
+
const K = ru({
|
|
9093
9102
|
canPaste: e.canPaste,
|
|
9094
9103
|
actions: {
|
|
9095
9104
|
undo: m,
|
|
@@ -9168,7 +9177,7 @@ function sd(e) {
|
|
|
9168
9177
|
selectAllElements: j
|
|
9169
9178
|
};
|
|
9170
9179
|
}
|
|
9171
|
-
function
|
|
9180
|
+
function ud(e) {
|
|
9172
9181
|
const { slides: t, activeSlideIndex: n, pushHistory: o } = e, l = e.selectedElementIds ?? (0, d.ref)([]), a = (0, d.computed)(() => t.value[n.value]), r = (e) => {
|
|
9173
9182
|
const l = n.value;
|
|
9174
9183
|
t.value[l] && (o(), t.value = t.value.map((t, n) => n === l ? {
|
|
@@ -9261,7 +9270,7 @@ function cd(e) {
|
|
|
9261
9270
|
}
|
|
9262
9271
|
};
|
|
9263
9272
|
}
|
|
9264
|
-
function
|
|
9273
|
+
function dd(e) {
|
|
9265
9274
|
const { findActiveElement: t, pushHistory: n, effectiveZoom: o, activeTemplateElements: l, activeSlide: a, activeSlideIndex: r, slides: i, templateElementsBySlideId: s, canvasSize: c, enterInlineEdit: p, gridSpacingPx: m } = e, v = function(e) {
|
|
9266
9275
|
const t = (0, d.ref)(!1), n = (0, d.ref)(!1), o = (0, d.ref)([]), l = (0, d.ref)([]);
|
|
9267
9276
|
return {
|
|
@@ -9306,13 +9315,13 @@ function ud(e) {
|
|
|
9306
9315
|
elements: c
|
|
9307
9316
|
}, t.value = d;
|
|
9308
9317
|
};
|
|
9309
|
-
}(x), S =
|
|
9318
|
+
}(x), S = sd(x);
|
|
9310
9319
|
let w = null, E = !0, B = !1;
|
|
9311
9320
|
const C = (0, u.createGestureController)({
|
|
9312
9321
|
getScale: () => o.value,
|
|
9313
9322
|
getElementBox: (e) => {
|
|
9314
9323
|
const n = t(e);
|
|
9315
|
-
return n ?
|
|
9324
|
+
return n ? Kc(n) : void 0;
|
|
9316
9325
|
},
|
|
9317
9326
|
getSiblings: () => {
|
|
9318
9327
|
if (!w) return [];
|
|
@@ -9394,7 +9403,7 @@ function ud(e) {
|
|
|
9394
9403
|
cancelElementDrag: () => C.dispose(),
|
|
9395
9404
|
onTransformStart: function(e) {
|
|
9396
9405
|
const o = e ? t(e.id) : void 0;
|
|
9397
|
-
P = o ? (0, u.resolveElementInteractivity)(o) : null, T = o ?
|
|
9406
|
+
P = o ? (0, u.resolveElementInteractivity)(o) : null, T = o ? Kc(o) : null, n();
|
|
9398
9407
|
},
|
|
9399
9408
|
onTransform: function(e) {
|
|
9400
9409
|
I(_(e));
|
|
@@ -9416,7 +9425,7 @@ function ud(e) {
|
|
|
9416
9425
|
}
|
|
9417
9426
|
};
|
|
9418
9427
|
}
|
|
9419
|
-
function
|
|
9428
|
+
function pd(e) {
|
|
9420
9429
|
const { canvasSize: t, ops: n, selectedElementIds: o, activeSlideIndex: l } = e, a = function(e) {
|
|
9421
9430
|
const { slides: t, activeSlideIndex: n, handler: o, pushHistory: l, templateElementsBySlideId: a } = e;
|
|
9422
9431
|
return {
|
|
@@ -9564,27 +9573,27 @@ function dd(e) {
|
|
|
9564
9573
|
...a
|
|
9565
9574
|
};
|
|
9566
9575
|
}
|
|
9567
|
-
var
|
|
9576
|
+
var md = /["\\\n\r;}<>]/u, vd = /* @__PURE__ */ new Set([
|
|
9568
9577
|
"truetype",
|
|
9569
9578
|
"opentype",
|
|
9570
9579
|
"woff",
|
|
9571
9580
|
"woff2"
|
|
9572
|
-
]),
|
|
9573
|
-
function
|
|
9581
|
+
]), fd = /^data:font\/[a-z0-9+.-]+(?:;charset=[a-z0-9-]+)?;base64,[a-z0-9+/=]+$/iu;
|
|
9582
|
+
function gd() {
|
|
9574
9583
|
return "undefined" != typeof URL && "function" == typeof URL.createObjectURL && "function" == typeof URL.revokeObjectURL && "undefined" != typeof Blob;
|
|
9575
9584
|
}
|
|
9576
|
-
var
|
|
9585
|
+
var yd = {
|
|
9577
9586
|
truetype: "font/ttf",
|
|
9578
9587
|
opentype: "font/otf",
|
|
9579
9588
|
woff: "font/woff",
|
|
9580
9589
|
woff2: "font/woff2"
|
|
9581
9590
|
};
|
|
9582
|
-
function
|
|
9591
|
+
function hd(e) {
|
|
9583
9592
|
const t = "string" == typeof e.name ? e.name.trim() : "";
|
|
9584
|
-
if (0 === t.length ||
|
|
9593
|
+
if (0 === t.length || md.test(t)) return null;
|
|
9585
9594
|
const n = e.bold ? "700" : "400", o = e.italic ? "italic" : "normal";
|
|
9586
|
-
if ("string" == typeof (l = e.dataUrl) && 0 !== l.length && (l.startsWith("blob:") ||
|
|
9587
|
-
const l = e.format &&
|
|
9595
|
+
if ("string" == typeof (l = e.dataUrl) && 0 !== l.length && (l.startsWith("blob:") || fd.test(l))) {
|
|
9596
|
+
const l = e.format && vd.has(e.format) ? e.format : "truetype";
|
|
9588
9597
|
return {
|
|
9589
9598
|
name: t,
|
|
9590
9599
|
url: e.dataUrl,
|
|
@@ -9594,10 +9603,10 @@ function yd(e) {
|
|
|
9594
9603
|
};
|
|
9595
9604
|
}
|
|
9596
9605
|
var l;
|
|
9597
|
-
if (!
|
|
9606
|
+
if (!gd()) return null;
|
|
9598
9607
|
let a;
|
|
9599
9608
|
if (e.rawFontData && e.rawFontData.length > 0 ? a = e.rawFontData : e.originalPartBytes && e.originalPartBytes.length > 0 && e.fontGuid && (a = (0, h.deobfuscateFont)(e.originalPartBytes, e.fontGuid)), !a || a.length < 4) return null;
|
|
9600
|
-
const r = (0, h.detectFontFormat)(a), i =
|
|
9609
|
+
const r = (0, h.detectFontFormat)(a), i = vd.has(r) ? r : "truetype", s = yd[i] ?? "font/ttf", c = new Uint8Array(a.length);
|
|
9601
9610
|
c.set(a);
|
|
9602
9611
|
const u = new Blob([c], { type: s }), d = URL.createObjectURL(u);
|
|
9603
9612
|
return {
|
|
@@ -9609,7 +9618,7 @@ function yd(e) {
|
|
|
9609
9618
|
objectUrl: d
|
|
9610
9619
|
};
|
|
9611
9620
|
}
|
|
9612
|
-
function
|
|
9621
|
+
function kd(e) {
|
|
9613
9622
|
return [
|
|
9614
9623
|
"@font-face {",
|
|
9615
9624
|
`\tfont-family: "${e.name}";`,
|
|
@@ -9620,22 +9629,22 @@ function hd(e) {
|
|
|
9620
9629
|
"}"
|
|
9621
9630
|
].join("\n");
|
|
9622
9631
|
}
|
|
9623
|
-
function
|
|
9632
|
+
function xd(e) {
|
|
9624
9633
|
let t = [], n = null;
|
|
9625
9634
|
const o = (e) => {
|
|
9626
|
-
if (
|
|
9635
|
+
if (gd()) for (const t of e) URL.revokeObjectURL(t);
|
|
9627
9636
|
}, l = (0, d.computed)(() => {
|
|
9628
9637
|
const n = (0, d.toValue)(e) ?? [], l = t, a = [], r = [];
|
|
9629
9638
|
for (const e of n) {
|
|
9630
|
-
const t =
|
|
9639
|
+
const t = hd(e);
|
|
9631
9640
|
t && (r.push(t), t.objectUrl && a.push(t.objectUrl));
|
|
9632
9641
|
}
|
|
9633
9642
|
return t = a, o(l), r;
|
|
9634
|
-
}), a = (0, d.computed)(() => l.value.map(
|
|
9643
|
+
}), a = (0, d.computed)(() => l.value.map(kd).join("\n\n")), r = (0, d.computed)(() => {
|
|
9635
9644
|
const e = /* @__PURE__ */ new Set(), t = [];
|
|
9636
9645
|
for (const n of l.value) e.has(n.name) || (e.add(n.name), t.push((0, h.getSubstituteFontFamily)(n.name)));
|
|
9637
9646
|
return t;
|
|
9638
|
-
}), i = (0, d.watch)(() => (0, d.toValue)(e) ?? [], (e) =>
|
|
9647
|
+
}), i = (0, d.watch)(() => (0, d.toValue)(e) ?? [], (e) => rc.registerEmbeddedFonts(e), { immediate: !0 }), s = (0, d.watch)(a, (e) => {
|
|
9639
9648
|
if ("undefined" != typeof document && "function" == typeof document.createElement && void 0 !== document.head) {
|
|
9640
9649
|
if (0 === e.length) return n && n.parentNode && n.parentNode.removeChild(n), void (n = null);
|
|
9641
9650
|
n || (n = document.createElement("style"), n.id = "pptx-vue-embedded-fonts", document.head.appendChild(n)), n.textContent = e;
|
|
@@ -9648,11 +9657,11 @@ function kd(e) {
|
|
|
9648
9657
|
fontFamilies: r
|
|
9649
9658
|
};
|
|
9650
9659
|
}
|
|
9651
|
-
function
|
|
9660
|
+
function bd(e) {
|
|
9652
9661
|
const t = "string" == typeof e || void 0 === e ? e : e.value;
|
|
9653
9662
|
return (0, u.resolveExportBaseName)(t);
|
|
9654
9663
|
}
|
|
9655
|
-
function
|
|
9664
|
+
function Sd(e) {
|
|
9656
9665
|
const { slides: t, canvasSize: n, rasterizeSlide: o } = e, l = (0, d.ref)(!1);
|
|
9657
9666
|
return {
|
|
9658
9667
|
exporting: l,
|
|
@@ -9661,7 +9670,7 @@ function bd(e) {
|
|
|
9661
9670
|
l.value = !0;
|
|
9662
9671
|
try {
|
|
9663
9672
|
const t = e.rasterizeSlideToRaster ? await (0, u.rasterResultToPngDataUrl)(await e.rasterizeSlideToRaster(n)) : (await o(n)).toDataURL("image/png");
|
|
9664
|
-
(0, u.downloadDataUrl)(t, `${
|
|
9673
|
+
(0, u.downloadDataUrl)(t, `${bd(e.fileName)}-slide-${n + 1}.png`);
|
|
9665
9674
|
} finally {
|
|
9666
9675
|
l.value = !1;
|
|
9667
9676
|
}
|
|
@@ -9691,14 +9700,14 @@ function bd(e) {
|
|
|
9691
9700
|
d.addImage(e.toDataURL("image/png"), "PNG", 0, 0, a, s);
|
|
9692
9701
|
}
|
|
9693
9702
|
}
|
|
9694
|
-
d.save(`${
|
|
9703
|
+
d.save(`${bd(e.fileName)}.pdf`);
|
|
9695
9704
|
} finally {
|
|
9696
9705
|
l.value = !1;
|
|
9697
9706
|
}
|
|
9698
9707
|
}
|
|
9699
9708
|
};
|
|
9700
9709
|
}
|
|
9701
|
-
function
|
|
9710
|
+
function wd(e) {
|
|
9702
9711
|
const { exporter: t, mediaExport: n } = e, { t: o } = Ho(), l = (0, d.ref)(!1), a = (0, d.ref)(""), r = (0, d.ref)(0), i = (0, d.ref)("");
|
|
9703
9712
|
let s = null;
|
|
9704
9713
|
function c(e) {
|
|
@@ -9766,12 +9775,12 @@ function Sd(e) {
|
|
|
9766
9775
|
}
|
|
9767
9776
|
};
|
|
9768
9777
|
}
|
|
9769
|
-
var
|
|
9770
|
-
function
|
|
9778
|
+
var Ed = 2e3;
|
|
9779
|
+
function Bd(e) {
|
|
9771
9780
|
const t = "string" == typeof e || void 0 === e ? e : e.value;
|
|
9772
9781
|
return (0, u.resolveExportBaseName)(t);
|
|
9773
9782
|
}
|
|
9774
|
-
function
|
|
9783
|
+
function Cd(e, t) {
|
|
9775
9784
|
const { width: n, height: o } = (0, u.clampGifDimensions)(e.width, e.height, t);
|
|
9776
9785
|
let l = e;
|
|
9777
9786
|
if (n !== e.width || o !== e.height) {
|
|
@@ -9788,16 +9797,16 @@ function Bd(e, t) {
|
|
|
9788
9797
|
height: o
|
|
9789
9798
|
};
|
|
9790
9799
|
}
|
|
9791
|
-
var
|
|
9792
|
-
function
|
|
9800
|
+
var Id = 3e3, Pd = 30, Td = 5e6;
|
|
9801
|
+
function _d(e, t, n) {
|
|
9793
9802
|
const o = e.captureStream(t);
|
|
9794
9803
|
return new MediaRecorder(o, n);
|
|
9795
9804
|
}
|
|
9796
|
-
function
|
|
9805
|
+
function Od(e) {
|
|
9797
9806
|
if (e?.aborted) throw new DOMException("Export cancelled", "AbortError");
|
|
9798
9807
|
}
|
|
9799
|
-
function
|
|
9800
|
-
const { slideCount: t, rasterizeSlide: n } = e, o = e.loadGifEncoder ?? (async () => (await Promise.resolve().then(() => require("./gif-encoder-3CbwLFoo.cjs"))).encodeGif), l = e.createRecorder ??
|
|
9808
|
+
function Dd(e) {
|
|
9809
|
+
const { slideCount: t, rasterizeSlide: n } = e, o = e.loadGifEncoder ?? (async () => (await Promise.resolve().then(() => require("./gif-encoder-3CbwLFoo.cjs"))).encodeGif), l = e.createRecorder ?? _d, a = e.createCanvas ?? (() => document.createElement("canvas")), r = e.downloadBlob ?? u.downloadBlob, i = (0, d.ref)(!1), s = (0, d.ref)(0);
|
|
9801
9810
|
return {
|
|
9802
9811
|
exporting: i,
|
|
9803
9812
|
progress: s,
|
|
@@ -9805,21 +9814,21 @@ function Od(e) {
|
|
|
9805
9814
|
return async function(e, t = {}) {
|
|
9806
9815
|
const { slideCount: n, rasterizeSlide: o, loadGifEncoder: l, exporting: a, progress: r } = e, i = e.downloadBlob ?? u.downloadBlob, s = n.value;
|
|
9807
9816
|
if (a.value || 0 === s) return;
|
|
9808
|
-
const { slideDurationMs: c =
|
|
9817
|
+
const { slideDurationMs: c = Ed, slideTimingsMs: d, maxSide: p = u.GIF_POST_CAPTURE_MAX_SIDE, onProgress: m, signal: v } = t;
|
|
9809
9818
|
a.value = !0, r.value = 0;
|
|
9810
9819
|
try {
|
|
9811
9820
|
const t = [];
|
|
9812
9821
|
for (let e = 0; e < s; e++) {
|
|
9813
9822
|
if (v?.aborted) throw new DOMException("Export cancelled", "AbortError");
|
|
9814
9823
|
m?.(e, s);
|
|
9815
|
-
const n =
|
|
9824
|
+
const n = Cd(await o(e), p);
|
|
9816
9825
|
n && (t.push(n), r.value = Math.round((e + 1) / s * 90));
|
|
9817
9826
|
}
|
|
9818
9827
|
if (0 === t.length) throw new Error("[useMediaExport] No slides were captured for GIF export");
|
|
9819
9828
|
const n = await l(), a = d?.[0], u = void 0 !== a && d?.every((e) => e === a) ? a : c, f = n(t, Math.max(1, Math.round(u / 10))), g = new ArrayBuffer(f.length);
|
|
9820
9829
|
new Uint8Array(g).set(f);
|
|
9821
9830
|
const y = new Blob([g], { type: "image/gif" });
|
|
9822
|
-
return m?.(s, s), r.value = 95, i(y, `${
|
|
9831
|
+
return m?.(s, s), r.value = 95, i(y, `${Bd(e.fileName)}.gif`), r.value = 100, y;
|
|
9823
9832
|
} finally {
|
|
9824
9833
|
a.value = !1;
|
|
9825
9834
|
}
|
|
@@ -9836,11 +9845,11 @@ function Od(e) {
|
|
|
9836
9845
|
exportWebm: async function(o = {}) {
|
|
9837
9846
|
const c = t.value;
|
|
9838
9847
|
if (i.value || 0 === c) return;
|
|
9839
|
-
const { slideDurationMs: d =
|
|
9848
|
+
const { slideDurationMs: d = Id, slideTimingsMs: p, fps: m = Pd, videoBitsPerSecond: v = Td, onProgress: f, onRecordProgress: g, signal: y } = o;
|
|
9840
9849
|
i.value = !0, s.value = 0;
|
|
9841
9850
|
try {
|
|
9842
9851
|
const t = [];
|
|
9843
|
-
for (let e = 0; e < c; e++)
|
|
9852
|
+
for (let e = 0; e < c; e++) Od(y), f?.(e, c), t.push(await n(e)), s.value = Math.round((e + 1) / c * 45);
|
|
9844
9853
|
if (0 === t.length) throw new Error("[useMediaExport] No slides were captured for video export");
|
|
9845
9854
|
const o = t[0], i = a();
|
|
9846
9855
|
i.width = o.width, i.height = o.height;
|
|
@@ -9878,7 +9887,7 @@ function Od(e) {
|
|
|
9878
9887
|
}
|
|
9879
9888
|
k.stop(), await b;
|
|
9880
9889
|
const o = new Blob(x, { type: "video/webm" });
|
|
9881
|
-
return f?.(c, c), s.value = 95, r(o, `${
|
|
9890
|
+
return f?.(c, c), s.value = 95, r(o, `${Bd(e.fileName)}.webm`), s.value = 100, o;
|
|
9882
9891
|
} finally {
|
|
9883
9892
|
(0, u.stopCaptureStream)(k.stream);
|
|
9884
9893
|
}
|
|
@@ -9888,7 +9897,7 @@ function Od(e) {
|
|
|
9888
9897
|
}
|
|
9889
9898
|
};
|
|
9890
9899
|
}
|
|
9891
|
-
function
|
|
9900
|
+
function Nd(e) {
|
|
9892
9901
|
const { mergedSlides: t, slides: n, slideCount: o, canvasSize: l, activeSlideIndex: a, saveAs: r, imageExportScale: i } = e, s = (0, d.ref)(null), c = (0, d.ref)(0), p = (0, d.computed)(() => t.value[c.value]), { rasterizeSlide: m, rasterizeSlideToRaster: v, rasterizeSlideToTiles: f } = function(e) {
|
|
9893
9902
|
const { exportStageRef: t, exportIndex: n, canvasSize: o, imageExportScale: l } = e;
|
|
9894
9903
|
async function a(e) {
|
|
@@ -9903,7 +9912,7 @@ function Dd(e) {
|
|
|
9903
9912
|
return 2 * (l?.() ?? 1) * e;
|
|
9904
9913
|
}
|
|
9905
9914
|
function i(e, t, n) {
|
|
9906
|
-
return
|
|
9915
|
+
return ed(e, {
|
|
9907
9916
|
backgroundColor: "#ffffff",
|
|
9908
9917
|
scale: n.width / (t.width || 1),
|
|
9909
9918
|
x: t.x,
|
|
@@ -9944,16 +9953,16 @@ function Dd(e) {
|
|
|
9944
9953
|
exportIndex: c,
|
|
9945
9954
|
canvasSize: l,
|
|
9946
9955
|
imageExportScale: i
|
|
9947
|
-
}), g =
|
|
9956
|
+
}), g = Sd({
|
|
9948
9957
|
slides: n,
|
|
9949
9958
|
canvasSize: l,
|
|
9950
9959
|
rasterizeSlide: m,
|
|
9951
9960
|
rasterizeSlideToRaster: v,
|
|
9952
9961
|
rasterizeSlideToTiles: f
|
|
9953
|
-
}), y =
|
|
9962
|
+
}), y = Dd({
|
|
9954
9963
|
slideCount: o,
|
|
9955
9964
|
rasterizeSlide: m
|
|
9956
|
-
}), h =
|
|
9965
|
+
}), h = wd({
|
|
9957
9966
|
exporter: g,
|
|
9958
9967
|
mediaExport: y
|
|
9959
9968
|
});
|
|
@@ -10010,7 +10019,7 @@ function Dd(e) {
|
|
|
10010
10019
|
}
|
|
10011
10020
|
};
|
|
10012
10021
|
}
|
|
10013
|
-
function
|
|
10022
|
+
function Ld({ slides: e, activeSlideIndex: t, pushHistory: n }) {
|
|
10014
10023
|
const o = (0, d.ref)(""), l = (0, d.ref)(""), a = (0, d.ref)(!1), r = (0, d.ref)(!1), i = (0, d.ref)(!0), s = (0, d.ref)(!1), c = (0, d.ref)(0), p = (0, d.computed)(() => (0, u.findInSlides)(e.value, o.value, {
|
|
10015
10024
|
matchCase: a.value,
|
|
10016
10025
|
includeNotes: r.value,
|
|
@@ -10056,7 +10065,7 @@ function Nd({ slides: e, activeSlideIndex: t, pushHistory: n }) {
|
|
|
10056
10065
|
}
|
|
10057
10066
|
};
|
|
10058
10067
|
}
|
|
10059
|
-
function
|
|
10068
|
+
function Ad(e) {
|
|
10060
10069
|
const { slides: t, embeddedFonts: n } = e, o = (0, d.ref)(!1), l = (0, d.computed)(() => (0, u.collectUsedFonts)(t.value)), a = (0, d.computed)(() => n.value.map((e) => e.name)), r = (0, d.computed)(() => (0, u.describeFontEmbedding)(a.value)), i = (0, d.ref)(r.value.initialEnabled);
|
|
10061
10070
|
return (0, d.watch)(r, (e) => {
|
|
10062
10071
|
i.value = e.initialEnabled;
|
|
@@ -10068,7 +10077,7 @@ function Ld(e) {
|
|
|
10068
10077
|
fontEmbedding: r
|
|
10069
10078
|
};
|
|
10070
10079
|
}
|
|
10071
|
-
function
|
|
10080
|
+
function Md(e) {
|
|
10072
10081
|
const { selectedElements: t, findActiveElement: n, ops: o } = e, l = (0, d.ref)(!1), a = (0, d.ref)(null), r = (0, d.computed)(() => 1 === t.value.length && (0, u.hasCopyableFormat)(t.value[0]));
|
|
10073
10082
|
function i() {
|
|
10074
10083
|
l.value = !1, a.value = null;
|
|
@@ -10090,7 +10099,7 @@ function Ad(e) {
|
|
|
10090
10099
|
}
|
|
10091
10100
|
};
|
|
10092
10101
|
}
|
|
10093
|
-
function
|
|
10102
|
+
function Fd(e) {
|
|
10094
10103
|
const { headerFooter: t } = e, n = (0, d.ref)(!1);
|
|
10095
10104
|
return {
|
|
10096
10105
|
showHeaderFooter: n,
|
|
@@ -10099,7 +10108,7 @@ function Md(e) {
|
|
|
10099
10108
|
}
|
|
10100
10109
|
};
|
|
10101
10110
|
}
|
|
10102
|
-
function
|
|
10111
|
+
function zd(e) {
|
|
10103
10112
|
const { canEdit: t, presenting: n, activeTool: o, activeSlide: l, selectedElementIds: a, ops: r } = e;
|
|
10104
10113
|
return {
|
|
10105
10114
|
drawingActive: (0, d.computed)(() => t() && !n.value && "select" !== o.value),
|
|
@@ -10120,7 +10129,7 @@ function Fd(e) {
|
|
|
10120
10129
|
}
|
|
10121
10130
|
};
|
|
10122
10131
|
}
|
|
10123
|
-
function
|
|
10132
|
+
function Rd(e) {
|
|
10124
10133
|
const { canEdit: t, findActiveElement: n, ops: o } = e;
|
|
10125
10134
|
function l(t) {
|
|
10126
10135
|
const n = e.proofing?.();
|
|
@@ -10199,7 +10208,7 @@ function zd(e) {
|
|
|
10199
10208
|
}
|
|
10200
10209
|
};
|
|
10201
10210
|
}
|
|
10202
|
-
function
|
|
10211
|
+
function Vd(e) {
|
|
10203
10212
|
const { ops: t, selectedElementIds: n, findActiveElement: o } = e, l = (0, d.ref)(!1), a = (0, d.ref)(!1), r = (0, d.ref)(null), i = (0, d.ref)(null);
|
|
10204
10213
|
function s() {
|
|
10205
10214
|
a.value = !1, r.value = null, i.value = null;
|
|
@@ -10224,7 +10233,7 @@ function Rd(e) {
|
|
|
10224
10233
|
closeEquationEditor: s
|
|
10225
10234
|
};
|
|
10226
10235
|
}
|
|
10227
|
-
function
|
|
10236
|
+
function jd(e) {
|
|
10228
10237
|
if (e <= 0 || "undefined" == typeof document) return;
|
|
10229
10238
|
const t = document.activeElement;
|
|
10230
10239
|
if (!function(e) {
|
|
@@ -10241,7 +10250,7 @@ function Vd(e) {
|
|
|
10241
10250
|
behavior: "smooth"
|
|
10242
10251
|
});
|
|
10243
10252
|
}
|
|
10244
|
-
function
|
|
10253
|
+
function $d() {
|
|
10245
10254
|
const e = (0, d.ref)(0), t = (0, d.ref)(!1);
|
|
10246
10255
|
return (0, d.onMounted)(() => {
|
|
10247
10256
|
if ("undefined" == typeof window) return;
|
|
@@ -10249,11 +10258,11 @@ function jd() {
|
|
|
10249
10258
|
if (!n) return;
|
|
10250
10259
|
const o = () => {
|
|
10251
10260
|
const n = (0, u.readViewportMetrics)(window), o = n ? (0, u.computeKeyboardInset)(n) : 0;
|
|
10252
|
-
e.value = o, t.value = (0, u.isKeyboardOpen)(o), o > 0 && window.requestAnimationFrame(() =>
|
|
10261
|
+
e.value = o, t.value = (0, u.isKeyboardOpen)(o), o > 0 && window.requestAnimationFrame(() => jd(o));
|
|
10253
10262
|
}, l = () => {
|
|
10254
10263
|
window.requestAnimationFrame(() => {
|
|
10255
10264
|
const e = (0, u.readViewportMetrics)(window), t = e ? (0, u.computeKeyboardInset)(e) : 0;
|
|
10256
|
-
t > 0 &&
|
|
10265
|
+
t > 0 && jd(t);
|
|
10257
10266
|
});
|
|
10258
10267
|
};
|
|
10259
10268
|
o(), n.addEventListener("resize", o), n.addEventListener("scroll", o), document.addEventListener("focusin", l), (0, d.onScopeDispose)(() => {
|
|
@@ -10264,7 +10273,7 @@ function jd() {
|
|
|
10264
10273
|
isKeyboardOpen: (0, d.readonly)(t)
|
|
10265
10274
|
};
|
|
10266
10275
|
}
|
|
10267
|
-
async function
|
|
10276
|
+
async function Wd(e) {
|
|
10268
10277
|
try {
|
|
10269
10278
|
const t = await v.default.loadAsync(e), n = new m.XMLParser({
|
|
10270
10279
|
ignoreAttributes: !1,
|
|
@@ -10284,7 +10293,7 @@ async function $d(e) {
|
|
|
10284
10293
|
return [];
|
|
10285
10294
|
}
|
|
10286
10295
|
}
|
|
10287
|
-
function
|
|
10296
|
+
function Ud(e, t) {
|
|
10288
10297
|
const n = (0, d.shallowRef)([]), o = (0, d.shallowRef)({}), l = (0, d.ref)({
|
|
10289
10298
|
width: 1280,
|
|
10290
10299
|
height: 720
|
|
@@ -10375,7 +10384,7 @@ function Wd(e, t) {
|
|
|
10375
10384
|
ne = await (0, u.resolveTableCellImageUrls)(ne, (e) => U.getImageData(e));
|
|
10376
10385
|
const oe = await (0, u.resolveTableStyleImageUrls)(X.tableStyleMap, (e) => U.getImageData(e));
|
|
10377
10386
|
ne = await (0, u.resolveTextFillBlipUrls)(ne, (e) => U.getImageData(e));
|
|
10378
|
-
const le = X.hasDigitalSignatures && K instanceof ArrayBuffer ? await
|
|
10387
|
+
const le = X.hasDigitalSignatures && K instanceof ArrayBuffer ? await Wd(K) : [];
|
|
10379
10388
|
if (d !== j) return;
|
|
10380
10389
|
const ae = (0, u.partitionTemplateElements)(ne);
|
|
10381
10390
|
q?.dispose(), W(Array.from(p.value.values())), W($), $ = G, H.commit(), g.value = U, n.value = ae.slides, o.value = ae.templateElementsBySlideId, p.value = J, l.value = {
|
|
@@ -10439,7 +10448,7 @@ function Wd(e, t) {
|
|
|
10439
10448
|
getRecoverySnapshot: () => U("pptx", "recovery-snapshot")
|
|
10440
10449
|
};
|
|
10441
10450
|
}
|
|
10442
|
-
function
|
|
10451
|
+
function Hd() {
|
|
10443
10452
|
const e = (0, d.ref)(!1), t = (0, d.ref)("slides"), n = (0, d.ref)(0), o = (0, d.ref)(null);
|
|
10444
10453
|
return {
|
|
10445
10454
|
showMasterView: e,
|
|
@@ -10455,13 +10464,13 @@ function Ud() {
|
|
|
10455
10464
|
}
|
|
10456
10465
|
};
|
|
10457
10466
|
}
|
|
10458
|
-
var
|
|
10467
|
+
var Gd = {
|
|
10459
10468
|
slides: "slides",
|
|
10460
10469
|
format: "inspector",
|
|
10461
10470
|
comments: "comments",
|
|
10462
10471
|
notes: "notes"
|
|
10463
10472
|
};
|
|
10464
|
-
function
|
|
10473
|
+
function Kd(e) {
|
|
10465
10474
|
const { presenting: t, addText: n } = e, o = (0, d.ref)(!1), l = (0, d.ref)(!1), a = (0, d.ref)(!1), r = (0, d.ref)(!1);
|
|
10466
10475
|
function i(e) {
|
|
10467
10476
|
o.value = "slides" === e, l.value = "format" === e, a.value = "comments" === e, r.value = "notes" === e;
|
|
@@ -10474,8 +10483,8 @@ function Gd(e) {
|
|
|
10474
10483
|
mobileNotesOpen: r,
|
|
10475
10484
|
openMobileSheet: i,
|
|
10476
10485
|
toggleMobileSheet: function(e) {
|
|
10477
|
-
const t = s.value ?
|
|
10478
|
-
null === (0, u.toggleSheet)(t,
|
|
10486
|
+
const t = s.value ? Gd[s.value] : null;
|
|
10487
|
+
null === (0, u.toggleSheet)(t, Gd[e]) ? (o.value = !1, l.value = !1, a.value = !1, r.value = !1) : i(e);
|
|
10479
10488
|
},
|
|
10480
10489
|
activeSheet: s,
|
|
10481
10490
|
mobileQuickInsert: function() {
|
|
@@ -10486,7 +10495,7 @@ function Gd(e) {
|
|
|
10486
10495
|
}
|
|
10487
10496
|
};
|
|
10488
10497
|
}
|
|
10489
|
-
function
|
|
10498
|
+
function Yd(e) {
|
|
10490
10499
|
const { selectedElementIds: t, ops: n, clearSelection: o } = e;
|
|
10491
10500
|
return {
|
|
10492
10501
|
deleteSelected: function() {
|
|
@@ -10509,7 +10518,7 @@ function Kd(e) {
|
|
|
10509
10518
|
}
|
|
10510
10519
|
};
|
|
10511
10520
|
}
|
|
10512
|
-
function
|
|
10521
|
+
function qd() {
|
|
10513
10522
|
const e = (0, d.ref)(!1), t = (0, d.ref)(!1), n = (0, d.ref)(null);
|
|
10514
10523
|
return {
|
|
10515
10524
|
showPasswordDialog: e,
|
|
@@ -10523,7 +10532,7 @@ function Yd() {
|
|
|
10523
10532
|
}
|
|
10524
10533
|
};
|
|
10525
10534
|
}
|
|
10526
|
-
function
|
|
10535
|
+
function Xd(e) {
|
|
10527
10536
|
const { slides: t, activeSlideIndex: n, pushHistory: o } = e, l = (0, d.ref)("undefined" != typeof window && (0, u.isPresentationAudience)(window.location.hash));
|
|
10528
10537
|
return {
|
|
10529
10538
|
presenting: l,
|
|
@@ -10556,22 +10565,22 @@ function qd(e) {
|
|
|
10556
10565
|
}
|
|
10557
10566
|
};
|
|
10558
10567
|
}
|
|
10559
|
-
function
|
|
10568
|
+
function Zd(e, t, n, o = {}) {
|
|
10560
10569
|
return h.SvgExporter.exportSlide(e, t, n, o);
|
|
10561
10570
|
}
|
|
10562
|
-
function
|
|
10563
|
-
return new Blob([
|
|
10571
|
+
function Jd(e, t, n, o = {}) {
|
|
10572
|
+
return new Blob([Zd(e, t, n, o)], { type: "image/svg+xml;charset=utf-8" });
|
|
10564
10573
|
}
|
|
10565
|
-
function
|
|
10574
|
+
function Qd(e, t = {}) {
|
|
10566
10575
|
return h.SvgExporter.exportAll(e, t);
|
|
10567
10576
|
}
|
|
10568
|
-
function
|
|
10569
|
-
return
|
|
10577
|
+
function ep(e, t = {}) {
|
|
10578
|
+
return Qd(e, t).map((e) => new Blob([e], { type: "image/svg+xml;charset=utf-8" }));
|
|
10570
10579
|
}
|
|
10571
|
-
function
|
|
10580
|
+
function tp(e) {
|
|
10572
10581
|
return (0, u.openPrintWindow)(e);
|
|
10573
10582
|
}
|
|
10574
|
-
function
|
|
10583
|
+
function np(e, t, n, o, l, a) {
|
|
10575
10584
|
return (0, u.buildPrintHtmlDocument)({
|
|
10576
10585
|
title: e,
|
|
10577
10586
|
bodyHtml: t,
|
|
@@ -10581,7 +10590,7 @@ function tp(e, t, n, o, l, a) {
|
|
|
10581
10590
|
scaleToFit: a
|
|
10582
10591
|
});
|
|
10583
10592
|
}
|
|
10584
|
-
function
|
|
10593
|
+
function op(e) {
|
|
10585
10594
|
const { slides: t, activeSlideIndex: n, rasterizeSlide: o } = e, l = e.openPrintWindow, a = e.slideSize ?? (0, d.ref)({
|
|
10586
10595
|
width: 960,
|
|
10587
10596
|
height: 540
|
|
@@ -10599,13 +10608,13 @@ function np(e) {
|
|
|
10599
10608
|
const d = t.value, p = (0, u.computeColorFilter)(c.colorMode), m = i?.value ?? u.DEFAULT_VIEWER_OPTIONS, v = (0, u.filterHiddenSlideIndices)((0, u.computeSlideIndices)(c.slideRange, n.value, d.length, c.customRangeFrom, c.customRangeTo), d, m.advanced.printHiddenSlides);
|
|
10600
10609
|
if ("outline" === c.printWhat) {
|
|
10601
10610
|
const e = (0, u.buildOutlineHtml)(v, d);
|
|
10602
|
-
(l ??
|
|
10611
|
+
(l ?? tp)(np("Outline", `<div class="outline-page">${e}</div>`, c.orientation, p, c.frameSlides, c.scaleToFit));
|
|
10603
10612
|
return;
|
|
10604
10613
|
}
|
|
10605
10614
|
if (0 === v.length) return;
|
|
10606
10615
|
if ("slides" === c.printWhat) try {
|
|
10607
|
-
const { width: e, height: t } = a.value, n = v.map((n) =>
|
|
10608
|
-
(l ??
|
|
10616
|
+
const { width: e, height: t } = a.value, n = v.map((n) => Zd(d[n], e, t));
|
|
10617
|
+
(l ?? tp)((0, u.buildPrintDocument)(n, e, t, {
|
|
10609
10618
|
title: "Slides (Vector)",
|
|
10610
10619
|
orientation: c.orientation,
|
|
10611
10620
|
colorFilter: p,
|
|
@@ -10626,17 +10635,17 @@ function np(e) {
|
|
|
10626
10635
|
const l = await o(e, t);
|
|
10627
10636
|
n.push(l.toDataURL("image/png"));
|
|
10628
10637
|
}
|
|
10629
|
-
if ("slides" === c.printWhat) return void g(
|
|
10630
|
-
if ("notes" === c.printWhat) return void g(
|
|
10638
|
+
if ("slides" === c.printWhat) return void g(np("Slides", (0, u.buildSlidesHtml)(n, v), c.orientation, p, c.frameSlides, c.scaleToFit));
|
|
10639
|
+
if ("notes" === c.printWhat) return void g(np("Notes Pages", (0, u.buildNotesHtml)(n, v, d), "portrait", p, c.frameSlides, c.scaleToFit));
|
|
10631
10640
|
const l = c.slidesPerPage;
|
|
10632
|
-
g(
|
|
10641
|
+
g(np(`Handout ${l} per page`, (0, u.buildHandoutsHtml)(n, v, l, e.handoutMaster?.value), "portrait", p, c.frameSlides, c.scaleToFit));
|
|
10633
10642
|
} catch (e) {
|
|
10634
10643
|
console.error("[PowerPointViewer] Print layout failed:", e), f?.close();
|
|
10635
10644
|
}
|
|
10636
10645
|
}
|
|
10637
10646
|
};
|
|
10638
10647
|
}
|
|
10639
|
-
var
|
|
10648
|
+
var lp = {
|
|
10640
10649
|
left: "left",
|
|
10641
10650
|
center: "centerH",
|
|
10642
10651
|
right: "right",
|
|
@@ -10644,10 +10653,10 @@ var op = {
|
|
|
10644
10653
|
middle: "middle",
|
|
10645
10654
|
bottom: "bottom"
|
|
10646
10655
|
};
|
|
10647
|
-
function
|
|
10656
|
+
function ap(e) {
|
|
10648
10657
|
return "ellipse" === e || "roundRect" === e || "triangle" === e ? e : "rect";
|
|
10649
10658
|
}
|
|
10650
|
-
function
|
|
10659
|
+
function rp(e) {
|
|
10651
10660
|
const { canEdit: t, presenting: n, showMasterView: o, tableSelection: l, selectedElements: a, selectedElementIds: r, activeSlide: i, activeSlideIndex: s, slides: c, pushHistory: p, ops: m } = e;
|
|
10652
10661
|
return {
|
|
10653
10662
|
ribbonMode: (0, d.computed)(() => n.value ? "present" : o.value ? "master" : t() ? "edit" : "preview"),
|
|
@@ -10757,7 +10766,7 @@ function ap(e) {
|
|
|
10757
10766
|
}
|
|
10758
10767
|
};
|
|
10759
10768
|
}
|
|
10760
|
-
function
|
|
10769
|
+
function ip(e) {
|
|
10761
10770
|
return {
|
|
10762
10771
|
toolbarSection: (0, d.ref)("home"),
|
|
10763
10772
|
newShapeType: (0, d.ref)("rect"),
|
|
@@ -10778,7 +10787,7 @@ function rp(e) {
|
|
|
10778
10787
|
eyedropperActive: (0, d.ref)(!1)
|
|
10779
10788
|
};
|
|
10780
10789
|
}
|
|
10781
|
-
function
|
|
10790
|
+
function sp(e) {
|
|
10782
10791
|
const { sections: t, slides: n, activeSlideIndex: o, pushHistory: l } = e;
|
|
10783
10792
|
return {
|
|
10784
10793
|
addSection: (e, o) => {
|
|
@@ -10820,7 +10829,7 @@ function ip(e) {
|
|
|
10820
10829
|
slidesBySection: (0, d.computed)(() => (0, u.groupSlidesBySection)(t.value, n.value))
|
|
10821
10830
|
};
|
|
10822
10831
|
}
|
|
10823
|
-
function
|
|
10832
|
+
function cp(e) {
|
|
10824
10833
|
const { findActiveElement: t, activeSlide: n, selectedElementIds: o, ops: l } = e;
|
|
10825
10834
|
return {
|
|
10826
10835
|
showSelectionPane: (0, d.ref)(!1),
|
|
@@ -10840,8 +10849,8 @@ function sp(e) {
|
|
|
10840
10849
|
}
|
|
10841
10850
|
};
|
|
10842
10851
|
}
|
|
10843
|
-
function
|
|
10844
|
-
const { signatures: t, isDirty: n } = e, o = (0, d.ref)(!1), l =
|
|
10852
|
+
function up(e) {
|
|
10853
|
+
const { signatures: t, isDirty: n } = e, o = (0, d.ref)(!1), l = Vu(t), a = (0, d.computed)(() => t.value.length > 0), r = (0, d.ref)(!1), i = (0, d.ref)(!1);
|
|
10845
10854
|
return (0, d.watch)(() => n.value, (e) => {
|
|
10846
10855
|
e && a.value && !i.value && (r.value = !0);
|
|
10847
10856
|
}), {
|
|
@@ -10854,7 +10863,7 @@ function cp(e) {
|
|
|
10854
10863
|
}
|
|
10855
10864
|
};
|
|
10856
10865
|
}
|
|
10857
|
-
function
|
|
10866
|
+
function dp(e) {
|
|
10858
10867
|
const { slides: t, activeSlideIndex: n, activeSlide: o, pushHistory: l, selectedElements: a } = e;
|
|
10859
10868
|
function r(e) {
|
|
10860
10869
|
const o = n.value, a = t.value[o];
|
|
@@ -10934,7 +10943,7 @@ function up(e) {
|
|
|
10934
10943
|
}
|
|
10935
10944
|
};
|
|
10936
10945
|
}
|
|
10937
|
-
function
|
|
10946
|
+
function pp(e) {
|
|
10938
10947
|
const { slides: t, activeSlideIndex: n, pushHistory: o } = e;
|
|
10939
10948
|
return {
|
|
10940
10949
|
addSlide: (e = n.value) => {
|
|
@@ -10969,7 +10978,7 @@ function dp(e) {
|
|
|
10969
10978
|
}
|
|
10970
10979
|
};
|
|
10971
10980
|
}
|
|
10972
|
-
function
|
|
10981
|
+
function mp(e) {
|
|
10973
10982
|
const { presentationProperties: t } = e, n = (0, d.ref)(!1), o = (0, d.ref)(!1);
|
|
10974
10983
|
return (0, d.watch)(() => t.value.showSubtitles, (e) => {
|
|
10975
10984
|
o.value = Boolean(e);
|
|
@@ -10993,7 +11002,7 @@ function pp(e) {
|
|
|
10993
11002
|
}
|
|
10994
11003
|
};
|
|
10995
11004
|
}
|
|
10996
|
-
function
|
|
11005
|
+
function vp(e) {
|
|
10997
11006
|
const { canvasSize: t, slides: n, activeSlideIndex: o, pushHistory: l, theme: a } = e;
|
|
10998
11007
|
return { insertSlideFromTemplate: function(e) {
|
|
10999
11008
|
const r = Math.max(0, Math.min(o.value + 1, n.value.length));
|
|
@@ -11006,7 +11015,7 @@ function mp(e) {
|
|
|
11006
11015
|
s.splice(r, 0, i), n.value = s, o.value = r;
|
|
11007
11016
|
} };
|
|
11008
11017
|
}
|
|
11009
|
-
function
|
|
11018
|
+
function fp(e) {
|
|
11010
11019
|
const { canEdit: t, findActiveElement: n, updateElement: o, canEditInline: l } = e;
|
|
11011
11020
|
function a(e, t) {
|
|
11012
11021
|
return (0, u.rebuildDrawingShapesIfCleared)(t, t.layout, (0, u.resolvePalette)(t), t.style ?? "flat", e.id, {
|
|
@@ -11033,7 +11042,7 @@ function vp(e) {
|
|
|
11033
11042
|
}
|
|
11034
11043
|
});
|
|
11035
11044
|
}
|
|
11036
|
-
function
|
|
11045
|
+
function gp(e) {
|
|
11037
11046
|
const { canEdit: t, canEditInline: n, findActiveElement: o, updateElement: l, commitTableCell: a } = e;
|
|
11038
11047
|
(0, d.provide)(zs, {
|
|
11039
11048
|
canEdit: n,
|
|
@@ -11066,7 +11075,7 @@ function fp(e) {
|
|
|
11066
11075
|
}
|
|
11067
11076
|
}), { tableSelection: r };
|
|
11068
11077
|
}
|
|
11069
|
-
function
|
|
11078
|
+
function yp(e) {
|
|
11070
11079
|
const t = (0, d.ref)(!1), { slides: n, pptxTheme: o, themeColorMap: l, pushHistory: a, themeGalleryOpen: r, themeEditorOpen: i, templateElementsBySlideId: s } = e;
|
|
11071
11080
|
function c(e, t, r) {
|
|
11072
11081
|
a();
|
|
@@ -11099,21 +11108,21 @@ function gp(e) {
|
|
|
11099
11108
|
themeEditorBusy: t
|
|
11100
11109
|
};
|
|
11101
11110
|
}
|
|
11102
|
-
var
|
|
11103
|
-
function hp(e) {
|
|
11104
|
-
return `ver-${e}-${yp += 1}-${Math.random().toString(36).slice(2, 6)}`;
|
|
11105
|
-
}
|
|
11111
|
+
var hp = 0;
|
|
11106
11112
|
function kp(e) {
|
|
11107
|
-
return e.
|
|
11113
|
+
return `ver-${e}-${hp += 1}-${Math.random().toString(36).slice(2, 6)}`;
|
|
11108
11114
|
}
|
|
11109
11115
|
function xp(e) {
|
|
11116
|
+
return e.map(h.cloneSlide);
|
|
11117
|
+
}
|
|
11118
|
+
function bp(e) {
|
|
11110
11119
|
const { slides: t, pushHistory: n } = e, o = Math.max(1, e.maxVersions ?? 50), l = (0, d.shallowRef)([]);
|
|
11111
11120
|
return {
|
|
11112
11121
|
versions: l,
|
|
11113
11122
|
hasVersions: (0, d.computed)(() => l.value.length > 0),
|
|
11114
11123
|
capture: (e, n) => {
|
|
11115
|
-
const a =
|
|
11116
|
-
id:
|
|
11124
|
+
const a = xp(t.value), r = {
|
|
11125
|
+
id: kp(n),
|
|
11117
11126
|
label: e,
|
|
11118
11127
|
timestamp: n,
|
|
11119
11128
|
slideCount: a.length,
|
|
@@ -11124,7 +11133,7 @@ function xp(e) {
|
|
|
11124
11133
|
},
|
|
11125
11134
|
restore: (e) => {
|
|
11126
11135
|
const o = l.value.find((t) => t.id === e);
|
|
11127
|
-
return !!o && (n(), t.value =
|
|
11136
|
+
return !!o && (n(), t.value = xp(o.slides), !0);
|
|
11128
11137
|
},
|
|
11129
11138
|
remove: (e) => {
|
|
11130
11139
|
const t = l.value.filter((t) => t.id !== e);
|
|
@@ -11135,8 +11144,8 @@ function xp(e) {
|
|
|
11135
11144
|
}
|
|
11136
11145
|
};
|
|
11137
11146
|
}
|
|
11138
|
-
function
|
|
11139
|
-
const { slides: t, pushHistory: n } = e, o =
|
|
11147
|
+
function Sp(e) {
|
|
11148
|
+
const { slides: t, pushHistory: n } = e, o = bp({
|
|
11140
11149
|
slides: t,
|
|
11141
11150
|
pushHistory: n
|
|
11142
11151
|
}), l = (0, d.ref)(!1), a = (0, d.ref)(null), r = (0, d.ref)(null), i = (0, d.ref)(null), s = (0, d.computed)(() => null !== a.value);
|
|
@@ -11168,7 +11177,7 @@ function bp(e) {
|
|
|
11168
11177
|
}
|
|
11169
11178
|
};
|
|
11170
11179
|
}
|
|
11171
|
-
function
|
|
11180
|
+
function wp(e) {
|
|
11172
11181
|
return {
|
|
11173
11182
|
onSetMode: (t) => {
|
|
11174
11183
|
"present" === t ? e.startPresenting() : e.presenting.value = !1;
|
|
@@ -11203,7 +11212,7 @@ function Sp(e) {
|
|
|
11203
11212
|
e.newShapeType.value = t;
|
|
11204
11213
|
},
|
|
11205
11214
|
onAddTextBox: e.addText,
|
|
11206
|
-
onAddShape: () => e.addShape(
|
|
11215
|
+
onAddShape: () => e.addShape(ap(e.newShapeType.value)),
|
|
11207
11216
|
onAddTable: e.addTable,
|
|
11208
11217
|
onAddChart: e.addChart,
|
|
11209
11218
|
onAddSmartArt: () => {
|
|
@@ -11251,7 +11260,7 @@ function Sp(e) {
|
|
|
11251
11260
|
},
|
|
11252
11261
|
onAddGuide: e.addGuide,
|
|
11253
11262
|
onAlignElements: (t) => {
|
|
11254
|
-
const n =
|
|
11263
|
+
const n = lp[t];
|
|
11255
11264
|
n && e.onAlign(n);
|
|
11256
11265
|
},
|
|
11257
11266
|
onDistributeElements: (t) => {
|
|
@@ -11410,7 +11419,7 @@ function Sp(e) {
|
|
|
11410
11419
|
onPresentationPropertiesChange: e.onPresentationPropertiesUpdate
|
|
11411
11420
|
};
|
|
11412
11421
|
}
|
|
11413
|
-
function
|
|
11422
|
+
function Ep(e) {
|
|
11414
11423
|
return {
|
|
11415
11424
|
mode: e.ribbonMode.value,
|
|
11416
11425
|
canEdit: e.canEdit(),
|
|
@@ -11471,13 +11480,13 @@ function wp(e) {
|
|
|
11471
11480
|
collaboratorCount: e.collab.connectedCount.value
|
|
11472
11481
|
};
|
|
11473
11482
|
}
|
|
11474
|
-
function
|
|
11483
|
+
function Bp(e) {
|
|
11475
11484
|
return (0, d.computed)(() => ({
|
|
11476
|
-
...
|
|
11477
|
-
...
|
|
11485
|
+
...Ep(e),
|
|
11486
|
+
...wp(e)
|
|
11478
11487
|
}));
|
|
11479
11488
|
}
|
|
11480
|
-
function
|
|
11489
|
+
function Cp(e) {
|
|
11481
11490
|
const t = (0, d.ref)(!1), n = (0, d.ref)({
|
|
11482
11491
|
...u.DEFAULT_VIEWER_SETTINGS,
|
|
11483
11492
|
autoSave: e.autoSave.value,
|
|
@@ -11590,7 +11599,7 @@ Object.defineProperty(exports, "ChartRenderer_default", {
|
|
|
11590
11599
|
}), Object.defineProperty(exports, "ElementRenderer_default", {
|
|
11591
11600
|
enumerable: !0,
|
|
11592
11601
|
get: function() {
|
|
11593
|
-
return
|
|
11602
|
+
return Uc;
|
|
11594
11603
|
}
|
|
11595
11604
|
}), Object.defineProperty(exports, "EquationRenderer_default", {
|
|
11596
11605
|
enumerable: !0,
|
|
@@ -11605,7 +11614,7 @@ Object.defineProperty(exports, "ChartRenderer_default", {
|
|
|
11605
11614
|
}), Object.defineProperty(exports, "FragmentedTransitionLayer_default", {
|
|
11606
11615
|
enumerable: !0,
|
|
11607
11616
|
get: function() {
|
|
11608
|
-
return
|
|
11617
|
+
return Tu;
|
|
11609
11618
|
}
|
|
11610
11619
|
}), Object.defineProperty(exports, "HIGHLIGHTER_OPACITY", {
|
|
11611
11620
|
enumerable: !0,
|
|
@@ -11630,7 +11639,7 @@ Object.defineProperty(exports, "ChartRenderer_default", {
|
|
|
11630
11639
|
}), Object.defineProperty(exports, "MorphExtraLayers_default", {
|
|
11631
11640
|
enumerable: !0,
|
|
11632
11641
|
get: function() {
|
|
11633
|
-
return
|
|
11642
|
+
return Ou;
|
|
11634
11643
|
}
|
|
11635
11644
|
}), Object.defineProperty(exports, "OleRenderer_default", {
|
|
11636
11645
|
enumerable: !0,
|
|
@@ -11645,12 +11654,12 @@ Object.defineProperty(exports, "ChartRenderer_default", {
|
|
|
11645
11654
|
}), Object.defineProperty(exports, "PresentationTransitionOverlay_default", {
|
|
11646
11655
|
enumerable: !0,
|
|
11647
11656
|
get: function() {
|
|
11648
|
-
return
|
|
11657
|
+
return Au;
|
|
11649
11658
|
}
|
|
11650
11659
|
}), Object.defineProperty(exports, "RIBBON_ALIGN", {
|
|
11651
11660
|
enumerable: !0,
|
|
11652
11661
|
get: function() {
|
|
11653
|
-
return
|
|
11662
|
+
return lp;
|
|
11654
11663
|
}
|
|
11655
11664
|
}), Object.defineProperty(exports, "Rendering3DFlagsKey", {
|
|
11656
11665
|
enumerable: !0,
|
|
@@ -11660,22 +11669,22 @@ Object.defineProperty(exports, "ChartRenderer_default", {
|
|
|
11660
11669
|
}), Object.defineProperty(exports, "SHORTCUT_CATALOG", {
|
|
11661
11670
|
enumerable: !0,
|
|
11662
11671
|
get: function() {
|
|
11663
|
-
return
|
|
11672
|
+
return tu;
|
|
11664
11673
|
}
|
|
11665
11674
|
}), Object.defineProperty(exports, "SHORTCUT_GROUP_LABEL_KEYS", {
|
|
11666
11675
|
enumerable: !0,
|
|
11667
11676
|
get: function() {
|
|
11668
|
-
return
|
|
11677
|
+
return nu;
|
|
11669
11678
|
}
|
|
11670
11679
|
}), Object.defineProperty(exports, "SMARTART_COLOR_SCHEMES", {
|
|
11671
11680
|
enumerable: !0,
|
|
11672
11681
|
get: function() {
|
|
11673
|
-
return
|
|
11682
|
+
return du;
|
|
11674
11683
|
}
|
|
11675
11684
|
}), Object.defineProperty(exports, "SMARTART_STYLE_OPTIONS", {
|
|
11676
11685
|
enumerable: !0,
|
|
11677
11686
|
get: function() {
|
|
11678
|
-
return
|
|
11687
|
+
return pu;
|
|
11679
11688
|
}
|
|
11680
11689
|
}), Object.defineProperty(exports, "ScreenTipKey", {
|
|
11681
11690
|
enumerable: !0,
|
|
@@ -11685,7 +11694,7 @@ Object.defineProperty(exports, "ChartRenderer_default", {
|
|
|
11685
11694
|
}), Object.defineProperty(exports, "SlideStage_default", {
|
|
11686
11695
|
enumerable: !0,
|
|
11687
11696
|
get: function() {
|
|
11688
|
-
return
|
|
11697
|
+
return Gc;
|
|
11689
11698
|
}
|
|
11690
11699
|
}), Object.defineProperty(exports, "SmartArtRenderer_default", {
|
|
11691
11700
|
enumerable: !0,
|
|
@@ -11695,7 +11704,7 @@ Object.defineProperty(exports, "ChartRenderer_default", {
|
|
|
11695
11704
|
}), Object.defineProperty(exports, "TableRenderer_default", {
|
|
11696
11705
|
enumerable: !0,
|
|
11697
11706
|
get: function() {
|
|
11698
|
-
return
|
|
11707
|
+
return ac;
|
|
11699
11708
|
}
|
|
11700
11709
|
}), Object.defineProperty(exports, "TableSelectionKey", {
|
|
11701
11710
|
enumerable: !0,
|
|
@@ -11720,12 +11729,12 @@ Object.defineProperty(exports, "ChartRenderer_default", {
|
|
|
11720
11729
|
}), Object.defineProperty(exports, "WordArtText_default", {
|
|
11721
11730
|
enumerable: !0,
|
|
11722
11731
|
get: function() {
|
|
11723
|
-
return
|
|
11732
|
+
return wc;
|
|
11724
11733
|
}
|
|
11725
11734
|
}), Object.defineProperty(exports, "ZoomRenderer_default", {
|
|
11726
11735
|
enumerable: !0,
|
|
11727
11736
|
get: function() {
|
|
11728
|
-
return
|
|
11737
|
+
return zc;
|
|
11729
11738
|
}
|
|
11730
11739
|
}), Object.defineProperty(exports, "__commonJSMin", {
|
|
11731
11740
|
enumerable: !0,
|
|
@@ -11745,27 +11754,27 @@ Object.defineProperty(exports, "ChartRenderer_default", {
|
|
|
11745
11754
|
}), Object.defineProperty(exports, "applyDeleteColumn", {
|
|
11746
11755
|
enumerable: !0,
|
|
11747
11756
|
get: function() {
|
|
11748
|
-
return
|
|
11757
|
+
return hu;
|
|
11749
11758
|
}
|
|
11750
11759
|
}), Object.defineProperty(exports, "applyDeleteRow", {
|
|
11751
11760
|
enumerable: !0,
|
|
11752
11761
|
get: function() {
|
|
11753
|
-
return
|
|
11762
|
+
return gu;
|
|
11754
11763
|
}
|
|
11755
11764
|
}), Object.defineProperty(exports, "applyInsertColumn", {
|
|
11756
11765
|
enumerable: !0,
|
|
11757
11766
|
get: function() {
|
|
11758
|
-
return
|
|
11767
|
+
return yu;
|
|
11759
11768
|
}
|
|
11760
11769
|
}), Object.defineProperty(exports, "applyInsertRow", {
|
|
11761
11770
|
enumerable: !0,
|
|
11762
11771
|
get: function() {
|
|
11763
|
-
return
|
|
11772
|
+
return fu;
|
|
11764
11773
|
}
|
|
11765
11774
|
}), Object.defineProperty(exports, "applyMergeSelected", {
|
|
11766
11775
|
enumerable: !0,
|
|
11767
11776
|
get: function() {
|
|
11768
|
-
return
|
|
11777
|
+
return ku;
|
|
11769
11778
|
}
|
|
11770
11779
|
}), Object.defineProperty(exports, "computeCellSelection", {
|
|
11771
11780
|
enumerable: !0,
|
|
@@ -11775,12 +11784,12 @@ Object.defineProperty(exports, "ChartRenderer_default", {
|
|
|
11775
11784
|
}), Object.defineProperty(exports, "computeElapsed", {
|
|
11776
11785
|
enumerable: !0,
|
|
11777
11786
|
get: function() {
|
|
11778
|
-
return
|
|
11787
|
+
return Fu;
|
|
11779
11788
|
}
|
|
11780
11789
|
}), Object.defineProperty(exports, "createStroke", {
|
|
11781
11790
|
enumerable: !0,
|
|
11782
11791
|
get: function() {
|
|
11783
|
-
return
|
|
11792
|
+
return Su;
|
|
11784
11793
|
}
|
|
11785
11794
|
}), Object.defineProperty(exports, "dist_exports", {
|
|
11786
11795
|
enumerable: !0,
|
|
@@ -11790,32 +11799,32 @@ Object.defineProperty(exports, "ChartRenderer_default", {
|
|
|
11790
11799
|
}), Object.defineProperty(exports, "eraseStrokesAtPoint", {
|
|
11791
11800
|
enumerable: !0,
|
|
11792
11801
|
get: function() {
|
|
11793
|
-
return
|
|
11802
|
+
return wu;
|
|
11794
11803
|
}
|
|
11795
11804
|
}), Object.defineProperty(exports, "exportAllSlidesToSvg", {
|
|
11796
11805
|
enumerable: !0,
|
|
11797
11806
|
get: function() {
|
|
11798
|
-
return
|
|
11807
|
+
return Qd;
|
|
11799
11808
|
}
|
|
11800
11809
|
}), Object.defineProperty(exports, "exportAllSlidesToSvgBlobs", {
|
|
11801
11810
|
enumerable: !0,
|
|
11802
11811
|
get: function() {
|
|
11803
|
-
return
|
|
11812
|
+
return ep;
|
|
11804
11813
|
}
|
|
11805
11814
|
}), Object.defineProperty(exports, "exportSlideToSvg", {
|
|
11806
11815
|
enumerable: !0,
|
|
11807
11816
|
get: function() {
|
|
11808
|
-
return
|
|
11817
|
+
return Zd;
|
|
11809
11818
|
}
|
|
11810
11819
|
}), Object.defineProperty(exports, "exportSlideToSvgBlob", {
|
|
11811
11820
|
enumerable: !0,
|
|
11812
11821
|
get: function() {
|
|
11813
|
-
return
|
|
11822
|
+
return Jd;
|
|
11814
11823
|
}
|
|
11815
11824
|
}), Object.defineProperty(exports, "formatRehearseMs", {
|
|
11816
11825
|
enumerable: !0,
|
|
11817
11826
|
get: function() {
|
|
11818
|
-
return
|
|
11827
|
+
return Mu;
|
|
11819
11828
|
}
|
|
11820
11829
|
}), Object.defineProperty(exports, "getContainerStyle", {
|
|
11821
11830
|
enumerable: !0,
|
|
@@ -11840,17 +11849,17 @@ Object.defineProperty(exports, "ChartRenderer_default", {
|
|
|
11840
11849
|
}), Object.defineProperty(exports, "glyphOutlineFontCache", {
|
|
11841
11850
|
enumerable: !0,
|
|
11842
11851
|
get: function() {
|
|
11843
|
-
return
|
|
11852
|
+
return rc;
|
|
11844
11853
|
}
|
|
11845
11854
|
}), Object.defineProperty(exports, "glyphOutlineFontsTick", {
|
|
11846
11855
|
enumerable: !0,
|
|
11847
11856
|
get: function() {
|
|
11848
|
-
return
|
|
11857
|
+
return ic;
|
|
11849
11858
|
}
|
|
11850
11859
|
}), Object.defineProperty(exports, "groupShortcutCatalog", {
|
|
11851
11860
|
enumerable: !0,
|
|
11852
11861
|
get: function() {
|
|
11853
|
-
return
|
|
11862
|
+
return ou;
|
|
11854
11863
|
}
|
|
11855
11864
|
}), Object.defineProperty(exports, "injectChartCanvasEdit", {
|
|
11856
11865
|
enumerable: !0,
|
|
@@ -11875,12 +11884,12 @@ Object.defineProperty(exports, "ChartRenderer_default", {
|
|
|
11875
11884
|
}), Object.defineProperty(exports, "parseSignaturesFromBuffer", {
|
|
11876
11885
|
enumerable: !0,
|
|
11877
11886
|
get: function() {
|
|
11878
|
-
return
|
|
11887
|
+
return Wd;
|
|
11879
11888
|
}
|
|
11880
11889
|
}), Object.defineProperty(exports, "playAnimationSound", {
|
|
11881
11890
|
enumerable: !0,
|
|
11882
11891
|
get: function() {
|
|
11883
|
-
return
|
|
11892
|
+
return Zc;
|
|
11884
11893
|
}
|
|
11885
11894
|
}), Object.defineProperty(exports, "providePresentationElementStates", {
|
|
11886
11895
|
enumerable: !0,
|
|
@@ -11895,32 +11904,37 @@ Object.defineProperty(exports, "ChartRenderer_default", {
|
|
|
11895
11904
|
}), Object.defineProperty(exports, "provideZoomNavigation", {
|
|
11896
11905
|
enumerable: !0,
|
|
11897
11906
|
get: function() {
|
|
11898
|
-
return
|
|
11907
|
+
return Bc;
|
|
11899
11908
|
}
|
|
11900
11909
|
}), Object.defineProperty(exports, "provideZoomTargetLookup", {
|
|
11901
11910
|
enumerable: !0,
|
|
11902
11911
|
get: function() {
|
|
11903
|
-
return
|
|
11912
|
+
return Pc;
|
|
11904
11913
|
}
|
|
11905
11914
|
}), Object.defineProperty(exports, "renderToCanvas", {
|
|
11906
11915
|
enumerable: !0,
|
|
11907
11916
|
get: function() {
|
|
11908
|
-
return
|
|
11917
|
+
return ed;
|
|
11909
11918
|
}
|
|
11910
11919
|
}), Object.defineProperty(exports, "resolveShortcutAction", {
|
|
11911
11920
|
enumerable: !0,
|
|
11912
11921
|
get: function() {
|
|
11913
|
-
return
|
|
11922
|
+
return lu;
|
|
11914
11923
|
}
|
|
11915
11924
|
}), Object.defineProperty(exports, "smartArtLayoutLabel", {
|
|
11916
11925
|
enumerable: !0,
|
|
11917
11926
|
get: function() {
|
|
11918
|
-
return
|
|
11927
|
+
return mu;
|
|
11919
11928
|
}
|
|
11920
11929
|
}), Object.defineProperty(exports, "stopAnimationSound", {
|
|
11921
11930
|
enumerable: !0,
|
|
11922
11931
|
get: function() {
|
|
11923
|
-
return
|
|
11932
|
+
return Jc;
|
|
11933
|
+
}
|
|
11934
|
+
}), Object.defineProperty(exports, "tableThemeContextFor", {
|
|
11935
|
+
enumerable: !0,
|
|
11936
|
+
get: function() {
|
|
11937
|
+
return Hs;
|
|
11924
11938
|
}
|
|
11925
11939
|
}), Object.defineProperty(exports, "textNodeIdsInRenderOrder", {
|
|
11926
11940
|
enumerable: !0,
|
|
@@ -11930,32 +11944,32 @@ Object.defineProperty(exports, "ChartRenderer_default", {
|
|
|
11930
11944
|
}), Object.defineProperty(exports, "toShapePreset", {
|
|
11931
11945
|
enumerable: !0,
|
|
11932
11946
|
get: function() {
|
|
11933
|
-
return
|
|
11947
|
+
return ap;
|
|
11934
11948
|
}
|
|
11935
11949
|
}), Object.defineProperty(exports, "toZoomTargetInfo", {
|
|
11936
11950
|
enumerable: !0,
|
|
11937
11951
|
get: function() {
|
|
11938
|
-
return
|
|
11952
|
+
return Ic;
|
|
11939
11953
|
}
|
|
11940
11954
|
}), Object.defineProperty(exports, "useAccessibility", {
|
|
11941
11955
|
enumerable: !0,
|
|
11942
11956
|
get: function() {
|
|
11943
|
-
return
|
|
11957
|
+
return $u;
|
|
11944
11958
|
}
|
|
11945
11959
|
}), Object.defineProperty(exports, "useAlignGroup", {
|
|
11946
11960
|
enumerable: !0,
|
|
11947
11961
|
get: function() {
|
|
11948
|
-
return
|
|
11962
|
+
return Wu;
|
|
11949
11963
|
}
|
|
11950
11964
|
}), Object.defineProperty(exports, "useAnimationPlayback", {
|
|
11951
11965
|
enumerable: !0,
|
|
11952
11966
|
get: function() {
|
|
11953
|
-
return
|
|
11967
|
+
return xu;
|
|
11954
11968
|
}
|
|
11955
11969
|
}), Object.defineProperty(exports, "useAutosave", {
|
|
11956
11970
|
enumerable: !0,
|
|
11957
11971
|
get: function() {
|
|
11958
|
-
return
|
|
11972
|
+
return Hu;
|
|
11959
11973
|
}
|
|
11960
11974
|
}), Object.defineProperty(exports, "useChartCanvasEditContext", {
|
|
11961
11975
|
enumerable: !0,
|
|
@@ -11965,17 +11979,17 @@ Object.defineProperty(exports, "ChartRenderer_default", {
|
|
|
11965
11979
|
}), Object.defineProperty(exports, "useChartEditing", {
|
|
11966
11980
|
enumerable: !0,
|
|
11967
11981
|
get: function() {
|
|
11968
|
-
return
|
|
11982
|
+
return su;
|
|
11969
11983
|
}
|
|
11970
11984
|
}), Object.defineProperty(exports, "useCollaboration", {
|
|
11971
11985
|
enumerable: !0,
|
|
11972
11986
|
get: function() {
|
|
11973
|
-
return
|
|
11987
|
+
return Xu;
|
|
11974
11988
|
}
|
|
11975
11989
|
}), Object.defineProperty(exports, "useCollaborationWiring", {
|
|
11976
11990
|
enumerable: !0,
|
|
11977
11991
|
get: function() {
|
|
11978
|
-
return
|
|
11992
|
+
return Zu;
|
|
11979
11993
|
}
|
|
11980
11994
|
}), Object.defineProperty(exports, "useColorChangeImage", {
|
|
11981
11995
|
enumerable: !0,
|
|
@@ -11985,107 +11999,107 @@ Object.defineProperty(exports, "ChartRenderer_default", {
|
|
|
11985
11999
|
}), Object.defineProperty(exports, "useComments", {
|
|
11986
12000
|
enumerable: !0,
|
|
11987
12001
|
get: function() {
|
|
11988
|
-
return
|
|
12002
|
+
return Ju;
|
|
11989
12003
|
}
|
|
11990
12004
|
}), Object.defineProperty(exports, "useCommentsWiring", {
|
|
11991
12005
|
enumerable: !0,
|
|
11992
12006
|
get: function() {
|
|
11993
|
-
return
|
|
12007
|
+
return Qu;
|
|
11994
12008
|
}
|
|
11995
12009
|
}), Object.defineProperty(exports, "useContextMenu", {
|
|
11996
12010
|
enumerable: !0,
|
|
11997
12011
|
get: function() {
|
|
11998
|
-
return
|
|
12012
|
+
return nd;
|
|
11999
12013
|
}
|
|
12000
12014
|
}), Object.defineProperty(exports, "useCustomShows", {
|
|
12001
12015
|
enumerable: !0,
|
|
12002
12016
|
get: function() {
|
|
12003
|
-
return
|
|
12017
|
+
return od;
|
|
12004
12018
|
}
|
|
12005
12019
|
}), Object.defineProperty(exports, "useCustomShowsWiring", {
|
|
12006
12020
|
enumerable: !0,
|
|
12007
12021
|
get: function() {
|
|
12008
|
-
return
|
|
12022
|
+
return ld;
|
|
12009
12023
|
}
|
|
12010
12024
|
}), Object.defineProperty(exports, "useDebouncedCallback", {
|
|
12011
12025
|
enumerable: !0,
|
|
12012
12026
|
get: function() {
|
|
12013
|
-
return
|
|
12027
|
+
return cu;
|
|
12014
12028
|
}
|
|
12015
12029
|
}), Object.defineProperty(exports, "useDocumentPropertiesDialog", {
|
|
12016
12030
|
enumerable: !0,
|
|
12017
12031
|
get: function() {
|
|
12018
|
-
return
|
|
12032
|
+
return ad;
|
|
12019
12033
|
}
|
|
12020
12034
|
}), Object.defineProperty(exports, "useDocumentStatistics", {
|
|
12021
12035
|
enumerable: !0,
|
|
12022
12036
|
get: function() {
|
|
12023
|
-
return
|
|
12037
|
+
return eu;
|
|
12024
12038
|
}
|
|
12025
12039
|
}), Object.defineProperty(exports, "useEditorHistory", {
|
|
12026
12040
|
enumerable: !0,
|
|
12027
12041
|
get: function() {
|
|
12028
|
-
return
|
|
12042
|
+
return rd;
|
|
12029
12043
|
}
|
|
12030
12044
|
}), Object.defineProperty(exports, "useEditorKeyboard", {
|
|
12031
12045
|
enumerable: !0,
|
|
12032
12046
|
get: function() {
|
|
12033
|
-
return
|
|
12047
|
+
return cd;
|
|
12034
12048
|
}
|
|
12035
12049
|
}), Object.defineProperty(exports, "useEditorOperations", {
|
|
12036
12050
|
enumerable: !0,
|
|
12037
12051
|
get: function() {
|
|
12038
|
-
return
|
|
12052
|
+
return ud;
|
|
12039
12053
|
}
|
|
12040
12054
|
}), Object.defineProperty(exports, "useElementDrag", {
|
|
12041
12055
|
enumerable: !0,
|
|
12042
12056
|
get: function() {
|
|
12043
|
-
return
|
|
12057
|
+
return dd;
|
|
12044
12058
|
}
|
|
12045
12059
|
}), Object.defineProperty(exports, "useElementInsertion", {
|
|
12046
12060
|
enumerable: !0,
|
|
12047
12061
|
get: function() {
|
|
12048
|
-
return
|
|
12062
|
+
return pd;
|
|
12049
12063
|
}
|
|
12050
12064
|
}), Object.defineProperty(exports, "useEmbeddedFonts", {
|
|
12051
12065
|
enumerable: !0,
|
|
12052
12066
|
get: function() {
|
|
12053
|
-
return
|
|
12067
|
+
return xd;
|
|
12054
12068
|
}
|
|
12055
12069
|
}), Object.defineProperty(exports, "useExport", {
|
|
12056
12070
|
enumerable: !0,
|
|
12057
12071
|
get: function() {
|
|
12058
|
-
return
|
|
12072
|
+
return Sd;
|
|
12059
12073
|
}
|
|
12060
12074
|
}), Object.defineProperty(exports, "useExportProgress", {
|
|
12061
12075
|
enumerable: !0,
|
|
12062
12076
|
get: function() {
|
|
12063
|
-
return
|
|
12077
|
+
return wd;
|
|
12064
12078
|
}
|
|
12065
12079
|
}), Object.defineProperty(exports, "useExportWiring", {
|
|
12066
12080
|
enumerable: !0,
|
|
12067
12081
|
get: function() {
|
|
12068
|
-
return
|
|
12082
|
+
return Nd;
|
|
12069
12083
|
}
|
|
12070
12084
|
}), Object.defineProperty(exports, "useFindReplace", {
|
|
12071
12085
|
enumerable: !0,
|
|
12072
12086
|
get: function() {
|
|
12073
|
-
return
|
|
12087
|
+
return Ld;
|
|
12074
12088
|
}
|
|
12075
12089
|
}), Object.defineProperty(exports, "useFontEmbedding", {
|
|
12076
12090
|
enumerable: !0,
|
|
12077
12091
|
get: function() {
|
|
12078
|
-
return
|
|
12092
|
+
return Ad;
|
|
12079
12093
|
}
|
|
12080
12094
|
}), Object.defineProperty(exports, "useFormatPainter", {
|
|
12081
12095
|
enumerable: !0,
|
|
12082
12096
|
get: function() {
|
|
12083
|
-
return
|
|
12097
|
+
return Md;
|
|
12084
12098
|
}
|
|
12085
12099
|
}), Object.defineProperty(exports, "useHeaderFooterDialog", {
|
|
12086
12100
|
enumerable: !0,
|
|
12087
12101
|
get: function() {
|
|
12088
|
-
return
|
|
12102
|
+
return Fd;
|
|
12089
12103
|
}
|
|
12090
12104
|
}), Object.defineProperty(exports, "useI18n", {
|
|
12091
12105
|
enumerable: !0,
|
|
@@ -12095,12 +12109,12 @@ Object.defineProperty(exports, "ChartRenderer_default", {
|
|
|
12095
12109
|
}), Object.defineProperty(exports, "useInkDrawing", {
|
|
12096
12110
|
enumerable: !0,
|
|
12097
12111
|
get: function() {
|
|
12098
|
-
return
|
|
12112
|
+
return zd;
|
|
12099
12113
|
}
|
|
12100
12114
|
}), Object.defineProperty(exports, "useInlineEditing", {
|
|
12101
12115
|
enumerable: !0,
|
|
12102
12116
|
get: function() {
|
|
12103
|
-
return
|
|
12117
|
+
return Rd;
|
|
12104
12118
|
}
|
|
12105
12119
|
}), Object.defineProperty(exports, "useInlineListSession", {
|
|
12106
12120
|
enumerable: !0,
|
|
@@ -12110,42 +12124,42 @@ Object.defineProperty(exports, "ChartRenderer_default", {
|
|
|
12110
12124
|
}), Object.defineProperty(exports, "useInsertElementDialogs", {
|
|
12111
12125
|
enumerable: !0,
|
|
12112
12126
|
get: function() {
|
|
12113
|
-
return
|
|
12127
|
+
return Vd;
|
|
12114
12128
|
}
|
|
12115
12129
|
}), Object.defineProperty(exports, "useIsMobile", {
|
|
12116
12130
|
enumerable: !0,
|
|
12117
12131
|
get: function() {
|
|
12118
|
-
return
|
|
12132
|
+
return Qc;
|
|
12119
12133
|
}
|
|
12120
12134
|
}), Object.defineProperty(exports, "useKeyboardInsets", {
|
|
12121
12135
|
enumerable: !0,
|
|
12122
12136
|
get: function() {
|
|
12123
|
-
return
|
|
12137
|
+
return $d;
|
|
12124
12138
|
}
|
|
12125
12139
|
}), Object.defineProperty(exports, "useKeyboardShortcuts", {
|
|
12126
12140
|
enumerable: !0,
|
|
12127
12141
|
get: function() {
|
|
12128
|
-
return
|
|
12142
|
+
return ru;
|
|
12129
12143
|
}
|
|
12130
12144
|
}), Object.defineProperty(exports, "useLoadContent", {
|
|
12131
12145
|
enumerable: !0,
|
|
12132
12146
|
get: function() {
|
|
12133
|
-
return
|
|
12147
|
+
return Ud;
|
|
12134
12148
|
}
|
|
12135
12149
|
}), Object.defineProperty(exports, "useMasterViewState", {
|
|
12136
12150
|
enumerable: !0,
|
|
12137
12151
|
get: function() {
|
|
12138
|
-
return
|
|
12152
|
+
return Hd;
|
|
12139
12153
|
}
|
|
12140
12154
|
}), Object.defineProperty(exports, "useMediaExport", {
|
|
12141
12155
|
enumerable: !0,
|
|
12142
12156
|
get: function() {
|
|
12143
|
-
return
|
|
12157
|
+
return Dd;
|
|
12144
12158
|
}
|
|
12145
12159
|
}), Object.defineProperty(exports, "useMobileChrome", {
|
|
12146
12160
|
enumerable: !0,
|
|
12147
12161
|
get: function() {
|
|
12148
|
-
return
|
|
12162
|
+
return Kd;
|
|
12149
12163
|
}
|
|
12150
12164
|
}), Object.defineProperty(exports, "useModel3dScene", {
|
|
12151
12165
|
enumerable: !0,
|
|
@@ -12155,37 +12169,37 @@ Object.defineProperty(exports, "ChartRenderer_default", {
|
|
|
12155
12169
|
}), Object.defineProperty(exports, "useMorphTransitionOverlay", {
|
|
12156
12170
|
enumerable: !0,
|
|
12157
12171
|
get: function() {
|
|
12158
|
-
return
|
|
12172
|
+
return Iu;
|
|
12159
12173
|
}
|
|
12160
12174
|
}), Object.defineProperty(exports, "useMultiSelectOps", {
|
|
12161
12175
|
enumerable: !0,
|
|
12162
12176
|
get: function() {
|
|
12163
|
-
return
|
|
12177
|
+
return Yd;
|
|
12164
12178
|
}
|
|
12165
12179
|
}), Object.defineProperty(exports, "usePasswordProtection", {
|
|
12166
12180
|
enumerable: !0,
|
|
12167
12181
|
get: function() {
|
|
12168
|
-
return
|
|
12182
|
+
return qd;
|
|
12169
12183
|
}
|
|
12170
12184
|
}), Object.defineProperty(exports, "usePresentationAnnotations", {
|
|
12171
12185
|
enumerable: !0,
|
|
12172
12186
|
get: function() {
|
|
12173
|
-
return
|
|
12187
|
+
return Eu;
|
|
12174
12188
|
}
|
|
12175
12189
|
}), Object.defineProperty(exports, "usePresentationModeWiring", {
|
|
12176
12190
|
enumerable: !0,
|
|
12177
12191
|
get: function() {
|
|
12178
|
-
return
|
|
12192
|
+
return Xd;
|
|
12179
12193
|
}
|
|
12180
12194
|
}), Object.defineProperty(exports, "usePrint", {
|
|
12181
12195
|
enumerable: !0,
|
|
12182
12196
|
get: function() {
|
|
12183
|
-
return
|
|
12197
|
+
return op;
|
|
12184
12198
|
}
|
|
12185
12199
|
}), Object.defineProperty(exports, "useRehearseTimings", {
|
|
12186
12200
|
enumerable: !0,
|
|
12187
12201
|
get: function() {
|
|
12188
|
-
return
|
|
12202
|
+
return zu;
|
|
12189
12203
|
}
|
|
12190
12204
|
}), Object.defineProperty(exports, "useRendering3DFlags", {
|
|
12191
12205
|
enumerable: !0,
|
|
@@ -12195,32 +12209,32 @@ Object.defineProperty(exports, "ChartRenderer_default", {
|
|
|
12195
12209
|
}), Object.defineProperty(exports, "useRibbonActions", {
|
|
12196
12210
|
enumerable: !0,
|
|
12197
12211
|
get: function() {
|
|
12198
|
-
return
|
|
12212
|
+
return rp;
|
|
12199
12213
|
}
|
|
12200
12214
|
}), Object.defineProperty(exports, "useRibbonProps", {
|
|
12201
12215
|
enumerable: !0,
|
|
12202
12216
|
get: function() {
|
|
12203
|
-
return
|
|
12217
|
+
return Bp;
|
|
12204
12218
|
}
|
|
12205
12219
|
}), Object.defineProperty(exports, "useRibbonUiState", {
|
|
12206
12220
|
enumerable: !0,
|
|
12207
12221
|
get: function() {
|
|
12208
|
-
return
|
|
12222
|
+
return ip;
|
|
12209
12223
|
}
|
|
12210
12224
|
}), Object.defineProperty(exports, "useSectionOperations", {
|
|
12211
12225
|
enumerable: !0,
|
|
12212
12226
|
get: function() {
|
|
12213
|
-
return
|
|
12227
|
+
return sp;
|
|
12214
12228
|
}
|
|
12215
12229
|
}), Object.defineProperty(exports, "useSelectionAffordances", {
|
|
12216
12230
|
enumerable: !0,
|
|
12217
12231
|
get: function() {
|
|
12218
|
-
return
|
|
12232
|
+
return Yc;
|
|
12219
12233
|
}
|
|
12220
12234
|
}), Object.defineProperty(exports, "useSelectionPaneWiring", {
|
|
12221
12235
|
enumerable: !0,
|
|
12222
12236
|
get: function() {
|
|
12223
|
-
return
|
|
12237
|
+
return cp;
|
|
12224
12238
|
}
|
|
12225
12239
|
}), Object.defineProperty(exports, "useSheetDismissDrag", {
|
|
12226
12240
|
enumerable: !0,
|
|
@@ -12230,42 +12244,42 @@ Object.defineProperty(exports, "ChartRenderer_default", {
|
|
|
12230
12244
|
}), Object.defineProperty(exports, "useSignatureWorkflow", {
|
|
12231
12245
|
enumerable: !0,
|
|
12232
12246
|
get: function() {
|
|
12233
|
-
return
|
|
12247
|
+
return up;
|
|
12234
12248
|
}
|
|
12235
12249
|
}), Object.defineProperty(exports, "useSignatures", {
|
|
12236
12250
|
enumerable: !0,
|
|
12237
12251
|
get: function() {
|
|
12238
|
-
return
|
|
12252
|
+
return Vu;
|
|
12239
12253
|
}
|
|
12240
12254
|
}), Object.defineProperty(exports, "useSlideMutations", {
|
|
12241
12255
|
enumerable: !0,
|
|
12242
12256
|
get: function() {
|
|
12243
|
-
return
|
|
12257
|
+
return dp;
|
|
12244
12258
|
}
|
|
12245
12259
|
}), Object.defineProperty(exports, "useSlideOperations", {
|
|
12246
12260
|
enumerable: !0,
|
|
12247
12261
|
get: function() {
|
|
12248
|
-
return
|
|
12262
|
+
return pp;
|
|
12249
12263
|
}
|
|
12250
12264
|
}), Object.defineProperty(exports, "useSlideShowSettings", {
|
|
12251
12265
|
enumerable: !0,
|
|
12252
12266
|
get: function() {
|
|
12253
|
-
return
|
|
12267
|
+
return mp;
|
|
12254
12268
|
}
|
|
12255
12269
|
}), Object.defineProperty(exports, "useSlideTemplateInsertion", {
|
|
12256
12270
|
enumerable: !0,
|
|
12257
12271
|
get: function() {
|
|
12258
|
-
return
|
|
12272
|
+
return vp;
|
|
12259
12273
|
}
|
|
12260
12274
|
}), Object.defineProperty(exports, "useSmartArtEditing", {
|
|
12261
12275
|
enumerable: !0,
|
|
12262
12276
|
get: function() {
|
|
12263
|
-
return
|
|
12277
|
+
return vu;
|
|
12264
12278
|
}
|
|
12265
12279
|
}), Object.defineProperty(exports, "useSmartArtFocus", {
|
|
12266
12280
|
enumerable: !0,
|
|
12267
12281
|
get: function() {
|
|
12268
|
-
return
|
|
12282
|
+
return uu;
|
|
12269
12283
|
}
|
|
12270
12284
|
}), Object.defineProperty(exports, "useSmartArtHoverRect", {
|
|
12271
12285
|
enumerable: !0,
|
|
@@ -12280,12 +12294,12 @@ Object.defineProperty(exports, "ChartRenderer_default", {
|
|
|
12280
12294
|
}), Object.defineProperty(exports, "useSmartArtNodeEditContext", {
|
|
12281
12295
|
enumerable: !0,
|
|
12282
12296
|
get: function() {
|
|
12283
|
-
return
|
|
12297
|
+
return fp;
|
|
12284
12298
|
}
|
|
12285
12299
|
}), Object.defineProperty(exports, "useTableCellEditingContext", {
|
|
12286
12300
|
enumerable: !0,
|
|
12287
12301
|
get: function() {
|
|
12288
|
-
return
|
|
12302
|
+
return gp;
|
|
12289
12303
|
}
|
|
12290
12304
|
}), Object.defineProperty(exports, "useTableCellSelection", {
|
|
12291
12305
|
enumerable: !0,
|
|
@@ -12295,32 +12309,32 @@ Object.defineProperty(exports, "ChartRenderer_default", {
|
|
|
12295
12309
|
}), Object.defineProperty(exports, "useThemeEditing", {
|
|
12296
12310
|
enumerable: !0,
|
|
12297
12311
|
get: function() {
|
|
12298
|
-
return
|
|
12312
|
+
return yp;
|
|
12299
12313
|
}
|
|
12300
12314
|
}), Object.defineProperty(exports, "useToolbarAutoHide", {
|
|
12301
12315
|
enumerable: !0,
|
|
12302
12316
|
get: function() {
|
|
12303
|
-
return
|
|
12317
|
+
return Bu;
|
|
12304
12318
|
}
|
|
12305
12319
|
}), Object.defineProperty(exports, "useToolbarVisibility", {
|
|
12306
12320
|
enumerable: !0,
|
|
12307
12321
|
get: function() {
|
|
12308
|
-
return
|
|
12322
|
+
return qc;
|
|
12309
12323
|
}
|
|
12310
12324
|
}), Object.defineProperty(exports, "useTouchGestures", {
|
|
12311
12325
|
enumerable: !0,
|
|
12312
12326
|
get: function() {
|
|
12313
|
-
return
|
|
12327
|
+
return Cu;
|
|
12314
12328
|
}
|
|
12315
12329
|
}), Object.defineProperty(exports, "useVersionHistory", {
|
|
12316
12330
|
enumerable: !0,
|
|
12317
12331
|
get: function() {
|
|
12318
|
-
return
|
|
12332
|
+
return bp;
|
|
12319
12333
|
}
|
|
12320
12334
|
}), Object.defineProperty(exports, "useVersionHistoryWiring", {
|
|
12321
12335
|
enumerable: !0,
|
|
12322
12336
|
get: function() {
|
|
12323
|
-
return
|
|
12337
|
+
return Sp;
|
|
12324
12338
|
}
|
|
12325
12339
|
}), Object.defineProperty(exports, "useViewerOptionsStore", {
|
|
12326
12340
|
enumerable: !0,
|
|
@@ -12330,6 +12344,6 @@ Object.defineProperty(exports, "ChartRenderer_default", {
|
|
|
12330
12344
|
}), Object.defineProperty(exports, "useViewerSettingsDialog", {
|
|
12331
12345
|
enumerable: !0,
|
|
12332
12346
|
get: function() {
|
|
12333
|
-
return
|
|
12347
|
+
return Cp;
|
|
12334
12348
|
}
|
|
12335
12349
|
});
|