@designcombo/video 0.0.5 → 0.1.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.
@@ -1,4 +1,4 @@
1
- import { F as Ie, u as Ee, l as se, M as v, G as De, v as Oe, S as Fe, x as ae, E as u, e as D, y as S, z as Le, H as O, I as b, R as F, J as ne, K as He, t as m, b as f, i as B, w as L, L as K, N as We, c as Y, B as y, j as U, O as ze, Q as C, k as M, V as w, W as Ve, a as Ne, X as ie, Y as oe, Z as le, _ as ue, C as P, $ as je, a0 as A, a1 as J, D as H, a2 as $e, a3 as qe, P as Ke, d as Ye, T as X, a4 as Q, a5 as Je, a6 as Xe, a7 as Qe } from "./index-Cu_5hRJ3.js";
1
+ import { F as Ie, u as Ee, l as se, M as v, G as De, v as Oe, S as Fe, x as ae, E as u, e as D, y as S, z as Le, H as O, I as b, R as F, J as ne, K as He, t as m, b as f, i as B, w as L, L as K, N as We, c as Y, B as y, j as U, O as ze, Q as C, k as M, V as w, W as Ve, a as Ne, X as ie, Y as oe, Z as le, _ as ue, C as P, $ as je, a0 as A, a1 as J, D as H, a2 as $e, a3 as qe, P as Ke, d as Ye, T as X, a4 as Q, a5 as Je, a6 as Xe, a7 as Qe } from "./index-C2lxQ7Li.js";
2
2
  import { B as de, c as Ze } from "./colorToUniform-C2jGzNe1.js";
3
3
  var et = `in vec2 vMaskCoord;
4
4
  in vec2 vTextureCoord;
@@ -1,6 +1,6 @@
1
- import { S as G, E as d, B as v, w as m, D as S, L as j, v as ve, s as U, t as b, a8 as Be, k as K, a9 as Ae, b as p, V as L, j as B, i as A, l as F, M as $, aa as z, ab as Ne, ac as ye, ad as Y, ae as Ce, A as De, R as Ie, e as T } from "./index-Cu_5hRJ3.js";
1
+ import { S as G, E as d, B as v, w as m, D as S, L as j, v as ve, s as U, t as b, a8 as Be, k as K, a9 as Ae, b as p, V as L, j as B, i as A, l as F, M as $, aa as z, ab as Ne, ac as ye, ad as Y, ae as Ce, A as De, R as Ie, e as T } from "./index-C2lxQ7Li.js";
2
2
  import { b as q } from "./colorToUniform-C2jGzNe1.js";
3
- import { e as Ge, G as Ue, c as Fe, b as Oe, U as Pe, R as Me, B as Z, d as N, f as Le, S as He, a as we } from "./SharedSystems-CRU_36xv.js";
3
+ import { e as Ge, G as Ue, c as Fe, b as Oe, U as Pe, R as Me, B as Z, d as N, f as Le, S as He, a as we } from "./SharedSystems-CQqgfMHK.js";
4
4
  class Q {
5
5
  constructor() {
6
6
  this._tempState = G.for2d(), this._didUploadHash = {};
@@ -1,6 +1,6 @@
1
- import { S as E, g as A, E as p, f as ae, D as S, b as C, B as T, c as ue, d as L, h as M, w as v, i as x, j as ce, k as de, l as k, m as w, M as D, n as H, o as he, p as pe, q as z, s as F, t as R, A as le, R as fe, e as B } from "./index-Cu_5hRJ3.js";
1
+ import { S as E, g as A, E as p, f as ae, D as S, b as C, B as T, c as ue, d as L, h as M, w as v, i as x, j as ce, k as de, l as k, m as w, M as D, n as H, o as he, p as pe, q as z, s as F, t as R, A as le, R as fe, e as B } from "./index-C2lxQ7Li.js";
2
2
  import { l as ge, a as me } from "./colorToUniform-C2jGzNe1.js";
3
- import { c as _e, u as be, U as xe, B as ye, G as Ge, e as Se, R as Be, t as Pe, S as Te, a as Ce } from "./SharedSystems-CRU_36xv.js";
3
+ import { c as _e, u as be, U as xe, B as ye, G as Ge, e as Se, R as Be, t as Pe, S as Te, a as Ce } from "./SharedSystems-CQqgfMHK.js";
4
4
  const y = E.for2d();
5
5
  class O {
6
6
  start(e, t, r) {
@@ -1,5 +1,5 @@
1
- import { T as M, U as Z, P as m, r as te, E as y, a as ie, w as g, e as P, C as V } from "./index-Cu_5hRJ3.js";
2
- import "./webworkerAll-yHa2ILeq.js";
1
+ import { T as M, U as Z, P as m, r as te, E as y, a as ie, w as g, e as P, C as V } from "./index-C2lxQ7Li.js";
2
+ import "./webworkerAll-BnqyxwPv.js";
3
3
  class q {
4
4
  constructor(e) {
5
5
  this._lastTransform = "", this._observer = null, this._tickerAttached = !1, this.updateTranslation = () => {
@@ -146,6 +146,11 @@ export interface ICaptionClipOpts {
146
146
  * @default 0
147
147
  */
148
148
  letterSpacing?: number;
149
+ /**
150
+ * Text case transformation
151
+ * @default 'none'
152
+ */
153
+ textCase?: 'none' | 'uppercase' | 'lowercase' | 'title';
149
154
  }
150
155
  /**
151
156
  * Caption clip using Canvas 2D for rendering
@@ -182,6 +187,7 @@ export declare class CaptionClip extends BaseClip implements IClip {
182
187
  fontStyle?: undefined;
183
188
  color?: undefined;
184
189
  align?: undefined;
190
+ textCase?: undefined;
185
191
  stroke?: undefined;
186
192
  shadow?: undefined;
187
193
  } | {
@@ -201,6 +207,7 @@ export declare class CaptionClip extends BaseClip implements IClip {
201
207
  }>;
202
208
  } | undefined;
203
209
  align: "center" | "left" | "right" | undefined;
210
+ textCase: "title" | "none" | "uppercase" | "lowercase" | undefined;
204
211
  stroke: {
205
212
  color: string | number;
206
213
  width: number;
@@ -217,6 +224,11 @@ export declare class CaptionClip extends BaseClip implements IClip {
217
224
  * Bottom offset from video bottom (hybrid JSON structure)
218
225
  */
219
226
  bottomOffset?: number;
227
+ /**
228
+ * Text case proxy
229
+ */
230
+ get textCase(): string;
231
+ set textCase(v: 'none' | 'uppercase' | 'lowercase' | 'title');
220
232
  /**
221
233
  * Unique identifier for this clip instance
222
234
  */
@@ -241,6 +253,11 @@ export declare class CaptionClip extends BaseClip implements IClip {
241
253
  private pixiApp;
242
254
  private originalOpts;
243
255
  constructor(text: string, opts?: ICaptionClipOpts, renderer?: Application['renderer']);
256
+ /**
257
+ * Update text styling options and refresh the caption rendering
258
+ */
259
+ updateStyle(opts: Partial<ICaptionClipOpts>): Promise<void>;
260
+ private refreshCaptions;
244
261
  private lastLoggedTime;
245
262
  updateState(currentTime: number): void;
246
263
  /**
@@ -22,6 +22,14 @@ export declare class TransitionClip extends BaseClip {
22
22
  key: TransitionKey;
23
23
  name: string;
24
24
  };
25
+ /**
26
+ * ID of the clip from which the transition starts
27
+ */
28
+ fromClipId: string | null;
29
+ /**
30
+ * ID of the clip to which the transition ends
31
+ */
32
+ toClipId: string | null;
25
33
  constructor(transitionKey: TransitionKey);
26
34
  clone(): Promise<this>;
27
35
  tick(_time: number): Promise<{