@appbaseio/reactivesearch-vue 1.34.1 → 1.35.1

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.
Files changed (59) hide show
  1. package/dist/@appbaseio/reactivesearch-vue.umd.js +397 -364
  2. package/dist/@appbaseio/reactivesearch-vue.umd.js.map +1 -1
  3. package/dist/@appbaseio/reactivesearch-vue.umd.min.js +6 -6
  4. package/dist/@appbaseio/reactivesearch-vue.umd.min.js.map +1 -1
  5. package/dist/cjs/DataSearch.js +5 -4
  6. package/dist/cjs/{DropDown-7a52c661.js → DropDown-c6b79b05.js} +1 -1
  7. package/dist/cjs/DynamicRangeSlider.js +2 -1
  8. package/dist/cjs/MultiDropdownList.js +3 -2
  9. package/dist/cjs/MultiList.js +2 -1
  10. package/dist/cjs/MultiRange.js +2 -1
  11. package/dist/cjs/{Pagination-e56a5b79.js → Pagination-6d184d4a.js} +1 -1
  12. package/dist/cjs/RangeInput.js +2 -1
  13. package/dist/cjs/RangeSlider.js +2 -1
  14. package/dist/cjs/ReactiveBase.js +1 -1
  15. package/dist/cjs/ReactiveComponent.js +16 -5
  16. package/dist/cjs/{ReactiveComponentPrivate-244c6055.js → ReactiveComponentPrivate-58fb2a97.js} +5 -4
  17. package/dist/cjs/ReactiveComponentPrivate.js +5 -5
  18. package/dist/cjs/ReactiveGoogleMap.js +5 -2
  19. package/dist/cjs/ReactiveList.js +3 -2
  20. package/dist/cjs/ResultCard.js +1 -1
  21. package/dist/cjs/ResultList.js +1 -1
  22. package/dist/cjs/SelectedFilters.js +1 -1
  23. package/dist/cjs/SingleDropdownList.js +3 -2
  24. package/dist/cjs/SingleList.js +2 -1
  25. package/dist/cjs/SingleRange.js +2 -1
  26. package/dist/cjs/{Tags-4ec43831.js → Tags-d464c22e.js} +1 -1
  27. package/dist/cjs/ToggleButton.js +2 -1
  28. package/dist/cjs/index.js +5 -5
  29. package/dist/cjs/install.js +5 -5
  30. package/dist/cjs/version.js +1 -1
  31. package/dist/cjs/{vueTypes-b7007f5f.js → vueTypes-568ce5e6.js} +1 -0
  32. package/dist/es/DataSearch.js +5 -4
  33. package/dist/es/{DropDown-2c0dd714.js → DropDown-c685912c.js} +1 -1
  34. package/dist/es/DynamicRangeSlider.js +2 -1
  35. package/dist/es/MultiDropdownList.js +3 -2
  36. package/dist/es/MultiList.js +2 -1
  37. package/dist/es/MultiRange.js +2 -1
  38. package/dist/es/{Pagination-edeb7dbe.js → Pagination-f477f92f.js} +1 -1
  39. package/dist/es/RangeInput.js +2 -1
  40. package/dist/es/RangeSlider.js +2 -1
  41. package/dist/es/ReactiveBase.js +1 -1
  42. package/dist/es/ReactiveComponent.js +16 -5
  43. package/dist/es/{ReactiveComponentPrivate-6f16e1b7.js → ReactiveComponentPrivate-ce4fdbbd.js} +5 -4
  44. package/dist/es/ReactiveComponentPrivate.js +5 -5
  45. package/dist/es/ReactiveGoogleMap.js +5 -2
  46. package/dist/es/ReactiveList.js +3 -2
  47. package/dist/es/ResultCard.js +1 -1
  48. package/dist/es/ResultList.js +1 -1
  49. package/dist/es/SelectedFilters.js +1 -1
  50. package/dist/es/SingleDropdownList.js +3 -2
  51. package/dist/es/SingleList.js +2 -1
  52. package/dist/es/SingleRange.js +2 -1
  53. package/dist/es/{Tags-1c2d6c4d.js → Tags-ebf363ec.js} +1 -1
  54. package/dist/es/ToggleButton.js +2 -1
  55. package/dist/es/index.js +5 -5
  56. package/dist/es/install.js +5 -5
  57. package/dist/es/version.js +1 -1
  58. package/dist/es/{vueTypes-66ebc93e.js → vueTypes-7f572665.js} +1 -0
  59. package/package.json +87 -87
@@ -16,7 +16,34 @@
16
16
  return module = { exports: {} }, fn(module, module.exports), module.exports;
17
17
  }
18
18
 
19
+ function _typeof(obj) {
20
+ "@babel/helpers - typeof";
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);
27
+ }
28
+
29
+ function _toPrimitive(input, hint) {
30
+ if (_typeof(input) !== "object" || input === null) return input;
31
+ var prim = input[Symbol.toPrimitive];
32
+ if (prim !== undefined) {
33
+ var res = prim.call(input, hint || "default");
34
+ if (_typeof(res) !== "object") return res;
35
+ throw new TypeError("@@toPrimitive must return a primitive value.");
36
+ }
37
+ return (hint === "string" ? String : Number)(input);
38
+ }
39
+
40
+ function _toPropertyKey(arg) {
41
+ var key = _toPrimitive(arg, "string");
42
+ return _typeof(key) === "symbol" ? key : String(key);
43
+ }
44
+
19
45
  function _defineProperty(obj, key, value) {
46
+ key = _toPropertyKey(key);
20
47
  if (key in obj) {
21
48
  Object.defineProperty(obj, key, {
22
49
  value: value,
@@ -664,16 +691,6 @@
664
691
  };
665
692
  }
666
693
 
667
- /*
668
- * This is a dummy function to check if the function name has been altered by minification.
669
- * If the function has been minified and NODE_ENV !== 'production', warn the user.
670
- */
671
-
672
- function isCrushed() {}
673
- if ( typeof isCrushed.name === 'string' && isCrushed.name !== 'isCrushed') {
674
- warning('You are currently using minified code outside of NODE_ENV === "production". ' + 'This means that you are running a slower development build of Redux. ' + 'You can use loose-envify (https://github.com/zertosh/loose-envify) for browserify ' + 'or setting mode to production in webpack (https://webpack.js.org/concepts/mode/) ' + 'to ensure you have the correct code for your production build.');
675
- }
676
-
677
694
  var redux = /*#__PURE__*/Object.freeze({
678
695
  __proto__: null,
679
696
  __DO_NOT_USE__ActionTypes: ActionTypes,
@@ -5561,9 +5578,9 @@
5561
5578
  u = "hour",
5562
5579
  a = "day",
5563
5580
  o = "week",
5564
- f = "month",
5565
- h = "quarter",
5566
- c = "year",
5581
+ c = "month",
5582
+ f = "quarter",
5583
+ h = "year",
5567
5584
  d = "date",
5568
5585
  l = "Invalid Date",
5569
5586
  $ = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,
@@ -5594,9 +5611,9 @@
5594
5611
  m: function t(e, n) {
5595
5612
  if (e.date() < n.date()) return -t(n, e);
5596
5613
  var r = 12 * (n.year() - e.year()) + (n.month() - e.month()),
5597
- i = e.clone().add(r, f),
5614
+ i = e.clone().add(r, c),
5598
5615
  s = n - i < 0,
5599
- u = e.clone().add(r + (s ? -1 : 1), f);
5616
+ u = e.clone().add(r + (s ? -1 : 1), c);
5600
5617
  return +(-(r + (n - i) / (s ? i - u : u - i)) || 0);
5601
5618
  },
5602
5619
  a: function a(t) {
@@ -5604,8 +5621,8 @@
5604
5621
  },
5605
5622
  p: function p(t) {
5606
5623
  return {
5607
- M: f,
5608
- y: c,
5624
+ M: c,
5625
+ y: h,
5609
5626
  w: o,
5610
5627
  d: a,
5611
5628
  D: d,
@@ -5613,7 +5630,7 @@
5613
5630
  m: s,
5614
5631
  s: i,
5615
5632
  ms: r,
5616
- Q: h
5633
+ Q: f
5617
5634
  }[t] || String(t || "").toLowerCase().replace(/s$/, "");
5618
5635
  },
5619
5636
  u: function u(t) {
@@ -5624,7 +5641,7 @@
5624
5641
  D = {};
5625
5642
  D[g] = M;
5626
5643
  var p = function p(t) {
5627
- return t instanceof _;
5644
+ return t instanceof b;
5628
5645
  },
5629
5646
  S = function t(e, n, r) {
5630
5647
  var i;
@@ -5643,7 +5660,7 @@
5643
5660
  w = function w(t, e) {
5644
5661
  if (p(t)) return t.clone();
5645
5662
  var n = "object" == typeof e ? e : {};
5646
- return n.date = t, n.args = arguments, new _(n);
5663
+ return n.date = t, n.args = arguments, new b(n);
5647
5664
  },
5648
5665
  O = v;
5649
5666
  O.l = S, O.i = p, O.w = function (t, e) {
@@ -5654,7 +5671,7 @@
5654
5671
  $offset: e.$offset
5655
5672
  });
5656
5673
  };
5657
- var _ = function () {
5674
+ var b = function () {
5658
5675
  function M(t) {
5659
5676
  this.$L = S(t.locale, null, !0), this.parse(t);
5660
5677
  }
@@ -5699,7 +5716,7 @@
5699
5716
  }, m.startOf = function (t, e) {
5700
5717
  var n = this,
5701
5718
  r = !!O.u(e) || e,
5702
- h = O.p(t),
5719
+ f = O.p(t),
5703
5720
  l = function l(t, e) {
5704
5721
  var i = O.w(n.$u ? Date.UTC(n.$y, e, t) : new Date(n.$y, e, t), n);
5705
5722
  return r ? i : i.endOf(a);
@@ -5711,10 +5728,10 @@
5711
5728
  M = this.$M,
5712
5729
  m = this.$D,
5713
5730
  v = "set" + (this.$u ? "UTC" : "");
5714
- switch (h) {
5715
- case c:
5731
+ switch (f) {
5732
+ case h:
5716
5733
  return r ? l(1, 0) : l(31, 11);
5717
- case f:
5734
+ case c:
5718
5735
  return r ? l(1, M) : l(0, M + 1);
5719
5736
  case o:
5720
5737
  var g = this.$locale().weekStart || 0,
@@ -5737,10 +5754,10 @@
5737
5754
  }, m.$set = function (t, e) {
5738
5755
  var n,
5739
5756
  o = O.p(t),
5740
- h = "set" + (this.$u ? "UTC" : ""),
5741
- l = (n = {}, n[a] = h + "Date", n[d] = h + "Date", n[f] = h + "Month", n[c] = h + "FullYear", n[u] = h + "Hours", n[s] = h + "Minutes", n[i] = h + "Seconds", n[r] = h + "Milliseconds", n)[o],
5757
+ f = "set" + (this.$u ? "UTC" : ""),
5758
+ 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],
5742
5759
  $ = o === a ? this.$D + (e - this.$W) : e;
5743
- if (o === f || o === c) {
5760
+ if (o === c || o === h) {
5744
5761
  var y = this.clone().set(d, 1);
5745
5762
  y.$d[l]($), y.init(), this.$d = y.set(d, Math.min(this.$D, y.daysInMonth())).$d;
5746
5763
  } else l && this.$d[l]($);
@@ -5749,17 +5766,17 @@
5749
5766
  return this.clone().$set(t, e);
5750
5767
  }, m.get = function (t) {
5751
5768
  return this[O.p(t)]();
5752
- }, m.add = function (r, h) {
5769
+ }, m.add = function (r, f) {
5753
5770
  var d,
5754
5771
  l = this;
5755
5772
  r = Number(r);
5756
- var $ = O.p(h),
5773
+ var $ = O.p(f),
5757
5774
  y = function y(t) {
5758
5775
  var e = w(l);
5759
5776
  return O.w(e.date(e.date() + Math.round(t * r)), l);
5760
5777
  };
5761
- if ($ === f) return this.set(f, this.$M + r);
5762
- if ($ === c) return this.set(c, this.$y + r);
5778
+ if ($ === c) return this.set(c, this.$M + r);
5779
+ if ($ === h) return this.set(h, this.$y + r);
5763
5780
  if ($ === a) return y(1);
5764
5781
  if ($ === o) return y(7);
5765
5782
  var M = (d = {}, d[s] = e, d[u] = n, d[i] = t, d)[$] || 1,
@@ -5777,58 +5794,116 @@
5777
5794
  u = this.$m,
5778
5795
  a = this.$M,
5779
5796
  o = n.weekdays,
5780
- f = n.months,
5797
+ c = n.months,
5798
+ f = n.meridiem,
5781
5799
  h = function h(t, n, i, s) {
5782
5800
  return t && (t[n] || t(e, r)) || i[n].slice(0, s);
5783
5801
  },
5784
- c = function c(t) {
5802
+ d = function d(t) {
5785
5803
  return O.s(s % 12 || 12, t, "0");
5786
5804
  },
5787
- d = n.meridiem || function (t, e, n) {
5805
+ $ = f || function (t, e, n) {
5788
5806
  var r = t < 12 ? "AM" : "PM";
5789
5807
  return n ? r.toLowerCase() : r;
5790
- },
5791
- $ = {
5792
- YY: String(this.$y).slice(-2),
5793
- YYYY: this.$y,
5794
- M: a + 1,
5795
- MM: O.s(a + 1, 2, "0"),
5796
- MMM: h(n.monthsShort, a, f, 3),
5797
- MMMM: h(f, a),
5798
- D: this.$D,
5799
- DD: O.s(this.$D, 2, "0"),
5800
- d: String(this.$W),
5801
- dd: h(n.weekdaysMin, this.$W, o, 2),
5802
- ddd: h(n.weekdaysShort, this.$W, o, 3),
5803
- dddd: o[this.$W],
5804
- H: String(s),
5805
- HH: O.s(s, 2, "0"),
5806
- h: c(1),
5807
- hh: c(2),
5808
- a: d(s, u, !0),
5809
- A: d(s, u, !1),
5810
- m: String(u),
5811
- mm: O.s(u, 2, "0"),
5812
- s: String(this.$s),
5813
- ss: O.s(this.$s, 2, "0"),
5814
- SSS: O.s(this.$ms, 3, "0"),
5815
- Z: i
5816
5808
  };
5817
- return r.replace(y, function (t, e) {
5818
- return e || $[t] || i.replace(":", "");
5809
+ return r.replace(y, function (t, r) {
5810
+ return r || function (t) {
5811
+ switch (t) {
5812
+ case "YY":
5813
+ return String(e.$y).slice(-2);
5814
+ case "YYYY":
5815
+ return O.s(e.$y, 4, "0");
5816
+ case "M":
5817
+ return a + 1;
5818
+ case "MM":
5819
+ return O.s(a + 1, 2, "0");
5820
+ case "MMM":
5821
+ return h(n.monthsShort, a, c, 3);
5822
+ case "MMMM":
5823
+ return h(c, a);
5824
+ case "D":
5825
+ return e.$D;
5826
+ case "DD":
5827
+ return O.s(e.$D, 2, "0");
5828
+ case "d":
5829
+ return String(e.$W);
5830
+ case "dd":
5831
+ return h(n.weekdaysMin, e.$W, o, 2);
5832
+ case "ddd":
5833
+ return h(n.weekdaysShort, e.$W, o, 3);
5834
+ case "dddd":
5835
+ return o[e.$W];
5836
+ case "H":
5837
+ return String(s);
5838
+ case "HH":
5839
+ return O.s(s, 2, "0");
5840
+ case "h":
5841
+ return d(1);
5842
+ case "hh":
5843
+ return d(2);
5844
+ case "a":
5845
+ return $(s, u, !0);
5846
+ case "A":
5847
+ return $(s, u, !1);
5848
+ case "m":
5849
+ return String(u);
5850
+ case "mm":
5851
+ return O.s(u, 2, "0");
5852
+ case "s":
5853
+ return String(e.$s);
5854
+ case "ss":
5855
+ return O.s(e.$s, 2, "0");
5856
+ case "SSS":
5857
+ return O.s(e.$ms, 3, "0");
5858
+ case "Z":
5859
+ return i;
5860
+ }
5861
+ return null;
5862
+ }(t) || i.replace(":", "");
5819
5863
  });
5820
5864
  }, m.utcOffset = function () {
5821
5865
  return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
5822
5866
  }, m.diff = function (r, d, l) {
5823
5867
  var $,
5824
- y = O.p(d),
5825
- M = w(r),
5826
- m = (M.utcOffset() - this.utcOffset()) * e,
5827
- v = this - M,
5828
- g = O.m(this, M);
5829
- return g = ($ = {}, $[c] = g / 12, $[f] = g, $[h] = g / 3, $[o] = (v - m) / 6048e5, $[a] = (v - m) / 864e5, $[u] = v / n, $[s] = v / e, $[i] = v / t, $)[y] || v, l ? g : O.a(g);
5868
+ y = this,
5869
+ M = O.p(d),
5870
+ m = w(r),
5871
+ v = (m.utcOffset() - this.utcOffset()) * e,
5872
+ g = this - m,
5873
+ D = function D() {
5874
+ return O.m(y, m);
5875
+ };
5876
+ switch (M) {
5877
+ case h:
5878
+ $ = D() / 12;
5879
+ break;
5880
+ case c:
5881
+ $ = D();
5882
+ break;
5883
+ case f:
5884
+ $ = D() / 3;
5885
+ break;
5886
+ case o:
5887
+ $ = (g - v) / 6048e5;
5888
+ break;
5889
+ case a:
5890
+ $ = (g - v) / 864e5;
5891
+ break;
5892
+ case u:
5893
+ $ = g / n;
5894
+ break;
5895
+ case s:
5896
+ $ = g / e;
5897
+ break;
5898
+ case i:
5899
+ $ = g / t;
5900
+ break;
5901
+ default:
5902
+ $ = g;
5903
+ }
5904
+ return l ? $ : O.a($);
5830
5905
  }, m.daysInMonth = function () {
5831
- return this.endOf(f).$D;
5906
+ return this.endOf(c).$D;
5832
5907
  }, m.$locale = function () {
5833
5908
  return D[this.$L];
5834
5909
  }, m.locale = function (t, e) {
@@ -5848,13 +5923,13 @@
5848
5923
  return this.$d.toUTCString();
5849
5924
  }, M;
5850
5925
  }(),
5851
- T = _.prototype;
5852
- return w.prototype = T, [["$ms", r], ["$s", i], ["$m", s], ["$H", u], ["$W", a], ["$M", f], ["$y", c], ["$D", d]].forEach(function (t) {
5853
- T[t[1]] = function (e) {
5926
+ _ = b.prototype;
5927
+ return w.prototype = _, [["$ms", r], ["$s", i], ["$m", s], ["$H", u], ["$W", a], ["$M", c], ["$y", h], ["$D", d]].forEach(function (t) {
5928
+ _[t[1]] = function (e) {
5854
5929
  return this.$g(e, t[0], t[1]);
5855
5930
  };
5856
5931
  }), w.extend = function (t, e) {
5857
- return t.$i || (t(e, _, w), t.$i = !0), w;
5932
+ return t.$i || (t(e, b, w), t.$i = !0), w;
5858
5933
  }, w.locale = S, w.isDayjs = p, w.unix = function (t) {
5859
5934
  return w(1e3 * t);
5860
5935
  }, w.en = D[g], w.Ls = D, w.p = {}, w;
@@ -9547,7 +9622,7 @@
9547
9622
  descriptor.enumerable = descriptor.enumerable || false;
9548
9623
  descriptor.configurable = true;
9549
9624
  if ("value" in descriptor) descriptor.writable = true;
9550
- Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor);
9625
+ Object.defineProperty(target, _toPropertyKey$1(descriptor.key), descriptor);
9551
9626
  }
9552
9627
  }
9553
9628
  function _createClass(Constructor, protoProps, staticProps) {
@@ -9634,7 +9709,7 @@
9634
9709
  }
9635
9710
  throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
9636
9711
  }
9637
- function _toPrimitive(input, hint) {
9712
+ function _toPrimitive$1(input, hint) {
9638
9713
  if (typeof input !== "object" || input === null) return input;
9639
9714
  var prim = input[Symbol.toPrimitive];
9640
9715
  if (prim !== undefined) {
@@ -9644,8 +9719,8 @@
9644
9719
  }
9645
9720
  return (hint === "string" ? String : Number)(input);
9646
9721
  }
9647
- function _toPropertyKey(arg) {
9648
- var key = _toPrimitive(arg, "string");
9722
+ function _toPropertyKey$1(arg) {
9723
+ var key = _toPrimitive$1(arg, "string");
9649
9724
  return typeof key === "symbol" ? key : String(key);
9650
9725
  }
9651
9726
 
@@ -11360,23 +11435,23 @@
11360
11435
  /* eslint-disable */
11361
11436
  var STYLES_KEY = '__emotion_styles';
11362
11437
 
11363
- function _typeof(obj) {
11438
+ function _typeof$1(obj) {
11364
11439
  if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
11365
- _typeof = function _typeof(obj) {
11440
+ _typeof$1 = function _typeof(obj) {
11366
11441
  return typeof obj;
11367
11442
  };
11368
11443
  } else {
11369
- _typeof = function _typeof(obj) {
11444
+ _typeof$1 = function _typeof(obj) {
11370
11445
  return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
11371
11446
  };
11372
11447
  }
11373
- return _typeof(obj);
11448
+ return _typeof$1(obj);
11374
11449
  }
11375
11450
  function stringifyClass(klass) {
11376
11451
  if (Array.isArray(klass)) {
11377
11452
  return klass.join(' ');
11378
11453
  }
11379
- if (_typeof(klass) === 'object') {
11454
+ if (_typeof$1(klass) === 'object') {
11380
11455
  return Object.keys(klass).filter(function (key) {
11381
11456
  return Boolean(klass[key]);
11382
11457
  }).join(' ');
@@ -12278,6 +12353,7 @@
12278
12353
  boolRequired: VueTypes.bool.isRequired,
12279
12354
  components: VueTypes.arrayOf(VueTypes.string),
12280
12355
  children: VueTypes.any,
12356
+ compoundClause: VueTypes.oneOf(['filter', 'must']),
12281
12357
  data: VueTypes.arrayOf(VueTypes.object),
12282
12358
  dataFieldArray: VueTypes.oneOfType([VueTypes.string, VueTypes.arrayOf(VueTypes.string)]).isRequired,
12283
12359
  dataNumberBox: VueTypes.shape({
@@ -13129,11 +13205,7 @@
13129
13205
 
13130
13206
  function _extends$2() {
13131
13207
  return _extends$2 = Object.assign ? Object.assign.bind() : function (a) {
13132
- for (var b, c = 1; c < arguments.length; c++) {
13133
- for (var d in b = arguments[c], b) {
13134
- Object.prototype.hasOwnProperty.call(b, d) && (a[d] = b[d]);
13135
- }
13136
- }
13208
+ for (var b, c = 1; c < arguments.length; c++) for (var d in b = arguments[c], b) Object.prototype.hasOwnProperty.call(b, d) && (a[d] = b[d]);
13137
13209
  return a;
13138
13210
  }, _extends$2.apply(this, arguments);
13139
13211
  }
@@ -13142,23 +13214,17 @@
13142
13214
  functionalMerge = ["on", "nativeOn"],
13143
13215
  mergeJsxProps = function mergeJsxProps(a) {
13144
13216
  return a.reduce(function (c, a) {
13145
- for (var b in a) {
13146
- if (!c[b]) c[b] = a[b];else if (-1 !== normalMerge.indexOf(b)) c[b] = _extends$2({}, c[b], a[b]);else if (-1 !== toArrayMerge.indexOf(b)) {
13147
- var d = c[b] instanceof Array ? c[b] : [c[b]],
13148
- e = a[b] instanceof Array ? a[b] : [a[b]];
13149
- c[b] = [].concat(d, e);
13150
- } else if (-1 !== functionalMerge.indexOf(b)) {
13151
- for (var f in a[b]) {
13152
- if (c[b][f]) {
13153
- var g = c[b][f] instanceof Array ? c[b][f] : [c[b][f]],
13154
- h = a[b][f] instanceof Array ? a[b][f] : [a[b][f]];
13155
- c[b][f] = [].concat(g, h);
13156
- } else c[b][f] = a[b][f];
13157
- }
13158
- } else if ("hook" === b) for (var i in a[b]) {
13159
- c[b][i] = c[b][i] ? mergeFn(c[b][i], a[b][i]) : a[b][i];
13160
- } else c[b] = a[b];
13161
- }
13217
+ for (var b in a) if (!c[b]) c[b] = a[b];else if (-1 !== normalMerge.indexOf(b)) c[b] = _extends$2({}, c[b], a[b]);else if (-1 !== toArrayMerge.indexOf(b)) {
13218
+ var d = c[b] instanceof Array ? c[b] : [c[b]],
13219
+ e = a[b] instanceof Array ? a[b] : [a[b]];
13220
+ c[b] = [].concat(d, e);
13221
+ } else if (-1 !== functionalMerge.indexOf(b)) {
13222
+ for (var f in a[b]) if (c[b][f]) {
13223
+ var g = c[b][f] instanceof Array ? c[b][f] : [c[b][f]],
13224
+ h = a[b][f] instanceof Array ? a[b][f] : [a[b][f]];
13225
+ c[b][f] = [].concat(g, h);
13226
+ } else c[b][f] = a[b][f];
13227
+ } else if ("hook" === b) for (var i in a[b]) c[b][i] = c[b][i] ? mergeFn(c[b][i], a[b][i]) : a[b][i];else c[b] = a[b];
13162
13228
  return c;
13163
13229
  }, {});
13164
13230
  },
@@ -13542,6 +13608,7 @@
13542
13608
  // component props
13543
13609
  className: types.string,
13544
13610
  componentId: types.stringRequired,
13611
+ compoundClause: types.compoundClause,
13545
13612
  dataField: types.stringRequired,
13546
13613
  aggregationField: types.string,
13547
13614
  aggregationSize: VueTypes.number,
@@ -14305,7 +14372,7 @@
14305
14372
  var querystring_3 = querystring.encode;
14306
14373
  var querystring_4 = querystring.stringify;
14307
14374
 
14308
- var _typeof$1 = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) {
14375
+ var _typeof$2 = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) {
14309
14376
  return typeof obj;
14310
14377
  } : function (obj) {
14311
14378
  return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
@@ -14365,7 +14432,7 @@
14365
14432
  var matchedType = types.find(function (type) {
14366
14433
  return (
14367
14434
  // eslint-disable-next-line
14368
- _typeof$1(object[key]) === type
14435
+ _typeof$2(object[key]) === type
14369
14436
  );
14370
14437
  });
14371
14438
  if (!matchedType || object[key] === emptyFor[matchedType]) {
@@ -14449,13 +14516,13 @@
14449
14516
  };
14450
14517
  var checkDataType = function checkDataType(temp) {
14451
14518
  // eslint-disable-next-line
14452
- if ((typeof temp === 'undefined' ? 'undefined' : _typeof$1(temp)) === dataTypes.OBJECT) {
14519
+ if ((typeof temp === 'undefined' ? 'undefined' : _typeof$2(temp)) === dataTypes.OBJECT) {
14453
14520
  if (Array.isArray(temp)) {
14454
14521
  return dataTypes.ARRAY;
14455
14522
  }
14456
14523
  return dataTypes.OBJECT;
14457
14524
  }
14458
- return typeof temp === 'undefined' ? 'undefined' : _typeof$1(temp);
14525
+ return typeof temp === 'undefined' ? 'undefined' : _typeof$2(temp);
14459
14526
  };
14460
14527
  function validateSchema() {
14461
14528
  var passedProperties = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
@@ -15433,6 +15500,22 @@
15433
15500
 
15434
15501
  metrics.getQueryID = function () {
15435
15502
  return metrics.queryID;
15503
+ }; // Save session's usefulness
15504
+
15505
+ metrics.saveSessionUsefulness = function (aiSessionId, usefulnessConfig, callback) {
15506
+ if (typeof aiSessionId !== 'string' || aiSessionId === '') {
15507
+ throw new Error('appbase-analytics: AISessionId is required');
15508
+ }
15509
+ if (typeof usefulnessConfig.useful !== 'boolean') {
15510
+ throw new Error('appbase-analytics: useful property is required and must be a boolean');
15511
+ }
15512
+ var requestBody = {
15513
+ useful: usefulnessConfig.useful,
15514
+ reason: usefulnessConfig.reason,
15515
+ user_id: usefulnessConfig.userID,
15516
+ meta: usefulnessConfig.meta
15517
+ };
15518
+ metrics._request('PUT', "_ai/" + aiSessionId + "/analytics", requestBody, null, callback);
15436
15519
  };
15437
15520
  return metrics;
15438
15521
  }
@@ -16303,16 +16386,17 @@
16303
16386
  };
16304
16387
 
16305
16388
  /**!
16306
- * hotkeys-js v3.10.1
16389
+ * hotkeys-js v3.11.2
16307
16390
  * A simple micro-library for defining and dispatching keyboard shortcuts. It has no dependencies.
16308
16391
  *
16309
- * Copyright (c) 2022 kenny wong <wowohoo@qq.com>
16310
- * http://jaywcjlove.github.io/hotkeys
16392
+ * Copyright (c) 2023 kenny wong <wowohoo@qq.com>
16393
+ * https://jaywcjlove.github.io/hotkeys-js
16311
16394
  * Licensed under the MIT license
16312
16395
  */
16313
16396
 
16314
- var isff = typeof navigator !== 'undefined' ? navigator.userAgent.toLowerCase().indexOf('firefox') > 0 : false; // 绑定事件
16397
+ var isff = typeof navigator !== 'undefined' ? navigator.userAgent.toLowerCase().indexOf('firefox') > 0 : false;
16315
16398
 
16399
+ // 绑定事件
16316
16400
  function addEvent(object, event, method, useCapture) {
16317
16401
  if (object.addEventListener) {
16318
16402
  object.addEventListener(event, method, useCapture);
@@ -16321,32 +16405,32 @@
16321
16405
  method(window.event);
16322
16406
  });
16323
16407
  }
16324
- } // 修饰键转换成对应的键码
16408
+ }
16325
16409
 
16410
+ // 修饰键转换成对应的键码
16326
16411
  function getMods(modifier, key) {
16327
16412
  var mods = key.slice(0, key.length - 1);
16328
- for (var i = 0; i < mods.length; i++) {
16329
- mods[i] = modifier[mods[i].toLowerCase()];
16330
- }
16413
+ for (var i = 0; i < mods.length; i++) mods[i] = modifier[mods[i].toLowerCase()];
16331
16414
  return mods;
16332
- } // 处理传的key字符串转换成数组
16415
+ }
16333
16416
 
16417
+ // 处理传的key字符串转换成数组
16334
16418
  function getKeys(key) {
16335
16419
  if (typeof key !== 'string') key = '';
16336
16420
  key = key.replace(/\s/g, ''); // 匹配任何空白字符,包括空格、制表符、换页符等等
16337
-
16338
16421
  var keys = key.split(','); // 同时设置多个快捷键,以','分割
16422
+ var index = keys.lastIndexOf('');
16339
16423
 
16340
- var index = keys.lastIndexOf(''); // 快捷键可能包含',',需特殊处理
16341
-
16424
+ // 快捷键可能包含',',需特殊处理
16342
16425
  for (; index >= 0;) {
16343
16426
  keys[index - 1] += ',';
16344
16427
  keys.splice(index, 1);
16345
16428
  index = keys.lastIndexOf('');
16346
16429
  }
16347
16430
  return keys;
16348
- } // 比较修饰键的数组
16431
+ }
16349
16432
 
16433
+ // 比较修饰键的数组
16350
16434
  function compareArray(a1, a2) {
16351
16435
  var arr1 = a1.length >= a2.length ? a1 : a2;
16352
16436
  var arr2 = a1.length >= a2.length ? a2 : a1;
@@ -16356,6 +16440,8 @@
16356
16440
  }
16357
16441
  return isIndex;
16358
16442
  }
16443
+
16444
+ // Special Keys
16359
16445
  var _keyMap = {
16360
16446
  backspace: 8,
16361
16447
  '⌫': 8,
@@ -16408,8 +16494,9 @@
16408
16494
  '[': 219,
16409
16495
  ']': 221,
16410
16496
  '\\': 220
16411
- }; // Modifier Keys
16497
+ };
16412
16498
 
16499
+ // Modifier Keys
16413
16500
  var _modifier = {
16414
16501
  // shiftKey
16415
16502
  '⇧': 16,
@@ -16443,20 +16530,18 @@
16443
16530
  17: false,
16444
16531
  91: false
16445
16532
  };
16446
- var _handlers = {}; // F1~F12 special key
16533
+ var _handlers = {};
16447
16534
 
16535
+ // F1~F12 special key
16448
16536
  for (var k = 1; k < 20; k++) {
16449
16537
  _keyMap["f".concat(k)] = 111 + k;
16450
16538
  }
16451
16539
  var _downKeys = []; // 记录摁下的绑定键
16452
-
16453
16540
  var winListendFocus = false; // window是否已经监听了focus事件
16454
-
16455
16541
  var _scope = 'all'; // 默认热键范围
16456
-
16457
16542
  var elementHasBindEvent = []; // 已绑定事件的节点记录
16458
- // 返回键码
16459
16543
 
16544
+ // 返回键码
16460
16545
  var code = function code(x) {
16461
16546
  return _keyMap[x.toLowerCase()] || _modifier[x.toLowerCase()] || x.toUpperCase().charCodeAt(0);
16462
16547
  };
@@ -16469,16 +16554,17 @@
16469
16554
  return Object.keys(_modifier).find(function (k) {
16470
16555
  return _modifier[k] === x;
16471
16556
  });
16472
- }; // 设置获取当前范围(默认为'所有')
16557
+ };
16473
16558
 
16559
+ // 设置获取当前范围(默认为'所有')
16474
16560
  function setScope(scope) {
16475
16561
  _scope = scope || 'all';
16476
- } // 获取当前范围
16477
-
16562
+ }
16563
+ // 获取当前范围
16478
16564
  function getScope() {
16479
16565
  return _scope || 'all';
16480
- } // 获取摁下绑定键的键值
16481
-
16566
+ }
16567
+ // 获取摁下绑定键的键值
16482
16568
  function getPressedKeyCodes() {
16483
16569
  return _downKeys.slice(0);
16484
16570
  }
@@ -16486,32 +16572,36 @@
16486
16572
  return _downKeys.map(function (c) {
16487
16573
  return getKey(c) || getModifier(c) || String.fromCharCode(c);
16488
16574
  });
16489
- } // 表单控件控件判断 返回 Boolean
16490
- // hotkey is effective only when filter return true
16575
+ }
16491
16576
 
16577
+ // 表单控件控件判断 返回 Boolean
16578
+ // hotkey is effective only when filter return true
16492
16579
  function filter(event) {
16493
16580
  var target = event.target || event.srcElement;
16494
16581
  var tagName = target.tagName;
16495
- var flag = true; // ignore: isContentEditable === 'true', <input> and <textarea> when readOnly state is false, <select>
16496
-
16582
+ var flag = true;
16583
+ // ignore: isContentEditable === 'true', <input> and <textarea> when readOnly state is false, <select>
16497
16584
  if (target.isContentEditable || (tagName === 'INPUT' || tagName === 'TEXTAREA' || tagName === 'SELECT') && !target.readOnly) {
16498
16585
  flag = false;
16499
16586
  }
16500
16587
  return flag;
16501
- } // 判断摁下的键是否为某个键,返回true或者false
16588
+ }
16502
16589
 
16590
+ // 判断摁下的键是否为某个键,返回true或者false
16503
16591
  function isPressed(keyCode) {
16504
16592
  if (typeof keyCode === 'string') {
16505
16593
  keyCode = code(keyCode); // 转换成键码
16506
16594
  }
16507
16595
 
16508
16596
  return _downKeys.indexOf(keyCode) !== -1;
16509
- } // 循环删除handlers中的所有 scope(范围)
16597
+ }
16510
16598
 
16599
+ // 循环删除handlers中的所有 scope(范围)
16511
16600
  function deleteScope(scope, newScope) {
16512
16601
  var handlers;
16513
- var i; // 没有指定scope,获取scope
16602
+ var i;
16514
16603
 
16604
+ // 没有指定scope,获取scope
16515
16605
  if (!scope) scope = getScope();
16516
16606
  for (var key in _handlers) {
16517
16607
  if (Object.prototype.hasOwnProperty.call(_handlers, key)) {
@@ -16520,30 +16610,33 @@
16520
16610
  if (handlers[i].scope === scope) handlers.splice(i, 1);else i++;
16521
16611
  }
16522
16612
  }
16523
- } // 如果scope被删除,将scope重置为all
16613
+ }
16524
16614
 
16615
+ // 如果scope被删除,将scope重置为all
16525
16616
  if (getScope() === scope) setScope(newScope || 'all');
16526
- } // 清除修饰键
16617
+ }
16527
16618
 
16619
+ // 清除修饰键
16528
16620
  function clearModifier(event) {
16529
16621
  var key = event.keyCode || event.which || event.charCode;
16530
- var i = _downKeys.indexOf(key); // 从列表中清除按压过的键
16622
+ var i = _downKeys.indexOf(key);
16531
16623
 
16624
+ // 从列表中清除按压过的键
16532
16625
  if (i >= 0) {
16533
16626
  _downKeys.splice(i, 1);
16534
- } // 特殊处理 cmmand 键,在 cmmand 组合快捷键 keyup 只执行一次的问题
16535
-
16627
+ }
16628
+ // 特殊处理 cmmand 键,在 cmmand 组合快捷键 keyup 只执行一次的问题
16536
16629
  if (event.key && event.key.toLowerCase() === 'meta') {
16537
16630
  _downKeys.splice(0, _downKeys.length);
16538
- } // 修饰键 shiftKey altKey ctrlKey (command||metaKey) 清除
16631
+ }
16539
16632
 
16633
+ // 修饰键 shiftKey altKey ctrlKey (command||metaKey) 清除
16540
16634
  if (key === 93 || key === 224) key = 91;
16541
16635
  if (key in _mods) {
16542
- _mods[key] = false; // 将修饰键重置为false
16636
+ _mods[key] = false;
16543
16637
 
16544
- for (var k in _modifier) {
16545
- if (_modifier[k] === key) hotkeys[k] = false;
16546
- }
16638
+ // 将修饰键重置为false
16639
+ for (var k in _modifier) if (_modifier[k] === key) hotkeys[k] = false;
16547
16640
  }
16548
16641
  }
16549
16642
  function unbind(keysInfo) {
@@ -16564,7 +16657,6 @@
16564
16657
  for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
16565
16658
  args[_key - 1] = arguments[_key];
16566
16659
  }
16567
-
16568
16660
  // support old method
16569
16661
  // eslint-disable-line
16570
16662
  var scope = args[0],
@@ -16580,8 +16672,9 @@
16580
16672
  splitKey: '+'
16581
16673
  });
16582
16674
  }
16583
- } // 解除绑定某个范围的快捷键
16675
+ }
16584
16676
 
16677
+ // 解除绑定某个范围的快捷键
16585
16678
  var eachUnbind = function eachUnbind(_ref) {
16586
16679
  var key = _ref.key,
16587
16680
  scope = _ref.scope,
@@ -16594,8 +16687,8 @@
16594
16687
  var len = unbindKeys.length;
16595
16688
  var lastKey = unbindKeys[len - 1];
16596
16689
  var keyCode = lastKey === '*' ? '*' : code(lastKey);
16597
- if (!_handlers[keyCode]) return; // 判断是否传入范围,没有就获取范围
16598
-
16690
+ if (!_handlers[keyCode]) return;
16691
+ // 判断是否传入范围,没有就获取范围
16599
16692
  if (!scope) scope = getScope();
16600
16693
  var mods = len > 1 ? getMods(_modifier, unbindKeys) : [];
16601
16694
  _handlers[keyCode] = _handlers[keyCode].filter(function (record) {
@@ -16604,14 +16697,16 @@
16604
16697
  return !(isMatchingMethod && record.scope === scope && compareArray(record.mods, mods));
16605
16698
  });
16606
16699
  });
16607
- }; // 对监听对应快捷键的回调函数进行处理
16700
+ };
16608
16701
 
16702
+ // 对监听对应快捷键的回调函数进行处理
16609
16703
  function eventHandler(event, handler, scope, element) {
16610
16704
  if (handler.element !== element) {
16611
16705
  return;
16612
16706
  }
16613
- var modifiersMatch; // 看它是否在当前范围
16707
+ var modifiersMatch;
16614
16708
 
16709
+ // 看它是否在当前范围
16615
16710
  if (handler.scope === scope || handler.scope === 'all') {
16616
16711
  // 检查是否匹配修饰符(如果有返回true)
16617
16712
  modifiersMatch = handler.mods.length > 0;
@@ -16621,9 +16716,12 @@
16621
16716
  modifiersMatch = false;
16622
16717
  }
16623
16718
  }
16624
- } // 调用处理程序,如果是修饰键不做处理
16719
+ }
16625
16720
 
16721
+ // 调用处理程序,如果是修饰键不做处理
16626
16722
  if (handler.mods.length === 0 && !_mods[16] && !_mods[18] && !_mods[17] && !_mods[91] || modifiersMatch || handler.shortcut === '*') {
16723
+ handler.keys = [];
16724
+ handler.keys = handler.keys.concat(_downKeys);
16627
16725
  if (handler.method(event, handler) === false) {
16628
16726
  if (event.preventDefault) event.preventDefault();else event.returnValue = false;
16629
16727
  if (event.stopPropagation) event.stopPropagation();
@@ -16631,29 +16729,31 @@
16631
16729
  }
16632
16730
  }
16633
16731
  }
16634
- } // 处理keydown事件
16732
+ }
16635
16733
 
16734
+ // 处理keydown事件
16636
16735
  function dispatch(event, element) {
16637
16736
  var asterisk = _handlers['*'];
16638
- var key = event.keyCode || event.which || event.charCode; // 表单控件过滤 默认表单控件不触发快捷键
16737
+ var key = event.keyCode || event.which || event.charCode;
16639
16738
 
16640
- if (!hotkeys.filter.call(this, event)) return; // Gecko(Firefox)的command键值224,在Webkit(Chrome)中保持一致
16641
- // Webkit左右 command 键值不一样
16739
+ // 表单控件过滤 默认表单控件不触发快捷键
16740
+ if (!hotkeys.filter.call(this, event)) return;
16642
16741
 
16742
+ // Gecko(Firefox)的command键值224,在Webkit(Chrome)中保持一致
16743
+ // Webkit左右 command 键值不一样
16643
16744
  if (key === 93 || key === 224) key = 91;
16745
+
16644
16746
  /**
16645
16747
  * Collect bound keys
16646
16748
  * If an Input Method Editor is processing key input and the event is keydown, return 229.
16647
16749
  * https://stackoverflow.com/questions/25043934/is-it-ok-to-ignore-keydown-events-with-keycode-229
16648
16750
  * http://lists.w3.org/Archives/Public/www-dom/2010JulSep/att-0182/keyCode-spec.html
16649
16751
  */
16650
-
16651
16752
  if (_downKeys.indexOf(key) === -1 && key !== 229) _downKeys.push(key);
16652
16753
  /**
16653
16754
  * Jest test cases are required.
16654
16755
  * ===============================
16655
16756
  */
16656
-
16657
16757
  ['ctrlKey', 'altKey', 'shiftKey', 'metaKey'].forEach(function (keyName) {
16658
16758
  var keyNum = modifierMap[keyName];
16659
16759
  if (event[keyName] && _downKeys.indexOf(keyNum) === -1) {
@@ -16675,14 +16775,16 @@
16675
16775
  */
16676
16776
 
16677
16777
  if (key in _mods) {
16678
- _mods[key] = true; // 将特殊字符的key注册到 hotkeys 上
16778
+ _mods[key] = true;
16679
16779
 
16780
+ // 将特殊字符的key注册到 hotkeys 上
16680
16781
  for (var k in _modifier) {
16681
16782
  if (_modifier[k] === key) hotkeys[k] = true;
16682
16783
  }
16683
16784
  if (!asterisk) return;
16684
- } // 将 modifierMap 里面的修饰键绑定到 event 中
16785
+ }
16685
16786
 
16787
+ // 将 modifierMap 里面的修饰键绑定到 event 中
16686
16788
  for (var e in _mods) {
16687
16789
  if (Object.prototype.hasOwnProperty.call(_mods, e)) {
16688
16790
  _mods[e] = event[modifierMap[e]];
@@ -16694,7 +16796,6 @@
16694
16796
  * An example of this is ctrl+alt+m on a Swedish keyboard which is used to type μ.
16695
16797
  * Browser support: https://caniuse.com/#feat=keyboardevent-getmodifierstate
16696
16798
  */
16697
-
16698
16799
  if (event.getModifierState && !(event.altKey && !event.ctrlKey) && event.getModifierState('AltGraph')) {
16699
16800
  if (_downKeys.indexOf(17) === -1) {
16700
16801
  _downKeys.push(17);
@@ -16704,18 +16805,19 @@
16704
16805
  }
16705
16806
  _mods[17] = true;
16706
16807
  _mods[18] = true;
16707
- } // 获取范围 默认为 `all`
16708
-
16709
- var scope = getScope(); // 对任何快捷键都需要做的处理
16808
+ }
16710
16809
 
16810
+ // 获取范围 默认为 `all`
16811
+ var scope = getScope();
16812
+ // 对任何快捷键都需要做的处理
16711
16813
  if (asterisk) {
16712
16814
  for (var i = 0; i < asterisk.length; i++) {
16713
16815
  if (asterisk[i].scope === scope && (event.type === 'keydown' && asterisk[i].keydown || event.type === 'keyup' && asterisk[i].keyup)) {
16714
16816
  eventHandler(event, asterisk[i], scope, element);
16715
16817
  }
16716
16818
  }
16717
- } // key 不在 _handlers 中返回
16718
-
16819
+ }
16820
+ // key 不在 _handlers 中返回
16719
16821
  if (!(key in _handlers)) return;
16720
16822
  for (var _i = 0; _i < _handlers[key].length; _i++) {
16721
16823
  if (event.type === 'keydown' && _handlers[key][_i].keydown || event.type === 'keyup' && _handlers[key][_i].keyup) {
@@ -16724,7 +16826,6 @@
16724
16826
  var splitKey = record.splitKey;
16725
16827
  var keyShortcut = record.key.split(splitKey);
16726
16828
  var _downKeysCurrent = []; // 记录当前按键键值
16727
-
16728
16829
  for (var a = 0; a < keyShortcut.length; a++) {
16729
16830
  _downKeysCurrent.push(code(keyShortcut[a]));
16730
16831
  }
@@ -16735,56 +16836,52 @@
16735
16836
  }
16736
16837
  }
16737
16838
  }
16738
- } // 判断 element 是否已经绑定事件
16839
+ }
16739
16840
 
16841
+ // 判断 element 是否已经绑定事件
16740
16842
  function isElementBind(element) {
16741
16843
  return elementHasBindEvent.indexOf(element) > -1;
16742
16844
  }
16743
16845
  function hotkeys(key, option, method) {
16744
16846
  _downKeys = [];
16745
16847
  var keys = getKeys(key); // 需要处理的快捷键列表
16746
-
16747
16848
  var mods = [];
16748
16849
  var scope = 'all'; // scope默认为all,所有范围都有效
16749
-
16750
16850
  var element = document; // 快捷键事件绑定节点
16751
-
16752
16851
  var i = 0;
16753
16852
  var keyup = false;
16754
16853
  var keydown = true;
16755
16854
  var splitKey = '+';
16756
- var capture = false; // 对为设定范围的判断
16855
+ var capture = false;
16757
16856
 
16857
+ // 对为设定范围的判断
16758
16858
  if (method === undefined && typeof option === 'function') {
16759
16859
  method = option;
16760
16860
  }
16761
16861
  if (Object.prototype.toString.call(option) === '[object Object]') {
16762
16862
  if (option.scope) scope = option.scope; // eslint-disable-line
16763
-
16764
16863
  if (option.element) element = option.element; // eslint-disable-line
16765
-
16766
16864
  if (option.keyup) keyup = option.keyup; // eslint-disable-line
16767
-
16768
16865
  if (option.keydown !== undefined) keydown = option.keydown; // eslint-disable-line
16769
-
16770
16866
  if (option.capture !== undefined) capture = option.capture; // eslint-disable-line
16771
-
16772
16867
  if (typeof option.splitKey === 'string') splitKey = option.splitKey; // eslint-disable-line
16773
16868
  }
16774
16869
 
16775
- if (typeof option === 'string') scope = option; // 对于每个快捷键进行处理
16870
+ if (typeof option === 'string') scope = option;
16776
16871
 
16872
+ // 对于每个快捷键进行处理
16777
16873
  for (; i < keys.length; i++) {
16778
16874
  key = keys[i].split(splitKey); // 按键列表
16875
+ mods = [];
16779
16876
 
16780
- mods = []; // 如果是组合快捷键取得组合快捷键
16781
-
16782
- if (key.length > 1) mods = getMods(_modifier, key); // 将非修饰键转化为键码
16877
+ // 如果是组合快捷键取得组合快捷键
16878
+ if (key.length > 1) mods = getMods(_modifier, key);
16783
16879
 
16880
+ // 将非修饰键转化为键码
16784
16881
  key = key[key.length - 1];
16785
16882
  key = key === '*' ? '*' : code(key); // *表示匹配所有快捷键
16786
- // 判断key是否在_handlers中,不在就赋一个空数组
16787
16883
 
16884
+ // 判断key是否在_handlers中,不在就赋一个空数组
16788
16885
  if (!(key in _handlers)) _handlers[key] = [];
16789
16886
  _handlers[key].push({
16790
16887
  keyup: keyup,
@@ -16797,8 +16894,8 @@
16797
16894
  splitKey: splitKey,
16798
16895
  element: element
16799
16896
  });
16800
- } // 在全局document上设置快捷键
16801
-
16897
+ }
16898
+ // 在全局document上设置快捷键
16802
16899
  if (typeof element !== 'undefined' && !isElementBind(element) && window) {
16803
16900
  elementHasBindEvent.push(element);
16804
16901
  addEvent(element, 'keydown', function (e) {
@@ -16959,83 +17056,7 @@
16959
17056
  return theme.colors.borderColor || '#000';
16960
17057
  });
16961
17058
 
16962
- function t(t) {
16963
- return "object" == typeof t && null != t && 1 === t.nodeType;
16964
- }
16965
- function e(t, e) {
16966
- return (!e || "hidden" !== t) && "visible" !== t && "clip" !== t;
16967
- }
16968
- function n(t, n) {
16969
- if (t.clientHeight < t.scrollHeight || t.clientWidth < t.scrollWidth) {
16970
- var r = getComputedStyle(t, null);
16971
- return e(r.overflowY, n) || e(r.overflowX, n) || function (t) {
16972
- var e = function (t) {
16973
- if (!t.ownerDocument || !t.ownerDocument.defaultView) return null;
16974
- try {
16975
- return t.ownerDocument.defaultView.frameElement;
16976
- } catch (t) {
16977
- return null;
16978
- }
16979
- }(t);
16980
- return !!e && (e.clientHeight < t.scrollHeight || e.clientWidth < t.scrollWidth);
16981
- }(t);
16982
- }
16983
- return !1;
16984
- }
16985
- function r(t, e, n, r, i, o, l, d) {
16986
- return o < t && l > e || o > t && l < e ? 0 : o <= t && d <= n || l >= e && d >= n ? o - t - r : l > e && d < n || o < t && d > n ? l - e + i : 0;
16987
- }
16988
- function computeScrollIntoView (e, i) {
16989
- var o = window,
16990
- l = i.scrollMode,
16991
- d = i.block,
16992
- u = i.inline,
16993
- h = i.boundary,
16994
- a = i.skipOverflowHiddenElements,
16995
- c = "function" == typeof h ? h : function (t) {
16996
- return t !== h;
16997
- };
16998
- if (!t(e)) throw new TypeError("Invalid target");
16999
- for (var f = document.scrollingElement || document.documentElement, s = [], p = e; t(p) && c(p);) {
17000
- if ((p = p.parentElement) === f) {
17001
- s.push(p);
17002
- break;
17003
- }
17004
- null != p && p === document.body && n(p) && !n(document.documentElement) || null != p && n(p, a) && s.push(p);
17005
- }
17006
- for (var m = o.visualViewport ? o.visualViewport.width : innerWidth, g = o.visualViewport ? o.visualViewport.height : innerHeight, w = window.scrollX || pageXOffset, v = window.scrollY || pageYOffset, W = e.getBoundingClientRect(), b = W.height, H = W.width, y = W.top, E = W.right, M = W.bottom, V = W.left, x = "start" === d || "nearest" === d ? y : "end" === d ? M : y + b / 2, I = "center" === u ? V + H / 2 : "end" === u ? E : V, C = [], T = 0; T < s.length; T++) {
17007
- var k = s[T],
17008
- B = k.getBoundingClientRect(),
17009
- D = B.height,
17010
- O = B.width,
17011
- R = B.top,
17012
- X = B.right,
17013
- Y = B.bottom,
17014
- L = B.left;
17015
- if ("if-needed" === l && y >= 0 && V >= 0 && M <= g && E <= m && y >= R && M <= Y && V >= L && E <= X) return C;
17016
- var S = getComputedStyle(k),
17017
- j = parseInt(S.borderLeftWidth, 10),
17018
- q = parseInt(S.borderTopWidth, 10),
17019
- z = parseInt(S.borderRightWidth, 10),
17020
- A = parseInt(S.borderBottomWidth, 10),
17021
- F = 0,
17022
- G = 0,
17023
- J = "offsetWidth" in k ? k.offsetWidth - k.clientWidth - j - z : 0,
17024
- K = "offsetHeight" in k ? k.offsetHeight - k.clientHeight - q - A : 0;
17025
- if (f === k) F = "start" === d ? x : "end" === d ? x - g : "nearest" === d ? r(v, v + g, g, q, A, v + x, v + x + b, b) : x - g / 2, G = "start" === u ? I : "center" === u ? I - m / 2 : "end" === u ? I - m : r(w, w + m, m, j, z, w + I, w + I + H, H), F = Math.max(0, F + v), G = Math.max(0, G + w);else {
17026
- F = "start" === d ? x - R - q : "end" === d ? x - Y + A + K : "nearest" === d ? r(R, Y, D, q, A + K, x, x + b, b) : x - (R + D / 2) + K / 2, G = "start" === u ? I - L - j : "center" === u ? I - (L + O / 2) + J / 2 : "end" === u ? I - X + z + J : r(L, X, O, j, z + J, I, I + H, H);
17027
- var N = k.scrollLeft,
17028
- P = k.scrollTop;
17029
- x += P - (F = Math.max(0, Math.min(P + F, k.scrollHeight - D + K))), I += N - (G = Math.max(0, Math.min(N + G, k.scrollWidth - O + J)));
17030
- }
17031
- C.push({
17032
- el: k,
17033
- top: F,
17034
- left: G
17035
- });
17036
- }
17037
- return C;
17038
- }
17059
+ function t(t){return "object"==typeof t&&null!=t&&1===t.nodeType}function e(t,e){return (!e||"hidden"!==t)&&"visible"!==t&&"clip"!==t}function n(t,n){if(t.clientHeight<t.scrollHeight||t.clientWidth<t.scrollWidth){var r=getComputedStyle(t,null);return e(r.overflowY,n)||e(r.overflowX,n)||function(t){var e=function(t){if(!t.ownerDocument||!t.ownerDocument.defaultView)return null;try{return t.ownerDocument.defaultView.frameElement}catch(t){return null}}(t);return !!e&&(e.clientHeight<t.scrollHeight||e.clientWidth<t.scrollWidth)}(t)}return !1}function r(t,e,n,r,i,o,l,d){return o<t&&l>e||o>t&&l<e?0:o<=t&&d<=n||l>=e&&d>=n?o-t-r:l>e&&d<n||o<t&&d>n?l-e+i:0}var i=function(e,i){var o=window,l=i.scrollMode,d=i.block,f=i.inline,h=i.boundary,u=i.skipOverflowHiddenElements,s="function"==typeof h?h:function(t){return t!==h};if(!t(e))throw new TypeError("Invalid target");for(var a,c,g=document.scrollingElement||document.documentElement,p=[],m=e;t(m)&&s(m);){if((m=null==(c=(a=m).parentElement)?a.getRootNode().host||null:c)===g){p.push(m);break}null!=m&&m===document.body&&n(m)&&!n(document.documentElement)||null!=m&&n(m,u)&&p.push(m);}for(var w=o.visualViewport?o.visualViewport.width:innerWidth,v=o.visualViewport?o.visualViewport.height:innerHeight,W=window.scrollX||pageXOffset,H=window.scrollY||pageYOffset,b=e.getBoundingClientRect(),y=b.height,E=b.width,M=b.top,V=b.right,x=b.bottom,I=b.left,C="start"===d||"nearest"===d?M:"end"===d?x:M+y/2,R="center"===f?I+E/2:"end"===f?V:I,T=[],k=0;k<p.length;k++){var B=p[k],D=B.getBoundingClientRect(),O=D.height,X=D.width,Y=D.top,L=D.right,S=D.bottom,j=D.left;if("if-needed"===l&&M>=0&&I>=0&&x<=v&&V<=w&&M>=Y&&x<=S&&I>=j&&V<=L)return T;var N=getComputedStyle(B),q=parseInt(N.borderLeftWidth,10),z=parseInt(N.borderTopWidth,10),A=parseInt(N.borderRightWidth,10),F=parseInt(N.borderBottomWidth,10),G=0,J=0,K="offsetWidth"in B?B.offsetWidth-B.clientWidth-q-A:0,P="offsetHeight"in B?B.offsetHeight-B.clientHeight-z-F:0,Q="offsetWidth"in B?0===B.offsetWidth?0:X/B.offsetWidth:0,U="offsetHeight"in B?0===B.offsetHeight?0:O/B.offsetHeight:0;if(g===B)G="start"===d?C:"end"===d?C-v:"nearest"===d?r(H,H+v,v,z,F,H+C,H+C+y,y):C-v/2,J="start"===f?R:"center"===f?R-w/2:"end"===f?R-w:r(W,W+w,w,q,A,W+R,W+R+E,E),G=Math.max(0,G+H),J=Math.max(0,J+W);else {G="start"===d?C-Y-z:"end"===d?C-S+F+P:"nearest"===d?r(Y,S,O,z,F+P,C,C+y,y):C-(Y+O/2)+P/2,J="start"===f?R-j-q:"center"===f?R-(j+X/2)+K/2:"end"===f?R-L+A+K:r(j,L,X,q,A+K,R,R+E,E);var Z=B.scrollLeft,$=B.scrollTop;C+=$-(G=Math.max(0,Math.min($+G/U,B.scrollHeight-O/U+P))),R+=Z-(J=Math.max(0,Math.min(Z+J/Q,B.scrollWidth-X/Q+K)));}T.push({el:B,top:G,left:J});}return T};
17039
17060
 
17040
17061
  /**
17041
17062
  * Scroll node into view if necessary
@@ -17047,7 +17068,7 @@
17047
17068
  if (node === null) {
17048
17069
  return;
17049
17070
  }
17050
- var actions = computeScrollIntoView(node, {
17071
+ var actions = i(node, {
17051
17072
  boundary: rootNode,
17052
17073
  block: 'nearest',
17053
17074
  scrollMode: 'if-needed'
@@ -18801,6 +18822,7 @@
18801
18822
  className: VueTypes.string.def(''),
18802
18823
  clearIcon: types.children,
18803
18824
  componentId: types.stringRequired,
18825
+ compoundClause: types.compoundClause,
18804
18826
  customHighlight: types.func,
18805
18827
  customQuery: types.func,
18806
18828
  defaultQuery: types.func,
@@ -19515,14 +19537,14 @@
19515
19537
  }, [this.renderIcon()])])]);
19516
19538
  },
19517
19539
  focusSearchBox: function focusSearchBox(event) {
19518
- var _this$$refs, _this$$refs$this$$pro;
19540
+ var _this$$refs;
19519
19541
  var elt = event.target || event.srcElement;
19520
19542
  var tagName = elt.tagName;
19521
19543
  if (elt.isContentEditable || tagName === 'INPUT' || tagName === 'SELECT' || tagName === 'TEXTAREA') {
19522
19544
  // already in an input
19523
19545
  return;
19524
19546
  }
19525
- (_this$$refs = this.$refs) == null ? void 0 : (_this$$refs$this$$pro = _this$$refs[this.$props.innerRef]) == null ? void 0 : _this$$refs$this$$pro.focus(); // eslint-disable-line
19547
+ (_this$$refs = this.$refs) == null || (_this$$refs = _this$$refs[this.$props.innerRef]) == null ? void 0 : _this$$refs.focus(); // eslint-disable-line
19526
19548
  },
19527
19549
  listenForFocusShortcuts: function listenForFocusShortcuts() {
19528
19550
  var _this5 = this;
@@ -20060,6 +20082,7 @@
20060
20082
  className: VueTypes.string.def(''),
20061
20083
  clearIcon: types.children,
20062
20084
  componentId: types.stringRequired,
20085
+ compoundClause: types.compoundClause,
20063
20086
  customHighlight: types.func,
20064
20087
  customQuery: types.func,
20065
20088
  defaultQuery: types.func,
@@ -20746,14 +20769,14 @@
20746
20769
  }, [this.renderIcon()])])]);
20747
20770
  },
20748
20771
  focusSearchBox: function focusSearchBox(event) {
20749
- var _this$$refs, _this$$refs$this$$pro;
20772
+ var _this$$refs;
20750
20773
  var elt = event.target || event.srcElement;
20751
20774
  var tagName = elt.tagName;
20752
20775
  if (elt.isContentEditable || tagName === 'INPUT' || tagName === 'SELECT' || tagName === 'TEXTAREA') {
20753
20776
  // already in an input
20754
20777
  return;
20755
20778
  }
20756
- (_this$$refs = this.$refs) == null ? void 0 : (_this$$refs$this$$pro = _this$$refs[this.$props.innerRef]) == null ? void 0 : _this$$refs$this$$pro.focus(); // eslint-disable-line
20779
+ (_this$$refs = this.$refs) == null || (_this$$refs = _this$$refs[this.$props.innerRef]) == null ? void 0 : _this$$refs.focus(); // eslint-disable-line
20757
20780
  },
20758
20781
  listenForFocusShortcuts: function listenForFocusShortcuts() {
20759
20782
  var _this5 = this;
@@ -21279,6 +21302,7 @@
21279
21302
  beforeValueChange: types.func,
21280
21303
  className: VueTypes.string.def(''),
21281
21304
  componentId: types.stringRequired,
21305
+ compoundClause: types.compoundClause,
21282
21306
  customQuery: types.func,
21283
21307
  dataField: types.stringRequired,
21284
21308
  defaultValue: types.string,
@@ -21725,6 +21749,7 @@
21725
21749
  beforeValueChange: types.func,
21726
21750
  className: VueTypes.string.def(''),
21727
21751
  componentId: types.stringRequired,
21752
+ compoundClause: types.compoundClause,
21728
21753
  customQuery: types.func,
21729
21754
  dataField: types.stringRequired,
21730
21755
  defaultQuery: types.func,
@@ -21968,14 +21993,14 @@
21968
21993
  if (selectAllLabel && selectAllLabel in currentValue) {
21969
21994
  var _currentValue = currentValue,
21970
21995
  del = _currentValue[selectAllLabel],
21971
- obj = _objectWithoutPropertiesLoose(_currentValue, [selectAllLabel].map(_toPropertyKey));
21996
+ obj = _objectWithoutPropertiesLoose(_currentValue, [selectAllLabel].map(_toPropertyKey$1));
21972
21997
  currentValue = _extends({}, obj);
21973
21998
  }
21974
21999
  } else {
21975
22000
  if (currentValue[value]) {
21976
22001
  var _currentValue2 = currentValue,
21977
22002
  _del = _currentValue2[value],
21978
- rest = _objectWithoutPropertiesLoose(_currentValue2, [value].map(_toPropertyKey));
22003
+ rest = _objectWithoutPropertiesLoose(_currentValue2, [value].map(_toPropertyKey$1));
21979
22004
  currentValue = _extends({}, rest);
21980
22005
  } else if (Array.isArray(value)) {
21981
22006
  value.forEach(function (val) {
@@ -21987,7 +22012,7 @@
21987
22012
  if (selectAllLabel && selectAllLabel in currentValue) {
21988
22013
  var _currentValue3 = currentValue,
21989
22014
  _del2 = _currentValue3[selectAllLabel],
21990
- _obj = _objectWithoutPropertiesLoose(_currentValue3, [selectAllLabel].map(_toPropertyKey));
22015
+ _obj = _objectWithoutPropertiesLoose(_currentValue3, [selectAllLabel].map(_toPropertyKey$1));
21991
22016
  currentValue = _extends({}, _obj);
21992
22017
  }
21993
22018
  finalValues = Object.keys(currentValue);
@@ -22560,6 +22585,7 @@
22560
22585
  beforeValueChange: types.func,
22561
22586
  className: VueTypes.string.def(''),
22562
22587
  componentId: types.stringRequired,
22588
+ compoundClause: types.compoundClause,
22563
22589
  customQuery: types.func,
22564
22590
  dataField: types.stringRequired,
22565
22591
  defaultQuery: types.func,
@@ -22981,6 +23007,7 @@
22981
23007
  beforeValueChange: types.func,
22982
23008
  className: VueTypes.string.def(''),
22983
23009
  componentId: types.stringRequired,
23010
+ compoundClause: types.compoundClause,
22984
23011
  customQuery: types.func,
22985
23012
  dataField: types.stringRequired,
22986
23013
  defaultValue: types.stringArray,
@@ -23227,14 +23254,14 @@
23227
23254
  if (selectAllLabel && selectAllLabel in currentValue) {
23228
23255
  var _currentValue = currentValue,
23229
23256
  del = _currentValue[selectAllLabel],
23230
- obj = _objectWithoutPropertiesLoose(_currentValue, [selectAllLabel].map(_toPropertyKey));
23257
+ obj = _objectWithoutPropertiesLoose(_currentValue, [selectAllLabel].map(_toPropertyKey$1));
23231
23258
  currentValue = _extends({}, obj);
23232
23259
  }
23233
23260
  } else {
23234
23261
  if (currentValue[value]) {
23235
23262
  var _currentValue2 = currentValue,
23236
23263
  _del = _currentValue2[value],
23237
- rest = _objectWithoutPropertiesLoose(_currentValue2, [value].map(_toPropertyKey));
23264
+ rest = _objectWithoutPropertiesLoose(_currentValue2, [value].map(_toPropertyKey$1));
23238
23265
  currentValue = _extends({}, rest);
23239
23266
  } else {
23240
23267
  currentValue[value] = true;
@@ -23242,7 +23269,7 @@
23242
23269
  if (selectAllLabel && selectAllLabel in currentValue) {
23243
23270
  var _currentValue3 = currentValue,
23244
23271
  _del2 = _currentValue3[selectAllLabel],
23245
- _obj = _objectWithoutPropertiesLoose(_currentValue3, [selectAllLabel].map(_toPropertyKey));
23272
+ _obj = _objectWithoutPropertiesLoose(_currentValue3, [selectAllLabel].map(_toPropertyKey$1));
23246
23273
  currentValue = _extends({}, _obj);
23247
23274
  }
23248
23275
  finalValues = Object.keys(currentValue);
@@ -23481,6 +23508,7 @@
23481
23508
  name: 'ToggleButton',
23482
23509
  props: {
23483
23510
  componentId: types.stringRequired,
23511
+ compoundClause: types.compoundClause,
23484
23512
  customQuery: types.func,
23485
23513
  data: types.data,
23486
23514
  dataField: types.stringRequired,
@@ -23781,6 +23809,7 @@
23781
23809
  name: 'ReactiveComponent',
23782
23810
  props: {
23783
23811
  componentId: types.stringRequired,
23812
+ compoundClause: types.compoundClause,
23784
23813
  aggregationField: types.string,
23785
23814
  aggregationSize: VueTypes.number,
23786
23815
  size: VueTypes.number,
@@ -23795,6 +23824,11 @@
23795
23824
  index: VueTypes.string,
23796
23825
  endpoint: types.endpointConfig
23797
23826
  },
23827
+ data: function data() {
23828
+ return {
23829
+ currentValue: this.selectedValue
23830
+ };
23831
+ },
23798
23832
  created: function created() {
23799
23833
  var _this = this;
23800
23834
  var props = this.$props;
@@ -23883,6 +23917,12 @@
23883
23917
  }
23884
23918
  },
23885
23919
  watch: {
23920
+ selectedValue: function selectedValue(newVal, oldVal) {
23921
+ if (!isEqual$b(newVal, oldVal)) {
23922
+ this.$emit('data', this.getData());
23923
+ this.currentValue = newVal;
23924
+ }
23925
+ },
23886
23926
  hits: function hits(newVal, oldVal) {
23887
23927
  if (!isEqual$b(newVal, oldVal)) {
23888
23928
  this.$emit('data', this.getData());
@@ -23963,14 +24003,13 @@
23963
24003
  try {
23964
24004
  var dom = this.$scopedSlots["default"];
23965
24005
  var error = this.error,
23966
- isLoading = this.isLoading,
23967
- selectedValue = this.selectedValue;
24006
+ isLoading = this.isLoading;
23968
24007
  var propsToBePassed = _extends({
23969
24008
  error: error,
23970
24009
  loading: isLoading
23971
24010
  }, this.getData(), {
23972
- value: selectedValue,
23973
- setQuery: this.setQuery
24011
+ setQuery: this.setQuery,
24012
+ value: this.currentValue
23974
24013
  });
23975
24014
  return h("div", [dom(propsToBePassed)]);
23976
24015
  } catch (e) {
@@ -24181,6 +24220,7 @@
24181
24220
  className: VueTypes.string.def(''),
24182
24221
  rangeLabels: types.func,
24183
24222
  componentId: types.stringRequired,
24223
+ compoundClause: types.compoundClause,
24184
24224
  customQuery: types.func,
24185
24225
  data: types.data,
24186
24226
  dataField: types.stringRequired,
@@ -24582,6 +24622,7 @@
24582
24622
  beforeValueChange: types.func,
24583
24623
  className: VueTypes.string.def(''),
24584
24624
  componentId: types.stringRequired,
24625
+ compoundClause: types.compoundClause,
24585
24626
  customQuery: types.func,
24586
24627
  data: types.data,
24587
24628
  dataField: types.stringRequired,
@@ -24793,6 +24834,7 @@
24793
24834
  beforeValueChange: types.func,
24794
24835
  className: VueTypes.string.def(''),
24795
24836
  componentId: types.stringRequired,
24837
+ compoundClause: types.compoundClause,
24796
24838
  customQuery: types.func,
24797
24839
  data: types.data,
24798
24840
  dataField: types.stringRequired,
@@ -24852,7 +24894,7 @@
24852
24894
  });
24853
24895
  var _selectedValues = selectedValues,
24854
24896
  del = _selectedValues[item],
24855
- selected = _objectWithoutPropertiesLoose(_selectedValues, [item].map(_toPropertyKey));
24897
+ selected = _objectWithoutPropertiesLoose(_selectedValues, [item].map(_toPropertyKey$1));
24856
24898
  selectedValues = selected;
24857
24899
  } else {
24858
24900
  var _extends2;
@@ -25074,6 +25116,7 @@
25074
25116
  }),
25075
25117
  rangeLabels: types.rangeLabels,
25076
25118
  componentId: types.stringRequired,
25119
+ compoundClause: types.compoundClause,
25077
25120
  customQuery: types.func,
25078
25121
  data: types.data,
25079
25122
  dataField: types.stringRequired,
@@ -25354,6 +25397,7 @@
25354
25397
  stepValue: types.number,
25355
25398
  componentStyle: types.style,
25356
25399
  componentId: types.stringRequired,
25400
+ compoundClause: types.compoundClause,
25357
25401
  includeNullValues: VueTypes.bool,
25358
25402
  beforeValueChange: types.func,
25359
25403
  customQuery: types.func,
@@ -26299,14 +26343,14 @@
26299
26343
  }
26300
26344
  return target;
26301
26345
  }
26302
- function _typeof$2(obj) {
26346
+ function _typeof$3(obj) {
26303
26347
  "@babel/helpers - typeof";
26304
26348
 
26305
- return _typeof$2 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
26349
+ return _typeof$3 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
26306
26350
  return typeof obj;
26307
26351
  } : function (obj) {
26308
26352
  return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
26309
- }, _typeof$2(obj);
26353
+ }, _typeof$3(obj);
26310
26354
  }
26311
26355
  function _defineProperty$2(obj, key, value) {
26312
26356
  if (key in obj) {
@@ -27189,62 +27233,60 @@
27189
27233
  return _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
27190
27234
  var scopedInput, autocompleteOptions;
27191
27235
  return _regeneratorRuntime().wrap(function _callee$(_context) {
27192
- while (1) {
27193
- switch (_context.prev = _context.next) {
27194
- case 0:
27195
- _context.next = 2;
27196
- return _this.$gmapApiPromiseLazy();
27197
- case 2:
27198
- scopedInput = null;
27199
- if (!_this.$scopedSlots["default"]) {
27200
- _context.next = 9;
27201
- break;
27202
- }
27203
- if (Object.keys(_this.$scopedSlots["default"]()[0].context.$refs).length) {
27204
- _context.next = 6;
27205
- break;
27206
- }
27207
- throw new Error('If you use the slot input you must add a ref to the element that you will use as the input, and if you use a vue component, eg: v-text-field, etc, you need to set the childRefName indicating what is the ref name of the html input elemnt behind your component.');
27208
- case 6:
27209
- scopedInput = _this.$scopedSlots["default"]()[0].context.$refs[_this.slotRefName];
27210
- if (scopedInput && scopedInput.$refs) {
27211
- scopedInput = scopedInput.$refs[_this.childRefName];
27212
- }
27213
- if (scopedInput) {
27214
- _this.$refs.input = scopedInput;
27215
- }
27216
- case 9:
27217
- if (_this.selectFirstOnEnter) {
27218
- downArrowSimulator(_this.$refs.input);
27219
- }
27220
- if (!(typeof google.maps.places.Autocomplete !== 'function')) {
27221
- _context.next = 12;
27222
- break;
27223
- }
27224
- throw new Error("google.maps.places.Autocomplete is undefined. Did you add 'places' to libraries when loading Google Maps?");
27225
- case 12:
27226
- autocompleteOptions = _extends({}, getPropsValues(_this, autocompleteMappedProps), _this.options);
27227
- _this.$autocomplete = new google.maps.places.Autocomplete(_this.$refs.input, autocompleteOptions);
27228
- bindProps(_this, _this.$autocomplete, autocompleteMappedProps);
27229
- if (_this.setFieldsTo) {
27230
- _this.$autocomplete.setFields(_this.setFieldsTo);
27231
- }
27236
+ while (1) switch (_context.prev = _context.next) {
27237
+ case 0:
27238
+ _context.next = 2;
27239
+ return _this.$gmapApiPromiseLazy();
27240
+ case 2:
27241
+ scopedInput = null;
27242
+ if (!_this.$scopedSlots["default"]) {
27243
+ _context.next = 9;
27244
+ break;
27245
+ }
27246
+ if (Object.keys(_this.$scopedSlots["default"]()[0].context.$refs).length) {
27247
+ _context.next = 6;
27248
+ break;
27249
+ }
27250
+ throw new Error('If you use the slot input you must add a ref to the element that you will use as the input, and if you use a vue component, eg: v-text-field, etc, you need to set the childRefName indicating what is the ref name of the html input elemnt behind your component.');
27251
+ case 6:
27252
+ scopedInput = _this.$scopedSlots["default"]()[0].context.$refs[_this.slotRefName];
27253
+ if (scopedInput && scopedInput.$refs) {
27254
+ scopedInput = scopedInput.$refs[_this.childRefName];
27255
+ }
27256
+ if (scopedInput) {
27257
+ _this.$refs.input = scopedInput;
27258
+ }
27259
+ case 9:
27260
+ if (_this.selectFirstOnEnter) {
27261
+ downArrowSimulator(_this.$refs.input);
27262
+ }
27263
+ if (!(typeof google.maps.places.Autocomplete !== 'function')) {
27264
+ _context.next = 12;
27265
+ break;
27266
+ }
27267
+ throw new Error("google.maps.places.Autocomplete is undefined. Did you add 'places' to libraries when loading Google Maps?");
27268
+ case 12:
27269
+ autocompleteOptions = _extends({}, getPropsValues(_this, autocompleteMappedProps), _this.options);
27270
+ _this.$autocomplete = new google.maps.places.Autocomplete(_this.$refs.input, autocompleteOptions);
27271
+ bindProps(_this, _this.$autocomplete, autocompleteMappedProps);
27272
+ if (_this.setFieldsTo) {
27273
+ _this.$autocomplete.setFields(_this.setFieldsTo);
27274
+ }
27232
27275
 
27233
- // Not using `bindEvents` because we also want
27234
- // to return the result of `getPlace()`
27235
- _this.$autocomplete.addListener('place_changed', function () {
27236
- /**
27237
- * Place change event
27238
- * @event place_changed
27239
- * @property {object} place `this.$autocomplete.getPlace()`
27240
- * @see [Get place information](https://developers.google.com/maps/documentation/javascript/places-autocomplete#get-place-information)
27241
- */
27242
- _this.$emit('place_changed', _this.$autocomplete.getPlace());
27243
- });
27244
- case 17:
27245
- case "end":
27246
- return _context.stop();
27247
- }
27276
+ // Not using `bindEvents` because we also want
27277
+ // to return the result of `getPlace()`
27278
+ _this.$autocomplete.addListener('place_changed', function () {
27279
+ /**
27280
+ * Place change event
27281
+ * @event place_changed
27282
+ * @property {object} place `this.$autocomplete.getPlace()`
27283
+ * @see [Get place information](https://developers.google.com/maps/documentation/javascript/places-autocomplete#get-place-information)
27284
+ */
27285
+ _this.$emit('place_changed', _this.$autocomplete.getPlace());
27286
+ });
27287
+ case 17:
27288
+ case "end":
27289
+ return _context.stop();
27248
27290
  }
27249
27291
  }, _callee);
27250
27292
  }))();
@@ -27658,12 +27700,8 @@
27658
27700
  swapItem(ids, coords, i, j);
27659
27701
  i++;
27660
27702
  j--;
27661
- while (coords[2 * i + inc] < t) {
27662
- i++;
27663
- }
27664
- while (coords[2 * j + inc] > t) {
27665
- j--;
27666
- }
27703
+ while (coords[2 * i + inc] < t) i++;
27704
+ while (coords[2 * j + inc] > t) j--;
27667
27705
  }
27668
27706
  if (coords[2 * left + inc] === t) swapItem(ids, coords, left, j);else {
27669
27707
  j++;
@@ -28169,9 +28207,7 @@
28169
28207
  return 360 * Math.atan(Math.exp(y2)) / Math.PI - 90;
28170
28208
  }
28171
28209
  function extend(dest, src) {
28172
- for (var id in src) {
28173
- dest[id] = src[id];
28174
- }
28210
+ for (var id in src) dest[id] = src[id];
28175
28211
  return dest;
28176
28212
  }
28177
28213
  function getX(p) {
@@ -28189,9 +28225,7 @@
28189
28225
  if (Array.isArray(a)) {
28190
28226
  length = a.length;
28191
28227
  if (length != b.length) return false;
28192
- for (i = length; i-- !== 0;) {
28193
- if (!equal(a[i], b[i])) return false;
28194
- }
28228
+ for (i = length; i-- !== 0;) if (!equal(a[i], b[i])) return false;
28195
28229
  return true;
28196
28230
  }
28197
28231
  if (a.constructor === RegExp) return a.source === b.source && a.flags === b.flags;
@@ -28200,9 +28234,7 @@
28200
28234
  keys = Object.keys(a);
28201
28235
  length = keys.length;
28202
28236
  if (length !== Object.keys(b).length) return false;
28203
- for (i = length; i-- !== 0;) {
28204
- if (!Object.prototype.hasOwnProperty.call(b, keys[i])) return false;
28205
- }
28237
+ for (i = length; i-- !== 0;) if (!Object.prototype.hasOwnProperty.call(b, keys[i])) return false;
28206
28238
  for (i = length; i-- !== 0;) {
28207
28239
  var key = keys[i];
28208
28240
  if (!equal(a[key], b[key])) return false;
@@ -28230,9 +28262,7 @@
28230
28262
 
28231
28263
  function __rest(s, e) {
28232
28264
  var t = {};
28233
- for (var p in s) {
28234
- if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
28235
- }
28265
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
28236
28266
  if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
28237
28267
  if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
28238
28268
  }
@@ -31558,7 +31588,7 @@
31558
31588
  * such as Google for business
31559
31589
  * https://developers.google.com/maps/documentation/javascript/get-api-key#premium-auth
31560
31590
  */
31561
- if (_typeof$2(options) !== 'object') {
31591
+ if (_typeof$3(options) !== 'object') {
31562
31592
  throw new Error('options should be an object');
31563
31593
  } // Do nothing if run from server-side
31564
31594
 
@@ -31793,8 +31823,8 @@
31793
31823
 
31794
31824
  var BASE32_CODES = "0123456789bcdefghjkmnpqrstuvwxyz";
31795
31825
  var BASE32_CODES_DICT = {};
31796
- for (var i = 0; i < BASE32_CODES.length; i++) {
31797
- BASE32_CODES_DICT[BASE32_CODES.charAt(i)] = i;
31826
+ for (var i$1 = 0; i$1 < BASE32_CODES.length; i$1++) {
31827
+ BASE32_CODES_DICT[BASE32_CODES.charAt(i$1)] = i$1;
31798
31828
  }
31799
31829
  var ENCODE_AUTO = 'auto';
31800
31830
  var MIN_LAT = -90;
@@ -32325,6 +32355,7 @@
32325
32355
  props: {
32326
32356
  className: types.string,
32327
32357
  componentId: types.stringRequired,
32358
+ compoundClause: types.compoundClause,
32328
32359
  dataField: types.stringRequired,
32329
32360
  react: types.react,
32330
32361
  size: types.number,
@@ -33440,7 +33471,7 @@
33440
33471
  var id = marker.metaData && marker.metaData._id;
33441
33472
  var _this$openMarkers = this.openMarkers,
33442
33473
  del = _this$openMarkers[id],
33443
- activeMarkers = _objectWithoutPropertiesLoose(_this$openMarkers, [id].map(_toPropertyKey));
33474
+ activeMarkers = _objectWithoutPropertiesLoose(_this$openMarkers, [id].map(_toPropertyKey$1));
33444
33475
  var newOpenMarkers = autoClosePopover ? {} : activeMarkers;
33445
33476
  this.setOpenMarkers(newOpenMarkers);
33446
33477
  handlePreserveCenter(true);
@@ -33948,7 +33979,7 @@
33948
33979
  openMarkers = _this$$props2.openMarkers;
33949
33980
  var id = marker._id;
33950
33981
  var del = openMarkers[id],
33951
- activeMarkers = _objectWithoutPropertiesLoose(openMarkers, [id].map(_toPropertyKey));
33982
+ activeMarkers = _objectWithoutPropertiesLoose(openMarkers, [id].map(_toPropertyKey$1));
33952
33983
  var newOpenMarkers = autoClosePopover ? {} : activeMarkers;
33953
33984
  handleOpenMarkers(newOpenMarkers);
33954
33985
  handlePreserveCenter(true);
@@ -34231,6 +34262,7 @@
34231
34262
  props: {
34232
34263
  className: types.string,
34233
34264
  componentId: types.stringRequired,
34265
+ compoundClause: types.compoundClause,
34234
34266
  dataField: types.stringRequired,
34235
34267
  defaultQuery: VueTypes.func,
34236
34268
  loader: types.title,
@@ -34374,6 +34406,7 @@
34374
34406
  "getMapPromise": this.getMapRefPromise,
34375
34407
  "renderMap": this.renderMap,
34376
34408
  "componentId": this.componentId,
34409
+ "compoundClause": this.compoundClause,
34377
34410
  "className": this.className,
34378
34411
  "dataField": this.dataField,
34379
34412
  "defaultZoom": this.defaultZoom,
@@ -34885,7 +34918,7 @@
34885
34918
  });
34886
34919
  }
34887
34920
 
34888
- var version = "1.34.1";
34921
+ var version = "1.35.1";
34889
34922
 
34890
34923
  var components$1 = [RLConnected, ResultCard, ResultList, ReactiveBase, DSConnected, SBConnected, ListConnected, ListConnected$1, RangeConnected$1, RangeConnected$2, RangeConnected$3, RangeConnected, RcConnected, RcConnected$1, RcConnected$2, TBConnected, ListConnected$2, ListConnected$3, StateProviderConnected, RangeConnected$4];
34891
34924
  function install (Vue) {