@appbaseio/reactivesearch-vue 1.16.0-alpha.28 → 1.16.0-alpha.31

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 (65) hide show
  1. package/dist/@appbaseio/reactivesearch-vue.umd.js +378 -233
  2. package/dist/@appbaseio/reactivesearch-vue.umd.js.map +1 -1
  3. package/dist/@appbaseio/reactivesearch-vue.umd.min.js +5 -5
  4. package/dist/@appbaseio/reactivesearch-vue.umd.min.js.map +1 -1
  5. package/dist/cjs/{DownShift-d41f2442.js → CancelSvg-82021d23.js} +58 -14
  6. package/dist/cjs/{ComponentWrapper-ab813390.js → ComponentWrapper-7302fe1a.js} +1 -1
  7. package/dist/cjs/DataSearch.js +25 -76
  8. package/dist/cjs/{DropDown-3c343026.js → DropDown-c46d8b0c.js} +61 -21
  9. package/dist/cjs/DynamicRangeSlider.js +45 -9
  10. package/dist/cjs/MultiDropdownList.js +17 -10
  11. package/dist/cjs/MultiList.js +18 -13
  12. package/dist/cjs/MultiRange.js +4 -4
  13. package/dist/cjs/{Pagination-0b9ec0fc.js → Pagination-1b2320a7.js} +1 -1
  14. package/dist/cjs/RangeInput.js +9 -5
  15. package/dist/cjs/RangeSlider.js +19 -22
  16. package/dist/cjs/ReactiveBase.js +2 -2
  17. package/dist/cjs/ReactiveComponent.js +3 -3
  18. package/dist/cjs/ReactiveGoogleMap.js +4 -4
  19. package/dist/cjs/ReactiveList.js +4 -4
  20. package/dist/cjs/ResultCard.js +1 -1
  21. package/dist/cjs/ResultList.js +1 -1
  22. package/dist/cjs/SelectedFilters.js +8 -6
  23. package/dist/cjs/SingleDropdownList.js +13 -8
  24. package/dist/cjs/SingleList.js +5 -5
  25. package/dist/cjs/SingleRange.js +4 -4
  26. package/dist/cjs/StateProvider.js +7 -3
  27. package/dist/cjs/ToggleButton.js +4 -4
  28. package/dist/cjs/{index-2a8358cd.js → index-d44a0a21.js} +10 -4
  29. package/dist/cjs/index.js +7 -7
  30. package/dist/cjs/install.js +7 -7
  31. package/dist/cjs/ssr-c333c82c.js +39 -0
  32. package/dist/cjs/version.js +1 -1
  33. package/dist/cjs/{vueTypes-829a5f2c.js → vueTypes-6de9d2a9.js} +3 -3
  34. package/dist/es/{DownShift-e7ccf2a7.js → CancelSvg-4d9e0857.js} +55 -16
  35. package/dist/es/{ComponentWrapper-459505fd.js → ComponentWrapper-bbb717bc.js} +1 -1
  36. package/dist/es/DataSearch.js +15 -66
  37. package/dist/es/{DropDown-c5ab660f.js → DropDown-4edaa621.js} +60 -20
  38. package/dist/es/DynamicRangeSlider.js +45 -9
  39. package/dist/es/MultiDropdownList.js +17 -10
  40. package/dist/es/MultiList.js +18 -13
  41. package/dist/es/MultiRange.js +4 -4
  42. package/dist/es/{Pagination-e8216949.js → Pagination-b3e4054a.js} +1 -1
  43. package/dist/es/RangeInput.js +9 -5
  44. package/dist/es/RangeSlider.js +19 -22
  45. package/dist/es/ReactiveBase.js +2 -2
  46. package/dist/es/ReactiveComponent.js +3 -3
  47. package/dist/es/ReactiveGoogleMap.js +4 -4
  48. package/dist/es/ReactiveList.js +4 -4
  49. package/dist/es/ResultCard.js +1 -1
  50. package/dist/es/ResultList.js +1 -1
  51. package/dist/es/SelectedFilters.js +8 -6
  52. package/dist/es/SingleDropdownList.js +13 -8
  53. package/dist/es/SingleList.js +5 -5
  54. package/dist/es/SingleRange.js +4 -4
  55. package/dist/es/StateProvider.js +7 -3
  56. package/dist/es/ToggleButton.js +4 -4
  57. package/dist/es/{index-4755c9a0.js → index-5daa8276.js} +10 -4
  58. package/dist/es/index.js +7 -7
  59. package/dist/es/install.js +7 -7
  60. package/dist/es/ssr-e3196de1.js +33 -0
  61. package/dist/es/version.js +1 -1
  62. package/dist/es/{vueTypes-98819a12.js → vueTypes-9326e0be.js} +3 -3
  63. package/package.json +4 -4
  64. package/dist/cjs/ssr-f312af20.js +0 -39
  65. package/dist/es/ssr-a3306f57.js +0 -33
@@ -6,19 +6,20 @@ import 'emotion';
6
6
  import '@appbaseio/vue-emotion';
7
7
  import 'polished';
8
8
  import { l as loadMoreContainer, B as Button } from './Button-799185e2.js';
9
- import { t as types } from './vueTypes-98819a12.js';
9
+ import { t as types } from './vueTypes-9326e0be.js';
10
10
  import '@appbaseio/reactivecore/lib/utils/transform';
11
11
  import 'redux';
12
- import { f as updateCustomQuery, u as updateDefaultQuery, i as isQueryIdentical, a as isFunction, g as getComponent, h as hasCustomRenderer, c as connect } from './index-4755c9a0.js';
13
- import { C as ComponentWrapper } from './ComponentWrapper-459505fd.js';
12
+ import { f as updateCustomQuery, u as updateDefaultQuery, i as isQueryIdentical, a as isFunction, g as getComponent, h as hasCustomRenderer, c as connect } from './index-5daa8276.js';
13
+ import { C as ComponentWrapper } from './ComponentWrapper-bbb717bc.js';
14
+ import '@vue/babel-helper-vue-jsx-merge-props';
14
15
  import { T as Title } from './Title-579f8d6c.js';
16
+ import './CancelSvg-4d9e0857.js';
15
17
  import './Input-d8519224.js';
16
18
  import 'compute-scroll-into-view';
17
- import './DownShift-e7ccf2a7.js';
18
19
  import { C as Container } from './Container-4383c6f0.js';
19
20
  import '@appbaseio/reactivecore/lib/utils/suggestions';
20
21
  import { g as getAggsQuery } from './utils-3a32e13f.js';
21
- import { D as Dropdown } from './DropDown-c5ab660f.js';
22
+ import { D as Dropdown } from './DropDown-4edaa621.js';
22
23
 
23
24
  var updateQuery = Actions.updateQuery,
24
25
  setQueryOptions = Actions.setQueryOptions,
@@ -74,10 +75,12 @@ var SingleDropdownList = {
74
75
  showMissing: VueTypes.bool.def(false),
75
76
  missingLabel: VueTypes.string.def('N/A'),
76
77
  showSearch: VueTypes.bool.def(false),
78
+ showClear: VueTypes.bool.def(false),
77
79
  showLoadMore: VueTypes.bool.def(false),
78
80
  loadMoreLabel: VueTypes.oneOfType([VueTypes.string, VueTypes.any]).def('Load More'),
79
81
  nestedField: types.string,
80
- index: VueTypes.string
82
+ index: VueTypes.string,
83
+ searchPlaceholder: VueTypes.string.def('Type here to search...')
81
84
  },
82
85
  created: function created() {
83
86
  if (!this.enableAppbase && this.$props.index) {
@@ -231,6 +234,8 @@ var SingleDropdownList = {
231
234
  "renderNoResults": this.$scopedSlots.renderNoResults || this.$props.renderNoResults,
232
235
  "themePreset": this.themePreset,
233
236
  "showSearch": this.$props.showSearch,
237
+ "showClear": this.$props.showClear,
238
+ "searchPlaceholder": this.$props.searchPlaceholder,
234
239
  "transformData": this.$props.transformData,
235
240
  "footer": showLoadMore && !isLastBucket && h("div", {
236
241
  "attrs": {
@@ -290,7 +295,7 @@ var SingleDropdownList = {
290
295
  updateDefaultQuery(props.componentId, this.setDefaultQuery, props, value);
291
296
  }
292
297
 
293
- this.setQueryOptions(this.internalComponent, defaultQueryOptions);
298
+ this.setQueryOptions(this.internalComponent, defaultQueryOptions, false);
294
299
  this.updateQuery({
295
300
  componentId: this.internalComponent,
296
301
  query: query,
@@ -311,7 +316,7 @@ var SingleDropdownList = {
311
316
  updateCustomQuery(props.componentId, this.setCustomQuery, props, value);
312
317
  }
313
318
 
314
- this.setQueryOptions(props.componentId, customQueryOptions);
319
+ this.setQueryOptions(props.componentId, customQueryOptions, false);
315
320
  this.updateQuery({
316
321
  componentId: props.componentId,
317
322
  query: query,
@@ -5,11 +5,11 @@ import { componentTypes } from '@appbaseio/reactivecore/lib/utils/constants';
5
5
  import 'emotion';
6
6
  import '@appbaseio/vue-emotion';
7
7
  import 'polished';
8
- import { t as types } from './vueTypes-98819a12.js';
8
+ import { t as types } from './vueTypes-9326e0be.js';
9
9
  import '@appbaseio/reactivecore/lib/utils/transform';
10
10
  import 'redux';
11
- import { f as updateCustomQuery, u as updateDefaultQuery, i as isQueryIdentical, a as isFunction, g as getComponent, n as isEvent, h as hasCustomRenderer, c as connect } from './index-4755c9a0.js';
12
- import { C as ComponentWrapper } from './ComponentWrapper-459505fd.js';
11
+ import { f as updateCustomQuery, u as updateDefaultQuery, i as isQueryIdentical, a as isFunction, g as getComponent, n as isEvent, h as hasCustomRenderer, c as connect } from './index-5daa8276.js';
12
+ import { C as ComponentWrapper } from './ComponentWrapper-bbb717bc.js';
13
13
  import { T as Title } from './Title-579f8d6c.js';
14
14
  import { I as Input } from './Input-d8519224.js';
15
15
  import { C as Container } from './Container-4383c6f0.js';
@@ -277,7 +277,7 @@ var SingleList = {
277
277
  updateDefaultQuery(props.componentId, this.setDefaultQuery, props, value);
278
278
  }
279
279
 
280
- this.setQueryOptions(this.internalComponent, defaultQueryOptions);
280
+ this.setQueryOptions(this.internalComponent, defaultQueryOptions, false);
281
281
  this.updateQuery({
282
282
  componentId: this.internalComponent,
283
283
  query: query,
@@ -298,7 +298,7 @@ var SingleList = {
298
298
  updateCustomQuery(props.componentId, this.setCustomQuery, props, value);
299
299
  }
300
300
 
301
- this.setQueryOptions(props.componentId, customQueryOptions);
301
+ this.setQueryOptions(props.componentId, customQueryOptions, false);
302
302
  this.updateQuery({
303
303
  componentId: props.componentId,
304
304
  query: query,
@@ -5,11 +5,11 @@ import { componentTypes } from '@appbaseio/reactivecore/lib/utils/constants';
5
5
  import 'emotion';
6
6
  import '@appbaseio/vue-emotion';
7
7
  import 'polished';
8
- import { t as types } from './vueTypes-98819a12.js';
8
+ import { t as types } from './vueTypes-9326e0be.js';
9
9
  import '@appbaseio/reactivecore/lib/utils/transform';
10
10
  import 'redux';
11
- import { f as updateCustomQuery, i as isQueryIdentical, c as connect } from './index-4755c9a0.js';
12
- import { C as ComponentWrapper } from './ComponentWrapper-459505fd.js';
11
+ import { f as updateCustomQuery, i as isQueryIdentical, c as connect } from './index-5daa8276.js';
12
+ import { C as ComponentWrapper } from './ComponentWrapper-bbb717bc.js';
13
13
  import { T as Title } from './Title-579f8d6c.js';
14
14
  import { C as Container } from './Container-4383c6f0.js';
15
15
  import { U as UL, R as Radio } from './FormControlList-fe389a2e.js';
@@ -160,7 +160,7 @@ var SingleRange = {
160
160
  updateCustomQuery(this.componentId, this.setCustomQuery, this.$props, this.currentValue);
161
161
  }
162
162
 
163
- this.setQueryOptions(props.componentId, customQueryOptions);
163
+ this.setQueryOptions(props.componentId, customQueryOptions, false);
164
164
  this.updateQuery({
165
165
  componentId: props.componentId,
166
166
  query: query,
@@ -3,12 +3,16 @@ import { a as _extends } from './_rollupPluginBabelHelpers-ecf6c03c.js';
3
3
  import VueTypes from 'vue-types';
4
4
  import '@appbaseio/reactivecore/lib/utils/constants';
5
5
  import 'redux';
6
- import { c as connect } from './index-4755c9a0.js';
6
+ import { c as connect } from './index-5daa8276.js';
7
7
 
8
8
  var getSearchState = helper.getSearchState;
9
9
  var defaultKeys = ['hits', 'value', 'aggregations', 'error'];
10
10
 
11
11
  var filterProps = function filterProps(props) {
12
+ if (props === void 0) {
13
+ props = {};
14
+ }
15
+
12
16
  return _extends({}, props, {
13
17
  props: props.componentProps
14
18
  });
@@ -28,7 +32,7 @@ var filterByComponentIds = function filterByComponentIds(state, props) {
28
32
  return _ref = {}, _ref[componentIds] = state[componentIds], _ref;
29
33
  }
30
34
 
31
- if (componentIds instanceof Array) {
35
+ if (Array.isArray(componentIds)) {
32
36
  var filteredState = {};
33
37
  componentIds.forEach(function (componentId) {
34
38
  filteredState[componentId] = state[componentId];
@@ -67,7 +71,7 @@ var StateProvider = {
67
71
  };
68
72
  return this.__state;
69
73
  },
70
- mounted: function mounted() {
74
+ created: function created() {
71
75
  this.searchState = filterByKeys(getSearchState(filterProps(this.searchStateProps)), this.includeKeys);
72
76
  },
73
77
  computed: {
@@ -6,11 +6,11 @@ import 'emotion';
6
6
  import '@appbaseio/vue-emotion';
7
7
  import 'polished';
8
8
  import { B as Button, t as toggleButtons } from './Button-799185e2.js';
9
- import { t as types } from './vueTypes-98819a12.js';
9
+ import { t as types } from './vueTypes-9326e0be.js';
10
10
  import '@appbaseio/reactivecore/lib/utils/transform';
11
11
  import 'redux';
12
- import { f as updateCustomQuery, i as isQueryIdentical, c as connect } from './index-4755c9a0.js';
13
- import { C as ComponentWrapper } from './ComponentWrapper-459505fd.js';
12
+ import { f as updateCustomQuery, i as isQueryIdentical, c as connect } from './index-5daa8276.js';
13
+ import { C as ComponentWrapper } from './ComponentWrapper-bbb717bc.js';
14
14
  import { T as Title } from './Title-579f8d6c.js';
15
15
  import { C as Container } from './Container-4383c6f0.js';
16
16
 
@@ -186,7 +186,7 @@ var ToggleButton = {
186
186
  var _ref = customQuery(value, props) || {};
187
187
 
188
188
  query = _ref.query;
189
- this.setQueryOptions(props.componentId, getOptionsFromQuery(customQuery(value, props)));
189
+ this.setQueryOptions(props.componentId, getOptionsFromQuery(customQuery(value, props)), false);
190
190
  updateCustomQuery(props.componentId, this.setCustomQuery, props, value);
191
191
  }
192
192
 
@@ -155,10 +155,16 @@ var isFunction = function isFunction(element) {
155
155
  }; // parses current array (i.e. this.$props.value) for `onChange` callback for multi-* components
156
156
 
157
157
  function parseValueArray(objectValues, currentValue) {
158
- var keys = Object.keys(objectValues);
159
- var selectedValues = keys.map(function (key) {
160
- return objectValues[key] ? key : null;
161
- });
158
+ var selectedValues;
159
+
160
+ if (Array.isArray(objectValues)) {
161
+ selectedValues = [].concat(objectValues);
162
+ } else {
163
+ var keys = Object.keys(objectValues);
164
+ selectedValues = keys.map(function (key) {
165
+ return objectValues[key] ? key : null;
166
+ });
167
+ }
162
168
 
163
169
  if (selectedValues.includes(currentValue)) {
164
170
  return selectedValues.filter(function (item) {
package/dist/es/index.js CHANGED
@@ -7,13 +7,13 @@ import 'emotion';
7
7
  import '@appbaseio/vue-emotion';
8
8
  import 'polished';
9
9
  import './Button-799185e2.js';
10
- import './vueTypes-98819a12.js';
11
- import './Pagination-e8216949.js';
10
+ import './vueTypes-9326e0be.js';
11
+ import './Pagination-b3e4054a.js';
12
12
  export { default as ReactiveList } from './ReactiveList.js';
13
13
  import '@appbaseio/reactivecore/lib/utils/transform';
14
14
  import 'redux';
15
- import './index-4755c9a0.js';
16
- import './ComponentWrapper-459505fd.js';
15
+ import './index-5daa8276.js';
16
+ import './ComponentWrapper-bbb717bc.js';
17
17
  import '@vue/babel-helper-vue-jsx-merge-props';
18
18
  import './Title-579f8d6c.js';
19
19
  import './ListItem-bdb6d53d.js';
@@ -25,9 +25,9 @@ import 'url-search-params-polyfill';
25
25
  export { default as ReactiveBase } from './ReactiveBase.js';
26
26
  import 'hotkeys-js';
27
27
  export { default as DataSearch } from './DataSearch.js';
28
+ import './CancelSvg-4d9e0857.js';
28
29
  import './Input-d8519224.js';
29
30
  import 'compute-scroll-into-view';
30
- import './DownShift-e7ccf2a7.js';
31
31
  import './Container-4383c6f0.js';
32
32
  import 'vue-highlight-words';
33
33
  import '@appbaseio/reactivecore/lib/utils/suggestions';
@@ -35,7 +35,7 @@ import './FormControlList-fe389a2e.js';
35
35
  import './utils-3a32e13f.js';
36
36
  export { default as SingleList } from './SingleList.js';
37
37
  export { default as MultiList } from './MultiList.js';
38
- import './DropDown-c5ab660f.js';
38
+ import './DropDown-4edaa621.js';
39
39
  export { default as SingleDropdownList } from './SingleDropdownList.js';
40
40
  export { default as MultiDropdownList } from './MultiDropdownList.js';
41
41
  export { default as ToggleButton } from './ToggleButton.js';
@@ -46,7 +46,7 @@ export { default as MultiRange } from './MultiRange.js';
46
46
  export { default as ResultCard } from './ResultCard.js';
47
47
  export { default as ResultList } from './ResultList.js';
48
48
  import 'vue-no-ssr';
49
- import './ssr-a3306f57.js';
49
+ import './ssr-e3196de1.js';
50
50
  export { default as RangeSlider } from './RangeSlider.js';
51
51
  export { default as DynamicRangeSlider } from './DynamicRangeSlider.js';
52
52
  export { default as StateProvider } from './StateProvider.js';
@@ -7,13 +7,13 @@ import 'emotion';
7
7
  import '@appbaseio/vue-emotion';
8
8
  import 'polished';
9
9
  import './Button-799185e2.js';
10
- import './vueTypes-98819a12.js';
11
- import './Pagination-e8216949.js';
10
+ import './vueTypes-9326e0be.js';
11
+ import './Pagination-b3e4054a.js';
12
12
  import ReactiveList from './ReactiveList.js';
13
13
  import '@appbaseio/reactivecore/lib/utils/transform';
14
14
  import 'redux';
15
- import './index-4755c9a0.js';
16
- import './ComponentWrapper-459505fd.js';
15
+ import './index-5daa8276.js';
16
+ import './ComponentWrapper-bbb717bc.js';
17
17
  import '@vue/babel-helper-vue-jsx-merge-props';
18
18
  import './Title-579f8d6c.js';
19
19
  import './ListItem-bdb6d53d.js';
@@ -25,9 +25,9 @@ import 'url-search-params-polyfill';
25
25
  import ReactiveBase from './ReactiveBase.js';
26
26
  import 'hotkeys-js';
27
27
  import DataSearch from './DataSearch.js';
28
+ import './CancelSvg-4d9e0857.js';
28
29
  import './Input-d8519224.js';
29
30
  import 'compute-scroll-into-view';
30
- import './DownShift-e7ccf2a7.js';
31
31
  import './Container-4383c6f0.js';
32
32
  import 'vue-highlight-words';
33
33
  import '@appbaseio/reactivecore/lib/utils/suggestions';
@@ -35,7 +35,7 @@ import './FormControlList-fe389a2e.js';
35
35
  import './utils-3a32e13f.js';
36
36
  import SingleList from './SingleList.js';
37
37
  import MultiList from './MultiList.js';
38
- import './DropDown-c5ab660f.js';
38
+ import './DropDown-4edaa621.js';
39
39
  import SingleDropdownList from './SingleDropdownList.js';
40
40
  import MultiDropdownList from './MultiDropdownList.js';
41
41
  import ToggleButton from './ToggleButton.js';
@@ -46,7 +46,7 @@ import MultiRange from './MultiRange.js';
46
46
  import ResultCard from './ResultCard.js';
47
47
  import ResultList from './ResultList.js';
48
48
  import 'vue-no-ssr';
49
- import './ssr-a3306f57.js';
49
+ import './ssr-e3196de1.js';
50
50
  import RangeSlider from './RangeSlider.js';
51
51
  import DynamicRangeSlider from './DynamicRangeSlider.js';
52
52
  import StateProvider from './StateProvider.js';
@@ -0,0 +1,33 @@
1
+ import { _ as _taggedTemplateLiteralLoose } from './_rollupPluginBabelHelpers-ecf6c03c.js';
2
+ import styled from '@appbaseio/vue-emotion';
3
+ import NoSSR from 'vue-no-ssr';
4
+
5
+ var _templateObject;
6
+ var Slider = styled('div')(_templateObject || (_templateObject = _taggedTemplateLiteralLoose(["\n\tmargin-top: 30px;\n\tpadding: 10px;\n\n\t/* component style */\n\t.vue-slider-disabled {\n\t\topacity: 0.5;\n\t\tcursor: not-allowed;\n\t}\n\n\t/* rail style */\n\t.vue-slider-rail {\n\t\tbackground-color: #ccc;\n\t\tborder-radius: 15px;\n\t\theight: 4px;\n\t}\n\n\t/* process style */\n\t.vue-slider-process {\n\t\tbackground-color: #0b6aff;\n\t\tborder-radius: 15px;\n\t}\n\n\t/* mark style */\n\t.vue-slider-mark {\n\t\tz-index: 4;\n\t}\n\n\t.vue-slider-mark:first-child .vue-slider-mark-step,\n\t.vue-slider-mark:last-child .vue-slider-mark-step {\n\t\tdisplay: none;\n\t}\n\n\t.vue-slider-mark-step {\n\t\twidth: 100%;\n\t\theight: 100%;\n\t\tborder-radius: 50%;\n\t\tbackground-color: rgba(0, 0, 0, 0.16);\n\t}\n\n\t.vue-slider-mark-label {\n\t\tfont-size: 14px;\n\t\twhite-space: nowrap;\n\t}\n\n\t/* dot style */\n\t.vue-slider-dot {\n\t\tz-index: 2;\n\t}\n\n\t.vue-slider-dot-handle {\n\t\tcursor: pointer;\n\t\twidth: 100%;\n\t\theight: 100%;\n\t\tborder-radius: 50%;\n\t\tbackground-color: #fff;\n\t\tbox-sizing: border-box;\n\t\tborder: 1px solid #9a9a9a;\n\t\tz-index: 2;\n\t\tbox-shadow: 0.5px 0.5px 2px 1px rgb(0 0 0 / 32%);\n\t}\n\n\t.vue-slider-dot-handle-disabled {\n\t\tcursor: not-allowed;\n\t\tbackground-color: #ccc;\n\t}\n\n\t.vue-slider-dot-tooltip-inner {\n\t\tfont-size: 14px;\n\t\twhite-space: nowrap;\n\t\tpadding: 2px 5px;\n\t\tmin-width: 20px;\n\t\ttext-align: center;\n\t\tcolor: #fff;\n\t\tborder-radius: 5px;\n\t\tborder: 1px solid #3498db;\n\t\tbackground-color: #3498db;\n\t\tbox-sizing: content-box;\n\t}\n\n\t.vue-slider-dot-tooltip-inner::after {\n\t\tcontent: '';\n\t\tposition: absolute;\n\t}\n\n\t.vue-slider-dot-tooltip-inner-top::after {\n\t\ttop: 100%;\n\t\tleft: 50%;\n\t\ttransform: translate(-50%, 0);\n\t\theight: 0;\n\t\twidth: 0;\n\t\tborder-color: transparent;\n\t\tborder-style: solid;\n\t\tborder-width: 5px;\n\t\tborder-top-color: inherit;\n\t}\n\n\t.vue-slider-dot-tooltip-inner-bottom::after {\n\t\tbottom: 100%;\n\t\tleft: 50%;\n\t\ttransform: translate(-50%, 0);\n\t\theight: 0;\n\t\twidth: 0;\n\t\tborder-color: transparent;\n\t\tborder-style: solid;\n\t\tborder-width: 5px;\n\t\tborder-bottom-color: inherit;\n\t}\n\n\t.vue-slider-dot-tooltip-inner-left::after {\n\t\tleft: 100%;\n\t\ttop: 50%;\n\t\ttransform: translate(0, -50%);\n\t\theight: 0;\n\t\twidth: 0;\n\t\tborder-color: transparent;\n\t\tborder-style: solid;\n\t\tborder-width: 5px;\n\t\tborder-left-color: inherit;\n\t}\n\n\t.vue-slider-dot-tooltip-inner-right::after {\n\t\tright: 100%;\n\t\ttop: 50%;\n\t\ttransform: translate(0, -50%);\n\t\theight: 0;\n\t\twidth: 0;\n\t\tborder-color: transparent;\n\t\tborder-style: solid;\n\t\tborder-width: 5px;\n\t\tborder-right-color: inherit;\n\t}\n\n\t.vue-slider-dot-tooltip-wrapper {\n\t\topacity: 0;\n\t\ttransition: all 0.3s;\n\t}\n\t.vue-slider-dot-tooltip-wrapper-show {\n\t\topacity: 1;\n\t}\n\n\t.label-container {\n\t\tmargin: 10px 0;\n\t\twidth: 100%;\n\t}\n\n\t.range-label-right {\n\t\tfloat: right;\n\t}\n"])));
7
+
8
+ /**
9
+ * Caution: Please do not change this file without having a discussion with the Team.
10
+ * Any change may break the umd build, we're directly replacing the line no: 14
11
+ * `components['vue-slider-component'] = require('vue-slider-component');` in rollup umd build process with some script.
12
+ */
13
+ // eslint-disable-next-line
14
+
15
+ var getComponents = function getComponents() {
16
+ var components = {
17
+ NoSSR: NoSSR
18
+ };
19
+
20
+ if (process.browser) {
21
+ try {
22
+ // in older versions of nuxt, it's process.BROWSER_BUILD
23
+ // eslint-disable-next-line
24
+ components['vue-slider-component'] = require('vue-slider-component');
25
+ } catch (e) {
26
+ console.error('Unable to load vue-slider', e);
27
+ }
28
+ }
29
+
30
+ return components;
31
+ };
32
+
33
+ export { Slider as S, getComponents as g };
@@ -1,3 +1,3 @@
1
- var version = "1.16.0-alpha.28";
1
+ var version = "1.16.0-alpha.31";
2
2
 
3
3
  export default version;
@@ -106,19 +106,19 @@ var types = {
106
106
  unit: VueTypes.oneOf(['mi', 'miles', 'yd', 'yards', 'ft', 'feet', 'in', 'inch', 'km', 'kilometers', 'm', 'meters', 'cm', 'centimeters', 'mm', 'millimeters', 'NM', 'nmi', 'nauticalmiles']),
107
107
  value: VueTypes.string.def(undefined),
108
108
  analyticsConfig: VueTypes.shape({
109
- searchStateHeader: VueTypes.bool,
110
109
  emptyQuery: VueTypes.bool,
111
110
  suggestionAnalytics: VueTypes.bool,
112
111
  userId: VueTypes.string,
113
112
  customEvents: VueTypes.object
114
113
  }),
115
114
  appbaseConfig: VueTypes.shape({
116
- enableQueryRules: VueTypes.bool,
117
115
  recordAnalytics: VueTypes.bool,
118
- searchStateHeader: VueTypes.bool,
119
116
  emptyQuery: VueTypes.bool,
120
117
  suggestionAnalytics: VueTypes.bool,
118
+ enableQueryRules: VueTypes.bool,
119
+ enableSearchRelevancy: VueTypes.bool,
121
120
  userId: VueTypes.string,
121
+ useCache: VueTypes.bool,
122
122
  customEvents: VueTypes.object,
123
123
  enableTelemetry: VueTypes.bool.def(true)
124
124
  }).def({}),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@appbaseio/reactivesearch-vue",
3
- "version": "1.16.0-alpha.28",
3
+ "version": "1.16.0-alpha.31",
4
4
  "private": false,
5
5
  "main": "dist/cjs/index.js",
6
6
  "jsnext:main": "dist/es/index.js",
@@ -34,7 +34,7 @@
34
34
  ],
35
35
  "sideEffects": false,
36
36
  "dependencies": {
37
- "@appbaseio/reactivecore": "9.13.2",
37
+ "@appbaseio/reactivecore": "9.13.4",
38
38
  "@appbaseio/vue-emotion": "0.4.4",
39
39
  "@vue/babel-helper-vue-jsx-merge-props": "^1.0.0",
40
40
  "appbase-js": "^4.5.1",
@@ -48,8 +48,8 @@
48
48
  "url-search-params-polyfill": "^7.0.0",
49
49
  "vue-highlight-words": "^1.2.0",
50
50
  "vue-no-ssr": "^1.1.0",
51
- "vue-slider-component": "^2.8.16",
52
- "vue-types": "^1.7.0"
51
+ "vue-types": "^1.7.0",
52
+ "vue-slider-component": "^3.2.15"
53
53
  },
54
54
  "peerDependencies": {
55
55
  "vue": "^2.6.10"
@@ -1,39 +0,0 @@
1
- 'use strict';
2
-
3
- function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
4
-
5
- var _rollupPluginBabelHelpers = require('./_rollupPluginBabelHelpers-4abdbfff.js');
6
- var styled = require('@appbaseio/vue-emotion');
7
- var styled__default = _interopDefault(styled);
8
- var NoSSR = _interopDefault(require('vue-no-ssr'));
9
-
10
- var _templateObject;
11
- var Slider = styled__default('div')(_templateObject || (_templateObject = _rollupPluginBabelHelpers._taggedTemplateLiteralLoose(["\n\tmargin-top: 30px;\n\tpadding: 10px;\n\n\t/* component style */\n\t.vue-slider-disabled {\n\t\topacity: 0.5;\n\t\tcursor: not-allowed;\n\t}\n\n\t/* rail style */\n\t.vue-slider-rail {\n\t\tbackground-color: #ccc;\n\t\tborder-radius: 15px;\n\t\theight: 4px;\n\t}\n\n\t/* process style */\n\t.vue-slider-process {\n\t\tbackground-color: #0b6aff;\n\t\tborder-radius: 15px;\n\t}\n\n\t/* mark style */\n\t.vue-slider-mark {\n\t\tz-index: 4;\n\t}\n\n\t.vue-slider-mark:first-child .vue-slider-mark-step,\n\t.vue-slider-mark:last-child .vue-slider-mark-step {\n\t\tdisplay: none;\n\t}\n\n\t.vue-slider-mark-step {\n\t\twidth: 100%;\n\t\theight: 100%;\n\t\tborder-radius: 50%;\n\t\tbackground-color: rgba(0, 0, 0, 0.16);\n\t}\n\n\t.vue-slider-mark-label {\n\t\tfont-size: 14px;\n\t\twhite-space: nowrap;\n\t}\n\n\t/* dot style */\n\t.vue-slider-dot{\n\t\tz-index: 2;\n\t}\n\n\t.vue-slider-dot-handle {\n\t\tcursor: pointer;\n\t\twidth: 100%;\n\t\theight: 100%;\n\t\tborder-radius: 50%;\n\t\tbackground-color: #fff;\n\t\tbox-sizing: border-box;\n\t\tborder: 1px solid #9a9a9a;\n\t\tz-index: 2;\n\t}\n\n\t.vue-slider-dot-handle-disabled {\n\t\tcursor: not-allowed;\n\t\tbackground-color: #ccc;\n\t}\n\n\t.vue-slider-dot-tooltip-inner {\n\t\tfont-size: 14px;\n\t\twhite-space: nowrap;\n\t\tpadding: 2px 5px;\n\t\tmin-width: 20px;\n\t\ttext-align: center;\n\t\tcolor: #fff;\n\t\tborder-radius: 5px;\n\t\tborder-color: #000;\n\t\tbackground-color: #000;\n\t\tbox-sizing: content-box;\n\t}\n\n\t.vue-slider-dot-tooltip-inner::after {\n\t\tcontent: \"\";\n\t\tposition: absolute;\n\t}\n\n\t.vue-slider-dot -tooltip-inner-top::after {\n\t\ttop: 100%;\n\t\tleft: 50%;\n\t\ttransform: translate(-50%, 0);\n\t\theight: 0;\n\t\twidth: 0;\n\t\tborder-color: transparent;\n\t\tborder-style: solid;\n\t\tborder-width: 5px;\n\t\tborder-top-color: inherit;\n\t}\n\n\t.vue-slider-dot-tooltip-inner-bottom::after {\n\t\tbottom: 100%;\n\t\tleft: 50%;\n\t\ttransform: translate(-50%, 0);\n\t\theight: 0;\n\t\twidth: 0;\n\t\tborder-color: transparent;\n\t\tborder-style: solid;\n\t\tborder-width: 5px;\n\t\tborder-bottom-color: inherit;\n\t}\n\n\t.vue-slider-dot-tooltip-inner-left::after {\n\t\tleft: 100%;\n\t\ttop: 50%;\n\t\ttransform: translate(0, -50%);\n\t\theight: 0;\n\t\twidth: 0;\n\t\tborder-color: transparent;\n\t\tborder-style: solid;\n\t\tborder-width: 5px;\n\t\tborder-left-color: inherit;\n\t}\n\n\t.vue-slider-dot-tooltip-inner-right::after {\n\t\tright: 100%;\n\t\ttop: 50%;\n\t\ttransform: translate(0, -50%);\n\t\theight: 0;\n\t\twidth: 0;\n\t\tborder-color: transparent;\n\t\tborder-style: solid;\n\t\tborder-width: 5px;\n\t\tborder-right-color: inherit;\n\t}\n\n\t.vue-slider-dot-tooltip-wrapper {\n\t\topacity: 0;\n\t\ttransition: all 0.3s;\n\t}\n\t.vue-slider-dot-tooltip-wrapper-show {\n\t\topacity: 1;\n\t}\n\n\t.label-container {\n\t\tmargin: 10px 0;\n\t\twidth: 100%;\n\t}\n\n\t.range-label-right {\n\t\tfloat: right;\n\t}\n"])));
12
-
13
- /**
14
- * Caution: Please do not change this file without having a discussion with the Team.
15
- * Any change may break the umd build, we're directly replacing the line no: 14
16
- * `components['vue-slider-component'] = require('vue-slider-component');` in rollup umd build process with some script.
17
- */
18
- // eslint-disable-next-line
19
-
20
- var getComponents = function getComponents() {
21
- var components = {
22
- NoSSR: NoSSR
23
- };
24
-
25
- if (process.browser) {
26
- try {
27
- // in older versions of nuxt, it's process.BROWSER_BUILD
28
- // eslint-disable-next-line
29
- components['vue-slider-component'] = require('vue-slider-component');
30
- } catch (e) {
31
- console.error('Unable to load vue-slider', e);
32
- }
33
- }
34
-
35
- return components;
36
- };
37
-
38
- exports.Slider = Slider;
39
- exports.getComponents = getComponents;
@@ -1,33 +0,0 @@
1
- import { _ as _taggedTemplateLiteralLoose } from './_rollupPluginBabelHelpers-ecf6c03c.js';
2
- import styled from '@appbaseio/vue-emotion';
3
- import NoSSR from 'vue-no-ssr';
4
-
5
- var _templateObject;
6
- var Slider = styled('div')(_templateObject || (_templateObject = _taggedTemplateLiteralLoose(["\n\tmargin-top: 30px;\n\tpadding: 10px;\n\n\t/* component style */\n\t.vue-slider-disabled {\n\t\topacity: 0.5;\n\t\tcursor: not-allowed;\n\t}\n\n\t/* rail style */\n\t.vue-slider-rail {\n\t\tbackground-color: #ccc;\n\t\tborder-radius: 15px;\n\t\theight: 4px;\n\t}\n\n\t/* process style */\n\t.vue-slider-process {\n\t\tbackground-color: #0b6aff;\n\t\tborder-radius: 15px;\n\t}\n\n\t/* mark style */\n\t.vue-slider-mark {\n\t\tz-index: 4;\n\t}\n\n\t.vue-slider-mark:first-child .vue-slider-mark-step,\n\t.vue-slider-mark:last-child .vue-slider-mark-step {\n\t\tdisplay: none;\n\t}\n\n\t.vue-slider-mark-step {\n\t\twidth: 100%;\n\t\theight: 100%;\n\t\tborder-radius: 50%;\n\t\tbackground-color: rgba(0, 0, 0, 0.16);\n\t}\n\n\t.vue-slider-mark-label {\n\t\tfont-size: 14px;\n\t\twhite-space: nowrap;\n\t}\n\n\t/* dot style */\n\t.vue-slider-dot{\n\t\tz-index: 2;\n\t}\n\n\t.vue-slider-dot-handle {\n\t\tcursor: pointer;\n\t\twidth: 100%;\n\t\theight: 100%;\n\t\tborder-radius: 50%;\n\t\tbackground-color: #fff;\n\t\tbox-sizing: border-box;\n\t\tborder: 1px solid #9a9a9a;\n\t\tz-index: 2;\n\t}\n\n\t.vue-slider-dot-handle-disabled {\n\t\tcursor: not-allowed;\n\t\tbackground-color: #ccc;\n\t}\n\n\t.vue-slider-dot-tooltip-inner {\n\t\tfont-size: 14px;\n\t\twhite-space: nowrap;\n\t\tpadding: 2px 5px;\n\t\tmin-width: 20px;\n\t\ttext-align: center;\n\t\tcolor: #fff;\n\t\tborder-radius: 5px;\n\t\tborder-color: #000;\n\t\tbackground-color: #000;\n\t\tbox-sizing: content-box;\n\t}\n\n\t.vue-slider-dot-tooltip-inner::after {\n\t\tcontent: \"\";\n\t\tposition: absolute;\n\t}\n\n\t.vue-slider-dot -tooltip-inner-top::after {\n\t\ttop: 100%;\n\t\tleft: 50%;\n\t\ttransform: translate(-50%, 0);\n\t\theight: 0;\n\t\twidth: 0;\n\t\tborder-color: transparent;\n\t\tborder-style: solid;\n\t\tborder-width: 5px;\n\t\tborder-top-color: inherit;\n\t}\n\n\t.vue-slider-dot-tooltip-inner-bottom::after {\n\t\tbottom: 100%;\n\t\tleft: 50%;\n\t\ttransform: translate(-50%, 0);\n\t\theight: 0;\n\t\twidth: 0;\n\t\tborder-color: transparent;\n\t\tborder-style: solid;\n\t\tborder-width: 5px;\n\t\tborder-bottom-color: inherit;\n\t}\n\n\t.vue-slider-dot-tooltip-inner-left::after {\n\t\tleft: 100%;\n\t\ttop: 50%;\n\t\ttransform: translate(0, -50%);\n\t\theight: 0;\n\t\twidth: 0;\n\t\tborder-color: transparent;\n\t\tborder-style: solid;\n\t\tborder-width: 5px;\n\t\tborder-left-color: inherit;\n\t}\n\n\t.vue-slider-dot-tooltip-inner-right::after {\n\t\tright: 100%;\n\t\ttop: 50%;\n\t\ttransform: translate(0, -50%);\n\t\theight: 0;\n\t\twidth: 0;\n\t\tborder-color: transparent;\n\t\tborder-style: solid;\n\t\tborder-width: 5px;\n\t\tborder-right-color: inherit;\n\t}\n\n\t.vue-slider-dot-tooltip-wrapper {\n\t\topacity: 0;\n\t\ttransition: all 0.3s;\n\t}\n\t.vue-slider-dot-tooltip-wrapper-show {\n\t\topacity: 1;\n\t}\n\n\t.label-container {\n\t\tmargin: 10px 0;\n\t\twidth: 100%;\n\t}\n\n\t.range-label-right {\n\t\tfloat: right;\n\t}\n"])));
7
-
8
- /**
9
- * Caution: Please do not change this file without having a discussion with the Team.
10
- * Any change may break the umd build, we're directly replacing the line no: 14
11
- * `components['vue-slider-component'] = require('vue-slider-component');` in rollup umd build process with some script.
12
- */
13
- // eslint-disable-next-line
14
-
15
- var getComponents = function getComponents() {
16
- var components = {
17
- NoSSR: NoSSR
18
- };
19
-
20
- if (process.browser) {
21
- try {
22
- // in older versions of nuxt, it's process.BROWSER_BUILD
23
- // eslint-disable-next-line
24
- components['vue-slider-component'] = require('vue-slider-component');
25
- } catch (e) {
26
- console.error('Unable to load vue-slider', e);
27
- }
28
- }
29
-
30
- return components;
31
- };
32
-
33
- export { Slider as S, getComponents as g };