@golstats/gsc-top-player 1.0.13 → 1.0.14

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.
@@ -4860,7 +4860,7 @@ const cf = {
4860
4860
  });
4861
4861
  this.isloading = !0;
4862
4862
  let f = {};
4863
- if (console.log("this.typeData:::: ", this.typeData), console.log("this.game, ", this.game), this.game.game_status === 1 ? f = await d.get(this.url + "/" + this.gameId + "/" + this.category) : f = await d.get(
4863
+ if (console.log("this.typeData:::: ", this.typeData), console.log("this.game, ", this.game), this.typeData === 0 ? f = await d.get(this.url + "/" + this.gameId + "/" + this.category) : f = await d.get(
4864
4864
  this.urlPrematch + r + "/" + this.category + "?t=" + this.game.home_team + "&t=" + this.game.visiting_team
4865
4865
  ), f && f.data && f.data.data && f.data.data.length > 0) {
4866
4866
  i = f.data.data.map((l) => this.formatStatsData(l)), f.data.teams.forEach((l) => {
@@ -4977,9 +4977,9 @@ const cf = {
4977
4977
  }
4978
4978
  }, Is = () => {
4979
4979
  H((e) => ({
4980
- a1dc2948: e.borderRadius,
4981
- "714aadbc": e.borderWidth,
4982
- "7033af59": e.borderColor
4980
+ "485f6e6c": e.borderRadius,
4981
+ "65b888ac": e.borderWidth,
4982
+ "64a18a49": e.borderColor
4983
4983
  }));
4984
4984
  }, Ns = Ut.setup;
4985
4985
  Ut.setup = Ns ? (e, s) => (Is(), Ns(e, s)) : Is;
@@ -5224,7 +5224,7 @@ function _f(e, s, t, i, n, a) {
5224
5224
  ], 512)
5225
5225
  ], 2);
5226
5226
  }
5227
- const bf = /* @__PURE__ */ oe(Ut, [["render", _f], ["__scopeId", "data-v-68b7189c"]]), xe = {
5227
+ const bf = /* @__PURE__ */ oe(Ut, [["render", _f], ["__scopeId", "data-v-255fff48"]]), xe = {
5228
5228
  YEAR: 2,
5229
5229
  AGE_RANGE: 3,
5230
5230
  NATIONALITY: 4,
@@ -8894,11 +8894,11 @@ const x1 = {
8894
8894
  },
8895
8895
  setup(e) {
8896
8896
  const s = e, t = ft(
8897
- () => import("./FilterSubcategories-a9b32cc9-yXOBLwEK.js")
8897
+ () => import("./FilterSubcategories-a9b32cc9-BNJd1jQV.js")
8898
8898
  ), i = ft(
8899
- () => import("./FilterConditions-55d68355-icU5o85T.js")
8899
+ () => import("./FilterConditions-55d68355-BXhCIc1P.js")
8900
8900
  ), n = ft(
8901
- () => import("./FilterField-59a73e38-BOM_57PM.js")
8901
+ () => import("./FilterField-59a73e38-Dl8xnklK.js")
8902
8902
  ), a = [
8903
8903
  {
8904
8904
  name: "Sub categorías",
@@ -9557,7 +9557,7 @@ const dg = "_comfiltersContainer_xl2as_1", cg = "_comfiltersContainer1232_xl2as_
9557
9557
  type: Number,
9558
9558
  default: 0
9559
9559
  },
9560
- type: {
9560
+ typeData: {
9561
9561
  type: Number,
9562
9562
  default: 0
9563
9563
  },
@@ -11201,7 +11201,7 @@ function a2(e, s, t, i, n, a) {
11201
11201
  "border-radius": "12px",
11202
11202
  "game-id": t.gameId,
11203
11203
  game: t.game,
11204
- typeData: t.type,
11204
+ typeData: t.typeData,
11205
11205
  category: d.id,
11206
11206
  "type-table": n.typeTable,
11207
11207
  categoryName: d.name,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@golstats/gsc-top-player",
3
- "version": "1.0.13",
3
+ "version": "1.0.14",
4
4
  "main": "dist/gsc-top-player.umd.js",
5
5
  "module": "dist/gsc-top-player.es.js",
6
6
  "exports": {
@@ -1130,7 +1130,7 @@ export default {
1130
1130
  console.log('this.typeData:::: ', this.typeData)
1131
1131
 
1132
1132
  console.log('this.game, ', this.game)
1133
- if (this.game.game_status === 1) {
1133
+ if (this.typeData === 0) {
1134
1134
  data = await axiosInstance.get(this.url + '/' + this.gameId + '/' + this.category)
1135
1135
  } else {
1136
1136
  data = await axiosInstance.get(
@@ -14,7 +14,7 @@
14
14
  border-radius="12px"
15
15
  :game-id="gameId"
16
16
  :game="game"
17
- :typeData="type"
17
+ :typeData="typeData"
18
18
  :category="category.id"
19
19
  :type-table="typeTable"
20
20
  :categoryName="category.name"
@@ -98,7 +98,7 @@ export default {
98
98
  type: Number,
99
99
  default: 0,
100
100
  },
101
- type: {
101
+ typeData: {
102
102
  type: Number,
103
103
  default: 0,
104
104
  },