@golstats/gsc-landing 1.0.194 → 1.0.196
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-BNOgnH6t-D0xjZkGw.js → CardBaseAllIndividual-Din4dnnE-BKquMV21.js} +13 -12
- package/dist/CardGeneral-70CyP1c9-BUTqFTI2.js +127 -0
- package/dist/{CardGeneralIndividual-BHjZ12n1-BvodKC3y.js → CardGeneralIndividual-CFAG9SL3-oV36_au1.js} +83 -77
- package/dist/{CardGeneralTeams-ByBEp-8b-CbLocm8U.js → CardGeneralTeams-C1b59sT7-CJ8WP8Rw.js} +151 -146
- package/dist/{CardIndividual-BR1r5B5u-DqflCygx.js → CardIndividual-BVJEvLuq-DKdRxjLS.js} +38 -37
- package/dist/CardIndividual1vs1-BEIdhWs1-Ur49YndI.js +109 -0
- package/dist/{CardIndividualAreas-qEYtV2XP-C97pNpBa.js → CardIndividualAreas-T43vItFr-BgrX5OqP.js} +22 -21
- package/dist/{CardIndividualCenters-DURH48kE-BAeLhbBk.js → CardIndividualCenters-fZNKbbXo-B5mnyhQM.js} +121 -120
- package/dist/{CardIndividualDistance-BKeSbWJ9-B6Vj1YLa.js → CardIndividualDistance-CcU2Vbnx-Dhz8NAbJ.js} +32 -31
- package/dist/{CardIndividualFouls-BqWT8Bzx-D0EDbSJl.js → CardIndividualFouls-BYcKqeFK-C31N8-qM.js} +111 -110
- package/dist/CardIndividualGoalParticipation-yPoWp2QU-C-xHyu40.js +112 -0
- package/dist/{CardIndividualGoals-CBAA7DE3-Dco1VuBc.js → CardIndividualGoals-C69mSV2s-tOjLCWoh.js} +181 -180
- package/dist/{CardIndividualGold-BBYsUCND-BhqSGl0q.js → CardIndividualGold-BxCrvpoF-C0aIBmHX.js} +28 -26
- package/dist/{CardIndividualNoGoalReceived-HaDOJruE-CKzigvOP.js → CardIndividualNoGoalReceived-CqVz1A2y-CRaVjR0-.js} +56 -55
- package/dist/CardIndividualPerformance-JjUTmJQy-DUAMj2cv.js +104 -0
- package/dist/{CardIndividualSaves-BqBRjEt7-CJBgPvne.js → CardIndividualSaves-DEvTL6Uw-B122lO1Z.js} +70 -65
- package/dist/{CardIndividualShotsOnGoal-X_3YzAE3-CbiYLtzD.js → CardIndividualShotsOnGoal-BxwPL-4b-C4O7JVrv.js} +55 -54
- package/dist/{CardIndividualStatistics-D769xisE-D2KNSIfX.js → CardIndividualStatistics-DQRVwOUb-CaDk8RJE.js} +35 -34
- package/dist/{CardPromTournament-DFGqM4we-C4dX0pKz.js → CardPromTournament-HcWvduRV-DpeWH8i8.js} +28 -27
- package/dist/{CardSuccessfulPasses-CTjMzZAt-Bv_X927S.js → CardSuccessfulPasses-D9ZpWlLr-C6iia2Ko.js} +16 -15
- package/dist/CardTheMostProductive-CNNFBK3--Qo-b7oII.js +76 -0
- package/dist/{CircleWithDotsBig-DfppYko9-BYZNX7zX.js → CircleWithDotsBig-DOPQy89I-DWZ-BBWO.js} +1 -1
- package/dist/{Shield-BjoeEr7g-C7yufXoK.js → Shield-COMdrYaO-DmoFCV4h.js} +60 -55
- package/dist/gsc-landing.js +2 -57546
- package/dist/gsc-landing.umd.cjs +54 -54
- package/dist/index-BRCKRHng.js +57605 -0
- package/dist/misc-CMAhmOsp-DmS1M3b6.js +163 -0
- package/dist/style.css +1 -1
- package/package.json +2 -2
- package/dist/CardGeneral-D2PYPb95-DycFnfDS.js +0 -116
- package/dist/CardIndividual1vs1-DPov_cGc-DtWs-qcq.js +0 -487
- package/dist/CardIndividualGoalParticipation-CRBepIcB-CBc1Wh03.js +0 -108
- package/dist/CardIndividualPerformance-CEPnHtE9-Da4MXSxk.js +0 -99
- package/dist/CardTheMostProductive-DzbDtzZn-Dewb8MoQ.js +0 -74
- package/dist/misc-BJvl3Yld-2p2XKW1m.js +0 -168
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
import { computed as i, openBlock as r, createElementBlock as d, normalizeStyle as g, createVNode as h, normalizeProps as b, guardReactiveProps as v, withCtx as y, createElementVNode as l, toDisplayString as f, pushScopeId as k, popScopeId as w } from "vue";
|
|
2
|
+
import { i as C } from "./CardBaseAllIndividual-Din4dnnE-BKquMV21.js";
|
|
3
|
+
import { O as x, E as z, $ as M, P, z as S } from "./misc-CMAhmOsp-DmS1M3b6.js";
|
|
4
|
+
import { w as T } from "./CircleWithDotsBig-DOPQy89I-DWZ-BBWO.js";
|
|
5
|
+
import { h as B } from "./index-BRCKRHng.js";
|
|
6
|
+
const E = (e) => (k("data-v-a60035dc"), e = e(), w(), e), I = { class: "goal-participation__body__data" }, L = {
|
|
7
|
+
width: "35",
|
|
8
|
+
height: "47",
|
|
9
|
+
viewBox: "0 0 35 47",
|
|
10
|
+
fill: "none",
|
|
11
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
12
|
+
}, N = ["fill"], D = ["stroke"], U = {
|
|
13
|
+
key: 0,
|
|
14
|
+
class: "goal-participation__body__data__percent"
|
|
15
|
+
}, G = {
|
|
16
|
+
key: 1,
|
|
17
|
+
class: "goal-participation__body__data__total"
|
|
18
|
+
}, H = /* @__PURE__ */ E(() => /* @__PURE__ */ l("div", { class: "goal-participation__body__title" }, " participaciones de gol ", -1)), O = {
|
|
19
|
+
__name: "CardIndividualGoalParticipation",
|
|
20
|
+
props: {
|
|
21
|
+
height: {
|
|
22
|
+
type: String,
|
|
23
|
+
default: "445px"
|
|
24
|
+
},
|
|
25
|
+
width: {
|
|
26
|
+
type: String,
|
|
27
|
+
default: "319px"
|
|
28
|
+
},
|
|
29
|
+
data: {
|
|
30
|
+
type: Object,
|
|
31
|
+
default: () => null
|
|
32
|
+
},
|
|
33
|
+
descriptionType: {
|
|
34
|
+
type: Number,
|
|
35
|
+
default: 0
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
setup(e) {
|
|
39
|
+
const t = e, F = i(() => {
|
|
40
|
+
var o, n, s, p, u, _, m;
|
|
41
|
+
return {
|
|
42
|
+
height: t.height,
|
|
43
|
+
width: t.width,
|
|
44
|
+
footerHeight: "137px",
|
|
45
|
+
playerPhotoUrl: x(t.data.player_id || ""),
|
|
46
|
+
teamLogoUrl: z(t.data.team_id || ""),
|
|
47
|
+
cardColor: (t.data.thumbnails.colors.background_color || "#000000").trim(),
|
|
48
|
+
backgroundImageSrc: M((p = (s = (n = (o = t.data) == null ? void 0 : o.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_tean ? t.data.thumbnails.images.background_team : ""),
|
|
49
|
+
footerBodyData: {
|
|
50
|
+
description: P(S({ data: t.data, descriptionType: t.descriptionType })),
|
|
51
|
+
textColor: (t.data.thumbnails.colors.font_color_description || "#FFFFFF").trim()
|
|
52
|
+
}
|
|
53
|
+
};
|
|
54
|
+
}), a = i(() => {
|
|
55
|
+
const o = t.data.body.show_percentage;
|
|
56
|
+
return {
|
|
57
|
+
isTotalPercentage: o,
|
|
58
|
+
iconColor: (t.data.thumbnails.colors.icon_color || "#FFFFFF").trim(),
|
|
59
|
+
total: o ? t.data.percentage : t.data.total,
|
|
60
|
+
totalCircleColor: (t.data.thumbnails.colors.data_color || "#cbee6b").trim(),
|
|
61
|
+
totalTextColor: (t.data.thumbnails.colors.font_color_stats || "#FFFFFF").trim()
|
|
62
|
+
};
|
|
63
|
+
});
|
|
64
|
+
i(() => t.data.id);
|
|
65
|
+
const c = i(() => ({
|
|
66
|
+
"--title-color": (t.data.thumbnails.colors.font_color_header || "#FFFFFF").trim(),
|
|
67
|
+
"--total-color": (t.data.thumbnails.colors.font_color_stats || "#FFFFFF").trim()
|
|
68
|
+
}));
|
|
69
|
+
return (o, n) => (r(), d("div", {
|
|
70
|
+
class: "goal-participation",
|
|
71
|
+
style: g(c.value)
|
|
72
|
+
}, [
|
|
73
|
+
h(C, b(v(F.value)), {
|
|
74
|
+
body: y(() => [
|
|
75
|
+
l("div", {
|
|
76
|
+
class: "goal-participation__body",
|
|
77
|
+
style: g(c.value)
|
|
78
|
+
}, [
|
|
79
|
+
l("div", I, [
|
|
80
|
+
(r(), d("svg", L, [
|
|
81
|
+
l("path", {
|
|
82
|
+
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",
|
|
83
|
+
fill: a.value.iconColor
|
|
84
|
+
}, null, 8, N),
|
|
85
|
+
l("path", {
|
|
86
|
+
opacity: ".5",
|
|
87
|
+
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",
|
|
88
|
+
stroke: a.value.iconColor,
|
|
89
|
+
"stroke-width": "1.458"
|
|
90
|
+
}, null, 8, D)
|
|
91
|
+
])),
|
|
92
|
+
a.value.isTotalPercentage ? (r(), d("div", U, [
|
|
93
|
+
h(T, {
|
|
94
|
+
"text-color": a.value.totalTextColor,
|
|
95
|
+
color: a.value.totalCircleColor,
|
|
96
|
+
value: a.value.total
|
|
97
|
+
}, null, 8, ["text-color", "color", "value"])
|
|
98
|
+
])) : (r(), d("div", G, [
|
|
99
|
+
l("div", null, f(t.data.total), 1)
|
|
100
|
+
]))
|
|
101
|
+
]),
|
|
102
|
+
H
|
|
103
|
+
], 4)
|
|
104
|
+
]),
|
|
105
|
+
_: 1
|
|
106
|
+
}, 16)
|
|
107
|
+
], 4));
|
|
108
|
+
}
|
|
109
|
+
}, R = /* @__PURE__ */ B(O, [["__scopeId", "data-v-a60035dc"]]);
|
|
110
|
+
export {
|
|
111
|
+
R as default
|
|
112
|
+
};
|