@lumiscaphe/viewer 4.0.8 → 4.0.10
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/Animation.d.ts +7 -7
- package/dist/Basis3.d.ts +10 -10
- package/dist/Canvas2D.d.ts +16 -16
- package/dist/Canvas3D.d.ts +8 -8
- package/dist/Encoder.d.ts +5 -5
- package/dist/EventHelper.d.ts +5 -5
- package/dist/Hotspot.d.ts +14 -14
- package/dist/Inertia.d.ts +14 -14
- package/dist/InertiaPoint.d.ts +6 -6
- package/dist/InteractiveCamera.d.ts +25 -25
- package/dist/InteractivePosition.d.ts +26 -26
- package/dist/Loader.d.ts +28 -28
- package/dist/LoaderDelegate.d.ts +5 -5
- package/dist/Maths.d.ts +10 -10
- package/dist/Options.d.ts +10 -10
- package/dist/Parameters.d.ts +9 -9
- package/dist/Point.d.ts +6 -6
- package/dist/PointOfView.d.ts +12 -12
- package/dist/Position.d.ts +4 -4
- package/dist/Resolution.d.ts +6 -6
- package/dist/Scene.d.ts +13 -13
- package/dist/Size.d.ts +5 -5
- package/dist/Snapshot.d.ts +10 -10
- package/dist/Transition.d.ts +6 -6
- package/dist/Video.d.ts +8 -8
- package/dist/View.d.ts +20 -20
- package/dist/Viewer.d.ts +64 -64
- package/dist/Viewport.d.ts +12 -12
- package/dist/WRAPIv1.d.ts +37 -37
- package/dist/WRAPIv2.d.ts +333 -333
- package/dist/WebRenderStatic.d.ts +9 -9
- package/dist/WebRenderV1.d.ts +16 -16
- package/dist/WebRenderV2.d.ts +20 -20
- package/dist/Widget.d.ts +17 -17
- package/dist/WidgetImage.d.ts +28 -28
- package/dist/WidgetVRCube.d.ts +43 -43
- package/dist/WidgetVRObject.d.ts +37 -37
- package/dist/WidgetVideo.d.ts +26 -26
- package/dist/index.d.ts +16 -16
- package/dist/index.es.js +2 -2
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +12 -12
package/dist/WebRenderV1.d.ts
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { Snapshot } from './Snapshot';
|
|
2
|
-
export declare class WebRenderV1 {
|
|
3
|
-
private server;
|
|
4
|
-
private static readonly xmlRegex;
|
|
5
|
-
constructor(server: string);
|
|
6
|
-
private static buildQuery;
|
|
7
|
-
private static sceneParameters;
|
|
8
|
-
private static renderParameters;
|
|
9
|
-
private static encoderParameters;
|
|
10
|
-
private static fetch;
|
|
11
|
-
animation(snapshot: Snapshot): Promise<string[]>;
|
|
12
|
-
image(snapshot: Snapshot): Promise<string>;
|
|
13
|
-
video(snapshot: Snapshot): Promise<string>;
|
|
14
|
-
vrCube(snapshot: Snapshot): Promise<string[]>;
|
|
15
|
-
vrObject(snapshot: Snapshot): Promise<string[]>;
|
|
16
|
-
}
|
|
1
|
+
import { Snapshot } from './Snapshot';
|
|
2
|
+
export declare class WebRenderV1 {
|
|
3
|
+
private server;
|
|
4
|
+
private static readonly xmlRegex;
|
|
5
|
+
constructor(server: string);
|
|
6
|
+
private static buildQuery;
|
|
7
|
+
private static sceneParameters;
|
|
8
|
+
private static renderParameters;
|
|
9
|
+
private static encoderParameters;
|
|
10
|
+
private static fetch;
|
|
11
|
+
animation(snapshot: Snapshot): Promise<string[]>;
|
|
12
|
+
image(snapshot: Snapshot): Promise<string>;
|
|
13
|
+
video(snapshot: Snapshot): Promise<string>;
|
|
14
|
+
vrCube(snapshot: Snapshot): Promise<string[]>;
|
|
15
|
+
vrObject(snapshot: Snapshot): Promise<string[]>;
|
|
16
|
+
}
|
package/dist/WebRenderV2.d.ts
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { Hotspot } from './Hotspot';
|
|
2
|
-
import { Snapshot } from './Snapshot';
|
|
3
|
-
export declare class WebRenderV2 {
|
|
4
|
-
private server;
|
|
5
|
-
constructor(server: string);
|
|
6
|
-
private static scene;
|
|
7
|
-
private static renderParameters;
|
|
8
|
-
private static encoder;
|
|
9
|
-
private static fetchFrame;
|
|
10
|
-
private static fetchFrameArray;
|
|
11
|
-
private static fetchHotspots;
|
|
12
|
-
private static fetchHotspotsArray;
|
|
13
|
-
image(snapshot: Snapshot): Promise<string>;
|
|
14
|
-
vrCube(snapshot: Snapshot): Promise<string[]>;
|
|
15
|
-
vrObject(snapshot: Snapshot): Promise<string[]>;
|
|
16
|
-
animation(snapshot: Snapshot): Promise<string[]>;
|
|
17
|
-
imageHotspots(snapshot: Snapshot, tags: string[]): Promise<Hotspot[]>;
|
|
18
|
-
vrCubeHotspots(snapshot: Snapshot, tags: string[]): Promise<Hotspot[][]>;
|
|
19
|
-
vrObjectHotspots(snapshot: Snapshot, tags: string[]): Promise<Hotspot[][]>;
|
|
20
|
-
}
|
|
1
|
+
import { Hotspot } from './Hotspot';
|
|
2
|
+
import { Snapshot } from './Snapshot';
|
|
3
|
+
export declare class WebRenderV2 {
|
|
4
|
+
private server;
|
|
5
|
+
constructor(server: string);
|
|
6
|
+
private static scene;
|
|
7
|
+
private static renderParameters;
|
|
8
|
+
private static encoder;
|
|
9
|
+
private static fetchFrame;
|
|
10
|
+
private static fetchFrameArray;
|
|
11
|
+
private static fetchHotspots;
|
|
12
|
+
private static fetchHotspotsArray;
|
|
13
|
+
image(snapshot: Snapshot): Promise<string>;
|
|
14
|
+
vrCube(snapshot: Snapshot): Promise<string[]>;
|
|
15
|
+
vrObject(snapshot: Snapshot): Promise<string[]>;
|
|
16
|
+
animation(snapshot: Snapshot): Promise<string[]>;
|
|
17
|
+
imageHotspots(snapshot: Snapshot, tags: string[]): Promise<Hotspot[]>;
|
|
18
|
+
vrCubeHotspots(snapshot: Snapshot, tags: string[]): Promise<Hotspot[][]>;
|
|
19
|
+
vrObjectHotspots(snapshot: Snapshot, tags: string[]): Promise<Hotspot[][]>;
|
|
20
|
+
}
|
package/dist/Widget.d.ts
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { Hotspot } from './Hotspot';
|
|
2
|
-
import { Snapshot } from './Snapshot';
|
|
3
|
-
export interface Widget {
|
|
4
|
-
destroy(): void;
|
|
5
|
-
show(): void;
|
|
6
|
-
hide(): void;
|
|
7
|
-
load(snapshot: Snapshot, tags: string[], reset: boolean, fade: boolean): Promise<Hotspot[]>;
|
|
8
|
-
snapshot(type: string, quality: number): string;
|
|
9
|
-
onMouseDown(e: MouseEvent): void;
|
|
10
|
-
onMouseEnter(e: MouseEvent): void;
|
|
11
|
-
onMouseMove(e: MouseEvent): void;
|
|
12
|
-
onMouseUp(e: MouseEvent): void;
|
|
13
|
-
onTouchStart(e: TouchEvent): void;
|
|
14
|
-
onTouchMove(e: TouchEvent): void;
|
|
15
|
-
onTouchEnd(e: TouchEvent): void;
|
|
16
|
-
onDeviceOrientation(e: DeviceOrientationEvent): void;
|
|
17
|
-
}
|
|
1
|
+
import { Hotspot } from './Hotspot';
|
|
2
|
+
import { Snapshot } from './Snapshot';
|
|
3
|
+
export interface Widget {
|
|
4
|
+
destroy(): void;
|
|
5
|
+
show(): void;
|
|
6
|
+
hide(): void;
|
|
7
|
+
load(snapshot: Snapshot, tags: string[], reset: boolean, fade: boolean): Promise<Hotspot[]>;
|
|
8
|
+
snapshot(type: string, quality: number): string;
|
|
9
|
+
onMouseDown(e: MouseEvent): void;
|
|
10
|
+
onMouseEnter(e: MouseEvent): void;
|
|
11
|
+
onMouseMove(e: MouseEvent): void;
|
|
12
|
+
onMouseUp(e: MouseEvent): void;
|
|
13
|
+
onTouchStart(e: TouchEvent): void;
|
|
14
|
+
onTouchMove(e: TouchEvent): void;
|
|
15
|
+
onTouchEnd(e: TouchEvent): void;
|
|
16
|
+
onDeviceOrientation(e: DeviceOrientationEvent): void;
|
|
17
|
+
}
|
package/dist/WidgetImage.d.ts
CHANGED
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
import { Canvas2D } from './Canvas2D';
|
|
2
|
-
import { Hotspot } from './Hotspot';
|
|
3
|
-
import { Loader } from './Loader';
|
|
4
|
-
import { Snapshot } from './Snapshot';
|
|
5
|
-
import { Widget } from './Widget';
|
|
6
|
-
export declare class WidgetImage implements Widget {
|
|
7
|
-
private container;
|
|
8
|
-
private canvas;
|
|
9
|
-
private loader;
|
|
10
|
-
private image?;
|
|
11
|
-
private hotspots;
|
|
12
|
-
private snapshotHash?;
|
|
13
|
-
private tagsHash?;
|
|
14
|
-
constructor(container: HTMLElement, canvas: Canvas2D, loader: Loader);
|
|
15
|
-
destroy(): void;
|
|
16
|
-
show(): void;
|
|
17
|
-
hide(): void;
|
|
18
|
-
load(snapshot: Snapshot, tags: string[], reset: boolean, fade: boolean): Promise<Hotspot[]>;
|
|
19
|
-
snapshot(type: string, quality: number): string;
|
|
20
|
-
onMouseDown(e: MouseEvent): void;
|
|
21
|
-
onMouseMove(e: MouseEvent): void;
|
|
22
|
-
onMouseUp(e: MouseEvent): void;
|
|
23
|
-
onMouseEnter(e: MouseEvent): void;
|
|
24
|
-
onTouchStart(e: TouchEvent): void;
|
|
25
|
-
onTouchMove(e: TouchEvent): void;
|
|
26
|
-
onTouchEnd(e: TouchEvent): void;
|
|
27
|
-
onDeviceOrientation(e: DeviceOrientationEvent): void;
|
|
28
|
-
}
|
|
1
|
+
import { Canvas2D } from './Canvas2D';
|
|
2
|
+
import { Hotspot } from './Hotspot';
|
|
3
|
+
import { Loader } from './Loader';
|
|
4
|
+
import { Snapshot } from './Snapshot';
|
|
5
|
+
import { Widget } from './Widget';
|
|
6
|
+
export declare class WidgetImage implements Widget {
|
|
7
|
+
private container;
|
|
8
|
+
private canvas;
|
|
9
|
+
private loader;
|
|
10
|
+
private image?;
|
|
11
|
+
private hotspots;
|
|
12
|
+
private snapshotHash?;
|
|
13
|
+
private tagsHash?;
|
|
14
|
+
constructor(container: HTMLElement, canvas: Canvas2D, loader: Loader);
|
|
15
|
+
destroy(): void;
|
|
16
|
+
show(): void;
|
|
17
|
+
hide(): void;
|
|
18
|
+
load(snapshot: Snapshot, tags: string[], reset: boolean, fade: boolean): Promise<Hotspot[]>;
|
|
19
|
+
snapshot(type: string, quality: number): string;
|
|
20
|
+
onMouseDown(e: MouseEvent): void;
|
|
21
|
+
onMouseMove(e: MouseEvent): void;
|
|
22
|
+
onMouseUp(e: MouseEvent): void;
|
|
23
|
+
onMouseEnter(e: MouseEvent): void;
|
|
24
|
+
onTouchStart(e: TouchEvent): void;
|
|
25
|
+
onTouchMove(e: TouchEvent): void;
|
|
26
|
+
onTouchEnd(e: TouchEvent): void;
|
|
27
|
+
onDeviceOrientation(e: DeviceOrientationEvent): void;
|
|
28
|
+
}
|
package/dist/WidgetVRCube.d.ts
CHANGED
|
@@ -1,43 +1,43 @@
|
|
|
1
|
-
import { Canvas3D } from './Canvas3D';
|
|
2
|
-
import { Hotspot } from './Hotspot';
|
|
3
|
-
import { Loader } from './Loader';
|
|
4
|
-
import { PointOfView } from './PointOfView';
|
|
5
|
-
import { Snapshot } from './Snapshot';
|
|
6
|
-
import { Widget } from './Widget';
|
|
7
|
-
export declare class WidgetVRCube implements Widget {
|
|
8
|
-
private container;
|
|
9
|
-
private canvas;
|
|
10
|
-
private loader;
|
|
11
|
-
private images;
|
|
12
|
-
private hotspotsList;
|
|
13
|
-
private interaction;
|
|
14
|
-
private onInteraction;
|
|
15
|
-
private gl;
|
|
16
|
-
private programInfo;
|
|
17
|
-
private quad;
|
|
18
|
-
private uniforms;
|
|
19
|
-
private snapshotHash?;
|
|
20
|
-
private tagsHash?;
|
|
21
|
-
private animationFrameId?;
|
|
22
|
-
constructor(container: HTMLElement, canvas: Canvas3D, loader: Loader, onInteraction: (...args: any[]) => void);
|
|
23
|
-
destroy(): void;
|
|
24
|
-
show(): void;
|
|
25
|
-
hide(): void;
|
|
26
|
-
get pov(): PointOfView;
|
|
27
|
-
set pov(pov: PointOfView);
|
|
28
|
-
get fov(): number;
|
|
29
|
-
set fov(fov: number);
|
|
30
|
-
get hotspots(): Hotspot[];
|
|
31
|
-
load(snapshot: Snapshot, tags: string[], reset: boolean, fade: boolean): Promise<Hotspot[]>;
|
|
32
|
-
snapshot(type: string, quality: number): string;
|
|
33
|
-
private get modelViewProjectionMatrix();
|
|
34
|
-
render(): void;
|
|
35
|
-
onMouseDown(e: MouseEvent): void;
|
|
36
|
-
onMouseMove(e: MouseEvent): void;
|
|
37
|
-
onMouseUp(e: MouseEvent): void;
|
|
38
|
-
onMouseEnter(e: MouseEvent): void;
|
|
39
|
-
onTouchStart(e: TouchEvent): void;
|
|
40
|
-
onTouchMove(e: TouchEvent): void;
|
|
41
|
-
onTouchEnd(e: TouchEvent): void;
|
|
42
|
-
onDeviceOrientation(e: DeviceOrientationEvent): void;
|
|
43
|
-
}
|
|
1
|
+
import { Canvas3D } from './Canvas3D';
|
|
2
|
+
import { Hotspot } from './Hotspot';
|
|
3
|
+
import { Loader } from './Loader';
|
|
4
|
+
import { PointOfView } from './PointOfView';
|
|
5
|
+
import { Snapshot } from './Snapshot';
|
|
6
|
+
import { Widget } from './Widget';
|
|
7
|
+
export declare class WidgetVRCube implements Widget {
|
|
8
|
+
private container;
|
|
9
|
+
private canvas;
|
|
10
|
+
private loader;
|
|
11
|
+
private images;
|
|
12
|
+
private hotspotsList;
|
|
13
|
+
private interaction;
|
|
14
|
+
private onInteraction;
|
|
15
|
+
private gl;
|
|
16
|
+
private programInfo;
|
|
17
|
+
private quad;
|
|
18
|
+
private uniforms;
|
|
19
|
+
private snapshotHash?;
|
|
20
|
+
private tagsHash?;
|
|
21
|
+
private animationFrameId?;
|
|
22
|
+
constructor(container: HTMLElement, canvas: Canvas3D, loader: Loader, onInteraction: (...args: any[]) => void);
|
|
23
|
+
destroy(): void;
|
|
24
|
+
show(): void;
|
|
25
|
+
hide(): void;
|
|
26
|
+
get pov(): PointOfView;
|
|
27
|
+
set pov(pov: PointOfView);
|
|
28
|
+
get fov(): number;
|
|
29
|
+
set fov(fov: number);
|
|
30
|
+
get hotspots(): Hotspot[];
|
|
31
|
+
load(snapshot: Snapshot, tags: string[], reset: boolean, fade: boolean): Promise<Hotspot[]>;
|
|
32
|
+
snapshot(type: string, quality: number): string;
|
|
33
|
+
private get modelViewProjectionMatrix();
|
|
34
|
+
render(): void;
|
|
35
|
+
onMouseDown(e: MouseEvent): void;
|
|
36
|
+
onMouseMove(e: MouseEvent): void;
|
|
37
|
+
onMouseUp(e: MouseEvent): void;
|
|
38
|
+
onMouseEnter(e: MouseEvent): void;
|
|
39
|
+
onTouchStart(e: TouchEvent): void;
|
|
40
|
+
onTouchMove(e: TouchEvent): void;
|
|
41
|
+
onTouchEnd(e: TouchEvent): void;
|
|
42
|
+
onDeviceOrientation(e: DeviceOrientationEvent): void;
|
|
43
|
+
}
|
package/dist/WidgetVRObject.d.ts
CHANGED
|
@@ -1,37 +1,37 @@
|
|
|
1
|
-
import { Canvas2D } from './Canvas2D';
|
|
2
|
-
import { Hotspot } from './Hotspot';
|
|
3
|
-
import { Loader } from './Loader';
|
|
4
|
-
import { Snapshot } from './Snapshot';
|
|
5
|
-
import { Widget } from './Widget';
|
|
6
|
-
export declare class WidgetVRObject implements Widget {
|
|
7
|
-
private container;
|
|
8
|
-
private canvas;
|
|
9
|
-
private loader;
|
|
10
|
-
private images;
|
|
11
|
-
private frames;
|
|
12
|
-
private hotspotsList;
|
|
13
|
-
private interaction;
|
|
14
|
-
private onInteraction;
|
|
15
|
-
private snapshotHash?;
|
|
16
|
-
private tagsHash?;
|
|
17
|
-
private animationFrameId?;
|
|
18
|
-
constructor(container: HTMLElement, canvas: Canvas2D, loader: Loader, onInteraction: (...args: any[]) => void);
|
|
19
|
-
destroy(): void;
|
|
20
|
-
show(): void;
|
|
21
|
-
hide(): void;
|
|
22
|
-
goto(position: number): Promise<void>;
|
|
23
|
-
get position(): number;
|
|
24
|
-
set position(position: number);
|
|
25
|
-
get image(): HTMLImageElement;
|
|
26
|
-
get hotspots(): Hotspot[];
|
|
27
|
-
load(snapshot: Snapshot, tags: string[], reset: boolean, fade: boolean): Promise<Hotspot[]>;
|
|
28
|
-
snapshot(type: string, quality: number): string;
|
|
29
|
-
onMouseDown(e: MouseEvent): void;
|
|
30
|
-
onMouseMove(e: MouseEvent): void;
|
|
31
|
-
onMouseUp(e: MouseEvent): void;
|
|
32
|
-
onMouseEnter(e: MouseEvent): void;
|
|
33
|
-
onTouchStart(e: TouchEvent): void;
|
|
34
|
-
onTouchMove(e: TouchEvent): void;
|
|
35
|
-
onTouchEnd(e: TouchEvent): void;
|
|
36
|
-
onDeviceOrientation(e: DeviceOrientationEvent): void;
|
|
37
|
-
}
|
|
1
|
+
import { Canvas2D } from './Canvas2D';
|
|
2
|
+
import { Hotspot } from './Hotspot';
|
|
3
|
+
import { Loader } from './Loader';
|
|
4
|
+
import { Snapshot } from './Snapshot';
|
|
5
|
+
import { Widget } from './Widget';
|
|
6
|
+
export declare class WidgetVRObject implements Widget {
|
|
7
|
+
private container;
|
|
8
|
+
private canvas;
|
|
9
|
+
private loader;
|
|
10
|
+
private images;
|
|
11
|
+
private frames;
|
|
12
|
+
private hotspotsList;
|
|
13
|
+
private interaction;
|
|
14
|
+
private onInteraction;
|
|
15
|
+
private snapshotHash?;
|
|
16
|
+
private tagsHash?;
|
|
17
|
+
private animationFrameId?;
|
|
18
|
+
constructor(container: HTMLElement, canvas: Canvas2D, loader: Loader, onInteraction: (...args: any[]) => void);
|
|
19
|
+
destroy(): void;
|
|
20
|
+
show(): void;
|
|
21
|
+
hide(): void;
|
|
22
|
+
goto(position: number): Promise<void>;
|
|
23
|
+
get position(): number;
|
|
24
|
+
set position(position: number);
|
|
25
|
+
get image(): HTMLImageElement;
|
|
26
|
+
get hotspots(): Hotspot[];
|
|
27
|
+
load(snapshot: Snapshot, tags: string[], reset: boolean, fade: boolean): Promise<Hotspot[]>;
|
|
28
|
+
snapshot(type: string, quality: number): string;
|
|
29
|
+
onMouseDown(e: MouseEvent): void;
|
|
30
|
+
onMouseMove(e: MouseEvent): void;
|
|
31
|
+
onMouseUp(e: MouseEvent): void;
|
|
32
|
+
onMouseEnter(e: MouseEvent): void;
|
|
33
|
+
onTouchStart(e: TouchEvent): void;
|
|
34
|
+
onTouchMove(e: TouchEvent): void;
|
|
35
|
+
onTouchEnd(e: TouchEvent): void;
|
|
36
|
+
onDeviceOrientation(e: DeviceOrientationEvent): void;
|
|
37
|
+
}
|
package/dist/WidgetVideo.d.ts
CHANGED
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
import { Hotspot } from './Hotspot';
|
|
2
|
-
import { Loader } from './Loader';
|
|
3
|
-
import { Snapshot } from './Snapshot';
|
|
4
|
-
import { Video } from './Video';
|
|
5
|
-
import { Widget } from './Widget';
|
|
6
|
-
export declare class WidgetVideo implements Widget {
|
|
7
|
-
private container;
|
|
8
|
-
private loader;
|
|
9
|
-
private video;
|
|
10
|
-
private hash?;
|
|
11
|
-
constructor(container: HTMLElement, video: Video, loader: Loader);
|
|
12
|
-
destroy(): void;
|
|
13
|
-
show(): void;
|
|
14
|
-
hide(): void;
|
|
15
|
-
load(snapshot: Snapshot): Promise<Hotspot[]>;
|
|
16
|
-
snapshot(type: string, quality: number): string;
|
|
17
|
-
play(): Promise<void>;
|
|
18
|
-
onMouseDown(e: MouseEvent): void;
|
|
19
|
-
onMouseMove(e: MouseEvent): void;
|
|
20
|
-
onMouseUp(e: MouseEvent): void;
|
|
21
|
-
onMouseEnter(e: MouseEvent): void;
|
|
22
|
-
onTouchStart(e: TouchEvent): void;
|
|
23
|
-
onTouchMove(e: TouchEvent): void;
|
|
24
|
-
onTouchEnd(e: TouchEvent): void;
|
|
25
|
-
onDeviceOrientation(e: DeviceOrientationEvent): void;
|
|
26
|
-
}
|
|
1
|
+
import { Hotspot } from './Hotspot';
|
|
2
|
+
import { Loader } from './Loader';
|
|
3
|
+
import { Snapshot } from './Snapshot';
|
|
4
|
+
import { Video } from './Video';
|
|
5
|
+
import { Widget } from './Widget';
|
|
6
|
+
export declare class WidgetVideo implements Widget {
|
|
7
|
+
private container;
|
|
8
|
+
private loader;
|
|
9
|
+
private video;
|
|
10
|
+
private hash?;
|
|
11
|
+
constructor(container: HTMLElement, video: Video, loader: Loader);
|
|
12
|
+
destroy(): void;
|
|
13
|
+
show(): void;
|
|
14
|
+
hide(): void;
|
|
15
|
+
load(snapshot: Snapshot): Promise<Hotspot[]>;
|
|
16
|
+
snapshot(type: string, quality: number): string;
|
|
17
|
+
play(): Promise<void>;
|
|
18
|
+
onMouseDown(e: MouseEvent): void;
|
|
19
|
+
onMouseMove(e: MouseEvent): void;
|
|
20
|
+
onMouseUp(e: MouseEvent): void;
|
|
21
|
+
onMouseEnter(e: MouseEvent): void;
|
|
22
|
+
onTouchStart(e: TouchEvent): void;
|
|
23
|
+
onTouchMove(e: TouchEvent): void;
|
|
24
|
+
onTouchEnd(e: TouchEvent): void;
|
|
25
|
+
onDeviceOrientation(e: DeviceOrientationEvent): void;
|
|
26
|
+
}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
export * from './Animation';
|
|
2
|
-
export * from './Encoder';
|
|
3
|
-
export * from './Hotspot';
|
|
4
|
-
export * from './Options';
|
|
5
|
-
export * from './Parameters';
|
|
6
|
-
export * from './Scene';
|
|
7
|
-
export * from './Transition';
|
|
8
|
-
export * from './View';
|
|
9
|
-
export * from './Viewer';
|
|
10
|
-
export * from './Widget';
|
|
11
|
-
export * from './WidgetImage';
|
|
12
|
-
export * from './WidgetVideo';
|
|
13
|
-
export * from './WidgetVRCube';
|
|
14
|
-
export * from './WidgetVRObject';
|
|
15
|
-
export * from './WRAPIv1';
|
|
16
|
-
export * from './WRAPIv2';
|
|
1
|
+
export * from './Animation';
|
|
2
|
+
export * from './Encoder';
|
|
3
|
+
export * from './Hotspot';
|
|
4
|
+
export * from './Options';
|
|
5
|
+
export * from './Parameters';
|
|
6
|
+
export * from './Scene';
|
|
7
|
+
export * from './Transition';
|
|
8
|
+
export * from './View';
|
|
9
|
+
export * from './Viewer';
|
|
10
|
+
export * from './Widget';
|
|
11
|
+
export * from './WidgetImage';
|
|
12
|
+
export * from './WidgetVideo';
|
|
13
|
+
export * from './WidgetVRCube';
|
|
14
|
+
export * from './WidgetVRObject';
|
|
15
|
+
export * from './WRAPIv1';
|
|
16
|
+
export * from './WRAPIv2';
|