@ethlete/cdk 4.61.1 → 4.62.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/index.d.ts CHANGED
@@ -5,7 +5,7 @@ import * as rxjs from 'rxjs';
5
5
  import { BehaviorSubject, Observable, Subject, Subscriber, Subscription } from 'rxjs';
6
6
  import * as _angular_animations from '@angular/animations';
7
7
  import { AnimationTriggerMetadata, AnimationEvent } from '@angular/animations';
8
- import { MatchListView, RoundStageStructureView, RoundStageStructureWithMatchesView, OpponentSide, RoundType, MatchListViewUnion } from '@ethlete/types';
8
+ import { MatchListView, RoundStageStructureView, RoundStageStructureWithMatchesView, RoundType, MatchListViewUnion } from '@ethlete/types';
9
9
  import * as _ethlete_cdk from '@ethlete/cdk';
10
10
  import * as _angular_platform_browser from '@angular/platform-browser';
11
11
  import * as _angular_common_module_d_yNBsZ8gb from '@angular/common/module.d-yNBsZ8gb';
@@ -93,10 +93,10 @@ interface BracketConfig {
93
93
  matchComponent: ComponentType<unknown>;
94
94
  }
95
95
 
96
- interface BracketRound$1 {
96
+ interface BracketRound {
97
97
  matchCount: number;
98
98
  name: string | null;
99
- matches: BracketMatch$1[];
99
+ matches: BracketMatch[];
100
100
  data: RoundStageStructureView;
101
101
  row: {
102
102
  start: number;
@@ -107,7 +107,7 @@ interface BracketRound$1 {
107
107
  end: number;
108
108
  };
109
109
  }
110
- interface BracketMatch$1 {
110
+ interface BracketMatch {
111
111
  data: MatchListView;
112
112
  row: {
113
113
  start: number;
@@ -154,20 +154,20 @@ declare class Bracket {
154
154
  get indexOfLooserRoundStart(): number;
155
155
  get looserRowAdditionalRoundCount(): number;
156
156
  get isPartialDoubleElimination(): boolean;
157
- readonly bracketRounds: BracketRound$1[];
157
+ readonly bracketRounds: BracketRound[];
158
158
  readonly id: number;
159
159
  private readonly _bracketMatches;
160
160
  constructor(_roundsWithMatches: RoundStageStructureWithMatchesView[]);
161
- getRoundById(roundId: string): BracketRound$1 | undefined;
162
- getMatchById(matchId: string): BracketMatch$1 | undefined;
161
+ getRoundById(roundId: string): BracketRound | undefined;
162
+ getMatchById(matchId: string): BracketMatch | undefined;
163
163
  private _computeBracket;
164
164
  private _transformRound;
165
165
  private _transformMatch;
166
166
  }
167
167
 
168
168
  interface ConnectedMatches {
169
- previousMatches: (BracketMatch$1 | null)[] | null;
170
- nextMatch: BracketMatch$1 | null;
169
+ previousMatches: (BracketMatch | null)[] | null;
170
+ nextMatch: BracketMatch | null;
171
171
  }
172
172
 
173
173
  declare class BracketComponent {
@@ -201,16 +201,16 @@ declare class BracketComponent {
201
201
  get hasRoundHeaders(): boolean;
202
202
  protected _config: BracketConfig;
203
203
  protected _bracket$: BehaviorSubject<Bracket | null>;
204
- trackByRound: TrackByFunction<BracketRound$1>;
205
- trackByMatch: TrackByFunction<BracketMatch$1>;
206
- getBracketMatchById(id: string): rxjs.Observable<BracketMatch$1 | null>;
207
- getBracketRoundById(id: string): rxjs.Observable<BracketRound$1 | null>;
208
- protected getConnectedMatches(match: BracketMatch$1, bracket: Bracket): ConnectedMatches;
209
- protected getChildConnectorShape(currentMatch: BracketMatch$1, nextMatch: BracketMatch$1 | null): "straight" | "down" | "up" | null;
204
+ trackByRound: TrackByFunction<BracketRound>;
205
+ trackByMatch: TrackByFunction<BracketMatch>;
206
+ getBracketMatchById(id: string): rxjs.Observable<BracketMatch | null>;
207
+ getBracketRoundById(id: string): rxjs.Observable<BracketRound | null>;
208
+ protected getConnectedMatches(match: BracketMatch, bracket: Bracket): ConnectedMatches;
209
+ protected getChildConnectorShape(currentMatch: BracketMatch, nextMatch: BracketMatch | null): "straight" | "down" | "up" | null;
210
210
  protected getLineMultiAfter(roundIndex: number, bracket: Bracket): number;
211
- protected getLineSpan(affectedRound: BracketRound$1 | null, previousRound: BracketRound$1 | null, currentRound: BracketRound$1 | null, nextRound: BracketRound$1 | null, bracket: Bracket): number;
212
- protected createRoundPortal(round: BracketRound$1, component: ComponentType<unknown>): ComponentPortal<unknown>;
213
- protected createMatchPortal(match: BracketMatch$1, component: ComponentType<unknown>): ComponentPortal<unknown>;
211
+ protected getLineSpan(affectedRound: BracketRound | null, previousRound: BracketRound | null, currentRound: BracketRound | null, nextRound: BracketRound | null, bracket: Bracket): number;
212
+ protected createRoundPortal(round: BracketRound, component: ComponentType<unknown>): ComponentPortal<unknown>;
213
+ protected createMatchPortal(match: BracketMatch, component: ComponentType<unknown>): ComponentPortal<unknown>;
214
214
  private _getRoundById;
215
215
  private _getPreviousMatches;
216
216
  private _getNextMatch;
@@ -248,6 +248,31 @@ declare class BracketRoundHeaderComponent$1 {
248
248
 
249
249
  declare const BracketImports: readonly [typeof BracketComponent, typeof BracketMatchComponent$1, typeof BracketRoundHeaderComponent$1];
250
250
 
251
+ type BracketMatchSource<TMatchData> = {
252
+ data: TMatchData;
253
+ id: string;
254
+ roundId: string;
255
+ home: string | null;
256
+ away: string | null;
257
+ winner: MatchParticipantSide | null;
258
+ status: BracketMatchStatus;
259
+ };
260
+ type BracketDataSource<TRoundData, TMatchData> = {
261
+ rounds: BracketRoundSource<TRoundData>[];
262
+ matches: BracketMatchSource<TMatchData>[];
263
+ mode: TournamentMode;
264
+ };
265
+ type BracketRoundSource<TRoundData> = {
266
+ type: BracketRoundType;
267
+ id: string;
268
+ data: TRoundData;
269
+ name: string;
270
+ };
271
+
272
+ declare const generateRoundTypeFromEthleteRoundType: (type: RoundType, tournamentMode: TournamentMode, roundMatchCount: number) => BracketRoundType;
273
+ declare const generateTournamentModeFormEthleteRounds: (source: RoundStageStructureWithMatchesView[]) => TournamentMode;
274
+ declare const generateBracketDataForEthlete: (source: RoundStageStructureWithMatchesView[]) => BracketDataSource<RoundStageStructureView, MatchListViewUnion>;
275
+
251
276
  type GgData = typeof FIFA_DUMMY_DATA_DOUBLE;
252
277
  declare const FIFA_DUMMY_DATA_DOUBLE: {
253
278
  id: string;
@@ -1889,303 +1914,6 @@ declare const FIFA_DUMMY_DATA_DOUBLE: {
1889
1914
  })[];
1890
1915
  };
1891
1916
 
1892
- type BracketRoundId = string & {
1893
- __brand: 'BracketRoundId';
1894
- };
1895
- type BracketMatchId = string & {
1896
- __brand: 'BracketMatchId';
1897
- };
1898
- type BracketRoundPosition = number & {
1899
- __brand: 'BracketRoundPosition';
1900
- };
1901
- type BracketMatchPosition = number & {
1902
- __brand: 'BracketMatchPosition';
1903
- };
1904
- type MatchParticipantId = string & {
1905
- __brand: 'MatchParticipantId';
1906
- };
1907
- type MatchParticipantShortId = string & {
1908
- __brand: 'MatchParticipantShortId';
1909
- };
1910
- type BracketRoundSwissGroupId = string & {
1911
- __brand: 'BracketRoundSwissGroupId';
1912
- };
1913
- type MatchFactor = number;
1914
- declare const FALLBACK_MATCH_POSITION: BracketMatchPosition;
1915
- declare const TOURNAMENT_MODE: {
1916
- readonly SINGLE_ELIMINATION: "single-elimination";
1917
- readonly DOUBLE_ELIMINATION: "double-elimination";
1918
- readonly GROUP: "group";
1919
- readonly SWISS: "swiss";
1920
- readonly SWISS_WITH_ELIMINATION: "swiss-with-elimination";
1921
- };
1922
- type TournamentMode = (typeof TOURNAMENT_MODE)[keyof typeof TOURNAMENT_MODE];
1923
- declare const COMMON_BRACKET_ROUND_TYPE: {
1924
- readonly THIRD_PLACE: "third-place";
1925
- readonly FINAL: "final";
1926
- };
1927
- declare const SINGLE_ELIMINATION_BRACKET_ROUND_TYPE: {
1928
- readonly SINGLE_ELIMINATION_BRACKET: "single-elimination-bracket";
1929
- };
1930
- declare const DOUBLE_ELIMINATION_BRACKET_ROUND_TYPE: {
1931
- readonly UPPER_BRACKET: "upper-bracket";
1932
- readonly LOWER_BRACKET: "lower-bracket";
1933
- readonly REVERSE_FINAL: "reverse-final";
1934
- };
1935
- declare const SWISS_BRACKET_ROUND_TYPE: {
1936
- readonly SWISS: "swiss";
1937
- };
1938
- declare const GROUP_BRACKET_ROUND_TYPE: {
1939
- readonly GROUP: "group";
1940
- };
1941
- type CommonBracketRoundType = (typeof COMMON_BRACKET_ROUND_TYPE)[keyof typeof COMMON_BRACKET_ROUND_TYPE];
1942
- type SingleEliminationBracketRoundType = CommonBracketRoundType | (typeof SINGLE_ELIMINATION_BRACKET_ROUND_TYPE)[keyof typeof SINGLE_ELIMINATION_BRACKET_ROUND_TYPE];
1943
- type DoubleEliminationBracketRoundType = CommonBracketRoundType | (typeof DOUBLE_ELIMINATION_BRACKET_ROUND_TYPE)[keyof typeof DOUBLE_ELIMINATION_BRACKET_ROUND_TYPE];
1944
- type SwissBracketRoundType = (typeof SWISS_BRACKET_ROUND_TYPE)[keyof typeof SWISS_BRACKET_ROUND_TYPE];
1945
- type GroupBracketRoundType = (typeof GROUP_BRACKET_ROUND_TYPE)[keyof typeof GROUP_BRACKET_ROUND_TYPE];
1946
- type BracketRoundType = SingleEliminationBracketRoundType | DoubleEliminationBracketRoundType | SwissBracketRoundType | GroupBracketRoundType;
1947
- type BracketRoundSource<TRoundData> = {
1948
- type: BracketRoundType;
1949
- id: string;
1950
- data: TRoundData;
1951
- name: string;
1952
- };
1953
- declare const BRACKET_ROUND_MIRROR_TYPE: {
1954
- readonly LEFT: "left";
1955
- readonly RIGHT: "right";
1956
- };
1957
- type BracketRoundMirrorType = (typeof BRACKET_ROUND_MIRROR_TYPE)[keyof typeof BRACKET_ROUND_MIRROR_TYPE];
1958
- type BracketRound<TRoundData, TMatchData> = {
1959
- index: number;
1960
- type: BracketRoundType;
1961
- id: BracketRoundId;
1962
- data: TRoundData;
1963
- position: BracketRoundPosition;
1964
- name: string;
1965
- matchCount: number;
1966
- matches: BracketMatchMap<TRoundData, TMatchData>;
1967
- mirrorRoundType: BracketRoundMirrorType | null;
1968
- isFirstRound: boolean;
1969
- };
1970
- type BracketMatchStatus = 'completed' | 'pending';
1971
- type BracketMatch<TRoundData, TMatchData> = {
1972
- data: TMatchData;
1973
- indexInRound: number;
1974
- id: BracketMatchId;
1975
- round: BracketRound<TRoundData, TMatchData>;
1976
- position: BracketMatchPosition;
1977
- home: BracketParticipant<TRoundData, TMatchData> | null;
1978
- away: BracketParticipant<TRoundData, TMatchData> | null;
1979
- winnerSide: OpponentSide | null;
1980
- winner: BracketParticipant<TRoundData, TMatchData> | null;
1981
- status: BracketMatchStatus;
1982
- };
1983
- type BracketMatchSource<TMatchData> = {
1984
- data: TMatchData;
1985
- id: string;
1986
- roundId: string;
1987
- home: string | null;
1988
- away: string | null;
1989
- winner: OpponentSide | null;
1990
- status: BracketMatchStatus;
1991
- };
1992
- type BracketRoundMap<TRoundData, TMatchData> = Map<BracketRoundId, BracketRound<TRoundData, TMatchData>>;
1993
- type BracketMatchMap<TRoundData, TMatchData> = Map<BracketMatchId, BracketMatch<TRoundData, TMatchData>>;
1994
- type BracketData<TRoundData, TMatchData> = {
1995
- rounds: BracketRoundMap<TRoundData, TMatchData>;
1996
- roundIds: BracketRoundId[];
1997
- matches: BracketMatchMap<TRoundData, TMatchData>;
1998
- matchIds: BracketMatchId[];
1999
- participants: BracketParticipantMap<TRoundData, TMatchData>;
2000
- mode: TournamentMode;
2001
- };
2002
- type BracketDataSource<TRoundData, TMatchData> = {
2003
- rounds: BracketRoundSource<TRoundData>[];
2004
- matches: BracketMatchSource<TMatchData>[];
2005
- mode: TournamentMode;
2006
- };
2007
- type AnyBracketData = BracketData<unknown, unknown>;
2008
- type BracketMatchRelationOneToOne<TRoundData, TMatchData> = {
2009
- type: 'one-to-one';
2010
- currentMatch: BracketMatch<TRoundData, TMatchData>;
2011
- currentRound: BracketRound<TRoundData, TMatchData>;
2012
- previousMatch: BracketMatch<TRoundData, TMatchData>;
2013
- previousRound: BracketRound<TRoundData, TMatchData>;
2014
- nextMatch: BracketMatch<TRoundData, TMatchData>;
2015
- nextRound: BracketRound<TRoundData, TMatchData>;
2016
- };
2017
- type BracketMatchRelationNothingToOne<TRoundData, TMatchData> = {
2018
- type: 'nothing-to-one';
2019
- currentMatch: BracketMatch<TRoundData, TMatchData>;
2020
- currentRound: BracketRound<TRoundData, TMatchData>;
2021
- nextMatch: BracketMatch<TRoundData, TMatchData>;
2022
- nextRound: BracketRound<TRoundData, TMatchData>;
2023
- };
2024
- type BracketMatchRelationOneToNothing<TRoundData, TMatchData> = {
2025
- type: 'one-to-nothing';
2026
- currentMatch: BracketMatch<TRoundData, TMatchData>;
2027
- currentRound: BracketRound<TRoundData, TMatchData>;
2028
- previousMatch: BracketMatch<TRoundData, TMatchData>;
2029
- previousRound: BracketRound<TRoundData, TMatchData>;
2030
- };
2031
- type BracketMatchRelationTwoToOne<TRoundData, TMatchData> = {
2032
- type: 'two-to-one';
2033
- currentMatch: BracketMatch<TRoundData, TMatchData>;
2034
- currentRound: BracketRound<TRoundData, TMatchData>;
2035
- previousUpperMatch: BracketMatch<TRoundData, TMatchData>;
2036
- previousUpperRound: BracketRound<TRoundData, TMatchData>;
2037
- previousLowerMatch: BracketMatch<TRoundData, TMatchData>;
2038
- previousLowerRound: BracketRound<TRoundData, TMatchData>;
2039
- nextMatch: BracketMatch<TRoundData, TMatchData>;
2040
- nextRound: BracketRound<TRoundData, TMatchData>;
2041
- };
2042
- type BracketMatchRelationTwoToNothing<TRoundData, TMatchData> = {
2043
- type: 'two-to-nothing';
2044
- currentMatch: BracketMatch<TRoundData, TMatchData>;
2045
- currentRound: BracketRound<TRoundData, TMatchData>;
2046
- previousUpperMatch: BracketMatch<TRoundData, TMatchData>;
2047
- previousUpperRound: BracketRound<TRoundData, TMatchData>;
2048
- previousLowerMatch: BracketMatch<TRoundData, TMatchData>;
2049
- previousLowerRound: BracketRound<TRoundData, TMatchData>;
2050
- };
2051
- type BracketMatchRelation<TRoundData, TMatchData> = BracketMatchRelationOneToOne<TRoundData, TMatchData> | BracketMatchRelationTwoToOne<TRoundData, TMatchData> | BracketMatchRelationNothingToOne<TRoundData, TMatchData> | BracketMatchRelationOneToNothing<TRoundData, TMatchData> | BracketMatchRelationTwoToNothing<TRoundData, TMatchData>;
2052
- type BracketMatchRelationsMap<TRoundData, TMatchData> = Map<BracketMatchId, BracketMatchRelation<TRoundData, TMatchData>>;
2053
- type BracketRoundRelationNothingToOne<TRoundData, TMatchData> = {
2054
- type: 'nothing-to-one';
2055
- currentRound: BracketRound<TRoundData, TMatchData>;
2056
- nextRound: BracketRound<TRoundData, TMatchData>;
2057
- nextRoundMatchFactor: number;
2058
- };
2059
- type BracketRoundRelationOneToNothing<TRoundData, TMatchData> = {
2060
- type: 'one-to-nothing';
2061
- currentRound: BracketRound<TRoundData, TMatchData>;
2062
- previousRound: BracketRound<TRoundData, TMatchData>;
2063
- previousRoundMatchFactor: number;
2064
- rootRoundMatchFactor: number;
2065
- };
2066
- type BracketRoundRelationOneToOne<TRoundData, TMatchData> = {
2067
- type: 'one-to-one';
2068
- currentRound: BracketRound<TRoundData, TMatchData>;
2069
- previousRound: BracketRound<TRoundData, TMatchData>;
2070
- nextRound: BracketRound<TRoundData, TMatchData>;
2071
- nextRoundMatchFactor: number;
2072
- previousRoundMatchFactor: number;
2073
- rootRoundMatchFactor: number;
2074
- };
2075
- type BracketRoundRelationTwoToOne<TRoundData, TMatchData> = {
2076
- type: 'two-to-one';
2077
- currentRound: BracketRound<TRoundData, TMatchData>;
2078
- previousUpperRound: BracketRound<TRoundData, TMatchData>;
2079
- previousLowerRound: BracketRound<TRoundData, TMatchData>;
2080
- nextRound: BracketRound<TRoundData, TMatchData>;
2081
- nextRoundMatchFactor: number;
2082
- previousUpperRoundMatchFactor: number;
2083
- previousLowerRoundMatchFactor: number;
2084
- upperRootRoundMatchFactor: number;
2085
- lowerRootRoundMatchFactor: number;
2086
- };
2087
- type BracketRoundRelationTwoToNothing<TRoundData, TMatchData> = {
2088
- type: 'two-to-nothing';
2089
- currentRound: BracketRound<TRoundData, TMatchData>;
2090
- previousUpperRound: BracketRound<TRoundData, TMatchData>;
2091
- previousLowerRound: BracketRound<TRoundData, TMatchData>;
2092
- previousUpperRoundMatchFactor: number;
2093
- previousLowerRoundMatchFactor: number;
2094
- upperRootRoundMatchFactor: number;
2095
- lowerRootRoundMatchFactor: number;
2096
- };
2097
- type BracketRoundRelation<TRoundData, TMatchData> = BracketRoundRelationNothingToOne<TRoundData, TMatchData> | BracketRoundRelationOneToNothing<TRoundData, TMatchData> | BracketRoundRelationOneToOne<TRoundData, TMatchData> | BracketRoundRelationTwoToOne<TRoundData, TMatchData> | BracketRoundRelationTwoToNothing<TRoundData, TMatchData>;
2098
- type BracketRoundRelations<TRoundData, TMatchData> = Map<BracketRoundId, BracketRoundRelation<TRoundData, TMatchData>>;
2099
- type MatchPositionMaps<TRoundData, TMatchData> = Map<BracketRoundId, Map<BracketMatchPosition, BracketMatch<TRoundData, TMatchData>>>;
2100
- type ParticipantMatchResult = 'win' | 'loss' | 'tie';
2101
- type ParticipantMatchType = BracketRoundType;
2102
- type MatchParticipantMatch<TRoundData, TMatchData> = {
2103
- bracketMatch: BracketMatch<TRoundData, TMatchData>;
2104
- result: ParticipantMatchResult | null;
2105
- isEliminated: boolean;
2106
- isEliminationMatch: boolean;
2107
- isFirstRound: boolean;
2108
- isLastRound: boolean;
2109
- tieCount: number;
2110
- winCount: number;
2111
- lossCount: number;
2112
- };
2113
- type MatchParticipant<TRoundData, TMatchData> = {
2114
- id: MatchParticipantId;
2115
- name: string;
2116
- matches: Map<BracketMatchId, MatchParticipantMatch<TRoundData, TMatchData>>;
2117
- };
2118
- type BracketParticipantMatch<TRoundData, TMatchData> = {
2119
- side: OpponentSide;
2120
- bracketMatch: BracketMatch<TRoundData, TMatchData>;
2121
- };
2122
- type BracketParticipant<TRoundData, TMatchData> = {
2123
- id: MatchParticipantId;
2124
- shortId: MatchParticipantShortId;
2125
- name: string;
2126
- matches: Map<BracketMatchId, BracketParticipantMatch<TRoundData, TMatchData>>;
2127
- };
2128
- type BracketParticipantMap<TRoundData, TMatchData> = Map<MatchParticipantId, BracketParticipant<TRoundData, TMatchData>>;
2129
- type MatchParticipantMap<TRoundData, TMatchData> = Map<MatchParticipantId, MatchParticipant<TRoundData, TMatchData>>;
2130
- type BracketRoundSwissGroup<TRoundData, TMatchData> = {
2131
- id: BracketRoundSwissGroupId;
2132
- name: string;
2133
- matches: BracketMatchMap<TRoundData, TMatchData>;
2134
- allowedMatchCount: number;
2135
- };
2136
- type BracketRoundSwissGroupMap<TRoundData, TMatchData> = Map<BracketRoundSwissGroupId, BracketRoundSwissGroup<TRoundData, TMatchData>>;
2137
- type BracketRoundSwissData<TRoundData, TMatchData> = {
2138
- groups: BracketRoundSwissGroupMap<TRoundData, TMatchData>;
2139
- };
2140
- type BracketRoundMapWithSwissData<TRoundData, TMatchData> = Map<BracketRoundId, BracketRoundSwissData<TRoundData, TMatchData>>;
2141
- type BracketRoundTypeMap<TRoundData, TMatchData> = Map<BracketRoundType, BracketRoundMap<TRoundData, TMatchData>>;
2142
- declare const generateRoundTypeFromEthleteRoundType: (type: RoundType, tournamentMode: TournamentMode, roundMatchCount: number) => BracketRoundType;
2143
- declare const generateTournamentModeFormEthleteRounds: (source: RoundStageStructureWithMatchesView[]) => TournamentMode;
2144
- declare const canRenderLayoutInTournamentMode: (layout: BracketDataLayout, mode: TournamentMode) => boolean;
2145
- declare const BRACKET_DATA_LAYOUT: {
2146
- readonly LEFT_TO_RIGHT: "left-to-right";
2147
- readonly MIRRORED: "mirrored";
2148
- };
2149
- type BracketDataLayout = (typeof BRACKET_DATA_LAYOUT)[keyof typeof BRACKET_DATA_LAYOUT];
2150
- declare const FIRST_ROUNDS_TYPE: {
2151
- readonly SINGLE: "single";
2152
- readonly DOUBLE: "double";
2153
- };
2154
- type FirstRoundsType = (typeof FIRST_ROUNDS_TYPE)[keyof typeof FIRST_ROUNDS_TYPE];
2155
- type FirstSingleRounds<TRoundData, TMatchData> = {
2156
- type: typeof FIRST_ROUNDS_TYPE.SINGLE;
2157
- first: BracketRound<TRoundData, TMatchData>;
2158
- };
2159
- type FirstDoubleRounds<TRoundData, TMatchData> = {
2160
- type: typeof FIRST_ROUNDS_TYPE.DOUBLE;
2161
- upper: BracketRound<TRoundData, TMatchData>;
2162
- lower: BracketRound<TRoundData, TMatchData>;
2163
- };
2164
- type FirstRounds<TRoundData, TMatchData> = FirstSingleRounds<TRoundData, TMatchData> | FirstDoubleRounds<TRoundData, TMatchData>;
2165
- declare const getFirstRounds: <TRoundData, TMatchData>(bracketData: BracketData<TRoundData, TMatchData>, roundTypeMap: BracketRoundTypeMap<TRoundData, TMatchData>) => FirstRounds<TRoundData, TMatchData>;
2166
- declare const generateMatchPositionMaps: <TRoundData, TMatchData>(bracketData: BracketData<TRoundData, TMatchData>) => MatchPositionMaps<TRoundData, TMatchData>;
2167
- declare const generateBracketRoundTypeMap: <TRoundData, TMatchData>(bracketData: BracketData<TRoundData, TMatchData>) => BracketRoundTypeMap<TRoundData, TMatchData>;
2168
- declare const generateRoundRelations: <TRoundData, TMatchData>(bracketData: BracketData<TRoundData, TMatchData>) => BracketRoundRelations<TRoundData, TMatchData>;
2169
- declare const generateMatchRelations: <TRoundData, TMatchData>(bracketData: BracketData<TRoundData, TMatchData>, roundRelations: BracketRoundRelations<TRoundData, TMatchData>, matchPositionMaps: MatchPositionMaps<TRoundData, TMatchData>) => BracketMatchRelationsMap<TRoundData, TMatchData>;
2170
- declare const generateMatchRelationPositions: <TRoundData, TMatchData>(currentRelation: BracketRoundRelation<TRoundData, TMatchData>, match: BracketMatch<TRoundData, TMatchData>) => {
2171
- nextRoundMatchPosition: BracketMatchPosition;
2172
- previousUpperRoundMatchPosition: BracketMatchPosition;
2173
- previousLowerRoundMatchPosition: BracketMatchPosition;
2174
- };
2175
- declare const generateMatchPosition: (match: BracketMatch<unknown, unknown>, factor: MatchFactor) => BracketMatchPosition;
2176
- declare const logRoundRelations: (roundRelations: BracketRoundRelations<unknown, unknown>, bracketData: BracketData<unknown, unknown>) => void;
2177
- declare const generateMatchParticipantMap: <TRoundData, TMatchData>(bracketData: BracketData<TRoundData, TMatchData>) => MatchParticipantMap<TRoundData, TMatchData>;
2178
- declare const getAvailableSwissGroupsForRound: (roundNumber: number, totalMatchesInRound: number) => {
2179
- id: BracketRoundSwissGroupId;
2180
- name: string;
2181
- matchesInGroup: number;
2182
- }[];
2183
- declare const generateBracketRoundSwissGroupMaps: <TRoundData, TMatchData>(bracketData: BracketData<TRoundData, TMatchData>, matchParticipantMap: MatchParticipantMap<TRoundData, TMatchData>) => BracketRoundMapWithSwissData<TRoundData, TMatchData> | null;
2184
- declare const generateBracketDataForEthlete: (source: RoundStageStructureWithMatchesView[]) => BracketDataSource<RoundStageStructureView, MatchListViewUnion>;
2185
- type GenerateBracketDataOptions = {
2186
- layout: BracketDataLayout;
2187
- };
2188
- declare const generateBracketData: <TRoundData, TMatchData>(source: BracketDataSource<TRoundData, TMatchData>, options: GenerateBracketDataOptions) => BracketData<TRoundData, TMatchData>;
2189
1917
  declare const generateTournamentModeFormGgData: (source: GgData) => TournamentMode;
2190
1918
  declare const generateRoundTypeFromGgMatch: (tournamentMode: TournamentMode, bracketType: string | null, // 'winner' | 'looser' | null,
2191
1919
  stageNumber: number, matchCount: number) => BracketRoundType;
@@ -3807,50 +3535,348 @@ declare const generateBracketDataForGg: (source: GgData) => BracketDataSource<nu
3807
3535
  hasStream: boolean;
3808
3536
  }>;
3809
3537
 
3810
- type generateBracketGridDefinitionsOptions = {
3811
- includeRoundHeaders: boolean;
3538
+ declare class BracketMap<K, V> extends Map<K, V> {
3539
+ constructor();
3540
+ getOrThrow(key: K): V;
3541
+ first(): V | undefined;
3542
+ last(): V | undefined;
3543
+ }
3544
+
3545
+ declare const TOURNAMENT_MODE: {
3546
+ readonly SINGLE_ELIMINATION: "single-elimination";
3547
+ readonly DOUBLE_ELIMINATION: "double-elimination";
3548
+ readonly GROUP: "group";
3549
+ readonly SWISS: "swiss";
3550
+ readonly SWISS_WITH_ELIMINATION: "swiss-with-elimination";
3551
+ };
3552
+ type TournamentMode = (typeof TOURNAMENT_MODE)[keyof typeof TOURNAMENT_MODE];
3553
+
3554
+ declare const canRenderLayoutInTournamentMode: (layout: BracketDataLayout, mode: TournamentMode) => boolean;
3555
+ declare const BRACKET_DATA_LAYOUT: {
3556
+ readonly LEFT_TO_RIGHT: "left-to-right";
3557
+ readonly MIRRORED: "mirrored";
3558
+ };
3559
+ type BracketDataLayout = (typeof BRACKET_DATA_LAYOUT)[keyof typeof BRACKET_DATA_LAYOUT];
3560
+
3561
+ type MatchParticipantId = string & {
3562
+ __brand: 'MatchParticipantId';
3563
+ };
3564
+ type MatchParticipantShortId = string & {
3565
+ __brand: 'MatchParticipantShortId';
3566
+ };
3567
+ type NewBracketParticipantBase = {
3568
+ id: MatchParticipantId;
3569
+ shortId: MatchParticipantShortId;
3570
+ };
3571
+ type NewBracketParticipantWithRelationsBase = NewBracketParticipantBase & {
3572
+ matchIds: BracketMatchId[];
3573
+ };
3574
+ declare const createParticipantsMapBase: <TRoundData, TMatchData>(source: BracketDataSource<TRoundData, TMatchData>) => BracketMap<MatchParticipantId, NewBracketParticipantWithRelationsBase>;
3575
+
3576
+ type BracketRoundId = string & {
3577
+ __brand: 'BracketRoundId';
3578
+ };
3579
+ type BracketRoundPosition = number & {
3580
+ __brand: 'BracketRoundPosition';
3581
+ };
3582
+ type BracketRoundMirrorType = (typeof BRACKET_ROUND_MIRROR_TYPE)[keyof typeof BRACKET_ROUND_MIRROR_TYPE];
3583
+ declare const BRACKET_ROUND_MIRROR_TYPE: {
3584
+ readonly LEFT: "left";
3585
+ readonly RIGHT: "right";
3586
+ };
3587
+ declare const COMMON_BRACKET_ROUND_TYPE: {
3588
+ readonly THIRD_PLACE: "third-place";
3589
+ readonly FINAL: "final";
3590
+ };
3591
+ declare const SINGLE_ELIMINATION_BRACKET_ROUND_TYPE: {
3592
+ readonly SINGLE_ELIMINATION_BRACKET: "single-elimination-bracket";
3593
+ };
3594
+ declare const DOUBLE_ELIMINATION_BRACKET_ROUND_TYPE: {
3595
+ readonly UPPER_BRACKET: "upper-bracket";
3596
+ readonly LOWER_BRACKET: "lower-bracket";
3597
+ readonly REVERSE_FINAL: "reverse-final";
3598
+ };
3599
+ declare const SWISS_BRACKET_ROUND_TYPE: {
3600
+ readonly SWISS: "swiss";
3601
+ };
3602
+ declare const GROUP_BRACKET_ROUND_TYPE: {
3603
+ readonly GROUP: "group";
3604
+ };
3605
+ type CommonBracketRoundType = (typeof COMMON_BRACKET_ROUND_TYPE)[keyof typeof COMMON_BRACKET_ROUND_TYPE];
3606
+ type SingleEliminationBracketRoundType = CommonBracketRoundType | (typeof SINGLE_ELIMINATION_BRACKET_ROUND_TYPE)[keyof typeof SINGLE_ELIMINATION_BRACKET_ROUND_TYPE];
3607
+ type DoubleEliminationBracketRoundType = CommonBracketRoundType | (typeof DOUBLE_ELIMINATION_BRACKET_ROUND_TYPE)[keyof typeof DOUBLE_ELIMINATION_BRACKET_ROUND_TYPE];
3608
+ type SwissBracketRoundType = (typeof SWISS_BRACKET_ROUND_TYPE)[keyof typeof SWISS_BRACKET_ROUND_TYPE];
3609
+ type GroupBracketRoundType = (typeof GROUP_BRACKET_ROUND_TYPE)[keyof typeof GROUP_BRACKET_ROUND_TYPE];
3610
+ type BracketRoundType = SingleEliminationBracketRoundType | DoubleEliminationBracketRoundType | SwissBracketRoundType | GroupBracketRoundType;
3611
+ type NewBracketRoundBase<TRoundData> = {
3612
+ logicalIndex: number;
3613
+ type: BracketRoundType;
3614
+ id: BracketRoundId;
3615
+ data: TRoundData;
3616
+ position: BracketRoundPosition;
3617
+ name: string;
3618
+ matchCount: number;
3619
+ mirrorRoundType: BracketRoundMirrorType | null;
3620
+ isFirstRound: boolean;
3621
+ isLastRound: boolean;
3622
+ isFirstOfType: boolean;
3623
+ isLastOfType: boolean;
3624
+ };
3625
+ type NewBracketRoundWithRelationsBase<TRoundData> = NewBracketRoundBase<TRoundData> & {
3626
+ matchIds: BracketMatchId[];
3627
+ };
3628
+ declare const createRoundsMapBase: <TRoundData, TMatchData>(source: BracketDataSource<TRoundData, TMatchData>, options: GenerateBracketDataOptions) => BracketMap<BracketRoundId, NewBracketRoundWithRelationsBase<TRoundData>>;
3629
+
3630
+ type ParticipantMatchResult = 'win' | 'loss' | 'tie';
3631
+ type MatchParticipantSide = 'home' | 'away';
3632
+ type NewBracketMatchParticipantBase = NewBracketParticipantBase & {
3633
+ result: ParticipantMatchResult | null;
3634
+ isEliminated: boolean;
3635
+ isEliminationMatch: boolean;
3636
+ tieCount: number;
3637
+ winCount: number;
3638
+ lossCount: number;
3639
+ side: MatchParticipantSide;
3640
+ };
3641
+ type NewBracketMatchParticipantWithRelationsBase = NewBracketMatchParticipantBase & NewBracketParticipantWithRelationsBase;
3642
+ declare const createNewMatchParticipantBase: <TRoundData, TMatchData>(source: BracketDataSource<TRoundData, TMatchData>, participantId: MatchParticipantId | null, match: BracketMatchSource<TMatchData>, rounds: BracketMap<BracketRoundId, NewBracketRoundWithRelationsBase<TRoundData>>, matchRoundId: BracketRoundId, participants: BracketMap<MatchParticipantId, NewBracketParticipantWithRelationsBase>) => NewBracketMatchParticipantWithRelationsBase | null;
3643
+
3644
+ type BracketMatchId = string & {
3645
+ __brand: 'BracketMatchId';
3646
+ };
3647
+ type BracketMatchPosition = number & {
3648
+ __brand: 'BracketMatchPosition';
3649
+ };
3650
+ type BracketMatchStatus = 'completed' | 'pending';
3651
+ type NewBracketMatchBase<TMatchData> = {
3652
+ data: TMatchData;
3653
+ indexInRound: number;
3654
+ id: BracketMatchId;
3655
+ position: BracketMatchPosition;
3656
+ winnerSide: MatchParticipantSide | null;
3657
+ status: BracketMatchStatus;
3658
+ };
3659
+ type NewBracketMatchWithRelationsBase<TMatchData> = NewBracketMatchBase<TMatchData> & {
3660
+ roundId: BracketRoundId;
3661
+ home: NewBracketMatchParticipantWithRelationsBase | null;
3662
+ away: NewBracketMatchParticipantWithRelationsBase | null;
3663
+ winner: NewBracketMatchParticipantWithRelationsBase | null;
3664
+ };
3665
+ declare const createMatchesMapBase: <TRoundData, TMatchData>(source: BracketDataSource<TRoundData, TMatchData>, rounds: BracketMap<BracketRoundId, NewBracketRoundWithRelationsBase<TRoundData>>, participants: BracketMap<MatchParticipantId, NewBracketParticipantWithRelationsBase>) => BracketMap<BracketMatchId, NewBracketMatchWithRelationsBase<TMatchData>>;
3666
+
3667
+ type NewBracketBase<TRoundData, TMatchData> = {
3668
+ rounds: BracketMap<BracketRoundId, NewBracketRoundWithRelationsBase<TRoundData>>;
3669
+ matches: BracketMap<BracketMatchId, NewBracketMatchWithRelationsBase<TMatchData>>;
3670
+ participants: BracketMap<MatchParticipantId, NewBracketParticipantWithRelationsBase>;
3671
+ mode: TournamentMode;
3672
+ };
3673
+ type GenerateBracketDataOptions = {
3674
+ layout: BracketDataLayout;
3675
+ };
3676
+ declare const createNewBracketBase: <TRoundData, TMatchData>(source: BracketDataSource<TRoundData, TMatchData>, options: GenerateBracketDataOptions) => NewBracketBase<TRoundData, TMatchData>;
3677
+
3678
+ type BracketRoundRelationNothingToOne<TRoundData, TMatchData> = {
3679
+ type: 'nothing-to-one';
3680
+ currentRound: NewBracketRound<TRoundData, TMatchData>;
3681
+ nextRound: NewBracketRound<TRoundData, TMatchData>;
3682
+ nextRoundMatchFactor: number;
3683
+ };
3684
+ type BracketRoundRelationOneToNothing<TRoundData, TMatchData> = {
3685
+ type: 'one-to-nothing';
3686
+ currentRound: NewBracketRound<TRoundData, TMatchData>;
3687
+ previousRound: NewBracketRound<TRoundData, TMatchData>;
3688
+ previousRoundMatchFactor: number;
3689
+ rootRoundMatchFactor: number;
3690
+ };
3691
+ type BracketRoundRelationOneToOne<TRoundData, TMatchData> = {
3692
+ type: 'one-to-one';
3693
+ currentRound: NewBracketRound<TRoundData, TMatchData>;
3694
+ previousRound: NewBracketRound<TRoundData, TMatchData>;
3695
+ nextRound: NewBracketRound<TRoundData, TMatchData>;
3696
+ nextRoundMatchFactor: number;
3697
+ previousRoundMatchFactor: number;
3698
+ rootRoundMatchFactor: number;
3699
+ };
3700
+ type BracketRoundRelationTwoToOne<TRoundData, TMatchData> = {
3701
+ type: 'two-to-one';
3702
+ currentRound: NewBracketRound<TRoundData, TMatchData>;
3703
+ previousUpperRound: NewBracketRound<TRoundData, TMatchData>;
3704
+ previousLowerRound: NewBracketRound<TRoundData, TMatchData>;
3705
+ nextRound: NewBracketRound<TRoundData, TMatchData>;
3706
+ nextRoundMatchFactor: number;
3707
+ previousUpperRoundMatchFactor: number;
3708
+ previousLowerRoundMatchFactor: number;
3709
+ upperRootRoundMatchFactor: number;
3710
+ lowerRootRoundMatchFactor: number;
3812
3711
  };
3712
+ type BracketRoundRelationTwoToNothing<TRoundData, TMatchData> = {
3713
+ type: 'two-to-nothing';
3714
+ currentRound: NewBracketRound<TRoundData, TMatchData>;
3715
+ previousUpperRound: NewBracketRound<TRoundData, TMatchData>;
3716
+ previousLowerRound: NewBracketRound<TRoundData, TMatchData>;
3717
+ previousUpperRoundMatchFactor: number;
3718
+ previousLowerRoundMatchFactor: number;
3719
+ upperRootRoundMatchFactor: number;
3720
+ lowerRootRoundMatchFactor: number;
3721
+ };
3722
+ type BracketRoundRelation<TRoundData, TMatchData> = BracketRoundRelationNothingToOne<TRoundData, TMatchData> | BracketRoundRelationOneToNothing<TRoundData, TMatchData> | BracketRoundRelationOneToOne<TRoundData, TMatchData> | BracketRoundRelationTwoToOne<TRoundData, TMatchData> | BracketRoundRelationTwoToNothing<TRoundData, TMatchData>;
3723
+
3724
+ type BracketMatchRelationOneToOne<TRoundData, TMatchData> = {
3725
+ type: 'one-to-one';
3726
+ currentMatch: NewBracketMatch<TRoundData, TMatchData>;
3727
+ currentRound: NewBracketRound<TRoundData, TMatchData>;
3728
+ previousMatch: NewBracketMatch<TRoundData, TMatchData>;
3729
+ previousRound: NewBracketRound<TRoundData, TMatchData>;
3730
+ nextMatch: NewBracketMatch<TRoundData, TMatchData>;
3731
+ nextRound: NewBracketRound<TRoundData, TMatchData>;
3732
+ };
3733
+ type BracketMatchRelationNothingToOne<TRoundData, TMatchData> = {
3734
+ type: 'nothing-to-one';
3735
+ currentMatch: NewBracketMatch<TRoundData, TMatchData>;
3736
+ currentRound: NewBracketRound<TRoundData, TMatchData>;
3737
+ nextMatch: NewBracketMatch<TRoundData, TMatchData>;
3738
+ nextRound: NewBracketRound<TRoundData, TMatchData>;
3739
+ };
3740
+ type BracketMatchRelationOneToNothing<TRoundData, TMatchData> = {
3741
+ type: 'one-to-nothing';
3742
+ currentMatch: NewBracketMatch<TRoundData, TMatchData>;
3743
+ currentRound: NewBracketRound<TRoundData, TMatchData>;
3744
+ previousMatch: NewBracketMatch<TRoundData, TMatchData>;
3745
+ previousRound: NewBracketRound<TRoundData, TMatchData>;
3746
+ };
3747
+ type BracketMatchRelationTwoToOne<TRoundData, TMatchData> = {
3748
+ type: 'two-to-one';
3749
+ currentMatch: NewBracketMatch<TRoundData, TMatchData>;
3750
+ currentRound: NewBracketRound<TRoundData, TMatchData>;
3751
+ previousUpperMatch: NewBracketMatch<TRoundData, TMatchData>;
3752
+ previousUpperRound: NewBracketRound<TRoundData, TMatchData>;
3753
+ previousLowerMatch: NewBracketMatch<TRoundData, TMatchData>;
3754
+ previousLowerRound: NewBracketRound<TRoundData, TMatchData>;
3755
+ nextMatch: NewBracketMatch<TRoundData, TMatchData>;
3756
+ nextRound: NewBracketRound<TRoundData, TMatchData>;
3757
+ };
3758
+ type BracketMatchRelationTwoToNothing<TRoundData, TMatchData> = {
3759
+ type: 'two-to-nothing';
3760
+ currentMatch: NewBracketMatch<TRoundData, TMatchData>;
3761
+ currentRound: NewBracketRound<TRoundData, TMatchData>;
3762
+ previousUpperMatch: NewBracketMatch<TRoundData, TMatchData>;
3763
+ previousUpperRound: NewBracketRound<TRoundData, TMatchData>;
3764
+ previousLowerMatch: NewBracketMatch<TRoundData, TMatchData>;
3765
+ previousLowerRound: NewBracketRound<TRoundData, TMatchData>;
3766
+ };
3767
+ type BracketMatchRelation<TRoundData, TMatchData> = BracketMatchRelationOneToOne<TRoundData, TMatchData> | BracketMatchRelationTwoToOne<TRoundData, TMatchData> | BracketMatchRelationNothingToOne<TRoundData, TMatchData> | BracketMatchRelationOneToNothing<TRoundData, TMatchData> | BracketMatchRelationTwoToNothing<TRoundData, TMatchData>;
3768
+
3769
+ type NewBracket<TRoundData, TMatchData> = {
3770
+ rounds: BracketMap<BracketRoundId, NewBracketRound<TRoundData, TMatchData>>;
3771
+ roundsByType: BracketMap<BracketRoundType, BracketMap<BracketRoundId, NewBracketRound<TRoundData, TMatchData>>>;
3772
+ matches: BracketMap<BracketMatchId, NewBracketMatch<TRoundData, TMatchData>>;
3773
+ participants: BracketMap<MatchParticipantId, NewBracketParticipant<TRoundData, TMatchData>>;
3774
+ mode: TournamentMode;
3775
+ };
3776
+ type NewBracketRound<TRoundData, TMatchData> = NewBracketRoundBase<TRoundData> & {
3777
+ matches: BracketMap<BracketMatchId, NewBracketMatch<TRoundData, TMatchData>>;
3778
+ relation: BracketRoundRelation<TRoundData, TMatchData>;
3779
+ };
3780
+ type NewBracketMatch<TRoundData, TMatchData> = NewBracketMatchBase<TMatchData> & {
3781
+ round: NewBracketRound<TRoundData, TMatchData>;
3782
+ home: NewBracketMatchParticipant<TRoundData, TMatchData> | null;
3783
+ away: NewBracketMatchParticipant<TRoundData, TMatchData> | null;
3784
+ winner: NewBracketMatchParticipant<TRoundData, TMatchData> | null;
3785
+ relation: BracketMatchRelation<TRoundData, TMatchData>;
3786
+ };
3787
+ type NewBracketParticipantMatch<TRoundData, TMatchData> = NewBracketMatch<TRoundData, TMatchData> & {
3788
+ me: NewBracketMatchParticipant<TRoundData, TMatchData>;
3789
+ opponent: NewBracketMatchParticipant<TRoundData, TMatchData> | null;
3790
+ };
3791
+ type NewBracketParticipant<TRoundData, TMatchData> = NewBracketParticipantBase & {
3792
+ matches: BracketMap<BracketMatchId, NewBracketParticipantMatch<TRoundData, TMatchData>>;
3793
+ };
3794
+ type NewBracketMatchParticipant<TRoundData, TMatchData> = NewBracketMatchParticipantBase & {
3795
+ matches: BracketMap<BracketMatchId, NewBracketMatch<TRoundData, TMatchData>>;
3796
+ };
3797
+
3798
+ declare const FIRST_ROUNDS_TYPE: {
3799
+ readonly SINGLE: "single";
3800
+ readonly DOUBLE: "double";
3801
+ };
3802
+ type FirstSingleRounds<TRoundData, TMatchData> = {
3803
+ type: typeof FIRST_ROUNDS_TYPE.SINGLE;
3804
+ first: NewBracketRound<TRoundData, TMatchData>;
3805
+ };
3806
+ type FirstDoubleRounds<TRoundData, TMatchData> = {
3807
+ type: typeof FIRST_ROUNDS_TYPE.DOUBLE;
3808
+ upper: NewBracketRound<TRoundData, TMatchData>;
3809
+ lower: NewBracketRound<TRoundData, TMatchData>;
3810
+ };
3811
+ type FirstRounds<TRoundData, TMatchData> = FirstSingleRounds<TRoundData, TMatchData> | FirstDoubleRounds<TRoundData, TMatchData>;
3812
+
3813
+ type BracketRoundSwissGroupId = string & {
3814
+ __brand: 'BracketRoundSwissGroupId';
3815
+ };
3816
+ type BracketRoundSwissGroup<TRoundData, TMatchData> = {
3817
+ id: BracketRoundSwissGroupId;
3818
+ name: string;
3819
+ matches: BracketMap<BracketMatchId, NewBracketMatch<TRoundData, TMatchData>>;
3820
+ allowedMatchCount: number;
3821
+ };
3822
+ type BracketRoundSwissGroupMap<TRoundData, TMatchData> = Map<BracketRoundSwissGroupId, BracketRoundSwissGroup<TRoundData, TMatchData>>;
3823
+ type BracketRoundSwissData<TRoundData, TMatchData> = {
3824
+ groups: BracketRoundSwissGroupMap<TRoundData, TMatchData>;
3825
+ };
3826
+ type BracketRoundMapWithSwissData<TRoundData, TMatchData> = Map<BracketRoundId, BracketRoundSwissData<TRoundData, TMatchData>>;
3827
+
3828
+ declare class NewBracketDefaultMatchComponent<TRoundData = unknown, TMatchData = unknown> {
3829
+ bracketRound: i0.InputSignal<NewBracketRound<TRoundData, TMatchData>>;
3830
+ bracketMatch: i0.InputSignal<NewBracketMatch<TRoundData, TMatchData>>;
3831
+ static ɵfac: i0.ɵɵFactoryDeclaration<NewBracketDefaultMatchComponent<any, any>, never>;
3832
+ static ɵcmp: i0.ɵɵComponentDeclaration<NewBracketDefaultMatchComponent<any, any>, "et-new-bracket-default-match", never, { "bracketRound": { "alias": "bracketRound"; "required": true; "isSignal": true; }; "bracketMatch": { "alias": "bracketMatch"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
3833
+ }
3834
+
3835
+ declare class NewBracketDefaultRoundHeaderComponent<TRoundData = unknown, TMatchData = unknown> {
3836
+ bracketRound: i0.InputSignal<NewBracketRound<TRoundData, TMatchData>>;
3837
+ static ɵfac: i0.ɵɵFactoryDeclaration<NewBracketDefaultRoundHeaderComponent<any, any>, never>;
3838
+ static ɵcmp: i0.ɵɵComponentDeclaration<NewBracketDefaultRoundHeaderComponent<any, any>, "et-new-bracket-default-round-header", never, { "bracketRound": { "alias": "bracketRound"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
3839
+ }
3840
+
3813
3841
  type BracketGridDefinitions = {
3814
3842
  columnCount: number;
3815
3843
  rowCount: number;
3816
3844
  };
3817
- declare const generateBracketGridDefinitions: <TRoundData, TMatchData>(bracketData: BracketData<TRoundData, TMatchData>, roundTypeMap: BracketRoundTypeMap<TRoundData, TMatchData>, options: generateBracketGridDefinitionsOptions) => BracketGridDefinitions;
3818
3845
 
3819
3846
  type BracketRoundHeaderComponent<TRoundData, TMatchData> = ComponentType<{
3820
- bracketRound: InputSignal<BracketRound<TRoundData, TMatchData>>;
3847
+ bracketRound: InputSignal<NewBracketRound<TRoundData, TMatchData>>;
3821
3848
  }>;
3822
- type ComponentInputValue<T> = () => {
3823
- [P in keyof T]: T[P] extends InputSignal<infer U> ? U : never;
3824
- };
3825
3849
  type BracketMatchComponent<TRoundData, TMatchData> = ComponentType<{
3826
- bracketRound: InputSignal<BracketRound<TRoundData, TMatchData>>;
3827
- bracketMatch: InputSignal<BracketMatch<TRoundData, TMatchData>>;
3850
+ bracketRound: InputSignal<NewBracketRound<TRoundData, TMatchData>>;
3851
+ bracketMatch: InputSignal<NewBracketMatch<TRoundData, TMatchData>>;
3828
3852
  }>;
3829
3853
  type BracketGridRoundItem<TRoundData, TMatchData> = {
3830
- id: string;
3831
- layoutId: string;
3854
+ id: BracketRoundId;
3855
+ layoutId: `${BracketRoundId}-layout`;
3832
3856
  columnStart: number;
3833
3857
  columnEnd: number;
3858
+ rowStart: number;
3859
+ rowEnd: number;
3834
3860
  roundRelation: BracketRoundRelation<TRoundData, TMatchData>;
3835
3861
  items: Map<BracketRoundId | BracketMatchId, BracketGridItem<TRoundData, TMatchData>>;
3836
3862
  };
3837
3863
  type BracketGridRoundHeaderItem<TRoundData, TMatchData> = {
3838
3864
  type: 'round';
3839
- id: string;
3840
- layoutId: string;
3865
+ id: BracketRoundId;
3866
+ layoutId: `${BracketRoundId}-layout`;
3841
3867
  rowStart: number;
3842
3868
  rowEnd: number;
3843
3869
  className: string;
3844
3870
  component: BracketRoundHeaderComponent<TRoundData, TMatchData>;
3845
3871
  roundRelation: BracketRoundRelation<TRoundData, TMatchData>;
3846
3872
  data: {
3847
- bracketRound: BracketRound<TRoundData, TMatchData>;
3873
+ bracketRound: NewBracketRound<TRoundData, TMatchData>;
3848
3874
  };
3849
3875
  };
3850
3876
  type BracketGridMatchItem<TRoundData, TMatchData> = {
3851
3877
  type: 'match';
3852
- id: string;
3853
- layoutId: string;
3878
+ id: BracketMatchId;
3879
+ layoutId: `${BracketMatchId}-layout`;
3854
3880
  rowStart: number;
3855
3881
  rowEnd: number;
3856
3882
  className: string;
@@ -3858,69 +3884,22 @@ type BracketGridMatchItem<TRoundData, TMatchData> = {
3858
3884
  matchRelation: BracketMatchRelation<TRoundData, TMatchData>;
3859
3885
  roundRelation: BracketRoundRelation<TRoundData, TMatchData>;
3860
3886
  data: {
3861
- bracketRound: BracketRound<TRoundData, TMatchData>;
3862
- bracketMatch: BracketMatch<TRoundData, TMatchData>;
3887
+ bracketRound: NewBracketRound<TRoundData, TMatchData>;
3888
+ bracketMatch: NewBracketMatch<TRoundData, TMatchData>;
3863
3889
  };
3864
3890
  };
3865
3891
  type BracketGridItem<TRoundData, TMatchData> = BracketGridRoundHeaderItem<TRoundData, TMatchData> | BracketGridMatchItem<TRoundData, TMatchData>;
3866
- type GenerateBracketGridItemsOptions<TRoundData, TMatchData> = {
3867
- includeRoundHeaders: boolean;
3868
- headerComponent?: BracketRoundHeaderComponent<TRoundData, TMatchData>;
3869
- matchComponent?: BracketMatchComponent<TRoundData, TMatchData>;
3870
- finalMatchComponent?: BracketMatchComponent<TRoundData, TMatchData>;
3871
- };
3872
- type GenerateBracketGridItemsOptionsWithDefaults<TRoundData, TMatchData> = {
3873
- includeRoundHeaders: boolean;
3874
- headerComponent: BracketRoundHeaderComponent<TRoundData, TMatchData>;
3875
- matchComponent: BracketMatchComponent<TRoundData, TMatchData>;
3876
- finalMatchComponent: BracketMatchComponent<TRoundData, TMatchData>;
3877
- };
3878
- declare const generateBracketGridItems: <TRoundData, TMatchData>(bracketData: BracketData<TRoundData, TMatchData>, roundTypeMap: BracketRoundTypeMap<TRoundData, TMatchData>, swissGroups: BracketRoundMapWithSwissData<TRoundData, TMatchData> | null, roundRelations: BracketRoundRelations<TRoundData, TMatchData>, matchRelations: BracketMatchRelationsMap<TRoundData, TMatchData>, options: GenerateBracketGridItemsOptions<TRoundData, TMatchData>) => Map<BracketRoundId, BracketGridRoundItem<TRoundData, TMatchData>>;
3879
-
3880
- type DrawManDimensions = {
3881
- columnWidth: number;
3882
- matchHeight: number;
3883
- roundHeaderHeight: number;
3884
- columnGap: number;
3885
- rowGap: number;
3886
- gridDefinitions: BracketGridDefinitions;
3887
- path: Omit<PathOptions, 'className'>;
3888
- curve: Omit<CurveOptions, 'path' | 'inverted'>;
3889
- };
3890
- type PathOptions = {
3891
- width: number;
3892
- dashArray: number;
3893
- dashOffset: number;
3894
- className: string;
3895
- };
3896
- type CurveOptions = {
3897
- lineStartingCurveAmount: number;
3898
- lineEndingCurveAmount: number;
3899
- path: PathOptions;
3900
- };
3901
- declare const drawMan: <TRoundData, TMatchData>(items: Map<BracketRoundId, BracketGridRoundItem<TRoundData, TMatchData>>, firstRounds: FirstRounds<TRoundData, TMatchData>, dimensions: DrawManDimensions) => string;
3902
-
3903
- declare class NewBracketDefaultMatchComponent<TRoundData = unknown, TMatchData = unknown> {
3904
- bracketRound: i0.InputSignal<BracketRound<TRoundData, TMatchData>>;
3905
- bracketMatch: i0.InputSignal<BracketMatch<TRoundData, TMatchData>>;
3906
- static ɵfac: i0.ɵɵFactoryDeclaration<NewBracketDefaultMatchComponent<any, any>, never>;
3907
- static ɵcmp: i0.ɵɵComponentDeclaration<NewBracketDefaultMatchComponent<any, any>, "et-new-bracket-default-match", never, { "bracketRound": { "alias": "bracketRound"; "required": true; "isSignal": true; }; "bracketMatch": { "alias": "bracketMatch"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
3908
- }
3909
-
3910
- declare class NewBracketDefaultRoundHeaderComponent<TRoundData = unknown, TMatchData = unknown> {
3911
- bracketRound: i0.InputSignal<BracketRound<TRoundData, TMatchData>>;
3912
- static ɵfac: i0.ɵɵFactoryDeclaration<NewBracketDefaultRoundHeaderComponent<any, any>, never>;
3913
- static ɵcmp: i0.ɵɵComponentDeclaration<NewBracketDefaultRoundHeaderComponent<any, any>, "et-new-bracket-default-round-header", never, { "bracketRound": { "alias": "bracketRound"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
3914
- }
3915
3892
 
3916
3893
  declare class NewBracketComponent<TRoundData = unknown, TMatchData = unknown> {
3917
- #private;
3894
+ private domSanitizer;
3895
+ private elementId;
3918
3896
  source: i0.InputSignal<BracketDataSource<TRoundData, TMatchData>>;
3919
3897
  columnWidth: i0.InputSignalWithTransform<number, unknown>;
3920
3898
  matchHeight: i0.InputSignalWithTransform<number, unknown>;
3921
3899
  roundHeaderHeight: i0.InputSignalWithTransform<number, unknown>;
3922
3900
  columnGap: i0.InputSignalWithTransform<number, unknown>;
3923
3901
  rowGap: i0.InputSignalWithTransform<number, unknown>;
3902
+ upperLowerGap: i0.InputSignalWithTransform<number, unknown>;
3924
3903
  lineStartingCurveAmount: i0.InputSignalWithTransform<number, unknown>;
3925
3904
  lineEndingCurveAmount: i0.InputSignalWithTransform<number, unknown>;
3926
3905
  lineWidth: i0.InputSignalWithTransform<number, unknown>;
@@ -3932,12 +3911,7 @@ declare class NewBracketComponent<TRoundData = unknown, TMatchData = unknown> {
3932
3911
  roundHeaderComponent: i0.InputSignal<BracketRoundHeaderComponent<TRoundData, TMatchData> | undefined>;
3933
3912
  matchComponent: i0.InputSignal<BracketMatchComponent<TRoundData, TMatchData> | undefined>;
3934
3913
  finalMatchComponent: i0.InputSignal<BracketMatchComponent<TRoundData, TMatchData> | undefined>;
3935
- bracketData: i0.Signal<BracketData<TRoundData, TMatchData>>;
3936
- roundTypeMap: i0.Signal<BracketRoundTypeMap<TRoundData, TMatchData>>;
3937
- matchParticipantMap: i0.Signal<MatchParticipantMap<TRoundData, TMatchData>>;
3938
- matchPositionsMap: i0.Signal<MatchPositionMaps<TRoundData, TMatchData>>;
3939
- roundRelations: i0.Signal<BracketRoundRelations<TRoundData, TMatchData>>;
3940
- matchRelations: i0.Signal<BracketMatchRelationsMap<TRoundData, TMatchData>>;
3914
+ bracketData: i0.Signal<NewBracket<TRoundData, TMatchData>>;
3941
3915
  swissGroups: i0.Signal<BracketRoundMapWithSwissData<TRoundData, TMatchData> | null>;
3942
3916
  items: i0.Signal<Map<BracketRoundId, BracketGridRoundItem<TRoundData, TMatchData>>>;
3943
3917
  definitions: i0.Signal<BracketGridDefinitions>;
@@ -3945,91 +3919,52 @@ declare class NewBracketComponent<TRoundData = unknown, TMatchData = unknown> {
3945
3919
  drawManData: i0.Signal<_angular_platform_browser.SafeHtml>;
3946
3920
  journeyHighlight: i0.Signal<string | null>;
3947
3921
  constructor();
3922
+ private setupJourneyHighlight;
3948
3923
  static ɵfac: i0.ɵɵFactoryDeclaration<NewBracketComponent<any, any>, never>;
3949
- static ɵcmp: i0.ɵɵComponentDeclaration<NewBracketComponent<any, any>, "et-new-bracket", never, { "source": { "alias": "source"; "required": true; "isSignal": true; }; "columnWidth": { "alias": "columnWidth"; "required": false; "isSignal": true; }; "matchHeight": { "alias": "matchHeight"; "required": false; "isSignal": true; }; "roundHeaderHeight": { "alias": "roundHeaderHeight"; "required": false; "isSignal": true; }; "columnGap": { "alias": "columnGap"; "required": false; "isSignal": true; }; "rowGap": { "alias": "rowGap"; "required": false; "isSignal": true; }; "lineStartingCurveAmount": { "alias": "lineStartingCurveAmount"; "required": false; "isSignal": true; }; "lineEndingCurveAmount": { "alias": "lineEndingCurveAmount"; "required": false; "isSignal": true; }; "lineWidth": { "alias": "lineWidth"; "required": false; "isSignal": true; }; "lineDashArray": { "alias": "lineDashArray"; "required": false; "isSignal": true; }; "lineDashOffset": { "alias": "lineDashOffset"; "required": false; "isSignal": true; }; "disableJourneyHighlight": { "alias": "disableJourneyHighlight"; "required": false; "isSignal": true; }; "layout": { "alias": "layout"; "required": false; "isSignal": true; }; "hideRoundHeaders": { "alias": "hideRoundHeaders"; "required": false; "isSignal": true; }; "roundHeaderComponent": { "alias": "roundHeaderComponent"; "required": false; "isSignal": true; }; "matchComponent": { "alias": "matchComponent"; "required": false; "isSignal": true; }; "finalMatchComponent": { "alias": "finalMatchComponent"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
3924
+ static ɵcmp: i0.ɵɵComponentDeclaration<NewBracketComponent<any, any>, "et-new-bracket", never, { "source": { "alias": "source"; "required": true; "isSignal": true; }; "columnWidth": { "alias": "columnWidth"; "required": false; "isSignal": true; }; "matchHeight": { "alias": "matchHeight"; "required": false; "isSignal": true; }; "roundHeaderHeight": { "alias": "roundHeaderHeight"; "required": false; "isSignal": true; }; "columnGap": { "alias": "columnGap"; "required": false; "isSignal": true; }; "rowGap": { "alias": "rowGap"; "required": false; "isSignal": true; }; "upperLowerGap": { "alias": "upperLowerGap"; "required": false; "isSignal": true; }; "lineStartingCurveAmount": { "alias": "lineStartingCurveAmount"; "required": false; "isSignal": true; }; "lineEndingCurveAmount": { "alias": "lineEndingCurveAmount"; "required": false; "isSignal": true; }; "lineWidth": { "alias": "lineWidth"; "required": false; "isSignal": true; }; "lineDashArray": { "alias": "lineDashArray"; "required": false; "isSignal": true; }; "lineDashOffset": { "alias": "lineDashOffset"; "required": false; "isSignal": true; }; "disableJourneyHighlight": { "alias": "disableJourneyHighlight"; "required": false; "isSignal": true; }; "layout": { "alias": "layout"; "required": false; "isSignal": true; }; "hideRoundHeaders": { "alias": "hideRoundHeaders"; "required": false; "isSignal": true; }; "roundHeaderComponent": { "alias": "roundHeaderComponent"; "required": false; "isSignal": true; }; "matchComponent": { "alias": "matchComponent"; "required": false; "isSignal": true; }; "finalMatchComponent": { "alias": "finalMatchComponent"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
3950
3925
  }
3951
3926
 
3952
- type index_d_AnyBracketData = AnyBracketData;
3953
3927
  declare const index_d_BRACKET_DATA_LAYOUT: typeof BRACKET_DATA_LAYOUT;
3954
3928
  declare const index_d_BRACKET_ROUND_MIRROR_TYPE: typeof BRACKET_ROUND_MIRROR_TYPE;
3955
- type index_d_BracketData<TRoundData, TMatchData> = BracketData<TRoundData, TMatchData>;
3956
3929
  type index_d_BracketDataLayout = BracketDataLayout;
3957
3930
  type index_d_BracketDataSource<TRoundData, TMatchData> = BracketDataSource<TRoundData, TMatchData>;
3958
- type index_d_BracketGridDefinitions = BracketGridDefinitions;
3959
- type index_d_BracketGridItem<TRoundData, TMatchData> = BracketGridItem<TRoundData, TMatchData>;
3960
- type index_d_BracketGridMatchItem<TRoundData, TMatchData> = BracketGridMatchItem<TRoundData, TMatchData>;
3961
- type index_d_BracketGridRoundHeaderItem<TRoundData, TMatchData> = BracketGridRoundHeaderItem<TRoundData, TMatchData>;
3962
- type index_d_BracketGridRoundItem<TRoundData, TMatchData> = BracketGridRoundItem<TRoundData, TMatchData>;
3963
- type index_d_BracketMatch<TRoundData, TMatchData> = BracketMatch<TRoundData, TMatchData>;
3964
- type index_d_BracketMatchComponent<TRoundData, TMatchData> = BracketMatchComponent<TRoundData, TMatchData>;
3931
+ type index_d_BracketMap<K, V> = BracketMap<K, V>;
3932
+ declare const index_d_BracketMap: typeof BracketMap;
3965
3933
  type index_d_BracketMatchId = BracketMatchId;
3966
- type index_d_BracketMatchMap<TRoundData, TMatchData> = BracketMatchMap<TRoundData, TMatchData>;
3967
3934
  type index_d_BracketMatchPosition = BracketMatchPosition;
3968
- type index_d_BracketMatchRelation<TRoundData, TMatchData> = BracketMatchRelation<TRoundData, TMatchData>;
3969
- type index_d_BracketMatchRelationNothingToOne<TRoundData, TMatchData> = BracketMatchRelationNothingToOne<TRoundData, TMatchData>;
3970
- type index_d_BracketMatchRelationOneToNothing<TRoundData, TMatchData> = BracketMatchRelationOneToNothing<TRoundData, TMatchData>;
3971
- type index_d_BracketMatchRelationOneToOne<TRoundData, TMatchData> = BracketMatchRelationOneToOne<TRoundData, TMatchData>;
3972
- type index_d_BracketMatchRelationTwoToNothing<TRoundData, TMatchData> = BracketMatchRelationTwoToNothing<TRoundData, TMatchData>;
3973
- type index_d_BracketMatchRelationTwoToOne<TRoundData, TMatchData> = BracketMatchRelationTwoToOne<TRoundData, TMatchData>;
3974
- type index_d_BracketMatchRelationsMap<TRoundData, TMatchData> = BracketMatchRelationsMap<TRoundData, TMatchData>;
3975
3935
  type index_d_BracketMatchSource<TMatchData> = BracketMatchSource<TMatchData>;
3976
3936
  type index_d_BracketMatchStatus = BracketMatchStatus;
3977
- type index_d_BracketParticipant<TRoundData, TMatchData> = BracketParticipant<TRoundData, TMatchData>;
3978
- type index_d_BracketParticipantMap<TRoundData, TMatchData> = BracketParticipantMap<TRoundData, TMatchData>;
3979
- type index_d_BracketParticipantMatch<TRoundData, TMatchData> = BracketParticipantMatch<TRoundData, TMatchData>;
3980
- type index_d_BracketRound<TRoundData, TMatchData> = BracketRound<TRoundData, TMatchData>;
3981
- type index_d_BracketRoundHeaderComponent<TRoundData, TMatchData> = BracketRoundHeaderComponent<TRoundData, TMatchData>;
3982
3937
  type index_d_BracketRoundId = BracketRoundId;
3983
- type index_d_BracketRoundMap<TRoundData, TMatchData> = BracketRoundMap<TRoundData, TMatchData>;
3984
- type index_d_BracketRoundMapWithSwissData<TRoundData, TMatchData> = BracketRoundMapWithSwissData<TRoundData, TMatchData>;
3985
3938
  type index_d_BracketRoundMirrorType = BracketRoundMirrorType;
3986
3939
  type index_d_BracketRoundPosition = BracketRoundPosition;
3987
- type index_d_BracketRoundRelation<TRoundData, TMatchData> = BracketRoundRelation<TRoundData, TMatchData>;
3988
- type index_d_BracketRoundRelationNothingToOne<TRoundData, TMatchData> = BracketRoundRelationNothingToOne<TRoundData, TMatchData>;
3989
- type index_d_BracketRoundRelationOneToNothing<TRoundData, TMatchData> = BracketRoundRelationOneToNothing<TRoundData, TMatchData>;
3990
- type index_d_BracketRoundRelationOneToOne<TRoundData, TMatchData> = BracketRoundRelationOneToOne<TRoundData, TMatchData>;
3991
- type index_d_BracketRoundRelationTwoToNothing<TRoundData, TMatchData> = BracketRoundRelationTwoToNothing<TRoundData, TMatchData>;
3992
- type index_d_BracketRoundRelationTwoToOne<TRoundData, TMatchData> = BracketRoundRelationTwoToOne<TRoundData, TMatchData>;
3993
- type index_d_BracketRoundRelations<TRoundData, TMatchData> = BracketRoundRelations<TRoundData, TMatchData>;
3994
3940
  type index_d_BracketRoundSource<TRoundData> = BracketRoundSource<TRoundData>;
3995
- type index_d_BracketRoundSwissData<TRoundData, TMatchData> = BracketRoundSwissData<TRoundData, TMatchData>;
3996
- type index_d_BracketRoundSwissGroup<TRoundData, TMatchData> = BracketRoundSwissGroup<TRoundData, TMatchData>;
3997
- type index_d_BracketRoundSwissGroupId = BracketRoundSwissGroupId;
3998
- type index_d_BracketRoundSwissGroupMap<TRoundData, TMatchData> = BracketRoundSwissGroupMap<TRoundData, TMatchData>;
3999
3941
  type index_d_BracketRoundType = BracketRoundType;
4000
- type index_d_BracketRoundTypeMap<TRoundData, TMatchData> = BracketRoundTypeMap<TRoundData, TMatchData>;
4001
3942
  declare const index_d_COMMON_BRACKET_ROUND_TYPE: typeof COMMON_BRACKET_ROUND_TYPE;
4002
3943
  type index_d_CommonBracketRoundType = CommonBracketRoundType;
4003
- type index_d_ComponentInputValue<T> = ComponentInputValue<T>;
4004
3944
  declare const index_d_DOUBLE_ELIMINATION_BRACKET_ROUND_TYPE: typeof DOUBLE_ELIMINATION_BRACKET_ROUND_TYPE;
4005
3945
  type index_d_DoubleEliminationBracketRoundType = DoubleEliminationBracketRoundType;
4006
- type index_d_DrawManDimensions = DrawManDimensions;
4007
- declare const index_d_FALLBACK_MATCH_POSITION: typeof FALLBACK_MATCH_POSITION;
4008
- declare const index_d_FIRST_ROUNDS_TYPE: typeof FIRST_ROUNDS_TYPE;
4009
- type index_d_FirstDoubleRounds<TRoundData, TMatchData> = FirstDoubleRounds<TRoundData, TMatchData>;
4010
- type index_d_FirstRounds<TRoundData, TMatchData> = FirstRounds<TRoundData, TMatchData>;
4011
- type index_d_FirstRoundsType = FirstRoundsType;
4012
- type index_d_FirstSingleRounds<TRoundData, TMatchData> = FirstSingleRounds<TRoundData, TMatchData>;
4013
3946
  declare const index_d_GROUP_BRACKET_ROUND_TYPE: typeof GROUP_BRACKET_ROUND_TYPE;
4014
3947
  type index_d_GenerateBracketDataOptions = GenerateBracketDataOptions;
4015
- type index_d_GenerateBracketGridItemsOptions<TRoundData, TMatchData> = GenerateBracketGridItemsOptions<TRoundData, TMatchData>;
4016
- type index_d_GenerateBracketGridItemsOptionsWithDefaults<TRoundData, TMatchData> = GenerateBracketGridItemsOptionsWithDefaults<TRoundData, TMatchData>;
4017
3948
  type index_d_GroupBracketRoundType = GroupBracketRoundType;
4018
- type index_d_MatchFactor = MatchFactor;
4019
- type index_d_MatchParticipant<TRoundData, TMatchData> = MatchParticipant<TRoundData, TMatchData>;
4020
3949
  type index_d_MatchParticipantId = MatchParticipantId;
4021
- type index_d_MatchParticipantMap<TRoundData, TMatchData> = MatchParticipantMap<TRoundData, TMatchData>;
4022
- type index_d_MatchParticipantMatch<TRoundData, TMatchData> = MatchParticipantMatch<TRoundData, TMatchData>;
4023
3950
  type index_d_MatchParticipantShortId = MatchParticipantShortId;
4024
- type index_d_MatchPositionMaps<TRoundData, TMatchData> = MatchPositionMaps<TRoundData, TMatchData>;
3951
+ type index_d_MatchParticipantSide = MatchParticipantSide;
3952
+ type index_d_NewBracketBase<TRoundData, TMatchData> = NewBracketBase<TRoundData, TMatchData>;
4025
3953
  type index_d_NewBracketComponent<TRoundData = unknown, TMatchData = unknown> = NewBracketComponent<TRoundData, TMatchData>;
4026
3954
  declare const index_d_NewBracketComponent: typeof NewBracketComponent;
4027
3955
  type index_d_NewBracketDefaultMatchComponent<TRoundData = unknown, TMatchData = unknown> = NewBracketDefaultMatchComponent<TRoundData, TMatchData>;
4028
3956
  declare const index_d_NewBracketDefaultMatchComponent: typeof NewBracketDefaultMatchComponent;
4029
3957
  type index_d_NewBracketDefaultRoundHeaderComponent<TRoundData = unknown, TMatchData = unknown> = NewBracketDefaultRoundHeaderComponent<TRoundData, TMatchData>;
4030
3958
  declare const index_d_NewBracketDefaultRoundHeaderComponent: typeof NewBracketDefaultRoundHeaderComponent;
3959
+ type index_d_NewBracketMatchBase<TMatchData> = NewBracketMatchBase<TMatchData>;
3960
+ type index_d_NewBracketMatchParticipantBase = NewBracketMatchParticipantBase;
3961
+ type index_d_NewBracketMatchParticipantWithRelationsBase = NewBracketMatchParticipantWithRelationsBase;
3962
+ type index_d_NewBracketMatchWithRelationsBase<TMatchData> = NewBracketMatchWithRelationsBase<TMatchData>;
3963
+ type index_d_NewBracketParticipantBase = NewBracketParticipantBase;
3964
+ type index_d_NewBracketParticipantWithRelationsBase = NewBracketParticipantWithRelationsBase;
3965
+ type index_d_NewBracketRoundBase<TRoundData> = NewBracketRoundBase<TRoundData>;
3966
+ type index_d_NewBracketRoundWithRelationsBase<TRoundData> = NewBracketRoundWithRelationsBase<TRoundData>;
4031
3967
  type index_d_ParticipantMatchResult = ParticipantMatchResult;
4032
- type index_d_ParticipantMatchType = ParticipantMatchType;
4033
3968
  declare const index_d_SINGLE_ELIMINATION_BRACKET_ROUND_TYPE: typeof SINGLE_ELIMINATION_BRACKET_ROUND_TYPE;
4034
3969
  declare const index_d_SWISS_BRACKET_ROUND_TYPE: typeof SWISS_BRACKET_ROUND_TYPE;
4035
3970
  type index_d_SingleEliminationBracketRoundType = SingleEliminationBracketRoundType;
@@ -4037,31 +3972,20 @@ type index_d_SwissBracketRoundType = SwissBracketRoundType;
4037
3972
  declare const index_d_TOURNAMENT_MODE: typeof TOURNAMENT_MODE;
4038
3973
  type index_d_TournamentMode = TournamentMode;
4039
3974
  declare const index_d_canRenderLayoutInTournamentMode: typeof canRenderLayoutInTournamentMode;
4040
- declare const index_d_drawMan: typeof drawMan;
4041
- declare const index_d_generateBracketData: typeof generateBracketData;
3975
+ declare const index_d_createMatchesMapBase: typeof createMatchesMapBase;
3976
+ declare const index_d_createNewBracketBase: typeof createNewBracketBase;
3977
+ declare const index_d_createNewMatchParticipantBase: typeof createNewMatchParticipantBase;
3978
+ declare const index_d_createParticipantsMapBase: typeof createParticipantsMapBase;
3979
+ declare const index_d_createRoundsMapBase: typeof createRoundsMapBase;
4042
3980
  declare const index_d_generateBracketDataForEthlete: typeof generateBracketDataForEthlete;
4043
3981
  declare const index_d_generateBracketDataForGg: typeof generateBracketDataForGg;
4044
- declare const index_d_generateBracketGridDefinitions: typeof generateBracketGridDefinitions;
4045
- type index_d_generateBracketGridDefinitionsOptions = generateBracketGridDefinitionsOptions;
4046
- declare const index_d_generateBracketGridItems: typeof generateBracketGridItems;
4047
- declare const index_d_generateBracketRoundSwissGroupMaps: typeof generateBracketRoundSwissGroupMaps;
4048
- declare const index_d_generateBracketRoundTypeMap: typeof generateBracketRoundTypeMap;
4049
- declare const index_d_generateMatchParticipantMap: typeof generateMatchParticipantMap;
4050
- declare const index_d_generateMatchPosition: typeof generateMatchPosition;
4051
- declare const index_d_generateMatchPositionMaps: typeof generateMatchPositionMaps;
4052
- declare const index_d_generateMatchRelationPositions: typeof generateMatchRelationPositions;
4053
- declare const index_d_generateMatchRelations: typeof generateMatchRelations;
4054
- declare const index_d_generateRoundRelations: typeof generateRoundRelations;
4055
3982
  declare const index_d_generateRoundTypeFromEthleteRoundType: typeof generateRoundTypeFromEthleteRoundType;
4056
3983
  declare const index_d_generateRoundTypeFromGgMatch: typeof generateRoundTypeFromGgMatch;
4057
3984
  declare const index_d_generateTournamentModeFormEthleteRounds: typeof generateTournamentModeFormEthleteRounds;
4058
3985
  declare const index_d_generateTournamentModeFormGgData: typeof generateTournamentModeFormGgData;
4059
- declare const index_d_getAvailableSwissGroupsForRound: typeof getAvailableSwissGroupsForRound;
4060
- declare const index_d_getFirstRounds: typeof getFirstRounds;
4061
- declare const index_d_logRoundRelations: typeof logRoundRelations;
4062
3986
  declare namespace index_d {
4063
- export { index_d_BRACKET_DATA_LAYOUT as BRACKET_DATA_LAYOUT, index_d_BRACKET_ROUND_MIRROR_TYPE as BRACKET_ROUND_MIRROR_TYPE, index_d_COMMON_BRACKET_ROUND_TYPE as COMMON_BRACKET_ROUND_TYPE, index_d_DOUBLE_ELIMINATION_BRACKET_ROUND_TYPE as DOUBLE_ELIMINATION_BRACKET_ROUND_TYPE, index_d_FALLBACK_MATCH_POSITION as FALLBACK_MATCH_POSITION, index_d_FIRST_ROUNDS_TYPE as FIRST_ROUNDS_TYPE, index_d_GROUP_BRACKET_ROUND_TYPE as GROUP_BRACKET_ROUND_TYPE, index_d_NewBracketComponent as NewBracketComponent, index_d_NewBracketDefaultMatchComponent as NewBracketDefaultMatchComponent, index_d_NewBracketDefaultRoundHeaderComponent as NewBracketDefaultRoundHeaderComponent, index_d_SINGLE_ELIMINATION_BRACKET_ROUND_TYPE as SINGLE_ELIMINATION_BRACKET_ROUND_TYPE, index_d_SWISS_BRACKET_ROUND_TYPE as SWISS_BRACKET_ROUND_TYPE, index_d_TOURNAMENT_MODE as TOURNAMENT_MODE, index_d_canRenderLayoutInTournamentMode as canRenderLayoutInTournamentMode, index_d_drawMan as drawMan, index_d_generateBracketData as generateBracketData, index_d_generateBracketDataForEthlete as generateBracketDataForEthlete, index_d_generateBracketDataForGg as generateBracketDataForGg, index_d_generateBracketGridDefinitions as generateBracketGridDefinitions, index_d_generateBracketGridItems as generateBracketGridItems, index_d_generateBracketRoundSwissGroupMaps as generateBracketRoundSwissGroupMaps, index_d_generateBracketRoundTypeMap as generateBracketRoundTypeMap, index_d_generateMatchParticipantMap as generateMatchParticipantMap, index_d_generateMatchPosition as generateMatchPosition, index_d_generateMatchPositionMaps as generateMatchPositionMaps, index_d_generateMatchRelationPositions as generateMatchRelationPositions, index_d_generateMatchRelations as generateMatchRelations, index_d_generateRoundRelations as generateRoundRelations, index_d_generateRoundTypeFromEthleteRoundType as generateRoundTypeFromEthleteRoundType, index_d_generateRoundTypeFromGgMatch as generateRoundTypeFromGgMatch, index_d_generateTournamentModeFormEthleteRounds as generateTournamentModeFormEthleteRounds, index_d_generateTournamentModeFormGgData as generateTournamentModeFormGgData, index_d_getAvailableSwissGroupsForRound as getAvailableSwissGroupsForRound, index_d_getFirstRounds as getFirstRounds, index_d_logRoundRelations as logRoundRelations };
4064
- export type { index_d_AnyBracketData as AnyBracketData, index_d_BracketData as BracketData, index_d_BracketDataLayout as BracketDataLayout, index_d_BracketDataSource as BracketDataSource, index_d_BracketGridDefinitions as BracketGridDefinitions, index_d_BracketGridItem as BracketGridItem, index_d_BracketGridMatchItem as BracketGridMatchItem, index_d_BracketGridRoundHeaderItem as BracketGridRoundHeaderItem, index_d_BracketGridRoundItem as BracketGridRoundItem, index_d_BracketMatch as BracketMatch, index_d_BracketMatchComponent as BracketMatchComponent, index_d_BracketMatchId as BracketMatchId, index_d_BracketMatchMap as BracketMatchMap, index_d_BracketMatchPosition as BracketMatchPosition, index_d_BracketMatchRelation as BracketMatchRelation, index_d_BracketMatchRelationNothingToOne as BracketMatchRelationNothingToOne, index_d_BracketMatchRelationOneToNothing as BracketMatchRelationOneToNothing, index_d_BracketMatchRelationOneToOne as BracketMatchRelationOneToOne, index_d_BracketMatchRelationTwoToNothing as BracketMatchRelationTwoToNothing, index_d_BracketMatchRelationTwoToOne as BracketMatchRelationTwoToOne, index_d_BracketMatchRelationsMap as BracketMatchRelationsMap, index_d_BracketMatchSource as BracketMatchSource, index_d_BracketMatchStatus as BracketMatchStatus, index_d_BracketParticipant as BracketParticipant, index_d_BracketParticipantMap as BracketParticipantMap, index_d_BracketParticipantMatch as BracketParticipantMatch, index_d_BracketRound as BracketRound, index_d_BracketRoundHeaderComponent as BracketRoundHeaderComponent, index_d_BracketRoundId as BracketRoundId, index_d_BracketRoundMap as BracketRoundMap, index_d_BracketRoundMapWithSwissData as BracketRoundMapWithSwissData, index_d_BracketRoundMirrorType as BracketRoundMirrorType, index_d_BracketRoundPosition as BracketRoundPosition, index_d_BracketRoundRelation as BracketRoundRelation, index_d_BracketRoundRelationNothingToOne as BracketRoundRelationNothingToOne, index_d_BracketRoundRelationOneToNothing as BracketRoundRelationOneToNothing, index_d_BracketRoundRelationOneToOne as BracketRoundRelationOneToOne, index_d_BracketRoundRelationTwoToNothing as BracketRoundRelationTwoToNothing, index_d_BracketRoundRelationTwoToOne as BracketRoundRelationTwoToOne, index_d_BracketRoundRelations as BracketRoundRelations, index_d_BracketRoundSource as BracketRoundSource, index_d_BracketRoundSwissData as BracketRoundSwissData, index_d_BracketRoundSwissGroup as BracketRoundSwissGroup, index_d_BracketRoundSwissGroupId as BracketRoundSwissGroupId, index_d_BracketRoundSwissGroupMap as BracketRoundSwissGroupMap, index_d_BracketRoundType as BracketRoundType, index_d_BracketRoundTypeMap as BracketRoundTypeMap, index_d_CommonBracketRoundType as CommonBracketRoundType, index_d_ComponentInputValue as ComponentInputValue, index_d_DoubleEliminationBracketRoundType as DoubleEliminationBracketRoundType, index_d_DrawManDimensions as DrawManDimensions, index_d_FirstDoubleRounds as FirstDoubleRounds, index_d_FirstRounds as FirstRounds, index_d_FirstRoundsType as FirstRoundsType, index_d_FirstSingleRounds as FirstSingleRounds, index_d_GenerateBracketDataOptions as GenerateBracketDataOptions, index_d_GenerateBracketGridItemsOptions as GenerateBracketGridItemsOptions, index_d_GenerateBracketGridItemsOptionsWithDefaults as GenerateBracketGridItemsOptionsWithDefaults, index_d_GroupBracketRoundType as GroupBracketRoundType, index_d_MatchFactor as MatchFactor, index_d_MatchParticipant as MatchParticipant, index_d_MatchParticipantId as MatchParticipantId, index_d_MatchParticipantMap as MatchParticipantMap, index_d_MatchParticipantMatch as MatchParticipantMatch, index_d_MatchParticipantShortId as MatchParticipantShortId, index_d_MatchPositionMaps as MatchPositionMaps, index_d_ParticipantMatchResult as ParticipantMatchResult, index_d_ParticipantMatchType as ParticipantMatchType, index_d_SingleEliminationBracketRoundType as SingleEliminationBracketRoundType, index_d_SwissBracketRoundType as SwissBracketRoundType, index_d_TournamentMode as TournamentMode, index_d_generateBracketGridDefinitionsOptions as generateBracketGridDefinitionsOptions };
3987
+ export { index_d_BRACKET_DATA_LAYOUT as BRACKET_DATA_LAYOUT, index_d_BRACKET_ROUND_MIRROR_TYPE as BRACKET_ROUND_MIRROR_TYPE, index_d_BracketMap as BracketMap, index_d_COMMON_BRACKET_ROUND_TYPE as COMMON_BRACKET_ROUND_TYPE, index_d_DOUBLE_ELIMINATION_BRACKET_ROUND_TYPE as DOUBLE_ELIMINATION_BRACKET_ROUND_TYPE, index_d_GROUP_BRACKET_ROUND_TYPE as GROUP_BRACKET_ROUND_TYPE, index_d_NewBracketComponent as NewBracketComponent, index_d_NewBracketDefaultMatchComponent as NewBracketDefaultMatchComponent, index_d_NewBracketDefaultRoundHeaderComponent as NewBracketDefaultRoundHeaderComponent, index_d_SINGLE_ELIMINATION_BRACKET_ROUND_TYPE as SINGLE_ELIMINATION_BRACKET_ROUND_TYPE, index_d_SWISS_BRACKET_ROUND_TYPE as SWISS_BRACKET_ROUND_TYPE, index_d_TOURNAMENT_MODE as TOURNAMENT_MODE, index_d_canRenderLayoutInTournamentMode as canRenderLayoutInTournamentMode, index_d_createMatchesMapBase as createMatchesMapBase, index_d_createNewBracketBase as createNewBracketBase, index_d_createNewMatchParticipantBase as createNewMatchParticipantBase, index_d_createParticipantsMapBase as createParticipantsMapBase, index_d_createRoundsMapBase as createRoundsMapBase, index_d_generateBracketDataForEthlete as generateBracketDataForEthlete, index_d_generateBracketDataForGg as generateBracketDataForGg, index_d_generateRoundTypeFromEthleteRoundType as generateRoundTypeFromEthleteRoundType, index_d_generateRoundTypeFromGgMatch as generateRoundTypeFromGgMatch, index_d_generateTournamentModeFormEthleteRounds as generateTournamentModeFormEthleteRounds, index_d_generateTournamentModeFormGgData as generateTournamentModeFormGgData };
3988
+ export type { index_d_BracketDataLayout as BracketDataLayout, index_d_BracketDataSource as BracketDataSource, index_d_BracketMatchId as BracketMatchId, index_d_BracketMatchPosition as BracketMatchPosition, index_d_BracketMatchSource as BracketMatchSource, index_d_BracketMatchStatus as BracketMatchStatus, index_d_BracketRoundId as BracketRoundId, index_d_BracketRoundMirrorType as BracketRoundMirrorType, index_d_BracketRoundPosition as BracketRoundPosition, index_d_BracketRoundSource as BracketRoundSource, index_d_BracketRoundType as BracketRoundType, index_d_CommonBracketRoundType as CommonBracketRoundType, index_d_DoubleEliminationBracketRoundType as DoubleEliminationBracketRoundType, index_d_GenerateBracketDataOptions as GenerateBracketDataOptions, index_d_GroupBracketRoundType as GroupBracketRoundType, index_d_MatchParticipantId as MatchParticipantId, index_d_MatchParticipantShortId as MatchParticipantShortId, index_d_MatchParticipantSide as MatchParticipantSide, index_d_NewBracketBase as NewBracketBase, index_d_NewBracketMatchBase as NewBracketMatchBase, index_d_NewBracketMatchParticipantBase as NewBracketMatchParticipantBase, index_d_NewBracketMatchParticipantWithRelationsBase as NewBracketMatchParticipantWithRelationsBase, index_d_NewBracketMatchWithRelationsBase as NewBracketMatchWithRelationsBase, index_d_NewBracketParticipantBase as NewBracketParticipantBase, index_d_NewBracketParticipantWithRelationsBase as NewBracketParticipantWithRelationsBase, index_d_NewBracketRoundBase as NewBracketRoundBase, index_d_NewBracketRoundWithRelationsBase as NewBracketRoundWithRelationsBase, index_d_ParticipantMatchResult as ParticipantMatchResult, index_d_SingleEliminationBracketRoundType as SingleEliminationBracketRoundType, index_d_SwissBracketRoundType as SwissBracketRoundType, index_d_TournamentMode as TournamentMode };
4065
3989
  }
4066
3990
 
4067
3991
  declare const BRACKET_TOKEN: InjectionToken<BracketComponent>;
@@ -8329,7 +8253,7 @@ declare class FilterOverlayService<F extends FormGroup, C extends ComponentType<
8329
8253
  config: FilterOverlayConfig<F, AnyQuery>;
8330
8254
  overlayRef: OverlayRef<C, FilterOverlayResult<unknown>>;
8331
8255
  form: F;
8332
- formValue: i0.Signal<ReturnType<NonNullable<F extends i0.Signal<infer I> ? I : F>["getRawValue"]> | null>;
8256
+ formValue: i0.Signal<ReturnType<NonNullable<F extends i0.Signal<infer TSignalControl> ? TSignalControl : F>["getRawValue"]> | null>;
8333
8257
  searchPreviewQuery: i0.Signal<AnyQuery | null>;
8334
8258
  searchPreviewQueryState: i0.Signal<QueryState<any> | null>;
8335
8259
  searchPreviewTotalHits: i0.Signal<number | null>;
@@ -9304,6 +9228,7 @@ declare class PaginationComponent implements OnInit, OnDestroy {
9304
9228
  set headAddCanonicalTag(v: boolean);
9305
9229
  ariaLabel: string;
9306
9230
  pageChangeScrollAnchor: HTMLElement | ElementRef<HTMLElement> | null;
9231
+ renderAs: i0.InputSignal<"buttons" | "links">;
9307
9232
  protected pages$: BehaviorSubject<PaginationItem[] | null>;
9308
9233
  protected trackByPage: TrackByFunction<PaginationItem>;
9309
9234
  ngOnInit(): void;
@@ -9313,7 +9238,7 @@ declare class PaginationComponent implements OnInit, OnDestroy {
9313
9238
  private _updatePages;
9314
9239
  private _updateHead;
9315
9240
  static ɵfac: i0.ɵɵFactoryDeclaration<PaginationComponent, never>;
9316
- static ɵcmp: i0.ɵɵComponentDeclaration<PaginationComponent, "et-pagination", never, { "pageControl": { "alias": "pageControl"; "required": true; }; "totalPages": { "alias": "totalPages"; "required": true; }; "headTitleTemplate": { "alias": "headTitleTemplate"; "required": false; }; "headFirstPageTitle": { "alias": "headFirstPageTitle"; "required": false; }; "headAddCanonicalTag": { "alias": "headAddCanonicalTag"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "pageChangeScrollAnchor": { "alias": "pageChangeScrollAnchor"; "required": false; }; }, {}, never, never, true, never>;
9241
+ static ɵcmp: i0.ɵɵComponentDeclaration<PaginationComponent, "et-pagination", never, { "pageControl": { "alias": "pageControl"; "required": true; }; "totalPages": { "alias": "totalPages"; "required": true; }; "headTitleTemplate": { "alias": "headTitleTemplate"; "required": false; }; "headFirstPageTitle": { "alias": "headFirstPageTitle"; "required": false; }; "headAddCanonicalTag": { "alias": "headAddCanonicalTag"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "pageChangeScrollAnchor": { "alias": "pageChangeScrollAnchor"; "required": false; }; "renderAs": { "alias": "renderAs"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
9317
9242
  static ngAcceptInputType_headAddCanonicalTag: unknown;
9318
9243
  }
9319
9244
 
@@ -10516,4 +10441,4 @@ declare const createNavigationDismissChecker: <T extends AbstractControl>(config
10516
10441
  declare const injectRouterNavigationState: <T>() => T | null;
10517
10442
 
10518
10443
  export { ACCORDION_COMPONENT, ACCORDION_HINT_WRAPPER_DIRECTIVE, ACCORDION_LABEL_WRAPPER_DIRECTIVE, AccordionComponent, AccordionGroupComponent, AccordionHintDirective, AccordionHintWrapperDirective, AccordionImports, AccordionLabelDirective, AccordionLabelWrapperDirective, ActiveTabUnderlineBarManager, ActiveTabUnderlineDirective, AutosizeTextareaDirective, BOTTOM_SHEET_CONFIG, BOTTOM_SHEET_DATA, BOTTOM_SHEET_DEFAULT_CONFIG, BOTTOM_SHEET_DEFAULT_OPTIONS, BOTTOM_SHEET_MIN_SWIPE_TO_CLOSE_LENGTH, BOTTOM_SHEET_MIN_VELOCITY_TO_CLOSE, BOTTOM_SHEET_SCROLL_STRATEGY, BOTTOM_SHEET_SCROLL_STRATEGY_PROVIDER, BOTTOM_SHEET_SCROLL_STRATEGY_PROVIDER_FACTORY, BRACKET_CONFIG_TOKEN, BRACKET_DEFAULT_CONFIG, BRACKET_MATCH_ID_TOKEN, BRACKET_ROUND_ID_TOKEN, BRACKET_TOKEN, BottomSheetContainerBaseComponent, BottomSheetContainerComponent, BottomSheetDragHandleComponent, BottomSheetImports, BottomSheetRef, BottomSheetService, BottomSheetServiceBase, BottomSheetState, BottomSheetSwipeHandlerService, BottomSheetTitleDirective, Bracket, BracketComponent, BracketImports, BracketMatchComponent$1 as BracketMatchComponent, BracketMatchDirective, index_d as BracketNew, BracketRoundDirective, BracketRoundHeaderComponent$1 as BracketRoundHeaderComponent, ButtonComponent, ButtonDirective, ButtonImports, CAROUSEL_ITEM_NAV_TOKEN, CAROUSEL_ITEM_TOKEN, CAROUSEL_NEXT_BUTTON_TOKEN, CAROUSEL_PREVIOUS_BUTTON_TOKEN, CAROUSEL_TOGGLE_AUTO_PLAY_BUTTON_TOKEN, CAROUSEL_TOKEN, CDK_MENU, CHECKBOX_FIELD_TOKEN, CHECKBOX_GROUP_CONTROL_TOKEN, CHECKBOX_GROUP_TOKEN, CHECKBOX_TOKEN, CHEVRON_ICON, COLOR_INPUT_TOKEN, COMBOBOX_BODY_EMPTY_TEMPLATE_TOKEN, COMBOBOX_BODY_ERROR_TEMPLATE_TOKEN, COMBOBOX_BODY_LOADING_TEMPLATE_TOKEN, COMBOBOX_BODY_MORE_ITEMS_HINT_TEMPLATE_TOKEN, COMBOBOX_BODY_TOKEN, COMBOBOX_CONFIG_TOKEN, COMBOBOX_DEFAULT_CONFIG, COMBOBOX_OPTION_TEMPLATE_TOKEN, COMBOBOX_OPTION_TOKEN, COMBOBOX_SELECTED_OPTION_TEMPLATE_TOKEN, COMBOBOX_TOKEN, CarouselComponent, CarouselDirective, CarouselImports, CarouselItemComponent, CarouselItemDirective, CarouselItemNavComponent, CarouselItemNavDirective, CarouselNextButtonDirective, CarouselPreviousButtonDirective, CarouselToggleAutoPlayButtonDirective, CdkContextMenuTrigger, CdkMenu, CdkMenuBar, CdkMenuBase, CdkMenuGroup, CdkMenuItem, CdkMenuItemCheckbox, CdkMenuItemRadio, CdkMenuItemSelectable, CdkMenuModule, CdkMenuTrigger, CdkMenuTriggerBase, CdkTargetMenuAim, CellDefDirective, CellDirective, CheckboxComponent, CheckboxDirective, CheckboxFieldComponent, CheckboxFieldDirective, CheckboxGroupComponent, CheckboxGroupControlDirective, CheckboxGroupDirective, CheckboxImports, ColorInputComponent, ColorInputDirective, ColumnDefDirective, ComboboxBodyComponent, ComboboxBodyEmptyTemplateDirective, ComboboxBodyErrorTemplateDirective, ComboboxBodyLoadingTemplateDirective, ComboboxBodyMoreItemsHintTemplateDirective, ComboboxComponent, ComboboxDirective, ComboboxImports, ComboboxOptionComponent, ComboboxOptionTemplateDirective, ComboboxSelectedOptionTemplateDirective, ContextMenuTracker, DATE_INPUT_FORMAT_TOKEN, DATE_INPUT_TOKEN, DATE_TIME_INPUT_FORMAT_TOKEN, DATE_TIME_INPUT_TOKEN, DEFAULT_DATE_INPUT_FORMAT, DEFAULT_DATE_TIME_INPUT_FORMAT, DEFAULT_TIME_INPUT_FORMAT, DIALOG_CONFIG, DIALOG_DATA, DIALOG_DEFAULT_CONFIG, DIALOG_DEFAULT_OPTIONS, DIALOG_SCROLL_STRATEGY, DIALOG_SCROLL_STRATEGY_PROVIDER, DIALOG_SCROLL_STRATEGY_PROVIDER_FACTORY, DYNAMIC_FORM_FIELD_TOKEN, DYNAMIC_FORM_GROUP_TOKEN, DateInputComponent, DateInputDirective, DateTimeInputComponent, DateTimeInputDirective, DecoratedFormFieldBase, DecoratedInputBase, DefaultValidatorErrorsService, DialogCloseDirective, DialogContainerBaseComponent, DialogContainerComponent, DialogImports, DialogRef, DialogService, DialogServiceBase, DialogState, DialogTitleDirective, DynamicFormFieldDirective, DynamicFormGroupDirective, DynamicOverlayService, DynamicOverlayTitleDirective, EMAIL_INPUT_TOKEN, ET_OVERLAY_ANCHORED_DIALOG_CLASS, ET_OVERLAY_BOTTOM_SHEET_CLASS, ET_OVERLAY_CONFIG_CLASS_KEYS, ET_OVERLAY_DIALOG_CLASS, ET_OVERLAY_FULL_SCREEN_DIALOG_CLASS, ET_OVERLAY_LAYOUT_CLASSES, ET_OVERLAY_LEFT_SHEET_CLASS, ET_OVERLAY_RIGHT_SHEET_CLASS, ET_OVERLAY_TOP_SHEET_CLASS, EXPOSE_INPUT_VARS_TOKEN, EmailInputComponent, EmailInputDirective, ErrorComponent, ExposeInputVarsDirective, FILTER_OVERLAY_CONFIG, FLOATING_UI_PLACEMENTS, FilterOverlayService, FocusNext, FooterCellDefDirective, FooterCellDirective, FooterRowComponent, FooterRowDefDirective, FormFieldStateService, FormGroupStateService, HeaderCellDefDirective, HeaderCellDirective, HeaderRowComponent, HeaderRowDefDirective, ICONS_TOKEN, ICON_DIRECTIVE_TOKEN, IMAGE_CONFIG_TOKEN, INPUT_PREFIX_TOKEN, INPUT_SUFFIX_TOKEN, INPUT_TOKEN, IconDirective, IconImports, IfInputEmptyDirective, IfInputFilledDirective, IfSupportsShowPickerDirective, InlineTabBodyComponent, InlineTabBodyHostDirective, InlineTabChangeEvent, InlineTabComponent, InlineTabContentDirective, InlineTabHeaderComponent, InlineTabLabelDirective, InlineTabLabelWrapperDirective, InlineTabsComponent, InputBase, InputDirective, InputFieldComponent, InputImports, InputPrefixDirective, InputStateService, InputSuffixDirective, LABEL_TOKEN, LabelComponent, LabelImports, LabelSuffixDirective, MASONRY_ITEM_TOKEN, MAX_SAFE_INTEGER, MENU, MENU_AIM, MENU_CHECKBOX_GROUP_TOKEN, MENU_CONTAINER, MENU_GROUP_TITLE_TOKEN, MENU_GROUP_TOKEN, MENU_ITEM_TOKEN, MENU_RADIO_GROUP_TOKEN, MENU_SEARCH_TEMPLATE_TOKEN, MENU_STACK, MENU_TEMPLATE, MENU_TRIGGER, MENU_TRIGGER_TOKEN, MasonryComponent, MasonryImports, MasonryItemComponent, MenuCheckboxGroupDirective, MenuCheckboxItemComponent, MenuComponent, MenuContainerComponent, MenuGroupDirective, MenuGroupTitleDirective, MenuImports, MenuItemDirective, MenuRadioGroupDirective, MenuRadioItemComponent, MenuSearchTemplateDirective, MenuStack, MenuTriggerDirective, NATIVE_INPUT_REF_TOKEN, NATIVE_SELECT_INPUT_TOKEN, NATIVE_SELECT_OPTION_TOKEN, NUMBER_INPUT_TOKEN, NativeInputRefDirective, NativeSelectImports, NativeSelectInputComponent, NativeSelectInputDirective, NativeSelectOptionComponent, NativeSelectOptionDirective, NavTabLinkComponent, NavTabsComponent, NavTabsOutletComponent, NewBracketComponent, NewBracketDefaultMatchComponent, NewBracketDefaultRoundHeaderComponent, NoDataRowDirective, NumberInputComponent, NumberInputDirective, OVERLAY_BACK_OR_CLOSE_TOKEN, OVERLAY_BODY_TOKEN, OVERLAY_CLOSE_BLOCKER_TOKEN, OVERLAY_CONFIG, OVERLAY_DATA, OVERLAY_DEFAULT_CONFIG, OVERLAY_DEFAULT_OPTIONS, OVERLAY_FOOTER_TOKEN, OVERLAY_HEADER_TEMPLATE_TOKEN, OVERLAY_HEADER_TOKEN, OVERLAY_MAIN_TOKEN, OVERLAY_QUERY_PARAM_INPUT_NAME, OVERLAY_ROUTER_CONFIG_TOKEN, OVERLAY_ROUTER_LINK_TOKEN, OVERLAY_ROUTER_OUTLET_DISABLED_TEMPLATE_TOKEN, OVERLAY_ROUTER_OUTLET_TOKEN, OVERLAY_SCROLL_STRATEGY, OVERLAY_SHARED_ROUTE_TEMPLATE_TOKEN, OVERLAY_STATE, OverlayBackOrCloseDirective, OverlayBodyComponent, OverlayCloseBlockerDirective, OverlayCloseDirective, OverlayContainerComponent, OverlayFooterDirective, OverlayHandlerLinkDirective, OverlayHeaderDirective, OverlayHeaderTemplateDirective, OverlayImports, OverlayMainDirective, OverlayPositionBuilder, OverlayRef, OverlayRouteHeaderTemplateOutletComponent, OverlayRouterLinkDirective, OverlayRouterOutletComponent, OverlayRouterOutletDisabledTemplateDirective, OverlayRouterService, OverlayService, OverlaySharedRouteTemplateDirective, OverlaySharedRouteTemplateOutletComponent, OverlaySidebarComponent, OverlaySidebarPageComponent, OverlayTitleDirective, OverlayWithRoutingImports, OverlayWithSidebarImports, PARENT_OR_NEW_INLINE_MENU_STACK_PROVIDER, PARENT_OR_NEW_MENU_STACK_PROVIDER, PASSWORD_INPUT_TOKEN, PROGRESS_SPINNER_DEFAULT_OPTIONS, PROGRESS_SPINNER_DEFAULT_OPTIONS_FACTORY, PaginatedTabHeaderDirective, PaginationComponent, PaginationHeadService, PaginationImports, PaginationLinkDirective, PasswordInputComponent, PasswordInputDirective, PasswordInputToggleComponent, PictureComponent, PointerFocusTracker, ProgressSpinnerComponent, ProvideThemeDirective, QUERY_ERROR_TOKEN, QueryButtonComponent, QueryButtonDirective, QueryErrorComponent, QueryErrorDirective, RADIO_FIELD_TOKEN, RADIO_GROUP_TOKEN, RADIO_TOKEN, RICH_FILTER_BUTTON_SLOT_TOKEN, RICH_FILTER_BUTTON_TOKEN, RICH_FILTER_CONTENT_TOKEN, RICH_FILTER_TOP_TOKEN, RadioComponent, RadioDirective, RadioFieldComponent, RadioFieldDirective, RadioGroupComponent, RadioGroupDirective, RadioImports, RecycleRowsDirective, RichFilterButtonDirective, RichFilterButtonSlotDirective, RichFilterContentDirective, RichFilterHostComponent, RichFilterImports, RichFilterTopDirective, RowComponent, RowDefDirective, SCROLLABLE_IGNORE_CHILD_ATTRIBUTE, SCROLLABLE_IGNORE_CHILD_TOKEN, SCROLLABLE_IS_ACTIVE_CHILD_ATTRIBUTE, SCROLLABLE_IS_ACTIVE_CHILD_TOKEN, SCROLLABLE_LOADING_TEMPLATE_TOKEN, SCROLLABLE_PLACEHOLDER_ITEM_TEMPLATE_TOKEN, SCROLLABLE_PLACEHOLDER_OVERLAY_TEMPLATE_TOKEN, SEARCH_INPUT_TOKEN, SEGMENTED_BUTTON_FIELD_TOKEN, SEGMENTED_BUTTON_GROUP_TOKEN, SEGMENTED_BUTTON_TOKEN, SELECTION_LIST_FIELD, SELECTION_LIST_OPTION, SELECT_BODY_TOKEN, SELECT_FIELD_TOKEN, SELECT_OPTION_TOKEN, SELECT_TOKEN, SHOW_PICKER_TRIGGER_TOKEN, SIDEBAR_OVERLAY_CONFIG, SLIDER_THUMB_CONTENT_TEMPLATE_TOKEN, SLIDE_TOGGLE_TOKEN, SORT_DEFAULT_OPTIONS, SORT_HEADER_COLUMN_DEF, SORT_HEADER_INTL_PROVIDER, SORT_HEADER_INTL_PROVIDER_FACTORY, STATIC_FORM_FIELD_TOKEN, STATIC_FORM_GROUP_TOKEN, ScrollableComponent, ScrollableIgnoreChildDirective, ScrollableImports, ScrollableIsActiveChildDirective, ScrollableLoadingTemplateDirective, ScrollablePlaceholderComponent, ScrollablePlaceholderItemTemplateDirective, ScrollablePlaceholderOverlayTemplateDirective, SearchInputClearComponent, SearchInputComponent, SearchInputDirective, SegmentedButtonComponent, SegmentedButtonDirective, SegmentedButtonFieldComponent, SegmentedButtonFieldDirective, SegmentedButtonGroupComponent, SegmentedButtonGroupDirective, SegmentedButtonImports, SelectBodyComponent, SelectBodyDirective, SelectComponent, SelectDirective, SelectFieldComponent, SelectFieldDirective, SelectImports, SelectOptionComponent, SelectOptionDirective, SelectionListFieldComponent, SelectionListFieldDirective, SelectionListImports, SelectionListOptionComponent, SelectionListOptionDirective, ShowPickerTriggerDirective, SidebarOverlayService, SkeletonComponent, SkeletonImports, SkeletonItemComponent, SlideToggleComponent, SlideToggleDirective, SlideToggleFieldComponent, SlideToggleImports, SliderComponent, SliderFieldComponent, SliderImports, SliderThumbContentTemplateDirective, SortDirective, SortHeaderComponent, SortHeaderIntl, SortImports, StaticFormFieldDirective, StaticFormGroupDirective, SwipeHandlerService, TAB, TABS_CONFIG, TAB_CONTENT, TAB_GROUP, TAB_LABEL, TEL_INPUT_TOKEN, TEXTAREA_INPUT_TOKEN, TEXT_INPUT_TOKEN, THEMES_TOKEN, THEME_PROVIDER, TIMES_ICON, TIME_INPUT_FORMAT_TOKEN, TIME_INPUT_TOKEN, TOGGLETIP, TOGGLETIP_CONFIG, TOGGLETIP_DEFAULT_CONFIG, TOGGLETIP_DIRECTIVE, TOGGLETIP_TEMPLATE, TOGGLETIP_TEXT, TOOLTIP, TOOLTIP_CONFIG, TOOLTIP_DEFAULT_CONFIG, TOOLTIP_DIRECTIVE, TOOLTIP_TEMPLATE, TOOLTIP_TEXT, TabImports, TableBusyDirective, TableBusyOutletDirective, TableComponent, TableDataSource, TableImports, TargetMenuAim, TelInputComponent, TelInputDirective, TextColumnComponent, TextInputComponent, TextInputDirective, TextareaInputComponent, TextareaInputDirective, TimeInputComponent, TimeInputDirective, ToggletipCloseDirective, ToggletipComponent, ToggletipDirective, ToggletipImports, TooltipComponent, TooltipDirective, TooltipImports, VALIDATOR_ERROR_SERVICE_TOKEN, WRITEABLE_INPUT_TOKEN, WRITEABLE_INPUT_VALUE_ACCESSOR, WriteableInputDirective, _MAT_INK_BAR_POSITIONER, _MAT_INK_BAR_POSITIONER_FACTORY, accordionAnimations, createBottomSheetConfig, createBracketConfig, createComboboxConfig, createCssThemeName, createDialogConfig, createFormChangesTracker, createNavigationDismissChecker, createOverlayConfig, createOverlayDismissChecker, createOverlayHandler, createOverlayHandlerWithQueryParamLifecycle, createProvider, createRootThemeCss, createSwatchCss, createTailwindColorThemes, createTailwindCssVar, createTailwindRgbVar, createThemeStyle, createToggletipConfig, createTooltipConfig, defaultSubmitButtonConfigFn, getClosestBottomSheet, getClosestDialog, getClosestOverlay, injectRouterNavigationState, isScrollableChildActive, isScrollableChildIgnored, isUpperBracketMatch, normalizePictureSizes, normalizePictureSource, normalizeRoundType, orderRounds, orderRoundsByRoundNumber, paginate, provideBottomSheet, provideBottomSheetDefaultConfig, provideBracketConfig, provideColorThemes, provideComboboxConfig, provideDateFormat, provideDateTimeFormat, provideDialog, provideDialogDefaultConfig, provideFilterOverlayConfig, provideIcons, provideImageConfig, provideOverlay, provideOverlayDefaultConfig, provideOverlayRouterConfig, provideSidebarOverlayConfig, provideSort, provideSurfaceThemes, provideThemes, provideTimeFormat, provideToggletipConfig, provideTooltipConfig, provideValidatorErrorsService, tabAnimations };
10519
- export type { AbstractComboboxBody, AbstractComboboxOption, ActiveTabUnderlineItem, ArrowViewState, ArrowViewStateTransition, BottomSheetAutoFocusTarget, BottomSheetConfig, BracketConfig, BracketMatch$1 as BracketMatch, BracketRound$1 as BracketRound, CarouselTransitionDirection, CarouselTransitionType, CloseOptions, ComboboxConfig, ConnectedMatches, ContextMenuCoordinates, CreateFormChangesTrackerConfig, CreateNavigationDismissCheckerConfig, CreateOverlayDismissCheckerConfig, CreateOverlayHandlerConfig, CreateOverlayHandlerInnerConfig, CreateOverlayHandlerWithQueryParamLifecycleConfig, CreateProviderOptions, DefaultSubmitButtonConfigFnConfig, DialogAutoFocusTarget, DialogConfig, DialogPosition, DialogRole, DynamicOverlayConfig, DynamicOverlayRed, ExposeInputVarsContext, FilterOverlayConfig, FilterOverlayResult, FilterOverlaySubmitButtonConfig, FocusableElement, FormChangesTrackerRef, IconDefinition, InlineTabBodyOriginState, InlineTabBodyPositionState, InputTouchedFn, InputValueChangeFn, InputValueUpdateType, LegacyBottomSheetAnimationEvent, LegacyDialogAnimationEvent, MasonryDimensions, MaybeOverlayConsumerConfigWithData, Menu, MenuAim, MenuStackCloseEvent, MenuStackItem, NativeSelectOptionValue, NavigationDismissCheckerRef, OnThemeColorMap, OverlayAutoFocusTarget, OverlayBodyDividerType, OverlayBreakpointConfig, OverlayBreakpointConfigEntry, OverlayCloseCallEvent, OverlayConfig, OverlayConsumerConfig, OverlayDismissCheckerRef, OverlayDragToDismissConfig, OverlayHandler, OverlayHandlerWithQueryParamLifecycle, OverlayHeaderTemplates, OverlayLayout, OverlayPosition, OverlayRole, OverlayRoute, OverlayRouterConfig, OverlayRouterNavigateConfig, OverlayRouterNavigationDirection, OverlayRouterTransitionType, OverlayState, PaginateOptions, PaginatedTabHeaderItem, PaginationHeadServiceConfig, PaginationItem, PictureConfig, PictureSource, ProgressSpinnerDefaultOptions, ProgressSpinnerMode, QueryErrorItem, QueryErrorList, RadioValue, ScrollableButtonPosition, ScrollableDirection, ScrollableIntersectionChange, ScrollableItemSize, ScrollableLoadingTemplatePosition, ScrollableScrollMode, ScrollableScrollOrigin, SegmentedButtonGroupRenderAs, SidebarOverlayConfig, SortDefaultOptions, SortHeaderArrowPosition, SortHeaderColumnDef, Sortable, SwipeEndEvent, SwipeUpdateEvent, TabConfig, TabPaginationScrollDirection, TableDataSourcePageEvent, TableDataSourcePaginator, Theme, ThemeColor, ThemeColorMap, ThemeHSLColor, ThemeRGBColor, ThemeSwatch, Toggler, ToggletipConfig, TooltipConfig, ValidationErrorsServiceType, ValidatorErrors, _ActiveTabUnderlinePositioner };
10444
+ export type { AbstractComboboxBody, AbstractComboboxOption, ActiveTabUnderlineItem, ArrowViewState, ArrowViewStateTransition, BottomSheetAutoFocusTarget, BottomSheetConfig, BracketConfig, BracketMatch, BracketRound, CarouselTransitionDirection, CarouselTransitionType, CloseOptions, ComboboxConfig, ConnectedMatches, ContextMenuCoordinates, CreateFormChangesTrackerConfig, CreateNavigationDismissCheckerConfig, CreateOverlayDismissCheckerConfig, CreateOverlayHandlerConfig, CreateOverlayHandlerInnerConfig, CreateOverlayHandlerWithQueryParamLifecycleConfig, CreateProviderOptions, DefaultSubmitButtonConfigFnConfig, DialogAutoFocusTarget, DialogConfig, DialogPosition, DialogRole, DynamicOverlayConfig, DynamicOverlayRed, ExposeInputVarsContext, FilterOverlayConfig, FilterOverlayResult, FilterOverlaySubmitButtonConfig, FocusableElement, FormChangesTrackerRef, IconDefinition, InlineTabBodyOriginState, InlineTabBodyPositionState, InputTouchedFn, InputValueChangeFn, InputValueUpdateType, LegacyBottomSheetAnimationEvent, LegacyDialogAnimationEvent, MasonryDimensions, MaybeOverlayConsumerConfigWithData, Menu, MenuAim, MenuStackCloseEvent, MenuStackItem, NativeSelectOptionValue, NavigationDismissCheckerRef, OnThemeColorMap, OverlayAutoFocusTarget, OverlayBodyDividerType, OverlayBreakpointConfig, OverlayBreakpointConfigEntry, OverlayCloseCallEvent, OverlayConfig, OverlayConsumerConfig, OverlayDismissCheckerRef, OverlayDragToDismissConfig, OverlayHandler, OverlayHandlerWithQueryParamLifecycle, OverlayHeaderTemplates, OverlayLayout, OverlayPosition, OverlayRole, OverlayRoute, OverlayRouterConfig, OverlayRouterNavigateConfig, OverlayRouterNavigationDirection, OverlayRouterTransitionType, OverlayState, PaginateOptions, PaginatedTabHeaderItem, PaginationHeadServiceConfig, PaginationItem, PictureConfig, PictureSource, ProgressSpinnerDefaultOptions, ProgressSpinnerMode, QueryErrorItem, QueryErrorList, RadioValue, ScrollableButtonPosition, ScrollableDirection, ScrollableIntersectionChange, ScrollableItemSize, ScrollableLoadingTemplatePosition, ScrollableScrollMode, ScrollableScrollOrigin, SegmentedButtonGroupRenderAs, SidebarOverlayConfig, SortDefaultOptions, SortHeaderArrowPosition, SortHeaderColumnDef, Sortable, SwipeEndEvent, SwipeUpdateEvent, TabConfig, TabPaginationScrollDirection, TableDataSourcePageEvent, TableDataSourcePaginator, Theme, ThemeColor, ThemeColorMap, ThemeHSLColor, ThemeRGBColor, ThemeSwatch, Toggler, ToggletipConfig, TooltipConfig, ValidationErrorsServiceType, ValidatorErrors, _ActiveTabUnderlinePositioner };