@golstats/gsc-table-scrollable 1.0.15 → 1.0.17
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.
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { useCssVars as
|
|
2
|
-
const
|
|
1
|
+
import { useCssVars as rt, ref as C, computed as I, watch as F, createElementBlock as a, openBlock as n, normalizeClass as y, createElementVNode as t, createCommentVNode as x, normalizeStyle as B, Fragment as O, toDisplayString as v, pushScopeId as H, popScopeId as N, onMounted as dt, renderList as z, onBeforeUnmount as wt, createVNode as st, createBlock as it, Transition as kt, withCtx as bt, withDirectives as yt, createTextVNode as D, vShow as xt, unref as lt } from "vue";
|
|
2
|
+
const St = (s, c) => {
|
|
3
3
|
const i = s.__vccOpts || s;
|
|
4
|
-
for (const [
|
|
5
|
-
i[
|
|
4
|
+
for (const [u, g] of c)
|
|
5
|
+
i[u] = g;
|
|
6
6
|
return i;
|
|
7
|
-
},
|
|
7
|
+
}, Mt = { key: 1 }, Lt = {
|
|
8
8
|
width: "10",
|
|
9
9
|
height: "8",
|
|
10
10
|
viewBox: "0 0 10 8",
|
|
11
11
|
fill: "none",
|
|
12
12
|
xmlns: "http://www.w3.org/2000/svg"
|
|
13
|
-
},
|
|
13
|
+
}, $t = ["fill"], Bt = {
|
|
14
14
|
key: 0,
|
|
15
15
|
class: "checkbox__teams"
|
|
16
|
-
},
|
|
16
|
+
}, Rt = { class: "checkbox__teams__logo" }, Et = ["src"], Pt = { class: "checkbox__teams__logo" }, Tt = ["src"], It = {
|
|
17
17
|
__name: "GSC-Checkbox",
|
|
18
18
|
props: {
|
|
19
19
|
width: {
|
|
@@ -122,14 +122,14 @@ const xt = (s, u) => {
|
|
|
122
122
|
}
|
|
123
123
|
},
|
|
124
124
|
emits: ["update:modelValue"],
|
|
125
|
-
setup(s, { emit:
|
|
125
|
+
setup(s, { emit: c }) {
|
|
126
126
|
const i = s;
|
|
127
|
-
|
|
127
|
+
rt((_) => ({
|
|
128
128
|
"7bd9d47b": s.width,
|
|
129
129
|
"34dc7ddc": s.height
|
|
130
130
|
}));
|
|
131
|
-
const
|
|
132
|
-
const
|
|
131
|
+
const u = C(!1), g = I(() => {
|
|
132
|
+
const _ = {
|
|
133
133
|
color: i.boxValueColor,
|
|
134
134
|
"font-family": i.fontFamily,
|
|
135
135
|
height: i.boxWidthAndHeight,
|
|
@@ -138,84 +138,84 @@ const xt = (s, u) => {
|
|
|
138
138
|
"border-radius": i.boxBorderRadius,
|
|
139
139
|
"margin-top": i.boxMarginTop
|
|
140
140
|
};
|
|
141
|
-
return
|
|
142
|
-
}), m =
|
|
141
|
+
return u.value ? (_["background-color"] = i.boxBackgroundColor, _.border = `solid ${i.boxBorderWidth} ${i.boxBackgroundColor}`) : _.border = `solid ${i.boxBorderWidth} ${i.boxBorderColor}`, _;
|
|
142
|
+
}), m = I(() => ({
|
|
143
143
|
"font-family": i.boxValueFontFamily,
|
|
144
144
|
"font-size": i.boxValueFontSize,
|
|
145
145
|
color: i.boxValueColor,
|
|
146
146
|
"line-height": 1
|
|
147
|
-
})), S =
|
|
148
|
-
const
|
|
147
|
+
})), S = I(() => {
|
|
148
|
+
const _ = {
|
|
149
149
|
color: i.labelColor,
|
|
150
150
|
"font-family": i.fontFamily,
|
|
151
151
|
"font-size": i.labelFontSize,
|
|
152
152
|
"white-space": i.labelWhiteSpace,
|
|
153
153
|
"text-align": i.boxPosition === "top" || i.boxPosition === "bottom" ? "center" : i.boxPosition
|
|
154
154
|
};
|
|
155
|
-
return (i.boxPosition === "left" || i.boxPosition === "right") && (
|
|
155
|
+
return (i.boxPosition === "left" || i.boxPosition === "right") && (_[`margin-${i.boxPosition}`] = i.isBoxOnly ? "0" : i.teamsIds ? "8px" : "10px"), _;
|
|
156
156
|
});
|
|
157
|
-
|
|
157
|
+
F(
|
|
158
158
|
() => i.modelValue,
|
|
159
|
-
(
|
|
160
|
-
|
|
159
|
+
(_) => {
|
|
160
|
+
_ !== u.value && (u.value = _);
|
|
161
161
|
},
|
|
162
162
|
{ immediate: !0 }
|
|
163
163
|
);
|
|
164
164
|
function R() {
|
|
165
|
-
i.avoidInteraction || !
|
|
165
|
+
i.avoidInteraction || !u.value && i.avoidToCheck || (u.value = !u.value, c("update:modelValue", u.value));
|
|
166
166
|
}
|
|
167
|
-
function E(
|
|
168
|
-
return `${{}.TEAM_LOGOS_URL || "https://golstatsimages.blob.core.windows.net/teams-80/"}${
|
|
167
|
+
function E(_) {
|
|
168
|
+
return `${{}.TEAM_LOGOS_URL || "https://golstatsimages.blob.core.windows.net/teams-80/"}${_}.png`;
|
|
169
169
|
}
|
|
170
|
-
return (
|
|
170
|
+
return (_, P) => (n(), a("div", {
|
|
171
171
|
class: y(["checkbox", `box-${s.boxPosition}`]),
|
|
172
172
|
onClick: R
|
|
173
173
|
}, [
|
|
174
174
|
t("div", {
|
|
175
175
|
class: "checkbox__box",
|
|
176
|
-
style: B(
|
|
176
|
+
style: B(g.value)
|
|
177
177
|
}, [
|
|
178
|
-
|
|
179
|
-
i.boxValue ? (n(),
|
|
178
|
+
u.value ? (n(), a(O, { key: 0 }, [
|
|
179
|
+
i.boxValue ? (n(), a("div", {
|
|
180
180
|
key: 0,
|
|
181
181
|
class: "checkbox__box__value",
|
|
182
182
|
style: B(m.value)
|
|
183
|
-
},
|
|
184
|
-
(n(),
|
|
183
|
+
}, v(s.boxValue), 5)) : (n(), a("div", Mt, [
|
|
184
|
+
(n(), a("svg", Lt, [
|
|
185
185
|
t("path", {
|
|
186
186
|
d: "M9.77994 1.70133L4.10994 7.37133C3.96994 7.51133 3.77994 7.59133 3.57994 7.59133C3.37994 7.59133 3.18994 7.51133 3.04994 7.37133L0.219941 4.54133C-0.0700586 4.25133 -0.0700586 3.77133 0.219941 3.48133C0.509941 3.19133 0.989941 3.19133 1.27994 3.48133L3.57994 5.78133L8.71994 0.641328C9.00994 0.351328 9.48994 0.351328 9.77994 0.641328C10.0699 0.931328 10.0699 1.40133 9.77994 1.70133Z",
|
|
187
187
|
fill: s.boxValueColor
|
|
188
|
-
}, null, 8,
|
|
188
|
+
}, null, 8, $t)
|
|
189
189
|
]))
|
|
190
190
|
]))
|
|
191
|
-
], 64)) :
|
|
191
|
+
], 64)) : x("", !0)
|
|
192
192
|
], 4),
|
|
193
|
-
s.teamsIds && s.teamsIds.length ? (n(),
|
|
194
|
-
t("div",
|
|
193
|
+
s.teamsIds && s.teamsIds.length ? (n(), a("div", Bt, [
|
|
194
|
+
t("div", Rt, [
|
|
195
195
|
t("img", {
|
|
196
196
|
src: E(s.teamsIds[0]),
|
|
197
197
|
alt: ""
|
|
198
|
-
}, null, 8,
|
|
198
|
+
}, null, 8, Et)
|
|
199
199
|
]),
|
|
200
|
-
t("div",
|
|
200
|
+
t("div", Pt, [
|
|
201
201
|
t("img", {
|
|
202
202
|
src: E(s.teamsIds[1]),
|
|
203
203
|
alt: ""
|
|
204
|
-
}, null, 8,
|
|
204
|
+
}, null, 8, Tt)
|
|
205
205
|
])
|
|
206
|
-
])) :
|
|
206
|
+
])) : x("", !0),
|
|
207
207
|
t("div", {
|
|
208
208
|
class: "checkbox__label",
|
|
209
209
|
style: B(S.value)
|
|
210
|
-
},
|
|
210
|
+
}, v(s.label), 5)
|
|
211
211
|
], 2));
|
|
212
212
|
}
|
|
213
|
-
}, Ot = /* @__PURE__ */
|
|
213
|
+
}, Ot = /* @__PURE__ */ St(It, [["__scopeId", "data-v-b6f124d8"]]), Vt = (s, c) => {
|
|
214
214
|
const i = s.__vccOpts || s;
|
|
215
|
-
for (const [
|
|
216
|
-
i[
|
|
215
|
+
for (const [u, g] of c)
|
|
216
|
+
i[u] = g;
|
|
217
217
|
return i;
|
|
218
|
-
},
|
|
218
|
+
}, G = {
|
|
219
219
|
props: {
|
|
220
220
|
type: { type: Number, default: 0 },
|
|
221
221
|
value: { type: Boolean, default: !1 },
|
|
@@ -289,8 +289,8 @@ const xt = (s, u) => {
|
|
|
289
289
|
this.$emit("click", s), this.typeOnOff && (this.status = !this.status, this.$emit("status", this.status));
|
|
290
290
|
}
|
|
291
291
|
}
|
|
292
|
-
},
|
|
293
|
-
|
|
292
|
+
}, nt = () => {
|
|
293
|
+
rt((s) => ({
|
|
294
294
|
"9d01acb4": s.height,
|
|
295
295
|
"14e95081": s.borderWidthBtn,
|
|
296
296
|
"38fec285": s.borderType,
|
|
@@ -305,59 +305,59 @@ const xt = (s, u) => {
|
|
|
305
305
|
"93b87770": s.marginLeftStat,
|
|
306
306
|
c7f7beba: s.fontSizeStat
|
|
307
307
|
}));
|
|
308
|
-
},
|
|
309
|
-
|
|
310
|
-
const
|
|
308
|
+
}, at = G.setup;
|
|
309
|
+
G.setup = at ? (s, c) => (nt(), at(s, c)) : nt;
|
|
310
|
+
const Dt = (s) => (H("data-v-f3ee6b2b"), s = s(), N(), s), Ft = ["src"], zt = {
|
|
311
311
|
key: 1,
|
|
312
312
|
class: "text"
|
|
313
|
-
},
|
|
313
|
+
}, At = ["src"], jt = { class: "stats" }, Zt = /* @__PURE__ */ Dt(() => /* @__PURE__ */ t("img", {
|
|
314
314
|
class: "iconstats",
|
|
315
315
|
src: "https://golstatsimages.blob.core.windows.net/todoelfut/playdes.png"
|
|
316
|
-
}, null, -1)),
|
|
317
|
-
function
|
|
318
|
-
return n(),
|
|
319
|
-
i.type == 0 ? (n(),
|
|
316
|
+
}, null, -1)), Wt = { class: "numstats" }, Ht = { class: "leyend" };
|
|
317
|
+
function Nt(s, c, i, u, g, m) {
|
|
318
|
+
return n(), a("div", null, [
|
|
319
|
+
i.type == 0 ? (n(), a("div", {
|
|
320
320
|
key: 0,
|
|
321
|
-
class: y(["button",
|
|
322
|
-
style: B([m.customStyle,
|
|
323
|
-
onClick:
|
|
321
|
+
class: y(["button", g.status && i.typeOnOff && "button-active"]),
|
|
322
|
+
style: B([m.customStyle, g.status && i.typeOnOff && m.customActive]),
|
|
323
|
+
onClick: c[0] || (c[0] = (...S) => m.btnClick && m.btnClick(...S))
|
|
324
324
|
}, [
|
|
325
|
-
i.icon && i.iconPosition.toLowerCase() === "left" ? (n(),
|
|
325
|
+
i.icon && i.iconPosition.toLowerCase() === "left" ? (n(), a("img", {
|
|
326
326
|
key: 0,
|
|
327
327
|
class: "icon",
|
|
328
328
|
style: B({ width: i.iconSize }),
|
|
329
329
|
src: i.icon
|
|
330
|
-
}, null, 12,
|
|
331
|
-
i.textValue ? (n(),
|
|
332
|
-
i.icon && i.iconPosition.toLowerCase() === "right" ? (n(),
|
|
330
|
+
}, null, 12, Ft)) : x("", !0),
|
|
331
|
+
i.textValue ? (n(), a("div", zt, v(i.textValue), 1)) : x("", !0),
|
|
332
|
+
i.icon && i.iconPosition.toLowerCase() === "right" ? (n(), a("img", {
|
|
333
333
|
key: 2,
|
|
334
334
|
class: "icon",
|
|
335
335
|
style: B({ width: i.iconSize }),
|
|
336
336
|
src: i.icon
|
|
337
|
-
}, null, 12,
|
|
338
|
-
], 6)) :
|
|
339
|
-
i.type == 1 ? (n(),
|
|
337
|
+
}, null, 12, At)) : x("", !0)
|
|
338
|
+
], 6)) : x("", !0),
|
|
339
|
+
i.type == 1 ? (n(), a("div", {
|
|
340
340
|
key: 1,
|
|
341
341
|
class: "button-target",
|
|
342
|
-
onClick:
|
|
342
|
+
onClick: c[1] || (c[1] = (...S) => m.btnClick && m.btnClick(...S))
|
|
343
343
|
}, [
|
|
344
344
|
t("div", jt, [
|
|
345
|
-
|
|
346
|
-
t("div",
|
|
345
|
+
Zt,
|
|
346
|
+
t("div", Wt, v(i.textStat), 1)
|
|
347
347
|
]),
|
|
348
|
-
t("div",
|
|
349
|
-
])) :
|
|
348
|
+
t("div", Ht, v(i.textCategory), 1)
|
|
349
|
+
])) : x("", !0)
|
|
350
350
|
]);
|
|
351
351
|
}
|
|
352
|
-
const
|
|
352
|
+
const Gt = /* @__PURE__ */ Vt(G, [["render", Nt], ["__scopeId", "data-v-f3ee6b2b"]]), ct = (s, c) => {
|
|
353
353
|
const i = s.__vccOpts || s;
|
|
354
|
-
for (const [
|
|
355
|
-
i[
|
|
354
|
+
for (const [u, g] of c)
|
|
355
|
+
i[u] = g;
|
|
356
356
|
return i;
|
|
357
|
-
},
|
|
357
|
+
}, U = (s) => (H("data-v-df83603b"), s = s(), N(), s), Ut = {
|
|
358
358
|
key: 0,
|
|
359
359
|
class: "overlay"
|
|
360
|
-
},
|
|
360
|
+
}, qt = ["onClick"], Jt = /* @__PURE__ */ U(() => /* @__PURE__ */ t("svg", {
|
|
361
361
|
width: "11",
|
|
362
362
|
height: "12",
|
|
363
363
|
viewBox: "0 0 11 12",
|
|
@@ -368,9 +368,9 @@ const Nt = /* @__PURE__ */ Tt(N, [["render", Ht], ["__scopeId", "data-v-f3ee6b2b
|
|
|
368
368
|
d: "M7.50558 0C6.78112 0 6.10558 0.475441 5.89478 1.14401L1.21987 1.14286C0.904267 1.14286 0.648438 1.39886 0.648438 1.71429C0.648438 2.02972 0.904267 2.28572 1.21987 2.28572L5.89478 2.28516C6.15083 2.98516 6.78112 3.42858 7.50558 3.42858C8.23004 3.42858 8.86678 2.98402 9.1273 2.28059L10.3627 2.28572C10.6783 2.28572 10.9342 2.02972 10.9342 1.71429C10.9342 1.39886 10.6783 1.14286 10.3627 1.14286H9.12244C8.8473 0.446287 8.23004 0 7.50558 0ZM7.50558 1.14286C7.82118 1.14286 8.07701 1.39886 8.07701 1.71429C8.07701 2.02972 7.82118 2.28572 7.50558 2.28572C7.18998 2.28572 6.93415 2.02972 6.93415 1.71429C6.93415 1.39886 7.18998 1.14286 7.50558 1.14286ZM4.07701 4.28572C3.32387 4.28572 2.69347 4.7543 2.4633 5.42971C2.38295 5.43485 1.21987 5.42856 1.21987 5.42856C0.904267 5.42856 0.648438 5.68456 0.648438 5.99999C0.648438 6.31542 0.904267 6.57142 1.21987 6.57142C1.21987 6.57142 2.39267 6.55942 2.46575 6.56685C2.69593 7.24228 3.32387 7.71428 4.07701 7.71428C4.80146 7.71428 5.42226 7.27028 5.69381 6.57314L10.3627 6.57142C10.6783 6.57142 10.9342 6.31542 10.9342 5.99999C10.9342 5.68456 10.6783 5.42856 10.3627 5.42856L5.69083 5.42348C5.44038 4.74174 4.80146 4.28572 4.07701 4.28572ZM4.07701 5.42856C4.39261 5.42856 4.64844 5.68456 4.64844 5.99999C4.64844 6.31542 4.39261 6.57142 4.07701 6.57142C3.76141 6.57142 3.50558 6.31542 3.50558 5.99999C3.50558 5.68456 3.76141 5.42856 4.07701 5.42856ZM7.50558 8.57142C6.78112 8.57142 6.11844 9.04857 5.89438 9.70857L1.21987 9.71428C0.904267 9.71428 0.648438 9.97028 0.648438 10.2857C0.648438 10.6011 0.904267 10.8571 1.21987 10.8571L5.88592 10.8577C6.12301 11.5349 6.78112 12 7.50558 12C8.23004 12 8.85467 11.5469 9.12987 10.8577L10.3627 10.8571C10.6783 10.8571 10.9342 10.6011 10.9342 10.2857C10.9342 9.97028 10.6783 9.71428 10.3627 9.71428L9.12467 9.71091C8.87798 9.03491 8.23004 8.57142 7.50558 8.57142ZM7.50558 9.71428C7.82118 9.71428 8.07701 9.97028 8.07701 10.2857C8.07701 10.6011 7.82118 10.8571 7.50558 10.8571C7.18998 10.8571 6.93415 10.6011 6.93415 10.2857C6.93415 9.97028 7.18998 9.71428 7.50558 9.71428Z",
|
|
369
369
|
fill: "white"
|
|
370
370
|
})
|
|
371
|
-
], -1)),
|
|
372
|
-
|
|
373
|
-
],
|
|
371
|
+
], -1)), Xt = [
|
|
372
|
+
Jt
|
|
373
|
+
], Kt = { class: "name" }, Qt = ["onClick"], Yt = /* @__PURE__ */ U(() => /* @__PURE__ */ t("g", {
|
|
374
374
|
opacity: ".5",
|
|
375
375
|
stroke: "#fff",
|
|
376
376
|
"stroke-width": "1.677",
|
|
@@ -378,9 +378,9 @@ const Nt = /* @__PURE__ */ Tt(N, [["render", Ht], ["__scopeId", "data-v-f3ee6b2b
|
|
|
378
378
|
"stroke-linejoin": "round"
|
|
379
379
|
}, [
|
|
380
380
|
/* @__PURE__ */ t("path", { d: "M4.532 2.13v13.74M8.202 12.2l-3.67 3.669-3.669-3.67M12.919 15.87V2.132M16.589 5.802l-3.67-3.67-3.669 3.67" })
|
|
381
|
-
], -1)),
|
|
382
|
-
|
|
383
|
-
],
|
|
381
|
+
], -1)), te = [
|
|
382
|
+
Yt
|
|
383
|
+
], ee = /* @__PURE__ */ U(() => /* @__PURE__ */ t("div", { class: "column-title-2" }, null, -1)), oe = ["onClick"], se = {
|
|
384
384
|
__name: "ScrollColumns",
|
|
385
385
|
props: {
|
|
386
386
|
availablePlayers: {
|
|
@@ -393,98 +393,98 @@ const Nt = /* @__PURE__ */ Tt(N, [["render", Ht], ["__scopeId", "data-v-f3ee6b2b
|
|
|
393
393
|
}
|
|
394
394
|
},
|
|
395
395
|
emits: ["expand", "open-media", "click-parameters", "sort"],
|
|
396
|
-
setup(s, { expose:
|
|
397
|
-
const
|
|
398
|
-
|
|
399
|
-
const R =
|
|
400
|
-
const
|
|
401
|
-
return
|
|
402
|
-
}), E =
|
|
403
|
-
const
|
|
404
|
-
let
|
|
405
|
-
return S.value > 0 && document.querySelectorAll(".column-title-2").forEach((
|
|
406
|
-
|
|
396
|
+
setup(s, { expose: c, emit: i }) {
|
|
397
|
+
const u = s, g = C(null), m = C(null), S = C(0);
|
|
398
|
+
C(!1);
|
|
399
|
+
const R = I(() => {
|
|
400
|
+
const f = u.availablePlayers[0];
|
|
401
|
+
return f ? f.stats : [];
|
|
402
|
+
}), E = I(() => {
|
|
403
|
+
const f = `repeat(${R.value.length}, max-content) 36px`;
|
|
404
|
+
let h = "";
|
|
405
|
+
return S.value > 0 && document.querySelectorAll(".column-title-2").forEach(($) => {
|
|
406
|
+
h += `${$.offsetWidth}px `;
|
|
407
407
|
}), {
|
|
408
|
-
"--grid-template-columns":
|
|
409
|
-
"--grid-template-columns-totals":
|
|
408
|
+
"--grid-template-columns": f,
|
|
409
|
+
"--grid-template-columns-totals": h || f
|
|
410
410
|
};
|
|
411
411
|
});
|
|
412
|
-
function
|
|
413
|
-
|
|
414
|
-
for (const
|
|
415
|
-
const { width:
|
|
416
|
-
S.value =
|
|
412
|
+
function _() {
|
|
413
|
+
g.value = new ResizeObserver((f) => {
|
|
414
|
+
for (const h of f) {
|
|
415
|
+
const { width: p } = h.contentRect;
|
|
416
|
+
S.value = p;
|
|
417
417
|
}
|
|
418
|
-
}),
|
|
418
|
+
}), g.value.observe(m.value);
|
|
419
419
|
}
|
|
420
|
-
function
|
|
421
|
-
const
|
|
422
|
-
|
|
420
|
+
function P(f, h) {
|
|
421
|
+
const $ = document.querySelectorAll(".scrollable-row-totals")[f + 1];
|
|
422
|
+
$ && ($.style.marginTop = `${h}px`);
|
|
423
423
|
}
|
|
424
|
-
function
|
|
425
|
-
!
|
|
424
|
+
function A({ player: f, stat: h }) {
|
|
425
|
+
!h.total || h === "0%" || !h.seasons || !h.seasons.length || i("open-media", { ...f, stat: h });
|
|
426
426
|
}
|
|
427
|
-
function
|
|
428
|
-
!
|
|
427
|
+
function V(f) {
|
|
428
|
+
!f || f === "no" || i("click-parameters", f);
|
|
429
429
|
}
|
|
430
|
-
function
|
|
431
|
-
i("sort",
|
|
430
|
+
function b(f) {
|
|
431
|
+
i("sort", f);
|
|
432
432
|
}
|
|
433
|
-
return
|
|
434
|
-
|
|
435
|
-
}),
|
|
436
|
-
setMarginTopDetails:
|
|
437
|
-
}), (
|
|
433
|
+
return dt(() => {
|
|
434
|
+
_();
|
|
435
|
+
}), c({
|
|
436
|
+
setMarginTopDetails: P
|
|
437
|
+
}), (f, h) => (n(), a("div", {
|
|
438
438
|
class: "scroll-columns",
|
|
439
439
|
style: B(E.value)
|
|
440
440
|
}, [
|
|
441
|
-
s.isEditMode ? (n(),
|
|
441
|
+
s.isEditMode ? (n(), a("div", Ut)) : x("", !0),
|
|
442
442
|
t("div", {
|
|
443
443
|
ref_key: "titlesRow",
|
|
444
444
|
ref: m,
|
|
445
445
|
class: "scrollable-row-2"
|
|
446
446
|
}, [
|
|
447
|
-
(n(!0),
|
|
448
|
-
key: `t-${
|
|
447
|
+
(n(!0), a(O, null, z(R.value, (p, $) => (n(), a("div", {
|
|
448
|
+
key: `t-${$}`,
|
|
449
449
|
class: "column-title-2"
|
|
450
450
|
}, [
|
|
451
|
-
|
|
451
|
+
p.parameters && p.parameters !== "no" ? (n(), a("div", {
|
|
452
452
|
key: 0,
|
|
453
453
|
class: "parameters",
|
|
454
454
|
role: "button",
|
|
455
|
-
onClick: (
|
|
456
|
-
},
|
|
457
|
-
t("div",
|
|
458
|
-
(n(),
|
|
455
|
+
onClick: (M) => V(p.parameters)
|
|
456
|
+
}, Xt, 8, qt)) : x("", !0),
|
|
457
|
+
t("div", Kt, v(p.name), 1),
|
|
458
|
+
(n(), a("svg", {
|
|
459
459
|
width: "18",
|
|
460
460
|
height: "18",
|
|
461
461
|
viewBox: "0 0 18 18",
|
|
462
462
|
fill: "none",
|
|
463
463
|
xmlns: "http://www.w3.org/2000/svg",
|
|
464
|
-
onClick: (
|
|
465
|
-
},
|
|
464
|
+
onClick: (M) => b(p)
|
|
465
|
+
}, te, 8, Qt))
|
|
466
466
|
]))), 128)),
|
|
467
|
-
|
|
467
|
+
ee
|
|
468
468
|
], 512),
|
|
469
|
-
(n(!0),
|
|
470
|
-
key: `i-${
|
|
469
|
+
(n(!0), a(O, null, z(s.availablePlayers, (p, $) => (n(), a("div", {
|
|
470
|
+
key: `i-${p.id}`,
|
|
471
471
|
class: "row scrollable-row-totals"
|
|
472
472
|
}, [
|
|
473
|
-
(n(!0),
|
|
474
|
-
key:
|
|
475
|
-
class: y(["row data-info", { odd:
|
|
473
|
+
(n(!0), a(O, null, z(p.stats, (M) => (n(), a("div", {
|
|
474
|
+
key: M.category_id,
|
|
475
|
+
class: y(["row data-info", { odd: $ % 2 !== 0, underline: !!M.total && M.total !== "0%" && M.seasons && M.seasons.length }])
|
|
476
476
|
}, [
|
|
477
477
|
t("span", {
|
|
478
|
-
onClick: (
|
|
479
|
-
},
|
|
478
|
+
onClick: (j) => A({ player: p, stat: M })
|
|
479
|
+
}, v(M.total), 9, oe)
|
|
480
480
|
], 2))), 128))
|
|
481
481
|
]))), 128))
|
|
482
482
|
], 4));
|
|
483
483
|
}
|
|
484
|
-
},
|
|
484
|
+
}, ie = /* @__PURE__ */ ct(se, [["__scopeId", "data-v-df83603b"]]), d = (s) => (H("data-v-2fd6c119"), s = s(), N(), s), le = { class: "table__static-column" }, ne = { class: "static-title column-title restore" }, ae = /* @__PURE__ */ d(() => /* @__PURE__ */ t("div", { class: "titles-left" }, [
|
|
485
485
|
/* @__PURE__ */ t("div", { class: "title" }, "Ranking"),
|
|
486
486
|
/* @__PURE__ */ t("div", { class: "title" }, "Agregar a lista")
|
|
487
|
-
], -1)),
|
|
487
|
+
], -1)), re = /* @__PURE__ */ d(() => /* @__PURE__ */ t("svg", {
|
|
488
488
|
width: "16",
|
|
489
489
|
height: "16",
|
|
490
490
|
viewBox: "0 0 16 16",
|
|
@@ -501,10 +501,10 @@ const Nt = /* @__PURE__ */ Tt(N, [["render", Ht], ["__scopeId", "data-v-f3ee6b2b
|
|
|
501
501
|
/* @__PURE__ */ t("path", { d: "M15.333 2.667v4h-4M.667 13.333v-4h4" }),
|
|
502
502
|
/* @__PURE__ */ t("path", { d: "M2.34 6a6 6 0 0 1 9.9-2.24l3.094 2.906M.667 9.333l3.093 2.906a6 6 0 0 0 9.9-2.24" })
|
|
503
503
|
])
|
|
504
|
-
], -1)),
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
],
|
|
504
|
+
], -1)), de = /* @__PURE__ */ d(() => /* @__PURE__ */ t("div", null, "Restaurar orden", -1)), ce = [
|
|
505
|
+
re,
|
|
506
|
+
de
|
|
507
|
+
], ue = ["id"], fe = { class: "container" }, he = { class: "details-row__info" }, ve = { class: "details-row__info__personal" }, pe = { class: "bold" }, _e = { class: "bold" }, ge = { class: "bold" }, me = { class: "bold" }, Ce = { class: "details-row__info__games" }, we = { class: "bold" }, ke = { class: "bold" }, be = ["onClick"], ye = /* @__PURE__ */ d(() => /* @__PURE__ */ t("div", null, "Ver gráfica", -1)), xe = /* @__PURE__ */ d(() => /* @__PURE__ */ t("svg", {
|
|
508
508
|
width: "17",
|
|
509
509
|
height: "16",
|
|
510
510
|
viewBox: "0 0 17 16",
|
|
@@ -527,10 +527,10 @@ const Nt = /* @__PURE__ */ Tt(N, [["render", Ht], ["__scopeId", "data-v-f3ee6b2b
|
|
|
527
527
|
})
|
|
528
528
|
])
|
|
529
529
|
])
|
|
530
|
-
], -1)),
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
],
|
|
530
|
+
], -1)), Se = [
|
|
531
|
+
ye,
|
|
532
|
+
xe
|
|
533
|
+
], Me = ["onClick"], Le = /* @__PURE__ */ d(() => /* @__PURE__ */ t("div", null, "Eliminar de lista", -1)), $e = /* @__PURE__ */ d(() => /* @__PURE__ */ t("svg", {
|
|
534
534
|
width: "17",
|
|
535
535
|
height: "15",
|
|
536
536
|
viewBox: "0 0 20 18",
|
|
@@ -561,10 +561,10 @@ const Nt = /* @__PURE__ */ Tt(N, [["render", Ht], ["__scopeId", "data-v-f3ee6b2b
|
|
|
561
561
|
"stroke-linecap": "round",
|
|
562
562
|
"stroke-linejoin": "round"
|
|
563
563
|
})
|
|
564
|
-
], -1)),
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
],
|
|
564
|
+
], -1)), Be = [
|
|
565
|
+
Le,
|
|
566
|
+
$e
|
|
567
|
+
], Re = ["onClick"], Ee = /* @__PURE__ */ d(() => /* @__PURE__ */ t("div", null, "Agregar a lista", -1)), Pe = /* @__PURE__ */ d(() => /* @__PURE__ */ t("svg", {
|
|
568
568
|
width: "20",
|
|
569
569
|
height: "20",
|
|
570
570
|
viewBox: "0 0 20 20",
|
|
@@ -595,12 +595,12 @@ const Nt = /* @__PURE__ */ Tt(N, [["render", Ht], ["__scopeId", "data-v-f3ee6b2b
|
|
|
595
595
|
"stroke-linecap": "round",
|
|
596
596
|
"stroke-linejoin": "round"
|
|
597
597
|
})
|
|
598
|
-
], -1)),
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
], Ie = ["onClick"], Oe = /* @__PURE__ */ d(() => /* @__PURE__ */ t("div", null, "Ver perfil", -1)),
|
|
598
|
+
], -1)), Te = [
|
|
599
|
+
Ee,
|
|
600
|
+
Pe
|
|
601
|
+
], Ie = ["onClick"], Oe = /* @__PURE__ */ d(() => /* @__PURE__ */ t("div", null, "Ver perfil", -1)), Ve = [
|
|
602
602
|
Oe
|
|
603
|
-
],
|
|
603
|
+
], De = { class: "static-row__info-player" }, Fe = { class: "position" }, ze = ["onClick"], Ae = /* @__PURE__ */ d(() => /* @__PURE__ */ t("path", {
|
|
604
604
|
d: "M13.3345 16.5001V14.8334C13.3345 13.9494 12.9833 13.1015 12.3582 12.4764C11.7331 11.8513 10.8852 11.5001 10.0012 11.5001H5.00126C4.11722 11.5001 3.26938 11.8513 2.64427 12.4764C2.01915 13.1015 1.66797 13.9494 1.66797 14.8334V16.5001",
|
|
605
605
|
stroke: "white",
|
|
606
606
|
"stroke-opacity": "0.5",
|
|
@@ -614,53 +614,53 @@ const Nt = /* @__PURE__ */ Tt(N, [["render", Ht], ["__scopeId", "data-v-f3ee6b2b
|
|
|
614
614
|
"stroke-width": "1.5",
|
|
615
615
|
"stroke-linecap": "round",
|
|
616
616
|
"stroke-linejoin": "round"
|
|
617
|
-
}, null, -1)),
|
|
617
|
+
}, null, -1)), Ze = /* @__PURE__ */ d(() => /* @__PURE__ */ t("path", {
|
|
618
618
|
d: "M18.332 8.16663H13.332",
|
|
619
619
|
stroke: "white",
|
|
620
620
|
"stroke-opacity": "0.5",
|
|
621
621
|
"stroke-width": "1.5",
|
|
622
622
|
"stroke-linecap": "round",
|
|
623
623
|
"stroke-linejoin": "round"
|
|
624
|
-
}, null, -1)),
|
|
625
|
-
|
|
624
|
+
}, null, -1)), We = [
|
|
625
|
+
Ae,
|
|
626
626
|
je,
|
|
627
|
-
|
|
628
|
-
],
|
|
627
|
+
Ze
|
|
628
|
+
], He = {
|
|
629
629
|
key: 1,
|
|
630
630
|
class: "add-to-list"
|
|
631
|
-
},
|
|
631
|
+
}, Ne = ["onClick"], Ge = /* @__PURE__ */ d(() => /* @__PURE__ */ t("path", {
|
|
632
632
|
d: "M13.2016 17.2012V15.601C13.2016 14.7522 12.8645 13.9381 12.2643 13.3379C11.664 12.7377 10.85 12.4005 10.0012 12.4005H5.20047C4.35165 12.4005 3.5376 12.7377 2.9374 13.3379C2.33719 13.9381 2 14.7522 2 15.601V17.2012",
|
|
633
633
|
stroke: "white",
|
|
634
634
|
"stroke-opacity": "1",
|
|
635
635
|
"stroke-width": "1.44023",
|
|
636
636
|
"stroke-linecap": "round",
|
|
637
637
|
"stroke-linejoin": "round"
|
|
638
|
-
}, null, -1)),
|
|
638
|
+
}, null, -1)), Ue = /* @__PURE__ */ d(() => /* @__PURE__ */ t("path", {
|
|
639
639
|
d: "M7.60086 9.19977C9.36843 9.19977 10.8013 7.76687 10.8013 5.9993C10.8013 4.23173 9.36843 2.79883 7.60086 2.79883C5.83329 2.79883 4.40039 4.23173 4.40039 5.9993C4.40039 7.76687 5.83329 9.19977 7.60086 9.19977Z",
|
|
640
640
|
stroke: "white",
|
|
641
641
|
"stroke-opacity": "1",
|
|
642
642
|
"stroke-width": "1.44023",
|
|
643
643
|
"stroke-linecap": "round",
|
|
644
644
|
"stroke-linejoin": "round"
|
|
645
|
-
}, null, -1)),
|
|
645
|
+
}, null, -1)), qe = /* @__PURE__ */ d(() => /* @__PURE__ */ t("path", {
|
|
646
646
|
d: "M15.5996 6.79944V11.6001M17.9999 9.19979H13.1992",
|
|
647
647
|
stroke: "white",
|
|
648
648
|
"stroke-opacity": "1",
|
|
649
649
|
"stroke-width": "1.44023",
|
|
650
650
|
"stroke-linecap": "round",
|
|
651
651
|
"stroke-linejoin": "round"
|
|
652
|
-
}, null, -1)),
|
|
653
|
-
Ne,
|
|
652
|
+
}, null, -1)), Je = [
|
|
654
653
|
Ge,
|
|
655
|
-
Ue
|
|
656
|
-
|
|
654
|
+
Ue,
|
|
655
|
+
qe
|
|
656
|
+
], Xe = { class: "player-photo" }, Ke = ["src"], Qe = { class: "player-name" }, Ye = { class: "arrow" }, to = ["onClick"], eo = /* @__PURE__ */ d(() => /* @__PURE__ */ t("path", {
|
|
657
657
|
"fill-rule": "evenodd",
|
|
658
658
|
"clip-rule": "evenodd",
|
|
659
659
|
d: "M6 4.93631L10.2929 1.23496C10.6834 0.898244 11.3166 0.898244 11.7071 1.23496C12.0976 1.57167 12.0976 2.11759 11.7071 2.4543L6.70711 6.76532C6.31658 7.10203 5.68342 7.10203 5.29289 6.76532L0.292893 2.4543C-0.0976311 2.11759 -0.0976311 1.57167 0.292893 1.23496C0.683418 0.898244 1.31658 0.898244 1.70711 1.23496L6 4.93631Z",
|
|
660
660
|
fill: "#D9D9D9"
|
|
661
|
-
}, null, -1)),
|
|
662
|
-
|
|
663
|
-
],
|
|
661
|
+
}, null, -1)), oo = [
|
|
662
|
+
eo
|
|
663
|
+
], so = { class: "titles scrollable-row" }, io = { class: "column-title" }, lo = /* @__PURE__ */ d(() => /* @__PURE__ */ t("div", null, " Equipo ", -1)), no = /* @__PURE__ */ d(() => /* @__PURE__ */ t("g", {
|
|
664
664
|
opacity: ".5",
|
|
665
665
|
stroke: "#fff",
|
|
666
666
|
"stroke-width": "1.677",
|
|
@@ -668,9 +668,9 @@ const Nt = /* @__PURE__ */ Tt(N, [["render", Ht], ["__scopeId", "data-v-f3ee6b2b
|
|
|
668
668
|
"stroke-linejoin": "round"
|
|
669
669
|
}, [
|
|
670
670
|
/* @__PURE__ */ t("path", { d: "M4.532 2.13v13.74M8.202 12.2l-3.67 3.669-3.669-3.67M12.919 15.87V2.132M16.589 5.802l-3.67-3.67-3.669 3.67" })
|
|
671
|
-
], -1)),
|
|
672
|
-
|
|
673
|
-
],
|
|
671
|
+
], -1)), ao = [
|
|
672
|
+
no
|
|
673
|
+
], ro = { class: "column-title" }, co = /* @__PURE__ */ d(() => /* @__PURE__ */ t("div", null, " Posición ", -1)), uo = /* @__PURE__ */ d(() => /* @__PURE__ */ t("g", {
|
|
674
674
|
opacity: ".5",
|
|
675
675
|
stroke: "#fff",
|
|
676
676
|
"stroke-width": "1.677",
|
|
@@ -678,9 +678,9 @@ const Nt = /* @__PURE__ */ Tt(N, [["render", Ht], ["__scopeId", "data-v-f3ee6b2b
|
|
|
678
678
|
"stroke-linejoin": "round"
|
|
679
679
|
}, [
|
|
680
680
|
/* @__PURE__ */ t("path", { d: "M4.532 2.13v13.74M8.202 12.2l-3.67 3.669-3.669-3.67M12.919 15.87V2.132M16.589 5.802l-3.67-3.67-3.669 3.67" })
|
|
681
|
-
], -1)),
|
|
682
|
-
|
|
683
|
-
],
|
|
681
|
+
], -1)), fo = [
|
|
682
|
+
uo
|
|
683
|
+
], ho = { class: "column-title" }, vo = /* @__PURE__ */ d(() => /* @__PURE__ */ t("div", null, " Edad ", -1)), po = /* @__PURE__ */ d(() => /* @__PURE__ */ t("g", {
|
|
684
684
|
opacity: ".5",
|
|
685
685
|
stroke: "#fff",
|
|
686
686
|
"stroke-width": "1.677",
|
|
@@ -688,9 +688,9 @@ const Nt = /* @__PURE__ */ Tt(N, [["render", Ht], ["__scopeId", "data-v-f3ee6b2b
|
|
|
688
688
|
"stroke-linejoin": "round"
|
|
689
689
|
}, [
|
|
690
690
|
/* @__PURE__ */ t("path", { d: "M4.532 2.13v13.74M8.202 12.2l-3.67 3.669-3.669-3.67M12.919 15.87V2.132M16.589 5.802l-3.67-3.67-3.669 3.67" })
|
|
691
|
-
], -1)),
|
|
692
|
-
|
|
693
|
-
],
|
|
691
|
+
], -1)), _o = [
|
|
692
|
+
po
|
|
693
|
+
], go = /* @__PURE__ */ d(() => /* @__PURE__ */ t("div", { class: "column-title" }, "País", -1)), mo = { class: "column-title" }, Co = /* @__PURE__ */ d(() => /* @__PURE__ */ t("div", null, " Partidos Jugados ", -1)), wo = /* @__PURE__ */ d(() => /* @__PURE__ */ t("g", {
|
|
694
694
|
opacity: ".5",
|
|
695
695
|
stroke: "#fff",
|
|
696
696
|
"stroke-width": "1.677",
|
|
@@ -699,8 +699,8 @@ const Nt = /* @__PURE__ */ Tt(N, [["render", Ht], ["__scopeId", "data-v-f3ee6b2b
|
|
|
699
699
|
}, [
|
|
700
700
|
/* @__PURE__ */ t("path", { d: "M4.532 2.13v13.74M8.202 12.2l-3.67 3.669-3.669-3.67M12.919 15.87V2.132M16.589 5.802l-3.67-3.67-3.669 3.67" })
|
|
701
701
|
], -1)), ko = [
|
|
702
|
-
|
|
703
|
-
],
|
|
702
|
+
wo
|
|
703
|
+
], bo = { class: "column-title" }, yo = /* @__PURE__ */ d(() => /* @__PURE__ */ t("div", null, " Minutos Jugados ", -1)), xo = /* @__PURE__ */ d(() => /* @__PURE__ */ t("g", {
|
|
704
704
|
opacity: ".5",
|
|
705
705
|
stroke: "#fff",
|
|
706
706
|
"stroke-width": "1.677",
|
|
@@ -708,9 +708,9 @@ const Nt = /* @__PURE__ */ Tt(N, [["render", Ht], ["__scopeId", "data-v-f3ee6b2b
|
|
|
708
708
|
"stroke-linejoin": "round"
|
|
709
709
|
}, [
|
|
710
710
|
/* @__PURE__ */ t("path", { d: "M4.532 2.13v13.74M8.202 12.2l-3.67 3.669-3.669-3.67M12.919 15.87V2.132M16.589 5.802l-3.67-3.67-3.669 3.67" })
|
|
711
|
-
], -1)),
|
|
712
|
-
|
|
713
|
-
],
|
|
711
|
+
], -1)), So = [
|
|
712
|
+
xo
|
|
713
|
+
], Mo = { class: "column-title" }, Lo = /* @__PURE__ */ d(() => /* @__PURE__ */ t("div", null, " Liga ", -1)), $o = /* @__PURE__ */ d(() => /* @__PURE__ */ t("g", {
|
|
714
714
|
opacity: ".5",
|
|
715
715
|
stroke: "#fff",
|
|
716
716
|
"stroke-width": "1.677",
|
|
@@ -718,9 +718,9 @@ const Nt = /* @__PURE__ */ Tt(N, [["render", Ht], ["__scopeId", "data-v-f3ee6b2b
|
|
|
718
718
|
"stroke-linejoin": "round"
|
|
719
719
|
}, [
|
|
720
720
|
/* @__PURE__ */ t("path", { d: "M4.532 2.13v13.74M8.202 12.2l-3.67 3.669-3.669-3.67M12.919 15.87V2.132M16.589 5.802l-3.67-3.67-3.669 3.67" })
|
|
721
|
-
], -1)),
|
|
722
|
-
|
|
723
|
-
],
|
|
721
|
+
], -1)), Bo = [
|
|
722
|
+
$o
|
|
723
|
+
], Ro = /* @__PURE__ */ d(() => /* @__PURE__ */ t("div", { class: "column-title" }, "Videos", -1)), Eo = { class: "team-logo" }, Po = ["src"], To = { class: "team-name data-info" }, Io = ["src"], Oo = {
|
|
724
724
|
__name: "GSC-TableScrollable",
|
|
725
725
|
props: {
|
|
726
726
|
players: {
|
|
@@ -738,6 +738,14 @@ const Nt = /* @__PURE__ */ Tt(N, [["render", Ht], ["__scopeId", "data-v-f3ee6b2b
|
|
|
738
738
|
isTableFromList: {
|
|
739
739
|
type: Boolean,
|
|
740
740
|
default: !1
|
|
741
|
+
},
|
|
742
|
+
isGraphButtonVisible: {
|
|
743
|
+
type: Boolean,
|
|
744
|
+
default: !0
|
|
745
|
+
},
|
|
746
|
+
isAddToListButtonVisible: {
|
|
747
|
+
type: Boolean,
|
|
748
|
+
default: !0
|
|
741
749
|
}
|
|
742
750
|
},
|
|
743
751
|
emits: [
|
|
@@ -748,12 +756,10 @@ const Nt = /* @__PURE__ */ Tt(N, [["render", Ht], ["__scopeId", "data-v-f3ee6b2b
|
|
|
748
756
|
"open-media",
|
|
749
757
|
"click-parameters"
|
|
750
758
|
],
|
|
751
|
-
setup(s, { emit:
|
|
759
|
+
setup(s, { emit: c }) {
|
|
752
760
|
const i = s;
|
|
753
|
-
let
|
|
754
|
-
const m =
|
|
755
|
-
g(!1);
|
|
756
|
-
const F = g(null), k = g(null), j = g(null), c = g([]), v = g([
|
|
761
|
+
let u = null, g = null;
|
|
762
|
+
const m = C([]), S = C(null), R = C(null), E = C(0), _ = C(0), P = C(-1), A = C(!1), V = C(null), b = C(null), f = C(null), h = C([]), p = C([
|
|
757
763
|
{
|
|
758
764
|
name: "team_abrev",
|
|
759
765
|
isDesc: !1,
|
|
@@ -784,79 +790,79 @@ const Nt = /* @__PURE__ */ Tt(N, [["render", Ht], ["__scopeId", "data-v-f3ee6b2b
|
|
|
784
790
|
isDesc: !1,
|
|
785
791
|
isRoot: !0
|
|
786
792
|
}
|
|
787
|
-
]),
|
|
793
|
+
]), $ = C(0), M = I(() => ({
|
|
788
794
|
"--width-details": `${E.value}px`,
|
|
789
|
-
"--gap-static-row": `${
|
|
790
|
-
"--width-static-column": `${
|
|
791
|
-
})),
|
|
792
|
-
|
|
795
|
+
"--gap-static-row": `${j.value ? "8px" : "18px"}`,
|
|
796
|
+
"--width-static-column": `${j.value ? "50%" : "436px"}`
|
|
797
|
+
})), j = I(() => E.value < 600);
|
|
798
|
+
F(
|
|
793
799
|
() => i.players,
|
|
794
800
|
(e) => {
|
|
795
801
|
e && e.length && (m.value = e.map((l, o) => {
|
|
796
|
-
const
|
|
802
|
+
const r = o + 1, w = {
|
|
797
803
|
...l,
|
|
798
|
-
position:
|
|
804
|
+
position: r < 10 ? `0${r}` : `${r}`,
|
|
799
805
|
isSelected: !1,
|
|
800
806
|
isExpanded: !1,
|
|
801
807
|
isOdd: o % 2 !== 0,
|
|
802
808
|
index: o
|
|
803
809
|
};
|
|
804
|
-
return l.stats && l.stats.length && (
|
|
805
|
-
...
|
|
810
|
+
return l.stats && l.stats.length && (w.stats = l.stats.map((k) => ({
|
|
811
|
+
...k,
|
|
806
812
|
isDesc: !1,
|
|
807
813
|
isRoot: !1
|
|
808
|
-
}))),
|
|
809
|
-
const
|
|
810
|
-
|
|
811
|
-
}),
|
|
812
|
-
}),
|
|
814
|
+
}))), w.parameters && Object.entries(w.parameters).forEach(([k, L]) => {
|
|
815
|
+
const ot = w.stats.find((Ct) => Ct.custom_category_id === Number(k));
|
|
816
|
+
ot && (ot.parameters = L);
|
|
817
|
+
}), w;
|
|
818
|
+
}), h.value = m.value.map((l) => ({
|
|
813
819
|
...l
|
|
814
820
|
})));
|
|
815
821
|
},
|
|
816
822
|
{ immediate: !0, deep: !0 }
|
|
817
|
-
),
|
|
823
|
+
), F(
|
|
818
824
|
() => i.isEditMode,
|
|
819
825
|
(e) => {
|
|
820
826
|
e && m.value.forEach((l) => {
|
|
821
827
|
l.isSelected = !1;
|
|
822
828
|
});
|
|
823
829
|
}
|
|
824
|
-
),
|
|
825
|
-
() =>
|
|
830
|
+
), F(
|
|
831
|
+
() => f.value,
|
|
826
832
|
(e) => {
|
|
827
833
|
if (e) {
|
|
828
|
-
let l = [...
|
|
829
|
-
e.isRoot ? l.sort((o,
|
|
830
|
-
const
|
|
831
|
-
return typeof
|
|
832
|
-
}), l.forEach((o,
|
|
833
|
-
o.isOdd =
|
|
834
|
-
}),
|
|
834
|
+
let l = [...h.value];
|
|
835
|
+
e.isRoot ? l.sort((o, r) => typeof o[e.name] == "string" ? e.isDesc ? o[e.name].localeCompare(r[e.name]) : o[e.name].localeCompare(r[e.name]) * -1 : e.isDesc ? r[e.name] - o[e.name] : o[e.name] - r[e.name]) : l.sort((o, r) => {
|
|
836
|
+
const w = o.stats.find((L) => L.name === e.name), k = r.stats.find((L) => L.name === e.name);
|
|
837
|
+
return typeof w.value == "string" ? e.isDesc ? w.total.localeCompare(k.total) : w.total.localeCompare(k.total) * -1 : e.isDesc ? k.total - w.total : w.total - k.total;
|
|
838
|
+
}), l.forEach((o, r) => {
|
|
839
|
+
o.isOdd = r % 2 !== 0;
|
|
840
|
+
}), h.value = l;
|
|
835
841
|
} else
|
|
836
|
-
|
|
842
|
+
h.value.sort((l, o) => l.index - o.index).forEach((l, o) => {
|
|
837
843
|
l.isOdd = o % 2 !== 0;
|
|
838
844
|
});
|
|
839
845
|
},
|
|
840
846
|
{ immediate: !0, deep: !0 }
|
|
841
|
-
),
|
|
842
|
-
|
|
847
|
+
), F(
|
|
848
|
+
_,
|
|
843
849
|
(e) => {
|
|
844
|
-
const o = document.querySelectorAll(".static-row")[
|
|
845
|
-
o && (o.style.marginTop = `${e}px`), i.isGeneral ?
|
|
850
|
+
const o = document.querySelectorAll(".static-row")[P.value + 1];
|
|
851
|
+
o && (o.style.marginTop = `${e}px`), i.isGeneral ? ut(P.value, e) : R.value && R.value.setMarginTopDetails(P.value, e), e === 0 && V.value && Q(V.value);
|
|
846
852
|
}
|
|
847
853
|
);
|
|
848
|
-
function
|
|
849
|
-
const
|
|
850
|
-
|
|
854
|
+
function ut(e, l) {
|
|
855
|
+
const r = document.querySelectorAll(".scrollable-row")[e + 2];
|
|
856
|
+
r && (r.style.marginTop = `${l}px`);
|
|
851
857
|
}
|
|
852
|
-
function
|
|
853
|
-
|
|
858
|
+
function ft(e) {
|
|
859
|
+
c("click-parameters", e);
|
|
854
860
|
}
|
|
855
|
-
function
|
|
856
|
-
e && (e.isDesc = !e.isDesc),
|
|
861
|
+
function T(e) {
|
|
862
|
+
e && (e.isDesc = !e.isDesc), f.value = e;
|
|
857
863
|
}
|
|
858
864
|
function q(e) {
|
|
859
|
-
const l = e.player || e.objeto_player, o = l ? l.player_id || l.id || l.playerId : e.id || e.player_id,
|
|
865
|
+
const l = e.player || e.objeto_player, o = l ? l.player_id || l.id || l.playerId : e.id || e.player_id, r = {
|
|
860
866
|
isFeaturedPlayers: !1,
|
|
861
867
|
mainSectionType: 1,
|
|
862
868
|
playListType: 2,
|
|
@@ -875,27 +881,27 @@ const Nt = /* @__PURE__ */ Tt(N, [["render", Ht], ["__scopeId", "data-v-f3ee6b2b
|
|
|
875
881
|
playListTitle: "Jugadas Relevantes"
|
|
876
882
|
}
|
|
877
883
|
};
|
|
878
|
-
if (e.stat && e.stat.parameters && (
|
|
879
|
-
const
|
|
884
|
+
if (e.stat && e.stat.parameters && (r.parameters = e.stat.parameters), e.stat && e.stat.seasons && e.stat.seasons.length || e.seasons && e.seasons.length) {
|
|
885
|
+
const w = [
|
|
880
886
|
...e.stat && e.stat.seasons && e.stat.seasons.length ? e.stat.seasons : e.seasons
|
|
881
887
|
];
|
|
882
|
-
|
|
883
|
-
} else (e.season_id || e.seasonId) && (
|
|
884
|
-
e.stat ? e.stat.category_id && e.stat.category_id.length ?
|
|
888
|
+
w.sort((k, L) => k - L), r.seasonId = w.shift(), r.seasonsIds = w;
|
|
889
|
+
} else (e.season_id || e.seasonId) && (r.seasonId = e.season_id || e.seasonId);
|
|
890
|
+
e.stat ? e.stat.category_id && e.stat.category_id.length ? r.categoryIds = e.stat.category_id : e.stat.custom_category_id && (r.customCategoryIds = [e.stat.custom_category_id]) : r.categoryIds = vt(e.player_position), c("open-media", r);
|
|
885
891
|
}
|
|
886
|
-
function
|
|
887
|
-
|
|
892
|
+
function ht() {
|
|
893
|
+
u = new ResizeObserver((e) => {
|
|
888
894
|
for (const l of e)
|
|
889
895
|
E.value = l.contentRect.width;
|
|
890
|
-
}),
|
|
896
|
+
}), u.observe(S.value);
|
|
891
897
|
}
|
|
892
|
-
function
|
|
893
|
-
|
|
898
|
+
function J(e) {
|
|
899
|
+
g = new ResizeObserver((l) => {
|
|
894
900
|
for (const o of l)
|
|
895
|
-
|
|
896
|
-
}),
|
|
901
|
+
_.value = o.contentRect.height;
|
|
902
|
+
}), g.observe(e);
|
|
897
903
|
}
|
|
898
|
-
function
|
|
904
|
+
function vt(e) {
|
|
899
905
|
return e === "POR" ? [39, 40, 52, 53, 54, 55, 323, 324, 608, 774, 802] : [
|
|
900
906
|
10,
|
|
901
907
|
12,
|
|
@@ -942,295 +948,304 @@ const Nt = /* @__PURE__ */ Tt(N, [["render", Ht], ["__scopeId", "data-v-f3ee6b2b
|
|
|
942
948
|
488
|
|
943
949
|
];
|
|
944
950
|
}
|
|
945
|
-
function
|
|
951
|
+
function pt(e, l) {
|
|
946
952
|
l.isSelected = e;
|
|
947
|
-
const o = m.value.filter((
|
|
948
|
-
|
|
949
|
-
}
|
|
950
|
-
function pt(e) {
|
|
951
|
-
u("view-profile", e);
|
|
953
|
+
const o = m.value.filter((r) => r.isSelected);
|
|
954
|
+
c("change-selected-players", o);
|
|
952
955
|
}
|
|
953
|
-
function
|
|
954
|
-
|
|
956
|
+
function _t(e) {
|
|
957
|
+
c("view-profile", e);
|
|
955
958
|
}
|
|
956
959
|
function X(e) {
|
|
957
|
-
|
|
958
|
-
}
|
|
959
|
-
function _t(e) {
|
|
960
|
-
u("show-graph", e);
|
|
960
|
+
c("delete-from-list", e);
|
|
961
961
|
}
|
|
962
962
|
function K(e) {
|
|
963
|
+
c("add-to-list", e);
|
|
964
|
+
}
|
|
965
|
+
function gt(e) {
|
|
966
|
+
c("show-graph", e);
|
|
967
|
+
}
|
|
968
|
+
function Q(e) {
|
|
963
969
|
if (e.isExpanded) {
|
|
964
|
-
e.isExpanded = !1,
|
|
970
|
+
e.isExpanded = !1, V.value = null;
|
|
965
971
|
return;
|
|
966
972
|
}
|
|
967
|
-
const l = m.value.find((
|
|
973
|
+
const l = m.value.find((k) => k.isExpanded);
|
|
968
974
|
if (l && (l.isExpanded = !1), l) {
|
|
969
|
-
|
|
975
|
+
V.value = e;
|
|
970
976
|
return;
|
|
971
977
|
}
|
|
972
978
|
const o = document.querySelectorAll(".details-row");
|
|
973
|
-
let
|
|
974
|
-
o.forEach((
|
|
975
|
-
|
|
979
|
+
let r = -1;
|
|
980
|
+
o.forEach((k, L) => {
|
|
981
|
+
k.id === `dr-${e.id}` && (r = L);
|
|
976
982
|
});
|
|
977
|
-
const
|
|
978
|
-
|
|
983
|
+
const w = o[r];
|
|
984
|
+
P.value = r, J(w), e.isExpanded = !0, m.value.forEach((k) => {
|
|
985
|
+
k.isExpanded = !1;
|
|
986
|
+
}), setTimeout(() => {
|
|
987
|
+
if (!A.value) {
|
|
988
|
+
const L = document.querySelectorAll(".details-row")[e.index];
|
|
989
|
+
P.value = e.index, J(L);
|
|
990
|
+
}
|
|
991
|
+
e.isExpanded = !A.value;
|
|
992
|
+
}, 1);
|
|
979
993
|
}
|
|
980
|
-
let
|
|
981
|
-
|
|
982
|
-
},
|
|
983
|
-
|
|
994
|
+
let W = !1, Y, tt, et = function(e) {
|
|
995
|
+
W = !0, Y = e.pageX - b.value.offsetLeft, tt = b.value.scrollLeft;
|
|
996
|
+
}, Z = function() {
|
|
997
|
+
W = !1;
|
|
984
998
|
};
|
|
985
|
-
function
|
|
986
|
-
|
|
987
|
-
if (!
|
|
999
|
+
function mt() {
|
|
1000
|
+
b.value && (b.value.addEventListener("mousemove", (e) => {
|
|
1001
|
+
if (!W)
|
|
988
1002
|
return;
|
|
989
|
-
const o = e.pageX -
|
|
990
|
-
|
|
991
|
-
}),
|
|
1003
|
+
const o = e.pageX - b.value.offsetLeft - Y;
|
|
1004
|
+
b.value.scrollLeft = tt - o;
|
|
1005
|
+
}), b.value.addEventListener("mousedown", et, !1), b.value.addEventListener("mouseup", Z, !1), b.value.addEventListener("mouseleave", Z, !1));
|
|
992
1006
|
}
|
|
993
|
-
return
|
|
994
|
-
|
|
995
|
-
}),
|
|
996
|
-
|
|
997
|
-
}), (e, l) => (n(),
|
|
1007
|
+
return dt(() => {
|
|
1008
|
+
ht(), mt();
|
|
1009
|
+
}), wt(() => {
|
|
1010
|
+
u && u.disconnect(), g && g.disconnect(), b.value && (b.value.removeEventListener("mousemove", et, !1), b.value.removeEventListener("mouseup", Z, !1), b.value.removeEventListener("mouseleave", Z, !1));
|
|
1011
|
+
}), (e, l) => (n(), a("div", {
|
|
998
1012
|
class: "table",
|
|
999
1013
|
ref_key: "tableSC",
|
|
1000
1014
|
ref: S,
|
|
1001
1015
|
style: B(M.value),
|
|
1002
|
-
key:
|
|
1016
|
+
key: $.value
|
|
1003
1017
|
}, [
|
|
1004
|
-
t("div",
|
|
1005
|
-
t("div",
|
|
1006
|
-
|
|
1018
|
+
t("div", le, [
|
|
1019
|
+
t("div", ne, [
|
|
1020
|
+
ae,
|
|
1007
1021
|
t("div", {
|
|
1008
1022
|
role: "button",
|
|
1009
1023
|
class: "restore-button",
|
|
1010
|
-
onClick: l[0] || (l[0] = (o) =>
|
|
1011
|
-
},
|
|
1024
|
+
onClick: l[0] || (l[0] = (o) => T(null))
|
|
1025
|
+
}, ce)
|
|
1012
1026
|
]),
|
|
1013
|
-
(n(!0),
|
|
1027
|
+
(n(!0), a(O, null, z(h.value, (o) => (n(), a("div", {
|
|
1014
1028
|
key: `s-${o.id}`,
|
|
1015
1029
|
class: y(["row static-row", { odd: o.isOdd }])
|
|
1016
1030
|
}, [
|
|
1017
|
-
|
|
1018
|
-
default:
|
|
1019
|
-
|
|
1031
|
+
st(kt, null, {
|
|
1032
|
+
default: bt(() => [
|
|
1033
|
+
yt(t("div", {
|
|
1020
1034
|
id: `dr-${o.id}`,
|
|
1021
1035
|
class: y(["details-row", { odd: o.isOdd }])
|
|
1022
1036
|
}, [
|
|
1023
|
-
t("div",
|
|
1024
|
-
t("div",
|
|
1025
|
-
t("div",
|
|
1037
|
+
t("div", fe, [
|
|
1038
|
+
t("div", he, [
|
|
1039
|
+
t("div", ve, [
|
|
1026
1040
|
t("div", null, [
|
|
1027
1041
|
D("Equipo: "),
|
|
1028
|
-
t("span",
|
|
1042
|
+
t("span", pe, v(o.team_name), 1)
|
|
1029
1043
|
]),
|
|
1030
1044
|
t("div", null, [
|
|
1031
1045
|
D("Edad: "),
|
|
1032
|
-
t("span",
|
|
1046
|
+
t("span", _e, v(o.player_age) + " Años", 1)
|
|
1033
1047
|
]),
|
|
1034
1048
|
t("div", null, [
|
|
1035
1049
|
D("Nacionalidad: "),
|
|
1036
|
-
t("span",
|
|
1050
|
+
t("span", ge, v(o.player_country), 1)
|
|
1037
1051
|
]),
|
|
1038
1052
|
t("div", null, [
|
|
1039
1053
|
D("Posición: "),
|
|
1040
|
-
t("span",
|
|
1054
|
+
t("span", me, v(o.position_name), 1)
|
|
1041
1055
|
])
|
|
1042
1056
|
]),
|
|
1043
|
-
t("div",
|
|
1057
|
+
t("div", Ce, [
|
|
1044
1058
|
t("div", null, [
|
|
1045
1059
|
D("Partidos Jugados: "),
|
|
1046
|
-
t("span",
|
|
1060
|
+
t("span", we, v(o.player_games), 1)
|
|
1047
1061
|
]),
|
|
1048
1062
|
t("div", null, [
|
|
1049
1063
|
D("Minutos Jugados: "),
|
|
1050
|
-
t("span", ke,
|
|
1064
|
+
t("span", ke, v(o.player_min), 1)
|
|
1051
1065
|
])
|
|
1052
1066
|
])
|
|
1053
1067
|
]),
|
|
1054
1068
|
t("div", {
|
|
1055
1069
|
class: "details-row__buttons",
|
|
1056
|
-
style: B(
|
|
1070
|
+
style: B(j.value ? "margin-left: 0; gap: 8px;" : "")
|
|
1057
1071
|
}, [
|
|
1058
|
-
|
|
1059
|
-
role: "button",
|
|
1060
|
-
class: "button",
|
|
1061
|
-
onClick: (a) => _t(o)
|
|
1062
|
-
}, xe, 8, we),
|
|
1063
|
-
s.isTableFromList ? (n(), r("div", {
|
|
1072
|
+
s.isGraphButtonVisible ? (n(), a("div", {
|
|
1064
1073
|
key: 0,
|
|
1065
1074
|
role: "button",
|
|
1066
1075
|
class: "button",
|
|
1067
|
-
onClick: (
|
|
1068
|
-
},
|
|
1076
|
+
onClick: (r) => gt(o)
|
|
1077
|
+
}, Se, 8, be)) : x("", !0),
|
|
1078
|
+
s.isTableFromList ? (n(), a("div", {
|
|
1069
1079
|
key: 1,
|
|
1070
1080
|
role: "button",
|
|
1071
1081
|
class: "button",
|
|
1072
|
-
onClick: (
|
|
1073
|
-
},
|
|
1082
|
+
onClick: (r) => X(o)
|
|
1083
|
+
}, Be, 8, Me)) : s.isAddToListButtonVisible ? (n(), a("div", {
|
|
1084
|
+
key: 2,
|
|
1085
|
+
role: "button",
|
|
1086
|
+
class: "button",
|
|
1087
|
+
onClick: (r) => K(o)
|
|
1088
|
+
}, Te, 8, Re)) : x("", !0),
|
|
1074
1089
|
t("div", {
|
|
1075
1090
|
role: "button",
|
|
1076
1091
|
class: "button green",
|
|
1077
|
-
onClick: (
|
|
1078
|
-
},
|
|
1092
|
+
onClick: (r) => _t(o)
|
|
1093
|
+
}, Ve, 8, Ie)
|
|
1079
1094
|
], 4)
|
|
1080
1095
|
])
|
|
1081
|
-
], 10,
|
|
1082
|
-
[
|
|
1096
|
+
], 10, ue), [
|
|
1097
|
+
[xt, o.isExpanded]
|
|
1083
1098
|
])
|
|
1084
1099
|
]),
|
|
1085
1100
|
_: 2
|
|
1086
1101
|
}, 1024),
|
|
1087
|
-
s.isEditMode ? (n(),
|
|
1102
|
+
s.isEditMode ? (n(), it(lt(Ot), {
|
|
1088
1103
|
key: 0,
|
|
1089
1104
|
fontFamily: "Poppins-Regular",
|
|
1090
1105
|
labelFontSize: "14px",
|
|
1091
1106
|
"model-value": o.isSelected,
|
|
1092
|
-
"onUpdate:modelValue": (
|
|
1093
|
-
}, null, 8, ["model-value", "onUpdate:modelValue"])) :
|
|
1094
|
-
t("div",
|
|
1095
|
-
t("div",
|
|
1096
|
-
s.isTableFromList ? (n(),
|
|
1107
|
+
"onUpdate:modelValue": (r) => pt(r, o)
|
|
1108
|
+
}, null, 8, ["model-value", "onUpdate:modelValue"])) : x("", !0),
|
|
1109
|
+
t("div", De, [
|
|
1110
|
+
t("div", Fe, v(o.position), 1),
|
|
1111
|
+
s.isTableFromList ? (n(), a("svg", {
|
|
1097
1112
|
key: 0,
|
|
1098
1113
|
width: "20",
|
|
1099
1114
|
height: "20",
|
|
1100
1115
|
viewBox: "0 0 20 20",
|
|
1101
1116
|
fill: "none",
|
|
1102
1117
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1103
|
-
onClick: (
|
|
1104
|
-
},
|
|
1105
|
-
(n(),
|
|
1118
|
+
onClick: (r) => X(o)
|
|
1119
|
+
}, We, 8, ze)) : (n(), a("div", He, [
|
|
1120
|
+
(n(), a("svg", {
|
|
1106
1121
|
width: "20",
|
|
1107
1122
|
height: "20",
|
|
1108
1123
|
viewBox: "0 0 20 20",
|
|
1109
1124
|
fill: "none",
|
|
1110
1125
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1111
|
-
onClick: (
|
|
1112
|
-
},
|
|
1126
|
+
onClick: (r) => K(o)
|
|
1127
|
+
}, Je, 8, Ne))
|
|
1113
1128
|
])),
|
|
1114
|
-
t("div",
|
|
1129
|
+
t("div", Xe, [
|
|
1115
1130
|
t("div", null, [
|
|
1116
1131
|
t("img", {
|
|
1117
1132
|
src: o.player_photo,
|
|
1118
1133
|
alt: "player photo"
|
|
1119
|
-
}, null, 8,
|
|
1134
|
+
}, null, 8, Ke)
|
|
1120
1135
|
])
|
|
1121
1136
|
]),
|
|
1122
|
-
t("div",
|
|
1137
|
+
t("div", Qe, v(o.player_name), 1)
|
|
1123
1138
|
]),
|
|
1124
|
-
t("div",
|
|
1125
|
-
(n(),
|
|
1139
|
+
t("div", Ye, [
|
|
1140
|
+
(n(), a("svg", {
|
|
1126
1141
|
class: y(["_arrowExpandIcon_6ak64_1115 _rotate_6ak64_5", { expanded: o.isExpanded }]),
|
|
1127
1142
|
width: "12",
|
|
1128
1143
|
height: "8",
|
|
1129
1144
|
viewBox: "0 0 12 8",
|
|
1130
1145
|
fill: "#D9D9D9",
|
|
1131
1146
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1132
|
-
onClick: (
|
|
1133
|
-
},
|
|
1147
|
+
onClick: (r) => Q(o)
|
|
1148
|
+
}, oo, 10, to))
|
|
1134
1149
|
])
|
|
1135
1150
|
], 2))), 128))
|
|
1136
1151
|
]),
|
|
1137
1152
|
t("div", {
|
|
1138
1153
|
ref_key: "scrollableColumns",
|
|
1139
|
-
ref:
|
|
1154
|
+
ref: b,
|
|
1140
1155
|
class: "table__scrollable-columns"
|
|
1141
1156
|
}, [
|
|
1142
|
-
s.isGeneral ? (n(),
|
|
1143
|
-
t("div",
|
|
1144
|
-
t("div",
|
|
1145
|
-
|
|
1146
|
-
(n(),
|
|
1157
|
+
s.isGeneral ? (n(), a(O, { key: 0 }, [
|
|
1158
|
+
t("div", so, [
|
|
1159
|
+
t("div", io, [
|
|
1160
|
+
lo,
|
|
1161
|
+
(n(), a("svg", {
|
|
1147
1162
|
width: "18",
|
|
1148
1163
|
height: "18",
|
|
1149
1164
|
viewBox: "0 0 18 18",
|
|
1150
1165
|
fill: "none",
|
|
1151
1166
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1152
|
-
onClick: l[1] || (l[1] = (o) =>
|
|
1153
|
-
},
|
|
1167
|
+
onClick: l[1] || (l[1] = (o) => T(p.value[0]))
|
|
1168
|
+
}, ao))
|
|
1154
1169
|
]),
|
|
1155
|
-
t("div",
|
|
1156
|
-
|
|
1157
|
-
(n(),
|
|
1170
|
+
t("div", ro, [
|
|
1171
|
+
co,
|
|
1172
|
+
(n(), a("svg", {
|
|
1158
1173
|
width: "18",
|
|
1159
1174
|
height: "18",
|
|
1160
1175
|
viewBox: "0 0 18 18",
|
|
1161
1176
|
fill: "none",
|
|
1162
1177
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1163
|
-
onClick: l[2] || (l[2] = (o) =>
|
|
1164
|
-
},
|
|
1178
|
+
onClick: l[2] || (l[2] = (o) => T(p.value[1]))
|
|
1179
|
+
}, fo))
|
|
1165
1180
|
]),
|
|
1166
|
-
t("div",
|
|
1167
|
-
|
|
1168
|
-
(n(),
|
|
1181
|
+
t("div", ho, [
|
|
1182
|
+
vo,
|
|
1183
|
+
(n(), a("svg", {
|
|
1169
1184
|
width: "18",
|
|
1170
1185
|
height: "18",
|
|
1171
1186
|
viewBox: "0 0 18 18",
|
|
1172
1187
|
fill: "none",
|
|
1173
1188
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1174
|
-
onClick: l[3] || (l[3] = (o) =>
|
|
1175
|
-
},
|
|
1189
|
+
onClick: l[3] || (l[3] = (o) => T(p.value[2]))
|
|
1190
|
+
}, _o))
|
|
1176
1191
|
]),
|
|
1177
|
-
|
|
1178
|
-
t("div",
|
|
1179
|
-
|
|
1180
|
-
(n(),
|
|
1192
|
+
go,
|
|
1193
|
+
t("div", mo, [
|
|
1194
|
+
Co,
|
|
1195
|
+
(n(), a("svg", {
|
|
1181
1196
|
width: "18",
|
|
1182
1197
|
height: "18",
|
|
1183
1198
|
viewBox: "0 0 18 18",
|
|
1184
1199
|
fill: "none",
|
|
1185
1200
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1186
|
-
onClick: l[4] || (l[4] = (o) =>
|
|
1201
|
+
onClick: l[4] || (l[4] = (o) => T(p.value[3]))
|
|
1187
1202
|
}, ko))
|
|
1188
1203
|
]),
|
|
1189
|
-
t("div",
|
|
1190
|
-
|
|
1191
|
-
(n(),
|
|
1204
|
+
t("div", bo, [
|
|
1205
|
+
yo,
|
|
1206
|
+
(n(), a("svg", {
|
|
1192
1207
|
width: "18",
|
|
1193
1208
|
height: "18",
|
|
1194
1209
|
viewBox: "0 0 18 18",
|
|
1195
1210
|
fill: "none",
|
|
1196
1211
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1197
|
-
onClick: l[5] || (l[5] = (o) =>
|
|
1198
|
-
},
|
|
1212
|
+
onClick: l[5] || (l[5] = (o) => T(p.value[4]))
|
|
1213
|
+
}, So))
|
|
1199
1214
|
]),
|
|
1200
|
-
t("div",
|
|
1201
|
-
|
|
1202
|
-
(n(),
|
|
1215
|
+
t("div", Mo, [
|
|
1216
|
+
Lo,
|
|
1217
|
+
(n(), a("svg", {
|
|
1203
1218
|
width: "18",
|
|
1204
1219
|
height: "18",
|
|
1205
1220
|
viewBox: "0 0 18 18",
|
|
1206
1221
|
fill: "none",
|
|
1207
1222
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1208
|
-
onClick: l[6] || (l[6] = (o) =>
|
|
1209
|
-
},
|
|
1223
|
+
onClick: l[6] || (l[6] = (o) => T(p.value[5]))
|
|
1224
|
+
}, Bo))
|
|
1210
1225
|
]),
|
|
1211
|
-
|
|
1226
|
+
Ro
|
|
1212
1227
|
]),
|
|
1213
|
-
(n(!0),
|
|
1228
|
+
(n(!0), a(O, null, z(h.value, (o) => (n(), a("div", {
|
|
1214
1229
|
key: `i-${o.id}`,
|
|
1215
1230
|
class: "row scrollable-row"
|
|
1216
1231
|
}, [
|
|
1217
1232
|
t("div", {
|
|
1218
1233
|
class: y(["row team-info", { odd: o.isOdd }])
|
|
1219
1234
|
}, [
|
|
1220
|
-
t("div",
|
|
1235
|
+
t("div", Eo, [
|
|
1221
1236
|
t("img", {
|
|
1222
1237
|
src: o.team_logo,
|
|
1223
1238
|
alt: "team logo"
|
|
1224
|
-
}, null, 8,
|
|
1239
|
+
}, null, 8, Po)
|
|
1225
1240
|
]),
|
|
1226
|
-
t("div",
|
|
1241
|
+
t("div", To, v(o.team_abrev), 1)
|
|
1227
1242
|
], 2),
|
|
1228
1243
|
t("div", {
|
|
1229
1244
|
class: y(["row data-info", { odd: o.isOdd }])
|
|
1230
|
-
},
|
|
1245
|
+
}, v(o.player_position), 3),
|
|
1231
1246
|
t("div", {
|
|
1232
1247
|
class: y(["row data-info", { odd: o.isOdd }])
|
|
1233
|
-
},
|
|
1248
|
+
}, v(o.player_age), 3),
|
|
1234
1249
|
t("div", {
|
|
1235
1250
|
class: y(["row data-info", { odd: o.isOdd }])
|
|
1236
1251
|
}, [
|
|
@@ -1242,17 +1257,17 @@ const Nt = /* @__PURE__ */ Tt(N, [["render", Ht], ["__scopeId", "data-v-f3ee6b2b
|
|
|
1242
1257
|
], 2),
|
|
1243
1258
|
t("div", {
|
|
1244
1259
|
class: y(["row data-info", { odd: o.isOdd }])
|
|
1245
|
-
},
|
|
1260
|
+
}, v(o.player_games), 3),
|
|
1246
1261
|
t("div", {
|
|
1247
1262
|
class: y(["row data-info", { odd: o.isOdd }])
|
|
1248
|
-
},
|
|
1263
|
+
}, v(o.player_min), 3),
|
|
1249
1264
|
t("div", {
|
|
1250
1265
|
class: y(["row data-info", { odd: o.isOdd }])
|
|
1251
|
-
},
|
|
1266
|
+
}, v(o.league_name), 3),
|
|
1252
1267
|
t("div", {
|
|
1253
1268
|
class: y(["row data-info", { odd: o.isOdd }])
|
|
1254
1269
|
}, [
|
|
1255
|
-
|
|
1270
|
+
st(lt(Gt), {
|
|
1256
1271
|
icon: "https://golstatsimages.blob.core.windows.net/images-library/arrow-btn.png",
|
|
1257
1272
|
"icon-size": "19px",
|
|
1258
1273
|
"icon-position": "left",
|
|
@@ -1265,24 +1280,24 @@ const Nt = /* @__PURE__ */ Tt(N, [["render", Ht], ["__scopeId", "data-v-f3ee6b2b
|
|
|
1265
1280
|
"border-color": "#55636e",
|
|
1266
1281
|
"text-value": "Ver videos",
|
|
1267
1282
|
"font-size": "10px",
|
|
1268
|
-
onClick: (
|
|
1283
|
+
onClick: (r) => q(o)
|
|
1269
1284
|
}, null, 8, ["onClick"])
|
|
1270
1285
|
], 2)
|
|
1271
1286
|
]))), 128))
|
|
1272
|
-
], 64)) : (n(),
|
|
1287
|
+
], 64)) : (n(), it(ie, {
|
|
1273
1288
|
key: 1,
|
|
1274
1289
|
ref_key: "scrollColumns",
|
|
1275
1290
|
ref: R,
|
|
1276
|
-
"available-players":
|
|
1291
|
+
"available-players": h.value,
|
|
1277
1292
|
"is-edit-mode": s.isEditMode,
|
|
1278
1293
|
onOpenMedia: q,
|
|
1279
|
-
onClickParameters:
|
|
1280
|
-
onSort:
|
|
1294
|
+
onClickParameters: ft,
|
|
1295
|
+
onSort: T
|
|
1281
1296
|
}, null, 8, ["available-players", "is-edit-mode"]))
|
|
1282
1297
|
], 512)
|
|
1283
1298
|
], 4));
|
|
1284
1299
|
}
|
|
1285
|
-
},
|
|
1300
|
+
}, Do = /* @__PURE__ */ ct(Oo, [["__scopeId", "data-v-2fd6c119"]]);
|
|
1286
1301
|
export {
|
|
1287
|
-
|
|
1302
|
+
Do as GSCTableScrollable
|
|
1288
1303
|
};
|