pptx-react-viewer 2.11.0 → 2.11.1
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 +2 -0
- package/dist/{AiChatPanel-PJPSDMN4.js → AiChatPanel-E6W3EACA.js} +23 -23
- package/dist/AiChatPanel-E6W3EACA.js.br +0 -0
- package/dist/AiChatPanel-E6W3EACA.js.gz +0 -0
- package/dist/{AiChatPanel-EX2TBRJM.mjs → AiChatPanel-RMQIJDUJ.mjs} +4 -4
- package/dist/AiChatPanel-RMQIJDUJ.mjs.br +0 -0
- package/dist/AiChatPanel-RMQIJDUJ.mjs.gz +0 -0
- package/dist/{Model3DScene-UCBPTEAY.js → Model3DScene-U4B4NZJT.js} +2 -2
- package/dist/Model3DScene-U4B4NZJT.js.br +0 -0
- package/dist/Model3DScene-U4B4NZJT.js.gz +0 -0
- package/dist/{Model3DScene-TTQFV7OS.mjs → Model3DScene-WHSHBMR5.mjs} +1 -1
- package/dist/Model3DScene-WHSHBMR5.mjs.br +0 -0
- package/dist/Model3DScene-WHSHBMR5.mjs.gz +0 -0
- package/dist/{SurfaceChart3DScene-ADKCYYOQ.js → SurfaceChart3DScene-5S43UBRD.js} +2 -2
- package/dist/SurfaceChart3DScene-5S43UBRD.js.br +0 -0
- package/dist/SurfaceChart3DScene-5S43UBRD.js.gz +0 -0
- package/dist/{SurfaceChart3DScene-5SZCRHZI.mjs → SurfaceChart3DScene-77JP5XH5.mjs} +1 -1
- package/dist/{SurfaceChart3DScene-5SZCRHZI.mjs.br → SurfaceChart3DScene-77JP5XH5.mjs.br} +0 -0
- package/dist/SurfaceChart3DScene-77JP5XH5.mjs.gz +0 -0
- package/dist/{chunk-RJEY2KZH.mjs → chunk-DD54KUDG.mjs} +3 -3
- package/dist/chunk-DD54KUDG.mjs.br +0 -0
- package/dist/chunk-DD54KUDG.mjs.gz +0 -0
- package/dist/{chunk-MM5RMRSP.js → chunk-FAP6OPLL.js} +250 -250
- package/dist/chunk-FAP6OPLL.js.br +0 -0
- package/dist/chunk-FAP6OPLL.js.gz +0 -0
- package/dist/{chunk-C2UWTH42.mjs → chunk-FV7HEYCX.mjs} +211 -3
- package/dist/chunk-FV7HEYCX.mjs.br +0 -0
- package/dist/{chunk-C2UWTH42.mjs.gz → chunk-FV7HEYCX.mjs.gz} +0 -0
- package/dist/{chunk-UZVRM6LD.mjs → chunk-HF6L2CTF.mjs} +1 -1
- package/dist/chunk-HF6L2CTF.mjs.br +0 -0
- package/dist/chunk-HF6L2CTF.mjs.gz +0 -0
- package/dist/{chunk-N6IHR6PS.js → chunk-IOVOQ6ZJ.js} +89 -1
- package/dist/chunk-IOVOQ6ZJ.js.br +0 -0
- package/dist/{chunk-N6IHR6PS.js.gz → chunk-IOVOQ6ZJ.js.gz} +0 -0
- package/dist/{chunk-E367QIKR.js → chunk-IXBM3HWH.js} +1109 -1070
- package/dist/chunk-IXBM3HWH.js.br +0 -0
- package/dist/chunk-IXBM3HWH.js.gz +0 -0
- package/dist/{chunk-HMQVOPQH.js → chunk-KDJBWJJH.js} +222 -2
- package/dist/chunk-KDJBWJJH.js.br +0 -0
- package/dist/{chunk-HMQVOPQH.js.gz → chunk-KDJBWJJH.js.gz} +0 -0
- package/dist/{chunk-HK2UERUX.mjs → chunk-NJ4PTG4F.mjs} +30 -28
- package/dist/chunk-NJ4PTG4F.mjs.br +0 -0
- package/dist/chunk-NJ4PTG4F.mjs.gz +0 -0
- package/dist/{chunk-L2CM5EUD.mjs → chunk-PXYZFWDA.mjs} +142 -103
- package/dist/chunk-PXYZFWDA.mjs.br +0 -0
- package/dist/chunk-PXYZFWDA.mjs.gz +0 -0
- package/dist/{chunk-4J7SPY64.js → chunk-QT6BPOZM.js} +352 -350
- package/dist/chunk-QT6BPOZM.js.br +0 -0
- package/dist/chunk-QT6BPOZM.js.gz +0 -0
- package/dist/{chunk-53NXKDMZ.mjs → chunk-RHR7GTDX.mjs} +89 -1
- package/dist/chunk-RHR7GTDX.mjs.br +0 -0
- package/dist/{chunk-53NXKDMZ.mjs.gz → chunk-RHR7GTDX.mjs.gz} +0 -0
- package/dist/{chunk-VNP627O5.js → chunk-X3SFCKAF.js} +3 -3
- package/dist/chunk-X3SFCKAF.js.br +0 -0
- package/dist/chunk-X3SFCKAF.js.gz +0 -0
- package/dist/i18n.js +4 -4
- package/dist/i18n.js.br +0 -0
- package/dist/i18n.js.gz +0 -0
- package/dist/i18n.mjs +1 -1
- package/dist/i18n.mjs.br +0 -0
- package/dist/i18n.mjs.gz +0 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.js +36 -36
- package/dist/index.js.br +0 -0
- package/dist/index.js.gz +0 -0
- package/dist/index.mjs +6 -6
- package/dist/index.mjs.br +0 -0
- package/dist/index.mjs.gz +0 -0
- package/dist/internals.d.ts +12 -1
- package/dist/internals.d.ts.map +1 -1
- package/dist/internals.js +79 -79
- package/dist/internals.js.br +0 -0
- package/dist/internals.js.gz +0 -0
- package/dist/internals.mjs +4 -4
- package/dist/internals.mjs.br +0 -0
- package/dist/internals.mjs.gz +0 -0
- package/dist/{useViewerBuildingBlocks-Rqxm0pRS.d.ts → useViewerBuildingBlocks-YvCYsxa3.d.ts} +5 -1
- package/dist/useViewerBuildingBlocks-YvCYsxa3.d.ts.map +1 -0
- package/dist/viewer/index.js +22 -22
- package/dist/viewer/index.js.br +0 -0
- package/dist/viewer/index.js.gz +0 -0
- package/dist/viewer/index.mjs +6 -6
- package/dist/viewer/index.mjs.br +0 -0
- package/dist/viewer/index.mjs.gz +0 -0
- package/package.json +1 -1
- package/dist/AiChatPanel-EX2TBRJM.mjs.br +0 -0
- package/dist/AiChatPanel-EX2TBRJM.mjs.gz +0 -0
- package/dist/AiChatPanel-PJPSDMN4.js.br +0 -0
- package/dist/AiChatPanel-PJPSDMN4.js.gz +0 -0
- package/dist/Model3DScene-TTQFV7OS.mjs.br +0 -0
- package/dist/Model3DScene-TTQFV7OS.mjs.gz +0 -0
- package/dist/Model3DScene-UCBPTEAY.js.br +0 -0
- package/dist/Model3DScene-UCBPTEAY.js.gz +0 -0
- package/dist/SurfaceChart3DScene-5SZCRHZI.mjs.gz +0 -0
- package/dist/SurfaceChart3DScene-ADKCYYOQ.js.br +0 -0
- package/dist/SurfaceChart3DScene-ADKCYYOQ.js.gz +0 -0
- package/dist/chunk-4J7SPY64.js.br +0 -0
- package/dist/chunk-4J7SPY64.js.gz +0 -0
- package/dist/chunk-53NXKDMZ.mjs.br +0 -0
- package/dist/chunk-C2UWTH42.mjs.br +0 -0
- package/dist/chunk-E367QIKR.js.br +0 -0
- package/dist/chunk-E367QIKR.js.gz +0 -0
- package/dist/chunk-HK2UERUX.mjs.br +0 -0
- package/dist/chunk-HK2UERUX.mjs.gz +0 -0
- package/dist/chunk-HMQVOPQH.js.br +0 -0
- package/dist/chunk-L2CM5EUD.mjs.br +0 -0
- package/dist/chunk-L2CM5EUD.mjs.gz +0 -0
- package/dist/chunk-MM5RMRSP.js.br +0 -0
- package/dist/chunk-MM5RMRSP.js.gz +0 -0
- package/dist/chunk-N6IHR6PS.js.br +0 -0
- package/dist/chunk-RJEY2KZH.mjs.br +0 -0
- package/dist/chunk-RJEY2KZH.mjs.gz +0 -0
- package/dist/chunk-UZVRM6LD.mjs.br +0 -0
- package/dist/chunk-UZVRM6LD.mjs.gz +0 -0
- package/dist/chunk-VNP627O5.js.br +0 -0
- package/dist/chunk-VNP627O5.js.gz +0 -0
- package/dist/useViewerBuildingBlocks-Rqxm0pRS.d.ts.map +0 -1
|
Binary file
|
|
Binary file
|
|
@@ -87154,6 +87154,97 @@ function resolveDataPointMarker(series, pointIndex) {
|
|
|
87154
87154
|
fill: point?.spPr?.fillColor ?? series.marker?.spPr?.fillColor
|
|
87155
87155
|
};
|
|
87156
87156
|
}
|
|
87157
|
+
function schemaLabel(keys, token2, translate) {
|
|
87158
|
+
if (token2 === void 0) {
|
|
87159
|
+
return "";
|
|
87160
|
+
}
|
|
87161
|
+
const key = keys[token2];
|
|
87162
|
+
return key === void 0 ? token2 : translate(key);
|
|
87163
|
+
}
|
|
87164
|
+
var THEME_COLOR_SLOT_LABEL_KEYS = {
|
|
87165
|
+
dk1: "pptx.themeColor.dark1",
|
|
87166
|
+
lt1: "pptx.themeColor.light1",
|
|
87167
|
+
dk2: "pptx.themeColor.dark2",
|
|
87168
|
+
lt2: "pptx.themeColor.light2",
|
|
87169
|
+
accent1: "pptx.themeColor.accent1",
|
|
87170
|
+
accent2: "pptx.themeColor.accent2",
|
|
87171
|
+
accent3: "pptx.themeColor.accent3",
|
|
87172
|
+
accent4: "pptx.themeColor.accent4",
|
|
87173
|
+
accent5: "pptx.themeColor.accent5",
|
|
87174
|
+
accent6: "pptx.themeColor.accent6",
|
|
87175
|
+
hlink: "pptx.themeColor.hyperlink",
|
|
87176
|
+
folHlink: "pptx.themeColor.followedHyperlink"
|
|
87177
|
+
};
|
|
87178
|
+
var SMARTART_COLOR_SCHEME_LABEL_KEYS = {
|
|
87179
|
+
colorful1: "pptx.smartart.schemeColorful1",
|
|
87180
|
+
colorful2: "pptx.smartart.schemeColorful2",
|
|
87181
|
+
colorful3: "pptx.smartart.schemeColorful3",
|
|
87182
|
+
monochromatic1: "pptx.smartart.schemeMonochromatic1",
|
|
87183
|
+
monochromatic2: "pptx.smartart.schemeMonochromatic2"
|
|
87184
|
+
};
|
|
87185
|
+
var SMARTART_STYLE_LABEL_KEYS = {
|
|
87186
|
+
flat: "pptx.smartart.styleFlat",
|
|
87187
|
+
moderate: "pptx.smartart.styleModerate",
|
|
87188
|
+
intense: "pptx.smartart.styleIntense"
|
|
87189
|
+
};
|
|
87190
|
+
var FILL_PATTERN_LABEL_KEYS = {
|
|
87191
|
+
pct5: "pptx.fillPatterns.pct5",
|
|
87192
|
+
pct10: "pptx.fillPatterns.pct10",
|
|
87193
|
+
pct20: "pptx.fillPatterns.pct20",
|
|
87194
|
+
pct25: "pptx.fillPatterns.pct25",
|
|
87195
|
+
pct30: "pptx.fillPatterns.pct30",
|
|
87196
|
+
pct40: "pptx.fillPatterns.pct40",
|
|
87197
|
+
pct50: "pptx.fillPatterns.pct50",
|
|
87198
|
+
pct60: "pptx.fillPatterns.pct60",
|
|
87199
|
+
pct70: "pptx.fillPatterns.pct70",
|
|
87200
|
+
pct75: "pptx.fillPatterns.pct75",
|
|
87201
|
+
pct80: "pptx.fillPatterns.pct80",
|
|
87202
|
+
pct90: "pptx.fillPatterns.pct90",
|
|
87203
|
+
horz: "pptx.fillPatterns.horizontal",
|
|
87204
|
+
vert: "pptx.fillPatterns.vertical",
|
|
87205
|
+
ltHorz: "pptx.fillPatterns.lightHorizontal",
|
|
87206
|
+
ltVert: "pptx.fillPatterns.lightVertical",
|
|
87207
|
+
dkHorz: "pptx.fillPatterns.darkHorizontal",
|
|
87208
|
+
dkVert: "pptx.fillPatterns.darkVertical",
|
|
87209
|
+
narHorz: "pptx.fillPatterns.narrowHorizontal",
|
|
87210
|
+
narVert: "pptx.fillPatterns.narrowVertical",
|
|
87211
|
+
wdHorz: "pptx.fillPatterns.wideHorizontal",
|
|
87212
|
+
wdVert: "pptx.fillPatterns.wideVertical",
|
|
87213
|
+
dashHorz: "pptx.fillPatterns.dashedHorizontal",
|
|
87214
|
+
dashVert: "pptx.fillPatterns.dashedVertical",
|
|
87215
|
+
cross: "pptx.fillPatterns.cross",
|
|
87216
|
+
dnDiag: "pptx.fillPatterns.downDiagonal",
|
|
87217
|
+
upDiag: "pptx.fillPatterns.upDiagonal",
|
|
87218
|
+
ltDnDiag: "pptx.fillPatterns.lightDownDiagonal",
|
|
87219
|
+
ltUpDiag: "pptx.fillPatterns.lightUpDiagonal",
|
|
87220
|
+
dkDnDiag: "pptx.fillPatterns.darkDownDiagonal",
|
|
87221
|
+
dkUpDiag: "pptx.fillPatterns.darkUpDiagonal",
|
|
87222
|
+
wdDnDiag: "pptx.fillPatterns.wideDownDiagonal",
|
|
87223
|
+
wdUpDiag: "pptx.fillPatterns.wideUpDiagonal",
|
|
87224
|
+
dashDnDiag: "pptx.fillPatterns.dashedDownDiagonal",
|
|
87225
|
+
dashUpDiag: "pptx.fillPatterns.dashedUpDiagonal",
|
|
87226
|
+
diagCross: "pptx.fillPatterns.diagonalCross",
|
|
87227
|
+
smCheck: "pptx.fillPatterns.smallCheck",
|
|
87228
|
+
lgCheck: "pptx.fillPatterns.largeCheck",
|
|
87229
|
+
smGrid: "pptx.fillPatterns.smallGrid",
|
|
87230
|
+
lgGrid: "pptx.fillPatterns.largeGrid",
|
|
87231
|
+
dotGrid: "pptx.fillPatterns.dotGrid",
|
|
87232
|
+
smConfetti: "pptx.fillPatterns.smallConfetti",
|
|
87233
|
+
lgConfetti: "pptx.fillPatterns.largeConfetti",
|
|
87234
|
+
horzBrick: "pptx.fillPatterns.horizontalBrick",
|
|
87235
|
+
diagBrick: "pptx.fillPatterns.diagonalBrick",
|
|
87236
|
+
solidDmnd: "pptx.fillPatterns.solidDiamond",
|
|
87237
|
+
openDmnd: "pptx.fillPatterns.openDiamond",
|
|
87238
|
+
dotDmnd: "pptx.fillPatterns.dottedDiamond",
|
|
87239
|
+
plaid: "pptx.fillPatterns.plaid",
|
|
87240
|
+
sphere: "pptx.fillPatterns.sphere",
|
|
87241
|
+
weave: "pptx.fillPatterns.weave",
|
|
87242
|
+
divot: "pptx.fillPatterns.divot",
|
|
87243
|
+
shingle: "pptx.fillPatterns.shingle",
|
|
87244
|
+
wave: "pptx.fillPatterns.wave",
|
|
87245
|
+
trellis: "pptx.fillPatterns.trellis",
|
|
87246
|
+
zigZag: "pptx.fillPatterns.zigZag"
|
|
87247
|
+
};
|
|
87157
87248
|
function addChartSeries(data) {
|
|
87158
87249
|
return chartDataAddSeries(data, {
|
|
87159
87250
|
name: `Series ${data.series.length + 1}`,
|
|
@@ -99772,6 +99863,12 @@ function flattenMorphElements(elements, counterpart, offsetX = 0, offsetY = 0) {
|
|
|
99772
99863
|
}
|
|
99773
99864
|
return out;
|
|
99774
99865
|
}
|
|
99866
|
+
function differentText(a, b) {
|
|
99867
|
+
const textOf2 = (element) => (element.text ?? "").replace(/\s+/gu, " ").trim();
|
|
99868
|
+
const fromText = textOf2(a);
|
|
99869
|
+
const toText = textOf2(b);
|
|
99870
|
+
return fromText !== "" && toText !== "" && fromText !== toText;
|
|
99871
|
+
}
|
|
99775
99872
|
var NV_PR_KEYS = [
|
|
99776
99873
|
"p:nvSpPr",
|
|
99777
99874
|
"p:nvPicPr",
|
|
@@ -99886,6 +99983,9 @@ function matchMorphElementsFull(fromSlide, toSlide) {
|
|
|
99886
99983
|
if (fromEl.type !== toEl.type) {
|
|
99887
99984
|
continue;
|
|
99888
99985
|
}
|
|
99986
|
+
if (differentText(fromEl, toEl)) {
|
|
99987
|
+
continue;
|
|
99988
|
+
}
|
|
99889
99989
|
const widthRatio = Math.max(fromEl.width, toEl.width, 1) / Math.max(Math.min(fromEl.width, toEl.width), 1);
|
|
99890
99990
|
const heightRatio = Math.max(fromEl.height, toEl.height, 1) / Math.max(Math.min(fromEl.height, toEl.height), 1);
|
|
99891
99991
|
if (widthRatio > PROXIMITY_SIZE_RATIO_LIMIT || heightRatio > PROXIMITY_SIZE_RATIO_LIMIT) {
|
|
@@ -100142,6 +100242,27 @@ function appearanceSignature(element, depth = 0) {
|
|
|
100142
100242
|
function morphPairNeedsCrossfade(fromElement, toElement) {
|
|
100143
100243
|
return appearanceSignature(fromElement) !== appearanceSignature(toElement);
|
|
100144
100244
|
}
|
|
100245
|
+
var GEOMETRY_EPSILON = 0.5;
|
|
100246
|
+
function isInertMorphPair(fromElement, toElement) {
|
|
100247
|
+
return Math.abs(fromElement.x - toElement.x) <= GEOMETRY_EPSILON && Math.abs(fromElement.y - toElement.y) <= GEOMETRY_EPSILON && Math.abs(fromElement.width - toElement.width) <= GEOMETRY_EPSILON && Math.abs(fromElement.height - toElement.height) <= GEOMETRY_EPSILON && (fromElement.rotation ?? 0) === (toElement.rotation ?? 0) && Boolean(fromElement.flipHorizontal) === Boolean(toElement.flipHorizontal) && Boolean(fromElement.flipVertical) === Boolean(toElement.flipVertical) && (fromElement.opacity ?? 1) === (toElement.opacity ?? 1) && !morphPairNeedsCrossfade(fromElement, toElement);
|
|
100248
|
+
}
|
|
100249
|
+
function crossfadeIncomingMayFadeIn(element) {
|
|
100250
|
+
const image = element;
|
|
100251
|
+
if (image.imagePath || image.svgPath) {
|
|
100252
|
+
return false;
|
|
100253
|
+
}
|
|
100254
|
+
if (!hasShapeProperties(element)) {
|
|
100255
|
+
return true;
|
|
100256
|
+
}
|
|
100257
|
+
const style = element.shapeStyle;
|
|
100258
|
+
if (!style) {
|
|
100259
|
+
return true;
|
|
100260
|
+
}
|
|
100261
|
+
if (style.fillMode === "none" || (style.fillOpacity ?? 1) === 0) {
|
|
100262
|
+
return true;
|
|
100263
|
+
}
|
|
100264
|
+
return !(style.fillColor || style.fillGradient || style.fillGradientStops?.length || style.fillPatternPreset || style.fillImageUrl);
|
|
100265
|
+
}
|
|
100145
100266
|
function generateMorphAnimations(pairs2, durationMs, _mode = "object") {
|
|
100146
100267
|
const animations = [];
|
|
100147
100268
|
for (let index = 0; index < pairs2.length; index++) {
|
|
@@ -100156,13 +100277,15 @@ function generateMorphAnimations(pairs2, durationMs, _mode = "object") {
|
|
|
100156
100277
|
const toRot = toElement.rotation ?? 0;
|
|
100157
100278
|
const fromRot = shortestRotationTarget(toRot, fromElement.rotation ?? 0);
|
|
100158
100279
|
const flips = `${toElement.flipHorizontal ? " scaleX(-1)" : ""}${toElement.flipVertical ? " scaleY(-1)" : ""}`;
|
|
100280
|
+
const inert = isInertMorphPair(fromElement, toElement);
|
|
100281
|
+
const crossfadesIn = !inert && morphPairNeedsCrossfade(fromElement, toElement) && crossfadeIncomingMayFadeIn(toElement);
|
|
100159
100282
|
const fromProps = [
|
|
100160
100283
|
` transform: translate(${dx}px, ${dy}px) scale(${sx}, ${sy}) rotate(${fromRot}deg)${flips};`,
|
|
100161
|
-
` opacity: ${fromOpacity};`
|
|
100284
|
+
` opacity: ${inert ? 0 : crossfadesIn ? 0 : fromOpacity};`
|
|
100162
100285
|
];
|
|
100163
100286
|
const toProps = [
|
|
100164
100287
|
` transform: translate(0, 0) scale(1, 1) rotate(${toRot}deg)${flips};`,
|
|
100165
|
-
` opacity: ${toOpacity};`
|
|
100288
|
+
` opacity: ${inert ? 0 : toOpacity};`
|
|
100166
100289
|
];
|
|
100167
100290
|
const colorInterp = buildColorInterpolationProps(fromElement, toElement);
|
|
100168
100291
|
if (colorInterp) {
|
|
@@ -111018,6 +111141,91 @@ function applyRehearsalTimings(slides, timings) {
|
|
|
111018
111141
|
function computeEntranceAnimationDelay(delayMs, animationIndex) {
|
|
111019
111142
|
return Math.max(0, delayMs || 0) + animationIndex * 60;
|
|
111020
111143
|
}
|
|
111144
|
+
function resolveCustomShowIndexes(slides, customShow) {
|
|
111145
|
+
const keys = customShow.slideRIds ?? customShow.slideIds;
|
|
111146
|
+
if (!keys || keys.length === 0) {
|
|
111147
|
+
return [];
|
|
111148
|
+
}
|
|
111149
|
+
const byKey = /* @__PURE__ */ new Map();
|
|
111150
|
+
slides.forEach((slide, index) => {
|
|
111151
|
+
if (slide.id !== void 0 && !byKey.has(slide.id)) {
|
|
111152
|
+
byKey.set(slide.id, index);
|
|
111153
|
+
}
|
|
111154
|
+
});
|
|
111155
|
+
slides.forEach((slide, index) => {
|
|
111156
|
+
if (slide.rId !== void 0) {
|
|
111157
|
+
byKey.set(slide.rId, index);
|
|
111158
|
+
}
|
|
111159
|
+
});
|
|
111160
|
+
const resolved = [];
|
|
111161
|
+
for (const key of keys) {
|
|
111162
|
+
const index = byKey.get(key);
|
|
111163
|
+
if (index !== void 0) {
|
|
111164
|
+
resolved.push(index);
|
|
111165
|
+
}
|
|
111166
|
+
}
|
|
111167
|
+
return resolved;
|
|
111168
|
+
}
|
|
111169
|
+
function resolveShowSlideIndexes(slides, activeCustomShow) {
|
|
111170
|
+
const all = [];
|
|
111171
|
+
for (let index = 0; index < slides.length; index++) {
|
|
111172
|
+
all.push(index);
|
|
111173
|
+
}
|
|
111174
|
+
const base = activeCustomShow ? resolveCustomShowIndexes(slides, activeCustomShow) : all;
|
|
111175
|
+
const effectiveBase = base.length > 0 ? base : all;
|
|
111176
|
+
const visible = effectiveBase.filter((index) => !slides[index]?.hidden);
|
|
111177
|
+
return visible.length > 0 ? visible : effectiveBase;
|
|
111178
|
+
}
|
|
111179
|
+
function showPosition(deckIndex, showIndexes) {
|
|
111180
|
+
return showIndexes.indexOf(deckIndex);
|
|
111181
|
+
}
|
|
111182
|
+
function nextShowSlideIndex(deckIndex, showIndexes, options) {
|
|
111183
|
+
if (showIndexes.length === 0) {
|
|
111184
|
+
return void 0;
|
|
111185
|
+
}
|
|
111186
|
+
const position2 = showPosition(deckIndex, showIndexes);
|
|
111187
|
+
if (position2 >= 0) {
|
|
111188
|
+
if (position2 + 1 < showIndexes.length) {
|
|
111189
|
+
return showIndexes[position2 + 1];
|
|
111190
|
+
}
|
|
111191
|
+
return options?.loop ? showIndexes[0] : void 0;
|
|
111192
|
+
}
|
|
111193
|
+
for (const candidate of showIndexes) {
|
|
111194
|
+
if (candidate > deckIndex) {
|
|
111195
|
+
return candidate;
|
|
111196
|
+
}
|
|
111197
|
+
}
|
|
111198
|
+
return options?.loop ? showIndexes[0] : void 0;
|
|
111199
|
+
}
|
|
111200
|
+
function previousShowSlideIndex(deckIndex, showIndexes) {
|
|
111201
|
+
if (showIndexes.length === 0) {
|
|
111202
|
+
return void 0;
|
|
111203
|
+
}
|
|
111204
|
+
const position2 = showPosition(deckIndex, showIndexes);
|
|
111205
|
+
if (position2 >= 0) {
|
|
111206
|
+
return position2 > 0 ? showIndexes[position2 - 1] : void 0;
|
|
111207
|
+
}
|
|
111208
|
+
let previous;
|
|
111209
|
+
for (const candidate of showIndexes) {
|
|
111210
|
+
if (candidate < deckIndex) {
|
|
111211
|
+
previous = candidate;
|
|
111212
|
+
}
|
|
111213
|
+
}
|
|
111214
|
+
return previous;
|
|
111215
|
+
}
|
|
111216
|
+
function hasShowSlideAfter(deckIndex, showIndexes) {
|
|
111217
|
+
return nextShowSlideIndex(deckIndex, showIndexes) !== void 0;
|
|
111218
|
+
}
|
|
111219
|
+
function nextPresentedSlide(slides, deckIndex) {
|
|
111220
|
+
const next = nextShowSlideIndex(deckIndex, resolveShowSlideIndexes(slides));
|
|
111221
|
+
return next === void 0 ? void 0 : slides[next];
|
|
111222
|
+
}
|
|
111223
|
+
function firstShowSlideIndex(showIndexes) {
|
|
111224
|
+
return showIndexes.length > 0 ? showIndexes[0] : void 0;
|
|
111225
|
+
}
|
|
111226
|
+
function lastShowSlideIndex(showIndexes) {
|
|
111227
|
+
return showIndexes.length > 0 ? showIndexes[showIndexes.length - 1] : void 0;
|
|
111228
|
+
}
|
|
111021
111229
|
var VIEWER_PREFS_STORAGE_KEY = "pptx-viewer-prefs";
|
|
111022
111230
|
function hasLocalStorage() {
|
|
111023
111231
|
return typeof localStorage !== "undefined";
|
|
@@ -113623,4 +113831,4 @@ function segmentFrameCount(durationMs, fps) {
|
|
|
113623
113831
|
* `<p:extLst>` (optional)
|
|
113624
113832
|
*/
|
|
113625
113833
|
|
|
113626
|
-
export { ACTION_BUTTON_PRESETS, ARTISTIC_EFFECTS, AVATAR_COLOR_SWATCHES, BACKSTAGE_NAV, BACKSTAGE_TEMPLATES, BEVEL_PRESETS, BROADCAST_THROTTLE_MS, CATEGORIES, COLOR_MAP_ALIAS_KEYS, COMMON_FONTS, CONNECTION_TIMEOUT_MS, DEFAULT_BROADCAST_SERVER_URL, DEFAULT_COLOR_CHANGE_TOLERANCE, DEFAULT_COLOR_MAP, DEFAULT_INSERT_CHART_TYPE, DEFAULT_MOTION_PATH_PRESET_ID, DEFAULT_QUICK_ACCESS_COMMAND_IDS, DEFAULT_ROW_HEIGHT, DEFAULT_VIEWER_OPTIONS, DEFAULT_VIEWER_PROFILE, DEFAULT_VIRTUAL_OVERSCAN, DIRECTIONAL_PRESETS, DUOTONE_PRESETS, ELEMENT_ACTION_TYPE_OPTIONS, EMPHASIS_PRESET_VALUES, ENTRANCE_PRESET_VALUES, EQUATION_TEMPLATES, EXIT_PRESET_VALUES, EXPORT_ASSEMBLING_PERCENT, EXPORT_DONE_PERCENT, EncryptedFileError, FILL_MODE_OPTIONS, GRADIENT_TYPE_OPTIONS, HANDOUT_OPTIONS, INK_REPLAY_KEYFRAMES, INSERT_CHART_TYPES, LBL, LOCAL_SYNC_ORIGIN, MATERIAL_PRESETS, MAX_ZOOM_SCALE, MIN_ZOOM_SCALE, MOBILE_BREAKPOINT, MOTION_PATH_FAMILIES, NOTES_FONT_SIZE_DEFAULT, NOTES_FONT_SIZE_MAX, NOTES_FONT_SIZE_MIN, NOTES_FONT_SIZE_STEP, NUM, OUTLINE_LEVEL_ATTR, OUTLINE_ROW_ATTR, OUTLINE_SLIDE_ATTR, OUTLINE_VIEW_ATTR, PATTERN_OPTIONS, PRESENTATION_CHANNEL_NAME, PRESENTATION_HASH, PRESENTATION_MESSAGE_ORIGIN, PRESENTATION_NONCE_KEY, PRESETS, PRESET_THEMES, PptxHandler, PptxMarkdownConverter, PresentationAnimationController, QUICK_ACCESS_COMMAND_CATALOG, READING_VIEW_ATTR, READING_VIEW_COUNTER_ATTR, READING_VIEW_STAGE_ATTR, RULER_FONT_SIZE, RULER_THICKNESS, SECTION_HEADING, SEL, SHAPE_PRESET_DEFS, SHAPE_QUICK_STYLES, SHORTCUT_REFERENCE_ITEMS, SLIDE_TRANSITION_KEYFRAMES, SLIDE_TRANSITION_OPTIONS, SLIDE_VIRTUALIZATION_THRESHOLD, STATUS_BAR_CLASSES, SWITCHABLE_LAYOUT_TYPES, SvgExporter, TABLET_BREAKPOINT, TABLE_STYLE_PRESETS, TAB_ROW_ACTION_CLASSES, TEXT_BUILD_ID_SEP, TEXT_WARP_PRESETS, THEME_CATALOG, THEME_COLOR_LABELS, THEME_COLOR_SCHEME_KEYS, THEME_PRESETS, TITLE_BAR_CLASSES, TITLE_BAR_DEFAULT_FILE_KEY, TOOLBAR_TABS, TRANSITION_DIR_ARROWS, TRANSITION_ORIENTATION_TYPES, TRANSITION_VALID_DIRECTIONS, ThemePresets, VIEWER_OPTIONS_TABS, VIEWER_PREFS_STORAGE_KEY, VIEWER_SHORTCUT_REFERENCE, WEBM_MIME_CANDIDATES, acceptsPresentationInput, activateModalFocus, addChartCategory, addChartSeries, addQuickAccessCommand, addSection, addSmartArtNode, addSmartArtNodeAsChild, addTagToCollections, alignElements, appendPresentationInkPoint, appendTableElementColumn, appendTableElementRow, apply3dEffects, applyAcceptAllSlides, applyAcceptSlide, applyCaseTransformToSegments, applyChartBuildReveal, applyColorChange, applyDuotone, applyFormatToElement, applyMotionPathPreset, applyOutlineEdit, applyPreferenceToOptions, applyReadingViewCommand, applyRehearsalTimings, applyReroutedConnectors, applyResize, applyStyleToSelectedSegments, applyThemeOverrideToSlide, applyThemeToData, availableQuickAccessCommands, backstageCardsFor, bringForward, bringToFront, build3DExtrusionData, buildBroadcastViewerUrl, buildCacheKey, buildCalloutLeaderLineSvgPath, buildChartViewModel, buildCollaborationShareUrl, buildContextMenuEntries, buildCreateCollaborationConfig, buildCssGradientFromShapeStyle, buildDirectionGrid, buildDuotoneCacheKey, buildElementClipboardPayload, buildFieldSubstitutionContext, buildGlowBoxShadow, buildHandoutsHtml, buildInitialGuides, buildInnerShadowCssFromShapeStyle, buildJoinCollaborationConfig, buildMorphTransitionPlan, buildMotionPathPreview, buildMultiLayerShadowCss, buildNotesHtml, buildNotesPdfBytes, buildOutline, buildOutlineHtml, buildPatternFillCss, buildPresentationAudienceUrl, buildPreviewAnimation, buildPreviewElements, buildPrintDocument, buildPrintHtmlDocument, buildReflectionCss, buildShadowCssFromShapeStyle, buildSlidesHtml, buildSlidesPdfBytes, buildSmartArt3DModel, buildSmartArtA11y, buildSmartArtPresetData, buildStrokeOutline, buildSummaryZoomView, buildSvgGradientDef, buildTableDataGrid, buildTextBlockStyle, buildTextBody3DSceneStyle, buildTextBuildSpec, buildTextFillCss, buildTextReflectionCss, buildTextRunFilterChain, buildTextShadowCss, buildThemeColorGrid, buildThemeColorMap, buildUserFontFaceStyles, canCommitActionType, canGoNext, canGoPrevious, canvasToJpegData, cell3DBevelCss, chartDataChangeType, chartPartToAttrs, clampCropValue, clampNotesFontSize, clampPercent, clampTransitionNumber, clampUnitInterval2 as clampUnitInterval, clampZoomScale, clearAllLocalViewerData, clearAudienceContent, clearLocalAwareness, clearMotionPath, clearStoredViewerPrefs, cloneElementForPaste, cloneHistorySnapshot, cloneSlide, cloneTemplateElementsBySlideId, collectImagePaths, collectMediaElements, collectUsedFonts, colorWithOpacity, comparePresentation, compileEquationTemplateMathMl, compileLatexEquation, computeAllNotesPages, computeColumnBoundaries, computeEntranceAnimationDelay, computeHandoutLayout, computeInlineEditorRect, computeKeyboardInset, computeLayout, computeLayoutOptions, computeMarqueeHitIds, computeMergeCellDown, computeMergeCellRight, computeResizedColumnWidths, computeResizedRowHeight, computeScrollDelta, computeSelectionRect, computeSmartArtLayout2 as computeSmartArtLayout, computeSnapToShape, computeSplitCell, computeValueRange, computeValueRangeForChart, computeVirtualRange, convertLatexToOmml, convertOmmlToLatex, convertOmmlToMathMl, copyFormatFromElement, createBackstagePresentation, createBlankSlide, createCollaborationLivePatcher, createDefaultChartElement, createDepartureChannel, createInitialPresentationSnapshot, createPresentationKeyBuffer, createPresentationSessionId, createPresenterTimer, createSyncGate, createTouchGestureRecognizer, createViewerOptionsStore, customGeometryPathsToSvgSubpaths, defaultCssVars, defaultRadius, defaultThemeColors, deleteAutosaveSnapshot, deleteSection, deleteTableColumn, deleteTableRow, deleteTagFromCollections, demoteSmartArtNode, derivePresenceList, deriveSlideFieldContext, detectOrientation, detectTouchDevice, distributeElements, downloadBlob, downloadDataUrl, dragAnchorViewY, dragValueForPart, elementActionToPptxAction, encodeGif, endAudienceDisplay, erasePresentationInkAt, evaluatePresetShape, extraQuickAccessCommands, extractPathPoints, filterCommands, filterRenderedElements, findChartPartTarget, findMediaElementByElementId, findSmartArtNodeText, flattenTagCollections, formatAxisValue, formatAxisValueWithUnits, formatBackstageDate, formatBackstageSize, formatBytes, formatCommentTimestamp, formatElapsed, formatMobileElapsed, formatRelativeTime, formatSlideCounter, formatTime, formatVersionTimestamp, fpsToFrameIntervalMs, generateBroadcastRoomId, generateElementId, generateLogTicks, generateNoteLineCount, generatePackageReadme, generatePressureCircles, generateTicks, getAnimationInitialStyle, getAriaLabel, getAriaRole, getAriaRoleDescription, getCachedResult, getCalloutLeaderLineGeometry, getCalloutViewBoxBounds, getCellDiagonalBorders, getChartStylePalette, getCommentMarkerPosition, getCompoundLineBorderWidth, getCompoundLineBoxShadow, getCompoundLineOffsets, getCompoundLineWidths, getComputedEffectStyle, getConnectionSites, getContentPartReplayStyles, getCssBorderDashStyle, getDisplayUnitLabel, getDuotoneCachedResult, getEffectDagFilter, getElementLabel, getElementTransform, getElementTransformWithoutRotation, getGradientTileFlipCss, getGradientTileRectCss, getGroupChildParentFill, getImageColorWashStyle, getImageEffectsFilter, getImageEffectsOpacity, getImageSvgFilters, getInkReplayStyles, getInlineEditorSelection, getKinsokuLineBreakStyles, getLocalStorageUsageSummary, getNotesPrintableArea, getOleBadgeLabel, getOleObjectTypeLabel, getOleTypeColor, getOleTypeLabel, getOverflowSegments, getPatternSvg, getPendingSelectionRestore, getPresetShapeClipPath, getPrintableArea, getResolvedShapeClipPath, getRoundRectRadiusPx, getSecondaryValueAxis, getShapeAdjustmentHandleDescriptor, getSlideBackgroundStyle, getSlideTransitionAnimations, getSoftEdgeFilterId, getSoftEdgeSvgFilter, getSubstituteFontFamily, getSvgStrokeDasharray, getTextAlphaOpacity, getTextCompensationTransform, getWarpPath, groupElements, groupIntoParagraphs, groupSlidesBySection, guidePxToEmu, handleReadingViewKey, hasCopyableFormat, hasDistinctScriptFonts, hasPressureVariation, hasShapeProperties, hasTextProperties, hexToRgbChannels2 as hexToRgbChannels, insertTableColumn, insertTableRow, isActionHidden, isBrowserOpenableMime, isCalloutShape, isCellInRect, isEditableMotionPath, isEditableTextElement, isEditorTextInputTarget, isElementActionable, isElementRendered, isExportAbortError, isFirstSlide, isImageLikeElement, isInkElement, isKeyboardOpen, isLastSlide, isLinkedTextBox, isMixedContentBlocked, isMobileViewport, isPpactionUrl, isPresentationAdvanceClick, isPresentationSessionMessage, isTemplateElement, isTemplateElementId2 as isTemplateElementId, isUrlSafe, listAutosaveSnapshots, listBackstageRecentFiles, loadAudienceContent, makeCloneId, makeSlideId, mapEditorKey, mapOutlineKey, mapPresentationKey, mayLeaveSlideShow, mergeAdditiveSelection, mergeCells, mergePresentationSnapshot, mergeShapes, mergeSlideTransition, mobileElapsedSince, mobileSlideCounter, morphOptionToMode, motionPathEndPixel, motionPathFamilyLabelKey, motionPathFor, motionPathPresetIdForPath, motionPathPresetLabelKey, motionPathPresetsByFamily, motionPathToSvgD, mountModel3D, mountSurfaceChart3D, movePresenterPointer, moveQuickAccessCommand, moveSectionDown, moveSectionUp, moveSlidesToSection, newTableElement, normalizeColorsForCapture, normalizeHexColor, normalizeStrokeDashType, normalizeValue, notesSegmentsToSpans, observeYDocSlides, ooxmlDashToCssBorderStyle, ooxmlGradientAngleToCssDegrees, openNativeEyeDropper, openPptxFile, openReadingView, openUrlInNewTab, paletteColor, parseDrawingColor, parseDrawingColorOpacity, parsePpactionUrl, pickSupportedMimeType, placeAudienceWindow, polygonsToSvgPath, pptxActionToElementAction, preprocessCssForCapture, presentationInkPath, presenterElapsed, presenterPaneAdvancesOnClick, pressuresToWidths, printPropertiesFrameSlides, printPropertiesSlidesPerPage, promoteSmartArtNode, publishLiveGeometry, publishLiveInlineText, quickStyleSwatchCss, reResolveSlideColors, readBackstageRecentFile, readSlidesFromYDoc, readStoredViewerPrefs, readViewportMetrics, readingViewFitScale, rebuildDrawingShapesIfCleared, rebuildTableStructureInRawXml, reconcileSlidesInYDoc, recordProgressPercent, rectToCells, registerCollaborationTeardown, remapTextToSegments, removeChartCategory, removeChartSeries, removeLastTableElementColumn, removeLastTableElementRow, removeQuickAccessCommand, removeSmartArtNode, removeTableElementColumn, removeTableElementRow, renameSection, reorderSmartArtNode, rerouteConnectorsForMovedElements, resetPresenterTimer, resolveActionType, resolveAudienceScreenPlacement, resolveAutoAdvanceDelayMs, resolveAutoFitFontScale, resolveCssTextAlign, resolveDrawingShapeNodeId, resolveFontForScript, resolveFontRefIdx, resolveGroupChildFill, resolveInkColor, resolveInkOpacity, resolveInkWidth, resolveOleType, resolveParagraphAlign, resolveParagraphRtl, resolveParagraphStrutFontSize, resolvePictureBullet, resolveProfileInitial, resolveRegionCode, resolveThemeCatalogEntry, resolveTitleBarStatusKey, resolveTransitionDurationMs, resolveTransportForServerUrl, resolveUnderlineDecorationStyle, resolveViewerAddinRows, restoreSegmentSelection, revealedSmartArtNodeCount, rulerDragToGuidePosition, runMediaCommand, safeOpenUrl, sanitizeColor, sanitizeDownloadFilename, sanitizeGradientStops, sanitizeMathMl, saveAutosaveSnapshot, saveViewerProfile, scanAvailableFontFamilies, segmentByScript, segmentFrameCount, sendBackward, sendToBack, sequentialColorScale, seriesColor2 as seriesColor, setCachedResult, setChartAxisGridlineStyle, setChartAxisLogScale, setChartAxisTitleStyle, setChartCategoryLabel, setChartCellValue, setChartDataPointExplosion, setChartDataPointFill, setChartDataPointLabel, setChartDataPointMarker, setChartSeriesChartType, setChartSeriesMarker, setDuotoneCachedResult, setMotionPath, setMotionPathEnd, setPendingSelectionRestore, setSmartArtNodeStyle, setTableElementCellText, shadeColor2, shouldAutoFollowBroadcaster, shouldCommitSmartArtNodeText, shouldConfirmExternalHyperlink, shouldLoopContinuously, shouldUseSvgWarp, slideProgressPercent, slideStatusLabel, snapBoxToGrid, splitCell, splitSeriesByAxis, stepPresenterZoom, storeAudienceContent, substituteFieldText, suppressesCssBorder, svgGradientFillRef, svgLineCap, svgPathToPolygons, swapPresentationWindows, switchSmartArtLayout, text3dEmuToPt, text3dPtToEmu, textBuildSpanStyle, themeColorSchemesEqual, themeToCssVars, tintColor2, toCssTextOrientation, toCssVerticalDirection, toCssWritingMode, toSlideIndex, togglePresenterTimer, toggleText3dExtrusion, transformTextCase, updateCellTextInRawXml, updateCellTextStyleInRawXml, updateMergeAttrsInRawXml, updateSmartArtNodeText, updateTagInCollections, validateRoomId, valueToY, vermilionDarkColors, vermilionDarkTheme, vermilionLightColors, vermilionLightTheme, vermilionRadius, viewerOptionsToPreferences, warpPreviewPath, withChartPointValue, withChartTitle, withFrameSlides, withSlidesPerPage, writeStoredViewerPrefs, zoomInScale, zoomOutScale };
|
|
113834
|
+
export { ACTION_BUTTON_PRESETS, ARTISTIC_EFFECTS, AVATAR_COLOR_SWATCHES, BACKSTAGE_NAV, BACKSTAGE_TEMPLATES, BEVEL_PRESETS, BROADCAST_THROTTLE_MS, CATEGORIES, COLOR_MAP_ALIAS_KEYS, COMMON_FONTS, CONNECTION_TIMEOUT_MS, DEFAULT_BROADCAST_SERVER_URL, DEFAULT_COLOR_CHANGE_TOLERANCE, DEFAULT_COLOR_MAP, DEFAULT_INSERT_CHART_TYPE, DEFAULT_MOTION_PATH_PRESET_ID, DEFAULT_QUICK_ACCESS_COMMAND_IDS, DEFAULT_ROW_HEIGHT, DEFAULT_VIEWER_OPTIONS, DEFAULT_VIEWER_PROFILE, DEFAULT_VIRTUAL_OVERSCAN, DIRECTIONAL_PRESETS, DUOTONE_PRESETS, ELEMENT_ACTION_TYPE_OPTIONS, EMPHASIS_PRESET_VALUES, ENTRANCE_PRESET_VALUES, EQUATION_TEMPLATES, EXIT_PRESET_VALUES, EXPORT_ASSEMBLING_PERCENT, EXPORT_DONE_PERCENT, EncryptedFileError, FILL_MODE_OPTIONS, FILL_PATTERN_LABEL_KEYS, GRADIENT_TYPE_OPTIONS, HANDOUT_OPTIONS, INK_REPLAY_KEYFRAMES, INSERT_CHART_TYPES, LBL, LOCAL_SYNC_ORIGIN, MATERIAL_PRESETS, MAX_ZOOM_SCALE, MIN_ZOOM_SCALE, MOBILE_BREAKPOINT, MOTION_PATH_FAMILIES, NOTES_FONT_SIZE_DEFAULT, NOTES_FONT_SIZE_MAX, NOTES_FONT_SIZE_MIN, NOTES_FONT_SIZE_STEP, NUM, OUTLINE_LEVEL_ATTR, OUTLINE_ROW_ATTR, OUTLINE_SLIDE_ATTR, OUTLINE_VIEW_ATTR, PATTERN_OPTIONS, PRESENTATION_CHANNEL_NAME, PRESENTATION_HASH, PRESENTATION_MESSAGE_ORIGIN, PRESENTATION_NONCE_KEY, PRESETS, PRESET_THEMES, PptxHandler, PptxMarkdownConverter, PresentationAnimationController, QUICK_ACCESS_COMMAND_CATALOG, READING_VIEW_ATTR, READING_VIEW_COUNTER_ATTR, READING_VIEW_STAGE_ATTR, RULER_FONT_SIZE, RULER_THICKNESS, SECTION_HEADING, SEL, SHAPE_PRESET_DEFS, SHAPE_QUICK_STYLES, SHORTCUT_REFERENCE_ITEMS, SLIDE_TRANSITION_KEYFRAMES, SLIDE_TRANSITION_OPTIONS, SLIDE_VIRTUALIZATION_THRESHOLD, SMARTART_COLOR_SCHEME_LABEL_KEYS, SMARTART_STYLE_LABEL_KEYS, STATUS_BAR_CLASSES, SWITCHABLE_LAYOUT_TYPES, SvgExporter, TABLET_BREAKPOINT, TABLE_STYLE_PRESETS, TAB_ROW_ACTION_CLASSES, TEXT_BUILD_ID_SEP, TEXT_WARP_PRESETS, THEME_CATALOG, THEME_COLOR_LABELS, THEME_COLOR_SCHEME_KEYS, THEME_COLOR_SLOT_LABEL_KEYS, THEME_PRESETS, TITLE_BAR_CLASSES, TITLE_BAR_DEFAULT_FILE_KEY, TOOLBAR_TABS, TRANSITION_DIR_ARROWS, TRANSITION_ORIENTATION_TYPES, TRANSITION_VALID_DIRECTIONS, ThemePresets, VIEWER_OPTIONS_TABS, VIEWER_PREFS_STORAGE_KEY, VIEWER_SHORTCUT_REFERENCE, WEBM_MIME_CANDIDATES, acceptsPresentationInput, activateModalFocus, addChartCategory, addChartSeries, addQuickAccessCommand, addSection, addSmartArtNode, addSmartArtNodeAsChild, addTagToCollections, alignElements, appendPresentationInkPoint, appendTableElementColumn, appendTableElementRow, apply3dEffects, applyAcceptAllSlides, applyAcceptSlide, applyCaseTransformToSegments, applyChartBuildReveal, applyColorChange, applyDuotone, applyFormatToElement, applyMotionPathPreset, applyOutlineEdit, applyPreferenceToOptions, applyReadingViewCommand, applyRehearsalTimings, applyReroutedConnectors, applyResize, applyStyleToSelectedSegments, applyThemeOverrideToSlide, applyThemeToData, availableQuickAccessCommands, backstageCardsFor, bringForward, bringToFront, build3DExtrusionData, buildBroadcastViewerUrl, buildCacheKey, buildCalloutLeaderLineSvgPath, buildChartViewModel, buildCollaborationShareUrl, buildContextMenuEntries, buildCreateCollaborationConfig, buildCssGradientFromShapeStyle, buildDirectionGrid, buildDuotoneCacheKey, buildElementClipboardPayload, buildFieldSubstitutionContext, buildGlowBoxShadow, buildHandoutsHtml, buildInitialGuides, buildInnerShadowCssFromShapeStyle, buildJoinCollaborationConfig, buildMorphTransitionPlan, buildMotionPathPreview, buildMultiLayerShadowCss, buildNotesHtml, buildNotesPdfBytes, buildOutline, buildOutlineHtml, buildPatternFillCss, buildPresentationAudienceUrl, buildPreviewAnimation, buildPreviewElements, buildPrintDocument, buildPrintHtmlDocument, buildReflectionCss, buildShadowCssFromShapeStyle, buildSlidesHtml, buildSlidesPdfBytes, buildSmartArt3DModel, buildSmartArtA11y, buildSmartArtPresetData, buildStrokeOutline, buildSummaryZoomView, buildSvgGradientDef, buildTableDataGrid, buildTextBlockStyle, buildTextBody3DSceneStyle, buildTextBuildSpec, buildTextFillCss, buildTextReflectionCss, buildTextRunFilterChain, buildTextShadowCss, buildThemeColorGrid, buildThemeColorMap, buildUserFontFaceStyles, canCommitActionType, canGoNext, canGoPrevious, canvasToJpegData, cell3DBevelCss, chartDataChangeType, chartPartToAttrs, clampCropValue, clampNotesFontSize, clampPercent, clampTransitionNumber, clampUnitInterval2 as clampUnitInterval, clampZoomScale, clearAllLocalViewerData, clearAudienceContent, clearLocalAwareness, clearMotionPath, clearStoredViewerPrefs, cloneElementForPaste, cloneHistorySnapshot, cloneSlide, cloneTemplateElementsBySlideId, collectImagePaths, collectMediaElements, collectUsedFonts, colorWithOpacity, comparePresentation, compileEquationTemplateMathMl, compileLatexEquation, computeAllNotesPages, computeColumnBoundaries, computeEntranceAnimationDelay, computeHandoutLayout, computeInlineEditorRect, computeKeyboardInset, computeLayout, computeLayoutOptions, computeMarqueeHitIds, computeMergeCellDown, computeMergeCellRight, computeResizedColumnWidths, computeResizedRowHeight, computeScrollDelta, computeSelectionRect, computeSmartArtLayout2 as computeSmartArtLayout, computeSnapToShape, computeSplitCell, computeValueRange, computeValueRangeForChart, computeVirtualRange, convertLatexToOmml, convertOmmlToLatex, convertOmmlToMathMl, copyFormatFromElement, createBackstagePresentation, createBlankSlide, createCollaborationLivePatcher, createDefaultChartElement, createDepartureChannel, createInitialPresentationSnapshot, createPresentationKeyBuffer, createPresentationSessionId, createPresenterTimer, createSyncGate, createTouchGestureRecognizer, createViewerOptionsStore, customGeometryPathsToSvgSubpaths, defaultCssVars, defaultRadius, defaultThemeColors, deleteAutosaveSnapshot, deleteSection, deleteTableColumn, deleteTableRow, deleteTagFromCollections, demoteSmartArtNode, derivePresenceList, deriveSlideFieldContext, detectOrientation, detectTouchDevice, distributeElements, downloadBlob, downloadDataUrl, dragAnchorViewY, dragValueForPart, elementActionToPptxAction, encodeGif, endAudienceDisplay, erasePresentationInkAt, evaluatePresetShape, extraQuickAccessCommands, extractPathPoints, filterCommands, filterRenderedElements, findChartPartTarget, findMediaElementByElementId, findSmartArtNodeText, firstShowSlideIndex, flattenTagCollections, formatAxisValue, formatAxisValueWithUnits, formatBackstageDate, formatBackstageSize, formatBytes, formatCommentTimestamp, formatElapsed, formatMobileElapsed, formatRelativeTime, formatSlideCounter, formatTime, formatVersionTimestamp, fpsToFrameIntervalMs, generateBroadcastRoomId, generateElementId, generateLogTicks, generateNoteLineCount, generatePackageReadme, generatePressureCircles, generateTicks, getAnimationInitialStyle, getAriaLabel, getAriaRole, getAriaRoleDescription, getCachedResult, getCalloutLeaderLineGeometry, getCalloutViewBoxBounds, getCellDiagonalBorders, getChartStylePalette, getCommentMarkerPosition, getCompoundLineBorderWidth, getCompoundLineBoxShadow, getCompoundLineOffsets, getCompoundLineWidths, getComputedEffectStyle, getConnectionSites, getContentPartReplayStyles, getCssBorderDashStyle, getDisplayUnitLabel, getDuotoneCachedResult, getEffectDagFilter, getElementLabel, getElementTransform, getElementTransformWithoutRotation, getGradientTileFlipCss, getGradientTileRectCss, getGroupChildParentFill, getImageColorWashStyle, getImageEffectsFilter, getImageEffectsOpacity, getImageSvgFilters, getInkReplayStyles, getInlineEditorSelection, getKinsokuLineBreakStyles, getLocalStorageUsageSummary, getNotesPrintableArea, getOleBadgeLabel, getOleObjectTypeLabel, getOleTypeColor, getOleTypeLabel, getOverflowSegments, getPatternSvg, getPendingSelectionRestore, getPresetShapeClipPath, getPrintableArea, getResolvedShapeClipPath, getRoundRectRadiusPx, getSecondaryValueAxis, getShapeAdjustmentHandleDescriptor, getSlideBackgroundStyle, getSlideTransitionAnimations, getSoftEdgeFilterId, getSoftEdgeSvgFilter, getSubstituteFontFamily, getSvgStrokeDasharray, getTextAlphaOpacity, getTextCompensationTransform, getWarpPath, groupElements, groupIntoParagraphs, groupSlidesBySection, guidePxToEmu, handleReadingViewKey, hasCopyableFormat, hasDistinctScriptFonts, hasPressureVariation, hasShapeProperties, hasShowSlideAfter, hasTextProperties, hexToRgbChannels2 as hexToRgbChannels, insertTableColumn, insertTableRow, isActionHidden, isBrowserOpenableMime, isCalloutShape, isCellInRect, isEditableMotionPath, isEditableTextElement, isEditorTextInputTarget, isElementActionable, isElementRendered, isExportAbortError, isFirstSlide, isImageLikeElement, isInkElement, isKeyboardOpen, isLastSlide, isLinkedTextBox, isMixedContentBlocked, isMobileViewport, isPpactionUrl, isPresentationAdvanceClick, isPresentationSessionMessage, isTemplateElement, isTemplateElementId2 as isTemplateElementId, isUrlSafe, lastShowSlideIndex, listAutosaveSnapshots, listBackstageRecentFiles, loadAudienceContent, makeCloneId, makeSlideId, mapEditorKey, mapOutlineKey, mapPresentationKey, mayLeaveSlideShow, mergeAdditiveSelection, mergeCells, mergePresentationSnapshot, mergeShapes, mergeSlideTransition, mobileElapsedSince, mobileSlideCounter, morphOptionToMode, motionPathEndPixel, motionPathFamilyLabelKey, motionPathFor, motionPathPresetIdForPath, motionPathPresetLabelKey, motionPathPresetsByFamily, motionPathToSvgD, mountModel3D, mountSurfaceChart3D, movePresenterPointer, moveQuickAccessCommand, moveSectionDown, moveSectionUp, moveSlidesToSection, newTableElement, nextPresentedSlide, nextShowSlideIndex, normalizeColorsForCapture, normalizeHexColor, normalizeStrokeDashType, normalizeValue, notesSegmentsToSpans, observeYDocSlides, ooxmlDashToCssBorderStyle, ooxmlGradientAngleToCssDegrees, openNativeEyeDropper, openPptxFile, openReadingView, openUrlInNewTab, paletteColor, parseDrawingColor, parseDrawingColorOpacity, parsePpactionUrl, pickSupportedMimeType, placeAudienceWindow, polygonsToSvgPath, pptxActionToElementAction, preprocessCssForCapture, presentationInkPath, presenterElapsed, presenterPaneAdvancesOnClick, pressuresToWidths, previousShowSlideIndex, printPropertiesFrameSlides, printPropertiesSlidesPerPage, promoteSmartArtNode, publishLiveGeometry, publishLiveInlineText, quickStyleSwatchCss, reResolveSlideColors, readBackstageRecentFile, readSlidesFromYDoc, readStoredViewerPrefs, readViewportMetrics, readingViewFitScale, rebuildDrawingShapesIfCleared, rebuildTableStructureInRawXml, reconcileSlidesInYDoc, recordProgressPercent, rectToCells, registerCollaborationTeardown, remapTextToSegments, removeChartCategory, removeChartSeries, removeLastTableElementColumn, removeLastTableElementRow, removeQuickAccessCommand, removeSmartArtNode, removeTableElementColumn, removeTableElementRow, renameSection, reorderSmartArtNode, rerouteConnectorsForMovedElements, resetPresenterTimer, resolveActionType, resolveAudienceScreenPlacement, resolveAutoAdvanceDelayMs, resolveAutoFitFontScale, resolveCssTextAlign, resolveDrawingShapeNodeId, resolveFontForScript, resolveFontRefIdx, resolveGroupChildFill, resolveInkColor, resolveInkOpacity, resolveInkWidth, resolveOleType, resolveParagraphAlign, resolveParagraphRtl, resolveParagraphStrutFontSize, resolvePictureBullet, resolveProfileInitial, resolveRegionCode, resolveShowSlideIndexes, resolveThemeCatalogEntry, resolveTitleBarStatusKey, resolveTransitionDurationMs, resolveTransportForServerUrl, resolveUnderlineDecorationStyle, resolveViewerAddinRows, restoreSegmentSelection, revealedSmartArtNodeCount, rulerDragToGuidePosition, runMediaCommand, safeOpenUrl, sanitizeColor, sanitizeDownloadFilename, sanitizeGradientStops, sanitizeMathMl, saveAutosaveSnapshot, saveViewerProfile, scanAvailableFontFamilies, schemaLabel, segmentByScript, segmentFrameCount, sendBackward, sendToBack, sequentialColorScale, seriesColor2 as seriesColor, setCachedResult, setChartAxisGridlineStyle, setChartAxisLogScale, setChartAxisTitleStyle, setChartCategoryLabel, setChartCellValue, setChartDataPointExplosion, setChartDataPointFill, setChartDataPointLabel, setChartDataPointMarker, setChartSeriesChartType, setChartSeriesMarker, setDuotoneCachedResult, setMotionPath, setMotionPathEnd, setPendingSelectionRestore, setSmartArtNodeStyle, setTableElementCellText, shadeColor2, shouldAutoFollowBroadcaster, shouldCommitSmartArtNodeText, shouldConfirmExternalHyperlink, shouldLoopContinuously, shouldUseSvgWarp, slideProgressPercent, slideStatusLabel, snapBoxToGrid, splitCell, splitSeriesByAxis, stepPresenterZoom, storeAudienceContent, substituteFieldText, suppressesCssBorder, svgGradientFillRef, svgLineCap, svgPathToPolygons, swapPresentationWindows, switchSmartArtLayout, text3dEmuToPt, text3dPtToEmu, textBuildSpanStyle, themeColorSchemesEqual, themeToCssVars, tintColor2, toCssTextOrientation, toCssVerticalDirection, toCssWritingMode, toSlideIndex, togglePresenterTimer, toggleText3dExtrusion, transformTextCase, updateCellTextInRawXml, updateCellTextStyleInRawXml, updateMergeAttrsInRawXml, updateSmartArtNodeText, updateTagInCollections, validateRoomId, valueToY, vermilionDarkColors, vermilionDarkTheme, vermilionLightColors, vermilionLightTheme, vermilionRadius, viewerOptionsToPreferences, warpPreviewPath, withChartPointValue, withChartTitle, withFrameSlides, withSlidesPerPage, writeStoredViewerPrefs, zoomInScale, zoomOutScale };
|
|
Binary file
|
|
Binary file
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ThemePresets, PptxMarkdownConverter } from './chunk-
|
|
1
|
+
import { ThemePresets, PptxMarkdownConverter } from './chunk-FV7HEYCX.mjs';
|
|
2
2
|
import { __export } from './chunk-XGB3TDIC.mjs';
|
|
3
3
|
import * as mcp from 'pptx-viewer-mcp';
|
|
4
4
|
import * as mcpSchemas from 'pptx-viewer-mcp/schemas';
|
|
Binary file
|
|
Binary file
|
|
@@ -3082,7 +3082,95 @@ var translationsEn = {
|
|
|
3082
3082
|
"pptx.backstage.card.share.title": "Share with People",
|
|
3083
3083
|
"pptx.backstage.card.share.body": "Invite collaborators and work on the presentation together.",
|
|
3084
3084
|
"pptx.backstage.card.sharePackage.title": "Package for Sharing",
|
|
3085
|
-
"pptx.backstage.card.sharePackage.body": "Download a self-contained package for offline sharing."
|
|
3085
|
+
"pptx.backstage.card.sharePackage.body": "Download a self-contained package for offline sharing.",
|
|
3086
|
+
// OOXML wire tokens that controls used to render verbatim. Wording follows
|
|
3087
|
+
// PowerPoint's own dialogs; see `render/schema-label-keys.ts` for the
|
|
3088
|
+
// token -> key lookups these back.
|
|
3089
|
+
"pptx.themeColor.dark1": "Dark 1",
|
|
3090
|
+
"pptx.themeColor.light1": "Light 1",
|
|
3091
|
+
"pptx.themeColor.dark2": "Dark 2",
|
|
3092
|
+
"pptx.themeColor.light2": "Light 2",
|
|
3093
|
+
"pptx.themeColor.accent1": "Accent 1",
|
|
3094
|
+
"pptx.themeColor.accent2": "Accent 2",
|
|
3095
|
+
"pptx.themeColor.accent3": "Accent 3",
|
|
3096
|
+
"pptx.themeColor.accent4": "Accent 4",
|
|
3097
|
+
"pptx.themeColor.accent5": "Accent 5",
|
|
3098
|
+
"pptx.themeColor.accent6": "Accent 6",
|
|
3099
|
+
"pptx.themeColor.hyperlink": "Hyperlink",
|
|
3100
|
+
"pptx.themeColor.followedHyperlink": "Followed Hyperlink",
|
|
3101
|
+
"pptx.smartart.schemeColorful1": "Colourful 1",
|
|
3102
|
+
"pptx.smartart.schemeColorful2": "Colourful 2",
|
|
3103
|
+
"pptx.smartart.schemeColorful3": "Colourful 3",
|
|
3104
|
+
"pptx.smartart.schemeMonochromatic1": "Monochromatic 1",
|
|
3105
|
+
"pptx.smartart.schemeMonochromatic2": "Monochromatic 2",
|
|
3106
|
+
"pptx.smartart.styleFlat": "Flat",
|
|
3107
|
+
"pptx.smartart.styleModerate": "Moderate",
|
|
3108
|
+
"pptx.smartart.styleIntense": "Intense",
|
|
3109
|
+
"pptx.smartart.category.matrix": "Matrix",
|
|
3110
|
+
"pptx.smartart.category.pyramid": "Pyramid",
|
|
3111
|
+
"pptx.smartart.category.funnel": "Funnel",
|
|
3112
|
+
"pptx.smartart.category.target": "Target",
|
|
3113
|
+
"pptx.smartart.category.gear": "Gear",
|
|
3114
|
+
"pptx.smartart.category.venn": "Venn",
|
|
3115
|
+
"pptx.smartart.category.timeline": "Timeline",
|
|
3116
|
+
"pptx.smartart.category.chevron": "Chevron",
|
|
3117
|
+
"pptx.smartart.category.bending": "Bending",
|
|
3118
|
+
"pptx.chart.typeOfPie": "Pie of Pie",
|
|
3119
|
+
"pptx.chart.typeBar3D": "Bar (3-D)",
|
|
3120
|
+
"pptx.chart.typeLine3D": "Line (3-D)",
|
|
3121
|
+
"pptx.chart.typePie3D": "Pie (3-D)",
|
|
3122
|
+
"pptx.chart.typeArea3D": "Area (3-D)",
|
|
3123
|
+
"pptx.chart.typeSurface": "Surface",
|
|
3124
|
+
"pptx.chart.typeHistogram": "Histogram",
|
|
3125
|
+
"pptx.chart.typeFunnel": "Funnel",
|
|
3126
|
+
"pptx.chart.typeTreemap": "Treemap",
|
|
3127
|
+
"pptx.chart.typeSunburst": "Sunburst",
|
|
3128
|
+
"pptx.chart.typeBoxWhisker": "Box and Whisker",
|
|
3129
|
+
"pptx.chart.typeRegionMap": "Filled Map",
|
|
3130
|
+
"pptx.chart.typeUnknown": "Unknown",
|
|
3131
|
+
"pptx.chart.groupingStandard": "Standard",
|
|
3132
|
+
"pptx.chart.seriesAxis": "Series axis",
|
|
3133
|
+
"pptx.chart.labelPosAbove": "Above",
|
|
3134
|
+
"pptx.chart.labelPosBelow": "Below",
|
|
3135
|
+
"pptx.chart.labelPosLeft": "Left",
|
|
3136
|
+
"pptx.chart.labelPosRight": "Right",
|
|
3137
|
+
"pptx.chart.errorBarCustom": "Custom",
|
|
3138
|
+
"pptx.chart.errorBarDirectionX": "Horizontal (X)",
|
|
3139
|
+
"pptx.chart.errorBarDirectionY": "Vertical (Y)",
|
|
3140
|
+
"pptx.transitionPresets.conveyor": "Conveyor",
|
|
3141
|
+
"pptx.transitionPresets.doors": "Doors",
|
|
3142
|
+
"pptx.transitionPresets.ferris": "Ferris Wheel",
|
|
3143
|
+
"pptx.transitionPresets.flash": "Flash",
|
|
3144
|
+
"pptx.transitionPresets.flythrough": "Fly Through",
|
|
3145
|
+
"pptx.transitionPresets.gallery": "Gallery",
|
|
3146
|
+
"pptx.transitionPresets.glitter": "Glitter",
|
|
3147
|
+
"pptx.transitionPresets.honeycomb": "Honeycomb",
|
|
3148
|
+
"pptx.transitionPresets.pan": "Pan",
|
|
3149
|
+
"pptx.transitionPresets.prism": "Prism",
|
|
3150
|
+
"pptx.transitionPresets.reveal": "Reveal",
|
|
3151
|
+
"pptx.transitionPresets.ripple": "Ripple",
|
|
3152
|
+
"pptx.transitionPresets.shred": "Shred",
|
|
3153
|
+
"pptx.transitionPresets.switch": "Switch",
|
|
3154
|
+
"pptx.transitionPresets.vortex": "Vortex",
|
|
3155
|
+
"pptx.transitionPresets.warp": "Warp",
|
|
3156
|
+
"pptx.transitionPresets.wheelReverse": "Reverse Wheel",
|
|
3157
|
+
"pptx.transitionPresets.window": "Window",
|
|
3158
|
+
"pptx.transitionPresets.cube": "Cube",
|
|
3159
|
+
"pptx.transitionPresets.flip": "Flip",
|
|
3160
|
+
"pptx.transitionPresets.rotate": "Rotate",
|
|
3161
|
+
"pptx.transitionPresets.orbit": "Orbit",
|
|
3162
|
+
"pptx.transitionPresets.fallOver": "Fall Over",
|
|
3163
|
+
"pptx.transitionPresets.drape": "Drape",
|
|
3164
|
+
"pptx.transitionPresets.curtains": "Curtains",
|
|
3165
|
+
"pptx.transitionPresets.wind": "Wind",
|
|
3166
|
+
"pptx.transitionPresets.prestige": "Prestige",
|
|
3167
|
+
"pptx.transitionPresets.fracture": "Fracture",
|
|
3168
|
+
"pptx.transitionPresets.crush": "Crush",
|
|
3169
|
+
"pptx.transitionPresets.peelOff": "Peel Off",
|
|
3170
|
+
"pptx.transitionPresets.pageCurlDouble": "Page Curl Double",
|
|
3171
|
+
"pptx.transitionPresets.pageCurlSingle": "Page Curl Single",
|
|
3172
|
+
"pptx.transitionPresets.airplane": "Airplane",
|
|
3173
|
+
"pptx.transitionPresets.origami": "Origami"
|
|
3086
3174
|
};
|
|
3087
3175
|
function keyToLabel(key) {
|
|
3088
3176
|
const last = key.split(".").pop() ?? key;
|
|
Binary file
|
|
Binary file
|