@golstats/gsc-landing 1.0.199 → 1.0.201

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 (33) hide show
  1. package/README.md +2 -2
  2. package/dist/{CardBaseAllIndividual-CNB7K2M0-nej9DJ8x.js → CardBaseAllIndividual-D0CaU15e-CLPB0z0l.js} +68 -65
  3. package/dist/{CardGeneral-CzD9BfTs-D1qozgj2.js → CardGeneral-AZwvWZ_3-AQOM0OL9.js} +46 -46
  4. package/dist/{CardGeneralIndividual-DaONNIwT-WoYrg7O0.js → CardGeneralIndividual-DetWgcUA-BTLZpGNX.js} +17 -17
  5. package/dist/{CardGeneralTeams-CCfSIg5--ycGF0WJl.js → CardGeneralTeams-wLzPsHgF-fLdKm-YP.js} +30 -30
  6. package/dist/{CardIndividual-B5YHR_4X-DC-zfHLx.js → CardIndividual-DsTXOh1h-Dc3790C2.js} +105 -106
  7. package/dist/{CardIndividual1vs1-CwWPZ1jp-By52KIVf.js → CardIndividual1vs1-D4ApefEV-BpJl9DFk.js} +16 -16
  8. package/dist/{CardIndividualAreas-D9mHXjfS-DrA6YV1T.js → CardIndividualAreas-DngsmF39-DcK3uLDs.js} +8 -7
  9. package/dist/{CardIndividualCenters-DeGyy9wB-BftpRpCL.js → CardIndividualCenters-BG_eOM3D-xuIP7w17.js} +108 -107
  10. package/dist/{CardIndividualDistance-Dq2calI2-Ibl6uHbE.js → CardIndividualDistance-CvBDGVS--D8YWMCKb.js} +2 -2
  11. package/dist/CardIndividualFouls-C44UeLyO-ZIHkkK8-.js +682 -0
  12. package/dist/{CardIndividualGoalParticipation-BC_F7PdP-IXEeZoV4.js → CardIndividualGoalParticipation-CCDWQfQW-BGYwHtJV.js} +3 -3
  13. package/dist/{CardIndividualGoals-BBu5FY5j-CBMS5ssK.js → CardIndividualGoals-B4b5wkp6-BwluJyoB.js} +95 -92
  14. package/dist/{CardIndividualGold-BMKxc3r9-De2Anuon.js → CardIndividualGold-BfC-u_iy-DT3GeGNQ.js} +36 -33
  15. package/dist/{CardIndividualNoGoalReceived-I-e5vsG7-CEzJIp_l.js → CardIndividualNoGoalReceived-BfSj5Spd-CmA-iSLj.js} +4 -4
  16. package/dist/{CardIndividualPerformance-DaQseH4c-DQdCn0VP.js → CardIndividualPerformance-DPNMz8n4-DTgdkzaM.js} +23 -23
  17. package/dist/{CardIndividualSaves-CCaV8HU6-wv9lT0tB.js → CardIndividualSaves-nqci9xWF-CDd6dQLA.js} +36 -36
  18. package/dist/{CardIndividualShotsOnGoal-CwzjHXK9-CdK_9OTp.js → CardIndividualShotsOnGoal-CivXiLK1-Gtfy45ra.js} +18 -17
  19. package/dist/{CardIndividualStatistics-C_z-rRXF-DGbkpB-m.js → CardIndividualStatistics-Z68XArun-DT_RnZV9.js} +39 -35
  20. package/dist/CardPromTournament-D8dm7vzw-DjvD0ktc.js +128 -0
  21. package/dist/CardSuccessfulPasses-Duuuvnsj-Dtkl1toq.js +809 -0
  22. package/dist/CardTheMostProductive-Jp8NzANe-DYcLrIfR.js +76 -0
  23. package/dist/{CircleWithDotsBig-5eFuZwDk-n956nNzk.js → CircleWithDotsBig-BWySvEMt-COAdxI3W.js} +1 -1
  24. package/dist/{Shield-0VkASyDI-Cm8rtKBS.js → Shield-DzbSNLIW-B-twHEDg.js} +1 -1
  25. package/dist/gsc-landing.js +2284 -2251
  26. package/dist/gsc-landing.umd.cjs +65 -65
  27. package/dist/{misc-BbzSgyER-2p2XKW1m.js → misc-BpbriWn--Bd_IQoHZ.js} +4 -4
  28. package/dist/style.css +1 -1
  29. package/package.json +53 -53
  30. package/dist/CardIndividualFouls-DF0AvPys-C61mrpb7.js +0 -669
  31. package/dist/CardPromTournament-DMe6axFO-DWI8msi-.js +0 -113
  32. package/dist/CardSuccessfulPasses-ByzEm7s3-DmSHr8yg.js +0 -91
  33. package/dist/CardTheMostProductive-CDDFIo-I-LQ50NbB5.js +0 -75
@@ -1,113 +0,0 @@
1
- import { useCssVars as _, computed as s, ref as T, openBlock as o, createElementBlock as c, normalizeStyle as h, createBlock as w, mergeProps as k, withCtx as O, createElementVNode as a, toDisplayString as d, createVNode as I, unref as m, Fragment as P, renderList as E, normalizeClass as N, createCommentVNode as C } from "vue";
2
- import { h as R, E as v, T as B, I as D, O as M } from "./misc-BbzSgyER-2p2XKW1m.js";
3
- import { N as S } from "./Shield-0VkASyDI-Cm8rtKBS.js";
4
- const V = { class: "card-content" }, F = { class: "content-wrapper" }, H = { class: "main-content" }, L = { class: "main-title" }, z = { class: "title-separator" }, j = { class: "footer-text" }, A = ["innerHTML"], W = { class: "seasons-sidebar" }, $ = { class: "sidebar-header" }, q = { class: "seasons-list" }, G = { class: "season-value-box" }, J = { class: "season-label" }, K = "-38px 35px", Q = {
5
- __name: "CardPromTournament",
6
- props: {
7
- height: {
8
- type: String,
9
- default: "568px"
10
- },
11
- width: {
12
- type: String,
13
- default: "319px"
14
- },
15
- data: {
16
- type: Object,
17
- default: () => null
18
- },
19
- descriptionType: {
20
- type: Number,
21
- default: 0
22
- }
23
- },
24
- setup(u) {
25
- _((t) => ({
26
- "12b7ad86": u.data.thumbnails.colors.background_color
27
- }));
28
- const e = u, b = s(() => ({
29
- "--height": e.height,
30
- "--width": e.width,
31
- "--footer-background-color": e.data.thumbnails.colors.background_color || "#000000"
32
- })), f = T({
33
- width: "50px",
34
- height: "50px",
35
- bottom: "34px",
36
- right: "-8px",
37
- innerImageWidth: "39px",
38
- innerImageHeight: "39px"
39
- }), p = s(() => {
40
- var t, l, r, i;
41
- return !e.data || !e.data.thumbnails ? null : {
42
- backgroundOverlayColor: e.data.thumbnails.colors.background_color || "#000000",
43
- backgroundImageSrc: (i = (r = (l = (t = e.data) == null ? void 0 : t.thumbnails) == null ? void 0 : l.images) == null ? void 0 : r.player_in_action) != null && i[0] ? v(e.data.thumbnails.images.player_in_action[0]) : "",
44
- isPlayButtonVisible: !0
45
- };
46
- }), g = s(() => {
47
- var t, l, r;
48
- if (!((t = e.data) != null && t.title)) return { mainTitle: "", sidebarTitle: "PROMEDIO POR PARTIDO" };
49
- const i = e.data.title.split("*").filter(Boolean);
50
- return {
51
- mainTitle: ((l = i[0]) == null ? void 0 : l.trim()) || "",
52
- sidebarTitle: ((r = i[1]) == null ? void 0 : r.trim()) || "PROMEDIO POR PARTIDO"
53
- };
54
- }), y = s(() => {
55
- var t;
56
- return (t = e.data) != null && t.averages ? Math.max(...e.data.averages.map((l) => parseFloat(l.average))) : 0;
57
- });
58
- return (t, l) => (o(), c("div", {
59
- class: "card-general",
60
- style: h(b.value)
61
- }, [
62
- p.value ? (o(), w(B, k({ key: 0 }, p.value, { width: u.width }), {
63
- default: O(() => {
64
- var r, i;
65
- return [
66
- a("div", V, [
67
- a("div", F, [
68
- a("div", H, [
69
- a("h1", L, d(g.value.mainTitle), 1),
70
- a("div", z, [
71
- I(S, {
72
- "team-logo-src": "https://golstatsimages.blob.core.windows.net/teams-80/" + e.data.team_id + ".png",
73
- width: 105,
74
- "inner-image-src": m(v)(e.data.thumbnails.images.player_in_action[0]),
75
- "team-logo-circle-props": f.value,
76
- "inner-image-translate": K
77
- }, null, 8, ["team-logo-src", "inner-image-src", "team-logo-circle-props"])
78
- ]),
79
- a("div", j, [
80
- a("p", {
81
- innerHTML: m(D)(m(M)({ data: e.data, descriptionType: e.descriptionType })),
82
- class: "card-description",
83
- style: h({ color: ((r = e.data) == null ? void 0 : r.font_color) || "white" })
84
- }, null, 12, A)
85
- ])
86
- ]),
87
- a("div", W, [
88
- a("div", $, d(g.value.sidebarTitle), 1),
89
- a("div", q, [
90
- (o(!0), c(P, null, E((i = e.data) == null ? void 0 : i.averages, (n, x) => (o(), c("div", {
91
- key: x,
92
- class: N(["season-row", {
93
- highlighted: n.highlighted,
94
- "max-value": parseFloat(n.average) === y.value
95
- }])
96
- }, [
97
- a("div", G, d(n.average), 1),
98
- a("div", J, d(n.season), 1)
99
- ], 2))), 128))
100
- ])
101
- ])
102
- ])
103
- ])
104
- ];
105
- }),
106
- _: 1
107
- }, 16, ["width"])) : C("", !0)
108
- ], 4));
109
- }
110
- }, Z = /* @__PURE__ */ R(Q, [["__scopeId", "data-v-5e073402"]]);
111
- export {
112
- Z as default
113
- };
@@ -1,91 +0,0 @@
1
- import { computed as c, openBlock as f, createElementBlock as g, normalizeStyle as p, createVNode as y, normalizeProps as v, guardReactiveProps as k, withCtx as x, createElementVNode as i, toDisplayString as m, pushScopeId as C, popScopeId as P } from "vue";
2
- import { o as S } from "./CardBaseAllIndividual-CNB7K2M0-nej9DJ8x.js";
3
- import { h as I, z, P as E, E as O, I as T, O as w, $ as N } from "./misc-BbzSgyER-2p2XKW1m.js";
4
- const $ = (l) => (C("data-v-2d0e60f5"), l = l(), P(), l), j = { class: "passes__body__title-sub" }, B = { class: "passes__body__title-sub__title" }, D = { class: "passes__body__title-sub__sub" }, H = /* @__PURE__ */ $(() => /* @__PURE__ */ i("div", { class: "passes__body__data" }, null, -1)), L = {
5
- __name: "CardSuccessfulPasses",
6
- props: {
7
- height: {
8
- type: String,
9
- default: "445px"
10
- },
11
- width: {
12
- type: String,
13
- default: "319px"
14
- },
15
- data: {
16
- type: Object,
17
- default: () => null
18
- },
19
- descriptionType: {
20
- type: Number,
21
- default: 4
22
- }
23
- },
24
- setup(l) {
25
- const t = l, b = c(() => {
26
- var e, o, d, r, n, a, s;
27
- return {
28
- height: t.height,
29
- width: t.width,
30
- footerHeight: "113px",
31
- playerPhotoPositionTop: "24px",
32
- playerPhotoUrl: z(t.data.player_id || ""),
33
- teamLogoUrl: E(t.data.team_id || ""),
34
- cardColor: (t.data.thumbnails.colors.background_color || "#000000").trim(),
35
- backgroundImageSrc: O((r = (d = (o = (e = t.data) == null ? void 0 : e.thumbnails) == null ? void 0 : o.images) == null ? void 0 : d.background_player_in_action) != null && r[0] ? t.data.thumbnails.images.background_player_in_action[0] : (s = (a = (n = t.data) == null ? void 0 : n.thumbnails) == null ? void 0 : a.images) != null && s.background_team ? t.data.thumbnails.images.background_team : ""),
36
- footerBodyData: {
37
- description: T(w({ data: t.data, descriptionType: t.descriptionType })),
38
- textColor: (t.data.thumbnails.colors.font_color_description || "#FFFFFF").trim()
39
- }
40
- };
41
- }), u = c(() => {
42
- let e = t.data.sections || [];
43
- e = e.sort((a, s) => a[0] - s[0]);
44
- let o = 0;
45
- const d = e.reduce((a, [s, h], F) => (F % 4 === 0 && (a.push([]), o++), a[o - 1].push([h]), a), []), { title: r, subtitle: n } = N(t.data.title);
46
- return {
47
- title: r,
48
- subtitle: n,
49
- iconColor: (t.data.thumbnails.colors.icon_color || "#FFFFFF").trim(),
50
- total: t.data.total,
51
- totalCircleColor: (t.data.thumbnails.colors.data_color || "#cbee6b").trim(),
52
- totalTextColor: (t.data.thumbnails.colors.font_color_stats || "#FFFFFF").trim(),
53
- fieldObject: {
54
- categoryIds: t.data.categories,
55
- coordinatePoint: 3,
56
- data: d,
57
- isNegative: !1
58
- }
59
- };
60
- });
61
- c(() => t.data.id);
62
- const _ = c(() => ({
63
- "--text-color": (t.data.thumbnails.colors.font_color_stats || "#FFFFFF").trim(),
64
- "--data-color": (t.data.thumbnails.colors.background_color || "#000000").trim(),
65
- "--title-color": (t.data.thumbnails.colors.font_color_header || "#FFFFFF").trim()
66
- }));
67
- return (e, o) => (f(), g("div", {
68
- class: "passes",
69
- style: p(_.value)
70
- }, [
71
- y(S, v(k(b.value)), {
72
- body: x(() => [
73
- i("div", {
74
- class: "passes__body",
75
- style: p(_.value)
76
- }, [
77
- i("div", j, [
78
- i("div", B, m(u.value.title), 1),
79
- i("div", D, m(u.value.subtitle), 1)
80
- ]),
81
- H
82
- ], 4)
83
- ]),
84
- _: 1
85
- }, 16)
86
- ], 4));
87
- }
88
- }, R = /* @__PURE__ */ I(L, [["__scopeId", "data-v-2d0e60f5"]]);
89
- export {
90
- R as default
91
- };
@@ -1,75 +0,0 @@
1
- import { computed as d, openBlock as h, createElementBlock as b, createVNode as s, normalizeProps as f, guardReactiveProps as y, withCtx as v, createElementVNode as m, normalizeStyle as F, pushScopeId as x, popScopeId as S } from "vue";
2
- import { o as k } from "./CardBaseAllIndividual-CNB7K2M0-nej9DJ8x.js";
3
- import { N as C } from "./Shield-0VkASyDI-Cm8rtKBS.js";
4
- import { h as I, E as p, I as P, O as w, P as B, z as N } from "./misc-BbzSgyER-2p2XKW1m.js";
5
- const T = (o) => (x("data-v-d26d27a2"), o = o(), S(), o), z = { class: "productive" }, A = /* @__PURE__ */ T(() => /* @__PURE__ */ m("div", { class: "productive__body__title" }, " MÁS Productivo ", -1)), D = {
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
- },
25
- setup(o) {
26
- const a = o, _ = d(() => {
27
- var e, t, r, i, l, u, c;
28
- return {
29
- height: a.height,
30
- width: a.width,
31
- footerHeight: "112px",
32
- cardColor: (a.data.thumbnails.colors.background_color || "#000000").trim(),
33
- backgroundImageSrc: p((i = (r = (t = (e = a.data) == null ? void 0 : e.thumbnails) == null ? void 0 : t.images) == null ? void 0 : r.background_player_in_action) != null && i[0] ? a.data.thumbnails.images.background_player_in_action[0] : (c = (u = (l = a.data) == null ? void 0 : l.thumbnails) == null ? void 0 : u.images) != null && c.background_team ? a.data.thumbnails.images.background_team : ""),
34
- footerBodyData: {
35
- description: P(w({ data: a.data, descriptionType: a.descriptionType })),
36
- textColor: (a.data.thumbnails.colors.font_color_description || "#FFFFFF").trim()
37
- }
38
- };
39
- }), n = d(() => {
40
- var e, t, r, i;
41
- const l = !!((i = (r = (t = (e = a.data) == null ? void 0 : e.thumbnails) == null ? void 0 : t.images) == null ? void 0 : r.player_in_action) != null && i[0]);
42
- return {
43
- teamLogoUrl: B(a.data.team_id || ""),
44
- playerInActionSrc: l ? p(a.data.thumbnails.images.player_in_action[0]) : N(a.data.player_id || ""),
45
- shieldColor: (a.data.thumbnails.colors.graphic_color || "#5DACFF").trim(),
46
- translate: l ? "-40px -8px" : "-42px -30px"
47
- };
48
- }), g = d(() => ({
49
- "--title-color": (a.data.thumbnails.colors.font_color_header || "#FFFFFF").trim()
50
- }));
51
- return (e, t) => (h(), b("div", z, [
52
- s(k, f(y(_.value)), {
53
- body: v(() => [
54
- m("div", {
55
- class: "productive__body",
56
- style: F(g.value)
57
- }, [
58
- A,
59
- s(C, {
60
- id: a.data.id,
61
- "team-logo-src": n.value.teamLogoUrl,
62
- "inner-image-src": n.value.playerInActionSrc,
63
- color: n.value.shieldColor,
64
- "inner-image-translate": n.value.translate
65
- }, null, 8, ["id", "team-logo-src", "inner-image-src", "color", "inner-image-translate"])
66
- ], 4)
67
- ]),
68
- _: 1
69
- }, 16)
70
- ]));
71
- }
72
- }, O = /* @__PURE__ */ I(D, [["__scopeId", "data-v-d26d27a2"]]);
73
- export {
74
- O as default
75
- };