@appbaseio/reactivesearch-vue 3.0.0-rc.14 → 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-a446da53.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');
@@ -1113,7 +1113,6 @@ var SearchBox = vue.defineComponent({
1113
1113
  selectedTags: [],
1114
1114
  isOpen: false,
1115
1115
  normalizedSuggestions: [],
1116
- parsedSuggestions: [],
1117
1116
  showAIScreen: false,
1118
1117
  showAIScreenFooter: false,
1119
1118
  showFeedbackComponent: false,
@@ -1158,6 +1157,34 @@ var SearchBox = vue.defineComponent({
1158
1157
  },
1159
1158
  stats: function stats() {
1160
1159
  return getResultStats(this);
1160
+ },
1161
+ parsedSuggestions: function parsedSuggestions() {
1162
+ var suggestionsArray = [];
1163
+ if (Array.isArray(this.suggestions) && this.suggestions.length) {
1164
+ suggestionsArray = [].concat(withClickIds(this.suggestions));
1165
+ }
1166
+ suggestionsArray = suggestionsArray.map(function (s) {
1167
+ if (s.sectionId) {
1168
+ return s;
1169
+ }
1170
+ return _rollupPluginBabelHelpers._extends({}, s, {
1171
+ sectionId: s._suggestion_type
1172
+ });
1173
+ });
1174
+ var sectionsAccumulated = [];
1175
+ var sectionisedSuggestions = suggestionsArray.reduce(function (acc, d, currentIndex) {
1176
+ if (sectionsAccumulated.includes(d.sectionId)) return acc;
1177
+ if (d.sectionId) {
1178
+ acc[currentIndex] = suggestionsArray.filter(function (g) {
1179
+ return g.sectionId === d.sectionId;
1180
+ });
1181
+ sectionsAccumulated.push(d.sectionId);
1182
+ } else {
1183
+ acc[currentIndex] = d;
1184
+ }
1185
+ return acc;
1186
+ }, {});
1187
+ return Object.values(sectionisedSuggestions);
1161
1188
  }
1162
1189
  },
1163
1190
  props: {
@@ -1296,28 +1323,6 @@ var SearchBox = vue.defineComponent({
1296
1323
  suggestionsList = [].concat(withClickIds(this.$props.defaultSuggestions));
1297
1324
  }
1298
1325
  this.normalizedSuggestions = suggestionsList;
1299
- suggestionsList = suggestionsList.map(function (s) {
1300
- if (s.sectionId) {
1301
- return s;
1302
- }
1303
- return _rollupPluginBabelHelpers._extends({}, s, {
1304
- sectionId: s._suggestion_type
1305
- });
1306
- });
1307
- var sectionsAccumulated = [];
1308
- var sectionisedSuggestions = suggestionsList.reduce(function (acc, d, currentIndex) {
1309
- if (sectionsAccumulated.includes(d.sectionId)) return acc;
1310
- if (d.sectionId) {
1311
- acc[currentIndex] = suggestionsList.filter(function (g) {
1312
- return g.sectionId === d.sectionId;
1313
- });
1314
- sectionsAccumulated.push(d.sectionId);
1315
- } else {
1316
- acc[currentIndex] = d;
1317
- }
1318
- return acc;
1319
- }, {});
1320
- this.parsedSuggestions = Object.values(sectionisedSuggestions);
1321
1326
  this.handleTextAreaHeightChange();
1322
1327
  },
1323
1328
  selectedValue: function selectedValue(newVal, oldVal) {
@@ -1334,11 +1339,7 @@ var SearchBox = vue.defineComponent({
1334
1339
  if (this.$options.isTagsMode) {
1335
1340
  cause = reactivecore.causes.SUGGESTION_SELECT;
1336
1341
  }
1337
- if (this.$props.value === undefined) {
1338
- this.setValue(newVal, newVal === '', this.$props, cause, false);
1339
- } else {
1340
- this.setValue(newVal || '', true, this.$props, cause);
1341
- }
1342
+ this.setValue(newVal || '', true, this.$props, cause);
1342
1343
  }
1343
1344
  },
1344
1345
  focusShortcuts: function focusShortcuts() {
@@ -1621,9 +1622,7 @@ var SearchBox = vue.defineComponent({
1621
1622
  handleVoiceResults: function handleVoiceResults(_ref) {
1622
1623
  var results = _ref.results;
1623
1624
  if (results && results[0] && results[0].isFinal && results[0][0] && results[0][0].transcript && results[0][0].transcript.trim()) {
1624
- var _this$$refs2, _this$$refs2$this$$pr, _this$$refs2$this$$pr2;
1625
1625
  this.setValue(results[0][0].transcript.trim(), true);
1626
- (_this$$refs2 = this.$refs) == null ? void 0 : (_this$$refs2$this$$pr = _this$$refs2[this.$props.innerRef]) == null ? void 0 : (_this$$refs2$this$$pr2 = _this$$refs2$this$$pr.$el) == null ? void 0 : _this$$refs2$this$$pr2.focus(); // eslint-disable-line
1627
1626
  }
1628
1627
  },
1629
1628
  triggerQuery: function triggerQuery(_ref2) {
@@ -1663,8 +1662,6 @@ var SearchBox = vue.defineComponent({
1663
1662
  clearValue: function clearValue() {
1664
1663
  this.setValue('', false, this.$props, !this.$options.isTagsMode ? reactivecore.causes.CLEAR_VALUE : undefined, false);
1665
1664
  this.onValueSelectedHandler('', !this.$options.isTagsMode ? reactivecore.causes.CLEAR_VALUE : undefined);
1666
- this.showAIScreen = false;
1667
- this.isOpen = false;
1668
1665
  },
1669
1666
  handleKeyDown: function handleKeyDown(event, highlightedIndex) {
1670
1667
  if (highlightedIndex === void 0) {
@@ -1700,7 +1697,7 @@ var SearchBox = vue.defineComponent({
1700
1697
  }
1701
1698
  var value = this.$props.value;
1702
1699
  if (value === undefined) {
1703
- this.setValue(inputValue, inputValue === '', this.$props, undefined, false);
1700
+ this.setValue(inputValue, false, this.$props, undefined);
1704
1701
  } else {
1705
1702
  this.$emit('change', inputValue, function (_ref3) {
1706
1703
  var isOpen = _ref3.isOpen;
@@ -1715,7 +1712,7 @@ var SearchBox = vue.defineComponent({
1715
1712
  },
1716
1713
  handleFeaturedSuggestionClicked: function handleFeaturedSuggestionClicked(suggestion) {
1717
1714
  try {
1718
- var _this$$refs3, _this$$refs3$this$$pr, _this$$refs3$this$$pr2;
1715
+ var _this$$refs2;
1719
1716
  if (suggestion.action === helper.featuredSuggestionsActionTypes.NAVIGATE) {
1720
1717
  var _JSON$parse = JSON.parse(suggestion.subAction),
1721
1718
  _JSON$parse$target = _JSON$parse.target,
@@ -1734,7 +1731,7 @@ var SearchBox = vue.defineComponent({
1734
1731
  func(suggestion, this.$data.currentValue, this.$props.customEvents);
1735
1732
  }
1736
1733
  if (suggestion.action === helper.featuredSuggestionsActionTypes.SELECT) {
1737
- this.setValue(suggestion.value, true, this.$props, this.$options.isTagsMode.current ? reactivecore.causes.SUGGESTION_SELECT : reactivecore.causes.ENTER_PRESS, false);
1734
+ this.setValue(suggestion.value, true, this.$props, this.$options.isTagsMode.current ? reactivecore.causes.SUGGESTION_SELECT : reactivecore.causes.ENTER_PRESS);
1738
1735
  this.onValueSelectedHandler(suggestion.value, reactivecore.causes.SUGGESTION_SELECT);
1739
1736
  }
1740
1737
  // blur is important to close the dropdown
@@ -1742,7 +1739,7 @@ var SearchBox = vue.defineComponent({
1742
1739
  // else Downshift probably is focusing the dropdown
1743
1740
  // and not letting it close
1744
1741
  // eslint-disable-next-line no-unused-expressions
1745
- (_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.blur();
1742
+ (_this$$refs2 = this.$refs) == null || (_this$$refs2 = _this$$refs2[this.$props.innerRef]) == null ? void 0 : _this$$refs2.blur();
1746
1743
  } catch (e) {
1747
1744
  console.error("Error: There was an error parsing the subAction for the featured suggestion with label, \"" + suggestion.label + "\"", e);
1748
1745
  }
@@ -2029,14 +2026,14 @@ var SearchBox = vue.defineComponent({
2029
2026
  })]);
2030
2027
  },
2031
2028
  focusSearchBox: function focusSearchBox(event) {
2032
- var _this$$refs4, _this$$refs4$this$$pr, _this$$refs4$this$$pr2;
2029
+ var _this$$refs3;
2033
2030
  var elt = event.target || event.srcElement;
2034
2031
  var tagName = elt.tagName;
2035
2032
  if (elt.isContentEditable || tagName === 'INPUT' || tagName === 'SELECT' || tagName === 'TEXTAREA') {
2036
2033
  // already in an input
2037
2034
  return;
2038
2035
  }
2039
- (_this$$refs4 = this.$refs) == null ? void 0 : (_this$$refs4$this$$pr = _this$$refs4[this.$props.innerRef]) == null ? void 0 : (_this$$refs4$this$$pr2 = _this$$refs4$this$$pr.$el) == null ? void 0 : _this$$refs4$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
2040
2037
  },
2041
2038
  listenForFocusShortcuts: function listenForFocusShortcuts() {
2042
2039
  var _this9 = this;
@@ -2469,7 +2466,7 @@ var SearchBox = vue.defineComponent({
2469
2466
  }), _transformOn(getItemEvents({
2470
2467
  item: sectionItem
2471
2468
  })), {
2472
- "key": sectionItem._id + "_" + index + "_" + sectionIndex,
2469
+ "key": index + sectionIndex,
2473
2470
  "style": {
2474
2471
  justifyContent: 'flex-start',
2475
2472
  alignItems: 'center'
@@ -3092,9 +3089,9 @@ var AIAnswer = vue.defineComponent({
3092
3089
  return index.getComponent(data, this);
3093
3090
  },
3094
3091
  handleTextAreaHeightChange: function handleTextAreaHeightChange() {
3095
- var _this$$refs, _this$$refs$_inputRef, _this$$refs2, _this$$refs2$_inputWr, _this$$refs3;
3096
- var textArea = (_this$$refs = this.$refs) == null ? void 0 : (_this$$refs$_inputRef = _this$$refs[_inputRef]) == null ? void 0 : _this$$refs$_inputRef.$el;
3097
- 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;
3098
3095
  var errorContainer = (_this$$refs3 = this.$refs) == null ? void 0 : _this$$refs3[_errorContainerRef];
3099
3096
  if (textArea) {
3100
3097
  textArea.style.height = '42px';
@@ -3994,7 +3991,7 @@ var TreeList = {
3994
3991
  }), _this4.renderSearch(), _this4.hasCustomRenderer ? _this4.getComponent() : vue.createVNode(HierarchicalMenuComponent, {
3995
3992
  "key": "initial-node",
3996
3993
  "listArray": transformedData,
3997
- "parentPath": true,
3994
+ "parentPath": "",
3998
3995
  "isExpanded": true,
3999
3996
  "listItemProps": {
4000
3997
  mode: mode,
@@ -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-a446da53.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.14";
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-97d87a4d.js';
34
- export { A as AIAnswer, R as ReactiveComponentPrivate, S as SearchBox, T as TreeList, i as install } from './install-97d87a4d.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';
@@ -1109,7 +1109,6 @@ var SearchBox = defineComponent({
1109
1109
  selectedTags: [],
1110
1110
  isOpen: false,
1111
1111
  normalizedSuggestions: [],
1112
- parsedSuggestions: [],
1113
1112
  showAIScreen: false,
1114
1113
  showAIScreenFooter: false,
1115
1114
  showFeedbackComponent: false,
@@ -1154,6 +1153,34 @@ var SearchBox = defineComponent({
1154
1153
  },
1155
1154
  stats: function stats() {
1156
1155
  return getResultStats(this);
1156
+ },
1157
+ parsedSuggestions: function parsedSuggestions() {
1158
+ var suggestionsArray = [];
1159
+ if (Array.isArray(this.suggestions) && this.suggestions.length) {
1160
+ suggestionsArray = [].concat(withClickIds(this.suggestions));
1161
+ }
1162
+ suggestionsArray = suggestionsArray.map(function (s) {
1163
+ if (s.sectionId) {
1164
+ return s;
1165
+ }
1166
+ return _extends({}, s, {
1167
+ sectionId: s._suggestion_type
1168
+ });
1169
+ });
1170
+ var sectionsAccumulated = [];
1171
+ var sectionisedSuggestions = suggestionsArray.reduce(function (acc, d, currentIndex) {
1172
+ if (sectionsAccumulated.includes(d.sectionId)) return acc;
1173
+ if (d.sectionId) {
1174
+ acc[currentIndex] = suggestionsArray.filter(function (g) {
1175
+ return g.sectionId === d.sectionId;
1176
+ });
1177
+ sectionsAccumulated.push(d.sectionId);
1178
+ } else {
1179
+ acc[currentIndex] = d;
1180
+ }
1181
+ return acc;
1182
+ }, {});
1183
+ return Object.values(sectionisedSuggestions);
1157
1184
  }
1158
1185
  },
1159
1186
  props: {
@@ -1292,28 +1319,6 @@ var SearchBox = defineComponent({
1292
1319
  suggestionsList = [].concat(withClickIds(this.$props.defaultSuggestions));
1293
1320
  }
1294
1321
  this.normalizedSuggestions = suggestionsList;
1295
- suggestionsList = suggestionsList.map(function (s) {
1296
- if (s.sectionId) {
1297
- return s;
1298
- }
1299
- return _extends({}, s, {
1300
- sectionId: s._suggestion_type
1301
- });
1302
- });
1303
- var sectionsAccumulated = [];
1304
- var sectionisedSuggestions = suggestionsList.reduce(function (acc, d, currentIndex) {
1305
- if (sectionsAccumulated.includes(d.sectionId)) return acc;
1306
- if (d.sectionId) {
1307
- acc[currentIndex] = suggestionsList.filter(function (g) {
1308
- return g.sectionId === d.sectionId;
1309
- });
1310
- sectionsAccumulated.push(d.sectionId);
1311
- } else {
1312
- acc[currentIndex] = d;
1313
- }
1314
- return acc;
1315
- }, {});
1316
- this.parsedSuggestions = Object.values(sectionisedSuggestions);
1317
1322
  this.handleTextAreaHeightChange();
1318
1323
  },
1319
1324
  selectedValue: function selectedValue(newVal, oldVal) {
@@ -1330,11 +1335,7 @@ var SearchBox = defineComponent({
1330
1335
  if (this.$options.isTagsMode) {
1331
1336
  cause = causes.SUGGESTION_SELECT;
1332
1337
  }
1333
- if (this.$props.value === undefined) {
1334
- this.setValue(newVal, newVal === '', this.$props, cause, false);
1335
- } else {
1336
- this.setValue(newVal || '', true, this.$props, cause);
1337
- }
1338
+ this.setValue(newVal || '', true, this.$props, cause);
1338
1339
  }
1339
1340
  },
1340
1341
  focusShortcuts: function focusShortcuts() {
@@ -1617,9 +1618,7 @@ var SearchBox = defineComponent({
1617
1618
  handleVoiceResults: function handleVoiceResults(_ref) {
1618
1619
  var results = _ref.results;
1619
1620
  if (results && results[0] && results[0].isFinal && results[0][0] && results[0][0].transcript && results[0][0].transcript.trim()) {
1620
- var _this$$refs2, _this$$refs2$this$$pr, _this$$refs2$this$$pr2;
1621
1621
  this.setValue(results[0][0].transcript.trim(), true);
1622
- (_this$$refs2 = this.$refs) == null ? void 0 : (_this$$refs2$this$$pr = _this$$refs2[this.$props.innerRef]) == null ? void 0 : (_this$$refs2$this$$pr2 = _this$$refs2$this$$pr.$el) == null ? void 0 : _this$$refs2$this$$pr2.focus(); // eslint-disable-line
1623
1622
  }
1624
1623
  },
1625
1624
  triggerQuery: function triggerQuery(_ref2) {
@@ -1659,8 +1658,6 @@ var SearchBox = defineComponent({
1659
1658
  clearValue: function clearValue() {
1660
1659
  this.setValue('', false, this.$props, !this.$options.isTagsMode ? causes.CLEAR_VALUE : undefined, false);
1661
1660
  this.onValueSelectedHandler('', !this.$options.isTagsMode ? causes.CLEAR_VALUE : undefined);
1662
- this.showAIScreen = false;
1663
- this.isOpen = false;
1664
1661
  },
1665
1662
  handleKeyDown: function handleKeyDown(event, highlightedIndex) {
1666
1663
  if (highlightedIndex === void 0) {
@@ -1696,7 +1693,7 @@ var SearchBox = defineComponent({
1696
1693
  }
1697
1694
  var value = this.$props.value;
1698
1695
  if (value === undefined) {
1699
- this.setValue(inputValue, inputValue === '', this.$props, undefined, false);
1696
+ this.setValue(inputValue, false, this.$props, undefined);
1700
1697
  } else {
1701
1698
  this.$emit('change', inputValue, function (_ref3) {
1702
1699
  var isOpen = _ref3.isOpen;
@@ -1711,7 +1708,7 @@ var SearchBox = defineComponent({
1711
1708
  },
1712
1709
  handleFeaturedSuggestionClicked: function handleFeaturedSuggestionClicked(suggestion) {
1713
1710
  try {
1714
- var _this$$refs3, _this$$refs3$this$$pr, _this$$refs3$this$$pr2;
1711
+ var _this$$refs2;
1715
1712
  if (suggestion.action === featuredSuggestionsActionTypes.NAVIGATE) {
1716
1713
  var _JSON$parse = JSON.parse(suggestion.subAction),
1717
1714
  _JSON$parse$target = _JSON$parse.target,
@@ -1730,7 +1727,7 @@ var SearchBox = defineComponent({
1730
1727
  func(suggestion, this.$data.currentValue, this.$props.customEvents);
1731
1728
  }
1732
1729
  if (suggestion.action === featuredSuggestionsActionTypes.SELECT) {
1733
- this.setValue(suggestion.value, true, this.$props, this.$options.isTagsMode.current ? causes.SUGGESTION_SELECT : causes.ENTER_PRESS, false);
1730
+ this.setValue(suggestion.value, true, this.$props, this.$options.isTagsMode.current ? causes.SUGGESTION_SELECT : causes.ENTER_PRESS);
1734
1731
  this.onValueSelectedHandler(suggestion.value, causes.SUGGESTION_SELECT);
1735
1732
  }
1736
1733
  // blur is important to close the dropdown
@@ -1738,7 +1735,7 @@ var SearchBox = defineComponent({
1738
1735
  // else Downshift probably is focusing the dropdown
1739
1736
  // and not letting it close
1740
1737
  // eslint-disable-next-line no-unused-expressions
1741
- (_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.blur();
1738
+ (_this$$refs2 = this.$refs) == null || (_this$$refs2 = _this$$refs2[this.$props.innerRef]) == null ? void 0 : _this$$refs2.blur();
1742
1739
  } catch (e) {
1743
1740
  console.error("Error: There was an error parsing the subAction for the featured suggestion with label, \"" + suggestion.label + "\"", e);
1744
1741
  }
@@ -2025,14 +2022,14 @@ var SearchBox = defineComponent({
2025
2022
  })]);
2026
2023
  },
2027
2024
  focusSearchBox: function focusSearchBox(event) {
2028
- var _this$$refs4, _this$$refs4$this$$pr, _this$$refs4$this$$pr2;
2025
+ var _this$$refs3;
2029
2026
  var elt = event.target || event.srcElement;
2030
2027
  var tagName = elt.tagName;
2031
2028
  if (elt.isContentEditable || tagName === 'INPUT' || tagName === 'SELECT' || tagName === 'TEXTAREA') {
2032
2029
  // already in an input
2033
2030
  return;
2034
2031
  }
2035
- (_this$$refs4 = this.$refs) == null ? void 0 : (_this$$refs4$this$$pr = _this$$refs4[this.$props.innerRef]) == null ? void 0 : (_this$$refs4$this$$pr2 = _this$$refs4$this$$pr.$el) == null ? void 0 : _this$$refs4$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
2036
2033
  },
2037
2034
  listenForFocusShortcuts: function listenForFocusShortcuts() {
2038
2035
  var _this9 = this;
@@ -2465,7 +2462,7 @@ var SearchBox = defineComponent({
2465
2462
  }), _transformOn(getItemEvents({
2466
2463
  item: sectionItem
2467
2464
  })), {
2468
- "key": sectionItem._id + "_" + index + "_" + sectionIndex,
2465
+ "key": index + sectionIndex,
2469
2466
  "style": {
2470
2467
  justifyContent: 'flex-start',
2471
2468
  alignItems: 'center'
@@ -3088,9 +3085,9 @@ var AIAnswer = defineComponent({
3088
3085
  return getComponent(data, this);
3089
3086
  },
3090
3087
  handleTextAreaHeightChange: function handleTextAreaHeightChange() {
3091
- var _this$$refs, _this$$refs$_inputRef, _this$$refs2, _this$$refs2$_inputWr, _this$$refs3;
3092
- var textArea = (_this$$refs = this.$refs) == null ? void 0 : (_this$$refs$_inputRef = _this$$refs[_inputRef]) == null ? void 0 : _this$$refs$_inputRef.$el;
3093
- 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;
3094
3091
  var errorContainer = (_this$$refs3 = this.$refs) == null ? void 0 : _this$$refs3[_errorContainerRef];
3095
3092
  if (textArea) {
3096
3093
  textArea.style.height = '42px';
@@ -3990,7 +3987,7 @@ var TreeList = {
3990
3987
  }), _this4.renderSearch(), _this4.hasCustomRenderer ? _this4.getComponent() : createVNode(HierarchicalMenuComponent, {
3991
3988
  "key": "initial-node",
3992
3989
  "listArray": transformedData,
3993
- "parentPath": true,
3990
+ "parentPath": "",
3994
3991
  "isExpanded": true,
3995
3992
  "listItemProps": {
3996
3993
  mode: mode,
@@ -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-97d87a4d.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.14";
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.14",
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",
@@ -36,7 +36,7 @@
36
36
  "sideEffects": false,
37
37
  "dependencies": {
38
38
  "@appbaseio/analytics": "^1.2.0-alpha.1",
39
- "@appbaseio/reactivecore": "10.0.0-alpha.28",
39
+ "@appbaseio/reactivecore": "10.0.0-alpha.30",
40
40
  "@appbaseio/vue-emotion": "0.6.0-alpha.6",
41
41
  "@emotion/css": "^11.10.5",
42
42
  "@vue/babel-helper-vue-jsx-merge-props": "^1.0.0",