@enso-ui/typeahead 3.0.5 → 3.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@enso-ui/typeahead",
3
- "version": "3.0.5",
3
+ "version": "3.0.6",
4
4
  "description": "Vue Typeahead",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -79,6 +79,8 @@ export default {
79
79
  },
80
80
  },
81
81
 
82
+ emits: ['add-tag', 'search', 'selected'],
83
+
82
84
  data: v => ({
83
85
  items: [],
84
86
  loading: false,
@@ -215,7 +217,7 @@ export default {
215
217
  invalidQuery: this.invalidQuery,
216
218
  highlight: this.highlight,
217
219
  i18n: this.i18n,
218
- inputBindings: { value: this.query },
220
+ inputBindings: { modelValue: this.query },
219
221
  inputEvents: selection => ({
220
222
  input: e => {
221
223
  this.query = e.target.value;
@@ -248,10 +250,10 @@ export default {
248
250
  modeBindings: {
249
251
  modes: this.searchModes,
250
252
  query: this.query,
251
- value: this.mode,
253
+ modelValue: this.mode,
252
254
  },
253
255
  modeEvents: {
254
- input: event => (this.mode = event),
256
+ 'update:modelValue': event => (this.mode = event),
255
257
  change: this.fetch,
256
258
  },
257
259
  modeSelector: this.modeSelector,