@golstats/gsc-table-scrollable 1.0.16 → 1.0.18

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