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/common": "^19.2.0",
"@angular/compiler": "^19.2.0", "@angular/compiler": "^19.2.0",
"@angular/core": "^19.2.0", "@angular/core": "^19.2.0",
"@angular/flex-layout": "^15.0.0-beta.42",
"@angular/forms": "^19.2.0", "@angular/forms": "^19.2.0",
"@angular/platform-browser": "^19.2.0", "@angular/platform-browser": "^19.2.0",
"@angular/platform-browser-dynamic": "^19.2.0", "@angular/platform-browser-dynamic": "^19.2.0",
@ -569,22 +568,6 @@
"zone.js": "~0.15.0" "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": { "node_modules/@angular/forms": {
"version": "19.2.0", "version": "19.2.0",
"resolved": "https://registry.npmjs.org/@angular/forms/-/forms-19.2.0.tgz", "resolved": "https://registry.npmjs.org/@angular/forms/-/forms-19.2.0.tgz",
@ -9828,14 +9811,6 @@
"tslib": "^2.3.0" "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": { "@angular/forms": {
"version": "19.2.0", "version": "19.2.0",
"resolved": "https://registry.npmjs.org/@angular/forms/-/forms-19.2.0.tgz", "resolved": "https://registry.npmjs.org/@angular/forms/-/forms-19.2.0.tgz",

View file

@ -17,7 +17,6 @@
"@angular/common": "^19.2.0", "@angular/common": "^19.2.0",
"@angular/compiler": "^19.2.0", "@angular/compiler": "^19.2.0",
"@angular/core": "^19.2.0", "@angular/core": "^19.2.0",
"@angular/flex-layout": "^15.0.0-beta.42",
"@angular/forms": "^19.2.0", "@angular/forms": "^19.2.0",
"@angular/platform-browser": "^19.2.0", "@angular/platform-browser": "^19.2.0",
"@angular/platform-browser-dynamic": "^19.2.0", "@angular/platform-browser-dynamic": "^19.2.0",

View file

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