@appbaseio/reactivesearch-vue 3.0.0-rc.15 → 3.0.0-rc.16
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 +154 -109
- package/dist/@appbaseio/reactivesearch-vue.umd.js.map +1 -1
- package/dist/@appbaseio/reactivesearch-vue.umd.min.js +5 -5
- package/dist/@appbaseio/reactivesearch-vue.umd.min.js.map +1 -1
- package/dist/cjs/index.js +1 -1
- package/dist/cjs/{install-5513d650.js → install-aa32f65f.js} +7 -7
- package/dist/cjs/install.js +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/es/index.js +2 -2
- package/dist/es/{install-74c9185a.js → install-28637a98.js} +7 -7
- package/dist/es/install.js +1 -1
- package/dist/es/version.js +1 -1
- package/package.json +1 -1
|
@@ -5797,9 +5797,9 @@
|
|
|
5797
5797
|
u = "hour",
|
|
5798
5798
|
a = "day",
|
|
5799
5799
|
o = "week",
|
|
5800
|
-
|
|
5801
|
-
|
|
5802
|
-
|
|
5800
|
+
c = "month",
|
|
5801
|
+
f = "quarter",
|
|
5802
|
+
h = "year",
|
|
5803
5803
|
d = "date",
|
|
5804
5804
|
l = "Invalid Date",
|
|
5805
5805
|
$ = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,
|
|
@@ -5830,9 +5830,9 @@
|
|
|
5830
5830
|
m: function t(e, n) {
|
|
5831
5831
|
if (e.date() < n.date()) return -t(n, e);
|
|
5832
5832
|
var r = 12 * (n.year() - e.year()) + (n.month() - e.month()),
|
|
5833
|
-
i = e.clone().add(r,
|
|
5833
|
+
i = e.clone().add(r, c),
|
|
5834
5834
|
s = n - i < 0,
|
|
5835
|
-
u = e.clone().add(r + (s ? -1 : 1),
|
|
5835
|
+
u = e.clone().add(r + (s ? -1 : 1), c);
|
|
5836
5836
|
return +(-(r + (n - i) / (s ? i - u : u - i)) || 0);
|
|
5837
5837
|
},
|
|
5838
5838
|
a: function a(t) {
|
|
@@ -5840,8 +5840,8 @@
|
|
|
5840
5840
|
},
|
|
5841
5841
|
p: function p(t) {
|
|
5842
5842
|
return {
|
|
5843
|
-
M:
|
|
5844
|
-
y:
|
|
5843
|
+
M: c,
|
|
5844
|
+
y: h,
|
|
5845
5845
|
w: o,
|
|
5846
5846
|
d: a,
|
|
5847
5847
|
D: d,
|
|
@@ -5849,7 +5849,7 @@
|
|
|
5849
5849
|
m: s,
|
|
5850
5850
|
s: i,
|
|
5851
5851
|
ms: r,
|
|
5852
|
-
Q:
|
|
5852
|
+
Q: f
|
|
5853
5853
|
}[t] || String(t || "").toLowerCase().replace(/s$/, "");
|
|
5854
5854
|
},
|
|
5855
5855
|
u: function u(t) {
|
|
@@ -5860,7 +5860,7 @@
|
|
|
5860
5860
|
D = {};
|
|
5861
5861
|
D[g] = M;
|
|
5862
5862
|
var p = function p(t) {
|
|
5863
|
-
return t instanceof
|
|
5863
|
+
return t instanceof b;
|
|
5864
5864
|
},
|
|
5865
5865
|
S = function t(e, n, r) {
|
|
5866
5866
|
var i;
|
|
@@ -5879,7 +5879,7 @@
|
|
|
5879
5879
|
w = function w(t, e) {
|
|
5880
5880
|
if (p(t)) return t.clone();
|
|
5881
5881
|
var n = "object" == typeof e ? e : {};
|
|
5882
|
-
return n.date = t, n.args = arguments, new
|
|
5882
|
+
return n.date = t, n.args = arguments, new b(n);
|
|
5883
5883
|
},
|
|
5884
5884
|
O = v;
|
|
5885
5885
|
O.l = S, O.i = p, O.w = function (t, e) {
|
|
@@ -5890,7 +5890,7 @@
|
|
|
5890
5890
|
$offset: e.$offset
|
|
5891
5891
|
});
|
|
5892
5892
|
};
|
|
5893
|
-
var
|
|
5893
|
+
var b = function () {
|
|
5894
5894
|
function M(t) {
|
|
5895
5895
|
this.$L = S(t.locale, null, !0), this.parse(t);
|
|
5896
5896
|
}
|
|
@@ -5935,7 +5935,7 @@
|
|
|
5935
5935
|
}, m.startOf = function (t, e) {
|
|
5936
5936
|
var n = this,
|
|
5937
5937
|
r = !!O.u(e) || e,
|
|
5938
|
-
|
|
5938
|
+
f = O.p(t),
|
|
5939
5939
|
l = function l(t, e) {
|
|
5940
5940
|
var i = O.w(n.$u ? Date.UTC(n.$y, e, t) : new Date(n.$y, e, t), n);
|
|
5941
5941
|
return r ? i : i.endOf(a);
|
|
@@ -5947,10 +5947,10 @@
|
|
|
5947
5947
|
M = this.$M,
|
|
5948
5948
|
m = this.$D,
|
|
5949
5949
|
v = "set" + (this.$u ? "UTC" : "");
|
|
5950
|
-
switch (
|
|
5951
|
-
case
|
|
5950
|
+
switch (f) {
|
|
5951
|
+
case h:
|
|
5952
5952
|
return r ? l(1, 0) : l(31, 11);
|
|
5953
|
-
case
|
|
5953
|
+
case c:
|
|
5954
5954
|
return r ? l(1, M) : l(0, M + 1);
|
|
5955
5955
|
case o:
|
|
5956
5956
|
var g = this.$locale().weekStart || 0,
|
|
@@ -5973,10 +5973,10 @@
|
|
|
5973
5973
|
}, m.$set = function (t, e) {
|
|
5974
5974
|
var n,
|
|
5975
5975
|
o = O.p(t),
|
|
5976
|
-
|
|
5977
|
-
l = (n = {}, n[a] =
|
|
5976
|
+
f = "set" + (this.$u ? "UTC" : ""),
|
|
5977
|
+
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],
|
|
5978
5978
|
$ = o === a ? this.$D + (e - this.$W) : e;
|
|
5979
|
-
if (o ===
|
|
5979
|
+
if (o === c || o === h) {
|
|
5980
5980
|
var y = this.clone().set(d, 1);
|
|
5981
5981
|
y.$d[l]($), y.init(), this.$d = y.set(d, Math.min(this.$D, y.daysInMonth())).$d;
|
|
5982
5982
|
} else l && this.$d[l]($);
|
|
@@ -5985,17 +5985,17 @@
|
|
|
5985
5985
|
return this.clone().$set(t, e);
|
|
5986
5986
|
}, m.get = function (t) {
|
|
5987
5987
|
return this[O.p(t)]();
|
|
5988
|
-
}, m.add = function (r,
|
|
5988
|
+
}, m.add = function (r, f) {
|
|
5989
5989
|
var d,
|
|
5990
5990
|
l = this;
|
|
5991
5991
|
r = Number(r);
|
|
5992
|
-
var $ = O.p(
|
|
5992
|
+
var $ = O.p(f),
|
|
5993
5993
|
y = function y(t) {
|
|
5994
5994
|
var e = w(l);
|
|
5995
5995
|
return O.w(e.date(e.date() + Math.round(t * r)), l);
|
|
5996
5996
|
};
|
|
5997
|
-
if ($ ===
|
|
5998
|
-
if ($ ===
|
|
5997
|
+
if ($ === c) return this.set(c, this.$M + r);
|
|
5998
|
+
if ($ === h) return this.set(h, this.$y + r);
|
|
5999
5999
|
if ($ === a) return y(1);
|
|
6000
6000
|
if ($ === o) return y(7);
|
|
6001
6001
|
var M = (d = {}, d[s] = e, d[u] = n, d[i] = t, d)[$] || 1,
|
|
@@ -6013,58 +6013,116 @@
|
|
|
6013
6013
|
u = this.$m,
|
|
6014
6014
|
a = this.$M,
|
|
6015
6015
|
o = n.weekdays,
|
|
6016
|
-
|
|
6016
|
+
c = n.months,
|
|
6017
|
+
f = n.meridiem,
|
|
6017
6018
|
h = function h(t, n, i, s) {
|
|
6018
6019
|
return t && (t[n] || t(e, r)) || i[n].slice(0, s);
|
|
6019
6020
|
},
|
|
6020
|
-
|
|
6021
|
+
d = function d(t) {
|
|
6021
6022
|
return O.s(s % 12 || 12, t, "0");
|
|
6022
6023
|
},
|
|
6023
|
-
|
|
6024
|
+
$ = f || function (t, e, n) {
|
|
6024
6025
|
var r = t < 12 ? "AM" : "PM";
|
|
6025
6026
|
return n ? r.toLowerCase() : r;
|
|
6026
|
-
},
|
|
6027
|
-
$ = {
|
|
6028
|
-
YY: String(this.$y).slice(-2),
|
|
6029
|
-
YYYY: this.$y,
|
|
6030
|
-
M: a + 1,
|
|
6031
|
-
MM: O.s(a + 1, 2, "0"),
|
|
6032
|
-
MMM: h(n.monthsShort, a, f, 3),
|
|
6033
|
-
MMMM: h(f, a),
|
|
6034
|
-
D: this.$D,
|
|
6035
|
-
DD: O.s(this.$D, 2, "0"),
|
|
6036
|
-
d: String(this.$W),
|
|
6037
|
-
dd: h(n.weekdaysMin, this.$W, o, 2),
|
|
6038
|
-
ddd: h(n.weekdaysShort, this.$W, o, 3),
|
|
6039
|
-
dddd: o[this.$W],
|
|
6040
|
-
H: String(s),
|
|
6041
|
-
HH: O.s(s, 2, "0"),
|
|
6042
|
-
h: c(1),
|
|
6043
|
-
hh: c(2),
|
|
6044
|
-
a: d(s, u, !0),
|
|
6045
|
-
A: d(s, u, !1),
|
|
6046
|
-
m: String(u),
|
|
6047
|
-
mm: O.s(u, 2, "0"),
|
|
6048
|
-
s: String(this.$s),
|
|
6049
|
-
ss: O.s(this.$s, 2, "0"),
|
|
6050
|
-
SSS: O.s(this.$ms, 3, "0"),
|
|
6051
|
-
Z: i
|
|
6052
6027
|
};
|
|
6053
|
-
return r.replace(y, function (t,
|
|
6054
|
-
return
|
|
6028
|
+
return r.replace(y, function (t, r) {
|
|
6029
|
+
return r || function (t) {
|
|
6030
|
+
switch (t) {
|
|
6031
|
+
case "YY":
|
|
6032
|
+
return String(e.$y).slice(-2);
|
|
6033
|
+
case "YYYY":
|
|
6034
|
+
return O.s(e.$y, 4, "0");
|
|
6035
|
+
case "M":
|
|
6036
|
+
return a + 1;
|
|
6037
|
+
case "MM":
|
|
6038
|
+
return O.s(a + 1, 2, "0");
|
|
6039
|
+
case "MMM":
|
|
6040
|
+
return h(n.monthsShort, a, c, 3);
|
|
6041
|
+
case "MMMM":
|
|
6042
|
+
return h(c, a);
|
|
6043
|
+
case "D":
|
|
6044
|
+
return e.$D;
|
|
6045
|
+
case "DD":
|
|
6046
|
+
return O.s(e.$D, 2, "0");
|
|
6047
|
+
case "d":
|
|
6048
|
+
return String(e.$W);
|
|
6049
|
+
case "dd":
|
|
6050
|
+
return h(n.weekdaysMin, e.$W, o, 2);
|
|
6051
|
+
case "ddd":
|
|
6052
|
+
return h(n.weekdaysShort, e.$W, o, 3);
|
|
6053
|
+
case "dddd":
|
|
6054
|
+
return o[e.$W];
|
|
6055
|
+
case "H":
|
|
6056
|
+
return String(s);
|
|
6057
|
+
case "HH":
|
|
6058
|
+
return O.s(s, 2, "0");
|
|
6059
|
+
case "h":
|
|
6060
|
+
return d(1);
|
|
6061
|
+
case "hh":
|
|
6062
|
+
return d(2);
|
|
6063
|
+
case "a":
|
|
6064
|
+
return $(s, u, !0);
|
|
6065
|
+
case "A":
|
|
6066
|
+
return $(s, u, !1);
|
|
6067
|
+
case "m":
|
|
6068
|
+
return String(u);
|
|
6069
|
+
case "mm":
|
|
6070
|
+
return O.s(u, 2, "0");
|
|
6071
|
+
case "s":
|
|
6072
|
+
return String(e.$s);
|
|
6073
|
+
case "ss":
|
|
6074
|
+
return O.s(e.$s, 2, "0");
|
|
6075
|
+
case "SSS":
|
|
6076
|
+
return O.s(e.$ms, 3, "0");
|
|
6077
|
+
case "Z":
|
|
6078
|
+
return i;
|
|
6079
|
+
}
|
|
6080
|
+
return null;
|
|
6081
|
+
}(t) || i.replace(":", "");
|
|
6055
6082
|
});
|
|
6056
6083
|
}, m.utcOffset = function () {
|
|
6057
6084
|
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
|
6058
6085
|
}, m.diff = function (r, d, l) {
|
|
6059
6086
|
var $,
|
|
6060
|
-
y =
|
|
6061
|
-
M =
|
|
6062
|
-
m = (
|
|
6063
|
-
v =
|
|
6064
|
-
g =
|
|
6065
|
-
|
|
6087
|
+
y = this,
|
|
6088
|
+
M = O.p(d),
|
|
6089
|
+
m = w(r),
|
|
6090
|
+
v = (m.utcOffset() - this.utcOffset()) * e,
|
|
6091
|
+
g = this - m,
|
|
6092
|
+
D = function D() {
|
|
6093
|
+
return O.m(y, m);
|
|
6094
|
+
};
|
|
6095
|
+
switch (M) {
|
|
6096
|
+
case h:
|
|
6097
|
+
$ = D() / 12;
|
|
6098
|
+
break;
|
|
6099
|
+
case c:
|
|
6100
|
+
$ = D();
|
|
6101
|
+
break;
|
|
6102
|
+
case f:
|
|
6103
|
+
$ = D() / 3;
|
|
6104
|
+
break;
|
|
6105
|
+
case o:
|
|
6106
|
+
$ = (g - v) / 6048e5;
|
|
6107
|
+
break;
|
|
6108
|
+
case a:
|
|
6109
|
+
$ = (g - v) / 864e5;
|
|
6110
|
+
break;
|
|
6111
|
+
case u:
|
|
6112
|
+
$ = g / n;
|
|
6113
|
+
break;
|
|
6114
|
+
case s:
|
|
6115
|
+
$ = g / e;
|
|
6116
|
+
break;
|
|
6117
|
+
case i:
|
|
6118
|
+
$ = g / t;
|
|
6119
|
+
break;
|
|
6120
|
+
default:
|
|
6121
|
+
$ = g;
|
|
6122
|
+
}
|
|
6123
|
+
return l ? $ : O.a($);
|
|
6066
6124
|
}, m.daysInMonth = function () {
|
|
6067
|
-
return this.endOf(
|
|
6125
|
+
return this.endOf(c).$D;
|
|
6068
6126
|
}, m.$locale = function () {
|
|
6069
6127
|
return D[this.$L];
|
|
6070
6128
|
}, m.locale = function (t, e) {
|
|
@@ -6084,13 +6142,13 @@
|
|
|
6084
6142
|
return this.$d.toUTCString();
|
|
6085
6143
|
}, M;
|
|
6086
6144
|
}(),
|
|
6087
|
-
|
|
6088
|
-
return w.prototype =
|
|
6089
|
-
|
|
6145
|
+
_ = b.prototype;
|
|
6146
|
+
return w.prototype = _, [["$ms", r], ["$s", i], ["$m", s], ["$H", u], ["$W", a], ["$M", c], ["$y", h], ["$D", d]].forEach(function (t) {
|
|
6147
|
+
_[t[1]] = function (e) {
|
|
6090
6148
|
return this.$g(e, t[0], t[1]);
|
|
6091
6149
|
};
|
|
6092
6150
|
}), w.extend = function (t, e) {
|
|
6093
|
-
return t.$i || (t(e,
|
|
6151
|
+
return t.$i || (t(e, b, w), t.$i = !0), w;
|
|
6094
6152
|
}, w.locale = S, w.isDayjs = p, w.unix = function (t) {
|
|
6095
6153
|
return w(1e3 * t);
|
|
6096
6154
|
}, w.en = D[g], w.Ls = D, w.p = {}, w;
|
|
@@ -9073,7 +9131,7 @@
|
|
|
9073
9131
|
var transformOn = function transformOn(obj) {
|
|
9074
9132
|
var result = {};
|
|
9075
9133
|
Object.keys(obj).forEach(function (evt) {
|
|
9076
|
-
result["on" + evt[0].toUpperCase() + evt.
|
|
9134
|
+
result["on" + evt[0].toUpperCase() + evt.slice(1)] = obj[evt];
|
|
9077
9135
|
});
|
|
9078
9136
|
return result;
|
|
9079
9137
|
};
|
|
@@ -9671,7 +9729,7 @@
|
|
|
9671
9729
|
}).join(" or ")) : i = "Array" === (o = d(r)) ? m(t) : "Object" === o ? y(t) : "String" === o || "Number" === o || "Boolean" === o || "Function" === o ? function (e) {
|
|
9672
9730
|
if (null == e) return "";
|
|
9673
9731
|
var t = e.constructor.toString().match(v);
|
|
9674
|
-
return t ? t[1] : "";
|
|
9732
|
+
return t ? t[1].replace(/^Async/, "") : "";
|
|
9675
9733
|
}(t) === o : t instanceof r.type;
|
|
9676
9734
|
}
|
|
9677
9735
|
if (!i) {
|
|
@@ -9741,10 +9799,10 @@
|
|
|
9741
9799
|
}
|
|
9742
9800
|
return Object.assign(o, s);
|
|
9743
9801
|
}
|
|
9744
|
-
function
|
|
9802
|
+
function A(e) {
|
|
9745
9803
|
return e.replace(/^(?!\s*$)/gm, " ");
|
|
9746
9804
|
}
|
|
9747
|
-
var
|
|
9805
|
+
var E = function E() {
|
|
9748
9806
|
return x("any", {});
|
|
9749
9807
|
},
|
|
9750
9808
|
N = function N() {
|
|
@@ -9870,7 +9928,7 @@
|
|
|
9870
9928
|
var r = P(e, t, !0);
|
|
9871
9929
|
return "string" == typeof r && n.push(r), !0 === r;
|
|
9872
9930
|
});
|
|
9873
|
-
return r || h("oneOfType - provided value does not match any of the " + n.length + " passed-in validators:\n" +
|
|
9931
|
+
return r || h("oneOfType - provided value does not match any of the " + n.length + " passed-in validators:\n" + A(n.join("\n"))), r;
|
|
9874
9932
|
}
|
|
9875
9933
|
} : {
|
|
9876
9934
|
type: u
|
|
@@ -9884,7 +9942,7 @@
|
|
|
9884
9942
|
r = t.every(function (t) {
|
|
9885
9943
|
return !0 === (n = P(e, t, !0));
|
|
9886
9944
|
});
|
|
9887
|
-
return r || h("arrayOf - value validation error:\n" +
|
|
9945
|
+
return r || h("arrayOf - value validation error:\n" + A(n)), r;
|
|
9888
9946
|
}
|
|
9889
9947
|
});
|
|
9890
9948
|
}
|
|
@@ -9901,7 +9959,7 @@
|
|
|
9901
9959
|
r = Object.keys(t).every(function (r) {
|
|
9902
9960
|
return !0 === (n = P(e, t[r], !0));
|
|
9903
9961
|
});
|
|
9904
|
-
return r || h("objectOf - value validation error:\n" +
|
|
9962
|
+
return r || h("objectOf - value validation error:\n" + A(n)), r;
|
|
9905
9963
|
}
|
|
9906
9964
|
});
|
|
9907
9965
|
}
|
|
@@ -9928,7 +9986,7 @@
|
|
|
9928
9986
|
return o.every(function (n) {
|
|
9929
9987
|
if (-1 === t.indexOf(n)) return !0 === i._vueTypes_isLoose || (h('shape - shape definition does not include a "' + n + '" property. Allowed keys: "' + t.join('", "') + '".'), !1);
|
|
9930
9988
|
var o = P(e[n], r[n], !0);
|
|
9931
|
-
return "string" == typeof o && h('shape - "' + n + '" property validation error:\n ' +
|
|
9989
|
+
return "string" == typeof o && h('shape - "' + n + '" property validation error:\n ' + A(o)), !0 === o;
|
|
9932
9990
|
});
|
|
9933
9991
|
}
|
|
9934
9992
|
});
|
|
@@ -9988,7 +10046,7 @@
|
|
|
9988
10046
|
}, n(e, null, [{
|
|
9989
10047
|
key: "any",
|
|
9990
10048
|
get: function get() {
|
|
9991
|
-
return
|
|
10049
|
+
return E();
|
|
9992
10050
|
}
|
|
9993
10051
|
}, {
|
|
9994
10052
|
key: "func",
|
|
@@ -17629,7 +17687,7 @@
|
|
|
17629
17687
|
};
|
|
17630
17688
|
|
|
17631
17689
|
/**!
|
|
17632
|
-
* hotkeys-js v3.10.
|
|
17690
|
+
* hotkeys-js v3.10.4
|
|
17633
17691
|
* A simple micro-library for defining and dispatching keyboard shortcuts. It has no dependencies.
|
|
17634
17692
|
*
|
|
17635
17693
|
* Copyright (c) 2023 kenny wong <wowohoo@qq.com>
|
|
@@ -18045,7 +18103,7 @@
|
|
|
18045
18103
|
if (!(key in _handlers)) return;
|
|
18046
18104
|
for (var _i = 0; _i < _handlers[key].length; _i++) {
|
|
18047
18105
|
if (event.type === 'keydown' && _handlers[key][_i].keydown || event.type === 'keyup' && _handlers[key][_i].keyup) {
|
|
18048
|
-
if (_handlers[key][_i].key) {
|
|
18106
|
+
if (_handlers[key][_i].key && _handlers[key][_i].scope === scope) {
|
|
18049
18107
|
var record = _handlers[key][_i];
|
|
18050
18108
|
var splitKey = record.splitKey;
|
|
18051
18109
|
var keyShortcut = record.key.split(splitKey);
|
|
@@ -27269,7 +27327,7 @@
|
|
|
27269
27327
|
},
|
|
27270
27328
|
handleFeaturedSuggestionClicked: function handleFeaturedSuggestionClicked(suggestion) {
|
|
27271
27329
|
try {
|
|
27272
|
-
var _this$$refs2
|
|
27330
|
+
var _this$$refs2;
|
|
27273
27331
|
if (suggestion.action === helper_15.NAVIGATE) {
|
|
27274
27332
|
var _JSON$parse = JSON.parse(suggestion.subAction),
|
|
27275
27333
|
_JSON$parse$target = _JSON$parse.target,
|
|
@@ -27296,7 +27354,7 @@
|
|
|
27296
27354
|
// else Downshift probably is focusing the dropdown
|
|
27297
27355
|
// and not letting it close
|
|
27298
27356
|
// eslint-disable-next-line no-unused-expressions
|
|
27299
|
-
(_this$$refs2 = this.$refs) == null
|
|
27357
|
+
(_this$$refs2 = this.$refs) == null || (_this$$refs2 = _this$$refs2[this.$props.innerRef]) == null ? void 0 : _this$$refs2.blur();
|
|
27300
27358
|
} catch (e) {
|
|
27301
27359
|
console.error("Error: There was an error parsing the subAction for the featured suggestion with label, \"" + suggestion.label + "\"", e);
|
|
27302
27360
|
}
|
|
@@ -27583,14 +27641,14 @@
|
|
|
27583
27641
|
})]);
|
|
27584
27642
|
},
|
|
27585
27643
|
focusSearchBox: function focusSearchBox(event) {
|
|
27586
|
-
var _this$$refs3
|
|
27644
|
+
var _this$$refs3;
|
|
27587
27645
|
var elt = event.target || event.srcElement;
|
|
27588
27646
|
var tagName = elt.tagName;
|
|
27589
27647
|
if (elt.isContentEditable || tagName === 'INPUT' || tagName === 'SELECT' || tagName === 'TEXTAREA') {
|
|
27590
27648
|
// already in an input
|
|
27591
27649
|
return;
|
|
27592
27650
|
}
|
|
27593
|
-
(_this$$refs3 = this.$refs) == null
|
|
27651
|
+
(_this$$refs3 = this.$refs) == null || (_this$$refs3 = _this$$refs3[this.$props.innerRef]) == null || (_this$$refs3 = _this$$refs3.$el) == null ? void 0 : _this$$refs3.focus(); // eslint-disable-line
|
|
27594
27652
|
},
|
|
27595
27653
|
listenForFocusShortcuts: function listenForFocusShortcuts() {
|
|
27596
27654
|
var _this9 = this;
|
|
@@ -28646,9 +28704,9 @@
|
|
|
28646
28704
|
return getComponent(data, this);
|
|
28647
28705
|
},
|
|
28648
28706
|
handleTextAreaHeightChange: function handleTextAreaHeightChange() {
|
|
28649
|
-
var _this$$refs, _this$$
|
|
28650
|
-
var textArea = (_this$$refs = this.$refs) == null
|
|
28651
|
-
var inputWrapper = (_this$$refs2 = this.$refs) == null
|
|
28707
|
+
var _this$$refs, _this$$refs2, _this$$refs3;
|
|
28708
|
+
var textArea = (_this$$refs = this.$refs) == null || (_this$$refs = _this$$refs[_inputRef]) == null ? void 0 : _this$$refs.$el;
|
|
28709
|
+
var inputWrapper = (_this$$refs2 = this.$refs) == null || (_this$$refs2 = _this$$refs2[_inputWrapperRef]) == null ? void 0 : _this$$refs2.$el;
|
|
28652
28710
|
var errorContainer = (_this$$refs3 = this.$refs) == null ? void 0 : _this$$refs3[_errorContainerRef];
|
|
28653
28711
|
if (textArea) {
|
|
28654
28712
|
textArea.style.height = '42px';
|
|
@@ -38839,6 +38897,9 @@
|
|
|
38839
38897
|
*/
|
|
38840
38898
|
var MarkerUtils = /*#__PURE__*/function () {
|
|
38841
38899
|
function MarkerUtils() {}
|
|
38900
|
+
MarkerUtils.isAdvancedMarkerAvailable = function isAdvancedMarkerAvailable(map) {
|
|
38901
|
+
return google.maps.marker && map.getMapCapabilities().isAdvancedMarkersAvailable === true;
|
|
38902
|
+
};
|
|
38842
38903
|
MarkerUtils.isAdvancedMarker = function isAdvancedMarker(marker) {
|
|
38843
38904
|
return google.maps.marker && marker instanceof google.maps.marker.AdvancedMarkerElement;
|
|
38844
38905
|
};
|
|
@@ -39043,13 +39104,13 @@
|
|
|
39043
39104
|
_this4 = _AbstractAlgorithm3.call(this, {
|
|
39044
39105
|
maxZoom: maxZoom
|
|
39045
39106
|
}) || this;
|
|
39107
|
+
_this4.state = {
|
|
39108
|
+
zoom: -1
|
|
39109
|
+
};
|
|
39046
39110
|
_this4.superCluster = new Supercluster(Object.assign({
|
|
39047
39111
|
maxZoom: _this4.maxZoom,
|
|
39048
39112
|
radius: radius
|
|
39049
39113
|
}, options));
|
|
39050
|
-
_this4.state = {
|
|
39051
|
-
zoom: null
|
|
39052
|
-
};
|
|
39053
39114
|
return _this4;
|
|
39054
39115
|
}
|
|
39055
39116
|
var _proto6 = SuperClusterAlgorithm.prototype;
|
|
@@ -39207,34 +39268,23 @@
|
|
|
39207
39268
|
position = _ref12.position;
|
|
39208
39269
|
// change color if this cluster has more markers than the mean cluster
|
|
39209
39270
|
var color = count > Math.max(10, stats.clusters.markers.mean) ? "#ff0000" : "#0000ff";
|
|
39210
|
-
// create svg
|
|
39211
|
-
var svg = "<svg fill=\"" + color + "\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 240 240\">\n
|
|
39271
|
+
// create svg literal with fill color
|
|
39272
|
+
var svg = "<svg fill=\"" + color + "\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 240 240\" width=\"50\" height=\"50\">\n<circle cx=\"120\" cy=\"120\" opacity=\".6\" r=\"70\" />\n<circle cx=\"120\" cy=\"120\" opacity=\".3\" r=\"90\" />\n<circle cx=\"120\" cy=\"120\" opacity=\".2\" r=\"110\" />\n<text x=\"50%\" y=\"50%\" style=\"fill:#fff\" text-anchor=\"middle\" font-size=\"50\" dominant-baseline=\"middle\" font-family=\"roboto,arial,sans-serif\">" + count + "</text>\n</svg>";
|
|
39212
39273
|
var title = "Cluster of " + count + " markers",
|
|
39213
39274
|
// adjust zIndex to be above other markers
|
|
39214
39275
|
zIndex = Number(google.maps.Marker.MAX_ZINDEX) + count;
|
|
39215
|
-
if (
|
|
39276
|
+
if (MarkerUtils.isAdvancedMarkerAvailable(map)) {
|
|
39216
39277
|
// create cluster SVG element
|
|
39217
39278
|
var div = document.createElement("div");
|
|
39218
39279
|
div.innerHTML = svg;
|
|
39219
39280
|
var svgEl = div.firstElementChild;
|
|
39220
|
-
svgEl.setAttribute("
|
|
39221
|
-
svgEl.setAttribute("height", "50");
|
|
39222
|
-
// create and append marker label to SVG
|
|
39223
|
-
var label = document.createElementNS("http://www.w3.org/2000/svg", "text");
|
|
39224
|
-
label.setAttribute("x", "50%");
|
|
39225
|
-
label.setAttribute("y", "50%");
|
|
39226
|
-
label.setAttribute("style", "fill: #FFF");
|
|
39227
|
-
label.setAttribute("text-anchor", "middle");
|
|
39228
|
-
label.setAttribute("font-size", "50");
|
|
39229
|
-
label.setAttribute("dominant-baseline", "middle");
|
|
39230
|
-
label.appendChild(document.createTextNode("" + count));
|
|
39231
|
-
svgEl.appendChild(label);
|
|
39281
|
+
svgEl.setAttribute("transform", "translate(0 25)");
|
|
39232
39282
|
var _clusterOptions = {
|
|
39233
39283
|
map: map,
|
|
39234
39284
|
position: position,
|
|
39235
39285
|
zIndex: zIndex,
|
|
39236
39286
|
title: title,
|
|
39237
|
-
content:
|
|
39287
|
+
content: svgEl
|
|
39238
39288
|
};
|
|
39239
39289
|
return new google.maps.marker.AdvancedMarkerElement(_clusterOptions);
|
|
39240
39290
|
}
|
|
@@ -39243,13 +39293,8 @@
|
|
|
39243
39293
|
zIndex: zIndex,
|
|
39244
39294
|
title: title,
|
|
39245
39295
|
icon: {
|
|
39246
|
-
url: "data:image/svg+xml;base64," +
|
|
39247
|
-
|
|
39248
|
-
},
|
|
39249
|
-
label: {
|
|
39250
|
-
text: String(count),
|
|
39251
|
-
color: "rgba(255,255,255,0.9)",
|
|
39252
|
-
fontSize: "12px"
|
|
39296
|
+
url: "data:image/svg+xml;base64," + btoa(svg),
|
|
39297
|
+
anchor: new google.maps.Point(25, 25)
|
|
39253
39298
|
}
|
|
39254
39299
|
};
|
|
39255
39300
|
return new google.maps.Marker(clusterOptions);
|
|
@@ -43700,7 +43745,7 @@
|
|
|
43700
43745
|
}, queryString, renderFunction);
|
|
43701
43746
|
}
|
|
43702
43747
|
|
|
43703
|
-
var version = "3.0.0-rc.
|
|
43748
|
+
var version = "3.0.0-rc.16";
|
|
43704
43749
|
|
|
43705
43750
|
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];
|
|
43706
43751
|
function install$1 (Vue) {
|