@spash/frontlib 0.0.20 → 0.0.21-beta.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.
- package/dist/main.d.ts +521 -534
- package/package.json +1 -1
package/dist/main.d.ts
CHANGED
|
@@ -1,655 +1,642 @@
|
|
|
1
|
-
import { App } from 'vue'
|
|
2
|
-
import { AxiosInstance } from 'axios'
|
|
3
|
-
import { Config } from 'tailwindcss/types/config'
|
|
4
|
-
import { DateTime } from 'luxon'
|
|
5
|
-
import { DateTimeUnit } from 'luxon'
|
|
6
|
-
import { MonthNumbers } from 'luxon'
|
|
7
|
-
import { PluginCreator } from 'tailwindcss/types/config'
|
|
8
|
-
import { Ref } from 'vue'
|
|
9
|
-
import { default as useCookies } from './composables/useCookies.ts'
|
|
10
|
-
import { useI18n } from 'vue-i18n'
|
|
1
|
+
import { App } from 'vue';
|
|
2
|
+
import { AxiosInstance } from 'axios';
|
|
3
|
+
import { Config } from 'tailwindcss/types/config';
|
|
4
|
+
import { DateTime } from 'luxon';
|
|
5
|
+
import { DateTimeUnit } from 'luxon';
|
|
6
|
+
import { MonthNumbers } from 'luxon';
|
|
7
|
+
import { PluginCreator } from 'tailwindcss/types/config';
|
|
8
|
+
import { Ref } from 'vue';
|
|
9
|
+
import { default as useCookies } from './composables/useCookies.ts';
|
|
10
|
+
import { useI18n } from 'vue-i18n';
|
|
11
11
|
|
|
12
12
|
declare interface AppOptions {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
13
|
+
autoImport?: {
|
|
14
|
+
components: boolean;
|
|
15
|
+
};
|
|
16
|
+
i18n?: {
|
|
17
|
+
messages: any;
|
|
18
|
+
};
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
export declare interface Article {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
22
|
+
'@id': string;
|
|
23
|
+
id: number;
|
|
24
|
+
title: string;
|
|
25
|
+
content: string;
|
|
26
|
+
imageUrl: string;
|
|
27
|
+
createdAt: Date;
|
|
28
28
|
}
|
|
29
29
|
|
|
30
30
|
export declare interface CameraConfiguration {
|
|
31
|
-
|
|
32
|
-
|
|
31
|
+
id: number;
|
|
32
|
+
layer: CameraConfigurationLayer[];
|
|
33
33
|
}
|
|
34
34
|
|
|
35
35
|
export declare interface CameraConfigurationLayer {
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
36
|
+
label: string;
|
|
37
|
+
points: {
|
|
38
|
+
x: number;
|
|
39
|
+
y: number;
|
|
40
|
+
}[];
|
|
41
|
+
width: number;
|
|
42
|
+
height: number;
|
|
43
|
+
color: {
|
|
44
|
+
background: string;
|
|
45
|
+
border: string;
|
|
46
|
+
key: string;
|
|
47
|
+
text: string;
|
|
48
|
+
variable: string;
|
|
49
|
+
};
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
export declare interface Competition {
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
53
|
+
id: number;
|
|
54
|
+
name: string;
|
|
55
|
+
firstLogoImageUrl: string;
|
|
56
|
+
secondLogoImageUrl: string;
|
|
57
|
+
ngtvId: string;
|
|
58
|
+
Sport: Sport;
|
|
59
|
+
createdAt: string;
|
|
60
60
|
}
|
|
61
61
|
|
|
62
62
|
export declare interface CompetitionDetail {
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
63
|
+
name: string;
|
|
64
|
+
firstLogoImageUrl: string;
|
|
65
|
+
secondLogoImageUrl: string;
|
|
66
|
+
ngtvSessions: CompetitionNgtvSessionDetail[];
|
|
67
|
+
groups: {
|
|
68
|
+
[key: string]: Team[];
|
|
69
|
+
};
|
|
70
70
|
}
|
|
71
71
|
|
|
72
72
|
export declare interface CompetitionNgtvSessionDetail {
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
73
|
+
homeScore: number;
|
|
74
|
+
homeTeam: Team;
|
|
75
|
+
awayScore: number;
|
|
76
|
+
awayTeam: Team;
|
|
77
|
+
competitionStage: string;
|
|
78
|
+
field: string;
|
|
79
|
+
plannedStartedAt: Date;
|
|
80
|
+
actualStartedAt: Date;
|
|
81
|
+
status: string;
|
|
82
82
|
}
|
|
83
83
|
|
|
84
|
-
declare const _default: (app: App, options?: AppOptions) => void
|
|
85
|
-
export default _default
|
|
84
|
+
declare const _default: (app: App, options?: AppOptions) => void;
|
|
85
|
+
export default _default;
|
|
86
86
|
|
|
87
87
|
export declare interface Dooh {
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
88
|
+
id: number;
|
|
89
|
+
name: string;
|
|
90
|
+
type: 'lite' | 'full';
|
|
91
|
+
theme: string;
|
|
92
|
+
orientation: 'portrait' | 'landscape';
|
|
93
93
|
}
|
|
94
94
|
|
|
95
95
|
export declare interface DoohContent {
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
declare type DoohContentContentType =
|
|
124
|
-
| 'article'
|
|
125
|
-
| 'highlights'
|
|
126
|
-
| 'image'
|
|
127
|
-
| 'video'
|
|
128
|
-
| 'competition'
|
|
129
|
-
| 'multiplex'
|
|
130
|
-
| 'ads'
|
|
131
|
-
| 'bookings'
|
|
96
|
+
'@id': string;
|
|
97
|
+
id: number;
|
|
98
|
+
contentType: DoohContentContentType;
|
|
99
|
+
competitionId: number;
|
|
100
|
+
duration: number;
|
|
101
|
+
displayDoohContent: boolean;
|
|
102
|
+
isVideo: boolean;
|
|
103
|
+
isSponsoring: boolean;
|
|
104
|
+
filePath: string;
|
|
105
|
+
bookingsSessions: Record<number, (Session & {
|
|
106
|
+
isMainSession: boolean;
|
|
107
|
+
})[]>;
|
|
108
|
+
bookingsData: {
|
|
109
|
+
x: number;
|
|
110
|
+
y: number;
|
|
111
|
+
fieldId: number;
|
|
112
|
+
}[];
|
|
113
|
+
article: Article;
|
|
114
|
+
competition: Competition;
|
|
115
|
+
competitionDetails: CompetitionDetail;
|
|
116
|
+
highlight: SessionEvent;
|
|
117
|
+
multiplexEvents: SessionEvent[];
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
declare type DoohContentContentType = 'article' | 'highlights' | 'image' | 'video' | 'competition' | 'multiplex' | 'ads' | 'bookings';
|
|
132
121
|
|
|
133
122
|
export declare interface Field {
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
123
|
+
id: number;
|
|
124
|
+
name: string;
|
|
125
|
+
theme: string;
|
|
126
|
+
planningAvailable: boolean;
|
|
127
|
+
hi5Available?: boolean;
|
|
128
|
+
competitionAvailable?: boolean;
|
|
129
|
+
scoreCounterAvailable?: boolean;
|
|
130
|
+
easyConnectAvailable?: boolean;
|
|
131
|
+
sport: Sport;
|
|
132
|
+
subscribedOptions: string[];
|
|
133
|
+
camerasTotal: number;
|
|
134
|
+
camerasConfiguration: CameraConfiguration[];
|
|
135
|
+
advertHmiPostMatchImage: string;
|
|
136
|
+
advertHmiLoadingImage: string;
|
|
148
137
|
}
|
|
149
138
|
|
|
150
139
|
export declare interface Player {
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
140
|
+
id: number;
|
|
141
|
+
name: string;
|
|
142
|
+
email: string;
|
|
154
143
|
}
|
|
155
144
|
|
|
156
145
|
declare interface PlayerTeam {
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
146
|
+
id: number;
|
|
147
|
+
jerseyNumber?: number;
|
|
148
|
+
player: Player;
|
|
149
|
+
team?: Team;
|
|
161
150
|
}
|
|
162
151
|
|
|
163
152
|
declare const Plugin_2: {
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
}
|
|
153
|
+
handler: PluginCreator;
|
|
154
|
+
config?: Partial<Config> | undefined;
|
|
155
|
+
};
|
|
167
156
|
export { Plugin_2 as Plugin }
|
|
168
157
|
|
|
169
158
|
export declare interface Session {
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
159
|
+
'@id': string;
|
|
160
|
+
id: number;
|
|
161
|
+
name: string;
|
|
162
|
+
plannedStartedAt: string;
|
|
163
|
+
plannedEndedAt: string;
|
|
164
|
+
actualStartedAt: string;
|
|
165
|
+
actualEndedAt: string;
|
|
166
|
+
actualDuration: number;
|
|
167
|
+
actualCompetitionBreakDuration?: number | null;
|
|
168
|
+
plannedDuration: number;
|
|
169
|
+
status: string;
|
|
170
|
+
reference: string;
|
|
171
|
+
bookingProvider: string;
|
|
172
|
+
bookingProviderData?: string;
|
|
173
|
+
gameSheetUrl: string;
|
|
174
|
+
competitionStage: string;
|
|
175
|
+
videoUploadEnable?: boolean;
|
|
176
|
+
competition: Competition;
|
|
177
|
+
sport: Sport;
|
|
178
|
+
ngtvSessionType?: SessionType;
|
|
179
|
+
ngtvSessionHomeTeam: SessionTeam;
|
|
180
|
+
ngtvSessionAwayTeam: SessionTeam;
|
|
181
|
+
field: Field;
|
|
182
|
+
ngtvSessionEvents: SessionEvent[];
|
|
183
|
+
ngtvSessionPlayers: SessionPlayer[];
|
|
184
|
+
exportVideosEnabled?: boolean;
|
|
185
|
+
withStats?: boolean;
|
|
186
|
+
iaStatus?: 'stats_done' | 'error';
|
|
187
|
+
sessionPadelStat: {
|
|
188
|
+
id: number;
|
|
189
|
+
match: {
|
|
190
|
+
avg_rally_duration: number;
|
|
191
|
+
avg_rally: number;
|
|
192
|
+
longest_rally: {
|
|
193
|
+
duration: number;
|
|
194
|
+
};
|
|
195
|
+
};
|
|
196
|
+
createdAt: string;
|
|
197
|
+
updatedAt: string;
|
|
198
|
+
elitePlayer: {
|
|
199
|
+
nomansland: number;
|
|
200
|
+
lob_and_go: {
|
|
201
|
+
net_taking: number;
|
|
202
|
+
lob: number;
|
|
203
|
+
percentage: number;
|
|
204
|
+
coordinates: number[][];
|
|
205
|
+
};
|
|
206
|
+
net_taking: number;
|
|
207
|
+
positioning: {
|
|
208
|
+
attack: number;
|
|
209
|
+
};
|
|
210
|
+
first_serve: number;
|
|
211
|
+
volley_service: {
|
|
212
|
+
value: number;
|
|
213
|
+
percentage: number;
|
|
214
|
+
};
|
|
215
|
+
intensities: {
|
|
216
|
+
details: {
|
|
217
|
+
in_0_3: number;
|
|
218
|
+
in_3_6: number;
|
|
219
|
+
in_6_9: number;
|
|
220
|
+
in_9_12: number;
|
|
221
|
+
in_12_15: number;
|
|
222
|
+
gt_15: number;
|
|
223
|
+
};
|
|
224
|
+
};
|
|
225
|
+
chain_breaks: {
|
|
226
|
+
details: {
|
|
227
|
+
timestep: number;
|
|
228
|
+
values: number[];
|
|
229
|
+
};
|
|
230
|
+
};
|
|
231
|
+
};
|
|
232
|
+
};
|
|
241
233
|
}
|
|
242
234
|
|
|
243
235
|
export declare interface SessionEvent {
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
236
|
+
id: number;
|
|
237
|
+
type: string;
|
|
238
|
+
name: string;
|
|
239
|
+
currentSet: number;
|
|
240
|
+
videoTimecode: number;
|
|
241
|
+
currentScoreAway: number[];
|
|
242
|
+
currentScoreHome: number[];
|
|
243
|
+
aiCalculated: boolean;
|
|
244
|
+
ngtvSessionTeam: SessionTeam;
|
|
245
|
+
ngtvSessionPlayer: SessionPlayer;
|
|
246
|
+
secondNgtvSessionPlayer: SessionPlayer;
|
|
247
|
+
ngtvSessionEventType: SessionEventTypes;
|
|
256
248
|
}
|
|
257
249
|
|
|
258
250
|
export declare interface SessionEventInput {
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
251
|
+
type: string;
|
|
252
|
+
ngtvSession: string;
|
|
253
|
+
ngtvSessionTeam?: string | null;
|
|
254
|
+
ngtvSessionPlayer?: string | null;
|
|
255
|
+
secondNgtvSessionPlayer?: string | null;
|
|
256
|
+
matchTimecode: number;
|
|
257
|
+
videoTimecode: number;
|
|
258
|
+
ngtvSessionEventType?: string | null;
|
|
267
259
|
}
|
|
268
260
|
|
|
269
261
|
export declare interface SessionEventTypes {
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
262
|
+
id: number;
|
|
263
|
+
type: string;
|
|
264
|
+
name: string;
|
|
265
|
+
color: string;
|
|
266
|
+
duration?: number;
|
|
267
|
+
imageUrl?: string;
|
|
268
|
+
position?: number;
|
|
277
269
|
}
|
|
278
270
|
|
|
279
271
|
export declare interface SessionInput {
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
272
|
+
name?: string;
|
|
273
|
+
status?: string;
|
|
274
|
+
plannedStartedAt?: string | null;
|
|
275
|
+
plannedEndedAt?: string | null;
|
|
276
|
+
field?: string;
|
|
277
|
+
ngtvSessionType?: string;
|
|
278
|
+
bookingProvider?: string;
|
|
279
|
+
bookingProviderData?: string;
|
|
280
|
+
videoUploadEnable?: boolean;
|
|
289
281
|
}
|
|
290
282
|
|
|
291
283
|
export declare interface SessionPlayer {
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
284
|
+
id: number;
|
|
285
|
+
numberOfGoalScored: number;
|
|
286
|
+
numberOfAssists: number;
|
|
287
|
+
numberOfFouls?: number;
|
|
288
|
+
hatTricksEventsTotal?: number;
|
|
289
|
+
lastMinuteWinnersEventsTotal?: number;
|
|
290
|
+
manOfTheMatch?: boolean;
|
|
291
|
+
numberOfOwngoals?: number;
|
|
292
|
+
player: Player;
|
|
293
|
+
ngtvSessionTeam: SessionTeam;
|
|
294
|
+
playerPadelStat: SessionPlayerPadelStats;
|
|
303
295
|
}
|
|
304
296
|
|
|
305
297
|
declare interface SessionPlayerPadelStats {
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
298
|
+
id: number;
|
|
299
|
+
name: string;
|
|
300
|
+
video_path: string;
|
|
301
|
+
sentence: string;
|
|
302
|
+
positioning: {
|
|
303
|
+
score: number;
|
|
304
|
+
nomansland: {
|
|
305
|
+
score: number;
|
|
306
|
+
percentage: number;
|
|
307
|
+
};
|
|
308
|
+
attack: {
|
|
309
|
+
score: number;
|
|
310
|
+
percentage: number;
|
|
311
|
+
};
|
|
312
|
+
defense: {
|
|
313
|
+
score: number;
|
|
314
|
+
percentage: number;
|
|
315
|
+
};
|
|
316
|
+
};
|
|
317
|
+
movement: {
|
|
318
|
+
score: number;
|
|
319
|
+
lob_and_go: {
|
|
320
|
+
score: number;
|
|
321
|
+
value: number;
|
|
322
|
+
total: number;
|
|
323
|
+
percentage: number;
|
|
324
|
+
coordinates: number[][];
|
|
325
|
+
};
|
|
326
|
+
net_taking: {
|
|
327
|
+
score: number;
|
|
328
|
+
value: number;
|
|
329
|
+
percentage: number;
|
|
330
|
+
};
|
|
331
|
+
attack_position: {
|
|
332
|
+
score: number;
|
|
333
|
+
value: number;
|
|
334
|
+
};
|
|
335
|
+
hit_and_move: {
|
|
336
|
+
score: number;
|
|
337
|
+
value: number;
|
|
338
|
+
};
|
|
339
|
+
};
|
|
340
|
+
tactical: {
|
|
341
|
+
score: number;
|
|
342
|
+
first_serve: {
|
|
343
|
+
score: number;
|
|
344
|
+
percentage: number;
|
|
345
|
+
};
|
|
346
|
+
volley_service: {
|
|
347
|
+
score: number;
|
|
348
|
+
value: number;
|
|
349
|
+
percentage: number;
|
|
350
|
+
};
|
|
351
|
+
services: {
|
|
352
|
+
score: number;
|
|
353
|
+
};
|
|
354
|
+
diagonal: {
|
|
355
|
+
score: number;
|
|
356
|
+
percentage: number;
|
|
357
|
+
};
|
|
358
|
+
top_lob: {
|
|
359
|
+
score: number;
|
|
360
|
+
value: number;
|
|
361
|
+
total: number;
|
|
362
|
+
percentage: number;
|
|
363
|
+
};
|
|
364
|
+
divorce_zone: {
|
|
365
|
+
score: number;
|
|
366
|
+
coordinates: number[][];
|
|
367
|
+
};
|
|
368
|
+
safe_ball: {
|
|
369
|
+
score: number;
|
|
370
|
+
safe_balls: {
|
|
371
|
+
coordinates: number[][];
|
|
372
|
+
};
|
|
373
|
+
unsafe_balls: {
|
|
374
|
+
coordinates: number[][];
|
|
375
|
+
};
|
|
376
|
+
};
|
|
377
|
+
};
|
|
378
|
+
tacticalZoningServicesCoordinates: {
|
|
379
|
+
left: number[][];
|
|
380
|
+
right: number[][];
|
|
381
|
+
};
|
|
382
|
+
physical: {
|
|
383
|
+
score: number;
|
|
384
|
+
distance: {
|
|
385
|
+
score: number;
|
|
386
|
+
total: number;
|
|
387
|
+
details: {
|
|
388
|
+
[key: string]: number;
|
|
389
|
+
};
|
|
390
|
+
};
|
|
391
|
+
calories: {
|
|
392
|
+
score: number;
|
|
393
|
+
value: number;
|
|
394
|
+
};
|
|
395
|
+
intensities: {
|
|
396
|
+
score: number;
|
|
397
|
+
max_speed: number;
|
|
398
|
+
details: {
|
|
399
|
+
gt_15: number;
|
|
400
|
+
in_0_3: number;
|
|
401
|
+
in_3_6: number;
|
|
402
|
+
in_6_9: number;
|
|
403
|
+
in_9_12: number;
|
|
404
|
+
in_12_15: number;
|
|
405
|
+
};
|
|
406
|
+
};
|
|
407
|
+
};
|
|
408
|
+
badges: {
|
|
409
|
+
value: number;
|
|
410
|
+
top_badge: boolean;
|
|
411
|
+
badge_type: string;
|
|
412
|
+
}[];
|
|
413
|
+
teamStat: {
|
|
414
|
+
id: number;
|
|
415
|
+
score: number;
|
|
416
|
+
chain_breaks: {
|
|
417
|
+
score: number;
|
|
418
|
+
details: {
|
|
419
|
+
score: number | null;
|
|
420
|
+
values: number[];
|
|
421
|
+
timestep: number;
|
|
422
|
+
};
|
|
423
|
+
};
|
|
424
|
+
checks: {
|
|
425
|
+
score: number;
|
|
426
|
+
value: number;
|
|
427
|
+
};
|
|
428
|
+
createdAt: string;
|
|
429
|
+
updatedAt: string;
|
|
430
|
+
};
|
|
431
|
+
createdAt: string;
|
|
432
|
+
updatedAt: string;
|
|
441
433
|
}
|
|
442
434
|
|
|
443
435
|
export declare enum SessionStatus {
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
436
|
+
NOT_PLAYED = "not_played",
|
|
437
|
+
PLAYING = "playing",
|
|
438
|
+
PLAYED = "played",
|
|
439
|
+
DELETED = "deleted",
|
|
440
|
+
PROCESSING = "processing",
|
|
441
|
+
PROCESSING_ERROR = "processing_error",
|
|
442
|
+
PROCESSED = "processed",
|
|
443
|
+
EXPORTING = "exporting",
|
|
444
|
+
EXPORTING_ERROR = "exporting_error",
|
|
445
|
+
EXPORTED = "exported",
|
|
446
|
+
EXPORTED_DELETED = "exported_deleted",
|
|
447
|
+
ERROR = "error",
|
|
448
|
+
FAKE = "fake",
|
|
449
|
+
FAKE_DELETED = "fake_deleted"
|
|
458
450
|
}
|
|
459
451
|
|
|
460
452
|
export declare interface SessionTeam {
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
453
|
+
id: number;
|
|
454
|
+
home: boolean;
|
|
455
|
+
score: number[];
|
|
456
|
+
team: Team;
|
|
457
|
+
maxConsecutiveGoals?: number;
|
|
458
|
+
maxInvincibilityDuration?: number;
|
|
467
459
|
}
|
|
468
460
|
|
|
469
461
|
export declare interface SessionType {
|
|
470
|
-
|
|
462
|
+
id?: number;
|
|
471
463
|
}
|
|
472
464
|
|
|
473
|
-
export declare type SIZES = 'md' | 'lg' | 'xl'
|
|
465
|
+
export declare type SIZES = 'md' | 'lg' | 'xl';
|
|
474
466
|
|
|
475
467
|
export declare enum SpashVideoControls {
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
468
|
+
'fullscreen' = "fullscreen",
|
|
469
|
+
'readingSpeed' = "reading-speed",
|
|
470
|
+
'videoTimecode' = "video-timecode",
|
|
471
|
+
'playPause' = "play-pause",
|
|
472
|
+
'changeTimecode' = "change-timecode"
|
|
481
473
|
}
|
|
482
474
|
|
|
483
475
|
export declare enum SpashVideoOptions {
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
476
|
+
'buzz' = "buzz",
|
|
477
|
+
'layer' = "layer",
|
|
478
|
+
'draw' = "draw",
|
|
479
|
+
'field2D' = "field2D"
|
|
488
480
|
}
|
|
489
481
|
|
|
490
482
|
export declare interface SpashVideoPlayer {
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
483
|
+
destroyPlayer: () => void;
|
|
484
|
+
onUpdateVideoPlayerBarTimecode: (v: number) => void;
|
|
485
|
+
setControlWidth: (v: string) => void;
|
|
494
486
|
}
|
|
495
487
|
|
|
496
488
|
declare interface SponsoringAttributes {
|
|
497
|
-
|
|
498
|
-
|
|
489
|
+
fieldId: number;
|
|
490
|
+
sportName: string;
|
|
499
491
|
}
|
|
500
492
|
|
|
501
493
|
declare interface SponsoringOptions {
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
494
|
+
attributes: SponsoringAttributes | null;
|
|
495
|
+
siteId: number;
|
|
496
|
+
pageId: number;
|
|
497
|
+
formatIds: string;
|
|
498
|
+
formatId: number;
|
|
499
|
+
classes?: string;
|
|
500
|
+
element?: string;
|
|
509
501
|
}
|
|
510
502
|
|
|
511
503
|
export declare interface Sport {
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
504
|
+
id: number;
|
|
505
|
+
name: string;
|
|
506
|
+
racketSport: boolean;
|
|
515
507
|
}
|
|
516
508
|
|
|
517
509
|
export declare interface SportCenter {
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
510
|
+
id: number;
|
|
511
|
+
durationChoices: number[];
|
|
512
|
+
language: string;
|
|
513
|
+
computers: {
|
|
514
|
+
boxId: string;
|
|
515
|
+
createdAt: string;
|
|
516
|
+
id: number;
|
|
517
|
+
name: string;
|
|
518
|
+
sponsoringPlayerId: string;
|
|
519
|
+
sponsoringScreenId: string;
|
|
520
|
+
type: string;
|
|
521
|
+
updatedAt: string;
|
|
522
|
+
vpnIp: string;
|
|
523
|
+
interactive: boolean;
|
|
524
|
+
}[];
|
|
521
525
|
}
|
|
522
526
|
|
|
523
527
|
declare interface SseCallback {
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
528
|
+
onOpen?: (event: any) => void;
|
|
529
|
+
onMessage?: (event?: any) => void;
|
|
530
|
+
onError?: (event: any) => void;
|
|
527
531
|
}
|
|
528
532
|
|
|
529
533
|
export declare interface Team {
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
534
|
+
id: number;
|
|
535
|
+
name: string;
|
|
536
|
+
primaryColor: string;
|
|
537
|
+
secondaryColor: string;
|
|
538
|
+
maxConsecutiveGoals: number;
|
|
539
|
+
logoImageUrl?: string;
|
|
540
|
+
playerTeams?: PlayerTeam[];
|
|
541
|
+
ngtvId?: number;
|
|
538
542
|
}
|
|
539
543
|
|
|
540
544
|
export declare const useAdServer: () => {
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
pageId:
|
|
547
|
-
|
|
548
|
-
) => void
|
|
549
|
-
addAdvertising: (
|
|
550
|
-
advertId: number,
|
|
551
|
-
divClasses?: string,
|
|
552
|
-
divStyles?: string,
|
|
553
|
-
target?: string,
|
|
554
|
-
el?: any,
|
|
555
|
-
) => void
|
|
556
|
-
resetAdServerAdvertising: () => void
|
|
557
|
-
addSponsoringContent: ({
|
|
558
|
-
attributes,
|
|
559
|
-
siteId,
|
|
560
|
-
pageId,
|
|
561
|
-
formatIds,
|
|
562
|
-
formatId,
|
|
563
|
-
classes,
|
|
564
|
-
element,
|
|
565
|
-
}: SponsoringOptions) => void
|
|
566
|
-
}
|
|
545
|
+
hasAdServerContent: Ref<boolean, boolean>;
|
|
546
|
+
initAdServer: () => void;
|
|
547
|
+
callAdServer: (attributes: SponsoringAttributes | null, siteId: number, pageId: number, formats: string) => void;
|
|
548
|
+
addAdvertising: (advertId: number, divClasses?: string, divStyles?: string, target?: string, el?: any) => void;
|
|
549
|
+
resetAdServerAdvertising: () => void;
|
|
550
|
+
addSponsoringContent: ({ attributes, siteId, pageId, formatIds, formatId, classes, element, }: SponsoringOptions) => void;
|
|
551
|
+
};
|
|
567
552
|
|
|
568
553
|
export declare const useAxios: (apiUrl: string) => {
|
|
569
|
-
|
|
570
|
-
}
|
|
571
|
-
|
|
572
|
-
export declare const useCompetition: ({ t }?: {
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
554
|
+
axiosInstance: () => AxiosInstance;
|
|
555
|
+
};
|
|
556
|
+
|
|
557
|
+
export declare const useCompetition: ({ t }?: {
|
|
558
|
+
t?: any;
|
|
559
|
+
}) => {
|
|
560
|
+
groupsOptions: (groupsTotal?: number) => {
|
|
561
|
+
id: string;
|
|
562
|
+
name: any;
|
|
563
|
+
}[];
|
|
564
|
+
};
|
|
578
565
|
|
|
579
566
|
/**
|
|
580
567
|
* It imports all the components in the `components` and `modules` directories, and registers them with
|
|
581
568
|
* the Vue instance
|
|
582
569
|
* @param {App} app - App - The app object that is passed to the plugin function.
|
|
583
570
|
*/
|
|
584
|
-
export declare const useComponent: (app: App, components: any, moduleComponents: any) => void
|
|
571
|
+
export declare const useComponent: (app: App, components: any, moduleComponents: any) => void;
|
|
585
572
|
|
|
586
573
|
export { useCookies }
|
|
587
574
|
|
|
588
575
|
export declare const useDisplayImage: () => {
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
}
|
|
596
|
-
|
|
597
|
-
export declare const useHelper: ({ t, router }?: {
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
}
|
|
576
|
+
logoInline: Ref<any, any>;
|
|
577
|
+
logoSmall: Ref<any, any>;
|
|
578
|
+
homeBackgroundLeft: string;
|
|
579
|
+
homeBackgroundRight: string;
|
|
580
|
+
matchBackground: string;
|
|
581
|
+
reloadImages: (theme: string) => void;
|
|
582
|
+
};
|
|
583
|
+
|
|
584
|
+
export declare const useHelper: ({ t, router }?: {
|
|
585
|
+
t?: any;
|
|
586
|
+
router?: any;
|
|
587
|
+
}) => {
|
|
588
|
+
timeout: Ref<any, any>;
|
|
589
|
+
getAndParseObjectFromLocalStorage: (key: string) => any;
|
|
590
|
+
timecodeToString: (timecode: any, mode?: string, displayEmpty?: boolean) => string;
|
|
591
|
+
dynamicSort: (property: any, sortType?: string) => (a: any, b: any) => number;
|
|
592
|
+
redirectToUrl: (redirectUrl: string) => void;
|
|
593
|
+
timeoutRedirectToPage: (routeName: string, timeoutMinutes?: number) => void;
|
|
594
|
+
buildQueryParams: (queryParams: any) => string;
|
|
595
|
+
groupBy: <T, K extends keyof T>(items: T[], key: K) => Record<string, T[]>;
|
|
596
|
+
timecodeToTimeObject: (timecode: any) => {
|
|
597
|
+
hours: number;
|
|
598
|
+
minutes: number;
|
|
599
|
+
seconds: number;
|
|
600
|
+
};
|
|
601
|
+
arrayUniqueValue: (array: any[], key: string) => any[];
|
|
602
|
+
sleep: (ms: number) => Promise<unknown>;
|
|
603
|
+
};
|
|
614
604
|
|
|
615
605
|
export { useI18n }
|
|
616
606
|
|
|
617
|
-
export declare const useIdle: (
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
) => {
|
|
621
|
-
isIdle: Ref<boolean, boolean>
|
|
622
|
-
}
|
|
607
|
+
export declare const useIdle: (time: number, callback?: () => void) => {
|
|
608
|
+
isIdle: Ref<boolean, boolean>;
|
|
609
|
+
};
|
|
623
610
|
|
|
624
611
|
export declare const useLuxon: () => {
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
}
|
|
612
|
+
DateTime: typeof DateTime;
|
|
613
|
+
currentDate: DateTime<true>;
|
|
614
|
+
currentMonth: MonthNumbers;
|
|
615
|
+
currentMonthName: string;
|
|
616
|
+
currentMonthFormated: string;
|
|
617
|
+
currentTime: string;
|
|
618
|
+
nextMonth: MonthNumbers;
|
|
619
|
+
nextMonthName: string;
|
|
620
|
+
prevMonth: MonthNumbers;
|
|
621
|
+
prevMonthName: string;
|
|
622
|
+
currentYear: number;
|
|
623
|
+
prevYear: number;
|
|
624
|
+
dateStartOf: (date: Date | string, of?: DateTimeUnit) => string | null;
|
|
625
|
+
dateEndOf: (date: Date | string, of?: DateTimeUnit) => string | null;
|
|
626
|
+
dateEndSession: (date: any, plannedDuration: number) => any;
|
|
627
|
+
formatDateTime: (date: any) => any;
|
|
628
|
+
isSameDate: (date1: DateTime, date2: DateTime, filters: string) => boolean;
|
|
629
|
+
};
|
|
643
630
|
|
|
644
631
|
export declare const useSse: (apiUrl: string) => {
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
}
|
|
632
|
+
eventSource: Ref<EventSource | undefined, EventSource | undefined>;
|
|
633
|
+
addSubscriber: (topic: string, callback?: SseCallback) => EventSource;
|
|
634
|
+
};
|
|
648
635
|
|
|
649
636
|
export declare const useTheme: () => {
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
}
|
|
637
|
+
defaultTheme: Ref<string, string>;
|
|
638
|
+
currentTheme: Ref<string, string>;
|
|
639
|
+
setTheme: (newTheme: string) => void;
|
|
640
|
+
};
|
|
654
641
|
|
|
655
|
-
export {}
|
|
642
|
+
export { }
|