@golstats/gsc-landing 1.0.201 → 1.0.202
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.
- package/README.md +2 -2
- package/dist/{CardBaseAllIndividual-D0CaU15e-CLPB0z0l.js → CardBaseAllIndividual-VdTcJTWG-BVu0s4Ia.js} +15 -11
- package/dist/{CardGeneral-AZwvWZ_3-AQOM0OL9.js → CardGeneral-C-VvuOx1-DZ1STmiu.js} +79 -72
- package/dist/{CardGeneralIndividual-DetWgcUA-BTLZpGNX.js → CardGeneralIndividual-Dgeu5sRM-B8G1a9du.js} +47 -40
- package/dist/{CardGeneralTeams-wLzPsHgF-fLdKm-YP.js → CardGeneralTeams-Bio2uWy5-JwL6999E.js} +40 -33
- package/dist/{CardIndividual-DsTXOh1h-Dc3790C2.js → CardIndividual-C3vZnJKJ-5q9bHalb.js} +79 -72
- package/dist/CardIndividual1vs1-ayelgnf_-Dzunebe6.js +112 -0
- package/dist/{CardIndividualAreas-DngsmF39-DcK3uLDs.js → CardIndividualAreas-Be04td4J-D8hPG9Ld.js} +123 -119
- package/dist/{CardIndividualCenters-BG_eOM3D-xuIP7w17.js → CardIndividualCenters-CY_VblPm-tco6UKC3.js} +115 -111
- package/dist/{CardIndividualDistance-CvBDGVS--D8YWMCKb.js → CardIndividualDistance-BJMYJrZB-CSYRc_Hh.js} +34 -30
- package/dist/{CardIndividualFouls-C44UeLyO-ZIHkkK8-.js → CardIndividualFouls-CBm_fj6Z-BMwjoJEP.js} +131 -127
- package/dist/CardIndividualGoalParticipation-dDcZFtIb-CwBtEPQN.js +115 -0
- package/dist/{CardIndividualGoals-B4b5wkp6-BwluJyoB.js → CardIndividualGoals-Lu8PEJkR-B7Wc968g.js} +186 -182
- package/dist/{CardIndividualGold-BfC-u_iy-DT3GeGNQ.js → CardIndividualGold-Ptz6THCG-BRqzfQcT.js} +39 -35
- package/dist/{CardIndividualNoGoalReceived-BfSj5Spd-CmA-iSLj.js → CardIndividualNoGoalReceived-kUSshVQ5-B_Vte5MR.js} +61 -57
- package/dist/CardIndividualPerformance-BUOn0sF1-9J7h-EAR.js +107 -0
- package/dist/{CardIndividualSaves-nqci9xWF-CDd6dQLA.js → CardIndividualSaves-DRGasLFI-C3bqv0g3.js} +47 -40
- package/dist/{CardIndividualShotsOnGoal-CivXiLK1-Gtfy45ra.js → CardIndividualShotsOnGoal-D9Dx66aR-DAEm50w4.js} +72 -68
- package/dist/{CardIndividualStatistics-Z68XArun-DT_RnZV9.js → CardIndividualStatistics-QY2fzyFQ-Cx6f8RYu.js} +36 -32
- package/dist/{CardPromTournament-D8dm7vzw-DjvD0ktc.js → CardPromTournament-BScZREpO-D50kVl_Z.js} +51 -44
- package/dist/{CardSuccessfulPasses-Duuuvnsj-Dtkl1toq.js → CardSuccessfulPasses-B3BQ72bh-2Afgc80U.js} +64 -60
- package/dist/CardTheMostProductive-DhsxmRN2-BerzYRSH.js +80 -0
- package/dist/{CircleWithDotsBig-BWySvEMt-COAdxI3W.js → CircleWithDotsBig-ayb1XwYk-BxAR6vi7.js} +1 -1
- package/dist/{Shield-DzbSNLIW-B-twHEDg.js → Shield-DAT34Ykl-aryfBwhm.js} +1 -1
- package/dist/gsc-landing.js +2152 -2142
- package/dist/gsc-landing.umd.cjs +59 -59
- package/dist/misc-D94RabGe-BRVOC8Yx.js +172 -0
- package/dist/style.css +1 -1
- package/package.json +53 -53
- package/dist/CardIndividual1vs1-D4ApefEV-BpJl9DFk.js +0 -108
- package/dist/CardIndividualGoalParticipation-CCDWQfQW-BGYwHtJV.js +0 -111
- package/dist/CardIndividualPerformance-DPNMz8n4-DTgdkzaM.js +0 -103
- package/dist/CardTheMostProductive-Jp8NzANe-DYcLrIfR.js +0 -76
- package/dist/misc-BpbriWn--Bd_IQoHZ.js +0 -168
package/package.json
CHANGED
|
@@ -1,53 +1,53 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@golstats/gsc-landing",
|
|
3
|
-
"version": "1.0.
|
|
4
|
-
"type": "module",
|
|
5
|
-
"files": [
|
|
6
|
-
"dist"
|
|
7
|
-
],
|
|
8
|
-
"main": "./dist/gsc-landing.umd.cjs",
|
|
9
|
-
"module": "./dist/gsc-landing.js",
|
|
10
|
-
"exports": {
|
|
11
|
-
".": {
|
|
12
|
-
"import": "./dist/gsc-landing.js",
|
|
13
|
-
"require": "./dist/gsc-landing.umd.cjs"
|
|
14
|
-
}
|
|
15
|
-
},
|
|
16
|
-
"scripts": {
|
|
17
|
-
"dev": "vite",
|
|
18
|
-
"build": "vite build",
|
|
19
|
-
"preview": "vite preview",
|
|
20
|
-
"lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs --fix --ignore-path .gitignore",
|
|
21
|
-
"format": "prettier --write src/"
|
|
22
|
-
},
|
|
23
|
-
"dependencies": {
|
|
24
|
-
"@golstats/gsc-button": "^1.0.14",
|
|
25
|
-
"@golstats/gsc-calendar-by-game": "^1.0.79",
|
|
26
|
-
"@golstats/gsc-carousel": "^1.0.15",
|
|
27
|
-
"@golstats/gsc-data-cards": "^1.0.
|
|
28
|
-
"@golstats/gsc-general-table": "^1.0.52",
|
|
29
|
-
"@golstats/gsc-mosaic-the-best": "^1.0.14",
|
|
30
|
-
"@golstats/gsc-player-team-game": "^1.1.71",
|
|
31
|
-
"@golstats/gsc-relevant-data-by-game": "^1.0.1",
|
|
32
|
-
"@golstats/gsc-season-select": "^1.0.9",
|
|
33
|
-
"@golstats/gsc-slider": "^1.0.5",
|
|
34
|
-
"@golstats/gsc-switch-component": "^1.0.14",
|
|
35
|
-
"@golstats/gsc-tournament-select": "^1.0.13",
|
|
36
|
-
"axios": "^1.6.2",
|
|
37
|
-
"hls.js": "^1.5.13",
|
|
38
|
-
"plyr": "^3.7.8",
|
|
39
|
-
"save": "^2.9.0",
|
|
40
|
-
"vue": "3.3.4",
|
|
41
|
-
"vue3-carousel": "^0.3.1"
|
|
42
|
-
},
|
|
43
|
-
"devDependencies": {
|
|
44
|
-
"@rushstack/eslint-patch": "^1.3.3",
|
|
45
|
-
"@vitejs/plugin-vue": "^4.5.1",
|
|
46
|
-
"@vue/eslint-config-prettier": "^8.0.0",
|
|
47
|
-
"eslint": "^8.49.0",
|
|
48
|
-
"eslint-plugin-vue": "^9.17.0",
|
|
49
|
-
"prettier": "^3.0.3",
|
|
50
|
-
"vite": "^5.0.5",
|
|
51
|
-
"vuex": "4.0.2"
|
|
52
|
-
}
|
|
53
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@golstats/gsc-landing",
|
|
3
|
+
"version": "1.0.202",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"files": [
|
|
6
|
+
"dist"
|
|
7
|
+
],
|
|
8
|
+
"main": "./dist/gsc-landing.umd.cjs",
|
|
9
|
+
"module": "./dist/gsc-landing.js",
|
|
10
|
+
"exports": {
|
|
11
|
+
".": {
|
|
12
|
+
"import": "./dist/gsc-landing.js",
|
|
13
|
+
"require": "./dist/gsc-landing.umd.cjs"
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
"scripts": {
|
|
17
|
+
"dev": "vite",
|
|
18
|
+
"build": "vite build",
|
|
19
|
+
"preview": "vite preview",
|
|
20
|
+
"lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs --fix --ignore-path .gitignore",
|
|
21
|
+
"format": "prettier --write src/"
|
|
22
|
+
},
|
|
23
|
+
"dependencies": {
|
|
24
|
+
"@golstats/gsc-button": "^1.0.14",
|
|
25
|
+
"@golstats/gsc-calendar-by-game": "^1.0.79",
|
|
26
|
+
"@golstats/gsc-carousel": "^1.0.15",
|
|
27
|
+
"@golstats/gsc-data-cards": "^1.0.14",
|
|
28
|
+
"@golstats/gsc-general-table": "^1.0.52",
|
|
29
|
+
"@golstats/gsc-mosaic-the-best": "^1.0.14",
|
|
30
|
+
"@golstats/gsc-player-team-game": "^1.1.71",
|
|
31
|
+
"@golstats/gsc-relevant-data-by-game": "^1.0.1",
|
|
32
|
+
"@golstats/gsc-season-select": "^1.0.9",
|
|
33
|
+
"@golstats/gsc-slider": "^1.0.5",
|
|
34
|
+
"@golstats/gsc-switch-component": "^1.0.14",
|
|
35
|
+
"@golstats/gsc-tournament-select": "^1.0.13",
|
|
36
|
+
"axios": "^1.6.2",
|
|
37
|
+
"hls.js": "^1.5.13",
|
|
38
|
+
"plyr": "^3.7.8",
|
|
39
|
+
"save": "^2.9.0",
|
|
40
|
+
"vue": "3.3.4",
|
|
41
|
+
"vue3-carousel": "^0.3.1"
|
|
42
|
+
},
|
|
43
|
+
"devDependencies": {
|
|
44
|
+
"@rushstack/eslint-patch": "^1.3.3",
|
|
45
|
+
"@vitejs/plugin-vue": "^4.5.1",
|
|
46
|
+
"@vue/eslint-config-prettier": "^8.0.0",
|
|
47
|
+
"eslint": "^8.49.0",
|
|
48
|
+
"eslint-plugin-vue": "^9.17.0",
|
|
49
|
+
"prettier": "^3.0.3",
|
|
50
|
+
"vite": "^5.0.5",
|
|
51
|
+
"vuex": "4.0.2"
|
|
52
|
+
}
|
|
53
|
+
}
|
|
@@ -1,108 +0,0 @@
|
|
|
1
|
-
import { computed as i, openBlock as l, createElementBlock as r, normalizeStyle as f, createVNode as b, normalizeProps as v, guardReactiveProps as C, withCtx as w, createElementVNode as o, toDisplayString as F, Fragment as g, pushScopeId as y, popScopeId as L } from "vue";
|
|
2
|
-
import { r as x } from "./CardBaseAllIndividual-D0CaU15e-CLPB0z0l.js";
|
|
3
|
-
import { h as k, z as S, P as I, E as P, I as z, O as B } from "./misc-BpbriWn--Bd_IQoHZ.js";
|
|
4
|
-
const m = (a) => (y("data-v-d968ea1c"), a = a(), L(), a), E = { class: "onevsone__body" }, T = { class: "onevsone__body__title" }, H = { class: "contsvg" }, N = /* @__PURE__ */ m(() => /* @__PURE__ */ o("img", { src: "http://golstatsimages.blob.core.windows.net/tournaments-cards/downloaddefensivo.png" }, null, -1)), D = ["fill"], M = ["fill"], U = /* @__PURE__ */ m(() => /* @__PURE__ */ o("img", { src: "http://golstatsimages.blob.core.windows.net/tournaments-cards/download.png" }, null, -1)), V = ["fill"], Z = ["fill"], O = {
|
|
5
|
-
__name: "CardIndividual1vs1",
|
|
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: 0
|
|
22
|
-
}
|
|
23
|
-
},
|
|
24
|
-
setup(a) {
|
|
25
|
-
const t = a, h = i(() => {
|
|
26
|
-
var d, n, e, s, c, u, p;
|
|
27
|
-
return {
|
|
28
|
-
height: t.height,
|
|
29
|
-
width: t.width,
|
|
30
|
-
footerHeight: "137px",
|
|
31
|
-
footerPadding: "24px 24px 25px 24px",
|
|
32
|
-
playerPhotoUrl: S(t.data.player_id || ""),
|
|
33
|
-
teamLogoUrl: I(t.data.team_id || "") || "",
|
|
34
|
-
cardColor: t.data.thumbnails.colors.background_color || "#000000",
|
|
35
|
-
backgroundImageSrc: P((s = (e = (n = (d = t.data) == null ? void 0 : d.thumbnails) == null ? void 0 : n.images) == null ? void 0 : e.background_player_in_action) != null && s[0] ? t.data.thumbnails.images.background_player_in_action[0] : (p = (u = (c = t.data) == null ? void 0 : c.thumbnails) == null ? void 0 : u.images) != null && p.background_team ? t.data.thumbnails.images.background_team : ""),
|
|
36
|
-
textColor: t.data.thumbnails.colors.font_color_description || "#FFFFFF",
|
|
37
|
-
footerBodyData: {
|
|
38
|
-
textColor: t.data.thumbnails.colors.font_color_stats || "#FFFFFF",
|
|
39
|
-
description: z(B({ data: t.data, descriptionType: t.descriptionType })),
|
|
40
|
-
total: t.data.footer && t.data.footer.show_percentage == 1 ? t.data.percentage : t.data.total,
|
|
41
|
-
totalTextColor: t.data.thumbnails.colors.font_color_stats || "#FFFFFF",
|
|
42
|
-
totalCircleColor: t.data.thumbnails.colors.background_color || "#000000",
|
|
43
|
-
isTotalPercentage: t.data.footer && !!t.data.footer.show_percentage
|
|
44
|
-
}
|
|
45
|
-
};
|
|
46
|
-
});
|
|
47
|
-
i(() => t.data.id);
|
|
48
|
-
const _ = i(() => ({
|
|
49
|
-
"--title-color": t.data.thumbnails.colors.font_color_header || "#FFFFFF"
|
|
50
|
-
}));
|
|
51
|
-
return (d, n) => (l(), r("div", {
|
|
52
|
-
class: "onevsone",
|
|
53
|
-
style: f(_.value)
|
|
54
|
-
}, [
|
|
55
|
-
b(x, v(C(h.value)), {
|
|
56
|
-
body: w(() => {
|
|
57
|
-
var e;
|
|
58
|
-
return [
|
|
59
|
-
o("div", E, [
|
|
60
|
-
o("div", T, F(t.data.title.replace(/\*/g, "")), 1),
|
|
61
|
-
o("div", H, [
|
|
62
|
-
(e = t.data.categories) != null && e.includes(4) ? (l(), r(g, { key: 1 }, [
|
|
63
|
-
U,
|
|
64
|
-
(l(), r("svg", {
|
|
65
|
-
width: "12",
|
|
66
|
-
class: "arrow",
|
|
67
|
-
height: "75",
|
|
68
|
-
viewBox: "0 0 12 75",
|
|
69
|
-
fill: t.data.thumbnails.colors.icon_color,
|
|
70
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
71
|
-
}, [
|
|
72
|
-
o("path", {
|
|
73
|
-
"fill-rule": "evenodd",
|
|
74
|
-
"clip-rule": "evenodd",
|
|
75
|
-
d: "M5 4.5489L5 75H7L7 4.62807L10.1992 7.86923C10.3268 7.9985 10.4817 8.05853 10.664 8.04929C10.8463 8.04006 11.0013 7.9708 11.1289 7.84153L11.7304 7.23208C11.858 7.1028 11.9218 6.94582 11.9218 6.76114C11.9218 6.57645 11.858 6.41948 11.7304 6.2902L6.34592 0.836174C6.23509 0.741615 6.10676 0.694336 5.96092 0.694336C5.77863 0.694336 5.62368 0.768211 5.49608 0.915955L0.191406 6.2902C0.0638018 6.41948 0 6.57645 0 6.76114C0 6.94582 0.0638018 7.1028 0.191406 7.23208L0.792967 7.84153C0.920571 7.9708 1.07552 8.04006 1.25781 8.04929C1.4401 8.05853 1.59505 7.9985 1.72265 7.86923L5 4.5489Z",
|
|
76
|
-
fill: t.data.thumbnails.colors.icon_color
|
|
77
|
-
}, null, 8, Z)
|
|
78
|
-
], 8, V))
|
|
79
|
-
], 64)) : (l(), r(g, { key: 0 }, [
|
|
80
|
-
N,
|
|
81
|
-
(l(), r("svg", {
|
|
82
|
-
class: "arrow",
|
|
83
|
-
width: "12",
|
|
84
|
-
height: "75",
|
|
85
|
-
viewBox: "0 0 12 75",
|
|
86
|
-
fill: t.data.thumbnails.colors.icon_color,
|
|
87
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
88
|
-
}, [
|
|
89
|
-
o("path", {
|
|
90
|
-
"fill-rule": "evenodd",
|
|
91
|
-
"clip-rule": "evenodd",
|
|
92
|
-
d: "M5 71.1454L5 0.694344H7L7 71.0663L10.1992 67.8251C10.3268 67.6958 10.4817 67.6358 10.664 67.6451C10.8463 67.6543 11.0013 67.7235 11.1289 67.8528L11.7304 68.4623C11.858 68.5915 11.9218 68.7485 11.9218 68.9332C11.9218 69.1179 11.858 69.2749 11.7304 69.4041L6.34592 74.8582C6.23509 74.9527 6.10676 75 5.96092 75C5.77863 75 5.62368 74.9261 5.49608 74.7784L0.191406 69.4041C0.0638018 69.2749 0 69.1179 0 68.9332C0 68.7485 0.0638018 68.5915 0.191406 68.4623L0.792967 67.8528C0.920571 67.7235 1.07552 67.6543 1.25781 67.6451C1.4401 67.6358 1.59505 67.6958 1.72265 67.8251L5 71.1454Z",
|
|
93
|
-
fill: t.data.thumbnails.colors.icon_color
|
|
94
|
-
}, null, 8, M)
|
|
95
|
-
], 8, D))
|
|
96
|
-
], 64))
|
|
97
|
-
])
|
|
98
|
-
])
|
|
99
|
-
];
|
|
100
|
-
}),
|
|
101
|
-
_: 1
|
|
102
|
-
}, 16)
|
|
103
|
-
], 4));
|
|
104
|
-
}
|
|
105
|
-
}, A = /* @__PURE__ */ k(O, [["__scopeId", "data-v-d968ea1c"]]);
|
|
106
|
-
export {
|
|
107
|
-
A as default
|
|
108
|
-
};
|
|
@@ -1,111 +0,0 @@
|
|
|
1
|
-
import { computed as i, openBlock as r, createElementBlock as d, normalizeStyle as g, createVNode as h, normalizeProps as b, guardReactiveProps as v, withCtx as y, createElementVNode as l, toDisplayString as f, pushScopeId as k, popScopeId as C } from "vue";
|
|
2
|
-
import { r as w } from "./CardBaseAllIndividual-D0CaU15e-CLPB0z0l.js";
|
|
3
|
-
import { h as x, z, P as M, E as P, I as S, O as T } from "./misc-BpbriWn--Bd_IQoHZ.js";
|
|
4
|
-
import { G as I } from "./CircleWithDotsBig-BWySvEMt-COAdxI3W.js";
|
|
5
|
-
const B = (e) => (k("data-v-94a1638a"), e = e(), C(), e), E = { class: "goal-participation__body__data" }, G = {
|
|
6
|
-
width: "35",
|
|
7
|
-
height: "47",
|
|
8
|
-
viewBox: "0 0 35 47",
|
|
9
|
-
fill: "none",
|
|
10
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
11
|
-
}, L = ["fill"], N = ["stroke"], D = {
|
|
12
|
-
key: 0,
|
|
13
|
-
class: "goal-participation__body__data__percent"
|
|
14
|
-
}, U = {
|
|
15
|
-
key: 1,
|
|
16
|
-
class: "goal-participation__body__data__total"
|
|
17
|
-
}, H = /* @__PURE__ */ B(() => /* @__PURE__ */ l("div", { class: "goal-participation__body__title" }, " participaciones de gol ", -1)), O = {
|
|
18
|
-
__name: "CardIndividualGoalParticipation",
|
|
19
|
-
props: {
|
|
20
|
-
height: {
|
|
21
|
-
type: String,
|
|
22
|
-
default: "445px"
|
|
23
|
-
},
|
|
24
|
-
width: {
|
|
25
|
-
type: String,
|
|
26
|
-
default: "319px"
|
|
27
|
-
},
|
|
28
|
-
data: {
|
|
29
|
-
type: Object,
|
|
30
|
-
default: () => null
|
|
31
|
-
},
|
|
32
|
-
descriptionType: {
|
|
33
|
-
type: Number,
|
|
34
|
-
default: 0
|
|
35
|
-
}
|
|
36
|
-
},
|
|
37
|
-
setup(e) {
|
|
38
|
-
const a = e, F = i(() => {
|
|
39
|
-
var o, n, s, p, u, _, m;
|
|
40
|
-
return {
|
|
41
|
-
height: a.height,
|
|
42
|
-
width: a.width,
|
|
43
|
-
footerHeight: "137px",
|
|
44
|
-
playerPhotoUrl: z(a.data.player_id || ""),
|
|
45
|
-
teamLogoUrl: M(a.data.team_id || ""),
|
|
46
|
-
cardColor: (a.data.thumbnails.colors.background_color || "#000000").trim(),
|
|
47
|
-
backgroundImageSrc: P((p = (s = (n = (o = a.data) == null ? void 0 : o.thumbnails) == null ? void 0 : n.images) == null ? void 0 : s.background_player_in_action) != null && p[0] ? a.data.thumbnails.images.background_player_in_action[0] : (m = (_ = (u = a.data) == null ? void 0 : u.thumbnails) == null ? void 0 : _.images) != null && m.background_team ? a.data.thumbnails.images.background_team : ""),
|
|
48
|
-
footerBodyData: {
|
|
49
|
-
description: S(T({ data: a.data, descriptionType: a.descriptionType })),
|
|
50
|
-
textColor: (a.data.thumbnails.colors.font_color_description || "#FFFFFF").trim()
|
|
51
|
-
}
|
|
52
|
-
};
|
|
53
|
-
}), t = i(() => {
|
|
54
|
-
const o = a.data.body.show_percentage;
|
|
55
|
-
return {
|
|
56
|
-
isTotalPercentage: o,
|
|
57
|
-
iconColor: (a.data.thumbnails.colors.icon_color || "#FFFFFF").trim(),
|
|
58
|
-
total: o ? a.data.percentage : a.data.total,
|
|
59
|
-
totalCircleColor: (a.data.thumbnails.colors.data_color || "#cbee6b").trim(),
|
|
60
|
-
totalTextColor: (a.data.thumbnails.colors.font_color_stats || "#FFFFFF").trim()
|
|
61
|
-
};
|
|
62
|
-
});
|
|
63
|
-
i(() => a.data.id);
|
|
64
|
-
const c = i(() => ({
|
|
65
|
-
"--title-color": (a.data.thumbnails.colors.font_color_header || "#FFFFFF").trim(),
|
|
66
|
-
"--total-color": (a.data.thumbnails.colors.font_color_stats || "#FFFFFF").trim()
|
|
67
|
-
}));
|
|
68
|
-
return (o, n) => (r(), d("div", {
|
|
69
|
-
class: "goal-participation",
|
|
70
|
-
style: g(c.value)
|
|
71
|
-
}, [
|
|
72
|
-
h(w, b(v(F.value)), {
|
|
73
|
-
body: y(() => [
|
|
74
|
-
l("div", {
|
|
75
|
-
class: "goal-participation__body",
|
|
76
|
-
style: g(c.value)
|
|
77
|
-
}, [
|
|
78
|
-
l("div", E, [
|
|
79
|
-
(r(), d("svg", G, [
|
|
80
|
-
l("path", {
|
|
81
|
-
d: "M4.159 42.568a2.667 2.667 0 1 0 5.333 0 2.667 2.667 0 0 0-5.333 0zM29.72 26.235l.29.407.563-.402-.557-.409-.296.404zM1.728 7.642a2.667 2.667 0 1 0 5.333 0 2.667 2.667 0 0 0-5.333 0zm5.388 35.333L30.012 26.64l-.581-.814L6.535 42.161l.58.814zM30.017 25.83 4.69 7.24l-.591.806 25.326 18.593.592-.807z",
|
|
82
|
-
fill: t.value.iconColor
|
|
83
|
-
}, null, 8, L),
|
|
84
|
-
l("path", {
|
|
85
|
-
opacity: ".5",
|
|
86
|
-
d: "M9.217 26.157a2.188 2.188 0 1 1-4.375 0 2.188 2.188 0 0 1 4.375 0zM30.158 9.9a2.187 2.187 0 1 1-4.375 0 2.187 2.187 0 0 1 4.375 0zM30.158 43.1a2.188 2.188 0 1 1-4.375 0 2.188 2.188 0 0 1 4.375 0z",
|
|
87
|
-
stroke: t.value.iconColor,
|
|
88
|
-
"stroke-width": "1.458"
|
|
89
|
-
}, null, 8, N)
|
|
90
|
-
])),
|
|
91
|
-
t.value.isTotalPercentage ? (r(), d("div", D, [
|
|
92
|
-
h(I, {
|
|
93
|
-
"text-color": t.value.totalTextColor,
|
|
94
|
-
color: t.value.totalCircleColor,
|
|
95
|
-
value: t.value.total
|
|
96
|
-
}, null, 8, ["text-color", "color", "value"])
|
|
97
|
-
])) : (r(), d("div", U, [
|
|
98
|
-
l("div", null, f(a.data.total), 1)
|
|
99
|
-
]))
|
|
100
|
-
]),
|
|
101
|
-
H
|
|
102
|
-
], 4)
|
|
103
|
-
]),
|
|
104
|
-
_: 1
|
|
105
|
-
}, 16)
|
|
106
|
-
], 4));
|
|
107
|
-
}
|
|
108
|
-
}, R = /* @__PURE__ */ x(O, [["__scopeId", "data-v-94a1638a"]]);
|
|
109
|
-
export {
|
|
110
|
-
R as default
|
|
111
|
-
};
|
|
@@ -1,103 +0,0 @@
|
|
|
1
|
-
import { computed as d, openBlock as v, createElementBlock as h, normalizeStyle as y, createVNode as c, normalizeProps as F, guardReactiveProps as g, withCtx as x, createElementVNode as o, toDisplayString as i, pushScopeId as S, popScopeId as C } from "vue";
|
|
2
|
-
import { r as T } from "./CardBaseAllIndividual-D0CaU15e-CLPB0z0l.js";
|
|
3
|
-
import { h as k, z as w, E as N, I, O, $ as P } from "./misc-BpbriWn--Bd_IQoHZ.js";
|
|
4
|
-
import { G as m } from "./CircleWithDotsBig-BWySvEMt-COAdxI3W.js";
|
|
5
|
-
const z = (e) => (S("data-v-4ede6e22"), e = e(), C(), e), E = { class: "performance__body" }, $ = { class: "performance__body__title-sub" }, B = { class: "performance__body__title-sub__title" }, D = { class: "performance__body__title-sub__sub" }, V = { class: "performance__body__data" }, j = { class: "performance__body__data__total-season" }, H = { class: "performance__body__data__total-season__season" }, R = /* @__PURE__ */ z(() => /* @__PURE__ */ o("span", { class: "arrow" }, "→", -1)), U = { class: "performance__body__data__total-season" }, q = { class: "performance__body__data__total-season__season" }, A = {
|
|
6
|
-
__name: "CardIndividualPerformance",
|
|
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(e) {
|
|
26
|
-
const a = e, b = d(() => {
|
|
27
|
-
var l, r, s, n, _, u, p;
|
|
28
|
-
return {
|
|
29
|
-
height: a.height,
|
|
30
|
-
width: a.width,
|
|
31
|
-
footerHeight: "fit-content",
|
|
32
|
-
playerPhotoPositionTop: "24px",
|
|
33
|
-
playerPhotoUrl: w(a.data.player_id || ""),
|
|
34
|
-
cardColor: (a.data.thumbnails.colors.background_color || "#000000").trim(),
|
|
35
|
-
backgroundImageSrc: N((n = (s = (r = (l = a.data) == null ? void 0 : l.thumbnails) == null ? void 0 : r.images) == null ? void 0 : s.background_player_in_action) != null && n[0] ? a.data.thumbnails.images.background_player_in_action[0] : (p = (u = (_ = a.data) == null ? void 0 : _.thumbnails) == null ? void 0 : u.images) != null && p.background_team ? a.data.thumbnails.images.background_team : ""),
|
|
36
|
-
textColor: (a.data.thumbnails.colors.text_color_description || "#FFFFFF").trim(),
|
|
37
|
-
footerBodyData: {
|
|
38
|
-
description: I(O({ data: a.data, descriptionType: a.descriptionType })),
|
|
39
|
-
total: a.data.total,
|
|
40
|
-
textColor: (a.data.thumbnails.colors.font_color_description || "#FFFFFF").trim()
|
|
41
|
-
}
|
|
42
|
-
};
|
|
43
|
-
}), t = d(() => {
|
|
44
|
-
const { title: l, subtitle: r } = P(a.data.title), [s, n] = a.data.totals;
|
|
45
|
-
return {
|
|
46
|
-
title: l,
|
|
47
|
-
subtitle: r,
|
|
48
|
-
pastSeasonName: n.season,
|
|
49
|
-
currentSeasonName: s.season,
|
|
50
|
-
pastSeasonTotal: n.total,
|
|
51
|
-
currentSeasonTotal: s.total,
|
|
52
|
-
textColor: (a.data.thumbnails.colors.font_color_description || "#FFFFFF").trim(),
|
|
53
|
-
circleOneColor: (a.data.thumbnails.colors.data_color_2 || "#000000").trim(),
|
|
54
|
-
circleTwoColor: (a.data.thumbnails.colors.data_color || "#000000").trim()
|
|
55
|
-
};
|
|
56
|
-
});
|
|
57
|
-
d(() => a.data.id);
|
|
58
|
-
const f = d(() => ({
|
|
59
|
-
"--data-color": a.data.thumbnails.colors.background_color_cards || "#000000",
|
|
60
|
-
"--title-color": (a.data.thumbnails.colors.font_color_header || "#FFFFFF").trim()
|
|
61
|
-
}));
|
|
62
|
-
return (l, r) => (v(), h("div", {
|
|
63
|
-
class: "performance",
|
|
64
|
-
style: y(f.value)
|
|
65
|
-
}, [
|
|
66
|
-
c(T, F(g(b.value)), {
|
|
67
|
-
body: x(() => [
|
|
68
|
-
o("div", E, [
|
|
69
|
-
o("div", $, [
|
|
70
|
-
o("div", B, i(t.value.title), 1),
|
|
71
|
-
o("div", D, i(t.value.subtitle), 1)
|
|
72
|
-
]),
|
|
73
|
-
o("div", V, [
|
|
74
|
-
o("div", j, [
|
|
75
|
-
c(m, {
|
|
76
|
-
value: t.value.pastSeasonTotal,
|
|
77
|
-
suffix: "",
|
|
78
|
-
"text-color": t.value.textColor,
|
|
79
|
-
color: t.value.circleOneColor
|
|
80
|
-
}, null, 8, ["value", "text-color", "color"]),
|
|
81
|
-
o("div", H, i(t.value.pastSeasonName), 1)
|
|
82
|
-
]),
|
|
83
|
-
R,
|
|
84
|
-
o("div", U, [
|
|
85
|
-
c(m, {
|
|
86
|
-
value: t.value.currentSeasonTotal,
|
|
87
|
-
suffix: "",
|
|
88
|
-
"text-color": t.value.textColor,
|
|
89
|
-
color: t.value.circleTwoColor
|
|
90
|
-
}, null, 8, ["value", "text-color", "color"]),
|
|
91
|
-
o("div", q, i(t.value.currentSeasonName), 1)
|
|
92
|
-
])
|
|
93
|
-
])
|
|
94
|
-
])
|
|
95
|
-
]),
|
|
96
|
-
_: 1
|
|
97
|
-
}, 16)
|
|
98
|
-
], 4));
|
|
99
|
-
}
|
|
100
|
-
}, K = /* @__PURE__ */ k(A, [["__scopeId", "data-v-4ede6e22"]]);
|
|
101
|
-
export {
|
|
102
|
-
K as default
|
|
103
|
-
};
|
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
import { computed as u, openBlock as h, createElementBlock as b, createVNode as c, normalizeProps as f, guardReactiveProps as y, withCtx as v, createElementVNode as s, normalizeStyle as F, toDisplayString as x } from "vue";
|
|
2
|
-
import { r as k } from "./CardBaseAllIndividual-D0CaU15e-CLPB0z0l.js";
|
|
3
|
-
import { N as C } from "./Shield-DzbSNLIW-B-twHEDg.js";
|
|
4
|
-
import { h as S, E as m, I, O as w, $ as B, P as D, z as N } from "./misc-BpbriWn--Bd_IQoHZ.js";
|
|
5
|
-
const P = { class: "productive" }, T = { class: "productive__body__title" }, z = {
|
|
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(p) {
|
|
26
|
-
const t = p, _ = u(() => {
|
|
27
|
-
var a, e, i, o, r, n, d;
|
|
28
|
-
return {
|
|
29
|
-
height: t.height,
|
|
30
|
-
width: t.width,
|
|
31
|
-
footerHeight: "112px",
|
|
32
|
-
cardColor: (t.data.thumbnails.colors.background_color || "#000000").trim(),
|
|
33
|
-
backgroundImageSrc: m((o = (i = (e = (a = t.data) == null ? void 0 : a.thumbnails) == null ? void 0 : e.images) == null ? void 0 : i.background_player_in_action) != null && o[0] ? t.data.thumbnails.images.background_player_in_action[0] : (d = (n = (r = t.data) == null ? void 0 : r.thumbnails) == null ? void 0 : n.images) != null && d.background_team ? t.data.thumbnails.images.background_team : ""),
|
|
34
|
-
footerBodyData: {
|
|
35
|
-
description: I(w({ data: t.data, descriptionType: t.descriptionType })),
|
|
36
|
-
textColor: (t.data.thumbnails.colors.font_color_description || "#FFFFFF").trim()
|
|
37
|
-
}
|
|
38
|
-
};
|
|
39
|
-
}), l = u(() => {
|
|
40
|
-
var a, e, i, o;
|
|
41
|
-
const r = !!((o = (i = (e = (a = t.data) == null ? void 0 : a.thumbnails) == null ? void 0 : e.images) == null ? void 0 : i.player_in_action) != null && o[0]), { title: n, subtitle: d } = B(t.data.title);
|
|
42
|
-
return {
|
|
43
|
-
title: n,
|
|
44
|
-
teamLogoUrl: D(t.data.team_id || ""),
|
|
45
|
-
playerInActionSrc: r ? m(t.data.thumbnails.images.player_in_action[0]) : N(t.data.player_id || ""),
|
|
46
|
-
shieldColor: (t.data.thumbnails.colors.graphic_color || "#5DACFF").trim(),
|
|
47
|
-
translate: r ? "-40px -8px" : "-42px -30px"
|
|
48
|
-
};
|
|
49
|
-
}), g = u(() => ({
|
|
50
|
-
"--title-color": (t.data.thumbnails.colors.font_color_header || "#FFFFFF").trim()
|
|
51
|
-
}));
|
|
52
|
-
return (a, e) => (h(), b("div", P, [
|
|
53
|
-
c(k, f(y(_.value)), {
|
|
54
|
-
body: v(() => [
|
|
55
|
-
s("div", {
|
|
56
|
-
class: "productive__body",
|
|
57
|
-
style: F(g.value)
|
|
58
|
-
}, [
|
|
59
|
-
s("div", T, x(l.value.title), 1),
|
|
60
|
-
c(C, {
|
|
61
|
-
id: t.data.id,
|
|
62
|
-
"team-logo-src": l.value.teamLogoUrl,
|
|
63
|
-
"inner-image-src": l.value.playerInActionSrc,
|
|
64
|
-
color: l.value.shieldColor,
|
|
65
|
-
"inner-image-translate": l.value.translate
|
|
66
|
-
}, null, 8, ["id", "team-logo-src", "inner-image-src", "color", "inner-image-translate"])
|
|
67
|
-
], 4)
|
|
68
|
-
]),
|
|
69
|
-
_: 1
|
|
70
|
-
}, 16)
|
|
71
|
-
]));
|
|
72
|
-
}
|
|
73
|
-
}, O = /* @__PURE__ */ S(z, [["__scopeId", "data-v-c1760c92"]]);
|
|
74
|
-
export {
|
|
75
|
-
O as default
|
|
76
|
-
};
|
|
@@ -1,168 +0,0 @@
|
|
|
1
|
-
import { computed as d, openBlock as i, createElementBlock as n, normalizeClass as l, normalizeStyle as u, createCommentVNode as c, createElementVNode as s, renderSlot as p, pushScopeId as g, popScopeId as y } from "vue";
|
|
2
|
-
const f = (t, e) => {
|
|
3
|
-
const r = t.__vccOpts || t;
|
|
4
|
-
for (const [o, a] of e)
|
|
5
|
-
r[o] = a;
|
|
6
|
-
return r;
|
|
7
|
-
}, h = (t) => (g("data-v-8675ac33"), t = t(), y(), t), b = {
|
|
8
|
-
key: 0,
|
|
9
|
-
class: "card-base__background-image"
|
|
10
|
-
}, v = ["src"], m = {
|
|
11
|
-
key: 1,
|
|
12
|
-
class: "card-base__background-overlay"
|
|
13
|
-
}, _ = { class: "card-base__slot" }, k = {
|
|
14
|
-
key: 2,
|
|
15
|
-
class: "card-base__play"
|
|
16
|
-
}, w = /* @__PURE__ */ h(() => /* @__PURE__ */ s("svg", {
|
|
17
|
-
width: "60",
|
|
18
|
-
height: "60",
|
|
19
|
-
viewBox: "0 0 60 60",
|
|
20
|
-
fill: "none",
|
|
21
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
22
|
-
}, [
|
|
23
|
-
/* @__PURE__ */ s("circle", {
|
|
24
|
-
cx: "30",
|
|
25
|
-
cy: "30",
|
|
26
|
-
r: "30",
|
|
27
|
-
fill: "#0E1E2A",
|
|
28
|
-
"fill-opacity": ".96"
|
|
29
|
-
}),
|
|
30
|
-
/* @__PURE__ */ s("circle", {
|
|
31
|
-
cx: "30",
|
|
32
|
-
cy: "30",
|
|
33
|
-
r: "26.6",
|
|
34
|
-
stroke: "#757575",
|
|
35
|
-
"stroke-width": ".8"
|
|
36
|
-
}),
|
|
37
|
-
/* @__PURE__ */ s("path", {
|
|
38
|
-
d: "M25.49 39.862a1.058 1.058 0 0 1-.359-.43 1.396 1.396 0 0 1-.131-.6V20.165a1.4 1.4 0 0 1 .132-.599c.087-.18.21-.329.358-.429a.777.777 0 0 1 .483-.137c.167.01.33.077.47.194l11.143 9.333c.127.107.232.25.304.42.072.17.11.358.11.55 0 .193-.038.382-.11.55-.072.17-.177.314-.304.42l-11.143 9.337a.808.808 0 0 1-.47.194.776.776 0 0 1-.482-.137z",
|
|
39
|
-
fill: "#CBEE6B"
|
|
40
|
-
})
|
|
41
|
-
], -1)), S = [
|
|
42
|
-
w
|
|
43
|
-
], C = {
|
|
44
|
-
__name: "CardBase",
|
|
45
|
-
props: {
|
|
46
|
-
height: {
|
|
47
|
-
type: String,
|
|
48
|
-
default: "445px"
|
|
49
|
-
},
|
|
50
|
-
width: {
|
|
51
|
-
type: String,
|
|
52
|
-
default: "319px"
|
|
53
|
-
},
|
|
54
|
-
backgroundOverlayColor: {
|
|
55
|
-
type: String,
|
|
56
|
-
default: "#000000"
|
|
57
|
-
},
|
|
58
|
-
backgroundOverlayOpacity: {
|
|
59
|
-
type: String,
|
|
60
|
-
default: "0.8"
|
|
61
|
-
},
|
|
62
|
-
backgroundImageSrc: {
|
|
63
|
-
type: String,
|
|
64
|
-
default: ""
|
|
65
|
-
},
|
|
66
|
-
overflow: {
|
|
67
|
-
type: String,
|
|
68
|
-
default: "visible"
|
|
69
|
-
},
|
|
70
|
-
borderRadius: {
|
|
71
|
-
type: String,
|
|
72
|
-
default: "15px"
|
|
73
|
-
},
|
|
74
|
-
isPlayButtonVisible: {
|
|
75
|
-
type: Boolean,
|
|
76
|
-
default: !0
|
|
77
|
-
},
|
|
78
|
-
goldCardType: {
|
|
79
|
-
type: Number,
|
|
80
|
-
default: 0
|
|
81
|
-
}
|
|
82
|
-
},
|
|
83
|
-
setup(t) {
|
|
84
|
-
const e = t, r = d(() => ({
|
|
85
|
-
"--height": e.height,
|
|
86
|
-
"--width": e.width,
|
|
87
|
-
"--background-overlay-color": e.backgroundOverlayColor,
|
|
88
|
-
"--overflow": e.overflow,
|
|
89
|
-
"--border-radius": e.borderRadius,
|
|
90
|
-
"--background-overlay-opacity": e.backgroundOverlayOpacity,
|
|
91
|
-
"--background-gold-size": `${e.width} ${e.height}`
|
|
92
|
-
})), o = d(() => {
|
|
93
|
-
const a = [];
|
|
94
|
-
return e.goldCardType && (e.goldCardType === 1 ? a.push("gold-card-1") : e.goldCardType === 2 && a.push("gold-card-2")), a;
|
|
95
|
-
});
|
|
96
|
-
return (a, x) => (i(), n("div", {
|
|
97
|
-
class: l(["card-base", o.value]),
|
|
98
|
-
style: u(r.value)
|
|
99
|
-
}, [
|
|
100
|
-
t.goldCardType ? c("", !0) : (i(), n("div", b, [
|
|
101
|
-
t.backgroundImageSrc ? (i(), n("img", {
|
|
102
|
-
key: 0,
|
|
103
|
-
src: t.backgroundImageSrc,
|
|
104
|
-
alt: ""
|
|
105
|
-
}, null, 8, v)) : c("", !0)
|
|
106
|
-
])),
|
|
107
|
-
t.goldCardType ? c("", !0) : (i(), n("div", m)),
|
|
108
|
-
s("div", _, [
|
|
109
|
-
p(a.$slots, "default", {}, void 0, !0)
|
|
110
|
-
]),
|
|
111
|
-
t.isPlayButtonVisible ? (i(), n("div", k, S)) : c("", !0)
|
|
112
|
-
], 6));
|
|
113
|
-
}
|
|
114
|
-
}, O = /* @__PURE__ */ f(C, [["__scopeId", "data-v-8675ac33"]]);
|
|
115
|
-
function T(t = "") {
|
|
116
|
-
const e = t.split("");
|
|
117
|
-
let r = 1;
|
|
118
|
-
return e.reduce((o, a) => (a === "*" ? (r % 2 === 0 ? o += "</span>" : o += '<span class="text-bold">', r++) : o += a, o), "");
|
|
119
|
-
}
|
|
120
|
-
function z({ data: t, descriptionType: e }) {
|
|
121
|
-
switch (e) {
|
|
122
|
-
case 1:
|
|
123
|
-
return t.finish_first_person_description;
|
|
124
|
-
case 2:
|
|
125
|
-
return t.first_person_description;
|
|
126
|
-
case 3:
|
|
127
|
-
return t.finish_third_person_description;
|
|
128
|
-
case 4:
|
|
129
|
-
return t.third_person_description;
|
|
130
|
-
case 5:
|
|
131
|
-
return t.finish_description;
|
|
132
|
-
case 6:
|
|
133
|
-
return t.description;
|
|
134
|
-
}
|
|
135
|
-
}
|
|
136
|
-
function E(t) {
|
|
137
|
-
return `https://az755631.vo.msecnd.net/teams-80/${t}.png`;
|
|
138
|
-
}
|
|
139
|
-
function I(t) {
|
|
140
|
-
return `https://az755631.vo.msecnd.net/players-profile/${t}.png`;
|
|
141
|
-
}
|
|
142
|
-
function $(t) {
|
|
143
|
-
return `https://golstatsimages.blob.core.windows.net/images-library/${t}`;
|
|
144
|
-
}
|
|
145
|
-
function V(t) {
|
|
146
|
-
if (t.includes("*")) {
|
|
147
|
-
let e = "";
|
|
148
|
-
const r = t.match(/\*(.*?)\*/);
|
|
149
|
-
return r && (e = r[1]), {
|
|
150
|
-
title: e.trim(),
|
|
151
|
-
subtitle: t.replace(/\*(.*?)\*/, "").trim()
|
|
152
|
-
};
|
|
153
|
-
}
|
|
154
|
-
return {
|
|
155
|
-
title: t,
|
|
156
|
-
subtitle: ""
|
|
157
|
-
};
|
|
158
|
-
}
|
|
159
|
-
export {
|
|
160
|
-
V as $,
|
|
161
|
-
$ as E,
|
|
162
|
-
T as I,
|
|
163
|
-
z as O,
|
|
164
|
-
E as P,
|
|
165
|
-
O as T,
|
|
166
|
-
f as h,
|
|
167
|
-
I as z
|
|
168
|
-
};
|