@golstats/gsc-landing 1.0.205 → 1.0.206

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 (33) hide show
  1. package/README.md +2 -2
  2. package/dist/CardBase-FI6JXGHQ-DgZSiy8R.js +127 -0
  3. package/dist/{CardBaseAllIndividual-VdTcJTWG-BVu0s4Ia.js → CardBaseAllIndividual-DmeCG9Bu-LvinOZnn.js} +14 -14
  4. package/dist/{CardGeneral-C-VvuOx1-DZ1STmiu.js → CardGeneral-CA0zyzc5-DTGPMgoe.js} +36 -35
  5. package/dist/{CardGeneralIndividual-Dgeu5sRM-B8G1a9du.js → CardGeneralIndividual-CGvW_cNJ-CWAOLODF.js} +28 -27
  6. package/dist/{CardGeneralTeams-Bio2uWy5-JwL6999E.js → CardGeneralTeams-B2Mt_1ck-CZairEy1.js} +25 -24
  7. package/dist/{CardIndividual-C3vZnJKJ-5q9bHalb.js → CardIndividual-CVuyIMNJ-BinEbeF0.js} +72 -71
  8. package/dist/{CardIndividual1vs1-ayelgnf_-Dzunebe6.js → CardIndividual1vs1-CHGIwVW_-CL09RBuw.js} +19 -18
  9. package/dist/{CardIndividualAreas-Be04td4J-D8hPG9Ld.js → CardIndividualAreas-CTSkG6vH-DdMX1DPx.js} +109 -108
  10. package/dist/{CardIndividualCenters-CY_VblPm-tco6UKC3.js → CardIndividualCenters-CtOymA-1-Dia2it8D.js} +22 -21
  11. package/dist/{CardIndividualDistance-BJMYJrZB-CSYRc_Hh.js → CardIndividualDistance-BEunwEvl-Ck4Eib53.js} +19 -18
  12. package/dist/{CardIndividualFouls-CBm_fj6Z-BMwjoJEP.js → CardIndividualFouls-BZmy1C5v-tvHPDay7.js} +30 -29
  13. package/dist/{CardIndividualGoalParticipation-dDcZFtIb-CwBtEPQN.js → CardIndividualGoalParticipation-BfQRXmuo-DMHkdzl5.js} +15 -14
  14. package/dist/{CardIndividualGoals-Lu8PEJkR-B7Wc968g.js → CardIndividualGoals-DG9vgQml-1hwxM4xL.js} +270 -218
  15. package/dist/{CardIndividualGold-Ptz6THCG-BRqzfQcT.js → CardIndividualGold-Rwil02C5-Dvg03mET.js} +17 -16
  16. package/dist/{CardIndividualNoGoalReceived-kUSshVQ5-B_Vte5MR.js → CardIndividualNoGoalReceived-DKrbZDyK-szhW24LN.js} +20 -19
  17. package/dist/{CardIndividualPerformance-BUOn0sF1-9J7h-EAR.js → CardIndividualPerformance-BxmlC3DF-kLfzL9S9.js} +22 -21
  18. package/dist/{CardIndividualSaves-DRGasLFI-C3bqv0g3.js → CardIndividualSaves-CpNX7tF6-C0kcQFrp.js} +48 -47
  19. package/dist/{CardIndividualShotsOnGoal-D9Dx66aR-DAEm50w4.js → CardIndividualShotsOnGoal-Bz2egr4P-Fb4NnBY_.js} +26 -25
  20. package/dist/{CardIndividualStatistics-QY2fzyFQ-Cx6f8RYu.js → CardIndividualStatistics-SG4MGex_-Ch5fK7Iv.js} +29 -28
  21. package/dist/{CardPromTournament-BScZREpO-D50kVl_Z.js → CardPromTournament-Crs0KmXt-D89xrrMZ.js} +27 -26
  22. package/dist/{CardSuccessfulPasses-B3BQ72bh-2Afgc80U.js → CardSuccessfulPasses-BCOa64Fb-DnR3a8mm.js} +112 -111
  23. package/dist/{CardTheMostProductive-DhsxmRN2-BerzYRSH.js → CardTheMostProductive-BewV6KUX-BJLdMRql.js} +15 -14
  24. package/dist/{CircleWithDotsBig-ayb1XwYk-BxAR6vi7.js → CircleWithDotsBig-BXHW1pPv-Dt0X3xrN.js} +8 -8
  25. package/dist/{Shield-DAT34Ykl-aryfBwhm.js → Shield-DrqywZtU-Cjo78NyW.js} +6 -6
  26. package/dist/TimeSvg-B3vSNjgQ-BbQ6V9Cu.js +56 -0
  27. package/dist/gsc-landing.js +2 -57703
  28. package/dist/gsc-landing.umd.cjs +57 -57
  29. package/dist/index-BfXTbEFT.js +57868 -0
  30. package/dist/style.css +1 -1
  31. package/package.json +53 -53
  32. package/dist/TimeSvg-Cxp_p6OH-cZfI6hDf.js +0 -95
  33. package/dist/misc-D94RabGe-BRVOC8Yx.js +0 -172
package/package.json CHANGED
@@ -1,53 +1,53 @@
1
- {
2
- "name": "@golstats/gsc-landing",
3
- "version": "1.0.205",
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.3",
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.206",
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.17",
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.3",
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,95 +0,0 @@
1
- import { computed as n, openBlock as t, createElementBlock as i, createElementVNode as o } from "vue";
2
- const s = {
3
- key: 0,
4
- width: "33",
5
- height: "38",
6
- viewBox: "0 0 33 38",
7
- fill: "none",
8
- xmlns: "http://www.w3.org/2000/svg"
9
- }, c = ["stroke"], d = ["fill"], p = ["fill"], k = ["stroke"], u = {
10
- key: 1,
11
- width: "33",
12
- height: "38",
13
- viewBox: "0 0 33 38",
14
- fill: "none",
15
- xmlns: "http://www.w3.org/2000/svg"
16
- }, a = ["stroke"], h = ["fill"], C = ["fill"], f = ["stroke"], m = {
17
- __name: "TimeSvg",
18
- props: {
19
- conditions: {
20
- type: Object,
21
- default: null
22
- },
23
- lineColor: {
24
- type: String,
25
- default: "white"
26
- },
27
- fillColor: {
28
- type: String,
29
- default: "#2755C9"
30
- }
31
- },
32
- setup(l) {
33
- const e = l, r = n(() => e.conditions && e.conditions.matchlapse ? e.conditions.matchlapse : 0);
34
- return (w, x) => r.value === 1 ? (t(), i("svg", s, [
35
- o("path", {
36
- d: "M12.0977 1.87988H21.0811",
37
- stroke: l.lineColor,
38
- "stroke-width": "2.09616",
39
- "stroke-linecap": "round"
40
- }, null, 8, c),
41
- o("ellipse", {
42
- cx: "16.5897",
43
- cy: "21.3442",
44
- rx: "14.9725",
45
- ry: "14.9727",
46
- fill: l.fillColor
47
- }, null, 8, d),
48
- o("path", {
49
- d: "M31.5622 21.3442C31.5622 19.378 31.1749 17.431 30.4224 15.6144C29.67 13.7979 28.5671 12.1473 27.1768 10.757C25.7865 9.36663 24.1359 8.26375 22.3194 7.51131C20.5028 6.75886 18.5559 6.37158 16.5897 6.37158L16.5897 21.3442H31.5622Z",
50
- fill: l.lineColor
51
- }, null, 8, p),
52
- o("ellipse", {
53
- cx: "16.5897",
54
- cy: "21.3442",
55
- rx: "14.9725",
56
- ry: "14.9727",
57
- stroke: l.lineColor,
58
- "stroke-width": "2.09616",
59
- "stroke-linecap": "round",
60
- "stroke-linejoin": "round"
61
- }, null, 8, k)
62
- ])) : (t(), i("svg", u, [
63
- o("path", {
64
- d: "M12.0977 1.87988H21.0811",
65
- stroke: l.lineColor,
66
- "stroke-width": "2.09616",
67
- "stroke-linecap": "round"
68
- }, null, 8, a),
69
- o("ellipse", {
70
- cx: "16.5897",
71
- cy: "21.3442",
72
- rx: "14.9725",
73
- ry: "14.9727",
74
- fill: l.fillColor
75
- }, null, 8, h),
76
- o("path", {
77
- d: "M1.61719 21.3442C1.61719 23.3105 2.00446 25.2575 2.7569 27.074C3.50934 28.8906 4.6122 30.5412 6.00253 31.9315C7.39285 33.3218 9.0434 34.4247 10.8599 35.1772C12.6765 35.9296 14.6235 36.3169 16.5897 36.3169L16.5897 21.3442L1.61719 21.3442Z",
78
- fill: l.lineColor
79
- }, null, 8, C),
80
- o("ellipse", {
81
- cx: "16.5897",
82
- cy: "21.3442",
83
- rx: "14.9725",
84
- ry: "14.9727",
85
- stroke: l.lineColor,
86
- "stroke-width": "2.09616",
87
- "stroke-linecap": "round",
88
- "stroke-linejoin": "round"
89
- }, null, 8, f)
90
- ]));
91
- }
92
- };
93
- export {
94
- m as y
95
- };
@@ -1,172 +0,0 @@
1
- import { computed as c, openBlock as i, createElementBlock as s, normalizeClass as l, normalizeStyle as u, createCommentVNode as d, createElementVNode as n, renderSlot as p, pushScopeId as g, popScopeId as y } from "vue";
2
- const f = (e, t) => {
3
- const r = e.__vccOpts || e;
4
- for (const [a, o] of t)
5
- r[a] = o;
6
- return r;
7
- }, h = (e) => (g("data-v-6a5cdd27"), e = e(), y(), e), 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__ */ n("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__ */ n("circle", {
24
- cx: "30",
25
- cy: "30",
26
- r: "30",
27
- fill: "#0E1E2A",
28
- "fill-opacity": ".96"
29
- }),
30
- /* @__PURE__ */ n("circle", {
31
- cx: "30",
32
- cy: "30",
33
- r: "26.6",
34
- stroke: "#757575",
35
- "stroke-width": ".8"
36
- }),
37
- /* @__PURE__ */ n("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
- showVideos: {
83
- type: Boolean,
84
- default: !0
85
- }
86
- },
87
- setup(e) {
88
- const t = e, r = c(() => ({
89
- "--height": t.height,
90
- "--width": t.width,
91
- "--background-overlay-color": t.backgroundOverlayColor,
92
- "--overflow": t.overflow,
93
- "--border-radius": t.borderRadius,
94
- "--background-overlay-opacity": t.backgroundOverlayOpacity,
95
- "--background-gold-size": `${t.width} ${t.height}`
96
- })), a = c(() => {
97
- const o = [];
98
- return t.goldCardType && (t.goldCardType === 1 ? o.push("gold-card-1") : t.goldCardType === 2 && o.push("gold-card-2")), o;
99
- });
100
- return (o, x) => (i(), s("div", {
101
- class: l(["card-base", a.value]),
102
- style: u(r.value)
103
- }, [
104
- e.goldCardType ? d("", !0) : (i(), s("div", b, [
105
- e.backgroundImageSrc ? (i(), s("img", {
106
- key: 0,
107
- src: e.backgroundImageSrc,
108
- alt: ""
109
- }, null, 8, v)) : d("", !0)
110
- ])),
111
- e.goldCardType ? d("", !0) : (i(), s("div", m)),
112
- n("div", _, [
113
- p(o.$slots, "default", {}, void 0, !0)
114
- ]),
115
- e.isPlayButtonVisible && e.showVideos ? (i(), s("div", k, S)) : d("", !0)
116
- ], 6));
117
- }
118
- }, O = /* @__PURE__ */ f(C, [["__scopeId", "data-v-6a5cdd27"]]);
119
- function T(e = "") {
120
- const t = e.split("");
121
- let r = 1;
122
- return t.reduce((a, o) => (o === "*" ? (r % 2 === 0 ? a += "</span>" : a += '<span class="text-bold">', r++) : a += o, a), "");
123
- }
124
- function V({ data: e, descriptionType: t }) {
125
- switch (t) {
126
- case 1:
127
- return e.finish_first_person_description;
128
- case 2:
129
- return e.first_person_description;
130
- case 3:
131
- return e.finish_third_person_description;
132
- case 4:
133
- return e.third_person_description;
134
- case 5:
135
- return e.finish_description;
136
- case 6:
137
- return e.description;
138
- }
139
- }
140
- function z(e) {
141
- return `https://az755631.vo.msecnd.net/teams-80/${e}.png`;
142
- }
143
- function E(e) {
144
- return `https://az755631.vo.msecnd.net/players-profile/${e}.png`;
145
- }
146
- function I(e) {
147
- return `https://golstatsimages.blob.core.windows.net/images-library/${e}`;
148
- }
149
- function $(e) {
150
- if (e.includes("*")) {
151
- let t = "";
152
- const r = e.match(/\*(.*?)\*/);
153
- return r && (t = r[1]), {
154
- title: t.trim(),
155
- subtitle: e.replace(/\*(.*?)\*/, "").trim()
156
- };
157
- }
158
- return {
159
- title: e,
160
- subtitle: ""
161
- };
162
- }
163
- export {
164
- $ as E,
165
- T as I,
166
- V as O,
167
- z as P,
168
- O as T,
169
- E as V,
170
- f as h,
171
- I as z
172
- };