mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-19 12:59:39 -07:00
angular 9
This commit is contained in:
parent
96eae50f09
commit
7708151eb5
8 changed files with 126 additions and 104 deletions
|
@ -13,6 +13,7 @@
|
||||||
"build": {
|
"build": {
|
||||||
"builder": "@angular-devkit/build-angular:browser",
|
"builder": "@angular-devkit/build-angular:browser",
|
||||||
"options": {
|
"options": {
|
||||||
|
"aot": true,
|
||||||
"progress": true,
|
"progress": true,
|
||||||
"extractCss": true,
|
"extractCss": true,
|
||||||
"outputPath": "dist",
|
"outputPath": "dist",
|
||||||
|
@ -44,6 +45,12 @@
|
||||||
},
|
},
|
||||||
"configurations": {
|
"configurations": {
|
||||||
"production": {
|
"production": {
|
||||||
|
"budgets": [
|
||||||
|
{
|
||||||
|
"type": "anyComponentStyle",
|
||||||
|
"maximumWarning": "6kb"
|
||||||
|
}
|
||||||
|
],
|
||||||
"fileReplacements": [{
|
"fileReplacements": [{
|
||||||
"replace": "src/environments/environment.ts",
|
"replace": "src/environments/environment.ts",
|
||||||
"with": "src/environments/environment.prod.ts"
|
"with": "src/environments/environment.prod.ts"
|
||||||
|
@ -59,6 +66,12 @@
|
||||||
"buildOptimizer": true
|
"buildOptimizer": true
|
||||||
},
|
},
|
||||||
"hmr": {
|
"hmr": {
|
||||||
|
"budgets": [
|
||||||
|
{
|
||||||
|
"type": "anyComponentStyle",
|
||||||
|
"maximumWarning": "6kb"
|
||||||
|
}
|
||||||
|
],
|
||||||
"fileReplacements": [{
|
"fileReplacements": [{
|
||||||
"replace": "src/environments/environment.ts",
|
"replace": "src/environments/environment.ts",
|
||||||
"with": "src/environments/environment.hmr.ts"
|
"with": "src/environments/environment.hmr.ts"
|
||||||
|
|
|
@ -9,17 +9,17 @@
|
||||||
},
|
},
|
||||||
"private": true,
|
"private": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@angular/animations": "^8.0.0",
|
"@angular/animations": "^9.1.7",
|
||||||
"@angular/cdk": "^8.0.0",
|
"@angular/cdk": "^8.0.0",
|
||||||
"@angular/common": "^8.0.0",
|
"@angular/common": "^9.1.7",
|
||||||
"@angular/compiler": "^8.0.0",
|
"@angular/compiler": "^9.1.7",
|
||||||
"@angular/core": "^8.0.0",
|
"@angular/core": "^9.1.7",
|
||||||
"@angular/forms": "^8.0.0",
|
"@angular/forms": "^9.1.7",
|
||||||
"@angular/material": "^8.0.0",
|
"@angular/material": "^8.0.0",
|
||||||
"@angular/platform-browser": "^8.0.0",
|
"@angular/platform-browser": "^9.1.7",
|
||||||
"@angular/platform-browser-dynamic": "^8.0.0",
|
"@angular/platform-browser-dynamic": "^9.1.7",
|
||||||
"@angular/platform-server": "^8.0.0",
|
"@angular/platform-server": "^9.1.7",
|
||||||
"@angular/router": "^8.0.0",
|
"@angular/router": "^9.1.7",
|
||||||
"@angularclass/hmr": "^2.1.3",
|
"@angularclass/hmr": "^2.1.3",
|
||||||
"@aspnet/signalr": "^1.1.0",
|
"@aspnet/signalr": "^1.1.0",
|
||||||
"@auth0/angular-jwt": "^2.1.0",
|
"@auth0/angular-jwt": "^2.1.0",
|
||||||
|
@ -55,19 +55,20 @@
|
||||||
"rxjs": "^6.5.2",
|
"rxjs": "^6.5.2",
|
||||||
"spinkit": "^1.2.5",
|
"spinkit": "^1.2.5",
|
||||||
"store": "^2.0.12",
|
"store": "^2.0.12",
|
||||||
|
"tslib": "^1.10.0",
|
||||||
"tslint-angular": "^1.1.2",
|
"tslint-angular": "^1.1.2",
|
||||||
"zone.js": "^0.9.1"
|
"zone.js": "~0.10.2"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@angular-devkit/build-angular": "^0.803.21",
|
"@angular-devkit/build-angular": "~0.901.6",
|
||||||
"@angular/cli": "~8.3.21",
|
"@angular/cli": "~9.1.6",
|
||||||
"@angular/compiler-cli": "^8.2.14",
|
"@angular/compiler-cli": "^9.1.7",
|
||||||
"@angular/language-service": "^8.2.14",
|
"@angular/language-service": "^9.1.7",
|
||||||
"@types/jasmine": "~2.8.6",
|
"@types/jasmine": "~2.8.6",
|
||||||
"@types/jasminewd2": "~2.0.3",
|
"@types/jasminewd2": "~2.0.3",
|
||||||
"@types/node": "~8.9.4",
|
"@types/node": "^12.11.1",
|
||||||
"codelyzer": "^4.5.0",
|
"codelyzer": "^5.1.2",
|
||||||
"typescript": "~3.4.5"
|
"typescript": "~3.8.3"
|
||||||
},
|
},
|
||||||
"optionalDependencies": {
|
"optionalDependencies": {
|
||||||
"node-sass": "^4.12.0",
|
"node-sass": "^4.12.0",
|
||||||
|
|
|
@ -11,7 +11,7 @@ import { QualityPipe } from "./QualityPipe";
|
||||||
})
|
})
|
||||||
export class PipeModule {
|
export class PipeModule {
|
||||||
|
|
||||||
public static forRoot(): ModuleWithProviders {
|
public static forRoot(): ModuleWithProviders<PipeModule> {
|
||||||
return {
|
return {
|
||||||
ngModule: PipeModule,
|
ngModule: PipeModule,
|
||||||
providers: [],
|
providers: [],
|
||||||
|
|
|
@ -35,8 +35,8 @@ export class MoviesGridComponent implements OnInit, AfterViewInit {
|
||||||
|
|
||||||
@Output() public onOpenOptions = new EventEmitter<{ request: any, filter: any, onChange: any }>();
|
@Output() public onOpenOptions = new EventEmitter<{ request: any, filter: any, onChange: any }>();
|
||||||
|
|
||||||
@ViewChild(MatPaginator, { static: false }) paginator: MatPaginator;
|
@ViewChild(MatPaginator) paginator: MatPaginator;
|
||||||
@ViewChild(MatSort, { static: false }) sort: MatSort;
|
@ViewChild(MatSort) sort: MatSort;
|
||||||
|
|
||||||
constructor(private requestService: RequestServiceV2, private ref: ChangeDetectorRef,
|
constructor(private requestService: RequestServiceV2, private ref: ChangeDetectorRef,
|
||||||
private auth: AuthService, private storageService: StorageService) {
|
private auth: AuthService, private storageService: StorageService) {
|
||||||
|
|
|
@ -34,8 +34,8 @@ export class TvGridComponent implements OnInit, AfterViewInit {
|
||||||
|
|
||||||
@Output() public onOpenOptions = new EventEmitter<{request: any, filter: any, onChange: any}>();
|
@Output() public onOpenOptions = new EventEmitter<{request: any, filter: any, onChange: any}>();
|
||||||
|
|
||||||
@ViewChild(MatPaginator, {static: false}) paginator: MatPaginator;
|
@ViewChild(MatPaginator) paginator: MatPaginator;
|
||||||
@ViewChild(MatSort, {static: false}) sort: MatSort;
|
@ViewChild(MatSort) sort: MatSort;
|
||||||
|
|
||||||
constructor(private requestService: RequestServiceV2, private auth: AuthService,
|
constructor(private requestService: RequestServiceV2, private auth: AuthService,
|
||||||
private ref: ChangeDetectorRef, private storageService: StorageService) {
|
private ref: ChangeDetectorRef, private storageService: StorageService) {
|
||||||
|
|
|
@ -15,7 +15,7 @@ export class UserManagementComponent implements OnInit {
|
||||||
public dataSource: MatTableDataSource<IUser>;
|
public dataSource: MatTableDataSource<IUser>;
|
||||||
|
|
||||||
public selection = new SelectionModel<IUser>(true, []);
|
public selection = new SelectionModel<IUser>(true, []);
|
||||||
@ViewChild(MatSort, {static: false}) public sort: MatSort;
|
@ViewChild(MatSort) public sort: MatSort;
|
||||||
public users: IUser[];
|
public users: IUser[];
|
||||||
public checkAll = false;
|
public checkAll = false;
|
||||||
public emailSettings: IEmailNotificationSettings;
|
public emailSettings: IEmailNotificationSettings;
|
||||||
|
|
|
@ -18,7 +18,7 @@ export class VoteComponent implements OnInit {
|
||||||
public completedVotes: IVoteViewModel[];
|
public completedVotes: IVoteViewModel[];
|
||||||
public VoteType = VoteType;
|
public VoteType = VoteType;
|
||||||
public panelImage: string;
|
public panelImage: string;
|
||||||
@ViewChild("op", {static: false}) public overlayPanel: OverlayPanel;
|
@ViewChild("op") public overlayPanel: OverlayPanel;
|
||||||
|
|
||||||
constructor(private voteService: VoteService, private notificationSerivce: NotificationService) { }
|
constructor(private voteService: VoteService, private notificationSerivce: NotificationService) { }
|
||||||
|
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
"compileOnSave": false,
|
"compileOnSave": false,
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"baseUrl": "./",
|
"baseUrl": "./",
|
||||||
|
"module": "esnext",
|
||||||
"outDir": "./dist/out-tsc",
|
"outDir": "./dist/out-tsc",
|
||||||
"sourceMap": true,
|
"sourceMap": true,
|
||||||
"declaration": false,
|
"declaration": false,
|
||||||
|
@ -18,5 +19,12 @@
|
||||||
"es2017",
|
"es2017",
|
||||||
"dom"
|
"dom"
|
||||||
]
|
]
|
||||||
}
|
}
,
|
||||||
|
"files": [
|
||||||
|
"main.ts",
|
||||||
|
"polyfills.ts"
|
||||||
|
],
|
||||||
|
"include": [
|
||||||
|
"src/**/*.d.ts"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue