@golstats/gsc-reports 1.0.6 → 1.0.7
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-55d68355-C5NIJbY6-CrwdIOQy-DJW3C0E9.js → FilterConditions-55d68355-C5NIJbY6-C6u4SYGM-CcxS73vx.js} +31 -31
- package/dist/FilterField-59a73e38-DO8nYLqs-kMEzVZsL-uXuuwpuX.js +21 -0
- package/dist/{FilterSubcategories-a9b32cc9-DlkHni1L-2XPKgOv6-nRHReBmk.js → FilterSubcategories-a9b32cc9-DlkHni1L-DTr5944T-Dv6wa9TS.js} +3 -3
- package/dist/css/fonts.css +83 -83
- package/dist/gsc-reports.css +1 -1
- package/dist/gsc-reports.es.js +1 -1
- package/dist/gsc-reports.umd.js +244 -239
- package/dist/{index-Ba25qrrW.js → index-qxZmBGgL.js} +84685 -82097
- package/package.json +2 -2
- package/src/components/elementsTemplates/ModalDeleteReport.vue +246 -246
- package/src/components/elementsTemplates/ModalDeleteTemplate.vue +249 -249
- package/src/components/elementsTemplates/ModalRenameReporte.vue +330 -330
- package/src/components/elementsTemplates/ModalRenameTemplate.vue +337 -337
- package/src/components/elementsTemplates/ModalSoloEscritorio.vue +83 -83
- package/src/components/elementsTemplates/ModalduplicateTemplate.vue +300 -300
- package/src/components/elementsTemplates/TooltipReportOptions.vue +97 -97
- package/src/components/elementsTemplates/TooltipTemplateOptions.vue +161 -161
- package/src/components/filters.vue +935 -935
- package/src/components/template-report-maker/CoverPage.vue +636 -636
- package/src/components/template-report-maker/CoverSelector.vue +165 -165
- package/src/components/template-report-maker/ReportView.vue +66 -66
- package/src/components/template-report-maker/TemplateReportPage.vue +398 -398
- package/src/components/thumbnails-reports/AnalisisPostMatchType1.vue +741 -741
- package/src/components/thumbnails-reports/AnalisisPostMatchType2.vue +743 -743
- package/src/components/thumbnails-reports/AnalisisPostMatchType3.vue +463 -463
- package/src/components/thumbnails-reports/AnalisisPostMatchType4.vue +462 -462
- package/src/components/thumbnails-reports/AnalisisPrematchType1.vue +164 -164
- package/src/components/thumbnails-reports/AnalisisPrematchType2.vue +163 -163
- package/src/components/thumbnails-reports/AnalisisPrematchType3.vue +173 -173
- package/src/components/thumbnails-reports/AnalisisPrematchType4.vue +173 -173
- package/src/index.js +4 -4
- package/src/types.d.ts +45 -45
- package/src/utils/dateUtils.js +52 -52
- package/dist/FilterField-59a73e38-DO8nYLqs-C9htGE_0-DSpyIXCH.js +0 -21
package/README.md
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
# gsc-reports
|
|
2
|
-
Modulo de reportes
|
|
1
|
+
# gsc-reports
|
|
2
|
+
Modulo de reportes
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { useCssVars as E, computed as c, createElementBlock as i, openBlock as o, normalizeStyle as $, createElementVNode as
|
|
2
|
-
import {
|
|
3
|
-
const n = (d) => (H("data-v-80d9c265"), d = d(),
|
|
1
|
+
import { useCssVars as E, computed as c, createElementBlock as i, openBlock as o, normalizeStyle as $, createElementVNode as a, createVNode as y, unref as g, Fragment as u, renderList as _, normalizeClass as b, toDisplayString as v, pushScopeId as H, popScopeId as I } from "vue";
|
|
2
|
+
import { j as R, I as m } from "./index-qxZmBGgL.js";
|
|
3
|
+
const n = (d) => (H("data-v-80d9c265"), d = d(), I(), d), T = { class: "details__header" }, V = /* @__PURE__ */ n(() => /* @__PURE__ */ a("div", { class: "details__header__title" }, "Jugando como", -1)), W = { class: "details__header__checkbox" }, j = { class: "details__body" }, z = { class: "details__body__playing-as" }, F = ["onClick"], L = { class: "details__header" }, N = /* @__PURE__ */ n(() => /* @__PURE__ */ a("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__ */ a("div", { class: "details__body__title" }, "1er tiempo", -1)), q = { class: "details__body__game-section" }, w = ["onClick"], G = { class: "details__body" }, K = /* @__PURE__ */ n(() => /* @__PURE__ */ a("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: {
|
|
@@ -89,7 +89,7 @@ const n = (d) => (H("data-v-80d9c265"), d = d(), R(), d), V = { class: "details_
|
|
|
89
89
|
}
|
|
90
90
|
},
|
|
91
91
|
setup(d) {
|
|
92
|
-
const
|
|
92
|
+
const s = d;
|
|
93
93
|
E((e) => ({
|
|
94
94
|
"49cba245": d.buttonsBackgroundColor,
|
|
95
95
|
"52f02da6": d.buttonsTextColor,
|
|
@@ -100,33 +100,33 @@ const n = (d) => (H("data-v-80d9c265"), d = d(), R(), d), V = { class: "details_
|
|
|
100
100
|
"35fa5c10": d.buttonsBorderWidthActive,
|
|
101
101
|
"0cde1826": d.buttonsBorderColorActive
|
|
102
102
|
}));
|
|
103
|
-
const
|
|
103
|
+
const h = c(() => s.playingAs.every((e) => e.isSelected)), C = c(() => s.gameSections.every((e) => e.isSelected)), p = c(() => s.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": `${s.buttonsBorderRadius} 0 0 ${s.buttonsBorderRadius}`,
|
|
111
|
+
"--border-radius-last-button": `0 ${s.buttonsBorderRadius} ${s.buttonsBorderRadius} 0`
|
|
112
112
|
}));
|
|
113
113
|
function x(e) {
|
|
114
|
-
e ?
|
|
114
|
+
e ? s.playingAs.forEach((t) => {
|
|
115
115
|
t.isSelected = !0;
|
|
116
|
-
}) :
|
|
116
|
+
}) : s.playingAs.forEach((t, l) => {
|
|
117
117
|
t.isSelected = l === 0;
|
|
118
118
|
});
|
|
119
119
|
}
|
|
120
120
|
function k(e) {
|
|
121
|
-
|
|
121
|
+
s.playingAs.filter((t) => t.isSelected).length === 1 && e.isSelected || (e.isSelected = !e.isSelected);
|
|
122
122
|
}
|
|
123
123
|
function S(e) {
|
|
124
|
-
|
|
124
|
+
s.gameSections.filter((t) => t.isSelected).length === 1 && e.isSelected || (e.isSelected = !e.isSelected);
|
|
125
125
|
}
|
|
126
126
|
function A(e) {
|
|
127
|
-
e ?
|
|
127
|
+
e ? s.gameSections.forEach((t) => {
|
|
128
128
|
t.isSelected = !0;
|
|
129
|
-
}) :
|
|
129
|
+
}) : s.gameSections.forEach((t, l) => {
|
|
130
130
|
t.isSelected = l === 0;
|
|
131
131
|
});
|
|
132
132
|
}
|
|
@@ -134,38 +134,38 @@ const n = (d) => (H("data-v-80d9c265"), d = d(), R(), d), V = { class: "details_
|
|
|
134
134
|
class: "details",
|
|
135
135
|
style: $(B.value)
|
|
136
136
|
}, [
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
137
|
+
a("div", T, [
|
|
138
|
+
V,
|
|
139
|
+
a("div", W, [
|
|
140
140
|
y(g(m), {
|
|
141
141
|
label: "Todos",
|
|
142
|
-
"model-value":
|
|
142
|
+
"model-value": h.value,
|
|
143
143
|
"onUpdate:modelValue": x
|
|
144
144
|
}, null, 8, ["model-value"])
|
|
145
145
|
])
|
|
146
146
|
]),
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
(o(!0), i(u, null, _(
|
|
147
|
+
a("div", j, [
|
|
148
|
+
a("div", z, [
|
|
149
|
+
(o(!0), i(u, null, _(s.playingAs, (l, r) => (o(), i("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
|
-
|
|
157
|
-
|
|
158
|
-
|
|
156
|
+
a("div", L, [
|
|
157
|
+
N,
|
|
158
|
+
a("div", U, [
|
|
159
159
|
y(g(m), {
|
|
160
160
|
label: "Todos",
|
|
161
|
-
"model-value":
|
|
161
|
+
"model-value": C.value,
|
|
162
162
|
"onUpdate:modelValue": A
|
|
163
163
|
}, null, 8, ["model-value"])
|
|
164
164
|
])
|
|
165
165
|
]),
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
166
|
+
a("div", D, [
|
|
167
|
+
J,
|
|
168
|
+
a("div", q, [
|
|
169
169
|
(o(!0), i(u, null, _(p.value.firstHalf, (l, r) => (o(), i("div", {
|
|
170
170
|
key: `pa${r}`,
|
|
171
171
|
class: b(["details__body__button", { active: l.isSelected }]),
|
|
@@ -173,9 +173,9 @@ const n = (d) => (H("data-v-80d9c265"), d = d(), R(), d), V = { class: "details_
|
|
|
173
173
|
}, v(l.text), 11, w))), 128))
|
|
174
174
|
])
|
|
175
175
|
]),
|
|
176
|
-
|
|
176
|
+
a("div", G, [
|
|
177
177
|
K,
|
|
178
|
-
|
|
178
|
+
a("div", M, [
|
|
179
179
|
(o(!0), i(u, null, _(p.value.secondHalf, (l, r) => (o(), i("div", {
|
|
180
180
|
key: `pa${r}`,
|
|
181
181
|
class: b(["details__body__button", { active: l.isSelected }]),
|
|
@@ -185,7 +185,7 @@ const n = (d) => (H("data-v-80d9c265"), d = d(), R(), d), V = { class: "details_
|
|
|
185
185
|
])
|
|
186
186
|
], 4));
|
|
187
187
|
}
|
|
188
|
-
}, X = /* @__PURE__ */
|
|
188
|
+
}, X = /* @__PURE__ */ R(P, [["__scopeId", "data-v-80d9c265"]]);
|
|
189
189
|
export {
|
|
190
190
|
X as default
|
|
191
191
|
};
|
|
@@ -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 { j as i, R as u } from "./index-qxZmBGgL.js";
|
|
3
|
+
const f = { class: "filter-field" }, m = {
|
|
4
|
+
__name: "FilterField",
|
|
5
|
+
setup(s) {
|
|
6
|
+
const l = r(Array.from({ length: 16 }, (t, e) => e + 1));
|
|
7
|
+
function o() {
|
|
8
|
+
}
|
|
9
|
+
return (t, e) => (n(), a("div", f, [
|
|
10
|
+
c(d(u), {
|
|
11
|
+
width: "100%",
|
|
12
|
+
"background-color": "#2E3B46",
|
|
13
|
+
value: l.value,
|
|
14
|
+
"onUpdate:modelValue": o
|
|
15
|
+
}, null, 8, ["value"])
|
|
16
|
+
]));
|
|
17
|
+
}
|
|
18
|
+
}, _ = /* @__PURE__ */ i(m, [["__scopeId", "data-v-8103c3e1"]]);
|
|
19
|
+
export {
|
|
20
|
+
_ as default
|
|
21
|
+
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { createElementBlock as a, openBlock as r, Fragment as o, renderList as u, createVNode as d, createBlock as
|
|
2
|
-
import {
|
|
1
|
+
import { createElementBlock as a, openBlock as r, Fragment as o, renderList as u, createVNode as d, createBlock as i, unref as n } from "vue";
|
|
2
|
+
import { j as l, I as g } from "./index-qxZmBGgL.js";
|
|
3
3
|
const b = { class: "subcategory-group" }, m = {
|
|
4
4
|
__name: "SubcategoryGroup",
|
|
5
5
|
props: {
|
|
@@ -10,7 +10,7 @@ const b = { class: "subcategory-group" }, m = {
|
|
|
10
10
|
},
|
|
11
11
|
setup(t) {
|
|
12
12
|
return (s, c) => (r(), a("div", b, [
|
|
13
|
-
(r(!0), a(o, null, u(t.subcategoryGroup, (e) => (r(), n(
|
|
13
|
+
(r(!0), a(o, null, u(t.subcategoryGroup, (e) => (r(), i(n(g), {
|
|
14
14
|
key: e.id,
|
|
15
15
|
modelValue: e.isSelected,
|
|
16
16
|
"onUpdate:modelValue": (p) => e.isSelected = p,
|
package/dist/css/fonts.css
CHANGED
|
@@ -1,83 +1,83 @@
|
|
|
1
|
-
/*FUENTES*/
|
|
2
|
-
@font-face {
|
|
3
|
-
font-family: 'Poppins-Black';
|
|
4
|
-
src: url('/fonts/Poppins-Black.otf') format('opentype');
|
|
5
|
-
}
|
|
6
|
-
@font-face {
|
|
7
|
-
font-family: 'Poppins-BlackItalic';
|
|
8
|
-
src: url('/fonts/Poppins-BlackItalic.otf') format('opentype');
|
|
9
|
-
}
|
|
10
|
-
@font-face {
|
|
11
|
-
font-family: 'Poppins-Bold';
|
|
12
|
-
src: url('/fonts/Poppins-Bold.otf') format('opentype');
|
|
13
|
-
}
|
|
14
|
-
@font-face {
|
|
15
|
-
font-family: 'Poppins-BoldItalic';
|
|
16
|
-
src: url('/fonts/Poppins-BoldItalic.otf') format('opentype');
|
|
17
|
-
}
|
|
18
|
-
@font-face {
|
|
19
|
-
font-family: 'Poppins-ExtraBold';
|
|
20
|
-
src: url('/fonts/Poppins-ExtraBold.otf') format('opentype');
|
|
21
|
-
}
|
|
22
|
-
@font-face {
|
|
23
|
-
font-family: 'Poppins-ExtraBoldItalic';
|
|
24
|
-
src: url('/fonts/Poppins-ExtraBoldItalic.otf') format('opentype');
|
|
25
|
-
}
|
|
26
|
-
@font-face {
|
|
27
|
-
font-family: 'Poppins-ExtraLight';
|
|
28
|
-
src: url('/fonts/Poppins-ExtraLight.otf') format('opentype');
|
|
29
|
-
}
|
|
30
|
-
@font-face {
|
|
31
|
-
font-family: 'Poppins-ExtraLightItalic';
|
|
32
|
-
src: url('/fonts/Poppins-ExtraLightItalic.otf') format('opentype');
|
|
33
|
-
}
|
|
34
|
-
@font-face {
|
|
35
|
-
font-family: 'Poppins-Italic';
|
|
36
|
-
src: url('/fonts/Poppins-Italic.otf') format('opentype');
|
|
37
|
-
}
|
|
38
|
-
@font-face {
|
|
39
|
-
font-family: 'Poppins-Light';
|
|
40
|
-
src: url('/fonts/Poppins-Light.otf') format('opentype');
|
|
41
|
-
}
|
|
42
|
-
@font-face {
|
|
43
|
-
font-family: 'Poppins-LightItalic';
|
|
44
|
-
src: url('/fonts/Poppins-LightItalic.otf') format('opentype');
|
|
45
|
-
}
|
|
46
|
-
@font-face {
|
|
47
|
-
font-family: 'Poppins-MediumItalic';
|
|
48
|
-
src: url('/fonts/Poppins-MediumItalic.otf') format('opentype');
|
|
49
|
-
}
|
|
50
|
-
@font-face {
|
|
51
|
-
font-family: 'Poppins-Medium';
|
|
52
|
-
src: url('/fonts/Poppins-Medium.otf') format('opentype');
|
|
53
|
-
}
|
|
54
|
-
@font-face {
|
|
55
|
-
font-family: 'Poppins-Regular';
|
|
56
|
-
src: url('/fonts/Poppins-Regular.otf') format('opentype');
|
|
57
|
-
}
|
|
58
|
-
@font-face {
|
|
59
|
-
font-family: 'Poppins-SemiBold';
|
|
60
|
-
src: url('/fonts/Poppins-SemiBold.otf') format('opentype');
|
|
61
|
-
}
|
|
62
|
-
@font-face {
|
|
63
|
-
font-family: 'Poppins-SemiBoldItalic';
|
|
64
|
-
src: url('/fonts/Poppins-SemiBoldItalic.otf') format('opentype');
|
|
65
|
-
}
|
|
66
|
-
@font-face {
|
|
67
|
-
font-family: 'Poppins-ThinItalic';
|
|
68
|
-
src: url('/fonts/Poppins-ThinItalic.otf') format('opentype');
|
|
69
|
-
}
|
|
70
|
-
@font-face {
|
|
71
|
-
font-family: 'Poppins-Thin';
|
|
72
|
-
src: url('/fonts/Poppins-Thin.otf') format('opentype');
|
|
73
|
-
}
|
|
74
|
-
@font-face {
|
|
75
|
-
font-family: 'BebasNeue-Bold';
|
|
76
|
-
src: url('/fonts/BebasNeue-Bold.otf') format('opentype');
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
/*FUENTES*/
|
|
80
|
-
@font-face {
|
|
81
|
-
font-family: 'Montserrat-SemiBold';
|
|
82
|
-
src: url('/fonts/Montserrat-SemiBold.otf') format('opentype');
|
|
83
|
-
}
|
|
1
|
+
/*FUENTES*/
|
|
2
|
+
@font-face {
|
|
3
|
+
font-family: 'Poppins-Black';
|
|
4
|
+
src: url('/fonts/Poppins-Black.otf') format('opentype');
|
|
5
|
+
}
|
|
6
|
+
@font-face {
|
|
7
|
+
font-family: 'Poppins-BlackItalic';
|
|
8
|
+
src: url('/fonts/Poppins-BlackItalic.otf') format('opentype');
|
|
9
|
+
}
|
|
10
|
+
@font-face {
|
|
11
|
+
font-family: 'Poppins-Bold';
|
|
12
|
+
src: url('/fonts/Poppins-Bold.otf') format('opentype');
|
|
13
|
+
}
|
|
14
|
+
@font-face {
|
|
15
|
+
font-family: 'Poppins-BoldItalic';
|
|
16
|
+
src: url('/fonts/Poppins-BoldItalic.otf') format('opentype');
|
|
17
|
+
}
|
|
18
|
+
@font-face {
|
|
19
|
+
font-family: 'Poppins-ExtraBold';
|
|
20
|
+
src: url('/fonts/Poppins-ExtraBold.otf') format('opentype');
|
|
21
|
+
}
|
|
22
|
+
@font-face {
|
|
23
|
+
font-family: 'Poppins-ExtraBoldItalic';
|
|
24
|
+
src: url('/fonts/Poppins-ExtraBoldItalic.otf') format('opentype');
|
|
25
|
+
}
|
|
26
|
+
@font-face {
|
|
27
|
+
font-family: 'Poppins-ExtraLight';
|
|
28
|
+
src: url('/fonts/Poppins-ExtraLight.otf') format('opentype');
|
|
29
|
+
}
|
|
30
|
+
@font-face {
|
|
31
|
+
font-family: 'Poppins-ExtraLightItalic';
|
|
32
|
+
src: url('/fonts/Poppins-ExtraLightItalic.otf') format('opentype');
|
|
33
|
+
}
|
|
34
|
+
@font-face {
|
|
35
|
+
font-family: 'Poppins-Italic';
|
|
36
|
+
src: url('/fonts/Poppins-Italic.otf') format('opentype');
|
|
37
|
+
}
|
|
38
|
+
@font-face {
|
|
39
|
+
font-family: 'Poppins-Light';
|
|
40
|
+
src: url('/fonts/Poppins-Light.otf') format('opentype');
|
|
41
|
+
}
|
|
42
|
+
@font-face {
|
|
43
|
+
font-family: 'Poppins-LightItalic';
|
|
44
|
+
src: url('/fonts/Poppins-LightItalic.otf') format('opentype');
|
|
45
|
+
}
|
|
46
|
+
@font-face {
|
|
47
|
+
font-family: 'Poppins-MediumItalic';
|
|
48
|
+
src: url('/fonts/Poppins-MediumItalic.otf') format('opentype');
|
|
49
|
+
}
|
|
50
|
+
@font-face {
|
|
51
|
+
font-family: 'Poppins-Medium';
|
|
52
|
+
src: url('/fonts/Poppins-Medium.otf') format('opentype');
|
|
53
|
+
}
|
|
54
|
+
@font-face {
|
|
55
|
+
font-family: 'Poppins-Regular';
|
|
56
|
+
src: url('/fonts/Poppins-Regular.otf') format('opentype');
|
|
57
|
+
}
|
|
58
|
+
@font-face {
|
|
59
|
+
font-family: 'Poppins-SemiBold';
|
|
60
|
+
src: url('/fonts/Poppins-SemiBold.otf') format('opentype');
|
|
61
|
+
}
|
|
62
|
+
@font-face {
|
|
63
|
+
font-family: 'Poppins-SemiBoldItalic';
|
|
64
|
+
src: url('/fonts/Poppins-SemiBoldItalic.otf') format('opentype');
|
|
65
|
+
}
|
|
66
|
+
@font-face {
|
|
67
|
+
font-family: 'Poppins-ThinItalic';
|
|
68
|
+
src: url('/fonts/Poppins-ThinItalic.otf') format('opentype');
|
|
69
|
+
}
|
|
70
|
+
@font-face {
|
|
71
|
+
font-family: 'Poppins-Thin';
|
|
72
|
+
src: url('/fonts/Poppins-Thin.otf') format('opentype');
|
|
73
|
+
}
|
|
74
|
+
@font-face {
|
|
75
|
+
font-family: 'BebasNeue-Bold';
|
|
76
|
+
src: url('/fonts/BebasNeue-Bold.otf') format('opentype');
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
/*FUENTES*/
|
|
80
|
+
@font-face {
|
|
81
|
+
font-family: 'Montserrat-SemiBold';
|
|
82
|
+
src: url('/fonts/Montserrat-SemiBold.otf') format('opentype');
|
|
83
|
+
}
|