pptx-svelte-viewer 4.4.0 → 4.6.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.
@@ -1802,6 +1802,15 @@ interface TextStyle {
1802
1802
  textInnerShadowOffsetX?: number;
1803
1803
  /** Text inner shadow vertical offset in px. */
1804
1804
  textInnerShadowOffsetY?: number;
1805
+ /**
1806
+ * Original inner-shadow colour-choice XML (`a:innerShdw`'s
1807
+ * `a:prstClr`/`a:schemeClr`/`a:srgbClr`/… child), preserved verbatim so an
1808
+ * authored preset or theme colour round-trips instead of always being
1809
+ * re-serialized as a resolved `a:srgbClr`. Mirrors {@link textGlowColorXml}.
1810
+ */
1811
+ textInnerShadowColorXml?: XmlObject;
1812
+ /** Theme colour slot the inner shadow colour resolved from, when it is `a:schemeClr`. */
1813
+ textInnerShadowColorRef?: PptxThemeColorRef;
1805
1814
  /** Preset shadow type from `a:prstShdw/@prst` (e.g. "shdw1"..."shdw20"). */
1806
1815
  textPresetShadowName?: string;
1807
1816
  /** Preset shadow colour as hex string. */
@@ -1814,6 +1823,18 @@ interface TextStyle {
1814
1823
  textPresetShadowDirection?: number;
1815
1824
  /** Text blur effect radius in px (`a:blur`). */
1816
1825
  textBlurRadius?: number;
1826
+ /**
1827
+ * Text soft-edge radius in px (`a:softEdge/@rad`).
1828
+ *
1829
+ * Feathers the glyph's own edges (a uniform blur of the alpha silhouette,
1830
+ * the same effect a shape's `a:softEdge` gives its fill), unrelated to
1831
+ * `a:blur` (which blurs the whole run, colour included) or a shadow. Never
1832
+ * parsed before this field existed, so `a:softEdge` on a run was silently
1833
+ * dropped: PowerPoint fades the glyphs to near-transparent at their
1834
+ * outline (COM-verified, `audit-text` slide 14's "SOFTEDGE" run), while
1835
+ * the viewer painted them fully crisp.
1836
+ */
1837
+ textSoftEdgeRadius?: number;
1817
1838
  /**
1818
1839
  * Raw `a:effectDag` XML node from `a:rPr`, preserved verbatim for
1819
1840
  * round-trip serialisation. Mirrors the shape-level
@@ -3323,6 +3344,15 @@ interface PptxChartHistogramOptions {
3323
3344
  intervalClosed?: 'l' | 'r';
3324
3345
  underflow?: number | 'auto';
3325
3346
  overflow?: number | 'auto';
3347
+ /**
3348
+ * `c:layoutPr/cx:aggregation` was authored instead of `cx:binning`: the
3349
+ * raw rows are CATEGORICAL (a Pareto chart's `clusteredColumn` series
3350
+ * counting occurrences of each authored category, COM-verified against
3351
+ * charts-com.pptx slide 31 / chartEx6.xml), not a numeric range to bin.
3352
+ * Mutually exclusive with `binSize`/`binCount`/`intervalClosed`, which
3353
+ * only apply to a true numeric-value histogram.
3354
+ */
3355
+ aggregateByCategory?: boolean;
3326
3356
  }
3327
3357
  /** Office 2016 ChartEx waterfall series layout options. */
3328
3358
  interface PptxChartWaterfallOptions {
@@ -3987,6 +4017,18 @@ interface PptxChartData {
3987
4017
  * the source" and callers should treat it as `true`. Surface only.
3988
4018
  */
3989
4019
  wireframe?: boolean;
4020
+ /**
4021
+ * Whether the surface chart is the 2-D "top view" projection
4022
+ * (`c:surfaceChart`, PowerPoint's "Contour" / "Wireframe Contour" types)
4023
+ * rather than the 3-D isometric one (`c:surface3DChart`, "3-D Surface" /
4024
+ * "3-D Surface (Wireframe)"). Both element names map to chart type
4025
+ * `"surface"`; this bit is the only thing that tells the renderer which
4026
+ * of the two projections PowerPoint actually drew, since a top-view
4027
+ * surface has no Z-axis at all (only category and series axes) while the
4028
+ * 3-D one draws all three. Surface only; `undefined` for every other
4029
+ * chart type.
4030
+ */
4031
+ surfaceTopView?: boolean;
3990
4032
  /**
3991
4033
  * Scatter presentation mode (`c:scatterChart/c:scatterStyle/@val`).
3992
4034
  *
package/dist/internals.js CHANGED
@@ -1,26 +1,26 @@
1
- import { Ff as a, G as T, Jt as i, Mn as n, Nn as t, Pf as S, Pt as e, Rc as _, Yt as A, Zf as E, er as o, ft as I, gn as N, kc as r, lp as R, lr as O, np as M, ot as l, pp as D, qt as P, rt as F, t as L, vc as v } from "./transition-overlay-CfsPqlES.js";
1
+ import { Ap as a, Bt as n, Hn as T, Ip as i, J as S, Tn as e, Uc as t, Un as A, Up as _, dr as E, el as I, fp as o, ht as r, in as N, ll as R, lt as O, nn as l, ot as M, pp as D, qp as p, rn as L, t as P, wr as U } from "./transition-overlay-Dkooknvn.js";
2
2
  export {
3
- T as CINEMATIC_TRANSITION_KEYFRAMES,
4
- F as DEFAULT_MORPH_DURATION_MS,
5
- l as DEFAULT_TRANSITION_DURATION_MS,
6
- I as EASE,
7
- e as INSTANT,
8
- P as P14_TRANSITION_KEYFRAMES,
9
- i as P14_TRANSITION_KEYFRAMES_2,
10
- A as P14_TRANSITION_KEYFRAMES_ALL,
11
- L as PresentationTransitionOverlay,
12
- N as RANDOM_ELIGIBLE_TYPES,
13
- n as SLIDE_TRANSITION_KEYFRAMES,
14
- t as SLIDE_TRANSITION_KEYFRAMES_CSS,
15
- o as TRANSITION_SPEED_DURATION_MS,
16
- O as WHEEL_SPOKE_COUNTS,
17
- v as getCinematicTransitionAnimations,
18
- r as getP14TransitionAnimations,
19
- _ as getSlideTransitionAnimations,
20
- S as resolveDirection,
21
- a as resolveDirection8,
22
- E as resolveOrientation,
23
- M as resolveSlideTransition,
24
- R as resolveTransitionDurationMs,
25
- D as resolveWheelSpokeCount
3
+ S as CINEMATIC_TRANSITION_KEYFRAMES,
4
+ M as DEFAULT_MORPH_DURATION_MS,
5
+ O as DEFAULT_TRANSITION_DURATION_MS,
6
+ r as EASE,
7
+ n as INSTANT,
8
+ l as P14_TRANSITION_KEYFRAMES,
9
+ L as P14_TRANSITION_KEYFRAMES_2,
10
+ N as P14_TRANSITION_KEYFRAMES_ALL,
11
+ P as PresentationTransitionOverlay,
12
+ e as RANDOM_ELIGIBLE_TYPES,
13
+ T as SLIDE_TRANSITION_KEYFRAMES,
14
+ A as SLIDE_TRANSITION_KEYFRAMES_CSS,
15
+ E as TRANSITION_SPEED_DURATION_MS,
16
+ U as WHEEL_SPOKE_COUNTS,
17
+ t as getCinematicTransitionAnimations,
18
+ I as getP14TransitionAnimations,
19
+ R as getSlideTransitionAnimations,
20
+ o as resolveDirection,
21
+ D as resolveDirection8,
22
+ a as resolveOrientation,
23
+ i as resolveSlideTransition,
24
+ _ as resolveTransitionDurationMs,
25
+ p as resolveWheelSpokeCount
26
26
  };