@golstats/gsc-lineups-reports 1.0.1 → 1.0.2

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.
@@ -9309,6 +9309,16 @@ const Uf = {
9309
9309
  default: () => {
9310
9310
  }
9311
9311
  },
9312
+ gamehome: {
9313
+ type: Object,
9314
+ default: () => {
9315
+ }
9316
+ },
9317
+ gameaway: {
9318
+ type: Object,
9319
+ default: () => {
9320
+ }
9321
+ },
9312
9322
  selectedOption: {
9313
9323
  type: String,
9314
9324
  default: "Prematch"
@@ -9334,7 +9344,7 @@ const Uf = {
9334
9344
  return {
9335
9345
  lastGetLineUpGameId: "",
9336
9346
  lastGetMXMUrl: "",
9337
- selectOptMenuheader: "Historicos",
9347
+ selectOptMenuheader: "Probables",
9338
9348
  token: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MCwibmFtZSI6IlVzdWFyaW8gRnJlZSIsInVzZXJuYW1lIjoiZnJlZUBnb2xzdGF0cy5jb20iLCJlbWFpbCI6ImZyZWVAZ29sc3RhdHMuY29tIiwiaWF0IjoxNjA2NzU4Nzk1LCJleHAiOjE2MzgyOTQ3OTV9.kPNmP7yDtk38cAXrUyc7OHRh6J25VFqy-XUNzbK-4YE",
9339
9349
  tokenPremium: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6NTg2LCJuYW1lIjoiSkFTIEdvbFN0YXRzIiwidXNlcm5hbWUiOiJ5YXRlYW1lcmljYSIsImVtYWlsIjoiIiwicHJvdmlkZXJfaWQiOjEsImxvZ2luX2dvbHN0YXRzIjoxLCJpYXQiOjE2OTYzNjU1ODcsImV4cCI6MTcyNzkwMTU4N30.jynRtgtFM8sf8gtqZJ-1gHLc2Ws13TIykXcfrlOvv1g",
9340
9350
  urlGames: "https://iwxfzq6e2h.execute-api.us-west-2.amazonaws.com/prod/v2/statisticsLeagueBySeason/",
@@ -9557,7 +9567,9 @@ const Uf = {
9557
9567
  selectOptMenuheader: {
9558
9568
  immediate: !0,
9559
9569
  async handler(e, t) {
9560
- e != t && this.selectedOption !== "Postmatch" && (e === "Probables" && (this.lastSection = e), e === "Historicos" && this.gamesHistoric[0] && await this.getLineUp(this.gamesHistoric[0].game));
9570
+ e != t && this.selectedOption !== "Postmatch" && (e === "Probables" && setTimeout(() => {
9571
+ this.auxProbablesIDGameHome = this.gamehome.game_id, this.auxProbablesIDGameAway = this.gameaway.game_id, this.cleaneDataAway(), this.cleaneDataHome(), this.getLineUpProbablesHome3D(this.gamehome.game_id), this.getLineUpProbablesAway3D(this.gameaway.game_id), this.lastSection = e;
9572
+ }, 300), e === "Historicos" && this.gamesHistoric[0] && await this.getLineUp(this.gamesHistoric[0].game));
9561
9573
  }
9562
9574
  },
9563
9575
  "socket.connected": {
@@ -11256,17 +11268,29 @@ const Jf = /* @__PURE__ */ fe(Uf, [["render", Xf]]), Gf = {
11256
11268
  type: Object,
11257
11269
  default: () => {
11258
11270
  }
11271
+ },
11272
+ gamehome: {
11273
+ type: Object,
11274
+ default: () => {
11275
+ }
11276
+ },
11277
+ gameaway: {
11278
+ type: Object,
11279
+ default: () => {
11280
+ }
11259
11281
  }
11260
11282
  },
11261
11283
  setup(e) {
11262
11284
  return (t, i) => (m(), g("div", null, [
11263
11285
  B(Jf, {
11264
11286
  game: e.game,
11265
- "selected-option": "Postmatch"
11266
- }, null, 8, ["game"])
11287
+ gamehome: e.gamehome,
11288
+ gameaway: e.gameaway,
11289
+ "selected-option": "Prematch"
11290
+ }, null, 8, ["game", "gamehome", "gameaway"])
11267
11291
  ]));
11268
11292
  }
11269
- }, gg = /* @__PURE__ */ fe(Gf, [["__scopeId", "data-v-7e450a1b"]]);
11293
+ }, gg = /* @__PURE__ */ fe(Gf, [["__scopeId", "data-v-28b57406"]]);
11270
11294
  export {
11271
11295
  gg as GSCLineupsReports
11272
11296
  };