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