@mtgame/core 0.1.41 → 0.1.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.
Files changed (49) hide show
  1. package/api/game-base-api.d.ts +1 -0
  2. package/api/rugby-game-api.d.ts +3 -0
  3. package/bundles/mtgame-core.umd.js +210 -100
  4. package/bundles/mtgame-core.umd.js.map +1 -1
  5. package/bundles/mtgame-core.umd.min.js +1 -1
  6. package/bundles/mtgame-core.umd.min.js.map +1 -1
  7. package/esm2015/api/game-base-api.js +10 -2
  8. package/esm2015/api/rugby-game-api.js +16 -2
  9. package/esm2015/localization/public-api.js +2 -1
  10. package/esm2015/localization/rugby-foul-sanction.js +10 -0
  11. package/esm2015/localization/rugby-game-log-types.js +6 -1
  12. package/esm2015/models/public-api.js +2 -1
  13. package/esm2015/models/rugby-foul-type.js +35 -0
  14. package/esm2015/models/rugby-game-config.js +8 -2
  15. package/esm2015/models/rugby-game-log.js +34 -24
  16. package/esm2015/models/rugby-game-statistic.js +7 -1
  17. package/esm2015/models/rugby-game-team-statistic.js +1 -1
  18. package/esm2015/models/rugby-statistic.js +1 -1
  19. package/esm2015/models/tournament-team.js +6 -2
  20. package/esm5/api/game-base-api.js +12 -2
  21. package/esm5/api/rugby-game-api.js +20 -2
  22. package/esm5/localization/public-api.js +2 -1
  23. package/esm5/localization/rugby-foul-sanction.js +11 -0
  24. package/esm5/localization/rugby-game-log-types.js +6 -1
  25. package/esm5/models/public-api.js +2 -1
  26. package/esm5/models/rugby-foul-type.js +40 -0
  27. package/esm5/models/rugby-game-config.js +12 -2
  28. package/esm5/models/rugby-game-log.js +34 -24
  29. package/esm5/models/rugby-game-statistic.js +7 -1
  30. package/esm5/models/rugby-game-team-statistic.js +1 -1
  31. package/esm5/models/rugby-statistic.js +1 -1
  32. package/esm5/models/tournament-team.js +6 -2
  33. package/fesm2015/mtgame-core.js +118 -26
  34. package/fesm2015/mtgame-core.js.map +1 -1
  35. package/fesm5/mtgame-core.js +210 -102
  36. package/fesm5/mtgame-core.js.map +1 -1
  37. package/localization/public-api.d.ts +1 -0
  38. package/localization/rugby-foul-sanction.d.ts +9 -0
  39. package/localization/rugby-game-log-types.d.ts +5 -0
  40. package/models/public-api.d.ts +1 -0
  41. package/models/rugby-foul-type.d.ts +16 -0
  42. package/models/rugby-game-config.d.ts +1 -0
  43. package/models/rugby-game-log.d.ts +29 -21
  44. package/models/rugby-game-statistic.d.ts +8 -1
  45. package/models/rugby-game-team-statistic.d.ts +2 -1
  46. package/models/rugby-statistic.d.ts +7 -2
  47. package/models/tournament-team.d.ts +4 -0
  48. package/mtgame-core.metadata.json +1 -1
  49. package/package.json +1 -1
@@ -1,6 +1,6 @@
1
1
  import { __values, __extends, __decorate, __spread, __assign, __param, __awaiter, __generator } from 'tslib';
2
2
  import { ɵɵdefineInjectable, Injectable, Optional, Inject, ɵɵinject, Injector, PLATFORM_ID } from '@angular/core';
3
- import { HttpClient, HttpParams } from '@angular/common/http';
3
+ import { HttpParams, HttpClient } from '@angular/common/http';
4
4
  import { filter, map, delay, switchMap } from 'rxjs/operators';
5
5
  import { BehaviorSubject, Observable, of } from 'rxjs';
6
6
  import { Subject } from 'rxjs/internal/Subject';
@@ -1789,6 +1789,16 @@ var RugbyGameConfig = /** @class */ (function (_super) {
1789
1789
  function RugbyGameConfig() {
1790
1790
  return _super !== null && _super.apply(this, arguments) || this;
1791
1791
  }
1792
+ Object.defineProperty(RugbyGameConfig.prototype, "penaltyPeriod", {
1793
+ get: function () {
1794
+ if (this.overtimeType !== OvertimeTypes.time_and_penalties) {
1795
+ return +this.periodsCount + 1;
1796
+ }
1797
+ return +this.periodsCount + this.overtimePeriods + 1;
1798
+ },
1799
+ enumerable: true,
1800
+ configurable: true
1801
+ });
1792
1802
  RugbyGameConfig.toFront = function (data) { };
1793
1803
  RugbyGameConfig.toBack = function (data) { };
1794
1804
  __decorate([
@@ -2352,7 +2362,11 @@ var TournamentTeam = /** @class */ (function (_super) {
2352
2362
  lose_normal_time_games_count: 'loseNormalTimeGamesCount',
2353
2363
  win_overtime_games_count: 'winOvertimeGamesCount',
2354
2364
  lose_overtime_games_count: 'loseOvertimeGamesCount',
2355
- last_five_games: 'lastFiveGames'
2365
+ last_five_games: 'lastFiveGames',
2366
+ tries_scored: 'triesScored',
2367
+ tries_missed: 'triesMissed',
2368
+ attack_bonuses: 'attackBonuses',
2369
+ defense_bonuses: 'defenseBonuses',
2356
2370
  },
2357
2371
  relation: {
2358
2372
  logo: File,
@@ -2957,6 +2971,16 @@ var GameBaseApi = /** @class */ (function () {
2957
2971
  });
2958
2972
  });
2959
2973
  };
2974
+ GameBaseApi.prototype.downloadApplication = function (gameId, format, type) {
2975
+ return __awaiter(this, void 0, void 0, function () {
2976
+ return __generator(this, function (_a) {
2977
+ return [2 /*return*/, this.httpClient.get(this.configService.get('apiUrl') + "/api/v1/tournament_game/" + gameId + "/game_application/", {
2978
+ params: new HttpParams().set('file_type', format).set('application_type', type),
2979
+ responseType: 'blob'
2980
+ }).toPromise()];
2981
+ });
2982
+ });
2983
+ };
2960
2984
  GameBaseApi.ctorParameters = function () { return [
2961
2985
  { type: HttpClient },
2962
2986
  { type: ConfigService }
@@ -7028,11 +7052,17 @@ var RugbyGameStatistic = /** @class */ (function (_super) {
7028
7052
  penalty_tries: 'penaltyTries',
7029
7053
  conversion_goals: 'conversionGoals',
7030
7054
  conversion_misses: 'conversionMisses',
7055
+ conversion_shots: 'conversionShots',
7056
+ conversion_goals_percent: 'conversionGoalsPercent',
7031
7057
  drawing_ball: 'drawingBall',
7032
7058
  penalty_misses: 'penaltyMisses',
7033
7059
  penalty_goals: 'penaltyGoals',
7060
+ penalty_shots: 'penaltyShots',
7061
+ penalty_goals_percent: 'penaltyGoalsPercent',
7034
7062
  drop_goals: 'dropGoals',
7035
7063
  drop_goal_misses: 'dropGoalMisses',
7064
+ drop_goal_shots: 'dropGoalShots',
7065
+ drop_goals_percent: 'dropGoalsPercent',
7036
7066
  free_kicks: 'freeKicks',
7037
7067
  yellow_cards: 'yellowCards',
7038
7068
  red_cards: 'redCards',
@@ -7052,6 +7082,43 @@ var RugbyGameStatistic = /** @class */ (function (_super) {
7052
7082
  return RugbyGameStatistic;
7053
7083
  }(BaseModel));
7054
7084
 
7085
+ var RugbyFoulSanctions;
7086
+ (function (RugbyFoulSanctions) {
7087
+ RugbyFoulSanctions[RugbyFoulSanctions["scrum"] = 1] = "scrum";
7088
+ RugbyFoulSanctions[RugbyFoulSanctions["lineout"] = 2] = "lineout";
7089
+ RugbyFoulSanctions[RugbyFoulSanctions["free_kick"] = 3] = "free_kick";
7090
+ RugbyFoulSanctions[RugbyFoulSanctions["penalty_shot"] = 4] = "penalty_shot";
7091
+ RugbyFoulSanctions[RugbyFoulSanctions["yellow_card"] = 5] = "yellow_card";
7092
+ RugbyFoulSanctions[RugbyFoulSanctions["red_card"] = 6] = "red_card";
7093
+ })(RugbyFoulSanctions || (RugbyFoulSanctions = {}));
7094
+ var RugbyFoulType = /** @class */ (function (_super) {
7095
+ __extends(RugbyFoulType, _super);
7096
+ function RugbyFoulType() {
7097
+ return _super !== null && _super.apply(this, arguments) || this;
7098
+ }
7099
+ RugbyFoulType.toFront = function (data) { };
7100
+ RugbyFoulType.toBack = function (data) { };
7101
+ __decorate([
7102
+ ToFrontHook
7103
+ ], RugbyFoulType, "toFront", null);
7104
+ __decorate([
7105
+ ToBackHook
7106
+ ], RugbyFoulType, "toBack", null);
7107
+ RugbyFoulType = __decorate([
7108
+ ModelInstance({
7109
+ mappingFields: {
7110
+ id: 'id',
7111
+ name: 'name',
7112
+ sanction: 'sanction',
7113
+ },
7114
+ relation: {
7115
+ sanction: listField(enumField(RugbyFoulSanctions))
7116
+ }
7117
+ })
7118
+ ], RugbyFoulType);
7119
+ return RugbyFoulType;
7120
+ }(BaseModel));
7121
+
7055
7122
  var _a$1;
7056
7123
  var RugbyGameLogTypes;
7057
7124
  (function (RugbyGameLogTypes) {
@@ -7067,27 +7134,32 @@ var RugbyGameLogTypes;
7067
7134
  RugbyGameLogTypes[RugbyGameLogTypes["drop_goal"] = 10] = "drop_goal";
7068
7135
  RugbyGameLogTypes[RugbyGameLogTypes["drop_goal_miss"] = 11] = "drop_goal_miss";
7069
7136
  RugbyGameLogTypes[RugbyGameLogTypes["free_kick"] = 12] = "free_kick";
7070
- RugbyGameLogTypes[RugbyGameLogTypes["yellow_card"] = 13] = "yellow_card";
7071
- RugbyGameLogTypes[RugbyGameLogTypes["red_card"] = 14] = "red_card";
7072
- RugbyGameLogTypes[RugbyGameLogTypes["offload"] = 15] = "offload";
7073
- RugbyGameLogTypes[RugbyGameLogTypes["tackle"] = 16] = "tackle";
7074
- RugbyGameLogTypes[RugbyGameLogTypes["out"] = 17] = "out";
7075
- RugbyGameLogTypes[RugbyGameLogTypes["handling_error"] = 18] = "handling_error";
7076
- RugbyGameLogTypes[RugbyGameLogTypes["carries_other_gainline"] = 19] = "carries_other_gainline";
7137
+ RugbyGameLogTypes[RugbyGameLogTypes["foul"] = 13] = "foul";
7138
+ RugbyGameLogTypes[RugbyGameLogTypes["yellow_card"] = 14] = "yellow_card";
7139
+ RugbyGameLogTypes[RugbyGameLogTypes["red_card"] = 15] = "red_card";
7140
+ RugbyGameLogTypes[RugbyGameLogTypes["offload"] = 16] = "offload";
7141
+ RugbyGameLogTypes[RugbyGameLogTypes["tackle"] = 17] = "tackle";
7142
+ RugbyGameLogTypes[RugbyGameLogTypes["out"] = 18] = "out";
7143
+ RugbyGameLogTypes[RugbyGameLogTypes["handling_error"] = 19] = "handling_error";
7144
+ RugbyGameLogTypes[RugbyGameLogTypes["carries_other_gainline"] = 20] = "carries_other_gainline";
7145
+ RugbyGameLogTypes[RugbyGameLogTypes["bleeding_injury"] = 21] = "bleeding_injury";
7146
+ RugbyGameLogTypes[RugbyGameLogTypes["head_injury"] = 22] = "head_injury";
7147
+ RugbyGameLogTypes[RugbyGameLogTypes["end_game_penalty_miss"] = 23] = "end_game_penalty_miss";
7148
+ RugbyGameLogTypes[RugbyGameLogTypes["end_game_penalty_goal"] = 24] = "end_game_penalty_goal";
7077
7149
  // team actions
7078
- RugbyGameLogTypes[RugbyGameLogTypes["timeout"] = 20] = "timeout";
7079
- RugbyGameLogTypes[RugbyGameLogTypes["scrum_won"] = 21] = "scrum_won";
7080
- RugbyGameLogTypes[RugbyGameLogTypes["scrum_lose"] = 22] = "scrum_lose";
7081
- RugbyGameLogTypes[RugbyGameLogTypes["scrum_won_free"] = 23] = "scrum_won_free";
7082
- RugbyGameLogTypes[RugbyGameLogTypes["lineout_success"] = 24] = "lineout_success";
7083
- RugbyGameLogTypes[RugbyGameLogTypes["lineout_loss"] = 25] = "lineout_loss";
7084
- RugbyGameLogTypes[RugbyGameLogTypes["lineout_steal"] = 26] = "lineout_steal";
7085
- RugbyGameLogTypes[RugbyGameLogTypes["quick_throw"] = 27] = "quick_throw";
7086
- RugbyGameLogTypes[RugbyGameLogTypes["ruck_won"] = 28] = "ruck_won";
7087
- RugbyGameLogTypes[RugbyGameLogTypes["ruck_lose"] = 29] = "ruck_lose";
7088
- RugbyGameLogTypes[RugbyGameLogTypes["maul_won"] = 30] = "maul_won";
7089
- RugbyGameLogTypes[RugbyGameLogTypes["maul_lose"] = 31] = "maul_lose";
7090
- RugbyGameLogTypes[RugbyGameLogTypes["team_foul"] = 32] = "team_foul";
7150
+ RugbyGameLogTypes[RugbyGameLogTypes["timeout"] = 25] = "timeout";
7151
+ RugbyGameLogTypes[RugbyGameLogTypes["scrum_won"] = 26] = "scrum_won";
7152
+ RugbyGameLogTypes[RugbyGameLogTypes["scrum_lose"] = 27] = "scrum_lose";
7153
+ RugbyGameLogTypes[RugbyGameLogTypes["scrum_won_free"] = 28] = "scrum_won_free";
7154
+ RugbyGameLogTypes[RugbyGameLogTypes["lineout_success"] = 29] = "lineout_success";
7155
+ RugbyGameLogTypes[RugbyGameLogTypes["lineout_loss"] = 30] = "lineout_loss";
7156
+ RugbyGameLogTypes[RugbyGameLogTypes["lineout_steal"] = 31] = "lineout_steal";
7157
+ RugbyGameLogTypes[RugbyGameLogTypes["quick_throw"] = 32] = "quick_throw";
7158
+ RugbyGameLogTypes[RugbyGameLogTypes["ruck_won"] = 33] = "ruck_won";
7159
+ RugbyGameLogTypes[RugbyGameLogTypes["ruck_lose"] = 34] = "ruck_lose";
7160
+ RugbyGameLogTypes[RugbyGameLogTypes["maul_won"] = 35] = "maul_won";
7161
+ RugbyGameLogTypes[RugbyGameLogTypes["maul_lose"] = 36] = "maul_lose";
7162
+ RugbyGameLogTypes[RugbyGameLogTypes["team_foul"] = 37] = "team_foul";
7091
7163
  })(RugbyGameLogTypes || (RugbyGameLogTypes = {}));
7092
7164
  var RUGBY_GAME_LOG_TYPE_POINTS = (_a$1 = {},
7093
7165
  _a$1[RugbyGameLogTypes.penalty_try] = 7,
@@ -7143,7 +7215,7 @@ var RugbyGameLog = /** @class */ (function (_super) {
7143
7215
  return this.period > log.period;
7144
7216
  };
7145
7217
  RugbyGameLog.prototype.isFoulType = function () {
7146
- return [RugbyGameLogTypes.team_foul, RugbyGameLogTypes.yellow_card, RugbyGameLogTypes.red_card].indexOf(this.logType) > -1;
7218
+ return [RugbyGameLogTypes.team_foul, RugbyGameLogTypes.foul].indexOf(this.logType) > -1;
7147
7219
  };
7148
7220
  RugbyGameLog.prototype.isTeamType = function () {
7149
7221
  return RUGBY_TEAM_LOG_TYPES.includes(this.logType);
@@ -7161,6 +7233,7 @@ var RugbyGameLog = /** @class */ (function (_super) {
7161
7233
  mappingFields: {
7162
7234
  id: 'id',
7163
7235
  unique_id: 'uniqueId',
7236
+ group: 'group',
7164
7237
  game_id: 'gameId',
7165
7238
  game_user_id: 'gameUserId',
7166
7239
  team_id: 'teamId',
@@ -7170,11 +7243,14 @@ var RugbyGameLog = /** @class */ (function (_super) {
7170
7243
  period: 'period',
7171
7244
  active: 'active',
7172
7245
  is_highlight: 'isHighlight',
7173
- penalty_type: 'penaltyType',
7246
+ foul_type: 'foulType',
7247
+ foul_sanction: 'foulSanction',
7174
7248
  },
7175
7249
  relation: {
7176
7250
  datetime: DateTimeField,
7177
- logType: enumField(RugbyGameLogTypes)
7251
+ logType: enumField(RugbyGameLogTypes),
7252
+ foulType: RugbyFoulType,
7253
+ foulSanction: enumField(RugbyFoulSanctions),
7178
7254
  }
7179
7255
  })
7180
7256
  ], RugbyGameLog);
@@ -7217,6 +7293,23 @@ var RugbyGameApi = /** @class */ (function (_super) {
7217
7293
  });
7218
7294
  });
7219
7295
  };
7296
+ RugbyGameApi.prototype.getFoulTypes = function () {
7297
+ return __awaiter(this, void 0, void 0, function () {
7298
+ return __generator(this, function (_a) {
7299
+ return [2 /*return*/, this.httpClient.get(this.configService.get('apiUrl') + "/api/v1/tournament_rugby_game/foul_types/").pipe(map(function (result) { return RugbyFoulType.toFront(result); })).toPromise()];
7300
+ });
7301
+ });
7302
+ };
7303
+ RugbyGameApi.prototype.downloadProtocol = function (gameId) {
7304
+ return __awaiter(this, void 0, void 0, function () {
7305
+ return __generator(this, function (_a) {
7306
+ return [2 /*return*/, this.httpClient.get(this.configService.get('apiUrl') + "/api/v1/tournament_rugby_game/" + gameId + "/game_protocol/", {
7307
+ params: new HttpParams().set('file_type', 'pdf'),
7308
+ responseType: 'blob'
7309
+ }).toPromise()];
7310
+ });
7311
+ });
7312
+ };
7220
7313
  RugbyGameApi.ctorParameters = function () { return [
7221
7314
  { type: HttpClient },
7222
7315
  { type: ConfigService }
@@ -9048,63 +9141,78 @@ var OvertimeTypeLocalization = (_a$6 = {},
9048
9141
  _a$6);
9049
9142
 
9050
9143
  var _a$7;
9051
- var RugbyGameLogTypeLocalization = (_a$7 = {},
9052
- _a$7[RugbyGameLogTypes.enter_game] = 'Выход на площадку',
9053
- _a$7[RugbyGameLogTypes.exit_game] = 'Ушел с площадки',
9054
- _a$7[RugbyGameLogTypes.try] = 'Попытка',
9055
- _a$7[RugbyGameLogTypes.penalty_try] = 'Штрафная попытка',
9056
- _a$7[RugbyGameLogTypes.conversion_goal] = 'Реализация',
9057
- _a$7[RugbyGameLogTypes.conversion_miss] = 'Реализация промах',
9058
- _a$7[RugbyGameLogTypes.drawing_ball] = 'Розыгрыш мяча',
9059
- _a$7[RugbyGameLogTypes.penalty_miss] = 'Штрафной промах',
9060
- _a$7[RugbyGameLogTypes.penalty_goal] = 'Штрафной гол',
9061
- _a$7[RugbyGameLogTypes.drop_goal] = 'Дроп-гол',
9062
- _a$7[RugbyGameLogTypes.drop_goal_miss] = 'Дроп-гол промах',
9063
- _a$7[RugbyGameLogTypes.free_kick] = 'Свободный удар',
9064
- _a$7[RugbyGameLogTypes.yellow_card] = 'Желтая карточка',
9065
- _a$7[RugbyGameLogTypes.red_card] = 'Красная карточка',
9066
- _a$7[RugbyGameLogTypes.offload] = 'Скидка при завхвате',
9067
- _a$7[RugbyGameLogTypes.tackle] = 'Успешный захват',
9068
- _a$7[RugbyGameLogTypes.out] = 'Аут',
9069
- _a$7[RugbyGameLogTypes.handling_error] = 'Ошибка приема',
9070
- _a$7[RugbyGameLogTypes.carries_other_gainline] = 'Прорыв линии',
9071
- _a$7[RugbyGameLogTypes.timeout] = 'Таймаут',
9072
- _a$7[RugbyGameLogTypes.scrum_won] = 'Свахтка выиграна',
9073
- _a$7[RugbyGameLogTypes.scrum_lose] = 'Схватка проиграна',
9074
- _a$7[RugbyGameLogTypes.scrum_won_free] = 'Схватка выиграна без сопротивления',
9075
- _a$7[RugbyGameLogTypes.lineout_success] = 'Корридор выиграно',
9076
- _a$7[RugbyGameLogTypes.lineout_loss] = 'Корридор потеря',
9077
- _a$7[RugbyGameLogTypes.lineout_steal] = 'Корридор перехват',
9078
- _a$7[RugbyGameLogTypes.quick_throw] = 'Быстрый вброс',
9079
- _a$7[RugbyGameLogTypes.ruck_won] = 'Рак выиграно',
9080
- _a$7[RugbyGameLogTypes.ruck_lose] = 'Рак проиграно',
9081
- _a$7[RugbyGameLogTypes.maul_won] = 'Мол выиграно',
9082
- _a$7[RugbyGameLogTypes.maul_lose] = 'Мол проиграно',
9083
- _a$7[RugbyGameLogTypes.team_foul] = 'Фол',
9144
+ var RugbyFoulSanctionLocalization = (_a$7 = {},
9145
+ _a$7[RugbyFoulSanctions.scrum] = 'Схватка',
9146
+ _a$7[RugbyFoulSanctions.lineout] = 'Корридор',
9147
+ _a$7[RugbyFoulSanctions.free_kick] = 'Свободный удар',
9148
+ _a$7[RugbyFoulSanctions.penalty_shot] = 'Штрафной удар',
9149
+ _a$7[RugbyFoulSanctions.yellow_card] = 'Желтая карточка',
9150
+ _a$7[RugbyFoulSanctions.red_card] = 'Красная карточка',
9084
9151
  _a$7);
9085
9152
 
9086
9153
  var _a$8;
9087
- var TeamUserRoleLocalization = (_a$8 = {},
9088
- _a$8[TeamUserRole.member] = 'Пользователь',
9089
- _a$8[TeamUserRole.moderator] = 'Модератор',
9090
- _a$8[TeamUserRole.admin] = 'Владелец',
9091
- _a$8[TeamUserRole.coach] = 'Тренер',
9092
- _a$8[TeamUserRole.head_coach] = 'Главный тренер',
9093
- _a$8[TeamUserRole.playing_coach] = 'Играющий тренер',
9094
- _a$8[TeamUserRole.manager] = 'Менеджер',
9095
- _a$8[TeamUserRole.head_manager] = 'Генеральный менеджер',
9096
- _a$8[TeamUserRole.captain] = 'Капитан',
9097
- _a$8[TeamUserRole.assistant] = 'Ассистент',
9154
+ var RugbyGameLogTypeLocalization = (_a$8 = {},
9155
+ _a$8[RugbyGameLogTypes.enter_game] = 'Выход на площадку',
9156
+ _a$8[RugbyGameLogTypes.exit_game] = 'Ушел с площадки',
9157
+ _a$8[RugbyGameLogTypes.try] = 'Попытка',
9158
+ _a$8[RugbyGameLogTypes.penalty_try] = 'Штрафная попытка',
9159
+ _a$8[RugbyGameLogTypes.conversion_goal] = 'Реализация',
9160
+ _a$8[RugbyGameLogTypes.conversion_miss] = 'Реализация промах',
9161
+ _a$8[RugbyGameLogTypes.drawing_ball] = 'Розыгрыш мяча',
9162
+ _a$8[RugbyGameLogTypes.penalty_miss] = 'Штрафной промах',
9163
+ _a$8[RugbyGameLogTypes.penalty_goal] = 'Штрафной гол',
9164
+ _a$8[RugbyGameLogTypes.drop_goal] = 'Дроп-гол',
9165
+ _a$8[RugbyGameLogTypes.drop_goal_miss] = 'Дроп-гол промах',
9166
+ _a$8[RugbyGameLogTypes.free_kick] = 'Свободный удар',
9167
+ _a$8[RugbyGameLogTypes.foul] = 'Фол',
9168
+ _a$8[RugbyGameLogTypes.yellow_card] = 'Желтая карточка',
9169
+ _a$8[RugbyGameLogTypes.red_card] = 'Красная карточка',
9170
+ _a$8[RugbyGameLogTypes.offload] = 'Скидка при завхвате',
9171
+ _a$8[RugbyGameLogTypes.tackle] = 'Успешный захват',
9172
+ _a$8[RugbyGameLogTypes.out] = 'Аут',
9173
+ _a$8[RugbyGameLogTypes.handling_error] = 'Ошибка приема',
9174
+ _a$8[RugbyGameLogTypes.carries_other_gainline] = 'Прорыв линии',
9175
+ _a$8[RugbyGameLogTypes.bleeding_injury] = 'Кровоточащая травма',
9176
+ _a$8[RugbyGameLogTypes.head_injury] = 'Травма головы',
9177
+ _a$8[RugbyGameLogTypes.end_game_penalty_miss] = 'Штрафной промах',
9178
+ _a$8[RugbyGameLogTypes.end_game_penalty_goal] = 'Штрафной гол',
9179
+ _a$8[RugbyGameLogTypes.timeout] = 'Таймаут',
9180
+ _a$8[RugbyGameLogTypes.scrum_won] = 'Свахтка выиграна',
9181
+ _a$8[RugbyGameLogTypes.scrum_lose] = 'Схватка проиграна',
9182
+ _a$8[RugbyGameLogTypes.scrum_won_free] = 'Схватка выиграна без сопротивления',
9183
+ _a$8[RugbyGameLogTypes.lineout_success] = 'Корридор выиграно',
9184
+ _a$8[RugbyGameLogTypes.lineout_loss] = 'Корридор потеря',
9185
+ _a$8[RugbyGameLogTypes.lineout_steal] = 'Корридор перехват',
9186
+ _a$8[RugbyGameLogTypes.quick_throw] = 'Быстрый вброс',
9187
+ _a$8[RugbyGameLogTypes.ruck_won] = 'Рак выиграно',
9188
+ _a$8[RugbyGameLogTypes.ruck_lose] = 'Рак проиграно',
9189
+ _a$8[RugbyGameLogTypes.maul_won] = 'Мол выиграно',
9190
+ _a$8[RugbyGameLogTypes.maul_lose] = 'Мол проиграно',
9191
+ _a$8[RugbyGameLogTypes.team_foul] = 'Фол',
9098
9192
  _a$8);
9099
9193
 
9100
- var _a$9, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
9101
- var GameBasketballPositionLocalization = (_a$9 = {},
9102
- _a$9[GameBasketballPosition.point_guard] = 'Разыгрывающий защитник',
9103
- _a$9[GameBasketballPosition.shooting_guard] = 'Атакующий защитник',
9104
- _a$9[GameBasketballPosition.small_forward] = 'Легкий форвард',
9105
- _a$9[GameBasketballPosition.power_forward] = 'Мощный форвард',
9106
- _a$9[GameBasketballPosition.center] = 'Центровой',
9194
+ var _a$9;
9195
+ var TeamUserRoleLocalization = (_a$9 = {},
9196
+ _a$9[TeamUserRole.member] = 'Пользователь',
9197
+ _a$9[TeamUserRole.moderator] = 'Модератор',
9198
+ _a$9[TeamUserRole.admin] = 'Владелец',
9199
+ _a$9[TeamUserRole.coach] = 'Тренер',
9200
+ _a$9[TeamUserRole.head_coach] = 'Главный тренер',
9201
+ _a$9[TeamUserRole.playing_coach] = 'Играющий тренер',
9202
+ _a$9[TeamUserRole.manager] = 'Менеджер',
9203
+ _a$9[TeamUserRole.head_manager] = 'Генеральный менеджер',
9204
+ _a$9[TeamUserRole.captain] = 'Капитан',
9205
+ _a$9[TeamUserRole.assistant] = 'Ассистент',
9107
9206
  _a$9);
9207
+
9208
+ var _a$a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
9209
+ var GameBasketballPositionLocalization = (_a$a = {},
9210
+ _a$a[GameBasketballPosition.point_guard] = 'Разыгрывающий защитник',
9211
+ _a$a[GameBasketballPosition.shooting_guard] = 'Атакующий защитник',
9212
+ _a$a[GameBasketballPosition.small_forward] = 'Легкий форвард',
9213
+ _a$a[GameBasketballPosition.power_forward] = 'Мощный форвард',
9214
+ _a$a[GameBasketballPosition.center] = 'Центровой',
9215
+ _a$a);
9108
9216
  var GameBasketballPositionShortLocalization = (_b = {},
9109
9217
  _b[GameBasketballPosition.point_guard] = 'PG',
9110
9218
  _b[GameBasketballPosition.shooting_guard] = 'SG',
@@ -9173,31 +9281,31 @@ var GameRugbyPositionLocalization = (_m = {},
9173
9281
  _m[GameRugbyPosition.fullback] = 'Замыкающий',
9174
9282
  _m);
9175
9283
 
9176
- var _a$a;
9177
- var VolleyballGameLogTypeLocalization = (_a$a = {},
9178
- _a$a[VolleyballGameLogType.enter_game] = 'Выход на площадку',
9179
- _a$a[VolleyballGameLogType.exit_game] = 'Уход с площадки',
9180
- _a$a[VolleyballGameLogType.remove_game] = 'Удаление с площадки',
9181
- _a$a[VolleyballGameLogType.serve_ace] = 'Эйс',
9182
- _a$a[VolleyballGameLogType.serve_hit] = 'Подача',
9183
- _a$a[VolleyballGameLogType.serve_fault] = 'Ошибка на подаче',
9184
- _a$a[VolleyballGameLogType.attack_spike] = 'Результативная атака',
9185
- _a$a[VolleyballGameLogType.attack_shot] = 'Атака',
9186
- _a$a[VolleyballGameLogType.attack_fault] = 'Ошибка атаки',
9187
- _a$a[VolleyballGameLogType.stuff_block] = 'Результативный блок',
9188
- _a$a[VolleyballGameLogType.block_rebound] = 'Блок',
9189
- _a$a[VolleyballGameLogType.block_fault] = 'Ошибка на блоке',
9190
- _a$a[VolleyballGameLogType.excellent_receive] = 'Отличный прием',
9191
- _a$a[VolleyballGameLogType.receive] = 'Прием',
9192
- _a$a[VolleyballGameLogType.receive_fault] = 'Ошибка на приеме',
9193
- _a$a[VolleyballGameLogType.serve_receive] = 'Прием подачи',
9194
- _a$a[VolleyballGameLogType.excellent_serve_receive] = 'Отличный прием подачи',
9195
- _a$a[VolleyballGameLogType.serve_receive_fault] = 'Ошибка приема подачи',
9196
- _a$a[VolleyballGameLogType.point] = 'Очко',
9197
- _a$a[VolleyballGameLogType.fault] = 'Ошибка',
9198
- _a$a[VolleyballGameLogType.timeout] = 'Таймаут',
9199
- _a$a[VolleyballGameLogType.yellow_card] = 'Предупреждение',
9200
- _a$a);
9284
+ var _a$b;
9285
+ var VolleyballGameLogTypeLocalization = (_a$b = {},
9286
+ _a$b[VolleyballGameLogType.enter_game] = 'Выход на площадку',
9287
+ _a$b[VolleyballGameLogType.exit_game] = 'Уход с площадки',
9288
+ _a$b[VolleyballGameLogType.remove_game] = 'Удаление с площадки',
9289
+ _a$b[VolleyballGameLogType.serve_ace] = 'Эйс',
9290
+ _a$b[VolleyballGameLogType.serve_hit] = 'Подача',
9291
+ _a$b[VolleyballGameLogType.serve_fault] = 'Ошибка на подаче',
9292
+ _a$b[VolleyballGameLogType.attack_spike] = 'Результативная атака',
9293
+ _a$b[VolleyballGameLogType.attack_shot] = 'Атака',
9294
+ _a$b[VolleyballGameLogType.attack_fault] = 'Ошибка атаки',
9295
+ _a$b[VolleyballGameLogType.stuff_block] = 'Результативный блок',
9296
+ _a$b[VolleyballGameLogType.block_rebound] = 'Блок',
9297
+ _a$b[VolleyballGameLogType.block_fault] = 'Ошибка на блоке',
9298
+ _a$b[VolleyballGameLogType.excellent_receive] = 'Отличный прием',
9299
+ _a$b[VolleyballGameLogType.receive] = 'Прием',
9300
+ _a$b[VolleyballGameLogType.receive_fault] = 'Ошибка на приеме',
9301
+ _a$b[VolleyballGameLogType.serve_receive] = 'Прием подачи',
9302
+ _a$b[VolleyballGameLogType.excellent_serve_receive] = 'Отличный прием подачи',
9303
+ _a$b[VolleyballGameLogType.serve_receive_fault] = 'Ошибка приема подачи',
9304
+ _a$b[VolleyballGameLogType.point] = 'Очко',
9305
+ _a$b[VolleyballGameLogType.fault] = 'Ошибка',
9306
+ _a$b[VolleyballGameLogType.timeout] = 'Таймаут',
9307
+ _a$b[VolleyballGameLogType.yellow_card] = 'Предупреждение',
9308
+ _a$b);
9201
9309
 
9202
9310
  var LeaguePlaylist = /** @class */ (function (_super) {
9203
9311
  __extends(LeaguePlaylist, _super);
@@ -9648,5 +9756,5 @@ var HttpCookieInterceptor = /** @class */ (function () {
9648
9756
  * Generated bundle index. Do not edit.
9649
9757
  */
9650
9758
 
9651
- export { BannerLocation, BaseModel, BaseService, BasketballGameApi, BasketballGameConfig, BasketballGameLog, BasketballGameLogTypeLocalization, BasketballGameLogTypes, BasketballGameStatistic, BasketballGameTeamStatistic, BasketballProfile, BasketballStatistic, BasketballStatisticTypes, CONFIG_DATA, CentrifugoService, City, ConfigService, DateField, DateTimeField, FAULT_LOG_TYPES, Feedback, FeedbackApi, File, FileApi, FileEngine, FootballGameApi, FootballGameConfig, FootballGameLog, FootballGameLogTypeLocalization, FootballGameLogTypes, FootballGameStatistic, FootballGameTeamStatistic, FootballProfile, FootballStatistic, FootballWorkFoot, FootballWorkFootLocalization, Game, GameBaseApi, GameBasketballPosition, GameBasketballPositionLocalization, GameBasketballPositionShortLocalization, GameFootballPosition, GameFootballPositionLocalization, GameHandballPosition, GameHandballPositionLocalization, GameHockeyPosition, GameHockeyPositionLocalization, GameInvite, GameInviteStatus, GameResultTypes, GameRugbyPosition, GameRugbyPositionLocalization, GameStatuses, GameTimeTypes, GameTimelineStageItem, GameTimelineStages, GameUser, GameUserLimitationTypes, GameUserLimitations, GameVolleyballPosition, GameVolleyballPositionLocalization, GameVolleyballPositionShortLocalization, GameVolleyballPositionShortRuLocalization, HandballGameApi, HandballGameConfig, HandballGameLog, HandballGameLogTypeLocalization, HandballGameLogTypes, HandballGameStatistic, HandballGameTeamStatistic, HandballProfile, HandballStatistic, HockeyAdvantageTypes, HockeyGameApi, HockeyGameConfig, HockeyGameLog, HockeyGameLogTypeLocalization, HockeyGameLogTypes, HockeyGameStatistic, HockeyGameTeamStatistic, HockeyPenaltyTypes, HockeyProfile, HockeyStatistic, HockeyWorkHand, HttpCookieInterceptor, League, LeagueApi, LeagueBanner, LeagueCourt, LeagueDocument, LeagueNews, LeagueNewsApi, LeagueNewsType, LeaguePartner, LeaguePlayer, LeaguePlayerApi, LeaguePlaylist, LocalStorageEngine, MODEL_MAPPING_FIELDS_KEY, MODEL_RELATION_KEY, MODEL_TO_BACK_KEY, MODEL_TO_FRONT_KEY, MediaApi, MediaItem, ModelInstance, Notification, NotificationAllowTypes, NotificationApi, NotificationBaseApi, NotificationServiceEnum, NotificationSettings, NotificationType, OrgNotificationApi, Organization, OvertimeTypeLocalization, OvertimeTypes, Playoff, PlayoffSettings, PlayoffTypes, Poll, PollAnswer, PollStatuses, PollVariant, PublicTeamApi, PublicUserApi, RUGBY_GAME_LOG_TYPE_POINTS, RUGBY_TEAM_LOG_TYPES, ReferenceApi, RugbyGameApi, RugbyGameConfig, RugbyGameLog, RugbyGameLogTypeLocalization, RugbyGameLogTypes, RugbyGameStatistic, RugbyGameTeamStatistic, RugbyProfile, RugbyStatistic, SCORE_LOG_TYPES, Sport, SportTypes, StorageEngine, StorageEngineField, Store, Team, TeamAccess, TeamApi, TeamEvent, TeamEventApi, TeamEventInvite, TeamEventInviteStatuses, TeamEventTypeLocalization, TeamEventTypes, TeamInvite, TeamInviteExternal, TeamPermission, TeamPermissionTypes, TeamUser, TeamUserRole, TeamUserRoleLocalization, ToBackHook, ToFrontHook, Tournament, TournamentApi, TournamentDisqualification, TournamentEvent, TournamentEventTypes, TournamentGender, TournamentGroup, TournamentInvite, TournamentJoinApi, TournamentJoinData, TournamentJoinTeam, TournamentNews, TournamentSeason, TournamentSeasonApi, TournamentSeasonStatuses, TournamentSettings, TournamentStage, TournamentStageApi, TournamentStageStatuses, TournamentStageTeam, TournamentStatuses, TournamentTeam, TournamentTeamShort, TournamentTeamUser, TournamentTeamUserInvite, TournamentTeamWinner, TournamentTypes, UntilDestroy, User, UserAccess, UserApi, UserGender, UserPermission, UserPermissionTypes, UserProfile, VolleyballGameApi, VolleyballGameConfig, VolleyballGameLog, VolleyballGameLogType, VolleyballGameLogTypeLocalization, VolleyballGameStatistic, VolleyballGameTeamStatistic, VolleyballGameTypes, VolleyballProfile, VolleyballStatistic, VolleyballStatisticTypes, VolleyballWorkHand, VolleyballWorkHandLocalization, WorkHand, WorkHandLocalization, addItemInArray, applyGameMediaFilters, applyGamesFilters, applyStatisticFilters, applyStatisticLeadersFilters, changeFavicons, componentDestroyed, deleteItemFromArray, enumField, fileSizeValidator, generateArray, getArrayChunks, getCookie, getEnumOptions, getIconsData, handleError, isTouchDevice, listField, markFormGroupTouched, minLengthArrayValidator, patchItemInArray, penaltyTypeField, updateItemInArray, updateItemsInArray, validateDate, validateEmail, validatePhone, validateUrl };
9759
+ export { BannerLocation, BaseModel, BaseService, BasketballGameApi, BasketballGameConfig, BasketballGameLog, BasketballGameLogTypeLocalization, BasketballGameLogTypes, BasketballGameStatistic, BasketballGameTeamStatistic, BasketballProfile, BasketballStatistic, BasketballStatisticTypes, CONFIG_DATA, CentrifugoService, City, ConfigService, DateField, DateTimeField, FAULT_LOG_TYPES, Feedback, FeedbackApi, File, FileApi, FileEngine, FootballGameApi, FootballGameConfig, FootballGameLog, FootballGameLogTypeLocalization, FootballGameLogTypes, FootballGameStatistic, FootballGameTeamStatistic, FootballProfile, FootballStatistic, FootballWorkFoot, FootballWorkFootLocalization, Game, GameBaseApi, GameBasketballPosition, GameBasketballPositionLocalization, GameBasketballPositionShortLocalization, GameFootballPosition, GameFootballPositionLocalization, GameHandballPosition, GameHandballPositionLocalization, GameHockeyPosition, GameHockeyPositionLocalization, GameInvite, GameInviteStatus, GameResultTypes, GameRugbyPosition, GameRugbyPositionLocalization, GameStatuses, GameTimeTypes, GameTimelineStageItem, GameTimelineStages, GameUser, GameUserLimitationTypes, GameUserLimitations, GameVolleyballPosition, GameVolleyballPositionLocalization, GameVolleyballPositionShortLocalization, GameVolleyballPositionShortRuLocalization, HandballGameApi, HandballGameConfig, HandballGameLog, HandballGameLogTypeLocalization, HandballGameLogTypes, HandballGameStatistic, HandballGameTeamStatistic, HandballProfile, HandballStatistic, HockeyAdvantageTypes, HockeyGameApi, HockeyGameConfig, HockeyGameLog, HockeyGameLogTypeLocalization, HockeyGameLogTypes, HockeyGameStatistic, HockeyGameTeamStatistic, HockeyPenaltyTypes, HockeyProfile, HockeyStatistic, HockeyWorkHand, HttpCookieInterceptor, League, LeagueApi, LeagueBanner, LeagueCourt, LeagueDocument, LeagueNews, LeagueNewsApi, LeagueNewsType, LeaguePartner, LeaguePlayer, LeaguePlayerApi, LeaguePlaylist, LocalStorageEngine, MODEL_MAPPING_FIELDS_KEY, MODEL_RELATION_KEY, MODEL_TO_BACK_KEY, MODEL_TO_FRONT_KEY, MediaApi, MediaItem, ModelInstance, Notification, NotificationAllowTypes, NotificationApi, NotificationBaseApi, NotificationServiceEnum, NotificationSettings, NotificationType, OrgNotificationApi, Organization, OvertimeTypeLocalization, OvertimeTypes, Playoff, PlayoffSettings, PlayoffTypes, Poll, PollAnswer, PollStatuses, PollVariant, PublicTeamApi, PublicUserApi, RUGBY_GAME_LOG_TYPE_POINTS, RUGBY_TEAM_LOG_TYPES, ReferenceApi, RugbyFoulSanctionLocalization, RugbyFoulSanctions, RugbyFoulType, RugbyGameApi, RugbyGameConfig, RugbyGameLog, RugbyGameLogTypeLocalization, RugbyGameLogTypes, RugbyGameStatistic, RugbyGameTeamStatistic, RugbyProfile, RugbyStatistic, SCORE_LOG_TYPES, Sport, SportTypes, StorageEngine, StorageEngineField, Store, Team, TeamAccess, TeamApi, TeamEvent, TeamEventApi, TeamEventInvite, TeamEventInviteStatuses, TeamEventTypeLocalization, TeamEventTypes, TeamInvite, TeamInviteExternal, TeamPermission, TeamPermissionTypes, TeamUser, TeamUserRole, TeamUserRoleLocalization, ToBackHook, ToFrontHook, Tournament, TournamentApi, TournamentDisqualification, TournamentEvent, TournamentEventTypes, TournamentGender, TournamentGroup, TournamentInvite, TournamentJoinApi, TournamentJoinData, TournamentJoinTeam, TournamentNews, TournamentSeason, TournamentSeasonApi, TournamentSeasonStatuses, TournamentSettings, TournamentStage, TournamentStageApi, TournamentStageStatuses, TournamentStageTeam, TournamentStatuses, TournamentTeam, TournamentTeamShort, TournamentTeamUser, TournamentTeamUserInvite, TournamentTeamWinner, TournamentTypes, UntilDestroy, User, UserAccess, UserApi, UserGender, UserPermission, UserPermissionTypes, UserProfile, VolleyballGameApi, VolleyballGameConfig, VolleyballGameLog, VolleyballGameLogType, VolleyballGameLogTypeLocalization, VolleyballGameStatistic, VolleyballGameTeamStatistic, VolleyballGameTypes, VolleyballProfile, VolleyballStatistic, VolleyballStatisticTypes, VolleyballWorkHand, VolleyballWorkHandLocalization, WorkHand, WorkHandLocalization, addItemInArray, applyGameMediaFilters, applyGamesFilters, applyStatisticFilters, applyStatisticLeadersFilters, changeFavicons, componentDestroyed, deleteItemFromArray, enumField, fileSizeValidator, generateArray, getArrayChunks, getCookie, getEnumOptions, getIconsData, handleError, isTouchDevice, listField, markFormGroupTouched, minLengthArrayValidator, patchItemInArray, penaltyTypeField, updateItemInArray, updateItemsInArray, validateDate, validateEmail, validatePhone, validateUrl };
9652
9760
  //# sourceMappingURL=mtgame-core.js.map