@editframe/elements 0.8.0-beta.5 → 0.8.0-beta.7

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.
@@ -1,5 +1,4 @@
1
1
  import { VideoRenderOptions } from '../../assets/src';
2
-
3
2
  declare global {
4
3
  interface Window {
5
4
  EF_FRAMEGEN?: EfFramegen;
@@ -1,5 +1,4 @@
1
1
  import { LitElement, ReactiveController, ReactiveControllerHost } from 'lit';
2
-
3
2
  export declare class CrossUpdateController implements ReactiveController {
4
3
  private host;
5
4
  private target;
@@ -1,6 +1,5 @@
1
1
  import { EFMedia } from './EFMedia.ts';
2
2
  import { Task } from '@lit/task';
3
-
4
3
  export declare class EFAudio extends EFMedia {
5
4
  audioElementRef: import('lit-html/directives/ref.js').Ref<HTMLAudioElement>;
6
5
  src: string;
@@ -2,7 +2,6 @@ import { LitElement, PropertyValueMap } from 'lit';
2
2
  import { Task } from '@lit/task';
3
3
  import { EFVideo } from './EFVideo.ts';
4
4
  import { EFAudio } from './EFAudio.ts';
5
-
6
5
  declare const EFCaptionsActiveWord_base: (new (...args: any[]) => import('./EFTemporal.ts').TemporalMixinInterface) & typeof LitElement;
7
6
  export declare class EFCaptionsActiveWord extends EFCaptionsActiveWord_base {
8
7
  static styles: import('lit').CSSResult[];
@@ -1,6 +1,5 @@
1
1
  import { Task } from '@lit/task';
2
2
  import { LitElement } from 'lit';
3
-
4
3
  declare const EFImage_base: (new (...args: any[]) => import('./EFSourceMixin.ts').EFSourceMixinInterface) & (new (...args: any[]) => import('./FetchMixin.ts').FetchMixinInterface) & typeof LitElement;
5
4
  export declare class EFImage extends EFImage_base {
6
5
  static styles: import('lit').CSSResult[];
@@ -1,9 +1,8 @@
1
1
  import { LitElement, PropertyValueMap } from 'lit';
2
2
  import { Task } from '@lit/task';
3
3
  import { TrackFragmentIndex, TrackSegment } from '../../../assets/src';
4
- import { MP4File } from '../../../assets/MP4File.js/src';
5
- import { VideoAsset } from '../../../assets/EncodedAsset.js/src';
6
-
4
+ import { MP4File } from '@editframe/assets/MP4File.js';
5
+ import { VideoAsset } from '@editframe/assets/EncodedAsset.js';
7
6
  import type * as MP4Box from "mp4box";
8
7
  export declare const deepGetMediaElements: (element: Element, medias?: EFMedia[]) => EFMedia[];
9
8
  declare const EFMedia_base: (new (...args: any[]) => import('./EFSourceMixin.ts').EFSourceMixinInterface) & (new (...args: any[]) => import('./EFTemporal.ts').TemporalMixinInterface) & (new (...args: any[]) => import('./FetchMixin.ts').FetchMixinInterface) & typeof LitElement;
@@ -1,5 +1,4 @@
1
1
  import { LitElement } from 'lit';
2
-
3
2
  export declare class EFSourceMixinInterface {
4
3
  productionSrc(): string;
5
4
  src: string;
@@ -1,7 +1,6 @@
1
1
  import { LitElement, ReactiveController } from 'lit';
2
2
  import { EFTimegroup } from './EFTimegroup.ts';
3
3
  import { Task } from '@lit/task';
4
-
5
4
  export declare const timegroupContext: {
6
5
  __context__: EFTimegroup;
7
6
  };
@@ -1,5 +1,4 @@
1
1
  import { LitElement } from 'lit';
2
-
3
2
  declare const TestTemporal_base: (new (...args: any[]) => import('./EFTemporal.ts').TemporalMixinInterface) & typeof LitElement;
4
3
  declare class TestTemporal extends TestTemporal_base {
5
4
  get hasOwnDuration(): boolean;
@@ -1,6 +1,5 @@
1
1
  import { LitElement, PropertyValueMap } from 'lit';
2
2
  import { Task } from '@lit/task';
3
-
4
3
  export declare const shallowGetTimegroups: (element: Element, groups?: EFTimegroup[]) => EFTimegroup[];
5
4
  declare const EFTimegroup_base: (new (...args: any[]) => import('./EFTemporal.ts').TemporalMixinInterface) & typeof LitElement;
6
5
  export declare class EFTimegroup extends EFTimegroup_base {
@@ -18,7 +17,7 @@ export declare class EFTimegroup extends EFTimegroup_base {
18
17
  connectedCallback(): void;
19
18
  get storageKey(): string;
20
19
  get durationMs(): number;
21
- waitForMediaDurations(): Promise<(Record<number, import('packages/assets/dist/Probe.js').TrackFragmentIndex> | undefined)[]>;
20
+ waitForMediaDurations(): Promise<(Record<number, import('packages/assets/src/Probe.ts').TrackFragmentIndex> | undefined)[]>;
22
21
  get childTemporals(): import('./EFTemporal.ts').TemporalMixinInterface[];
23
22
  protected updated(changedProperties: PropertyValueMap<any> | Map<PropertyKey, unknown>): void;
24
23
  shouldWrapWithWorkbench(): boolean;
@@ -1,6 +1,5 @@
1
1
  import { Task } from '@lit/task';
2
2
  import { EFMedia } from './EFMedia.ts';
3
-
4
3
  declare const EFVideo_base: typeof EFMedia;
5
4
  export declare class EFVideo extends EFVideo_base {
6
5
  #private;
@@ -3,7 +3,6 @@ import { LitElement } from 'lit';
3
3
  import { EFVideo } from './EFVideo.ts';
4
4
  import { Task } from '@lit/task';
5
5
  import { Ref } from 'lit/directives/ref.js';
6
-
7
6
  declare const EFWaveform_base: (new (...args: any[]) => import('./EFTemporal.ts').TemporalMixinInterface) & typeof LitElement;
8
7
  export declare class EFWaveform extends EFWaveform_base {
9
8
  static styles: never[];
@@ -1,5 +1,4 @@
1
1
  import { LitElement } from 'lit';
2
-
3
2
  export declare class FetchMixinInterface {
4
3
  fetch: typeof fetch;
5
4
  }
@@ -1,6 +1,5 @@
1
1
  import { ReactiveController, LitElement } from 'lit';
2
2
  import { EFTimegroup } from './EFTimegroup.ts';
3
-
4
3
  export declare class TimegroupController implements ReactiveController {
5
4
  private host;
6
5
  private child;
@@ -1,4 +1,3 @@
1
1
  import { EFTimegroup } from './EFTimegroup.ts';
2
-
3
2
  export declare const getRootTimeGroup: (element: Element) => EFTimegroup | null;
4
3
  export declare const getStartTimeMs: (element: Element) => number;
@@ -1,7 +1,6 @@
1
1
  import { LitElement } from 'lit';
2
2
  import { createRef } from 'lit/directives/ref.js';
3
3
  import { EFTimegroup } from '../elements/EFTimegroup.ts';
4
-
5
4
  export declare class ContextMixinInterface {
6
5
  signingURL?: string;
7
6
  rendering: boolean;
@@ -6,7 +6,6 @@ import { EFTimegroup } from '../elements/EFTimegroup.ts';
6
6
  import { TemporalMixinInterface } from '../elements/EFTemporal.ts';
7
7
  import { TimegroupController } from '../elements/TimegroupController.ts';
8
8
  import { FocusContext } from './focusContext.ts';
9
-
10
9
  declare class ElementFilmstripController implements ReactiveController {
11
10
  private host;
12
11
  private filmstrip;
@@ -1,5 +1,4 @@
1
1
  import { LitElement } from 'lit';
2
-
3
2
  declare const EFPreview_base: (new (...args: any[]) => import('./ContextMixin.ts').ContextMixinInterface) & typeof LitElement;
4
3
  export declare class EFPreview extends EFPreview_base {
5
4
  static styles: import('lit').CSSResult[];
@@ -1,6 +1,5 @@
1
1
  import { LitElement } from 'lit';
2
2
  import { ContextMixinInterface } from './ContextMixin.ts';
3
-
4
3
  export declare class EFToggleLoop extends LitElement {
5
4
  static styles: import('lit').CSSResult[];
6
5
  context?: ContextMixinInterface | null;
@@ -1,6 +1,5 @@
1
1
  import { LitElement } from 'lit';
2
2
  import { ContextMixinInterface } from './ContextMixin.ts';
3
-
4
3
  export declare class EFTogglePlay extends LitElement {
5
4
  static styles: import('lit').CSSResult[];
6
5
  context?: ContextMixinInterface | null;
@@ -1,5 +1,4 @@
1
1
  import { LitElement, PropertyValueMap } from 'lit';
2
-
3
2
  declare const EFWorkbench_base: (new (...args: any[]) => import('./ContextMixin.ts').ContextMixinInterface) & typeof LitElement;
4
3
  export declare class EFWorkbench extends EFWorkbench_base {
5
4
  static styles: import('lit').CSSResult[];
@@ -1,3 +1,2 @@
1
1
  import { LitElement } from 'lit';
2
-
3
2
  export declare function TWMixin<T extends new (...args: any[]) => LitElement>(Base: T): T;
@@ -1,5 +1,4 @@
1
1
  import { ContextMixinInterface } from './ContextMixin.ts';
2
-
3
2
  export declare const efContext: {
4
3
  __context__: ContextMixinInterface | null;
5
4
  };
package/dist/index.d.ts CHANGED
@@ -1,4 +1,3 @@
1
-
2
1
  export { EFTimegroup } from './elements/EFTimegroup.ts';
3
2
  export { EFImage } from './elements/EFImage.ts';
4
3
  export type { EFMedia } from './elements/EFMedia.ts';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@editframe/elements",
3
- "version": "0.8.0-beta.5",
3
+ "version": "0.8.0-beta.7",
4
4
  "description": "",
5
5
  "exports": {
6
6
  ".": {
@@ -20,7 +20,7 @@
20
20
  "author": "",
21
21
  "license": "UNLICENSED",
22
22
  "dependencies": {
23
- "@editframe/assets": "0.8.0-beta.5",
23
+ "@editframe/assets": "0.8.0-beta.7",
24
24
  "@lit/context": "^1.1.2",
25
25
  "@lit/task": "^1.0.1",
26
26
  "d3": "^7.9.0",
@@ -35,7 +35,7 @@
35
35
  "autoprefixer": "^10.4.19",
36
36
  "rollup-plugin-tsconfig-paths": "^1.5.2",
37
37
  "typescript": "^5.5.4",
38
- "vite-plugin-dts": "^3.9.1",
38
+ "vite-plugin-dts": "^4.0.3",
39
39
  "vite-tsconfig-paths": "^4.3.2"
40
40
  }
41
41
  }