@golstats/gsc-relevant-data 1.0.15 → 1.0.17

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.
Files changed (36) hide show
  1. package/dist/CardBase-FI6JXGHQ-CIl1rArT.js +127 -0
  2. package/dist/{CardBaseAllIndividual-D0CaU15e-CLPB0z0l.js → CardBaseAllIndividual-DmeCG9Bu-BkRRCAkF.js} +20 -16
  3. package/dist/{CardGeneral-AZwvWZ_3-AQOM0OL9.js → CardGeneral-CA0zyzc5-hoalFeRn.js} +97 -89
  4. package/dist/{CardGeneralIndividual-DetWgcUA-BTLZpGNX.js → CardGeneralIndividual-CGvW_cNJ-Brc4719X.js} +54 -46
  5. package/dist/{CardGeneralTeams-wLzPsHgF-fLdKm-YP.js → CardGeneralTeams-B2Mt_1ck-DGtGp0kz.js} +61 -53
  6. package/dist/{CardIndividual-DsTXOh1h-Dc3790C2.js → CardIndividual-CVuyIMNJ-DrLJnLyX.js} +109 -101
  7. package/dist/CardIndividual1vs1-CHGIwVW_-D_F1FbBt.js +113 -0
  8. package/dist/{CardIndividualAreas-DngsmF39-DcK3uLDs.js → CardIndividualAreas-CTSkG6vH-3wFR3TUs.js} +59 -54
  9. package/dist/{CardIndividualCenters-BG_eOM3D-xuIP7w17.js → CardIndividualCenters-CtOymA-1-BTSaAuY0.js} +114 -109
  10. package/dist/{CardIndividualDistance-CvBDGVS--D8YWMCKb.js → CardIndividualDistance-BEunwEvl-C_sM7SpW.js} +35 -30
  11. package/dist/{CardIndividualFouls-C44UeLyO-ZIHkkK8-.js → CardIndividualFouls-BZmy1C5v-BTMzgLW1.js} +131 -126
  12. package/dist/CardIndividualGoalParticipation-BfQRXmuo-vKrLnbqm.js +116 -0
  13. package/dist/{CardIndividualGoals-B4b5wkp6-BwluJyoB.js → CardIndividualGoals-DG9vgQml-DWpZJnKo.js} +276 -220
  14. package/dist/{CardIndividualGold-BfC-u_iy-DT3GeGNQ.js → CardIndividualGold-Rwil02C5-DYINqkd_.js} +40 -35
  15. package/dist/{CardIndividualNoGoalReceived-BfSj5Spd-CmA-iSLj.js → CardIndividualNoGoalReceived-DKrbZDyK-CM2EQxJ0.js} +62 -57
  16. package/dist/CardIndividualPerformance-BxmlC3DF-Lmt78Lsh.js +108 -0
  17. package/dist/{CardIndividualSaves-nqci9xWF-CDd6dQLA.js → CardIndividualSaves-CpNX7tF6-AJJP0O8L.js} +50 -42
  18. package/dist/{CardIndividualShotsOnGoal-CivXiLK1-Gtfy45ra.js → CardIndividualShotsOnGoal-Bz2egr4P-Cu0PvN_8.js} +71 -66
  19. package/dist/{CardIndividualStatistics-Z68XArun-DT_RnZV9.js → CardIndividualStatistics-SG4MGex_-DwyDsIaG.js} +34 -29
  20. package/dist/{CardPromTournament-D8dm7vzw-DjvD0ktc.js → CardPromTournament-Crs0KmXt-jQlLG_tC.js} +42 -34
  21. package/dist/{CardSuccessfulPasses-Duuuvnsj-Dtkl1toq.js → CardSuccessfulPasses-BCOa64Fb-D-vP5feB.js} +138 -133
  22. package/dist/CardTheMostProductive-BewV6KUX-B-aUc9v5.js +81 -0
  23. package/dist/{CircleWithDotsBig-BWySvEMt-COAdxI3W.js → CircleWithDotsBig-BXHW1pPv-D9k8N9rs.js} +8 -8
  24. package/dist/{Shield-DzbSNLIW-B-twHEDg.js → Shield-DrqywZtU-FXKCGenl.js} +6 -6
  25. package/dist/TimeSvg-B3vSNjgQ-BbQ6V9Cu.js +56 -0
  26. package/dist/gsc-relevant-data.css +1 -1
  27. package/dist/gsc-relevant-data.js +2 -5021
  28. package/dist/gsc-relevant-data.umd.cjs +6 -6
  29. package/dist/index-SSELSqE0.js +5207 -0
  30. package/package.json +2 -2
  31. package/dist/CardIndividual1vs1-D4ApefEV-BpJl9DFk.js +0 -108
  32. package/dist/CardIndividualGoalParticipation-CCDWQfQW-BGYwHtJV.js +0 -111
  33. package/dist/CardIndividualPerformance-DPNMz8n4-DTgdkzaM.js +0 -103
  34. package/dist/CardTheMostProductive-Jp8NzANe-DYcLrIfR.js +0 -76
  35. package/dist/TimeSvg-Cxp_p6OH-cZfI6hDf.js +0 -95
  36. package/dist/misc-BpbriWn--Bd_IQoHZ.js +0 -168
@@ -0,0 +1,116 @@
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-DmeCG9Bu-BkRRCAkF.js";
3
+ import { j as C, $ as x, H as z, O as M, R as S } from "./index-SSELSqE0.js";
4
+ import { G as T } from "./CircleWithDotsBig-BXHW1pPv-D9k8N9rs.js";
5
+ import { b as B } from "./CardBase-FI6JXGHQ-CIl1rArT.js";
6
+ const I = (a) => (v("data-v-3c8ff57f"), a = a(), w(), a), P = { class: "goal-participation__body__data" }, V = {
7
+ width: "35",
8
+ height: "47",
9
+ viewBox: "0 0 35 47",
10
+ fill: "none",
11
+ xmlns: "http://www.w3.org/2000/svg"
12
+ }, G = ["fill"], L = ["stroke"], N = {
13
+ key: 0,
14
+ class: "goal-participation__body__data__percent"
15
+ }, D = {
16
+ key: 1,
17
+ class: "goal-participation__body__data__total"
18
+ }, E = /* @__PURE__ */ I(() => /* @__PURE__ */ e("div", { class: "goal-participation__body__title" }, " participaciones de gol ", -1)), j = {
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
+ showVideos: {
38
+ type: Boolean,
39
+ default: !0
40
+ }
41
+ },
42
+ setup(a) {
43
+ const t = a, f = i(() => {
44
+ var l, n, s, p, u, _, m;
45
+ return {
46
+ height: t.height,
47
+ width: t.width,
48
+ footerHeight: "137px",
49
+ playerPhotoUrl: C(t.data.player_id || ""),
50
+ teamLogoUrl: x(t.data.team_id || ""),
51
+ cardColor: (t.data.thumbnails.colors.background_color || "#000000").trim(),
52
+ backgroundImageSrc: z((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 : ""),
53
+ footerBodyData: {
54
+ description: M(S({ data: t.data, descriptionType: t.descriptionType })),
55
+ textColor: (t.data.thumbnails.colors.font_color_description || "#FFFFFF").trim()
56
+ }
57
+ };
58
+ }), o = i(() => {
59
+ const l = t.data.body.show_percentage;
60
+ return {
61
+ isTotalPercentage: l,
62
+ iconColor: (t.data.thumbnails.colors.icon_color || "#FFFFFF").trim(),
63
+ total: l ? t.data.percentage : t.data.total,
64
+ totalCircleColor: (t.data.thumbnails.colors.data_color || "#cbee6b").trim(),
65
+ totalTextColor: (t.data.thumbnails.colors.font_color_stats || "#FFFFFF").trim()
66
+ };
67
+ });
68
+ i(() => t.data.id);
69
+ const c = i(() => ({
70
+ "--title-color": (t.data.thumbnails.colors.font_color_header || "#FFFFFF").trim(),
71
+ "--total-color": (t.data.thumbnails.colors.font_color_stats || "#FFFFFF").trim()
72
+ }));
73
+ return (l, n) => (r(), d("div", {
74
+ class: "goal-participation",
75
+ style: h(c.value)
76
+ }, [
77
+ g(k, F(f.value, { "show-videos": a.showVideos }), {
78
+ body: b(() => [
79
+ e("div", {
80
+ class: "goal-participation__body",
81
+ style: h(c.value)
82
+ }, [
83
+ e("div", P, [
84
+ (r(), d("svg", V, [
85
+ e("path", {
86
+ 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",
87
+ fill: o.value.iconColor
88
+ }, null, 8, G),
89
+ e("path", {
90
+ opacity: ".5",
91
+ 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",
92
+ stroke: o.value.iconColor,
93
+ "stroke-width": "1.458"
94
+ }, null, 8, L)
95
+ ])),
96
+ o.value.isTotalPercentage ? (r(), d("div", N, [
97
+ g(T, {
98
+ "text-color": o.value.totalTextColor,
99
+ color: o.value.totalCircleColor,
100
+ value: o.value.total
101
+ }, null, 8, ["text-color", "color", "value"])
102
+ ])) : (r(), d("div", D, [
103
+ e("div", null, y(t.data.total), 1)
104
+ ]))
105
+ ]),
106
+ E
107
+ ], 4)
108
+ ]),
109
+ _: 1
110
+ }, 16, ["show-videos"])
111
+ ], 4));
112
+ }
113
+ }, A = /* @__PURE__ */ B(j, [["__scopeId", "data-v-3c8ff57f"]]);
114
+ export {
115
+ A as default
116
+ };