diff --git a/package-lock.json b/package-lock.json index 81d4795..d1c5b5a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -20,8 +20,6 @@ "@angular/router": "17.3.5", "@auth0/auth0-angular": "^2.2.1", "@fortawesome/fontawesome-free": "^6.5.1", - "@ngx-formly/core": "^6.1.8", - "@ngx-formly/material": "^6.1.8", "@types/node": "^20.14.2", "canvas-confetti": "^1.9.3", "confetti-js": "^0.0.18", @@ -3896,30 +3894,6 @@ "webpack": "^5.54.0" } }, - "node_modules/@ngx-formly/core": { - "version": "6.1.8", - "resolved": "https://registry.npmjs.org/@ngx-formly/core/-/core-6.1.8.tgz", - "integrity": "sha512-WVInXYF/fJx7aNUn8y8mqLUaotxAmxbdMzC5GJwJ4oNa8a2kmwWIBAzfoe7YhyWR/t/pGANTu9tsYZaFtQxPVQ==", - "dependencies": { - "tslib": "^2.0.0" - }, - "peerDependencies": { - "@angular/forms": ">=13.2.0", - "rxjs": "^6.5.3 || ^7.0.0" - } - }, - "node_modules/@ngx-formly/material": { - "version": "6.1.8", - "resolved": "https://registry.npmjs.org/@ngx-formly/material/-/material-6.1.8.tgz", - "integrity": "sha512-J7g/hL5g4zQQFz58TXZexhxNjicoHPRi6a+3lWKSSSv+zVyJrEy2ZFqohviHA5rm66esSHOpO2yWm0wQsjbmWA==", - "dependencies": { - "tslib": "^2.0.0" - }, - "peerDependencies": { - "@angular/material": ">=13.0.0", - "@ngx-formly/core": "6.1.8" - } - }, "node_modules/@nodelib/fs.scandir": { "version": "2.1.5", "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz", @@ -17582,22 +17556,6 @@ "integrity": "sha512-0heI0yHUckdGI8uywu/wkp24KR/tdYMKYJOaYIU+9JydyN1zJRpbR7x0thddl7+k/zu2ZGbfFdv1779Ecw/xdA==", "dev": true }, - "@ngx-formly/core": { - "version": "6.1.8", - "resolved": "https://registry.npmjs.org/@ngx-formly/core/-/core-6.1.8.tgz", - "integrity": "sha512-WVInXYF/fJx7aNUn8y8mqLUaotxAmxbdMzC5GJwJ4oNa8a2kmwWIBAzfoe7YhyWR/t/pGANTu9tsYZaFtQxPVQ==", - "requires": { - "tslib": "^2.0.0" - } - }, - "@ngx-formly/material": { - "version": "6.1.8", - "resolved": "https://registry.npmjs.org/@ngx-formly/material/-/material-6.1.8.tgz", - "integrity": "sha512-J7g/hL5g4zQQFz58TXZexhxNjicoHPRi6a+3lWKSSSv+zVyJrEy2ZFqohviHA5rm66esSHOpO2yWm0wQsjbmWA==", - "requires": { - "tslib": "^2.0.0" - } - }, "@nodelib/fs.scandir": { "version": "2.1.5", "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz", diff --git a/package.json b/package.json index a26fe53..e0d6ff2 100644 --- a/package.json +++ b/package.json @@ -25,8 +25,6 @@ "@angular/router": "17.3.5", "@auth0/auth0-angular": "^2.2.1", "@fortawesome/fontawesome-free": "^6.5.1", - "@ngx-formly/core": "^6.1.8", - "@ngx-formly/material": "^6.1.8", "@types/node": "^20.14.2", "canvas-confetti": "^1.9.3", "confetti-js": "^0.0.18", diff --git a/src/app/admin/admin.component.ts b/src/app/admin/admin.component.ts index 70335f0..d2bedfa 100644 --- a/src/app/admin/admin.component.ts +++ b/src/app/admin/admin.component.ts @@ -1,7 +1,7 @@ import { Component, inject, OnInit, signal } from '@angular/core'; import { Observable } from 'rxjs'; import { AuthService, User } from '@auth0/auth0-angular'; -import { AsyncPipe, JsonPipe, NgForOf, NgIf, NgTemplateOutlet } from '@angular/common'; +import { AsyncPipe, NgTemplateOutlet } from '@angular/common'; import { BlindLevelTabComponent } from './blind-level/blind-level-tab.component'; import { SeriesTabComponent } from './series/series-tab.component'; import { TournamentTabComponent } from './tournament/tournament-tab.component'; @@ -37,7 +37,6 @@ import { TimerStateService } from '../timer/services/timer-state.service'; AsyncPipe, MatSidenavModule, MatToolbarModule, - NgForOf, FormsModule, NullsafePrimitivePipe, MatCheckboxModule, @@ -45,8 +44,6 @@ import { TimerStateService } from '../timer/services/timer-state.service'; MatMenuModule, RouterOutlet, RouterLink, - JsonPipe, - NgIf, NgTemplateOutlet, RouterLinkActive ] diff --git a/src/app/admin/blind-level/admin-blind-level/admin-blind-level.component.ts b/src/app/admin/blind-level/admin-blind-level/admin-blind-level.component.ts index ee3213e..5f38394 100644 --- a/src/app/admin/blind-level/admin-blind-level/admin-blind-level.component.ts +++ b/src/app/admin/blind-level/admin-blind-level/admin-blind-level.component.ts @@ -18,9 +18,15 @@ import { CreatePauseComponent } from '../create-pause/create-pause.component'; @Component({ selector: 'app-admin-blind-level', + templateUrl: './admin-blind-level.component.html', standalone: true, - imports: [CommonModule, AppHeaderComponent, MatButtonModule, UserImageRoundComponent, RouterLink], - templateUrl: './admin-blind-level.component.html' + imports: [ + CommonModule, + AppHeaderComponent, + MatButtonModule, + UserImageRoundComponent, + RouterLink + ] }) export class AdminBlindLevelComponent implements OnInit { diff --git a/src/app/admin/blind-level/blind-level-tab.component.html b/src/app/admin/blind-level/blind-level-tab.component.html index b70d4f1..e470a24 100644 --- a/src/app/admin/blind-level/blind-level-tab.component.html +++ b/src/app/admin/blind-level/blind-level-tab.component.html @@ -36,9 +36,10 @@