@vouchfor/embeds 0.0.0-experiment.bdda3d0 → 0.0.0-experiment.d900f80
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/es/components/Embed/controllers/fetcher.d.ts +0 -7
- package/dist/es/components/Embed/index.d.ts +2 -2
- package/dist/es/embeds.js +166 -178
- package/dist/es/embeds.js.map +1 -1
- package/dist/iife/embeds.iife.js +154 -231
- package/dist/iife/embeds.iife.js.map +1 -1
- package/package.json +4 -4
- package/src/components/Embed/controllers/fetcher.ts +22 -49
- package/src/components/Embed/index.ts +3 -8
@@ -1,18 +1,11 @@
|
|
1
1
|
import type { Embed } from '..';
|
2
|
-
import type { TemplateInstance } from '@vouchfor/canvas-video';
|
3
2
|
import type { ReactiveControllerHost } from 'lit';
|
4
3
|
type EmbedHost = ReactiveControllerHost & Embed;
|
5
4
|
declare class FetcherController {
|
6
5
|
host: EmbedHost;
|
7
6
|
private _fetching;
|
8
|
-
private _vouch?;
|
9
|
-
private _template?;
|
10
7
|
set fetching(value: boolean);
|
11
8
|
get fetching(): boolean;
|
12
|
-
set vouch(value: import("@vouchfor/media-player/dist/src/components/MediaPlayer/types").Vouch | undefined);
|
13
|
-
get vouch(): import("@vouchfor/media-player/dist/src/components/MediaPlayer/types").Vouch | undefined;
|
14
|
-
set template(value: TemplateInstance | undefined);
|
15
|
-
get template(): TemplateInstance | undefined;
|
16
9
|
private getVouch;
|
17
10
|
private getTemplate;
|
18
11
|
constructor(host: EmbedHost);
|
@@ -22,8 +22,8 @@ declare class Embed extends LitElement {
|
|
22
22
|
private eventController;
|
23
23
|
private _fetcherController;
|
24
24
|
private _trackingController;
|
25
|
-
|
26
|
-
|
25
|
+
vouch: EmbedProps['data'];
|
26
|
+
template: TemplateInstance | undefined;
|
27
27
|
get fetching(): boolean;
|
28
28
|
get waiting(): boolean | undefined;
|
29
29
|
get seeking(): boolean | undefined;
|