@docmentis/udoc-viewer 0.7.10 → 0.7.12

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 (46) hide show
  1. package/dist/package.json +1 -1
  2. package/dist/src/UDocClient.d.ts +13 -0
  3. package/dist/src/UDocClient.d.ts.map +1 -1
  4. package/dist/src/UDocClient.js +1 -1
  5. package/dist/src/UDocClient.js.map +1 -1
  6. package/dist/src/UDocViewer.d.ts.map +1 -1
  7. package/dist/src/UDocViewer.js +3 -1
  8. package/dist/src/UDocViewer.js.map +1 -1
  9. package/dist/src/ui/viewer/animation-presets.d.ts +37 -0
  10. package/dist/src/ui/viewer/animation-presets.d.ts.map +1 -0
  11. package/dist/src/ui/viewer/animation-presets.js +123 -0
  12. package/dist/src/ui/viewer/animation-presets.js.map +1 -0
  13. package/dist/src/ui/viewer/animation.d.ts +162 -0
  14. package/dist/src/ui/viewer/animation.d.ts.map +1 -0
  15. package/dist/src/ui/viewer/animation.js +506 -0
  16. package/dist/src/ui/viewer/animation.js.map +1 -0
  17. package/dist/src/ui/viewer/components/Spread.d.ts +6 -0
  18. package/dist/src/ui/viewer/components/Spread.d.ts.map +1 -1
  19. package/dist/src/ui/viewer/components/Spread.js +41 -0
  20. package/dist/src/ui/viewer/components/Spread.js.map +1 -1
  21. package/dist/src/ui/viewer/components/Toolbar.d.ts.map +1 -1
  22. package/dist/src/ui/viewer/components/Toolbar.js +4 -0
  23. package/dist/src/ui/viewer/components/Toolbar.js.map +1 -1
  24. package/dist/src/ui/viewer/components/Viewport.d.ts.map +1 -1
  25. package/dist/src/ui/viewer/components/Viewport.js +113 -3
  26. package/dist/src/ui/viewer/components/Viewport.js.map +1 -1
  27. package/dist/src/ui/viewer/state.d.ts +2 -0
  28. package/dist/src/ui/viewer/state.d.ts.map +1 -1
  29. package/dist/src/ui/viewer/state.js +1 -0
  30. package/dist/src/ui/viewer/state.js.map +1 -1
  31. package/dist/src/wasm/udoc.d.ts +150 -3
  32. package/dist/src/wasm/udoc.js +84 -12
  33. package/dist/src/wasm/udoc_bg.wasm +0 -0
  34. package/dist/src/wasm/udoc_bg.wasm.d.ts +5 -3
  35. package/dist/src/worker/WorkerClient.d.ts +18 -2
  36. package/dist/src/worker/WorkerClient.d.ts.map +1 -1
  37. package/dist/src/worker/WorkerClient.js +27 -0
  38. package/dist/src/worker/WorkerClient.js.map +1 -1
  39. package/dist/src/worker/index.d.ts +1 -1
  40. package/dist/src/worker/index.d.ts.map +1 -1
  41. package/dist/src/worker/worker-inline.js +1 -1
  42. package/dist/src/worker/worker.d.ts +28 -2
  43. package/dist/src/worker/worker.d.ts.map +1 -1
  44. package/dist/src/worker/worker.js +103 -10
  45. package/dist/src/worker/worker.js.map +1 -1
  46. package/package.json +1 -1
@@ -0,0 +1,123 @@
1
+ /**
2
+ * PowerPoint effects → CSS keyframes.
3
+ *
4
+ * Effects are matched on what the file says they do, not on a preset id.
5
+ * PowerPoint records the visual twice: as a `presetID` into a catalog of named
6
+ * effects, and as the behaviors that drive it. Only the second is
7
+ * self-describing — `p:animEffect/@filter` spells out `fade`, `zoom(in)`,
8
+ * `wipe(up)` in words — so that is what this keys on. Preset ids are an opaque
9
+ * numbering we have no ground truth for, and guessing them means playing the
10
+ * wrong effect.
11
+ *
12
+ * Anything unrecognized falls back to a fade of the right class, so the slide
13
+ * still builds correctly, just without the authored flourish.
14
+ */
15
+ const HIDDEN = { opacity: "0" };
16
+ const SHOWN = { opacity: "1" };
17
+ /** Directions a filter option can name, as CSS `inset()` edges. */
18
+ const WIPE_INSETS = {
19
+ // [hidden state, shown state] — insets are top right bottom left.
20
+ up: ["inset(100% 0 0 0)", "inset(0 0 0 0)"],
21
+ down: ["inset(0 0 100% 0)", "inset(0 0 0 0)"],
22
+ left: ["inset(0 0 0 100%)", "inset(0 0 0 0)"],
23
+ right: ["inset(0 100% 0 0)", "inset(0 0 0 0)"],
24
+ };
25
+ /**
26
+ * Keyframes for a named filter, in "hidden → shown" order.
27
+ *
28
+ * Exit effects reverse whatever this returns, so each filter is written once.
29
+ */
30
+ function filterKeyframes(name, option) {
31
+ switch (name) {
32
+ case "fade":
33
+ case "dissolve":
34
+ return [HIDDEN, SHOWN];
35
+ case "zoom": {
36
+ // `in` grows from small, `out` shrinks from large. Anything else
37
+ // (`center`, `inSlightly`, …) reads as a plain grow.
38
+ const from = option === "out" ? "scale(1.6)" : "scale(0.4)";
39
+ return [
40
+ { opacity: "0", transform: from },
41
+ { opacity: "1", transform: "scale(1)" },
42
+ ];
43
+ }
44
+ case "wipe":
45
+ case "barn":
46
+ case "strips": {
47
+ const insets = WIPE_INSETS[option ?? "up"];
48
+ if (!insets)
49
+ return [HIDDEN, SHOWN];
50
+ return [
51
+ { clipPath: insets[0], opacity: "1" },
52
+ { clipPath: insets[1], opacity: "1" },
53
+ ];
54
+ }
55
+ default:
56
+ return null;
57
+ }
58
+ }
59
+ /**
60
+ * Resolve an effect to the motion its layers should play.
61
+ *
62
+ * Returns null for effects that neither move nor change visibility, which the
63
+ * caller can skip entirely.
64
+ */
65
+ export function resolveMotion(effect) {
66
+ const entering = effect.class === "entrance";
67
+ if (!entering && effect.class !== "exit") {
68
+ // Emphasis, motion paths, OLE verbs and media calls leave visibility
69
+ // alone. Without a faithful rendering, doing nothing beats guessing.
70
+ return null;
71
+ }
72
+ const keyframes = enterKeyframes(effect);
73
+ return {
74
+ keyframes: entering ? keyframes : [...keyframes].reverse(),
75
+ endsVisible: entering,
76
+ };
77
+ }
78
+ /** Keyframes as if the effect were an entrance, hidden → shown. */
79
+ function enterKeyframes(effect) {
80
+ const behavior = effect.behavior;
81
+ if (!behavior)
82
+ return [HIDDEN, SHOWN];
83
+ switch (behavior.type) {
84
+ case "filter":
85
+ return filterKeyframes(behavior.name, behavior.option ?? undefined) ?? [HIDDEN, SHOWN];
86
+ case "scale":
87
+ return [
88
+ { opacity: "0", transform: "scale(0.4)" },
89
+ { opacity: "1", transform: "scale(1)" },
90
+ ];
91
+ case "rotate":
92
+ return [
93
+ { opacity: "0", transform: "rotate(-180deg)" },
94
+ { opacity: "1", transform: "rotate(0deg)" },
95
+ ];
96
+ // "move" needs the behavior's from/to values, which are not parsed yet,
97
+ // so it fades rather than sliding in an arbitrary direction.
98
+ case "move":
99
+ case "color":
100
+ case "instant":
101
+ default:
102
+ return [HIDDEN, SHOWN];
103
+ }
104
+ }
105
+ /**
106
+ * Convert PowerPoint's accelerate/decelerate fractions to a CSS easing.
107
+ *
108
+ * PowerPoint eases over a fraction of the duration at each end, which maps
109
+ * onto a cubic-bezier whose control points sit at those fractions.
110
+ */
111
+ export function resolveEasing(accelerate, decelerate) {
112
+ if (accelerate <= 0 && decelerate <= 0)
113
+ return "linear";
114
+ const x1 = clamp01(accelerate);
115
+ const x2 = 1 - clamp01(decelerate);
116
+ return `cubic-bezier(${x1.toFixed(3)}, 0, ${x2.toFixed(3)}, 1)`;
117
+ }
118
+ function clamp01(value) {
119
+ if (!Number.isFinite(value))
120
+ return 0;
121
+ return Math.min(1, Math.max(0, value));
122
+ }
123
+ //# sourceMappingURL=animation-presets.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"animation-presets.js","sourceRoot":"","sources":["../../../../src/ui/viewer/animation-presets.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAYH,MAAM,MAAM,GAAa,EAAE,OAAO,EAAE,GAAG,EAAE,CAAC;AAC1C,MAAM,KAAK,GAAa,EAAE,OAAO,EAAE,GAAG,EAAE,CAAC;AAEzC,mEAAmE;AACnE,MAAM,WAAW,GAAqC;IAClD,kEAAkE;IAClE,EAAE,EAAE,CAAC,mBAAmB,EAAE,gBAAgB,CAAC;IAC3C,IAAI,EAAE,CAAC,mBAAmB,EAAE,gBAAgB,CAAC;IAC7C,IAAI,EAAE,CAAC,mBAAmB,EAAE,gBAAgB,CAAC;IAC7C,KAAK,EAAE,CAAC,mBAAmB,EAAE,gBAAgB,CAAC;CACjD,CAAC;AAEF;;;;GAIG;AACH,SAA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CAAC,UAAU,CAAC,CAAC;IAC/B,MAAM,EAAE,GAAG,CAAC,GAAG,OAAO,CAAC,UAAU,CAAC,CAAC;IACnC,OAAO,gBAAgB,EAAE,CAAC,OAAO,CAAC,CAAC,CAAC,QAAQ,EAAE,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC;AACpE,CAAC;AAED,SAAS,OAAO,CAAC,KAAa;IAC1B,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,KAAK,CAAC;QAAE,OAAO,CAAC,CAAC;IACtC,OAAO,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE,KAAK,CAAC,CAAC,CAAC;AAC3C,CAAC"}
@@ -0,0 +1,162 @@
1
+ /**
2
+ * Slide build sequences for PPTX animations.
3
+ *
4
+ * The WASM side rasterizes a slide into z-ordered layers — one per animated
5
+ * shape, plus one per run of static content between them — and hands over a
6
+ * timeline of click steps. This module stacks those layers as DOM elements and
7
+ * plays the steps with the Web Animations API, so compositing stays on the GPU
8
+ * and no re-render is needed per frame.
9
+ *
10
+ * Paragraph builds clip a text shape's single layer to the band occupied by
11
+ * the revealed paragraphs, derived from the page's text layout. Paragraphs
12
+ * never overlap, so clipping is exact.
13
+ */
14
+ import type { AnimationLayer, LayoutPage, SlideAnimation, WorkerClient } from "../../worker/index.js";
15
+ export interface SlideAnimationOptions {
16
+ /** The build sequence to play. */
17
+ animation: SlideAnimation;
18
+ /** Rendered layers, back-to-front, as returned by `renderPageLayers`. */
19
+ layers: AnimationLayer[];
20
+ /** Device-pixel size the layers were rendered at. */
21
+ renderWidth: number;
22
+ renderHeight: number;
23
+ /** Element the layer stack is mounted into; sized to the displayed page. */
24
+ host: HTMLElement;
25
+ /** Page text layout, used to locate paragraph bands. Optional. */
26
+ layout?: LayoutPage;
27
+ }
28
+ /**
29
+ * Plays one slide's build sequence over a stack of layer canvases.
30
+ *
31
+ * Step counting: `step` is the number of steps already played. At 0 nothing
32
+ * has run, so entrance targets are hidden; at `stepCount` the build is
33
+ * complete and the slide looks like a normal full-page render.
34
+ */
35
+ export declare class SlideAnimationController {
36
+ private readonly animation;
37
+ private readonly host;
38
+ private readonly layers;
39
+ private readonly running;
40
+ /** Step at which each shape first enters, if it has an entrance effect. */
41
+ private readonly entranceStep;
42
+ /** Step at which each shape first leaves, if it has an exit effect. */
43
+ private readonly exitStep;
44
+ /** Paragraph bands per shape, for shapes built paragraph by paragraph. */
45
+ private readonly paragraphBands;
46
+ /** Step at which each paragraph of a shape is revealed. */
47
+ private readonly paragraphStep;
48
+ private currentStep;
49
+ constructor(options: SlideAnimationOptions);
50
+ /** Number of clicks this slide's build takes. */
51
+ get stepCount(): number;
52
+ /** Steps already played. */
53
+ get step(): number;
54
+ /** Whether every step has played. */
55
+ get isComplete(): boolean;
56
+ /**
57
+ * Play the next step.
58
+ *
59
+ * Returns false when the build is already finished, which is the caller's
60
+ * cue to advance the slide instead.
61
+ */
62
+ next(): boolean;
63
+ /** Jump to a step's resting state without animating. */
64
+ seek(step: number): void;
65
+ /** Show the fully built slide, as when navigating backwards into it. */
66
+ complete(): void;
67
+ /**
68
+ * Whether this build is still mounted in `host` and on screen.
69
+ *
70
+ * A viewer that was destroyed and recreated leaves the old controller
71
+ * pointing at detached nodes; reusing it would show no layers at all.
72
+ */
73
+ isMountedIn(host: HTMLElement): boolean;
74
+ /** Cancel in-flight animations and remove the layer stack. */
75
+ destroy(): void;
76
+ /** Record, per shape, the steps at which it enters, leaves and builds. */
77
+ private indexEffects;
78
+ /**
79
+ * Derive each built shape's paragraph bands from the page text layout.
80
+ *
81
+ * Lines carry `isFirstLineOfPara`, so paragraphs are the runs between
82
+ * those flags. Bands are stored as fractions of the page height so they
83
+ * survive zoom without recomputation.
84
+ */
85
+ private indexParagraphBands;
86
+ private mountLayers;
87
+ /**
88
+ * Put every layer into its state after `step` steps.
89
+ *
90
+ * When `animate` is set, shapes whose state changes during this step play
91
+ * their effect; everything else snaps, which is what makes `seek` cheap.
92
+ */
93
+ private applyState;
94
+ /** Effects belonging to a step, keyed by shape. */
95
+ private effectsOfStep;
96
+ private play;
97
+ /** Whether a shape is on screen once `step` steps have played. */
98
+ private isVisibleAt;
99
+ /**
100
+ * Clip a paragraph-built shape to the paragraphs revealed so far.
101
+ *
102
+ * Bands are page-relative, so they are rebased onto the layer's own box
103
+ * before becoming an inset. Shapes without a build get no clip at all.
104
+ */
105
+ private applyParagraphClip;
106
+ }
107
+ /**
108
+ * Whether a slide is known to animate, without waiting on the worker.
109
+ *
110
+ * `undefined` means "not asked yet" — the caller must not assume either way.
111
+ */
112
+ export declare function knownToAnimate(docId: string, pageIndex: number): boolean | undefined;
113
+ /**
114
+ * Warm the cache for a slide so arriving at it needs no worker round trip.
115
+ *
116
+ * Called for the slides on either side of the current one, which covers the
117
+ * sequential stepping that presenting a deck actually consists of.
118
+ */
119
+ export declare function prefetchSlideAnimation(workerClient: WorkerClient, docId: string, pageIndex: number): void;
120
+ /**
121
+ * Drop cached build sequences, for one document or all of them.
122
+ *
123
+ * Document ids are recycled — a fresh client numbers from `doc_0` again — so a
124
+ * stale entry would otherwise hand one document's timeline to another.
125
+ */
126
+ export declare function forgetSlideAnimations(docId?: string): void;
127
+ /**
128
+ * Advance the on-screen build by one step.
129
+ *
130
+ * Returns true when a step played, which means the caller must NOT turn the
131
+ * page: the click belonged to the build, not to navigation.
132
+ */
133
+ export declare function advanceActiveSlideAnimation(): boolean;
134
+ /** Steps played on the on-screen build, or null when none is mounted. */
135
+ export declare function activeSlideAnimationStep(): number | null;
136
+ /** Whether a build is on screen with steps still to play. */
137
+ export declare function hasPendingSlideAnimation(): boolean;
138
+ /** Tear down the on-screen build and restore the plain page canvas. */
139
+ export declare function clearActiveSlideAnimation(): void;
140
+ export interface MountSlideAnimationOptions {
141
+ workerClient: WorkerClient;
142
+ docId: string;
143
+ /** Zero-based index of the slide being shown. */
144
+ pageIndex: number;
145
+ /** Element the layer stack mounts into, sized to the displayed page. */
146
+ host: HTMLElement;
147
+ /** The slide's plain canvas, hidden while the build is on screen. */
148
+ pageCanvas: HTMLElement;
149
+ /** Device-pixel size to rasterize the layers at. */
150
+ renderWidth: number;
151
+ renderHeight: number;
152
+ /** Start on the fully built slide, as when navigating backwards into it. */
153
+ startComplete?: boolean;
154
+ }
155
+ /**
156
+ * Load and mount a slide's build sequence.
157
+ *
158
+ * Returns false — leaving the plain page canvas in place — when the slide has
159
+ * no animation, which is the overwhelming majority of pages.
160
+ */
161
+ export declare function mountSlideAnimation(options: MountSlideAnimationOptions): Promise<boolean>;
162
+ //# sourceMappingURL=animation.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"animation.d.ts","sourceRoot":"","sources":["../../../../src/ui/viewer/animation.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAEH,OAAO,KAAK,EAAmB,cAAc,EAAE,UAAU,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAoBvH,MAAM,WAAW,qBAAqB;IAClC,kCAAkC;IAClC,SAAS,EAAE,cAAc,CAAC;IAC1B,yEAAyE;IACzE,MAAM,EAAE,cAAc,EAAE,CAAC;IACzB,qDAAqD;IACrD,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,EAAE,MAAM,CAAC;IACrB,4EAA4E;IAC5E,IAAI,EAAE,WAAW,CAAC;IAClB,kEAAkE;IAClE,MAAM,CAAC,EAAE,UAAU,CAAC;CACvB;AAED;;;;;;GAMG;AACH,qBAAa,wBAAwB;IACjC,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAiB;IAC3C,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAc;IACnC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAsB;IAC7C,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAwB;IAEhD,2EAA2E;IAC3E,OAAO,CAAC,QAAQ,CAAC,YAAY,CAA6B;IAC1D,uEAAuE;IACvE,OAAO,CAAC,QAAQ,CAAC,QAAQ,CA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