@golstats/gsc-filters 1.0.11 → 1.0.12

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 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 c, 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 v, toDisplayString as b, pushScopeId as H, popScopeId as T } from "vue";
2
- import { _ as V, L as g } from "./index-dee7e979.js";
3
- const r = (d) => (H("data-v-80d9c265"), d = d(), T(), d), R = { class: "details__header" }, F = /* @__PURE__ */ r(() => /* @__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__ */ r(() => /* @__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__ */ r(() => /* @__PURE__ */ l("div", { class: "details__body__title" }, "1er tiempo", -1)), D = { class: "details__body__game-section" }, J = ["onClick"], j = { class: "details__body" }, q = /* @__PURE__ */ r(() => /* @__PURE__ */ l("div", { class: "details__body__title" }, "2do tiempo", -1)), K = { class: "details__body__game-section" }, M = ["onClick"], O = {
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-43e808d7.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: {
@@ -89,24 +89,23 @@ const r = (d) => (H("data-v-80d9c265"), d = d(), T(), d), R = { class: "details_
89
89
  }
90
90
  },
91
91
  setup(d) {
92
- const o = d;
93
92
  $((e) => ({
94
- "49cba245": d.buttonsBackgroundColor,
95
- "52f02da6": d.buttonsTextColor,
96
- "7d3f686a": d.buttonsBorderWidth,
97
- "7c286a07": d.buttonsBorderColor,
98
- "24a6f4aa": d.buttonsBackgroundColorActive,
99
- cd8d7768: d.buttonsTextColorActive,
100
- "35fa5c10": d.buttonsBorderWidthActive,
101
- "0cde1826": d.buttonsBorderColorActive
93
+ "2715f84a": d.buttonsBackgroundColor,
94
+ "97bea92a": d.buttonsTextColor,
95
+ "544788ef": d.buttonsBorderWidth,
96
+ "53308a8c": d.buttonsBorderColor,
97
+ e844f820: d.buttonsBackgroundColorActive,
98
+ "76839a51": d.buttonsTextColorActive,
99
+ "2bf17656": d.buttonsBorderWidthActive,
100
+ a4c4469c: d.buttonsBorderColorActive
102
101
  }));
103
- const m = c(() => o.playingAs.every((e) => e.isSelected)), C = c(() => o.gameSections.every((e) => e.isSelected)), f = c(() => o.gameSections.reduce(
102
+ const o = d, m = r(() => o.playingAs.every((e) => e.isSelected)), C = r(() => o.gameSections.every((e) => e.isSelected)), f = r(() => o.gameSections.reduce(
104
103
  (e, t) => (t.value <= 3 ? e.firstHalf.push(t) : e.secondHalf.push(t), e),
105
104
  {
106
105
  firstHalf: [],
107
106
  secondHalf: []
108
107
  }
109
- )), x = c(() => ({
108
+ )), x = r(() => ({
110
109
  "--border-radius-first-button": `${o.buttonsBorderRadius} 0 0 ${o.buttonsBorderRadius}`,
111
110
  "--border-radius-last-button": `0 ${o.buttonsBorderRadius} ${o.buttonsBorderRadius} 0`
112
111
  }));
@@ -148,9 +147,9 @@ const r = (d) => (H("data-v-80d9c265"), d = d(), T(), d), R = { class: "details_
148
147
  l("div", G, [
149
148
  (i(!0), a(u, null, _(o.playingAs, (s, n) => (i(), a("div", {
150
149
  key: `pa${n}`,
151
- class: v(["details__body__button", { active: s.isSelected }]),
150
+ class: b(["details__body__button", { active: s.isSelected }]),
152
151
  onClick: (h) => B(s)
153
- }, b(s.name), 11, L))), 128))
152
+ }, v(s.name), 11, L))), 128))
154
153
  ])
155
154
  ]),
156
155
  l("div", P, [
@@ -168,9 +167,9 @@ const r = (d) => (H("data-v-80d9c265"), d = d(), T(), d), R = { class: "details_
168
167
  l("div", D, [
169
168
  (i(!0), a(u, null, _(f.value.firstHalf, (s, n) => (i(), a("div", {
170
169
  key: `pa${n}`,
171
- class: v(["details__body__button", { active: s.isSelected }]),
170
+ class: b(["details__body__button", { active: s.isSelected }]),
172
171
  onClick: (h) => S(s)
173
- }, b(s.text), 11, J))), 128))
172
+ }, v(s.text), 11, J))), 128))
174
173
  ])
175
174
  ]),
176
175
  l("div", j, [
@@ -178,14 +177,14 @@ const r = (d) => (H("data-v-80d9c265"), d = d(), T(), d), R = { class: "details_
178
177
  l("div", K, [
179
178
  (i(!0), a(u, null, _(f.value.secondHalf, (s, n) => (i(), a("div", {
180
179
  key: `pa${n}`,
181
- class: v(["details__body__button", { active: s.isSelected }]),
180
+ class: b(["details__body__button", { active: s.isSelected }]),
182
181
  onClick: (h) => S(s)
183
- }, b(s.text), 11, M))), 128))
182
+ }, v(s.text), 11, M))), 128))
184
183
  ])
185
184
  ])
186
185
  ], 4));
187
186
  }
188
- }, Y = /* @__PURE__ */ V(O, [["__scopeId", "data-v-80d9c265"]]);
187
+ }, Y = /* @__PURE__ */ V(O, [["__scopeId", "data-v-893b389d"]]);
189
188
  export {
190
189
  Y as default
191
190
  };
@@ -1,13 +1,13 @@
1
- import { ref as r, openBlock as _, createElementBlock as a, createVNode as c, unref as n } from "vue";
2
- import { _ as s, D as d } from "./index-dee7e979.js";
3
- const i = { class: "filter-field" }, u = {
1
+ import { ref as r, openBlock as _, createElementBlock as a, createVNode as d, unref as n } from "vue";
2
+ import { _ as c, D as s } from "./index-43e808d7.js";
3
+ const i = { class: "filter-field" }, f = {
4
4
  __name: "FilterField",
5
- setup(p) {
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
- c(n(d), {
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__ */ s(u, [["__scopeId", "data-v-8103c3e1"]]);
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 d, createVNode as p } from "vue";
2
- import { _ as s, L as i } from "./index-dee7e979.js";
3
- const g = { class: "subcategory-group" }, y = {
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-43e808d7.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", g, [
13
- (t(!0), r(a, null, u(o.subcategoryGroup, (e) => (t(), n(d(i), {
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
- }, f = /* @__PURE__ */ s(y, [["__scopeId", "data-v-ae6f3d72"]]);
22
- const m = { class: "filter-subcategories" }, b = {
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
- p(f, { subcategoryGroup: e }, null, 8, ["subcategoryGroup"])
36
+ d(y, { subcategoryGroup: e }, null, 8, ["subcategoryGroup"])
37
37
  ]))), 128))
38
38
  ]));
39
39
  }
40
- }, S = /* @__PURE__ */ s(b, [["__scopeId", "data-v-5edaefc2"]]);
40
+ }, S = /* @__PURE__ */ s(f, [["__scopeId", "data-v-74a77bab"]]);
41
41
  export {
42
42
  S as default
43
43
  };
@@ -1,4 +1,4 @@
1
- import { G as e, d as r, f as i, g as l, p, a as F, b as o, c as y, t as n, u } from "./index-dee7e979.js";
1
+ import { G as e, d as r, f as i, g as l, p, a as F, b as o, c as y, t as n, u } from "./index-43e808d7.js";
2
2
  import "vue";
3
3
  export {
4
4
  e as GSCFilters,