pptx-react-viewer 2.2.1 → 2.4.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 +4 -0
- package/dist/{AiChatPanel-O4NYWO3D.js → AiChatPanel-HLLGXBZF.js} +23 -24
- package/dist/AiChatPanel-HLLGXBZF.js.br +0 -0
- package/dist/AiChatPanel-HLLGXBZF.js.gz +0 -0
- package/dist/{AiChatPanel-XRKEPXAM.mjs → AiChatPanel-SXYMXFYS.mjs} +4 -5
- package/dist/AiChatPanel-SXYMXFYS.mjs.br +0 -0
- package/dist/AiChatPanel-SXYMXFYS.mjs.gz +0 -0
- package/dist/{Model3DScene-JN5F5C4Z.mjs → Model3DScene-IECT4RWT.mjs} +1 -2
- package/dist/Model3DScene-IECT4RWT.mjs.br +0 -0
- package/dist/Model3DScene-IECT4RWT.mjs.gz +0 -0
- package/dist/{Model3DScene-HYE6HA2C.js → Model3DScene-ZQBWLAMC.js} +2 -3
- package/dist/Model3DScene-ZQBWLAMC.js.br +0 -0
- package/dist/Model3DScene-ZQBWLAMC.js.gz +0 -0
- package/dist/{PowerPointViewer-gmU5rc7K.d.ts → PowerPointViewer-Cjn1RgSz.d.ts} +2 -2
- package/dist/{PowerPointViewer-gmU5rc7K.d.ts.map → PowerPointViewer-Cjn1RgSz.d.ts.map} +1 -1
- package/dist/{SurfaceChart3DScene-FDJ6LC4E.js → SurfaceChart3DScene-4KRMRWW6.js} +2 -3
- package/dist/SurfaceChart3DScene-4KRMRWW6.js.br +0 -0
- package/dist/SurfaceChart3DScene-4KRMRWW6.js.gz +0 -0
- package/dist/{SurfaceChart3DScene-V7P3LQVV.mjs → SurfaceChart3DScene-52C3IMPQ.mjs} +1 -2
- package/dist/SurfaceChart3DScene-52C3IMPQ.mjs.br +0 -0
- package/dist/SurfaceChart3DScene-52C3IMPQ.mjs.gz +0 -0
- package/dist/audience-content-store-BMlth_3U.d.ts +386 -0
- package/dist/audience-content-store-BMlth_3U.d.ts.map +1 -0
- package/dist/{chunk-YIFO3WQO.js → chunk-25VSL2BB.js} +1 -0
- package/dist/chunk-25VSL2BB.js.br +0 -0
- package/dist/chunk-25VSL2BB.js.gz +0 -0
- package/dist/{chunk-XJTWUXXC.js → chunk-5GHLRHBR.js} +3 -3
- package/dist/chunk-5GHLRHBR.js.br +0 -0
- package/dist/chunk-5GHLRHBR.js.gz +0 -0
- package/dist/{chunk-2U243ZEP.js → chunk-5TPQJWEO.js} +267 -252
- package/dist/chunk-5TPQJWEO.js.br +0 -0
- package/dist/chunk-5TPQJWEO.js.gz +0 -0
- package/dist/{chunk-O75FHZQJ.mjs → chunk-G6Q3NXRV.mjs} +23 -8
- package/dist/chunk-G6Q3NXRV.mjs.br +0 -0
- package/dist/chunk-G6Q3NXRV.mjs.gz +0 -0
- package/dist/{chunk-RYHBWTPI.mjs → chunk-KK7FWBGO.mjs} +89 -69
- package/dist/chunk-KK7FWBGO.mjs.br +0 -0
- package/dist/chunk-KK7FWBGO.mjs.gz +0 -0
- package/dist/{chunk-7NSLKNCT.mjs → chunk-LRIXPSVT.mjs} +4 -6
- package/dist/chunk-LRIXPSVT.mjs.br +0 -0
- package/dist/chunk-LRIXPSVT.mjs.gz +0 -0
- package/dist/{chunk-I2HF7ZPO.mjs → chunk-Q6FC2552.mjs} +1 -1
- package/dist/chunk-Q6FC2552.mjs.br +0 -0
- package/dist/chunk-Q6FC2552.mjs.gz +0 -0
- package/dist/{chunk-R2H3FHK6.js → chunk-QBZA2GMB.mjs} +47788 -32364
- package/dist/chunk-QBZA2GMB.mjs.br +0 -0
- package/dist/chunk-QBZA2GMB.mjs.gz +0 -0
- package/dist/{chunk-K2AW5UXT.js → chunk-VEZO33T2.js} +314 -316
- package/dist/chunk-VEZO33T2.js.br +0 -0
- package/dist/chunk-VEZO33T2.js.gz +0 -0
- package/dist/{chunk-PE2I5L6R.mjs → chunk-WK56SFN7.js} +48287 -31794
- package/dist/chunk-WK56SFN7.js.br +0 -0
- package/dist/chunk-WK56SFN7.js.gz +0 -0
- package/dist/{chunk-QULJW7LU.js → chunk-XSBFV6TL.js} +929 -909
- package/dist/chunk-XSBFV6TL.js.br +0 -0
- package/dist/chunk-XSBFV6TL.js.gz +0 -0
- package/dist/{chunk-PZTPX3HK.mjs → chunk-Z6HIZWIQ.mjs} +1 -0
- package/dist/chunk-Z6HIZWIQ.mjs.br +0 -0
- package/dist/chunk-Z6HIZWIQ.mjs.gz +0 -0
- package/dist/i18n.js +4 -4
- package/dist/i18n.js.br +0 -0
- package/dist/i18n.js.gz +0 -0
- package/dist/i18n.mjs +1 -1
- package/dist/i18n.mjs.br +0 -0
- package/dist/i18n.mjs.gz +0 -0
- package/dist/index.d.ts +92 -87
- package/dist/index.js +39 -40
- package/dist/index.js.br +0 -0
- package/dist/index.js.gz +0 -0
- package/dist/index.mjs +6 -7
- package/dist/index.mjs.br +0 -0
- package/dist/index.mjs.gz +0 -0
- package/dist/internals.d.ts +519 -514
- package/dist/internals.d.ts.map +1 -1
- package/dist/internals.js +79 -81
- package/dist/internals.js.br +0 -0
- package/dist/internals.js.gz +0 -0
- package/dist/internals.mjs +4 -6
- 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/{animation-timeline-eb5z0SHW.d.ts → types-DciBT90G.d.ts} +4 -3
- package/dist/types-DciBT90G.d.ts.map +1 -0
- package/dist/{useViewerBuildingBlocks-CjureTRf.d.ts → useViewerBuildingBlocks-DMDZRawe.d.ts} +4 -4
- package/dist/{useViewerBuildingBlocks-CjureTRf.d.ts.map → useViewerBuildingBlocks-DMDZRawe.d.ts.map} +1 -1
- package/dist/viewer/index.d.ts +92 -88
- package/dist/viewer/index.js +22 -24
- package/dist/viewer/index.js.br +0 -0
- package/dist/viewer/index.js.gz +0 -0
- package/dist/viewer/index.mjs +6 -8
- package/dist/viewer/index.mjs.br +0 -0
- package/dist/viewer/index.mjs.gz +0 -0
- package/package.json +4 -4
- package/dist/AiChatPanel-O4NYWO3D.js.br +0 -0
- package/dist/AiChatPanel-O4NYWO3D.js.gz +0 -0
- package/dist/AiChatPanel-XRKEPXAM.mjs.br +0 -0
- package/dist/AiChatPanel-XRKEPXAM.mjs.gz +0 -0
- package/dist/Model3DScene-HYE6HA2C.js.br +0 -0
- package/dist/Model3DScene-HYE6HA2C.js.gz +0 -0
- package/dist/Model3DScene-JN5F5C4Z.mjs.br +0 -0
- package/dist/Model3DScene-JN5F5C4Z.mjs.gz +0 -0
- package/dist/SurfaceChart3DScene-FDJ6LC4E.js.br +0 -0
- package/dist/SurfaceChart3DScene-FDJ6LC4E.js.gz +0 -0
- package/dist/SurfaceChart3DScene-V7P3LQVV.mjs.br +0 -0
- package/dist/SurfaceChart3DScene-V7P3LQVV.mjs.gz +0 -0
- package/dist/animation-timeline-eb5z0SHW.d.ts.map +0 -1
- package/dist/chunk-2QHCOESN.js +0 -28037
- package/dist/chunk-2QHCOESN.js.br +0 -0
- package/dist/chunk-2QHCOESN.js.gz +0 -0
- package/dist/chunk-2U243ZEP.js.br +0 -0
- package/dist/chunk-2U243ZEP.js.gz +0 -0
- package/dist/chunk-6G6S7PEI.mjs +0 -27604
- package/dist/chunk-6G6S7PEI.mjs.br +0 -0
- package/dist/chunk-6G6S7PEI.mjs.gz +0 -0
- package/dist/chunk-7NSLKNCT.mjs.br +0 -0
- package/dist/chunk-7NSLKNCT.mjs.gz +0 -0
- package/dist/chunk-I2HF7ZPO.mjs.br +0 -0
- package/dist/chunk-I2HF7ZPO.mjs.gz +0 -0
- package/dist/chunk-IKBO6CZC.js +0 -2
- package/dist/chunk-IKBO6CZC.js.br +0 -3
- package/dist/chunk-IKBO6CZC.js.gz +0 -0
- package/dist/chunk-K2AW5UXT.js.br +0 -0
- package/dist/chunk-K2AW5UXT.js.gz +0 -0
- package/dist/chunk-O75FHZQJ.mjs.br +0 -0
- package/dist/chunk-O75FHZQJ.mjs.gz +0 -0
- package/dist/chunk-PE2I5L6R.mjs.br +0 -0
- package/dist/chunk-PE2I5L6R.mjs.gz +0 -0
- package/dist/chunk-PZTPX3HK.mjs.br +0 -0
- package/dist/chunk-PZTPX3HK.mjs.gz +0 -0
- package/dist/chunk-QULJW7LU.js.br +0 -0
- package/dist/chunk-QULJW7LU.js.gz +0 -0
- package/dist/chunk-R2H3FHK6.js.br +0 -0
- package/dist/chunk-R2H3FHK6.js.gz +0 -0
- package/dist/chunk-RYHBWTPI.mjs.br +0 -0
- package/dist/chunk-RYHBWTPI.mjs.gz +0 -0
- package/dist/chunk-T5U6P2JH.mjs +0 -1
- package/dist/chunk-T5U6P2JH.mjs.br +0 -0
- package/dist/chunk-T5U6P2JH.mjs.gz +0 -0
- package/dist/chunk-XJTWUXXC.js.br +0 -0
- package/dist/chunk-XJTWUXXC.js.gz +0 -0
- package/dist/chunk-YIFO3WQO.js.br +0 -0
- package/dist/chunk-YIFO3WQO.js.gz +0 -0
- package/dist/dist-VEWYRBTB.mjs +0 -2
- package/dist/dist-VEWYRBTB.mjs.br +0 -0
- package/dist/dist-VEWYRBTB.mjs.gz +0 -0
- package/dist/dist-ZCJLIRYG.js +0 -2275
- package/dist/dist-ZCJLIRYG.js.br +0 -0
- package/dist/dist-ZCJLIRYG.js.gz +0 -0
- package/dist/index-CDCSXtK3.d.ts +0 -685
- package/dist/index-CDCSXtK3.d.ts.map +0 -1
|
Binary file
|
|
Binary file
|
|
@@ -375,6 +375,7 @@ var translationsEn = {
|
|
|
375
375
|
"pptx.presentation.highlighter": "Highlighter",
|
|
376
376
|
"pptx.presentation.eraser": "Eraser",
|
|
377
377
|
"pptx.presentation.laserPointer": "Laser Pointer",
|
|
378
|
+
"pptx.presentation.endOfSlideShow": "End of slide show, click to exit.",
|
|
378
379
|
"pptx.presentation.pointerTools": "Pointer Options",
|
|
379
380
|
// Selection pane
|
|
380
381
|
"pptx.selectionPane.title": "Selection Pane",
|
|
Binary file
|
|
Binary file
|
package/dist/i18n.js
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunk25VSL2BB_js = require('./chunk-25VSL2BB.js');
|
|
4
4
|
require('./chunk-4VNS5WPM.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, "LOCALE_CATALOG", {
|
|
9
9
|
enumerable: true,
|
|
10
|
-
get: function () { return
|
|
10
|
+
get: function () { return chunk25VSL2BB_js.LOCALE_CATALOG; }
|
|
11
11
|
});
|
|
12
12
|
Object.defineProperty(exports, "keyToLabel", {
|
|
13
13
|
enumerable: true,
|
|
14
|
-
get: function () { return
|
|
14
|
+
get: function () { return chunk25VSL2BB_js.keyToLabel; }
|
|
15
15
|
});
|
|
16
16
|
Object.defineProperty(exports, "translationsEn", {
|
|
17
17
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunk25VSL2BB_js.translationsEn; }
|
|
19
19
|
});
|
package/dist/i18n.js.br
CHANGED
|
Binary file
|
package/dist/i18n.js.gz
CHANGED
|
Binary file
|
package/dist/i18n.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { LOCALE_CATALOG, keyToLabel, translationsEn } from './chunk-
|
|
1
|
+
export { LOCALE_CATALOG, keyToLabel, translationsEn } from './chunk-Z6HIZWIQ.mjs';
|
|
2
2
|
import './chunk-XGB3TDIC.mjs';
|
package/dist/i18n.mjs.br
CHANGED
|
Binary file
|
package/dist/i18n.mjs.gz
CHANGED
|
Binary file
|
package/dist/index.d.ts
CHANGED
|
@@ -554,6 +554,62 @@ interface PptxCustomPathProperties {
|
|
|
554
554
|
customGeometryTextRect?: CustomGeometryTextRect;
|
|
555
555
|
}
|
|
556
556
|
//#endregion
|
|
557
|
+
//#region src/core/types/effect-dag.d.ts
|
|
558
|
+
type EffectDagBlendMode = 'darken' | 'lighten' | 'mult' | 'over' | 'screen';
|
|
559
|
+
type EffectDagContainerType = 'sib' | 'tree';
|
|
560
|
+
type EffectDagNode = EffectDagContainer | EffectDagBlend | EffectDagXfrm | EffectDagRelOff | EffectDagBlur | EffectDagAlphaOutset | EffectDagPresetShadow | EffectDagRawLeaf;
|
|
561
|
+
interface EffectDagContainer {
|
|
562
|
+
kind: 'cont';
|
|
563
|
+
type: EffectDagContainerType;
|
|
564
|
+
name?: string;
|
|
565
|
+
children: EffectDagNode[];
|
|
566
|
+
}
|
|
567
|
+
interface EffectDagBlend {
|
|
568
|
+
kind: 'blend';
|
|
569
|
+
mode: EffectDagBlendMode;
|
|
570
|
+
container: EffectDagContainer;
|
|
571
|
+
}
|
|
572
|
+
interface EffectDagXfrm {
|
|
573
|
+
kind: 'xfrmEffect';
|
|
574
|
+
sx?: number;
|
|
575
|
+
sy?: number;
|
|
576
|
+
kx?: number;
|
|
577
|
+
ky?: number;
|
|
578
|
+
tx?: number;
|
|
579
|
+
ty?: number;
|
|
580
|
+
}
|
|
581
|
+
interface EffectDagRelOff {
|
|
582
|
+
kind: 'relOff';
|
|
583
|
+
tx?: number;
|
|
584
|
+
ty?: number;
|
|
585
|
+
}
|
|
586
|
+
/** Typed CT_BlurEffect with its original payload retained for lossless edits. */
|
|
587
|
+
interface EffectDagBlur {
|
|
588
|
+
kind: 'blur';
|
|
589
|
+
radiusEmu?: number;
|
|
590
|
+
grow?: boolean;
|
|
591
|
+
xml: XmlObject;
|
|
592
|
+
}
|
|
593
|
+
/** Typed CT_AlphaOutsetEffect with original XML retained for lossless edits. */
|
|
594
|
+
interface EffectDagAlphaOutset {
|
|
595
|
+
kind: 'alphaOutset';
|
|
596
|
+
radiusEmu?: number;
|
|
597
|
+
xml: XmlObject;
|
|
598
|
+
}
|
|
599
|
+
/** Typed CT_PresetShadowEffect with colour and extension XML retained verbatim. */
|
|
600
|
+
interface EffectDagPresetShadow {
|
|
601
|
+
kind: 'prstShdw';
|
|
602
|
+
preset?: `shdw${number}`;
|
|
603
|
+
distanceEmu?: number;
|
|
604
|
+
direction?: number;
|
|
605
|
+
xml: XmlObject;
|
|
606
|
+
}
|
|
607
|
+
interface EffectDagRawLeaf {
|
|
608
|
+
kind: 'raw';
|
|
609
|
+
tag: string;
|
|
610
|
+
xml: Record<string, unknown>;
|
|
611
|
+
}
|
|
612
|
+
//#endregion
|
|
557
613
|
//#region src/core/types/three-d.d.ts
|
|
558
614
|
/**
|
|
559
615
|
* 3-D effect properties, text warp (WordArt) presets, and scene/shape bevel
|
|
@@ -1016,6 +1072,15 @@ interface ShapeStyle {
|
|
|
1016
1072
|
lineGlowOpacity?: number;
|
|
1017
1073
|
/** Raw `a:effectDag` XML node preserved for round-trip serialisation. */
|
|
1018
1074
|
effectDagXml?: XmlObject;
|
|
1075
|
+
/**
|
|
1076
|
+
* Typed effect graph parsed from {@link ShapeStyle.effectDagXml}. The four
|
|
1077
|
+
* structural container nodes (`a:cont`, `a:blend`, `a:xfrmEffect`,
|
|
1078
|
+
* `a:relOff`) are fully typed; any other leaf effect (e.g. `a:outerShdw`,
|
|
1079
|
+
* `a:glow`, `a:alphaInv`) is captured as
|
|
1080
|
+
* {@link import('./effect-dag').EffectDagRawLeaf} so we never have to
|
|
1081
|
+
* recurse into the full effect taxonomy.
|
|
1082
|
+
*/
|
|
1083
|
+
effectDagTree?: EffectDagContainer;
|
|
1019
1084
|
/** Grayscale flag from effectDag `a:grayscl`. */
|
|
1020
1085
|
dagGrayscale?: boolean;
|
|
1021
1086
|
/** Bi-level threshold (0-100) from effectDag `a:biLevel`. */
|
|
@@ -1450,6 +1515,20 @@ interface TextStyle {
|
|
|
1450
1515
|
textPresetShadowDirection?: number;
|
|
1451
1516
|
/** Text blur effect radius in px (`a:blur`). */
|
|
1452
1517
|
textBlurRadius?: number;
|
|
1518
|
+
/**
|
|
1519
|
+
* Raw `a:effectDag` XML node from `a:rPr`, preserved verbatim for
|
|
1520
|
+
* round-trip serialisation. Mirrors the shape-level
|
|
1521
|
+
* {@link import('./shape-style').ShapeStyle.effectDagXml} field.
|
|
1522
|
+
*/
|
|
1523
|
+
textEffectDagXml?: XmlObject;
|
|
1524
|
+
/**
|
|
1525
|
+
* Typed effect graph parsed from `textEffectDagXml`. The four structural
|
|
1526
|
+
* container nodes (`a:cont`, `a:blend`, `a:xfrmEffect`, `a:relOff`) are
|
|
1527
|
+
* fully typed; any other leaf effect is captured as
|
|
1528
|
+
* {@link import('./effect-dag').EffectDagRawLeaf} so we never have to
|
|
1529
|
+
* recurse into the full effect taxonomy.
|
|
1530
|
+
*/
|
|
1531
|
+
textEffectDagTree?: EffectDagContainer;
|
|
1453
1532
|
/** Text alpha modulation fixed (0-100) from `a:alphaModFix`. */
|
|
1454
1533
|
textAlphaModFix?: number;
|
|
1455
1534
|
/** Text alpha modulation from `a:alphaMod` (0-100 percentage). */
|
|
@@ -2840,62 +2919,6 @@ interface PptxChartData {
|
|
|
2840
2919
|
clrMapOvr?: Record<string, string>;
|
|
2841
2920
|
}
|
|
2842
2921
|
//#endregion
|
|
2843
|
-
//#region src/core/types/effect-dag.d.ts
|
|
2844
|
-
type EffectDagBlendMode = 'darken' | 'lighten' | 'mult' | 'over' | 'screen';
|
|
2845
|
-
type EffectDagContainerType = 'sib' | 'tree';
|
|
2846
|
-
type EffectDagNode = EffectDagContainer | EffectDagBlend | EffectDagXfrm | EffectDagRelOff | EffectDagBlur | EffectDagAlphaOutset | EffectDagPresetShadow | EffectDagRawLeaf;
|
|
2847
|
-
interface EffectDagContainer {
|
|
2848
|
-
kind: 'cont';
|
|
2849
|
-
type: EffectDagContainerType;
|
|
2850
|
-
name?: string;
|
|
2851
|
-
children: EffectDagNode[];
|
|
2852
|
-
}
|
|
2853
|
-
interface EffectDagBlend {
|
|
2854
|
-
kind: 'blend';
|
|
2855
|
-
mode: EffectDagBlendMode;
|
|
2856
|
-
container: EffectDagContainer;
|
|
2857
|
-
}
|
|
2858
|
-
interface EffectDagXfrm {
|
|
2859
|
-
kind: 'xfrmEffect';
|
|
2860
|
-
sx?: number;
|
|
2861
|
-
sy?: number;
|
|
2862
|
-
kx?: number;
|
|
2863
|
-
ky?: number;
|
|
2864
|
-
tx?: number;
|
|
2865
|
-
ty?: number;
|
|
2866
|
-
}
|
|
2867
|
-
interface EffectDagRelOff {
|
|
2868
|
-
kind: 'relOff';
|
|
2869
|
-
tx?: number;
|
|
2870
|
-
ty?: number;
|
|
2871
|
-
}
|
|
2872
|
-
/** Typed CT_BlurEffect with its original payload retained for lossless edits. */
|
|
2873
|
-
interface EffectDagBlur {
|
|
2874
|
-
kind: 'blur';
|
|
2875
|
-
radiusEmu?: number;
|
|
2876
|
-
grow?: boolean;
|
|
2877
|
-
xml: XmlObject;
|
|
2878
|
-
}
|
|
2879
|
-
/** Typed CT_AlphaOutsetEffect with original XML retained for lossless edits. */
|
|
2880
|
-
interface EffectDagAlphaOutset {
|
|
2881
|
-
kind: 'alphaOutset';
|
|
2882
|
-
radiusEmu?: number;
|
|
2883
|
-
xml: XmlObject;
|
|
2884
|
-
}
|
|
2885
|
-
/** Typed CT_PresetShadowEffect with colour and extension XML retained verbatim. */
|
|
2886
|
-
interface EffectDagPresetShadow {
|
|
2887
|
-
kind: 'prstShdw';
|
|
2888
|
-
preset?: `shdw${number}`;
|
|
2889
|
-
distanceEmu?: number;
|
|
2890
|
-
direction?: number;
|
|
2891
|
-
xml: XmlObject;
|
|
2892
|
-
}
|
|
2893
|
-
interface EffectDagRawLeaf {
|
|
2894
|
-
kind: 'raw';
|
|
2895
|
-
tag: string;
|
|
2896
|
-
xml: Record<string, unknown>;
|
|
2897
|
-
}
|
|
2898
|
-
//#endregion
|
|
2899
2922
|
//#region src/core/types/image.d.ts
|
|
2900
2923
|
/**
|
|
2901
2924
|
* Image recolour/adjustment properties parsed from blip extensions.
|
|
@@ -3098,36 +3121,6 @@ interface PptxImageProperties {
|
|
|
3098
3121
|
/** Crop-to-shape — CSS clip-path shape name. */
|
|
3099
3122
|
cropShape?: PptxCropShape;
|
|
3100
3123
|
}
|
|
3101
|
-
declare module "./index" {
|
|
3102
|
-
interface TextStyle {
|
|
3103
|
-
/**
|
|
3104
|
-
* Raw `a:effectDag` XML node from `a:rPr`, preserved verbatim for
|
|
3105
|
-
* round-trip serialisation. Mirrors the shape-level
|
|
3106
|
-
* {@link import('./shape-style').ShapeStyle.effectDagXml} field.
|
|
3107
|
-
*/
|
|
3108
|
-
textEffectDagXml?: XmlObject;
|
|
3109
|
-
/**
|
|
3110
|
-
* Typed effect graph parsed from `textEffectDagXml`. The four structural
|
|
3111
|
-
* container nodes (`a:cont`, `a:blend`, `a:xfrmEffect`, `a:relOff`) are
|
|
3112
|
-
* fully typed; any other leaf effect is captured as
|
|
3113
|
-
* {@link EffectDagRawLeaf} so we never have to recurse into the full
|
|
3114
|
-
* effect taxonomy.
|
|
3115
|
-
*/
|
|
3116
|
-
textEffectDagTree?: EffectDagContainer;
|
|
3117
|
-
}
|
|
3118
|
-
}
|
|
3119
|
-
declare module "./index" {
|
|
3120
|
-
interface ShapeStyle {
|
|
3121
|
-
/**
|
|
3122
|
-
* Typed effect graph parsed from {@link ShapeStyle.effectDagXml}. The four
|
|
3123
|
-
* structural container nodes (`a:cont`, `a:blend`, `a:xfrmEffect`,
|
|
3124
|
-
* `a:relOff`) are fully typed; any other leaf effect (e.g. `a:outerShdw`,
|
|
3125
|
-
* `a:glow`, `a:alphaInv`) is captured as {@link EffectDagRawLeaf} so we
|
|
3126
|
-
* never have to recurse into the full effect taxonomy.
|
|
3127
|
-
*/
|
|
3128
|
-
effectDagTree?: EffectDagContainer;
|
|
3129
|
-
}
|
|
3130
|
-
}
|
|
3131
3124
|
//#endregion
|
|
3132
3125
|
//#region src/core/types/media.d.ts
|
|
3133
3126
|
/**
|
|
@@ -6847,7 +6840,6 @@ interface PptxEmbeddedFont {
|
|
|
6847
6840
|
originalPartBytes?: Uint8Array;
|
|
6848
6841
|
}
|
|
6849
6842
|
|
|
6850
|
-
//#endregion
|
|
6851
6843
|
//#region src/core/types/theme-presets.d.ts
|
|
6852
6844
|
/**
|
|
6853
6845
|
* A complete theme preset that can be applied to a presentation.
|
|
@@ -6886,6 +6878,13 @@ type FillInput = {
|
|
|
6886
6878
|
opacity?: number;
|
|
6887
6879
|
} | {
|
|
6888
6880
|
type: 'gradient';
|
|
6881
|
+
/**
|
|
6882
|
+
* Gradient direction in the OOXML `a:lin/@ang` convention: degrees
|
|
6883
|
+
* clockwise from the positive x-axis, pointing from the first stop
|
|
6884
|
+
* towards the last (`0` = left to right, `90` = top to bottom). This is
|
|
6885
|
+
* what lands in `ShapeStyle.fillGradientAngle` and what is written back
|
|
6886
|
+
* to the file, NOT a CSS `linear-gradient()` angle.
|
|
6887
|
+
*/
|
|
6889
6888
|
angle?: number;
|
|
6890
6889
|
gradientType?: 'linear' | 'radial';
|
|
6891
6890
|
stops: Array<{
|
|
@@ -7043,6 +7042,12 @@ type BackgroundInput = {
|
|
|
7043
7042
|
color: string;
|
|
7044
7043
|
} | {
|
|
7045
7044
|
type: 'gradient';
|
|
7045
|
+
/**
|
|
7046
|
+
* Slide backgrounds are stored as a ready-made CSS gradient string
|
|
7047
|
+
* (`PptxSlide.backgroundGradient`), so this is a CSS
|
|
7048
|
+
* `linear-gradient()` angle: degrees clockwise from "to top"
|
|
7049
|
+
* (`90` = left to right, `180` = top to bottom). Defaults to `180`.
|
|
7050
|
+
*/
|
|
7046
7051
|
angle?: number;
|
|
7047
7052
|
stops: Array<{
|
|
7048
7053
|
color: string;
|
package/dist/index.js
CHANGED
|
@@ -1,133 +1,132 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('./chunk-
|
|
5
|
-
var
|
|
6
|
-
var
|
|
7
|
-
var
|
|
8
|
-
var
|
|
9
|
-
require('./chunk-R2H3FHK6.js');
|
|
3
|
+
var chunkXSBFV6TL_js = require('./chunk-XSBFV6TL.js');
|
|
4
|
+
require('./chunk-5GHLRHBR.js');
|
|
5
|
+
var chunkVEZO33T2_js = require('./chunk-VEZO33T2.js');
|
|
6
|
+
var chunk5TPQJWEO_js = require('./chunk-5TPQJWEO.js');
|
|
7
|
+
var chunk25VSL2BB_js = require('./chunk-25VSL2BB.js');
|
|
8
|
+
var chunkWK56SFN7_js = require('./chunk-WK56SFN7.js');
|
|
10
9
|
require('./chunk-4VNS5WPM.js');
|
|
11
10
|
|
|
12
11
|
|
|
13
12
|
|
|
14
13
|
Object.defineProperty(exports, "PowerPointViewer", {
|
|
15
14
|
enumerable: true,
|
|
16
|
-
get: function () { return
|
|
15
|
+
get: function () { return chunkXSBFV6TL_js.PowerPointViewer; }
|
|
17
16
|
});
|
|
18
17
|
Object.defineProperty(exports, "SlideCanvas", {
|
|
19
18
|
enumerable: true,
|
|
20
|
-
get: function () { return
|
|
19
|
+
get: function () { return chunkXSBFV6TL_js.SlideCanvas; }
|
|
21
20
|
});
|
|
22
21
|
Object.defineProperty(exports, "Toolbar", {
|
|
23
22
|
enumerable: true,
|
|
24
|
-
get: function () { return
|
|
23
|
+
get: function () { return chunkXSBFV6TL_js.Toolbar; }
|
|
25
24
|
});
|
|
26
25
|
Object.defineProperty(exports, "ViewerThemeProvider", {
|
|
27
26
|
enumerable: true,
|
|
28
|
-
get: function () { return
|
|
27
|
+
get: function () { return chunkXSBFV6TL_js.ViewerThemeProvider; }
|
|
29
28
|
});
|
|
30
29
|
Object.defineProperty(exports, "useViewerTheme", {
|
|
31
30
|
enumerable: true,
|
|
32
|
-
get: function () { return
|
|
31
|
+
get: function () { return chunkXSBFV6TL_js.useViewerTheme; }
|
|
33
32
|
});
|
|
34
33
|
Object.defineProperty(exports, "renderToCanvas", {
|
|
35
34
|
enumerable: true,
|
|
36
|
-
get: function () { return
|
|
35
|
+
get: function () { return chunkVEZO33T2_js.renderToCanvas; }
|
|
37
36
|
});
|
|
38
37
|
Object.defineProperty(exports, "useViewerBuildingBlocks", {
|
|
39
38
|
enumerable: true,
|
|
40
|
-
get: function () { return
|
|
39
|
+
get: function () { return chunkVEZO33T2_js.useViewerBuildingBlocks; }
|
|
41
40
|
});
|
|
42
41
|
Object.defineProperty(exports, "getAnimationInitialStyle", {
|
|
43
42
|
enumerable: true,
|
|
44
|
-
get: function () { return
|
|
43
|
+
get: function () { return chunk5TPQJWEO_js.getAnimationInitialStyle; }
|
|
44
|
+
});
|
|
45
|
+
Object.defineProperty(exports, "LOCALE_CATALOG", {
|
|
46
|
+
enumerable: true,
|
|
47
|
+
get: function () { return chunk25VSL2BB_js.LOCALE_CATALOG; }
|
|
45
48
|
});
|
|
46
49
|
Object.defineProperty(exports, "AVATAR_COLOR_SWATCHES", {
|
|
47
50
|
enumerable: true,
|
|
48
|
-
get: function () { return
|
|
51
|
+
get: function () { return chunkWK56SFN7_js.AVATAR_COLOR_SWATCHES; }
|
|
49
52
|
});
|
|
50
53
|
Object.defineProperty(exports, "DEFAULT_VIEWER_PROFILE", {
|
|
51
54
|
enumerable: true,
|
|
52
|
-
get: function () { return
|
|
55
|
+
get: function () { return chunkWK56SFN7_js.DEFAULT_VIEWER_PROFILE; }
|
|
53
56
|
});
|
|
54
57
|
Object.defineProperty(exports, "THEME_CATALOG", {
|
|
55
58
|
enumerable: true,
|
|
56
|
-
get: function () { return
|
|
59
|
+
get: function () { return chunkWK56SFN7_js.THEME_CATALOG; }
|
|
57
60
|
});
|
|
58
61
|
Object.defineProperty(exports, "VIEWER_PREFS_STORAGE_KEY", {
|
|
59
62
|
enumerable: true,
|
|
60
|
-
get: function () { return
|
|
63
|
+
get: function () { return chunkWK56SFN7_js.VIEWER_PREFS_STORAGE_KEY; }
|
|
61
64
|
});
|
|
62
65
|
Object.defineProperty(exports, "clearAllLocalViewerData", {
|
|
63
66
|
enumerable: true,
|
|
64
|
-
get: function () { return
|
|
67
|
+
get: function () { return chunkWK56SFN7_js.clearAllLocalViewerData; }
|
|
65
68
|
});
|
|
66
69
|
Object.defineProperty(exports, "clearStoredViewerPrefs", {
|
|
67
70
|
enumerable: true,
|
|
68
|
-
get: function () { return
|
|
71
|
+
get: function () { return chunkWK56SFN7_js.clearStoredViewerPrefs; }
|
|
69
72
|
});
|
|
70
73
|
Object.defineProperty(exports, "defaultCssVars", {
|
|
71
74
|
enumerable: true,
|
|
72
|
-
get: function () { return
|
|
75
|
+
get: function () { return chunkWK56SFN7_js.defaultCssVars; }
|
|
73
76
|
});
|
|
74
77
|
Object.defineProperty(exports, "defaultRadius", {
|
|
75
78
|
enumerable: true,
|
|
76
|
-
get: function () { return
|
|
79
|
+
get: function () { return chunkWK56SFN7_js.defaultRadius; }
|
|
77
80
|
});
|
|
78
81
|
Object.defineProperty(exports, "defaultThemeColors", {
|
|
79
82
|
enumerable: true,
|
|
80
|
-
get: function () { return
|
|
83
|
+
get: function () { return chunkWK56SFN7_js.defaultThemeColors; }
|
|
81
84
|
});
|
|
82
85
|
Object.defineProperty(exports, "getLocalStorageUsageSummary", {
|
|
83
86
|
enumerable: true,
|
|
84
|
-
get: function () { return
|
|
87
|
+
get: function () { return chunkWK56SFN7_js.getLocalStorageUsageSummary; }
|
|
85
88
|
});
|
|
86
89
|
Object.defineProperty(exports, "readStoredViewerPrefs", {
|
|
87
90
|
enumerable: true,
|
|
88
|
-
get: function () { return
|
|
91
|
+
get: function () { return chunkWK56SFN7_js.readStoredViewerPrefs; }
|
|
89
92
|
});
|
|
90
93
|
Object.defineProperty(exports, "resolveProfileInitial", {
|
|
91
94
|
enumerable: true,
|
|
92
|
-
get: function () { return
|
|
95
|
+
get: function () { return chunkWK56SFN7_js.resolveProfileInitial; }
|
|
93
96
|
});
|
|
94
97
|
Object.defineProperty(exports, "resolveThemeCatalogEntry", {
|
|
95
98
|
enumerable: true,
|
|
96
|
-
get: function () { return
|
|
99
|
+
get: function () { return chunkWK56SFN7_js.resolveThemeCatalogEntry; }
|
|
97
100
|
});
|
|
98
101
|
Object.defineProperty(exports, "saveViewerProfile", {
|
|
99
102
|
enumerable: true,
|
|
100
|
-
get: function () { return
|
|
103
|
+
get: function () { return chunkWK56SFN7_js.saveViewerProfile; }
|
|
101
104
|
});
|
|
102
105
|
Object.defineProperty(exports, "themeToCssVars", {
|
|
103
106
|
enumerable: true,
|
|
104
|
-
get: function () { return
|
|
107
|
+
get: function () { return chunkWK56SFN7_js.themeToCssVars; }
|
|
105
108
|
});
|
|
106
109
|
Object.defineProperty(exports, "vermilionDarkColors", {
|
|
107
110
|
enumerable: true,
|
|
108
|
-
get: function () { return
|
|
111
|
+
get: function () { return chunkWK56SFN7_js.vermilionDarkColors; }
|
|
109
112
|
});
|
|
110
113
|
Object.defineProperty(exports, "vermilionDarkTheme", {
|
|
111
114
|
enumerable: true,
|
|
112
|
-
get: function () { return
|
|
115
|
+
get: function () { return chunkWK56SFN7_js.vermilionDarkTheme; }
|
|
113
116
|
});
|
|
114
117
|
Object.defineProperty(exports, "vermilionLightColors", {
|
|
115
118
|
enumerable: true,
|
|
116
|
-
get: function () { return
|
|
119
|
+
get: function () { return chunkWK56SFN7_js.vermilionLightColors; }
|
|
117
120
|
});
|
|
118
121
|
Object.defineProperty(exports, "vermilionLightTheme", {
|
|
119
122
|
enumerable: true,
|
|
120
|
-
get: function () { return
|
|
123
|
+
get: function () { return chunkWK56SFN7_js.vermilionLightTheme; }
|
|
121
124
|
});
|
|
122
125
|
Object.defineProperty(exports, "vermilionRadius", {
|
|
123
126
|
enumerable: true,
|
|
124
|
-
get: function () { return
|
|
127
|
+
get: function () { return chunkWK56SFN7_js.vermilionRadius; }
|
|
125
128
|
});
|
|
126
129
|
Object.defineProperty(exports, "writeStoredViewerPrefs", {
|
|
127
130
|
enumerable: true,
|
|
128
|
-
get: function () { return
|
|
129
|
-
});
|
|
130
|
-
Object.defineProperty(exports, "LOCALE_CATALOG", {
|
|
131
|
-
enumerable: true,
|
|
132
|
-
get: function () { return chunkYIFO3WQO_js.LOCALE_CATALOG; }
|
|
131
|
+
get: function () { return chunkWK56SFN7_js.writeStoredViewerPrefs; }
|
|
133
132
|
});
|
package/dist/index.js.br
CHANGED
|
Binary file
|
package/dist/index.js.gz
CHANGED
|
Binary file
|
package/dist/index.mjs
CHANGED
|
@@ -1,8 +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-
|
|
5
|
-
export {
|
|
6
|
-
export {
|
|
7
|
-
import './chunk-PE2I5L6R.mjs';
|
|
1
|
+
export { PowerPointViewer, SlideCanvas, Toolbar, ViewerThemeProvider, useViewerTheme } from './chunk-KK7FWBGO.mjs';
|
|
2
|
+
import './chunk-Q6FC2552.mjs';
|
|
3
|
+
export { renderToCanvas, useViewerBuildingBlocks } from './chunk-LRIXPSVT.mjs';
|
|
4
|
+
export { getAnimationInitialStyle } from './chunk-G6Q3NXRV.mjs';
|
|
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-QBZA2GMB.mjs';
|
|
8
7
|
import './chunk-XGB3TDIC.mjs';
|
package/dist/index.mjs.br
CHANGED
|
Binary file
|
package/dist/index.mjs.gz
CHANGED
|
Binary file
|