diff --git a/package.json b/package.json index ebfe1c25..661a44bc 100644 --- a/package.json +++ b/package.json @@ -1,69 +1,70 @@ { - "name": "fuse2", - "version": "1.0.2", - "license": "", - "scripts": { - "ng": "ng", - "start": "ng serve", - "build": "ng build", - "test": "ng test", - "lint": "ng lint", - "e2e": "ng e2e" - }, - "private": true, - "dependencies": { - "@angular/animations": "4.3.6", - "@angular/cdk": "2.0.0-beta.10", - "@angular/common": "4.3.6", - "@angular/compiler": "4.3.6", - "@angular/core": "4.3.6", - "@angular/flex-layout": "2.0.0-beta.9", - "@angular/forms": "4.3.6", - "@angular/http": "4.3.6", - "@angular/material": "2.0.0-beta.10", - "@angular/platform-browser": "4.3.6", - "@angular/platform-browser-dynamic": "4.3.6", - "@angular/router": "4.3.6", - "@swimlane/ngx-charts": "6.0.2", - "@swimlane/ngx-datatable": "9.3.1", - "@swimlane/ngx-dnd": "3.0.0", - "angular-calendar": "0.19.0", - "angular-in-memory-web-api": "0.3.2", - "classlist.js": "1.1.20150312", - "core-js": "2.5.0", - "d3": "4.10.0", - "hammerjs": "2.0.8", - "highlight.js": "9.12.0", - "intl": "1.2.5", - "moment": "2.18.1", - "ngx-color-picker": "4.3.1", - "ngx-cookie-service": "1.0.7", - "ngx-perfect-scrollbar": "4.5.6", - "rxjs": "5.4.3", - "web-animations-js": "2.3.1", - "zone.js": "0.8.17" - }, - "devDependencies": { - "@angular/cli": "^1.3.2", - "@angular/compiler-cli": "4.3.6", - "@angular/language-service": "4.3.6", - "@ngtools/webpack": "^1.6.2", - "@types/jasmine": "^2.5.54", - "@types/jasminewd2": "^2.0.2", - "@types/node": "^6.0.88", - "codelyzer": "~3.0.1", - "jasmine-core": "~2.6.2", - "jasmine-spec-reporter": "~4.1.0", - "karma": "~1.7.0", - "karma-chrome-launcher": "~2.1.1", - "karma-cli": "~1.0.1", - "karma-coverage-istanbul-reporter": "^1.2.1", - "karma-jasmine": "~1.1.0", - "karma-jasmine-html-reporter": "^0.2.2", - "node-sass": "^4.5.3", - "protractor": "~5.1.2", - "ts-node": "~3.0.4", - "tslint": "~5.3.2", - "typescript": "~2.3.3" - } + "name": "fuse2", + "version": "1.0.2", + "license": "", + "scripts": { + "ng": "ng", + "start": "ng serve", + "build": "ng build", + "test": "ng test", + "lint": "ng lint", + "e2e": "ng e2e" + }, + "private": true, + "dependencies": { + "@angular/animations": "4.3.6", + "@angular/cdk": "2.0.0-beta.10", + "@angular/common": "4.3.6", + "@angular/compiler": "4.3.6", + "@angular/core": "4.3.6", + "@angular/flex-layout": "2.0.0-beta.9", + "@angular/forms": "4.3.6", + "@angular/http": "4.3.6", + "@angular/material": "2.0.0-beta.10", + "@angular/platform-browser": "4.3.6", + "@angular/platform-browser-dynamic": "4.3.6", + "@angular/router": "4.3.6", + "@swimlane/ngx-charts": "6.0.2", + "@swimlane/ngx-datatable": "9.3.1", + "@swimlane/ngx-dnd": "3.0.0", + "angular-calendar": "0.19.0", + "angular-in-memory-web-api": "0.3.2", + "classlist.js": "1.1.20150312", + "core-js": "2.5.0", + "d3": "4.10.0", + "hammerjs": "2.0.8", + "highlight.js": "9.12.0", + "intl": "1.2.5", + "md2": "0.0.28", + "moment": "2.18.1", + "ngx-color-picker": "4.3.1", + "ngx-cookie-service": "1.0.7", + "ngx-perfect-scrollbar": "4.5.6", + "rxjs": "5.4.3", + "web-animations-js": "2.3.1", + "zone.js": "0.8.17" + }, + "devDependencies": { + "@angular/cli": "^1.3.2", + "@angular/compiler-cli": "4.3.6", + "@angular/language-service": "4.3.6", + "@ngtools/webpack": "^1.6.2", + "@types/jasmine": "^2.5.54", + "@types/jasminewd2": "^2.0.2", + "@types/node": "^6.0.88", + "codelyzer": "~3.0.1", + "jasmine-core": "~2.6.2", + "jasmine-spec-reporter": "~4.1.0", + "karma": "~1.7.0", + "karma-chrome-launcher": "~2.1.1", + "karma-cli": "~1.0.1", + "karma-coverage-istanbul-reporter": "^1.2.1", + "karma-jasmine": "~1.1.0", + "karma-jasmine-html-reporter": "^0.2.2", + "node-sass": "^4.5.3", + "protractor": "~5.1.2", + "ts-node": "~3.0.4", + "tslint": "~5.3.2", + "typescript": "~2.3.3" + } } diff --git a/src/app/main/content/apps/scrumboard/board/add-list/add-list.component.ts b/src/app/main/content/apps/scrumboard/board/add-list/add-list.component.ts index f0265579..0d7f6713 100644 --- a/src/app/main/content/apps/scrumboard/board/add-list/add-list.component.ts +++ b/src/app/main/content/apps/scrumboard/board/add-list/add-list.component.ts @@ -1,4 +1,4 @@ -import { Component, EventEmitter, Input, OnInit, Output, ViewChildren } from '@angular/core'; +import { Component, EventEmitter, OnInit, Output, ViewChild} from '@angular/core'; import { FormBuilder, FormGroup } from '@angular/forms'; @Component({ @@ -11,7 +11,7 @@ export class FuseScrumboardBoardAddListComponent implements OnInit formActive = false; form: FormGroup; @Output() onlistAdd = new EventEmitter(); - @ViewChildren('nameInput') nameInputField; + @ViewChild('nameInput') nameInputField; constructor( private formBuilder: FormBuilder @@ -41,7 +41,7 @@ export class FuseScrumboardBoardAddListComponent implements OnInit focusNameField() { setTimeout(() => { - this.nameInputField.first.nativeElement.focus(); + this.nameInputField.nativeElement.focus(); }); } diff --git a/src/app/main/content/apps/scrumboard/board/dialogs/card/card.component.html b/src/app/main/content/apps/scrumboard/board/dialogs/card/card.component.html index 857cb539..ed1dc068 100644 --- a/src/app/main/content/apps/scrumboard/board/dialogs/card/card.component.html +++ b/src/app/main/content/apps/scrumboard/board/dialogs/card/card.component.html @@ -74,8 +74,8 @@