@shotstack/shotstack-studio 2.9.0 → 2.10.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.
- package/dist/index.d.ts +20 -0
- package/dist/internal.d.ts +20 -0
- package/dist/internal.es.js +12366 -13393
- package/dist/internal.umd.js +286 -75
- package/dist/shotstack-studio.es.js +22367 -23389
- package/dist/shotstack-studio.umd.js +463 -254
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -261,6 +261,8 @@ export declare class Edit {
|
|
|
261
261
|
* Find the content clip that best matches a luma (by temporal overlap).
|
|
262
262
|
*/
|
|
263
263
|
private findBestContentMatch;
|
|
264
|
+
private lastClipClick;
|
|
265
|
+
private static readonly DoubleClickThresholdMs;
|
|
264
266
|
private setupIntentListeners;
|
|
265
267
|
}
|
|
266
268
|
|
|
@@ -281,6 +283,9 @@ declare const EditEvent: {
|
|
|
281
283
|
readonly ClipRestored: "clip:restored";
|
|
282
284
|
readonly ClipCopied: "clip:copied";
|
|
283
285
|
readonly ClipLoadFailed: "clip:loadFailed";
|
|
286
|
+
readonly ClipCaptureStarted: "clip:captureStarted";
|
|
287
|
+
readonly ClipCaptureCompleted: "clip:captureCompleted";
|
|
288
|
+
readonly ClipCaptureFailed: "clip:captureFailed";
|
|
284
289
|
readonly ClipUnresolved: "clip:unresolved";
|
|
285
290
|
readonly SelectionCleared: "selection:cleared";
|
|
286
291
|
readonly EditChanged: "edit:changed";
|
|
@@ -322,6 +327,21 @@ declare type EditEventMap = {
|
|
|
322
327
|
error: string;
|
|
323
328
|
assetType: string;
|
|
324
329
|
};
|
|
330
|
+
[EditEvent.ClipCaptureStarted]: {
|
|
331
|
+
clipId: string | null;
|
|
332
|
+
assetType: string;
|
|
333
|
+
};
|
|
334
|
+
[EditEvent.ClipCaptureCompleted]: {
|
|
335
|
+
clipId: string | null;
|
|
336
|
+
assetType: string;
|
|
337
|
+
frameCount: number;
|
|
338
|
+
};
|
|
339
|
+
[EditEvent.ClipCaptureFailed]: {
|
|
340
|
+
clipId: string | null;
|
|
341
|
+
assetType: string;
|
|
342
|
+
error: string;
|
|
343
|
+
fallback: string;
|
|
344
|
+
};
|
|
325
345
|
[EditEvent.ClipUnresolved]: ClipLocation & {
|
|
326
346
|
assetType: string;
|
|
327
347
|
clipId: string;
|
package/dist/internal.d.ts
CHANGED
|
@@ -173,6 +173,8 @@ export declare class Edit {
|
|
|
173
173
|
* Find the content clip that best matches a luma (by temporal overlap).
|
|
174
174
|
*/
|
|
175
175
|
private findBestContentMatch;
|
|
176
|
+
private lastClipClick;
|
|
177
|
+
private static readonly DoubleClickThresholdMs;
|
|
176
178
|
private setupIntentListeners;
|
|
177
179
|
}
|
|
178
180
|
|
|
@@ -190,6 +192,9 @@ declare const EditEvent: {
|
|
|
190
192
|
readonly ClipRestored: "clip:restored";
|
|
191
193
|
readonly ClipCopied: "clip:copied";
|
|
192
194
|
readonly ClipLoadFailed: "clip:loadFailed";
|
|
195
|
+
readonly ClipCaptureStarted: "clip:captureStarted";
|
|
196
|
+
readonly ClipCaptureCompleted: "clip:captureCompleted";
|
|
197
|
+
readonly ClipCaptureFailed: "clip:captureFailed";
|
|
193
198
|
readonly ClipUnresolved: "clip:unresolved";
|
|
194
199
|
readonly SelectionCleared: "selection:cleared";
|
|
195
200
|
readonly EditChanged: "edit:changed";
|
|
@@ -231,6 +236,21 @@ declare type EditEventMap = {
|
|
|
231
236
|
error: string;
|
|
232
237
|
assetType: string;
|
|
233
238
|
};
|
|
239
|
+
[EditEvent.ClipCaptureStarted]: {
|
|
240
|
+
clipId: string | null;
|
|
241
|
+
assetType: string;
|
|
242
|
+
};
|
|
243
|
+
[EditEvent.ClipCaptureCompleted]: {
|
|
244
|
+
clipId: string | null;
|
|
245
|
+
assetType: string;
|
|
246
|
+
frameCount: number;
|
|
247
|
+
};
|
|
248
|
+
[EditEvent.ClipCaptureFailed]: {
|
|
249
|
+
clipId: string | null;
|
|
250
|
+
assetType: string;
|
|
251
|
+
error: string;
|
|
252
|
+
fallback: string;
|
|
253
|
+
};
|
|
234
254
|
[EditEvent.ClipUnresolved]: ClipLocation & {
|
|
235
255
|
assetType: string;
|
|
236
256
|
clipId: string;
|