@seresweb/website-component 2.2.0 → 2.2.1

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.
@@ -3,9 +3,12 @@ declare function __VLS_template(): {
3
3
  attrs: Partial<{}>;
4
4
  slots: {
5
5
  play?(_: {}): any;
6
+ play?(_: {}): any;
7
+ close?(_: {}): any;
8
+ close?(_: {}): any;
6
9
  };
7
10
  refs: {
8
- autoPlayRef: ({
11
+ videoRef: ({
9
12
  $: import('vue').ComponentInternalInstance;
10
13
  $data: {};
11
14
  $props: {
@@ -19,7 +22,6 @@ declare function __VLS_template(): {
19
22
  readonly playable?: boolean | undefined;
20
23
  readonly multiple?: boolean | undefined;
21
24
  readonly urlSmall?: string | undefined;
22
- readonly onPaused?: ((...args: any[]) => any) | undefined;
23
25
  } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
24
26
  $attrs: {
25
27
  [x: string]: unknown;
@@ -27,7 +29,161 @@ declare function __VLS_template(): {
27
29
  $refs: {
28
30
  [x: string]: unknown;
29
31
  } & {
30
- videoRef: HTMLVideoElement;
32
+ videoRef: ({
33
+ $: import('vue').ComponentInternalInstance;
34
+ $data: {};
35
+ $props: {
36
+ readonly class?: string | undefined;
37
+ readonly style?: (string | import('vue').CSSProperties) | undefined;
38
+ readonly playerButtonClass?: string | undefined;
39
+ readonly playerButtonText?: string | undefined;
40
+ readonly poster?: string | undefined;
41
+ readonly url: string;
42
+ readonly autoPlay?: boolean | undefined;
43
+ readonly playable?: boolean | undefined;
44
+ readonly multiple?: boolean | undefined;
45
+ readonly urlSmall?: string | undefined;
46
+ readonly onPaused?: ((...args: any[]) => any) | undefined;
47
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
48
+ $attrs: {
49
+ [x: string]: unknown;
50
+ };
51
+ $refs: {
52
+ [x: string]: unknown;
53
+ } & {
54
+ videoRef: HTMLVideoElement;
55
+ };
56
+ $slots: Readonly<{
57
+ [name: string]: import('vue').Slot<any> | undefined;
58
+ }>;
59
+ $root: import('vue').ComponentPublicInstance | null;
60
+ $parent: import('vue').ComponentPublicInstance | null;
61
+ $host: Element | null;
62
+ $emit: (event: "paused", ...args: any[]) => void;
63
+ $el: HTMLDivElement;
64
+ $options: import('vue').ComponentOptionsBase<Readonly<VideoProps> & Readonly<{
65
+ onPaused?: ((...args: any[]) => any) | undefined;
66
+ }>, {
67
+ play: () => void;
68
+ pause: () => void;
69
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
70
+ paused: (...args: any[]) => void;
71
+ }, string, {
72
+ playerButtonText: string;
73
+ autoPlay: boolean;
74
+ playable: boolean;
75
+ }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
76
+ beforeCreate?: (() => void) | (() => void)[];
77
+ created?: (() => void) | (() => void)[];
78
+ beforeMount?: (() => void) | (() => void)[];
79
+ mounted?: (() => void) | (() => void)[];
80
+ beforeUpdate?: (() => void) | (() => void)[];
81
+ updated?: (() => void) | (() => void)[];
82
+ activated?: (() => void) | (() => void)[];
83
+ deactivated?: (() => void) | (() => void)[];
84
+ beforeDestroy?: (() => void) | (() => void)[];
85
+ beforeUnmount?: (() => void) | (() => void)[];
86
+ destroyed?: (() => void) | (() => void)[];
87
+ unmounted?: (() => void) | (() => void)[];
88
+ renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
89
+ renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
90
+ errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
91
+ };
92
+ $forceUpdate: () => void;
93
+ $nextTick: typeof import('vue').nextTick;
94
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
95
+ } & Readonly<{
96
+ playerButtonText: string;
97
+ autoPlay: boolean;
98
+ playable: boolean;
99
+ }> & Omit<Readonly<VideoProps> & Readonly<{
100
+ onPaused?: ((...args: any[]) => any) | undefined;
101
+ }>, "pause" | "play" | ("playerButtonText" | "autoPlay" | "playable")> & import('vue').ShallowUnwrapRef<{
102
+ play: () => void;
103
+ pause: () => void;
104
+ }> & {} & import('vue').ComponentCustomProperties & {} & {
105
+ $slots: {
106
+ close?(_: {}): any;
107
+ };
108
+ }) | null;
109
+ btnRef: HTMLButtonElement;
110
+ modalVideoRef: ({
111
+ $: import('vue').ComponentInternalInstance;
112
+ $data: {};
113
+ $props: {
114
+ readonly class?: string | undefined;
115
+ readonly style?: (string | import('vue').CSSProperties) | undefined;
116
+ readonly playerButtonClass?: string | undefined;
117
+ readonly playerButtonText?: string | undefined;
118
+ readonly poster?: string | undefined;
119
+ readonly url: string;
120
+ readonly autoPlay?: boolean | undefined;
121
+ readonly playable?: boolean | undefined;
122
+ readonly multiple?: boolean | undefined;
123
+ readonly urlSmall?: string | undefined;
124
+ readonly onPaused?: ((...args: any[]) => any) | undefined;
125
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
126
+ $attrs: {
127
+ [x: string]: unknown;
128
+ };
129
+ $refs: {
130
+ [x: string]: unknown;
131
+ } & {
132
+ videoRef: HTMLVideoElement;
133
+ };
134
+ $slots: Readonly<{
135
+ [name: string]: import('vue').Slot<any> | undefined;
136
+ }>;
137
+ $root: import('vue').ComponentPublicInstance | null;
138
+ $parent: import('vue').ComponentPublicInstance | null;
139
+ $host: Element | null;
140
+ $emit: (event: "paused", ...args: any[]) => void;
141
+ $el: HTMLDivElement;
142
+ $options: import('vue').ComponentOptionsBase<Readonly<VideoProps> & Readonly<{
143
+ onPaused?: ((...args: any[]) => any) | undefined;
144
+ }>, {
145
+ play: () => void;
146
+ pause: () => void;
147
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
148
+ paused: (...args: any[]) => void;
149
+ }, string, {
150
+ playerButtonText: string;
151
+ autoPlay: boolean;
152
+ playable: boolean;
153
+ }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
154
+ beforeCreate?: (() => void) | (() => void)[];
155
+ created?: (() => void) | (() => void)[];
156
+ beforeMount?: (() => void) | (() => void)[];
157
+ mounted?: (() => void) | (() => void)[];
158
+ beforeUpdate?: (() => void) | (() => void)[];
159
+ updated?: (() => void) | (() => void)[];
160
+ activated?: (() => void) | (() => void)[];
161
+ deactivated?: (() => void) | (() => void)[];
162
+ beforeDestroy?: (() => void) | (() => void)[];
163
+ beforeUnmount?: (() => void) | (() => void)[];
164
+ destroyed?: (() => void) | (() => void)[];
165
+ unmounted?: (() => void) | (() => void)[];
166
+ renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
167
+ renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
168
+ errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
169
+ };
170
+ $forceUpdate: () => void;
171
+ $nextTick: typeof import('vue').nextTick;
172
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
173
+ } & Readonly<{
174
+ playerButtonText: string;
175
+ autoPlay: boolean;
176
+ playable: boolean;
177
+ }> & Omit<Readonly<VideoProps> & Readonly<{
178
+ onPaused?: ((...args: any[]) => any) | undefined;
179
+ }>, "pause" | "play" | ("playerButtonText" | "autoPlay" | "playable")> & import('vue').ShallowUnwrapRef<{
180
+ play: () => void;
181
+ pause: () => void;
182
+ }> & {} & import('vue').ComponentCustomProperties & {} & {
183
+ $slots: {
184
+ close?(_: {}): any;
185
+ };
186
+ }) | null;
31
187
  };
32
188
  $slots: Readonly<{
33
189
  [name: string]: import('vue').Slot<any> | undefined;
@@ -35,17 +191,14 @@ declare function __VLS_template(): {
35
191
  $root: import('vue').ComponentPublicInstance | null;
36
192
  $parent: import('vue').ComponentPublicInstance | null;
37
193
  $host: Element | null;
38
- $emit: (event: "paused", ...args: any[]) => void;
39
- $el: HTMLDivElement;
40
- $options: import('vue').ComponentOptionsBase<Readonly<VideoProps> & Readonly<{
41
- onPaused?: ((...args: any[]) => any) | undefined;
42
- }>, {
194
+ $emit: (event: string, ...args: any[]) => void;
195
+ $el: any;
196
+ $options: import('vue').ComponentOptionsBase<Readonly<VideoProps> & Readonly<{}>, {
43
197
  play: () => void;
44
198
  pause: () => void;
45
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
46
- paused: (...args: any[]) => void;
47
- }, string, {
199
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
48
200
  playerButtonText: string;
201
+ poster: string;
49
202
  autoPlay: boolean;
50
203
  playable: boolean;
51
204
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
@@ -70,93 +223,15 @@ declare function __VLS_template(): {
70
223
  $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
71
224
  } & Readonly<{
72
225
  playerButtonText: string;
226
+ poster: string;
73
227
  autoPlay: boolean;
74
228
  playable: boolean;
75
- }> & Omit<Readonly<VideoProps> & Readonly<{
76
- onPaused?: ((...args: any[]) => any) | undefined;
77
- }>, "pause" | "play" | ("playerButtonText" | "autoPlay" | "playable")> & import('vue').ShallowUnwrapRef<{
78
- play: () => void;
79
- pause: () => void;
80
- }> & {} & import('vue').ComponentCustomProperties & {} & {
81
- $slots: {
82
- close?(_: {}): any;
83
- };
84
- }) | null;
85
- btnRef: HTMLButtonElement;
86
- vwRef: ({
87
- $: import('vue').ComponentInternalInstance;
88
- $data: {};
89
- $props: {
90
- readonly class?: string | undefined;
91
- readonly style?: (string | import('vue').CSSProperties) | undefined;
92
- readonly playerButtonClass?: string | undefined;
93
- readonly playerButtonText?: string | undefined;
94
- readonly poster?: string | undefined;
95
- readonly url: string;
96
- readonly autoPlay?: boolean | undefined;
97
- readonly playable?: boolean | undefined;
98
- readonly multiple?: boolean | undefined;
99
- readonly urlSmall?: string | undefined;
100
- readonly onPaused?: ((...args: any[]) => any) | undefined;
101
- } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
102
- $attrs: {
103
- [x: string]: unknown;
104
- };
105
- $refs: {
106
- [x: string]: unknown;
107
- } & {
108
- videoRef: HTMLVideoElement;
109
- };
110
- $slots: Readonly<{
111
- [name: string]: import('vue').Slot<any> | undefined;
112
- }>;
113
- $root: import('vue').ComponentPublicInstance | null;
114
- $parent: import('vue').ComponentPublicInstance | null;
115
- $host: Element | null;
116
- $emit: (event: "paused", ...args: any[]) => void;
117
- $el: HTMLDivElement;
118
- $options: import('vue').ComponentOptionsBase<Readonly<VideoProps> & Readonly<{
119
- onPaused?: ((...args: any[]) => any) | undefined;
120
- }>, {
121
- play: () => void;
122
- pause: () => void;
123
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
124
- paused: (...args: any[]) => void;
125
- }, string, {
126
- playerButtonText: string;
127
- autoPlay: boolean;
128
- playable: boolean;
129
- }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
130
- beforeCreate?: (() => void) | (() => void)[];
131
- created?: (() => void) | (() => void)[];
132
- beforeMount?: (() => void) | (() => void)[];
133
- mounted?: (() => void) | (() => void)[];
134
- beforeUpdate?: (() => void) | (() => void)[];
135
- updated?: (() => void) | (() => void)[];
136
- activated?: (() => void) | (() => void)[];
137
- deactivated?: (() => void) | (() => void)[];
138
- beforeDestroy?: (() => void) | (() => void)[];
139
- beforeUnmount?: (() => void) | (() => void)[];
140
- destroyed?: (() => void) | (() => void)[];
141
- unmounted?: (() => void) | (() => void)[];
142
- renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
143
- renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
144
- errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
145
- };
146
- $forceUpdate: () => void;
147
- $nextTick: typeof import('vue').nextTick;
148
- $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
149
- } & Readonly<{
150
- playerButtonText: string;
151
- autoPlay: boolean;
152
- playable: boolean;
153
- }> & Omit<Readonly<VideoProps> & Readonly<{
154
- onPaused?: ((...args: any[]) => any) | undefined;
155
- }>, "pause" | "play" | ("playerButtonText" | "autoPlay" | "playable")> & import('vue').ShallowUnwrapRef<{
229
+ }> & Omit<Readonly<VideoProps> & Readonly<{}>, "pause" | "play" | ("playerButtonText" | "poster" | "autoPlay" | "playable")> & import('vue').ShallowUnwrapRef<{
156
230
  play: () => void;
157
231
  pause: () => void;
158
232
  }> & {} & import('vue').ComponentCustomProperties & {} & {
159
233
  $slots: {
234
+ play?(_: {}): any;
160
235
  close?(_: {}): any;
161
236
  };
162
237
  }) | null;
@@ -164,13 +239,16 @@ declare function __VLS_template(): {
164
239
  rootEl: any;
165
240
  };
166
241
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
167
- declare const __VLS_component: import('vue').DefineComponent<VideoProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<VideoProps> & Readonly<{}>, {
242
+ declare const __VLS_component: import('vue').DefineComponent<VideoProps, {
243
+ play: () => void;
244
+ pause: () => void;
245
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<VideoProps> & Readonly<{}>, {
168
246
  playerButtonText: string;
169
247
  poster: string;
170
248
  autoPlay: boolean;
171
249
  playable: boolean;
172
250
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
173
- autoPlayRef: ({
251
+ videoRef: ({
174
252
  $: import('vue').ComponentInternalInstance;
175
253
  $data: {};
176
254
  $props: {
@@ -184,7 +262,6 @@ declare const __VLS_component: import('vue').DefineComponent<VideoProps, {}, {},
184
262
  readonly playable?: boolean | undefined;
185
263
  readonly multiple?: boolean | undefined;
186
264
  readonly urlSmall?: string | undefined;
187
- readonly onPaused?: ((...args: any[]) => any) | undefined;
188
265
  } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
189
266
  $attrs: {
190
267
  [x: string]: unknown;
@@ -192,85 +269,161 @@ declare const __VLS_component: import('vue').DefineComponent<VideoProps, {}, {},
192
269
  $refs: {
193
270
  [x: string]: unknown;
194
271
  } & {
195
- videoRef: HTMLVideoElement;
196
- };
197
- $slots: Readonly<{
198
- [name: string]: import('vue').Slot<any> | undefined;
199
- }>;
200
- $root: import('vue').ComponentPublicInstance | null;
201
- $parent: import('vue').ComponentPublicInstance | null;
202
- $host: Element | null;
203
- $emit: (event: "paused", ...args: any[]) => void;
204
- $el: HTMLDivElement;
205
- $options: import('vue').ComponentOptionsBase<Readonly<VideoProps> & Readonly<{
206
- onPaused?: ((...args: any[]) => any) | undefined;
207
- }>, {
208
- play: () => void;
209
- pause: () => void;
210
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
211
- paused: (...args: any[]) => void;
212
- }, string, {
213
- playerButtonText: string;
214
- autoPlay: boolean;
215
- playable: boolean;
216
- }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
217
- beforeCreate?: (() => void) | (() => void)[];
218
- created?: (() => void) | (() => void)[];
219
- beforeMount?: (() => void) | (() => void)[];
220
- mounted?: (() => void) | (() => void)[];
221
- beforeUpdate?: (() => void) | (() => void)[];
222
- updated?: (() => void) | (() => void)[];
223
- activated?: (() => void) | (() => void)[];
224
- deactivated?: (() => void) | (() => void)[];
225
- beforeDestroy?: (() => void) | (() => void)[];
226
- beforeUnmount?: (() => void) | (() => void)[];
227
- destroyed?: (() => void) | (() => void)[];
228
- unmounted?: (() => void) | (() => void)[];
229
- renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
230
- renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
231
- errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
232
- };
233
- $forceUpdate: () => void;
234
- $nextTick: typeof import('vue').nextTick;
235
- $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
236
- } & Readonly<{
237
- playerButtonText: string;
238
- autoPlay: boolean;
239
- playable: boolean;
240
- }> & Omit<Readonly<VideoProps> & Readonly<{
241
- onPaused?: ((...args: any[]) => any) | undefined;
242
- }>, "pause" | "play" | ("playerButtonText" | "autoPlay" | "playable")> & import('vue').ShallowUnwrapRef<{
243
- play: () => void;
244
- pause: () => void;
245
- }> & {} & import('vue').ComponentCustomProperties & {} & {
246
- $slots: {
247
- close?(_: {}): any;
248
- };
249
- }) | null;
250
- btnRef: HTMLButtonElement;
251
- vwRef: ({
252
- $: import('vue').ComponentInternalInstance;
253
- $data: {};
254
- $props: {
255
- readonly class?: string | undefined;
256
- readonly style?: (string | import('vue').CSSProperties) | undefined;
257
- readonly playerButtonClass?: string | undefined;
258
- readonly playerButtonText?: string | undefined;
259
- readonly poster?: string | undefined;
260
- readonly url: string;
261
- readonly autoPlay?: boolean | undefined;
262
- readonly playable?: boolean | undefined;
263
- readonly multiple?: boolean | undefined;
264
- readonly urlSmall?: string | undefined;
265
- readonly onPaused?: ((...args: any[]) => any) | undefined;
266
- } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
267
- $attrs: {
268
- [x: string]: unknown;
269
- };
270
- $refs: {
271
- [x: string]: unknown;
272
- } & {
273
- videoRef: HTMLVideoElement;
272
+ videoRef: ({
273
+ $: import('vue').ComponentInternalInstance;
274
+ $data: {};
275
+ $props: {
276
+ readonly class?: string | undefined;
277
+ readonly style?: (string | import('vue').CSSProperties) | undefined;
278
+ readonly playerButtonClass?: string | undefined;
279
+ readonly playerButtonText?: string | undefined;
280
+ readonly poster?: string | undefined;
281
+ readonly url: string;
282
+ readonly autoPlay?: boolean | undefined;
283
+ readonly playable?: boolean | undefined;
284
+ readonly multiple?: boolean | undefined;
285
+ readonly urlSmall?: string | undefined;
286
+ readonly onPaused?: ((...args: any[]) => any) | undefined;
287
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
288
+ $attrs: {
289
+ [x: string]: unknown;
290
+ };
291
+ $refs: {
292
+ [x: string]: unknown;
293
+ } & {
294
+ videoRef: HTMLVideoElement;
295
+ };
296
+ $slots: Readonly<{
297
+ [name: string]: import('vue').Slot<any> | undefined;
298
+ }>;
299
+ $root: import('vue').ComponentPublicInstance | null;
300
+ $parent: import('vue').ComponentPublicInstance | null;
301
+ $host: Element | null;
302
+ $emit: (event: "paused", ...args: any[]) => void;
303
+ $el: HTMLDivElement;
304
+ $options: import('vue').ComponentOptionsBase<Readonly<VideoProps> & Readonly<{
305
+ onPaused?: ((...args: any[]) => any) | undefined;
306
+ }>, {
307
+ play: () => void;
308
+ pause: () => void;
309
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
310
+ paused: (...args: any[]) => void;
311
+ }, string, {
312
+ playerButtonText: string;
313
+ autoPlay: boolean;
314
+ playable: boolean;
315
+ }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
316
+ beforeCreate?: (() => void) | (() => void)[];
317
+ created?: (() => void) | (() => void)[];
318
+ beforeMount?: (() => void) | (() => void)[];
319
+ mounted?: (() => void) | (() => void)[];
320
+ beforeUpdate?: (() => void) | (() => void)[];
321
+ updated?: (() => void) | (() => void)[];
322
+ activated?: (() => void) | (() => void)[];
323
+ deactivated?: (() => void) | (() => void)[];
324
+ beforeDestroy?: (() => void) | (() => void)[];
325
+ beforeUnmount?: (() => void) | (() => void)[];
326
+ destroyed?: (() => void) | (() => void)[];
327
+ unmounted?: (() => void) | (() => void)[];
328
+ renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
329
+ renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
330
+ errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
331
+ };
332
+ $forceUpdate: () => void;
333
+ $nextTick: typeof import('vue').nextTick;
334
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
335
+ } & Readonly<{
336
+ playerButtonText: string;
337
+ autoPlay: boolean;
338
+ playable: boolean;
339
+ }> & Omit<Readonly<VideoProps> & Readonly<{
340
+ onPaused?: ((...args: any[]) => any) | undefined;
341
+ }>, "pause" | "play" | ("playerButtonText" | "autoPlay" | "playable")> & import('vue').ShallowUnwrapRef<{
342
+ play: () => void;
343
+ pause: () => void;
344
+ }> & {} & import('vue').ComponentCustomProperties & {} & {
345
+ $slots: {
346
+ close?(_: {}): any;
347
+ };
348
+ }) | null;
349
+ btnRef: HTMLButtonElement;
350
+ modalVideoRef: ({
351
+ $: import('vue').ComponentInternalInstance;
352
+ $data: {};
353
+ $props: {
354
+ readonly class?: string | undefined;
355
+ readonly style?: (string | import('vue').CSSProperties) | undefined;
356
+ readonly playerButtonClass?: string | undefined;
357
+ readonly playerButtonText?: string | undefined;
358
+ readonly poster?: string | undefined;
359
+ readonly url: string;
360
+ readonly autoPlay?: boolean | undefined;
361
+ readonly playable?: boolean | undefined;
362
+ readonly multiple?: boolean | undefined;
363
+ readonly urlSmall?: string | undefined;
364
+ readonly onPaused?: ((...args: any[]) => any) | undefined;
365
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
366
+ $attrs: {
367
+ [x: string]: unknown;
368
+ };
369
+ $refs: {
370
+ [x: string]: unknown;
371
+ } & {
372
+ videoRef: HTMLVideoElement;
373
+ };
374
+ $slots: Readonly<{
375
+ [name: string]: import('vue').Slot<any> | undefined;
376
+ }>;
377
+ $root: import('vue').ComponentPublicInstance | null;
378
+ $parent: import('vue').ComponentPublicInstance | null;
379
+ $host: Element | null;
380
+ $emit: (event: "paused", ...args: any[]) => void;
381
+ $el: HTMLDivElement;
382
+ $options: import('vue').ComponentOptionsBase<Readonly<VideoProps> & Readonly<{
383
+ onPaused?: ((...args: any[]) => any) | undefined;
384
+ }>, {
385
+ play: () => void;
386
+ pause: () => void;
387
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
388
+ paused: (...args: any[]) => void;
389
+ }, string, {
390
+ playerButtonText: string;
391
+ autoPlay: boolean;
392
+ playable: boolean;
393
+ }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
394
+ beforeCreate?: (() => void) | (() => void)[];
395
+ created?: (() => void) | (() => void)[];
396
+ beforeMount?: (() => void) | (() => void)[];
397
+ mounted?: (() => void) | (() => void)[];
398
+ beforeUpdate?: (() => void) | (() => void)[];
399
+ updated?: (() => void) | (() => void)[];
400
+ activated?: (() => void) | (() => void)[];
401
+ deactivated?: (() => void) | (() => void)[];
402
+ beforeDestroy?: (() => void) | (() => void)[];
403
+ beforeUnmount?: (() => void) | (() => void)[];
404
+ destroyed?: (() => void) | (() => void)[];
405
+ unmounted?: (() => void) | (() => void)[];
406
+ renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
407
+ renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
408
+ errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
409
+ };
410
+ $forceUpdate: () => void;
411
+ $nextTick: typeof import('vue').nextTick;
412
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
413
+ } & Readonly<{
414
+ playerButtonText: string;
415
+ autoPlay: boolean;
416
+ playable: boolean;
417
+ }> & Omit<Readonly<VideoProps> & Readonly<{
418
+ onPaused?: ((...args: any[]) => any) | undefined;
419
+ }>, "pause" | "play" | ("playerButtonText" | "autoPlay" | "playable")> & import('vue').ShallowUnwrapRef<{
420
+ play: () => void;
421
+ pause: () => void;
422
+ }> & {} & import('vue').ComponentCustomProperties & {} & {
423
+ $slots: {
424
+ close?(_: {}): any;
425
+ };
426
+ }) | null;
274
427
  };
275
428
  $slots: Readonly<{
276
429
  [name: string]: import('vue').Slot<any> | undefined;
@@ -278,17 +431,14 @@ declare const __VLS_component: import('vue').DefineComponent<VideoProps, {}, {},
278
431
  $root: import('vue').ComponentPublicInstance | null;
279
432
  $parent: import('vue').ComponentPublicInstance | null;
280
433
  $host: Element | null;
281
- $emit: (event: "paused", ...args: any[]) => void;
282
- $el: HTMLDivElement;
283
- $options: import('vue').ComponentOptionsBase<Readonly<VideoProps> & Readonly<{
284
- onPaused?: ((...args: any[]) => any) | undefined;
285
- }>, {
434
+ $emit: (event: string, ...args: any[]) => void;
435
+ $el: any;
436
+ $options: import('vue').ComponentOptionsBase<Readonly<VideoProps> & Readonly<{}>, {
286
437
  play: () => void;
287
438
  pause: () => void;
288
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
289
- paused: (...args: any[]) => void;
290
- }, string, {
439
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
291
440
  playerButtonText: string;
441
+ poster: string;
292
442
  autoPlay: boolean;
293
443
  playable: boolean;
294
444
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
@@ -313,15 +463,15 @@ declare const __VLS_component: import('vue').DefineComponent<VideoProps, {}, {},
313
463
  $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
314
464
  } & Readonly<{
315
465
  playerButtonText: string;
466
+ poster: string;
316
467
  autoPlay: boolean;
317
468
  playable: boolean;
318
- }> & Omit<Readonly<VideoProps> & Readonly<{
319
- onPaused?: ((...args: any[]) => any) | undefined;
320
- }>, "pause" | "play" | ("playerButtonText" | "autoPlay" | "playable")> & import('vue').ShallowUnwrapRef<{
469
+ }> & Omit<Readonly<VideoProps> & Readonly<{}>, "pause" | "play" | ("playerButtonText" | "poster" | "autoPlay" | "playable")> & import('vue').ShallowUnwrapRef<{
321
470
  play: () => void;
322
471
  pause: () => void;
323
472
  }> & {} & import('vue').ComponentCustomProperties & {} & {
324
473
  $slots: {
474
+ play?(_: {}): any;
325
475
  close?(_: {}): any;
326
476
  };
327
477
  }) | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seresweb/website-component",
3
- "version": "2.2.0",
3
+ "version": "2.2.1",
4
4
  "author": "Seres",
5
5
  "license": "UNLICENSED",
6
6
  "description": "官方网站类的组件",
@@ -43,6 +43,6 @@
43
43
  },
44
44
  "dependencies": {
45
45
  "@vavt/util": "^2.1.0",
46
- "swiper": "^11.2.6"
46
+ "swiper": "^12.0.3"
47
47
  }
48
48
  }