@golstats/gsc-landing 1.0.190 → 1.0.193

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 (30) hide show
  1. package/README.md +2 -2
  2. package/dist/CardBaseAllIndividual-DW2NMKgR-HgCTNwsl.js +325 -0
  3. package/dist/CardGeneral-Ck1sE8Nk-nYRMD1Jp.js +116 -0
  4. package/dist/CardGeneralIndividual-KAcHT3zU-v50O2Zlq.js +283 -0
  5. package/dist/CardGeneralTeams-CwKmM2ip-1ajycpU3.js +654 -0
  6. package/dist/CardIndividual-OuxjYR6m-BJwKI5HZ.js +517 -0
  7. package/dist/CardIndividual1vs1-C6nQbFeh-DfQyFZf0.js +487 -0
  8. package/dist/CardIndividualAreas-DGRNgB7W-BXnQ-9tF.js +503 -0
  9. package/dist/CardIndividualCenters-0K7CYu6z-C1If3cnK.js +543 -0
  10. package/dist/CardIndividualDistance-DPP7-JWN-CiCspi8H.js +95 -0
  11. package/dist/CardIndividualFouls-CbvYRQjI-CVZKAmd3.js +668 -0
  12. package/dist/CardIndividualGoalParticipation-DBwh-Kcv-DIgeIQTB.js +108 -0
  13. package/dist/CardIndividualGoals-no1WpbpS-DaNagxNS.js +733 -0
  14. package/dist/CardIndividualGold-CkAyS4hx-DXmFVXpp.js +112 -0
  15. package/dist/CardIndividualNoGoalReceived-Bg-pQ5GI-7vmSeaL6.js +194 -0
  16. package/dist/CardIndividualPerformance-BZJ8PBWe-1n4ucmaO.js +99 -0
  17. package/dist/CardIndividualSaves-DboDAV9z-DW3t5zbf.js +241 -0
  18. package/dist/CardIndividualShotsOnGoal-Czqe0JAs-DQ1fY0Cd.js +169 -0
  19. package/dist/CardIndividualStatistics-Chw1TBSy-EkmKWR9X.js +219 -0
  20. package/dist/CardPromTournament-BbjTP9KD-CWu7JvYP.js +113 -0
  21. package/dist/CardSuccessfulPasses-UsTNXLy8-Creea-3D.js +426 -0
  22. package/dist/CardTheMostProductive-BGExgYBM-twyrFU3-.js +74 -0
  23. package/dist/CircleWithDotsBig-EzIr2wuY-TMr2eIat.js +91 -0
  24. package/dist/Shield-Dnuj3Yd--DAk7-Zio.js +150 -0
  25. package/dist/TimeSvg-Cxp_p6OH-cZfI6hDf.js +95 -0
  26. package/dist/gsc-landing.js +30930 -20985
  27. package/dist/gsc-landing.umd.cjs +65 -45
  28. package/dist/misc-CeQ5H5LP-DeaiNpCH.js +168 -0
  29. package/dist/style.css +1 -1
  30. 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-DW2NMKgR-HgCTNwsl.js";
3
+ import { h as z, z as M, P, E as S, I as T, O as I } from "./misc-CeQ5H5LP-DeaiNpCH.js";
4
+ import { w as E } from "./CircleWithDotsBig-EzIr2wuY-TMr2eIat.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
+ };