pptx-react-viewer 3.7.0 → 3.8.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.
Files changed (160) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/dist/{AiChatPanel-L5QGWVZK.mjs → AiChatPanel-A5DCEHTO.mjs} +4 -4
  3. package/dist/AiChatPanel-A5DCEHTO.mjs.br +0 -0
  4. package/dist/AiChatPanel-A5DCEHTO.mjs.gz +0 -0
  5. package/dist/{AiChatPanel-M3AHKYPS.js → AiChatPanel-XLQM4BQJ.js} +25 -25
  6. package/dist/AiChatPanel-XLQM4BQJ.js.br +0 -0
  7. package/dist/AiChatPanel-XLQM4BQJ.js.gz +0 -0
  8. package/dist/{Area3DChartScene-AE2XYKDW.mjs → Area3DChartScene-5CMEMIBI.mjs} +1 -1
  9. package/dist/Area3DChartScene-5CMEMIBI.mjs.br +0 -0
  10. package/dist/Area3DChartScene-5CMEMIBI.mjs.gz +0 -0
  11. package/dist/{Area3DChartScene-ZQLQK6L4.js → Area3DChartScene-RZ3V3WOR.js} +2 -2
  12. package/dist/Area3DChartScene-RZ3V3WOR.js.br +0 -0
  13. package/dist/Area3DChartScene-RZ3V3WOR.js.gz +0 -0
  14. package/dist/{Bar3DChartScene-FQV62XOI.mjs → Bar3DChartScene-H3MYUJKV.mjs} +1 -1
  15. package/dist/Bar3DChartScene-H3MYUJKV.mjs.br +0 -0
  16. package/dist/Bar3DChartScene-H3MYUJKV.mjs.gz +0 -0
  17. package/dist/{Bar3DChartScene-TZ6ADFBS.js → Bar3DChartScene-KHCQ6TEC.js} +2 -2
  18. package/dist/Bar3DChartScene-KHCQ6TEC.js.br +0 -0
  19. package/dist/Bar3DChartScene-KHCQ6TEC.js.gz +0 -0
  20. package/dist/{Line3DChartScene-5CKPAX63.js → Line3DChartScene-QEACF3U3.js} +2 -2
  21. package/dist/Line3DChartScene-QEACF3U3.js.br +0 -0
  22. package/dist/Line3DChartScene-QEACF3U3.js.gz +0 -0
  23. package/dist/{Line3DChartScene-FEUY3PCE.mjs → Line3DChartScene-YFRPJHDX.mjs} +1 -1
  24. package/dist/Line3DChartScene-YFRPJHDX.mjs.br +0 -0
  25. package/dist/Line3DChartScene-YFRPJHDX.mjs.gz +0 -0
  26. package/dist/{Model3DScene-V3DHIISV.mjs → Model3DScene-O24KP723.mjs} +1 -1
  27. package/dist/Model3DScene-O24KP723.mjs.br +0 -0
  28. package/dist/Model3DScene-O24KP723.mjs.gz +0 -0
  29. package/dist/{Model3DScene-BLXEALM6.js → Model3DScene-QQWKGJ3T.js} +2 -2
  30. package/dist/{Model3DScene-BLXEALM6.js.br → Model3DScene-QQWKGJ3T.js.br} +0 -0
  31. package/dist/Model3DScene-QQWKGJ3T.js.gz +0 -0
  32. package/dist/{PieChart3DScene-VZI2VARG.mjs → PieChart3DScene-CI6CW22C.mjs} +1 -1
  33. package/dist/{PieChart3DScene-VZI2VARG.mjs.br → PieChart3DScene-CI6CW22C.mjs.br} +0 -0
  34. package/dist/PieChart3DScene-CI6CW22C.mjs.gz +0 -0
  35. package/dist/{PieChart3DScene-GHHT3PDV.js → PieChart3DScene-L3MHKQHW.js} +2 -2
  36. package/dist/{PieChart3DScene-GHHT3PDV.js.br → PieChart3DScene-L3MHKQHW.js.br} +0 -0
  37. package/dist/PieChart3DScene-L3MHKQHW.js.gz +0 -0
  38. package/dist/PowerPointViewer-Cl6jBPNw.d.ts.map +1 -1
  39. package/dist/{SurfaceChart3DScene-WWIMQ65D.js → SurfaceChart3DScene-5IER6VFW.js} +2 -2
  40. package/dist/{SurfaceChart3DScene-WWIMQ65D.js.br → SurfaceChart3DScene-5IER6VFW.js.br} +0 -0
  41. package/dist/SurfaceChart3DScene-5IER6VFW.js.gz +0 -0
  42. package/dist/{SurfaceChart3DScene-T36E2HBA.mjs → SurfaceChart3DScene-JUXRC3K2.mjs} +1 -1
  43. package/dist/SurfaceChart3DScene-JUXRC3K2.mjs.br +0 -0
  44. package/dist/SurfaceChart3DScene-JUXRC3K2.mjs.gz +0 -0
  45. package/dist/{audience-content-store-bR7Gs_1S.d.ts → audience-content-store-CB2WVM1K.d.ts} +12 -3
  46. package/dist/{audience-content-store-bR7Gs_1S.d.ts.map → audience-content-store-CB2WVM1K.d.ts.map} +1 -1
  47. package/dist/{chunk-TUSALM3A.js → chunk-4222CHFH.js} +1709 -1235
  48. package/dist/chunk-4222CHFH.js.br +0 -0
  49. package/dist/chunk-4222CHFH.js.gz +0 -0
  50. package/dist/{chunk-NV55GU5V.mjs → chunk-6IMB5DNJ.mjs} +4953 -3103
  51. package/dist/chunk-6IMB5DNJ.mjs.br +0 -0
  52. package/dist/chunk-6IMB5DNJ.mjs.gz +0 -0
  53. package/dist/{chunk-OBE4TB76.js → chunk-DE3S3UHX.js} +551 -574
  54. package/dist/chunk-DE3S3UHX.js.br +0 -0
  55. package/dist/chunk-DE3S3UHX.js.gz +0 -0
  56. package/dist/{chunk-3EJFZ7TE.js → chunk-F5NPGNMA.js} +9 -5
  57. package/dist/chunk-F5NPGNMA.js.br +0 -0
  58. package/dist/chunk-F5NPGNMA.js.gz +0 -0
  59. package/dist/{chunk-FGTMS7LR.mjs → chunk-FRZIBZTE.mjs} +55 -4
  60. package/dist/chunk-FRZIBZTE.mjs.br +0 -0
  61. package/dist/chunk-FRZIBZTE.mjs.gz +0 -0
  62. package/dist/{chunk-W24OJ7H5.js → chunk-L3ZIBQEB.js} +55 -4
  63. package/dist/chunk-L3ZIBQEB.js.br +0 -0
  64. package/dist/chunk-L3ZIBQEB.js.gz +0 -0
  65. package/dist/{chunk-TXY2E7VQ.mjs → chunk-PFPKBNNZ.mjs} +509 -35
  66. package/dist/chunk-PFPKBNNZ.mjs.br +0 -0
  67. package/dist/chunk-PFPKBNNZ.mjs.gz +0 -0
  68. package/dist/{chunk-VIFDZIVX.js → chunk-QWA5YEIZ.js} +187 -176
  69. package/dist/chunk-QWA5YEIZ.js.br +0 -0
  70. package/dist/chunk-QWA5YEIZ.js.gz +0 -0
  71. package/dist/{chunk-JANUSAEK.mjs → chunk-RHWQKZLB.mjs} +14 -3
  72. package/dist/chunk-RHWQKZLB.mjs.br +0 -0
  73. package/dist/chunk-RHWQKZLB.mjs.gz +0 -0
  74. package/dist/{chunk-WKODF5ZU.mjs → chunk-RNP5HP4L.mjs} +5 -2
  75. package/dist/chunk-RNP5HP4L.mjs.br +0 -0
  76. package/dist/chunk-RNP5HP4L.mjs.gz +0 -0
  77. package/dist/{chunk-DCNHUEWQ.js → chunk-SN5EUDIT.js} +4972 -3103
  78. package/dist/chunk-SN5EUDIT.js.br +0 -0
  79. package/dist/chunk-SN5EUDIT.js.gz +0 -0
  80. package/dist/{chunk-PC62KGU3.mjs → chunk-UPJW34YG.mjs} +124 -147
  81. package/dist/chunk-UPJW34YG.mjs.br +0 -0
  82. package/dist/chunk-UPJW34YG.mjs.gz +0 -0
  83. package/dist/i18n.js +4 -4
  84. package/dist/i18n.js.br +0 -0
  85. package/dist/i18n.js.gz +0 -0
  86. package/dist/i18n.mjs +1 -1
  87. package/dist/i18n.mjs.br +0 -0
  88. package/dist/i18n.mjs.gz +0 -0
  89. package/dist/index.d.ts +179 -23
  90. package/dist/index.js +47 -47
  91. package/dist/index.js.br +0 -0
  92. package/dist/index.js.gz +0 -0
  93. package/dist/index.mjs +6 -6
  94. package/dist/index.mjs.br +0 -0
  95. package/dist/index.mjs.gz +0 -0
  96. package/dist/internals.d.ts +352 -171
  97. package/dist/internals.d.ts.map +1 -1
  98. package/dist/internals.js +79 -79
  99. package/dist/internals.js.br +0 -0
  100. package/dist/internals.js.gz +0 -0
  101. package/dist/internals.mjs +4 -4
  102. package/dist/internals.mjs.br +0 -0
  103. package/dist/internals.mjs.gz +0 -0
  104. package/dist/types-Bzdkiakq.d.ts.map +1 -1
  105. package/dist/viewer/index.d.ts +150 -23
  106. package/dist/viewer/index.js +27 -27
  107. package/dist/viewer/index.js.br +0 -0
  108. package/dist/viewer/index.js.gz +0 -0
  109. package/dist/viewer/index.mjs +6 -6
  110. package/dist/viewer/index.mjs.br +0 -0
  111. package/dist/viewer/index.mjs.gz +0 -0
  112. package/package.json +2 -2
  113. package/dist/AiChatPanel-L5QGWVZK.mjs.br +0 -0
  114. package/dist/AiChatPanel-L5QGWVZK.mjs.gz +0 -0
  115. package/dist/AiChatPanel-M3AHKYPS.js.br +0 -0
  116. package/dist/AiChatPanel-M3AHKYPS.js.gz +0 -0
  117. package/dist/Area3DChartScene-AE2XYKDW.mjs.br +0 -1
  118. package/dist/Area3DChartScene-AE2XYKDW.mjs.gz +0 -0
  119. package/dist/Area3DChartScene-ZQLQK6L4.js.br +0 -0
  120. package/dist/Area3DChartScene-ZQLQK6L4.js.gz +0 -0
  121. package/dist/Bar3DChartScene-FQV62XOI.mjs.br +0 -2
  122. package/dist/Bar3DChartScene-FQV62XOI.mjs.gz +0 -0
  123. package/dist/Bar3DChartScene-TZ6ADFBS.js.br +0 -0
  124. package/dist/Bar3DChartScene-TZ6ADFBS.js.gz +0 -0
  125. package/dist/Line3DChartScene-5CKPAX63.js.br +0 -0
  126. package/dist/Line3DChartScene-5CKPAX63.js.gz +0 -0
  127. package/dist/Line3DChartScene-FEUY3PCE.mjs.br +0 -1
  128. package/dist/Line3DChartScene-FEUY3PCE.mjs.gz +0 -0
  129. package/dist/Model3DScene-BLXEALM6.js.gz +0 -0
  130. package/dist/Model3DScene-V3DHIISV.mjs.br +0 -0
  131. package/dist/Model3DScene-V3DHIISV.mjs.gz +0 -0
  132. package/dist/PieChart3DScene-GHHT3PDV.js.gz +0 -0
  133. package/dist/PieChart3DScene-VZI2VARG.mjs.gz +0 -0
  134. package/dist/SurfaceChart3DScene-T36E2HBA.mjs.br +0 -0
  135. package/dist/SurfaceChart3DScene-T36E2HBA.mjs.gz +0 -0
  136. package/dist/SurfaceChart3DScene-WWIMQ65D.js.gz +0 -0
  137. package/dist/chunk-3EJFZ7TE.js.br +0 -0
  138. package/dist/chunk-3EJFZ7TE.js.gz +0 -0
  139. package/dist/chunk-DCNHUEWQ.js.br +0 -0
  140. package/dist/chunk-DCNHUEWQ.js.gz +0 -0
  141. package/dist/chunk-FGTMS7LR.mjs.br +0 -0
  142. package/dist/chunk-FGTMS7LR.mjs.gz +0 -0
  143. package/dist/chunk-JANUSAEK.mjs.br +0 -0
  144. package/dist/chunk-JANUSAEK.mjs.gz +0 -0
  145. package/dist/chunk-NV55GU5V.mjs.br +0 -0
  146. package/dist/chunk-NV55GU5V.mjs.gz +0 -0
  147. package/dist/chunk-OBE4TB76.js.br +0 -0
  148. package/dist/chunk-OBE4TB76.js.gz +0 -0
  149. package/dist/chunk-PC62KGU3.mjs.br +0 -0
  150. package/dist/chunk-PC62KGU3.mjs.gz +0 -0
  151. package/dist/chunk-TUSALM3A.js.br +0 -0
  152. package/dist/chunk-TUSALM3A.js.gz +0 -0
  153. package/dist/chunk-TXY2E7VQ.mjs.br +0 -0
  154. package/dist/chunk-TXY2E7VQ.mjs.gz +0 -0
  155. package/dist/chunk-VIFDZIVX.js.br +0 -0
  156. package/dist/chunk-VIFDZIVX.js.gz +0 -0
  157. package/dist/chunk-W24OJ7H5.js.br +0 -0
  158. package/dist/chunk-W24OJ7H5.js.gz +0 -0
  159. package/dist/chunk-WKODF5ZU.mjs.br +0 -0
  160. package/dist/chunk-WKODF5ZU.mjs.gz +0 -0
package/dist/index.d.ts CHANGED
@@ -2414,7 +2414,38 @@ interface PptxChartDataPointPicture {
2414
2414
  //#region src/core/types/chart-pivot-format.d.ts
2415
2415
  interface PptxChartPivotFormat {
2416
2416
  index: number;
2417
+ /**
2418
+ * Typed projection of `spPr` (fill/stroke colour, stroke width, dash
2419
+ * style). When the parser is given a colour resolver (the normal case: the
2420
+ * runtime always supplies one), both a literal `a:srgbClr` and an
2421
+ * `a:schemeClr` theme reference (with its `lumMod`/`lumOff`/`tint`/`shade`
2422
+ * modifiers) resolve to a hex colour here, the same theme +
2423
+ * `c:clrMapOvr` chain the rest of chart parsing uses. Without a resolver
2424
+ * (e.g. a hand-built `PptxChartPivotFormat` with no theme to resolve
2425
+ * against), only the literal case resolves. Either way the authored node
2426
+ * is byte-preserved through {@link shapePropertiesXml} until this field is
2427
+ * set to something that no longer matches what re-parses off the current
2428
+ * XML; setting it then re-derives `shapePropertiesXml` on save (merged
2429
+ * onto whatever was already authored, keeping an unrelated schemeClr
2430
+ * reference alive when the colour itself is unchanged) unless
2431
+ * `shapePropertiesXml` is set explicitly, which wins.
2432
+ */
2433
+ shapeProperties?: PptxChartShapeProps;
2434
+ /**
2435
+ * Typed projection of `txPr`'s `a:p/a:pPr/a:defRPr` (size/bold/italic/
2436
+ * colour/family), the same shape a legend entry or data-table's text
2437
+ * override models. Colour resolution mirrors {@link shapeProperties}
2438
+ * (theme-resolved `schemeClr` when a colour resolver is supplied, literal
2439
+ * `srgbClr` otherwise). See {@link txPrXml} for the raw fallback.
2440
+ */
2441
+ textStyle?: PptxChartLegendTextStyle;
2442
+ /**
2443
+ * Typed projection of `marker` (symbol/size/spPr). See {@link markerXml}
2444
+ * for the raw fallback.
2445
+ */
2446
+ marker?: PptxChartMarker;
2417
2447
  shapePropertiesXml?: XmlObject | null;
2448
+ txPrXml?: XmlObject | null;
2418
2449
  markerXml?: XmlObject | null;
2419
2450
  dataLabelXml?: XmlObject | null;
2420
2451
  extensionListXml?: XmlObject | null;
@@ -2607,20 +2638,6 @@ interface PptxChartTitleRun {
2607
2638
  }
2608
2639
  //#endregion
2609
2640
  //#region src/core/types/chart-user-shapes.d.ts
2610
- /**
2611
- * Types for chart drawing-overlay shapes (`c:userShapes`).
2612
- *
2613
- * A chart's `c:userShapes` element carries an `r:id` that references a
2614
- * separate drawing part (`ppt/drawings/drawingN.xml`) whose root is a
2615
- * `c:userShapes` element populated with `cdr:relSizeAnchor` /
2616
- * `cdr:absSizeAnchor` wrappers around `sp` / `pic` / `cxnSp` shapes drawn on
2617
- * top of the chart plot. These interfaces describe the parsed, renderable
2618
- * overlay model. The raw reference is preserved separately on
2619
- * {@link PptxChartData.userShapesXml} for verbatim round-trip save; this model
2620
- * is render-only.
2621
- *
2622
- * @module pptx-types/chart-user-shapes
2623
- */
2624
2641
  /** A single paragraph of overlay-shape text with light formatting. */
2625
2642
  interface PptxChartUserShapeParagraph {
2626
2643
  /** Joined run text of the paragraph. */
@@ -2636,6 +2653,80 @@ interface PptxChartUserShapeParagraph {
2636
2653
  /** Paragraph alignment (`a:pPr/@algn`): left / centre / right. */
2637
2654
  align?: 'l' | 'ctr' | 'r';
2638
2655
  }
2656
+ /**
2657
+ * The DrawingML 2D group transform (`a:xfrm` inside `cdr:grpSpPr`) that
2658
+ * anchors a `grpSp`'s own box ({@link off}/{@link ext}) and establishes the
2659
+ * coordinate space its children are expressed in ({@link chOff}/{@link
2660
+ * chExt}), all in EMU. A child's position within the group is mapped into
2661
+ * the group's own box via
2662
+ * `frac = (child.off - chOff) / chExt`, then applied to the enclosing
2663
+ * anchor's box; see `flattenChartUserShapes` in
2664
+ * `chart-user-shapes-parser.ts`.
2665
+ */
2666
+ interface PptxChartUserShapeGroupTransform {
2667
+ /** The group's own position in its parent's coordinate space, in EMU. */
2668
+ off: {
2669
+ x: number;
2670
+ y: number;
2671
+ };
2672
+ /** The group's own size in its parent's coordinate space, in EMU. */
2673
+ ext: {
2674
+ cx: number;
2675
+ cy: number;
2676
+ };
2677
+ /** Origin of the child coordinate space (`a:chOff`), in EMU. */
2678
+ chOff: {
2679
+ x: number;
2680
+ y: number;
2681
+ };
2682
+ /** Size of the child coordinate space (`a:chExt`), in EMU. */
2683
+ chExt: {
2684
+ cx: number;
2685
+ cy: number;
2686
+ };
2687
+ }
2688
+ /**
2689
+ * One shape grouped inside a `cdr:grpSp` (or a nested `cdr:grpSp` itself).
2690
+ * Unlike a top-level {@link PptxChartUserShape}, a group child has no
2691
+ * drawing anchor of its own: its position is expressed in its parent
2692
+ * group's child coordinate space via {@link off}/{@link ext} (EMU, read
2693
+ * from the child's own `a:xfrm`), not as a chart-relative fraction.
2694
+ */
2695
+ interface PptxChartUserShapeGroupChild {
2696
+ /** Shape kind, same vocabulary as {@link PptxChartUserShape.kind}. */
2697
+ kind: 'sp' | 'cxnSp' | 'pic' | 'grpSp' | 'graphicFrame';
2698
+ /** Position within the parent group's child coordinate space, in EMU. */
2699
+ off: {
2700
+ x: number;
2701
+ y: number;
2702
+ };
2703
+ /** Size within the parent group's child coordinate space, in EMU. */
2704
+ ext: {
2705
+ cx: number;
2706
+ cy: number;
2707
+ };
2708
+ /** Preset geometry name (`a:prstGeom/@prst`), defaulting to `"rect"`. */
2709
+ prst?: string;
2710
+ /** Resolved solid-fill hex colour, when present. */
2711
+ fill?: string;
2712
+ /** Resolved line/stroke hex colour, when present. */
2713
+ stroke?: string;
2714
+ /** Line width in points (`a:ln/@w` divided by 12700), when present. */
2715
+ strokeWidth?: number;
2716
+ /** Text paragraphs of the shape's `txBody`, when present. */
2717
+ paragraphs?: PptxChartUserShapeParagraph[];
2718
+ /**
2719
+ * Verbatim source XML of a `pic`/`graphicFrame` child, or of this node
2720
+ * itself when `kind === 'grpSp'` and the nested group is untouched since
2721
+ * parse. See {@link PptxChartUserShape.rawXml}'s doc for the same
2722
+ * contract one level up.
2723
+ */
2724
+ rawXml?: XmlObject;
2725
+ /** Present when `kind === 'grpSp'`: this nested group's own transform. */
2726
+ transform?: PptxChartUserShapeGroupTransform;
2727
+ /** Present when `kind === 'grpSp'`: this nested group's own children. */
2728
+ children?: PptxChartUserShapeGroupChild[];
2729
+ }
2639
2730
  /**
2640
2731
  * A parsed chart-overlay shape positioned by a drawing anchor.
2641
2732
  *
@@ -2646,12 +2737,13 @@ interface PptxChartUserShapeParagraph {
2646
2737
  interface PptxChartUserShape {
2647
2738
  /**
2648
2739
  * Shape kind: text/preset shape, connector, picture, a group of the
2649
- * above (`grpSp`, flattened: each grouped child becomes its own entry
2650
- * reusing the anchor's own bounding box, an approximation since the
2651
- * group's internal chOff/chExt transform is not applied), or a bare
2652
- * placeholder for a `graphicFrame` anchor child (deep content such as a
2653
- * nested chart or table is out of scope; it only keeps the anchor's
2654
- * space accounted for instead of the whole overlay disappearing).
2740
+ * above (`grpSp`, with its own {@link transform} and {@link children},
2741
+ * nested arbitrarily; use `flattenChartUserShapes` from
2742
+ * `chart-user-shapes-parser.ts` to get a flat, render-ready leaf list
2743
+ * with the group transform already applied), or a bare placeholder for
2744
+ * a `graphicFrame` anchor child (deep content such as a nested chart or
2745
+ * table is out of scope; it only keeps the anchor's space accounted for
2746
+ * instead of the whole overlay disappearing).
2655
2747
  */
2656
2748
  kind: 'sp' | 'cxnSp' | 'pic' | 'grpSp' | 'graphicFrame';
2657
2749
  /** Anchor kind that positioned the shape. */
@@ -2681,6 +2773,26 @@ interface PptxChartUserShape {
2681
2773
  strokeWidth?: number;
2682
2774
  /** Text paragraphs of the shape's `txBody`, when present. */
2683
2775
  paragraphs?: PptxChartUserShapeParagraph[];
2776
+ /**
2777
+ * Verbatim source XML of a `pic` or `graphicFrame` anchor child (the
2778
+ * `cdr:pic` / `cdr:graphicFrame` node itself, not the enclosing anchor),
2779
+ * or of the `cdr:grpSp` node itself when `kind === 'grpSp'` and the
2780
+ * group is untouched since parse (byte-identical passthrough). None of
2781
+ * these three kinds have a reconstructable typed representation that is
2782
+ * guaranteed lossless (a picture's blip reference, a nested chart/table's
2783
+ * graphic content, or a group's exact child ordering/ids), so the
2784
+ * serializer re-emits this verbatim when present instead of a lossy
2785
+ * rebuild. Editing a shape inside a group (via the SDK's path-based
2786
+ * overlay operations) clears the group's `rawXml` so the serializer
2787
+ * regenerates it from {@link transform}/{@link children} instead. Absent
2788
+ * for `sp`/`cxnSp`, which round-trip losslessly through their typed
2789
+ * fields above.
2790
+ */
2791
+ rawXml?: XmlObject;
2792
+ /** Present when `kind === 'grpSp'`: the group's own transform. */
2793
+ transform?: PptxChartUserShapeGroupTransform;
2794
+ /** Present when `kind === 'grpSp'`: the grouped children, nested arbitrarily. */
2795
+ children?: PptxChartUserShapeGroupChild[];
2684
2796
  }
2685
2797
  //#endregion
2686
2798
  //#region src/core/types/chart.d.ts
@@ -5833,6 +5945,21 @@ interface PptxAccessibilityProperties {
5833
5945
  */
5834
5946
  isDecorative?: boolean;
5835
5947
  }
5948
+ /**
5949
+ * Accessibility description/title from `p:cNvPr/@descr` / `@title` on a
5950
+ * plain shape, text box or connector (`p:sp` / `p:cxnSp`). The same pair of
5951
+ * attributes already round-trips for a graphic frame (see
5952
+ * {@link TablePptxElement.altText}) and, `descr` only, for a picture
5953
+ * ({@link PptxImageProperties.altText}); this mixin extends it to the three
5954
+ * element kinds whose PowerPoint Alt Text pane data was previously dropped
5955
+ * on load because neither field existed on the model.
5956
+ */
5957
+ interface PptxNonVisualDescription {
5958
+ /** `p:cNvPr/@descr`. */
5959
+ altText?: string;
5960
+ /** `p:cNvPr/@title`. */
5961
+ title?: string;
5962
+ }
5836
5963
  /**
5837
5964
  * `a:cNvPicPr/@preferRelativeResize` (issue G13), a picture-only non-visual
5838
5965
  * property distinct from `a:picLocks`.
@@ -5865,7 +5992,7 @@ interface PptxPictureNonVisualProperties {
5865
5992
  * // => satisfies TextPptxElement
5866
5993
  * ```
5867
5994
  */
5868
- interface TextPptxElement extends PptxElementBase, PptxTextProperties, PptxShapeProperties {
5995
+ interface TextPptxElement extends PptxElementBase, PptxTextProperties, PptxShapeProperties, PptxNonVisualDescription {
5869
5996
  type: 'text';
5870
5997
  }
5871
5998
  /**
@@ -5883,7 +6010,7 @@ interface TextPptxElement extends PptxElementBase, PptxTextProperties, PptxShape
5883
6010
  * // => satisfies ShapePptxElement
5884
6011
  * ```
5885
6012
  */
5886
- interface ShapePptxElement extends PptxElementBase, PptxTextProperties, PptxShapeProperties, PptxCustomPathProperties, PptxAccessibilityProperties {
6013
+ interface ShapePptxElement extends PptxElementBase, PptxTextProperties, PptxShapeProperties, PptxCustomPathProperties, PptxAccessibilityProperties, PptxNonVisualDescription {
5887
6014
  type: 'shape';
5888
6015
  }
5889
6016
  /**
@@ -5905,7 +6032,7 @@ interface ShapePptxElement extends PptxElementBase, PptxTextProperties, PptxShap
5905
6032
  * // => satisfies ConnectorPptxElement
5906
6033
  * ```
5907
6034
  */
5908
- interface ConnectorPptxElement extends PptxElementBase, PptxTextProperties, PptxShapeProperties {
6035
+ interface ConnectorPptxElement extends PptxElementBase, PptxTextProperties, PptxShapeProperties, PptxNonVisualDescription {
5909
6036
  type: 'connector';
5910
6037
  }
5911
6038
  /**
@@ -10937,6 +11064,23 @@ interface CollaborationConfig {
10937
11064
  */
10938
11065
  writeBackDebounceMs?: number;
10939
11066
  }
11067
+ //#endregion
11068
+ //#region src/render/animation-text-style-resolve.d.ts
11069
+ /**
11070
+ * Framework-neutral text-style override a font-style emphasis effect applies
11071
+ * on top of its target's own authored per-run bold/italic/underline/size/
11072
+ * colour. Every binding maps this onto its own text container so it OVERRIDES
11073
+ * the runs' inline styles (the runs carry explicit inline styles of their
11074
+ * own, so plain CSS inheritance cannot reach them).
11075
+ */
11076
+ interface TextStyleAnimationDescriptor {
11077
+ bold?: boolean;
11078
+ italic?: boolean;
11079
+ underline?: boolean;
11080
+ /** Relative multiplier against each run's own authored font size. */
11081
+ fontScale?: number;
11082
+ color?: string;
11083
+ }
10940
11084
  /**
10941
11085
  * Normalized staged-reveal mode for a chart graphic frame, derived from the
10942
11086
  * OOXML `a:bldChart/@bld` (or `p:bldOleChart/@bld`) token:
@@ -11077,6 +11221,18 @@ interface ElementAnimationState {
11077
11221
  * `stroke: inherit`. Absent/false means no active stroke-colour animation.
11078
11222
  */
11079
11223
  animatesStroke?: boolean;
11224
+ /**
11225
+ * Active discrete font-style / colour / size override (see
11226
+ * {@link TimelineStep.textStyle}) a font-style emphasis effect currently
11227
+ * applies to this element's text, OVERRIDING the runs' own inline
11228
+ * bold/italic/underline/size/colour. `animation-playback-engine.ts` writes
11229
+ * this on step start and again on cleanup (held in full when the effect's
11230
+ * `p:cTn/@fill` holds its end state, otherwise reverted); a text renderer
11231
+ * maps it onto its run markup via `buildTextStyleOverrideCss`
11232
+ * (`animation-text-style-css.ts`). Absent means no font-style emphasis
11233
+ * effect is currently active on this element.
11234
+ */
11235
+ textStyle?: TextStyleAnimationDescriptor;
11080
11236
  }
11081
11237
  //#endregion
11082
11238
  //#region src/render/motion-path-authoring.d.ts
package/dist/index.js CHANGED
@@ -1,176 +1,176 @@
1
1
  'use strict';
2
2
 
3
- var chunkTUSALM3A_js = require('./chunk-TUSALM3A.js');
4
- require('./chunk-3EJFZ7TE.js');
5
- var chunkOBE4TB76_js = require('./chunk-OBE4TB76.js');
6
- var chunkVIFDZIVX_js = require('./chunk-VIFDZIVX.js');
7
- var chunkDCNHUEWQ_js = require('./chunk-DCNHUEWQ.js');
8
- var chunkW24OJ7H5_js = require('./chunk-W24OJ7H5.js');
3
+ var chunk4222CHFH_js = require('./chunk-4222CHFH.js');
4
+ require('./chunk-F5NPGNMA.js');
5
+ var chunkDE3S3UHX_js = require('./chunk-DE3S3UHX.js');
6
+ var chunkQWA5YEIZ_js = require('./chunk-QWA5YEIZ.js');
7
+ var chunkSN5EUDIT_js = require('./chunk-SN5EUDIT.js');
8
+ var chunkL3ZIBQEB_js = require('./chunk-L3ZIBQEB.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 chunkTUSALM3A_js.PowerPointViewer; }
15
+ get: function () { return chunk4222CHFH_js.PowerPointViewer; }
16
16
  });
17
17
  Object.defineProperty(exports, "SlideCanvas", {
18
18
  enumerable: true,
19
- get: function () { return chunkTUSALM3A_js.SlideCanvas; }
19
+ get: function () { return chunk4222CHFH_js.SlideCanvas; }
20
20
  });
21
21
  Object.defineProperty(exports, "SlideTemplateGalleryDialog", {
22
22
  enumerable: true,
23
- get: function () { return chunkTUSALM3A_js.SlideTemplateGalleryDialog; }
23
+ get: function () { return chunk4222CHFH_js.SlideTemplateGalleryDialog; }
24
24
  });
25
25
  Object.defineProperty(exports, "SlideTemplatePreview", {
26
26
  enumerable: true,
27
- get: function () { return chunkTUSALM3A_js.SlideTemplatePreview; }
27
+ get: function () { return chunk4222CHFH_js.SlideTemplatePreview; }
28
28
  });
29
29
  Object.defineProperty(exports, "Toolbar", {
30
30
  enumerable: true,
31
- get: function () { return chunkTUSALM3A_js.Toolbar; }
31
+ get: function () { return chunk4222CHFH_js.Toolbar; }
32
32
  });
33
33
  Object.defineProperty(exports, "ViewerThemeProvider", {
34
34
  enumerable: true,
35
- get: function () { return chunkTUSALM3A_js.ViewerThemeProvider; }
35
+ get: function () { return chunk4222CHFH_js.ViewerThemeProvider; }
36
36
  });
37
37
  Object.defineProperty(exports, "useViewerTheme", {
38
38
  enumerable: true,
39
- get: function () { return chunkTUSALM3A_js.useViewerTheme; }
39
+ get: function () { return chunk4222CHFH_js.useViewerTheme; }
40
40
  });
41
41
  Object.defineProperty(exports, "renderToCanvas", {
42
42
  enumerable: true,
43
- get: function () { return chunkOBE4TB76_js.renderToCanvas; }
43
+ get: function () { return chunkDE3S3UHX_js.renderToCanvas; }
44
44
  });
45
45
  Object.defineProperty(exports, "useViewerBuildingBlocks", {
46
46
  enumerable: true,
47
- get: function () { return chunkOBE4TB76_js.useViewerBuildingBlocks; }
47
+ get: function () { return chunkDE3S3UHX_js.useViewerBuildingBlocks; }
48
48
  });
49
49
  Object.defineProperty(exports, "getAnimationInitialStyle", {
50
50
  enumerable: true,
51
- get: function () { return chunkVIFDZIVX_js.getAnimationInitialStyle; }
51
+ get: function () { return chunkQWA5YEIZ_js.getAnimationInitialStyle; }
52
52
  });
53
53
  Object.defineProperty(exports, "AVATAR_COLOR_SWATCHES", {
54
54
  enumerable: true,
55
- get: function () { return chunkDCNHUEWQ_js.AVATAR_COLOR_SWATCHES; }
55
+ get: function () { return chunkSN5EUDIT_js.AVATAR_COLOR_SWATCHES; }
56
56
  });
57
57
  Object.defineProperty(exports, "DEFAULT_VIEWER_PROFILE", {
58
58
  enumerable: true,
59
- get: function () { return chunkDCNHUEWQ_js.DEFAULT_VIEWER_PROFILE; }
59
+ get: function () { return chunkSN5EUDIT_js.DEFAULT_VIEWER_PROFILE; }
60
60
  });
61
61
  Object.defineProperty(exports, "PPTX_OPEN_ACCEPT", {
62
62
  enumerable: true,
63
- get: function () { return chunkDCNHUEWQ_js.PPTX_OPEN_ACCEPT; }
63
+ get: function () { return chunkSN5EUDIT_js.PPTX_OPEN_ACCEPT; }
64
64
  });
65
65
  Object.defineProperty(exports, "PRESENTATION_OPEN_EXTENSIONS", {
66
66
  enumerable: true,
67
- get: function () { return chunkDCNHUEWQ_js.PRESENTATION_OPEN_EXTENSIONS; }
67
+ get: function () { return chunkSN5EUDIT_js.PRESENTATION_OPEN_EXTENSIONS; }
68
68
  });
69
69
  Object.defineProperty(exports, "SLIDE_TEMPLATES", {
70
70
  enumerable: true,
71
- get: function () { return chunkDCNHUEWQ_js.SLIDE_TEMPLATES; }
71
+ get: function () { return chunkSN5EUDIT_js.SLIDE_TEMPLATES; }
72
72
  });
73
73
  Object.defineProperty(exports, "THEME_CATALOG", {
74
74
  enumerable: true,
75
- get: function () { return chunkDCNHUEWQ_js.THEME_CATALOG; }
75
+ get: function () { return chunkSN5EUDIT_js.THEME_CATALOG; }
76
76
  });
77
77
  Object.defineProperty(exports, "VIEWER_PREFS_STORAGE_KEY", {
78
78
  enumerable: true,
79
- get: function () { return chunkDCNHUEWQ_js.VIEWER_PREFS_STORAGE_KEY; }
79
+ get: function () { return chunkSN5EUDIT_js.VIEWER_PREFS_STORAGE_KEY; }
80
80
  });
81
81
  Object.defineProperty(exports, "buildSlideTemplateContent", {
82
82
  enumerable: true,
83
- get: function () { return chunkDCNHUEWQ_js.buildSlideTemplateContent; }
83
+ get: function () { return chunkSN5EUDIT_js.buildSlideTemplateContent; }
84
84
  });
85
85
  Object.defineProperty(exports, "buildSlideTemplateSlide", {
86
86
  enumerable: true,
87
- get: function () { return chunkDCNHUEWQ_js.buildSlideTemplateSlide; }
87
+ get: function () { return chunkSN5EUDIT_js.buildSlideTemplateSlide; }
88
88
  });
89
89
  Object.defineProperty(exports, "clearAllLocalViewerData", {
90
90
  enumerable: true,
91
- get: function () { return chunkDCNHUEWQ_js.clearAllLocalViewerData; }
91
+ get: function () { return chunkSN5EUDIT_js.clearAllLocalViewerData; }
92
92
  });
93
93
  Object.defineProperty(exports, "clearStoredViewerPrefs", {
94
94
  enumerable: true,
95
- get: function () { return chunkDCNHUEWQ_js.clearStoredViewerPrefs; }
95
+ get: function () { return chunkSN5EUDIT_js.clearStoredViewerPrefs; }
96
96
  });
97
97
  Object.defineProperty(exports, "defaultCssVars", {
98
98
  enumerable: true,
99
- get: function () { return chunkDCNHUEWQ_js.defaultCssVars; }
99
+ get: function () { return chunkSN5EUDIT_js.defaultCssVars; }
100
100
  });
101
101
  Object.defineProperty(exports, "defaultRadius", {
102
102
  enumerable: true,
103
- get: function () { return chunkDCNHUEWQ_js.defaultRadius; }
103
+ get: function () { return chunkSN5EUDIT_js.defaultRadius; }
104
104
  });
105
105
  Object.defineProperty(exports, "defaultThemeColors", {
106
106
  enumerable: true,
107
- get: function () { return chunkDCNHUEWQ_js.defaultThemeColors; }
107
+ get: function () { return chunkSN5EUDIT_js.defaultThemeColors; }
108
108
  });
109
109
  Object.defineProperty(exports, "getLocalStorageUsageSummary", {
110
110
  enumerable: true,
111
- get: function () { return chunkDCNHUEWQ_js.getLocalStorageUsageSummary; }
111
+ get: function () { return chunkSN5EUDIT_js.getLocalStorageUsageSummary; }
112
112
  });
113
113
  Object.defineProperty(exports, "isLegacyBinaryPresentation", {
114
114
  enumerable: true,
115
- get: function () { return chunkDCNHUEWQ_js.isLegacyBinaryPresentation; }
115
+ get: function () { return chunkSN5EUDIT_js.isLegacyBinaryPresentation; }
116
116
  });
117
117
  Object.defineProperty(exports, "isSupportedPresentationFile", {
118
118
  enumerable: true,
119
- get: function () { return chunkDCNHUEWQ_js.isSupportedPresentationFile; }
119
+ get: function () { return chunkSN5EUDIT_js.isSupportedPresentationFile; }
120
120
  });
121
121
  Object.defineProperty(exports, "presentationBaseName", {
122
122
  enumerable: true,
123
- get: function () { return chunkDCNHUEWQ_js.presentationBaseName; }
123
+ get: function () { return chunkSN5EUDIT_js.presentationBaseName; }
124
124
  });
125
125
  Object.defineProperty(exports, "readStoredViewerPrefs", {
126
126
  enumerable: true,
127
- get: function () { return chunkDCNHUEWQ_js.readStoredViewerPrefs; }
127
+ get: function () { return chunkSN5EUDIT_js.readStoredViewerPrefs; }
128
128
  });
129
129
  Object.defineProperty(exports, "resolveProfileInitial", {
130
130
  enumerable: true,
131
- get: function () { return chunkDCNHUEWQ_js.resolveProfileInitial; }
131
+ get: function () { return chunkSN5EUDIT_js.resolveProfileInitial; }
132
132
  });
133
133
  Object.defineProperty(exports, "resolveThemeCatalogEntry", {
134
134
  enumerable: true,
135
- get: function () { return chunkDCNHUEWQ_js.resolveThemeCatalogEntry; }
135
+ get: function () { return chunkSN5EUDIT_js.resolveThemeCatalogEntry; }
136
136
  });
137
137
  Object.defineProperty(exports, "saveViewerProfile", {
138
138
  enumerable: true,
139
- get: function () { return chunkDCNHUEWQ_js.saveViewerProfile; }
139
+ get: function () { return chunkSN5EUDIT_js.saveViewerProfile; }
140
140
  });
141
141
  Object.defineProperty(exports, "savedPresentationFileName", {
142
142
  enumerable: true,
143
- get: function () { return chunkDCNHUEWQ_js.savedPresentationFileName; }
143
+ get: function () { return chunkSN5EUDIT_js.savedPresentationFileName; }
144
144
  });
145
145
  Object.defineProperty(exports, "themeToCssVars", {
146
146
  enumerable: true,
147
- get: function () { return chunkDCNHUEWQ_js.themeToCssVars; }
147
+ get: function () { return chunkSN5EUDIT_js.themeToCssVars; }
148
148
  });
149
149
  Object.defineProperty(exports, "vermilionDarkColors", {
150
150
  enumerable: true,
151
- get: function () { return chunkDCNHUEWQ_js.vermilionDarkColors; }
151
+ get: function () { return chunkSN5EUDIT_js.vermilionDarkColors; }
152
152
  });
153
153
  Object.defineProperty(exports, "vermilionDarkTheme", {
154
154
  enumerable: true,
155
- get: function () { return chunkDCNHUEWQ_js.vermilionDarkTheme; }
155
+ get: function () { return chunkSN5EUDIT_js.vermilionDarkTheme; }
156
156
  });
157
157
  Object.defineProperty(exports, "vermilionLightColors", {
158
158
  enumerable: true,
159
- get: function () { return chunkDCNHUEWQ_js.vermilionLightColors; }
159
+ get: function () { return chunkSN5EUDIT_js.vermilionLightColors; }
160
160
  });
161
161
  Object.defineProperty(exports, "vermilionLightTheme", {
162
162
  enumerable: true,
163
- get: function () { return chunkDCNHUEWQ_js.vermilionLightTheme; }
163
+ get: function () { return chunkSN5EUDIT_js.vermilionLightTheme; }
164
164
  });
165
165
  Object.defineProperty(exports, "vermilionRadius", {
166
166
  enumerable: true,
167
- get: function () { return chunkDCNHUEWQ_js.vermilionRadius; }
167
+ get: function () { return chunkSN5EUDIT_js.vermilionRadius; }
168
168
  });
169
169
  Object.defineProperty(exports, "writeStoredViewerPrefs", {
170
170
  enumerable: true,
171
- get: function () { return chunkDCNHUEWQ_js.writeStoredViewerPrefs; }
171
+ get: function () { return chunkSN5EUDIT_js.writeStoredViewerPrefs; }
172
172
  });
173
173
  Object.defineProperty(exports, "LOCALE_CATALOG", {
174
174
  enumerable: true,
175
- get: function () { return chunkW24OJ7H5_js.LOCALE_CATALOG; }
175
+ get: function () { return chunkL3ZIBQEB_js.LOCALE_CATALOG; }
176
176
  });
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, SlideTemplateGalleryDialog, SlideTemplatePreview, Toolbar, ViewerThemeProvider, useViewerTheme } from './chunk-TXY2E7VQ.mjs';
2
- import './chunk-WKODF5ZU.mjs';
3
- export { renderToCanvas, useViewerBuildingBlocks } from './chunk-PC62KGU3.mjs';
4
- export { getAnimationInitialStyle } from './chunk-JANUSAEK.mjs';
5
- export { AVATAR_COLOR_SWATCHES, DEFAULT_VIEWER_PROFILE, PPTX_OPEN_ACCEPT, PRESENTATION_OPEN_EXTENSIONS, SLIDE_TEMPLATES, THEME_CATALOG, VIEWER_PREFS_STORAGE_KEY, buildSlideTemplateContent, buildSlideTemplateSlide, clearAllLocalViewerData, clearStoredViewerPrefs, defaultCssVars, defaultRadius, defaultThemeColors, getLocalStorageUsageSummary, isLegacyBinaryPresentation, isSupportedPresentationFile, presentationBaseName, readStoredViewerPrefs, resolveProfileInitial, resolveThemeCatalogEntry, saveViewerProfile, savedPresentationFileName, themeToCssVars, vermilionDarkColors, vermilionDarkTheme, vermilionLightColors, vermilionLightTheme, vermilionRadius, writeStoredViewerPrefs } from './chunk-NV55GU5V.mjs';
6
- export { LOCALE_CATALOG } from './chunk-FGTMS7LR.mjs';
1
+ export { PowerPointViewer, SlideCanvas, SlideTemplateGalleryDialog, SlideTemplatePreview, Toolbar, ViewerThemeProvider, useViewerTheme } from './chunk-PFPKBNNZ.mjs';
2
+ import './chunk-RNP5HP4L.mjs';
3
+ export { renderToCanvas, useViewerBuildingBlocks } from './chunk-UPJW34YG.mjs';
4
+ export { getAnimationInitialStyle } from './chunk-RHWQKZLB.mjs';
5
+ export { AVATAR_COLOR_SWATCHES, DEFAULT_VIEWER_PROFILE, PPTX_OPEN_ACCEPT, PRESENTATION_OPEN_EXTENSIONS, SLIDE_TEMPLATES, THEME_CATALOG, VIEWER_PREFS_STORAGE_KEY, buildSlideTemplateContent, buildSlideTemplateSlide, clearAllLocalViewerData, clearStoredViewerPrefs, defaultCssVars, defaultRadius, defaultThemeColors, getLocalStorageUsageSummary, isLegacyBinaryPresentation, isSupportedPresentationFile, presentationBaseName, readStoredViewerPrefs, resolveProfileInitial, resolveThemeCatalogEntry, saveViewerProfile, savedPresentationFileName, themeToCssVars, vermilionDarkColors, vermilionDarkTheme, vermilionLightColors, vermilionLightTheme, vermilionRadius, writeStoredViewerPrefs } from './chunk-6IMB5DNJ.mjs';
6
+ export { LOCALE_CATALOG } from './chunk-FRZIBZTE.mjs';
7
7
  import './chunk-XGB3TDIC.mjs';
package/dist/index.mjs.br CHANGED
Binary file
package/dist/index.mjs.gz CHANGED
Binary file