courthive-components 6.2.0 → 6.3.0
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/components/matchUpFormat/matchUpFormat.d.ts +3 -1
- package/dist/components/scoring/logic/dynamicSetsLogic.d.ts +18 -3
- package/dist/components/scoring/logic/engineOutcome.d.ts +28 -0
- package/dist/components/scoring/scoreEntryCard.d.ts +5 -1
- package/dist/components/scoring/scoreEntryDialog.d.ts +11 -1
- package/dist/components/topology-builder/types.d.ts +2 -0
- package/dist/courthive-components.css +1 -1
- package/dist/courthive-components.es.js +6306 -6119
- package/dist/courthive-components.umd.js +45 -45
- package/dist/index.d.ts +3 -1
- package/package.json +12 -12
- package/dist/components/scoring/utils/aggregateDecider.d.ts +0 -18
package/dist/index.d.ts
CHANGED
|
@@ -35,6 +35,8 @@ export type { StatusCodeGroups, StatusCodeEntry } from './components/scoring/log
|
|
|
35
35
|
export { openScoreEntryDialog } from './components/scoring/scoreEntryDialog';
|
|
36
36
|
export type { ScoreEntryDialogParams, ScoreEntryApproach, ScoreEntryDialog } from './components/scoring/scoreEntryDialog';
|
|
37
37
|
export type { ScoreEntryOutcome, ScoreEntryCard } from './components/scoring/scoreEntryCard';
|
|
38
|
+
export { toEngineOutcome } from './components/scoring/logic/engineOutcome';
|
|
39
|
+
export type { EngineOutcome as ScoreEntryEngineOutcome } from './components/scoring/logic/engineOutcome';
|
|
38
40
|
export { getSetFormatForIndex, isSetTiebreakOnly, isSetTimed, getMaxAllowedScore, isSetComplete, getSetWinner, isMatchComplete, getMatchWinner, calculateComplement, shouldApplySmartComplement, shouldShowTiebreak, shouldCreateNextSet, buildSetScore } from './components/scoring/logic/dynamicSetsLogic';
|
|
39
41
|
export type { SetFormat, MatchUpConfig, SmartComplementResult } from './components/scoring/logic/dynamicSetsLogic';
|
|
40
42
|
export { drawer, initDrawer } from './components/drawer/drawer';
|
|
@@ -90,7 +92,7 @@ export { competitivenessColor, getCompetitivenessBand, COMPETITIVENESS_COLORS, N
|
|
|
90
92
|
export type { CompetitiveBands } from './components/burstChart/competitiveness';
|
|
91
93
|
export { buildRatingDistributionChart } from './components/ratingDistributionChart';
|
|
92
94
|
export { buildLadderChart } from './components/ladderChart';
|
|
93
|
-
export type { LadderChartConfig, LadderChartDatum, LadderChartInstance, LadderChartMargins
|
|
95
|
+
export type { LadderChartConfig, LadderChartDatum, LadderChartInstance, LadderChartMargins } from './components/ladderChart';
|
|
94
96
|
export type { RatingDistributionChartOptions, RatingDistributionChartMode } from './components/ratingDistributionChart';
|
|
95
97
|
export { buildPressureSmallMultiples, buildPathDifficultyBar, resolveParticipantRating, buildPressureSeries, getProjectedPressure, buildPressureChart, buildPressureTable, getActualPressure, byPathDifficulty, winProbability, sharedYDomain, ratingToElo, PRESSURE_UNSUPPORTED } from './components/pressureChart';
|
|
96
98
|
export type { ParticipantPressureProjection, PressureSmallMultiplesOptions, GetProjectedPressureParams, ParticipantActualPressure, PressureUnsupportedReason, ProjectedPressureResult, PathDifficultyBarOptions, ProjectedRoundPressure, PressureChartOptions, ActualRoundPressure, PressureSeriesPoint, PossibleOpponent, PressureSeries, ResolvedRating } from './components/pressureChart';
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "courthive-components",
|
|
3
|
-
"packageManager": "pnpm@12.
|
|
4
|
-
"version": "6.
|
|
3
|
+
"packageManager": "pnpm@12.9.1",
|
|
4
|
+
"version": "6.3.0",
|
|
5
5
|
"engines": {
|
|
6
6
|
"node": ">=22"
|
|
7
7
|
},
|
|
@@ -76,31 +76,31 @@
|
|
|
76
76
|
"@fortawesome/fontawesome-free": "^7.2.0",
|
|
77
77
|
"@storybook/addon-docs": "^10.2.17",
|
|
78
78
|
"@storybook/html-vite": "^10.2.17",
|
|
79
|
-
"@storybook/test-runner": "^0.
|
|
79
|
+
"@storybook/test-runner": "^0.26.0",
|
|
80
80
|
"@types/d3": "^7.4.3",
|
|
81
81
|
"@types/leaflet": "^1.9.12",
|
|
82
82
|
"@types/vanillajs-datepicker": "^1.3.5",
|
|
83
|
-
"@typescript-eslint/eslint-plugin": "8.
|
|
84
|
-
"@typescript-eslint/parser": "8.
|
|
83
|
+
"@typescript-eslint/eslint-plugin": "8.71.0",
|
|
84
|
+
"@typescript-eslint/parser": "8.71.0",
|
|
85
85
|
"@vitest/coverage-v8": "^5.0.0",
|
|
86
86
|
"@vitest/ui": "^5.0.0",
|
|
87
|
-
"eslint": "10.
|
|
88
|
-
"eslint-plugin-sonarjs": "4.2.
|
|
87
|
+
"eslint": "10.12.0",
|
|
88
|
+
"eslint-plugin-sonarjs": "4.2.2",
|
|
89
89
|
"eslint-plugin-storybook": "^10.2.17",
|
|
90
90
|
"gh-pages": "6.3.0",
|
|
91
91
|
"globals": "^17.3.0",
|
|
92
92
|
"happy-dom": "^20.8.3",
|
|
93
93
|
"husky": "9.1.7",
|
|
94
94
|
"leaflet": "1.9.4",
|
|
95
|
-
"lint-staged": "17.
|
|
95
|
+
"lint-staged": "17.6.0",
|
|
96
96
|
"playwright": "^1.57.0",
|
|
97
97
|
"prettier": "^3.8.1",
|
|
98
98
|
"semver": "7.8.5",
|
|
99
99
|
"storybook": "^10.2.17",
|
|
100
|
-
"tabulator-tables": "6.
|
|
101
|
-
"tods-competition-factory": "7.
|
|
100
|
+
"tabulator-tables": "6.6.1",
|
|
101
|
+
"tods-competition-factory": "7.8.0",
|
|
102
102
|
"typescript": "^6.0.2",
|
|
103
|
-
"vite": "8.3.
|
|
103
|
+
"vite": "8.3.2",
|
|
104
104
|
"vite-plugin-dts": "^5.0.0",
|
|
105
105
|
"vitest": "^5.0.0"
|
|
106
106
|
},
|
|
@@ -123,7 +123,7 @@
|
|
|
123
123
|
"vanillajs-datepicker": "1.3.4"
|
|
124
124
|
},
|
|
125
125
|
"peerDependencies": {
|
|
126
|
-
"tods-competition-factory": "^7.
|
|
126
|
+
"tods-competition-factory": "^7.6.0",
|
|
127
127
|
"leaflet": "^1.9.4"
|
|
128
128
|
},
|
|
129
129
|
"peerDependenciesMeta": {
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* INTERIM COPY of tods-competition-factory's aggregateDecider (factory #5166). Replace with the factory
|
|
3
|
-
* export once the release after 7.5.0 publishes it (CA, 2026-10-04) — tracked in Mentat TASKS.md.
|
|
4
|
-
*/
|
|
5
|
-
/**
|
|
6
|
-
* The set number of an aggregate format's sudden-death decider, or `undefined` for any other format.
|
|
7
|
-
*
|
|
8
|
-
* A format decided by AGGREGATE points over EXACTLY N sets settles a level total with a sudden-death
|
|
9
|
-
* tiebreak (`SET3XA-S:T10-F:TB1`), and that tiebreak is NOT one of the N sets: it is set N + 1, played
|
|
10
|
-
* only when the totals are level (CA, 2026-10-04, the INTENNSE format). So its final-set format governs
|
|
11
|
-
* set N + 1, never set N. Every other format keeps its own reading of which set is the final one.
|
|
12
|
-
*/
|
|
13
|
-
export declare function aggregateDeciderSetNumber(parsed: any): number | undefined;
|
|
14
|
-
/**
|
|
15
|
-
* Whether the final-set format (`-F:`) governs `setNumber`, given how the caller reads it for every
|
|
16
|
-
* other format: an aggregate format's decider is set N + 1 (above), and otherwise `otherwise` stands.
|
|
17
|
-
*/
|
|
18
|
-
export declare function finalSetGoverns(parsed: any, setNumber: number | undefined, otherwise: boolean): boolean;
|