@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.
- package/dist/@appbaseio/reactivesearch-vue.umd.js +377 -304
- package/dist/@appbaseio/reactivesearch-vue.umd.js.map +1 -1
- package/dist/@appbaseio/reactivesearch-vue.umd.min.js +4 -4
- package/dist/@appbaseio/reactivesearch-vue.umd.min.js.map +1 -1
- package/dist/cjs/DynamicRangeSlider.js +5 -3
- package/dist/cjs/ReactiveList.js +5 -0
- package/dist/cjs/index.js +1 -1
- package/dist/cjs/{install-a3c5b872.js → install-c61d8b86.js} +3 -3
- package/dist/cjs/install.js +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/es/DynamicRangeSlider.js +5 -3
- package/dist/es/ReactiveList.js +5 -0
- package/dist/es/index.js +2 -2
- package/dist/es/{install-3c9a9694.js → install-4fe6038c.js} +3 -3
- package/dist/es/install.js +1 -1
- package/dist/es/version.js +1 -1
- package/package.json +91 -91
|
@@ -16,14 +16,14 @@
|
|
|
16
16
|
return module = { exports: {} }, fn(module, module.exports), module.exports;
|
|
17
17
|
}
|
|
18
18
|
|
|
19
|
-
function _typeof(
|
|
19
|
+
function _typeof(o) {
|
|
20
20
|
"@babel/helpers - typeof";
|
|
21
21
|
|
|
22
|
-
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (
|
|
23
|
-
return typeof
|
|
24
|
-
} : function (
|
|
25
|
-
return
|
|
26
|
-
}, _typeof(
|
|
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(
|
|
61
|
-
var
|
|
60
|
+
function ownKeys(e, r) {
|
|
61
|
+
var t = Object.keys(e);
|
|
62
62
|
if (Object.getOwnPropertySymbols) {
|
|
63
|
-
var
|
|
64
|
-
|
|
65
|
-
return Object.getOwnPropertyDescriptor(
|
|
66
|
-
})),
|
|
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
|
|
68
|
+
return t;
|
|
69
69
|
}
|
|
70
|
-
function _objectSpread2(
|
|
71
|
-
for (var
|
|
72
|
-
var
|
|
73
|
-
|
|
74
|
-
_defineProperty(
|
|
75
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(
|
|
76
|
-
Object.defineProperty(
|
|
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
|
|
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 =
|
|
5875
|
-
|
|
5874
|
+
var p = "$isDayjsObject",
|
|
5875
|
+
S = function S(t) {
|
|
5876
|
+
return t instanceof _ || !(!t || !t[p]);
|
|
5876
5877
|
},
|
|
5877
|
-
|
|
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
|
-
|
|
5892
|
-
if (
|
|
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
|
|
5895
|
+
return n.date = t, n.args = arguments, new _(n);
|
|
5895
5896
|
},
|
|
5896
|
-
|
|
5897
|
-
|
|
5898
|
-
return
|
|
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
|
|
5906
|
+
var _ = function () {
|
|
5906
5907
|
function M(t) {
|
|
5907
|
-
this.$L =
|
|
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 (
|
|
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
|
|
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
|
|
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 =
|
|
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
|
|
5939
|
+
return O(t) < this.startOf(e);
|
|
5939
5940
|
}, m.isBefore = function (t, e) {
|
|
5940
|
-
return this.endOf(e) <
|
|
5941
|
+
return this.endOf(e) < O(t);
|
|
5941
5942
|
}, m.$g = function (t, e, n) {
|
|
5942
|
-
return
|
|
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 = !!
|
|
5950
|
-
f =
|
|
5950
|
+
r = !!b.u(e) || e,
|
|
5951
|
+
f = b.p(t),
|
|
5951
5952
|
l = function l(t, e) {
|
|
5952
|
-
var i =
|
|
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
|
|
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 =
|
|
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[
|
|
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 $ =
|
|
6005
|
+
var $ = b.p(f),
|
|
6005
6006
|
y = function y(t) {
|
|
6006
|
-
var e =
|
|
6007
|
-
return
|
|
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
|
|
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 =
|
|
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
|
|
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
|
|
6047
|
+
return b.s(e.$y, 4, "0");
|
|
6047
6048
|
case "M":
|
|
6048
6049
|
return a + 1;
|
|
6049
6050
|
case "MM":
|
|
6050
|
-
return
|
|
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
|
|
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
|
|
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
|
|
6083
|
+
return b.s(u, 2, "0");
|
|
6083
6084
|
case "s":
|
|
6084
6085
|
return String(e.$s);
|
|
6085
6086
|
case "ss":
|
|
6086
|
-
return
|
|
6087
|
+
return b.s(e.$s, 2, "0");
|
|
6087
6088
|
case "SSS":
|
|
6088
|
-
return
|
|
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 =
|
|
6101
|
-
m =
|
|
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
|
|
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 ? $ :
|
|
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 =
|
|
6144
|
+
r = w(t, e, !0);
|
|
6144
6145
|
return r && (n.$L = r), n;
|
|
6145
6146
|
}, m.clone = function () {
|
|
6146
|
-
return
|
|
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
|
-
|
|
6158
|
-
return
|
|
6159
|
-
|
|
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
|
-
}),
|
|
6163
|
-
return t.$i || (t(e,
|
|
6164
|
-
},
|
|
6165
|
-
return
|
|
6166
|
-
},
|
|
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
|
-
|
|
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
|
-
|
|
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))
|
|
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
|
|
9215
|
-
};
|
|
9216
|
-
var
|
|
9217
|
-
|
|
9218
|
-
|
|
9219
|
-
|
|
9220
|
-
|
|
9221
|
-
|
|
9222
|
-
|
|
9223
|
-
|
|
9224
|
-
|
|
9225
|
-
|
|
9226
|
-
|
|
9227
|
-
|
|
9228
|
-
|
|
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
|
-
}),
|
|
9249
|
+
}), t[e];
|
|
9233
9250
|
}
|
|
9234
9251
|
try {
|
|
9235
9252
|
define({}, "");
|
|
9236
|
-
} catch (
|
|
9237
|
-
define = function (
|
|
9238
|
-
return
|
|
9253
|
+
} catch (t) {
|
|
9254
|
+
define = function (t, e, r) {
|
|
9255
|
+
return t[e] = r;
|
|
9239
9256
|
};
|
|
9240
9257
|
}
|
|
9241
|
-
function wrap(
|
|
9242
|
-
var
|
|
9243
|
-
|
|
9244
|
-
|
|
9245
|
-
return
|
|
9246
|
-
value: makeInvokeMethod(
|
|
9247
|
-
}),
|
|
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(
|
|
9266
|
+
function tryCatch(t, e, r) {
|
|
9250
9267
|
try {
|
|
9251
9268
|
return {
|
|
9252
9269
|
type: "normal",
|
|
9253
|
-
arg:
|
|
9270
|
+
arg: t.call(e, r)
|
|
9254
9271
|
};
|
|
9255
|
-
} catch (
|
|
9272
|
+
} catch (t) {
|
|
9256
9273
|
return {
|
|
9257
9274
|
type: "throw",
|
|
9258
|
-
arg:
|
|
9275
|
+
arg: t
|
|
9259
9276
|
};
|
|
9260
9277
|
}
|
|
9261
9278
|
}
|
|
9262
|
-
|
|
9263
|
-
var
|
|
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
|
|
9268
|
-
define(
|
|
9288
|
+
var p = {};
|
|
9289
|
+
define(p, a, function () {
|
|
9269
9290
|
return this;
|
|
9270
9291
|
});
|
|
9271
|
-
var
|
|
9272
|
-
|
|
9273
|
-
|
|
9274
|
-
var
|
|
9275
|
-
function defineIteratorMethods(
|
|
9276
|
-
["next", "throw", "return"].forEach(function (
|
|
9277
|
-
define(
|
|
9278
|
-
return this._invoke(
|
|
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(
|
|
9283
|
-
function invoke(
|
|
9284
|
-
var
|
|
9285
|
-
if ("throw" !==
|
|
9286
|
-
var
|
|
9287
|
-
|
|
9288
|
-
return
|
|
9289
|
-
invoke("next",
|
|
9290
|
-
}, function (
|
|
9291
|
-
invoke("throw",
|
|
9292
|
-
}) :
|
|
9293
|
-
|
|
9294
|
-
}, function (
|
|
9295
|
-
return invoke("throw",
|
|
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
|
-
|
|
9319
|
+
a(c.arg);
|
|
9299
9320
|
}
|
|
9300
|
-
var
|
|
9301
|
-
|
|
9302
|
-
value: function (
|
|
9321
|
+
var r;
|
|
9322
|
+
o(this, "_invoke", {
|
|
9323
|
+
value: function (t, n) {
|
|
9303
9324
|
function callInvokeWithMethodAndArg() {
|
|
9304
|
-
return new
|
|
9305
|
-
invoke(
|
|
9325
|
+
return new e(function (e, r) {
|
|
9326
|
+
invoke(t, n, e, r);
|
|
9306
9327
|
});
|
|
9307
9328
|
}
|
|
9308
|
-
return
|
|
9329
|
+
return r = r ? r.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();
|
|
9309
9330
|
}
|
|
9310
9331
|
});
|
|
9311
9332
|
}
|
|
9312
|
-
function makeInvokeMethod(
|
|
9313
|
-
var
|
|
9314
|
-
return function (
|
|
9315
|
-
if (
|
|
9316
|
-
if (
|
|
9317
|
-
if ("throw" ===
|
|
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:
|
|
9340
|
+
value: t,
|
|
9320
9341
|
done: !0
|
|
9321
9342
|
};
|
|
9322
9343
|
}
|
|
9323
|
-
for (
|
|
9324
|
-
var
|
|
9325
|
-
if (
|
|
9326
|
-
var
|
|
9327
|
-
if (
|
|
9328
|
-
if (
|
|
9329
|
-
return
|
|
9330
|
-
}
|
|
9331
|
-
}
|
|
9332
|
-
if ("next" ===
|
|
9333
|
-
if (
|
|
9334
|
-
|
|
9335
|
-
} else "return" ===
|
|
9336
|
-
|
|
9337
|
-
var
|
|
9338
|
-
if ("normal" ===
|
|
9339
|
-
if (
|
|
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:
|
|
9342
|
-
done:
|
|
9362
|
+
value: p.arg,
|
|
9363
|
+
done: n.done
|
|
9343
9364
|
};
|
|
9344
9365
|
}
|
|
9345
|
-
"throw" ===
|
|
9366
|
+
"throw" === p.type && (o = s, n.method = "throw", n.arg = p.arg);
|
|
9346
9367
|
}
|
|
9347
9368
|
};
|
|
9348
9369
|
}
|
|
9349
|
-
function maybeInvokeDelegate(
|
|
9350
|
-
var
|
|
9351
|
-
|
|
9352
|
-
if (
|
|
9353
|
-
var
|
|
9354
|
-
if ("throw" ===
|
|
9355
|
-
var
|
|
9356
|
-
return
|
|
9357
|
-
}
|
|
9358
|
-
function pushTryEntry(
|
|
9359
|
-
var
|
|
9360
|
-
tryLoc:
|
|
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
|
|
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(
|
|
9365
|
-
var
|
|
9366
|
-
|
|
9385
|
+
function resetTryEntry(t) {
|
|
9386
|
+
var e = t.completion || {};
|
|
9387
|
+
e.type = "normal", delete e.arg, t.completion = e;
|
|
9367
9388
|
}
|
|
9368
|
-
function Context(
|
|
9389
|
+
function Context(t) {
|
|
9369
9390
|
this.tryEntries = [{
|
|
9370
9391
|
tryLoc: "root"
|
|
9371
|
-
}],
|
|
9372
|
-
}
|
|
9373
|
-
function values(
|
|
9374
|
-
if (
|
|
9375
|
-
var
|
|
9376
|
-
if (
|
|
9377
|
-
if ("function" == typeof
|
|
9378
|
-
if (!isNaN(
|
|
9379
|
-
var
|
|
9380
|
-
|
|
9381
|
-
for (; ++
|
|
9382
|
-
return next.value =
|
|
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
|
|
9405
|
+
return i.next = i;
|
|
9385
9406
|
}
|
|
9386
9407
|
}
|
|
9387
|
-
throw new TypeError(typeof
|
|
9408
|
+
throw new TypeError(typeof e + " is not iterable");
|
|
9388
9409
|
}
|
|
9389
|
-
return GeneratorFunction.prototype = GeneratorFunctionPrototype,
|
|
9410
|
+
return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", {
|
|
9390
9411
|
value: GeneratorFunctionPrototype,
|
|
9391
9412
|
configurable: !0
|
|
9392
|
-
}),
|
|
9413
|
+
}), o(GeneratorFunctionPrototype, "constructor", {
|
|
9393
9414
|
value: GeneratorFunction,
|
|
9394
9415
|
configurable: !0
|
|
9395
|
-
}), GeneratorFunction.displayName = define(GeneratorFunctionPrototype,
|
|
9396
|
-
var
|
|
9397
|
-
return !!
|
|
9398
|
-
},
|
|
9399
|
-
return Object.setPrototypeOf ? Object.setPrototypeOf(
|
|
9400
|
-
},
|
|
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:
|
|
9423
|
+
__await: t
|
|
9403
9424
|
};
|
|
9404
|
-
}, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype,
|
|
9425
|
+
}, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, c, function () {
|
|
9405
9426
|
return this;
|
|
9406
|
-
}),
|
|
9407
|
-
void 0 ===
|
|
9408
|
-
var
|
|
9409
|
-
return
|
|
9410
|
-
return
|
|
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(
|
|
9433
|
+
}, defineIteratorMethods(g), define(g, u, "Generator"), define(g, a, function () {
|
|
9413
9434
|
return this;
|
|
9414
|
-
}), define(
|
|
9435
|
+
}), define(g, "toString", function () {
|
|
9415
9436
|
return "[object Generator]";
|
|
9416
|
-
}),
|
|
9417
|
-
var
|
|
9418
|
-
|
|
9419
|
-
for (var
|
|
9420
|
-
return
|
|
9421
|
-
for (;
|
|
9422
|
-
var
|
|
9423
|
-
if (
|
|
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
|
-
},
|
|
9448
|
+
}, e.values = values, Context.prototype = {
|
|
9428
9449
|
constructor: Context,
|
|
9429
|
-
reset: function (
|
|
9430
|
-
if (this.prev = 0, this.next = 0, this.sent = this._sent =
|
|
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
|
|
9435
|
-
if ("throw" ===
|
|
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 (
|
|
9439
|
-
if (this.done) throw
|
|
9440
|
-
var
|
|
9441
|
-
function handle(
|
|
9442
|
-
return
|
|
9443
|
-
}
|
|
9444
|
-
for (var
|
|
9445
|
-
var
|
|
9446
|
-
|
|
9447
|
-
if ("root" ===
|
|
9448
|
-
if (
|
|
9449
|
-
var
|
|
9450
|
-
|
|
9451
|
-
if (
|
|
9452
|
-
if (this.prev <
|
|
9453
|
-
if (this.prev <
|
|
9454
|
-
} else if (
|
|
9455
|
-
if (this.prev <
|
|
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 (!
|
|
9458
|
-
if (this.prev <
|
|
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 (
|
|
9464
|
-
for (var
|
|
9465
|
-
var
|
|
9466
|
-
if (
|
|
9467
|
-
var
|
|
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
|
-
|
|
9472
|
-
var
|
|
9473
|
-
return
|
|
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 (
|
|
9476
|
-
if ("throw" ===
|
|
9477
|
-
return "break" ===
|
|
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 (
|
|
9480
|
-
for (var
|
|
9481
|
-
var
|
|
9482
|
-
if (
|
|
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 (
|
|
9486
|
-
for (var
|
|
9487
|
-
var
|
|
9488
|
-
if (
|
|
9489
|
-
var
|
|
9490
|
-
if ("throw" ===
|
|
9491
|
-
var
|
|
9492
|
-
resetTryEntry(
|
|
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
|
|
9515
|
+
return o;
|
|
9495
9516
|
}
|
|
9496
9517
|
}
|
|
9497
9518
|
throw new Error("illegal catch attempt");
|
|
9498
9519
|
},
|
|
9499
|
-
delegateYield: function (
|
|
9520
|
+
delegateYield: function (e, r, n) {
|
|
9500
9521
|
return this.delegate = {
|
|
9501
|
-
iterator: values(
|
|
9502
|
-
resultName:
|
|
9503
|
-
nextLoc:
|
|
9504
|
-
}, "next" === this.method && (this.arg =
|
|
9522
|
+
iterator: values(e),
|
|
9523
|
+
resultName: r,
|
|
9524
|
+
nextLoc: n
|
|
9525
|
+
}, "next" === this.method && (this.arg = t), y;
|
|
9505
9526
|
}
|
|
9506
|
-
},
|
|
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
|
|
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
|
|
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
|
|
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
|
-
"
|
|
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
|
-
|
|
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
|
|
39626
|
-
|
|
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.
|
|
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) {
|