@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.
Binary file
Binary file
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * name: @mjsz-vbr-elements/core
3
- * version: v2.33.1 - 25/11/2025, 22:37:44
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 { n as ha, b as xa, c as Ba, a as ba, l as Ya, m as ka, q as wa, D as Wa, f as Va, g as ja, j as za, h as Xa, d as Ha, u as Ka, e as Za, i as qa, k as Ja, v as Qa, t as $a, r as es, o as as, w as ss, x as rs, z as ts, A as os, p as ns, s as is, C as Ss, B as ls, y as _s } from "./datetime-B_IKGlWy.js";
17
- import { clone as Es, externalGameLinkResolver as ms, externalPlayerLinkResolver as Ls, externalStatisticLinkResolver as cs, externalTeamLinkResolver as As, flagResolver as Ns, getWebsocketURL as Rs, isNotEmpty as ds, resolveApiKey as fs, scrollToTop as ps, sum as vs } from "./utils.js";
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
- ha as addDays,
82
+ Ka as addDays,
83
83
  ye as appendTo,
84
84
  Pe as baseProps,
85
- Es as clone,
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
- xa as convertMinToMinSec,
92
- Ba as convertMinToSec,
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
- ba as convertSecToMin,
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
- Ya as currentWeek,
106
- ka as currentWeekStartEnd,
106
+ Qa as currentWeek,
107
+ $a as currentWeekStartEnd,
107
108
  l as default,
108
- wa as endOfMonth,
109
- ms as externalGameLinkResolver,
110
- Ls as externalPlayerLinkResolver,
111
- cs as externalStatisticLinkResolver,
112
- As as externalTeamLinkResolver,
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
- Wa as filterAllowedClasses,
115
+ as as filterAllowedClasses,
115
116
  Ke as filterAndSortSections,
116
117
  Ze as filterGoalScorersFromEvents,
117
- Ns as flagResolver,
118
- Va as format,
118
+ wa as flagResolver,
119
+ ss as format,
119
120
  qe as gameDateTime,
120
121
  ue as gameProps,
121
122
  Je as gameResult,
122
- ja as getLocalTimezone,
123
- Rs as getWebsocketURL,
123
+ rs as getLocalTimezone,
124
+ Wa as getWebsocketURL,
124
125
  Qe as groupLines,
125
126
  $e as head,
126
127
  H as i18n,
127
- za as isAfter,
128
- Xa as isBefore,
129
- Ha as isBetween,
130
- Ka as isEmpty,
131
- ds as isNotEmpty,
132
- Za as isSame,
133
- qa as isSameOrBefore,
134
- Ja as isToday,
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
- Qa as map,
139
- $a as max,
139
+ Ts as map,
140
+ Es as max,
140
141
  ra as mergeLeft,
141
142
  ta as mergePlayerStats,
142
- es as min,
143
- as as offsetName,
144
- ss as omit,
145
- rs as path,
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
- ts as prop,
152
+ Ns as prop,
152
153
  la as propEq,
153
154
  _a as rawConvert,
154
- os as reject,
155
+ Rs as reject,
155
156
  Ta as removeCurrentFromSeasonStats,
156
157
  Ea as removeUnneededPhases,
157
- fs as resolveApiKey,
158
+ ja as resolveApiKey,
158
159
  ma as reverse,
159
160
  La as scheduleOptionalRowClass,
160
- ps as scrollToTop,
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
- ns as startOfMonth,
172
- is as subtractDays,
173
- vs as sum,
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
- Ss as templateReplacer,
179
- ls as toKebabCase,
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
- _s as yearToNow
200
+ Cs as yearToNow
200
201
  };
package/dist/props.js CHANGED
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * name: @mjsz-vbr-elements/core
3
- * version: v2.33.1 - 25/11/2025, 22:37:44
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>
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * name: @mjsz-vbr-elements/core
3
- * version: v2.33.1 - 25/11/2025, 22:37:44
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>
package/dist/utils.js CHANGED
@@ -1,148 +1,171 @@
1
1
  /**
2
2
  * name: @mjsz-vbr-elements/core
3
- * version: v2.33.1 - 25/11/2025, 22:37:44
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 n, a5 as i } from "./errors-C61Kgyqj.js";
9
- import { X as h, V as x, W as C, T as F, c as b, S as k, E as D, K as O, i as W, z as $, A as X, B as j, k as K, m as V, n as q, e as z, f as J, h as Y, o as Z, G as H, g as Q, a as ee, F as se, Y as ae, D as te, Z as re, l as oe, _ as ne, Q as ie, $ as ce, H as le, a0 as fe, p as me, a1 as ue, r as de, M as ve, O as Re, a2 as Te, s as pe, v as Se, q as ye, y as Ee, a3 as _e, U as Le, J as Ae, w as Ue, C as ge, j as Ne, L as Pe, t as Ie, b as we, d as Be, N as Ge, I as Me, R as he, x as xe, P as Ce, u as Fe } from "./errors-C61Kgyqj.js";
10
- import { G as c, M as o, u as l, C as t } from "./datetime-B_IKGlWy.js";
11
- import { n as ke, b as De, c as Oe, a as We, l as $e, m as Xe, q as je, D as Ke, f as Ve, g as qe, j as ze, h as Je, d as Ye, e as Ze, i as He, k as Qe, v as es, t as ss, r as as, o as ts, w as rs, x as os, z as ns, A as is, p as cs, s as ls, B as fs, y as ms } from "./datetime-B_IKGlWy.js";
12
- import { VBR_API_BASE_URL as f, FLAG_BASE_URL as m, DEFAULT_EXTERNAL_GAME_URL as u, DEFAULT_EXTERNAL_TEAM_URL as d, DEFAULT_EXTERNAL_PLAYER_URL as v, DEFAULT_EXTERNAL_STATISTIC_URL as R } from "./constants.js";
13
- var T = /* @__PURE__ */ c(function(e, a) {
14
- return Number(e) + Number(a);
15
- }), E = /* @__PURE__ */ o(function(e) {
16
- return e != null && typeof e.clone == "function" ? e.clone() : n(e, !0);
17
- }), _ = /* @__PURE__ */ o(function(e) {
18
- return !l(e);
19
- }), L = /* @__PURE__ */ i(T, 0);
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 `${f.replace(/^https?/, "wss").replace("/vbr", "/socket/vbr")}${s}`;
43
+ return `${"".replace(/^https?/, "wss").replace("/vbr", "/socket/vbr")}${s}`;
22
44
  }
23
- const r = (s = "") => window?.__MJSZ_VBR_WIDGET__?.[s];
24
- function U(s, e = {}) {
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 a = r("gameResolver") || s;
28
- return typeof a == "function" ? a(e) : encodeURI(a ? t(a, e) : t(u, e));
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 g(s, e = {}) {
31
- const a = r("teamResolver") || s;
32
- return typeof a == "function" ? a(e) : encodeURI(a ? t(a, e) : t(d, e));
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 N(s, e = {}) {
35
- const a = r("playerResolver") || s;
36
- return typeof a == "function" ? a(e) : encodeURI(a ? t(a, e) : t(v, e));
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 P(s, e = {}) {
39
- return typeof s == "function" ? s(e) : encodeURI(s ? t(s, e) : t(R, e));
60
+ function N(s, e = {}) {
61
+ return typeof s == "function" ? s(e) : encodeURI(s ? r(s, e) : r(p, e));
40
62
  }
41
- const I = (s, e = "1x1") => `${m}/flag:${s}-${e}.svg`;
42
- function w(s) {
43
- return s || (r("apiKey") ? r("apiKey") : "");
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 B() {
67
+ function P() {
46
68
  window.scrollTo(0, 0);
47
69
  }
48
70
  export {
49
- h as InvalidSeasonName,
50
- x as UndefinedColumn,
51
- C as WidgetError,
52
- ke as addDays,
53
- F as appendTo,
54
- E as clone,
55
- b as convert,
56
- k as convertAddress,
57
- D as convertGameEvents,
58
- O as convertGameOfficials,
59
- W as convertGamePeriodResults,
60
- De as convertMinToMinSec,
61
- Oe as convertMinToSec,
62
- $ as convertPenaltyCauseName,
63
- X as convertPeriodResults,
64
- j as convertPeriodResultsToArray,
65
- K as convertPhaseName,
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
- We as convertSecToMin,
68
- q as convertTeams,
69
- z as convertTimes,
70
- J as convertTimesMinToMinSec,
71
- Y as convertTimesSecToMin,
72
- $e as currentWeek,
73
- Xe as currentWeekStartEnd,
74
- je as endOfMonth,
75
- U as externalGameLinkResolver,
76
- N as externalPlayerLinkResolver,
77
- P as externalStatisticLinkResolver,
78
- g as externalTeamLinkResolver,
79
- Ke as filterAllowedClasses,
80
- Z as filterAndSortSections,
81
- H as filterGoalScorersFromEvents,
82
- I as flagResolver,
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
- Q as gameDateTime,
85
- ee as gameResult,
86
- qe as getLocalTimezone,
107
+ se as gameDateTime,
108
+ te as gameResult,
109
+ Je as getLocalTimezone,
87
110
  A as getWebsocketURL,
88
- se as groupLines,
89
- ae as head,
90
- ze as isAfter,
91
- Je as isBefore,
92
- Ye as isBetween,
93
- l as isEmpty,
94
- _ as isNotEmpty,
95
- Ze as isSame,
96
- He as isSameOrBefore,
97
- Qe as isToday,
98
- te as joinOfficals,
99
- re as last,
100
- oe as localeSort,
101
- es as map,
102
- ss as max,
103
- ne as mergeLeft,
104
- ie as mergePlayerStats,
105
- as as min,
106
- ts as offsetName,
107
- rs as omit,
108
- os as path,
109
- ce as pick,
110
- le as pickCoaches,
111
- fe as pipe,
112
- me as playerName,
113
- ns as prop,
114
- ue as propEq,
115
- de as rawConvert,
116
- is as reject,
117
- ve as removeCurrentFromSeasonStats,
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
- w as resolveApiKey,
120
- Te as reverse,
121
- pe as scheduleOptionalRowClass,
122
- B as scrollToTop,
123
- Se as selectFirstPhaseName,
124
- ye as selectFirstSectionId,
125
- Ee as selectLastSections,
126
- _e as sortBy,
127
- Le as sortByDomNode,
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
- Ue as sortByPhaseId,
130
- ge as sortByStartingFive,
131
- Ne as sortGames,
132
- Pe as standingTableSort,
133
- cs as startOfMonth,
134
- ls as subtractDays,
135
- L as sum,
136
- Ie as teamName,
137
- we as teamOpponent,
138
- Be as teamResultType,
139
- t as templateReplacer,
140
- fs as toKebabCase,
141
- Ge as transformCurrentSeasonStats,
142
- Me as transformEventsForGameTimeline,
143
- he as transformFieledPlayersStats,
144
- xe as transformPlayers,
145
- Ce as transformRosters,
146
- Fe as upperCase,
147
- ms as yearToNow
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.33.1",
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.33.1"
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",