pptx-react-viewer 2.6.0 → 2.6.2
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 +4 -0
- package/dist/{AiChatPanel-L5IOO72H.mjs → AiChatPanel-5IAXQYGH.mjs} +3 -3
- package/dist/AiChatPanel-5IAXQYGH.mjs.br +0 -0
- package/dist/AiChatPanel-5IAXQYGH.mjs.gz +0 -0
- package/dist/{AiChatPanel-53W2JG6G.js → AiChatPanel-IC2Q3H3N.js} +22 -22
- package/dist/AiChatPanel-IC2Q3H3N.js.br +0 -0
- package/dist/AiChatPanel-IC2Q3H3N.js.gz +0 -0
- package/dist/{Model3DScene-E7JGXNJN.js → Model3DScene-GOFY2PQS.js} +2 -2
- package/dist/Model3DScene-GOFY2PQS.js.br +0 -0
- package/dist/Model3DScene-GOFY2PQS.js.gz +0 -0
- package/dist/{Model3DScene-EW7OWRJK.mjs → Model3DScene-UEU7L4QY.mjs} +1 -1
- package/dist/Model3DScene-UEU7L4QY.mjs.br +0 -0
- package/dist/Model3DScene-UEU7L4QY.mjs.gz +0 -0
- package/dist/{SurfaceChart3DScene-3QB6NVKD.js → SurfaceChart3DScene-5TILKZMY.js} +2 -2
- package/dist/SurfaceChart3DScene-5TILKZMY.js.br +0 -0
- package/dist/SurfaceChart3DScene-5TILKZMY.js.gz +0 -0
- package/dist/{SurfaceChart3DScene-64HI3U7Y.mjs → SurfaceChart3DScene-KCJUDJUK.mjs} +1 -1
- package/dist/{SurfaceChart3DScene-64HI3U7Y.mjs.br → SurfaceChart3DScene-KCJUDJUK.mjs.br} +0 -0
- package/dist/SurfaceChart3DScene-KCJUDJUK.mjs.gz +0 -0
- package/dist/{chunk-UVA55CRK.js → chunk-G7PJSVUS.js} +76 -19
- package/dist/chunk-G7PJSVUS.js.br +0 -0
- package/dist/{chunk-UVA55CRK.js.gz → chunk-G7PJSVUS.js.gz} +0 -0
- package/dist/{chunk-VBWWICDF.js → chunk-IGYK3NK5.js} +3 -3
- package/dist/chunk-IGYK3NK5.js.br +0 -0
- package/dist/chunk-IGYK3NK5.js.gz +0 -0
- package/dist/{chunk-UO55N46T.mjs → chunk-LJPRMPNA.mjs} +11 -9
- package/dist/chunk-LJPRMPNA.mjs.br +0 -0
- package/dist/chunk-LJPRMPNA.mjs.gz +0 -0
- package/dist/{chunk-WCO3NEH5.mjs → chunk-MQYNBEOY.mjs} +2 -2
- package/dist/chunk-MQYNBEOY.mjs.br +0 -0
- package/dist/{chunk-WCO3NEH5.mjs.gz → chunk-MQYNBEOY.mjs.gz} +0 -0
- package/dist/{chunk-V5XVTKFS.js → chunk-TMU7Z3CU.js} +847 -845
- package/dist/chunk-TMU7Z3CU.js.br +0 -0
- package/dist/chunk-TMU7Z3CU.js.gz +0 -0
- package/dist/{chunk-DWQJW3UM.mjs → chunk-UV5R7IQY.mjs} +11 -6
- package/dist/chunk-UV5R7IQY.mjs.br +0 -0
- package/dist/chunk-UV5R7IQY.mjs.gz +0 -0
- package/dist/{chunk-EJ24IFPL.js → chunk-W27U3GQS.js} +315 -315
- package/dist/chunk-W27U3GQS.js.br +0 -0
- package/dist/chunk-W27U3GQS.js.gz +0 -0
- package/dist/{chunk-NXSAYLYI.js → chunk-XROVGBFQ.js} +245 -240
- package/dist/chunk-XROVGBFQ.js.br +0 -0
- package/dist/chunk-XROVGBFQ.js.gz +0 -0
- package/dist/{chunk-PENV7S7Z.mjs → chunk-Y4TIW2MM.mjs} +1 -1
- package/dist/chunk-Y4TIW2MM.mjs.br +0 -0
- package/dist/chunk-Y4TIW2MM.mjs.gz +0 -0
- package/dist/{chunk-34ZW32XK.mjs → chunk-Y6H2RSLB.mjs} +76 -19
- package/dist/chunk-Y6H2RSLB.mjs.br +0 -0
- package/dist/{chunk-34ZW32XK.mjs.gz → chunk-Y6H2RSLB.mjs.gz} +0 -0
- package/dist/index.js +34 -34
- 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.d.ts +5 -3
- 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 +21 -21
- 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-53W2JG6G.js.br +0 -0
- package/dist/AiChatPanel-53W2JG6G.js.gz +0 -0
- package/dist/AiChatPanel-L5IOO72H.mjs.br +0 -0
- package/dist/AiChatPanel-L5IOO72H.mjs.gz +0 -0
- package/dist/Model3DScene-E7JGXNJN.js.br +0 -0
- package/dist/Model3DScene-E7JGXNJN.js.gz +0 -0
- package/dist/Model3DScene-EW7OWRJK.mjs.br +0 -0
- package/dist/Model3DScene-EW7OWRJK.mjs.gz +0 -0
- package/dist/SurfaceChart3DScene-3QB6NVKD.js.br +0 -0
- package/dist/SurfaceChart3DScene-3QB6NVKD.js.gz +0 -0
- package/dist/SurfaceChart3DScene-64HI3U7Y.mjs.gz +0 -0
- package/dist/chunk-34ZW32XK.mjs.br +0 -0
- package/dist/chunk-DWQJW3UM.mjs.br +0 -0
- package/dist/chunk-DWQJW3UM.mjs.gz +0 -0
- package/dist/chunk-EJ24IFPL.js.br +0 -0
- package/dist/chunk-EJ24IFPL.js.gz +0 -0
- package/dist/chunk-NXSAYLYI.js.br +0 -0
- package/dist/chunk-NXSAYLYI.js.gz +0 -0
- package/dist/chunk-PENV7S7Z.mjs.br +0 -0
- package/dist/chunk-PENV7S7Z.mjs.gz +0 -0
- package/dist/chunk-UO55N46T.mjs.br +0 -0
- package/dist/chunk-UO55N46T.mjs.gz +0 -0
- package/dist/chunk-UVA55CRK.js.br +0 -0
- package/dist/chunk-V5XVTKFS.js.br +0 -0
- package/dist/chunk-V5XVTKFS.js.gz +0 -0
- package/dist/chunk-VBWWICDF.js.br +0 -0
- package/dist/chunk-VBWWICDF.js.gz +0 -0
- package/dist/chunk-WCO3NEH5.mjs.br +0 -0
|
Binary file
|
|
Binary file
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ThemePresets, PptxMarkdownConverter } from './chunk-
|
|
1
|
+
import { ThemePresets, PptxMarkdownConverter } from './chunk-Y6H2RSLB.mjs';
|
|
2
2
|
import { __export } from './chunk-XGB3TDIC.mjs';
|
|
3
3
|
import * as mcp from 'pptx-viewer-mcp';
|
|
4
4
|
import * as mcpSchemas from 'pptx-viewer-mcp/schemas';
|
|
Binary file
|
|
Binary file
|
|
@@ -64359,18 +64359,6 @@ var PptxHandlerRuntime67 = class _PptxHandlerRuntime30 extends PptxHandlerRuntim
|
|
|
64359
64359
|
if (hasShapeProperties(el) && el.shapeStyle?.strokeWidth) {
|
|
64360
64360
|
el.shapeStyle.strokeWidth *= avgScale;
|
|
64361
64361
|
}
|
|
64362
|
-
if (hasTextProperties(el)) {
|
|
64363
|
-
if (el.textStyle?.fontSize) {
|
|
64364
|
-
el.textStyle.fontSize *= Math.abs(scaleY);
|
|
64365
|
-
}
|
|
64366
|
-
if (el.textSegments) {
|
|
64367
|
-
el.textSegments.forEach((seg) => {
|
|
64368
|
-
if (seg.style.fontSize) {
|
|
64369
|
-
seg.style.fontSize *= Math.abs(scaleY);
|
|
64370
|
-
}
|
|
64371
|
-
});
|
|
64372
|
-
}
|
|
64373
|
-
}
|
|
64374
64362
|
return el;
|
|
64375
64363
|
};
|
|
64376
64364
|
this.unwrapAlternateContent(group);
|
|
@@ -98367,14 +98355,14 @@ function matchMorphElementsFull(fromSlide, toSlide) {
|
|
|
98367
98355
|
}
|
|
98368
98356
|
}
|
|
98369
98357
|
for (const fromEl of fromSlide.elements) {
|
|
98370
|
-
if (usedFrom.has(fromEl.id)) {
|
|
98358
|
+
if (usedFrom.has(fromEl.id) || !fromEl.shapeId) {
|
|
98371
98359
|
continue;
|
|
98372
98360
|
}
|
|
98373
98361
|
for (const toEl of toSlide.elements) {
|
|
98374
98362
|
if (usedTo.has(toEl.id)) {
|
|
98375
98363
|
continue;
|
|
98376
98364
|
}
|
|
98377
|
-
if (fromEl.
|
|
98365
|
+
if (toEl.shapeId && fromEl.shapeId === toEl.shapeId && fromEl.type === toEl.type) {
|
|
98378
98366
|
pairs2.push({ fromElement: fromEl, toElement: toEl });
|
|
98379
98367
|
usedFrom.add(fromEl.id);
|
|
98380
98368
|
usedTo.add(toEl.id);
|
|
@@ -98615,6 +98603,37 @@ function buildStrokeInterpolationProps(fromElement, toElement) {
|
|
|
98615
98603
|
toWidth
|
|
98616
98604
|
};
|
|
98617
98605
|
}
|
|
98606
|
+
var SIGNATURE_MAX_DEPTH = 8;
|
|
98607
|
+
function appearanceSignature(element, depth = 0) {
|
|
98608
|
+
const parts = [element.type];
|
|
98609
|
+
if (hasShapeProperties(element)) {
|
|
98610
|
+
const style = element.shapeStyle;
|
|
98611
|
+
parts.push(
|
|
98612
|
+
element.shapeType ?? "",
|
|
98613
|
+
style?.fillMode ?? "",
|
|
98614
|
+
style?.fillColor ?? "",
|
|
98615
|
+
style?.fillGradient ?? "",
|
|
98616
|
+
String(style?.fillOpacity ?? ""),
|
|
98617
|
+
style?.strokeColor ?? "",
|
|
98618
|
+
String(style?.strokeWidth ?? "")
|
|
98619
|
+
);
|
|
98620
|
+
}
|
|
98621
|
+
const image = element;
|
|
98622
|
+
parts.push(image.imagePath ?? "", image.svgPath ?? "");
|
|
98623
|
+
if (hasTextProperties(element)) {
|
|
98624
|
+
parts.push(element.text ?? "", element.textStyle?.color ?? "");
|
|
98625
|
+
}
|
|
98626
|
+
const children8 = element.children;
|
|
98627
|
+
if (children8 && depth < SIGNATURE_MAX_DEPTH) {
|
|
98628
|
+
for (const child22 of children8) {
|
|
98629
|
+
parts.push(appearanceSignature(child22, depth + 1));
|
|
98630
|
+
}
|
|
98631
|
+
}
|
|
98632
|
+
return parts.join("");
|
|
98633
|
+
}
|
|
98634
|
+
function morphPairNeedsCrossfade(fromElement, toElement) {
|
|
98635
|
+
return appearanceSignature(fromElement) !== appearanceSignature(toElement);
|
|
98636
|
+
}
|
|
98618
98637
|
function generateMorphAnimations(pairs2, durationMs, _mode = "object") {
|
|
98619
98638
|
const animations = [];
|
|
98620
98639
|
for (let index = 0; index < pairs2.length; index++) {
|
|
@@ -98627,9 +98646,10 @@ function generateMorphAnimations(pairs2, durationMs, _mode = "object") {
|
|
|
98627
98646
|
const dr = (fromElement.rotation ?? 0) - (toElement.rotation ?? 0);
|
|
98628
98647
|
const fromOpacity = fromElement.opacity ?? 1;
|
|
98629
98648
|
const toOpacity = toElement.opacity ?? 1;
|
|
98649
|
+
const crossfades = morphPairNeedsCrossfade(fromElement, toElement);
|
|
98630
98650
|
const fromProps = [
|
|
98631
98651
|
` transform: translate(${dx}px, ${dy}px) scale(${sx}, ${sy}) rotate(${dr}deg);`,
|
|
98632
|
-
` opacity: ${fromOpacity};`
|
|
98652
|
+
` opacity: ${crossfades ? 0 : fromOpacity};`
|
|
98633
98653
|
];
|
|
98634
98654
|
const toProps = [
|
|
98635
98655
|
" transform: translate(0, 0) scale(1, 1) rotate(0deg);",
|
|
@@ -98662,6 +98682,40 @@ ${toProps.join("\n")}
|
|
|
98662
98682
|
}
|
|
98663
98683
|
return animations;
|
|
98664
98684
|
}
|
|
98685
|
+
function generateMorphGhostAnimations(pairs2, durationMs, startIndex) {
|
|
98686
|
+
const animations = [];
|
|
98687
|
+
for (let index = 0; index < pairs2.length; index++) {
|
|
98688
|
+
const { fromElement, toElement } = pairs2[index];
|
|
98689
|
+
const fadesOut = morphPairNeedsCrossfade(fromElement, toElement);
|
|
98690
|
+
const safeName = `pptx-morph-ghost-${startIndex + index}-${fromElement.id.replace(/[^a-zA-Z0-9]/gu, "")}`;
|
|
98691
|
+
const dx = toElement.x - fromElement.x;
|
|
98692
|
+
const dy = toElement.y - fromElement.y;
|
|
98693
|
+
const sx = Math.max(toElement.width, 1) / Math.max(fromElement.width, 1);
|
|
98694
|
+
const sy = Math.max(toElement.height, 1) / Math.max(fromElement.height, 1);
|
|
98695
|
+
const dr = (toElement.rotation ?? 0) - (fromElement.rotation ?? 0);
|
|
98696
|
+
const originX = fromElement.x + fromElement.width / 2;
|
|
98697
|
+
const originY = fromElement.y + fromElement.height / 2;
|
|
98698
|
+
const keyframes = `
|
|
98699
|
+
@keyframes ${safeName} {
|
|
98700
|
+
from {
|
|
98701
|
+
transform-origin: ${originX}px ${originY}px;
|
|
98702
|
+
transform: translate(0, 0) scale(1, 1) rotate(0deg);
|
|
98703
|
+
opacity: ${fromElement.opacity ?? 1};
|
|
98704
|
+
}
|
|
98705
|
+
to {
|
|
98706
|
+
transform-origin: ${originX}px ${originY}px;
|
|
98707
|
+
transform: translate(${dx}px, ${dy}px) scale(${sx}, ${sy}) rotate(${dr}deg);
|
|
98708
|
+
opacity: ${fadesOut ? 0 : fromElement.opacity ?? 1};
|
|
98709
|
+
}
|
|
98710
|
+
}`;
|
|
98711
|
+
animations.push({
|
|
98712
|
+
elementId: fromElement.id,
|
|
98713
|
+
animation: `${safeName} ${durationMs}ms ${MORPH_EASING} forwards`,
|
|
98714
|
+
keyframes
|
|
98715
|
+
});
|
|
98716
|
+
}
|
|
98717
|
+
return animations;
|
|
98718
|
+
}
|
|
98665
98719
|
function generateUnmatchedFadeOutAnimations(elements, durationMs, startIndex) {
|
|
98666
98720
|
return elements.map((el, i) => {
|
|
98667
98721
|
const safeName = `pptx-morph-fadeout-${startIndex + i}-${el.id.replace(/[^a-zA-Z0-9]/gu, "")}`;
|
|
@@ -98739,16 +98793,18 @@ function generateFullMorphTransition(fromSlide, toSlide, durationMs, mode = "obj
|
|
|
98739
98793
|
}
|
|
98740
98794
|
}
|
|
98741
98795
|
}
|
|
98796
|
+
const ghosts = generateMorphGhostAnimations(matchResult.pairs, durationMs, pairAnims.length);
|
|
98797
|
+
allAnimations.push(...ghosts);
|
|
98742
98798
|
const fadeOuts = generateUnmatchedFadeOutAnimations(
|
|
98743
98799
|
matchResult.unmatchedFrom,
|
|
98744
98800
|
durationMs,
|
|
98745
|
-
pairAnims.length
|
|
98801
|
+
pairAnims.length + ghosts.length
|
|
98746
98802
|
);
|
|
98747
98803
|
allAnimations.push(...fadeOuts);
|
|
98748
98804
|
const fadeIns = generateUnmatchedFadeInAnimations(
|
|
98749
98805
|
matchResult.unmatchedTo,
|
|
98750
98806
|
durationMs,
|
|
98751
|
-
pairAnims.length + fadeOuts.length
|
|
98807
|
+
pairAnims.length + ghosts.length + fadeOuts.length
|
|
98752
98808
|
);
|
|
98753
98809
|
allAnimations.push(...fadeIns);
|
|
98754
98810
|
return allAnimations;
|
|
@@ -98771,7 +98827,8 @@ function buildMorphTransitionPlan(fromSlide, toSlide, durationMs, mode = "object
|
|
|
98771
98827
|
return void 0;
|
|
98772
98828
|
}
|
|
98773
98829
|
const animations = generateFullMorphTransition(fromSlide, toSlide, durationMs, mode);
|
|
98774
|
-
const
|
|
98830
|
+
const outgoingElements = [...fromSlide.elements];
|
|
98831
|
+
const outgoingIds = new Set(outgoingElements.map((element) => element.id));
|
|
98775
98832
|
const incomingAnimations = /* @__PURE__ */ new Map();
|
|
98776
98833
|
const outgoingAnimations = /* @__PURE__ */ new Map();
|
|
98777
98834
|
const keyframes = [];
|
|
@@ -98787,7 +98844,7 @@ function buildMorphTransitionPlan(fromSlide, toSlide, durationMs, mode = "object
|
|
|
98787
98844
|
keyframesCss: keyframes.join("\n"),
|
|
98788
98845
|
incomingAnimations,
|
|
98789
98846
|
outgoingAnimations,
|
|
98790
|
-
outgoingElements
|
|
98847
|
+
outgoingElements,
|
|
98791
98848
|
durationMs
|
|
98792
98849
|
};
|
|
98793
98850
|
}
|
|
Binary file
|
|
Binary file
|
package/dist/index.js
CHANGED
|
@@ -1,46 +1,46 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('./chunk-
|
|
5
|
-
var
|
|
6
|
-
var
|
|
3
|
+
var chunkTMU7Z3CU_js = require('./chunk-TMU7Z3CU.js');
|
|
4
|
+
require('./chunk-IGYK3NK5.js');
|
|
5
|
+
var chunkW27U3GQS_js = require('./chunk-W27U3GQS.js');
|
|
6
|
+
var chunkXROVGBFQ_js = require('./chunk-XROVGBFQ.js');
|
|
7
7
|
var chunk25VSL2BB_js = require('./chunk-25VSL2BB.js');
|
|
8
|
-
var
|
|
8
|
+
var chunkG7PJSVUS_js = require('./chunk-G7PJSVUS.js');
|
|
9
9
|
require('./chunk-4VNS5WPM.js');
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
Object.defineProperty(exports, "PowerPointViewer", {
|
|
14
14
|
enumerable: true,
|
|
15
|
-
get: function () { return
|
|
15
|
+
get: function () { return chunkTMU7Z3CU_js.PowerPointViewer; }
|
|
16
16
|
});
|
|
17
17
|
Object.defineProperty(exports, "SlideCanvas", {
|
|
18
18
|
enumerable: true,
|
|
19
|
-
get: function () { return
|
|
19
|
+
get: function () { return chunkTMU7Z3CU_js.SlideCanvas; }
|
|
20
20
|
});
|
|
21
21
|
Object.defineProperty(exports, "Toolbar", {
|
|
22
22
|
enumerable: true,
|
|
23
|
-
get: function () { return
|
|
23
|
+
get: function () { return chunkTMU7Z3CU_js.Toolbar; }
|
|
24
24
|
});
|
|
25
25
|
Object.defineProperty(exports, "ViewerThemeProvider", {
|
|
26
26
|
enumerable: true,
|
|
27
|
-
get: function () { return
|
|
27
|
+
get: function () { return chunkTMU7Z3CU_js.ViewerThemeProvider; }
|
|
28
28
|
});
|
|
29
29
|
Object.defineProperty(exports, "useViewerTheme", {
|
|
30
30
|
enumerable: true,
|
|
31
|
-
get: function () { return
|
|
31
|
+
get: function () { return chunkTMU7Z3CU_js.useViewerTheme; }
|
|
32
32
|
});
|
|
33
33
|
Object.defineProperty(exports, "renderToCanvas", {
|
|
34
34
|
enumerable: true,
|
|
35
|
-
get: function () { return
|
|
35
|
+
get: function () { return chunkW27U3GQS_js.renderToCanvas; }
|
|
36
36
|
});
|
|
37
37
|
Object.defineProperty(exports, "useViewerBuildingBlocks", {
|
|
38
38
|
enumerable: true,
|
|
39
|
-
get: function () { return
|
|
39
|
+
get: function () { return chunkW27U3GQS_js.useViewerBuildingBlocks; }
|
|
40
40
|
});
|
|
41
41
|
Object.defineProperty(exports, "getAnimationInitialStyle", {
|
|
42
42
|
enumerable: true,
|
|
43
|
-
get: function () { return
|
|
43
|
+
get: function () { return chunkXROVGBFQ_js.getAnimationInitialStyle; }
|
|
44
44
|
});
|
|
45
45
|
Object.defineProperty(exports, "LOCALE_CATALOG", {
|
|
46
46
|
enumerable: true,
|
|
@@ -48,85 +48,85 @@ Object.defineProperty(exports, "LOCALE_CATALOG", {
|
|
|
48
48
|
});
|
|
49
49
|
Object.defineProperty(exports, "AVATAR_COLOR_SWATCHES", {
|
|
50
50
|
enumerable: true,
|
|
51
|
-
get: function () { return
|
|
51
|
+
get: function () { return chunkG7PJSVUS_js.AVATAR_COLOR_SWATCHES; }
|
|
52
52
|
});
|
|
53
53
|
Object.defineProperty(exports, "DEFAULT_VIEWER_PROFILE", {
|
|
54
54
|
enumerable: true,
|
|
55
|
-
get: function () { return
|
|
55
|
+
get: function () { return chunkG7PJSVUS_js.DEFAULT_VIEWER_PROFILE; }
|
|
56
56
|
});
|
|
57
57
|
Object.defineProperty(exports, "THEME_CATALOG", {
|
|
58
58
|
enumerable: true,
|
|
59
|
-
get: function () { return
|
|
59
|
+
get: function () { return chunkG7PJSVUS_js.THEME_CATALOG; }
|
|
60
60
|
});
|
|
61
61
|
Object.defineProperty(exports, "VIEWER_PREFS_STORAGE_KEY", {
|
|
62
62
|
enumerable: true,
|
|
63
|
-
get: function () { return
|
|
63
|
+
get: function () { return chunkG7PJSVUS_js.VIEWER_PREFS_STORAGE_KEY; }
|
|
64
64
|
});
|
|
65
65
|
Object.defineProperty(exports, "clearAllLocalViewerData", {
|
|
66
66
|
enumerable: true,
|
|
67
|
-
get: function () { return
|
|
67
|
+
get: function () { return chunkG7PJSVUS_js.clearAllLocalViewerData; }
|
|
68
68
|
});
|
|
69
69
|
Object.defineProperty(exports, "clearStoredViewerPrefs", {
|
|
70
70
|
enumerable: true,
|
|
71
|
-
get: function () { return
|
|
71
|
+
get: function () { return chunkG7PJSVUS_js.clearStoredViewerPrefs; }
|
|
72
72
|
});
|
|
73
73
|
Object.defineProperty(exports, "defaultCssVars", {
|
|
74
74
|
enumerable: true,
|
|
75
|
-
get: function () { return
|
|
75
|
+
get: function () { return chunkG7PJSVUS_js.defaultCssVars; }
|
|
76
76
|
});
|
|
77
77
|
Object.defineProperty(exports, "defaultRadius", {
|
|
78
78
|
enumerable: true,
|
|
79
|
-
get: function () { return
|
|
79
|
+
get: function () { return chunkG7PJSVUS_js.defaultRadius; }
|
|
80
80
|
});
|
|
81
81
|
Object.defineProperty(exports, "defaultThemeColors", {
|
|
82
82
|
enumerable: true,
|
|
83
|
-
get: function () { return
|
|
83
|
+
get: function () { return chunkG7PJSVUS_js.defaultThemeColors; }
|
|
84
84
|
});
|
|
85
85
|
Object.defineProperty(exports, "getLocalStorageUsageSummary", {
|
|
86
86
|
enumerable: true,
|
|
87
|
-
get: function () { return
|
|
87
|
+
get: function () { return chunkG7PJSVUS_js.getLocalStorageUsageSummary; }
|
|
88
88
|
});
|
|
89
89
|
Object.defineProperty(exports, "readStoredViewerPrefs", {
|
|
90
90
|
enumerable: true,
|
|
91
|
-
get: function () { return
|
|
91
|
+
get: function () { return chunkG7PJSVUS_js.readStoredViewerPrefs; }
|
|
92
92
|
});
|
|
93
93
|
Object.defineProperty(exports, "resolveProfileInitial", {
|
|
94
94
|
enumerable: true,
|
|
95
|
-
get: function () { return
|
|
95
|
+
get: function () { return chunkG7PJSVUS_js.resolveProfileInitial; }
|
|
96
96
|
});
|
|
97
97
|
Object.defineProperty(exports, "resolveThemeCatalogEntry", {
|
|
98
98
|
enumerable: true,
|
|
99
|
-
get: function () { return
|
|
99
|
+
get: function () { return chunkG7PJSVUS_js.resolveThemeCatalogEntry; }
|
|
100
100
|
});
|
|
101
101
|
Object.defineProperty(exports, "saveViewerProfile", {
|
|
102
102
|
enumerable: true,
|
|
103
|
-
get: function () { return
|
|
103
|
+
get: function () { return chunkG7PJSVUS_js.saveViewerProfile; }
|
|
104
104
|
});
|
|
105
105
|
Object.defineProperty(exports, "themeToCssVars", {
|
|
106
106
|
enumerable: true,
|
|
107
|
-
get: function () { return
|
|
107
|
+
get: function () { return chunkG7PJSVUS_js.themeToCssVars; }
|
|
108
108
|
});
|
|
109
109
|
Object.defineProperty(exports, "vermilionDarkColors", {
|
|
110
110
|
enumerable: true,
|
|
111
|
-
get: function () { return
|
|
111
|
+
get: function () { return chunkG7PJSVUS_js.vermilionDarkColors; }
|
|
112
112
|
});
|
|
113
113
|
Object.defineProperty(exports, "vermilionDarkTheme", {
|
|
114
114
|
enumerable: true,
|
|
115
|
-
get: function () { return
|
|
115
|
+
get: function () { return chunkG7PJSVUS_js.vermilionDarkTheme; }
|
|
116
116
|
});
|
|
117
117
|
Object.defineProperty(exports, "vermilionLightColors", {
|
|
118
118
|
enumerable: true,
|
|
119
|
-
get: function () { return
|
|
119
|
+
get: function () { return chunkG7PJSVUS_js.vermilionLightColors; }
|
|
120
120
|
});
|
|
121
121
|
Object.defineProperty(exports, "vermilionLightTheme", {
|
|
122
122
|
enumerable: true,
|
|
123
|
-
get: function () { return
|
|
123
|
+
get: function () { return chunkG7PJSVUS_js.vermilionLightTheme; }
|
|
124
124
|
});
|
|
125
125
|
Object.defineProperty(exports, "vermilionRadius", {
|
|
126
126
|
enumerable: true,
|
|
127
|
-
get: function () { return
|
|
127
|
+
get: function () { return chunkG7PJSVUS_js.vermilionRadius; }
|
|
128
128
|
});
|
|
129
129
|
Object.defineProperty(exports, "writeStoredViewerPrefs", {
|
|
130
130
|
enumerable: true,
|
|
131
|
-
get: function () { return
|
|
131
|
+
get: function () { return chunkG7PJSVUS_js.writeStoredViewerPrefs; }
|
|
132
132
|
});
|
package/dist/index.js.br
CHANGED
|
Binary file
|
package/dist/index.js.gz
CHANGED
|
Binary file
|
package/dist/index.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { PowerPointViewer, SlideCanvas, Toolbar, ViewerThemeProvider, useViewerTheme } from './chunk-
|
|
2
|
-
import './chunk-
|
|
3
|
-
export { renderToCanvas, useViewerBuildingBlocks } from './chunk-
|
|
4
|
-
export { getAnimationInitialStyle } from './chunk-
|
|
1
|
+
export { PowerPointViewer, SlideCanvas, Toolbar, ViewerThemeProvider, useViewerTheme } from './chunk-LJPRMPNA.mjs';
|
|
2
|
+
import './chunk-Y4TIW2MM.mjs';
|
|
3
|
+
export { renderToCanvas, useViewerBuildingBlocks } from './chunk-MQYNBEOY.mjs';
|
|
4
|
+
export { getAnimationInitialStyle } from './chunk-UV5R7IQY.mjs';
|
|
5
5
|
export { LOCALE_CATALOG } from './chunk-Z6HIZWIQ.mjs';
|
|
6
|
-
export { AVATAR_COLOR_SWATCHES, DEFAULT_VIEWER_PROFILE, THEME_CATALOG, VIEWER_PREFS_STORAGE_KEY, clearAllLocalViewerData, clearStoredViewerPrefs, defaultCssVars, defaultRadius, defaultThemeColors, getLocalStorageUsageSummary, readStoredViewerPrefs, resolveProfileInitial, resolveThemeCatalogEntry, saveViewerProfile, themeToCssVars, vermilionDarkColors, vermilionDarkTheme, vermilionLightColors, vermilionLightTheme, vermilionRadius, writeStoredViewerPrefs } from './chunk-
|
|
6
|
+
export { AVATAR_COLOR_SWATCHES, DEFAULT_VIEWER_PROFILE, THEME_CATALOG, VIEWER_PREFS_STORAGE_KEY, clearAllLocalViewerData, clearStoredViewerPrefs, defaultCssVars, defaultRadius, defaultThemeColors, getLocalStorageUsageSummary, readStoredViewerPrefs, resolveProfileInitial, resolveThemeCatalogEntry, saveViewerProfile, themeToCssVars, vermilionDarkColors, vermilionDarkTheme, vermilionLightColors, vermilionLightTheme, vermilionRadius, writeStoredViewerPrefs } from './chunk-Y6H2RSLB.mjs';
|
|
7
7
|
import './chunk-XGB3TDIC.mjs';
|
package/dist/index.mjs.br
CHANGED
|
Binary file
|
package/dist/index.mjs.gz
CHANGED
|
Binary file
|
package/dist/internals.d.ts
CHANGED
|
@@ -8488,9 +8488,11 @@ interface MorphTransitionPlan {
|
|
|
8488
8488
|
/** Outgoing-slide element id -> CSS `animation` shorthand. */
|
|
8489
8489
|
outgoingAnimations: Map<string, string>;
|
|
8490
8490
|
/**
|
|
8491
|
-
*
|
|
8492
|
-
*
|
|
8493
|
-
*
|
|
8491
|
+
* The outgoing slide's elements, in document order, for the binding to
|
|
8492
|
+
* render in its transition overlay for the duration of the morph. Each one
|
|
8493
|
+
* carries an entry in {@link MorphTransitionPlan.outgoingAnimations}: it
|
|
8494
|
+
* either fades out in place (no counterpart) or glides onto its counterpart,
|
|
8495
|
+
* dissolving into it when the appearance changed.
|
|
8494
8496
|
*/
|
|
8495
8497
|
outgoingElements: PptxElement[];
|
|
8496
8498
|
/** Animation duration in ms, echoed for convenience. */
|