@golstats/gsc-filters 1.0.69 → 1.0.71
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/README.md +2 -2
- package/dist/{FilterConditions-e2f8c819.js → FilterConditions-e741517d.js} +20 -20
- package/dist/{FilterField-a2e8ef44.js → FilterField-6ba5128c.js} +6 -6
- package/dist/{FilterSubcategories-d538a4eb.js → FilterSubcategories-42fd5c17.js} +9 -9
- package/dist/gsc-filters.js +18 -17
- package/dist/gsc-filters.umd.cjs +6 -6
- package/dist/{index-8d8956ee.js → index-82453146.js} +2765 -2266
- package/dist/style.css +1 -1
- package/package.json +48 -48
package/README.md
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
# filters-component
|
|
2
|
-
Componente filtros
|
|
1
|
+
# filters-component
|
|
2
|
+
Componente filtros
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { useCssVars as $, computed as
|
|
2
|
-
import { _ as V, L as g } from "./index-
|
|
3
|
-
const
|
|
1
|
+
import { useCssVars as $, computed as r, openBlock as i, createElementBlock as a, normalizeStyle as E, createElementVNode as l, createVNode as y, unref as p, Fragment as u, renderList as _, normalizeClass as b, toDisplayString as v, pushScopeId as H, popScopeId as T } from "vue";
|
|
2
|
+
import { _ as V, L as g } from "./index-82453146.js";
|
|
3
|
+
const c = (d) => (H("data-v-893b389d"), d = d(), T(), d), R = { class: "details__header" }, F = /* @__PURE__ */ c(() => /* @__PURE__ */ l("div", { class: "details__header__title" }, "Jugando como", -1)), I = { class: "details__header__checkbox" }, W = { class: "details__body" }, G = { class: "details__body__playing-as" }, L = ["onClick"], P = { class: "details__header" }, z = /* @__PURE__ */ c(() => /* @__PURE__ */ l("div", { class: "details__header__title" }, "En: (Elige el lapso de tiempo)", -1)), N = { class: "details__header__checkbox" }, U = { class: "details__body" }, w = /* @__PURE__ */ c(() => /* @__PURE__ */ l("div", { class: "details__body__title" }, "1er tiempo", -1)), D = { class: "details__body__game-section" }, J = ["onClick"], j = { class: "details__body" }, q = /* @__PURE__ */ c(() => /* @__PURE__ */ l("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: {
|
|
@@ -91,22 +91,22 @@ const r = (d) => (H("data-v-80d9c265"), d = d(), T(), d), R = { class: "details_
|
|
|
91
91
|
setup(d) {
|
|
92
92
|
const o = d;
|
|
93
93
|
$((e) => ({
|
|
94
|
-
"
|
|
95
|
-
"
|
|
96
|
-
"
|
|
97
|
-
"
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
"
|
|
101
|
-
|
|
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
102
|
}));
|
|
103
|
-
const m =
|
|
103
|
+
const m = r(() => o.playingAs.every((e) => e.isSelected)), C = r(() => o.gameSections.every((e) => e.isSelected)), f = r(() => o.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
|
-
)), x =
|
|
109
|
+
)), x = r(() => ({
|
|
110
110
|
"--border-radius-first-button": `${o.buttonsBorderRadius} 0 0 ${o.buttonsBorderRadius}`,
|
|
111
111
|
"--border-radius-last-button": `0 ${o.buttonsBorderRadius} ${o.buttonsBorderRadius} 0`
|
|
112
112
|
}));
|
|
@@ -148,9 +148,9 @@ const r = (d) => (H("data-v-80d9c265"), d = d(), T(), d), R = { class: "details_
|
|
|
148
148
|
l("div", G, [
|
|
149
149
|
(i(!0), a(u, null, _(o.playingAs, (s, n) => (i(), a("div", {
|
|
150
150
|
key: `pa${n}`,
|
|
151
|
-
class:
|
|
151
|
+
class: b(["details__body__button", { active: s.isSelected }]),
|
|
152
152
|
onClick: (h) => B(s)
|
|
153
|
-
},
|
|
153
|
+
}, v(s.name), 11, L))), 128))
|
|
154
154
|
])
|
|
155
155
|
]),
|
|
156
156
|
l("div", P, [
|
|
@@ -168,9 +168,9 @@ const r = (d) => (H("data-v-80d9c265"), d = d(), T(), d), R = { class: "details_
|
|
|
168
168
|
l("div", D, [
|
|
169
169
|
(i(!0), a(u, null, _(f.value.firstHalf, (s, n) => (i(), a("div", {
|
|
170
170
|
key: `pa${n}`,
|
|
171
|
-
class:
|
|
171
|
+
class: b(["details__body__button", { active: s.isSelected }]),
|
|
172
172
|
onClick: (h) => S(s)
|
|
173
|
-
},
|
|
173
|
+
}, v(s.text), 11, J))), 128))
|
|
174
174
|
])
|
|
175
175
|
]),
|
|
176
176
|
l("div", j, [
|
|
@@ -178,14 +178,14 @@ const r = (d) => (H("data-v-80d9c265"), d = d(), T(), d), R = { class: "details_
|
|
|
178
178
|
l("div", K, [
|
|
179
179
|
(i(!0), a(u, null, _(f.value.secondHalf, (s, n) => (i(), a("div", {
|
|
180
180
|
key: `pa${n}`,
|
|
181
|
-
class:
|
|
181
|
+
class: b(["details__body__button", { active: s.isSelected }]),
|
|
182
182
|
onClick: (h) => S(s)
|
|
183
|
-
},
|
|
183
|
+
}, v(s.text), 11, M))), 128))
|
|
184
184
|
])
|
|
185
185
|
])
|
|
186
186
|
], 4));
|
|
187
187
|
}
|
|
188
|
-
}, Y = /* @__PURE__ */ V(O, [["__scopeId", "data-v-
|
|
188
|
+
}, Y = /* @__PURE__ */ V(O, [["__scopeId", "data-v-893b389d"]]);
|
|
189
189
|
export {
|
|
190
190
|
Y as default
|
|
191
191
|
};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { ref as r, openBlock as _, createElementBlock as a, createVNode as
|
|
2
|
-
import { _ as
|
|
3
|
-
const i = { class: "filter-field" },
|
|
1
|
+
import { ref as r, openBlock as _, createElementBlock as a, createVNode as d, unref as n } from "vue";
|
|
2
|
+
import { _ as c, A as s } from "./index-82453146.js";
|
|
3
|
+
const i = { class: "filter-field" }, f = {
|
|
4
4
|
__name: "FilterField",
|
|
5
|
-
setup(
|
|
5
|
+
setup(u) {
|
|
6
6
|
const t = r(Array.from({ length: 16 }, (l, e) => e + 1));
|
|
7
7
|
function o() {
|
|
8
8
|
}
|
|
9
9
|
return (l, e) => (_(), a("div", i, [
|
|
10
|
-
|
|
10
|
+
d(n(s), {
|
|
11
11
|
width: "100%",
|
|
12
12
|
"background-color": "#2E3B46",
|
|
13
13
|
value: t.value,
|
|
@@ -15,7 +15,7 @@ const i = { class: "filter-field" }, u = {
|
|
|
15
15
|
}, null, 8, ["value"])
|
|
16
16
|
]));
|
|
17
17
|
}
|
|
18
|
-
}, v = /* @__PURE__ */
|
|
18
|
+
}, v = /* @__PURE__ */ c(f, [["__scopeId", "data-v-ef90fbbd"]]);
|
|
19
19
|
export {
|
|
20
20
|
v as default
|
|
21
21
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { openBlock as t, createElementBlock as r, Fragment as a, renderList as u, createBlock as n, unref as
|
|
2
|
-
import { _ as s, L as i } from "./index-
|
|
3
|
-
const
|
|
1
|
+
import { openBlock as t, createElementBlock as r, Fragment as a, renderList as u, createBlock as n, unref as p, createVNode as d } from "vue";
|
|
2
|
+
import { _ as s, L as i } from "./index-82453146.js";
|
|
3
|
+
const b = { class: "subcategory-group" }, g = {
|
|
4
4
|
__name: "SubcategoryGroup",
|
|
5
5
|
props: {
|
|
6
6
|
subcategoryGroup: {
|
|
@@ -9,8 +9,8 @@ const g = { class: "subcategory-group" }, y = {
|
|
|
9
9
|
}
|
|
10
10
|
},
|
|
11
11
|
setup(o) {
|
|
12
|
-
return (c, _) => (t(), r("div",
|
|
13
|
-
(t(!0), r(a, null, u(o.subcategoryGroup, (e) => (t(), n(
|
|
12
|
+
return (c, _) => (t(), r("div", b, [
|
|
13
|
+
(t(!0), r(a, null, u(o.subcategoryGroup, (e) => (t(), n(p(i), {
|
|
14
14
|
key: e.id,
|
|
15
15
|
modelValue: e.isSelected,
|
|
16
16
|
"onUpdate:modelValue": (l) => e.isSelected = l,
|
|
@@ -18,8 +18,8 @@ const g = { class: "subcategory-group" }, y = {
|
|
|
18
18
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "label"]))), 128))
|
|
19
19
|
]));
|
|
20
20
|
}
|
|
21
|
-
},
|
|
22
|
-
const m = { class: "filter-subcategories" },
|
|
21
|
+
}, y = /* @__PURE__ */ s(g, [["__scopeId", "data-v-85bc2114"]]);
|
|
22
|
+
const m = { class: "filter-subcategories" }, f = {
|
|
23
23
|
__name: "FilterSubcategories",
|
|
24
24
|
props: {
|
|
25
25
|
subcategoryGroups: {
|
|
@@ -33,11 +33,11 @@ const m = { class: "filter-subcategories" }, b = {
|
|
|
33
33
|
key: e.id,
|
|
34
34
|
class: "filter-subcategories__group"
|
|
35
35
|
}, [
|
|
36
|
-
|
|
36
|
+
d(y, { subcategoryGroup: e }, null, 8, ["subcategoryGroup"])
|
|
37
37
|
]))), 128))
|
|
38
38
|
]));
|
|
39
39
|
}
|
|
40
|
-
}, S = /* @__PURE__ */ s(
|
|
40
|
+
}, S = /* @__PURE__ */ s(f, [["__scopeId", "data-v-74a77bab"]]);
|
|
41
41
|
export {
|
|
42
42
|
S as default
|
|
43
43
|
};
|
package/dist/gsc-filters.js
CHANGED
|
@@ -1,23 +1,24 @@
|
|
|
1
|
-
import { j as t, D as r, k as
|
|
1
|
+
import { j as t, D as r, l, k as i, G as o, d as p, f as n, m as F, g as d, i as u, p as y, e as D, a as w, b as m, c as T, h as f, r as g, t as h, u as P, w as S } from "./index-82453146.js";
|
|
2
2
|
import "vue";
|
|
3
3
|
export {
|
|
4
4
|
t as DropdownPositions,
|
|
5
|
-
r as
|
|
6
|
-
l as
|
|
7
|
-
i as
|
|
8
|
-
o as
|
|
9
|
-
p as
|
|
5
|
+
r as DropdownPositionsMultiple,
|
|
6
|
+
l as DropdownTemplates,
|
|
7
|
+
i as DropdownYears,
|
|
8
|
+
o as GSCFilters,
|
|
9
|
+
p as detailsFilters,
|
|
10
|
+
n as filtersTypes,
|
|
10
11
|
F as getPersonalDataFiltersBySeasons,
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
12
|
+
d as golstatsFilters,
|
|
13
|
+
u as howWasCornerFilters,
|
|
14
|
+
y as personalDataFilters,
|
|
15
|
+
D as personalDataSubFiltersTypes,
|
|
16
|
+
w as playsFilters,
|
|
17
|
+
m as playsTypesFilters,
|
|
18
|
+
T as productivityFilters,
|
|
19
|
+
f as resultsByTimeFilters,
|
|
20
|
+
g as resultsFilters,
|
|
21
|
+
h as tournamentsFilters,
|
|
22
|
+
P as universeFilters,
|
|
22
23
|
S as whatHappenedFilters
|
|
23
24
|
};
|