@appbaseio/reactivesearch-vue 1.36.5 → 1.36.7

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.
@@ -18789,7 +18789,7 @@
18789
18789
  normalizedPopularSuggestions: function normalizedPopularSuggestions() {
18790
18790
  return getTopSuggestions(
18791
18791
  // use default popular suggestions if value is empty
18792
- this.currentValue ? this.popularSuggestions : this.defaultPopularSuggestions || [], this.currentValue, this.showDistinctSuggestions);
18792
+ this.currentValue ? this.popularSuggestions : this.defaultPopularSuggestions || [], this.currentValue || '', this.showDistinctSuggestions);
18793
18793
  },
18794
18794
  defaultSearchSuggestions: function defaultSearchSuggestions() {
18795
18795
  var isPopularSuggestionsEnabled = this.enablePopularSuggestions;
@@ -18809,7 +18809,7 @@
18809
18809
  var defaultSuggestions = isPopularSuggestionsEnabled ? [].concat(customNormalizedRecentSearches, customDefaultPopularSuggestions || []) : customNormalizedRecentSearches;
18810
18810
  return getTopSuggestions(
18811
18811
  // use default popular suggestions if value is empty
18812
- defaultSuggestions, this.currentValue, this.showDistinctSuggestions);
18812
+ defaultSuggestions, this.currentValue || '', this.showDistinctSuggestions);
18813
18813
  },
18814
18814
  hasCustomRenderer: function hasCustomRenderer$1() {
18815
18815
  return hasCustomRenderer(this);
@@ -19069,7 +19069,7 @@
19069
19069
  return queryOptions;
19070
19070
  },
19071
19071
  onSuggestions: function onSuggestions(results) {
19072
- return handleOnSuggestions(results, this.$data.currentValue, this);
19072
+ return handleOnSuggestions(results, this.$data.currentValue || '', this);
19073
19073
  },
19074
19074
  handleSearchIconClick: function handleSearchIconClick() {
19075
19075
  var currentValue = this.currentValue;
@@ -19137,7 +19137,7 @@
19137
19137
  isTagAdded = true;
19138
19138
  }
19139
19139
  }
19140
- if (props.strictSelection && !isTagAdded) {
19140
+ if (props.strictSelection && !isTagAdded && typeof value === 'string') {
19141
19141
  _this.currentValue = value;
19142
19142
  } else {
19143
19143
  _this.currentValue = '';
@@ -34997,7 +34997,7 @@
34997
34997
  });
34998
34998
  }
34999
34999
 
35000
- var version = "1.36.5";
35000
+ var version = "1.36.7";
35001
35001
 
35002
35002
  var components$1 = [RLConnected, ResultCard, ResultList, ReactiveBase, DSConnected, SBConnected, ListConnected, ListConnected$1, RangeConnected$1, RangeConnected$2, RangeConnected$3, RangeConnected, RcConnected, RcConnected$1, RcConnected$2, TBConnected, ListConnected$2, ListConnected$3, StateProviderConnected, RangeConnected$4];
35003
35003
  function install (Vue) {