@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
package/package.json CHANGED
@@ -1,53 +1,53 @@
1
- {
2
- "name": "@golstats/gsc-landing",
3
- "version": "1.0.221",
4
- "type": "module",
5
- "files": [
6
- "dist"
7
- ],
8
- "main": "./dist/gsc-landing.umd.cjs",
9
- "module": "./dist/gsc-landing.js",
10
- "exports": {
11
- ".": {
12
- "import": "./dist/gsc-landing.js",
13
- "require": "./dist/gsc-landing.umd.cjs"
14
- }
15
- },
16
- "scripts": {
17
- "dev": "vite",
18
- "build": "vite build",
19
- "preview": "vite preview",
20
- "lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs --fix --ignore-path .gitignore",
21
- "format": "prettier --write src/"
22
- },
23
- "dependencies": {
24
- "@golstats/gsc-button": "^1.0.14",
25
- "@golstats/gsc-calendar-by-game": "^1.0.79",
26
- "@golstats/gsc-carousel": "^1.0.15",
27
- "@golstats/gsc-data-cards": "^1.0.28",
28
- "@golstats/gsc-general-table": "^1.0.52",
29
- "@golstats/gsc-mosaic-the-best": "^1.0.14",
30
- "@golstats/gsc-player-team-game": "^1.1.71",
31
- "@golstats/gsc-relevant-data-by-game": "^1.0.5",
32
- "@golstats/gsc-season-select": "^1.0.9",
33
- "@golstats/gsc-slider": "^1.0.5",
34
- "@golstats/gsc-switch-component": "^1.0.14",
35
- "@golstats/gsc-tournament-select": "^1.0.13",
36
- "axios": "^1.6.2",
37
- "hls.js": "^1.5.13",
38
- "plyr": "^3.7.8",
39
- "save": "^2.9.0",
40
- "vue": "3.3.4",
41
- "vue3-carousel": "^0.3.1"
42
- },
43
- "devDependencies": {
44
- "@rushstack/eslint-patch": "^1.3.3",
45
- "@vitejs/plugin-vue": "^4.5.1",
46
- "@vue/eslint-config-prettier": "^8.0.0",
47
- "eslint": "^8.49.0",
48
- "eslint-plugin-vue": "^9.17.0",
49
- "prettier": "^3.0.3",
50
- "vite": "^5.0.5",
51
- "vuex": "4.0.2"
52
- }
53
- }
1
+ {
2
+ "name": "@golstats/gsc-landing",
3
+ "version": "1.0.223",
4
+ "type": "module",
5
+ "files": [
6
+ "dist"
7
+ ],
8
+ "main": "./dist/gsc-landing.umd.cjs",
9
+ "module": "./dist/gsc-landing.js",
10
+ "exports": {
11
+ ".": {
12
+ "import": "./dist/gsc-landing.js",
13
+ "require": "./dist/gsc-landing.umd.cjs"
14
+ }
15
+ },
16
+ "scripts": {
17
+ "dev": "vite",
18
+ "build": "vite build",
19
+ "preview": "vite preview",
20
+ "lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs --fix --ignore-path .gitignore",
21
+ "format": "prettier --write src/"
22
+ },
23
+ "dependencies": {
24
+ "@golstats/gsc-button": "^1.0.14",
25
+ "@golstats/gsc-calendar-by-game": "^1.0.82",
26
+ "@golstats/gsc-carousel": "^1.0.15",
27
+ "@golstats/gsc-data-cards": "^1.0.29",
28
+ "@golstats/gsc-general-table": "^1.0.52",
29
+ "@golstats/gsc-mosaic-the-best": "^1.0.14",
30
+ "@golstats/gsc-player-team-game": "^1.1.72",
31
+ "@golstats/gsc-relevant-data-by-game": "^1.0.5",
32
+ "@golstats/gsc-season-select": "^1.0.9",
33
+ "@golstats/gsc-slider": "^1.0.5",
34
+ "@golstats/gsc-switch-component": "^1.0.14",
35
+ "@golstats/gsc-tournament-select": "^1.0.14",
36
+ "axios": "^1.6.2",
37
+ "hls.js": "^1.5.13",
38
+ "plyr": "^3.7.8",
39
+ "save": "^2.9.0",
40
+ "vue": "3.3.4",
41
+ "vue3-carousel": "^0.3.1"
42
+ },
43
+ "devDependencies": {
44
+ "@rushstack/eslint-patch": "^1.3.3",
45
+ "@vitejs/plugin-vue": "^4.5.1",
46
+ "@vue/eslint-config-prettier": "^8.0.0",
47
+ "eslint": "^8.49.0",
48
+ "eslint-plugin-vue": "^9.17.0",
49
+ "prettier": "^3.0.3",
50
+ "vite": "^5.0.5",
51
+ "vuex": "4.0.2"
52
+ }
53
+ }
@@ -1,145 +0,0 @@
1
- import { useCssVars as V, computed as d, ref as B, openBlock as u, createElementBlock as m, normalizeStyle as i, createBlock as A, mergeProps as R, withCtx as S, createElementVNode as a, toDisplayString as c, createVNode as D, unref as T, Fragment as M, renderList as N, normalizeClass as $, createCommentVNode as E } from "vue";
2
- import { m as F, z as p, $ as z, A as H } from "./CardBase-CQ_cz3DX-DTBy71IL.js";
3
- import { N as L } from "./Shield--rPGshU4-BLvrU38T.js";
4
- const W = { 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(z, R({ key: 0 }, h.value, {
75
- width: r.width,
76
- "show-videos": r.showVideos,
77
- "id-aux": r.idAux
78
- }), {
79
- default: S(() => {
80
- var o, n, f, b, v, _, y, w;
81
- return [
82
- a("div", W, [
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
- D(L, {
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(H)({ 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: $(["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"])) : E("", !0)
140
- ], 4));
141
- }
142
- }, te = /* @__PURE__ */ F(Y, [["__scopeId", "data-v-8c746128"]]);
143
- export {
144
- te as default
145
- };
@@ -1,87 +0,0 @@
1
- import { computed as s, openBlock as _, createElementBlock 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-BfzkzaGP-p-RaPYom.js";
3
- import { N as k } from "./Shield--rPGshU4-BLvrU38T.js";
4
- import { m as w, z as p, P as S, A as C, E as A, O as B, V as T } from "./CardBase-CQ_cz3DX-DTBy71IL.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: B(e.data.team_id || ""),
53
- playerInActionSrc: r ? p(e.data.thumbnails.images.player_in_action[0]) : T(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
- }, H = /* @__PURE__ */ w(I, [["__scopeId", "data-v-26719ec7"]]);
85
- export {
86
- H as default
87
- };