@golstats/gsc-landing 1.0.221 → 1.0.223

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 (34) hide show
  1. package/README.md +2 -2
  2. package/dist/{CardBase-CQ_cz3DX-DTBy71IL.js → CardBase-DJPEW7xu-Bb90xanh.js} +39 -39
  3. package/dist/{CardBaseAllIndividual-BfzkzaGP-p-RaPYom.js → CardBaseAllIndividual-CJY0KdrJ-CJbDdtoT.js} +8 -8
  4. package/dist/{CardGeneral-BEI3l_d--C_7zPuBe.js → CardGeneral-CDS08xVv-B50jt1-C.js} +32 -32
  5. package/dist/{CardGeneralIndividual-B4Y_5rP6-CuKLj5qk.js → CardGeneralIndividual-DoXvg6Ch-B9Q9pZfe.js} +57 -57
  6. package/dist/{CardGeneralTeams-CXmyJkpJ-CCQ0RpLi.js → CardGeneralTeams-FYzVxcB3-z3J2aQVr.js} +88 -88
  7. package/dist/{CardIndividual-7ej3E3wn-D2DzN0Ij.js → CardIndividual-u8FZLLmq-BRVg_Ub8.js} +56 -56
  8. package/dist/{CardIndividual1vs1-Z2cAE1MR-By-0zyHS.js → CardIndividual1vs1-C13lA1gg-DhHtFIeO.js} +28 -28
  9. package/dist/{CardIndividualAreas-D3eFogiE-9dx3kcTV.js → CardIndividualAreas-D13F6fry-DO0EHj-k.js} +19 -19
  10. package/dist/{CardIndividualCenters-4S8taJsU-Dkz8TCy_.js → CardIndividualCenters-If_CjK9--DOQQSL_6.js} +30 -30
  11. package/dist/{CardIndividualDistance-DT01ahQX-hwl4tb8x.js → CardIndividualDistance-DtT14cRG-DvpD2x_n.js} +15 -15
  12. package/dist/{CardIndividualFouls-BcE5EuiF-D_M62P7E.js → CardIndividualFouls-Bsm2M4Gv-DAOZTXFi.js} +37 -37
  13. package/dist/{CardIndividualGoalParticipation-Bx2JTuHf-BND3pxjh.js → CardIndividualGoalParticipation-DxJDrw64-G3KlLDiL.js} +30 -30
  14. package/dist/{CardIndividualGoals-BHhnubuE-Du8FeSYD.js → CardIndividualGoals-tVv3jx9v-DPahJY7h.js} +20 -20
  15. package/dist/{CardIndividualGold-Djd6C88i-f6eGLUvB.js → CardIndividualGold-B3awfrVU-C7Be15iD.js} +30 -30
  16. package/dist/{CardIndividualNoGoalReceived-C3jS0zMR-B7dfIAe2.js → CardIndividualNoGoalReceived-plZw_S4K-DoEt_Vcy.js} +28 -28
  17. package/dist/{CardIndividualPerformance-kI7QHeB1-BviSS2Yi.js → CardIndividualPerformance-pONmvZ---Dd9iPiuJ.js} +33 -33
  18. package/dist/{CardIndividualSaves-CslQjDqf-B28qX20C.js → CardIndividualSaves-7NZaLckt-CwetY31M.js} +22 -22
  19. package/dist/{CardIndividualShotsOnGoal-1O1_NtGz-BsbDmmje.js → CardIndividualShotsOnGoal-BA2B5zK2-QYYcQ6qa.js} +31 -31
  20. package/dist/{CardIndividualStatistics-Bck8k3hP-CdNfsW0S.js → CardIndividualStatistics-BdNBubd3-Dk95bajC.js} +26 -26
  21. package/dist/CardPromTournament-IvcxYf42-CM6HaXKj.js +145 -0
  22. package/dist/{CardSuccessfulPasses-Jba0cbKl-D0_g5xRf.js → CardSuccessfulPasses-CvGqK_hf-CprfTS-6.js} +28 -28
  23. package/dist/CardTheMostProductive-Crx3j88e-C6suz2GG.js +87 -0
  24. package/dist/{PlayerProfileCircle-BYhumEi4-D0-KnWFt.js → PlayerProfileCircle-BQwTCjvG-1KiSm3Hh.js} +3 -3
  25. package/dist/{Shield--rPGshU4-BLvrU38T.js → Shield-aiuYwUJa-BJbb4la8.js} +20 -20
  26. package/dist/{TimeSvg-B3vSNjgQ-BbQ6V9Cu.js → TimeSvg-B3vSNjgQ-C-C9O8pw.js} +3 -3
  27. package/dist/{TimeSvg2-BX0bDokD-BWiiXdSp.js → TimeSvg2-BX0bDokD-DUAW7DAH.js} +3 -3
  28. package/dist/gsc-landing.js +1 -1
  29. package/dist/gsc-landing.umd.cjs +62 -62
  30. package/dist/{index-CTCGk8Kp.js → index-B2IZobUp.js} +17730 -17226
  31. package/dist/style.css +1 -1
  32. package/package.json +53 -53
  33. package/dist/CardPromTournament-D5HMPX4m-BUpkjNdJ.js +0 -145
  34. package/dist/CardTheMostProductive-DfNmPeVC-e9IxjXST.js +0 -87
@@ -0,0 +1,145 @@
1
+ import { useCssVars as V, computed as d, ref as B, createElementBlock as m, openBlock as c, normalizeStyle as r, createBlock as A, createCommentVNode as R, mergeProps as S, withCtx as D, createElementVNode as e, toDisplayString as u, createVNode as E, unref as T, Fragment as M, renderList as N, normalizeClass as F } from "vue";
2
+ import { m as z, E as p, z as H, A as L } from "./CardBase-DJPEW7xu-Bb90xanh.js";
3
+ import { N as W } from "./Shield-aiuYwUJa-BJbb4la8.js";
4
+ const $ = { class: "card-content" }, j = { class: "content-wrapper" }, q = { class: "main-content" }, G = { class: "title-separator" }, J = { class: "footer-text" }, K = ["innerHTML"], Q = { class: "seasons-sidebar" }, U = { class: "seasons-list" }, X = "1px 54px", Y = {
5
+ __name: "CardPromTournament",
6
+ props: {
7
+ height: {
8
+ type: String,
9
+ default: "568px"
10
+ },
11
+ width: {
12
+ type: String,
13
+ default: "319px"
14
+ },
15
+ showVideos: {
16
+ type: Boolean,
17
+ default: !0
18
+ },
19
+ idAux: {
20
+ type: String,
21
+ default: ""
22
+ },
23
+ data: {
24
+ type: Object,
25
+ default: () => null
26
+ },
27
+ descriptionType: {
28
+ type: Number,
29
+ default: 0
30
+ }
31
+ },
32
+ setup(s) {
33
+ V((o) => {
34
+ var t;
35
+ return {
36
+ d9678364: s.data.thumbnails.colors.background_color,
37
+ "04caf132": ((t = a.data) == null ? void 0 : t.thumbnails.colors.font_color_stats) || "#4CAF50"
38
+ };
39
+ });
40
+ const a = s, O = d(() => ({
41
+ "--height": a.height,
42
+ "--width": a.width,
43
+ "--footer-background-color": a.data.thumbnails.colors.background_color || "#000000"
44
+ })), P = B({
45
+ width: "50px",
46
+ height: "50px",
47
+ bottom: "34px",
48
+ right: "-8px",
49
+ innerImageWidth: "39px",
50
+ innerImageHeight: "39px"
51
+ }), h = d(() => {
52
+ var o, t, l, i;
53
+ return !a.data || !a.data.thumbnails ? null : {
54
+ backgroundOverlayColor: a.data.thumbnails.colors.background_color || "#000000",
55
+ backgroundImageSrc: (i = (l = (t = (o = a.data) == null ? void 0 : o.thumbnails) == null ? void 0 : t.images) == null ? void 0 : l.background_player_in_action) != null && i[0] ? p(a.data.thumbnails.images.background_player_in_action[0]) : p(a.data.thumbnails.images.background_team),
56
+ isPlayButtonVisible: a.showVideos
57
+ };
58
+ }), g = d(() => {
59
+ var o, t, l;
60
+ if (!((o = a.data) != null && o.title)) return { mainTitle: "", sidebarTitle: "PROMEDIO POR PARTIDO" };
61
+ const i = a.data.title.split("*").filter(Boolean);
62
+ return {
63
+ mainTitle: ((t = i[0]) == null ? void 0 : t.trim()) || "",
64
+ sidebarTitle: ((l = i[1]) == null ? void 0 : l.trim()) || "PROMEDIO POR PARTIDO"
65
+ };
66
+ }), C = d(() => {
67
+ var o;
68
+ return (o = a.data) != null && o.averages ? Math.max(...a.data.averages.map((t) => parseFloat(t.average))) : 0;
69
+ });
70
+ return (o, t) => (c(), m("div", {
71
+ class: "card-general",
72
+ style: r(O.value)
73
+ }, [
74
+ h.value ? (c(), A(H, S({ key: 0 }, h.value, {
75
+ width: s.width,
76
+ "show-videos": s.showVideos,
77
+ "id-aux": s.idAux
78
+ }), {
79
+ default: D(() => {
80
+ var l, i, v, b, _, y, f, w;
81
+ return [
82
+ e("div", $, [
83
+ e("div", j, [
84
+ e("div", q, [
85
+ e("h1", {
86
+ class: "main-title",
87
+ style: r({ color: ((l = a.data) == null ? void 0 : l.thumbnails.colors.font_color_header) || "white" })
88
+ }, u(g.value.mainTitle), 5),
89
+ e("div", G, [
90
+ E(W, {
91
+ "team-logo-src": "https://golstatsimages.blob.core.windows.net/teams-80/" + a.data.team_id + ".png",
92
+ width: 105,
93
+ color: a.data.thumbnails.colors.graphic_color,
94
+ "inner-image-src": (_ = (b = (v = (i = a.data) == null ? void 0 : i.thumbnails) == null ? void 0 : v.images) == null ? void 0 : b.background_player_in_action) != null && _[0] ? T(p)(a.data.thumbnails.images.player_in_action[0]) : "https://golstatsimages.blob.core.windows.net/players-profile/" + a.data.player_id + ".png",
95
+ "team-logo-circle-props": P.value,
96
+ "inner-image-translate": X
97
+ }, null, 8, ["team-logo-src", "color", "inner-image-src", "team-logo-circle-props"])
98
+ ]),
99
+ e("div", J, [
100
+ e("p", {
101
+ innerHTML: T(L)({ data: a.data, descriptionType: a.descriptionType }).replace(/\*([^*]+)\*/g, "<span style='font-family: Poppins-Bold; font-weight: 700;'>$1</span>"),
102
+ class: "card-description",
103
+ style: r({ color: ((y = a.data) == null ? void 0 : y.thumbnails.colors.font_color_description) || "white" })
104
+ }, null, 12, K)
105
+ ])
106
+ ]),
107
+ e("div", Q, [
108
+ e("div", {
109
+ class: "sidebar-header",
110
+ style: r({ color: ((f = a.data) == null ? void 0 : f.thumbnails.colors.font_color_description) || "white" })
111
+ }, u(g.value.sidebarTitle), 5),
112
+ e("div", U, [
113
+ (c(!0), m(M, null, N((w = a.data) == null ? void 0 : w.averages, (n, I) => {
114
+ var x, k;
115
+ return c(), m("div", {
116
+ key: I,
117
+ class: F(["season-row", {
118
+ highlighted: n.highlighted,
119
+ "max-value": parseFloat(n.average) === C.value
120
+ }])
121
+ }, [
122
+ e("div", {
123
+ class: "season-value-box",
124
+ style: r({ color: ((x = a.data) == null ? void 0 : x.thumbnails.colors.font_color_stats) || "white" })
125
+ }, u(n.average), 5),
126
+ e("div", {
127
+ class: "season-label",
128
+ style: r({ color: ((k = a.data) == null ? void 0 : k.thumbnails.colors.font_color_stats) || "white" })
129
+ }, u(n.season), 5)
130
+ ], 2);
131
+ }), 128))
132
+ ])
133
+ ])
134
+ ])
135
+ ])
136
+ ];
137
+ }),
138
+ _: 1
139
+ }, 16, ["width", "show-videos", "id-aux"])) : R("", !0)
140
+ ], 4));
141
+ }
142
+ }, ta = /* @__PURE__ */ z(Y, [["__scopeId", "data-v-8c746128"]]);
143
+ export {
144
+ ta as default
145
+ };