@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
package/dist/{CardIndividualGold-BLT3Mk27-CaeXji6h.js → CardIndividualGold-D_-tb2Tk-DHL-TpvC.js}
RENAMED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { ref as f, computed as d,
|
|
2
|
-
import { d as
|
|
3
|
-
import { N as
|
|
4
|
-
import {
|
|
5
|
-
const
|
|
1
|
+
import { ref as f, computed as d, openBlock as u, createElementBlock as c, createVNode as g, mergeProps as w, withCtx as F, createElementVNode as n, normalizeStyle as S, normalizeClass as I, toDisplayString as _ } from "vue";
|
|
2
|
+
import { d as C } from "./CardBaseAllIndividual-CWBagEwG-uRQJM1eE.js";
|
|
3
|
+
import { N as T } from "./Shield-CfA9mcrj-w0qszHpb.js";
|
|
4
|
+
import { w as $, A as z, O as E, H, z as N, E as V } from "./CardBase-LHalf2V1-DH_4cIUy.js";
|
|
5
|
+
const k = { class: "gold-card" }, A = { class: "gold-card__body__title" }, B = {
|
|
6
6
|
key: 0,
|
|
7
7
|
class: "gold-card__body__shield"
|
|
8
|
-
},
|
|
8
|
+
}, D = {
|
|
9
9
|
key: 1,
|
|
10
10
|
class: "gold-card__body__player-photo"
|
|
11
|
-
}, L = ["src"],
|
|
11
|
+
}, L = ["src"], G = { class: "gold-card__body__sub-title" }, O = {
|
|
12
12
|
__name: "CardIndividualGold",
|
|
13
13
|
props: {
|
|
14
14
|
height: {
|
|
@@ -34,6 +34,10 @@ const B = { class: "gold-card" }, z = { class: "gold-card__body__title" }, D = {
|
|
|
34
34
|
idAux: {
|
|
35
35
|
type: String,
|
|
36
36
|
default: ""
|
|
37
|
+
},
|
|
38
|
+
providerId: {
|
|
39
|
+
type: Number,
|
|
40
|
+
default: 0
|
|
37
41
|
}
|
|
38
42
|
},
|
|
39
43
|
setup(s) {
|
|
@@ -69,7 +73,7 @@ const B = { class: "gold-card" }, z = { class: "gold-card__body__title" }, D = {
|
|
|
69
73
|
footerHeight: "137px",
|
|
70
74
|
teamLogoUrl: i.value === 2 ? `https://golstatsimages.blob.core.windows.net/tournaments-cards/${t.data.tournament_id}.png` : "",
|
|
71
75
|
footerBodyData: {
|
|
72
|
-
description:
|
|
76
|
+
description: z(E({ data: t.data, descriptionType: t.descriptionType })),
|
|
73
77
|
total: t.data.footer.show_percentage ? t.data.percentage : t.data.total,
|
|
74
78
|
textColor: (t.data.thumbnails.colors.font_color_description || "#FFFFFF").trim(),
|
|
75
79
|
totalTextColor: (t.data.thumbnails.colors.font_color_stats || "#FFFFFF").trim(),
|
|
@@ -79,11 +83,11 @@ const B = { class: "gold-card" }, z = { class: "gold-card__body__title" }, D = {
|
|
|
79
83
|
goldCardType: i.value
|
|
80
84
|
})), e = d(() => {
|
|
81
85
|
var a, o, l, r;
|
|
82
|
-
const { title: p, subtitle: x } =
|
|
86
|
+
const { title: p, subtitle: x } = H(t.data.title), m = !!((r = (l = (o = (a = t.data) == null ? void 0 : a.thumbnails) == null ? void 0 : o.images) == null ? void 0 : l.player_in_action) != null && r[0]);
|
|
83
87
|
return {
|
|
84
88
|
title: p,
|
|
85
89
|
subtitle: x,
|
|
86
|
-
innerImageSrc: m ?
|
|
90
|
+
innerImageSrc: m ? N(t.data.thumbnails.images.player_in_action[0], t.providerId) : V(t.data.player_id || "", t.providerId),
|
|
87
91
|
tournamentLogoSrc: `https://golstatsimages.blob.core.windows.net/todoelfut/${t.data.tournament_id}.png`,
|
|
88
92
|
translate: m ? "0 38px" : "0 21px"
|
|
89
93
|
};
|
|
@@ -95,19 +99,19 @@ const B = { class: "gold-card" }, z = { class: "gold-card__body__title" }, D = {
|
|
|
95
99
|
"--player-image-width": p ? "230px" : "180px"
|
|
96
100
|
};
|
|
97
101
|
});
|
|
98
|
-
return (a, o) => (
|
|
99
|
-
g(
|
|
102
|
+
return (a, o) => (u(), c("div", k, [
|
|
103
|
+
g(C, w(y.value, {
|
|
100
104
|
"show-videos": s.showVideos,
|
|
101
105
|
"id-aux": s.idAux
|
|
102
106
|
}), {
|
|
103
107
|
body: F(() => [
|
|
104
108
|
n("div", {
|
|
105
|
-
class:
|
|
109
|
+
class: I(["gold-card__body", { "type-2": i.value === 2 }]),
|
|
106
110
|
style: S(b.value)
|
|
107
111
|
}, [
|
|
108
|
-
n("div",
|
|
109
|
-
i.value === 1 ? (
|
|
110
|
-
g(
|
|
112
|
+
n("div", A, _(e.value.title), 1),
|
|
113
|
+
i.value === 1 ? (u(), c("div", B, [
|
|
114
|
+
g(T, {
|
|
111
115
|
"team-logo-src": e.value.tournamentLogoSrc,
|
|
112
116
|
width: 131,
|
|
113
117
|
"team-logo-circle-props": v.value,
|
|
@@ -115,20 +119,20 @@ const B = { class: "gold-card" }, z = { class: "gold-card__body__title" }, D = {
|
|
|
115
119
|
"inner-image-translate": e.value.translate,
|
|
116
120
|
"inner-image-src": e.value.innerImageSrc
|
|
117
121
|
}, null, 8, ["team-logo-src", "team-logo-circle-props", "inner-image-translate", "inner-image-src"])
|
|
118
|
-
])) : (
|
|
122
|
+
])) : (u(), c("div", D, [
|
|
119
123
|
n("img", {
|
|
120
124
|
src: e.value.innerImageSrc,
|
|
121
125
|
alt: ""
|
|
122
126
|
}, null, 8, L)
|
|
123
127
|
])),
|
|
124
|
-
n("div",
|
|
128
|
+
n("div", G, _(e.value.subtitle), 1)
|
|
125
129
|
], 6)
|
|
126
130
|
]),
|
|
127
131
|
_: 1
|
|
128
132
|
}, 16, ["show-videos", "id-aux"])
|
|
129
133
|
]));
|
|
130
134
|
}
|
|
131
|
-
}, W = /* @__PURE__ */
|
|
135
|
+
}, W = /* @__PURE__ */ $(O, [["__scopeId", "data-v-d82914d6"]]);
|
|
132
136
|
export {
|
|
133
137
|
W as default
|
|
134
138
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { computed as
|
|
2
|
-
import { d as
|
|
3
|
-
import {
|
|
4
|
-
import { a as
|
|
5
|
-
const
|
|
1
|
+
import { computed as C, openBlock as a, createElementBlock as i, normalizeStyle as w, createVNode as m, mergeProps as x, withCtx as k, createElementVNode as o, toDisplayString as _, createCommentVNode as u, unref as s, normalizeProps as M, guardReactiveProps as Z, createBlock as V } from "vue";
|
|
2
|
+
import { d as P, B as S } from "./CardBaseAllIndividual-CWBagEwG-uRQJM1eE.js";
|
|
3
|
+
import { w as H, A as B, O as I, z as N, V as T, H as z, E } from "./CardBase-LHalf2V1-DH_4cIUy.js";
|
|
4
|
+
import { a as O } from "./TimeSvg-B3vSNjgQ-BbQ6V9Cu.js";
|
|
5
|
+
const U = { class: "no-goal__body" }, $ = { class: "no-goal__body__title-sub" }, A = { class: "no-goal__body__title-sub__title" }, R = {
|
|
6
6
|
key: 0,
|
|
7
7
|
class: "no-goal__body__title-sub__sub"
|
|
8
8
|
}, j = { class: "no-goal__body__data" }, D = {
|
|
@@ -20,7 +20,7 @@ const z = { class: "no-goal__body" }, A = { class: "no-goal__body__title-sub" },
|
|
|
20
20
|
viewBox: "0 0 47 46",
|
|
21
21
|
fill: "none",
|
|
22
22
|
xmlns: "http://www.w3.org/2000/svg"
|
|
23
|
-
}, Q = { "clip-path": "url(#clip0_153_11805)" }, W = ["fill"], X = ["fill"], Y = ["fill"], l1 = ["fill"], o1 = ["fill"], t1 = ["fill"], a1 = ["fill"], i1 = ["fill"], e1 = ["fill"],
|
|
23
|
+
}, Q = { "clip-path": "url(#clip0_153_11805)" }, W = ["fill"], X = ["fill"], Y = ["fill"], l1 = ["fill"], o1 = ["fill"], t1 = ["fill"], a1 = ["fill"], i1 = ["fill"], e1 = ["fill"], r1 = ["fill"], C1 = ["fill"], d1 = ["fill"], n1 = ["fill"], u1 = { id: "clip0_153_11805" }, s1 = ["fill"], c1 = {
|
|
24
24
|
__name: "CardIndividualNoGoalReceived",
|
|
25
25
|
props: {
|
|
26
26
|
height: {
|
|
@@ -46,10 +46,14 @@ const z = { class: "no-goal__body" }, A = { class: "no-goal__body__title-sub" },
|
|
|
46
46
|
idAux: {
|
|
47
47
|
type: String,
|
|
48
48
|
default: ""
|
|
49
|
+
},
|
|
50
|
+
providerId: {
|
|
51
|
+
type: Number,
|
|
52
|
+
default: 0
|
|
49
53
|
}
|
|
50
54
|
},
|
|
51
|
-
setup(
|
|
52
|
-
const l =
|
|
55
|
+
setup(d) {
|
|
56
|
+
const l = d, f = /* @__PURE__ */ new Set([
|
|
53
57
|
"64-i",
|
|
54
58
|
"29-e"
|
|
55
59
|
]), g = /* @__PURE__ */ new Set([
|
|
@@ -62,27 +66,27 @@ const z = { class: "no-goal__body" }, A = { class: "no-goal__body__title-sub" },
|
|
|
62
66
|
"28-e",
|
|
63
67
|
"31-e",
|
|
64
68
|
"32-e"
|
|
65
|
-
]), y =
|
|
66
|
-
var e,
|
|
69
|
+
]), y = C(() => {
|
|
70
|
+
var e, r, c, L, p, v, h;
|
|
67
71
|
return {
|
|
68
72
|
height: l.height,
|
|
69
73
|
width: l.width,
|
|
70
74
|
footerHeight: "120px",
|
|
71
75
|
playerPhotoPositionTop: "24px",
|
|
72
|
-
teamLogoUrl:
|
|
76
|
+
teamLogoUrl: T(l.data.team_id || "", l.providerId),
|
|
73
77
|
cardColor: (l.data.thumbnails.colors.background_color || "#000000").trim(),
|
|
74
|
-
backgroundImageSrc:
|
|
78
|
+
backgroundImageSrc: N((L = (c = (r = (e = l.data) == null ? void 0 : e.thumbnails) == null ? void 0 : r.images) == null ? void 0 : c.background_player_in_action) != null && L[0] ? l.data.thumbnails.images.background_player_in_action[0] : (h = (v = (p = l.data) == null ? void 0 : p.thumbnails) == null ? void 0 : v.images) != null && h.background_team ? l.data.thumbnails.images.background_team : "", l.providerId),
|
|
75
79
|
footerBodyData: {
|
|
76
|
-
description: B(
|
|
80
|
+
description: B(I({ data: l.data, descriptionType: l.descriptionType })),
|
|
77
81
|
textColor: (l.data.thumbnails.colors.font_color_description || "#FFFFFF").trim()
|
|
78
82
|
}
|
|
79
83
|
};
|
|
80
|
-
}), t =
|
|
81
|
-
const { title: e, subtitle:
|
|
84
|
+
}), t = C(() => {
|
|
85
|
+
const { title: e, subtitle: r } = z(l.data.title);
|
|
82
86
|
return {
|
|
83
87
|
title: e,
|
|
84
|
-
subtitle:
|
|
85
|
-
playerPhotoUrl:
|
|
88
|
+
subtitle: r,
|
|
89
|
+
playerPhotoUrl: E(l.data.player_id || "", l.providerId),
|
|
86
90
|
iconColor: (l.data.thumbnails.colors.icon_color || l.data.thumbnails.colors.graphic_color || "#FFFFFF").trim(),
|
|
87
91
|
total: l.data.total,
|
|
88
92
|
totalCircleColor: (l.data.thumbnails.colors.data_color || "#cbee6b").trim(),
|
|
@@ -93,27 +97,27 @@ const z = { class: "no-goal__body" }, A = { class: "no-goal__body__title-sub" },
|
|
|
93
97
|
conditions: l.data.conditions
|
|
94
98
|
}
|
|
95
99
|
};
|
|
96
|
-
}),
|
|
100
|
+
}), n = C(() => l.data.id), F = C(() => ({
|
|
97
101
|
"--title-color": (l.data.thumbnails.colors.font_color_header || "#FFFFFF").trim(),
|
|
98
102
|
"--data-color": (l.data.thumbnails.colors.background_color || "#000000").trim()
|
|
99
103
|
}));
|
|
100
|
-
return (e,
|
|
104
|
+
return (e, r) => (a(), i("div", {
|
|
101
105
|
class: "no-goal",
|
|
102
106
|
style: w(F.value)
|
|
103
107
|
}, [
|
|
104
|
-
|
|
105
|
-
"show-videos":
|
|
106
|
-
"id-aux":
|
|
108
|
+
m(P, x(y.value, {
|
|
109
|
+
"show-videos": d.showVideos,
|
|
110
|
+
"id-aux": d.idAux
|
|
107
111
|
}), {
|
|
108
112
|
body: k(() => [
|
|
109
|
-
o("div",
|
|
110
|
-
o("div",
|
|
111
|
-
o("div",
|
|
113
|
+
o("div", U, [
|
|
114
|
+
o("div", $, [
|
|
115
|
+
o("div", A, _(t.value.title), 1),
|
|
112
116
|
t.value.subtitle ? (a(), i("div", R, _(t.value.subtitle), 1)) : u("", !0)
|
|
113
117
|
]),
|
|
114
118
|
o("div", j, [
|
|
115
|
-
s(b).has(
|
|
116
|
-
|
|
119
|
+
s(b).has(n.value) ? u("", !0) : (a(), i("div", D, [
|
|
120
|
+
m(O, M(Z(t.value.timeSvgProps)), null, 16)
|
|
117
121
|
])),
|
|
118
122
|
t.value.playerPhotoUrl ? (a(), i("div", G, [
|
|
119
123
|
o("div", null, [
|
|
@@ -123,7 +127,7 @@ const z = { class: "no-goal__body" }, A = { class: "no-goal__body__title-sub" },
|
|
|
123
127
|
}, null, 8, q)
|
|
124
128
|
])
|
|
125
129
|
])) : u("", !0),
|
|
126
|
-
s(f).has(
|
|
130
|
+
s(f).has(n.value) || s(g).has(n.value) ? (a(), V(S, {
|
|
127
131
|
key: 2,
|
|
128
132
|
value: l.data.percentage,
|
|
129
133
|
"text-color": t.value.totalTextColor
|
|
@@ -169,19 +173,19 @@ const z = { class: "no-goal__body" }, A = { class: "no-goal__body__title-sub" },
|
|
|
169
173
|
o("path", {
|
|
170
174
|
d: "M20.5186 16.5137C20.1937 16.5137 19.9385 16.2584 19.9385 15.9336V12.3369C19.9385 12.0121 20.1937 11.7568 20.5186 11.7568C20.8434 11.7568 21.0987 12.0121 21.0987 12.3369V15.9336C21.0987 16.2584 20.8434 16.5137 20.5186 16.5137Z",
|
|
171
175
|
fill: t.value.iconColor
|
|
172
|
-
}, null, 8,
|
|
176
|
+
}, null, 8, r1),
|
|
173
177
|
o("path", {
|
|
174
178
|
d: "M25.3091 20.1341C25.1002 20.1341 24.903 20.018 24.7986 19.8324C24.6478 19.554 24.7522 19.1943 25.0306 19.0435L27.9776 17.4656C28.256 17.3148 28.6157 17.4192 28.7665 17.6976C28.9173 17.9761 28.8129 18.3357 28.5344 18.4866L25.5875 20.0644C25.4947 20.1108 25.4019 20.1341 25.3091 20.1341Z",
|
|
175
179
|
fill: t.value.iconColor
|
|
176
|
-
}, null, 8,
|
|
180
|
+
}, null, 8, C1),
|
|
177
181
|
o("path", {
|
|
178
182
|
d: "M25.2984 27.6634C25.1359 27.6634 24.9851 27.5937 24.8691 27.4661L23.0476 25.4358C22.8387 25.1921 22.8503 24.8325 23.094 24.612C23.3376 24.4032 23.6973 24.4148 23.9177 24.6584L25.7392 26.6888C25.9481 26.9324 25.9365 27.2921 25.6928 27.5125C25.5768 27.6169 25.4492 27.6634 25.31 27.6634H25.2984Z",
|
|
179
183
|
fill: t.value.iconColor
|
|
180
|
-
}, null, 8,
|
|
184
|
+
}, null, 8, d1),
|
|
181
185
|
o("path", {
|
|
182
186
|
d: "M15.7494 19.9951C15.6682 19.9951 15.5754 19.9719 15.4942 19.9371L12.5472 18.4984C12.2572 18.3592 12.1412 18.0111 12.2804 17.7211C12.4196 17.431 12.7677 17.315 13.0577 17.4542L16.0047 18.8929C16.2947 19.0321 16.4107 19.3802 16.2715 19.6702C16.1671 19.8791 15.9698 19.9951 15.7494 19.9951Z",
|
|
183
187
|
fill: t.value.iconColor
|
|
184
|
-
}, null, 8,
|
|
188
|
+
}, null, 8, n1)
|
|
185
189
|
]),
|
|
186
190
|
o("defs", null, [
|
|
187
191
|
o("clipPath", u1, [
|
|
@@ -202,7 +206,7 @@ const z = { class: "no-goal__body" }, A = { class: "no-goal__body__title-sub" },
|
|
|
202
206
|
}, 16, ["show-videos", "id-aux"])
|
|
203
207
|
], 4));
|
|
204
208
|
}
|
|
205
|
-
},
|
|
209
|
+
}, m1 = /* @__PURE__ */ H(c1, [["__scopeId", "data-v-eef8479b"]]);
|
|
206
210
|
export {
|
|
207
|
-
|
|
211
|
+
m1 as default
|
|
208
212
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { computed as
|
|
2
|
-
import { d as
|
|
3
|
-
import {
|
|
4
|
-
const
|
|
1
|
+
import { computed as i, openBlock as f, createElementBlock as h, normalizeStyle as y, createVNode as c, mergeProps as F, withCtx as g, createElementVNode as o, toDisplayString as n, pushScopeId as x, popScopeId as S } from "vue";
|
|
2
|
+
import { d as w, B as m } from "./CardBaseAllIndividual-CWBagEwG-uRQJM1eE.js";
|
|
3
|
+
import { w as C, A as T, O as k, z as I, E as N, H as B } from "./CardBase-LHalf2V1-DH_4cIUy.js";
|
|
4
|
+
const O = (e) => (x("data-v-30fa640b"), e = e(), S(), e), $ = { class: "performance__body" }, A = { class: "performance__body__title-sub" }, E = { class: "performance__body__title-sub__title" }, P = { class: "performance__body__title-sub__sub" }, V = { class: "performance__body__data" }, z = { class: "performance__body__data__total-season" }, H = { class: "performance__body__data__total-season__season" }, D = /* @__PURE__ */ O(() => /* @__PURE__ */ o("span", { class: "arrow" }, "→", -1)), j = { class: "performance__body__data__total-season" }, U = { class: "performance__body__data__total-season__season" }, q = {
|
|
5
5
|
__name: "CardIndividualPerformance",
|
|
6
6
|
props: {
|
|
7
7
|
height: {
|
|
@@ -27,73 +27,77 @@ const P = (e) => (x("data-v-11b30bf3"), e = e(), S(), e), A = { class: "performa
|
|
|
27
27
|
idAux: {
|
|
28
28
|
type: String,
|
|
29
29
|
default: ""
|
|
30
|
+
},
|
|
31
|
+
providerId: {
|
|
32
|
+
type: Number,
|
|
33
|
+
default: 0
|
|
30
34
|
}
|
|
31
35
|
},
|
|
32
36
|
setup(e) {
|
|
33
|
-
const a = e, b =
|
|
34
|
-
var l, r, s,
|
|
37
|
+
const a = e, b = i(() => {
|
|
38
|
+
var l, r, s, d, u, _, p;
|
|
35
39
|
return {
|
|
36
40
|
height: a.height,
|
|
37
41
|
width: a.width,
|
|
38
42
|
footerHeight: "fit-content",
|
|
39
43
|
playerPhotoPositionTop: "24px",
|
|
40
|
-
playerPhotoUrl:
|
|
44
|
+
playerPhotoUrl: N(a.data.player_id || "", a.providerId),
|
|
41
45
|
cardColor: (a.data.thumbnails.colors.background_color || "#000000").trim(),
|
|
42
|
-
backgroundImageSrc:
|
|
46
|
+
backgroundImageSrc: I((d = (s = (r = (l = a.data) == null ? void 0 : l.thumbnails) == null ? void 0 : r.images) == null ? void 0 : s.background_player_in_action) != null && d[0] ? a.data.thumbnails.images.background_player_in_action[0] : (p = (_ = (u = a.data) == null ? void 0 : u.thumbnails) == null ? void 0 : _.images) != null && p.background_team ? a.data.thumbnails.images.background_team : "", a.providerId),
|
|
43
47
|
textColor: (a.data.thumbnails.colors.text_color_description || "#FFFFFF").trim(),
|
|
44
48
|
footerBodyData: {
|
|
45
|
-
description: T(
|
|
49
|
+
description: T(k({ data: a.data, descriptionType: a.descriptionType })),
|
|
46
50
|
total: a.data.total,
|
|
47
51
|
textColor: (a.data.thumbnails.colors.font_color_description || "#FFFFFF").trim()
|
|
48
52
|
}
|
|
49
53
|
};
|
|
50
|
-
}), t =
|
|
54
|
+
}), t = i(() => {
|
|
51
55
|
if (!a.data || !a.data.totals || a.data.totals.length < 2)
|
|
52
56
|
return {};
|
|
53
|
-
const { title: l, subtitle: r } =
|
|
57
|
+
const { title: l, subtitle: r } = B(a.data.title), [s, d] = a.data.totals;
|
|
54
58
|
return {
|
|
55
59
|
title: l,
|
|
56
60
|
subtitle: r,
|
|
57
|
-
pastSeasonName:
|
|
61
|
+
pastSeasonName: d.season,
|
|
58
62
|
currentSeasonName: s.season,
|
|
59
|
-
pastSeasonTotal:
|
|
63
|
+
pastSeasonTotal: d.total,
|
|
60
64
|
currentSeasonTotal: s.total,
|
|
61
65
|
textColor: (a.data.thumbnails.colors.font_color_description || "#FFFFFF").trim(),
|
|
62
66
|
circleOneColor: (a.data.thumbnails.colors.data_color_2 || "#000000").trim(),
|
|
63
67
|
circleTwoColor: (a.data.thumbnails.colors.data_color || "#000000").trim()
|
|
64
68
|
};
|
|
65
69
|
});
|
|
66
|
-
|
|
67
|
-
const v =
|
|
70
|
+
i(() => a.data.id);
|
|
71
|
+
const v = i(() => ({
|
|
68
72
|
"--data-color": a.data.thumbnails.colors.background_color_cards || "#000000",
|
|
69
73
|
"--title-color": (a.data.thumbnails.colors.font_color_header || "#FFFFFF").trim()
|
|
70
74
|
}));
|
|
71
|
-
return (l, r) => (
|
|
75
|
+
return (l, r) => (f(), h("div", {
|
|
72
76
|
class: "performance",
|
|
73
77
|
style: y(v.value)
|
|
74
78
|
}, [
|
|
75
|
-
c(
|
|
79
|
+
c(w, F(b.value, {
|
|
76
80
|
"show-videos": e.showVideos,
|
|
77
81
|
"id-aux": e.idAux
|
|
78
82
|
}), {
|
|
79
83
|
body: g(() => [
|
|
80
|
-
o("div",
|
|
81
|
-
o("div",
|
|
82
|
-
o("div",
|
|
83
|
-
o("div",
|
|
84
|
+
o("div", $, [
|
|
85
|
+
o("div", A, [
|
|
86
|
+
o("div", E, n(t.value.title), 1),
|
|
87
|
+
o("div", P, n(t.value.subtitle), 1)
|
|
84
88
|
]),
|
|
85
|
-
o("div",
|
|
86
|
-
o("div",
|
|
89
|
+
o("div", V, [
|
|
90
|
+
o("div", z, [
|
|
87
91
|
c(m, {
|
|
88
92
|
value: t.value.pastSeasonTotal,
|
|
89
93
|
suffix: "",
|
|
90
94
|
"text-color": t.value.textColor,
|
|
91
95
|
color: t.value.circleOneColor
|
|
92
96
|
}, null, 8, ["value", "text-color", "color"]),
|
|
93
|
-
o("div",
|
|
97
|
+
o("div", H, n(t.value.pastSeasonName), 1)
|
|
94
98
|
]),
|
|
95
|
-
|
|
96
|
-
o("div",
|
|
99
|
+
D,
|
|
100
|
+
o("div", j, [
|
|
97
101
|
c(m, {
|
|
98
102
|
value: t.value.currentSeasonTotal,
|
|
99
103
|
suffix: "",
|
|
@@ -109,7 +113,7 @@ const P = (e) => (x("data-v-11b30bf3"), e = e(), S(), e), A = { class: "performa
|
|
|
109
113
|
}, 16, ["show-videos", "id-aux"])
|
|
110
114
|
], 4));
|
|
111
115
|
}
|
|
112
|
-
}, J = /* @__PURE__ */
|
|
116
|
+
}, J = /* @__PURE__ */ C(q, [["__scopeId", "data-v-30fa640b"]]);
|
|
113
117
|
export {
|
|
114
118
|
J as default
|
|
115
119
|
};
|
package/dist/{CardIndividualSaves-CVjR2-WK-DUwpE6Cq.js → CardIndividualSaves-BecZ6U_G-nCSJXu1D.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { useCssVars as y, computed as
|
|
2
|
-
import { d as
|
|
3
|
-
import {
|
|
1
|
+
import { useCssVars as y, computed as p, openBlock as a, createElementBlock as s, normalizeStyle as F, createBlock as M, mergeProps as S, withCtx as A, createElementVNode as e, toDisplayString as h, createCommentVNode as d, createVNode as C, pushScopeId as I, popScopeId as B } from "vue";
|
|
2
|
+
import { d as V } from "./CardBaseAllIndividual-CWBagEwG-uRQJM1eE.js";
|
|
3
|
+
import { w as x, A as j, O as z, z as E, V as N, E as T } from "./CardBase-LHalf2V1-DH_4cIUy.js";
|
|
4
4
|
const m = {
|
|
5
5
|
props: {
|
|
6
6
|
position: {
|
|
@@ -18,31 +18,31 @@ const m = {
|
|
|
18
18
|
}
|
|
19
19
|
}, w = () => {
|
|
20
20
|
y((o) => ({
|
|
21
|
-
"
|
|
21
|
+
"53cdc2ca": o.color
|
|
22
22
|
}));
|
|
23
23
|
}, _ = m.setup;
|
|
24
24
|
m.setup = _ ? (o, t) => (w(), _(o, t)) : w;
|
|
25
|
-
const r = (o) => (
|
|
25
|
+
const r = (o) => (I("data-v-d2968adb"), o = o(), B(), o), D = { class: "saves-element-container" }, $ = { class: "saves-element-box" }, O = {
|
|
26
26
|
key: 0,
|
|
27
27
|
class: "small-box"
|
|
28
|
-
},
|
|
28
|
+
}, q = {
|
|
29
29
|
key: 0,
|
|
30
30
|
width: "28",
|
|
31
31
|
height: "31",
|
|
32
32
|
viewBox: "0 0 28 31",
|
|
33
33
|
fill: "none",
|
|
34
34
|
xmlns: "http://www.w3.org/2000/svg"
|
|
35
|
-
},
|
|
35
|
+
}, H = /* @__PURE__ */ r(() => /* @__PURE__ */ e("path", {
|
|
36
36
|
d: "M10.23.878h7.482",
|
|
37
37
|
stroke: "#fff",
|
|
38
38
|
"stroke-width": "1.746",
|
|
39
39
|
"stroke-linecap": "round"
|
|
40
|
-
}, null, -1)),
|
|
40
|
+
}, null, -1)), J = /* @__PURE__ */ r(() => /* @__PURE__ */ e("circle", {
|
|
41
41
|
cx: "13.972",
|
|
42
42
|
cy: "17.089",
|
|
43
43
|
fill: "#DE2531",
|
|
44
44
|
r: "12.47"
|
|
45
|
-
}, null, -1)),
|
|
45
|
+
}, null, -1)), P = /* @__PURE__ */ r(() => /* @__PURE__ */ e("path", {
|
|
46
46
|
d: "M26.442 17.09a12.47 12.47 0 0 0-12.47-12.47v12.47h12.47z",
|
|
47
47
|
fill: "#fff"
|
|
48
48
|
}, null, -1)), U = /* @__PURE__ */ r(() => /* @__PURE__ */ e("circle", {
|
|
@@ -54,9 +54,9 @@ const r = (o) => (B("data-v-f0ac71da"), o = o(), V(), o), N = { class: "saves-el
|
|
|
54
54
|
"stroke-linejoin": "round",
|
|
55
55
|
r: "12.47"
|
|
56
56
|
}, null, -1)), L = [
|
|
57
|
-
q,
|
|
58
57
|
H,
|
|
59
58
|
J,
|
|
59
|
+
P,
|
|
60
60
|
U
|
|
61
61
|
], G = {
|
|
62
62
|
key: 1,
|
|
@@ -97,20 +97,20 @@ const r = (o) => (B("data-v-f0ac71da"), o = o(), V(), o), N = { class: "saves-el
|
|
|
97
97
|
viewBox: "0 0 48 48",
|
|
98
98
|
fill: "none",
|
|
99
99
|
xmlns: "http://www.w3.org/2000/svg"
|
|
100
|
-
}, et = ["stroke"], ot = ["stroke"],
|
|
101
|
-
function st(o, t,
|
|
102
|
-
return
|
|
100
|
+
}, et = ["stroke"], ot = ["stroke"], lt = ["stroke"], at = ["stroke"], rt = /* @__PURE__ */ r(() => /* @__PURE__ */ e("div", { class: "inner-box arrow" }, "→", -1)), it = { class: "inner-box stat" };
|
|
101
|
+
function st(o, t, l, u, n, i) {
|
|
102
|
+
return a(), s("div", D, [
|
|
103
103
|
e("div", $, [
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
])) :
|
|
104
|
+
l.position === "first" || l.position === "second" ? (a(), s("div", O, [
|
|
105
|
+
l.position == "first" ? (a(), s("svg", q, L)) : d("", !0),
|
|
106
|
+
l.position == "second" ? (a(), s("svg", G, X)) : d("", !0)
|
|
107
|
+
])) : d("", !0),
|
|
108
108
|
e("div", Y, [
|
|
109
109
|
e("div", Z, [
|
|
110
|
-
(
|
|
110
|
+
(a(), s("svg", tt, [
|
|
111
111
|
e("path", {
|
|
112
112
|
d: "m18.031 27.241.972-7.303c.044-.33.15-.648.315-.938l2.09-3.688a1.409 1.409 0 0 1 2.61.952l-.87 6.085-5.117 4.892zM42.864 24.232a1.394 1.394 0 0 0-1.844 0l-3.857 3.226 4.6-5.199a1.623 1.623 0 0 0-2.246-2.336l-5.001 3.957 5.872-6.902a1.684 1.684 0 0 0-.105-2.357 1.394 1.394 0 0 0-1.846-.048l-7.548 6.137 4.33-5.041a1.727 1.727 0 0 0-.01-2.375 1.394 1.394 0 0 0-1.921-.09l-10.14 9.146-11.03 10.544 9.886 10.35c.458.399 1.161.31 1.504-.192l2.525-3.688 10.701-6.154a8.47 8.47 0 0 0 2.048-1.821l4.244-5.233c.47-.581.4-1.43-.162-1.924z",
|
|
113
|
-
stroke:
|
|
113
|
+
stroke: l.color,
|
|
114
114
|
"stroke-width": "1.406",
|
|
115
115
|
"stroke-miterlimit": "10",
|
|
116
116
|
"stroke-linecap": "round",
|
|
@@ -118,7 +118,7 @@ function st(o, t, a, u, d, i) {
|
|
|
118
118
|
}, null, 8, et),
|
|
119
119
|
e("path", {
|
|
120
120
|
d: "m3.928 40.154 8.19-7.26 9.018 9.44-3.944 4.222M26.032 39.363l-9.964-10.247M26.424 34.044l-3.444-3.779a1.646 1.646 0 0 1 2.433-2.217l3.444 3.779a1.646 1.646 0 0 1-2.433 2.217zM18.801 21.458a13.836 13.836 0 0 1-1.808-6.86C16.993 6.924 23.215.703 30.89.703s13.894 6.22 13.894 13.895a13.86 13.86 0 0 1-4.676 10.397l-.018.016a14.206 14.206 0 0 1-2.14 1.557v.001",
|
|
121
|
-
stroke:
|
|
121
|
+
stroke: l.color,
|
|
122
122
|
"stroke-width": "1.406",
|
|
123
123
|
"stroke-miterlimit": "10",
|
|
124
124
|
"stroke-linecap": "round",
|
|
@@ -126,35 +126,35 @@ function st(o, t, a, u, d, i) {
|
|
|
126
126
|
}, null, 8, ot),
|
|
127
127
|
e("path", {
|
|
128
128
|
d: "m27.261 8.316-3.626 6.282 2.775 4.808",
|
|
129
|
-
stroke:
|
|
129
|
+
stroke: l.color,
|
|
130
130
|
"stroke-width": "1.406",
|
|
131
131
|
"stroke-miterlimit": "10",
|
|
132
132
|
"stroke-linecap": "round",
|
|
133
133
|
"stroke-linejoin": "round"
|
|
134
|
-
}, null, 8,
|
|
134
|
+
}, null, 8, lt),
|
|
135
135
|
e("path", {
|
|
136
136
|
d: "m37.909 15.003.233-.405-3.627-6.282h-7.377M23.634 14.598h-6.64M40.282 14.598h4.501M37.922 2.612l-3.406 5.704M27.261 8.316 23.544 2.8M34.908 29.631l2.255-2.173M31.725 26.621l2.79-2.741M28.13 23.223l2.758-2.514",
|
|
137
|
-
stroke:
|
|
137
|
+
stroke: l.color,
|
|
138
138
|
"stroke-width": "1.406",
|
|
139
139
|
"stroke-miterlimit": "10",
|
|
140
140
|
"stroke-linecap": "round",
|
|
141
141
|
"stroke-linejoin": "round"
|
|
142
|
-
}, null, 8,
|
|
142
|
+
}, null, 8, at)
|
|
143
143
|
]))
|
|
144
144
|
]),
|
|
145
145
|
rt,
|
|
146
|
-
e("div", it,
|
|
146
|
+
e("div", it, h(l.stat), 1)
|
|
147
147
|
])
|
|
148
148
|
])
|
|
149
149
|
]);
|
|
150
150
|
}
|
|
151
|
-
const
|
|
151
|
+
const dt = /* @__PURE__ */ x(m, [["render", st], ["__scopeId", "data-v-d2968adb"]]), nt = { class: "card-general__body" }, ct = { class: "text-container-saves" }, ut = {
|
|
152
152
|
key: 0,
|
|
153
153
|
class: "title-saves"
|
|
154
|
-
},
|
|
154
|
+
}, pt = {
|
|
155
155
|
key: 1,
|
|
156
156
|
class: "subtitle-saves"
|
|
157
|
-
},
|
|
157
|
+
}, ht = { class: "saves-box" }, mt = {
|
|
158
158
|
__name: "CardIndividualSaves",
|
|
159
159
|
props: {
|
|
160
160
|
height: {
|
|
@@ -180,41 +180,46 @@ const nt = /* @__PURE__ */ x(m, [["render", st], ["__scopeId", "data-v-f0ac71da"
|
|
|
180
180
|
idAux: {
|
|
181
181
|
type: String,
|
|
182
182
|
default: ""
|
|
183
|
+
},
|
|
184
|
+
providerId: {
|
|
185
|
+
type: Number,
|
|
186
|
+
default: 0
|
|
183
187
|
}
|
|
184
188
|
},
|
|
185
189
|
setup(o) {
|
|
186
190
|
y((i) => ({
|
|
187
|
-
"
|
|
188
|
-
|
|
189
|
-
"
|
|
191
|
+
"48e38e47": (t.data.subtitle, "100%"),
|
|
192
|
+
aef19f90: t.data.thumbnails.colors.font_color_header,
|
|
193
|
+
"4ddb1fb6": t.data.subtitle ? "100%" : "78%"
|
|
190
194
|
}));
|
|
191
|
-
const t = o,
|
|
195
|
+
const t = o, l = p(() => ({
|
|
192
196
|
"--height": t.height,
|
|
193
197
|
"--width": t.width,
|
|
194
198
|
"--footer-background-color": t.data.thumbnails.colors.background_color_cards || "#000000"
|
|
195
|
-
})), u =
|
|
196
|
-
var i, c, k, f,
|
|
199
|
+
})), u = p(() => {
|
|
200
|
+
var i, c, k, v, f, b, g;
|
|
197
201
|
return {
|
|
198
202
|
height: t.height,
|
|
199
203
|
width: t.width,
|
|
200
204
|
footerHeight: "137px",
|
|
201
|
-
playerPhotoUrl:
|
|
202
|
-
teamLogoUrl:
|
|
205
|
+
playerPhotoUrl: T(t.data.player_id || "", t.providerId),
|
|
206
|
+
teamLogoUrl: N(t.data.team_id || "", t.providerId) || "",
|
|
203
207
|
cardColor: t.data.thumbnails.colors.background_color || "#000000",
|
|
204
|
-
backgroundImageSrc:
|
|
205
|
-
(
|
|
208
|
+
backgroundImageSrc: E(
|
|
209
|
+
(v = (k = (c = (i = t.data) == null ? void 0 : i.thumbnails) == null ? void 0 : c.images) == null ? void 0 : k.background_player_in_action) != null && v[0] ? t.data.thumbnails.images.background_player_in_action[0] : (g = (b = (f = t.data) == null ? void 0 : f.thumbnails) == null ? void 0 : b.images) != null && g.background_team ? t.data.thumbnails.images.background_team : "",
|
|
210
|
+
t.providerId
|
|
206
211
|
),
|
|
207
212
|
textColor: t.data.thumbnails.colors.font_color_description || "#FFFFFF",
|
|
208
213
|
footerBodyData: {
|
|
209
214
|
textColor: t.data.thumbnails.colors.font_color_stats || "#FFFFFF",
|
|
210
|
-
description:
|
|
215
|
+
description: j(z({ data: t.data, descriptionType: t.descriptionType })),
|
|
211
216
|
total: t.data.total,
|
|
212
217
|
totalTextColor: t.data.thumbnails.colors.font_color_stats || "#FFFFFF",
|
|
213
218
|
totalCircleColor: t.data.thumbnails.colors.background_color || "#000000",
|
|
214
219
|
isTotalPercentage: !!t.data.footer.show_percentage
|
|
215
220
|
}
|
|
216
221
|
};
|
|
217
|
-
}),
|
|
222
|
+
}), n = p(() => {
|
|
218
223
|
var i;
|
|
219
224
|
if (!t.data.title) return { title: "", subtitle: "" };
|
|
220
225
|
const c = t.data.title.split("MÁS ATAJADAS");
|
|
@@ -223,23 +228,23 @@ const nt = /* @__PURE__ */ x(m, [["render", st], ["__scopeId", "data-v-f0ac71da"
|
|
|
223
228
|
subtitle: ((i = c[1]) == null ? void 0 : i.trim()) || ""
|
|
224
229
|
};
|
|
225
230
|
});
|
|
226
|
-
return (i, c) => (
|
|
231
|
+
return (i, c) => (a(), s("div", {
|
|
227
232
|
class: "card-general",
|
|
228
|
-
style: F(
|
|
233
|
+
style: F(l.value)
|
|
229
234
|
}, [
|
|
230
|
-
u.value ? (
|
|
235
|
+
u.value ? (a(), M(V, S({ key: 0 }, u.value, {
|
|
231
236
|
width: o.width,
|
|
232
237
|
"show-videos": o.showVideos,
|
|
233
238
|
"id-aux": o.idAux
|
|
234
239
|
}), {
|
|
235
240
|
body: A(() => [
|
|
236
|
-
e("div",
|
|
241
|
+
e("div", nt, [
|
|
237
242
|
e("div", ct, [
|
|
238
|
-
|
|
239
|
-
|
|
243
|
+
n.value.title ? (a(), s("h2", ut, h(n.value.title), 1)) : d("", !0),
|
|
244
|
+
n.value.subtitle ? (a(), s("p", pt, h(n.value.subtitle), 1)) : d("", !0)
|
|
240
245
|
]),
|
|
241
|
-
e("div",
|
|
242
|
-
C(
|
|
246
|
+
e("div", ht, [
|
|
247
|
+
C(dt, {
|
|
243
248
|
color: t.data.thumbnails.colors.graphic_color,
|
|
244
249
|
position: o.data.header.show_icon == 1 ? o.data.header.icon : "",
|
|
245
250
|
stat: o.data.total
|
|
@@ -248,10 +253,10 @@ const nt = /* @__PURE__ */ x(m, [["render", st], ["__scopeId", "data-v-f0ac71da"
|
|
|
248
253
|
])
|
|
249
254
|
]),
|
|
250
255
|
_: 1
|
|
251
|
-
}, 16, ["width", "show-videos", "id-aux"])) :
|
|
256
|
+
}, 16, ["width", "show-videos", "id-aux"])) : d("", !0)
|
|
252
257
|
], 4));
|
|
253
258
|
}
|
|
254
|
-
},
|
|
259
|
+
}, bt = /* @__PURE__ */ x(mt, [["__scopeId", "data-v-f75d639b"]]);
|
|
255
260
|
export {
|
|
256
|
-
|
|
261
|
+
bt as default
|
|
257
262
|
};
|