@mtgame/core 0.1.88 → 0.1.90
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/bundles/mtgame-core.umd.js +18 -13
- package/bundles/mtgame-core.umd.js.map +1 -1
- package/esm2015/localization/basketball-game-sub-log-types.js +12 -11
- package/esm2015/models/basketball-game-log.js +3 -2
- package/esm2015/models/basketball-game-statistic.js +3 -2
- package/esm2015/models/basketball-statistic.js +3 -2
- package/esm2015/utils/public-api.js +2 -2
- package/fesm2015/mtgame-core.js +18 -14
- package/fesm2015/mtgame-core.js.map +1 -1
- package/localization/basketball-game-sub-log-types.d.ts +1 -0
- package/models/basketball-game-statistic.d.ts +1 -0
- package/models/basketball-statistic.d.ts +1 -0
- package/mtgame-core.metadata.json +1 -1
- package/package.json +1 -1
- package/utils/public-api.d.ts +1 -1
|
@@ -2978,7 +2978,7 @@
|
|
|
2978
2978
|
}
|
|
2979
2979
|
Object.defineProperty(BasketballStatistic.prototype, "totalFouls", {
|
|
2980
2980
|
get: function () {
|
|
2981
|
-
return this.personalFouls + this.technicalFouls + this.unsportsmanlikeFouls;
|
|
2981
|
+
return this.personalFouls + this.technicalFouls + this.unsportsmanlikeFouls + this.disqualificationFouls;
|
|
2982
2982
|
},
|
|
2983
2983
|
enumerable: false,
|
|
2984
2984
|
configurable: true
|
|
@@ -3090,6 +3090,7 @@
|
|
|
3090
3090
|
personal_fouls: 'personalFouls',
|
|
3091
3091
|
technical_fouls: 'technicalFouls',
|
|
3092
3092
|
unsportsmanlike_fouls: 'unsportsmanlikeFouls',
|
|
3093
|
+
disqualification_fouls: 'disqualificationFouls',
|
|
3093
3094
|
game_time: 'gameTime',
|
|
3094
3095
|
newbie: 'newbie',
|
|
3095
3096
|
rank: 'rank',
|
|
@@ -3150,7 +3151,7 @@
|
|
|
3150
3151
|
BasketballGameStatistic.toBack = function (data) { };
|
|
3151
3152
|
Object.defineProperty(BasketballGameStatistic.prototype, "totalFouls", {
|
|
3152
3153
|
get: function () {
|
|
3153
|
-
return (this.personalFouls || 0) + (this.technicalFouls || 0) + (this.unsportsmanlikeFouls || 0);
|
|
3154
|
+
return (this.personalFouls || 0) + (this.technicalFouls || 0) + (this.unsportsmanlikeFouls || 0) + (this.disqualificationFouls || 0);
|
|
3154
3155
|
},
|
|
3155
3156
|
enumerable: false,
|
|
3156
3157
|
configurable: true
|
|
@@ -3233,6 +3234,7 @@
|
|
|
3233
3234
|
personal_fouls: 'personalFouls',
|
|
3234
3235
|
technical_fouls: 'technicalFouls',
|
|
3235
3236
|
unsportsmanlike_fouls: 'unsportsmanlikeFouls',
|
|
3237
|
+
disqualification_fouls: 'disqualificationFouls',
|
|
3236
3238
|
updated_at: 'updatedAt',
|
|
3237
3239
|
},
|
|
3238
3240
|
relation: {
|
|
@@ -3353,7 +3355,8 @@
|
|
|
3353
3355
|
return [
|
|
3354
3356
|
exports.BasketballGameLogTypes.personal_foul,
|
|
3355
3357
|
exports.BasketballGameLogTypes.technical_foul,
|
|
3356
|
-
exports.BasketballGameLogTypes.unsportsmanlike_foul
|
|
3358
|
+
exports.BasketballGameLogTypes.unsportsmanlike_foul,
|
|
3359
|
+
exports.BasketballGameLogTypes.disqualification_foul,
|
|
3357
3360
|
].indexOf(this.logType) > -1;
|
|
3358
3361
|
};
|
|
3359
3362
|
BasketballGameLog.prototype.getScore = function () {
|
|
@@ -9759,20 +9762,21 @@
|
|
|
9759
9762
|
var _a$c;
|
|
9760
9763
|
var BasketballGameSubLogTypesLocalization = (_a$c = {},
|
|
9761
9764
|
// Shots
|
|
9762
|
-
_a$c[exports.BasketballSubLogTypes.jump_shot] = '
|
|
9763
|
-
_a$c[exports.BasketballSubLogTypes.step_back_jump_shot] = '
|
|
9764
|
-
_a$c[exports.BasketballSubLogTypes.floating_jump_shot] = '
|
|
9765
|
-
_a$c[exports.BasketballSubLogTypes.fade_away_jump_shot] = '
|
|
9766
|
-
_a$c[exports.BasketballSubLogTypes.pull_up_jump_shot] = '
|
|
9767
|
-
_a$c[exports.BasketballSubLogTypes.turnaround_jump_shot] = '
|
|
9765
|
+
_a$c[exports.BasketballSubLogTypes.jump_shot] = 'Джампшот',
|
|
9766
|
+
_a$c[exports.BasketballSubLogTypes.step_back_jump_shot] = 'Степ-бэк',
|
|
9767
|
+
_a$c[exports.BasketballSubLogTypes.floating_jump_shot] = 'Флоатинг',
|
|
9768
|
+
_a$c[exports.BasketballSubLogTypes.fade_away_jump_shot] = 'Фэйдавэй',
|
|
9769
|
+
_a$c[exports.BasketballSubLogTypes.pull_up_jump_shot] = 'Пуллап',
|
|
9770
|
+
_a$c[exports.BasketballSubLogTypes.turnaround_jump_shot] = 'Турнэраунд',
|
|
9768
9771
|
_a$c[exports.BasketballSubLogTypes.dunk] = 'Данк',
|
|
9769
|
-
_a$c[exports.BasketballSubLogTypes.layup] = '
|
|
9770
|
-
_a$c[exports.BasketballSubLogTypes.driving_layup] = 'Драйвинг
|
|
9771
|
-
_a$c[exports.BasketballSubLogTypes.alley_oop] = '
|
|
9772
|
-
_a$c[exports.BasketballSubLogTypes.hook_shot] = '
|
|
9772
|
+
_a$c[exports.BasketballSubLogTypes.layup] = 'Лэйап',
|
|
9773
|
+
_a$c[exports.BasketballSubLogTypes.driving_layup] = 'Драйвинг лэйап',
|
|
9774
|
+
_a$c[exports.BasketballSubLogTypes.alley_oop] = 'Алейуп',
|
|
9775
|
+
_a$c[exports.BasketballSubLogTypes.hook_shot] = 'Хукшот',
|
|
9773
9776
|
// foul
|
|
9774
9777
|
_a$c[exports.BasketballSubLogTypes.offensive_foul] = 'В нападении',
|
|
9775
9778
|
_a$c[exports.BasketballSubLogTypes.shot_foul] = 'При броксе',
|
|
9779
|
+
_a$c[exports.BasketballSubLogTypes.mutual_foul] = 'Обоюдный фол',
|
|
9776
9780
|
// Turnover
|
|
9777
9781
|
_a$c[exports.BasketballSubLogTypes.bad_pass] = 'Плохой пас',
|
|
9778
9782
|
_a$c[exports.BasketballSubLogTypes.ball_handling] = 'На ведении',
|
|
@@ -10749,6 +10753,7 @@
|
|
|
10749
10753
|
exports.VolleyballWorkHandLocalization = VolleyballWorkHandLocalization;
|
|
10750
10754
|
exports.WorkHandLocalization = WorkHandLocalization;
|
|
10751
10755
|
exports.addItemInArray = addItemInArray;
|
|
10756
|
+
exports.addItemsInArray = addItemsInArray;
|
|
10752
10757
|
exports.applyGameMediaFilters = applyGameMediaFilters;
|
|
10753
10758
|
exports.applyGamesFilters = applyGamesFilters;
|
|
10754
10759
|
exports.applyStatisticFilters = applyStatisticFilters;
|