Upgrade client dep

This commit is contained in:
Chocobozzz 2017-10-31 16:37:37 +01:00
parent 53abc4c272
commit 7a8032bb6d
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
6 changed files with 835 additions and 470 deletions

View File

@ -91,10 +91,10 @@
"style-loader": "^0.19.0", "style-loader": "^0.19.0",
"tslib": "^1.5.0", "tslib": "^1.5.0",
"tslint": "^5.7.0", "tslint": "^5.7.0",
"tslint-config-standard": "^6.0.1", "tslint-config-standard": "^7.0.0",
"tslint-loader": "^3.3.0", "tslint-loader": "^3.3.0",
"typescript": "^2.5.2", "typescript": "^2.5.2",
"uglifyjs-webpack-plugin": "^0.4.6", "uglifyjs-webpack-plugin": "^1.0.1",
"url-loader": "^0.6.2", "url-loader": "^0.6.2",
"video.js": "^6.2.0", "video.js": "^6.2.0",
"videojs-dock": "^2.0.2", "videojs-dock": "^2.0.2",

View File

@ -5,7 +5,7 @@ import { USER_ROLE_LABELS, VideoResolution } from '../../../../../../shared'
export abstract class UserEdit extends FormReactive { export abstract class UserEdit extends FormReactive {
videoQuotaOptions = [ videoQuotaOptions = [
{ value: -1, label: 'Unlimited' }, { value: -1, label: 'Unlimited' },
{ value: 0, label: '0'}, { value: 0, label: '0' },
{ value: 100 * 1024 * 1024, label: '100MB' }, { value: 100 * 1024 * 1024, label: '100MB' },
{ value: 500 * 1024 * 1024, label: '500MB' }, { value: 500 * 1024 * 1024, label: '500MB' },
{ value: 1024 * 1024 * 1024, label: '1GB' }, { value: 1024 * 1024 * 1024, label: '1GB' },

View File

@ -127,7 +127,7 @@ export class AppModule {
/** /**
* Display new elements * Display new elements
*/ */
store.disposeOldHosts () store.disposeOldHosts()
delete store.disposeOldHosts delete store.disposeOldHosts
} }
} }

View File

@ -48,7 +48,7 @@ import { throwIfAlreadyLoaded } from './module-import-guard'
] ]
}) })
export class CoreModule { export class CoreModule {
constructor ( @Optional() @SkipSelf() parentModule: CoreModule) { constructor (@Optional() @SkipSelf() parentModule: CoreModule) {
throwIfAlreadyLoaded(parentModule, 'CoreModule') throwIfAlreadyLoaded(parentModule, 'CoreModule')
} }
} }

View File

@ -1,15 +1,15 @@
import { Injectable } from '@angular/core' import { Injectable } from '@angular/core'
import { Observable } from 'rxjs/Observable' import { Observable } from 'rxjs/Observable'
import { HttpClient, HttpParams, HttpRequest } from '@angular/common/http'
import 'rxjs/add/operator/catch' import 'rxjs/add/operator/catch'
import 'rxjs/add/operator/map' import 'rxjs/add/operator/map'
import { HttpClient, HttpParams, HttpRequest } from '@angular/common/http'
import { Search } from '../../shared'
import { SortField } from './sort-field.type' import { SortField } from './sort-field.type'
import { import {
RestExtractor, RestExtractor,
RestService, RestService,
UserService UserService,
Search
} from '../../shared' } from '../../shared'
import { Video } from './video.model' import { Video } from './video.model'
import { VideoDetails } from './video-details.model' import { VideoDetails } from './video-details.model'

File diff suppressed because it is too large Load Diff