Uninstall flex layout

This commit is contained in:
Cucumberrbob 2025-02-28 13:10:56 +00:00
parent 8d7552609b
commit 0dc9d687b9
No known key found for this signature in database
GPG key ID: 2B935C47401C3614
3 changed files with 28 additions and 56 deletions

View file

@ -13,7 +13,6 @@
"@angular/common": "^19.2.0",
"@angular/compiler": "^19.2.0",
"@angular/core": "^19.2.0",
"@angular/flex-layout": "^15.0.0-beta.42",
"@angular/forms": "^19.2.0",
"@angular/platform-browser": "^19.2.0",
"@angular/platform-browser-dynamic": "^19.2.0",
@ -569,22 +568,6 @@
"zone.js": "~0.15.0"
}
},
"node_modules/@angular/flex-layout": {
"version": "15.0.0-beta.42",
"resolved": "https://registry.npmjs.org/@angular/flex-layout/-/flex-layout-15.0.0-beta.42.tgz",
"integrity": "sha512-cTAPVMMxnyIFwpZwdq0PL5mdP9Qh+R8MB7ZBezVaN3Rz2fRrkagzKpLvPX3TFzepXrvHBdpKsU4b8u+NxEC/6g==",
"deprecated": "This package has been deprecated. Please see https://blog.angular.io/modern-css-in-angular-layouts-4a259dca9127",
"dependencies": {
"tslib": "^2.3.0"
},
"peerDependencies": {
"@angular/cdk": ">=15.0.0",
"@angular/common": ">=15.0.2",
"@angular/core": ">=15.0.2",
"@angular/platform-browser": ">=15.0.2",
"rxjs": "^6.5.3 || ^7.4.0"
}
},
"node_modules/@angular/forms": {
"version": "19.2.0",
"resolved": "https://registry.npmjs.org/@angular/forms/-/forms-19.2.0.tgz",
@ -9828,14 +9811,6 @@
"tslib": "^2.3.0"
}
},
"@angular/flex-layout": {
"version": "15.0.0-beta.42",
"resolved": "https://registry.npmjs.org/@angular/flex-layout/-/flex-layout-15.0.0-beta.42.tgz",
"integrity": "sha512-cTAPVMMxnyIFwpZwdq0PL5mdP9Qh+R8MB7ZBezVaN3Rz2fRrkagzKpLvPX3TFzepXrvHBdpKsU4b8u+NxEC/6g==",
"requires": {
"tslib": "^2.3.0"
}
},
"@angular/forms": {
"version": "19.2.0",
"resolved": "https://registry.npmjs.org/@angular/forms/-/forms-19.2.0.tgz",

View file

@ -17,7 +17,6 @@
"@angular/common": "^19.2.0",
"@angular/compiler": "^19.2.0",
"@angular/core": "^19.2.0",
"@angular/flex-layout": "^15.0.0-beta.42",
"@angular/forms": "^19.2.0",
"@angular/platform-browser": "^19.2.0",
"@angular/platform-browser-dynamic": "^19.2.0",
@ -51,4 +50,4 @@
"prettier": "^3.0.3",
"typescript": "5.7.3"
}
}
}

View file

@ -2,7 +2,6 @@ import { ClipboardModule } from '@angular/cdk/clipboard';
import { APP_BASE_HREF } from '@angular/common';
import { HTTP_INTERCEPTORS, provideHttpClient, withInterceptorsFromDi } from '@angular/common/http';
import { NgModule } from '@angular/core';
import { FlexLayoutModule } from '@angular/flex-layout';
import { FormsModule } from '@angular/forms';
import { BrowserModule } from '@angular/platform-browser';
import { curray } from 'curray';
@ -27,32 +26,31 @@ import { SortPipe } from './sort.pipe';
curray();
@NgModule({ declarations: [
AppComponent,
MainLayoutComponent,
NavbarComponent,
AddNewTorrentComponent,
TorrentTableComponent,
SettingsComponent,
TorrentStatusPipe,
DownloadStatusPipe,
LoginComponent,
SetupComponent,
TorrentComponent,
DecodeURIPipe,
ProfileComponent,
Nl2BrPipe,
SortPipe,
],
bootstrap: [AppComponent], imports: [BrowserModule,
AppRoutingModule,
FormsModule,
NgxFilesizeModule,
FlexLayoutModule,
ClipboardModule], providers: [
FileSizePipe,
{ provide: HTTP_INTERCEPTORS, useClass: AuthInterceptor, multi: true },
{ provide: APP_BASE_HREF, useValue: (window as any)['_app_base'] || '/' },
provideHttpClient(withInterceptorsFromDi()),
] })
@NgModule({
declarations: [
AppComponent,
MainLayoutComponent,
NavbarComponent,
AddNewTorrentComponent,
TorrentTableComponent,
SettingsComponent,
TorrentStatusPipe,
DownloadStatusPipe,
LoginComponent,
SetupComponent,
TorrentComponent,
DecodeURIPipe,
ProfileComponent,
Nl2BrPipe,
SortPipe,
],
bootstrap: [AppComponent],
imports: [BrowserModule, AppRoutingModule, FormsModule, NgxFilesizeModule, ClipboardModule],
providers: [
FileSizePipe,
{ provide: HTTP_INTERCEPTORS, useClass: AuthInterceptor, multi: true },
{ provide: APP_BASE_HREF, useValue: (window as any)['_app_base'] || '/' },
provideHttpClient(withInterceptorsFromDi()),
],
})
export class AppModule {}