pptx-vue-viewer 4.65.0 → 4.66.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +30 -0
- package/README.md +10 -0
- package/dist/i18n/de.cjs +3 -0
- package/dist/i18n/de.cjs.br +0 -0
- package/dist/i18n/de.cjs.gz +0 -0
- package/dist/i18n/de.mjs +3 -0
- package/dist/i18n/de.mjs.br +0 -0
- package/dist/i18n/de.mjs.gz +0 -0
- package/dist/i18n/es.cjs +3 -0
- package/dist/i18n/es.cjs.br +0 -0
- package/dist/i18n/es.cjs.gz +0 -0
- package/dist/i18n/es.mjs +3 -0
- package/dist/i18n/es.mjs.br +0 -0
- package/dist/i18n/es.mjs.gz +0 -0
- package/dist/i18n/fr.cjs +3 -0
- package/dist/i18n/fr.cjs.br +0 -0
- package/dist/i18n/fr.cjs.gz +0 -0
- package/dist/i18n/fr.mjs +3 -0
- package/dist/i18n/fr.mjs.br +0 -0
- package/dist/i18n/fr.mjs.gz +0 -0
- package/dist/i18n/zh-CN.cjs +3 -0
- package/dist/i18n/zh-CN.cjs.br +0 -0
- package/dist/i18n/zh-CN.cjs.gz +0 -0
- package/dist/i18n/zh-CN.mjs +3 -0
- package/dist/i18n/zh-CN.mjs.br +0 -0
- package/dist/i18n/zh-CN.mjs.gz +0 -0
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.br +0 -0
- package/dist/index.cjs.gz +0 -0
- package/dist/index.d.ts +4 -1
- package/dist/index.js +3 -3
- package/dist/index.js.br +0 -0
- package/dist/index.js.gz +0 -0
- package/dist/internals.cjs +1 -1
- package/dist/internals.cjs.br +0 -0
- package/dist/internals.cjs.gz +0 -0
- package/dist/internals.d.ts +9 -0
- package/dist/internals.js +1 -1
- package/dist/internals.js.br +0 -0
- package/dist/internals.js.gz +0 -0
- package/dist/pptx-vue-viewer.css +1 -1
- package/dist/pptx-vue-viewer.css.br +0 -0
- package/dist/pptx-vue-viewer.css.gz +0 -0
- package/dist/{useViewerSettingsDialog-CuiWscv-.cjs → useViewerSettingsDialog-Cd52v93-.cjs} +309 -273
- package/dist/useViewerSettingsDialog-Cd52v93-.cjs.br +0 -0
- package/dist/useViewerSettingsDialog-Cd52v93-.cjs.gz +0 -0
- package/dist/{useViewerSettingsDialog-D5C2Wbjw.js → useViewerSettingsDialog-DgmgQcw4.js} +1904 -1863
- package/dist/useViewerSettingsDialog-DgmgQcw4.js.br +0 -0
- package/dist/useViewerSettingsDialog-DgmgQcw4.js.gz +0 -0
- package/dist/viewer/index.cjs +1 -1
- package/dist/viewer/index.cjs.br +0 -0
- package/dist/viewer/index.cjs.gz +0 -0
- package/dist/viewer/index.d.ts +12 -1
- 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-DQPBgO7l.js → viewer-CuueXklz.js} +8592 -8622
- package/dist/viewer-CuueXklz.js.br +0 -0
- package/dist/viewer-CuueXklz.js.gz +0 -0
- package/dist/{viewer-q1mZieZF.cjs → viewer-Te3FWYIB.cjs} +1247 -1277
- package/dist/viewer-Te3FWYIB.cjs.br +0 -0
- package/dist/viewer-Te3FWYIB.cjs.gz +0 -0
- package/dist/{y-webrtc-CTBB9Ok0.cjs → y-webrtc-C8MpOfL3.cjs} +1 -1
- package/dist/y-webrtc-C8MpOfL3.cjs.br +0 -0
- package/dist/y-webrtc-C8MpOfL3.cjs.gz +0 -0
- package/dist/{y-webrtc-CpZkvep1.js → y-webrtc-CU4hfjTK.js} +23 -23
- package/dist/y-webrtc-CU4hfjTK.js.br +0 -0
- package/dist/y-webrtc-CU4hfjTK.js.gz +0 -0
- package/package.json +4 -4
- package/dist/useViewerSettingsDialog-CuiWscv-.cjs.br +0 -0
- package/dist/useViewerSettingsDialog-CuiWscv-.cjs.gz +0 -0
- package/dist/useViewerSettingsDialog-D5C2Wbjw.js.br +0 -0
- package/dist/useViewerSettingsDialog-D5C2Wbjw.js.gz +0 -0
- package/dist/viewer-DQPBgO7l.js.br +0 -0
- package/dist/viewer-DQPBgO7l.js.gz +0 -0
- package/dist/viewer-q1mZieZF.cjs.br +0 -0
- package/dist/viewer-q1mZieZF.cjs.gz +0 -0
- package/dist/y-webrtc-CTBB9Ok0.cjs.br +0 -0
- package/dist/y-webrtc-CTBB9Ok0.cjs.gz +0 -0
- package/dist/y-webrtc-CpZkvep1.js.br +0 -0
- package/dist/y-webrtc-CpZkvep1.js.gz +0 -0
|
@@ -1228,11 +1228,11 @@ var Ue = (0, p.defineComponent)({
|
|
|
1228
1228
|
if (!f.value) return null;
|
|
1229
1229
|
const e = t.element;
|
|
1230
1230
|
return (0, k.hasShapeProperties)(e) ? (0, k.getConnectorPathGeometry)(e) : null;
|
|
1231
|
-
}), y = (0, p.computed)(() => Math.max(t.element.width, 0)), g = (0, p.computed)(() => Math.max(t.element.height, 0)), x = (0, p.computed)(() => t.element.flipHorizontal ? y.value : 0), S = (0, p.computed)(() => t.element.flipVertical ? g.value : 0), b = (0, p.computed)(() => t.element.flipHorizontal ? 0 : y.value), w = (0, p.computed)(() => t.element.flipVertical ? 0 : g.value), E = (0, p.computed)(() => (0, d.connectorSnapTransform)(t.element, !f.value, m.value.length, l.value)), B = (0, p.computed)(() => Math.max(3 * l.value, 14)), C = (0, p.computed)(() => f.value && h.value ? h.value.pathData : `M ${x.value} ${S.value} L ${b.value} ${w.value}`), I = (0, p.computed)(() =>
|
|
1232
|
-
function
|
|
1231
|
+
}), y = (0, p.computed)(() => Math.max(t.element.width, 0)), g = (0, p.computed)(() => Math.max(t.element.height, 0)), x = (0, p.computed)(() => t.element.flipHorizontal ? y.value : 0), S = (0, p.computed)(() => t.element.flipVertical ? g.value : 0), b = (0, p.computed)(() => t.element.flipHorizontal ? 0 : y.value), w = (0, p.computed)(() => t.element.flipVertical ? 0 : g.value), E = (0, p.computed)(() => (0, d.connectorSnapTransform)(t.element, !f.value, m.value.length, l.value)), B = (0, p.computed)(() => Math.max(3 * l.value, 14)), C = (0, p.computed)(() => f.value && h.value ? h.value.pathData : `M ${x.value} ${S.value} L ${b.value} ${w.value}`), I = (0, p.computed)(() => (0, d.connectorSquareCapPath)(C.value, n.value, l.value, m.value.length > 1 || !!P.value || !!T.value) ?? (f.value ? h.value?.pathData : void 0)), P = (0, p.computed)(() => D(n.value?.connectorStartArrow)), T = (0, p.computed)(() => D(n.value?.connectorEndArrow));
|
|
1232
|
+
function D(e) {
|
|
1233
1233
|
return e && "none" !== e ? e : void 0;
|
|
1234
1234
|
}
|
|
1235
|
-
const
|
|
1235
|
+
const z = (0, p.computed)(() => t.element.id.replace(/[^a-zA-Z0-9_-]/gu, "_")), A = (0, p.computed)(() => `${z.value}-start`), O = (0, p.computed)(() => `${z.value}-end`), M = (0, p.computed)(() => {
|
|
1236
1236
|
const e = t.element, n = {
|
|
1237
1237
|
position: "absolute",
|
|
1238
1238
|
left: `${e.x}px`,
|
|
@@ -1243,23 +1243,23 @@ var Ue = (0, p.defineComponent)({
|
|
|
1243
1243
|
pointerEvents: "none",
|
|
1244
1244
|
overflow: "visible"
|
|
1245
1245
|
};
|
|
1246
|
-
return e.rotation && (n.transform = `rotate(${e.rotation}deg)`), "number" == typeof e.opacity && (n.opacity = e.opacity),
|
|
1247
|
-
}),
|
|
1248
|
-
function
|
|
1246
|
+
return e.rotation && (n.transform = `rotate(${e.rotation}deg)`), "number" == typeof e.opacity && (n.opacity = e.opacity), V.value && (n.filter = V.value), e.hidden && (n.display = "none"), n;
|
|
1247
|
+
}), F = (0, p.computed)(() => P.value ? (0, d.markerPath)(P.value, n.value?.connectorStartArrowWidth, n.value?.connectorStartArrowLength) : null), L = (0, p.computed)(() => T.value ? (0, d.markerPath)(T.value, n.value?.connectorEndArrowWidth, n.value?.connectorEndArrowLength) : null), R = (0, p.computed)(() => (0, d.getLineShadowParams)(n.value)), V = (0, p.computed)(() => (0, d.getLineGlowFilterCss)(n.value)), N = (0, p.computed)(() => `${z.value}-line-shadow`), _ = (0, p.computed)(() => (0, k.hasTextProperties)(t.element) ? t.element : void 0), j = (0, p.computed)(() => _.value?.text?.trim() ?? ""), U = (0, p.computed)(() => _.value?.textSegments), $ = (0, p.computed)(() => _.value?.textStyle);
|
|
1248
|
+
function W(e) {
|
|
1249
1249
|
if (0 !== e) return `translate(0, ${e}px)`;
|
|
1250
1250
|
}
|
|
1251
|
-
function
|
|
1251
|
+
function H(e) {
|
|
1252
1252
|
return Math.max(v.value[e] ?? l.value, 1);
|
|
1253
1253
|
}
|
|
1254
|
-
function
|
|
1254
|
+
function G(e, t) {
|
|
1255
1255
|
return {
|
|
1256
1256
|
strokeWidth: (0, d.connectorStrandScreenWidth)(v.value, l.value, e),
|
|
1257
|
-
transform:
|
|
1257
|
+
transform: W(t) ?? E.value
|
|
1258
1258
|
};
|
|
1259
1259
|
}
|
|
1260
1260
|
return (t, n) => ((0, p.openBlock)(), (0, p.createElementBlock)("div", {
|
|
1261
1261
|
class: "pptx-vue-element pptx-vue-connector",
|
|
1262
|
-
style: (0, p.normalizeStyle)(
|
|
1262
|
+
style: (0, p.normalizeStyle)(M.value),
|
|
1263
1263
|
"data-element-id": e.element.id
|
|
1264
1264
|
}, [
|
|
1265
1265
|
e.textStyleOverrideCss ? ((0, p.openBlock)(), (0, p.createBlock)((0, p.resolveDynamicComponent)("style"), { key: 0 }, {
|
|
@@ -1276,18 +1276,18 @@ var Ue = (0, p.defineComponent)({
|
|
|
1276
1276
|
}
|
|
1277
1277
|
}, [
|
|
1278
1278
|
(0, p.createElementVNode)("defs", null, [
|
|
1279
|
-
|
|
1279
|
+
F.value ? ((0, p.openBlock)(), (0, p.createElementBlock)("marker", {
|
|
1280
1280
|
key: 0,
|
|
1281
|
-
id:
|
|
1281
|
+
id: A.value,
|
|
1282
1282
|
viewBox: "0 0 10 10",
|
|
1283
|
-
refX:
|
|
1283
|
+
refX: F.value.refX,
|
|
1284
1284
|
refY: "5",
|
|
1285
|
-
markerWidth:
|
|
1285
|
+
markerWidth: F.value.markerWidth,
|
|
1286
1286
|
preserveAspectRatio: "none",
|
|
1287
|
-
markerHeight:
|
|
1287
|
+
markerHeight: F.value.markerHeight,
|
|
1288
1288
|
orient: "auto-start-reverse",
|
|
1289
1289
|
markerUnits: "strokeWidth"
|
|
1290
|
-
}, ["circle" ===
|
|
1290
|
+
}, ["circle" === F.value.shape ? ((0, p.openBlock)(), (0, p.createElementBlock)("circle", {
|
|
1291
1291
|
key: 0,
|
|
1292
1292
|
cx: "5",
|
|
1293
1293
|
cy: "5",
|
|
@@ -1295,22 +1295,22 @@ var Ue = (0, p.defineComponent)({
|
|
|
1295
1295
|
fill: o.value
|
|
1296
1296
|
}, null, 8, Ze)) : ((0, p.openBlock)(), (0, p.createElementBlock)("path", {
|
|
1297
1297
|
key: 1,
|
|
1298
|
-
d:
|
|
1299
|
-
fill:
|
|
1300
|
-
stroke:
|
|
1298
|
+
d: F.value.d,
|
|
1299
|
+
fill: F.value.strokeOnly ? "none" : o.value,
|
|
1300
|
+
stroke: F.value.strokeOnly ? o.value : void 0
|
|
1301
1301
|
}, null, 8, Je))], 8, Xe)) : (0, p.createCommentVNode)("", !0),
|
|
1302
|
-
|
|
1302
|
+
L.value ? ((0, p.openBlock)(), (0, p.createElementBlock)("marker", {
|
|
1303
1303
|
key: 1,
|
|
1304
|
-
id:
|
|
1304
|
+
id: O.value,
|
|
1305
1305
|
viewBox: "0 0 10 10",
|
|
1306
|
-
refX:
|
|
1306
|
+
refX: L.value.refX,
|
|
1307
1307
|
refY: "5",
|
|
1308
|
-
markerWidth:
|
|
1308
|
+
markerWidth: L.value.markerWidth,
|
|
1309
1309
|
preserveAspectRatio: "none",
|
|
1310
|
-
markerHeight:
|
|
1310
|
+
markerHeight: L.value.markerHeight,
|
|
1311
1311
|
orient: "auto-start-reverse",
|
|
1312
1312
|
markerUnits: "strokeWidth"
|
|
1313
|
-
}, ["circle" ===
|
|
1313
|
+
}, ["circle" === L.value.shape ? ((0, p.openBlock)(), (0, p.createElementBlock)("circle", {
|
|
1314
1314
|
key: 0,
|
|
1315
1315
|
cx: "5",
|
|
1316
1316
|
cy: "5",
|
|
@@ -1318,23 +1318,23 @@ var Ue = (0, p.defineComponent)({
|
|
|
1318
1318
|
fill: o.value
|
|
1319
1319
|
}, null, 8, et)) : ((0, p.openBlock)(), (0, p.createElementBlock)("path", {
|
|
1320
1320
|
key: 1,
|
|
1321
|
-
d:
|
|
1322
|
-
fill:
|
|
1323
|
-
stroke:
|
|
1321
|
+
d: L.value.d,
|
|
1322
|
+
fill: L.value.strokeOnly ? "none" : o.value,
|
|
1323
|
+
stroke: L.value.strokeOnly ? o.value : void 0
|
|
1324
1324
|
}, null, 8, tt))], 8, Qe)) : (0, p.createCommentVNode)("", !0),
|
|
1325
|
-
|
|
1325
|
+
R.value ? ((0, p.openBlock)(), (0, p.createElementBlock)("filter", {
|
|
1326
1326
|
key: 2,
|
|
1327
|
-
id:
|
|
1327
|
+
id: N.value,
|
|
1328
1328
|
x: "-50%",
|
|
1329
1329
|
y: "-50%",
|
|
1330
1330
|
width: "200%",
|
|
1331
1331
|
height: "200%"
|
|
1332
1332
|
}, [(0, p.createElementVNode)("feDropShadow", {
|
|
1333
|
-
dx:
|
|
1334
|
-
dy:
|
|
1335
|
-
stdDeviation:
|
|
1336
|
-
"flood-color":
|
|
1337
|
-
"flood-opacity":
|
|
1333
|
+
dx: R.value.offsetX,
|
|
1334
|
+
dy: R.value.offsetY,
|
|
1335
|
+
stdDeviation: R.value.blur / 2,
|
|
1336
|
+
"flood-color": R.value.color,
|
|
1337
|
+
"flood-opacity": R.value.opacity
|
|
1338
1338
|
}, null, 8, lt)], 8, nt)) : (0, p.createCommentVNode)("", !0)
|
|
1339
1339
|
]),
|
|
1340
1340
|
(0, p.createElementVNode)("path", {
|
|
@@ -1347,21 +1347,21 @@ var Ue = (0, p.defineComponent)({
|
|
|
1347
1347
|
"stroke-linejoin": "round",
|
|
1348
1348
|
style: { "pointer-events": "stroke" }
|
|
1349
1349
|
}, null, 8, ot),
|
|
1350
|
-
|
|
1350
|
+
void 0 !== I.value ? ((0, p.openBlock)(!0), (0, p.createElementBlock)(p.Fragment, { key: 0 }, (0, p.renderList)(m.value, (e, t) => ((0, p.openBlock)(), (0, p.createElementBlock)("path", {
|
|
1351
1351
|
key: t,
|
|
1352
1352
|
"data-pptx-line": "",
|
|
1353
|
-
d:
|
|
1353
|
+
d: I.value,
|
|
1354
1354
|
fill: "none",
|
|
1355
1355
|
stroke: o.value,
|
|
1356
|
-
"stroke-width":
|
|
1356
|
+
"stroke-width": H(t),
|
|
1357
1357
|
"stroke-opacity": a.value,
|
|
1358
1358
|
"stroke-dasharray": r.value,
|
|
1359
1359
|
"stroke-linecap": i.value,
|
|
1360
1360
|
"stroke-linejoin": "round",
|
|
1361
|
-
filter: 0 === t &&
|
|
1362
|
-
style: (0, p.normalizeStyle)(
|
|
1363
|
-
"marker-start": 0 === t &&
|
|
1364
|
-
"marker-end": t === m.value.length - 1 &&
|
|
1361
|
+
filter: 0 === t && R.value ? `url(#${N.value})` : void 0,
|
|
1362
|
+
style: (0, p.normalizeStyle)(G(t, e)),
|
|
1363
|
+
"marker-start": 0 === t && F.value ? `url(#${A.value})` : void 0,
|
|
1364
|
+
"marker-end": t === m.value.length - 1 && L.value ? `url(#${O.value})` : void 0
|
|
1365
1365
|
}, null, 12, at))), 128)) : ((0, p.openBlock)(!0), (0, p.createElementBlock)(p.Fragment, { key: 1 }, (0, p.renderList)(m.value, (e, t) => ((0, p.openBlock)(), (0, p.createElementBlock)("line", {
|
|
1366
1366
|
key: t,
|
|
1367
1367
|
"data-pptx-line": "",
|
|
@@ -1370,21 +1370,21 @@ var Ue = (0, p.defineComponent)({
|
|
|
1370
1370
|
x2: b.value,
|
|
1371
1371
|
y2: w.value + e,
|
|
1372
1372
|
stroke: o.value,
|
|
1373
|
-
"stroke-width":
|
|
1374
|
-
style: (0, p.normalizeStyle)(
|
|
1373
|
+
"stroke-width": H(t),
|
|
1374
|
+
style: (0, p.normalizeStyle)(G(t, 0)),
|
|
1375
1375
|
"stroke-opacity": a.value,
|
|
1376
1376
|
"stroke-dasharray": r.value,
|
|
1377
1377
|
"stroke-linecap": i.value,
|
|
1378
|
-
filter: 0 === t &&
|
|
1379
|
-
"marker-start": 0 === t &&
|
|
1380
|
-
"marker-end": t === m.value.length - 1 &&
|
|
1378
|
+
filter: 0 === t && R.value ? `url(#${N.value})` : void 0,
|
|
1379
|
+
"marker-start": 0 === t && F.value ? `url(#${A.value})` : void 0,
|
|
1380
|
+
"marker-end": t === m.value.length - 1 && L.value ? `url(#${O.value})` : void 0
|
|
1381
1381
|
}, null, 12, rt))), 128))
|
|
1382
1382
|
], 8, Ye)),
|
|
1383
|
-
|
|
1383
|
+
U.value ? ((0, p.openBlock)(), (0, p.createBlock)(Ke, {
|
|
1384
1384
|
key: 1,
|
|
1385
|
-
text:
|
|
1386
|
-
segments:
|
|
1387
|
-
"text-style":
|
|
1385
|
+
text: j.value,
|
|
1386
|
+
segments: U.value,
|
|
1387
|
+
"text-style": $.value
|
|
1388
1388
|
}, null, 8, [
|
|
1389
1389
|
"text",
|
|
1390
1390
|
"segments",
|
|
@@ -4065,21 +4065,25 @@ var No = ["d", "fill"], _o = [
|
|
|
4065
4065
|
};
|
|
4066
4066
|
}
|
|
4067
4067
|
}), f = (0, p.computed)(() => n.value?.textStyle?.fontSize ?? 24), h = (0, p.computed)(() => n.value?.textStyle?.fontFamily ? (0, k.getSubstituteFontFamily)(n.value.textStyle.fontFamily) : d.DEFAULT_FONT_FAMILY), y = (0, p.computed)(() => (0, d.normalizeHexColor)(n.value?.textStyle?.color, Jo)), g = (0, p.computed)(() => (0, d.resolveFontWeight)(n.value?.textStyle?.fontFamily, n.value?.textStyle?.bold)), x = (0, p.computed)(() => (0, d.resolveFontItalic)(n.value?.textStyle?.fontFamily, n.value?.textStyle?.italic) ? "italic" : "normal");
|
|
4068
|
-
function S(e) {
|
|
4069
|
-
const
|
|
4068
|
+
function S(e, t = 1) {
|
|
4069
|
+
const l = (0, d.resolveWarpRunPaint)(e, n.value?.textStyle, Jo, 24);
|
|
4070
4070
|
return {
|
|
4071
|
-
fill:
|
|
4072
|
-
fontSize:
|
|
4073
|
-
fontWeight:
|
|
4074
|
-
fontStyle:
|
|
4075
|
-
fontFamily:
|
|
4076
|
-
...
|
|
4071
|
+
fill: l.fill,
|
|
4072
|
+
fontSize: l.fontSizePx * t,
|
|
4073
|
+
fontWeight: l.fontWeight ?? "normal",
|
|
4074
|
+
fontStyle: l.fontStyle ?? "normal",
|
|
4075
|
+
fontFamily: l.fontFamily,
|
|
4076
|
+
...l.textDecoration ? { textDecoration: l.textDecoration } : {}
|
|
4077
4077
|
};
|
|
4078
4078
|
}
|
|
4079
|
-
|
|
4080
|
-
|
|
4079
|
+
const b = (0, p.computed)(() => l.value ? (0, d.warpParagraphLayouts)(l.value, a.value, r.value, s.value, c.value, m.value, n.value?.textStyle) : []);
|
|
4080
|
+
function w(e) {
|
|
4081
|
+
return b.value[e]?.d ?? "";
|
|
4081
4082
|
}
|
|
4082
|
-
|
|
4083
|
+
function C(e) {
|
|
4084
|
+
return b.value[e]?.fitScale ?? 1;
|
|
4085
|
+
}
|
|
4086
|
+
const { useGlyphEnvelope: I, glyphLines: P } = function(e) {
|
|
4083
4087
|
const { textEl: t, preset: n, paragraphs: l, width: o, height: a, warpAdj: r, warpAdj2: i, defaultFontFamily: s, defaultFontSize: u } = e, c = (0, p.computed)(() => l.value.length > 0 && (0, d.hasGlyphEnvelope)(n.value ?? ""));
|
|
4084
4088
|
function m(e) {
|
|
4085
4089
|
const n = e.style ?? {}, l = t.value?.textStyle, o = n.fontFamily ?? l?.fontFamily;
|
|
@@ -4118,7 +4122,7 @@ var No = ["d", "fill"], _o = [
|
|
|
4118
4122
|
defaultFontFamily: d.DEFAULT_FONT_FAMILY,
|
|
4119
4123
|
defaultFontSize: 24
|
|
4120
4124
|
});
|
|
4121
|
-
return (t, n) => (0, p.unref)(
|
|
4125
|
+
return (t, n) => (0, p.unref)(I) ? ((0, p.openBlock)(), (0, p.createElementBlock)("svg", {
|
|
4122
4126
|
key: 0,
|
|
4123
4127
|
class: "pptx-vue-wordart",
|
|
4124
4128
|
width: a.value,
|
|
@@ -4127,7 +4131,7 @@ var No = ["d", "fill"], _o = [
|
|
|
4127
4131
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4128
4132
|
"aria-hidden": "true",
|
|
4129
4133
|
style: (0, p.normalizeStyle)({ zIndex: e.zIndex })
|
|
4130
|
-
}, [((0, p.openBlock)(!0), (0, p.createElementBlock)(p.Fragment, null, (0, p.renderList)((0, p.unref)(
|
|
4134
|
+
}, [((0, p.openBlock)(!0), (0, p.createElementBlock)(p.Fragment, null, (0, p.renderList)((0, p.unref)(P), (e) => ((0, p.openBlock)(), (0, p.createElementBlock)(p.Fragment, { key: `line-${e.lineIndex}` }, [((0, p.openBlock)(!0), (0, p.createElementBlock)(p.Fragment, null, (0, p.renderList)(e.glyphs, (t, n) => {
|
|
4131
4135
|
return (0, p.openBlock)(), (0, p.createBlock)(Ho, {
|
|
4132
4136
|
key: `g-${e.lineIndex}-${n}`,
|
|
4133
4137
|
glyph: t,
|
|
@@ -4151,7 +4155,7 @@ var No = ["d", "fill"], _o = [
|
|
|
4151
4155
|
}, [(0, p.createElementVNode)("defs", null, [((0, p.openBlock)(!0), (0, p.createElementBlock)(p.Fragment, null, (0, p.renderList)(s.value, (e, t) => ((0, p.openBlock)(), (0, p.createElementBlock)("path", {
|
|
4152
4156
|
id: `${u.value}-${t}`,
|
|
4153
4157
|
key: `def-${t}`,
|
|
4154
|
-
d:
|
|
4158
|
+
d: w(t),
|
|
4155
4159
|
fill: "none"
|
|
4156
4160
|
}, null, 8, qo))), 128))]), ((0, p.openBlock)(!0), (0, p.createElementBlock)(p.Fragment, null, (0, p.renderList)(s.value, (e, t) => ((0, p.openBlock)(), (0, p.createElementBlock)("text", {
|
|
4157
4161
|
key: `txt-${t}`,
|
|
@@ -4166,15 +4170,15 @@ var No = ["d", "fill"], _o = [
|
|
|
4166
4170
|
"text-anchor": v.value.textAnchor
|
|
4167
4171
|
}, [((0, p.openBlock)(!0), (0, p.createElementBlock)(p.Fragment, null, (0, p.renderList)(e.segments, (e, n) => ((0, p.openBlock)(), (0, p.createElementBlock)("tspan", {
|
|
4168
4172
|
key: `ts-${t}-${n}`,
|
|
4169
|
-
fill: S(e).fill,
|
|
4170
|
-
"font-size": S(e).fontSize,
|
|
4173
|
+
fill: S(e, C(t)).fill,
|
|
4174
|
+
"font-size": S(e, C(t)).fontSize,
|
|
4171
4175
|
"font-weight": S(e).fontWeight,
|
|
4172
4176
|
"font-style": S(e).fontStyle,
|
|
4173
4177
|
"font-family": S(e).fontFamily,
|
|
4174
4178
|
"text-decoration": S(e).textDecoration
|
|
4175
4179
|
}, (0, p.toDisplayString)(e.text), 9, Zo))), 128))], 8, Xo)], 8, Yo))), 128))], 12, Ko)) : (0, p.createCommentVNode)("", !0);
|
|
4176
4180
|
}
|
|
4177
|
-
}), [["__scopeId", "data-v-
|
|
4181
|
+
}), [["__scopeId", "data-v-60a2ce03"]]), ea = Symbol("pptx-vue-zoom-navigation");
|
|
4178
4182
|
function ta(e) {
|
|
4179
4183
|
(0, p.provide)(ea, e);
|
|
4180
4184
|
}
|
|
@@ -5775,7 +5779,7 @@ function fr(e) {
|
|
|
5775
5779
|
var hr = {
|
|
5776
5780
|
loadYjs: () => import("yjs"),
|
|
5777
5781
|
loadWebsocket: () => import("y-websocket"),
|
|
5778
|
-
loadWebrtc: () => Promise.resolve().then(() => require("./y-webrtc-
|
|
5782
|
+
loadWebrtc: () => Promise.resolve().then(() => require("./y-webrtc-C8MpOfL3.cjs"))
|
|
5779
5783
|
};
|
|
5780
5784
|
function yr(e, t) {
|
|
5781
5785
|
const n = (0, p.ref)(!1), l = (0, p.ref)(!1), o = (0, p.ref)(void 0), a = (0, d.createCollaborationLivePatcher)();
|
|
@@ -7701,7 +7705,33 @@ function oi(e) {
|
|
|
7701
7705
|
}
|
|
7702
7706
|
};
|
|
7703
7707
|
}
|
|
7704
|
-
|
|
7708
|
+
var ai = "pptx-vue-google-fonts";
|
|
7709
|
+
function ri(e, t, n = void 0) {
|
|
7710
|
+
const l = ai;
|
|
7711
|
+
(0, p.watchEffect)((o) => {
|
|
7712
|
+
if ("undefined" == typeof document) return;
|
|
7713
|
+
let a = !1;
|
|
7714
|
+
o(() => {
|
|
7715
|
+
a = !0;
|
|
7716
|
+
}), (0, d.resolveGoogleWebfontHref)((0, p.toValue)(e) ?? [], (0, p.toValue)(t) ?? [], void 0, (0, d.resolveGoogleFontsCss2Base)((0, p.toValue)(n))).then((e) => a ? null : ((0, d.syncGoogleWebfontStylesheet)(document, l, e), e));
|
|
7717
|
+
}), (0, p.onScopeDispose)(() => {
|
|
7718
|
+
document.getElementById(l)?.remove();
|
|
7719
|
+
}), (0, p.watchEffect)((l) => {
|
|
7720
|
+
let o = !1;
|
|
7721
|
+
l(() => {
|
|
7722
|
+
o = !0;
|
|
7723
|
+
}), (0, d.loadDeckWebfontOutlines)({
|
|
7724
|
+
slides: (0, p.toValue)(e) ?? [],
|
|
7725
|
+
embeddedFonts: (0, p.toValue)(t) ?? [],
|
|
7726
|
+
googleFontsBase: (0, d.resolveGoogleFontsCss2Base)((0, p.toValue)(n)),
|
|
7727
|
+
cache: Lo,
|
|
7728
|
+
isCancelled: () => o
|
|
7729
|
+
}).then((e) => {
|
|
7730
|
+
e && !o && (Ro.value += 1);
|
|
7731
|
+
});
|
|
7732
|
+
});
|
|
7733
|
+
}
|
|
7734
|
+
function ii(e) {
|
|
7705
7735
|
const { headerFooter: t } = e, n = (0, p.ref)(!1);
|
|
7706
7736
|
return {
|
|
7707
7737
|
showHeaderFooter: n,
|
|
@@ -7710,7 +7740,7 @@ function ai(e) {
|
|
|
7710
7740
|
}
|
|
7711
7741
|
};
|
|
7712
7742
|
}
|
|
7713
|
-
function
|
|
7743
|
+
function si(e) {
|
|
7714
7744
|
const { canEdit: t, presenting: n, activeTool: l, activeSlide: o, selectedElementIds: a, ops: r } = e;
|
|
7715
7745
|
return {
|
|
7716
7746
|
drawingActive: (0, p.computed)(() => t() && !n.value && "select" !== l.value),
|
|
@@ -7731,7 +7761,7 @@ function ri(e) {
|
|
|
7731
7761
|
}
|
|
7732
7762
|
};
|
|
7733
7763
|
}
|
|
7734
|
-
function
|
|
7764
|
+
function ui(e) {
|
|
7735
7765
|
const { canEdit: t, findActiveElement: n, ops: l } = e;
|
|
7736
7766
|
function o(t, n) {
|
|
7737
7767
|
const l = e.proofing?.();
|
|
@@ -7815,10 +7845,10 @@ function ii(e) {
|
|
|
7815
7845
|
}
|
|
7816
7846
|
};
|
|
7817
7847
|
}
|
|
7818
|
-
function
|
|
7848
|
+
function ci(e) {
|
|
7819
7849
|
return "undefined" != typeof crypto && "function" == typeof crypto.randomUUID ? `${e}-${crypto.randomUUID()}` : `${e}-${Date.now().toString(36)}-${Math.random().toString(36).slice(2, 10)}`;
|
|
7820
7850
|
}
|
|
7821
|
-
function
|
|
7851
|
+
function di(e) {
|
|
7822
7852
|
const { ops: t, selectedElementIds: n, findActiveElement: l } = e, o = (0, p.ref)(!1), a = (0, p.ref)(!1), r = (0, p.ref)(null), i = (0, p.ref)(null);
|
|
7823
7853
|
function s(e) {
|
|
7824
7854
|
t.addElement(e), n.value = [e.id], o.value = !1, a.value = !1, r.value = null, i.value = null;
|
|
@@ -7833,13 +7863,13 @@ function ui(e) {
|
|
|
7833
7863
|
onInsertElement: s,
|
|
7834
7864
|
onInsertSmartArt: function(e, t) {
|
|
7835
7865
|
s({
|
|
7836
|
-
id:
|
|
7866
|
+
id: ci("smartart"),
|
|
7837
7867
|
type: "smartArt",
|
|
7838
7868
|
x: 100,
|
|
7839
7869
|
y: 120,
|
|
7840
7870
|
width: 600,
|
|
7841
7871
|
height: 340,
|
|
7842
|
-
smartArtData: (0, d.buildSmartArtPresetData)(e, t, (e) =>
|
|
7872
|
+
smartArtData: (0, d.buildSmartArtPresetData)(e, t, (e) => ci(`node-${e}`))
|
|
7843
7873
|
});
|
|
7844
7874
|
},
|
|
7845
7875
|
openEquationEditorForElement: function(e) {
|
|
@@ -7855,7 +7885,7 @@ function ui(e) {
|
|
|
7855
7885
|
closeEquationEditor: u
|
|
7856
7886
|
};
|
|
7857
7887
|
}
|
|
7858
|
-
function
|
|
7888
|
+
function pi(e) {
|
|
7859
7889
|
if (e <= 0 || "undefined" == typeof document) return;
|
|
7860
7890
|
const t = document.activeElement;
|
|
7861
7891
|
if (!function(e) {
|
|
@@ -7872,7 +7902,7 @@ function ci(e) {
|
|
|
7872
7902
|
behavior: "smooth"
|
|
7873
7903
|
});
|
|
7874
7904
|
}
|
|
7875
|
-
function
|
|
7905
|
+
function mi() {
|
|
7876
7906
|
const e = (0, p.ref)(0), t = (0, p.ref)(!1);
|
|
7877
7907
|
return (0, p.onMounted)(() => {
|
|
7878
7908
|
if ("undefined" == typeof window) return;
|
|
@@ -7880,11 +7910,11 @@ function di() {
|
|
|
7880
7910
|
if (!n) return;
|
|
7881
7911
|
const l = () => {
|
|
7882
7912
|
const n = (0, d.readViewportMetrics)(window), l = n ? (0, d.computeKeyboardInset)(n) : 0;
|
|
7883
|
-
e.value = l, t.value = (0, d.isKeyboardOpen)(l), l > 0 && window.requestAnimationFrame(() =>
|
|
7913
|
+
e.value = l, t.value = (0, d.isKeyboardOpen)(l), l > 0 && window.requestAnimationFrame(() => pi(l));
|
|
7884
7914
|
}, o = () => {
|
|
7885
7915
|
window.requestAnimationFrame(() => {
|
|
7886
7916
|
const e = (0, d.readViewportMetrics)(window), t = e ? (0, d.computeKeyboardInset)(e) : 0;
|
|
7887
|
-
t > 0 &&
|
|
7917
|
+
t > 0 && pi(t);
|
|
7888
7918
|
});
|
|
7889
7919
|
};
|
|
7890
7920
|
l(), n.addEventListener("resize", l), n.addEventListener("scroll", l), document.addEventListener("focusin", o), (0, p.onScopeDispose)(() => {
|
|
@@ -7895,7 +7925,7 @@ function di() {
|
|
|
7895
7925
|
isKeyboardOpen: (0, p.readonly)(t)
|
|
7896
7926
|
};
|
|
7897
7927
|
}
|
|
7898
|
-
async function
|
|
7928
|
+
async function vi(e) {
|
|
7899
7929
|
try {
|
|
7900
7930
|
const t = await f.default.loadAsync(e), n = new v.XMLParser({
|
|
7901
7931
|
ignoreAttributes: !1,
|
|
@@ -7915,126 +7945,136 @@ async function pi(e) {
|
|
|
7915
7945
|
return [];
|
|
7916
7946
|
}
|
|
7917
7947
|
}
|
|
7918
|
-
function
|
|
7948
|
+
function fi(e, t) {
|
|
7919
7949
|
const n = (0, p.shallowRef)([]), l = (0, p.shallowRef)({}), o = (0, p.ref)({
|
|
7920
7950
|
width: 1280,
|
|
7921
7951
|
height: 720
|
|
7922
|
-
}), a = (0, p.ref)(void 0), r = (0, p.shallowRef)(void 0), i = (0, p.shallowRef)(void 0), s = (0, p.shallowRef)([]), u = (0, p.shallowRef)([]), c = (0, p.shallowRef)(/* @__PURE__ */ new Map()), m = (0, p.ref)(!1), v = (0, p.
|
|
7923
|
-
let
|
|
7924
|
-
const
|
|
7952
|
+
}), a = (0, p.ref)(void 0), r = (0, p.shallowRef)(void 0), i = (0, p.shallowRef)(void 0), s = (0, p.shallowRef)([]), u = (0, p.shallowRef)([]), c = (0, p.shallowRef)(/* @__PURE__ */ new Map()), m = (0, p.ref)(!1), v = (0, p.shallowRef)(null), f = (0, p.ref)(null), h = (0, p.ref)(!1), y = (0, p.shallowRef)(null), g = (0, p.shallowRef)(void 0), x = (0, p.shallowRef)([]), S = (0, p.shallowRef)(void 0), b = (0, p.shallowRef)([]), w = (0, p.shallowRef)(void 0), E = (0, p.shallowRef)([]), B = (0, p.shallowRef)([]), C = (0, p.shallowRef)([]), I = (0, p.shallowRef)(void 0), P = (0, p.shallowRef)(void 0), T = (0, p.shallowRef)([]), D = (0, p.shallowRef)([]), z = (0, p.shallowRef)([]), A = (0, p.shallowRef)([]), O = (0, p.shallowRef)([]), M = (0, p.shallowRef)({}), F = (0, p.shallowRef)(void 0), L = (0, p.shallowRef)(void 0), R = (0, p.shallowRef)(void 0), V = (0, p.shallowRef)(void 0), N = (0, p.shallowRef)(void 0), _ = (0, p.shallowRef)([]), j = (0, p.ref)(void 0);
|
|
7953
|
+
let U = 0, $ = [];
|
|
7954
|
+
const W = (e) => {
|
|
7925
7955
|
for (const t of e) t.startsWith("blob:") && URL.revokeObjectURL(t);
|
|
7926
|
-
},
|
|
7927
|
-
if (!
|
|
7956
|
+
}, H = async (e, r, i = null) => {
|
|
7957
|
+
if (!y.value) throw new Error("No presentation is loaded.");
|
|
7928
7958
|
const u = t?.getPendingInlineEdit?.(), c = {
|
|
7929
7959
|
slideMasters: s.value,
|
|
7930
|
-
notesMaster:
|
|
7931
|
-
handoutMaster:
|
|
7960
|
+
notesMaster: V.value,
|
|
7961
|
+
handoutMaster: N.value
|
|
7932
7962
|
}, p = u && "masterView" in u.target ? (0, d.overlayMasterViewInlineSnapshot)(c, u.target.masterView, u.snapshot, u.text) : null, m = (0, d.buildSaveSlides)([...(0, d.applyInlineTextDraft)(t?.getHeldDeck?.()?.slides ?? n.value, u ? null : i)], t?.getHeldDeck?.()?.templateElementsBySlideId ?? l.value).map((e) => u && "slideId" in u.target && e.id === u.target.slideId ? {
|
|
7933
7963
|
...e,
|
|
7934
7964
|
elements: [...(0, d.overlayInlineTextSnapshot)(e.elements, u.snapshot, u.text)]
|
|
7935
7965
|
} : e);
|
|
7936
|
-
return (0, d.saveDeckWithPassword)(
|
|
7937
|
-
coreProperties:
|
|
7938
|
-
customProperties:
|
|
7939
|
-
appProperties:
|
|
7940
|
-
sections:
|
|
7941
|
-
customShows:
|
|
7942
|
-
presentationProperties:
|
|
7943
|
-
headerFooter:
|
|
7966
|
+
return (0, d.saveDeckWithPassword)(y.value, m, (0, d.buildDeckSaveOptions)({
|
|
7967
|
+
coreProperties: g.value,
|
|
7968
|
+
customProperties: x.value,
|
|
7969
|
+
appProperties: w.value,
|
|
7970
|
+
sections: D.value,
|
|
7971
|
+
customShows: z.value,
|
|
7972
|
+
presentationProperties: M.value,
|
|
7973
|
+
headerFooter: L.value,
|
|
7944
7974
|
slideSize: (0, d.resolveSlideSizeSelection)({
|
|
7945
7975
|
current: a.value,
|
|
7946
7976
|
canvas: o.value
|
|
7947
7977
|
}).size,
|
|
7948
7978
|
slideMasters: p?.slideMasters ?? s.value,
|
|
7949
|
-
notesMaster: p?.notesMaster ??
|
|
7950
|
-
handoutMaster: p?.handoutMaster ??
|
|
7951
|
-
tagCollections:
|
|
7952
|
-
viewProperties:
|
|
7953
|
-
tableStyleMap:
|
|
7954
|
-
tableStylesDefaultId:
|
|
7955
|
-
tableStylesToDelete:
|
|
7979
|
+
notesMaster: p?.notesMaster ?? V.value,
|
|
7980
|
+
handoutMaster: p?.handoutMaster ?? N.value,
|
|
7981
|
+
tagCollections: E.value,
|
|
7982
|
+
viewProperties: F.value,
|
|
7983
|
+
tableStyleMap: I.value,
|
|
7984
|
+
tableStylesDefaultId: P.value,
|
|
7985
|
+
tableStylesToDelete: T.value,
|
|
7956
7986
|
outputFormat: e,
|
|
7957
7987
|
embedFonts: t?.getEmbedFonts?.() ?? !0
|
|
7958
7988
|
}), {
|
|
7959
7989
|
...t?.getSaveIntent?.(),
|
|
7960
7990
|
purpose: r
|
|
7961
7991
|
});
|
|
7962
|
-
},
|
|
7992
|
+
}, G = (e) => H(e, "user-file");
|
|
7963
7993
|
return (0, p.watch)(() => (0, p.toValue)(e), (e) => {
|
|
7964
7994
|
e && (async (e) => {
|
|
7965
|
-
const p = ++
|
|
7995
|
+
const p = ++U, H = new k.PptxHandler(), G = (0, d.createPresentationLoadResources)(H), K = G.blobUrls;
|
|
7966
7996
|
try {
|
|
7967
|
-
m.value = !0, v.value = null, f.value = !1;
|
|
7968
|
-
const k = e instanceof Uint8Array ? e.buffer.slice(e.byteOffset, e.byteOffset + e.byteLength) : e,
|
|
7969
|
-
|
|
7970
|
-
const
|
|
7997
|
+
m.value = !0, v.value = null, f.value = null, h.value = !1;
|
|
7998
|
+
const k = e instanceof Uint8Array ? e.buffer.slice(e.byteOffset, e.byteOffset + e.byteLength) : e, q = k.slice(0), Y = k instanceof ArrayBuffer ? k.byteLength / 1048576 : 0;
|
|
7999
|
+
Y > 50 && console.warn(`[pptx] Large file detected (${Y.toFixed(1)} MB). Loading may use significant memory.`);
|
|
8000
|
+
const X = y.value, Z = await H.load(k, {
|
|
7971
8001
|
allowExternalImages: t?.getAllowExternalImages?.(),
|
|
7972
8002
|
limits: t?.getLimits?.()
|
|
7973
8003
|
});
|
|
7974
|
-
if (p !==
|
|
7975
|
-
const
|
|
7976
|
-
for (const e of
|
|
7977
|
-
const
|
|
7978
|
-
await Promise.all(
|
|
7979
|
-
const t = await (0, d.resolveMediaElementSource)(e,
|
|
7980
|
-
!t.missing && t.mediaPath && t.url ? (
|
|
8004
|
+
if (p !== U) return;
|
|
8005
|
+
const J = [];
|
|
8006
|
+
for (const e of Z.slides) (0, d.collectMediaElements)(e.elements, J);
|
|
8007
|
+
const Q = /* @__PURE__ */ new Map();
|
|
8008
|
+
await Promise.all(J.map(async (e) => {
|
|
8009
|
+
const t = await (0, d.resolveMediaElementSource)(e, H);
|
|
8010
|
+
!t.missing && t.mediaPath && t.url ? (Q.set(t.mediaPath, t.url), t.isBlobUrl && K.push(t.url)) : e.mediaMissing = !0;
|
|
7981
8011
|
}));
|
|
7982
|
-
const
|
|
7983
|
-
await Promise.all(
|
|
8012
|
+
const ee = (0, d.collectAnimationSoundPaths)(Z.slides).filter((e) => !Q.has(e));
|
|
8013
|
+
await Promise.all(ee.map(async (e) => {
|
|
7984
8014
|
try {
|
|
7985
|
-
const t = await
|
|
8015
|
+
const t = await H.getMediaArrayBuffer(e);
|
|
7986
8016
|
if (t) {
|
|
7987
8017
|
const n = URL.createObjectURL(new Blob([t]));
|
|
7988
|
-
|
|
8018
|
+
K.push(n), Q.set(e, n);
|
|
7989
8019
|
}
|
|
7990
8020
|
} catch {}
|
|
7991
8021
|
}));
|
|
7992
|
-
const { paths:
|
|
7993
|
-
let
|
|
7994
|
-
if (
|
|
8022
|
+
const { paths: te, refs: ne } = (0, d.collectImagePaths)(Z.slides);
|
|
8023
|
+
let le = Z.slides;
|
|
8024
|
+
if (te.size > 0) {
|
|
7995
8025
|
const e = /* @__PURE__ */ new Map();
|
|
7996
|
-
await Promise.all(Array.from(
|
|
8026
|
+
await Promise.all(Array.from(te).map(async (t) => {
|
|
7997
8027
|
try {
|
|
7998
|
-
const n = await
|
|
8028
|
+
const n = await H.getImageData(t);
|
|
7999
8029
|
n && e.set(t, n);
|
|
8000
8030
|
} catch {}
|
|
8001
|
-
})),
|
|
8002
|
-
const n = (0, d.applyImagePathPatches)(t.elements, e,
|
|
8031
|
+
})), le = Z.slides.map((t) => {
|
|
8032
|
+
const n = (0, d.applyImagePathPatches)(t.elements, e, ne);
|
|
8003
8033
|
return n === t.elements ? t : {
|
|
8004
8034
|
...t,
|
|
8005
8035
|
elements: n
|
|
8006
8036
|
};
|
|
8007
8037
|
});
|
|
8008
8038
|
}
|
|
8009
|
-
|
|
8010
|
-
const
|
|
8011
|
-
|
|
8012
|
-
const
|
|
8013
|
-
if (p !==
|
|
8014
|
-
const
|
|
8015
|
-
|
|
8016
|
-
|
|
8017
|
-
|
|
8018
|
-
|
|
8019
|
-
|
|
8020
|
-
|
|
8021
|
-
|
|
8022
|
-
|
|
8023
|
-
|
|
8024
|
-
|
|
8025
|
-
|
|
8039
|
+
le = await (0, d.resolveTableCellImageUrls)(le, (e) => H.getImageData(e));
|
|
8040
|
+
const oe = await (0, d.resolveTableStyleImageUrls)(Z.tableStyleMap, (e) => H.getImageData(e));
|
|
8041
|
+
le = await (0, d.resolveTextFillBlipUrls)(le, (e) => H.getImageData(e));
|
|
8042
|
+
const ae = Z.hasDigitalSignatures && q instanceof ArrayBuffer ? await vi(q) : [];
|
|
8043
|
+
if (p !== U) return;
|
|
8044
|
+
const re = (0, d.partitionTemplateElements)(le);
|
|
8045
|
+
if ("undefined" != typeof document && (await (0, d.prepareDeckWebfonts)({
|
|
8046
|
+
document,
|
|
8047
|
+
linkId: ai,
|
|
8048
|
+
slides: re.slides,
|
|
8049
|
+
embeddedFonts: Z.embeddedFonts ?? [],
|
|
8050
|
+
googleFontsBase: (0, d.resolveGoogleFontsCss2Base)(t?.getGoogleFonts?.()),
|
|
8051
|
+
onProgress: (e) => {
|
|
8052
|
+
p === U && (v.value = e);
|
|
8053
|
+
}
|
|
8054
|
+
}), p !== U)) return;
|
|
8055
|
+
X?.dispose(), W(Array.from(c.value.values())), W($), $ = K, G.commit(), y.value = H, n.value = re.slides, l.value = re.templateElementsBySlideId, c.value = Q, o.value = {
|
|
8056
|
+
width: Z.width ?? 1280,
|
|
8057
|
+
height: Z.height ?? 720
|
|
8058
|
+
}, a.value = "number" == typeof Z.widthEmu && "number" == typeof Z.heightEmu && Z.widthEmu > 0 && Z.heightEmu > 0 ? {
|
|
8059
|
+
widthEmu: Z.widthEmu,
|
|
8060
|
+
heightEmu: Z.heightEmu,
|
|
8061
|
+
type: Z.slideSizeType ?? ""
|
|
8062
|
+
} : void 0, r.value = Z.theme, i.value = Z.themeColorMap, s.value = Z.slideMasters ?? [], u.value = Z.layoutOptions ?? [], g.value = Z.coreProperties, x.value = Z.customProperties ?? [], S.value = Z.modifyVerifier, b.value = H.getCompatibilityWarnings(), w.value = Z.appProperties, E.value = Z.tags ?? [], B.value = Z.embeddedFonts ?? [], I.value = oe, P.value = Z.tableStylesDefaultId, T.value = [], D.value = Z.sections ?? [], z.value = Z.customShows ?? [], A.value = Z.modernCommentAuthors ?? [], O.value = Z.commentAuthors ?? [], M.value = Z.presentationProperties ?? {}, F.value = Z.viewProperties, L.value = Z.headerFooter, R.value = Z.firstSlideNumber, V.value = Z.notesMaster, N.value = Z.handoutMaster, _.value = Z.themeOptions ?? [], j.value = "number" == typeof Z.notesWidthEmu && "number" == typeof Z.notesHeightEmu && Z.notesWidthEmu > 0 && Z.notesHeightEmu > 0 ? {
|
|
8063
|
+
width: Math.round(Z.notesWidthEmu / 9525),
|
|
8064
|
+
height: Math.round(Z.notesHeightEmu / 9525)
|
|
8065
|
+
} : void 0, C.value = ae, t?.onContentApplied?.();
|
|
8026
8066
|
} catch (e) {
|
|
8027
|
-
if (p ===
|
|
8067
|
+
if (p === U) if (e instanceof k.EncryptedFileError) h.value = !0;
|
|
8028
8068
|
else {
|
|
8029
8069
|
const n = t?.translate;
|
|
8030
|
-
|
|
8070
|
+
f.value = n ? (0, d.pptxLoadErrorMessage)(e, n) : e instanceof Error ? e.message : String(e);
|
|
8031
8071
|
}
|
|
8032
8072
|
} finally {
|
|
8033
|
-
|
|
8073
|
+
G.releaseIfUncommitted(), p === U && (v.value = null, m.value = !1);
|
|
8034
8074
|
}
|
|
8035
8075
|
})(e);
|
|
8036
8076
|
}, { immediate: !0 }), (0, p.onScopeDispose)(() => {
|
|
8037
|
-
|
|
8077
|
+
U++, W($), W(Array.from(c.value.values())), y.value && (y.value.dispose(), y.value = null);
|
|
8038
8078
|
}), {
|
|
8039
8079
|
slides: n,
|
|
8040
8080
|
templateElementsBySlideId: l,
|
|
@@ -8046,38 +8086,39 @@ function mi(e, t) {
|
|
|
8046
8086
|
slideMasters: s,
|
|
8047
8087
|
mediaDataUrls: c,
|
|
8048
8088
|
loading: m,
|
|
8049
|
-
|
|
8050
|
-
|
|
8051
|
-
|
|
8052
|
-
|
|
8053
|
-
|
|
8054
|
-
|
|
8055
|
-
|
|
8056
|
-
|
|
8057
|
-
|
|
8058
|
-
|
|
8059
|
-
|
|
8060
|
-
|
|
8061
|
-
|
|
8062
|
-
|
|
8063
|
-
|
|
8064
|
-
|
|
8065
|
-
|
|
8066
|
-
|
|
8067
|
-
|
|
8068
|
-
|
|
8069
|
-
|
|
8070
|
-
|
|
8071
|
-
|
|
8072
|
-
|
|
8073
|
-
|
|
8074
|
-
|
|
8075
|
-
|
|
8076
|
-
|
|
8077
|
-
|
|
8089
|
+
fontProgress: v,
|
|
8090
|
+
error: f,
|
|
8091
|
+
isEncrypted: h,
|
|
8092
|
+
handler: y,
|
|
8093
|
+
coreProperties: g,
|
|
8094
|
+
customProperties: x,
|
|
8095
|
+
modifyVerifier: S,
|
|
8096
|
+
compatibilityWarnings: b,
|
|
8097
|
+
appProperties: w,
|
|
8098
|
+
tagCollections: E,
|
|
8099
|
+
embeddedFonts: B,
|
|
8100
|
+
signatures: C,
|
|
8101
|
+
tableStyleMap: I,
|
|
8102
|
+
tableStylesDefaultId: P,
|
|
8103
|
+
tableStylesToDelete: T,
|
|
8104
|
+
sections: D,
|
|
8105
|
+
customShows: z,
|
|
8106
|
+
modernCommentAuthors: A,
|
|
8107
|
+
commentAuthors: O,
|
|
8108
|
+
presentationProperties: M,
|
|
8109
|
+
viewProperties: F,
|
|
8110
|
+
headerFooter: L,
|
|
8111
|
+
firstSlideNumber: R,
|
|
8112
|
+
notesMaster: V,
|
|
8113
|
+
handoutMaster: N,
|
|
8114
|
+
themeOptions: _,
|
|
8115
|
+
notesCanvasSize: j,
|
|
8116
|
+
saveAs: G,
|
|
8117
|
+
getContent: () => G("pptx"),
|
|
8118
|
+
getRecoverySnapshot: (e) => H("pptx", "recovery-snapshot", e ?? null)
|
|
8078
8119
|
};
|
|
8079
8120
|
}
|
|
8080
|
-
function
|
|
8121
|
+
function hi() {
|
|
8081
8122
|
const e = (0, p.ref)(!1), t = (0, p.ref)("slides"), n = (0, p.ref)(0), l = (0, p.ref)(null);
|
|
8082
8123
|
return {
|
|
8083
8124
|
showMasterView: e,
|
|
@@ -8093,14 +8134,14 @@ function vi() {
|
|
|
8093
8134
|
}
|
|
8094
8135
|
};
|
|
8095
8136
|
}
|
|
8096
|
-
var
|
|
8137
|
+
var yi = {
|
|
8097
8138
|
slides: "slides",
|
|
8098
8139
|
insert: "insert",
|
|
8099
8140
|
format: "inspector",
|
|
8100
8141
|
comments: "comments",
|
|
8101
8142
|
notes: "notes"
|
|
8102
8143
|
};
|
|
8103
|
-
function
|
|
8144
|
+
function gi(e) {
|
|
8104
8145
|
const { presenting: t } = e, n = (0, p.ref)(!1), l = (0, p.ref)(!1), o = (0, p.ref)(!1), a = (0, p.ref)(!1), r = (0, p.ref)(!1);
|
|
8105
8146
|
function i(e) {
|
|
8106
8147
|
n.value = "slides" === e, l.value = "insert" === e, o.value = "format" === e, a.value = "comments" === e, r.value = "notes" === e;
|
|
@@ -8114,8 +8155,8 @@ function hi(e) {
|
|
|
8114
8155
|
mobileNotesOpen: r,
|
|
8115
8156
|
openMobileSheet: i,
|
|
8116
8157
|
toggleMobileSheet: function(e) {
|
|
8117
|
-
const t = s.value ?
|
|
8118
|
-
null === (0, d.toggleSheet)(t,
|
|
8158
|
+
const t = s.value ? yi[s.value] : null;
|
|
8159
|
+
null === (0, d.toggleSheet)(t, yi[e]) ? (n.value = !1, l.value = !1, o.value = !1, a.value = !1, r.value = !1) : i(e);
|
|
8119
8160
|
},
|
|
8120
8161
|
activeSheet: s,
|
|
8121
8162
|
present: function() {
|
|
@@ -8123,7 +8164,7 @@ function hi(e) {
|
|
|
8123
8164
|
}
|
|
8124
8165
|
};
|
|
8125
8166
|
}
|
|
8126
|
-
function
|
|
8167
|
+
function ki(e) {
|
|
8127
8168
|
const { selectedElementIds: t, ops: n, clearSelection: l } = e;
|
|
8128
8169
|
return {
|
|
8129
8170
|
deleteSelected: function() {
|
|
@@ -8146,7 +8187,7 @@ function yi(e) {
|
|
|
8146
8187
|
}
|
|
8147
8188
|
};
|
|
8148
8189
|
}
|
|
8149
|
-
function
|
|
8190
|
+
function xi() {
|
|
8150
8191
|
const e = (0, p.ref)(!1), t = (0, p.ref)(!1), n = (0, p.ref)(null);
|
|
8151
8192
|
return {
|
|
8152
8193
|
showPasswordDialog: e,
|
|
@@ -8160,7 +8201,7 @@ function gi() {
|
|
|
8160
8201
|
}
|
|
8161
8202
|
};
|
|
8162
8203
|
}
|
|
8163
|
-
function
|
|
8204
|
+
function Si(e) {
|
|
8164
8205
|
const { slides: t, activeSlideIndex: n, pushHistory: l } = e, o = (0, p.ref)("undefined" != typeof window && (0, d.isPresentationAudience)(window.location.hash));
|
|
8165
8206
|
return {
|
|
8166
8207
|
presenting: o,
|
|
@@ -8193,22 +8234,22 @@ function ki(e) {
|
|
|
8193
8234
|
}
|
|
8194
8235
|
};
|
|
8195
8236
|
}
|
|
8196
|
-
function
|
|
8237
|
+
function bi(e, t, n, l = {}) {
|
|
8197
8238
|
return k.SvgExporter.exportSlide(e, t, n, l);
|
|
8198
8239
|
}
|
|
8199
|
-
function
|
|
8200
|
-
return new Blob([
|
|
8240
|
+
function wi(e, t, n, l = {}) {
|
|
8241
|
+
return new Blob([bi(e, t, n, l)], { type: "image/svg+xml;charset=utf-8" });
|
|
8201
8242
|
}
|
|
8202
|
-
function
|
|
8243
|
+
function Ei(e, t = {}) {
|
|
8203
8244
|
return k.SvgExporter.exportAll(e, t);
|
|
8204
8245
|
}
|
|
8205
|
-
function
|
|
8206
|
-
return
|
|
8246
|
+
function Bi(e, t = {}) {
|
|
8247
|
+
return Ei(e, t).map((e) => new Blob([e], { type: "image/svg+xml;charset=utf-8" }));
|
|
8207
8248
|
}
|
|
8208
|
-
function
|
|
8249
|
+
function Ci(e) {
|
|
8209
8250
|
return (0, d.openPrintWindow)(e);
|
|
8210
8251
|
}
|
|
8211
|
-
function
|
|
8252
|
+
function Ii(e) {
|
|
8212
8253
|
const { slides: t, activeSlideIndex: n, rasterizeSlide: l } = e, o = e.openPrintWindow, a = e.slideSize ?? (0, p.ref)({
|
|
8213
8254
|
width: 960,
|
|
8214
8255
|
height: 540
|
|
@@ -8230,10 +8271,10 @@ function Bi(e) {
|
|
|
8230
8271
|
includeHiddenSlides: m.advanced.printHiddenSlides
|
|
8231
8272
|
});
|
|
8232
8273
|
if (!v.ok) return;
|
|
8233
|
-
const f = o ??
|
|
8274
|
+
const f = o ?? Ci;
|
|
8234
8275
|
if ("outline" !== v.output) {
|
|
8235
8276
|
if ("vector" === v.output) try {
|
|
8236
|
-
const e = a.value, t = v.slideIndices.map((t) =>
|
|
8277
|
+
const e = a.value, t = v.slideIndices.map((t) => bi(p[t], e.width, e.height));
|
|
8237
8278
|
f((0, d.buildVectorPrintJobDocument)(v, u(v), t, e));
|
|
8238
8279
|
return;
|
|
8239
8280
|
} catch (e) {
|
|
@@ -8261,7 +8302,7 @@ function Bi(e) {
|
|
|
8261
8302
|
}
|
|
8262
8303
|
};
|
|
8263
8304
|
}
|
|
8264
|
-
var
|
|
8305
|
+
var Pi = {
|
|
8265
8306
|
left: "left",
|
|
8266
8307
|
center: "centerH",
|
|
8267
8308
|
right: "right",
|
|
@@ -8269,10 +8310,10 @@ var Ci = {
|
|
|
8269
8310
|
middle: "middle",
|
|
8270
8311
|
bottom: "bottom"
|
|
8271
8312
|
};
|
|
8272
|
-
function
|
|
8313
|
+
function Ti(e) {
|
|
8273
8314
|
return "ellipse" === e || "roundRect" === e || "triangle" === e ? e : "rect";
|
|
8274
8315
|
}
|
|
8275
|
-
function
|
|
8316
|
+
function Di(e) {
|
|
8276
8317
|
const { canEdit: t, presenting: n, showMasterView: l, tableSelection: o, selectedElements: a, selectedElementIds: r, activeSlide: i, activeSlideIndex: s, slides: u, pushHistory: c, ops: m } = e;
|
|
8277
8318
|
return {
|
|
8278
8319
|
ribbonMode: (0, p.computed)(() => n.value ? "present" : l.value ? "master" : t() ? "edit" : "preview"),
|
|
@@ -8382,7 +8423,7 @@ function Pi(e) {
|
|
|
8382
8423
|
}
|
|
8383
8424
|
};
|
|
8384
8425
|
}
|
|
8385
|
-
function
|
|
8426
|
+
function zi(e) {
|
|
8386
8427
|
return {
|
|
8387
8428
|
toolbarSection: (0, p.ref)("home"),
|
|
8388
8429
|
newShapeType: (0, p.ref)("rect"),
|
|
@@ -8403,7 +8444,7 @@ function Ti(e) {
|
|
|
8403
8444
|
eyedropperActive: (0, p.ref)(!1)
|
|
8404
8445
|
};
|
|
8405
8446
|
}
|
|
8406
|
-
function
|
|
8447
|
+
function Ai(e) {
|
|
8407
8448
|
const { sections: t, slides: n, activeSlideIndex: l, pushHistory: o } = e;
|
|
8408
8449
|
return {
|
|
8409
8450
|
addSection: (e, l) => {
|
|
@@ -8445,7 +8486,7 @@ function Di(e) {
|
|
|
8445
8486
|
slidesBySection: (0, p.computed)(() => (0, d.groupSlidesBySection)(t.value, n.value))
|
|
8446
8487
|
};
|
|
8447
8488
|
}
|
|
8448
|
-
function
|
|
8489
|
+
function Oi(e) {
|
|
8449
8490
|
const { findActiveElement: t, activeSlide: n, selectedElementIds: l, ops: o } = e;
|
|
8450
8491
|
return {
|
|
8451
8492
|
showSelectionPane: (0, p.ref)(!1),
|
|
@@ -8465,7 +8506,7 @@ function zi(e) {
|
|
|
8465
8506
|
}
|
|
8466
8507
|
};
|
|
8467
8508
|
}
|
|
8468
|
-
function
|
|
8509
|
+
function Mi(e) {
|
|
8469
8510
|
const { signatures: t, isDirty: n } = e, l = (0, p.ref)(!1), o = cr(t), a = (0, p.computed)(() => t.value.length > 0), r = (0, p.ref)(!1), i = (0, p.ref)(!1);
|
|
8470
8511
|
return (0, p.watch)(() => n.value, (e) => {
|
|
8471
8512
|
e && a.value && !i.value && (r.value = !0);
|
|
@@ -8479,7 +8520,7 @@ function Ai(e) {
|
|
|
8479
8520
|
}
|
|
8480
8521
|
};
|
|
8481
8522
|
}
|
|
8482
|
-
function
|
|
8523
|
+
function Fi(e) {
|
|
8483
8524
|
const { slides: t, activeSlideIndex: n, activeSlide: l, pushHistory: o, selectedElements: a } = e;
|
|
8484
8525
|
function r(e) {
|
|
8485
8526
|
const l = n.value, a = t.value[l];
|
|
@@ -8559,7 +8600,7 @@ function Oi(e) {
|
|
|
8559
8600
|
}
|
|
8560
8601
|
};
|
|
8561
8602
|
}
|
|
8562
|
-
function
|
|
8603
|
+
function Li(e) {
|
|
8563
8604
|
const { slides: t, activeSlideIndex: n, pushHistory: l } = e;
|
|
8564
8605
|
return {
|
|
8565
8606
|
addSlide: (e = n.value) => {
|
|
@@ -8594,7 +8635,7 @@ function Mi(e) {
|
|
|
8594
8635
|
}
|
|
8595
8636
|
};
|
|
8596
8637
|
}
|
|
8597
|
-
function
|
|
8638
|
+
function Ri(e) {
|
|
8598
8639
|
const { presentationProperties: t } = e, n = (0, p.ref)(!1), l = (0, p.ref)(!1);
|
|
8599
8640
|
return (0, p.watch)(() => t.value.showSubtitles, (e) => {
|
|
8600
8641
|
l.value = Boolean(e);
|
|
@@ -8618,7 +8659,7 @@ function Fi(e) {
|
|
|
8618
8659
|
}
|
|
8619
8660
|
};
|
|
8620
8661
|
}
|
|
8621
|
-
function
|
|
8662
|
+
function Vi(e) {
|
|
8622
8663
|
const { canvasSize: t, slides: n, activeSlideIndex: l, pushHistory: o, theme: a } = e;
|
|
8623
8664
|
return { insertSlideFromTemplate: function(e) {
|
|
8624
8665
|
const r = Math.max(0, Math.min(l.value + 1, n.value.length));
|
|
@@ -8631,7 +8672,7 @@ function Li(e) {
|
|
|
8631
8672
|
s.splice(r, 0, i), n.value = s, l.value = r;
|
|
8632
8673
|
} };
|
|
8633
8674
|
}
|
|
8634
|
-
function
|
|
8675
|
+
function Ni(e) {
|
|
8635
8676
|
const { canEdit: t, findActiveElement: n, updateElement: l, canEditInline: o } = e;
|
|
8636
8677
|
function a(e, t) {
|
|
8637
8678
|
return (0, d.rebuildDrawingShapesIfCleared)(t, t.layout, (0, d.resolvePalette)(t), t.style ?? "flat", e.id, {
|
|
@@ -8658,7 +8699,7 @@ function Ri(e) {
|
|
|
8658
8699
|
}
|
|
8659
8700
|
});
|
|
8660
8701
|
}
|
|
8661
|
-
function
|
|
8702
|
+
function _i(e) {
|
|
8662
8703
|
const { canEdit: t, canEditInline: n, findActiveElement: l, updateElement: o, commitTableCell: a } = e;
|
|
8663
8704
|
(0, p.provide)(mo, {
|
|
8664
8705
|
canEdit: n,
|
|
@@ -8691,7 +8732,7 @@ function Vi(e) {
|
|
|
8691
8732
|
}
|
|
8692
8733
|
}), { tableSelection: r };
|
|
8693
8734
|
}
|
|
8694
|
-
function
|
|
8735
|
+
function ji(e) {
|
|
8695
8736
|
const t = (0, p.ref)(!1), { slides: n, pptxTheme: l, themeColorMap: o, pushHistory: a, themeGalleryOpen: r, themeEditorOpen: i, templateElementsBySlideId: s } = e;
|
|
8696
8737
|
function u(e, t, r) {
|
|
8697
8738
|
a();
|
|
@@ -8734,21 +8775,21 @@ function Ni(e) {
|
|
|
8734
8775
|
themeEditorBusy: t
|
|
8735
8776
|
};
|
|
8736
8777
|
}
|
|
8737
|
-
var
|
|
8738
|
-
function
|
|
8739
|
-
return `ver-${e}-${
|
|
8778
|
+
var Ui = 0;
|
|
8779
|
+
function $i(e) {
|
|
8780
|
+
return `ver-${e}-${Ui += 1}-${Math.random().toString(36).slice(2, 6)}`;
|
|
8740
8781
|
}
|
|
8741
|
-
function
|
|
8782
|
+
function Wi(e) {
|
|
8742
8783
|
return e.map(k.cloneSlide);
|
|
8743
8784
|
}
|
|
8744
|
-
function
|
|
8785
|
+
function Hi(e) {
|
|
8745
8786
|
const { slides: t, pushHistory: n } = e, l = Math.max(1, e.maxVersions ?? 50), o = (0, p.shallowRef)([]);
|
|
8746
8787
|
return {
|
|
8747
8788
|
versions: o,
|
|
8748
8789
|
hasVersions: (0, p.computed)(() => o.value.length > 0),
|
|
8749
8790
|
capture: (e, n) => {
|
|
8750
|
-
const a =
|
|
8751
|
-
id:
|
|
8791
|
+
const a = Wi(t.value), r = {
|
|
8792
|
+
id: $i(n),
|
|
8752
8793
|
label: e,
|
|
8753
8794
|
timestamp: n,
|
|
8754
8795
|
slideCount: a.length,
|
|
@@ -8759,7 +8800,7 @@ function $i(e) {
|
|
|
8759
8800
|
},
|
|
8760
8801
|
restore: (e) => {
|
|
8761
8802
|
const l = o.value.find((t) => t.id === e);
|
|
8762
|
-
return !!l && (n(), t.value =
|
|
8803
|
+
return !!l && (n(), t.value = Wi(l.slides), !0);
|
|
8763
8804
|
},
|
|
8764
8805
|
remove: (e) => {
|
|
8765
8806
|
const t = o.value.filter((t) => t.id !== e);
|
|
@@ -8770,8 +8811,8 @@ function $i(e) {
|
|
|
8770
8811
|
}
|
|
8771
8812
|
};
|
|
8772
8813
|
}
|
|
8773
|
-
function
|
|
8774
|
-
const { slides: t, pushHistory: n } = e, l =
|
|
8814
|
+
function Gi(e) {
|
|
8815
|
+
const { slides: t, pushHistory: n } = e, l = Hi({
|
|
8775
8816
|
slides: t,
|
|
8776
8817
|
pushHistory: n
|
|
8777
8818
|
}), o = (0, p.ref)(!1), a = (0, p.ref)(null), r = (0, p.ref)(null), i = (0, p.ref)(null), s = (0, p.computed)(() => null !== a.value);
|
|
@@ -8803,7 +8844,7 @@ function Wi(e) {
|
|
|
8803
8844
|
}
|
|
8804
8845
|
};
|
|
8805
8846
|
}
|
|
8806
|
-
function
|
|
8847
|
+
function Ki(e) {
|
|
8807
8848
|
return {
|
|
8808
8849
|
onSetMode: (t) => {
|
|
8809
8850
|
"present" === t ? e.startPresenting() : e.presenting.value = !1;
|
|
@@ -8838,7 +8879,7 @@ function Hi(e) {
|
|
|
8838
8879
|
e.newShapeType.value = t;
|
|
8839
8880
|
},
|
|
8840
8881
|
onAddTextBox: e.addText,
|
|
8841
|
-
onAddShape: () => e.addShape(
|
|
8882
|
+
onAddShape: () => e.addShape(Ti(e.newShapeType.value)),
|
|
8842
8883
|
onAddTable: e.addTable,
|
|
8843
8884
|
onAddChart: e.addChart,
|
|
8844
8885
|
onAddSmartArt: () => {
|
|
@@ -8886,7 +8927,7 @@ function Hi(e) {
|
|
|
8886
8927
|
},
|
|
8887
8928
|
onAddGuide: e.addGuide,
|
|
8888
8929
|
onAlignElements: (t) => {
|
|
8889
|
-
const n =
|
|
8930
|
+
const n = Pi[t];
|
|
8890
8931
|
n && e.onAlign(n);
|
|
8891
8932
|
},
|
|
8892
8933
|
onDistributeElements: (t) => {
|
|
@@ -9048,7 +9089,7 @@ function Hi(e) {
|
|
|
9048
9089
|
onPresentationPropertiesChange: e.onPresentationPropertiesUpdate
|
|
9049
9090
|
};
|
|
9050
9091
|
}
|
|
9051
|
-
function
|
|
9092
|
+
function qi(e) {
|
|
9052
9093
|
return {
|
|
9053
9094
|
mode: e.ribbonMode.value,
|
|
9054
9095
|
canEdit: e.canEdit(),
|
|
@@ -9110,13 +9151,13 @@ function Gi(e) {
|
|
|
9110
9151
|
collaboratorCount: e.collab.connectedCount.value
|
|
9111
9152
|
};
|
|
9112
9153
|
}
|
|
9113
|
-
function
|
|
9154
|
+
function Yi(e) {
|
|
9114
9155
|
return (0, p.computed)(() => ({
|
|
9115
|
-
...
|
|
9116
|
-
...
|
|
9156
|
+
...qi(e),
|
|
9157
|
+
...Ki(e)
|
|
9117
9158
|
}));
|
|
9118
9159
|
}
|
|
9119
|
-
function
|
|
9160
|
+
function Xi(e) {
|
|
9120
9161
|
const t = (0, p.ref)(!1), n = (0, p.ref)({
|
|
9121
9162
|
...d.DEFAULT_VIEWER_SETTINGS,
|
|
9122
9163
|
autoSave: e.autoSave.value,
|
|
@@ -9289,7 +9330,7 @@ Object.defineProperty(exports, "ChartRenderer_default", {
|
|
|
9289
9330
|
}), Object.defineProperty(exports, "RIBBON_ALIGN", {
|
|
9290
9331
|
enumerable: !0,
|
|
9291
9332
|
get: function() {
|
|
9292
|
-
return
|
|
9333
|
+
return Pi;
|
|
9293
9334
|
}
|
|
9294
9335
|
}), Object.defineProperty(exports, "Rendering3DFlagsKey", {
|
|
9295
9336
|
enumerable: !0,
|
|
@@ -9424,22 +9465,22 @@ Object.defineProperty(exports, "ChartRenderer_default", {
|
|
|
9424
9465
|
}), Object.defineProperty(exports, "exportAllSlidesToSvg", {
|
|
9425
9466
|
enumerable: !0,
|
|
9426
9467
|
get: function() {
|
|
9427
|
-
return
|
|
9468
|
+
return Ei;
|
|
9428
9469
|
}
|
|
9429
9470
|
}), Object.defineProperty(exports, "exportAllSlidesToSvgBlobs", {
|
|
9430
9471
|
enumerable: !0,
|
|
9431
9472
|
get: function() {
|
|
9432
|
-
return
|
|
9473
|
+
return Bi;
|
|
9433
9474
|
}
|
|
9434
9475
|
}), Object.defineProperty(exports, "exportSlideToSvg", {
|
|
9435
9476
|
enumerable: !0,
|
|
9436
9477
|
get: function() {
|
|
9437
|
-
return
|
|
9478
|
+
return bi;
|
|
9438
9479
|
}
|
|
9439
9480
|
}), Object.defineProperty(exports, "exportSlideToSvgBlob", {
|
|
9440
9481
|
enumerable: !0,
|
|
9441
9482
|
get: function() {
|
|
9442
|
-
return
|
|
9483
|
+
return wi;
|
|
9443
9484
|
}
|
|
9444
9485
|
}), Object.defineProperty(exports, "formatRehearseMs", {
|
|
9445
9486
|
enumerable: !0,
|
|
@@ -9466,16 +9507,6 @@ Object.defineProperty(exports, "ChartRenderer_default", {
|
|
|
9466
9507
|
get: function() {
|
|
9467
9508
|
return z;
|
|
9468
9509
|
}
|
|
9469
|
-
}), Object.defineProperty(exports, "glyphOutlineFontCache", {
|
|
9470
|
-
enumerable: !0,
|
|
9471
|
-
get: function() {
|
|
9472
|
-
return Lo;
|
|
9473
|
-
}
|
|
9474
|
-
}), Object.defineProperty(exports, "glyphOutlineFontsTick", {
|
|
9475
|
-
enumerable: !0,
|
|
9476
|
-
get: function() {
|
|
9477
|
-
return Ro;
|
|
9478
|
-
}
|
|
9479
9510
|
}), Object.defineProperty(exports, "injectChartCanvasEdit", {
|
|
9480
9511
|
enumerable: !0,
|
|
9481
9512
|
get: function() {
|
|
@@ -9504,7 +9535,7 @@ Object.defineProperty(exports, "ChartRenderer_default", {
|
|
|
9504
9535
|
}), Object.defineProperty(exports, "parseSignaturesFromBuffer", {
|
|
9505
9536
|
enumerable: !0,
|
|
9506
9537
|
get: function() {
|
|
9507
|
-
return
|
|
9538
|
+
return vi;
|
|
9508
9539
|
}
|
|
9509
9540
|
}), Object.defineProperty(exports, "playAnimationSound", {
|
|
9510
9541
|
enumerable: !0,
|
|
@@ -9564,7 +9595,7 @@ Object.defineProperty(exports, "ChartRenderer_default", {
|
|
|
9564
9595
|
}), Object.defineProperty(exports, "toShapePreset", {
|
|
9565
9596
|
enumerable: !0,
|
|
9566
9597
|
get: function() {
|
|
9567
|
-
return
|
|
9598
|
+
return Ti;
|
|
9568
9599
|
}
|
|
9569
9600
|
}), Object.defineProperty(exports, "toZoomTargetInfo", {
|
|
9570
9601
|
enumerable: !0,
|
|
@@ -9721,20 +9752,25 @@ Object.defineProperty(exports, "ChartRenderer_default", {
|
|
|
9721
9752
|
get: function() {
|
|
9722
9753
|
return oi;
|
|
9723
9754
|
}
|
|
9755
|
+
}), Object.defineProperty(exports, "useGoogleWebfonts", {
|
|
9756
|
+
enumerable: !0,
|
|
9757
|
+
get: function() {
|
|
9758
|
+
return ri;
|
|
9759
|
+
}
|
|
9724
9760
|
}), Object.defineProperty(exports, "useHeaderFooterDialog", {
|
|
9725
9761
|
enumerable: !0,
|
|
9726
9762
|
get: function() {
|
|
9727
|
-
return
|
|
9763
|
+
return ii;
|
|
9728
9764
|
}
|
|
9729
9765
|
}), Object.defineProperty(exports, "useInkDrawing", {
|
|
9730
9766
|
enumerable: !0,
|
|
9731
9767
|
get: function() {
|
|
9732
|
-
return
|
|
9768
|
+
return si;
|
|
9733
9769
|
}
|
|
9734
9770
|
}), Object.defineProperty(exports, "useInlineEditing", {
|
|
9735
9771
|
enumerable: !0,
|
|
9736
9772
|
get: function() {
|
|
9737
|
-
return
|
|
9773
|
+
return ui;
|
|
9738
9774
|
}
|
|
9739
9775
|
}), Object.defineProperty(exports, "useInlineListSession", {
|
|
9740
9776
|
enumerable: !0,
|
|
@@ -9744,7 +9780,7 @@ Object.defineProperty(exports, "ChartRenderer_default", {
|
|
|
9744
9780
|
}), Object.defineProperty(exports, "useInsertElementDialogs", {
|
|
9745
9781
|
enumerable: !0,
|
|
9746
9782
|
get: function() {
|
|
9747
|
-
return
|
|
9783
|
+
return di;
|
|
9748
9784
|
}
|
|
9749
9785
|
}), Object.defineProperty(exports, "useIsMobile", {
|
|
9750
9786
|
enumerable: !0,
|
|
@@ -9754,7 +9790,7 @@ Object.defineProperty(exports, "ChartRenderer_default", {
|
|
|
9754
9790
|
}), Object.defineProperty(exports, "useKeyboardInsets", {
|
|
9755
9791
|
enumerable: !0,
|
|
9756
9792
|
get: function() {
|
|
9757
|
-
return
|
|
9793
|
+
return mi;
|
|
9758
9794
|
}
|
|
9759
9795
|
}), Object.defineProperty(exports, "useKeyboardShortcuts", {
|
|
9760
9796
|
enumerable: !0,
|
|
@@ -9764,12 +9800,12 @@ Object.defineProperty(exports, "ChartRenderer_default", {
|
|
|
9764
9800
|
}), Object.defineProperty(exports, "useLoadContent", {
|
|
9765
9801
|
enumerable: !0,
|
|
9766
9802
|
get: function() {
|
|
9767
|
-
return
|
|
9803
|
+
return fi;
|
|
9768
9804
|
}
|
|
9769
9805
|
}), Object.defineProperty(exports, "useMasterViewState", {
|
|
9770
9806
|
enumerable: !0,
|
|
9771
9807
|
get: function() {
|
|
9772
|
-
return
|
|
9808
|
+
return hi;
|
|
9773
9809
|
}
|
|
9774
9810
|
}), Object.defineProperty(exports, "useMediaExport", {
|
|
9775
9811
|
enumerable: !0,
|
|
@@ -9779,7 +9815,7 @@ Object.defineProperty(exports, "ChartRenderer_default", {
|
|
|
9779
9815
|
}), Object.defineProperty(exports, "useMobileChrome", {
|
|
9780
9816
|
enumerable: !0,
|
|
9781
9817
|
get: function() {
|
|
9782
|
-
return
|
|
9818
|
+
return gi;
|
|
9783
9819
|
}
|
|
9784
9820
|
}), Object.defineProperty(exports, "useModel3dScene", {
|
|
9785
9821
|
enumerable: !0,
|
|
@@ -9794,12 +9830,12 @@ Object.defineProperty(exports, "ChartRenderer_default", {
|
|
|
9794
9830
|
}), Object.defineProperty(exports, "useMultiSelectOps", {
|
|
9795
9831
|
enumerable: !0,
|
|
9796
9832
|
get: function() {
|
|
9797
|
-
return
|
|
9833
|
+
return ki;
|
|
9798
9834
|
}
|
|
9799
9835
|
}), Object.defineProperty(exports, "usePasswordProtection", {
|
|
9800
9836
|
enumerable: !0,
|
|
9801
9837
|
get: function() {
|
|
9802
|
-
return
|
|
9838
|
+
return xi;
|
|
9803
9839
|
}
|
|
9804
9840
|
}), Object.defineProperty(exports, "usePresentationAnnotations", {
|
|
9805
9841
|
enumerable: !0,
|
|
@@ -9809,12 +9845,12 @@ Object.defineProperty(exports, "ChartRenderer_default", {
|
|
|
9809
9845
|
}), Object.defineProperty(exports, "usePresentationModeWiring", {
|
|
9810
9846
|
enumerable: !0,
|
|
9811
9847
|
get: function() {
|
|
9812
|
-
return
|
|
9848
|
+
return Si;
|
|
9813
9849
|
}
|
|
9814
9850
|
}), Object.defineProperty(exports, "usePrint", {
|
|
9815
9851
|
enumerable: !0,
|
|
9816
9852
|
get: function() {
|
|
9817
|
-
return
|
|
9853
|
+
return Ii;
|
|
9818
9854
|
}
|
|
9819
9855
|
}), Object.defineProperty(exports, "useRehearseTimings", {
|
|
9820
9856
|
enumerable: !0,
|
|
@@ -9829,22 +9865,22 @@ Object.defineProperty(exports, "ChartRenderer_default", {
|
|
|
9829
9865
|
}), Object.defineProperty(exports, "useRibbonActions", {
|
|
9830
9866
|
enumerable: !0,
|
|
9831
9867
|
get: function() {
|
|
9832
|
-
return
|
|
9868
|
+
return Di;
|
|
9833
9869
|
}
|
|
9834
9870
|
}), Object.defineProperty(exports, "useRibbonProps", {
|
|
9835
9871
|
enumerable: !0,
|
|
9836
9872
|
get: function() {
|
|
9837
|
-
return
|
|
9873
|
+
return Yi;
|
|
9838
9874
|
}
|
|
9839
9875
|
}), Object.defineProperty(exports, "useRibbonUiState", {
|
|
9840
9876
|
enumerable: !0,
|
|
9841
9877
|
get: function() {
|
|
9842
|
-
return
|
|
9878
|
+
return zi;
|
|
9843
9879
|
}
|
|
9844
9880
|
}), Object.defineProperty(exports, "useSectionOperations", {
|
|
9845
9881
|
enumerable: !0,
|
|
9846
9882
|
get: function() {
|
|
9847
|
-
return
|
|
9883
|
+
return Ai;
|
|
9848
9884
|
}
|
|
9849
9885
|
}), Object.defineProperty(exports, "useSelectionAffordances", {
|
|
9850
9886
|
enumerable: !0,
|
|
@@ -9854,7 +9890,7 @@ Object.defineProperty(exports, "ChartRenderer_default", {
|
|
|
9854
9890
|
}), Object.defineProperty(exports, "useSelectionPaneWiring", {
|
|
9855
9891
|
enumerable: !0,
|
|
9856
9892
|
get: function() {
|
|
9857
|
-
return
|
|
9893
|
+
return Oi;
|
|
9858
9894
|
}
|
|
9859
9895
|
}), Object.defineProperty(exports, "useSheetDismissDrag", {
|
|
9860
9896
|
enumerable: !0,
|
|
@@ -9864,7 +9900,7 @@ Object.defineProperty(exports, "ChartRenderer_default", {
|
|
|
9864
9900
|
}), Object.defineProperty(exports, "useSignatureWorkflow", {
|
|
9865
9901
|
enumerable: !0,
|
|
9866
9902
|
get: function() {
|
|
9867
|
-
return
|
|
9903
|
+
return Mi;
|
|
9868
9904
|
}
|
|
9869
9905
|
}), Object.defineProperty(exports, "useSignatures", {
|
|
9870
9906
|
enumerable: !0,
|
|
@@ -9874,22 +9910,22 @@ Object.defineProperty(exports, "ChartRenderer_default", {
|
|
|
9874
9910
|
}), Object.defineProperty(exports, "useSlideMutations", {
|
|
9875
9911
|
enumerable: !0,
|
|
9876
9912
|
get: function() {
|
|
9877
|
-
return
|
|
9913
|
+
return Fi;
|
|
9878
9914
|
}
|
|
9879
9915
|
}), Object.defineProperty(exports, "useSlideOperations", {
|
|
9880
9916
|
enumerable: !0,
|
|
9881
9917
|
get: function() {
|
|
9882
|
-
return
|
|
9918
|
+
return Li;
|
|
9883
9919
|
}
|
|
9884
9920
|
}), Object.defineProperty(exports, "useSlideShowSettings", {
|
|
9885
9921
|
enumerable: !0,
|
|
9886
9922
|
get: function() {
|
|
9887
|
-
return
|
|
9923
|
+
return Ri;
|
|
9888
9924
|
}
|
|
9889
9925
|
}), Object.defineProperty(exports, "useSlideTemplateInsertion", {
|
|
9890
9926
|
enumerable: !0,
|
|
9891
9927
|
get: function() {
|
|
9892
|
-
return
|
|
9928
|
+
return Vi;
|
|
9893
9929
|
}
|
|
9894
9930
|
}), Object.defineProperty(exports, "useSmartArtEditing", {
|
|
9895
9931
|
enumerable: !0,
|
|
@@ -9909,12 +9945,12 @@ Object.defineProperty(exports, "ChartRenderer_default", {
|
|
|
9909
9945
|
}), Object.defineProperty(exports, "useSmartArtNodeEditContext", {
|
|
9910
9946
|
enumerable: !0,
|
|
9911
9947
|
get: function() {
|
|
9912
|
-
return
|
|
9948
|
+
return Ni;
|
|
9913
9949
|
}
|
|
9914
9950
|
}), Object.defineProperty(exports, "useTableCellEditingContext", {
|
|
9915
9951
|
enumerable: !0,
|
|
9916
9952
|
get: function() {
|
|
9917
|
-
return
|
|
9953
|
+
return _i;
|
|
9918
9954
|
}
|
|
9919
9955
|
}), Object.defineProperty(exports, "useTableCellSelection", {
|
|
9920
9956
|
enumerable: !0,
|
|
@@ -9924,7 +9960,7 @@ Object.defineProperty(exports, "ChartRenderer_default", {
|
|
|
9924
9960
|
}), Object.defineProperty(exports, "useThemeEditing", {
|
|
9925
9961
|
enumerable: !0,
|
|
9926
9962
|
get: function() {
|
|
9927
|
-
return
|
|
9963
|
+
return ji;
|
|
9928
9964
|
}
|
|
9929
9965
|
}), Object.defineProperty(exports, "useToolbarAutoHide", {
|
|
9930
9966
|
enumerable: !0,
|
|
@@ -9944,12 +9980,12 @@ Object.defineProperty(exports, "ChartRenderer_default", {
|
|
|
9944
9980
|
}), Object.defineProperty(exports, "useVersionHistory", {
|
|
9945
9981
|
enumerable: !0,
|
|
9946
9982
|
get: function() {
|
|
9947
|
-
return
|
|
9983
|
+
return Hi;
|
|
9948
9984
|
}
|
|
9949
9985
|
}), Object.defineProperty(exports, "useVersionHistoryWiring", {
|
|
9950
9986
|
enumerable: !0,
|
|
9951
9987
|
get: function() {
|
|
9952
|
-
return
|
|
9988
|
+
return Gi;
|
|
9953
9989
|
}
|
|
9954
9990
|
}), Object.defineProperty(exports, "useViewerOptionsStore", {
|
|
9955
9991
|
enumerable: !0,
|
|
@@ -9959,6 +9995,6 @@ Object.defineProperty(exports, "ChartRenderer_default", {
|
|
|
9959
9995
|
}), Object.defineProperty(exports, "useViewerSettingsDialog", {
|
|
9960
9996
|
enumerable: !0,
|
|
9961
9997
|
get: function() {
|
|
9962
|
-
return
|
|
9998
|
+
return Xi;
|
|
9963
9999
|
}
|
|
9964
10000
|
});
|