@softure-ai/marketing-kit 0.23.0 → 0.24.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 (59) hide show
  1. package/CHANGELOG.md +17 -0
  2. package/README.md +17 -0
  3. package/dist/footage/captions.d.ts +8 -1
  4. package/dist/footage/captions.d.ts.map +1 -1
  5. package/dist/footage/captions.js +5 -3
  6. package/dist/footage/captions.js.map +1 -1
  7. package/dist/footage/compose.d.ts +2 -0
  8. package/dist/footage/compose.d.ts.map +1 -1
  9. package/dist/footage/compose.js +3 -2
  10. package/dist/footage/compose.js.map +1 -1
  11. package/dist/footage/draft-overlays.d.ts +24 -4
  12. package/dist/footage/draft-overlays.d.ts.map +1 -1
  13. package/dist/footage/draft-overlays.js +232 -34
  14. package/dist/footage/draft-overlays.js.map +1 -1
  15. package/dist/footage/draft.d.ts +7 -2
  16. package/dist/footage/draft.d.ts.map +1 -1
  17. package/dist/footage/draft.js +13 -2
  18. package/dist/footage/draft.js.map +1 -1
  19. package/dist/footage/edl.d.ts +27 -0
  20. package/dist/footage/edl.d.ts.map +1 -1
  21. package/dist/footage/edl.js +1 -1
  22. package/dist/footage/edl.js.map +1 -1
  23. package/dist/footage/overlay-html.d.ts +21 -1
  24. package/dist/footage/overlay-html.d.ts.map +1 -1
  25. package/dist/footage/overlay-html.js +217 -56
  26. package/dist/footage/overlay-html.js.map +1 -1
  27. package/dist/footage/overlay-schema.d.ts +98 -6
  28. package/dist/footage/overlay-schema.d.ts.map +1 -1
  29. package/dist/footage/overlay-schema.js +215 -45
  30. package/dist/footage/overlay-schema.js.map +1 -1
  31. package/dist/footage/overlays.d.ts +109 -16
  32. package/dist/footage/overlays.d.ts.map +1 -1
  33. package/dist/footage/overlays.js +303 -52
  34. package/dist/footage/overlays.js.map +1 -1
  35. package/dist/footage/pipeline.d.ts +5 -0
  36. package/dist/footage/pipeline.d.ts.map +1 -1
  37. package/dist/footage/pipeline.js +3 -2
  38. package/dist/footage/pipeline.js.map +1 -1
  39. package/dist/index.d.ts +2 -2
  40. package/dist/index.d.ts.map +1 -1
  41. package/dist/index.js +2 -2
  42. package/dist/index.js.map +1 -1
  43. package/dist/render/render.d.ts +4 -1
  44. package/dist/render/render.d.ts.map +1 -1
  45. package/dist/render/render.js +2 -1
  46. package/dist/render/render.js.map +1 -1
  47. package/package.json +1 -1
  48. package/schema/edl.schema.json +90 -8
  49. package/src/footage/captions.ts +13 -4
  50. package/src/footage/compose.ts +5 -3
  51. package/src/footage/draft-overlays.ts +276 -35
  52. package/src/footage/draft.ts +20 -4
  53. package/src/footage/edl.ts +1 -1
  54. package/src/footage/overlay-html.ts +239 -59
  55. package/src/footage/overlay-schema.ts +245 -40
  56. package/src/footage/overlays.ts +364 -55
  57. package/src/footage/pipeline.ts +8 -3
  58. package/src/index.ts +26 -0
  59. package/src/render/render.ts +3 -2
@@ -2,7 +2,7 @@ import { type CaptionLayout } from "../compose/timeline.js";
2
2
  import type { TimedWord } from "../voice/voiceover.js";
3
3
  import { type Edl } from "./edl.js";
4
4
  import { type FootageFilm } from "./film.js";
5
- import type { OverlaySide, OverlaySize } from "./overlay-schema.js";
5
+ import { type EdlOverlayColors, type OverlayEntrance, type OverlayKind, type OverlaySide, type OverlaySize } from "./overlay-schema.js";
6
6
  /**
7
7
  * An EDL's overlays resolved for the render and the draft (issue #1200): each one's film time (from its word through
8
8
  * the cut, or its second), the segment it plays in, and where it sits in the frame, inside the platform safe zone and
@@ -13,17 +13,43 @@ import type { OverlaySide, OverlaySize } from "./overlay-schema.js";
13
13
  export declare const PUNCH_IN_SCALES: Record<OverlaySize, number>;
14
14
  /** The `punch_in`'s ease into its zoom and back out, in seconds (shorter when the overlay is short). */
15
15
  export declare const PUNCH_IN_EASE_SECONDS = 0.35;
16
- /** A text overlay's type size in px of a 1080 px wide frame, by kind and size step. */
17
- export declare const OVERLAY_FONT_SIZES: Record<"keyword" | "lower_third" | "list", Record<OverlaySize, number>>;
16
+ /** The kinds drawn with text: every kind but `punch_in`, `arrow` and `highlight`. */
17
+ export type TextOverlayKind = Exclude<OverlayKind, "punch_in" | "arrow" | "highlight">;
18
+ /** A text overlay's main type size in px of a 1080 px wide frame, by kind and size step. */
19
+ export declare const OVERLAY_FONT_SIZES: Record<TextOverlayKind, Record<OverlaySize, number>>;
20
+ /** A second line's type size in main font sizes: the hook title's place label, the subtitle, the unit, the stamp's place. */
21
+ export declare const OVERLAY_SECONDARY_SCALE: {
22
+ readonly hook_title: 0.55;
23
+ readonly place_card: 0.42;
24
+ readonly counter: 0.5;
25
+ readonly date_stamp: 0.78;
26
+ };
18
27
  /** A text overlay's line height and its box's padding, in font sizes. */
19
28
  export declare const OVERLAY_LINE_HEIGHT = 1.15;
20
29
  export declare const OVERLAY_LIST_LINE_HEIGHT = 1.4;
30
+ /** A place card title's line height, tighter for its big type. */
31
+ export declare const OVERLAY_TITLE_LINE_HEIGHT = 1.05;
21
32
  export declare const OVERLAY_PADDING_EM: {
22
33
  readonly x: 0.6;
23
34
  readonly y: 0.35;
24
35
  };
36
+ /** The search field's padding round its query, in font sizes (its height is the line plus twice this). */
37
+ export declare const SEARCH_BAR_PADDING_EM: {
38
+ readonly x: 0.7;
39
+ readonly y: 0.55;
40
+ };
41
+ /** The room the search field's magnifier and its gap take before the query, in font sizes. */
42
+ export declare const SEARCH_BAR_ICON_EM = 1.5;
43
+ /** The average advance of a bold Latin letter, in font sizes: how wide a line is estimated before it is drawn. */
44
+ export declare const OVERLAY_CHAR_EM = 0.56;
45
+ /** The most lines a hook title or a place card's title wraps to. */
46
+ export declare const MAX_OVERLAY_TITLE_LINES = 2;
25
47
  /** The room kept between an overlay and the safe zone's edge or the captions, in px. */
26
48
  export declare const OVERLAY_MARGIN = 24;
49
+ /** The brand font a text overlay is drawn in: `heading` for titles and numbers, `interface` for labels and lists. */
50
+ export type OverlayFontRole = "heading" | "interface";
51
+ /** Each text kind's font role (the hook title's place label and a place card's subtitle are interface text). */
52
+ export declare const OVERLAY_FONT_ROLES: Record<TextOverlayKind, OverlayFontRole>;
27
53
  /** A box in the film's frame, in px. */
28
54
  export interface OverlayBox {
29
55
  left: number;
@@ -41,33 +67,87 @@ interface OverlayBase {
41
67
  /** Film seconds. */
42
68
  start: number;
43
69
  end: number;
44
- /** The segment it plays in. */
70
+ /** The segment it starts in. */
45
71
  segment: number;
46
72
  }
47
- /** A text overlay's box: `left` and `top` of its outer edge, its width the most it may take (it shrinks to its text). */
73
+ /** How a drawn overlay looks besides its place: its entrance (null: the kind's own), typing speed and own colours. */
74
+ export interface OverlayLook {
75
+ entrance: OverlayEntrance | null;
76
+ /** Characters per second when it types its text in, else null. */
77
+ typing: number | null;
78
+ /** Its own colours in place of the brand's (empty: the brand's). */
79
+ colors: EdlOverlayColors;
80
+ }
81
+ type Drawn = OverlayBase & OverlayLook;
82
+ /**
83
+ * A text overlay's box: for `keyword`, `lower_third` and `list`, `left` and `top` of its outer edge and the most it
84
+ * may take (it shrinks to its text); for the others, the box its card takes.
85
+ */
48
86
  export type ResolvedOverlay = (OverlayBase & {
49
87
  kind: "punch_in";
50
88
  scale: number;
51
89
  ease: number;
52
- }) | (OverlayBase & {
53
- kind: "keyword" | "lower_third";
90
+ }) | (Drawn & {
91
+ kind: "keyword";
54
92
  text: string;
55
93
  fontSize: number;
56
94
  side: OverlaySide;
57
95
  box: OverlayBox;
58
- }) | (OverlayBase & {
96
+ }) | (Drawn & {
97
+ kind: "lower_third";
98
+ text: string;
99
+ fontSize: number;
100
+ side: OverlaySide;
101
+ box: OverlayBox;
102
+ }) | (Drawn & {
59
103
  kind: "list";
60
104
  items: string[];
61
105
  fontSize: number;
62
106
  side: OverlaySide;
63
107
  box: OverlayBox;
64
- }) | (OverlayBase & {
108
+ }) | (Drawn & {
65
109
  kind: "arrow";
66
110
  from: OverlayPoint;
67
111
  to: OverlayPoint;
68
- }) | (OverlayBase & {
112
+ }) | (Drawn & {
69
113
  kind: "highlight";
70
114
  rect: OverlayBox;
115
+ }) | (Drawn & {
116
+ kind: "hook_title";
117
+ lines: string[];
118
+ place: string | null;
119
+ fontSize: number;
120
+ placeFontSize: number;
121
+ box: OverlayBox;
122
+ }) | (Drawn & {
123
+ kind: "search_bar";
124
+ text: string;
125
+ fontSize: number;
126
+ box: OverlayBox;
127
+ }) | (Drawn & {
128
+ kind: "place_card";
129
+ lines: string[];
130
+ subtitle: string | null;
131
+ fontSize: number;
132
+ subtitleFontSize: number;
133
+ box: OverlayBox;
134
+ }) | (Drawn & {
135
+ kind: "counter";
136
+ value: number;
137
+ from: number;
138
+ decimals: number;
139
+ unit: string | null;
140
+ fontSize: number;
141
+ unitFontSize: number;
142
+ box: OverlayBox;
143
+ }) | (Drawn & {
144
+ kind: "date_stamp";
145
+ text: string;
146
+ place: string | null;
147
+ fontSize: number;
148
+ placeFontSize: number;
149
+ side: OverlaySide;
150
+ box: OverlayBox;
71
151
  });
72
152
  export type ResolvedOverlaysResult = {
73
153
  ok: true;
@@ -98,15 +178,28 @@ export declare function getOverlaySafeZone(film: Pick<FootageFilm, "format" | "c
98
178
  left: number;
99
179
  right: number;
100
180
  };
181
+ /** The estimated width of a line of text at a font size, in px (`OVERLAY_CHAR_EM` a letter). */
182
+ export declare function estimateTextWidth(text: string, fontSize: number): number;
183
+ /** Text broken into lines at spaces so each fits `width` at `fontSize` by the estimate; a word longer than a line stands alone. */
184
+ export declare function wrapOverlayText(text: string, fontSize: number, width: number): string[];
185
+ /** The number of decimals a counter shows: the most of its value's and its start's (at most two). */
186
+ export declare function getCounterDecimals(value: number, from: number): number;
187
+ /** A counter's number as the film shows it, grouped as `locale` writes numbers, with plain spaces for the group gaps. */
188
+ export declare function formatOverlayNumber(value: number, decimals: number, locale: string): string;
189
+ /** The box a drawn overlay takes in the frame, or null for a `punch_in` (it draws nothing). */
190
+ export declare function getOverlayBounds(overlay: ResolvedOverlay): OverlayBox | null;
101
191
  /**
102
192
  * The overlays of an EDL resolved to film time and placed, or every reason one cannot be drawn: its word is not said,
103
- * it is too short or runs past the cut or into the next segment, two overlap, two start closer than
104
- * `overlayMinSpacing`, a text overlay does not fit between the safe zone and the captions, an anchor leaves the safe
105
- * zone or sits on the captions, or a `punch_in` falls on a `kenburns` segment or inside a zoom cut's ease. An EDL
106
- * without overlays resolves to none.
193
+ * it is too short or runs past the cut or into the next segment (a `hook_title` may stay across cuts), two overlap,
194
+ * two start closer than `overlayMinSpacing`, a text overlay does not fit between the safe zone and the captions, an
195
+ * anchor leaves the safe zone or sits on the captions, or a `punch_in` falls on a `kenburns` segment or inside a zoom
196
+ * cut's ease. A `hook_title` lives in the top band: it does not count against one overlay at a time or the spacing,
197
+ * but nothing drawn while it shows may sit on it. An EDL without overlays resolves to none.
107
198
  */
108
199
  export declare function resolveEdlOverlays(input: ResolveOverlaysInput): ResolvedOverlaysResult;
109
- /** The texts the overlays draw, for the glyph check. */
110
- export declare function getOverlayTexts(overlays: readonly ResolvedOverlay[]): string[];
200
+ /** The texts the overlays draw, by the brand font that draws them, for the glyph check. */
201
+ export declare function getOverlayTextsByRole(overlays: readonly ResolvedOverlay[], locale?: string): Record<OverlayFontRole, string[]>;
202
+ /** The texts the overlays draw, every role together. */
203
+ export declare function getOverlayTexts(overlays: readonly ResolvedOverlay[], locale?: string): string[];
111
204
  export {};
112
205
  //# sourceMappingURL=overlays.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"overlays.d.ts","sourceRoot":"","sources":["../../src/footage/overlays.ts"],"names":[],"mappings":"AAAA,OAAO,EAA6C,KAAK,aAAa,EAAE,MAAM,wBAAwB,CAAC;AACvG,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAEvD,OAAO,EAAmD,KAAK,GAAG,EAAE,MAAM,UAAU,CAAC;AACrF,OAAO,EAAkB,KAAK,WAAW,EAAE,MAAM,WAAW,CAAC;AAE7D,OAAO,KAAK,EAAc,WAAW,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAIhF;;;;;GAKG;AAEH,uFAAuF;A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