@mjsz-vbr-elements/core 2.4.0 → 2.4.2
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/{AdditionalStandingsText-DlP-tdH1.js → AdditionalStandingsText-Cj3Q7dcW.js} +303 -288
- package/dist/columns.js +1 -1
- package/dist/components.js +2 -2
- package/dist/composables.js +10 -16
- package/dist/constants.js +1 -1
- package/dist/{convert-BUiKPu9l.js → convert-PUna7fen.js} +29 -33
- package/dist/{datetime-Df9jKQTx.js → datetime-BzdN4htO.js} +318 -349
- 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 +8 -11
- package/dist/{useAdditionalText-Bi2CUi4-.js → useAdditionalText-D1LaWU-i.js} +216 -229
- package/dist/utils.js +4 -4
- package/package.json +10 -10
package/dist/index.iife.js.br
CHANGED
|
Binary file
|
package/dist/index.iife.js.gz
CHANGED
|
Binary file
|
package/dist/index.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* name: @mjsz-vbr-elements/core
|
|
3
|
-
* version: v2.4.
|
|
3
|
+
* version: v2.4.2 - 04/09/2024, 16:18:51
|
|
4
4
|
* (c) 2024
|
|
5
5
|
* description: Data visualization for MJSZ VBR
|
|
6
6
|
* author: Ákos Stegner <akos.stegner@gmail.com>
|
|
7
7
|
*/
|
|
8
|
-
import { n as m, c as f, b as p, d as u, e as d, m as N, g as R, I as g, _ as C, k as M, a as I, j as O, f as y, h as v, i as P, l as U } from "./AdditionalStandingsText-
|
|
9
|
-
import { c as h, i as x, h as F, u as G, b, a as B, d as Y, e as k, f as w, g as W, v as V } from "./useAdditionalText-
|
|
8
|
+
import { n as m, c as f, b as p, d as u, e as d, m as N, g as R, I as g, _ as C, k as M, a as I, j as O, f as y, h as v, i as P, l as U } from "./AdditionalStandingsText-Cj3Q7dcW.js";
|
|
9
|
+
import { c as h, i as x, h as F, u as G, b, a as B, d as Y, e as k, f as w, g as W, v as V } from "./useAdditionalText-D1LaWU-i.js";
|
|
10
10
|
import { fetchVBRData as z, usePage as K, useScrollToGameDate as X, useServices as Z, useVisibilityChange as H } from "./composables.js";
|
|
11
11
|
import "vue";
|
|
12
|
-
import { I as J, U as Q, W as $, m as ee, c as ae, i as se, k as te, e as re, f as oe, h as ne, g as ie, a as le, l as Se, p as _e, r as Te, s as Ee, j as Le, t as ce, b as Ae, d as me, u as fe } from "./convert-
|
|
13
|
-
import { n as ue, b as de, c as Ne, a as Re, l as ge, m as Ce, q as Me, f as Ie, g as Oe, j as ye, h as ve, d as Pe, e as Ue, i as De, k as he, t as xe, r as Fe, o as Ge, p as be, s as Be, v as Ye, u as ke, y as we } from "./datetime-
|
|
12
|
+
import { I as J, U as Q, W as $, m as ee, c as ae, i as se, k as te, e as re, f as oe, h as ne, g as ie, a as le, l as Se, p as _e, r as Te, s as Ee, j as Le, t as ce, b as Ae, d as me, u as fe } from "./convert-PUna7fen.js";
|
|
13
|
+
import { n as ue, b as de, c as Ne, a as Re, l as ge, m as Ce, q as Me, f as Ie, g as Oe, j as ye, h as ve, d as Pe, e as Ue, i as De, k as he, t as xe, r as Fe, o as Ge, p as be, s as Be, v as Ye, u as ke, y as we } from "./datetime-BzdN4htO.js";
|
|
14
14
|
import { externalGameLinkResolver as Ve, externalPlayerLinkResolver as je, externalTeamLinkResolver as ze, flagResolver as Ke, scrollToTop as Xe } from "./utils.js";
|
|
15
15
|
import { COLUMNS_FIELD_PLAYERS as He, COLUMNS_FIELD_PLAYERS_PENALTY as qe, COLUMNS_GOALIES as Je, COLUMNS_SCHEDULE as Qe, COLUMNS_SCORING_EFFICIENCY as $e, COLUMNS_STANDINGS_P_2 as ea, COLUMNS_STANDINGS_P_3 as aa, COLUMNS_TEAMS_FAIRPLAY as sa, COLUMNS_TEAMS_PENALTY_KILLING as ta, COLUMNS_TEAMS_POWERPLAY as ra, COLUMNS_TEAM_ATTENDANCE as oa } from "./columns.js";
|
|
16
16
|
import { AVAILABLE_TIMEZONES_BY_COUNTRY as ia, DEFAULT_EXTERNAL_GAME_URL as la, DEFAULT_EXTERNAL_PLAYER_URL as Sa, DEFAULT_EXTERNAL_TEAM_URL as _a, DEFAULT_PORTRAIT_IMAGE_URL as Ta, FLAG_BASE_URL as Ea, LAZY_LOADING_STATE_DELAY as La, LOCALE_FOR_LANG as ca, REFRESH_DELAY as Aa, SORT_STATE_ASCEND as ma, SORT_STATE_DESCEND as fa, SORT_STATE_ORIGINAL as pa, VBR_API_BASE_URL as ua } from "./constants.js";
|
|
@@ -75,13 +75,10 @@ const S = {
|
|
|
75
75
|
default: !1
|
|
76
76
|
}
|
|
77
77
|
}, i = ({ app: a = null, modules: s = [], apiKey: t, gameResolver: r, teamResolver: o, playerResolver: n }) => {
|
|
78
|
-
if (window.__MJSZ_VBR_WIDGET__ = { apiKey: t, gameResolver: r, teamResolver: o, playerResolver: n }, s.length === 0)
|
|
79
|
-
throw new Error("At least one module must be set");
|
|
78
|
+
if (window.__MJSZ_VBR_WIDGET__ = { apiKey: t, gameResolver: r, teamResolver: o, playerResolver: n }, s.length === 0) throw new Error("At least one module must be set");
|
|
80
79
|
s.forEach((e) => {
|
|
81
|
-
if (a)
|
|
82
|
-
|
|
83
|
-
if (e.register)
|
|
84
|
-
return e.register();
|
|
80
|
+
if (a) return a.use(e);
|
|
81
|
+
if (e.register) return e.register();
|
|
85
82
|
e == null || e.install();
|
|
86
83
|
});
|
|
87
84
|
}, L = {
|