ooxml-ui 1.42.0 → 1.43.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 (84) hide show
  1. package/dist/chart/design-galleries.d.ts +1 -0
  2. package/dist/chart/format-pane-types.d.ts +1 -0
  3. package/dist/chart/format-pane-view.d.ts +1 -0
  4. package/dist/chrome/status-bar.d.ts +2 -0
  5. package/dist/chrome/status-bar.d.ts.map +1 -1
  6. package/dist/{chunk-4RFFOPBU.js → chunk-2ZYRZANE.js} +1 -1
  7. package/dist/{chunk-Y6KY34VD.js → chunk-I57TCM2Q.js} +57 -11
  8. package/dist/{chunk-TTT5IQBU.js → chunk-JWBWLGEY.js} +2 -2
  9. package/dist/{chunk-LBIABP4I.js → chunk-M4ARYL3L.js} +1 -1
  10. package/dist/{chunk-7L4NP4HN.js → chunk-NH5ZSZMI.js} +1 -1
  11. package/dist/controls.d.ts +1 -0
  12. package/dist/controls.d.ts.map +1 -1
  13. package/dist/controls.js +1 -1
  14. package/dist/dialog/message-dialogs.d.ts.map +1 -1
  15. package/dist/docx/locales/en-app.d.ts +5 -0
  16. package/dist/docx/locales/en.d.ts +5 -0
  17. package/dist/docx/localization-strings.d.ts +5 -0
  18. package/dist/docx/title-bar.d.ts +2 -1
  19. package/dist/docx.js +40 -11
  20. package/dist/files/save-progress-label.d.ts +23 -0
  21. package/dist/files/save-progress-label.d.ts.map +1 -0
  22. package/dist/index.js +4 -4
  23. package/dist/picture-effects.d.ts +1 -0
  24. package/dist/picture-view.d.ts +1 -0
  25. package/dist/pptx/{chunk-C7G2CSU2.mjs → chunk-5BINBXFV.mjs} +1 -1
  26. package/dist/pptx/{chunk-OPLK7GPB.mjs → chunk-7FTP7OOA.mjs} +714 -414
  27. package/dist/pptx/{chunk-RI4YZ4AG.cjs → chunk-P4NVINSK.cjs} +721 -416
  28. package/dist/pptx/{chunk-XTYRGVT5.cjs → chunk-UGSMMZU6.cjs} +42 -42
  29. package/dist/pptx/{chunk-SF3MYUTD.mjs → chunk-W2QJX2ON.mjs} +5 -0
  30. package/dist/pptx/{chunk-WNDGU3GQ.cjs → chunk-ZHVKGGLQ.cjs} +5 -0
  31. package/dist/pptx/dom/index.cjs +388 -388
  32. package/dist/pptx/dom/index.mjs +6 -6
  33. package/dist/pptx/i18n/index.cjs +6 -6
  34. package/dist/pptx/i18n/index.mjs +1 -1
  35. package/dist/pptx/i18n/translations-en.d.ts.map +1 -1
  36. package/dist/pptx/index.cjs +3108 -3088
  37. package/dist/pptx/index.mjs +2 -2
  38. package/dist/pptx/render/controller/index.d.ts +2 -0
  39. package/dist/pptx/render/controller/index.d.ts.map +1 -1
  40. package/dist/pptx/render/controller/save-progress-controller.d.ts +56 -0
  41. package/dist/pptx/render/controller/save-progress-controller.d.ts.map +1 -0
  42. package/dist/pptx/render/embedded-fonts-sheet.d.ts +25 -0
  43. package/dist/pptx/render/embedded-fonts-sheet.d.ts.map +1 -0
  44. package/dist/pptx/render/font-line-gap.d.ts +21 -0
  45. package/dist/pptx/render/font-line-gap.d.ts.map +1 -0
  46. package/dist/pptx/render/font-settled.d.ts.map +1 -1
  47. package/dist/pptx/render/index.d.ts +1 -0
  48. package/dist/pptx/render/index.d.ts.map +1 -1
  49. package/dist/pptx/render/morph-plan-carry.d.ts +41 -0
  50. package/dist/pptx/render/morph-plan-carry.d.ts.map +1 -0
  51. package/dist/pptx/render/morph-plan-channels.d.ts +30 -0
  52. package/dist/pptx/render/morph-plan-channels.d.ts.map +1 -0
  53. package/dist/pptx/render/morph-plan-crossfade.d.ts +23 -0
  54. package/dist/pptx/render/morph-plan-crossfade.d.ts.map +1 -0
  55. package/dist/pptx/render/morph-plan-css.d.ts +62 -0
  56. package/dist/pptx/render/morph-plan-css.d.ts.map +1 -0
  57. package/dist/pptx/render/morph-plan-lift.d.ts +44 -0
  58. package/dist/pptx/render/morph-plan-lift.d.ts.map +1 -0
  59. package/dist/pptx/render/morph-plan-overlay.d.ts +62 -0
  60. package/dist/pptx/render/morph-plan-overlay.d.ts.map +1 -0
  61. package/dist/pptx/render/morph-plan-types.d.ts +208 -0
  62. package/dist/pptx/render/morph-plan-types.d.ts.map +1 -0
  63. package/dist/pptx/render/morph-plan.d.ts +4 -252
  64. package/dist/pptx/render/morph-plan.d.ts.map +1 -1
  65. package/dist/pptx/render/paragraph-baseline.d.ts +6 -0
  66. package/dist/pptx/render/paragraph-baseline.d.ts.map +1 -1
  67. package/dist/pptx/render/status-bar-state.d.ts +7 -1
  68. package/dist/pptx/render/status-bar-state.d.ts.map +1 -1
  69. package/dist/pptx/render/text-field-substitution.d.ts +13 -14
  70. package/dist/pptx/render/text-field-substitution.d.ts.map +1 -1
  71. package/dist/pptx/{smartart-insert-preview-AE7D4I7L.mjs → smartart-insert-preview-DXFDFDSC.mjs} +3 -3
  72. package/dist/pptx/{smartart-insert-preview-P4NV2FRD.cjs → smartart-insert-preview-UP6DYY42.cjs} +4 -4
  73. package/dist/pptx/web-components/status-bar.d.ts.map +1 -1
  74. package/dist/teams.js +2 -2
  75. package/dist/theme-bridge.d.ts +1 -0
  76. package/dist/theme.d.ts +1 -0
  77. package/dist/visio/title-bar.d.ts +3 -1
  78. package/dist/visio/viewer-backstage.d.ts +2 -0
  79. package/dist/visio/viewer-file-commands.d.ts +2 -2
  80. package/dist/visio.js +75 -20
  81. package/dist/xlsx/editor-files.d.ts +1 -1
  82. package/dist/xlsx/title-bar.d.ts +2 -1
  83. package/dist/xlsx.js +21 -12
  84. package/package.json +2 -2
@@ -0,0 +1,41 @@
1
+ /**
2
+ * Which matched pairs have their text carried apart from the whole element,
3
+ * and the copies that carry it: piece by piece, glyph by glyph, or body apart
4
+ * from text (see `morph-text-piece-plan`, `morph-text-glyph-plan`,
5
+ * `morph-text-body`). One dispatch for the three, in the order they claim
6
+ * pairs, so no pair is carried twice.
7
+ *
8
+ * @module render/morph-plan-carry
9
+ */
10
+ import type { PptxElement } from 'ooxml-core/pptx';
11
+ import type { MorphTextBodyPlan } from './morph-text-body.js';
12
+ import type { MorphTextMeasure } from './morph-text-frame.js';
13
+ import type { MorphTextPiecePlan } from './morph-text-piece-plan.js';
14
+ import type { MorphMode, MorphPair } from './morph-types.js';
15
+ /** Everything {@link planMorphTextCarry} reads about the transition. */
16
+ export interface MorphTextCarryInput {
17
+ readonly mode: MorphMode;
18
+ readonly durationMs: number;
19
+ readonly measureText: MorphTextMeasure | undefined;
20
+ readonly pairs: readonly MorphPair[];
21
+ readonly ghostIds: ReadonlySet<string>;
22
+ readonly flattenedOutgoing: readonly PptxElement[];
23
+ readonly flattenedIncoming: readonly PptxElement[];
24
+ /** Whether the plan holds a container animation for an incoming id yet. */
25
+ readonly animated: (id: string) => boolean;
26
+ readonly outlineAnimations: Map<string, string>;
27
+ readonly customGeometryAnimations: Map<string, string>;
28
+ readonly outlineStrandAnimations: Map<string, string[]>;
29
+ }
30
+ /** The copies that carry text apart from its element. */
31
+ export interface MorphTextCarry {
32
+ /** Outgoing text id -> the incoming text it adopts the layout of while offstage. */
33
+ offstageRestyles: Map<string, PptxElement>;
34
+ /** Piece, glyph and body copies merged into one plan. */
35
+ pieces: MorphTextPiecePlan;
36
+ /** The body-apart-from-text half of {@link MorphTextCarry.pieces}. */
37
+ bodies: MorphTextBodyPlan;
38
+ }
39
+ /** Plan every text carry of the transition and merge them into one piece plan. */
40
+ export declare function planMorphTextCarry(input: MorphTextCarryInput): MorphTextCarry;
41
+ //# sourceMappingURL=morph-plan-carry.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"morph-plan-carry.d.ts","sourceRoot":"","sources":["../../../src/pptx/render/morph-plan-carry.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAGnD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAE3D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAE3D,OAAO,KA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
3
+ * container animations by half, the `<img>` crop channel, the outline,
4
+ * custom-geometry and connector-strand channels (see {@link MorphTransitionPlan}).
5
+ *
6
+ * @module render/morph-plan-channels
7
+ */
8
+ import type { generateFullMorphTransition } from './morph-animation.js';
9
+ /** The animations `morph-animation` generated for one transition. */
10
+ export type MorphGeneratedAnimations = ReturnType<typeof generateFullMorphTransition>;
11
+ /** The generated animations, partitioned by the channel a binding applies them on. */
12
+ export interface MorphAnimationChannels {
13
+ /** Every `@keyframes` block, in generation order. */
14
+ keyframes: string[];
15
+ incomingAnimations: Map<string, string>;
16
+ outgoingAnimations: Map<string, string>;
17
+ incomingImageAnimations: Map<string, string>;
18
+ outgoingImageAnimations: Map<string, string>;
19
+ outlineAnimations: Map<string, string>;
20
+ outlineStrandAnimations: Map<string, string[]>;
21
+ customGeometryAnimations: Map<string, string>;
22
+ lineAnimations: Map<string, string>;
23
+ }
24
+ /**
25
+ * Partition `animations` into channels. `outgoingIds` is the id set of the
26
+ * outgoing slide's (flattened) elements: partitioning on it, rather than on id
27
+ * shape, keeps the id format an implementation detail of core.
28
+ */
29
+ export declare function partitionMorphAnimations(animations: MorphGeneratedAnimations, outgoingIds: ReadonlySet<string>): MorphAnimationChannels;
30
+ //# sourceMappingURL=morph-plan-channels.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"morph-plan-channels.d.ts","sourceRoot":"","sources":["../../../src/pptx/render/morph-plan-channels.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,mBAAmB,CAAC;AAErE,qEAAqE;AACrE,MAAM,MAAM,wBAAwB,GAAG,UAAU,CAAC,OAAO,2BAA2B,CAAC,CAAC;AAEtF,sFAAsF;AACtF,MAAM,WAAW,sBAAsB;IACtC,qDAAqD;IACrD,SAAS,EAAE,MAAM,EAAE,CAAC;IACpB,kBAAkB,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACxC,kBAAkB,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACxC,uBAAuB,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC7C,uBAAuB,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC7C,iBAAiB,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACvC,uBAAuB,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC,CAAC;IAC/C,wBAAwB,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC9C,cAAc,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CACpC;AAED;;;;GAIG;AACH,wBAAgB,wBAAwB,CACvC,UAAU,EAAE,wBAAwB,EACpC,WAAW,EAAE,WAAW,CAAC,MAAM,CAAC,GAC9B,sBAAsB,CAwExB"}
@@ -0,0 +1,23 @@
1
+ import type { MorphCrossfadeGroup } from './morph-crossfade-group.js';
2
+ /**
3
+ * Move a grouped pair's dissolve off the two elements and onto their wrappers.
4
+ *
5
+ * A pair that dissolves where it stands does not move, so the journey keyframes
6
+ * it was given are `translate(0, 0) scale(1, 1) rotate(0deg)` at both ends. They
7
+ * animate nothing and cost a compositing layer, whose raster the browser snaps
8
+ * to whole device pixels - the wording is then painted a fraction of a pixel
9
+ * from where the live stage paints it and twitches as the overlay comes and
10
+ * goes. Dropping them and running only the fade, on the slide-sized wrapper the
11
+ * binding puts each half in, measured pixel-identical to the settled slide
12
+ * (issue #161; the same reasoning already governs an inert pair's ghost).
13
+ *
14
+ * A pair that MOVES keeps everything on the element: it needs the journey, and
15
+ * a travelling shape cannot be seen to snap.
16
+ */
17
+ export declare function liftCrossfadeToWrapper(group: MorphCrossfadeGroup, animations: readonly {
18
+ elementId: string;
19
+ animation: string;
20
+ keyframes: string;
21
+ target?: string;
22
+ }[], outgoingAnimations: Map<string, string>, overlayIncomingAnimations: Map<string, string>): MorphCrossfadeGroup;
23
+ //# sourceMappingURL=morph-plan-crossfade.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"morph-plan-crossfade.d.ts","sourceRoot":"","sources":["../../../src/pptx/render/morph-plan-crossfade.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAEnE;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,sBAAsB,CACrC,KAAK,EAAE,mBAAmB,EAC1B,UAAU,EAAE,SAAS;IACpB,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;CAChB,EAAE,EACH,kBAAkB,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,EACvC,yBAAyB,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,GAC5C,mBAAmB,CA8DrB"}
@@ -0,0 +1,62 @@
1
+ /**
2
+ * Render a morph plan as CSS: the scoped `animation` rules and the outline,
3
+ * custom-geometry and connector-strand descendant rules a binding injects next
4
+ * to {@link MorphTransitionPlan.keyframesCss}.
5
+ *
6
+ * @module render/morph-plan-css
7
+ */
8
+ import type { MorphTransitionPlan } from './morph-plan-types.js';
9
+ /**
10
+ * Render a plan as a self-contained stylesheet that drives the morph purely
11
+ * through CSS, with no per-element prop plumbing.
12
+ *
13
+ * Every binding already stamps `data-element-id` on each rendered element, so
14
+ * scoping rules to an ancestor carrying `scopeAttribute` is enough to animate
15
+ * a whole slide. This is what lets Vue / Angular / Svelte / Vanilla play a
16
+ * morph without threading an animation map through their slide-stage
17
+ * components.
18
+ *
19
+ * @param plan - The plan to render.
20
+ * @param scopeAttribute - Attribute (already present on the ancestor) that
21
+ * scopes these rules, e.g. `data-pptx-morph-incoming`. Pass an empty string
22
+ * to emit document-level rules: element ids embed their slide path, so they
23
+ * are unique to the slide being animated and need no ancestor to disambiguate.
24
+ * That is what lets a binding whose incoming slide is rendered OUTSIDE the
25
+ * overlay (Angular, React) still drive it from here.
26
+ * @param which - Which half to emit: the live stage's `incoming` elements, the
27
+ * overlay's `outgoing` ghosts, or the `lifted` copies the overlay paints over
28
+ * those ghosts (see {@link MorphTransitionPlan.overlayIncomingElements}).
29
+ * @returns Keyframes plus the scoped `animation` rules, ready to inject.
30
+ */
31
+ export declare function buildMorphScopedCss(plan: MorphTransitionPlan, scopeAttribute: string, which?: 'incoming' | 'outgoing' | 'lifted'): string;
32
+ /**
33
+ * Just the `animation` rules of a plan, with no `@keyframes` block.
34
+ *
35
+ * For a binding that already injects {@link MorphTransitionPlan.keyframesCss}
36
+ * itself and applies the element-level animations some other way (React merges
37
+ * them into its per-element animation state), but still needs the descendant
38
+ * rules that {@link MorphTransitionPlan.incomingImageAnimations} cannot be
39
+ * expressed as an inline style for.
40
+ *
41
+ * @param plan - The plan to render.
42
+ * @param scopeAttribute - As {@link buildMorphScopedCss}.
43
+ * @param which - Which half of the transition to emit.
44
+ * @param only - `'image'` emits only the `<img>` descendant rules; omit for all.
45
+ * @returns The newline-joined rules (no trailing newline); `''` when there are none.
46
+ */
47
+ export declare function buildMorphAnimationRules(plan: MorphTransitionPlan, scopeAttribute: string, which?: 'incoming' | 'outgoing' | 'lifted', only?: 'image'): string;
48
+ /**
49
+ * The outline-path rules of a plan (see
50
+ * {@link MorphTransitionPlan.outlineAnimations}), keyed on `keyAttribute`.
51
+ *
52
+ * {@link buildMorphAnimationRules} keys them on `data-element-id`; a binding
53
+ * whose overlay paints its halves without that attribute (React's overlay
54
+ * wraps each one in a `data-pptx-morph-outgoing` / `data-pptx-morph-lifted`
55
+ * element named after its id instead) passes that attribute. A re-pathed
56
+ * outline animates the CSS `d` property, so the rules sit behind a support
57
+ * check; without it the static path stays, scaled with its box as before.
58
+ *
59
+ * @returns The rules, or `''` when the plan re-paths no outline.
60
+ */
61
+ export declare function buildMorphOutlineRules(plan: MorphTransitionPlan, keyAttribute: string, prefix?: string): string;
62
+ //# sourceMappingURL=morph-plan-css.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"morph-plan-css.d.ts","sourceRoot":"","sources":["../../../src/pptx/render/morph-plan-css.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AAyB9D;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,wBAAgB,mBAAmB,CAClC,IAAI,EAAE,mBAAmB,EACzB,cAAc,EAAE,MAAM,EACtB,KAAK,GAAE,UAAU,GAAG,UAAU,GAAG,QAAqB,GACpD,MAAM,CAER;AAED;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,wBAAwB,CACvC,IAAI,EAAE,mBAAmB,EACzB,cAAc,EAAE,MAAM,EACtB,KAAK,GAAE,UAAU,GAAG,UAAU,GAAG,QAAqB,EACtD,IAAI,CAAC,EAAE,OAAO,GACZ,MAAM,CA+BR;AAED;;;;;;;;;;;;GAYG;AACH,wBAAgB,sBAAsB,CACrC,IAAI,EAAE,mBAAmB,EACzB,YAAY,EAAE,MAAM,EACpB,MAAM,SAAK,GACT,MAAM,CAuBR"}
@@ -0,0 +1,44 @@
1
+ /**
2
+ * Which incoming shapes the overlay paints above the ghosts instead of leaving
3
+ * them on the live stage (see {@link MorphTransitionPlan.overlayIncomingElements}).
4
+ *
5
+ * @module render/morph-plan-lift
6
+ */
7
+ import type { PptxElement } from 'ooxml-core/pptx';
8
+ import type { MorphTextMeasure } from './morph-text-frame.js';
9
+ import type { MorphMode, MorphPair } from './morph-types.js';
10
+ /** Everything {@link resolveMorphLiftedIds} reads about the transition. */
11
+ export interface MorphLiftInput {
12
+ readonly mode: MorphMode;
13
+ readonly measureText: MorphTextMeasure | undefined;
14
+ /** Every matched pair. */
15
+ readonly pairs: readonly MorphPair[];
16
+ /** The pairs not carried piece by piece. */
17
+ readonly wholePairs: readonly MorphPair[];
18
+ readonly ghostIds: ReadonlySet<string>;
19
+ readonly flattenedOutgoing: readonly PptxElement[];
20
+ readonly flattenedIncoming: readonly PptxElement[];
21
+ /** Incoming ids of the pairs carried piece by piece. */
22
+ readonly pieceToIds: ReadonlySet<string>;
23
+ /** Incoming ids a body carry raises above the ghosts. */
24
+ readonly risingIds: Iterable<string>;
25
+ /** Whether the plan holds a container animation for an incoming id. */
26
+ readonly animated: (id: string) => boolean;
27
+ }
28
+ /**
29
+ * The incoming ids the overlay paints above the ghosts.
30
+ *
31
+ * Everything the overlay paints hides whatever the live stage is doing
32
+ * underneath, which is wrong for a shape that ARRIVES on top of a ghost:
33
+ * it dissolves in where nobody can see it and appears in one frame when the
34
+ * overlay is torn down (issue #146 - the wheel's centre disc is unchanged,
35
+ * so its opaque ghost sat over the new title, body and button for the whole
36
+ * morph). Those few move up into the overlay, above the ghosts, and the
37
+ * copy on the stage is held invisible so the two never composite.
38
+ *
39
+ * Only a ghost that KEEPS its opacity counts. One that dissolves is out of
40
+ * the way inside the first quarter, long before an arrival begins to appear,
41
+ * so it hides nothing worth moving an animation for.
42
+ */
43
+ export declare function resolveMorphLiftedIds(input: MorphLiftInput): Set<string>;
44
+ //# sourceMappingURL=morph-plan-lift.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"morph-plan-lift.d.ts","sourceRoot":"","sources":["../../../src/pptx/render/morph-plan-lift.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAMnD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAC3D,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAE1D,2EAA2E;AAC3E,MAAM,WAAW,cAAc;IAC9B,QAAQ,CAAC,IAAI,EAAE,SAAS,CAAC;IACzB,QAAQ,CAAC,WAAW,EAAE,gBAAgB,GAAG,SAAS,CAAC;IACnD,0BAA0B;IAC1B,QAAQ,CAAC,KAAK,EAAE,SAAS,SAAS,EAAE,CAAC;IACrC,4CAA4C;IAC5C,QAAQ,CAAC,UAAU,EAAE,SAAS,SAAS,EAAE,CAAC;IAC1C,QAAQ,CAAC,QAAQ,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IACvC,QAAQ,CAAC,iBAAiB,EAAE,SAAS,WAAW,EAAE,CAAC;IACnD,QAAQ,CAAC,iBAAiB,EAAE,SAAS,WAAW,EAAE,CAAC;IACnD,wDAAwD;IACxD,QAAQ,CAAC,UAAU,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IACzC,yDAAyD;IACzD,QAAQ,CAAC,SAAS,EAAE,QAAQ,CAAC,MAAM,CAAC,CAAC;IACrC,uEAAuE;IACvE,QAAQ,CAAC,QAAQ,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,OAAO,CAAC;CAC3C;AAED;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,cAAc,GAAG,GAAG,CAAC,MAAM,CAAC,CA0ExE"}
@@ -0,0 +1,62 @@
1
+ /**
2
+ * Assemble the overlay of a plan: hand the lifted arrivals and the piece copies
3
+ * their animations, group the cross-dissolving pairs, and stack everything the
4
+ * overlay paints back to front (see {@link MorphTransitionPlan.overlayStack}).
5
+ *
6
+ * @module render/morph-plan-overlay
7
+ */
8
+ import type { PptxElement } from 'ooxml-core/pptx';
9
+ import type { MorphCrossfadeGroup } from './morph-crossfade-group.js';
10
+ import type { MorphOverlayLayer } from './morph-overlay-layers.js';
11
+ import type { MorphOverlayStackEntry } from './morph-overlay-stack.js';
12
+ import type { MorphGeneratedAnimations } from './morph-plan-channels.js';
13
+ import type { MorphTextPiecePlan } from './morph-text-piece-plan.js';
14
+ import type { MorphPair } from './morph-types.js';
15
+ /** The maps {@link settleMorphLifts} reads and edits in place. */
16
+ export interface MorphSettleInput {
17
+ readonly durationMs: number;
18
+ readonly lifted: ReadonlySet<string>;
19
+ readonly pieces: MorphTextPiecePlan;
20
+ readonly pieceFromIds: ReadonlySet<string>;
21
+ readonly pieceToIds: ReadonlySet<string>;
22
+ readonly incomingAnimations: Map<string, string>;
23
+ readonly outgoingAnimations: Map<string, string>;
24
+ readonly outlineAnimations: Map<string, string>;
25
+ readonly outlineStrandAnimations: Map<string, string[]>;
26
+ readonly customGeometryAnimations: Map<string, string>;
27
+ /** The plan's keyframes; the hold and the pieces' blocks are appended. */
28
+ readonly keyframes: string[];
29
+ }
30
+ /**
31
+ * Move each lifted arrival's animation to the overlay and hold its stage copy
32
+ * invisible; hold the piece pairs' stage copies too and drop the animations of
33
+ * the ghosts and outlines the pieces replace.
34
+ *
35
+ * @returns The animations of the copies the overlay paints above the ghosts.
36
+ */
37
+ export declare function settleMorphLifts(input: MorphSettleInput): Map<string, string>;
38
+ /** Everything {@link assembleMorphOverlay} reads. */
39
+ export interface MorphOverlayInput {
40
+ readonly animations: MorphGeneratedAnimations;
41
+ readonly pairs: readonly MorphPair[];
42
+ readonly wholePairs: readonly MorphPair[];
43
+ readonly ghostIds: ReadonlySet<string>;
44
+ readonly ghostElements: readonly PptxElement[];
45
+ readonly flattenedOutgoing: readonly PptxElement[];
46
+ readonly flattenedIncoming: readonly PptxElement[];
47
+ readonly pieces: MorphTextPiecePlan;
48
+ readonly outgoingAnimations: Map<string, string>;
49
+ /** Edited in place: the pieces' incoming animations join it. */
50
+ readonly overlayIncomingAnimations: Map<string, string>;
51
+ }
52
+ /** What the overlay paints and in which order. */
53
+ export interface MorphOverlay {
54
+ crossfadeGroups: MorphCrossfadeGroup[];
55
+ outgoingElements: PptxElement[];
56
+ overlayIncomingElements: PptxElement[];
57
+ overlayLayers: MorphOverlayLayer[];
58
+ overlayStack: MorphOverlayStackEntry[];
59
+ }
60
+ /** Group, filter and stack the overlay's contents. */
61
+ export declare function assembleMorphOverlay(input: MorphOverlayInput): MorphOverlay;
62
+ //# sourceMappingURL=morph-plan-overlay.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"morph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per-binding knobs of building one).
4
+ * `morph-plan` re-exports both and holds the entry point; see its header for
5
+ * how a morph is composed.
6
+ *
7
+ * @module render/morph-plan-types
8
+ */
9
+ import type { PptxElement } from 'ooxml-core/pptx';
10
+ import type { MorphCrossfadeGroup } from './morph-crossfade-group.js';
11
+ import type { MorphViewSize } from './morph-flip-turn.js';
12
+ import type { MorphOverlayLayer } from './morph-overlay-layers.js';
13
+ import type { MorphOverlayStackEntry } from './morph-overlay-stack.js';
14
+ import type { MorphCopyPart } from './morph-text-body.js';
15
+ import type { MorphTextMeasure } from './morph-text-frame.js';
16
+ /** Everything needed to play one morph transition. */
17
+ export interface MorphTransitionPlan {
18
+ /** All `@keyframes` blocks, to inject as a single stylesheet. */
19
+ keyframesCss: string;
20
+ /** Incoming-slide element id -> CSS `animation` shorthand. */
21
+ incomingAnimations: Map<string, string>;
22
+ /** Outgoing-slide element id -> CSS `animation` shorthand. */
23
+ outgoingAnimations: Map<string, string>;
24
+ /**
25
+ * Incoming-slide element id -> CSS `animation` shorthand for the `<img>`
26
+ * INSIDE that element, never for the element's own container.
27
+ *
28
+ * A picture's source crop (`a:srcRect`, which is what PowerPoint's "Scale
29
+ * Height"/"Scale Width" writes) is painted by transforming the img within
30
+ * its frame, and the frame itself is usually identical on both slides - so
31
+ * this is a separate channel rather than another entry in
32
+ * {@link MorphTransitionPlan.incomingAnimations}, which would collide on the
33
+ * same element id. {@link buildMorphScopedCss} emits it as a descendant
34
+ * rule; a binding that applies animations as inline props instead must
35
+ * target the img itself (issue #148).
36
+ */
37
+ incomingImageAnimations: Map<string, string>;
38
+ /** Outgoing (ghost) counterpart of {@link MorphTransitionPlan.incomingImageAnimations}. */
39
+ outgoingImageAnimations: Map<string, string>;
40
+ /**
41
+ * Element id -> CSS `animation` shorthand for the PATH of the element's
42
+ * outline overlay (the `<svg data-pptx-outline>` every binding paints a
43
+ * centred or gradient outline with), present only when a shape's outline is
44
+ * re-pathed per frame (see `morph-shape-carry`). Like the image channel it is
45
+ * a descendant rule, emitted by {@link buildMorphScopedCss}; the ids may be
46
+ * incoming, outgoing or copy ids, so each half's rules carry all of them.
47
+ */
48
+ outlineAnimations?: Map<string, string>;
49
+ /**
50
+ * Element id -> the `animation` shorthand of each strand path of a compound
51
+ * outline, in paint order (each strand is re-pathed on its own); emitted
52
+ * next to {@link MorphTransitionPlan.outlineAnimations}.
53
+ */
54
+ outlineStrandAnimations?: Map<string, string[]>;
55
+ /**
56
+ * Element id -> CSS `animation` shorthand for the paths of a freeform's
57
+ * custom-geometry `<svg data-pptx-custom-geometry>`, which a binding that
58
+ * paints custom geometry as a vector (rather than a clipped box) stamps;
59
+ * emitted next to {@link MorphTransitionPlan.outlineAnimations}.
60
+ */
61
+ customGeometryAnimations?: Map<string, string>;
62
+ /**
63
+ * Element id -> CSS `animation` shorthand for the painted strand
64
+ * (`[data-pptx-line]`) of a straight connector, which keeps its width while
65
+ * the wrapper's journey scales (see `morph-line-carry`); emitted next to
66
+ * {@link MorphTransitionPlan.outlineAnimations}.
67
+ */
68
+ lineAnimations?: Map<string, string>;
69
+ /**
70
+ * Incoming-slide element id -> CSS `animation` shorthand for the copy the
71
+ * overlay paints, above every ghost.
72
+ *
73
+ * These are the arriving shapes a ghost would otherwise hide for the whole
74
+ * transition (see {@link MorphTransitionPlan.overlayIncomingElements}). Their
75
+ * entry in {@link MorphTransitionPlan.incomingAnimations} has been replaced
76
+ * by one that holds them invisible, so the stage copy stays out of the way
77
+ * and only this one is seen.
78
+ */
79
+ overlayIncomingAnimations: Map<string, string>;
80
+ /**
81
+ * The incoming-slide elements to paint in the overlay ON TOP of
82
+ * {@link MorphTransitionPlan.outgoingElements}, in document order.
83
+ *
84
+ * The overlay is one flat layer above the live stage, which is only faithful
85
+ * while every ghost really does belong on top of everything the stage draws.
86
+ * A shape arriving INSIDE a persisting one does not: the wheel deck's centre
87
+ * disc is unchanged between slides, so its ghost is opaque for the whole
88
+ * morph, and the title and body dissolving in within it were invisible until
89
+ * the overlay came down (issue #146). Painting those here restores the order
90
+ * PowerPoint composites in.
91
+ *
92
+ * Usually empty. A binding renders these with the INCOMING slide as their
93
+ * context, applying {@link MorphTransitionPlan.overlayIncomingAnimations}.
94
+ *
95
+ * A lifted half that is one end of a cross-dissolve is NOT here: it moves
96
+ * into {@link MorphTransitionPlan.crossfadeGroups} so it can be composited
97
+ * with its own ghost.
98
+ */
99
+ overlayIncomingElements: PptxElement[];
100
+ /**
101
+ * Pairs the overlay paints BOTH halves of, to be rendered as one isolated
102
+ * group blending additively (see `morph-crossfade-group`).
103
+ *
104
+ * Their elements are deliberately absent from
105
+ * {@link MorphTransitionPlan.outgoingElements} and
106
+ * {@link MorphTransitionPlan.overlayIncomingElements}: a binding that renders
107
+ * the groups paints each half exactly once, and one that ignored them would
108
+ * drop the pair rather than paint it twice.
109
+ *
110
+ * A pair that dissolves where it stands also has its dissolve moved OFF the
111
+ * two elements and onto {@link MorphCrossfadeGroup.outgoingAnimation} /
112
+ * {@link MorphCrossfadeGroup.incomingAnimation}, for the binding to put on
113
+ * the wrapper it paints each half in; the elements are then absent from
114
+ * `outgoingAnimations` / `overlayIncomingAnimations` too, so no scoped rule
115
+ * animates them. One that MOVES keeps its animations where they were.
116
+ *
117
+ * Painted above {@link MorphTransitionPlan.overlayIncomingElements}, in the
118
+ * incoming slide's document order.
119
+ */
120
+ crossfadeGroups: MorphCrossfadeGroup[];
121
+ /**
122
+ * The outgoing slide's elements, in document order, for the binding to
123
+ * render in its transition overlay for the duration of the morph. Most carry
124
+ * an entry in {@link MorphTransitionPlan.outgoingAnimations}: they either
125
+ * fade out in place (no counterpart) or glide onto a counterpart, dissolving
126
+ * into it when the appearance changed.
127
+ *
128
+ * A ghost standing in for an INERT pair deliberately has no entry there and
129
+ * is painted statically. Its keyframes would run from itself to itself, and
130
+ * a running animation would put it on its own compositing layer, whose
131
+ * raster the browser snaps to whole device pixels - visibly shifting a shape
132
+ * that is not supposed to move at all (issue #161).
133
+ *
134
+ * This is a SUBSET of the outgoing slide: a shape the live stage already
135
+ * draws identically is left out, because the overlay is opaque above it and
136
+ * would hide the incoming slide's own arrivals. See `resolveMorphGhostIds`.
137
+ */
138
+ outgoingElements: PptxElement[];
139
+ /** Outgoing ghost id to the incoming text layout it paints while travelling. */
140
+ outgoingTextReplacements?: ReadonlyMap<string, string>;
141
+ /**
142
+ * {@link MorphTransitionPlan.outgoingElements} and
143
+ * {@link MorphTransitionPlan.overlayIncomingElements} together, in the ONE
144
+ * back-to-front order the overlay must paint them in, as runs of
145
+ * consecutive same-slide shapes (see `morph-overlay-layers`).
146
+ *
147
+ * A binding renders each run as its own stacked layer, in this order: an
148
+ * `'outgoing'` run against the outgoing slide inside a
149
+ * `data-pptx-morph-outgoing` scope, an `'incoming'` run against the incoming
150
+ * slide inside a `data-pptx-morph-lifted` scope. Painting every ghost below
151
+ * every lifted arrival instead let a full-slide picture fading in veil the
152
+ * title travelling above it (issue #141).
153
+ *
154
+ * A run is split wherever a crossfade group belongs inside it, and
155
+ * {@link MorphTransitionPlan.overlayStack} says where each group goes.
156
+ */
157
+ overlayLayers: MorphOverlayLayer[];
158
+ /**
159
+ * Every run of {@link MorphTransitionPlan.overlayLayers} and every
160
+ * {@link MorphTransitionPlan.crossfadeGroups} group, back to front. Read it
161
+ * through `morphOverlayStackSlots` or `morphOverlayElementSlots` (see
162
+ * `morph-overlay-stack`). Painting every group above every run let three
163
+ * dissolving text columns show through the picture bands the incoming slide
164
+ * stacks above them, then vanish from them when the overlay came down
165
+ * (issue #141, slides 6 to 7).
166
+ */
167
+ overlayStack: MorphOverlayStackEntry[];
168
+ /**
169
+ * Id -> source id for the copies the overlay paints of a text pair that is
170
+ * carried piece by piece (see `morph-text-piece-plan`). Each copy is in
171
+ * {@link MorphTransitionPlan.crossfadeGroups} as an element of its own; a
172
+ * binding that builds its overlay from a clone of the rendered slide instead
173
+ * clones the source's node under the copy's id.
174
+ */
175
+ textPieceSources?: ReadonlyMap<string, string>;
176
+ /**
177
+ * Copy id -> the part of its source a copy paints, for a shape whose text is
178
+ * carried apart from its body (see `morph-text-body`): `'body'` without the
179
+ * text, `'text'` without the fill and outline. The copy's element already
180
+ * says so; a binding that clones the source's node strips the other part.
181
+ */
182
+ morphCopyParts?: ReadonlyMap<string, MorphCopyPart>;
183
+ /** Animation duration in ms, echoed for convenience. */
184
+ durationMs: number;
185
+ }
186
+ /** Per-binding knobs for {@link buildMorphTransitionPlan}. */
187
+ export interface MorphPlanOptions {
188
+ /**
189
+ * The z-index the live stage gives the incoming slide's FIRST top-level
190
+ * element. Stacking-order swaps ride z-index journeys written in the
191
+ * stage's real z space, so a binding that paints master/layout shapes
192
+ * beneath the slide (React's presentation stage) passes their count;
193
+ * a stage that starts the slide at 0 leaves it out.
194
+ */
195
+ readonly zIndexBase?: number;
196
+ /**
197
+ * How text is measured when a pair's unchanged text is carried line for
198
+ * line (see `morph-text-frame`). Defaults to a canvas; tests pass their own.
199
+ */
200
+ readonly measureText?: MorphTextMeasure;
201
+ /**
202
+ * The slide's size in element pixels: the camera a turning flip is seen
203
+ * through sits over its centre (see `morph-flip-turn`). Defaults to the
204
+ * 16:9 slide, 1280 x 720.
205
+ */
206
+ readonly slideSize?: MorphViewSize;
207
+ }
208
+ //# sourceMappingURL=morph-plan-types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"morph-plan-types.d.ts","sourceRoot":"","sources":["../../../src/pptx/render/morph-plan-types.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAEnD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AACnE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AACvD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAChE,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,uBAAuB,CAAC;AACpE,OAAO,KAAK,EAAE,aAAa,EAA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