mirror of https://github.com/OpenVidu/openvidu.git
Dashboard: update to Angular 9
parent
e666b90360
commit
e2a2c1cbd6
|
@ -11,6 +11,7 @@
|
||||||
"build": {
|
"build": {
|
||||||
"builder": "@angular-devkit/build-angular:browser",
|
"builder": "@angular-devkit/build-angular:browser",
|
||||||
"options": {
|
"options": {
|
||||||
|
"aot": true,
|
||||||
"outputPath": "dist",
|
"outputPath": "dist",
|
||||||
"index": "src/index.html",
|
"index": "src/index.html",
|
||||||
"main": "src/main.ts",
|
"main": "src/main.ts",
|
||||||
|
@ -28,6 +29,12 @@
|
||||||
},
|
},
|
||||||
"configurations": {
|
"configurations": {
|
||||||
"production": {
|
"production": {
|
||||||
|
"budgets": [
|
||||||
|
{
|
||||||
|
"type": "anyComponentStyle",
|
||||||
|
"maximumWarning": "6kb"
|
||||||
|
}
|
||||||
|
],
|
||||||
"optimization": true,
|
"optimization": true,
|
||||||
"outputHashing": "all",
|
"outputHashing": "all",
|
||||||
"sourceMap": false,
|
"sourceMap": false,
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -1,31 +1,32 @@
|
||||||
{
|
{
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@angular/animations": "8.2.14",
|
"@angular/animations": "9.0.0",
|
||||||
"@angular/cdk": "8.2.3",
|
"@angular/cdk": "8.2.3",
|
||||||
"@angular/common": "8.2.14",
|
"@angular/common": "9.0.0",
|
||||||
"@angular/compiler": "8.2.14",
|
"@angular/compiler": "9.0.0",
|
||||||
"@angular/core": "8.2.14",
|
"@angular/core": "9.0.0",
|
||||||
"@angular/flex-layout": "8.0.0-beta.27",
|
"@angular/flex-layout": "8.0.0-beta.27",
|
||||||
"@angular/forms": "8.2.14",
|
"@angular/forms": "9.0.0",
|
||||||
"@angular/material": "8.2.3",
|
"@angular/material": "8.2.3",
|
||||||
"@angular/platform-browser": "8.2.14",
|
"@angular/platform-browser": "9.0.0",
|
||||||
"@angular/platform-browser-dynamic": "8.2.14",
|
"@angular/platform-browser-dynamic": "9.0.0",
|
||||||
"@angular/router": "8.2.14",
|
"@angular/router": "9.0.0",
|
||||||
"core-js": "3.6.4",
|
"core-js": "3.6.4",
|
||||||
"hammerjs": "2.0.8",
|
"hammerjs": "2.0.8",
|
||||||
"jquery": "3.4.1",
|
"jquery": "3.4.1",
|
||||||
"openvidu-browser": "2.11.0",
|
"openvidu-browser": "2.11.0",
|
||||||
"rxjs": "6.5.4",
|
"rxjs": "6.5.4",
|
||||||
"zone.js": "0.10.2"
|
"tslib": "^1.10.0",
|
||||||
|
"zone.js": "~0.10.2"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@angular-devkit/build-angular": "0.803.24",
|
"@angular-devkit/build-angular": "~0.900.1",
|
||||||
"@angular/cli": "8.3.24",
|
"@angular/cli": "9.0.1",
|
||||||
"@angular/compiler-cli": "8.2.14",
|
"@angular/compiler-cli": "9.0.0",
|
||||||
"@angular/language-service": "8.2.14",
|
"@angular/language-service": "9.0.0",
|
||||||
"@types/jasmine": "3.5.2",
|
"@types/jasmine": "3.5.2",
|
||||||
"@types/node": "13.5.3",
|
"@types/node": "^12.11.1",
|
||||||
"codelyzer": "5.2.1",
|
"codelyzer": "^5.1.2",
|
||||||
"jasmine-core": "3.5.0",
|
"jasmine-core": "3.5.0",
|
||||||
"jasmine-spec-reporter": "4.2.1",
|
"jasmine-spec-reporter": "4.2.1",
|
||||||
"karma": "4.4.1",
|
"karma": "4.4.1",
|
||||||
|
@ -36,7 +37,7 @@
|
||||||
"protractor": "5.4.3",
|
"protractor": "5.4.3",
|
||||||
"ts-node": "8.6.2",
|
"ts-node": "8.6.2",
|
||||||
"tslint": "6.0.0",
|
"tslint": "6.0.0",
|
||||||
"typescript": "3.5.3"
|
"typescript": "3.7.5"
|
||||||
},
|
},
|
||||||
"license": "Apache-2.0",
|
"license": "Apache-2.0",
|
||||||
"name": "frontend",
|
"name": "frontend",
|
||||||
|
|
|
@ -41,4 +41,4 @@ const appRoutes: Routes = [
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
export const routing: ModuleWithProviders = RouterModule.forRoot(appRoutes, { useHash: true });
|
export const routing: ModuleWithProviders<RouterModule> = RouterModule.forRoot(appRoutes, { useHash: true });
|
||||||
|
|
|
@ -17,7 +17,7 @@ export class DashboardComponent implements OnInit, OnDestroy {
|
||||||
|
|
||||||
websocket: WebSocket;
|
websocket: WebSocket;
|
||||||
|
|
||||||
@ViewChild('scrollMe', { static: false }) private myScrollContainer: ElementRef;
|
@ViewChild('scrollMe') private myScrollContainer: ElementRef;
|
||||||
lockScroll = false;
|
lockScroll = false;
|
||||||
|
|
||||||
infoSubscription: Subscription;
|
infoSubscription: Subscription;
|
||||||
|
|
|
@ -7,7 +7,7 @@ import { Subscriber } from 'openvidu-browser';
|
||||||
})
|
})
|
||||||
export class OpenViduVideoComponent implements AfterViewInit {
|
export class OpenViduVideoComponent implements AfterViewInit {
|
||||||
|
|
||||||
@ViewChild('videoElement', { static: false }) elementRef: ElementRef;
|
@ViewChild('videoElement') elementRef: ElementRef;
|
||||||
|
|
||||||
_subscriber: Subscriber;
|
_subscriber: Subscriber;
|
||||||
|
|
||||||
|
|
|
@ -2,12 +2,11 @@
|
||||||
"extends": "../tsconfig.json",
|
"extends": "../tsconfig.json",
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"outDir": "../out-tsc/app",
|
"outDir": "../out-tsc/app",
|
||||||
"module": "es2015",
|
|
||||||
"baseUrl": "",
|
"baseUrl": "",
|
||||||
"types": []
|
"types": []
|
||||||
},
|
},
|
||||||
"exclude": [
|
"files": [
|
||||||
"test.ts",
|
"main.ts",
|
||||||
"**/*.spec.ts"
|
"polyfills.ts"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,7 +2,6 @@
|
||||||
"extends": "../tsconfig.json",
|
"extends": "../tsconfig.json",
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"outDir": "../out-tsc/spec",
|
"outDir": "../out-tsc/spec",
|
||||||
"module": "commonjs",
|
|
||||||
"target": "es5",
|
"target": "es5",
|
||||||
"baseUrl": "",
|
"baseUrl": "",
|
||||||
"types": [
|
"types": [
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
{
|
{
|
||||||
"compileOnSave": false,
|
"compileOnSave": false,
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
|
"module": "esnext",
|
||||||
"outDir": "./dist/out-tsc",
|
"outDir": "./dist/out-tsc",
|
||||||
"baseUrl": "src",
|
"baseUrl": "src",
|
||||||
"sourceMap": true,
|
"sourceMap": true,
|
||||||
|
|
Loading…
Reference in New Issue