@golstats/gsc-landing 1.0.20 → 1.0.21
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-78d579ad-HeSCo_wi.js → FilterConditions-739a74eb-UO5zDF8t.js} +34 -34
- package/dist/{FilterField-91367dbc-Py1Dyjx2.js → FilterField-53fbb956-jaemPT2Y.js} +252 -160
- package/dist/{FilterSubcategories-fc6e50e7-9w5H9tQH.js → FilterSubcategories-162edc6f-r2WWhNTR.js} +5 -5
- package/dist/{gsc-checkbox-9572f28d-OEktJZP_.js → gsc-checkbox-0735d028-JE5Zs_ri.js} +26 -16
- package/dist/gsc-landing.js +1 -1
- package/dist/gsc-landing.umd.cjs +72 -68
- package/dist/{index-v16yD7RQ.js → index-KCQeS3QL.js} +15933 -15248
- package/dist/style.css +1 -1
- package/package.json +5 -5
package/dist/{FilterSubcategories-fc6e50e7-9w5H9tQH.js → FilterSubcategories-162edc6f-r2WWhNTR.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
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-
|
|
3
|
-
import {
|
|
2
|
+
import { L as m } from "./gsc-checkbox-0735d028-JE5Zs_ri.js";
|
|
3
|
+
import { z as l } from "./index-KCQeS3QL.js";
|
|
4
4
|
const b = { class: "subcategory-group" }, g = {
|
|
5
5
|
__name: "SubcategoryGroup",
|
|
6
6
|
props: {
|
|
@@ -19,7 +19,7 @@ const b = { class: "subcategory-group" }, g = {
|
|
|
19
19
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "label"]))), 128))
|
|
20
20
|
]));
|
|
21
21
|
}
|
|
22
|
-
}, y = /* @__PURE__ */ l(g, [["__scopeId", "data-v-
|
|
22
|
+
}, y = /* @__PURE__ */ l(g, [["__scopeId", "data-v-6c6e0261"]]), f = { class: "filter-subcategories" }, _ = {
|
|
23
23
|
__name: "FilterSubcategories",
|
|
24
24
|
props: {
|
|
25
25
|
subcategoryGroups: {
|
|
@@ -28,7 +28,7 @@ const b = { class: "subcategory-group" }, g = {
|
|
|
28
28
|
}
|
|
29
29
|
},
|
|
30
30
|
setup(t) {
|
|
31
|
-
return (s, c) => (r(), o("div",
|
|
31
|
+
return (s, c) => (r(), o("div", f, [
|
|
32
32
|
(r(!0), o(a, null, u(t.subcategoryGroups, (e) => (r(), o("div", {
|
|
33
33
|
key: e.id,
|
|
34
34
|
class: "filter-subcategories__group"
|
|
@@ -37,7 +37,7 @@ const b = { class: "subcategory-group" }, g = {
|
|
|
37
37
|
]))), 128))
|
|
38
38
|
]));
|
|
39
39
|
}
|
|
40
|
-
}, V = /* @__PURE__ */ l(
|
|
40
|
+
}, V = /* @__PURE__ */ l(_, [["__scopeId", "data-v-feeb6f0d"]]);
|
|
41
41
|
export {
|
|
42
42
|
V as default
|
|
43
43
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
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
|
|
2
|
-
const
|
|
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 S, toDisplayString as b, createCommentVNode as x } from "vue";
|
|
2
|
+
const C = (t, r) => {
|
|
3
3
|
const e = t.__vccOpts || t;
|
|
4
4
|
for (const [l, d] of r)
|
|
5
5
|
e[l] = d;
|
|
@@ -13,7 +13,7 @@ const S = (t, r) => {
|
|
|
13
13
|
}, B = ["fill"], V = {
|
|
14
14
|
key: 0,
|
|
15
15
|
class: "checkbox__teams"
|
|
16
|
-
},
|
|
16
|
+
}, w = { class: "checkbox__teams__logo" }, F = ["src"], I = { class: "checkbox__teams__logo" }, W = ["src"], z = {
|
|
17
17
|
__name: "GSC-Checkbox",
|
|
18
18
|
props: {
|
|
19
19
|
width: {
|
|
@@ -28,6 +28,10 @@ const S = (t, r) => {
|
|
|
28
28
|
type: String,
|
|
29
29
|
default: ""
|
|
30
30
|
},
|
|
31
|
+
labelWhiteSpace: {
|
|
32
|
+
type: String,
|
|
33
|
+
default: "normal"
|
|
34
|
+
},
|
|
31
35
|
labelColor: {
|
|
32
36
|
type: String,
|
|
33
37
|
default: "white"
|
|
@@ -72,6 +76,10 @@ const S = (t, r) => {
|
|
|
72
76
|
return ["left", "right", "top", "bottom"].includes(t);
|
|
73
77
|
}
|
|
74
78
|
},
|
|
79
|
+
boxMarginTop: {
|
|
80
|
+
type: String,
|
|
81
|
+
default: "0.2em"
|
|
82
|
+
},
|
|
75
83
|
boxWidthAndHeight: {
|
|
76
84
|
type: String,
|
|
77
85
|
default: "16px"
|
|
@@ -117,8 +125,8 @@ const S = (t, r) => {
|
|
|
117
125
|
setup(t, { emit: r }) {
|
|
118
126
|
const e = t;
|
|
119
127
|
m((o) => ({
|
|
120
|
-
|
|
121
|
-
"
|
|
128
|
+
70501426: t.width,
|
|
129
|
+
"1957cde0": t.height
|
|
122
130
|
}));
|
|
123
131
|
const l = h(!1), d = s(() => {
|
|
124
132
|
const o = {
|
|
@@ -127,19 +135,21 @@ const S = (t, r) => {
|
|
|
127
135
|
height: e.boxWidthAndHeight,
|
|
128
136
|
width: e.boxWidthAndHeight,
|
|
129
137
|
minWidth: e.boxWidthAndHeight,
|
|
130
|
-
"border-radius": e.boxBorderRadius
|
|
138
|
+
"border-radius": e.boxBorderRadius,
|
|
139
|
+
"margin-top": e.boxMarginTop
|
|
131
140
|
};
|
|
132
141
|
return l.value ? (o["background-color"] = e.boxBackgroundColor, o.border = `solid ${e.boxBorderWidth} ${e.boxBackgroundColor}`) : o.border = `solid ${e.boxBorderWidth} ${e.boxBorderColor}`, o;
|
|
133
|
-
}),
|
|
142
|
+
}), p = s(() => ({
|
|
134
143
|
"font-family": e.boxValueFontFamily,
|
|
135
144
|
"font-size": e.boxValueFontSize,
|
|
136
145
|
color: e.boxValueColor,
|
|
137
146
|
"line-height": 1
|
|
138
|
-
})),
|
|
147
|
+
})), f = s(() => {
|
|
139
148
|
const o = {
|
|
140
149
|
color: e.labelColor,
|
|
141
150
|
"font-family": e.fontFamily,
|
|
142
151
|
"font-size": e.labelFontSize,
|
|
152
|
+
"white-space": e.labelWhiteSpace,
|
|
143
153
|
"text-align": e.boxPosition === "top" || e.boxPosition === "bottom" ? "center" : e.boxPosition
|
|
144
154
|
};
|
|
145
155
|
return (e.boxPosition === "left" || e.boxPosition === "right") && (o[`margin-${e.boxPosition}`] = e.isBoxOnly ? "0" : e.teamsIds ? "8px" : "10px"), o;
|
|
@@ -157,7 +167,7 @@ const S = (t, r) => {
|
|
|
157
167
|
function c(o) {
|
|
158
168
|
return `${{}.TEAM_LOGOS_URL || "https://az755631.vo.msecnd.net/teams-80/"}${o}.png`;
|
|
159
169
|
}
|
|
160
|
-
return (o,
|
|
170
|
+
return (o, P) => (i(), n("div", {
|
|
161
171
|
class: v(["checkbox", `box-${t.boxPosition}`]),
|
|
162
172
|
onClick: g
|
|
163
173
|
}, [
|
|
@@ -165,11 +175,11 @@ const S = (t, r) => {
|
|
|
165
175
|
class: "checkbox__box",
|
|
166
176
|
style: u(d.value)
|
|
167
177
|
}, [
|
|
168
|
-
l.value ? (i(), n(
|
|
178
|
+
l.value ? (i(), n(S, { key: 0 }, [
|
|
169
179
|
e.boxValue ? (i(), n("div", {
|
|
170
180
|
key: 0,
|
|
171
181
|
class: "checkbox__box__value",
|
|
172
|
-
style: u(
|
|
182
|
+
style: u(p.value)
|
|
173
183
|
}, b(t.boxValue), 5)) : (i(), n("div", _, [
|
|
174
184
|
(i(), n("svg", k, [
|
|
175
185
|
a("path", {
|
|
@@ -181,26 +191,26 @@ const S = (t, r) => {
|
|
|
181
191
|
], 64)) : x("", !0)
|
|
182
192
|
], 4),
|
|
183
193
|
t.teamsIds && t.teamsIds.length ? (i(), n("div", V, [
|
|
184
|
-
a("div",
|
|
194
|
+
a("div", w, [
|
|
185
195
|
a("img", {
|
|
186
196
|
src: c(t.teamsIds[0]),
|
|
187
197
|
alt: ""
|
|
188
|
-
}, null, 8,
|
|
198
|
+
}, null, 8, F)
|
|
189
199
|
]),
|
|
190
200
|
a("div", I, [
|
|
191
201
|
a("img", {
|
|
192
202
|
src: c(t.teamsIds[1]),
|
|
193
203
|
alt: ""
|
|
194
|
-
}, null, 8,
|
|
204
|
+
}, null, 8, W)
|
|
195
205
|
])
|
|
196
206
|
])) : x("", !0),
|
|
197
207
|
a("div", {
|
|
198
208
|
class: "checkbox__label",
|
|
199
|
-
style: u(
|
|
209
|
+
style: u(f.value)
|
|
200
210
|
}, b(t.label), 5)
|
|
201
211
|
], 2));
|
|
202
212
|
}
|
|
203
|
-
}, L = /* @__PURE__ */
|
|
213
|
+
}, L = /* @__PURE__ */ C(z, [["__scopeId", "data-v-8ab85812"]]);
|
|
204
214
|
export {
|
|
205
215
|
L
|
|
206
216
|
};
|
package/dist/gsc-landing.js
CHANGED