@golstats/gsc-landing 1.0.214 → 1.0.215

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 (32) hide show
  1. package/README.md +2 -2
  2. package/dist/{CardBase-Cdma--ld-BufA9Fxb.js → CardBase-ChDCLySs-BnJ37O3_.js} +11 -11
  3. package/dist/{CardBaseAllIndividual-D-OnB5nZ-BPn0LvNB.js → CardBaseAllIndividual-CX7X5hP3-DeBDJbUf.js} +1 -1
  4. package/dist/CardGeneral-BOFU3ewp-vla0R6ar.js +714 -0
  5. package/dist/{CardGeneralIndividual-D0egQpIm-CAQh25pC.js → CardGeneralIndividual-uQTtFW4U-BkHnaPPD.js} +169 -146
  6. package/dist/{CardGeneralTeams-C7jWZSZP-7UMUvMn-.js → CardGeneralTeams-BP3La-Ld-Xyq_L5uX.js} +4 -4
  7. package/dist/{CardIndividual-5844PHsB-ByyQBoNQ.js → CardIndividual-DMMRmSi2-BqN7gmFv.js} +30 -30
  8. package/dist/{CardIndividual1vs1-CQexwdAS-IO9xzI4J.js → CardIndividual1vs1-Bv8b5IIG-Ch9qSDIz.js} +7 -7
  9. package/dist/{CardIndividualAreas-C7_BsHLB-DxObq7Ml.js → CardIndividualAreas-CvTLzhDe-CxZqYbA3.js} +2 -2
  10. package/dist/{CardIndividualCenters-DV5tDLfV-C1ay0coc.js → CardIndividualCenters-CrYHyQxu-cIdiMvOc.js} +2 -2
  11. package/dist/{CardIndividualDistance-zl4VOolG-C3tuZVGO.js → CardIndividualDistance-CWDDIJ83-wq3ChNSO.js} +38 -36
  12. package/dist/{CardIndividualFouls-CvSJn7oh-HOx9vQ1u.js → CardIndividualFouls-BOBPG76o-Cr7zPQ-k.js} +2 -2
  13. package/dist/{CardIndividualGoalParticipation-CpyCN4pK-CMqtEPao.js → CardIndividualGoalParticipation-BDxpFsvg-Bxe8LNLj.js} +2 -2
  14. package/dist/{CardIndividualGoals-yml-5LMF-C_GyUhBk.js → CardIndividualGoals-DVDdbBfi-3pxFdVek.js} +2 -2
  15. package/dist/{CardIndividualGold-BN6tctB5-G6ym5byu.js → CardIndividualGold-CLwqSmhY-DQxNX96O.js} +3 -3
  16. package/dist/{CardIndividualNoGoalReceived-ICCs2ZM5-B1MQrZPF.js → CardIndividualNoGoalReceived-BdnMEYLP-BmH2Q3hB.js} +2 -2
  17. package/dist/{CardIndividualPerformance-B8vQAqkl-BYR02_RY.js → CardIndividualPerformance-9Cgxb8AH-CKHPoagm.js} +2 -2
  18. package/dist/{CardIndividualSaves-BwuZ8ftn-QqesnmR7.js → CardIndividualSaves-DxroAo6u-DjwSYz7p.js} +16 -16
  19. package/dist/{CardIndividualShotsOnGoal-BJME2mbD-BdBASKyS.js → CardIndividualShotsOnGoal-DJkETXaD-DC6DZtaf.js} +2 -2
  20. package/dist/{CardIndividualStatistics-By5s6JAO-Rv4-QyLp.js → CardIndividualStatistics-Bci82FbX-_u70bydD.js} +2 -2
  21. package/dist/CardPromTournament-DBsGq2Rt-BiIeMZAU.js +145 -0
  22. package/dist/{CardSuccessfulPasses-CnfMp77U-rRVe9D87.js → CardSuccessfulPasses-38zySsbp-CjINypSW.js} +4 -4
  23. package/dist/{CardTheMostProductive-BXTUS6yD-DyZgvFkv.js → CardTheMostProductive-B1UOywJ1-CDybX3LK.js} +3 -3
  24. package/dist/PlayerProfileCircle-Dfaw_14p-WaOYxU8Q.js +41 -0
  25. package/dist/{Shield-CqzYJKHt-OiFc4OPF.js → Shield-T4ZGXEnI-Csqj5bz2.js} +1 -1
  26. package/dist/gsc-landing.js +1 -1
  27. package/dist/gsc-landing.umd.cjs +49 -49
  28. package/dist/{index-CidNks_N.js → index-Clf4kqRY.js} +94 -94
  29. package/dist/style.css +1 -1
  30. package/package.json +53 -53
  31. package/dist/CardGeneral-Bw1wA3nD-DCftAsKf.js +0 -690
  32. package/dist/CardPromTournament-gihiLtUr-DUepGBni.js +0 -145
@@ -1,145 +0,0 @@
1
- import { useCssVars as O, computed as d, ref as P, openBlock as u, createElementBlock as m, normalizeStyle as r, createBlock as I, mergeProps as V, withCtx as B, createElementVNode as a, toDisplayString as c, createVNode as C, unref as _, Fragment as N, renderList as $, normalizeClass as A, createCommentVNode as R } from "vue";
2
- import { m as S, z as y, $ as z, A as D } from "./CardBase-Cdma--ld-BufA9Fxb.js";
3
- import { N as M } from "./Shield-CqzYJKHt-OiFc4OPF.js";
4
- const E = { class: "card-content" }, F = { class: "content-wrapper" }, H = { class: "main-content" }, L = { class: "title-separator" }, j = { class: "footer-text" }, W = ["innerHTML"], q = { class: "seasons-sidebar" }, G = { class: "seasons-list" }, J = "1px 54px", K = {
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
- O((l) => {
34
- var t;
35
- return {
36
- e1cf77f4: s.data.thumbnails.colors.background_color,
37
- "2d52eaea": ((t = e.data) == null ? void 0 : t.thumbnails.colors.font_color_stats) || "#4CAF50"
38
- };
39
- });
40
- const e = s, w = d(() => ({
41
- "--height": e.height,
42
- "--width": e.width,
43
- "--footer-background-color": e.data.thumbnails.colors.background_color || "#000000"
44
- })), x = P({
45
- width: "50px",
46
- height: "50px",
47
- bottom: "34px",
48
- right: "-8px",
49
- innerImageWidth: "39px",
50
- innerImageHeight: "39px"
51
- }), p = d(() => {
52
- var l, t, o, i;
53
- return !e.data || !e.data.thumbnails ? null : {
54
- backgroundOverlayColor: e.data.thumbnails.colors.background_color || "#000000",
55
- backgroundImageSrc: (i = (o = (t = (l = e.data) == null ? void 0 : l.thumbnails) == null ? void 0 : t.images) == null ? void 0 : o.player_in_action) != null && i[0] ? y(e.data.thumbnails.images.player_in_action[0]) : "",
56
- isPlayButtonVisible: e.showVideos
57
- };
58
- }), h = d(() => {
59
- var l, t, o;
60
- if (!((l = e.data) != null && l.title)) return { mainTitle: "", sidebarTitle: "PROMEDIO POR PARTIDO" };
61
- const i = e.data.title.split("*").filter(Boolean);
62
- return {
63
- mainTitle: ((t = i[0]) == null ? void 0 : t.trim()) || "",
64
- sidebarTitle: ((o = i[1]) == null ? void 0 : o.trim()) || "PROMEDIO POR PARTIDO"
65
- };
66
- }), T = d(() => {
67
- var l;
68
- return (l = e.data) != null && l.averages ? Math.max(...e.data.averages.map((t) => parseFloat(t.average))) : 0;
69
- });
70
- return (l, t) => (u(), m("div", {
71
- class: "card-general",
72
- style: r(w.value)
73
- }, [
74
- p.value ? (u(), I(z, V({ key: 0 }, p.value, {
75
- width: s.width,
76
- "show-videos": s.showVideos,
77
- "id-aux": s.idAux
78
- }), {
79
- default: B(() => {
80
- var o, i, g, f;
81
- return [
82
- a("div", E, [
83
- a("div", F, [
84
- a("div", H, [
85
- a("h1", {
86
- class: "main-title",
87
- style: r({ color: ((o = e.data) == null ? void 0 : o.thumbnails.colors.font_color_header) || "white" })
88
- }, c(h.value.mainTitle), 5),
89
- a("div", L, [
90
- C(M, {
91
- "team-logo-src": "https://golstatsimages.blob.core.windows.net/teams-80/" + e.data.team_id + ".png",
92
- width: 105,
93
- color: e.data.thumbnails.colors.graphic_color,
94
- "inner-image-src": _(y)(e.data.thumbnails.images.player_in_action[0]),
95
- "team-logo-circle-props": x.value,
96
- "inner-image-translate": J
97
- }, null, 8, ["team-logo-src", "color", "inner-image-src", "team-logo-circle-props"])
98
- ]),
99
- a("div", j, [
100
- a("p", {
101
- innerHTML: _(D)({ data: e.data, descriptionType: e.descriptionType }).replace(/\*([^*]+)\*/g, "<span style='font-family: Poppins-Bold; font-weight: 700;'>$1</span>"),
102
- class: "card-description",
103
- style: r({ color: ((i = e.data) == null ? void 0 : i.thumbnails.colors.font_color_description) || "white" })
104
- }, null, 12, W)
105
- ])
106
- ]),
107
- a("div", q, [
108
- a("div", {
109
- class: "sidebar-header",
110
- style: r({ color: ((g = e.data) == null ? void 0 : g.thumbnails.colors.font_color_description) || "white" })
111
- }, c(h.value.sidebarTitle), 5),
112
- a("div", G, [
113
- (u(!0), m(N, null, $((f = e.data) == null ? void 0 : f.averages, (n, k) => {
114
- var v, b;
115
- return u(), m("div", {
116
- key: k,
117
- class: A(["season-row", {
118
- highlighted: n.highlighted,
119
- "max-value": parseFloat(n.average) === T.value
120
- }])
121
- }, [
122
- a("div", {
123
- class: "season-value-box",
124
- style: r({ color: ((v = e.data) == null ? void 0 : v.thumbnails.colors.font_color_stats) || "white" })
125
- }, c(n.average), 5),
126
- a("div", {
127
- class: "season-label",
128
- style: r({ color: ((b = e.data) == null ? void 0 : b.thumbnails.colors.font_color_stats) || "white" })
129
- }, c(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
- }, X = /* @__PURE__ */ S(K, [["__scopeId", "data-v-62708d3c"]]);
143
- export {
144
- X as default
145
- };