@golstats/gsc-relevant-data 1.1.1 → 1.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{CardBase-BNBUZGU7-CQL3FKH4.js → CardBase-LHalf2V1-DH_4cIUy.js} +52 -43
- package/dist/{CardBaseAllIndividual-D5JoiQqR-DWvua8kU.js → CardBaseAllIndividual-CWBagEwG-uRQJM1eE.js} +7 -7
- package/dist/{CardGeneral-DTteAML4-BoCp5vlA.js → CardGeneral-eo3knIIA-DiSDBUxd.js} +139 -135
- package/dist/{CardGeneralIndividual-D-FKsjFO-DmczWq_i.js → CardGeneralIndividual-CAzGqXtP-CKucAqIc.js} +97 -93
- package/dist/{CardGeneralTeams-C0Z5qzcM-Bh5TOCqP.js → CardGeneralTeams-uDvy9Z7o-4o1o3rmK.js} +226 -222
- package/dist/{CardIndividual-BhPQqGlc-CejXGqdX.js → CardIndividual-BKTMzciS-CVYDhxcW.js} +61 -57
- package/dist/{CardIndividual1vs1-QeAXN4f--v6tZgRnG.js → CardIndividual1vs1-DnPVKDmp-DnamlHEl.js} +47 -43
- package/dist/{CardIndividualAreas-CHLqS1mw-PZoijJ8r.js → CardIndividualAreas-D5l7k_ww-DUXH6N-P.js} +61 -57
- package/dist/{CardIndividualCenters-hEROPxzH-CtlPKP5Y.js → CardIndividualCenters-BqtSPfOh-CHUdOS1l.js} +41 -37
- package/dist/{CardIndividualDistance-BQ8zwHOn-CA5xiYDZ.js → CardIndividualDistance-DjbQVGp0-BG1JjZiV.js} +26 -22
- package/dist/{CardIndividualFouls-ChdbYcE_-B40KY0oC.js → CardIndividualFouls-C-mzTK7G-Cog70HZW.js} +36 -32
- package/dist/{CardIndividualGoalParticipation-B9xqQ51i-OsxCuASk.js → CardIndividualGoalParticipation-DvGAjbsL-GeLVQIHO.js} +26 -22
- package/dist/{CardIndividualGoals-BtqVuDiw-Bq-a1M0D.js → CardIndividualGoals-CMC_PTbH-BamdFgox.js} +41 -37
- package/dist/{CardIndividualGold-BLT3Mk27-CaeXji6h.js → CardIndividualGold-D_-tb2Tk-DHL-TpvC.js} +23 -19
- package/dist/{CardIndividualNoGoalReceived-DJoQF9wO-Dxf13B0V.js → CardIndividualNoGoalReceived-DQSO9Yd2-D3O-ZUsH.js} +38 -34
- package/dist/{CardIndividualPerformance-lhPwEGlm-B7WXzM3P.js → CardIndividualPerformance-zyTJ5UCy-DF-f26EN.js} +31 -27
- package/dist/{CardIndividualSaves-CVjR2-WK-DUwpE6Cq.js → CardIndividualSaves-BecZ6U_G-nCSJXu1D.js} +56 -51
- package/dist/{CardIndividualShotsOnGoal-BHHi894T-B--B6LCk.js → CardIndividualShotsOnGoal-C7aZbXYB-CIQP7Eui.js} +61 -57
- package/dist/{CardIndividualStatistics-C-kaGAYd-rITqUEcS.js → CardIndividualStatistics-C20JRZ7J-Ft1l0Wp0.js} +31 -27
- package/dist/{CardPromTournament-BFRTPeVe-DyS-zRNp.js → CardPromTournament-BuPsC06q-BiAAvgkF.js} +50 -46
- package/dist/{CardSuccessfulPasses-C_L5d6hy-BH3ayI_z.js → CardSuccessfulPasses-BlTLO_xO-CqjTwJQB.js} +92 -88
- package/dist/{CardTheMostProductive-BBt8B_sf-CljO4w32.js → CardTheMostProductive-CSBkS-Z_-DFac0hnk.js} +26 -22
- package/dist/{PlayerProfileCircle-CJTiOj5E-C-JYhyfq.js → PlayerProfileCircle-DPjdqyyS-vdPCwx6y.js} +6 -6
- package/dist/{Shield-If5I91AC-A8wl9qI_.js → Shield-CfA9mcrj-w0qszHpb.js} +10 -10
- package/dist/{TimeSvg-B3vSNjgQ-C-C9O8pw.js → TimeSvg-B3vSNjgQ-BbQ6V9Cu.js} +3 -3
- package/dist/{TimeSvg2-BX0bDokD-DUAW7DAH.js → TimeSvg2-BX0bDokD-BWiiXdSp.js} +3 -3
- package/dist/gsc-relevant-data.css +1 -1
- package/dist/gsc-relevant-data.js +1 -1
- package/dist/gsc-relevant-data.umd.cjs +9 -6
- package/dist/{index-CSLdtYfE.js → index-DpIUU483.js} +2382 -1810
- package/package.json +2 -2
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { useCssVars as v, computed as u,
|
|
2
|
-
import {
|
|
3
|
-
import "./index-
|
|
4
|
-
import { d as
|
|
1
|
+
import { useCssVars as v, computed as u, openBlock as l, createElementBlock as s, normalizeStyle as C, createBlock as _, mergeProps as F, withCtx as M, createElementVNode as t, createVNode as S, toDisplayString as p, createCommentVNode as h, createTextVNode as q, pushScopeId as D, popScopeId as I } from "vue";
|
|
2
|
+
import { w as b, A as T, O as V, z as E, V as N, E as B } from "./CardBase-LHalf2V1-DH_4cIUy.js";
|
|
3
|
+
import "./index-DpIUU483.js";
|
|
4
|
+
import { d as $ } from "./CardBaseAllIndividual-CWBagEwG-uRQJM1eE.js";
|
|
5
5
|
const y = {
|
|
6
6
|
props: {
|
|
7
7
|
cancha: {
|
|
@@ -47,26 +47,26 @@ const y = {
|
|
|
47
47
|
}
|
|
48
48
|
}, L = () => {
|
|
49
49
|
v((r) => ({
|
|
50
|
-
"
|
|
51
|
-
"
|
|
52
|
-
|
|
50
|
+
"1171bab7": r.colorstat,
|
|
51
|
+
"6e896034": r.accelerometerStyle.percentage,
|
|
52
|
+
"5f9a566f": r.colorcancha
|
|
53
53
|
}));
|
|
54
54
|
}, x = y.setup;
|
|
55
55
|
y.setup = x ? (r, o) => (L(), x(r, o)) : L;
|
|
56
|
-
const i = (r) => (D("data-v-
|
|
56
|
+
const i = (r) => (D("data-v-46fe0ed8"), r = r(), I(), r), A = { class: "outer-box" }, P = {
|
|
57
57
|
key: 0,
|
|
58
58
|
class: "inner-box"
|
|
59
|
-
},
|
|
59
|
+
}, z = {
|
|
60
60
|
key: 1,
|
|
61
61
|
class: "accelerometer"
|
|
62
|
-
},
|
|
62
|
+
}, O = { class: "accelerometer-value" }, Z = /* @__PURE__ */ i(() => /* @__PURE__ */ t("span", { class: "percentage" }, "%", -1)), U = {
|
|
63
63
|
key: 2,
|
|
64
64
|
width: "212",
|
|
65
65
|
height: "137",
|
|
66
66
|
viewBox: "0 0 212 137",
|
|
67
67
|
fill: "none",
|
|
68
68
|
xmlns: "http://www.w3.org/2000/svg"
|
|
69
|
-
},
|
|
69
|
+
}, j = ["fill"], H = /* @__PURE__ */ i(() => /* @__PURE__ */ t("mask", {
|
|
70
70
|
id: "path-2-inside-1_2150_1935",
|
|
71
71
|
fill: "white"
|
|
72
72
|
}, [
|
|
@@ -83,14 +83,14 @@ const i = (r) => (D("data-v-9e7db71d"), r = r(), T(), r), A = { class: "outer-bo
|
|
|
83
83
|
stroke: "#DFE3E2",
|
|
84
84
|
"stroke-width": "0.450603",
|
|
85
85
|
"stroke-linecap": "square"
|
|
86
|
-
}, null, -1)), K = ["stroke"], Q = ["stroke"], R = ["stroke"], W = ["stroke"], X = ["stroke"], Y = ["stroke"], tt = { opacity: "0.7" }, at = ["stroke"], ot = ["stroke"], rt = ["stroke"], et = ["stroke"], lt = ["stroke"],
|
|
86
|
+
}, null, -1)), K = ["stroke"], Q = ["stroke"], R = ["stroke"], W = ["stroke"], X = ["stroke"], Y = ["stroke"], tt = { opacity: "0.7" }, at = ["stroke"], ot = ["stroke"], rt = ["stroke"], et = ["stroke"], lt = ["stroke"], st = {
|
|
87
87
|
key: 3,
|
|
88
88
|
width: "212",
|
|
89
89
|
height: "137",
|
|
90
90
|
viewBox: "0 0 212 137",
|
|
91
91
|
fill: "none",
|
|
92
92
|
xmlns: "http://www.w3.org/2000/svg"
|
|
93
|
-
},
|
|
93
|
+
}, ct = ["fill"], it = /* @__PURE__ */ i(() => /* @__PURE__ */ t("mask", {
|
|
94
94
|
id: "path-2-inside-1_2150_1704",
|
|
95
95
|
fill: "white"
|
|
96
96
|
}, [
|
|
@@ -107,14 +107,14 @@ const i = (r) => (D("data-v-9e7db71d"), r = r(), T(), r), A = { class: "outer-bo
|
|
|
107
107
|
stroke: "#DFE3E2",
|
|
108
108
|
"stroke-width": "0.450603",
|
|
109
109
|
"stroke-linecap": "square"
|
|
110
|
-
}, null, -1)), dt = ["stroke"], kt = ["stroke"], pt = ["stroke"], ut = ["stroke"], yt = ["stroke"],
|
|
110
|
+
}, null, -1)), dt = ["stroke"], kt = ["stroke"], pt = ["stroke"], ut = ["stroke"], yt = ["stroke"], wt = ["stroke"], mt = { opacity: "0.7" }, ft = ["stroke"], gt = ["stroke"], Lt = ["stroke"], xt = ["stroke"], vt = ["stroke"], bt = {
|
|
111
111
|
key: 4,
|
|
112
112
|
width: "212",
|
|
113
113
|
height: "137",
|
|
114
114
|
viewBox: "0 0 212 137",
|
|
115
115
|
fill: "none",
|
|
116
116
|
xmlns: "http://www.w3.org/2000/svg"
|
|
117
|
-
},
|
|
117
|
+
}, Ct = ["fill"], _t = /* @__PURE__ */ i(() => /* @__PURE__ */ t("mask", {
|
|
118
118
|
id: "path-2-inside-1_2150_1773",
|
|
119
119
|
fill: "white"
|
|
120
120
|
}, [
|
|
@@ -131,16 +131,16 @@ const i = (r) => (D("data-v-9e7db71d"), r = r(), T(), r), A = { class: "outer-bo
|
|
|
131
131
|
stroke: "#DFE3E2",
|
|
132
132
|
"stroke-width": "0.450603",
|
|
133
133
|
"stroke-linecap": "square"
|
|
134
|
-
}, null, -1)), St = ["stroke"], qt = ["stroke"], Dt = ["stroke"],
|
|
135
|
-
function
|
|
136
|
-
return l(),
|
|
137
|
-
a.type === "box" ? (l(),
|
|
138
|
-
t("div",
|
|
134
|
+
}, null, -1)), St = ["stroke"], qt = ["stroke"], Dt = ["stroke"], It = ["stroke"], Tt = ["stroke"], Vt = ["stroke"], Et = { opacity: "0.7" }, Nt = ["stroke"], Bt = ["stroke"], $t = ["stroke"], At = ["stroke"], Pt = ["stroke"];
|
|
135
|
+
function zt(r, o, a, w, n, e) {
|
|
136
|
+
return l(), s("div", A, [
|
|
137
|
+
a.type === "box" ? (l(), s("div", P, p(a.stat), 1)) : a.type === "accelerometer" ? (l(), s("div", z, [
|
|
138
|
+
t("div", O, [
|
|
139
139
|
q(p(a.stat), 1),
|
|
140
|
-
|
|
140
|
+
Z
|
|
141
141
|
])
|
|
142
142
|
])) : h("", !0),
|
|
143
|
-
e.canchaType === "full" ? (l(),
|
|
143
|
+
e.canchaType === "full" ? (l(), s("svg", U, [
|
|
144
144
|
t("rect", {
|
|
145
145
|
opacity: "0.6",
|
|
146
146
|
x: "1.89551",
|
|
@@ -150,7 +150,7 @@ function Ot(r, o, a, m, n, e) {
|
|
|
150
150
|
transform: "rotate(-90 1.89551 136)",
|
|
151
151
|
fill: a.colorfillcancha,
|
|
152
152
|
"fill-opacity": "0.8"
|
|
153
|
-
}, null, 8,
|
|
153
|
+
}, null, 8, j),
|
|
154
154
|
H,
|
|
155
155
|
t("rect", {
|
|
156
156
|
x: "211.787",
|
|
@@ -234,7 +234,7 @@ function Ot(r, o, a, m, n, e) {
|
|
|
234
234
|
"stroke-dasharray": "1.05 1.05"
|
|
235
235
|
}, null, 8, lt)
|
|
236
236
|
])
|
|
237
|
-
])) : e.canchaType === "own" ? (l(),
|
|
237
|
+
])) : e.canchaType === "own" ? (l(), s("svg", st, [
|
|
238
238
|
t("rect", {
|
|
239
239
|
opacity: "0.6",
|
|
240
240
|
x: "106.002",
|
|
@@ -244,7 +244,7 @@ function Ot(r, o, a, m, n, e) {
|
|
|
244
244
|
transform: "rotate(-90 106.002 136)",
|
|
245
245
|
fill: a.colorfillcancha,
|
|
246
246
|
"fill-opacity": "0.8"
|
|
247
|
-
}, null, 8,
|
|
247
|
+
}, null, 8, ct),
|
|
248
248
|
it,
|
|
249
249
|
t("rect", {
|
|
250
250
|
x: "211.787",
|
|
@@ -295,20 +295,20 @@ function Ot(r, o, a, m, n, e) {
|
|
|
295
295
|
fill: "#D8D8D8",
|
|
296
296
|
stroke: a.colorcancha,
|
|
297
297
|
"stroke-width": "0.450603"
|
|
298
|
-
}, null, 8,
|
|
299
|
-
t("g",
|
|
298
|
+
}, null, 8, wt),
|
|
299
|
+
t("g", mt, [
|
|
300
300
|
t("path", {
|
|
301
301
|
d: "M52.6768 136.08L52.6768 7.43866e-05",
|
|
302
302
|
stroke: a.colorcancha,
|
|
303
303
|
"stroke-width": "0.523385",
|
|
304
304
|
"stroke-dasharray": "1.05 1.05"
|
|
305
|
-
}, null, 8,
|
|
305
|
+
}, null, 8, ft),
|
|
306
306
|
t("path", {
|
|
307
307
|
d: "M105.342 136.08L105.342 7.43866e-05",
|
|
308
308
|
stroke: a.colorcancha,
|
|
309
309
|
"stroke-width": "0.523385",
|
|
310
310
|
"stroke-dasharray": "1.05 1.05"
|
|
311
|
-
}, null, 8,
|
|
311
|
+
}, null, 8, gt),
|
|
312
312
|
t("path", {
|
|
313
313
|
d: "M158.008 136.08L158.008 7.43866e-05",
|
|
314
314
|
stroke: a.colorcancha,
|
|
@@ -328,7 +328,7 @@ function Ot(r, o, a, m, n, e) {
|
|
|
328
328
|
"stroke-dasharray": "1.05 1.05"
|
|
329
329
|
}, null, 8, vt)
|
|
330
330
|
])
|
|
331
|
-
])) : e.canchaType === "rival" ? (l(),
|
|
331
|
+
])) : e.canchaType === "rival" ? (l(), s("svg", bt, [
|
|
332
332
|
t("rect", {
|
|
333
333
|
opacity: "0.6",
|
|
334
334
|
width: "135",
|
|
@@ -336,7 +336,7 @@ function Ot(r, o, a, m, n, e) {
|
|
|
336
336
|
transform: "matrix(-4.37114e-08 -1 -1 4.37114e-08 106.002 136)",
|
|
337
337
|
fill: a.colorfillcancha,
|
|
338
338
|
"fill-opacity": "0.8"
|
|
339
|
-
}, null, 8,
|
|
339
|
+
}, null, 8, Ct),
|
|
340
340
|
_t,
|
|
341
341
|
t("rect", {
|
|
342
342
|
x: "211.787",
|
|
@@ -370,13 +370,13 @@ function Ot(r, o, a, m, n, e) {
|
|
|
370
370
|
stroke: a.colorcancha,
|
|
371
371
|
"stroke-opacity": "0.6",
|
|
372
372
|
"stroke-linecap": "square"
|
|
373
|
-
}, null, 8,
|
|
373
|
+
}, null, 8, It),
|
|
374
374
|
t("path", {
|
|
375
375
|
d: "M71.8618 68.1115C71.8618 49.38 87.0472 34.1951 105.779 34.1951C124.511 34.1951 139.697 49.38 139.697 68.1115C139.697 86.843 124.511 102.028 105.779 102.028C87.0472 102.028 71.8618 86.843 71.8618 68.1115Z",
|
|
376
376
|
stroke: a.colorcancha,
|
|
377
377
|
"stroke-opacity": "0.7",
|
|
378
378
|
"stroke-width": "1.16503"
|
|
379
|
-
}, null, 8,
|
|
379
|
+
}, null, 8, Tt),
|
|
380
380
|
t("ellipse", {
|
|
381
381
|
cx: "105.788",
|
|
382
382
|
cy: "68.1164",
|
|
@@ -386,8 +386,8 @@ function Ot(r, o, a, m, n, e) {
|
|
|
386
386
|
fill: "#FF0000",
|
|
387
387
|
stroke: a.colorcancha,
|
|
388
388
|
"stroke-width": "0.450603"
|
|
389
|
-
}, null, 8,
|
|
390
|
-
t("g",
|
|
389
|
+
}, null, 8, Vt),
|
|
390
|
+
t("g", Et, [
|
|
391
391
|
t("path", {
|
|
392
392
|
d: "M52.6768 136.08L52.6768 7.43866e-05",
|
|
393
393
|
stroke: a.colorcancha,
|
|
@@ -399,13 +399,13 @@ function Ot(r, o, a, m, n, e) {
|
|
|
399
399
|
stroke: a.colorcancha,
|
|
400
400
|
"stroke-width": "0.523385",
|
|
401
401
|
"stroke-dasharray": "1.05 1.05"
|
|
402
|
-
}, null, 8,
|
|
402
|
+
}, null, 8, Bt),
|
|
403
403
|
t("path", {
|
|
404
404
|
d: "M158.008 136.08L158.008 7.43866e-05",
|
|
405
405
|
stroke: a.colorcancha,
|
|
406
406
|
"stroke-width": "0.523385",
|
|
407
407
|
"stroke-dasharray": "1.05 1.05"
|
|
408
|
-
}, null, 8,
|
|
408
|
+
}, null, 8, $t),
|
|
409
409
|
t("path", {
|
|
410
410
|
d: "M210.673 90.7202L0.0105608 90.7202",
|
|
411
411
|
stroke: a.colorcancha,
|
|
@@ -417,12 +417,12 @@ function Ot(r, o, a, m, n, e) {
|
|
|
417
417
|
stroke: a.colorcancha,
|
|
418
418
|
"stroke-width": "0.523385",
|
|
419
419
|
"stroke-dasharray": "1.05 1.05"
|
|
420
|
-
}, null, 8,
|
|
420
|
+
}, null, 8, Pt)
|
|
421
421
|
])
|
|
422
422
|
])) : h("", !0)
|
|
423
423
|
]);
|
|
424
424
|
}
|
|
425
|
-
const
|
|
425
|
+
const Ot = /* @__PURE__ */ b(y, [["render", zt], ["__scopeId", "data-v-46fe0ed8"]]), Zt = { class: "content-wrapper" }, Ut = { class: "content-box" }, jt = { class: "text-container" }, Ht = {
|
|
426
426
|
key: 0,
|
|
427
427
|
class: "title"
|
|
428
428
|
}, Gt = {
|
|
@@ -454,57 +454,61 @@ const Zt = /* @__PURE__ */ C(y, [["render", Ot], ["__scopeId", "data-v-9e7db71d"
|
|
|
454
454
|
idAux: {
|
|
455
455
|
type: String,
|
|
456
456
|
default: ""
|
|
457
|
+
},
|
|
458
|
+
providerId: {
|
|
459
|
+
type: Number,
|
|
460
|
+
default: 0
|
|
457
461
|
}
|
|
458
462
|
},
|
|
459
463
|
setup(r) {
|
|
460
464
|
v((e) => ({
|
|
461
|
-
|
|
465
|
+
ce79d5aa: n.value.subtitle ? "100%" : "78%"
|
|
462
466
|
}));
|
|
463
467
|
const o = r, a = u(() => {
|
|
464
|
-
var e,
|
|
468
|
+
var e, c, d, k, m, f, g;
|
|
465
469
|
return {
|
|
466
470
|
height: o.height,
|
|
467
471
|
width: o.width,
|
|
468
472
|
footerHeight: "193px",
|
|
469
473
|
footerPadding: "24px 24px 30px 24px",
|
|
470
|
-
playerPhotoUrl:
|
|
471
|
-
teamLogoUrl:
|
|
474
|
+
playerPhotoUrl: B(o.data.player_id || "", o.providerId),
|
|
475
|
+
teamLogoUrl: N(o.data.team_id || "", o.providerId) || "",
|
|
472
476
|
cardColor: o.data.thumbnails.colors.background_color || "#000000",
|
|
473
|
-
backgroundImageSrc: E((k = (d = (
|
|
477
|
+
backgroundImageSrc: E((k = (d = (c = (e = o.data) == null ? void 0 : e.thumbnails) == null ? void 0 : c.images) == null ? void 0 : d.background_player_in_action) != null && k[0] ? o.data.thumbnails.images.background_player_in_action[0] : (g = (f = (m = o.data) == null ? void 0 : m.thumbnails) == null ? void 0 : f.images) != null && g.background_team ? o.data.thumbnails.images.background_team : "", o.providerId),
|
|
474
478
|
textColor: o.data.thumbnails.colors.font_color_description || "#FFFFFF",
|
|
475
479
|
footerBodyData: {
|
|
476
480
|
textColor: o.data.thumbnails.colors.font_color_stats || "#FFFFFF",
|
|
477
|
-
description: V(
|
|
481
|
+
description: T(V({ data: o.data, descriptionType: o.descriptionType })),
|
|
478
482
|
totalTextColor: o.data.thumbnails.colors.font_color_stats || "#FFFFFF",
|
|
479
483
|
totalCircleColor: o.data.thumbnails.colors.background_color || "#000000",
|
|
480
484
|
isTotalPercentage: !!o.data.footer.show_percentage
|
|
481
485
|
}
|
|
482
486
|
};
|
|
483
|
-
}),
|
|
487
|
+
}), w = u(() => ({
|
|
484
488
|
"--title-color": o.data.thumbnails.colors.font_color_header || "#FFFFFF"
|
|
485
489
|
})), n = u(() => {
|
|
486
490
|
var e;
|
|
487
491
|
if (!o.data.title) return { title: "", subtitle: "" };
|
|
488
|
-
const
|
|
492
|
+
const c = o.data.title.match(/\*(.*?)\*/), d = c ? c[1] : "", k = c ? o.data.title.replace(/\*.*?\*/, "").trim() : o.data.title.trim();
|
|
489
493
|
return {
|
|
490
494
|
title: d,
|
|
491
495
|
subtitle: k,
|
|
492
496
|
showPlus: !!((e = o.data.header) != null && e.show_percentage)
|
|
493
497
|
};
|
|
494
498
|
});
|
|
495
|
-
return (e,
|
|
499
|
+
return (e, c) => (l(), s("div", {
|
|
496
500
|
class: "card-general",
|
|
497
|
-
style:
|
|
501
|
+
style: C(w.value)
|
|
498
502
|
}, [
|
|
499
|
-
a.value ? (l(), _(
|
|
503
|
+
a.value ? (l(), _($, F({ key: 0 }, a.value, {
|
|
500
504
|
width: r.width,
|
|
501
505
|
"show-videos": r.showVideos,
|
|
502
506
|
"id-aux": r.idAux
|
|
503
507
|
}), {
|
|
504
508
|
body: M(() => [
|
|
505
|
-
t("div",
|
|
506
|
-
t("div",
|
|
507
|
-
S(
|
|
509
|
+
t("div", Zt, [
|
|
510
|
+
t("div", Ut, [
|
|
511
|
+
S(Ot, {
|
|
508
512
|
colorfillcancha: o.data.thumbnails.colors.graphic_color_2,
|
|
509
513
|
colorcancha: o.data.thumbnails.colors.graphic_color,
|
|
510
514
|
colorstat: o.data.thumbnails.colors.data_color,
|
|
@@ -513,9 +517,9 @@ const Zt = /* @__PURE__ */ C(y, [["render", Ot], ["__scopeId", "data-v-9e7db71d"
|
|
|
513
517
|
type: o.data.body.show_percentage == 1 ? "accelerometer" : "box"
|
|
514
518
|
}, null, 8, ["colorfillcancha", "colorcancha", "colorstat", "cancha", "stat", "type"])
|
|
515
519
|
]),
|
|
516
|
-
t("div",
|
|
517
|
-
n.value.title ? (l(),
|
|
518
|
-
n.value.subtitle ? (l(),
|
|
520
|
+
t("div", jt, [
|
|
521
|
+
n.value.title ? (l(), s("h2", Ht, p(n.value.title), 1)) : h("", !0),
|
|
522
|
+
n.value.subtitle ? (l(), s("p", Gt, p(n.value.subtitle), 1)) : h("", !0)
|
|
519
523
|
])
|
|
520
524
|
])
|
|
521
525
|
]),
|
|
@@ -523,7 +527,7 @@ const Zt = /* @__PURE__ */ C(y, [["render", Ot], ["__scopeId", "data-v-9e7db71d"
|
|
|
523
527
|
}, 16, ["width", "show-videos", "id-aux"])) : h("", !0)
|
|
524
528
|
], 4));
|
|
525
529
|
}
|
|
526
|
-
}, Xt = /* @__PURE__ */
|
|
530
|
+
}, Xt = /* @__PURE__ */ b(Jt, [["__scopeId", "data-v-cb9537d1"]]);
|
|
527
531
|
export {
|
|
528
532
|
Xt as default
|
|
529
533
|
};
|
package/dist/{CardIndividual1vs1-QeAXN4f--v6tZgRnG.js → CardIndividual1vs1-DnPVKDmp-DnamlHEl.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { computed as s,
|
|
2
|
-
import { d as x } from "./CardBaseAllIndividual-
|
|
3
|
-
import {
|
|
4
|
-
const
|
|
1
|
+
import { computed as s, openBlock as l, createElementBlock as d, normalizeStyle as _, createVNode as f, mergeProps as b, withCtx as w, createElementVNode as a, toDisplayString as C, Fragment as g, pushScopeId as F, popScopeId as y } from "vue";
|
|
2
|
+
import { d as x } from "./CardBaseAllIndividual-CWBagEwG-uRQJM1eE.js";
|
|
3
|
+
import { w as L, A as k, O as I, z as S, V, E as B } from "./CardBase-LHalf2V1-DH_4cIUy.js";
|
|
4
|
+
const m = (t) => (F("data-v-2e5a7492"), t = t(), y(), t), T = { class: "onevsone__body" }, A = { class: "onevsone__body__title" }, E = { class: "contsvg" }, N = /* @__PURE__ */ m(() => /* @__PURE__ */ a("img", { src: "http://golstatsimages.blob.core.windows.net/tournaments-cards/downloaddefensivo.png" }, null, -1)), H = ["fill"], P = ["fill"], D = /* @__PURE__ */ m(() => /* @__PURE__ */ a("img", { src: "http://golstatsimages.blob.core.windows.net/tournaments-cards/download.png" }, null, -1)), M = ["fill"], U = ["fill"], Z = {
|
|
5
5
|
__name: "CardIndividual1vs1",
|
|
6
6
|
props: {
|
|
7
7
|
height: {
|
|
@@ -27,82 +27,86 @@ const h = (o) => (F("data-v-6b4e801f"), o = o(), y(), o), A = { class: "onevsone
|
|
|
27
27
|
idAux: {
|
|
28
28
|
type: String,
|
|
29
29
|
default: ""
|
|
30
|
+
},
|
|
31
|
+
providerId: {
|
|
32
|
+
type: Number,
|
|
33
|
+
default: 0
|
|
30
34
|
}
|
|
31
35
|
},
|
|
32
|
-
setup(
|
|
33
|
-
const
|
|
34
|
-
var
|
|
36
|
+
setup(t) {
|
|
37
|
+
const o = t, h = s(() => {
|
|
38
|
+
var r, i, e, n, c, u, p;
|
|
35
39
|
return {
|
|
36
|
-
height:
|
|
37
|
-
width:
|
|
40
|
+
height: o.height,
|
|
41
|
+
width: o.width,
|
|
38
42
|
footerHeight: "137px",
|
|
39
43
|
footerPadding: "24px 24px 25px 24px",
|
|
40
|
-
playerPhotoUrl: B(
|
|
41
|
-
teamLogoUrl: V(
|
|
42
|
-
cardColor:
|
|
43
|
-
backgroundImageSrc: S((n = (e = (
|
|
44
|
-
textColor:
|
|
44
|
+
playerPhotoUrl: B(o.data.player_id || "", o.providerId),
|
|
45
|
+
teamLogoUrl: V(o.data.team_id || "", o.providerId) || "",
|
|
46
|
+
cardColor: o.data.thumbnails.colors.background_color || "#000000",
|
|
47
|
+
backgroundImageSrc: S((n = (e = (i = (r = o.data) == null ? void 0 : r.thumbnails) == null ? void 0 : i.images) == null ? void 0 : e.background_player_in_action) != null && n[0] ? o.data.thumbnails.images.background_player_in_action[0] : (p = (u = (c = o.data) == null ? void 0 : c.thumbnails) == null ? void 0 : u.images) != null && p.background_team ? o.data.thumbnails.images.background_team : "", o.providerId),
|
|
48
|
+
textColor: o.data.thumbnails.colors.font_color_description || "#FFFFFF",
|
|
45
49
|
footerBodyData: {
|
|
46
|
-
textColor:
|
|
47
|
-
description: k(
|
|
48
|
-
total:
|
|
49
|
-
totalTextColor:
|
|
50
|
-
totalCircleColor:
|
|
51
|
-
isTotalPercentage:
|
|
50
|
+
textColor: o.data.thumbnails.colors.font_color_stats || "#FFFFFF",
|
|
51
|
+
description: k(I({ data: o.data, descriptionType: o.descriptionType })),
|
|
52
|
+
total: o.data.footer && o.data.footer.show_percentage == 1 ? o.data.percentage : o.data.total,
|
|
53
|
+
totalTextColor: o.data.thumbnails.colors.font_color_stats || "#FFFFFF",
|
|
54
|
+
totalCircleColor: o.data.thumbnails.colors.background_color || "#000000",
|
|
55
|
+
isTotalPercentage: o.data.footer && !!o.data.footer.show_percentage
|
|
52
56
|
}
|
|
53
57
|
};
|
|
54
58
|
});
|
|
55
|
-
s(() =>
|
|
56
|
-
const
|
|
57
|
-
"--title-color":
|
|
59
|
+
s(() => o.data.id);
|
|
60
|
+
const v = s(() => ({
|
|
61
|
+
"--title-color": o.data.thumbnails.colors.font_color_header || "#FFFFFF"
|
|
58
62
|
}));
|
|
59
|
-
return (
|
|
63
|
+
return (r, i) => (l(), d("div", {
|
|
60
64
|
class: "onevsone",
|
|
61
|
-
style:
|
|
65
|
+
style: _(v.value)
|
|
62
66
|
}, [
|
|
63
|
-
|
|
64
|
-
"show-videos":
|
|
65
|
-
"id-aux":
|
|
67
|
+
f(x, b(h.value, {
|
|
68
|
+
"show-videos": t.showVideos,
|
|
69
|
+
"id-aux": t.idAux
|
|
66
70
|
}), {
|
|
67
71
|
body: w(() => {
|
|
68
72
|
var e;
|
|
69
73
|
return [
|
|
70
|
-
a("div",
|
|
71
|
-
a("div",
|
|
72
|
-
a("div",
|
|
73
|
-
(e =
|
|
74
|
+
a("div", T, [
|
|
75
|
+
a("div", A, C(o.data.title.replace(/\*/g, "")), 1),
|
|
76
|
+
a("div", E, [
|
|
77
|
+
(e = o.data.categories) != null && e.includes(4) ? (l(), d(g, { key: 1 }, [
|
|
74
78
|
D,
|
|
75
|
-
(
|
|
79
|
+
(l(), d("svg", {
|
|
76
80
|
width: "12",
|
|
77
81
|
class: "arrow",
|
|
78
82
|
height: "75",
|
|
79
83
|
viewBox: "0 0 12 75",
|
|
80
|
-
fill:
|
|
84
|
+
fill: o.data.thumbnails.colors.icon_color,
|
|
81
85
|
xmlns: "http://www.w3.org/2000/svg"
|
|
82
86
|
}, [
|
|
83
87
|
a("path", {
|
|
84
88
|
"fill-rule": "evenodd",
|
|
85
89
|
"clip-rule": "evenodd",
|
|
86
90
|
d: "M5 4.5489L5 75H7L7 4.62807L10.1992 7.86923C10.3268 7.9985 10.4817 8.05853 10.664 8.04929C10.8463 8.04006 11.0013 7.9708 11.1289 7.84153L11.7304 7.23208C11.858 7.1028 11.9218 6.94582 11.9218 6.76114C11.9218 6.57645 11.858 6.41948 11.7304 6.2902L6.34592 0.836174C6.23509 0.741615 6.10676 0.694336 5.96092 0.694336C5.77863 0.694336 5.62368 0.768211 5.49608 0.915955L0.191406 6.2902C0.0638018 6.41948 0 6.57645 0 6.76114C0 6.94582 0.0638018 7.1028 0.191406 7.23208L0.792967 7.84153C0.920571 7.9708 1.07552 8.04006 1.25781 8.04929C1.4401 8.05853 1.59505 7.9985 1.72265 7.86923L5 4.5489Z",
|
|
87
|
-
fill:
|
|
91
|
+
fill: o.data.thumbnails.colors.icon_color
|
|
88
92
|
}, null, 8, U)
|
|
89
93
|
], 8, M))
|
|
90
|
-
], 64)) : (
|
|
91
|
-
|
|
92
|
-
(
|
|
94
|
+
], 64)) : (l(), d(g, { key: 0 }, [
|
|
95
|
+
N,
|
|
96
|
+
(l(), d("svg", {
|
|
93
97
|
class: "arrow",
|
|
94
98
|
width: "12",
|
|
95
99
|
height: "75",
|
|
96
100
|
viewBox: "0 0 12 75",
|
|
97
|
-
fill:
|
|
101
|
+
fill: o.data.thumbnails.colors.icon_color,
|
|
98
102
|
xmlns: "http://www.w3.org/2000/svg"
|
|
99
103
|
}, [
|
|
100
104
|
a("path", {
|
|
101
105
|
"fill-rule": "evenodd",
|
|
102
106
|
"clip-rule": "evenodd",
|
|
103
107
|
d: "M5 71.1454L5 0.694344H7L7 71.0663L10.1992 67.8251C10.3268 67.6958 10.4817 67.6358 10.664 67.6451C10.8463 67.6543 11.0013 67.7235 11.1289 67.8528L11.7304 68.4623C11.858 68.5915 11.9218 68.7485 11.9218 68.9332C11.9218 69.1179 11.858 69.2749 11.7304 69.4041L6.34592 74.8582C6.23509 74.9527 6.10676 75 5.96092 75C5.77863 75 5.62368 74.9261 5.49608 74.7784L0.191406 69.4041C0.0638018 69.2749 0 69.1179 0 68.9332C0 68.7485 0.0638018 68.5915 0.191406 68.4623L0.792967 67.8528C0.920571 67.7235 1.07552 67.6543 1.25781 67.6451C1.4401 67.6358 1.59505 67.6958 1.72265 67.8251L5 71.1454Z",
|
|
104
|
-
fill:
|
|
105
|
-
}, null, 8,
|
|
108
|
+
fill: o.data.thumbnails.colors.icon_color
|
|
109
|
+
}, null, 8, P)
|
|
106
110
|
], 8, H))
|
|
107
111
|
], 64))
|
|
108
112
|
])
|
|
@@ -113,7 +117,7 @@ const h = (o) => (F("data-v-6b4e801f"), o = o(), y(), o), A = { class: "onevsone
|
|
|
113
117
|
}, 16, ["show-videos", "id-aux"])
|
|
114
118
|
], 4));
|
|
115
119
|
}
|
|
116
|
-
},
|
|
120
|
+
}, j = /* @__PURE__ */ L(Z, [["__scopeId", "data-v-2e5a7492"]]);
|
|
117
121
|
export {
|
|
118
|
-
|
|
122
|
+
j as default
|
|
119
123
|
};
|