pptx-react-viewer 2.3.0 → 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 +2 -0
- package/dist/{AiChatPanel-HC3CE3TL.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-PXZYHJUB.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-ZG4HTMPX.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-37QZRHV5.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-QIREQ66D.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-Z7R6DZXN.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-EUIFPDXZ.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-P7UVBRFO.js → chunk-5TPQJWEO.js} +248 -249
- package/dist/chunk-5TPQJWEO.js.br +0 -0
- package/dist/chunk-5TPQJWEO.js.gz +0 -0
- package/dist/{chunk-VOHTAUN4.mjs → chunk-G6Q3NXRV.mjs} +3 -4
- package/dist/chunk-G6Q3NXRV.mjs.br +0 -0
- package/dist/chunk-G6Q3NXRV.mjs.gz +0 -0
- package/dist/{chunk-J5A22DZ7.mjs → chunk-KK7FWBGO.mjs} +36 -41
- package/dist/chunk-KK7FWBGO.mjs.br +0 -0
- package/dist/chunk-KK7FWBGO.mjs.gz +0 -0
- package/dist/{chunk-I5LEMC5C.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-M5YR3QSB.mjs → chunk-Q6FC2552.mjs} +1 -1
- package/dist/chunk-Q6FC2552.mjs.br +0 -0
- package/dist/{chunk-M5YR3QSB.mjs.gz → chunk-Q6FC2552.mjs.gz} +0 -0
- package/dist/{chunk-3TB45PVK.js → chunk-QBZA2GMB.mjs} +47751 -32270
- package/dist/chunk-QBZA2GMB.mjs.br +0 -0
- package/dist/chunk-QBZA2GMB.mjs.gz +0 -0
- package/dist/{chunk-L7JNCVTF.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-JFNMD6TM.mjs → chunk-WK56SFN7.js} +48250 -31698
- package/dist/chunk-WK56SFN7.js.br +0 -0
- package/dist/chunk-WK56SFN7.js.gz +0 -0
- package/dist/{chunk-ZLSVW5GP.js → chunk-XSBFV6TL.js} +876 -881
- 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 +79 -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 +506 -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 +79 -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-HC3CE3TL.js.br +0 -0
- package/dist/AiChatPanel-HC3CE3TL.js.gz +0 -0
- package/dist/AiChatPanel-PXZYHJUB.mjs.br +0 -0
- package/dist/AiChatPanel-PXZYHJUB.mjs.gz +0 -0
- package/dist/Model3DScene-37QZRHV5.js.br +0 -0
- package/dist/Model3DScene-37QZRHV5.js.gz +0 -0
- package/dist/Model3DScene-ZG4HTMPX.mjs.br +0 -0
- package/dist/Model3DScene-ZG4HTMPX.mjs.gz +0 -0
- package/dist/SurfaceChart3DScene-QIREQ66D.js.br +0 -0
- package/dist/SurfaceChart3DScene-QIREQ66D.js.gz +0 -0
- package/dist/SurfaceChart3DScene-Z7R6DZXN.mjs.br +0 -0
- package/dist/SurfaceChart3DScene-Z7R6DZXN.mjs.gz +0 -0
- package/dist/animation-timeline-eb5z0SHW.d.ts.map +0 -1
- package/dist/chunk-3TB45PVK.js.br +0 -0
- package/dist/chunk-3TB45PVK.js.gz +0 -0
- package/dist/chunk-4AAFZFGH.mjs +0 -27633
- package/dist/chunk-4AAFZFGH.mjs.br +0 -0
- package/dist/chunk-4AAFZFGH.mjs.gz +0 -0
- package/dist/chunk-EUIFPDXZ.js.br +0 -0
- package/dist/chunk-EUIFPDXZ.js.gz +0 -0
- package/dist/chunk-I5LEMC5C.mjs.br +0 -0
- package/dist/chunk-I5LEMC5C.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-J5A22DZ7.mjs.br +0 -0
- package/dist/chunk-J5A22DZ7.mjs.gz +0 -0
- package/dist/chunk-JFNMD6TM.mjs.br +0 -0
- package/dist/chunk-JFNMD6TM.mjs.gz +0 -0
- package/dist/chunk-KDW3LLG5.js +0 -28067
- package/dist/chunk-KDW3LLG5.js.br +0 -0
- package/dist/chunk-KDW3LLG5.js.gz +0 -0
- package/dist/chunk-L7JNCVTF.js.br +0 -0
- package/dist/chunk-L7JNCVTF.js.gz +0 -0
- package/dist/chunk-M5YR3QSB.mjs.br +0 -0
- package/dist/chunk-P7UVBRFO.js.br +0 -0
- package/dist/chunk-P7UVBRFO.js.gz +0 -0
- package/dist/chunk-PZTPX3HK.mjs.br +0 -0
- package/dist/chunk-PZTPX3HK.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-VOHTAUN4.mjs.br +0 -0
- package/dist/chunk-VOHTAUN4.mjs.gz +0 -0
- package/dist/chunk-YIFO3WQO.js.br +0 -0
- package/dist/chunk-YIFO3WQO.js.gz +0 -0
- package/dist/chunk-ZLSVW5GP.js.br +0 -0
- package/dist/chunk-ZLSVW5GP.js.gz +0 -0
- package/dist/dist-FTEVZZPM.js +0 -2283
- package/dist/dist-FTEVZZPM.js.br +0 -0
- package/dist/dist-FTEVZZPM.js.gz +0 -0
- package/dist/dist-L7GZVBMG.mjs +0 -2
- package/dist/dist-L7GZVBMG.mjs.br +0 -0
- package/dist/dist-L7GZVBMG.mjs.gz +0 -0
- package/dist/index-CDCSXtK3.d.ts +0 -685
- package/dist/index-CDCSXtK3.d.ts.map +0 -1
package/dist/viewer/index.d.ts
CHANGED
|
@@ -536,6 +536,62 @@ interface PptxCustomPathProperties {
|
|
|
536
536
|
customGeometryTextRect?: CustomGeometryTextRect;
|
|
537
537
|
}
|
|
538
538
|
//#endregion
|
|
539
|
+
//#region src/core/types/effect-dag.d.ts
|
|
540
|
+
type EffectDagBlendMode = 'darken' | 'lighten' | 'mult' | 'over' | 'screen';
|
|
541
|
+
type EffectDagContainerType = 'sib' | 'tree';
|
|
542
|
+
type EffectDagNode = EffectDagContainer | EffectDagBlend | EffectDagXfrm | EffectDagRelOff | EffectDagBlur | EffectDagAlphaOutset | EffectDagPresetShadow | EffectDagRawLeaf;
|
|
543
|
+
interface EffectDagContainer {
|
|
544
|
+
kind: 'cont';
|
|
545
|
+
type: EffectDagContainerType;
|
|
546
|
+
name?: string;
|
|
547
|
+
children: EffectDagNode[];
|
|
548
|
+
}
|
|
549
|
+
interface EffectDagBlend {
|
|
550
|
+
kind: 'blend';
|
|
551
|
+
mode: EffectDagBlendMode;
|
|
552
|
+
container: EffectDagContainer;
|
|
553
|
+
}
|
|
554
|
+
interface EffectDagXfrm {
|
|
555
|
+
kind: 'xfrmEffect';
|
|
556
|
+
sx?: number;
|
|
557
|
+
sy?: number;
|
|
558
|
+
kx?: number;
|
|
559
|
+
ky?: number;
|
|
560
|
+
tx?: number;
|
|
561
|
+
ty?: number;
|
|
562
|
+
}
|
|
563
|
+
interface EffectDagRelOff {
|
|
564
|
+
kind: 'relOff';
|
|
565
|
+
tx?: number;
|
|
566
|
+
ty?: number;
|
|
567
|
+
}
|
|
568
|
+
/** Typed CT_BlurEffect with its original payload retained for lossless edits. */
|
|
569
|
+
interface EffectDagBlur {
|
|
570
|
+
kind: 'blur';
|
|
571
|
+
radiusEmu?: number;
|
|
572
|
+
grow?: boolean;
|
|
573
|
+
xml: XmlObject;
|
|
574
|
+
}
|
|
575
|
+
/** Typed CT_AlphaOutsetEffect with original XML retained for lossless edits. */
|
|
576
|
+
interface EffectDagAlphaOutset {
|
|
577
|
+
kind: 'alphaOutset';
|
|
578
|
+
radiusEmu?: number;
|
|
579
|
+
xml: XmlObject;
|
|
580
|
+
}
|
|
581
|
+
/** Typed CT_PresetShadowEffect with colour and extension XML retained verbatim. */
|
|
582
|
+
interface EffectDagPresetShadow {
|
|
583
|
+
kind: 'prstShdw';
|
|
584
|
+
preset?: `shdw${number}`;
|
|
585
|
+
distanceEmu?: number;
|
|
586
|
+
direction?: number;
|
|
587
|
+
xml: XmlObject;
|
|
588
|
+
}
|
|
589
|
+
interface EffectDagRawLeaf {
|
|
590
|
+
kind: 'raw';
|
|
591
|
+
tag: string;
|
|
592
|
+
xml: Record<string, unknown>;
|
|
593
|
+
}
|
|
594
|
+
//#endregion
|
|
539
595
|
//#region src/core/types/three-d.d.ts
|
|
540
596
|
/**
|
|
541
597
|
* 3-D effect properties, text warp (WordArt) presets, and scene/shape bevel
|
|
@@ -998,6 +1054,15 @@ interface ShapeStyle {
|
|
|
998
1054
|
lineGlowOpacity?: number;
|
|
999
1055
|
/** Raw `a:effectDag` XML node preserved for round-trip serialisation. */
|
|
1000
1056
|
effectDagXml?: XmlObject;
|
|
1057
|
+
/**
|
|
1058
|
+
* Typed effect graph parsed from {@link ShapeStyle.effectDagXml}. The four
|
|
1059
|
+
* structural container nodes (`a:cont`, `a:blend`, `a:xfrmEffect`,
|
|
1060
|
+
* `a:relOff`) are fully typed; any other leaf effect (e.g. `a:outerShdw`,
|
|
1061
|
+
* `a:glow`, `a:alphaInv`) is captured as
|
|
1062
|
+
* {@link import('./effect-dag').EffectDagRawLeaf} so we never have to
|
|
1063
|
+
* recurse into the full effect taxonomy.
|
|
1064
|
+
*/
|
|
1065
|
+
effectDagTree?: EffectDagContainer;
|
|
1001
1066
|
/** Grayscale flag from effectDag `a:grayscl`. */
|
|
1002
1067
|
dagGrayscale?: boolean;
|
|
1003
1068
|
/** Bi-level threshold (0-100) from effectDag `a:biLevel`. */
|
|
@@ -1432,6 +1497,20 @@ interface TextStyle {
|
|
|
1432
1497
|
textPresetShadowDirection?: number;
|
|
1433
1498
|
/** Text blur effect radius in px (`a:blur`). */
|
|
1434
1499
|
textBlurRadius?: number;
|
|
1500
|
+
/**
|
|
1501
|
+
* Raw `a:effectDag` XML node from `a:rPr`, preserved verbatim for
|
|
1502
|
+
* round-trip serialisation. Mirrors the shape-level
|
|
1503
|
+
* {@link import('./shape-style').ShapeStyle.effectDagXml} field.
|
|
1504
|
+
*/
|
|
1505
|
+
textEffectDagXml?: XmlObject;
|
|
1506
|
+
/**
|
|
1507
|
+
* Typed effect graph parsed from `textEffectDagXml`. The four structural
|
|
1508
|
+
* container nodes (`a:cont`, `a:blend`, `a:xfrmEffect`, `a:relOff`) are
|
|
1509
|
+
* fully typed; any other leaf effect is captured as
|
|
1510
|
+
* {@link import('./effect-dag').EffectDagRawLeaf} so we never have to
|
|
1511
|
+
* recurse into the full effect taxonomy.
|
|
1512
|
+
*/
|
|
1513
|
+
textEffectDagTree?: EffectDagContainer;
|
|
1435
1514
|
/** Text alpha modulation fixed (0-100) from `a:alphaModFix`. */
|
|
1436
1515
|
textAlphaModFix?: number;
|
|
1437
1516
|
/** Text alpha modulation from `a:alphaMod` (0-100 percentage). */
|
|
@@ -2822,62 +2901,6 @@ interface PptxChartData {
|
|
|
2822
2901
|
clrMapOvr?: Record<string, string>;
|
|
2823
2902
|
}
|
|
2824
2903
|
//#endregion
|
|
2825
|
-
//#region src/core/types/effect-dag.d.ts
|
|
2826
|
-
type EffectDagBlendMode = 'darken' | 'lighten' | 'mult' | 'over' | 'screen';
|
|
2827
|
-
type EffectDagContainerType = 'sib' | 'tree';
|
|
2828
|
-
type EffectDagNode = EffectDagContainer | EffectDagBlend | EffectDagXfrm | EffectDagRelOff | EffectDagBlur | EffectDagAlphaOutset | EffectDagPresetShadow | EffectDagRawLeaf;
|
|
2829
|
-
interface EffectDagContainer {
|
|
2830
|
-
kind: 'cont';
|
|
2831
|
-
type: EffectDagContainerType;
|
|
2832
|
-
name?: string;
|
|
2833
|
-
children: EffectDagNode[];
|
|
2834
|
-
}
|
|
2835
|
-
interface EffectDagBlend {
|
|
2836
|
-
kind: 'blend';
|
|
2837
|
-
mode: EffectDagBlendMode;
|
|
2838
|
-
container: EffectDagContainer;
|
|
2839
|
-
}
|
|
2840
|
-
interface EffectDagXfrm {
|
|
2841
|
-
kind: 'xfrmEffect';
|
|
2842
|
-
sx?: number;
|
|
2843
|
-
sy?: number;
|
|
2844
|
-
kx?: number;
|
|
2845
|
-
ky?: number;
|
|
2846
|
-
tx?: number;
|
|
2847
|
-
ty?: number;
|
|
2848
|
-
}
|
|
2849
|
-
interface EffectDagRelOff {
|
|
2850
|
-
kind: 'relOff';
|
|
2851
|
-
tx?: number;
|
|
2852
|
-
ty?: number;
|
|
2853
|
-
}
|
|
2854
|
-
/** Typed CT_BlurEffect with its original payload retained for lossless edits. */
|
|
2855
|
-
interface EffectDagBlur {
|
|
2856
|
-
kind: 'blur';
|
|
2857
|
-
radiusEmu?: number;
|
|
2858
|
-
grow?: boolean;
|
|
2859
|
-
xml: XmlObject;
|
|
2860
|
-
}
|
|
2861
|
-
/** Typed CT_AlphaOutsetEffect with original XML retained for lossless edits. */
|
|
2862
|
-
interface EffectDagAlphaOutset {
|
|
2863
|
-
kind: 'alphaOutset';
|
|
2864
|
-
radiusEmu?: number;
|
|
2865
|
-
xml: XmlObject;
|
|
2866
|
-
}
|
|
2867
|
-
/** Typed CT_PresetShadowEffect with colour and extension XML retained verbatim. */
|
|
2868
|
-
interface EffectDagPresetShadow {
|
|
2869
|
-
kind: 'prstShdw';
|
|
2870
|
-
preset?: `shdw${number}`;
|
|
2871
|
-
distanceEmu?: number;
|
|
2872
|
-
direction?: number;
|
|
2873
|
-
xml: XmlObject;
|
|
2874
|
-
}
|
|
2875
|
-
interface EffectDagRawLeaf {
|
|
2876
|
-
kind: 'raw';
|
|
2877
|
-
tag: string;
|
|
2878
|
-
xml: Record<string, unknown>;
|
|
2879
|
-
}
|
|
2880
|
-
//#endregion
|
|
2881
2904
|
//#region src/core/types/image.d.ts
|
|
2882
2905
|
/**
|
|
2883
2906
|
* Image recolour/adjustment properties parsed from blip extensions.
|
|
@@ -3080,36 +3103,6 @@ interface PptxImageProperties {
|
|
|
3080
3103
|
/** Crop-to-shape — CSS clip-path shape name. */
|
|
3081
3104
|
cropShape?: PptxCropShape;
|
|
3082
3105
|
}
|
|
3083
|
-
declare module "./index" {
|
|
3084
|
-
interface TextStyle {
|
|
3085
|
-
/**
|
|
3086
|
-
* Raw `a:effectDag` XML node from `a:rPr`, preserved verbatim for
|
|
3087
|
-
* round-trip serialisation. Mirrors the shape-level
|
|
3088
|
-
* {@link import('./shape-style').ShapeStyle.effectDagXml} field.
|
|
3089
|
-
*/
|
|
3090
|
-
textEffectDagXml?: XmlObject;
|
|
3091
|
-
/**
|
|
3092
|
-
* Typed effect graph parsed from `textEffectDagXml`. The four structural
|
|
3093
|
-
* container nodes (`a:cont`, `a:blend`, `a:xfrmEffect`, `a:relOff`) are
|
|
3094
|
-
* fully typed; any other leaf effect is captured as
|
|
3095
|
-
* {@link EffectDagRawLeaf} so we never have to recurse into the full
|
|
3096
|
-
* effect taxonomy.
|
|
3097
|
-
*/
|
|
3098
|
-
textEffectDagTree?: EffectDagContainer;
|
|
3099
|
-
}
|
|
3100
|
-
}
|
|
3101
|
-
declare module "./index" {
|
|
3102
|
-
interface ShapeStyle {
|
|
3103
|
-
/**
|
|
3104
|
-
* Typed effect graph parsed from {@link ShapeStyle.effectDagXml}. The four
|
|
3105
|
-
* structural container nodes (`a:cont`, `a:blend`, `a:xfrmEffect`,
|
|
3106
|
-
* `a:relOff`) are fully typed; any other leaf effect (e.g. `a:outerShdw`,
|
|
3107
|
-
* `a:glow`, `a:alphaInv`) is captured as {@link EffectDagRawLeaf} so we
|
|
3108
|
-
* never have to recurse into the full effect taxonomy.
|
|
3109
|
-
*/
|
|
3110
|
-
effectDagTree?: EffectDagContainer;
|
|
3111
|
-
}
|
|
3112
|
-
}
|
|
3113
3106
|
//#endregion
|
|
3114
3107
|
//#region src/core/types/media.d.ts
|
|
3115
3108
|
/**
|
|
@@ -6829,7 +6822,6 @@ interface PptxEmbeddedFont {
|
|
|
6829
6822
|
originalPartBytes?: Uint8Array;
|
|
6830
6823
|
}
|
|
6831
6824
|
|
|
6832
|
-
//#endregion
|
|
6833
6825
|
//#region src/core/types/theme-presets.d.ts
|
|
6834
6826
|
/**
|
|
6835
6827
|
* A complete theme preset that can be applied to a presentation.
|
|
@@ -9278,7 +9270,6 @@ declare function getAnimationInitialStyle(preset: PptxAnimationPreset | undefine
|
|
|
9278
9270
|
*/
|
|
9279
9271
|
declare const PowerPointViewer: React.ForwardRefExoticComponent<PowerPointViewerProps & React.RefAttributes<PowerPointViewerHandle>>;
|
|
9280
9272
|
|
|
9281
|
-
//#endregion
|
|
9282
9273
|
//#region src/viewer/hooks/useThemeSwitching.d.ts
|
|
9283
9274
|
interface UseThemeSwitchingInput {
|
|
9284
9275
|
/** Ref to the PptxHandler instance. */
|
package/dist/viewer/index.js
CHANGED
|
@@ -1,78 +1,76 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../chunk-
|
|
5
|
-
require('../chunk-
|
|
6
|
-
var
|
|
7
|
-
|
|
8
|
-
var
|
|
9
|
-
require('../chunk-YIFO3WQO.js');
|
|
10
|
-
require('../chunk-3TB45PVK.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
|
+
require('../chunk-25VSL2BB.js');
|
|
8
|
+
var chunkWK56SFN7_js = require('../chunk-WK56SFN7.js');
|
|
11
9
|
require('../chunk-4VNS5WPM.js');
|
|
12
10
|
|
|
13
11
|
|
|
14
12
|
|
|
15
13
|
Object.defineProperty(exports, "CollaborationProvider", {
|
|
16
14
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
15
|
+
get: function () { return chunkXSBFV6TL_js.CollaborationProvider; }
|
|
18
16
|
});
|
|
19
17
|
Object.defineProperty(exports, "CollaborationStatusIndicator", {
|
|
20
18
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
19
|
+
get: function () { return chunkXSBFV6TL_js.CollaborationStatusIndicator; }
|
|
22
20
|
});
|
|
23
21
|
Object.defineProperty(exports, "PowerPointViewer", {
|
|
24
22
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
23
|
+
get: function () { return chunkXSBFV6TL_js.PowerPointViewer; }
|
|
26
24
|
});
|
|
27
25
|
Object.defineProperty(exports, "RemoteUserCursors", {
|
|
28
26
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
27
|
+
get: function () { return chunkXSBFV6TL_js.RemoteUserCursors; }
|
|
30
28
|
});
|
|
31
29
|
Object.defineProperty(exports, "UserAvatarBar", {
|
|
32
30
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
31
|
+
get: function () { return chunkXSBFV6TL_js.UserAvatarBar; }
|
|
34
32
|
});
|
|
35
33
|
Object.defineProperty(exports, "isAudienceTab", {
|
|
36
34
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
35
|
+
get: function () { return chunkVEZO33T2_js.isAudienceTab; }
|
|
38
36
|
});
|
|
39
37
|
Object.defineProperty(exports, "parseAudienceNonce", {
|
|
40
38
|
enumerable: true,
|
|
41
|
-
get: function () { return
|
|
39
|
+
get: function () { return chunkVEZO33T2_js.parseAudienceNonce; }
|
|
42
40
|
});
|
|
43
41
|
Object.defineProperty(exports, "useCollaborativeHistory", {
|
|
44
42
|
enumerable: true,
|
|
45
|
-
get: function () { return
|
|
43
|
+
get: function () { return chunkVEZO33T2_js.useCollaborativeHistory; }
|
|
46
44
|
});
|
|
47
45
|
Object.defineProperty(exports, "useCollaborativeState", {
|
|
48
46
|
enumerable: true,
|
|
49
|
-
get: function () { return
|
|
47
|
+
get: function () { return chunkVEZO33T2_js.useCollaborativeState; }
|
|
50
48
|
});
|
|
51
49
|
Object.defineProperty(exports, "usePresenceTracking", {
|
|
52
50
|
enumerable: true,
|
|
53
|
-
get: function () { return
|
|
51
|
+
get: function () { return chunkVEZO33T2_js.usePresenceTracking; }
|
|
54
52
|
});
|
|
55
53
|
Object.defineProperty(exports, "useThemeSwitching", {
|
|
56
54
|
enumerable: true,
|
|
57
|
-
get: function () { return
|
|
55
|
+
get: function () { return chunkVEZO33T2_js.useThemeSwitching; }
|
|
58
56
|
});
|
|
59
57
|
Object.defineProperty(exports, "useYjsProvider", {
|
|
60
58
|
enumerable: true,
|
|
61
|
-
get: function () { return
|
|
59
|
+
get: function () { return chunkVEZO33T2_js.useYjsProvider; }
|
|
62
60
|
});
|
|
63
61
|
Object.defineProperty(exports, "getAnimationInitialStyle", {
|
|
64
62
|
enumerable: true,
|
|
65
|
-
get: function () { return
|
|
63
|
+
get: function () { return chunk5TPQJWEO_js.getAnimationInitialStyle; }
|
|
66
64
|
});
|
|
67
65
|
Object.defineProperty(exports, "clearAudienceContent", {
|
|
68
66
|
enumerable: true,
|
|
69
|
-
get: function () { return
|
|
67
|
+
get: function () { return chunkWK56SFN7_js.clearAudienceContent; }
|
|
70
68
|
});
|
|
71
69
|
Object.defineProperty(exports, "loadAudienceContent", {
|
|
72
70
|
enumerable: true,
|
|
73
|
-
get: function () { return
|
|
71
|
+
get: function () { return chunkWK56SFN7_js.loadAudienceContent; }
|
|
74
72
|
});
|
|
75
73
|
Object.defineProperty(exports, "storeAudienceContent", {
|
|
76
74
|
enumerable: true,
|
|
77
|
-
get: function () { return
|
|
75
|
+
get: function () { return chunkWK56SFN7_js.storeAudienceContent; }
|
|
78
76
|
});
|
package/dist/viewer/index.js.br
CHANGED
|
Binary file
|
package/dist/viewer/index.js.gz
CHANGED
|
Binary file
|
package/dist/viewer/index.mjs
CHANGED
|
@@ -1,9 +1,7 @@
|
|
|
1
|
-
export { CollaborationProvider, CollaborationStatusIndicator, PowerPointViewer, RemoteUserCursors, UserAvatarBar } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
3
|
-
|
|
4
|
-
export {
|
|
5
|
-
|
|
6
|
-
export { clearAudienceContent, loadAudienceContent, storeAudienceContent } from '../chunk-
|
|
7
|
-
import '../chunk-PZTPX3HK.mjs';
|
|
8
|
-
import '../chunk-JFNMD6TM.mjs';
|
|
1
|
+
export { CollaborationProvider, CollaborationStatusIndicator, PowerPointViewer, RemoteUserCursors, UserAvatarBar } from '../chunk-KK7FWBGO.mjs';
|
|
2
|
+
import '../chunk-Q6FC2552.mjs';
|
|
3
|
+
export { isAudienceTab, parseAudienceNonce, useCollaborativeHistory, useCollaborativeState, usePresenceTracking, useThemeSwitching, useYjsProvider } from '../chunk-LRIXPSVT.mjs';
|
|
4
|
+
export { getAnimationInitialStyle } from '../chunk-G6Q3NXRV.mjs';
|
|
5
|
+
import '../chunk-Z6HIZWIQ.mjs';
|
|
6
|
+
export { clearAudienceContent, loadAudienceContent, storeAudienceContent } from '../chunk-QBZA2GMB.mjs';
|
|
9
7
|
import '../chunk-XGB3TDIC.mjs';
|
package/dist/viewer/index.mjs.br
CHANGED
|
Binary file
|
package/dist/viewer/index.mjs.gz
CHANGED
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pptx-react-viewer",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.4.0",
|
|
4
4
|
"description": "React PowerPoint viewer and editor component: render, edit, and export PPTX slides in the browser.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"editor",
|
|
@@ -82,13 +82,13 @@
|
|
|
82
82
|
"tailwind-merge": "^3.6.0"
|
|
83
83
|
},
|
|
84
84
|
"devDependencies": {
|
|
85
|
-
"@ai-sdk/react": "^4.0.
|
|
85
|
+
"@ai-sdk/react": "^4.0.40",
|
|
86
86
|
"@tailwindcss/cli": "^4.3.3",
|
|
87
87
|
"@types/dompurify": "^3.2.0",
|
|
88
88
|
"@types/react": "^19.2.17",
|
|
89
89
|
"@types/react-dom": "^19.2.3",
|
|
90
90
|
"tailwindcss": "^4.3.3",
|
|
91
|
-
"tsdown": "^0.22.
|
|
91
|
+
"tsdown": "^0.22.14",
|
|
92
92
|
"tsup": "^8.5.1",
|
|
93
93
|
"typescript": "^7.0.2",
|
|
94
94
|
"vitest": "^4.1.10",
|
|
@@ -97,7 +97,7 @@
|
|
|
97
97
|
"yjs": "^13.6.31"
|
|
98
98
|
},
|
|
99
99
|
"peerDependencies": {
|
|
100
|
-
"@ai-sdk/react": "^4.0.
|
|
100
|
+
"@ai-sdk/react": "^4.0.40",
|
|
101
101
|
"ai": ">=6 <8",
|
|
102
102
|
"fast-xml-parser": "^5.10.1",
|
|
103
103
|
"framer-motion": "^12.42.2",
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"animation-timeline-eb5z0SHW.d.ts","names":[],"sources":["../src/viewer/types-core.ts","../src/theme/context.tsx","../../shared/dist/ai/index.d.ts","../src/viewer/hooks/collaboration/types.ts","../src/viewer/types-ui.ts"],"mappings":";;;;;;;;;;;;;KA+BY;;;;;KAqCA;;UAgBK;;EAEhB;;EAEA;;;;;;;;UAagB;;EAEhB;;EAEA;;EAEA;;EAEA,oBAAoB;IAAiB;IAAW;;;EAEhD,QAAQ,YAAY;;EAEpB;;EAEA;EACA;;;KAIW;;;;;;UAOK;;EAEhB;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA,QAAQ;;EAER;;EAEA,OAAO;;EAEP;EACA;EACA;EACA;;;;;;;UAQgB;EAChB;EACA;EACA;EACA;EACA;;;;;;;UAQgB;EAChB;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;;;;;UAoBgB;EAChB;EACA;EACA;EACA,QAAQ;EACR,2BAA2B,eAAe;EAC1C;;;UAQgB;EAChB;EACA;EACA;EACA;;;;;;;UAQgB;EAChB;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;UAQgB;EAChB;EACA,OAAO,QAAQ;;;;UCxOC;EAChB,QAAQ;EACR,UAAU,MAAM;;;;;;;;;;iBAWD,sBAAsB,OAAO,YAAY,2CAAwB,IAAA;;;;;iBAYjE,kB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