feat(typeahead): add freeMode
refactor(typeahead): change freeMode API