@mtgame/core 0.1.41 → 0.1.42
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/api/game-base-api.d.ts +1 -0
- package/api/rugby-game-api.d.ts +3 -0
- package/bundles/mtgame-core.umd.js +191 -99
- package/bundles/mtgame-core.umd.js.map +1 -1
- package/bundles/mtgame-core.umd.min.js +1 -1
- package/bundles/mtgame-core.umd.min.js.map +1 -1
- package/esm2015/api/game-base-api.js +10 -2
- package/esm2015/api/rugby-game-api.js +16 -2
- package/esm2015/localization/public-api.js +2 -1
- package/esm2015/localization/rugby-foul-sanction.js +10 -0
- package/esm2015/localization/rugby-game-log-types.js +4 -1
- package/esm2015/models/public-api.js +2 -1
- package/esm2015/models/rugby-foul-type.js +35 -0
- package/esm2015/models/rugby-game-log.js +32 -24
- package/esm2015/models/rugby-game-statistic.js +7 -1
- package/esm5/api/game-base-api.js +12 -2
- package/esm5/api/rugby-game-api.js +20 -2
- package/esm5/localization/public-api.js +2 -1
- package/esm5/localization/rugby-foul-sanction.js +11 -0
- package/esm5/localization/rugby-game-log-types.js +4 -1
- package/esm5/models/public-api.js +2 -1
- package/esm5/models/rugby-foul-type.js +40 -0
- package/esm5/models/rugby-game-log.js +32 -24
- package/esm5/models/rugby-game-statistic.js +7 -1
- package/fesm2015/mtgame-core.js +103 -25
- package/fesm2015/mtgame-core.js.map +1 -1
- package/fesm5/mtgame-core.js +191 -101
- package/fesm5/mtgame-core.js.map +1 -1
- package/localization/public-api.d.ts +1 -0
- package/localization/rugby-foul-sanction.d.ts +9 -0
- package/localization/rugby-game-log-types.d.ts +3 -0
- package/models/public-api.d.ts +1 -0
- package/models/rugby-foul-type.d.ts +16 -0
- package/models/rugby-game-log.d.ts +27 -21
- package/models/rugby-game-statistic.d.ts +6 -0
- package/mtgame-core.metadata.json +1 -1
- package/package.json +1 -1
package/api/game-base-api.d.ts
CHANGED
|
@@ -9,4 +9,5 @@ export declare class GameBaseApi {
|
|
|
9
9
|
getUsers(gameId: number): Promise<GameUser[]>;
|
|
10
10
|
getMvp(gameId: number): Promise<GameUser[]>;
|
|
11
11
|
getUsersLimitation(gameId: number): Promise<GameUserLimitations[]>;
|
|
12
|
+
downloadApplication(gameId: number, format: 'pdf' | 'xlsx' | 'html', type: 'game_user' | 'tournament_user'): Promise<any>;
|
|
12
13
|
}
|
package/api/rugby-game-api.d.ts
CHANGED
|
@@ -5,6 +5,7 @@ import { GameBaseApi } from './game-base-api';
|
|
|
5
5
|
import { RugbyGameTeamStatistic } from '../models/rugby-game-team-statistic';
|
|
6
6
|
import { RugbyGameStatistic } from '../models/rugby-game-statistic';
|
|
7
7
|
import { RugbyGameLog } from '../models/rugby-game-log';
|
|
8
|
+
import { RugbyFoulType } from '../models/rugby-foul-type';
|
|
8
9
|
export declare class RugbyGameApi extends GameBaseApi {
|
|
9
10
|
protected httpClient: HttpClient;
|
|
10
11
|
protected configService: ConfigService;
|
|
@@ -13,4 +14,6 @@ export declare class RugbyGameApi extends GameBaseApi {
|
|
|
13
14
|
getTeamStatistic(gameId: number): Promise<RugbyGameTeamStatistic>;
|
|
14
15
|
getUserStatistic(gameId: number): Promise<RugbyGameStatistic[]>;
|
|
15
16
|
getLogs(gameId: number): Promise<RugbyGameLog[]>;
|
|
17
|
+
getFoulTypes(): Promise<RugbyFoulType>;
|
|
18
|
+
downloadProtocol(gameId: number): Promise<any>;
|
|
16
19
|
}
|
|
@@ -3170,6 +3170,16 @@
|
|
|
3170
3170
|
});
|
|
3171
3171
|
});
|
|
3172
3172
|
};
|
|
3173
|
+
GameBaseApi.prototype.downloadApplication = function (gameId, format, type) {
|
|
3174
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
3175
|
+
return __generator(this, function (_a) {
|
|
3176
|
+
return [2 /*return*/, this.httpClient.get(this.configService.get('apiUrl') + "/api/v1/tournament_game/" + gameId + "/game_application/", {
|
|
3177
|
+
params: new http.HttpParams().set('file_type', format).set('application_type', type),
|
|
3178
|
+
responseType: 'blob'
|
|
3179
|
+
}).toPromise()];
|
|
3180
|
+
});
|
|
3181
|
+
});
|
|
3182
|
+
};
|
|
3173
3183
|
GameBaseApi.ctorParameters = function () { return [
|
|
3174
3184
|
{ type: http.HttpClient },
|
|
3175
3185
|
{ type: ConfigService }
|
|
@@ -7241,11 +7251,17 @@
|
|
|
7241
7251
|
penalty_tries: 'penaltyTries',
|
|
7242
7252
|
conversion_goals: 'conversionGoals',
|
|
7243
7253
|
conversion_misses: 'conversionMisses',
|
|
7254
|
+
conversion_shots: 'conversionShots',
|
|
7255
|
+
conversion_goals_percent: 'conversionGoalsPercent',
|
|
7244
7256
|
drawing_ball: 'drawingBall',
|
|
7245
7257
|
penalty_misses: 'penaltyMisses',
|
|
7246
7258
|
penalty_goals: 'penaltyGoals',
|
|
7259
|
+
penalty_shots: 'penaltyShots',
|
|
7260
|
+
penalty_goals_percent: 'penaltyGoalsPercent',
|
|
7247
7261
|
drop_goals: 'dropGoals',
|
|
7248
7262
|
drop_goal_misses: 'dropGoalMisses',
|
|
7263
|
+
drop_goal_shots: 'dropGoalShots',
|
|
7264
|
+
drop_goals_percent: 'dropGoalsPercent',
|
|
7249
7265
|
free_kicks: 'freeKicks',
|
|
7250
7266
|
yellow_cards: 'yellowCards',
|
|
7251
7267
|
red_cards: 'redCards',
|
|
@@ -7265,6 +7281,43 @@
|
|
|
7265
7281
|
return RugbyGameStatistic;
|
|
7266
7282
|
}(BaseModel));
|
|
7267
7283
|
|
|
7284
|
+
|
|
7285
|
+
(function (RugbyFoulSanctions) {
|
|
7286
|
+
RugbyFoulSanctions[RugbyFoulSanctions["scrum"] = 1] = "scrum";
|
|
7287
|
+
RugbyFoulSanctions[RugbyFoulSanctions["lineout"] = 2] = "lineout";
|
|
7288
|
+
RugbyFoulSanctions[RugbyFoulSanctions["free_kick"] = 3] = "free_kick";
|
|
7289
|
+
RugbyFoulSanctions[RugbyFoulSanctions["penalty_shot"] = 4] = "penalty_shot";
|
|
7290
|
+
RugbyFoulSanctions[RugbyFoulSanctions["yellow_card"] = 5] = "yellow_card";
|
|
7291
|
+
RugbyFoulSanctions[RugbyFoulSanctions["red_card"] = 6] = "red_card";
|
|
7292
|
+
})(exports.RugbyFoulSanctions || (exports.RugbyFoulSanctions = {}));
|
|
7293
|
+
var RugbyFoulType = /** @class */ (function (_super) {
|
|
7294
|
+
__extends(RugbyFoulType, _super);
|
|
7295
|
+
function RugbyFoulType() {
|
|
7296
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
7297
|
+
}
|
|
7298
|
+
RugbyFoulType.toFront = function (data) { };
|
|
7299
|
+
RugbyFoulType.toBack = function (data) { };
|
|
7300
|
+
__decorate([
|
|
7301
|
+
ToFrontHook
|
|
7302
|
+
], RugbyFoulType, "toFront", null);
|
|
7303
|
+
__decorate([
|
|
7304
|
+
ToBackHook
|
|
7305
|
+
], RugbyFoulType, "toBack", null);
|
|
7306
|
+
RugbyFoulType = __decorate([
|
|
7307
|
+
ModelInstance({
|
|
7308
|
+
mappingFields: {
|
|
7309
|
+
id: 'id',
|
|
7310
|
+
name: 'name',
|
|
7311
|
+
sanction: 'sanction',
|
|
7312
|
+
},
|
|
7313
|
+
relation: {
|
|
7314
|
+
sanction: listField(enumField(exports.RugbyFoulSanctions))
|
|
7315
|
+
}
|
|
7316
|
+
})
|
|
7317
|
+
], RugbyFoulType);
|
|
7318
|
+
return RugbyFoulType;
|
|
7319
|
+
}(BaseModel));
|
|
7320
|
+
|
|
7268
7321
|
var _a$1;
|
|
7269
7322
|
|
|
7270
7323
|
(function (RugbyGameLogTypes) {
|
|
@@ -7280,27 +7333,30 @@
|
|
|
7280
7333
|
RugbyGameLogTypes[RugbyGameLogTypes["drop_goal"] = 10] = "drop_goal";
|
|
7281
7334
|
RugbyGameLogTypes[RugbyGameLogTypes["drop_goal_miss"] = 11] = "drop_goal_miss";
|
|
7282
7335
|
RugbyGameLogTypes[RugbyGameLogTypes["free_kick"] = 12] = "free_kick";
|
|
7283
|
-
RugbyGameLogTypes[RugbyGameLogTypes["
|
|
7284
|
-
RugbyGameLogTypes[RugbyGameLogTypes["
|
|
7285
|
-
RugbyGameLogTypes[RugbyGameLogTypes["
|
|
7286
|
-
RugbyGameLogTypes[RugbyGameLogTypes["
|
|
7287
|
-
RugbyGameLogTypes[RugbyGameLogTypes["
|
|
7288
|
-
RugbyGameLogTypes[RugbyGameLogTypes["
|
|
7289
|
-
RugbyGameLogTypes[RugbyGameLogTypes["
|
|
7336
|
+
RugbyGameLogTypes[RugbyGameLogTypes["foul"] = 13] = "foul";
|
|
7337
|
+
RugbyGameLogTypes[RugbyGameLogTypes["yellow_card"] = 14] = "yellow_card";
|
|
7338
|
+
RugbyGameLogTypes[RugbyGameLogTypes["red_card"] = 15] = "red_card";
|
|
7339
|
+
RugbyGameLogTypes[RugbyGameLogTypes["offload"] = 16] = "offload";
|
|
7340
|
+
RugbyGameLogTypes[RugbyGameLogTypes["tackle"] = 17] = "tackle";
|
|
7341
|
+
RugbyGameLogTypes[RugbyGameLogTypes["out"] = 18] = "out";
|
|
7342
|
+
RugbyGameLogTypes[RugbyGameLogTypes["handling_error"] = 19] = "handling_error";
|
|
7343
|
+
RugbyGameLogTypes[RugbyGameLogTypes["carries_other_gainline"] = 20] = "carries_other_gainline";
|
|
7344
|
+
RugbyGameLogTypes[RugbyGameLogTypes["bleeding_injury"] = 21] = "bleeding_injury";
|
|
7345
|
+
RugbyGameLogTypes[RugbyGameLogTypes["head_injury"] = 22] = "head_injury";
|
|
7290
7346
|
// team actions
|
|
7291
|
-
RugbyGameLogTypes[RugbyGameLogTypes["timeout"] =
|
|
7292
|
-
RugbyGameLogTypes[RugbyGameLogTypes["scrum_won"] =
|
|
7293
|
-
RugbyGameLogTypes[RugbyGameLogTypes["scrum_lose"] =
|
|
7294
|
-
RugbyGameLogTypes[RugbyGameLogTypes["scrum_won_free"] =
|
|
7295
|
-
RugbyGameLogTypes[RugbyGameLogTypes["lineout_success"] =
|
|
7296
|
-
RugbyGameLogTypes[RugbyGameLogTypes["lineout_loss"] =
|
|
7297
|
-
RugbyGameLogTypes[RugbyGameLogTypes["lineout_steal"] =
|
|
7298
|
-
RugbyGameLogTypes[RugbyGameLogTypes["quick_throw"] =
|
|
7299
|
-
RugbyGameLogTypes[RugbyGameLogTypes["ruck_won"] =
|
|
7300
|
-
RugbyGameLogTypes[RugbyGameLogTypes["ruck_lose"] =
|
|
7301
|
-
RugbyGameLogTypes[RugbyGameLogTypes["maul_won"] =
|
|
7302
|
-
RugbyGameLogTypes[RugbyGameLogTypes["maul_lose"] =
|
|
7303
|
-
RugbyGameLogTypes[RugbyGameLogTypes["team_foul"] =
|
|
7347
|
+
RugbyGameLogTypes[RugbyGameLogTypes["timeout"] = 23] = "timeout";
|
|
7348
|
+
RugbyGameLogTypes[RugbyGameLogTypes["scrum_won"] = 24] = "scrum_won";
|
|
7349
|
+
RugbyGameLogTypes[RugbyGameLogTypes["scrum_lose"] = 25] = "scrum_lose";
|
|
7350
|
+
RugbyGameLogTypes[RugbyGameLogTypes["scrum_won_free"] = 26] = "scrum_won_free";
|
|
7351
|
+
RugbyGameLogTypes[RugbyGameLogTypes["lineout_success"] = 27] = "lineout_success";
|
|
7352
|
+
RugbyGameLogTypes[RugbyGameLogTypes["lineout_loss"] = 28] = "lineout_loss";
|
|
7353
|
+
RugbyGameLogTypes[RugbyGameLogTypes["lineout_steal"] = 29] = "lineout_steal";
|
|
7354
|
+
RugbyGameLogTypes[RugbyGameLogTypes["quick_throw"] = 30] = "quick_throw";
|
|
7355
|
+
RugbyGameLogTypes[RugbyGameLogTypes["ruck_won"] = 31] = "ruck_won";
|
|
7356
|
+
RugbyGameLogTypes[RugbyGameLogTypes["ruck_lose"] = 32] = "ruck_lose";
|
|
7357
|
+
RugbyGameLogTypes[RugbyGameLogTypes["maul_won"] = 33] = "maul_won";
|
|
7358
|
+
RugbyGameLogTypes[RugbyGameLogTypes["maul_lose"] = 34] = "maul_lose";
|
|
7359
|
+
RugbyGameLogTypes[RugbyGameLogTypes["team_foul"] = 35] = "team_foul";
|
|
7304
7360
|
})(exports.RugbyGameLogTypes || (exports.RugbyGameLogTypes = {}));
|
|
7305
7361
|
var RUGBY_GAME_LOG_TYPE_POINTS = (_a$1 = {},
|
|
7306
7362
|
_a$1[exports.RugbyGameLogTypes.penalty_try] = 7,
|
|
@@ -7356,7 +7412,7 @@
|
|
|
7356
7412
|
return this.period > log.period;
|
|
7357
7413
|
};
|
|
7358
7414
|
RugbyGameLog.prototype.isFoulType = function () {
|
|
7359
|
-
return [exports.RugbyGameLogTypes.team_foul, exports.RugbyGameLogTypes.
|
|
7415
|
+
return [exports.RugbyGameLogTypes.team_foul, exports.RugbyGameLogTypes.foul].indexOf(this.logType) > -1;
|
|
7360
7416
|
};
|
|
7361
7417
|
RugbyGameLog.prototype.isTeamType = function () {
|
|
7362
7418
|
return RUGBY_TEAM_LOG_TYPES.includes(this.logType);
|
|
@@ -7374,6 +7430,7 @@
|
|
|
7374
7430
|
mappingFields: {
|
|
7375
7431
|
id: 'id',
|
|
7376
7432
|
unique_id: 'uniqueId',
|
|
7433
|
+
group: 'group',
|
|
7377
7434
|
game_id: 'gameId',
|
|
7378
7435
|
game_user_id: 'gameUserId',
|
|
7379
7436
|
team_id: 'teamId',
|
|
@@ -7383,11 +7440,14 @@
|
|
|
7383
7440
|
period: 'period',
|
|
7384
7441
|
active: 'active',
|
|
7385
7442
|
is_highlight: 'isHighlight',
|
|
7386
|
-
|
|
7443
|
+
foul_type: 'foulType',
|
|
7444
|
+
foul_sanction: 'foulSanction',
|
|
7387
7445
|
},
|
|
7388
7446
|
relation: {
|
|
7389
7447
|
datetime: DateTimeField,
|
|
7390
|
-
logType: enumField(exports.RugbyGameLogTypes)
|
|
7448
|
+
logType: enumField(exports.RugbyGameLogTypes),
|
|
7449
|
+
foulType: RugbyFoulType,
|
|
7450
|
+
foulSanction: enumField(exports.RugbyFoulSanctions),
|
|
7391
7451
|
}
|
|
7392
7452
|
})
|
|
7393
7453
|
], RugbyGameLog);
|
|
@@ -7430,6 +7490,23 @@
|
|
|
7430
7490
|
});
|
|
7431
7491
|
});
|
|
7432
7492
|
};
|
|
7493
|
+
RugbyGameApi.prototype.getFoulTypes = function () {
|
|
7494
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
7495
|
+
return __generator(this, function (_a) {
|
|
7496
|
+
return [2 /*return*/, this.httpClient.get(this.configService.get('apiUrl') + "/api/v1/tournament_rugby_game/foul_types/").pipe(operators.map(function (result) { return RugbyFoulType.toFront(result); })).toPromise()];
|
|
7497
|
+
});
|
|
7498
|
+
});
|
|
7499
|
+
};
|
|
7500
|
+
RugbyGameApi.prototype.downloadProtocol = function (gameId) {
|
|
7501
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
7502
|
+
return __generator(this, function (_a) {
|
|
7503
|
+
return [2 /*return*/, this.httpClient.get(this.configService.get('apiUrl') + "/api/v1/tournament_rugby_game/" + gameId + "/game_protocol/", {
|
|
7504
|
+
params: new http.HttpParams().set('file_type', 'pdf'),
|
|
7505
|
+
responseType: 'blob'
|
|
7506
|
+
}).toPromise()];
|
|
7507
|
+
});
|
|
7508
|
+
});
|
|
7509
|
+
};
|
|
7433
7510
|
RugbyGameApi.ctorParameters = function () { return [
|
|
7434
7511
|
{ type: http.HttpClient },
|
|
7435
7512
|
{ type: ConfigService }
|
|
@@ -9261,63 +9338,76 @@
|
|
|
9261
9338
|
_a$6);
|
|
9262
9339
|
|
|
9263
9340
|
var _a$7;
|
|
9264
|
-
var
|
|
9265
|
-
_a$7[exports.
|
|
9266
|
-
_a$7[exports.
|
|
9267
|
-
_a$7[exports.
|
|
9268
|
-
_a$7[exports.
|
|
9269
|
-
_a$7[exports.
|
|
9270
|
-
_a$7[exports.
|
|
9271
|
-
_a$7[exports.RugbyGameLogTypes.drawing_ball] = 'Розыгрыш мяча',
|
|
9272
|
-
_a$7[exports.RugbyGameLogTypes.penalty_miss] = 'Штрафной промах',
|
|
9273
|
-
_a$7[exports.RugbyGameLogTypes.penalty_goal] = 'Штрафной гол',
|
|
9274
|
-
_a$7[exports.RugbyGameLogTypes.drop_goal] = 'Дроп-гол',
|
|
9275
|
-
_a$7[exports.RugbyGameLogTypes.drop_goal_miss] = 'Дроп-гол промах',
|
|
9276
|
-
_a$7[exports.RugbyGameLogTypes.free_kick] = 'Свободный удар',
|
|
9277
|
-
_a$7[exports.RugbyGameLogTypes.yellow_card] = 'Желтая карточка',
|
|
9278
|
-
_a$7[exports.RugbyGameLogTypes.red_card] = 'Красная карточка',
|
|
9279
|
-
_a$7[exports.RugbyGameLogTypes.offload] = 'Скидка при завхвате',
|
|
9280
|
-
_a$7[exports.RugbyGameLogTypes.tackle] = 'Успешный захват',
|
|
9281
|
-
_a$7[exports.RugbyGameLogTypes.out] = 'Аут',
|
|
9282
|
-
_a$7[exports.RugbyGameLogTypes.handling_error] = 'Ошибка приема',
|
|
9283
|
-
_a$7[exports.RugbyGameLogTypes.carries_other_gainline] = 'Прорыв линии',
|
|
9284
|
-
_a$7[exports.RugbyGameLogTypes.timeout] = 'Таймаут',
|
|
9285
|
-
_a$7[exports.RugbyGameLogTypes.scrum_won] = 'Свахтка выиграна',
|
|
9286
|
-
_a$7[exports.RugbyGameLogTypes.scrum_lose] = 'Схватка проиграна',
|
|
9287
|
-
_a$7[exports.RugbyGameLogTypes.scrum_won_free] = 'Схватка выиграна без сопротивления',
|
|
9288
|
-
_a$7[exports.RugbyGameLogTypes.lineout_success] = 'Корридор выиграно',
|
|
9289
|
-
_a$7[exports.RugbyGameLogTypes.lineout_loss] = 'Корридор потеря',
|
|
9290
|
-
_a$7[exports.RugbyGameLogTypes.lineout_steal] = 'Корридор перехват',
|
|
9291
|
-
_a$7[exports.RugbyGameLogTypes.quick_throw] = 'Быстрый вброс',
|
|
9292
|
-
_a$7[exports.RugbyGameLogTypes.ruck_won] = 'Рак выиграно',
|
|
9293
|
-
_a$7[exports.RugbyGameLogTypes.ruck_lose] = 'Рак проиграно',
|
|
9294
|
-
_a$7[exports.RugbyGameLogTypes.maul_won] = 'Мол выиграно',
|
|
9295
|
-
_a$7[exports.RugbyGameLogTypes.maul_lose] = 'Мол проиграно',
|
|
9296
|
-
_a$7[exports.RugbyGameLogTypes.team_foul] = 'Фол',
|
|
9341
|
+
var RugbyFoulSanctionLocalization = (_a$7 = {},
|
|
9342
|
+
_a$7[exports.RugbyFoulSanctions.scrum] = 'Схватка',
|
|
9343
|
+
_a$7[exports.RugbyFoulSanctions.lineout] = 'Корридор',
|
|
9344
|
+
_a$7[exports.RugbyFoulSanctions.free_kick] = 'Свободный удар',
|
|
9345
|
+
_a$7[exports.RugbyFoulSanctions.penalty_shot] = 'Штрафной удар',
|
|
9346
|
+
_a$7[exports.RugbyFoulSanctions.yellow_card] = 'Желтая карточка',
|
|
9347
|
+
_a$7[exports.RugbyFoulSanctions.red_card] = 'Красная карточка',
|
|
9297
9348
|
_a$7);
|
|
9298
9349
|
|
|
9299
9350
|
var _a$8;
|
|
9300
|
-
var
|
|
9301
|
-
_a$8[exports.
|
|
9302
|
-
_a$8[exports.
|
|
9303
|
-
_a$8[exports.
|
|
9304
|
-
_a$8[exports.
|
|
9305
|
-
_a$8[exports.
|
|
9306
|
-
_a$8[exports.
|
|
9307
|
-
_a$8[exports.
|
|
9308
|
-
_a$8[exports.
|
|
9309
|
-
_a$8[exports.
|
|
9310
|
-
_a$8[exports.
|
|
9351
|
+
var RugbyGameLogTypeLocalization = (_a$8 = {},
|
|
9352
|
+
_a$8[exports.RugbyGameLogTypes.enter_game] = 'Выход на площадку',
|
|
9353
|
+
_a$8[exports.RugbyGameLogTypes.exit_game] = 'Ушел с площадки',
|
|
9354
|
+
_a$8[exports.RugbyGameLogTypes.try] = 'Попытка',
|
|
9355
|
+
_a$8[exports.RugbyGameLogTypes.penalty_try] = 'Штрафная попытка',
|
|
9356
|
+
_a$8[exports.RugbyGameLogTypes.conversion_goal] = 'Реализация',
|
|
9357
|
+
_a$8[exports.RugbyGameLogTypes.conversion_miss] = 'Реализация промах',
|
|
9358
|
+
_a$8[exports.RugbyGameLogTypes.drawing_ball] = 'Розыгрыш мяча',
|
|
9359
|
+
_a$8[exports.RugbyGameLogTypes.penalty_miss] = 'Штрафной промах',
|
|
9360
|
+
_a$8[exports.RugbyGameLogTypes.penalty_goal] = 'Штрафной гол',
|
|
9361
|
+
_a$8[exports.RugbyGameLogTypes.drop_goal] = 'Дроп-гол',
|
|
9362
|
+
_a$8[exports.RugbyGameLogTypes.drop_goal_miss] = 'Дроп-гол промах',
|
|
9363
|
+
_a$8[exports.RugbyGameLogTypes.free_kick] = 'Свободный удар',
|
|
9364
|
+
_a$8[exports.RugbyGameLogTypes.foul] = 'Фол',
|
|
9365
|
+
_a$8[exports.RugbyGameLogTypes.yellow_card] = 'Желтая карточка',
|
|
9366
|
+
_a$8[exports.RugbyGameLogTypes.red_card] = 'Красная карточка',
|
|
9367
|
+
_a$8[exports.RugbyGameLogTypes.offload] = 'Скидка при завхвате',
|
|
9368
|
+
_a$8[exports.RugbyGameLogTypes.tackle] = 'Успешный захват',
|
|
9369
|
+
_a$8[exports.RugbyGameLogTypes.out] = 'Аут',
|
|
9370
|
+
_a$8[exports.RugbyGameLogTypes.handling_error] = 'Ошибка приема',
|
|
9371
|
+
_a$8[exports.RugbyGameLogTypes.carries_other_gainline] = 'Прорыв линии',
|
|
9372
|
+
_a$8[exports.RugbyGameLogTypes.bleeding_injury] = 'Кровоточащая травма',
|
|
9373
|
+
_a$8[exports.RugbyGameLogTypes.head_injury] = 'Травма головы',
|
|
9374
|
+
_a$8[exports.RugbyGameLogTypes.timeout] = 'Таймаут',
|
|
9375
|
+
_a$8[exports.RugbyGameLogTypes.scrum_won] = 'Свахтка выиграна',
|
|
9376
|
+
_a$8[exports.RugbyGameLogTypes.scrum_lose] = 'Схватка проиграна',
|
|
9377
|
+
_a$8[exports.RugbyGameLogTypes.scrum_won_free] = 'Схватка выиграна без сопротивления',
|
|
9378
|
+
_a$8[exports.RugbyGameLogTypes.lineout_success] = 'Корридор выиграно',
|
|
9379
|
+
_a$8[exports.RugbyGameLogTypes.lineout_loss] = 'Корридор потеря',
|
|
9380
|
+
_a$8[exports.RugbyGameLogTypes.lineout_steal] = 'Корридор перехват',
|
|
9381
|
+
_a$8[exports.RugbyGameLogTypes.quick_throw] = 'Быстрый вброс',
|
|
9382
|
+
_a$8[exports.RugbyGameLogTypes.ruck_won] = 'Рак выиграно',
|
|
9383
|
+
_a$8[exports.RugbyGameLogTypes.ruck_lose] = 'Рак проиграно',
|
|
9384
|
+
_a$8[exports.RugbyGameLogTypes.maul_won] = 'Мол выиграно',
|
|
9385
|
+
_a$8[exports.RugbyGameLogTypes.maul_lose] = 'Мол проиграно',
|
|
9386
|
+
_a$8[exports.RugbyGameLogTypes.team_foul] = 'Фол',
|
|
9311
9387
|
_a$8);
|
|
9312
9388
|
|
|
9313
|
-
var _a$9
|
|
9314
|
-
var
|
|
9315
|
-
_a$9[exports.
|
|
9316
|
-
_a$9[exports.
|
|
9317
|
-
_a$9[exports.
|
|
9318
|
-
_a$9[exports.
|
|
9319
|
-
_a$9[exports.
|
|
9389
|
+
var _a$9;
|
|
9390
|
+
var TeamUserRoleLocalization = (_a$9 = {},
|
|
9391
|
+
_a$9[exports.TeamUserRole.member] = 'Пользователь',
|
|
9392
|
+
_a$9[exports.TeamUserRole.moderator] = 'Модератор',
|
|
9393
|
+
_a$9[exports.TeamUserRole.admin] = 'Владелец',
|
|
9394
|
+
_a$9[exports.TeamUserRole.coach] = 'Тренер',
|
|
9395
|
+
_a$9[exports.TeamUserRole.head_coach] = 'Главный тренер',
|
|
9396
|
+
_a$9[exports.TeamUserRole.playing_coach] = 'Играющий тренер',
|
|
9397
|
+
_a$9[exports.TeamUserRole.manager] = 'Менеджер',
|
|
9398
|
+
_a$9[exports.TeamUserRole.head_manager] = 'Генеральный менеджер',
|
|
9399
|
+
_a$9[exports.TeamUserRole.captain] = 'Капитан',
|
|
9400
|
+
_a$9[exports.TeamUserRole.assistant] = 'Ассистент',
|
|
9320
9401
|
_a$9);
|
|
9402
|
+
|
|
9403
|
+
var _a$a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
9404
|
+
var GameBasketballPositionLocalization = (_a$a = {},
|
|
9405
|
+
_a$a[exports.GameBasketballPosition.point_guard] = 'Разыгрывающий защитник',
|
|
9406
|
+
_a$a[exports.GameBasketballPosition.shooting_guard] = 'Атакующий защитник',
|
|
9407
|
+
_a$a[exports.GameBasketballPosition.small_forward] = 'Легкий форвард',
|
|
9408
|
+
_a$a[exports.GameBasketballPosition.power_forward] = 'Мощный форвард',
|
|
9409
|
+
_a$a[exports.GameBasketballPosition.center] = 'Центровой',
|
|
9410
|
+
_a$a);
|
|
9321
9411
|
var GameBasketballPositionShortLocalization = (_b = {},
|
|
9322
9412
|
_b[exports.GameBasketballPosition.point_guard] = 'PG',
|
|
9323
9413
|
_b[exports.GameBasketballPosition.shooting_guard] = 'SG',
|
|
@@ -9386,31 +9476,31 @@
|
|
|
9386
9476
|
_m[exports.GameRugbyPosition.fullback] = 'Замыкающий',
|
|
9387
9477
|
_m);
|
|
9388
9478
|
|
|
9389
|
-
var _a$
|
|
9390
|
-
var VolleyballGameLogTypeLocalization = (_a$
|
|
9391
|
-
_a$
|
|
9392
|
-
_a$
|
|
9393
|
-
_a$
|
|
9394
|
-
_a$
|
|
9395
|
-
_a$
|
|
9396
|
-
_a$
|
|
9397
|
-
_a$
|
|
9398
|
-
_a$
|
|
9399
|
-
_a$
|
|
9400
|
-
_a$
|
|
9401
|
-
_a$
|
|
9402
|
-
_a$
|
|
9403
|
-
_a$
|
|
9404
|
-
_a$
|
|
9405
|
-
_a$
|
|
9406
|
-
_a$
|
|
9407
|
-
_a$
|
|
9408
|
-
_a$
|
|
9409
|
-
_a$
|
|
9410
|
-
_a$
|
|
9411
|
-
_a$
|
|
9412
|
-
_a$
|
|
9413
|
-
_a$
|
|
9479
|
+
var _a$b;
|
|
9480
|
+
var VolleyballGameLogTypeLocalization = (_a$b = {},
|
|
9481
|
+
_a$b[exports.VolleyballGameLogType.enter_game] = 'Выход на площадку',
|
|
9482
|
+
_a$b[exports.VolleyballGameLogType.exit_game] = 'Уход с площадки',
|
|
9483
|
+
_a$b[exports.VolleyballGameLogType.remove_game] = 'Удаление с площадки',
|
|
9484
|
+
_a$b[exports.VolleyballGameLogType.serve_ace] = 'Эйс',
|
|
9485
|
+
_a$b[exports.VolleyballGameLogType.serve_hit] = 'Подача',
|
|
9486
|
+
_a$b[exports.VolleyballGameLogType.serve_fault] = 'Ошибка на подаче',
|
|
9487
|
+
_a$b[exports.VolleyballGameLogType.attack_spike] = 'Результативная атака',
|
|
9488
|
+
_a$b[exports.VolleyballGameLogType.attack_shot] = 'Атака',
|
|
9489
|
+
_a$b[exports.VolleyballGameLogType.attack_fault] = 'Ошибка атаки',
|
|
9490
|
+
_a$b[exports.VolleyballGameLogType.stuff_block] = 'Результативный блок',
|
|
9491
|
+
_a$b[exports.VolleyballGameLogType.block_rebound] = 'Блок',
|
|
9492
|
+
_a$b[exports.VolleyballGameLogType.block_fault] = 'Ошибка на блоке',
|
|
9493
|
+
_a$b[exports.VolleyballGameLogType.excellent_receive] = 'Отличный прием',
|
|
9494
|
+
_a$b[exports.VolleyballGameLogType.receive] = 'Прием',
|
|
9495
|
+
_a$b[exports.VolleyballGameLogType.receive_fault] = 'Ошибка на приеме',
|
|
9496
|
+
_a$b[exports.VolleyballGameLogType.serve_receive] = 'Прием подачи',
|
|
9497
|
+
_a$b[exports.VolleyballGameLogType.excellent_serve_receive] = 'Отличный прием подачи',
|
|
9498
|
+
_a$b[exports.VolleyballGameLogType.serve_receive_fault] = 'Ошибка приема подачи',
|
|
9499
|
+
_a$b[exports.VolleyballGameLogType.point] = 'Очко',
|
|
9500
|
+
_a$b[exports.VolleyballGameLogType.fault] = 'Ошибка',
|
|
9501
|
+
_a$b[exports.VolleyballGameLogType.timeout] = 'Таймаут',
|
|
9502
|
+
_a$b[exports.VolleyballGameLogType.yellow_card] = 'Предупреждение',
|
|
9503
|
+
_a$b);
|
|
9414
9504
|
|
|
9415
9505
|
var LeaguePlaylist = /** @class */ (function (_super) {
|
|
9416
9506
|
__extends(LeaguePlaylist, _super);
|
|
@@ -9958,6 +10048,8 @@
|
|
|
9958
10048
|
exports.RUGBY_GAME_LOG_TYPE_POINTS = RUGBY_GAME_LOG_TYPE_POINTS;
|
|
9959
10049
|
exports.RUGBY_TEAM_LOG_TYPES = RUGBY_TEAM_LOG_TYPES;
|
|
9960
10050
|
exports.ReferenceApi = ReferenceApi;
|
|
10051
|
+
exports.RugbyFoulSanctionLocalization = RugbyFoulSanctionLocalization;
|
|
10052
|
+
exports.RugbyFoulType = RugbyFoulType;
|
|
9961
10053
|
exports.RugbyGameApi = RugbyGameApi;
|
|
9962
10054
|
exports.RugbyGameConfig = RugbyGameConfig;
|
|
9963
10055
|
exports.RugbyGameLog = RugbyGameLog;
|