@golstats/gsc-relevant-data 1.0.11 → 1.0.13

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 (25) hide show
  1. package/dist/{CardBaseAllIndividual-yLYe0xMs-SDUJvPop.js → CardBaseAllIndividual-DplWYN0Q-WF82HhWk.js} +65 -62
  2. package/dist/{CardGeneral-CzD9BfTs-D1qozgj2.js → CardGeneral-CFWRGY5X-C_fVh0wc.js} +39 -39
  3. package/dist/{CardIndividual-DPKW-YpP-Dnc0EEj0.js → CardIndividual-CViHMdDM-dC6-v87O.js} +106 -107
  4. package/dist/{CardIndividual1vs1-BRtGgXM7-CedeR8el.js → CardIndividual1vs1-Di0JSzEe-CLovxt4W.js} +9 -9
  5. package/dist/{CardIndividualAreas-Da2UYEaV-BPWvNz8Q.js → CardIndividualAreas-aC8osoyU-UoLnF_mm.js} +7 -6
  6. package/dist/{CardIndividualCenters-DMkkZlrP-Bb4dMrwf.js → CardIndividualCenters-BgQU4zNA-Bo3xjdjg.js} +108 -107
  7. package/dist/{CardIndividualDistance-C226QSwL-R--LlcPz.js → CardIndividualDistance-VCXjTrp1-vbMjIgWO.js} +1 -1
  8. package/dist/CardIndividualFouls-cDLfFMHR-BvC26L7k.js +682 -0
  9. package/dist/{CardIndividualGoalParticipation-Cpg4aGAE-DeUV1zrF.js → CardIndividualGoalParticipation-D5vYpL7Y-BGXTh0Ro.js} +1 -1
  10. package/dist/{CardIndividualGoals-BVMarvFd-DL29nvxj.js → CardIndividualGoals-BtTv4WBt-CjjyrgH1.js} +95 -92
  11. package/dist/{CardIndividualGold-Df7Raasl-Byue4uk-.js → CardIndividualGold-IUGmcQgF-BeqxvhCd.js} +5 -3
  12. package/dist/{CardIndividualNoGoalReceived-CIx-n793--Wt2ynZx.js → CardIndividualNoGoalReceived-DJWQMXZL-D1r008m0.js} +2 -2
  13. package/dist/{CardIndividualPerformance-DyczUumz-BaHTtZS4.js → CardIndividualPerformance-Dhb8N9Xr-B7k48lOO.js} +21 -21
  14. package/dist/{CardIndividualSaves-CC91zpjd-CAQ8vR7-.js → CardIndividualSaves-CRxOprRo-D5WKVRqk.js} +1 -1
  15. package/dist/{CardIndividualShotsOnGoal-CxwYTN__-Bd9Y6B6j.js → CardIndividualShotsOnGoal-Bg-Prdxk-Lx8KIUcV.js} +18 -17
  16. package/dist/{CardIndividualStatistics-CBd679p9-itsHFDEL.js → CardIndividualStatistics-Cof2Gj-A-BMQrCxPI.js} +38 -34
  17. package/dist/CardSuccessfulPasses-BWjAXxRf-Zs-VmT82.js +809 -0
  18. package/dist/CardTheMostProductive-D31veUqA--tjlBapw.js +76 -0
  19. package/dist/gsc-relevant-data.css +1 -1
  20. package/dist/gsc-relevant-data.js +864 -838
  21. package/dist/gsc-relevant-data.umd.cjs +6 -6
  22. package/package.json +2 -2
  23. package/dist/CardIndividualFouls-ycmte1YE-DyR9GrTc.js +0 -669
  24. package/dist/CardSuccessfulPasses-DKetowpu-B12McLj4.js +0 -91
  25. package/dist/CardTheMostProductive-CoGLtVYs-BZcw_blj.js +0 -75
@@ -1,8 +1,8 @@
1
- import { computed as r, openBlock as d, createElementBlock as L, normalizeStyle as F, createVNode as m, normalizeProps as f, guardReactiveProps as M, withCtx as k, createElementVNode as t, createCommentVNode as b, pushScopeId as y, popScopeId as w } from "vue";
2
- import { o as x } from "./CardBaseAllIndividual-yLYe0xMs-SDUJvPop.js";
1
+ import { computed as r, openBlock as d, createElementBlock as L, normalizeStyle as v, createVNode as m, normalizeProps as f, guardReactiveProps as _, withCtx as b, createElementVNode as t, createCommentVNode as k, pushScopeId as y, popScopeId as w } from "vue";
2
+ import { r as x } from "./CardBaseAllIndividual-DplWYN0Q-WF82HhWk.js";
3
3
  import { y as S } from "./TimeSvg-Cxp_p6OH-cZfI6hDf.js";
4
- import { h as P, z as I, P as T, E as z, I as E, O } from "./misc-BbzSgyER-2p2XKW1m.js";
5
- const n = (o) => (y("data-v-f433730c"), o = o(), w(), o), B = { class: "shots__body" }, N = /* @__PURE__ */ n(() => /* @__PURE__ */ t("div", { class: "shots__body__title" }, " TIROS A GOL ", -1)), V = { class: "shots-svg" }, G = {
4
+ import { h as P, z as I, P as T, E as z, I as B, O as E } from "./misc-BbzSgyER-2p2XKW1m.js";
5
+ const n = (o) => (y("data-v-766db93e"), o = o(), w(), o), O = { class: "shots__body" }, N = /* @__PURE__ */ n(() => /* @__PURE__ */ t("div", { class: "shots__body__title" }, " TIROS A GOL ", -1)), V = { class: "shots-svg" }, G = {
6
6
  key: 0,
7
7
  class: "time-svg"
8
8
  }, R = {
@@ -47,7 +47,7 @@ const n = (o) => (y("data-v-f433730c"), o = o(), w(), o), B = { class: "shots__b
47
47
  }
48
48
  },
49
49
  setup(o) {
50
- const l = o, _ = /* @__PURE__ */ new Set([
50
+ const l = o, M = /* @__PURE__ */ new Set([
51
51
  "29-i",
52
52
  "33-i",
53
53
  "12-e"
@@ -55,7 +55,7 @@ const n = (o) => (y("data-v-f433730c"), o = o(), w(), o), B = { class: "shots__b
55
55
  "30-i",
56
56
  "32-i",
57
57
  "11-e"
58
- ]), g = r(() => {
58
+ ]), F = r(() => {
59
59
  var a, i, s, C, c, u, h;
60
60
  const p = l.data.footer.show_percentage;
61
61
  return {
@@ -67,12 +67,13 @@ const n = (o) => (y("data-v-f433730c"), o = o(), w(), o), B = { class: "shots__b
67
67
  cardColor: (l.data.thumbnails.colors.background_color || "#000000").trim(),
68
68
  backgroundImageSrc: z((C = (s = (i = (a = l.data) == null ? void 0 : a.thumbnails) == null ? void 0 : i.images) == null ? void 0 : s.background_player_in_action) != null && C[0] ? l.data.thumbnails.images.background_player_in_action[0] : (h = (u = (c = l.data) == null ? void 0 : c.thumbnails) == null ? void 0 : u.images) != null && h.background_team ? l.data.thumbnails.images.background_team : ""),
69
69
  footerBodyData: {
70
- description: E(O({ data: l.data, descriptionType: l.descriptionType })),
70
+ description: B(E({ data: l.data, descriptionType: l.descriptionType })),
71
71
  total: p ? l.data.percentage : l.data.total,
72
72
  isTotalPercentage: p,
73
73
  textColor: (l.data.thumbnails.colors.font_color_description || "#FFFFFF").trim(),
74
74
  totalTextColor: (l.data.thumbnails.colors.font_color_stats || "#FFFFFF").trim(),
75
- totalCircleColor: (l.data.thumbnails.colors.data_color || "#000000").trim()
75
+ totalCircleColor: (l.data.thumbnails.colors.data_color || "#000000").trim(),
76
+ totalBorderColor: (l.data.thumbnails.colors.data_color || "#FFFFFF").trim()
76
77
  }
77
78
  };
78
79
  }), e = r(() => ({
@@ -82,24 +83,24 @@ const n = (o) => (y("data-v-f433730c"), o = o(), w(), o), B = { class: "shots__b
82
83
  lineColor: l.data.thumbnails.colors.icon_color || "#FFFFFF",
83
84
  fillColor: l.data.thumbnails.colors.background_icon_color || "#000000",
84
85
  conditions: {
85
- matchlapse: _.has(l.data.id) ? 1 : Z.has(l.data.id) ? 2 : 0
86
+ matchlapse: M.has(l.data.id) ? 1 : Z.has(l.data.id) ? 2 : 0
86
87
  }
87
88
  }
88
- })), v = r(() => ({
89
+ })), g = r(() => ({
89
90
  "--title-color": l.data.thumbnails.colors.font_color_header || "#FFFFFF"
90
91
  }));
91
92
  return (a, i) => (d(), L("div", {
92
93
  class: "shots",
93
- style: F(v.value)
94
+ style: v(g.value)
94
95
  }, [
95
- m(x, f(M(g.value)), {
96
- body: k(() => [
97
- t("div", B, [
96
+ m(x, f(_(F.value)), {
97
+ body: b(() => [
98
+ t("div", O, [
98
99
  N,
99
100
  t("div", V, [
100
101
  e.value.timeSvgProps.conditions.matchlapse ? (d(), L("div", G, [
101
- m(S, f(M(e.value.timeSvgProps)), null, 16)
102
- ])) : b("", !0),
102
+ m(S, f(_(e.value.timeSvgProps)), null, 16)
103
+ ])) : k("", !0),
103
104
  (d(), L("svg", R, [
104
105
  t("g", U, [
105
106
  t("rect", {
@@ -173,7 +174,7 @@ const n = (o) => (y("data-v-f433730c"), o = o(), w(), o), B = { class: "shots__b
173
174
  }, 16)
174
175
  ], 4));
175
176
  }
176
- }, r1 = /* @__PURE__ */ P(t1, [["__scopeId", "data-v-f433730c"]]);
177
+ }, r1 = /* @__PURE__ */ P(t1, [["__scopeId", "data-v-766db93e"]]);
177
178
  export {
178
179
  r1 as default
179
180
  };
@@ -1,23 +1,23 @@
1
- import { computed as r, openBlock as s, createElementBlock as d, normalizeStyle as b, createVNode as F, normalizeProps as C, guardReactiveProps as L, withCtx as v, createElementVNode as t, toDisplayString as m, createCommentVNode as y, pushScopeId as x, popScopeId as B } from "vue";
2
- import { o as S } from "./CardBaseAllIndividual-yLYe0xMs-SDUJvPop.js";
1
+ import { computed as r, openBlock as s, createElementBlock as d, normalizeStyle as h, createVNode as b, normalizeProps as C, guardReactiveProps as v, withCtx as L, createElementVNode as t, toDisplayString as g, createCommentVNode as y, pushScopeId as x, popScopeId as B } from "vue";
2
+ import { r as S } from "./CardBaseAllIndividual-DplWYN0Q-WF82HhWk.js";
3
3
  import { h as k, z as w, E as I, I as M, O as U, $ as V, P as A } from "./misc-BbzSgyER-2p2XKW1m.js";
4
- const n = (a) => (x("data-v-46d3e244"), a = a(), B(), a), G = { class: "statistics__body" }, O = { class: "statistics__body__title-sub" }, $ = { class: "statistics__body__title-sub__title" }, D = { class: "statistics__body__data" }, E = { class: "shield-svg" }, P = { class: "team-logo" }, T = ["src"], z = /* @__PURE__ */ n(() => /* @__PURE__ */ t("div", { class: "ranking" }, [
4
+ const n = (a) => (x("data-v-7340ad13"), a = a(), B(), a), G = { class: "statistics__body__title-sub" }, O = { class: "statistics__body__title-sub__title" }, $ = { class: "statistics__body__data" }, D = { class: "shield-svg" }, E = { class: "team-logo" }, P = ["src"], T = /* @__PURE__ */ n(() => /* @__PURE__ */ t("div", { class: "ranking" }, [
5
5
  /* @__PURE__ */ t("span", { class: "hashtag" }, "#"),
6
6
  /* @__PURE__ */ t("span", { class: "number" }, "1")
7
- ], -1)), N = { class: "subtitle" }, H = {
7
+ ], -1)), z = { class: "subtitle" }, N = {
8
8
  width: "217",
9
9
  height: "220",
10
10
  viewBox: "0 0 217 220",
11
11
  fill: "none",
12
12
  xmlns: "http://www.w3.org/2000/svg"
13
- }, R = /* @__PURE__ */ n(() => /* @__PURE__ */ t("g", { filter: "url(#filter0_bd_4070_92224)" }, [
13
+ }, H = /* @__PURE__ */ n(() => /* @__PURE__ */ t("g", { filter: "url(#filter0_bd_4070_92224)" }, [
14
14
  /* @__PURE__ */ t("path", {
15
15
  d: "M108.503 50C115.166 50 121.88 50.4001 128.464 51.1939L129.734 51.3475L131.004 51.5012L131.73 52.5382L132.456 53.5753C137.891 61.3499 147.373 67.1049 158.474 69.3679L160.737 69.8288L163 70.2897V83.6241C163 100.191 158.067 116.237 148.728 130.029C139.392 143.821 126.24 154.496 110.695 160.894L109.597 161.345L108.5 161.796L107.403 161.345L106.305 160.894C90.7599 154.496 77.6079 143.821 68.2722 130.029C58.9365 116.237 54 100.188 54 83.6241V70.2897L56.2631 69.8288L58.5262 69.3679C69.6268 67.1049 79.109 61.3499 84.5437 53.5753L85.2698 52.5382L85.996 51.5012L87.2659 51.3475L88.5359 51.1939C95.12 50.4033 101.838 50 108.497 50L108.503 50Z",
16
16
  fill: "white",
17
17
  "fill-opacity": "0.12",
18
18
  "shape-rendering": "crispEdges"
19
19
  })
20
- ], -1)), Z = { filter: "url(#filter1_bd_4070_92224)" }, j = ["fill"], q = /* @__PURE__ */ n(() => /* @__PURE__ */ t("defs", null, [
20
+ ], -1)), R = { filter: "url(#filter1_bd_4070_92224)" }, Z = ["fill"], j = /* @__PURE__ */ n(() => /* @__PURE__ */ t("defs", null, [
21
21
  /* @__PURE__ */ t("filter", {
22
22
  id: "filter0_bd_4070_92224",
23
23
  x: "-37.6419",
@@ -118,7 +118,7 @@ const n = (a) => (x("data-v-46d3e244"), a = a(), B(), a), G = { class: "statisti
118
118
  result: "shape"
119
119
  })
120
120
  ])
121
- ], -1)), J = {
121
+ ], -1)), q = {
122
122
  __name: "CardIndividualStatistics",
123
123
  props: {
124
124
  height: {
@@ -139,8 +139,8 @@ const n = (a) => (x("data-v-46d3e244"), a = a(), B(), a), G = { class: "statisti
139
139
  }
140
140
  },
141
141
  setup(a) {
142
- const e = a, h = r(() => {
143
- var l, i, u, c, p, _, f;
142
+ const e = a, F = r(() => {
143
+ var l, i, c, p, _, f, m;
144
144
  return {
145
145
  height: e.height,
146
146
  width: e.width,
@@ -148,12 +148,13 @@ const n = (a) => (x("data-v-46d3e244"), a = a(), B(), a), G = { class: "statisti
148
148
  playerPhotoPositionTop: "24px",
149
149
  playerPhotoUrl: w(e.data.player_id || ""),
150
150
  cardColor: (e.data.thumbnails.colors.background_color || "#000000").trim(),
151
- backgroundImageSrc: I((c = (u = (i = (l = e.data) == null ? void 0 : l.thumbnails) == null ? void 0 : i.images) == null ? void 0 : u.background_player_in_action) != null && c[0] ? e.data.thumbnails.images.background_player_in_action[0] : (f = (_ = (p = e.data) == null ? void 0 : p.thumbnails) == null ? void 0 : _.images) != null && f.background_team ? e.data.thumbnails.images.background_team : ""),
151
+ 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] : (m = (f = (_ = e.data) == null ? void 0 : _.thumbnails) == null ? void 0 : f.images) != null && m.background_team ? e.data.thumbnails.images.background_team : ""),
152
152
  footerBodyData: {
153
153
  description: M(U({ data: e.data, descriptionType: e.descriptionType })),
154
154
  total: e.data.total,
155
155
  textColor: (e.data.thumbnails.colors.font_color_description || "#FFFFFF").trim(),
156
- totalTextColor: (e.data.thumbnails.colors.font_color_stats || "#FFFFFF").trim()
156
+ totalTextColor: (e.data.thumbnails.colors.font_color_stats || "#FFFFFF").trim(),
157
+ totalBorderColor: (e.data.thumbnails.colors.data_color || "#FFFFFF").trim()
157
158
  }
158
159
  };
159
160
  }), o = r(() => {
@@ -161,59 +162,62 @@ const n = (a) => (x("data-v-46d3e244"), a = a(), B(), a), G = { class: "statisti
161
162
  return {
162
163
  title: l,
163
164
  subtitle: i,
164
- lineColor: (e.data.thumbnails.colors.line_color || "#FFFFFF").trim(),
165
+ lineColor: (e.data.thumbnails.colors.graphic_color || "#FFFFFF").trim(),
165
166
  teamLogoUrl: A(e.data.team_id || "")
166
167
  };
167
168
  });
168
169
  r(() => e.data.id);
169
- const g = r(() => ({
170
+ const u = r(() => ({
170
171
  "--title-color": (e.data.thumbnails.colors.font_color_header || "#FFFFFF").trim(),
171
- "--text-color": (e.data.thumbnails.colors.font_color_description || "#FFFFFF").trim(),
172
+ "--text-color": (e.data.thumbnails.colors.font_color_stats || "#FFFFFF").trim(),
172
173
  "--data-color": (e.data.thumbnails.colors.background_color_cards || "#000000").trim(),
173
174
  "--border": `1px solid ${e.data.thumbnails.colors.graphic_color || "#FFFFFF"}`
174
175
  }));
175
176
  return (l, i) => (s(), d("div", {
176
177
  class: "statistics",
177
- style: b(g.value)
178
+ style: h(u.value)
178
179
  }, [
179
- F(S, C(L(h.value)), {
180
- body: v(() => [
181
- t("div", G, [
182
- t("div", O, [
183
- t("div", $, m(o.value.title), 1)
180
+ b(S, C(v(F.value)), {
181
+ body: L(() => [
182
+ t("div", {
183
+ class: "statistics__body",
184
+ style: h(u.value)
185
+ }, [
186
+ t("div", G, [
187
+ t("div", O, g(o.value.title), 1)
184
188
  ]),
185
- t("div", D, [
186
- t("div", E, [
187
- t("div", P, [
189
+ t("div", $, [
190
+ t("div", D, [
191
+ t("div", E, [
188
192
  o.value.teamLogoUrl ? (s(), d("img", {
189
193
  key: 0,
190
194
  src: o.value.teamLogoUrl,
191
195
  alt: ""
192
- }, null, 8, T)) : y("", !0)
196
+ }, null, 8, P)) : y("", !0)
193
197
  ]),
194
- z,
195
- t("div", N, m(o.value.subtitle), 1),
196
- (s(), d("svg", H, [
197
- R,
198
- t("g", Z, [
198
+ T,
199
+ t("div", z, g(o.value.subtitle), 1),
200
+ (s(), d("svg", N, [
201
+ H,
202
+ t("g", R, [
199
203
  t("path", {
200
204
  "fill-rule": "evenodd",
201
205
  "clip-rule": "evenodd",
202
206
  d: "M85.996 51.5012L88.5359 51.1939C95.12 50.4033 101.838 50 108.497 50H108.503C115.166 50 121.88 50.4001 128.464 51.1939L131.004 51.5012L132.456 53.5753C137.891 61.3499 147.373 67.1049 158.474 69.3679L163 70.2897V83.6241C163 100.191 158.067 116.237 148.728 130.029C139.392 143.821 126.24 154.496 110.695 160.894L108.5 161.796L106.305 160.894C90.7599 154.496 77.6079 143.821 68.2722 130.029C58.9365 116.237 54 100.188 54 83.6241V70.2897L58.5262 69.3679C69.6268 67.1049 79.109 61.3499 84.5437 53.5753L85.996 51.5012ZM56 71.9234L58.9253 71.3276C70.4237 68.9836 80.3979 62.9961 86.182 54.7224M86.1829 54.7211L87.1223 53.3795L88.7743 53.1796C95.2793 52.3986 101.918 52 108.497 52H108.503C115.086 52 121.721 52.3954 128.225 53.1795L129.878 53.3795L130.817 54.7211C136.601 62.9955 146.575 68.9834 158.074 71.3275L161 71.9234V83.6241C161 99.7894 156.188 115.445 147.072 128.907C137.958 142.371 125.119 152.794 109.933 159.044L108.5 159.634L107.067 159.044C91.881 152.794 79.0417 142.371 69.9284 128.908C60.8154 115.445 56 99.786 56 83.6241V71.9234",
203
207
  fill: o.value.lineColor
204
- }, null, 8, j)
208
+ }, null, 8, Z)
205
209
  ]),
206
- q
210
+ j
207
211
  ]))
208
212
  ])
209
213
  ])
210
- ])
214
+ ], 4)
211
215
  ]),
212
216
  _: 1
213
217
  }, 16)
214
218
  ], 4));
215
219
  }
216
- }, W = /* @__PURE__ */ k(J, [["__scopeId", "data-v-46d3e244"]]);
220
+ }, Q = /* @__PURE__ */ k(q, [["__scopeId", "data-v-7340ad13"]]);
217
221
  export {
218
- W as default
222
+ Q as default
219
223
  };