tods-competition-factory 2.1.18 → 2.1.19
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/index.mjs +7 -7
- package/dist/tods-competition-factory.development.cjs.js +5 -3
- package/dist/tods-competition-factory.development.cjs.js.map +1 -1
- package/dist/tods-competition-factory.production.cjs.min.js +1 -1
- package/dist/tods-competition-factory.production.cjs.min.js.map +1 -1
- package/package.json +2 -2
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
function factoryVersion() {
|
|
6
|
-
return '2.1.
|
|
6
|
+
return '2.1.19';
|
|
7
7
|
}
|
|
8
8
|
|
|
9
9
|
const SINGLES_MATCHUP = 'SINGLES';
|
|
@@ -45041,18 +45041,20 @@ function setMatchUpState(params) {
|
|
|
45041
45041
|
});
|
|
45042
45042
|
const existingDualMatchUpWinningSide = dualMatchUp.winningSide;
|
|
45043
45043
|
dualWinningSideChange = projectedWinningSide !== existingDualMatchUpWinningSide;
|
|
45044
|
+
const autoCalcDisabled = dualMatchUp._disableAutoCalc;
|
|
45044
45045
|
Object.assign(params, {
|
|
45045
45046
|
isCollectionMatchUp: true,
|
|
45046
45047
|
dualWinningSideChange,
|
|
45047
45048
|
projectedWinningSide,
|
|
45049
|
+
autoCalcDisabled,
|
|
45048
45050
|
matchUpTieId,
|
|
45049
45051
|
dualMatchUp,
|
|
45050
45052
|
tieFormat,
|
|
45051
45053
|
});
|
|
45052
45054
|
}
|
|
45053
45055
|
}
|
|
45054
|
-
const activeDownstream = isActiveDownstream(params);
|
|
45055
45056
|
const directingMatchUpStatus = isDirectingMatchUpStatus({ matchUpStatus });
|
|
45057
|
+
const activeDownstream = isActiveDownstream(params);
|
|
45056
45058
|
if (!matchUpTieId) {
|
|
45057
45059
|
if (activeDownstream &&
|
|
45058
45060
|
!winningSide &&
|
|
@@ -45100,7 +45102,7 @@ function setMatchUpState(params) {
|
|
|
45100
45102
|
method: stack,
|
|
45101
45103
|
winningSide,
|
|
45102
45104
|
});
|
|
45103
|
-
const result = (!activeDownstream && noDownstreamDependencies(params)) ||
|
|
45105
|
+
const result = ((!activeDownstream || params.autoCalcDisabled) && noDownstreamDependencies(params)) ||
|
|
45104
45106
|
(matchUpWinner && winningSideWithDownstreamDependencies(params)) ||
|
|
45105
45107
|
(directingMatchUpStatus && applyMatchUpValues(params)) || {
|
|
45106
45108
|
error: NO_VALID_ACTIONS,
|