@editframe/elements 0.42.6 → 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/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/EFText.d.ts +4 -4
- package/dist/elements/EFTextSegment.d.ts +4 -4
- package/dist/elements/EFTimegroup.js +1 -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/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/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 +2 -2
|
@@ -5,9 +5,9 @@ import { FetchMixinInterface } from "./FetchMixin.js";
|
|
|
5
5
|
import { AsyncValue } from "./EFMedia.js";
|
|
6
6
|
import { EFAudio } from "./EFAudio.js";
|
|
7
7
|
import { EFVideo } from "./EFVideo.js";
|
|
8
|
-
import * as
|
|
8
|
+
import * as lit4 from "lit";
|
|
9
9
|
import { LitElement, PropertyValueMap } from "lit";
|
|
10
|
-
import * as
|
|
10
|
+
import * as lit_html4 from "lit-html";
|
|
11
11
|
|
|
12
12
|
//#region src/elements/EFCaptions.d.ts
|
|
13
13
|
interface WordSegment {
|
|
@@ -61,7 +61,7 @@ declare class EFCaptionsAfterActiveWord extends EFCaptionsSegment {
|
|
|
61
61
|
declare const EFCaptions_base: (new (...args: any[]) => EFSourceMixinInterface) & (new (...args: any[]) => TemporalMixinInterface) & (new (...args: any[]) => FetchMixinInterface) & typeof LitElement;
|
|
62
62
|
declare class EFCaptions extends EFCaptions_base implements FrameRenderable {
|
|
63
63
|
#private;
|
|
64
|
-
static styles:
|
|
64
|
+
static styles: lit4.CSSResult[];
|
|
65
65
|
targetSelector: string;
|
|
66
66
|
set target(value: string);
|
|
67
67
|
wordStyle: string;
|
|
@@ -84,7 +84,7 @@ declare class EFCaptions extends EFCaptions_base implements FrameRenderable {
|
|
|
84
84
|
segmentContainers: HTMLCollectionOf<EFCaptionsSegment>;
|
|
85
85
|
beforeActiveWordContainers: HTMLCollectionOf<EFCaptionsBeforeActiveWord>;
|
|
86
86
|
afterActiveWordContainers: HTMLCollectionOf<EFCaptionsAfterActiveWord>;
|
|
87
|
-
render():
|
|
87
|
+
render(): lit_html4.TemplateResult<1>;
|
|
88
88
|
transcriptionsPath(): string | null;
|
|
89
89
|
captionsPath(): string | null;
|
|
90
90
|
/**
|
|
@@ -2,16 +2,16 @@ import { FrameRenderable, FrameState } from "../preview/FrameController.js";
|
|
|
2
2
|
import { EFSourceMixinInterface } from "./EFSourceMixin.js";
|
|
3
3
|
import { TemporalMixinInterface } from "./EFTemporal.js";
|
|
4
4
|
import { FetchMixinInterface } from "./FetchMixin.js";
|
|
5
|
-
import * as
|
|
5
|
+
import * as lit0 from "lit";
|
|
6
6
|
import { LitElement, PropertyValueMap } from "lit";
|
|
7
|
-
import * as
|
|
7
|
+
import * as lit_html0 from "lit-html";
|
|
8
8
|
import * as lit_html_directives_ref_js0 from "lit-html/directives/ref.js";
|
|
9
9
|
|
|
10
10
|
//#region src/elements/EFImage.d.ts
|
|
11
11
|
declare const EFImage_base: (new (...args: any[]) => TemporalMixinInterface) & (new (...args: any[]) => EFSourceMixinInterface) & (new (...args: any[]) => FetchMixinInterface) & typeof LitElement;
|
|
12
12
|
declare class EFImage extends EFImage_base implements FrameRenderable {
|
|
13
13
|
#private;
|
|
14
|
-
static styles:
|
|
14
|
+
static styles: lit0.CSSResult[];
|
|
15
15
|
static get observedAttributes(): string[];
|
|
16
16
|
attributeChangedCallback(name: string, oldValue: string | null, newValue: string | null): void;
|
|
17
17
|
imageRef: lit_html_directives_ref_js0.Ref<HTMLImageElement>;
|
|
@@ -33,7 +33,7 @@ declare class EFImage extends EFImage_base implements FrameRenderable {
|
|
|
33
33
|
/** @deprecated Use fileId instead */
|
|
34
34
|
get assetId(): string | null;
|
|
35
35
|
set assetId(value: string | null);
|
|
36
|
-
render():
|
|
36
|
+
render(): lit_html0.TemplateResult<1>;
|
|
37
37
|
private isDirectUrl;
|
|
38
38
|
assetPath(): string;
|
|
39
39
|
get hasOwnDuration(): boolean;
|
|
@@ -6,7 +6,7 @@ import { ControllableInterface } from "../gui/Controllable.js";
|
|
|
6
6
|
import { UrlGenerator } from "../transcoding/utils/UrlGenerator.js";
|
|
7
7
|
import { MediaEngine } from "./EFMedia/MediaEngine.js";
|
|
8
8
|
import { AudioSpan } from "../transcoding/types/index.js";
|
|
9
|
-
import * as
|
|
9
|
+
import * as lit1 from "lit";
|
|
10
10
|
import { LitElement, PropertyValueMap } from "lit";
|
|
11
11
|
|
|
12
12
|
//#region src/elements/EFMedia.d.ts
|
|
@@ -59,7 +59,7 @@ declare class EFMedia extends EFMedia_base {
|
|
|
59
59
|
*/
|
|
60
60
|
get requiredTracks(): "audio" | "video" | "both";
|
|
61
61
|
static get observedAttributes(): string[];
|
|
62
|
-
static styles:
|
|
62
|
+
static styles: lit1.CSSResult[];
|
|
63
63
|
attributeChangedCallback(name: string, oldValue: string | null, newValue: string | null): void;
|
|
64
64
|
/**
|
|
65
65
|
* Duration in milliseconds for audio buffering ahead of current time
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { TemporalMixinInterface } from "./EFTemporal.js";
|
|
2
2
|
import { EFTextSegment } from "./EFTextSegment.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as lit5 from "lit";
|
|
4
4
|
import { LitElement, PropertyValueMap } from "lit";
|
|
5
|
-
import * as
|
|
5
|
+
import * as lit_html5 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
11
|
#private;
|
|
12
|
-
static styles:
|
|
12
|
+
static styles: lit5.CSSResult[];
|
|
13
13
|
split: SplitMode;
|
|
14
14
|
private validateSplit;
|
|
15
15
|
staggerMs?: number;
|
|
@@ -21,7 +21,7 @@ declare class EFText extends EFText_base {
|
|
|
21
21
|
private _textContent;
|
|
22
22
|
private _templateElement;
|
|
23
23
|
private _segmentsReadyResolvers;
|
|
24
|
-
render():
|
|
24
|
+
render(): lit_html5.TemplateResult<1>;
|
|
25
25
|
set textContent(value: string | null);
|
|
26
26
|
get textContent(): string;
|
|
27
27
|
/**
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { TemporalMixinInterface } from "./EFTemporal.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as lit6 from "lit";
|
|
3
3
|
import { LitElement } from "lit";
|
|
4
|
-
import * as
|
|
4
|
+
import * as lit_html6 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:
|
|
10
|
-
render():
|
|
9
|
+
static styles: lit6.CSSResult[];
|
|
10
|
+
render(): lit_html6.TemplateResult<1>;
|
|
11
11
|
private setCSSVariables;
|
|
12
12
|
protected firstUpdated(): void;
|
|
13
13
|
protected updated(): void;
|
|
@@ -767,7 +767,7 @@ let EFTimegroup = class EFTimegroup$1 extends EFTargetable(EFTemporal(TWMixin(Li
|
|
|
767
767
|
this.#setupPlaybackListener();
|
|
768
768
|
const hostname = typeof window !== "undefined" ? window.location.hostname : "";
|
|
769
769
|
const isEditframeDomain = hostname === "editframe.com" || hostname.endsWith(".editframe.com");
|
|
770
|
-
if (this.playbackController && typeof
|
|
770
|
+
if (this.playbackController && typeof __EF_TELEMETRY_ENABLED__ !== "undefined" && __EF_TELEMETRY_ENABLED__ && !isEditframeDomain) fetch("https://editframe.com/api/v1/telemetry", {
|
|
771
771
|
method: "POST",
|
|
772
772
|
headers: { "Content-Type": "application/json" },
|
|
773
773
|
body: JSON.stringify({ event_type: "load" }),
|