@appbaseio/reactivesearch-vue 1.16.0-alpha.59 → 1.16.0-alpha.61

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 (57) hide show
  1. package/dist/@appbaseio/reactivesearch-vue.umd.js +5302 -7067
  2. package/dist/@appbaseio/reactivesearch-vue.umd.js.map +1 -1
  3. package/dist/@appbaseio/reactivesearch-vue.umd.min.js +5 -21
  4. package/dist/@appbaseio/reactivesearch-vue.umd.min.js.map +1 -1
  5. package/dist/cjs/{ComponentWrapper-ca5f0cbd.js → ComponentWrapper-ad3dad02.js} +1 -1
  6. package/dist/cjs/{DataSearch-f63fcf44.js → DataSearch-86914b10.js} +2 -2
  7. package/dist/cjs/DataSearch.js +3 -3
  8. package/dist/cjs/{DropDown-c3f83a46.js → DropDown-5513ea77.js} +1 -1
  9. package/dist/cjs/DynamicRangeSlider.js +1 -1
  10. package/dist/cjs/MultiDropdownList.js +3 -3
  11. package/dist/cjs/MultiList.js +2 -2
  12. package/dist/cjs/MultiRange.js +2 -2
  13. package/dist/cjs/{Pagination-c01d1547.js → Pagination-fe5452fc.js} +10 -5
  14. package/dist/cjs/RangeInput.js +2 -2
  15. package/dist/cjs/RangeSlider.js +2 -2
  16. package/dist/cjs/ReactiveBase.js +1 -1
  17. package/dist/cjs/ReactiveComponent.js +2 -2
  18. package/dist/cjs/ReactiveGoogleMap.js +10 -16
  19. package/dist/cjs/ReactiveList.js +3 -3
  20. package/dist/cjs/SelectedFilters.js +4 -4
  21. package/dist/cjs/SingleDropdownList.js +3 -3
  22. package/dist/cjs/SingleList.js +2 -2
  23. package/dist/cjs/SingleRange.js +2 -2
  24. package/dist/cjs/StateProvider.js +1 -1
  25. package/dist/cjs/ToggleButton.js +2 -2
  26. package/dist/cjs/{index-c288153a.js → index-6a167fe0.js} +12 -0
  27. package/dist/cjs/index.js +11 -6
  28. package/dist/cjs/{install-a9aae115.js → install-004c6aa4.js} +10 -9
  29. package/dist/cjs/install.js +6 -6
  30. package/dist/cjs/version.js +1 -1
  31. package/dist/es/{ComponentWrapper-6ad0997b.js → ComponentWrapper-424e86fd.js} +1 -1
  32. package/dist/es/{DataSearch-1dba393f.js → DataSearch-e71a1014.js} +2 -2
  33. package/dist/es/DataSearch.js +3 -3
  34. package/dist/es/{DropDown-2ddad7ae.js → DropDown-7d9a15c1.js} +1 -1
  35. package/dist/es/DynamicRangeSlider.js +1 -1
  36. package/dist/es/MultiDropdownList.js +3 -3
  37. package/dist/es/MultiList.js +2 -2
  38. package/dist/es/MultiRange.js +2 -2
  39. package/dist/es/{Pagination-491c44ee.js → Pagination-3f350098.js} +10 -5
  40. package/dist/es/RangeInput.js +2 -2
  41. package/dist/es/RangeSlider.js +2 -2
  42. package/dist/es/ReactiveBase.js +1 -1
  43. package/dist/es/ReactiveComponent.js +2 -2
  44. package/dist/es/ReactiveGoogleMap.js +10 -15
  45. package/dist/es/ReactiveList.js +3 -3
  46. package/dist/es/SelectedFilters.js +2 -2
  47. package/dist/es/SingleDropdownList.js +3 -3
  48. package/dist/es/SingleList.js +2 -2
  49. package/dist/es/SingleRange.js +2 -2
  50. package/dist/es/StateProvider.js +1 -1
  51. package/dist/es/ToggleButton.js +2 -2
  52. package/dist/es/{index-3d98f51b.js → index-7788a843.js} +12 -1
  53. package/dist/es/index.js +12 -7
  54. package/dist/es/{install-686dd71d.js → install-b7b604cc.js} +8 -7
  55. package/dist/es/install.js +6 -6
  56. package/dist/es/version.js +1 -1
  57. package/package.json +3 -3
@@ -4,7 +4,7 @@ import VueTypes from 'vue-types';
4
4
  import { css } from 'emotion';
5
5
  import styled from '@appbaseio/vue-emotion';
6
6
  import { t as types } from './vueTypes-9326e0be.js';
7
- import { a as isFunction } from './index-3d98f51b.js';
7
+ import { a as isFunction } from './index-7788a843.js';
8
8
  import _mergeJSXProps from '@vue/babel-helper-vue-jsx-merge-props';
9
9
  import { D as Downshift, b as InputWrapper, a as IconGroup, I as IconWrapper, C as CancelSvg } from './CancelSvg-4cfae5fd.js';
10
10
  import { s as suggestionsContainer, a as suggestions, I as Input } from './Input-7a2a9fac.js';
@@ -5,7 +5,7 @@ import { componentTypes } from '@appbaseio/reactivecore/lib/utils/constants';
5
5
  import '@appbaseio/vue-emotion';
6
6
  import { t as types } from './vueTypes-9326e0be.js';
7
7
  import 'redux';
8
- import { f as updateCustomQuery, d as getValidPropsKeys, i as isQueryIdentical, c as connect } from './index-3d98f51b.js';
8
+ import { f as updateCustomQuery, d as getValidPropsKeys, i as isQueryIdentical, c as connect } from './index-7788a843.js';
9
9
  import { T as Title } from './Title-3342664a.js';
10
10
  import { C as Container } from './Container-ba826e96.js';
11
11
  import NoSSR from 'vue-no-ssr';
@@ -9,8 +9,8 @@ import { l as loadMoreContainer, B as Button } from './Button-d8bc15ea.js';
9
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, o as parseValueArray, g as getComponent, h as hasCustomRenderer, c as connect } from './index-3d98f51b.js';
13
- import { C as ComponentWrapper } from './ComponentWrapper-6ad0997b.js';
12
+ import { f as updateCustomQuery, u as updateDefaultQuery, i as isQueryIdentical, a as isFunction, q as parseValueArray, g as getComponent, h as hasCustomRenderer, c as connect } from './index-7788a843.js';
13
+ import { C as ComponentWrapper } from './ComponentWrapper-424e86fd.js';
14
14
  import '@vue/babel-helper-vue-jsx-merge-props';
15
15
  import { T as Title } from './Title-3342664a.js';
16
16
  import './CancelSvg-4cfae5fd.js';
@@ -19,7 +19,7 @@ import 'compute-scroll-into-view';
19
19
  import { C as Container } from './Container-ba826e96.js';
20
20
  import '@appbaseio/reactivecore/lib/utils/suggestions';
21
21
  import { g as getAggsQuery } from './utils-9e68acee.js';
22
- import { D as Dropdown } from './DropDown-2ddad7ae.js';
22
+ import { D as Dropdown } from './DropDown-7d9a15c1.js';
23
23
 
24
24
  var updateQuery = Actions.updateQuery,
25
25
  setQueryOptions = Actions.setQueryOptions,
@@ -8,8 +8,8 @@ import 'polished';
8
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, n as isEvent, o as parseValueArray, g as getComponent, h as hasCustomRenderer, c as connect } from './index-3d98f51b.js';
12
- import { C as ComponentWrapper } from './ComponentWrapper-6ad0997b.js';
11
+ import { f as updateCustomQuery, u as updateDefaultQuery, i as isQueryIdentical, a as isFunction, o as isEvent, q as parseValueArray, g as getComponent, h as hasCustomRenderer, c as connect } from './index-7788a843.js';
12
+ import { C as ComponentWrapper } from './ComponentWrapper-424e86fd.js';
13
13
  import { T as Title } from './Title-3342664a.js';
14
14
  import { I as Input } from './Input-7a2a9fac.js';
15
15
  import { C as Container } from './Container-ba826e96.js';
@@ -8,8 +8,8 @@ import 'polished';
8
8
  import { t as types } from './vueTypes-9326e0be.js';
9
9
  import '@appbaseio/reactivecore/lib/utils/transform';
10
10
  import 'redux';
11
- import { o as parseValueArray, f as updateCustomQuery, i as isQueryIdentical, c as connect } from './index-3d98f51b.js';
12
- import { C as ComponentWrapper } from './ComponentWrapper-6ad0997b.js';
11
+ import { q as parseValueArray, f as updateCustomQuery, i as isQueryIdentical, c as connect } from './index-7788a843.js';
12
+ import { C as ComponentWrapper } from './ComponentWrapper-424e86fd.js';
13
13
  import { T as Title } from './Title-3342664a.js';
14
14
  import { C as Container } from './Container-ba826e96.js';
15
15
  import { U as UL, C as Checkbox } from './FormControlList-c22d64f6.js';
@@ -57,6 +57,7 @@ var Pagination = {
57
57
  showEndPage = props.showEndPage;
58
58
  var start = position === 'start' ? getStartPage(pages, currentPage, showEndPage) : Math.max(2, Math.ceil(totalPages - (pages - 1) / 2 + 1));
59
59
  var paginationButtons = [];
60
+ var endPage = start;
60
61
 
61
62
  if (start <= totalPages) {
62
63
  var totalPagesToShow = pages < totalPages ? start + (pages - 1) : totalPages + 1;
@@ -94,6 +95,10 @@ var Pagination = {
94
95
 
95
96
  if (i <= totalPages + 1) {
96
97
  paginationButtons.push(pageBtn);
98
+
99
+ if (i === Math.min(totalPages + 1, totalPagesToShow) - 1) {
100
+ endPage = i;
101
+ }
97
102
  }
98
103
  };
99
104
 
@@ -102,7 +107,7 @@ var Pagination = {
102
107
  }
103
108
  }
104
109
 
105
- return paginationButtons;
110
+ return [paginationButtons, start, endPage];
106
111
  };
107
112
 
108
113
  var buildIntermediatePaginationDom = function buildIntermediatePaginationDom() {
@@ -110,10 +115,10 @@ var Pagination = {
110
115
  currentPage = props.currentPage,
111
116
  totalPages = props.totalPages,
112
117
  pages = props.pages;
113
- if (!showEndPage) return buildPaginationDOM('start');
118
+ if (!showEndPage) return buildPaginationDOM('start')[0];
114
119
 
115
- if (currentPage <= totalPages - pages + 2 || totalPages <= pages) {
116
- return buildPaginationDOM('start');
120
+ if (currentPage <= totalPages - pages + 2 || totalPages < pages) {
121
+ return buildPaginationDOM('start')[0];
117
122
  }
118
123
 
119
124
  return null;
@@ -149,7 +154,7 @@ var Pagination = {
149
154
  return props.setPage(0);
150
155
  }
151
156
  }
152
- }, ["1"]), props.showEndPage && props.currentPage >= Math.floor(props.pages / 2) + !!(props.pages % 2) ? h("span", ["..."]) : null, buildIntermediatePaginationDom(), props.showEndPage && props.pages > 2 && props.currentPage <= props.totalPages - Math.ceil(props.pages * 0.75) ? h("span", ["..."]) : null, props.showEndPage && props.totalPages >= props.pages && buildPaginationDOM('end'), h(Button, {
157
+ }, ["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, {
153
158
  "class": getClassName(props.innerClass, 'button') || '',
154
159
  "attrs": {
155
160
  "disabled": props.currentPage >= props.totalPages - 1,
@@ -8,8 +8,8 @@ import 'polished';
8
8
  import { t as types } from './vueTypes-9326e0be.js';
9
9
  import '@appbaseio/reactivecore/lib/utils/transform';
10
10
  import 'redux';
11
- import { c as connect } from './index-3d98f51b.js';
12
- import { C as ComponentWrapper } from './ComponentWrapper-6ad0997b.js';
11
+ import { c as connect } from './index-7788a843.js';
12
+ import { C as ComponentWrapper } from './ComponentWrapper-424e86fd.js';
13
13
  import './Title-3342664a.js';
14
14
  import { F as Flex } from './Flex-1f0795c3.js';
15
15
  import { I as Input } from './Input-7a2a9fac.js';
@@ -6,8 +6,8 @@ import '@appbaseio/vue-emotion';
6
6
  import { t as types } from './vueTypes-9326e0be.js';
7
7
  import '@appbaseio/reactivecore/lib/utils/transform';
8
8
  import 'redux';
9
- import { f as updateCustomQuery, i as isQueryIdentical, c as connect } from './index-3d98f51b.js';
10
- import { C as ComponentWrapper } from './ComponentWrapper-6ad0997b.js';
9
+ import { f as updateCustomQuery, i as isQueryIdentical, c as connect } from './index-7788a843.js';
10
+ import { C as ComponentWrapper } from './ComponentWrapper-424e86fd.js';
11
11
  import { T as Title } from './Title-3342664a.js';
12
12
  import { C as Container } from './Container-ba826e96.js';
13
13
  import NoSSR from 'vue-no-ssr';
@@ -6,7 +6,7 @@ import { isEqual as isEqual$1 } from '@appbaseio/reactivecore/lib/utils/helper';
6
6
  import styled from '@appbaseio/vue-emotion';
7
7
  import { t as types } from './vueTypes-9326e0be.js';
8
8
  import 'redux';
9
- import { c as connect, e as composeThemeObject, X as X_SEARCH_CLIENT } from './index-3d98f51b.js';
9
+ import { c as connect, e as composeThemeObject, X as X_SEARCH_CLIENT } from './index-7788a843.js';
10
10
  import _mergeJSXProps from '@vue/babel-helper-vue-jsx-merge-props';
11
11
  import { updateAnalyticsConfig } from '@appbaseio/reactivecore/lib/actions/analytics';
12
12
  import Appbase from 'appbase-js';
@@ -5,8 +5,8 @@ import { componentTypes } from '@appbaseio/reactivecore/lib/utils/constants';
5
5
  import { t as types } from './vueTypes-9326e0be.js';
6
6
  import '@appbaseio/reactivecore/lib/utils/transform';
7
7
  import 'redux';
8
- import { f as updateCustomQuery, u as updateDefaultQuery, i as isQueryIdentical, c as connect } from './index-3d98f51b.js';
9
- import { C as ComponentWrapper } from './ComponentWrapper-6ad0997b.js';
8
+ import { f as updateCustomQuery, u as updateDefaultQuery, i as isQueryIdentical, c as connect } from './index-7788a843.js';
9
+ import { C as ComponentWrapper } from './ComponentWrapper-424e86fd.js';
10
10
 
11
11
  var _excluded = ["options"];
12
12
  var updateQuery = Actions.updateQuery,
@@ -7,15 +7,20 @@ import styled, { css } from '@appbaseio/vue-emotion';
7
7
  import 'polished';
8
8
  import './Button-d8bc15ea.js';
9
9
  import { t as types } from './vueTypes-9326e0be.js';
10
- import { P as Pagination } from './Pagination-491c44ee.js';
10
+ import { P as Pagination } from './Pagination-3f350098.js';
11
11
  import '@appbaseio/reactivecore/lib/utils/transform';
12
12
  import 'redux';
13
- import { h as hasCustomRenderer, i as isQueryIdentical, g as getComponent, a as isFunction, c as connect } from './index-3d98f51b.js';
14
- import { C as ComponentWrapper } from './ComponentWrapper-6ad0997b.js';
13
+ import { h as hasCustomRenderer, i as isQueryIdentical, g as getComponent, a as isFunction, c as connect } from './index-7788a843.js';
14
+ import { C as ComponentWrapper } from './ComponentWrapper-424e86fd.js';
15
15
  import _mergeJSXProps from '@vue/babel-helper-vue-jsx-merge-props';
16
16
  import { C as Checkbox } from './FormControlList-c22d64f6.js';
17
- import GmapVue, { components } from 'gmap-vue';
17
+ import * as GmapMapFull from 'gmap-vue';
18
+ import Map from 'gmap-vue/dist/components-implementation/map';
18
19
  import geohash from 'ngeohash';
20
+ import Cluster from 'gmap-vue/dist/components/cluster';
21
+ import InfoWindow from 'gmap-vue/dist/components-implementation/info-window';
22
+ import Marker from 'gmap-vue/dist/components/marker';
23
+ import MapElementMixin from 'gmap-vue/dist/mixins/map-element';
19
24
 
20
25
  var setStreaming = Actions.setStreaming,
21
26
  setQueryOptions = Actions.setQueryOptions,
@@ -891,7 +896,6 @@ ReactiveMap.install = function (Vue) {
891
896
 
892
897
  ReactiveMap.componentType = componentTypes.reactiveMap;
893
898
 
894
- var InfoWindow = components.InfoWindow;
895
899
  var InfoWindowWrapper = {
896
900
  name: 'InfoWindowWrapper',
897
901
  props: {
@@ -925,8 +929,6 @@ var InfoWindowWrapper = {
925
929
  }
926
930
  };
927
931
 
928
- var MapElementMixin = components.MapElementMixin; // Note: This file has been taken from https://github.com/eregnier/vue2-gmap-custom-marker/blob/master/gmap-custom-marker.vue
929
-
930
932
  var MarkerWithLabel = {
931
933
  name: 'MarkerWithLabel',
932
934
  props: {
@@ -1045,10 +1047,6 @@ var MarkerWithLabel = {
1045
1047
  return _this3.repaint();
1046
1048
  };
1047
1049
 
1048
- _this3.getVisible = function () {
1049
- return true;
1050
- };
1051
-
1052
1050
  return _this3;
1053
1051
  }
1054
1052
 
@@ -1215,7 +1213,6 @@ var MapPin = styled('div')(_templateObject || (_templateObject = _taggedTemplate
1215
1213
  var MapPinArrow = styled('div')(_templateObject2 || (_templateObject2 = _taggedTemplateLiteralLoose(["\n\tborder-color: rgba(0, 0, 0, 0.2);\n\tborder-style: solid;\n\tborder-width: 0 1px 1px 0;\n\tmargin-left: -6px;\n\tbackground-color: #fff;\n\tmargin-top: -6px;\n\twidth: 12px;\n\theight: 12px;\n\t-webkit-transform: rotate(45deg);\n\t-ms-transform: rotate(45deg);\n\ttransform: rotate(45deg);\n"])));
1216
1214
  var mapPinWrapper = css(_templateObject3 || (_templateObject3 = _taggedTemplateLiteralLoose(["\n\t&:hover,\n\t&:focus {\n\t\tz-index: 200;\n\t}\n"])));
1217
1215
 
1218
- var Marker = components.Marker;
1219
1216
  var recordResultClick$1 = Actions.recordResultClick;
1220
1217
  var GoogleMapMarker = {
1221
1218
  name: 'GoogleMapMarker',
@@ -1453,7 +1450,6 @@ var GoogleMapMarker$1 = connect(function () {
1453
1450
  return null;
1454
1451
  }, mapDispatchToProps$1)(GoogleMapMarker);
1455
1452
 
1456
- var Cluster = components.Cluster;
1457
1453
  var GoogleMapMarkers = {
1458
1454
  name: 'GoogleMapMarkers',
1459
1455
  props: {
@@ -1582,7 +1578,6 @@ var GoogleMapMarkers = {
1582
1578
  }
1583
1579
  };
1584
1580
 
1585
- var Map = components.MapLayer;
1586
1581
  var ReactiveGoogleMap = {
1587
1582
  name: 'ReactiveGoogleMap',
1588
1583
  props: {
@@ -1740,7 +1735,7 @@ ReactiveGoogleMap.install = function (Vue, options) {
1740
1735
  console.error('ReactiveSearch: map key is required to use ReactiveGoogleMap component');
1741
1736
  }
1742
1737
 
1743
- Vue.use(GmapVue, {
1738
+ Vue.use(GmapMapFull, {
1744
1739
  load: {
1745
1740
  key: options.key,
1746
1741
  libraries: 'places'
@@ -8,11 +8,11 @@ import styled from '@appbaseio/vue-emotion';
8
8
  import 'polished';
9
9
  import './Button-d8bc15ea.js';
10
10
  import { t as types } from './vueTypes-9326e0be.js';
11
- import { P as Pagination } from './Pagination-491c44ee.js';
11
+ import { P as Pagination } from './Pagination-3f350098.js';
12
12
  import '@appbaseio/reactivecore/lib/utils/transform';
13
13
  import 'redux';
14
- import { c as connect, h as hasCustomRenderer, i as isQueryIdentical, u as updateDefaultQuery, a as isFunction, g as getComponent } from './index-3d98f51b.js';
15
- import { C as ComponentWrapper } from './ComponentWrapper-6ad0997b.js';
14
+ import { c as connect, h as hasCustomRenderer, i as isQueryIdentical, u as updateDefaultQuery, a as isFunction, g as getComponent } from './index-7788a843.js';
15
+ import { C as ComponentWrapper } from './ComponentWrapper-424e86fd.js';
16
16
  import _mergeJSXProps from '@vue/babel-helper-vue-jsx-merge-props';
17
17
  import './Title-3342664a.js';
18
18
  import { c as container } from './ListItem-cad14c5e.js';
@@ -8,7 +8,7 @@ import 'polished';
8
8
  import { f as filters, B as Button } from './Button-d8bc15ea.js';
9
9
  import { t as types } from './vueTypes-9326e0be.js';
10
10
  import 'redux';
11
- import { c as connect } from './index-3d98f51b.js';
11
+ import { n as decodeHtml, c as connect } from './index-7788a843.js';
12
12
  import { T as Title } from './Title-3342664a.js';
13
13
  import { C as Container } from './Container-ba826e96.js';
14
14
 
@@ -164,7 +164,7 @@ var SelectedFilters = {
164
164
 
165
165
  return _this3.renderFilterButton(component, component + "-" + (index + 1), function () {
166
166
  return _this3.remove(component, value);
167
- }, selectedValues[component].label + ": " + valueToRender);
167
+ }, selectedValues[component].label + ": " + decodeHtml(valueToRender));
168
168
  }
169
169
 
170
170
  return null;
@@ -9,8 +9,8 @@ import { l as loadMoreContainer, B as Button } from './Button-d8bc15ea.js';
9
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-3d98f51b.js';
13
- import { C as ComponentWrapper } from './ComponentWrapper-6ad0997b.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-7788a843.js';
13
+ import { C as ComponentWrapper } from './ComponentWrapper-424e86fd.js';
14
14
  import '@vue/babel-helper-vue-jsx-merge-props';
15
15
  import { T as Title } from './Title-3342664a.js';
16
16
  import './CancelSvg-4cfae5fd.js';
@@ -19,7 +19,7 @@ import 'compute-scroll-into-view';
19
19
  import { C as Container } from './Container-ba826e96.js';
20
20
  import '@appbaseio/reactivecore/lib/utils/suggestions';
21
21
  import { g as getAggsQuery } from './utils-9e68acee.js';
22
- import { D as Dropdown } from './DropDown-2ddad7ae.js';
22
+ import { D as Dropdown } from './DropDown-7d9a15c1.js';
23
23
 
24
24
  var updateQuery = Actions.updateQuery,
25
25
  setQueryOptions = Actions.setQueryOptions,
@@ -8,8 +8,8 @@ import 'polished';
8
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-3d98f51b.js';
12
- import { C as ComponentWrapper } from './ComponentWrapper-6ad0997b.js';
11
+ import { f as updateCustomQuery, u as updateDefaultQuery, i as isQueryIdentical, a as isFunction, g as getComponent, o as isEvent, h as hasCustomRenderer, c as connect } from './index-7788a843.js';
12
+ import { C as ComponentWrapper } from './ComponentWrapper-424e86fd.js';
13
13
  import { T as Title } from './Title-3342664a.js';
14
14
  import { I as Input } from './Input-7a2a9fac.js';
15
15
  import { C as Container } from './Container-ba826e96.js';
@@ -8,8 +8,8 @@ import 'polished';
8
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-3d98f51b.js';
12
- import { C as ComponentWrapper } from './ComponentWrapper-6ad0997b.js';
11
+ import { f as updateCustomQuery, i as isQueryIdentical, c as connect } from './index-7788a843.js';
12
+ import { C as ComponentWrapper } from './ComponentWrapper-424e86fd.js';
13
13
  import { T as Title } from './Title-3342664a.js';
14
14
  import { C as Container } from './Container-ba826e96.js';
15
15
  import { U as UL, R as Radio } from './FormControlList-c22d64f6.js';
@@ -4,7 +4,7 @@ import VueTypes from 'vue-types';
4
4
  import '@appbaseio/reactivecore/lib/utils/constants';
5
5
  import { isInternalComponent } from '@appbaseio/reactivecore/lib/utils/transform';
6
6
  import 'redux';
7
- import { c as connect } from './index-3d98f51b.js';
7
+ import { c as connect } from './index-7788a843.js';
8
8
  import { setValues } from '@appbaseio/reactivecore/lib/actions/value';
9
9
 
10
10
  var getSearchState = helper.getSearchState;
@@ -9,8 +9,8 @@ import { B as Button, t as toggleButtons } from './Button-d8bc15ea.js';
9
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-3d98f51b.js';
13
- import { C as ComponentWrapper } from './ComponentWrapper-6ad0997b.js';
12
+ import { f as updateCustomQuery, i as isQueryIdentical, c as connect } from './index-7788a843.js';
13
+ import { C as ComponentWrapper } from './ComponentWrapper-424e86fd.js';
14
14
  import { T as Title } from './Title-3342664a.js';
15
15
  import { C as Container } from './Container-ba826e96.js';
16
16
 
@@ -364,5 +364,16 @@ function extractModifierKeysFromFocusShortcuts(focusShortcutsArray) {
364
364
  return MODIFIER_KEYS.includes(shortcutKey);
365
365
  });
366
366
  }
367
+ function decodeHtml(str) {
368
+ if (typeof str !== 'string') {
369
+ return str;
370
+ }
371
+
372
+ return str.replace(/&#([0-9]{1,3});/gi, function (match, numStr) {
373
+ var num = parseInt(numStr, 10); // read num as normal number
374
+
375
+ return String.fromCharCode(num);
376
+ });
377
+ }
367
378
 
368
- export { X_SEARCH_CLIENT as X, isFunction as a, getCamelCase as b, connect as c, getValidPropsKeys as d, composeThemeObject as e, updateCustomQuery as f, getComponent as g, hasCustomRenderer as h, isQueryIdentical as i, getQuerySuggestionsComponent as j, isEmpty as k, extractModifierKeysFromFocusShortcuts as l, hasQuerySuggestionsRenderer as m, isEvent as n, parseValueArray as o, parseFocusShortcuts as p, updateDefaultQuery as u };
379
+ export { X_SEARCH_CLIENT as X, isFunction as a, getCamelCase as b, connect as c, getValidPropsKeys as d, composeThemeObject as e, updateCustomQuery as f, getComponent as g, hasCustomRenderer as h, isQueryIdentical as i, getQuerySuggestionsComponent as j, isEmpty as k, extractModifierKeysFromFocusShortcuts as l, hasQuerySuggestionsRenderer as m, decodeHtml as n, isEvent as o, parseFocusShortcuts as p, parseValueArray as q, updateDefaultQuery as u };
package/dist/es/index.js CHANGED
@@ -8,12 +8,12 @@ import '@appbaseio/vue-emotion';
8
8
  import 'polished';
9
9
  import './Button-d8bc15ea.js';
10
10
  import './vueTypes-9326e0be.js';
11
- import './Pagination-491c44ee.js';
11
+ import './Pagination-3f350098.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-3d98f51b.js';
16
- import './ComponentWrapper-6ad0997b.js';
15
+ import './index-7788a843.js';
16
+ import './ComponentWrapper-424e86fd.js';
17
17
  import '@vue/babel-helper-vue-jsx-merge-props';
18
18
  import './Title-3342664a.js';
19
19
  import './ListItem-cad14c5e.js';
@@ -24,20 +24,20 @@ import 'appbase-js';
24
24
  import 'url-search-params-polyfill';
25
25
  export { default as ReactiveBase } from './ReactiveBase.js';
26
26
  import 'hotkeys-js';
27
- export { D as DataSearch } from './DataSearch-1dba393f.js';
27
+ export { D as DataSearch } from './DataSearch-e71a1014.js';
28
28
  import './CancelSvg-4cfae5fd.js';
29
29
  import './Input-7a2a9fac.js';
30
30
  import 'compute-scroll-into-view';
31
31
  import './Container-ba826e96.js';
32
32
  import 'vue-highlight-words';
33
- import { i as install } from './install-686dd71d.js';
34
- export { S as SearchBox, i as install } from './install-686dd71d.js';
33
+ import { i as install } from './install-b7b604cc.js';
34
+ export { S as SearchBox, i as install } from './install-b7b604cc.js';
35
35
  import '@appbaseio/reactivecore/lib/utils/suggestions';
36
36
  import './FormControlList-c22d64f6.js';
37
37
  import './utils-9e68acee.js';
38
38
  export { default as SingleList } from './SingleList.js';
39
39
  export { default as MultiList } from './MultiList.js';
40
- import './DropDown-2ddad7ae.js';
40
+ import './DropDown-7d9a15c1.js';
41
41
  export { default as SingleDropdownList } from './SingleDropdownList.js';
42
42
  export { default as MultiDropdownList } from './MultiDropdownList.js';
43
43
  export { default as ToggleButton } from './ToggleButton.js';
@@ -54,8 +54,13 @@ export { default as DynamicRangeSlider } from './DynamicRangeSlider.js';
54
54
  import '@appbaseio/reactivecore/lib/actions/value';
55
55
  export { default as StateProvider } from './StateProvider.js';
56
56
  import 'gmap-vue';
57
+ import 'gmap-vue/dist/components-implementation/map';
57
58
  import 'ngeohash';
58
59
  export { default as ReactiveGoogleMap } from './ReactiveGoogleMap.js';
60
+ import 'gmap-vue/dist/components/cluster';
61
+ import 'gmap-vue/dist/components-implementation/info-window';
62
+ import 'gmap-vue/dist/components/marker';
63
+ import 'gmap-vue/dist/mixins/map-element';
59
64
  import '@appbaseio/reactivecore/lib/reducers/valueReducer';
60
65
  import '@appbaseio/reactivecore/lib/reducers/queryReducer';
61
66
  import '@appbaseio/reactivecore/lib/reducers/queryOptionsReducer';
@@ -7,12 +7,12 @@ import styled from '@appbaseio/vue-emotion';
7
7
  import { B as Button } from './Button-d8bc15ea.js';
8
8
  import { t as types } from './vueTypes-9326e0be.js';
9
9
  import ReactiveList from './ReactiveList.js';
10
- import { h as hasCustomRenderer, i as isQueryIdentical, g as getComponent, u as updateDefaultQuery, f as updateCustomQuery, a as isFunction, k as isEmpty, p as parseFocusShortcuts, l as extractModifierKeysFromFocusShortcuts, c as connect } from './index-3d98f51b.js';
11
- import { C as ComponentWrapper } from './ComponentWrapper-6ad0997b.js';
10
+ import { n as decodeHtml, h as hasCustomRenderer, i as isQueryIdentical, g as getComponent, u as updateDefaultQuery, f as updateCustomQuery, a as isFunction, k as isEmpty, p as parseFocusShortcuts, l as extractModifierKeysFromFocusShortcuts, c as connect } from './index-7788a843.js';
11
+ import { C as ComponentWrapper } from './ComponentWrapper-424e86fd.js';
12
12
  import { T as Title } from './Title-3342664a.js';
13
13
  import ReactiveBase from './ReactiveBase.js';
14
14
  import hotkeys from 'hotkeys-js';
15
- import { S as SearchSvg, a as SuggestionWrapper, I as InputAddon, M as Mic, T as TagItem, b as TagsContainer, c as InputGroup, C as CustomSvg, d as SuggestionItem, D as DataSearch } from './DataSearch-1dba393f.js';
15
+ import { S as SearchSvg, a as SuggestionWrapper, I as InputAddon, M as Mic, T as TagItem, b as TagsContainer, c as InputGroup, C as CustomSvg, d as SuggestionItem, D as DataSearch } from './DataSearch-e71a1014.js';
16
16
  import { C as CancelSvg, a as IconGroup, I as IconWrapper, D as Downshift, b as InputWrapper } from './CancelSvg-4cfae5fd.js';
17
17
  import { s as suggestionsContainer, I as Input, a as suggestions } from './Input-7a2a9fac.js';
18
18
  import { C as Container } from './Container-ba826e96.js';
@@ -118,7 +118,7 @@ var SearchBox = {
118
118
  console.warn('Warning(ReactiveSearch): In order to use the `index` prop, the `enableAppbase` prop must be set to true in `ReactiveBase`.');
119
119
  }
120
120
 
121
- this.currentValue = this.selectedValue || this.value || this.defaultValue || '';
121
+ this.currentValue = decodeHtml(this.selectedValue || this.value || this.defaultValue || '');
122
122
 
123
123
  if (this.$options.isTagsMode) {
124
124
  this.currentValue = '';
@@ -215,7 +215,8 @@ var SearchBox = {
215
215
  enterButton: VueTypes.bool.def(false),
216
216
  renderEnterButton: VueTypes.any,
217
217
  mode: VueTypes.oneOf(['select', 'tag']).def('select'),
218
- renderSelectedTags: VueTypes.any
218
+ renderSelectedTags: VueTypes.any,
219
+ searchboxId: VueTypes.string
219
220
  },
220
221
  beforeMount: function beforeMount() {
221
222
  if (this.selectedValue) {
@@ -459,7 +460,7 @@ var SearchBox = {
459
460
 
460
461
  _this.currentValue = '';
461
462
  } else {
462
- _this.currentValue = value;
463
+ _this.currentValue = decodeHtml(value);
463
464
  }
464
465
 
465
466
  var queryHandlerValue = value;
@@ -965,7 +966,7 @@ var SearchBox = {
965
966
  onAutofillClick: function onAutofillClick(suggestion) {
966
967
  var value = suggestion.value;
967
968
  this.isOpen = true;
968
- this.currentValue = value;
969
+ this.currentValue = decodeHtml(value);
969
970
  this.triggerDefaultQuery(value);
970
971
  },
971
972
  renderAutoFill: function renderAutoFill(suggestion) {
@@ -8,12 +8,12 @@ import '@appbaseio/vue-emotion';
8
8
  import 'polished';
9
9
  import './Button-d8bc15ea.js';
10
10
  import './vueTypes-9326e0be.js';
11
- import './Pagination-491c44ee.js';
11
+ import './Pagination-3f350098.js';
12
12
  import './ReactiveList.js';
13
13
  import '@appbaseio/reactivecore/lib/utils/transform';
14
14
  import 'redux';
15
- import './index-3d98f51b.js';
16
- import './ComponentWrapper-6ad0997b.js';
15
+ import './index-7788a843.js';
16
+ import './ComponentWrapper-424e86fd.js';
17
17
  import '@vue/babel-helper-vue-jsx-merge-props';
18
18
  import './Title-3342664a.js';
19
19
  import './ListItem-cad14c5e.js';
@@ -24,19 +24,19 @@ import 'appbase-js';
24
24
  import 'url-search-params-polyfill';
25
25
  import './ReactiveBase.js';
26
26
  import 'hotkeys-js';
27
- import './DataSearch-1dba393f.js';
27
+ import './DataSearch-e71a1014.js';
28
28
  import './CancelSvg-4cfae5fd.js';
29
29
  import './Input-7a2a9fac.js';
30
30
  import 'compute-scroll-into-view';
31
31
  import './Container-ba826e96.js';
32
32
  import 'vue-highlight-words';
33
- export { i as default } from './install-686dd71d.js';
33
+ export { i as default } from './install-b7b604cc.js';
34
34
  import '@appbaseio/reactivecore/lib/utils/suggestions';
35
35
  import './FormControlList-c22d64f6.js';
36
36
  import './utils-9e68acee.js';
37
37
  import './SingleList.js';
38
38
  import './MultiList.js';
39
- import './DropDown-2ddad7ae.js';
39
+ import './DropDown-7d9a15c1.js';
40
40
  import './SingleDropdownList.js';
41
41
  import './MultiDropdownList.js';
42
42
  import './ToggleButton.js';
@@ -1,3 +1,3 @@
1
- var version = "1.16.0-alpha.59";
1
+ var version = "1.16.0-alpha.61";
2
2
 
3
3
  export default version;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@appbaseio/reactivesearch-vue",
3
- "version": "1.16.0-alpha.59",
3
+ "version": "1.16.0-alpha.61",
4
4
  "private": false,
5
5
  "main": "dist/cjs/index.js",
6
6
  "jsnext:main": "dist/es/index.js",
@@ -34,13 +34,13 @@
34
34
  ],
35
35
  "sideEffects": false,
36
36
  "dependencies": {
37
- "@appbaseio/reactivecore": "9.14.17",
37
+ "@appbaseio/reactivecore": "9.14.20",
38
38
  "@appbaseio/vue-emotion": "0.4.4",
39
39
  "@vue/babel-helper-vue-jsx-merge-props": "^1.0.0",
40
40
  "appbase-js": "^5.0.0",
41
41
  "compute-scroll-into-view": "^1.0.11",
42
42
  "emotion": "9.2.12",
43
- "gmap-vue": "^3.5.2",
43
+ "gmap-vue": "^1.5.0",
44
44
  "hotkeys-js": "^3.8.7",
45
45
  "ngeohash": "^0.6.3",
46
46
  "polished": "^2.2.0",