Skip to content
Snippets Groups Projects
Commit dd1dfca5 authored by Chris Hines's avatar Chris Hines
Browse files

upgrade to material9

parent d175bde5
No related branches found
No related tags found
4 merge requests!106if stat fails, display the error instead of immediately refreshing...,!99Dev,!73Test,!72Dev
...@@ -11,6 +11,7 @@ ...@@ -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 @@ ...@@ -28,6 +29,12 @@
}, },
"configurations": { "configurations": {
"prod": { "prod": {
"budgets": [
{
"type": "anyComponentStyle",
"maximumWarning": "6kb"
}
],
"optimization": true, "optimization": true,
"outputHashing": "all", "outputHashing": "all",
"sourceMap": false, "sourceMap": false,
...@@ -57,6 +64,12 @@ ...@@ -57,6 +64,12 @@
] ]
}, },
"test": { "test": {
"budgets": [
{
"type": "anyComponentStyle",
"maximumWarning": "6kb"
}
],
"fileReplacements": [ "fileReplacements": [
{ {
"replace": "src/assets/config/apiservers.json", "replace": "src/assets/config/apiservers.json",
...@@ -69,6 +82,12 @@ ...@@ -69,6 +82,12 @@
] ]
}, },
"dev": { "dev": {
"budgets": [
{
"type": "anyComponentStyle",
"maximumWarning": "6kb"
}
],
"fileReplacements": [ "fileReplacements": [
{ {
"replace": "src/assets/config/apiservers.json", "replace": "src/assets/config/apiservers.json",
...@@ -160,7 +179,7 @@ ...@@ -160,7 +179,7 @@
"schematics": { "schematics": {
"@schematics/angular:component": { "@schematics/angular:component": {
"prefix": "app", "prefix": "app",
"styleext": "css" "style": "css"
}, },
"@schematics/angular:directive": { "@schematics/angular:directive": {
"prefix": "app" "prefix": "app"
......
This diff is collapsed.
...@@ -12,18 +12,18 @@ ...@@ -12,18 +12,18 @@
}, },
"private": true, "private": true,
"dependencies": { "dependencies": {
"@angular/animations": "8.2.14", "@angular/animations": "9.1.12",
"@angular/cdk": "^8.2.3", "@angular/cdk": "^8.2.3",
"@angular/common": "8.2.14", "@angular/common": "9.1.12",
"@angular/compiler": "8.2.14", "@angular/compiler": "9.1.12",
"@angular/core": "8.2.14", "@angular/core": "9.1.12",
"@angular/flex-layout": "^8.0.0-beta.27", "@angular/flex-layout": "^8.0.0-beta.27",
"@angular/forms": "8.2.14", "@angular/forms": "9.1.12",
"@angular/http": "7.2.15", "@angular/http": "7.2.15",
"@angular/material": "^8.2.3", "@angular/material": "^8.2.3",
"@angular/platform-browser": "8.2.14", "@angular/platform-browser": "9.1.12",
"@angular/platform-browser-dynamic": "8.2.14", "@angular/platform-browser-dynamic": "9.1.12",
"@angular/router": "8.2.14", "@angular/router": "9.1.12",
"buffer": "^5.5.0", "buffer": "^5.5.0",
"core-js": "^3.6.4", "core-js": "^3.6.4",
"hammerjs": "^2.0.8", "hammerjs": "^2.0.8",
...@@ -32,17 +32,18 @@ ...@@ -32,17 +32,18 @@
"node-forge": "^0.8.5", "node-forge": "^0.8.5",
"rxjs": "^6.6.3", "rxjs": "^6.6.3",
"rxjs-compat": "^6.5.4", "rxjs-compat": "^6.5.4",
"zone.js": "^0.9.1" "tslib": "^1.10.0",
"zone.js": "~0.10.2"
}, },
"devDependencies": { "devDependencies": {
"@angular-devkit/build-angular": "^0.803.29", "@angular-devkit/build-angular": "~0.901.12",
"@angular/cli": "8.3.29", "@angular/cli": "9.1.12",
"@angular/compiler-cli": "8.2.14", "@angular/compiler-cli": "9.1.12",
"@angular/language-service": "8.2.14", "@angular/language-service": "9.1.12",
"@types/jasmine": "^3.5.2", "@types/jasmine": "^3.5.2",
"@types/jasminewd2": "^2.0.8", "@types/jasminewd2": "^2.0.8",
"@types/node": "^12.12.26", "@types/node": "^12.11.1",
"codelyzer": "^5.2.1", "codelyzer": "^5.1.2",
"jasmine-core": "~3.4.0", "jasmine-core": "~3.4.0",
"jasmine-spec-reporter": "~4.2.1", "jasmine-spec-reporter": "~4.2.1",
"karma": "^5.2.2", "karma": "^5.2.2",
...@@ -53,6 +54,6 @@ ...@@ -53,6 +54,6 @@
"protractor": "^7.0.0", "protractor": "^7.0.0",
"ts-node": "~8.2.0", "ts-node": "~8.2.0",
"tslint": "~5.17.0", "tslint": "~5.17.0",
"typescript": "3.5.3" "typescript": "3.8.3"
} }
} }
...@@ -35,9 +35,9 @@ export class ContactUsComponent implements OnInit { ...@@ -35,9 +35,9 @@ export class ContactUsComponent implements OnInit {
public contacts$: Observable<any>; public contacts$: Observable<any>;
public tofield$: BehaviorSubject<any[]>; public tofield$: BehaviorSubject<any[]>;
@ViewChild('auto', { read: ElementRef, static: false }) matAutocomplete: MatAutocomplete; @ViewChild('auto', { read: ElementRef }) matAutocomplete: MatAutocomplete;
@ViewChild('contactInput', { read: ElementRef, static: false }) contactInput: ElementRef<HTMLInputElement>; @ViewChild('contactInput', { read: ElementRef }) contactInput: ElementRef<HTMLInputElement>;
@ViewChild('namefield', { read: ElementRef, static: false }) namefield: ElementRef<HTMLInputElement>; @ViewChild('namefield', { read: ElementRef }) namefield: ElementRef<HTMLInputElement>;
constructor(private formBuilder: FormBuilder, private computeSitesService: ComputesitesService, private tesService: TesService, private notifications: NotificationsService ) { constructor(private formBuilder: FormBuilder, private computeSitesService: ComputesitesService, private tesService: TesService, private notifications: NotificationsService ) {
let defform = {'name':[], 'email':[], 'message':[], 'to':[], 'contactCtrl': [], 'subject':[]} let defform = {'name':[], 'email':[], 'message':[], 'to':[], 'contactCtrl': [], 'subject':[]}
this.contactForm=this.formBuilder.group(defform); this.contactForm=this.formBuilder.group(defform);
......
...@@ -14,7 +14,7 @@ import { RenameDialogComponent } from './modals/renameDialog/renameDialog.compon ...@@ -14,7 +14,7 @@ import { RenameDialogComponent } from './modals/renameDialog/renameDialog.compon
export class FileExplorerComponent { export class FileExplorerComponent {
constructor(public dialog: MatDialog) {} constructor(public dialog: MatDialog) {}
@ViewChild(MatMenuTrigger, {static: false }) contextMenu: MatMenuTrigger; @ViewChild(MatMenuTrigger) contextMenu: MatMenuTrigger;
contextMenuPosition = { x: '0px', y: '0px' }; contextMenuPosition = { x: '0px', y: '0px' };
......
...@@ -30,8 +30,8 @@ export class LaunchDialogComponent implements OnInit { ...@@ -30,8 +30,8 @@ export class LaunchDialogComponent implements OnInit {
batchcmdsafeurl: any; batchcmdsafeurl: any;
appconfigsafeurl: any; appconfigsafeurl: any;
rmListen: any; rmListen: any;
@ViewChild('launchbtn', { read: ElementRef, static: false }) launchbtn: ElementRef; @ViewChild('launchbtn', { read: ElementRef }) launchbtn: ElementRef;
@ViewChild('batchbuilderiframe', { read: ElementRef, static: false }) batchbuilderiframe: ElementRef; @ViewChild('batchbuilderiframe', { read: ElementRef }) batchbuilderiframe: ElementRef;
setFocus: Boolean; setFocus: Boolean;
subscriptions: Subscription[]; subscriptions: Subscription[];
launchNext: Boolean; launchNext: Boolean;
......
...@@ -3,12 +3,13 @@ ...@@ -3,12 +3,13 @@
"compilerOptions": { "compilerOptions": {
"outDir": "../out-tsc/app", "outDir": "../out-tsc/app",
"baseUrl": "./", "baseUrl": "./",
"module": "es2015",
"types": [] "types": []
}, },
"exclude": [ "files": [
"test.ts", "main.ts",
"**/*.spec.ts", "polyfills.ts"
"app/*.worker.ts" ],
"include": [
"src/**/*.d.ts"
] ]
} }
...@@ -3,7 +3,6 @@ ...@@ -3,7 +3,6 @@
"compilerOptions": { "compilerOptions": {
"outDir": "../out-tsc/spec", "outDir": "../out-tsc/spec",
"baseUrl": "./", "baseUrl": "./",
"module": "commonjs",
"types": [ "types": [
"jasmin", "jasmin",
"node" "node"
......
{ {
"compileOnSave": false, "compileOnSave": false,
"compilerOptions": { "compilerOptions": {
"module": "esnext",
"outDir": "./dist/out-tsc", "outDir": "./dist/out-tsc",
"sourceMap": true, "sourceMap": true,
"declaration": false, "declaration": false,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment