@golstats/lilini-player-detection 1.0.12 → 1.0.14
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-bba3ab6b-DbwiYvS4-Bbtu2fa7.js → FilterConditions-651c861c-BjXwcyO--DXC_o-_b.js} +38 -38
- package/dist/{FilterConditions-bba3ab6b-Czad8uRk.js → FilterConditions-651c861c-XImsQElh.js} +11 -11
- package/dist/{FilterField-1aa0a96d-CImkR-PG.js → FilterField-f6b9aab9-B0D2cHgr.js} +1 -1
- package/dist/FilterField-f6b9aab9-Dfix9C1D-DbgEBs61.js +21 -0
- package/dist/{FilterSubcategories-97a5dd5e-C4a3TzYC-SZVngRtw.js → FilterSubcategories-0717912e-B8cZlUD_-CLbU-sMK.js} +7 -7
- package/dist/{FilterSubcategories-97a5dd5e-XQvl8yZZ.js → FilterSubcategories-0717912e-n8bn0pp5.js} +1 -1
- package/dist/{index-B1UIfjrD.js → index-0walNeCH.js} +7392 -7648
- package/dist/lilini-player-detection.css +1 -1
- package/dist/lilini-player-detection.es.js +2 -2
- package/dist/lilini-player-detection.umd.js +18 -18
- package/package.json +5 -4
- package/dist/FilterField-1aa0a96d-BITmj9tb-DWV6c_TC.js +0 -21
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { useCssVars as E, computed as c, createElementBlock as s, openBlock as i, normalizeStyle as
|
|
2
|
-
import {
|
|
3
|
-
const n = (o) => (
|
|
1
|
+
import { useCssVars as E, computed as c, createElementBlock as s, openBlock as i, normalizeStyle as $, createElementVNode as d, 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 { s as T, Q as m } from "./index-0walNeCH.js";
|
|
3
|
+
const n = (o) => (V("data-v-80d9c265"), o = o(), H(), o), R = { class: "details__header" }, W = /* @__PURE__ */ n(() => /* @__PURE__ */ d("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" }, Q = /* @__PURE__ */ n(() => /* @__PURE__ */ d("div", { class: "details__header__title" }, "En: (Elige el lapso de tiempo)", -1)), U = { class: "details__header__checkbox" }, D = { class: "details__body" }, J = /* @__PURE__ */ n(() => /* @__PURE__ */ d("div", { class: "details__body__title" }, "1er tiempo", -1)), j = { class: "details__body__game-section" }, q = ["onClick"], w = { class: "details__body" }, G = /* @__PURE__ */ n(() => /* @__PURE__ */ d("div", { class: "details__body__title" }, "2do tiempo", -1)), K = { class: "details__body__game-section" }, M = ["onClick"], O = {
|
|
4
4
|
__name: "FilterConditions",
|
|
5
5
|
props: {
|
|
6
6
|
playingAs: {
|
|
@@ -89,7 +89,7 @@ const n = (o) => ($("data-v-80d9c265"), o = o(), H(), o), R = { class: "details_
|
|
|
89
89
|
}
|
|
90
90
|
},
|
|
91
91
|
setup(o) {
|
|
92
|
-
const
|
|
92
|
+
const l = o;
|
|
93
93
|
E((e) => ({
|
|
94
94
|
"49cba245": o.buttonsBackgroundColor,
|
|
95
95
|
"52f02da6": o.buttonsTextColor,
|
|
@@ -100,39 +100,39 @@ const n = (o) => ($("data-v-80d9c265"), o = o(), H(), o), R = { class: "details_
|
|
|
100
100
|
"35fa5c10": o.buttonsBorderWidthActive,
|
|
101
101
|
"0cde1826": o.buttonsBorderColorActive
|
|
102
102
|
}));
|
|
103
|
-
const h = c(() =>
|
|
103
|
+
const h = c(() => l.playingAs.every((e) => e.isSelected)), C = c(() => l.gameSections.every((e) => e.isSelected)), p = c(() => l.gameSections.reduce(
|
|
104
104
|
(e, t) => (t.value <= 3 ? e.firstHalf.push(t) : e.secondHalf.push(t), e),
|
|
105
105
|
{
|
|
106
106
|
firstHalf: [],
|
|
107
107
|
secondHalf: []
|
|
108
108
|
}
|
|
109
109
|
)), B = c(() => ({
|
|
110
|
-
"--border-radius-first-button": `${
|
|
111
|
-
"--border-radius-last-button": `0 ${
|
|
110
|
+
"--border-radius-first-button": `${l.buttonsBorderRadius} 0 0 ${l.buttonsBorderRadius}`,
|
|
111
|
+
"--border-radius-last-button": `0 ${l.buttonsBorderRadius} ${l.buttonsBorderRadius} 0`
|
|
112
112
|
}));
|
|
113
113
|
function x(e) {
|
|
114
|
-
e ?
|
|
114
|
+
e ? l.playingAs.forEach((t) => {
|
|
115
115
|
t.isSelected = !0;
|
|
116
|
-
}) :
|
|
117
|
-
t.isSelected =
|
|
116
|
+
}) : l.playingAs.forEach((t, a) => {
|
|
117
|
+
t.isSelected = a === 0;
|
|
118
118
|
});
|
|
119
119
|
}
|
|
120
120
|
function k(e) {
|
|
121
|
-
|
|
121
|
+
l.playingAs.filter((t) => t.isSelected).length === 1 && e.isSelected || (e.isSelected = !e.isSelected);
|
|
122
122
|
}
|
|
123
123
|
function S(e) {
|
|
124
|
-
|
|
124
|
+
l.gameSections.filter((t) => t.isSelected).length === 1 && e.isSelected || (e.isSelected = !e.isSelected);
|
|
125
125
|
}
|
|
126
126
|
function A(e) {
|
|
127
|
-
e ?
|
|
127
|
+
e ? l.gameSections.forEach((t) => {
|
|
128
128
|
t.isSelected = !0;
|
|
129
|
-
}) :
|
|
130
|
-
t.isSelected =
|
|
129
|
+
}) : l.gameSections.forEach((t, a) => {
|
|
130
|
+
t.isSelected = a === 0;
|
|
131
131
|
});
|
|
132
132
|
}
|
|
133
133
|
return (e, t) => (i(), s("div", {
|
|
134
134
|
class: "details",
|
|
135
|
-
style:
|
|
135
|
+
style: $(B.value)
|
|
136
136
|
}, [
|
|
137
137
|
d("div", R, [
|
|
138
138
|
W,
|
|
@@ -146,16 +146,16 @@ const n = (o) => ($("data-v-80d9c265"), o = o(), H(), o), R = { class: "details_
|
|
|
146
146
|
]),
|
|
147
147
|
d("div", z, [
|
|
148
148
|
d("div", F, [
|
|
149
|
-
(i(!0), s(u, null, _(
|
|
149
|
+
(i(!0), s(u, null, _(l.playingAs, (a, r) => (i(), s("div", {
|
|
150
150
|
key: `pa${r}`,
|
|
151
|
-
class: b(["details__body__button", { active:
|
|
152
|
-
onClick: (f) => k(
|
|
153
|
-
}, v(
|
|
151
|
+
class: b(["details__body__button", { active: a.isSelected }]),
|
|
152
|
+
onClick: (f) => k(a)
|
|
153
|
+
}, v(a.name), 11, L))), 128))
|
|
154
154
|
])
|
|
155
155
|
]),
|
|
156
156
|
d("div", N, [
|
|
157
|
-
|
|
158
|
-
d("div",
|
|
157
|
+
Q,
|
|
158
|
+
d("div", U, [
|
|
159
159
|
y(g(m), {
|
|
160
160
|
label: "Todos",
|
|
161
161
|
"model-value": C.value,
|
|
@@ -163,29 +163,29 @@ const n = (o) => ($("data-v-80d9c265"), o = o(), H(), o), R = { class: "details_
|
|
|
163
163
|
}, null, 8, ["model-value"])
|
|
164
164
|
])
|
|
165
165
|
]),
|
|
166
|
-
d("div",
|
|
167
|
-
|
|
168
|
-
d("div",
|
|
169
|
-
(i(!0), s(u, null, _(p.value.firstHalf, (
|
|
166
|
+
d("div", D, [
|
|
167
|
+
J,
|
|
168
|
+
d("div", j, [
|
|
169
|
+
(i(!0), s(u, null, _(p.value.firstHalf, (a, r) => (i(), s("div", {
|
|
170
170
|
key: `pa${r}`,
|
|
171
|
-
class: b(["details__body__button", { active:
|
|
172
|
-
onClick: (f) => S(
|
|
173
|
-
}, v(
|
|
171
|
+
class: b(["details__body__button", { active: a.isSelected }]),
|
|
172
|
+
onClick: (f) => S(a)
|
|
173
|
+
}, v(a.text), 11, q))), 128))
|
|
174
174
|
])
|
|
175
175
|
]),
|
|
176
|
-
d("div",
|
|
177
|
-
|
|
178
|
-
d("div",
|
|
179
|
-
(i(!0), s(u, null, _(p.value.secondHalf, (
|
|
176
|
+
d("div", w, [
|
|
177
|
+
G,
|
|
178
|
+
d("div", K, [
|
|
179
|
+
(i(!0), s(u, null, _(p.value.secondHalf, (a, r) => (i(), s("div", {
|
|
180
180
|
key: `pa${r}`,
|
|
181
|
-
class: b(["details__body__button", { active:
|
|
182
|
-
onClick: (f) => S(
|
|
183
|
-
}, v(
|
|
181
|
+
class: b(["details__body__button", { active: a.isSelected }]),
|
|
182
|
+
onClick: (f) => S(a)
|
|
183
|
+
}, v(a.text), 11, M))), 128))
|
|
184
184
|
])
|
|
185
185
|
])
|
|
186
186
|
], 4));
|
|
187
187
|
}
|
|
188
|
-
},
|
|
188
|
+
}, Y = /* @__PURE__ */ T(O, [["__scopeId", "data-v-80d9c265"]]);
|
|
189
189
|
export {
|
|
190
|
-
|
|
190
|
+
Y as default
|
|
191
191
|
};
|
package/dist/{FilterConditions-bba3ab6b-Czad8uRk.js → FilterConditions-651c861c-XImsQElh.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useCssVars as E, computed as c, createElementBlock as d, openBlock as i, 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 {
|
|
3
|
-
const n = (s) => (H("data-v-80d9c265"), 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" },
|
|
2
|
+
import { J as T, Z as m } from "./index-0walNeCH.js";
|
|
3
|
+
const n = (s) => (H("data-v-80d9c265"), 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" }, J = { class: "details__body" }, z = { class: "details__body__playing-as" }, F = ["onClick"], L = { class: "details__header" }, N = /* @__PURE__ */ n(() => /* @__PURE__ */ o("div", { class: "details__header__title" }, "En: (Elige el lapso de tiempo)", -1)), U = { class: "details__header__checkbox" }, D = { 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: {
|
|
@@ -144,18 +144,18 @@ const n = (s) => (H("data-v-80d9c265"), s = s(), R(), s), V = { class: "details_
|
|
|
144
144
|
}, null, 8, ["model-value"])
|
|
145
145
|
])
|
|
146
146
|
]),
|
|
147
|
-
o("div",
|
|
148
|
-
o("div",
|
|
147
|
+
o("div", J, [
|
|
148
|
+
o("div", z, [
|
|
149
149
|
(i(!0), d(u, null, _(a.playingAs, (l, r) => (i(), d("div", {
|
|
150
150
|
key: `pa${r}`,
|
|
151
151
|
class: b(["details__body__button", { active: l.isSelected }]),
|
|
152
152
|
onClick: (f) => k(l)
|
|
153
|
-
}, v(l.name), 11,
|
|
153
|
+
}, v(l.name), 11, F))), 128))
|
|
154
154
|
])
|
|
155
155
|
]),
|
|
156
|
-
o("div",
|
|
157
|
-
|
|
158
|
-
o("div",
|
|
156
|
+
o("div", L, [
|
|
157
|
+
N,
|
|
158
|
+
o("div", U, [
|
|
159
159
|
y(g(m), {
|
|
160
160
|
label: "Todos",
|
|
161
161
|
"model-value": C.value,
|
|
@@ -163,7 +163,7 @@ const n = (s) => (H("data-v-80d9c265"), s = s(), R(), s), V = { class: "details_
|
|
|
163
163
|
}, null, 8, ["model-value"])
|
|
164
164
|
])
|
|
165
165
|
]),
|
|
166
|
-
o("div",
|
|
166
|
+
o("div", D, [
|
|
167
167
|
j,
|
|
168
168
|
o("div", q, [
|
|
169
169
|
(i(!0), d(u, null, _(p.value.firstHalf, (l, r) => (i(), d("div", {
|
|
@@ -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
|
-
},
|
|
188
|
+
}, Q = /* @__PURE__ */ T(P, [["__scopeId", "data-v-80d9c265"]]);
|
|
189
189
|
export {
|
|
190
|
-
|
|
190
|
+
Q as default
|
|
191
191
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ref as r, createElementBlock as a, openBlock as n, createVNode as c, unref as u } from "vue";
|
|
2
|
-
import {
|
|
2
|
+
import { J as d, a as i } from "./index-0walNeCH.js";
|
|
3
3
|
const f = { class: "filter-field" }, m = {
|
|
4
4
|
__name: "FilterField",
|
|
5
5
|
setup(p) {
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { ref as r, createElementBlock as a, openBlock as n, createVNode as c, unref as d } from "vue";
|
|
2
|
+
import { s, O as u } from "./index-0walNeCH.js";
|
|
3
|
+
const f = { class: "filter-field" }, i = {
|
|
4
|
+
__name: "FilterField",
|
|
5
|
+
setup(m) {
|
|
6
|
+
const o = r(Array.from({ length: 16 }, (l, e) => e + 1));
|
|
7
|
+
function t() {
|
|
8
|
+
}
|
|
9
|
+
return (l, e) => (n(), a("div", f, [
|
|
10
|
+
c(d(u), {
|
|
11
|
+
width: "100%",
|
|
12
|
+
"background-color": "#2E3B46",
|
|
13
|
+
value: o.value,
|
|
14
|
+
"onUpdate:modelValue": t
|
|
15
|
+
}, null, 8, ["value"])
|
|
16
|
+
]));
|
|
17
|
+
}
|
|
18
|
+
}, _ = /* @__PURE__ */ s(i, [["__scopeId", "data-v-8103c3e1"]]);
|
|
19
|
+
export {
|
|
20
|
+
_ as default
|
|
21
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createElementBlock as a, openBlock as r, Fragment as t, renderList as u, createVNode as d, createBlock as n, unref as i } from "vue";
|
|
2
|
-
import {
|
|
3
|
-
const
|
|
2
|
+
import { s, Q as y } from "./index-0walNeCH.js";
|
|
3
|
+
const b = { class: "subcategory-group" }, g = {
|
|
4
4
|
__name: "SubcategoryGroup",
|
|
5
5
|
props: {
|
|
6
6
|
subcategoryGroup: {
|
|
@@ -9,8 +9,8 @@ const y = { class: "subcategory-group" }, g = {
|
|
|
9
9
|
}
|
|
10
10
|
},
|
|
11
11
|
setup(o) {
|
|
12
|
-
return (
|
|
13
|
-
(r(!0), a(t, null, u(o.subcategoryGroup, (e) => (r(), n(i(
|
|
12
|
+
return (l, c) => (r(), a("div", b, [
|
|
13
|
+
(r(!0), a(t, null, u(o.subcategoryGroup, (e) => (r(), n(i(y), {
|
|
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" }, g = {
|
|
|
18
18
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "label"]))), 128))
|
|
19
19
|
]));
|
|
20
20
|
}
|
|
21
|
-
}, m = /* @__PURE__ */
|
|
21
|
+
}, m = /* @__PURE__ */ s(g, [["__scopeId", "data-v-ae6f3d72"]]), f = { class: "filter-subcategories" }, _ = {
|
|
22
22
|
__name: "FilterSubcategories",
|
|
23
23
|
props: {
|
|
24
24
|
subcategoryGroups: {
|
|
@@ -27,7 +27,7 @@ const y = { class: "subcategory-group" }, g = {
|
|
|
27
27
|
}
|
|
28
28
|
},
|
|
29
29
|
setup(o) {
|
|
30
|
-
return (
|
|
30
|
+
return (l, c) => (r(), a("div", f, [
|
|
31
31
|
(r(!0), a(t, null, u(o.subcategoryGroups, (e) => (r(), a("div", {
|
|
32
32
|
key: e.id,
|
|
33
33
|
class: "filter-subcategories__group"
|
|
@@ -36,7 +36,7 @@ const y = { class: "subcategory-group" }, g = {
|
|
|
36
36
|
]))), 128))
|
|
37
37
|
]));
|
|
38
38
|
}
|
|
39
|
-
}, k = /* @__PURE__ */
|
|
39
|
+
}, k = /* @__PURE__ */ s(_, [["__scopeId", "data-v-5edaefc2"]]);
|
|
40
40
|
export {
|
|
41
41
|
k as default
|
|
42
42
|
};
|
package/dist/{FilterSubcategories-97a5dd5e-XQvl8yZZ.js → FilterSubcategories-0717912e-n8bn0pp5.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { createElementBlock as o, openBlock as r, Fragment as a, renderList as u, createVNode as d, createBlock as n, unref as i } from "vue";
|
|
2
|
-
import {
|
|
2
|
+
import { J as l, Z as g } from "./index-0walNeCH.js";
|
|
3
3
|
const y = { class: "subcategory-group" }, b = {
|
|
4
4
|
__name: "SubcategoryGroup",
|
|
5
5
|
props: {
|