@appbaseio/reactivesearch-vue 1.30.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 +10358 -553
  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-5cb08414.js → ComponentWrapper-ad3dad02.js} +2 -2
  9. package/dist/cjs/{Container-cfd69a34.js → Container-daf30918.js} +1 -1
  10. package/dist/cjs/{DataSearch-e550096e.js → DataSearch-d389fbe7.js} +128 -112
  11. package/dist/cjs/DataSearch.js +10 -10
  12. package/dist/cjs/{DropDown-fc59f1ee.js → DropDown-c479bbb0.js} +5 -5
  13. package/dist/cjs/DynamicRangeSlider.js +8 -7
  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 +13 -12
  19. package/dist/cjs/MultiList.js +11 -10
  20. package/dist/cjs/MultiRange.js +9 -8
  21. package/dist/cjs/Pagination-3d73e1b3.js +182 -0
  22. package/dist/cjs/RangeInput.js +11 -10
  23. package/dist/cjs/RangeSlider.js +9 -8
  24. package/dist/cjs/ReactiveBase.js +34 -26
  25. package/dist/cjs/ReactiveComponent.js +6 -5
  26. package/dist/cjs/ReactiveGoogleMap.js +2363 -0
  27. package/dist/cjs/ReactiveList.js +21 -187
  28. package/dist/cjs/ResultCard.js +4 -4
  29. package/dist/cjs/ResultList.js +4 -4
  30. package/dist/cjs/SelectedFilters.js +9 -9
  31. package/dist/cjs/SingleDropdownList.js +13 -12
  32. package/dist/cjs/SingleList.js +11 -10
  33. package/dist/cjs/SingleRange.js +9 -8
  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 +9 -8
  37. package/dist/cjs/{_rollupPluginBabelHelpers-91d4b5a6.js → _rollupPluginBabelHelpers-c705cbe6.js} +16 -0
  38. package/dist/cjs/{index-2cd3650b.js → index-6a167fe0.js} +13 -1
  39. package/dist/cjs/index.js +23 -18
  40. package/dist/cjs/initReactivesearch.js +46 -10
  41. package/dist/cjs/{install-250a14f1.js → install-3b864d8f.js} +18 -16
  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-57d01f18.js → vueTypes-727b7c63.js} +30 -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-dc92772a.js → ComponentWrapper-424e86fd.js} +2 -2
  51. package/dist/es/{Container-421450dc.js → Container-ba826e96.js} +1 -1
  52. package/dist/es/{DataSearch-8e5d0972.js → DataSearch-b88ef6ee.js} +128 -112
  53. package/dist/es/DataSearch.js +10 -10
  54. package/dist/es/{DropDown-565fad6f.js → DropDown-05a644a5.js} +5 -5
  55. package/dist/es/DynamicRangeSlider.js +8 -7
  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 +13 -12
  61. package/dist/es/MultiList.js +11 -10
  62. package/dist/es/MultiRange.js +9 -8
  63. package/dist/es/Pagination-af9de08f.js +177 -0
  64. package/dist/es/RangeInput.js +11 -10
  65. package/dist/es/RangeSlider.js +9 -8
  66. package/dist/es/ReactiveBase.js +35 -27
  67. package/dist/es/ReactiveComponent.js +6 -5
  68. package/dist/es/ReactiveGoogleMap.js +2354 -0
  69. package/dist/es/ReactiveList.js +20 -186
  70. package/dist/es/ResultCard.js +4 -4
  71. package/dist/es/ResultList.js +4 -4
  72. package/dist/es/SelectedFilters.js +7 -7
  73. package/dist/es/SingleDropdownList.js +13 -12
  74. package/dist/es/SingleList.js +11 -10
  75. package/dist/es/SingleRange.js +9 -8
  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 +9 -8
  79. package/dist/es/{_rollupPluginBabelHelpers-51ce1182.js → _rollupPluginBabelHelpers-76660dab.js} +16 -1
  80. package/dist/es/{index-5371a13f.js → index-7788a843.js} +13 -2
  81. package/dist/es/index.js +23 -19
  82. package/dist/es/initReactivesearch.js +47 -11
  83. package/dist/es/{install-9faa87f1.js → install-a1fd08ae.js} +16 -14
  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-687b2304.js → vueTypes-b8146772.js} +30 -13
  89. package/package.json +10 -4
@@ -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-2cd3650b.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-57d01f18.js');
14
- var index = require('./index-2cd3650b.js');
15
- var ComponentWrapper = require('./ComponentWrapper-5cb08414.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,
@@ -1135,7 +1121,8 @@ var DataSearch = {
1135
1121
  index: VueTypes.string,
1136
1122
  enableDefaultSuggestions: VueTypes.bool.def(true),
1137
1123
  mode: VueTypes.oneOf(['select', 'tag']).def('select'),
1138
- renderSelectedTags: VueTypes.any
1124
+ renderSelectedTags: VueTypes.any,
1125
+ endpoint: vueTypes.types.endpointConfig
1139
1126
  },
1140
1127
  beforeMount: function beforeMount() {
1141
1128
  if (this.$props.highlight) {
@@ -1187,7 +1174,11 @@ var DataSearch = {
1187
1174
  },
1188
1175
  value: function value(newVal, oldVal) {
1189
1176
  if (!isEqual(newVal, oldVal)) {
1190
- 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);
1191
1182
  }
1192
1183
  },
1193
1184
  defaultQuery: function defaultQuery(newVal, oldVal) {
@@ -1331,7 +1322,7 @@ var DataSearch = {
1331
1322
  this.onValueSelectedHandler(currentValue, configureStore.causes.SEARCH_ICON_CLICK);
1332
1323
  }
1333
1324
  },
1334
- setValue: function setValue(value, isDefaultValue, props, cause, toggleIsOpen) {
1325
+ setValue: function setValue(value, isDefaultValue, props, cause, toggleIsOpen, isTagsMode) {
1335
1326
  var _this = this;
1336
1327
 
1337
1328
  if (isDefaultValue === void 0) {
@@ -1346,8 +1337,12 @@ var DataSearch = {
1346
1337
  toggleIsOpen = true;
1347
1338
  }
1348
1339
 
1340
+ if (isTagsMode === void 0) {
1341
+ isTagsMode = this.$options.isTagsMode;
1342
+ }
1343
+
1349
1344
  var performUpdate = function performUpdate() {
1350
- if (_this.$options.isTagsMode && isEqual(value, _this.selectedTags)) {
1345
+ if (isTagsMode && isEqual(value, _this.selectedTags)) {
1351
1346
  return;
1352
1347
  } // Refresh recent searches when value becomes empty
1353
1348
 
@@ -1358,7 +1353,7 @@ var DataSearch = {
1358
1353
  _this.getRecentSearches();
1359
1354
  }
1360
1355
 
1361
- if (_this.$options.isTagsMode && cause === configureStore.causes.SUGGESTION_SELECT) {
1356
+ if (isTagsMode) {
1362
1357
  if (Array.isArray(_this.selectedTags) && _this.selectedTags.length) {
1363
1358
  // check if value already present in selectedTags
1364
1359
  if (typeof value === 'string' && _this.selectedTags.includes(value)) {
@@ -1385,7 +1380,7 @@ var DataSearch = {
1385
1380
 
1386
1381
  var queryHandlerValue = value;
1387
1382
 
1388
- if (_this.$options.isTagsMode && cause === configureStore.causes.SUGGESTION_SELECT) {
1383
+ if (isTagsMode) {
1389
1384
  queryHandlerValue = Array.isArray(_this.selectedTags) && _this.selectedTags.length ? _this.selectedTags : undefined;
1390
1385
  }
1391
1386
 
@@ -1563,19 +1558,40 @@ var DataSearch = {
1563
1558
  this.$emit('key-down', event, this.triggerQuery);
1564
1559
  },
1565
1560
  onInputChange: function onInputChange(e) {
1561
+ var _this2 = this;
1562
+
1566
1563
  var inputValue = e.target.value;
1567
1564
 
1568
1565
  if (!this.$data.isOpen) {
1569
1566
  this.isOpen = true;
1570
1567
  }
1571
1568
 
1572
- var value = this.$props.value;
1569
+ var _this$$props2 = this.$props,
1570
+ value = _this$$props2.value,
1571
+ autosuggest = _this$$props2.autosuggest;
1573
1572
 
1574
1573
  if (value === undefined) {
1575
- this.setValue(inputValue);
1574
+ this.setValue(inputValue, false, this.$props, undefined, true, false);
1576
1575
  } else {
1577
1576
  this.isPending = true;
1578
- 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);
1579
1595
  }
1580
1596
  },
1581
1597
  onSuggestionSelected: function onSuggestionSelected(suggestion) {
@@ -1670,9 +1686,9 @@ var DataSearch = {
1670
1686
  }
1671
1687
 
1672
1688
  var h = this.$createElement;
1673
- var _this$$props2 = this.$props,
1674
- theme = _this$$props2.theme,
1675
- innerClass = _this$$props2.innerClass;
1689
+ var _this$$props3 = this.$props,
1690
+ theme = _this$$props3.theme,
1691
+ innerClass = _this$$props3.innerClass;
1676
1692
  var renderNoSuggestion = this.$scopedSlots.renderNoSuggestion || this.$props.renderNoSuggestion;
1677
1693
  var renderError = this.$scopedSlots.renderError || this.$props.renderError;
1678
1694
  var _this$$data = this.$data,
@@ -1708,7 +1724,7 @@ var DataSearch = {
1708
1724
  return null;
1709
1725
  },
1710
1726
  renderTag: function renderTag(item) {
1711
- var _this2 = this;
1727
+ var _this3 = this;
1712
1728
 
1713
1729
  var h = this.$createElement;
1714
1730
  var innerClass = this.$props.innerClass;
@@ -1722,7 +1738,7 @@ var DataSearch = {
1722
1738
  "class": "close-icon",
1723
1739
  "on": {
1724
1740
  "click": function click() {
1725
- return _this2.clearTag(item);
1741
+ return _this3.clearTag(item);
1726
1742
  }
1727
1743
  }
1728
1744
  }, [h(CancelSvg.CancelSvg)])]);
@@ -1746,7 +1762,7 @@ var DataSearch = {
1746
1762
  }
1747
1763
  },
1748
1764
  renderTags: function renderTags() {
1749
- var _this3 = this;
1765
+ var _this4 = this;
1750
1766
 
1751
1767
  var h = this.$createElement;
1752
1768
 
@@ -1762,7 +1778,7 @@ var DataSearch = {
1762
1778
  handleClear: this.clearTag,
1763
1779
  handleClearAll: this.clearAllTags
1764
1780
  }) : h(TagsContainer, [tagsList.map(function (item) {
1765
- return _this3.renderTag(item);
1781
+ return _this4.renderTag(item);
1766
1782
  }), shouldRenderClearAllTag && h(TagItem, {
1767
1783
  "class": getClassName$1(this.$props.innerClass, 'selected-tag') || ''
1768
1784
  }, [h("span", ["Clear All"]), h("span", {
@@ -1788,13 +1804,13 @@ var DataSearch = {
1788
1804
  },
1789
1805
  renderIcons: function renderIcons() {
1790
1806
  var h = this.$createElement;
1791
- var _this$$props3 = this.$props,
1792
- iconPosition = _this$$props3.iconPosition,
1793
- showClear = _this$$props3.showClear,
1794
- innerClass = _this$$props3.innerClass,
1795
- getMicInstance = _this$$props3.getMicInstance,
1796
- showVoiceSearch = _this$$props3.showVoiceSearch,
1797
- 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;
1798
1814
  var renderMic = this.$scopedSlots.renderMic || this.$props.renderMic;
1799
1815
  var currentValue = this.$data.currentValue;
1800
1816
  return h("div", [h(CancelSvg.IconGroup, {
@@ -1846,7 +1862,7 @@ var DataSearch = {
1846
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
1847
1863
  },
1848
1864
  listenForFocusShortcuts: function listenForFocusShortcuts() {
1849
- var _this4 = this;
1865
+ var _this5 = this;
1850
1866
 
1851
1867
  var _this$$props$focusSho = this.$props.focusShortcuts,
1852
1868
  focusShortcuts = _this$$props$focusSho === void 0 ? ['/'] : _this$$props$focusSho;
@@ -1864,7 +1880,7 @@ var DataSearch = {
1864
1880
  // Prevent the default refresh event under WINDOWS system
1865
1881
  event.preventDefault();
1866
1882
 
1867
- _this4.focusSearchBox(event);
1883
+ _this5.focusSearchBox(event);
1868
1884
  }); // if one of modifier keys are used, they are handled below
1869
1885
 
1870
1886
  hotkeys('*', function (event) {
@@ -1875,7 +1891,7 @@ var DataSearch = {
1875
1891
  var element = modifierKeys[index$1];
1876
1892
 
1877
1893
  if (hotkeys[element]) {
1878
- _this4.focusSearchBox(event);
1894
+ _this5.focusSearchBox(event);
1879
1895
 
1880
1896
  break;
1881
1897
  }
@@ -1884,14 +1900,14 @@ var DataSearch = {
1884
1900
  }
1885
1901
  },
1886
1902
  render: function render() {
1887
- var _this5 = this;
1903
+ var _this6 = this;
1888
1904
 
1889
1905
  var h = arguments[0];
1890
- var _this$$props4 = this.$props,
1891
- theme = _this$$props4.theme,
1892
- size = _this$$props4.size,
1893
- expandSuggestionsContainer = _this$$props4.expandSuggestionsContainer,
1894
- 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;
1895
1911
  var _this$$scopedSlots = this.$scopedSlots,
1896
1912
  recentSearchesIcon = _this$$scopedSlots.recentSearchesIcon,
1897
1913
  popularSearchesIcon = _this$$scopedSlots.popularSearchesIcon;
@@ -1913,24 +1929,24 @@ var DataSearch = {
1913
1929
  "isOpen": this.$data.isOpen
1914
1930
  },
1915
1931
  "scopedSlots": {
1916
- "default": function _default(_ref3) {
1917
- var getInputEvents = _ref3.getInputEvents,
1918
- getInputProps = _ref3.getInputProps,
1919
- getItemProps = _ref3.getItemProps,
1920
- getItemEvents = _ref3.getItemEvents,
1921
- isOpen = _ref3.isOpen,
1922
- highlightedIndex = _ref3.highlightedIndex,
1923
- 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;
1924
1940
 
1925
1941
  var renderSuggestionsContainer = function renderSuggestionsContainer() {
1926
- return h("div", [_this5.hasCustomRenderer && _this5.getComponent({
1942
+ return h("div", [_this6.hasCustomRenderer && _this6.getComponent({
1927
1943
  isOpen: isOpen,
1928
1944
  getItemProps: getItemProps,
1929
1945
  getItemEvents: getItemEvents,
1930
1946
  highlightedIndex: highlightedIndex
1931
- }), _this5.renderErrorComponent(), !_this5.hasCustomRenderer && isOpen && hasSuggestions ? h("ul", {
1932
- "class": Input.suggestions(_this5.themePreset, theme) + " " + getClassName$1(_this5.$props.innerClass, 'list')
1933
- }, [_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) {
1934
1950
  return h("li", {
1935
1951
  "domProps": _rollupPluginBabelHelpers._extends({}, getItemProps({
1936
1952
  item: item
@@ -1940,15 +1956,15 @@ var DataSearch = {
1940
1956
  })),
1941
1957
  "key": index + 1 + "-" + item.value,
1942
1958
  "style": {
1943
- backgroundColor: _this5.getBackgroundColor(highlightedIndex, index)
1959
+ backgroundColor: _this6.getBackgroundColor(highlightedIndex, index)
1944
1960
  }
1945
1961
  }, [h(SuggestionItem, {
1946
1962
  "attrs": {
1947
- "currentValue": _this5.currentValue,
1963
+ "currentValue": _this6.currentValue,
1948
1964
  "suggestion": item
1949
1965
  }
1950
1966
  })]);
1951
- }), _this5.defaultSearchSuggestions.map(function (sugg, index) {
1967
+ }), _this6.defaultSearchSuggestions.map(function (sugg, index) {
1952
1968
  return h("li", {
1953
1969
  "domProps": _rollupPluginBabelHelpers._extends({}, getItemProps({
1954
1970
  item: sugg
@@ -1956,9 +1972,9 @@ var DataSearch = {
1956
1972
  "on": _rollupPluginBabelHelpers._extends({}, getItemEvents({
1957
1973
  item: sugg
1958
1974
  })),
1959
- "key": _this5.suggestionsList.length + index + 1 + "-" + sugg.value,
1975
+ "key": _this6.suggestionsList.length + index + 1 + "-" + sugg.value,
1960
1976
  "style": {
1961
- backgroundColor: _this5.getBackgroundColor(highlightedIndex, _this5.suggestionsList.length + index),
1977
+ backgroundColor: _this6.getBackgroundColor(highlightedIndex, _this6.suggestionsList.length + index),
1962
1978
  justifyContent: 'flex-start'
1963
1979
  }
1964
1980
  }, [h("div", {
@@ -1967,28 +1983,28 @@ var DataSearch = {
1967
1983
  }
1968
1984
  }, [sugg.source && sugg.source._recent_search && h(CustomSvg, {
1969
1985
  "attrs": {
1970
- "className": getClassName$1(_this5.$props.innerClass, 'recent-search-icon') || null,
1986
+ "className": getClassName$1(_this6.$props.innerClass, 'recent-search-icon') || null,
1971
1987
  "icon": recentSearchesIcon,
1972
1988
  "type": "recent-search-icon"
1973
1989
  }
1974
1990
  }), sugg.source && sugg.source._popular_suggestion && h(CustomSvg, {
1975
1991
  "attrs": {
1976
- "className": getClassName$1(_this5.$props.innerClass, 'popular-search-icon') || null,
1992
+ "className": getClassName$1(_this6.$props.innerClass, 'popular-search-icon') || null,
1977
1993
  "icon": popularSearchesIcon,
1978
1994
  "type": "popular-search-icon"
1979
1995
  }
1980
1996
  })]), h(SuggestionItem, {
1981
1997
  "attrs": {
1982
- "currentValue": _this5.currentValue,
1998
+ "currentValue": _this6.currentValue,
1983
1999
  "suggestion": sugg
1984
2000
  }
1985
2001
  })]);
1986
- }), index.hasQuerySuggestionsRenderer(_this5) ? _this5.getComponent({
2002
+ }), index.hasQuerySuggestionsRenderer(_this6) ? _this6.getComponent({
1987
2003
  isOpen: isOpen,
1988
2004
  getItemProps: getItemProps,
1989
2005
  getItemEvents: getItemEvents,
1990
2006
  highlightedIndex: highlightedIndex
1991
- }, true) : _this5.topSuggestions.map(function (sugg, index) {
2007
+ }, true) : _this6.topSuggestions.map(function (sugg, index) {
1992
2008
  return h("li", {
1993
2009
  "domProps": _rollupPluginBabelHelpers._extends({}, getItemProps({
1994
2010
  item: sugg
@@ -1996,9 +2012,9 @@ var DataSearch = {
1996
2012
  "on": _rollupPluginBabelHelpers._extends({}, getItemEvents({
1997
2013
  item: sugg
1998
2014
  })),
1999
- "key": _this5.suggestionsList.length + index + 1 + "-" + sugg.value,
2015
+ "key": _this6.suggestionsList.length + index + 1 + "-" + sugg.value,
2000
2016
  "style": {
2001
- backgroundColor: _this5.getBackgroundColor(highlightedIndex, _this5.suggestionsList.length + index),
2017
+ backgroundColor: _this6.getBackgroundColor(highlightedIndex, _this6.suggestionsList.length + index),
2002
2018
  justifyContent: 'flex-start'
2003
2019
  }
2004
2020
  }, [h("div", {
@@ -2007,61 +2023,61 @@ var DataSearch = {
2007
2023
  }
2008
2024
  }, [h(CustomSvg, {
2009
2025
  "attrs": {
2010
- "className": getClassName$1(_this5.$props.innerClass, 'popular-search-icon') || null,
2026
+ "className": getClassName$1(_this6.$props.innerClass, 'popular-search-icon') || null,
2011
2027
  "icon": popularSearchesIcon,
2012
2028
  "type": "popular-search-icon"
2013
2029
  }
2014
2030
  })]), h(SuggestionItem, {
2015
2031
  "attrs": {
2016
- "currentValue": _this5.currentValue,
2032
+ "currentValue": _this6.currentValue,
2017
2033
  "suggestion": sugg
2018
2034
  }
2019
2035
  })]);
2020
- })]) : _this5.renderNoSuggestions(_this5.suggestionsList)]);
2036
+ })]) : _this6.renderNoSuggestions(_this6.suggestionsList)]);
2021
2037
  };
2022
2038
 
2023
2039
  return h("div", {
2024
2040
  "class": Input.suggestionsContainer
2025
- }, [h(InputGroup, [_this5.renderInputAddonBefore(), h(CancelSvg.InputWrapper, [h(Input.Input, {
2041
+ }, [h(InputGroup, [_this6.renderInputAddonBefore(), h(CancelSvg.InputWrapper, [h(Input.Input, {
2026
2042
  "attrs": {
2027
- "id": _this5.$props.componentId + "-input",
2028
- "showIcon": _this5.$props.showIcon,
2029
- "showClear": _this5.$props.showClear,
2030
- "iconPosition": _this5.$props.iconPosition,
2031
- "placeholder": _this5.$props.placeholder,
2032
- "autoFocus": _this5.$props.autoFocus,
2033
- "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,
2034
2050
  "autocomplete": "off"
2035
2051
  },
2036
- "ref": _this5.$props.innerRef,
2037
- "class": getClassName$1(_this5.$props.innerClass, 'input'),
2052
+ "ref": _this6.$props.innerRef,
2053
+ "class": getClassName$1(_this6.$props.innerClass, 'input'),
2038
2054
  "on": _rollupPluginBabelHelpers._extends({}, getInputEvents({
2039
- onInput: _this5.onInputChange,
2055
+ onInput: _this6.onInputChange,
2040
2056
  onBlur: function onBlur(e) {
2041
- _this5.$emit('blur', e, _this5.triggerQuery);
2057
+ _this6.$emit('blur', e, _this6.triggerQuery);
2042
2058
  },
2043
- onFocus: _this5.handleFocus,
2059
+ onFocus: _this6.handleFocus,
2044
2060
  onKeyPress: function onKeyPress(e) {
2045
- _this5.$emit('keyPress', e, _this5.triggerQuery);
2061
+ _this6.$emit('keyPress', e, _this6.triggerQuery);
2046
2062
 
2047
- _this5.$emit('key-press', e, _this5.triggerQuery);
2063
+ _this6.$emit('key-press', e, _this6.triggerQuery);
2048
2064
  },
2049
2065
  onKeyDown: function onKeyDown(e) {
2050
- return _this5.handleKeyDown(e, highlightedIndex);
2066
+ return _this6.handleKeyDown(e, highlightedIndex);
2051
2067
  },
2052
2068
  onKeyUp: function onKeyUp(e) {
2053
- _this5.$emit('keyUp', e, _this5.triggerQuery);
2069
+ _this6.$emit('keyUp', e, _this6.triggerQuery);
2054
2070
 
2055
- _this5.$emit('key-up', e, _this5.triggerQuery);
2071
+ _this6.$emit('key-up', e, _this6.triggerQuery);
2056
2072
  },
2057
2073
  onClick: function onClick() {
2058
2074
  setHighlightedIndex(null);
2059
2075
  }
2060
2076
  })),
2061
2077
  "domProps": _rollupPluginBabelHelpers._extends({}, getInputProps({
2062
- value: _this5.$data.currentValue === null ? '' : _this5.$data.currentValue
2078
+ value: _this6.$data.currentValue === null ? '' : _this6.$data.currentValue
2063
2079
  }))
2064
- }), _this5.renderIcons(), !expandSuggestionsContainer && renderSuggestionsContainer()]), ' ', _this5.renderInputAddonAfter()]), expandSuggestionsContainer && renderSuggestionsContainer(), _this5.renderTags()]);
2080
+ }), _this6.renderIcons(), !expandSuggestionsContainer && renderSuggestionsContainer()]), ' ', _this6.renderInputAddonAfter()]), expandSuggestionsContainer && renderSuggestionsContainer(), _this6.renderTags()]);
2065
2081
  }
2066
2082
  }
2067
2083
  }) : h("div", {
@@ -2077,26 +2093,26 @@ var DataSearch = {
2077
2093
  },
2078
2094
  "on": _rollupPluginBabelHelpers._extends({}, {
2079
2095
  blur: function blur(e) {
2080
- _this5.$emit('blur', e, _this5.triggerQuery);
2096
+ _this6.$emit('blur', e, _this6.triggerQuery);
2081
2097
  },
2082
2098
  keypress: function keypress(e) {
2083
- _this5.$emit('keyPress', e, _this5.triggerQuery);
2099
+ _this6.$emit('keyPress', e, _this6.triggerQuery);
2084
2100
 
2085
- _this5.$emit('key-press', e, _this5.triggerQuery);
2101
+ _this6.$emit('key-press', e, _this6.triggerQuery);
2086
2102
  },
2087
2103
  input: this.onInputChange,
2088
2104
  focus: function focus(e) {
2089
- _this5.$emit('focus', e, _this5.triggerQuery);
2105
+ _this6.$emit('focus', e, _this6.triggerQuery);
2090
2106
  },
2091
2107
  keydown: function keydown(e) {
2092
- _this5.$emit('keyDown', e, _this5.triggerQuery);
2108
+ _this6.$emit('keyDown', e, _this6.triggerQuery);
2093
2109
 
2094
- _this5.$emit('key-down', e, _this5.triggerQuery);
2110
+ _this6.$emit('key-down', e, _this6.triggerQuery);
2095
2111
  },
2096
2112
  keyup: function keyup(e) {
2097
- _this5.$emit('keyUp', e, _this5.triggerQuery);
2113
+ _this6.$emit('keyUp', e, _this6.triggerQuery);
2098
2114
 
2099
- _this5.$emit('key-up', e, _this5.triggerQuery);
2115
+ _this6.$emit('key-up', e, _this6.triggerQuery);
2100
2116
  }
2101
2117
  }),
2102
2118
  "domProps": _rollupPluginBabelHelpers._extends({}, {