@seresweb/website-component 2.2.0 → 2.2.2

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.
@@ -0,0 +1,339 @@
1
+ import { VideoProps } from './type';
2
+ declare function __VLS_template(): {
3
+ attrs: Partial<{}>;
4
+ slots: {
5
+ play?(_: {}): any;
6
+ close?(_: {}): any;
7
+ };
8
+ refs: {
9
+ videoRef: ({
10
+ $: import('vue').ComponentInternalInstance;
11
+ $data: {};
12
+ $props: {
13
+ readonly class?: string | undefined;
14
+ readonly style?: (string | import('vue').CSSProperties) | undefined;
15
+ readonly playerButtonClass?: string | undefined;
16
+ readonly playerButtonText?: string | undefined;
17
+ readonly poster?: string | undefined;
18
+ readonly url: string;
19
+ readonly autoPlay?: boolean | undefined;
20
+ readonly playable?: boolean | undefined;
21
+ readonly multiple?: boolean | undefined;
22
+ readonly urlSmall?: string | undefined;
23
+ readonly onPaused?: ((...args: any[]) => any) | undefined;
24
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
25
+ $attrs: {
26
+ [x: string]: unknown;
27
+ };
28
+ $refs: {
29
+ [x: string]: unknown;
30
+ } & {
31
+ videoRef: HTMLVideoElement;
32
+ };
33
+ $slots: Readonly<{
34
+ [name: string]: import('vue').Slot<any> | undefined;
35
+ }>;
36
+ $root: import('vue').ComponentPublicInstance | null;
37
+ $parent: import('vue').ComponentPublicInstance | null;
38
+ $host: Element | null;
39
+ $emit: (event: "paused", ...args: any[]) => void;
40
+ $el: HTMLDivElement;
41
+ $options: import('vue').ComponentOptionsBase<Readonly<VideoProps> & Readonly<{
42
+ onPaused?: ((...args: any[]) => any) | undefined;
43
+ }>, {
44
+ play: () => void;
45
+ pause: () => void;
46
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
47
+ paused: (...args: any[]) => void;
48
+ }, string, {
49
+ playerButtonText: string;
50
+ autoPlay: boolean;
51
+ playable: boolean;
52
+ }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
53
+ beforeCreate?: (() => void) | (() => void)[];
54
+ created?: (() => void) | (() => void)[];
55
+ beforeMount?: (() => void) | (() => void)[];
56
+ mounted?: (() => void) | (() => void)[];
57
+ beforeUpdate?: (() => void) | (() => void)[];
58
+ updated?: (() => void) | (() => void)[];
59
+ activated?: (() => void) | (() => void)[];
60
+ deactivated?: (() => void) | (() => void)[];
61
+ beforeDestroy?: (() => void) | (() => void)[];
62
+ beforeUnmount?: (() => void) | (() => void)[];
63
+ destroyed?: (() => void) | (() => void)[];
64
+ unmounted?: (() => void) | (() => void)[];
65
+ renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
66
+ renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
67
+ errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
68
+ };
69
+ $forceUpdate: () => void;
70
+ $nextTick: typeof import('vue').nextTick;
71
+ $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;
72
+ } & Readonly<{
73
+ playerButtonText: string;
74
+ autoPlay: boolean;
75
+ playable: boolean;
76
+ }> & Omit<Readonly<VideoProps> & Readonly<{
77
+ onPaused?: ((...args: any[]) => any) | undefined;
78
+ }>, "pause" | "play" | ("playerButtonText" | "autoPlay" | "playable")> & import('vue').ShallowUnwrapRef<{
79
+ play: () => void;
80
+ pause: () => void;
81
+ }> & {} & import('vue').ComponentCustomProperties & {} & {
82
+ $slots: {
83
+ close?(_: {}): any;
84
+ };
85
+ }) | null;
86
+ btnRef: HTMLButtonElement;
87
+ modalVideoRef: ({
88
+ $: import('vue').ComponentInternalInstance;
89
+ $data: {};
90
+ $props: {
91
+ readonly class?: string | undefined;
92
+ readonly style?: (string | import('vue').CSSProperties) | undefined;
93
+ readonly playerButtonClass?: string | undefined;
94
+ readonly playerButtonText?: string | undefined;
95
+ readonly poster?: string | undefined;
96
+ readonly url: string;
97
+ readonly autoPlay?: boolean | undefined;
98
+ readonly playable?: boolean | undefined;
99
+ readonly multiple?: boolean | undefined;
100
+ readonly urlSmall?: string | undefined;
101
+ readonly onPaused?: ((...args: any[]) => any) | undefined;
102
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
103
+ $attrs: {
104
+ [x: string]: unknown;
105
+ };
106
+ $refs: {
107
+ [x: string]: unknown;
108
+ } & {
109
+ videoRef: HTMLVideoElement;
110
+ };
111
+ $slots: Readonly<{
112
+ [name: string]: import('vue').Slot<any> | undefined;
113
+ }>;
114
+ $root: import('vue').ComponentPublicInstance | null;
115
+ $parent: import('vue').ComponentPublicInstance | null;
116
+ $host: Element | null;
117
+ $emit: (event: "paused", ...args: any[]) => void;
118
+ $el: HTMLDivElement;
119
+ $options: import('vue').ComponentOptionsBase<Readonly<VideoProps> & Readonly<{
120
+ onPaused?: ((...args: any[]) => any) | undefined;
121
+ }>, {
122
+ play: () => void;
123
+ pause: () => void;
124
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
125
+ paused: (...args: any[]) => void;
126
+ }, string, {
127
+ playerButtonText: string;
128
+ autoPlay: boolean;
129
+ playable: boolean;
130
+ }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
131
+ beforeCreate?: (() => void) | (() => void)[];
132
+ created?: (() => void) | (() => void)[];
133
+ beforeMount?: (() => void) | (() => void)[];
134
+ mounted?: (() => void) | (() => void)[];
135
+ beforeUpdate?: (() => void) | (() => void)[];
136
+ updated?: (() => void) | (() => void)[];
137
+ activated?: (() => void) | (() => void)[];
138
+ deactivated?: (() => void) | (() => void)[];
139
+ beforeDestroy?: (() => void) | (() => void)[];
140
+ beforeUnmount?: (() => void) | (() => void)[];
141
+ destroyed?: (() => void) | (() => void)[];
142
+ unmounted?: (() => void) | (() => void)[];
143
+ renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
144
+ renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
145
+ errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
146
+ };
147
+ $forceUpdate: () => void;
148
+ $nextTick: typeof import('vue').nextTick;
149
+ $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;
150
+ } & Readonly<{
151
+ playerButtonText: string;
152
+ autoPlay: boolean;
153
+ playable: boolean;
154
+ }> & Omit<Readonly<VideoProps> & Readonly<{
155
+ onPaused?: ((...args: any[]) => any) | undefined;
156
+ }>, "pause" | "play" | ("playerButtonText" | "autoPlay" | "playable")> & import('vue').ShallowUnwrapRef<{
157
+ play: () => void;
158
+ pause: () => void;
159
+ }> & {} & import('vue').ComponentCustomProperties & {} & {
160
+ $slots: {
161
+ close?(_: {}): any;
162
+ };
163
+ }) | null;
164
+ };
165
+ rootEl: any;
166
+ };
167
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
168
+ declare const __VLS_component: import('vue').DefineComponent<VideoProps, {
169
+ play: () => void;
170
+ pause: () => void;
171
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<VideoProps> & Readonly<{}>, {
172
+ playerButtonText: string;
173
+ poster: string;
174
+ autoPlay: boolean;
175
+ playable: boolean;
176
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
177
+ videoRef: ({
178
+ $: import('vue').ComponentInternalInstance;
179
+ $data: {};
180
+ $props: {
181
+ readonly class?: string | undefined;
182
+ readonly style?: (string | import('vue').CSSProperties) | undefined;
183
+ readonly playerButtonClass?: string | undefined;
184
+ readonly playerButtonText?: string | undefined;
185
+ readonly poster?: string | undefined;
186
+ readonly url: string;
187
+ readonly autoPlay?: boolean | undefined;
188
+ readonly playable?: boolean | undefined;
189
+ readonly multiple?: boolean | undefined;
190
+ readonly urlSmall?: string | undefined;
191
+ readonly onPaused?: ((...args: any[]) => any) | undefined;
192
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
193
+ $attrs: {
194
+ [x: string]: unknown;
195
+ };
196
+ $refs: {
197
+ [x: string]: unknown;
198
+ } & {
199
+ videoRef: HTMLVideoElement;
200
+ };
201
+ $slots: Readonly<{
202
+ [name: string]: import('vue').Slot<any> | undefined;
203
+ }>;
204
+ $root: import('vue').ComponentPublicInstance | null;
205
+ $parent: import('vue').ComponentPublicInstance | null;
206
+ $host: Element | null;
207
+ $emit: (event: "paused", ...args: any[]) => void;
208
+ $el: HTMLDivElement;
209
+ $options: import('vue').ComponentOptionsBase<Readonly<VideoProps> & Readonly<{
210
+ onPaused?: ((...args: any[]) => any) | undefined;
211
+ }>, {
212
+ play: () => void;
213
+ pause: () => void;
214
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
215
+ paused: (...args: any[]) => void;
216
+ }, string, {
217
+ playerButtonText: string;
218
+ autoPlay: boolean;
219
+ playable: boolean;
220
+ }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
221
+ beforeCreate?: (() => void) | (() => void)[];
222
+ created?: (() => void) | (() => void)[];
223
+ beforeMount?: (() => void) | (() => void)[];
224
+ mounted?: (() => void) | (() => void)[];
225
+ beforeUpdate?: (() => void) | (() => void)[];
226
+ updated?: (() => void) | (() => void)[];
227
+ activated?: (() => void) | (() => void)[];
228
+ deactivated?: (() => void) | (() => void)[];
229
+ beforeDestroy?: (() => void) | (() => void)[];
230
+ beforeUnmount?: (() => void) | (() => void)[];
231
+ destroyed?: (() => void) | (() => void)[];
232
+ unmounted?: (() => void) | (() => void)[];
233
+ renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
234
+ renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
235
+ errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
236
+ };
237
+ $forceUpdate: () => void;
238
+ $nextTick: typeof import('vue').nextTick;
239
+ $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;
240
+ } & Readonly<{
241
+ playerButtonText: string;
242
+ autoPlay: boolean;
243
+ playable: boolean;
244
+ }> & Omit<Readonly<VideoProps> & Readonly<{
245
+ onPaused?: ((...args: any[]) => any) | undefined;
246
+ }>, "pause" | "play" | ("playerButtonText" | "autoPlay" | "playable")> & import('vue').ShallowUnwrapRef<{
247
+ play: () => void;
248
+ pause: () => void;
249
+ }> & {} & import('vue').ComponentCustomProperties & {} & {
250
+ $slots: {
251
+ close?(_: {}): any;
252
+ };
253
+ }) | null;
254
+ btnRef: HTMLButtonElement;
255
+ modalVideoRef: ({
256
+ $: import('vue').ComponentInternalInstance;
257
+ $data: {};
258
+ $props: {
259
+ readonly class?: string | undefined;
260
+ readonly style?: (string | import('vue').CSSProperties) | undefined;
261
+ readonly playerButtonClass?: string | undefined;
262
+ readonly playerButtonText?: string | undefined;
263
+ readonly poster?: string | undefined;
264
+ readonly url: string;
265
+ readonly autoPlay?: boolean | undefined;
266
+ readonly playable?: boolean | undefined;
267
+ readonly multiple?: boolean | undefined;
268
+ readonly urlSmall?: string | undefined;
269
+ readonly onPaused?: ((...args: any[]) => any) | undefined;
270
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
271
+ $attrs: {
272
+ [x: string]: unknown;
273
+ };
274
+ $refs: {
275
+ [x: string]: unknown;
276
+ } & {
277
+ videoRef: HTMLVideoElement;
278
+ };
279
+ $slots: Readonly<{
280
+ [name: string]: import('vue').Slot<any> | undefined;
281
+ }>;
282
+ $root: import('vue').ComponentPublicInstance | null;
283
+ $parent: import('vue').ComponentPublicInstance | null;
284
+ $host: Element | null;
285
+ $emit: (event: "paused", ...args: any[]) => void;
286
+ $el: HTMLDivElement;
287
+ $options: import('vue').ComponentOptionsBase<Readonly<VideoProps> & Readonly<{
288
+ onPaused?: ((...args: any[]) => any) | undefined;
289
+ }>, {
290
+ play: () => void;
291
+ pause: () => void;
292
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
293
+ paused: (...args: any[]) => void;
294
+ }, string, {
295
+ playerButtonText: string;
296
+ autoPlay: boolean;
297
+ playable: boolean;
298
+ }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
299
+ beforeCreate?: (() => void) | (() => void)[];
300
+ created?: (() => void) | (() => void)[];
301
+ beforeMount?: (() => void) | (() => void)[];
302
+ mounted?: (() => void) | (() => void)[];
303
+ beforeUpdate?: (() => void) | (() => void)[];
304
+ updated?: (() => void) | (() => void)[];
305
+ activated?: (() => void) | (() => void)[];
306
+ deactivated?: (() => void) | (() => void)[];
307
+ beforeDestroy?: (() => void) | (() => void)[];
308
+ beforeUnmount?: (() => void) | (() => void)[];
309
+ destroyed?: (() => void) | (() => void)[];
310
+ unmounted?: (() => void) | (() => void)[];
311
+ renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
312
+ renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
313
+ errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
314
+ };
315
+ $forceUpdate: () => void;
316
+ $nextTick: typeof import('vue').nextTick;
317
+ $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;
318
+ } & Readonly<{
319
+ playerButtonText: string;
320
+ autoPlay: boolean;
321
+ playable: boolean;
322
+ }> & Omit<Readonly<VideoProps> & Readonly<{
323
+ onPaused?: ((...args: any[]) => any) | undefined;
324
+ }>, "pause" | "play" | ("playerButtonText" | "autoPlay" | "playable")> & import('vue').ShallowUnwrapRef<{
325
+ play: () => void;
326
+ pause: () => void;
327
+ }> & {} & import('vue').ComponentCustomProperties & {} & {
328
+ $slots: {
329
+ close?(_: {}): any;
330
+ };
331
+ }) | null;
332
+ }, any>;
333
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
334
+ export default _default;
335
+ type __VLS_WithTemplateSlots<T, S> = T & {
336
+ new (): {
337
+ $slots: S;
338
+ };
339
+ };