@golstats/gsc-reports 1.0.41 → 1.0.43
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-55d68355-DgmObXIt-CmrUWIl_-DylREFoz.js → FilterConditions-55d68355-DgmObXIt-DEf9DwkD-CcY-4VP9.js} +1 -1
- package/dist/{FilterField-59a73e38-09cJ-DRW-DE1eR7o1-C-znLzVd.js → FilterField-59a73e38-09cJ-DRW-DJuikEa2-DBccs69P.js} +1 -1
- package/dist/{FilterSubcategories-a9b32cc9-DNpw7zPl-B0kXjuae-BOYye02j.js → FilterSubcategories-a9b32cc9-DNpw7zPl-DAwYH-cF-BNoi4ZJU.js} +1 -1
- package/dist/gsc-reports.css +1 -1
- package/dist/gsc-reports.es.js +1 -1
- package/dist/gsc-reports.umd.js +78 -78
- package/dist/{index-BdyX72pz.js → index-Cn5IJfXy.js} +89 -56
- package/package.json +2 -2
|
@@ -112273,11 +112273,11 @@ const jD = {
|
|
|
112273
112273
|
},
|
|
112274
112274
|
setup(r) {
|
|
112275
112275
|
const a = r, g = N1(
|
|
112276
|
-
() => import("./FilterSubcategories-a9b32cc9-DNpw7zPl-
|
|
112276
|
+
() => import("./FilterSubcategories-a9b32cc9-DNpw7zPl-DAwYH-cF-BNoi4ZJU.js")
|
|
112277
112277
|
), F = N1(
|
|
112278
|
-
() => import("./FilterConditions-55d68355-DgmObXIt-
|
|
112278
|
+
() => import("./FilterConditions-55d68355-DgmObXIt-DEf9DwkD-CcY-4VP9.js")
|
|
112279
112279
|
), K = N1(
|
|
112280
|
-
() => import("./FilterField-59a73e38-09cJ-DRW-
|
|
112280
|
+
() => import("./FilterField-59a73e38-09cJ-DRW-DJuikEa2-DBccs69P.js")
|
|
112281
112281
|
), E = [
|
|
112282
112282
|
{
|
|
112283
112283
|
name: "Sub categorías",
|
|
@@ -118066,40 +118066,55 @@ const _w = /* @__PURE__ */ BV(jV, [["render", hq], ["__scopeId", "data-v-9de012a
|
|
|
118066
118066
|
}), l = ci(() => {
|
|
118067
118067
|
var w;
|
|
118068
118068
|
return ((w = a.game.minutes) == null ? void 0 : w.away_red_cards_minutes) || [];
|
|
118069
|
-
}), p = ci(() => h.value.length), m = ci(() => n.value.length), T = ci(() => i.value.length), S = ci(() => u.value.length), k = ci(() => s.value.length), C = ci(() => l.value.length), P = (w) => w.map((O) =>
|
|
118069
|
+
}), p = ci(() => h.value.length), m = ci(() => n.value.length), T = ci(() => i.value.length), S = ci(() => u.value.length), k = ci(() => s.value.length), C = ci(() => l.value.length), P = (w) => w.map((O) => {
|
|
118070
|
+
const b = O.match(/(\d+\s*\+\s*\d+|\d+)\'?$/);
|
|
118071
|
+
return b ? b[1] + "'" : O;
|
|
118072
|
+
}).join(", "), A = (w) => {
|
|
118070
118073
|
if (w.length === 0) return [];
|
|
118071
118074
|
const O = [];
|
|
118072
118075
|
for (let b = 0; b < w.length; b += 4) {
|
|
118073
|
-
const R = w.slice(b, b + 4).map((I) =>
|
|
118076
|
+
const R = w.slice(b, b + 4).map((I) => {
|
|
118077
|
+
const U = I.match(/(\d+\s*\+\s*\d+|\d+)\'?$/);
|
|
118078
|
+
return U ? U[1] + "'" : I;
|
|
118079
|
+
}).join(", ");
|
|
118074
118080
|
O.push(R);
|
|
118075
118081
|
}
|
|
118076
118082
|
return O;
|
|
118077
118083
|
}, L = ci(() => {
|
|
118078
118084
|
const w = [];
|
|
118079
118085
|
if (h.value.forEach((O) => {
|
|
118080
|
-
const
|
|
118081
|
-
|
|
118082
|
-
|
|
118083
|
-
|
|
118084
|
-
|
|
118085
|
-
|
|
118086
|
-
|
|
118086
|
+
const b = O.match(/^(.+?)\s+(\d+\s*\+\s*\d+|\d+)\'?$/);
|
|
118087
|
+
if (b) {
|
|
118088
|
+
const [, R, I] = b;
|
|
118089
|
+
w.push({
|
|
118090
|
+
type: "gol",
|
|
118091
|
+
player: R.trim(),
|
|
118092
|
+
minute: I + "'",
|
|
118093
|
+
icon: "https://golstatsimages.blob.core.windows.net/reports-images/gol.svg"
|
|
118094
|
+
});
|
|
118095
|
+
}
|
|
118087
118096
|
}), i.value.forEach((O) => {
|
|
118088
|
-
const
|
|
118089
|
-
|
|
118090
|
-
|
|
118091
|
-
|
|
118092
|
-
|
|
118093
|
-
|
|
118094
|
-
|
|
118097
|
+
const b = O.match(/^(.+?)\s+(\d+\s*\+\s*\d+|\d+)\'?$/);
|
|
118098
|
+
if (b) {
|
|
118099
|
+
const [, R, I] = b;
|
|
118100
|
+
w.push({
|
|
118101
|
+
type: "amarilla",
|
|
118102
|
+
player: R.trim(),
|
|
118103
|
+
minute: I + "'",
|
|
118104
|
+
icon: "https://golstatsimages.blob.core.windows.net/reports-images/icn-tarjeta-amarilla.svg"
|
|
118105
|
+
});
|
|
118106
|
+
}
|
|
118095
118107
|
}), s.value.forEach((O) => {
|
|
118096
|
-
const
|
|
118097
|
-
|
|
118098
|
-
|
|
118099
|
-
|
|
118100
|
-
|
|
118101
|
-
|
|
118102
|
-
|
|
118108
|
+
const b = O.match(/^(.+?)\s+(\d+\s*\+\s*\d+|\d+)\'?$/);
|
|
118109
|
+
if (b) {
|
|
118110
|
+
const [, R, I] = b;
|
|
118111
|
+
w.push({
|
|
118112
|
+
type: "roja",
|
|
118113
|
+
player: R.trim(),
|
|
118114
|
+
minute: I + "'",
|
|
118115
|
+
icon: "https://golstatsimages.blob.core.windows.net/reports-images/icn-tarjeta-roja.svg"
|
|
118116
|
+
});
|
|
118117
|
+
}
|
|
118103
118118
|
}), w.length > 9) {
|
|
118104
118119
|
const O = w.slice(0, 9);
|
|
118105
118120
|
return O.push({
|
|
@@ -118113,29 +118128,38 @@ const _w = /* @__PURE__ */ BV(jV, [["render", hq], ["__scopeId", "data-v-9de012a
|
|
|
118113
118128
|
}), M = ci(() => {
|
|
118114
118129
|
const w = [];
|
|
118115
118130
|
if (n.value.forEach((O) => {
|
|
118116
|
-
const
|
|
118117
|
-
|
|
118118
|
-
|
|
118119
|
-
|
|
118120
|
-
|
|
118121
|
-
|
|
118122
|
-
|
|
118131
|
+
const b = O.match(/^(.+?)\s+(\d+\s*\+\s*\d+|\d+)\'?$/);
|
|
118132
|
+
if (b) {
|
|
118133
|
+
const [, R, I] = b;
|
|
118134
|
+
w.push({
|
|
118135
|
+
type: "gol",
|
|
118136
|
+
player: R.trim(),
|
|
118137
|
+
minute: I + "'",
|
|
118138
|
+
icon: "https://golstatsimages.blob.core.windows.net/reports-images/gol.svg"
|
|
118139
|
+
});
|
|
118140
|
+
}
|
|
118123
118141
|
}), u.value.forEach((O) => {
|
|
118124
|
-
const
|
|
118125
|
-
|
|
118126
|
-
|
|
118127
|
-
|
|
118128
|
-
|
|
118129
|
-
|
|
118130
|
-
|
|
118142
|
+
const b = O.match(/^(.+?)\s+(\d+\s*\+\s*\d+|\d+)\'?$/);
|
|
118143
|
+
if (b) {
|
|
118144
|
+
const [, R, I] = b;
|
|
118145
|
+
w.push({
|
|
118146
|
+
type: "amarilla",
|
|
118147
|
+
player: R.trim(),
|
|
118148
|
+
minute: I + "'",
|
|
118149
|
+
icon: "https://golstatsimages.blob.core.windows.net/reports-images/icn-tarjeta-amarilla.svg"
|
|
118150
|
+
});
|
|
118151
|
+
}
|
|
118131
118152
|
}), l.value.forEach((O) => {
|
|
118132
|
-
const
|
|
118133
|
-
|
|
118134
|
-
|
|
118135
|
-
|
|
118136
|
-
|
|
118137
|
-
|
|
118138
|
-
|
|
118153
|
+
const b = O.match(/^(.+?)\s+(\d+\s*\+\s*\d+|\d+)\'?$/);
|
|
118154
|
+
if (b) {
|
|
118155
|
+
const [, R, I] = b;
|
|
118156
|
+
w.push({
|
|
118157
|
+
type: "roja",
|
|
118158
|
+
player: R.trim(),
|
|
118159
|
+
minute: I + "'",
|
|
118160
|
+
icon: "https://golstatsimages.blob.core.windows.net/reports-images/icn-tarjeta-roja.svg"
|
|
118161
|
+
});
|
|
118162
|
+
}
|
|
118139
118163
|
}), w.length > 9) {
|
|
118140
118164
|
const O = w.slice(0, 9);
|
|
118141
118165
|
return O.push({
|
|
@@ -118430,7 +118454,7 @@ const _w = /* @__PURE__ */ BV(jV, [["render", hq], ["__scopeId", "data-v-9de012a
|
|
|
118430
118454
|
], 2)) : Ar("", !0)
|
|
118431
118455
|
], 2));
|
|
118432
118456
|
}
|
|
118433
|
-
}, kw = /* @__PURE__ */ pq(IW, [["__scopeId", "data-v-
|
|
118457
|
+
}, kw = /* @__PURE__ */ pq(IW, [["__scopeId", "data-v-83b8ef3b"]]);
|
|
118434
118458
|
function m6(r, a) {
|
|
118435
118459
|
return function() {
|
|
118436
118460
|
return r.apply(a, arguments);
|
|
@@ -134988,7 +135012,7 @@ const {
|
|
|
134988
135012
|
}
|
|
134989
135013
|
},
|
|
134990
135014
|
setup(r) {
|
|
134991
|
-
const a = r, g = Kr([]), F = Kr(!0), K = Kr(null), E = ci(() => a.default ? "https://golstatsimages.blob.core.windows.net/todoelfut/lineups/escudo1.png" : a.homeLogo), _ = ci(() => a.default ? "https://golstatsimages.blob.core.windows.net/todoelfut/lineups/escudo2.png" : a.awayLogo);
|
|
135015
|
+
const a = r, g = Kr([]), F = Kr(!0), K = Kr(null), E = ci(() => a.default || !a.gameId ? "https://golstatsimages.blob.core.windows.net/todoelfut/lineups/escudo1.png" : a.homeLogo), _ = ci(() => a.default || !a.gameId ? "https://golstatsimages.blob.core.windows.net/todoelfut/lineups/escudo2.png" : a.awayLogo);
|
|
134992
135016
|
ci(() => ({
|
|
134993
135017
|
general: "General",
|
|
134994
135018
|
offensive: "Ofensivo",
|
|
@@ -134999,8 +135023,7 @@ const {
|
|
|
134999
135023
|
})[a.type] || "General");
|
|
135000
135024
|
const t = Kr(null), y = async () => {
|
|
135001
135025
|
try {
|
|
135002
|
-
if (F.value = !0, K.value = null, a.default) {
|
|
135003
|
-
console.log("Modo default activado - usando categorías estáticas");
|
|
135026
|
+
if (F.value = !0, K.value = null, a.default || !a.gameId) {
|
|
135004
135027
|
const i = d[a.type] || d.general;
|
|
135005
135028
|
g.value = i.map((u) => ({
|
|
135006
135029
|
label: u,
|
|
@@ -135125,14 +135148,14 @@ const {
|
|
|
135125
135148
|
Le("img", {
|
|
135126
135149
|
src: E.value,
|
|
135127
135150
|
alt: "Equipo local",
|
|
135128
|
-
class: Pt(["logo", { "default-logo": a.default }])
|
|
135151
|
+
class: Pt(["logo", { "default-logo": a.default || !r.gameId }])
|
|
135129
135152
|
}, null, 10, Xoe)
|
|
135130
135153
|
]),
|
|
135131
135154
|
Le("div", Hoe, [
|
|
135132
135155
|
Le("img", {
|
|
135133
135156
|
src: _.value,
|
|
135134
135157
|
alt: "Equipo visitante",
|
|
135135
|
-
class: Pt(["logo", { "default-logo": a.default }])
|
|
135158
|
+
class: Pt(["logo", { "default-logo": a.default || !r.gameId }])
|
|
135136
135159
|
}, null, 10, Joe)
|
|
135137
135160
|
])
|
|
135138
135161
|
]),
|
|
@@ -135164,7 +135187,7 @@ const {
|
|
|
135164
135187
|
])
|
|
135165
135188
|
], 512));
|
|
135166
135189
|
}
|
|
135167
|
-
}, P3 = /* @__PURE__ */ qoe(nse, [["__scopeId", "data-v-
|
|
135190
|
+
}, P3 = /* @__PURE__ */ qoe(nse, [["__scopeId", "data-v-06bbe73e"]]), Wv = (r, a) => {
|
|
135168
135191
|
const g = r.__vccOpts || r;
|
|
135169
135192
|
for (const [F, K] of a)
|
|
135170
135193
|
g[F] = K;
|
|
@@ -139890,6 +139913,16 @@ const Qle = [
|
|
|
139890
139913
|
id: 22,
|
|
139891
139914
|
name: "Atajadas",
|
|
139892
139915
|
isSelected: !1
|
|
139916
|
+
},
|
|
139917
|
+
{
|
|
139918
|
+
id: 24,
|
|
139919
|
+
name: "Oportunidades de gol",
|
|
139920
|
+
isSelected: !1
|
|
139921
|
+
},
|
|
139922
|
+
{
|
|
139923
|
+
id: 25,
|
|
139924
|
+
name: "Balones recuperados en cancha rival",
|
|
139925
|
+
isSelected: !1
|
|
139893
139926
|
}
|
|
139894
139927
|
], $h = (r) => Qle.find((a) => a.id === r), Ef = /* @__PURE__ */ new Map([
|
|
139895
139928
|
[9, {
|
|
@@ -143521,7 +143554,7 @@ const $le = { class: "template-page__header" }, ece = { class: "template-page__h
|
|
|
143521
143554
|
if (!ie || !fe)
|
|
143522
143555
|
return ie || {};
|
|
143523
143556
|
const _e = { ...ie };
|
|
143524
|
-
return fe.id === 5 && (_e.isGhostEffect = ye), fe.id === 1 && (_e.gameId = ge ? ge.id : "", _e.homeLogo = ge ? ge.homeTeam.logo : "", _e.awayLogo = ge ? ge.awayTeam.logo : "", _e.seasonId = ge ? ge.season_id : 0, _e.default = ye), fe.id === 6 && (_e.game = ge || ""), fe.id === 2 && (_e.gamed = ge ? ge.id : "", _e.game = ge || "", _e.season = ge ? ge.season_id : 0, _e.useDummyData = ye), ge && (_e.game = ge), _e;
|
|
143557
|
+
return fe.id === 5 && (_e.isGhostEffect = ye), fe.id === 1 && (console.log("coreView.id 1 isTemplateMode -->", ye), _e.gameId = ge ? ge.id : "", _e.homeLogo = ge ? ge.homeTeam.logo : "", _e.awayLogo = ge ? ge.awayTeam.logo : "", _e.seasonId = ge ? ge.season_id : 0, _e.default = ye), fe.id === 6 && (_e.game = ge || ""), fe.id === 2 && (_e.gamed = ge ? ge.id : "", _e.game = ge || "", _e.season = ge ? ge.season_id : 0, _e.useDummyData = ye), ge && (_e.game = ge), _e;
|
|
143525
143558
|
}
|
|
143526
143559
|
const V = r, Z = g;
|
|
143527
143560
|
aa(
|
|
@@ -144076,7 +144109,7 @@ const $le = { class: "template-page__header" }, ece = { class: "template-page__h
|
|
|
144076
144109
|
]))
|
|
144077
144110
|
], 64));
|
|
144078
144111
|
}
|
|
144079
|
-
}, Dde = /* @__PURE__ */ kh(zde, [["__scopeId", "data-v-
|
|
144112
|
+
}, Dde = /* @__PURE__ */ kh(zde, [["__scopeId", "data-v-ab3d22c2"]]);
|
|
144080
144113
|
function a8(r, a) {
|
|
144081
144114
|
return function() {
|
|
144082
144115
|
return r.apply(a, arguments);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@golstats/gsc-reports",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.43",
|
|
4
4
|
"main": "dist/gsc-reports.umd.js",
|
|
5
5
|
"module": "dist/gsc-reports.es.js",
|
|
6
6
|
"exports": {
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
49
|
"@golstats/gsc-checkbox": "^1.0.13",
|
|
50
|
-
"@golstats/gsc-template-report-maker": "^1.0.
|
|
50
|
+
"@golstats/gsc-template-report-maker": "^1.0.56",
|
|
51
51
|
"@golstats/gsc-volumetric-field": "^1.0.1",
|
|
52
52
|
"axios": "^1.10.0",
|
|
53
53
|
"gridstack": "^12.1.1",
|