@appbaseio/reactivesearch-vue 1.31.0 → 1.32.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (89) hide show
  1. package/dist/@appbaseio/reactivesearch-vue.umd.js +9763 -316
  2. package/dist/@appbaseio/reactivesearch-vue.umd.js.map +1 -1
  3. package/dist/@appbaseio/reactivesearch-vue.umd.min.js +21 -5
  4. package/dist/@appbaseio/reactivesearch-vue.umd.min.js.map +1 -1
  5. package/dist/cjs/{Button-0e2e2c02.js → Button-0673191e.js} +6 -6
  6. package/dist/cjs/{CancelSvg-c48c1085.js → CancelSvg-9f258f4f.js} +1 -1
  7. package/dist/cjs/{Card-4fa0f769.js → Card-642547a8.js} +2 -2
  8. package/dist/cjs/{ComponentWrapper-6909bc2a.js → ComponentWrapper-ad3dad02.js} +2 -2
  9. package/dist/cjs/{Container-cfd69a34.js → Container-daf30918.js} +1 -1
  10. package/dist/cjs/{DataSearch-a8fabd77.js → DataSearch-d389fbe7.js} +126 -111
  11. package/dist/cjs/DataSearch.js +10 -10
  12. package/dist/cjs/{DropDown-aa358fff.js → DropDown-c479bbb0.js} +5 -5
  13. package/dist/cjs/DynamicRangeSlider.js +6 -6
  14. package/dist/cjs/{Flex-63774e4d.js → Flex-aa517a13.js} +1 -1
  15. package/dist/cjs/{FormControlList-a9c64bb8.js → FormControlList-c195a592.js} +1 -1
  16. package/dist/cjs/{Input-43868594.js → Input-e6603a7e.js} +1 -1
  17. package/dist/cjs/{ListItem-38962297.js → ListItem-8c9e0d68.js} +2 -2
  18. package/dist/cjs/MultiDropdownList.js +11 -11
  19. package/dist/cjs/MultiList.js +9 -9
  20. package/dist/cjs/MultiRange.js +7 -7
  21. package/dist/cjs/Pagination-3d73e1b3.js +182 -0
  22. package/dist/cjs/RangeInput.js +9 -9
  23. package/dist/cjs/RangeSlider.js +7 -7
  24. package/dist/cjs/ReactiveBase.js +6 -22
  25. package/dist/cjs/ReactiveComponent.js +4 -4
  26. package/dist/cjs/ReactiveGoogleMap.js +2363 -0
  27. package/dist/cjs/ReactiveList.js +19 -191
  28. package/dist/cjs/ResultCard.js +4 -4
  29. package/dist/cjs/ResultList.js +4 -4
  30. package/dist/cjs/SelectedFilters.js +6 -6
  31. package/dist/cjs/SingleDropdownList.js +11 -11
  32. package/dist/cjs/SingleList.js +9 -9
  33. package/dist/cjs/SingleRange.js +7 -7
  34. package/dist/cjs/StateProvider.js +65 -22
  35. package/dist/cjs/{Title-26661936.js → Title-1de7d0f4.js} +1 -1
  36. package/dist/cjs/ToggleButton.js +7 -7
  37. package/dist/cjs/{_rollupPluginBabelHelpers-91d4b5a6.js → _rollupPluginBabelHelpers-c705cbe6.js} +16 -0
  38. package/dist/cjs/{index-2e0ea8d8.js → index-6a167fe0.js} +1 -1
  39. package/dist/cjs/index.js +23 -18
  40. package/dist/cjs/initReactivesearch.js +8 -4
  41. package/dist/cjs/{install-27314778.js → install-3b864d8f.js} +10 -10
  42. package/dist/cjs/install.js +19 -18
  43. package/dist/cjs/{ssr-949cafb5.js → ssr-3027b848.js} +1 -1
  44. package/dist/cjs/{utils-0df3cb93.js → utils-d6a52588.js} +1 -1
  45. package/dist/cjs/version.js +1 -1
  46. package/dist/cjs/{vueTypes-3970ff42.js → vueTypes-727b7c63.js} +24 -13
  47. package/dist/es/{Button-e18ad90f.js → Button-35aa984e.js} +6 -6
  48. package/dist/es/{CancelSvg-e3b33cdd.js → CancelSvg-4cfae5fd.js} +1 -1
  49. package/dist/es/{Card-ad6ba09f.js → Card-450683f1.js} +2 -2
  50. package/dist/es/{ComponentWrapper-ca0354ea.js → ComponentWrapper-424e86fd.js} +2 -2
  51. package/dist/es/{Container-421450dc.js → Container-ba826e96.js} +1 -1
  52. package/dist/es/{DataSearch-da9347f7.js → DataSearch-b88ef6ee.js} +126 -111
  53. package/dist/es/DataSearch.js +10 -10
  54. package/dist/es/{DropDown-604374d2.js → DropDown-05a644a5.js} +5 -5
  55. package/dist/es/DynamicRangeSlider.js +6 -6
  56. package/dist/es/{Flex-09d40927.js → Flex-1f0795c3.js} +1 -1
  57. package/dist/es/{FormControlList-38ffe3d3.js → FormControlList-c22d64f6.js} +1 -1
  58. package/dist/es/{Input-c9d757bc.js → Input-7a2a9fac.js} +1 -1
  59. package/dist/es/{ListItem-41d6ddd7.js → ListItem-cad14c5e.js} +2 -2
  60. package/dist/es/MultiDropdownList.js +11 -11
  61. package/dist/es/MultiList.js +9 -9
  62. package/dist/es/MultiRange.js +7 -7
  63. package/dist/es/Pagination-af9de08f.js +177 -0
  64. package/dist/es/RangeInput.js +9 -9
  65. package/dist/es/RangeSlider.js +7 -7
  66. package/dist/es/ReactiveBase.js +6 -22
  67. package/dist/es/ReactiveComponent.js +4 -4
  68. package/dist/es/ReactiveGoogleMap.js +2354 -0
  69. package/dist/es/ReactiveList.js +18 -190
  70. package/dist/es/ResultCard.js +4 -4
  71. package/dist/es/ResultList.js +4 -4
  72. package/dist/es/SelectedFilters.js +6 -6
  73. package/dist/es/SingleDropdownList.js +11 -11
  74. package/dist/es/SingleList.js +9 -9
  75. package/dist/es/SingleRange.js +7 -7
  76. package/dist/es/StateProvider.js +65 -22
  77. package/dist/es/{Title-35edd732.js → Title-3342664a.js} +1 -1
  78. package/dist/es/ToggleButton.js +7 -7
  79. package/dist/es/{_rollupPluginBabelHelpers-51ce1182.js → _rollupPluginBabelHelpers-76660dab.js} +16 -1
  80. package/dist/es/{index-4715798c.js → index-7788a843.js} +1 -1
  81. package/dist/es/index.js +23 -19
  82. package/dist/es/initReactivesearch.js +8 -4
  83. package/dist/es/{install-5d9cb7ed.js → install-a1fd08ae.js} +10 -10
  84. package/dist/es/install.js +19 -18
  85. package/dist/es/{ssr-ad57b0ad.js → ssr-b2c0b401.js} +1 -1
  86. package/dist/es/{utils-9b45e0ab.js → utils-9e68acee.js} +1 -1
  87. package/dist/es/version.js +1 -1
  88. package/dist/es/{vueTypes-c0d8b875.js → vueTypes-b8146772.js} +24 -13
  89. package/package.json +9 -3
@@ -2,7 +2,7 @@
2
2
 
3
3
  function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
4
4
 
5
- var _rollupPluginBabelHelpers = require('./_rollupPluginBabelHelpers-91d4b5a6.js');
5
+ var _rollupPluginBabelHelpers = require('./_rollupPluginBabelHelpers-c705cbe6.js');
6
6
  var emotion = require('emotion');
7
7
  var styled = require('@appbaseio/vue-emotion');
8
8
  var styled__default = _interopDefault(styled);
@@ -12,12 +12,12 @@ var _templateObject, _templateObject2, _templateObject3, _templateObject4, _temp
12
12
 
13
13
  var filters = function filters(_ref) {
14
14
  var borderColor = _ref.colors.borderColor;
15
- return emotion.css(_templateObject || (_templateObject = _rollupPluginBabelHelpers._taggedTemplateLiteralLoose(["\n\tmargin: 0 -3px;\n\tmax-width: 100%;\n\n\ta {\n\t\tmargin: 2px 3px;\n\t\tpadding: 5px 8px;\n\t\tfont-size: 0.85rem;\n\t\tposition: relative;\n\n\t\tspan:first-child {\n\t\t\tmax-width: 260px;\n\t\t\twhite-space: nowrap;\n\t\t\toverflow: hidden;\n\t\t\ttext-overflow: ellipsis;\n\t\t\tmargin-right: 26px;\n\t\t}\n\n\t\tspan:last-child {\n\t\t\tdisplay: flex;\n\t\t\theight: 100%;\n\t\t\ttop: 0;\n\t\t\tright: 8px;\n\t\t\tposition: absolute;\n\t\t\talign-items: center;\n\t\t\tborder-left: 1px solid ", ";\n\t\t\tpadding-left: 8px;\n\t\t\tmargin-left: 8px;\n\t\t}\n\n\t\t&:hover,\n\t\t&:focus {\n\t\t\tspan:first-child {\n\t\t\t\ttext-decoration: line-through;\n\t\t\t}\n\t\t}\n\t}\n"])), borderColor || '#fff');
15
+ return emotion.css(_templateObject || (_templateObject = _rollupPluginBabelHelpers._taggedTemplateLiteralLoose(["\n\tmargin: 0 -3px;\n\tmax-width: 100%;\n\n\tbutton {\n\t\tmargin: 2px 3px;\n\t\tpadding: 5px 8px;\n\t\tfont-size: 0.85rem;\n\t\tposition: relative;\n\n\t\tspan:first-child {\n\t\t\tmax-width: 260px;\n\t\t\twhite-space: nowrap;\n\t\t\toverflow: hidden;\n\t\t\ttext-overflow: ellipsis;\n\t\t\tmargin-right: 26px;\n\t\t}\n\n\t\tspan:last-child {\n\t\t\tdisplay: flex;\n\t\t\theight: 100%;\n\t\t\ttop: 0;\n\t\t\tright: 8px;\n\t\t\tposition: absolute;\n\t\t\talign-items: center;\n\t\t\tborder-left: 1px solid ", ";\n\t\t\tpadding-left: 8px;\n\t\t\tmargin-left: 8px;\n\t\t}\n\n\t\t&:hover,\n\t\t&:focus {\n\t\t\tspan:first-child {\n\t\t\t\ttext-decoration: line-through;\n\t\t\t}\n\t\t}\n\t}\n"])), borderColor || '#fff');
16
16
  };
17
17
 
18
- var pagination = emotion.css(_templateObject2 || (_templateObject2 = _rollupPluginBabelHelpers._taggedTemplateLiteralLoose(["\n\tmargin: 10px -3px;\n\tmax-width: 100%;\n\ttext-align: center;\n\n\ta {\n\t\tmargin: 0 3px;\n\t}\n"])));
19
- var toggleButtons = emotion.css(_templateObject3 || (_templateObject3 = _rollupPluginBabelHelpers._taggedTemplateLiteralLoose(["\n\tmargin: 0 -3px;\n\tmax-width: 100%;\n\n\ta {\n\t\tmargin: 3px 3px;\n\t}\n"])));
20
- var numberBoxContainer = emotion.css(_templateObject4 || (_templateObject4 = _rollupPluginBabelHelpers._taggedTemplateLiteralLoose(["\n\tmargin: 0 -5px;\n\ta {\n\t\tmargin: 5px;\n\t}\n\tspan {\n\t\tmargin: 0 5px;\n\t}\n"])));
18
+ var pagination = emotion.css(_templateObject2 || (_templateObject2 = _rollupPluginBabelHelpers._taggedTemplateLiteralLoose(["\n\tmargin: 10px -3px;\n\tmax-width: 100%;\n\ttext-align: center;\n\n\tbutton {\n\t\tmargin: 0 3px;\n\t}\n"])));
19
+ var toggleButtons = emotion.css(_templateObject3 || (_templateObject3 = _rollupPluginBabelHelpers._taggedTemplateLiteralLoose(["\n\tmargin: 0 -3px;\n\tmax-width: 100%;\n\n\tbutton {\n\t\tmargin: 3px 3px;\n\t}\n"])));
20
+ var numberBoxContainer = emotion.css(_templateObject4 || (_templateObject4 = _rollupPluginBabelHelpers._taggedTemplateLiteralLoose(["\n\tmargin: 0 -5px;\n\tbutton {\n\t\tmargin: 5px;\n\t}\n\tspan {\n\t\tmargin: 0 5px;\n\t}\n"])));
21
21
 
22
22
  var primary = function primary(_ref2) {
23
23
  var theme = _ref2.theme;
@@ -33,7 +33,7 @@ var disabled = function disabled(_ref3) {
33
33
  return emotion.css(_templateObject7 || (_templateObject7 = _rollupPluginBabelHelpers._taggedTemplateLiteralLoose(["\n\tbackground-color: ", ";\n\tcolor: #ccc;\n\tcursor: not-allowed;\n\n\t&:hover,\n\t&:focus {\n\t\tbackground-color: ", ";\n\t}\n"])), theme.colors.backgroundColor ? polished.lighten(0.1, theme.colors.backgroundColor) : '#fafafa', theme.colors.backgroundColor ? polished.lighten(0.2, theme.colors.backgroundColor) : '#fafafa');
34
34
  };
35
35
 
36
- var Button = styled__default('a')(_templateObject8 || (_templateObject8 = _rollupPluginBabelHelpers._taggedTemplateLiteralLoose(["\n\tdisplay: inline-flex;\n\tjustify-content: center;\n\talign-items: center;\n\tborder-radius: 3px;\n\tborder: 1px solid transparent;\n\tmin-height: 30px;\n\tword-wrap: break-word;\n\tpadding: 5px 12px;\n\tline-height: 1.2rem;\n\tbackground-color: ", ";\n\tcolor: ", ";\n\tcursor: pointer;\n\tuser-select: none;\n\ttransition: all 0.3s ease;\n\n\t&:hover,\n\t&:focus {\n\t\tbackground-color: ", ";\n\t}\n\n\t&:focus {\n\t\toutline: 0;\n\t\tborder-color: ", ";\n\t\tbox-shadow: ", ";\n\t}\n\n\t", ";\n\t", ";\n\t", ";\n\n\t&.enter-btn {\n\t\tborder-top-left-radius: 0px;\n\t\tborder-bottom-left-radius: 0px;\n\t\theight: 100%;\n\t}\n"])), function (_ref4) {
36
+ var Button = styled__default('button')(_templateObject8 || (_templateObject8 = _rollupPluginBabelHelpers._taggedTemplateLiteralLoose(["\n\tdisplay: inline-flex;\n\tjustify-content: center;\n\talign-items: center;\n\tborder-radius: 3px;\n\tborder: 1px solid transparent;\n\tmin-height: 30px;\n\tword-wrap: break-word;\n\tpadding: 5px 12px;\n\tline-height: 1.2rem;\n\tbackground-color: ", ";\n\tcolor: ", ";\n\tcursor: pointer;\n\tuser-select: none;\n\ttransition: all 0.3s ease;\n\n\t&:hover,\n\t&:focus {\n\t\tbackground-color: ", ";\n\t}\n\n\t&:focus {\n\t\toutline: 0;\n\t\tborder-color: ", ";\n\t\tbox-shadow: ", ";\n\t}\n\n\t", ";\n\t", ";\n\t", ";\n\n\t&.enter-btn {\n\t\tborder-top-left-radius: 0px;\n\t\tborder-bottom-left-radius: 0px;\n\t\theight: 100%;\n\t}\n"])), function (_ref4) {
37
37
  var theme = _ref4.theme;
38
38
  return theme.colors.backgroundColor || '#eee';
39
39
  }, function (_ref5) {
@@ -2,7 +2,7 @@
2
2
 
3
3
  function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
4
4
 
5
- var _rollupPluginBabelHelpers = require('./_rollupPluginBabelHelpers-91d4b5a6.js');
5
+ var _rollupPluginBabelHelpers = require('./_rollupPluginBabelHelpers-c705cbe6.js');
6
6
  var styled = require('@appbaseio/vue-emotion');
7
7
  var styled__default = _interopDefault(styled);
8
8
  var computeScrollIntoView = _interopDefault(require('compute-scroll-into-view'));
@@ -2,12 +2,12 @@
2
2
 
3
3
  function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
4
4
 
5
- var _rollupPluginBabelHelpers = require('./_rollupPluginBabelHelpers-91d4b5a6.js');
5
+ var _rollupPluginBabelHelpers = require('./_rollupPluginBabelHelpers-c705cbe6.js');
6
6
  var emotion = require('emotion');
7
7
  var styled = require('@appbaseio/vue-emotion');
8
8
  var styled__default = _interopDefault(styled);
9
9
  var polished = require('polished');
10
- require('./Title-26661936.js');
10
+ require('./Title-1de7d0f4.js');
11
11
 
12
12
  var _templateObject, _templateObject2, _templateObject3;
13
13
  var container = emotion.css(_templateObject || (_templateObject = _rollupPluginBabelHelpers._taggedTemplateLiteralLoose(["\n\tdisplay: flex;\n\tflex-direction: row;\n\tjustify-content: center;\n\tflex-wrap: wrap;\n\tmargin: 0 -8px;\n\n\t@media (max-width: 420px) {\n\t\tmargin: 0;\n\t}\n"])));
@@ -4,11 +4,11 @@ function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'defau
4
4
 
5
5
  var configureStore = require('@appbaseio/reactivecore');
6
6
  var configureStore__default = _interopDefault(configureStore);
7
- var _rollupPluginBabelHelpers = require('./_rollupPluginBabelHelpers-91d4b5a6.js');
7
+ var _rollupPluginBabelHelpers = require('./_rollupPluginBabelHelpers-c705cbe6.js');
8
8
  var VueTypes = _interopDefault(require('vue-types'));
9
9
  var constants = require('@appbaseio/reactivecore/lib/utils/constants');
10
10
  var transform = require('@appbaseio/reactivecore/lib/utils/transform');
11
- var index = require('./index-2e0ea8d8.js');
11
+ var index = require('./index-6a167fe0.js');
12
12
 
13
13
  var addComponent = configureStore.Actions.addComponent,
14
14
  removeComponent = configureStore.Actions.removeComponent,
@@ -2,7 +2,7 @@
2
2
 
3
3
  function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
4
4
 
5
- var _rollupPluginBabelHelpers = require('./_rollupPluginBabelHelpers-91d4b5a6.js');
5
+ var _rollupPluginBabelHelpers = require('./_rollupPluginBabelHelpers-c705cbe6.js');
6
6
  var styled = require('@appbaseio/vue-emotion');
7
7
  var styled__default = _interopDefault(styled);
8
8
 
@@ -4,21 +4,21 @@ function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'defau
4
4
 
5
5
  var configureStore = require('@appbaseio/reactivecore');
6
6
  var configureStore__default = _interopDefault(configureStore);
7
- var _rollupPluginBabelHelpers = require('./_rollupPluginBabelHelpers-91d4b5a6.js');
7
+ var _rollupPluginBabelHelpers = require('./_rollupPluginBabelHelpers-c705cbe6.js');
8
8
  var VueTypes = _interopDefault(require('vue-types'));
9
9
  var constants = require('@appbaseio/reactivecore/lib/utils/constants');
10
10
  var helper = require('@appbaseio/reactivecore/lib/utils/helper');
11
11
  var styled = require('@appbaseio/vue-emotion');
12
12
  var styled__default = _interopDefault(styled);
13
- var vueTypes = require('./vueTypes-3970ff42.js');
14
- var index = require('./index-2e0ea8d8.js');
15
- var ComponentWrapper = require('./ComponentWrapper-6909bc2a.js');
16
- var Title = require('./Title-26661936.js');
17
- var Flex = require('./Flex-63774e4d.js');
13
+ var vueTypes = require('./vueTypes-727b7c63.js');
14
+ var index = require('./index-6a167fe0.js');
15
+ var ComponentWrapper = require('./ComponentWrapper-ad3dad02.js');
16
+ var Title = require('./Title-1de7d0f4.js');
17
+ var Flex = require('./Flex-aa517a13.js');
18
18
  var hotkeys = _interopDefault(require('hotkeys-js'));
19
- var CancelSvg = require('./CancelSvg-c48c1085.js');
20
- var Input = require('./Input-43868594.js');
21
- var Container = require('./Container-cfd69a34.js');
19
+ var CancelSvg = require('./CancelSvg-9f258f4f.js');
20
+ var Input = require('./Input-e6603a7e.js');
21
+ var Container = require('./Container-daf30918.js');
22
22
  var Highlight = _interopDefault(require('vue-highlight-words'));
23
23
 
24
24
  var _templateObject;
@@ -951,8 +951,6 @@ var DataSearch = {
951
951
  },
952
952
  created: function created() {
953
953
  var _this$$props = this.$props,
954
- enableQuerySuggestions = _this$$props.enableQuerySuggestions,
955
- renderQuerySuggestions = _this$$props.renderQuerySuggestions,
956
954
  enableRecentSearches = _this$$props.enableRecentSearches,
957
955
  distinctField = _this$$props.distinctField,
958
956
  distinctFieldConfig = _this$$props.distinctFieldConfig,
@@ -961,16 +959,6 @@ var DataSearch = {
961
959
 
962
960
  if (mode === constants.SEARCH_COMPONENTS_MODES.TAG) {
963
961
  this.$options.isTagsMode = true;
964
- } // TODO: Remove in 2.0
965
-
966
-
967
- if (enableQuerySuggestions) {
968
- console.warn('Warning(ReactiveSearch): The `enableQuerySuggestions` prop has been marked as deprecated, please use the `enablePopularSuggestions` prop instead.');
969
- } // TODO: Remove in 2.0
970
-
971
-
972
- if (renderQuerySuggestions) {
973
- console.warn('Warning(ReactiveSearch): The `renderQuerySuggestions` prop has been marked as deprecated, please use the `renderPopularSuggestions` prop instead.');
974
962
  }
975
963
 
976
964
  if (this.enableAppbase && this.aggregationField && this.aggregationField !== '') {
@@ -1023,7 +1011,7 @@ var DataSearch = {
1023
1011
  return [];
1024
1012
  }
1025
1013
 
1026
- return this.enableQuerySuggestions || this.enablePopularSuggestions ? this.normalizedPopularSuggestions : [];
1014
+ return this.enablePopularSuggestions ? this.normalizedPopularSuggestions : [];
1027
1015
  },
1028
1016
  normalizedRecentSearches: function normalizedRecentSearches() {
1029
1017
  return this.recentSearches || [];
@@ -1033,7 +1021,7 @@ var DataSearch = {
1033
1021
  this.currentValue ? this.popularSuggestions : this.defaultPopularSuggestions || [], this.currentValue, this.showDistinctSuggestions);
1034
1022
  },
1035
1023
  defaultSearchSuggestions: function defaultSearchSuggestions() {
1036
- var isPopularSuggestionsEnabled = this.enableQuerySuggestions || this.enablePopularSuggestions;
1024
+ var isPopularSuggestionsEnabled = this.enablePopularSuggestions;
1037
1025
 
1038
1026
  if (this.currentValue || !this.enableDefaultSuggestions) {
1039
1027
  return [];
@@ -1087,7 +1075,6 @@ var DataSearch = {
1087
1075
  value: VueTypes.oneOfType([VueTypes.arrayOf(VueTypes.string), vueTypes.types.value]),
1088
1076
  defaultSuggestions: vueTypes.types.suggestions,
1089
1077
  enableSynonyms: VueTypes.bool.def(true),
1090
- enableQuerySuggestions: VueTypes.bool.def(false),
1091
1078
  enablePopularSuggestions: VueTypes.bool.def(false),
1092
1079
  enableRecentSearches: VueTypes.bool.def(false),
1093
1080
  fieldWeights: vueTypes.types.fieldWeights,
@@ -1101,7 +1088,6 @@ var DataSearch = {
1101
1088
  innerClass: vueTypes.types.style,
1102
1089
  innerRef: VueTypes.string.def('searchInputField'),
1103
1090
  render: vueTypes.types.func,
1104
- renderQuerySuggestions: vueTypes.types.func,
1105
1091
  renderPopularSuggestions: vueTypes.types.func,
1106
1092
  parseSuggestion: vueTypes.types.func,
1107
1093
  renderNoSuggestion: vueTypes.types.title,
@@ -1188,7 +1174,11 @@ var DataSearch = {
1188
1174
  },
1189
1175
  value: function value(newVal, oldVal) {
1190
1176
  if (!isEqual(newVal, oldVal)) {
1191
- this.setValue(newVal, true, this.$props, undefined, false);
1177
+ if (this.isPending && this.$options.isTagsMode && Array.isArray(newVal)) {
1178
+ this.isPending = false;
1179
+ }
1180
+
1181
+ this.setValue(newVal, true, this.$props, undefined, false, typeof newVal !== 'string' && this.$options.isTagsMode);
1192
1182
  }
1193
1183
  },
1194
1184
  defaultQuery: function defaultQuery(newVal, oldVal) {
@@ -1332,7 +1322,7 @@ var DataSearch = {
1332
1322
  this.onValueSelectedHandler(currentValue, configureStore.causes.SEARCH_ICON_CLICK);
1333
1323
  }
1334
1324
  },
1335
- setValue: function setValue(value, isDefaultValue, props, cause, toggleIsOpen) {
1325
+ setValue: function setValue(value, isDefaultValue, props, cause, toggleIsOpen, isTagsMode) {
1336
1326
  var _this = this;
1337
1327
 
1338
1328
  if (isDefaultValue === void 0) {
@@ -1347,8 +1337,12 @@ var DataSearch = {
1347
1337
  toggleIsOpen = true;
1348
1338
  }
1349
1339
 
1340
+ if (isTagsMode === void 0) {
1341
+ isTagsMode = this.$options.isTagsMode;
1342
+ }
1343
+
1350
1344
  var performUpdate = function performUpdate() {
1351
- if (_this.$options.isTagsMode && isEqual(value, _this.selectedTags)) {
1345
+ if (isTagsMode && isEqual(value, _this.selectedTags)) {
1352
1346
  return;
1353
1347
  } // Refresh recent searches when value becomes empty
1354
1348
 
@@ -1359,7 +1353,7 @@ var DataSearch = {
1359
1353
  _this.getRecentSearches();
1360
1354
  }
1361
1355
 
1362
- if (_this.$options.isTagsMode && cause === configureStore.causes.SUGGESTION_SELECT) {
1356
+ if (isTagsMode) {
1363
1357
  if (Array.isArray(_this.selectedTags) && _this.selectedTags.length) {
1364
1358
  // check if value already present in selectedTags
1365
1359
  if (typeof value === 'string' && _this.selectedTags.includes(value)) {
@@ -1386,7 +1380,7 @@ var DataSearch = {
1386
1380
 
1387
1381
  var queryHandlerValue = value;
1388
1382
 
1389
- if (_this.$options.isTagsMode && cause === configureStore.causes.SUGGESTION_SELECT) {
1383
+ if (isTagsMode) {
1390
1384
  queryHandlerValue = Array.isArray(_this.selectedTags) && _this.selectedTags.length ? _this.selectedTags : undefined;
1391
1385
  }
1392
1386
 
@@ -1564,19 +1558,40 @@ var DataSearch = {
1564
1558
  this.$emit('key-down', event, this.triggerQuery);
1565
1559
  },
1566
1560
  onInputChange: function onInputChange(e) {
1561
+ var _this2 = this;
1562
+
1567
1563
  var inputValue = e.target.value;
1568
1564
 
1569
1565
  if (!this.$data.isOpen) {
1570
1566
  this.isOpen = true;
1571
1567
  }
1572
1568
 
1573
- var value = this.$props.value;
1569
+ var _this$$props2 = this.$props,
1570
+ value = _this$$props2.value,
1571
+ autosuggest = _this$$props2.autosuggest;
1574
1572
 
1575
1573
  if (value === undefined) {
1576
- this.setValue(inputValue);
1574
+ this.setValue(inputValue, false, this.$props, undefined, true, false);
1577
1575
  } else {
1578
1576
  this.isPending = true;
1579
- this.$emit('change', inputValue, this.triggerQuery, e);
1577
+ this.$emit('change', inputValue, function (_temp2) {
1578
+ var _ref3 = _temp2 === void 0 ? {} : _temp2,
1579
+ _ref3$isOpen = _ref3.isOpen,
1580
+ isOpen = _ref3$isOpen === void 0 ? false : _ref3$isOpen;
1581
+
1582
+ if (_this2.$options.isTagsMode && autosuggest) {
1583
+ _this2.currentValue = value;
1584
+ _this2.isOpen = isOpen;
1585
+
1586
+ _this2.updateDefaultQueryHandler(_this2.currentValue, _this2.$props);
1587
+
1588
+ return;
1589
+ }
1590
+
1591
+ _this2.triggerQuery({
1592
+ isOpen: isOpen
1593
+ });
1594
+ }, e);
1580
1595
  }
1581
1596
  },
1582
1597
  onSuggestionSelected: function onSuggestionSelected(suggestion) {
@@ -1671,9 +1686,9 @@ var DataSearch = {
1671
1686
  }
1672
1687
 
1673
1688
  var h = this.$createElement;
1674
- var _this$$props2 = this.$props,
1675
- theme = _this$$props2.theme,
1676
- innerClass = _this$$props2.innerClass;
1689
+ var _this$$props3 = this.$props,
1690
+ theme = _this$$props3.theme,
1691
+ innerClass = _this$$props3.innerClass;
1677
1692
  var renderNoSuggestion = this.$scopedSlots.renderNoSuggestion || this.$props.renderNoSuggestion;
1678
1693
  var renderError = this.$scopedSlots.renderError || this.$props.renderError;
1679
1694
  var _this$$data = this.$data,
@@ -1709,7 +1724,7 @@ var DataSearch = {
1709
1724
  return null;
1710
1725
  },
1711
1726
  renderTag: function renderTag(item) {
1712
- var _this2 = this;
1727
+ var _this3 = this;
1713
1728
 
1714
1729
  var h = this.$createElement;
1715
1730
  var innerClass = this.$props.innerClass;
@@ -1723,7 +1738,7 @@ var DataSearch = {
1723
1738
  "class": "close-icon",
1724
1739
  "on": {
1725
1740
  "click": function click() {
1726
- return _this2.clearTag(item);
1741
+ return _this3.clearTag(item);
1727
1742
  }
1728
1743
  }
1729
1744
  }, [h(CancelSvg.CancelSvg)])]);
@@ -1747,7 +1762,7 @@ var DataSearch = {
1747
1762
  }
1748
1763
  },
1749
1764
  renderTags: function renderTags() {
1750
- var _this3 = this;
1765
+ var _this4 = this;
1751
1766
 
1752
1767
  var h = this.$createElement;
1753
1768
 
@@ -1763,7 +1778,7 @@ var DataSearch = {
1763
1778
  handleClear: this.clearTag,
1764
1779
  handleClearAll: this.clearAllTags
1765
1780
  }) : h(TagsContainer, [tagsList.map(function (item) {
1766
- return _this3.renderTag(item);
1781
+ return _this4.renderTag(item);
1767
1782
  }), shouldRenderClearAllTag && h(TagItem, {
1768
1783
  "class": getClassName$1(this.$props.innerClass, 'selected-tag') || ''
1769
1784
  }, [h("span", ["Clear All"]), h("span", {
@@ -1789,13 +1804,13 @@ var DataSearch = {
1789
1804
  },
1790
1805
  renderIcons: function renderIcons() {
1791
1806
  var h = this.$createElement;
1792
- var _this$$props3 = this.$props,
1793
- iconPosition = _this$$props3.iconPosition,
1794
- showClear = _this$$props3.showClear,
1795
- innerClass = _this$$props3.innerClass,
1796
- getMicInstance = _this$$props3.getMicInstance,
1797
- showVoiceSearch = _this$$props3.showVoiceSearch,
1798
- showIcon = _this$$props3.showIcon;
1807
+ var _this$$props4 = this.$props,
1808
+ iconPosition = _this$$props4.iconPosition,
1809
+ showClear = _this$$props4.showClear,
1810
+ innerClass = _this$$props4.innerClass,
1811
+ getMicInstance = _this$$props4.getMicInstance,
1812
+ showVoiceSearch = _this$$props4.showVoiceSearch,
1813
+ showIcon = _this$$props4.showIcon;
1799
1814
  var renderMic = this.$scopedSlots.renderMic || this.$props.renderMic;
1800
1815
  var currentValue = this.$data.currentValue;
1801
1816
  return h("div", [h(CancelSvg.IconGroup, {
@@ -1847,7 +1862,7 @@ var DataSearch = {
1847
1862
  (_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
1848
1863
  },
1849
1864
  listenForFocusShortcuts: function listenForFocusShortcuts() {
1850
- var _this4 = this;
1865
+ var _this5 = this;
1851
1866
 
1852
1867
  var _this$$props$focusSho = this.$props.focusShortcuts,
1853
1868
  focusShortcuts = _this$$props$focusSho === void 0 ? ['/'] : _this$$props$focusSho;
@@ -1865,7 +1880,7 @@ var DataSearch = {
1865
1880
  // Prevent the default refresh event under WINDOWS system
1866
1881
  event.preventDefault();
1867
1882
 
1868
- _this4.focusSearchBox(event);
1883
+ _this5.focusSearchBox(event);
1869
1884
  }); // if one of modifier keys are used, they are handled below
1870
1885
 
1871
1886
  hotkeys('*', function (event) {
@@ -1876,7 +1891,7 @@ var DataSearch = {
1876
1891
  var element = modifierKeys[index$1];
1877
1892
 
1878
1893
  if (hotkeys[element]) {
1879
- _this4.focusSearchBox(event);
1894
+ _this5.focusSearchBox(event);
1880
1895
 
1881
1896
  break;
1882
1897
  }
@@ -1885,14 +1900,14 @@ var DataSearch = {
1885
1900
  }
1886
1901
  },
1887
1902
  render: function render() {
1888
- var _this5 = this;
1903
+ var _this6 = this;
1889
1904
 
1890
1905
  var h = arguments[0];
1891
- var _this$$props4 = this.$props,
1892
- theme = _this$$props4.theme,
1893
- size = _this$$props4.size,
1894
- expandSuggestionsContainer = _this$$props4.expandSuggestionsContainer,
1895
- enableDefaultSuggestions = _this$$props4.enableDefaultSuggestions;
1906
+ var _this$$props5 = this.$props,
1907
+ theme = _this$$props5.theme,
1908
+ size = _this$$props5.size,
1909
+ expandSuggestionsContainer = _this$$props5.expandSuggestionsContainer,
1910
+ enableDefaultSuggestions = _this$$props5.enableDefaultSuggestions;
1896
1911
  var _this$$scopedSlots = this.$scopedSlots,
1897
1912
  recentSearchesIcon = _this$$scopedSlots.recentSearchesIcon,
1898
1913
  popularSearchesIcon = _this$$scopedSlots.popularSearchesIcon;
@@ -1914,24 +1929,24 @@ var DataSearch = {
1914
1929
  "isOpen": this.$data.isOpen
1915
1930
  },
1916
1931
  "scopedSlots": {
1917
- "default": function _default(_ref3) {
1918
- var getInputEvents = _ref3.getInputEvents,
1919
- getInputProps = _ref3.getInputProps,
1920
- getItemProps = _ref3.getItemProps,
1921
- getItemEvents = _ref3.getItemEvents,
1922
- isOpen = _ref3.isOpen,
1923
- highlightedIndex = _ref3.highlightedIndex,
1924
- setHighlightedIndex = _ref3.setHighlightedIndex;
1932
+ "default": function _default(_ref4) {
1933
+ var getInputEvents = _ref4.getInputEvents,
1934
+ getInputProps = _ref4.getInputProps,
1935
+ getItemProps = _ref4.getItemProps,
1936
+ getItemEvents = _ref4.getItemEvents,
1937
+ isOpen = _ref4.isOpen,
1938
+ highlightedIndex = _ref4.highlightedIndex,
1939
+ setHighlightedIndex = _ref4.setHighlightedIndex;
1925
1940
 
1926
1941
  var renderSuggestionsContainer = function renderSuggestionsContainer() {
1927
- return h("div", [_this5.hasCustomRenderer && _this5.getComponent({
1942
+ return h("div", [_this6.hasCustomRenderer && _this6.getComponent({
1928
1943
  isOpen: isOpen,
1929
1944
  getItemProps: getItemProps,
1930
1945
  getItemEvents: getItemEvents,
1931
1946
  highlightedIndex: highlightedIndex
1932
- }), _this5.renderErrorComponent(), !_this5.hasCustomRenderer && isOpen && hasSuggestions ? h("ul", {
1933
- "class": Input.suggestions(_this5.themePreset, theme) + " " + getClassName$1(_this5.$props.innerClass, 'list')
1934
- }, [_this5.suggestionsList.slice(0, size || 10).map(function (item, index) {
1947
+ }), _this6.renderErrorComponent(), !_this6.hasCustomRenderer && isOpen && hasSuggestions ? h("ul", {
1948
+ "class": Input.suggestions(_this6.themePreset, theme) + " " + getClassName$1(_this6.$props.innerClass, 'list')
1949
+ }, [_this6.suggestionsList.slice(0, size || 10).map(function (item, index) {
1935
1950
  return h("li", {
1936
1951
  "domProps": _rollupPluginBabelHelpers._extends({}, getItemProps({
1937
1952
  item: item
@@ -1941,15 +1956,15 @@ var DataSearch = {
1941
1956
  })),
1942
1957
  "key": index + 1 + "-" + item.value,
1943
1958
  "style": {
1944
- backgroundColor: _this5.getBackgroundColor(highlightedIndex, index)
1959
+ backgroundColor: _this6.getBackgroundColor(highlightedIndex, index)
1945
1960
  }
1946
1961
  }, [h(SuggestionItem, {
1947
1962
  "attrs": {
1948
- "currentValue": _this5.currentValue,
1963
+ "currentValue": _this6.currentValue,
1949
1964
  "suggestion": item
1950
1965
  }
1951
1966
  })]);
1952
- }), _this5.defaultSearchSuggestions.map(function (sugg, index) {
1967
+ }), _this6.defaultSearchSuggestions.map(function (sugg, index) {
1953
1968
  return h("li", {
1954
1969
  "domProps": _rollupPluginBabelHelpers._extends({}, getItemProps({
1955
1970
  item: sugg
@@ -1957,9 +1972,9 @@ var DataSearch = {
1957
1972
  "on": _rollupPluginBabelHelpers._extends({}, getItemEvents({
1958
1973
  item: sugg
1959
1974
  })),
1960
- "key": _this5.suggestionsList.length + index + 1 + "-" + sugg.value,
1975
+ "key": _this6.suggestionsList.length + index + 1 + "-" + sugg.value,
1961
1976
  "style": {
1962
- backgroundColor: _this5.getBackgroundColor(highlightedIndex, _this5.suggestionsList.length + index),
1977
+ backgroundColor: _this6.getBackgroundColor(highlightedIndex, _this6.suggestionsList.length + index),
1963
1978
  justifyContent: 'flex-start'
1964
1979
  }
1965
1980
  }, [h("div", {
@@ -1968,28 +1983,28 @@ var DataSearch = {
1968
1983
  }
1969
1984
  }, [sugg.source && sugg.source._recent_search && h(CustomSvg, {
1970
1985
  "attrs": {
1971
- "className": getClassName$1(_this5.$props.innerClass, 'recent-search-icon') || null,
1986
+ "className": getClassName$1(_this6.$props.innerClass, 'recent-search-icon') || null,
1972
1987
  "icon": recentSearchesIcon,
1973
1988
  "type": "recent-search-icon"
1974
1989
  }
1975
1990
  }), sugg.source && sugg.source._popular_suggestion && h(CustomSvg, {
1976
1991
  "attrs": {
1977
- "className": getClassName$1(_this5.$props.innerClass, 'popular-search-icon') || null,
1992
+ "className": getClassName$1(_this6.$props.innerClass, 'popular-search-icon') || null,
1978
1993
  "icon": popularSearchesIcon,
1979
1994
  "type": "popular-search-icon"
1980
1995
  }
1981
1996
  })]), h(SuggestionItem, {
1982
1997
  "attrs": {
1983
- "currentValue": _this5.currentValue,
1998
+ "currentValue": _this6.currentValue,
1984
1999
  "suggestion": sugg
1985
2000
  }
1986
2001
  })]);
1987
- }), index.hasQuerySuggestionsRenderer(_this5) ? _this5.getComponent({
2002
+ }), index.hasQuerySuggestionsRenderer(_this6) ? _this6.getComponent({
1988
2003
  isOpen: isOpen,
1989
2004
  getItemProps: getItemProps,
1990
2005
  getItemEvents: getItemEvents,
1991
2006
  highlightedIndex: highlightedIndex
1992
- }, true) : _this5.topSuggestions.map(function (sugg, index) {
2007
+ }, true) : _this6.topSuggestions.map(function (sugg, index) {
1993
2008
  return h("li", {
1994
2009
  "domProps": _rollupPluginBabelHelpers._extends({}, getItemProps({
1995
2010
  item: sugg
@@ -1997,9 +2012,9 @@ var DataSearch = {
1997
2012
  "on": _rollupPluginBabelHelpers._extends({}, getItemEvents({
1998
2013
  item: sugg
1999
2014
  })),
2000
- "key": _this5.suggestionsList.length + index + 1 + "-" + sugg.value,
2015
+ "key": _this6.suggestionsList.length + index + 1 + "-" + sugg.value,
2001
2016
  "style": {
2002
- backgroundColor: _this5.getBackgroundColor(highlightedIndex, _this5.suggestionsList.length + index),
2017
+ backgroundColor: _this6.getBackgroundColor(highlightedIndex, _this6.suggestionsList.length + index),
2003
2018
  justifyContent: 'flex-start'
2004
2019
  }
2005
2020
  }, [h("div", {
@@ -2008,61 +2023,61 @@ var DataSearch = {
2008
2023
  }
2009
2024
  }, [h(CustomSvg, {
2010
2025
  "attrs": {
2011
- "className": getClassName$1(_this5.$props.innerClass, 'popular-search-icon') || null,
2026
+ "className": getClassName$1(_this6.$props.innerClass, 'popular-search-icon') || null,
2012
2027
  "icon": popularSearchesIcon,
2013
2028
  "type": "popular-search-icon"
2014
2029
  }
2015
2030
  })]), h(SuggestionItem, {
2016
2031
  "attrs": {
2017
- "currentValue": _this5.currentValue,
2032
+ "currentValue": _this6.currentValue,
2018
2033
  "suggestion": sugg
2019
2034
  }
2020
2035
  })]);
2021
- })]) : _this5.renderNoSuggestions(_this5.suggestionsList)]);
2036
+ })]) : _this6.renderNoSuggestions(_this6.suggestionsList)]);
2022
2037
  };
2023
2038
 
2024
2039
  return h("div", {
2025
2040
  "class": Input.suggestionsContainer
2026
- }, [h(InputGroup, [_this5.renderInputAddonBefore(), h(CancelSvg.InputWrapper, [h(Input.Input, {
2041
+ }, [h(InputGroup, [_this6.renderInputAddonBefore(), h(CancelSvg.InputWrapper, [h(Input.Input, {
2027
2042
  "attrs": {
2028
- "id": _this5.$props.componentId + "-input",
2029
- "showIcon": _this5.$props.showIcon,
2030
- "showClear": _this5.$props.showClear,
2031
- "iconPosition": _this5.$props.iconPosition,
2032
- "placeholder": _this5.$props.placeholder,
2033
- "autoFocus": _this5.$props.autoFocus,
2034
- "themePreset": _this5.themePreset,
2043
+ "id": _this6.$props.componentId + "-input",
2044
+ "showIcon": _this6.$props.showIcon,
2045
+ "showClear": _this6.$props.showClear,
2046
+ "iconPosition": _this6.$props.iconPosition,
2047
+ "placeholder": _this6.$props.placeholder,
2048
+ "autoFocus": _this6.$props.autoFocus,
2049
+ "themePreset": _this6.themePreset,
2035
2050
  "autocomplete": "off"
2036
2051
  },
2037
- "ref": _this5.$props.innerRef,
2038
- "class": getClassName$1(_this5.$props.innerClass, 'input'),
2052
+ "ref": _this6.$props.innerRef,
2053
+ "class": getClassName$1(_this6.$props.innerClass, 'input'),
2039
2054
  "on": _rollupPluginBabelHelpers._extends({}, getInputEvents({
2040
- onInput: _this5.onInputChange,
2055
+ onInput: _this6.onInputChange,
2041
2056
  onBlur: function onBlur(e) {
2042
- _this5.$emit('blur', e, _this5.triggerQuery);
2057
+ _this6.$emit('blur', e, _this6.triggerQuery);
2043
2058
  },
2044
- onFocus: _this5.handleFocus,
2059
+ onFocus: _this6.handleFocus,
2045
2060
  onKeyPress: function onKeyPress(e) {
2046
- _this5.$emit('keyPress', e, _this5.triggerQuery);
2061
+ _this6.$emit('keyPress', e, _this6.triggerQuery);
2047
2062
 
2048
- _this5.$emit('key-press', e, _this5.triggerQuery);
2063
+ _this6.$emit('key-press', e, _this6.triggerQuery);
2049
2064
  },
2050
2065
  onKeyDown: function onKeyDown(e) {
2051
- return _this5.handleKeyDown(e, highlightedIndex);
2066
+ return _this6.handleKeyDown(e, highlightedIndex);
2052
2067
  },
2053
2068
  onKeyUp: function onKeyUp(e) {
2054
- _this5.$emit('keyUp', e, _this5.triggerQuery);
2069
+ _this6.$emit('keyUp', e, _this6.triggerQuery);
2055
2070
 
2056
- _this5.$emit('key-up', e, _this5.triggerQuery);
2071
+ _this6.$emit('key-up', e, _this6.triggerQuery);
2057
2072
  },
2058
2073
  onClick: function onClick() {
2059
2074
  setHighlightedIndex(null);
2060
2075
  }
2061
2076
  })),
2062
2077
  "domProps": _rollupPluginBabelHelpers._extends({}, getInputProps({
2063
- value: _this5.$data.currentValue === null ? '' : _this5.$data.currentValue
2078
+ value: _this6.$data.currentValue === null ? '' : _this6.$data.currentValue
2064
2079
  }))
2065
- }), _this5.renderIcons(), !expandSuggestionsContainer && renderSuggestionsContainer()]), ' ', _this5.renderInputAddonAfter()]), expandSuggestionsContainer && renderSuggestionsContainer(), _this5.renderTags()]);
2080
+ }), _this6.renderIcons(), !expandSuggestionsContainer && renderSuggestionsContainer()]), ' ', _this6.renderInputAddonAfter()]), expandSuggestionsContainer && renderSuggestionsContainer(), _this6.renderTags()]);
2066
2081
  }
2067
2082
  }
2068
2083
  }) : h("div", {
@@ -2078,26 +2093,26 @@ var DataSearch = {
2078
2093
  },
2079
2094
  "on": _rollupPluginBabelHelpers._extends({}, {
2080
2095
  blur: function blur(e) {
2081
- _this5.$emit('blur', e, _this5.triggerQuery);
2096
+ _this6.$emit('blur', e, _this6.triggerQuery);
2082
2097
  },
2083
2098
  keypress: function keypress(e) {
2084
- _this5.$emit('keyPress', e, _this5.triggerQuery);
2099
+ _this6.$emit('keyPress', e, _this6.triggerQuery);
2085
2100
 
2086
- _this5.$emit('key-press', e, _this5.triggerQuery);
2101
+ _this6.$emit('key-press', e, _this6.triggerQuery);
2087
2102
  },
2088
2103
  input: this.onInputChange,
2089
2104
  focus: function focus(e) {
2090
- _this5.$emit('focus', e, _this5.triggerQuery);
2105
+ _this6.$emit('focus', e, _this6.triggerQuery);
2091
2106
  },
2092
2107
  keydown: function keydown(e) {
2093
- _this5.$emit('keyDown', e, _this5.triggerQuery);
2108
+ _this6.$emit('keyDown', e, _this6.triggerQuery);
2094
2109
 
2095
- _this5.$emit('key-down', e, _this5.triggerQuery);
2110
+ _this6.$emit('key-down', e, _this6.triggerQuery);
2096
2111
  },
2097
2112
  keyup: function keyup(e) {
2098
- _this5.$emit('keyUp', e, _this5.triggerQuery);
2113
+ _this6.$emit('keyUp', e, _this6.triggerQuery);
2099
2114
 
2100
- _this5.$emit('key-up', e, _this5.triggerQuery);
2115
+ _this6.$emit('key-up', e, _this6.triggerQuery);
2101
2116
  }
2102
2117
  }),
2103
2118
  "domProps": _rollupPluginBabelHelpers._extends({}, {