@golstats/gsc-table-scrollable 1.0.12 → 1.0.14

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