@golstats/gsc-landing 1.0.200 → 1.0.201

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 (32) hide show
  1. package/README.md +2 -2
  2. package/dist/{CardBaseAllIndividual-yLYe0xMs-SDUJvPop.js → CardBaseAllIndividual-D0CaU15e-CLPB0z0l.js} +65 -62
  3. package/dist/{CardGeneral-CzD9BfTs-D1qozgj2.js → CardGeneral-AZwvWZ_3-AQOM0OL9.js} +46 -46
  4. package/dist/{CardGeneralIndividual-DaONNIwT-WoYrg7O0.js → CardGeneralIndividual-DetWgcUA-BTLZpGNX.js} +17 -17
  5. package/dist/{CardGeneralTeams-CCfSIg5--ycGF0WJl.js → CardGeneralTeams-wLzPsHgF-fLdKm-YP.js} +30 -30
  6. package/dist/{CardIndividual-DPKW-YpP-Dnc0EEj0.js → CardIndividual-DsTXOh1h-Dc3790C2.js} +102 -103
  7. package/dist/{CardIndividual1vs1-BRtGgXM7-CedeR8el.js → CardIndividual1vs1-D4ApefEV-BpJl9DFk.js} +12 -12
  8. package/dist/{CardIndividualAreas-Da2UYEaV-BPWvNz8Q.js → CardIndividualAreas-DngsmF39-DcK3uLDs.js} +8 -7
  9. package/dist/{CardIndividualCenters-DMkkZlrP-Bb4dMrwf.js → CardIndividualCenters-BG_eOM3D-xuIP7w17.js} +108 -107
  10. package/dist/{CardIndividualDistance-C226QSwL-R--LlcPz.js → CardIndividualDistance-CvBDGVS--D8YWMCKb.js} +2 -2
  11. package/dist/CardIndividualFouls-C44UeLyO-ZIHkkK8-.js +682 -0
  12. package/dist/{CardIndividualGoalParticipation-Cpg4aGAE-DeUV1zrF.js → CardIndividualGoalParticipation-CCDWQfQW-BGYwHtJV.js} +3 -3
  13. package/dist/{CardIndividualGoals-BVMarvFd-DL29nvxj.js → CardIndividualGoals-B4b5wkp6-BwluJyoB.js} +95 -92
  14. package/dist/{CardIndividualGold-Df7Raasl-Byue4uk-.js → CardIndividualGold-BfC-u_iy-DT3GeGNQ.js} +36 -33
  15. package/dist/{CardIndividualNoGoalReceived-CIx-n793--Wt2ynZx.js → CardIndividualNoGoalReceived-BfSj5Spd-CmA-iSLj.js} +4 -4
  16. package/dist/{CardIndividualPerformance-DyczUumz-BaHTtZS4.js → CardIndividualPerformance-DPNMz8n4-DTgdkzaM.js} +23 -23
  17. package/dist/{CardIndividualSaves-CC91zpjd-CAQ8vR7-.js → CardIndividualSaves-nqci9xWF-CDd6dQLA.js} +36 -36
  18. package/dist/{CardIndividualShotsOnGoal-CxwYTN__-Bd9Y6B6j.js → CardIndividualShotsOnGoal-CivXiLK1-Gtfy45ra.js} +18 -17
  19. package/dist/{CardIndividualStatistics-CBd679p9-itsHFDEL.js → CardIndividualStatistics-Z68XArun-DT_RnZV9.js} +39 -35
  20. package/dist/{CardPromTournament-BKH4VcBp-D784umYN.js → CardPromTournament-D8dm7vzw-DjvD0ktc.js} +4 -4
  21. package/dist/CardSuccessfulPasses-Duuuvnsj-Dtkl1toq.js +809 -0
  22. package/dist/CardTheMostProductive-Jp8NzANe-DYcLrIfR.js +76 -0
  23. package/dist/{CircleWithDotsBig-5eFuZwDk-n956nNzk.js → CircleWithDotsBig-BWySvEMt-COAdxI3W.js} +1 -1
  24. package/dist/{Shield-0VkASyDI-Cm8rtKBS.js → Shield-DzbSNLIW-B-twHEDg.js} +1 -1
  25. package/dist/gsc-landing.js +2284 -2251
  26. package/dist/gsc-landing.umd.cjs +65 -65
  27. package/dist/{misc-BbzSgyER-2p2XKW1m.js → misc-BpbriWn--Bd_IQoHZ.js} +4 -4
  28. package/dist/style.css +1 -1
  29. package/package.json +53 -53
  30. package/dist/CardIndividualFouls-ycmte1YE-DyR9GrTc.js +0 -669
  31. package/dist/CardSuccessfulPasses-DKetowpu-B12McLj4.js +0 -91
  32. 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
- };