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.
- package/CHANGELOG.md +81 -0
- package/README.md +30 -29
- package/dist/{AiChatPanel-DywhOzzW.js → AiChatPanel-DyHv6ShJ.js} +2 -2
- package/dist/{export-BUx-Kmlc.js → export-zzqiDncO.js} +14605 -13898
- package/dist/i18n/de.cjs +11 -0
- package/dist/i18n/de.mjs +11 -0
- package/dist/i18n/es.cjs +11 -0
- package/dist/i18n/es.mjs +11 -0
- package/dist/i18n/fr.cjs +11 -0
- package/dist/i18n/fr.mjs +11 -0
- package/dist/i18n/zh-CN.cjs +11 -0
- package/dist/i18n/zh-CN.mjs +11 -0
- package/dist/i18n.js +1 -1
- package/dist/index.d.ts +474 -4
- package/dist/index.js +52 -38
- package/dist/internals.d.ts +42 -0
- package/dist/internals.js +24 -24
- package/dist/pptx-svelte-viewer.css +1 -1
- package/dist/{transition-overlay-CfsPqlES.js → transition-overlay-Dkooknvn.js} +33631 -32410
- package/dist/{translator-Dn-ANCp2.js → translator-DC6tH5v7.js} +11 -0
- package/dist/viewer/index.d.ts +345 -5
- package/dist/viewer/index.js +4 -4
- package/package.json +1 -1
package/dist/internals.d.ts
CHANGED
|
@@ -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 {
|
|
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
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
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
|
};
|