@appbaseio/reactivesearch-vue 3.2.0 → 3.3.0

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.
@@ -16,14 +16,14 @@
16
16
  return module = { exports: {} }, fn(module, module.exports), module.exports;
17
17
  }
18
18
 
19
- function _typeof(obj) {
19
+ function _typeof(o) {
20
20
  "@babel/helpers - typeof";
21
21
 
22
- return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
23
- return typeof obj;
24
- } : function (obj) {
25
- return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
26
- }, _typeof(obj);
22
+ return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
23
+ return typeof o;
24
+ } : function (o) {
25
+ return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
26
+ }, _typeof(o);
27
27
  }
28
28
 
29
29
  function _toPrimitive(input, hint) {
@@ -57,26 +57,26 @@
57
57
  return obj;
58
58
  }
59
59
 
60
- function ownKeys(object, enumerableOnly) {
61
- var keys = Object.keys(object);
60
+ function ownKeys(e, r) {
61
+ var t = Object.keys(e);
62
62
  if (Object.getOwnPropertySymbols) {
63
- var symbols = Object.getOwnPropertySymbols(object);
64
- enumerableOnly && (symbols = symbols.filter(function (sym) {
65
- return Object.getOwnPropertyDescriptor(object, sym).enumerable;
66
- })), keys.push.apply(keys, symbols);
63
+ var o = Object.getOwnPropertySymbols(e);
64
+ r && (o = o.filter(function (r) {
65
+ return Object.getOwnPropertyDescriptor(e, r).enumerable;
66
+ })), t.push.apply(t, o);
67
67
  }
68
- return keys;
68
+ return t;
69
69
  }
70
- function _objectSpread2(target) {
71
- for (var i = 1; i < arguments.length; i++) {
72
- var source = null != arguments[i] ? arguments[i] : {};
73
- i % 2 ? ownKeys(Object(source), !0).forEach(function (key) {
74
- _defineProperty(target, key, source[key]);
75
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) {
76
- Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
70
+ function _objectSpread2(e) {
71
+ for (var r = 1; r < arguments.length; r++) {
72
+ var t = null != arguments[r] ? arguments[r] : {};
73
+ r % 2 ? ownKeys(Object(t), !0).forEach(function (r) {
74
+ _defineProperty(e, r, t[r]);
75
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) {
76
+ Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r));
77
77
  });
78
78
  }
79
- return target;
79
+ return e;
80
80
  }
81
81
 
82
82
  // Inlined version of the `symbol-observable` polyfill
@@ -1191,7 +1191,7 @@
1191
1191
  geo: 'geo',
1192
1192
  suggestion: 'suggestion'
1193
1193
  };
1194
- var validProps = exports.validProps = ['type', 'componentType', 'aggregationField', 'aggregationSize', 'distinctField', 'distinctFieldConfig', 'index', 'aggregations', 'compoundClause', 'dataField', 'includeFields', 'excludeFields', 'size', 'from', 'sortBy', 'sortOptions', 'pagination', 'autoFocus', 'autosuggest', 'debounce', 'defaultValue', 'defaultSuggestions', 'fieldWeights', 'filterLabel', 'fuzziness', 'highlight', 'highlightConfig', 'highlightField', 'nestedField', 'placeholder', 'queryFormat', 'searchOperators', 'enableSynonyms', 'enableQuerySuggestions', 'queryString', 'categoryField', 'strictSelection', 'selectAllLabel', 'showCheckbox', 'showFilter', 'showSearch', 'showCount', 'showLoadMore', 'loadMoreLabel', 'showMissing', 'missingLabel', 'data', 'showRadio', 'multiSelect', 'includeNullValues', 'interval', 'showHistogram', 'snap', 'stepValue', 'range', 'showSlider', 'parseDate', 'calendarInterval', 'unit', 'enablePopularSuggestions', 'enableRecentSuggestions', 'popularSuggestionsConfig', 'recentSuggestionsConfig', 'indexSuggestionsConfig', 'featuredSuggestionsConfig', 'FAQSuggestionsConfig', 'documentSuggestionsConfig', 'enablePredictiveSuggestions', 'applyStopwords', 'customStopwords', 'enableIndexSuggestions', 'enableFeaturedSuggestions', 'enableFAQSuggestions', 'enableDocumentSuggestions', 'enableEndpointSuggestions', 'searchboxId', 'endpoint', 'enableAI', 'AIConfig', 'showDistinctSuggestions'];
1194
+ var validProps = exports.validProps = ['type', 'componentType', 'aggregationField', 'aggregationSize', 'distinctField', 'distinctFieldConfig', 'index', 'aggregations', 'compoundClause', 'dataField', 'includeFields', 'excludeFields', 'size', 'from', 'sortBy', 'sortOptions', 'pagination', 'autoFocus', 'autosuggest', 'debounce', 'defaultValue', 'defaultSuggestions', 'fieldWeights', 'filterLabel', 'fuzziness', 'highlight', 'highlightConfig', 'highlightField', 'nestedField', 'placeholder', 'queryFormat', 'searchOperators', 'enableSynonyms', 'enableQuerySuggestions', 'queryString', 'vectorDataField', 'imageValue', 'categoryField', 'strictSelection', 'selectAllLabel', 'showCheckbox', 'showFilter', 'showSearch', 'showCount', 'showLoadMore', 'loadMoreLabel', 'showMissing', 'missingLabel', 'data', 'showRadio', 'multiSelect', 'includeNullValues', 'interval', 'showHistogram', 'snap', 'stepValue', 'range', 'showSlider', 'parseDate', 'calendarInterval', 'unit', 'enablePopularSuggestions', 'enableRecentSuggestions', 'popularSuggestionsConfig', 'recentSuggestionsConfig', 'indexSuggestionsConfig', 'featuredSuggestionsConfig', 'FAQSuggestionsConfig', 'documentSuggestionsConfig', 'enablePredictiveSuggestions', 'applyStopwords', 'customStopwords', 'enableIndexSuggestions', 'enableFeaturedSuggestions', 'enableFAQSuggestions', 'enableDocumentSuggestions', 'enableEndpointSuggestions', 'searchboxId', 'endpoint', 'enableAI', 'AIConfig', 'showDistinctSuggestions'];
1195
1195
  var CLEAR_ALL = exports.CLEAR_ALL = {
1196
1196
  NEVER: 'never',
1197
1197
  ALWAYS: 'always',
@@ -5871,10 +5871,11 @@
5871
5871
  g = "en",
5872
5872
  D = {};
5873
5873
  D[g] = M;
5874
- var p = function p(t) {
5875
- return t instanceof b;
5874
+ var p = "$isDayjsObject",
5875
+ S = function S(t) {
5876
+ return t instanceof _ || !(!t || !t[p]);
5876
5877
  },
5877
- S = function t(e, n, r) {
5878
+ w = function t(e, n, r) {
5878
5879
  var i;
5879
5880
  if (!e) return g;
5880
5881
  if ("string" == typeof e) {
@@ -5888,23 +5889,23 @@
5888
5889
  }
5889
5890
  return !r && i && (g = i), i || !r && g;
5890
5891
  },
5891
- w = function w(t, e) {
5892
- if (p(t)) return t.clone();
5892
+ O = function O(t, e) {
5893
+ if (S(t)) return t.clone();
5893
5894
  var n = "object" == typeof e ? e : {};
5894
- return n.date = t, n.args = arguments, new b(n);
5895
+ return n.date = t, n.args = arguments, new _(n);
5895
5896
  },
5896
- O = v;
5897
- O.l = S, O.i = p, O.w = function (t, e) {
5898
- return w(t, {
5897
+ b = v;
5898
+ b.l = w, b.i = S, b.w = function (t, e) {
5899
+ return O(t, {
5899
5900
  locale: e.$L,
5900
5901
  utc: e.$u,
5901
5902
  x: e.$x,
5902
5903
  $offset: e.$offset
5903
5904
  });
5904
5905
  };
5905
- var b = function () {
5906
+ var _ = function () {
5906
5907
  function M(t) {
5907
- this.$L = S(t.locale, null, !0), this.parse(t);
5908
+ this.$L = w(t.locale, null, !0), this.parse(t), this.$x = this.$x || t.x || {}, this[p] = !0;
5908
5909
  }
5909
5910
  var m = M.prototype;
5910
5911
  return m.parse = function (t) {
@@ -5912,7 +5913,7 @@
5912
5913
  var e = t.date,
5913
5914
  n = t.utc;
5914
5915
  if (null === e) return new Date(NaN);
5915
- if (O.u(e)) return new Date();
5916
+ if (b.u(e)) return new Date();
5916
5917
  if (e instanceof Date) return new Date(e);
5917
5918
  if ("string" == typeof e && !/Z$/i.test(e)) {
5918
5919
  var r = e.match($);
@@ -5923,37 +5924,37 @@
5923
5924
  }
5924
5925
  }
5925
5926
  return new Date(e);
5926
- }(t), this.$x = t.x || {}, this.init();
5927
+ }(t), this.init();
5927
5928
  }, m.init = function () {
5928
5929
  var t = this.$d;
5929
5930
  this.$y = t.getFullYear(), this.$M = t.getMonth(), this.$D = t.getDate(), this.$W = t.getDay(), this.$H = t.getHours(), this.$m = t.getMinutes(), this.$s = t.getSeconds(), this.$ms = t.getMilliseconds();
5930
5931
  }, m.$utils = function () {
5931
- return O;
5932
+ return b;
5932
5933
  }, m.isValid = function () {
5933
5934
  return !(this.$d.toString() === l);
5934
5935
  }, m.isSame = function (t, e) {
5935
- var n = w(t);
5936
+ var n = O(t);
5936
5937
  return this.startOf(e) <= n && n <= this.endOf(e);
5937
5938
  }, m.isAfter = function (t, e) {
5938
- return w(t) < this.startOf(e);
5939
+ return O(t) < this.startOf(e);
5939
5940
  }, m.isBefore = function (t, e) {
5940
- return this.endOf(e) < w(t);
5941
+ return this.endOf(e) < O(t);
5941
5942
  }, m.$g = function (t, e, n) {
5942
- return O.u(t) ? this[e] : this.set(n, t);
5943
+ return b.u(t) ? this[e] : this.set(n, t);
5943
5944
  }, m.unix = function () {
5944
5945
  return Math.floor(this.valueOf() / 1e3);
5945
5946
  }, m.valueOf = function () {
5946
5947
  return this.$d.getTime();
5947
5948
  }, m.startOf = function (t, e) {
5948
5949
  var n = this,
5949
- r = !!O.u(e) || e,
5950
- f = O.p(t),
5950
+ r = !!b.u(e) || e,
5951
+ f = b.p(t),
5951
5952
  l = function l(t, e) {
5952
- var i = O.w(n.$u ? Date.UTC(n.$y, e, t) : new Date(n.$y, e, t), n);
5953
+ var i = b.w(n.$u ? Date.UTC(n.$y, e, t) : new Date(n.$y, e, t), n);
5953
5954
  return r ? i : i.endOf(a);
5954
5955
  },
5955
5956
  $ = function $(t, e) {
5956
- return O.w(n.toDate()[t].apply(n.toDate("s"), (r ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(e)), n);
5957
+ return b.w(n.toDate()[t].apply(n.toDate("s"), (r ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(e)), n);
5957
5958
  },
5958
5959
  y = this.$W,
5959
5960
  M = this.$M,
@@ -5984,7 +5985,7 @@
5984
5985
  return this.startOf(t, !1);
5985
5986
  }, m.$set = function (t, e) {
5986
5987
  var n,
5987
- o = O.p(t),
5988
+ o = b.p(t),
5988
5989
  f = "set" + (this.$u ? "UTC" : ""),
5989
5990
  l = (n = {}, n[a] = f + "Date", n[d] = f + "Date", n[c] = f + "Month", n[h] = f + "FullYear", n[u] = f + "Hours", n[s] = f + "Minutes", n[i] = f + "Seconds", n[r] = f + "Milliseconds", n)[o],
5990
5991
  $ = o === a ? this.$D + (e - this.$W) : e;
@@ -5996,15 +5997,15 @@
5996
5997
  }, m.set = function (t, e) {
5997
5998
  return this.clone().$set(t, e);
5998
5999
  }, m.get = function (t) {
5999
- return this[O.p(t)]();
6000
+ return this[b.p(t)]();
6000
6001
  }, m.add = function (r, f) {
6001
6002
  var d,
6002
6003
  l = this;
6003
6004
  r = Number(r);
6004
- var $ = O.p(f),
6005
+ var $ = b.p(f),
6005
6006
  y = function y(t) {
6006
- var e = w(l);
6007
- return O.w(e.date(e.date() + Math.round(t * r)), l);
6007
+ var e = O(l);
6008
+ return b.w(e.date(e.date() + Math.round(t * r)), l);
6008
6009
  };
6009
6010
  if ($ === c) return this.set(c, this.$M + r);
6010
6011
  if ($ === h) return this.set(h, this.$y + r);
@@ -6012,7 +6013,7 @@
6012
6013
  if ($ === o) return y(7);
6013
6014
  var M = (d = {}, d[s] = e, d[u] = n, d[i] = t, d)[$] || 1,
6014
6015
  m = this.$d.getTime() + r * M;
6015
- return O.w(m, this);
6016
+ return b.w(m, this);
6016
6017
  }, m.subtract = function (t, e) {
6017
6018
  return this.add(-1 * t, e);
6018
6019
  }, m.format = function (t) {
@@ -6020,7 +6021,7 @@
6020
6021
  n = this.$locale();
6021
6022
  if (!this.isValid()) return n.invalidDate || l;
6022
6023
  var r = t || "YYYY-MM-DDTHH:mm:ssZ",
6023
- i = O.z(this),
6024
+ i = b.z(this),
6024
6025
  s = this.$H,
6025
6026
  u = this.$m,
6026
6027
  a = this.$M,
@@ -6031,7 +6032,7 @@
6031
6032
  return t && (t[n] || t(e, r)) || i[n].slice(0, s);
6032
6033
  },
6033
6034
  d = function d(t) {
6034
- return O.s(s % 12 || 12, t, "0");
6035
+ return b.s(s % 12 || 12, t, "0");
6035
6036
  },
6036
6037
  $ = f || function (t, e, n) {
6037
6038
  var r = t < 12 ? "AM" : "PM";
@@ -6043,11 +6044,11 @@
6043
6044
  case "YY":
6044
6045
  return String(e.$y).slice(-2);
6045
6046
  case "YYYY":
6046
- return O.s(e.$y, 4, "0");
6047
+ return b.s(e.$y, 4, "0");
6047
6048
  case "M":
6048
6049
  return a + 1;
6049
6050
  case "MM":
6050
- return O.s(a + 1, 2, "0");
6051
+ return b.s(a + 1, 2, "0");
6051
6052
  case "MMM":
6052
6053
  return h(n.monthsShort, a, c, 3);
6053
6054
  case "MMMM":
@@ -6055,7 +6056,7 @@
6055
6056
  case "D":
6056
6057
  return e.$D;
6057
6058
  case "DD":
6058
- return O.s(e.$D, 2, "0");
6059
+ return b.s(e.$D, 2, "0");
6059
6060
  case "d":
6060
6061
  return String(e.$W);
6061
6062
  case "dd":
@@ -6067,7 +6068,7 @@
6067
6068
  case "H":
6068
6069
  return String(s);
6069
6070
  case "HH":
6070
- return O.s(s, 2, "0");
6071
+ return b.s(s, 2, "0");
6071
6072
  case "h":
6072
6073
  return d(1);
6073
6074
  case "hh":
@@ -6079,13 +6080,13 @@
6079
6080
  case "m":
6080
6081
  return String(u);
6081
6082
  case "mm":
6082
- return O.s(u, 2, "0");
6083
+ return b.s(u, 2, "0");
6083
6084
  case "s":
6084
6085
  return String(e.$s);
6085
6086
  case "ss":
6086
- return O.s(e.$s, 2, "0");
6087
+ return b.s(e.$s, 2, "0");
6087
6088
  case "SSS":
6088
- return O.s(e.$ms, 3, "0");
6089
+ return b.s(e.$ms, 3, "0");
6089
6090
  case "Z":
6090
6091
  return i;
6091
6092
  }
@@ -6097,12 +6098,12 @@
6097
6098
  }, m.diff = function (r, d, l) {
6098
6099
  var $,
6099
6100
  y = this,
6100
- M = O.p(d),
6101
- m = w(r),
6101
+ M = b.p(d),
6102
+ m = O(r),
6102
6103
  v = (m.utcOffset() - this.utcOffset()) * e,
6103
6104
  g = this - m,
6104
6105
  D = function D() {
6105
- return O.m(y, m);
6106
+ return b.m(y, m);
6106
6107
  };
6107
6108
  switch (M) {
6108
6109
  case h:
@@ -6132,7 +6133,7 @@
6132
6133
  default:
6133
6134
  $ = g;
6134
6135
  }
6135
- return l ? $ : O.a($);
6136
+ return l ? $ : b.a($);
6136
6137
  }, m.daysInMonth = function () {
6137
6138
  return this.endOf(c).$D;
6138
6139
  }, m.$locale = function () {
@@ -6140,10 +6141,10 @@
6140
6141
  }, m.locale = function (t, e) {
6141
6142
  if (!t) return this.$L;
6142
6143
  var n = this.clone(),
6143
- r = S(t, e, !0);
6144
+ r = w(t, e, !0);
6144
6145
  return r && (n.$L = r), n;
6145
6146
  }, m.clone = function () {
6146
- return O.w(this.$d, this);
6147
+ return b.w(this.$d, this);
6147
6148
  }, m.toDate = function () {
6148
6149
  return new Date(this.valueOf());
6149
6150
  }, m.toJSON = function () {
@@ -6154,16 +6155,16 @@
6154
6155
  return this.$d.toUTCString();
6155
6156
  }, M;
6156
6157
  }(),
6157
- _ = b.prototype;
6158
- return w.prototype = _, [["$ms", r], ["$s", i], ["$m", s], ["$H", u], ["$W", a], ["$M", c], ["$y", h], ["$D", d]].forEach(function (t) {
6159
- _[t[1]] = function (e) {
6158
+ k = _.prototype;
6159
+ return O.prototype = k, [["$ms", r], ["$s", i], ["$m", s], ["$H", u], ["$W", a], ["$M", c], ["$y", h], ["$D", d]].forEach(function (t) {
6160
+ k[t[1]] = function (e) {
6160
6161
  return this.$g(e, t[0], t[1]);
6161
6162
  };
6162
- }), w.extend = function (t, e) {
6163
- return t.$i || (t(e, b, w), t.$i = !0), w;
6164
- }, w.locale = S, w.isDayjs = p, w.unix = function (t) {
6165
- return w(1e3 * t);
6166
- }, w.en = D[g], w.Ls = D, w.p = {}, w;
6163
+ }), O.extend = function (t, e) {
6164
+ return t.$i || (t(e, _, O), t.$i = !0), O;
6165
+ }, O.locale = w, O.isDayjs = S, O.unix = function (t) {
6166
+ return O(1e3 * t);
6167
+ }, O.en = D[g], O.Ls = D, O.p = {}, O;
6167
6168
  });
6168
6169
  });
6169
6170
 
@@ -6353,7 +6354,10 @@
6353
6354
  AIConfig: props.AIConfig
6354
6355
  } : {}, {
6355
6356
  execute: true
6356
- }) : {});
6357
+ }) : {}, queryType !== constants$1.queryTypes.suggestion ? {
6358
+ vectorDataField: props.vectorDataField || undefined,
6359
+ imageValue: props.imageValue || undefined
6360
+ } : {});
6357
6361
  }
6358
6362
  return null;
6359
6363
  };
@@ -6657,10 +6661,11 @@
6657
6661
  var customQuery = store.customQueries[component];
6658
6662
  if (!isInternalComponent(component)) {
6659
6663
  var calcValues = store.selectedValues[component] || store.internalValues[component];
6660
- if ((calcValues && calcValues.value || customQuery) && !finalQuery[component]) {
6664
+ var imageValue = calcValues && calcValues.meta && calcValues.meta.imageValue;
6665
+ if ((calcValues && (calcValues.value || imageValue) || customQuery) && !finalQuery[component]) {
6661
6666
  var execute = false;
6662
6667
  var componentProps = store.props[component];
6663
- if (Array.isArray(orderOfQueries) && orderOfQueries.includes(component) && !(componentProps.componentType === constants$1.componentTypes.searchBox && componentProps.enableAI)) {
6668
+ if (Array.isArray(orderOfQueries) && orderOfQueries.includes(component) && !(componentProps.componentType === constants$1.componentTypes.searchBox && (componentProps.enableAI || componentProps.autosuggest === false))) {
6664
6669
  execute = true;
6665
6670
  }
6666
6671
  var dependentQuery = getRSQuery(component, extractPropsFromState(store, component, _extends({}, componentProps && _extends({}, componentProps.componentType === constants$1.componentTypes.searchBox ? _extends({}, execute === false ? {
@@ -6671,6 +6676,8 @@
6671
6676
  categoryValue: undefined
6672
6677
  }, calcValues.value ? {
6673
6678
  value: calcValues.value
6679
+ } : {}, imageValue ? {
6680
+ imageValue: imageValue
6674
6681
  } : {}) : {}, componentProps.componentType === constants$1.componentTypes.categorySearch ? _extends({}, calcValues.category ? {
6675
6682
  categoryValue: calcValues.category
6676
6683
  } : {
@@ -7609,7 +7616,12 @@
7609
7616
  var componentsToReset = {};
7610
7617
  var isResultComponent = [constants$1.componentTypes.reactiveList, constants$1.componentTypes.reactiveMap].includes(props[component] && props[component].componentType);
7611
7618
  var previousValue = selectedValues[component] && selectedValues[component].value;
7612
- if (!(0, helper.isEqual)(previousValue, value) && props[component] && !isResultComponent) {
7619
+ var isImageValueEqual = true;
7620
+ if (componentType === constants$1.componentTypes.searchBox || componentType === undefined) {
7621
+ var previousImageValue = selectedValues[component] && selectedValues[component].meta && selectedValues[component].meta.imageValue;
7622
+ isImageValueEqual = (0, helper.isEqual)(previousImageValue, meta && meta.imageValue);
7623
+ }
7624
+ if ((!(0, helper.isEqual)(previousValue, value) || !isImageValueEqual) && props[component] && !isResultComponent) {
7613
7625
  var componentList = [component];
7614
7626
  var watchList = watchMan[component] || [];
7615
7627
  componentList = [].concat(_toConsumableArray(componentList), _toConsumableArray(watchList));
@@ -7982,10 +7994,10 @@
7982
7994
  value: value
7983
7995
  } : null, metaOptions ? _extends({
7984
7996
  from: metaOptions.from
7985
- }, value && metaOptions.enableAI === true ? {
7997
+ }, value && metaOptions.enableAI === true ? _extends({}, metaOptions, {
7986
7998
  enableAI: true,
7987
7999
  type: 'search'
7988
- } : {}) : null)));
8000
+ }) : {}) : null)));
7989
8001
  if (query && !!Object.keys(query).length) {
7990
8002
  var currentQuery = query;
7991
8003
  var oldQuery = queryLog[component];
@@ -8031,7 +8043,9 @@
8031
8043
  }
8032
8044
  var _getState4 = getState(),
8033
8045
  combinedLog = _getState4.combinedLog;
8034
- if ((0, helper.compareQueries)(combinedLog[component], currentQuery)) return;
8046
+ if ((0, helper.compareQueries)(combinedLog[component], currentQuery)) {
8047
+ return;
8048
+ }
8035
8049
  dispatch((0, misc.logCombinedQuery)(component, currentQuery));
8036
8050
  }
8037
8051
  (0, utils.executeQueryListener)(queryListener[component], oldQuery, currentQuery);
@@ -8187,9 +8201,9 @@
8187
8201
  }
8188
8202
  dispatch((0, misc.setQuery)(componentId, queryToDispatch));
8189
8203
  if (execute) {
8190
- dispatch(executeQuery(componentId, true, false, componentType, componentType === constants$1.componentTypes.searchBox && meta && typeof meta.enableAI === 'boolean' ? {
8204
+ dispatch(executeQuery(componentId, true, false, componentType, componentType === constants$1.componentTypes.searchBox && meta && typeof meta.enableAI === 'boolean' ? _extends({}, meta, {
8191
8205
  enableAI: meta.enableAI
8192
- } : undefined));
8206
+ }) : undefined));
8193
8207
  }
8194
8208
  };
8195
8209
  }
@@ -9101,11 +9115,13 @@
9101
9115
  var SUGGESTION_SELECT = 'SUGGESTION_SELECT';
9102
9116
  var CLEAR_VALUE = 'CLEAR_VALUE';
9103
9117
  var SEARCH_ICON_CLICK = 'SEARCH_ICON_CLICK';
9118
+ var CLEAR_ALL_TAGS = 'CLEAR_ALL_TAGS';
9104
9119
  var causes = {
9105
9120
  ENTER_PRESS: ENTER_PRESS,
9106
9121
  SUGGESTION_SELECT: SUGGESTION_SELECT,
9107
9122
  CLEAR_VALUE: CLEAR_VALUE,
9108
- SEARCH_ICON_CLICK: SEARCH_ICON_CLICK
9123
+ SEARCH_ICON_CLICK: SEARCH_ICON_CLICK,
9124
+ CLEAR_ALL_TAGS: CLEAR_ALL_TAGS
9109
9125
  };
9110
9126
  exports["default"] = causes;
9111
9127
  });
@@ -9211,299 +9227,304 @@
9211
9227
 
9212
9228
  function _regeneratorRuntime() {
9213
9229
  _regeneratorRuntime = function () {
9214
- return exports;
9215
- };
9216
- var exports = {},
9217
- Op = Object.prototype,
9218
- hasOwn = Op.hasOwnProperty,
9219
- defineProperty = Object.defineProperty || function (obj, key, desc) {
9220
- obj[key] = desc.value;
9221
- },
9222
- $Symbol = "function" == typeof Symbol ? Symbol : {},
9223
- iteratorSymbol = $Symbol.iterator || "@@iterator",
9224
- asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator",
9225
- toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag";
9226
- function define(obj, key, value) {
9227
- return Object.defineProperty(obj, key, {
9228
- value: value,
9230
+ return e;
9231
+ };
9232
+ var t,
9233
+ e = {},
9234
+ r = Object.prototype,
9235
+ n = r.hasOwnProperty,
9236
+ o = Object.defineProperty || function (t, e, r) {
9237
+ t[e] = r.value;
9238
+ },
9239
+ i = "function" == typeof Symbol ? Symbol : {},
9240
+ a = i.iterator || "@@iterator",
9241
+ c = i.asyncIterator || "@@asyncIterator",
9242
+ u = i.toStringTag || "@@toStringTag";
9243
+ function define(t, e, r) {
9244
+ return Object.defineProperty(t, e, {
9245
+ value: r,
9229
9246
  enumerable: !0,
9230
9247
  configurable: !0,
9231
9248
  writable: !0
9232
- }), obj[key];
9249
+ }), t[e];
9233
9250
  }
9234
9251
  try {
9235
9252
  define({}, "");
9236
- } catch (err) {
9237
- define = function (obj, key, value) {
9238
- return obj[key] = value;
9253
+ } catch (t) {
9254
+ define = function (t, e, r) {
9255
+ return t[e] = r;
9239
9256
  };
9240
9257
  }
9241
- function wrap(innerFn, outerFn, self, tryLocsList) {
9242
- var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator,
9243
- generator = Object.create(protoGenerator.prototype),
9244
- context = new Context(tryLocsList || []);
9245
- return defineProperty(generator, "_invoke", {
9246
- value: makeInvokeMethod(innerFn, self, context)
9247
- }), generator;
9258
+ function wrap(t, e, r, n) {
9259
+ var i = e && e.prototype instanceof Generator ? e : Generator,
9260
+ a = Object.create(i.prototype),
9261
+ c = new Context(n || []);
9262
+ return o(a, "_invoke", {
9263
+ value: makeInvokeMethod(t, r, c)
9264
+ }), a;
9248
9265
  }
9249
- function tryCatch(fn, obj, arg) {
9266
+ function tryCatch(t, e, r) {
9250
9267
  try {
9251
9268
  return {
9252
9269
  type: "normal",
9253
- arg: fn.call(obj, arg)
9270
+ arg: t.call(e, r)
9254
9271
  };
9255
- } catch (err) {
9272
+ } catch (t) {
9256
9273
  return {
9257
9274
  type: "throw",
9258
- arg: err
9275
+ arg: t
9259
9276
  };
9260
9277
  }
9261
9278
  }
9262
- exports.wrap = wrap;
9263
- var ContinueSentinel = {};
9279
+ e.wrap = wrap;
9280
+ var h = "suspendedStart",
9281
+ l = "suspendedYield",
9282
+ f = "executing",
9283
+ s = "completed",
9284
+ y = {};
9264
9285
  function Generator() {}
9265
9286
  function GeneratorFunction() {}
9266
9287
  function GeneratorFunctionPrototype() {}
9267
- var IteratorPrototype = {};
9268
- define(IteratorPrototype, iteratorSymbol, function () {
9288
+ var p = {};
9289
+ define(p, a, function () {
9269
9290
  return this;
9270
9291
  });
9271
- var getProto = Object.getPrototypeOf,
9272
- NativeIteratorPrototype = getProto && getProto(getProto(values([])));
9273
- NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype);
9274
- var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype);
9275
- function defineIteratorMethods(prototype) {
9276
- ["next", "throw", "return"].forEach(function (method) {
9277
- define(prototype, method, function (arg) {
9278
- return this._invoke(method, arg);
9292
+ var d = Object.getPrototypeOf,
9293
+ v = d && d(d(values([])));
9294
+ v && v !== r && n.call(v, a) && (p = v);
9295
+ var g = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(p);
9296
+ function defineIteratorMethods(t) {
9297
+ ["next", "throw", "return"].forEach(function (e) {
9298
+ define(t, e, function (t) {
9299
+ return this._invoke(e, t);
9279
9300
  });
9280
9301
  });
9281
9302
  }
9282
- function AsyncIterator(generator, PromiseImpl) {
9283
- function invoke(method, arg, resolve, reject) {
9284
- var record = tryCatch(generator[method], generator, arg);
9285
- if ("throw" !== record.type) {
9286
- var result = record.arg,
9287
- value = result.value;
9288
- return value && "object" == typeof value && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) {
9289
- invoke("next", value, resolve, reject);
9290
- }, function (err) {
9291
- invoke("throw", err, resolve, reject);
9292
- }) : PromiseImpl.resolve(value).then(function (unwrapped) {
9293
- result.value = unwrapped, resolve(result);
9294
- }, function (error) {
9295
- return invoke("throw", error, resolve, reject);
9303
+ function AsyncIterator(t, e) {
9304
+ function invoke(r, o, i, a) {
9305
+ var c = tryCatch(t[r], t, o);
9306
+ if ("throw" !== c.type) {
9307
+ var u = c.arg,
9308
+ h = u.value;
9309
+ return h && "object" == typeof h && n.call(h, "__await") ? e.resolve(h.__await).then(function (t) {
9310
+ invoke("next", t, i, a);
9311
+ }, function (t) {
9312
+ invoke("throw", t, i, a);
9313
+ }) : e.resolve(h).then(function (t) {
9314
+ u.value = t, i(u);
9315
+ }, function (t) {
9316
+ return invoke("throw", t, i, a);
9296
9317
  });
9297
9318
  }
9298
- reject(record.arg);
9319
+ a(c.arg);
9299
9320
  }
9300
- var previousPromise;
9301
- defineProperty(this, "_invoke", {
9302
- value: function (method, arg) {
9321
+ var r;
9322
+ o(this, "_invoke", {
9323
+ value: function (t, n) {
9303
9324
  function callInvokeWithMethodAndArg() {
9304
- return new PromiseImpl(function (resolve, reject) {
9305
- invoke(method, arg, resolve, reject);
9325
+ return new e(function (e, r) {
9326
+ invoke(t, n, e, r);
9306
9327
  });
9307
9328
  }
9308
- return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();
9329
+ return r = r ? r.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();
9309
9330
  }
9310
9331
  });
9311
9332
  }
9312
- function makeInvokeMethod(innerFn, self, context) {
9313
- var state = "suspendedStart";
9314
- return function (method, arg) {
9315
- if ("executing" === state) throw new Error("Generator is already running");
9316
- if ("completed" === state) {
9317
- if ("throw" === method) throw arg;
9333
+ function makeInvokeMethod(e, r, n) {
9334
+ var o = h;
9335
+ return function (i, a) {
9336
+ if (o === f) throw new Error("Generator is already running");
9337
+ if (o === s) {
9338
+ if ("throw" === i) throw a;
9318
9339
  return {
9319
- value: void 0,
9340
+ value: t,
9320
9341
  done: !0
9321
9342
  };
9322
9343
  }
9323
- for (context.method = method, context.arg = arg;;) {
9324
- var delegate = context.delegate;
9325
- if (delegate) {
9326
- var delegateResult = maybeInvokeDelegate(delegate, context);
9327
- if (delegateResult) {
9328
- if (delegateResult === ContinueSentinel) continue;
9329
- return delegateResult;
9330
- }
9331
- }
9332
- if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) {
9333
- if ("suspendedStart" === state) throw state = "completed", context.arg;
9334
- context.dispatchException(context.arg);
9335
- } else "return" === context.method && context.abrupt("return", context.arg);
9336
- state = "executing";
9337
- var record = tryCatch(innerFn, self, context);
9338
- if ("normal" === record.type) {
9339
- if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue;
9344
+ for (n.method = i, n.arg = a;;) {
9345
+ var c = n.delegate;
9346
+ if (c) {
9347
+ var u = maybeInvokeDelegate(c, n);
9348
+ if (u) {
9349
+ if (u === y) continue;
9350
+ return u;
9351
+ }
9352
+ }
9353
+ if ("next" === n.method) n.sent = n._sent = n.arg;else if ("throw" === n.method) {
9354
+ if (o === h) throw o = s, n.arg;
9355
+ n.dispatchException(n.arg);
9356
+ } else "return" === n.method && n.abrupt("return", n.arg);
9357
+ o = f;
9358
+ var p = tryCatch(e, r, n);
9359
+ if ("normal" === p.type) {
9360
+ if (o = n.done ? s : l, p.arg === y) continue;
9340
9361
  return {
9341
- value: record.arg,
9342
- done: context.done
9362
+ value: p.arg,
9363
+ done: n.done
9343
9364
  };
9344
9365
  }
9345
- "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg);
9366
+ "throw" === p.type && (o = s, n.method = "throw", n.arg = p.arg);
9346
9367
  }
9347
9368
  };
9348
9369
  }
9349
- function maybeInvokeDelegate(delegate, context) {
9350
- var methodName = context.method,
9351
- method = delegate.iterator[methodName];
9352
- if (undefined === method) return context.delegate = null, "throw" === methodName && delegate.iterator.return && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method) || "return" !== methodName && (context.method = "throw", context.arg = new TypeError("The iterator does not provide a '" + methodName + "' method")), ContinueSentinel;
9353
- var record = tryCatch(method, delegate.iterator, context.arg);
9354
- if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel;
9355
- var info = record.arg;
9356
- return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel);
9357
- }
9358
- function pushTryEntry(locs) {
9359
- var entry = {
9360
- tryLoc: locs[0]
9370
+ function maybeInvokeDelegate(e, r) {
9371
+ var n = r.method,
9372
+ o = e.iterator[n];
9373
+ if (o === t) return r.delegate = null, "throw" === n && e.iterator.return && (r.method = "return", r.arg = t, maybeInvokeDelegate(e, r), "throw" === r.method) || "return" !== n && (r.method = "throw", r.arg = new TypeError("The iterator does not provide a '" + n + "' method")), y;
9374
+ var i = tryCatch(o, e.iterator, r.arg);
9375
+ if ("throw" === i.type) return r.method = "throw", r.arg = i.arg, r.delegate = null, y;
9376
+ var a = i.arg;
9377
+ return a ? a.done ? (r[e.resultName] = a.value, r.next = e.nextLoc, "return" !== r.method && (r.method = "next", r.arg = t), r.delegate = null, y) : a : (r.method = "throw", r.arg = new TypeError("iterator result is not an object"), r.delegate = null, y);
9378
+ }
9379
+ function pushTryEntry(t) {
9380
+ var e = {
9381
+ tryLoc: t[0]
9361
9382
  };
9362
- 1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry);
9383
+ 1 in t && (e.catchLoc = t[1]), 2 in t && (e.finallyLoc = t[2], e.afterLoc = t[3]), this.tryEntries.push(e);
9363
9384
  }
9364
- function resetTryEntry(entry) {
9365
- var record = entry.completion || {};
9366
- record.type = "normal", delete record.arg, entry.completion = record;
9385
+ function resetTryEntry(t) {
9386
+ var e = t.completion || {};
9387
+ e.type = "normal", delete e.arg, t.completion = e;
9367
9388
  }
9368
- function Context(tryLocsList) {
9389
+ function Context(t) {
9369
9390
  this.tryEntries = [{
9370
9391
  tryLoc: "root"
9371
- }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0);
9372
- }
9373
- function values(iterable) {
9374
- if (iterable || "" === iterable) {
9375
- var iteratorMethod = iterable[iteratorSymbol];
9376
- if (iteratorMethod) return iteratorMethod.call(iterable);
9377
- if ("function" == typeof iterable.next) return iterable;
9378
- if (!isNaN(iterable.length)) {
9379
- var i = -1,
9380
- next = function next() {
9381
- for (; ++i < iterable.length;) if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next;
9382
- return next.value = undefined, next.done = !0, next;
9392
+ }], t.forEach(pushTryEntry, this), this.reset(!0);
9393
+ }
9394
+ function values(e) {
9395
+ if (e || "" === e) {
9396
+ var r = e[a];
9397
+ if (r) return r.call(e);
9398
+ if ("function" == typeof e.next) return e;
9399
+ if (!isNaN(e.length)) {
9400
+ var o = -1,
9401
+ i = function next() {
9402
+ for (; ++o < e.length;) if (n.call(e, o)) return next.value = e[o], next.done = !1, next;
9403
+ return next.value = t, next.done = !0, next;
9383
9404
  };
9384
- return next.next = next;
9405
+ return i.next = i;
9385
9406
  }
9386
9407
  }
9387
- throw new TypeError(typeof iterable + " is not iterable");
9408
+ throw new TypeError(typeof e + " is not iterable");
9388
9409
  }
9389
- return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", {
9410
+ return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", {
9390
9411
  value: GeneratorFunctionPrototype,
9391
9412
  configurable: !0
9392
- }), defineProperty(GeneratorFunctionPrototype, "constructor", {
9413
+ }), o(GeneratorFunctionPrototype, "constructor", {
9393
9414
  value: GeneratorFunction,
9394
9415
  configurable: !0
9395
- }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) {
9396
- var ctor = "function" == typeof genFun && genFun.constructor;
9397
- return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name));
9398
- }, exports.mark = function (genFun) {
9399
- return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun;
9400
- }, exports.awrap = function (arg) {
9416
+ }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, "GeneratorFunction"), e.isGeneratorFunction = function (t) {
9417
+ var e = "function" == typeof t && t.constructor;
9418
+ return !!e && (e === GeneratorFunction || "GeneratorFunction" === (e.displayName || e.name));
9419
+ }, e.mark = function (t) {
9420
+ return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, define(t, u, "GeneratorFunction")), t.prototype = Object.create(g), t;
9421
+ }, e.awrap = function (t) {
9401
9422
  return {
9402
- __await: arg
9423
+ __await: t
9403
9424
  };
9404
- }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () {
9425
+ }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, c, function () {
9405
9426
  return this;
9406
- }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) {
9407
- void 0 === PromiseImpl && (PromiseImpl = Promise);
9408
- var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl);
9409
- return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) {
9410
- return result.done ? result.value : iter.next();
9427
+ }), e.AsyncIterator = AsyncIterator, e.async = function (t, r, n, o, i) {
9428
+ void 0 === i && (i = Promise);
9429
+ var a = new AsyncIterator(wrap(t, r, n, o), i);
9430
+ return e.isGeneratorFunction(r) ? a : a.next().then(function (t) {
9431
+ return t.done ? t.value : a.next();
9411
9432
  });
9412
- }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () {
9433
+ }, defineIteratorMethods(g), define(g, u, "Generator"), define(g, a, function () {
9413
9434
  return this;
9414
- }), define(Gp, "toString", function () {
9435
+ }), define(g, "toString", function () {
9415
9436
  return "[object Generator]";
9416
- }), exports.keys = function (val) {
9417
- var object = Object(val),
9418
- keys = [];
9419
- for (var key in object) keys.push(key);
9420
- return keys.reverse(), function next() {
9421
- for (; keys.length;) {
9422
- var key = keys.pop();
9423
- if (key in object) return next.value = key, next.done = !1, next;
9437
+ }), e.keys = function (t) {
9438
+ var e = Object(t),
9439
+ r = [];
9440
+ for (var n in e) r.push(n);
9441
+ return r.reverse(), function next() {
9442
+ for (; r.length;) {
9443
+ var t = r.pop();
9444
+ if (t in e) return next.value = t, next.done = !1, next;
9424
9445
  }
9425
9446
  return next.done = !0, next;
9426
9447
  };
9427
- }, exports.values = values, Context.prototype = {
9448
+ }, e.values = values, Context.prototype = {
9428
9449
  constructor: Context,
9429
- reset: function (skipTempReset) {
9430
- if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined);
9450
+ reset: function (e) {
9451
+ if (this.prev = 0, this.next = 0, this.sent = this._sent = t, this.done = !1, this.delegate = null, this.method = "next", this.arg = t, this.tryEntries.forEach(resetTryEntry), !e) for (var r in this) "t" === r.charAt(0) && n.call(this, r) && !isNaN(+r.slice(1)) && (this[r] = t);
9431
9452
  },
9432
9453
  stop: function () {
9433
9454
  this.done = !0;
9434
- var rootRecord = this.tryEntries[0].completion;
9435
- if ("throw" === rootRecord.type) throw rootRecord.arg;
9455
+ var t = this.tryEntries[0].completion;
9456
+ if ("throw" === t.type) throw t.arg;
9436
9457
  return this.rval;
9437
9458
  },
9438
- dispatchException: function (exception) {
9439
- if (this.done) throw exception;
9440
- var context = this;
9441
- function handle(loc, caught) {
9442
- return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught;
9443
- }
9444
- for (var i = this.tryEntries.length - 1; i >= 0; --i) {
9445
- var entry = this.tryEntries[i],
9446
- record = entry.completion;
9447
- if ("root" === entry.tryLoc) return handle("end");
9448
- if (entry.tryLoc <= this.prev) {
9449
- var hasCatch = hasOwn.call(entry, "catchLoc"),
9450
- hasFinally = hasOwn.call(entry, "finallyLoc");
9451
- if (hasCatch && hasFinally) {
9452
- if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0);
9453
- if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc);
9454
- } else if (hasCatch) {
9455
- if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0);
9459
+ dispatchException: function (e) {
9460
+ if (this.done) throw e;
9461
+ var r = this;
9462
+ function handle(n, o) {
9463
+ return a.type = "throw", a.arg = e, r.next = n, o && (r.method = "next", r.arg = t), !!o;
9464
+ }
9465
+ for (var o = this.tryEntries.length - 1; o >= 0; --o) {
9466
+ var i = this.tryEntries[o],
9467
+ a = i.completion;
9468
+ if ("root" === i.tryLoc) return handle("end");
9469
+ if (i.tryLoc <= this.prev) {
9470
+ var c = n.call(i, "catchLoc"),
9471
+ u = n.call(i, "finallyLoc");
9472
+ if (c && u) {
9473
+ if (this.prev < i.catchLoc) return handle(i.catchLoc, !0);
9474
+ if (this.prev < i.finallyLoc) return handle(i.finallyLoc);
9475
+ } else if (c) {
9476
+ if (this.prev < i.catchLoc) return handle(i.catchLoc, !0);
9456
9477
  } else {
9457
- if (!hasFinally) throw new Error("try statement without catch or finally");
9458
- if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc);
9478
+ if (!u) throw new Error("try statement without catch or finally");
9479
+ if (this.prev < i.finallyLoc) return handle(i.finallyLoc);
9459
9480
  }
9460
9481
  }
9461
9482
  }
9462
9483
  },
9463
- abrupt: function (type, arg) {
9464
- for (var i = this.tryEntries.length - 1; i >= 0; --i) {
9465
- var entry = this.tryEntries[i];
9466
- if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) {
9467
- var finallyEntry = entry;
9484
+ abrupt: function (t, e) {
9485
+ for (var r = this.tryEntries.length - 1; r >= 0; --r) {
9486
+ var o = this.tryEntries[r];
9487
+ if (o.tryLoc <= this.prev && n.call(o, "finallyLoc") && this.prev < o.finallyLoc) {
9488
+ var i = o;
9468
9489
  break;
9469
9490
  }
9470
9491
  }
9471
- finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null);
9472
- var record = finallyEntry ? finallyEntry.completion : {};
9473
- return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record);
9492
+ i && ("break" === t || "continue" === t) && i.tryLoc <= e && e <= i.finallyLoc && (i = null);
9493
+ var a = i ? i.completion : {};
9494
+ return a.type = t, a.arg = e, i ? (this.method = "next", this.next = i.finallyLoc, y) : this.complete(a);
9474
9495
  },
9475
- complete: function (record, afterLoc) {
9476
- if ("throw" === record.type) throw record.arg;
9477
- return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel;
9496
+ complete: function (t, e) {
9497
+ if ("throw" === t.type) throw t.arg;
9498
+ return "break" === t.type || "continue" === t.type ? this.next = t.arg : "return" === t.type ? (this.rval = this.arg = t.arg, this.method = "return", this.next = "end") : "normal" === t.type && e && (this.next = e), y;
9478
9499
  },
9479
- finish: function (finallyLoc) {
9480
- for (var i = this.tryEntries.length - 1; i >= 0; --i) {
9481
- var entry = this.tryEntries[i];
9482
- if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel;
9500
+ finish: function (t) {
9501
+ for (var e = this.tryEntries.length - 1; e >= 0; --e) {
9502
+ var r = this.tryEntries[e];
9503
+ if (r.finallyLoc === t) return this.complete(r.completion, r.afterLoc), resetTryEntry(r), y;
9483
9504
  }
9484
9505
  },
9485
- catch: function (tryLoc) {
9486
- for (var i = this.tryEntries.length - 1; i >= 0; --i) {
9487
- var entry = this.tryEntries[i];
9488
- if (entry.tryLoc === tryLoc) {
9489
- var record = entry.completion;
9490
- if ("throw" === record.type) {
9491
- var thrown = record.arg;
9492
- resetTryEntry(entry);
9506
+ catch: function (t) {
9507
+ for (var e = this.tryEntries.length - 1; e >= 0; --e) {
9508
+ var r = this.tryEntries[e];
9509
+ if (r.tryLoc === t) {
9510
+ var n = r.completion;
9511
+ if ("throw" === n.type) {
9512
+ var o = n.arg;
9513
+ resetTryEntry(r);
9493
9514
  }
9494
- return thrown;
9515
+ return o;
9495
9516
  }
9496
9517
  }
9497
9518
  throw new Error("illegal catch attempt");
9498
9519
  },
9499
- delegateYield: function (iterable, resultName, nextLoc) {
9520
+ delegateYield: function (e, r, n) {
9500
9521
  return this.delegate = {
9501
- iterator: values(iterable),
9502
- resultName: resultName,
9503
- nextLoc: nextLoc
9504
- }, "next" === this.method && (this.arg = undefined), ContinueSentinel;
9522
+ iterator: values(e),
9523
+ resultName: r,
9524
+ nextLoc: n
9525
+ }, "next" === this.method && (this.arg = t), y;
9505
9526
  }
9506
- }, exports;
9527
+ }, e;
9507
9528
  }
9508
9529
  function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
9509
9530
  try {
@@ -14708,6 +14729,11 @@
14708
14729
  if (this.currentPageState !== newVal && oldVal !== newVal) {
14709
14730
  this.setPage(newVal >= 0 ? newVal : 0);
14710
14731
  }
14732
+ },
14733
+ isLoading: function isLoading(newVal, oldVal) {
14734
+ if (newVal !== oldVal) {
14735
+ this.$emit('loading', newVal);
14736
+ }
14711
14737
  }
14712
14738
  },
14713
14739
  mounted: function mounted() {
@@ -27555,7 +27581,7 @@
27555
27581
  if (results && results[0] && results[0].isFinal && results[0][0] && results[0][0].transcript && results[0][0].transcript.trim()) {
27556
27582
  var _this$$refs2;
27557
27583
  this.setValue(results[0][0].transcript.trim(), true);
27558
- (_this$$refs2 = this.$refs) == null || (_this$$refs2 = _this$$refs2[this.$props.innerRef]) == null || (_this$$refs2 = _this$$refs2.$el) == null ? void 0 : _this$$refs2.focus(); // eslint-disable-line
27584
+ (_this$$refs2 = this.$refs) == null || (_this$$refs2 = _this$$refs2[this.$props.innerRef]) == null || (_this$$refs2 = _this$$refs2.$el) == null || _this$$refs2.focus(); // eslint-disable-line
27559
27585
  }
27560
27586
  },
27561
27587
  triggerQuery: function triggerQuery(_ref2) {
@@ -27675,7 +27701,7 @@
27675
27701
  // else Downshift probably is focusing the dropdown
27676
27702
  // and not letting it close
27677
27703
  // eslint-disable-next-line no-unused-expressions
27678
- (_this$$refs3 = this.$refs) == null || (_this$$refs3 = _this$$refs3[this.$props.innerRef]) == null || (_this$$refs3 = _this$$refs3.el) == null ? void 0 : _this$$refs3.blur();
27704
+ (_this$$refs3 = this.$refs) == null || (_this$$refs3 = _this$$refs3[this.$props.innerRef]) == null || (_this$$refs3 = _this$$refs3.el) == null || _this$$refs3.blur();
27679
27705
  } catch (e) {
27680
27706
  console.error("Error: There was an error parsing the subAction for the featured suggestion with label, \"" + suggestion.label + "\"", e);
27681
27707
  }
@@ -27994,7 +28020,7 @@
27994
28020
  // already in an input
27995
28021
  return;
27996
28022
  }
27997
- (_this$$refs4 = this.$refs) == null || (_this$$refs4 = _this$$refs4[this.$props.innerRef]) == null || (_this$$refs4 = _this$$refs4.$el) == null ? void 0 : _this$$refs4.focus(); // eslint-disable-line
28023
+ (_this$$refs4 = this.$refs) == null || (_this$$refs4 = _this$$refs4[this.$props.innerRef]) == null || (_this$$refs4 = _this$$refs4.$el) == null || _this$$refs4.focus(); // eslint-disable-line
27998
28024
  },
27999
28025
  listenForFocusShortcuts: function listenForFocusShortcuts() {
28000
28026
  var _this11 = this;
@@ -35956,7 +35982,7 @@
35956
35982
  },
35957
35983
  render: function render() {
35958
35984
  var _this4 = this;
35959
- if (!this.range || !this.currentValue) {
35985
+ if (!this.range || !this.currentValue || this.range.start === null || this.range.end === null || this.range.start === this.range.end) {
35960
35986
  return null;
35961
35987
  }
35962
35988
  var _this$range = this.range,
@@ -35983,11 +36009,13 @@
35983
36009
  "modelValue": [Math.floor(Math.max(start, _this4.currentValue[0])), Math.ceil(Math.min(end, _this4.currentValue[1]))],
35984
36010
  "min": Math.floor(Math.min(start, _this4.currentValue[0])),
35985
36011
  "max": Math.ceil(Math.max(end, _this4.currentValue[1])),
35986
- "onDrag-end": _this4.handleSlider,
36012
+ "onChange": _this4.handleSlider,
36013
+ "lazy": true,
35987
36014
  "dotSize": 20,
35988
36015
  "height": 4,
35989
36016
  "enable-cross": false,
35990
- "tooltip": "always"
36017
+ "tooltip": "always",
36018
+ "useKeyboard": false
35991
36019
  }, _this4.$props.sliderOptions), null), _this4.labels ? vue.createVNode("div", {
35992
36020
  "class": "label-container"
35993
36021
  }, [vue.createVNode("label", {
@@ -38147,9 +38175,15 @@
38147
38175
  ctr: function ctr() {
38148
38176
  return google.maps.Polyline;
38149
38177
  },
38150
- afterCreate: function afterCreate() {
38178
+ emits: events,
38179
+ afterCreate: function afterCreate(inst) {
38151
38180
  var _this = this;
38152
38181
  var clearEvents = function clearEvents() {};
38182
+ events.forEach(function (event) {
38183
+ inst.addListener(event, function (payload) {
38184
+ _this.$emit(event, payload);
38185
+ });
38186
+ });
38153
38187
  this.$watch('path', function (path) {
38154
38188
  if (path) {
38155
38189
  clearEvents();
@@ -38199,7 +38233,7 @@
38199
38233
  noBind: true
38200
38234
  }
38201
38235
  };
38202
- var events$1 = ['click', 'dblclick', 'drag', 'dragend', 'dragstart', 'mousedown', 'mousemove', 'mouseout', 'mouseover', 'mouseup', 'rightclick'];
38236
+ var events$1 = ['click', 'dblclick', 'drag', 'dragend', 'dragstart', 'mousedown', 'mousemove', 'mouseout', 'mouseover', 'mouseup', 'rightclick', 'paths_changed'];
38203
38237
  var Polygon = buildComponent({
38204
38238
  props: {
38205
38239
  deepWatch: {
@@ -38213,6 +38247,7 @@
38213
38247
  ctr: function ctr() {
38214
38248
  return google.maps.Polygon;
38215
38249
  },
38250
+ emits: events$1,
38216
38251
  beforeCreate: function beforeCreate(options) {
38217
38252
  if (!options.path) delete options.path;
38218
38253
  if (!options.paths) delete options.paths;
@@ -38220,6 +38255,11 @@
38220
38255
  afterCreate: function afterCreate(inst) {
38221
38256
  var _this = this;
38222
38257
  var clearEvents = function clearEvents() {};
38258
+ events$1.forEach(function (event) {
38259
+ inst.addListener(event, function (payload) {
38260
+ _this.$emit(event, payload);
38261
+ });
38262
+ });
38223
38263
 
38224
38264
  // Watch paths, on our own, because we do not want to set either when it is
38225
38265
  // empty
@@ -38312,7 +38352,16 @@
38312
38352
  ctr: function ctr() {
38313
38353
  return google.maps.Circle;
38314
38354
  },
38315
- events: events$2
38355
+ events: events$2,
38356
+ emits: events$2,
38357
+ afterCreate: function afterCreate(inst) {
38358
+ var _this = this;
38359
+ events$2.forEach(function (event) {
38360
+ inst.addListener(event, function (payload) {
38361
+ _this.$emit(event, payload);
38362
+ });
38363
+ });
38364
+ }
38316
38365
  });
38317
38366
 
38318
38367
  var props$4 = {
@@ -38340,7 +38389,16 @@
38340
38389
  ctr: function ctr() {
38341
38390
  return google.maps.Rectangle;
38342
38391
  },
38343
- events: events$3
38392
+ events: events$3,
38393
+ emits: events$3,
38394
+ afterCreate: function afterCreate(inst) {
38395
+ var _this = this;
38396
+ events$3.forEach(function (event) {
38397
+ inst.addListener(event, function (payload) {
38398
+ _this.$emit(event, payload);
38399
+ });
38400
+ });
38401
+ }
38344
38402
  });
38345
38403
 
38346
38404
  var props$5 = {
@@ -39242,6 +39300,10 @@
39242
39300
  * See the License for the specific language governing permissions and
39243
39301
  * limitations under the License.
39244
39302
  */
39303
+ /**
39304
+ * util class that creates a common set of convenience functions to wrap
39305
+ * shared behavior of Advanced Markers and Markers.
39306
+ */
39245
39307
  var MarkerUtils = /*#__PURE__*/function () {
39246
39308
  function MarkerUtils() {}
39247
39309
  MarkerUtils.isAdvancedMarkerAvailable = function isAdvancedMarkerAvailable(map) {
@@ -39622,9 +39684,8 @@
39622
39684
  zIndex = Number(google.maps.Marker.MAX_ZINDEX) + count;
39623
39685
  if (MarkerUtils.isAdvancedMarkerAvailable(map)) {
39624
39686
  // create cluster SVG element
39625
- var div = document.createElement("div");
39626
- div.innerHTML = svg;
39627
- var svgEl = div.firstElementChild;
39687
+ var parser = new DOMParser();
39688
+ var svgEl = parser.parseFromString(svg, "image/svg+xml").documentElement;
39628
39689
  svgEl.setAttribute("transform", "translate(0 25)");
39629
39690
  var _clusterOptions = {
39630
39691
  map: map,
@@ -40026,14 +40087,16 @@
40026
40087
  this.$infoWindowObject.close();
40027
40088
  if (this.opened) {
40028
40089
  this.$infoWindowObject.open(this.$map, this.$markerObject);
40029
- } else {
40030
- this.$emit('closeclick');
40031
40090
  }
40032
40091
  }
40033
40092
  },
40034
40093
  afterCreate: function afterCreate() {
40035
40094
  var _this2 = this;
40036
40095
  this._openInfoWindow();
40096
+ this.$infoWindowObject.addListener('closeclick', function () {
40097
+ _this2.$emit('closeclick');
40098
+ _this2.$infoWindowObject.open(_this2.$map, _this2.$markerObject);
40099
+ });
40037
40100
  this.$watch('opened', function () {
40038
40101
  _this2._openInfoWindow();
40039
40102
  });
@@ -40171,6 +40234,18 @@
40171
40234
  type: Number,
40172
40235
  noBind: true
40173
40236
  },
40237
+ maxZoom: {
40238
+ required: false,
40239
+ twoWay: true,
40240
+ type: Number,
40241
+ noBind: true
40242
+ },
40243
+ minZoom: {
40244
+ required: false,
40245
+ twoWay: true,
40246
+ type: Number,
40247
+ noBind: true
40248
+ },
40174
40249
  heading: {
40175
40250
  type: Number,
40176
40251
  twoWay: true
@@ -43174,7 +43249,7 @@
43174
43249
  return val !== null && typeof val === "object";
43175
43250
  };
43176
43251
  var isPromise = function isPromise(val) {
43177
- return isObject$1(val) && isFunction$1(val.then) && isFunction$1(val["catch"]);
43252
+ return (isObject$1(val) || isFunction$1(val)) && isFunction$1(val.then) && isFunction$1(val["catch"]);
43178
43253
  };
43179
43254
  var cacheStringFunction = function cacheStringFunction(fn) {
43180
43255
  var cache = /* @__PURE__ */Object.create(null);
@@ -43206,9 +43281,7 @@
43206
43281
  }
43207
43282
  }
43208
43283
  return res;
43209
- } else if (isString(value)) {
43210
- return value;
43211
- } else if (isObject$1(value)) {
43284
+ } else if (isString(value) || isObject$1(value)) {
43212
43285
  return value;
43213
43286
  }
43214
43287
  }
@@ -44132,7 +44205,7 @@
44132
44205
  }, queryString, renderFunction);
44133
44206
  }
44134
44207
 
44135
- var version = "3.2.0";
44208
+ var version = "3.3.0";
44136
44209
 
44137
44210
  var components = [RLConnected, ResultCard, ResultList, ReactiveBase, SBConnected, ListConnected, ListConnected$1, RangeConnected$1, RangeConnected$2, RangeConnected$3, RangeConnected, RcConnected, RcConnected$1, RcConnected$2, TBConnected, ListConnected$2, ListConnected$3, StateProviderConnected, RangeConnected$4, TreeListConnected, AIConnected];
44138
44211
  function install$1 (Vue) {