pptx-react-viewer 2.15.2 → 2.15.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +2 -0
- package/dist/{AiChatPanel-HSQLY6O7.mjs → AiChatPanel-OXAKUVYH.mjs} +3 -3
- package/dist/AiChatPanel-OXAKUVYH.mjs.br +0 -0
- package/dist/AiChatPanel-OXAKUVYH.mjs.gz +0 -0
- package/dist/{AiChatPanel-WGX7DUQE.js → AiChatPanel-R7BYGQX5.js} +22 -22
- package/dist/AiChatPanel-R7BYGQX5.js.br +0 -0
- package/dist/AiChatPanel-R7BYGQX5.js.gz +0 -0
- package/dist/{Model3DScene-DYWYNVLU.js → Model3DScene-BK7RWDCU.js} +2 -2
- package/dist/Model3DScene-BK7RWDCU.js.br +0 -0
- package/dist/Model3DScene-BK7RWDCU.js.gz +0 -0
- package/dist/{Model3DScene-3DOCQYAE.mjs → Model3DScene-TPUVF4FY.mjs} +1 -1
- package/dist/Model3DScene-TPUVF4FY.mjs.br +0 -0
- package/dist/Model3DScene-TPUVF4FY.mjs.gz +0 -0
- package/dist/{SurfaceChart3DScene-GIKV3DXC.mjs → SurfaceChart3DScene-FXJ45DC5.mjs} +1 -1
- package/dist/{SurfaceChart3DScene-GIKV3DXC.mjs.br → SurfaceChart3DScene-FXJ45DC5.mjs.br} +0 -0
- package/dist/SurfaceChart3DScene-FXJ45DC5.mjs.gz +0 -0
- package/dist/{SurfaceChart3DScene-7UB5JE2W.js → SurfaceChart3DScene-WOLVZOW3.js} +2 -2
- package/dist/SurfaceChart3DScene-WOLVZOW3.js.br +0 -0
- package/dist/SurfaceChart3DScene-WOLVZOW3.js.gz +0 -0
- package/dist/{chunk-U47SG5XL.js → chunk-3XJODTAV.js} +334 -334
- package/dist/chunk-3XJODTAV.js.br +0 -0
- package/dist/chunk-3XJODTAV.js.gz +0 -0
- package/dist/{chunk-LVGFV42Z.mjs → chunk-6M6WP2TK.mjs} +188 -144
- package/dist/chunk-6M6WP2TK.mjs.br +0 -0
- package/dist/chunk-6M6WP2TK.mjs.gz +0 -0
- package/dist/{chunk-MQXKBH43.js → chunk-FHTEL3Q6.js} +247 -247
- package/dist/chunk-FHTEL3Q6.js.br +0 -0
- package/dist/chunk-FHTEL3Q6.js.gz +0 -0
- package/dist/{chunk-RSNAGJTQ.js → chunk-IEXZ2JSO.js} +1084 -1052
- package/dist/chunk-IEXZ2JSO.js.br +0 -0
- package/dist/chunk-IEXZ2JSO.js.gz +0 -0
- package/dist/{chunk-GLC2RPKN.mjs → chunk-OPX74QGH.mjs} +2 -2
- package/dist/chunk-OPX74QGH.mjs.br +0 -0
- package/dist/chunk-OPX74QGH.mjs.gz +0 -0
- package/dist/{chunk-IXEHYABF.mjs → chunk-RPGAI65Z.mjs} +40 -8
- package/dist/chunk-RPGAI65Z.mjs.br +0 -0
- package/dist/chunk-RPGAI65Z.mjs.gz +0 -0
- package/dist/{chunk-DC4GIE7E.js → chunk-T5IS3MGN.js} +3 -3
- package/dist/chunk-T5IS3MGN.js.br +0 -0
- package/dist/chunk-T5IS3MGN.js.gz +0 -0
- package/dist/{chunk-IXCNYPFK.mjs → chunk-U2UPBBJV.mjs} +1 -1
- package/dist/chunk-U2UPBBJV.mjs.br +0 -0
- package/dist/chunk-U2UPBBJV.mjs.gz +0 -0
- package/dist/{chunk-ZAO36XAK.mjs → chunk-WJNWCKS7.mjs} +5 -5
- package/dist/chunk-WJNWCKS7.mjs.br +0 -0
- package/dist/chunk-WJNWCKS7.mjs.gz +0 -0
- package/dist/{chunk-SBRSPTSA.js → chunk-YBTRSG74.js} +190 -144
- package/dist/chunk-YBTRSG74.js.br +0 -0
- package/dist/chunk-YBTRSG74.js.gz +0 -0
- package/dist/index.js +39 -39
- package/dist/index.js.br +0 -0
- package/dist/index.js.gz +0 -0
- package/dist/index.mjs +5 -5
- package/dist/index.mjs.br +0 -0
- package/dist/index.mjs.gz +0 -0
- package/dist/internals.js +78 -78
- package/dist/internals.js.br +0 -0
- package/dist/internals.js.gz +0 -0
- package/dist/internals.mjs +3 -3
- package/dist/internals.mjs.br +0 -0
- package/dist/internals.mjs.gz +0 -0
- package/dist/viewer/index.js +26 -26
- package/dist/viewer/index.js.br +0 -0
- package/dist/viewer/index.js.gz +0 -0
- package/dist/viewer/index.mjs +5 -5
- package/dist/viewer/index.mjs.br +0 -0
- package/dist/viewer/index.mjs.gz +0 -0
- package/package.json +1 -1
- package/dist/AiChatPanel-HSQLY6O7.mjs.br +0 -0
- package/dist/AiChatPanel-HSQLY6O7.mjs.gz +0 -0
- package/dist/AiChatPanel-WGX7DUQE.js.br +0 -0
- package/dist/AiChatPanel-WGX7DUQE.js.gz +0 -0
- package/dist/Model3DScene-3DOCQYAE.mjs.br +0 -0
- package/dist/Model3DScene-3DOCQYAE.mjs.gz +0 -0
- package/dist/Model3DScene-DYWYNVLU.js.br +0 -0
- package/dist/Model3DScene-DYWYNVLU.js.gz +0 -0
- package/dist/SurfaceChart3DScene-7UB5JE2W.js.br +0 -0
- package/dist/SurfaceChart3DScene-7UB5JE2W.js.gz +0 -0
- package/dist/SurfaceChart3DScene-GIKV3DXC.mjs.gz +0 -0
- package/dist/chunk-DC4GIE7E.js.br +0 -0
- package/dist/chunk-DC4GIE7E.js.gz +0 -0
- package/dist/chunk-GLC2RPKN.mjs.br +0 -0
- package/dist/chunk-GLC2RPKN.mjs.gz +0 -0
- package/dist/chunk-IXCNYPFK.mjs.br +0 -0
- package/dist/chunk-IXCNYPFK.mjs.gz +0 -0
- package/dist/chunk-IXEHYABF.mjs.br +0 -0
- package/dist/chunk-IXEHYABF.mjs.gz +0 -0
- package/dist/chunk-LVGFV42Z.mjs.br +0 -0
- package/dist/chunk-LVGFV42Z.mjs.gz +0 -0
- package/dist/chunk-MQXKBH43.js.br +0 -0
- package/dist/chunk-MQXKBH43.js.gz +0 -0
- package/dist/chunk-RSNAGJTQ.js.br +0 -0
- package/dist/chunk-RSNAGJTQ.js.gz +0 -0
- package/dist/chunk-SBRSPTSA.js.br +0 -0
- package/dist/chunk-SBRSPTSA.js.gz +0 -0
- package/dist/chunk-U47SG5XL.js.br +0 -0
- package/dist/chunk-U47SG5XL.js.gz +0 -0
- package/dist/chunk-ZAO36XAK.mjs.br +0 -0
- package/dist/chunk-ZAO36XAK.mjs.gz +0 -0
|
Binary file
|
|
Binary file
|
|
@@ -36243,6 +36243,18 @@ function applyChartPivotSource(chartSpace, value, localName22) {
|
|
|
36243
36243
|
chartSpace[`${prefix}:pivotSource`] = node;
|
|
36244
36244
|
}
|
|
36245
36245
|
}
|
|
36246
|
+
function getElementTextContent(element) {
|
|
36247
|
+
if (!hasTextProperties(element)) {
|
|
36248
|
+
return "";
|
|
36249
|
+
}
|
|
36250
|
+
if (typeof element.text === "string") {
|
|
36251
|
+
return element.text;
|
|
36252
|
+
}
|
|
36253
|
+
if (!element.textSegments || element.textSegments.length === 0) {
|
|
36254
|
+
return "";
|
|
36255
|
+
}
|
|
36256
|
+
return element.textSegments.map((segment) => String(segment.text || "")).join("");
|
|
36257
|
+
}
|
|
36246
36258
|
var JUMP_VERB_MAP = {
|
|
36247
36259
|
nextslide: "nextSlide",
|
|
36248
36260
|
previousslide: "prevSlide",
|
|
@@ -85919,6 +85931,54 @@ function isIdentityRectClip(element) {
|
|
|
85919
85931
|
const shapeType = element.shapeType;
|
|
85920
85932
|
return shapeType !== void 0 && IDENTITY_RECT_PRESETS.has(shapeType.toLowerCase());
|
|
85921
85933
|
}
|
|
85934
|
+
function getCompoundLineOffsets(compoundLine, strokeWidth) {
|
|
85935
|
+
if (!compoundLine || compoundLine === "sng") {
|
|
85936
|
+
return [0];
|
|
85937
|
+
}
|
|
85938
|
+
const gap = Math.max(strokeWidth * 0.6, 1.5);
|
|
85939
|
+
if (compoundLine === "dbl") {
|
|
85940
|
+
return [-gap, gap];
|
|
85941
|
+
}
|
|
85942
|
+
if (compoundLine === "thickThin") {
|
|
85943
|
+
return [-gap * 0.6, gap];
|
|
85944
|
+
}
|
|
85945
|
+
if (compoundLine === "thinThick") {
|
|
85946
|
+
return [-gap, gap * 0.6];
|
|
85947
|
+
}
|
|
85948
|
+
if (compoundLine === "tri") {
|
|
85949
|
+
return [-gap, 0, gap];
|
|
85950
|
+
}
|
|
85951
|
+
return [0];
|
|
85952
|
+
}
|
|
85953
|
+
function getCompoundLineWidths(compoundLine, strokeWidth) {
|
|
85954
|
+
const base = Math.max(strokeWidth, 1);
|
|
85955
|
+
if (!compoundLine || compoundLine === "sng") {
|
|
85956
|
+
return [base];
|
|
85957
|
+
}
|
|
85958
|
+
if (compoundLine === "dbl") {
|
|
85959
|
+
return [base * 0.5, base * 0.5];
|
|
85960
|
+
}
|
|
85961
|
+
if (compoundLine === "thickThin") {
|
|
85962
|
+
return [base * 0.7, base * 0.3];
|
|
85963
|
+
}
|
|
85964
|
+
if (compoundLine === "thinThick") {
|
|
85965
|
+
return [base * 0.3, base * 0.7];
|
|
85966
|
+
}
|
|
85967
|
+
if (compoundLine === "tri") {
|
|
85968
|
+
return [base * 0.3, base * 0.4, base * 0.3];
|
|
85969
|
+
}
|
|
85970
|
+
return [base];
|
|
85971
|
+
}
|
|
85972
|
+
function svgLineCap(lineCap) {
|
|
85973
|
+
switch (lineCap) {
|
|
85974
|
+
case "flat":
|
|
85975
|
+
return "butt";
|
|
85976
|
+
case "sq":
|
|
85977
|
+
return "square";
|
|
85978
|
+
default:
|
|
85979
|
+
return "round";
|
|
85980
|
+
}
|
|
85981
|
+
}
|
|
85922
85982
|
function normalizeHexColor(value, fallback = DEFAULT_TEXT_COLOR) {
|
|
85923
85983
|
if (!value || value === "transparent") {
|
|
85924
85984
|
return fallback;
|
|
@@ -86576,145 +86636,6 @@ function resolveComputedFill(ss, element) {
|
|
|
86576
86636
|
}
|
|
86577
86637
|
return {};
|
|
86578
86638
|
}
|
|
86579
|
-
function round4(value) {
|
|
86580
|
-
return Math.round(value * 1e4) / 1e4;
|
|
86581
|
-
}
|
|
86582
|
-
function svgGradientId(elementId, suffix = "grad") {
|
|
86583
|
-
const seed = String(elementId).replace(/[^a-zA-Z0-9_-]/gu, "_");
|
|
86584
|
-
return `pptx-${suffix}-${seed}`;
|
|
86585
|
-
}
|
|
86586
|
-
function toSvgStops(stops) {
|
|
86587
|
-
return sanitizeGradientStops(stops).map((stop) => ({
|
|
86588
|
-
offset: round4(stop.position / 100),
|
|
86589
|
-
color: stop.color,
|
|
86590
|
-
...typeof stop.opacity === "number" ? { opacity: round4(stop.opacity) } : {}
|
|
86591
|
-
}));
|
|
86592
|
-
}
|
|
86593
|
-
function linearEndpoints(angleDegrees) {
|
|
86594
|
-
const radians = angleDegrees * Math.PI / 180;
|
|
86595
|
-
const dx = Math.cos(radians);
|
|
86596
|
-
const dy = Math.sin(radians);
|
|
86597
|
-
const span = (Math.abs(dx) + Math.abs(dy)) / 2;
|
|
86598
|
-
return {
|
|
86599
|
-
x1: round4(0.5 - dx * span),
|
|
86600
|
-
y1: round4(0.5 - dy * span),
|
|
86601
|
-
x2: round4(0.5 + dx * span),
|
|
86602
|
-
y2: round4(0.5 + dy * span)
|
|
86603
|
-
};
|
|
86604
|
-
}
|
|
86605
|
-
function buildFromSource(source, id) {
|
|
86606
|
-
const { stops } = source;
|
|
86607
|
-
if (stops.length === 0) {
|
|
86608
|
-
return void 0;
|
|
86609
|
-
}
|
|
86610
|
-
if ((source.type || "linear") === "radial") {
|
|
86611
|
-
const { cx, cy } = computeGradientCenter(source.fillToRect, source.focalPoint);
|
|
86612
|
-
const fx = cx / 100;
|
|
86613
|
-
const fy = cy / 100;
|
|
86614
|
-
const r = Math.hypot(Math.max(fx, 1 - fx), Math.max(fy, 1 - fy));
|
|
86615
|
-
return { kind: "radial", id, cx: round4(fx), cy: round4(fy), r: round4(r), stops };
|
|
86616
|
-
}
|
|
86617
|
-
const angle = typeof source.angle === "number" && Number.isFinite(source.angle) ? source.angle : 90;
|
|
86618
|
-
return { kind: "linear", id, ...linearEndpoints(angle), stops };
|
|
86619
|
-
}
|
|
86620
|
-
function buildSvgGradientDef(style, elementId) {
|
|
86621
|
-
if (!style || style.fillMode !== "gradient") {
|
|
86622
|
-
return void 0;
|
|
86623
|
-
}
|
|
86624
|
-
return buildFromSource(
|
|
86625
|
-
{
|
|
86626
|
-
stops: toSvgStops(style.fillGradientStops),
|
|
86627
|
-
type: style.fillGradientType,
|
|
86628
|
-
angle: style.fillGradientAngle,
|
|
86629
|
-
fillToRect: style.fillGradientFillToRect,
|
|
86630
|
-
focalPoint: style.fillGradientFocalPoint
|
|
86631
|
-
},
|
|
86632
|
-
svgGradientId(elementId)
|
|
86633
|
-
);
|
|
86634
|
-
}
|
|
86635
|
-
function buildSvgStrokeGradientDef(style, elementId) {
|
|
86636
|
-
if (!style || style.strokeFillMode !== "gradient") {
|
|
86637
|
-
return void 0;
|
|
86638
|
-
}
|
|
86639
|
-
return buildFromSource(
|
|
86640
|
-
{
|
|
86641
|
-
stops: toSvgStops(style.strokeGradientStops),
|
|
86642
|
-
type: style.strokeGradientType,
|
|
86643
|
-
angle: style.strokeGradientAngle
|
|
86644
|
-
},
|
|
86645
|
-
svgGradientId(elementId, "stroke")
|
|
86646
|
-
);
|
|
86647
|
-
}
|
|
86648
|
-
function buildSvgStrokePatternDef(style, elementId) {
|
|
86649
|
-
if (!style || style.strokeFillMode !== "pattern" || !style.strokePatternPreset) {
|
|
86650
|
-
return void 0;
|
|
86651
|
-
}
|
|
86652
|
-
const fg = normalizeHexColor(style.strokeColor, "#000000");
|
|
86653
|
-
const bg = normalizeHexColor(style.strokePatternBackgroundColor, "#ffffff");
|
|
86654
|
-
const tile = getPatternTile(style.strokePatternPreset, fg, bg);
|
|
86655
|
-
if (!tile) {
|
|
86656
|
-
return void 0;
|
|
86657
|
-
}
|
|
86658
|
-
const markup = `<svg xmlns="http://www.w3.org/2000/svg" width="${tile.w}" height="${tile.h}">${tile.inner}</svg>`;
|
|
86659
|
-
return {
|
|
86660
|
-
kind: "pattern",
|
|
86661
|
-
id: svgGradientId(elementId, "strokepat"),
|
|
86662
|
-
width: tile.w,
|
|
86663
|
-
height: tile.h,
|
|
86664
|
-
href: `data:image/svg+xml,${encodeURIComponent(markup)}`
|
|
86665
|
-
};
|
|
86666
|
-
}
|
|
86667
|
-
function svgGradientFillRef(def) {
|
|
86668
|
-
return `url(#${def.id})`;
|
|
86669
|
-
}
|
|
86670
|
-
function getCompoundLineOffsets(compoundLine, strokeWidth) {
|
|
86671
|
-
if (!compoundLine || compoundLine === "sng") {
|
|
86672
|
-
return [0];
|
|
86673
|
-
}
|
|
86674
|
-
const gap = Math.max(strokeWidth * 0.6, 1.5);
|
|
86675
|
-
if (compoundLine === "dbl") {
|
|
86676
|
-
return [-gap, gap];
|
|
86677
|
-
}
|
|
86678
|
-
if (compoundLine === "thickThin") {
|
|
86679
|
-
return [-gap * 0.6, gap];
|
|
86680
|
-
}
|
|
86681
|
-
if (compoundLine === "thinThick") {
|
|
86682
|
-
return [-gap, gap * 0.6];
|
|
86683
|
-
}
|
|
86684
|
-
if (compoundLine === "tri") {
|
|
86685
|
-
return [-gap, 0, gap];
|
|
86686
|
-
}
|
|
86687
|
-
return [0];
|
|
86688
|
-
}
|
|
86689
|
-
function getCompoundLineWidths(compoundLine, strokeWidth) {
|
|
86690
|
-
const base = Math.max(strokeWidth, 1);
|
|
86691
|
-
if (!compoundLine || compoundLine === "sng") {
|
|
86692
|
-
return [base];
|
|
86693
|
-
}
|
|
86694
|
-
if (compoundLine === "dbl") {
|
|
86695
|
-
return [base * 0.5, base * 0.5];
|
|
86696
|
-
}
|
|
86697
|
-
if (compoundLine === "thickThin") {
|
|
86698
|
-
return [base * 0.7, base * 0.3];
|
|
86699
|
-
}
|
|
86700
|
-
if (compoundLine === "thinThick") {
|
|
86701
|
-
return [base * 0.3, base * 0.7];
|
|
86702
|
-
}
|
|
86703
|
-
if (compoundLine === "tri") {
|
|
86704
|
-
return [base * 0.3, base * 0.4, base * 0.3];
|
|
86705
|
-
}
|
|
86706
|
-
return [base];
|
|
86707
|
-
}
|
|
86708
|
-
function svgLineCap(lineCap) {
|
|
86709
|
-
switch (lineCap) {
|
|
86710
|
-
case "flat":
|
|
86711
|
-
return "butt";
|
|
86712
|
-
case "sq":
|
|
86713
|
-
return "square";
|
|
86714
|
-
default:
|
|
86715
|
-
return "round";
|
|
86716
|
-
}
|
|
86717
|
-
}
|
|
86718
86639
|
function normalizeStrokeDashType(value) {
|
|
86719
86640
|
const normalized = String(value || "").trim().toLowerCase();
|
|
86720
86641
|
if (!normalized) {
|
|
@@ -86927,6 +86848,97 @@ function strokeOnlyPresetPathData(element) {
|
|
|
86927
86848
|
const stroked = paths.filter((path) => path.stroke !== false).map((path) => path.d);
|
|
86928
86849
|
return stroked.length > 0 ? stroked.join(" ") : void 0;
|
|
86929
86850
|
}
|
|
86851
|
+
function round4(value) {
|
|
86852
|
+
return Math.round(value * 1e4) / 1e4;
|
|
86853
|
+
}
|
|
86854
|
+
function svgGradientId(elementId, suffix = "grad") {
|
|
86855
|
+
const seed = String(elementId).replace(/[^a-zA-Z0-9_-]/gu, "_");
|
|
86856
|
+
return `pptx-${suffix}-${seed}`;
|
|
86857
|
+
}
|
|
86858
|
+
function toSvgStops(stops) {
|
|
86859
|
+
return sanitizeGradientStops(stops).map((stop) => ({
|
|
86860
|
+
offset: round4(stop.position / 100),
|
|
86861
|
+
color: stop.color,
|
|
86862
|
+
...typeof stop.opacity === "number" ? { opacity: round4(stop.opacity) } : {}
|
|
86863
|
+
}));
|
|
86864
|
+
}
|
|
86865
|
+
function linearEndpoints(angleDegrees) {
|
|
86866
|
+
const radians = angleDegrees * Math.PI / 180;
|
|
86867
|
+
const dx = Math.cos(radians);
|
|
86868
|
+
const dy = Math.sin(radians);
|
|
86869
|
+
const span = (Math.abs(dx) + Math.abs(dy)) / 2;
|
|
86870
|
+
return {
|
|
86871
|
+
x1: round4(0.5 - dx * span),
|
|
86872
|
+
y1: round4(0.5 - dy * span),
|
|
86873
|
+
x2: round4(0.5 + dx * span),
|
|
86874
|
+
y2: round4(0.5 + dy * span)
|
|
86875
|
+
};
|
|
86876
|
+
}
|
|
86877
|
+
function buildFromSource(source, id) {
|
|
86878
|
+
const { stops } = source;
|
|
86879
|
+
if (stops.length === 0) {
|
|
86880
|
+
return void 0;
|
|
86881
|
+
}
|
|
86882
|
+
if ((source.type || "linear") === "radial") {
|
|
86883
|
+
const { cx, cy } = computeGradientCenter(source.fillToRect, source.focalPoint);
|
|
86884
|
+
const fx = cx / 100;
|
|
86885
|
+
const fy = cy / 100;
|
|
86886
|
+
const r = Math.hypot(Math.max(fx, 1 - fx), Math.max(fy, 1 - fy));
|
|
86887
|
+
return { kind: "radial", id, cx: round4(fx), cy: round4(fy), r: round4(r), stops };
|
|
86888
|
+
}
|
|
86889
|
+
const angle = typeof source.angle === "number" && Number.isFinite(source.angle) ? source.angle : 90;
|
|
86890
|
+
return { kind: "linear", id, ...linearEndpoints(angle), stops };
|
|
86891
|
+
}
|
|
86892
|
+
function buildSvgGradientDef(style, elementId) {
|
|
86893
|
+
if (!style || style.fillMode !== "gradient") {
|
|
86894
|
+
return void 0;
|
|
86895
|
+
}
|
|
86896
|
+
return buildFromSource(
|
|
86897
|
+
{
|
|
86898
|
+
stops: toSvgStops(style.fillGradientStops),
|
|
86899
|
+
type: style.fillGradientType,
|
|
86900
|
+
angle: style.fillGradientAngle,
|
|
86901
|
+
fillToRect: style.fillGradientFillToRect,
|
|
86902
|
+
focalPoint: style.fillGradientFocalPoint
|
|
86903
|
+
},
|
|
86904
|
+
svgGradientId(elementId)
|
|
86905
|
+
);
|
|
86906
|
+
}
|
|
86907
|
+
function buildSvgStrokeGradientDef(style, elementId) {
|
|
86908
|
+
if (!style || style.strokeFillMode !== "gradient") {
|
|
86909
|
+
return void 0;
|
|
86910
|
+
}
|
|
86911
|
+
return buildFromSource(
|
|
86912
|
+
{
|
|
86913
|
+
stops: toSvgStops(style.strokeGradientStops),
|
|
86914
|
+
type: style.strokeGradientType,
|
|
86915
|
+
angle: style.strokeGradientAngle
|
|
86916
|
+
},
|
|
86917
|
+
svgGradientId(elementId, "stroke")
|
|
86918
|
+
);
|
|
86919
|
+
}
|
|
86920
|
+
function buildSvgStrokePatternDef(style, elementId) {
|
|
86921
|
+
if (!style || style.strokeFillMode !== "pattern" || !style.strokePatternPreset) {
|
|
86922
|
+
return void 0;
|
|
86923
|
+
}
|
|
86924
|
+
const fg = normalizeHexColor(style.strokeColor, "#000000");
|
|
86925
|
+
const bg = normalizeHexColor(style.strokePatternBackgroundColor, "#ffffff");
|
|
86926
|
+
const tile = getPatternTile(style.strokePatternPreset, fg, bg);
|
|
86927
|
+
if (!tile) {
|
|
86928
|
+
return void 0;
|
|
86929
|
+
}
|
|
86930
|
+
const markup = `<svg xmlns="http://www.w3.org/2000/svg" width="${tile.w}" height="${tile.h}">${tile.inner}</svg>`;
|
|
86931
|
+
return {
|
|
86932
|
+
kind: "pattern",
|
|
86933
|
+
id: svgGradientId(elementId, "strokepat"),
|
|
86934
|
+
width: tile.w,
|
|
86935
|
+
height: tile.h,
|
|
86936
|
+
href: `data:image/svg+xml,${encodeURIComponent(markup)}`
|
|
86937
|
+
};
|
|
86938
|
+
}
|
|
86939
|
+
function svgGradientFillRef(def) {
|
|
86940
|
+
return `url(#${def.id})`;
|
|
86941
|
+
}
|
|
86930
86942
|
var DEFAULT_OPEN_PRESET_STROKE_WIDTH = 2;
|
|
86931
86943
|
function outlinePathData(clipPath, width, height) {
|
|
86932
86944
|
if (!Number.isFinite(width) || !Number.isFinite(height) || width <= 0 || height <= 0) {
|
|
@@ -87004,6 +87016,29 @@ function strokeOutlineViewBox(element) {
|
|
|
87004
87016
|
function suppressesCssBorder(element) {
|
|
87005
87017
|
return buildStrokeOutline(element) !== void 0;
|
|
87006
87018
|
}
|
|
87019
|
+
var HOLLOW_HIT_MIN_WIDTH = 10;
|
|
87020
|
+
function isHollowShapeElement(element) {
|
|
87021
|
+
if (element.type !== "shape" || !hasShapeProperties(element)) {
|
|
87022
|
+
return false;
|
|
87023
|
+
}
|
|
87024
|
+
const style = element.shapeStyle;
|
|
87025
|
+
const filled = style?.fillColor !== void 0 && style.fillColor !== "transparent" || style?.fillMode === "gradient" || style?.fillMode === "pattern" || style?.fillMode === "image" || style?.fillMode === "group" || Boolean(style?.fillGradient);
|
|
87026
|
+
if (filled) {
|
|
87027
|
+
return false;
|
|
87028
|
+
}
|
|
87029
|
+
return getElementTextContent(element).trim() === "";
|
|
87030
|
+
}
|
|
87031
|
+
function buildHollowHitOutline(element) {
|
|
87032
|
+
if (!isHollowShapeElement(element)) {
|
|
87033
|
+
return void 0;
|
|
87034
|
+
}
|
|
87035
|
+
const d = outlinePathData(getResolvedShapeClipPath(element), element.width, element.height);
|
|
87036
|
+
if (!d) {
|
|
87037
|
+
return void 0;
|
|
87038
|
+
}
|
|
87039
|
+
const strokeWidth = hasShapeProperties(element) ? element.shapeStyle?.strokeWidth ?? 0 : 0;
|
|
87040
|
+
return { d, strokeWidth: Math.max(strokeWidth * 3, HOLLOW_HIT_MIN_WIDTH) };
|
|
87041
|
+
}
|
|
87007
87042
|
function hasStrokePaint(style) {
|
|
87008
87043
|
if (!style || Math.max(0, style.strokeWidth ?? 0) <= 0) {
|
|
87009
87044
|
return false;
|
|
@@ -92063,6 +92098,7 @@ function buildMultiLevelCategoryLabels(categoryLabels, categoryLevels, sourceInd
|
|
|
92063
92098
|
const direction = labelsAbove ? -1 : 1;
|
|
92064
92099
|
const fontPx = axis?.fontSize !== void 0 ? chartFontPx(axis.fontSize) : DEFAULT_CHART_TEXT_PX;
|
|
92065
92100
|
const bandHeight = Math.max(fontPx, 8) + 4;
|
|
92101
|
+
const baselineShift = labelsAbove ? -0.2 * fontPx : 0.8 * fontPx;
|
|
92066
92102
|
return levels.flatMap((level, levelIndex) => {
|
|
92067
92103
|
const values = sourceIndices2.map((sourceIndex) => level[sourceIndex] ?? "");
|
|
92068
92104
|
return groupedLabels(values).flatMap((group2) => {
|
|
@@ -92075,7 +92111,7 @@ function buildMultiLevelCategoryLabels(categoryLabels, categoryLevels, sourceInd
|
|
|
92075
92111
|
{
|
|
92076
92112
|
kind: "text",
|
|
92077
92113
|
x: (startX + endX) / 2,
|
|
92078
|
-
y: labelY + direction * (offset + levelIndex * bandHeight),
|
|
92114
|
+
y: labelY + direction * (offset + levelIndex * bandHeight) + baselineShift,
|
|
92079
92115
|
text: group2.text,
|
|
92080
92116
|
textAnchor,
|
|
92081
92117
|
...chartAxisTextStyle(axis)
|
|
@@ -95979,13 +96015,21 @@ function formatAxisValue2(val2, formatCode) {
|
|
|
95979
96015
|
}
|
|
95980
96016
|
return val2.toFixed(1);
|
|
95981
96017
|
}
|
|
96018
|
+
function categoryAxisBand(chartData) {
|
|
96019
|
+
const axis = chartData.axes?.find(
|
|
96020
|
+
(candidate) => candidate.axisType === "catAx" || candidate.axisType === "dateAx"
|
|
96021
|
+
);
|
|
96022
|
+
const fontPx = axis?.fontSize !== void 0 ? chartFontPx(axis.fontSize) : DEFAULT_CHART_TEXT_PX;
|
|
96023
|
+
const offset = 4 + 8 * ((axis?.labelOffset ?? 100) / 100);
|
|
96024
|
+
return Math.max(24, offset + fontPx * 1.2);
|
|
96025
|
+
}
|
|
95982
96026
|
function computePlotLayout(elementWidth, elementHeight, chartData, hasAxes, options) {
|
|
95983
96027
|
const svgWidth = Math.max(1, elementWidth);
|
|
95984
96028
|
const svgHeight = Math.max(1, elementHeight);
|
|
95985
96029
|
let plotLeft = hasAxes ? 48 : 8;
|
|
95986
96030
|
let plotTop = 8;
|
|
95987
96031
|
let plotRight = svgWidth - 8;
|
|
95988
|
-
let plotBottom = svgHeight - (hasAxes ?
|
|
96032
|
+
let plotBottom = svgHeight - (hasAxes ? categoryAxisBand(chartData) : 8);
|
|
95989
96033
|
const style = chartData.style;
|
|
95990
96034
|
const legendPos = style?.legendPosition ?? "b";
|
|
95991
96035
|
if (style?.hasTitle) {
|
|
@@ -109571,7 +109615,7 @@ function getRoundRectAdjustmentValue(element) {
|
|
|
109571
109615
|
}
|
|
109572
109616
|
return DEFAULT_ROUND_RECT_ADJUSTMENT;
|
|
109573
109617
|
}
|
|
109574
|
-
function
|
|
109618
|
+
function getRoundRectRadiusPx2(element) {
|
|
109575
109619
|
const normalizedAdjustment = getRoundRectAdjustmentValue(element) / SHAPE_ADJUSTMENT_MAX;
|
|
109576
109620
|
return Math.min(Math.max(element.width, 1), Math.max(element.height, 1)) * 0.5 * normalizedAdjustment;
|
|
109577
109621
|
}
|
|
@@ -109584,7 +109628,7 @@ function getShapeAdjustmentHandleDescriptor(element) {
|
|
|
109584
109628
|
return null;
|
|
109585
109629
|
}
|
|
109586
109630
|
const adjustmentValue = getRoundRectAdjustmentValue(element);
|
|
109587
|
-
const radiusPx =
|
|
109631
|
+
const radiusPx = getRoundRectRadiusPx2(element);
|
|
109588
109632
|
const maxWidth = Math.max(element.width, MIN_ELEMENT_SIZE5);
|
|
109589
109633
|
const handleInset = 5;
|
|
109590
109634
|
const left = Math.max(handleInset, Math.min(maxWidth - handleInset, Math.round(radiusPx)));
|
|
@@ -123203,4 +123247,4 @@ function segmentFrameCount(durationMs, fps) {
|
|
|
123203
123247
|
* `<p:extLst>` (optional)
|
|
123204
123248
|
*/
|
|
123205
123249
|
|
|
123206
|
-
export { ACTION_BUTTON_PRESETS, ACTION_INDICATOR_CLASS, ACTION_INDICATOR_ICON_PATH, ARTISTIC_EFFECTS, AVATAR_COLOR_SWATCHES, BACKSTAGE_NAV, BACKSTAGE_TEMPLATES, BEVEL_PRESETS, BROADCAST_THROTTLE_MS, CATEGORIES, CHARACTER_SPACING_OPTIONS, COLOR_MAP_ALIAS_KEYS, COMMON_FONTS, CONNECTION_TIMEOUT_MS, DEFAULT_BROADCAST_SERVER_URL, DEFAULT_COLOR_CHANGE_TOLERANCE, DEFAULT_COLOR_MAP, DEFAULT_FONT_FAMILY, DEFAULT_INSERT_CHART_KIND, 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, LINK_TOOLTIP_CLASS, LINK_TOOLTIP_HINT_CLASS, LINK_TOOLTIP_HOST_CLASS, LINK_TOOLTIP_LABEL_CLASS, LINK_TOOLTIP_PANEL_CLASS, 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, POWERPOINT_METRIC_TRACKING, PRESENTATION_CHANNEL_NAME, PRESENTATION_HASH, PRESENTATION_MESSAGE_ORIGIN, PRESENTATION_NONCE_KEY, PRESENTATION_STAGE_ATTRIBUTE, PRESENTER_CONSOLE_CLASSES, PRESENTER_CONSOLE_CONTROLS, PRESENTER_NAVIGATOR_LABEL_KEYS, 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_TEMPLATES, 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_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, actionAffordanceLabels, activateModalFocus, addChartCategory, addChartSeries, addQuickAccessCommand, addSection, addSmartArtNode, addSmartArtNodeAsChild, addTagToCollections, alignElements, animationEffectLabel, annotationOverlayZIndex, appendPresentationInkPoint, appendTableElementColumn, appendTableElementRow, apply3dEffects, applyAcceptAllSlides, applyAcceptSlide, applyCaseTransformToSegments, applyChartBuildReveal, applyColorChange, applyDuotone, applyFormatToElement, applyMotionPathPreset, applyOutlineEdit, applyPreferenceToOptions, applyReadingViewCommand, applyRehearsalTimings, applyReroutedConnectors, applyResize, applyStyleToSelectedSegments, applyThemeOverrideToSlide, applyThemeToData, attachPresentationVisibilityPause, 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, buildSlideTemplateContent, buildSlideTemplateSlide, buildSlidesHtml, buildSlidesPdfBytes, buildSmartArt3DModel, buildSmartArtA11y, buildSmartArtPresetData, buildStrokeOutline, buildSummaryZoomView, buildSvgGradientDef, buildTableDataGrid, buildTextBlockStyle, buildTextBody3DSceneStyle, buildTextBuildSpec, buildTextFillCss, buildTextReflectionCss, buildTextRunFilterChain, buildTextShadowCss, buildThemeColorGrid, buildThemeColorMap, buildUserFontFaceStyles, canCommitActionType, canGoNext, canGoPrevious, canvasToJpegData, cell3DBevelCss, chartAreaFill, 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, createPresenceProjector, createPresentationKeyBuffer, createPresentationSessionId, createPresenterShowGuard, createPresenterTimer, createSyncGate, createTouchGestureRecognizer, createViewerOptionsStore, createViewerZoomStore, customGeometryPathsToSvgSubpaths, defaultCssVars, defaultRadius, defaultThemeColors, deleteAutosaveSnapshot, deleteSection, deleteTableColumn, deleteTableRow, deleteTagFromCollections, demoteSmartArtNode, deriveSlideFieldContext, detectOrientation, detectTouchDevice, distributeElements, downloadBlob, downloadDataUrl, dragAnchorViewY, dragValueForPart, elementActionToPptxAction, encodeGif, endAudienceDisplay, ensureActionAffordanceStyles, erasePresentationInkAt, exportDeckJson, extraQuickAccessCommands, extractPathPoints, filterCommands, filterRenderedElements, findChartPartTarget, findMediaElementByElementId, findSmartArtNodeText, firstShowSlideIndex, flattenTagCollections, forgetSessionDeck, 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, getSessionTabId, 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, isBlackboardActive, isBrowserOpenableMime, isCalloutShape, isCellInRect, isEditableMotionPath, isEditableTextElement, isEditorTextInputTarget, isElementActionable, isElementRendered, isExportAbortError, isIdentityRectClip, isImageLikeElement, isInkElement, isKeyboardOpen, isLinkedTextBox, isMixedContentBlocked, isMobileViewport, isPpactionUrl, isPresentationAdvanceClick, isPresentationSessionMessage, isStrokeOnlyPresetElement, isTemplateElement, isTemplateElementId2 as isTemplateElementId, isUrlSafe, lastShowSlideIndex, listAutosaveSnapshots, listBackstageRecentFiles, loadAudienceContent, loadSessionDeck, makeCloneId, makeSlideId, mapEditorKey, mapOutlineKey, mapPresentationKey, mayLeaveSlideShow, mediaPlaybackAttributes, mediaTransportVisible, 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, paintedStrokeWidth, paletteColor, parseDrawingColor, parseDrawingColorOpacity, parsePanoseString, parsePpactionUrl, pickSupportedMimeType, placeAudienceWindow, placeCaretAtEnd, polygonsToSvgPath, pptxActionToElementAction, preprocessCssForCapture, presentationInkPath, presenterElapsed, presenterNextDisabled, presenterPaneAdvancesOnClick, presenterPrevDisabled, presenterTimerProgress, pressuresToWidths, previousShowSlideIndex, printPropertiesFrameSlides, printPropertiesSlidesPerPage, promoteSmartArtNode, proportionalLineHeight, publishLiveGeometry, publishLiveInlineText, quickStyleSwatchCss, reResolveSlideColors, readBackstageRecentFile, readSlidesFromYDoc, readStoredViewerPrefs, readViewportMetrics, readingViewFitScale, rebuildDrawingShapesIfCleared, rebuildTableStructureInRawXml, reconcileSlidesInYDoc, recordProgressPercent, rectToCells, registerCollaborationTeardown, registerPersistentAudio, remapTextToSegments, rememberSessionDeck, removeChartCategory, removeChartSeries, removeLastTableElementColumn, removeLastTableElementRow, removeQuickAccessCommand, removeSmartArtNode, removeTableElementColumn, removeTableElementRow, renameSection, reorderSmartArtNode, rerouteConnectorsForMovedElements, resetPresenterTimer, resolveActionType, resolveAudienceScreenPlacement, resolveAutoAdvanceDelayMs, resolveAutoFitFontScale, resolveCssTextAlign, resolveDrawingShapeNodeId, resolveElementActionAffordance, resolveFontForScript, resolveFontRefIdx, resolveGroupChildFill, resolveInkColor, resolveInkOpacity, resolveInkWidth, resolveOleType, resolveParagraphAlign, resolveParagraphRtl, resolveParagraphStrutFontSize, resolvePictureBullet, resolveProfileInitial, resolveRegionCode, resolveShowSlideIndexes, resolveThemeCatalogEntry, resolveTitleBarStatusKey, resolveTransitionDurationMs, resolveTransportForServerUrl, resolveUnderlineDecorationStyle, resolveViewerAddinRows, restoreSegmentSelection, restoreSessionDeck, 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, stopAllPersistentAudio, storeAudienceContent, strokeOutlineViewBox, substituteFieldText, suppressesCssBorder, svgGradientFillRef, svgLineCap, svgPathToPolygons, swapPresentationWindows, switchSmartArtLayout, templateSchemeFromTheme, text3dEmuToPt, text3dPtToEmu, textBuildSpanStyle, themeColorLabel, themeColorSchemesEqual, themeToCssVars, tintColor2, toCssTextOrientation, toCssVerticalDirection, toCssWritingMode, toSlideIndex, toggleBlackboard, togglePresenterTimer, toggleText3dExtrusion, transformTextCase, updateCellTextInRawXml, updateCellTextStyleInRawXml, updateMergeAttrsInRawXml, updateSmartArtNodeText, updateTagInCollections, validateRoomId, valueToY, vermilionDarkColors, vermilionDarkTheme, vermilionLightColors, vermilionLightTheme, vermilionRadius, viewerOptionsToPreferences, warpPreviewPath, withChartPointValue, withChartTitle, withFrameSlides, withSlidesPerPage, writeStoredViewerPrefs };
|
|
123250
|
+
export { ACTION_BUTTON_PRESETS, ACTION_INDICATOR_CLASS, ACTION_INDICATOR_ICON_PATH, ARTISTIC_EFFECTS, AVATAR_COLOR_SWATCHES, BACKSTAGE_NAV, BACKSTAGE_TEMPLATES, BEVEL_PRESETS, BROADCAST_THROTTLE_MS, CATEGORIES, CHARACTER_SPACING_OPTIONS, COLOR_MAP_ALIAS_KEYS, COMMON_FONTS, CONNECTION_TIMEOUT_MS, DEFAULT_BROADCAST_SERVER_URL, DEFAULT_COLOR_CHANGE_TOLERANCE, DEFAULT_COLOR_MAP, DEFAULT_FONT_FAMILY, DEFAULT_INSERT_CHART_KIND, 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, LINK_TOOLTIP_CLASS, LINK_TOOLTIP_HINT_CLASS, LINK_TOOLTIP_HOST_CLASS, LINK_TOOLTIP_LABEL_CLASS, LINK_TOOLTIP_PANEL_CLASS, 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, POWERPOINT_METRIC_TRACKING, PRESENTATION_CHANNEL_NAME, PRESENTATION_HASH, PRESENTATION_MESSAGE_ORIGIN, PRESENTATION_NONCE_KEY, PRESENTATION_STAGE_ATTRIBUTE, PRESENTER_CONSOLE_CLASSES, PRESENTER_CONSOLE_CONTROLS, PRESENTER_NAVIGATOR_LABEL_KEYS, 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_TEMPLATES, 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_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, actionAffordanceLabels, activateModalFocus, addChartCategory, addChartSeries, addQuickAccessCommand, addSection, addSmartArtNode, addSmartArtNodeAsChild, addTagToCollections, alignElements, animationEffectLabel, annotationOverlayZIndex, appendPresentationInkPoint, appendTableElementColumn, appendTableElementRow, apply3dEffects, applyAcceptAllSlides, applyAcceptSlide, applyCaseTransformToSegments, applyChartBuildReveal, applyColorChange, applyDuotone, applyFormatToElement, applyMotionPathPreset, applyOutlineEdit, applyPreferenceToOptions, applyReadingViewCommand, applyRehearsalTimings, applyReroutedConnectors, applyResize, applyStyleToSelectedSegments, applyThemeOverrideToSlide, applyThemeToData, attachPresentationVisibilityPause, availableQuickAccessCommands, backstageCardsFor, bringForward, bringToFront, build3DExtrusionData, buildBroadcastViewerUrl, buildCacheKey, buildCalloutLeaderLineSvgPath, buildChartViewModel, buildCollaborationShareUrl, buildContextMenuEntries, buildCreateCollaborationConfig, buildCssGradientFromShapeStyle, buildDirectionGrid, buildDuotoneCacheKey, buildElementClipboardPayload, buildFieldSubstitutionContext, buildGlowBoxShadow, buildHandoutsHtml, buildHollowHitOutline, buildInitialGuides, buildInnerShadowCssFromShapeStyle, buildJoinCollaborationConfig, buildMorphTransitionPlan, buildMotionPathPreview, buildMultiLayerShadowCss, buildNotesHtml, buildNotesPdfBytes, buildOutline, buildOutlineHtml, buildPatternFillCss, buildPresentationAudienceUrl, buildPreviewAnimation, buildPreviewElements, buildPrintDocument, buildPrintHtmlDocument, buildReflectionCss, buildShadowCssFromShapeStyle, buildSlideTemplateContent, buildSlideTemplateSlide, buildSlidesHtml, buildSlidesPdfBytes, buildSmartArt3DModel, buildSmartArtA11y, buildSmartArtPresetData, buildStrokeOutline, buildSummaryZoomView, buildSvgGradientDef, buildTableDataGrid, buildTextBlockStyle, buildTextBody3DSceneStyle, buildTextBuildSpec, buildTextFillCss, buildTextReflectionCss, buildTextRunFilterChain, buildTextShadowCss, buildThemeColorGrid, buildThemeColorMap, buildUserFontFaceStyles, canCommitActionType, canGoNext, canGoPrevious, canvasToJpegData, cell3DBevelCss, chartAreaFill, 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, createPresenceProjector, createPresentationKeyBuffer, createPresentationSessionId, createPresenterShowGuard, createPresenterTimer, createSyncGate, createTouchGestureRecognizer, createViewerOptionsStore, createViewerZoomStore, customGeometryPathsToSvgSubpaths, defaultCssVars, defaultRadius, defaultThemeColors, deleteAutosaveSnapshot, deleteSection, deleteTableColumn, deleteTableRow, deleteTagFromCollections, demoteSmartArtNode, deriveSlideFieldContext, detectOrientation, detectTouchDevice, distributeElements, downloadBlob, downloadDataUrl, dragAnchorViewY, dragValueForPart, elementActionToPptxAction, encodeGif, endAudienceDisplay, ensureActionAffordanceStyles, erasePresentationInkAt, exportDeckJson, extraQuickAccessCommands, extractPathPoints, filterCommands, filterRenderedElements, findChartPartTarget, findMediaElementByElementId, findSmartArtNodeText, firstShowSlideIndex, flattenTagCollections, forgetSessionDeck, 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, getRoundRectRadiusPx2, getSecondaryValueAxis, getSessionTabId, 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, isBlackboardActive, isBrowserOpenableMime, isCalloutShape, isCellInRect, isEditableMotionPath, isEditableTextElement, isEditorTextInputTarget, isElementActionable, isElementRendered, isExportAbortError, isHollowShapeElement, isIdentityRectClip, isImageLikeElement, isInkElement, isKeyboardOpen, isLinkedTextBox, isMixedContentBlocked, isMobileViewport, isPpactionUrl, isPresentationAdvanceClick, isPresentationSessionMessage, isStrokeOnlyPresetElement, isTemplateElement, isTemplateElementId2 as isTemplateElementId, isUrlSafe, lastShowSlideIndex, listAutosaveSnapshots, listBackstageRecentFiles, loadAudienceContent, loadSessionDeck, makeCloneId, makeSlideId, mapEditorKey, mapOutlineKey, mapPresentationKey, mayLeaveSlideShow, mediaPlaybackAttributes, mediaTransportVisible, 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, paintedStrokeWidth, paletteColor, parseDrawingColor, parseDrawingColorOpacity, parsePanoseString, parsePpactionUrl, pickSupportedMimeType, placeAudienceWindow, placeCaretAtEnd, polygonsToSvgPath, pptxActionToElementAction, preprocessCssForCapture, presentationInkPath, presenterElapsed, presenterNextDisabled, presenterPaneAdvancesOnClick, presenterPrevDisabled, presenterTimerProgress, pressuresToWidths, previousShowSlideIndex, printPropertiesFrameSlides, printPropertiesSlidesPerPage, promoteSmartArtNode, proportionalLineHeight, publishLiveGeometry, publishLiveInlineText, quickStyleSwatchCss, reResolveSlideColors, readBackstageRecentFile, readSlidesFromYDoc, readStoredViewerPrefs, readViewportMetrics, readingViewFitScale, rebuildDrawingShapesIfCleared, rebuildTableStructureInRawXml, reconcileSlidesInYDoc, recordProgressPercent, rectToCells, registerCollaborationTeardown, registerPersistentAudio, remapTextToSegments, rememberSessionDeck, removeChartCategory, removeChartSeries, removeLastTableElementColumn, removeLastTableElementRow, removeQuickAccessCommand, removeSmartArtNode, removeTableElementColumn, removeTableElementRow, renameSection, reorderSmartArtNode, rerouteConnectorsForMovedElements, resetPresenterTimer, resolveActionType, resolveAudienceScreenPlacement, resolveAutoAdvanceDelayMs, resolveAutoFitFontScale, resolveCssTextAlign, resolveDrawingShapeNodeId, resolveElementActionAffordance, resolveFontForScript, resolveFontRefIdx, resolveGroupChildFill, resolveInkColor, resolveInkOpacity, resolveInkWidth, resolveOleType, resolveParagraphAlign, resolveParagraphRtl, resolveParagraphStrutFontSize, resolvePictureBullet, resolveProfileInitial, resolveRegionCode, resolveShowSlideIndexes, resolveThemeCatalogEntry, resolveTitleBarStatusKey, resolveTransitionDurationMs, resolveTransportForServerUrl, resolveUnderlineDecorationStyle, resolveViewerAddinRows, restoreSegmentSelection, restoreSessionDeck, 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, stopAllPersistentAudio, storeAudienceContent, strokeOutlineViewBox, substituteFieldText, suppressesCssBorder, svgGradientFillRef, svgLineCap, svgPathToPolygons, swapPresentationWindows, switchSmartArtLayout, templateSchemeFromTheme, text3dEmuToPt, text3dPtToEmu, textBuildSpanStyle, themeColorLabel, themeColorSchemesEqual, themeToCssVars, tintColor2, toCssTextOrientation, toCssVerticalDirection, toCssWritingMode, toSlideIndex, toggleBlackboard, togglePresenterTimer, toggleText3dExtrusion, transformTextCase, updateCellTextInRawXml, updateCellTextStyleInRawXml, updateMergeAttrsInRawXml, updateSmartArtNodeText, updateTagInCollections, validateRoomId, valueToY, vermilionDarkColors, vermilionDarkTheme, vermilionLightColors, vermilionLightTheme, vermilionRadius, viewerOptionsToPreferences, warpPreviewPath, withChartPointValue, withChartTitle, withFrameSlides, withSlidesPerPage, writeStoredViewerPrefs };
|
|
Binary file
|
|
Binary file
|