@mjsz-vbr-elements/core 2.34.1 → 2.35.1

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.
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * name: @mjsz-vbr-elements/core
3
- * version: v2.34.1 - 15/12/2025, 13:10:57
3
+ * version: v2.35.1 - 16/12/2025, 09:32:02
4
4
  * (c) 2025
5
5
  * description: Data visualization for MJSZ VBR
6
6
  * author: Ákos Stegner <akos.stegner@gmail.com>
package/dist/columns.js CHANGED
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * name: @mjsz-vbr-elements/core
3
- * version: v2.34.1 - 15/12/2025, 13:10:57
3
+ * version: v2.35.1 - 16/12/2025, 09:32:02
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.1 - 15/12/2025, 13:10:57
3
+ * version: v2.35.1 - 16/12/2025, 09:32:02
4
4
  * (c) 2025
5
5
  * description: Data visualization for MJSZ VBR
6
6
  * author: Ákos Stegner <akos.stegner@gmail.com>
@@ -1,11 +1,11 @@
1
1
  /**
2
2
  * name: @mjsz-vbr-elements/core
3
- * version: v2.34.1 - 15/12/2025, 13:10:57
3
+ * version: v2.35.1 - 16/12/2025, 09:32:02
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 { 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";
8
+ import { k as D, l as b, p as E, h as I, q as P, n as d, r as T } from "./useSort-CoM4Br_9.js";
9
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
10
  import { unref as c, watch as m, ref as B, nextTick as V } from "vue";
11
11
  import { VBR_API_BASE_URL as O } from "./constants.js";
@@ -57,7 +57,7 @@ var X = /* @__PURE__ */ y(/* @__PURE__ */ v([], F, function(t, n) {
57
57
  return t($(n, r));
58
58
  });
59
59
  async function K(e, t, n) {
60
- const r = `${O}${c(e)}${A(n) ? "" : `?${L(n)}`}`;
60
+ const r = `${O}/vbr${c(e)}${A(n) ? "" : `?${L(n)}`}`;
61
61
  return new Promise((i, s) => {
62
62
  fetch(r, {
63
63
  method: "GET",
@@ -106,7 +106,7 @@ function q(e, t) {
106
106
  }
107
107
  function z(e = {}) {
108
108
  const { initial: t = 1, items: n = [], limit: r, auto: i = !1 } = e, s = B(c(t)), a = (u) => g(u, "day");
109
- return E(n, () => {
109
+ return b(n, () => {
110
110
  if (!i)
111
111
  return;
112
112
  const u = X(_(a, "gameDate"))(c(n));
@@ -131,7 +131,7 @@ function Q(e = {}) {
131
131
  const l = getComputedStyle(u).getPropertyValue("--mvw-sticky-top-offset") || 0, p = (u.getBoundingClientRect()?.top ?? 0) - c(r) - Number.parseFloat(l);
132
132
  window.scrollTo(0, p);
133
133
  };
134
- b(
134
+ E(
135
135
  () => ({
136
136
  items: c(t),
137
137
  element: c(n)
package/dist/constants.js CHANGED
@@ -1,24 +1,25 @@
1
1
  /**
2
2
  * name: @mjsz-vbr-elements/core
3
- * version: v2.34.1 - 15/12/2025, 13:10:57
3
+ * version: v2.35.1 - 16/12/2025, 09:32:02
4
4
  * (c) 2025
5
5
  * description: Data visualization for MJSZ VBR
6
6
  * author: Ákos Stegner <akos.stegner@gmail.com>
7
7
  */
8
- const e = "https://api.icehockey.hu/vbr", t = "https://www.jegkorongszovetseg.hu/event/game/{gameId}", s = "https://jegkorongszovetseg.hu/assets/images/player_blank.png", a = "https://www.ersteliga.hu/stats/player/?playerId={player.playerId}&championshipId={championshipId}", o = "https://www.ersteliga.hu/stats/team/?teamId={team.id}&championshipId={championshipId}", E = "https://www.ersteliga.hu/stats?report={id}", _ = "https://api.icehockey.hu/static/api/flag", n = "original", p = "descend", A = "ascend", h = (/* @__PURE__ */ new Map()).set("hu", "hu-hu").set("en", "hu-gb"), L = (/* @__PURE__ */ new Map()).set("Europe/Budapest", { countryLabelKey: "hungary", timezone: "Europe/Budapest" }).set("Europe/Bucharest", { countryLabelKey: "romania", timezone: "Europe/Bucharest" }), c = 1e3 * 60 * 5, T = 1e3;
8
+ const e = "https://api.icehockey.hu", t = "wss://api.icehockey.hu/socket/vbr", s = "https://www.jegkorongszovetseg.hu/event/game/{gameId}", a = "https://jegkorongszovetseg.hu/assets/images/player_blank.png", o = "https://www.ersteliga.hu/stats/player/?playerId={player.playerId}&championshipId={championshipId}", E = "https://www.ersteliga.hu/stats/team/?teamId={team.id}&championshipId={championshipId}", _ = "https://www.ersteliga.hu/stats?report={id}", n = "https://api.icehockey.hu/static/api/flag", A = "original", p = "descend", c = "ascend", h = (/* @__PURE__ */ new Map()).set("hu", "hu-hu").set("en", "hu-gb"), L = (/* @__PURE__ */ new Map()).set("Europe/Budapest", { countryLabelKey: "hungary", timezone: "Europe/Budapest" }).set("Europe/Bucharest", { countryLabelKey: "romania", timezone: "Europe/Bucharest" }), T = 1e3 * 60 * 5, i = 1e3;
9
9
  export {
10
10
  L as AVAILABLE_TIMEZONES_BY_COUNTRY,
11
- t as DEFAULT_EXTERNAL_GAME_URL,
12
- a as DEFAULT_EXTERNAL_PLAYER_URL,
13
- E as DEFAULT_EXTERNAL_STATISTIC_URL,
14
- o as DEFAULT_EXTERNAL_TEAM_URL,
15
- s as DEFAULT_PORTRAIT_IMAGE_URL,
16
- _ as FLAG_BASE_URL,
17
- T as LAZY_LOADING_STATE_DELAY,
11
+ s as DEFAULT_EXTERNAL_GAME_URL,
12
+ o as DEFAULT_EXTERNAL_PLAYER_URL,
13
+ _ as DEFAULT_EXTERNAL_STATISTIC_URL,
14
+ E as DEFAULT_EXTERNAL_TEAM_URL,
15
+ a as DEFAULT_PORTRAIT_IMAGE_URL,
16
+ n as FLAG_BASE_URL,
17
+ i as LAZY_LOADING_STATE_DELAY,
18
18
  h as LOCALE_FOR_LANG,
19
- c as REFRESH_DELAY,
20
- A as SORT_STATE_ASCEND,
19
+ T as REFRESH_DELAY,
20
+ c as SORT_STATE_ASCEND,
21
21
  p as SORT_STATE_DESCEND,
22
- n as SORT_STATE_ORIGINAL,
23
- e as VBR_API_BASE_URL
22
+ A as SORT_STATE_ORIGINAL,
23
+ e as VBR_API_BASE_URL,
24
+ t as VBR_API_WEBSOCKET_BASE_URL
24
25
  };
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * name: @mjsz-vbr-elements/core
3
- * version: v2.34.1 - 15/12/2025, 13:10:57
3
+ * version: v2.35.1 - 16/12/2025, 09:32:02
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.1 - 15/12/2025, 13:10:57
3
+ * version: v2.35.1 - 16/12/2025, 09:32:02
4
4
  * (c) 2025
5
5
  * description: Data visualization for MJSZ VBR
6
6
  * author: Ákos Stegner <akos.stegner@gmail.com>