@golstats/gsc-landing 1.0.201 → 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/README.md +2 -2
- package/dist/{CardBaseAllIndividual-D0CaU15e-CLPB0z0l.js → CardBaseAllIndividual-VdTcJTWG-BVu0s4Ia.js} +15 -11
- package/dist/{CardGeneral-AZwvWZ_3-AQOM0OL9.js → CardGeneral-C-VvuOx1-DZ1STmiu.js} +79 -72
- package/dist/{CardGeneralIndividual-DetWgcUA-BTLZpGNX.js → CardGeneralIndividual-Dgeu5sRM-B8G1a9du.js} +47 -40
- package/dist/{CardGeneralTeams-wLzPsHgF-fLdKm-YP.js → CardGeneralTeams-Bio2uWy5-JwL6999E.js} +40 -33
- package/dist/{CardIndividual-DsTXOh1h-Dc3790C2.js → CardIndividual-C3vZnJKJ-5q9bHalb.js} +79 -72
- package/dist/CardIndividual1vs1-ayelgnf_-Dzunebe6.js +112 -0
- package/dist/{CardIndividualAreas-DngsmF39-DcK3uLDs.js → CardIndividualAreas-Be04td4J-D8hPG9Ld.js} +123 -119
- package/dist/{CardIndividualCenters-BG_eOM3D-xuIP7w17.js → CardIndividualCenters-CY_VblPm-tco6UKC3.js} +115 -111
- package/dist/{CardIndividualDistance-CvBDGVS--D8YWMCKb.js → CardIndividualDistance-BJMYJrZB-CSYRc_Hh.js} +34 -30
- package/dist/{CardIndividualFouls-C44UeLyO-ZIHkkK8-.js → CardIndividualFouls-CBm_fj6Z-BMwjoJEP.js} +131 -127
- package/dist/CardIndividualGoalParticipation-dDcZFtIb-CwBtEPQN.js +115 -0
- package/dist/{CardIndividualGoals-B4b5wkp6-BwluJyoB.js → CardIndividualGoals-Lu8PEJkR-B7Wc968g.js} +186 -182
- package/dist/{CardIndividualGold-BfC-u_iy-DT3GeGNQ.js → CardIndividualGold-Ptz6THCG-BRqzfQcT.js} +39 -35
- package/dist/{CardIndividualNoGoalReceived-BfSj5Spd-CmA-iSLj.js → CardIndividualNoGoalReceived-kUSshVQ5-B_Vte5MR.js} +61 -57
- package/dist/CardIndividualPerformance-BUOn0sF1-9J7h-EAR.js +107 -0
- package/dist/{CardIndividualSaves-nqci9xWF-CDd6dQLA.js → CardIndividualSaves-DRGasLFI-C3bqv0g3.js} +47 -40
- package/dist/{CardIndividualShotsOnGoal-CivXiLK1-Gtfy45ra.js → CardIndividualShotsOnGoal-D9Dx66aR-DAEm50w4.js} +72 -68
- package/dist/{CardIndividualStatistics-Z68XArun-DT_RnZV9.js → CardIndividualStatistics-QY2fzyFQ-Cx6f8RYu.js} +36 -32
- package/dist/{CardPromTournament-D8dm7vzw-DjvD0ktc.js → CardPromTournament-BScZREpO-D50kVl_Z.js} +51 -44
- package/dist/{CardSuccessfulPasses-Duuuvnsj-Dtkl1toq.js → CardSuccessfulPasses-B3BQ72bh-2Afgc80U.js} +64 -60
- package/dist/CardTheMostProductive-DhsxmRN2-BerzYRSH.js +80 -0
- package/dist/{CircleWithDotsBig-BWySvEMt-COAdxI3W.js → CircleWithDotsBig-ayb1XwYk-BxAR6vi7.js} +1 -1
- package/dist/{Shield-DzbSNLIW-B-twHEDg.js → Shield-DAT34Ykl-aryfBwhm.js} +1 -1
- package/dist/gsc-landing.js +2152 -2142
- package/dist/gsc-landing.umd.cjs +59 -59
- package/dist/misc-D94RabGe-BRVOC8Yx.js +172 -0
- package/dist/style.css +1 -1
- package/package.json +53 -53
- package/dist/CardIndividual1vs1-D4ApefEV-BpJl9DFk.js +0 -108
- package/dist/CardIndividualGoalParticipation-CCDWQfQW-BGYwHtJV.js +0 -111
- package/dist/CardIndividualPerformance-DPNMz8n4-DTgdkzaM.js +0 -103
- package/dist/CardTheMostProductive-Jp8NzANe-DYcLrIfR.js +0 -76
- package/dist/misc-BpbriWn--Bd_IQoHZ.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
|
+
};
|