Commit bd1adee9 authored by David Burke's avatar David Burke

start update

parent 3d25dffc
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -32,18 +32,17 @@
"url": "git@gitlab.com:burke-software/passit-frontend.git"
},
"dependencies": {
"@angular/animations": "~7.2.0",
"@angular/animations": "~8.0.0",
"@angular/cdk": "^7.1.0",
"@angular/common": "~7.2.0",
"@angular/compiler": "~7.2.0",
"@angular/core": "~7.2.0",
"@angular/forms": "~7.2.0",
"@angular/http": "~7.2.0",
"@angular/platform-browser": "~7.2.0",
"@angular/platform-browser-dynamic": "~7.2.0",
"@angular/common": "~8.0.0",
"@angular/compiler": "~8.0.0",
"@angular/core": "~8.0.0",
"@angular/forms": "~8.0.0",
"@angular/platform-browser": "~8.0.0",
"@angular/platform-browser-dynamic": "~8.0.0",
"@angular/pwa": "^0.11",
"@angular/router": "~7.2.0",
"@angular/service-worker": "^7.1.0",
"@angular/router": "~8.0.0",
"@angular/service-worker": "^8.0.0",
"@braintree/sanitize-url": "~3.0.0",
"@ngrx/effects": "^7.0.0",
"@ngrx/entity": "^7.0.0",
......@@ -99,13 +98,13 @@
"tns-core-modules": "^5.4.0",
"url-parse": "^1.4.4",
"webextension-polyfill": "^0.3.1",
"zone.js": "^0.8.4"
"zone.js": "^0.9.1"
},
"devDependencies": {
"@angular-devkit/build-angular": "~0.13.7",
"@angular-devkit/build-ng-packagr": "~0.13.7",
"@angular/cli": "^7.1.0",
"@angular/compiler-cli": "~7.2.0",
"@angular-devkit/build-angular": "~0.800.1",
"@angular-devkit/build-ng-packagr": "~0.800.1",
"@angular/cli": "^8.0.1",
"@angular/compiler-cli": "~8.0.0",
"@angularclass/hmr": "^2.1.3",
"@babel/core": "^7.1.0",
"@nativescript/schematics": "^0.4.0",
......@@ -138,7 +137,7 @@
"tns-platform-declarations": "^5.1.0",
"ts-node": "~7.0.0",
"tslint": "~5.11.0",
"typescript": "~3.1.1",
"typescript": "~3.4.5",
"uglifyjs-webpack-plugin": "^2.1.2",
"web-ext": "^2.9.2",
"web-ext-types": "^3.0.0"
......
......@@ -17,7 +17,7 @@ import {
templateUrl: "./confirm-email.component.html"
})
export class ConfirmEmailComponent implements OnInit {
@ViewChild("codeInput") codeInput: ElementRef;
@ViewChild("codeInput", { static: true }) codeInput: ElementRef;
/** The error message, passed from the container to the template */
@Input() errorMessage: string;
......
......@@ -44,7 +44,7 @@ export class ManageBackupCodeComponent implements OnDestroy {
@Output()
toggleShowConfirm = new EventEmitter();
@ViewChild("passwordInput")
@ViewChild("passwordInput", { static: false })
passwordInput: ElementRef;
onSubmit() {
......
......@@ -72,10 +72,10 @@ export class RegisterComponent {
backupCodeDownloaded: boolean;
stages = RegisterStages;
@ViewChild("passwordInput")
@ViewChild("passwordInput", { static: false })
passwordInput: ElementRef;
@ViewChild("newsletterInput")
@ViewChild("newsletterInput", { static: false })
newsletterInput: ElementRef;
constructor() {}
......
......@@ -39,7 +39,7 @@ export class ResetPasswordVerifyComponent implements OnInit, OnDestroy {
showScanner = false;
video: HTMLVideoElement;
canvas: CanvasRenderingContext2D;
@ViewChild("canvas")
@ViewChild("canvas", { static: true })
canvasRef: ElementRef<HTMLCanvasElement>;
canvasElement: HTMLCanvasElement;
localErrorMessage: string | null;
......
......@@ -30,7 +30,7 @@ export class ResetPasswordComponent implements OnInit {
@Output() submitEmail = new EventEmitter();
@Output() reset = new EventEmitter();
@ViewChild("emailInput")
@ViewChild("emailInput", { static: false })
emailInput: ElementRef;
constructor() {}
......
......@@ -35,7 +35,7 @@ export class ImporterComponent {
@Output() setFileName = new EventEmitter<string>();
@Output() setImportableSecrets = new EventEmitter<ImportableSecret[]>();
@Output() saveSecrets = new EventEmitter<ImportableSecret[]>();
@ViewChild("fileInput") fileInput: ElementRef;
@ViewChild("fileInput", { static: true }) fileInput: ElementRef;
constructor(private importerService: ImporterService) {}
......
......@@ -41,8 +41,8 @@ export class SecretListComponent implements OnChanges, AfterViewInit {
@Output() updateSelectedGroup = new EventEmitter<number | null>();
@Output() searchUpdate = new EventEmitter<string>();
@ViewChild("secretList") secretList: ElementRef;
@ViewChild("groupFilterSelect") groupFilterSelect: any;
@ViewChild("secretList", { static: true }) secretList: ElementRef;
@ViewChild("groupFilterSelect", { static: false }) groupFilterSelect: any;
ngOnChanges(changes: SimpleChanges) {
const changedSecretManaged = changes["secretManaged"];
......
......@@ -77,7 +77,7 @@ export class SecretFormComponent {
});
}
@ViewChild("realPasswordInput")
@ViewChild("realPasswordInput", { static: false })
realPasswordInput: ElementRef;
constructor() {}
......
......@@ -40,7 +40,7 @@ export class TextFieldComponent {
@Input() showErrorBeforeSubmit = false;
@Output() returnPress = new EventEmitter();
@Output() focus = new EventEmitter();
@ViewChild("textFieldInput") textFieldInput: ElementRef;
@ViewChild("textFieldInput", { static: false }) textFieldInput: ElementRef;
constructor() {}
......
......@@ -21,7 +21,7 @@ export class TextLinkComponent implements AfterViewInit {
/** Only use href for external urls */
@Input() isExternal = false;
@Input() smartBold = true;
@ViewChild("ref") ref: ElementRef<HTMLAnchorElement>;
@ViewChild("ref", { static: false }) ref: ElementRef<HTMLAnchorElement>;
fontWeight: number | null = null;
bolderUnderline = false;
renderer: Renderer2;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment