@appbaseio/reactivesearch-vue 1.34.0-alpha.1 → 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 +6957 -9320
  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-9318cece.js → ComponentWrapper-db45cc6d.js} +18 -9
  9. package/dist/cjs/Container-29f049b2.js +12 -0
  10. package/dist/cjs/{DataSearch-8ea2651a.js → DataSearch-7c71ec9f.js} +749 -881
  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 +67 -49
  26. package/dist/cjs/{ReactiveComponent-0a354ed7.js → ReactiveComponent-f0f486ca.js} +326 -315
  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-240450cc.js → ComponentWrapper-bf443c0b.js} +17 -8
  49. package/dist/es/Container-d00219f7.js +1 -1
  50. package/dist/es/{DataSearch-dcaa106b.js → DataSearch-4f9a4e46.js} +742 -873
  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 +66 -47
  66. package/dist/es/{ReactiveComponent-9352370c.js → ReactiveComponent-e2fb9eb4.js} +322 -310
  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 +87 -87
  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
@@ -1,8 +1,12 @@
1
1
  import { helper } from '@appbaseio/reactivecore';
2
+ import { createVNode, createTextVNode, isVNode } from 'vue';
2
3
  import VueTypes from 'vue-types';
3
- import { p as pagination, B as Button } from './Button-153cd885.js';
4
- import { t as types } from './vueTypes-8986b709.js';
4
+ import { p as pagination, B as Button } from './Button-ebafa3d6.js';
5
+ import { t as types } from './vueTypes-e4af6fe2.js';
5
6
 
7
+ function _isSlot(s) {
8
+ return typeof s === 'function' || Object.prototype.toString.call(s) === '[object Object]' && !isVNode(s);
9
+ }
6
10
  var getClassName = helper.getClassName,
7
11
  handleA11yAction = helper.handleA11yAction;
8
12
  function getStartPage(totalPages, currentPage, showEndPage) {
@@ -23,9 +27,8 @@ var Pagination = {
23
27
  prevLabel: types.string,
24
28
  nextLabel: types.string
25
29
  },
26
- render: function render(createElement, context) {
27
- var h = arguments[0];
28
- var props = context.props;
30
+ render: function render() {
31
+ var props = this.$props;
29
32
  var onPrevPage = function onPrevPage() {
30
33
  if (props.currentPage) {
31
34
  props.setPage(props.currentPage - 1);
@@ -63,24 +66,24 @@ var Pagination = {
63
66
  var _loop = function _loop(i) {
64
67
  var activeButton = currentPage === i - 1;
65
68
  var classNameBtn = innerClassName || activeButton ? innerClassName + " " + (activeButton ? 'active' : '') : '';
66
- var pageBtn = h(Button, {
69
+ var pageBtn = createVNode(Button, {
67
70
  "class": classNameBtn,
68
- "attrs": {
69
- "primary": activeButton,
70
- "tabIndex": "0",
71
- "alt": "page-" + i
72
- },
73
- "on": {
74
- "keyPress": function keyPress(event) {
75
- return handleA11yAction(event, function () {
76
- return setPage(i - 1);
77
- });
78
- },
79
- "click": function click() {
71
+ "primary": activeButton,
72
+ "tabIndex": "0",
73
+ "onKeyPress": function onKeyPress(event) {
74
+ return handleA11yAction(event, function () {
80
75
  return setPage(i - 1);
81
- }
76
+ });
77
+ },
78
+ "alt": "page-" + i,
79
+ "onClick": function onClick() {
80
+ return setPage(i - 1);
82
81
  }
83
- }, [i]);
82
+ }, _isSlot(i) ? i : {
83
+ "default": function _default() {
84
+ return [i];
85
+ }
86
+ });
84
87
  if (i <= totalPages + 1) {
85
88
  paginationButtons.push(pageBtn);
86
89
  if (i === Math.min(totalPages + 1, totalPagesToShow) - 1) {
@@ -105,49 +108,49 @@ var Pagination = {
105
108
  }
106
109
  return null;
107
110
  };
108
- return h("div", {
111
+ return createVNode("div", {
109
112
  "class": pagination + " " + getClassName(props.innerClass, 'pagination')
110
- }, [h(Button, {
113
+ }, [createVNode(Button, {
111
114
  "class": getClassName(props.innerClass, 'button') || '',
112
- "attrs": {
113
- "disabled": props.currentPage === 0,
114
- "tabIndex": "0"
115
+ "disabled": props.currentPage === 0,
116
+ "onKeyPress": function onKeyPress(event) {
117
+ return handleA11yAction(event, onPrevPage);
115
118
  },
116
- "on": {
117
- "keyPress": function keyPress(event) {
118
- return handleA11yAction(event, onPrevPage);
119
- },
120
- "click": onPrevPage
119
+ "onClick": onPrevPage,
120
+ "tabIndex": "0"
121
+ }, {
122
+ "default": function _default() {
123
+ return [props.prevLabel || 'Prev'];
121
124
  }
122
- }, [props.prevLabel || 'Prev']), h(Button, {
125
+ }), createVNode(Button, {
123
126
  "class": className,
124
- "attrs": {
125
- "primary": primary,
126
- "tabIndex": "0"
127
- },
128
- "on": {
129
- "keyPress": function keyPress(event) {
130
- return handleA11yAction(event, function () {
131
- return props.setPage(0);
132
- });
133
- },
134
- "click": function click() {
127
+ "primary": primary,
128
+ "onKeyPress": function onKeyPress(event) {
129
+ return handleA11yAction(event, function () {
135
130
  return props.setPage(0);
136
- }
131
+ });
132
+ },
133
+ "onClick": function onClick() {
134
+ return props.setPage(0);
135
+ },
136
+ "tabIndex": "0"
137
+ }, {
138
+ "default": function _default() {
139
+ return [createTextVNode("1")];
137
140
  }
138
- }, ["1"]), props.showEndPage && props.currentPage >= Math.floor(props.pages / 2) + !!(props.pages % 2) && buildPaginationDOM('start')[1] !== 2 ? h("span", ["..."]) : null, buildIntermediatePaginationDom(), props.showEndPage && props.pages > 2 && props.currentPage <= props.totalPages - Math.ceil(props.pages * 0.75) && buildPaginationDOM('start')[2] !== buildPaginationDOM('end')[1] - 1 ? h("span", ["..."]) : null, props.showEndPage && props.totalPages >= props.pages && buildPaginationDOM('end')[0], h(Button, {
141
+ }), props.showEndPage && props.currentPage >= Math.floor(props.pages / 2) + !!(props.pages % 2) && buildPaginationDOM('start')[1] !== 2 ? createVNode("span", null, [createTextVNode("...")]) : null, buildIntermediatePaginationDom(), props.showEndPage && props.pages > 2 && props.currentPage <= props.totalPages - Math.ceil(props.pages * 0.75) && buildPaginationDOM('start')[2] !== buildPaginationDOM('end')[1] - 1 ? createVNode("span", null, [createTextVNode("...")]) : null, props.showEndPage && props.totalPages >= props.pages && buildPaginationDOM('end')[0], createVNode(Button, {
139
142
  "class": getClassName(props.innerClass, 'button') || '',
140
- "attrs": {
141
- "disabled": props.currentPage >= props.totalPages - 1,
142
- "tabIndex": "0"
143
+ "disabled": props.currentPage >= props.totalPages - 1,
144
+ "onKeyPress": function onKeyPress(event) {
145
+ return handleA11yAction(event, onNextPage);
143
146
  },
144
- "on": {
145
- "keyPress": function keyPress(event) {
146
- return handleA11yAction(event, onNextPage);
147
- },
148
- "click": onNextPage
147
+ "onClick": onNextPage,
148
+ "tabIndex": "0"
149
+ }, {
150
+ "default": function _default() {
151
+ return [props.nextLabel || 'Next'];
149
152
  }
150
- }, [props.nextLabel || 'Next'])]);
153
+ })]);
151
154
  }
152
155
  };
153
156
  Pagination.install = function (Vue) {
@@ -1,5 +1,6 @@
1
1
  import { a as _extends } from './_rollupPluginBabelHelpers-ded08042.js';
2
- import { b as getCamelCase } from './index-0444a498.js';
2
+ import { h } from 'vue';
3
+ import { b as getCamelCase } from './index-285a43a6.js';
3
4
 
4
5
  var deepValue = function deepValue(o, p) {
5
6
  return p.split('.').reduce(function (a, v) {
@@ -19,7 +20,7 @@ var PreferencesConsumer = function PreferencesConsumer(component) {
19
20
  "default": null
20
21
  }
21
22
  },
22
- render: function render(h) {
23
+ render: function render() {
23
24
  var _this = this;
24
25
  var userProps = Object.keys(this.$attrs).reduce(function (result, key) {
25
26
  var _extends2;
@@ -64,8 +65,8 @@ var PreferencesConsumer = function PreferencesConsumer(component) {
64
65
  });
65
66
  return h(component, {
66
67
  attrs: componentProps,
67
- on: this.$listeners,
68
- scopedSlots: this.$scopedSlots,
68
+ on: this.$attrs,
69
+ scopedSlots: this.$slots,
69
70
  slots: this.$slots
70
71
  });
71
72
  }
@@ -1,30 +1,31 @@
1
1
  import { helper } from '@appbaseio/reactivecore';
2
2
  import { componentTypes } from '@appbaseio/reactivecore/lib/utils/constants';
3
3
  import { _ as _taggedTemplateLiteralLoose, a as _extends } from './_rollupPluginBabelHelpers-ded08042.js';
4
+ import { createVNode, mergeProps, createTextVNode } from 'vue';
4
5
  import VueTypes from 'vue-types';
5
- import { css } from 'emotion';
6
- import styled from '@appbaseio/vue-emotion';
6
+ import { styled } from '@appbaseio/vue-emotion';
7
+ import 'emotion';
7
8
  import 'polished';
8
- import { t as types } from './vueTypes-8986b709.js';
9
+ import { t as types } from './vueTypes-e4af6fe2.js';
9
10
  import '@appbaseio/reactivecore/lib/utils/transform';
10
11
  import 'redux';
11
- import { c as connect } from './index-0444a498.js';
12
- import { C as ComponentWrapper } from './ComponentWrapper-240450cc.js';
13
- import { P as PreferencesConsumer } from './PreferencesConsumer-bc097ebb.js';
12
+ import { c as connect } from './index-285a43a6.js';
13
+ import { C as ComponentWrapper } from './ComponentWrapper-bf443c0b.js';
14
+ import { P as PreferencesConsumer } from './PreferencesConsumer-7ea7313a.js';
14
15
  import './Title-863dfa42.js';
15
- import { F as Flex } from './Flex-7c177a10.js';
16
- import { I as Input } from './Input-c09c0b56.js';
16
+ import { F as Flex } from './Flex-a08e22d7.js';
17
+ import { I as Input } from './Input-3b8408a6.js';
17
18
  import { C as Container } from './Container-d00219f7.js';
18
19
  import 'vue-no-ssr';
19
20
  import './ssr-03607d84.js';
20
21
  import { RangeConnected as RangeConnected$1 } from './RangeSlider.js';
21
22
 
22
- var _templateObject, _templateObject2;
23
+ var _templateObject;
23
24
  var alert = function alert(_ref) {
24
25
  var theme = _ref.theme;
25
- return css(_templateObject || (_templateObject = _taggedTemplateLiteralLoose(["\n\tcolor: ", ";\n"])), theme.colors.alertColor);
26
+ return "\n\tcolor: " + theme.colors.alertColor + ";\n";
26
27
  };
27
- var Content = styled('div')(_templateObject2 || (_templateObject2 = _taggedTemplateLiteralLoose(["\n\t", ";\n\tfont-size: 13px;\n\tmargin: 8px;\n"])), function (props) {
28
+ var Content = styled('div')(_templateObject || (_templateObject = _taggedTemplateLiteralLoose(["\n\t", ";\n\tfont-size: 13px;\n\tmargin: 8px;\n"])), function (props) {
28
29
  return props.alert && alert;
29
30
  });
30
31
 
@@ -100,7 +101,7 @@ var RangeInput = {
100
101
  return false;
101
102
  },
102
103
  isControlled: function isControlled() {
103
- if (this.$props.value && this.$listeners) {
104
+ if (this.$props.value && this.$attrs) {
104
105
  return true;
105
106
  }
106
107
  return false;
@@ -188,7 +189,7 @@ var RangeInput = {
188
189
  }
189
190
  },
190
191
  render: function render() {
191
- var h = arguments[0];
192
+ var _this = this;
192
193
  var _this$$props = this.$props,
193
194
  className = _this$$props.className,
194
195
  dataField = _this$$props.dataField,
@@ -211,99 +212,107 @@ var RangeInput = {
211
212
  URLParams = _this$$props.URLParams,
212
213
  sliderOptions = _this$$props.sliderOptions,
213
214
  nestedField = _this$$props.nestedField;
214
- return h(Container, {
215
+ return createVNode(Container, {
215
216
  "style": componentStyle,
216
217
  "class": className
217
- }, [h(RangeConnected$1, {
218
- "attrs": {
219
- "componentId": componentId,
220
- "value": {
221
- start: this.currentValue.start,
222
- end: this.currentValue.end
223
- },
224
- "range": range,
225
- "dataField": dataField,
226
- "rangeLabels": rangeLabels,
227
- "includeNullValues": includeNullValues,
228
- "beforeValueChange": beforeValueChange,
229
- "customQuery": customQuery,
230
- "data": data,
231
- "filterLabel": filterLabel,
232
- "react": react,
233
- "showFilter": showFilter,
234
- "showCheckbox": showCheckbox,
235
- "title": title,
236
- "uRLParams": URLParams,
237
- "sliderOptions": sliderOptions,
238
- "nestedField": nestedField
239
- },
240
- "on": {
241
- "change": this.handleOnChange,
242
- "value-change": this.handleValueChange
243
- }
244
- }), h(Flex, {
245
- "class": getClassName(innerClass, 'input-container') || ''
246
- }, [h(Flex, {
247
- "attrs": {
248
- "direction": "column",
249
- "flex": 2
250
- }
251
- }, [h(Input, {
252
- "key": componentId + "-start-value",
253
- "attrs": {
254
- "name": "start",
255
- "type": "number",
256
- "step": stepValue,
257
- "themePreset": themePreset,
258
- "aria-label": componentId + "-start-input",
259
- "min": this.$props.range ? this.$props.range.start : 0,
260
- "alert": !this.isStartValid
261
- },
262
- "on": {
263
- "change": this.handleInputChange
264
- },
265
- "class": getClassName(innerClass, 'input') || '',
266
- "domProps": _extends({}, {
267
- value: this.currentValue.start
268
- })
269
- }), !this.isStartValid && h(Content, {
270
- "attrs": {
271
- "alert": true
272
- }
273
- }, ["Input range is invalid"])]), h(Flex, {
274
- "attrs": {
275
- "justifyContent": "center",
276
- "alignItems": "center",
277
- "flex": 1
278
- }
279
- }, ["-"]), h(Flex, {
280
- "attrs": {
281
- "direction": "column",
282
- "flex": 2
283
- }
284
- }, [h(Input, {
285
- "key": componentId + "-end-value",
286
- "attrs": {
287
- "name": "end",
288
- "type": "number",
289
- "step": stepValue,
290
- "themePreset": themePreset,
291
- "aria-label": componentId + "-end-input",
292
- "max": this.$props.range ? this.$props.range.end : 10,
293
- "alert": !this.isEndValid
294
- },
295
- "on": {
296
- "change": this.handleInputChange
297
- },
298
- "class": getClassName(innerClass, 'input') || '',
299
- "domProps": _extends({}, {
300
- value: this.currentValue.end
301
- })
302
- }), !this.isEndValid && h(Content, {
303
- "attrs": {
304
- "alert": true
218
+ }, {
219
+ "default": function _default() {
220
+ return [createVNode(RangeConnected$1, {
221
+ "componentId": componentId,
222
+ "value": {
223
+ start: _this.currentValue.start,
224
+ end: _this.currentValue.end
225
+ },
226
+ "range": range,
227
+ "dataField": dataField,
228
+ "rangeLabels": rangeLabels,
229
+ "includeNullValues": includeNullValues,
230
+ "beforeValueChange": beforeValueChange,
231
+ "customQuery": customQuery,
232
+ "data": data,
233
+ "filterLabel": filterLabel,
234
+ "react": react,
235
+ "showFilter": showFilter,
236
+ "showCheckbox": showCheckbox,
237
+ "title": title,
238
+ "URLParams": URLParams,
239
+ "sliderOptions": sliderOptions,
240
+ "nestedField": nestedField,
241
+ "on-change": _this.handleOnChange,
242
+ "on-value-change": _this.handleValueChange
243
+ }, null), createVNode(Flex, {
244
+ "class": getClassName(innerClass, 'input-container') || ''
245
+ }, {
246
+ "default": function _default() {
247
+ return [createVNode(Flex, {
248
+ "direction": "column",
249
+ "flex": 2
250
+ }, {
251
+ "default": function _default() {
252
+ return [createVNode(Input, mergeProps({
253
+ "key": componentId + "-start-value",
254
+ "name": "start",
255
+ "type": "number",
256
+ "onChange": _this.handleInputChange,
257
+ "step": stepValue,
258
+ "themePreset": themePreset,
259
+ "aria-label": componentId + "-start-input",
260
+ "min": _this.$props.range ? _this.$props.range.start : 0,
261
+ "class": getClassName(innerClass, 'input') || '',
262
+ "alert": !_this.isStartValid
263
+ }, {
264
+ domProps: {
265
+ value: _this.currentValue.start
266
+ }
267
+ }), null), !_this.isStartValid && createVNode(Content, {
268
+ "alert": true
269
+ }, {
270
+ "default": function _default() {
271
+ return [createTextVNode("Input range is invalid")];
272
+ }
273
+ })];
274
+ }
275
+ }), createVNode(Flex, {
276
+ "justifyContent": "center",
277
+ "alignItems": "center",
278
+ "flex": 1
279
+ }, {
280
+ "default": function _default() {
281
+ return [createTextVNode("-")];
282
+ }
283
+ }), createVNode(Flex, {
284
+ "direction": "column",
285
+ "flex": 2
286
+ }, {
287
+ "default": function _default() {
288
+ return [createVNode(Input, mergeProps({
289
+ "key": componentId + "-end-value",
290
+ "name": "end",
291
+ "type": "number",
292
+ "onChange": _this.handleInputChange,
293
+ "step": stepValue,
294
+ "themePreset": themePreset,
295
+ "aria-label": componentId + "-end-input",
296
+ "max": _this.$props.range ? _this.$props.range.end : 10,
297
+ "class": getClassName(innerClass, 'input') || '',
298
+ "alert": !_this.isEndValid
299
+ }, {
300
+ domProps: {
301
+ value: _this.currentValue.end
302
+ }
303
+ }), null), !_this.isEndValid && createVNode(Content, {
304
+ "alert": true
305
+ }, {
306
+ "default": function _default() {
307
+ return [createTextVNode("Input range is invalid")];
308
+ }
309
+ })];
310
+ }
311
+ })];
312
+ }
313
+ })];
305
314
  }
306
- }, ["Input range is invalid"])])])]);
315
+ });
307
316
  }
308
317
  };
309
318
  var mapStateToProps = function mapStateToProps(state) {
@@ -1,14 +1,15 @@
1
1
  import { Actions, helper } from '@appbaseio/reactivecore';
2
2
  import { componentTypes } from '@appbaseio/reactivecore/lib/utils/constants';
3
- import { a as _extends } from './_rollupPluginBabelHelpers-ded08042.js';
3
+ import './_rollupPluginBabelHelpers-ded08042.js';
4
+ import { createVNode, resolveComponent, mergeProps } from 'vue';
4
5
  import VueTypes from 'vue-types';
5
6
  import '@appbaseio/vue-emotion';
6
- import { t as types } from './vueTypes-8986b709.js';
7
+ import { t as types } from './vueTypes-e4af6fe2.js';
7
8
  import '@appbaseio/reactivecore/lib/utils/transform';
8
9
  import 'redux';
9
- import { f as updateCustomQuery, i as isQueryIdentical, c as connect } from './index-0444a498.js';
10
- import { C as ComponentWrapper } from './ComponentWrapper-240450cc.js';
11
- import { P as PreferencesConsumer } from './PreferencesConsumer-bc097ebb.js';
10
+ import { f as updateCustomQuery, i as isQueryIdentical, c as connect } from './index-285a43a6.js';
11
+ import { C as ComponentWrapper } from './ComponentWrapper-bf443c0b.js';
12
+ import { P as PreferencesConsumer } from './PreferencesConsumer-7ea7313a.js';
12
13
  import { T as Title } from './Title-863dfa42.js';
13
14
  import { C as Container } from './Container-d00219f7.js';
14
15
  import NoSSR from 'vue-no-ssr';
@@ -178,35 +179,48 @@ var RangeSlider = {
178
179
  }
179
180
  },
180
181
  render: function render() {
181
- var h = arguments[0];
182
- return h(Container, {
182
+ var _this2 = this;
183
+ return createVNode(Container, {
183
184
  "class": this.$props.className
184
- }, [this.$props.title && h(Title, {
185
- "class": getClassName(this.$props.innerClass, 'title')
186
- }, [this.$props.title]), this.$props.range ? h(NoSSR, [h(Slider, {
187
- "class": getClassName(this.$props.innerClass, 'slider')
188
- }, [h("vue-slider-component", {
189
- "ref": "slider",
190
- "attrs": {
191
- "value": this.currentValue,
192
- "min": this.$props.range.start,
193
- "max": this.$props.range.end,
194
- "dotSize": 20,
195
- "height": 4,
196
- "enable-cross": false,
197
- "tooltip": "always"
198
- },
199
- "on": {
200
- "drag-end": this.handleSlider
201
- },
202
- "props": _extends({}, this.$props.sliderOptions)
203
- }), this.$props.rangeLabels && h("div", {
204
- "class": "label-container"
205
- }, [h("label", {
206
- "class": getClassName(this.$props.innerClass, 'label') || 'range-label-left'
207
- }, [this.$props.rangeLabels.start]), h("label", {
208
- "class": getClassName(this.$props.innerClass, 'label') || 'range-label-right'
209
- }, [this.$props.rangeLabels.end])])])]) : null]);
185
+ }, {
186
+ "default": function _default() {
187
+ return [_this2.$props.title && createVNode(Title, {
188
+ "class": getClassName(_this2.$props.innerClass, 'title')
189
+ }, {
190
+ "default": function _default() {
191
+ return [_this2.$props.title];
192
+ }
193
+ }), _this2.$props.range ? createVNode(NoSSR, null, {
194
+ "default": function _default() {
195
+ return [createVNode(Slider, {
196
+ "class": getClassName(_this2.$props.innerClass, 'slider')
197
+ }, {
198
+ "default": function _default() {
199
+ return [createVNode(resolveComponent("vue-slider-component"), mergeProps({
200
+ "ref": "slider",
201
+ "value": _this2.currentValue,
202
+ "min": _this2.$props.range.start,
203
+ "max": _this2.$props.range.end,
204
+ "dotSize": 20,
205
+ "height": 4,
206
+ "enable-cross": false,
207
+ "onDrag-end": _this2.handleSlider,
208
+ "tooltip": "always"
209
+ }, {
210
+ props: _this2.$props.sliderOptions
211
+ }), null), _this2.$props.rangeLabels && createVNode("div", {
212
+ "class": "label-container"
213
+ }, [createVNode("label", {
214
+ "class": getClassName(_this2.$props.innerClass, 'label') || 'range-label-left'
215
+ }, [_this2.$props.rangeLabels.start]), createVNode("label", {
216
+ "class": getClassName(_this2.$props.innerClass, 'label') || 'range-label-right'
217
+ }, [_this2.$props.rangeLabels.end])])];
218
+ }
219
+ })];
220
+ }
221
+ }) : null];
222
+ }
223
+ });
210
224
  }
211
225
  };
212
226
  RangeSlider.defaultQuery = function (values, props) {