@mtgame/core 1.0.21 → 1.0.23

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.
@@ -844,7 +844,8 @@
844
844
  SportTypes[SportTypes["darts"] = 35] = "darts";
845
845
  SportTypes[SportTypes["badminton"] = 36] = "badminton";
846
846
  SportTypes[SportTypes["padel_tennis"] = 37] = "padel_tennis";
847
- SportTypes[SportTypes["cyber_sport"] = 38] = "cyber_sport";
847
+ SportTypes[SportTypes["other_dota"] = 38] = "other_dota";
848
+ SportTypes[SportTypes["other_fifa"] = 39] = "other_fifa";
848
849
  })(exports.SportTypes || (exports.SportTypes = {}));
849
850
  exports.Sport = /** @class */ (function (_super) {
850
851
  __extends(Sport, _super);
@@ -1493,6 +1494,30 @@
1493
1494
  if (this.sport.isWrestball()) {
1494
1495
  classList.push('empty-logo-basketball');
1495
1496
  }
1497
+ if (this.sport.id === exports.SportTypes.chess) {
1498
+ classList.push('empty-logo-chess');
1499
+ }
1500
+ if (this.sport.id === exports.SportTypes.table_tennis) {
1501
+ classList.push('empty-logo-table-tennis');
1502
+ }
1503
+ if (this.sport.id === exports.SportTypes.billiard) {
1504
+ classList.push('empty-logo-billiard');
1505
+ }
1506
+ if (this.sport.id === exports.SportTypes.darts) {
1507
+ classList.push('empty-logo-darts');
1508
+ }
1509
+ if (this.sport.id === exports.SportTypes.badminton) {
1510
+ classList.push('empty-logo-badminton');
1511
+ }
1512
+ if (this.sport.id === exports.SportTypes.padel_tennis) {
1513
+ classList.push('empty-logo-padel-tennis');
1514
+ }
1515
+ if (this.sport.id === exports.SportTypes.other_dota) {
1516
+ classList.push('empty-logo-cyber');
1517
+ }
1518
+ if (this.sport.id === exports.SportTypes.other_fifa) {
1519
+ classList.push('empty-logo-cyber');
1520
+ }
1496
1521
  return classList.join(' ');
1497
1522
  };
1498
1523
  Team.toFront = function (data) {
@@ -3533,6 +3558,9 @@
3533
3558
  missed_sum: 'missedSum',
3534
3559
  score_points_sum: 'scorePointsSum',
3535
3560
  missed_points_sum: 'missedPointsSum',
3561
+ best_score_diff: 'bestScoreDiff',
3562
+ best_score_points_diff: 'bestScorePointsDiff',
3563
+ buchholz_score: 'buchholzScore',
3536
3564
  points: 'points',
3537
3565
  mt_points: 'mtPoints',
3538
3566
  users_count: 'usersCount',
@@ -14993,8 +15021,8 @@
14993
15021
  var _a$6, _b$6, _c$6;
14994
15022
  var TeamUserRoleLocalization = (_a$6 = {},
14995
15023
  _a$6[Locales.ru] = (_b$6 = {},
14996
- _b$6[exports.TeamUserRole.member] = 'Пользователь',
14997
- _b$6[exports.TeamUserRole.moderator] = 'Модератор',
15024
+ _b$6[exports.TeamUserRole.member] = 'Игрок',
15025
+ _b$6[exports.TeamUserRole.moderator] = 'Игрок',
14998
15026
  _b$6[exports.TeamUserRole.admin] = 'Владелец',
14999
15027
  _b$6[exports.TeamUserRole.coach] = 'Тренер',
15000
15028
  _b$6[exports.TeamUserRole.head_coach] = 'Главный тренер',
@@ -15013,8 +15041,8 @@
15013
15041
  _b$6[exports.TeamUserRole.game_application_manager] = 'Менеджер по заявкам на игры',
15014
15042
  _b$6),
15015
15043
  _a$6[Locales.en] = (_c$6 = {},
15016
- _c$6[exports.TeamUserRole.moderator] = 'Moderator',
15017
- _c$6[exports.TeamUserRole.member] = 'User',
15044
+ _c$6[exports.TeamUserRole.moderator] = 'Player',
15045
+ _c$6[exports.TeamUserRole.member] = 'Player',
15018
15046
  _c$6[exports.TeamUserRole.admin] = 'Owner',
15019
15047
  _c$6[exports.TeamUserRole.coach] = 'Coach',
15020
15048
  _c$6[exports.TeamUserRole.head_coach] = 'Head coach',