@golstats/gsc-landing 1.0.193 → 1.0.195

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 (37) hide show
  1. package/dist/{CardBaseAllIndividual-DW2NMKgR-HgCTNwsl.js → CardBaseAllIndividual-Din4dnnE-9r_ZQ2PD.js} +13 -12
  2. package/dist/CardGeneral-70CyP1c9-DZjdnAqP.js +127 -0
  3. package/dist/{CardGeneralIndividual-KAcHT3zU-v50O2Zlq.js → CardGeneralIndividual-CFAG9SL3-BG4lUe_F.js} +83 -77
  4. package/dist/{CardGeneralTeams-CwKmM2ip-1ajycpU3.js → CardGeneralTeams-C1b59sT7-DG5cs-Tg.js} +151 -146
  5. package/dist/{CardIndividual-OuxjYR6m-BJwKI5HZ.js → CardIndividual-BVJEvLuq-_PhgZvaJ.js} +38 -37
  6. package/dist/CardIndividual1vs1-BEIdhWs1-BvsUVyut.js +109 -0
  7. package/dist/{CardIndividualAreas-DGRNgB7W-BXnQ-9tF.js → CardIndividualAreas-T43vItFr-Ge11BS0-.js} +22 -21
  8. package/dist/{CardIndividualCenters-0K7CYu6z-C1If3cnK.js → CardIndividualCenters-fZNKbbXo-CBcfzVIG.js} +121 -120
  9. package/dist/{CardIndividualDistance-DPP7-JWN-CiCspi8H.js → CardIndividualDistance-CcU2Vbnx-BA0WjvGk.js} +32 -31
  10. package/dist/{CardIndividualFouls-CbvYRQjI-CVZKAmd3.js → CardIndividualFouls-BYcKqeFK-Cje2Mt8Z.js} +111 -110
  11. package/dist/CardIndividualGoalParticipation-yPoWp2QU-CzPvpOTY.js +112 -0
  12. package/dist/{CardIndividualGoals-no1WpbpS-DaNagxNS.js → CardIndividualGoals-C69mSV2s-D6_1_Ya_.js} +181 -180
  13. package/dist/CardIndividualGold-BxCrvpoF-DAinsnlx.js +117 -0
  14. package/dist/{CardIndividualNoGoalReceived-Bg-pQ5GI-7vmSeaL6.js → CardIndividualNoGoalReceived-CqVz1A2y-2wvhoRRn.js} +56 -55
  15. package/dist/CardIndividualPerformance-JjUTmJQy-BKKJWuAj.js +104 -0
  16. package/dist/{CardIndividualSaves-DboDAV9z-DW3t5zbf.js → CardIndividualSaves-DEvTL6Uw-ExU597Jv.js} +70 -65
  17. package/dist/{CardIndividualShotsOnGoal-Czqe0JAs-DQ1fY0Cd.js → CardIndividualShotsOnGoal-BxwPL-4b-CjB-aDIc.js} +55 -54
  18. package/dist/{CardIndividualStatistics-Chw1TBSy-EkmKWR9X.js → CardIndividualStatistics-DQRVwOUb-BM8QzAyt.js} +35 -34
  19. package/dist/{CardPromTournament-BbjTP9KD-CWu7JvYP.js → CardPromTournament-HcWvduRV-DarShqZA.js} +28 -27
  20. package/dist/CardSuccessfulPasses-D9ZpWlLr-DVijdVau.js +92 -0
  21. package/dist/CardTheMostProductive-CNNFBK3--EbF2Re03.js +76 -0
  22. package/dist/{CircleWithDotsBig-EzIr2wuY-TMr2eIat.js → CircleWithDotsBig-DOPQy89I-DsMw07Qs.js} +1 -1
  23. package/dist/{Shield-Dnuj3Yd--DAk7-Zio.js → Shield-COMdrYaO-CimHKi7p.js} +60 -55
  24. package/dist/gsc-landing.js +2 -57546
  25. package/dist/gsc-landing.umd.cjs +64 -64
  26. package/dist/index-Cf6zNZxW.js +57599 -0
  27. package/dist/misc-CMAhmOsp-DhvMrB3p.js +163 -0
  28. package/dist/style.css +1 -1
  29. package/package.json +2 -2
  30. package/dist/CardGeneral-Ck1sE8Nk-nYRMD1Jp.js +0 -116
  31. package/dist/CardIndividual1vs1-C6nQbFeh-DfQyFZf0.js +0 -487
  32. package/dist/CardIndividualGoalParticipation-DBwh-Kcv-DIgeIQTB.js +0 -108
  33. package/dist/CardIndividualGold-CkAyS4hx-DXmFVXpp.js +0 -112
  34. package/dist/CardIndividualPerformance-BZJ8PBWe-1n4ucmaO.js +0 -99
  35. package/dist/CardSuccessfulPasses-UsTNXLy8-Creea-3D.js +0 -426
  36. package/dist/CardTheMostProductive-BGExgYBM-twyrFU3-.js +0 -74
  37. package/dist/misc-CeQ5H5LP-DeaiNpCH.js +0 -168
@@ -1,108 +0,0 @@
1
- import { computed as e, openBlock as i, createElementBlock as r, normalizeStyle as g, createVNode as F, normalizeProps as y, guardReactiveProps as b, withCtx as f, createElementVNode as o, toDisplayString as C, pushScopeId as w, popScopeId as x } from "vue";
2
- import { d as k } from "./CardBaseAllIndividual-DW2NMKgR-HgCTNwsl.js";
3
- import { h as z, z as M, P, E as S, I as T, O as I } from "./misc-CeQ5H5LP-DeaiNpCH.js";
4
- import { w as E } from "./CircleWithDotsBig-EzIr2wuY-TMr2eIat.js";
5
- const B = (l) => (w("data-v-4d8d2054"), l = l(), x(), l), L = { class: "goal-participation__body__data" }, N = {
6
- width: "35",
7
- height: "47",
8
- viewBox: "0 0 35 47",
9
- fill: "none",
10
- xmlns: "http://www.w3.org/2000/svg"
11
- }, D = ["fill"], U = ["stroke"], V = {
12
- key: 0,
13
- class: "goal-participation__body__data__percent"
14
- }, G = {
15
- key: 1,
16
- class: "goal-participation__body__data__total"
17
- }, H = /* @__PURE__ */ B(() => /* @__PURE__ */ o("div", { class: "goal-participation__body__title" }, " participaciones de gol ", -1)), O = {
18
- __name: "CardIndividualGoalParticipation",
19
- props: {
20
- height: {
21
- type: String,
22
- default: "445px"
23
- },
24
- width: {
25
- type: String,
26
- default: "319px"
27
- },
28
- data: {
29
- type: Object,
30
- default: () => null
31
- },
32
- descriptionType: {
33
- type: Number,
34
- default: 0
35
- }
36
- },
37
- setup(l) {
38
- const t = l, v = e(() => {
39
- var d, n, s, p, u, _, m, h;
40
- return {
41
- height: t.height,
42
- width: t.width,
43
- footerHeight: "137px",
44
- playerPhotoUrl: M(t.data.player_id || ""),
45
- teamLogoUrl: P(t.data.team_id || ""),
46
- cardColor: t.data.thumbnails.colors.background_color || "#000000",
47
- backgroundImageSrc: S((p = (s = (n = (d = t.data) == null ? void 0 : d.thumbnails) == null ? void 0 : n.images) == null ? void 0 : s.background_player_in_action) != null && p[0] ? t.data.thumbnails.images.background_player_in_action[0] : (h = (m = (_ = (u = t.data) == null ? void 0 : u.thumbnails) == null ? void 0 : _.images) == null ? void 0 : m.team_in_action) != null && h[0] ? t.data.thumbnails.images.team_in_action[0] : ""),
48
- footerBodyData: {
49
- description: T(I({ data: t.data, descriptionType: t.descriptionType })),
50
- textColor: (t.data.thumbnails.colors.font_color_description || "#FFFFFF").trim()
51
- }
52
- };
53
- }), a = e(() => ({
54
- isTotalPercentage: t.data.footer.is_percentage,
55
- iconColor: (t.data.thumbnails.colors.icon_color || "#FFFFFF").trim(),
56
- total: t.data.total,
57
- totalCircleColor: (t.data.thumbnails.colors.data_color || "#cbee6b").trim(),
58
- totalTextColor: (t.data.thumbnails.colors.font_color_stats || "#FFFFFF").trim()
59
- }));
60
- e(() => t.data.id);
61
- const c = e(() => ({
62
- "--title-color": (t.data.thumbnails.colors.font_color_header || "#FFFFFF").trim(),
63
- "--total-color": (t.data.thumbnails.colors.font_color_stats || "#FFFFFF").trim()
64
- }));
65
- return (d, n) => (i(), r("div", {
66
- class: "goal-participation",
67
- style: g(c.value)
68
- }, [
69
- F(k, y(b(v.value)), {
70
- body: f(() => [
71
- o("div", {
72
- class: "goal-participation__body",
73
- style: g(c.value)
74
- }, [
75
- o("div", L, [
76
- (i(), r("svg", N, [
77
- o("path", {
78
- d: "M4.159 42.568a2.667 2.667 0 1 0 5.333 0 2.667 2.667 0 0 0-5.333 0zM29.72 26.235l.29.407.563-.402-.557-.409-.296.404zM1.728 7.642a2.667 2.667 0 1 0 5.333 0 2.667 2.667 0 0 0-5.333 0zm5.388 35.333L30.012 26.64l-.581-.814L6.535 42.161l.58.814zM30.017 25.83 4.69 7.24l-.591.806 25.326 18.593.592-.807z",
79
- fill: a.value.iconColor
80
- }, null, 8, D),
81
- o("path", {
82
- opacity: ".5",
83
- d: "M9.217 26.157a2.188 2.188 0 1 1-4.375 0 2.188 2.188 0 0 1 4.375 0zM30.158 9.9a2.187 2.187 0 1 1-4.375 0 2.187 2.187 0 0 1 4.375 0zM30.158 43.1a2.188 2.188 0 1 1-4.375 0 2.188 2.188 0 0 1 4.375 0z",
84
- stroke: a.value.iconColor,
85
- "stroke-width": "1.458"
86
- }, null, 8, U)
87
- ])),
88
- a.value.isTotalPercentage ? (i(), r("div", V, [
89
- F(E, {
90
- "text-color": a.value.totalTextColor,
91
- color: a.value.totalCircleColor,
92
- value: a.value.total
93
- }, null, 8, ["text-color", "color", "value"])
94
- ])) : (i(), r("div", G, [
95
- o("div", null, C(t.data.total), 1)
96
- ]))
97
- ]),
98
- H
99
- ], 4)
100
- ]),
101
- _: 1
102
- }, 16)
103
- ], 4));
104
- }
105
- }, $ = /* @__PURE__ */ z(O, [["__scopeId", "data-v-4d8d2054"]]);
106
- export {
107
- $ as default
108
- };
@@ -1,112 +0,0 @@
1
- import { ref as v, computed as d, openBlock as n, createElementBlock as s, createVNode as p, normalizeProps as f, guardReactiveProps as x, withCtx as F, createElementVNode as o, normalizeClass as w, toDisplayString as g, pushScopeId as S, popScopeId as C } from "vue";
2
- import { d as I } from "./CardBaseAllIndividual-DW2NMKgR-HgCTNwsl.js";
3
- import { H as T } from "./Shield-Dnuj3Yd--DAk7-Zio.js";
4
- import { h as E, I as H, O as $, $ as k, E as z, z as N } from "./misc-CeQ5H5LP-DeaiNpCH.js";
5
- const O = (e) => (S("data-v-8e64711b"), e = e(), C(), e), B = { class: "gold-card" }, L = { class: "gold-card__body__title" }, P = {
6
- key: 0,
7
- class: "gold-card__body__shield"
8
- }, V = {
9
- key: 1,
10
- class: "gold-card__body__player-photo"
11
- }, j = /* @__PURE__ */ O(() => /* @__PURE__ */ o("img", {
12
- src: "https://golstatsimages.blob.core.windows.net/images-library/3864_2_1874_DGS.png",
13
- alt: ""
14
- }, null, -1)), G = [
15
- j
16
- ], R = { class: "gold-card__body__sub-title" }, W = {
17
- __name: "CardIndividualGold",
18
- props: {
19
- height: {
20
- type: String,
21
- default: "445px"
22
- },
23
- width: {
24
- type: String,
25
- default: "319px"
26
- },
27
- data: {
28
- type: Object,
29
- default: () => null
30
- },
31
- descriptionType: {
32
- type: Number,
33
- default: 4
34
- }
35
- },
36
- setup(e) {
37
- const t = e, u = /* @__PURE__ */ new Set([
38
- "83-i",
39
- "89-i",
40
- "95-i",
41
- "101-i",
42
- "107-i",
43
- "113-i",
44
- "119-i",
45
- "125-i",
46
- "131-i",
47
- "137-i",
48
- "143-i",
49
- "149-i",
50
- "155-i",
51
- "161-i",
52
- "167-i",
53
- "174-i"
54
- ]), m = v({
55
- width: "50px",
56
- height: "50px",
57
- bottom: "34px",
58
- right: "-8px",
59
- innerImageWidth: "39px",
60
- innerImageHeight: "39px"
61
- }), i = d(() => u.has(t.data.id) ? 1 : 2), _ = d(() => (console.log("DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD"), console.log("props.data: ", t.data), {
62
- height: t.height,
63
- width: t.width,
64
- footerHeight: "137px",
65
- footerBodyData: {
66
- description: H($({ data: t.data, descriptionType: t.descriptionType })),
67
- total: t.data.footer.show_percentage ? t.data.percentage : t.data.total,
68
- textColor: (t.data.thumbnails.colors.font_color_description || "#FFFFFF").trim(),
69
- totalTextColor: (t.data.thumbnails.colors.font_color_stats || "#FFFFFF").trim(),
70
- totalCircleColor: (t.data.thumbnails.colors.data_color || "#000000").trim(),
71
- isTotalPercentage: t.data.footer.show_percentage
72
- },
73
- goldCardType: i.value
74
- })), a = d(() => {
75
- var l, r, D, c;
76
- const { title: h, subtitle: y } = k(t.data.title), b = !!((c = (D = (r = (l = t.data) == null ? void 0 : l.thumbnails) == null ? void 0 : r.images) == null ? void 0 : D.player_in_action) != null && c[0]);
77
- return {
78
- title: h,
79
- subtitle: y,
80
- innerImageSrc: b ? z(t.data.thumbnails.images.player_in_action[0]) : N(t.data.player_id || ""),
81
- tournamentLogoSrc: `https://az755631.vo.msecnd.net/todoelfut/${t.data.tournament_id}.png`,
82
- translate: "-38px 23px"
83
- };
84
- });
85
- return (l, r) => (n(), s("div", B, [
86
- p(I, f(x(_.value)), {
87
- body: F(() => [
88
- o("div", {
89
- class: w(["gold-card__body", { "type-2": i.value === 2 }])
90
- }, [
91
- o("div", L, g(a.value.title), 1),
92
- i.value === 1 ? (n(), s("div", P, [
93
- p(T, {
94
- "team-logo-src": a.value.tournamentLogoSrc,
95
- width: 131,
96
- "team-logo-circle-props": m.value,
97
- color: "#C3A650",
98
- "inner-image-translate": a.value.translate,
99
- "inner-image-src": a.value.innerImageSrc
100
- }, null, 8, ["team-logo-src", "team-logo-circle-props", "inner-image-translate", "inner-image-src"])
101
- ])) : (n(), s("div", V, G)),
102
- o("div", R, g(a.value.subtitle), 1)
103
- ], 2)
104
- ]),
105
- _: 1
106
- }, 16)
107
- ]));
108
- }
109
- }, K = /* @__PURE__ */ E(W, [["__scopeId", "data-v-8e64711b"]]);
110
- export {
111
- K as default
112
- };
@@ -1,99 +0,0 @@
1
- import { computed as i, openBlock as h, createElementBlock as y, normalizeStyle as F, createVNode as c, normalizeProps as g, guardReactiveProps as x, withCtx as S, createElementVNode as o, toDisplayString as d, pushScopeId as C, popScopeId as T } from "vue";
2
- import { d as k } from "./CardBaseAllIndividual-DW2NMKgR-HgCTNwsl.js";
3
- import { h as w, z as I, E as N, I as O, O as P, $ as z } from "./misc-CeQ5H5LP-DeaiNpCH.js";
4
- import { w as b } from "./CircleWithDotsBig-EzIr2wuY-TMr2eIat.js";
5
- const E = (e) => (C("data-v-22aa58e2"), e = e(), T(), e), $ = { class: "performance__body" }, B = { class: "performance__body__title-sub" }, V = { class: "performance__body__title-sub__title" }, j = { class: "performance__body__title-sub__sub" }, D = { class: "performance__body__data" }, H = { class: "performance__body__data__total-season" }, R = { class: "performance__body__data__total-season__season" }, U = /* @__PURE__ */ E(() => /* @__PURE__ */ o("span", { class: "arrow" }, "→", -1)), q = { class: "performance__body__data__total-season" }, A = { class: "performance__body__data__total-season__season" }, G = {
6
- __name: "CardIndividualPerformance",
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
- },
21
- setup(e) {
22
- const a = e, f = i(() => {
23
- var l, r, s, n, _, u, m, p;
24
- return {
25
- height: a.height,
26
- width: a.width,
27
- footerHeight: "fit-content",
28
- playerPhotoPositionTop: "24px",
29
- playerPhotoUrl: I(a.data.player_id || ""),
30
- cardColor: (a.data.thumbnails.colors.background_color || "#000000").trim(),
31
- backgroundImageSrc: N((n = (s = (r = (l = a.data) == null ? void 0 : l.thumbnails) == null ? void 0 : r.images) == null ? void 0 : s.background_player_in_action) != null && n[0] ? a.data.thumbnails.imagesbackground_.background_player_in_action[0] : (p = (m = (u = (_ = a.data) == null ? void 0 : _.thumbnails) == null ? void 0 : u.images) == null ? void 0 : m.team_in_action) != null && p[0] ? a.data.thumbnails.images.team_in_action[0] : ""),
32
- textColor: (a.data.thumbnails.colors.text_color_description || "#FFFFFF").trim(),
33
- footerBodyData: {
34
- description: O(P({ data: a.data, descriptionType: a.descriptionType })),
35
- total: a.data.total,
36
- textColor: (a.data.thumbnails.colors.font_color_description || "#FFFFFF").trim()
37
- }
38
- };
39
- }), t = i(() => {
40
- const { title: l, subtitle: r } = z(a.data.title), [s, n] = a.data.totals;
41
- return {
42
- title: l,
43
- subtitle: r,
44
- pastSeasonName: n.season,
45
- currentSeasonName: s.season,
46
- pastSeasonTotal: n.total,
47
- currentSeasonTotal: s.total,
48
- textColor: (a.data.thumbnails.colors.font_color_description || "#FFFFFF").trim(),
49
- circleOneColor: (a.data.thumbnails.colors.data_color_2 || "#000000").trim(),
50
- circleTwoColor: (a.data.thumbnails.colors.data_color || "#000000").trim()
51
- };
52
- });
53
- i(() => a.data.id);
54
- const v = i(() => ({
55
- "--data-color": a.data.thumbnails.colors.background_color_cards || "#000000",
56
- "--title-color": (a.data.thumbnails.colors.font_color_header || "#FFFFFF").trim()
57
- }));
58
- return (l, r) => (h(), y("div", {
59
- class: "performance",
60
- style: F(v.value)
61
- }, [
62
- c(k, g(x(f.value)), {
63
- body: S(() => [
64
- o("div", $, [
65
- o("div", B, [
66
- o("div", V, d(t.value.title), 1),
67
- o("div", j, d(t.value.subtitle), 1)
68
- ]),
69
- o("div", D, [
70
- o("div", H, [
71
- c(b, {
72
- value: t.value.pastSeasonTotal,
73
- suffix: "",
74
- "text-color": t.value.textColor,
75
- color: t.value.circleOneColor
76
- }, null, 8, ["value", "text-color", "color"]),
77
- o("div", R, d(t.value.pastSeasonName), 1)
78
- ]),
79
- U,
80
- o("div", q, [
81
- c(b, {
82
- value: t.value.currentSeasonTotal,
83
- suffix: "",
84
- "text-color": t.value.textColor,
85
- color: t.value.circleTwoColor
86
- }, null, 8, ["value", "text-color", "color"]),
87
- o("div", A, d(t.value.currentSeasonName), 1)
88
- ])
89
- ])
90
- ])
91
- ]),
92
- _: 1
93
- }, 16)
94
- ], 4));
95
- }
96
- }, L = /* @__PURE__ */ w(G, [["__scopeId", "data-v-22aa58e2"]]);
97
- export {
98
- L as default
99
- };