@mjsz-vbr-elements/core 2.32.0 → 2.33.0
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/{TimezoneSelector-DL0xsDYX.js → TimezoneSelector-ypwhJVm-.js} +942 -827
- package/dist/columns.js +57 -57
- package/dist/components.js +14 -13
- package/dist/composables.js +40 -38
- package/dist/constants.js +1 -1
- package/dist/{datetime-bWwGbGlR.js → datetime-B_IKGlWy.js} +379 -374
- package/dist/{errors-BUA-ZOiT.js → errors-C61Kgyqj.js} +185 -185
- 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 +171 -228
- package/dist/props.js +74 -0
- package/dist/{useSort-D5U_wkle.js → useSort-CoM4Br_9.js} +29 -29
- package/dist/utils.js +57 -55
- package/package.json +5 -2
package/dist/columns.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* name: @mjsz-vbr-elements/core
|
|
3
|
-
* version: v2.
|
|
3
|
+
* version: v2.33.0 - 25/11/2025, 21:00:09
|
|
4
4
|
* (c) 2025
|
|
5
5
|
* description: Data visualization for MJSZ VBR
|
|
6
6
|
* author: Ákos Stegner <akos.stegner@gmail.com>
|
|
@@ -10,22 +10,22 @@ const a = {
|
|
|
10
10
|
gameName: {
|
|
11
11
|
label: "table.gameName.short",
|
|
12
12
|
tooltip: "table.gameName.tooltip",
|
|
13
|
-
class: "
|
|
13
|
+
class: "text-start text-dimmed"
|
|
14
14
|
},
|
|
15
15
|
gameDateDate: {
|
|
16
16
|
label: "table.gameDate.short",
|
|
17
17
|
tooltip: "table.gameDate.tooltip",
|
|
18
|
-
class: "
|
|
18
|
+
class: "text-start"
|
|
19
19
|
},
|
|
20
20
|
gameDateTime: {
|
|
21
21
|
label: "table.gameDateTime.short",
|
|
22
22
|
tooltip: "table.gameDateTime.tooltip",
|
|
23
|
-
class: "
|
|
23
|
+
class: "text-start"
|
|
24
24
|
},
|
|
25
25
|
homeTeamName: {
|
|
26
26
|
label: "table.homeTeam.short",
|
|
27
27
|
tooltip: "table.homeTeam.tooltip",
|
|
28
|
-
class: "
|
|
28
|
+
class: "text-end w-auto font-bold"
|
|
29
29
|
},
|
|
30
30
|
homeTeamLogo: {
|
|
31
31
|
label: "",
|
|
@@ -33,7 +33,7 @@ const a = {
|
|
|
33
33
|
},
|
|
34
34
|
gameResult: {
|
|
35
35
|
label: "",
|
|
36
|
-
class: "
|
|
36
|
+
class: "font-bold text-xl"
|
|
37
37
|
},
|
|
38
38
|
gameResultType: {
|
|
39
39
|
label: "",
|
|
@@ -46,12 +46,12 @@ const a = {
|
|
|
46
46
|
awayTeamName: {
|
|
47
47
|
label: "table.awayTeam.short",
|
|
48
48
|
tooltip: "table.awayTeam.tooltip",
|
|
49
|
-
class: "
|
|
49
|
+
class: "text-start w-auto font-bold"
|
|
50
50
|
},
|
|
51
51
|
location: {
|
|
52
52
|
label: "table.location.short",
|
|
53
53
|
tooltip: "table.location.tooltip",
|
|
54
|
-
class: "
|
|
54
|
+
class: "text-start"
|
|
55
55
|
},
|
|
56
56
|
broadcast: {
|
|
57
57
|
label: "table.broadcast.short",
|
|
@@ -63,7 +63,7 @@ const a = {
|
|
|
63
63
|
}, l = {
|
|
64
64
|
index: {
|
|
65
65
|
label: "table.blank",
|
|
66
|
-
class: "
|
|
66
|
+
class: "text-start"
|
|
67
67
|
},
|
|
68
68
|
teamLogo: {
|
|
69
69
|
label: "",
|
|
@@ -72,7 +72,7 @@ const a = {
|
|
|
72
72
|
teamName: {
|
|
73
73
|
label: "table.team.short",
|
|
74
74
|
tooltip: "table.team.tooltip",
|
|
75
|
-
class: "
|
|
75
|
+
class: "text-start w-auto font-bold",
|
|
76
76
|
sortOrders: [{ target: "teamName", direction: e }]
|
|
77
77
|
},
|
|
78
78
|
gamesPlayed: {
|
|
@@ -131,7 +131,7 @@ const a = {
|
|
|
131
131
|
points: {
|
|
132
132
|
label: "table.points.short",
|
|
133
133
|
tooltip: "table.points.tooltip",
|
|
134
|
-
class: "
|
|
134
|
+
class: "font-bold",
|
|
135
135
|
sortOrders: [
|
|
136
136
|
{ target: "points", direction: t },
|
|
137
137
|
{ target: "gamesPlayed", direction: e },
|
|
@@ -140,10 +140,10 @@ const a = {
|
|
|
140
140
|
{ target: "gf", direction: t }
|
|
141
141
|
]
|
|
142
142
|
}
|
|
143
|
-
},
|
|
143
|
+
}, r = {
|
|
144
144
|
index: {
|
|
145
145
|
label: "table.blank",
|
|
146
|
-
class: "
|
|
146
|
+
class: "text-start"
|
|
147
147
|
},
|
|
148
148
|
teamLogo: {
|
|
149
149
|
label: "",
|
|
@@ -152,7 +152,7 @@ const a = {
|
|
|
152
152
|
teamName: {
|
|
153
153
|
label: "table.team.short",
|
|
154
154
|
tooltip: "table.team.tooltip",
|
|
155
|
-
class: "
|
|
155
|
+
class: "text-start w-auto font-bold",
|
|
156
156
|
sortOrders: [{ target: "teamName", direction: e }]
|
|
157
157
|
},
|
|
158
158
|
gamesPlayed: {
|
|
@@ -216,7 +216,7 @@ const a = {
|
|
|
216
216
|
points: {
|
|
217
217
|
label: "table.points.short",
|
|
218
218
|
tooltip: "table.points.tooltip",
|
|
219
|
-
class: "
|
|
219
|
+
class: "font-bold",
|
|
220
220
|
sortOrders: [
|
|
221
221
|
{ target: "points", direction: t },
|
|
222
222
|
{ target: "gamesPlayed", direction: e },
|
|
@@ -228,7 +228,7 @@ const a = {
|
|
|
228
228
|
}, s = {
|
|
229
229
|
index: {
|
|
230
230
|
label: "#",
|
|
231
|
-
class: "
|
|
231
|
+
class: "text-start"
|
|
232
232
|
},
|
|
233
233
|
teamLogo: {
|
|
234
234
|
label: "",
|
|
@@ -237,7 +237,7 @@ const a = {
|
|
|
237
237
|
teamName: {
|
|
238
238
|
label: "table.team.short",
|
|
239
239
|
tooltip: "table.team.tooltip",
|
|
240
|
-
class: "
|
|
240
|
+
class: "text-start w-auto font-bold",
|
|
241
241
|
sortOrders: [{ target: "teamName", direction: e }]
|
|
242
242
|
},
|
|
243
243
|
gamesPlayed: {
|
|
@@ -284,13 +284,13 @@ const a = {
|
|
|
284
284
|
points: {
|
|
285
285
|
label: "table.points.short",
|
|
286
286
|
tooltip: "table.points.tooltip",
|
|
287
|
-
class: "
|
|
287
|
+
class: "font-bold",
|
|
288
288
|
sortOrders: [{ target: "points", direction: t }]
|
|
289
289
|
}
|
|
290
|
-
},
|
|
290
|
+
}, i = {
|
|
291
291
|
index: {
|
|
292
292
|
label: "#",
|
|
293
|
-
class: "
|
|
293
|
+
class: "text-start italic text-dimmed"
|
|
294
294
|
},
|
|
295
295
|
teamLogo: {
|
|
296
296
|
label: "",
|
|
@@ -299,46 +299,46 @@ const a = {
|
|
|
299
299
|
teamName: {
|
|
300
300
|
label: "table.team.short",
|
|
301
301
|
tooltip: "table.team.tooltip",
|
|
302
|
-
class: "
|
|
302
|
+
class: "text-start w-auto font-bold"
|
|
303
303
|
},
|
|
304
304
|
gamesPlayed: {
|
|
305
305
|
label: "table.game.short",
|
|
306
306
|
tooltip: "table.game.tooltip",
|
|
307
|
-
class: "
|
|
307
|
+
class: "text-dimmed"
|
|
308
308
|
},
|
|
309
309
|
w: {
|
|
310
310
|
label: "table.wins.short",
|
|
311
311
|
tooltip: "table.wins.tooltip",
|
|
312
|
-
class: "
|
|
312
|
+
class: "text-dimmed"
|
|
313
313
|
},
|
|
314
314
|
l: {
|
|
315
315
|
label: "table.losses.short",
|
|
316
316
|
tooltip: "table.losses.tooltip",
|
|
317
|
-
class: "
|
|
317
|
+
class: "text-dimmed"
|
|
318
318
|
},
|
|
319
319
|
gd: {
|
|
320
320
|
label: "table.goalDiff.short",
|
|
321
321
|
tooltip: "table.goalDiff.tooltip",
|
|
322
|
-
class: "
|
|
322
|
+
class: "text-dimmed"
|
|
323
323
|
},
|
|
324
324
|
points: {
|
|
325
325
|
label: "table.points.short",
|
|
326
326
|
tooltip: "table.points.tooltip",
|
|
327
|
-
class: "
|
|
327
|
+
class: "font-bold"
|
|
328
328
|
}
|
|
329
329
|
}, b = {
|
|
330
330
|
index: {
|
|
331
331
|
label: "#",
|
|
332
|
-
class: "
|
|
332
|
+
class: "text-start"
|
|
333
333
|
},
|
|
334
334
|
playerPortrait: {
|
|
335
335
|
label: "",
|
|
336
|
-
class: "
|
|
336
|
+
class: "has-avatar"
|
|
337
337
|
},
|
|
338
338
|
name: {
|
|
339
339
|
label: "table.name.short",
|
|
340
340
|
tooltip: "table.name.tooltip",
|
|
341
|
-
class: "
|
|
341
|
+
class: "text-start w-auto font-bold",
|
|
342
342
|
sortOrders: [{ target: "name", direction: e }]
|
|
343
343
|
},
|
|
344
344
|
teamLogo: {
|
|
@@ -348,7 +348,7 @@ const a = {
|
|
|
348
348
|
teamName: {
|
|
349
349
|
label: "table.team.short",
|
|
350
350
|
tooltip: "table.team.tooltip",
|
|
351
|
-
class: "
|
|
351
|
+
class: "text-start w-auto",
|
|
352
352
|
sortOrders: [{ target: "teamName", direction: e }]
|
|
353
353
|
},
|
|
354
354
|
gp: {
|
|
@@ -395,16 +395,16 @@ const a = {
|
|
|
395
395
|
}, p = {
|
|
396
396
|
index: {
|
|
397
397
|
label: "table.blank",
|
|
398
|
-
class: "
|
|
398
|
+
class: "text-start"
|
|
399
399
|
},
|
|
400
400
|
playerPortrait: {
|
|
401
401
|
label: "",
|
|
402
|
-
class: "
|
|
402
|
+
class: "has-avatar"
|
|
403
403
|
},
|
|
404
404
|
name: {
|
|
405
405
|
label: "table.name.short",
|
|
406
406
|
tooltip: "table.name.tooltip",
|
|
407
|
-
class: "
|
|
407
|
+
class: "text-start w-auto font-bold",
|
|
408
408
|
sortOrders: [{ target: "name", direction: e }]
|
|
409
409
|
},
|
|
410
410
|
teamLogo: {
|
|
@@ -414,7 +414,7 @@ const a = {
|
|
|
414
414
|
teamName: {
|
|
415
415
|
label: "table.team.short",
|
|
416
416
|
tooltip: "table.team.tooltip",
|
|
417
|
-
class: "
|
|
417
|
+
class: "text-start w-auto",
|
|
418
418
|
sortOrders: [{ target: "teamName", direction: e }]
|
|
419
419
|
},
|
|
420
420
|
gp: {
|
|
@@ -470,16 +470,16 @@ const a = {
|
|
|
470
470
|
}, d = {
|
|
471
471
|
index: {
|
|
472
472
|
label: "#",
|
|
473
|
-
class: "
|
|
473
|
+
class: "text-start"
|
|
474
474
|
},
|
|
475
475
|
playerPortrait: {
|
|
476
476
|
label: "",
|
|
477
|
-
class: "
|
|
477
|
+
class: "has-avatar"
|
|
478
478
|
},
|
|
479
479
|
name: {
|
|
480
480
|
label: "table.name.short",
|
|
481
481
|
tooltip: "table.name.tooltip",
|
|
482
|
-
class: "
|
|
482
|
+
class: "text-start w-auto font-bold",
|
|
483
483
|
sortOrders: [{ target: "name", direction: e }]
|
|
484
484
|
},
|
|
485
485
|
teamLogo: {
|
|
@@ -489,7 +489,7 @@ const a = {
|
|
|
489
489
|
teamName: {
|
|
490
490
|
label: "table.team.short",
|
|
491
491
|
tooltip: "table.team.tooltip",
|
|
492
|
-
class: "
|
|
492
|
+
class: "text-start w-auto",
|
|
493
493
|
sortOrders: [{ target: "teamName", direction: e }]
|
|
494
494
|
},
|
|
495
495
|
gp: {
|
|
@@ -570,16 +570,16 @@ const a = {
|
|
|
570
570
|
}, g = {
|
|
571
571
|
index: {
|
|
572
572
|
label: "table.blank",
|
|
573
|
-
class: "
|
|
573
|
+
class: "text-start"
|
|
574
574
|
},
|
|
575
575
|
playerPortrait: {
|
|
576
576
|
label: "",
|
|
577
|
-
class: "
|
|
577
|
+
class: "has-avatar"
|
|
578
578
|
},
|
|
579
579
|
name: {
|
|
580
580
|
label: "table.name.short",
|
|
581
581
|
tooltip: "table.name.tooltip",
|
|
582
|
-
class: "
|
|
582
|
+
class: "text-start w-auto font-bold",
|
|
583
583
|
sortOrders: [{ target: "name", direction: e }]
|
|
584
584
|
},
|
|
585
585
|
teamLogo: {
|
|
@@ -589,7 +589,7 @@ const a = {
|
|
|
589
589
|
teamName: {
|
|
590
590
|
label: "table.team.short",
|
|
591
591
|
tooltip: "table.team.tooltip",
|
|
592
|
-
class: "
|
|
592
|
+
class: "text-start w-auto",
|
|
593
593
|
sortOrders: [{ target: "teamName", direction: e }]
|
|
594
594
|
},
|
|
595
595
|
gkd: {
|
|
@@ -645,16 +645,16 @@ const a = {
|
|
|
645
645
|
}, n = {
|
|
646
646
|
index: {
|
|
647
647
|
label: "#",
|
|
648
|
-
class: "
|
|
648
|
+
class: "text-start"
|
|
649
649
|
},
|
|
650
650
|
playerPortrait: {
|
|
651
651
|
label: "",
|
|
652
|
-
class: "
|
|
652
|
+
class: "has-avatar"
|
|
653
653
|
},
|
|
654
654
|
name: {
|
|
655
655
|
label: "table.name.short",
|
|
656
656
|
tooltip: "table.name.tooltip",
|
|
657
|
-
class: "
|
|
657
|
+
class: "text-start w-auto font-bold",
|
|
658
658
|
sortOrders: [{ target: "name", direction: e }]
|
|
659
659
|
},
|
|
660
660
|
gp: {
|
|
@@ -686,7 +686,7 @@ const a = {
|
|
|
686
686
|
}, c = {
|
|
687
687
|
index: {
|
|
688
688
|
label: "table.blank",
|
|
689
|
-
class: "
|
|
689
|
+
class: "text-start"
|
|
690
690
|
},
|
|
691
691
|
teamLogo: {
|
|
692
692
|
label: "",
|
|
@@ -695,7 +695,7 @@ const a = {
|
|
|
695
695
|
teamName: {
|
|
696
696
|
label: "table.team.short",
|
|
697
697
|
tooltip: "table.team.tooltip",
|
|
698
|
-
class: "
|
|
698
|
+
class: "text-start w-auto font-bold",
|
|
699
699
|
sortOrders: [{ target: "teamName", direction: e }]
|
|
700
700
|
},
|
|
701
701
|
home: {
|
|
@@ -755,7 +755,7 @@ const a = {
|
|
|
755
755
|
}, m = {
|
|
756
756
|
index: {
|
|
757
757
|
label: "table.blank",
|
|
758
|
-
class: "
|
|
758
|
+
class: "text-start"
|
|
759
759
|
},
|
|
760
760
|
teamLogo: {
|
|
761
761
|
label: "",
|
|
@@ -764,7 +764,7 @@ const a = {
|
|
|
764
764
|
teamName: {
|
|
765
765
|
label: "table.team.short",
|
|
766
766
|
tooltip: "table.team.tooltip",
|
|
767
|
-
class: "
|
|
767
|
+
class: "text-start w-auto font-bold",
|
|
768
768
|
sortOrders: [{ target: "teamName", direction: e }]
|
|
769
769
|
},
|
|
770
770
|
gp: {
|
|
@@ -825,7 +825,7 @@ const a = {
|
|
|
825
825
|
}, h = {
|
|
826
826
|
index: {
|
|
827
827
|
label: "table.blank",
|
|
828
|
-
class: "
|
|
828
|
+
class: "text-start"
|
|
829
829
|
},
|
|
830
830
|
teamLogo: {
|
|
831
831
|
label: "",
|
|
@@ -834,7 +834,7 @@ const a = {
|
|
|
834
834
|
teamName: {
|
|
835
835
|
label: "table.team.short",
|
|
836
836
|
tooltip: "table.team.tooltip",
|
|
837
|
-
class: "
|
|
837
|
+
class: "text-start w-auto font-bold",
|
|
838
838
|
sortOrders: [{ target: "teamName", direction: e }]
|
|
839
839
|
},
|
|
840
840
|
gp: {
|
|
@@ -880,7 +880,7 @@ const a = {
|
|
|
880
880
|
}, O = {
|
|
881
881
|
index: {
|
|
882
882
|
label: "table.blank",
|
|
883
|
-
class: "
|
|
883
|
+
class: "text-start"
|
|
884
884
|
},
|
|
885
885
|
teamLogo: {
|
|
886
886
|
label: "",
|
|
@@ -889,7 +889,7 @@ const a = {
|
|
|
889
889
|
teamName: {
|
|
890
890
|
label: "table.team.short",
|
|
891
891
|
tooltip: "table.team.tooltip",
|
|
892
|
-
class: "
|
|
892
|
+
class: "text-start w-auto font-bold",
|
|
893
893
|
sortOrders: [{ target: "teamName", direction: e }]
|
|
894
894
|
},
|
|
895
895
|
gp: {
|
|
@@ -935,7 +935,7 @@ const a = {
|
|
|
935
935
|
}, P = {
|
|
936
936
|
index: {
|
|
937
937
|
label: "table.blank",
|
|
938
|
-
class: "
|
|
938
|
+
class: "text-start"
|
|
939
939
|
},
|
|
940
940
|
teamLogo: {
|
|
941
941
|
label: "",
|
|
@@ -944,7 +944,7 @@ const a = {
|
|
|
944
944
|
teamName: {
|
|
945
945
|
label: "table.team.short",
|
|
946
946
|
tooltip: "table.team.tooltip",
|
|
947
|
-
class: "
|
|
947
|
+
class: "text-start w-auto font-bold",
|
|
948
948
|
sortOrders: [{ target: "teamName", direction: e }]
|
|
949
949
|
},
|
|
950
950
|
gp: {
|
|
@@ -1013,8 +1013,8 @@ export {
|
|
|
1013
1013
|
P as COLUMNS_SCORING_EFFICIENCY,
|
|
1014
1014
|
s as COLUMNS_STANDINGS_P_2,
|
|
1015
1015
|
l as COLUMNS_STANDINGS_P_3,
|
|
1016
|
-
|
|
1017
|
-
|
|
1016
|
+
r as COLUMNS_STANDINGS_P_PER,
|
|
1017
|
+
i as COLUMNS_STANDINGS_SHORT,
|
|
1018
1018
|
m as COLUMNS_TEAMS_FAIRPLAY,
|
|
1019
1019
|
h as COLUMNS_TEAMS_PENALTY_KILLING,
|
|
1020
1020
|
O as COLUMNS_TEAMS_POWERPLAY,
|
package/dist/components.js
CHANGED
|
@@ -1,26 +1,27 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* name: @mjsz-vbr-elements/core
|
|
3
|
-
* version: v2.
|
|
3
|
+
* version: v2.33.0 - 25/11/2025, 21:00:09
|
|
4
4
|
* (c) 2025
|
|
5
5
|
* description: Data visualization for MJSZ VBR
|
|
6
6
|
* author: Ákos Stegner <akos.stegner@gmail.com>
|
|
7
7
|
*/
|
|
8
|
-
import { _ as s, a as
|
|
8
|
+
import { _ as s, a as o, b as r, c as i, d as t, e as l, f as n, g as d, I as c, h as S, i as b, j as g, k as T, l as m, m as v, n as F, o as I } from "./TimezoneSelector-ypwhJVm-.js";
|
|
9
9
|
export {
|
|
10
10
|
s as AdditionalStandingsText,
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
11
|
+
o as BaseSelect,
|
|
12
|
+
r as DataTable,
|
|
13
|
+
i as ErrorNotice,
|
|
14
|
+
t as ErrorProvider,
|
|
15
15
|
l as FetchMoreObserver,
|
|
16
16
|
n as FloatingPanel,
|
|
17
|
+
d as FormField,
|
|
17
18
|
c as I18NProvider,
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
19
|
+
S as Image,
|
|
20
|
+
b as LoadingIndicator,
|
|
21
|
+
g as Paginator,
|
|
22
|
+
T as ResponsiveTable,
|
|
23
|
+
m as ScheduleTable,
|
|
24
|
+
v as SeasonSelector,
|
|
25
|
+
F as StatisticsTable,
|
|
25
26
|
I as TimezoneSelector
|
|
26
27
|
};
|
package/dist/composables.js
CHANGED
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* name: @mjsz-vbr-elements/core
|
|
3
|
-
* version: v2.
|
|
3
|
+
* version: v2.33.0 - 25/11/2025, 21:00:09
|
|
4
4
|
* (c) 2025
|
|
5
5
|
* description: Data visualization for MJSZ VBR
|
|
6
6
|
* author: Ákos Stegner <akos.stegner@gmail.com>
|
|
7
7
|
*/
|
|
8
|
-
import {
|
|
9
|
-
import { d as nt, i as rt, u as it, a as at, c as st, b as ot, e as ut, f as ct, g as ft, v as dt } from "./useSort-
|
|
10
|
-
import { unref as c, watch as
|
|
11
|
-
import { VBR_API_BASE_URL as
|
|
12
|
-
import {
|
|
13
|
-
var
|
|
8
|
+
import { k as D, l as E, p as b, h as I, q as P, n as d, r as T } from "./useSort-CoM4Br_9.js";
|
|
9
|
+
import { d as nt, i as rt, u as it, a as at, c as st, b as ot, e as ut, f as ct, g as ft, v as dt } from "./useSort-CoM4Br_9.js";
|
|
10
|
+
import { unref as c, watch as m, ref as B, nextTick as V } from "vue";
|
|
11
|
+
import { VBR_API_BASE_URL as O } from "./constants.js";
|
|
12
|
+
import { V as h, Z as x, G as y, Y as v, _ as R, z as $, u as A, i as g, f as C } from "./datetime-B_IKGlWy.js";
|
|
13
|
+
var G = /* @__PURE__ */ function() {
|
|
14
14
|
function e(t, n) {
|
|
15
15
|
this.xf = n, this.f = t, this.found = !1;
|
|
16
16
|
}
|
|
17
|
-
return e.prototype["@@transducer/init"] =
|
|
17
|
+
return e.prototype["@@transducer/init"] = h.init, e.prototype["@@transducer/result"] = function(t) {
|
|
18
18
|
return this.found || (t = this.xf["@@transducer/step"](t, void 0)), this.xf["@@transducer/result"](t);
|
|
19
19
|
}, e.prototype["@@transducer/step"] = function(t, n) {
|
|
20
20
|
return this.f(n) && (this.found = !0, t = x(this.xf["@@transducer/step"](t, n))), t;
|
|
21
21
|
}, e;
|
|
22
22
|
}();
|
|
23
|
-
function
|
|
23
|
+
function M(e) {
|
|
24
24
|
return function(t) {
|
|
25
|
-
return new
|
|
25
|
+
return new G(e, t);
|
|
26
26
|
};
|
|
27
27
|
}
|
|
28
|
-
var Y = /* @__PURE__ */ y(/* @__PURE__ */ v(["find"],
|
|
28
|
+
var Y = /* @__PURE__ */ y(/* @__PURE__ */ v(["find"], M, function(t, n) {
|
|
29
29
|
for (var r = 0, i = n.length; r < i; ) {
|
|
30
30
|
if (t(n[r]))
|
|
31
31
|
return n[r];
|
|
@@ -35,7 +35,7 @@ var Y = /* @__PURE__ */ y(/* @__PURE__ */ v(["find"], X, function(t, n) {
|
|
|
35
35
|
function e(t, n) {
|
|
36
36
|
this.xf = n, this.f = t, this.idx = -1, this.found = !1;
|
|
37
37
|
}
|
|
38
|
-
return e.prototype["@@transducer/init"] =
|
|
38
|
+
return e.prototype["@@transducer/init"] = h.init, e.prototype["@@transducer/result"] = function(t) {
|
|
39
39
|
return this.found || (t = this.xf["@@transducer/step"](t, -1)), this.xf["@@transducer/result"](t);
|
|
40
40
|
}, e.prototype["@@transducer/step"] = function(t, n) {
|
|
41
41
|
return this.idx += 1, this.f(n) && (this.found = !0, t = x(this.xf["@@transducer/step"](t, this.idx))), t;
|
|
@@ -46,42 +46,44 @@ function F(e) {
|
|
|
46
46
|
return new k(e, t);
|
|
47
47
|
};
|
|
48
48
|
}
|
|
49
|
-
var
|
|
49
|
+
var X = /* @__PURE__ */ y(/* @__PURE__ */ v([], F, function(t, n) {
|
|
50
50
|
for (var r = 0, i = n.length; r < i; ) {
|
|
51
51
|
if (t(n[r]))
|
|
52
52
|
return r;
|
|
53
53
|
r += 1;
|
|
54
54
|
}
|
|
55
55
|
return -1;
|
|
56
|
-
})), _ = /* @__PURE__ */
|
|
56
|
+
})), _ = /* @__PURE__ */ R(function(t, n, r) {
|
|
57
57
|
return t($(n, r));
|
|
58
58
|
});
|
|
59
|
-
async function
|
|
60
|
-
const r = `${
|
|
59
|
+
async function K(e, t, n) {
|
|
60
|
+
const r = `${O}${c(e)}${A(n) ? "" : `?${L(n)}`}`;
|
|
61
61
|
return new Promise((i, s) => {
|
|
62
62
|
fetch(r, {
|
|
63
63
|
method: "GET",
|
|
64
64
|
cache: "no-cache",
|
|
65
65
|
headers: {
|
|
66
66
|
"Content-Type": "application/json",
|
|
67
|
-
"X-API-KEY":
|
|
67
|
+
"X-API-KEY": J(t)
|
|
68
68
|
}
|
|
69
69
|
}).then((a) => a.json()).then((a) => {
|
|
70
70
|
if (a.error)
|
|
71
71
|
return s(a);
|
|
72
|
+
if (a.data.message)
|
|
73
|
+
return s(a.data);
|
|
72
74
|
i(a.data);
|
|
73
75
|
}).catch((a) => {
|
|
74
76
|
s(a);
|
|
75
77
|
});
|
|
76
78
|
});
|
|
77
79
|
}
|
|
78
|
-
function
|
|
80
|
+
function L(e) {
|
|
79
81
|
return Object.keys(e).map((t) => `${t}=${e[t]}`).join("&");
|
|
80
82
|
}
|
|
81
|
-
function
|
|
83
|
+
function J(e) {
|
|
82
84
|
return e || (window.__MJSZ_VBR_WIDGET__?.apiKey ? window.__MJSZ_VBR_WIDGET__.apiKey : "");
|
|
83
85
|
}
|
|
84
|
-
function
|
|
86
|
+
function q(e, t) {
|
|
85
87
|
const { open: n, close: r } = D(c(e), {
|
|
86
88
|
autoReconnect: {
|
|
87
89
|
retries: 3
|
|
@@ -92,7 +94,7 @@ function U(e, t) {
|
|
|
92
94
|
o.event !== "welcome" && (t.value = o.message);
|
|
93
95
|
}
|
|
94
96
|
});
|
|
95
|
-
return
|
|
97
|
+
return m(() => c(t).gameStatus, (i) => {
|
|
96
98
|
if (i === 1)
|
|
97
99
|
return n();
|
|
98
100
|
r();
|
|
@@ -102,12 +104,12 @@ function U(e, t) {
|
|
|
102
104
|
gameData: t
|
|
103
105
|
};
|
|
104
106
|
}
|
|
105
|
-
function
|
|
107
|
+
function z(e = {}) {
|
|
106
108
|
const { initial: t = 1, items: n = [], limit: r, auto: i = !1 } = e, s = B(c(t)), a = (u) => g(u, "day");
|
|
107
109
|
return E(n, () => {
|
|
108
110
|
if (!i)
|
|
109
111
|
return;
|
|
110
|
-
const u =
|
|
112
|
+
const u = X(_(a, "gameDate"))(c(n));
|
|
111
113
|
s.value = u === -1 ? 1 : Math.floor(u / r) + 1;
|
|
112
114
|
}), {
|
|
113
115
|
page: s,
|
|
@@ -116,7 +118,7 @@ function Z(e = {}) {
|
|
|
116
118
|
}
|
|
117
119
|
};
|
|
118
120
|
}
|
|
119
|
-
function
|
|
121
|
+
function Q(e = {}) {
|
|
120
122
|
const { items: t = [], element: n, offset: r = 0, enabled: i = !0 } = e, s = (o) => g(o, "day"), a = () => {
|
|
121
123
|
if (!c(i))
|
|
122
124
|
return;
|
|
@@ -126,8 +128,8 @@ function z(e = {}) {
|
|
|
126
128
|
const f = C(o.gameDate, "YYYY-MM-DD"), u = I(n).querySelector(`div[data-gamedate="${f}"]`);
|
|
127
129
|
if (!u)
|
|
128
130
|
return;
|
|
129
|
-
const
|
|
130
|
-
window.scrollTo(0,
|
|
131
|
+
const l = getComputedStyle(u).getPropertyValue("--mvw-sticky-top-offset") || 0, p = (u.getBoundingClientRect()?.top ?? 0) - c(r) - Number.parseFloat(l);
|
|
132
|
+
window.scrollTo(0, p);
|
|
131
133
|
};
|
|
132
134
|
b(
|
|
133
135
|
() => ({
|
|
@@ -135,13 +137,13 @@ function z(e = {}) {
|
|
|
135
137
|
element: c(n)
|
|
136
138
|
}),
|
|
137
139
|
async ({ items: o, element: f }) => {
|
|
138
|
-
o.length === 0 || !f || (await
|
|
140
|
+
o.length === 0 || !f || (await V(), a());
|
|
139
141
|
}
|
|
140
142
|
);
|
|
141
143
|
}
|
|
142
|
-
function
|
|
143
|
-
const { path: i, apiKey: s, params: a, resetOnExecute: o = !1, immediate: f = !1 } = e, { state: u, error:
|
|
144
|
-
() =>
|
|
144
|
+
function U({ options: e = {}, transform: t = (i) => i, onError: n = d, onSuccess: r = d }) {
|
|
145
|
+
const { path: i, apiKey: s, params: a, resetOnExecute: o = !1, immediate: f = !1 } = e, { state: u, error: l, isLoading: p, execute: S } = P(
|
|
146
|
+
() => K(i, s, c(a)).then((w) => t(w)),
|
|
145
147
|
[],
|
|
146
148
|
{
|
|
147
149
|
immediate: f,
|
|
@@ -152,14 +154,14 @@ function Q({ options: e = {}, transform: t = (i) => i, onError: n = d, onSuccess
|
|
|
152
154
|
);
|
|
153
155
|
return {
|
|
154
156
|
state: u,
|
|
155
|
-
error:
|
|
156
|
-
isLoading:
|
|
157
|
+
error: l,
|
|
158
|
+
isLoading: p,
|
|
157
159
|
execute: S
|
|
158
160
|
};
|
|
159
161
|
}
|
|
160
162
|
function H(e = !1, t = d, n = d) {
|
|
161
163
|
const r = T();
|
|
162
|
-
|
|
164
|
+
m(r, (i) => {
|
|
163
165
|
if (c(e)) {
|
|
164
166
|
if (i === "visible")
|
|
165
167
|
return t();
|
|
@@ -169,18 +171,18 @@ function H(e = !1, t = d, n = d) {
|
|
|
169
171
|
}
|
|
170
172
|
export {
|
|
171
173
|
nt as createI18n,
|
|
172
|
-
|
|
174
|
+
K as fetchVBRData,
|
|
173
175
|
rt as i18n,
|
|
174
176
|
it as useAdditionalText,
|
|
175
177
|
at as useColumns,
|
|
176
178
|
st as useError,
|
|
177
179
|
ot as useErrorProvider,
|
|
178
|
-
|
|
180
|
+
q as useGameDataSocket,
|
|
179
181
|
ut as useI18n,
|
|
180
182
|
ct as useLazyLoadingState,
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
183
|
+
z as usePage,
|
|
184
|
+
Q as useScrollToGameDate,
|
|
185
|
+
U as useServices,
|
|
184
186
|
ft as useSort,
|
|
185
187
|
H as useVisibilityChange,
|
|
186
188
|
dt as validateColumnsName
|
package/dist/constants.js
CHANGED