@appbaseio/reactivesearch-vue 1.33.2 → 1.33.4
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 +1091 -487
- package/dist/@appbaseio/reactivesearch-vue.umd.js.map +1 -1
- package/dist/@appbaseio/reactivesearch-vue.umd.min.js +7 -7
- package/dist/@appbaseio/reactivesearch-vue.umd.min.js.map +1 -1
- package/dist/cjs/{ComponentWrapper-9318cece.js → ComponentWrapper-b6d4660c.js} +13 -4
- package/dist/cjs/{DataSearch-99a6a2e8.js → DataSearch-2b5740ea.js} +11 -7
- package/dist/cjs/DataSearch.js +2 -2
- package/dist/cjs/MultiDropdownList.js +1 -1
- package/dist/cjs/MultiList.js +1 -1
- package/dist/cjs/MultiRange.js +8 -2
- package/dist/cjs/RangeInput.js +1 -1
- package/dist/cjs/RangeSlider.js +1 -1
- package/dist/cjs/ReactiveBase.js +35 -2
- package/dist/cjs/{ReactiveComponent-805201c6.js → ReactiveComponent-fd8d7403.js} +2 -2
- package/dist/cjs/ReactiveComponent.js +3 -3
- package/dist/cjs/ReactiveGoogleMap.js +1 -1
- package/dist/cjs/ReactiveList.js +1 -1
- package/dist/cjs/SingleDropdownList.js +1 -1
- package/dist/cjs/SingleList.js +1 -1
- package/dist/cjs/SingleRange.js +1 -1
- package/dist/cjs/StateProvider.js +22 -6
- package/dist/cjs/ToggleButton.js +1 -1
- package/dist/cjs/index.js +4 -4
- package/dist/cjs/install.js +4 -4
- package/dist/cjs/version.js +1 -1
- package/dist/es/{ComponentWrapper-240450cc.js → ComponentWrapper-8042aa35.js} +13 -4
- package/dist/es/{DataSearch-20f0d8f1.js → DataSearch-68d2a78c.js} +11 -7
- package/dist/es/DataSearch.js +2 -2
- package/dist/es/MultiDropdownList.js +1 -1
- package/dist/es/MultiList.js +1 -1
- package/dist/es/MultiRange.js +8 -2
- package/dist/es/RangeInput.js +1 -1
- package/dist/es/RangeSlider.js +1 -1
- package/dist/es/ReactiveBase.js +35 -2
- package/dist/es/{ReactiveComponent-dd85aa9c.js → ReactiveComponent-62fa87e0.js} +2 -2
- package/dist/es/ReactiveComponent.js +3 -3
- package/dist/es/ReactiveGoogleMap.js +1 -1
- package/dist/es/ReactiveList.js +1 -1
- package/dist/es/SingleDropdownList.js +1 -1
- package/dist/es/SingleList.js +1 -1
- package/dist/es/SingleRange.js +1 -1
- package/dist/es/StateProvider.js +23 -7
- package/dist/es/ToggleButton.js +1 -1
- package/dist/es/index.js +4 -4
- package/dist/es/install.js +4 -4
- package/dist/es/version.js +1 -1
- package/package.json +3 -2
package/dist/es/DataSearch.js
CHANGED
|
@@ -10,12 +10,12 @@ import './vueTypes-8986b709.js';
|
|
|
10
10
|
import '@appbaseio/reactivecore/lib/utils/transform';
|
|
11
11
|
import 'redux';
|
|
12
12
|
import './index-0444a498.js';
|
|
13
|
-
import './ComponentWrapper-
|
|
13
|
+
import './ComponentWrapper-8042aa35.js';
|
|
14
14
|
import './PreferencesConsumer-bc097ebb.js';
|
|
15
15
|
import './Title-863dfa42.js';
|
|
16
16
|
import './Flex-7c177a10.js';
|
|
17
17
|
import 'hotkeys-js';
|
|
18
|
-
export { D as DSConnected, a as default } from './DataSearch-
|
|
18
|
+
export { D as DSConnected, a as default } from './DataSearch-68d2a78c.js';
|
|
19
19
|
import './CancelSvg-e40552a5.js';
|
|
20
20
|
import './Input-c09c0b56.js';
|
|
21
21
|
import 'compute-scroll-into-view';
|
|
@@ -10,7 +10,7 @@ import { t as types } from './vueTypes-8986b709.js';
|
|
|
10
10
|
import '@appbaseio/reactivecore/lib/utils/transform';
|
|
11
11
|
import 'redux';
|
|
12
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-0444a498.js';
|
|
13
|
-
import { C as ComponentWrapper } from './ComponentWrapper-
|
|
13
|
+
import { C as ComponentWrapper } from './ComponentWrapper-8042aa35.js';
|
|
14
14
|
import { P as PreferencesConsumer } from './PreferencesConsumer-bc097ebb.js';
|
|
15
15
|
import '@vue/babel-helper-vue-jsx-merge-props';
|
|
16
16
|
import { T as Title } from './Title-863dfa42.js';
|
package/dist/es/MultiList.js
CHANGED
|
@@ -9,7 +9,7 @@ import { t as types } from './vueTypes-8986b709.js';
|
|
|
9
9
|
import '@appbaseio/reactivecore/lib/utils/transform';
|
|
10
10
|
import 'redux';
|
|
11
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-0444a498.js';
|
|
12
|
-
import { C as ComponentWrapper } from './ComponentWrapper-
|
|
12
|
+
import { C as ComponentWrapper } from './ComponentWrapper-8042aa35.js';
|
|
13
13
|
import { P as PreferencesConsumer } from './PreferencesConsumer-bc097ebb.js';
|
|
14
14
|
import { T as Title } from './Title-863dfa42.js';
|
|
15
15
|
import { I as Input } from './Input-c09c0b56.js';
|
package/dist/es/MultiRange.js
CHANGED
|
@@ -9,7 +9,7 @@ import { t as types } from './vueTypes-8986b709.js';
|
|
|
9
9
|
import '@appbaseio/reactivecore/lib/utils/transform';
|
|
10
10
|
import 'redux';
|
|
11
11
|
import { q as parseValueArray, f as updateCustomQuery, i as isQueryIdentical, c as connect } from './index-0444a498.js';
|
|
12
|
-
import { C as ComponentWrapper } from './ComponentWrapper-
|
|
12
|
+
import { C as ComponentWrapper } from './ComponentWrapper-8042aa35.js';
|
|
13
13
|
import { P as PreferencesConsumer } from './PreferencesConsumer-bc097ebb.js';
|
|
14
14
|
import { T as Title } from './Title-863dfa42.js';
|
|
15
15
|
import { C as Container } from './Container-d00219f7.js';
|
|
@@ -150,7 +150,13 @@ var MultiRange = {
|
|
|
150
150
|
},
|
|
151
151
|
selectedValue: function selectedValue(newVal) {
|
|
152
152
|
if (!isEqual(this.$data.currentValue, newVal)) {
|
|
153
|
-
|
|
153
|
+
var processSelectedValues = newVal ? newVal.map(function (item) {
|
|
154
|
+
if (typeof item === 'object' && 'label' in item) {
|
|
155
|
+
return item.label;
|
|
156
|
+
}
|
|
157
|
+
return item;
|
|
158
|
+
}) : null;
|
|
159
|
+
this.selectItem(processSelectedValues, true, undefined, true);
|
|
154
160
|
}
|
|
155
161
|
},
|
|
156
162
|
customQuery: function customQuery(newVal, oldVal) {
|
package/dist/es/RangeInput.js
CHANGED
|
@@ -9,7 +9,7 @@ import { t as types } from './vueTypes-8986b709.js';
|
|
|
9
9
|
import '@appbaseio/reactivecore/lib/utils/transform';
|
|
10
10
|
import 'redux';
|
|
11
11
|
import { c as connect } from './index-0444a498.js';
|
|
12
|
-
import { C as ComponentWrapper } from './ComponentWrapper-
|
|
12
|
+
import { C as ComponentWrapper } from './ComponentWrapper-8042aa35.js';
|
|
13
13
|
import { P as PreferencesConsumer } from './PreferencesConsumer-bc097ebb.js';
|
|
14
14
|
import './Title-863dfa42.js';
|
|
15
15
|
import { F as Flex } from './Flex-7c177a10.js';
|
package/dist/es/RangeSlider.js
CHANGED
|
@@ -7,7 +7,7 @@ import { t as types } from './vueTypes-8986b709.js';
|
|
|
7
7
|
import '@appbaseio/reactivecore/lib/utils/transform';
|
|
8
8
|
import 'redux';
|
|
9
9
|
import { f as updateCustomQuery, i as isQueryIdentical, c as connect } from './index-0444a498.js';
|
|
10
|
-
import { C as ComponentWrapper } from './ComponentWrapper-
|
|
10
|
+
import { C as ComponentWrapper } from './ComponentWrapper-8042aa35.js';
|
|
11
11
|
import { P as PreferencesConsumer } from './PreferencesConsumer-bc097ebb.js';
|
|
12
12
|
import { T as Title } from './Title-863dfa42.js';
|
|
13
13
|
import { C as Container } from './Container-d00219f7.js';
|
package/dist/es/ReactiveBase.js
CHANGED
|
@@ -10,6 +10,7 @@ import { c as connect, e as composeThemeObject, X as X_SEARCH_CLIENT } from './i
|
|
|
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';
|
|
13
|
+
import AppbaseAnalytics from '@appbaseio/analytics';
|
|
13
14
|
import 'url-search-params-polyfill';
|
|
14
15
|
|
|
15
16
|
var Provider = {
|
|
@@ -24,11 +25,16 @@ var Provider = {
|
|
|
24
25
|
}
|
|
25
26
|
return true;
|
|
26
27
|
}
|
|
28
|
+
},
|
|
29
|
+
analyticsRef: {
|
|
30
|
+
type: Object,
|
|
31
|
+
required: false
|
|
27
32
|
}
|
|
28
33
|
},
|
|
29
34
|
provide: function provide() {
|
|
30
35
|
return {
|
|
31
|
-
$$store: this.store
|
|
36
|
+
$$store: this.store,
|
|
37
|
+
$analytics: this.analyticsRef
|
|
32
38
|
};
|
|
33
39
|
},
|
|
34
40
|
render: function render(h) {
|
|
@@ -477,6 +483,30 @@ var ReactiveBase = {
|
|
|
477
483
|
if (this.$props.transformResponse) {
|
|
478
484
|
appbaseRef.transformResponse = this.$props.transformResponse;
|
|
479
485
|
}
|
|
486
|
+
var analyticsInitConfig = {
|
|
487
|
+
url: url && url.replace(/\/\/.*@/, '//'),
|
|
488
|
+
credentials: appbaseRef.credentials,
|
|
489
|
+
// When endpoint prop is used index is not defined, so we use _default
|
|
490
|
+
index: appbaseRef.app || '_default',
|
|
491
|
+
globalCustomEvents: this.$props.appbaseConfig && this.$props.appbaseConfig.customEvents
|
|
492
|
+
};
|
|
493
|
+
try {
|
|
494
|
+
if (this.$props.endpoint && this.$props.endpoint.url) {
|
|
495
|
+
// Remove parts between '//' and first '/' in the url
|
|
496
|
+
analyticsInitConfig.url = this.$props.endpoint.url.replace(/\/\/(.*?)\/.*/, '//$1');
|
|
497
|
+
var headerCredentials = this.$props.endpoint.headers && this.$props.endpoint.headers.Authorization;
|
|
498
|
+
analyticsInitConfig.credentials = headerCredentials && headerCredentials.replace('Basic ', '');
|
|
499
|
+
// Decode the credentials
|
|
500
|
+
analyticsInitConfig.credentials = analyticsInitConfig.credentials && atob(analyticsInitConfig.credentials);
|
|
501
|
+
}
|
|
502
|
+
} catch (e) {
|
|
503
|
+
console.error('Endpoint not set correctly for analytics');
|
|
504
|
+
console.error(e);
|
|
505
|
+
}
|
|
506
|
+
var analyticsRef = null;
|
|
507
|
+
if (config.analytics) {
|
|
508
|
+
analyticsRef = AppbaseAnalytics.init(analyticsInitConfig);
|
|
509
|
+
}
|
|
480
510
|
var initialState = _extends({
|
|
481
511
|
config: _extends({}, config, {
|
|
482
512
|
initialQueriesSyncTime: props.initialQueriesSyncTime,
|
|
@@ -485,11 +515,13 @@ var ReactiveBase = {
|
|
|
485
515
|
themePreset: themePreset
|
|
486
516
|
}),
|
|
487
517
|
appbaseRef: appbaseRef,
|
|
518
|
+
analyticsRef: analyticsRef,
|
|
488
519
|
selectedValues: selectedValues,
|
|
489
520
|
urlValues: urlValues,
|
|
490
521
|
headers: this.getHeaders
|
|
491
522
|
}, this.$props.initialState);
|
|
492
523
|
this.store = configureStore(initialState);
|
|
524
|
+
this.analyticsRef = analyticsRef;
|
|
493
525
|
}
|
|
494
526
|
},
|
|
495
527
|
render: function render() {
|
|
@@ -500,7 +532,8 @@ var ReactiveBase = {
|
|
|
500
532
|
className = _this$$props2.className;
|
|
501
533
|
return h(Provider, {
|
|
502
534
|
"attrs": {
|
|
503
|
-
"store": this.store
|
|
535
|
+
"store": this.store,
|
|
536
|
+
"analyticsRef": this.analyticsRef
|
|
504
537
|
}
|
|
505
538
|
}, [h(URLParamsProvider$1, {
|
|
506
539
|
"attrs": {
|
|
@@ -8,11 +8,11 @@ import { B as Button } from './Button-153cd885.js';
|
|
|
8
8
|
import { t as types } from './vueTypes-8986b709.js';
|
|
9
9
|
import { RLConnected } from './ReactiveList.js';
|
|
10
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-0444a498.js';
|
|
11
|
-
import { C as ComponentWrapper } from './ComponentWrapper-
|
|
11
|
+
import { C as ComponentWrapper } from './ComponentWrapper-8042aa35.js';
|
|
12
12
|
import { P as PreferencesConsumer } from './PreferencesConsumer-bc097ebb.js';
|
|
13
13
|
import { T as Title } from './Title-863dfa42.js';
|
|
14
14
|
import hotkeys from 'hotkeys-js';
|
|
15
|
-
import { S as SearchSvg, b as SuggestionWrapper, I as InputAddon, M as Mic, T as TagItem, c as TagsContainer, d as InputGroup, C as CustomSvg, e as SuggestionItem, D as DSConnected } from './DataSearch-
|
|
15
|
+
import { S as SearchSvg, b as SuggestionWrapper, I as InputAddon, M as Mic, T as TagItem, c as TagsContainer, d as InputGroup, C as CustomSvg, e as SuggestionItem, D as DSConnected } from './DataSearch-68d2a78c.js';
|
|
16
16
|
import { C as CancelSvg, a as IconGroup, I as IconWrapper, D as Downshift, b as InputWrapper } from './CancelSvg-e40552a5.js';
|
|
17
17
|
import { s as suggestionsContainer, I as Input, a as suggestions } from './Input-c09c0b56.js';
|
|
18
18
|
import { C as Container } from './Container-d00219f7.js';
|
|
@@ -13,7 +13,7 @@ import './ReactiveList.js';
|
|
|
13
13
|
import '@appbaseio/reactivecore/lib/utils/transform';
|
|
14
14
|
import 'redux';
|
|
15
15
|
import './index-0444a498.js';
|
|
16
|
-
import './ComponentWrapper-
|
|
16
|
+
import './ComponentWrapper-8042aa35.js';
|
|
17
17
|
import './PreferencesConsumer-bc097ebb.js';
|
|
18
18
|
import '@vue/babel-helper-vue-jsx-merge-props';
|
|
19
19
|
import './Title-863dfa42.js';
|
|
@@ -21,13 +21,13 @@ import './ListItem-07888a65.js';
|
|
|
21
21
|
import './Card-19ad6d90.js';
|
|
22
22
|
import './Flex-7c177a10.js';
|
|
23
23
|
import 'hotkeys-js';
|
|
24
|
-
import './DataSearch-
|
|
24
|
+
import './DataSearch-68d2a78c.js';
|
|
25
25
|
import './CancelSvg-e40552a5.js';
|
|
26
26
|
import './Input-c09c0b56.js';
|
|
27
27
|
import 'compute-scroll-into-view';
|
|
28
28
|
import './Container-d00219f7.js';
|
|
29
29
|
import 'vue-highlight-words';
|
|
30
|
-
export { R as default } from './ReactiveComponent-
|
|
30
|
+
export { R as default } from './ReactiveComponent-62fa87e0.js';
|
|
31
31
|
import '@appbaseio/reactivecore/lib/utils/suggestions';
|
|
32
32
|
import './FormControlList-99797d0a.js';
|
|
33
33
|
import './utils-9e5a16a1.js';
|
|
@@ -11,7 +11,7 @@ import { P as Pagination } from './Pagination-28e56c5c.js';
|
|
|
11
11
|
import '@appbaseio/reactivecore/lib/utils/transform';
|
|
12
12
|
import 'redux';
|
|
13
13
|
import { h as hasCustomRenderer, i as isQueryIdentical, g as getComponent, a as isFunction, c as connect } from './index-0444a498.js';
|
|
14
|
-
import { C as ComponentWrapper } from './ComponentWrapper-
|
|
14
|
+
import { C as ComponentWrapper } from './ComponentWrapper-8042aa35.js';
|
|
15
15
|
import { P as PreferencesConsumer } from './PreferencesConsumer-bc097ebb.js';
|
|
16
16
|
import _mergeJSXProps from '@vue/babel-helper-vue-jsx-merge-props';
|
|
17
17
|
import { C as Checkbox } from './FormControlList-99797d0a.js';
|
package/dist/es/ReactiveList.js
CHANGED
|
@@ -12,7 +12,7 @@ import { P as Pagination } from './Pagination-28e56c5c.js';
|
|
|
12
12
|
import '@appbaseio/reactivecore/lib/utils/transform';
|
|
13
13
|
import 'redux';
|
|
14
14
|
import { c as connect, h as hasCustomRenderer, i as isQueryIdentical, u as updateDefaultQuery, a as isFunction, g as getComponent } from './index-0444a498.js';
|
|
15
|
-
import { C as ComponentWrapper } from './ComponentWrapper-
|
|
15
|
+
import { C as ComponentWrapper } from './ComponentWrapper-8042aa35.js';
|
|
16
16
|
import { P as PreferencesConsumer } from './PreferencesConsumer-bc097ebb.js';
|
|
17
17
|
import _mergeJSXProps from '@vue/babel-helper-vue-jsx-merge-props';
|
|
18
18
|
import './Title-863dfa42.js';
|
|
@@ -10,7 +10,7 @@ import { t as types } from './vueTypes-8986b709.js';
|
|
|
10
10
|
import '@appbaseio/reactivecore/lib/utils/transform';
|
|
11
11
|
import 'redux';
|
|
12
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-0444a498.js';
|
|
13
|
-
import { C as ComponentWrapper } from './ComponentWrapper-
|
|
13
|
+
import { C as ComponentWrapper } from './ComponentWrapper-8042aa35.js';
|
|
14
14
|
import { P as PreferencesConsumer } from './PreferencesConsumer-bc097ebb.js';
|
|
15
15
|
import '@vue/babel-helper-vue-jsx-merge-props';
|
|
16
16
|
import { T as Title } from './Title-863dfa42.js';
|
package/dist/es/SingleList.js
CHANGED
|
@@ -9,7 +9,7 @@ import { t as types } from './vueTypes-8986b709.js';
|
|
|
9
9
|
import '@appbaseio/reactivecore/lib/utils/transform';
|
|
10
10
|
import 'redux';
|
|
11
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-0444a498.js';
|
|
12
|
-
import { C as ComponentWrapper } from './ComponentWrapper-
|
|
12
|
+
import { C as ComponentWrapper } from './ComponentWrapper-8042aa35.js';
|
|
13
13
|
import { P as PreferencesConsumer } from './PreferencesConsumer-bc097ebb.js';
|
|
14
14
|
import { T as Title } from './Title-863dfa42.js';
|
|
15
15
|
import { I as Input } from './Input-c09c0b56.js';
|
package/dist/es/SingleRange.js
CHANGED
|
@@ -9,7 +9,7 @@ import { t as types } from './vueTypes-8986b709.js';
|
|
|
9
9
|
import '@appbaseio/reactivecore/lib/utils/transform';
|
|
10
10
|
import 'redux';
|
|
11
11
|
import { f as updateCustomQuery, i as isQueryIdentical, c as connect } from './index-0444a498.js';
|
|
12
|
-
import { C as ComponentWrapper } from './ComponentWrapper-
|
|
12
|
+
import { C as ComponentWrapper } from './ComponentWrapper-8042aa35.js';
|
|
13
13
|
import { P as PreferencesConsumer } from './PreferencesConsumer-bc097ebb.js';
|
|
14
14
|
import { T as Title } from './Title-863dfa42.js';
|
|
15
15
|
import { C as Container } from './Container-d00219f7.js';
|
package/dist/es/StateProvider.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { helper } from '@appbaseio/reactivecore';
|
|
1
|
+
import { Actions, helper } from '@appbaseio/reactivecore';
|
|
2
2
|
import '@appbaseio/reactivecore/lib/utils/constants';
|
|
3
3
|
import { a as _extends } from './_rollupPluginBabelHelpers-ded08042.js';
|
|
4
4
|
import VueTypes from 'vue-types';
|
|
5
5
|
import { isInternalComponent } from '@appbaseio/reactivecore/lib/utils/transform';
|
|
6
6
|
import 'redux';
|
|
7
7
|
import { c as connect } from './index-0444a498.js';
|
|
8
|
-
import { setValues } from '@appbaseio/reactivecore/lib/actions/value';
|
|
9
8
|
|
|
9
|
+
var setSearchState = Actions.setSearchState;
|
|
10
10
|
var getSearchState = helper.getSearchState;
|
|
11
11
|
var defaultKeys = ['hits', 'value', 'aggregations', 'error'];
|
|
12
12
|
var filterProps = function filterProps(props) {
|
|
@@ -17,6 +17,15 @@ var filterProps = function filterProps(props) {
|
|
|
17
17
|
props: props.componentProps
|
|
18
18
|
});
|
|
19
19
|
};
|
|
20
|
+
var convertArrayLike = function convertArrayLike(arrayLike) {
|
|
21
|
+
var arr = [];
|
|
22
|
+
var i = 0;
|
|
23
|
+
while (arrayLike[i]) {
|
|
24
|
+
arr[i] = arrayLike[i];
|
|
25
|
+
i += 1;
|
|
26
|
+
}
|
|
27
|
+
return arr;
|
|
28
|
+
};
|
|
20
29
|
var filterByComponentIds = function filterByComponentIds(state, props) {
|
|
21
30
|
if (props === void 0) {
|
|
22
31
|
props = {};
|
|
@@ -178,21 +187,28 @@ var StateProvider = {
|
|
|
178
187
|
}
|
|
179
188
|
},
|
|
180
189
|
setSearchState: function setSearchState(valuesMap) {
|
|
190
|
+
var _this = this;
|
|
181
191
|
if (valuesMap === void 0) {
|
|
182
192
|
valuesMap = {};
|
|
183
193
|
}
|
|
184
194
|
var components = this.components;
|
|
185
195
|
var computedValuesMap = {};
|
|
186
|
-
components.filter(function (component) {
|
|
196
|
+
convertArrayLike(components).filter(function (component) {
|
|
187
197
|
return !isInternalComponent(component);
|
|
188
198
|
}).forEach(function (component) {
|
|
189
199
|
if (component in valuesMap) {
|
|
190
|
-
computedValuesMap[component] =
|
|
200
|
+
computedValuesMap[component] = {
|
|
201
|
+
value: valuesMap[component],
|
|
202
|
+
componentProps: _this.componentProps[component]
|
|
203
|
+
};
|
|
191
204
|
} else {
|
|
192
|
-
computedValuesMap[component] =
|
|
205
|
+
computedValuesMap[component] = {
|
|
206
|
+
value: null,
|
|
207
|
+
componentProps: _this.componentProps[component]
|
|
208
|
+
};
|
|
193
209
|
}
|
|
194
210
|
});
|
|
195
|
-
this.
|
|
211
|
+
this.setSearchStateFn(computedValuesMap);
|
|
196
212
|
}
|
|
197
213
|
},
|
|
198
214
|
render: function render() {
|
|
@@ -222,7 +238,7 @@ var mapStateToProps = function mapStateToProps(state, props) {
|
|
|
222
238
|
};
|
|
223
239
|
};
|
|
224
240
|
var mapDispatchtoProps = {
|
|
225
|
-
|
|
241
|
+
setSearchStateFn: setSearchState
|
|
226
242
|
};
|
|
227
243
|
var StateProviderConnected = connect(mapStateToProps, mapDispatchtoProps)(StateProvider);
|
|
228
244
|
StateProvider.install = function (Vue) {
|
package/dist/es/ToggleButton.js
CHANGED
|
@@ -10,7 +10,7 @@ import { t as types } from './vueTypes-8986b709.js';
|
|
|
10
10
|
import '@appbaseio/reactivecore/lib/utils/transform';
|
|
11
11
|
import 'redux';
|
|
12
12
|
import { f as updateCustomQuery, i as isQueryIdentical, c as connect } from './index-0444a498.js';
|
|
13
|
-
import { C as ComponentWrapper } from './ComponentWrapper-
|
|
13
|
+
import { C as ComponentWrapper } from './ComponentWrapper-8042aa35.js';
|
|
14
14
|
import { P as PreferencesConsumer } from './PreferencesConsumer-bc097ebb.js';
|
|
15
15
|
import { T as Title } from './Title-863dfa42.js';
|
|
16
16
|
import { C as Container } from './Container-d00219f7.js';
|
package/dist/es/index.js
CHANGED
|
@@ -13,7 +13,7 @@ export { default as ReactiveList } from './ReactiveList.js';
|
|
|
13
13
|
import '@appbaseio/reactivecore/lib/utils/transform';
|
|
14
14
|
import 'redux';
|
|
15
15
|
import './index-0444a498.js';
|
|
16
|
-
import './ComponentWrapper-
|
|
16
|
+
import './ComponentWrapper-8042aa35.js';
|
|
17
17
|
import './PreferencesConsumer-bc097ebb.js';
|
|
18
18
|
import '@vue/babel-helper-vue-jsx-merge-props';
|
|
19
19
|
import './Title-863dfa42.js';
|
|
@@ -22,16 +22,17 @@ import './Card-19ad6d90.js';
|
|
|
22
22
|
import './Flex-7c177a10.js';
|
|
23
23
|
import '@appbaseio/reactivecore/lib/actions/analytics';
|
|
24
24
|
import 'appbase-js';
|
|
25
|
+
import '@appbaseio/analytics';
|
|
25
26
|
import 'url-search-params-polyfill';
|
|
26
27
|
export { default as ReactiveBase } from './ReactiveBase.js';
|
|
27
28
|
import 'hotkeys-js';
|
|
28
|
-
export { a as DataSearch } from './DataSearch-
|
|
29
|
+
export { a as DataSearch } from './DataSearch-68d2a78c.js';
|
|
29
30
|
import './CancelSvg-e40552a5.js';
|
|
30
31
|
import './Input-c09c0b56.js';
|
|
31
32
|
import 'compute-scroll-into-view';
|
|
32
33
|
import './Container-d00219f7.js';
|
|
33
34
|
import 'vue-highlight-words';
|
|
34
|
-
export { R as ReactiveComponent, S as SearchBox } from './ReactiveComponent-
|
|
35
|
+
export { R as ReactiveComponent, S as SearchBox } from './ReactiveComponent-62fa87e0.js';
|
|
35
36
|
import '@appbaseio/reactivecore/lib/utils/suggestions';
|
|
36
37
|
import './FormControlList-99797d0a.js';
|
|
37
38
|
import './utils-9e5a16a1.js';
|
|
@@ -51,7 +52,6 @@ export { default as RangeInput } from './RangeInput.js';
|
|
|
51
52
|
export { default as SelectedFilters } from './SelectedFilters.js';
|
|
52
53
|
export { default as ResultCard } from './ResultCard.js';
|
|
53
54
|
export { default as ResultList } from './ResultList.js';
|
|
54
|
-
import '@appbaseio/reactivecore/lib/actions/value';
|
|
55
55
|
export { default as StateProvider } from './StateProvider.js';
|
|
56
56
|
import 'gmap-vue';
|
|
57
57
|
import 'ngeohash';
|
package/dist/es/install.js
CHANGED
|
@@ -13,7 +13,7 @@ import ReactiveList from './ReactiveList.js';
|
|
|
13
13
|
import '@appbaseio/reactivecore/lib/utils/transform';
|
|
14
14
|
import 'redux';
|
|
15
15
|
import './index-0444a498.js';
|
|
16
|
-
import './ComponentWrapper-
|
|
16
|
+
import './ComponentWrapper-8042aa35.js';
|
|
17
17
|
import './PreferencesConsumer-bc097ebb.js';
|
|
18
18
|
import '@vue/babel-helper-vue-jsx-merge-props';
|
|
19
19
|
import './Title-863dfa42.js';
|
|
@@ -22,16 +22,17 @@ import './Card-19ad6d90.js';
|
|
|
22
22
|
import './Flex-7c177a10.js';
|
|
23
23
|
import '@appbaseio/reactivecore/lib/actions/analytics';
|
|
24
24
|
import 'appbase-js';
|
|
25
|
+
import '@appbaseio/analytics';
|
|
25
26
|
import 'url-search-params-polyfill';
|
|
26
27
|
import ReactiveBase from './ReactiveBase.js';
|
|
27
28
|
import 'hotkeys-js';
|
|
28
|
-
import { a as DataSearch } from './DataSearch-
|
|
29
|
+
import { a as DataSearch } from './DataSearch-68d2a78c.js';
|
|
29
30
|
import './CancelSvg-e40552a5.js';
|
|
30
31
|
import './Input-c09c0b56.js';
|
|
31
32
|
import 'compute-scroll-into-view';
|
|
32
33
|
import './Container-d00219f7.js';
|
|
33
34
|
import 'vue-highlight-words';
|
|
34
|
-
import { S as SearchBox, R as ReactiveComponent } from './ReactiveComponent-
|
|
35
|
+
import { S as SearchBox, R as ReactiveComponent } from './ReactiveComponent-62fa87e0.js';
|
|
35
36
|
import '@appbaseio/reactivecore/lib/utils/suggestions';
|
|
36
37
|
import './FormControlList-99797d0a.js';
|
|
37
38
|
import './utils-9e5a16a1.js';
|
|
@@ -51,7 +52,6 @@ import RangeInput from './RangeInput.js';
|
|
|
51
52
|
import SelectedFilters from './SelectedFilters.js';
|
|
52
53
|
import ResultCard from './ResultCard.js';
|
|
53
54
|
import ResultList from './ResultList.js';
|
|
54
|
-
import '@appbaseio/reactivecore/lib/actions/value';
|
|
55
55
|
import StateProvider from './StateProvider.js';
|
|
56
56
|
|
|
57
57
|
var components = [ReactiveList, ResultCard, ResultList, ReactiveBase, DataSearch, SearchBox, SingleList, MultiList, SingleRange, MultiRange, RangeSlider, DynamicRangeSlider, ReactiveComponent, SelectedFilters, ToggleButton, SingleDropdownList, MultiDropdownList, StateProvider, RangeInput];
|
package/dist/es/version.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@appbaseio/reactivesearch-vue",
|
|
3
|
-
"version": "1.33.
|
|
3
|
+
"version": "1.33.4",
|
|
4
4
|
"private": false,
|
|
5
5
|
"main": "dist/cjs/index.js",
|
|
6
6
|
"jsnext:main": "dist/es/index.js",
|
|
@@ -34,7 +34,8 @@
|
|
|
34
34
|
],
|
|
35
35
|
"sideEffects": false,
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@appbaseio/
|
|
37
|
+
"@appbaseio/analytics": "^1.1.1",
|
|
38
|
+
"@appbaseio/reactivecore": "9.14.34",
|
|
38
39
|
"@appbaseio/vue-emotion": "0.4.4",
|
|
39
40
|
"@vue/babel-helper-vue-jsx-merge-props": "^1.0.0",
|
|
40
41
|
"appbase-js": "^5.2.0",
|