@mjsz-vbr-elements/core 2.1.0-beta.39 → 2.1.0-beta.41
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/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 +269 -246
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* name: @mjsz-vbr-elements/core
|
|
3
|
-
* version: v2.1.0-beta.
|
|
3
|
+
* version: v2.1.0-beta.41 - 01/11/2023, 15:53:03
|
|
4
4
|
* (c) 2023
|
|
5
5
|
* description: Data visualization for MJSZ VBR
|
|
6
6
|
* author: Ákos Stegner <akos.stegner@gmail.com>
|
|
7
7
|
*/
|
|
8
|
-
import { computed as q, withDirectives as yn, openBlock as S, createElementBlock as O, normalizeClass as
|
|
8
|
+
import { computed as q, withDirectives as yn, openBlock as S, createElementBlock as O, normalizeClass as J, unref as v, renderSlot as it, vModelSelect as vn, ref as H, readonly as bn, watch as mt, nextTick as wn, getCurrentScope as $n, onScopeDispose as _n, isRef as yr, shallowRef as je, reactive as vr, defineComponent as br, h as Sn, provide as wr, inject as $r, createElementVNode as P, Fragment as ct, normalizeStyle as Fe, createVNode as nt, Transition as xn, withCtx as G, createTextVNode as gt, toDisplayString as z, createCommentVNode as X, toRefs as Le, renderList as Pt, createBlock as at, withKeys as Be, withModifiers as Nt, onErrorCaptured as Tn, createSlots as Pn } from "vue";
|
|
9
9
|
const _t = (t) => ({}.VITE_CSS_CLASS_PREFIX || "mjsz-vbr-") + t, On = {
|
|
10
10
|
__name: "BaseSelect",
|
|
11
11
|
props: {
|
|
@@ -19,7 +19,7 @@ const _t = (t) => ({}.VITE_CSS_CLASS_PREFIX || "mjsz-vbr-") + t, On = {
|
|
|
19
19
|
const r = t, n = _t("base-input"), a = q({ get: () => r.modelValue, set: (o) => e("update:modelValue", o) });
|
|
20
20
|
return (o, s) => yn((S(), O("select", {
|
|
21
21
|
"onUpdate:modelValue": s[0] || (s[0] = (i) => a.value = i),
|
|
22
|
-
class:
|
|
22
|
+
class: J([v(n), "is-select"])
|
|
23
23
|
}, [
|
|
24
24
|
it(o.$slots, "default")
|
|
25
25
|
], 2)), [
|
|
@@ -31,7 +31,7 @@ function _r(t) {
|
|
|
31
31
|
return $n() ? (_n(t), !0) : !1;
|
|
32
32
|
}
|
|
33
33
|
function ft(t) {
|
|
34
|
-
return typeof t == "function" ? t() :
|
|
34
|
+
return typeof t == "function" ? t() : v(t);
|
|
35
35
|
}
|
|
36
36
|
const le = typeof window < "u", yt = () => {
|
|
37
37
|
}, An = /* @__PURE__ */ kn();
|
|
@@ -322,8 +322,8 @@ function qn(t, e = {}) {
|
|
|
322
322
|
}
|
|
323
323
|
function Zn(t = [], e = {}) {
|
|
324
324
|
const { delay: r = 0 } = e, n = H(!1), a = q(() => {
|
|
325
|
-
const i =
|
|
326
|
-
return Array.isArray(i) ? i.map((l) =>
|
|
325
|
+
const i = v(t);
|
|
326
|
+
return Array.isArray(i) ? i.map((l) => v(l)).some(Boolean) : i;
|
|
327
327
|
}), { start: o, stop: s } = Dn(() => {
|
|
328
328
|
n.value = !0;
|
|
329
329
|
}, r);
|
|
@@ -1294,7 +1294,7 @@ const Sa = function(t, e) {
|
|
|
1294
1294
|
});
|
|
1295
1295
|
return () => Sn(t.tag, o);
|
|
1296
1296
|
}
|
|
1297
|
-
}), Ta = "https://api.icehockey.hu/vbr", Pa = "https://www.jegkorongszovetseg.hu/event/game/", Oa = "https://jegkorongszovetseg.hu/assets/images/player_blank.png", Aa = "https://www.ersteliga.hu/stats/players#/player/", ka = "https://www.ersteliga.hu/stats/teams#/team/3314/21096?name=", wt = "original",
|
|
1297
|
+
}), Ta = "https://api.icehockey.hu/vbr", Pa = "https://www.jegkorongszovetseg.hu/event/game/", Oa = "https://jegkorongszovetseg.hu/assets/images/player_blank.png", Aa = "https://www.ersteliga.hu/stats/players#/player/", ka = "https://www.ersteliga.hu/stats/teams#/team/3314/21096?name=", wt = "original", y = "descend", j = "ascend", Ma = (/* @__PURE__ */ new Map()).set("hu", "hu-hu").set("en", "hu-gb"), Da = (/* @__PURE__ */ new Map()).set("Europe/Budapest", { countryLabelKey: "hungary", timezone: "Europe/Budapest" }).set("Europe/Bucharest", { countryLabelKey: "romania", timezone: "Europe/Bucharest" }), Ul = 1e3 * 60 * 5, La = 1e3, Ea = {
|
|
1298
1298
|
"aria-hidden": "true",
|
|
1299
1299
|
focusable: "false",
|
|
1300
1300
|
"data-prefix": "fas",
|
|
@@ -1424,8 +1424,8 @@ const or = (t) => ({ name: "arrow", options: t, async fn(e) {
|
|
|
1424
1424
|
const p = Br(n), f = { x: a, y: o }, u = Zt(s), d = Ce(u), m = await l.getDimensions(r), h = u === "y", g = h ? "top" : "left", _ = h ? "bottom" : "right", x = h ? "clientHeight" : "clientWidth", k = i.reference[d] + i.reference[u] - f[u] - i.floating[d], E = f[u] - i.reference[u], I = await (l.getOffsetParent == null ? void 0 : l.getOffsetParent(r));
|
|
1425
1425
|
let R = I ? I[x] : 0;
|
|
1426
1426
|
R && await (l.isElement == null ? void 0 : l.isElement(I)) || (R = c.floating[x] || i.floating[d]);
|
|
1427
|
-
const B = k / 2 - E / 2, K = p[g], N = R - m[d] - p[_], D = R / 2 - m[d] / 2 + B, F = ke(K, D, N),
|
|
1428
|
-
return { [u]: f[u] - (
|
|
1427
|
+
const B = k / 2 - E / 2, K = p[g], N = R - m[d] - p[_], D = R / 2 - m[d] / 2 + B, F = ke(K, D, N), Q = qt(s) != null && D != F && i.reference[d] / 2 - (D < K ? p[g] : p[_]) - m[d] / 2 < 0;
|
|
1428
|
+
return { [u]: f[u] - (Q ? D < K ? K - D : N - D : 0), data: { [u]: F, centerOffset: D - F } };
|
|
1429
1429
|
} }), Za = ["top", "right", "bottom", "left"];
|
|
1430
1430
|
Za.reduce((t, e) => t.concat(e, e + "-start", e + "-end"), []);
|
|
1431
1431
|
const Xa = { left: "right", right: "left", bottom: "top", top: "bottom" };
|
|
@@ -1446,37 +1446,37 @@ const ts = function(t) {
|
|
|
1446
1446
|
return t === void 0 && (t = {}), { name: "flip", options: t, async fn(e) {
|
|
1447
1447
|
var r;
|
|
1448
1448
|
const { placement: n, middlewareData: a, rects: o, initialPlacement: s, platform: i, elements: l } = e, { mainAxis: c = !0, crossAxis: p = !0, fallbackPlacements: f, fallbackStrategy: u = "bestFit", fallbackAxisSideDirection: d = "none", flipAlignment: m = !0, ...h } = t, g = Ot(n), _ = Ot(s) === s, x = await (i.isRTL == null ? void 0 : i.isRTL(l.floating)), k = f || (_ || !m ? [ae(s)] : function(F) {
|
|
1449
|
-
const
|
|
1450
|
-
return [be(F),
|
|
1449
|
+
const Q = ae(F);
|
|
1450
|
+
return [be(F), Q, be(Q)];
|
|
1451
1451
|
}(s));
|
|
1452
|
-
f || d === "none" || k.push(...function(F,
|
|
1452
|
+
f || d === "none" || k.push(...function(F, Q, A, $) {
|
|
1453
1453
|
const w = qt(F);
|
|
1454
1454
|
let T = function(b, M, L) {
|
|
1455
|
-
const C = ["left", "right"], W = ["right", "left"], U = ["top", "bottom"],
|
|
1455
|
+
const C = ["left", "right"], W = ["right", "left"], U = ["top", "bottom"], tt = ["bottom", "top"];
|
|
1456
1456
|
switch (b) {
|
|
1457
1457
|
case "top":
|
|
1458
1458
|
case "bottom":
|
|
1459
1459
|
return L ? M ? W : C : M ? C : W;
|
|
1460
1460
|
case "left":
|
|
1461
1461
|
case "right":
|
|
1462
|
-
return M ? U :
|
|
1462
|
+
return M ? U : tt;
|
|
1463
1463
|
default:
|
|
1464
1464
|
return [];
|
|
1465
1465
|
}
|
|
1466
1466
|
}(Ot(F), A === "start", $);
|
|
1467
|
-
return w && (T = T.map((b) => b + "-" + w),
|
|
1467
|
+
return w && (T = T.map((b) => b + "-" + w), Q && (T = T.concat(T.map(be)))), T;
|
|
1468
1468
|
}(s, m, d, x));
|
|
1469
1469
|
const E = [s, ...k], I = await Vr(e, h), R = [];
|
|
1470
1470
|
let B = ((r = a.flip) == null ? void 0 : r.overflows) || [];
|
|
1471
1471
|
if (c && R.push(I[g]), p) {
|
|
1472
|
-
const { main: F, cross:
|
|
1473
|
-
R.push(I[F], I[
|
|
1472
|
+
const { main: F, cross: Q } = Ja(n, o, x);
|
|
1473
|
+
R.push(I[F], I[Q]);
|
|
1474
1474
|
}
|
|
1475
1475
|
if (B = [...B, { placement: n, overflows: R }], !R.every((F) => F <= 0)) {
|
|
1476
1476
|
var K, N;
|
|
1477
|
-
const F = (((K = a.flip) == null ? void 0 : K.index) || 0) + 1,
|
|
1478
|
-
if (
|
|
1479
|
-
return { data: { index: F, overflows: B }, reset: { placement:
|
|
1477
|
+
const F = (((K = a.flip) == null ? void 0 : K.index) || 0) + 1, Q = E[F];
|
|
1478
|
+
if (Q)
|
|
1479
|
+
return { data: { index: F, overflows: B }, reset: { placement: Q } };
|
|
1480
1480
|
let A = (N = B.filter(($) => $.overflows[0] <= 0).sort(($, w) => $.overflows[1] - w.overflows[1])[0]) == null ? void 0 : N.placement;
|
|
1481
1481
|
if (!A)
|
|
1482
1482
|
switch (u) {
|
|
@@ -1786,9 +1786,9 @@ function us({ middleware: t, placement: e = null, strategy: r, append: n, enable
|
|
|
1786
1786
|
};
|
|
1787
1787
|
mt(
|
|
1788
1788
|
() => ({
|
|
1789
|
-
reference:
|
|
1790
|
-
floating:
|
|
1791
|
-
append:
|
|
1789
|
+
reference: v(o),
|
|
1790
|
+
floating: v(s),
|
|
1791
|
+
append: v(n)
|
|
1792
1792
|
}),
|
|
1793
1793
|
({ floating: g, append: _ }) => {
|
|
1794
1794
|
_ && cs(g, _), m();
|
|
@@ -1889,11 +1889,11 @@ const ds = (t) => {
|
|
|
1889
1889
|
P("div", {
|
|
1890
1890
|
ref_key: "floating",
|
|
1891
1891
|
ref: p,
|
|
1892
|
-
"data-placement":
|
|
1892
|
+
"data-placement": v(l),
|
|
1893
1893
|
style: Fe({
|
|
1894
|
-
position:
|
|
1895
|
-
top:
|
|
1896
|
-
left:
|
|
1894
|
+
position: v(f),
|
|
1895
|
+
top: v(o) ? `${v(o)}px` : "",
|
|
1896
|
+
left: v(a) ? `${v(a)}px` : ""
|
|
1897
1897
|
})
|
|
1898
1898
|
}, [
|
|
1899
1899
|
nt(xn, {
|
|
@@ -1903,7 +1903,7 @@ const ds = (t) => {
|
|
|
1903
1903
|
default: G(() => [
|
|
1904
1904
|
r.value ? (S(), O("div", {
|
|
1905
1905
|
key: 0,
|
|
1906
|
-
class:
|
|
1906
|
+
class: J(["floating-content", [`is-${e.theme}`]])
|
|
1907
1907
|
}, [
|
|
1908
1908
|
it(g.$slots, "content", { close: d }, () => [
|
|
1909
1909
|
gt(z(t.content), 1)
|
|
@@ -1913,9 +1913,9 @@ const ds = (t) => {
|
|
|
1913
1913
|
ref: n,
|
|
1914
1914
|
class: "is-arrow",
|
|
1915
1915
|
style: Fe({
|
|
1916
|
-
position:
|
|
1917
|
-
top:
|
|
1918
|
-
left:
|
|
1916
|
+
position: v(f),
|
|
1917
|
+
top: v(i) ? `${v(i)}px` : "",
|
|
1918
|
+
left: v(s) ? `${v(s)}px` : ""
|
|
1919
1919
|
})
|
|
1920
1920
|
}, null, 4)
|
|
1921
1921
|
], 2)) : X("", !0)
|
|
@@ -1955,7 +1955,7 @@ const ds = (t) => {
|
|
|
1955
1955
|
f.sortOrders && e("sort", { target: u, orders: f.sortOrders });
|
|
1956
1956
|
};
|
|
1957
1957
|
return (f, u) => (S(), O("table", {
|
|
1958
|
-
class:
|
|
1958
|
+
class: J(v(i))
|
|
1959
1959
|
}, [
|
|
1960
1960
|
P("thead", null, [
|
|
1961
1961
|
P("tr", null, [
|
|
@@ -1964,19 +1964,19 @@ const ds = (t) => {
|
|
|
1964
1964
|
placement: "top",
|
|
1965
1965
|
content: d.tooltip,
|
|
1966
1966
|
disabled: !d.tooltip,
|
|
1967
|
-
"append-to":
|
|
1967
|
+
"append-to": v(a)
|
|
1968
1968
|
}, {
|
|
1969
1969
|
default: G(({ setRef: h, show: g, hide: _ }) => [
|
|
1970
1970
|
P("th", {
|
|
1971
1971
|
ref_for: !0,
|
|
1972
1972
|
ref: h,
|
|
1973
|
-
class:
|
|
1973
|
+
class: J([
|
|
1974
1974
|
[d.class],
|
|
1975
1975
|
{
|
|
1976
|
-
"is-active": m === t.sort.sortTarget && t.sort.orders[0].direction !==
|
|
1976
|
+
"is-active": m === t.sort.sortTarget && t.sort.orders[0].direction !== v(wt),
|
|
1977
1977
|
"is-sortable": d.sortOrders,
|
|
1978
|
-
"is-desc": m === t.sort.sortTarget && t.sort.orders[0].direction === y
|
|
1979
|
-
"is-asc": m === t.sort.sortTarget && t.sort.orders[0].direction ===
|
|
1978
|
+
"is-desc": m === t.sort.sortTarget && t.sort.orders[0].direction === v(y),
|
|
1979
|
+
"is-asc": m === t.sort.sortTarget && t.sort.orders[0].direction === v(j)
|
|
1980
1980
|
}
|
|
1981
1981
|
]),
|
|
1982
1982
|
onMouseenter: g,
|
|
@@ -1994,19 +1994,19 @@ const ds = (t) => {
|
|
|
1994
1994
|
it(f.$slots, `header-${m}`, { column: d }, () => [
|
|
1995
1995
|
gt(z(d.label), 1)
|
|
1996
1996
|
]),
|
|
1997
|
-
d.sortOrders && m !== t.sort.sortTarget ? (S(), at(
|
|
1997
|
+
d.sortOrders && m !== t.sort.sortTarget ? (S(), at(v(rr), {
|
|
1998
1998
|
key: 0,
|
|
1999
1999
|
class: "is-icon-sort"
|
|
2000
2000
|
})) : X("", !0),
|
|
2001
|
-
m === t.sort.sortTarget && t.sort.orders[0].direction ===
|
|
2001
|
+
m === t.sort.sortTarget && t.sort.orders[0].direction === v(wt) ? (S(), at(v(rr), {
|
|
2002
2002
|
key: 1,
|
|
2003
2003
|
class: "is-icon-sort"
|
|
2004
2004
|
})) : X("", !0),
|
|
2005
|
-
m === t.sort.sortTarget && t.sort.orders[0].direction === y
|
|
2005
|
+
m === t.sort.sortTarget && t.sort.orders[0].direction === v(y) ? (S(), at(v(Fa), {
|
|
2006
2006
|
key: 2,
|
|
2007
2007
|
class: "is-icon-sort"
|
|
2008
2008
|
})) : X("", !0),
|
|
2009
|
-
m === t.sort.sortTarget && t.sort.orders[0].direction ===
|
|
2009
|
+
m === t.sort.sortTarget && t.sort.orders[0].direction === v(j) ? (S(), at(v(Ua), {
|
|
2010
2010
|
key: 3,
|
|
2011
2011
|
class: "is-icon-sort"
|
|
2012
2012
|
})) : X("", !0)
|
|
@@ -2017,13 +2017,16 @@ const ds = (t) => {
|
|
|
2017
2017
|
])
|
|
2018
2018
|
]),
|
|
2019
2019
|
P("tbody", null, [
|
|
2020
|
-
(S(!0), O(ct, null, Pt(r.rows, (d, m) => (S(), O("tr", {
|
|
2020
|
+
(S(!0), O(ct, null, Pt(r.rows, (d, m) => (S(), O("tr", {
|
|
2021
|
+
key: m,
|
|
2022
|
+
class: J(d.rowClasses)
|
|
2023
|
+
}, [
|
|
2021
2024
|
(S(!0), O(ct, null, Pt(l.value, (h, g) => (S(), O("td", {
|
|
2022
2025
|
key: g,
|
|
2023
|
-
class:
|
|
2026
|
+
class: J([
|
|
2024
2027
|
[h.class],
|
|
2025
2028
|
{
|
|
2026
|
-
"is-active": g === t.sort.sortTarget && t.sort.orders[0].direction !==
|
|
2029
|
+
"is-active": g === t.sort.sortTarget && t.sort.orders[0].direction !== v(wt)
|
|
2027
2030
|
}
|
|
2028
2031
|
])
|
|
2029
2032
|
}, [
|
|
@@ -2034,22 +2037,22 @@ const ds = (t) => {
|
|
|
2034
2037
|
gt(z(d[g]), 1)
|
|
2035
2038
|
])
|
|
2036
2039
|
], 2))), 128))
|
|
2037
|
-
]))), 128))
|
|
2040
|
+
], 2))), 128))
|
|
2038
2041
|
]),
|
|
2039
|
-
|
|
2042
|
+
v(o) && t.rows.length === 0 ? (S(), O("tfoot", ms, [
|
|
2040
2043
|
P("tr", null, [
|
|
2041
2044
|
P("td", { colspan: c.value }, [
|
|
2042
2045
|
it(f.$slots, "loading", {}, () => [
|
|
2043
|
-
gt(z(
|
|
2046
|
+
gt(z(v(s)("common.loading")), 1)
|
|
2044
2047
|
])
|
|
2045
2048
|
], 8, hs)
|
|
2046
2049
|
])
|
|
2047
2050
|
])) : X("", !0),
|
|
2048
|
-
t.rows.length === 0 && !
|
|
2051
|
+
t.rows.length === 0 && !v(n) && !v(o) ? (S(), O("tfoot", gs, [
|
|
2049
2052
|
P("tr", null, [
|
|
2050
2053
|
P("td", { colspan: c.value }, [
|
|
2051
2054
|
it(f.$slots, "empty", {}, () => [
|
|
2052
|
-
gt(z(
|
|
2055
|
+
gt(z(v(s)("common.noData")), 1)
|
|
2053
2056
|
])
|
|
2054
2057
|
], 8, ys)
|
|
2055
2058
|
])
|
|
@@ -2096,9 +2099,9 @@ const xs = { render: Ss }, Wl = {
|
|
|
2096
2099
|
return n(`errors.${e.error.key}`) ? r(`errors.${e.error.key}`, e.error.cause) : `${e.error.key}: ${(s = e.error) == null ? void 0 : s.message}`;
|
|
2097
2100
|
});
|
|
2098
2101
|
return (s, i) => (S(), O("div", {
|
|
2099
|
-
class:
|
|
2102
|
+
class: J(v(a))
|
|
2100
2103
|
}, [
|
|
2101
|
-
nt(
|
|
2104
|
+
nt(v(xs), {
|
|
2102
2105
|
class: "icon",
|
|
2103
2106
|
width: "20",
|
|
2104
2107
|
height: "20"
|
|
@@ -2152,9 +2155,9 @@ const tn = Symbol("ErrorProviderContext"), Ps = () => {
|
|
|
2152
2155
|
setup(t) {
|
|
2153
2156
|
const { message: e, hasError: r, error: n } = Ps();
|
|
2154
2157
|
return (a, o) => it(a.$slots, "default", {
|
|
2155
|
-
message:
|
|
2156
|
-
error:
|
|
2157
|
-
hasError:
|
|
2158
|
+
message: v(e),
|
|
2159
|
+
error: v(n),
|
|
2160
|
+
hasError: v(r)
|
|
2158
2161
|
});
|
|
2159
2162
|
}
|
|
2160
2163
|
}, As = {
|
|
@@ -2477,6 +2480,10 @@ const tn = Symbol("ErrorProviderContext"), Ps = () => {
|
|
|
2477
2480
|
teamOfficials: {
|
|
2478
2481
|
short: "Hivatalos Személyek",
|
|
2479
2482
|
tooltip: "Hivatalos Személyek"
|
|
2483
|
+
},
|
|
2484
|
+
score: {
|
|
2485
|
+
short: "Eredmény",
|
|
2486
|
+
tooltip: "Aktuális eredmény"
|
|
2480
2487
|
}
|
|
2481
2488
|
}, Ds = {
|
|
2482
2489
|
data: {
|
|
@@ -2852,6 +2859,10 @@ const tn = Symbol("ErrorProviderContext"), Ps = () => {
|
|
|
2852
2859
|
teamOfficials: {
|
|
2853
2860
|
short: "Team officials",
|
|
2854
2861
|
tooltip: "Team officials"
|
|
2862
|
+
},
|
|
2863
|
+
score: {
|
|
2864
|
+
short: "Score",
|
|
2865
|
+
tooltip: "Actual Game Score"
|
|
2855
2866
|
}
|
|
2856
2867
|
}, Ns = {
|
|
2857
2868
|
data: {
|
|
@@ -2956,15 +2967,15 @@ const ql = /* @__PURE__ */ rn(Gs, [["render", Rs]]), js = ["src"], Fs = ["src",
|
|
|
2956
2967
|
setup(t) {
|
|
2957
2968
|
const e = t, { defaultSrc: r } = Le(e), n = H({ src: e.src }), { error: a, isReady: o } = qn(n, { resetOnExecute: !1, shallow: !1 });
|
|
2958
2969
|
return (s, i) => (S(), O(ct, null, [
|
|
2959
|
-
|
|
2970
|
+
v(a) && v(r) ? (S(), O("img", {
|
|
2960
2971
|
key: 0,
|
|
2961
|
-
src:
|
|
2962
|
-
class:
|
|
2972
|
+
src: v(r),
|
|
2973
|
+
class: J(["is-loaded", s.$attrs.class])
|
|
2963
2974
|
}, null, 10, js)) : X("", !0),
|
|
2964
|
-
|
|
2975
|
+
v(a) ? X("", !0) : (S(), O("img", {
|
|
2965
2976
|
key: 1,
|
|
2966
2977
|
src: n.value.src,
|
|
2967
|
-
class:
|
|
2978
|
+
class: J([s.$attrs.class, { "is-loaded": v(o) }]),
|
|
2968
2979
|
title: e.title
|
|
2969
2980
|
}, null, 10, Fs))
|
|
2970
2981
|
], 64));
|
|
@@ -2973,16 +2984,16 @@ const ql = /* @__PURE__ */ rn(Gs, [["render", Rs]]), js = ["src"], Fs = ["src",
|
|
|
2973
2984
|
__name: "LoadingIndicator",
|
|
2974
2985
|
setup(t) {
|
|
2975
2986
|
const { t: e } = Dt();
|
|
2976
|
-
return (r, n) => (S(), O("div", Bs, z(
|
|
2987
|
+
return (r, n) => (S(), O("div", Bs, z(v(e)("common.loading")), 1));
|
|
2977
2988
|
}
|
|
2978
2989
|
};
|
|
2979
2990
|
function Vs({ currentPage: t, itemsPerPage: e = 20, totalItems: r, rangeLength: n = 5, update: a = yt }) {
|
|
2980
|
-
const o = q(() => Math.ceil(
|
|
2981
|
-
const p =
|
|
2991
|
+
const o = q(() => Math.ceil(v(r) / e)), s = q(() => {
|
|
2992
|
+
const p = v(t) - 1, f = Array.from({ length: o.value }, (m, h) => h + 1), u = Math.floor(n / 2);
|
|
2982
2993
|
let d = Math.max(p - u, 0);
|
|
2983
2994
|
return d + n >= o.value && (d = Math.max(o.value - n, 0)), f.slice(d, d + n);
|
|
2984
2995
|
}), i = (p) => {
|
|
2985
|
-
const f =
|
|
2996
|
+
const f = v(t) + p;
|
|
2986
2997
|
c(f) && a(f);
|
|
2987
2998
|
}, l = (p) => {
|
|
2988
2999
|
c(p) && a(p);
|
|
@@ -3070,47 +3081,47 @@ const Qs = { render: Js }, ti = ["disabled"], ei = ["disabled"], ri = {
|
|
|
3070
3081
|
rangeLength: r.rangeLength,
|
|
3071
3082
|
update: (c) => e("change", c)
|
|
3072
3083
|
});
|
|
3073
|
-
return (c, p) =>
|
|
3084
|
+
return (c, p) => v(o) > 1 ? (S(), O("div", {
|
|
3074
3085
|
key: 0,
|
|
3075
|
-
class:
|
|
3086
|
+
class: J(v(n))
|
|
3076
3087
|
}, [
|
|
3077
3088
|
P("button", {
|
|
3078
3089
|
type: "button",
|
|
3079
|
-
disabled:
|
|
3080
|
-
onClick: p[0] || (p[0] = (f) =>
|
|
3090
|
+
disabled: v(a) === 1,
|
|
3091
|
+
onClick: p[0] || (p[0] = (f) => v(l)(-1))
|
|
3081
3092
|
}, [
|
|
3082
3093
|
it(c.$slots, "prev", {}, () => [
|
|
3083
|
-
nt(
|
|
3094
|
+
nt(v(Ks), { class: "icon paginator-left" })
|
|
3084
3095
|
])
|
|
3085
3096
|
], 8, ti),
|
|
3086
3097
|
t.isCompact ? X("", !0) : (S(), O("button", {
|
|
3087
3098
|
key: 0,
|
|
3088
3099
|
type: "button",
|
|
3089
|
-
disabled:
|
|
3090
|
-
onClick: p[1] || (p[1] = (f) =>
|
|
3100
|
+
disabled: v(a) === 1,
|
|
3101
|
+
onClick: p[1] || (p[1] = (f) => v(i)(1))
|
|
3091
3102
|
}, "1", 8, ei)),
|
|
3092
3103
|
t.isCompact ? X("", !0) : (S(), O("div", ri, "...")),
|
|
3093
|
-
(S(!0), O(ct, null, Pt(
|
|
3104
|
+
(S(!0), O(ct, null, Pt(v(s), (f) => (S(), O("button", {
|
|
3094
3105
|
type: "button",
|
|
3095
3106
|
key: f,
|
|
3096
|
-
class:
|
|
3097
|
-
disabled: f ===
|
|
3098
|
-
onClick: (u) =>
|
|
3107
|
+
class: J({ "is-active": f === v(a) }),
|
|
3108
|
+
disabled: f === v(a),
|
|
3109
|
+
onClick: (u) => v(i)(f)
|
|
3099
3110
|
}, z(f), 11, ni))), 128)),
|
|
3100
3111
|
t.isCompact ? X("", !0) : (S(), O("div", oi, si)),
|
|
3101
3112
|
t.isCompact ? X("", !0) : (S(), O("button", {
|
|
3102
3113
|
key: 3,
|
|
3103
3114
|
type: "button",
|
|
3104
|
-
disabled:
|
|
3105
|
-
onClick: p[2] || (p[2] = (f) =>
|
|
3106
|
-
}, z(
|
|
3115
|
+
disabled: v(a) === v(o),
|
|
3116
|
+
onClick: p[2] || (p[2] = (f) => v(i)(v(o)))
|
|
3117
|
+
}, z(v(o)), 9, ii)),
|
|
3107
3118
|
P("button", {
|
|
3108
3119
|
type: "button",
|
|
3109
|
-
disabled:
|
|
3110
|
-
onClick: p[3] || (p[3] = Nt((f) =>
|
|
3120
|
+
disabled: v(a) === v(o),
|
|
3121
|
+
onClick: p[3] || (p[3] = Nt((f) => v(l)(1), ["prevent"]))
|
|
3111
3122
|
}, [
|
|
3112
3123
|
it(c.$slots, "next", {}, () => [
|
|
3113
|
-
nt(
|
|
3124
|
+
nt(v(Qs), { class: "icon paginator-left" })
|
|
3114
3125
|
])
|
|
3115
3126
|
], 8, li)
|
|
3116
3127
|
], 2)) : X("", !0);
|
|
@@ -3122,7 +3133,7 @@ const Qs = { render: Js }, ti = ["disabled"], ei = ["disabled"], ri = {
|
|
|
3122
3133
|
return (n, a) => (S(), O("div", {
|
|
3123
3134
|
ref_key: "el",
|
|
3124
3135
|
ref: e,
|
|
3125
|
-
class:
|
|
3136
|
+
class: J(v(r))
|
|
3126
3137
|
}, [
|
|
3127
3138
|
it(n.$slots, "default", { el: e.value })
|
|
3128
3139
|
], 2));
|
|
@@ -3234,15 +3245,15 @@ var an = { exports: {} };
|
|
|
3234
3245
|
return M ? bt : bt.endOf(c);
|
|
3235
3246
|
}, W = function(Et, ot) {
|
|
3236
3247
|
return D.w(b.toDate()[Et].apply(b.toDate("s"), (M ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(ot)), b);
|
|
3237
|
-
}, U = this.$W,
|
|
3248
|
+
}, U = this.$W, tt = this.$M, vt = this.$D, ht = "set" + (this.$u ? "UTC" : "");
|
|
3238
3249
|
switch (L) {
|
|
3239
3250
|
case d:
|
|
3240
3251
|
return M ? C(1, 0) : C(31, 11);
|
|
3241
3252
|
case f:
|
|
3242
|
-
return M ? C(1,
|
|
3253
|
+
return M ? C(1, tt) : C(0, tt + 1);
|
|
3243
3254
|
case p:
|
|
3244
3255
|
var jt = this.$locale().weekStart || 0, Ft = (U < jt ? U + 7 : U) - jt;
|
|
3245
|
-
return C(M ? vt - Ft : vt + (6 - Ft),
|
|
3256
|
+
return C(M ? vt - Ft : vt + (6 - Ft), tt);
|
|
3246
3257
|
case c:
|
|
3247
3258
|
case m:
|
|
3248
3259
|
return W(ht + "Hours", 0);
|
|
@@ -3272,9 +3283,9 @@ var an = { exports: {} };
|
|
|
3272
3283
|
}, $.add = function(w, T) {
|
|
3273
3284
|
var b, M = this;
|
|
3274
3285
|
w = Number(w);
|
|
3275
|
-
var L = D.p(T), C = function(
|
|
3286
|
+
var L = D.p(T), C = function(tt) {
|
|
3276
3287
|
var vt = N(M);
|
|
3277
|
-
return D.w(vt.date(vt.date() + Math.round(
|
|
3288
|
+
return D.w(vt.date(vt.date() + Math.round(tt * w)), M);
|
|
3278
3289
|
};
|
|
3279
3290
|
if (L === f)
|
|
3280
3291
|
return this.set(f, this.$M + w);
|
|
@@ -3292,22 +3303,22 @@ var an = { exports: {} };
|
|
|
3292
3303
|
var T = this, b = this.$locale();
|
|
3293
3304
|
if (!this.isValid())
|
|
3294
3305
|
return b.invalidDate || h;
|
|
3295
|
-
var M = w || "YYYY-MM-DDTHH:mm:ssZ", L = D.z(this), C = this.$H, W = this.$m, U = this.$M,
|
|
3306
|
+
var M = w || "YYYY-MM-DDTHH:mm:ssZ", L = D.z(this), C = this.$H, W = this.$m, U = this.$M, tt = b.weekdays, vt = b.months, ht = function(ot, bt, ge, Xt) {
|
|
3296
3307
|
return ot && (ot[bt] || ot(T, M)) || ge[bt].slice(0, Xt);
|
|
3297
3308
|
}, jt = function(ot) {
|
|
3298
3309
|
return D.s(C % 12 || 12, ot, "0");
|
|
3299
3310
|
}, Ft = b.meridiem || function(ot, bt, ge) {
|
|
3300
3311
|
var Xt = ot < 12 ? "AM" : "PM";
|
|
3301
3312
|
return ge ? Xt.toLowerCase() : Xt;
|
|
3302
|
-
}, Et = { YY: String(this.$y).slice(-2), YYYY: this.$y, M: U + 1, MM: D.s(U + 1, 2, "0"), MMM: ht(b.monthsShort, U, vt, 3), MMMM: ht(vt, U), D: this.$D, DD: D.s(this.$D, 2, "0"), d: String(this.$W), dd: ht(b.weekdaysMin, this.$W,
|
|
3313
|
+
}, Et = { YY: String(this.$y).slice(-2), YYYY: this.$y, M: U + 1, MM: D.s(U + 1, 2, "0"), MMM: ht(b.monthsShort, U, vt, 3), MMMM: ht(vt, U), D: this.$D, DD: D.s(this.$D, 2, "0"), d: String(this.$W), dd: ht(b.weekdaysMin, this.$W, tt, 2), ddd: ht(b.weekdaysShort, this.$W, tt, 3), dddd: tt[this.$W], H: String(C), HH: D.s(C, 2, "0"), h: jt(1), hh: jt(2), a: Ft(C, W, !0), A: Ft(C, W, !1), m: String(W), mm: D.s(W, 2, "0"), s: String(this.$s), ss: D.s(this.$s, 2, "0"), SSS: D.s(this.$ms, 3, "0"), Z: L };
|
|
3303
3314
|
return M.replace(_, function(ot, bt) {
|
|
3304
3315
|
return bt || Et[ot] || L.replace(":", "");
|
|
3305
3316
|
});
|
|
3306
3317
|
}, $.utcOffset = function() {
|
|
3307
3318
|
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
|
3308
3319
|
}, $.diff = function(w, T, b) {
|
|
3309
|
-
var M, L = D.p(T), C = N(w), W = (C.utcOffset() - this.utcOffset()) * n, U = this - C,
|
|
3310
|
-
return
|
|
3320
|
+
var M, L = D.p(T), C = N(w), W = (C.utcOffset() - this.utcOffset()) * n, U = this - C, tt = D.m(this, C);
|
|
3321
|
+
return tt = (M = {}, M[d] = tt / 12, M[f] = tt, M[u] = tt / 3, M[p] = (U - W) / 6048e5, M[c] = (U - W) / 864e5, M[l] = U / a, M[i] = U / n, M[s] = U / r, M)[L] || U, b ? tt : D.a(tt);
|
|
3311
3322
|
}, $.daysInMonth = function() {
|
|
3312
3323
|
return this.endOf(f).$D;
|
|
3313
3324
|
}, $.$locale = function() {
|
|
@@ -3328,9 +3339,9 @@ var an = { exports: {} };
|
|
|
3328
3339
|
}, $.toString = function() {
|
|
3329
3340
|
return this.$d.toUTCString();
|
|
3330
3341
|
}, A;
|
|
3331
|
-
}(),
|
|
3332
|
-
return N.prototype =
|
|
3333
|
-
|
|
3342
|
+
}(), Q = F.prototype;
|
|
3343
|
+
return N.prototype = Q, [["$ms", o], ["$s", s], ["$m", i], ["$H", l], ["$W", c], ["$M", f], ["$y", d], ["$D", m]].forEach(function(A) {
|
|
3344
|
+
Q[A[1]] = function($) {
|
|
3334
3345
|
return this.$g($, A[0], A[1]);
|
|
3335
3346
|
};
|
|
3336
3347
|
}), N.extend = function(A, $) {
|
|
@@ -3672,16 +3683,16 @@ const _i = () => et.tz.guess(), we = (t = "", e = "", r = "", n = "hu") => (r =
|
|
|
3672
3683
|
zoneOffsetName: Jt(/* @__PURE__ */ new Date(), c.timezone, r.locale)
|
|
3673
3684
|
}))), l = (c) => e("change", c);
|
|
3674
3685
|
return (c, p) => (S(), O("div", {
|
|
3675
|
-
class:
|
|
3686
|
+
class: J(v(a))
|
|
3676
3687
|
}, [
|
|
3677
|
-
nt(
|
|
3688
|
+
nt(v(xa), {
|
|
3678
3689
|
path: "common.selectTimezone",
|
|
3679
3690
|
tag: "span"
|
|
3680
3691
|
}, {
|
|
3681
3692
|
timezone: G(() => [
|
|
3682
3693
|
P("a", {
|
|
3683
3694
|
href: "#",
|
|
3684
|
-
onClick: p[0] || (p[0] = Nt((f) => l(
|
|
3695
|
+
onClick: p[0] || (p[0] = Nt((f) => l(v(s)), ["prevent"]))
|
|
3685
3696
|
}, z(o.value), 1)
|
|
3686
3697
|
]),
|
|
3687
3698
|
_: 1
|
|
@@ -3689,24 +3700,24 @@ const _i = () => et.tz.guess(), we = (t = "", e = "", r = "", n = "hu") => (r =
|
|
|
3689
3700
|
(S(!0), O(ct, null, Pt(i.value, (f) => (S(), O("a", {
|
|
3690
3701
|
key: f.countryLabelKey,
|
|
3691
3702
|
href: "#",
|
|
3692
|
-
class:
|
|
3703
|
+
class: J({ "is-active": f.isActive }),
|
|
3693
3704
|
onClick: Nt((u) => l(f.timezone), ["prevent"])
|
|
3694
|
-
}, z(
|
|
3705
|
+
}, z(v(n)(`common.${f.countryLabelKey}`)) + " (" + z(f.zoneOffsetName) + ") ", 11, Pi))), 128))
|
|
3695
3706
|
], 2));
|
|
3696
3707
|
}
|
|
3697
3708
|
}, hn = (t, e = "", r = {}) => {
|
|
3698
3709
|
const n = H(""), { t: a } = Dt(), o = q(() => {
|
|
3699
|
-
if (
|
|
3710
|
+
if (v(e))
|
|
3700
3711
|
try {
|
|
3701
|
-
const l = Oi(
|
|
3702
|
-
return da(l,
|
|
3712
|
+
const l = Oi(v(t), v(e));
|
|
3713
|
+
return da(l, v(t));
|
|
3703
3714
|
} catch (l) {
|
|
3704
3715
|
n.value = l;
|
|
3705
3716
|
}
|
|
3706
|
-
return
|
|
3717
|
+
return v(t);
|
|
3707
3718
|
}), s = (l) => ({
|
|
3708
3719
|
...l,
|
|
3709
|
-
...l.label && { label: a(l.label ?? "",
|
|
3720
|
+
...l.label && { label: a(l.label ?? "", v(r)) },
|
|
3710
3721
|
...l.tooltip && { tooltip: a(l.tooltip ?? "") }
|
|
3711
3722
|
});
|
|
3712
3723
|
return {
|
|
@@ -3820,7 +3831,7 @@ const ie = {
|
|
|
3820
3831
|
return (c, p) => (S(), at(on, null, {
|
|
3821
3832
|
default: G(({ el: f }) => [
|
|
3822
3833
|
nt(Qr, {
|
|
3823
|
-
columns:
|
|
3834
|
+
columns: v(s),
|
|
3824
3835
|
sort: r.sort,
|
|
3825
3836
|
rows: r.rows,
|
|
3826
3837
|
"is-loading": t.isLoading,
|
|
@@ -3829,7 +3840,7 @@ const ie = {
|
|
|
3829
3840
|
}, Pn({
|
|
3830
3841
|
"cell-index": G(({ row: u }) => [
|
|
3831
3842
|
P("span", {
|
|
3832
|
-
class:
|
|
3843
|
+
class: J(u.indexClass)
|
|
3833
3844
|
}, z(u.index), 3)
|
|
3834
3845
|
]),
|
|
3835
3846
|
"cell-playerPortrait": G(({ row: u }) => [
|
|
@@ -3837,7 +3848,7 @@ const ie = {
|
|
|
3837
3848
|
(S(), at(It, {
|
|
3838
3849
|
key: u.id || u.playerId,
|
|
3839
3850
|
src: u.playerPortrait,
|
|
3840
|
-
"default-src":
|
|
3851
|
+
"default-src": v(Oa)
|
|
3841
3852
|
}, null, 8, ["src", "default-src"]))
|
|
3842
3853
|
])
|
|
3843
3854
|
]),
|
|
@@ -3903,7 +3914,7 @@ const ie = {
|
|
|
3903
3914
|
key: 1,
|
|
3904
3915
|
href: t.externalGameResolver(u.gameId),
|
|
3905
3916
|
target: t.externalGameResolverTarget,
|
|
3906
|
-
class:
|
|
3917
|
+
class: J({ "is-text-dark": u.gameStatus !== 1, "is-text-accent": u.gameStatus === 1 })
|
|
3907
3918
|
}, z(u.homeTeamScore) + ":" + z(u.awayTeamScore), 11, ji))
|
|
3908
3919
|
]),
|
|
3909
3920
|
loading: G(() => [
|
|
@@ -4014,30 +4025,30 @@ const ie = {
|
|
|
4014
4025
|
gamesPlayed: {
|
|
4015
4026
|
label: "table.game.short",
|
|
4016
4027
|
tooltip: "table.game.tooltip",
|
|
4017
|
-
sortOrders: [{ target: "gamesPlayed", direction:
|
|
4028
|
+
sortOrders: [{ target: "gamesPlayed", direction: y }]
|
|
4018
4029
|
},
|
|
4019
4030
|
w: {
|
|
4020
4031
|
label: "table.wins.short",
|
|
4021
4032
|
tooltip: "table.wins.tooltip",
|
|
4022
4033
|
sortOrders: [
|
|
4023
|
-
{ target: "w", direction:
|
|
4024
|
-
{ target: "otw", direction:
|
|
4034
|
+
{ target: "w", direction: y },
|
|
4035
|
+
{ target: "otw", direction: y }
|
|
4025
4036
|
]
|
|
4026
4037
|
},
|
|
4027
4038
|
otw: {
|
|
4028
4039
|
label: "table.otw.short",
|
|
4029
4040
|
tooltip: "table.otw.tooltip",
|
|
4030
|
-
sortOrders: [{ target: "otw", direction:
|
|
4041
|
+
sortOrders: [{ target: "otw", direction: y }]
|
|
4031
4042
|
},
|
|
4032
4043
|
sow: {
|
|
4033
4044
|
label: "table.sow.short",
|
|
4034
4045
|
tooltip: "table.sow.tooltip",
|
|
4035
|
-
sortOrders: [{ target: "sow", direction:
|
|
4046
|
+
sortOrders: [{ target: "sow", direction: y }]
|
|
4036
4047
|
},
|
|
4037
4048
|
sol: {
|
|
4038
4049
|
label: "table.sol.short",
|
|
4039
4050
|
tooltip: "table.sol.tooltip",
|
|
4040
|
-
sortOrders: [{ target: "sol", direction:
|
|
4051
|
+
sortOrders: [{ target: "sol", direction: y }]
|
|
4041
4052
|
},
|
|
4042
4053
|
otl: {
|
|
4043
4054
|
label: "table.otl.short",
|
|
@@ -4052,7 +4063,7 @@ const ie = {
|
|
|
4052
4063
|
gf: {
|
|
4053
4064
|
label: "table.goalFor.short",
|
|
4054
4065
|
tooltip: "table.goalFor.tooltip",
|
|
4055
|
-
sortOrders: [{ target: "gf", direction:
|
|
4066
|
+
sortOrders: [{ target: "gf", direction: y }]
|
|
4056
4067
|
},
|
|
4057
4068
|
ga: {
|
|
4058
4069
|
label: "table.goalAgainst.short",
|
|
@@ -4062,16 +4073,18 @@ const ie = {
|
|
|
4062
4073
|
gd: {
|
|
4063
4074
|
label: "table.goalDiff.short",
|
|
4064
4075
|
tooltip: "table.goalDiff.tooltip",
|
|
4065
|
-
sortOrders: [{ target: "gd", direction:
|
|
4076
|
+
sortOrders: [{ target: "gd", direction: y }]
|
|
4066
4077
|
},
|
|
4067
4078
|
points: {
|
|
4068
4079
|
label: "table.points.short",
|
|
4069
4080
|
tooltip: "table.points.tooltip",
|
|
4070
4081
|
class: "is-text-bold",
|
|
4071
4082
|
sortOrders: [
|
|
4072
|
-
{ target: "points", direction:
|
|
4073
|
-
{ target: "
|
|
4074
|
-
{ target: "
|
|
4083
|
+
{ target: "points", direction: y },
|
|
4084
|
+
{ target: "gamesPlayed", direction: j },
|
|
4085
|
+
{ target: "w", direction: y },
|
|
4086
|
+
{ target: "gd", direction: y },
|
|
4087
|
+
{ target: "gf", direction: y }
|
|
4075
4088
|
]
|
|
4076
4089
|
}
|
|
4077
4090
|
}, nc = {
|
|
@@ -4092,22 +4105,22 @@ const ie = {
|
|
|
4092
4105
|
gamesPlayed: {
|
|
4093
4106
|
label: "table.game.short",
|
|
4094
4107
|
tooltip: "table.game.tooltip",
|
|
4095
|
-
sortOrders: [{ target: "gamesPlayed", direction:
|
|
4108
|
+
sortOrders: [{ target: "gamesPlayed", direction: y }]
|
|
4096
4109
|
},
|
|
4097
4110
|
w: {
|
|
4098
4111
|
label: "table.wins.short",
|
|
4099
4112
|
tooltip: "table.wins.tooltip",
|
|
4100
4113
|
sortOrders: [
|
|
4101
|
-
{ target: "w", direction:
|
|
4102
|
-
{ target: "d", direction:
|
|
4114
|
+
{ target: "w", direction: y },
|
|
4115
|
+
{ target: "d", direction: y }
|
|
4103
4116
|
]
|
|
4104
4117
|
},
|
|
4105
4118
|
d: {
|
|
4106
4119
|
label: "table.draw.short",
|
|
4107
4120
|
tooltip: "table.draw.tooltip",
|
|
4108
4121
|
sortOrders: [
|
|
4109
|
-
{ target: "d", direction:
|
|
4110
|
-
{ target: "w", direction:
|
|
4122
|
+
{ target: "d", direction: y },
|
|
4123
|
+
{ target: "w", direction: y }
|
|
4111
4124
|
]
|
|
4112
4125
|
},
|
|
4113
4126
|
l: {
|
|
@@ -4118,7 +4131,7 @@ const ie = {
|
|
|
4118
4131
|
gf: {
|
|
4119
4132
|
label: "table.goalFor.short",
|
|
4120
4133
|
tooltip: "table.goalFor.tooltip",
|
|
4121
|
-
sortOrders: [{ target: "gf", direction:
|
|
4134
|
+
sortOrders: [{ target: "gf", direction: y }]
|
|
4122
4135
|
},
|
|
4123
4136
|
ga: {
|
|
4124
4137
|
label: "table.goalAgainst.short",
|
|
@@ -4128,13 +4141,13 @@ const ie = {
|
|
|
4128
4141
|
gd: {
|
|
4129
4142
|
label: "table.goalDiff.short",
|
|
4130
4143
|
tooltip: "table.goalDiff.tooltip",
|
|
4131
|
-
sortOrders: [{ target: "gd", direction:
|
|
4144
|
+
sortOrders: [{ target: "gd", direction: y }]
|
|
4132
4145
|
},
|
|
4133
4146
|
points: {
|
|
4134
4147
|
label: "table.points.short",
|
|
4135
4148
|
tooltip: "table.points.tooltip",
|
|
4136
4149
|
class: "is-text-bold",
|
|
4137
|
-
sortOrders: [{ target: "points", direction:
|
|
4150
|
+
sortOrders: [{ target: "points", direction: y }]
|
|
4138
4151
|
}
|
|
4139
4152
|
}, oc = {
|
|
4140
4153
|
index: {
|
|
@@ -4164,43 +4177,43 @@ const ie = {
|
|
|
4164
4177
|
gp: {
|
|
4165
4178
|
label: "table.game.short",
|
|
4166
4179
|
tooltip: "table.game.tooltip",
|
|
4167
|
-
sortOrders: [{ target: "gp", direction:
|
|
4180
|
+
sortOrders: [{ target: "gp", direction: y }]
|
|
4168
4181
|
},
|
|
4169
4182
|
g: {
|
|
4170
4183
|
label: "table.goals.short",
|
|
4171
4184
|
tooltip: "table.goals.tooltip",
|
|
4172
4185
|
sortOrders: [
|
|
4173
|
-
{ target: "g", direction:
|
|
4174
|
-
{ target: "a", direction:
|
|
4186
|
+
{ target: "g", direction: y },
|
|
4187
|
+
{ target: "a", direction: y }
|
|
4175
4188
|
]
|
|
4176
4189
|
},
|
|
4177
4190
|
a: {
|
|
4178
4191
|
label: "table.assists.short",
|
|
4179
4192
|
tooltip: "table.assists.tooltip",
|
|
4180
4193
|
sortOrders: [
|
|
4181
|
-
{ target: "a", direction:
|
|
4182
|
-
{ target: "g", direction:
|
|
4194
|
+
{ target: "a", direction: y },
|
|
4195
|
+
{ target: "g", direction: y }
|
|
4183
4196
|
]
|
|
4184
4197
|
},
|
|
4185
4198
|
point: {
|
|
4186
4199
|
label: "table.points.short",
|
|
4187
4200
|
tooltip: "table.points.tooltip",
|
|
4188
|
-
sortOrders: [{ target: "point", direction:
|
|
4201
|
+
sortOrders: [{ target: "point", direction: y }]
|
|
4189
4202
|
},
|
|
4190
4203
|
plusMinus: {
|
|
4191
4204
|
label: "table.plusMinus.short",
|
|
4192
4205
|
tooltip: "table.plusMinus.tooltip",
|
|
4193
|
-
sortOrders: [{ target: "plusMinus", direction:
|
|
4206
|
+
sortOrders: [{ target: "plusMinus", direction: y }]
|
|
4194
4207
|
},
|
|
4195
4208
|
shoot: {
|
|
4196
4209
|
label: "table.sog.short",
|
|
4197
4210
|
tooltip: "table.sog.tooltip",
|
|
4198
|
-
sortOrders: [{ target: "shoot", direction:
|
|
4211
|
+
sortOrders: [{ target: "shoot", direction: y }]
|
|
4199
4212
|
},
|
|
4200
4213
|
shootPercent: {
|
|
4201
4214
|
label: "table.sogPercent.short",
|
|
4202
4215
|
tooltip: "table.sogPercent.tooltip",
|
|
4203
|
-
sortOrders: [{ target: "shootPercent", direction:
|
|
4216
|
+
sortOrders: [{ target: "shootPercent", direction: y }]
|
|
4204
4217
|
}
|
|
4205
4218
|
}, ac = {
|
|
4206
4219
|
index: {
|
|
@@ -4230,52 +4243,52 @@ const ie = {
|
|
|
4230
4243
|
gp: {
|
|
4231
4244
|
label: "table.game.short",
|
|
4232
4245
|
tooltip: "table.game.tooltip",
|
|
4233
|
-
sortOrders: [{ target: "gp", direction:
|
|
4246
|
+
sortOrders: [{ target: "gp", direction: y }]
|
|
4234
4247
|
},
|
|
4235
4248
|
p2: {
|
|
4236
4249
|
label: "table.minorPenalties.short",
|
|
4237
4250
|
tooltip: "table.minorPenalties.tooltip",
|
|
4238
4251
|
sortOrders: [
|
|
4239
|
-
{ target: "p2", direction:
|
|
4240
|
-
{ target: "pim", direction:
|
|
4252
|
+
{ target: "p2", direction: y },
|
|
4253
|
+
{ target: "pim", direction: y }
|
|
4241
4254
|
]
|
|
4242
4255
|
},
|
|
4243
4256
|
p5: {
|
|
4244
4257
|
label: "table.majorPenalties.short",
|
|
4245
4258
|
tooltip: "table.majorPenalties.tooltip",
|
|
4246
4259
|
sortOrders: [
|
|
4247
|
-
{ target: "p5", direction:
|
|
4248
|
-
{ target: "pim", direction:
|
|
4260
|
+
{ target: "p5", direction: y },
|
|
4261
|
+
{ target: "pim", direction: y }
|
|
4249
4262
|
]
|
|
4250
4263
|
},
|
|
4251
4264
|
p10: {
|
|
4252
4265
|
label: "table.misconducts.short",
|
|
4253
4266
|
tooltip: "table.misconducts.tooltip",
|
|
4254
4267
|
sortOrders: [
|
|
4255
|
-
{ target: "p10", direction:
|
|
4256
|
-
{ target: "pim", direction:
|
|
4268
|
+
{ target: "p10", direction: y },
|
|
4269
|
+
{ target: "pim", direction: y }
|
|
4257
4270
|
]
|
|
4258
4271
|
},
|
|
4259
4272
|
p20: {
|
|
4260
4273
|
label: "table.gameMisconducts.short",
|
|
4261
4274
|
tooltip: "table.gameMisconducts.tooltip",
|
|
4262
4275
|
sortOrders: [
|
|
4263
|
-
{ target: "p20", direction:
|
|
4264
|
-
{ target: "pim", direction:
|
|
4276
|
+
{ target: "p20", direction: y },
|
|
4277
|
+
{ target: "pim", direction: y }
|
|
4265
4278
|
]
|
|
4266
4279
|
},
|
|
4267
4280
|
p25: {
|
|
4268
4281
|
label: "table.matchPenalties.short",
|
|
4269
4282
|
tooltip: "table.matchPenalties.tooltip",
|
|
4270
4283
|
sortOrders: [
|
|
4271
|
-
{ target: "p25", direction:
|
|
4272
|
-
{ target: "pim", direction:
|
|
4284
|
+
{ target: "p25", direction: y },
|
|
4285
|
+
{ target: "pim", direction: y }
|
|
4273
4286
|
]
|
|
4274
4287
|
},
|
|
4275
4288
|
pim: {
|
|
4276
4289
|
label: "table.pim.short",
|
|
4277
4290
|
tooltip: "table.pim.tooltip",
|
|
4278
|
-
sortOrders: [{ target: "pim", direction:
|
|
4291
|
+
sortOrders: [{ target: "pim", direction: y }]
|
|
4279
4292
|
}
|
|
4280
4293
|
}, sc = {
|
|
4281
4294
|
index: {
|
|
@@ -4305,47 +4318,47 @@ const ie = {
|
|
|
4305
4318
|
gkd: {
|
|
4306
4319
|
label: "table.gpgk.short",
|
|
4307
4320
|
tooltip: "table.gpgk.tooltip",
|
|
4308
|
-
sortOrders: [{ target: "gkd", direction:
|
|
4321
|
+
sortOrders: [{ target: "gkd", direction: y }]
|
|
4309
4322
|
},
|
|
4310
4323
|
gpi: {
|
|
4311
4324
|
label: "table.gpi.short",
|
|
4312
4325
|
tooltip: "table.gpi.tooltip",
|
|
4313
|
-
sortOrders: [{ target: "gpi", direction:
|
|
4326
|
+
sortOrders: [{ target: "gpi", direction: y }]
|
|
4314
4327
|
},
|
|
4315
4328
|
mip: {
|
|
4316
4329
|
label: "table.toi.short",
|
|
4317
4330
|
tooltip: "table.toi.tooltip",
|
|
4318
|
-
sortOrders: [{ target: "mipSec", direction:
|
|
4331
|
+
sortOrders: [{ target: "mipSec", direction: y }]
|
|
4319
4332
|
},
|
|
4320
4333
|
mipPercent: {
|
|
4321
4334
|
label: "table.toiPercent.short",
|
|
4322
4335
|
tooltip: "table.toiPercent.tooltip",
|
|
4323
|
-
sortOrders: [{ target: "mipPercent", direction:
|
|
4336
|
+
sortOrders: [{ target: "mipPercent", direction: y }]
|
|
4324
4337
|
},
|
|
4325
4338
|
ga: {
|
|
4326
4339
|
label: "table.ga.short",
|
|
4327
4340
|
tooltip: "table.ga.tooltip",
|
|
4328
|
-
sortOrders: [{ target: "ga", direction:
|
|
4341
|
+
sortOrders: [{ target: "ga", direction: y }]
|
|
4329
4342
|
},
|
|
4330
4343
|
gaa: {
|
|
4331
4344
|
label: "table.gaa.short",
|
|
4332
4345
|
tooltip: "table.gaa.tooltip",
|
|
4333
|
-
sortOrders: [{ target: "gaa", direction:
|
|
4346
|
+
sortOrders: [{ target: "gaa", direction: y }]
|
|
4334
4347
|
},
|
|
4335
4348
|
sa: {
|
|
4336
4349
|
label: "table.sa.short",
|
|
4337
4350
|
tooltip: "table.sa.tooltip",
|
|
4338
|
-
sortOrders: [{ target: "sa", direction:
|
|
4351
|
+
sortOrders: [{ target: "sa", direction: y }]
|
|
4339
4352
|
},
|
|
4340
4353
|
svs: {
|
|
4341
4354
|
label: "table.svs.short",
|
|
4342
4355
|
tooltip: "table.svs.tooltip",
|
|
4343
|
-
sortOrders: [{ target: "svs", direction:
|
|
4356
|
+
sortOrders: [{ target: "svs", direction: y }]
|
|
4344
4357
|
},
|
|
4345
4358
|
svsPercent: {
|
|
4346
4359
|
label: "table.svsPercent.short",
|
|
4347
4360
|
tooltip: "table.svsPercent.tooltip",
|
|
4348
|
-
sortOrders: [{ target: "svsPercent", direction:
|
|
4361
|
+
sortOrders: [{ target: "svsPercent", direction: y }]
|
|
4349
4362
|
}
|
|
4350
4363
|
}, ic = {
|
|
4351
4364
|
index: {
|
|
@@ -4368,17 +4381,17 @@ const ie = {
|
|
|
4368
4381
|
homeGame: {
|
|
4369
4382
|
label: "table.homeGame.short",
|
|
4370
4383
|
tooltip: "table.homeGame.tooltip",
|
|
4371
|
-
sortOrders: [{ target: "homeGame", direction:
|
|
4384
|
+
sortOrders: [{ target: "homeGame", direction: y }]
|
|
4372
4385
|
},
|
|
4373
4386
|
homeAttendance: {
|
|
4374
4387
|
label: "table.homeAttendance.short",
|
|
4375
4388
|
tooltip: "table.homeAttendance.tooltip",
|
|
4376
|
-
sortOrders: [{ target: "homeAttendance", direction:
|
|
4389
|
+
sortOrders: [{ target: "homeAttendance", direction: y }]
|
|
4377
4390
|
},
|
|
4378
4391
|
homeAttendanceAvg: {
|
|
4379
4392
|
label: "table.homeAttendanceAvg.short",
|
|
4380
4393
|
tooltip: "table.homeAttendanceAvg.tooltip",
|
|
4381
|
-
sortOrders: [{ target: "homeAttendanceAvg", direction:
|
|
4394
|
+
sortOrders: [{ target: "homeAttendanceAvg", direction: y }]
|
|
4382
4395
|
},
|
|
4383
4396
|
away: {
|
|
4384
4397
|
label: "table.awayHeader.short"
|
|
@@ -4386,17 +4399,17 @@ const ie = {
|
|
|
4386
4399
|
awayGame: {
|
|
4387
4400
|
label: "table.awayGame.short",
|
|
4388
4401
|
tooltip: "table.awayGame.tooltip",
|
|
4389
|
-
sortOrders: [{ target: "awayGame", direction:
|
|
4402
|
+
sortOrders: [{ target: "awayGame", direction: y }]
|
|
4390
4403
|
},
|
|
4391
4404
|
awayAttendance: {
|
|
4392
4405
|
label: "table.awayAttendance.short",
|
|
4393
4406
|
tooltip: "table.awayAttendance.tooltip",
|
|
4394
|
-
sortOrders: [{ target: "awayAttendance", direction:
|
|
4407
|
+
sortOrders: [{ target: "awayAttendance", direction: y }]
|
|
4395
4408
|
},
|
|
4396
4409
|
awayAttendanceAvg: {
|
|
4397
4410
|
label: "table.awayAttendanceAvg.short",
|
|
4398
4411
|
tooltip: "table.awayAttendanceAvg.tooltip",
|
|
4399
|
-
sortOrders: [{ target: "awayAttendanceAvg", direction:
|
|
4412
|
+
sortOrders: [{ target: "awayAttendanceAvg", direction: y }]
|
|
4400
4413
|
},
|
|
4401
4414
|
total: {
|
|
4402
4415
|
label: "table.totalHeader.short"
|
|
@@ -4404,17 +4417,17 @@ const ie = {
|
|
|
4404
4417
|
totalGame: {
|
|
4405
4418
|
label: "table.totalGame.short",
|
|
4406
4419
|
tooltip: "table.totalGame.tooltip",
|
|
4407
|
-
sortOrders: [{ target: "totalGame", direction:
|
|
4420
|
+
sortOrders: [{ target: "totalGame", direction: y }]
|
|
4408
4421
|
},
|
|
4409
4422
|
totalAttendance: {
|
|
4410
4423
|
label: "table.totalAttendance.short",
|
|
4411
4424
|
tooltip: "table.totalAttendance.tooltip",
|
|
4412
|
-
sortOrders: [{ target: "totalAttendance", direction:
|
|
4425
|
+
sortOrders: [{ target: "totalAttendance", direction: y }]
|
|
4413
4426
|
},
|
|
4414
4427
|
totalAttendanceAvg: {
|
|
4415
4428
|
label: "table.totalAttendanceAvg.short",
|
|
4416
4429
|
tooltip: "table.totalAttendanceAvg.tooltip",
|
|
4417
|
-
sortOrders: [{ target: "totalAttendanceAvg", direction:
|
|
4430
|
+
sortOrders: [{ target: "totalAttendanceAvg", direction: y }]
|
|
4418
4431
|
}
|
|
4419
4432
|
}, lc = {
|
|
4420
4433
|
index: {
|
|
@@ -4434,57 +4447,57 @@ const ie = {
|
|
|
4434
4447
|
gp: {
|
|
4435
4448
|
label: "table.game.short",
|
|
4436
4449
|
tooltip: "table.game.tooltip",
|
|
4437
|
-
sortOrders: [{ target: "gp", direction:
|
|
4450
|
+
sortOrders: [{ target: "gp", direction: y }]
|
|
4438
4451
|
},
|
|
4439
4452
|
p2: {
|
|
4440
4453
|
label: "table.minorPenalties.short",
|
|
4441
4454
|
tooltip: "table.minorPenalties.tooltip",
|
|
4442
4455
|
sortOrders: [
|
|
4443
|
-
{ target: "p2", direction:
|
|
4444
|
-
{ target: "pim", direction:
|
|
4456
|
+
{ target: "p2", direction: y },
|
|
4457
|
+
{ target: "pim", direction: y }
|
|
4445
4458
|
]
|
|
4446
4459
|
},
|
|
4447
4460
|
p5: {
|
|
4448
4461
|
label: "table.majorPenalties.short",
|
|
4449
4462
|
tooltip: "table.majorPenalties.tooltip",
|
|
4450
4463
|
sortOrders: [
|
|
4451
|
-
{ target: "p5", direction:
|
|
4452
|
-
{ target: "pim", direction:
|
|
4464
|
+
{ target: "p5", direction: y },
|
|
4465
|
+
{ target: "pim", direction: y }
|
|
4453
4466
|
]
|
|
4454
4467
|
},
|
|
4455
4468
|
p10: {
|
|
4456
4469
|
label: "table.misconducts.short",
|
|
4457
4470
|
tooltip: "table.misconducts.tooltip",
|
|
4458
4471
|
sortOrders: [
|
|
4459
|
-
{ target: "p10", direction:
|
|
4460
|
-
{ target: "pim", direction:
|
|
4472
|
+
{ target: "p10", direction: y },
|
|
4473
|
+
{ target: "pim", direction: y }
|
|
4461
4474
|
]
|
|
4462
4475
|
},
|
|
4463
4476
|
p20: {
|
|
4464
4477
|
label: "table.gameMisconducts.short",
|
|
4465
4478
|
tooltip: "table.gameMisconducts.tooltip",
|
|
4466
4479
|
sortOrders: [
|
|
4467
|
-
{ target: "p20", direction:
|
|
4468
|
-
{ target: "pim", direction:
|
|
4480
|
+
{ target: "p20", direction: y },
|
|
4481
|
+
{ target: "pim", direction: y }
|
|
4469
4482
|
]
|
|
4470
4483
|
},
|
|
4471
4484
|
p25: {
|
|
4472
4485
|
label: "table.matchPenalties.short",
|
|
4473
4486
|
tooltip: "table.matchPenalties.tooltip",
|
|
4474
4487
|
sortOrders: [
|
|
4475
|
-
{ target: "p25", direction:
|
|
4476
|
-
{ target: "pim", direction:
|
|
4488
|
+
{ target: "p25", direction: y },
|
|
4489
|
+
{ target: "pim", direction: y }
|
|
4477
4490
|
]
|
|
4478
4491
|
},
|
|
4479
4492
|
pimPerGame: {
|
|
4480
4493
|
label: "table.pimPerGame.short",
|
|
4481
4494
|
tooltip: "table.pimPerGame.tooltip",
|
|
4482
|
-
sortOrders: [{ target: "pimPerGame", direction:
|
|
4495
|
+
sortOrders: [{ target: "pimPerGame", direction: y }]
|
|
4483
4496
|
},
|
|
4484
4497
|
pim: {
|
|
4485
4498
|
label: "table.pim.short",
|
|
4486
4499
|
tooltip: "table.pim.tooltip",
|
|
4487
|
-
sortOrders: [{ target: "pim", direction:
|
|
4500
|
+
sortOrders: [{ target: "pim", direction: y }]
|
|
4488
4501
|
}
|
|
4489
4502
|
}, cc = {
|
|
4490
4503
|
index: {
|
|
@@ -4504,42 +4517,42 @@ const ie = {
|
|
|
4504
4517
|
gp: {
|
|
4505
4518
|
label: "table.game.short",
|
|
4506
4519
|
tooltip: "table.game.tooltip",
|
|
4507
|
-
sortOrders: [{ target: "gp", direction:
|
|
4520
|
+
sortOrders: [{ target: "gp", direction: y }]
|
|
4508
4521
|
},
|
|
4509
4522
|
dvg: {
|
|
4510
4523
|
label: "table.powerplayDisadvantages.short",
|
|
4511
4524
|
tooltip: "table.powerplayDisadvantages.tooltip",
|
|
4512
|
-
sortOrders: [{ target: "dvg", direction:
|
|
4525
|
+
sortOrders: [{ target: "dvg", direction: y }]
|
|
4513
4526
|
},
|
|
4514
4527
|
dvgTime: {
|
|
4515
4528
|
label: "table.dvgTime.short",
|
|
4516
4529
|
tooltip: "table.dvgTime.tooltip",
|
|
4517
|
-
sortOrders: [{ target: "dvgTimeSec", direction:
|
|
4530
|
+
sortOrders: [{ target: "dvgTimeSec", direction: y }]
|
|
4518
4531
|
},
|
|
4519
4532
|
dvgTimePP1: {
|
|
4520
4533
|
label: "table.dvgTimePP1.short",
|
|
4521
4534
|
tooltip: "table.dvgTimePP1.tooltip",
|
|
4522
|
-
sortOrders: [{ target: "dvgTimePP1Sec", direction:
|
|
4535
|
+
sortOrders: [{ target: "dvgTimePP1Sec", direction: y }]
|
|
4523
4536
|
},
|
|
4524
4537
|
dvgTimePP2: {
|
|
4525
4538
|
label: "table.dvgTimePP2.short",
|
|
4526
4539
|
tooltip: "table.dvgTimePP2.tooltip",
|
|
4527
|
-
sortOrders: [{ target: "dvgTimePP2", direction:
|
|
4540
|
+
sortOrders: [{ target: "dvgTimePP2", direction: y }]
|
|
4528
4541
|
},
|
|
4529
4542
|
ppga: {
|
|
4530
4543
|
label: "table.ppga.short",
|
|
4531
4544
|
tooltip: "table.ppga.tooltip",
|
|
4532
|
-
sortOrders: [{ target: "ppga", direction:
|
|
4545
|
+
sortOrders: [{ target: "ppga", direction: y }]
|
|
4533
4546
|
},
|
|
4534
4547
|
shgf: {
|
|
4535
4548
|
label: "table.shgf.short",
|
|
4536
4549
|
tooltip: "table.shgf.tooltip",
|
|
4537
|
-
sortOrders: [{ target: "shgf", direction:
|
|
4550
|
+
sortOrders: [{ target: "shgf", direction: y }]
|
|
4538
4551
|
},
|
|
4539
4552
|
pkPercent: {
|
|
4540
4553
|
label: "table.pkPercent.short",
|
|
4541
4554
|
tooltip: "table.pkPercent.tooltip",
|
|
4542
|
-
sortOrders: [{ target: "pkPercent", direction:
|
|
4555
|
+
sortOrders: [{ target: "pkPercent", direction: y }]
|
|
4543
4556
|
}
|
|
4544
4557
|
}, uc = {
|
|
4545
4558
|
index: {
|
|
@@ -4559,42 +4572,42 @@ const ie = {
|
|
|
4559
4572
|
gp: {
|
|
4560
4573
|
label: "table.game.short",
|
|
4561
4574
|
tooltip: "table.game.tooltip",
|
|
4562
|
-
sortOrders: [{ target: "gp", direction:
|
|
4575
|
+
sortOrders: [{ target: "gp", direction: y }]
|
|
4563
4576
|
},
|
|
4564
4577
|
adv: {
|
|
4565
4578
|
label: "table.adv.short",
|
|
4566
4579
|
tooltip: "table.adv.tooltip",
|
|
4567
|
-
sortOrders: [{ target: "adv", direction:
|
|
4580
|
+
sortOrders: [{ target: "adv", direction: y }]
|
|
4568
4581
|
},
|
|
4569
4582
|
advTime: {
|
|
4570
4583
|
label: "table.advTime.short",
|
|
4571
4584
|
tooltip: "table.advTime.tooltip",
|
|
4572
|
-
sortOrders: [{ target: "advTimeSec", direction:
|
|
4585
|
+
sortOrders: [{ target: "advTimeSec", direction: y }]
|
|
4573
4586
|
},
|
|
4574
4587
|
advTimePP1: {
|
|
4575
4588
|
label: "table.advTimePP1.short",
|
|
4576
4589
|
tooltip: "table.advTimePP1.tooltip",
|
|
4577
|
-
sortOrders: [{ target: "advTimePP1Sec", direction:
|
|
4590
|
+
sortOrders: [{ target: "advTimePP1Sec", direction: y }]
|
|
4578
4591
|
},
|
|
4579
4592
|
advTimePP2: {
|
|
4580
4593
|
label: "table.advTimePP2.short",
|
|
4581
4594
|
tooltip: "table.advTimePP2.tooltip",
|
|
4582
|
-
sortOrders: [{ target: "advTimePP2Sec", direction:
|
|
4595
|
+
sortOrders: [{ target: "advTimePP2Sec", direction: y }]
|
|
4583
4596
|
},
|
|
4584
4597
|
ppgf: {
|
|
4585
4598
|
label: "table.ppgf.short",
|
|
4586
4599
|
tooltip: "table.ppgf.tooltip",
|
|
4587
|
-
sortOrders: [{ target: "ppgf", direction:
|
|
4600
|
+
sortOrders: [{ target: "ppgf", direction: y }]
|
|
4588
4601
|
},
|
|
4589
4602
|
shga: {
|
|
4590
4603
|
label: "table.shga.short",
|
|
4591
4604
|
tooltip: "table.shga.tooltip",
|
|
4592
|
-
sortOrders: [{ target: "shga", direction:
|
|
4605
|
+
sortOrders: [{ target: "shga", direction: y }]
|
|
4593
4606
|
},
|
|
4594
4607
|
ppPercent: {
|
|
4595
4608
|
label: "table.ppPercent.short",
|
|
4596
4609
|
tooltip: "table.ppPercent.tooltip",
|
|
4597
|
-
sortOrders: [{ target: "ppPercent", direction:
|
|
4610
|
+
sortOrders: [{ target: "ppPercent", direction: y }]
|
|
4598
4611
|
}
|
|
4599
4612
|
}, dc = {
|
|
4600
4613
|
index: {
|
|
@@ -4614,12 +4627,12 @@ const ie = {
|
|
|
4614
4627
|
m: {
|
|
4615
4628
|
label: "table.game.short",
|
|
4616
4629
|
tooltip: "table.game.tooltip",
|
|
4617
|
-
sortOrders: [{ target: "gp", direction:
|
|
4630
|
+
sortOrders: [{ target: "gp", direction: y }]
|
|
4618
4631
|
},
|
|
4619
4632
|
plus: {
|
|
4620
4633
|
label: "table.goalFor.short",
|
|
4621
4634
|
tooltip: "table.goalFor.tooltip",
|
|
4622
|
-
sortOrders: [{ target: "plus", direction:
|
|
4635
|
+
sortOrders: [{ target: "plus", direction: y }]
|
|
4623
4636
|
},
|
|
4624
4637
|
minus: {
|
|
4625
4638
|
label: "table.goalAgainst.short",
|
|
@@ -4629,12 +4642,12 @@ const ie = {
|
|
|
4629
4642
|
gk: {
|
|
4630
4643
|
label: "table.goalDiff.short",
|
|
4631
4644
|
tooltip: "table.goalDiff.tooltip",
|
|
4632
|
-
sortOrders: [{ target: "gk", direction:
|
|
4645
|
+
sortOrders: [{ target: "gk", direction: y }]
|
|
4633
4646
|
},
|
|
4634
4647
|
GFGP: {
|
|
4635
4648
|
label: "table.gfgp.short",
|
|
4636
4649
|
tooltip: "table.gfgp.tooltip",
|
|
4637
|
-
sortOrders: [{ target: "GFGP", direction:
|
|
4650
|
+
sortOrders: [{ target: "GFGP", direction: y }]
|
|
4638
4651
|
},
|
|
4639
4652
|
GAGP: {
|
|
4640
4653
|
label: "table.gagp.short",
|
|
@@ -4644,7 +4657,7 @@ const ie = {
|
|
|
4644
4657
|
Shots: {
|
|
4645
4658
|
label: "table.sog.short",
|
|
4646
4659
|
tooltip: "table.sog.tooltip",
|
|
4647
|
-
sortOrders: [{ target: "Shots", direction:
|
|
4660
|
+
sortOrders: [{ target: "Shots", direction: y }]
|
|
4648
4661
|
},
|
|
4649
4662
|
SA: {
|
|
4650
4663
|
label: "table.sa.short",
|
|
@@ -4654,7 +4667,7 @@ const ie = {
|
|
|
4654
4667
|
ShotsGP: {
|
|
4655
4668
|
label: "table.sogp.short",
|
|
4656
4669
|
tooltip: "table.sogp.tooltip",
|
|
4657
|
-
sortOrders: [{ target: "ShotsGP", direction:
|
|
4670
|
+
sortOrders: [{ target: "ShotsGP", direction: y }]
|
|
4658
4671
|
},
|
|
4659
4672
|
SAGP: {
|
|
4660
4673
|
label: "table.sagp.short",
|
|
@@ -4664,10 +4677,10 @@ const ie = {
|
|
|
4664
4677
|
GFShots: {
|
|
4665
4678
|
label: "table.sogPercent.short",
|
|
4666
4679
|
tooltip: "table.sogPercent.tooltip",
|
|
4667
|
-
sortOrders: [{ target: "GFShots", direction:
|
|
4680
|
+
sortOrders: [{ target: "GFShots", direction: y }]
|
|
4668
4681
|
}
|
|
4669
4682
|
}, Bi = async (t, e, r) => {
|
|
4670
|
-
const n = `${Ta}${
|
|
4683
|
+
const n = `${Ta}${v(t)}?${Vi(r)}`;
|
|
4671
4684
|
return new Promise((a, o) => {
|
|
4672
4685
|
fetch(n, {
|
|
4673
4686
|
method: "GET",
|
|
@@ -4692,7 +4705,7 @@ const ie = {
|
|
|
4692
4705
|
return Ln(r, () => {
|
|
4693
4706
|
if (!a)
|
|
4694
4707
|
return;
|
|
4695
|
-
const c = Ko(pa(s, "gameDate"))(
|
|
4708
|
+
const c = Ko(pa(s, "gameDate"))(v(r));
|
|
4696
4709
|
o.value = c === -1 ? 1 : Math.floor(c / n) + 1;
|
|
4697
4710
|
}), {
|
|
4698
4711
|
page: o,
|
|
@@ -4706,7 +4719,7 @@ const ie = {
|
|
|
4706
4719
|
error: p,
|
|
4707
4720
|
isLoading: f,
|
|
4708
4721
|
execute: u
|
|
4709
|
-
} = xr(() => Bi(a, o,
|
|
4722
|
+
} = xr(() => Bi(a, o, v(s)).then((d) => e(d)), [], {
|
|
4710
4723
|
immediate: l,
|
|
4711
4724
|
resetOnExecute: i,
|
|
4712
4725
|
onError: r,
|
|
@@ -4814,11 +4827,11 @@ function Wi(t, e) {
|
|
|
4814
4827
|
return !0;
|
|
4815
4828
|
} : B, N = E === void 0, D = E ?? f, F = t.states[D];
|
|
4816
4829
|
if (K(u, d)) {
|
|
4817
|
-
var
|
|
4830
|
+
var Q = fr(gr((N ? $e(R) : [].concat(m.exit, R, F.entry).filter(function(b) {
|
|
4818
4831
|
return b;
|
|
4819
4832
|
})).map(function(b) {
|
|
4820
4833
|
return mr(b, o._options.actions);
|
|
4821
|
-
}), u, d), 3), A =
|
|
4834
|
+
}), u, d), 3), A = Q[0], $ = Q[1], w = Q[2], T = E ?? f;
|
|
4822
4835
|
return { value: T, context: $, actions: A, changed: E !== f || A.length > 0 || w, matches: De(T) };
|
|
4823
4836
|
}
|
|
4824
4837
|
}
|
|
@@ -4843,11 +4856,11 @@ const Ki = Wi({
|
|
|
4843
4856
|
states: {
|
|
4844
4857
|
[wt]: {
|
|
4845
4858
|
on: {
|
|
4846
|
-
DIRECTION1:
|
|
4859
|
+
DIRECTION1: y,
|
|
4847
4860
|
DIRECTION2: j
|
|
4848
4861
|
}
|
|
4849
4862
|
},
|
|
4850
|
-
[
|
|
4863
|
+
[y]: {
|
|
4851
4864
|
on: {
|
|
4852
4865
|
DIRECTION1: j,
|
|
4853
4866
|
DIRECTION2: wt
|
|
@@ -4856,7 +4869,7 @@ const Ki = Wi({
|
|
|
4856
4869
|
[j]: {
|
|
4857
4870
|
on: {
|
|
4858
4871
|
DIRECTION1: wt,
|
|
4859
|
-
DIRECTION2:
|
|
4872
|
+
DIRECTION2: y
|
|
4860
4873
|
}
|
|
4861
4874
|
}
|
|
4862
4875
|
}
|
|
@@ -4884,7 +4897,7 @@ function mc(t = {}) {
|
|
|
4884
4897
|
function hc(t = !1, e = yt, r = yt) {
|
|
4885
4898
|
const n = Vn();
|
|
4886
4899
|
mt(n, (a) => {
|
|
4887
|
-
if (
|
|
4900
|
+
if (v(t)) {
|
|
4888
4901
|
if (a === "visible")
|
|
4889
4902
|
return e();
|
|
4890
4903
|
r();
|
|
@@ -4942,6 +4955,12 @@ const gc = (t = []) => ({
|
|
|
4942
4955
|
name: `${e.lastName} ${e.firstName}`
|
|
4943
4956
|
})), this;
|
|
4944
4957
|
},
|
|
4958
|
+
teamName() {
|
|
4959
|
+
return this.result = this.result.map((e) => ({
|
|
4960
|
+
...e,
|
|
4961
|
+
teamName: e.team.longName
|
|
4962
|
+
})), this;
|
|
4963
|
+
},
|
|
4945
4964
|
schedule(e = "", r = "hu") {
|
|
4946
4965
|
return this.result = this.result.map((n) => ({
|
|
4947
4966
|
...n,
|
|
@@ -4962,19 +4981,22 @@ const gc = (t = []) => ({
|
|
|
4962
4981
|
}), yc = (t, ...e) => kt(Nr(...e))(t), vc = (t) => ({
|
|
4963
4982
|
...t,
|
|
4964
4983
|
...t.lastName && { name: `${t.lastName} ${t.firstName}` }
|
|
4965
|
-
}), bc = (t
|
|
4984
|
+
}), bc = (t) => ({
|
|
4985
|
+
...t,
|
|
4986
|
+
...t.team.id && { teamName: t.team.longName }
|
|
4987
|
+
}), wc = (t = []) => (e) => {
|
|
4966
4988
|
var r;
|
|
4967
4989
|
return {
|
|
4968
4990
|
...e,
|
|
4969
4991
|
[t]: (r = e[t]) == null ? void 0 : r.toUpperCase()
|
|
4970
4992
|
};
|
|
4971
|
-
},
|
|
4993
|
+
}, $c = (t = []) => (e) => (t.map((r) => e[r] ? e[`${r}Sec`] = mn(e[r]) : e), e), _c = (t = []) => (e) => (t.map((r) => e[`${r}Min`] = xi(e[r])), e), Zi = (t, e) => new Date(t.gameDate).getTime() - new Date(e.gameDate).getTime(), Sc = Rr([Zi, Pe(Gt("id")), Pe(Gt("gameId"))]), xc = (t, e) => {
|
|
4972
4994
|
const r = Re("gameResolver") || t;
|
|
4973
4995
|
return typeof r == "function" ? r(e) : r ? r + e : Pa + e;
|
|
4974
|
-
},
|
|
4996
|
+
}, Tc = (t, e) => {
|
|
4975
4997
|
const r = Re("teamResolver") || t;
|
|
4976
4998
|
return typeof r == "function" ? r(e) : encodeURI(r ? r + e : ka + e);
|
|
4977
|
-
},
|
|
4999
|
+
}, Pc = (t, e) => {
|
|
4978
5000
|
const r = Re("playerResolver") || t;
|
|
4979
5001
|
return typeof r == "function" ? r(e) : encodeURI(r ? r + e : Aa + e);
|
|
4980
5002
|
}, Re = (t = "") => {
|
|
@@ -5090,7 +5112,7 @@ const _l = { render: $l }, Sl = { class: "is-team-name-long" }, xl = { class: "i
|
|
|
5090
5112
|
}, Dl = {
|
|
5091
5113
|
key: 2,
|
|
5092
5114
|
class: "label"
|
|
5093
|
-
}, Ll = { key: 1 }, El = ["onClick", "onFocus", "onBlur"], Il = { class: "is-dropdown-menu" }, zl = ["href", "target"], Nl = { key: 0 }, Cl = ["href"],
|
|
5115
|
+
}, Ll = { key: 1 }, El = ["onClick", "onFocus", "onBlur"], Il = { class: "is-dropdown-menu" }, zl = ["href", "target"], Nl = { key: 0 }, Cl = ["href"], Oc = {
|
|
5094
5116
|
__name: "ScheduleTable",
|
|
5095
5117
|
props: {
|
|
5096
5118
|
rows: {
|
|
@@ -5143,7 +5165,7 @@ const _l = { render: $l }, Sl = { class: "is-team-name-long" }, xl = { class: "i
|
|
|
5143
5165
|
nt(on, null, {
|
|
5144
5166
|
default: G(({ el: c }) => [
|
|
5145
5167
|
nt(Qr, {
|
|
5146
|
-
columns:
|
|
5168
|
+
columns: v(a),
|
|
5147
5169
|
rows: e.rows,
|
|
5148
5170
|
"is-loading": t.isLoading,
|
|
5149
5171
|
"append-to": r.value || c
|
|
@@ -5175,16 +5197,16 @@ const _l = { render: $l }, Sl = { class: "is-team-name-long" }, xl = { class: "i
|
|
|
5175
5197
|
key: 1,
|
|
5176
5198
|
href: t.externalGameResolver(p.gameId),
|
|
5177
5199
|
target: t.externalGameResolverTarget,
|
|
5178
|
-
class:
|
|
5200
|
+
class: J({ "is-text-dark": p.gameStatus !== 1, "is-text-accent": p.gameStatus === 1 })
|
|
5179
5201
|
}, z(p.homeTeamScore) + ":" + z(p.awayTeamScore), 11, Al))
|
|
5180
5202
|
]),
|
|
5181
5203
|
"cell-gameResultType": G(({ row: p }) => [
|
|
5182
|
-
p.isOvertime ? (S(), O("span", kl, z(
|
|
5183
|
-
p.isShootout ? (S(), O("span", Ml, z(
|
|
5204
|
+
p.isOvertime ? (S(), O("span", kl, z(v(s)("common.overtimeShort")), 1)) : X("", !0),
|
|
5205
|
+
p.isShootout ? (S(), O("span", Ml, z(v(s)("common.shootoutShort")), 1)) : X("", !0),
|
|
5184
5206
|
p.seriesStandings ? (S(), O("span", Dl, z(p.seriesStandings), 1)) : X("", !0)
|
|
5185
5207
|
]),
|
|
5186
5208
|
"cell-broadcast": G(({ row: p }) => [
|
|
5187
|
-
p.broadcast ? (S(), at(
|
|
5209
|
+
p.broadcast ? (S(), at(v(nl), { key: 0 })) : (S(), O("span", Ll))
|
|
5188
5210
|
]),
|
|
5189
5211
|
"cell-location": G(({ row: p }) => {
|
|
5190
5212
|
var f;
|
|
@@ -5206,7 +5228,7 @@ const _l = { render: $l }, Sl = { class: "is-team-name-long" }, xl = { class: "i
|
|
|
5206
5228
|
onFocus: u,
|
|
5207
5229
|
onBlur: d
|
|
5208
5230
|
}, [
|
|
5209
|
-
nt(
|
|
5231
|
+
nt(v(ul))
|
|
5210
5232
|
], 40, El)
|
|
5211
5233
|
]),
|
|
5212
5234
|
content: G(() => [
|
|
@@ -5217,8 +5239,8 @@ const _l = { render: $l }, Sl = { class: "is-team-name-long" }, xl = { class: "i
|
|
|
5217
5239
|
class: "is-dropdown-item",
|
|
5218
5240
|
target: t.externalGameResolverTarget
|
|
5219
5241
|
}, [
|
|
5220
|
-
nt(
|
|
5221
|
-
gt(" " + z(
|
|
5242
|
+
nt(v(gl), { width: "14" }),
|
|
5243
|
+
gt(" " + z(v(s)("common.report")), 1)
|
|
5222
5244
|
], 8, zl)
|
|
5223
5245
|
]),
|
|
5224
5246
|
p.video ? (S(), O("li", Nl, [
|
|
@@ -5227,8 +5249,8 @@ const _l = { render: $l }, Sl = { class: "is-team-name-long" }, xl = { class: "i
|
|
|
5227
5249
|
class: "is-dropdown-item",
|
|
5228
5250
|
target: "_blank"
|
|
5229
5251
|
}, [
|
|
5230
|
-
nt(
|
|
5231
|
-
gt(" " + z(
|
|
5252
|
+
nt(v(_l), { width: "14" }),
|
|
5253
|
+
gt(" " + z(v(s)("common.video")), 1)
|
|
5232
5254
|
], 8, Cl)
|
|
5233
5255
|
])) : X("", !0)
|
|
5234
5256
|
])
|
|
@@ -5250,7 +5272,7 @@ const _l = { render: $l }, Sl = { class: "is-team-name-long" }, xl = { class: "i
|
|
|
5250
5272
|
}, null, 512)
|
|
5251
5273
|
], 64));
|
|
5252
5274
|
}
|
|
5253
|
-
}, Gl = { class: "g-row" }, Rl = ["value"], jl = { key: 0 }, Fl = ["onClick"],
|
|
5275
|
+
}, Gl = { class: "g-row" }, Rl = ["value"], jl = { key: 0 }, Fl = ["onClick"], Ac = {
|
|
5254
5276
|
__name: "SeasonSelector",
|
|
5255
5277
|
props: {
|
|
5256
5278
|
seasons: {
|
|
@@ -5292,8 +5314,8 @@ const _l = { render: $l }, Sl = { class: "is-team-name-long" }, xl = { class: "i
|
|
|
5292
5314
|
P("div", null, [
|
|
5293
5315
|
P("label", {
|
|
5294
5316
|
for: "season",
|
|
5295
|
-
class:
|
|
5296
|
-
}, z(
|
|
5317
|
+
class: J(v(_t)("label"))
|
|
5318
|
+
}, z(v(n)("selection.season")), 3),
|
|
5297
5319
|
nt(On, {
|
|
5298
5320
|
id: "season",
|
|
5299
5321
|
modelValue: a.value,
|
|
@@ -5313,7 +5335,7 @@ const _l = { render: $l }, Sl = { class: "is-team-name-long" }, xl = { class: "i
|
|
|
5313
5335
|
(S(!0), O(ct, null, Pt(t.sections, (l) => (S(), O("button", {
|
|
5314
5336
|
key: l.phaseId,
|
|
5315
5337
|
onClick: (c) => o(l),
|
|
5316
|
-
class:
|
|
5338
|
+
class: J([v(_t)("tab-button"), { "is-active": l.sectionId === t.sectionId }])
|
|
5317
5339
|
}, z(l.sectionName), 11, Fl))), 128))
|
|
5318
5340
|
]))
|
|
5319
5341
|
], 64));
|
|
@@ -5322,7 +5344,7 @@ const _l = { render: $l }, Sl = { class: "is-team-name-long" }, xl = { class: "i
|
|
|
5322
5344
|
function Vl(t, e) {
|
|
5323
5345
|
return S(), O("div", null, " Test-8 ");
|
|
5324
5346
|
}
|
|
5325
|
-
const
|
|
5347
|
+
const kc = /* @__PURE__ */ rn(Bl, [["render", Vl]]), Mc = {
|
|
5326
5348
|
locale: {
|
|
5327
5349
|
type: String,
|
|
5328
5350
|
default: "hu"
|
|
@@ -5352,7 +5374,7 @@ const Ac = /* @__PURE__ */ rn(Bl, [["render", Vl]]), kc = {
|
|
|
5352
5374
|
type: Boolean,
|
|
5353
5375
|
default: !1
|
|
5354
5376
|
}
|
|
5355
|
-
},
|
|
5377
|
+
}, Dc = {
|
|
5356
5378
|
limit: {
|
|
5357
5379
|
type: Number,
|
|
5358
5380
|
default: 20
|
|
@@ -5370,7 +5392,7 @@ const Ac = /* @__PURE__ */ rn(Bl, [["render", Vl]]), kc = {
|
|
|
5370
5392
|
default: !1
|
|
5371
5393
|
},
|
|
5372
5394
|
...Hl
|
|
5373
|
-
},
|
|
5395
|
+
}, Lc = ({ modules: t = [], apiKey: e, gameResolver: r, teamResolver: n, playerResolver: a }) => {
|
|
5374
5396
|
if (window.__MJSZ_VBR_WIDGET__ = { apiKey: e, gameResolver: r, teamResolver: n, playerResolver: a }, t.length === 0)
|
|
5375
5397
|
throw new Error("At least one module must be set");
|
|
5376
5398
|
t.forEach((o) => {
|
|
@@ -5411,28 +5433,28 @@ export {
|
|
|
5411
5433
|
Ul as REFRESH_DELAY,
|
|
5412
5434
|
on as ResponsiveTable,
|
|
5413
5435
|
j as SORT_STATE_ASCEND,
|
|
5414
|
-
|
|
5436
|
+
y as SORT_STATE_DESCEND,
|
|
5415
5437
|
wt as SORT_STATE_ORIGINAL,
|
|
5416
|
-
|
|
5417
|
-
|
|
5438
|
+
Oc as ScheduleTable,
|
|
5439
|
+
Ac as SeasonSelector,
|
|
5418
5440
|
ec as StatisticsTable,
|
|
5419
|
-
|
|
5441
|
+
kc as Test,
|
|
5420
5442
|
Ql as TimezoneSelector,
|
|
5421
5443
|
ie as UndefinedColumn,
|
|
5422
5444
|
Ta as VBR_API_BASE_URL,
|
|
5423
5445
|
gn as WidgetError,
|
|
5424
5446
|
cs as appendTo,
|
|
5425
|
-
|
|
5447
|
+
Mc as baseProps,
|
|
5426
5448
|
gc as convert,
|
|
5427
5449
|
mn as convertMinToSec,
|
|
5428
5450
|
xi as convertSecToMin,
|
|
5429
|
-
|
|
5430
|
-
|
|
5431
|
-
|
|
5451
|
+
$c as convertTimes,
|
|
5452
|
+
_c as convertTimesSecToMin,
|
|
5453
|
+
Lc as createConfig,
|
|
5432
5454
|
$a as createI18n,
|
|
5433
|
-
|
|
5434
|
-
|
|
5435
|
-
|
|
5455
|
+
xc as externalGameLinkResolver,
|
|
5456
|
+
Pc as externalPlayerLinkResolver,
|
|
5457
|
+
Tc as externalTeamLinkResolver,
|
|
5436
5458
|
Bi as fetchVBRData,
|
|
5437
5459
|
we as format,
|
|
5438
5460
|
_i as getLocalTimezone,
|
|
@@ -5442,13 +5464,14 @@ export {
|
|
|
5442
5464
|
Ti as isSameOrBefore,
|
|
5443
5465
|
Jt as offsetName,
|
|
5444
5466
|
vc as playerName,
|
|
5445
|
-
|
|
5467
|
+
Dc as playerStatsProps,
|
|
5446
5468
|
yc as rawConvert,
|
|
5447
|
-
|
|
5469
|
+
Sc as sortGames,
|
|
5448
5470
|
dr as stringPadLeft,
|
|
5471
|
+
bc as teamName,
|
|
5449
5472
|
Hl as teamStatsProps,
|
|
5450
5473
|
Ts as toKebabCase,
|
|
5451
|
-
|
|
5474
|
+
wc as upperCase,
|
|
5452
5475
|
hn as useColumns,
|
|
5453
5476
|
en as useError,
|
|
5454
5477
|
Ps as useErrorProvider,
|