@golstats/gsc-landing 1.0.210 → 1.0.212

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 (31) hide show
  1. package/dist/{CardBase-D2PPB-i0-BSL07ywy.js → CardBase-BCSIUbwa-DOSZB9eo.js} +3 -3
  2. package/dist/{CardBaseAllIndividual-BtD15BfP-CgQeoWdJ.js → CardBaseAllIndividual-CZ_3lxWf-BtpGPuJl.js} +64 -55
  3. package/dist/{CardGeneral-Db7PtjpY-BrwPTFva.js → CardGeneral-DcE_7xpj-BjirwqAW.js} +23 -23
  4. package/dist/{CardGeneralIndividual-B7hJ1cJT-CFPAU2oF.js → CardGeneralIndividual-DbvxscVI-DgN71Ll_.js} +16 -16
  5. package/dist/{CardGeneralTeams-D8ZC2bRY-N_UEQmSa.js → CardGeneralTeams-D0Y6zdKu-bSMLQ0UN.js} +22 -22
  6. package/dist/{CardIndividual-CFpXabtZ-D0w9R16O.js → CardIndividual-Ki5omZJI-BJN0Xc4K.js} +35 -35
  7. package/dist/{CardIndividual1vs1-dGQ0VDLL-f0mqI-dy.js → CardIndividual1vs1-DmlJbJ8B-DqGZqI9c.js} +19 -19
  8. package/dist/{CardIndividualAreas-E2RY6NuF-CiOlFduq.js → CardIndividualAreas-CYpbCBwP-CZlr4svT.js} +10 -10
  9. package/dist/{CardIndividualCenters-DYNn1gUK-FyVETZXG.js → CardIndividualCenters-JhzJNVnv-knmAyBfO.js} +142 -128
  10. package/dist/{CardIndividualDistance-DcENou2v-D6qOTc9p.js → CardIndividualDistance-CKkJ7mwB-dhRkzmM7.js} +13 -13
  11. package/dist/{CardIndividualFouls-b7Ae3kJx-BvE6QIzJ.js → CardIndividualFouls-6eSJq50u-0Eo_ODlc.js} +15 -15
  12. package/dist/{CardIndividualGoalParticipation-QhK-SHO0-DZltnxma.js → CardIndividualGoalParticipation-S3oTRiGX-B9Ubj5c2.js} +9 -9
  13. package/dist/{CardIndividualGoals-CtdA3WIi-CCiOnY-Q.js → CardIndividualGoals-CTxER-Rj-DrsBgKOW.js} +214 -264
  14. package/dist/CardIndividualGold-B4BcqctC-DsJbgA7N.js +128 -0
  15. package/dist/{CardIndividualNoGoalReceived-lIZnPxlW-BRB-ktHy.js → CardIndividualNoGoalReceived-BrVOXQpB-WWzw2ZT1.js} +14 -14
  16. package/dist/{CardIndividualPerformance-BAa6VBL4-CVJUDSDe.js → CardIndividualPerformance-Kw8Qsjmn-DB6xWsL-.js} +19 -19
  17. package/dist/{CardIndividualSaves-Co35mxDZ-DhVjkPx2.js → CardIndividualSaves-j_epfoNL-BLIYXJi2.js} +30 -30
  18. package/dist/{CardIndividualShotsOnGoal-BqrJWNg2-CY0tOCF1.js → CardIndividualShotsOnGoal-BTVmtE9u-BWNF8wkq.js} +68 -77
  19. package/dist/{CardIndividualStatistics-BzQ49WmS-D6YUc7s1.js → CardIndividualStatistics-DbAhxMKF-JN2q71S7.js} +9 -9
  20. package/dist/{CardPromTournament-DF3Lx49G-BhtHgR14.js → CardPromTournament-BtYUa7FA-B1jTn5AY.js} +5 -5
  21. package/dist/{CardSuccessfulPasses-BTfsfPZY-DqaYnV3I.js → CardSuccessfulPasses-Bwg7cP83-BVI2LDec.js} +5 -5
  22. package/dist/{CardTheMostProductive-gjJTU5gM-DaEN0f5h.js → CardTheMostProductive-CMoq34SC-CLWwaVwC.js} +11 -11
  23. package/dist/{CircleWithDotsBig-3oDL9dtc-D8yET2DS.js → CircleWithDotsBig-I8rIqrbw-GuORLRXc.js} +1 -1
  24. package/dist/{Shield-CylUzPz2-DKfnKzsu.js → Shield-wY38e4UU-DdT1mqXC.js} +1 -1
  25. package/dist/TimeSvg2-Cl28aqUW-CYEg4vC4.js +56 -0
  26. package/dist/gsc-landing.js +1 -1
  27. package/dist/gsc-landing.umd.cjs +57 -57
  28. package/dist/{index-BiKXrdSy.js → index-DyuOTImd.js} +1847 -1851
  29. package/dist/style.css +1 -1
  30. package/package.json +2 -2
  31. package/dist/CardIndividualGold-BPrJOY01-FtHJCaGT.js +0 -125
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@golstats/gsc-landing",
3
- "version": "1.0.210",
3
+ "version": "1.0.212",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist"
@@ -24,7 +24,7 @@
24
24
  "@golstats/gsc-button": "^1.0.14",
25
25
  "@golstats/gsc-calendar-by-game": "^1.0.79",
26
26
  "@golstats/gsc-carousel": "^1.0.15",
27
- "@golstats/gsc-data-cards": "^1.0.18",
27
+ "@golstats/gsc-data-cards": "^1.0.20",
28
28
  "@golstats/gsc-general-table": "^1.0.52",
29
29
  "@golstats/gsc-mosaic-the-best": "^1.0.14",
30
30
  "@golstats/gsc-player-team-game": "^1.1.71",
@@ -1,125 +0,0 @@
1
- import { ref as b, computed as o, openBlock as d, createElementBlock as n, createVNode as u, mergeProps as w, withCtx as F, createElementVNode as i, normalizeClass as S, normalizeStyle as C, toDisplayString as g } from "vue";
2
- import { r as I } from "./CardBaseAllIndividual-BtD15BfP-CgQeoWdJ.js";
3
- import { N } from "./Shield-CylUzPz2-DKfnKzsu.js";
4
- import { O as T, R as H, V, H as $, j as k } from "./index-BiKXrdSy.js";
5
- import { b as z } from "./CardBase-D2PPB-i0-BSL07ywy.js";
6
- const B = { class: "gold-card" }, D = { class: "gold-card__body__title" }, E = {
7
- key: 0,
8
- class: "gold-card__body__shield"
9
- }, L = {
10
- key: 1,
11
- class: "gold-card__body__player-photo"
12
- }, j = ["src"], G = { class: "gold-card__body__sub-title" }, O = {
13
- __name: "CardIndividualGold",
14
- props: {
15
- height: {
16
- type: String,
17
- default: "445px"
18
- },
19
- width: {
20
- type: String,
21
- default: "319px"
22
- },
23
- data: {
24
- type: Object,
25
- default: () => null
26
- },
27
- descriptionType: {
28
- type: Number,
29
- default: 4
30
- },
31
- showVideos: {
32
- type: Boolean,
33
- default: !0
34
- }
35
- },
36
- setup(s) {
37
- const t = s, _ = /* @__PURE__ */ new Set([
38
- "85-i",
39
- "91-i",
40
- "97-i",
41
- "103-i",
42
- "109-i",
43
- "115-i",
44
- "121-i",
45
- "127-i",
46
- "133-i",
47
- "139-i",
48
- "145-i",
49
- "151-i",
50
- "157-i",
51
- "163-i",
52
- "169-i",
53
- "175-i",
54
- "178-i",
55
- "179-i",
56
- "185-i"
57
- ]), h = b({
58
- width: "50px",
59
- height: "50px",
60
- bottom: "34px",
61
- right: "-8px",
62
- innerImageWidth: "39px",
63
- innerImageHeight: "39px"
64
- }), e = o(() => _.has(t.data.id) ? 1 : 2), v = o(() => ({
65
- height: t.height,
66
- width: t.width,
67
- footerHeight: "137px",
68
- teamLogoUrl: e.value === 2 ? `https://golstatsimages.blob.core.windows.net/tournaments-cards/${t.data.tournament_id}.png` : "",
69
- footerBodyData: {
70
- description: T(H({ data: t.data, descriptionType: t.descriptionType })),
71
- total: t.data.footer.show_percentage ? t.data.percentage : t.data.total,
72
- textColor: (t.data.thumbnails.colors.font_color_description || "#FFFFFF").trim(),
73
- totalTextColor: (t.data.thumbnails.colors.font_color_stats || "#FFFFFF").trim(),
74
- totalCircleColor: (t.data.thumbnails.colors.data_color || "#000000").trim(),
75
- isTotalPercentage: t.data.footer.show_percentage
76
- },
77
- goldCardType: e.value
78
- })), a = o(() => {
79
- var l, r, p, c;
80
- const { title: f, subtitle: x } = V(t.data.title), m = !!((c = (p = (r = (l = t.data) == null ? void 0 : l.thumbnails) == null ? void 0 : r.images) == null ? void 0 : p.player_in_action) != null && c[0]);
81
- return {
82
- title: f,
83
- subtitle: x,
84
- innerImageSrc: m ? $(t.data.thumbnails.images.player_in_action[0]) : k(t.data.player_id || ""),
85
- tournamentLogoSrc: `https://az755631.vo.msecnd.net/todoelfut/${t.data.tournament_id}.png`,
86
- translate: m ? "-38px 23px" : "-40px 6px"
87
- };
88
- }), y = o(() => ({
89
- "--max-width-title": e.value === 2 ? "220px" : "100%",
90
- "--player-image-width": e.value === 2 ? "180px" : "230px"
91
- }));
92
- return (l, r) => (d(), n("div", B, [
93
- u(I, w(v.value, { "show-videos": s.showVideos }), {
94
- body: F(() => [
95
- i("div", {
96
- class: S(["gold-card__body", { "type-2": e.value === 2 }]),
97
- style: C(y.value)
98
- }, [
99
- i("div", D, g(a.value.title), 1),
100
- e.value === 1 ? (d(), n("div", E, [
101
- u(N, {
102
- "team-logo-src": a.value.tournamentLogoSrc,
103
- width: 131,
104
- "team-logo-circle-props": h.value,
105
- color: "#C3A650",
106
- "inner-image-translate": a.value.translate,
107
- "inner-image-src": a.value.innerImageSrc
108
- }, null, 8, ["team-logo-src", "team-logo-circle-props", "inner-image-translate", "inner-image-src"])
109
- ])) : (d(), n("div", L, [
110
- i("img", {
111
- src: a.value.innerImageSrc,
112
- alt: ""
113
- }, null, 8, j)
114
- ])),
115
- i("div", G, g(a.value.subtitle), 1)
116
- ], 6)
117
- ]),
118
- _: 1
119
- }, 16, ["show-videos"])
120
- ]));
121
- }
122
- }, W = /* @__PURE__ */ z(O, [["__scopeId", "data-v-16ad28ff"]]);
123
- export {
124
- W as default
125
- };