@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,91 +0,0 @@
1
- import { computed as c, openBlock as f, createElementBlock as g, normalizeStyle as p, createVNode as y, normalizeProps as v, guardReactiveProps as k, withCtx as x, createElementVNode as i, toDisplayString as m, pushScopeId as C, popScopeId as P } from "vue";
2
- import { o as S } from "./CardBaseAllIndividual-yLYe0xMs-SDUJvPop.js";
3
- import { h as I, z, P as E, E as O, I as T, O as w, $ as N } from "./misc-BbzSgyER-2p2XKW1m.js";
4
- const $ = (l) => (C("data-v-2d0e60f5"), l = l(), P(), l), j = { class: "passes__body__title-sub" }, B = { class: "passes__body__title-sub__title" }, D = { class: "passes__body__title-sub__sub" }, H = /* @__PURE__ */ $(() => /* @__PURE__ */ i("div", { class: "passes__body__data" }, null, -1)), L = {
5
- __name: "CardSuccessfulPasses",
6
- props: {
7
- height: {
8
- type: String,
9
- default: "445px"
10
- },
11
- width: {
12
- type: String,
13
- default: "319px"
14
- },
15
- data: {
16
- type: Object,
17
- default: () => null
18
- },
19
- descriptionType: {
20
- type: Number,
21
- default: 4
22
- }
23
- },
24
- setup(l) {
25
- const t = l, b = c(() => {
26
- var e, o, d, r, n, a, s;
27
- return {
28
- height: t.height,
29
- width: t.width,
30
- footerHeight: "113px",
31
- playerPhotoPositionTop: "24px",
32
- playerPhotoUrl: z(t.data.player_id || ""),
33
- teamLogoUrl: E(t.data.team_id || ""),
34
- cardColor: (t.data.thumbnails.colors.background_color || "#000000").trim(),
35
- backgroundImageSrc: O((r = (d = (o = (e = t.data) == null ? void 0 : e.thumbnails) == null ? void 0 : o.images) == null ? void 0 : d.background_player_in_action) != null && r[0] ? t.data.thumbnails.images.background_player_in_action[0] : (s = (a = (n = t.data) == null ? void 0 : n.thumbnails) == null ? void 0 : a.images) != null && s.background_team ? t.data.thumbnails.images.background_team : ""),
36
- footerBodyData: {
37
- description: T(w({ data: t.data, descriptionType: t.descriptionType })),
38
- textColor: (t.data.thumbnails.colors.font_color_description || "#FFFFFF").trim()
39
- }
40
- };
41
- }), u = c(() => {
42
- let e = t.data.sections || [];
43
- e = e.sort((a, s) => a[0] - s[0]);
44
- let o = 0;
45
- const d = e.reduce((a, [s, h], F) => (F % 4 === 0 && (a.push([]), o++), a[o - 1].push([h]), a), []), { title: r, subtitle: n } = N(t.data.title);
46
- return {
47
- title: r,
48
- subtitle: n,
49
- iconColor: (t.data.thumbnails.colors.icon_color || "#FFFFFF").trim(),
50
- total: t.data.total,
51
- totalCircleColor: (t.data.thumbnails.colors.data_color || "#cbee6b").trim(),
52
- totalTextColor: (t.data.thumbnails.colors.font_color_stats || "#FFFFFF").trim(),
53
- fieldObject: {
54
- categoryIds: t.data.categories,
55
- coordinatePoint: 3,
56
- data: d,
57
- isNegative: !1
58
- }
59
- };
60
- });
61
- c(() => t.data.id);
62
- const _ = c(() => ({
63
- "--text-color": (t.data.thumbnails.colors.font_color_stats || "#FFFFFF").trim(),
64
- "--data-color": (t.data.thumbnails.colors.background_color || "#000000").trim(),
65
- "--title-color": (t.data.thumbnails.colors.font_color_header || "#FFFFFF").trim()
66
- }));
67
- return (e, o) => (f(), g("div", {
68
- class: "passes",
69
- style: p(_.value)
70
- }, [
71
- y(S, v(k(b.value)), {
72
- body: x(() => [
73
- i("div", {
74
- class: "passes__body",
75
- style: p(_.value)
76
- }, [
77
- i("div", j, [
78
- i("div", B, m(u.value.title), 1),
79
- i("div", D, m(u.value.subtitle), 1)
80
- ]),
81
- H
82
- ], 4)
83
- ]),
84
- _: 1
85
- }, 16)
86
- ], 4));
87
- }
88
- }, R = /* @__PURE__ */ I(L, [["__scopeId", "data-v-2d0e60f5"]]);
89
- export {
90
- R as default
91
- };
@@ -1,75 +0,0 @@
1
- import { computed as n, openBlock as h, createElementBlock as b, createVNode as s, normalizeProps as f, guardReactiveProps as y, withCtx as v, createElementVNode as m, normalizeStyle as F, toDisplayString as x } from "vue";
2
- import { o as k } from "./CardBaseAllIndividual-yLYe0xMs-SDUJvPop.js";
3
- import { N as C } from "./Shield-0VkASyDI-Cm8rtKBS.js";
4
- import { h as S, E as p, I as w, O as I, P as B, z as D } from "./misc-BbzSgyER-2p2XKW1m.js";
5
- const N = { class: "productive" }, P = { class: "productive__body__title" }, T = {
6
- __name: "CardTheMostProductive",
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
- descriptionType: {
21
- type: Number,
22
- default: 4
23
- }
24
- },
25
- setup(d) {
26
- const a = d, _ = n(() => {
27
- var e, t, o, r, i, u, c;
28
- return {
29
- height: a.height,
30
- width: a.width,
31
- footerHeight: "112px",
32
- cardColor: (a.data.thumbnails.colors.background_color || "#000000").trim(),
33
- backgroundImageSrc: p((r = (o = (t = (e = a.data) == null ? void 0 : e.thumbnails) == null ? void 0 : t.images) == null ? void 0 : o.background_player_in_action) != null && r[0] ? a.data.thumbnails.images.background_player_in_action[0] : (c = (u = (i = a.data) == null ? void 0 : i.thumbnails) == null ? void 0 : u.images) != null && c.background_team ? a.data.thumbnails.images.background_team : ""),
34
- footerBodyData: {
35
- description: w(I({ data: a.data, descriptionType: a.descriptionType })),
36
- textColor: (a.data.thumbnails.colors.font_color_description || "#FFFFFF").trim()
37
- }
38
- };
39
- }), l = n(() => {
40
- var e, t, o, r;
41
- const i = !!((r = (o = (t = (e = a.data) == null ? void 0 : e.thumbnails) == null ? void 0 : t.images) == null ? void 0 : o.player_in_action) != null && r[0]);
42
- return {
43
- teamLogoUrl: B(a.data.team_id || ""),
44
- playerInActionSrc: i ? p(a.data.thumbnails.images.player_in_action[0]) : D(a.data.player_id || ""),
45
- shieldColor: (a.data.thumbnails.colors.graphic_color || "#5DACFF").trim(),
46
- translate: i ? "-40px -8px" : "-42px -30px"
47
- };
48
- }), g = n(() => ({
49
- "--title-color": (a.data.thumbnails.colors.font_color_header || "#FFFFFF").trim()
50
- }));
51
- return (e, t) => (h(), b("div", N, [
52
- s(k, f(y(_.value)), {
53
- body: v(() => [
54
- m("div", {
55
- class: "productive__body",
56
- style: F(g.value)
57
- }, [
58
- m("div", P, x(d.data.title), 1),
59
- s(C, {
60
- id: a.data.id,
61
- "team-logo-src": l.value.teamLogoUrl,
62
- "inner-image-src": l.value.playerInActionSrc,
63
- color: l.value.shieldColor,
64
- "inner-image-translate": l.value.translate
65
- }, null, 8, ["id", "team-logo-src", "inner-image-src", "color", "inner-image-translate"])
66
- ], 4)
67
- ]),
68
- _: 1
69
- }, 16)
70
- ]));
71
- }
72
- }, L = /* @__PURE__ */ S(T, [["__scopeId", "data-v-8c06560b"]]);
73
- export {
74
- L as default
75
- };