@appbaseio/reactivesearch-vue 1.33.5 → 1.34.0-alpha.2

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 (98) hide show
  1. package/dist/@appbaseio/reactivesearch-vue.umd.js +6840 -9315
  2. package/dist/@appbaseio/reactivesearch-vue.umd.js.map +1 -1
  3. package/dist/@appbaseio/reactivesearch-vue.umd.min.js +7 -13
  4. package/dist/@appbaseio/reactivesearch-vue.umd.min.js.map +1 -1
  5. package/dist/cjs/Button-626c5e8e.js +58 -0
  6. package/dist/cjs/{CancelSvg-220a7cc3.js → CancelSvg-062a42f0.js} +32 -40
  7. package/dist/cjs/Card-c381ded3.js +26 -0
  8. package/dist/cjs/{ComponentWrapper-b6d4660c.js → ComponentWrapper-db45cc6d.js} +5 -5
  9. package/dist/cjs/Container-29f049b2.js +12 -0
  10. package/dist/cjs/{DataSearch-1c5c2202.js → DataSearch-7c71ec9f.js} +712 -850
  11. package/dist/cjs/DataSearch.js +12 -11
  12. package/dist/cjs/{DropDown-8984b544.js → DropDown-3b899b20.js} +78 -79
  13. package/dist/cjs/DynamicRangeSlider.js +51 -37
  14. package/dist/cjs/Flex-d5675ea6.js +48 -0
  15. package/dist/cjs/FormControlList-cf1ff2ca.js +42 -0
  16. package/dist/cjs/Input-4d278ca0.js +74 -0
  17. package/dist/cjs/ListItem-c067bc07.js +41 -0
  18. package/dist/cjs/MultiDropdownList.js +71 -62
  19. package/dist/cjs/MultiList.js +85 -88
  20. package/dist/cjs/MultiRange.js +54 -41
  21. package/dist/cjs/{Pagination-07f4dbad.js → Pagination-a468f960.js} +56 -53
  22. package/dist/cjs/{PreferencesConsumer-5d67b486.js → PreferencesConsumer-034c55e3.js} +6 -5
  23. package/dist/cjs/RangeInput.js +115 -107
  24. package/dist/cjs/RangeSlider.js +50 -36
  25. package/dist/cjs/ReactiveBase.js +66 -48
  26. package/dist/cjs/{ReactiveComponent-4e75c939.js → ReactiveComponent-f0f486ca.js} +325 -311
  27. package/dist/cjs/ReactiveComponent.js +21 -20
  28. package/dist/cjs/ReactiveGoogleMap.js +283 -307
  29. package/dist/cjs/ReactiveList.js +99 -116
  30. package/dist/cjs/ResultCard.js +26 -19
  31. package/dist/cjs/ResultList.js +31 -27
  32. package/dist/cjs/SelectedFilters.js +49 -34
  33. package/dist/cjs/SingleDropdownList.js +70 -61
  34. package/dist/cjs/SingleList.js +86 -90
  35. package/dist/cjs/SingleRange.js +48 -39
  36. package/dist/cjs/StateProvider.js +2 -2
  37. package/dist/cjs/Title-8802a218.js +12 -0
  38. package/dist/cjs/ToggleButton.js +39 -32
  39. package/dist/cjs/{index-30126fd0.js → index-dc25b706.js} +6 -6
  40. package/dist/cjs/index.js +22 -21
  41. package/dist/cjs/install.js +21 -20
  42. package/dist/cjs/ssr-eb901d09.js +35 -0
  43. package/dist/cjs/version.js +1 -1
  44. package/dist/cjs/{vueTypes-7cfc2f98.js → vueTypes-621a8143.js} +1 -1
  45. package/dist/es/Button-ebafa3d6.js +52 -0
  46. package/dist/es/{CancelSvg-e40552a5.js → CancelSvg-14ebc9a1.js} +30 -37
  47. package/dist/es/{Card-19ad6d90.js → Card-1951569e.js} +5 -6
  48. package/dist/es/{ComponentWrapper-8042aa35.js → ComponentWrapper-bf443c0b.js} +4 -4
  49. package/dist/es/Container-d00219f7.js +1 -1
  50. package/dist/es/{DataSearch-5bb904c5.js → DataSearch-4f9a4e46.js} +705 -842
  51. package/dist/es/DataSearch.js +10 -9
  52. package/dist/es/{DropDown-28ddce07.js → DropDown-35e232b7.js} +78 -78
  53. package/dist/es/DynamicRangeSlider.js +48 -34
  54. package/dist/es/Flex-a08e22d7.js +46 -0
  55. package/dist/es/FormControlList-fa5cf78b.js +38 -0
  56. package/dist/es/Input-3b8408a6.js +69 -0
  57. package/dist/es/{ListItem-07888a65.js → ListItem-47a6345a.js} +6 -7
  58. package/dist/es/MultiDropdownList.js +69 -60
  59. package/dist/es/MultiList.js +84 -87
  60. package/dist/es/MultiRange.js +52 -39
  61. package/dist/es/{Pagination-28e56c5c.js → Pagination-145b4ff2.js} +56 -53
  62. package/dist/es/{PreferencesConsumer-bc097ebb.js → PreferencesConsumer-7ea7313a.js} +5 -4
  63. package/dist/es/RangeInput.js +112 -103
  64. package/dist/es/RangeSlider.js +47 -33
  65. package/dist/es/ReactiveBase.js +65 -46
  66. package/dist/es/{ReactiveComponent-09c183c8.js → ReactiveComponent-e2fb9eb4.js} +321 -306
  67. package/dist/es/ReactiveComponent.js +18 -17
  68. package/dist/es/ReactiveGoogleMap.js +279 -302
  69. package/dist/es/ReactiveList.js +97 -113
  70. package/dist/es/ResultCard.js +25 -18
  71. package/dist/es/ResultList.js +30 -26
  72. package/dist/es/SelectedFilters.js +47 -32
  73. package/dist/es/SingleDropdownList.js +68 -59
  74. package/dist/es/SingleList.js +84 -88
  75. package/dist/es/SingleRange.js +46 -37
  76. package/dist/es/StateProvider.js +2 -2
  77. package/dist/es/Title-863dfa42.js +1 -1
  78. package/dist/es/ToggleButton.js +37 -30
  79. package/dist/es/{index-0444a498.js → index-285a43a6.js} +6 -6
  80. package/dist/es/index.js +19 -18
  81. package/dist/es/install.js +18 -17
  82. package/dist/es/ssr-03607d84.js +1 -1
  83. package/dist/es/version.js +1 -1
  84. package/dist/es/{vueTypes-8986b709.js → vueTypes-e4af6fe2.js} +1 -1
  85. package/package.json +8 -8
  86. package/dist/cjs/Button-841fd06d.js +0 -62
  87. package/dist/cjs/Card-240f283d.js +0 -30
  88. package/dist/cjs/Container-e699ea95.js +0 -15
  89. package/dist/cjs/Flex-ddd7cb6b.js +0 -50
  90. package/dist/cjs/FormControlList-bbb5cd24.js +0 -45
  91. package/dist/cjs/Input-ead4cd84.js +0 -77
  92. package/dist/cjs/ListItem-5088bd6a.js +0 -45
  93. package/dist/cjs/Title-16042ea0.js +0 -15
  94. package/dist/cjs/ssr-f2fc1bf6.js +0 -36
  95. package/dist/es/Button-153cd885.js +0 -53
  96. package/dist/es/Flex-7c177a10.js +0 -45
  97. package/dist/es/FormControlList-99797d0a.js +0 -38
  98. package/dist/es/Input-c09c0b56.js +0 -69
@@ -6,22 +6,23 @@ var configureStore = require('@appbaseio/reactivecore');
6
6
  var configureStore__default = _interopDefault(configureStore);
7
7
  var constants = require('@appbaseio/reactivecore/lib/utils/constants');
8
8
  var _rollupPluginBabelHelpers = require('./_rollupPluginBabelHelpers-f8b843f8.js');
9
+ var vue = require('vue');
9
10
  var VueTypes = _interopDefault(require('vue-types'));
10
11
  var helper = require('@appbaseio/reactivecore/lib/utils/helper');
11
- var styled = require('@appbaseio/vue-emotion');
12
- var styled__default = _interopDefault(styled);
13
- var Button = require('./Button-841fd06d.js');
14
- var vueTypes = require('./vueTypes-7cfc2f98.js');
12
+ var vueEmotion = require('@appbaseio/vue-emotion');
13
+ var Button = require('./Button-626c5e8e.js');
14
+ var vueTypes = require('./vueTypes-621a8143.js');
15
15
  var ReactiveList = require('./ReactiveList.js');
16
- var index = require('./index-30126fd0.js');
17
- var ComponentWrapper = require('./ComponentWrapper-b6d4660c.js');
18
- var PreferencesConsumer = require('./PreferencesConsumer-5d67b486.js');
19
- var Title = require('./Title-16042ea0.js');
16
+ var index = require('./index-dc25b706.js');
17
+ var ComponentWrapper = require('./ComponentWrapper-db45cc6d.js');
18
+ var PreferencesConsumer = require('./PreferencesConsumer-034c55e3.js');
19
+ var Title = require('./Title-8802a218.js');
20
20
  var hotkeys = _interopDefault(require('hotkeys-js'));
21
- var DataSearch = require('./DataSearch-1c5c2202.js');
22
- var CancelSvg = require('./CancelSvg-220a7cc3.js');
23
- var Input = require('./Input-ead4cd84.js');
24
- var Container = require('./Container-e699ea95.js');
21
+ var DataSearch = require('./DataSearch-7c71ec9f.js');
22
+ var CancelSvg = require('./CancelSvg-062a42f0.js');
23
+ var Input = require('./Input-4d278ca0.js');
24
+ var Container = require('./Container-29f049b2.js');
25
+ var _transformOn = _interopDefault(require('@vue/babel-helper-vue-transform-on'));
25
26
  var SingleList = require('./SingleList.js');
26
27
  var MultiList = require('./MultiList.js');
27
28
  var SingleDropdownList = require('./SingleDropdownList.js');
@@ -34,24 +35,21 @@ var RangeSlider = require('./RangeSlider.js');
34
35
  var RangeInput = require('./RangeInput.js');
35
36
 
36
37
  var _templateObject;
37
- var AutofillSvgIcon = styled__default('button')(_templateObject || (_templateObject = _rollupPluginBabelHelpers._taggedTemplateLiteralLoose(["\n\tdisplay: flex;\n\tmargin-left: auto;\n\tposition: relative;\n\tright: -3px;\n\tborder: none;\n\toutline: none;\n\tbackground: transparent;\n\tpadding: 0;\n\tz-index: 111000;\n\n\tsvg {\n\t\tcursor: pointer;\n\t\tfill: #707070;\n\t\theight: 20px;\n\t}\n\n\t&:hover {\n\t\tsvg {\n\t\t\tfill: #1c1a1a;\n\t\t}\n\t}\n"])));
38
+ var AutofillSvgIcon = vueEmotion.styled('button')(_templateObject || (_templateObject = _rollupPluginBabelHelpers._taggedTemplateLiteralLoose(["\n\tdisplay: flex;\n\tmargin-left: auto;\n\tposition: relative;\n\tright: -3px;\n\tborder: none;\n\toutline: none;\n\tbackground: transparent;\n\tpadding: 0;\n\tz-index: 111000;\n\n\tsvg {\n\t\tcursor: pointer;\n\t\tfill: #707070;\n\t\theight: 20px;\n\t}\n\n\t&:hover {\n\t\tsvg {\n\t\t\tfill: #1c1a1a;\n\t\t}\n\t}\n"])));
38
39
  var AutoFillSvg = {
39
40
  name: 'AutoFillSvg',
40
41
  render: function render() {
41
- var h = arguments[0];
42
- return h(AutofillSvgIcon, {
43
- "on": {
44
- "click": this.$listeners.click
42
+ return vue.createVNode(AutofillSvgIcon, {
43
+ "onClick": this.$attrs.click
44
+ }, {
45
+ "default": function _default() {
46
+ return [vue.createVNode("svg", {
47
+ "viewBox": "0 0 24 24"
48
+ }, [vue.createVNode("path", {
49
+ "d": "M8 17v-7.586l8.293 8.293c0.391 0.391 1.024 0.391 1.414 0s0.391-1.024 0-1.414l-8.293-8.293h7.586c0.552 0 1-0.448 1-1s-0.448-1-1-1h-10c-0.552 0-1 0.448-1 1v10c0 0.552 0.448 1 1 1s1-0.448 1-1z"
50
+ }, null)])];
45
51
  }
46
- }, [h("svg", {
47
- "attrs": {
48
- "viewBox": "0 0 24 24"
49
- }
50
- }, [h("path", {
51
- "attrs": {
52
- "d": "M8 17v-7.586l8.293 8.293c0.391 0.391 1.024 0.391 1.414 0s0.391-1.024 0-1.414l-8.293-8.293h7.586c0.552 0 1-0.448 1-1s-0.448-1-1-1h-10c-0.552 0-1 0.448-1 1v10c0 0.552 0.448 1 1 1s1-0.448 1-1z"
53
- }
54
- })])]);
52
+ });
55
53
  },
56
54
  methods: {
57
55
  clicked: function clicked(e) {
@@ -61,6 +59,9 @@ var AutoFillSvg = {
61
59
  }
62
60
  };
63
61
 
62
+ function _isSlot(s) {
63
+ return typeof s === 'function' || Object.prototype.toString.call(s) === '[object Object]' && !vue.isVNode(s);
64
+ }
64
65
  var updateQuery = configureStore.Actions.updateQuery,
65
66
  setCustomQuery = configureStore.Actions.setCustomQuery,
66
67
  setDefaultQuery = configureStore.Actions.setDefaultQuery,
@@ -73,7 +74,7 @@ var _debounce = configureStore.helper.debounce,
73
74
  withClickIds = configureStore.helper.withClickIds,
74
75
  getResultStats = configureStore.helper.getResultStats,
75
76
  normalizeDataField = configureStore.helper.normalizeDataField;
76
- var SearchBox = {
77
+ var SearchBox = vue.defineComponent({
77
78
  name: 'SearchBox',
78
79
  isTagsMode: false,
79
80
  data: function data() {
@@ -664,31 +665,31 @@ var SearchBox = {
664
665
  return highlightedIndex === index ? '#eee' : '#fff';
665
666
  },
666
667
  renderIcon: function renderIcon() {
667
- var h = this.$createElement;
668
668
  if (this.$props.showIcon) {
669
- return this.$props.icon || h(DataSearch.SearchSvg);
669
+ return this.$props.icon || vue.createVNode(DataSearch.SearchSvg, null, null);
670
670
  }
671
671
  return null;
672
672
  },
673
673
  renderErrorComponent: function renderErrorComponent() {
674
- var h = this.$createElement;
675
- var renderError = this.$scopedSlots.renderError || this.$props.renderError;
674
+ var _this4 = this;
675
+ var renderError = this.$slots.renderError || this.$props.renderError;
676
676
  if (this.error && renderError && this.$data.currentValue && !this.isLoading) {
677
- return h(DataSearch.SuggestionWrapper, {
678
- "attrs": {
679
- "innerClass": this.$props.innerClass,
680
- "innerClassName": "error",
681
- "theme": this.theme,
682
- "themePreset": this.themePreset
677
+ return vue.createVNode(DataSearch.SuggestionWrapper, {
678
+ "innerClass": this.$props.innerClass,
679
+ "innerClassName": "error",
680
+ "theme": this.theme,
681
+ "themePreset": this.themePreset
682
+ }, {
683
+ "default": function _default() {
684
+ return [index.isFunction(renderError) ? renderError(_this4.error) : renderError];
683
685
  }
684
- }, [index.isFunction(renderError) ? renderError(this.error) : renderError]);
686
+ });
685
687
  }
686
688
  return null;
687
689
  },
688
690
  renderCancelIcon: function renderCancelIcon() {
689
- var h = this.$createElement;
690
691
  if (this.$props.showClear) {
691
- return this.$props.clearIcon || h(CancelSvg.CancelSvg);
692
+ return this.$props.clearIcon || vue.createVNode(CancelSvg.CancelSvg, null, null);
692
693
  }
693
694
  return null;
694
695
  },
@@ -696,49 +697,54 @@ var SearchBox = {
696
697
  if (finalSuggestionsList === void 0) {
697
698
  finalSuggestionsList = [];
698
699
  }
699
- var h = this.$createElement;
700
700
  var _this$$props3 = this.$props,
701
701
  theme = _this$$props3.theme,
702
702
  innerClass = _this$$props3.innerClass;
703
- var renderNoSuggestion = this.$scopedSlots.renderNoSuggestion || this.$props.renderNoSuggestion;
704
- var renderError = this.$scopedSlots.renderError || this.$props.renderError;
703
+ var renderNoSuggestion = this.$slots.renderNoSuggestion || this.$props.renderNoSuggestion;
704
+ var renderError = this.$slots.renderError || this.$props.renderError;
705
705
  var _this$$data = this.$data,
706
706
  isOpen = _this$$data.isOpen,
707
707
  currentValue = _this$$data.currentValue;
708
708
  if (renderNoSuggestion && isOpen && !finalSuggestionsList.length && !this.isLoading && currentValue && !(renderError && this.error)) {
709
- return h(DataSearch.SuggestionWrapper, {
710
- "attrs": {
711
- "innerClass": innerClass,
712
- "themePreset": this.themePreset,
713
- "theme": theme,
714
- "innerClassName": "noSuggestion"
715
- },
709
+ return vue.createVNode(DataSearch.SuggestionWrapper, {
710
+ "innerClass": innerClass,
711
+ "themePreset": this.themePreset,
712
+ "theme": theme,
713
+ "innerClassName": "noSuggestion",
716
714
  "scopedSlots": {
717
715
  "default": function _default() {
718
716
  return typeof renderNoSuggestion === 'function' ? renderNoSuggestion(currentValue) : renderNoSuggestion;
719
717
  }
720
718
  }
721
- });
719
+ }, null);
722
720
  }
723
721
  return null;
724
722
  },
725
723
  renderInputAddonBefore: function renderInputAddonBefore() {
726
- var h = this.$createElement;
727
- var addonBefore = this.$scopedSlots.addonBefore;
724
+ var addonBefore = this.$slots.addonBefore;
728
725
  if (addonBefore) {
729
- return h(DataSearch.InputAddon, {
726
+ var _slot;
727
+ return vue.createVNode(DataSearch.InputAddon, {
730
728
  "class": "addon-before"
731
- }, [addonBefore()]);
729
+ }, _isSlot(_slot = addonBefore()) ? _slot : {
730
+ "default": function _default() {
731
+ return [_slot];
732
+ }
733
+ });
732
734
  }
733
735
  return null;
734
736
  },
735
737
  renderInputAddonAfter: function renderInputAddonAfter() {
736
- var h = this.$createElement;
737
- var addonAfter = this.$scopedSlots.addonAfter;
738
+ var addonAfter = this.$slots.addonAfter;
738
739
  if (addonAfter) {
739
- return h(DataSearch.InputAddon, {
740
+ var _slot2;
741
+ return vue.createVNode(DataSearch.InputAddon, {
740
742
  "class": "addon-after"
741
- }, [addonAfter()]);
743
+ }, _isSlot(_slot2 = addonAfter()) ? _slot2 : {
744
+ "default": function _default() {
745
+ return [_slot2];
746
+ }
747
+ });
742
748
  }
743
749
  return null;
744
750
  },
@@ -750,35 +756,35 @@ var SearchBox = {
750
756
  });
751
757
  },
752
758
  renderEnterButtonElement: function renderEnterButtonElement() {
753
- var _this4 = this;
754
- var h = this.$createElement;
759
+ var _this5 = this;
755
760
  var _this$$props4 = this.$props,
756
761
  enterButton = _this$$props4.enterButton,
757
762
  innerClass = _this$$props4.innerClass;
758
- var renderEnterButton = this.$scopedSlots.renderEnterButton;
763
+ var renderEnterButton = this.$slots.renderEnterButton;
759
764
  if (enterButton) {
760
765
  var getEnterButtonMarkup = function getEnterButtonMarkup() {
761
766
  if (renderEnterButton) {
762
- return renderEnterButton(_this4.enterButtonOnClick);
767
+ return renderEnterButton(_this5.enterButtonOnClick);
763
768
  }
764
- return h(Button.Button, {
769
+ return vue.createVNode(Button.Button, {
765
770
  "class": "enter-btn " + getClassName(innerClass, 'enter-button'),
766
- "attrs": {
767
- "primary": true
768
- },
769
- "on": {
770
- "click": _this4.enterButtonOnClick
771
+ "primary": true,
772
+ "onClick": _this5.enterButtonOnClick
773
+ }, {
774
+ "default": function _default() {
775
+ return [vue.createTextVNode("Search")];
771
776
  }
772
- }, ["Search"]);
777
+ });
773
778
  };
774
- return h("div", {
779
+ return vue.createVNode("div", {
775
780
  "class": "enter-button-wrapper"
776
781
  }, [getEnterButtonMarkup()]);
777
782
  }
778
783
  return null;
779
784
  },
780
785
  renderIcons: function renderIcons() {
781
- var h = this.$createElement;
786
+ var _this6 = this;
787
+ var _slot3, _slot4, _slot5;
782
788
  var _this$$props5 = this.$props,
783
789
  iconPosition = _this$$props5.iconPosition,
784
790
  showClear = _this$$props5.showClear,
@@ -786,42 +792,48 @@ var SearchBox = {
786
792
  getMicInstance = _this$$props5.getMicInstance,
787
793
  showVoiceSearch = _this$$props5.showVoiceSearch,
788
794
  showIcon = _this$$props5.showIcon;
789
- var renderMic = this.$scopedSlots.renderMic || this.$props.renderMic;
795
+ var renderMic = this.$slots.renderMic || this.$props.renderMic;
790
796
  var currentValue = this.$data.currentValue;
791
- return h("div", [h(CancelSvg.IconGroup, {
792
- "attrs": {
793
- "groupPosition": "right",
794
- "positionType": "absolute"
795
- }
796
- }, [currentValue && showClear && h(CancelSvg.IconWrapper, {
797
- "on": {
798
- "click": this.clearValue
799
- },
800
- "attrs": {
801
- "showIcon": showIcon,
802
- "isClearIcon": true
803
- }
804
- }, [this.renderCancelIcon()]), showVoiceSearch && h(DataSearch.Mic, {
805
- "attrs": {
806
- "getInstance": getMicInstance,
807
- "render": renderMic,
808
- "handleResult": this.handleVoiceResults,
809
- "className": getClassName(innerClass, 'mic') || null
810
- }
811
- }), iconPosition === 'right' && showIcon && h(CancelSvg.IconWrapper, {
812
- "on": {
813
- "click": this.handleSearchIconClick
814
- }
815
- }, [this.renderIcon()])]), h(CancelSvg.IconGroup, {
816
- "attrs": {
817
- "groupPosition": "left",
818
- "positionType": "absolute"
797
+ return vue.createVNode("div", null, [vue.createVNode(CancelSvg.IconGroup, {
798
+ "groupPosition": "right",
799
+ "positionType": "absolute"
800
+ }, {
801
+ "default": function _default() {
802
+ return [currentValue && showClear && vue.createVNode(CancelSvg.IconWrapper, {
803
+ "onClick": _this6.clearValue,
804
+ "showIcon": showIcon,
805
+ "isClearIcon": true
806
+ }, _isSlot(_slot3 = _this6.renderCancelIcon()) ? _slot3 : {
807
+ "default": function _default() {
808
+ return [_slot3];
809
+ }
810
+ }), showVoiceSearch && vue.createVNode(DataSearch.Mic, {
811
+ "getInstance": getMicInstance,
812
+ "render": renderMic,
813
+ "handleResult": _this6.handleVoiceResults,
814
+ "className": getClassName(innerClass, 'mic') || null
815
+ }, null), iconPosition === 'right' && showIcon && vue.createVNode(CancelSvg.IconWrapper, {
816
+ "onClick": _this6.handleSearchIconClick
817
+ }, _isSlot(_slot4 = _this6.renderIcon()) ? _slot4 : {
818
+ "default": function _default() {
819
+ return [_slot4];
820
+ }
821
+ })];
819
822
  }
820
- }, [iconPosition === 'left' && showIcon && h(CancelSvg.IconWrapper, {
821
- "on": {
822
- "click": this.handleSearchIconClick
823
+ }), vue.createVNode(CancelSvg.IconGroup, {
824
+ "groupPosition": "left",
825
+ "positionType": "absolute"
826
+ }, {
827
+ "default": function _default() {
828
+ return [iconPosition === 'left' && showIcon && vue.createVNode(CancelSvg.IconWrapper, {
829
+ "onClick": _this6.handleSearchIconClick
830
+ }, _isSlot(_slot5 = _this6.renderIcon()) ? _slot5 : {
831
+ "default": function _default() {
832
+ return [_slot5];
833
+ }
834
+ })];
823
835
  }
824
- }, [this.renderIcon()])])]);
836
+ })]);
825
837
  },
826
838
  focusSearchBox: function focusSearchBox(event) {
827
839
  var _this$$refs, _this$$refs$this$$pro;
@@ -834,7 +846,7 @@ var SearchBox = {
834
846
  (_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
835
847
  },
836
848
  listenForFocusShortcuts: function listenForFocusShortcuts() {
837
- var _this5 = this;
849
+ var _this7 = this;
838
850
  var _this$$props$focusSho = this.$props.focusShortcuts,
839
851
  focusShortcuts = _this$$props$focusSho === void 0 ? ['/'] : _this$$props$focusSho;
840
852
  if (index.isEmpty(focusShortcuts)) {
@@ -849,7 +861,7 @@ var SearchBox = {
849
861
  function (event, handler) {
850
862
  // Prevent the default refresh event under WINDOWS system
851
863
  event.preventDefault();
852
- _this5.focusSearchBox(event);
864
+ _this7.focusSearchBox(event);
853
865
  });
854
866
 
855
867
  // if one of modifier keys are used, they are handled below
@@ -859,7 +871,7 @@ var SearchBox = {
859
871
  for (var index$1 = 0; index$1 < modifierKeys.length; index$1 += 1) {
860
872
  var element = modifierKeys[index$1];
861
873
  if (hotkeys[element]) {
862
- _this5.focusSearchBox(event);
874
+ _this7.focusSearchBox(event);
863
875
  break;
864
876
  }
865
877
  }
@@ -872,37 +884,33 @@ var SearchBox = {
872
884
  this.triggerDefaultQuery(value);
873
885
  },
874
886
  renderAutoFill: function renderAutoFill(suggestion) {
875
- var _this6 = this;
876
- var h = this.$createElement;
887
+ var _this8 = this;
877
888
  var handleAutoFillClick = function handleAutoFillClick(e) {
878
889
  e.stopPropagation();
879
- _this6.onAutofillClick(suggestion);
890
+ _this8.onAutofillClick(suggestion);
880
891
  };
881
892
  /* 👇 avoid showing autofill for category suggestions👇 */
882
- return suggestion._category ? null : h(AutoFillSvg, {
883
- "on": {
884
- "click": handleAutoFillClick
885
- }
886
- });
893
+ return suggestion._category ? null : vue.createVNode(AutoFillSvg, {
894
+ "onClick": handleAutoFillClick
895
+ }, null);
887
896
  },
888
897
  renderTag: function renderTag(item) {
889
- var _this7 = this;
890
- var h = this.$createElement;
898
+ var _this9 = this;
891
899
  var innerClass = this.$props.innerClass;
892
- return h(DataSearch.TagItem, {
900
+ return vue.createVNode(DataSearch.TagItem, {
893
901
  "class": getClassName(innerClass, 'selected-tag') || ''
894
- }, [h("span", [item]), h("span", {
895
- "attrs": {
896
- "role": "img",
897
- "aria-label": "delete-tag"
898
- },
899
- "class": "close-icon",
900
- "on": {
901
- "click": function click() {
902
- return _this7.clearTag(item);
903
- }
902
+ }, {
903
+ "default": function _default() {
904
+ return [vue.createVNode("span", null, [item]), vue.createVNode("span", {
905
+ "role": "img",
906
+ "aria-label": "delete-tag",
907
+ "class": "close-icon",
908
+ "onClick": function onClick() {
909
+ return _this9.clearTag(item);
910
+ }
911
+ }, [vue.createVNode(CancelSvg.CancelSvg, null, null)])];
904
912
  }
905
- }, [h(CancelSvg.CancelSvg)])]);
913
+ });
906
914
  },
907
915
  clearAllTags: function clearAllTags() {
908
916
  this.selectedTags = [];
@@ -921,211 +929,218 @@ var SearchBox = {
921
929
  }
922
930
  },
923
931
  renderTags: function renderTags() {
924
- var _this8 = this;
925
- var h = this.$createElement;
932
+ var _this10 = this;
926
933
  if (!Array.isArray(this.selectedTags)) {
927
934
  return null;
928
935
  }
929
936
  var tagsList = [].concat(this.selectedTags);
930
937
  var shouldRenderClearAllTag = tagsList.length > 1;
931
- var renderSelectedTags = this.$scopedSlots.renderSelectedTags || this.$props.renderSelectedTags;
938
+ var renderSelectedTags = this.$slots.renderSelectedTags || this.$props.renderSelectedTags;
932
939
  return renderSelectedTags ? renderSelectedTags({
933
940
  values: this.selectedTags,
934
941
  handleClear: this.clearTag,
935
942
  handleClearAll: this.clearAllTags
936
- }) : h(DataSearch.TagsContainer, [tagsList.map(function (item) {
937
- return _this8.renderTag(item);
938
- }), shouldRenderClearAllTag && h(DataSearch.TagItem, {
939
- "class": getClassName(this.$props.innerClass, 'selected-tag') || ''
940
- }, [h("span", ["Clear All"]), h("span", {
941
- "attrs": {
942
- "role": "img",
943
- "aria-label": "delete-tag"
944
- },
945
- "class": "close-icon",
946
- "on": {
947
- "click": this.clearAllTags
943
+ }) : vue.createVNode(DataSearch.TagsContainer, null, {
944
+ "default": function _default() {
945
+ return [tagsList.map(function (item) {
946
+ return _this10.renderTag(item);
947
+ }), shouldRenderClearAllTag && vue.createVNode(DataSearch.TagItem, {
948
+ "class": getClassName(_this10.$props.innerClass, 'selected-tag') || ''
949
+ }, {
950
+ "default": function _default() {
951
+ return [vue.createVNode("span", null, [vue.createTextVNode("Clear All")]), vue.createVNode("span", {
952
+ "role": "img",
953
+ "aria-label": "delete-tag",
954
+ "class": "close-icon",
955
+ "onClick": _this10.clearAllTags
956
+ }, [vue.createVNode(CancelSvg.CancelSvg, null, null)])];
957
+ }
958
+ })];
948
959
  }
949
- }, [h(CancelSvg.CancelSvg)])])]);
960
+ });
950
961
  }
951
962
  },
952
963
  render: function render() {
953
- var _this9 = this;
954
- var h = arguments[0];
964
+ var _this11 = this;
955
965
  var _this$$props6 = this.$props,
956
966
  theme = _this$$props6.theme,
957
967
  expandSuggestionsContainer = _this$$props6.expandSuggestionsContainer;
958
- var _this$$scopedSlots = this.$scopedSlots,
959
- recentSearchesIcon = _this$$scopedSlots.recentSearchesIcon,
960
- popularSearchesIcon = _this$$scopedSlots.popularSearchesIcon;
968
+ var _this$$slots = this.$slots,
969
+ recentSearchesIcon = _this$$slots.recentSearchesIcon,
970
+ popularSearchesIcon = _this$$slots.popularSearchesIcon;
961
971
  var hasSuggestions = Array.isArray(this.normalizedSuggestions) && this.normalizedSuggestions.length;
962
- var renderItem = this.$scopedSlots.renderItem || this.$props.renderItem;
963
- return h(Container.Container, {
972
+ var renderItem = this.$slots.renderItem || this.$props.renderItem;
973
+ return vue.createVNode(Container.Container, {
964
974
  "class": this.$props.className
965
- }, [this.$props.title && h(Title.Title, {
966
- "class": getClassName(this.$props.innerClass, 'title') || ''
967
- }, [this.$props.title]), this.$props.autosuggest ? h(CancelSvg.Downshift, {
968
- "attrs": {
969
- "id": this.$props.componentId + "-downshift",
970
- "handleChange": this.onSuggestionSelected,
971
- "handleMouseup": this.handleStateChange,
972
- "isOpen": this.$data.isOpen
973
- },
974
- "scopedSlots": {
975
- "default": function _default(_ref5) {
976
- var getInputEvents = _ref5.getInputEvents,
977
- getInputProps = _ref5.getInputProps,
978
- getItemProps = _ref5.getItemProps,
979
- getItemEvents = _ref5.getItemEvents,
980
- isOpen = _ref5.isOpen,
981
- highlightedIndex = _ref5.highlightedIndex,
982
- setHighlightedIndex = _ref5.setHighlightedIndex;
983
- var renderSuggestionsDropdown = function renderSuggestionsDropdown() {
984
- var getIcon = function getIcon(iconType) {
985
- switch (iconType) {
986
- case helper.suggestionTypes.Recent:
987
- return recentSearchesIcon;
988
- case helper.suggestionTypes.Popular:
989
- return popularSearchesIcon;
990
- default:
991
- return null;
992
- }
993
- };
994
- return h("div", [_this9.hasCustomRenderer && _this9.getComponent({
995
- isOpen: isOpen,
996
- getItemProps: getItemProps,
997
- getItemEvents: getItemEvents,
998
- highlightedIndex: highlightedIndex
999
- }), _this9.renderErrorComponent(), !_this9.hasCustomRenderer && isOpen && hasSuggestions ? h("ul", {
1000
- "class": Input.suggestions(_this9.themePreset, theme) + " " + getClassName(_this9.$props.innerClass, 'list')
1001
- }, [_this9.normalizedSuggestions.map(function (item, index) {
1002
- return renderItem ? h("li", {
1003
- "domProps": _rollupPluginBabelHelpers._extends({}, getItemProps({
975
+ }, {
976
+ "default": function _default() {
977
+ return [_this11.$props.title && vue.createVNode(Title.Title, {
978
+ "class": getClassName(_this11.$props.innerClass, 'title') || ''
979
+ }, {
980
+ "default": function _default() {
981
+ return [_this11.$props.title];
982
+ }
983
+ }), _this11.$props.autosuggest ? vue.createVNode(CancelSvg.Downshift, {
984
+ "id": _this11.$props.componentId + "-downshift",
985
+ "handleChange": _this11.onSuggestionSelected,
986
+ "handleMouseup": _this11.handleStateChange,
987
+ "isOpen": _this11.$data.isOpen
988
+ }, {
989
+ "default": function _default(_ref5) {
990
+ var getInputEvents = _ref5.getInputEvents,
991
+ getInputProps = _ref5.getInputProps,
992
+ getItemProps = _ref5.getItemProps,
993
+ getItemEvents = _ref5.getItemEvents,
994
+ isOpen = _ref5.isOpen,
995
+ highlightedIndex = _ref5.highlightedIndex,
996
+ setHighlightedIndex = _ref5.setHighlightedIndex;
997
+ var renderSuggestionsDropdown = function renderSuggestionsDropdown() {
998
+ var getIcon = function getIcon(iconType) {
999
+ switch (iconType) {
1000
+ case helper.suggestionTypes.Recent:
1001
+ return recentSearchesIcon;
1002
+ case helper.suggestionTypes.Popular:
1003
+ return popularSearchesIcon;
1004
+ default:
1005
+ return null;
1006
+ }
1007
+ };
1008
+ return vue.createVNode("div", null, [_this11.hasCustomRenderer && _this11.getComponent({
1009
+ isOpen: isOpen,
1010
+ getItemProps: getItemProps,
1011
+ getItemEvents: getItemEvents,
1012
+ highlightedIndex: highlightedIndex
1013
+ }), _this11.renderErrorComponent(), !_this11.hasCustomRenderer && isOpen && hasSuggestions ? vue.createVNode("ul", {
1014
+ "class": Input.suggestions(_this11.themePreset, theme) + " " + getClassName(_this11.$props.innerClass, 'list')
1015
+ }, [_this11.normalizedSuggestions.map(function (item, index) {
1016
+ return renderItem ? vue.createVNode("li", vue.mergeProps(getItemProps({
1004
1017
  item: item
1005
- })),
1006
- "on": _rollupPluginBabelHelpers._extends({}, getItemEvents({
1018
+ }), getItemEvents({
1007
1019
  item: item
1008
- })),
1009
- "key": index + 1 + "-" + item.value,
1010
- "style": {
1011
- backgroundColor: _this9.getBackgroundColor(highlightedIndex, index),
1012
- justifyContent: 'flex-start',
1013
- alignItems: 'center'
1014
- }
1015
- }, [renderItem(item)]) : h("li", {
1016
- "domProps": _rollupPluginBabelHelpers._extends({}, getItemProps({
1020
+ }), {
1021
+ "key": index + 1 + "-" + item.value,
1022
+ "style": {
1023
+ backgroundColor: _this11.getBackgroundColor(highlightedIndex, index),
1024
+ justifyContent: 'flex-start',
1025
+ alignItems: 'center'
1026
+ }
1027
+ }), [renderItem(item)]) : vue.createVNode("li", vue.mergeProps(getItemProps({
1017
1028
  item: item
1018
- })),
1019
- "on": _rollupPluginBabelHelpers._extends({}, getItemEvents({
1029
+ }), _transformOn(getItemEvents({
1020
1030
  item: item
1021
- })),
1022
- "key": index + 1 + "-" + item.value,
1023
- "style": {
1024
- backgroundColor: _this9.getBackgroundColor(highlightedIndex, index),
1025
- justifyContent: 'flex-start',
1026
- alignItems: 'center'
1027
- }
1028
- }, [h("div", {
1029
- "style": {
1030
- padding: '0 10px 0 0',
1031
- display: 'flex'
1032
- }
1033
- }, [h(DataSearch.CustomSvg, {
1034
- "attrs": {
1035
- "className": getClassName(_this9.$props.innerClass, item._suggestion_type + "-search-icon") || null,
1031
+ })), {
1032
+ "key": index + 1 + "-" + item.value,
1033
+ "style": {
1034
+ backgroundColor: _this11.getBackgroundColor(highlightedIndex, index),
1035
+ justifyContent: 'flex-start',
1036
+ alignItems: 'center'
1037
+ }
1038
+ }), [vue.createVNode("div", {
1039
+ "style": {
1040
+ padding: '0 10px 0 0',
1041
+ display: 'flex'
1042
+ }
1043
+ }, [vue.createVNode(DataSearch.CustomSvg, {
1044
+ "className": getClassName(_this11.$props.innerClass, item._suggestion_type + "-search-icon") || null,
1036
1045
  "icon": getIcon(item._suggestion_type),
1037
1046
  "type": item._suggestion_type + "-search-icon"
1038
- }
1039
- })]), h(DataSearch.SuggestionItem, {
1040
- "attrs": {
1041
- "currentValue": _this9.currentValue,
1047
+ }, null)]), vue.createVNode(DataSearch.SuggestionItem, {
1048
+ "currentValue": _this11.currentValue,
1042
1049
  "suggestion": item
1043
- }
1044
- }), _this9.renderAutoFill(item)]);
1045
- })]) : _this9.renderNoSuggestions(_this9.normalizedSuggestions)]);
1046
- };
1047
- return h("div", {
1048
- "class": Input.suggestionsContainer
1049
- }, [h(DataSearch.InputGroup, [_this9.renderInputAddonBefore(), h(CancelSvg.InputWrapper, [h(Input.Input, {
1050
- "attrs": {
1051
- "id": _this9.$props.componentId + "-input",
1052
- "showIcon": _this9.$props.showIcon,
1053
- "showClear": _this9.$props.showClear,
1054
- "iconPosition": _this9.$props.iconPosition,
1055
- "placeholder": _this9.$props.placeholder,
1056
- "autoFocus": _this9.$props.autoFocus,
1057
- "themePreset": _this9.themePreset,
1058
- "autocomplete": "off"
1059
- },
1060
- "ref": _this9.$props.innerRef,
1061
- "class": getClassName(_this9.$props.innerClass, 'input'),
1062
- "on": _rollupPluginBabelHelpers._extends({}, getInputEvents({
1063
- onInput: _this9.onInputChange,
1064
- onBlur: function onBlur(e) {
1065
- _this9.$emit('blur', e, _this9.triggerQuery);
1066
- },
1067
- onFocus: _this9.handleFocus,
1068
- onKeyPress: function onKeyPress(e) {
1069
- _this9.$emit('keyPress', e, _this9.triggerQuery);
1070
- _this9.$emit('key-press', e, _this9.triggerQuery);
1071
- },
1072
- onKeyDown: function onKeyDown(e) {
1073
- return _this9.handleKeyDown(e, highlightedIndex);
1074
- },
1075
- onKeyUp: function onKeyUp(e) {
1076
- _this9.$emit('keyUp', e, _this9.triggerQuery);
1077
- _this9.$emit('key-up', e, _this9.triggerQuery);
1078
- },
1079
- onClick: function onClick() {
1080
- setHighlightedIndex(null);
1050
+ }, null), _this11.renderAutoFill(item)]);
1051
+ })]) : _this11.renderNoSuggestions(_this11.normalizedSuggestions)]);
1052
+ };
1053
+ return vue.createVNode("div", {
1054
+ "class": Input.suggestionsContainer
1055
+ }, [vue.createVNode(DataSearch.InputGroup, null, {
1056
+ "default": function _default() {
1057
+ return [_this11.renderInputAddonBefore(), vue.createVNode(CancelSvg.InputWrapper, null, {
1058
+ "default": function _default() {
1059
+ return [vue.createVNode(Input.Input, vue.mergeProps(_transformOn(getInputEvents({
1060
+ onInput: _this11.onInputChange,
1061
+ onBlur: function onBlur(e) {
1062
+ _this11.$emit('blur', e, _this11.triggerQuery);
1063
+ },
1064
+ onFocus: _this11.handleFocus,
1065
+ onKeyPress: function onKeyPress(e) {
1066
+ _this11.$emit('keyPress', e, _this11.triggerQuery);
1067
+ _this11.$emit('key-press', e, _this11.triggerQuery);
1068
+ },
1069
+ onKeyDown: function onKeyDown(e) {
1070
+ return _this11.handleKeyDown(e, highlightedIndex);
1071
+ },
1072
+ onKeyUp: function onKeyUp(e) {
1073
+ _this11.$emit('keyUp', e, _this11.triggerQuery);
1074
+ _this11.$emit('key-up', e, _this11.triggerQuery);
1075
+ },
1076
+ onClick: function onClick() {
1077
+ setHighlightedIndex(null);
1078
+ }
1079
+ })), {
1080
+ "id": _this11.$props.componentId + "-input",
1081
+ "showIcon": _this11.$props.showIcon,
1082
+ "showClear": _this11.$props.showClear,
1083
+ "iconPosition": _this11.$props.iconPosition,
1084
+ "ref": _this11.$props.innerRef,
1085
+ "class": getClassName(_this11.$props.innerClass, 'input'),
1086
+ "placeholder": _this11.$props.placeholder,
1087
+ "autoFocus": _this11.$props.autoFocus
1088
+ }, getInputProps({
1089
+ value: _this11.$data.currentValue === null ? '' : _this11.$data.currentValue
1090
+ }), {
1091
+ "themePreset": _this11.themePreset,
1092
+ "autocomplete": "off"
1093
+ }), null), _this11.renderIcons(), !expandSuggestionsContainer && renderSuggestionsDropdown()];
1094
+ }
1095
+ }), _this11.renderInputAddonAfter(), _this11.renderEnterButtonElement()];
1081
1096
  }
1082
- })),
1083
- "domProps": _rollupPluginBabelHelpers._extends({}, getInputProps({
1084
- value: _this9.$data.currentValue === null ? '' : _this9.$data.currentValue
1085
- }))
1086
- }), _this9.renderIcons(), !expandSuggestionsContainer && renderSuggestionsDropdown()]), _this9.renderInputAddonAfter(), _this9.renderEnterButtonElement()]), expandSuggestionsContainer && renderSuggestionsDropdown(), _this9.renderTags()]);
1087
- }
1097
+ }), expandSuggestionsContainer && renderSuggestionsDropdown(), _this11.renderTags()]);
1098
+ }
1099
+ }) : vue.createVNode("div", {
1100
+ "class": Input.suggestionsContainer
1101
+ }, [vue.createVNode(DataSearch.InputGroup, null, {
1102
+ "default": function _default() {
1103
+ return [_this11.renderInputAddonBefore(), vue.createVNode(CancelSvg.InputWrapper, null, {
1104
+ "default": function _default() {
1105
+ return [vue.createVNode(Input.Input, vue.mergeProps(_transformOn({
1106
+ blur: function blur(e) {
1107
+ _this11.$emit('blur', e, _this11.triggerQuery);
1108
+ },
1109
+ keypress: function keypress(e) {
1110
+ _this11.$emit('keyPress', e, _this11.triggerQuery);
1111
+ _this11.$emit('key-press', e, _this11.triggerQuery);
1112
+ },
1113
+ input: _this11.onInputChange,
1114
+ focus: function focus(e) {
1115
+ _this11.$emit('focus', e, _this11.triggerQuery);
1116
+ },
1117
+ keydown: _this11.handleKeyDown,
1118
+ keyup: function keyup(e) {
1119
+ _this11.$emit('keyUp', e, _this11.triggerQuery);
1120
+ _this11.$emit('key-up', e, _this11.triggerQuery);
1121
+ }
1122
+ }), {
1123
+ "class": getClassName(_this11.$props.innerClass, 'input') || '',
1124
+ "placeholder": _this11.$props.placeholder,
1125
+ "autofocus": _this11.$props.autoFocus,
1126
+ "value": _this11.$data.currentValue ? _this11.$data.currentValue : '',
1127
+ "iconPosition": _this11.$props.iconPosition,
1128
+ "showIcon": _this11.$props.showIcon,
1129
+ "showClear": _this11.$props.showClear,
1130
+ "ref": _this11.$props.innerRef,
1131
+ "themePreset": _this11.themePreset
1132
+ }), null), _this11.renderIcons()];
1133
+ }
1134
+ }), _this11.renderInputAddonAfter(), _this11.renderEnterButtonElement()];
1135
+ }
1136
+ })])];
1088
1137
  }
1089
- }) : h("div", {
1090
- "class": Input.suggestionsContainer
1091
- }, [h(DataSearch.InputGroup, [this.renderInputAddonBefore(), h(CancelSvg.InputWrapper, [h(Input.Input, {
1092
- "class": getClassName(this.$props.innerClass, 'input') || '',
1093
- "attrs": {
1094
- "placeholder": this.$props.placeholder,
1095
- "iconPosition": this.$props.iconPosition,
1096
- "showIcon": this.$props.showIcon,
1097
- "showClear": this.$props.showClear,
1098
- "themePreset": this.themePreset
1099
- },
1100
- "on": _rollupPluginBabelHelpers._extends({}, {
1101
- blur: function blur(e) {
1102
- _this9.$emit('blur', e, _this9.triggerQuery);
1103
- },
1104
- keypress: function keypress(e) {
1105
- _this9.$emit('keyPress', e, _this9.triggerQuery);
1106
- _this9.$emit('key-press', e, _this9.triggerQuery);
1107
- },
1108
- input: this.onInputChange,
1109
- focus: function focus(e) {
1110
- _this9.$emit('focus', e, _this9.triggerQuery);
1111
- },
1112
- keydown: this.handleKeyDown,
1113
- keyup: function keyup(e) {
1114
- _this9.$emit('keyUp', e, _this9.triggerQuery);
1115
- _this9.$emit('key-up', e, _this9.triggerQuery);
1116
- }
1117
- }),
1118
- "domProps": _rollupPluginBabelHelpers._extends({}, {
1119
- autofocus: this.$props.autoFocus,
1120
- value: this.$data.currentValue ? this.$data.currentValue : ''
1121
- }),
1122
- "ref": this.$props.innerRef
1123
- }), this.renderIcons()]), this.renderInputAddonAfter(), this.renderEnterButtonElement()])])]);
1138
+ });
1124
1139
  },
1125
1140
  destroyed: function destroyed() {
1126
1141
  document.removeEventListener('keydown', this.onKeyDown);
1127
1142
  }
1128
- };
1143
+ });
1129
1144
  SearchBox.defaultQuery = function (value, props) {
1130
1145
  var finalQuery = null;
1131
1146
  var fields = normalizeDataField(props.dataField, props.fieldWeights);
@@ -1448,9 +1463,8 @@ var ReactiveComponent = {
1448
1463
  }
1449
1464
  },
1450
1465
  render: function render() {
1451
- var h = arguments[0];
1452
1466
  try {
1453
- var dom = this.$scopedSlots["default"];
1467
+ var dom = this.$slots["default"];
1454
1468
  var error = this.error,
1455
1469
  isLoading = this.isLoading,
1456
1470
  selectedValue = this.selectedValue;
@@ -1461,7 +1475,7 @@ var ReactiveComponent = {
1461
1475
  value: selectedValue,
1462
1476
  setQuery: this.setQuery
1463
1477
  });
1464
- return h("div", [dom(propsToBePassed)]);
1478
+ return vue.createVNode("div", null, [dom(propsToBePassed)]);
1465
1479
  } catch (e) {
1466
1480
  return null;
1467
1481
  }
@@ -1544,7 +1558,7 @@ var ConnectedComponent = ComponentWrapper.ComponentWrapper(index.connect(mapStat
1544
1558
  });
1545
1559
  var RcConnected = PreferencesConsumer.PreferencesConsumer({
1546
1560
  name: 'RcConnected',
1547
- render: function render(h) {
1561
+ render: function render() {
1548
1562
  var component = ConnectedComponent;
1549
1563
  switch (this.$attrs.componentType) {
1550
1564
  case constants.componentTypes.reactiveList:
@@ -1590,10 +1604,10 @@ var RcConnected = PreferencesConsumer.PreferencesConsumer({
1590
1604
  component = RangeInput.RangeConnected;
1591
1605
  break;
1592
1606
  }
1593
- return h(component, {
1607
+ return vue.h(component, {
1594
1608
  attrs: this.$attrs,
1595
- on: this.$listeners,
1596
- scopedSlots: this.$scopedSlots,
1609
+ on: this.$attrs,
1610
+ scopedSlots: this.$slots,
1597
1611
  slots: this.$slots
1598
1612
  });
1599
1613
  }