@hyperframes/studio 0.9.55 → 0.9.58
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/assets/{hyperframes-player-BroIQA4E.js → hyperframes-player-B78JDyI_.js} +1 -1
- package/dist/assets/{index-Be7DZynj.js → index-D7ICtobF.js} +190 -190
- package/dist/assets/{index-CiF0D62S.js → index-ww7-RmuM.js} +1 -1
- package/dist/assets/{pausedVideoDecoder-RXcvblHS.js → pausedVideoDecoder-Dbe8Cmab.js} +1 -1
- package/dist/{chunk-JMM2CSEL.js → chunk-5EEM5WO4.js} +5 -1
- package/dist/index.d.ts +87 -3
- package/dist/index.html +1 -1
- package/dist/index.js +872 -778
- package/dist/player.js +1 -1
- package/package.json +8 -8
- package/src/components/nle/NLEPreview.test.ts +35 -3
- package/src/components/nle/NLEPreview.tsx +5 -4
- package/src/hooks/gsapRuntimePatch.ts +2 -3
- package/src/hooks/gsapRuntimeReaders.test.ts +5 -40
- package/src/hooks/gsapRuntimeReaders.ts +3 -27
- package/src/hooks/useExternalFileChangeCoordinator.test.tsx +20 -0
- package/src/hooks/useExternalFileChangeCoordinator.ts +1 -1
- package/src/index.ts +17 -0
- package/src/player/components/Player.test.ts +10 -0
- package/src/player/components/Player.tsx +2 -2
- package/src/player/components/studioShortcuts.ts +3 -2
- package/src/player/hooks/previewMessageRouter.manifest.test.ts +1 -0
- package/src/player/hooks/previewMessageRouter.test.ts +90 -12
- package/src/player/hooks/previewMessageRouter.ts +6 -4
- package/src/player/hooks/timelinePlayerTestHarness.ts +2 -0
- package/src/player/hooks/timelineSyncHydration.test.ts +28 -2
- package/src/player/hooks/timelineSyncHydration.ts +3 -7
- package/src/player/hooks/usePlaybackKeyboard.test.ts +107 -2
- package/src/player/hooks/usePlaybackKeyboard.ts +38 -1
- package/src/player/hooks/useShadowPreviewReload.ts +131 -14
- package/src/player/hooks/useTimelinePlayer.metadata.test.ts +1 -0
- package/src/player/hooks/useTimelinePlayer.play.test.ts +1 -0
- package/src/player/hooks/useTimelinePlayer.reloadStill.test.ts +241 -0
- package/src/player/hooks/useTimelinePlayer.seek.test.ts +3 -0
- package/src/player/hooks/useTimelinePlayer.ts +13 -1
- package/src/player/hooks/useTimelineSyncCallbacks.ts +4 -0
- package/src/player/lib/bridgePlayback.ts +7 -1
- package/src/player/lib/previewChannel.test.ts +13 -0
- package/src/sealedPreviewExports.test.ts +20 -0
- package/src/utils/externalConflictStorage.test.ts +66 -14
- package/src/utils/externalConflictStorage.ts +36 -82
- package/src/utils/gsapSoftReload.ts +2 -14
|
@@ -1 +1 @@
|
|
|
1
|
-
import{Input as V,ALL_FORMATS as G,UrlSource as K,VideoSampleSink as Q}from"./index-
|
|
1
|
+
import{Input as V,ALL_FORMATS as G,UrlSource as K,VideoSampleSink as Q}from"./index-ww7-RmuM.js";import{l as X}from"./index-D7ICtobF.js";const x=1e-5,k=1e-9,T=h=>!h.variableFrameRate&&(h.frameRate??0)>0;function Y(h,s){const{sourceLead:r,inputLead:l,timeResolution:d,frameRate:p=0}=s;if(!T(s))return Math.max(l,h-r+l)+k;const w=Math.max(0,Math.floor((h-r)*p+k)),f=l+w/p;return(d>0?Math.round(f*d)/d:f)+x}function J(h,s,r){const{frameRate:l=0,sourceLead:d,inputLead:p}=r,w=T(r)?Math.round((h-p)*l)/l+d:h-p+d,f=Math.min(s,w);return{timestamp:f,duration:Math.max(T(r)?1/l:0,s-f+x)}}const E=64*1024*1024,M=4,Z=.5,$=2e3;async function q(h,s){if(!h.transparent)return h.sink.getSample(s);let r=null;try{for await(const l of h.sink.samplesAtTimestamps([s]))r==null||r.close(),r=l;return r}catch(l){throw r==null||r.close(),l}}function ot(h){const s=new Map,r=new Map,l=new Map,d=new Map,p=new Map;let w=0,f=!1;const _=t=>{var o,n;let e=new URL(t,location.href).pathname;try{e=decodeURIComponent(e)}catch{}return(n=Object.entries(((o=h.contentWindow)==null?void 0:o.__HF_MEDIA_SOURCE_FACTS__)??{}).filter(([i])=>e.endsWith(i)).sort(([i],[a])=>a.length-i.length)[0])==null?void 0:n[1]},b=(t=E)=>{for(const[e,o]of p){if(w<=t)break;e.pins>0||(p.delete(e),o.cache.delete(e.timestamp),w-=e.bytes,e.image.close())}},v=async t=>{if(t.disposed)return;t.disposed=!0,clearTimeout(t.idleTimer),r.get(t.key)===t&&r.delete(t.key);const e=(async()=>{t.transparent&&await t.tail,t.cancelReads(),t.input.dispose(),await y(t).catch(()=>{});for(const o of t.cache.values())p.delete(o),w-=o.bytes,o.image.close();t.cache.clear(),t.canvas.width=t.canvas.height=0})();return t.transparent?new Promise((o,n)=>{const i=setTimeout(()=>{t.cancelReads(),o()},$);e.then(o,n).finally(()=>clearTimeout(i))}):e},P=t=>{clearTimeout(t.idleTimer),!(t.disposed||t.users>0||[...t.cache.values()].some(e=>e.pins>0))&&(t.idleTimer=setTimeout(()=>{t.users>0||[...t.cache.values()].some(e=>e.pins>0)||r.get(t.key)===t&&(s.delete(t.key),v(t))},1e4))},D=async t=>{const e=X("thumbnail"),o=new V({source:new K(t,e),formats:G});l.set(o,e.cancelReads);try{const n=await o.getPrimaryVideoTrack();if(!n||f)throw new Error("Preview video unavailable");const[i,a,u,c,m,S,F,B,j]=await Promise.all([n.getDisplayWidth(),n.getDisplayHeight(),n.getFirstTimestamp(),n.getTimeResolution(),n.getSquarePixelWidth(),n.getSquarePixelHeight(),n.getRotation(),n.getFlip(),n.canBeTransparent()]),g=document.createElement("canvas");g.width=Math.max(1,Math.ceil(i));const z=F%180===0?m/S:S/m;return g.height=Math.max(1,Math.round(g.width/z)),{key:t,input:o,cancelReads:e.cancelReads,sink:new Q(n),canvas:g,rotation:F,flip:B,width:i,height:a,lead:u,ticks:c,transparent:j,tail:Promise.resolve(),iterator:null,iteratorEnd:0,lastTime:-1/0,cache:new Map,users:0,disposed:!1}}catch(n){throw o.dispose(),e.cancelReads(),n}finally{l.delete(o)}},I=()=>{for(const[t]of s){if(s.size<M)break;const e=r.get(t);e&&e.users===0&&![...e.cache.values()].some(o=>o.pins>0)&&(s.delete(t),v(e))}if(s.size>=M)throw new Error("Preview decoder budget reached")},L=async t=>{const e=t;if((d.get(e)??0)>performance.now())throw new Error("Preview decoder cooling down");let o=s.get(e);o||(I(),o=D(t),s.set(e,o)),s.delete(e),s.set(e,o);let n;try{n=await o}catch(i){throw s.get(e)===o&&(s.delete(e),d.set(e,performance.now()+5e3)),i}if(f||n.disposed)throw new DOMException("Preview disposed","AbortError");return r.set(e,n),n.users++,clearTimeout(n.idleTimer),n},y=async t=>{const e=t.iterator;t.iterator=null,await(e==null?void 0:e.return())},R=(t,e)=>{if(e.throwIfAborted(),f||t.disposed)throw new Error("Preview disposed")},O=async(t,e,o)=>{for(t.iterator||(t.iteratorEnd=e+8,t.iterator=t.sink.samples(e,t.iteratorEnd));;){R(t,o);const n=await t.iterator.next();if(n.done)return null;const i=n.value;let a=!1;try{if(R(t,o),i.timestamp>e+1e-6)return null;if(a=i.timestamp+i.duration>e+1e-6,a)return i}finally{a||i.close()}}},A=(t,e)=>(e.pins++,p.delete(e),p.set(e,t),e),W=async(t,e,o,n,i)=>{const a=t.canvas.getContext("2d",{alpha:!0});if(!a)throw new Error("Preview canvas unavailable");a.clearRect(0,0,t.canvas.width,t.canvas.height),a.imageSmoothingQuality="high",e.drawWithFit(a,{fit:"fill",rotation:t.rotation,flip:t.flip});const u=await createImageBitmap(t.canvas);if(i.aborted||f||t.disposed)throw u.close(),i.throwIfAborted(),new Error("Preview disposed");const c={image:u,...J(e.timestamp,o,n),bytes:u.width*u.height*4,pins:1},m=t.cache.get(c.timestamp);if(m)return m.duration=Math.max(m.duration,c.duration),u.close(),A(t,m);if(b(E-c.bytes),w+c.bytes>E)throw u.close(),new Error("Preview frame budget reached");return t.cache.set(c.timestamp,c),p.set(c,t),w+=c.bytes,c},U=(t,e,o)=>!t.transparent&&!o.variableFrameRate&&(o.frameRate??0)>0&&e>t.lastTime+1e-6&&e-t.lastTime<=Z,C=async(t,e,o,n)=>{R(t,n);const i=[...t.cache.values()].find(m=>e>=m.timestamp-1e-6&&e<m.timestamp+m.duration-1e-6);if(i)return A(t,i);const a=Y(e,o),u=U(t,e,o);let c=null;try{if((!u||a>=t.iteratorEnd)&&await y(t),c=u?await O(t,a,n):null,c||(await y(t),c=await q(t,a)),!c)throw new Error("No preview frame at requested time");return R(t,n),t.lastTime=e,await W(t,c,e,o,n)}finally{c==null||c.close(),(n.aborted||f)&&await y(t).catch(()=>{})}},H=(t,e)=>{const o=_(t.source);return{frameRate:o==null?void 0:o.frameRate,variableFrameRate:o==null?void 0:o.variableFrameRate,sourceLead:e.lead,inputLead:e.lead,timeResolution:e.ticks}},N=async(t,e)=>{e.throwIfAborted();const o=t.source;if(!o)throw new Error("Preview source unavailable");const n=await L(o);try{const i=H(t,n),a=n.tail.then(()=>C(n,t.time,i,e));n.tail=a.then(()=>{},()=>{});const u=await a;let c=!1;return b(),{source:u.image,timestamp:u.timestamp,duration:u.duration,width:n.width,height:n.height,release(){c||(c=!0,u.pins--,b(),P(n))}}}finally{n.users--,P(n)}};return{async decode(t,e){if(f)throw new DOMException("Preview disposed","AbortError");if(new Set(t.map(({source:a})=>a)).size>M)throw new Error("Preview decoder budget reached");const o=await Promise.allSettled(t.map(a=>N(a,e))),n=o.find(a=>a.status==="rejected"),i=o.flatMap(a=>a.status==="fulfilled"?[a.value]:[]);if(n||f||e.aborted){for(const a of i)a.release();throw n?n.reason:new DOMException("Preview cancelled","AbortError")}return i},async suspend(){const t=[...s.values()].map(e=>e.then(v).catch(()=>{}));s.clear();for(const[e,o]of l)o(),e.dispose();await Promise.all(t)},dispose(){if(!f){f=!0;for(const[t,e]of l)e(),t.dispose();for(const t of s.values())t.then(v).catch(()=>{});s.clear(),d.clear()}}}}export{ot as createPausedVideoDecoder};
|
|
@@ -1994,6 +1994,10 @@ function previewStageSize(iframe) {
|
|
|
1994
1994
|
function frameOrigins(iframe) {
|
|
1995
1995
|
const sandbox = iframe.getAttribute("sandbox")?.toLowerCase().split(/\s+/);
|
|
1996
1996
|
if (sandbox && !sandbox.includes("allow-same-origin")) return ["null"];
|
|
1997
|
+
const loaded = loadedOrigins(iframe);
|
|
1998
|
+
return previewFrameOpaque(iframe) && !loaded.includes("null") ? [...loaded, "null"] : loaded;
|
|
1999
|
+
}
|
|
2000
|
+
function loadedOrigins(iframe) {
|
|
1997
2001
|
const src = iframe.getAttribute("src");
|
|
1998
2002
|
if (iframe.hasAttribute("srcdoc") || !src) return [window.location.origin];
|
|
1999
2003
|
try {
|
|
@@ -2303,6 +2307,7 @@ var Player = forwardRef(
|
|
|
2303
2307
|
player.addEventListener("ready", handleReady);
|
|
2304
2308
|
player.addEventListener("painted", handlePainted);
|
|
2305
2309
|
player.addEventListener("error", handleError);
|
|
2310
|
+
if (opaque) player.toggleAttribute("sandbox-origin", true);
|
|
2306
2311
|
if (typeof ref === "function") {
|
|
2307
2312
|
ref(iframe);
|
|
2308
2313
|
} else if (ref) {
|
|
@@ -2312,7 +2317,6 @@ var Player = forwardRef(
|
|
|
2312
2317
|
player.setAttribute("shader-loading", "player");
|
|
2313
2318
|
player.setAttribute("low-power-idle", "");
|
|
2314
2319
|
player.toggleAttribute("no-load-timeout", noLoadTimeout === true);
|
|
2315
|
-
player.toggleAttribute("sandbox-origin", opaque);
|
|
2316
2320
|
player.setAttribute("width", String(portrait ? 1080 : 1920));
|
|
2317
2321
|
player.setAttribute("height", String(portrait ? 1920 : 1080));
|
|
2318
2322
|
player.style.width = "100%";
|
package/dist/index.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import { RefObject, MutableRefObject, ReactNode, DragEventHandler, ComponentProp
|
|
|
4
4
|
import { RuntimeTimelineClipIdentity, PlaybackHeldBy, HyperframePickerElementInfo } from '@hyperframes/core';
|
|
5
5
|
import { GsapAnimation, ParsedGsap, PropertyGroupName } from '@hyperframes/core/gsap-parser';
|
|
6
6
|
import { GsapAnimation as GsapAnimation$1, ArcPathSegment } from '@hyperframes/parsers/gsap-parser';
|
|
7
|
-
import { EditingElementHandle, LayerKind, EditingPortClient } from '@hyperframes/core/runtime/editing-port';
|
|
7
|
+
import { EditingElementHandle, LayerKind, EditingPortClient, EditingElementDescription, EditingElementHit, EditingElementGeometry, EditingElementBox, EditingLayer, EditingElementMatch } from '@hyperframes/core/runtime/editing-port';
|
|
8
8
|
import { Composition } from '@hyperframes/sdk';
|
|
9
9
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
10
10
|
import { StudioKeys, StudioKeyAction } from './keys.js';
|
|
@@ -826,6 +826,19 @@ interface DomEditContextOptions {
|
|
|
826
826
|
* resolution treats groups as a unit unless drilled into one. */
|
|
827
827
|
activeGroupElement?: HTMLElement | null;
|
|
828
828
|
}
|
|
829
|
+
interface TimelineElementDomTarget {
|
|
830
|
+
id?: string;
|
|
831
|
+
domId?: string;
|
|
832
|
+
selector?: string;
|
|
833
|
+
selectorIndex?: number;
|
|
834
|
+
sourceFile?: string;
|
|
835
|
+
compositionSrc?: string;
|
|
836
|
+
}
|
|
837
|
+
interface TimelineElementDomTargetOptions {
|
|
838
|
+
activeCompositionPath: string | null;
|
|
839
|
+
compIdToSrc?: ReadonlyMap<string, string>;
|
|
840
|
+
isMasterView: boolean;
|
|
841
|
+
}
|
|
829
842
|
|
|
830
843
|
declare function resolveDomEditSelection(startEl: HTMLElement | null, options: DomEditContextOptions & {
|
|
831
844
|
projectId?: string | null;
|
|
@@ -2040,8 +2053,9 @@ interface UseTimelinePlayerOptions {
|
|
|
2040
2053
|
onShadowPromoted?: () => void;
|
|
2041
2054
|
/** A reload was abandoned (cause in the message); the previous preview is still showing. */
|
|
2042
2055
|
onPreviewReloadFailed?: (message: string) => void;
|
|
2056
|
+
holdPreviewStill?: (live: HTMLIFrameElement) => Promise<(() => void) | null>;
|
|
2043
2057
|
}
|
|
2044
|
-
declare function useTimelinePlayer({ onShadowPromoted, onPreviewReloadFailed, }?: UseTimelinePlayerOptions): {
|
|
2058
|
+
declare function useTimelinePlayer({ onShadowPromoted, onPreviewReloadFailed, holdPreviewStill, }?: UseTimelinePlayerOptions): {
|
|
2045
2059
|
iframeRef: react.RefObject<HTMLIFrameElement | null>;
|
|
2046
2060
|
play: () => void;
|
|
2047
2061
|
pause: () => void;
|
|
@@ -2375,6 +2389,76 @@ declare function previewFrameOpaque(iframe: HTMLIFrameElement): boolean;
|
|
|
2375
2389
|
/** One client per frame load: the frame's next load disposes it. */
|
|
2376
2390
|
declare function previewEditingClient(iframe: HTMLIFrameElement): EditingPortClient;
|
|
2377
2391
|
|
|
2392
|
+
/**
|
|
2393
|
+
* Elements of a preview frame Studio cannot script, by the handles its runtime gives them. A handle
|
|
2394
|
+
* names an element for one load of the frame; after the frame loads again, describe it afresh.
|
|
2395
|
+
*/
|
|
2396
|
+
|
|
2397
|
+
declare const checked: unique symbol;
|
|
2398
|
+
/** A description that passed `readPreviewElement`. Only that function makes one. */
|
|
2399
|
+
type PreviewElement = EditingElementDescription & {
|
|
2400
|
+
readonly [checked]: true;
|
|
2401
|
+
};
|
|
2402
|
+
type PreviewElementHit = EditingElementHit & {
|
|
2403
|
+
readonly [checked]: true;
|
|
2404
|
+
};
|
|
2405
|
+
/** The elements under a frame viewport point, topmost first; null when the runtime cannot answer. */
|
|
2406
|
+
declare function previewElementsAtPoint(iframe: HTMLIFrameElement, x: number, y: number): Promise<PreviewElementHit[] | null>;
|
|
2407
|
+
declare function previewPointerTargets(iframe: HTMLIFrameElement, rootFractionX: number, rootFractionY: number): Promise<{
|
|
2408
|
+
target: PreviewElementHit | null;
|
|
2409
|
+
stack: PreviewElementHit[];
|
|
2410
|
+
} | null>;
|
|
2411
|
+
/**
|
|
2412
|
+
* One entry per handle, in order: null for an element the frame no longer has. The whole answer is
|
|
2413
|
+
* null when the runtime cannot answer, or when there are no handles or more than the runtime takes.
|
|
2414
|
+
*/
|
|
2415
|
+
declare function describePreviewElements(iframe: HTMLIFrameElement, handles: readonly string[]): Promise<Array<PreviewElement | null> | null>;
|
|
2416
|
+
/** Each handle's ancestors, parent first; null for an element the frame no longer has. */
|
|
2417
|
+
declare function previewAncestors(iframe: HTMLIFrameElement, handles: readonly string[]): Promise<Array<string[] | null> | null>;
|
|
2418
|
+
/** The frame's matches for `selector` in document order; null when the runtime cannot answer. */
|
|
2419
|
+
declare function queryPreviewElements(iframe: HTMLIFrameElement, selector: string): Promise<{
|
|
2420
|
+
matches: EditingElementMatch[];
|
|
2421
|
+
truncated: boolean;
|
|
2422
|
+
} | null>;
|
|
2423
|
+
interface PreviewGeometry {
|
|
2424
|
+
/** One entry per handle, in order: null for an element the frame no longer has. */
|
|
2425
|
+
elements: Array<EditingElementGeometry | null>;
|
|
2426
|
+
/** The `children` element's descendants, when it has 1 to MAX_GEOMETRY_CHILDREN; else empty. */
|
|
2427
|
+
children: EditingElementBox[] | null;
|
|
2428
|
+
}
|
|
2429
|
+
/** Overlay geometry for `handles`, and `children`'s descendant boxes; null when the runtime cannot answer. */
|
|
2430
|
+
declare function previewGeometry(iframe: HTMLIFrameElement, handles: readonly string[], children?: string): Promise<PreviewGeometry | null>;
|
|
2431
|
+
interface PreviewLayers {
|
|
2432
|
+
layers: EditingLayer[];
|
|
2433
|
+
truncated: boolean;
|
|
2434
|
+
missingGroup: boolean;
|
|
2435
|
+
}
|
|
2436
|
+
/** One page of the frame's layers in document order from `offset`, scoped to `group` when given; null when the runtime cannot answer. */
|
|
2437
|
+
declare function previewLayers(iframe: HTMLIFrameElement, group?: string, offset?: number): Promise<PreviewLayers | null>;
|
|
2438
|
+
|
|
2439
|
+
/** Selection rules over an ancestor chain: one answer for live elements and for descriptions. */
|
|
2440
|
+
|
|
2441
|
+
interface SelectionLookupTarget {
|
|
2442
|
+
id?: string | null;
|
|
2443
|
+
hfId?: string;
|
|
2444
|
+
selector?: string;
|
|
2445
|
+
selectorIndex?: number;
|
|
2446
|
+
sourceFile?: string;
|
|
2447
|
+
}
|
|
2448
|
+
|
|
2449
|
+
declare function standInFor(iframe: HTMLIFrameElement, element: PreviewElement): HTMLElement;
|
|
2450
|
+
/**
|
|
2451
|
+
* The description as an element of the inert document, discarded after the read, so the label,
|
|
2452
|
+
* data-attribute and inline-style helpers read it as they read a live element.
|
|
2453
|
+
*/
|
|
2454
|
+
declare function readable(element: PreviewElement): HTMLElement;
|
|
2455
|
+
/** Undefined when the frame cannot answer; null when nothing matches. */
|
|
2456
|
+
type Found = PreviewElement | null | undefined;
|
|
2457
|
+
/** `findElementForSelection` over the frame's runtime. */
|
|
2458
|
+
declare function findPreviewElementForSelection(iframe: HTMLIFrameElement, selection: SelectionLookupTarget, activeCompositionPath: string | null): Promise<Found>;
|
|
2459
|
+
/** `findElementForTimelineElement` over the frame's runtime. */
|
|
2460
|
+
declare function findPreviewElementForTimelineElement(iframe: HTMLIFrameElement, element: TimelineElementDomTarget, options: TimelineElementDomTargetOptions): Promise<Found>;
|
|
2461
|
+
|
|
2378
2462
|
interface AudioGainDialogState {
|
|
2379
2463
|
targetKeys: readonly string[] | null;
|
|
2380
2464
|
open: (keys: readonly string[]) => void;
|
|
@@ -4417,4 +4501,4 @@ declare function buildStudioTools(depsRef: {
|
|
|
4417
4501
|
readonly current: StudioAgentToolsDeps;
|
|
4418
4502
|
}): ModelContextTool[];
|
|
4419
4503
|
|
|
4420
|
-
export { type AgentModalAnchorPoint, type AgentPromptElementInfo, AskAgentModal, type AskAgentModalProps, AudioMeterStrip, type AudioMeterStripProps, AudioWaveform, type AudioWaveformProps, type BlockedTimelineEditIntent, type CanEditTimelineElement, ColorField, CompositionBreadcrumb, type CompositionDimensions, type CompositionLevel, CompositionThumbnail, ConnectedDomEditOverlay, type ConnectedDomEditOverlayProps, DEFAULT_SHORTCUT_SECTIONS, Dock, type DockController, type DomEditCapabilities, type DomEditCommitDeclineReason, type DomEditCommitOutcome, type DomEditGroupPathOffsetCommit, DomEditOverlay, type DomEditOverlayProps, DomEditProvider, type DomEditSelection, type DomEditZOrder, type DomGeometryCommits, type EditHistoryHandle, EditorShell, type EditorShellProps, type ExternalFileChangeBlockedState, type ExternalFileChangeCoordinatorHandle, ExternalFileConflictBanner, type FadeEdge, type FadeHandleBox, type FadeHandleClipBox, type FfmpegStatus, FileTree, GradientField, GridOverlay, ImageThumbnail, type ImageThumbnailProps, LayersPanel, type LayersPanelHost, type LinkShortcutCallbacks, type MarqueeBand, type MarqueeGestures, type MarqueeGesturesDeps, MarqueeOverlay, type MarqueeOverlayProps, type Rect$1 as MarqueeRect, type MarqueeSelectionMode, type ModelContextTool, NLEPreview, type PanelId, type PatchOperation, type PersistedRenderSettings, type PickedElement, type PlaybackHealth, PlayerControls, type PlayerHandle, type PlayerHandleElement, type PlayerHandleListener, type PlayerHandleTimeListener, type DomEditCompositionRect as PreviewCompositionRect, type PreviewCopies, type PreviewFacts, PreviewGuides, PreviewOverlayProvider, type PreviewOverlayProviderProps, type PreviewPromotion, type PreviewQualityChosenBy, PreviewReadOnlyProvider, type PreviewSnapPreferences, PropertyPanel, type RenderJob, RenderQueue, type RenderQueueProps, type ResolutionPreset, SNAP_THRESHOLD_PX, type ShortcutHint, type ShortcutSection, ShortcutsButton, type ShortcutsButtonProps, type SnapContext, type SnapEdge, type SnapGuide, SnapGuideOverlay, type SnapGuideOverlayProps, type SnapGuidesState, type Rect as SnapRect, type SnapResult, type SnapTarget, SnapToolbar, SourceEditor, type SpacingGuide, type StartRenderOptions, type StudioAgentToolsDeps, StudioApp, StudioFileConflictError, StudioKeyAction, StudioKeys, type StudioLookSnapshot, type StudioPendingEditsDrainResult, TRACK_H, type ThumbnailPriority, type ThumbnailStill, Timeline, TimelineClipMenu, type TimelineClipMenuItem, type TimelineClipRenderContext, type TimelineEditCallbacks, type TimelineEditOutcome, type TimelineEditPermission, TimelineEditPopover, TimelineEditProvider, type TimelineElement, TimelineEmptyStatePart, TimelineFrame, TimelineGapMenu, TimelineHistoryButtons, type TimelineHistoryButtonsProps, TimelineKeyframeMenu, TimelineLanes, TimelineOverlays, TimelinePane, type TimelinePaneProps, TimelinePlayhead, TimelineProvider, TimelineRazorGuide, TimelineRuler, TimelineShortcutHint, type TimelineTheme, type TimelineTimeRange$1 as TimelineTimeRange, TimelineToolbar, type TimelineToolbarProps, type TimelineTrackPadding, type TimelineZIndexReorderCommit, type ToolResult, type UseClipboardOptions, type UseDomEditSessionParams, type UseDomGeometryCommitOptions, type UseDomStyleCommitOptions, type UseEditHistoryActionsOptions, type UsePersistentEditHistoryOptions, type UsePreviewPersistenceParams, type UseProjectFileWriterOptions, type UseRenderClipContentOptions, type UseThumbnailStillOptions, type UseTimelineEditingOptions, VideoThumbnail, type ZOrderAction, announcePreviewDocumentLoaded, applyPatch, buildCompositionSnapTarget, buildGridSnapEdges, buildPickerAgentContextPreview, buildPickerAgentPrompt, buildShortcutSections, buildStudioTools, cancelNewestStudioWaitingPress, collectSnapContext, collectStudioLookScene, currentTimelineRange, dispatchLinkShortcut, displayTrackOrder, extractSnapTargets, fadeHandleBoxes, findElementBlock, flushStudioPendingEdits, formatTime, getPersistedRenderSettings, getStudioKeys, liveTime, mergeStyleIntoTag, openAudioGainDialog, parseStyleString, persistRenderSettings, previewEditingClient, previewFrameOpaque, resolveDomEditSelection, resolveEquidistanceGuides, resolveGuideLineRect, resolveIframe, resolveMarqueeMode, resolveSnapAdjustment, resolveSourceFile, revertNewestStudioPendingEdit, setStudioKeys, snapEngagedForTravel, studioKeyClash, useAudioGainDialogStore, useAudioMetersVisible, useClipboard, useCompositionStack, useDockLayoutStore, useDomEditSelectionContext, useDomEditSession, useDomEditZOrder, useDomGeometryCommit, useDomStyleCommit, useEditHistoryActions, useElementPicker, useLivePreviewIframe, useMarqueeGestures, usePersistentEditHistory, usePlayerHandle, usePlayerStore, usePreviewCompositionRect, usePreviewGuidesStore, usePreviewIframeStore, usePreviewOverlayContext, usePreviewPersistence, useProjectFileWriter, useRenderClipContent, useRenderQueue, useStudioKeys, useThumbnailStill, useTimelineContext, useTimelineEditing, useTimelinePlayer, zoomTimelineToRange };
|
|
4504
|
+
export { type AgentModalAnchorPoint, type AgentPromptElementInfo, AskAgentModal, type AskAgentModalProps, AudioMeterStrip, type AudioMeterStripProps, AudioWaveform, type AudioWaveformProps, type BlockedTimelineEditIntent, type CanEditTimelineElement, ColorField, CompositionBreadcrumb, type CompositionDimensions, type CompositionLevel, CompositionThumbnail, ConnectedDomEditOverlay, type ConnectedDomEditOverlayProps, DEFAULT_SHORTCUT_SECTIONS, Dock, type DockController, type DomEditCapabilities, type DomEditCommitDeclineReason, type DomEditCommitOutcome, type DomEditGroupPathOffsetCommit, DomEditOverlay, type DomEditOverlayProps, DomEditProvider, type DomEditSelection, type DomEditZOrder, type DomGeometryCommits, type EditHistoryHandle, EditorShell, type EditorShellProps, type ExternalFileChangeBlockedState, type ExternalFileChangeCoordinatorHandle, ExternalFileConflictBanner, type FadeEdge, type FadeHandleBox, type FadeHandleClipBox, type FfmpegStatus, FileTree, GradientField, GridOverlay, ImageThumbnail, type ImageThumbnailProps, LayersPanel, type LayersPanelHost, type LinkShortcutCallbacks, type MarqueeBand, type MarqueeGestures, type MarqueeGesturesDeps, MarqueeOverlay, type MarqueeOverlayProps, type Rect$1 as MarqueeRect, type MarqueeSelectionMode, type ModelContextTool, NLEPreview, type PanelId, type PatchOperation, type PersistedRenderSettings, type PickedElement, type PlaybackHealth, PlayerControls, type PlayerHandle, type PlayerHandleElement, type PlayerHandleListener, type PlayerHandleTimeListener, type DomEditCompositionRect as PreviewCompositionRect, type PreviewCopies, type PreviewElement, type PreviewElementHit, type PreviewFacts, PreviewGuides, PreviewOverlayProvider, type PreviewOverlayProviderProps, type PreviewPromotion, type PreviewQualityChosenBy, PreviewReadOnlyProvider, type PreviewSnapPreferences, PropertyPanel, type RenderJob, RenderQueue, type RenderQueueProps, type ResolutionPreset, SNAP_THRESHOLD_PX, type ShortcutHint, type ShortcutSection, ShortcutsButton, type ShortcutsButtonProps, type SnapContext, type SnapEdge, type SnapGuide, SnapGuideOverlay, type SnapGuideOverlayProps, type SnapGuidesState, type Rect as SnapRect, type SnapResult, type SnapTarget, SnapToolbar, SourceEditor, type SpacingGuide, type StartRenderOptions, type StudioAgentToolsDeps, StudioApp, StudioFileConflictError, StudioKeyAction, StudioKeys, type StudioLookSnapshot, type StudioPendingEditsDrainResult, TRACK_H, type ThumbnailPriority, type ThumbnailStill, Timeline, TimelineClipMenu, type TimelineClipMenuItem, type TimelineClipRenderContext, type TimelineEditCallbacks, type TimelineEditOutcome, type TimelineEditPermission, TimelineEditPopover, TimelineEditProvider, type TimelineElement, TimelineEmptyStatePart, TimelineFrame, TimelineGapMenu, TimelineHistoryButtons, type TimelineHistoryButtonsProps, TimelineKeyframeMenu, TimelineLanes, TimelineOverlays, TimelinePane, type TimelinePaneProps, TimelinePlayhead, TimelineProvider, TimelineRazorGuide, TimelineRuler, TimelineShortcutHint, type TimelineTheme, type TimelineTimeRange$1 as TimelineTimeRange, TimelineToolbar, type TimelineToolbarProps, type TimelineTrackPadding, type TimelineZIndexReorderCommit, type ToolResult, type UseClipboardOptions, type UseDomEditSessionParams, type UseDomGeometryCommitOptions, type UseDomStyleCommitOptions, type UseEditHistoryActionsOptions, type UsePersistentEditHistoryOptions, type UsePreviewPersistenceParams, type UseProjectFileWriterOptions, type UseRenderClipContentOptions, type UseThumbnailStillOptions, type UseTimelineEditingOptions, VideoThumbnail, type ZOrderAction, announcePreviewDocumentLoaded, applyPatch, buildCompositionSnapTarget, buildGridSnapEdges, buildPickerAgentContextPreview, buildPickerAgentPrompt, buildShortcutSections, buildStudioTools, cancelNewestStudioWaitingPress, collectSnapContext, collectStudioLookScene, currentTimelineRange, describePreviewElements, dispatchLinkShortcut, displayTrackOrder, extractSnapTargets, fadeHandleBoxes, findElementBlock, findPreviewElementForSelection, findPreviewElementForTimelineElement, flushStudioPendingEdits, formatTime, getPersistedRenderSettings, getStudioKeys, liveTime, mergeStyleIntoTag, openAudioGainDialog, parseStyleString, persistRenderSettings, previewAncestors, previewEditingClient, previewElementsAtPoint, previewFrameOpaque, previewGeometry, previewLayers, previewPointerTargets, queryPreviewElements, readable, resolveDomEditSelection, resolveEquidistanceGuides, resolveGuideLineRect, resolveIframe, resolveMarqueeMode, resolveSnapAdjustment, resolveSourceFile, revertNewestStudioPendingEdit, setStudioKeys, snapEngagedForTravel, standInFor, studioKeyClash, useAudioGainDialogStore, useAudioMetersVisible, useClipboard, useCompositionStack, useDockLayoutStore, useDomEditSelectionContext, useDomEditSession, useDomEditZOrder, useDomGeometryCommit, useDomStyleCommit, useEditHistoryActions, useElementPicker, useLivePreviewIframe, useMarqueeGestures, usePersistentEditHistory, usePlayerHandle, usePlayerStore, usePreviewCompositionRect, usePreviewGuidesStore, usePreviewIframeStore, usePreviewOverlayContext, usePreviewPersistence, useProjectFileWriter, useRenderClipContent, useRenderQueue, useStudioKeys, useThumbnailStill, useTimelineContext, useTimelineEditing, useTimelinePlayer, zoomTimelineToRange };
|
package/dist/index.html
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
document.documentElement.dataset.theme = "paper";
|
|
15
15
|
}
|
|
16
16
|
</script>
|
|
17
|
-
<script type="module" crossorigin src="/assets/index-
|
|
17
|
+
<script type="module" crossorigin src="/assets/index-D7ICtobF.js"></script>
|
|
18
18
|
<link rel="stylesheet" crossorigin href="/assets/index-CRiuMxyq.css">
|
|
19
19
|
</head>
|
|
20
20
|
<body>
|