@vizor-vr/vue 0.2.0
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 +21 -0
- package/README.md +31 -0
- package/dist/VzAnnotation.vue.d.ts +25 -0
- package/dist/VzAnnotation.vue.d.ts.map +1 -0
- package/dist/VzCaption.vue.d.ts +12 -0
- package/dist/VzCaption.vue.d.ts.map +1 -0
- package/dist/VzCinema.vue.d.ts +202 -0
- package/dist/VzCinema.vue.d.ts.map +1 -0
- package/dist/VzImg.vue.d.ts +162 -0
- package/dist/VzImg.vue.d.ts.map +1 -0
- package/dist/VzLive.vue.d.ts +203 -0
- package/dist/VzLive.vue.d.ts.map +1 -0
- package/dist/VzPlaylist.vue.d.ts +54 -0
- package/dist/VzPlaylist.vue.d.ts.map +1 -0
- package/dist/VzTour.vue.d.ts +162 -0
- package/dist/VzTour.vue.d.ts.map +1 -0
- package/dist/VzVideo.vue.d.ts +205 -0
- package/dist/VzVideo.vue.d.ts.map +1 -0
- package/dist/__tests__/components.test.d.ts +2 -0
- package/dist/__tests__/components.test.d.ts.map +1 -0
- package/dist/__tests__/vz-caption.test.d.ts +2 -0
- package/dist/__tests__/vz-caption.test.d.ts.map +1 -0
- package/dist/dash-adapter-tid9ZyhO-4XHuq5__.js +63 -0
- package/dist/dash.all.min-DJEXrg26.js +18063 -0
- package/dist/hls-CxmYC9fy.js +21786 -0
- package/dist/hls-adapter-BivH46L_-BkyufEEx.js +84 -0
- package/dist/index-a2S14O1a.js +283 -0
- package/dist/index.d.ts +29 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +22428 -0
- package/dist/omnitone-BEhsj_gd.js +494 -0
- package/dist/use-vizor.d.ts +166 -0
- package/dist/use-vizor.d.ts.map +1 -0
- package/package.json +58 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 UTG Networks
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
# @vizor-vr/vue
|
|
2
|
+
|
|
3
|
+
Vue 3 wrappers for the [Vizor VR player](https://www.npmjs.com/package/@vizor-vr/player). Type-safe components with native event emits.
|
|
4
|
+
|
|
5
|
+
## Install
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
npm install @vizor-vr/vue @vizor-vr/player
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Usage
|
|
12
|
+
|
|
13
|
+
```vue
|
|
14
|
+
<script setup lang="ts">
|
|
15
|
+
import { VzVideo } from '@vizor-vr/vue';
|
|
16
|
+
</script>
|
|
17
|
+
|
|
18
|
+
<template>
|
|
19
|
+
<VzVideo src="video.mp4" format="MONO_360" autoplay @ready="onReady" />
|
|
20
|
+
</template>
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
The wrappers import and register the underlying custom elements for you. They are client-only — under Nuxt/SSR, render inside `<ClientOnly>` (or a client-only component) since the player requires the browser DOM.
|
|
24
|
+
|
|
25
|
+
## Components
|
|
26
|
+
|
|
27
|
+
`VzVideo`, `VzImg`, `VzTour`, `VzCinema`, `VzLive`, `VzPlaylist`, `VzAnnotation`, `VzCaption`.
|
|
28
|
+
|
|
29
|
+
## License
|
|
30
|
+
|
|
31
|
+
MIT — see [LICENSE](./LICENSE).
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
lat?: number;
|
|
3
|
+
lon?: number;
|
|
4
|
+
title?: string;
|
|
5
|
+
icon?: string;
|
|
6
|
+
timeStart?: number;
|
|
7
|
+
timeEnd?: number;
|
|
8
|
+
sortOrder?: number;
|
|
9
|
+
};
|
|
10
|
+
declare var __VLS_7: {};
|
|
11
|
+
type __VLS_Slots = {} & {
|
|
12
|
+
default?: (props: typeof __VLS_7) => any;
|
|
13
|
+
};
|
|
14
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
|
|
15
|
+
/** Get the underlying <vz-annotation> element */
|
|
16
|
+
el: import("vue").Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
17
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
18
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
19
|
+
export default _default;
|
|
20
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
21
|
+
new (): {
|
|
22
|
+
$slots: S;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
//# sourceMappingURL=VzAnnotation.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"VzAnnotation.vue.d.ts","sourceRoot":"","sources":["../src/VzAnnotation.vue"],"names":[],"mappings":"AAuCA,KAAK,WAAW,GAAG;IACjB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAiDF,QAAA,IAAuB,OAAO,IAAW,CAAE;AAC3C,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AAqB/C,QAAA,MAAM,eAAe;IAlEnB,iDAAiD;;oPAyEjD,CAAC;wBACkB,eAAe,CAAC,OAAO,eAAe,EAAE,WAAW,CAAC;AAAzE,wBAA0E;AAQ1E,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
src: string;
|
|
3
|
+
srclang: string;
|
|
4
|
+
label?: string;
|
|
5
|
+
default?: boolean;
|
|
6
|
+
};
|
|
7
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {
|
|
8
|
+
/** Get the underlying <track> element */
|
|
9
|
+
el: import("vue").Ref<HTMLTrackElement | undefined, HTMLTrackElement | undefined>;
|
|
10
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
11
|
+
export default _default;
|
|
12
|
+
//# sourceMappingURL=VzCaption.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"VzCaption.vue.d.ts","sourceRoot":"","sources":["../src/VzCaption.vue"],"names":[],"mappings":"AAgCA,KAAK,WAAW,GAAG;IACjB,GAAG,EAAE,MAAM,CAAC;IACZ,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,CAAC;;IAMA,yCAAyC;;;AA2C3C,wBAOG"}
|
|
@@ -0,0 +1,202 @@
|
|
|
1
|
+
declare var __VLS_7: {};
|
|
2
|
+
type __VLS_Slots = {} & {
|
|
3
|
+
default?: (props: typeof __VLS_7) => any;
|
|
4
|
+
};
|
|
5
|
+
declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
6
|
+
readonly format: {
|
|
7
|
+
readonly type: StringConstructor;
|
|
8
|
+
readonly default: undefined;
|
|
9
|
+
};
|
|
10
|
+
readonly title: {
|
|
11
|
+
readonly type: StringConstructor;
|
|
12
|
+
readonly default: undefined;
|
|
13
|
+
};
|
|
14
|
+
readonly poster: {
|
|
15
|
+
readonly type: StringConstructor;
|
|
16
|
+
readonly default: undefined;
|
|
17
|
+
};
|
|
18
|
+
readonly loop: {
|
|
19
|
+
readonly type: BooleanConstructor;
|
|
20
|
+
readonly default: false;
|
|
21
|
+
};
|
|
22
|
+
readonly muted: {
|
|
23
|
+
readonly type: BooleanConstructor;
|
|
24
|
+
readonly default: false;
|
|
25
|
+
};
|
|
26
|
+
readonly preload: {
|
|
27
|
+
readonly type: () => "auto" | "metadata" | "none";
|
|
28
|
+
readonly default: undefined;
|
|
29
|
+
};
|
|
30
|
+
readonly src: {
|
|
31
|
+
readonly type: StringConstructor;
|
|
32
|
+
readonly default: undefined;
|
|
33
|
+
};
|
|
34
|
+
readonly apiKey: {
|
|
35
|
+
readonly type: StringConstructor;
|
|
36
|
+
readonly default: undefined;
|
|
37
|
+
};
|
|
38
|
+
readonly licenseKey: {
|
|
39
|
+
readonly type: StringConstructor;
|
|
40
|
+
readonly default: undefined;
|
|
41
|
+
};
|
|
42
|
+
readonly apiEndpoint: {
|
|
43
|
+
readonly type: StringConstructor;
|
|
44
|
+
readonly default: undefined;
|
|
45
|
+
};
|
|
46
|
+
readonly contentId: {
|
|
47
|
+
readonly type: StringConstructor;
|
|
48
|
+
readonly default: undefined;
|
|
49
|
+
};
|
|
50
|
+
readonly controlsBehavior: {
|
|
51
|
+
readonly type: () => "autohide" | "always" | "minimal";
|
|
52
|
+
readonly default: undefined;
|
|
53
|
+
};
|
|
54
|
+
readonly hideControls: {
|
|
55
|
+
readonly type: BooleanConstructor;
|
|
56
|
+
readonly default: false;
|
|
57
|
+
};
|
|
58
|
+
readonly primaryColor: {
|
|
59
|
+
readonly type: StringConstructor;
|
|
60
|
+
readonly default: undefined;
|
|
61
|
+
};
|
|
62
|
+
readonly collabServer: {
|
|
63
|
+
readonly type: StringConstructor;
|
|
64
|
+
readonly default: undefined;
|
|
65
|
+
};
|
|
66
|
+
readonly collabRoom: {
|
|
67
|
+
readonly type: StringConstructor;
|
|
68
|
+
readonly default: undefined;
|
|
69
|
+
};
|
|
70
|
+
readonly collabRole: {
|
|
71
|
+
readonly type: () => "host" | "viewer";
|
|
72
|
+
readonly default: undefined;
|
|
73
|
+
};
|
|
74
|
+
readonly collabUserId: {
|
|
75
|
+
readonly type: StringConstructor;
|
|
76
|
+
readonly default: undefined;
|
|
77
|
+
};
|
|
78
|
+
readonly collabDisplayName: {
|
|
79
|
+
readonly type: StringConstructor;
|
|
80
|
+
readonly default: undefined;
|
|
81
|
+
};
|
|
82
|
+
readonly collabPassword: {
|
|
83
|
+
readonly type: StringConstructor;
|
|
84
|
+
readonly default: undefined;
|
|
85
|
+
};
|
|
86
|
+
}>, {
|
|
87
|
+
/** Get the underlying <vz-cinema> element */
|
|
88
|
+
el: import("vue").Ref<HTMLElement | null, HTMLElement | null>;
|
|
89
|
+
play: () => any;
|
|
90
|
+
pause: () => any;
|
|
91
|
+
seek: (time: number) => any;
|
|
92
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
93
|
+
readonly format: {
|
|
94
|
+
readonly type: StringConstructor;
|
|
95
|
+
readonly default: undefined;
|
|
96
|
+
};
|
|
97
|
+
readonly title: {
|
|
98
|
+
readonly type: StringConstructor;
|
|
99
|
+
readonly default: undefined;
|
|
100
|
+
};
|
|
101
|
+
readonly poster: {
|
|
102
|
+
readonly type: StringConstructor;
|
|
103
|
+
readonly default: undefined;
|
|
104
|
+
};
|
|
105
|
+
readonly loop: {
|
|
106
|
+
readonly type: BooleanConstructor;
|
|
107
|
+
readonly default: false;
|
|
108
|
+
};
|
|
109
|
+
readonly muted: {
|
|
110
|
+
readonly type: BooleanConstructor;
|
|
111
|
+
readonly default: false;
|
|
112
|
+
};
|
|
113
|
+
readonly preload: {
|
|
114
|
+
readonly type: () => "auto" | "metadata" | "none";
|
|
115
|
+
readonly default: undefined;
|
|
116
|
+
};
|
|
117
|
+
readonly src: {
|
|
118
|
+
readonly type: StringConstructor;
|
|
119
|
+
readonly default: undefined;
|
|
120
|
+
};
|
|
121
|
+
readonly apiKey: {
|
|
122
|
+
readonly type: StringConstructor;
|
|
123
|
+
readonly default: undefined;
|
|
124
|
+
};
|
|
125
|
+
readonly licenseKey: {
|
|
126
|
+
readonly type: StringConstructor;
|
|
127
|
+
readonly default: undefined;
|
|
128
|
+
};
|
|
129
|
+
readonly apiEndpoint: {
|
|
130
|
+
readonly type: StringConstructor;
|
|
131
|
+
readonly default: undefined;
|
|
132
|
+
};
|
|
133
|
+
readonly contentId: {
|
|
134
|
+
readonly type: StringConstructor;
|
|
135
|
+
readonly default: undefined;
|
|
136
|
+
};
|
|
137
|
+
readonly controlsBehavior: {
|
|
138
|
+
readonly type: () => "autohide" | "always" | "minimal";
|
|
139
|
+
readonly default: undefined;
|
|
140
|
+
};
|
|
141
|
+
readonly hideControls: {
|
|
142
|
+
readonly type: BooleanConstructor;
|
|
143
|
+
readonly default: false;
|
|
144
|
+
};
|
|
145
|
+
readonly primaryColor: {
|
|
146
|
+
readonly type: StringConstructor;
|
|
147
|
+
readonly default: undefined;
|
|
148
|
+
};
|
|
149
|
+
readonly collabServer: {
|
|
150
|
+
readonly type: StringConstructor;
|
|
151
|
+
readonly default: undefined;
|
|
152
|
+
};
|
|
153
|
+
readonly collabRoom: {
|
|
154
|
+
readonly type: StringConstructor;
|
|
155
|
+
readonly default: undefined;
|
|
156
|
+
};
|
|
157
|
+
readonly collabRole: {
|
|
158
|
+
readonly type: () => "host" | "viewer";
|
|
159
|
+
readonly default: undefined;
|
|
160
|
+
};
|
|
161
|
+
readonly collabUserId: {
|
|
162
|
+
readonly type: StringConstructor;
|
|
163
|
+
readonly default: undefined;
|
|
164
|
+
};
|
|
165
|
+
readonly collabDisplayName: {
|
|
166
|
+
readonly type: StringConstructor;
|
|
167
|
+
readonly default: undefined;
|
|
168
|
+
};
|
|
169
|
+
readonly collabPassword: {
|
|
170
|
+
readonly type: StringConstructor;
|
|
171
|
+
readonly default: undefined;
|
|
172
|
+
};
|
|
173
|
+
}>> & Readonly<{}>, {
|
|
174
|
+
readonly format: string;
|
|
175
|
+
readonly title: string;
|
|
176
|
+
readonly poster: string;
|
|
177
|
+
readonly loop: boolean;
|
|
178
|
+
readonly muted: boolean;
|
|
179
|
+
readonly preload: "auto" | "metadata" | "none";
|
|
180
|
+
readonly src: string;
|
|
181
|
+
readonly apiKey: string;
|
|
182
|
+
readonly licenseKey: string;
|
|
183
|
+
readonly apiEndpoint: string;
|
|
184
|
+
readonly contentId: string;
|
|
185
|
+
readonly controlsBehavior: "autohide" | "always" | "minimal";
|
|
186
|
+
readonly hideControls: boolean;
|
|
187
|
+
readonly primaryColor: string;
|
|
188
|
+
readonly collabServer: string;
|
|
189
|
+
readonly collabRoom: string;
|
|
190
|
+
readonly collabRole: "host" | "viewer";
|
|
191
|
+
readonly collabUserId: string;
|
|
192
|
+
readonly collabDisplayName: string;
|
|
193
|
+
readonly collabPassword: string;
|
|
194
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
195
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
196
|
+
export default _default;
|
|
197
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
198
|
+
new (): {
|
|
199
|
+
$slots: S;
|
|
200
|
+
};
|
|
201
|
+
};
|
|
202
|
+
//# sourceMappingURL=VzCinema.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"VzCinema.vue.d.ts","sourceRoot":"","sources":["../src/VzCinema.vue"],"names":[],"mappings":"AAgIA,QAAA,IAAuB,OAAO,IAAW,CAAE;AAC3C,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AAsB/C,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAhGnB,6CAA6C;;;;iBAIhC,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4EAoGnB,CAAC;wBACkB,eAAe,CAAC,OAAO,eAAe,EAAE,WAAW,CAAC;AAAzE,wBAA0E;AAE1E,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1,162 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
|
+
readonly format: {
|
|
3
|
+
readonly type: StringConstructor;
|
|
4
|
+
readonly default: undefined;
|
|
5
|
+
};
|
|
6
|
+
readonly title: {
|
|
7
|
+
readonly type: StringConstructor;
|
|
8
|
+
readonly default: undefined;
|
|
9
|
+
};
|
|
10
|
+
readonly poster: {
|
|
11
|
+
readonly type: StringConstructor;
|
|
12
|
+
readonly default: undefined;
|
|
13
|
+
};
|
|
14
|
+
readonly src: {
|
|
15
|
+
readonly type: StringConstructor;
|
|
16
|
+
readonly default: undefined;
|
|
17
|
+
};
|
|
18
|
+
readonly apiKey: {
|
|
19
|
+
readonly type: StringConstructor;
|
|
20
|
+
readonly default: undefined;
|
|
21
|
+
};
|
|
22
|
+
readonly licenseKey: {
|
|
23
|
+
readonly type: StringConstructor;
|
|
24
|
+
readonly default: undefined;
|
|
25
|
+
};
|
|
26
|
+
readonly apiEndpoint: {
|
|
27
|
+
readonly type: StringConstructor;
|
|
28
|
+
readonly default: undefined;
|
|
29
|
+
};
|
|
30
|
+
readonly contentId: {
|
|
31
|
+
readonly type: StringConstructor;
|
|
32
|
+
readonly default: undefined;
|
|
33
|
+
};
|
|
34
|
+
readonly controlsBehavior: {
|
|
35
|
+
readonly type: () => "autohide" | "always" | "minimal";
|
|
36
|
+
readonly default: undefined;
|
|
37
|
+
};
|
|
38
|
+
readonly hideControls: {
|
|
39
|
+
readonly type: BooleanConstructor;
|
|
40
|
+
readonly default: false;
|
|
41
|
+
};
|
|
42
|
+
readonly primaryColor: {
|
|
43
|
+
readonly type: StringConstructor;
|
|
44
|
+
readonly default: undefined;
|
|
45
|
+
};
|
|
46
|
+
readonly collabServer: {
|
|
47
|
+
readonly type: StringConstructor;
|
|
48
|
+
readonly default: undefined;
|
|
49
|
+
};
|
|
50
|
+
readonly collabRoom: {
|
|
51
|
+
readonly type: StringConstructor;
|
|
52
|
+
readonly default: undefined;
|
|
53
|
+
};
|
|
54
|
+
readonly collabRole: {
|
|
55
|
+
readonly type: () => "host" | "viewer";
|
|
56
|
+
readonly default: undefined;
|
|
57
|
+
};
|
|
58
|
+
readonly collabUserId: {
|
|
59
|
+
readonly type: StringConstructor;
|
|
60
|
+
readonly default: undefined;
|
|
61
|
+
};
|
|
62
|
+
readonly collabDisplayName: {
|
|
63
|
+
readonly type: StringConstructor;
|
|
64
|
+
readonly default: undefined;
|
|
65
|
+
};
|
|
66
|
+
readonly collabPassword: {
|
|
67
|
+
readonly type: StringConstructor;
|
|
68
|
+
readonly default: undefined;
|
|
69
|
+
};
|
|
70
|
+
}>, {
|
|
71
|
+
/** Get the underlying <vz-img> element */
|
|
72
|
+
el: import("vue").Ref<HTMLElement | null, HTMLElement | null>;
|
|
73
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
74
|
+
readonly format: {
|
|
75
|
+
readonly type: StringConstructor;
|
|
76
|
+
readonly default: undefined;
|
|
77
|
+
};
|
|
78
|
+
readonly title: {
|
|
79
|
+
readonly type: StringConstructor;
|
|
80
|
+
readonly default: undefined;
|
|
81
|
+
};
|
|
82
|
+
readonly poster: {
|
|
83
|
+
readonly type: StringConstructor;
|
|
84
|
+
readonly default: undefined;
|
|
85
|
+
};
|
|
86
|
+
readonly src: {
|
|
87
|
+
readonly type: StringConstructor;
|
|
88
|
+
readonly default: undefined;
|
|
89
|
+
};
|
|
90
|
+
readonly apiKey: {
|
|
91
|
+
readonly type: StringConstructor;
|
|
92
|
+
readonly default: undefined;
|
|
93
|
+
};
|
|
94
|
+
readonly licenseKey: {
|
|
95
|
+
readonly type: StringConstructor;
|
|
96
|
+
readonly default: undefined;
|
|
97
|
+
};
|
|
98
|
+
readonly apiEndpoint: {
|
|
99
|
+
readonly type: StringConstructor;
|
|
100
|
+
readonly default: undefined;
|
|
101
|
+
};
|
|
102
|
+
readonly contentId: {
|
|
103
|
+
readonly type: StringConstructor;
|
|
104
|
+
readonly default: undefined;
|
|
105
|
+
};
|
|
106
|
+
readonly controlsBehavior: {
|
|
107
|
+
readonly type: () => "autohide" | "always" | "minimal";
|
|
108
|
+
readonly default: undefined;
|
|
109
|
+
};
|
|
110
|
+
readonly hideControls: {
|
|
111
|
+
readonly type: BooleanConstructor;
|
|
112
|
+
readonly default: false;
|
|
113
|
+
};
|
|
114
|
+
readonly primaryColor: {
|
|
115
|
+
readonly type: StringConstructor;
|
|
116
|
+
readonly default: undefined;
|
|
117
|
+
};
|
|
118
|
+
readonly collabServer: {
|
|
119
|
+
readonly type: StringConstructor;
|
|
120
|
+
readonly default: undefined;
|
|
121
|
+
};
|
|
122
|
+
readonly collabRoom: {
|
|
123
|
+
readonly type: StringConstructor;
|
|
124
|
+
readonly default: undefined;
|
|
125
|
+
};
|
|
126
|
+
readonly collabRole: {
|
|
127
|
+
readonly type: () => "host" | "viewer";
|
|
128
|
+
readonly default: undefined;
|
|
129
|
+
};
|
|
130
|
+
readonly collabUserId: {
|
|
131
|
+
readonly type: StringConstructor;
|
|
132
|
+
readonly default: undefined;
|
|
133
|
+
};
|
|
134
|
+
readonly collabDisplayName: {
|
|
135
|
+
readonly type: StringConstructor;
|
|
136
|
+
readonly default: undefined;
|
|
137
|
+
};
|
|
138
|
+
readonly collabPassword: {
|
|
139
|
+
readonly type: StringConstructor;
|
|
140
|
+
readonly default: undefined;
|
|
141
|
+
};
|
|
142
|
+
}>> & Readonly<{}>, {
|
|
143
|
+
readonly format: string;
|
|
144
|
+
readonly title: string;
|
|
145
|
+
readonly poster: string;
|
|
146
|
+
readonly src: string;
|
|
147
|
+
readonly apiKey: string;
|
|
148
|
+
readonly licenseKey: string;
|
|
149
|
+
readonly apiEndpoint: string;
|
|
150
|
+
readonly contentId: string;
|
|
151
|
+
readonly controlsBehavior: "autohide" | "always" | "minimal";
|
|
152
|
+
readonly hideControls: boolean;
|
|
153
|
+
readonly primaryColor: string;
|
|
154
|
+
readonly collabServer: string;
|
|
155
|
+
readonly collabRoom: string;
|
|
156
|
+
readonly collabRole: "host" | "viewer";
|
|
157
|
+
readonly collabUserId: string;
|
|
158
|
+
readonly collabDisplayName: string;
|
|
159
|
+
readonly collabPassword: string;
|
|
160
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
161
|
+
export default _default;
|
|
162
|
+
//# sourceMappingURL=VzImg.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"VzImg.vue.d.ts","sourceRoot":"","sources":["../src/VzImg.vue"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAgDE,0CAA0C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAmF5C,wBAQG"}
|
|
@@ -0,0 +1,203 @@
|
|
|
1
|
+
declare var __VLS_7: {};
|
|
2
|
+
type __VLS_Slots = {} & {
|
|
3
|
+
default?: (props: typeof __VLS_7) => any;
|
|
4
|
+
};
|
|
5
|
+
declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
6
|
+
readonly format: {
|
|
7
|
+
readonly type: StringConstructor;
|
|
8
|
+
readonly default: undefined;
|
|
9
|
+
};
|
|
10
|
+
readonly title: {
|
|
11
|
+
readonly type: StringConstructor;
|
|
12
|
+
readonly default: undefined;
|
|
13
|
+
};
|
|
14
|
+
readonly poster: {
|
|
15
|
+
readonly type: StringConstructor;
|
|
16
|
+
readonly default: undefined;
|
|
17
|
+
};
|
|
18
|
+
readonly loop: {
|
|
19
|
+
readonly type: BooleanConstructor;
|
|
20
|
+
readonly default: false;
|
|
21
|
+
};
|
|
22
|
+
readonly muted: {
|
|
23
|
+
readonly type: BooleanConstructor;
|
|
24
|
+
readonly default: false;
|
|
25
|
+
};
|
|
26
|
+
readonly preload: {
|
|
27
|
+
readonly type: () => "auto" | "metadata" | "none";
|
|
28
|
+
readonly default: undefined;
|
|
29
|
+
};
|
|
30
|
+
readonly src: {
|
|
31
|
+
readonly type: StringConstructor;
|
|
32
|
+
readonly default: undefined;
|
|
33
|
+
};
|
|
34
|
+
readonly apiKey: {
|
|
35
|
+
readonly type: StringConstructor;
|
|
36
|
+
readonly default: undefined;
|
|
37
|
+
};
|
|
38
|
+
readonly licenseKey: {
|
|
39
|
+
readonly type: StringConstructor;
|
|
40
|
+
readonly default: undefined;
|
|
41
|
+
};
|
|
42
|
+
readonly apiEndpoint: {
|
|
43
|
+
readonly type: StringConstructor;
|
|
44
|
+
readonly default: undefined;
|
|
45
|
+
};
|
|
46
|
+
readonly contentId: {
|
|
47
|
+
readonly type: StringConstructor;
|
|
48
|
+
readonly default: undefined;
|
|
49
|
+
};
|
|
50
|
+
readonly controlsBehavior: {
|
|
51
|
+
readonly type: () => "autohide" | "always" | "minimal";
|
|
52
|
+
readonly default: undefined;
|
|
53
|
+
};
|
|
54
|
+
readonly hideControls: {
|
|
55
|
+
readonly type: BooleanConstructor;
|
|
56
|
+
readonly default: false;
|
|
57
|
+
};
|
|
58
|
+
readonly primaryColor: {
|
|
59
|
+
readonly type: StringConstructor;
|
|
60
|
+
readonly default: undefined;
|
|
61
|
+
};
|
|
62
|
+
readonly collabServer: {
|
|
63
|
+
readonly type: StringConstructor;
|
|
64
|
+
readonly default: undefined;
|
|
65
|
+
};
|
|
66
|
+
readonly collabRoom: {
|
|
67
|
+
readonly type: StringConstructor;
|
|
68
|
+
readonly default: undefined;
|
|
69
|
+
};
|
|
70
|
+
readonly collabRole: {
|
|
71
|
+
readonly type: () => "host" | "viewer";
|
|
72
|
+
readonly default: undefined;
|
|
73
|
+
};
|
|
74
|
+
readonly collabUserId: {
|
|
75
|
+
readonly type: StringConstructor;
|
|
76
|
+
readonly default: undefined;
|
|
77
|
+
};
|
|
78
|
+
readonly collabDisplayName: {
|
|
79
|
+
readonly type: StringConstructor;
|
|
80
|
+
readonly default: undefined;
|
|
81
|
+
};
|
|
82
|
+
readonly collabPassword: {
|
|
83
|
+
readonly type: StringConstructor;
|
|
84
|
+
readonly default: undefined;
|
|
85
|
+
};
|
|
86
|
+
}>, {
|
|
87
|
+
/** Get the underlying <vz-live> element */
|
|
88
|
+
el: import("vue").Ref<HTMLElement | null, HTMLElement | null>;
|
|
89
|
+
play: () => any;
|
|
90
|
+
pause: () => any;
|
|
91
|
+
/** Seek to live edge */
|
|
92
|
+
seekToLive: () => any;
|
|
93
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
94
|
+
readonly format: {
|
|
95
|
+
readonly type: StringConstructor;
|
|
96
|
+
readonly default: undefined;
|
|
97
|
+
};
|
|
98
|
+
readonly title: {
|
|
99
|
+
readonly type: StringConstructor;
|
|
100
|
+
readonly default: undefined;
|
|
101
|
+
};
|
|
102
|
+
readonly poster: {
|
|
103
|
+
readonly type: StringConstructor;
|
|
104
|
+
readonly default: undefined;
|
|
105
|
+
};
|
|
106
|
+
readonly loop: {
|
|
107
|
+
readonly type: BooleanConstructor;
|
|
108
|
+
readonly default: false;
|
|
109
|
+
};
|
|
110
|
+
readonly muted: {
|
|
111
|
+
readonly type: BooleanConstructor;
|
|
112
|
+
readonly default: false;
|
|
113
|
+
};
|
|
114
|
+
readonly preload: {
|
|
115
|
+
readonly type: () => "auto" | "metadata" | "none";
|
|
116
|
+
readonly default: undefined;
|
|
117
|
+
};
|
|
118
|
+
readonly src: {
|
|
119
|
+
readonly type: StringConstructor;
|
|
120
|
+
readonly default: undefined;
|
|
121
|
+
};
|
|
122
|
+
readonly apiKey: {
|
|
123
|
+
readonly type: StringConstructor;
|
|
124
|
+
readonly default: undefined;
|
|
125
|
+
};
|
|
126
|
+
readonly licenseKey: {
|
|
127
|
+
readonly type: StringConstructor;
|
|
128
|
+
readonly default: undefined;
|
|
129
|
+
};
|
|
130
|
+
readonly apiEndpoint: {
|
|
131
|
+
readonly type: StringConstructor;
|
|
132
|
+
readonly default: undefined;
|
|
133
|
+
};
|
|
134
|
+
readonly contentId: {
|
|
135
|
+
readonly type: StringConstructor;
|
|
136
|
+
readonly default: undefined;
|
|
137
|
+
};
|
|
138
|
+
readonly controlsBehavior: {
|
|
139
|
+
readonly type: () => "autohide" | "always" | "minimal";
|
|
140
|
+
readonly default: undefined;
|
|
141
|
+
};
|
|
142
|
+
readonly hideControls: {
|
|
143
|
+
readonly type: BooleanConstructor;
|
|
144
|
+
readonly default: false;
|
|
145
|
+
};
|
|
146
|
+
readonly primaryColor: {
|
|
147
|
+
readonly type: StringConstructor;
|
|
148
|
+
readonly default: undefined;
|
|
149
|
+
};
|
|
150
|
+
readonly collabServer: {
|
|
151
|
+
readonly type: StringConstructor;
|
|
152
|
+
readonly default: undefined;
|
|
153
|
+
};
|
|
154
|
+
readonly collabRoom: {
|
|
155
|
+
readonly type: StringConstructor;
|
|
156
|
+
readonly default: undefined;
|
|
157
|
+
};
|
|
158
|
+
readonly collabRole: {
|
|
159
|
+
readonly type: () => "host" | "viewer";
|
|
160
|
+
readonly default: undefined;
|
|
161
|
+
};
|
|
162
|
+
readonly collabUserId: {
|
|
163
|
+
readonly type: StringConstructor;
|
|
164
|
+
readonly default: undefined;
|
|
165
|
+
};
|
|
166
|
+
readonly collabDisplayName: {
|
|
167
|
+
readonly type: StringConstructor;
|
|
168
|
+
readonly default: undefined;
|
|
169
|
+
};
|
|
170
|
+
readonly collabPassword: {
|
|
171
|
+
readonly type: StringConstructor;
|
|
172
|
+
readonly default: undefined;
|
|
173
|
+
};
|
|
174
|
+
}>> & Readonly<{}>, {
|
|
175
|
+
readonly format: string;
|
|
176
|
+
readonly title: string;
|
|
177
|
+
readonly poster: string;
|
|
178
|
+
readonly loop: boolean;
|
|
179
|
+
readonly muted: boolean;
|
|
180
|
+
readonly preload: "auto" | "metadata" | "none";
|
|
181
|
+
readonly src: string;
|
|
182
|
+
readonly apiKey: string;
|
|
183
|
+
readonly licenseKey: string;
|
|
184
|
+
readonly apiEndpoint: string;
|
|
185
|
+
readonly contentId: string;
|
|
186
|
+
readonly controlsBehavior: "autohide" | "always" | "minimal";
|
|
187
|
+
readonly hideControls: boolean;
|
|
188
|
+
readonly primaryColor: string;
|
|
189
|
+
readonly collabServer: string;
|
|
190
|
+
readonly collabRoom: string;
|
|
191
|
+
readonly collabRole: "host" | "viewer";
|
|
192
|
+
readonly collabUserId: string;
|
|
193
|
+
readonly collabDisplayName: string;
|
|
194
|
+
readonly collabPassword: string;
|
|
195
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
196
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
197
|
+
export default _default;
|
|
198
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
199
|
+
new (): {
|
|
200
|
+
$slots: S;
|
|
201
|
+
};
|
|
202
|
+
};
|
|
203
|
+
//# sourceMappingURL=VzLive.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"VzLive.vue.d.ts","sourceRoot":"","sources":["../src/VzLive.vue"],"names":[],"mappings":"AAkIA,QAAA,IAAuB,OAAO,IAAW,CAAE;AAC3C,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AAsB/C,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAjGnB,2CAA2C;;;;IAI3C,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4EAqGxB,CAAC;wBACkB,eAAe,CAAC,OAAO,eAAe,EAAE,WAAW,CAAC;AAAzE,wBAA0E;AAE1E,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|