@golstats/gsc-landing 1.0.222 → 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 (31) hide show
  1. package/dist/{CardBase-DJPEW7xu-B5esUc8R.js → CardBase-DJPEW7xu-Bb90xanh.js} +18 -18
  2. package/dist/{CardBaseAllIndividual-CJY0KdrJ-5WGyXZ-X.js → CardBaseAllIndividual-CJY0KdrJ-CJbDdtoT.js} +7 -7
  3. package/dist/{CardGeneral-CDS08xVv-DzydG7Ur.js → CardGeneral-CDS08xVv-B50jt1-C.js} +27 -27
  4. package/dist/{CardGeneralIndividual-DoXvg6Ch-Bp0bug5f.js → CardGeneralIndividual-DoXvg6Ch-B9Q9pZfe.js} +54 -54
  5. package/dist/{CardGeneralTeams-FYzVxcB3-CYMt6r4E.js → CardGeneralTeams-FYzVxcB3-z3J2aQVr.js} +76 -76
  6. package/dist/{CardIndividual-u8FZLLmq-BleEsUPc.js → CardIndividual-u8FZLLmq-BRVg_Ub8.js} +29 -29
  7. package/dist/{CardIndividual1vs1-C13lA1gg-ClCPi_bE.js → CardIndividual1vs1-C13lA1gg-DhHtFIeO.js} +12 -12
  8. package/dist/{CardIndividualAreas-D13F6fry-PLZhKb_2.js → CardIndividualAreas-D13F6fry-DO0EHj-k.js} +5 -5
  9. package/dist/{CardIndividualCenters-If_CjK9--CF3KAJON.js → CardIndividualCenters-If_CjK9--DOQQSL_6.js} +14 -14
  10. package/dist/{CardIndividualDistance-DtT14cRG-suH4ZmuU.js → CardIndividualDistance-DtT14cRG-DvpD2x_n.js} +5 -5
  11. package/dist/{CardIndividualFouls-Bsm2M4Gv-iSxS_1yY.js → CardIndividualFouls-Bsm2M4Gv-DAOZTXFi.js} +13 -13
  12. package/dist/{CardIndividualGoalParticipation-DxJDrw64-BNiTqqu_.js → CardIndividualGoalParticipation-DxJDrw64-G3KlLDiL.js} +18 -18
  13. package/dist/{CardIndividualGoals-tVv3jx9v-CwrvWz11.js → CardIndividualGoals-tVv3jx9v-DPahJY7h.js} +2 -2
  14. package/dist/{CardIndividualGold-B3awfrVU-BX38ltXq.js → CardIndividualGold-B3awfrVU-C7Be15iD.js} +24 -24
  15. package/dist/{CardIndividualNoGoalReceived-plZw_S4K-B8BlOWWD.js → CardIndividualNoGoalReceived-plZw_S4K-DoEt_Vcy.js} +23 -23
  16. package/dist/{CardIndividualPerformance-pONmvZ---COwCm2lc.js → CardIndividualPerformance-pONmvZ---Dd9iPiuJ.js} +30 -30
  17. package/dist/{CardIndividualSaves-7NZaLckt-CZXgnq-e.js → CardIndividualSaves-7NZaLckt-CwetY31M.js} +11 -11
  18. package/dist/{CardIndividualShotsOnGoal-BA2B5zK2-Dn10A5l1.js → CardIndividualShotsOnGoal-BA2B5zK2-QYYcQ6qa.js} +26 -26
  19. package/dist/{CardIndividualStatistics-BdNBubd3-AisS9_aX.js → CardIndividualStatistics-BdNBubd3-Dk95bajC.js} +7 -7
  20. package/dist/CardPromTournament-IvcxYf42-CM6HaXKj.js +145 -0
  21. package/dist/{CardSuccessfulPasses-CvGqK_hf-HezQXETn.js → CardSuccessfulPasses-CvGqK_hf-CprfTS-6.js} +7 -7
  22. package/dist/CardTheMostProductive-Crx3j88e-C6suz2GG.js +87 -0
  23. package/dist/{PlayerProfileCircle-BQwTCjvG-Dhls7PlM.js → PlayerProfileCircle-BQwTCjvG-1KiSm3Hh.js} +1 -1
  24. package/dist/{Shield-aiuYwUJa-CuzatMd1.js → Shield-aiuYwUJa-BJbb4la8.js} +1 -1
  25. package/dist/gsc-landing.js +1 -1
  26. package/dist/gsc-landing.umd.cjs +62 -62
  27. package/dist/{index-vaZMU8Z4.js → index-B2IZobUp.js} +17714 -17222
  28. package/dist/style.css +1 -1
  29. package/package.json +4 -4
  30. package/dist/CardPromTournament-IvcxYf42-f6jLvxRS.js +0 -145
  31. package/dist/CardTheMostProductive-Crx3j88e-Qp69QmRa.js +0 -87
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@golstats/gsc-landing",
3
- "version": "1.0.222",
3
+ "version": "1.0.223",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist"
@@ -22,17 +22,17 @@
22
22
  },
23
23
  "dependencies": {
24
24
  "@golstats/gsc-button": "^1.0.14",
25
- "@golstats/gsc-calendar-by-game": "^1.0.79",
25
+ "@golstats/gsc-calendar-by-game": "^1.0.82",
26
26
  "@golstats/gsc-carousel": "^1.0.15",
27
27
  "@golstats/gsc-data-cards": "^1.0.29",
28
28
  "@golstats/gsc-general-table": "^1.0.52",
29
29
  "@golstats/gsc-mosaic-the-best": "^1.0.14",
30
- "@golstats/gsc-player-team-game": "^1.1.71",
30
+ "@golstats/gsc-player-team-game": "^1.1.72",
31
31
  "@golstats/gsc-relevant-data-by-game": "^1.0.5",
32
32
  "@golstats/gsc-season-select": "^1.0.9",
33
33
  "@golstats/gsc-slider": "^1.0.5",
34
34
  "@golstats/gsc-switch-component": "^1.0.14",
35
- "@golstats/gsc-tournament-select": "^1.0.13",
35
+ "@golstats/gsc-tournament-select": "^1.0.14",
36
36
  "axios": "^1.6.2",
37
37
  "hls.js": "^1.5.13",
38
38
  "plyr": "^3.7.8",
@@ -1,145 +0,0 @@
1
- import { useCssVars as V, computed as d, ref as B, createElementBlock as m, openBlock as u, normalizeStyle as i, createBlock as A, createCommentVNode as R, mergeProps as S, withCtx as D, createElementVNode as a, toDisplayString as c, 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-B5esUc8R.js";
3
- import { N as W } from "./Shield-aiuYwUJa-CuzatMd1.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(r) {
33
- V((l) => {
34
- var t;
35
- return {
36
- d9678364: r.data.thumbnails.colors.background_color,
37
- "04caf132": ((t = e.data) == null ? void 0 : t.thumbnails.colors.font_color_stats) || "#4CAF50"
38
- };
39
- });
40
- const e = r, O = d(() => ({
41
- "--height": e.height,
42
- "--width": e.width,
43
- "--footer-background-color": e.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 l, t, o, n;
53
- return !e.data || !e.data.thumbnails ? null : {
54
- backgroundOverlayColor: e.data.thumbnails.colors.background_color || "#000000",
55
- backgroundImageSrc: (n = (o = (t = (l = e.data) == null ? void 0 : l.thumbnails) == null ? void 0 : t.images) == null ? void 0 : o.background_player_in_action) != null && n[0] ? p(e.data.thumbnails.images.background_player_in_action[0]) : p(e.data.thumbnails.images.background_team),
56
- isPlayButtonVisible: e.showVideos
57
- };
58
- }), g = d(() => {
59
- var l, t, o;
60
- if (!((l = e.data) != null && l.title)) return { mainTitle: "", sidebarTitle: "PROMEDIO POR PARTIDO" };
61
- const n = e.data.title.split("*").filter(Boolean);
62
- return {
63
- mainTitle: ((t = n[0]) == null ? void 0 : t.trim()) || "",
64
- sidebarTitle: ((o = n[1]) == null ? void 0 : o.trim()) || "PROMEDIO POR PARTIDO"
65
- };
66
- }), C = 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: i(O.value)
73
- }, [
74
- h.value ? (u(), A(H, S({ key: 0 }, h.value, {
75
- width: r.width,
76
- "show-videos": r.showVideos,
77
- "id-aux": r.idAux
78
- }), {
79
- default: D(() => {
80
- var o, n, f, b, v, _, y, w;
81
- return [
82
- a("div", $, [
83
- a("div", j, [
84
- a("div", q, [
85
- a("h1", {
86
- class: "main-title",
87
- style: i({ color: ((o = e.data) == null ? void 0 : o.thumbnails.colors.font_color_header) || "white" })
88
- }, c(g.value.mainTitle), 5),
89
- a("div", G, [
90
- E(W, {
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": (v = (b = (f = (n = e.data) == null ? void 0 : n.thumbnails) == null ? void 0 : f.images) == null ? void 0 : b.background_player_in_action) != null && v[0] ? T(p)(e.data.thumbnails.images.player_in_action[0]) : "https://golstatsimages.blob.core.windows.net/players-profile/" + e.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
- a("div", J, [
100
- a("p", {
101
- innerHTML: T(L)({ 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: i({ color: ((_ = e.data) == null ? void 0 : _.thumbnails.colors.font_color_description) || "white" })
104
- }, null, 12, K)
105
- ])
106
- ]),
107
- a("div", Q, [
108
- a("div", {
109
- class: "sidebar-header",
110
- style: i({ color: ((y = e.data) == null ? void 0 : y.thumbnails.colors.font_color_description) || "white" })
111
- }, c(g.value.sidebarTitle), 5),
112
- a("div", U, [
113
- (u(!0), m(M, null, N((w = e.data) == null ? void 0 : w.averages, (s, I) => {
114
- var x, k;
115
- return u(), m("div", {
116
- key: I,
117
- class: F(["season-row", {
118
- highlighted: s.highlighted,
119
- "max-value": parseFloat(s.average) === C.value
120
- }])
121
- }, [
122
- a("div", {
123
- class: "season-value-box",
124
- style: i({ color: ((x = e.data) == null ? void 0 : x.thumbnails.colors.font_color_stats) || "white" })
125
- }, c(s.average), 5),
126
- a("div", {
127
- class: "season-label",
128
- style: i({ color: ((k = e.data) == null ? void 0 : k.thumbnails.colors.font_color_stats) || "white" })
129
- }, c(s.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
- }, te = /* @__PURE__ */ z(Y, [["__scopeId", "data-v-8c746128"]]);
143
- export {
144
- te as default
145
- };
@@ -1,87 +0,0 @@
1
- import { computed as s, createElementBlock as _, openBlock as f, createVNode as c, mergeProps as y, withCtx as b, createElementVNode as m, normalizeStyle as v, toDisplayString as F } from "vue";
2
- import { d as x } from "./CardBaseAllIndividual-CJY0KdrJ-5WGyXZ-X.js";
3
- import { N as k } from "./Shield-aiuYwUJa-CuzatMd1.js";
4
- import { m as w, P as S, E as p, A as C, $ as A, V as B, O as T } from "./CardBase-DJPEW7xu-B5esUc8R.js";
5
- const V = { class: "productive" }, D = { class: "productive__body__title" }, I = {
6
- __name: "CardTheMostProductive",
7
- props: {
8
- height: {
9
- type: String,
10
- default: "445px"
11
- },
12
- width: {
13
- type: String,
14
- default: "319px"
15
- },
16
- data: {
17
- type: Object,
18
- default: () => null
19
- },
20
- descriptionType: {
21
- type: Number,
22
- default: 4
23
- },
24
- showVideos: {
25
- type: Boolean,
26
- default: !0
27
- },
28
- idAux: {
29
- type: String,
30
- default: ""
31
- }
32
- },
33
- setup(d) {
34
- const e = d, g = s(() => {
35
- var t, a, o, l, r, n, u;
36
- return {
37
- height: e.height,
38
- width: e.width,
39
- footerHeight: "112px",
40
- cardColor: (e.data.thumbnails.colors.background_color || "#000000").trim(),
41
- backgroundImageSrc: p((l = (o = (a = (t = e.data) == null ? void 0 : t.thumbnails) == null ? void 0 : a.images) == null ? void 0 : o.background_player_in_action) != null && l[0] ? e.data.thumbnails.images.background_player_in_action[0] : (u = (n = (r = e.data) == null ? void 0 : r.thumbnails) == null ? void 0 : n.images) != null && u.background_team ? e.data.thumbnails.images.background_team : ""),
42
- footerBodyData: {
43
- description: S(C({ data: e.data, descriptionType: e.descriptionType })),
44
- textColor: (e.data.thumbnails.colors.font_color_description || "#FFFFFF").trim()
45
- }
46
- };
47
- }), i = s(() => {
48
- var t, a, o, l;
49
- const r = !!((l = (o = (a = (t = e.data) == null ? void 0 : t.thumbnails) == null ? void 0 : a.images) == null ? void 0 : o.player_in_action) != null && l[0]), { title: n, subtitle: u } = A(e.data.title);
50
- return {
51
- title: n,
52
- teamLogoUrl: T(e.data.team_id || ""),
53
- playerInActionSrc: r ? p(e.data.thumbnails.images.player_in_action[0]) : B(e.data.player_id || ""),
54
- shieldColor: (e.data.thumbnails.colors.graphic_color || "#5DACFF").trim(),
55
- translate: r ? "0 8px" : "0 -16px"
56
- };
57
- }), h = s(() => ({
58
- "--title-color": (e.data.thumbnails.colors.font_color_header || "#FFFFFF").trim()
59
- }));
60
- return (t, a) => (f(), _("div", V, [
61
- c(x, y(g.value, {
62
- "show-videos": d.showVideos,
63
- "id-aux": d.idAux
64
- }), {
65
- body: b(() => [
66
- m("div", {
67
- class: "productive__body",
68
- style: v(h.value)
69
- }, [
70
- m("div", D, F(i.value.title), 1),
71
- c(k, {
72
- id: e.data.id,
73
- "team-logo-src": i.value.teamLogoUrl,
74
- "inner-image-src": i.value.playerInActionSrc,
75
- color: i.value.shieldColor,
76
- "inner-image-translate": i.value.translate
77
- }, null, 8, ["id", "team-logo-src", "inner-image-src", "color", "inner-image-translate"])
78
- ], 4)
79
- ]),
80
- _: 1
81
- }, 16, ["show-videos", "id-aux"])
82
- ]));
83
- }
84
- }, L = /* @__PURE__ */ w(I, [["__scopeId", "data-v-26719ec7"]]);
85
- export {
86
- L as default
87
- };