@golstats/gsc-relevant-data 1.0.6 → 1.0.9
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-Din4dnnE-ClvswX2H.js → CardBaseAllIndividual-CNB7K2M0-nej9DJ8x.js} +68 -69
- package/dist/CardGeneral-CzD9BfTs-D1qozgj2.js +678 -0
- package/dist/{CardGeneralIndividual-CFAG9SL3-Cm2WMulY.js → CardGeneralIndividual-DaONNIwT-WoYrg7O0.js} +22 -23
- package/dist/{CardGeneralTeams-C1b59sT7-DKIH3pKd.js → CardGeneralTeams-CCfSIg5--ycGF0WJl.js} +35 -36
- package/dist/{CardIndividual-BVJEvLuq-DNLGRnJn.js → CardIndividual-B5YHR_4X-DC-zfHLx.js} +69 -70
- package/dist/{CardIndividual1vs1-BEIdhWs1-CmX-Dpme.js → CardIndividual1vs1-CwWPZ1jp-By52KIVf.js} +9 -10
- package/dist/{CardIndividualAreas-T43vItFr-GlwzP3pQ.js → CardIndividualAreas-D9mHXjfS-DrA6YV1T.js} +56 -56
- package/dist/{CardIndividualCenters-fZNKbbXo-CvIgTyZn.js → CardIndividualCenters-DeGyy9wB-BftpRpCL.js} +108 -108
- package/dist/{CardIndividualDistance-CcU2Vbnx-DlR0hivB.js → CardIndividualDistance-Dq2calI2-Ibl6uHbE.js} +14 -15
- package/dist/{CardIndividualFouls-BYcKqeFK-BGZfrm52.js → CardIndividualFouls-DF0AvPys-C61mrpb7.js} +119 -119
- package/dist/{CardIndividualGoalParticipation-yPoWp2QU-DpNpWdqc.js → CardIndividualGoalParticipation-BC_F7PdP-IXEeZoV4.js} +41 -42
- package/dist/{CardIndividualGoals-C69mSV2s-CBAHkKBm.js → CardIndividualGoals-BBu5FY5j-CBMS5ssK.js} +178 -178
- package/dist/{CardIndividualGold-BxCrvpoF-BEc0OJ86.js → CardIndividualGold-BMKxc3r9-De2Anuon.js} +33 -33
- package/dist/{CardIndividualNoGoalReceived-CqVz1A2y-Bkyl-TxG.js → CardIndividualNoGoalReceived-I-e5vsG7-CEzJIp_l.js} +18 -19
- package/dist/CardIndividualPerformance-DaQseH4c-DQdCn0VP.js +103 -0
- package/dist/{CardIndividualSaves-DEvTL6Uw-_tm_oIfl.js → CardIndividualSaves-CCaV8HU6-wv9lT0tB.js} +17 -18
- package/dist/{CardIndividualShotsOnGoal-BxwPL-4b-8RHeYE0k.js → CardIndividualShotsOnGoal-CwzjHXK9-CdK_9OTp.js} +68 -59
- package/dist/{CardIndividualStatistics-DQRVwOUb-Cq_TJCc_.js → CardIndividualStatistics-C_z-rRXF-DGbkpB-m.js} +14 -15
- package/dist/{CardPromTournament-HcWvduRV-BAoQc2Cb.js → CardPromTournament-DMe6axFO-DWI8msi-.js} +31 -32
- package/dist/{CardSuccessfulPasses-D9ZpWlLr-u3HOsral.js → CardSuccessfulPasses-ByzEm7s3-DmSHr8yg.js} +9 -10
- package/dist/{CardTheMostProductive-CNNFBK3--DOPfJcMr.js → CardTheMostProductive-CDDFIo-I-LQ50NbB5.js} +14 -15
- package/dist/CircleWithDotsBig-5eFuZwDk-n956nNzk.js +151 -0
- package/dist/{Shield-COMdrYaO-CAc0Epy_.js → Shield-0VkASyDI-Cm8rtKBS.js} +1 -1
- package/dist/gsc-relevant-data.css +1 -1
- package/dist/gsc-relevant-data.js +4949 -2
- package/dist/gsc-relevant-data.umd.cjs +6 -6
- package/dist/misc-BbzSgyER-2p2XKW1m.js +168 -0
- package/package.json +2 -2
- package/dist/CardGeneral-70CyP1c9-DzGLKPLW.js +0 -127
- package/dist/CardIndividualPerformance-JjUTmJQy-8qdezjEh.js +0 -104
- package/dist/CircleWithDotsBig-DOPQy89I-Cv_-f5J6.js +0 -91
- package/dist/index-Cb9m7Z8V.js +0 -4933
- package/dist/misc-CMAhmOsp-CuP1bOXh.js +0 -163
|
@@ -1,21 +1,20 @@
|
|
|
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
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
const E = (e) => (k("data-v-a60035dc"), e = e(), w(), e), I = { class: "goal-participation__body__data" }, L = {
|
|
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 C } from "vue";
|
|
2
|
+
import { o as w } from "./CardBaseAllIndividual-CNB7K2M0-nej9DJ8x.js";
|
|
3
|
+
import { h as x, z, P as M, E as P, I as S, O as T } from "./misc-BbzSgyER-2p2XKW1m.js";
|
|
4
|
+
import { G as I } from "./CircleWithDotsBig-5eFuZwDk-n956nNzk.js";
|
|
5
|
+
const B = (e) => (k("data-v-94a1638a"), e = e(), C(), e), E = { class: "goal-participation__body__data" }, G = {
|
|
7
6
|
width: "35",
|
|
8
7
|
height: "47",
|
|
9
8
|
viewBox: "0 0 35 47",
|
|
10
9
|
fill: "none",
|
|
11
10
|
xmlns: "http://www.w3.org/2000/svg"
|
|
12
|
-
},
|
|
11
|
+
}, L = ["fill"], N = ["stroke"], D = {
|
|
13
12
|
key: 0,
|
|
14
13
|
class: "goal-participation__body__data__percent"
|
|
15
|
-
},
|
|
14
|
+
}, U = {
|
|
16
15
|
key: 1,
|
|
17
16
|
class: "goal-participation__body__data__total"
|
|
18
|
-
}, H = /* @__PURE__ */
|
|
17
|
+
}, H = /* @__PURE__ */ B(() => /* @__PURE__ */ l("div", { class: "goal-participation__body__title" }, " participaciones de gol ", -1)), O = {
|
|
19
18
|
__name: "CardIndividualGoalParticipation",
|
|
20
19
|
props: {
|
|
21
20
|
height: {
|
|
@@ -36,67 +35,67 @@ const E = (e) => (k("data-v-a60035dc"), e = e(), w(), e), I = { class: "goal-par
|
|
|
36
35
|
}
|
|
37
36
|
},
|
|
38
37
|
setup(e) {
|
|
39
|
-
const
|
|
38
|
+
const a = e, F = i(() => {
|
|
40
39
|
var o, n, s, p, u, _, m;
|
|
41
40
|
return {
|
|
42
|
-
height:
|
|
43
|
-
width:
|
|
41
|
+
height: a.height,
|
|
42
|
+
width: a.width,
|
|
44
43
|
footerHeight: "137px",
|
|
45
|
-
playerPhotoUrl:
|
|
46
|
-
teamLogoUrl:
|
|
47
|
-
cardColor: (
|
|
48
|
-
backgroundImageSrc:
|
|
44
|
+
playerPhotoUrl: z(a.data.player_id || ""),
|
|
45
|
+
teamLogoUrl: M(a.data.team_id || ""),
|
|
46
|
+
cardColor: (a.data.thumbnails.colors.background_color || "#000000").trim(),
|
|
47
|
+
backgroundImageSrc: P((p = (s = (n = (o = a.data) == null ? void 0 : o.thumbnails) == null ? void 0 : n.images) == null ? void 0 : s.background_player_in_action) != null && p[0] ? a.data.thumbnails.images.background_player_in_action[0] : (m = (_ = (u = a.data) == null ? void 0 : u.thumbnails) == null ? void 0 : _.images) != null && m.background_team ? a.data.thumbnails.images.background_team : ""),
|
|
49
48
|
footerBodyData: {
|
|
50
|
-
description:
|
|
51
|
-
textColor: (
|
|
49
|
+
description: S(T({ data: a.data, descriptionType: a.descriptionType })),
|
|
50
|
+
textColor: (a.data.thumbnails.colors.font_color_description || "#FFFFFF").trim()
|
|
52
51
|
}
|
|
53
52
|
};
|
|
54
|
-
}),
|
|
55
|
-
const o =
|
|
53
|
+
}), t = i(() => {
|
|
54
|
+
const o = a.data.body.show_percentage;
|
|
56
55
|
return {
|
|
57
56
|
isTotalPercentage: o,
|
|
58
|
-
iconColor: (
|
|
59
|
-
total: o ?
|
|
60
|
-
totalCircleColor: (
|
|
61
|
-
totalTextColor: (
|
|
57
|
+
iconColor: (a.data.thumbnails.colors.icon_color || "#FFFFFF").trim(),
|
|
58
|
+
total: o ? a.data.percentage : a.data.total,
|
|
59
|
+
totalCircleColor: (a.data.thumbnails.colors.data_color || "#cbee6b").trim(),
|
|
60
|
+
totalTextColor: (a.data.thumbnails.colors.font_color_stats || "#FFFFFF").trim()
|
|
62
61
|
};
|
|
63
62
|
});
|
|
64
|
-
i(() =>
|
|
63
|
+
i(() => a.data.id);
|
|
65
64
|
const c = i(() => ({
|
|
66
|
-
"--title-color": (
|
|
67
|
-
"--total-color": (
|
|
65
|
+
"--title-color": (a.data.thumbnails.colors.font_color_header || "#FFFFFF").trim(),
|
|
66
|
+
"--total-color": (a.data.thumbnails.colors.font_color_stats || "#FFFFFF").trim()
|
|
68
67
|
}));
|
|
69
68
|
return (o, n) => (r(), d("div", {
|
|
70
69
|
class: "goal-participation",
|
|
71
70
|
style: g(c.value)
|
|
72
71
|
}, [
|
|
73
|
-
h(
|
|
72
|
+
h(w, b(v(F.value)), {
|
|
74
73
|
body: y(() => [
|
|
75
74
|
l("div", {
|
|
76
75
|
class: "goal-participation__body",
|
|
77
76
|
style: g(c.value)
|
|
78
77
|
}, [
|
|
79
|
-
l("div",
|
|
80
|
-
(r(), d("svg",
|
|
78
|
+
l("div", E, [
|
|
79
|
+
(r(), d("svg", G, [
|
|
81
80
|
l("path", {
|
|
82
81
|
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:
|
|
84
|
-
}, null, 8,
|
|
82
|
+
fill: t.value.iconColor
|
|
83
|
+
}, null, 8, L),
|
|
85
84
|
l("path", {
|
|
86
85
|
opacity: ".5",
|
|
87
86
|
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:
|
|
87
|
+
stroke: t.value.iconColor,
|
|
89
88
|
"stroke-width": "1.458"
|
|
90
|
-
}, null, 8,
|
|
89
|
+
}, null, 8, N)
|
|
91
90
|
])),
|
|
92
|
-
|
|
93
|
-
h(
|
|
94
|
-
"text-color":
|
|
95
|
-
color:
|
|
96
|
-
value:
|
|
91
|
+
t.value.isTotalPercentage ? (r(), d("div", D, [
|
|
92
|
+
h(I, {
|
|
93
|
+
"text-color": t.value.totalTextColor,
|
|
94
|
+
color: t.value.totalCircleColor,
|
|
95
|
+
value: t.value.total
|
|
97
96
|
}, null, 8, ["text-color", "color", "value"])
|
|
98
|
-
])) : (r(), d("div",
|
|
99
|
-
l("div", null, f(
|
|
97
|
+
])) : (r(), d("div", U, [
|
|
98
|
+
l("div", null, f(a.data.total), 1)
|
|
100
99
|
]))
|
|
101
100
|
]),
|
|
102
101
|
H
|
|
@@ -106,7 +105,7 @@ const E = (e) => (k("data-v-a60035dc"), e = e(), w(), e), I = { class: "goal-par
|
|
|
106
105
|
}, 16)
|
|
107
106
|
], 4));
|
|
108
107
|
}
|
|
109
|
-
}, R = /* @__PURE__ */
|
|
108
|
+
}, R = /* @__PURE__ */ x(O, [["__scopeId", "data-v-94a1638a"]]);
|
|
110
109
|
export {
|
|
111
110
|
R as default
|
|
112
111
|
};
|