Compare commits

...

7 Commits

Author SHA1 Message Date
Michel ten Voorde
d1338bf524 Disable positioning fix
All checks were successful
Gitea/swiss-client/pipeline/head This commit looks good
2025-08-26 16:06:45 +02:00
Michel ten Voorde
f858020330 Upgrade angular/material 2025-08-26 15:59:42 +02:00
Michel ten Voorde
cf86a449e2 Upgrade angular/material 2025-08-26 15:59:28 +02:00
Michel ten Voorde
3dd4746304 Upgrade angular/core 2025-08-26 15:58:27 +02:00
Michel ten Voorde
1e45a12392 Upgrade angular/cli 2025-08-26 15:56:50 +02:00
Michel ten Voorde
8082a72d4d Fix position for menu 2025-08-26 15:54:52 +02:00
Michel ten Voorde
27e90ceb17 Make components standalone 2025-08-26 15:54:40 +02:00
21 changed files with 2096 additions and 4533 deletions

4371
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -11,19 +11,19 @@
}, },
"private": true, "private": true,
"dependencies": { "dependencies": {
"@angular/animations": "^20.1.6", "@angular/animations": "^20.2.1",
"@angular/cdk": "^20.1.5", "@angular/cdk": "^20.2.0",
"@angular/common": "^20.1.6", "@angular/common": "^20.2.1",
"@angular/compiler": "^20.1.6", "@angular/compiler": "^20.2.1",
"@angular/core": "^20.1.6", "@angular/core": "^20.2.1",
"@angular/forms": "^20.1.6", "@angular/forms": "^20.2.1",
"@angular/material": "^20.1.5", "@angular/material": "^20.2.0",
"@angular/material-moment-adapter": "^20.1.5", "@angular/material-moment-adapter": "^20.2.0",
"@angular/platform-browser": "^20.1.6", "@angular/platform-browser": "^20.2.1",
"@angular/platform-browser-dynamic": "^20.1.6", "@angular/platform-browser-dynamic": "^20.2.1",
"@angular/platform-server": "^20.1.6", "@angular/platform-server": "^20.2.1",
"@angular/router": "^20.1.6", "@angular/router": "^20.2.1",
"@angular/ssr": "^20.1.5", "@angular/ssr": "^20.2.0",
"@ng-bootstrap/ng-bootstrap": "^19.0.1", "@ng-bootstrap/ng-bootstrap": "^19.0.1",
"@popperjs/core": "^2.11.8", "@popperjs/core": "^2.11.8",
"bootstrap": "^5.3.7", "bootstrap": "^5.3.7",
@@ -37,10 +37,10 @@
"zone.js": "~0.15.1" "zone.js": "~0.15.1"
}, },
"devDependencies": { "devDependencies": {
"@angular/build": "^20.1.5", "@angular/build": "^20.2.0",
"@angular/cli": "^20.1.5", "@angular/cli": "^20.2.0",
"@angular/compiler-cli": "^20.1.6", "@angular/compiler-cli": "^20.2.1",
"@angular/localize": "^20.1.6", "@angular/localize": "^20.2.1",
"@types/express": "^5.0.3", "@types/express": "^5.0.3",
"@types/jasmine": "~5.1.0", "@types/jasmine": "~5.1.0",
"@types/node": "^24.2.1", "@types/node": "^24.2.1",

View File

@@ -28,6 +28,7 @@ import {FormsModule} from "@angular/forms";
], ],
templateUrl: './court-selection.component.html', templateUrl: './court-selection.component.html',
standalone: true,
styleUrl: './court-selection.component.scss' styleUrl: './court-selection.component.scss'
}) })
export class CourtSelectionComponent { export class CourtSelectionComponent {

View File

@@ -24,6 +24,7 @@ import {User} from "../../authentication/user";
MatLabel, MatLabel,
MatCard, MatCard,
], ],
standalone: true,
styleUrls: ['./login.component.scss'] styleUrls: ['./login.component.scss']
}) })
export class LoginComponent implements OnInit { export class LoginComponent implements OnInit {

View File

@@ -42,6 +42,7 @@ import {Game} from "../../model/game";
TeamPipe TeamPipe
], ],
templateUrl: './match-result.component.html', templateUrl: './match-result.component.html',
standalone: true,
styleUrl: './match-result.component.scss' styleUrl: './match-result.component.scss'
}) })
export class MatchResultComponent { export class MatchResultComponent {

View File

@@ -27,6 +27,7 @@ import {HeaderService} from "../../service/header.service";
FullNamePipe FullNamePipe
], ],
templateUrl: './match-sheets.component.html', templateUrl: './match-sheets.component.html',
standalone: true,
styleUrl: './match-sheets.component.scss' styleUrl: './match-sheets.component.scss'
}) })
export class MatchSheetsComponent implements OnInit, OnDestroy { export class MatchSheetsComponent implements OnInit, OnDestroy {

View File

@@ -38,6 +38,7 @@ import {NgxMaskDirective} from "ngx-mask";
NgxMaskDirective NgxMaskDirective
], ],
templateUrl: './player-edit.component.html', templateUrl: './player-edit.component.html',
standalone: true,
styleUrl: './player-edit.component.scss' styleUrl: './player-edit.component.scss'
}) })
export class PlayerEditComponent implements OnInit { export class PlayerEditComponent implements OnInit {

View File

@@ -5,10 +5,10 @@ import {RouterLink} from "@angular/router";
@Component({ @Component({
selector: 'player-link', selector: 'player-link',
imports: [ imports: [
// MatAnchor,
RouterLink RouterLink
], ],
templateUrl: './player-link.component.html', templateUrl: './player-link.component.html',
standalone: true,
styleUrl: './player-link.component.scss' styleUrl: './player-link.component.scss'
}) })
export class PlayerLinkComponent implements OnInit { export class PlayerLinkComponent implements OnInit {

View File

@@ -29,6 +29,7 @@ import {MatSort, MatSortHeader} from "@angular/material/sort";
imports: [RouterLink, MatAnchor, MatIcon, MatCard, MatCardContent, FullNamePipe, MatTable, MatColumnDef, MatHeaderCell, MatHeaderCellDef, MatCell, MatCellDef, MatHeaderRow, MatHeaderRowDef, MatRow, MatRowDef, MatFormField, MatInput, MatFormFieldModule, MatPaginator, MatSortHeader, MatSort], imports: [RouterLink, MatAnchor, MatIcon, MatCard, MatCardContent, FullNamePipe, MatTable, MatColumnDef, MatHeaderCell, MatHeaderCellDef, MatCell, MatCellDef, MatHeaderRow, MatHeaderRowDef, MatRow, MatRowDef, MatFormField, MatInput, MatFormFieldModule, MatPaginator, MatSortHeader, MatSort],
providers: [FullNamePipe], providers: [FullNamePipe],
templateUrl: './player-list.component.html', templateUrl: './player-list.component.html',
standalone: true,
styleUrl: './player-list.component.scss' styleUrl: './player-list.component.scss'
}) })
export class PlayerListComponent implements AfterViewInit { export class PlayerListComponent implements AfterViewInit {

View File

@@ -40,6 +40,7 @@ import {HeaderService} from "../../service/header.service";
FullNamePipe FullNamePipe
], ],
templateUrl: './player-registrations.component.html', templateUrl: './player-registrations.component.html',
standalone: true,
styleUrl: './player-registrations.component.scss' styleUrl: './player-registrations.component.scss'
}) })
export class PlayerRegistrationsComponent implements OnInit { export class PlayerRegistrationsComponent implements OnInit {

View File

@@ -21,6 +21,7 @@ import {FullNamePipe} from "../../pipes/fullname-pipe";
FullNamePipe FullNamePipe
], ],
templateUrl: './round-overview.component.html', templateUrl: './round-overview.component.html',
standalone: true,
styleUrl: './round-overview.component.scss' styleUrl: './round-overview.component.scss'
}) })
export class RoundOverviewComponent implements OnInit { export class RoundOverviewComponent implements OnInit {

View File

@@ -30,6 +30,7 @@ import {FullNamePipe} from "../../pipes/fullname-pipe";
TeamPipe TeamPipe
], ],
templateUrl: './tournament-draw.component.html', templateUrl: './tournament-draw.component.html',
standalone: true,
styleUrl: './tournament-draw.component.scss' styleUrl: './tournament-draw.component.scss'
}) })
export class TournamentDrawComponent implements OnInit { export class TournamentDrawComponent implements OnInit {

View File

@@ -41,6 +41,7 @@ registerLocaleData(nl);
CurrencyPipe CurrencyPipe
], ],
templateUrl: './tournament-edit.component.html', templateUrl: './tournament-edit.component.html',
standalone: true,
styleUrl: './tournament-edit.component.scss' styleUrl: './tournament-edit.component.scss'
}) })
export class TournamentEditComponent implements OnInit { export class TournamentEditComponent implements OnInit {

View File

@@ -14,6 +14,7 @@ import {HeaderService} from "../../service/header.service";
RouterLink, MatAnchor, MatIcon, MatCard, MatCardContent, MatButton, MatTableModule RouterLink, MatAnchor, MatIcon, MatCard, MatCardContent, MatButton, MatTableModule
], ],
templateUrl: './tournament-list.component.html', templateUrl: './tournament-list.component.html',
standalone: true,
styleUrl: './tournament-list.component.scss' styleUrl: './tournament-list.component.scss'
}) })
export class TournamentListComponent implements OnInit { export class TournamentListComponent implements OnInit {

View File

@@ -1,6 +1,7 @@
td { td {
vertical-align: middle; vertical-align: middle;
} }
td, th { td, th {
background-color: transparent !important; background-color: transparent !important;
} }
@@ -8,6 +9,7 @@ td, th {
table.wide td, table.wide th { table.wide td, table.wide th {
height: 4em; height: 4em;
} }
.winner { .winner {
color: green; color: green;
font-weight: bold; font-weight: bold;
@@ -33,6 +35,7 @@ td.w-fill {
width: 95% !important; width: 95% !important;
} }
.material-tooltip {
white-space: pre-line; .mat-menu-panel {
z-index: 1000 !important;
} }

View File

@@ -70,6 +70,7 @@ import {MatTooltip} from "@angular/material/tooltip";
MatchResultPipe MatchResultPipe
], ],
templateUrl: './tournament-manage.component.html', templateUrl: './tournament-manage.component.html',
standalone: true,
styleUrl: './tournament-manage.component.scss' styleUrl: './tournament-manage.component.scss'
}) })
export class TournamentManageComponent implements OnInit, OnDestroy { export class TournamentManageComponent implements OnInit, OnDestroy {

View File

@@ -15,6 +15,7 @@ import {MatSnackBar} from "@angular/material/snack-bar";
FormsModule FormsModule
], ],
templateUrl: './tournament-players.component.html', templateUrl: './tournament-players.component.html',
standalone: true,
styleUrl: './tournament-players.component.scss' styleUrl: './tournament-players.component.scss'
}) })
export class TournamentPlayersComponent implements OnInit { export class TournamentPlayersComponent implements OnInit {

View File

@@ -15,6 +15,7 @@ import {FullNamePipe} from "../../pipes/fullname-pipe";
FullNamePipe FullNamePipe
], ],
templateUrl: './tournament-registrations.component.html', templateUrl: './tournament-registrations.component.html',
standalone: true,
styleUrl: './tournament-registrations.component.scss' styleUrl: './tournament-registrations.component.scss'
}) })
export class TournamentRegistrationsComponent implements OnInit { export class TournamentRegistrationsComponent implements OnInit {

View File

@@ -32,6 +32,7 @@ import {PlayerLinkComponent} from "../player-link/player-link.component";
PlayerLinkComponent PlayerLinkComponent
], ],
templateUrl: './tournament-validate.component.html', templateUrl: './tournament-validate.component.html',
standalone: true,
styleUrl: './tournament-validate.component.scss' styleUrl: './tournament-validate.component.scss'
}) })
export class TournamentValidateComponent implements OnInit { export class TournamentValidateComponent implements OnInit {

View File

@@ -2,3 +2,8 @@
html, body { height: 100%; } html, body { height: 100%; }
body { margin: 0; font-family: Roboto, "Helvetica Neue", sans-serif; } body { margin: 0; font-family: Roboto, "Helvetica Neue", sans-serif; }
/*
.cdk-overlay-container {
z-index: 2000 !important;
}
*/

1959
yarn.lock

File diff suppressed because it is too large Load Diff