@golstats/gsc-landing 1.0.212 → 1.0.214
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/CardBase-Cdma--ld-BufA9Fxb.js +181 -0
- package/dist/{CardBaseAllIndividual-CZ_3lxWf-BtpGPuJl.js → CardBaseAllIndividual-D-OnB5nZ-BPn0LvNB.js} +22 -16
- package/dist/{CardGeneral-DcE_7xpj-BjirwqAW.js → CardGeneral-Bw1wA3nD-DCftAsKf.js} +55 -51
- package/dist/{CardGeneralIndividual-DbvxscVI-DgN71Ll_.js → CardGeneralIndividual-D0egQpIm-CAQh25pC.js} +116 -112
- package/dist/{CardGeneralTeams-D0Y6zdKu-bSMLQ0UN.js → CardGeneralTeams-C7jWZSZP-7UMUvMn-.js} +52 -48
- package/dist/{CardIndividual-Ki5omZJI-BJN0Xc4K.js → CardIndividual-5844PHsB-ByyQBoNQ.js} +66 -61
- package/dist/CardIndividual1vs1-CQexwdAS-IO9xzI4J.js +119 -0
- package/dist/{CardIndividualAreas-CYpbCBwP-CZlr4svT.js → CardIndividualAreas-C7_BsHLB-DxObq7Ml.js} +32 -26
- package/dist/{CardIndividualCenters-JhzJNVnv-knmAyBfO.js → CardIndividualCenters-DV5tDLfV-C1ay0coc.js} +91 -85
- package/dist/{CardIndividualDistance-CKkJ7mwB-dhRkzmM7.js → CardIndividualDistance-zl4VOolG-C3tuZVGO.js} +36 -30
- package/dist/{CardIndividualFouls-6eSJq50u-0Eo_ODlc.js → CardIndividualFouls-CvSJn7oh-HOx9vQ1u.js} +47 -41
- package/dist/{CardIndividualGoalParticipation-S3oTRiGX-B9Ubj5c2.js → CardIndividualGoalParticipation-CpyCN4pK-CMqtEPao.js} +38 -33
- package/dist/{CardIndividualGoals-CTxER-Rj-DrsBgKOW.js → CardIndividualGoals-yml-5LMF-C_GyUhBk.js} +397 -247
- package/dist/{CardIndividualGold-B4BcqctC-DsJbgA7N.js → CardIndividualGold-BN6tctB5-G6ym5byu.js} +45 -39
- package/dist/{CardIndividualNoGoalReceived-BrVOXQpB-WWzw2ZT1.js → CardIndividualNoGoalReceived-ICCs2ZM5-B1MQrZPF.js} +42 -37
- package/dist/CardIndividualPerformance-B8vQAqkl-BYR02_RY.js +113 -0
- package/dist/{CardIndividualSaves-j_epfoNL-BLIYXJi2.js → CardIndividualSaves-BwuZ8ftn-QqesnmR7.js} +41 -37
- package/dist/{CardIndividualShotsOnGoal-BTVmtE9u-BWNF8wkq.js → CardIndividualShotsOnGoal-BJME2mbD-BdBASKyS.js} +57 -51
- package/dist/{CardIndividualStatistics-DbAhxMKF-JN2q71S7.js → CardIndividualStatistics-By5s6JAO-Rv4-QyLp.js} +36 -30
- package/dist/{CardPromTournament-BtYUa7FA-B1jTn5AY.js → CardPromTournament-gihiLtUr-DUepGBni.js} +56 -47
- package/dist/{CardSuccessfulPasses-Bwg7cP83-BVI2LDec.js → CardSuccessfulPasses-CnfMp77U-rRVe9D87.js} +30 -24
- package/dist/CardTheMostProductive-BXTUS6yD-DyZgvFkv.js +87 -0
- package/dist/{Shield-wY38e4UU-DdT1mqXC.js → Shield-CqzYJKHt-OiFc4OPF.js} +3 -3
- package/dist/gsc-landing.js +1 -1
- package/dist/gsc-landing.umd.cjs +54 -54
- package/dist/{index-DyuOTImd.js → index-CidNks_N.js} +5191 -5252
- package/dist/style.css +1 -1
- package/package.json +53 -53
- package/dist/CardBase-BCSIUbwa-DOSZB9eo.js +0 -127
- package/dist/CardIndividual1vs1-DmlJbJ8B-DqGZqI9c.js +0 -113
- package/dist/CardIndividualPerformance-Kw8Qsjmn-DB6xWsL-.js +0 -108
- package/dist/CardTheMostProductive-CMoq34SC-CLWwaVwC.js +0 -81
- package/dist/CircleWithDotsBig-I8rIqrbw-GuORLRXc.js +0 -151
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.5",
|
|
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.214",
|
|
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.23",
|
|
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.5",
|
|
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,127 +0,0 @@
|
|
|
1
|
-
import { computed as u, openBlock as t, createElementBlock as o, normalizeClass as n, normalizeStyle as p, createCommentVNode as c, createElementVNode as l, renderSlot as g, pushScopeId as y, popScopeId as f } from "vue";
|
|
2
|
-
import { M as b, z as v } from "./index-DyuOTImd.js";
|
|
3
|
-
const h = (e, r) => {
|
|
4
|
-
const d = e.__vccOpts || e;
|
|
5
|
-
for (const [i, s] of r)
|
|
6
|
-
d[i] = s;
|
|
7
|
-
return d;
|
|
8
|
-
}, k = (e) => (y("data-v-32f11850"), e = e(), f(), e), m = {
|
|
9
|
-
key: 0,
|
|
10
|
-
class: "card-base__background-image"
|
|
11
|
-
}, w = ["src"], S = {
|
|
12
|
-
key: 1,
|
|
13
|
-
class: "card-base__background-overlay"
|
|
14
|
-
}, _ = { class: "card-base__slot" }, C = /* @__PURE__ */ k(() => /* @__PURE__ */ l("svg", {
|
|
15
|
-
width: "60",
|
|
16
|
-
height: "60",
|
|
17
|
-
viewBox: "0 0 60 60",
|
|
18
|
-
fill: "none",
|
|
19
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
20
|
-
}, [
|
|
21
|
-
/* @__PURE__ */ l("circle", {
|
|
22
|
-
cx: "30",
|
|
23
|
-
cy: "30",
|
|
24
|
-
r: "30",
|
|
25
|
-
fill: "#0E1E2A",
|
|
26
|
-
"fill-opacity": ".96"
|
|
27
|
-
}),
|
|
28
|
-
/* @__PURE__ */ l("circle", {
|
|
29
|
-
cx: "30",
|
|
30
|
-
cy: "30",
|
|
31
|
-
r: "26.6",
|
|
32
|
-
stroke: "#757575",
|
|
33
|
-
"stroke-width": ".8"
|
|
34
|
-
}),
|
|
35
|
-
/* @__PURE__ */ l("path", {
|
|
36
|
-
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",
|
|
37
|
-
fill: "#CBEE6B"
|
|
38
|
-
})
|
|
39
|
-
], -1)), B = [
|
|
40
|
-
C
|
|
41
|
-
], x = {
|
|
42
|
-
__name: "CardBase",
|
|
43
|
-
props: {
|
|
44
|
-
height: {
|
|
45
|
-
type: String,
|
|
46
|
-
default: "445px"
|
|
47
|
-
},
|
|
48
|
-
width: {
|
|
49
|
-
type: String,
|
|
50
|
-
default: "319px"
|
|
51
|
-
},
|
|
52
|
-
backgroundOverlayColor: {
|
|
53
|
-
type: String,
|
|
54
|
-
default: "#000000"
|
|
55
|
-
},
|
|
56
|
-
backgroundOverlayOpacity: {
|
|
57
|
-
type: String,
|
|
58
|
-
default: "0.8"
|
|
59
|
-
},
|
|
60
|
-
backgroundImageSrc: {
|
|
61
|
-
type: String,
|
|
62
|
-
default: ""
|
|
63
|
-
},
|
|
64
|
-
overflow: {
|
|
65
|
-
type: String,
|
|
66
|
-
default: "visible"
|
|
67
|
-
},
|
|
68
|
-
borderRadius: {
|
|
69
|
-
type: String,
|
|
70
|
-
default: "15px"
|
|
71
|
-
},
|
|
72
|
-
isPlayButtonVisible: {
|
|
73
|
-
type: Boolean,
|
|
74
|
-
default: !0
|
|
75
|
-
},
|
|
76
|
-
goldCardType: {
|
|
77
|
-
type: Number,
|
|
78
|
-
default: 0
|
|
79
|
-
},
|
|
80
|
-
showVideos: {
|
|
81
|
-
type: Boolean,
|
|
82
|
-
default: !0
|
|
83
|
-
}
|
|
84
|
-
},
|
|
85
|
-
setup(e) {
|
|
86
|
-
const r = e, d = u(() => ({
|
|
87
|
-
"--height": r.height,
|
|
88
|
-
"--width": r.width,
|
|
89
|
-
"--background-overlay-color": r.backgroundOverlayColor,
|
|
90
|
-
"--overflow": r.overflow,
|
|
91
|
-
"--border-radius": r.borderRadius,
|
|
92
|
-
"--background-overlay-opacity": r.backgroundOverlayOpacity,
|
|
93
|
-
"--background-gold-size": `${r.width} ${r.height}`
|
|
94
|
-
})), i = u(() => {
|
|
95
|
-
const a = [];
|
|
96
|
-
return r.goldCardType && (r.goldCardType === 1 ? a.push("gold-card-1") : r.goldCardType === 2 && a.push("gold-card-2")), a;
|
|
97
|
-
});
|
|
98
|
-
function s() {
|
|
99
|
-
b.emit(v());
|
|
100
|
-
}
|
|
101
|
-
return (a, E) => (t(), o("div", {
|
|
102
|
-
class: n(["card-base", i.value]),
|
|
103
|
-
style: p(d.value)
|
|
104
|
-
}, [
|
|
105
|
-
e.goldCardType ? c("", !0) : (t(), o("div", m, [
|
|
106
|
-
e.backgroundImageSrc ? (t(), o("img", {
|
|
107
|
-
key: 0,
|
|
108
|
-
src: e.backgroundImageSrc,
|
|
109
|
-
alt: ""
|
|
110
|
-
}, null, 8, w)) : c("", !0)
|
|
111
|
-
])),
|
|
112
|
-
e.goldCardType ? c("", !0) : (t(), o("div", S)),
|
|
113
|
-
l("div", _, [
|
|
114
|
-
g(a.$slots, "default", {}, void 0, !0)
|
|
115
|
-
]),
|
|
116
|
-
e.isPlayButtonVisible && e.showVideos ? (t(), o("div", {
|
|
117
|
-
key: 2,
|
|
118
|
-
class: "card-base__play",
|
|
119
|
-
onClick: s
|
|
120
|
-
}, B)) : c("", !0)
|
|
121
|
-
], 6));
|
|
122
|
-
}
|
|
123
|
-
}, V = /* @__PURE__ */ h(x, [["__scopeId", "data-v-32f11850"]]);
|
|
124
|
-
export {
|
|
125
|
-
V as E,
|
|
126
|
-
h as b
|
|
127
|
-
};
|
|
@@ -1,113 +0,0 @@
|
|
|
1
|
-
import { computed as i, openBlock as l, createElementBlock as d, normalizeStyle as f, createVNode as b, mergeProps as w, withCtx as v, createElementVNode as t, toDisplayString as C, Fragment as m, pushScopeId as F, popScopeId as y } from "vue";
|
|
2
|
-
import { d as L } from "./CardBaseAllIndividual-CZ_3lxWf-BtpGPuJl.js";
|
|
3
|
-
import { j as x, $ as k, H as B, B as S, R as H } from "./index-DyuOTImd.js";
|
|
4
|
-
import { b as T } from "./CardBase-BCSIUbwa-DOSZB9eo.js";
|
|
5
|
-
const g = (e) => (F("data-v-504d80ec"), e = e(), y(), e), I = { class: "onevsone__body" }, V = { class: "onevsone__body__title" }, N = { class: "contsvg" }, P = /* @__PURE__ */ g(() => /* @__PURE__ */ t("img", { src: "http://golstatsimages.blob.core.windows.net/tournaments-cards/downloaddefensivo.png" }, null, -1)), D = ["fill"], E = ["fill"], M = /* @__PURE__ */ g(() => /* @__PURE__ */ t("img", { src: "http://golstatsimages.blob.core.windows.net/tournaments-cards/download.png" }, null, -1)), U = ["fill"], Z = ["fill"], j = {
|
|
6
|
-
__name: "CardIndividual1vs1",
|
|
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: 0
|
|
23
|
-
},
|
|
24
|
-
showVideos: {
|
|
25
|
-
type: Boolean,
|
|
26
|
-
default: !0
|
|
27
|
-
}
|
|
28
|
-
},
|
|
29
|
-
setup(e) {
|
|
30
|
-
const o = e, h = i(() => {
|
|
31
|
-
var r, n, a, s, c, u, p;
|
|
32
|
-
return {
|
|
33
|
-
height: o.height,
|
|
34
|
-
width: o.width,
|
|
35
|
-
footerHeight: "137px",
|
|
36
|
-
footerPadding: "24px 24px 25px 24px",
|
|
37
|
-
playerPhotoUrl: x(o.data.player_id || ""),
|
|
38
|
-
teamLogoUrl: k(o.data.team_id || "") || "",
|
|
39
|
-
cardColor: o.data.thumbnails.colors.background_color || "#000000",
|
|
40
|
-
backgroundImageSrc: B((s = (a = (n = (r = o.data) == null ? void 0 : r.thumbnails) == null ? void 0 : n.images) == null ? void 0 : a.background_player_in_action) != null && s[0] ? o.data.thumbnails.images.background_player_in_action[0] : (p = (u = (c = o.data) == null ? void 0 : c.thumbnails) == null ? void 0 : u.images) != null && p.background_team ? o.data.thumbnails.images.background_team : ""),
|
|
41
|
-
textColor: o.data.thumbnails.colors.font_color_description || "#FFFFFF",
|
|
42
|
-
footerBodyData: {
|
|
43
|
-
textColor: o.data.thumbnails.colors.font_color_stats || "#FFFFFF",
|
|
44
|
-
description: S(H({ data: o.data, descriptionType: o.descriptionType })),
|
|
45
|
-
total: o.data.footer && o.data.footer.show_percentage == 1 ? o.data.percentage : o.data.total,
|
|
46
|
-
totalTextColor: o.data.thumbnails.colors.font_color_stats || "#FFFFFF",
|
|
47
|
-
totalCircleColor: o.data.thumbnails.colors.background_color || "#000000",
|
|
48
|
-
isTotalPercentage: o.data.footer && !!o.data.footer.show_percentage
|
|
49
|
-
}
|
|
50
|
-
};
|
|
51
|
-
});
|
|
52
|
-
i(() => o.data.id);
|
|
53
|
-
const _ = i(() => ({
|
|
54
|
-
"--title-color": o.data.thumbnails.colors.font_color_header || "#FFFFFF"
|
|
55
|
-
}));
|
|
56
|
-
return (r, n) => (l(), d("div", {
|
|
57
|
-
class: "onevsone",
|
|
58
|
-
style: f(_.value)
|
|
59
|
-
}, [
|
|
60
|
-
b(L, w(h.value, { "show-videos": e.showVideos }), {
|
|
61
|
-
body: v(() => {
|
|
62
|
-
var a;
|
|
63
|
-
return [
|
|
64
|
-
t("div", I, [
|
|
65
|
-
t("div", V, C(o.data.title.replace(/\*/g, "")), 1),
|
|
66
|
-
t("div", N, [
|
|
67
|
-
(a = o.data.categories) != null && a.includes(4) ? (l(), d(m, { key: 1 }, [
|
|
68
|
-
M,
|
|
69
|
-
(l(), d("svg", {
|
|
70
|
-
width: "12",
|
|
71
|
-
class: "arrow",
|
|
72
|
-
height: "75",
|
|
73
|
-
viewBox: "0 0 12 75",
|
|
74
|
-
fill: o.data.thumbnails.colors.icon_color,
|
|
75
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
76
|
-
}, [
|
|
77
|
-
t("path", {
|
|
78
|
-
"fill-rule": "evenodd",
|
|
79
|
-
"clip-rule": "evenodd",
|
|
80
|
-
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",
|
|
81
|
-
fill: o.data.thumbnails.colors.icon_color
|
|
82
|
-
}, null, 8, Z)
|
|
83
|
-
], 8, U))
|
|
84
|
-
], 64)) : (l(), d(m, { key: 0 }, [
|
|
85
|
-
P,
|
|
86
|
-
(l(), d("svg", {
|
|
87
|
-
class: "arrow",
|
|
88
|
-
width: "12",
|
|
89
|
-
height: "75",
|
|
90
|
-
viewBox: "0 0 12 75",
|
|
91
|
-
fill: o.data.thumbnails.colors.icon_color,
|
|
92
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
93
|
-
}, [
|
|
94
|
-
t("path", {
|
|
95
|
-
"fill-rule": "evenodd",
|
|
96
|
-
"clip-rule": "evenodd",
|
|
97
|
-
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",
|
|
98
|
-
fill: o.data.thumbnails.colors.icon_color
|
|
99
|
-
}, null, 8, E)
|
|
100
|
-
], 8, D))
|
|
101
|
-
], 64))
|
|
102
|
-
])
|
|
103
|
-
])
|
|
104
|
-
];
|
|
105
|
-
}),
|
|
106
|
-
_: 1
|
|
107
|
-
}, 16, ["show-videos"])
|
|
108
|
-
], 4));
|
|
109
|
-
}
|
|
110
|
-
}, O = /* @__PURE__ */ T(j, [["__scopeId", "data-v-504d80ec"]]);
|
|
111
|
-
export {
|
|
112
|
-
O as default
|
|
113
|
-
};
|
|
@@ -1,108 +0,0 @@
|
|
|
1
|
-
import { computed as d, openBlock as h, createElementBlock as v, normalizeStyle as y, createVNode as c, mergeProps as F, withCtx as g, createElementVNode as t, toDisplayString as i, pushScopeId as x, popScopeId as S } from "vue";
|
|
2
|
-
import { d as C } from "./CardBaseAllIndividual-CZ_3lxWf-BtpGPuJl.js";
|
|
3
|
-
import { j as w, H as T, B as k, R as B, V as N } from "./index-DyuOTImd.js";
|
|
4
|
-
import { b as V } from "./CardBase-BCSIUbwa-DOSZB9eo.js";
|
|
5
|
-
import { G as m } from "./CircleWithDotsBig-I8rIqrbw-GuORLRXc.js";
|
|
6
|
-
const I = (e) => (x("data-v-4dfe79fb"), e = e(), S(), e), P = { class: "performance__body" }, j = { class: "performance__body__title-sub" }, H = { class: "performance__body__title-sub__title" }, O = { class: "performance__body__title-sub__sub" }, $ = { class: "performance__body__data" }, D = { class: "performance__body__data__total-season" }, E = { class: "performance__body__data__total-season__season" }, z = /* @__PURE__ */ I(() => /* @__PURE__ */ t("span", { class: "arrow" }, "→", -1)), U = { class: "performance__body__data__total-season" }, q = { class: "performance__body__data__total-season__season" }, A = {
|
|
7
|
-
__name: "CardIndividualPerformance",
|
|
8
|
-
props: {
|
|
9
|
-
height: {
|
|
10
|
-
type: String,
|
|
11
|
-
default: "445px"
|
|
12
|
-
},
|
|
13
|
-
width: {
|
|
14
|
-
type: String,
|
|
15
|
-
default: "319px"
|
|
16
|
-
},
|
|
17
|
-
data: {
|
|
18
|
-
type: Object,
|
|
19
|
-
default: () => null
|
|
20
|
-
},
|
|
21
|
-
descriptionType: {
|
|
22
|
-
type: Number,
|
|
23
|
-
default: 4
|
|
24
|
-
},
|
|
25
|
-
showVideos: {
|
|
26
|
-
type: Boolean,
|
|
27
|
-
default: !0
|
|
28
|
-
}
|
|
29
|
-
},
|
|
30
|
-
setup(e) {
|
|
31
|
-
const a = e, b = d(() => {
|
|
32
|
-
var l, r, s, n, u, _, p;
|
|
33
|
-
return {
|
|
34
|
-
height: a.height,
|
|
35
|
-
width: a.width,
|
|
36
|
-
footerHeight: "fit-content",
|
|
37
|
-
playerPhotoPositionTop: "24px",
|
|
38
|
-
playerPhotoUrl: w(a.data.player_id || ""),
|
|
39
|
-
cardColor: (a.data.thumbnails.colors.background_color || "#000000").trim(),
|
|
40
|
-
backgroundImageSrc: T((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 : u.thumbnails) == null ? void 0 : _.images) != null && p.background_team ? a.data.thumbnails.images.background_team : ""),
|
|
41
|
-
textColor: (a.data.thumbnails.colors.text_color_description || "#FFFFFF").trim(),
|
|
42
|
-
footerBodyData: {
|
|
43
|
-
description: k(B({ data: a.data, descriptionType: a.descriptionType })),
|
|
44
|
-
total: a.data.total,
|
|
45
|
-
textColor: (a.data.thumbnails.colors.font_color_description || "#FFFFFF").trim()
|
|
46
|
-
}
|
|
47
|
-
};
|
|
48
|
-
}), o = d(() => {
|
|
49
|
-
const { title: l, subtitle: r } = N(a.data.title), [s, n] = a.data.totals;
|
|
50
|
-
return {
|
|
51
|
-
title: l,
|
|
52
|
-
subtitle: r,
|
|
53
|
-
pastSeasonName: n.season,
|
|
54
|
-
currentSeasonName: s.season,
|
|
55
|
-
pastSeasonTotal: n.total,
|
|
56
|
-
currentSeasonTotal: s.total,
|
|
57
|
-
textColor: (a.data.thumbnails.colors.font_color_description || "#FFFFFF").trim(),
|
|
58
|
-
circleOneColor: (a.data.thumbnails.colors.data_color_2 || "#000000").trim(),
|
|
59
|
-
circleTwoColor: (a.data.thumbnails.colors.data_color || "#000000").trim()
|
|
60
|
-
};
|
|
61
|
-
});
|
|
62
|
-
d(() => a.data.id);
|
|
63
|
-
const f = d(() => ({
|
|
64
|
-
"--data-color": a.data.thumbnails.colors.background_color_cards || "#000000",
|
|
65
|
-
"--title-color": (a.data.thumbnails.colors.font_color_header || "#FFFFFF").trim()
|
|
66
|
-
}));
|
|
67
|
-
return (l, r) => (h(), v("div", {
|
|
68
|
-
class: "performance",
|
|
69
|
-
style: y(f.value)
|
|
70
|
-
}, [
|
|
71
|
-
c(C, F(b.value, { "show-videos": e.showVideos }), {
|
|
72
|
-
body: g(() => [
|
|
73
|
-
t("div", P, [
|
|
74
|
-
t("div", j, [
|
|
75
|
-
t("div", H, i(o.value.title), 1),
|
|
76
|
-
t("div", O, i(o.value.subtitle), 1)
|
|
77
|
-
]),
|
|
78
|
-
t("div", $, [
|
|
79
|
-
t("div", D, [
|
|
80
|
-
c(m, {
|
|
81
|
-
value: o.value.pastSeasonTotal,
|
|
82
|
-
suffix: "",
|
|
83
|
-
"text-color": o.value.textColor,
|
|
84
|
-
color: o.value.circleOneColor
|
|
85
|
-
}, null, 8, ["value", "text-color", "color"]),
|
|
86
|
-
t("div", E, i(o.value.pastSeasonName), 1)
|
|
87
|
-
]),
|
|
88
|
-
z,
|
|
89
|
-
t("div", U, [
|
|
90
|
-
c(m, {
|
|
91
|
-
value: o.value.currentSeasonTotal,
|
|
92
|
-
suffix: "",
|
|
93
|
-
"text-color": o.value.textColor,
|
|
94
|
-
color: o.value.circleTwoColor
|
|
95
|
-
}, null, 8, ["value", "text-color", "color"]),
|
|
96
|
-
t("div", q, i(o.value.currentSeasonName), 1)
|
|
97
|
-
])
|
|
98
|
-
])
|
|
99
|
-
])
|
|
100
|
-
]),
|
|
101
|
-
_: 1
|
|
102
|
-
}, 16, ["show-videos"])
|
|
103
|
-
], 4));
|
|
104
|
-
}
|
|
105
|
-
}, K = /* @__PURE__ */ V(A, [["__scopeId", "data-v-4dfe79fb"]]);
|
|
106
|
-
export {
|
|
107
|
-
K as default
|
|
108
|
-
};
|
|
@@ -1,81 +0,0 @@
|
|
|
1
|
-
import { computed as s, openBlock as h, createElementBlock as b, createVNode as c, mergeProps as f, withCtx as y, createElementVNode as m, normalizeStyle as v, toDisplayString as F } from "vue";
|
|
2
|
-
import { d as k } from "./CardBaseAllIndividual-CZ_3lxWf-BtpGPuJl.js";
|
|
3
|
-
import { N as w } from "./Shield-wY38e4UU-DdT1mqXC.js";
|
|
4
|
-
import { H as p, B as x, R as B, V as C, $ as S, j as V } from "./index-DyuOTImd.js";
|
|
5
|
-
import { b as A } from "./CardBase-BCSIUbwa-DOSZB9eo.js";
|
|
6
|
-
const D = { class: "productive" }, I = { class: "productive__body__title" }, N = {
|
|
7
|
-
__name: "CardTheMostProductive",
|
|
8
|
-
props: {
|
|
9
|
-
height: {
|
|
10
|
-
type: String,
|
|
11
|
-
default: "445px"
|
|
12
|
-
},
|
|
13
|
-
width: {
|
|
14
|
-
type: String,
|
|
15
|
-
default: "319px"
|
|
16
|
-
},
|
|
17
|
-
data: {
|
|
18
|
-
type: Object,
|
|
19
|
-
default: () => null
|
|
20
|
-
},
|
|
21
|
-
descriptionType: {
|
|
22
|
-
type: Number,
|
|
23
|
-
default: 4
|
|
24
|
-
},
|
|
25
|
-
showVideos: {
|
|
26
|
-
type: Boolean,
|
|
27
|
-
default: !0
|
|
28
|
-
}
|
|
29
|
-
},
|
|
30
|
-
setup(u) {
|
|
31
|
-
const e = u, _ = s(() => {
|
|
32
|
-
var t, a, i, l, r, n, d;
|
|
33
|
-
return {
|
|
34
|
-
height: e.height,
|
|
35
|
-
width: e.width,
|
|
36
|
-
footerHeight: "112px",
|
|
37
|
-
cardColor: (e.data.thumbnails.colors.background_color || "#000000").trim(),
|
|
38
|
-
backgroundImageSrc: p((l = (i = (a = (t = e.data) == null ? void 0 : t.thumbnails) == null ? void 0 : a.images) == null ? void 0 : i.background_player_in_action) != null && l[0] ? e.data.thumbnails.images.background_player_in_action[0] : (d = (n = (r = e.data) == null ? void 0 : r.thumbnails) == null ? void 0 : n.images) != null && d.background_team ? e.data.thumbnails.images.background_team : ""),
|
|
39
|
-
footerBodyData: {
|
|
40
|
-
description: x(B({ data: e.data, descriptionType: e.descriptionType })),
|
|
41
|
-
textColor: (e.data.thumbnails.colors.font_color_description || "#FFFFFF").trim()
|
|
42
|
-
}
|
|
43
|
-
};
|
|
44
|
-
}), o = s(() => {
|
|
45
|
-
var t, a, i, l;
|
|
46
|
-
const r = !!((l = (i = (a = (t = e.data) == null ? void 0 : t.thumbnails) == null ? void 0 : a.images) == null ? void 0 : i.player_in_action) != null && l[0]), { title: n, subtitle: d } = C(e.data.title);
|
|
47
|
-
return {
|
|
48
|
-
title: n,
|
|
49
|
-
teamLogoUrl: S(e.data.team_id || ""),
|
|
50
|
-
playerInActionSrc: r ? p(e.data.thumbnails.images.player_in_action[0]) : V(e.data.player_id || ""),
|
|
51
|
-
shieldColor: (e.data.thumbnails.colors.graphic_color || "#5DACFF").trim(),
|
|
52
|
-
translate: r ? "0 8px" : "0 -16px"
|
|
53
|
-
};
|
|
54
|
-
}), g = s(() => ({
|
|
55
|
-
"--title-color": (e.data.thumbnails.colors.font_color_header || "#FFFFFF").trim()
|
|
56
|
-
}));
|
|
57
|
-
return (t, a) => (h(), b("div", D, [
|
|
58
|
-
c(k, f(_.value, { "show-videos": u.showVideos }), {
|
|
59
|
-
body: y(() => [
|
|
60
|
-
m("div", {
|
|
61
|
-
class: "productive__body",
|
|
62
|
-
style: v(g.value)
|
|
63
|
-
}, [
|
|
64
|
-
m("div", I, F(o.value.title), 1),
|
|
65
|
-
c(w, {
|
|
66
|
-
id: e.data.id,
|
|
67
|
-
"team-logo-src": o.value.teamLogoUrl,
|
|
68
|
-
"inner-image-src": o.value.playerInActionSrc,
|
|
69
|
-
color: o.value.shieldColor,
|
|
70
|
-
"inner-image-translate": o.value.translate
|
|
71
|
-
}, null, 8, ["id", "team-logo-src", "inner-image-src", "color", "inner-image-translate"])
|
|
72
|
-
], 4)
|
|
73
|
-
]),
|
|
74
|
-
_: 1
|
|
75
|
-
}, 16, ["show-videos"])
|
|
76
|
-
]));
|
|
77
|
-
}
|
|
78
|
-
}, M = /* @__PURE__ */ A(N, [["__scopeId", "data-v-591e8894"]]);
|
|
79
|
-
export {
|
|
80
|
-
M as default
|
|
81
|
-
};
|