@appbaseio/reactivesearch-vue 1.16.0-alpha.30 → 1.16.0-alpha.33

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (89) hide show
  1. package/dist/@appbaseio/reactivesearch-vue.umd.js +5261 -10891
  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/{Button-d2f1aeda.js → Button-11307285.js} +1 -1
  6. package/dist/cjs/{CancelSvg-82021d23.js → CancelSvg-4aa35935.js} +1 -1
  7. package/dist/cjs/{Card-4b915733.js → Card-fd94ef07.js} +2 -2
  8. package/dist/cjs/{ComponentWrapper-ab813390.js → ComponentWrapper-32481890.js} +2 -2
  9. package/dist/cjs/{Container-8a08d663.js → Container-526efa6a.js} +1 -1
  10. package/dist/cjs/DataSearch-8658fd8e.js +2154 -0
  11. package/dist/cjs/DataSearch.js +18 -2101
  12. package/dist/cjs/{DropDown-0359da33.js → DropDown-cf9bfffc.js} +5 -5
  13. package/dist/cjs/DynamicRangeSlider.js +6 -6
  14. package/dist/cjs/{Flex-699639d2.js → Flex-f146cdad.js} +1 -1
  15. package/dist/cjs/{FormControlList-73497794.js → FormControlList-808dbcef.js} +1 -1
  16. package/dist/cjs/{Input-c6f181d5.js → Input-3cc3fa59.js} +1 -1
  17. package/dist/cjs/{ListItem-933c27e4.js → ListItem-b40adb04.js} +2 -2
  18. package/dist/cjs/MultiDropdownList.js +11 -11
  19. package/dist/cjs/MultiList.js +9 -9
  20. package/dist/cjs/MultiRange.js +7 -7
  21. package/dist/cjs/RangeInput.js +9 -9
  22. package/dist/cjs/RangeSlider.js +7 -7
  23. package/dist/cjs/ReactiveBase.js +3 -3
  24. package/dist/cjs/ReactiveComponent.js +4 -4
  25. package/dist/cjs/ReactiveList.js +184 -19
  26. package/dist/cjs/ResultCard.js +4 -4
  27. package/dist/cjs/ResultList.js +4 -4
  28. package/dist/cjs/SelectedFilters.js +6 -6
  29. package/dist/cjs/SingleDropdownList.js +11 -11
  30. package/dist/cjs/SingleList.js +9 -9
  31. package/dist/cjs/SingleRange.js +7 -7
  32. package/dist/cjs/StateProvider.js +2 -2
  33. package/dist/cjs/{Title-39765ee6.js → Title-584a8cc8.js} +1 -1
  34. package/dist/cjs/ToggleButton.js +7 -7
  35. package/dist/cjs/{_rollupPluginBabelHelpers-4abdbfff.js → _rollupPluginBabelHelpers-f127c8b7.js} +0 -17
  36. package/dist/cjs/{index-2a8358cd.js → index-89c39a9e.js} +1 -1
  37. package/dist/cjs/index.js +23 -32
  38. package/dist/cjs/initReactivesearch.js +1 -1
  39. package/dist/cjs/install-35f74190.js +1196 -0
  40. package/dist/cjs/install.js +37 -43
  41. package/dist/cjs/{ssr-c333c82c.js → ssr-0ee35a09.js} +1 -1
  42. package/dist/cjs/{utils-23afb20b.js → utils-1219e1fe.js} +1 -1
  43. package/dist/cjs/version.js +1 -1
  44. package/dist/cjs/{vueTypes-6de9d2a9.js → vueTypes-57d01f18.js} +13 -24
  45. package/dist/es/{Button-799185e2.js → Button-91561391.js} +1 -1
  46. package/dist/es/{CancelSvg-4d9e0857.js → CancelSvg-c2c03a35.js} +1 -1
  47. package/dist/es/{Card-04b3c33e.js → Card-6446f1b7.js} +2 -2
  48. package/dist/es/{ComponentWrapper-459505fd.js → ComponentWrapper-4f85a67e.js} +2 -2
  49. package/dist/es/{Container-4383c6f0.js → Container-18b03fde.js} +1 -1
  50. package/dist/es/DataSearch-66e72d1d.js +2141 -0
  51. package/dist/es/DataSearch.js +17 -2100
  52. package/dist/es/{DropDown-168b60f6.js → DropDown-c8da0a2c.js} +5 -5
  53. package/dist/es/DynamicRangeSlider.js +6 -6
  54. package/dist/es/{Flex-aac91505.js → Flex-8770345d.js} +1 -1
  55. package/dist/es/{FormControlList-fe389a2e.js → FormControlList-704f8dee.js} +1 -1
  56. package/dist/es/{Input-d8519224.js → Input-08bb1bcf.js} +1 -1
  57. package/dist/es/{ListItem-bdb6d53d.js → ListItem-8e8fb535.js} +2 -2
  58. package/dist/es/MultiDropdownList.js +11 -11
  59. package/dist/es/MultiList.js +9 -9
  60. package/dist/es/MultiRange.js +7 -7
  61. package/dist/es/RangeInput.js +9 -9
  62. package/dist/es/RangeSlider.js +7 -7
  63. package/dist/es/ReactiveBase.js +3 -3
  64. package/dist/es/ReactiveComponent.js +4 -4
  65. package/dist/es/ReactiveList.js +183 -18
  66. package/dist/es/ResultCard.js +4 -4
  67. package/dist/es/ResultList.js +4 -4
  68. package/dist/es/SelectedFilters.js +6 -6
  69. package/dist/es/SingleDropdownList.js +11 -11
  70. package/dist/es/SingleList.js +9 -9
  71. package/dist/es/SingleRange.js +7 -7
  72. package/dist/es/StateProvider.js +2 -2
  73. package/dist/es/{Title-579f8d6c.js → Title-3522ff56.js} +1 -1
  74. package/dist/es/ToggleButton.js +7 -7
  75. package/dist/es/{_rollupPluginBabelHelpers-ecf6c03c.js → _rollupPluginBabelHelpers-0f24d612.js} +1 -17
  76. package/dist/es/{index-4755c9a0.js → index-cb1950b6.js} +1 -1
  77. package/dist/es/index.js +19 -28
  78. package/dist/es/initReactivesearch.js +1 -1
  79. package/dist/es/install-ecef1861.js +1189 -0
  80. package/dist/es/install.js +35 -45
  81. package/dist/es/{ssr-e3196de1.js → ssr-a41dfea9.js} +1 -1
  82. package/dist/es/{utils-3a32e13f.js → utils-64a2e5f0.js} +1 -1
  83. package/dist/es/version.js +1 -1
  84. package/dist/es/{vueTypes-9326e0be.js → vueTypes-687b2304.js} +13 -24
  85. package/package.json +4 -10
  86. package/dist/cjs/Pagination-1b2320a7.js +0 -177
  87. package/dist/cjs/ReactiveGoogleMap.js +0 -1759
  88. package/dist/es/Pagination-b3e4054a.js +0 -172
  89. package/dist/es/ReactiveGoogleMap.js +0 -1751
@@ -1,12 +1,12 @@
1
1
  import { helper } from '@appbaseio/reactivecore';
2
- import { _ as _taggedTemplateLiteralLoose, a as _extends } from './_rollupPluginBabelHelpers-ecf6c03c.js';
2
+ import { _ as _taggedTemplateLiteralLoose, a as _extends } from './_rollupPluginBabelHelpers-0f24d612.js';
3
3
  import VueTypes from 'vue-types';
4
4
  import { css } from 'emotion';
5
5
  import styled from '@appbaseio/vue-emotion';
6
- import { t as types } from './vueTypes-9326e0be.js';
7
- import { a as isFunction } from './index-4755c9a0.js';
8
- import { D as Downshift, b as InputWrapper, a as IconGroup, I as IconWrapper, C as CancelSvg } from './CancelSvg-4d9e0857.js';
9
- import { s as suggestionsContainer, a as suggestions, I as Input } from './Input-d8519224.js';
6
+ import { t as types } from './vueTypes-687b2304.js';
7
+ import { a as isFunction } from './index-cb1950b6.js';
8
+ import { D as Downshift, b as InputWrapper, a as IconGroup, I as IconWrapper, C as CancelSvg } from './CancelSvg-c2c03a35.js';
9
+ import { s as suggestionsContainer, a as suggestions, I as Input } from './Input-08bb1bcf.js';
10
10
  import { replaceDiacritics } from '@appbaseio/reactivecore/lib/utils/suggestions';
11
11
 
12
12
  var _templateObject, _templateObject2, _templateObject3, _templateObject4;
@@ -1,15 +1,15 @@
1
1
  import { Actions, helper } from '@appbaseio/reactivecore';
2
- import { a as _extends } from './_rollupPluginBabelHelpers-ecf6c03c.js';
2
+ import { a as _extends } from './_rollupPluginBabelHelpers-0f24d612.js';
3
3
  import VueTypes from 'vue-types';
4
4
  import { componentTypes } from '@appbaseio/reactivecore/lib/utils/constants';
5
5
  import '@appbaseio/vue-emotion';
6
- import { t as types } from './vueTypes-9326e0be.js';
6
+ import { t as types } from './vueTypes-687b2304.js';
7
7
  import 'redux';
8
- import { f as updateCustomQuery, d as getValidPropsKeys, i as isQueryIdentical, c as connect } from './index-4755c9a0.js';
9
- import { T as Title } from './Title-579f8d6c.js';
10
- import { C as Container } from './Container-4383c6f0.js';
8
+ import { f as updateCustomQuery, d as getValidPropsKeys, i as isQueryIdentical, c as connect } from './index-cb1950b6.js';
9
+ import { T as Title } from './Title-3522ff56.js';
10
+ import { C as Container } from './Container-18b03fde.js';
11
11
  import NoSSR from 'vue-no-ssr';
12
- import { g as getComponents, S as Slider } from './ssr-e3196de1.js';
12
+ import { g as getComponents, S as Slider } from './ssr-a41dfea9.js';
13
13
 
14
14
  var addComponent = Actions.addComponent,
15
15
  removeComponent = Actions.removeComponent,
@@ -1,4 +1,4 @@
1
- import { _ as _taggedTemplateLiteralLoose } from './_rollupPluginBabelHelpers-ecf6c03c.js';
1
+ import { _ as _taggedTemplateLiteralLoose } from './_rollupPluginBabelHelpers-0f24d612.js';
2
2
  import { css } from 'emotion';
3
3
  import styled from '@appbaseio/vue-emotion';
4
4
  import { lighten } from 'polished';
@@ -1,4 +1,4 @@
1
- import { _ as _taggedTemplateLiteralLoose } from './_rollupPluginBabelHelpers-ecf6c03c.js';
1
+ import { _ as _taggedTemplateLiteralLoose } from './_rollupPluginBabelHelpers-0f24d612.js';
2
2
  import { css } from 'emotion';
3
3
  import styled from '@appbaseio/vue-emotion';
4
4
  import { lighten } from 'polished';
@@ -1,4 +1,4 @@
1
- import { _ as _taggedTemplateLiteralLoose } from './_rollupPluginBabelHelpers-ecf6c03c.js';
1
+ import { _ as _taggedTemplateLiteralLoose } from './_rollupPluginBabelHelpers-0f24d612.js';
2
2
  import { css } from 'emotion';
3
3
  import styled from '@appbaseio/vue-emotion';
4
4
 
@@ -1,8 +1,8 @@
1
- import { _ as _taggedTemplateLiteralLoose } from './_rollupPluginBabelHelpers-ecf6c03c.js';
1
+ import { _ as _taggedTemplateLiteralLoose } from './_rollupPluginBabelHelpers-0f24d612.js';
2
2
  import { css } from 'emotion';
3
3
  import styled from '@appbaseio/vue-emotion';
4
4
  import { lighten } from 'polished';
5
- import './Title-579f8d6c.js';
5
+ import './Title-3522ff56.js';
6
6
 
7
7
  var _templateObject, _templateObject2, _templateObject3, _templateObject4;
8
8
  var container = css(_templateObject || (_templateObject = _taggedTemplateLiteralLoose(["\n\tdisplay: flex;\n\tflex-direction: column;\n\tmargin: 0;\n\tborder-radius: 0.25rem;\n\toverflow: hidden;\n"])));
@@ -1,24 +1,24 @@
1
1
  import { Actions, helper } from '@appbaseio/reactivecore';
2
- import { a as _extends, b as _objectWithoutPropertiesLoose, c as _toPropertyKey } from './_rollupPluginBabelHelpers-ecf6c03c.js';
2
+ import { a as _extends, b as _objectWithoutPropertiesLoose, c as _toPropertyKey } from './_rollupPluginBabelHelpers-0f24d612.js';
3
3
  import VueTypes from 'vue-types';
4
4
  import { componentTypes } from '@appbaseio/reactivecore/lib/utils/constants';
5
5
  import 'emotion';
6
6
  import '@appbaseio/vue-emotion';
7
7
  import 'polished';
8
- import { l as loadMoreContainer, B as Button } from './Button-799185e2.js';
9
- import { t as types } from './vueTypes-9326e0be.js';
8
+ import { l as loadMoreContainer, B as Button } from './Button-91561391.js';
9
+ import { t as types } from './vueTypes-687b2304.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-4755c9a0.js';
13
- import { C as ComponentWrapper } from './ComponentWrapper-459505fd.js';
14
- import { T as Title } from './Title-579f8d6c.js';
15
- import './CancelSvg-4d9e0857.js';
16
- import './Input-d8519224.js';
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-cb1950b6.js';
13
+ import { C as ComponentWrapper } from './ComponentWrapper-4f85a67e.js';
14
+ import { T as Title } from './Title-3522ff56.js';
15
+ import './CancelSvg-c2c03a35.js';
16
+ import './Input-08bb1bcf.js';
17
17
  import 'compute-scroll-into-view';
18
- import { C as Container } from './Container-4383c6f0.js';
18
+ import { C as Container } from './Container-18b03fde.js';
19
19
  import '@appbaseio/reactivecore/lib/utils/suggestions';
20
- import { g as getAggsQuery } from './utils-3a32e13f.js';
21
- import { D as Dropdown } from './DropDown-168b60f6.js';
20
+ import { g as getAggsQuery } from './utils-64a2e5f0.js';
21
+ import { D as Dropdown } from './DropDown-c8da0a2c.js';
22
22
 
23
23
  var updateQuery = Actions.updateQuery,
24
24
  setQueryOptions = Actions.setQueryOptions,
@@ -1,21 +1,21 @@
1
1
  import { Actions, helper } from '@appbaseio/reactivecore';
2
- import { a as _extends, b as _objectWithoutPropertiesLoose, c as _toPropertyKey } from './_rollupPluginBabelHelpers-ecf6c03c.js';
2
+ import { a as _extends, b as _objectWithoutPropertiesLoose, c as _toPropertyKey } from './_rollupPluginBabelHelpers-0f24d612.js';
3
3
  import VueTypes from 'vue-types';
4
4
  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-9326e0be.js';
8
+ import { t as types } from './vueTypes-687b2304.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-4755c9a0.js';
12
- import { C as ComponentWrapper } from './ComponentWrapper-459505fd.js';
13
- import { T as Title } from './Title-579f8d6c.js';
14
- import { I as Input } from './Input-d8519224.js';
15
- import { C as Container } from './Container-4383c6f0.js';
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-cb1950b6.js';
12
+ import { C as ComponentWrapper } from './ComponentWrapper-4f85a67e.js';
13
+ import { T as Title } from './Title-3522ff56.js';
14
+ import { I as Input } from './Input-08bb1bcf.js';
15
+ import { C as Container } from './Container-18b03fde.js';
16
16
  import { replaceDiacritics } from '@appbaseio/reactivecore/lib/utils/suggestions';
17
- import { U as UL, C as Checkbox } from './FormControlList-fe389a2e.js';
18
- import { g as getAggsQuery } from './utils-3a32e13f.js';
17
+ import { U as UL, C as Checkbox } from './FormControlList-704f8dee.js';
18
+ import { g as getAggsQuery } from './utils-64a2e5f0.js';
19
19
 
20
20
  var updateQuery = Actions.updateQuery,
21
21
  setQueryOptions = Actions.setQueryOptions,
@@ -1,18 +1,18 @@
1
1
  import { Actions, helper } from '@appbaseio/reactivecore';
2
- import { a as _extends, b as _objectWithoutPropertiesLoose, c as _toPropertyKey } from './_rollupPluginBabelHelpers-ecf6c03c.js';
2
+ import { a as _extends, b as _objectWithoutPropertiesLoose, c as _toPropertyKey } from './_rollupPluginBabelHelpers-0f24d612.js';
3
3
  import VueTypes from 'vue-types';
4
4
  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-9326e0be.js';
8
+ import { t as types } from './vueTypes-687b2304.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-4755c9a0.js';
12
- import { C as ComponentWrapper } from './ComponentWrapper-459505fd.js';
13
- import { T as Title } from './Title-579f8d6c.js';
14
- import { C as Container } from './Container-4383c6f0.js';
15
- import { U as UL, C as Checkbox } from './FormControlList-fe389a2e.js';
11
+ import { o as parseValueArray, f as updateCustomQuery, i as isQueryIdentical, c as connect } from './index-cb1950b6.js';
12
+ import { C as ComponentWrapper } from './ComponentWrapper-4f85a67e.js';
13
+ import { T as Title } from './Title-3522ff56.js';
14
+ import { C as Container } from './Container-18b03fde.js';
15
+ import { U as UL, C as Checkbox } from './FormControlList-704f8dee.js';
16
16
 
17
17
  var updateQuery = Actions.updateQuery,
18
18
  setQueryOptions = Actions.setQueryOptions,
@@ -1,21 +1,21 @@
1
1
  import { helper } from '@appbaseio/reactivecore';
2
- import { _ as _taggedTemplateLiteralLoose, a as _extends } from './_rollupPluginBabelHelpers-ecf6c03c.js';
2
+ import { _ as _taggedTemplateLiteralLoose, a as _extends } from './_rollupPluginBabelHelpers-0f24d612.js';
3
3
  import VueTypes from 'vue-types';
4
4
  import { componentTypes } from '@appbaseio/reactivecore/lib/utils/constants';
5
5
  import { css } from 'emotion';
6
6
  import styled from '@appbaseio/vue-emotion';
7
7
  import 'polished';
8
- import { t as types } from './vueTypes-9326e0be.js';
8
+ import { t as types } from './vueTypes-687b2304.js';
9
9
  import '@appbaseio/reactivecore/lib/utils/transform';
10
10
  import 'redux';
11
- import { c as connect } from './index-4755c9a0.js';
12
- import { C as ComponentWrapper } from './ComponentWrapper-459505fd.js';
13
- import './Title-579f8d6c.js';
14
- import { F as Flex } from './Flex-aac91505.js';
15
- import { I as Input } from './Input-d8519224.js';
16
- import { C as Container } from './Container-4383c6f0.js';
11
+ import { c as connect } from './index-cb1950b6.js';
12
+ import { C as ComponentWrapper } from './ComponentWrapper-4f85a67e.js';
13
+ import './Title-3522ff56.js';
14
+ import { F as Flex } from './Flex-8770345d.js';
15
+ import { I as Input } from './Input-08bb1bcf.js';
16
+ import { C as Container } from './Container-18b03fde.js';
17
17
  import 'vue-no-ssr';
18
- import './ssr-e3196de1.js';
18
+ import './ssr-a41dfea9.js';
19
19
  import { RangeConnected as RangeConnected$1 } from './RangeSlider.js';
20
20
 
21
21
  var _templateObject, _templateObject2;
@@ -1,17 +1,17 @@
1
1
  import { Actions, helper } from '@appbaseio/reactivecore';
2
- import { a as _extends } from './_rollupPluginBabelHelpers-ecf6c03c.js';
2
+ import { a as _extends } from './_rollupPluginBabelHelpers-0f24d612.js';
3
3
  import VueTypes from 'vue-types';
4
4
  import { componentTypes } from '@appbaseio/reactivecore/lib/utils/constants';
5
5
  import '@appbaseio/vue-emotion';
6
- import { t as types } from './vueTypes-9326e0be.js';
6
+ import { t as types } from './vueTypes-687b2304.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-4755c9a0.js';
10
- import { C as ComponentWrapper } from './ComponentWrapper-459505fd.js';
11
- import { T as Title } from './Title-579f8d6c.js';
12
- import { C as Container } from './Container-4383c6f0.js';
9
+ import { f as updateCustomQuery, i as isQueryIdentical, c as connect } from './index-cb1950b6.js';
10
+ import { C as ComponentWrapper } from './ComponentWrapper-4f85a67e.js';
11
+ import { T as Title } from './Title-3522ff56.js';
12
+ import { C as Container } from './Container-18b03fde.js';
13
13
  import NoSSR from 'vue-no-ssr';
14
- import { g as getComponents, S as Slider } from './ssr-e3196de1.js';
14
+ import { g as getComponents, S as Slider } from './ssr-a41dfea9.js';
15
15
 
16
16
  var updateQuery = Actions.updateQuery,
17
17
  setQueryOptions = Actions.setQueryOptions,
@@ -1,12 +1,12 @@
1
1
  import configureStore, { Actions, helper } from '@appbaseio/reactivecore';
2
- import { _ as _taggedTemplateLiteralLoose, a as _extends } from './_rollupPluginBabelHelpers-ecf6c03c.js';
2
+ import { _ as _taggedTemplateLiteralLoose, a as _extends } from './_rollupPluginBabelHelpers-0f24d612.js';
3
3
  import VueTypes from 'vue-types';
4
4
  import '@appbaseio/reactivecore/lib/utils/constants';
5
5
  import { isEqual as isEqual$1 } from '@appbaseio/reactivecore/lib/utils/helper';
6
6
  import styled from '@appbaseio/vue-emotion';
7
- import { t as types } from './vueTypes-9326e0be.js';
7
+ import { t as types } from './vueTypes-687b2304.js';
8
8
  import 'redux';
9
- import { c as connect, e as composeThemeObject, X as X_SEARCH_CLIENT } from './index-4755c9a0.js';
9
+ import { c as connect, e as composeThemeObject, X as X_SEARCH_CLIENT } from './index-cb1950b6.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';
@@ -1,12 +1,12 @@
1
1
  import { Actions, helper } from '@appbaseio/reactivecore';
2
- import { a as _extends, b as _objectWithoutPropertiesLoose } from './_rollupPluginBabelHelpers-ecf6c03c.js';
2
+ import { a as _extends, b as _objectWithoutPropertiesLoose } from './_rollupPluginBabelHelpers-0f24d612.js';
3
3
  import VueTypes from 'vue-types';
4
4
  import { componentTypes } from '@appbaseio/reactivecore/lib/utils/constants';
5
- import { t as types } from './vueTypes-9326e0be.js';
5
+ import { t as types } from './vueTypes-687b2304.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-4755c9a0.js';
9
- import { C as ComponentWrapper } from './ComponentWrapper-459505fd.js';
8
+ import { f as updateCustomQuery, u as updateDefaultQuery, i as isQueryIdentical, c as connect } from './index-cb1950b6.js';
9
+ import { C as ComponentWrapper } from './ComponentWrapper-4f85a67e.js';
10
10
 
11
11
  var _excluded = ["options"],
12
12
  _excluded2 = ["query"],
@@ -1,23 +1,188 @@
1
- import { Actions, helper } from '@appbaseio/reactivecore';
2
- import { _ as _taggedTemplateLiteralLoose, a as _extends } from './_rollupPluginBabelHelpers-ecf6c03c.js';
1
+ import { helper, Actions } from '@appbaseio/reactivecore';
2
+ import { _ as _taggedTemplateLiteralLoose, a as _extends } from './_rollupPluginBabelHelpers-0f24d612.js';
3
3
  import VueTypes from 'vue-types';
4
4
  import { componentTypes } from '@appbaseio/reactivecore/lib/utils/constants';
5
5
  import { withClickIds } from '@appbaseio/reactivecore/lib/utils/helper';
6
6
  import { css } from 'emotion';
7
7
  import styled from '@appbaseio/vue-emotion';
8
8
  import 'polished';
9
- import './Button-799185e2.js';
10
- import { t as types } from './vueTypes-9326e0be.js';
11
- import { P as Pagination } from './Pagination-b3e4054a.js';
9
+ import { p as pagination, B as Button } from './Button-91561391.js';
10
+ import { t as types } from './vueTypes-687b2304.js';
12
11
  import '@appbaseio/reactivecore/lib/utils/transform';
13
12
  import 'redux';
14
- import { c as connect, h as hasCustomRenderer, i as isQueryIdentical, u as updateDefaultQuery, a as isFunction, g as getComponent } from './index-4755c9a0.js';
15
- import { C as ComponentWrapper } from './ComponentWrapper-459505fd.js';
13
+ import { c as connect, h as hasCustomRenderer, i as isQueryIdentical, u as updateDefaultQuery, a as isFunction, g as getComponent } from './index-cb1950b6.js';
14
+ import { C as ComponentWrapper } from './ComponentWrapper-4f85a67e.js';
16
15
  import _mergeJSXProps from '@vue/babel-helper-vue-jsx-merge-props';
17
- import './Title-579f8d6c.js';
18
- import { c as container } from './ListItem-bdb6d53d.js';
19
- import { c as container$1 } from './Card-04b3c33e.js';
20
- import { F as Flex } from './Flex-aac91505.js';
16
+ import './Title-3522ff56.js';
17
+ import { c as container } from './ListItem-8e8fb535.js';
18
+ import { c as container$1 } from './Card-6446f1b7.js';
19
+ import { F as Flex } from './Flex-8770345d.js';
20
+
21
+ var getClassName = helper.getClassName,
22
+ handleA11yAction = helper.handleA11yAction;
23
+
24
+ function getStartPage(totalPages, currentPage, showEndPage) {
25
+ var midValue = parseInt(totalPages / 2, 10);
26
+ var start = currentPage - (showEndPage ? Math.ceil(midValue / 2) - 1 : midValue);
27
+ return start > 1 ? start : 2;
28
+ }
29
+
30
+ var Pagination = {
31
+ name: 'Pagination',
32
+ functional: true,
33
+ props: {
34
+ currentPage: types.number,
35
+ innerClass: types.style,
36
+ pages: types.number,
37
+ setPage: types.func,
38
+ totalPages: types.number,
39
+ showEndPage: VueTypes.bool,
40
+ prevLabel: types.string,
41
+ nextLabel: types.string
42
+ },
43
+ render: function render(createElement, context) {
44
+ var h = arguments[0];
45
+ var props = context.props;
46
+
47
+ var onPrevPage = function onPrevPage() {
48
+ if (props.currentPage) {
49
+ props.setPage(props.currentPage - 1);
50
+ }
51
+ };
52
+
53
+ var onNextPage = function onNextPage() {
54
+ if (props.currentPage < props.totalPages - 1) {
55
+ props.setPage(props.currentPage + 1);
56
+ }
57
+ };
58
+
59
+ if (!props.totalPages) {
60
+ return null;
61
+ }
62
+
63
+ var innerClassName = getClassName(props.innerClass, 'button');
64
+ var primary = props.currentPage === 0;
65
+ var className = innerClassName || primary ? innerClassName + " " + (primary ? 'active' : '') : '';
66
+
67
+ var buildPaginationDOM = function buildPaginationDOM(position) {
68
+ var pages = props.pages,
69
+ currentPage = props.currentPage,
70
+ totalPages = props.totalPages,
71
+ setPage = props.setPage,
72
+ showEndPage = props.showEndPage;
73
+ var start = position === 'start' ? getStartPage(pages, currentPage, showEndPage) : Math.max(2, Math.ceil(totalPages - (pages - 1) / 2 + 1));
74
+ var paginationButtons = [];
75
+
76
+ if (start <= totalPages) {
77
+ var totalPagesToShow = pages < totalPages ? start + (pages - 1) : totalPages + 1;
78
+
79
+ if (showEndPage) {
80
+ totalPagesToShow = position === 'start' ? start + (Math.ceil(pages / 2) - pages % 2) : totalPages + 1;
81
+ }
82
+
83
+ if (currentPage > totalPages - pages + 2) {
84
+ start = Math.max(2, totalPages - pages + 2);
85
+ totalPagesToShow = start + pages;
86
+ }
87
+
88
+ var _loop = function _loop(i) {
89
+ var activeButton = currentPage === i - 1;
90
+ var classNameBtn = innerClassName || activeButton ? innerClassName + " " + (activeButton ? 'active' : '') : '';
91
+ var pageBtn = h(Button, {
92
+ "class": classNameBtn,
93
+ "attrs": {
94
+ "primary": activeButton,
95
+ "tabIndex": "0",
96
+ "alt": "page-" + i
97
+ },
98
+ "on": {
99
+ "keyPress": function keyPress(event) {
100
+ return handleA11yAction(event, function () {
101
+ return setPage(i - 1);
102
+ });
103
+ },
104
+ "click": function click() {
105
+ return setPage(i - 1);
106
+ }
107
+ }
108
+ }, [i]);
109
+
110
+ if (i <= totalPages + 1) {
111
+ paginationButtons.push(pageBtn);
112
+ }
113
+ };
114
+
115
+ for (var i = start; i < Math.min(totalPages + 1, totalPagesToShow); i += 1) {
116
+ _loop(i);
117
+ }
118
+ }
119
+
120
+ return paginationButtons;
121
+ };
122
+
123
+ var buildIntermediatePaginationDom = function buildIntermediatePaginationDom() {
124
+ var showEndPage = props.showEndPage,
125
+ currentPage = props.currentPage,
126
+ totalPages = props.totalPages,
127
+ pages = props.pages;
128
+ if (!showEndPage) return buildPaginationDOM('start');
129
+
130
+ if (currentPage <= totalPages - pages + 2 || totalPages <= pages) {
131
+ return buildPaginationDOM('start');
132
+ }
133
+
134
+ return null;
135
+ };
136
+
137
+ return h("div", {
138
+ "class": pagination + " " + getClassName(props.innerClass, 'pagination')
139
+ }, [h(Button, {
140
+ "class": getClassName(props.innerClass, 'button') || '',
141
+ "attrs": {
142
+ "disabled": props.currentPage === 0,
143
+ "tabIndex": "0"
144
+ },
145
+ "on": {
146
+ "keyPress": function keyPress(event) {
147
+ return handleA11yAction(event, onPrevPage);
148
+ },
149
+ "click": onPrevPage
150
+ }
151
+ }, [props.prevLabel || 'Prev']), h(Button, {
152
+ "class": className,
153
+ "attrs": {
154
+ "primary": primary,
155
+ "tabIndex": "0"
156
+ },
157
+ "on": {
158
+ "keyPress": function keyPress(event) {
159
+ return handleA11yAction(event, function () {
160
+ return props.setPage(0);
161
+ });
162
+ },
163
+ "click": function click() {
164
+ return props.setPage(0);
165
+ }
166
+ }
167
+ }, ["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, {
168
+ "class": getClassName(props.innerClass, 'button') || '',
169
+ "attrs": {
170
+ "disabled": props.currentPage >= props.totalPages - 1,
171
+ "tabIndex": "0"
172
+ },
173
+ "on": {
174
+ "keyPress": function keyPress(event) {
175
+ return handleA11yAction(event, onNextPage);
176
+ },
177
+ "click": onNextPage
178
+ }
179
+ }, [props.nextLabel || 'Next'])]);
180
+ }
181
+ };
182
+
183
+ Pagination.install = function (Vue) {
184
+ Vue.component(Pagination.name, Pagination);
185
+ };
21
186
 
22
187
  var _templateObject;
23
188
  var PoweredByImage = styled('img')(_templateObject || (_templateObject = _taggedTemplateLiteralLoose(["\n\twidth: 110px;\n"])));
@@ -262,7 +427,7 @@ var setQueryOptions = Actions.setQueryOptions,
262
427
  recordResultClick = Actions.recordResultClick;
263
428
  var isEqual$1 = helper.isEqual,
264
429
  getQueryOptions = helper.getQueryOptions,
265
- getClassName = helper.getClassName,
430
+ getClassName$1 = helper.getClassName,
266
431
  parseHits = helper.parseHits,
267
432
  getOptionsFromQuery = helper.getOptionsFromQuery,
268
433
  getCompositeAggsQuery = helper.getCompositeAggsQuery,
@@ -636,7 +801,7 @@ var ReactiveList = {
636
801
  "attrs": {
637
802
  "labelPosition": this.sortOptions ? 'right' : 'left'
638
803
  },
639
- "class": getClassName(this.$props.innerClass, 'resultsInfo')
804
+ "class": getClassName$1(this.$props.innerClass, 'resultsInfo')
640
805
  }, [this.sortOptions ? this.renderSortOptions() : null, this.$props.showResultStats && results.length ? this.renderStats() : null]), !this.isLoading && results.length === 0 ? this.renderNoResult() : null, this.shouldRenderPagination && (this.$props.paginationAt === 'top' || this.$props.paginationAt === 'both') ? h(Pagination, {
641
806
  "attrs": {
642
807
  "pages": this.$props.pages,
@@ -668,7 +833,7 @@ var ReactiveList = {
668
833
  "attrs": {
669
834
  "direction": "row-reverse"
670
835
  },
671
- "class": getClassName(this.$props.innerClass, 'poweredBy')
836
+ "class": getClassName$1(this.$props.innerClass, 'poweredBy')
672
837
  }, [h(PoweredBy)]) : null]);
673
838
  },
674
839
  methods: {
@@ -688,7 +853,7 @@ var ReactiveList = {
688
853
  var size = this.$props.size;
689
854
  var renderItem = this.$scopedSlots.renderItem || this.$props.renderItem;
690
855
  var element = this.hasCustomRender ? this.getComponent() : h("div", {
691
- "class": this.$props.listClass + " " + getClassName(this.$props.innerClass, 'list')
856
+ "class": this.$props.listClass + " " + getClassName$1(this.$props.innerClass, 'list')
692
857
  }, [this.data.map(function (item, index) {
693
858
  return renderItem({
694
859
  item: item,
@@ -806,7 +971,7 @@ var ReactiveList = {
806
971
 
807
972
  if (this.stats.numberOfResults) {
808
973
  return h("p", {
809
- "class": resultStats + " " + getClassName(this.$props.innerClass, 'resultStats')
974
+ "class": resultStats + " " + getClassName$1(this.$props.innerClass, 'resultStats')
810
975
  }, [this.stats.numberOfResults, " results found in ", this.stats.time || 0, "ms"]);
811
976
  }
812
977
 
@@ -821,7 +986,7 @@ var ReactiveList = {
821
986
  }
822
987
 
823
988
  return h("p", {
824
- "class": getClassName(this.$props.innerClass, 'noResults') || null
989
+ "class": getClassName$1(this.$props.innerClass, 'noResults') || null
825
990
  }, [isFunction(renderNoResults) ? renderNoResults() : renderNoResults]);
826
991
  },
827
992
  handleSortChange: function handleSortChange(e) {
@@ -870,7 +1035,7 @@ var ReactiveList = {
870
1035
  renderSortOptions: function renderSortOptions() {
871
1036
  var h = this.$createElement;
872
1037
  return h("select", {
873
- "class": sortOptions + " " + getClassName(this.$props.innerClass, 'sortOptions'),
1038
+ "class": sortOptions + " " + getClassName$1(this.$props.innerClass, 'sortOptions'),
874
1039
  "attrs": {
875
1040
  "name": "sort-options",
876
1041
  "aria-label": "Sort options"
@@ -1,12 +1,12 @@
1
- import { b as _objectWithoutPropertiesLoose } from './_rollupPluginBabelHelpers-ecf6c03c.js';
1
+ import { b as _objectWithoutPropertiesLoose } from './_rollupPluginBabelHelpers-0f24d612.js';
2
2
  import VueTypes from 'vue-types';
3
3
  import 'emotion';
4
4
  import '@appbaseio/vue-emotion';
5
5
  import 'polished';
6
- import { t as types } from './vueTypes-9326e0be.js';
6
+ import { t as types } from './vueTypes-687b2304.js';
7
7
  import _mergeJSXProps from '@vue/babel-helper-vue-jsx-merge-props';
8
- import { T as Title } from './Title-579f8d6c.js';
9
- import { I as Image, C as Card } from './Card-04b3c33e.js';
8
+ import { T as Title } from './Title-3522ff56.js';
9
+ import { I as Image, C as Card } from './Card-6446f1b7.js';
10
10
 
11
11
  var ResultCardTitle = {
12
12
  name: 'ResultCardTitle',
@@ -1,12 +1,12 @@
1
- import { b as _objectWithoutPropertiesLoose } from './_rollupPluginBabelHelpers-ecf6c03c.js';
1
+ import { b as _objectWithoutPropertiesLoose } from './_rollupPluginBabelHelpers-0f24d612.js';
2
2
  import VueTypes from 'vue-types';
3
3
  import 'emotion';
4
4
  import '@appbaseio/vue-emotion';
5
5
  import 'polished';
6
- import { t as types } from './vueTypes-9326e0be.js';
6
+ import { t as types } from './vueTypes-687b2304.js';
7
7
  import _mergeJSXProps from '@vue/babel-helper-vue-jsx-merge-props';
8
- import { T as Title } from './Title-579f8d6c.js';
9
- import { I as Image, L as ListItem } from './ListItem-bdb6d53d.js';
8
+ import { T as Title } from './Title-3522ff56.js';
9
+ import { I as Image, L as ListItem } from './ListItem-8e8fb535.js';
10
10
 
11
11
  var ResultListContent = {
12
12
  name: 'ResultListContent',
@@ -1,16 +1,16 @@
1
1
  import { Actions, helper } from '@appbaseio/reactivecore';
2
- import { a as _extends } from './_rollupPluginBabelHelpers-ecf6c03c.js';
2
+ import { a as _extends } from './_rollupPluginBabelHelpers-0f24d612.js';
3
3
  import VueTypes from 'vue-types';
4
4
  import '@appbaseio/reactivecore/lib/utils/constants';
5
5
  import 'emotion';
6
6
  import '@appbaseio/vue-emotion';
7
7
  import 'polished';
8
- import { f as filters, B as Button } from './Button-799185e2.js';
9
- import { t as types } from './vueTypes-9326e0be.js';
8
+ import { f as filters, B as Button } from './Button-91561391.js';
9
+ import { t as types } from './vueTypes-687b2304.js';
10
10
  import 'redux';
11
- import { c as connect } from './index-4755c9a0.js';
12
- import { T as Title } from './Title-579f8d6c.js';
13
- import { C as Container } from './Container-4383c6f0.js';
11
+ import { c as connect } from './index-cb1950b6.js';
12
+ import { T as Title } from './Title-3522ff56.js';
13
+ import { C as Container } from './Container-18b03fde.js';
14
14
 
15
15
  var setValue = Actions.setValue,
16
16
  clearValues = Actions.clearValues,
@@ -1,24 +1,24 @@
1
1
  import { Actions, helper } from '@appbaseio/reactivecore';
2
- import { a as _extends } from './_rollupPluginBabelHelpers-ecf6c03c.js';
2
+ import { a as _extends } from './_rollupPluginBabelHelpers-0f24d612.js';
3
3
  import VueTypes from 'vue-types';
4
4
  import { componentTypes } from '@appbaseio/reactivecore/lib/utils/constants';
5
5
  import 'emotion';
6
6
  import '@appbaseio/vue-emotion';
7
7
  import 'polished';
8
- import { l as loadMoreContainer, B as Button } from './Button-799185e2.js';
9
- import { t as types } from './vueTypes-9326e0be.js';
8
+ import { l as loadMoreContainer, B as Button } from './Button-91561391.js';
9
+ import { t as types } from './vueTypes-687b2304.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';
14
- import { T as Title } from './Title-579f8d6c.js';
15
- import './CancelSvg-4d9e0857.js';
16
- import './Input-d8519224.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-cb1950b6.js';
13
+ import { C as ComponentWrapper } from './ComponentWrapper-4f85a67e.js';
14
+ import { T as Title } from './Title-3522ff56.js';
15
+ import './CancelSvg-c2c03a35.js';
16
+ import './Input-08bb1bcf.js';
17
17
  import 'compute-scroll-into-view';
18
- import { C as Container } from './Container-4383c6f0.js';
18
+ import { C as Container } from './Container-18b03fde.js';
19
19
  import '@appbaseio/reactivecore/lib/utils/suggestions';
20
- import { g as getAggsQuery } from './utils-3a32e13f.js';
21
- import { D as Dropdown } from './DropDown-168b60f6.js';
20
+ import { g as getAggsQuery } from './utils-64a2e5f0.js';
21
+ import { D as Dropdown } from './DropDown-c8da0a2c.js';
22
22
 
23
23
  var updateQuery = Actions.updateQuery,
24
24
  setQueryOptions = Actions.setQueryOptions,