@appbaseio/reactivesearch-vue 1.31.0 → 1.32.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (89) hide show
  1. package/dist/@appbaseio/reactivesearch-vue.umd.js +9797 -330
  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-b51a5d0f.js} +128 -114
  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-3ebc879c.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-c40e26c7.js} +128 -114
  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-c438014c.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,
@@ -1187,8 +1173,12 @@ var DataSearch = {
1187
1173
  this.setValue(newVal, true, this.$props);
1188
1174
  },
1189
1175
  value: function value(newVal, oldVal) {
1190
- if (!isEqual(newVal, oldVal)) {
1191
- this.setValue(newVal, true, this.$props, undefined, false);
1176
+ if (!isEqual(newVal, oldVal) || this.$options.isTagsMode && !isEqual(newVal, this.selectedTags)) {
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)) {
@@ -1372,8 +1366,7 @@ var DataSearch = {
1372
1366
  if (typeof value === 'string' && !!value) {
1373
1367
  _this.selectedTags.push(value);
1374
1368
  } else if (Array.isArray(value) && !isEqual(_this.selectedTags, value)) {
1375
- var mergedArray = Array.from(new Set([].concat(_this.selectedTags, value)));
1376
- _this.selectedTags = mergedArray;
1369
+ _this.selectedTags = value;
1377
1370
  }
1378
1371
  } else if (value) {
1379
1372
  _this.selectedTags = typeof value !== 'string' ? value : [].concat(value);
@@ -1386,7 +1379,7 @@ var DataSearch = {
1386
1379
 
1387
1380
  var queryHandlerValue = value;
1388
1381
 
1389
- if (_this.$options.isTagsMode && cause === configureStore.causes.SUGGESTION_SELECT) {
1382
+ if (isTagsMode) {
1390
1383
  queryHandlerValue = Array.isArray(_this.selectedTags) && _this.selectedTags.length ? _this.selectedTags : undefined;
1391
1384
  }
1392
1385
 
@@ -1564,19 +1557,40 @@ var DataSearch = {
1564
1557
  this.$emit('key-down', event, this.triggerQuery);
1565
1558
  },
1566
1559
  onInputChange: function onInputChange(e) {
1560
+ var _this2 = this;
1561
+
1567
1562
  var inputValue = e.target.value;
1568
1563
 
1569
1564
  if (!this.$data.isOpen) {
1570
1565
  this.isOpen = true;
1571
1566
  }
1572
1567
 
1573
- var value = this.$props.value;
1568
+ var _this$$props2 = this.$props,
1569
+ value = _this$$props2.value,
1570
+ autosuggest = _this$$props2.autosuggest;
1574
1571
 
1575
1572
  if (value === undefined) {
1576
- this.setValue(inputValue);
1573
+ this.setValue(inputValue, false, this.$props, undefined, true, false);
1577
1574
  } else {
1578
1575
  this.isPending = true;
1579
- this.$emit('change', inputValue, this.triggerQuery, e);
1576
+ this.$emit('change', inputValue, function (_temp2) {
1577
+ var _ref3 = _temp2 === void 0 ? {} : _temp2,
1578
+ _ref3$isOpen = _ref3.isOpen,
1579
+ isOpen = _ref3$isOpen === void 0 ? false : _ref3$isOpen;
1580
+
1581
+ if (_this2.$options.isTagsMode && autosuggest) {
1582
+ _this2.currentValue = value;
1583
+ _this2.isOpen = isOpen;
1584
+
1585
+ _this2.updateDefaultQueryHandler(_this2.currentValue, _this2.$props);
1586
+
1587
+ return;
1588
+ }
1589
+
1590
+ _this2.triggerQuery({
1591
+ isOpen: isOpen
1592
+ });
1593
+ }, e);
1580
1594
  }
1581
1595
  },
1582
1596
  onSuggestionSelected: function onSuggestionSelected(suggestion) {
@@ -1671,9 +1685,9 @@ var DataSearch = {
1671
1685
  }
1672
1686
 
1673
1687
  var h = this.$createElement;
1674
- var _this$$props2 = this.$props,
1675
- theme = _this$$props2.theme,
1676
- innerClass = _this$$props2.innerClass;
1688
+ var _this$$props3 = this.$props,
1689
+ theme = _this$$props3.theme,
1690
+ innerClass = _this$$props3.innerClass;
1677
1691
  var renderNoSuggestion = this.$scopedSlots.renderNoSuggestion || this.$props.renderNoSuggestion;
1678
1692
  var renderError = this.$scopedSlots.renderError || this.$props.renderError;
1679
1693
  var _this$$data = this.$data,
@@ -1709,7 +1723,7 @@ var DataSearch = {
1709
1723
  return null;
1710
1724
  },
1711
1725
  renderTag: function renderTag(item) {
1712
- var _this2 = this;
1726
+ var _this3 = this;
1713
1727
 
1714
1728
  var h = this.$createElement;
1715
1729
  var innerClass = this.$props.innerClass;
@@ -1723,7 +1737,7 @@ var DataSearch = {
1723
1737
  "class": "close-icon",
1724
1738
  "on": {
1725
1739
  "click": function click() {
1726
- return _this2.clearTag(item);
1740
+ return _this3.clearTag(item);
1727
1741
  }
1728
1742
  }
1729
1743
  }, [h(CancelSvg.CancelSvg)])]);
@@ -1747,7 +1761,7 @@ var DataSearch = {
1747
1761
  }
1748
1762
  },
1749
1763
  renderTags: function renderTags() {
1750
- var _this3 = this;
1764
+ var _this4 = this;
1751
1765
 
1752
1766
  var h = this.$createElement;
1753
1767
 
@@ -1763,7 +1777,7 @@ var DataSearch = {
1763
1777
  handleClear: this.clearTag,
1764
1778
  handleClearAll: this.clearAllTags
1765
1779
  }) : h(TagsContainer, [tagsList.map(function (item) {
1766
- return _this3.renderTag(item);
1780
+ return _this4.renderTag(item);
1767
1781
  }), shouldRenderClearAllTag && h(TagItem, {
1768
1782
  "class": getClassName$1(this.$props.innerClass, 'selected-tag') || ''
1769
1783
  }, [h("span", ["Clear All"]), h("span", {
@@ -1789,13 +1803,13 @@ var DataSearch = {
1789
1803
  },
1790
1804
  renderIcons: function renderIcons() {
1791
1805
  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;
1806
+ var _this$$props4 = this.$props,
1807
+ iconPosition = _this$$props4.iconPosition,
1808
+ showClear = _this$$props4.showClear,
1809
+ innerClass = _this$$props4.innerClass,
1810
+ getMicInstance = _this$$props4.getMicInstance,
1811
+ showVoiceSearch = _this$$props4.showVoiceSearch,
1812
+ showIcon = _this$$props4.showIcon;
1799
1813
  var renderMic = this.$scopedSlots.renderMic || this.$props.renderMic;
1800
1814
  var currentValue = this.$data.currentValue;
1801
1815
  return h("div", [h(CancelSvg.IconGroup, {
@@ -1847,7 +1861,7 @@ var DataSearch = {
1847
1861
  (_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
1862
  },
1849
1863
  listenForFocusShortcuts: function listenForFocusShortcuts() {
1850
- var _this4 = this;
1864
+ var _this5 = this;
1851
1865
 
1852
1866
  var _this$$props$focusSho = this.$props.focusShortcuts,
1853
1867
  focusShortcuts = _this$$props$focusSho === void 0 ? ['/'] : _this$$props$focusSho;
@@ -1865,7 +1879,7 @@ var DataSearch = {
1865
1879
  // Prevent the default refresh event under WINDOWS system
1866
1880
  event.preventDefault();
1867
1881
 
1868
- _this4.focusSearchBox(event);
1882
+ _this5.focusSearchBox(event);
1869
1883
  }); // if one of modifier keys are used, they are handled below
1870
1884
 
1871
1885
  hotkeys('*', function (event) {
@@ -1876,7 +1890,7 @@ var DataSearch = {
1876
1890
  var element = modifierKeys[index$1];
1877
1891
 
1878
1892
  if (hotkeys[element]) {
1879
- _this4.focusSearchBox(event);
1893
+ _this5.focusSearchBox(event);
1880
1894
 
1881
1895
  break;
1882
1896
  }
@@ -1885,14 +1899,14 @@ var DataSearch = {
1885
1899
  }
1886
1900
  },
1887
1901
  render: function render() {
1888
- var _this5 = this;
1902
+ var _this6 = this;
1889
1903
 
1890
1904
  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;
1905
+ var _this$$props5 = this.$props,
1906
+ theme = _this$$props5.theme,
1907
+ size = _this$$props5.size,
1908
+ expandSuggestionsContainer = _this$$props5.expandSuggestionsContainer,
1909
+ enableDefaultSuggestions = _this$$props5.enableDefaultSuggestions;
1896
1910
  var _this$$scopedSlots = this.$scopedSlots,
1897
1911
  recentSearchesIcon = _this$$scopedSlots.recentSearchesIcon,
1898
1912
  popularSearchesIcon = _this$$scopedSlots.popularSearchesIcon;
@@ -1914,24 +1928,24 @@ var DataSearch = {
1914
1928
  "isOpen": this.$data.isOpen
1915
1929
  },
1916
1930
  "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;
1931
+ "default": function _default(_ref4) {
1932
+ var getInputEvents = _ref4.getInputEvents,
1933
+ getInputProps = _ref4.getInputProps,
1934
+ getItemProps = _ref4.getItemProps,
1935
+ getItemEvents = _ref4.getItemEvents,
1936
+ isOpen = _ref4.isOpen,
1937
+ highlightedIndex = _ref4.highlightedIndex,
1938
+ setHighlightedIndex = _ref4.setHighlightedIndex;
1925
1939
 
1926
1940
  var renderSuggestionsContainer = function renderSuggestionsContainer() {
1927
- return h("div", [_this5.hasCustomRenderer && _this5.getComponent({
1941
+ return h("div", [_this6.hasCustomRenderer && _this6.getComponent({
1928
1942
  isOpen: isOpen,
1929
1943
  getItemProps: getItemProps,
1930
1944
  getItemEvents: getItemEvents,
1931
1945
  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) {
1946
+ }), _this6.renderErrorComponent(), !_this6.hasCustomRenderer && isOpen && hasSuggestions ? h("ul", {
1947
+ "class": Input.suggestions(_this6.themePreset, theme) + " " + getClassName$1(_this6.$props.innerClass, 'list')
1948
+ }, [_this6.suggestionsList.slice(0, size || 10).map(function (item, index) {
1935
1949
  return h("li", {
1936
1950
  "domProps": _rollupPluginBabelHelpers._extends({}, getItemProps({
1937
1951
  item: item
@@ -1941,15 +1955,15 @@ var DataSearch = {
1941
1955
  })),
1942
1956
  "key": index + 1 + "-" + item.value,
1943
1957
  "style": {
1944
- backgroundColor: _this5.getBackgroundColor(highlightedIndex, index)
1958
+ backgroundColor: _this6.getBackgroundColor(highlightedIndex, index)
1945
1959
  }
1946
1960
  }, [h(SuggestionItem, {
1947
1961
  "attrs": {
1948
- "currentValue": _this5.currentValue,
1962
+ "currentValue": _this6.currentValue,
1949
1963
  "suggestion": item
1950
1964
  }
1951
1965
  })]);
1952
- }), _this5.defaultSearchSuggestions.map(function (sugg, index) {
1966
+ }), _this6.defaultSearchSuggestions.map(function (sugg, index) {
1953
1967
  return h("li", {
1954
1968
  "domProps": _rollupPluginBabelHelpers._extends({}, getItemProps({
1955
1969
  item: sugg
@@ -1957,9 +1971,9 @@ var DataSearch = {
1957
1971
  "on": _rollupPluginBabelHelpers._extends({}, getItemEvents({
1958
1972
  item: sugg
1959
1973
  })),
1960
- "key": _this5.suggestionsList.length + index + 1 + "-" + sugg.value,
1974
+ "key": _this6.suggestionsList.length + index + 1 + "-" + sugg.value,
1961
1975
  "style": {
1962
- backgroundColor: _this5.getBackgroundColor(highlightedIndex, _this5.suggestionsList.length + index),
1976
+ backgroundColor: _this6.getBackgroundColor(highlightedIndex, _this6.suggestionsList.length + index),
1963
1977
  justifyContent: 'flex-start'
1964
1978
  }
1965
1979
  }, [h("div", {
@@ -1968,28 +1982,28 @@ var DataSearch = {
1968
1982
  }
1969
1983
  }, [sugg.source && sugg.source._recent_search && h(CustomSvg, {
1970
1984
  "attrs": {
1971
- "className": getClassName$1(_this5.$props.innerClass, 'recent-search-icon') || null,
1985
+ "className": getClassName$1(_this6.$props.innerClass, 'recent-search-icon') || null,
1972
1986
  "icon": recentSearchesIcon,
1973
1987
  "type": "recent-search-icon"
1974
1988
  }
1975
1989
  }), sugg.source && sugg.source._popular_suggestion && h(CustomSvg, {
1976
1990
  "attrs": {
1977
- "className": getClassName$1(_this5.$props.innerClass, 'popular-search-icon') || null,
1991
+ "className": getClassName$1(_this6.$props.innerClass, 'popular-search-icon') || null,
1978
1992
  "icon": popularSearchesIcon,
1979
1993
  "type": "popular-search-icon"
1980
1994
  }
1981
1995
  })]), h(SuggestionItem, {
1982
1996
  "attrs": {
1983
- "currentValue": _this5.currentValue,
1997
+ "currentValue": _this6.currentValue,
1984
1998
  "suggestion": sugg
1985
1999
  }
1986
2000
  })]);
1987
- }), index.hasQuerySuggestionsRenderer(_this5) ? _this5.getComponent({
2001
+ }), index.hasQuerySuggestionsRenderer(_this6) ? _this6.getComponent({
1988
2002
  isOpen: isOpen,
1989
2003
  getItemProps: getItemProps,
1990
2004
  getItemEvents: getItemEvents,
1991
2005
  highlightedIndex: highlightedIndex
1992
- }, true) : _this5.topSuggestions.map(function (sugg, index) {
2006
+ }, true) : _this6.topSuggestions.map(function (sugg, index) {
1993
2007
  return h("li", {
1994
2008
  "domProps": _rollupPluginBabelHelpers._extends({}, getItemProps({
1995
2009
  item: sugg
@@ -1997,9 +2011,9 @@ var DataSearch = {
1997
2011
  "on": _rollupPluginBabelHelpers._extends({}, getItemEvents({
1998
2012
  item: sugg
1999
2013
  })),
2000
- "key": _this5.suggestionsList.length + index + 1 + "-" + sugg.value,
2014
+ "key": _this6.suggestionsList.length + index + 1 + "-" + sugg.value,
2001
2015
  "style": {
2002
- backgroundColor: _this5.getBackgroundColor(highlightedIndex, _this5.suggestionsList.length + index),
2016
+ backgroundColor: _this6.getBackgroundColor(highlightedIndex, _this6.suggestionsList.length + index),
2003
2017
  justifyContent: 'flex-start'
2004
2018
  }
2005
2019
  }, [h("div", {
@@ -2008,61 +2022,61 @@ var DataSearch = {
2008
2022
  }
2009
2023
  }, [h(CustomSvg, {
2010
2024
  "attrs": {
2011
- "className": getClassName$1(_this5.$props.innerClass, 'popular-search-icon') || null,
2025
+ "className": getClassName$1(_this6.$props.innerClass, 'popular-search-icon') || null,
2012
2026
  "icon": popularSearchesIcon,
2013
2027
  "type": "popular-search-icon"
2014
2028
  }
2015
2029
  })]), h(SuggestionItem, {
2016
2030
  "attrs": {
2017
- "currentValue": _this5.currentValue,
2031
+ "currentValue": _this6.currentValue,
2018
2032
  "suggestion": sugg
2019
2033
  }
2020
2034
  })]);
2021
- })]) : _this5.renderNoSuggestions(_this5.suggestionsList)]);
2035
+ })]) : _this6.renderNoSuggestions(_this6.suggestionsList)]);
2022
2036
  };
2023
2037
 
2024
2038
  return h("div", {
2025
2039
  "class": Input.suggestionsContainer
2026
- }, [h(InputGroup, [_this5.renderInputAddonBefore(), h(CancelSvg.InputWrapper, [h(Input.Input, {
2040
+ }, [h(InputGroup, [_this6.renderInputAddonBefore(), h(CancelSvg.InputWrapper, [h(Input.Input, {
2027
2041
  "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,
2042
+ "id": _this6.$props.componentId + "-input",
2043
+ "showIcon": _this6.$props.showIcon,
2044
+ "showClear": _this6.$props.showClear,
2045
+ "iconPosition": _this6.$props.iconPosition,
2046
+ "placeholder": _this6.$props.placeholder,
2047
+ "autoFocus": _this6.$props.autoFocus,
2048
+ "themePreset": _this6.themePreset,
2035
2049
  "autocomplete": "off"
2036
2050
  },
2037
- "ref": _this5.$props.innerRef,
2038
- "class": getClassName$1(_this5.$props.innerClass, 'input'),
2051
+ "ref": _this6.$props.innerRef,
2052
+ "class": getClassName$1(_this6.$props.innerClass, 'input'),
2039
2053
  "on": _rollupPluginBabelHelpers._extends({}, getInputEvents({
2040
- onInput: _this5.onInputChange,
2054
+ onInput: _this6.onInputChange,
2041
2055
  onBlur: function onBlur(e) {
2042
- _this5.$emit('blur', e, _this5.triggerQuery);
2056
+ _this6.$emit('blur', e, _this6.triggerQuery);
2043
2057
  },
2044
- onFocus: _this5.handleFocus,
2058
+ onFocus: _this6.handleFocus,
2045
2059
  onKeyPress: function onKeyPress(e) {
2046
- _this5.$emit('keyPress', e, _this5.triggerQuery);
2060
+ _this6.$emit('keyPress', e, _this6.triggerQuery);
2047
2061
 
2048
- _this5.$emit('key-press', e, _this5.triggerQuery);
2062
+ _this6.$emit('key-press', e, _this6.triggerQuery);
2049
2063
  },
2050
2064
  onKeyDown: function onKeyDown(e) {
2051
- return _this5.handleKeyDown(e, highlightedIndex);
2065
+ return _this6.handleKeyDown(e, highlightedIndex);
2052
2066
  },
2053
2067
  onKeyUp: function onKeyUp(e) {
2054
- _this5.$emit('keyUp', e, _this5.triggerQuery);
2068
+ _this6.$emit('keyUp', e, _this6.triggerQuery);
2055
2069
 
2056
- _this5.$emit('key-up', e, _this5.triggerQuery);
2070
+ _this6.$emit('key-up', e, _this6.triggerQuery);
2057
2071
  },
2058
2072
  onClick: function onClick() {
2059
2073
  setHighlightedIndex(null);
2060
2074
  }
2061
2075
  })),
2062
2076
  "domProps": _rollupPluginBabelHelpers._extends({}, getInputProps({
2063
- value: _this5.$data.currentValue === null ? '' : _this5.$data.currentValue
2077
+ value: _this6.$data.currentValue === null ? '' : _this6.$data.currentValue
2064
2078
  }))
2065
- }), _this5.renderIcons(), !expandSuggestionsContainer && renderSuggestionsContainer()]), ' ', _this5.renderInputAddonAfter()]), expandSuggestionsContainer && renderSuggestionsContainer(), _this5.renderTags()]);
2079
+ }), _this6.renderIcons(), !expandSuggestionsContainer && renderSuggestionsContainer()]), ' ', _this6.renderInputAddonAfter()]), expandSuggestionsContainer && renderSuggestionsContainer(), _this6.renderTags()]);
2066
2080
  }
2067
2081
  }
2068
2082
  }) : h("div", {
@@ -2078,26 +2092,26 @@ var DataSearch = {
2078
2092
  },
2079
2093
  "on": _rollupPluginBabelHelpers._extends({}, {
2080
2094
  blur: function blur(e) {
2081
- _this5.$emit('blur', e, _this5.triggerQuery);
2095
+ _this6.$emit('blur', e, _this6.triggerQuery);
2082
2096
  },
2083
2097
  keypress: function keypress(e) {
2084
- _this5.$emit('keyPress', e, _this5.triggerQuery);
2098
+ _this6.$emit('keyPress', e, _this6.triggerQuery);
2085
2099
 
2086
- _this5.$emit('key-press', e, _this5.triggerQuery);
2100
+ _this6.$emit('key-press', e, _this6.triggerQuery);
2087
2101
  },
2088
2102
  input: this.onInputChange,
2089
2103
  focus: function focus(e) {
2090
- _this5.$emit('focus', e, _this5.triggerQuery);
2104
+ _this6.$emit('focus', e, _this6.triggerQuery);
2091
2105
  },
2092
2106
  keydown: function keydown(e) {
2093
- _this5.$emit('keyDown', e, _this5.triggerQuery);
2107
+ _this6.$emit('keyDown', e, _this6.triggerQuery);
2094
2108
 
2095
- _this5.$emit('key-down', e, _this5.triggerQuery);
2109
+ _this6.$emit('key-down', e, _this6.triggerQuery);
2096
2110
  },
2097
2111
  keyup: function keyup(e) {
2098
- _this5.$emit('keyUp', e, _this5.triggerQuery);
2112
+ _this6.$emit('keyUp', e, _this6.triggerQuery);
2099
2113
 
2100
- _this5.$emit('key-up', e, _this5.triggerQuery);
2114
+ _this6.$emit('key-up', e, _this6.triggerQuery);
2101
2115
  }
2102
2116
  }),
2103
2117
  "domProps": _rollupPluginBabelHelpers._extends({}, {