@editframe/elements 0.42.5 → 0.42.8
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/LICENSE-FULL.md +148 -0
- package/dist/elements/EFCaptions.d.ts +4 -4
- package/dist/elements/EFImage.d.ts +4 -4
- package/dist/elements/EFMedia.d.ts +2 -2
- package/dist/elements/EFTemporal.js +3 -1
- package/dist/elements/EFTemporal.js.map +1 -1
- package/dist/elements/EFText.d.ts +4 -4
- package/dist/elements/EFText.js +1 -0
- package/dist/elements/EFText.js.map +1 -1
- package/dist/elements/EFTextSegment.d.ts +4 -4
- package/dist/elements/EFTimegroup.js +12 -1
- package/dist/elements/EFTimegroup.js.map +1 -1
- package/dist/elements/EFWaveform.d.ts +4 -4
- package/dist/gui/EFActiveRootTemporal.d.ts +4 -4
- package/dist/gui/EFConfiguration.d.ts +4 -4
- package/dist/gui/EFDial.d.ts +4 -4
- package/dist/gui/EFFilmstrip.d.ts +4 -4
- 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/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/EFWorkbench.d.ts +4 -4
- 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/EFTimeline.js +18 -1
- package/dist/gui/timeline/EFTimeline.js.map +1 -1
- package/dist/gui/timeline/TrimHandles.d.ts +4 -4
- package/dist/gui/timeline/tracks/EFThumbnailStrip.d.ts +4 -4
- package/dist/gui/tree/EFTree.d.ts +4 -4
- package/dist/gui/tree/EFTreeItem.d.ts +4 -4
- package/dist/preview/renderTimegroupToCanvas.js +9 -0
- package/dist/preview/renderTimegroupToCanvas.js.map +1 -1
- package/dist/preview/renderTimegroupToVideo.js +1 -1
- package/dist/preview/renderTimegroupToVideo.js.map +1 -1
- package/dist/preview/rendering/serializeTimelineDirect.js +2 -1
- package/dist/preview/rendering/serializeTimelineDirect.js.map +1 -1
- package/package.json +8 -3
- package/scripts/build-css.js +0 -44
- package/test/__cache__/GET__api_v1_transcode_audio_1_m4s_url_http_3A_2F_2Fweb_3A3000_2Fhead_moov_480p_mp4__32da3954ba60c96ad732020c65a08ebc/data.bin +0 -0
- package/test/__cache__/GET__api_v1_transcode_audio_1_m4s_url_http_3A_2F_2Fweb_3A3000_2Fhead_moov_480p_mp4__32da3954ba60c96ad732020c65a08ebc/metadata.json +0 -16
- package/test/__cache__/GET__api_v1_transcode_audio_2_m4s_url_http_3A_2F_2Fweb_3A3000_2Fhead_moov_480p_mp4__b0b2b07efcf607de8ee0f650328c32f7/data.bin +0 -0
- package/test/__cache__/GET__api_v1_transcode_audio_2_m4s_url_http_3A_2F_2Fweb_3A3000_2Fhead_moov_480p_mp4__b0b2b07efcf607de8ee0f650328c32f7/metadata.json +0 -16
- package/test/__cache__/GET__api_v1_transcode_audio_3_m4s_url_http_3A_2F_2Fweb_3A3000_2Fhead_moov_480p_mp4__a75c2252b542e0c152c780e9a8d7b154/data.bin +0 -0
- package/test/__cache__/GET__api_v1_transcode_audio_3_m4s_url_http_3A_2F_2Fweb_3A3000_2Fhead_moov_480p_mp4__a75c2252b542e0c152c780e9a8d7b154/metadata.json +0 -16
- package/test/__cache__/GET__api_v1_transcode_audio_4_m4s_url_http_3A_2F_2Fweb_3A3000_2Fhead_moov_480p_mp4__a64ff1cfb1b52cae14df4b5dfa1e222b/data.bin +0 -0
- package/test/__cache__/GET__api_v1_transcode_audio_4_m4s_url_http_3A_2F_2Fweb_3A3000_2Fhead_moov_480p_mp4__a64ff1cfb1b52cae14df4b5dfa1e222b/metadata.json +0 -16
- package/test/__cache__/GET__api_v1_transcode_audio_5_m4s_url_http_3A_2F_2Fweb_3A3000_2Fhead_moov_480p_mp4__91e8a522f950809b9f09f4173113b4b0/data.bin +0 -0
- package/test/__cache__/GET__api_v1_transcode_audio_5_m4s_url_http_3A_2F_2Fweb_3A3000_2Fhead_moov_480p_mp4__91e8a522f950809b9f09f4173113b4b0/metadata.json +0 -16
- package/test/__cache__/GET__api_v1_transcode_audio_init_m4s_url_http_3A_2F_2Fweb_3A3000_2Fhead_moov_480p_mp4__e66d2c831d951e74ad0aeaa6489795d0/data.bin +0 -0
- package/test/__cache__/GET__api_v1_transcode_audio_init_m4s_url_http_3A_2F_2Fweb_3A3000_2Fhead_moov_480p_mp4__e66d2c831d951e74ad0aeaa6489795d0/metadata.json +0 -16
- package/test/__cache__/GET__api_v1_transcode_high_1_m4s_url_http_3A_2F_2Fweb_3A3000_2Fhead_moov_480p_mp4__26197f6f7c46cacb0a71134131c3f775/data.bin +0 -0
- package/test/__cache__/GET__api_v1_transcode_high_1_m4s_url_http_3A_2F_2Fweb_3A3000_2Fhead_moov_480p_mp4__26197f6f7c46cacb0a71134131c3f775/metadata.json +0 -16
- package/test/__cache__/GET__api_v1_transcode_high_2_m4s_url_http_3A_2F_2Fweb_3A3000_2Fhead_moov_480p_mp4__4cb6774cd3650ccf59c8f8dc6678c0b9/data.bin +0 -0
- package/test/__cache__/GET__api_v1_transcode_high_2_m4s_url_http_3A_2F_2Fweb_3A3000_2Fhead_moov_480p_mp4__4cb6774cd3650ccf59c8f8dc6678c0b9/metadata.json +0 -16
- package/test/__cache__/GET__api_v1_transcode_high_3_m4s_url_http_3A_2F_2Fweb_3A3000_2Fhead_moov_480p_mp4__0b3b2b1c8933f7fcf8a9ecaa88d58b41/data.bin +0 -0
- package/test/__cache__/GET__api_v1_transcode_high_3_m4s_url_http_3A_2F_2Fweb_3A3000_2Fhead_moov_480p_mp4__0b3b2b1c8933f7fcf8a9ecaa88d58b41/metadata.json +0 -16
- package/test/__cache__/GET__api_v1_transcode_high_4_m4s_url_http_3A_2F_2Fweb_3A3000_2Fhead_moov_480p_mp4__a6fb05a22b18d850f7f2950bbcdbdeed/data.bin +0 -0
- package/test/__cache__/GET__api_v1_transcode_high_4_m4s_url_http_3A_2F_2Fweb_3A3000_2Fhead_moov_480p_mp4__a6fb05a22b18d850f7f2950bbcdbdeed/metadata.json +0 -16
- package/test/__cache__/GET__api_v1_transcode_high_5_m4s_url_http_3A_2F_2Fweb_3A3000_2Fhead_moov_480p_mp4__a50058c7c3602e90879fe3428ed891f4/data.bin +0 -0
- package/test/__cache__/GET__api_v1_transcode_high_5_m4s_url_http_3A_2F_2Fweb_3A3000_2Fhead_moov_480p_mp4__a50058c7c3602e90879fe3428ed891f4/metadata.json +0 -16
- package/test/__cache__/GET__api_v1_transcode_high_init_m4s_url_http_3A_2F_2Fweb_3A3000_2Fhead_moov_480p_mp4__0798c479b44aaeef850609a430f6e613/data.bin +0 -0
- package/test/__cache__/GET__api_v1_transcode_high_init_m4s_url_http_3A_2F_2Fweb_3A3000_2Fhead_moov_480p_mp4__0798c479b44aaeef850609a430f6e613/metadata.json +0 -16
- package/test/__cache__/GET__api_v1_transcode_manifest_json_url_http_3A_2F_2Fweb_3A3000_2Fhead_moov_480p_mp4__3be92a0437de726b431ed5af2369158a/data.bin +0 -1
- package/test/__cache__/GET__api_v1_transcode_manifest_json_url_http_3A_2F_2Fweb_3A3000_2Fhead_moov_480p_mp4__3be92a0437de726b431ed5af2369158a/metadata.json +0 -17
- package/test/__cache__/GET__api_v1_transcode_scrub_1_m4s_url_http_3A_2F_2Fweb_3A3000_2Fhead_moov_480p_mp4__6ff5127ebeda578a679474347fbd6137/data.bin +0 -0
- package/test/__cache__/GET__api_v1_transcode_scrub_1_m4s_url_http_3A_2F_2Fweb_3A3000_2Fhead_moov_480p_mp4__6ff5127ebeda578a679474347fbd6137/metadata.json +0 -16
- package/test/__cache__/GET__api_v1_transcode_scrub_init_m4s_url_http_3A_2F_2Fweb_3A3000_2Fhead_moov_480p_mp4__f6d4793fc9ff854ee9a738917fb64a53/data.bin +0 -0
- package/test/__cache__/GET__api_v1_transcode_scrub_init_m4s_url_http_3A_2F_2Fweb_3A3000_2Fhead_moov_480p_mp4__f6d4793fc9ff854ee9a738917fb64a53/metadata.json +0 -16
- package/test/cache-integration-verification.browsertest.ts +0 -84
- package/test/constants.ts +0 -8
- package/test/createJitTestClips.ts +0 -425
- package/test/profilingPlugin.ts +0 -221
- package/test/recordReplayProxyPlugin.js +0 -428
- package/test/setup.ts +0 -71
- package/test/useAssetMSW.ts +0 -53
- package/test/useMSW.ts +0 -40
- package/test/useTranscodeMSW.ts +0 -191
- package/test/visualRegressionUtils.ts +0 -300
- package/tsdown.config.ts +0 -65
|
@@ -3,16 +3,16 @@ import { TemporalMixinInterface } from "./EFTemporal.js";
|
|
|
3
3
|
import { EFAudio } from "./EFAudio.js";
|
|
4
4
|
import { EFVideo } from "./EFVideo.js";
|
|
5
5
|
import { TargetController } from "./TargetController.js";
|
|
6
|
-
import * as
|
|
6
|
+
import * as lit7 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_html7 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 implements FrameRenderable {
|
|
14
14
|
#private;
|
|
15
|
-
static styles:
|
|
15
|
+
static styles: lit7.CSSResult;
|
|
16
16
|
canvasRef: Ref<HTMLCanvasElement>;
|
|
17
17
|
private ctx;
|
|
18
18
|
private styleObserver;
|
|
@@ -24,7 +24,7 @@ declare class EFWaveform extends EFWaveform_base implements FrameRenderable {
|
|
|
24
24
|
* @public
|
|
25
25
|
*/
|
|
26
26
|
get renderVersion(): number;
|
|
27
|
-
render():
|
|
27
|
+
render(): lit_html7.TemplateResult<1>;
|
|
28
28
|
mode: "roundBars" | "bars" | "bricks" | "line" | "curve" | "pixel" | "wave" | "spikes";
|
|
29
29
|
color: string;
|
|
30
30
|
target: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as lit22 from "lit";
|
|
2
2
|
import { LitElement } from "lit";
|
|
3
|
-
import * as
|
|
3
|
+
import * as lit_html21 from "lit-html";
|
|
4
4
|
|
|
5
5
|
//#region src/gui/EFActiveRootTemporal.d.ts
|
|
6
6
|
|
|
@@ -14,7 +14,7 @@ import * as lit_html20 from "lit-html";
|
|
|
14
14
|
* ```
|
|
15
15
|
*/
|
|
16
16
|
declare class EFActiveRootTemporal extends LitElement {
|
|
17
|
-
static styles:
|
|
17
|
+
static styles: lit22.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_html21.TemplateResult<1>;
|
|
42
42
|
}
|
|
43
43
|
declare global {
|
|
44
44
|
interface HTMLElementTagNameMap {
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as lit8 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/EFConfiguration.d.ts
|
|
6
6
|
declare class EFConfiguration extends LitElement {
|
|
7
|
-
static styles:
|
|
7
|
+
static styles: lit8.CSSResult[];
|
|
8
8
|
efConfiguration: this;
|
|
9
9
|
apiHost?: string;
|
|
10
10
|
signingURL: string;
|
|
11
|
-
render():
|
|
11
|
+
render(): lit_html8.TemplateResult<1>;
|
|
12
12
|
}
|
|
13
13
|
declare global {
|
|
14
14
|
interface HTMLElementTagNameMap {
|
package/dist/gui/EFDial.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as lit2 from "lit";
|
|
2
2
|
import { LitElement } from "lit";
|
|
3
|
-
import * as
|
|
3
|
+
import * as lit_html1 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: lit2.CSSResult;
|
|
17
17
|
private getAngleFromPoint;
|
|
18
18
|
private handlePointerDown;
|
|
19
19
|
private handlePointerMove;
|
|
20
20
|
private handlePointerUp;
|
|
21
|
-
render():
|
|
21
|
+
render(): lit_html1.TemplateResult<1>;
|
|
22
22
|
}
|
|
23
23
|
//#endregion
|
|
24
24
|
export { DialChangeDetail, EFDial };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { TemporalMixinInterface } from "../elements/EFTemporal.js";
|
|
2
2
|
import "./timeline/EFTimeline.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as lit11 from "lit";
|
|
4
4
|
import { LitElement } from "lit";
|
|
5
|
-
import * as
|
|
5
|
+
import * as lit_html11 from "lit-html";
|
|
6
6
|
import * as lit_html_directives_ref0 from "lit-html/directives/ref";
|
|
7
7
|
|
|
8
8
|
//#region src/gui/EFFilmstrip.d.ts
|
|
9
9
|
declare const EFFilmstrip_base: typeof LitElement;
|
|
10
10
|
declare class EFFilmstrip extends EFFilmstrip_base {
|
|
11
11
|
#private;
|
|
12
|
-
static styles:
|
|
12
|
+
static styles: lit11.CSSResult[];
|
|
13
13
|
target: string;
|
|
14
14
|
pixelsPerMs: number;
|
|
15
15
|
hidePlayhead: boolean;
|
|
@@ -24,7 +24,7 @@ declare class EFFilmstrip extends EFFilmstrip_base {
|
|
|
24
24
|
timelineRef: lit_html_directives_ref0.Ref<HTMLElement>;
|
|
25
25
|
connectedCallback(): void;
|
|
26
26
|
protected willUpdate(changedProperties: Map<string | number | symbol, unknown>): void;
|
|
27
|
-
render():
|
|
27
|
+
render(): lit_html11.TemplateResult<1>;
|
|
28
28
|
}
|
|
29
29
|
declare global {
|
|
30
30
|
interface HTMLElementTagNameMap {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as lit33 from "lit";
|
|
2
2
|
import { LitElement } from "lit";
|
|
3
|
-
import * as
|
|
3
|
+
import * as lit_html31 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: lit33.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_html31.TemplateResult<1>;
|
|
40
40
|
}
|
|
41
41
|
declare global {
|
|
42
42
|
interface HTMLElementTagNameMap {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { PanZoomTransform } from "../elements/EFPanZoom.js";
|
|
2
2
|
import { EFOverlayItem } from "./EFOverlayItem.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as lit32 from "lit";
|
|
4
4
|
import { LitElement } from "lit";
|
|
5
|
-
import * as
|
|
5
|
+
import * as lit_html30 from "lit-html";
|
|
6
6
|
|
|
7
7
|
//#region src/gui/EFOverlayLayer.d.ts
|
|
8
8
|
|
|
@@ -26,7 +26,7 @@ import * as lit_html29 from "lit-html";
|
|
|
26
26
|
* 2. EFOverlayItem can use this rect for coordinate calculations
|
|
27
27
|
*/
|
|
28
28
|
declare class EFOverlayLayer extends LitElement {
|
|
29
|
-
static styles:
|
|
29
|
+
static styles: lit32.CSSResult[];
|
|
30
30
|
panZoomTransformFromContext?: PanZoomTransform;
|
|
31
31
|
/**
|
|
32
32
|
* Pan/zoom transform as fallback for when context or sibling PanZoom is not available.
|
|
@@ -58,7 +58,7 @@ declare class EFOverlayLayer extends LitElement {
|
|
|
58
58
|
connectedCallback(): void;
|
|
59
59
|
disconnectedCallback(): void;
|
|
60
60
|
updated(): void;
|
|
61
|
-
render():
|
|
61
|
+
render(): lit_html30.TemplateResult<1>;
|
|
62
62
|
}
|
|
63
63
|
declare global {
|
|
64
64
|
interface HTMLElementTagNameMap {
|
package/dist/gui/EFPause.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ControllableInterface } from "./Controllable.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as lit18 from "lit";
|
|
3
3
|
import { LitElement } from "lit";
|
|
4
|
-
import * as
|
|
4
|
+
import * as lit_html17 from "lit-html";
|
|
5
5
|
|
|
6
6
|
//#region src/gui/EFPause.d.ts
|
|
7
7
|
declare const EFPause_base: (new (...args: any[]) => {
|
|
@@ -10,13 +10,13 @@ declare const EFPause_base: (new (...args: any[]) => {
|
|
|
10
10
|
effectiveContext: ControllableInterface | null;
|
|
11
11
|
}) & typeof LitElement;
|
|
12
12
|
declare class EFPause extends EFPause_base {
|
|
13
|
-
static styles:
|
|
13
|
+
static styles: lit18.CSSResult[];
|
|
14
14
|
playing: boolean;
|
|
15
15
|
get efContext(): ControllableInterface | null;
|
|
16
16
|
connectedCallback(): void;
|
|
17
17
|
disconnectedCallback(): void;
|
|
18
18
|
updated(changedProperties: Map<string | number | symbol, unknown>): void;
|
|
19
|
-
render():
|
|
19
|
+
render(): lit_html17.TemplateResult<1>;
|
|
20
20
|
handleClick: () => void;
|
|
21
21
|
}
|
|
22
22
|
declare global {
|
package/dist/gui/EFPlay.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ControllableInterface } from "./Controllable.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as lit17 from "lit";
|
|
3
3
|
import { LitElement } from "lit";
|
|
4
|
-
import * as
|
|
4
|
+
import * as lit_html16 from "lit-html";
|
|
5
5
|
|
|
6
6
|
//#region src/gui/EFPlay.d.ts
|
|
7
7
|
declare const EFPlay_base: (new (...args: any[]) => {
|
|
@@ -10,13 +10,13 @@ declare const EFPlay_base: (new (...args: any[]) => {
|
|
|
10
10
|
effectiveContext: ControllableInterface | null;
|
|
11
11
|
}) & typeof LitElement;
|
|
12
12
|
declare class EFPlay extends EFPlay_base {
|
|
13
|
-
static styles:
|
|
13
|
+
static styles: lit17.CSSResult[];
|
|
14
14
|
playing: boolean;
|
|
15
15
|
get efContext(): ControllableInterface | null;
|
|
16
16
|
connectedCallback(): void;
|
|
17
17
|
disconnectedCallback(): void;
|
|
18
18
|
updated(changedProperties: Map<string | number | symbol, unknown>): void;
|
|
19
|
-
render():
|
|
19
|
+
render(): lit_html16.TemplateResult<1>;
|
|
20
20
|
handleClick: () => void;
|
|
21
21
|
}
|
|
22
22
|
declare global {
|
package/dist/gui/EFPreview.d.ts
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { ContextMixinInterface } from "./ContextMixin.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as lit10 from "lit";
|
|
3
3
|
import { LitElement } from "lit";
|
|
4
|
-
import * as
|
|
4
|
+
import * as lit_html10 from "lit-html";
|
|
5
5
|
|
|
6
6
|
//#region src/gui/EFPreview.d.ts
|
|
7
7
|
declare const EFPreview_base: (new (...args: any[]) => ContextMixinInterface) & typeof LitElement;
|
|
8
8
|
declare class EFPreview extends EFPreview_base {
|
|
9
|
-
static styles:
|
|
9
|
+
static styles: lit10.CSSResult[];
|
|
10
10
|
focusedElement?: HTMLElement;
|
|
11
11
|
/**
|
|
12
12
|
* Find the closest temporal element (timegroup, video, audio, etc.)
|
|
13
13
|
*/
|
|
14
14
|
private findClosestTemporal;
|
|
15
15
|
constructor();
|
|
16
|
-
render():
|
|
16
|
+
render(): lit_html10.TemplateResult<1>;
|
|
17
17
|
}
|
|
18
18
|
declare global {
|
|
19
19
|
interface HTMLElementTagNameMap {
|
package/dist/gui/EFScrubber.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ControllableInterface } from "./Controllable.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as lit20 from "lit";
|
|
3
3
|
import { LitElement } from "lit";
|
|
4
|
-
import * as
|
|
4
|
+
import * as lit_html19 from "lit-html";
|
|
5
5
|
|
|
6
6
|
//#region src/gui/EFScrubber.d.ts
|
|
7
7
|
declare const EFScrubber_base: (new (...args: any[]) => {
|
|
@@ -10,7 +10,7 @@ declare const EFScrubber_base: (new (...args: any[]) => {
|
|
|
10
10
|
effectiveContext: ControllableInterface | null;
|
|
11
11
|
}) & typeof LitElement;
|
|
12
12
|
declare class EFScrubber extends EFScrubber_base {
|
|
13
|
-
static styles:
|
|
13
|
+
static styles: lit20.CSSResult[];
|
|
14
14
|
playing: boolean;
|
|
15
15
|
contextCurrentTimeMs: number;
|
|
16
16
|
contextDurationMs: number;
|
|
@@ -50,7 +50,7 @@ declare class EFScrubber extends EFScrubber_base {
|
|
|
50
50
|
private boundHandlePointerUp;
|
|
51
51
|
private boundHandlePointerCancel;
|
|
52
52
|
private boundHandleContextMenu;
|
|
53
|
-
render():
|
|
53
|
+
render(): lit_html19.TemplateResult<1>;
|
|
54
54
|
connectedCallback(): void;
|
|
55
55
|
disconnectedCallback(): void;
|
|
56
56
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ControllableInterface } from "./Controllable.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as lit21 from "lit";
|
|
3
3
|
import { LitElement } from "lit";
|
|
4
|
-
import * as
|
|
4
|
+
import * as lit_html20 from "lit-html";
|
|
5
5
|
|
|
6
6
|
//#region src/gui/EFTimeDisplay.d.ts
|
|
7
7
|
declare const EFTimeDisplay_base: (new (...args: any[]) => {
|
|
@@ -10,7 +10,7 @@ declare const EFTimeDisplay_base: (new (...args: any[]) => {
|
|
|
10
10
|
effectiveContext: ControllableInterface | null;
|
|
11
11
|
}) & typeof LitElement;
|
|
12
12
|
declare class EFTimeDisplay extends EFTimeDisplay_base {
|
|
13
|
-
static styles:
|
|
13
|
+
static styles: lit21.CSSResult;
|
|
14
14
|
currentTimeMs: number;
|
|
15
15
|
durationMs: number;
|
|
16
16
|
contextCurrentTimeMs: number;
|
|
@@ -18,7 +18,7 @@ declare class EFTimeDisplay extends EFTimeDisplay_base {
|
|
|
18
18
|
get effectiveCurrentTimeMs(): number;
|
|
19
19
|
get effectiveDurationMs(): number;
|
|
20
20
|
private formatTime;
|
|
21
|
-
render():
|
|
21
|
+
render(): lit_html20.TemplateResult<1>;
|
|
22
22
|
}
|
|
23
23
|
declare global {
|
|
24
24
|
interface HTMLElementTagNameMap {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { TimelineState } from "./timeline/timelineStateContext.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as lit34 from "lit";
|
|
3
3
|
import { LitElement } from "lit";
|
|
4
|
-
import * as
|
|
4
|
+
import * as lit_html32 from "lit-html";
|
|
5
5
|
|
|
6
6
|
//#region src/gui/EFTimelineRuler.d.ts
|
|
7
7
|
/**
|
|
@@ -25,7 +25,7 @@ declare function calculatePixelsPerFrame(frameIntervalMs: number, pixelsPerMs: n
|
|
|
25
25
|
*/
|
|
26
26
|
declare function shouldShowFrameMarkers(pixelsPerFrame: number, minSpacing?: number): boolean;
|
|
27
27
|
declare class EFTimelineRuler extends LitElement {
|
|
28
|
-
static styles:
|
|
28
|
+
static styles: lit34.CSSResult[];
|
|
29
29
|
durationMs: number;
|
|
30
30
|
contextDurationMs: number;
|
|
31
31
|
timelineState?: TimelineState;
|
|
@@ -59,7 +59,7 @@ declare class EFTimelineRuler extends LitElement {
|
|
|
59
59
|
private calculateLabelInterval;
|
|
60
60
|
private getVisibleLabels;
|
|
61
61
|
private renderCanvas;
|
|
62
|
-
render():
|
|
62
|
+
render(): lit_html32.TemplateResult<1>;
|
|
63
63
|
}
|
|
64
64
|
declare global {
|
|
65
65
|
interface HTMLElementTagNameMap {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ControllableInterface } from "./Controllable.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as lit19 from "lit";
|
|
3
3
|
import { LitElement } from "lit";
|
|
4
|
-
import * as
|
|
4
|
+
import * as lit_html18 from "lit-html";
|
|
5
5
|
|
|
6
6
|
//#region src/gui/EFToggleLoop.d.ts
|
|
7
7
|
declare const EFToggleLoop_base: (new (...args: any[]) => {
|
|
@@ -10,9 +10,9 @@ declare const EFToggleLoop_base: (new (...args: any[]) => {
|
|
|
10
10
|
effectiveContext: ControllableInterface | null;
|
|
11
11
|
}) & typeof LitElement;
|
|
12
12
|
declare class EFToggleLoop extends EFToggleLoop_base {
|
|
13
|
-
static styles:
|
|
13
|
+
static styles: lit19.CSSResult[];
|
|
14
14
|
get context(): ControllableInterface | null;
|
|
15
|
-
render():
|
|
15
|
+
render(): lit_html18.TemplateResult<1>;
|
|
16
16
|
}
|
|
17
17
|
declare global {
|
|
18
18
|
interface HTMLElementTagNameMap {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ControllableInterface } from "./Controllable.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as lit16 from "lit";
|
|
3
3
|
import { LitElement } from "lit";
|
|
4
|
-
import * as
|
|
4
|
+
import * as lit_html15 from "lit-html";
|
|
5
5
|
|
|
6
6
|
//#region src/gui/EFTogglePlay.d.ts
|
|
7
7
|
declare const EFTogglePlay_base: (new (...args: any[]) => {
|
|
@@ -10,12 +10,12 @@ declare const EFTogglePlay_base: (new (...args: any[]) => {
|
|
|
10
10
|
effectiveContext: ControllableInterface | null;
|
|
11
11
|
}) & typeof LitElement;
|
|
12
12
|
declare class EFTogglePlay extends EFTogglePlay_base {
|
|
13
|
-
static styles:
|
|
13
|
+
static styles: lit16.CSSResult[];
|
|
14
14
|
playing: boolean;
|
|
15
15
|
get efContext(): ControllableInterface | null;
|
|
16
16
|
connectedCallback(): void;
|
|
17
17
|
disconnectedCallback(): void;
|
|
18
|
-
render():
|
|
18
|
+
render(): lit_html15.TemplateResult<1>;
|
|
19
19
|
togglePlay: () => void;
|
|
20
20
|
private getPlaybackController;
|
|
21
21
|
}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { ContextMixinInterface } from "./ContextMixin.js";
|
|
2
2
|
import { RenderToVideoOptions } from "../preview/renderTimegroupToVideo.types.js";
|
|
3
3
|
import "./EFFitScale.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as lit9 from "lit";
|
|
5
5
|
import { LitElement, PropertyValueMap } from "lit";
|
|
6
|
-
import * as
|
|
6
|
+
import * as lit_html9 from "lit-html";
|
|
7
7
|
import * as lit_html_directives_ref_js2 from "lit-html/directives/ref.js";
|
|
8
8
|
|
|
9
9
|
//#region src/gui/EFWorkbench.d.ts
|
|
10
10
|
declare const EFWorkbench_base: (new (...args: any[]) => ContextMixinInterface) & typeof LitElement;
|
|
11
11
|
declare class EFWorkbench extends EFWorkbench_base {
|
|
12
12
|
#private;
|
|
13
|
-
static styles:
|
|
13
|
+
static styles: lit9.CSSResult[];
|
|
14
14
|
rendering: boolean;
|
|
15
15
|
private panZoomTransform;
|
|
16
16
|
private isExporting;
|
|
@@ -200,7 +200,7 @@ declare class EFWorkbench extends EFWorkbench_base {
|
|
|
200
200
|
updated(changedProperties: PropertyValueMap<any> | Map<PropertyKey, unknown>): void;
|
|
201
201
|
drawOverlays: () => void;
|
|
202
202
|
private renderPlaybackStats;
|
|
203
|
-
render():
|
|
203
|
+
render(): lit_html9.TemplateResult<1>;
|
|
204
204
|
}
|
|
205
205
|
declare global {
|
|
206
206
|
interface HTMLElementTagNameMap {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { SelectionContext } from "../../canvas/selection/selectionContext.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as lit12 from "lit";
|
|
3
3
|
import { LitElement, PropertyValues } from "lit";
|
|
4
|
-
import * as
|
|
4
|
+
import * as lit_html12 from "lit-html";
|
|
5
5
|
|
|
6
6
|
//#region src/gui/hierarchy/EFHierarchy.d.ts
|
|
7
7
|
declare const EFHierarchy_base: typeof LitElement;
|
|
8
8
|
declare class EFHierarchy extends EFHierarchy_base {
|
|
9
|
-
static styles:
|
|
9
|
+
static styles: lit12.CSSResult[];
|
|
10
10
|
target: string;
|
|
11
11
|
header: string;
|
|
12
12
|
showHeader: boolean;
|
|
@@ -53,7 +53,7 @@ declare class EFHierarchy extends EFHierarchy_base {
|
|
|
53
53
|
private autoSelectFirstRootTimegroup;
|
|
54
54
|
private setupSelectionListener;
|
|
55
55
|
private removeSelectionListener;
|
|
56
|
-
render():
|
|
56
|
+
render(): lit_html12.TemplateResult<1>;
|
|
57
57
|
}
|
|
58
58
|
declare global {
|
|
59
59
|
interface HTMLElementTagNameMap {
|
|
@@ -4,13 +4,13 @@ import { EFVideo } from "../../elements/EFVideo.js";
|
|
|
4
4
|
import { EFTimegroup } from "../../elements/EFTimegroup.js";
|
|
5
5
|
import { EFImage } from "../../elements/EFImage.js";
|
|
6
6
|
import { HierarchyContext } from "./hierarchyContext.js";
|
|
7
|
-
import * as
|
|
7
|
+
import * as lit13 from "lit";
|
|
8
8
|
import { LitElement, PropertyValues, TemplateResult, nothing } from "lit";
|
|
9
9
|
|
|
10
10
|
//#region src/gui/hierarchy/EFHierarchyItem.d.ts
|
|
11
11
|
declare const EFHierarchyItem_base: typeof LitElement;
|
|
12
12
|
declare class EFHierarchyItem<ElementType extends HTMLElement = HTMLElement> extends EFHierarchyItem_base {
|
|
13
|
-
static styles:
|
|
13
|
+
static styles: lit13.CSSResult[];
|
|
14
14
|
hierarchyContext?: HierarchyContext;
|
|
15
15
|
canvasSelectionContext?: SelectionContext;
|
|
16
16
|
element: ElementType;
|
|
@@ -4,7 +4,7 @@ import { TimelineState } from "./timelineStateContext.js";
|
|
|
4
4
|
import "./tracks/preloadTracks.js";
|
|
5
5
|
import "./EFTimelineRow.js";
|
|
6
6
|
import "../EFTimelineRuler.js";
|
|
7
|
-
import * as
|
|
7
|
+
import * as lit35 from "lit";
|
|
8
8
|
import { LitElement, PropertyValues, TemplateResult } from "lit";
|
|
9
9
|
|
|
10
10
|
//#region src/gui/timeline/EFTimeline.d.ts
|
|
@@ -17,7 +17,7 @@ declare const EFTimeline_base: typeof LitElement;
|
|
|
17
17
|
*/
|
|
18
18
|
declare class EFTimeline extends EFTimeline_base {
|
|
19
19
|
#private;
|
|
20
|
-
static styles:
|
|
20
|
+
static styles: lit35.CSSResult[];
|
|
21
21
|
/**
|
|
22
22
|
* Target element ID or "selection" to derive from canvas selection.
|
|
23
23
|
*
|
|
@@ -586,6 +586,10 @@ let EFTimeline = class EFTimeline$1 extends TWMixin(LitElement) {
|
|
|
586
586
|
this.removeScrollListener();
|
|
587
587
|
this.removeKeyboardListener();
|
|
588
588
|
this.targetObserver?.disconnect();
|
|
589
|
+
if (this.#durationChangeTarget) {
|
|
590
|
+
this.#durationChangeTarget.removeEventListener("durationchange", this.#durationChangeHandler);
|
|
591
|
+
this.#durationChangeTarget = void 0;
|
|
592
|
+
}
|
|
589
593
|
this.resizeObserver?.disconnect();
|
|
590
594
|
this.unsubscribeFromPlaybackController();
|
|
591
595
|
if (this.saveZoomScrollDebounceTimer !== null) {
|
|
@@ -600,6 +604,10 @@ let EFTimeline = class EFTimeline$1 extends TWMixin(LitElement) {
|
|
|
600
604
|
*/
|
|
601
605
|
setupTargetObserver() {
|
|
602
606
|
this.targetObserver?.disconnect();
|
|
607
|
+
if (this.#durationChangeTarget) {
|
|
608
|
+
this.#durationChangeTarget.removeEventListener("durationchange", this.#durationChangeHandler);
|
|
609
|
+
this.#durationChangeTarget = void 0;
|
|
610
|
+
}
|
|
603
611
|
const target = this.targetTemporal;
|
|
604
612
|
if (target && target instanceof Element) {
|
|
605
613
|
this.targetObserver = new MutationObserver(() => this.requestUpdate());
|
|
@@ -608,8 +616,13 @@ let EFTimeline = class EFTimeline$1 extends TWMixin(LitElement) {
|
|
|
608
616
|
subtree: true,
|
|
609
617
|
attributes: true
|
|
610
618
|
});
|
|
619
|
+
target.addEventListener("durationchange", this.#durationChangeHandler);
|
|
620
|
+
this.#durationChangeTarget = target;
|
|
611
621
|
}
|
|
612
622
|
}
|
|
623
|
+
#durationChangeTarget;
|
|
624
|
+
#durationChangeHandler = () => this.requestUpdate();
|
|
625
|
+
#previousTargetTemporal = null;
|
|
613
626
|
willUpdate(changedProperties) {
|
|
614
627
|
if (changedProperties.has("target") && this.target && !this.targetController) this.targetController = new TargetController(this);
|
|
615
628
|
this.setupSelectionListener();
|
|
@@ -652,11 +665,15 @@ let EFTimeline = class EFTimeline$1 extends TWMixin(LitElement) {
|
|
|
652
665
|
});
|
|
653
666
|
if (changedProperties.has("pixelsPerMs") || changedProperties.has("viewportScrollLeft")) this.debouncedSaveTimelineState();
|
|
654
667
|
if (changedProperties.has("targetElement") || changedProperties.has("target")) {
|
|
655
|
-
this.setupTargetObserver();
|
|
656
668
|
this.removeSelectionListener();
|
|
657
669
|
this.selectionChangeHandler = void 0;
|
|
658
670
|
this.setupSelectionListener();
|
|
659
671
|
}
|
|
672
|
+
const currentTargetTemporal = this.targetTemporal;
|
|
673
|
+
if (currentTargetTemporal !== this.#previousTargetTemporal) {
|
|
674
|
+
this.#previousTargetTemporal = currentTargetTemporal;
|
|
675
|
+
this.setupTargetObserver();
|
|
676
|
+
}
|
|
660
677
|
if (this.tracksScrollRef.value && !this.scrollHandler) this.setupScrollListener();
|
|
661
678
|
else if (!this.tracksScrollRef.value && this.scrollHandler) this.removeScrollListener();
|
|
662
679
|
if (this.tracksScrollRef.value && !this.resizeObserver) {
|