@mjsz-vbr-elements/core 2.2.2 → 2.2.3
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-nuhfGhAD.js → AdditionalStandingsText-NpkyVKB_.js} +172 -162
- package/dist/columns.js +1 -1
- package/dist/components.js +3 -3
- package/dist/composables.js +3 -3
- package/dist/constants.js +1 -1
- package/dist/convert-rWfB71vI.js +1 -1
- package/dist/datetime--bMmvxSM.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-hj0kZWr7.js → useAdditionalText-EldMke4U.js} +130 -130
- package/dist/utils.js +1 -1
- package/package.json +2 -2
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* name: @mjsz-vbr-elements/core
|
|
3
|
-
* version: v2.2.
|
|
3
|
+
* version: v2.2.3 - 27/01/2024, 13:29:55
|
|
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 A, withDirectives as fe, openBlock as y, createElementBlock as w, normalizeClass as _, unref as m, renderSlot as I, vModelSelect as ge, createElementVNode as b, ref as E, watch as Lt, isRef as ye, Fragment as
|
|
9
|
-
import { f as J, o as ke, e as Te, d as nt, a as Pe, c as $e, j as Se, n as _e, i as ze, b as qt, u as Jt, w as Ae, h as Ge } from "./useAdditionalText-
|
|
8
|
+
import { computed as A, withDirectives as fe, openBlock as y, createElementBlock as w, normalizeClass as _, unref as m, renderSlot as I, vModelSelect as ge, createElementVNode as b, ref as E, watch as Lt, isRef as ye, Fragment as M, normalizeStyle as It, createVNode as C, Transition as ve, withCtx as T, createTextVNode as O, toDisplayString as x, createCommentVNode as $, toRefs as zt, renderList as tt, createBlock as L, withKeys as Vt, withModifiers as rt, defineComponent as be, createSlots as we, toRef as xe } from "vue";
|
|
9
|
+
import { f as J, o as ke, e as Te, d as nt, a as Pe, c as $e, j as Se, n as _e, i as ze, b as qt, u as Jt, w as Ae, h as Ge } from "./useAdditionalText-EldMke4U.js";
|
|
10
10
|
import { x as Yt, z as ft, l as Rt, p as Ce, o as gt, g as Ee } from "./datetime--bMmvxSM.js";
|
|
11
11
|
import { LAZY_LOADING_STATE_DELAY as Le, SORT_STATE_ORIGINAL as Pt, SORT_STATE_DESCEND as Nt, SORT_STATE_ASCEND as Dt, AVAILABLE_TIMEZONES_BY_COUNTRY as Ie, DEFAULT_PORTRAIT_IMAGE_URL as Ve } from "./constants.js";
|
|
12
12
|
import { i as Re, W as Zt, U as yt } from "./convert-rWfB71vI.js";
|
|
@@ -149,8 +149,8 @@ const no = async (t, e, o) => {
|
|
|
149
149
|
const { placement: n = "bottom", strategy: a = "absolute", middleware: s = [], platform: r } = o, c = s.filter(Boolean), f = await (r.isRTL == null ? void 0 : r.isRTL(e));
|
|
150
150
|
let d = await r.getElementRects({ reference: t, floating: e, strategy: a }), { x: i, y: u } = Mt(d, n, f), p = n, l = {}, h = 0;
|
|
151
151
|
for (let g = 0; g < c.length; g++) {
|
|
152
|
-
const { name: v, fn: k } = c[g], { x: P, y: S, data:
|
|
153
|
-
i = P ?? i, u = S ?? u, l = { ...l, [v]: { ...l[v], ...
|
|
152
|
+
const { name: v, fn: k } = c[g], { x: P, y: S, data: F, reset: G } = await k({ x: i, y: u, initialPlacement: n, placement: p, strategy: a, middlewareData: l, rects: d, platform: r, elements: { reference: t, floating: e } });
|
|
153
|
+
i = P ?? i, u = S ?? u, l = { ...l, [v]: { ...l[v], ...F } }, G && h <= 50 && (h++, typeof G == "object" && (G.placement && (p = G.placement), G.rects && (d = G.rects === !0 ? await r.getElementRects({ reference: t, floating: e, strategy: a }) : G.rects), { x: i, y: u } = Mt(d, p, f)), g = -1);
|
|
154
154
|
}
|
|
155
155
|
return { x: i, y: u, placement: p, strategy: a, middlewareData: l };
|
|
156
156
|
};
|
|
@@ -165,8 +165,8 @@ function vt(t) {
|
|
|
165
165
|
async function Qt(t, e) {
|
|
166
166
|
var o;
|
|
167
167
|
e === void 0 && (e = {});
|
|
168
|
-
const { x: n, y: a, platform: s, rects: r, elements: c, strategy: f } = t, { boundary: d = "clippingAncestors", rootBoundary: i = "viewport", elementContext: u = "floating", altBoundary: p = !1, padding: l = 0 } = e, h = Xt(l), g = c[p ? u === "floating" ? "reference" : "floating" : u], v = vt(await s.getClippingRect({ element: (o = await (s.isElement == null ? void 0 : s.isElement(g))) == null || o ? g : g.contextElement || await (s.getDocumentElement == null ? void 0 : s.getDocumentElement(c.floating)), boundary: d, rootBoundary: i, strategy: f })), k = u === "floating" ? { ...r.floating, x: n, y: a } : r.reference, P = await (s.getOffsetParent == null ? void 0 : s.getOffsetParent(c.floating)), S = await (s.isElement == null ? void 0 : s.isElement(P)) && await (s.getScale == null ? void 0 : s.getScale(P)) || { x: 1, y: 1 },
|
|
169
|
-
return { top: (v.top -
|
|
168
|
+
const { x: n, y: a, platform: s, rects: r, elements: c, strategy: f } = t, { boundary: d = "clippingAncestors", rootBoundary: i = "viewport", elementContext: u = "floating", altBoundary: p = !1, padding: l = 0 } = e, h = Xt(l), g = c[p ? u === "floating" ? "reference" : "floating" : u], v = vt(await s.getClippingRect({ element: (o = await (s.isElement == null ? void 0 : s.isElement(g))) == null || o ? g : g.contextElement || await (s.getDocumentElement == null ? void 0 : s.getDocumentElement(c.floating)), boundary: d, rootBoundary: i, strategy: f })), k = u === "floating" ? { ...r.floating, x: n, y: a } : r.reference, P = await (s.getOffsetParent == null ? void 0 : s.getOffsetParent(c.floating)), S = await (s.isElement == null ? void 0 : s.isElement(P)) && await (s.getScale == null ? void 0 : s.getScale(P)) || { x: 1, y: 1 }, F = vt(s.convertOffsetParentRelativeRectToViewportRelativeRect ? await s.convertOffsetParentRelativeRectToViewportRelativeRect({ rect: k, offsetParent: P, strategy: f }) : k);
|
|
169
|
+
return { top: (v.top - F.top + h.top) / S.y, bottom: (F.bottom - v.bottom + h.bottom) / S.y, left: (v.left - F.left + h.left) / S.x, right: (F.right - v.right + h.right) / S.x };
|
|
170
170
|
}
|
|
171
171
|
const so = Math.min, ao = Math.max;
|
|
172
172
|
function St(t, e, o) {
|
|
@@ -176,11 +176,11 @@ const Ht = (t) => ({ name: "arrow", options: t, async fn(e) {
|
|
|
176
176
|
const { element: o, padding: n = 0 } = t || {}, { x: a, y: s, placement: r, rects: c, platform: f, elements: d } = e;
|
|
177
177
|
if (o == null)
|
|
178
178
|
return {};
|
|
179
|
-
const i = Xt(n), u = { x: a, y: s }, p = ht(r), l = At(p), h = await f.getDimensions(o), g = p === "y", v = g ? "top" : "left", k = g ? "bottom" : "right", P = g ? "clientHeight" : "clientWidth", S = c.reference[l] + c.reference[p] - u[p] - c.floating[l],
|
|
180
|
-
let
|
|
181
|
-
|
|
182
|
-
const Z = S / 2 -
|
|
183
|
-
return { [p]: u[p] - (D ?
|
|
179
|
+
const i = Xt(n), u = { x: a, y: s }, p = ht(r), l = At(p), h = await f.getDimensions(o), g = p === "y", v = g ? "top" : "left", k = g ? "bottom" : "right", P = g ? "clientHeight" : "clientWidth", S = c.reference[l] + c.reference[p] - u[p] - c.floating[l], F = u[p] - c.reference[p], G = await (f.getOffsetParent == null ? void 0 : f.getOffsetParent(o));
|
|
180
|
+
let W = G ? G[P] : 0;
|
|
181
|
+
W && await (f.isElement == null ? void 0 : f.isElement(G)) || (W = d.floating[P] || c.floating[l]);
|
|
182
|
+
const Z = S / 2 - F / 2, X = i[v], it = W - h[l] - i[k], j = W / 2 - h[l] / 2 + Z, z = St(X, j, it), D = pt(r) != null && j != z && c.reference[l] / 2 - (j < X ? i[v] : i[k]) - h[l] / 2 < 0;
|
|
183
|
+
return { [p]: u[p] - (D ? j < X ? X - j : it - j : 0), data: { [p]: z, centerOffset: j - z } };
|
|
184
184
|
} }), ro = ["top", "right", "bottom", "left"];
|
|
185
185
|
ro.reduce((t, e) => t.concat(e, e + "-start", e + "-end"), []);
|
|
186
186
|
const lo = { left: "right", right: "left", bottom: "top", top: "bottom" };
|
|
@@ -205,7 +205,7 @@ const uo = function(t) {
|
|
|
205
205
|
return [$t(z), D, $t(D)];
|
|
206
206
|
}(r));
|
|
207
207
|
u || l === "none" || S.push(...function(z, D, Q, U) {
|
|
208
|
-
const
|
|
208
|
+
const K = pt(z);
|
|
209
209
|
let R = function(ct, Tt, me) {
|
|
210
210
|
const Ct = ["left", "right"], Et = ["right", "left"], pe = ["top", "bottom"], he = ["bottom", "top"];
|
|
211
211
|
switch (ct) {
|
|
@@ -219,25 +219,25 @@ const uo = function(t) {
|
|
|
219
219
|
return [];
|
|
220
220
|
}
|
|
221
221
|
}(et(z), Q === "start", U);
|
|
222
|
-
return
|
|
222
|
+
return K && (R = R.map((ct) => ct + "-" + K), D && (R = R.concat(R.map($t)))), R;
|
|
223
223
|
}(r, h, l, P));
|
|
224
|
-
const
|
|
224
|
+
const F = [r, ...S], G = await Qt(e, g), W = [];
|
|
225
225
|
let Z = ((o = a.flip) == null ? void 0 : o.overflows) || [];
|
|
226
|
-
if (d &&
|
|
226
|
+
if (d && W.push(G[v]), i) {
|
|
227
227
|
const { main: z, cross: D } = io(n, s, P);
|
|
228
|
-
|
|
228
|
+
W.push(G[z], G[D]);
|
|
229
229
|
}
|
|
230
|
-
if (Z = [...Z, { placement: n, overflows:
|
|
230
|
+
if (Z = [...Z, { placement: n, overflows: W }], !W.every((z) => z <= 0)) {
|
|
231
231
|
var X, it;
|
|
232
|
-
const z = (((X = a.flip) == null ? void 0 : X.index) || 0) + 1, D =
|
|
232
|
+
const z = (((X = a.flip) == null ? void 0 : X.index) || 0) + 1, D = F[z];
|
|
233
233
|
if (D)
|
|
234
234
|
return { data: { index: z, overflows: Z }, reset: { placement: D } };
|
|
235
|
-
let Q = (it = Z.filter((U) => U.overflows[0] <= 0).sort((U,
|
|
235
|
+
let Q = (it = Z.filter((U) => U.overflows[0] <= 0).sort((U, K) => U.overflows[1] - K.overflows[1])[0]) == null ? void 0 : it.placement;
|
|
236
236
|
if (!Q)
|
|
237
237
|
switch (p) {
|
|
238
238
|
case "bestFit": {
|
|
239
|
-
var
|
|
240
|
-
const U = (
|
|
239
|
+
var j;
|
|
240
|
+
const U = (j = Z.map((K) => [K.placement, K.overflows.filter((R) => R > 0).reduce((R, ct) => R + ct, 0)]).sort((K, R) => K[1] - R[1])[0]) == null ? void 0 : j[0];
|
|
241
241
|
U && (Q = U);
|
|
242
242
|
break;
|
|
243
243
|
}
|
|
@@ -285,7 +285,7 @@ function N(t) {
|
|
|
285
285
|
var e;
|
|
286
286
|
return ((e = t.ownerDocument) == null ? void 0 : e.defaultView) || window;
|
|
287
287
|
}
|
|
288
|
-
function
|
|
288
|
+
function H(t) {
|
|
289
289
|
return N(t).getComputedStyle(t);
|
|
290
290
|
}
|
|
291
291
|
function te(t) {
|
|
@@ -294,7 +294,7 @@ function te(t) {
|
|
|
294
294
|
function Y(t) {
|
|
295
295
|
return te(t) ? (t.nodeName || "").toLowerCase() : "";
|
|
296
296
|
}
|
|
297
|
-
function
|
|
297
|
+
function B(t) {
|
|
298
298
|
return t instanceof N(t).HTMLElement;
|
|
299
299
|
}
|
|
300
300
|
function V(t) {
|
|
@@ -304,14 +304,14 @@ function Bt(t) {
|
|
|
304
304
|
return typeof ShadowRoot > "u" ? !1 : t instanceof N(t).ShadowRoot || t instanceof ShadowRoot;
|
|
305
305
|
}
|
|
306
306
|
function mt(t) {
|
|
307
|
-
const { overflow: e, overflowX: o, overflowY: n, display: a } =
|
|
307
|
+
const { overflow: e, overflowX: o, overflowY: n, display: a } = H(t);
|
|
308
308
|
return /auto|scroll|overlay|hidden|clip/.test(e + n + o) && !["inline", "contents"].includes(a);
|
|
309
309
|
}
|
|
310
310
|
function fo(t) {
|
|
311
311
|
return ["table", "td", "th"].includes(Y(t));
|
|
312
312
|
}
|
|
313
313
|
function _t(t) {
|
|
314
|
-
const e = Gt(), o =
|
|
314
|
+
const e = Gt(), o = H(t);
|
|
315
315
|
return o.transform !== "none" || o.perspective !== "none" || !e && !!o.backdropFilter && o.backdropFilter !== "none" || !e && !!o.filter && o.filter !== "none" || ["transform", "perspective", "filter"].some((n) => (o.willChange || "").includes(n)) || ["paint", "layout", "strict", "content"].some((n) => (o.contain || "").includes(n));
|
|
316
316
|
}
|
|
317
317
|
function Gt() {
|
|
@@ -322,9 +322,9 @@ function xt(t) {
|
|
|
322
322
|
}
|
|
323
323
|
const Ft = Math.min, dt = Math.max, wt = Math.round;
|
|
324
324
|
function ee(t) {
|
|
325
|
-
const e =
|
|
325
|
+
const e = H(t);
|
|
326
326
|
let o = parseFloat(e.width) || 0, n = parseFloat(e.height) || 0;
|
|
327
|
-
const a =
|
|
327
|
+
const a = B(t), s = a ? t.offsetWidth : o, r = a ? t.offsetHeight : n, c = wt(o) !== s || wt(n) !== r;
|
|
328
328
|
return c && (o = s, n = r), { width: o, height: n, fallback: c };
|
|
329
329
|
}
|
|
330
330
|
function oe(t) {
|
|
@@ -333,7 +333,7 @@ function oe(t) {
|
|
|
333
333
|
const ne = { x: 1, y: 1 };
|
|
334
334
|
function at(t) {
|
|
335
335
|
const e = oe(t);
|
|
336
|
-
if (!
|
|
336
|
+
if (!B(e))
|
|
337
337
|
return ne;
|
|
338
338
|
const o = e.getBoundingClientRect(), { width: n, height: a, fallback: s } = ee(e);
|
|
339
339
|
let r = (s ? wt(o.width) : o.width) / n, c = (s ? wt(o.height) : o.height) / a;
|
|
@@ -381,7 +381,7 @@ function lt(t) {
|
|
|
381
381
|
}
|
|
382
382
|
function re(t) {
|
|
383
383
|
const e = lt(t);
|
|
384
|
-
return xt(e) ? e.ownerDocument.body :
|
|
384
|
+
return xt(e) ? e.ownerDocument.body : B(e) && mt(e) ? e : re(e);
|
|
385
385
|
}
|
|
386
386
|
function ut(t, e) {
|
|
387
387
|
var o;
|
|
@@ -407,11 +407,11 @@ function Wt(t, e, o) {
|
|
|
407
407
|
const s = q(a), r = kt(a), c = a.ownerDocument.body, f = dt(s.scrollWidth, s.clientWidth, c.scrollWidth, c.clientWidth), d = dt(s.scrollHeight, s.clientHeight, c.scrollHeight, c.clientHeight);
|
|
408
408
|
let i = -r.scrollLeft + ae(a);
|
|
409
409
|
const u = -r.scrollTop;
|
|
410
|
-
return
|
|
410
|
+
return H(c).direction === "rtl" && (i += dt(s.clientWidth, c.clientWidth) - f), { width: f, height: d, x: i, y: u };
|
|
411
411
|
}(q(t));
|
|
412
412
|
else if (V(e))
|
|
413
413
|
n = function(a, s) {
|
|
414
|
-
const r = ot(a, !0, s === "fixed"), c = r.top + a.clientTop, f = r.left + a.clientLeft, d =
|
|
414
|
+
const r = ot(a, !0, s === "fixed"), c = r.top + a.clientTop, f = r.left + a.clientLeft, d = B(a) ? at(a) : { x: 1, y: 1 };
|
|
415
415
|
return { width: a.clientWidth * d.x, height: a.clientHeight * d.y, x: f * d.x, y: c * d.y };
|
|
416
416
|
}(e, o);
|
|
417
417
|
else {
|
|
@@ -422,21 +422,21 @@ function Wt(t, e, o) {
|
|
|
422
422
|
}
|
|
423
423
|
function le(t, e) {
|
|
424
424
|
const o = lt(t);
|
|
425
|
-
return !(o === e || !V(o) || xt(o)) && (
|
|
425
|
+
return !(o === e || !V(o) || xt(o)) && (H(o).position === "fixed" || le(o, e));
|
|
426
426
|
}
|
|
427
427
|
function Kt(t, e) {
|
|
428
|
-
return
|
|
428
|
+
return B(t) && H(t).position !== "fixed" ? e ? e(t) : t.offsetParent : null;
|
|
429
429
|
}
|
|
430
430
|
function Ut(t, e) {
|
|
431
431
|
const o = N(t);
|
|
432
|
-
if (!
|
|
432
|
+
if (!B(t))
|
|
433
433
|
return o;
|
|
434
434
|
let n = Kt(t, e);
|
|
435
|
-
for (; n && fo(n) &&
|
|
435
|
+
for (; n && fo(n) && H(n).position === "static"; )
|
|
436
436
|
n = Kt(n, e);
|
|
437
|
-
return n && (Y(n) === "html" || Y(n) === "body" &&
|
|
437
|
+
return n && (Y(n) === "html" || Y(n) === "body" && H(n).position === "static" && !_t(n)) ? o : n || function(a) {
|
|
438
438
|
let s = lt(a);
|
|
439
|
-
for (;
|
|
439
|
+
for (; B(s) && !xt(s); ) {
|
|
440
440
|
if (_t(s))
|
|
441
441
|
return s;
|
|
442
442
|
s = lt(s);
|
|
@@ -445,11 +445,11 @@ function Ut(t, e) {
|
|
|
445
445
|
}(t) || o;
|
|
446
446
|
}
|
|
447
447
|
function go(t, e, o) {
|
|
448
|
-
const n =
|
|
448
|
+
const n = B(e), a = q(e), s = o === "fixed", r = ot(t, !0, s, e);
|
|
449
449
|
let c = { scrollLeft: 0, scrollTop: 0 };
|
|
450
450
|
const f = { x: 0, y: 0 };
|
|
451
451
|
if (n || !n && !s)
|
|
452
|
-
if ((Y(e) !== "body" || mt(a)) && (c = kt(e)),
|
|
452
|
+
if ((Y(e) !== "body" || mt(a)) && (c = kt(e)), B(e)) {
|
|
453
453
|
const d = ot(e, !0, s, e);
|
|
454
454
|
f.x = d.x + e.clientLeft, f.y = d.y + e.clientTop;
|
|
455
455
|
} else
|
|
@@ -463,10 +463,10 @@ const yo = { getClippingRect: function(t) {
|
|
|
463
463
|
if (u)
|
|
464
464
|
return u;
|
|
465
465
|
let p = ut(d).filter((v) => V(v) && Y(v) !== "body"), l = null;
|
|
466
|
-
const h =
|
|
466
|
+
const h = H(d).position === "fixed";
|
|
467
467
|
let g = h ? lt(d) : d;
|
|
468
468
|
for (; V(g) && !xt(g); ) {
|
|
469
|
-
const v =
|
|
469
|
+
const v = H(g), k = _t(g);
|
|
470
470
|
k || v.position !== "fixed" || (l = null), (h ? !k && !l : !k && v.position === "static" && l && ["absolute", "fixed"].includes(l.position) || mt(g) && !k && le(d, g)) ? p = p.filter((P) => P !== g) : l = v, g = lt(g);
|
|
471
471
|
}
|
|
472
472
|
return i.set(d, p), p;
|
|
@@ -477,12 +477,12 @@ const yo = { getClippingRect: function(t) {
|
|
|
477
477
|
return { width: f.right - f.left, height: f.bottom - f.top, x: f.left, y: f.top };
|
|
478
478
|
}, convertOffsetParentRelativeRectToViewportRelativeRect: function(t) {
|
|
479
479
|
let { rect: e, offsetParent: o, strategy: n } = t;
|
|
480
|
-
const a =
|
|
480
|
+
const a = B(o), s = q(o);
|
|
481
481
|
if (o === s)
|
|
482
482
|
return e;
|
|
483
483
|
let r = { scrollLeft: 0, scrollTop: 0 }, c = { x: 1, y: 1 };
|
|
484
484
|
const f = { x: 0, y: 0 };
|
|
485
|
-
if ((a || !a && n !== "fixed") && ((Y(o) !== "body" || mt(s)) && (r = kt(o)),
|
|
485
|
+
if ((a || !a && n !== "fixed") && ((Y(o) !== "body" || mt(s)) && (r = kt(o)), B(o))) {
|
|
486
486
|
const d = ot(o);
|
|
487
487
|
c = at(o), f.x = d.x + o.clientLeft, f.y = d.y + o.clientTop;
|
|
488
488
|
}
|
|
@@ -493,7 +493,7 @@ const yo = { getClippingRect: function(t) {
|
|
|
493
493
|
let { reference: e, floating: o, strategy: n } = t;
|
|
494
494
|
const a = this.getOffsetParent || Ut, s = this.getDimensions;
|
|
495
495
|
return { reference: go(e, await a(o), n), floating: { x: 0, y: 0, ...await s(o) } };
|
|
496
|
-
}, getClientRects: (t) => Array.from(t.getClientRects()), isRTL: (t) =>
|
|
496
|
+
}, getClientRects: (t) => Array.from(t.getClientRects()), isRTL: (t) => H(t).direction === "rtl" };
|
|
497
497
|
function vo(t, e, o, n) {
|
|
498
498
|
n === void 0 && (n = {});
|
|
499
499
|
const { ancestorScroll: a = !0, ancestorResize: s = !0, elementResize: r = !0, animationFrame: c = !1 } = n, f = a || s ? [...V(t) ? ut(t) : t.contextElement ? ut(t.contextElement) : [], ...ut(e)] : [];
|
|
@@ -625,7 +625,7 @@ const xo = (t) => {
|
|
|
625
625
|
return ke(i, (v) => {
|
|
626
626
|
var k;
|
|
627
627
|
(k = d.value) != null && k.contains(v.target) || l();
|
|
628
|
-
}), (v, k) => (y(), w(
|
|
628
|
+
}), (v, k) => (y(), w(M, null, [
|
|
629
629
|
I(v.$slots, "default", {
|
|
630
630
|
setRef: h,
|
|
631
631
|
show: p,
|
|
@@ -652,7 +652,7 @@ const xo = (t) => {
|
|
|
652
652
|
class: _(["floating-content", [`is-${e.theme}`]])
|
|
653
653
|
}, [
|
|
654
654
|
I(v.$slots, "content", { close: l }, () => [
|
|
655
|
-
|
|
655
|
+
O(x(t.content), 1)
|
|
656
656
|
]),
|
|
657
657
|
b("div", {
|
|
658
658
|
ref_key: "arrowRef",
|
|
@@ -705,7 +705,7 @@ const xo = (t) => {
|
|
|
705
705
|
}, [
|
|
706
706
|
b("thead", null, [
|
|
707
707
|
b("tr", null, [
|
|
708
|
-
(y(!0), w(
|
|
708
|
+
(y(!0), w(M, null, tt(d.value, (h, g) => (y(), L(ie, {
|
|
709
709
|
key: g,
|
|
710
710
|
placement: "top",
|
|
711
711
|
content: h.tooltip,
|
|
@@ -738,7 +738,7 @@ const xo = (t) => {
|
|
|
738
738
|
role: "button"
|
|
739
739
|
}, [
|
|
740
740
|
I(p.$slots, `header-${g}`, { column: h }, () => [
|
|
741
|
-
|
|
741
|
+
O(x(h.label), 1)
|
|
742
742
|
]),
|
|
743
743
|
h.sortOrders && g !== t.sort.sortTarget ? (y(), L(m(Ot), {
|
|
744
744
|
key: 0,
|
|
@@ -763,11 +763,11 @@ const xo = (t) => {
|
|
|
763
763
|
])
|
|
764
764
|
]),
|
|
765
765
|
b("tbody", null, [
|
|
766
|
-
(y(!0), w(
|
|
766
|
+
(y(!0), w(M, null, tt(o.rows, (h, g) => (y(), w("tr", {
|
|
767
767
|
key: g,
|
|
768
768
|
class: _(h.rowClasses)
|
|
769
769
|
}, [
|
|
770
|
-
(y(!0), w(
|
|
770
|
+
(y(!0), w(M, null, tt(d.value, (v, k) => (y(), w("td", {
|
|
771
771
|
key: k,
|
|
772
772
|
class: _([
|
|
773
773
|
[v.class],
|
|
@@ -781,7 +781,7 @@ const xo = (t) => {
|
|
|
781
781
|
row: h,
|
|
782
782
|
prop: k
|
|
783
783
|
}, () => [
|
|
784
|
-
|
|
784
|
+
O(x(h[k]), 1)
|
|
785
785
|
])
|
|
786
786
|
], 2))), 128))
|
|
787
787
|
], 2))), 128))
|
|
@@ -790,7 +790,7 @@ const xo = (t) => {
|
|
|
790
790
|
b("tr", null, [
|
|
791
791
|
b("td", { colspan: i.value }, [
|
|
792
792
|
I(p.$slots, "loading", {}, () => [
|
|
793
|
-
|
|
793
|
+
O(x(m(c)("common.loading")), 1)
|
|
794
794
|
])
|
|
795
795
|
], 8, $o)
|
|
796
796
|
])
|
|
@@ -799,7 +799,7 @@ const xo = (t) => {
|
|
|
799
799
|
b("tr", null, [
|
|
800
800
|
b("td", { colspan: i.value }, [
|
|
801
801
|
I(p.$slots, "empty", {}, () => [
|
|
802
|
-
|
|
802
|
+
O(x(m(c)("common.noData")), 1)
|
|
803
803
|
])
|
|
804
804
|
], 8, _o)
|
|
805
805
|
])
|
|
@@ -832,7 +832,7 @@ const xo = (t) => {
|
|
|
832
832
|
function Lo(t, e) {
|
|
833
833
|
return y(), w("svg", zo, Eo);
|
|
834
834
|
}
|
|
835
|
-
const Io = { render: Lo },
|
|
835
|
+
const Io = { render: Lo }, Ds = {
|
|
836
836
|
__name: "ErrorNotice",
|
|
837
837
|
props: {
|
|
838
838
|
error: {
|
|
@@ -841,7 +841,7 @@ const Io = { render: Lo }, Es = {
|
|
|
841
841
|
}
|
|
842
842
|
},
|
|
843
843
|
setup(t) {
|
|
844
|
-
const e = t, { t: o,
|
|
844
|
+
const e = t, { t: o, hasTranslation: n } = nt(), a = J("error-notice"), s = A(() => {
|
|
845
845
|
var r;
|
|
846
846
|
return n(`errors.${e.error.key}`) ? o(`errors.${e.error.key}`, e.error.cause) : `${e.error.key}: ${(r = e.error) == null ? void 0 : r.message}`;
|
|
847
847
|
});
|
|
@@ -856,7 +856,7 @@ const Io = { render: Lo }, Es = {
|
|
|
856
856
|
b("span", null, x(s.value), 1)
|
|
857
857
|
], 2));
|
|
858
858
|
}
|
|
859
|
-
},
|
|
859
|
+
}, Os = {
|
|
860
860
|
__name: "ErrorProvider",
|
|
861
861
|
setup(t) {
|
|
862
862
|
const { message: e, hasError: o, error: n } = Pe();
|
|
@@ -888,7 +888,7 @@ const Io = { render: Lo }, Es = {
|
|
|
888
888
|
appendix: "többletponttal rendelkezik."
|
|
889
889
|
},
|
|
890
890
|
penaltyPoints: {
|
|
891
|
-
prependix: "Fegyelmi Bizottság döntése alapján:",
|
|
891
|
+
prependix: "* Fegyelmi Bizottság döntése alapján:",
|
|
892
892
|
content: "{team} csapatától {points} pont",
|
|
893
893
|
appendix: "levonva."
|
|
894
894
|
}
|
|
@@ -1291,7 +1291,7 @@ const Io = { render: Lo }, Es = {
|
|
|
1291
1291
|
appendix: "based on its results in the previous championship phase."
|
|
1292
1292
|
},
|
|
1293
1293
|
penaltyPoints: {
|
|
1294
|
-
prependix: "",
|
|
1294
|
+
prependix: "* ",
|
|
1295
1295
|
content: "{points} point(s) deducted from team {team}",
|
|
1296
1296
|
appendix: "based on the decision of the Disciplinary Committee."
|
|
1297
1297
|
}
|
|
@@ -1700,7 +1700,7 @@ const Io = { render: Lo }, Es = {
|
|
|
1700
1700
|
function Jo(t, e, o, n, a, s) {
|
|
1701
1701
|
return I(t.$slots, "default", { t: t.translate });
|
|
1702
1702
|
}
|
|
1703
|
-
const
|
|
1703
|
+
const Ms = /* @__PURE__ */ Uo(qo, [["render", Jo]]), Yo = ["src"], Zo = ["src", "title"], st = /* @__PURE__ */ Object.assign({
|
|
1704
1704
|
inheritAttrs: !1
|
|
1705
1705
|
}, {
|
|
1706
1706
|
__name: "Image",
|
|
@@ -1720,7 +1720,7 @@ const Is = /* @__PURE__ */ Uo(qo, [["render", Jo]]), Yo = ["src"], Zo = ["src",
|
|
|
1720
1720
|
},
|
|
1721
1721
|
setup(t) {
|
|
1722
1722
|
const e = t, { defaultSrc: o } = zt(e), n = E({ src: e.src }), { error: a, isReady: s } = Se(n, { resetOnExecute: !1, shallow: !1 });
|
|
1723
|
-
return (r, c) => (y(), w(
|
|
1723
|
+
return (r, c) => (y(), w(M, null, [
|
|
1724
1724
|
m(a) && m(o) ? (y(), w("img", {
|
|
1725
1725
|
key: 0,
|
|
1726
1726
|
src: m(o),
|
|
@@ -1796,7 +1796,7 @@ const dn = { render: cn }, un = ["disabled"], mn = ["disabled"], pn = {
|
|
|
1796
1796
|
class: "is-disabled"
|
|
1797
1797
|
}, gn = /* @__PURE__ */ b("span", null, "...", -1), yn = [
|
|
1798
1798
|
gn
|
|
1799
|
-
], vn = ["disabled"], bn = ["disabled"],
|
|
1799
|
+
], vn = ["disabled"], bn = ["disabled"], Hs = {
|
|
1800
1800
|
__name: "Paginator",
|
|
1801
1801
|
props: {
|
|
1802
1802
|
page: {
|
|
@@ -1855,7 +1855,7 @@ const dn = { render: cn }, un = ["disabled"], mn = ["disabled"], pn = {
|
|
|
1855
1855
|
onClick: u[1] || (u[1] = (p) => m(f)(1))
|
|
1856
1856
|
}, "1", 8, mn)),
|
|
1857
1857
|
t.isCompact ? $("", !0) : (y(), w("div", pn, "...")),
|
|
1858
|
-
(y(!0), w(
|
|
1858
|
+
(y(!0), w(M, null, tt(m(c), (p) => (y(), w("button", {
|
|
1859
1859
|
type: "button",
|
|
1860
1860
|
key: p,
|
|
1861
1861
|
class: _({ "is-active": p === m(s) }),
|
|
@@ -1892,7 +1892,7 @@ const dn = { render: cn }, un = ["disabled"], mn = ["disabled"], pn = {
|
|
|
1892
1892
|
I(n.$slots, "default", { el: e.value })
|
|
1893
1893
|
], 2));
|
|
1894
1894
|
}
|
|
1895
|
-
}, wn = ["onClick"],
|
|
1895
|
+
}, wn = ["onClick"], Bs = {
|
|
1896
1896
|
__name: "TimezoneSelector",
|
|
1897
1897
|
props: {
|
|
1898
1898
|
locale: {
|
|
@@ -1926,7 +1926,7 @@ const dn = { render: cn }, un = ["disabled"], mn = ["disabled"], pn = {
|
|
|
1926
1926
|
]),
|
|
1927
1927
|
_: 1
|
|
1928
1928
|
}),
|
|
1929
|
-
(y(!0), w(
|
|
1929
|
+
(y(!0), w(M, null, tt(f.value, (p) => (y(), w("a", {
|
|
1930
1930
|
key: p.countryLabelKey,
|
|
1931
1931
|
href: "#",
|
|
1932
1932
|
class: _({ "is-active": p.isActive }),
|
|
@@ -1934,10 +1934,14 @@ const dn = { render: cn }, un = ["disabled"], mn = ["disabled"], pn = {
|
|
|
1934
1934
|
}, x(m(a)(`common.${p.countryLabelKey}`)) + " (" + x(p.zoneOffsetName) + ") ", 11, wn))), 128))
|
|
1935
1935
|
], 2));
|
|
1936
1936
|
}
|
|
1937
|
-
}, xn = { class: "is-portrait-image" }, kn = { class: "is-team-name-long" }, Tn = {
|
|
1937
|
+
}, xn = { class: "is-portrait-image" }, kn = { class: "is-team-name-long" }, Tn = { key: 0 }, Pn = /* @__PURE__ */ b("sup", null, "*", -1), $n = [
|
|
1938
|
+
Pn
|
|
1939
|
+
], Sn = { class: "is-team-name-short" }, _n = { key: 0 }, zn = /* @__PURE__ */ b("sup", null, "*", -1), An = [
|
|
1940
|
+
zn
|
|
1941
|
+
], Gn = { class: "is-team-name-long" }, Cn = { class: "is-team-name-short" }, En = { class: "is-team-name-long" }, Ln = { class: "is-team-name-short" }, In = ["href"], Vn = { class: "is-team-name-long" }, Rn = { class: "is-team-name-short" }, Nn = ["href"], Dn = {
|
|
1938
1942
|
key: 0,
|
|
1939
1943
|
class: "is-text-dark"
|
|
1940
|
-
},
|
|
1944
|
+
}, On = ["href", "target"], Fs = {
|
|
1941
1945
|
__name: "StatisticsTable",
|
|
1942
1946
|
props: {
|
|
1943
1947
|
columns: {
|
|
@@ -2068,37 +2072,43 @@ const dn = { render: cn }, un = ["disabled"], mn = ["disabled"], pn = {
|
|
|
2068
2072
|
"cell-teamName": T(({ row: l }) => {
|
|
2069
2073
|
var h, g;
|
|
2070
2074
|
return [
|
|
2071
|
-
b("span", kn,
|
|
2072
|
-
|
|
2075
|
+
b("span", kn, [
|
|
2076
|
+
O(x((h = l.team) == null ? void 0 : h.longName) + " ", 1),
|
|
2077
|
+
l.penaltyPoints ? (y(), w("span", Tn, $n)) : $("", !0)
|
|
2078
|
+
]),
|
|
2079
|
+
b("span", Sn, [
|
|
2080
|
+
O(x((g = l.team) == null ? void 0 : g.shortName) + " ", 1),
|
|
2081
|
+
l.penaltyPoints ? (y(), w("span", _n, An)) : $("", !0)
|
|
2082
|
+
])
|
|
2073
2083
|
];
|
|
2074
2084
|
}),
|
|
2075
2085
|
"cell-homeTeamName": T(({ row: l }) => {
|
|
2076
2086
|
var h, g;
|
|
2077
2087
|
return [
|
|
2078
|
-
b("span",
|
|
2079
|
-
b("span",
|
|
2088
|
+
b("span", Gn, x((h = l.homeTeam) == null ? void 0 : h.longName), 1),
|
|
2089
|
+
b("span", Cn, x((g = l.homeTeam) == null ? void 0 : g.shortName), 1)
|
|
2080
2090
|
];
|
|
2081
2091
|
}),
|
|
2082
2092
|
"cell-awayTeamName": T(({ row: l }) => {
|
|
2083
2093
|
var h, g;
|
|
2084
2094
|
return [
|
|
2085
|
-
b("span",
|
|
2086
|
-
b("span",
|
|
2095
|
+
b("span", En, x((h = l.awayTeam) == null ? void 0 : h.longName), 1),
|
|
2096
|
+
b("span", Ln, x((g = l.awayTeam) == null ? void 0 : g.shortName), 1)
|
|
2087
2097
|
];
|
|
2088
2098
|
}),
|
|
2089
2099
|
"cell-location": T(({ row: l }) => {
|
|
2090
2100
|
var h;
|
|
2091
2101
|
return [
|
|
2092
|
-
|
|
2102
|
+
O(x(((h = l.location) == null ? void 0 : h.locationName) ?? ""), 1)
|
|
2093
2103
|
];
|
|
2094
2104
|
}),
|
|
2095
2105
|
"cell-gameResult": T(({ row: l }) => [
|
|
2096
|
-
l.gameStatus === 0 ? (y(), w("span",
|
|
2106
|
+
l.gameStatus === 0 ? (y(), w("span", Dn, "-:-")) : (y(), w("a", {
|
|
2097
2107
|
key: 1,
|
|
2098
2108
|
href: t.externalGameResolver(l),
|
|
2099
2109
|
target: t.externalGameResolverTarget,
|
|
2100
2110
|
class: _({ "is-text-dark": l.gameStatus !== 1, "is-text-accent": l.gameStatus === 1 })
|
|
2101
|
-
}, x(l.homeTeamScore) + ":" + x(l.awayTeamScore), 11,
|
|
2111
|
+
}, x(l.homeTeamScore) + ":" + x(l.awayTeamScore), 11, On))
|
|
2102
2112
|
]),
|
|
2103
2113
|
loading: T(() => [
|
|
2104
2114
|
C(de)
|
|
@@ -2114,9 +2124,9 @@ const dn = { render: cn }, un = ["disabled"], mn = ["disabled"], pn = {
|
|
|
2114
2124
|
href: t.externalTeamResolver(l),
|
|
2115
2125
|
target: "_blank"
|
|
2116
2126
|
}, [
|
|
2117
|
-
b("span",
|
|
2118
|
-
b("span",
|
|
2119
|
-
], 8,
|
|
2127
|
+
b("span", Vn, x((h = l.team) == null ? void 0 : h.longName), 1),
|
|
2128
|
+
b("span", Rn, x((g = l.team) == null ? void 0 : g.shortName), 1)
|
|
2129
|
+
], 8, In)
|
|
2120
2130
|
];
|
|
2121
2131
|
}),
|
|
2122
2132
|
key: "0"
|
|
@@ -2127,7 +2137,7 @@ const dn = { render: cn }, un = ["disabled"], mn = ["disabled"], pn = {
|
|
|
2127
2137
|
b("a", {
|
|
2128
2138
|
href: t.externalPlayerResolver(l),
|
|
2129
2139
|
target: "_blank"
|
|
2130
|
-
}, x(l.name), 9,
|
|
2140
|
+
}, x(l.name), 9, Nn)
|
|
2131
2141
|
]),
|
|
2132
2142
|
key: "1"
|
|
2133
2143
|
} : void 0
|
|
@@ -2136,7 +2146,7 @@ const dn = { render: cn }, un = ["disabled"], mn = ["disabled"], pn = {
|
|
|
2136
2146
|
_: 1
|
|
2137
2147
|
}));
|
|
2138
2148
|
}
|
|
2139
|
-
},
|
|
2149
|
+
}, Mn = {
|
|
2140
2150
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2141
2151
|
viewBox: "0 0 24 24",
|
|
2142
2152
|
fill: "none",
|
|
@@ -2144,32 +2154,32 @@ const dn = { render: cn }, un = ["disabled"], mn = ["disabled"], pn = {
|
|
|
2144
2154
|
"stroke-width": "2",
|
|
2145
2155
|
"stroke-linecap": "round",
|
|
2146
2156
|
"stroke-linejoin": "round"
|
|
2147
|
-
},
|
|
2157
|
+
}, Hn = /* @__PURE__ */ b("rect", {
|
|
2148
2158
|
x: "2",
|
|
2149
2159
|
y: "3",
|
|
2150
2160
|
width: "20",
|
|
2151
2161
|
height: "14",
|
|
2152
2162
|
rx: "2",
|
|
2153
2163
|
ry: "2"
|
|
2154
|
-
}, null, -1),
|
|
2164
|
+
}, null, -1), Bn = /* @__PURE__ */ b("line", {
|
|
2155
2165
|
x1: "8",
|
|
2156
2166
|
y1: "21",
|
|
2157
2167
|
x2: "16",
|
|
2158
2168
|
y2: "21"
|
|
2159
|
-
}, null, -1),
|
|
2169
|
+
}, null, -1), Fn = /* @__PURE__ */ b("line", {
|
|
2160
2170
|
x1: "12",
|
|
2161
2171
|
y1: "17",
|
|
2162
2172
|
x2: "12",
|
|
2163
2173
|
y2: "21"
|
|
2164
|
-
}, null, -1),
|
|
2165
|
-
|
|
2166
|
-
|
|
2167
|
-
|
|
2174
|
+
}, null, -1), jn = [
|
|
2175
|
+
Hn,
|
|
2176
|
+
Bn,
|
|
2177
|
+
Fn
|
|
2168
2178
|
];
|
|
2169
|
-
function
|
|
2170
|
-
return y(), w("svg",
|
|
2179
|
+
function Wn(t, e) {
|
|
2180
|
+
return y(), w("svg", Mn, jn);
|
|
2171
2181
|
}
|
|
2172
|
-
const
|
|
2182
|
+
const Kn = { render: Wn }, Un = {
|
|
2173
2183
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2174
2184
|
viewBox: "0 0 24 24",
|
|
2175
2185
|
fill: "none",
|
|
@@ -2177,27 +2187,27 @@ const Mn = { render: On }, Hn = {
|
|
|
2177
2187
|
"stroke-width": "2",
|
|
2178
2188
|
"stroke-linecap": "round",
|
|
2179
2189
|
"stroke-linejoin": "round"
|
|
2180
|
-
},
|
|
2190
|
+
}, qn = /* @__PURE__ */ b("circle", {
|
|
2181
2191
|
cx: "12",
|
|
2182
2192
|
cy: "12",
|
|
2183
2193
|
r: "1"
|
|
2184
|
-
}, null, -1),
|
|
2194
|
+
}, null, -1), Jn = /* @__PURE__ */ b("circle", {
|
|
2185
2195
|
cx: "12",
|
|
2186
2196
|
cy: "5",
|
|
2187
2197
|
r: "1"
|
|
2188
|
-
}, null, -1),
|
|
2198
|
+
}, null, -1), Yn = /* @__PURE__ */ b("circle", {
|
|
2189
2199
|
cx: "12",
|
|
2190
2200
|
cy: "19",
|
|
2191
2201
|
r: "1"
|
|
2192
|
-
}, null, -1),
|
|
2193
|
-
|
|
2194
|
-
|
|
2195
|
-
|
|
2202
|
+
}, null, -1), Zn = [
|
|
2203
|
+
qn,
|
|
2204
|
+
Jn,
|
|
2205
|
+
Yn
|
|
2196
2206
|
];
|
|
2197
|
-
function
|
|
2198
|
-
return y(), w("svg",
|
|
2207
|
+
function Xn(t, e) {
|
|
2208
|
+
return y(), w("svg", Un, Zn);
|
|
2199
2209
|
}
|
|
2200
|
-
const
|
|
2210
|
+
const Qn = { render: Xn }, ts = {
|
|
2201
2211
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2202
2212
|
viewBox: "0 0 24 24",
|
|
2203
2213
|
fill: "none",
|
|
@@ -2205,21 +2215,21 @@ const Un = { render: Kn }, qn = {
|
|
|
2205
2215
|
"stroke-width": "2",
|
|
2206
2216
|
"stroke-linecap": "round",
|
|
2207
2217
|
"stroke-linejoin": "round"
|
|
2208
|
-
},
|
|
2218
|
+
}, es = /* @__PURE__ */ b("path", { d: "M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2" }, null, -1), os = /* @__PURE__ */ b("rect", {
|
|
2209
2219
|
x: "8",
|
|
2210
2220
|
y: "2",
|
|
2211
2221
|
width: "8",
|
|
2212
2222
|
height: "4",
|
|
2213
2223
|
rx: "1",
|
|
2214
2224
|
ry: "1"
|
|
2215
|
-
}, null, -1),
|
|
2216
|
-
|
|
2217
|
-
|
|
2225
|
+
}, null, -1), ns = [
|
|
2226
|
+
es,
|
|
2227
|
+
os
|
|
2218
2228
|
];
|
|
2219
|
-
function
|
|
2220
|
-
return y(), w("svg",
|
|
2229
|
+
function ss(t, e) {
|
|
2230
|
+
return y(), w("svg", ts, ns);
|
|
2221
2231
|
}
|
|
2222
|
-
const
|
|
2232
|
+
const as = { render: ss }, rs = {
|
|
2223
2233
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2224
2234
|
viewBox: "0 0 24 24",
|
|
2225
2235
|
fill: "none",
|
|
@@ -2227,26 +2237,26 @@ const Qn = { render: Xn }, ts = {
|
|
|
2227
2237
|
"stroke-width": "2",
|
|
2228
2238
|
"stroke-linecap": "round",
|
|
2229
2239
|
"stroke-linejoin": "round"
|
|
2230
|
-
},
|
|
2231
|
-
|
|
2232
|
-
|
|
2240
|
+
}, ls = /* @__PURE__ */ b("path", { d: "M22.54 6.42a2.78 2.78 0 0 0-1.94-2C18.88 4 12 4 12 4s-6.88 0-8.6.46a2.78 2.78 0 0 0-1.94 2A29 29 0 0 0 1 11.75a29 29 0 0 0 .46 5.33A2.78 2.78 0 0 0 3.4 19c1.72.46 8.6.46 8.6.46s6.88 0 8.6-.46a2.78 2.78 0 0 0 1.94-2 29 29 0 0 0 .46-5.25 29 29 0 0 0-.46-5.33z" }, null, -1), is = /* @__PURE__ */ b("polygon", { points: "9.75 15.02 15.5 11.75 9.75 8.48 9.75 15.02" }, null, -1), cs = [
|
|
2241
|
+
ls,
|
|
2242
|
+
is
|
|
2233
2243
|
];
|
|
2234
|
-
function
|
|
2235
|
-
return y(), w("svg",
|
|
2244
|
+
function ds(t, e) {
|
|
2245
|
+
return y(), w("svg", rs, cs);
|
|
2236
2246
|
}
|
|
2237
|
-
const
|
|
2247
|
+
const us = { render: ds }, ms = { class: "is-team-name-long" }, ps = { class: "is-team-name-short" }, hs = { class: "is-team-name-long" }, fs = { class: "is-team-name-short" }, gs = {
|
|
2238
2248
|
key: 0,
|
|
2239
2249
|
class: "is-text-dark"
|
|
2240
|
-
},
|
|
2250
|
+
}, ys = ["href", "target"], vs = {
|
|
2241
2251
|
key: 0,
|
|
2242
2252
|
class: "label"
|
|
2243
|
-
},
|
|
2253
|
+
}, bs = {
|
|
2244
2254
|
key: 1,
|
|
2245
2255
|
class: "label"
|
|
2246
|
-
},
|
|
2256
|
+
}, ws = {
|
|
2247
2257
|
key: 2,
|
|
2248
2258
|
class: "label"
|
|
2249
|
-
},
|
|
2259
|
+
}, xs = { key: 1 }, ks = ["onClick", "onFocus", "onBlur"], Ts = { class: "is-dropdown-menu" }, Ps = ["href", "target"], $s = { key: 0 }, Ss = ["href"], js = {
|
|
2250
2260
|
__name: "ScheduleTable",
|
|
2251
2261
|
props: {
|
|
2252
2262
|
rows: {
|
|
@@ -2295,7 +2305,7 @@ const as = { render: ss }, rs = { class: "is-team-name-long" }, ls = { class: "i
|
|
|
2295
2305
|
}
|
|
2296
2306
|
);
|
|
2297
2307
|
const { t: r } = nt();
|
|
2298
|
-
return (c, f) => (y(), w(
|
|
2308
|
+
return (c, f) => (y(), w(M, null, [
|
|
2299
2309
|
C(ue, null, {
|
|
2300
2310
|
default: T(({ el: d }) => [
|
|
2301
2311
|
C(ce, {
|
|
@@ -2305,12 +2315,12 @@ const as = { render: ss }, rs = { class: "is-team-name-long" }, ls = { class: "i
|
|
|
2305
2315
|
"append-to": o.value || d
|
|
2306
2316
|
}, {
|
|
2307
2317
|
"cell-homeTeamName": T(({ row: i }) => [
|
|
2308
|
-
b("span",
|
|
2309
|
-
b("span",
|
|
2318
|
+
b("span", ms, x(i.homeTeam.longName), 1),
|
|
2319
|
+
b("span", ps, x(i.homeTeam.shortName), 1)
|
|
2310
2320
|
]),
|
|
2311
2321
|
"cell-awayTeamName": T(({ row: i }) => [
|
|
2312
|
-
b("span",
|
|
2313
|
-
b("span",
|
|
2322
|
+
b("span", hs, x(i.awayTeam.longName), 1),
|
|
2323
|
+
b("span", fs, x(i.awayTeam.shortName), 1)
|
|
2314
2324
|
]),
|
|
2315
2325
|
"cell-homeTeamLogo": T(({ row: i }) => [
|
|
2316
2326
|
(y(), L(st, {
|
|
@@ -2327,25 +2337,25 @@ const as = { render: ss }, rs = { class: "is-team-name-long" }, ls = { class: "i
|
|
|
2327
2337
|
}, null, 8, ["src"]))
|
|
2328
2338
|
]),
|
|
2329
2339
|
"cell-gameResult": T(({ row: i }) => [
|
|
2330
|
-
i.gameStatus === 0 ? (y(), w("span",
|
|
2340
|
+
i.gameStatus === 0 ? (y(), w("span", gs, "-:-")) : (y(), w("a", {
|
|
2331
2341
|
key: 1,
|
|
2332
2342
|
href: t.externalGameResolver(i.gameId),
|
|
2333
2343
|
target: t.externalGameResolverTarget,
|
|
2334
2344
|
class: _({ "is-text-dark": i.gameStatus !== 1, "is-text-accent": i.gameStatus === 1 })
|
|
2335
|
-
}, x(i.homeTeamScore) + ":" + x(i.awayTeamScore), 11,
|
|
2345
|
+
}, x(i.homeTeamScore) + ":" + x(i.awayTeamScore), 11, ys))
|
|
2336
2346
|
]),
|
|
2337
2347
|
"cell-gameResultType": T(({ row: i }) => [
|
|
2338
|
-
i.isOvertime ? (y(), w("span",
|
|
2339
|
-
i.isShootout ? (y(), w("span",
|
|
2340
|
-
i.seriesStandings ? (y(), w("span",
|
|
2348
|
+
i.isOvertime ? (y(), w("span", vs, x(m(r)("common.overtimeShort")), 1)) : $("", !0),
|
|
2349
|
+
i.isShootout ? (y(), w("span", bs, x(m(r)("common.shootoutShort")), 1)) : $("", !0),
|
|
2350
|
+
i.seriesStandings ? (y(), w("span", ws, x(i.seriesStandings), 1)) : $("", !0)
|
|
2341
2351
|
]),
|
|
2342
2352
|
"cell-broadcast": T(({ row: i }) => [
|
|
2343
|
-
i.broadcast ? (y(), L(m(
|
|
2353
|
+
i.broadcast ? (y(), L(m(Kn), { key: 0 })) : (y(), w("span", xs))
|
|
2344
2354
|
]),
|
|
2345
2355
|
"cell-location": T(({ row: i }) => {
|
|
2346
2356
|
var u;
|
|
2347
2357
|
return [
|
|
2348
|
-
|
|
2358
|
+
O(x(((u = i.location) == null ? void 0 : u.locationName) ?? ""), 1)
|
|
2349
2359
|
];
|
|
2350
2360
|
}),
|
|
2351
2361
|
"cell-more": T(({ row: i }) => [
|
|
@@ -2362,30 +2372,30 @@ const as = { render: ss }, rs = { class: "is-team-name-long" }, ls = { class: "i
|
|
|
2362
2372
|
onFocus: p,
|
|
2363
2373
|
onBlur: l
|
|
2364
2374
|
}, [
|
|
2365
|
-
C(m(
|
|
2366
|
-
], 40,
|
|
2375
|
+
C(m(Qn))
|
|
2376
|
+
], 40, ks)
|
|
2367
2377
|
]),
|
|
2368
2378
|
content: T(() => [
|
|
2369
|
-
b("ul",
|
|
2379
|
+
b("ul", Ts, [
|
|
2370
2380
|
b("li", null, [
|
|
2371
2381
|
b("a", {
|
|
2372
2382
|
href: t.externalGameResolver(i.gameId),
|
|
2373
2383
|
class: "is-dropdown-item",
|
|
2374
2384
|
target: t.externalGameResolverTarget
|
|
2375
2385
|
}, [
|
|
2376
|
-
C(m(
|
|
2377
|
-
|
|
2378
|
-
], 8,
|
|
2386
|
+
C(m(as), { width: "14" }),
|
|
2387
|
+
O(" " + x(m(r)("common.report")), 1)
|
|
2388
|
+
], 8, Ps)
|
|
2379
2389
|
]),
|
|
2380
|
-
i.video ? (y(), w("li",
|
|
2390
|
+
i.video ? (y(), w("li", $s, [
|
|
2381
2391
|
b("a", {
|
|
2382
2392
|
href: i.video,
|
|
2383
2393
|
class: "is-dropdown-item",
|
|
2384
2394
|
target: "_blank"
|
|
2385
2395
|
}, [
|
|
2386
|
-
C(m(
|
|
2387
|
-
|
|
2388
|
-
], 8,
|
|
2396
|
+
C(m(us), { width: "14" }),
|
|
2397
|
+
O(" " + x(m(r)("common.video")), 1)
|
|
2398
|
+
], 8, Ss)
|
|
2389
2399
|
])) : $("", !0)
|
|
2390
2400
|
])
|
|
2391
2401
|
]),
|
|
@@ -2406,7 +2416,7 @@ const as = { render: ss }, rs = { class: "is-team-name-long" }, ls = { class: "i
|
|
|
2406
2416
|
}, null, 512)
|
|
2407
2417
|
], 64));
|
|
2408
2418
|
}
|
|
2409
|
-
},
|
|
2419
|
+
}, _s = { class: "g-row g-gap-normal is-mb-5" }, zs = ["value"], As = { key: 0 }, Gs = ["onClick"], Ws = {
|
|
2410
2420
|
__name: "SeasonSelector",
|
|
2411
2421
|
props: {
|
|
2412
2422
|
seasons: {
|
|
@@ -2443,8 +2453,8 @@ const as = { render: ss }, rs = { class: "is-team-name-long" }, ls = { class: "i
|
|
|
2443
2453
|
function r(c) {
|
|
2444
2454
|
n("onChangeSection", c);
|
|
2445
2455
|
}
|
|
2446
|
-
return (c, f) => (y(), w(
|
|
2447
|
-
b("div",
|
|
2456
|
+
return (c, f) => (y(), w(M, null, [
|
|
2457
|
+
b("div", _s, [
|
|
2448
2458
|
b("div", null, [
|
|
2449
2459
|
b("label", {
|
|
2450
2460
|
for: "season",
|
|
@@ -2456,26 +2466,26 @@ const as = { render: ss }, rs = { class: "is-team-name-long" }, ls = { class: "i
|
|
|
2456
2466
|
"onUpdate:modelValue": f[0] || (f[0] = (d) => s.value = d)
|
|
2457
2467
|
}, {
|
|
2458
2468
|
default: T(() => [
|
|
2459
|
-
(y(!0), w(
|
|
2469
|
+
(y(!0), w(M, null, tt(t.seasons, (d) => (y(), w("option", {
|
|
2460
2470
|
key: d.championshipId,
|
|
2461
2471
|
value: d.championshipId
|
|
2462
|
-
}, x(d.seasonName), 9,
|
|
2472
|
+
}, x(d.seasonName), 9, zs))), 128))
|
|
2463
2473
|
]),
|
|
2464
2474
|
_: 1
|
|
2465
2475
|
}, 8, ["modelValue"])
|
|
2466
2476
|
]),
|
|
2467
2477
|
I(c.$slots, "default")
|
|
2468
2478
|
]),
|
|
2469
|
-
t.isSectionSelectionDisabled ? $("", !0) : (y(), w("div",
|
|
2470
|
-
(y(!0), w(
|
|
2479
|
+
t.isSectionSelectionDisabled ? $("", !0) : (y(), w("div", As, [
|
|
2480
|
+
(y(!0), w(M, null, tt(t.sections, (d) => (y(), w("button", {
|
|
2471
2481
|
key: d.phaseId,
|
|
2472
2482
|
onClick: (i) => r(d),
|
|
2473
2483
|
class: _([m(J)("tab-button"), { "is-active": d.sectionId === t.sectionId }])
|
|
2474
|
-
}, x(d.sectionName), 11,
|
|
2484
|
+
}, x(d.sectionName), 11, Gs))), 128))
|
|
2475
2485
|
]))
|
|
2476
2486
|
], 64));
|
|
2477
2487
|
}
|
|
2478
|
-
},
|
|
2488
|
+
}, Cs = ["textContent"], Ks = {
|
|
2479
2489
|
__name: "AdditionalStandingsText",
|
|
2480
2490
|
props: {
|
|
2481
2491
|
rows: {
|
|
@@ -2488,28 +2498,28 @@ const as = { render: ss }, rs = { class: "is-team-name-long" }, ls = { class: "i
|
|
|
2488
2498
|
}
|
|
2489
2499
|
},
|
|
2490
2500
|
setup(t) {
|
|
2491
|
-
const e = t, o = xe(e, "rows"), { t: n } = nt(), { isVisible:
|
|
2492
|
-
return (
|
|
2501
|
+
const e = t, o = xe(e, "rows"), { t: n, locale: a } = nt(), { isVisible: s, text: r } = Ge(o, e.additionalKey, n, a);
|
|
2502
|
+
return (c, f) => m(s) ? (y(), w("div", {
|
|
2493
2503
|
key: 0,
|
|
2494
2504
|
class: "is-text-xs is-text-light is-mt-5 is-mb-5",
|
|
2495
|
-
textContent: x(m(
|
|
2496
|
-
}, null, 8,
|
|
2505
|
+
textContent: x(m(r))
|
|
2506
|
+
}, null, 8, Cs)) : $("", !0);
|
|
2497
2507
|
}
|
|
2498
2508
|
};
|
|
2499
2509
|
export {
|
|
2500
|
-
|
|
2510
|
+
Ms as I,
|
|
2501
2511
|
st as _,
|
|
2502
|
-
|
|
2512
|
+
Hs as a,
|
|
2503
2513
|
ce as b,
|
|
2504
2514
|
De as c,
|
|
2505
|
-
|
|
2506
|
-
|
|
2507
|
-
|
|
2515
|
+
Ds as d,
|
|
2516
|
+
Os as e,
|
|
2517
|
+
js as f,
|
|
2508
2518
|
ie as g,
|
|
2509
|
-
|
|
2510
|
-
|
|
2519
|
+
Ws as h,
|
|
2520
|
+
Fs as i,
|
|
2511
2521
|
ue as j,
|
|
2512
2522
|
de as k,
|
|
2513
|
-
|
|
2514
|
-
|
|
2523
|
+
Bs as l,
|
|
2524
|
+
Ks as m
|
|
2515
2525
|
};
|