tods-competition-factory 1.9.3 → 1.9.4
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/forge/generate.mjs +5 -2
- package/dist/forge/generate.mjs.map +1 -1
- package/dist/index.mjs +6 -3
- package/dist/index.mjs.map +1 -1
- package/dist/tods-competition-factory.development.cjs.js +8 -2
- 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
|
@@ -2946,7 +2946,7 @@ var matchUpFormatCode = {
|
|
|
2946
2946
|
};
|
|
2947
2947
|
|
|
2948
2948
|
function factoryVersion() {
|
|
2949
|
-
return '1.9.
|
|
2949
|
+
return '1.9.4';
|
|
2950
2950
|
}
|
|
2951
2951
|
|
|
2952
2952
|
function getObjectTieFormat(obj) {
|
|
@@ -65197,7 +65197,9 @@ function generateDrawDefinition(params) {
|
|
|
65197
65197
|
// if there is an avoidance policy on the event, it must be preserved in the drawDefinition
|
|
65198
65198
|
// if there is an avoidance policy in policyDefinitions, it will override
|
|
65199
65199
|
// avoidance policies on the event can be changed (if location used for UI)
|
|
65200
|
-
var policiesToAttach =
|
|
65200
|
+
var policiesToAttach = (_a = {},
|
|
65201
|
+
_a[POLICY_TYPE_AVOIDANCE] = appliedPolicies[POLICY_TYPE_AVOIDANCE],
|
|
65202
|
+
_a);
|
|
65201
65203
|
if (policyDefinitions) {
|
|
65202
65204
|
if (typeof policyDefinitions !== 'object') {
|
|
65203
65205
|
return decorateResult({
|
|
@@ -65235,6 +65237,10 @@ function generateDrawDefinition(params) {
|
|
|
65235
65237
|
}
|
|
65236
65238
|
if (!appliedPolicies[POLICY_TYPE_SEEDING] &&
|
|
65237
65239
|
!policyDefinitions[POLICY_TYPE_SEEDING]) {
|
|
65240
|
+
attachPolicies({
|
|
65241
|
+
drawDefinition: drawDefinition,
|
|
65242
|
+
policyDefinitions: POLICY_SEEDING_DEFAULT,
|
|
65243
|
+
});
|
|
65238
65244
|
Object.assign(appliedPolicies, POLICY_SEEDING_DEFAULT);
|
|
65239
65245
|
}
|
|
65240
65246
|
// ---------------------------------------------------------------------------
|