message: feat(typeahead): add more on blur logic
diff: @@ -290,6 +290,13 @@ export class TypeaheadDirective implements OnInit, OnDestroy {
  if (this._container && !this._container.isFocused) {
  this.typeaheadOnBlur.emit(this._container.active);
  }
  +
  + if (!this.container && this._matches.length === 0) {
  + this.typeaheadOnBlur.emit(new TypeaheadMatch(
  + this.element.nativeElement.value,
  + this.element.nativeElement.value,
  + false));
  + }
  }
  @HostListener('keydown', ['$event'])
  @@ -299,6 +306,11 @@ export class TypeaheadDirective implements OnInit, OnDestroy {
  return;
  }
  + /* tslint:disable-next-line: deprecation */
  + if (event.keyCode === 9 || event.key === 'Tab') {
  + this.onBlur();
  + }
  +
  /* tslint:disable-next-line: deprecation */
  if (event.keyCode === 9 || event.key === 'Tab' || event.keyCode === 13 || event.key === 'Enter') {
  event.preventDefault();
  