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