@golstats/gsc-landing 1.0.200 → 1.0.202
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/{CardBaseAllIndividual-yLYe0xMs-SDUJvPop.js → CardBaseAllIndividual-VdTcJTWG-BVu0s4Ia.js} +71 -64
- package/dist/{CardGeneral-CzD9BfTs-D1qozgj2.js → CardGeneral-C-VvuOx1-DZ1STmiu.js} +92 -85
- package/dist/{CardGeneralIndividual-DaONNIwT-WoYrg7O0.js → CardGeneralIndividual-Dgeu5sRM-B8G1a9du.js} +45 -38
- package/dist/{CardGeneralTeams-CCfSIg5--ycGF0WJl.js → CardGeneralTeams-Bio2uWy5-JwL6999E.js} +63 -56
- package/dist/{CardIndividual-DPKW-YpP-Dnc0EEj0.js → CardIndividual-C3vZnJKJ-5q9bHalb.js} +87 -81
- package/dist/{CardIndividual1vs1-BRtGgXM7-CedeR8el.js → CardIndividual1vs1-ayelgnf_-Dzunebe6.js} +45 -41
- package/dist/{CardIndividualAreas-Da2UYEaV-BPWvNz8Q.js → CardIndividualAreas-Be04td4J-D8hPG9Ld.js} +125 -120
- package/dist/{CardIndividualCenters-DMkkZlrP-Bb4dMrwf.js → CardIndividualCenters-CY_VblPm-tco6UKC3.js} +115 -110
- package/dist/{CardIndividualDistance-C226QSwL-R--LlcPz.js → CardIndividualDistance-BJMYJrZB-CSYRc_Hh.js} +34 -30
- package/dist/CardIndividualFouls-CBm_fj6Z-BMwjoJEP.js +686 -0
- package/dist/CardIndividualGoalParticipation-dDcZFtIb-CwBtEPQN.js +115 -0
- package/dist/{CardIndividualGoals-BVMarvFd-DL29nvxj.js → CardIndividualGoals-Lu8PEJkR-B7Wc968g.js} +204 -197
- package/dist/CardIndividualGold-Ptz6THCG-BRqzfQcT.js +124 -0
- package/dist/{CardIndividualNoGoalReceived-CIx-n793--Wt2ynZx.js → CardIndividualNoGoalReceived-kUSshVQ5-B_Vte5MR.js} +61 -57
- package/dist/{CardIndividualPerformance-DyczUumz-BaHTtZS4.js → CardIndividualPerformance-BUOn0sF1-9J7h-EAR.js} +28 -24
- package/dist/{CardIndividualSaves-CC91zpjd-CAQ8vR7-.js → CardIndividualSaves-DRGasLFI-C3bqv0g3.js} +44 -37
- package/dist/{CardIndividualShotsOnGoal-CxwYTN__-Bd9Y6B6j.js → CardIndividualShotsOnGoal-D9Dx66aR-DAEm50w4.js} +74 -69
- package/dist/{CardIndividualStatistics-CBd679p9-itsHFDEL.js → CardIndividualStatistics-QY2fzyFQ-Cx6f8RYu.js} +47 -39
- package/dist/{CardPromTournament-BKH4VcBp-D784umYN.js → CardPromTournament-BScZREpO-D50kVl_Z.js} +51 -44
- package/dist/CardSuccessfulPasses-B3BQ72bh-2Afgc80U.js +813 -0
- package/dist/CardTheMostProductive-DhsxmRN2-BerzYRSH.js +80 -0
- package/dist/{CircleWithDotsBig-5eFuZwDk-n956nNzk.js → CircleWithDotsBig-ayb1XwYk-BxAR6vi7.js} +1 -1
- package/dist/{Shield-0VkASyDI-Cm8rtKBS.js → Shield-DAT34Ykl-aryfBwhm.js} +1 -1
- package/dist/gsc-landing.js +200 -157
- package/dist/gsc-landing.umd.cjs +62 -62
- package/dist/misc-D94RabGe-BRVOC8Yx.js +172 -0
- package/dist/style.css +1 -1
- package/package.json +2 -2
- package/dist/CardIndividualFouls-ycmte1YE-DyR9GrTc.js +0 -669
- package/dist/CardIndividualGoalParticipation-Cpg4aGAE-DeUV1zrF.js +0 -111
- package/dist/CardIndividualGold-Df7Raasl-Byue4uk-.js +0 -117
- package/dist/CardSuccessfulPasses-DKetowpu-B12McLj4.js +0 -91
- package/dist/CardTheMostProductive-CoGLtVYs-BZcw_blj.js +0 -75
- package/dist/misc-BbzSgyER-2p2XKW1m.js +0 -168
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
import { computed as i, openBlock as r, createElementBlock as d, normalizeStyle as h, createVNode as g, mergeProps as F, withCtx as b, createElementVNode as e, toDisplayString as y, pushScopeId as v, popScopeId as w } from "vue";
|
|
2
|
+
import { r as k } from "./CardBaseAllIndividual-VdTcJTWG-BVu0s4Ia.js";
|
|
3
|
+
import { h as C, V as x, P as z, z as M, I as S, O as T } from "./misc-D94RabGe-BRVOC8Yx.js";
|
|
4
|
+
import { G as V } from "./CircleWithDotsBig-ayb1XwYk-BxAR6vi7.js";
|
|
5
|
+
const B = (a) => (v("data-v-3c8ff57f"), a = a(), w(), a), I = { class: "goal-participation__body__data" }, P = {
|
|
6
|
+
width: "35",
|
|
7
|
+
height: "47",
|
|
8
|
+
viewBox: "0 0 35 47",
|
|
9
|
+
fill: "none",
|
|
10
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
11
|
+
}, G = ["fill"], L = ["stroke"], N = {
|
|
12
|
+
key: 0,
|
|
13
|
+
class: "goal-participation__body__data__percent"
|
|
14
|
+
}, D = {
|
|
15
|
+
key: 1,
|
|
16
|
+
class: "goal-participation__body__data__total"
|
|
17
|
+
}, E = /* @__PURE__ */ B(() => /* @__PURE__ */ e("div", { class: "goal-participation__body__title" }, " participaciones de gol ", -1)), O = {
|
|
18
|
+
__name: "CardIndividualGoalParticipation",
|
|
19
|
+
props: {
|
|
20
|
+
height: {
|
|
21
|
+
type: String,
|
|
22
|
+
default: "445px"
|
|
23
|
+
},
|
|
24
|
+
width: {
|
|
25
|
+
type: String,
|
|
26
|
+
default: "319px"
|
|
27
|
+
},
|
|
28
|
+
data: {
|
|
29
|
+
type: Object,
|
|
30
|
+
default: () => null
|
|
31
|
+
},
|
|
32
|
+
descriptionType: {
|
|
33
|
+
type: Number,
|
|
34
|
+
default: 0
|
|
35
|
+
},
|
|
36
|
+
showVideos: {
|
|
37
|
+
type: Boolean,
|
|
38
|
+
default: !0
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
setup(a) {
|
|
42
|
+
const t = a, f = i(() => {
|
|
43
|
+
var l, n, s, p, u, _, m;
|
|
44
|
+
return {
|
|
45
|
+
height: t.height,
|
|
46
|
+
width: t.width,
|
|
47
|
+
footerHeight: "137px",
|
|
48
|
+
playerPhotoUrl: x(t.data.player_id || ""),
|
|
49
|
+
teamLogoUrl: z(t.data.team_id || ""),
|
|
50
|
+
cardColor: (t.data.thumbnails.colors.background_color || "#000000").trim(),
|
|
51
|
+
backgroundImageSrc: M((p = (s = (n = (l = t.data) == null ? void 0 : l.thumbnails) == null ? void 0 : n.images) == null ? void 0 : s.background_player_in_action) != null && p[0] ? t.data.thumbnails.images.background_player_in_action[0] : (m = (_ = (u = t.data) == null ? void 0 : u.thumbnails) == null ? void 0 : _.images) != null && m.background_team ? t.data.thumbnails.images.background_team : ""),
|
|
52
|
+
footerBodyData: {
|
|
53
|
+
description: S(T({ data: t.data, descriptionType: t.descriptionType })),
|
|
54
|
+
textColor: (t.data.thumbnails.colors.font_color_description || "#FFFFFF").trim()
|
|
55
|
+
}
|
|
56
|
+
};
|
|
57
|
+
}), o = i(() => {
|
|
58
|
+
const l = t.data.body.show_percentage;
|
|
59
|
+
return {
|
|
60
|
+
isTotalPercentage: l,
|
|
61
|
+
iconColor: (t.data.thumbnails.colors.icon_color || "#FFFFFF").trim(),
|
|
62
|
+
total: l ? t.data.percentage : t.data.total,
|
|
63
|
+
totalCircleColor: (t.data.thumbnails.colors.data_color || "#cbee6b").trim(),
|
|
64
|
+
totalTextColor: (t.data.thumbnails.colors.font_color_stats || "#FFFFFF").trim()
|
|
65
|
+
};
|
|
66
|
+
});
|
|
67
|
+
i(() => t.data.id);
|
|
68
|
+
const c = i(() => ({
|
|
69
|
+
"--title-color": (t.data.thumbnails.colors.font_color_header || "#FFFFFF").trim(),
|
|
70
|
+
"--total-color": (t.data.thumbnails.colors.font_color_stats || "#FFFFFF").trim()
|
|
71
|
+
}));
|
|
72
|
+
return (l, n) => (r(), d("div", {
|
|
73
|
+
class: "goal-participation",
|
|
74
|
+
style: h(c.value)
|
|
75
|
+
}, [
|
|
76
|
+
g(k, F(f.value, { "show-videos": a.showVideos }), {
|
|
77
|
+
body: b(() => [
|
|
78
|
+
e("div", {
|
|
79
|
+
class: "goal-participation__body",
|
|
80
|
+
style: h(c.value)
|
|
81
|
+
}, [
|
|
82
|
+
e("div", I, [
|
|
83
|
+
(r(), d("svg", P, [
|
|
84
|
+
e("path", {
|
|
85
|
+
d: "M4.159 42.568a2.667 2.667 0 1 0 5.333 0 2.667 2.667 0 0 0-5.333 0zM29.72 26.235l.29.407.563-.402-.557-.409-.296.404zM1.728 7.642a2.667 2.667 0 1 0 5.333 0 2.667 2.667 0 0 0-5.333 0zm5.388 35.333L30.012 26.64l-.581-.814L6.535 42.161l.58.814zM30.017 25.83 4.69 7.24l-.591.806 25.326 18.593.592-.807z",
|
|
86
|
+
fill: o.value.iconColor
|
|
87
|
+
}, null, 8, G),
|
|
88
|
+
e("path", {
|
|
89
|
+
opacity: ".5",
|
|
90
|
+
d: "M9.217 26.157a2.188 2.188 0 1 1-4.375 0 2.188 2.188 0 0 1 4.375 0zM30.158 9.9a2.187 2.187 0 1 1-4.375 0 2.187 2.187 0 0 1 4.375 0zM30.158 43.1a2.188 2.188 0 1 1-4.375 0 2.188 2.188 0 0 1 4.375 0z",
|
|
91
|
+
stroke: o.value.iconColor,
|
|
92
|
+
"stroke-width": "1.458"
|
|
93
|
+
}, null, 8, L)
|
|
94
|
+
])),
|
|
95
|
+
o.value.isTotalPercentage ? (r(), d("div", N, [
|
|
96
|
+
g(V, {
|
|
97
|
+
"text-color": o.value.totalTextColor,
|
|
98
|
+
color: o.value.totalCircleColor,
|
|
99
|
+
value: o.value.total
|
|
100
|
+
}, null, 8, ["text-color", "color", "value"])
|
|
101
|
+
])) : (r(), d("div", D, [
|
|
102
|
+
e("div", null, y(t.data.total), 1)
|
|
103
|
+
]))
|
|
104
|
+
]),
|
|
105
|
+
E
|
|
106
|
+
], 4)
|
|
107
|
+
]),
|
|
108
|
+
_: 1
|
|
109
|
+
}, 16, ["show-videos"])
|
|
110
|
+
], 4));
|
|
111
|
+
}
|
|
112
|
+
}, H = /* @__PURE__ */ C(O, [["__scopeId", "data-v-3c8ff57f"]]);
|
|
113
|
+
export {
|
|
114
|
+
H as default
|
|
115
|
+
};
|