@spash/frontlib 1.2.14-beta.1 → 1.2.14-beta.3

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/main.d.ts CHANGED
@@ -220,6 +220,7 @@ export declare interface PadelStatPhysical {
220
220
  intensities: {
221
221
  max_speed: {
222
222
  value: number;
223
+ award?: PadelStatsAward;
223
224
  };
224
225
  details: {
225
226
  gt_15: number;
@@ -229,7 +230,6 @@ export declare interface PadelStatPhysical {
229
230
  in_9_12: number;
230
231
  in_12_15: number;
231
232
  };
232
- award?: PadelStatsAward;
233
233
  };
234
234
  }
235
235
 
@@ -335,7 +335,6 @@ export declare interface PadelStatTeamStat {
335
335
  value: number;
336
336
  total: number;
337
337
  percentage: number;
338
- award?: PadelStatsAward;
339
338
  };
340
339
  details: {
341
340
  values: number[];
@@ -343,6 +342,7 @@ export declare interface PadelStatTeamStat {
343
342
  };
344
343
  blockchain: {
345
344
  value: number;
345
+ award?: PadelStatsAward;
346
346
  };
347
347
  };
348
348
  checks: {
@@ -460,6 +460,8 @@ export declare interface SessionEvent {
460
460
  currentScoreHome: number[];
461
461
  aiCalculated: boolean;
462
462
  duration: number;
463
+ aiZapping: boolean;
464
+ filenames: string[];
463
465
  ngtvSession: Session;
464
466
  ngtvSessionTeam: SessionTeam;
465
467
  ngtvSessionPlayer: SessionPlayer;
@@ -560,7 +562,7 @@ export declare interface SessionPlayerPadelStats {
560
562
  video_path: string;
561
563
  sentence: string;
562
564
  global_mvp: boolean;
563
- award_count: {
565
+ award_counts: {
564
566
  top_1?: number;
565
567
  top_5?: number;
566
568
  top_10?: number;
package/dist/main.js CHANGED
@@ -25706,9 +25706,10 @@ const NI = {
25706
25706
  }, oe = ([{ isIntersecting: y }]) => {
25707
25707
  if (y && !C.value) {
25708
25708
  const x = setInterval(() => {
25709
- v.value.clientWidth > p[r.spashMode].width && v.value.clientHeight > p[r.spashMode].height && (C.value = !0, s("player:loaded", {
25710
- width: v.value.clientWidth,
25711
- height: v.value.clientHeight
25709
+ var S, R, L, P;
25710
+ ((S = v.value) == null ? void 0 : S.clientWidth) > p[r.spashMode].width && ((R = v.value) == null ? void 0 : R.clientHeight) > p[r.spashMode].height && (C.value = !0, s("player:loaded", {
25711
+ width: (L = v.value) == null ? void 0 : L.clientWidth,
25712
+ height: (P = v.value) == null ? void 0 : P.clientHeight
25712
25713
  }), clearInterval(x));
25713
25714
  }, 1e3);
25714
25715
  }
@@ -25923,7 +25924,7 @@ const lR = /* @__PURE__ */ De(iR, [["render", aR]]), cR = { class: "relative min
25923
25924
  A === "orange" ? (g.title = "Team B", g.color = "teamA") : A === "blue" && (g.title = "Team A", g.color = "teamB");
25924
25925
  } else t.value.type === "goal" ? t.value.ngtvSessionTeam.home ? (g.title = "Team A", g.color = "teamA") : (g.title = "Team B", g.color = "teamB") : t.value.type === "foul" ? (g.title = i("commons.events.foul"), g.color = "orange") : t.value.ngtvSessionTeam.home ? (g.title = "Team A", g.color = "teamA") : (g.title = "Team B", g.color = "teamB");
25925
25926
  else
25926
- t.value.type === "buzz" ? (g.title = "Buzz !", g.color = "red") : t.value.type === "foul" ? (g.title = i("commons.events.foul"), g.color = "orange") : t.value.type === "new_set" ? (g.title = i("commons.events.new_set"), g.color = "blue") : (g.title = ((v = h.value) == null ? void 0 : v.name) || "", g.color = "purple");
25927
+ t.value.type === "buzz" ? (g.title = "Buzz !", g.color = "red") : t.value.type === "foul" ? (g.title = i("commons.events.foul"), g.color = "orange") : t.value.type === "new_set" ? (g.title = i("commons.events.new_set"), g.color = "blue") : (g.title = ((v = h.value) == null ? void 0 : v.name) || t.value.name, g.color = "purple");
25927
25928
  return g;
25928
25929
  });
25929
25930
  return (g, v) => {
@@ -25959,7 +25960,7 @@ const lR = /* @__PURE__ */ De(iR, [["render", aR]]), cR = { class: "relative min
25959
25960
  })
25960
25961
  ])) : $e("", !0),
25961
25962
  Y("div", {
25962
- class: Pe({ "mt-1": le(t).aiCalculated })
25963
+ class: Pe(["line-clamp-1", { "mt-1": le(t).aiCalculated }])
25963
25964
  }, et(p.value.title), 3)
25964
25965
  ]),
25965
25966
  _: 1
@@ -32280,6 +32281,9 @@ const a6 = () => {
32280
32281
  confirm: "Confirmer",
32281
32282
  on: "On",
32282
32283
  off: "Off",
32284
+ teamA: "Team A",
32285
+ teamB: "Team B",
32286
+ vs: "Vs",
32283
32287
  groups: {
32284
32288
  group_A: "Poule 1",
32285
32289
  group_B: "Poule 2",
@@ -32354,10 +32358,21 @@ const a6 = () => {
32354
32358
  statsAbv: "Stats",
32355
32359
  blows: "coups",
32356
32360
  aiEvents: {
32361
+ buzz: "Buzz",
32357
32362
  PuntoFrigo: "Frigo",
32358
32363
  LongestRally: "Long rallye",
32359
- FastestHit: "Missile",
32360
- DUEL: "Duel"
32364
+ FastestHit: "Parpaing",
32365
+ Duel: "Duel",
32366
+ DivorceZone: "Zone de divorce",
32367
+ ServiceSniper: "Service Sniper",
32368
+ LobSniper: "Lob Sniper",
32369
+ Dropshot: "Amorti",
32370
+ BestSmash: "Smash puissant",
32371
+ BestSmashPerPlayer: "Smash puissant",
32372
+ SmashPlayerCompilation: "Smashs Compil'",
32373
+ VolleyPlayerCompilation: "Vollées Compil",
32374
+ SmashCompilation: "Smashs Compil'",
32375
+ VolleyCompilation: "Vollées Compil"
32361
32376
  }
32362
32377
  },
32363
32378
  components: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spash/frontlib",
3
- "version": "1.2.14-beta.1",
3
+ "version": "1.2.14-beta.3",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist"