@golstats/gsc-relevant-data 1.1.2 → 1.1.3

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 (31) hide show
  1. package/dist/{CardBase-cG4UK8zU-D0uCjRqB.js → CardBase-LHalf2V1-DH_4cIUy.js} +31 -31
  2. package/dist/{CardBaseAllIndividual-DT-pj1sJ-DWZbiML4.js → CardBaseAllIndividual-CWBagEwG-uRQJM1eE.js} +10 -10
  3. package/dist/{CardGeneral-BlZEnnEb-DdWkGjzN.js → CardGeneral-eo3knIIA-DiSDBUxd.js} +138 -134
  4. package/dist/{CardGeneralIndividual-Bnc6oqkd-SgV6nzYK.js → CardGeneralIndividual-CAzGqXtP-CKucAqIc.js} +90 -86
  5. package/dist/{CardGeneralTeams-C3Y4CKGP-D4IEguSo.js → CardGeneralTeams-uDvy9Z7o-4o1o3rmK.js} +228 -224
  6. package/dist/{CardIndividual-BPMbVI3t-C0RFgnSH.js → CardIndividual-BKTMzciS-CVYDhxcW.js} +29 -29
  7. package/dist/{CardIndividual1vs1-CuR4WSxJ-BzG-hQ5T.js → CardIndividual1vs1-DnPVKDmp-DnamlHEl.js} +37 -37
  8. package/dist/{CardIndividualAreas-CfLiKrts-CIunuyhE.js → CardIndividualAreas-D5l7k_ww-DUXH6N-P.js} +13 -13
  9. package/dist/{CardIndividualCenters-QiXO05sk-DZ22hl82.js → CardIndividualCenters-BqtSPfOh-CHUdOS1l.js} +26 -26
  10. package/dist/{CardIndividualDistance-7PJ6nX5x-GJc7QK8v.js → CardIndividualDistance-DjbQVGp0-BG1JjZiV.js} +15 -15
  11. package/dist/{CardIndividualFouls-BG7VCYOa-3FvCHJ4a.js → CardIndividualFouls-C-mzTK7G-Cog70HZW.js} +14 -14
  12. package/dist/{CardIndividualGoalParticipation-BWq87mgE-l0ODFUR-.js → CardIndividualGoalParticipation-DvGAjbsL-GeLVQIHO.js} +13 -13
  13. package/dist/{CardIndividualGoals-DEKwqMXc-DoK7uxe9.js → CardIndividualGoals-CMC_PTbH-BamdFgox.js} +29 -29
  14. package/dist/{CardIndividualGold-Bz4E-z_--pKerDgFk.js → CardIndividualGold-D_-tb2Tk-DHL-TpvC.js} +28 -24
  15. package/dist/{CardIndividualNoGoalReceived-B2BKqCnK-C7jolYFH.js → CardIndividualNoGoalReceived-DQSO9Yd2-D3O-ZUsH.js} +20 -20
  16. package/dist/{CardIndividualPerformance-BcqsLAAU-Cc1M361Q.js → CardIndividualPerformance-zyTJ5UCy-DF-f26EN.js} +24 -20
  17. package/dist/{CardIndividualSaves-BSDQdG6Y-C_q-6hWK.js → CardIndividualSaves-BecZ6U_G-nCSJXu1D.js} +49 -48
  18. package/dist/{CardIndividualShotsOnGoal-CZl8akPo-2aciFqPO.js → CardIndividualShotsOnGoal-C7aZbXYB-CIQP7Eui.js} +43 -43
  19. package/dist/{CardIndividualStatistics-CY-nNio--abAYZXmG.js → CardIndividualStatistics-C20JRZ7J-Ft1l0Wp0.js} +14 -14
  20. package/dist/{CardPromTournament-D7NIcgIG-Dpd3s5PV.js → CardPromTournament-BuPsC06q-BiAAvgkF.js} +38 -38
  21. package/dist/{CardSuccessfulPasses-BmyugNe3-e2iTX0Zk.js → CardSuccessfulPasses-BlTLO_xO-CqjTwJQB.js} +63 -63
  22. package/dist/{CardTheMostProductive-DYe73XmH-BxAK64X0.js → CardTheMostProductive-CSBkS-Z_-DFac0hnk.js} +19 -19
  23. package/dist/{PlayerProfileCircle-B34lIhjM-CdecVB_6.js → PlayerProfileCircle-DPjdqyyS-vdPCwx6y.js} +6 -6
  24. package/dist/{Shield-CPIaGlGA-CpfYAOhz.js → Shield-CfA9mcrj-w0qszHpb.js} +8 -8
  25. package/dist/{TimeSvg-B3vSNjgQ-C-C9O8pw.js → TimeSvg-B3vSNjgQ-BbQ6V9Cu.js} +3 -3
  26. package/dist/{TimeSvg2-BX0bDokD-DUAW7DAH.js → TimeSvg2-BX0bDokD-BWiiXdSp.js} +3 -3
  27. package/dist/gsc-relevant-data.css +1 -1
  28. package/dist/gsc-relevant-data.js +1 -1
  29. package/dist/gsc-relevant-data.umd.cjs +9 -6
  30. package/dist/{index-DkBoHrcA.js → index-DpIUU483.js} +2570 -2016
  31. package/package.json +2 -2
@@ -1,7 +1,7 @@
1
- import { computed as r, createElementBlock as s, openBlock as d, normalizeStyle as m, createVNode as b, mergeProps as v, withCtx as C, createElementVNode as t, toDisplayString as g, createCommentVNode as y, pushScopeId as L, popScopeId as x } from "vue";
2
- import { d as B } from "./CardBaseAllIndividual-DT-pj1sJ-DWZbiML4.js";
3
- import { w, A as S, z as k, E as V, O as A, H as I, V as G } from "./CardBase-cG4UK8zU-D0uCjRqB.js";
4
- const n = (a) => (L("data-v-39506314"), a = a(), x(), a), M = { class: "statistics__body__title-sub" }, U = { class: "statistics__body__title-sub__title" }, O = { class: "statistics__body__data" }, D = { class: "shield-svg" }, E = { class: "team-logo" }, H = ["src"], N = /* @__PURE__ */ n(() => /* @__PURE__ */ t("div", { class: "ranking" }, [
1
+ import { computed as r, openBlock as s, createElementBlock as d, normalizeStyle as m, createVNode as F, mergeProps as v, withCtx as C, createElementVNode as t, toDisplayString as g, createCommentVNode as y, pushScopeId as L, popScopeId as x } from "vue";
2
+ import { d as B } from "./CardBaseAllIndividual-CWBagEwG-uRQJM1eE.js";
3
+ import { w, A as S, O as k, z as I, E as V, H as A, V as G } from "./CardBase-LHalf2V1-DH_4cIUy.js";
4
+ const n = (a) => (L("data-v-eb31e2bd"), a = a(), x(), a), M = { class: "statistics__body__title-sub" }, U = { class: "statistics__body__title-sub__title" }, O = { class: "statistics__body__data" }, D = { class: "shield-svg" }, E = { class: "team-logo" }, H = ["src"], N = /* @__PURE__ */ n(() => /* @__PURE__ */ t("div", { class: "ranking" }, [
5
5
  /* @__PURE__ */ t("span", { class: "hashtag" }, "#"),
6
6
  /* @__PURE__ */ t("span", { class: "number" }, "1")
7
7
  ], -1)), T = { class: "subtitle" }, $ = {
@@ -151,18 +151,18 @@ const n = (a) => (L("data-v-39506314"), a = a(), x(), a), M = { class: "statisti
151
151
  }
152
152
  },
153
153
  setup(a) {
154
- const e = a, F = r(() => {
154
+ const e = a, b = r(() => {
155
155
  var l, i, c, p, _, f, h;
156
156
  return {
157
157
  height: e.height,
158
158
  width: e.width,
159
159
  footerHeight: "137px",
160
160
  playerPhotoPositionTop: "24px",
161
- playerPhotoUrl: V(e.data.player_id || ""),
161
+ playerPhotoUrl: V(e.data.player_id || "", e.providerId),
162
162
  cardColor: (e.data.thumbnails.colors.background_color || "#000000").trim(),
163
- backgroundImageSrc: k((p = (c = (i = (l = e.data) == null ? void 0 : l.thumbnails) == null ? void 0 : i.images) == null ? void 0 : c.background_player_in_action) != null && p[0] ? e.data.thumbnails.images.background_player_in_action[0] : (h = (f = (_ = e.data) == null ? void 0 : _.thumbnails) == null ? void 0 : f.images) != null && h.background_team ? e.data.thumbnails.images.background_team : ""),
163
+ backgroundImageSrc: I((p = (c = (i = (l = e.data) == null ? void 0 : l.thumbnails) == null ? void 0 : i.images) == null ? void 0 : c.background_player_in_action) != null && p[0] ? e.data.thumbnails.images.background_player_in_action[0] : (h = (f = (_ = e.data) == null ? void 0 : _.thumbnails) == null ? void 0 : f.images) != null && h.background_team ? e.data.thumbnails.images.background_team : "", e.providerId),
164
164
  footerBodyData: {
165
- description: S(A({ data: e.data, descriptionType: e.descriptionType })),
165
+ description: S(k({ data: e.data, descriptionType: e.descriptionType })),
166
166
  total: e.data.total,
167
167
  textColor: (e.data.thumbnails.colors.font_color_description || "#FFFFFF").trim(),
168
168
  totalTextColor: (e.data.thumbnails.colors.font_color_stats || "#FFFFFF").trim(),
@@ -170,7 +170,7 @@ const n = (a) => (L("data-v-39506314"), a = a(), x(), a), M = { class: "statisti
170
170
  }
171
171
  };
172
172
  }), o = r(() => {
173
- const { title: l, subtitle: i } = I(e.data.title);
173
+ const { title: l, subtitle: i } = A(e.data.title);
174
174
  return {
175
175
  title: l,
176
176
  subtitle: i,
@@ -185,11 +185,11 @@ const n = (a) => (L("data-v-39506314"), a = a(), x(), a), M = { class: "statisti
185
185
  "--data-color": (e.data.thumbnails.colors.background_color_cards || "#000000").trim(),
186
186
  "--border": `1px solid ${e.data.thumbnails.colors.graphic_color || "#FFFFFF"}`
187
187
  }));
188
- return (l, i) => (d(), s("div", {
188
+ return (l, i) => (s(), d("div", {
189
189
  class: "statistics",
190
190
  style: m(u.value)
191
191
  }, [
192
- b(B, v(F.value, {
192
+ F(B, v(b.value, {
193
193
  "show-videos": a.showVideos,
194
194
  "id-aux": a.idAux
195
195
  }), {
@@ -204,7 +204,7 @@ const n = (a) => (L("data-v-39506314"), a = a(), x(), a), M = { class: "statisti
204
204
  t("div", O, [
205
205
  t("div", D, [
206
206
  t("div", E, [
207
- o.value.teamLogoUrl ? (d(), s("img", {
207
+ o.value.teamLogoUrl ? (s(), d("img", {
208
208
  key: 0,
209
209
  src: o.value.teamLogoUrl,
210
210
  alt: ""
@@ -212,7 +212,7 @@ const n = (a) => (L("data-v-39506314"), a = a(), x(), a), M = { class: "statisti
212
212
  ]),
213
213
  N,
214
214
  t("div", T, g(o.value.subtitle), 1),
215
- (d(), s("svg", $, [
215
+ (s(), d("svg", $, [
216
216
  z,
217
217
  t("g", P, [
218
218
  t("path", {
@@ -232,7 +232,7 @@ const n = (a) => (L("data-v-39506314"), a = a(), x(), a), M = { class: "statisti
232
232
  }, 16, ["show-videos", "id-aux"])
233
233
  ], 4));
234
234
  }
235
- }, K = /* @__PURE__ */ w(j, [["__scopeId", "data-v-39506314"]]);
235
+ }, K = /* @__PURE__ */ w(j, [["__scopeId", "data-v-eb31e2bd"]]);
236
236
  export {
237
237
  K as default
238
238
  };
@@ -1,7 +1,7 @@
1
- import { useCssVars as C, computed as d, ref as N, createElementBlock as p, openBlock as c, normalizeStyle as i, createBlock as B, createCommentVNode as R, mergeProps as S, withCtx as A, createElementVNode as e, toDisplayString as u, createVNode as D, unref as m, Fragment as M, renderList as E, normalizeClass as F } from "vue";
2
- import { w as z, z as h, N as H, V as L, O as $ } from "./CardBase-cG4UK8zU-D0uCjRqB.js";
3
- import { N as j } from "./Shield-CPIaGlGA-CpfYAOhz.js";
4
- const q = { class: "card-content" }, G = { class: "content-wrapper" }, J = { class: "main-content" }, K = { class: "title-separator" }, Q = { class: "footer-text" }, U = ["innerHTML"], W = { class: "seasons-sidebar" }, X = { class: "seasons-list" }, Y = "1px 54px", Z = {
1
+ import { useCssVars as C, computed as d, ref as B, openBlock as c, createElementBlock as m, normalizeStyle as i, createBlock as R, mergeProps as N, withCtx as S, createElementVNode as e, toDisplayString as u, createVNode as A, unref as p, Fragment as D, renderList as E, normalizeClass as M, createCommentVNode as F } from "vue";
2
+ import { w as z, z as v, R as H, E as L, V as j, O as q } from "./CardBase-LHalf2V1-DH_4cIUy.js";
3
+ import { N as G } from "./Shield-CfA9mcrj-w0qszHpb.js";
4
+ const J = { class: "card-content" }, K = { class: "content-wrapper" }, Q = { class: "main-content" }, U = { class: "title-separator" }, W = { class: "footer-text" }, X = ["innerHTML"], Y = { class: "seasons-sidebar" }, Z = { class: "seasons-list" }, $ = "1px 54px", aa = {
5
5
  __name: "CardPromTournament",
6
6
  props: {
7
7
  height: {
@@ -37,29 +37,29 @@ const q = { class: "card-content" }, G = { class: "content-wrapper" }, J = { cla
37
37
  C((o) => {
38
38
  var t;
39
39
  return {
40
- "5093419e": s.data.thumbnails.colors.background_color,
41
- "133f2c82": ((t = a.data) == null ? void 0 : t.thumbnails.colors.font_color_stats) || "#4CAF50"
40
+ "26476d4c": s.data.thumbnails.colors.background_color,
41
+ "2012fe3e": ((t = a.data) == null ? void 0 : t.thumbnails.colors.font_color_stats) || "#4CAF50"
42
42
  };
43
43
  });
44
- const a = s, I = d(() => ({
44
+ const a = s, T = d(() => ({
45
45
  "--height": a.height,
46
46
  "--width": a.width,
47
47
  "--footer-background-color": a.data.thumbnails.colors.background_color || "#000000"
48
- })), O = N({
48
+ })), O = B({
49
49
  width: "50px",
50
50
  height: "50px",
51
51
  bottom: "34px",
52
52
  right: "-8px",
53
53
  innerImageWidth: "39px",
54
54
  innerImageHeight: "39px"
55
- }), g = d(() => {
55
+ }), h = d(() => {
56
56
  var o, t, l, r;
57
57
  return !a.data || !a.data.thumbnails ? null : {
58
58
  backgroundOverlayColor: a.data.thumbnails.colors.background_color || "#000000",
59
- backgroundImageSrc: (r = (l = (t = (o = a.data) == null ? void 0 : o.thumbnails) == null ? void 0 : t.images) == null ? void 0 : l.background_player_in_action) != null && r[0] ? h(a.data.thumbnails.images.background_player_in_action[0]) : h(a.data.thumbnails.images.background_team),
59
+ backgroundImageSrc: (r = (l = (t = (o = a.data) == null ? void 0 : o.thumbnails) == null ? void 0 : t.images) == null ? void 0 : l.background_player_in_action) != null && r[0] ? v(a.data.thumbnails.images.background_player_in_action[0], a.providerId) : v(a.data.thumbnails.images.background_team, a.providerId),
60
60
  isPlayButtonVisible: a.showVideos
61
61
  };
62
- }), v = d(() => {
62
+ }), g = d(() => {
63
63
  var o, t, l;
64
64
  if (!((o = a.data) != null && o.title)) return { mainTitle: "", sidebarTitle: "PROMEDIO POR PARTIDO" };
65
65
  const r = a.data.title.split("*").filter(Boolean);
@@ -71,54 +71,54 @@ const q = { class: "card-content" }, G = { class: "content-wrapper" }, J = { cla
71
71
  var o;
72
72
  return (o = a.data) != null && o.averages ? Math.max(...a.data.averages.map((t) => parseFloat(t.average))) : 0;
73
73
  });
74
- return (o, t) => (c(), p("div", {
74
+ return (o, t) => (c(), m("div", {
75
75
  class: "card-general",
76
- style: i(I.value)
76
+ style: i(T.value)
77
77
  }, [
78
- g.value ? (c(), B(H, S({ key: 0 }, g.value, {
78
+ h.value ? (c(), R(H, N({ key: 0 }, h.value, {
79
79
  width: s.width,
80
80
  "show-videos": s.showVideos,
81
81
  "id-aux": s.idAux
82
82
  }), {
83
- default: A(() => {
83
+ default: S(() => {
84
84
  var l, r, b, _, f, y, w, x;
85
85
  return [
86
- e("div", q, [
87
- e("div", G, [
88
- e("div", J, [
86
+ e("div", J, [
87
+ e("div", K, [
88
+ e("div", Q, [
89
89
  e("h1", {
90
90
  class: "main-title",
91
91
  style: i({ color: ((l = a.data) == null ? void 0 : l.thumbnails.colors.font_color_header) || "white" })
92
- }, u(v.value.mainTitle), 5),
93
- e("div", K, [
94
- D(j, {
95
- "team-logo-src": m(L)(a.data.team_id, a.providerId),
92
+ }, u(g.value.mainTitle), 5),
93
+ e("div", U, [
94
+ A(G, {
95
+ "team-logo-src": p(j)(a.data.team_id, a.providerId),
96
96
  width: 105,
97
97
  color: a.data.thumbnails.colors.graphic_color,
98
- "inner-image-src": (f = (_ = (b = (r = a.data) == null ? void 0 : r.thumbnails) == null ? void 0 : b.images) == null ? void 0 : _.background_player_in_action) != null && f[0] ? m(h)(a.data.thumbnails.images.player_in_action[0]) : "https://golstatsimages.blob.core.windows.net/players-profile/" + a.data.player_id + ".png",
98
+ "inner-image-src": (f = (_ = (b = (r = a.data) == null ? void 0 : r.thumbnails) == null ? void 0 : b.images) == null ? void 0 : _.background_player_in_action) != null && f[0] ? p(v)(a.data.thumbnails.images.player_in_action[0], a.providerId) : p(L)(a.data.player_id, a.providerId),
99
99
  "team-logo-circle-props": O.value,
100
- "inner-image-translate": Y
100
+ "inner-image-translate": $
101
101
  }, null, 8, ["team-logo-src", "color", "inner-image-src", "team-logo-circle-props"])
102
102
  ]),
103
- e("div", Q, [
103
+ e("div", W, [
104
104
  e("p", {
105
- innerHTML: m($)({ data: a.data, descriptionType: a.descriptionType }).replace(/\*([^*]+)\*/g, "<span style='font-family: Poppins-Bold; font-weight: 700;'>$1</span>"),
105
+ innerHTML: p(q)({ data: a.data, descriptionType: a.descriptionType }).replace(/\*([^*]+)\*/g, "<span style='font-family: Poppins-Bold; font-weight: 700;'>$1</span>"),
106
106
  class: "card-description",
107
107
  style: i({ color: ((y = a.data) == null ? void 0 : y.thumbnails.colors.font_color_description) || "white" })
108
- }, null, 12, U)
108
+ }, null, 12, X)
109
109
  ])
110
110
  ]),
111
- e("div", W, [
111
+ e("div", Y, [
112
112
  e("div", {
113
113
  class: "sidebar-header",
114
114
  style: i({ color: ((w = a.data) == null ? void 0 : w.thumbnails.colors.font_color_description) || "white" })
115
- }, u(v.value.sidebarTitle), 5),
116
- e("div", X, [
117
- (c(!0), p(M, null, E((x = a.data) == null ? void 0 : x.averages, (n, V) => {
118
- var k, T;
119
- return c(), p("div", {
115
+ }, u(g.value.sidebarTitle), 5),
116
+ e("div", Z, [
117
+ (c(!0), m(D, null, E((x = a.data) == null ? void 0 : x.averages, (n, V) => {
118
+ var k, I;
119
+ return c(), m("div", {
120
120
  key: V,
121
- class: F(["season-row", {
121
+ class: M(["season-row", {
122
122
  highlighted: n.highlighted,
123
123
  "max-value": parseFloat(n.average) === P.value
124
124
  }])
@@ -129,7 +129,7 @@ const q = { class: "card-content" }, G = { class: "content-wrapper" }, J = { cla
129
129
  }, u(n.average), 5),
130
130
  e("div", {
131
131
  class: "season-label",
132
- style: i({ color: ((T = a.data) == null ? void 0 : T.thumbnails.colors.font_color_stats) || "white" })
132
+ style: i({ color: ((I = a.data) == null ? void 0 : I.thumbnails.colors.font_color_stats) || "white" })
133
133
  }, u(n.season), 5)
134
134
  ], 2);
135
135
  }), 128))
@@ -140,10 +140,10 @@ const q = { class: "card-content" }, G = { class: "content-wrapper" }, J = { cla
140
140
  ];
141
141
  }),
142
142
  _: 1
143
- }, 16, ["width", "show-videos", "id-aux"])) : R("", !0)
143
+ }, 16, ["width", "show-videos", "id-aux"])) : F("", !0)
144
144
  ], 4));
145
145
  }
146
- }, oa = /* @__PURE__ */ z(Z, [["__scopeId", "data-v-f16f5531"]]);
146
+ }, la = /* @__PURE__ */ z(aa, [["__scopeId", "data-v-2f0ea731"]]);
147
147
  export {
148
- oa as default
148
+ la as default
149
149
  };