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"
|
||||||
|
|
|
@ -1,78 +1,79 @@
|
||||||
{
|
{
|
||||||
"name": "ombi",
|
"name": "ombi",
|
||||||
"version": "3.0.0",
|
"version": "3.0.0",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"ng": "ng",
|
"ng": "ng",
|
||||||
"start": "ng serve --port 3578 --configuration hmr",
|
"start": "ng serve --port 3578 --configuration hmr",
|
||||||
"build": "node --max_old_space_size=6144 node_modules/@angular/cli/bin/ng build --prod",
|
"build": "node --max_old_space_size=6144 node_modules/@angular/cli/bin/ng build --prod",
|
||||||
"lint": "ng lint"
|
"lint": "ng lint"
|
||||||
},
|
},
|
||||||
"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",
|
||||||
"@fullcalendar/core": "^4.2.0",
|
"@fullcalendar/core": "^4.2.0",
|
||||||
"@fullcalendar/interaction": "^4.2.0",
|
"@fullcalendar/interaction": "^4.2.0",
|
||||||
"@ng-bootstrap/ng-bootstrap": "^4.0.1",
|
"@ng-bootstrap/ng-bootstrap": "^4.0.1",
|
||||||
"@ngu/carousel": "^1.4.9-beta-2",
|
"@ngu/carousel": "^1.4.9-beta-2",
|
||||||
"@ngx-translate/core": "^11.0.1",
|
"@ngx-translate/core": "^11.0.1",
|
||||||
"@ngx-translate/http-loader": "^4.0.0",
|
"@ngx-translate/http-loader": "^4.0.0",
|
||||||
"@types/jquery": "^3.3.29",
|
"@types/jquery": "^3.3.29",
|
||||||
"@yellowspot/ng-truncate": "^1.4.0",
|
"@yellowspot/ng-truncate": "^1.4.0",
|
||||||
"angular-bootstrap-md": "^7.5.4",
|
"angular-bootstrap-md": "^7.5.4",
|
||||||
"angular-router-loader": "^0.8.5",
|
"angular-router-loader": "^0.8.5",
|
||||||
"angularx-qrcode": "^2.1.0",
|
"angularx-qrcode": "^2.1.0",
|
||||||
"bootstrap": "^4.2.1",
|
"bootstrap": "^4.2.1",
|
||||||
"chart.js": "2.5.0",
|
"chart.js": "2.5.0",
|
||||||
"core-js": "^2.5.4",
|
"core-js": "^2.5.4",
|
||||||
"eventemitter2": "^5.0.1",
|
"eventemitter2": "^5.0.1",
|
||||||
"font-awesome": "^4.7.0",
|
"font-awesome": "^4.7.0",
|
||||||
"fullcalendar": "^4.0.0-alpha.4",
|
"fullcalendar": "^4.0.0-alpha.4",
|
||||||
"hammerjs": "^2.0.8",
|
"hammerjs": "^2.0.8",
|
||||||
"jquery": "3.3.1",
|
"jquery": "3.3.1",
|
||||||
"moment": "^2.23.0",
|
"moment": "^2.23.0",
|
||||||
"ng2-cookies": "^1.0.12",
|
"ng2-cookies": "^1.0.12",
|
||||||
"ngx-clipboard": "^12.1.0",
|
"ngx-clipboard": "^12.1.0",
|
||||||
"ngx-infinite-scroll": "^7.1.0",
|
"ngx-infinite-scroll": "^7.1.0",
|
||||||
"ngx-moment": "^3.0.1",
|
"ngx-moment": "^3.0.1",
|
||||||
"ngx-order-pipe": "^2.0.1",
|
"ngx-order-pipe": "^2.0.1",
|
||||||
"please-wait": "^0.0.5",
|
"please-wait": "^0.0.5",
|
||||||
"popper.js": "^1.14.3",
|
"popper.js": "^1.14.3",
|
||||||
"primeicons": "^1.0.0",
|
"primeicons": "^1.0.0",
|
||||||
"primeng": "^7.0.3",
|
"primeng": "^7.0.3",
|
||||||
"rxjs": "^6.5.2",
|
"rxjs": "^6.5.2",
|
||||||
"spinkit": "^1.2.5",
|
"spinkit": "^1.2.5",
|
||||||
"store": "^2.0.12",
|
"store": "^2.0.12",
|
||||||
"tslint-angular": "^1.1.2",
|
"tslib": "^1.10.0",
|
||||||
"zone.js": "^0.9.1"
|
"tslint-angular": "^1.1.2",
|
||||||
},
|
"zone.js": "~0.10.2"
|
||||||
"devDependencies": {
|
},
|
||||||
"@angular-devkit/build-angular": "^0.803.21",
|
"devDependencies": {
|
||||||
"@angular/cli": "~8.3.21",
|
"@angular-devkit/build-angular": "~0.901.6",
|
||||||
"@angular/compiler-cli": "^8.2.14",
|
"@angular/cli": "~9.1.6",
|
||||||
"@angular/language-service": "^8.2.14",
|
"@angular/compiler-cli": "^9.1.7",
|
||||||
"@types/jasmine": "~2.8.6",
|
"@angular/language-service": "^9.1.7",
|
||||||
"@types/jasminewd2": "~2.0.3",
|
"@types/jasmine": "~2.8.6",
|
||||||
"@types/node": "~8.9.4",
|
"@types/jasminewd2": "~2.0.3",
|
||||||
"codelyzer": "^4.5.0",
|
"@types/node": "^12.11.1",
|
||||||
"typescript": "~3.4.5"
|
"codelyzer": "^5.1.2",
|
||||||
},
|
"typescript": "~3.8.3"
|
||||||
"optionalDependencies": {
|
},
|
||||||
"node-sass": "^4.12.0",
|
"optionalDependencies": {
|
||||||
"protractor": "~5.4.0",
|
"node-sass": "^4.12.0",
|
||||||
"ts-node": "~5.0.1",
|
"protractor": "~5.4.0",
|
||||||
"tslint": "^5.12.0"
|
"ts-node": "~5.0.1",
|
||||||
}
|
"tslint": "^5.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) { }
|
||||||
|
|
||||||
|
|
|
@ -1,22 +1,30 @@
|
||||||
{
|
{
|
||||||
"compileOnSave": false,
|
"compileOnSave": false,
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"baseUrl": "./",
|
"baseUrl": "./",
|
||||||
"outDir": "./dist/out-tsc",
|
"module": "esnext",
|
||||||
"sourceMap": true,
|
"outDir": "./dist/out-tsc",
|
||||||
"declaration": false,
|
"sourceMap": true,
|
||||||
"moduleResolution": "node",
|
"declaration": false,
|
||||||
"emitDecoratorMetadata": true,
|
"moduleResolution": "node",
|
||||||
"experimentalDecorators": true,
|
"emitDecoratorMetadata": true,
|
||||||
"target": "es5",
|
"experimentalDecorators": true,
|
||||||
"types": ["node"],
|
"target": "es5",
|
||||||
"resolveJsonModule":true,
|
"types": ["node"],
|
||||||
"typeRoots": [
|
"resolveJsonModule":true,
|
||||||
"node_modules/@types"
|
"typeRoots": [
|
||||||
],
|
"node_modules/@types"
|
||||||
"lib": [
|
],
|
||||||
"es2017",
|
"lib": [
|
||||||
"dom"
|
"es2017",
|
||||||
]
|
"dom"
|
||||||
}
|
]
|
||||||
}
|
}
,
|
||||||
|
"files": [
|
||||||
|
"main.ts",
|
||||||
|
"polyfills.ts"
|
||||||
|
],
|
||||||
|
"include": [
|
||||||
|
"src/**/*.d.ts"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue