@golstats/lilini-player-detection 1.0.0 → 1.0.2
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-e2f8c819-BzFouX2T.js → FilterConditions-e741517d-D3B4fa_m.js} +16 -16
- package/dist/FilterConditions-e741517d-Db6i2YSz-COrHpUid.js +191 -0
- package/dist/FilterField-6ba5128c-CwcmXpuL-tac-dkwx.js +21 -0
- package/dist/{FilterField-a2e8ef44-DRCJX6vg.js → FilterField-6ba5128c-DayNbUF4.js} +7 -7
- package/dist/{FilterSubcategories-d538a4eb-DbJuVf-E.js → FilterSubcategories-42fd5c17-CxpAoroE.js} +7 -7
- package/dist/FilterSubcategories-42fd5c17-DhhX2TZz-BRY9vCne.js +42 -0
- package/dist/index-DngAaI6L.js +29367 -0
- package/dist/lilini-player-detection.css +1 -1
- package/dist/lilini-player-detection.es.js +1 -1
- package/dist/lilini-player-detection.umd.js +20 -6
- package/package.json +5 -3
- package/dist/index-DsMJ4CGB.js +0 -13354
package/dist/{FilterConditions-e2f8c819-BzFouX2T.js → FilterConditions-e741517d-D3B4fa_m.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { useCssVars as E, computed as c, createElementBlock as
|
|
2
|
-
import { X as T, Z as m } from "./index-
|
|
3
|
-
const n = (s) => (H("data-v-
|
|
1
|
+
import { useCssVars as E, computed as c, createElementBlock as i, openBlock as d, normalizeStyle as $, createElementVNode as o, createVNode as y, unref as g, Fragment as u, renderList as _, normalizeClass as b, toDisplayString as v, pushScopeId as H, popScopeId as R } from "vue";
|
|
2
|
+
import { X as T, Z as m } from "./index-DngAaI6L.js";
|
|
3
|
+
const n = (s) => (H("data-v-893b389d"), s = s(), R(), s), V = { class: "details__header" }, W = /* @__PURE__ */ n(() => /* @__PURE__ */ o("div", { class: "details__header__title" }, "Jugando como", -1)), I = { class: "details__header__checkbox" }, z = { class: "details__body" }, F = { class: "details__body__playing-as" }, L = ["onClick"], N = { class: "details__header" }, U = /* @__PURE__ */ n(() => /* @__PURE__ */ o("div", { class: "details__header__title" }, "En: (Elige el lapso de tiempo)", -1)), D = { class: "details__header__checkbox" }, J = { class: "details__body" }, j = /* @__PURE__ */ n(() => /* @__PURE__ */ o("div", { class: "details__body__title" }, "1er tiempo", -1)), q = { class: "details__body__game-section" }, w = ["onClick"], G = { class: "details__body" }, K = /* @__PURE__ */ n(() => /* @__PURE__ */ o("div", { class: "details__body__title" }, "2do tiempo", -1)), M = { class: "details__body__game-section" }, O = ["onClick"], P = {
|
|
4
4
|
__name: "FilterConditions",
|
|
5
5
|
props: {
|
|
6
6
|
playingAs: {
|
|
@@ -91,14 +91,14 @@ const n = (s) => (H("data-v-80d9c265"), s = s(), R(), s), V = { class: "details_
|
|
|
91
91
|
setup(s) {
|
|
92
92
|
const a = s;
|
|
93
93
|
E((e) => ({
|
|
94
|
-
"
|
|
95
|
-
"
|
|
96
|
-
"
|
|
97
|
-
"
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
"
|
|
101
|
-
|
|
94
|
+
"2715f84a": s.buttonsBackgroundColor,
|
|
95
|
+
"97bea92a": s.buttonsTextColor,
|
|
96
|
+
"544788ef": s.buttonsBorderWidth,
|
|
97
|
+
"53308a8c": s.buttonsBorderColor,
|
|
98
|
+
e844f820: s.buttonsBackgroundColorActive,
|
|
99
|
+
"76839a51": s.buttonsTextColorActive,
|
|
100
|
+
"2bf17656": s.buttonsBorderWidthActive,
|
|
101
|
+
a4c4469c: s.buttonsBorderColorActive
|
|
102
102
|
}));
|
|
103
103
|
const h = c(() => a.playingAs.every((e) => e.isSelected)), C = c(() => a.gameSections.every((e) => e.isSelected)), p = c(() => a.gameSections.reduce(
|
|
104
104
|
(e, t) => (t.value <= 3 ? e.firstHalf.push(t) : e.secondHalf.push(t), e),
|
|
@@ -130,7 +130,7 @@ const n = (s) => (H("data-v-80d9c265"), s = s(), R(), s), V = { class: "details_
|
|
|
130
130
|
t.isSelected = l === 0;
|
|
131
131
|
});
|
|
132
132
|
}
|
|
133
|
-
return (e, t) => (
|
|
133
|
+
return (e, t) => (d(), i("div", {
|
|
134
134
|
class: "details",
|
|
135
135
|
style: $(B.value)
|
|
136
136
|
}, [
|
|
@@ -146,7 +146,7 @@ const n = (s) => (H("data-v-80d9c265"), s = s(), R(), s), V = { class: "details_
|
|
|
146
146
|
]),
|
|
147
147
|
o("div", z, [
|
|
148
148
|
o("div", F, [
|
|
149
|
-
(
|
|
149
|
+
(d(!0), i(u, null, _(a.playingAs, (l, r) => (d(), i("div", {
|
|
150
150
|
key: `pa${r}`,
|
|
151
151
|
class: b(["details__body__button", { active: l.isSelected }]),
|
|
152
152
|
onClick: (f) => k(l)
|
|
@@ -166,7 +166,7 @@ const n = (s) => (H("data-v-80d9c265"), s = s(), R(), s), V = { class: "details_
|
|
|
166
166
|
o("div", J, [
|
|
167
167
|
j,
|
|
168
168
|
o("div", q, [
|
|
169
|
-
(
|
|
169
|
+
(d(!0), i(u, null, _(p.value.firstHalf, (l, r) => (d(), i("div", {
|
|
170
170
|
key: `pa${r}`,
|
|
171
171
|
class: b(["details__body__button", { active: l.isSelected }]),
|
|
172
172
|
onClick: (f) => S(l)
|
|
@@ -176,7 +176,7 @@ const n = (s) => (H("data-v-80d9c265"), s = s(), R(), s), V = { class: "details_
|
|
|
176
176
|
o("div", G, [
|
|
177
177
|
K,
|
|
178
178
|
o("div", M, [
|
|
179
|
-
(
|
|
179
|
+
(d(!0), i(u, null, _(p.value.secondHalf, (l, r) => (d(), i("div", {
|
|
180
180
|
key: `pa${r}`,
|
|
181
181
|
class: b(["details__body__button", { active: l.isSelected }]),
|
|
182
182
|
onClick: (f) => S(l)
|
|
@@ -185,7 +185,7 @@ const n = (s) => (H("data-v-80d9c265"), s = s(), R(), s), V = { class: "details_
|
|
|
185
185
|
])
|
|
186
186
|
], 4));
|
|
187
187
|
}
|
|
188
|
-
}, Z = /* @__PURE__ */ T(P, [["__scopeId", "data-v-
|
|
188
|
+
}, Z = /* @__PURE__ */ T(P, [["__scopeId", "data-v-893b389d"]]);
|
|
189
189
|
export {
|
|
190
190
|
Z as default
|
|
191
191
|
};
|
|
@@ -0,0 +1,191 @@
|
|
|
1
|
+
import { useCssVars as $, computed as c, createElementBlock as s, openBlock as i, normalizeStyle as E, createElementVNode as o, createVNode as y, unref as g, Fragment as u, renderList as _, normalizeClass as b, toDisplayString as v, pushScopeId as V, popScopeId as H } from "vue";
|
|
2
|
+
import { K as T, q as m } from "./index-DngAaI6L.js";
|
|
3
|
+
const n = (d) => (V("data-v-893b389d"), d = d(), H(), d), R = { class: "details__header" }, W = /* @__PURE__ */ n(() => /* @__PURE__ */ o("div", { class: "details__header__title" }, "Jugando como", -1)), I = { class: "details__header__checkbox" }, q = { class: "details__body" }, z = { class: "details__body__playing-as" }, F = ["onClick"], K = { class: "details__header" }, L = /* @__PURE__ */ n(() => /* @__PURE__ */ o("div", { class: "details__header__title" }, "En: (Elige el lapso de tiempo)", -1)), N = { class: "details__header__checkbox" }, U = { class: "details__body" }, D = /* @__PURE__ */ n(() => /* @__PURE__ */ o("div", { class: "details__body__title" }, "1er tiempo", -1)), J = { class: "details__body__game-section" }, j = ["onClick"], w = { class: "details__body" }, G = /* @__PURE__ */ n(() => /* @__PURE__ */ o("div", { class: "details__body__title" }, "2do tiempo", -1)), M = { class: "details__body__game-section" }, O = ["onClick"], P = {
|
|
4
|
+
__name: "FilterConditions",
|
|
5
|
+
props: {
|
|
6
|
+
playingAs: {
|
|
7
|
+
type: Array,
|
|
8
|
+
default: () => [
|
|
9
|
+
{
|
|
10
|
+
name: "Local",
|
|
11
|
+
isSelected: !0
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
name: "Visitante",
|
|
15
|
+
isSelected: !0
|
|
16
|
+
}
|
|
17
|
+
]
|
|
18
|
+
},
|
|
19
|
+
gameSections: {
|
|
20
|
+
type: Array,
|
|
21
|
+
default: () => [
|
|
22
|
+
{
|
|
23
|
+
text: "0-15",
|
|
24
|
+
value: 1,
|
|
25
|
+
isSelected: !0
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
text: "16-30",
|
|
29
|
+
value: 2,
|
|
30
|
+
isSelected: !0
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
text: "31-45",
|
|
34
|
+
value: 3,
|
|
35
|
+
isSelected: !0
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
text: "46-60",
|
|
39
|
+
value: 4,
|
|
40
|
+
isSelected: !0
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
text: "61-75",
|
|
44
|
+
value: 5,
|
|
45
|
+
isSelected: !0
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
text: "76-90",
|
|
49
|
+
value: 6,
|
|
50
|
+
isSelected: !0
|
|
51
|
+
}
|
|
52
|
+
]
|
|
53
|
+
},
|
|
54
|
+
buttonsBackgroundColor: {
|
|
55
|
+
type: String,
|
|
56
|
+
default: "rgba(255, 255, 255, 0)"
|
|
57
|
+
},
|
|
58
|
+
buttonsBackgroundColorActive: {
|
|
59
|
+
type: String,
|
|
60
|
+
default: "rgba(203, 238, 107, 0.05)"
|
|
61
|
+
},
|
|
62
|
+
buttonsTextColor: {
|
|
63
|
+
type: String,
|
|
64
|
+
default: "rgba(255, 255, 255, 0.8)"
|
|
65
|
+
},
|
|
66
|
+
buttonsTextColorActive: {
|
|
67
|
+
type: String,
|
|
68
|
+
default: "rgba(255, 255, 255, 1)"
|
|
69
|
+
},
|
|
70
|
+
buttonsBorderColor: {
|
|
71
|
+
type: String,
|
|
72
|
+
default: "#8ea2ab"
|
|
73
|
+
},
|
|
74
|
+
buttonsBorderColorActive: {
|
|
75
|
+
type: String,
|
|
76
|
+
default: "#cbee6b"
|
|
77
|
+
},
|
|
78
|
+
buttonsBorderWidth: {
|
|
79
|
+
type: String,
|
|
80
|
+
default: "0.8px"
|
|
81
|
+
},
|
|
82
|
+
buttonsBorderWidthActive: {
|
|
83
|
+
type: String,
|
|
84
|
+
default: "1px"
|
|
85
|
+
},
|
|
86
|
+
buttonsBorderRadius: {
|
|
87
|
+
type: String,
|
|
88
|
+
default: "4px"
|
|
89
|
+
}
|
|
90
|
+
},
|
|
91
|
+
setup(d) {
|
|
92
|
+
const a = d;
|
|
93
|
+
$((e) => ({
|
|
94
|
+
"2715f84a": d.buttonsBackgroundColor,
|
|
95
|
+
"97bea92a": d.buttonsTextColor,
|
|
96
|
+
"544788ef": d.buttonsBorderWidth,
|
|
97
|
+
"53308a8c": d.buttonsBorderColor,
|
|
98
|
+
e844f820: d.buttonsBackgroundColorActive,
|
|
99
|
+
"76839a51": d.buttonsTextColorActive,
|
|
100
|
+
"2bf17656": d.buttonsBorderWidthActive,
|
|
101
|
+
a4c4469c: d.buttonsBorderColorActive
|
|
102
|
+
}));
|
|
103
|
+
const h = c(() => a.playingAs.every((e) => e.isSelected)), C = c(() => a.gameSections.every((e) => e.isSelected)), p = c(() => a.gameSections.reduce(
|
|
104
|
+
(e, t) => (t.value <= 3 ? e.firstHalf.push(t) : e.secondHalf.push(t), e),
|
|
105
|
+
{
|
|
106
|
+
firstHalf: [],
|
|
107
|
+
secondHalf: []
|
|
108
|
+
}
|
|
109
|
+
)), B = c(() => ({
|
|
110
|
+
"--border-radius-first-button": `${a.buttonsBorderRadius} 0 0 ${a.buttonsBorderRadius}`,
|
|
111
|
+
"--border-radius-last-button": `0 ${a.buttonsBorderRadius} ${a.buttonsBorderRadius} 0`
|
|
112
|
+
}));
|
|
113
|
+
function x(e) {
|
|
114
|
+
e ? a.playingAs.forEach((t) => {
|
|
115
|
+
t.isSelected = !0;
|
|
116
|
+
}) : a.playingAs.forEach((t, l) => {
|
|
117
|
+
t.isSelected = l === 0;
|
|
118
|
+
});
|
|
119
|
+
}
|
|
120
|
+
function k(e) {
|
|
121
|
+
a.playingAs.filter((t) => t.isSelected).length === 1 && e.isSelected || (e.isSelected = !e.isSelected);
|
|
122
|
+
}
|
|
123
|
+
function S(e) {
|
|
124
|
+
a.gameSections.filter((t) => t.isSelected).length === 1 && e.isSelected || (e.isSelected = !e.isSelected);
|
|
125
|
+
}
|
|
126
|
+
function A(e) {
|
|
127
|
+
e ? a.gameSections.forEach((t) => {
|
|
128
|
+
t.isSelected = !0;
|
|
129
|
+
}) : a.gameSections.forEach((t, l) => {
|
|
130
|
+
t.isSelected = l === 0;
|
|
131
|
+
});
|
|
132
|
+
}
|
|
133
|
+
return (e, t) => (i(), s("div", {
|
|
134
|
+
class: "details",
|
|
135
|
+
style: E(B.value)
|
|
136
|
+
}, [
|
|
137
|
+
o("div", R, [
|
|
138
|
+
W,
|
|
139
|
+
o("div", I, [
|
|
140
|
+
y(g(m), {
|
|
141
|
+
label: "Todos",
|
|
142
|
+
"model-value": h.value,
|
|
143
|
+
"onUpdate:modelValue": x
|
|
144
|
+
}, null, 8, ["model-value"])
|
|
145
|
+
])
|
|
146
|
+
]),
|
|
147
|
+
o("div", q, [
|
|
148
|
+
o("div", z, [
|
|
149
|
+
(i(!0), s(u, null, _(a.playingAs, (l, r) => (i(), s("div", {
|
|
150
|
+
key: `pa${r}`,
|
|
151
|
+
class: b(["details__body__button", { active: l.isSelected }]),
|
|
152
|
+
onClick: (f) => k(l)
|
|
153
|
+
}, v(l.name), 11, F))), 128))
|
|
154
|
+
])
|
|
155
|
+
]),
|
|
156
|
+
o("div", K, [
|
|
157
|
+
L,
|
|
158
|
+
o("div", N, [
|
|
159
|
+
y(g(m), {
|
|
160
|
+
label: "Todos",
|
|
161
|
+
"model-value": C.value,
|
|
162
|
+
"onUpdate:modelValue": A
|
|
163
|
+
}, null, 8, ["model-value"])
|
|
164
|
+
])
|
|
165
|
+
]),
|
|
166
|
+
o("div", U, [
|
|
167
|
+
D,
|
|
168
|
+
o("div", J, [
|
|
169
|
+
(i(!0), s(u, null, _(p.value.firstHalf, (l, r) => (i(), s("div", {
|
|
170
|
+
key: `pa${r}`,
|
|
171
|
+
class: b(["details__body__button", { active: l.isSelected }]),
|
|
172
|
+
onClick: (f) => S(l)
|
|
173
|
+
}, v(l.text), 11, j))), 128))
|
|
174
|
+
])
|
|
175
|
+
]),
|
|
176
|
+
o("div", w, [
|
|
177
|
+
G,
|
|
178
|
+
o("div", M, [
|
|
179
|
+
(i(!0), s(u, null, _(p.value.secondHalf, (l, r) => (i(), s("div", {
|
|
180
|
+
key: `pa${r}`,
|
|
181
|
+
class: b(["details__body__button", { active: l.isSelected }]),
|
|
182
|
+
onClick: (f) => S(l)
|
|
183
|
+
}, v(l.text), 11, O))), 128))
|
|
184
|
+
])
|
|
185
|
+
])
|
|
186
|
+
], 4));
|
|
187
|
+
}
|
|
188
|
+
}, X = /* @__PURE__ */ T(P, [["__scopeId", "data-v-893b389d"]]);
|
|
189
|
+
export {
|
|
190
|
+
X as default
|
|
191
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { ref as r, createElementBlock as a, openBlock as n, createVNode as d, unref as c } from "vue";
|
|
2
|
+
import { K as f, E as u } from "./index-DngAaI6L.js";
|
|
3
|
+
const i = { class: "filter-field" }, m = {
|
|
4
|
+
__name: "FilterField",
|
|
5
|
+
setup(s) {
|
|
6
|
+
const o = r(Array.from({ length: 16 }, (l, e) => e + 1));
|
|
7
|
+
function t() {
|
|
8
|
+
}
|
|
9
|
+
return (l, e) => (n(), a("div", i, [
|
|
10
|
+
d(c(u), {
|
|
11
|
+
width: "100%",
|
|
12
|
+
"background-color": "#2E3B46",
|
|
13
|
+
value: o.value,
|
|
14
|
+
"onUpdate:modelValue": t
|
|
15
|
+
}, null, 8, ["value"])
|
|
16
|
+
]));
|
|
17
|
+
}
|
|
18
|
+
}, _ = /* @__PURE__ */ f(m, [["__scopeId", "data-v-ef90fbbd"]]);
|
|
19
|
+
export {
|
|
20
|
+
_ as default
|
|
21
|
+
};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { ref as r, createElementBlock as a, openBlock as n, createVNode as
|
|
2
|
-
import { X as
|
|
3
|
-
const
|
|
1
|
+
import { ref as r, createElementBlock as a, openBlock as n, createVNode as d, unref as f } from "vue";
|
|
2
|
+
import { X as u, z as c } from "./index-DngAaI6L.js";
|
|
3
|
+
const i = { class: "filter-field" }, m = {
|
|
4
4
|
__name: "FilterField",
|
|
5
|
-
setup(
|
|
5
|
+
setup(s) {
|
|
6
6
|
const l = r(Array.from({ length: 16 }, (t, e) => e + 1));
|
|
7
7
|
function o() {
|
|
8
8
|
}
|
|
9
|
-
return (t, e) => (n(), a("div",
|
|
10
|
-
|
|
9
|
+
return (t, e) => (n(), a("div", i, [
|
|
10
|
+
d(f(c), {
|
|
11
11
|
width: "100%",
|
|
12
12
|
"background-color": "#2E3B46",
|
|
13
13
|
value: l.value,
|
|
@@ -15,7 +15,7 @@ const f = { class: "filter-field" }, m = {
|
|
|
15
15
|
}, null, 8, ["value"])
|
|
16
16
|
]));
|
|
17
17
|
}
|
|
18
|
-
}, _ = /* @__PURE__ */
|
|
18
|
+
}, _ = /* @__PURE__ */ u(m, [["__scopeId", "data-v-ef90fbbd"]]);
|
|
19
19
|
export {
|
|
20
20
|
_ as default
|
|
21
21
|
};
|
package/dist/{FilterSubcategories-d538a4eb-DbJuVf-E.js → FilterSubcategories-42fd5c17-CxpAoroE.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { createElementBlock as o, openBlock as r, Fragment as a, renderList as u, createVNode as d, createBlock as n, unref as
|
|
2
|
-
import { X as l, Z as
|
|
3
|
-
const
|
|
1
|
+
import { createElementBlock as o, openBlock as r, Fragment as a, renderList as u, createVNode as d, createBlock as n, unref as b } from "vue";
|
|
2
|
+
import { X as l, Z as i } from "./index-DngAaI6L.js";
|
|
3
|
+
const g = { class: "subcategory-group" }, y = {
|
|
4
4
|
__name: "SubcategoryGroup",
|
|
5
5
|
props: {
|
|
6
6
|
subcategoryGroup: {
|
|
@@ -9,8 +9,8 @@ const y = { class: "subcategory-group" }, b = {
|
|
|
9
9
|
}
|
|
10
10
|
},
|
|
11
11
|
setup(t) {
|
|
12
|
-
return (s, c) => (r(), o("div",
|
|
13
|
-
(r(!0), o(a, null, u(t.subcategoryGroup, (e) => (r(), n(i
|
|
12
|
+
return (s, c) => (r(), o("div", g, [
|
|
13
|
+
(r(!0), o(a, null, u(t.subcategoryGroup, (e) => (r(), n(b(i), {
|
|
14
14
|
key: e.id,
|
|
15
15
|
modelValue: e.isSelected,
|
|
16
16
|
"onUpdate:modelValue": (p) => e.isSelected = p,
|
|
@@ -18,7 +18,7 @@ const y = { class: "subcategory-group" }, b = {
|
|
|
18
18
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "label"]))), 128))
|
|
19
19
|
]));
|
|
20
20
|
}
|
|
21
|
-
}, m = /* @__PURE__ */ l(
|
|
21
|
+
}, m = /* @__PURE__ */ l(y, [["__scopeId", "data-v-85bc2114"]]), _ = { class: "filter-subcategories" }, f = {
|
|
22
22
|
__name: "FilterSubcategories",
|
|
23
23
|
props: {
|
|
24
24
|
subcategoryGroups: {
|
|
@@ -36,7 +36,7 @@ const y = { class: "subcategory-group" }, b = {
|
|
|
36
36
|
]))), 128))
|
|
37
37
|
]));
|
|
38
38
|
}
|
|
39
|
-
}, v = /* @__PURE__ */ l(f, [["__scopeId", "data-v-
|
|
39
|
+
}, v = /* @__PURE__ */ l(f, [["__scopeId", "data-v-74a77bab"]]);
|
|
40
40
|
export {
|
|
41
41
|
v as default
|
|
42
42
|
};
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { createElementBlock as a, openBlock as r, Fragment as t, renderList as u, createVNode as d, createBlock as n, unref as b } from "vue";
|
|
2
|
+
import { K as l, q as i } from "./index-DngAaI6L.js";
|
|
3
|
+
const g = { class: "subcategory-group" }, y = {
|
|
4
|
+
__name: "SubcategoryGroup",
|
|
5
|
+
props: {
|
|
6
|
+
subcategoryGroup: {
|
|
7
|
+
type: Array,
|
|
8
|
+
default: () => []
|
|
9
|
+
}
|
|
10
|
+
},
|
|
11
|
+
setup(o) {
|
|
12
|
+
return (s, c) => (r(), a("div", g, [
|
|
13
|
+
(r(!0), a(t, null, u(o.subcategoryGroup, (e) => (r(), n(b(i), {
|
|
14
|
+
key: e.id,
|
|
15
|
+
modelValue: e.isSelected,
|
|
16
|
+
"onUpdate:modelValue": (p) => e.isSelected = p,
|
|
17
|
+
label: e.name
|
|
18
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "label"]))), 128))
|
|
19
|
+
]));
|
|
20
|
+
}
|
|
21
|
+
}, m = /* @__PURE__ */ l(y, [["__scopeId", "data-v-85bc2114"]]), _ = { class: "filter-subcategories" }, f = {
|
|
22
|
+
__name: "FilterSubcategories",
|
|
23
|
+
props: {
|
|
24
|
+
subcategoryGroups: {
|
|
25
|
+
type: Array,
|
|
26
|
+
default: () => []
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
setup(o) {
|
|
30
|
+
return (s, c) => (r(), a("div", _, [
|
|
31
|
+
(r(!0), a(t, null, u(o.subcategoryGroups, (e) => (r(), a("div", {
|
|
32
|
+
key: e.id,
|
|
33
|
+
class: "filter-subcategories__group"
|
|
34
|
+
}, [
|
|
35
|
+
d(m, { subcategoryGroup: e }, null, 8, ["subcategoryGroup"])
|
|
36
|
+
]))), 128))
|
|
37
|
+
]));
|
|
38
|
+
}
|
|
39
|
+
}, k = /* @__PURE__ */ l(f, [["__scopeId", "data-v-74a77bab"]]);
|
|
40
|
+
export {
|
|
41
|
+
k as default
|
|
42
|
+
};
|