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