@editframe/elements 0.31.1-beta.0 → 0.32.0-beta.1
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/canvas/EFCanvas.d.ts +4 -4
- package/dist/canvas/EFCanvasItem.d.ts +4 -4
- package/dist/elements/EFAudio.d.ts +4 -4
- package/dist/elements/EFCaptions.d.ts +12 -12
- package/dist/elements/EFImage.d.ts +7 -7
- package/dist/elements/EFMedia.d.ts +4 -4
- package/dist/elements/EFPanZoom.d.ts +4 -4
- package/dist/elements/EFSurface.d.ts +6 -6
- package/dist/elements/EFText.d.ts +4 -4
- package/dist/elements/EFTextSegment.d.ts +4 -4
- package/dist/elements/EFThumbnailStrip.d.ts +6 -6
- package/dist/elements/EFTimegroup.d.ts +4 -4
- package/dist/elements/EFVideo.d.ts +6 -6
- package/dist/elements/EFWaveform.d.ts +4 -4
- package/dist/getRenderInfo.d.ts +4 -4
- package/dist/gui/EFActiveRootTemporal.d.ts +4 -4
- package/dist/gui/EFConfiguration.d.ts +4 -4
- package/dist/gui/EFControls.d.ts +2 -2
- package/dist/gui/EFDial.d.ts +4 -4
- package/dist/gui/EFFilmstrip.d.ts +4 -4
- package/dist/gui/EFFitScale.d.ts +3 -3
- package/dist/gui/EFFocusOverlay.d.ts +6 -6
- package/dist/gui/EFOverlayItem.d.ts +4 -4
- package/dist/gui/EFOverlayLayer.d.ts +4 -4
- package/dist/gui/EFPause.d.ts +4 -4
- package/dist/gui/EFPlay.d.ts +4 -4
- package/dist/gui/EFPreview.d.ts +4 -4
- package/dist/gui/EFResizableBox.d.ts +4 -4
- package/dist/gui/EFScrubber.d.ts +4 -4
- package/dist/gui/EFTimeDisplay.d.ts +4 -4
- package/dist/gui/EFTimelineRuler.d.ts +4 -4
- package/dist/gui/EFToggleLoop.d.ts +4 -4
- package/dist/gui/EFTogglePlay.d.ts +4 -4
- package/dist/gui/EFTransformHandles.d.ts +4 -4
- package/dist/gui/EFWorkbench.d.ts +6 -6
- package/dist/gui/hierarchy/EFHierarchy.d.ts +4 -4
- package/dist/gui/hierarchy/EFHierarchyItem.d.ts +2 -2
- package/dist/gui/timeline/EFTimeline.d.ts +2 -2
- package/dist/gui/timeline/TrimHandles.d.ts +4 -4
- package/dist/gui/tree/EFTree.d.ts +4 -4
- package/dist/gui/tree/EFTreeItem.d.ts +4 -4
- package/dist/index.d.ts +3 -1
- package/dist/index.js +3 -1
- package/dist/index.js.map +1 -1
- package/dist/preview/renderTimegroupToVideo.d.ts +2 -1
- package/dist/preview/renderTimegroupToVideo.js +15 -7
- package/dist/preview/renderTimegroupToVideo.js.map +1 -1
- package/dist/render/EFRenderAPI.js +67 -0
- package/dist/render/EFRenderAPI.js.map +1 -0
- package/dist/render/getRenderData.d.ts +31 -0
- package/dist/render/getRenderData.js +29 -0
- package/dist/render/getRenderData.js.map +1 -0
- package/package.json +2 -2
|
@@ -2,9 +2,9 @@ import { TemporalMixinInterface } from "../elements/EFTemporal.js";
|
|
|
2
2
|
import { CanvasElementData } from "./api/types.js";
|
|
3
3
|
import { SelectionContext } from "./selection/selectionContext.js";
|
|
4
4
|
import { PanZoomTransform } from "../elements/EFPanZoom.js";
|
|
5
|
-
import * as
|
|
5
|
+
import * as lit17 from "lit";
|
|
6
6
|
import { LitElement } from "lit";
|
|
7
|
-
import * as
|
|
7
|
+
import * as lit_html15 from "lit-html";
|
|
8
8
|
|
|
9
9
|
//#region src/canvas/EFCanvas.d.ts
|
|
10
10
|
declare const EFCanvas_base: typeof LitElement;
|
|
@@ -84,7 +84,7 @@ declare const EFCanvas_base: typeof LitElement;
|
|
|
84
84
|
* Manages existing elements (EF* elements, divs, etc.) and provides selection functionality.
|
|
85
85
|
*/
|
|
86
86
|
declare class EFCanvas extends EFCanvas_base {
|
|
87
|
-
static styles:
|
|
87
|
+
static styles: lit17.CSSResult[];
|
|
88
88
|
panZoomTransform?: PanZoomTransform;
|
|
89
89
|
elementIdAttribute: string;
|
|
90
90
|
enableTransformHandles: boolean;
|
|
@@ -299,7 +299,7 @@ declare class EFCanvas extends EFCanvas_base {
|
|
|
299
299
|
* Cleanup transform handles.
|
|
300
300
|
*/
|
|
301
301
|
private cleanupTransformHandles;
|
|
302
|
-
render():
|
|
302
|
+
render(): lit_html15.TemplateResult<1>;
|
|
303
303
|
}
|
|
304
304
|
declare global {
|
|
305
305
|
interface HTMLElementTagNameMap {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as lit18 from "lit";
|
|
2
2
|
import { LitElement } from "lit";
|
|
3
|
-
import * as
|
|
3
|
+
import * as lit_html16 from "lit-html";
|
|
4
4
|
|
|
5
5
|
//#region src/canvas/EFCanvasItem.d.ts
|
|
6
6
|
|
|
@@ -28,7 +28,7 @@ import * as lit_html33 from "lit-html";
|
|
|
28
28
|
* ```
|
|
29
29
|
*/
|
|
30
30
|
declare class EFCanvasItem extends LitElement {
|
|
31
|
-
static styles:
|
|
31
|
+
static styles: lit18.CSSResult;
|
|
32
32
|
id: string;
|
|
33
33
|
private canvas;
|
|
34
34
|
private api;
|
|
@@ -43,7 +43,7 @@ declare class EFCanvasItem extends LitElement {
|
|
|
43
43
|
* Unregister this element from the canvas.
|
|
44
44
|
*/
|
|
45
45
|
private unregister;
|
|
46
|
-
render():
|
|
46
|
+
render(): lit_html16.TemplateResult<1>;
|
|
47
47
|
}
|
|
48
48
|
declare global {
|
|
49
49
|
interface HTMLElementTagNameMap {
|
|
@@ -2,8 +2,8 @@ import { MediaEngine } from "../transcoding/types/index.js";
|
|
|
2
2
|
import { EFMedia } from "./EFMedia.js";
|
|
3
3
|
import * as _lit_task8 from "@lit/task";
|
|
4
4
|
import { Task } from "@lit/task";
|
|
5
|
-
import * as
|
|
6
|
-
import * as
|
|
5
|
+
import * as lit_html37 from "lit-html";
|
|
6
|
+
import * as lit_html_directives_ref_js3 from "lit-html/directives/ref.js";
|
|
7
7
|
|
|
8
8
|
//#region src/elements/EFAudio.d.ts
|
|
9
9
|
declare const EFAudio_base: typeof EFMedia;
|
|
@@ -18,9 +18,9 @@ declare class EFAudio extends EFAudio_base {
|
|
|
18
18
|
* @domAttribute "volume"
|
|
19
19
|
*/
|
|
20
20
|
volume: number;
|
|
21
|
-
audioElementRef:
|
|
21
|
+
audioElementRef: lit_html_directives_ref_js3.Ref<HTMLAudioElement>;
|
|
22
22
|
protected updated(changedProperties: Map<PropertyKey, unknown>): void;
|
|
23
|
-
render():
|
|
23
|
+
render(): lit_html37.TemplateResult<1>;
|
|
24
24
|
frameTask: Task<readonly [_lit_task8.TaskStatus, _lit_task8.TaskStatus, _lit_task8.TaskStatus, _lit_task8.TaskStatus], void>;
|
|
25
25
|
/**
|
|
26
26
|
* Legacy getter for fragment index task (maps to audioSegmentIdTask)
|
|
@@ -4,9 +4,9 @@ import { FetchMixinInterface } from "./FetchMixin.js";
|
|
|
4
4
|
import { EFVideo } from "./EFVideo.js";
|
|
5
5
|
import { EFAudio } from "./EFAudio.js";
|
|
6
6
|
import { Task, TaskStatus } from "@lit/task";
|
|
7
|
-
import * as
|
|
7
|
+
import * as lit25 from "lit";
|
|
8
8
|
import { LitElement, PropertyValueMap } from "lit";
|
|
9
|
-
import * as
|
|
9
|
+
import * as lit_html22 from "lit-html";
|
|
10
10
|
|
|
11
11
|
//#region src/elements/EFCaptions.d.ts
|
|
12
12
|
interface WordSegment {
|
|
@@ -25,8 +25,8 @@ interface Caption {
|
|
|
25
25
|
}
|
|
26
26
|
declare const EFCaptionsActiveWord_base: (new (...args: any[]) => TemporalMixinInterface) & typeof LitElement;
|
|
27
27
|
declare class EFCaptionsActiveWord extends EFCaptionsActiveWord_base {
|
|
28
|
-
static styles:
|
|
29
|
-
render():
|
|
28
|
+
static styles: lit25.CSSResult[];
|
|
29
|
+
render(): lit_html22.TemplateResult<1> | undefined;
|
|
30
30
|
wordStartMs: number;
|
|
31
31
|
wordEndMs: number;
|
|
32
32
|
wordText: string;
|
|
@@ -38,8 +38,8 @@ declare class EFCaptionsActiveWord extends EFCaptionsActiveWord_base {
|
|
|
38
38
|
}
|
|
39
39
|
declare const EFCaptionsSegment_base: (new (...args: any[]) => TemporalMixinInterface) & typeof LitElement;
|
|
40
40
|
declare class EFCaptionsSegment extends EFCaptionsSegment_base {
|
|
41
|
-
static styles:
|
|
42
|
-
render():
|
|
41
|
+
static styles: lit25.CSSResult[];
|
|
42
|
+
render(): lit_html22.TemplateResult<1> | undefined;
|
|
43
43
|
segmentStartMs: number;
|
|
44
44
|
segmentEndMs: number;
|
|
45
45
|
segmentText: string;
|
|
@@ -49,8 +49,8 @@ declare class EFCaptionsSegment extends EFCaptionsSegment_base {
|
|
|
49
49
|
get durationMs(): number;
|
|
50
50
|
}
|
|
51
51
|
declare class EFCaptionsBeforeActiveWord extends EFCaptionsSegment {
|
|
52
|
-
static styles:
|
|
53
|
-
render():
|
|
52
|
+
static styles: lit25.CSSResult[];
|
|
53
|
+
render(): lit_html22.TemplateResult<1> | undefined;
|
|
54
54
|
hidden: boolean;
|
|
55
55
|
segmentText: string;
|
|
56
56
|
segmentStartMs: number;
|
|
@@ -60,8 +60,8 @@ declare class EFCaptionsBeforeActiveWord extends EFCaptionsSegment {
|
|
|
60
60
|
get durationMs(): number;
|
|
61
61
|
}
|
|
62
62
|
declare class EFCaptionsAfterActiveWord extends EFCaptionsSegment {
|
|
63
|
-
static styles:
|
|
64
|
-
render():
|
|
63
|
+
static styles: lit25.CSSResult[];
|
|
64
|
+
render(): lit_html22.TemplateResult<1> | undefined;
|
|
65
65
|
hidden: boolean;
|
|
66
66
|
segmentText: string;
|
|
67
67
|
segmentStartMs: number;
|
|
@@ -73,7 +73,7 @@ declare class EFCaptionsAfterActiveWord extends EFCaptionsSegment {
|
|
|
73
73
|
declare const EFCaptions_base: (new (...args: any[]) => EFSourceMixinInterface) & (new (...args: any[]) => TemporalMixinInterface) & (new (...args: any[]) => FetchMixinInterface) & typeof LitElement;
|
|
74
74
|
declare class EFCaptions extends EFCaptions_base {
|
|
75
75
|
#private;
|
|
76
|
-
static styles:
|
|
76
|
+
static styles: lit25.CSSResult[];
|
|
77
77
|
targetSelector: string;
|
|
78
78
|
set target(value: string);
|
|
79
79
|
wordStyle: string;
|
|
@@ -96,7 +96,7 @@ declare class EFCaptions extends EFCaptions_base {
|
|
|
96
96
|
segmentContainers: HTMLCollectionOf<EFCaptionsSegment>;
|
|
97
97
|
beforeActiveWordContainers: HTMLCollectionOf<EFCaptionsBeforeActiveWord>;
|
|
98
98
|
afterActiveWordContainers: HTMLCollectionOf<EFCaptionsAfterActiveWord>;
|
|
99
|
-
render():
|
|
99
|
+
render(): lit_html22.TemplateResult<1>;
|
|
100
100
|
transcriptionsPath(): string | null;
|
|
101
101
|
captionsPath(): string | null;
|
|
102
102
|
protected md5SumLoader: Task<readonly [string, typeof fetch], any>;
|
|
@@ -3,21 +3,21 @@ import { TemporalMixinInterface } from "./EFTemporal.js";
|
|
|
3
3
|
import { FetchMixinInterface } from "./FetchMixin.js";
|
|
4
4
|
import * as _lit_task0 from "@lit/task";
|
|
5
5
|
import { Task } from "@lit/task";
|
|
6
|
-
import * as
|
|
6
|
+
import * as lit38 from "lit";
|
|
7
7
|
import { LitElement } from "lit";
|
|
8
|
-
import * as
|
|
9
|
-
import * as
|
|
8
|
+
import * as lit_html36 from "lit-html";
|
|
9
|
+
import * as lit_html_directives_ref_js1 from "lit-html/directives/ref.js";
|
|
10
10
|
|
|
11
11
|
//#region src/elements/EFImage.d.ts
|
|
12
12
|
declare const EFImage_base: (new (...args: any[]) => TemporalMixinInterface) & (new (...args: any[]) => EFSourceMixinInterface) & (new (...args: any[]) => FetchMixinInterface) & typeof LitElement;
|
|
13
13
|
declare class EFImage extends EFImage_base {
|
|
14
14
|
#private;
|
|
15
|
-
static styles:
|
|
16
|
-
imageRef:
|
|
17
|
-
canvasRef:
|
|
15
|
+
static styles: lit38.CSSResult[];
|
|
16
|
+
imageRef: lit_html_directives_ref_js1.Ref<HTMLImageElement>;
|
|
17
|
+
canvasRef: lit_html_directives_ref_js1.Ref<HTMLCanvasElement>;
|
|
18
18
|
set assetId(value: string | null);
|
|
19
19
|
get assetId(): string | null;
|
|
20
|
-
render():
|
|
20
|
+
render(): lit_html36.TemplateResult<1>;
|
|
21
21
|
private isDirectUrl;
|
|
22
22
|
assetPath(): string;
|
|
23
23
|
get hasOwnDuration(): boolean;
|
|
@@ -9,9 +9,9 @@ import { AudioBufferState } from "./EFMedia/audioTasks/makeAudioBufferTask.js";
|
|
|
9
9
|
import { ControllableInterface } from "../gui/Controllable.js";
|
|
10
10
|
import { UrlGenerator } from "../transcoding/utils/UrlGenerator.js";
|
|
11
11
|
import * as _lit_task0 from "@lit/task";
|
|
12
|
-
import * as
|
|
12
|
+
import * as lit39 from "lit";
|
|
13
13
|
import { LitElement, PropertyValueMap } from "lit";
|
|
14
|
-
import * as
|
|
14
|
+
import * as mediabunny2 from "mediabunny";
|
|
15
15
|
|
|
16
16
|
//#region src/elements/EFMedia.d.ts
|
|
17
17
|
declare global {
|
|
@@ -34,7 +34,7 @@ declare class EFMedia extends EFMedia_base {
|
|
|
34
34
|
*/
|
|
35
35
|
get requiredTracks(): "audio" | "video" | "both";
|
|
36
36
|
static get observedAttributes(): string[];
|
|
37
|
-
static styles:
|
|
37
|
+
static styles: lit39.CSSResult[];
|
|
38
38
|
/**
|
|
39
39
|
* Duration in milliseconds for audio buffering ahead of current time
|
|
40
40
|
* @domAttribute "audio-buffer-duration"
|
|
@@ -83,7 +83,7 @@ declare class EFMedia extends EFMedia_base {
|
|
|
83
83
|
audioInitSegmentFetchTask: _lit_task0.Task<readonly [MediaEngine | undefined], ArrayBuffer | undefined>;
|
|
84
84
|
audioSegmentFetchTask: _lit_task0.Task<readonly [MediaEngine | undefined, number | undefined], ArrayBuffer | undefined>;
|
|
85
85
|
audioInputTask: InputTask;
|
|
86
|
-
audioSeekTask: _lit_task0.Task<readonly [number, BufferedSeekingInput | undefined],
|
|
86
|
+
audioSeekTask: _lit_task0.Task<readonly [number, BufferedSeekingInput | undefined], mediabunny2.VideoSample | undefined>;
|
|
87
87
|
audioBufferTask: _lit_task0.Task<readonly [number], AudioBufferState>;
|
|
88
88
|
byteTimeDomainTask: _lit_task0.Task<readonly [number], Uint8Array<ArrayBufferLike> | null>;
|
|
89
89
|
frequencyDataTask: _lit_task0.Task<readonly [number], Uint8Array<ArrayBufferLike> | null>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as lit16 from "lit";
|
|
2
2
|
import { LitElement } from "lit";
|
|
3
|
-
import * as
|
|
3
|
+
import * as lit_html14 from "lit-html";
|
|
4
4
|
|
|
5
5
|
//#region src/elements/EFPanZoom.d.ts
|
|
6
6
|
interface PanZoomTransform {
|
|
@@ -9,7 +9,7 @@ interface PanZoomTransform {
|
|
|
9
9
|
scale: number;
|
|
10
10
|
}
|
|
11
11
|
declare class EFPanZoom extends LitElement {
|
|
12
|
-
static styles:
|
|
12
|
+
static styles: lit16.CSSResult[];
|
|
13
13
|
x: number;
|
|
14
14
|
y: number;
|
|
15
15
|
scale: number;
|
|
@@ -89,7 +89,7 @@ declare class EFPanZoom extends LitElement {
|
|
|
89
89
|
* @param padding - Padding factor (0-1), e.g., 0.1 = 10% padding on each side. Default: 0.05
|
|
90
90
|
*/
|
|
91
91
|
fitToContent(padding?: number): void;
|
|
92
|
-
render():
|
|
92
|
+
render(): lit_html14.TemplateResult<1>;
|
|
93
93
|
}
|
|
94
94
|
//#endregion
|
|
95
95
|
export { EFPanZoom, PanZoomTransform };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { ContextMixinInterface } from "../gui/ContextMixin.js";
|
|
2
2
|
import { Task } from "@lit/task";
|
|
3
|
-
import * as
|
|
3
|
+
import * as lit14 from "lit";
|
|
4
4
|
import { LitElement } from "lit";
|
|
5
|
-
import * as
|
|
6
|
-
import * as
|
|
5
|
+
import * as lit_html12 from "lit-html";
|
|
6
|
+
import * as lit_html_directives_ref1 from "lit-html/directives/ref";
|
|
7
7
|
|
|
8
8
|
//#region src/elements/EFSurface.d.ts
|
|
9
9
|
declare class EFSurface extends LitElement {
|
|
10
10
|
#private;
|
|
11
|
-
static styles:
|
|
12
|
-
canvasRef:
|
|
11
|
+
static styles: lit14.CSSResult[];
|
|
12
|
+
canvasRef: lit_html_directives_ref1.Ref<HTMLCanvasElement>;
|
|
13
13
|
targetElement: ContextMixinInterface | null;
|
|
14
14
|
target: string;
|
|
15
|
-
render():
|
|
15
|
+
render(): lit_html12.TemplateResult<1>;
|
|
16
16
|
get rootTimegroup(): any;
|
|
17
17
|
get currentTimeMs(): number;
|
|
18
18
|
get durationMs(): number;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { TemporalMixinInterface } from "./EFTemporal.js";
|
|
2
2
|
import { EFTextSegment } from "./EFTextSegment.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as lit30 from "lit";
|
|
4
4
|
import { LitElement, PropertyValueMap } from "lit";
|
|
5
|
-
import * as
|
|
5
|
+
import * as lit_html27 from "lit-html";
|
|
6
6
|
|
|
7
7
|
//#region src/elements/EFText.d.ts
|
|
8
8
|
type SplitMode = "line" | "word" | "char";
|
|
9
9
|
declare const EFText_base: (new (...args: any[]) => TemporalMixinInterface) & typeof LitElement;
|
|
10
10
|
declare class EFText extends EFText_base {
|
|
11
|
-
static styles:
|
|
11
|
+
static styles: lit30.CSSResult[];
|
|
12
12
|
split: SplitMode;
|
|
13
13
|
private validateSplit;
|
|
14
14
|
staggerMs?: number;
|
|
@@ -19,7 +19,7 @@ declare class EFText extends EFText_base {
|
|
|
19
19
|
private _textContent;
|
|
20
20
|
private _templateElement;
|
|
21
21
|
private _segmentsReadyResolvers;
|
|
22
|
-
render():
|
|
22
|
+
render(): lit_html27.TemplateResult<1>;
|
|
23
23
|
set textContent(value: string | null);
|
|
24
24
|
get textContent(): string;
|
|
25
25
|
/**
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { TemporalMixinInterface } from "./EFTemporal.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as lit31 from "lit";
|
|
3
3
|
import { LitElement } from "lit";
|
|
4
|
-
import * as
|
|
4
|
+
import * as lit_html28 from "lit-html";
|
|
5
5
|
|
|
6
6
|
//#region src/elements/EFTextSegment.d.ts
|
|
7
7
|
declare const EFTextSegment_base: (new (...args: any[]) => TemporalMixinInterface) & typeof LitElement;
|
|
8
8
|
declare class EFTextSegment extends EFTextSegment_base {
|
|
9
|
-
static styles:
|
|
9
|
+
static styles: lit31.CSSResult[];
|
|
10
10
|
/**
|
|
11
11
|
* Registers animation styles that should be shared across all text segments.
|
|
12
12
|
* This is the correct way to inject animation styles for segments - not via innerHTML.
|
|
@@ -32,7 +32,7 @@ declare class EFTextSegment extends EFTextSegment_base {
|
|
|
32
32
|
* @param id The identifier of the stylesheet to remove
|
|
33
33
|
*/
|
|
34
34
|
static unregisterAnimations(id: string): void;
|
|
35
|
-
render():
|
|
35
|
+
render(): lit_html28.TemplateResult<1>;
|
|
36
36
|
private setCSSVariables;
|
|
37
37
|
protected firstUpdated(): void;
|
|
38
38
|
protected updated(): void;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { EFVideo } from "./EFVideo.js";
|
|
2
2
|
import { EFTimegroup } from "./EFTimegroup.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as lit15 from "lit";
|
|
4
4
|
import { LitElement } from "lit";
|
|
5
|
-
import * as
|
|
6
|
-
import * as
|
|
5
|
+
import * as lit_html13 from "lit-html";
|
|
6
|
+
import * as lit_html_directives_ref2 from "lit-html/directives/ref";
|
|
7
7
|
|
|
8
8
|
//#region src/elements/EFThumbnailStrip.d.ts
|
|
9
9
|
declare class EFThumbnailStrip extends LitElement {
|
|
10
|
-
static styles:
|
|
11
|
-
canvasRef:
|
|
10
|
+
static styles: lit15.CSSResult[];
|
|
11
|
+
canvasRef: lit_html_directives_ref2.Ref<HTMLCanvasElement>;
|
|
12
12
|
target: string;
|
|
13
13
|
thumbnailWidth: number;
|
|
14
14
|
gap: number;
|
|
@@ -155,7 +155,7 @@ declare class EFThumbnailStrip extends LitElement {
|
|
|
155
155
|
* Invalidate all cached thumbnails for this element.
|
|
156
156
|
*/
|
|
157
157
|
invalidateAll(): void;
|
|
158
|
-
render():
|
|
158
|
+
render(): lit_html13.TemplateResult<1>;
|
|
159
159
|
}
|
|
160
160
|
declare global {
|
|
161
161
|
interface HTMLElementTagNameMap {
|
|
@@ -5,9 +5,9 @@ import { ElementPositionInfo } from "./ElementPositionInfo.js";
|
|
|
5
5
|
import { CaptureBatchOptions, CaptureOptions } from "../preview/renderTimegroupToCanvas.js";
|
|
6
6
|
import { RenderToVideoOptions } from "../preview/renderTimegroupToVideo.js";
|
|
7
7
|
import { Task } from "@lit/task";
|
|
8
|
-
import * as
|
|
8
|
+
import * as lit37 from "lit";
|
|
9
9
|
import { LitElement, PropertyValues } from "lit";
|
|
10
|
-
import * as
|
|
10
|
+
import * as lit_html35 from "lit-html";
|
|
11
11
|
|
|
12
12
|
//#region src/elements/EFTimegroup.d.ts
|
|
13
13
|
|
|
@@ -51,7 +51,7 @@ declare const EFTimegroup_base: (new (...args: any[]) => TemporalMixinInterface)
|
|
|
51
51
|
declare class EFTimegroup extends EFTimegroup_base {
|
|
52
52
|
#private;
|
|
53
53
|
static get observedAttributes(): string[];
|
|
54
|
-
static styles:
|
|
54
|
+
static styles: lit37.CSSResult;
|
|
55
55
|
/** @internal */
|
|
56
56
|
_timeGroupContext: this;
|
|
57
57
|
/** @internal */
|
|
@@ -206,7 +206,7 @@ declare class EFTimegroup extends EFTimegroup_base {
|
|
|
206
206
|
removeFrameTask(callback: FrameTaskCallback): void;
|
|
207
207
|
/** @internal */
|
|
208
208
|
saveTimeToLocalStorage(time: number): void;
|
|
209
|
-
render():
|
|
209
|
+
render(): lit_html35.TemplateResult<1>;
|
|
210
210
|
/** @internal */
|
|
211
211
|
loadTimeFromLocalStorage(): number | undefined;
|
|
212
212
|
connectedCallback(): void;
|
|
@@ -5,11 +5,11 @@ import { MediaBufferState } from "./EFMedia/shared/BufferUtils.js";
|
|
|
5
5
|
import { EFMedia } from "./EFMedia.js";
|
|
6
6
|
import { VideoBufferState } from "./EFMedia/videoTasks/makeVideoBufferTask.js";
|
|
7
7
|
import { Task } from "@lit/task";
|
|
8
|
-
import * as
|
|
8
|
+
import * as lit24 from "lit";
|
|
9
9
|
import { PropertyValueMap } from "lit";
|
|
10
10
|
import * as mediabunny0 from "mediabunny";
|
|
11
|
-
import * as
|
|
12
|
-
import * as
|
|
11
|
+
import * as lit_html21 from "lit-html";
|
|
12
|
+
import * as lit_html_directives_ref3 from "lit-html/directives/ref";
|
|
13
13
|
|
|
14
14
|
//#region src/elements/EFVideo.d.ts
|
|
15
15
|
declare global {
|
|
@@ -27,8 +27,8 @@ interface LoadingState {
|
|
|
27
27
|
|
|
28
28
|
declare const EFVideo_base: typeof EFMedia;
|
|
29
29
|
declare class EFVideo extends EFVideo_base {
|
|
30
|
-
static styles:
|
|
31
|
-
canvasRef:
|
|
30
|
+
static styles: lit24.CSSResult[];
|
|
31
|
+
canvasRef: lit_html_directives_ref3.Ref<HTMLCanvasElement>;
|
|
32
32
|
/**
|
|
33
33
|
* Duration in milliseconds for video buffering ahead of current time
|
|
34
34
|
* @domAttribute "video-buffer-duration"
|
|
@@ -66,7 +66,7 @@ declare class EFVideo extends EFVideo_base {
|
|
|
66
66
|
};
|
|
67
67
|
constructor();
|
|
68
68
|
protected updated(changedProperties: PropertyValueMap<any> | Map<PropertyKey, unknown>): void;
|
|
69
|
-
render():
|
|
69
|
+
render(): lit_html21.TemplateResult<1>;
|
|
70
70
|
get canvasElement(): HTMLCanvasElement | undefined;
|
|
71
71
|
frameTask: Task<readonly [number], void>;
|
|
72
72
|
/**
|
|
@@ -3,21 +3,21 @@ import { EFVideo } from "./EFVideo.js";
|
|
|
3
3
|
import { EFAudio } from "./EFAudio.js";
|
|
4
4
|
import { TargetController } from "./TargetController.js";
|
|
5
5
|
import { Task } from "@lit/task";
|
|
6
|
-
import * as
|
|
6
|
+
import * as lit32 from "lit";
|
|
7
7
|
import { LitElement, PropertyValueMap } from "lit";
|
|
8
8
|
import { Ref } from "lit/directives/ref.js";
|
|
9
|
-
import * as
|
|
9
|
+
import * as lit_html29 from "lit-html";
|
|
10
10
|
|
|
11
11
|
//#region src/elements/EFWaveform.d.ts
|
|
12
12
|
declare const EFWaveform_base: (new (...args: any[]) => TemporalMixinInterface) & typeof LitElement;
|
|
13
13
|
declare class EFWaveform extends EFWaveform_base {
|
|
14
|
-
static styles:
|
|
14
|
+
static styles: lit32.CSSResult;
|
|
15
15
|
canvasRef: Ref<HTMLCanvasElement>;
|
|
16
16
|
private ctx;
|
|
17
17
|
private styleObserver;
|
|
18
18
|
private resizeObserver?;
|
|
19
19
|
private mutationObserver?;
|
|
20
|
-
render():
|
|
20
|
+
render(): lit_html29.TemplateResult<1>;
|
|
21
21
|
mode: "roundBars" | "bars" | "bricks" | "line" | "curve" | "pixel" | "wave" | "spikes";
|
|
22
22
|
color: string;
|
|
23
23
|
target: string;
|
package/dist/getRenderInfo.d.ts
CHANGED
|
@@ -21,20 +21,20 @@ declare const RenderInfo: z.ZodObject<{
|
|
|
21
21
|
efImage: string[];
|
|
22
22
|
}>;
|
|
23
23
|
}, "strip", z.ZodTypeAny, {
|
|
24
|
-
durationMs: number;
|
|
25
|
-
fps: number;
|
|
26
24
|
width: number;
|
|
27
25
|
height: number;
|
|
26
|
+
fps: number;
|
|
27
|
+
durationMs: number;
|
|
28
28
|
assets: {
|
|
29
29
|
efMedia: Record<string, any>;
|
|
30
30
|
efCaptions: string[];
|
|
31
31
|
efImage: string[];
|
|
32
32
|
};
|
|
33
33
|
}, {
|
|
34
|
-
durationMs: number;
|
|
35
|
-
fps: number;
|
|
36
34
|
width: number;
|
|
37
35
|
height: number;
|
|
36
|
+
fps: number;
|
|
37
|
+
durationMs: number;
|
|
38
38
|
assets: {
|
|
39
39
|
efMedia: Record<string, any>;
|
|
40
40
|
efCaptions: string[];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as lit8 from "lit";
|
|
2
2
|
import { LitElement } from "lit";
|
|
3
|
-
import * as
|
|
3
|
+
import * as lit_html7 from "lit-html";
|
|
4
4
|
|
|
5
5
|
//#region src/gui/EFActiveRootTemporal.d.ts
|
|
6
6
|
|
|
@@ -14,7 +14,7 @@ import * as lit_html24 from "lit-html";
|
|
|
14
14
|
* ```
|
|
15
15
|
*/
|
|
16
16
|
declare class EFActiveRootTemporal extends LitElement {
|
|
17
|
-
static styles:
|
|
17
|
+
static styles: lit8.CSSResult;
|
|
18
18
|
/**
|
|
19
19
|
* Canvas element ID or selector to bind to.
|
|
20
20
|
* If not specified, will search for the nearest ef-canvas ancestor.
|
|
@@ -38,7 +38,7 @@ declare class EFActiveRootTemporal extends LitElement {
|
|
|
38
38
|
* Remove event listener.
|
|
39
39
|
*/
|
|
40
40
|
private removeListener;
|
|
41
|
-
render():
|
|
41
|
+
render(): lit_html7.TemplateResult<1>;
|
|
42
42
|
}
|
|
43
43
|
declare global {
|
|
44
44
|
interface HTMLElementTagNameMap {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as lit33 from "lit";
|
|
2
2
|
import { LitElement } from "lit";
|
|
3
|
-
import * as
|
|
3
|
+
import * as lit_html30 from "lit-html";
|
|
4
4
|
|
|
5
5
|
//#region src/gui/EFConfiguration.d.ts
|
|
6
6
|
declare class EFConfiguration extends LitElement {
|
|
7
|
-
static styles:
|
|
7
|
+
static styles: lit33.CSSResult[];
|
|
8
8
|
efConfiguration: this;
|
|
9
9
|
apiHost?: string;
|
|
10
10
|
signingURL: string;
|
|
@@ -15,7 +15,7 @@ declare class EFConfiguration extends LitElement {
|
|
|
15
15
|
* - "jit": Force JitMediaEngine for all sources (uses /api/v1/transcode/* URLs)
|
|
16
16
|
*/
|
|
17
17
|
mediaEngine?: "cloud" | "local" | "jit";
|
|
18
|
-
render():
|
|
18
|
+
render(): lit_html30.TemplateResult<1>;
|
|
19
19
|
}
|
|
20
20
|
declare global {
|
|
21
21
|
interface HTMLElementTagNameMap {
|
package/dist/gui/EFControls.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { TemporalMixinInterface } from "../elements/EFTemporal.js";
|
|
2
2
|
import { ControllableInterface } from "./Controllable.js";
|
|
3
3
|
import { FocusContext } from "./focusContext.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as lit10 from "lit";
|
|
5
5
|
import { LitElement, PropertyValueMap } from "lit";
|
|
6
6
|
|
|
7
7
|
//#region src/gui/EFControls.d.ts
|
|
@@ -26,7 +26,7 @@ import { LitElement, PropertyValueMap } from "lit";
|
|
|
26
26
|
*/
|
|
27
27
|
declare class EFControls extends LitElement {
|
|
28
28
|
#private;
|
|
29
|
-
static styles:
|
|
29
|
+
static styles: lit10.CSSResult;
|
|
30
30
|
createRenderRoot(): this;
|
|
31
31
|
/**
|
|
32
32
|
* The ID of the ef-preview element to control
|
package/dist/gui/EFDial.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as lit9 from "lit";
|
|
2
2
|
import { LitElement } from "lit";
|
|
3
|
-
import * as
|
|
3
|
+
import * as lit_html8 from "lit-html";
|
|
4
4
|
|
|
5
5
|
//#region src/gui/EFDial.d.ts
|
|
6
6
|
interface DialChangeDetail {
|
|
@@ -13,12 +13,12 @@ declare class EFDial extends LitElement {
|
|
|
13
13
|
private isDragging;
|
|
14
14
|
private dragStartAngle;
|
|
15
15
|
private dragStartValue;
|
|
16
|
-
static styles:
|
|
16
|
+
static styles: lit9.CSSResult;
|
|
17
17
|
private getAngleFromPoint;
|
|
18
18
|
private handlePointerDown;
|
|
19
19
|
private handlePointerMove;
|
|
20
20
|
private handlePointerUp;
|
|
21
|
-
render():
|
|
21
|
+
render(): lit_html8.TemplateResult<1>;
|
|
22
22
|
}
|
|
23
23
|
//#endregion
|
|
24
24
|
export { DialChangeDetail, EFDial };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { TemporalMixinInterface } from "../elements/EFTemporal.js";
|
|
2
2
|
import { LitElement } from "lit";
|
|
3
|
-
import * as
|
|
4
|
-
import * as
|
|
3
|
+
import * as lit_html33 from "lit-html";
|
|
4
|
+
import * as lit_html_directives_ref4 from "lit-html/directives/ref";
|
|
5
5
|
|
|
6
6
|
//#region src/gui/EFFilmstrip.d.ts
|
|
7
7
|
declare const EFFilmstrip_base: typeof LitElement;
|
|
@@ -18,10 +18,10 @@ declare class EFFilmstrip extends EFFilmstrip_base {
|
|
|
18
18
|
get targetTemporal(): TemporalMixinInterface | null;
|
|
19
19
|
get hideSelectors(): string[] | undefined;
|
|
20
20
|
get showSelectors(): string[] | undefined;
|
|
21
|
-
timelineRef:
|
|
21
|
+
timelineRef: lit_html_directives_ref4.Ref<HTMLElement>;
|
|
22
22
|
connectedCallback(): void;
|
|
23
23
|
protected willUpdate(changedProperties: Map<string | number | symbol, unknown>): void;
|
|
24
|
-
render():
|
|
24
|
+
render(): lit_html33.TemplateResult<1>;
|
|
25
25
|
}
|
|
26
26
|
declare global {
|
|
27
27
|
interface HTMLElementTagNameMap {
|
package/dist/gui/EFFitScale.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { LitElement } from "lit";
|
|
2
|
-
import * as
|
|
2
|
+
import * as lit_html_directives_ref0 from "lit-html/directives/ref";
|
|
3
3
|
|
|
4
4
|
//#region src/gui/EFFitScale.d.ts
|
|
5
5
|
declare class EFFitScale extends LitElement {
|
|
6
|
-
containerRef:
|
|
7
|
-
contentRef:
|
|
6
|
+
containerRef: lit_html_directives_ref0.Ref<HTMLDivElement>;
|
|
7
|
+
contentRef: lit_html_directives_ref0.Ref<HTMLSlotElement>;
|
|
8
8
|
createRenderRoot(): this;
|
|
9
9
|
uniqueId: string;
|
|
10
10
|
private scale;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as lit11 from "lit";
|
|
2
2
|
import { LitElement } from "lit";
|
|
3
|
-
import * as
|
|
4
|
-
import * as
|
|
3
|
+
import * as lit_html9 from "lit-html";
|
|
4
|
+
import * as lit_html_directives_ref_js0 from "lit-html/directives/ref.js";
|
|
5
5
|
|
|
6
6
|
//#region src/gui/EFFocusOverlay.d.ts
|
|
7
7
|
declare class EFFocusOverlay extends LitElement {
|
|
8
|
-
static styles:
|
|
8
|
+
static styles: lit11.CSSResult;
|
|
9
9
|
focusedElement?: HTMLElement | null;
|
|
10
|
-
overlay:
|
|
10
|
+
overlay: lit_html_directives_ref_js0.Ref<HTMLDivElement>;
|
|
11
11
|
private animationFrame?;
|
|
12
12
|
drawOverlay: () => void;
|
|
13
|
-
render():
|
|
13
|
+
render(): lit_html9.TemplateResult<1>;
|
|
14
14
|
connectedCallback(): void;
|
|
15
15
|
disconnectedCallback(): void;
|
|
16
16
|
protected updated(): void;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as lit20 from "lit";
|
|
2
2
|
import { LitElement } from "lit";
|
|
3
|
-
import * as
|
|
3
|
+
import * as lit_html18 from "lit-html";
|
|
4
4
|
|
|
5
5
|
//#region src/gui/EFOverlayItem.d.ts
|
|
6
6
|
/**
|
|
@@ -23,7 +23,7 @@ interface OverlayItemPosition {
|
|
|
23
23
|
* ensures transforms are applied before positions are read.
|
|
24
24
|
*/
|
|
25
25
|
declare class EFOverlayItem extends LitElement {
|
|
26
|
-
static styles:
|
|
26
|
+
static styles: lit20.CSSResult[];
|
|
27
27
|
elementId?: string;
|
|
28
28
|
target?: HTMLElement | string;
|
|
29
29
|
private currentPosition;
|
|
@@ -36,7 +36,7 @@ declare class EFOverlayItem extends LitElement {
|
|
|
36
36
|
updatePosition(): void;
|
|
37
37
|
connectedCallback(): void;
|
|
38
38
|
disconnectedCallback(): void;
|
|
39
|
-
render():
|
|
39
|
+
render(): lit_html18.TemplateResult<1>;
|
|
40
40
|
}
|
|
41
41
|
declare global {
|
|
42
42
|
interface HTMLElementTagNameMap {
|