@golstats/gsc-landing 1.0.201 → 1.0.204

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 +2937 -2922
  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 +54 -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,7 +1,7 @@
1
- import { useCssVars as O, computed as s, ref as P, openBlock as d, createElementBlock as m, normalizeStyle as i, createBlock as I, mergeProps as B, withCtx as C, createElementVNode as a, toDisplayString as c, createVNode as R, unref as _, Fragment as D, renderList as E, normalizeClass as M, createCommentVNode as N } from "vue";
2
- import { h as S, E as y, T as V, O as F } from "./misc-BpbriWn--Bd_IQoHZ.js";
3
- import { N as H } from "./Shield-DzbSNLIW-B-twHEDg.js";
4
- const z = { class: "card-content" }, L = { class: "content-wrapper" }, $ = { class: "main-content" }, j = { class: "title-separator" }, A = { class: "footer-text" }, W = ["innerHTML"], q = { class: "seasons-sidebar" }, G = { class: "seasons-list" }, J = "-38px 35px", K = {
1
+ import { useCssVars as O, computed as d, ref as P, openBlock as c, createElementBlock as m, normalizeStyle as r, createBlock as I, mergeProps as V, withCtx as B, createElementVNode as a, toDisplayString as u, createVNode as C, unref as _, Fragment as R, renderList as z, normalizeClass as D, createCommentVNode as M } from "vue";
2
+ import { h as N, z as w, T as S, O as E } from "./misc-D94RabGe-BRVOC8Yx.js";
3
+ import { N as F } from "./Shield-DAT34Ykl-aryfBwhm.js";
4
+ const H = { class: "card-content" }, $ = { class: "content-wrapper" }, L = { class: "main-content" }, j = { class: "title-separator" }, A = { class: "footer-text" }, W = ["innerHTML"], q = { class: "seasons-sidebar" }, G = { class: "seasons-list" }, J = "-38px 35px", K = {
5
5
  __name: "CardPromTournament",
6
6
  props: {
7
7
  height: {
@@ -12,6 +12,10 @@ const z = { class: "card-content" }, L = { class: "content-wrapper" }, $ = { cla
12
12
  type: String,
13
13
  default: "319px"
14
14
  },
15
+ showVideos: {
16
+ type: Boolean,
17
+ default: !0
18
+ },
15
19
  data: {
16
20
  type: Object,
17
21
  default: () => null
@@ -21,11 +25,11 @@ const z = { class: "card-content" }, L = { class: "content-wrapper" }, $ = { cla
21
25
  default: 0
22
26
  }
23
27
  },
24
- setup(u) {
28
+ setup(s) {
25
29
  O((t) => ({
26
- "0759972a": u.data.thumbnails.colors.background_color
30
+ "3e3c7fa0": s.data.thumbnails.colors.background_color
27
31
  }));
28
- const e = u, w = s(() => ({
32
+ const e = s, y = d(() => ({
29
33
  "--height": e.height,
30
34
  "--width": e.width,
31
35
  "--footer-background-color": e.data.thumbnails.colors.background_color || "#000000"
@@ -36,80 +40,83 @@ const z = { class: "card-content" }, L = { class: "content-wrapper" }, $ = { cla
36
40
  right: "-8px",
37
41
  innerImageWidth: "39px",
38
42
  innerImageHeight: "39px"
39
- }), p = s(() => {
40
- var t, l, n, r;
43
+ }), p = d(() => {
44
+ var t, l, o, i;
41
45
  return !e.data || !e.data.thumbnails ? null : {
42
46
  backgroundOverlayColor: e.data.thumbnails.colors.background_color || "#000000",
43
- backgroundImageSrc: (r = (n = (l = (t = e.data) == null ? void 0 : t.thumbnails) == null ? void 0 : l.images) == null ? void 0 : n.player_in_action) != null && r[0] ? y(e.data.thumbnails.images.player_in_action[0]) : "",
44
- isPlayButtonVisible: !0
47
+ backgroundImageSrc: (i = (o = (l = (t = e.data) == null ? void 0 : t.thumbnails) == null ? void 0 : l.images) == null ? void 0 : o.player_in_action) != null && i[0] ? w(e.data.thumbnails.images.player_in_action[0]) : "",
48
+ isPlayButtonVisible: e.showVideos
45
49
  };
46
- }), h = s(() => {
47
- var t, l, n;
50
+ }), h = d(() => {
51
+ var t, l, o;
48
52
  if (!((t = e.data) != null && t.title)) return { mainTitle: "", sidebarTitle: "PROMEDIO POR PARTIDO" };
49
- const r = e.data.title.split("*").filter(Boolean);
53
+ const i = e.data.title.split("*").filter(Boolean);
50
54
  return {
51
- mainTitle: ((l = r[0]) == null ? void 0 : l.trim()) || "",
52
- sidebarTitle: ((n = r[1]) == null ? void 0 : n.trim()) || "PROMEDIO POR PARTIDO"
55
+ mainTitle: ((l = i[0]) == null ? void 0 : l.trim()) || "",
56
+ sidebarTitle: ((o = i[1]) == null ? void 0 : o.trim()) || "PROMEDIO POR PARTIDO"
53
57
  };
54
- }), T = s(() => {
58
+ }), T = d(() => {
55
59
  var t;
56
60
  return (t = e.data) != null && t.averages ? Math.max(...e.data.averages.map((l) => parseFloat(l.average))) : 0;
57
61
  });
58
- return (t, l) => (d(), m("div", {
62
+ return (t, l) => (c(), m("div", {
59
63
  class: "card-general",
60
- style: i(w.value)
64
+ style: r(y.value)
61
65
  }, [
62
- p.value ? (d(), I(V, B({ key: 0 }, p.value, { width: u.width }), {
63
- default: C(() => {
64
- var n, r, g, f;
66
+ p.value ? (c(), I(S, V({ key: 0 }, p.value, {
67
+ width: s.width,
68
+ "show-videos": s.showVideos
69
+ }), {
70
+ default: B(() => {
71
+ var o, i, g, f;
65
72
  return [
66
- a("div", z, [
67
- a("div", L, [
68
- a("div", $, [
73
+ a("div", H, [
74
+ a("div", $, [
75
+ a("div", L, [
69
76
  a("h1", {
70
77
  class: "main-title",
71
- style: i({ color: ((n = e.data) == null ? void 0 : n.thumbnails.colors.font_color_header) || "white" })
72
- }, c(h.value.mainTitle), 5),
78
+ style: r({ color: ((o = e.data) == null ? void 0 : o.thumbnails.colors.font_color_header) || "white" })
79
+ }, u(h.value.mainTitle), 5),
73
80
  a("div", j, [
74
- R(H, {
81
+ C(F, {
75
82
  "team-logo-src": "https://golstatsimages.blob.core.windows.net/teams-80/" + e.data.team_id + ".png",
76
83
  width: 105,
77
- "inner-image-src": _(y)(e.data.thumbnails.images.player_in_action[0]),
84
+ "inner-image-src": _(w)(e.data.thumbnails.images.player_in_action[0]),
78
85
  "team-logo-circle-props": x.value,
79
86
  "inner-image-translate": J
80
87
  }, null, 8, ["team-logo-src", "inner-image-src", "team-logo-circle-props"])
81
88
  ]),
82
89
  a("div", A, [
83
90
  a("p", {
84
- innerHTML: _(F)({ data: e.data, descriptionType: e.descriptionType }).replace(/\*([^*]+)\*/g, "<span style='font-family: Poppins-Bold; font-weight: 700;'>$1</span>"),
91
+ innerHTML: _(E)({ data: e.data, descriptionType: e.descriptionType }).replace(/\*([^*]+)\*/g, "<span style='font-family: Poppins-Bold; font-weight: 700;'>$1</span>"),
85
92
  class: "card-description",
86
- style: i({ color: ((r = e.data) == null ? void 0 : r.thumbnails.colors.font_color_description) || "white" })
93
+ style: r({ color: ((i = e.data) == null ? void 0 : i.thumbnails.colors.font_color_description) || "white" })
87
94
  }, null, 12, W)
88
95
  ])
89
96
  ]),
90
97
  a("div", q, [
91
98
  a("div", {
92
99
  class: "sidebar-header",
93
- style: i({ color: ((g = e.data) == null ? void 0 : g.thumbnails.colors.font_color_description) || "white" })
94
- }, c(h.value.sidebarTitle), 5),
100
+ style: r({ color: ((g = e.data) == null ? void 0 : g.thumbnails.colors.font_color_description) || "white" })
101
+ }, u(h.value.sidebarTitle), 5),
95
102
  a("div", G, [
96
- (d(!0), m(D, null, E((f = e.data) == null ? void 0 : f.averages, (o, k) => {
103
+ (c(!0), m(R, null, z((f = e.data) == null ? void 0 : f.averages, (n, k) => {
97
104
  var v, b;
98
- return d(), m("div", {
105
+ return c(), m("div", {
99
106
  key: k,
100
- class: M(["season-row", {
101
- highlighted: o.highlighted,
102
- "max-value": parseFloat(o.average) === T.value
107
+ class: D(["season-row", {
108
+ highlighted: n.highlighted,
109
+ "max-value": parseFloat(n.average) === T.value
103
110
  }])
104
111
  }, [
105
112
  a("div", {
106
113
  class: "season-value-box",
107
- style: i({ color: ((v = e.data) == null ? void 0 : v.thumbnails.colors.font_color_stats) || "white" })
108
- }, c(o.average), 5),
114
+ style: r({ color: ((v = e.data) == null ? void 0 : v.thumbnails.colors.font_color_stats) || "white" })
115
+ }, u(n.average), 5),
109
116
  a("div", {
110
117
  class: "season-label",
111
- style: i({ color: ((b = e.data) == null ? void 0 : b.thumbnails.colors.font_color_stats) || "white" })
112
- }, c(o.season), 5)
118
+ style: r({ color: ((b = e.data) == null ? void 0 : b.thumbnails.colors.font_color_stats) || "white" })
119
+ }, u(n.season), 5)
113
120
  ], 2);
114
121
  }), 128))
115
122
  ])
@@ -119,10 +126,10 @@ const z = { class: "card-content" }, L = { class: "content-wrapper" }, $ = { cla
119
126
  ];
120
127
  }),
121
128
  _: 1
122
- }, 16, ["width"])) : N("", !0)
129
+ }, 16, ["width", "show-videos"])) : M("", !0)
123
130
  ], 4));
124
131
  }
125
- }, X = /* @__PURE__ */ S(K, [["__scopeId", "data-v-fbc2d0d9"]]);
132
+ }, X = /* @__PURE__ */ N(K, [["__scopeId", "data-v-9d5bd784"]]);
126
133
  export {
127
134
  X as default
128
135
  };