@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/cjs/index.js CHANGED
@@ -34,7 +34,7 @@ var ReactiveBase = require('./ReactiveBase.js');
34
34
  require('hotkeys-js');
35
35
  require('remarkable');
36
36
  require('xss');
37
- var install = require('./install-5513d650.js');
37
+ var install = require('./install-aa32f65f.js');
38
38
  require('./DropDown-e8216602.js');
39
39
  require('./Input-3ecdb905.js');
40
40
  require('compute-scroll-into-view');
@@ -1712,7 +1712,7 @@ var SearchBox = vue.defineComponent({
1712
1712
  },
1713
1713
  handleFeaturedSuggestionClicked: function handleFeaturedSuggestionClicked(suggestion) {
1714
1714
  try {
1715
- var _this$$refs2, _this$$refs2$this$$pr;
1715
+ var _this$$refs2;
1716
1716
  if (suggestion.action === helper.featuredSuggestionsActionTypes.NAVIGATE) {
1717
1717
  var _JSON$parse = JSON.parse(suggestion.subAction),
1718
1718
  _JSON$parse$target = _JSON$parse.target,
@@ -1739,7 +1739,7 @@ var SearchBox = vue.defineComponent({
1739
1739
  // else Downshift probably is focusing the dropdown
1740
1740
  // and not letting it close
1741
1741
  // eslint-disable-next-line no-unused-expressions
1742
- (_this$$refs2 = this.$refs) == null ? void 0 : (_this$$refs2$this$$pr = _this$$refs2[this.$props.innerRef]) == null ? void 0 : _this$$refs2$this$$pr.blur();
1742
+ (_this$$refs2 = this.$refs) == null || (_this$$refs2 = _this$$refs2[this.$props.innerRef]) == null ? void 0 : _this$$refs2.blur();
1743
1743
  } catch (e) {
1744
1744
  console.error("Error: There was an error parsing the subAction for the featured suggestion with label, \"" + suggestion.label + "\"", e);
1745
1745
  }
@@ -2026,14 +2026,14 @@ var SearchBox = vue.defineComponent({
2026
2026
  })]);
2027
2027
  },
2028
2028
  focusSearchBox: function focusSearchBox(event) {
2029
- var _this$$refs3, _this$$refs3$this$$pr, _this$$refs3$this$$pr2;
2029
+ var _this$$refs3;
2030
2030
  var elt = event.target || event.srcElement;
2031
2031
  var tagName = elt.tagName;
2032
2032
  if (elt.isContentEditable || tagName === 'INPUT' || tagName === 'SELECT' || tagName === 'TEXTAREA') {
2033
2033
  // already in an input
2034
2034
  return;
2035
2035
  }
2036
- (_this$$refs3 = this.$refs) == null ? void 0 : (_this$$refs3$this$$pr = _this$$refs3[this.$props.innerRef]) == null ? void 0 : (_this$$refs3$this$$pr2 = _this$$refs3$this$$pr.$el) == null ? void 0 : _this$$refs3$this$$pr2.focus(); // eslint-disable-line
2036
+ (_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
2037
2037
  },
2038
2038
  listenForFocusShortcuts: function listenForFocusShortcuts() {
2039
2039
  var _this9 = this;
@@ -3089,9 +3089,9 @@ var AIAnswer = vue.defineComponent({
3089
3089
  return index.getComponent(data, this);
3090
3090
  },
3091
3091
  handleTextAreaHeightChange: function handleTextAreaHeightChange() {
3092
- var _this$$refs, _this$$refs$_inputRef, _this$$refs2, _this$$refs2$_inputWr, _this$$refs3;
3093
- var textArea = (_this$$refs = this.$refs) == null ? void 0 : (_this$$refs$_inputRef = _this$$refs[_inputRef]) == null ? void 0 : _this$$refs$_inputRef.$el;
3094
- var inputWrapper = (_this$$refs2 = this.$refs) == null ? void 0 : (_this$$refs2$_inputWr = _this$$refs2[_inputWrapperRef]) == null ? void 0 : _this$$refs2$_inputWr.$el;
3092
+ var _this$$refs, _this$$refs2, _this$$refs3;
3093
+ var textArea = (_this$$refs = this.$refs) == null || (_this$$refs = _this$$refs[_inputRef]) == null ? void 0 : _this$$refs.$el;
3094
+ var inputWrapper = (_this$$refs2 = this.$refs) == null || (_this$$refs2 = _this$$refs2[_inputWrapperRef]) == null ? void 0 : _this$$refs2.$el;
3095
3095
  var errorContainer = (_this$$refs3 = this.$refs) == null ? void 0 : _this$$refs3[_errorContainerRef];
3096
3096
  if (textArea) {
3097
3097
  textArea.style.height = '42px';
@@ -34,7 +34,7 @@ require('./ReactiveBase.js');
34
34
  require('hotkeys-js');
35
35
  require('remarkable');
36
36
  require('xss');
37
- var install = require('./install-5513d650.js');
37
+ var install = require('./install-aa32f65f.js');
38
38
  require('./DropDown-e8216602.js');
39
39
  require('./Input-3ecdb905.js');
40
40
  require('compute-scroll-into-view');
@@ -2,6 +2,6 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var version = "3.0.0-rc.15";
5
+ var version = "3.0.0-rc.16";
6
6
 
7
7
  exports.default = version;
package/dist/es/index.js CHANGED
@@ -30,8 +30,8 @@ export { default as ReactiveBase } from './ReactiveBase.js';
30
30
  import 'hotkeys-js';
31
31
  import 'remarkable';
32
32
  import 'xss';
33
- import { i as install } from './install-74c9185a.js';
34
- export { A as AIAnswer, R as ReactiveComponentPrivate, S as SearchBox, T as TreeList, i as install } from './install-74c9185a.js';
33
+ import { i as install } from './install-28637a98.js';
34
+ export { A as AIAnswer, R as ReactiveComponentPrivate, S as SearchBox, T as TreeList, i as install } from './install-28637a98.js';
35
35
  import './DropDown-845623df.js';
36
36
  import './Input-83dee8c5.js';
37
37
  import 'compute-scroll-into-view';
@@ -1708,7 +1708,7 @@ var SearchBox = defineComponent({
1708
1708
  },
1709
1709
  handleFeaturedSuggestionClicked: function handleFeaturedSuggestionClicked(suggestion) {
1710
1710
  try {
1711
- var _this$$refs2, _this$$refs2$this$$pr;
1711
+ var _this$$refs2;
1712
1712
  if (suggestion.action === featuredSuggestionsActionTypes.NAVIGATE) {
1713
1713
  var _JSON$parse = JSON.parse(suggestion.subAction),
1714
1714
  _JSON$parse$target = _JSON$parse.target,
@@ -1735,7 +1735,7 @@ var SearchBox = defineComponent({
1735
1735
  // else Downshift probably is focusing the dropdown
1736
1736
  // and not letting it close
1737
1737
  // eslint-disable-next-line no-unused-expressions
1738
- (_this$$refs2 = this.$refs) == null ? void 0 : (_this$$refs2$this$$pr = _this$$refs2[this.$props.innerRef]) == null ? void 0 : _this$$refs2$this$$pr.blur();
1738
+ (_this$$refs2 = this.$refs) == null || (_this$$refs2 = _this$$refs2[this.$props.innerRef]) == null ? void 0 : _this$$refs2.blur();
1739
1739
  } catch (e) {
1740
1740
  console.error("Error: There was an error parsing the subAction for the featured suggestion with label, \"" + suggestion.label + "\"", e);
1741
1741
  }
@@ -2022,14 +2022,14 @@ var SearchBox = defineComponent({
2022
2022
  })]);
2023
2023
  },
2024
2024
  focusSearchBox: function focusSearchBox(event) {
2025
- var _this$$refs3, _this$$refs3$this$$pr, _this$$refs3$this$$pr2;
2025
+ var _this$$refs3;
2026
2026
  var elt = event.target || event.srcElement;
2027
2027
  var tagName = elt.tagName;
2028
2028
  if (elt.isContentEditable || tagName === 'INPUT' || tagName === 'SELECT' || tagName === 'TEXTAREA') {
2029
2029
  // already in an input
2030
2030
  return;
2031
2031
  }
2032
- (_this$$refs3 = this.$refs) == null ? void 0 : (_this$$refs3$this$$pr = _this$$refs3[this.$props.innerRef]) == null ? void 0 : (_this$$refs3$this$$pr2 = _this$$refs3$this$$pr.$el) == null ? void 0 : _this$$refs3$this$$pr2.focus(); // eslint-disable-line
2032
+ (_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
2033
2033
  },
2034
2034
  listenForFocusShortcuts: function listenForFocusShortcuts() {
2035
2035
  var _this9 = this;
@@ -3085,9 +3085,9 @@ var AIAnswer = defineComponent({
3085
3085
  return getComponent(data, this);
3086
3086
  },
3087
3087
  handleTextAreaHeightChange: function handleTextAreaHeightChange() {
3088
- var _this$$refs, _this$$refs$_inputRef, _this$$refs2, _this$$refs2$_inputWr, _this$$refs3;
3089
- var textArea = (_this$$refs = this.$refs) == null ? void 0 : (_this$$refs$_inputRef = _this$$refs[_inputRef]) == null ? void 0 : _this$$refs$_inputRef.$el;
3090
- var inputWrapper = (_this$$refs2 = this.$refs) == null ? void 0 : (_this$$refs2$_inputWr = _this$$refs2[_inputWrapperRef]) == null ? void 0 : _this$$refs2$_inputWr.$el;
3088
+ var _this$$refs, _this$$refs2, _this$$refs3;
3089
+ var textArea = (_this$$refs = this.$refs) == null || (_this$$refs = _this$$refs[_inputRef]) == null ? void 0 : _this$$refs.$el;
3090
+ var inputWrapper = (_this$$refs2 = this.$refs) == null || (_this$$refs2 = _this$$refs2[_inputWrapperRef]) == null ? void 0 : _this$$refs2.$el;
3091
3091
  var errorContainer = (_this$$refs3 = this.$refs) == null ? void 0 : _this$$refs3[_errorContainerRef];
3092
3092
  if (textArea) {
3093
3093
  textArea.style.height = '42px';
@@ -30,7 +30,7 @@ import './ReactiveBase.js';
30
30
  import 'hotkeys-js';
31
31
  import 'remarkable';
32
32
  import 'xss';
33
- export { i as default } from './install-74c9185a.js';
33
+ export { i as default } from './install-28637a98.js';
34
34
  import './DropDown-845623df.js';
35
35
  import './Input-83dee8c5.js';
36
36
  import 'compute-scroll-into-view';
@@ -1,3 +1,3 @@
1
- var version = "3.0.0-rc.15";
1
+ var version = "3.0.0-rc.16";
2
2
 
3
3
  export default version;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@appbaseio/reactivesearch-vue",
3
- "version": "3.0.0-rc.15",
3
+ "version": "3.0.0-rc.16",
4
4
  "private": false,
5
5
  "main": "dist/cjs/index.js",
6
6
  "jsnext:main": "dist/es/index.js",