mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-22 14:13:36 -07:00
refactor: 🔥 removed angular-bootstrap-md dependancy
This commit is contained in:
parent
87fc5d8fc7
commit
710edbc2f0
4 changed files with 12 additions and 38 deletions
|
@ -34,7 +34,6 @@
|
||||||
"@ngxs/store": "^3.7.3",
|
"@ngxs/store": "^3.7.3",
|
||||||
"@types/jquery": "^3.5.13",
|
"@types/jquery": "^3.5.13",
|
||||||
"@yellowspot/ng-truncate": "^2.0.0",
|
"@yellowspot/ng-truncate": "^2.0.0",
|
||||||
"angular-bootstrap-md": "^7.5.4",
|
|
||||||
"angular-router-loader": "^0.8.5",
|
"angular-router-loader": "^0.8.5",
|
||||||
"angularx-qrcode": "^13.0.3",
|
"angularx-qrcode": "^13.0.3",
|
||||||
"bootstrap": "^4.2.1",
|
"bootstrap": "^4.2.1",
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
import { APP_BASE_HREF, CommonModule, PlatformLocation } from "@angular/common";
|
import { APP_BASE_HREF, CommonModule, PlatformLocation } from "@angular/common";
|
||||||
import { CardsFreeModule, MDBBootstrapModule, NavbarModule } from "angular-bootstrap-md";
|
|
||||||
import { CustomPageService, ImageService, RequestService, SettingsService } from "./services";
|
import { CustomPageService, ImageService, RequestService, SettingsService } from "./services";
|
||||||
import { FormsModule, ReactiveFormsModule } from "@angular/forms";
|
import { FormsModule, ReactiveFormsModule } from "@angular/forms";
|
||||||
import { HTTP_INTERCEPTORS, HttpClient, HttpClientModule } from "@angular/common/http";
|
import { HTTP_INTERCEPTORS, HttpClient, HttpClientModule } from "@angular/common/http";
|
||||||
|
@ -131,7 +130,6 @@ export function JwtTokenGetter() {
|
||||||
MatSnackBarModule,
|
MatSnackBarModule,
|
||||||
DialogModule,
|
DialogModule,
|
||||||
MatButtonModule,
|
MatButtonModule,
|
||||||
NavbarModule,
|
|
||||||
MatCardModule,
|
MatCardModule,
|
||||||
MatTooltipModule,
|
MatTooltipModule,
|
||||||
MatMenuModule,
|
MatMenuModule,
|
||||||
|
@ -145,11 +143,9 @@ export function JwtTokenGetter() {
|
||||||
ConfirmDialogModule,
|
ConfirmDialogModule,
|
||||||
OverlayPanelModule,
|
OverlayPanelModule,
|
||||||
CommonModule,
|
CommonModule,
|
||||||
CardsFreeModule,
|
|
||||||
OverlayModule,
|
OverlayModule,
|
||||||
MatCheckboxModule,
|
MatCheckboxModule,
|
||||||
MatProgressSpinnerModule,
|
MatProgressSpinnerModule,
|
||||||
MDBBootstrapModule.forRoot(),
|
|
||||||
JwtModule.forRoot({
|
JwtModule.forRoot({
|
||||||
config: {
|
config: {
|
||||||
tokenGetter: JwtTokenGetter,
|
tokenGetter: JwtTokenGetter,
|
||||||
|
|
|
@ -1,27 +1,21 @@
|
||||||
import { CommonModule } from "@angular/common";
|
import { RouterModule, Routes } from "@angular/router";
|
||||||
import { NgModule } from "@angular/core";
|
|
||||||
import { FormsModule } from "@angular/forms";
|
|
||||||
import { RouterModule, Routes } from "@angular/router";
|
|
||||||
|
|
||||||
|
|
||||||
import { MovieSearchComponent } from "./moviesearch.component";
|
|
||||||
import { MovieSearchGridComponent } from "./moviesearchgrid.component";
|
|
||||||
import { AlbumSearchComponent } from "./music/albumsearch.component";
|
import { AlbumSearchComponent } from "./music/albumsearch.component";
|
||||||
import { ArtistSearchComponent } from "./music/artistsearch.component";
|
import { ArtistSearchComponent } from "./music/artistsearch.component";
|
||||||
import { MusicSearchComponent } from "./music/musicsearch.component";
|
|
||||||
import { SearchComponent } from "./search.component";
|
|
||||||
import { SeriesInformationComponent } from "./seriesinformation.component";
|
|
||||||
import { TvSearchComponent } from "./tvsearch.component";
|
|
||||||
|
|
||||||
import { CardsFreeModule } from "angular-bootstrap-md";
|
|
||||||
|
|
||||||
import { RequestService } from "../services";
|
|
||||||
import { SearchService } from "../services";
|
|
||||||
|
|
||||||
import { AuthGuard } from "../auth/auth.guard";
|
import { AuthGuard } from "../auth/auth.guard";
|
||||||
|
import { CommonModule } from "@angular/common";
|
||||||
|
import { FormsModule } from "@angular/forms";
|
||||||
|
import { MovieSearchComponent } from "./moviesearch.component";
|
||||||
|
import { MovieSearchGridComponent } from "./moviesearchgrid.component";
|
||||||
|
import { MusicSearchComponent } from "./music/musicsearch.component";
|
||||||
|
import { NgModule } from "@angular/core";
|
||||||
import { RemainingRequestsComponent } from "../requests/remainingrequests.component";
|
import { RemainingRequestsComponent } from "../requests/remainingrequests.component";
|
||||||
|
import { RequestService } from "../services";
|
||||||
|
import { SearchComponent } from "./search.component";
|
||||||
|
import { SearchService } from "../services";
|
||||||
|
import { SeriesInformationComponent } from "./seriesinformation.component";
|
||||||
import { SharedModule } from "../shared/shared.module";
|
import { SharedModule } from "../shared/shared.module";
|
||||||
|
import { TvSearchComponent } from "./tvsearch.component";
|
||||||
|
|
||||||
const routes: Routes = [
|
const routes: Routes = [
|
||||||
{ path: "", component: SearchComponent, canActivate: [AuthGuard] },
|
{ path: "", component: SearchComponent, canActivate: [AuthGuard] },
|
||||||
|
@ -36,7 +30,6 @@ const routes: Routes = [
|
||||||
SharedModule,
|
SharedModule,
|
||||||
SidebarModule,
|
SidebarModule,
|
||||||
TooltipModule,
|
TooltipModule,
|
||||||
CardsFreeModule,
|
|
||||||
],
|
],
|
||||||
declarations: [
|
declarations: [
|
||||||
SearchComponent,
|
SearchComponent,
|
||||||
|
|
|
@ -1577,13 +1577,6 @@
|
||||||
resolved "https://registry.yarnpkg.com/@ngtools/webpack/-/webpack-13.2.3.tgz#a4434eb5e2ec3cc04d7f714f20d5203114563f33"
|
resolved "https://registry.yarnpkg.com/@ngtools/webpack/-/webpack-13.2.3.tgz#a4434eb5e2ec3cc04d7f714f20d5203114563f33"
|
||||||
integrity sha512-wooUZiV92QyoeFxkhqIwH/cfiAAAn+l8fEEuaaEIfJtpjpbShvvlboEVsqb28soeGiFJfLcmsZM3mUFgsG4QBQ==
|
integrity sha512-wooUZiV92QyoeFxkhqIwH/cfiAAAn+l8fEEuaaEIfJtpjpbShvvlboEVsqb28soeGiFJfLcmsZM3mUFgsG4QBQ==
|
||||||
|
|
||||||
"@ngu/carousel@^4.0.0":
|
|
||||||
version "4.0.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/@ngu/carousel/-/carousel-4.0.0.tgz#928937168010b36946135d86a1a90a8417a0634c"
|
|
||||||
integrity sha512-/L54YCTMxEZ98BwEWu3cCmH5FkQ2uG6eyw3EANp7D2QOPwry20/5YRWYjp7OkMOVTQ/nOL/pI4na0wJ/qfWD2A==
|
|
||||||
dependencies:
|
|
||||||
tslib "^2.3.0"
|
|
||||||
|
|
||||||
"@ngx-translate/core@^14.0.0":
|
"@ngx-translate/core@^14.0.0":
|
||||||
version "14.0.0"
|
version "14.0.0"
|
||||||
resolved "https://registry.yarnpkg.com/@ngx-translate/core/-/core-14.0.0.tgz#af421d0e1a28376843f0fed375cd2fae7630a5ff"
|
resolved "https://registry.yarnpkg.com/@ngx-translate/core/-/core-14.0.0.tgz#af421d0e1a28376843f0fed375cd2fae7630a5ff"
|
||||||
|
@ -2180,13 +2173,6 @@ ajv@^8.8.0:
|
||||||
require-from-string "^2.0.2"
|
require-from-string "^2.0.2"
|
||||||
uri-js "^4.2.2"
|
uri-js "^4.2.2"
|
||||||
|
|
||||||
angular-bootstrap-md@^7.5.4:
|
|
||||||
version "7.5.4"
|
|
||||||
resolved "https://registry.yarnpkg.com/angular-bootstrap-md/-/angular-bootstrap-md-7.5.4.tgz#1e6c482729380b98aea7dec9b4d7a4f4e187e08c"
|
|
||||||
integrity sha512-LBVqSswd49hJ3YNTkXzwM0Cn1+9SQ2kVYQxX36ZjxaKNeDQKaUk3V2Rb/y8krhDJrPJh37pDzRmlCDObg37EIA==
|
|
||||||
dependencies:
|
|
||||||
tslib "^1.9.0"
|
|
||||||
|
|
||||||
angular-router-loader@^0.8.5:
|
angular-router-loader@^0.8.5:
|
||||||
version "0.8.5"
|
version "0.8.5"
|
||||||
resolved "https://registry.yarnpkg.com/angular-router-loader/-/angular-router-loader-0.8.5.tgz#42b378d0914c1ce412b851c1d92b80dbbe4f2fc5"
|
resolved "https://registry.yarnpkg.com/angular-router-loader/-/angular-router-loader-0.8.5.tgz#42b378d0914c1ce412b851c1d92b80dbbe4f2fc5"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue