@golstats/gsc-landing 1.0.191 → 1.0.194
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-BNOgnH6t-D0xjZkGw.js +325 -0
- package/dist/CardGeneral-D2PYPb95-DycFnfDS.js +116 -0
- package/dist/CardGeneralIndividual-BHjZ12n1-BvodKC3y.js +283 -0
- package/dist/CardGeneralTeams-ByBEp-8b-CbLocm8U.js +654 -0
- package/dist/CardIndividual-BR1r5B5u-DqflCygx.js +517 -0
- package/dist/CardIndividual1vs1-DPov_cGc-DtWs-qcq.js +487 -0
- package/dist/CardIndividualAreas-qEYtV2XP-C97pNpBa.js +503 -0
- package/dist/CardIndividualCenters-DURH48kE-BAeLhbBk.js +543 -0
- package/dist/CardIndividualDistance-BKeSbWJ9-B6Vj1YLa.js +95 -0
- package/dist/CardIndividualFouls-BqWT8Bzx-D0EDbSJl.js +668 -0
- package/dist/CardIndividualGoalParticipation-CRBepIcB-CBc1Wh03.js +108 -0
- package/dist/CardIndividualGoals-CBAA7DE3-Dco1VuBc.js +733 -0
- package/dist/CardIndividualGold-BBYsUCND-BhqSGl0q.js +115 -0
- package/dist/CardIndividualNoGoalReceived-HaDOJruE-CKzigvOP.js +194 -0
- package/dist/CardIndividualPerformance-CEPnHtE9-Da4MXSxk.js +99 -0
- package/dist/CardIndividualSaves-BqBRjEt7-CJBgPvne.js +241 -0
- package/dist/CardIndividualShotsOnGoal-X_3YzAE3-CbiYLtzD.js +169 -0
- package/dist/CardIndividualStatistics-D769xisE-D2KNSIfX.js +219 -0
- package/dist/CardPromTournament-DFGqM4we-C4dX0pKz.js +113 -0
- package/dist/CardSuccessfulPasses-CTjMzZAt-Bv_X927S.js +91 -0
- package/dist/CardTheMostProductive-DzbDtzZn-Dewb8MoQ.js +74 -0
- package/dist/CircleWithDotsBig-DfppYko9-BYZNX7zX.js +91 -0
- package/dist/Shield-BjoeEr7g-C7yufXoK.js +150 -0
- package/dist/TimeSvg-Cxp_p6OH-cZfI6hDf.js +95 -0
- package/dist/gsc-landing.js +30847 -20928
- package/dist/gsc-landing.umd.cjs +65 -45
- package/dist/misc-BJvl3Yld-2p2XKW1m.js +168 -0
- package/dist/style.css +1 -1
- package/package.json +53 -51
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
import { computed as e, openBlock as i, createElementBlock as r, normalizeStyle as g, createVNode as F, normalizeProps as y, guardReactiveProps as b, withCtx as f, createElementVNode as o, toDisplayString as C, pushScopeId as w, popScopeId as x } from "vue";
|
|
2
|
+
import { d as k } from "./CardBaseAllIndividual-BNOgnH6t-D0xjZkGw.js";
|
|
3
|
+
import { h as z, z as M, P, E as S, I as T, O as I } from "./misc-BJvl3Yld-2p2XKW1m.js";
|
|
4
|
+
import { w as E } from "./CircleWithDotsBig-DfppYko9-BYZNX7zX.js";
|
|
5
|
+
const B = (l) => (w("data-v-4d8d2054"), l = l(), x(), l), L = { class: "goal-participation__body__data" }, N = {
|
|
6
|
+
width: "35",
|
|
7
|
+
height: "47",
|
|
8
|
+
viewBox: "0 0 35 47",
|
|
9
|
+
fill: "none",
|
|
10
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
11
|
+
}, D = ["fill"], U = ["stroke"], V = {
|
|
12
|
+
key: 0,
|
|
13
|
+
class: "goal-participation__body__data__percent"
|
|
14
|
+
}, G = {
|
|
15
|
+
key: 1,
|
|
16
|
+
class: "goal-participation__body__data__total"
|
|
17
|
+
}, H = /* @__PURE__ */ B(() => /* @__PURE__ */ o("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
|
+
},
|
|
37
|
+
setup(l) {
|
|
38
|
+
const t = l, v = e(() => {
|
|
39
|
+
var d, n, s, p, u, _, m, h;
|
|
40
|
+
return {
|
|
41
|
+
height: t.height,
|
|
42
|
+
width: t.width,
|
|
43
|
+
footerHeight: "137px",
|
|
44
|
+
playerPhotoUrl: M(t.data.player_id || ""),
|
|
45
|
+
teamLogoUrl: P(t.data.team_id || ""),
|
|
46
|
+
cardColor: t.data.thumbnails.colors.background_color || "#000000",
|
|
47
|
+
backgroundImageSrc: S((p = (s = (n = (d = t.data) == null ? void 0 : d.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] : (h = (m = (_ = (u = t.data) == null ? void 0 : u.thumbnails) == null ? void 0 : _.images) == null ? void 0 : m.team_in_action) != null && h[0] ? t.data.thumbnails.images.team_in_action[0] : ""),
|
|
48
|
+
footerBodyData: {
|
|
49
|
+
description: T(I({ data: t.data, descriptionType: t.descriptionType })),
|
|
50
|
+
textColor: (t.data.thumbnails.colors.font_color_description || "#FFFFFF").trim()
|
|
51
|
+
}
|
|
52
|
+
};
|
|
53
|
+
}), a = e(() => ({
|
|
54
|
+
isTotalPercentage: t.data.footer.is_percentage,
|
|
55
|
+
iconColor: (t.data.thumbnails.colors.icon_color || "#FFFFFF").trim(),
|
|
56
|
+
total: t.data.total,
|
|
57
|
+
totalCircleColor: (t.data.thumbnails.colors.data_color || "#cbee6b").trim(),
|
|
58
|
+
totalTextColor: (t.data.thumbnails.colors.font_color_stats || "#FFFFFF").trim()
|
|
59
|
+
}));
|
|
60
|
+
e(() => t.data.id);
|
|
61
|
+
const c = e(() => ({
|
|
62
|
+
"--title-color": (t.data.thumbnails.colors.font_color_header || "#FFFFFF").trim(),
|
|
63
|
+
"--total-color": (t.data.thumbnails.colors.font_color_stats || "#FFFFFF").trim()
|
|
64
|
+
}));
|
|
65
|
+
return (d, n) => (i(), r("div", {
|
|
66
|
+
class: "goal-participation",
|
|
67
|
+
style: g(c.value)
|
|
68
|
+
}, [
|
|
69
|
+
F(k, y(b(v.value)), {
|
|
70
|
+
body: f(() => [
|
|
71
|
+
o("div", {
|
|
72
|
+
class: "goal-participation__body",
|
|
73
|
+
style: g(c.value)
|
|
74
|
+
}, [
|
|
75
|
+
o("div", L, [
|
|
76
|
+
(i(), r("svg", N, [
|
|
77
|
+
o("path", {
|
|
78
|
+
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",
|
|
79
|
+
fill: a.value.iconColor
|
|
80
|
+
}, null, 8, D),
|
|
81
|
+
o("path", {
|
|
82
|
+
opacity: ".5",
|
|
83
|
+
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",
|
|
84
|
+
stroke: a.value.iconColor,
|
|
85
|
+
"stroke-width": "1.458"
|
|
86
|
+
}, null, 8, U)
|
|
87
|
+
])),
|
|
88
|
+
a.value.isTotalPercentage ? (i(), r("div", V, [
|
|
89
|
+
F(E, {
|
|
90
|
+
"text-color": a.value.totalTextColor,
|
|
91
|
+
color: a.value.totalCircleColor,
|
|
92
|
+
value: a.value.total
|
|
93
|
+
}, null, 8, ["text-color", "color", "value"])
|
|
94
|
+
])) : (i(), r("div", G, [
|
|
95
|
+
o("div", null, C(t.data.total), 1)
|
|
96
|
+
]))
|
|
97
|
+
]),
|
|
98
|
+
H
|
|
99
|
+
], 4)
|
|
100
|
+
]),
|
|
101
|
+
_: 1
|
|
102
|
+
}, 16)
|
|
103
|
+
], 4));
|
|
104
|
+
}
|
|
105
|
+
}, $ = /* @__PURE__ */ z(O, [["__scopeId", "data-v-4d8d2054"]]);
|
|
106
|
+
export {
|
|
107
|
+
$ as default
|
|
108
|
+
};
|