Update to Angular 9
This commit is contained in:
@@ -14,9 +14,9 @@ import { environment } from '../environments/environment';
|
||||
styleUrls: ['./app.component.scss'],
|
||||
})
|
||||
export class AppComponent implements OnInit, AfterViewInit {
|
||||
@ViewChild('spinner', { static: false }) spinner;
|
||||
@ViewChild('status', { static: false }) status;
|
||||
@ViewChild('webview', { static: false }) webview;
|
||||
@ViewChild('spinner') spinner;
|
||||
@ViewChild('status') status;
|
||||
@ViewChild('webview') webview;
|
||||
helpStatus: string;
|
||||
extraHelpStatus: string;
|
||||
devMode: boolean;
|
||||
|
||||
@@ -22,9 +22,9 @@ declare let M;
|
||||
styleUrls: ['./files.component.scss'],
|
||||
})
|
||||
export class FilesComponent implements OnInit {
|
||||
@ViewChild('filesModal', { static: false }) filesModal;
|
||||
@ViewChild('fixedAction', { static: false }) fixedAction;
|
||||
@ViewChild('downloadMediaModal', { static: false }) downloadMediaModal;
|
||||
@ViewChild('filesModal') filesModal;
|
||||
@ViewChild('fixedAction') fixedAction;
|
||||
@ViewChild('downloadMediaModal') downloadMediaModal;
|
||||
@ViewChild('mkDirModal', { static: true }) mkDirModal;
|
||||
files: FileFolderListing[] = [];
|
||||
selectedFiles: FileFolderListing[] = [];
|
||||
|
||||
@@ -35,12 +35,12 @@ interface LogCatEntry {
|
||||
styleUrls: ['./header.component.scss'],
|
||||
})
|
||||
export class HeaderComponent implements OnInit {
|
||||
@ViewChild('header', { static: false }) header;
|
||||
@ViewChild('bookmarksModal', { static: false }) bookmarksModal;
|
||||
@ViewChild('beatOnModal', { static: false }) beatOnModal;
|
||||
@ViewChild('mainLogo', { static: false }) mainLogo;
|
||||
@ViewChild('safeModal', { static: false }) safeModal;
|
||||
@ViewChild('manageFavs', { static: false }) manageFavs;
|
||||
@ViewChild('header') header;
|
||||
@ViewChild('bookmarksModal') bookmarksModal;
|
||||
@ViewChild('beatOnModal') beatOnModal;
|
||||
@ViewChild('mainLogo') mainLogo;
|
||||
@ViewChild('safeModal') safeModal;
|
||||
@ViewChild('manageFavs') manageFavs;
|
||||
ConnectionStatus = ConnectionStatus;
|
||||
folder = FolderType;
|
||||
isAlive = true;
|
||||
|
||||
@@ -13,7 +13,7 @@ import { PackageService } from './package.service';
|
||||
styleUrls: ['./packages.component.scss'],
|
||||
})
|
||||
export class PackagesComponent implements OnInit {
|
||||
@ViewChild('appSettingsModal', { static: false }) appSettingsModal;
|
||||
@ViewChild('appSettingsModal') appSettingsModal;
|
||||
isLoadingApp = false;
|
||||
folder = FolderType;
|
||||
currentPackage: any = { package: { packageName: '', name: '', icon: '' }, versionCode: 0 };
|
||||
|
||||
@@ -4,8 +4,11 @@
|
||||
"outDir": "../out-tsc/app",
|
||||
"types": [ ]
|
||||
},
|
||||
"exclude": [
|
||||
"test.ts",
|
||||
"**/*.spec.ts"
|
||||
"files": [
|
||||
"main.ts",
|
||||
"polyfills.ts"
|
||||
],
|
||||
"include": [
|
||||
"src/**/*.d.ts"
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user