@mjsz-vbr-elements/core 2.33.1 → 2.34.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-ypwhJVm-.js +1 -1
- package/dist/columns.js +1 -1
- package/dist/components.js +1 -1
- package/dist/composables.js +1 -1
- package/dist/constants.js +12 -12
- package/dist/datetime-B_IKGlWy.js +1 -1
- package/dist/errors-C61Kgyqj.js +1 -1
- 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 +45 -44
- package/dist/props.js +1 -1
- package/dist/useSort-CoM4Br_9.js +1 -1
- package/dist/utils.js +147 -124
- package/package.json +11 -2
package/dist/index.iife.js.br
CHANGED
|
Binary file
|
package/dist/index.iife.js.gz
CHANGED
|
Binary file
|
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* name: @mjsz-vbr-elements/core
|
|
3
|
-
* version: v2.
|
|
3
|
+
* version: v2.34.0 - 15/12/2025, 12:55:57
|
|
4
4
|
* (c) 2025
|
|
5
5
|
* description: Data visualization for MJSZ VBR
|
|
6
6
|
* author: Ákos Stegner <akos.stegner@gmail.com>
|
|
@@ -13,8 +13,8 @@ import "vue";
|
|
|
13
13
|
import { AVAILABLE_TIMEZONES_BY_COUNTRY as _e, DEFAULT_EXTERNAL_GAME_URL as Te, DEFAULT_EXTERNAL_PLAYER_URL as Ee, DEFAULT_EXTERNAL_STATISTIC_URL as me, DEFAULT_EXTERNAL_TEAM_URL as Le, DEFAULT_PORTRAIT_IMAGE_URL as ce, FLAG_BASE_URL as Ae, LAZY_LOADING_STATE_DELAY as Ne, LOCALE_FOR_LANG as Re, REFRESH_DELAY as de, SORT_STATE_ASCEND as fe, SORT_STATE_DESCEND as pe, SORT_STATE_ORIGINAL as ve, VBR_API_BASE_URL as Ce } from "./constants.js";
|
|
14
14
|
import { baseProps as Pe, gameProps as ue, playerStatsProps as Ie, teamStatsProps as Me } from "./props.js";
|
|
15
15
|
import { X as De, V as ge, W as Fe, T as ye, c as Ge, S as he, E as xe, K as Be, i as be, z as Ye, A as ke, B as we, k as We, m as Ve, n as je, e as ze, f as Xe, h as He, o as Ke, G as Ze, g as qe, a as Je, F as Qe, Y as $e, D as ea, Z as aa, l as sa, _ as ra, Q as ta, $ as oa, H as na, a0 as ia, p as Sa, a1 as la, r as _a, M as Ta, O as Ea, a2 as ma, s as La, v as ca, q as Aa, y as Na, a3 as Ra, U as da, J as fa, w as pa, C as va, j as Ca, L as Oa, t as Pa, b as ua, d as Ia, N as Ma, I as Ua, R as Da, x as ga, P as Fa, u as ya } from "./errors-C61Kgyqj.js";
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
16
|
+
import { clone as ha, cookie as xa, externalGameLinkResolver as Ba, externalPlayerLinkResolver as ba, externalStatisticLinkResolver as Ya, externalTeamLinkResolver as ka, flagResolver as wa, getWebsocketURL as Wa, isNotEmpty as Va, resolveApiKey as ja, scrollToTop as za, sum as Xa } from "./utils.js";
|
|
17
|
+
import { n as Ka, b as Za, c as qa, a as Ja, l as Qa, m as $a, q as es, D as as, f as ss, g as rs, j as ts, h as os, d as ns, u as is, e as Ss, i as ls, k as _s, v as Ts, t as Es, r as ms, o as Ls, w as cs, x as As, z as Ns, A as Rs, p as ds, s as fs, C as ps, B as vs, y as Cs } from "./datetime-B_IKGlWy.js";
|
|
18
18
|
function i({ app: e = null, modules: a = [], apiKey: r, gameResolver: t, teamResolver: o, playerResolver: n }) {
|
|
19
19
|
if (window.__MJSZ_VBR_WIDGET__ = { apiKey: r, gameResolver: t, teamResolver: o, playerResolver: n }, a.length === 0)
|
|
20
20
|
throw new Error("At least one module must be set");
|
|
@@ -79,85 +79,86 @@ export {
|
|
|
79
79
|
ge as UndefinedColumn,
|
|
80
80
|
Ce as VBR_API_BASE_URL,
|
|
81
81
|
Fe as WidgetError,
|
|
82
|
-
|
|
82
|
+
Ka as addDays,
|
|
83
83
|
ye as appendTo,
|
|
84
84
|
Pe as baseProps,
|
|
85
|
-
|
|
85
|
+
ha as clone,
|
|
86
86
|
Ge as convert,
|
|
87
87
|
he as convertAddress,
|
|
88
88
|
xe as convertGameEvents,
|
|
89
89
|
Be as convertGameOfficials,
|
|
90
90
|
be as convertGamePeriodResults,
|
|
91
|
-
|
|
92
|
-
|
|
91
|
+
Za as convertMinToMinSec,
|
|
92
|
+
qa as convertMinToSec,
|
|
93
93
|
Ye as convertPenaltyCauseName,
|
|
94
94
|
ke as convertPeriodResults,
|
|
95
95
|
we as convertPeriodResultsToArray,
|
|
96
96
|
We as convertPhaseName,
|
|
97
97
|
Ve as convertSeasons,
|
|
98
|
-
|
|
98
|
+
Ja as convertSecToMin,
|
|
99
99
|
je as convertTeams,
|
|
100
100
|
ze as convertTimes,
|
|
101
101
|
Xe as convertTimesMinToMinSec,
|
|
102
102
|
He as convertTimesSecToMin,
|
|
103
|
+
xa as cookie,
|
|
103
104
|
i as createConfig,
|
|
104
105
|
X as createI18n,
|
|
105
|
-
|
|
106
|
-
|
|
106
|
+
Qa as currentWeek,
|
|
107
|
+
$a as currentWeekStartEnd,
|
|
107
108
|
l as default,
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
109
|
+
es as endOfMonth,
|
|
110
|
+
Ba as externalGameLinkResolver,
|
|
111
|
+
ba as externalPlayerLinkResolver,
|
|
112
|
+
Ya as externalStatisticLinkResolver,
|
|
113
|
+
ka as externalTeamLinkResolver,
|
|
113
114
|
re as fetchVBRData,
|
|
114
|
-
|
|
115
|
+
as as filterAllowedClasses,
|
|
115
116
|
Ke as filterAndSortSections,
|
|
116
117
|
Ze as filterGoalScorersFromEvents,
|
|
117
|
-
|
|
118
|
-
|
|
118
|
+
wa as flagResolver,
|
|
119
|
+
ss as format,
|
|
119
120
|
qe as gameDateTime,
|
|
120
121
|
ue as gameProps,
|
|
121
122
|
Je as gameResult,
|
|
122
|
-
|
|
123
|
-
|
|
123
|
+
rs as getLocalTimezone,
|
|
124
|
+
Wa as getWebsocketURL,
|
|
124
125
|
Qe as groupLines,
|
|
125
126
|
$e as head,
|
|
126
127
|
H as i18n,
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
128
|
+
ts as isAfter,
|
|
129
|
+
os as isBefore,
|
|
130
|
+
ns as isBetween,
|
|
131
|
+
is as isEmpty,
|
|
132
|
+
Va as isNotEmpty,
|
|
133
|
+
Ss as isSame,
|
|
134
|
+
ls as isSameOrBefore,
|
|
135
|
+
_s as isToday,
|
|
135
136
|
ea as joinOfficals,
|
|
136
137
|
aa as last,
|
|
137
138
|
sa as localeSort,
|
|
138
|
-
|
|
139
|
-
|
|
139
|
+
Ts as map,
|
|
140
|
+
Es as max,
|
|
140
141
|
ra as mergeLeft,
|
|
141
142
|
ta as mergePlayerStats,
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
143
|
+
ms as min,
|
|
144
|
+
Ls as offsetName,
|
|
145
|
+
cs as omit,
|
|
146
|
+
As as path,
|
|
146
147
|
oa as pick,
|
|
147
148
|
na as pickCoaches,
|
|
148
149
|
ia as pipe,
|
|
149
150
|
Sa as playerName,
|
|
150
151
|
Ie as playerStatsProps,
|
|
151
|
-
|
|
152
|
+
Ns as prop,
|
|
152
153
|
la as propEq,
|
|
153
154
|
_a as rawConvert,
|
|
154
|
-
|
|
155
|
+
Rs as reject,
|
|
155
156
|
Ta as removeCurrentFromSeasonStats,
|
|
156
157
|
Ea as removeUnneededPhases,
|
|
157
|
-
|
|
158
|
+
ja as resolveApiKey,
|
|
158
159
|
ma as reverse,
|
|
159
160
|
La as scheduleOptionalRowClass,
|
|
160
|
-
|
|
161
|
+
za as scrollToTop,
|
|
161
162
|
ca as selectFirstPhaseName,
|
|
162
163
|
Aa as selectFirstSectionId,
|
|
163
164
|
Na as selectLastSections,
|
|
@@ -168,15 +169,15 @@ export {
|
|
|
168
169
|
va as sortByStartingFive,
|
|
169
170
|
Ca as sortGames,
|
|
170
171
|
Oa as standingTableSort,
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
172
|
+
ds as startOfMonth,
|
|
173
|
+
fs as subtractDays,
|
|
174
|
+
Xa as sum,
|
|
174
175
|
Pa as teamName,
|
|
175
176
|
ua as teamOpponent,
|
|
176
177
|
Ia as teamResultType,
|
|
177
178
|
Me as teamStatsProps,
|
|
178
|
-
|
|
179
|
-
|
|
179
|
+
ps as templateReplacer,
|
|
180
|
+
vs as toKebabCase,
|
|
180
181
|
Ma as transformCurrentSeasonStats,
|
|
181
182
|
Ua as transformEventsForGameTimeline,
|
|
182
183
|
Da as transformFieledPlayersStats,
|
|
@@ -196,5 +197,5 @@ export {
|
|
|
196
197
|
ee as useSort,
|
|
197
198
|
Se as useVisibilityChange,
|
|
198
199
|
ae as validateColumnsName,
|
|
199
|
-
|
|
200
|
+
Cs as yearToNow
|
|
200
201
|
};
|
package/dist/props.js
CHANGED
package/dist/useSort-CoM4Br_9.js
CHANGED
package/dist/utils.js
CHANGED
|
@@ -1,148 +1,171 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* name: @mjsz-vbr-elements/core
|
|
3
|
-
* version: v2.
|
|
3
|
+
* version: v2.34.0 - 15/12/2025, 12:55:57
|
|
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 { a4 as
|
|
9
|
-
import { X as
|
|
10
|
-
import { G as
|
|
11
|
-
import { n as
|
|
12
|
-
import {
|
|
13
|
-
var
|
|
14
|
-
return Number(e) + Number(
|
|
15
|
-
}),
|
|
16
|
-
return e != null && typeof e.clone == "function" ? e.clone() :
|
|
17
|
-
}),
|
|
18
|
-
return !
|
|
19
|
-
}),
|
|
8
|
+
import { a4 as c, a5 as l } from "./errors-C61Kgyqj.js";
|
|
9
|
+
import { X as G, V as M, W as F, T as B, c as D, S as $, E as O, K as W, i as X, z as j, A as K, B as q, k as z, m as V, n as J, e as Y, f as Z, h as H, o as Q, G as ee, g as se, a as te, F as ae, Y as re, D as oe, Z as ne, l as ie, _ as ce, Q as le, $ as fe, H as ue, a0 as me, p as de, a1 as ve, r as Te, M as pe, O as Re, a2 as Se, s as ye, v as Ee, q as ge, y as Le, a3 as Ue, U as _e, J as Ae, w as he, C as ke, j as Ce, L as Ne, t as we, b as xe, d as Pe, N as Ie, I as be, R as Ge, x as Me, P as Fe, u as Be } from "./errors-C61Kgyqj.js";
|
|
10
|
+
import { G as f, M as i, u, C as r } from "./datetime-B_IKGlWy.js";
|
|
11
|
+
import { n as $e, b as Oe, c as We, a as Xe, l as je, m as Ke, q as qe, D as ze, f as Ve, g as Je, j as Ye, h as Ze, d as He, e as Qe, i as es, k as ss, v as ts, t as as, r as rs, o as os, w as ns, x as is, z as cs, A as ls, p as fs, s as us, B as ms, y as ds } from "./datetime-B_IKGlWy.js";
|
|
12
|
+
import { FLAG_BASE_URL as m, DEFAULT_EXTERNAL_GAME_URL as d, DEFAULT_EXTERNAL_TEAM_URL as v, DEFAULT_EXTERNAL_PLAYER_URL as T, DEFAULT_EXTERNAL_STATISTIC_URL as p } from "./constants.js";
|
|
13
|
+
var R = /* @__PURE__ */ f(function(e, t) {
|
|
14
|
+
return Number(e) + Number(t);
|
|
15
|
+
}), g = /* @__PURE__ */ i(function(e) {
|
|
16
|
+
return e != null && typeof e.clone == "function" ? e.clone() : c(e, !0);
|
|
17
|
+
}), L = /* @__PURE__ */ i(function(e) {
|
|
18
|
+
return !u(e);
|
|
19
|
+
}), U = /* @__PURE__ */ l(R, 0);
|
|
20
|
+
const _ = {
|
|
21
|
+
setCookie(s, e, t) {
|
|
22
|
+
const o = /* @__PURE__ */ new Date();
|
|
23
|
+
o.setTime(o.getTime() + t * 60 * 60 * 1e3);
|
|
24
|
+
const a = `expires=${o.toUTCString()}`;
|
|
25
|
+
document.cookie = `${s}=${e};${a};path=/`;
|
|
26
|
+
},
|
|
27
|
+
getCookie(s) {
|
|
28
|
+
const e = `${s}=`, t = document.cookie.split(";");
|
|
29
|
+
for (let o = 0; o < t.length; o++) {
|
|
30
|
+
let a = t[o];
|
|
31
|
+
for (; a.charAt(0) === " "; )
|
|
32
|
+
a = a.substring(1);
|
|
33
|
+
if (a.indexOf(e) === 0)
|
|
34
|
+
return a.substring(e.length, a.length);
|
|
35
|
+
}
|
|
36
|
+
return "";
|
|
37
|
+
},
|
|
38
|
+
checkCookie(s) {
|
|
39
|
+
return this.getCookie(s) !== "";
|
|
40
|
+
}
|
|
41
|
+
};
|
|
20
42
|
function A(s) {
|
|
21
|
-
return `${
|
|
43
|
+
return `${"".replace(/^https?/, "wss").replace("/vbr", "/socket/vbr")}${s}`;
|
|
22
44
|
}
|
|
23
|
-
const
|
|
24
|
-
function
|
|
45
|
+
const n = (s = "") => window?.__MJSZ_VBR_WIDGET__?.[s];
|
|
46
|
+
function h(s, e = {}) {
|
|
25
47
|
if (e.externalGameUrl)
|
|
26
48
|
return e.externalGameUrl;
|
|
27
|
-
const
|
|
28
|
-
return typeof
|
|
49
|
+
const t = n("gameResolver") || s;
|
|
50
|
+
return typeof t == "function" ? t(e) : encodeURI(t ? r(t, e) : r(d, e));
|
|
29
51
|
}
|
|
30
|
-
function
|
|
31
|
-
const
|
|
32
|
-
return typeof
|
|
52
|
+
function k(s, e = {}) {
|
|
53
|
+
const t = n("teamResolver") || s;
|
|
54
|
+
return typeof t == "function" ? t(e) : encodeURI(t ? r(t, e) : r(v, e));
|
|
33
55
|
}
|
|
34
|
-
function
|
|
35
|
-
const
|
|
36
|
-
return typeof
|
|
56
|
+
function C(s, e = {}) {
|
|
57
|
+
const t = n("playerResolver") || s;
|
|
58
|
+
return typeof t == "function" ? t(e) : encodeURI(t ? r(t, e) : r(T, e));
|
|
37
59
|
}
|
|
38
|
-
function
|
|
39
|
-
return typeof s == "function" ? s(e) : encodeURI(s ?
|
|
60
|
+
function N(s, e = {}) {
|
|
61
|
+
return typeof s == "function" ? s(e) : encodeURI(s ? r(s, e) : r(p, e));
|
|
40
62
|
}
|
|
41
|
-
const
|
|
42
|
-
function
|
|
43
|
-
return s || (
|
|
63
|
+
const w = (s, e = "1x1") => `${m}/flag:${s}-${e}.svg`;
|
|
64
|
+
function x(s) {
|
|
65
|
+
return s || (n("apiKey") ? n("apiKey") : "");
|
|
44
66
|
}
|
|
45
|
-
function
|
|
67
|
+
function P() {
|
|
46
68
|
window.scrollTo(0, 0);
|
|
47
69
|
}
|
|
48
70
|
export {
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
71
|
+
G as InvalidSeasonName,
|
|
72
|
+
M as UndefinedColumn,
|
|
73
|
+
F as WidgetError,
|
|
74
|
+
$e as addDays,
|
|
75
|
+
B as appendTo,
|
|
76
|
+
g as clone,
|
|
77
|
+
D as convert,
|
|
78
|
+
$ as convertAddress,
|
|
79
|
+
O as convertGameEvents,
|
|
80
|
+
W as convertGameOfficials,
|
|
81
|
+
X as convertGamePeriodResults,
|
|
82
|
+
Oe as convertMinToMinSec,
|
|
83
|
+
We as convertMinToSec,
|
|
84
|
+
j as convertPenaltyCauseName,
|
|
85
|
+
K as convertPeriodResults,
|
|
86
|
+
q as convertPeriodResultsToArray,
|
|
87
|
+
z as convertPhaseName,
|
|
66
88
|
V as convertSeasons,
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
89
|
+
Xe as convertSecToMin,
|
|
90
|
+
J as convertTeams,
|
|
91
|
+
Y as convertTimes,
|
|
92
|
+
Z as convertTimesMinToMinSec,
|
|
93
|
+
H as convertTimesSecToMin,
|
|
94
|
+
_ as cookie,
|
|
95
|
+
je as currentWeek,
|
|
96
|
+
Ke as currentWeekStartEnd,
|
|
97
|
+
qe as endOfMonth,
|
|
98
|
+
h as externalGameLinkResolver,
|
|
99
|
+
C as externalPlayerLinkResolver,
|
|
100
|
+
N as externalStatisticLinkResolver,
|
|
101
|
+
k as externalTeamLinkResolver,
|
|
102
|
+
ze as filterAllowedClasses,
|
|
103
|
+
Q as filterAndSortSections,
|
|
104
|
+
ee as filterGoalScorersFromEvents,
|
|
105
|
+
w as flagResolver,
|
|
83
106
|
Ve as format,
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
107
|
+
se as gameDateTime,
|
|
108
|
+
te as gameResult,
|
|
109
|
+
Je as getLocalTimezone,
|
|
87
110
|
A as getWebsocketURL,
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
111
|
+
ae as groupLines,
|
|
112
|
+
re as head,
|
|
113
|
+
Ye as isAfter,
|
|
114
|
+
Ze as isBefore,
|
|
115
|
+
He as isBetween,
|
|
116
|
+
u as isEmpty,
|
|
117
|
+
L as isNotEmpty,
|
|
118
|
+
Qe as isSame,
|
|
119
|
+
es as isSameOrBefore,
|
|
120
|
+
ss as isToday,
|
|
121
|
+
oe as joinOfficals,
|
|
122
|
+
ne as last,
|
|
123
|
+
ie as localeSort,
|
|
124
|
+
ts as map,
|
|
125
|
+
as as max,
|
|
126
|
+
ce as mergeLeft,
|
|
127
|
+
le as mergePlayerStats,
|
|
128
|
+
rs as min,
|
|
129
|
+
os as offsetName,
|
|
130
|
+
ns as omit,
|
|
131
|
+
is as path,
|
|
132
|
+
fe as pick,
|
|
133
|
+
ue as pickCoaches,
|
|
134
|
+
me as pipe,
|
|
135
|
+
de as playerName,
|
|
136
|
+
cs as prop,
|
|
137
|
+
ve as propEq,
|
|
138
|
+
Te as rawConvert,
|
|
139
|
+
ls as reject,
|
|
140
|
+
pe as removeCurrentFromSeasonStats,
|
|
118
141
|
Re as removeUnneededPhases,
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
142
|
+
x as resolveApiKey,
|
|
143
|
+
Se as reverse,
|
|
144
|
+
ye as scheduleOptionalRowClass,
|
|
145
|
+
P as scrollToTop,
|
|
146
|
+
Ee as selectFirstPhaseName,
|
|
147
|
+
ge as selectFirstSectionId,
|
|
148
|
+
Le as selectLastSections,
|
|
149
|
+
Ue as sortBy,
|
|
150
|
+
_e as sortByDomNode,
|
|
128
151
|
Ae as sortByEventTimeSec,
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
152
|
+
he as sortByPhaseId,
|
|
153
|
+
ke as sortByStartingFive,
|
|
154
|
+
Ce as sortGames,
|
|
155
|
+
Ne as standingTableSort,
|
|
156
|
+
fs as startOfMonth,
|
|
157
|
+
us as subtractDays,
|
|
158
|
+
U as sum,
|
|
159
|
+
we as teamName,
|
|
160
|
+
xe as teamOpponent,
|
|
161
|
+
Pe as teamResultType,
|
|
162
|
+
r as templateReplacer,
|
|
163
|
+
ms as toKebabCase,
|
|
164
|
+
Ie as transformCurrentSeasonStats,
|
|
165
|
+
be as transformEventsForGameTimeline,
|
|
166
|
+
Ge as transformFieledPlayersStats,
|
|
167
|
+
Me as transformPlayers,
|
|
168
|
+
Fe as transformRosters,
|
|
169
|
+
Be as upperCase,
|
|
170
|
+
ds as yearToNow
|
|
148
171
|
};
|
package/package.json
CHANGED
|
@@ -1,11 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mjsz-vbr-elements/core",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "2.
|
|
4
|
+
"version": "2.34.0",
|
|
5
5
|
"private": false,
|
|
6
6
|
"description": "Data visualization for MJSZ VBR",
|
|
7
7
|
"author": "Ákos Stegner <akos.stegner@gmail.com>",
|
|
8
|
+
"license": "MIT",
|
|
8
9
|
"homepage": "https://api.icehockey.hu/widgets/docs/v2/",
|
|
10
|
+
"repository": {
|
|
11
|
+
"type": "git",
|
|
12
|
+
"url": "https://github.com/jegkorongszovetseg/hihf-vbr-widget-v2.git"
|
|
13
|
+
},
|
|
9
14
|
"exports": {
|
|
10
15
|
".": {
|
|
11
16
|
"import": "./dist/index.js"
|
|
@@ -43,7 +48,7 @@
|
|
|
43
48
|
"dayjs": "^1.11.13",
|
|
44
49
|
"ramda": "^0.31.3",
|
|
45
50
|
"vue": "^3.5.22",
|
|
46
|
-
"@mjsz-vbr-elements/shared": "^2.
|
|
51
|
+
"@mjsz-vbr-elements/shared": "^2.34.0"
|
|
47
52
|
},
|
|
48
53
|
"devDependencies": {
|
|
49
54
|
"@vitejs/plugin-vue": "^6.0.0",
|
|
@@ -51,6 +56,10 @@
|
|
|
51
56
|
"vite-plugin-banner": "^0.8.1",
|
|
52
57
|
"vite-plugin-compression2": "^2.2.0"
|
|
53
58
|
},
|
|
59
|
+
"publishConfig": {
|
|
60
|
+
"access": "public",
|
|
61
|
+
"registry": "https://registry.npmjs.org"
|
|
62
|
+
},
|
|
54
63
|
"scripts": {
|
|
55
64
|
"build": "pnpm run build:esm && pnpm run build:browser",
|
|
56
65
|
"build:esm": "vite build",
|