@golstats/gsc-landing 1.0.7 → 1.0.9
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/dist/FilterConditions-e3f08685-PYV3wfTR.js +240 -0
- package/dist/FilterField-5f30ec24-yWwJz14U.js +781 -0
- package/dist/FilterSubcategories-459a9bc2-v0JRMk44.js +43 -0
- package/dist/arrow-expand.svg +3 -0
- package/dist/back-arrow.svg +3 -0
- package/dist/back-arrow1.svg +3 -0
- package/dist/back-arrow2.svg +3 -0
- package/dist/back-arrow3.svg +3 -0
- package/dist/back-arrow4.svg +3 -0
- package/dist/backarrow.svg +3 -0
- package/dist/cancha-3d.png +0 -0
- package/dist/cancha-3d@2.png +0 -0
- package/dist/css/fonts.css +4 -4
- package/dist/fonts/BebasNeue-Bold.otf +0 -0
- package/dist/fonts/BebasNeue-Book.otf +0 -0
- package/dist/fonts/BebasNeue-Light.otf +0 -0
- package/dist/fonts/BebasNeue-Regular.otf +0 -0
- package/dist/goal-icn.svg +14 -0
- package/dist/goal-icn1.svg +14 -0
- package/dist/goal-icn2.svg +14 -0
- package/dist/group-483271.svg +14 -0
- package/dist/gsc-checkbox-9572f28d-OEktJZP_.js +206 -0
- package/dist/gsc-landing.js +3 -13160
- package/dist/gsc-landing.umd.cjs +288 -12
- package/dist/icn-arrow-expand.svg +3 -0
- package/dist/icn-expand-arrow.svg +3 -0
- package/dist/icn-expand-arrow1.svg +3 -0
- package/dist/icn-filter.svg +12 -0
- package/dist/icn-filter1.svg +12 -0
- package/dist/icn-filter2.svg +12 -0
- package/dist/icn-golstats.png +0 -0
- package/dist/img-away-team1@2x.png +0 -0
- package/dist/img-away-team2@2x.png +0 -0
- package/dist/img-away-team3@2x.png +0 -0
- package/dist/img-away-team4@2x.png +0 -0
- package/dist/img-away-team@2x.png +0 -0
- package/dist/img-home-team1@2x.png +0 -0
- package/dist/img-home-team2@2x.png +0 -0
- package/dist/img-home-team3@2x.png +0 -0
- package/dist/img-home-team4@2x.png +0 -0
- package/dist/img-home-team@2x.png +0 -0
- package/dist/imghometeam@2x.png +0 -0
- package/dist/index-8-3DgkS9.js +93007 -0
- package/dist/line-white.png +0 -0
- package/dist/line.png +0 -0
- package/dist/next-arrow.svg +3 -0
- package/dist/next-arrow1.svg +3 -0
- package/dist/next-arrow2.svg +3 -0
- package/dist/next-arrow3.svg +3 -0
- package/dist/next-arrow4.svg +3 -0
- package/dist/next-arrow5.svg +3 -0
- package/dist/nextarrow.svg +3 -0
- package/dist/style.css +1 -1
- package/dist/vector.svg +3 -0
- package/package.json +8 -6
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { openBlock as r, createElementBlock as o, Fragment as a, renderList as u, createVNode as d, createBlock as n, unref as i } from "vue";
|
|
2
|
+
import { L as m } from "./gsc-checkbox-9572f28d-OEktJZP_.js";
|
|
3
|
+
import { q as l } from "./index-8-3DgkS9.js";
|
|
4
|
+
const b = { class: "subcategory-group" }, g = {
|
|
5
|
+
__name: "SubcategoryGroup",
|
|
6
|
+
props: {
|
|
7
|
+
subcategoryGroup: {
|
|
8
|
+
type: Array,
|
|
9
|
+
default: () => []
|
|
10
|
+
}
|
|
11
|
+
},
|
|
12
|
+
setup(t) {
|
|
13
|
+
return (s, c) => (r(), o("div", b, [
|
|
14
|
+
(r(!0), o(a, null, u(t.subcategoryGroup, (e) => (r(), n(i(m), {
|
|
15
|
+
key: e.id,
|
|
16
|
+
modelValue: e.isSelected,
|
|
17
|
+
"onUpdate:modelValue": (p) => e.isSelected = p,
|
|
18
|
+
label: e.name
|
|
19
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "label"]))), 128))
|
|
20
|
+
]));
|
|
21
|
+
}
|
|
22
|
+
}, y = /* @__PURE__ */ l(g, [["__scopeId", "data-v-6c6e0261"]]), f = { class: "filter-subcategories" }, _ = {
|
|
23
|
+
__name: "FilterSubcategories",
|
|
24
|
+
props: {
|
|
25
|
+
subcategoryGroups: {
|
|
26
|
+
type: Array,
|
|
27
|
+
default: () => []
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
setup(t) {
|
|
31
|
+
return (s, c) => (r(), o("div", f, [
|
|
32
|
+
(r(!0), o(a, null, u(t.subcategoryGroups, (e) => (r(), o("div", {
|
|
33
|
+
key: e.id,
|
|
34
|
+
class: "filter-subcategories__group"
|
|
35
|
+
}, [
|
|
36
|
+
d(y, { subcategoryGroup: e }, null, 8, ["subcategoryGroup"])
|
|
37
|
+
]))), 128))
|
|
38
|
+
]));
|
|
39
|
+
}
|
|
40
|
+
}, V = /* @__PURE__ */ l(_, [["__scopeId", "data-v-feeb6f0d"]]);
|
|
41
|
+
export {
|
|
42
|
+
V as default
|
|
43
|
+
};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg width="9" height="5" viewBox="0 0 9 5" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M4.5 3.05966L7.36193 0.606577C7.62228 0.38342 8.04439 0.38342 8.30474 0.606577C8.56509 0.829733 8.56509 1.19154 8.30474 1.4147L4.9714 4.27184C4.71105 4.495 4.28895 4.495 4.0286 4.27184L0.695262 1.4147C0.434913 1.19154 0.434913 0.829733 0.695262 0.606577C0.955612 0.38342 1.37772 0.38342 1.63807 0.606577L4.5 3.05966Z" fill="#92929D"/>
|
|
3
|
+
</svg>
|
|
Binary file
|
|
Binary file
|
package/dist/css/fonts.css
CHANGED
|
@@ -78,22 +78,22 @@
|
|
|
78
78
|
|
|
79
79
|
@font-face {
|
|
80
80
|
font-family: 'Oswald-Bold';
|
|
81
|
-
src: url('
|
|
81
|
+
src: url('/fonts/Oswald-Bold.ttf') format('truetype');
|
|
82
82
|
}
|
|
83
83
|
|
|
84
84
|
@font-face {
|
|
85
85
|
font-family: 'Oswald-Regular';
|
|
86
|
-
src: url('
|
|
86
|
+
src: url('/fonts/Oswald-Regular.ttf') format('truetype');
|
|
87
87
|
}
|
|
88
88
|
|
|
89
89
|
@font-face {
|
|
90
90
|
font-family: 'Oswald-SemiBold';
|
|
91
|
-
src: url('
|
|
91
|
+
src: url('/fonts/Oswald-SemiBold.ttf') format('truetype');
|
|
92
92
|
}
|
|
93
93
|
|
|
94
94
|
@font-face {
|
|
95
95
|
font-family: 'Oswald-Medium';
|
|
96
|
-
src: url('
|
|
96
|
+
src: url('/fonts/Oswald-Medium.ttf') format('truetype');
|
|
97
97
|
}
|
|
98
98
|
|
|
99
99
|
@font-face {
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
<svg width="10" height="9" viewBox="0 0 10 9" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M5.01016 1.81714C3.28197 1.81714 1.88062 3.21498 1.88062 4.93913C1.88062 6.66328 3.28197 8.06112 5.01016 8.06112C6.73835 8.06112 8.13971 6.66328 8.13971 4.93913C8.13971 3.21498 6.73835 1.81714 5.01016 1.81714V1.81714Z" stroke="white" stroke-width="0.6" stroke-linecap="round" stroke-linejoin="round"/>
|
|
3
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M4.15664 6.25833L3.62476 4.62105L5.01604 3.60925L6.4076 4.62105L5.87626 6.25833H4.15664Z" stroke="white" stroke-width="0.6" stroke-linecap="round" stroke-linejoin="round"/>
|
|
4
|
+
<path d="M6.20064 2.05994L5.01522 2.56448L3.83008 2.05994" stroke="white" stroke-width="0.6" stroke-linecap="round" stroke-linejoin="round"/>
|
|
5
|
+
<path d="M2.65066 2.91748L2.76455 4.20198L1.91821 5.17386" stroke="white" stroke-width="0.6" stroke-linecap="round" stroke-linejoin="round"/>
|
|
6
|
+
<path d="M2.37036 6.56213L3.62585 6.85058L4.28837 7.95631" stroke="white" stroke-width="0.6" stroke-linecap="round" stroke-linejoin="round"/>
|
|
7
|
+
<path d="M5.74438 7.95636L6.40635 6.85009L7.66144 6.56165" stroke="white" stroke-width="0.6" stroke-linecap="round" stroke-linejoin="round"/>
|
|
8
|
+
<path d="M8.11728 5.17359L7.27026 4.20116L7.38402 2.91748" stroke="white" stroke-width="0.6" stroke-linecap="round" stroke-linejoin="round"/>
|
|
9
|
+
<path d="M5.01652 2.56445V3.60937" stroke="white" stroke-width="0.6" stroke-linecap="round" stroke-linejoin="round"/>
|
|
10
|
+
<path d="M6.4104 4.66186L7.26967 4.20129" stroke="white" stroke-width="0.6" stroke-linecap="round" stroke-linejoin="round"/>
|
|
11
|
+
<path d="M5.87769 6.25842L6.40903 6.85011" stroke="white" stroke-width="0.6" stroke-linecap="round" stroke-linejoin="round"/>
|
|
12
|
+
<path d="M4.15637 6.25842L3.62476 6.85065" stroke="white" stroke-width="0.6" stroke-linecap="round" stroke-linejoin="round"/>
|
|
13
|
+
<path d="M2.76489 4.20203L3.62457 4.62119" stroke="white" stroke-width="0.6" stroke-linecap="round" stroke-linejoin="round"/>
|
|
14
|
+
</svg>
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
<svg width="10" height="9" viewBox="0 0 10 9" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M5.01016 1.25659C3.28197 1.25659 1.88062 2.65443 1.88062 4.37858C1.88062 6.10273 3.28197 7.50057 5.01016 7.50057C6.73835 7.50057 8.13971 6.10273 8.13971 4.37858C8.13971 2.65443 6.73835 1.25659 5.01016 1.25659V1.25659Z" stroke="white" stroke-width="0.6" stroke-linecap="round" stroke-linejoin="round"/>
|
|
3
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M4.15664 5.69766L3.62476 4.06038L5.01604 3.04858L6.4076 4.06038L5.87626 5.69766H4.15664Z" stroke="white" stroke-width="0.6" stroke-linecap="round" stroke-linejoin="round"/>
|
|
4
|
+
<path d="M6.20064 1.49927L5.01522 2.00381L3.83008 1.49927" stroke="white" stroke-width="0.6" stroke-linecap="round" stroke-linejoin="round"/>
|
|
5
|
+
<path d="M2.65066 2.35693L2.76455 3.64143L1.91821 4.61332" stroke="white" stroke-width="0.6" stroke-linecap="round" stroke-linejoin="round"/>
|
|
6
|
+
<path d="M2.37036 6.00146L3.62585 6.28991L4.28837 7.39564" stroke="white" stroke-width="0.6" stroke-linecap="round" stroke-linejoin="round"/>
|
|
7
|
+
<path d="M5.74438 7.39569L6.40635 6.28942L7.66144 6.00098" stroke="white" stroke-width="0.6" stroke-linecap="round" stroke-linejoin="round"/>
|
|
8
|
+
<path d="M8.11728 4.61305L7.27026 3.64061L7.38402 2.35693" stroke="white" stroke-width="0.6" stroke-linecap="round" stroke-linejoin="round"/>
|
|
9
|
+
<path d="M5.01652 2.00366V3.04858" stroke="white" stroke-width="0.6" stroke-linecap="round" stroke-linejoin="round"/>
|
|
10
|
+
<path d="M6.4104 4.10119L7.26967 3.64062" stroke="white" stroke-width="0.6" stroke-linecap="round" stroke-linejoin="round"/>
|
|
11
|
+
<path d="M5.87769 5.69775L6.40903 6.28944" stroke="white" stroke-width="0.6" stroke-linecap="round" stroke-linejoin="round"/>
|
|
12
|
+
<path d="M4.15637 5.69775L3.62476 6.28998" stroke="white" stroke-width="0.6" stroke-linecap="round" stroke-linejoin="round"/>
|
|
13
|
+
<path d="M2.76489 3.64136L3.62457 4.06052" stroke="white" stroke-width="0.6" stroke-linecap="round" stroke-linejoin="round"/>
|
|
14
|
+
</svg>
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
<svg width="10" height="9" viewBox="0 0 10 9" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M5.01016 1.86548C3.28197 1.86548 1.88062 3.26332 1.88062 4.98747C1.88062 6.71162 3.28197 8.10946 5.01016 8.10946C6.73835 8.10946 8.13971 6.71162 8.13971 4.98747C8.13971 3.26332 6.73835 1.86548 5.01016 1.86548V1.86548Z" stroke="white" stroke-width="0.6" stroke-linecap="round" stroke-linejoin="round"/>
|
|
3
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M4.15664 6.30655L3.62476 4.66927L5.01604 3.65747L6.4076 4.66927L5.87626 6.30655H4.15664Z" stroke="white" stroke-width="0.6" stroke-linecap="round" stroke-linejoin="round"/>
|
|
4
|
+
<path d="M6.20064 2.10815L5.01522 2.61269L3.83008 2.10815" stroke="white" stroke-width="0.6" stroke-linecap="round" stroke-linejoin="round"/>
|
|
5
|
+
<path d="M2.65066 2.96582L2.76455 4.25032L1.91821 5.2222" stroke="white" stroke-width="0.6" stroke-linecap="round" stroke-linejoin="round"/>
|
|
6
|
+
<path d="M2.37036 6.61035L3.62585 6.8988L4.28837 8.00452" stroke="white" stroke-width="0.6" stroke-linecap="round" stroke-linejoin="round"/>
|
|
7
|
+
<path d="M5.74438 8.00458L6.40635 6.89831L7.66144 6.60986" stroke="white" stroke-width="0.6" stroke-linecap="round" stroke-linejoin="round"/>
|
|
8
|
+
<path d="M8.11728 5.22193L7.27026 4.2495L7.38402 2.96582" stroke="white" stroke-width="0.6" stroke-linecap="round" stroke-linejoin="round"/>
|
|
9
|
+
<path d="M5.01652 2.61255V3.65747" stroke="white" stroke-width="0.6" stroke-linecap="round" stroke-linejoin="round"/>
|
|
10
|
+
<path d="M6.4104 4.71007L7.26967 4.24951" stroke="white" stroke-width="0.6" stroke-linecap="round" stroke-linejoin="round"/>
|
|
11
|
+
<path d="M5.87769 6.30664L6.40903 6.89833" stroke="white" stroke-width="0.6" stroke-linecap="round" stroke-linejoin="round"/>
|
|
12
|
+
<path d="M4.15637 6.30664L3.62476 6.89887" stroke="white" stroke-width="0.6" stroke-linecap="round" stroke-linejoin="round"/>
|
|
13
|
+
<path d="M2.76489 4.25024L3.62457 4.66941" stroke="white" stroke-width="0.6" stroke-linecap="round" stroke-linejoin="round"/>
|
|
14
|
+
</svg>
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
<svg width="10" height="9" viewBox="0 0 10 9" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M5.01016 1.81738C3.28197 1.81738 1.88062 3.21522 1.88062 4.93937C1.88062 6.66352 3.28197 8.06136 5.01016 8.06136C6.73835 8.06136 8.13971 6.66352 8.13971 4.93937C8.13971 3.21522 6.73835 1.81738 5.01016 1.81738V1.81738Z" stroke="white" stroke-width="0.6" stroke-linecap="round" stroke-linejoin="round"/>
|
|
3
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M4.15664 6.25845L3.62476 4.62117L5.01604 3.60938L6.4076 4.62117L5.87626 6.25845H4.15664Z" stroke="white" stroke-width="0.6" stroke-linecap="round" stroke-linejoin="round"/>
|
|
4
|
+
<path d="M6.20064 2.06006L5.01522 2.5646L3.83008 2.06006" stroke="white" stroke-width="0.6" stroke-linecap="round" stroke-linejoin="round"/>
|
|
5
|
+
<path d="M2.65066 2.91772L2.76455 4.20222L1.91821 5.17411" stroke="white" stroke-width="0.6" stroke-linecap="round" stroke-linejoin="round"/>
|
|
6
|
+
<path d="M2.37036 6.56226L3.62585 6.8507L4.28837 7.95643" stroke="white" stroke-width="0.6" stroke-linecap="round" stroke-linejoin="round"/>
|
|
7
|
+
<path d="M5.74438 7.95648L6.40635 6.85021L7.66144 6.56177" stroke="white" stroke-width="0.6" stroke-linecap="round" stroke-linejoin="round"/>
|
|
8
|
+
<path d="M8.11728 5.17384L7.27026 4.20141L7.38402 2.91772" stroke="white" stroke-width="0.6" stroke-linecap="round" stroke-linejoin="round"/>
|
|
9
|
+
<path d="M5.01652 2.56445V3.60937" stroke="white" stroke-width="0.6" stroke-linecap="round" stroke-linejoin="round"/>
|
|
10
|
+
<path d="M6.4104 4.66198L7.26967 4.20142" stroke="white" stroke-width="0.6" stroke-linecap="round" stroke-linejoin="round"/>
|
|
11
|
+
<path d="M5.87769 6.25854L6.40903 6.85023" stroke="white" stroke-width="0.6" stroke-linecap="round" stroke-linejoin="round"/>
|
|
12
|
+
<path d="M4.15637 6.25854L3.62476 6.85077" stroke="white" stroke-width="0.6" stroke-linecap="round" stroke-linejoin="round"/>
|
|
13
|
+
<path d="M2.76489 4.20215L3.62457 4.62131" stroke="white" stroke-width="0.6" stroke-linecap="round" stroke-linejoin="round"/>
|
|
14
|
+
</svg>
|
|
@@ -0,0 +1,206 @@
|
|
|
1
|
+
import { useCssVars as m, ref as h, computed as s, watch as y, openBlock as i, createElementBlock as n, normalizeClass as v, createElementVNode as a, normalizeStyle as u, Fragment as C, toDisplayString as b, createCommentVNode as x } from "vue";
|
|
2
|
+
const S = (t, r) => {
|
|
3
|
+
const e = t.__vccOpts || t;
|
|
4
|
+
for (const [l, d] of r)
|
|
5
|
+
e[l] = d;
|
|
6
|
+
return e;
|
|
7
|
+
}, _ = { key: 1 }, k = {
|
|
8
|
+
width: "10",
|
|
9
|
+
height: "8",
|
|
10
|
+
viewBox: "0 0 10 8",
|
|
11
|
+
fill: "none",
|
|
12
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
13
|
+
}, B = ["fill"], V = {
|
|
14
|
+
key: 0,
|
|
15
|
+
class: "checkbox__teams"
|
|
16
|
+
}, F = { class: "checkbox__teams__logo" }, w = ["src"], I = { class: "checkbox__teams__logo" }, z = ["src"], P = {
|
|
17
|
+
__name: "GSC-Checkbox",
|
|
18
|
+
props: {
|
|
19
|
+
width: {
|
|
20
|
+
type: String,
|
|
21
|
+
default: "fit-content"
|
|
22
|
+
},
|
|
23
|
+
height: {
|
|
24
|
+
type: String,
|
|
25
|
+
default: "fit-content"
|
|
26
|
+
},
|
|
27
|
+
label: {
|
|
28
|
+
type: String,
|
|
29
|
+
default: ""
|
|
30
|
+
},
|
|
31
|
+
labelColor: {
|
|
32
|
+
type: String,
|
|
33
|
+
default: "white"
|
|
34
|
+
},
|
|
35
|
+
fontFamily: {
|
|
36
|
+
type: String,
|
|
37
|
+
default: "sans-serif"
|
|
38
|
+
},
|
|
39
|
+
labelFontSize: {
|
|
40
|
+
type: String,
|
|
41
|
+
default: "12px"
|
|
42
|
+
},
|
|
43
|
+
modelValue: {
|
|
44
|
+
type: Boolean,
|
|
45
|
+
default: !1
|
|
46
|
+
},
|
|
47
|
+
justifyContent: {
|
|
48
|
+
type: String,
|
|
49
|
+
default: "flex-start"
|
|
50
|
+
},
|
|
51
|
+
alignItems: {
|
|
52
|
+
type: String,
|
|
53
|
+
default: "center"
|
|
54
|
+
},
|
|
55
|
+
boxBackgroundColor: {
|
|
56
|
+
type: String,
|
|
57
|
+
default: "#CBEE6B"
|
|
58
|
+
},
|
|
59
|
+
boxValueColor: {
|
|
60
|
+
type: String,
|
|
61
|
+
default: "#0d1d29"
|
|
62
|
+
},
|
|
63
|
+
boxValue: {
|
|
64
|
+
type: [String, Number],
|
|
65
|
+
default: ""
|
|
66
|
+
},
|
|
67
|
+
boxPosition: {
|
|
68
|
+
type: String,
|
|
69
|
+
default: "left",
|
|
70
|
+
// values can be 'left', 'right', 'top', 'bottom'
|
|
71
|
+
validator(t) {
|
|
72
|
+
return ["left", "right", "top", "bottom"].includes(t);
|
|
73
|
+
}
|
|
74
|
+
},
|
|
75
|
+
boxWidthAndHeight: {
|
|
76
|
+
type: String,
|
|
77
|
+
default: "16px"
|
|
78
|
+
},
|
|
79
|
+
boxBorderColor: {
|
|
80
|
+
type: String,
|
|
81
|
+
default: "#969da2"
|
|
82
|
+
},
|
|
83
|
+
boxBorderWidth: {
|
|
84
|
+
type: String,
|
|
85
|
+
default: "2px"
|
|
86
|
+
},
|
|
87
|
+
boxBorderRadius: {
|
|
88
|
+
type: String,
|
|
89
|
+
default: "4px"
|
|
90
|
+
},
|
|
91
|
+
boxValueFontSize: {
|
|
92
|
+
type: String,
|
|
93
|
+
default: "10px"
|
|
94
|
+
},
|
|
95
|
+
boxValueFontFamily: {
|
|
96
|
+
type: String,
|
|
97
|
+
default: "sans-serif"
|
|
98
|
+
},
|
|
99
|
+
avoidInteraction: {
|
|
100
|
+
type: Boolean,
|
|
101
|
+
default: !1
|
|
102
|
+
},
|
|
103
|
+
avoidToCheck: {
|
|
104
|
+
type: Boolean,
|
|
105
|
+
default: !1
|
|
106
|
+
},
|
|
107
|
+
isBoxOnly: {
|
|
108
|
+
type: Boolean,
|
|
109
|
+
default: !1
|
|
110
|
+
},
|
|
111
|
+
teamsIds: {
|
|
112
|
+
type: Array,
|
|
113
|
+
default: () => null
|
|
114
|
+
}
|
|
115
|
+
},
|
|
116
|
+
emits: ["update:modelValue"],
|
|
117
|
+
setup(t, { emit: r }) {
|
|
118
|
+
const e = t;
|
|
119
|
+
m((o) => ({
|
|
120
|
+
"6f1f9c87": t.width,
|
|
121
|
+
"5b04fa86": t.height
|
|
122
|
+
}));
|
|
123
|
+
const l = h(!1), d = s(() => {
|
|
124
|
+
const o = {
|
|
125
|
+
color: e.boxValueColor,
|
|
126
|
+
"font-family": e.fontFamily,
|
|
127
|
+
height: e.boxWidthAndHeight,
|
|
128
|
+
width: e.boxWidthAndHeight,
|
|
129
|
+
minWidth: e.boxWidthAndHeight,
|
|
130
|
+
"border-radius": e.boxBorderRadius
|
|
131
|
+
};
|
|
132
|
+
return l.value ? (o["background-color"] = e.boxBackgroundColor, o.border = `solid ${e.boxBorderWidth} ${e.boxBackgroundColor}`) : o.border = `solid ${e.boxBorderWidth} ${e.boxBorderColor}`, o;
|
|
133
|
+
}), f = s(() => ({
|
|
134
|
+
"font-family": e.boxValueFontFamily,
|
|
135
|
+
"font-size": e.boxValueFontSize,
|
|
136
|
+
color: e.boxValueColor,
|
|
137
|
+
"line-height": 1
|
|
138
|
+
})), p = s(() => {
|
|
139
|
+
const o = {
|
|
140
|
+
color: e.labelColor,
|
|
141
|
+
"font-family": e.fontFamily,
|
|
142
|
+
"font-size": e.labelFontSize,
|
|
143
|
+
"text-align": e.boxPosition === "top" || e.boxPosition === "bottom" ? "center" : e.boxPosition
|
|
144
|
+
};
|
|
145
|
+
return (e.boxPosition === "left" || e.boxPosition === "right") && (o[`margin-${e.boxPosition}`] = e.isBoxOnly ? "0" : e.teamsIds ? "8px" : "10px"), o;
|
|
146
|
+
});
|
|
147
|
+
y(
|
|
148
|
+
() => e.modelValue,
|
|
149
|
+
(o) => {
|
|
150
|
+
o !== l.value && (l.value = o);
|
|
151
|
+
},
|
|
152
|
+
{ immediate: !0 }
|
|
153
|
+
);
|
|
154
|
+
function g() {
|
|
155
|
+
e.avoidInteraction || !l.value && e.avoidToCheck || (l.value = !l.value, r("update:modelValue", l.value));
|
|
156
|
+
}
|
|
157
|
+
function c(o) {
|
|
158
|
+
return `${{}.TEAM_LOGOS_URL || "https://az755631.vo.msecnd.net/teams-80/"}${o}.png`;
|
|
159
|
+
}
|
|
160
|
+
return (o, W) => (i(), n("div", {
|
|
161
|
+
class: v(["checkbox", `box-${t.boxPosition}`]),
|
|
162
|
+
onClick: g
|
|
163
|
+
}, [
|
|
164
|
+
a("div", {
|
|
165
|
+
class: "checkbox__box",
|
|
166
|
+
style: u(d.value)
|
|
167
|
+
}, [
|
|
168
|
+
l.value ? (i(), n(C, { key: 0 }, [
|
|
169
|
+
e.boxValue ? (i(), n("div", {
|
|
170
|
+
key: 0,
|
|
171
|
+
class: "checkbox__box__value",
|
|
172
|
+
style: u(f.value)
|
|
173
|
+
}, b(t.boxValue), 5)) : (i(), n("div", _, [
|
|
174
|
+
(i(), n("svg", k, [
|
|
175
|
+
a("path", {
|
|
176
|
+
d: "M9.77994 1.70133L4.10994 7.37133C3.96994 7.51133 3.77994 7.59133 3.57994 7.59133C3.37994 7.59133 3.18994 7.51133 3.04994 7.37133L0.219941 4.54133C-0.0700586 4.25133 -0.0700586 3.77133 0.219941 3.48133C0.509941 3.19133 0.989941 3.19133 1.27994 3.48133L3.57994 5.78133L8.71994 0.641328C9.00994 0.351328 9.48994 0.351328 9.77994 0.641328C10.0699 0.931328 10.0699 1.40133 9.77994 1.70133Z",
|
|
177
|
+
fill: t.boxValueColor
|
|
178
|
+
}, null, 8, B)
|
|
179
|
+
]))
|
|
180
|
+
]))
|
|
181
|
+
], 64)) : x("", !0)
|
|
182
|
+
], 4),
|
|
183
|
+
t.teamsIds && t.teamsIds.length ? (i(), n("div", V, [
|
|
184
|
+
a("div", F, [
|
|
185
|
+
a("img", {
|
|
186
|
+
src: c(t.teamsIds[0]),
|
|
187
|
+
alt: ""
|
|
188
|
+
}, null, 8, w)
|
|
189
|
+
]),
|
|
190
|
+
a("div", I, [
|
|
191
|
+
a("img", {
|
|
192
|
+
src: c(t.teamsIds[1]),
|
|
193
|
+
alt: ""
|
|
194
|
+
}, null, 8, z)
|
|
195
|
+
])
|
|
196
|
+
])) : x("", !0),
|
|
197
|
+
a("div", {
|
|
198
|
+
class: "checkbox__label",
|
|
199
|
+
style: u(p.value)
|
|
200
|
+
}, b(t.label), 5)
|
|
201
|
+
], 2));
|
|
202
|
+
}
|
|
203
|
+
}, L = /* @__PURE__ */ S(P, [["__scopeId", "data-v-c33c3628"]]);
|
|
204
|
+
export {
|
|
205
|
+
L
|
|
206
|
+
};
|