@appbaseio/reactivesearch-vue 1.29.0 → 1.30.0
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.
- package/dist/@appbaseio/reactivesearch-vue.umd.js +1238 -545
- package/dist/@appbaseio/reactivesearch-vue.umd.js.map +1 -1
- package/dist/@appbaseio/reactivesearch-vue.umd.min.js +5 -5
- package/dist/@appbaseio/reactivesearch-vue.umd.min.js.map +1 -1
- package/dist/cjs/{Button-e0b7c1f6.js → Button-0e2e2c02.js} +1 -1
- package/dist/cjs/{CancelSvg-4aa35935.js → CancelSvg-c48c1085.js} +1 -1
- package/dist/cjs/{Card-fd94ef07.js → Card-4fa0f769.js} +2 -2
- package/dist/cjs/{ComponentWrapper-10bad289.js → ComponentWrapper-5cb08414.js} +2 -2
- package/dist/cjs/{Container-526efa6a.js → Container-cfd69a34.js} +1 -1
- package/dist/cjs/{DataSearch-eec21890.js → DataSearch-e550096e.js} +234 -83
- package/dist/cjs/DataSearch.js +9 -9
- package/dist/cjs/{DropDown-e4381fcc.js → DropDown-fc59f1ee.js} +4 -4
- package/dist/cjs/DynamicRangeSlider.js +5 -5
- package/dist/cjs/{Flex-f146cdad.js → Flex-63774e4d.js} +1 -1
- package/dist/cjs/{FormControlList-808dbcef.js → FormControlList-a9c64bb8.js} +1 -1
- package/dist/cjs/{Input-0d7b25ad.js → Input-43868594.js} +1 -1
- package/dist/cjs/{ListItem-b40adb04.js → ListItem-38962297.js} +2 -2
- package/dist/cjs/MultiDropdownList.js +10 -10
- package/dist/cjs/MultiList.js +8 -8
- package/dist/cjs/MultiRange.js +6 -6
- package/dist/cjs/RangeInput.js +8 -8
- package/dist/cjs/RangeSlider.js +6 -6
- package/dist/cjs/ReactiveBase.js +34 -24
- package/dist/cjs/ReactiveComponent.js +3 -3
- package/dist/cjs/ReactiveList.js +9 -8
- package/dist/cjs/ResultCard.js +3 -3
- package/dist/cjs/ResultList.js +3 -3
- package/dist/cjs/SelectedFilters.js +44 -27
- package/dist/cjs/SingleDropdownList.js +10 -10
- package/dist/cjs/SingleList.js +8 -8
- package/dist/cjs/SingleRange.js +7 -7
- package/dist/cjs/StateProvider.js +30 -5
- package/dist/cjs/{Title-584a8cc8.js → Title-26661936.js} +1 -1
- package/dist/cjs/ToggleButton.js +7 -6
- package/dist/cjs/{_rollupPluginBabelHelpers-f127c8b7.js → _rollupPluginBabelHelpers-91d4b5a6.js} +1 -2
- package/dist/cjs/{index-4509aa45.js → index-2cd3650b.js} +1 -1
- package/dist/cjs/index.js +18 -17
- package/dist/cjs/initReactivesearch.js +2 -2
- package/dist/cjs/{install-4886582d.js → install-250a14f1.js} +246 -83
- package/dist/cjs/install.js +18 -17
- package/dist/cjs/{ssr-0ee35a09.js → ssr-949cafb5.js} +1 -1
- package/dist/cjs/{utils-1219e1fe.js → utils-0df3cb93.js} +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/es/{Button-33de88e6.js → Button-e18ad90f.js} +1 -1
- package/dist/es/{CancelSvg-c2c03a35.js → CancelSvg-e3b33cdd.js} +1 -1
- package/dist/es/{Card-6446f1b7.js → Card-ad6ba09f.js} +2 -2
- package/dist/es/{ComponentWrapper-0f3431d1.js → ComponentWrapper-dc92772a.js} +2 -2
- package/dist/es/{Container-18b03fde.js → Container-421450dc.js} +1 -1
- package/dist/es/{DataSearch-42f547cd.js → DataSearch-8e5d0972.js} +234 -85
- package/dist/es/DataSearch.js +9 -9
- package/dist/es/{DropDown-ff6ad982.js → DropDown-565fad6f.js} +4 -4
- package/dist/es/DynamicRangeSlider.js +5 -5
- package/dist/es/{Flex-8770345d.js → Flex-09d40927.js} +1 -1
- package/dist/es/{FormControlList-704f8dee.js → FormControlList-38ffe3d3.js} +1 -1
- package/dist/es/{Input-e339e63a.js → Input-c9d757bc.js} +1 -1
- package/dist/es/{ListItem-8e8fb535.js → ListItem-41d6ddd7.js} +2 -2
- package/dist/es/MultiDropdownList.js +10 -10
- package/dist/es/MultiList.js +8 -8
- package/dist/es/MultiRange.js +6 -6
- package/dist/es/RangeInput.js +8 -8
- package/dist/es/RangeSlider.js +6 -6
- package/dist/es/ReactiveBase.js +34 -24
- package/dist/es/ReactiveComponent.js +3 -3
- package/dist/es/ReactiveList.js +9 -8
- package/dist/es/ResultCard.js +3 -3
- package/dist/es/ResultList.js +3 -3
- package/dist/es/SelectedFilters.js +44 -27
- package/dist/es/SingleDropdownList.js +10 -10
- package/dist/es/SingleList.js +8 -8
- package/dist/es/SingleRange.js +7 -7
- package/dist/es/StateProvider.js +30 -5
- package/dist/es/{Title-3522ff56.js → Title-35edd732.js} +1 -1
- package/dist/es/ToggleButton.js +7 -6
- package/dist/es/{_rollupPluginBabelHelpers-0f24d612.js → _rollupPluginBabelHelpers-51ce1182.js} +1 -2
- package/dist/es/{index-78920565.js → index-5371a13f.js} +1 -1
- package/dist/es/index.js +19 -18
- package/dist/es/initReactivesearch.js +2 -2
- package/dist/es/{install-54ebd72e.js → install-9faa87f1.js} +247 -84
- package/dist/es/install.js +18 -17
- package/dist/es/{ssr-a41dfea9.js → ssr-ad57b0ad.js} +1 -1
- package/dist/es/{utils-64a2e5f0.js → utils-9b45e0ab.js} +1 -1
- package/dist/es/version.js +1 -1
- package/package.json +3 -3
package/dist/es/DataSearch.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import '@appbaseio/reactivecore';
|
|
2
|
-
import './_rollupPluginBabelHelpers-
|
|
2
|
+
import './_rollupPluginBabelHelpers-51ce1182.js';
|
|
3
3
|
import 'vue-types';
|
|
4
4
|
import '@appbaseio/reactivecore/lib/utils/constants';
|
|
5
5
|
import '@appbaseio/reactivecore/lib/utils/helper';
|
|
@@ -9,14 +9,14 @@ import 'polished';
|
|
|
9
9
|
import './vueTypes-687b2304.js';
|
|
10
10
|
import '@appbaseio/reactivecore/lib/utils/transform';
|
|
11
11
|
import 'redux';
|
|
12
|
-
import './index-
|
|
13
|
-
import './ComponentWrapper-
|
|
14
|
-
import './Title-
|
|
15
|
-
import './Flex-
|
|
12
|
+
import './index-5371a13f.js';
|
|
13
|
+
import './ComponentWrapper-dc92772a.js';
|
|
14
|
+
import './Title-35edd732.js';
|
|
15
|
+
import './Flex-09d40927.js';
|
|
16
16
|
import 'hotkeys-js';
|
|
17
|
-
export { D as default } from './DataSearch-
|
|
18
|
-
import './CancelSvg-
|
|
19
|
-
import './Input-
|
|
17
|
+
export { D as default } from './DataSearch-8e5d0972.js';
|
|
18
|
+
import './CancelSvg-e3b33cdd.js';
|
|
19
|
+
import './Input-c9d757bc.js';
|
|
20
20
|
import 'compute-scroll-into-view';
|
|
21
|
-
import './Container-
|
|
21
|
+
import './Container-421450dc.js';
|
|
22
22
|
import 'vue-highlight-words';
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { helper } from '@appbaseio/reactivecore';
|
|
2
|
-
import { _ as _taggedTemplateLiteralLoose, a as _extends } from './_rollupPluginBabelHelpers-
|
|
2
|
+
import { _ as _taggedTemplateLiteralLoose, a as _extends } from './_rollupPluginBabelHelpers-51ce1182.js';
|
|
3
3
|
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-687b2304.js';
|
|
7
|
-
import { a as isFunction } from './index-
|
|
7
|
+
import { a as isFunction } from './index-5371a13f.js';
|
|
8
8
|
import _mergeJSXProps from '@vue/babel-helper-vue-jsx-merge-props';
|
|
9
|
-
import { D as Downshift, b as InputWrapper, a as IconGroup, I as IconWrapper, C as CancelSvg } from './CancelSvg-
|
|
10
|
-
import { s as suggestionsContainer, a as suggestions, I as Input } from './Input-
|
|
9
|
+
import { D as Downshift, b as InputWrapper, a as IconGroup, I as IconWrapper, C as CancelSvg } from './CancelSvg-e3b33cdd.js';
|
|
10
|
+
import { s as suggestionsContainer, a as suggestions, I as Input } from './Input-c9d757bc.js';
|
|
11
11
|
import { replaceDiacritics } from '@appbaseio/reactivecore/lib/utils/suggestions';
|
|
12
12
|
|
|
13
13
|
var _templateObject, _templateObject2, _templateObject3, _templateObject4;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { Actions, helper } from '@appbaseio/reactivecore';
|
|
2
|
-
import { a as _extends } from './_rollupPluginBabelHelpers-
|
|
2
|
+
import { a as _extends } from './_rollupPluginBabelHelpers-51ce1182.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
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-
|
|
9
|
-
import { T as Title } from './Title-
|
|
10
|
-
import { C as Container } from './Container-
|
|
8
|
+
import { f as updateCustomQuery, d as getValidPropsKeys, i as isQueryIdentical, c as connect } from './index-5371a13f.js';
|
|
9
|
+
import { T as Title } from './Title-35edd732.js';
|
|
10
|
+
import { C as Container } from './Container-421450dc.js';
|
|
11
11
|
import NoSSR from 'vue-no-ssr';
|
|
12
|
-
import { g as getComponents, S as Slider } from './ssr-
|
|
12
|
+
import { g as getComponents, S as Slider } from './ssr-ad57b0ad.js';
|
|
13
13
|
|
|
14
14
|
var addComponent = Actions.addComponent,
|
|
15
15
|
removeComponent = Actions.removeComponent,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as _taggedTemplateLiteralLoose } from './_rollupPluginBabelHelpers-
|
|
1
|
+
import { _ as _taggedTemplateLiteralLoose } from './_rollupPluginBabelHelpers-51ce1182.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-
|
|
1
|
+
import { _ as _taggedTemplateLiteralLoose } from './_rollupPluginBabelHelpers-51ce1182.js';
|
|
2
2
|
import { css } from 'emotion';
|
|
3
3
|
import styled from '@appbaseio/vue-emotion';
|
|
4
4
|
import { lighten } from 'polished';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { _ as _taggedTemplateLiteralLoose } from './_rollupPluginBabelHelpers-
|
|
1
|
+
import { _ as _taggedTemplateLiteralLoose } from './_rollupPluginBabelHelpers-51ce1182.js';
|
|
2
2
|
import { css } from 'emotion';
|
|
3
3
|
import styled from '@appbaseio/vue-emotion';
|
|
4
4
|
import { lighten } from 'polished';
|
|
5
|
-
import './Title-
|
|
5
|
+
import './Title-35edd732.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,25 +1,25 @@
|
|
|
1
1
|
import { Actions, helper } from '@appbaseio/reactivecore';
|
|
2
|
-
import { a as _extends, b as _objectWithoutPropertiesLoose, c as _toPropertyKey } from './_rollupPluginBabelHelpers-
|
|
2
|
+
import { a as _extends, b as _objectWithoutPropertiesLoose, c as _toPropertyKey } from './_rollupPluginBabelHelpers-51ce1182.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-
|
|
8
|
+
import { l as loadMoreContainer, B as Button } from './Button-e18ad90f.js';
|
|
9
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-
|
|
13
|
-
import { C as ComponentWrapper } from './ComponentWrapper-
|
|
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-5371a13f.js';
|
|
13
|
+
import { C as ComponentWrapper } from './ComponentWrapper-dc92772a.js';
|
|
14
14
|
import '@vue/babel-helper-vue-jsx-merge-props';
|
|
15
|
-
import { T as Title } from './Title-
|
|
16
|
-
import './CancelSvg-
|
|
17
|
-
import './Input-
|
|
15
|
+
import { T as Title } from './Title-35edd732.js';
|
|
16
|
+
import './CancelSvg-e3b33cdd.js';
|
|
17
|
+
import './Input-c9d757bc.js';
|
|
18
18
|
import 'compute-scroll-into-view';
|
|
19
|
-
import { C as Container } from './Container-
|
|
19
|
+
import { C as Container } from './Container-421450dc.js';
|
|
20
20
|
import '@appbaseio/reactivecore/lib/utils/suggestions';
|
|
21
|
-
import { g as getAggsQuery } from './utils-
|
|
22
|
-
import { D as Dropdown } from './DropDown-
|
|
21
|
+
import { g as getAggsQuery } from './utils-9b45e0ab.js';
|
|
22
|
+
import { D as Dropdown } from './DropDown-565fad6f.js';
|
|
23
23
|
|
|
24
24
|
var updateQuery = Actions.updateQuery,
|
|
25
25
|
setQueryOptions = Actions.setQueryOptions,
|
package/dist/es/MultiList.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Actions, helper } from '@appbaseio/reactivecore';
|
|
2
|
-
import { a as _extends, b as _objectWithoutPropertiesLoose, c as _toPropertyKey } from './_rollupPluginBabelHelpers-
|
|
2
|
+
import { a as _extends, b as _objectWithoutPropertiesLoose, c as _toPropertyKey } from './_rollupPluginBabelHelpers-51ce1182.js';
|
|
3
3
|
import VueTypes from 'vue-types';
|
|
4
4
|
import { componentTypes } from '@appbaseio/reactivecore/lib/utils/constants';
|
|
5
5
|
import 'emotion';
|
|
@@ -8,14 +8,14 @@ import 'polished';
|
|
|
8
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-
|
|
12
|
-
import { C as ComponentWrapper } from './ComponentWrapper-
|
|
13
|
-
import { T as Title } from './Title-
|
|
14
|
-
import { I as Input } from './Input-
|
|
15
|
-
import { C as Container } from './Container-
|
|
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-5371a13f.js';
|
|
12
|
+
import { C as ComponentWrapper } from './ComponentWrapper-dc92772a.js';
|
|
13
|
+
import { T as Title } from './Title-35edd732.js';
|
|
14
|
+
import { I as Input } from './Input-c9d757bc.js';
|
|
15
|
+
import { C as Container } from './Container-421450dc.js';
|
|
16
16
|
import { replaceDiacritics } from '@appbaseio/reactivecore/lib/utils/suggestions';
|
|
17
|
-
import { U as UL, C as Checkbox } from './FormControlList-
|
|
18
|
-
import { g as getAggsQuery } from './utils-
|
|
17
|
+
import { U as UL, C as Checkbox } from './FormControlList-38ffe3d3.js';
|
|
18
|
+
import { g as getAggsQuery } from './utils-9b45e0ab.js';
|
|
19
19
|
|
|
20
20
|
var updateQuery = Actions.updateQuery,
|
|
21
21
|
setQueryOptions = Actions.setQueryOptions,
|
package/dist/es/MultiRange.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Actions, helper } from '@appbaseio/reactivecore';
|
|
2
|
-
import { a as _extends, b as _objectWithoutPropertiesLoose, c as _toPropertyKey } from './_rollupPluginBabelHelpers-
|
|
2
|
+
import { a as _extends, b as _objectWithoutPropertiesLoose, c as _toPropertyKey } from './_rollupPluginBabelHelpers-51ce1182.js';
|
|
3
3
|
import VueTypes from 'vue-types';
|
|
4
4
|
import { componentTypes } from '@appbaseio/reactivecore/lib/utils/constants';
|
|
5
5
|
import 'emotion';
|
|
@@ -8,11 +8,11 @@ import 'polished';
|
|
|
8
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-
|
|
12
|
-
import { C as ComponentWrapper } from './ComponentWrapper-
|
|
13
|
-
import { T as Title } from './Title-
|
|
14
|
-
import { C as Container } from './Container-
|
|
15
|
-
import { U as UL, C as Checkbox } from './FormControlList-
|
|
11
|
+
import { o as parseValueArray, f as updateCustomQuery, i as isQueryIdentical, c as connect } from './index-5371a13f.js';
|
|
12
|
+
import { C as ComponentWrapper } from './ComponentWrapper-dc92772a.js';
|
|
13
|
+
import { T as Title } from './Title-35edd732.js';
|
|
14
|
+
import { C as Container } from './Container-421450dc.js';
|
|
15
|
+
import { U as UL, C as Checkbox } from './FormControlList-38ffe3d3.js';
|
|
16
16
|
|
|
17
17
|
var updateQuery = Actions.updateQuery,
|
|
18
18
|
setQueryOptions = Actions.setQueryOptions,
|
package/dist/es/RangeInput.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { helper } from '@appbaseio/reactivecore';
|
|
2
|
-
import { _ as _taggedTemplateLiteralLoose, a as _extends } from './_rollupPluginBabelHelpers-
|
|
2
|
+
import { _ as _taggedTemplateLiteralLoose, a as _extends } from './_rollupPluginBabelHelpers-51ce1182.js';
|
|
3
3
|
import VueTypes from 'vue-types';
|
|
4
4
|
import { componentTypes } from '@appbaseio/reactivecore/lib/utils/constants';
|
|
5
5
|
import { css } from 'emotion';
|
|
@@ -8,14 +8,14 @@ import 'polished';
|
|
|
8
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-
|
|
12
|
-
import { C as ComponentWrapper } from './ComponentWrapper-
|
|
13
|
-
import './Title-
|
|
14
|
-
import { F as Flex } from './Flex-
|
|
15
|
-
import { I as Input } from './Input-
|
|
16
|
-
import { C as Container } from './Container-
|
|
11
|
+
import { c as connect } from './index-5371a13f.js';
|
|
12
|
+
import { C as ComponentWrapper } from './ComponentWrapper-dc92772a.js';
|
|
13
|
+
import './Title-35edd732.js';
|
|
14
|
+
import { F as Flex } from './Flex-09d40927.js';
|
|
15
|
+
import { I as Input } from './Input-c9d757bc.js';
|
|
16
|
+
import { C as Container } from './Container-421450dc.js';
|
|
17
17
|
import 'vue-no-ssr';
|
|
18
|
-
import './ssr-
|
|
18
|
+
import './ssr-ad57b0ad.js';
|
|
19
19
|
import { RangeConnected as RangeConnected$1 } from './RangeSlider.js';
|
|
20
20
|
|
|
21
21
|
var _templateObject, _templateObject2;
|
package/dist/es/RangeSlider.js
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { Actions, helper } from '@appbaseio/reactivecore';
|
|
2
|
-
import { a as _extends } from './_rollupPluginBabelHelpers-
|
|
2
|
+
import { a as _extends } from './_rollupPluginBabelHelpers-51ce1182.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
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-
|
|
10
|
-
import { C as ComponentWrapper } from './ComponentWrapper-
|
|
11
|
-
import { T as Title } from './Title-
|
|
12
|
-
import { C as Container } from './Container-
|
|
9
|
+
import { f as updateCustomQuery, i as isQueryIdentical, c as connect } from './index-5371a13f.js';
|
|
10
|
+
import { C as ComponentWrapper } from './ComponentWrapper-dc92772a.js';
|
|
11
|
+
import { T as Title } from './Title-35edd732.js';
|
|
12
|
+
import { C as Container } from './Container-421450dc.js';
|
|
13
13
|
import NoSSR from 'vue-no-ssr';
|
|
14
|
-
import { g as getComponents, S as Slider } from './ssr-
|
|
14
|
+
import { g as getComponents, S as Slider } from './ssr-ad57b0ad.js';
|
|
15
15
|
|
|
16
16
|
var updateQuery = Actions.updateQuery,
|
|
17
17
|
setQueryOptions = Actions.setQueryOptions,
|
package/dist/es/ReactiveBase.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import configureStore, { Actions, helper } from '@appbaseio/reactivecore';
|
|
2
|
-
import { _ as _taggedTemplateLiteralLoose, a as _extends } from './_rollupPluginBabelHelpers-
|
|
2
|
+
import { _ as _taggedTemplateLiteralLoose, a as _extends } from './_rollupPluginBabelHelpers-51ce1182.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
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-
|
|
9
|
+
import { c as connect, e as composeThemeObject, X as X_SEARCH_CLIENT } from './index-5371a13f.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';
|
|
@@ -92,7 +92,7 @@ var URLParamsProvider = {
|
|
|
92
92
|
Object.keys(_this.currentSelectedState).filter(function (item) {
|
|
93
93
|
return !activeComponents.includes(item);
|
|
94
94
|
}).forEach(function (component) {
|
|
95
|
-
_this.setValue(component, null);
|
|
95
|
+
_this.setValue(component, null, undefined, undefined, undefined, undefined, undefined, undefined, 'URL');
|
|
96
96
|
}); // update active components in selectedValues
|
|
97
97
|
|
|
98
98
|
Array.from(_this.params.entries()).forEach(function (item) {
|
|
@@ -107,7 +107,7 @@ var URLParamsProvider = {
|
|
|
107
107
|
showFilter = _ref.showFilter,
|
|
108
108
|
URLParams = _ref.URLParams;
|
|
109
109
|
|
|
110
|
-
_this.setValue(component, JSON.parse(value), label, showFilter, URLParams);
|
|
110
|
+
_this.setValue(component, JSON.parse(value), label, showFilter, URLParams, undefined, undefined, undefined, 'URL');
|
|
111
111
|
} catch (e) {
|
|
112
112
|
// Do not set value if JSON parsing fails.
|
|
113
113
|
console.error(e);
|
|
@@ -125,39 +125,45 @@ var URLParamsProvider = {
|
|
|
125
125
|
selectedValues: function selectedValues(newVal, oldVal) {
|
|
126
126
|
var _this2 = this;
|
|
127
127
|
|
|
128
|
-
this.currentSelectedState = newVal;
|
|
129
|
-
|
|
130
128
|
if (!isEqual(newVal, oldVal)) {
|
|
131
129
|
this.searchString = this.$props.getSearchParams ? this.$props.getSearchParams() : window.location.search;
|
|
132
130
|
this.params = new URLSearchParams(this.searchString);
|
|
133
131
|
var currentComponents = Object.keys(newVal);
|
|
134
132
|
var urlComponents = Array.from(this.params.keys());
|
|
133
|
+
var shouldPushHistory = false;
|
|
135
134
|
currentComponents.filter(function (component) {
|
|
136
135
|
return newVal[component].URLParams;
|
|
137
136
|
}).forEach(function (component) {
|
|
138
|
-
// prevents empty history pollution on initial load
|
|
139
|
-
if (_this2.hasValidValue(newVal[component]) || _this2.hasValidValue(oldVal[component])) {
|
|
140
|
-
var selectedValues = newVal[component];
|
|
137
|
+
var selectedValues = newVal[component]; // prevents empty history pollution on initial load
|
|
141
138
|
|
|
139
|
+
if (_this2.hasValidValue(newVal[component]) || _this2.hasValidValue(oldVal[component])) {
|
|
142
140
|
if (selectedValues.URLParams) {
|
|
143
141
|
if (selectedValues.category) {
|
|
144
|
-
_this2.setURL(component, _this2.getValue({
|
|
142
|
+
var shouldUpdateHistory = _this2.setURL(component, _this2.getValue({
|
|
145
143
|
category: selectedValues.category,
|
|
146
144
|
value: selectedValues.value
|
|
147
145
|
}));
|
|
146
|
+
|
|
147
|
+
if (shouldUpdateHistory) {
|
|
148
|
+
shouldPushHistory = true;
|
|
149
|
+
}
|
|
148
150
|
} else {
|
|
149
|
-
_this2.setURL(component, _this2.getValue(selectedValues.value));
|
|
151
|
+
var _shouldUpdateHistory = _this2.setURL(component, _this2.getValue(selectedValues.value));
|
|
152
|
+
|
|
153
|
+
if (_shouldUpdateHistory) {
|
|
154
|
+
shouldPushHistory = true;
|
|
155
|
+
}
|
|
150
156
|
}
|
|
151
157
|
} else {
|
|
152
158
|
_this2.params["delete"](component);
|
|
153
159
|
|
|
154
|
-
|
|
160
|
+
shouldPushHistory = true;
|
|
155
161
|
}
|
|
156
162
|
} else if (!_this2.hasValidValue(newVal[component]) && urlComponents.includes(component)) {
|
|
157
163
|
// doesn't have a valid value, but the url has a (stale) valid value set
|
|
158
164
|
_this2.params["delete"](component);
|
|
159
165
|
|
|
160
|
-
|
|
166
|
+
shouldPushHistory = true;
|
|
161
167
|
}
|
|
162
168
|
}); // remove unmounted components
|
|
163
169
|
|
|
@@ -166,15 +172,20 @@ var URLParamsProvider = {
|
|
|
166
172
|
}).forEach(function (component) {
|
|
167
173
|
_this2.params["delete"](component);
|
|
168
174
|
|
|
169
|
-
|
|
175
|
+
shouldPushHistory = true;
|
|
170
176
|
});
|
|
171
177
|
|
|
172
178
|
if (!currentComponents.length) {
|
|
173
179
|
Array.from(this.params.keys()).forEach(function (item) {
|
|
174
180
|
if (_this2.searchComponents && _this2.searchComponents.includes(item)) {
|
|
175
181
|
_this2.params["delete"](item);
|
|
182
|
+
|
|
183
|
+
shouldPushHistory = true;
|
|
176
184
|
}
|
|
177
185
|
});
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
if (shouldPushHistory) {
|
|
178
189
|
this.pushToHistory();
|
|
179
190
|
}
|
|
180
191
|
}
|
|
@@ -237,20 +248,19 @@ var URLParamsProvider = {
|
|
|
237
248
|
return value;
|
|
238
249
|
},
|
|
239
250
|
setURL: function setURL(component, value) {
|
|
240
|
-
this.searchString = this.$props.getSearchParams ? this.$props.getSearchParams() : window.location.search;
|
|
241
|
-
this.params = new URLSearchParams(this.searchString);
|
|
242
|
-
|
|
243
251
|
if (!value || typeof value === 'string' && value.trim() === '' || Array.isArray(value) && value.length === 0) {
|
|
244
252
|
this.params["delete"](component);
|
|
245
|
-
|
|
246
|
-
}
|
|
247
|
-
var data = JSON.stringify(this.getValue(value));
|
|
253
|
+
return true;
|
|
254
|
+
}
|
|
248
255
|
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
256
|
+
var data = JSON.stringify(value);
|
|
257
|
+
|
|
258
|
+
if (data !== this.params.get(component)) {
|
|
259
|
+
this.params.set(component, data);
|
|
260
|
+
return true;
|
|
253
261
|
}
|
|
262
|
+
|
|
263
|
+
return false;
|
|
254
264
|
},
|
|
255
265
|
pushToHistory: function pushToHistory() {
|
|
256
266
|
var paramsSting = this.params.toString() ? "?" + this.params.toString() : '';
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { Actions, helper } from '@appbaseio/reactivecore';
|
|
2
|
-
import { a as _extends, b as _objectWithoutPropertiesLoose } from './_rollupPluginBabelHelpers-
|
|
2
|
+
import { a as _extends, b as _objectWithoutPropertiesLoose } from './_rollupPluginBabelHelpers-51ce1182.js';
|
|
3
3
|
import VueTypes from 'vue-types';
|
|
4
4
|
import { componentTypes } from '@appbaseio/reactivecore/lib/utils/constants';
|
|
5
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-
|
|
9
|
-
import { C as ComponentWrapper } from './ComponentWrapper-
|
|
8
|
+
import { f as updateCustomQuery, u as updateDefaultQuery, i as isQueryIdentical, c as connect } from './index-5371a13f.js';
|
|
9
|
+
import { C as ComponentWrapper } from './ComponentWrapper-dc92772a.js';
|
|
10
10
|
|
|
11
11
|
var _excluded = ["options"];
|
|
12
12
|
var updateQuery = Actions.updateQuery,
|
package/dist/es/ReactiveList.js
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import { helper, Actions } from '@appbaseio/reactivecore';
|
|
2
|
-
import { _ as _taggedTemplateLiteralLoose, a as _extends } from './_rollupPluginBabelHelpers-
|
|
2
|
+
import { _ as _taggedTemplateLiteralLoose, a as _extends } from './_rollupPluginBabelHelpers-51ce1182.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 { p as pagination, B as Button } from './Button-
|
|
9
|
+
import { p as pagination, B as Button } from './Button-e18ad90f.js';
|
|
10
10
|
import { t as types } from './vueTypes-687b2304.js';
|
|
11
11
|
import '@appbaseio/reactivecore/lib/utils/transform';
|
|
12
12
|
import 'redux';
|
|
13
|
-
import { c as connect, h as hasCustomRenderer, i as isQueryIdentical, u as updateDefaultQuery, a as isFunction, g as getComponent } from './index-
|
|
14
|
-
import { C as ComponentWrapper } from './ComponentWrapper-
|
|
13
|
+
import { c as connect, h as hasCustomRenderer, i as isQueryIdentical, u as updateDefaultQuery, a as isFunction, g as getComponent } from './index-5371a13f.js';
|
|
14
|
+
import { C as ComponentWrapper } from './ComponentWrapper-dc92772a.js';
|
|
15
15
|
import _mergeJSXProps from '@vue/babel-helper-vue-jsx-merge-props';
|
|
16
|
-
import './Title-
|
|
17
|
-
import { c as container } from './ListItem-
|
|
18
|
-
import { c as container$1 } from './Card-
|
|
19
|
-
import { F as Flex } from './Flex-
|
|
16
|
+
import './Title-35edd732.js';
|
|
17
|
+
import { c as container } from './ListItem-41d6ddd7.js';
|
|
18
|
+
import { c as container$1 } from './Card-ad6ba09f.js';
|
|
19
|
+
import { F as Flex } from './Flex-09d40927.js';
|
|
20
20
|
|
|
21
21
|
var getClassName = helper.getClassName,
|
|
22
22
|
handleA11yAction = helper.handleA11yAction;
|
|
@@ -849,6 +849,7 @@ var ReactiveList = {
|
|
|
849
849
|
}, [this.data.map(function (item, index) {
|
|
850
850
|
return renderItem({
|
|
851
851
|
item: item,
|
|
852
|
+
count: _this2.currentPageState * size + index + 1,
|
|
852
853
|
triggerClickAnalytics: function triggerClickAnalytics() {
|
|
853
854
|
return _this2.triggerClickAnalytics(_this2.currentPageState * size + index);
|
|
854
855
|
}
|
package/dist/es/ResultCard.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { b as _objectWithoutPropertiesLoose } from './_rollupPluginBabelHelpers-
|
|
1
|
+
import { b as _objectWithoutPropertiesLoose } from './_rollupPluginBabelHelpers-51ce1182.js';
|
|
2
2
|
import VueTypes from 'vue-types';
|
|
3
3
|
import 'emotion';
|
|
4
4
|
import '@appbaseio/vue-emotion';
|
|
5
5
|
import 'polished';
|
|
6
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-
|
|
9
|
-
import { I as Image, C as Card } from './Card-
|
|
8
|
+
import { T as Title } from './Title-35edd732.js';
|
|
9
|
+
import { I as Image, C as Card } from './Card-ad6ba09f.js';
|
|
10
10
|
|
|
11
11
|
var ResultCardTitle = {
|
|
12
12
|
name: 'ResultCardTitle',
|
package/dist/es/ResultList.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { b as _objectWithoutPropertiesLoose } from './_rollupPluginBabelHelpers-
|
|
1
|
+
import { b as _objectWithoutPropertiesLoose } from './_rollupPluginBabelHelpers-51ce1182.js';
|
|
2
2
|
import VueTypes from 'vue-types';
|
|
3
3
|
import 'emotion';
|
|
4
4
|
import '@appbaseio/vue-emotion';
|
|
5
5
|
import 'polished';
|
|
6
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-
|
|
9
|
-
import { I as Image, L as ListItem } from './ListItem-
|
|
8
|
+
import { T as Title } from './Title-35edd732.js';
|
|
9
|
+
import { I as Image, L as ListItem } from './ListItem-41d6ddd7.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-
|
|
2
|
+
import { a as _extends } from './_rollupPluginBabelHelpers-51ce1182.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-
|
|
8
|
+
import { f as filters, B as Button } from './Button-e18ad90f.js';
|
|
9
9
|
import { t as types } from './vueTypes-687b2304.js';
|
|
10
10
|
import 'redux';
|
|
11
|
-
import { c as connect } from './index-
|
|
12
|
-
import { T as Title } from './Title-
|
|
13
|
-
import { C as Container } from './Container-
|
|
11
|
+
import { c as connect } from './index-5371a13f.js';
|
|
12
|
+
import { T as Title } from './Title-35edd732.js';
|
|
13
|
+
import { C as Container } from './Container-421450dc.js';
|
|
14
14
|
|
|
15
15
|
var setValue = Actions.setValue,
|
|
16
16
|
clearValues = Actions.clearValues,
|
|
@@ -44,6 +44,7 @@ var SelectedFilters = {
|
|
|
44
44
|
components: this.components,
|
|
45
45
|
selectedValues: this.selectedValues,
|
|
46
46
|
clearValues: this.clearValues,
|
|
47
|
+
clearValue: this.clearValue,
|
|
47
48
|
setValue: this.setValue,
|
|
48
49
|
resetValuesToDefault: this.resetValuesToDefault
|
|
49
50
|
});
|
|
@@ -55,7 +56,7 @@ var SelectedFilters = {
|
|
|
55
56
|
"class": filters(this.theme) + " " + (this.$props.className || '')
|
|
56
57
|
}, [this.$props.title && hasValues && h(Title, {
|
|
57
58
|
"class": getClassName(this.$props.innerClass, 'title') || ''
|
|
58
|
-
}, [this.$props.title]), filtersToRender, this.$props.showClearAll && hasValues ? h(Button, {
|
|
59
|
+
}, [this.$props.title]), filtersToRender, this.$props.showClearAll && hasValues && filtersToRender.length > 1 ? h(Button, {
|
|
59
60
|
"class": getClassName(this.$props.innerClass, 'button') || '',
|
|
60
61
|
"on": _extends({}, {
|
|
61
62
|
click: this.clearValues,
|
|
@@ -92,6 +93,20 @@ var SelectedFilters = {
|
|
|
92
93
|
|
|
93
94
|
this.$emit('clear', resetToValues);
|
|
94
95
|
},
|
|
96
|
+
clearValue: function clearValue(componentId) {
|
|
97
|
+
var resetToDefault = this.resetToDefault,
|
|
98
|
+
resetToValues = this.resetToValues;
|
|
99
|
+
|
|
100
|
+
if (resetToDefault) {
|
|
101
|
+
this.resetValuesToDefault(this.components.filter(function (component) {
|
|
102
|
+
return component !== componentId;
|
|
103
|
+
}));
|
|
104
|
+
} else {
|
|
105
|
+
this.setValue(componentId, (resetToValues == null ? void 0 : resetToValues[componentId]) || null);
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
this.$emit('clear', resetToValues == null ? void 0 : resetToValues[componentId]);
|
|
109
|
+
},
|
|
95
110
|
renderValue: function renderValue(value, isArray) {
|
|
96
111
|
var _this2 = this;
|
|
97
112
|
|
|
@@ -115,39 +130,41 @@ var SelectedFilters = {
|
|
|
115
130
|
|
|
116
131
|
return value;
|
|
117
132
|
},
|
|
133
|
+
renderFilterButton: function renderFilterButton(component, keyProp, handleRemove, label) {
|
|
134
|
+
var h = this.$createElement;
|
|
135
|
+
return h(Button, {
|
|
136
|
+
"class": getClassName(this.$props.innerClass, 'button') || '',
|
|
137
|
+
"key": keyProp,
|
|
138
|
+
"on": _extends({}, {
|
|
139
|
+
click: handleRemove,
|
|
140
|
+
keypress: function keypress(event) {
|
|
141
|
+
return handleA11yAction(event, handleRemove);
|
|
142
|
+
}
|
|
143
|
+
}),
|
|
144
|
+
"attrs": {
|
|
145
|
+
"tabIndex": "0"
|
|
146
|
+
}
|
|
147
|
+
}, [h("span", [label]), h("span", ["\u2715"])]);
|
|
148
|
+
},
|
|
118
149
|
renderFilters: function renderFilters() {
|
|
119
150
|
var _this3 = this;
|
|
120
151
|
|
|
121
|
-
var h = this.$createElement;
|
|
122
152
|
var selectedValues = this.selectedValues;
|
|
123
|
-
|
|
153
|
+
var filterComponents = Object.keys(selectedValues).filter(function (id) {
|
|
124
154
|
return _this3.components.includes(id) && selectedValues[id].showFilter;
|
|
125
|
-
})
|
|
155
|
+
});
|
|
156
|
+
return filterComponents.map(function (component, index) {
|
|
126
157
|
var _selectedValues$compo = selectedValues[component],
|
|
127
158
|
label = _selectedValues$compo.label,
|
|
128
159
|
value = _selectedValues$compo.value;
|
|
129
|
-
var isArray = Array.isArray(value);
|
|
160
|
+
var isArray = Array.isArray(value); // default behaviour
|
|
130
161
|
|
|
131
162
|
if (label && (isArray && value.length || !isArray && value)) {
|
|
132
163
|
var valueToRender = _this3.renderValue(value, isArray);
|
|
133
164
|
|
|
134
|
-
return
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
"on": _extends({}, {
|
|
138
|
-
click: function click() {
|
|
139
|
-
return _this3.remove(component, value);
|
|
140
|
-
},
|
|
141
|
-
keypress: function keypress(event) {
|
|
142
|
-
return handleA11yAction(event, function () {
|
|
143
|
-
return _this3.remove(component, value);
|
|
144
|
-
});
|
|
145
|
-
}
|
|
146
|
-
}),
|
|
147
|
-
"attrs": {
|
|
148
|
-
"tabIndex": "0"
|
|
149
|
-
}
|
|
150
|
-
}, [h("span", [selectedValues[component].label, ": ", valueToRender]), h("span", ["\u2715"])]);
|
|
165
|
+
return _this3.renderFilterButton(component, component + "-" + (index + 1), function () {
|
|
166
|
+
return _this3.remove(component, value);
|
|
167
|
+
}, selectedValues[component].label + ": " + valueToRender);
|
|
151
168
|
}
|
|
152
169
|
|
|
153
170
|
return null;
|