@golstats/gsc-landing 1.0.201 → 1.0.202

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/{CardBaseAllIndividual-D0CaU15e-CLPB0z0l.js → CardBaseAllIndividual-VdTcJTWG-BVu0s4Ia.js} +15 -11
  3. package/dist/{CardGeneral-AZwvWZ_3-AQOM0OL9.js → CardGeneral-C-VvuOx1-DZ1STmiu.js} +79 -72
  4. package/dist/{CardGeneralIndividual-DetWgcUA-BTLZpGNX.js → CardGeneralIndividual-Dgeu5sRM-B8G1a9du.js} +47 -40
  5. package/dist/{CardGeneralTeams-wLzPsHgF-fLdKm-YP.js → CardGeneralTeams-Bio2uWy5-JwL6999E.js} +40 -33
  6. package/dist/{CardIndividual-DsTXOh1h-Dc3790C2.js → CardIndividual-C3vZnJKJ-5q9bHalb.js} +79 -72
  7. package/dist/CardIndividual1vs1-ayelgnf_-Dzunebe6.js +112 -0
  8. package/dist/{CardIndividualAreas-DngsmF39-DcK3uLDs.js → CardIndividualAreas-Be04td4J-D8hPG9Ld.js} +123 -119
  9. package/dist/{CardIndividualCenters-BG_eOM3D-xuIP7w17.js → CardIndividualCenters-CY_VblPm-tco6UKC3.js} +115 -111
  10. package/dist/{CardIndividualDistance-CvBDGVS--D8YWMCKb.js → CardIndividualDistance-BJMYJrZB-CSYRc_Hh.js} +34 -30
  11. package/dist/{CardIndividualFouls-C44UeLyO-ZIHkkK8-.js → CardIndividualFouls-CBm_fj6Z-BMwjoJEP.js} +131 -127
  12. package/dist/CardIndividualGoalParticipation-dDcZFtIb-CwBtEPQN.js +115 -0
  13. package/dist/{CardIndividualGoals-B4b5wkp6-BwluJyoB.js → CardIndividualGoals-Lu8PEJkR-B7Wc968g.js} +186 -182
  14. package/dist/{CardIndividualGold-BfC-u_iy-DT3GeGNQ.js → CardIndividualGold-Ptz6THCG-BRqzfQcT.js} +39 -35
  15. package/dist/{CardIndividualNoGoalReceived-BfSj5Spd-CmA-iSLj.js → CardIndividualNoGoalReceived-kUSshVQ5-B_Vte5MR.js} +61 -57
  16. package/dist/CardIndividualPerformance-BUOn0sF1-9J7h-EAR.js +107 -0
  17. package/dist/{CardIndividualSaves-nqci9xWF-CDd6dQLA.js → CardIndividualSaves-DRGasLFI-C3bqv0g3.js} +47 -40
  18. package/dist/{CardIndividualShotsOnGoal-CivXiLK1-Gtfy45ra.js → CardIndividualShotsOnGoal-D9Dx66aR-DAEm50w4.js} +72 -68
  19. package/dist/{CardIndividualStatistics-Z68XArun-DT_RnZV9.js → CardIndividualStatistics-QY2fzyFQ-Cx6f8RYu.js} +36 -32
  20. package/dist/{CardPromTournament-D8dm7vzw-DjvD0ktc.js → CardPromTournament-BScZREpO-D50kVl_Z.js} +51 -44
  21. package/dist/{CardSuccessfulPasses-Duuuvnsj-Dtkl1toq.js → CardSuccessfulPasses-B3BQ72bh-2Afgc80U.js} +64 -60
  22. package/dist/CardTheMostProductive-DhsxmRN2-BerzYRSH.js +80 -0
  23. package/dist/{CircleWithDotsBig-BWySvEMt-COAdxI3W.js → CircleWithDotsBig-ayb1XwYk-BxAR6vi7.js} +1 -1
  24. package/dist/{Shield-DzbSNLIW-B-twHEDg.js → Shield-DAT34Ykl-aryfBwhm.js} +1 -1
  25. package/dist/gsc-landing.js +2152 -2142
  26. package/dist/gsc-landing.umd.cjs +59 -59
  27. package/dist/misc-D94RabGe-BRVOC8Yx.js +172 -0
  28. package/dist/style.css +1 -1
  29. package/package.json +53 -53
  30. package/dist/CardIndividual1vs1-D4ApefEV-BpJl9DFk.js +0 -108
  31. package/dist/CardIndividualGoalParticipation-CCDWQfQW-BGYwHtJV.js +0 -111
  32. package/dist/CardIndividualPerformance-DPNMz8n4-DTgdkzaM.js +0 -103
  33. package/dist/CardTheMostProductive-Jp8NzANe-DYcLrIfR.js +0 -76
  34. package/dist/misc-BpbriWn--Bd_IQoHZ.js +0 -168
@@ -1,13 +1,13 @@
1
- import { computed as o, openBlock as m, createElementBlock as b, normalizeStyle as p, createVNode as f, normalizeProps as v, guardReactiveProps as x, withCtx as w, createElementVNode as a, toDisplayString as i } from "vue";
2
- import { r as k } from "./CardBaseAllIndividual-D0CaU15e-CLPB0z0l.js";
3
- import { h as P, z as S, P as z, E, I as N, O as T } from "./misc-BpbriWn--Bd_IQoHZ.js";
4
- const B = { class: "distance__body__title-sub" }, H = { class: "distance__body__title-sub__title" }, I = { class: "distance__body__title-sub__sub" }, O = { class: "distance__body__data" }, j = { class: "distance__body__data__total" }, D = {
1
+ import { computed as o, openBlock as b, createElementBlock as h, normalizeStyle as p, createVNode as f, mergeProps as v, withCtx as w, createElementVNode as a, toDisplayString as i } from "vue";
2
+ import { r as x } from "./CardBaseAllIndividual-VdTcJTWG-BVu0s4Ia.js";
3
+ import { h as k, V, P as S, z as B, I as N, O as P } from "./misc-D94RabGe-BRVOC8Yx.js";
4
+ const T = { class: "distance__body__title-sub" }, z = { class: "distance__body__title-sub__title" }, D = { class: "distance__body__title-sub__sub" }, H = { class: "distance__body__data" }, I = { class: "distance__body__data__total" }, j = {
5
5
  width: "106",
6
6
  height: "9",
7
7
  viewBox: "0 0 106 9",
8
8
  fill: "none",
9
9
  xmlns: "http://www.w3.org/2000/svg"
10
- }, M = ["fill"], $ = {
10
+ }, E = ["fill"], L = {
11
11
  __name: "CardIndividualDistance",
12
12
  props: {
13
13
  height: {
@@ -25,71 +25,75 @@ const B = { class: "distance__body__title-sub" }, H = { class: "distance__body__
25
25
  descriptionType: {
26
26
  type: Number,
27
27
  default: 4
28
+ },
29
+ showVideos: {
30
+ type: Boolean,
31
+ default: !0
28
32
  }
29
33
  },
30
- setup(h) {
31
- const t = h, F = /* @__PURE__ */ new Set([
34
+ setup(d) {
35
+ const t = d, F = /* @__PURE__ */ new Set([
32
36
  "77-i",
33
37
  "36-i"
34
- ]), g = o(() => {
35
- var e, l, n, s, c, u, _;
38
+ ]), y = o(() => {
39
+ var e, l, n, c, u, _, m;
36
40
  return {
37
41
  height: t.height,
38
42
  width: t.width,
39
43
  footerHeight: "113px",
40
44
  playerPhotoPositionTop: "24px",
41
- playerPhotoUrl: S(t.data.player_id || ""),
42
- teamLogoUrl: z(t.data.team_id || ""),
45
+ playerPhotoUrl: V(t.data.player_id || ""),
46
+ teamLogoUrl: S(t.data.team_id || ""),
43
47
  cardColor: (t.data.thumbnails.colors.background_color || "#000000").trim(),
44
- backgroundImageSrc: E((s = (n = (l = (e = t.data) == null ? void 0 : e.thumbnails) == null ? void 0 : l.images) == null ? void 0 : n.background_player_in_action) != null && s[0] ? t.data.thumbnails.images.background_player_in_action[0] : (_ = (u = (c = t.data) == null ? void 0 : c.thumbnails) == null ? void 0 : u.images) != null && _.background_team ? t.data.thumbnails.images.background_team : ""),
48
+ backgroundImageSrc: B((c = (n = (l = (e = t.data) == null ? void 0 : e.thumbnails) == null ? void 0 : l.images) == null ? void 0 : n.background_player_in_action) != null && c[0] ? t.data.thumbnails.images.background_player_in_action[0] : (m = (_ = (u = t.data) == null ? void 0 : u.thumbnails) == null ? void 0 : _.images) != null && m.background_team ? t.data.thumbnails.images.background_team : ""),
45
49
  footerBodyData: {
46
- description: N(T({ data: t.data, descriptionType: t.descriptionType })),
50
+ description: N(P({ data: t.data, descriptionType: t.descriptionType })),
47
51
  textColor: (t.data.thumbnails.colors.font_color_description || "#FFFFFF").trim()
48
52
  }
49
53
  };
50
- }), y = o(() => ({
54
+ }), g = o(() => ({
51
55
  iconColor: (t.data.thumbnails.colors.icon_color || "#FFFFFF").trim(),
52
56
  total: t.data.total,
53
57
  totalCircleColor: (t.data.thumbnails.colors.data_color || "#cbee6b").trim(),
54
58
  totalTextColor: (t.data.thumbnails.colors.font_color_stats || "#FFFFFF").trim()
55
- })), d = o(() => ({
59
+ })), r = o(() => ({
56
60
  title: "mayor distancia",
57
61
  subtitle: F.has(C.value) ? "este torneo" : "última jornada"
58
- })), C = o(() => t.data.id), r = o(() => ({
62
+ })), C = o(() => t.data.id), s = o(() => ({
59
63
  "--text-color": (t.data.thumbnails.colors.font_color_stats || "#FFFFFF").trim(),
60
64
  "--data-color": (t.data.thumbnails.colors.background_color || "#000000").trim(),
61
65
  "--title-color": (t.data.thumbnails.colors.font_color_header || "#FFFFFF").trim()
62
66
  }));
63
- return (e, l) => (m(), b("div", {
67
+ return (e, l) => (b(), h("div", {
64
68
  class: "distance",
65
- style: p(r.value)
69
+ style: p(s.value)
66
70
  }, [
67
- f(k, v(x(g.value)), {
71
+ f(x, v(y.value, { "show-videos": d.showVideos }), {
68
72
  body: w(() => [
69
73
  a("div", {
70
74
  class: "distance__body",
71
- style: p(r.value)
75
+ style: p(s.value)
72
76
  }, [
73
- a("div", B, [
74
- a("div", H, i(d.value.title), 1),
75
- a("div", I, i(d.value.subtitle), 1)
77
+ a("div", T, [
78
+ a("div", z, i(r.value.title), 1),
79
+ a("div", D, i(r.value.subtitle), 1)
76
80
  ]),
77
- a("div", O, [
78
- a("div", j, i(Number(t.data.total).toFixed(2)) + " km ", 1),
79
- (m(), b("svg", D, [
81
+ a("div", H, [
82
+ a("div", I, i(Number(t.data.total).toFixed(2)) + " km ", 1),
83
+ (b(), h("svg", j, [
80
84
  a("path", {
81
85
  d: "M101.016 0.0016293C99.1115 0.0016293 97.4165 1.20163 96.7865 3.00163H8.74649C7.92149 0.661629 5.34149 -0.56837 3.01649 0.25663C0.661489 1.08163 -0.56851 3.66163 0.25649 6.00163C1.09649 8.34163 3.66149 9.57163 6.01649 8.74663C7.29149 8.29663 8.26649 7.27663 8.74649 6.00163H96.8015C97.6265 8.34163 100.206 9.57163 102.516 8.74663C104.886 7.92163 106.116 5.34163 105.291 3.00163C104.646 1.20163 102.936 0.0016293 101.016 0.0016293ZM101.016 6.75163C100.42 6.75163 99.8475 6.51457 99.4255 6.09262C99.0035 5.67066 98.7665 5.09837 98.7665 4.50163C98.7665 3.90489 99.0035 3.3326 99.4255 2.91064C99.8475 2.48868 100.42 2.25163 101.016 2.25163C101.613 2.25163 102.186 2.48868 102.607 2.91064C103.029 3.3326 103.266 3.90489 103.266 4.50163C103.266 5.09837 103.029 5.67066 102.607 6.09262C102.186 6.51457 101.613 6.75163 101.016 6.75163Z",
82
- fill: y.value.iconColor
83
- }, null, 8, M)
86
+ fill: g.value.iconColor
87
+ }, null, 8, E)
84
88
  ]))
85
89
  ])
86
90
  ], 4)
87
91
  ]),
88
92
  _: 1
89
- }, 16)
93
+ }, 16, ["show-videos"])
90
94
  ], 4));
91
95
  }
92
- }, Z = /* @__PURE__ */ P($, [["__scopeId", "data-v-0ac0d030"]]);
96
+ }, Z = /* @__PURE__ */ k(L, [["__scopeId", "data-v-b93cfa44"]]);
93
97
  export {
94
98
  Z as default
95
99
  };