openvideo 0.2.14 → 0.2.16
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/dist/{browserAll-D7ROm3gc.js → browserAll-B3JM-tAA.js} +2 -2
- package/dist/clips/video-clip.d.ts +4 -4
- package/dist/{index-xULbfbWy.js → index-T-Me9eJ5.js} +450 -418
- package/dist/index.es.js +1 -1
- package/dist/index.umd.js +61 -61
- package/dist/studio/timeline-model.d.ts +7 -0
- package/dist/studio.d.ts +4 -0
- package/dist/{webworkerAll-BVuwnC-Q.js → webworkerAll-CkYxS0eA.js} +1 -1
- package/package.json +1 -1
|
@@ -95,6 +95,13 @@ export declare class TimelineModel {
|
|
|
95
95
|
trimSelected(trimFromSeconds: number): Promise<void>;
|
|
96
96
|
updateSelected(updates: Partial<IClip>): Promise<void>;
|
|
97
97
|
setTracks(tracks: StudioTrack[]): Promise<void>;
|
|
98
|
+
/**
|
|
99
|
+
* Reconciles the tracks list with the available clips.
|
|
100
|
+
* 1. Filters each track's clipIds to only include IDs present in this.clips.
|
|
101
|
+
* 2. Removes any tracks that are then empty.
|
|
102
|
+
* This is used as a safety net to ensure no orphaned empty tracks or dangling references remain.
|
|
103
|
+
*/
|
|
104
|
+
reconcileTracks(): void;
|
|
98
105
|
private ensureFontsForClips;
|
|
99
106
|
recalculateMaxDuration(): Promise<void>;
|
|
100
107
|
private setupPlaybackForClip;
|
package/dist/studio.d.ts
CHANGED
|
@@ -148,6 +148,10 @@ export declare class Studio extends EventEmitter<StudioEvents> {
|
|
|
148
148
|
private renderingSuspended;
|
|
149
149
|
private historyPaused;
|
|
150
150
|
private processingHistory;
|
|
151
|
+
/**
|
|
152
|
+
* Indicates if the studio is currently restoring state from history (undo/redo)
|
|
153
|
+
*/
|
|
154
|
+
isRestoring: boolean;
|
|
151
155
|
private historyGroupDepth;
|
|
152
156
|
private clipCache;
|
|
153
157
|
private _isUpdatingLayout;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { e as a, R as e, T as d, G as i, b as s, M as t, c as p, d as P, f as n, g as r, B as T, H as l, h as c, i as m, N as x, j as S, k as o } from "./index-
|
|
1
|
+
import { e as a, R as e, T as d, G as i, b as s, M as t, c as p, d as P, f as n, g as r, B as T, H as l, h as c, i as m, N as x, j as S, k as o } from "./index-T-Me9eJ5.js";
|
|
2
2
|
a.add(e);
|
|
3
3
|
a.add(d);
|
|
4
4
|
a.add(i);
|