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