@mjsz-vbr-elements/core 2.1.4 → 2.1.6
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/columns.js +748 -0
- package/dist/components.js +2470 -0
- package/dist/composables.js +120 -0
- package/dist/constants.js +23 -0
- package/dist/convert-18c8bb80.js +528 -0
- package/dist/datetime-2fb02df2.js +1149 -0
- package/dist/index.iife.js +4 -4
- package/dist/index.iife.js.br +0 -0
- package/dist/index.iife.js.gz +0 -0
- package/dist/index.js +111 -5617
- package/dist/useSort-cf4549f9.js +667 -0
- package/dist/utils.js +60 -0
- package/package.json +11 -23
package/dist/columns.js
ADDED
|
@@ -0,0 +1,748 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* name: @mjsz-vbr-elements/core
|
|
3
|
+
* version: v2.1.6 - 19/12/2023, 15:00:45
|
|
4
|
+
* (c) 2023
|
|
5
|
+
* description: Data visualization for MJSZ VBR
|
|
6
|
+
* author: Ákos Stegner <akos.stegner@gmail.com>
|
|
7
|
+
*/
|
|
8
|
+
import { SORT_STATE_ASCEND as e, SORT_STATE_DESCEND as t } from "./constants.js";
|
|
9
|
+
const a = {
|
|
10
|
+
gameName: {
|
|
11
|
+
label: "table.gameName.short",
|
|
12
|
+
tooltip: "table.gameName.tooltip",
|
|
13
|
+
class: "is-text-left is-text-light"
|
|
14
|
+
},
|
|
15
|
+
gameDateDate: {
|
|
16
|
+
label: "table.gameDate.short",
|
|
17
|
+
tooltip: "table.gameDate.tooltip",
|
|
18
|
+
class: "is-text-left"
|
|
19
|
+
},
|
|
20
|
+
gameDateTime: {
|
|
21
|
+
label: "table.gameDateTime.short",
|
|
22
|
+
tooltip: "table.gameDateTime.tooltip",
|
|
23
|
+
class: "is-text-left"
|
|
24
|
+
},
|
|
25
|
+
homeTeamName: {
|
|
26
|
+
label: "table.homeTeam.short",
|
|
27
|
+
tooltip: "table.homeTeam.tooltip",
|
|
28
|
+
class: "is-text-right is-w-auto is-text-bold"
|
|
29
|
+
},
|
|
30
|
+
homeTeamLogo: {
|
|
31
|
+
label: "",
|
|
32
|
+
class: "is-has-image"
|
|
33
|
+
},
|
|
34
|
+
gameResult: {
|
|
35
|
+
label: "",
|
|
36
|
+
class: "is-text-bold is-text-xl"
|
|
37
|
+
},
|
|
38
|
+
gameResultType: {
|
|
39
|
+
label: "",
|
|
40
|
+
tooltip: ""
|
|
41
|
+
},
|
|
42
|
+
awayTeamLogo: {
|
|
43
|
+
label: "",
|
|
44
|
+
class: "is-has-image"
|
|
45
|
+
},
|
|
46
|
+
awayTeamName: {
|
|
47
|
+
label: "table.awayTeam.short",
|
|
48
|
+
tooltip: "table.awayTeam.tooltip",
|
|
49
|
+
class: "is-text-left is-w-auto is-text-bold"
|
|
50
|
+
},
|
|
51
|
+
location: {
|
|
52
|
+
label: "table.location.short",
|
|
53
|
+
tooltip: "table.location.tooltip",
|
|
54
|
+
class: "is-text-left"
|
|
55
|
+
},
|
|
56
|
+
broadcast: {
|
|
57
|
+
label: "table.broadcast.short",
|
|
58
|
+
tooltip: "table.broadcast.tooltip"
|
|
59
|
+
},
|
|
60
|
+
more: {
|
|
61
|
+
label: ""
|
|
62
|
+
}
|
|
63
|
+
}, l = {
|
|
64
|
+
index: {
|
|
65
|
+
label: "table.blank",
|
|
66
|
+
class: "is-text-left"
|
|
67
|
+
},
|
|
68
|
+
teamLogo: {
|
|
69
|
+
label: "",
|
|
70
|
+
class: "is-has-image"
|
|
71
|
+
},
|
|
72
|
+
teamName: {
|
|
73
|
+
label: "table.team.short",
|
|
74
|
+
tooltip: "table.team.tooltip",
|
|
75
|
+
class: "is-text-left is-w-auto is-text-bold",
|
|
76
|
+
sortOrders: [{ target: "teamName", direction: e }]
|
|
77
|
+
},
|
|
78
|
+
gamesPlayed: {
|
|
79
|
+
label: "table.game.short",
|
|
80
|
+
tooltip: "table.game.tooltip",
|
|
81
|
+
sortOrders: [{ target: "gamesPlayed", direction: t }]
|
|
82
|
+
},
|
|
83
|
+
w: {
|
|
84
|
+
label: "table.wins.short",
|
|
85
|
+
tooltip: "table.wins.tooltip",
|
|
86
|
+
sortOrders: [
|
|
87
|
+
{ target: "w", direction: t },
|
|
88
|
+
{ target: "otw", direction: t }
|
|
89
|
+
]
|
|
90
|
+
},
|
|
91
|
+
otw: {
|
|
92
|
+
label: "table.otw.short",
|
|
93
|
+
tooltip: "table.otw.tooltip",
|
|
94
|
+
sortOrders: [{ target: "otw", direction: t }]
|
|
95
|
+
},
|
|
96
|
+
sow: {
|
|
97
|
+
label: "table.sow.short",
|
|
98
|
+
tooltip: "table.sow.tooltip",
|
|
99
|
+
sortOrders: [{ target: "sow", direction: t }]
|
|
100
|
+
},
|
|
101
|
+
sol: {
|
|
102
|
+
label: "table.sol.short",
|
|
103
|
+
tooltip: "table.sol.tooltip",
|
|
104
|
+
sortOrders: [{ target: "sol", direction: t }]
|
|
105
|
+
},
|
|
106
|
+
otl: {
|
|
107
|
+
label: "table.otl.short",
|
|
108
|
+
tooltip: "table.otl.tooltip",
|
|
109
|
+
sortOrders: [{ target: "otl", direction: e }]
|
|
110
|
+
},
|
|
111
|
+
l: {
|
|
112
|
+
label: "table.losses.short",
|
|
113
|
+
tooltip: "table.losses.tooltip",
|
|
114
|
+
sortOrders: [{ target: "l", direction: e }]
|
|
115
|
+
},
|
|
116
|
+
gf: {
|
|
117
|
+
label: "table.goalFor.short",
|
|
118
|
+
tooltip: "table.goalFor.tooltip",
|
|
119
|
+
sortOrders: [{ target: "gf", direction: t }]
|
|
120
|
+
},
|
|
121
|
+
ga: {
|
|
122
|
+
label: "table.goalAgainst.short",
|
|
123
|
+
tooltip: "table.goalAgainst.tooltip",
|
|
124
|
+
sortOrders: [{ target: "ga", direction: e }]
|
|
125
|
+
},
|
|
126
|
+
gd: {
|
|
127
|
+
label: "table.goalDiff.short",
|
|
128
|
+
tooltip: "table.goalDiff.tooltip",
|
|
129
|
+
sortOrders: [{ target: "gd", direction: t }]
|
|
130
|
+
},
|
|
131
|
+
points: {
|
|
132
|
+
label: "table.points.short",
|
|
133
|
+
tooltip: "table.points.tooltip",
|
|
134
|
+
class: "is-text-bold",
|
|
135
|
+
sortOrders: [
|
|
136
|
+
{ target: "points", direction: t },
|
|
137
|
+
{ target: "gamesPlayed", direction: e },
|
|
138
|
+
{ target: "w", direction: t },
|
|
139
|
+
{ target: "gd", direction: t },
|
|
140
|
+
{ target: "gf", direction: t }
|
|
141
|
+
]
|
|
142
|
+
}
|
|
143
|
+
}, r = {
|
|
144
|
+
index: {
|
|
145
|
+
label: "#",
|
|
146
|
+
class: "is-text-left"
|
|
147
|
+
},
|
|
148
|
+
teamLogo: {
|
|
149
|
+
label: "",
|
|
150
|
+
class: "is-has-image"
|
|
151
|
+
},
|
|
152
|
+
teamName: {
|
|
153
|
+
label: "table.team.short",
|
|
154
|
+
tooltip: "table.team.tooltip",
|
|
155
|
+
class: "is-text-left is-w-auto is-text-bold",
|
|
156
|
+
sortOrders: [{ target: "teamName", direction: e }]
|
|
157
|
+
},
|
|
158
|
+
gamesPlayed: {
|
|
159
|
+
label: "table.game.short",
|
|
160
|
+
tooltip: "table.game.tooltip",
|
|
161
|
+
sortOrders: [{ target: "gamesPlayed", direction: t }]
|
|
162
|
+
},
|
|
163
|
+
w: {
|
|
164
|
+
label: "table.wins.short",
|
|
165
|
+
tooltip: "table.wins.tooltip",
|
|
166
|
+
sortOrders: [
|
|
167
|
+
{ target: "w", direction: t },
|
|
168
|
+
{ target: "d", direction: t }
|
|
169
|
+
]
|
|
170
|
+
},
|
|
171
|
+
d: {
|
|
172
|
+
label: "table.draw.short",
|
|
173
|
+
tooltip: "table.draw.tooltip",
|
|
174
|
+
sortOrders: [
|
|
175
|
+
{ target: "d", direction: t },
|
|
176
|
+
{ target: "w", direction: t }
|
|
177
|
+
]
|
|
178
|
+
},
|
|
179
|
+
l: {
|
|
180
|
+
label: "table.losses.short",
|
|
181
|
+
tooltip: "table.losses.tooltip",
|
|
182
|
+
sortOrders: [{ target: "l", direction: e }]
|
|
183
|
+
},
|
|
184
|
+
gf: {
|
|
185
|
+
label: "table.goalFor.short",
|
|
186
|
+
tooltip: "table.goalFor.tooltip",
|
|
187
|
+
sortOrders: [{ target: "gf", direction: t }]
|
|
188
|
+
},
|
|
189
|
+
ga: {
|
|
190
|
+
label: "table.goalAgainst.short",
|
|
191
|
+
tooltip: "table.goalAgainst.tooltip",
|
|
192
|
+
sortOrders: [{ target: "ga", direction: e }]
|
|
193
|
+
},
|
|
194
|
+
gd: {
|
|
195
|
+
label: "table.goalDiff.short",
|
|
196
|
+
tooltip: "table.goalDiff.tooltip",
|
|
197
|
+
sortOrders: [{ target: "gd", direction: t }]
|
|
198
|
+
},
|
|
199
|
+
points: {
|
|
200
|
+
label: "table.points.short",
|
|
201
|
+
tooltip: "table.points.tooltip",
|
|
202
|
+
class: "is-text-bold",
|
|
203
|
+
sortOrders: [{ target: "points", direction: t }]
|
|
204
|
+
}
|
|
205
|
+
}, i = {
|
|
206
|
+
index: {
|
|
207
|
+
label: "#",
|
|
208
|
+
class: "is-text-left"
|
|
209
|
+
},
|
|
210
|
+
playerPortrait: {
|
|
211
|
+
label: "",
|
|
212
|
+
class: "is-has-image"
|
|
213
|
+
},
|
|
214
|
+
name: {
|
|
215
|
+
label: "table.name.short",
|
|
216
|
+
tooltip: "table.name.tooltip",
|
|
217
|
+
class: "is-text-left is-w-auto is-text-bold",
|
|
218
|
+
sortOrders: [{ target: "name", direction: e }]
|
|
219
|
+
},
|
|
220
|
+
teamLogo: {
|
|
221
|
+
label: "",
|
|
222
|
+
class: "is-has-image"
|
|
223
|
+
},
|
|
224
|
+
teamName: {
|
|
225
|
+
label: "table.team.short",
|
|
226
|
+
tooltip: "table.team.tooltip",
|
|
227
|
+
class: "is-text-left is-w-auto",
|
|
228
|
+
sortOrders: [{ target: "teamName", direction: e }]
|
|
229
|
+
},
|
|
230
|
+
gp: {
|
|
231
|
+
label: "table.game.short",
|
|
232
|
+
tooltip: "table.game.tooltip",
|
|
233
|
+
sortOrders: [{ target: "gp", direction: t }]
|
|
234
|
+
},
|
|
235
|
+
goals: {
|
|
236
|
+
label: "table.goals.short",
|
|
237
|
+
tooltip: "table.goals.tooltip",
|
|
238
|
+
sortOrders: [
|
|
239
|
+
{ target: "goals", direction: t },
|
|
240
|
+
{ target: "assists", direction: t }
|
|
241
|
+
]
|
|
242
|
+
},
|
|
243
|
+
assists: {
|
|
244
|
+
label: "table.assists.short",
|
|
245
|
+
tooltip: "table.assists.tooltip",
|
|
246
|
+
sortOrders: [
|
|
247
|
+
{ target: "assists", direction: t },
|
|
248
|
+
{ target: "goals", direction: t }
|
|
249
|
+
]
|
|
250
|
+
},
|
|
251
|
+
points: {
|
|
252
|
+
label: "table.points.short",
|
|
253
|
+
tooltip: "table.points.tooltip",
|
|
254
|
+
sortOrders: [{ target: "points", direction: t }]
|
|
255
|
+
},
|
|
256
|
+
plusMinus: {
|
|
257
|
+
label: "table.plusMinus.short",
|
|
258
|
+
tooltip: "table.plusMinus.tooltip",
|
|
259
|
+
sortOrders: [{ target: "plusMinus", direction: t }]
|
|
260
|
+
},
|
|
261
|
+
shots: {
|
|
262
|
+
label: "table.sog.short",
|
|
263
|
+
tooltip: "table.sog.tooltip",
|
|
264
|
+
sortOrders: [{ target: "shots", direction: t }]
|
|
265
|
+
},
|
|
266
|
+
shotPercent: {
|
|
267
|
+
label: "table.sogPercent.short",
|
|
268
|
+
tooltip: "table.sogPercent.tooltip",
|
|
269
|
+
sortOrders: [{ target: "shootPercent", direction: t }]
|
|
270
|
+
}
|
|
271
|
+
}, s = {
|
|
272
|
+
index: {
|
|
273
|
+
label: "table.blank",
|
|
274
|
+
class: "is-text-left"
|
|
275
|
+
},
|
|
276
|
+
playerPortrait: {
|
|
277
|
+
label: "",
|
|
278
|
+
class: "is-has-image"
|
|
279
|
+
},
|
|
280
|
+
name: {
|
|
281
|
+
label: "table.name.short",
|
|
282
|
+
tooltip: "table.name.tooltip",
|
|
283
|
+
class: "is-text-left is-w-auto is-text-bold",
|
|
284
|
+
sortOrders: [{ target: "name", direction: e }]
|
|
285
|
+
},
|
|
286
|
+
teamLogo: {
|
|
287
|
+
label: "",
|
|
288
|
+
class: "is-has-image"
|
|
289
|
+
},
|
|
290
|
+
teamName: {
|
|
291
|
+
label: "table.team.short",
|
|
292
|
+
tooltip: "table.team.tooltip",
|
|
293
|
+
class: "is-text-left is-w-auto",
|
|
294
|
+
sortOrders: [{ target: "teamName", direction: e }]
|
|
295
|
+
},
|
|
296
|
+
gp: {
|
|
297
|
+
label: "table.game.short",
|
|
298
|
+
tooltip: "table.game.tooltip",
|
|
299
|
+
sortOrders: [{ target: "gp", direction: t }]
|
|
300
|
+
},
|
|
301
|
+
p2: {
|
|
302
|
+
label: "table.minorPenalties.short",
|
|
303
|
+
tooltip: "table.minorPenalties.tooltip",
|
|
304
|
+
sortOrders: [
|
|
305
|
+
{ target: "p2", direction: t },
|
|
306
|
+
{ target: "pim", direction: t }
|
|
307
|
+
]
|
|
308
|
+
},
|
|
309
|
+
p5: {
|
|
310
|
+
label: "table.majorPenalties.short",
|
|
311
|
+
tooltip: "table.majorPenalties.tooltip",
|
|
312
|
+
sortOrders: [
|
|
313
|
+
{ target: "p5", direction: t },
|
|
314
|
+
{ target: "pim", direction: t }
|
|
315
|
+
]
|
|
316
|
+
},
|
|
317
|
+
p10: {
|
|
318
|
+
label: "table.misconducts.short",
|
|
319
|
+
tooltip: "table.misconducts.tooltip",
|
|
320
|
+
sortOrders: [
|
|
321
|
+
{ target: "p10", direction: t },
|
|
322
|
+
{ target: "pim", direction: t }
|
|
323
|
+
]
|
|
324
|
+
},
|
|
325
|
+
p20: {
|
|
326
|
+
label: "table.gameMisconducts.short",
|
|
327
|
+
tooltip: "table.gameMisconducts.tooltip",
|
|
328
|
+
sortOrders: [
|
|
329
|
+
{ target: "p20", direction: t },
|
|
330
|
+
{ target: "pim", direction: t }
|
|
331
|
+
]
|
|
332
|
+
},
|
|
333
|
+
p25: {
|
|
334
|
+
label: "table.matchPenalties.short",
|
|
335
|
+
tooltip: "table.matchPenalties.tooltip",
|
|
336
|
+
sortOrders: [
|
|
337
|
+
{ target: "p25", direction: t },
|
|
338
|
+
{ target: "pim", direction: t }
|
|
339
|
+
]
|
|
340
|
+
},
|
|
341
|
+
pim: {
|
|
342
|
+
label: "table.pim.short",
|
|
343
|
+
tooltip: "table.pim.tooltip",
|
|
344
|
+
sortOrders: [{ target: "pim", direction: t }]
|
|
345
|
+
}
|
|
346
|
+
}, b = {
|
|
347
|
+
index: {
|
|
348
|
+
label: "table.blank",
|
|
349
|
+
class: "is-text-left"
|
|
350
|
+
},
|
|
351
|
+
playerPortrait: {
|
|
352
|
+
label: "",
|
|
353
|
+
class: "is-has-image"
|
|
354
|
+
},
|
|
355
|
+
name: {
|
|
356
|
+
label: "table.name.short",
|
|
357
|
+
tooltip: "table.name.tooltip",
|
|
358
|
+
class: "is-text-left is-w-auto is-text-bold",
|
|
359
|
+
sortOrders: [{ target: "name", direction: e }]
|
|
360
|
+
},
|
|
361
|
+
teamLogo: {
|
|
362
|
+
label: "",
|
|
363
|
+
class: "is-has-image"
|
|
364
|
+
},
|
|
365
|
+
teamName: {
|
|
366
|
+
label: "table.team.short",
|
|
367
|
+
tooltip: "table.team.tooltip",
|
|
368
|
+
class: "is-text-left is-w-auto",
|
|
369
|
+
sortOrders: [{ target: "teamName", direction: e }]
|
|
370
|
+
},
|
|
371
|
+
gkd: {
|
|
372
|
+
label: "table.gpgk.short",
|
|
373
|
+
tooltip: "table.gpgk.tooltip",
|
|
374
|
+
sortOrders: [{ target: "gkd", direction: t }]
|
|
375
|
+
},
|
|
376
|
+
gpi: {
|
|
377
|
+
label: "table.gpi.short",
|
|
378
|
+
tooltip: "table.gpi.tooltip",
|
|
379
|
+
sortOrders: [{ target: "gpi", direction: t }]
|
|
380
|
+
},
|
|
381
|
+
mipMin: {
|
|
382
|
+
label: "table.toi.short",
|
|
383
|
+
tooltip: "table.toi.tooltip",
|
|
384
|
+
sortOrders: [{ target: "mip", direction: t }]
|
|
385
|
+
},
|
|
386
|
+
mipPercent: {
|
|
387
|
+
label: "table.toiPercent.short",
|
|
388
|
+
tooltip: "table.toiPercent.tooltip",
|
|
389
|
+
sortOrders: [{ target: "mipPercent", direction: t }]
|
|
390
|
+
},
|
|
391
|
+
ga: {
|
|
392
|
+
label: "table.ga.short",
|
|
393
|
+
tooltip: "table.ga.tooltip",
|
|
394
|
+
sortOrders: [{ target: "ga", direction: t }]
|
|
395
|
+
},
|
|
396
|
+
gaa: {
|
|
397
|
+
label: "table.gaa.short",
|
|
398
|
+
tooltip: "table.gaa.tooltip",
|
|
399
|
+
sortOrders: [{ target: "gaa", direction: t }]
|
|
400
|
+
},
|
|
401
|
+
sog: {
|
|
402
|
+
label: "table.sa.short",
|
|
403
|
+
tooltip: "table.sa.tooltip",
|
|
404
|
+
sortOrders: [{ target: "sog", direction: t }]
|
|
405
|
+
},
|
|
406
|
+
svs: {
|
|
407
|
+
label: "table.svs.short",
|
|
408
|
+
tooltip: "table.svs.tooltip",
|
|
409
|
+
sortOrders: [{ target: "svs", direction: t }]
|
|
410
|
+
},
|
|
411
|
+
svsPercent: {
|
|
412
|
+
label: "table.svsPercent.short",
|
|
413
|
+
tooltip: "table.svsPercent.tooltip",
|
|
414
|
+
sortOrders: [{ target: "svsPercent", direction: t }]
|
|
415
|
+
}
|
|
416
|
+
}, p = {
|
|
417
|
+
index: {
|
|
418
|
+
label: "table.blank",
|
|
419
|
+
class: "is-text-left"
|
|
420
|
+
},
|
|
421
|
+
teamLogo: {
|
|
422
|
+
label: "",
|
|
423
|
+
class: "is-has-image"
|
|
424
|
+
},
|
|
425
|
+
teamName: {
|
|
426
|
+
label: "table.team.short",
|
|
427
|
+
tooltip: "table.team.tooltip",
|
|
428
|
+
class: "is-text-left is-w-auto is-text-bold",
|
|
429
|
+
sortOrders: [{ target: "teamName", direction: e }]
|
|
430
|
+
},
|
|
431
|
+
home: {
|
|
432
|
+
label: "table.homeHeader.short"
|
|
433
|
+
},
|
|
434
|
+
homeGame: {
|
|
435
|
+
label: "table.homeGame.short",
|
|
436
|
+
tooltip: "table.homeGame.tooltip",
|
|
437
|
+
sortOrders: [{ target: "homeGame", direction: t }]
|
|
438
|
+
},
|
|
439
|
+
homeAttendance: {
|
|
440
|
+
label: "table.homeAttendance.short",
|
|
441
|
+
tooltip: "table.homeAttendance.tooltip",
|
|
442
|
+
sortOrders: [{ target: "homeAttendance", direction: t }]
|
|
443
|
+
},
|
|
444
|
+
homeAttendanceAvg: {
|
|
445
|
+
label: "table.homeAttendanceAvg.short",
|
|
446
|
+
tooltip: "table.homeAttendanceAvg.tooltip",
|
|
447
|
+
sortOrders: [{ target: "homeAttendanceAvg", direction: t }]
|
|
448
|
+
},
|
|
449
|
+
away: {
|
|
450
|
+
label: "table.awayHeader.short"
|
|
451
|
+
},
|
|
452
|
+
awayGame: {
|
|
453
|
+
label: "table.awayGame.short",
|
|
454
|
+
tooltip: "table.awayGame.tooltip",
|
|
455
|
+
sortOrders: [{ target: "awayGame", direction: t }]
|
|
456
|
+
},
|
|
457
|
+
awayAttendance: {
|
|
458
|
+
label: "table.awayAttendance.short",
|
|
459
|
+
tooltip: "table.awayAttendance.tooltip",
|
|
460
|
+
sortOrders: [{ target: "awayAttendance", direction: t }]
|
|
461
|
+
},
|
|
462
|
+
awayAttendanceAvg: {
|
|
463
|
+
label: "table.awayAttendanceAvg.short",
|
|
464
|
+
tooltip: "table.awayAttendanceAvg.tooltip",
|
|
465
|
+
sortOrders: [{ target: "awayAttendanceAvg", direction: t }]
|
|
466
|
+
},
|
|
467
|
+
total: {
|
|
468
|
+
label: "table.totalHeader.short"
|
|
469
|
+
},
|
|
470
|
+
totalGame: {
|
|
471
|
+
label: "table.totalGame.short",
|
|
472
|
+
tooltip: "table.totalGame.tooltip",
|
|
473
|
+
sortOrders: [{ target: "totalGame", direction: t }]
|
|
474
|
+
},
|
|
475
|
+
totalAttendance: {
|
|
476
|
+
label: "table.totalAttendance.short",
|
|
477
|
+
tooltip: "table.totalAttendance.tooltip",
|
|
478
|
+
sortOrders: [{ target: "totalAttendance", direction: t }]
|
|
479
|
+
},
|
|
480
|
+
totalAttendanceAvg: {
|
|
481
|
+
label: "table.totalAttendanceAvg.short",
|
|
482
|
+
tooltip: "table.totalAttendanceAvg.tooltip",
|
|
483
|
+
sortOrders: [{ target: "totalAttendanceAvg", direction: t }]
|
|
484
|
+
}
|
|
485
|
+
}, g = {
|
|
486
|
+
index: {
|
|
487
|
+
label: "table.blank",
|
|
488
|
+
class: "is-text-left"
|
|
489
|
+
},
|
|
490
|
+
teamLogo: {
|
|
491
|
+
label: "",
|
|
492
|
+
class: "is-has-image"
|
|
493
|
+
},
|
|
494
|
+
teamName: {
|
|
495
|
+
label: "table.team.short",
|
|
496
|
+
tooltip: "table.team.tooltip",
|
|
497
|
+
class: "is-text-left is-w-auto is-text-bold",
|
|
498
|
+
sortOrders: [{ target: "teamName", direction: e }]
|
|
499
|
+
},
|
|
500
|
+
gp: {
|
|
501
|
+
label: "table.game.short",
|
|
502
|
+
tooltip: "table.game.tooltip",
|
|
503
|
+
sortOrders: [{ target: "gp", direction: t }]
|
|
504
|
+
},
|
|
505
|
+
p2: {
|
|
506
|
+
label: "table.minorPenalties.short",
|
|
507
|
+
tooltip: "table.minorPenalties.tooltip",
|
|
508
|
+
sortOrders: [
|
|
509
|
+
{ target: "p2", direction: t },
|
|
510
|
+
{ target: "pim", direction: t }
|
|
511
|
+
]
|
|
512
|
+
},
|
|
513
|
+
p5: {
|
|
514
|
+
label: "table.majorPenalties.short",
|
|
515
|
+
tooltip: "table.majorPenalties.tooltip",
|
|
516
|
+
sortOrders: [
|
|
517
|
+
{ target: "p5", direction: t },
|
|
518
|
+
{ target: "pim", direction: t }
|
|
519
|
+
]
|
|
520
|
+
},
|
|
521
|
+
p10: {
|
|
522
|
+
label: "table.misconducts.short",
|
|
523
|
+
tooltip: "table.misconducts.tooltip",
|
|
524
|
+
sortOrders: [
|
|
525
|
+
{ target: "p10", direction: t },
|
|
526
|
+
{ target: "pim", direction: t }
|
|
527
|
+
]
|
|
528
|
+
},
|
|
529
|
+
p20: {
|
|
530
|
+
label: "table.gameMisconducts.short",
|
|
531
|
+
tooltip: "table.gameMisconducts.tooltip",
|
|
532
|
+
sortOrders: [
|
|
533
|
+
{ target: "p20", direction: t },
|
|
534
|
+
{ target: "pim", direction: t }
|
|
535
|
+
]
|
|
536
|
+
},
|
|
537
|
+
p25: {
|
|
538
|
+
label: "table.matchPenalties.short",
|
|
539
|
+
tooltip: "table.matchPenalties.tooltip",
|
|
540
|
+
sortOrders: [
|
|
541
|
+
{ target: "p25", direction: t },
|
|
542
|
+
{ target: "pim", direction: t }
|
|
543
|
+
]
|
|
544
|
+
},
|
|
545
|
+
pimPerGame: {
|
|
546
|
+
label: "table.pimPerGame.short",
|
|
547
|
+
tooltip: "table.pimPerGame.tooltip",
|
|
548
|
+
sortOrders: [{ target: "pimPerGame", direction: t }]
|
|
549
|
+
},
|
|
550
|
+
pim: {
|
|
551
|
+
label: "table.pim.short",
|
|
552
|
+
tooltip: "table.pim.tooltip",
|
|
553
|
+
sortOrders: [{ target: "pim", direction: t }]
|
|
554
|
+
}
|
|
555
|
+
}, d = {
|
|
556
|
+
index: {
|
|
557
|
+
label: "table.blank",
|
|
558
|
+
class: "is-text-left"
|
|
559
|
+
},
|
|
560
|
+
teamLogo: {
|
|
561
|
+
label: "",
|
|
562
|
+
class: "is-has-image"
|
|
563
|
+
},
|
|
564
|
+
teamName: {
|
|
565
|
+
label: "table.team.short",
|
|
566
|
+
tooltip: "table.team.tooltip",
|
|
567
|
+
class: "is-text-left is-w-auto is-text-bold",
|
|
568
|
+
sortOrders: [{ target: "teamName", direction: e }]
|
|
569
|
+
},
|
|
570
|
+
gp: {
|
|
571
|
+
label: "table.game.short",
|
|
572
|
+
tooltip: "table.game.tooltip",
|
|
573
|
+
sortOrders: [{ target: "gp", direction: t }]
|
|
574
|
+
},
|
|
575
|
+
dvg: {
|
|
576
|
+
label: "table.powerplayDisadvantages.short",
|
|
577
|
+
tooltip: "table.powerplayDisadvantages.tooltip",
|
|
578
|
+
sortOrders: [{ target: "dvg", direction: t }]
|
|
579
|
+
},
|
|
580
|
+
dvgTimeMin: {
|
|
581
|
+
label: "table.dvgTime.short",
|
|
582
|
+
tooltip: "table.dvgTime.tooltip",
|
|
583
|
+
sortOrders: [{ target: "dvgTime", direction: t }]
|
|
584
|
+
},
|
|
585
|
+
dvgTimePP1Min: {
|
|
586
|
+
label: "table.dvgTimePP1.short",
|
|
587
|
+
tooltip: "table.dvgTimePP1.tooltip",
|
|
588
|
+
sortOrders: [{ target: "dvgTimePP1", direction: t }]
|
|
589
|
+
},
|
|
590
|
+
dvgTimePP2Min: {
|
|
591
|
+
label: "table.dvgTimePP2.short",
|
|
592
|
+
tooltip: "table.dvgTimePP2.tooltip",
|
|
593
|
+
sortOrders: [{ target: "dvgTimePP2", direction: t }]
|
|
594
|
+
},
|
|
595
|
+
ppga: {
|
|
596
|
+
label: "table.ppga.short",
|
|
597
|
+
tooltip: "table.ppga.tooltip",
|
|
598
|
+
sortOrders: [{ target: "ppga", direction: t }]
|
|
599
|
+
},
|
|
600
|
+
shgf: {
|
|
601
|
+
label: "table.shgf.short",
|
|
602
|
+
tooltip: "table.shgf.tooltip",
|
|
603
|
+
sortOrders: [{ target: "shgf", direction: t }]
|
|
604
|
+
},
|
|
605
|
+
pkPercent: {
|
|
606
|
+
label: "table.pkPercent.short",
|
|
607
|
+
tooltip: "table.pkPercent.tooltip",
|
|
608
|
+
sortOrders: [{ target: "pkPercent", direction: t }]
|
|
609
|
+
}
|
|
610
|
+
}, n = {
|
|
611
|
+
index: {
|
|
612
|
+
label: "table.blank",
|
|
613
|
+
class: "is-text-left"
|
|
614
|
+
},
|
|
615
|
+
teamLogo: {
|
|
616
|
+
label: "",
|
|
617
|
+
class: "is-has-image"
|
|
618
|
+
},
|
|
619
|
+
teamName: {
|
|
620
|
+
label: "table.team.short",
|
|
621
|
+
tooltip: "table.team.tooltip",
|
|
622
|
+
class: "is-text-left is-w-auto is-text-bold",
|
|
623
|
+
sortOrders: [{ target: "teamName", direction: e }]
|
|
624
|
+
},
|
|
625
|
+
gp: {
|
|
626
|
+
label: "table.game.short",
|
|
627
|
+
tooltip: "table.game.tooltip",
|
|
628
|
+
sortOrders: [{ target: "gp", direction: t }]
|
|
629
|
+
},
|
|
630
|
+
adv: {
|
|
631
|
+
label: "table.adv.short",
|
|
632
|
+
tooltip: "table.adv.tooltip",
|
|
633
|
+
sortOrders: [{ target: "adv", direction: t }]
|
|
634
|
+
},
|
|
635
|
+
advTimeMin: {
|
|
636
|
+
label: "table.advTime.short",
|
|
637
|
+
tooltip: "table.advTime.tooltip",
|
|
638
|
+
sortOrders: [{ target: "advTime", direction: t }]
|
|
639
|
+
},
|
|
640
|
+
advTimePP1Min: {
|
|
641
|
+
label: "table.advTimePP1.short",
|
|
642
|
+
tooltip: "table.advTimePP1.tooltip",
|
|
643
|
+
sortOrders: [{ target: "advTimePP1", direction: t }]
|
|
644
|
+
},
|
|
645
|
+
advTimePP2Min: {
|
|
646
|
+
label: "table.advTimePP2.short",
|
|
647
|
+
tooltip: "table.advTimePP2.tooltip",
|
|
648
|
+
sortOrders: [{ target: "advTimePP2", direction: t }]
|
|
649
|
+
},
|
|
650
|
+
ppgf: {
|
|
651
|
+
label: "table.ppgf.short",
|
|
652
|
+
tooltip: "table.ppgf.tooltip",
|
|
653
|
+
sortOrders: [{ target: "ppgf", direction: t }]
|
|
654
|
+
},
|
|
655
|
+
shga: {
|
|
656
|
+
label: "table.shga.short",
|
|
657
|
+
tooltip: "table.shga.tooltip",
|
|
658
|
+
sortOrders: [{ target: "shga", direction: t }]
|
|
659
|
+
},
|
|
660
|
+
ppPercent: {
|
|
661
|
+
label: "table.ppPercent.short",
|
|
662
|
+
tooltip: "table.ppPercent.tooltip",
|
|
663
|
+
sortOrders: [{ target: "ppPercent", direction: t }]
|
|
664
|
+
}
|
|
665
|
+
}, m = {
|
|
666
|
+
index: {
|
|
667
|
+
label: "table.blank",
|
|
668
|
+
class: "is-text-left"
|
|
669
|
+
},
|
|
670
|
+
teamLogo: {
|
|
671
|
+
label: "",
|
|
672
|
+
class: "is-has-image"
|
|
673
|
+
},
|
|
674
|
+
teamName: {
|
|
675
|
+
label: "table.team.short",
|
|
676
|
+
tooltip: "table.team.tooltip",
|
|
677
|
+
class: "is-text-left is-w-auto is-text-bold",
|
|
678
|
+
sortOrders: [{ target: "teamName", direction: e }]
|
|
679
|
+
},
|
|
680
|
+
gp: {
|
|
681
|
+
label: "table.game.short",
|
|
682
|
+
tooltip: "table.game.tooltip",
|
|
683
|
+
sortOrders: [{ target: "gp", direction: t }]
|
|
684
|
+
},
|
|
685
|
+
gf: {
|
|
686
|
+
label: "table.goalFor.short",
|
|
687
|
+
tooltip: "table.goalFor.tooltip",
|
|
688
|
+
sortOrders: [{ target: "gf", direction: t }]
|
|
689
|
+
},
|
|
690
|
+
ga: {
|
|
691
|
+
label: "table.goalAgainst.short",
|
|
692
|
+
tooltip: "table.goalAgainst.tooltip",
|
|
693
|
+
sortOrders: [{ target: "ga", direction: e }]
|
|
694
|
+
},
|
|
695
|
+
gd: {
|
|
696
|
+
label: "table.goalDiff.short",
|
|
697
|
+
tooltip: "table.goalDiff.tooltip",
|
|
698
|
+
sortOrders: [{ target: "gd", direction: t }]
|
|
699
|
+
},
|
|
700
|
+
gfPerGp: {
|
|
701
|
+
label: "table.gfgp.short",
|
|
702
|
+
tooltip: "table.gfgp.tooltip",
|
|
703
|
+
sortOrders: [{ target: "gfPerGp", direction: t }]
|
|
704
|
+
},
|
|
705
|
+
gaPerGp: {
|
|
706
|
+
label: "table.gagp.short",
|
|
707
|
+
tooltip: "table.gagp.tooltip",
|
|
708
|
+
sortOrders: [{ target: "gaPerGp", direction: e }]
|
|
709
|
+
},
|
|
710
|
+
s: {
|
|
711
|
+
label: "table.sog.short",
|
|
712
|
+
tooltip: "table.sog.tooltip",
|
|
713
|
+
sortOrders: [{ target: "s", direction: t }]
|
|
714
|
+
},
|
|
715
|
+
sa: {
|
|
716
|
+
label: "table.sa.short",
|
|
717
|
+
tooltip: "table.sa.tooltip",
|
|
718
|
+
sortOrders: [{ target: "sa", direction: e }]
|
|
719
|
+
},
|
|
720
|
+
shotsPerGp: {
|
|
721
|
+
label: "table.sogp.short",
|
|
722
|
+
tooltip: "table.sogp.tooltip",
|
|
723
|
+
sortOrders: [{ target: "shotsPerGp", direction: t }]
|
|
724
|
+
},
|
|
725
|
+
saPerGp: {
|
|
726
|
+
label: "table.sagp.short",
|
|
727
|
+
tooltip: "table.sagp.tooltip",
|
|
728
|
+
sortOrders: [{ target: "shotsPerGp", direction: e }]
|
|
729
|
+
},
|
|
730
|
+
sp: {
|
|
731
|
+
label: "table.sogPercent.short",
|
|
732
|
+
tooltip: "table.sogPercent.tooltip",
|
|
733
|
+
sortOrders: [{ target: "sp", direction: t }]
|
|
734
|
+
}
|
|
735
|
+
};
|
|
736
|
+
export {
|
|
737
|
+
i as COLUMNS_FIELD_PLAYERS,
|
|
738
|
+
s as COLUMNS_FIELD_PLAYERS_PENALTY,
|
|
739
|
+
b as COLUMNS_GOALIES,
|
|
740
|
+
a as COLUMNS_SCHEDULE,
|
|
741
|
+
m as COLUMNS_SCORING_EFFICIENCY,
|
|
742
|
+
r as COLUMNS_STANDINGS_P_2,
|
|
743
|
+
l as COLUMNS_STANDINGS_P_3,
|
|
744
|
+
g as COLUMNS_TEAMS_FAIRPLAY,
|
|
745
|
+
d as COLUMNS_TEAMS_PENALTY_KILLING,
|
|
746
|
+
n as COLUMNS_TEAMS_POWERPLAY,
|
|
747
|
+
p as COLUMNS_TEAM_ATTENDANCE
|
|
748
|
+
};
|