@mjsz-vbr-elements/core 2.7.2 → 2.8.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.
- package/dist/{AdditionalStandingsText-QBTNWUHG.js → AdditionalStandingsText-Cyb6wiJD.js} +86 -78
- package/dist/columns.js +1 -1
- package/dist/components.js +2 -2
- package/dist/composables.js +1 -1
- package/dist/constants.js +1 -1
- package/dist/{convert-DkesPGp4.js → convert-DeSqjxv8.js} +16 -13
- package/dist/datetime-BzdN4htO.js +1 -1
- 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 +3 -3
- package/dist/useAdditionalText-D1LaWU-i.js +1 -1
- package/dist/utils.js +2 -2
- package/package.json +2 -2
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* name: @mjsz-vbr-elements/core
|
|
3
|
-
* version: v2.
|
|
3
|
+
* version: v2.8.0 - 11/12/2024, 21:34:58
|
|
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 { computed as $, ref as O, watch as Ct, getCurrentScope as we, onScopeDispose as Te, unref as u, getCurrentInstance as xe, onMounted as Pe, defineComponent as Qt, onUnmounted as ke, h as
|
|
8
|
+
import { computed as $, ref as O, watch as Ct, getCurrentScope as we, onScopeDispose as Te, unref as u, getCurrentInstance as xe, onMounted as Pe, defineComponent as Qt, onUnmounted as ke, h as Se, withDirectives as Ae, openBlock as v, createElementBlock as w, normalizeClass as z, renderSlot as R, vModelSelect as _e, createElementVNode as b, isRef as ze, Fragment as M, normalizeStyle as Bt, createVNode as C, Transition as $e, withCtx as P, createTextVNode as D, toDisplayString as x, createCommentVNode as A, toRefs as Nt, renderList as tt, createBlock as E, withKeys as Ft, withModifiers as it, createSlots as Oe, toRef as Ie } from "vue";
|
|
9
9
|
import { f as U, o as Ce, e as Ge, d as Z, a as Ee, c as Re, j as Ne, n as Ve, i as Le, b as te, u as ee, w as De, h as Me } from "./useAdditionalText-D1LaWU-i.js";
|
|
10
10
|
import { J as oe, K as vt, z as jt, C as He, o as bt, g as Be } from "./datetime-BzdN4htO.js";
|
|
11
11
|
import { LAZY_LOADING_STATE_DELAY as Fe, SORT_STATE_ORIGINAL as zt, SORT_STATE_DESCEND as Wt, SORT_STATE_ASCEND as Kt, AVAILABLE_TIMEZONES_BY_COUNTRY as je, DEFAULT_PORTRAIT_IMAGE_URL as We } from "./constants.js";
|
|
12
|
-
import { m as Ke, W as ne, U as Tt } from "./convert-
|
|
12
|
+
import { m as Ke, W as ne, U as Tt } from "./convert-DeSqjxv8.js";
|
|
13
13
|
import { COLUMNS_SCHEDULE as Je } from "./columns.js";
|
|
14
14
|
function qe(t) {
|
|
15
15
|
return we() ? (Te(t), !0) : !1;
|
|
@@ -96,7 +96,7 @@ const xr = Qt({
|
|
|
96
96
|
);
|
|
97
97
|
return ke(r), () => {
|
|
98
98
|
if (e.default)
|
|
99
|
-
return
|
|
99
|
+
return Se(t.as || "div", { ref: n }, e.default());
|
|
100
100
|
};
|
|
101
101
|
}
|
|
102
102
|
}), eo = {
|
|
@@ -110,7 +110,7 @@ const xr = Qt({
|
|
|
110
110
|
emits: ["update:modelValue"],
|
|
111
111
|
setup(t, { emit: e }) {
|
|
112
112
|
const o = t, n = e, r = U("base-input"), s = $({ get: () => o.modelValue, set: (i) => n("update:modelValue", i) });
|
|
113
|
-
return (i, c) =>
|
|
113
|
+
return (i, c) => Ae((v(), w("select", {
|
|
114
114
|
"onUpdate:modelValue": c[0] || (c[0] = (m) => s.value = m),
|
|
115
115
|
class: z([u(r), "is-select"])
|
|
116
116
|
}, [
|
|
@@ -221,11 +221,11 @@ function re(t) {
|
|
|
221
221
|
function Vt(t) {
|
|
222
222
|
return t === "y" ? "height" : "width";
|
|
223
223
|
}
|
|
224
|
-
function
|
|
224
|
+
function St(t) {
|
|
225
225
|
return ["top", "bottom"].includes(ot(t)) ? "y" : "x";
|
|
226
226
|
}
|
|
227
227
|
function Lt(t) {
|
|
228
|
-
return re(
|
|
228
|
+
return re(St(t));
|
|
229
229
|
}
|
|
230
230
|
function xo(t, e, o) {
|
|
231
231
|
o === void 0 && (o = !1);
|
|
@@ -253,7 +253,7 @@ function ko(t, e, o) {
|
|
|
253
253
|
return [];
|
|
254
254
|
}
|
|
255
255
|
}
|
|
256
|
-
function
|
|
256
|
+
function So(t, e, o, n) {
|
|
257
257
|
const r = gt(t);
|
|
258
258
|
let s = ko(ot(t), o === "start", n);
|
|
259
259
|
return r && (s = s.map((i) => i + "-" + r), e && (s = s.concat(s.map(Et)))), s;
|
|
@@ -261,7 +261,7 @@ function Ao(t, e, o, n) {
|
|
|
261
261
|
function Pt(t) {
|
|
262
262
|
return t.replace(/left|right|bottom|top/g, (e) => wo[e]);
|
|
263
263
|
}
|
|
264
|
-
function
|
|
264
|
+
function Ao(t) {
|
|
265
265
|
return {
|
|
266
266
|
top: 0,
|
|
267
267
|
right: 0,
|
|
@@ -271,7 +271,7 @@ function So(t) {
|
|
|
271
271
|
};
|
|
272
272
|
}
|
|
273
273
|
function ie(t) {
|
|
274
|
-
return typeof t != "number" ?
|
|
274
|
+
return typeof t != "number" ? Ao(t) : {
|
|
275
275
|
top: t,
|
|
276
276
|
right: t,
|
|
277
277
|
bottom: t,
|
|
@@ -301,7 +301,7 @@ function qt(t, e, o) {
|
|
|
301
301
|
reference: n,
|
|
302
302
|
floating: r
|
|
303
303
|
} = t;
|
|
304
|
-
const s =
|
|
304
|
+
const s = St(e), i = Lt(e), c = Vt(i), m = ot(e), d = s === "y", l = n.x + n.width / 2 - r.width / 2, p = n.y + n.height / 2 - r.height / 2, y = n[c] / 2 - r[c] / 2;
|
|
305
305
|
let g;
|
|
306
306
|
switch (m) {
|
|
307
307
|
case "top":
|
|
@@ -365,7 +365,7 @@ const _o = async (t, e, o) => {
|
|
|
365
365
|
fn: T
|
|
366
366
|
} = c[f], {
|
|
367
367
|
x: k,
|
|
368
|
-
y:
|
|
368
|
+
y: S,
|
|
369
369
|
data: I,
|
|
370
370
|
reset: _
|
|
371
371
|
} = await T({
|
|
@@ -382,7 +382,7 @@ const _o = async (t, e, o) => {
|
|
|
382
382
|
floating: e
|
|
383
383
|
}
|
|
384
384
|
});
|
|
385
|
-
l = k ?? l, p =
|
|
385
|
+
l = k ?? l, p = S ?? p, g = {
|
|
386
386
|
...g,
|
|
387
387
|
[h]: {
|
|
388
388
|
...g[h],
|
|
@@ -430,7 +430,7 @@ async function ae(t, e) {
|
|
|
430
430
|
...i.floating,
|
|
431
431
|
x: n,
|
|
432
432
|
y: r
|
|
433
|
-
} : i.reference,
|
|
433
|
+
} : i.reference, S = await (s.getOffsetParent == null ? void 0 : s.getOffsetParent(c.floating)), I = await (s.isElement == null ? void 0 : s.isElement(S)) ? await (s.getScale == null ? void 0 : s.getScale(S)) || {
|
|
434
434
|
x: 1,
|
|
435
435
|
y: 1
|
|
436
436
|
} : {
|
|
@@ -439,7 +439,7 @@ async function ae(t, e) {
|
|
|
439
439
|
}, _ = kt(s.convertOffsetParentRelativeRectToViewportRelativeRect ? await s.convertOffsetParentRelativeRectToViewportRelativeRect({
|
|
440
440
|
elements: c,
|
|
441
441
|
rect: k,
|
|
442
|
-
offsetParent:
|
|
442
|
+
offsetParent: S,
|
|
443
443
|
strategy: m
|
|
444
444
|
}) : k);
|
|
445
445
|
return {
|
|
@@ -470,9 +470,9 @@ const zo = (t) => ({
|
|
|
470
470
|
const p = ie(l), y = {
|
|
471
471
|
x: o,
|
|
472
472
|
y: n
|
|
473
|
-
}, g = Lt(r), a = Vt(g), f = await i.getDimensions(d), h = g === "y", T = h ? "top" : "left", k = h ? "bottom" : "right",
|
|
474
|
-
let F = L ? L[
|
|
475
|
-
(!F || !await (i.isElement == null ? void 0 : i.isElement(L))) && (F = c.floating[
|
|
473
|
+
}, g = Lt(r), a = Vt(g), f = await i.getDimensions(d), h = g === "y", T = h ? "top" : "left", k = h ? "bottom" : "right", S = h ? "clientHeight" : "clientWidth", I = s.reference[a] + s.reference[g] - y[g] - s.floating[a], _ = y[g] - s.reference[g], L = await (i.getOffsetParent == null ? void 0 : i.getOffsetParent(d));
|
|
474
|
+
let F = L ? L[S] : 0;
|
|
475
|
+
(!F || !await (i.isElement == null ? void 0 : i.isElement(L))) && (F = c.floating[S] || s.floating[a]);
|
|
476
476
|
const Q = I / 2 - _ / 2, dt = F / 2 - f[a] / 2 - 1, ut = at(p[T], dt), mt = at(p[k], dt), V = ut, pt = F - f[a] - mt, G = F / 2 - f[a] / 2 + Q, j = Gt(V, G, pt), W = !m.arrow && gt(r) != null && G !== j && s.reference[a] / 2 - (G < V ? ut : mt) - f[a] / 2 < 0, J = W ? G < V ? G - V : G - pt : 0;
|
|
477
477
|
return {
|
|
478
478
|
[g]: y[g] + J,
|
|
@@ -510,12 +510,12 @@ const zo = (t) => ({
|
|
|
510
510
|
} = ht(t, e);
|
|
511
511
|
if ((o = s.arrow) != null && o.alignmentOffset)
|
|
512
512
|
return {};
|
|
513
|
-
const T = ot(r), k = ot(c) === c,
|
|
514
|
-
!y && a !== "none" && I.push(...
|
|
513
|
+
const T = ot(r), k = ot(c) === c, S = await (m.isRTL == null ? void 0 : m.isRTL(d.floating)), I = y || (k || !f ? [Pt(c)] : Po(c));
|
|
514
|
+
!y && a !== "none" && I.push(...So(c, f, a, S));
|
|
515
515
|
const _ = [c, ...I], L = await ae(e, h), F = [];
|
|
516
516
|
let Q = ((n = s.flip) == null ? void 0 : n.overflows) || [];
|
|
517
517
|
if (l && F.push(L[T]), p) {
|
|
518
|
-
const V = xo(r, i,
|
|
518
|
+
const V = xo(r, i, S);
|
|
519
519
|
F.push(L[V[0]], L[V[1]]);
|
|
520
520
|
}
|
|
521
521
|
if (Q = [...Q, {
|
|
@@ -563,7 +563,7 @@ async function Oo(t, e) {
|
|
|
563
563
|
placement: o,
|
|
564
564
|
platform: n,
|
|
565
565
|
elements: r
|
|
566
|
-
} = t, s = await (n.isRTL == null ? void 0 : n.isRTL(r.floating)), i = ot(o), c = gt(o), m =
|
|
566
|
+
} = t, s = await (n.isRTL == null ? void 0 : n.isRTL(r.floating)), i = ot(o), c = gt(o), m = St(o) === "y", d = ["left", "top"].includes(i) ? -1 : 1, l = s && m ? -1 : 1, p = ht(e, t);
|
|
567
567
|
let {
|
|
568
568
|
mainAxis: y,
|
|
569
569
|
crossAxis: g,
|
|
@@ -636,15 +636,15 @@ const Io = function(t) {
|
|
|
636
636
|
} = ht(t, e), d = {
|
|
637
637
|
x: o,
|
|
638
638
|
y: n
|
|
639
|
-
}, l = await ae(e, m), p =
|
|
639
|
+
}, l = await ae(e, m), p = St(ot(r)), y = re(p);
|
|
640
640
|
let g = d[y], a = d[p];
|
|
641
641
|
if (s) {
|
|
642
|
-
const h = y === "y" ? "top" : "left", T = y === "y" ? "bottom" : "right", k = g + l[h],
|
|
643
|
-
g = Gt(k, g,
|
|
642
|
+
const h = y === "y" ? "top" : "left", T = y === "y" ? "bottom" : "right", k = g + l[h], S = g - l[T];
|
|
643
|
+
g = Gt(k, g, S);
|
|
644
644
|
}
|
|
645
645
|
if (i) {
|
|
646
|
-
const h = p === "y" ? "top" : "left", T = p === "y" ? "bottom" : "right", k = a + l[h],
|
|
647
|
-
a = Gt(k, a,
|
|
646
|
+
const h = p === "y" ? "top" : "left", T = p === "y" ? "bottom" : "right", k = a + l[h], S = a - l[T];
|
|
647
|
+
a = Gt(k, a, S);
|
|
648
648
|
}
|
|
649
649
|
const f = c.fn({
|
|
650
650
|
...e,
|
|
@@ -696,7 +696,7 @@ function yt(t) {
|
|
|
696
696
|
function Go(t) {
|
|
697
697
|
return ["table", "td", "th"].includes(ct(t));
|
|
698
698
|
}
|
|
699
|
-
function
|
|
699
|
+
function At(t) {
|
|
700
700
|
return [":popover-open", ":modal"].some((e) => {
|
|
701
701
|
try {
|
|
702
702
|
return t.matches(e);
|
|
@@ -714,7 +714,7 @@ function Eo(t) {
|
|
|
714
714
|
for (; K(e) && !lt(e); ) {
|
|
715
715
|
if (Dt(e))
|
|
716
716
|
return e;
|
|
717
|
-
if (
|
|
717
|
+
if (At(e))
|
|
718
718
|
return null;
|
|
719
719
|
e = X(e);
|
|
720
720
|
}
|
|
@@ -817,8 +817,8 @@ function nt(t, e, o, n) {
|
|
|
817
817
|
const y = N(s), g = n && H(n) ? N(n) : n;
|
|
818
818
|
let a = y, f = Rt(a);
|
|
819
819
|
for (; f && n && g !== a; ) {
|
|
820
|
-
const h = rt(f), T = f.getBoundingClientRect(), k = B(f),
|
|
821
|
-
m *= h.x, d *= h.y, l *= h.x, p *= h.y, m +=
|
|
820
|
+
const h = rt(f), T = f.getBoundingClientRect(), k = B(f), S = T.left + (f.clientLeft + parseFloat(k.paddingLeft)) * h.x, I = T.top + (f.clientTop + parseFloat(k.paddingTop)) * h.y;
|
|
821
|
+
m *= h.x, d *= h.y, l *= h.x, p *= h.y, m += S, d += I, a = N(f), f = Rt(a);
|
|
822
822
|
}
|
|
823
823
|
}
|
|
824
824
|
return kt({
|
|
@@ -835,7 +835,7 @@ function Vo(t) {
|
|
|
835
835
|
offsetParent: n,
|
|
836
836
|
strategy: r
|
|
837
837
|
} = t;
|
|
838
|
-
const s = r === "fixed", i = q(n), c = e ?
|
|
838
|
+
const s = r === "fixed", i = q(n), c = e ? At(e.floating) : !1;
|
|
839
839
|
if (n === i || c && s)
|
|
840
840
|
return o;
|
|
841
841
|
let m = {
|
|
@@ -937,7 +937,7 @@ function Fo(t) {
|
|
|
937
937
|
rootBoundary: n,
|
|
938
938
|
strategy: r
|
|
939
939
|
} = t;
|
|
940
|
-
const i = [...o === "clippingAncestors" ?
|
|
940
|
+
const i = [...o === "clippingAncestors" ? At(e) ? [] : Bo(e, this._c) : [].concat(o), n], c = i[0], m = i.reduce((d, l) => {
|
|
941
941
|
const p = Yt(e, l, r);
|
|
942
942
|
return d.top = et(p.top, d.top), d.right = at(p.right, d.right), d.bottom = at(p.bottom, d.bottom), d.left = et(p.left, d.left), d;
|
|
943
943
|
}, Yt(e, c, r));
|
|
@@ -986,7 +986,7 @@ function Xt(t, e) {
|
|
|
986
986
|
}
|
|
987
987
|
function fe(t, e) {
|
|
988
988
|
const o = N(t);
|
|
989
|
-
if (
|
|
989
|
+
if (At(t))
|
|
990
990
|
return o;
|
|
991
991
|
if (!K(t)) {
|
|
992
992
|
let r = X(t);
|
|
@@ -1050,17 +1050,17 @@ function Uo(t, e) {
|
|
|
1050
1050
|
rootMargin: -g + "px " + -a + "px " + -f + "px " + -h + "px",
|
|
1051
1051
|
threshold: et(0, at(1, m)) || 1
|
|
1052
1052
|
};
|
|
1053
|
-
let
|
|
1053
|
+
let S = !0;
|
|
1054
1054
|
function I(_) {
|
|
1055
1055
|
const L = _[0].intersectionRatio;
|
|
1056
1056
|
if (L !== m) {
|
|
1057
|
-
if (!
|
|
1057
|
+
if (!S)
|
|
1058
1058
|
return i();
|
|
1059
1059
|
L ? i(!1, L) : n = setTimeout(() => {
|
|
1060
1060
|
i(!1, 1e-7);
|
|
1061
1061
|
}, 1e3);
|
|
1062
1062
|
}
|
|
1063
|
-
|
|
1063
|
+
S = !1;
|
|
1064
1064
|
}
|
|
1065
1065
|
try {
|
|
1066
1066
|
o = new IntersectionObserver(I, {
|
|
@@ -1094,8 +1094,8 @@ function Yo(t, e, o, n) {
|
|
|
1094
1094
|
i && (g = new ResizeObserver((T) => {
|
|
1095
1095
|
let [k] = T;
|
|
1096
1096
|
k && k.target === d && g && (g.unobserve(e), cancelAnimationFrame(y), y = requestAnimationFrame(() => {
|
|
1097
|
-
var
|
|
1098
|
-
(
|
|
1097
|
+
var S;
|
|
1098
|
+
(S = g) == null || S.observe(e);
|
|
1099
1099
|
})), o();
|
|
1100
1100
|
}), d && !m && g.observe(d), g.observe(e));
|
|
1101
1101
|
let a, f = m ? nt(t) : null;
|
|
@@ -1267,7 +1267,7 @@ const on = (t) => {
|
|
|
1267
1267
|
left: u(i) ? `${u(i)}px` : ""
|
|
1268
1268
|
})
|
|
1269
1269
|
}, null, 4)
|
|
1270
|
-
], 2)) :
|
|
1270
|
+
], 2)) : A("", !0)
|
|
1271
1271
|
]),
|
|
1272
1272
|
_: 3
|
|
1273
1273
|
})
|
|
@@ -1332,10 +1332,10 @@ const on = (t) => {
|
|
|
1332
1332
|
onMouseleave: k,
|
|
1333
1333
|
onFocus: T,
|
|
1334
1334
|
onBlur: k,
|
|
1335
|
-
onClick: (
|
|
1335
|
+
onClick: (S) => p(a, f),
|
|
1336
1336
|
onKeydown: [
|
|
1337
|
-
Ft(it((
|
|
1338
|
-
Ft(it((
|
|
1337
|
+
Ft(it((S) => p(a, f), ["prevent"]), ["space"]),
|
|
1338
|
+
Ft(it((S) => p(a, f), ["prevent"]), ["enter"])
|
|
1339
1339
|
],
|
|
1340
1340
|
tabindex: a.sortOrders ? 0 : -1,
|
|
1341
1341
|
role: "button"
|
|
@@ -1346,19 +1346,19 @@ const on = (t) => {
|
|
|
1346
1346
|
a.sortOrders && f !== t.sort.sortTarget ? (v(), E(u(Jt), {
|
|
1347
1347
|
key: 0,
|
|
1348
1348
|
class: "is-icon-sort"
|
|
1349
|
-
})) :
|
|
1349
|
+
})) : A("", !0),
|
|
1350
1350
|
f === t.sort.sortTarget && t.sort.orders[0].direction === u(zt) ? (v(), E(u(Jt), {
|
|
1351
1351
|
key: 1,
|
|
1352
1352
|
class: "is-icon-sort"
|
|
1353
|
-
})) :
|
|
1353
|
+
})) : A("", !0),
|
|
1354
1354
|
f === t.sort.sortTarget && t.sort.orders[0].direction === u(Wt) ? (v(), E(u(fo), {
|
|
1355
1355
|
key: 2,
|
|
1356
1356
|
class: "is-icon-sort"
|
|
1357
|
-
})) :
|
|
1357
|
+
})) : A("", !0),
|
|
1358
1358
|
f === t.sort.sortTarget && t.sort.orders[0].direction === u(Kt) ? (v(), E(u(bo), {
|
|
1359
1359
|
key: 3,
|
|
1360
1360
|
class: "is-icon-sort"
|
|
1361
|
-
})) :
|
|
1361
|
+
})) : A("", !0)
|
|
1362
1362
|
], 42, sn)
|
|
1363
1363
|
]),
|
|
1364
1364
|
_: 2
|
|
@@ -1397,7 +1397,7 @@ const on = (t) => {
|
|
|
1397
1397
|
])
|
|
1398
1398
|
], 8, an)
|
|
1399
1399
|
])
|
|
1400
|
-
])) :
|
|
1400
|
+
])) : A("", !0),
|
|
1401
1401
|
t.rows.length === 0 && !u(n) && !u(s) ? (v(), w("tfoot", ln, [
|
|
1402
1402
|
b("tr", null, [
|
|
1403
1403
|
b("td", { colspan: l.value }, [
|
|
@@ -1406,7 +1406,7 @@ const on = (t) => {
|
|
|
1406
1406
|
])
|
|
1407
1407
|
], 8, cn)
|
|
1408
1408
|
])
|
|
1409
|
-
])) :
|
|
1409
|
+
])) : A("", !0)
|
|
1410
1410
|
], 2));
|
|
1411
1411
|
}
|
|
1412
1412
|
}, dn = {
|
|
@@ -1868,6 +1868,10 @@ const gn = { render: hn }, Pr = {
|
|
|
1868
1868
|
sh2AToi: {
|
|
1869
1869
|
short: "SH2-A-TOI",
|
|
1870
1870
|
tooltip: "Átlagos jégen töltött idő kétszeres emberhátrányban"
|
|
1871
|
+
},
|
|
1872
|
+
role: {
|
|
1873
|
+
short: "Szerep",
|
|
1874
|
+
tooltip: "Szerep"
|
|
1871
1875
|
}
|
|
1872
1876
|
}, Tn = {
|
|
1873
1877
|
data: {
|
|
@@ -1939,7 +1943,7 @@ const gn = { render: hn }, Pr = {
|
|
|
1939
1943
|
all: "All",
|
|
1940
1944
|
report: "Report Sheet",
|
|
1941
1945
|
video: "Video"
|
|
1942
|
-
},
|
|
1946
|
+
}, Sn = {
|
|
1943
1947
|
inheritedPoints: {
|
|
1944
1948
|
prependix: "",
|
|
1945
1949
|
content: "{team} has {points} extra point(s)",
|
|
@@ -1950,7 +1954,7 @@ const gn = { render: hn }, Pr = {
|
|
|
1950
1954
|
content: "{points} point(s) deducted from team {team}",
|
|
1951
1955
|
appendix: "based on the decision of the Disciplinary Committee."
|
|
1952
1956
|
}
|
|
1953
|
-
},
|
|
1957
|
+
}, An = {
|
|
1954
1958
|
blank: "#",
|
|
1955
1959
|
team: {
|
|
1956
1960
|
short: "Team",
|
|
@@ -2323,6 +2327,10 @@ const gn = { render: hn }, Pr = {
|
|
|
2323
2327
|
sh2AToi: {
|
|
2324
2328
|
short: "SH2-A-TOI",
|
|
2325
2329
|
tooltip: "Average Time On Ice in Shorthanded 2"
|
|
2330
|
+
},
|
|
2331
|
+
role: {
|
|
2332
|
+
short: "Role",
|
|
2333
|
+
tooltip: "Role"
|
|
2326
2334
|
}
|
|
2327
2335
|
}, _n = {
|
|
2328
2336
|
data: {
|
|
@@ -2375,8 +2383,8 @@ const gn = { render: hn }, Pr = {
|
|
|
2375
2383
|
}, zn = {
|
|
2376
2384
|
errors: Pn,
|
|
2377
2385
|
common: kn,
|
|
2378
|
-
additionalText:
|
|
2379
|
-
table:
|
|
2386
|
+
additionalText: Sn,
|
|
2387
|
+
table: An,
|
|
2380
2388
|
game: _n
|
|
2381
2389
|
}, $n = (t, e) => {
|
|
2382
2390
|
const o = t.__vccOpts || t;
|
|
@@ -2407,7 +2415,7 @@ const gn = { render: hn }, Pr = {
|
|
|
2407
2415
|
function In(t, e, o, n, r, s) {
|
|
2408
2416
|
return R(t.$slots, "default", { t: t.translate });
|
|
2409
2417
|
}
|
|
2410
|
-
const
|
|
2418
|
+
const Sr = /* @__PURE__ */ $n(On, [["render", In]]), Cn = ["src"], Gn = ["src", "title"], st = /* @__PURE__ */ Object.assign({
|
|
2411
2419
|
inheritAttrs: !1
|
|
2412
2420
|
}, {
|
|
2413
2421
|
__name: "Image",
|
|
@@ -2432,8 +2440,8 @@ const Ar = /* @__PURE__ */ $n(On, [["render", In]]), Cn = ["src"], Gn = ["src",
|
|
|
2432
2440
|
key: 0,
|
|
2433
2441
|
src: u(o),
|
|
2434
2442
|
class: z(["is-loaded is-default", i.$attrs.class])
|
|
2435
|
-
}, null, 10, Cn)) :
|
|
2436
|
-
u(r) ?
|
|
2443
|
+
}, null, 10, Cn)) : A("", !0),
|
|
2444
|
+
u(r) ? A("", !0) : (v(), w("img", {
|
|
2437
2445
|
key: 1,
|
|
2438
2446
|
src: n.value.src,
|
|
2439
2447
|
class: z([i.$attrs.class, { "is-loaded": u(s) }]),
|
|
@@ -2504,7 +2512,7 @@ const Wn = { render: jn }, Kn = ["disabled"], Jn = ["disabled"], qn = {
|
|
|
2504
2512
|
class: "is-disabled"
|
|
2505
2513
|
}, Xn = /* @__PURE__ */ b("span", null, "...", -1), Zn = [
|
|
2506
2514
|
Xn
|
|
2507
|
-
], Qn = ["disabled"], ts = ["disabled"],
|
|
2515
|
+
], Qn = ["disabled"], ts = ["disabled"], Ar = {
|
|
2508
2516
|
__name: "Paginator",
|
|
2509
2517
|
props: {
|
|
2510
2518
|
page: {
|
|
@@ -2556,13 +2564,13 @@ const Wn = { render: jn }, Kn = ["disabled"], Jn = ["disabled"], qn = {
|
|
|
2556
2564
|
C(u(Mn), { class: "icon paginator-left" })
|
|
2557
2565
|
])
|
|
2558
2566
|
], 8, Kn),
|
|
2559
|
-
t.isCompact ?
|
|
2567
|
+
t.isCompact ? A("", !0) : (v(), w("button", {
|
|
2560
2568
|
key: 0,
|
|
2561
2569
|
type: "button",
|
|
2562
2570
|
disabled: u(s) === 1,
|
|
2563
2571
|
onClick: p[1] || (p[1] = (y) => u(m)(1))
|
|
2564
2572
|
}, "1", 8, Jn)),
|
|
2565
|
-
t.isCompact ?
|
|
2573
|
+
t.isCompact ? A("", !0) : (v(), w("div", qn, "...")),
|
|
2566
2574
|
(v(!0), w(M, null, tt(u(c), (y) => (v(), w("button", {
|
|
2567
2575
|
type: "button",
|
|
2568
2576
|
key: y,
|
|
@@ -2570,8 +2578,8 @@ const Wn = { render: jn }, Kn = ["disabled"], Jn = ["disabled"], qn = {
|
|
|
2570
2578
|
disabled: y === u(s),
|
|
2571
2579
|
onClick: (g) => u(m)(y)
|
|
2572
2580
|
}, x(y), 11, Un))), 128)),
|
|
2573
|
-
t.isCompact ?
|
|
2574
|
-
t.isCompact ?
|
|
2581
|
+
t.isCompact ? A("", !0) : (v(), w("div", Yn, Zn)),
|
|
2582
|
+
t.isCompact ? A("", !0) : (v(), w("button", {
|
|
2575
2583
|
key: 3,
|
|
2576
2584
|
type: "button",
|
|
2577
2585
|
disabled: u(s) === u(i),
|
|
@@ -2586,7 +2594,7 @@ const Wn = { render: jn }, Kn = ["disabled"], Jn = ["disabled"], qn = {
|
|
|
2586
2594
|
C(u(Wn), { class: "icon paginator-left" })
|
|
2587
2595
|
])
|
|
2588
2596
|
], 8, ts)
|
|
2589
|
-
], 2)) :
|
|
2597
|
+
], 2)) : A("", !0);
|
|
2590
2598
|
}
|
|
2591
2599
|
}, ve = {
|
|
2592
2600
|
__name: "ResponsiveTable",
|
|
@@ -2791,11 +2799,11 @@ const Wn = { render: jn }, Kn = ["disabled"], Jn = ["disabled"], qn = {
|
|
|
2791
2799
|
return [
|
|
2792
2800
|
b("span", ns, [
|
|
2793
2801
|
D(x((f = a.team) == null ? void 0 : f.longName) + " ", 1),
|
|
2794
|
-
a.penaltyPoints ? (v(), w("span", ss, is)) :
|
|
2802
|
+
a.penaltyPoints ? (v(), w("span", ss, is)) : A("", !0)
|
|
2795
2803
|
]),
|
|
2796
2804
|
b("span", as, [
|
|
2797
2805
|
D(x((h = a.team) == null ? void 0 : h.shortName) + " ", 1),
|
|
2798
|
-
a.penaltyPoints ? (v(), w("span", ls, ds)) :
|
|
2806
|
+
a.penaltyPoints ? (v(), w("span", ls, ds)) : A("", !0)
|
|
2799
2807
|
])
|
|
2800
2808
|
];
|
|
2801
2809
|
}),
|
|
@@ -2828,9 +2836,9 @@ const Wn = { render: jn }, Kn = ["disabled"], Jn = ["disabled"], qn = {
|
|
|
2828
2836
|
}, x(a.homeTeamScore) + ":" + x(a.awayTeamScore), 11, ws))
|
|
2829
2837
|
]),
|
|
2830
2838
|
"cell-gameResultType": P(({ row: a }) => [
|
|
2831
|
-
a.isOvertime ? (v(), w("span", Ts, x(u(c)("common.overtimeShort")), 1)) :
|
|
2832
|
-
a.isShootout ? (v(), w("span", xs, x(u(c)("common.shootoutShort")), 1)) :
|
|
2833
|
-
a.seriesStandings ? (v(), w("span", Ps, x(a.seriesStandings), 1)) :
|
|
2839
|
+
a.isOvertime ? (v(), w("span", Ts, x(u(c)("common.overtimeShort")), 1)) : A("", !0),
|
|
2840
|
+
a.isShootout ? (v(), w("span", xs, x(u(c)("common.shootoutShort")), 1)) : A("", !0),
|
|
2841
|
+
a.seriesStandings ? (v(), w("span", Ps, x(a.seriesStandings), 1)) : A("", !0)
|
|
2834
2842
|
]),
|
|
2835
2843
|
loading: P(() => [
|
|
2836
2844
|
C(ye)
|
|
@@ -2876,14 +2884,14 @@ const Wn = { render: jn }, Kn = ["disabled"], Jn = ["disabled"], qn = {
|
|
|
2876
2884
|
"stroke-width": "2",
|
|
2877
2885
|
"stroke-linecap": "round",
|
|
2878
2886
|
"stroke-linejoin": "round"
|
|
2879
|
-
},
|
|
2887
|
+
}, Ss = /* @__PURE__ */ b("rect", {
|
|
2880
2888
|
x: "2",
|
|
2881
2889
|
y: "3",
|
|
2882
2890
|
width: "20",
|
|
2883
2891
|
height: "14",
|
|
2884
2892
|
rx: "2",
|
|
2885
2893
|
ry: "2"
|
|
2886
|
-
}, null, -1),
|
|
2894
|
+
}, null, -1), As = /* @__PURE__ */ b("line", {
|
|
2887
2895
|
x1: "8",
|
|
2888
2896
|
y1: "21",
|
|
2889
2897
|
x2: "16",
|
|
@@ -2894,8 +2902,8 @@ const Wn = { render: jn }, Kn = ["disabled"], Jn = ["disabled"], qn = {
|
|
|
2894
2902
|
x2: "12",
|
|
2895
2903
|
y2: "21"
|
|
2896
2904
|
}, null, -1), zs = [
|
|
2897
|
-
As,
|
|
2898
2905
|
Ss,
|
|
2906
|
+
As,
|
|
2899
2907
|
_s
|
|
2900
2908
|
];
|
|
2901
2909
|
function $s(t, e) {
|
|
@@ -3067,9 +3075,9 @@ const Us = { render: qs }, Ys = { class: "is-team-name-long" }, Xs = { class: "i
|
|
|
3067
3075
|
}, x(l.homeTeamScore) + ":" + x(l.awayTeamScore), 11, er))
|
|
3068
3076
|
]),
|
|
3069
3077
|
"cell-gameResultType": P(({ row: l }) => [
|
|
3070
|
-
l.isOvertime ? (v(), w("span", or, x(u(i)("common.overtimeShort")), 1)) :
|
|
3071
|
-
l.isShootout ? (v(), w("span", nr, x(u(i)("common.shootoutShort")), 1)) :
|
|
3072
|
-
l.seriesStandings ? (v(), w("span", sr, x(l.seriesStandings), 1)) :
|
|
3078
|
+
l.isOvertime ? (v(), w("span", or, x(u(i)("common.overtimeShort")), 1)) : A("", !0),
|
|
3079
|
+
l.isShootout ? (v(), w("span", nr, x(u(i)("common.shootoutShort")), 1)) : A("", !0),
|
|
3080
|
+
l.seriesStandings ? (v(), w("span", sr, x(l.seriesStandings), 1)) : A("", !0)
|
|
3073
3081
|
]),
|
|
3074
3082
|
"cell-broadcast": P(({ row: l }) => [
|
|
3075
3083
|
l.broadcast ? (v(), E(u(Os), { key: 0 })) : (v(), w("span", rr))
|
|
@@ -3118,7 +3126,7 @@ const Us = { render: qs }, Ys = { class: "is-team-name-long" }, Xs = { class: "i
|
|
|
3118
3126
|
C(u(Us), { width: "14" }),
|
|
3119
3127
|
D(" " + x(u(i)("common.video")), 1)
|
|
3120
3128
|
], 8, dr)
|
|
3121
|
-
])) :
|
|
3129
|
+
])) : A("", !0)
|
|
3122
3130
|
])
|
|
3123
3131
|
]),
|
|
3124
3132
|
_: 2
|
|
@@ -3198,7 +3206,7 @@ const Us = { render: qs }, Ys = { class: "is-team-name-long" }, Xs = { class: "i
|
|
|
3198
3206
|
]),
|
|
3199
3207
|
R(c.$slots, "default")
|
|
3200
3208
|
]),
|
|
3201
|
-
t.isSectionSelectionDisabled ?
|
|
3209
|
+
t.isSectionSelectionDisabled ? A("", !0) : (v(), w("div", pr, [
|
|
3202
3210
|
(v(!0), w(M, null, tt(t.sections, (d) => (v(), w("button", {
|
|
3203
3211
|
key: d.phaseId,
|
|
3204
3212
|
onClick: (l) => i(d),
|
|
@@ -3225,13 +3233,13 @@ const Us = { render: qs }, Ys = { class: "is-team-name-long" }, Xs = { class: "i
|
|
|
3225
3233
|
key: 0,
|
|
3226
3234
|
class: "is-text-xs is-text-light is-mt-5 is-mb-5",
|
|
3227
3235
|
textContent: x(u(i))
|
|
3228
|
-
}, null, 8, hr)) :
|
|
3236
|
+
}, null, 8, hr)) : A("", !0);
|
|
3229
3237
|
}
|
|
3230
3238
|
};
|
|
3231
3239
|
export {
|
|
3232
|
-
|
|
3240
|
+
Sr as I,
|
|
3233
3241
|
st as _,
|
|
3234
|
-
|
|
3242
|
+
Ar as a,
|
|
3235
3243
|
ge as b,
|
|
3236
3244
|
eo as c,
|
|
3237
3245
|
Pr as d,
|
package/dist/columns.js
CHANGED
package/dist/components.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* name: @mjsz-vbr-elements/core
|
|
3
|
-
* version: v2.
|
|
3
|
+
* version: v2.8.0 - 11/12/2024, 21:34:58
|
|
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 s, c as r, b as o, d as t, e as i, m as l, g as n, I as c, _ as d, k as S, a as b, j as g, f as T, h as m, i as v, l as I } from "./AdditionalStandingsText-
|
|
8
|
+
import { n as s, c as r, b as o, d as t, e as i, m as l, g as n, I as c, _ as d, k as S, a as b, j as g, f as T, h as m, i as v, l as I } from "./AdditionalStandingsText-Cyb6wiJD.js";
|
|
9
9
|
export {
|
|
10
10
|
s as AdditionalStandingsText,
|
|
11
11
|
r as BaseSelect,
|
package/dist/composables.js
CHANGED
package/dist/constants.js
CHANGED