@golstats/gsc-lists 1.0.44 → 1.0.45

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
- # gsc-lists
2
- Componente de listas de jugadores
1
+ # gsc-lists
2
+ Componente de listas de jugadores
@@ -1,5 +1,5 @@
1
1
  import { useCssVars as E, computed as c, createElementBlock as s, openBlock as i, normalizeStyle as V, createElementVNode as d, createVNode as y, unref as g, Fragment as u, renderList as _, normalizeClass as b, toDisplayString as v, pushScopeId as $, popScopeId as H } from "vue";
2
- import { f as T, l as m } from "./index-B_Ym-z_k.js";
2
+ import { m as T, d as m } from "./index-CzKjHCN3.js";
3
3
  const n = (o) => ($("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" }, U = /* @__PURE__ */ n(() => /* @__PURE__ */ d("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__ */ d("div", { class: "details__body__title" }, "1er tiempo", -1)), q = { class: "details__body__game-section" }, w = ["onClick"], G = { class: "details__body" }, K = /* @__PURE__ */ n(() => /* @__PURE__ */ d("div", { class: "details__body__title" }, "2do tiempo", -1)), M = { class: "details__body__game-section" }, O = ["onClick"], P = {
4
4
  __name: "FilterConditions",
5
5
  props: {
@@ -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 a = o;
92
+ const l = o;
93
93
  E((e) => ({
94
94
  "49cba245": o.buttonsBackgroundColor,
95
95
  "52f02da6": o.buttonsTextColor,
@@ -100,34 +100,34 @@ 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(() => a.playingAs.every((e) => e.isSelected)), C = c(() => a.gameSections.every((e) => e.isSelected)), p = c(() => a.gameSections.reduce(
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": `${a.buttonsBorderRadius} 0 0 ${a.buttonsBorderRadius}`,
111
- "--border-radius-last-button": `0 ${a.buttonsBorderRadius} ${a.buttonsBorderRadius} 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 ? a.playingAs.forEach((t) => {
114
+ e ? l.playingAs.forEach((t) => {
115
115
  t.isSelected = !0;
116
- }) : a.playingAs.forEach((t, l) => {
117
- t.isSelected = l === 0;
116
+ }) : l.playingAs.forEach((t, a) => {
117
+ t.isSelected = a === 0;
118
118
  });
119
119
  }
120
120
  function k(e) {
121
- a.playingAs.filter((t) => t.isSelected).length === 1 && e.isSelected || (e.isSelected = !e.isSelected);
121
+ l.playingAs.filter((t) => t.isSelected).length === 1 && e.isSelected || (e.isSelected = !e.isSelected);
122
122
  }
123
123
  function S(e) {
124
- a.gameSections.filter((t) => t.isSelected).length === 1 && e.isSelected || (e.isSelected = !e.isSelected);
124
+ l.gameSections.filter((t) => t.isSelected).length === 1 && e.isSelected || (e.isSelected = !e.isSelected);
125
125
  }
126
126
  function A(e) {
127
- e ? a.gameSections.forEach((t) => {
127
+ e ? l.gameSections.forEach((t) => {
128
128
  t.isSelected = !0;
129
- }) : a.gameSections.forEach((t, l) => {
130
- t.isSelected = l === 0;
129
+ }) : l.gameSections.forEach((t, a) => {
130
+ t.isSelected = a === 0;
131
131
  });
132
132
  }
133
133
  return (e, t) => (i(), s("div", {
@@ -146,11 +146,11 @@ 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, _(a.playingAs, (l, r) => (i(), s("div", {
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: l.isSelected }]),
152
- onClick: (f) => k(l)
153
- }, v(l.name), 11, L))), 128))
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, [
@@ -166,21 +166,21 @@ const n = (o) => ($("data-v-80d9c265"), o = o(), H(), o), R = { class: "details_
166
166
  d("div", J, [
167
167
  j,
168
168
  d("div", q, [
169
- (i(!0), s(u, null, _(p.value.firstHalf, (l, r) => (i(), s("div", {
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: l.isSelected }]),
172
- onClick: (f) => S(l)
173
- }, v(l.text), 11, w))), 128))
171
+ class: b(["details__body__button", { active: a.isSelected }]),
172
+ onClick: (f) => S(a)
173
+ }, v(a.text), 11, w))), 128))
174
174
  ])
175
175
  ]),
176
176
  d("div", G, [
177
177
  K,
178
178
  d("div", M, [
179
- (i(!0), s(u, null, _(p.value.secondHalf, (l, r) => (i(), s("div", {
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: l.isSelected }]),
182
- onClick: (f) => S(l)
183
- }, v(l.text), 11, O))), 128))
181
+ class: b(["details__body__button", { active: a.isSelected }]),
182
+ onClick: (f) => S(a)
183
+ }, v(a.text), 11, O))), 128))
184
184
  ])
185
185
  ])
186
186
  ], 4));
@@ -1,5 +1,5 @@
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 { J as T, Z as m } from "./index-B_Ym-z_k.js";
2
+ import { J as T, Z as m } from "./index-CzKjHCN3.js";
3
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: {
@@ -1,13 +1,13 @@
1
- import { ref as r, createElementBlock as a, openBlock as n, createVNode as c, unref as f } from "vue";
2
- import { f as d, j as u } from "./index-B_Ym-z_k.js";
3
- const m = { class: "filter-field" }, i = {
1
+ import { ref as r, createElementBlock as a, openBlock as n, createVNode as c, unref as m } from "vue";
2
+ import { m as d, K as u } from "./index-CzKjHCN3.js";
3
+ const f = { class: "filter-field" }, i = {
4
4
  __name: "FilterField",
5
5
  setup(s) {
6
6
  const o = r(Array.from({ length: 16 }, (l, e) => e + 1));
7
7
  function t() {
8
8
  }
9
- return (l, e) => (n(), a("div", m, [
10
- c(f(u), {
9
+ return (l, e) => (n(), a("div", f, [
10
+ c(m(u), {
11
11
  width: "100%",
12
12
  "background-color": "#2E3B46",
13
13
  value: o.value,
@@ -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 { J as d, q as i } from "./index-B_Ym-z_k.js";
2
+ import { J as d, q as i } from "./index-CzKjHCN3.js";
3
3
  const f = { class: "filter-field" }, m = {
4
4
  __name: "FilterField",
5
5
  setup(p) {
@@ -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 { J as l, Z as g } from "./index-B_Ym-z_k.js";
2
+ import { J as l, Z as g } from "./index-CzKjHCN3.js";
3
3
  const y = { class: "subcategory-group" }, b = {
4
4
  __name: "SubcategoryGroup",
5
5
  props: {
@@ -1,6 +1,6 @@
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 { f as l, l as y } from "./index-B_Ym-z_k.js";
3
- const b = { class: "subcategory-group" }, g = {
1
+ import { createElementBlock as a, openBlock as r, Fragment as t, renderList as u, createVNode as p, createBlock as n, unref as i } from "vue";
2
+ import { m as l, d as m } from "./index-CzKjHCN3.js";
3
+ const y = { class: "subcategory-group" }, b = {
4
4
  __name: "SubcategoryGroup",
5
5
  props: {
6
6
  subcategoryGroup: {
@@ -9,16 +9,16 @@ const b = { class: "subcategory-group" }, g = {
9
9
  }
10
10
  },
11
11
  setup(o) {
12
- return (s, c) => (r(), a("div", b, [
13
- (r(!0), a(t, null, u(o.subcategoryGroup, (e) => (r(), n(i(y), {
12
+ return (s, c) => (r(), a("div", y, [
13
+ (r(!0), a(t, null, u(o.subcategoryGroup, (e) => (r(), n(i(m), {
14
14
  key: e.id,
15
15
  modelValue: e.isSelected,
16
- "onUpdate:modelValue": (p) => e.isSelected = p,
16
+ "onUpdate:modelValue": (d) => e.isSelected = d,
17
17
  label: e.name
18
18
  }, null, 8, ["modelValue", "onUpdate:modelValue", "label"]))), 128))
19
19
  ]));
20
20
  }
21
- }, m = /* @__PURE__ */ l(g, [["__scopeId", "data-v-ae6f3d72"]]), f = { class: "filter-subcategories" }, _ = {
21
+ }, g = /* @__PURE__ */ l(b, [["__scopeId", "data-v-ae6f3d72"]]), f = { class: "filter-subcategories" }, _ = {
22
22
  __name: "FilterSubcategories",
23
23
  props: {
24
24
  subcategoryGroups: {
@@ -32,7 +32,7 @@ const b = { class: "subcategory-group" }, g = {
32
32
  key: e.id,
33
33
  class: "filter-subcategories__group"
34
34
  }, [
35
- d(m, { subcategoryGroup: e }, null, 8, ["subcategoryGroup"])
35
+ p(g, { subcategoryGroup: e }, null, 8, ["subcategoryGroup"])
36
36
  ]))), 128))
37
37
  ]));
38
38
  }
@@ -1,112 +1,112 @@
1
-
2
-
3
- /*FUENTES*/
4
- @font-face {
5
- font-family: 'Poppins-Black';
6
- src: url('/fonts/Poppins-Black.otf') format('opentype');
7
- }
8
- @font-face {
9
- font-family: 'BebasNeue-Regular';
10
- src: url('/fonts/BebasNeue-Regular.otf') format('opentype');
11
- }
12
- @font-face {
13
- font-family: 'Poppins-BlackItalic';
14
- src: url('/fonts/Poppins-BlackItalic.otf') format('opentype');
15
- }
16
- @font-face {
17
- font-family: 'Poppins-Bold';
18
- src: url('/fonts/Poppins-Bold.otf') format('opentype');
19
- }
20
- @font-face {
21
- font-family: 'Poppins-BoldItalic';
22
- src: url('/fonts/Poppins-BoldItalic.otf') format('opentype');
23
- }
24
- @font-face {
25
- font-family: 'Poppins-ExtraBold';
26
- src: url('/fonts/Poppins-ExtraBold.otf') format('opentype');
27
- }
28
- @font-face {
29
- font-family: 'Poppins-ExtraBoldItalic';
30
- src: url('/fonts/Poppins-ExtraBoldItalic.otf') format('opentype');
31
- }
32
- @font-face {
33
- font-family: 'Poppins-ExtraLight';
34
- src: url('/fonts/Poppins-ExtraLight.otf') format('opentype');
35
- }
36
- @font-face {
37
- font-family: 'Poppins-ExtraLightItalic';
38
- src: url('/fonts/Poppins-ExtraLightItalic.otf') format('opentype');
39
- }
40
- @font-face {
41
- font-family: 'Poppins-Italic';
42
- src: url('/fonts/Poppins-Italic.otf') format('opentype');
43
- }
44
- @font-face {
45
- font-family: 'Poppins-Light';
46
- src: url('/fonts/Poppins-Light.otf') format('opentype');
47
- }
48
- @font-face {
49
- font-family: 'Poppins-LightItalic';
50
- src: url('/fonts/Poppins-LightItalic.otf') format('opentype');
51
- }
52
- @font-face {
53
- font-family: 'Poppins-MediumItalic';
54
- src: url('/fonts/Poppins-MediumItalic.otf') format('opentype');
55
- }
56
- @font-face {
57
- font-family: 'Poppins-Medium';
58
- src: url('/fonts/Poppins-Medium.otf') format('opentype');
59
- }
60
- @font-face {
61
- font-family: 'Poppins-Regular';
62
- src: url('/fonts/Poppins-Regular.otf') format('opentype');
63
- }
64
- @font-face {
65
- font-family: 'Poppins-SemiBold';
66
- src: url('/fonts/Poppins-SemiBold.otf') format('opentype');
67
- }
68
- @font-face {
69
- font-family: 'Poppins-SemiBoldItalic';
70
- src: url('/fonts/Poppins-SemiBoldItalic.otf') format('opentype');
71
- }
72
- @font-face {
73
- font-family: 'Poppins-ThinItalic';
74
- src: url('/fonts/Poppins-ThinItalic.otf') format('opentype');
75
- }
76
- @font-face {
77
- font-family: 'Poppins-Thin';
78
- src: url('/fonts/Poppins-Thin.otf') format('opentype');
79
- }
80
-
81
- /*FUENTES*/
82
- @font-face {
83
- font-family: 'Montserrat-SemiBold';
84
- src: url('/fonts/Montserrat-SemiBold.otf') format('opentype');
85
- }
86
-
87
-
88
- @font-face {
89
- font-family: 'Oswald-Bold';
90
- src: url('/fonts/Oswald-Bold.ttf') format('truetype');
91
- }
92
-
93
- @font-face {
94
- font-family: 'Oswald-Regular';
95
- src: url('/fonts/Oswald-Regular.ttf') format('truetype');
96
- }
97
-
98
- @font-face {
99
- font-family: 'Oswald-SemiBold';
100
- src: url('/fonts/Oswald-SemiBold.ttf') format('truetype');
101
- }
102
-
103
- @font-face {
104
- font-family: 'Oswald-Medium';
105
- src: url('/fonts/Oswald-Medium.ttf') format('truetype');
106
- }
107
-
108
-
109
-
110
-
111
-
112
-
1
+
2
+
3
+ /*FUENTES*/
4
+ @font-face {
5
+ font-family: 'Poppins-Black';
6
+ src: url('/fonts/Poppins-Black.otf') format('opentype');
7
+ }
8
+ @font-face {
9
+ font-family: 'BebasNeue-Regular';
10
+ src: url('/fonts/BebasNeue-Regular.otf') format('opentype');
11
+ }
12
+ @font-face {
13
+ font-family: 'Poppins-BlackItalic';
14
+ src: url('/fonts/Poppins-BlackItalic.otf') format('opentype');
15
+ }
16
+ @font-face {
17
+ font-family: 'Poppins-Bold';
18
+ src: url('/fonts/Poppins-Bold.otf') format('opentype');
19
+ }
20
+ @font-face {
21
+ font-family: 'Poppins-BoldItalic';
22
+ src: url('/fonts/Poppins-BoldItalic.otf') format('opentype');
23
+ }
24
+ @font-face {
25
+ font-family: 'Poppins-ExtraBold';
26
+ src: url('/fonts/Poppins-ExtraBold.otf') format('opentype');
27
+ }
28
+ @font-face {
29
+ font-family: 'Poppins-ExtraBoldItalic';
30
+ src: url('/fonts/Poppins-ExtraBoldItalic.otf') format('opentype');
31
+ }
32
+ @font-face {
33
+ font-family: 'Poppins-ExtraLight';
34
+ src: url('/fonts/Poppins-ExtraLight.otf') format('opentype');
35
+ }
36
+ @font-face {
37
+ font-family: 'Poppins-ExtraLightItalic';
38
+ src: url('/fonts/Poppins-ExtraLightItalic.otf') format('opentype');
39
+ }
40
+ @font-face {
41
+ font-family: 'Poppins-Italic';
42
+ src: url('/fonts/Poppins-Italic.otf') format('opentype');
43
+ }
44
+ @font-face {
45
+ font-family: 'Poppins-Light';
46
+ src: url('/fonts/Poppins-Light.otf') format('opentype');
47
+ }
48
+ @font-face {
49
+ font-family: 'Poppins-LightItalic';
50
+ src: url('/fonts/Poppins-LightItalic.otf') format('opentype');
51
+ }
52
+ @font-face {
53
+ font-family: 'Poppins-MediumItalic';
54
+ src: url('/fonts/Poppins-MediumItalic.otf') format('opentype');
55
+ }
56
+ @font-face {
57
+ font-family: 'Poppins-Medium';
58
+ src: url('/fonts/Poppins-Medium.otf') format('opentype');
59
+ }
60
+ @font-face {
61
+ font-family: 'Poppins-Regular';
62
+ src: url('/fonts/Poppins-Regular.otf') format('opentype');
63
+ }
64
+ @font-face {
65
+ font-family: 'Poppins-SemiBold';
66
+ src: url('/fonts/Poppins-SemiBold.otf') format('opentype');
67
+ }
68
+ @font-face {
69
+ font-family: 'Poppins-SemiBoldItalic';
70
+ src: url('/fonts/Poppins-SemiBoldItalic.otf') format('opentype');
71
+ }
72
+ @font-face {
73
+ font-family: 'Poppins-ThinItalic';
74
+ src: url('/fonts/Poppins-ThinItalic.otf') format('opentype');
75
+ }
76
+ @font-face {
77
+ font-family: 'Poppins-Thin';
78
+ src: url('/fonts/Poppins-Thin.otf') format('opentype');
79
+ }
80
+
81
+ /*FUENTES*/
82
+ @font-face {
83
+ font-family: 'Montserrat-SemiBold';
84
+ src: url('/fonts/Montserrat-SemiBold.otf') format('opentype');
85
+ }
86
+
87
+
88
+ @font-face {
89
+ font-family: 'Oswald-Bold';
90
+ src: url('/fonts/Oswald-Bold.ttf') format('truetype');
91
+ }
92
+
93
+ @font-face {
94
+ font-family: 'Oswald-Regular';
95
+ src: url('/fonts/Oswald-Regular.ttf') format('truetype');
96
+ }
97
+
98
+ @font-face {
99
+ font-family: 'Oswald-SemiBold';
100
+ src: url('/fonts/Oswald-SemiBold.ttf') format('truetype');
101
+ }
102
+
103
+ @font-face {
104
+ font-family: 'Oswald-Medium';
105
+ src: url('/fonts/Oswald-Medium.ttf') format('truetype');
106
+ }
107
+
108
+
109
+
110
+
111
+
112
+