pptx-react-viewer 2.11.1 → 2.12.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 +2 -0
- package/dist/{AiChatPanel-RMQIJDUJ.mjs → AiChatPanel-CS4CONUO.mjs} +4 -4
- package/dist/AiChatPanel-CS4CONUO.mjs.br +0 -0
- package/dist/AiChatPanel-CS4CONUO.mjs.gz +0 -0
- package/dist/{AiChatPanel-E6W3EACA.js → AiChatPanel-JIXSOZXN.js} +23 -23
- package/dist/AiChatPanel-JIXSOZXN.js.br +0 -0
- package/dist/AiChatPanel-JIXSOZXN.js.gz +0 -0
- package/dist/{Model3DScene-U4B4NZJT.js → Model3DScene-5KMJ4JL6.js} +2 -2
- package/dist/{Model3DScene-U4B4NZJT.js.br → Model3DScene-5KMJ4JL6.js.br} +0 -0
- package/dist/Model3DScene-5KMJ4JL6.js.gz +0 -0
- package/dist/{Model3DScene-WHSHBMR5.mjs → Model3DScene-RWFPSN6B.mjs} +1 -1
- package/dist/Model3DScene-RWFPSN6B.mjs.br +0 -0
- package/dist/Model3DScene-RWFPSN6B.mjs.gz +0 -0
- package/dist/{SurfaceChart3DScene-77JP5XH5.mjs → SurfaceChart3DScene-2GZQM3LN.mjs} +1 -1
- package/dist/{SurfaceChart3DScene-77JP5XH5.mjs.br → SurfaceChart3DScene-2GZQM3LN.mjs.br} +0 -0
- package/dist/SurfaceChart3DScene-2GZQM3LN.mjs.gz +0 -0
- package/dist/{SurfaceChart3DScene-5S43UBRD.js → SurfaceChart3DScene-BIOKIETC.js} +2 -2
- package/dist/SurfaceChart3DScene-BIOKIETC.js.br +0 -0
- package/dist/SurfaceChart3DScene-BIOKIETC.js.gz +0 -0
- package/dist/{chunk-FAP6OPLL.js → chunk-2VUHJNWM.js} +243 -284
- package/dist/chunk-2VUHJNWM.js.br +0 -0
- package/dist/chunk-2VUHJNWM.js.gz +0 -0
- package/dist/{chunk-IOVOQ6ZJ.js → chunk-3GNSGGY2.js} +288 -1
- package/dist/chunk-3GNSGGY2.js.br +0 -0
- package/dist/chunk-3GNSGGY2.js.gz +0 -0
- package/dist/{chunk-NJ4PTG4F.mjs → chunk-AOED5MFM.mjs} +18 -39
- package/dist/chunk-AOED5MFM.mjs.br +0 -0
- package/dist/chunk-AOED5MFM.mjs.gz +0 -0
- package/dist/{chunk-PXYZFWDA.mjs → chunk-BJQSHVYH.mjs} +86 -61
- package/dist/chunk-BJQSHVYH.mjs.br +0 -0
- package/dist/chunk-BJQSHVYH.mjs.gz +0 -0
- package/dist/{chunk-DD54KUDG.mjs → chunk-CEUHGUZ4.mjs} +5 -46
- package/dist/chunk-CEUHGUZ4.mjs.br +0 -0
- package/dist/chunk-CEUHGUZ4.mjs.gz +0 -0
- package/dist/{chunk-RHR7GTDX.mjs → chunk-ECDKYPQ2.mjs} +288 -1
- package/dist/chunk-ECDKYPQ2.mjs.br +0 -0
- package/dist/chunk-ECDKYPQ2.mjs.gz +0 -0
- package/dist/{chunk-HF6L2CTF.mjs → chunk-EJRHYYKE.mjs} +1 -1
- package/dist/chunk-EJRHYYKE.mjs.br +0 -0
- package/dist/chunk-EJRHYYKE.mjs.gz +0 -0
- package/dist/{chunk-KDJBWJJH.js → chunk-PJUQQF3I.js} +328 -52
- package/dist/chunk-PJUQQF3I.js.br +0 -0
- package/dist/chunk-PJUQQF3I.js.gz +0 -0
- package/dist/{chunk-QT6BPOZM.js → chunk-PTGTFXPU.js} +345 -366
- package/dist/chunk-PTGTFXPU.js.br +0 -0
- package/dist/chunk-PTGTFXPU.js.gz +0 -0
- package/dist/{chunk-FV7HEYCX.mjs → chunk-QGHC65C4.mjs} +320 -53
- package/dist/chunk-QGHC65C4.mjs.br +0 -0
- package/dist/chunk-QGHC65C4.mjs.gz +0 -0
- package/dist/{chunk-IXBM3HWH.js → chunk-SP7U34QM.js} +1064 -1039
- package/dist/chunk-SP7U34QM.js.br +0 -0
- package/dist/chunk-SP7U34QM.js.gz +0 -0
- package/dist/{chunk-X3SFCKAF.js → chunk-ZIXSSQAZ.js} +3 -3
- package/dist/chunk-ZIXSSQAZ.js.br +0 -0
- package/dist/chunk-ZIXSSQAZ.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.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.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/pptx-viewer.css +1 -1
- package/dist/pptx-viewer.css.br +0 -0
- package/dist/pptx-viewer.css.gz +0 -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-E6W3EACA.js.br +0 -0
- package/dist/AiChatPanel-E6W3EACA.js.gz +0 -0
- package/dist/AiChatPanel-RMQIJDUJ.mjs.br +0 -0
- package/dist/AiChatPanel-RMQIJDUJ.mjs.gz +0 -0
- package/dist/Model3DScene-U4B4NZJT.js.gz +0 -0
- package/dist/Model3DScene-WHSHBMR5.mjs.br +0 -0
- package/dist/Model3DScene-WHSHBMR5.mjs.gz +0 -0
- package/dist/SurfaceChart3DScene-5S43UBRD.js.br +0 -0
- package/dist/SurfaceChart3DScene-5S43UBRD.js.gz +0 -0
- package/dist/SurfaceChart3DScene-77JP5XH5.mjs.gz +0 -0
- package/dist/chunk-DD54KUDG.mjs.br +0 -0
- package/dist/chunk-DD54KUDG.mjs.gz +0 -0
- package/dist/chunk-FAP6OPLL.js.br +0 -0
- package/dist/chunk-FAP6OPLL.js.gz +0 -0
- package/dist/chunk-FV7HEYCX.mjs.br +0 -0
- package/dist/chunk-FV7HEYCX.mjs.gz +0 -0
- package/dist/chunk-HF6L2CTF.mjs.br +0 -0
- package/dist/chunk-HF6L2CTF.mjs.gz +0 -0
- package/dist/chunk-IOVOQ6ZJ.js.br +0 -0
- package/dist/chunk-IOVOQ6ZJ.js.gz +0 -0
- package/dist/chunk-IXBM3HWH.js.br +0 -0
- package/dist/chunk-IXBM3HWH.js.gz +0 -0
- package/dist/chunk-KDJBWJJH.js.br +0 -0
- package/dist/chunk-KDJBWJJH.js.gz +0 -0
- package/dist/chunk-NJ4PTG4F.mjs.br +0 -0
- package/dist/chunk-NJ4PTG4F.mjs.gz +0 -0
- package/dist/chunk-PXYZFWDA.mjs.br +0 -0
- package/dist/chunk-PXYZFWDA.mjs.gz +0 -0
- package/dist/chunk-QT6BPOZM.js.br +0 -0
- package/dist/chunk-QT6BPOZM.js.gz +0 -0
- package/dist/chunk-RHR7GTDX.mjs.br +0 -0
- package/dist/chunk-RHR7GTDX.mjs.gz +0 -0
- package/dist/chunk-X3SFCKAF.js.br +0 -0
- package/dist/chunk-X3SFCKAF.js.gz +0 -0
|
Binary file
|
|
Binary file
|
|
@@ -15924,6 +15924,15 @@ var MC_NAMESPACE_CAPABILITIES = {
|
|
|
15924
15924
|
"hiddenFill",
|
|
15925
15925
|
"hiddenLine"
|
|
15926
15926
|
]),
|
|
15927
|
+
// PowerPoint 2016+ writes the Morph transition as `<p159:morph @option>`,
|
|
15928
|
+
// either inside an `mc:Choice Requires="p159"` or in a `p:transition/p:extLst`
|
|
15929
|
+
// extension. Both forms are parsed (see `PptxSlideTransitionService`), so the
|
|
15930
|
+
// choice IS supported: without this entry every morph slide reported
|
|
15931
|
+
// `UNSUPPORTED_ALTERNATE_CONTENT_CHOICE`, which reads as "the transition was
|
|
15932
|
+
// dropped and the fallback fade was used" when in fact the morph plays.
|
|
15933
|
+
// `morph` alone is listed on purpose: any OTHER `p159:*` element still makes
|
|
15934
|
+
// the choice unsupported and falls back, which is the honest answer.
|
|
15935
|
+
p159: /* @__PURE__ */ new Set(["morph"]),
|
|
15927
15936
|
a14: /* @__PURE__ */ new Set(["m", "hiddenFill", "hiddenLine", "imgEffect", "imgLayer"]),
|
|
15928
15937
|
a16: /* @__PURE__ */ new Set(["svgBlip", "colId"]),
|
|
15929
15938
|
asvg: /* @__PURE__ */ new Set(["svgBlip"]),
|
|
@@ -93065,6 +93074,28 @@ var DIRECTIONAL_PRESETS = /* @__PURE__ */ new Set([
|
|
|
93065
93074
|
"floatIn",
|
|
93066
93075
|
"peekIn"
|
|
93067
93076
|
]);
|
|
93077
|
+
function animationPresetLabelKey(preset) {
|
|
93078
|
+
return `pptx.animation.preset.${preset}`;
|
|
93079
|
+
}
|
|
93080
|
+
function animationCatalogPresetSlug(presetId) {
|
|
93081
|
+
return presetId.split(".").map((part, index) => index === 0 ? part : part.charAt(0).toUpperCase() + part.slice(1)).join("");
|
|
93082
|
+
}
|
|
93083
|
+
function animationCatalogPresetLabelKey(presetId) {
|
|
93084
|
+
return `pptx.animation.catalogPreset.${animationCatalogPresetSlug(presetId)}`;
|
|
93085
|
+
}
|
|
93086
|
+
function isAnimationCatalogPresetId(token2) {
|
|
93087
|
+
return token2.includes(".");
|
|
93088
|
+
}
|
|
93089
|
+
function animationEffectLabelKey(anim) {
|
|
93090
|
+
const token2 = anim.entrance ?? anim.emphasis ?? anim.exit;
|
|
93091
|
+
if (!token2 || token2 === "none") {
|
|
93092
|
+
return anim.motionPath ? "pptx.animation.motionPath.label" : "pptx.animation.animation";
|
|
93093
|
+
}
|
|
93094
|
+
return isAnimationCatalogPresetId(token2) ? animationCatalogPresetLabelKey(token2) : animationPresetLabelKey(token2);
|
|
93095
|
+
}
|
|
93096
|
+
function animationEffectLabel(anim, translate) {
|
|
93097
|
+
return translate(animationEffectLabelKey(anim));
|
|
93098
|
+
}
|
|
93068
93099
|
var PRESET_ID_TO_EFFECT = {
|
|
93069
93100
|
entr: {
|
|
93070
93101
|
1: "appear",
|
|
@@ -97793,6 +97824,45 @@ function computeMarqueeHitIds(marquee, elements, minSize = MIN_ELEMENT_SIZE) {
|
|
|
97793
97824
|
function mergeAdditiveSelection(baseSelectionIds, hitIds) {
|
|
97794
97825
|
return Array.from(/* @__PURE__ */ new Set([...baseSelectionIds ?? [], ...hitIds]));
|
|
97795
97826
|
}
|
|
97827
|
+
function getImageFitStyle(el) {
|
|
97828
|
+
const uncropped = {
|
|
97829
|
+
width: "100%",
|
|
97830
|
+
height: "100%",
|
|
97831
|
+
objectFit: "cover"
|
|
97832
|
+
};
|
|
97833
|
+
if (!isImageLikeElement(el)) {
|
|
97834
|
+
return uncropped;
|
|
97835
|
+
}
|
|
97836
|
+
const cropLeft = clampCropValue(el.cropLeft);
|
|
97837
|
+
const cropTop = clampCropValue(el.cropTop);
|
|
97838
|
+
const cropRight = clampCropValue(el.cropRight);
|
|
97839
|
+
const cropBottom = clampCropValue(el.cropBottom);
|
|
97840
|
+
if (cropLeft + cropRight <= 1e-4 && cropTop + cropBottom <= 1e-4) {
|
|
97841
|
+
return uncropped;
|
|
97842
|
+
}
|
|
97843
|
+
const horizontalScale = cropLeft + cropRight >= 0.99 ? 0.99 / (cropLeft + cropRight) : 1;
|
|
97844
|
+
const verticalScale = cropTop + cropBottom >= 0.99 ? 0.99 / (cropTop + cropBottom) : 1;
|
|
97845
|
+
const left = clampCropValue(cropLeft * horizontalScale);
|
|
97846
|
+
const right = clampCropValue(cropRight * horizontalScale);
|
|
97847
|
+
const top = clampCropValue(cropTop * verticalScale);
|
|
97848
|
+
const bottom = clampCropValue(cropBottom * verticalScale);
|
|
97849
|
+
const remainingWidth = Math.max(0.01, 1 - left - right);
|
|
97850
|
+
const remainingHeight = Math.max(0.01, 1 - top - bottom);
|
|
97851
|
+
const tx = Math.round(-left / remainingWidth * 1e4) / 100;
|
|
97852
|
+
const ty = Math.round(-top / remainingHeight * 1e4) / 100;
|
|
97853
|
+
const sx = Math.round(1 / remainingWidth * 1e6) / 1e6;
|
|
97854
|
+
const sy = Math.round(1 / remainingHeight * 1e6) / 1e6;
|
|
97855
|
+
return {
|
|
97856
|
+
position: "absolute",
|
|
97857
|
+
width: "100%",
|
|
97858
|
+
height: "100%",
|
|
97859
|
+
maxWidth: "none",
|
|
97860
|
+
maxHeight: "none",
|
|
97861
|
+
objectFit: "fill",
|
|
97862
|
+
transformOrigin: "top left",
|
|
97863
|
+
transform: `translate(${tx}%, ${ty}%) scale(${sx}, ${sy})`
|
|
97864
|
+
};
|
|
97865
|
+
}
|
|
97796
97866
|
function groupElements(elements, ids, groupId) {
|
|
97797
97867
|
const idSet = new Set(ids);
|
|
97798
97868
|
const gathered = [];
|
|
@@ -107511,9 +107581,117 @@ async function openNativeEyeDropper() {
|
|
|
107511
107581
|
return null;
|
|
107512
107582
|
}
|
|
107513
107583
|
}
|
|
107584
|
+
var PEN_COLORS = [
|
|
107585
|
+
"#ff0000",
|
|
107586
|
+
"#0000ff",
|
|
107587
|
+
"#00aa00",
|
|
107588
|
+
"#ff8800",
|
|
107589
|
+
"#ffffff",
|
|
107590
|
+
"#000000",
|
|
107591
|
+
"#ff00ff",
|
|
107592
|
+
"#00cccc"
|
|
107593
|
+
];
|
|
107594
|
+
var HIGHLIGHTER_COLORS = [
|
|
107595
|
+
"#ffff00",
|
|
107596
|
+
"#00ff00",
|
|
107597
|
+
"#ff69b4",
|
|
107598
|
+
"#00bfff",
|
|
107599
|
+
"#ff8c00",
|
|
107600
|
+
"#adff2f",
|
|
107601
|
+
"#ff6347",
|
|
107602
|
+
"#87ceeb"
|
|
107603
|
+
];
|
|
107514
107604
|
function formatSlideCounter(currentSlide, totalSlides) {
|
|
107515
107605
|
return `${currentSlide + 1} / ${totalSlides}`;
|
|
107516
107606
|
}
|
|
107607
|
+
var PRESENT_TOOLBAR_CONTROLS = [
|
|
107608
|
+
{
|
|
107609
|
+
id: "previous",
|
|
107610
|
+
kind: "button",
|
|
107611
|
+
labelKey: "pptx.presenter.previousSlide",
|
|
107612
|
+
icon: "chevron-left"
|
|
107613
|
+
},
|
|
107614
|
+
{ id: "counter", kind: "counter" },
|
|
107615
|
+
{ id: "next", kind: "button", labelKey: "pptx.presenter.nextSlide", icon: "chevron-right" },
|
|
107616
|
+
{ id: "divider-navigation", kind: "divider" },
|
|
107617
|
+
{ id: "timer", kind: "timer", labelKey: "pptx.presenter.elapsed", icon: "timer" },
|
|
107618
|
+
{ id: "divider-timer", kind: "divider" },
|
|
107619
|
+
{
|
|
107620
|
+
id: "laser",
|
|
107621
|
+
kind: "toggle",
|
|
107622
|
+
labelKey: "pptx.presentation.laserPointer",
|
|
107623
|
+
icon: "mouse-pointer-2"
|
|
107624
|
+
},
|
|
107625
|
+
{ id: "pen", kind: "toggle", labelKey: "pptx.presentation.pen", icon: "pen-tool" },
|
|
107626
|
+
{
|
|
107627
|
+
id: "pen-color",
|
|
107628
|
+
kind: "caret",
|
|
107629
|
+
labelKey: "pptx.presentationToolbar.penColor",
|
|
107630
|
+
icon: "chevron-down"
|
|
107631
|
+
},
|
|
107632
|
+
{
|
|
107633
|
+
id: "highlighter",
|
|
107634
|
+
kind: "toggle",
|
|
107635
|
+
labelKey: "pptx.presentation.highlighter",
|
|
107636
|
+
icon: "highlighter"
|
|
107637
|
+
},
|
|
107638
|
+
{
|
|
107639
|
+
id: "highlighter-color",
|
|
107640
|
+
kind: "caret",
|
|
107641
|
+
labelKey: "pptx.presentationToolbar.highlighterColor",
|
|
107642
|
+
icon: "chevron-down"
|
|
107643
|
+
},
|
|
107644
|
+
{ id: "eraser", kind: "toggle", labelKey: "pptx.presentation.eraser", icon: "eraser" },
|
|
107645
|
+
{ id: "clear", kind: "button", labelKey: "pptx.presentation.clearAnnotations", icon: "trash-2" },
|
|
107646
|
+
{ id: "divider-tools", kind: "divider" },
|
|
107647
|
+
{
|
|
107648
|
+
id: "presenter-view",
|
|
107649
|
+
kind: "toggle",
|
|
107650
|
+
labelKey: "pptx.presenter.presenterView",
|
|
107651
|
+
icon: "panel-right"
|
|
107652
|
+
},
|
|
107653
|
+
{ id: "end", kind: "button", labelKey: "pptx.presenter.endPresentation", icon: "x" }
|
|
107654
|
+
];
|
|
107655
|
+
PRESENT_TOOLBAR_CONTROLS.map(
|
|
107656
|
+
(control) => control.id
|
|
107657
|
+
);
|
|
107658
|
+
PRESENT_TOOLBAR_CONTROLS.flatMap(
|
|
107659
|
+
(control) => control.labelKey === void 0 ? [] : [control.labelKey]
|
|
107660
|
+
);
|
|
107661
|
+
var PRESENT_TOOLBAR_CLASSES = {
|
|
107662
|
+
/** The floating bar itself. */
|
|
107663
|
+
container: "flex items-center gap-1 px-3 py-2 rounded-xl bg-neutral-900/90 backdrop-blur-md border border-white/15 shadow-2xl",
|
|
107664
|
+
/** The auto-hiding positioner the bar sits in. */
|
|
107665
|
+
wrapper: "absolute bottom-6 left-1/2 -translate-x-1/2 z-[80] transition-opacity duration-300",
|
|
107666
|
+
/** Navigation / action button. */
|
|
107667
|
+
button: "flex items-center justify-center w-9 h-9 rounded-md transition-colors text-white/70 hover:text-white hover:bg-white/10 disabled:text-white/20 disabled:cursor-not-allowed",
|
|
107668
|
+
/** Annotation-tool toggle, inactive. */
|
|
107669
|
+
toggle: "relative flex items-center justify-center w-9 h-9 rounded-md transition-colors text-white/70 hover:text-white hover:bg-white/10",
|
|
107670
|
+
/** Annotation-tool toggle, active. */
|
|
107671
|
+
toggleActive: "relative flex items-center justify-center w-9 h-9 rounded-md transition-colors bg-white/25 text-white",
|
|
107672
|
+
/** Colour caret beside a tool toggle. */
|
|
107673
|
+
caret: "flex items-center justify-center w-7 h-9 -ml-1 rounded-r-md transition-colors text-white/50 hover:text-white hover:bg-white/10",
|
|
107674
|
+
/** Vertical hairline between groups. */
|
|
107675
|
+
divider: "w-px h-6 bg-white/20 mx-1",
|
|
107676
|
+
/** Slide counter. */
|
|
107677
|
+
counter: "text-xs font-mono tabular-nums text-white/80 px-1.5 select-none min-w-[48px] text-center",
|
|
107678
|
+
/** Elapsed-time readout. */
|
|
107679
|
+
timer: "flex items-center gap-1.5 text-xs font-mono tabular-nums text-white/60 px-1 select-none",
|
|
107680
|
+
/**
|
|
107681
|
+
* Colour palette popover.
|
|
107682
|
+
*
|
|
107683
|
+
* `w-max` is load-bearing. An absolutely positioned grid shrink-to-fits its
|
|
107684
|
+
* positioned ancestor, which here is the 64px tool+caret pair, so without it
|
|
107685
|
+
* the four 36px swatch columns are squeezed into 50px and overlap each other
|
|
107686
|
+
* to the point that a swatch cannot be clicked. React shipped it that way,
|
|
107687
|
+
* and the ports faithfully reproduced the defect.
|
|
107688
|
+
*/
|
|
107689
|
+
palette: "absolute bottom-full left-1/2 -translate-x-1/2 mb-2 p-3 w-max bg-neutral-800 rounded-lg border border-white/20 shadow-xl grid grid-cols-4 gap-2",
|
|
107690
|
+
/** One colour swatch inside the palette. */
|
|
107691
|
+
swatch: "w-9 h-9 rounded-full border-2 transition-transform hover:scale-110",
|
|
107692
|
+
/** Underline showing a tool's current colour. */
|
|
107693
|
+
swatchBar: "absolute bottom-0.5 left-1/2 -translate-x-1/2 w-3 h-0.5 rounded-full"
|
|
107694
|
+
};
|
|
107517
107695
|
function createPresentationKeyBuffer() {
|
|
107518
107696
|
return { digits: "" };
|
|
107519
107697
|
}
|
|
@@ -109015,6 +109193,134 @@ function getAriaRoleDescription(element) {
|
|
|
109015
109193
|
return void 0;
|
|
109016
109194
|
}
|
|
109017
109195
|
}
|
|
109196
|
+
function shouldLoopContinuously(input) {
|
|
109197
|
+
return Boolean(input.loopContinuously) || input.showType === "kiosk";
|
|
109198
|
+
}
|
|
109199
|
+
function resolveAutoAdvanceDelayMs(slide, options) {
|
|
109200
|
+
if (options?.useTimings === false) {
|
|
109201
|
+
return void 0;
|
|
109202
|
+
}
|
|
109203
|
+
const advanceAfterMs = slide?.transition?.advanceAfterMs;
|
|
109204
|
+
if (typeof advanceAfterMs !== "number" || !Number.isFinite(advanceAfterMs) || advanceAfterMs < 0) {
|
|
109205
|
+
return void 0;
|
|
109206
|
+
}
|
|
109207
|
+
return advanceAfterMs;
|
|
109208
|
+
}
|
|
109209
|
+
var PRESENTATION_INERT_CLICK_SELECTOR = 'a, button, input, select, textarea, video, audio, [data-pptx-action], [role="dialog"]';
|
|
109210
|
+
function isInertMedia(node) {
|
|
109211
|
+
return (node.tagName === "VIDEO" || node.tagName === "AUDIO") && !node.controls;
|
|
109212
|
+
}
|
|
109213
|
+
function isPresentationAdvanceClick(target) {
|
|
109214
|
+
if (typeof Element === "undefined" || !(target instanceof Element)) {
|
|
109215
|
+
return false;
|
|
109216
|
+
}
|
|
109217
|
+
for (let node = target; node !== null; node = node.parentElement) {
|
|
109218
|
+
if (isInertMedia(node)) {
|
|
109219
|
+
continue;
|
|
109220
|
+
}
|
|
109221
|
+
if (node.matches(PRESENTATION_INERT_CLICK_SELECTOR)) {
|
|
109222
|
+
return false;
|
|
109223
|
+
}
|
|
109224
|
+
}
|
|
109225
|
+
return true;
|
|
109226
|
+
}
|
|
109227
|
+
function applyRehearsalTimings(slides, timings) {
|
|
109228
|
+
return slides.map((slide, index) => {
|
|
109229
|
+
const advanceAfterMs = timings[index];
|
|
109230
|
+
if (typeof advanceAfterMs !== "number") {
|
|
109231
|
+
return slide;
|
|
109232
|
+
}
|
|
109233
|
+
return {
|
|
109234
|
+
...slide,
|
|
109235
|
+
transition: {
|
|
109236
|
+
...slide.transition,
|
|
109237
|
+
type: slide.transition?.type ?? "none",
|
|
109238
|
+
advanceAfterMs
|
|
109239
|
+
}
|
|
109240
|
+
};
|
|
109241
|
+
});
|
|
109242
|
+
}
|
|
109243
|
+
function computeEntranceAnimationDelay(delayMs, animationIndex) {
|
|
109244
|
+
return Math.max(0, delayMs || 0) + animationIndex * 60;
|
|
109245
|
+
}
|
|
109246
|
+
var NO_OP_ACTION = "ppaction://noaction";
|
|
109247
|
+
function isNoOpPresentationAction(action) {
|
|
109248
|
+
if (!action) {
|
|
109249
|
+
return true;
|
|
109250
|
+
}
|
|
109251
|
+
const verb = (action.action ?? "").trim().toLowerCase();
|
|
109252
|
+
if (verb === NO_OP_ACTION) {
|
|
109253
|
+
return true;
|
|
109254
|
+
}
|
|
109255
|
+
return verb.length === 0 && typeof action.targetSlideIndex !== "number" && !(action.url ?? "").trim();
|
|
109256
|
+
}
|
|
109257
|
+
function resolvePresentationAction(action, options) {
|
|
109258
|
+
const soundPath = action?.soundPath;
|
|
109259
|
+
if (!action || isNoOpPresentationAction(action)) {
|
|
109260
|
+
return { intent: { kind: "none" }, soundPath };
|
|
109261
|
+
}
|
|
109262
|
+
const verb = (action.action ?? "").toLowerCase();
|
|
109263
|
+
if (typeof action.targetSlideIndex === "number" && Number.isFinite(action.targetSlideIndex)) {
|
|
109264
|
+
if (options.slideCount <= 0) {
|
|
109265
|
+
return { intent: { kind: "none" }, soundPath };
|
|
109266
|
+
}
|
|
109267
|
+
const slideIndex = Math.max(
|
|
109268
|
+
0,
|
|
109269
|
+
Math.min(options.slideCount - 1, Math.floor(action.targetSlideIndex))
|
|
109270
|
+
);
|
|
109271
|
+
return { intent: { kind: "goToSlide", slideIndex }, soundPath };
|
|
109272
|
+
}
|
|
109273
|
+
if (verb.includes("hlinkshowjump")) {
|
|
109274
|
+
if (verb.includes("nextslide")) {
|
|
109275
|
+
return { intent: { kind: "move", direction: 1 }, soundPath };
|
|
109276
|
+
}
|
|
109277
|
+
if (verb.includes("previousslide")) {
|
|
109278
|
+
return { intent: { kind: "move", direction: -1 }, soundPath };
|
|
109279
|
+
}
|
|
109280
|
+
if (verb.includes("firstslide")) {
|
|
109281
|
+
return { intent: { kind: "goToSlide", slideIndex: 0 }, soundPath };
|
|
109282
|
+
}
|
|
109283
|
+
if (verb.includes("lastslide")) {
|
|
109284
|
+
return {
|
|
109285
|
+
intent: options.slideCount > 0 ? { kind: "goToSlide", slideIndex: options.slideCount - 1 } : { kind: "none" },
|
|
109286
|
+
soundPath
|
|
109287
|
+
};
|
|
109288
|
+
}
|
|
109289
|
+
if (verb.includes("endshow")) {
|
|
109290
|
+
return { intent: { kind: "endShow" }, soundPath };
|
|
109291
|
+
}
|
|
109292
|
+
return { intent: { kind: "none" }, soundPath };
|
|
109293
|
+
}
|
|
109294
|
+
if (verb.includes("hlinksldjump")) {
|
|
109295
|
+
return { intent: { kind: "none" }, soundPath };
|
|
109296
|
+
}
|
|
109297
|
+
const url = (action.url ?? "").trim();
|
|
109298
|
+
if (url && isUrlSafe(url)) {
|
|
109299
|
+
return { intent: { kind: "openUrl", url }, soundPath };
|
|
109300
|
+
}
|
|
109301
|
+
return { intent: { kind: "none" }, soundPath };
|
|
109302
|
+
}
|
|
109303
|
+
function runPresentationAction(action, options, runner) {
|
|
109304
|
+
const { intent, soundPath } = resolvePresentationAction(action, options);
|
|
109305
|
+
if (soundPath && runner.playSound) {
|
|
109306
|
+
runner.playSound(soundPath);
|
|
109307
|
+
}
|
|
109308
|
+
switch (intent.kind) {
|
|
109309
|
+
case "goToSlide":
|
|
109310
|
+
runner.goToSlide(intent.slideIndex);
|
|
109311
|
+
return true;
|
|
109312
|
+
case "move":
|
|
109313
|
+
runner.move(intent.direction);
|
|
109314
|
+
return true;
|
|
109315
|
+
case "endShow":
|
|
109316
|
+
runner.endShow();
|
|
109317
|
+
return true;
|
|
109318
|
+
case "openUrl":
|
|
109319
|
+
return safeOpenUrl(intent.url);
|
|
109320
|
+
default:
|
|
109321
|
+
return false;
|
|
109322
|
+
}
|
|
109323
|
+
}
|
|
109018
109324
|
function elementHasTextHyperlink(element) {
|
|
109019
109325
|
if (!hasTextProperties(element)) {
|
|
109020
109326
|
return false;
|
|
@@ -109023,10 +109329,10 @@ function elementHasTextHyperlink(element) {
|
|
|
109023
109329
|
}
|
|
109024
109330
|
function isElementActionable(element, options = {}) {
|
|
109025
109331
|
const { hasActionHandler = true, hasHyperlinkHandler = true, hasZoomHandler = true } = options;
|
|
109026
|
-
if (element.actionClick && hasActionHandler) {
|
|
109332
|
+
if (element.actionClick && hasActionHandler && !isNoOpPresentationAction(element.actionClick)) {
|
|
109027
109333
|
return true;
|
|
109028
109334
|
}
|
|
109029
|
-
if (element.actionHover) {
|
|
109335
|
+
if (element.actionHover && !isNoOpPresentationAction(element.actionHover)) {
|
|
109030
109336
|
return true;
|
|
109031
109337
|
}
|
|
109032
109338
|
if (hasHyperlinkHandler && elementHasTextHyperlink(element)) {
|
|
@@ -111091,56 +111397,6 @@ var VIEWER_SHORTCUT_REFERENCE = [
|
|
|
111091
111397
|
{ actionKey: "pptx.shortcuts.title", shortcut: "?" }
|
|
111092
111398
|
];
|
|
111093
111399
|
var SHORTCUT_REFERENCE_ITEMS = VIEWER_SHORTCUT_REFERENCE;
|
|
111094
|
-
function shouldLoopContinuously(input) {
|
|
111095
|
-
return Boolean(input.loopContinuously) || input.showType === "kiosk";
|
|
111096
|
-
}
|
|
111097
|
-
function resolveAutoAdvanceDelayMs(slide, options) {
|
|
111098
|
-
if (options?.useTimings === false) {
|
|
111099
|
-
return void 0;
|
|
111100
|
-
}
|
|
111101
|
-
const advanceAfterMs = slide?.transition?.advanceAfterMs;
|
|
111102
|
-
if (typeof advanceAfterMs !== "number" || !Number.isFinite(advanceAfterMs) || advanceAfterMs < 0) {
|
|
111103
|
-
return void 0;
|
|
111104
|
-
}
|
|
111105
|
-
return advanceAfterMs;
|
|
111106
|
-
}
|
|
111107
|
-
var PRESENTATION_INERT_CLICK_SELECTOR = 'a, button, input, select, textarea, video, audio, [data-pptx-action], [role="dialog"]';
|
|
111108
|
-
function isInertMedia(node) {
|
|
111109
|
-
return (node.tagName === "VIDEO" || node.tagName === "AUDIO") && !node.controls;
|
|
111110
|
-
}
|
|
111111
|
-
function isPresentationAdvanceClick(target) {
|
|
111112
|
-
if (typeof Element === "undefined" || !(target instanceof Element)) {
|
|
111113
|
-
return false;
|
|
111114
|
-
}
|
|
111115
|
-
for (let node = target; node !== null; node = node.parentElement) {
|
|
111116
|
-
if (isInertMedia(node)) {
|
|
111117
|
-
continue;
|
|
111118
|
-
}
|
|
111119
|
-
if (node.matches(PRESENTATION_INERT_CLICK_SELECTOR)) {
|
|
111120
|
-
return false;
|
|
111121
|
-
}
|
|
111122
|
-
}
|
|
111123
|
-
return true;
|
|
111124
|
-
}
|
|
111125
|
-
function applyRehearsalTimings(slides, timings) {
|
|
111126
|
-
return slides.map((slide, index) => {
|
|
111127
|
-
const advanceAfterMs = timings[index];
|
|
111128
|
-
if (typeof advanceAfterMs !== "number") {
|
|
111129
|
-
return slide;
|
|
111130
|
-
}
|
|
111131
|
-
return {
|
|
111132
|
-
...slide,
|
|
111133
|
-
transition: {
|
|
111134
|
-
...slide.transition,
|
|
111135
|
-
type: slide.transition?.type ?? "none",
|
|
111136
|
-
advanceAfterMs
|
|
111137
|
-
}
|
|
111138
|
-
};
|
|
111139
|
-
});
|
|
111140
|
-
}
|
|
111141
|
-
function computeEntranceAnimationDelay(delayMs, animationIndex) {
|
|
111142
|
-
return Math.max(0, delayMs || 0) + animationIndex * 60;
|
|
111143
|
-
}
|
|
111144
111400
|
function resolveCustomShowIndexes(slides, customShow) {
|
|
111145
111401
|
const keys = customShow.slideRIds ?? customShow.slideIds;
|
|
111146
111402
|
if (!keys || keys.length === 0) {
|
|
@@ -111226,6 +111482,17 @@ function firstShowSlideIndex(showIndexes) {
|
|
|
111226
111482
|
function lastShowSlideIndex(showIndexes) {
|
|
111227
111483
|
return showIndexes.length > 0 ? showIndexes[showIndexes.length - 1] : void 0;
|
|
111228
111484
|
}
|
|
111485
|
+
var HIDDEN_SLIDE_LABEL_KEY = "pptx.slideSorter.hidden";
|
|
111486
|
+
var HIDDEN_SLIDE_SLASH_GRADIENT = "linear-gradient(to top right, transparent 47%, color-mix(in srgb, currentColor 60%, transparent) 47%, color-mix(in srgb, currentColor 60%, transparent) 53%, transparent 53%)";
|
|
111487
|
+
function hiddenSlideLabelId(surface, slideIndex) {
|
|
111488
|
+
return `pptx-hidden-slide-${surface}-${slideIndex}`;
|
|
111489
|
+
}
|
|
111490
|
+
function hiddenSlideCue(hidden, surface, slideIndex) {
|
|
111491
|
+
if (!hidden) {
|
|
111492
|
+
return { hidden: false, labelId: void 0, marker: void 0 };
|
|
111493
|
+
}
|
|
111494
|
+
return { hidden: true, labelId: hiddenSlideLabelId(surface, slideIndex), marker: "true" };
|
|
111495
|
+
}
|
|
111229
111496
|
var VIEWER_PREFS_STORAGE_KEY = "pptx-viewer-prefs";
|
|
111230
111497
|
function hasLocalStorage() {
|
|
111231
111498
|
return typeof localStorage !== "undefined";
|
|
@@ -113831,4 +114098,4 @@ function segmentFrameCount(durationMs, fps) {
|
|
|
113831
114098
|
* `<p:extLst>` (optional)
|
|
113832
114099
|
*/
|
|
113833
114100
|
|
|
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 };
|
|
114101
|
+
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, HIDDEN_SLIDE_LABEL_KEY, HIDDEN_SLIDE_SLASH_GRADIENT, HIGHLIGHTER_COLORS, 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, PEN_COLORS, PRESENTATION_CHANNEL_NAME, PRESENTATION_HASH, PRESENTATION_MESSAGE_ORIGIN, PRESENTATION_NONCE_KEY, PRESENT_TOOLBAR_CLASSES, 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, animationEffectLabel, 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, getImageFitStyle, 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, hiddenSlideCue, 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, runPresentationAction, 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
|