@mjsz-vbr-elements/core 2.30.1 → 2.31.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-qP6OxXMD.js → TimezoneSelector-T8Y8aFc-.js} +4 -4
- package/dist/columns.js +1 -1
- package/dist/components.js +2 -2
- package/dist/composables.js +24 -24
- package/dist/constants.js +1 -1
- package/dist/datetime-bWwGbGlR.js +1395 -0
- package/dist/errors-DHx3LQ6t.js +708 -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 +149 -105
- package/dist/useSort-D5U_wkle.js +912 -0
- package/dist/utils.js +128 -76
- package/package.json +2 -2
- package/dist/datetime-D600LvsU.js +0 -1357
- package/dist/errors-B6O6sS7H.js +0 -554
- package/dist/useSort-BMv5JZAH.js +0 -943
package/dist/index.iife.js.br
CHANGED
|
Binary file
|
package/dist/index.iife.js.gz
CHANGED
|
Binary file
|
package/dist/index.js
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* name: @mjsz-vbr-elements/core
|
|
3
|
-
* version: v2.
|
|
3
|
+
* version: v2.31.0 - 27/10/2025, 14:23:29
|
|
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 { COLUMNS_FIELD_PLAYERS as
|
|
9
|
-
import { _ as D, a as
|
|
10
|
-
import { d as Z, i as q, u as J, a as Q, c as $, b as ee, e as ae, f as se, g as te, v as re } from "./useSort-
|
|
11
|
-
import { fetchVBRData as ne, useGameDataSocket as ie, usePage as le, useScrollToGameDate as Se, useServices as
|
|
8
|
+
import { COLUMNS_FIELD_PLAYERS as A, COLUMNS_FIELD_PLAYERS_PENALTY as d, COLUMNS_FIELD_PLAYERS_TOI as f, COLUMNS_GOALIES as p, COLUMNS_PLAYERS_NATIONAL as N, COLUMNS_SCHEDULE as u, COLUMNS_SCORING_EFFICIENCY as R, COLUMNS_STANDINGS_P_2 as v, COLUMNS_STANDINGS_P_3 as y, COLUMNS_STANDINGS_P_PER as P, COLUMNS_STANDINGS_SHORT as C, COLUMNS_TEAMS_FAIRPLAY as O, COLUMNS_TEAMS_PENALTY_KILLING as g, COLUMNS_TEAMS_POWERPLAY as I, COLUMNS_TEAM_ATTENDANCE as M } from "./columns.js";
|
|
9
|
+
import { _ as D, a as F, b as G, c as h, d as x, e as B, f as b, I as Y, g as k, h as w, i as W, j as V, k as j, l as z, m as K, n as X } from "./TimezoneSelector-T8Y8aFc-.js";
|
|
10
|
+
import { d as Z, i as q, u as J, a as Q, c as $, b as ee, e as ae, f as se, g as te, v as re } from "./useSort-D5U_wkle.js";
|
|
11
|
+
import { fetchVBRData as ne, useGameDataSocket as ie, usePage as le, useScrollToGameDate as Se, useServices as me, useVisibilityChange as Te } from "./composables.js";
|
|
12
12
|
import "vue";
|
|
13
|
-
import { AVAILABLE_TIMEZONES_BY_COUNTRY as
|
|
14
|
-
import {
|
|
15
|
-
import { n as
|
|
16
|
-
import { externalGameLinkResolver as
|
|
13
|
+
import { AVAILABLE_TIMEZONES_BY_COUNTRY as _e, DEFAULT_EXTERNAL_GAME_URL as Ee, DEFAULT_EXTERNAL_PLAYER_URL as Le, DEFAULT_EXTERNAL_STATISTIC_URL as Ae, DEFAULT_EXTERNAL_TEAM_URL as de, DEFAULT_PORTRAIT_IMAGE_URL as fe, FLAG_BASE_URL as pe, LAZY_LOADING_STATE_DELAY as Ne, LOCALE_FOR_LANG as ue, REFRESH_DELAY as Re, SORT_STATE_ASCEND as ve, SORT_STATE_DESCEND as ye, SORT_STATE_ORIGINAL as Pe, VBR_API_BASE_URL as Ce } from "./constants.js";
|
|
14
|
+
import { X as ge, V as Ie, W as Me, T as Ue, c as De, S as Fe, E as Ge, K as he, i as xe, z as Be, A as be, B as Ye, k as ke, m as we, n as We, e as Ve, f as je, h as ze, o as Ke, G as Xe, g as He, a as Ze, F as qe, Y as Je, D as Qe, Z as $e, l as ea, _ as aa, Q as sa, $ as ta, H as ra, a0 as oa, p as na, a1 as ia, r as la, M as Sa, O as ma, a2 as Ta, s as ca, v as _a, q as Ea, y as La, a3 as Aa, U as da, J as fa, w as pa, C as Na, j as ua, L as Ra, t as va, b as ya, d as Pa, N as Ca, I as Oa, R as ga, x as Ia, P as Ma, u as Ua } from "./errors-DHx3LQ6t.js";
|
|
15
|
+
import { n as Fa, b as Ga, c as ha, a as xa, l as Ba, m as ba, q as Ya, f as ka, g as wa, j as Wa, h as Va, d as ja, u as za, e as Ka, i as Xa, k as Ha, t as Za, r as qa, o as Ja, v as Qa, w as $a, x as es, z as as, p as ss, s as ts, B as rs, A as os, y as ns } from "./datetime-bWwGbGlR.js";
|
|
16
|
+
import { clone as ls, externalGameLinkResolver as Ss, externalPlayerLinkResolver as ms, externalStatisticLinkResolver as Ts, externalTeamLinkResolver as cs, flagResolver as _s, getWebsocketURL as Es, isNotEmpty as Ls, resolveApiKey as As, scrollToTop as ds, sum as fs } from "./utils.js";
|
|
17
17
|
const S = {
|
|
18
18
|
locale: {
|
|
19
19
|
type: String,
|
|
@@ -39,7 +39,7 @@ const S = {
|
|
|
39
39
|
type: String,
|
|
40
40
|
default: ""
|
|
41
41
|
}
|
|
42
|
-
},
|
|
42
|
+
}, m = {
|
|
43
43
|
externalTeamResolver: {
|
|
44
44
|
type: [String, Function],
|
|
45
45
|
default: ""
|
|
@@ -65,7 +65,7 @@ const S = {
|
|
|
65
65
|
type: Boolean,
|
|
66
66
|
default: !1
|
|
67
67
|
}
|
|
68
|
-
},
|
|
68
|
+
}, c = {
|
|
69
69
|
externalGameResolver: {
|
|
70
70
|
type: [String, Function],
|
|
71
71
|
default: ""
|
|
@@ -86,116 +86,160 @@ function i({ app: e = null, modules: a = [], apiKey: t, gameResolver: r, teamRes
|
|
|
86
86
|
s?.install();
|
|
87
87
|
});
|
|
88
88
|
}
|
|
89
|
-
const
|
|
89
|
+
const _ = {
|
|
90
90
|
install: (e, a = {}) => i({ app: e, ...a })
|
|
91
91
|
};
|
|
92
92
|
export {
|
|
93
|
-
|
|
93
|
+
_e as AVAILABLE_TIMEZONES_BY_COUNTRY,
|
|
94
94
|
D as AdditionalStandingsText,
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
95
|
+
F as BaseSelect,
|
|
96
|
+
A as COLUMNS_FIELD_PLAYERS,
|
|
97
|
+
d as COLUMNS_FIELD_PLAYERS_PENALTY,
|
|
98
|
+
f as COLUMNS_FIELD_PLAYERS_TOI,
|
|
99
|
+
p as COLUMNS_GOALIES,
|
|
100
|
+
N as COLUMNS_PLAYERS_NATIONAL,
|
|
101
|
+
u as COLUMNS_SCHEDULE,
|
|
102
|
+
R as COLUMNS_SCORING_EFFICIENCY,
|
|
103
|
+
v as COLUMNS_STANDINGS_P_2,
|
|
104
|
+
y as COLUMNS_STANDINGS_P_3,
|
|
105
|
+
P as COLUMNS_STANDINGS_P_PER,
|
|
106
|
+
C as COLUMNS_STANDINGS_SHORT,
|
|
107
|
+
O as COLUMNS_TEAMS_FAIRPLAY,
|
|
108
|
+
g as COLUMNS_TEAMS_PENALTY_KILLING,
|
|
109
|
+
I as COLUMNS_TEAMS_POWERPLAY,
|
|
110
|
+
M as COLUMNS_TEAM_ATTENDANCE,
|
|
111
|
+
Ee as DEFAULT_EXTERNAL_GAME_URL,
|
|
112
|
+
Le as DEFAULT_EXTERNAL_PLAYER_URL,
|
|
113
|
+
Ae as DEFAULT_EXTERNAL_STATISTIC_URL,
|
|
114
|
+
de as DEFAULT_EXTERNAL_TEAM_URL,
|
|
115
|
+
fe as DEFAULT_PORTRAIT_IMAGE_URL,
|
|
116
116
|
G as DataTable,
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
117
|
+
h as ErrorNotice,
|
|
118
|
+
x as ErrorProvider,
|
|
119
|
+
pe as FLAG_BASE_URL,
|
|
120
|
+
B as FetchMoreObserver,
|
|
121
|
+
b as FloatingPanel,
|
|
122
122
|
Y as I18NProvider,
|
|
123
123
|
k as Image,
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
124
|
+
ge as InvalidSeasonName,
|
|
125
|
+
Ne as LAZY_LOADING_STATE_DELAY,
|
|
126
|
+
ue as LOCALE_FOR_LANG,
|
|
127
127
|
w as LoadingIndicator,
|
|
128
128
|
W as Paginator,
|
|
129
|
-
|
|
129
|
+
Re as REFRESH_DELAY,
|
|
130
130
|
V as ResponsiveTable,
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
131
|
+
ve as SORT_STATE_ASCEND,
|
|
132
|
+
ye as SORT_STATE_DESCEND,
|
|
133
|
+
Pe as SORT_STATE_ORIGINAL,
|
|
134
|
+
j as ScheduleTable,
|
|
135
|
+
z as SeasonSelector,
|
|
136
|
+
K as StatisticsTable,
|
|
137
|
+
X as TimezoneSelector,
|
|
138
|
+
Ie as UndefinedColumn,
|
|
139
|
+
Ce as VBR_API_BASE_URL,
|
|
140
|
+
Me as WidgetError,
|
|
141
|
+
Fa as addDays,
|
|
142
|
+
Ue as appendTo,
|
|
143
143
|
S as baseProps,
|
|
144
|
+
ls as clone,
|
|
144
145
|
De as convert,
|
|
146
|
+
Fe as convertAddress,
|
|
147
|
+
Ge as convertGameEvents,
|
|
148
|
+
he as convertGameOfficials,
|
|
145
149
|
xe as convertGamePeriodResults,
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
150
|
+
Ga as convertMinToMinSec,
|
|
151
|
+
ha as convertMinToSec,
|
|
152
|
+
Be as convertPenaltyCauseName,
|
|
153
|
+
be as convertPeriodResults,
|
|
154
|
+
Ye as convertPeriodResultsToArray,
|
|
155
|
+
ke as convertPhaseName,
|
|
156
|
+
we as convertSeasons,
|
|
157
|
+
xa as convertSecToMin,
|
|
158
|
+
We as convertTeams,
|
|
159
|
+
Ve as convertTimes,
|
|
160
|
+
je as convertTimesMinToMinSec,
|
|
161
|
+
ze as convertTimesSecToMin,
|
|
153
162
|
i as createConfig,
|
|
154
163
|
Z as createI18n,
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
164
|
+
Ba as currentWeek,
|
|
165
|
+
ba as currentWeekStartEnd,
|
|
166
|
+
_ as default,
|
|
167
|
+
Ya as endOfMonth,
|
|
168
|
+
Ss as externalGameLinkResolver,
|
|
169
|
+
ms as externalPlayerLinkResolver,
|
|
170
|
+
Ts as externalStatisticLinkResolver,
|
|
171
|
+
cs as externalTeamLinkResolver,
|
|
163
172
|
ne as fetchVBRData,
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
173
|
+
Ke as filterAndSortSections,
|
|
174
|
+
Xe as filterGoalScorersFromEvents,
|
|
175
|
+
_s as flagResolver,
|
|
176
|
+
ka as format,
|
|
177
|
+
He as gameDateTime,
|
|
178
|
+
c as gameProps,
|
|
179
|
+
Ze as gameResult,
|
|
180
|
+
wa as getLocalTimezone,
|
|
181
|
+
Es as getWebsocketURL,
|
|
182
|
+
qe as groupLines,
|
|
183
|
+
Je as head,
|
|
171
184
|
q as i18n,
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
185
|
+
Wa as isAfter,
|
|
186
|
+
Va as isBefore,
|
|
187
|
+
ja as isBetween,
|
|
188
|
+
za as isEmpty,
|
|
189
|
+
Ls as isNotEmpty,
|
|
190
|
+
Ka as isSame,
|
|
191
|
+
Xa as isSameOrBefore,
|
|
192
|
+
Ha as isToday,
|
|
193
|
+
Qe as joinOfficals,
|
|
194
|
+
$e as last,
|
|
195
|
+
ea as localeSort,
|
|
196
|
+
Za as max,
|
|
197
|
+
aa as mergeLeft,
|
|
198
|
+
sa as mergePlayerStats,
|
|
199
|
+
qa as min,
|
|
200
|
+
Ja as offsetName,
|
|
201
|
+
Qa as omit,
|
|
202
|
+
$a as path,
|
|
203
|
+
ta as pick,
|
|
204
|
+
ra as pickCoaches,
|
|
205
|
+
oa as pipe,
|
|
206
|
+
na as playerName,
|
|
183
207
|
T as playerStatsProps,
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
208
|
+
es as prop,
|
|
209
|
+
ia as propEq,
|
|
210
|
+
la as rawConvert,
|
|
211
|
+
as as reject,
|
|
212
|
+
Sa as removeCurrentFromSeasonStats,
|
|
213
|
+
ma as removeUnneededPhases,
|
|
214
|
+
As as resolveApiKey,
|
|
215
|
+
Ta as reverse,
|
|
216
|
+
ca as scheduleOptionalRowClass,
|
|
217
|
+
ds as scrollToTop,
|
|
218
|
+
_a as selectFirstPhaseName,
|
|
219
|
+
Ea as selectFirstSectionId,
|
|
220
|
+
La as selectLastSections,
|
|
221
|
+
Aa as sortBy,
|
|
222
|
+
da as sortByDomNode,
|
|
223
|
+
fa as sortByEventTimeSec,
|
|
224
|
+
pa as sortByPhaseId,
|
|
225
|
+
Na as sortByStartingFive,
|
|
226
|
+
ua as sortGames,
|
|
227
|
+
Ra as standingTableSort,
|
|
228
|
+
ss as startOfMonth,
|
|
229
|
+
ts as subtractDays,
|
|
230
|
+
fs as sum,
|
|
231
|
+
va as teamName,
|
|
232
|
+
ya as teamOpponent,
|
|
233
|
+
Pa as teamResultType,
|
|
234
|
+
m as teamStatsProps,
|
|
235
|
+
rs as templateReplacer,
|
|
236
|
+
os as toKebabCase,
|
|
237
|
+
Ca as transformCurrentSeasonStats,
|
|
238
|
+
Oa as transformEventsForGameTimeline,
|
|
239
|
+
ga as transformFieledPlayersStats,
|
|
240
|
+
Ia as transformPlayers,
|
|
241
|
+
Ma as transformRosters,
|
|
242
|
+
Ua as upperCase,
|
|
199
243
|
J as useAdditionalText,
|
|
200
244
|
Q as useColumns,
|
|
201
245
|
$ as useError,
|
|
@@ -205,9 +249,9 @@ export {
|
|
|
205
249
|
se as useLazyLoadingState,
|
|
206
250
|
le as usePage,
|
|
207
251
|
Se as useScrollToGameDate,
|
|
208
|
-
|
|
252
|
+
me as useServices,
|
|
209
253
|
te as useSort,
|
|
210
254
|
Te as useVisibilityChange,
|
|
211
255
|
re as validateColumnsName,
|
|
212
|
-
|
|
256
|
+
ns as yearToNow
|
|
213
257
|
};
|