@golstats/gsc-table-scrollable 1.0.13 → 1.0.15
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
|
|
3
|
-
const
|
|
4
|
-
for (const [
|
|
5
|
-
|
|
6
|
-
return
|
|
7
|
-
},
|
|
1
|
+
import { useCssVars as at, ref as g, computed as O, watch as V, createElementBlock as r, openBlock as n, normalizeClass as y, createElementVNode as t, createCommentVNode as L, normalizeStyle as B, Fragment as T, toDisplayString as h, pushScopeId as W, popScopeId as H, onMounted as rt, renderList as z, onBeforeUnmount as Ct, createVNode as ot, createBlock as st, Transition as kt, withCtx as wt, withDirectives as bt, createTextVNode as D, vShow as yt, unref as it } from "vue";
|
|
2
|
+
const xt = (s, u) => {
|
|
3
|
+
const i = s.__vccOpts || s;
|
|
4
|
+
for (const [f, _] of u)
|
|
5
|
+
i[f] = _;
|
|
6
|
+
return i;
|
|
7
|
+
}, St = { key: 1 }, Mt = {
|
|
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
|
+
}, Lt = ["fill"], $t = {
|
|
14
14
|
key: 0,
|
|
15
15
|
class: "checkbox__teams"
|
|
16
|
-
},
|
|
16
|
+
}, Bt = { class: "checkbox__teams__logo" }, Rt = ["src"], Et = { class: "checkbox__teams__logo" }, Pt = ["src"], It = {
|
|
17
17
|
__name: "GSC-Checkbox",
|
|
18
18
|
props: {
|
|
19
19
|
width: {
|
|
@@ -72,8 +72,8 @@ const bt = (o, d) => {
|
|
|
72
72
|
type: String,
|
|
73
73
|
default: "left",
|
|
74
74
|
// values can be 'left', 'right', 'top', 'bottom'
|
|
75
|
-
validator(
|
|
76
|
-
return ["left", "right", "top", "bottom"].includes(
|
|
75
|
+
validator(s) {
|
|
76
|
+
return ["left", "right", "top", "bottom"].includes(s);
|
|
77
77
|
}
|
|
78
78
|
},
|
|
79
79
|
boxMarginTop: {
|
|
@@ -122,100 +122,100 @@ const bt = (o, d) => {
|
|
|
122
122
|
}
|
|
123
123
|
},
|
|
124
124
|
emits: ["update:modelValue"],
|
|
125
|
-
setup(
|
|
126
|
-
const
|
|
127
|
-
|
|
128
|
-
"7bd9d47b":
|
|
129
|
-
"34dc7ddc":
|
|
125
|
+
setup(s, { emit: u }) {
|
|
126
|
+
const i = s;
|
|
127
|
+
at((p) => ({
|
|
128
|
+
"7bd9d47b": s.width,
|
|
129
|
+
"34dc7ddc": s.height
|
|
130
130
|
}));
|
|
131
|
-
const
|
|
132
|
-
const
|
|
133
|
-
color:
|
|
134
|
-
"font-family":
|
|
135
|
-
height:
|
|
136
|
-
width:
|
|
137
|
-
minWidth:
|
|
138
|
-
"border-radius":
|
|
139
|
-
"margin-top":
|
|
131
|
+
const f = g(!1), _ = O(() => {
|
|
132
|
+
const p = {
|
|
133
|
+
color: i.boxValueColor,
|
|
134
|
+
"font-family": i.fontFamily,
|
|
135
|
+
height: i.boxWidthAndHeight,
|
|
136
|
+
width: i.boxWidthAndHeight,
|
|
137
|
+
minWidth: i.boxWidthAndHeight,
|
|
138
|
+
"border-radius": i.boxBorderRadius,
|
|
139
|
+
"margin-top": i.boxMarginTop
|
|
140
140
|
};
|
|
141
|
-
return
|
|
142
|
-
}),
|
|
143
|
-
"font-family":
|
|
144
|
-
"font-size":
|
|
145
|
-
color:
|
|
141
|
+
return f.value ? (p["background-color"] = i.boxBackgroundColor, p.border = `solid ${i.boxBorderWidth} ${i.boxBackgroundColor}`) : p.border = `solid ${i.boxBorderWidth} ${i.boxBorderColor}`, p;
|
|
142
|
+
}), m = O(() => ({
|
|
143
|
+
"font-family": i.boxValueFontFamily,
|
|
144
|
+
"font-size": i.boxValueFontSize,
|
|
145
|
+
color: i.boxValueColor,
|
|
146
146
|
"line-height": 1
|
|
147
|
-
})),
|
|
148
|
-
const
|
|
149
|
-
color:
|
|
150
|
-
"font-family":
|
|
151
|
-
"font-size":
|
|
152
|
-
"white-space":
|
|
153
|
-
"text-align":
|
|
147
|
+
})), S = O(() => {
|
|
148
|
+
const p = {
|
|
149
|
+
color: i.labelColor,
|
|
150
|
+
"font-family": i.fontFamily,
|
|
151
|
+
"font-size": i.labelFontSize,
|
|
152
|
+
"white-space": i.labelWhiteSpace,
|
|
153
|
+
"text-align": i.boxPosition === "top" || i.boxPosition === "bottom" ? "center" : i.boxPosition
|
|
154
154
|
};
|
|
155
|
-
return (
|
|
155
|
+
return (i.boxPosition === "left" || i.boxPosition === "right") && (p[`margin-${i.boxPosition}`] = i.isBoxOnly ? "0" : i.teamsIds ? "8px" : "10px"), p;
|
|
156
156
|
});
|
|
157
|
-
|
|
158
|
-
() =>
|
|
159
|
-
(
|
|
160
|
-
|
|
157
|
+
V(
|
|
158
|
+
() => i.modelValue,
|
|
159
|
+
(p) => {
|
|
160
|
+
p !== f.value && (f.value = p);
|
|
161
161
|
},
|
|
162
162
|
{ immediate: !0 }
|
|
163
163
|
);
|
|
164
|
-
function
|
|
165
|
-
|
|
164
|
+
function R() {
|
|
165
|
+
i.avoidInteraction || !f.value && i.avoidToCheck || (f.value = !f.value, u("update:modelValue", f.value));
|
|
166
166
|
}
|
|
167
|
-
function
|
|
168
|
-
return `${{}.TEAM_LOGOS_URL || "https://golstatsimages.blob.core.windows.net/teams-80/"}${
|
|
167
|
+
function E(p) {
|
|
168
|
+
return `${{}.TEAM_LOGOS_URL || "https://golstatsimages.blob.core.windows.net/teams-80/"}${p}.png`;
|
|
169
169
|
}
|
|
170
|
-
return (
|
|
171
|
-
class:
|
|
172
|
-
onClick:
|
|
170
|
+
return (p, I) => (n(), r("div", {
|
|
171
|
+
class: y(["checkbox", `box-${s.boxPosition}`]),
|
|
172
|
+
onClick: R
|
|
173
173
|
}, [
|
|
174
174
|
t("div", {
|
|
175
175
|
class: "checkbox__box",
|
|
176
|
-
style:
|
|
176
|
+
style: B(_.value)
|
|
177
177
|
}, [
|
|
178
|
-
|
|
179
|
-
|
|
178
|
+
f.value ? (n(), r(T, { key: 0 }, [
|
|
179
|
+
i.boxValue ? (n(), r("div", {
|
|
180
180
|
key: 0,
|
|
181
181
|
class: "checkbox__box__value",
|
|
182
|
-
style:
|
|
183
|
-
},
|
|
184
|
-
(
|
|
182
|
+
style: B(m.value)
|
|
183
|
+
}, h(s.boxValue), 5)) : (n(), r("div", St, [
|
|
184
|
+
(n(), r("svg", Mt, [
|
|
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
|
-
fill:
|
|
188
|
-
}, null, 8,
|
|
187
|
+
fill: s.boxValueColor
|
|
188
|
+
}, null, 8, Lt)
|
|
189
189
|
]))
|
|
190
190
|
]))
|
|
191
191
|
], 64)) : L("", !0)
|
|
192
192
|
], 4),
|
|
193
|
-
|
|
194
|
-
t("div",
|
|
193
|
+
s.teamsIds && s.teamsIds.length ? (n(), r("div", $t, [
|
|
194
|
+
t("div", Bt, [
|
|
195
195
|
t("img", {
|
|
196
|
-
src:
|
|
196
|
+
src: E(s.teamsIds[0]),
|
|
197
197
|
alt: ""
|
|
198
|
-
}, null, 8,
|
|
198
|
+
}, null, 8, Rt)
|
|
199
199
|
]),
|
|
200
|
-
t("div",
|
|
200
|
+
t("div", Et, [
|
|
201
201
|
t("img", {
|
|
202
|
-
src:
|
|
202
|
+
src: E(s.teamsIds[1]),
|
|
203
203
|
alt: ""
|
|
204
|
-
}, null, 8,
|
|
204
|
+
}, null, 8, Pt)
|
|
205
205
|
])
|
|
206
206
|
])) : L("", !0),
|
|
207
207
|
t("div", {
|
|
208
208
|
class: "checkbox__label",
|
|
209
|
-
style:
|
|
210
|
-
},
|
|
209
|
+
style: B(S.value)
|
|
210
|
+
}, h(s.label), 5)
|
|
211
211
|
], 2));
|
|
212
212
|
}
|
|
213
|
-
},
|
|
214
|
-
const
|
|
215
|
-
for (const [
|
|
216
|
-
|
|
217
|
-
return
|
|
218
|
-
},
|
|
213
|
+
}, Ot = /* @__PURE__ */ xt(It, [["__scopeId", "data-v-b6f124d8"]]), Tt = (s, u) => {
|
|
214
|
+
const i = s.__vccOpts || s;
|
|
215
|
+
for (const [f, _] of u)
|
|
216
|
+
i[f] = _;
|
|
217
|
+
return i;
|
|
218
|
+
}, N = {
|
|
219
219
|
props: {
|
|
220
220
|
type: { type: Number, default: 0 },
|
|
221
221
|
value: { type: Boolean, default: !1 },
|
|
@@ -252,8 +252,8 @@ const bt = (o, d) => {
|
|
|
252
252
|
value: {
|
|
253
253
|
deep: !0,
|
|
254
254
|
immediate: !0,
|
|
255
|
-
handler(
|
|
256
|
-
this.status =
|
|
255
|
+
handler(s) {
|
|
256
|
+
this.status = s;
|
|
257
257
|
}
|
|
258
258
|
}
|
|
259
259
|
},
|
|
@@ -285,79 +285,79 @@ const bt = (o, d) => {
|
|
|
285
285
|
}
|
|
286
286
|
},
|
|
287
287
|
methods: {
|
|
288
|
-
btnClick(
|
|
289
|
-
this.$emit("click",
|
|
288
|
+
btnClick(s) {
|
|
289
|
+
this.$emit("click", s), this.typeOnOff && (this.status = !this.status, this.$emit("status", this.status));
|
|
290
290
|
}
|
|
291
291
|
}
|
|
292
|
-
},
|
|
293
|
-
|
|
294
|
-
"9d01acb4":
|
|
295
|
-
"14e95081":
|
|
296
|
-
"38fec285":
|
|
297
|
-
34353510:
|
|
298
|
-
"20d20dc6":
|
|
299
|
-
17130967:
|
|
300
|
-
"4ccb7d36":
|
|
301
|
-
"5d1e86a2":
|
|
302
|
-
ce65d4a2:
|
|
303
|
-
fe4ac47a:
|
|
304
|
-
f98e44dc:
|
|
305
|
-
"93b87770":
|
|
306
|
-
c7f7beba:
|
|
292
|
+
}, lt = () => {
|
|
293
|
+
at((s) => ({
|
|
294
|
+
"9d01acb4": s.height,
|
|
295
|
+
"14e95081": s.borderWidthBtn,
|
|
296
|
+
"38fec285": s.borderType,
|
|
297
|
+
34353510: s.borderColor,
|
|
298
|
+
"20d20dc6": s.borderRadius,
|
|
299
|
+
17130967: s.width,
|
|
300
|
+
"4ccb7d36": s.backgroundColor,
|
|
301
|
+
"5d1e86a2": s.cursorType,
|
|
302
|
+
ce65d4a2: s.fontSize,
|
|
303
|
+
fe4ac47a: s.fontStyle,
|
|
304
|
+
f98e44dc: s.fontFamily,
|
|
305
|
+
"93b87770": s.marginLeftStat,
|
|
306
|
+
c7f7beba: s.fontSizeStat
|
|
307
307
|
}));
|
|
308
|
-
},
|
|
309
|
-
|
|
310
|
-
const
|
|
308
|
+
}, nt = N.setup;
|
|
309
|
+
N.setup = nt ? (s, u) => (lt(), nt(s, u)) : lt;
|
|
310
|
+
const Ft = (s) => (W("data-v-f3ee6b2b"), s = s(), H(), s), Dt = ["src"], Vt = {
|
|
311
311
|
key: 1,
|
|
312
312
|
class: "text"
|
|
313
|
-
},
|
|
313
|
+
}, zt = ["src"], jt = { class: "stats" }, At = /* @__PURE__ */ Ft(() => /* @__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
|
|
319
|
-
|
|
316
|
+
}, null, -1)), Zt = { class: "numstats" }, Wt = { class: "leyend" };
|
|
317
|
+
function Ht(s, u, i, f, _, m) {
|
|
318
|
+
return n(), r("div", null, [
|
|
319
|
+
i.type == 0 ? (n(), r("div", {
|
|
320
320
|
key: 0,
|
|
321
|
-
class:
|
|
322
|
-
style:
|
|
323
|
-
onClick:
|
|
321
|
+
class: y(["button", _.status && i.typeOnOff && "button-active"]),
|
|
322
|
+
style: B([m.customStyle, _.status && i.typeOnOff && m.customActive]),
|
|
323
|
+
onClick: u[0] || (u[0] = (...S) => m.btnClick && m.btnClick(...S))
|
|
324
324
|
}, [
|
|
325
|
-
|
|
325
|
+
i.icon && i.iconPosition.toLowerCase() === "left" ? (n(), r("img", {
|
|
326
326
|
key: 0,
|
|
327
327
|
class: "icon",
|
|
328
|
-
style:
|
|
329
|
-
src:
|
|
330
|
-
}, null, 12,
|
|
331
|
-
|
|
332
|
-
|
|
328
|
+
style: B({ width: i.iconSize }),
|
|
329
|
+
src: i.icon
|
|
330
|
+
}, null, 12, Dt)) : L("", !0),
|
|
331
|
+
i.textValue ? (n(), r("div", Vt, h(i.textValue), 1)) : L("", !0),
|
|
332
|
+
i.icon && i.iconPosition.toLowerCase() === "right" ? (n(), r("img", {
|
|
333
333
|
key: 2,
|
|
334
334
|
class: "icon",
|
|
335
|
-
style:
|
|
336
|
-
src:
|
|
337
|
-
}, null, 12,
|
|
335
|
+
style: B({ width: i.iconSize }),
|
|
336
|
+
src: i.icon
|
|
337
|
+
}, null, 12, zt)) : L("", !0)
|
|
338
338
|
], 6)) : L("", !0),
|
|
339
|
-
|
|
339
|
+
i.type == 1 ? (n(), r("div", {
|
|
340
340
|
key: 1,
|
|
341
341
|
class: "button-target",
|
|
342
|
-
onClick:
|
|
342
|
+
onClick: u[1] || (u[1] = (...S) => m.btnClick && m.btnClick(...S))
|
|
343
343
|
}, [
|
|
344
|
-
t("div",
|
|
345
|
-
|
|
346
|
-
t("div",
|
|
344
|
+
t("div", jt, [
|
|
345
|
+
At,
|
|
346
|
+
t("div", Zt, h(i.textStat), 1)
|
|
347
347
|
]),
|
|
348
|
-
t("div",
|
|
348
|
+
t("div", Wt, h(i.textCategory), 1)
|
|
349
349
|
])) : L("", !0)
|
|
350
350
|
]);
|
|
351
351
|
}
|
|
352
|
-
const
|
|
353
|
-
const
|
|
354
|
-
for (const [
|
|
355
|
-
|
|
356
|
-
return
|
|
357
|
-
},
|
|
352
|
+
const Nt = /* @__PURE__ */ Tt(N, [["render", Ht], ["__scopeId", "data-v-f3ee6b2b"]]), dt = (s, u) => {
|
|
353
|
+
const i = s.__vccOpts || s;
|
|
354
|
+
for (const [f, _] of u)
|
|
355
|
+
i[f] = _;
|
|
356
|
+
return i;
|
|
357
|
+
}, G = (s) => (W("data-v-df83603b"), s = s(), H(), s), Gt = {
|
|
358
358
|
key: 0,
|
|
359
359
|
class: "overlay"
|
|
360
|
-
},
|
|
360
|
+
}, Ut = ["onClick"], qt = /* @__PURE__ */ G(() => /* @__PURE__ */ t("svg", {
|
|
361
361
|
width: "11",
|
|
362
362
|
height: "12",
|
|
363
363
|
viewBox: "0 0 11 12",
|
|
@@ -368,9 +368,19 @@ const At = /* @__PURE__ */ Rt(j, [["render", Zt], ["__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)), Jt = [
|
|
372
|
+
qt
|
|
373
|
+
], Xt = { class: "name" }, Kt = ["onClick"], Qt = /* @__PURE__ */ G(() => /* @__PURE__ */ t("g", {
|
|
374
|
+
opacity: ".5",
|
|
375
|
+
stroke: "#fff",
|
|
376
|
+
"stroke-width": "1.677",
|
|
377
|
+
"stroke-linecap": "round",
|
|
378
|
+
"stroke-linejoin": "round"
|
|
379
|
+
}, [
|
|
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)), Yt = [
|
|
382
|
+
Qt
|
|
383
|
+
], te = /* @__PURE__ */ G(() => /* @__PURE__ */ t("div", { class: "column-title-2" }, null, -1)), ee = ["onClick"], oe = {
|
|
374
384
|
__name: "ScrollColumns",
|
|
375
385
|
props: {
|
|
376
386
|
availablePlayers: {
|
|
@@ -382,82 +392,119 @@ const At = /* @__PURE__ */ Rt(j, [["render", Zt], ["__scopeId", "data-v-f3ee6b2b
|
|
|
382
392
|
default: !1
|
|
383
393
|
}
|
|
384
394
|
},
|
|
385
|
-
emits: ["expand", "open-media", "click-parameters"],
|
|
386
|
-
setup(
|
|
387
|
-
const
|
|
388
|
-
|
|
389
|
-
const
|
|
390
|
-
const
|
|
391
|
-
return
|
|
392
|
-
}),
|
|
393
|
-
const
|
|
394
|
-
let
|
|
395
|
-
return
|
|
396
|
-
|
|
395
|
+
emits: ["expand", "open-media", "click-parameters", "sort"],
|
|
396
|
+
setup(s, { expose: u, emit: i }) {
|
|
397
|
+
const f = s, _ = g(null), m = g(null), S = g(0);
|
|
398
|
+
g(!1);
|
|
399
|
+
const R = O(() => {
|
|
400
|
+
const c = f.availablePlayers[0];
|
|
401
|
+
return c ? c.stats : [];
|
|
402
|
+
}), E = O(() => {
|
|
403
|
+
const c = `repeat(${R.value.length}, max-content) 36px`;
|
|
404
|
+
let v = "";
|
|
405
|
+
return S.value > 0 && document.querySelectorAll(".column-title-2").forEach((M) => {
|
|
406
|
+
v += `${M.offsetWidth}px `;
|
|
397
407
|
}), {
|
|
398
|
-
"--grid-template-columns":
|
|
399
|
-
"--grid-template-columns-totals":
|
|
408
|
+
"--grid-template-columns": c,
|
|
409
|
+
"--grid-template-columns-totals": v || c
|
|
400
410
|
};
|
|
401
411
|
});
|
|
402
|
-
function
|
|
403
|
-
|
|
404
|
-
for (const
|
|
405
|
-
const { width:
|
|
406
|
-
|
|
412
|
+
function p() {
|
|
413
|
+
_.value = new ResizeObserver((c) => {
|
|
414
|
+
for (const v of c) {
|
|
415
|
+
const { width: w } = v.contentRect;
|
|
416
|
+
S.value = w;
|
|
407
417
|
}
|
|
408
|
-
}),
|
|
418
|
+
}), _.value.observe(m.value);
|
|
409
419
|
}
|
|
410
|
-
function
|
|
411
|
-
const
|
|
412
|
-
|
|
420
|
+
function I(c, v) {
|
|
421
|
+
const M = document.querySelectorAll(".scrollable-row-totals")[c + 1];
|
|
422
|
+
M && (M.style.marginTop = `${v}px`);
|
|
413
423
|
}
|
|
414
|
-
function
|
|
415
|
-
!
|
|
424
|
+
function F({ player: c, stat: v }) {
|
|
425
|
+
!v.total || v === "0%" || !v.seasons || !v.seasons.length || i("open-media", { ...c, stat: v });
|
|
416
426
|
}
|
|
417
|
-
function
|
|
418
|
-
!
|
|
427
|
+
function k(c) {
|
|
428
|
+
!c || c === "no" || i("click-parameters", c);
|
|
419
429
|
}
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
}
|
|
423
|
-
|
|
424
|
-
|
|
430
|
+
function j(c) {
|
|
431
|
+
i("sort", c);
|
|
432
|
+
}
|
|
433
|
+
return rt(() => {
|
|
434
|
+
p();
|
|
435
|
+
}), u({
|
|
436
|
+
setMarginTopDetails: I
|
|
437
|
+
}), (c, v) => (n(), r("div", {
|
|
425
438
|
class: "scroll-columns",
|
|
426
|
-
style:
|
|
439
|
+
style: B(E.value)
|
|
427
440
|
}, [
|
|
428
|
-
|
|
441
|
+
s.isEditMode ? (n(), r("div", Gt)) : L("", !0),
|
|
429
442
|
t("div", {
|
|
430
443
|
ref_key: "titlesRow",
|
|
431
|
-
ref:
|
|
444
|
+
ref: m,
|
|
432
445
|
class: "scrollable-row-2"
|
|
433
446
|
}, [
|
|
434
|
-
(
|
|
435
|
-
key: `t-${
|
|
447
|
+
(n(!0), r(T, null, z(R.value, (w, M) => (n(), r("div", {
|
|
448
|
+
key: `t-${M}`,
|
|
436
449
|
class: "column-title-2"
|
|
437
450
|
}, [
|
|
438
|
-
|
|
439
|
-
b.parameters && b.parameters !== "no" ? (l(), n("div", {
|
|
451
|
+
w.parameters && w.parameters !== "no" ? (n(), r("div", {
|
|
440
452
|
key: 0,
|
|
441
453
|
class: "parameters",
|
|
442
454
|
role: "button",
|
|
443
|
-
onClick: (
|
|
444
|
-
},
|
|
455
|
+
onClick: (x) => k(w.parameters)
|
|
456
|
+
}, Jt, 8, Ut)) : L("", !0),
|
|
457
|
+
t("div", Xt, h(w.name), 1),
|
|
458
|
+
(n(), r("svg", {
|
|
459
|
+
width: "18",
|
|
460
|
+
height: "18",
|
|
461
|
+
viewBox: "0 0 18 18",
|
|
462
|
+
fill: "none",
|
|
463
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
464
|
+
onClick: (x) => j(w)
|
|
465
|
+
}, Yt, 8, Kt))
|
|
445
466
|
]))), 128)),
|
|
446
|
-
|
|
467
|
+
te
|
|
447
468
|
], 512),
|
|
448
|
-
(
|
|
449
|
-
key: `i-${
|
|
469
|
+
(n(!0), r(T, null, z(s.availablePlayers, (w, M) => (n(), r("div", {
|
|
470
|
+
key: `i-${w.id}`,
|
|
450
471
|
class: "row scrollable-row-totals"
|
|
451
472
|
}, [
|
|
452
|
-
(
|
|
453
|
-
key:
|
|
454
|
-
class:
|
|
455
|
-
|
|
456
|
-
|
|
473
|
+
(n(!0), r(T, null, z(w.stats, (x) => (n(), r("div", {
|
|
474
|
+
key: x.category_id,
|
|
475
|
+
class: y(["row data-info", { odd: M % 2 !== 0, underline: !!x.total && x.total !== "0%" && x.seasons && x.seasons.length }])
|
|
476
|
+
}, [
|
|
477
|
+
t("span", {
|
|
478
|
+
onClick: (U) => F({ player: w, stat: x })
|
|
479
|
+
}, h(x.total), 9, ee)
|
|
480
|
+
], 2))), 128))
|
|
457
481
|
]))), 128))
|
|
458
482
|
], 4));
|
|
459
483
|
}
|
|
460
|
-
},
|
|
484
|
+
}, se = /* @__PURE__ */ dt(oe, [["__scopeId", "data-v-df83603b"]]), d = (s) => (W("data-v-18f2714a"), s = s(), H(), s), ie = { class: "table__static-column" }, le = { class: "static-title column-title restore" }, ne = /* @__PURE__ */ d(() => /* @__PURE__ */ t("div", { class: "titles-left" }, [
|
|
485
|
+
/* @__PURE__ */ t("div", { class: "title" }, "Ranking"),
|
|
486
|
+
/* @__PURE__ */ t("div", { class: "title" }, "Agregar a lista")
|
|
487
|
+
], -1)), ae = /* @__PURE__ */ d(() => /* @__PURE__ */ t("svg", {
|
|
488
|
+
width: "16",
|
|
489
|
+
height: "16",
|
|
490
|
+
viewBox: "0 0 16 16",
|
|
491
|
+
fill: "none",
|
|
492
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
493
|
+
}, [
|
|
494
|
+
/* @__PURE__ */ t("g", {
|
|
495
|
+
opacity: ".6",
|
|
496
|
+
stroke: "#fff",
|
|
497
|
+
"stroke-width": "1.333",
|
|
498
|
+
"stroke-linecap": "round",
|
|
499
|
+
"stroke-linejoin": "round"
|
|
500
|
+
}, [
|
|
501
|
+
/* @__PURE__ */ t("path", { d: "M15.333 2.667v4h-4M.667 13.333v-4h4" }),
|
|
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
|
+
])
|
|
504
|
+
], -1)), re = /* @__PURE__ */ d(() => /* @__PURE__ */ t("div", null, "Restaurar orden", -1)), de = [
|
|
505
|
+
ae,
|
|
506
|
+
re
|
|
507
|
+
], ce = ["id"], ue = { class: "container" }, fe = { class: "details-row__info" }, he = { class: "details-row__info__personal" }, ve = { class: "bold" }, pe = { class: "bold" }, _e = { class: "bold" }, ge = { class: "bold" }, me = { class: "details-row__info__games" }, Ce = { class: "bold" }, ke = { class: "bold" }, we = ["onClick"], be = /* @__PURE__ */ d(() => /* @__PURE__ */ t("div", null, "Ver gráfica", -1)), ye = /* @__PURE__ */ d(() => /* @__PURE__ */ t("svg", {
|
|
461
508
|
width: "17",
|
|
462
509
|
height: "16",
|
|
463
510
|
viewBox: "0 0 17 16",
|
|
@@ -480,10 +527,10 @@ const At = /* @__PURE__ */ Rt(j, [["render", Zt], ["__scopeId", "data-v-f3ee6b2b
|
|
|
480
527
|
})
|
|
481
528
|
])
|
|
482
529
|
])
|
|
483
|
-
], -1)),
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
],
|
|
530
|
+
], -1)), xe = [
|
|
531
|
+
be,
|
|
532
|
+
ye
|
|
533
|
+
], Se = ["onClick"], Me = /* @__PURE__ */ d(() => /* @__PURE__ */ t("div", null, "Eliminar de lista", -1)), Le = /* @__PURE__ */ d(() => /* @__PURE__ */ t("svg", {
|
|
487
534
|
width: "17",
|
|
488
535
|
height: "15",
|
|
489
536
|
viewBox: "0 0 20 18",
|
|
@@ -514,10 +561,10 @@ const At = /* @__PURE__ */ Rt(j, [["render", Zt], ["__scopeId", "data-v-f3ee6b2b
|
|
|
514
561
|
"stroke-linecap": "round",
|
|
515
562
|
"stroke-linejoin": "round"
|
|
516
563
|
})
|
|
517
|
-
], -1)),
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
],
|
|
564
|
+
], -1)), $e = [
|
|
565
|
+
Me,
|
|
566
|
+
Le
|
|
567
|
+
], Be = ["onClick"], Re = /* @__PURE__ */ d(() => /* @__PURE__ */ t("div", null, "Agregar a lista", -1)), Ee = /* @__PURE__ */ d(() => /* @__PURE__ */ t("svg", {
|
|
521
568
|
width: "20",
|
|
522
569
|
height: "20",
|
|
523
570
|
viewBox: "0 0 20 20",
|
|
@@ -548,69 +595,132 @@ const At = /* @__PURE__ */ Rt(j, [["render", Zt], ["__scopeId", "data-v-f3ee6b2b
|
|
|
548
595
|
"stroke-linecap": "round",
|
|
549
596
|
"stroke-linejoin": "round"
|
|
550
597
|
})
|
|
551
|
-
], -1)),
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
],
|
|
555
|
-
|
|
556
|
-
],
|
|
598
|
+
], -1)), Pe = [
|
|
599
|
+
Re,
|
|
600
|
+
Ee
|
|
601
|
+
], Ie = ["onClick"], Oe = /* @__PURE__ */ d(() => /* @__PURE__ */ t("div", null, "Ver perfil", -1)), Te = [
|
|
602
|
+
Oe
|
|
603
|
+
], Fe = { class: "static-row__info-player" }, De = { class: "position" }, Ve = ["onClick"], ze = /* @__PURE__ */ d(() => /* @__PURE__ */ t("path", {
|
|
557
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",
|
|
558
605
|
stroke: "white",
|
|
559
606
|
"stroke-opacity": "0.5",
|
|
560
607
|
"stroke-width": "1.5",
|
|
561
608
|
"stroke-linecap": "round",
|
|
562
609
|
"stroke-linejoin": "round"
|
|
563
|
-
}, null, -1)),
|
|
610
|
+
}, null, -1)), je = /* @__PURE__ */ d(() => /* @__PURE__ */ t("path", {
|
|
564
611
|
d: "M7.50126 8.16658C9.34219 8.16658 10.8346 6.67422 10.8346 4.83329C10.8346 2.99237 9.34219 1.5 7.50126 1.5C5.66033 1.5 4.16797 2.99237 4.16797 4.83329C4.16797 6.67422 5.66033 8.16658 7.50126 8.16658Z",
|
|
565
612
|
stroke: "white",
|
|
566
613
|
"stroke-opacity": "0.5",
|
|
567
614
|
"stroke-width": "1.5",
|
|
568
615
|
"stroke-linecap": "round",
|
|
569
616
|
"stroke-linejoin": "round"
|
|
570
|
-
}, null, -1)),
|
|
617
|
+
}, null, -1)), Ae = /* @__PURE__ */ d(() => /* @__PURE__ */ t("path", {
|
|
571
618
|
d: "M18.332 8.16663H13.332",
|
|
572
619
|
stroke: "white",
|
|
573
620
|
"stroke-opacity": "0.5",
|
|
574
621
|
"stroke-width": "1.5",
|
|
575
622
|
"stroke-linecap": "round",
|
|
576
623
|
"stroke-linejoin": "round"
|
|
577
|
-
}, null, -1)),
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
],
|
|
624
|
+
}, null, -1)), Ze = [
|
|
625
|
+
ze,
|
|
626
|
+
je,
|
|
627
|
+
Ae
|
|
628
|
+
], We = {
|
|
629
|
+
key: 1,
|
|
630
|
+
class: "add-to-list"
|
|
631
|
+
}, He = ["onClick"], Ne = /* @__PURE__ */ d(() => /* @__PURE__ */ t("path", {
|
|
582
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",
|
|
583
633
|
stroke: "white",
|
|
584
634
|
"stroke-opacity": "1",
|
|
585
635
|
"stroke-width": "1.44023",
|
|
586
636
|
"stroke-linecap": "round",
|
|
587
637
|
"stroke-linejoin": "round"
|
|
588
|
-
}, null, -1)),
|
|
638
|
+
}, null, -1)), Ge = /* @__PURE__ */ d(() => /* @__PURE__ */ t("path", {
|
|
589
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",
|
|
590
640
|
stroke: "white",
|
|
591
641
|
"stroke-opacity": "1",
|
|
592
642
|
"stroke-width": "1.44023",
|
|
593
643
|
"stroke-linecap": "round",
|
|
594
644
|
"stroke-linejoin": "round"
|
|
595
|
-
}, null, -1)),
|
|
645
|
+
}, null, -1)), Ue = /* @__PURE__ */ d(() => /* @__PURE__ */ t("path", {
|
|
596
646
|
d: "M15.5996 6.79944V11.6001M17.9999 9.19979H13.1992",
|
|
597
647
|
stroke: "white",
|
|
598
648
|
"stroke-opacity": "1",
|
|
599
649
|
"stroke-width": "1.44023",
|
|
600
650
|
"stroke-linecap": "round",
|
|
601
651
|
"stroke-linejoin": "round"
|
|
602
|
-
}, null, -1)),
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
],
|
|
652
|
+
}, null, -1)), qe = [
|
|
653
|
+
Ne,
|
|
654
|
+
Ge,
|
|
655
|
+
Ue
|
|
656
|
+
], Je = { class: "player-photo" }, Xe = ["src"], Ke = { class: "player-name" }, Qe = { class: "arrow" }, Ye = ["onClick"], to = /* @__PURE__ */ d(() => /* @__PURE__ */ t("path", {
|
|
607
657
|
"fill-rule": "evenodd",
|
|
608
658
|
"clip-rule": "evenodd",
|
|
609
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",
|
|
610
660
|
fill: "#D9D9D9"
|
|
611
|
-
}, null, -1)),
|
|
612
|
-
|
|
613
|
-
],
|
|
661
|
+
}, null, -1)), eo = [
|
|
662
|
+
to
|
|
663
|
+
], oo = { class: "titles scrollable-row" }, so = { class: "column-title" }, io = /* @__PURE__ */ d(() => /* @__PURE__ */ t("div", null, " Equipo ", -1)), lo = /* @__PURE__ */ d(() => /* @__PURE__ */ t("g", {
|
|
664
|
+
opacity: ".5",
|
|
665
|
+
stroke: "#fff",
|
|
666
|
+
"stroke-width": "1.677",
|
|
667
|
+
"stroke-linecap": "round",
|
|
668
|
+
"stroke-linejoin": "round"
|
|
669
|
+
}, [
|
|
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)), no = [
|
|
672
|
+
lo
|
|
673
|
+
], ao = { class: "column-title" }, ro = /* @__PURE__ */ d(() => /* @__PURE__ */ t("div", null, " Posición ", -1)), co = /* @__PURE__ */ d(() => /* @__PURE__ */ t("g", {
|
|
674
|
+
opacity: ".5",
|
|
675
|
+
stroke: "#fff",
|
|
676
|
+
"stroke-width": "1.677",
|
|
677
|
+
"stroke-linecap": "round",
|
|
678
|
+
"stroke-linejoin": "round"
|
|
679
|
+
}, [
|
|
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)), uo = [
|
|
682
|
+
co
|
|
683
|
+
], fo = { class: "column-title" }, ho = /* @__PURE__ */ d(() => /* @__PURE__ */ t("div", null, " Edad ", -1)), vo = /* @__PURE__ */ d(() => /* @__PURE__ */ t("g", {
|
|
684
|
+
opacity: ".5",
|
|
685
|
+
stroke: "#fff",
|
|
686
|
+
"stroke-width": "1.677",
|
|
687
|
+
"stroke-linecap": "round",
|
|
688
|
+
"stroke-linejoin": "round"
|
|
689
|
+
}, [
|
|
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)), po = [
|
|
692
|
+
vo
|
|
693
|
+
], _o = /* @__PURE__ */ d(() => /* @__PURE__ */ t("div", { class: "column-title" }, "País", -1)), go = { class: "column-title" }, mo = /* @__PURE__ */ d(() => /* @__PURE__ */ t("div", null, " Partidos Jugados ", -1)), Co = /* @__PURE__ */ d(() => /* @__PURE__ */ t("g", {
|
|
694
|
+
opacity: ".5",
|
|
695
|
+
stroke: "#fff",
|
|
696
|
+
"stroke-width": "1.677",
|
|
697
|
+
"stroke-linecap": "round",
|
|
698
|
+
"stroke-linejoin": "round"
|
|
699
|
+
}, [
|
|
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
|
+
], -1)), ko = [
|
|
702
|
+
Co
|
|
703
|
+
], wo = { class: "column-title" }, bo = /* @__PURE__ */ d(() => /* @__PURE__ */ t("div", null, " Minutos Jugados ", -1)), yo = /* @__PURE__ */ d(() => /* @__PURE__ */ t("g", {
|
|
704
|
+
opacity: ".5",
|
|
705
|
+
stroke: "#fff",
|
|
706
|
+
"stroke-width": "1.677",
|
|
707
|
+
"stroke-linecap": "round",
|
|
708
|
+
"stroke-linejoin": "round"
|
|
709
|
+
}, [
|
|
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)), xo = [
|
|
712
|
+
yo
|
|
713
|
+
], So = { class: "column-title" }, Mo = /* @__PURE__ */ d(() => /* @__PURE__ */ t("div", null, " Liga ", -1)), Lo = /* @__PURE__ */ d(() => /* @__PURE__ */ t("g", {
|
|
714
|
+
opacity: ".5",
|
|
715
|
+
stroke: "#fff",
|
|
716
|
+
"stroke-width": "1.677",
|
|
717
|
+
"stroke-linecap": "round",
|
|
718
|
+
"stroke-linejoin": "round"
|
|
719
|
+
}, [
|
|
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)), $o = [
|
|
722
|
+
Lo
|
|
723
|
+
], Bo = /* @__PURE__ */ d(() => /* @__PURE__ */ t("div", { class: "column-title" }, "Videos", -1)), Ro = { class: "team-logo" }, Eo = ["src"], Po = { class: "team-name data-info" }, Io = ["src"], Oo = {
|
|
614
724
|
__name: "GSC-TableScrollable",
|
|
615
725
|
props: {
|
|
616
726
|
players: {
|
|
@@ -638,63 +748,120 @@ const At = /* @__PURE__ */ Rt(j, [["render", Zt], ["__scopeId", "data-v-f3ee6b2b
|
|
|
638
748
|
"open-media",
|
|
639
749
|
"click-parameters"
|
|
640
750
|
],
|
|
641
|
-
setup(
|
|
642
|
-
const
|
|
643
|
-
let
|
|
644
|
-
const
|
|
645
|
-
|
|
646
|
-
const
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
751
|
+
setup(s, { emit: u }) {
|
|
752
|
+
const i = s;
|
|
753
|
+
let f = null, _ = null;
|
|
754
|
+
const m = g([]), S = g(null), R = g(null), E = g(0), p = g(0), I = g(-1);
|
|
755
|
+
g(!1);
|
|
756
|
+
const F = g(null), k = g(null), j = g(null), c = g([]), v = g([
|
|
757
|
+
{
|
|
758
|
+
name: "team_abrev",
|
|
759
|
+
isDesc: !1,
|
|
760
|
+
isRoot: !0
|
|
761
|
+
},
|
|
762
|
+
{
|
|
763
|
+
name: "player_position",
|
|
764
|
+
isDesc: !1,
|
|
765
|
+
isRoot: !0
|
|
766
|
+
},
|
|
767
|
+
{
|
|
768
|
+
name: "player_age",
|
|
769
|
+
isDesc: !1,
|
|
770
|
+
isRoot: !0
|
|
771
|
+
},
|
|
772
|
+
{
|
|
773
|
+
name: "player_games",
|
|
774
|
+
isDesc: !1,
|
|
775
|
+
isRoot: !0
|
|
776
|
+
},
|
|
777
|
+
{
|
|
778
|
+
name: "player_min",
|
|
779
|
+
isDesc: !1,
|
|
780
|
+
isRoot: !0
|
|
781
|
+
},
|
|
782
|
+
{
|
|
783
|
+
name: "league_name",
|
|
784
|
+
isDesc: !1,
|
|
785
|
+
isRoot: !0
|
|
786
|
+
}
|
|
787
|
+
]), w = g(0), M = O(() => ({
|
|
788
|
+
"--width-details": `${E.value}px`,
|
|
789
|
+
"--gap-static-row": `${x.value ? "8px" : "18px"}`,
|
|
790
|
+
"--width-static-column": `${x.value ? "50%" : "436px"}`
|
|
791
|
+
})), x = O(() => E.value < 600);
|
|
792
|
+
V(
|
|
793
|
+
() => i.players,
|
|
653
794
|
(e) => {
|
|
654
|
-
e && e.length && (
|
|
655
|
-
const a =
|
|
656
|
-
...
|
|
795
|
+
e && e.length && (m.value = e.map((l, o) => {
|
|
796
|
+
const a = o + 1, C = {
|
|
797
|
+
...l,
|
|
657
798
|
position: a < 10 ? `0${a}` : `${a}`,
|
|
658
799
|
isSelected: !1,
|
|
659
800
|
isExpanded: !1,
|
|
660
|
-
isOdd:
|
|
661
|
-
index:
|
|
801
|
+
isOdd: o % 2 !== 0,
|
|
802
|
+
index: o
|
|
662
803
|
};
|
|
663
|
-
return
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
804
|
+
return l.stats && l.stats.length && (C.stats = l.stats.map((b) => ({
|
|
805
|
+
...b,
|
|
806
|
+
isDesc: !1,
|
|
807
|
+
isRoot: !1
|
|
808
|
+
}))), C.parameters && Object.entries(C.parameters).forEach(([b, $]) => {
|
|
809
|
+
const et = C.stats.find((mt) => mt.custom_category_id === Number(b));
|
|
810
|
+
et && (et.parameters = $);
|
|
811
|
+
}), C;
|
|
812
|
+
}), c.value = m.value.map((l) => ({
|
|
813
|
+
...l
|
|
814
|
+
})));
|
|
668
815
|
},
|
|
669
816
|
{ immediate: !0, deep: !0 }
|
|
670
|
-
),
|
|
671
|
-
() =>
|
|
817
|
+
), V(
|
|
818
|
+
() => i.isEditMode,
|
|
672
819
|
(e) => {
|
|
673
|
-
e &&
|
|
674
|
-
|
|
820
|
+
e && m.value.forEach((l) => {
|
|
821
|
+
l.isSelected = !1;
|
|
675
822
|
});
|
|
676
823
|
}
|
|
677
|
-
),
|
|
678
|
-
|
|
824
|
+
), V(
|
|
825
|
+
() => j.value,
|
|
826
|
+
(e) => {
|
|
827
|
+
if (e) {
|
|
828
|
+
let l = [...c.value];
|
|
829
|
+
e.isRoot ? l.sort((o, a) => typeof o[e.name] == "string" ? e.isDesc ? o[e.name].localeCompare(a[e.name]) : o[e.name].localeCompare(a[e.name]) * -1 : e.isDesc ? a[e.name] - o[e.name] : o[e.name] - a[e.name]) : l.sort((o, a) => {
|
|
830
|
+
const C = o.stats.find(($) => $.name === e.name), b = a.stats.find(($) => $.name === e.name);
|
|
831
|
+
return typeof C.value == "string" ? e.isDesc ? C.total.localeCompare(b.total) : C.total.localeCompare(b.total) * -1 : e.isDesc ? b.total - C.total : C.total - b.total;
|
|
832
|
+
}), l.forEach((o, a) => {
|
|
833
|
+
o.isOdd = a % 2 !== 0;
|
|
834
|
+
}), c.value = l;
|
|
835
|
+
} else
|
|
836
|
+
c.value.sort((l, o) => l.index - o.index).forEach((l, o) => {
|
|
837
|
+
l.isOdd = o % 2 !== 0;
|
|
838
|
+
});
|
|
839
|
+
},
|
|
840
|
+
{ immediate: !0, deep: !0 }
|
|
841
|
+
), V(
|
|
842
|
+
p,
|
|
679
843
|
(e) => {
|
|
680
|
-
const
|
|
681
|
-
|
|
844
|
+
const o = document.querySelectorAll(".static-row")[I.value + 1];
|
|
845
|
+
o && (o.style.marginTop = `${e}px`), i.isGeneral ? U(I.value, e) : R.value && R.value.setMarginTopDetails(I.value, e), e === 0 && F.value && K(F.value);
|
|
682
846
|
}
|
|
683
847
|
);
|
|
684
|
-
function
|
|
848
|
+
function U(e, l) {
|
|
685
849
|
const a = document.querySelectorAll(".scrollable-row")[e + 2];
|
|
686
|
-
a && (a.style.marginTop = `${
|
|
850
|
+
a && (a.style.marginTop = `${l}px`);
|
|
851
|
+
}
|
|
852
|
+
function ct(e) {
|
|
853
|
+
u("click-parameters", e);
|
|
687
854
|
}
|
|
688
|
-
function
|
|
689
|
-
|
|
855
|
+
function P(e) {
|
|
856
|
+
e && (e.isDesc = !e.isDesc), j.value = e;
|
|
690
857
|
}
|
|
691
|
-
function
|
|
692
|
-
const
|
|
858
|
+
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, a = {
|
|
693
860
|
isFeaturedPlayers: !1,
|
|
694
861
|
mainSectionType: 1,
|
|
695
862
|
playListType: 2,
|
|
696
863
|
gameIds: null,
|
|
697
|
-
playerIds:
|
|
864
|
+
playerIds: o ? [o] : [],
|
|
698
865
|
goalkeeperIds: [],
|
|
699
866
|
matchResult: [1, 2, 3],
|
|
700
867
|
categorySingleName: "",
|
|
@@ -709,26 +876,26 @@ const At = /* @__PURE__ */ Rt(j, [["render", Zt], ["__scopeId", "data-v-f3ee6b2b
|
|
|
709
876
|
}
|
|
710
877
|
};
|
|
711
878
|
if (e.stat && e.stat.parameters && (a.parameters = e.stat.parameters), e.stat && e.stat.seasons && e.stat.seasons.length || e.seasons && e.seasons.length) {
|
|
712
|
-
const
|
|
879
|
+
const C = [
|
|
713
880
|
...e.stat && e.stat.seasons && e.stat.seasons.length ? e.stat.seasons : e.seasons
|
|
714
881
|
];
|
|
715
|
-
|
|
882
|
+
C.sort((b, $) => b - $), a.seasonId = C.shift(), a.seasonsIds = C;
|
|
716
883
|
} else (e.season_id || e.seasonId) && (a.seasonId = e.season_id || e.seasonId);
|
|
717
|
-
e.stat ? e.stat.category_id && e.stat.category_id.length ? a.categoryIds = e.stat.category_id : e.stat.custom_category_id && (a.customCategoryIds = [e.stat.custom_category_id]) : a.categoryIds =
|
|
884
|
+
e.stat ? e.stat.category_id && e.stat.category_id.length ? a.categoryIds = e.stat.category_id : e.stat.custom_category_id && (a.customCategoryIds = [e.stat.custom_category_id]) : a.categoryIds = ht(e.player_position), u("open-media", a);
|
|
718
885
|
}
|
|
719
|
-
function
|
|
720
|
-
|
|
721
|
-
for (const
|
|
722
|
-
|
|
723
|
-
}),
|
|
886
|
+
function ut() {
|
|
887
|
+
f = new ResizeObserver((e) => {
|
|
888
|
+
for (const l of e)
|
|
889
|
+
E.value = l.contentRect.width;
|
|
890
|
+
}), f.observe(S.value);
|
|
724
891
|
}
|
|
725
|
-
function
|
|
726
|
-
|
|
727
|
-
for (const
|
|
728
|
-
|
|
729
|
-
}),
|
|
892
|
+
function ft(e) {
|
|
893
|
+
_ = new ResizeObserver((l) => {
|
|
894
|
+
for (const o of l)
|
|
895
|
+
p.value = o.contentRect.height;
|
|
896
|
+
}), _.observe(e);
|
|
730
897
|
}
|
|
731
|
-
function
|
|
898
|
+
function ht(e) {
|
|
732
899
|
return e === "POR" ? [39, 40, 52, 53, 54, 55, 323, 324, 608, 774, 802] : [
|
|
733
900
|
10,
|
|
734
901
|
12,
|
|
@@ -775,233 +942,317 @@ const At = /* @__PURE__ */ Rt(j, [["render", Zt], ["__scopeId", "data-v-f3ee6b2b
|
|
|
775
942
|
488
|
|
776
943
|
];
|
|
777
944
|
}
|
|
778
|
-
function
|
|
779
|
-
|
|
780
|
-
const
|
|
781
|
-
|
|
945
|
+
function vt(e, l) {
|
|
946
|
+
l.isSelected = e;
|
|
947
|
+
const o = m.value.filter((a) => a.isSelected);
|
|
948
|
+
u("change-selected-players", o);
|
|
782
949
|
}
|
|
783
|
-
function
|
|
784
|
-
|
|
950
|
+
function pt(e) {
|
|
951
|
+
u("view-profile", e);
|
|
785
952
|
}
|
|
786
|
-
function
|
|
787
|
-
|
|
953
|
+
function J(e) {
|
|
954
|
+
u("delete-from-list", e);
|
|
788
955
|
}
|
|
789
|
-
function
|
|
790
|
-
|
|
956
|
+
function X(e) {
|
|
957
|
+
u("add-to-list", e);
|
|
791
958
|
}
|
|
792
|
-
function
|
|
793
|
-
|
|
959
|
+
function _t(e) {
|
|
960
|
+
u("show-graph", e);
|
|
794
961
|
}
|
|
795
|
-
function
|
|
962
|
+
function K(e) {
|
|
796
963
|
if (e.isExpanded) {
|
|
797
|
-
e.isExpanded = !1,
|
|
964
|
+
e.isExpanded = !1, F.value = null;
|
|
798
965
|
return;
|
|
799
966
|
}
|
|
800
|
-
const
|
|
801
|
-
if (
|
|
802
|
-
|
|
967
|
+
const l = m.value.find((b) => b.isExpanded);
|
|
968
|
+
if (l && (l.isExpanded = !1), l) {
|
|
969
|
+
F.value = e;
|
|
803
970
|
return;
|
|
804
971
|
}
|
|
805
|
-
const
|
|
806
|
-
|
|
972
|
+
const o = document.querySelectorAll(".details-row");
|
|
973
|
+
let a = -1;
|
|
974
|
+
o.forEach((b, $) => {
|
|
975
|
+
b.id === `dr-${e.id}` && (a = $);
|
|
976
|
+
});
|
|
977
|
+
const C = o[a];
|
|
978
|
+
I.value = a, ft(C), e.isExpanded = !0;
|
|
807
979
|
}
|
|
808
|
-
let
|
|
809
|
-
|
|
810
|
-
},
|
|
811
|
-
|
|
980
|
+
let Z = !1, Q, Y, tt = function(e) {
|
|
981
|
+
Z = !0, Q = e.pageX - k.value.offsetLeft, Y = k.value.scrollLeft;
|
|
982
|
+
}, A = function() {
|
|
983
|
+
Z = !1;
|
|
812
984
|
};
|
|
813
|
-
function
|
|
814
|
-
|
|
815
|
-
if (!
|
|
985
|
+
function gt() {
|
|
986
|
+
k.value && (k.value.addEventListener("mousemove", (e) => {
|
|
987
|
+
if (!Z)
|
|
816
988
|
return;
|
|
817
|
-
const
|
|
818
|
-
|
|
819
|
-
}),
|
|
989
|
+
const o = e.pageX - k.value.offsetLeft - Q;
|
|
990
|
+
k.value.scrollLeft = Y - o;
|
|
991
|
+
}), k.value.addEventListener("mousedown", tt, !1), k.value.addEventListener("mouseup", A, !1), k.value.addEventListener("mouseleave", A, !1));
|
|
820
992
|
}
|
|
821
|
-
return
|
|
822
|
-
|
|
823
|
-
}),
|
|
824
|
-
|
|
825
|
-
}), (e,
|
|
993
|
+
return rt(() => {
|
|
994
|
+
ut(), gt();
|
|
995
|
+
}), Ct(() => {
|
|
996
|
+
f && f.disconnect(), _ && _.disconnect(), k.value && (k.value.removeEventListener("mousemove", tt, !1), k.value.removeEventListener("mouseup", A, !1), k.value.removeEventListener("mouseleave", A, !1));
|
|
997
|
+
}), (e, l) => (n(), r("div", {
|
|
826
998
|
class: "table",
|
|
827
999
|
ref_key: "tableSC",
|
|
828
|
-
ref:
|
|
829
|
-
style:
|
|
1000
|
+
ref: S,
|
|
1001
|
+
style: B(M.value),
|
|
1002
|
+
key: w.value
|
|
830
1003
|
}, [
|
|
831
|
-
t("div",
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
1004
|
+
t("div", ie, [
|
|
1005
|
+
t("div", le, [
|
|
1006
|
+
ne,
|
|
1007
|
+
t("div", {
|
|
1008
|
+
role: "button",
|
|
1009
|
+
class: "restore-button",
|
|
1010
|
+
onClick: l[0] || (l[0] = (o) => P(null))
|
|
1011
|
+
}, de)
|
|
1012
|
+
]),
|
|
1013
|
+
(n(!0), r(T, null, z(c.value, (o) => (n(), r("div", {
|
|
1014
|
+
key: `s-${o.id}`,
|
|
1015
|
+
class: y(["row static-row", { odd: o.isOdd }])
|
|
836
1016
|
}, [
|
|
837
|
-
|
|
838
|
-
default:
|
|
839
|
-
|
|
840
|
-
|
|
1017
|
+
ot(kt, null, {
|
|
1018
|
+
default: wt(() => [
|
|
1019
|
+
bt(t("div", {
|
|
1020
|
+
id: `dr-${o.id}`,
|
|
1021
|
+
class: y(["details-row", { odd: o.isOdd }])
|
|
841
1022
|
}, [
|
|
842
|
-
t("div",
|
|
843
|
-
t("div",
|
|
844
|
-
t("div",
|
|
1023
|
+
t("div", ue, [
|
|
1024
|
+
t("div", fe, [
|
|
1025
|
+
t("div", he, [
|
|
845
1026
|
t("div", null, [
|
|
846
|
-
|
|
847
|
-
t("span",
|
|
1027
|
+
D("Equipo: "),
|
|
1028
|
+
t("span", ve, h(o.team_name), 1)
|
|
848
1029
|
]),
|
|
849
1030
|
t("div", null, [
|
|
850
|
-
|
|
851
|
-
t("span",
|
|
1031
|
+
D("Edad: "),
|
|
1032
|
+
t("span", pe, h(o.player_age) + " Años", 1)
|
|
852
1033
|
]),
|
|
853
1034
|
t("div", null, [
|
|
854
|
-
|
|
855
|
-
t("span",
|
|
1035
|
+
D("Nacionalidad: "),
|
|
1036
|
+
t("span", _e, h(o.player_country), 1)
|
|
856
1037
|
]),
|
|
857
1038
|
t("div", null, [
|
|
858
|
-
|
|
859
|
-
t("span",
|
|
1039
|
+
D("Posición: "),
|
|
1040
|
+
t("span", ge, h(o.position_name), 1)
|
|
860
1041
|
])
|
|
861
1042
|
]),
|
|
862
|
-
t("div",
|
|
1043
|
+
t("div", me, [
|
|
863
1044
|
t("div", null, [
|
|
864
|
-
|
|
865
|
-
t("span",
|
|
1045
|
+
D("Partidos Jugados: "),
|
|
1046
|
+
t("span", Ce, h(o.player_games), 1)
|
|
866
1047
|
]),
|
|
867
1048
|
t("div", null, [
|
|
868
|
-
|
|
869
|
-
t("span",
|
|
1049
|
+
D("Minutos Jugados: "),
|
|
1050
|
+
t("span", ke, h(o.player_min), 1)
|
|
870
1051
|
])
|
|
871
1052
|
])
|
|
872
1053
|
]),
|
|
873
1054
|
t("div", {
|
|
874
1055
|
class: "details-row__buttons",
|
|
875
|
-
style:
|
|
1056
|
+
style: B(x.value ? "margin-left: 0; gap: 8px;" : "")
|
|
876
1057
|
}, [
|
|
877
1058
|
t("div", {
|
|
878
1059
|
role: "button",
|
|
879
1060
|
class: "button",
|
|
880
|
-
onClick: (a) =>
|
|
881
|
-
},
|
|
882
|
-
|
|
1061
|
+
onClick: (a) => _t(o)
|
|
1062
|
+
}, xe, 8, we),
|
|
1063
|
+
s.isTableFromList ? (n(), r("div", {
|
|
883
1064
|
key: 0,
|
|
884
1065
|
role: "button",
|
|
885
1066
|
class: "button",
|
|
886
|
-
onClick: (a) =>
|
|
887
|
-
},
|
|
1067
|
+
onClick: (a) => J(o)
|
|
1068
|
+
}, $e, 8, Se)) : (n(), r("div", {
|
|
888
1069
|
key: 1,
|
|
889
1070
|
role: "button",
|
|
890
1071
|
class: "button",
|
|
891
|
-
onClick: (a) =>
|
|
892
|
-
},
|
|
1072
|
+
onClick: (a) => X(o)
|
|
1073
|
+
}, Pe, 8, Be)),
|
|
893
1074
|
t("div", {
|
|
894
1075
|
role: "button",
|
|
895
1076
|
class: "button green",
|
|
896
|
-
onClick: (a) =>
|
|
897
|
-
},
|
|
1077
|
+
onClick: (a) => pt(o)
|
|
1078
|
+
}, Te, 8, Ie)
|
|
898
1079
|
], 4)
|
|
899
1080
|
])
|
|
900
|
-
],
|
|
901
|
-
[
|
|
1081
|
+
], 10, ce), [
|
|
1082
|
+
[yt, o.isExpanded]
|
|
902
1083
|
])
|
|
903
1084
|
]),
|
|
904
1085
|
_: 2
|
|
905
1086
|
}, 1024),
|
|
906
|
-
|
|
1087
|
+
s.isEditMode ? (n(), st(it(Ot), {
|
|
907
1088
|
key: 0,
|
|
908
1089
|
fontFamily: "Poppins-Regular",
|
|
909
1090
|
labelFontSize: "14px",
|
|
910
|
-
"model-value":
|
|
911
|
-
"onUpdate:modelValue": (a) =>
|
|
1091
|
+
"model-value": o.isSelected,
|
|
1092
|
+
"onUpdate:modelValue": (a) => vt(a, o)
|
|
912
1093
|
}, null, 8, ["model-value", "onUpdate:modelValue"])) : L("", !0),
|
|
913
|
-
t("div",
|
|
914
|
-
t("div",
|
|
915
|
-
|
|
1094
|
+
t("div", Fe, [
|
|
1095
|
+
t("div", De, h(o.position), 1),
|
|
1096
|
+
s.isTableFromList ? (n(), r("svg", {
|
|
916
1097
|
key: 0,
|
|
917
1098
|
width: "20",
|
|
918
1099
|
height: "20",
|
|
919
1100
|
viewBox: "0 0 20 20",
|
|
920
1101
|
fill: "none",
|
|
921
1102
|
xmlns: "http://www.w3.org/2000/svg",
|
|
922
|
-
onClick: (a) =>
|
|
923
|
-
},
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
1103
|
+
onClick: (a) => J(o)
|
|
1104
|
+
}, Ze, 8, Ve)) : (n(), r("div", We, [
|
|
1105
|
+
(n(), r("svg", {
|
|
1106
|
+
width: "20",
|
|
1107
|
+
height: "20",
|
|
1108
|
+
viewBox: "0 0 20 20",
|
|
1109
|
+
fill: "none",
|
|
1110
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
1111
|
+
onClick: (a) => X(o)
|
|
1112
|
+
}, qe, 8, He))
|
|
1113
|
+
])),
|
|
1114
|
+
t("div", Je, [
|
|
933
1115
|
t("div", null, [
|
|
934
1116
|
t("img", {
|
|
935
|
-
src:
|
|
1117
|
+
src: o.player_photo,
|
|
936
1118
|
alt: "player photo"
|
|
937
|
-
}, null, 8,
|
|
1119
|
+
}, null, 8, Xe)
|
|
938
1120
|
])
|
|
939
1121
|
]),
|
|
940
|
-
t("div",
|
|
1122
|
+
t("div", Ke, h(o.player_name), 1)
|
|
941
1123
|
]),
|
|
942
|
-
t("div",
|
|
943
|
-
(
|
|
944
|
-
class:
|
|
1124
|
+
t("div", Qe, [
|
|
1125
|
+
(n(), r("svg", {
|
|
1126
|
+
class: y(["_arrowExpandIcon_6ak64_1115 _rotate_6ak64_5", { expanded: o.isExpanded }]),
|
|
945
1127
|
width: "12",
|
|
946
1128
|
height: "8",
|
|
947
1129
|
viewBox: "0 0 12 8",
|
|
948
1130
|
fill: "#D9D9D9",
|
|
949
1131
|
xmlns: "http://www.w3.org/2000/svg",
|
|
950
|
-
onClick: (a) =>
|
|
951
|
-
},
|
|
1132
|
+
onClick: (a) => K(o)
|
|
1133
|
+
}, eo, 10, Ye))
|
|
952
1134
|
])
|
|
953
1135
|
], 2))), 128))
|
|
954
1136
|
]),
|
|
955
1137
|
t("div", {
|
|
956
1138
|
ref_key: "scrollableColumns",
|
|
957
|
-
ref:
|
|
1139
|
+
ref: k,
|
|
958
1140
|
class: "table__scrollable-columns"
|
|
959
1141
|
}, [
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
1142
|
+
s.isGeneral ? (n(), r(T, { key: 0 }, [
|
|
1143
|
+
t("div", oo, [
|
|
1144
|
+
t("div", so, [
|
|
1145
|
+
io,
|
|
1146
|
+
(n(), r("svg", {
|
|
1147
|
+
width: "18",
|
|
1148
|
+
height: "18",
|
|
1149
|
+
viewBox: "0 0 18 18",
|
|
1150
|
+
fill: "none",
|
|
1151
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
1152
|
+
onClick: l[1] || (l[1] = (o) => P(v.value[0]))
|
|
1153
|
+
}, no))
|
|
1154
|
+
]),
|
|
1155
|
+
t("div", ao, [
|
|
1156
|
+
ro,
|
|
1157
|
+
(n(), r("svg", {
|
|
1158
|
+
width: "18",
|
|
1159
|
+
height: "18",
|
|
1160
|
+
viewBox: "0 0 18 18",
|
|
1161
|
+
fill: "none",
|
|
1162
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
1163
|
+
onClick: l[2] || (l[2] = (o) => P(v.value[1]))
|
|
1164
|
+
}, uo))
|
|
1165
|
+
]),
|
|
1166
|
+
t("div", fo, [
|
|
1167
|
+
ho,
|
|
1168
|
+
(n(), r("svg", {
|
|
1169
|
+
width: "18",
|
|
1170
|
+
height: "18",
|
|
1171
|
+
viewBox: "0 0 18 18",
|
|
1172
|
+
fill: "none",
|
|
1173
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
1174
|
+
onClick: l[3] || (l[3] = (o) => P(v.value[2]))
|
|
1175
|
+
}, po))
|
|
1176
|
+
]),
|
|
1177
|
+
_o,
|
|
1178
|
+
t("div", go, [
|
|
1179
|
+
mo,
|
|
1180
|
+
(n(), r("svg", {
|
|
1181
|
+
width: "18",
|
|
1182
|
+
height: "18",
|
|
1183
|
+
viewBox: "0 0 18 18",
|
|
1184
|
+
fill: "none",
|
|
1185
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
1186
|
+
onClick: l[4] || (l[4] = (o) => P(v.value[3]))
|
|
1187
|
+
}, ko))
|
|
1188
|
+
]),
|
|
1189
|
+
t("div", wo, [
|
|
1190
|
+
bo,
|
|
1191
|
+
(n(), r("svg", {
|
|
1192
|
+
width: "18",
|
|
1193
|
+
height: "18",
|
|
1194
|
+
viewBox: "0 0 18 18",
|
|
1195
|
+
fill: "none",
|
|
1196
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
1197
|
+
onClick: l[5] || (l[5] = (o) => P(v.value[4]))
|
|
1198
|
+
}, xo))
|
|
1199
|
+
]),
|
|
1200
|
+
t("div", So, [
|
|
1201
|
+
Mo,
|
|
1202
|
+
(n(), r("svg", {
|
|
1203
|
+
width: "18",
|
|
1204
|
+
height: "18",
|
|
1205
|
+
viewBox: "0 0 18 18",
|
|
1206
|
+
fill: "none",
|
|
1207
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
1208
|
+
onClick: l[6] || (l[6] = (o) => P(v.value[5]))
|
|
1209
|
+
}, $o))
|
|
1210
|
+
]),
|
|
1211
|
+
Bo
|
|
1212
|
+
]),
|
|
1213
|
+
(n(!0), r(T, null, z(c.value, (o) => (n(), r("div", {
|
|
1214
|
+
key: `i-${o.id}`,
|
|
964
1215
|
class: "row scrollable-row"
|
|
965
1216
|
}, [
|
|
966
1217
|
t("div", {
|
|
967
|
-
class:
|
|
1218
|
+
class: y(["row team-info", { odd: o.isOdd }])
|
|
968
1219
|
}, [
|
|
969
|
-
t("div",
|
|
1220
|
+
t("div", Ro, [
|
|
970
1221
|
t("img", {
|
|
971
|
-
src:
|
|
1222
|
+
src: o.team_logo,
|
|
972
1223
|
alt: "team logo"
|
|
973
|
-
}, null, 8,
|
|
1224
|
+
}, null, 8, Eo)
|
|
974
1225
|
]),
|
|
975
|
-
t("div",
|
|
1226
|
+
t("div", Po, h(o.team_abrev), 1)
|
|
976
1227
|
], 2),
|
|
977
1228
|
t("div", {
|
|
978
|
-
class:
|
|
979
|
-
},
|
|
1229
|
+
class: y(["row data-info", { odd: o.isOdd }])
|
|
1230
|
+
}, h(o.player_position), 3),
|
|
980
1231
|
t("div", {
|
|
981
|
-
class:
|
|
982
|
-
},
|
|
1232
|
+
class: y(["row data-info", { odd: o.isOdd }])
|
|
1233
|
+
}, h(o.player_age), 3),
|
|
983
1234
|
t("div", {
|
|
984
|
-
class:
|
|
1235
|
+
class: y(["row data-info", { odd: o.isOdd }])
|
|
985
1236
|
}, [
|
|
986
1237
|
t("img", {
|
|
987
|
-
src:
|
|
1238
|
+
src: o.player_country_flag,
|
|
988
1239
|
alt: "player country flag",
|
|
989
1240
|
class: "country-flag"
|
|
990
|
-
}, null, 8,
|
|
1241
|
+
}, null, 8, Io)
|
|
991
1242
|
], 2),
|
|
992
1243
|
t("div", {
|
|
993
|
-
class:
|
|
994
|
-
},
|
|
1244
|
+
class: y(["row data-info", { odd: o.isOdd }])
|
|
1245
|
+
}, h(o.player_games), 3),
|
|
995
1246
|
t("div", {
|
|
996
|
-
class:
|
|
997
|
-
},
|
|
1247
|
+
class: y(["row data-info", { odd: o.isOdd }])
|
|
1248
|
+
}, h(o.player_min), 3),
|
|
998
1249
|
t("div", {
|
|
999
|
-
class:
|
|
1000
|
-
},
|
|
1250
|
+
class: y(["row data-info", { odd: o.isOdd }])
|
|
1251
|
+
}, h(o.league_name), 3),
|
|
1001
1252
|
t("div", {
|
|
1002
|
-
class:
|
|
1253
|
+
class: y(["row data-info", { odd: o.isOdd }])
|
|
1003
1254
|
}, [
|
|
1004
|
-
|
|
1255
|
+
ot(it(Nt), {
|
|
1005
1256
|
icon: "https://golstatsimages.blob.core.windows.net/images-library/arrow-btn.png",
|
|
1006
1257
|
"icon-size": "19px",
|
|
1007
1258
|
"icon-position": "left",
|
|
@@ -1014,26 +1265,24 @@ const At = /* @__PURE__ */ Rt(j, [["render", Zt], ["__scopeId", "data-v-f3ee6b2b
|
|
|
1014
1265
|
"border-color": "#55636e",
|
|
1015
1266
|
"text-value": "Ver videos",
|
|
1016
1267
|
"font-size": "10px",
|
|
1017
|
-
onClick: (a) =>
|
|
1268
|
+
onClick: (a) => q(o)
|
|
1018
1269
|
}, null, 8, ["onClick"])
|
|
1019
|
-
], 2)
|
|
1020
|
-
t("div", {
|
|
1021
|
-
class: m(["row data-info", { odd: i.isOdd }])
|
|
1022
|
-
}, null, 2)
|
|
1270
|
+
], 2)
|
|
1023
1271
|
]))), 128))
|
|
1024
|
-
], 64)) : (
|
|
1272
|
+
], 64)) : (n(), st(se, {
|
|
1025
1273
|
key: 1,
|
|
1026
1274
|
ref_key: "scrollColumns",
|
|
1027
|
-
ref:
|
|
1028
|
-
"available-players":
|
|
1029
|
-
"is-edit-mode":
|
|
1030
|
-
onOpenMedia:
|
|
1031
|
-
onClickParameters:
|
|
1275
|
+
ref: R,
|
|
1276
|
+
"available-players": c.value,
|
|
1277
|
+
"is-edit-mode": s.isEditMode,
|
|
1278
|
+
onOpenMedia: q,
|
|
1279
|
+
onClickParameters: ct,
|
|
1280
|
+
onSort: P
|
|
1032
1281
|
}, null, 8, ["available-players", "is-edit-mode"]))
|
|
1033
1282
|
], 512)
|
|
1034
1283
|
], 4));
|
|
1035
1284
|
}
|
|
1036
|
-
},
|
|
1285
|
+
}, Fo = /* @__PURE__ */ dt(Oo, [["__scopeId", "data-v-18f2714a"]]);
|
|
1037
1286
|
export {
|
|
1038
|
-
|
|
1287
|
+
Fo as GSCTableScrollable
|
|
1039
1288
|
};
|