@mjsz-vbr-elements/core 2.2.4 → 2.2.6
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-NpkyVKB_.js → AdditionalStandingsText-KDfNU6wm.js} +456 -442
- package/dist/columns.js +1 -1
- package/dist/components.js +3 -3
- package/dist/composables.js +1 -1
- package/dist/constants.js +1 -1
- package/dist/{convert-rWfB71vI.js → convert-E2kZRWM3.js} +65 -61
- 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 +58 -57
- package/dist/useAdditionalText-EldMke4U.js +1 -1
- package/dist/utils.js +29 -28
- package/package.json +2 -2
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* name: @mjsz-vbr-elements/core
|
|
3
|
-
* version: v2.2.
|
|
3
|
+
* version: v2.2.6 - 22/02/2024, 22:41:04
|
|
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
|
|
9
|
-
import { f as J, o as ke, e as Te, d as
|
|
8
|
+
import { computed as A, withDirectives as fe, openBlock as v, 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 P, toRefs as zt, renderList as et, 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 Z, a as Pe, c as Se, j as _e, 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
|
-
import {
|
|
12
|
+
import { j as Re, W as Zt, U as yt } from "./convert-E2kZRWM3.js";
|
|
13
13
|
import { COLUMNS_SCHEDULE as Ne } from "./columns.js";
|
|
14
14
|
const De = {
|
|
15
15
|
__name: "BaseSelect",
|
|
@@ -22,9 +22,9 @@ const De = {
|
|
|
22
22
|
emits: ["update:modelValue"],
|
|
23
23
|
setup(t, { emit: e }) {
|
|
24
24
|
const o = t, n = e, a = J("base-input"), s = A({ get: () => o.modelValue, set: (r) => n("update:modelValue", r) });
|
|
25
|
-
return (r, c) => fe((
|
|
26
|
-
"onUpdate:modelValue": c[0] || (c[0] = (
|
|
27
|
-
class:
|
|
25
|
+
return (r, c) => fe((v(), w("select", {
|
|
26
|
+
"onUpdate:modelValue": c[0] || (c[0] = (g) => s.value = g),
|
|
27
|
+
class: $([m(a), "is-select"])
|
|
28
28
|
}, [
|
|
29
29
|
I(r.$slots, "default")
|
|
30
30
|
], 2)), [
|
|
@@ -65,7 +65,7 @@ const Be = He, Fe = {
|
|
|
65
65
|
je
|
|
66
66
|
];
|
|
67
67
|
function Ke(t, e) {
|
|
68
|
-
return
|
|
68
|
+
return v(), w("svg", Fe, We);
|
|
69
69
|
}
|
|
70
70
|
const Ot = { render: Ke }, Ue = {
|
|
71
71
|
"aria-hidden": "true",
|
|
@@ -83,7 +83,7 @@ const Ot = { render: Ke }, Ue = {
|
|
|
83
83
|
qe
|
|
84
84
|
];
|
|
85
85
|
function Ye(t, e) {
|
|
86
|
-
return
|
|
86
|
+
return v(), w("svg", Ue, Je);
|
|
87
87
|
}
|
|
88
88
|
const Ze = { render: Ye }, Xe = {
|
|
89
89
|
"aria-hidden": "true",
|
|
@@ -101,7 +101,7 @@ const Ze = { render: Ye }, Xe = {
|
|
|
101
101
|
Qe
|
|
102
102
|
];
|
|
103
103
|
function eo(t, e) {
|
|
104
|
-
return
|
|
104
|
+
return v(), w("svg", Xe, to);
|
|
105
105
|
}
|
|
106
106
|
const oo = { render: eo };
|
|
107
107
|
function pt(t) {
|
|
@@ -110,17 +110,17 @@ function pt(t) {
|
|
|
110
110
|
function At(t) {
|
|
111
111
|
return t === "y" ? "height" : "width";
|
|
112
112
|
}
|
|
113
|
-
function
|
|
113
|
+
function ot(t) {
|
|
114
114
|
return t.split("-")[0];
|
|
115
115
|
}
|
|
116
116
|
function ht(t) {
|
|
117
|
-
return ["top", "bottom"].includes(
|
|
117
|
+
return ["top", "bottom"].includes(ot(t)) ? "x" : "y";
|
|
118
118
|
}
|
|
119
119
|
function Mt(t, e, o) {
|
|
120
120
|
let { reference: n, floating: a } = t;
|
|
121
|
-
const s = n.x + n.width / 2 - a.width / 2, r = n.y + n.height / 2 - a.height / 2, c = ht(e),
|
|
121
|
+
const s = n.x + n.width / 2 - a.width / 2, r = n.y + n.height / 2 - a.height / 2, c = ht(e), g = At(c), d = n[g] / 2 - a[g] / 2, l = c === "x";
|
|
122
122
|
let u;
|
|
123
|
-
switch (
|
|
123
|
+
switch (ot(e)) {
|
|
124
124
|
case "top":
|
|
125
125
|
u = { x: s, y: n.y - a.height };
|
|
126
126
|
break;
|
|
@@ -138,21 +138,21 @@ function Mt(t, e, o) {
|
|
|
138
138
|
}
|
|
139
139
|
switch (pt(e)) {
|
|
140
140
|
case "start":
|
|
141
|
-
u[c] -= d * (o &&
|
|
141
|
+
u[c] -= d * (o && l ? -1 : 1);
|
|
142
142
|
break;
|
|
143
143
|
case "end":
|
|
144
|
-
u[c] += d * (o &&
|
|
144
|
+
u[c] += d * (o && l ? -1 : 1);
|
|
145
145
|
}
|
|
146
146
|
return u;
|
|
147
147
|
}
|
|
148
148
|
const no = async (t, e, o) => {
|
|
149
|
-
const { placement: n = "bottom", strategy: a = "absolute", middleware: s = [], platform: r } = o, c = s.filter(Boolean),
|
|
150
|
-
let d = await r.getElementRects({ reference: t, floating: e, strategy: a }), { x:
|
|
151
|
-
for (let
|
|
152
|
-
const { name:
|
|
153
|
-
|
|
149
|
+
const { placement: n = "bottom", strategy: a = "absolute", middleware: s = [], platform: r } = o, c = s.filter(Boolean), g = await (r.isRTL == null ? void 0 : r.isRTL(e));
|
|
150
|
+
let d = await r.getElementRects({ reference: t, floating: e, strategy: a }), { x: l, y: u } = Mt(d, n, g), p = n, y = {}, i = 0;
|
|
151
|
+
for (let h = 0; h < c.length; h++) {
|
|
152
|
+
const { name: f, fn: k } = c[h], { x: S, y: _, data: F, reset: G } = await k({ x: l, y: u, initialPlacement: n, placement: p, strategy: a, middlewareData: y, rects: d, platform: r, elements: { reference: t, floating: e } });
|
|
153
|
+
l = S ?? l, u = _ ?? u, y = { ...y, [f]: { ...y[f], ...F } }, G && i <= 50 && (i++, 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: l, y: u } = Mt(d, p, g)), h = -1);
|
|
154
154
|
}
|
|
155
|
-
return { x:
|
|
155
|
+
return { x: l, y: u, placement: p, strategy: a, middlewareData: y };
|
|
156
156
|
};
|
|
157
157
|
function Xt(t) {
|
|
158
158
|
return typeof t != "number" ? function(e) {
|
|
@@ -165,22 +165,22 @@ 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:
|
|
169
|
-
return { top: (
|
|
168
|
+
const { x: n, y: a, platform: s, rects: r, elements: c, strategy: g } = t, { boundary: d = "clippingAncestors", rootBoundary: l = "viewport", elementContext: u = "floating", altBoundary: p = !1, padding: y = 0 } = e, i = Xt(y), h = c[p ? u === "floating" ? "reference" : "floating" : u], f = vt(await s.getClippingRect({ element: (o = await (s.isElement == null ? void 0 : s.isElement(h))) == null || o ? h : h.contextElement || await (s.getDocumentElement == null ? void 0 : s.getDocumentElement(c.floating)), boundary: d, rootBoundary: l, strategy: g })), k = u === "floating" ? { ...r.floating, x: n, y: a } : r.reference, S = await (s.getOffsetParent == null ? void 0 : s.getOffsetParent(c.floating)), _ = await (s.isElement == null ? void 0 : s.isElement(S)) && await (s.getScale == null ? void 0 : s.getScale(S)) || { x: 1, y: 1 }, F = vt(s.convertOffsetParentRelativeRectToViewportRelativeRect ? await s.convertOffsetParentRelativeRectToViewportRelativeRect({ rect: k, offsetParent: S, strategy: g }) : k);
|
|
169
|
+
return { top: (f.top - F.top + i.top) / _.y, bottom: (F.bottom - f.bottom + i.bottom) / _.y, left: (f.left - F.left + i.left) / _.x, right: (F.right - f.right + i.right) / _.x };
|
|
170
170
|
}
|
|
171
171
|
const so = Math.min, ao = Math.max;
|
|
172
|
-
function
|
|
172
|
+
function _t(t, e, o) {
|
|
173
173
|
return ao(t, so(e, o));
|
|
174
174
|
}
|
|
175
175
|
const Ht = (t) => ({ name: "arrow", options: t, async fn(e) {
|
|
176
|
-
const { element: o, padding: n = 0 } = t || {}, { x: a, y: s, placement: r, rects: c, platform:
|
|
176
|
+
const { element: o, padding: n = 0 } = t || {}, { x: a, y: s, placement: r, rects: c, platform: g, elements: d } = e;
|
|
177
177
|
if (o == null)
|
|
178
178
|
return {};
|
|
179
|
-
const
|
|
180
|
-
let W = G ? G[
|
|
181
|
-
W && await (
|
|
182
|
-
const
|
|
183
|
-
return { [p]: u[p] - (D ? j <
|
|
179
|
+
const l = Xt(n), u = { x: a, y: s }, p = ht(r), y = At(p), i = await g.getDimensions(o), h = p === "y", f = h ? "top" : "left", k = h ? "bottom" : "right", S = h ? "clientHeight" : "clientWidth", _ = c.reference[y] + c.reference[p] - u[p] - c.floating[y], F = u[p] - c.reference[p], G = await (g.getOffsetParent == null ? void 0 : g.getOffsetParent(o));
|
|
180
|
+
let W = G ? G[S] : 0;
|
|
181
|
+
W && await (g.isElement == null ? void 0 : g.isElement(G)) || (W = d.floating[S] || c.floating[y]);
|
|
182
|
+
const X = _ / 2 - F / 2, Q = l[f], it = W - i[y] - l[k], j = W / 2 - i[y] / 2 + X, z = _t(Q, j, it), D = pt(r) != null && j != z && c.reference[y] / 2 - (j < Q ? l[f] : l[k]) - i[y] / 2 < 0;
|
|
183
|
+
return { [p]: u[p] - (D ? j < Q ? Q - 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" };
|
|
@@ -194,17 +194,17 @@ function io(t, e, o) {
|
|
|
194
194
|
return e.reference[s] > e.floating[s] && (r = bt(r)), { main: r, cross: bt(r) };
|
|
195
195
|
}
|
|
196
196
|
const co = { start: "end", end: "start" };
|
|
197
|
-
function
|
|
197
|
+
function St(t) {
|
|
198
198
|
return t.replace(/start|end/g, (e) => co[e]);
|
|
199
199
|
}
|
|
200
200
|
const uo = function(t) {
|
|
201
201
|
return t === void 0 && (t = {}), { name: "flip", options: t, async fn(e) {
|
|
202
202
|
var o;
|
|
203
|
-
const { placement: n, middlewareData: a, rects: s, initialPlacement: r, platform: c, elements:
|
|
203
|
+
const { placement: n, middlewareData: a, rects: s, initialPlacement: r, platform: c, elements: g } = e, { mainAxis: d = !0, crossAxis: l = !0, fallbackPlacements: u, fallbackStrategy: p = "bestFit", fallbackAxisSideDirection: y = "none", flipAlignment: i = !0, ...h } = t, f = ot(n), k = ot(r) === r, S = await (c.isRTL == null ? void 0 : c.isRTL(g.floating)), _ = u || (k || !i ? [bt(r)] : function(z) {
|
|
204
204
|
const D = bt(z);
|
|
205
|
-
return [
|
|
205
|
+
return [St(z), D, St(D)];
|
|
206
206
|
}(r));
|
|
207
|
-
u ||
|
|
207
|
+
u || y === "none" || _.push(...function(z, D, tt, U) {
|
|
208
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"];
|
|
@@ -218,43 +218,43 @@ const uo = function(t) {
|
|
|
218
218
|
default:
|
|
219
219
|
return [];
|
|
220
220
|
}
|
|
221
|
-
}(
|
|
222
|
-
return K && (R = R.map((ct) => ct + "-" + K), D && (R = R.concat(R.map(
|
|
223
|
-
}(r,
|
|
224
|
-
const F = [r, ...
|
|
225
|
-
let
|
|
226
|
-
if (d && W.push(G[
|
|
227
|
-
const { main: z, cross: D } = io(n, s,
|
|
221
|
+
}(ot(z), tt === "start", U);
|
|
222
|
+
return K && (R = R.map((ct) => ct + "-" + K), D && (R = R.concat(R.map(St)))), R;
|
|
223
|
+
}(r, i, y, S));
|
|
224
|
+
const F = [r, ..._], G = await Qt(e, h), W = [];
|
|
225
|
+
let X = ((o = a.flip) == null ? void 0 : o.overflows) || [];
|
|
226
|
+
if (d && W.push(G[f]), l) {
|
|
227
|
+
const { main: z, cross: D } = io(n, s, S);
|
|
228
228
|
W.push(G[z], G[D]);
|
|
229
229
|
}
|
|
230
|
-
if (
|
|
231
|
-
var
|
|
232
|
-
const z = (((
|
|
230
|
+
if (X = [...X, { placement: n, overflows: W }], !W.every((z) => z <= 0)) {
|
|
231
|
+
var Q, it;
|
|
232
|
+
const z = (((Q = a.flip) == null ? void 0 : Q.index) || 0) + 1, D = F[z];
|
|
233
233
|
if (D)
|
|
234
|
-
return { data: { index: z, overflows:
|
|
235
|
-
let
|
|
236
|
-
if (!
|
|
234
|
+
return { data: { index: z, overflows: X }, reset: { placement: D } };
|
|
235
|
+
let tt = (it = X.filter((U) => U.overflows[0] <= 0).sort((U, K) => U.overflows[1] - K.overflows[1])[0]) == null ? void 0 : it.placement;
|
|
236
|
+
if (!tt)
|
|
237
237
|
switch (p) {
|
|
238
238
|
case "bestFit": {
|
|
239
239
|
var j;
|
|
240
|
-
const U = (j =
|
|
241
|
-
U && (
|
|
240
|
+
const U = (j = X.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
|
+
U && (tt = U);
|
|
242
242
|
break;
|
|
243
243
|
}
|
|
244
244
|
case "initialPlacement":
|
|
245
|
-
|
|
245
|
+
tt = r;
|
|
246
246
|
}
|
|
247
|
-
if (n !==
|
|
248
|
-
return { reset: { placement:
|
|
247
|
+
if (n !== tt)
|
|
248
|
+
return { reset: { placement: tt } };
|
|
249
249
|
}
|
|
250
250
|
return {};
|
|
251
251
|
} };
|
|
252
252
|
}, mo = function(t) {
|
|
253
253
|
return t === void 0 && (t = 0), { name: "offset", options: t, async fn(e) {
|
|
254
254
|
const { x: o, y: n } = e, a = await async function(s, r) {
|
|
255
|
-
const { placement: c, platform:
|
|
256
|
-
let { mainAxis: k, crossAxis:
|
|
257
|
-
return p && typeof
|
|
255
|
+
const { placement: c, platform: g, elements: d } = s, l = await (g.isRTL == null ? void 0 : g.isRTL(d.floating)), u = ot(c), p = pt(c), y = ht(c) === "x", i = ["left", "top"].includes(u) ? -1 : 1, h = l && y ? -1 : 1, f = typeof r == "function" ? r(s) : r;
|
|
256
|
+
let { mainAxis: k, crossAxis: S, alignmentAxis: _ } = typeof f == "number" ? { mainAxis: f, crossAxis: 0, alignmentAxis: null } : { mainAxis: 0, crossAxis: 0, alignmentAxis: null, ...f };
|
|
257
|
+
return p && typeof _ == "number" && (S = p === "end" ? -1 * _ : _), y ? { x: S * h, y: k * i } : { x: k * i, y: S * h };
|
|
258
258
|
}(e, t);
|
|
259
259
|
return { x: o + a.x, y: n + a.y, data: a };
|
|
260
260
|
} };
|
|
@@ -264,21 +264,21 @@ function po(t) {
|
|
|
264
264
|
}
|
|
265
265
|
const ho = function(t) {
|
|
266
266
|
return t === void 0 && (t = {}), { name: "shift", options: t, async fn(e) {
|
|
267
|
-
const { x: o, y: n, placement: a } = e, { mainAxis: s = !0, crossAxis: r = !1, limiter: c = { fn: (
|
|
268
|
-
let { x: k, y:
|
|
269
|
-
return { x: k, y:
|
|
270
|
-
} }, ...
|
|
271
|
-
let
|
|
267
|
+
const { x: o, y: n, placement: a } = e, { mainAxis: s = !0, crossAxis: r = !1, limiter: c = { fn: (f) => {
|
|
268
|
+
let { x: k, y: S } = f;
|
|
269
|
+
return { x: k, y: S };
|
|
270
|
+
} }, ...g } = t, d = { x: o, y: n }, l = await Qt(e, g), u = ht(ot(a)), p = po(u);
|
|
271
|
+
let y = d[u], i = d[p];
|
|
272
272
|
if (s) {
|
|
273
|
-
const
|
|
274
|
-
|
|
273
|
+
const f = u === "y" ? "bottom" : "right";
|
|
274
|
+
y = _t(y + l[u === "y" ? "top" : "left"], y, y - l[f]);
|
|
275
275
|
}
|
|
276
276
|
if (r) {
|
|
277
|
-
const
|
|
278
|
-
|
|
277
|
+
const f = p === "y" ? "bottom" : "right";
|
|
278
|
+
i = _t(i + l[p === "y" ? "top" : "left"], i, i - l[f]);
|
|
279
279
|
}
|
|
280
|
-
const
|
|
281
|
-
return { ...
|
|
280
|
+
const h = c.fn({ ...e, [u]: y, [p]: i });
|
|
281
|
+
return { ...h, data: { x: h.x - o, y: h.y - n } };
|
|
282
282
|
} };
|
|
283
283
|
};
|
|
284
284
|
function N(t) {
|
|
@@ -310,7 +310,7 @@ function mt(t) {
|
|
|
310
310
|
function fo(t) {
|
|
311
311
|
return ["table", "td", "th"].includes(Y(t));
|
|
312
312
|
}
|
|
313
|
-
function
|
|
313
|
+
function $t(t) {
|
|
314
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
|
}
|
|
@@ -347,22 +347,22 @@ function se(t, e, o) {
|
|
|
347
347
|
const s = t ? N(t) : window;
|
|
348
348
|
return !o || e && o !== s ? jt : { x: ((n = s.visualViewport) == null ? void 0 : n.offsetLeft) || 0, y: ((a = s.visualViewport) == null ? void 0 : a.offsetTop) || 0 };
|
|
349
349
|
}
|
|
350
|
-
function
|
|
350
|
+
function nt(t, e, o, n) {
|
|
351
351
|
e === void 0 && (e = !1), o === void 0 && (o = !1);
|
|
352
352
|
const a = t.getBoundingClientRect(), s = oe(t);
|
|
353
353
|
let r = ne;
|
|
354
354
|
e && (n ? V(n) && (r = at(n)) : r = at(t));
|
|
355
355
|
const c = se(s, o, n);
|
|
356
|
-
let
|
|
356
|
+
let g = (a.left + c.x) / r.x, d = (a.top + c.y) / r.y, l = a.width / r.x, u = a.height / r.y;
|
|
357
357
|
if (s) {
|
|
358
|
-
const p = N(s),
|
|
359
|
-
let
|
|
360
|
-
for (;
|
|
361
|
-
const
|
|
362
|
-
|
|
358
|
+
const p = N(s), y = n && V(n) ? N(n) : n;
|
|
359
|
+
let i = p.frameElement;
|
|
360
|
+
for (; i && n && y !== p; ) {
|
|
361
|
+
const h = at(i), f = i.getBoundingClientRect(), k = getComputedStyle(i);
|
|
362
|
+
f.x += (i.clientLeft + parseFloat(k.paddingLeft)) * h.x, f.y += (i.clientTop + parseFloat(k.paddingTop)) * h.y, g *= h.x, d *= h.y, l *= h.x, u *= h.y, g += f.x, d += f.y, i = N(i).frameElement;
|
|
363
363
|
}
|
|
364
364
|
}
|
|
365
|
-
return vt({ width:
|
|
365
|
+
return vt({ width: l, height: u, x: g, y: d });
|
|
366
366
|
}
|
|
367
367
|
function q(t) {
|
|
368
368
|
return ((te(t) ? t.ownerDocument : t.document) || window.document).documentElement;
|
|
@@ -371,7 +371,7 @@ function kt(t) {
|
|
|
371
371
|
return V(t) ? { scrollLeft: t.scrollLeft, scrollTop: t.scrollTop } : { scrollLeft: t.pageXOffset, scrollTop: t.pageYOffset };
|
|
372
372
|
}
|
|
373
373
|
function ae(t) {
|
|
374
|
-
return
|
|
374
|
+
return nt(q(t)).left + kt(t).scrollLeft;
|
|
375
375
|
}
|
|
376
376
|
function lt(t) {
|
|
377
377
|
if (Y(t) === "html")
|
|
@@ -393,26 +393,26 @@ function Wt(t, e, o) {
|
|
|
393
393
|
let n;
|
|
394
394
|
if (e === "viewport")
|
|
395
395
|
n = function(a, s) {
|
|
396
|
-
const r = N(a), c = q(a),
|
|
397
|
-
let d = c.clientWidth,
|
|
398
|
-
if (
|
|
399
|
-
d =
|
|
400
|
-
const
|
|
401
|
-
(!
|
|
396
|
+
const r = N(a), c = q(a), g = r.visualViewport;
|
|
397
|
+
let d = c.clientWidth, l = c.clientHeight, u = 0, p = 0;
|
|
398
|
+
if (g) {
|
|
399
|
+
d = g.width, l = g.height;
|
|
400
|
+
const y = Gt();
|
|
401
|
+
(!y || y && s === "fixed") && (u = g.offsetLeft, p = g.offsetTop);
|
|
402
402
|
}
|
|
403
|
-
return { width: d, height:
|
|
403
|
+
return { width: d, height: l, x: u, y: p };
|
|
404
404
|
}(t, o);
|
|
405
405
|
else if (e === "document")
|
|
406
406
|
n = function(a) {
|
|
407
|
-
const s = q(a), r = kt(a), c = a.ownerDocument.body,
|
|
408
|
-
let
|
|
407
|
+
const s = q(a), r = kt(a), c = a.ownerDocument.body, g = dt(s.scrollWidth, s.clientWidth, c.scrollWidth, c.clientWidth), d = dt(s.scrollHeight, s.clientHeight, c.scrollHeight, c.clientHeight);
|
|
408
|
+
let l = -r.scrollLeft + ae(a);
|
|
409
409
|
const u = -r.scrollTop;
|
|
410
|
-
return H(c).direction === "rtl" && (
|
|
410
|
+
return H(c).direction === "rtl" && (l += dt(s.clientWidth, c.clientWidth) - g), { width: g, height: d, x: l, y: u };
|
|
411
411
|
}(q(t));
|
|
412
412
|
else if (V(e))
|
|
413
413
|
n = function(a, s) {
|
|
414
|
-
const r =
|
|
415
|
-
return { width: a.clientWidth * d.x, height: a.clientHeight * d.y, x:
|
|
414
|
+
const r = nt(a, !0, s === "fixed"), c = r.top + a.clientTop, g = r.left + a.clientLeft, d = B(a) ? at(a) : { x: 1, y: 1 };
|
|
415
|
+
return { width: a.clientWidth * d.x, height: a.clientHeight * d.y, x: g * d.x, y: c * d.y };
|
|
416
416
|
}(e, o);
|
|
417
417
|
else {
|
|
418
418
|
const a = se(t);
|
|
@@ -434,10 +434,10 @@ function Ut(t, e) {
|
|
|
434
434
|
let n = Kt(t, e);
|
|
435
435
|
for (; n && fo(n) && H(n).position === "static"; )
|
|
436
436
|
n = Kt(n, e);
|
|
437
|
-
return n && (Y(n) === "html" || Y(n) === "body" && H(n).position === "static" &&
|
|
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
439
|
for (; B(s) && !xt(s); ) {
|
|
440
|
-
if (
|
|
440
|
+
if ($t(s))
|
|
441
441
|
return s;
|
|
442
442
|
s = lt(s);
|
|
443
443
|
}
|
|
@@ -445,48 +445,48 @@ function Ut(t, e) {
|
|
|
445
445
|
}(t) || o;
|
|
446
446
|
}
|
|
447
447
|
function go(t, e, o) {
|
|
448
|
-
const n = B(e), a = q(e), s = o === "fixed", r =
|
|
448
|
+
const n = B(e), a = q(e), s = o === "fixed", r = nt(t, !0, s, e);
|
|
449
449
|
let c = { scrollLeft: 0, scrollTop: 0 };
|
|
450
|
-
const
|
|
450
|
+
const g = { x: 0, y: 0 };
|
|
451
451
|
if (n || !n && !s)
|
|
452
452
|
if ((Y(e) !== "body" || mt(a)) && (c = kt(e)), B(e)) {
|
|
453
|
-
const d =
|
|
454
|
-
|
|
453
|
+
const d = nt(e, !0, s, e);
|
|
454
|
+
g.x = d.x + e.clientLeft, g.y = d.y + e.clientTop;
|
|
455
455
|
} else
|
|
456
|
-
a && (
|
|
457
|
-
return { x: r.left + c.scrollLeft -
|
|
456
|
+
a && (g.x = ae(a));
|
|
457
|
+
return { x: r.left + c.scrollLeft - g.x, y: r.top + c.scrollTop - g.y, width: r.width, height: r.height };
|
|
458
458
|
}
|
|
459
459
|
const yo = { getClippingRect: function(t) {
|
|
460
460
|
let { element: e, boundary: o, rootBoundary: n, strategy: a } = t;
|
|
461
|
-
const s = o === "clippingAncestors" ? function(d,
|
|
462
|
-
const u =
|
|
461
|
+
const s = o === "clippingAncestors" ? function(d, l) {
|
|
462
|
+
const u = l.get(d);
|
|
463
463
|
if (u)
|
|
464
464
|
return u;
|
|
465
|
-
let p = ut(d).filter((
|
|
466
|
-
const
|
|
467
|
-
let
|
|
468
|
-
for (; V(
|
|
469
|
-
const
|
|
470
|
-
k ||
|
|
465
|
+
let p = ut(d).filter((f) => V(f) && Y(f) !== "body"), y = null;
|
|
466
|
+
const i = H(d).position === "fixed";
|
|
467
|
+
let h = i ? lt(d) : d;
|
|
468
|
+
for (; V(h) && !xt(h); ) {
|
|
469
|
+
const f = H(h), k = $t(h);
|
|
470
|
+
k || f.position !== "fixed" || (y = null), (i ? !k && !y : !k && f.position === "static" && y && ["absolute", "fixed"].includes(y.position) || mt(h) && !k && le(d, h)) ? p = p.filter((S) => S !== h) : y = f, h = lt(h);
|
|
471
471
|
}
|
|
472
|
-
return
|
|
473
|
-
}(e, this._c) : [].concat(o), r = [...s, n], c = r[0],
|
|
474
|
-
const u = Wt(e,
|
|
472
|
+
return l.set(d, p), p;
|
|
473
|
+
}(e, this._c) : [].concat(o), r = [...s, n], c = r[0], g = r.reduce((d, l) => {
|
|
474
|
+
const u = Wt(e, l, a);
|
|
475
475
|
return d.top = dt(u.top, d.top), d.right = Ft(u.right, d.right), d.bottom = Ft(u.bottom, d.bottom), d.left = dt(u.left, d.left), d;
|
|
476
476
|
}, Wt(e, c, a));
|
|
477
|
-
return { width:
|
|
477
|
+
return { width: g.right - g.left, height: g.bottom - g.top, x: g.left, y: g.top };
|
|
478
478
|
}, convertOffsetParentRelativeRectToViewportRelativeRect: function(t) {
|
|
479
479
|
let { rect: e, offsetParent: o, strategy: n } = t;
|
|
480
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
|
-
const
|
|
484
|
+
const g = { x: 0, y: 0 };
|
|
485
485
|
if ((a || !a && n !== "fixed") && ((Y(o) !== "body" || mt(s)) && (r = kt(o)), B(o))) {
|
|
486
|
-
const d =
|
|
487
|
-
c = at(o),
|
|
486
|
+
const d = nt(o);
|
|
487
|
+
c = at(o), g.x = d.x + o.clientLeft, g.y = d.y + o.clientTop;
|
|
488
488
|
}
|
|
489
|
-
return { width: e.width * c.x, height: e.height * c.y, x: e.x * c.x - r.scrollLeft * c.x +
|
|
489
|
+
return { width: e.width * c.x, height: e.height * c.y, x: e.x * c.x - r.scrollLeft * c.x + g.x, y: e.y * c.y - r.scrollTop * c.y + g.y };
|
|
490
490
|
}, isElement: V, getDimensions: function(t) {
|
|
491
491
|
return ee(t);
|
|
492
492
|
}, getOffsetParent: Ut, getDocumentElement: q, getScale: at, async getElementRects(t) {
|
|
@@ -496,24 +496,24 @@ const yo = { getClippingRect: function(t) {
|
|
|
496
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
|
-
const { ancestorScroll: a = !0, ancestorResize: s = !0, elementResize: r = !0, animationFrame: c = !1 } = n,
|
|
500
|
-
|
|
501
|
-
const
|
|
502
|
-
!a || c && !
|
|
499
|
+
const { ancestorScroll: a = !0, ancestorResize: s = !0, elementResize: r = !0, animationFrame: c = !1 } = n, g = a || s ? [...V(t) ? ut(t) : t.contextElement ? ut(t.contextElement) : [], ...ut(e)] : [];
|
|
500
|
+
g.forEach((p) => {
|
|
501
|
+
const y = !V(p) && p.toString().includes("V");
|
|
502
|
+
!a || c && !y || p.addEventListener("scroll", o, { passive: !0 }), s && p.addEventListener("resize", o);
|
|
503
503
|
});
|
|
504
|
-
let d,
|
|
505
|
-
r && (
|
|
504
|
+
let d, l = null;
|
|
505
|
+
r && (l = new ResizeObserver(() => {
|
|
506
506
|
o();
|
|
507
|
-
}), V(t) && !c &&
|
|
508
|
-
let u = c ?
|
|
507
|
+
}), V(t) && !c && l.observe(t), V(t) || !t.contextElement || c || l.observe(t.contextElement), l.observe(e));
|
|
508
|
+
let u = c ? nt(t) : null;
|
|
509
509
|
return c && function p() {
|
|
510
|
-
const
|
|
511
|
-
!u ||
|
|
510
|
+
const y = nt(t);
|
|
511
|
+
!u || y.x === u.x && y.y === u.y && y.width === u.width && y.height === u.height || o(), u = y, d = requestAnimationFrame(p);
|
|
512
512
|
}(), o(), () => {
|
|
513
513
|
var p;
|
|
514
|
-
|
|
515
|
-
a &&
|
|
516
|
-
}), (p =
|
|
514
|
+
g.forEach((y) => {
|
|
515
|
+
a && y.removeEventListener("scroll", o), s && y.removeEventListener("resize", o);
|
|
516
|
+
}), (p = l) == null || p.disconnect(), l = null, c && cancelAnimationFrame(d);
|
|
517
517
|
};
|
|
518
518
|
}
|
|
519
519
|
const bo = (t, e, o) => {
|
|
@@ -521,13 +521,13 @@ const bo = (t, e, o) => {
|
|
|
521
521
|
return no(t, e, { ...a, platform: s });
|
|
522
522
|
};
|
|
523
523
|
function wo({ middleware: t, placement: e = null, strategy: o, append: n, enabled: a }) {
|
|
524
|
-
const s = E(null), r = E(null), c = E(null),
|
|
524
|
+
const s = E(null), r = E(null), c = E(null), g = E(null), d = E(null), l = E(null), u = E(null), p = E(o ?? "absolute"), y = E(null), i = () => {
|
|
525
525
|
!s.value || !r.value || bo(s.value, r.value, {
|
|
526
526
|
middleware: t,
|
|
527
527
|
placement: e,
|
|
528
528
|
strategy: o
|
|
529
|
-
}).then((
|
|
530
|
-
c.value =
|
|
529
|
+
}).then((f) => {
|
|
530
|
+
c.value = f.x, g.value = f.y, p.value = f.strategy, d.value = f.middlewareData.arrow.x, l.value = f.middlewareData.arrow.y, u.value = f.placement;
|
|
531
531
|
});
|
|
532
532
|
};
|
|
533
533
|
Lt(
|
|
@@ -536,35 +536,35 @@ function wo({ middleware: t, placement: e = null, strategy: o, append: n, enable
|
|
|
536
536
|
floating: m(r),
|
|
537
537
|
append: m(n)
|
|
538
538
|
}),
|
|
539
|
-
({ floating:
|
|
540
|
-
k && Re(
|
|
539
|
+
({ floating: f, append: k }) => {
|
|
540
|
+
k && Re(f, k), i();
|
|
541
541
|
},
|
|
542
542
|
{ flush: "post" }
|
|
543
543
|
), Lt(
|
|
544
544
|
a,
|
|
545
|
-
(
|
|
545
|
+
(f) => {
|
|
546
546
|
if (!(!s.value || !r.value)) {
|
|
547
|
-
if (!
|
|
548
|
-
return
|
|
549
|
-
|
|
547
|
+
if (!f)
|
|
548
|
+
return h();
|
|
549
|
+
y.value = vo(s.value, r.value, i, {});
|
|
550
550
|
}
|
|
551
551
|
},
|
|
552
552
|
{ flush: "post" }
|
|
553
553
|
);
|
|
554
|
-
const
|
|
555
|
-
var
|
|
556
|
-
(
|
|
554
|
+
const h = () => {
|
|
555
|
+
var f;
|
|
556
|
+
(f = y.value) == null || f.call(y), y.value = null;
|
|
557
557
|
};
|
|
558
558
|
return {
|
|
559
559
|
x: c,
|
|
560
|
-
y:
|
|
560
|
+
y: g,
|
|
561
561
|
arrowX: d,
|
|
562
|
-
arrowY:
|
|
562
|
+
arrowY: l,
|
|
563
563
|
placement: u,
|
|
564
564
|
reference: s,
|
|
565
565
|
floating: r,
|
|
566
566
|
strategy: p,
|
|
567
|
-
update:
|
|
567
|
+
update: i
|
|
568
568
|
};
|
|
569
569
|
}
|
|
570
570
|
const xo = (t) => {
|
|
@@ -605,37 +605,37 @@ const xo = (t) => {
|
|
|
605
605
|
}
|
|
606
606
|
},
|
|
607
607
|
setup(t) {
|
|
608
|
-
const e = t, o = E(!1), n = E(null), { x: a, y: s, arrowX: r, arrowY: c, placement:
|
|
608
|
+
const e = t, o = E(!1), n = E(null), { x: a, y: s, arrowX: r, arrowY: c, placement: g, reference: d, floating: l, strategy: u } = wo({
|
|
609
609
|
placement: e.placement,
|
|
610
610
|
middleware: [uo(), ho({ padding: 5 }), mo(e.offset), xo({ element: n, padding: 5 })],
|
|
611
611
|
append: A(() => e.appendTo),
|
|
612
612
|
enabled: o
|
|
613
613
|
}), p = () => {
|
|
614
614
|
e.disabled || o.value || (o.value = !0);
|
|
615
|
-
},
|
|
616
|
-
o.value &&
|
|
617
|
-
},
|
|
618
|
-
d.value =
|
|
619
|
-
},
|
|
615
|
+
}, y = (f) => {
|
|
616
|
+
o.value && f && (o.value = !1);
|
|
617
|
+
}, i = (f) => {
|
|
618
|
+
d.value = f;
|
|
619
|
+
}, h = {
|
|
620
620
|
mouseenter: p,
|
|
621
|
-
mouseleave:
|
|
621
|
+
mouseleave: y,
|
|
622
622
|
focus: p,
|
|
623
|
-
blur:
|
|
623
|
+
blur: y
|
|
624
624
|
};
|
|
625
|
-
return ke(
|
|
625
|
+
return ke(l, (f) => {
|
|
626
626
|
var k;
|
|
627
|
-
(k = d.value) != null && k.contains(
|
|
628
|
-
}), (
|
|
629
|
-
I(
|
|
630
|
-
setRef:
|
|
627
|
+
(k = d.value) != null && k.contains(f.target) || y();
|
|
628
|
+
}), (f, k) => (v(), w(M, null, [
|
|
629
|
+
I(f.$slots, "default", {
|
|
630
|
+
setRef: i,
|
|
631
631
|
show: p,
|
|
632
|
-
hide:
|
|
633
|
-
events:
|
|
632
|
+
hide: y,
|
|
633
|
+
events: h
|
|
634
634
|
}),
|
|
635
635
|
b("div", {
|
|
636
636
|
ref_key: "floating",
|
|
637
|
-
ref:
|
|
638
|
-
"data-placement": m(
|
|
637
|
+
ref: l,
|
|
638
|
+
"data-placement": m(g),
|
|
639
639
|
style: It({
|
|
640
640
|
position: m(u),
|
|
641
641
|
top: m(s) ? `${m(s)}px` : "",
|
|
@@ -647,11 +647,11 @@ const xo = (t) => {
|
|
|
647
647
|
mode: "out-in"
|
|
648
648
|
}, {
|
|
649
649
|
default: T(() => [
|
|
650
|
-
o.value ? (
|
|
650
|
+
o.value ? (v(), w("div", {
|
|
651
651
|
key: 0,
|
|
652
|
-
class:
|
|
652
|
+
class: $(["floating-content", [`is-${e.theme}`]])
|
|
653
653
|
}, [
|
|
654
|
-
I(
|
|
654
|
+
I(f.$slots, "content", { close: y }, () => [
|
|
655
655
|
O(x(t.content), 1)
|
|
656
656
|
]),
|
|
657
657
|
b("div", {
|
|
@@ -664,14 +664,14 @@ const xo = (t) => {
|
|
|
664
664
|
left: m(r) ? `${m(r)}px` : ""
|
|
665
665
|
})
|
|
666
666
|
}, null, 4)
|
|
667
|
-
], 2)) :
|
|
667
|
+
], 2)) : P("", !0)
|
|
668
668
|
]),
|
|
669
669
|
_: 3
|
|
670
670
|
})
|
|
671
671
|
], 12, ko)
|
|
672
672
|
], 64));
|
|
673
673
|
}
|
|
674
|
-
}, To = ["onMouseenter", "onMouseleave", "onFocus", "onBlur", "onClick", "onKeydown", "tabindex"], Po = { key: 0 },
|
|
674
|
+
}, To = ["onMouseenter", "onMouseleave", "onFocus", "onBlur", "onClick", "onKeydown", "tabindex"], Po = { key: 0 }, So = ["colspan"], _o = { key: 1 }, $o = ["colspan"], ce = {
|
|
675
675
|
__name: "DataTable",
|
|
676
676
|
props: {
|
|
677
677
|
columns: {
|
|
@@ -697,65 +697,65 @@ const xo = (t) => {
|
|
|
697
697
|
},
|
|
698
698
|
emits: ["sort"],
|
|
699
699
|
setup(t, { emit: e }) {
|
|
700
|
-
const o = t, { isLoading: n, appendTo: a } = zt(o), s = Te(n, { delay: Le }), r = e, { t: c } =
|
|
701
|
-
p.sortOrders && r("sort", { target:
|
|
700
|
+
const o = t, { isLoading: n, appendTo: a } = zt(o), s = Te(n, { delay: Le }), r = e, { t: c } = Z(), g = J("table"), d = A(() => o.columns), l = A(() => Object.keys(o.columns).length), u = (p, y) => {
|
|
701
|
+
p.sortOrders && r("sort", { target: y, orders: p.sortOrders });
|
|
702
702
|
};
|
|
703
|
-
return (p,
|
|
704
|
-
class:
|
|
703
|
+
return (p, y) => (v(), w("table", {
|
|
704
|
+
class: $(m(g))
|
|
705
705
|
}, [
|
|
706
706
|
b("thead", null, [
|
|
707
707
|
b("tr", null, [
|
|
708
|
-
(
|
|
709
|
-
key:
|
|
708
|
+
(v(!0), w(M, null, et(d.value, (i, h) => (v(), L(ie, {
|
|
709
|
+
key: h,
|
|
710
710
|
placement: "top",
|
|
711
|
-
content:
|
|
712
|
-
disabled: !
|
|
711
|
+
content: i.tooltip,
|
|
712
|
+
disabled: !i.tooltip,
|
|
713
713
|
"append-to": m(a)
|
|
714
714
|
}, {
|
|
715
|
-
default: T(({ setRef:
|
|
715
|
+
default: T(({ setRef: f, show: k, hide: S }) => [
|
|
716
716
|
b("th", {
|
|
717
717
|
ref_for: !0,
|
|
718
|
-
ref:
|
|
719
|
-
class:
|
|
720
|
-
[
|
|
718
|
+
ref: f,
|
|
719
|
+
class: $([
|
|
720
|
+
[i.class],
|
|
721
721
|
{
|
|
722
|
-
"is-active":
|
|
723
|
-
"is-sortable":
|
|
724
|
-
"is-desc":
|
|
725
|
-
"is-asc":
|
|
722
|
+
"is-active": h === t.sort.sortTarget && t.sort.orders[0].direction !== m(Pt),
|
|
723
|
+
"is-sortable": i.sortOrders,
|
|
724
|
+
"is-desc": h === t.sort.sortTarget && t.sort.orders[0].direction === m(Nt),
|
|
725
|
+
"is-asc": h === t.sort.sortTarget && t.sort.orders[0].direction === m(Dt)
|
|
726
726
|
}
|
|
727
727
|
]),
|
|
728
728
|
onMouseenter: k,
|
|
729
|
-
onMouseleave:
|
|
729
|
+
onMouseleave: S,
|
|
730
730
|
onFocus: k,
|
|
731
|
-
onBlur:
|
|
732
|
-
onClick: (
|
|
731
|
+
onBlur: S,
|
|
732
|
+
onClick: (_) => u(i, h),
|
|
733
733
|
onKeydown: [
|
|
734
|
-
Vt(rt((
|
|
735
|
-
Vt(rt((
|
|
734
|
+
Vt(rt((_) => u(i, h), ["prevent"]), ["space"]),
|
|
735
|
+
Vt(rt((_) => u(i, h), ["prevent"]), ["enter"])
|
|
736
736
|
],
|
|
737
|
-
tabindex:
|
|
737
|
+
tabindex: i.sortOrders ? 0 : -1,
|
|
738
738
|
role: "button"
|
|
739
739
|
}, [
|
|
740
|
-
I(p.$slots, `header-${
|
|
741
|
-
O(x(
|
|
740
|
+
I(p.$slots, `header-${h}`, { column: i }, () => [
|
|
741
|
+
O(x(i.label), 1)
|
|
742
742
|
]),
|
|
743
|
-
|
|
743
|
+
i.sortOrders && h !== t.sort.sortTarget ? (v(), L(m(Ot), {
|
|
744
744
|
key: 0,
|
|
745
745
|
class: "is-icon-sort"
|
|
746
|
-
})) :
|
|
747
|
-
|
|
746
|
+
})) : P("", !0),
|
|
747
|
+
h === t.sort.sortTarget && t.sort.orders[0].direction === m(Pt) ? (v(), L(m(Ot), {
|
|
748
748
|
key: 1,
|
|
749
749
|
class: "is-icon-sort"
|
|
750
|
-
})) :
|
|
751
|
-
|
|
750
|
+
})) : P("", !0),
|
|
751
|
+
h === t.sort.sortTarget && t.sort.orders[0].direction === m(Nt) ? (v(), L(m(Ze), {
|
|
752
752
|
key: 2,
|
|
753
753
|
class: "is-icon-sort"
|
|
754
|
-
})) :
|
|
755
|
-
|
|
754
|
+
})) : P("", !0),
|
|
755
|
+
h === t.sort.sortTarget && t.sort.orders[0].direction === m(Dt) ? (v(), L(m(oo), {
|
|
756
756
|
key: 3,
|
|
757
757
|
class: "is-icon-sort"
|
|
758
|
-
})) :
|
|
758
|
+
})) : P("", !0)
|
|
759
759
|
], 42, To)
|
|
760
760
|
]),
|
|
761
761
|
_: 2
|
|
@@ -763,47 +763,47 @@ const xo = (t) => {
|
|
|
763
763
|
])
|
|
764
764
|
]),
|
|
765
765
|
b("tbody", null, [
|
|
766
|
-
(
|
|
767
|
-
key:
|
|
768
|
-
class:
|
|
766
|
+
(v(!0), w(M, null, et(o.rows, (i, h) => (v(), w("tr", {
|
|
767
|
+
key: h,
|
|
768
|
+
class: $(i.rowClasses)
|
|
769
769
|
}, [
|
|
770
|
-
(
|
|
770
|
+
(v(!0), w(M, null, et(d.value, (f, k) => (v(), w("td", {
|
|
771
771
|
key: k,
|
|
772
|
-
class:
|
|
773
|
-
[
|
|
772
|
+
class: $([
|
|
773
|
+
[f.class],
|
|
774
774
|
{
|
|
775
775
|
"is-active": k === t.sort.sortTarget && t.sort.orders[0].direction !== m(Pt),
|
|
776
|
-
"is-zero":
|
|
776
|
+
"is-zero": i[k] == 0
|
|
777
777
|
}
|
|
778
778
|
])
|
|
779
779
|
}, [
|
|
780
780
|
I(p.$slots, `cell-${k}`, {
|
|
781
|
-
row:
|
|
781
|
+
row: i,
|
|
782
782
|
prop: k
|
|
783
783
|
}, () => [
|
|
784
|
-
O(x(
|
|
784
|
+
O(x(i[k]), 1)
|
|
785
785
|
])
|
|
786
786
|
], 2))), 128))
|
|
787
787
|
], 2))), 128))
|
|
788
788
|
]),
|
|
789
|
-
m(s) && t.rows.length === 0 ? (
|
|
789
|
+
m(s) && t.rows.length === 0 ? (v(), w("tfoot", Po, [
|
|
790
790
|
b("tr", null, [
|
|
791
|
-
b("td", { colspan:
|
|
791
|
+
b("td", { colspan: l.value }, [
|
|
792
792
|
I(p.$slots, "loading", {}, () => [
|
|
793
793
|
O(x(m(c)("common.loading")), 1)
|
|
794
794
|
])
|
|
795
|
-
], 8,
|
|
795
|
+
], 8, So)
|
|
796
796
|
])
|
|
797
|
-
])) :
|
|
798
|
-
t.rows.length === 0 && !m(n) && !m(s) ? (
|
|
797
|
+
])) : P("", !0),
|
|
798
|
+
t.rows.length === 0 && !m(n) && !m(s) ? (v(), w("tfoot", _o, [
|
|
799
799
|
b("tr", null, [
|
|
800
|
-
b("td", { colspan:
|
|
800
|
+
b("td", { colspan: l.value }, [
|
|
801
801
|
I(p.$slots, "empty", {}, () => [
|
|
802
802
|
O(x(m(c)("common.noData")), 1)
|
|
803
803
|
])
|
|
804
|
-
], 8,
|
|
804
|
+
], 8, $o)
|
|
805
805
|
])
|
|
806
|
-
])) :
|
|
806
|
+
])) : P("", !0)
|
|
807
807
|
], 2));
|
|
808
808
|
}
|
|
809
809
|
}, zo = {
|
|
@@ -830,9 +830,9 @@ const xo = (t) => {
|
|
|
830
830
|
Co
|
|
831
831
|
];
|
|
832
832
|
function Lo(t, e) {
|
|
833
|
-
return
|
|
833
|
+
return v(), w("svg", zo, Eo);
|
|
834
834
|
}
|
|
835
|
-
const Io = { render: Lo },
|
|
835
|
+
const Io = { render: Lo }, Hs = {
|
|
836
836
|
__name: "ErrorNotice",
|
|
837
837
|
props: {
|
|
838
838
|
error: {
|
|
@@ -841,12 +841,12 @@ const Io = { render: Lo }, Ds = {
|
|
|
841
841
|
}
|
|
842
842
|
},
|
|
843
843
|
setup(t) {
|
|
844
|
-
const e = t, { t: o, hasTranslation: n } =
|
|
844
|
+
const e = t, { t: o, hasTranslation: n } = Z(), 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
|
});
|
|
848
|
-
return (r, c) => (
|
|
849
|
-
class:
|
|
848
|
+
return (r, c) => (v(), w("div", {
|
|
849
|
+
class: $(m(a))
|
|
850
850
|
}, [
|
|
851
851
|
C(m(Io), {
|
|
852
852
|
class: "icon",
|
|
@@ -856,7 +856,7 @@ const Io = { render: Lo }, Ds = {
|
|
|
856
856
|
b("span", null, x(s.value), 1)
|
|
857
857
|
], 2));
|
|
858
858
|
}
|
|
859
|
-
},
|
|
859
|
+
}, Bs = {
|
|
860
860
|
__name: "ErrorProvider",
|
|
861
861
|
setup(t) {
|
|
862
862
|
const { message: e, hasError: o, error: n } = Pe();
|
|
@@ -1688,7 +1688,7 @@ const Io = { render: Lo }, Ds = {
|
|
|
1688
1688
|
}
|
|
1689
1689
|
},
|
|
1690
1690
|
setup(t) {
|
|
1691
|
-
const e = Be({ hu: Mo, en: Ko }, t.messages), { translate: o } =
|
|
1691
|
+
const e = Be({ hu: Mo, en: Ko }, t.messages), { translate: o } = Se({
|
|
1692
1692
|
locale: A(() => t.locale),
|
|
1693
1693
|
messages: e
|
|
1694
1694
|
});
|
|
@@ -1700,7 +1700,7 @@ const Io = { render: Lo }, Ds = {
|
|
|
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 Fs = /* @__PURE__ */ Uo(qo, [["render", Jo]]), Yo = ["src"], Zo = ["src", "title"], st = /* @__PURE__ */ Object.assign({
|
|
1704
1704
|
inheritAttrs: !1
|
|
1705
1705
|
}, {
|
|
1706
1706
|
__name: "Image",
|
|
@@ -1719,17 +1719,17 @@ const Ms = /* @__PURE__ */ Uo(qo, [["render", Jo]]), Yo = ["src"], Zo = ["src",
|
|
|
1719
1719
|
}
|
|
1720
1720
|
},
|
|
1721
1721
|
setup(t) {
|
|
1722
|
-
const e = t, { defaultSrc: o } = zt(e), n = E({ src: e.src }), { error: a, isReady: s } =
|
|
1723
|
-
return (r, c) => (
|
|
1724
|
-
m(a) && m(o) ? (
|
|
1722
|
+
const e = t, { defaultSrc: o } = zt(e), n = E({ src: e.src }), { error: a, isReady: s } = _e(n, { resetOnExecute: !1, shallow: !1 });
|
|
1723
|
+
return (r, c) => (v(), w(M, null, [
|
|
1724
|
+
m(a) && m(o) ? (v(), w("img", {
|
|
1725
1725
|
key: 0,
|
|
1726
1726
|
src: m(o),
|
|
1727
|
-
class:
|
|
1728
|
-
}, null, 10, Yo)) :
|
|
1729
|
-
m(a) ?
|
|
1727
|
+
class: $(["is-loaded is-default", r.$attrs.class])
|
|
1728
|
+
}, null, 10, Yo)) : P("", !0),
|
|
1729
|
+
m(a) ? P("", !0) : (v(), w("img", {
|
|
1730
1730
|
key: 1,
|
|
1731
1731
|
src: n.value.src,
|
|
1732
|
-
class:
|
|
1732
|
+
class: $([r.$attrs.class, { "is-loaded": m(s) }]),
|
|
1733
1733
|
title: e.title
|
|
1734
1734
|
}, null, 10, Zo))
|
|
1735
1735
|
], 64));
|
|
@@ -1737,26 +1737,26 @@ const Ms = /* @__PURE__ */ Uo(qo, [["render", Jo]]), Yo = ["src"], Zo = ["src",
|
|
|
1737
1737
|
}), Xo = { style: { "text-align": "center" } }, de = {
|
|
1738
1738
|
__name: "LoadingIndicator",
|
|
1739
1739
|
setup(t) {
|
|
1740
|
-
const { t: e } =
|
|
1741
|
-
return (o, n) => (
|
|
1740
|
+
const { t: e } = Z();
|
|
1741
|
+
return (o, n) => (v(), w("div", Xo, x(m(e)("common.loading")), 1));
|
|
1742
1742
|
}
|
|
1743
1743
|
};
|
|
1744
|
-
function Qo({ currentPage: t, itemsPerPage: e = 20, totalItems: o, rangeLength: n = 5, update: a =
|
|
1744
|
+
function Qo({ currentPage: t, itemsPerPage: e = 20, totalItems: o, rangeLength: n = 5, update: a = $e }) {
|
|
1745
1745
|
const s = A(() => Math.ceil(m(o) / e)), r = A(() => {
|
|
1746
|
-
const
|
|
1747
|
-
let
|
|
1748
|
-
return
|
|
1749
|
-
}), c = (
|
|
1750
|
-
const u = m(t) +
|
|
1746
|
+
const l = m(t) - 1, u = Array.from({ length: s.value }, (i, h) => h + 1), p = Math.floor(n / 2);
|
|
1747
|
+
let y = Math.max(l - p, 0);
|
|
1748
|
+
return y + n >= s.value && (y = Math.max(s.value - n, 0)), u.slice(y, y + n);
|
|
1749
|
+
}), c = (l) => {
|
|
1750
|
+
const u = m(t) + l;
|
|
1751
1751
|
d(u) && a(u);
|
|
1752
|
-
},
|
|
1753
|
-
d(
|
|
1754
|
-
}, d = (
|
|
1752
|
+
}, g = (l) => {
|
|
1753
|
+
d(l) && a(l);
|
|
1754
|
+
}, d = (l) => l <= s.value && l > 0;
|
|
1755
1755
|
return {
|
|
1756
1756
|
page: t,
|
|
1757
1757
|
range: r,
|
|
1758
1758
|
pageCount: s,
|
|
1759
|
-
goTo:
|
|
1759
|
+
goTo: g,
|
|
1760
1760
|
pageStep: c
|
|
1761
1761
|
};
|
|
1762
1762
|
}
|
|
@@ -1772,7 +1772,7 @@ const tn = {
|
|
|
1772
1772
|
en
|
|
1773
1773
|
];
|
|
1774
1774
|
function nn(t, e) {
|
|
1775
|
-
return
|
|
1775
|
+
return v(), w("svg", tn, on);
|
|
1776
1776
|
}
|
|
1777
1777
|
const sn = { render: nn }, an = {
|
|
1778
1778
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1786,7 +1786,7 @@ const sn = { render: nn }, an = {
|
|
|
1786
1786
|
rn
|
|
1787
1787
|
];
|
|
1788
1788
|
function cn(t, e) {
|
|
1789
|
-
return
|
|
1789
|
+
return v(), w("svg", an, ln);
|
|
1790
1790
|
}
|
|
1791
1791
|
const dn = { render: cn }, un = ["disabled"], mn = ["disabled"], pn = {
|
|
1792
1792
|
key: 1,
|
|
@@ -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"], js = {
|
|
1800
1800
|
__name: "Paginator",
|
|
1801
1801
|
props: {
|
|
1802
1802
|
page: {
|
|
@@ -1828,71 +1828,71 @@ const dn = { render: cn }, un = ["disabled"], mn = ["disabled"], pn = {
|
|
|
1828
1828
|
},
|
|
1829
1829
|
emits: ["change"],
|
|
1830
1830
|
setup(t, { emit: e }) {
|
|
1831
|
-
const o = t, n = e, a = J("paginator"), { page: s, pageCount: r, range: c, goTo:
|
|
1831
|
+
const o = t, n = e, a = J("paginator"), { page: s, pageCount: r, range: c, goTo: g, pageStep: d } = Qo({
|
|
1832
1832
|
currentPage: A(() => o.page),
|
|
1833
1833
|
totalItems: A(() => o.totalItems),
|
|
1834
1834
|
itemsPerPage: o.itemsPerPage,
|
|
1835
1835
|
rangeLength: o.rangeLength,
|
|
1836
|
-
update: (
|
|
1836
|
+
update: (l) => n("change", l)
|
|
1837
1837
|
});
|
|
1838
|
-
return (
|
|
1838
|
+
return (l, u) => m(r) > 1 ? (v(), w("div", {
|
|
1839
1839
|
key: 0,
|
|
1840
|
-
class:
|
|
1840
|
+
class: $(m(a))
|
|
1841
1841
|
}, [
|
|
1842
1842
|
b("button", {
|
|
1843
1843
|
type: "button",
|
|
1844
1844
|
disabled: m(s) === 1,
|
|
1845
1845
|
onClick: u[0] || (u[0] = (p) => m(d)(-1))
|
|
1846
1846
|
}, [
|
|
1847
|
-
I(
|
|
1847
|
+
I(l.$slots, "prev", {}, () => [
|
|
1848
1848
|
C(m(sn), { class: "icon paginator-left" })
|
|
1849
1849
|
])
|
|
1850
1850
|
], 8, un),
|
|
1851
|
-
t.isCompact ?
|
|
1851
|
+
t.isCompact ? P("", !0) : (v(), w("button", {
|
|
1852
1852
|
key: 0,
|
|
1853
1853
|
type: "button",
|
|
1854
1854
|
disabled: m(s) === 1,
|
|
1855
|
-
onClick: u[1] || (u[1] = (p) => m(
|
|
1855
|
+
onClick: u[1] || (u[1] = (p) => m(g)(1))
|
|
1856
1856
|
}, "1", 8, mn)),
|
|
1857
|
-
t.isCompact ?
|
|
1858
|
-
(
|
|
1857
|
+
t.isCompact ? P("", !0) : (v(), w("div", pn, "...")),
|
|
1858
|
+
(v(!0), w(M, null, et(m(c), (p) => (v(), w("button", {
|
|
1859
1859
|
type: "button",
|
|
1860
1860
|
key: p,
|
|
1861
|
-
class:
|
|
1861
|
+
class: $({ "is-active": p === m(s) }),
|
|
1862
1862
|
disabled: p === m(s),
|
|
1863
|
-
onClick: (
|
|
1863
|
+
onClick: (y) => m(g)(p)
|
|
1864
1864
|
}, x(p), 11, hn))), 128)),
|
|
1865
|
-
t.isCompact ?
|
|
1866
|
-
t.isCompact ?
|
|
1865
|
+
t.isCompact ? P("", !0) : (v(), w("div", fn, yn)),
|
|
1866
|
+
t.isCompact ? P("", !0) : (v(), w("button", {
|
|
1867
1867
|
key: 3,
|
|
1868
1868
|
type: "button",
|
|
1869
1869
|
disabled: m(s) === m(r),
|
|
1870
|
-
onClick: u[2] || (u[2] = (p) => m(
|
|
1870
|
+
onClick: u[2] || (u[2] = (p) => m(g)(m(r)))
|
|
1871
1871
|
}, x(m(r)), 9, vn)),
|
|
1872
1872
|
b("button", {
|
|
1873
1873
|
type: "button",
|
|
1874
1874
|
disabled: m(s) === m(r),
|
|
1875
1875
|
onClick: u[3] || (u[3] = rt((p) => m(d)(1), ["prevent"]))
|
|
1876
1876
|
}, [
|
|
1877
|
-
I(
|
|
1877
|
+
I(l.$slots, "next", {}, () => [
|
|
1878
1878
|
C(m(dn), { class: "icon paginator-left" })
|
|
1879
1879
|
])
|
|
1880
1880
|
], 8, bn)
|
|
1881
|
-
], 2)) :
|
|
1881
|
+
], 2)) : P("", !0);
|
|
1882
1882
|
}
|
|
1883
1883
|
}, ue = {
|
|
1884
1884
|
__name: "ResponsiveTable",
|
|
1885
1885
|
setup(t) {
|
|
1886
1886
|
const e = E(null), o = J("table-responsive");
|
|
1887
|
-
return (n, a) => (
|
|
1887
|
+
return (n, a) => (v(), w("div", {
|
|
1888
1888
|
ref_key: "el",
|
|
1889
1889
|
ref: e,
|
|
1890
|
-
class:
|
|
1890
|
+
class: $(m(o))
|
|
1891
1891
|
}, [
|
|
1892
1892
|
I(n.$slots, "default", { el: e.value })
|
|
1893
1893
|
], 2));
|
|
1894
1894
|
}
|
|
1895
|
-
}, wn = ["onClick"],
|
|
1895
|
+
}, wn = ["onClick"], Ws = {
|
|
1896
1896
|
__name: "TimezoneSelector",
|
|
1897
1897
|
props: {
|
|
1898
1898
|
locale: {
|
|
@@ -1906,13 +1906,13 @@ const dn = { render: cn }, un = ["disabled"], mn = ["disabled"], pn = {
|
|
|
1906
1906
|
},
|
|
1907
1907
|
emits: ["change"],
|
|
1908
1908
|
setup(t, { emit: e }) {
|
|
1909
|
-
const o = t, n = e, { t: a } =
|
|
1910
|
-
...
|
|
1911
|
-
isActive: gt(/* @__PURE__ */ new Date(), o.currentZone, o.locale) === gt(/* @__PURE__ */ new Date(),
|
|
1912
|
-
zoneOffsetName: gt(/* @__PURE__ */ new Date(),
|
|
1913
|
-
}))), d = (
|
|
1914
|
-
return (
|
|
1915
|
-
class:
|
|
1909
|
+
const o = t, n = e, { t: a } = Z(), s = J("timezone-selector"), r = A(() => gt(/* @__PURE__ */ new Date(), null, o.locale)), c = Ee(), g = A(() => Array.from(Ie.values()).map((l) => ({
|
|
1910
|
+
...l,
|
|
1911
|
+
isActive: gt(/* @__PURE__ */ new Date(), o.currentZone, o.locale) === gt(/* @__PURE__ */ new Date(), l.timezone, o.locale),
|
|
1912
|
+
zoneOffsetName: gt(/* @__PURE__ */ new Date(), l.timezone, o.locale)
|
|
1913
|
+
}))), d = (l) => n("change", l);
|
|
1914
|
+
return (l, u) => (v(), w("div", {
|
|
1915
|
+
class: $(m(s))
|
|
1916
1916
|
}, [
|
|
1917
1917
|
C(m(ze), {
|
|
1918
1918
|
path: "common.selectTimezone",
|
|
@@ -1926,22 +1926,31 @@ const dn = { render: cn }, un = ["disabled"], mn = ["disabled"], pn = {
|
|
|
1926
1926
|
]),
|
|
1927
1927
|
_: 1
|
|
1928
1928
|
}),
|
|
1929
|
-
(
|
|
1929
|
+
(v(!0), w(M, null, et(g.value, (p) => (v(), w("a", {
|
|
1930
1930
|
key: p.countryLabelKey,
|
|
1931
1931
|
href: "#",
|
|
1932
|
-
class:
|
|
1933
|
-
onClick: rt((
|
|
1932
|
+
class: $({ "is-active": p.isActive }),
|
|
1933
|
+
onClick: rt((y) => d(p.timezone), ["prevent"])
|
|
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 = { key: 0 }, Pn = /* @__PURE__ */ b("sup", null, "*", -1),
|
|
1937
|
+
}, xn = { class: "is-portrait-image" }, kn = { class: "is-team-name-long" }, Tn = { key: 0 }, Pn = /* @__PURE__ */ b("sup", null, "*", -1), Sn = [
|
|
1938
1938
|
Pn
|
|
1939
|
-
],
|
|
1939
|
+
], _n = { class: "is-team-name-short" }, $n = { key: 0 }, zn = /* @__PURE__ */ b("sup", null, "*", -1), An = [
|
|
1940
1940
|
zn
|
|
1941
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 = {
|
|
1942
1942
|
key: 0,
|
|
1943
1943
|
class: "is-text-dark"
|
|
1944
|
-
}, On = ["href", "target"],
|
|
1944
|
+
}, On = ["href", "target"], Mn = {
|
|
1945
|
+
key: 0,
|
|
1946
|
+
class: "label"
|
|
1947
|
+
}, Hn = {
|
|
1948
|
+
key: 1,
|
|
1949
|
+
class: "label"
|
|
1950
|
+
}, Bn = {
|
|
1951
|
+
key: 2,
|
|
1952
|
+
class: "label"
|
|
1953
|
+
}, Ks = {
|
|
1945
1954
|
__name: "StatisticsTable",
|
|
1946
1955
|
props: {
|
|
1947
1956
|
columns: {
|
|
@@ -2001,114 +2010,119 @@ const dn = { render: cn }, un = ["disabled"], mn = ["disabled"], pn = {
|
|
|
2001
2010
|
},
|
|
2002
2011
|
emits: ["sort"],
|
|
2003
2012
|
setup(t, { emit: e }) {
|
|
2004
|
-
const o = t, { columns: n, hideColumns: a } = zt(o), s = e, { onError: r } = qt(), {
|
|
2013
|
+
const o = t, { columns: n, hideColumns: a } = zt(o), s = e, { onError: r } = qt(), { t: c } = Z(), { columns: g, error: d } = Jt(
|
|
2005
2014
|
n,
|
|
2006
2015
|
a,
|
|
2007
2016
|
A(() => ({
|
|
2008
2017
|
offsetName: o.offsetName
|
|
2009
2018
|
}))
|
|
2010
2019
|
);
|
|
2011
|
-
|
|
2020
|
+
d.value && r(
|
|
2012
2021
|
new Zt(yt.message, {
|
|
2013
2022
|
...yt.options,
|
|
2014
|
-
cause: { column:
|
|
2023
|
+
cause: { column: d.value }
|
|
2015
2024
|
})
|
|
2016
2025
|
);
|
|
2017
|
-
const
|
|
2018
|
-
return (
|
|
2019
|
-
default: T(({ el:
|
|
2026
|
+
const l = (u) => s("sort", u);
|
|
2027
|
+
return (u, p) => (v(), L(ue, null, {
|
|
2028
|
+
default: T(({ el: y }) => [
|
|
2020
2029
|
C(ce, {
|
|
2021
|
-
columns: m(
|
|
2030
|
+
columns: m(g),
|
|
2022
2031
|
sort: o.sort,
|
|
2023
2032
|
rows: o.rows,
|
|
2024
2033
|
"is-loading": t.isLoading,
|
|
2025
|
-
"append-to": t.appendTo ||
|
|
2026
|
-
onSort:
|
|
2034
|
+
"append-to": t.appendTo || y,
|
|
2035
|
+
onSort: l
|
|
2027
2036
|
}, we({
|
|
2028
|
-
"cell-index": T(({ row:
|
|
2037
|
+
"cell-index": T(({ row: i }) => [
|
|
2029
2038
|
b("span", {
|
|
2030
|
-
class:
|
|
2031
|
-
}, x(
|
|
2039
|
+
class: $(i.indexClass)
|
|
2040
|
+
}, x(i.index), 3)
|
|
2032
2041
|
]),
|
|
2033
|
-
"cell-playerPortrait": T(({ row:
|
|
2042
|
+
"cell-playerPortrait": T(({ row: i }) => [
|
|
2034
2043
|
b("div", xn, [
|
|
2035
|
-
(
|
|
2036
|
-
key:
|
|
2037
|
-
src:
|
|
2044
|
+
(v(), L(st, {
|
|
2045
|
+
key: i.player.playerId,
|
|
2046
|
+
src: i.player.picture,
|
|
2038
2047
|
"default-src": m(Ve)
|
|
2039
2048
|
}, null, 8, ["src", "default-src"]))
|
|
2040
2049
|
])
|
|
2041
2050
|
]),
|
|
2042
|
-
"cell-teamLogo": T(({ row:
|
|
2043
|
-
var h,
|
|
2051
|
+
"cell-teamLogo": T(({ row: i }) => {
|
|
2052
|
+
var h, f;
|
|
2044
2053
|
return [
|
|
2045
|
-
(
|
|
2054
|
+
(v(), L(st, {
|
|
2046
2055
|
class: "is-logo-image",
|
|
2047
|
-
key: ((h =
|
|
2048
|
-
src: (
|
|
2056
|
+
key: ((h = i.team) == null ? void 0 : h.id) ?? i.id,
|
|
2057
|
+
src: (f = i.team) == null ? void 0 : f.logo
|
|
2049
2058
|
}, null, 8, ["src"]))
|
|
2050
2059
|
];
|
|
2051
2060
|
}),
|
|
2052
|
-
"cell-homeTeamLogo": T(({ row:
|
|
2053
|
-
var h,
|
|
2061
|
+
"cell-homeTeamLogo": T(({ row: i }) => {
|
|
2062
|
+
var h, f;
|
|
2054
2063
|
return [
|
|
2055
|
-
(
|
|
2064
|
+
(v(), L(st, {
|
|
2056
2065
|
class: "is-logo-image is-right",
|
|
2057
|
-
key: (h =
|
|
2058
|
-
src: (
|
|
2066
|
+
key: (h = i.homeTeam) == null ? void 0 : h.id,
|
|
2067
|
+
src: (f = i.homeTeam) == null ? void 0 : f.logo
|
|
2059
2068
|
}, null, 8, ["src"]))
|
|
2060
2069
|
];
|
|
2061
2070
|
}),
|
|
2062
|
-
"cell-awayTeamLogo": T(({ row:
|
|
2063
|
-
var h,
|
|
2071
|
+
"cell-awayTeamLogo": T(({ row: i }) => {
|
|
2072
|
+
var h, f;
|
|
2064
2073
|
return [
|
|
2065
|
-
(
|
|
2074
|
+
(v(), L(st, {
|
|
2066
2075
|
class: "is-logo-image is-right",
|
|
2067
|
-
key: (h =
|
|
2068
|
-
src: (
|
|
2076
|
+
key: (h = i.awayTeam) == null ? void 0 : h.id,
|
|
2077
|
+
src: (f = i.awayTeam) == null ? void 0 : f.logo
|
|
2069
2078
|
}, null, 8, ["src"]))
|
|
2070
2079
|
];
|
|
2071
2080
|
}),
|
|
2072
|
-
"cell-teamName": T(({ row:
|
|
2073
|
-
var h,
|
|
2081
|
+
"cell-teamName": T(({ row: i }) => {
|
|
2082
|
+
var h, f;
|
|
2074
2083
|
return [
|
|
2075
2084
|
b("span", kn, [
|
|
2076
|
-
O(x((h =
|
|
2077
|
-
|
|
2085
|
+
O(x((h = i.team) == null ? void 0 : h.longName) + " ", 1),
|
|
2086
|
+
i.penaltyPoints ? (v(), w("span", Tn, Sn)) : P("", !0)
|
|
2078
2087
|
]),
|
|
2079
|
-
b("span",
|
|
2080
|
-
O(x((
|
|
2081
|
-
|
|
2088
|
+
b("span", _n, [
|
|
2089
|
+
O(x((f = i.team) == null ? void 0 : f.shortName) + " ", 1),
|
|
2090
|
+
i.penaltyPoints ? (v(), w("span", $n, An)) : P("", !0)
|
|
2082
2091
|
])
|
|
2083
2092
|
];
|
|
2084
2093
|
}),
|
|
2085
|
-
"cell-homeTeamName": T(({ row:
|
|
2086
|
-
var h,
|
|
2094
|
+
"cell-homeTeamName": T(({ row: i }) => {
|
|
2095
|
+
var h, f;
|
|
2087
2096
|
return [
|
|
2088
|
-
b("span", Gn, x((h =
|
|
2089
|
-
b("span", Cn, x((
|
|
2097
|
+
b("span", Gn, x((h = i.homeTeam) == null ? void 0 : h.longName), 1),
|
|
2098
|
+
b("span", Cn, x((f = i.homeTeam) == null ? void 0 : f.shortName), 1)
|
|
2090
2099
|
];
|
|
2091
2100
|
}),
|
|
2092
|
-
"cell-awayTeamName": T(({ row:
|
|
2093
|
-
var h,
|
|
2101
|
+
"cell-awayTeamName": T(({ row: i }) => {
|
|
2102
|
+
var h, f;
|
|
2094
2103
|
return [
|
|
2095
|
-
b("span", En, x((h =
|
|
2096
|
-
b("span", Ln, x((
|
|
2104
|
+
b("span", En, x((h = i.awayTeam) == null ? void 0 : h.longName), 1),
|
|
2105
|
+
b("span", Ln, x((f = i.awayTeam) == null ? void 0 : f.shortName), 1)
|
|
2097
2106
|
];
|
|
2098
2107
|
}),
|
|
2099
|
-
"cell-location": T(({ row:
|
|
2108
|
+
"cell-location": T(({ row: i }) => {
|
|
2100
2109
|
var h;
|
|
2101
2110
|
return [
|
|
2102
|
-
O(x(((h =
|
|
2111
|
+
O(x(((h = i.location) == null ? void 0 : h.locationName) ?? ""), 1)
|
|
2103
2112
|
];
|
|
2104
2113
|
}),
|
|
2105
|
-
"cell-gameResult": T(({ row:
|
|
2106
|
-
|
|
2114
|
+
"cell-gameResult": T(({ row: i }) => [
|
|
2115
|
+
i.gameStatus === 0 ? (v(), w("span", Dn, "-:-")) : (v(), w("a", {
|
|
2107
2116
|
key: 1,
|
|
2108
|
-
href: t.externalGameResolver(
|
|
2117
|
+
href: t.externalGameResolver(i),
|
|
2109
2118
|
target: t.externalGameResolverTarget,
|
|
2110
|
-
class:
|
|
2111
|
-
}, x(
|
|
2119
|
+
class: $({ "is-text-dark": i.gameStatus !== 1, "is-text-accent": i.gameStatus === 1 })
|
|
2120
|
+
}, x(i.homeTeamScore) + ":" + x(i.awayTeamScore), 11, On))
|
|
2121
|
+
]),
|
|
2122
|
+
"cell-gameResultType": T(({ row: i }) => [
|
|
2123
|
+
i.isOvertime ? (v(), w("span", Mn, x(m(c)("common.overtimeShort")), 1)) : P("", !0),
|
|
2124
|
+
i.isShootout ? (v(), w("span", Hn, x(m(c)("common.shootoutShort")), 1)) : P("", !0),
|
|
2125
|
+
i.seriesStandings ? (v(), w("span", Bn, x(i.seriesStandings), 1)) : P("", !0)
|
|
2112
2126
|
]),
|
|
2113
2127
|
loading: T(() => [
|
|
2114
2128
|
C(de)
|
|
@@ -2117,15 +2131,15 @@ const dn = { render: cn }, un = ["disabled"], mn = ["disabled"], pn = {
|
|
|
2117
2131
|
}, [
|
|
2118
2132
|
t.isTeamLinked ? {
|
|
2119
2133
|
name: "cell-teamName",
|
|
2120
|
-
fn: T(({ row:
|
|
2121
|
-
var h,
|
|
2134
|
+
fn: T(({ row: i }) => {
|
|
2135
|
+
var h, f;
|
|
2122
2136
|
return [
|
|
2123
2137
|
b("a", {
|
|
2124
|
-
href: t.externalTeamResolver(
|
|
2138
|
+
href: t.externalTeamResolver(i),
|
|
2125
2139
|
target: "_blank"
|
|
2126
2140
|
}, [
|
|
2127
|
-
b("span", Vn, x((h =
|
|
2128
|
-
b("span", Rn, x((
|
|
2141
|
+
b("span", Vn, x((h = i.team) == null ? void 0 : h.longName), 1),
|
|
2142
|
+
b("span", Rn, x((f = i.team) == null ? void 0 : f.shortName), 1)
|
|
2129
2143
|
], 8, In)
|
|
2130
2144
|
];
|
|
2131
2145
|
}),
|
|
@@ -2133,11 +2147,11 @@ const dn = { render: cn }, un = ["disabled"], mn = ["disabled"], pn = {
|
|
|
2133
2147
|
} : void 0,
|
|
2134
2148
|
t.isPlayerLinked ? {
|
|
2135
2149
|
name: "cell-name",
|
|
2136
|
-
fn: T(({ row:
|
|
2150
|
+
fn: T(({ row: i }) => [
|
|
2137
2151
|
b("a", {
|
|
2138
|
-
href: t.externalPlayerResolver(
|
|
2152
|
+
href: t.externalPlayerResolver(i),
|
|
2139
2153
|
target: "_blank"
|
|
2140
|
-
}, x(
|
|
2154
|
+
}, x(i.name), 9, Nn)
|
|
2141
2155
|
]),
|
|
2142
2156
|
key: "1"
|
|
2143
2157
|
} : void 0
|
|
@@ -2146,7 +2160,7 @@ const dn = { render: cn }, un = ["disabled"], mn = ["disabled"], pn = {
|
|
|
2146
2160
|
_: 1
|
|
2147
2161
|
}));
|
|
2148
2162
|
}
|
|
2149
|
-
},
|
|
2163
|
+
}, Fn = {
|
|
2150
2164
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2151
2165
|
viewBox: "0 0 24 24",
|
|
2152
2166
|
fill: "none",
|
|
@@ -2154,32 +2168,32 @@ const dn = { render: cn }, un = ["disabled"], mn = ["disabled"], pn = {
|
|
|
2154
2168
|
"stroke-width": "2",
|
|
2155
2169
|
"stroke-linecap": "round",
|
|
2156
2170
|
"stroke-linejoin": "round"
|
|
2157
|
-
},
|
|
2171
|
+
}, jn = /* @__PURE__ */ b("rect", {
|
|
2158
2172
|
x: "2",
|
|
2159
2173
|
y: "3",
|
|
2160
2174
|
width: "20",
|
|
2161
2175
|
height: "14",
|
|
2162
2176
|
rx: "2",
|
|
2163
2177
|
ry: "2"
|
|
2164
|
-
}, null, -1),
|
|
2178
|
+
}, null, -1), Wn = /* @__PURE__ */ b("line", {
|
|
2165
2179
|
x1: "8",
|
|
2166
2180
|
y1: "21",
|
|
2167
2181
|
x2: "16",
|
|
2168
2182
|
y2: "21"
|
|
2169
|
-
}, null, -1),
|
|
2183
|
+
}, null, -1), Kn = /* @__PURE__ */ b("line", {
|
|
2170
2184
|
x1: "12",
|
|
2171
2185
|
y1: "17",
|
|
2172
2186
|
x2: "12",
|
|
2173
2187
|
y2: "21"
|
|
2174
|
-
}, null, -1),
|
|
2175
|
-
|
|
2176
|
-
|
|
2177
|
-
|
|
2188
|
+
}, null, -1), Un = [
|
|
2189
|
+
jn,
|
|
2190
|
+
Wn,
|
|
2191
|
+
Kn
|
|
2178
2192
|
];
|
|
2179
|
-
function
|
|
2180
|
-
return
|
|
2193
|
+
function qn(t, e) {
|
|
2194
|
+
return v(), w("svg", Fn, Un);
|
|
2181
2195
|
}
|
|
2182
|
-
const
|
|
2196
|
+
const Jn = { render: qn }, Yn = {
|
|
2183
2197
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2184
2198
|
viewBox: "0 0 24 24",
|
|
2185
2199
|
fill: "none",
|
|
@@ -2187,27 +2201,27 @@ const Kn = { render: Wn }, Un = {
|
|
|
2187
2201
|
"stroke-width": "2",
|
|
2188
2202
|
"stroke-linecap": "round",
|
|
2189
2203
|
"stroke-linejoin": "round"
|
|
2190
|
-
},
|
|
2204
|
+
}, Zn = /* @__PURE__ */ b("circle", {
|
|
2191
2205
|
cx: "12",
|
|
2192
2206
|
cy: "12",
|
|
2193
2207
|
r: "1"
|
|
2194
|
-
}, null, -1),
|
|
2208
|
+
}, null, -1), Xn = /* @__PURE__ */ b("circle", {
|
|
2195
2209
|
cx: "12",
|
|
2196
2210
|
cy: "5",
|
|
2197
2211
|
r: "1"
|
|
2198
|
-
}, null, -1),
|
|
2212
|
+
}, null, -1), Qn = /* @__PURE__ */ b("circle", {
|
|
2199
2213
|
cx: "12",
|
|
2200
2214
|
cy: "19",
|
|
2201
2215
|
r: "1"
|
|
2202
|
-
}, null, -1),
|
|
2203
|
-
|
|
2204
|
-
|
|
2205
|
-
|
|
2216
|
+
}, null, -1), ts = [
|
|
2217
|
+
Zn,
|
|
2218
|
+
Xn,
|
|
2219
|
+
Qn
|
|
2206
2220
|
];
|
|
2207
|
-
function
|
|
2208
|
-
return
|
|
2221
|
+
function es(t, e) {
|
|
2222
|
+
return v(), w("svg", Yn, ts);
|
|
2209
2223
|
}
|
|
2210
|
-
const
|
|
2224
|
+
const os = { render: es }, ns = {
|
|
2211
2225
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2212
2226
|
viewBox: "0 0 24 24",
|
|
2213
2227
|
fill: "none",
|
|
@@ -2215,21 +2229,21 @@ const Qn = { render: Xn }, ts = {
|
|
|
2215
2229
|
"stroke-width": "2",
|
|
2216
2230
|
"stroke-linecap": "round",
|
|
2217
2231
|
"stroke-linejoin": "round"
|
|
2218
|
-
},
|
|
2232
|
+
}, ss = /* @__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), as = /* @__PURE__ */ b("rect", {
|
|
2219
2233
|
x: "8",
|
|
2220
2234
|
y: "2",
|
|
2221
2235
|
width: "8",
|
|
2222
2236
|
height: "4",
|
|
2223
2237
|
rx: "1",
|
|
2224
2238
|
ry: "1"
|
|
2225
|
-
}, null, -1),
|
|
2226
|
-
|
|
2227
|
-
|
|
2239
|
+
}, null, -1), rs = [
|
|
2240
|
+
ss,
|
|
2241
|
+
as
|
|
2228
2242
|
];
|
|
2229
|
-
function
|
|
2230
|
-
return
|
|
2243
|
+
function ls(t, e) {
|
|
2244
|
+
return v(), w("svg", ns, rs);
|
|
2231
2245
|
}
|
|
2232
|
-
const
|
|
2246
|
+
const is = { render: ls }, cs = {
|
|
2233
2247
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2234
2248
|
viewBox: "0 0 24 24",
|
|
2235
2249
|
fill: "none",
|
|
@@ -2237,26 +2251,26 @@ const as = { render: ss }, rs = {
|
|
|
2237
2251
|
"stroke-width": "2",
|
|
2238
2252
|
"stroke-linecap": "round",
|
|
2239
2253
|
"stroke-linejoin": "round"
|
|
2240
|
-
},
|
|
2241
|
-
|
|
2242
|
-
|
|
2254
|
+
}, ds = /* @__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), us = /* @__PURE__ */ b("polygon", { points: "9.75 15.02 15.5 11.75 9.75 8.48 9.75 15.02" }, null, -1), ms = [
|
|
2255
|
+
ds,
|
|
2256
|
+
us
|
|
2243
2257
|
];
|
|
2244
|
-
function
|
|
2245
|
-
return
|
|
2258
|
+
function ps(t, e) {
|
|
2259
|
+
return v(), w("svg", cs, ms);
|
|
2246
2260
|
}
|
|
2247
|
-
const
|
|
2261
|
+
const hs = { render: ps }, fs = { class: "is-team-name-long" }, gs = { class: "is-team-name-short" }, ys = { class: "is-team-name-long" }, vs = { class: "is-team-name-short" }, bs = {
|
|
2248
2262
|
key: 0,
|
|
2249
2263
|
class: "is-text-dark"
|
|
2250
|
-
},
|
|
2264
|
+
}, ws = ["href", "target"], xs = {
|
|
2251
2265
|
key: 0,
|
|
2252
2266
|
class: "label"
|
|
2253
|
-
},
|
|
2267
|
+
}, ks = {
|
|
2254
2268
|
key: 1,
|
|
2255
2269
|
class: "label"
|
|
2256
|
-
},
|
|
2270
|
+
}, Ts = {
|
|
2257
2271
|
key: 2,
|
|
2258
2272
|
class: "label"
|
|
2259
|
-
},
|
|
2273
|
+
}, Ps = { key: 1 }, Ss = ["onClick", "onFocus", "onBlur"], _s = { class: "is-dropdown-menu" }, $s = ["href", "target"], zs = { key: 0 }, As = ["href"], Us = {
|
|
2260
2274
|
__name: "ScheduleTable",
|
|
2261
2275
|
props: {
|
|
2262
2276
|
rows: {
|
|
@@ -2304,8 +2318,8 @@ const us = { render: ds }, ms = { class: "is-team-name-long" }, ps = { class: "i
|
|
|
2304
2318
|
immediate: !0
|
|
2305
2319
|
}
|
|
2306
2320
|
);
|
|
2307
|
-
const { t: r } =
|
|
2308
|
-
return (c,
|
|
2321
|
+
const { t: r } = Z();
|
|
2322
|
+
return (c, g) => (v(), w(M, null, [
|
|
2309
2323
|
C(ue, null, {
|
|
2310
2324
|
default: T(({ el: d }) => [
|
|
2311
2325
|
C(ce, {
|
|
@@ -2314,89 +2328,89 @@ const us = { render: ds }, ms = { class: "is-team-name-long" }, ps = { class: "i
|
|
|
2314
2328
|
"is-loading": t.isLoading,
|
|
2315
2329
|
"append-to": o.value || d
|
|
2316
2330
|
}, {
|
|
2317
|
-
"cell-homeTeamName": T(({ row:
|
|
2318
|
-
b("span",
|
|
2319
|
-
b("span",
|
|
2331
|
+
"cell-homeTeamName": T(({ row: l }) => [
|
|
2332
|
+
b("span", fs, x(l.homeTeam.longName), 1),
|
|
2333
|
+
b("span", gs, x(l.homeTeam.shortName), 1)
|
|
2320
2334
|
]),
|
|
2321
|
-
"cell-awayTeamName": T(({ row:
|
|
2322
|
-
b("span",
|
|
2323
|
-
b("span",
|
|
2335
|
+
"cell-awayTeamName": T(({ row: l }) => [
|
|
2336
|
+
b("span", ys, x(l.awayTeam.longName), 1),
|
|
2337
|
+
b("span", vs, x(l.awayTeam.shortName), 1)
|
|
2324
2338
|
]),
|
|
2325
|
-
"cell-homeTeamLogo": T(({ row:
|
|
2326
|
-
(
|
|
2339
|
+
"cell-homeTeamLogo": T(({ row: l }) => [
|
|
2340
|
+
(v(), L(st, {
|
|
2327
2341
|
class: "is-logo-image is-right",
|
|
2328
|
-
key:
|
|
2329
|
-
src:
|
|
2342
|
+
key: l.homeTeam.id,
|
|
2343
|
+
src: l.homeTeam.logo
|
|
2330
2344
|
}, null, 8, ["src"]))
|
|
2331
2345
|
]),
|
|
2332
|
-
"cell-awayTeamLogo": T(({ row:
|
|
2333
|
-
(
|
|
2346
|
+
"cell-awayTeamLogo": T(({ row: l }) => [
|
|
2347
|
+
(v(), L(st, {
|
|
2334
2348
|
class: "is-logo-image is-right",
|
|
2335
|
-
key:
|
|
2336
|
-
src:
|
|
2349
|
+
key: l.awayTeam.id,
|
|
2350
|
+
src: l.awayTeam.logo
|
|
2337
2351
|
}, null, 8, ["src"]))
|
|
2338
2352
|
]),
|
|
2339
|
-
"cell-gameResult": T(({ row:
|
|
2340
|
-
|
|
2353
|
+
"cell-gameResult": T(({ row: l }) => [
|
|
2354
|
+
l.gameStatus === 0 ? (v(), w("span", bs, "-:-")) : (v(), w("a", {
|
|
2341
2355
|
key: 1,
|
|
2342
|
-
href: t.externalGameResolver(
|
|
2356
|
+
href: t.externalGameResolver(l.gameId),
|
|
2343
2357
|
target: t.externalGameResolverTarget,
|
|
2344
|
-
class:
|
|
2345
|
-
}, x(
|
|
2358
|
+
class: $({ "is-text-dark": l.gameStatus !== 1, "is-text-accent": l.gameStatus === 1 })
|
|
2359
|
+
}, x(l.homeTeamScore) + ":" + x(l.awayTeamScore), 11, ws))
|
|
2346
2360
|
]),
|
|
2347
|
-
"cell-gameResultType": T(({ row:
|
|
2348
|
-
|
|
2349
|
-
|
|
2350
|
-
|
|
2361
|
+
"cell-gameResultType": T(({ row: l }) => [
|
|
2362
|
+
l.isOvertime ? (v(), w("span", xs, x(m(r)("common.overtimeShort")), 1)) : P("", !0),
|
|
2363
|
+
l.isShootout ? (v(), w("span", ks, x(m(r)("common.shootoutShort")), 1)) : P("", !0),
|
|
2364
|
+
l.seriesStandings ? (v(), w("span", Ts, x(l.seriesStandings), 1)) : P("", !0)
|
|
2351
2365
|
]),
|
|
2352
|
-
"cell-broadcast": T(({ row:
|
|
2353
|
-
|
|
2366
|
+
"cell-broadcast": T(({ row: l }) => [
|
|
2367
|
+
l.broadcast ? (v(), L(m(Jn), { key: 0 })) : (v(), w("span", Ps))
|
|
2354
2368
|
]),
|
|
2355
|
-
"cell-location": T(({ row:
|
|
2369
|
+
"cell-location": T(({ row: l }) => {
|
|
2356
2370
|
var u;
|
|
2357
2371
|
return [
|
|
2358
|
-
O(x(((u =
|
|
2372
|
+
O(x(((u = l.location) == null ? void 0 : u.locationName) ?? ""), 1)
|
|
2359
2373
|
];
|
|
2360
2374
|
}),
|
|
2361
|
-
"cell-more": T(({ row:
|
|
2375
|
+
"cell-more": T(({ row: l }) => [
|
|
2362
2376
|
C(ie, {
|
|
2363
2377
|
offset: 2,
|
|
2364
2378
|
placement: "left",
|
|
2365
2379
|
theme: "content",
|
|
2366
2380
|
"append-to": d
|
|
2367
2381
|
}, {
|
|
2368
|
-
default: T(({ setRef: u, show: p, hide:
|
|
2382
|
+
default: T(({ setRef: u, show: p, hide: y }) => [
|
|
2369
2383
|
b("button", {
|
|
2370
2384
|
ref: u,
|
|
2371
2385
|
onClick: rt(p, ["stop"]),
|
|
2372
2386
|
onFocus: p,
|
|
2373
|
-
onBlur:
|
|
2387
|
+
onBlur: y
|
|
2374
2388
|
}, [
|
|
2375
|
-
C(m(
|
|
2376
|
-
], 40,
|
|
2389
|
+
C(m(os))
|
|
2390
|
+
], 40, Ss)
|
|
2377
2391
|
]),
|
|
2378
2392
|
content: T(() => [
|
|
2379
|
-
b("ul",
|
|
2393
|
+
b("ul", _s, [
|
|
2380
2394
|
b("li", null, [
|
|
2381
2395
|
b("a", {
|
|
2382
|
-
href: t.externalGameResolver(
|
|
2396
|
+
href: t.externalGameResolver(l.gameId),
|
|
2383
2397
|
class: "is-dropdown-item",
|
|
2384
2398
|
target: t.externalGameResolverTarget
|
|
2385
2399
|
}, [
|
|
2386
|
-
C(m(
|
|
2400
|
+
C(m(is), { width: "14" }),
|
|
2387
2401
|
O(" " + x(m(r)("common.report")), 1)
|
|
2388
|
-
], 8,
|
|
2402
|
+
], 8, $s)
|
|
2389
2403
|
]),
|
|
2390
|
-
|
|
2404
|
+
l.video ? (v(), w("li", zs, [
|
|
2391
2405
|
b("a", {
|
|
2392
|
-
href:
|
|
2406
|
+
href: l.video,
|
|
2393
2407
|
class: "is-dropdown-item",
|
|
2394
2408
|
target: "_blank"
|
|
2395
2409
|
}, [
|
|
2396
|
-
C(m(
|
|
2410
|
+
C(m(hs), { width: "14" }),
|
|
2397
2411
|
O(" " + x(m(r)("common.video")), 1)
|
|
2398
|
-
], 8,
|
|
2399
|
-
])) :
|
|
2412
|
+
], 8, As)
|
|
2413
|
+
])) : P("", !0)
|
|
2400
2414
|
])
|
|
2401
2415
|
]),
|
|
2402
2416
|
_: 2
|
|
@@ -2416,7 +2430,7 @@ const us = { render: ds }, ms = { class: "is-team-name-long" }, ps = { class: "i
|
|
|
2416
2430
|
}, null, 512)
|
|
2417
2431
|
], 64));
|
|
2418
2432
|
}
|
|
2419
|
-
},
|
|
2433
|
+
}, Gs = { class: "g-row g-gap-normal is-mb-5" }, Cs = ["value"], Es = { key: 0 }, Ls = ["onClick"], qs = {
|
|
2420
2434
|
__name: "SeasonSelector",
|
|
2421
2435
|
props: {
|
|
2422
2436
|
seasons: {
|
|
@@ -2442,7 +2456,7 @@ const us = { render: ds }, ms = { class: "is-team-name-long" }, ps = { class: "i
|
|
|
2442
2456
|
},
|
|
2443
2457
|
emits: ["onChangeSeason", "onChangeSection"],
|
|
2444
2458
|
setup(t, { emit: e }) {
|
|
2445
|
-
const o = t, n = e, { t: a } =
|
|
2459
|
+
const o = t, n = e, { t: a } = Z(), s = A({
|
|
2446
2460
|
get() {
|
|
2447
2461
|
return o.championshipId;
|
|
2448
2462
|
},
|
|
@@ -2453,39 +2467,39 @@ const us = { render: ds }, ms = { class: "is-team-name-long" }, ps = { class: "i
|
|
|
2453
2467
|
function r(c) {
|
|
2454
2468
|
n("onChangeSection", c);
|
|
2455
2469
|
}
|
|
2456
|
-
return (c,
|
|
2457
|
-
b("div",
|
|
2470
|
+
return (c, g) => (v(), w(M, null, [
|
|
2471
|
+
b("div", Gs, [
|
|
2458
2472
|
b("div", null, [
|
|
2459
2473
|
b("label", {
|
|
2460
2474
|
for: "season",
|
|
2461
|
-
class:
|
|
2475
|
+
class: $(m(J)("label"))
|
|
2462
2476
|
}, x(m(a)("selection.season")), 3),
|
|
2463
2477
|
C(De, {
|
|
2464
2478
|
id: "season",
|
|
2465
2479
|
modelValue: s.value,
|
|
2466
|
-
"onUpdate:modelValue":
|
|
2480
|
+
"onUpdate:modelValue": g[0] || (g[0] = (d) => s.value = d)
|
|
2467
2481
|
}, {
|
|
2468
2482
|
default: T(() => [
|
|
2469
|
-
(
|
|
2483
|
+
(v(!0), w(M, null, et(t.seasons, (d) => (v(), w("option", {
|
|
2470
2484
|
key: d.championshipId,
|
|
2471
2485
|
value: d.championshipId
|
|
2472
|
-
}, x(d.seasonName), 9,
|
|
2486
|
+
}, x(d.seasonName), 9, Cs))), 128))
|
|
2473
2487
|
]),
|
|
2474
2488
|
_: 1
|
|
2475
2489
|
}, 8, ["modelValue"])
|
|
2476
2490
|
]),
|
|
2477
2491
|
I(c.$slots, "default")
|
|
2478
2492
|
]),
|
|
2479
|
-
t.isSectionSelectionDisabled ?
|
|
2480
|
-
(
|
|
2493
|
+
t.isSectionSelectionDisabled ? P("", !0) : (v(), w("div", Es, [
|
|
2494
|
+
(v(!0), w(M, null, et(t.sections, (d) => (v(), w("button", {
|
|
2481
2495
|
key: d.phaseId,
|
|
2482
|
-
onClick: (
|
|
2483
|
-
class:
|
|
2484
|
-
}, x(d.sectionName), 11,
|
|
2496
|
+
onClick: (l) => r(d),
|
|
2497
|
+
class: $([m(J)("tab-button"), { "is-active": d.sectionId === t.sectionId }])
|
|
2498
|
+
}, x(d.sectionName), 11, Ls))), 128))
|
|
2485
2499
|
]))
|
|
2486
2500
|
], 64));
|
|
2487
2501
|
}
|
|
2488
|
-
},
|
|
2502
|
+
}, Is = ["textContent"], Js = {
|
|
2489
2503
|
__name: "AdditionalStandingsText",
|
|
2490
2504
|
props: {
|
|
2491
2505
|
rows: {
|
|
@@ -2498,28 +2512,28 @@ const us = { render: ds }, ms = { class: "is-team-name-long" }, ps = { class: "i
|
|
|
2498
2512
|
}
|
|
2499
2513
|
},
|
|
2500
2514
|
setup(t) {
|
|
2501
|
-
const e = t, o = xe(e, "rows"), { t: n, locale: a } =
|
|
2502
|
-
return (c,
|
|
2515
|
+
const e = t, o = xe(e, "rows"), { t: n, locale: a } = Z(), { isVisible: s, text: r } = Ge(o, e.additionalKey, n, a);
|
|
2516
|
+
return (c, g) => m(s) ? (v(), w("div", {
|
|
2503
2517
|
key: 0,
|
|
2504
2518
|
class: "is-text-xs is-text-light is-mt-5 is-mb-5",
|
|
2505
2519
|
textContent: x(m(r))
|
|
2506
|
-
}, null, 8,
|
|
2520
|
+
}, null, 8, Is)) : P("", !0);
|
|
2507
2521
|
}
|
|
2508
2522
|
};
|
|
2509
2523
|
export {
|
|
2510
|
-
|
|
2524
|
+
Fs as I,
|
|
2511
2525
|
st as _,
|
|
2512
|
-
|
|
2526
|
+
js as a,
|
|
2513
2527
|
ce as b,
|
|
2514
2528
|
De as c,
|
|
2515
|
-
|
|
2516
|
-
|
|
2517
|
-
|
|
2529
|
+
Hs as d,
|
|
2530
|
+
Bs as e,
|
|
2531
|
+
Us as f,
|
|
2518
2532
|
ie as g,
|
|
2519
|
-
|
|
2520
|
-
|
|
2533
|
+
qs as h,
|
|
2534
|
+
Ks as i,
|
|
2521
2535
|
ue as j,
|
|
2522
2536
|
de as k,
|
|
2523
|
-
|
|
2524
|
-
|
|
2537
|
+
Ws as l,
|
|
2538
|
+
Js as m
|
|
2525
2539
|
};
|