@appbaseio/reactivesearch-vue 1.28.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 +2854 -794
- 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-11307285.js → Button-0e2e2c02.js} +2 -2
- 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-e550096e.js +2322 -0
- package/dist/cjs/DataSearch.js +18 -2107
- package/dist/cjs/{DropDown-7aa3d0d2.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-3cc3fa59.js → Input-43868594.js} +2 -2
- 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 +23 -21
- package/dist/cjs/initReactivesearch.js +2 -2
- package/dist/cjs/install-250a14f1.js +1407 -0
- package/dist/cjs/install.js +37 -41
- 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-91561391.js → Button-e18ad90f.js} +2 -2
- 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-8e5d0972.js +2307 -0
- package/dist/es/DataSearch.js +17 -2106
- package/dist/es/{DropDown-60a426a2.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-08bb1bcf.js → Input-c9d757bc.js} +2 -2
- 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-9faa87f1.js +1400 -0
- package/dist/es/install.js +35 -43
- 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/SingleList.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
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 '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, g as getComponent, n as isEvent, 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, g as getComponent, n as isEvent, 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, R as Radio } from './FormControlList-
|
|
18
|
-
import { g as getAggsQuery } from './utils-
|
|
17
|
+
import { U as UL, R as Radio } 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/SingleRange.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Actions, helper } from '@appbaseio/reactivecore';
|
|
2
|
-
import './_rollupPluginBabelHelpers-
|
|
2
|
+
import './_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 { 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, R as Radio } from './FormControlList-
|
|
11
|
+
import { 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, R as Radio } from './FormControlList-38ffe3d3.js';
|
|
16
16
|
|
|
17
17
|
var updateQuery = Actions.updateQuery,
|
|
18
18
|
setQueryOptions = Actions.setQueryOptions,
|
|
@@ -133,7 +133,7 @@ var SingleRange = {
|
|
|
133
133
|
props = this.$props;
|
|
134
134
|
}
|
|
135
135
|
|
|
136
|
-
var currentValue = SingleRange.parseValue(value, props);
|
|
136
|
+
var currentValue = typeof value === 'string' ? SingleRange.parseValue(value, props) : value;
|
|
137
137
|
|
|
138
138
|
var performUpdate = function performUpdate() {
|
|
139
139
|
_this2.currentValue = currentValue;
|
package/dist/es/StateProvider.js
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import { 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
|
+
import { isInternalComponent } from '@appbaseio/reactivecore/lib/utils/transform';
|
|
5
6
|
import 'redux';
|
|
6
|
-
import { c as connect } from './index-
|
|
7
|
+
import { c as connect } from './index-5371a13f.js';
|
|
8
|
+
import { setValues } from '@appbaseio/reactivecore/lib/actions/value';
|
|
7
9
|
|
|
8
10
|
var getSearchState = helper.getSearchState;
|
|
9
11
|
var defaultKeys = ['hits', 'value', 'aggregations', 'error'];
|
|
@@ -147,13 +149,32 @@ var StateProvider = {
|
|
|
147
149
|
if (this.isStateChanged(newVal, oldVal)) {
|
|
148
150
|
this.searchState = filterByKeys(getSearchState(filterProps(this.searchStateProps)), this.includeKeys);
|
|
149
151
|
}
|
|
152
|
+
},
|
|
153
|
+
setSearchState: function setSearchState(valuesMap) {
|
|
154
|
+
if (valuesMap === void 0) {
|
|
155
|
+
valuesMap = {};
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
var components = this.components;
|
|
159
|
+
var computedValuesMap = {};
|
|
160
|
+
components.filter(function (component) {
|
|
161
|
+
return !isInternalComponent(component);
|
|
162
|
+
}).forEach(function (component) {
|
|
163
|
+
if (component in valuesMap) {
|
|
164
|
+
computedValuesMap[component] = valuesMap[component];
|
|
165
|
+
} else {
|
|
166
|
+
computedValuesMap[component] = null;
|
|
167
|
+
}
|
|
168
|
+
});
|
|
169
|
+
this.setValues(computedValuesMap);
|
|
150
170
|
}
|
|
151
171
|
},
|
|
152
172
|
render: function render() {
|
|
153
173
|
var searchState = this.searchState;
|
|
154
174
|
var dom = this.$scopedSlots["default"];
|
|
155
175
|
return dom ? dom({
|
|
156
|
-
searchState: searchState
|
|
176
|
+
searchState: searchState,
|
|
177
|
+
setSearchState: this.setSearchState
|
|
157
178
|
}) : null;
|
|
158
179
|
}
|
|
159
180
|
};
|
|
@@ -171,11 +192,15 @@ var mapStateToProps = function mapStateToProps(state, props) {
|
|
|
171
192
|
promotedResults: filterByComponentIds(state.promotedResults, props),
|
|
172
193
|
customData: filterByComponentIds(state.customData, props),
|
|
173
194
|
settings: filterByComponentIds(state.settings, props),
|
|
174
|
-
rawData: filterByComponentIds(state.rawData, props)
|
|
195
|
+
rawData: filterByComponentIds(state.rawData, props),
|
|
196
|
+
components: filterByComponentIds(state.components, props)
|
|
175
197
|
};
|
|
176
198
|
};
|
|
177
199
|
|
|
178
|
-
var
|
|
200
|
+
var mapDispatchtoProps = {
|
|
201
|
+
setValues: setValues
|
|
202
|
+
};
|
|
203
|
+
var StateProviderConnected = connect(mapStateToProps, mapDispatchtoProps)(StateProvider);
|
|
179
204
|
|
|
180
205
|
StateProvider.install = function (Vue) {
|
|
181
206
|
Vue.component(StateProvider.name, StateProviderConnected);
|
package/dist/es/ToggleButton.js
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { Actions, helper } from '@appbaseio/reactivecore';
|
|
2
|
-
import './_rollupPluginBabelHelpers-
|
|
2
|
+
import './_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 { B as Button, t as toggleButtons } from './Button-
|
|
8
|
+
import { B as Button, t as toggleButtons } 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, i as isQueryIdentical, c as connect } from './index-
|
|
13
|
-
import { C as ComponentWrapper } from './ComponentWrapper-
|
|
14
|
-
import { T as Title } from './Title-
|
|
15
|
-
import { C as Container } from './Container-
|
|
12
|
+
import { f as updateCustomQuery, i as isQueryIdentical, c as connect } from './index-5371a13f.js';
|
|
13
|
+
import { C as ComponentWrapper } from './ComponentWrapper-dc92772a.js';
|
|
14
|
+
import { T as Title } from './Title-35edd732.js';
|
|
15
|
+
import { C as Container } from './Container-421450dc.js';
|
|
16
16
|
|
|
17
17
|
var updateQuery = Actions.updateQuery,
|
|
18
18
|
setQueryOptions = Actions.setQueryOptions,
|
|
@@ -26,6 +26,7 @@ var ToggleButton = {
|
|
|
26
26
|
name: 'ToggleButton',
|
|
27
27
|
props: {
|
|
28
28
|
componentId: types.stringRequired,
|
|
29
|
+
customQuery: types.func,
|
|
29
30
|
data: types.data,
|
|
30
31
|
dataField: types.stringRequired,
|
|
31
32
|
defaultValue: types.any,
|
package/dist/es/{_rollupPluginBabelHelpers-0f24d612.js → _rollupPluginBabelHelpers-51ce1182.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
function _extends() {
|
|
2
|
-
_extends = Object.assign
|
|
2
|
+
_extends = Object.assign ? Object.assign.bind() : function (target) {
|
|
3
3
|
for (var i = 1; i < arguments.length; i++) {
|
|
4
4
|
var source = arguments[i];
|
|
5
5
|
|
|
@@ -12,7 +12,6 @@ function _extends() {
|
|
|
12
12
|
|
|
13
13
|
return target;
|
|
14
14
|
};
|
|
15
|
-
|
|
16
15
|
return _extends.apply(this, arguments);
|
|
17
16
|
}
|
|
18
17
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { helper } from '@appbaseio/reactivecore';
|
|
2
|
-
import { a as _extends } from './_rollupPluginBabelHelpers-
|
|
2
|
+
import { a as _extends } from './_rollupPluginBabelHelpers-51ce1182.js';
|
|
3
3
|
import { validProps } from '@appbaseio/reactivecore/lib/utils/constants';
|
|
4
4
|
import { bindActionCreators } from 'redux';
|
|
5
5
|
|
package/dist/es/index.js
CHANGED
|
@@ -1,40 +1,42 @@
|
|
|
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';
|
|
6
6
|
import 'emotion';
|
|
7
7
|
import '@appbaseio/vue-emotion';
|
|
8
8
|
import 'polished';
|
|
9
|
-
import './Button-
|
|
9
|
+
import './Button-e18ad90f.js';
|
|
10
10
|
import './vueTypes-687b2304.js';
|
|
11
11
|
export { default as ReactiveList } from './ReactiveList.js';
|
|
12
12
|
import '@appbaseio/reactivecore/lib/utils/transform';
|
|
13
13
|
import 'redux';
|
|
14
|
-
import './index-
|
|
15
|
-
import './ComponentWrapper-
|
|
14
|
+
import './index-5371a13f.js';
|
|
15
|
+
import './ComponentWrapper-dc92772a.js';
|
|
16
16
|
import '@vue/babel-helper-vue-jsx-merge-props';
|
|
17
|
-
import './Title-
|
|
18
|
-
import './ListItem-
|
|
19
|
-
import './Card-
|
|
20
|
-
import './Flex-
|
|
17
|
+
import './Title-35edd732.js';
|
|
18
|
+
import './ListItem-41d6ddd7.js';
|
|
19
|
+
import './Card-ad6ba09f.js';
|
|
20
|
+
import './Flex-09d40927.js';
|
|
21
21
|
import '@appbaseio/reactivecore/lib/actions/analytics';
|
|
22
22
|
import 'appbase-js';
|
|
23
23
|
import 'url-search-params-polyfill';
|
|
24
24
|
export { default as ReactiveBase } from './ReactiveBase.js';
|
|
25
25
|
import 'hotkeys-js';
|
|
26
|
-
export {
|
|
27
|
-
import './CancelSvg-
|
|
28
|
-
import './Input-
|
|
26
|
+
export { D as DataSearch } from './DataSearch-8e5d0972.js';
|
|
27
|
+
import './CancelSvg-e3b33cdd.js';
|
|
28
|
+
import './Input-c9d757bc.js';
|
|
29
29
|
import 'compute-scroll-into-view';
|
|
30
|
-
import './Container-
|
|
30
|
+
import './Container-421450dc.js';
|
|
31
31
|
import 'vue-highlight-words';
|
|
32
|
+
import { i as install } from './install-9faa87f1.js';
|
|
33
|
+
export { S as SearchBox, i as install } from './install-9faa87f1.js';
|
|
32
34
|
import '@appbaseio/reactivecore/lib/utils/suggestions';
|
|
33
|
-
import './FormControlList-
|
|
34
|
-
import './utils-
|
|
35
|
+
import './FormControlList-38ffe3d3.js';
|
|
36
|
+
import './utils-9b45e0ab.js';
|
|
35
37
|
export { default as SingleList } from './SingleList.js';
|
|
36
38
|
export { default as MultiList } from './MultiList.js';
|
|
37
|
-
import './DropDown-
|
|
39
|
+
import './DropDown-565fad6f.js';
|
|
38
40
|
export { default as SingleDropdownList } from './SingleDropdownList.js';
|
|
39
41
|
export { default as MultiDropdownList } from './MultiDropdownList.js';
|
|
40
42
|
export { default as ToggleButton } from './ToggleButton.js';
|
|
@@ -45,9 +47,10 @@ export { default as MultiRange } from './MultiRange.js';
|
|
|
45
47
|
export { default as ResultCard } from './ResultCard.js';
|
|
46
48
|
export { default as ResultList } from './ResultList.js';
|
|
47
49
|
import 'vue-no-ssr';
|
|
48
|
-
import './ssr-
|
|
50
|
+
import './ssr-ad57b0ad.js';
|
|
49
51
|
export { default as RangeSlider } from './RangeSlider.js';
|
|
50
52
|
export { default as DynamicRangeSlider } from './DynamicRangeSlider.js';
|
|
53
|
+
import '@appbaseio/reactivecore/lib/actions/value';
|
|
51
54
|
export { default as StateProvider } from './StateProvider.js';
|
|
52
55
|
import '@appbaseio/reactivecore/lib/reducers/valueReducer';
|
|
53
56
|
import '@appbaseio/reactivecore/lib/reducers/queryReducer';
|
|
@@ -61,8 +64,6 @@ export { default as initReactivesearch } from './initReactivesearch.js';
|
|
|
61
64
|
import version from './version.js';
|
|
62
65
|
export { default as version } from './version.js';
|
|
63
66
|
export { default as RangeInput } from './RangeInput.js';
|
|
64
|
-
import install from './install.js';
|
|
65
|
-
export { default as install } from './install.js';
|
|
66
67
|
|
|
67
68
|
// Add polyfills to support in IE
|
|
68
69
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as _extends, b as _objectWithoutPropertiesLoose } from './_rollupPluginBabelHelpers-
|
|
1
|
+
import { a as _extends, b as _objectWithoutPropertiesLoose } from './_rollupPluginBabelHelpers-51ce1182.js';
|
|
2
2
|
import { validProps, componentTypes } from '@appbaseio/reactivecore/lib/utils/constants';
|
|
3
3
|
import { pushToAndClause, buildQuery, extractQueryFromCustomQuery, getOptionsForCustomQuery } from '@appbaseio/reactivecore/lib/utils/helper';
|
|
4
4
|
import { isSearchComponent, getRSQuery, extractPropsFromState, getDependentQueries } from '@appbaseio/reactivecore/lib/utils/transform';
|
|
@@ -331,7 +331,7 @@ function initReactivesearch(componentCollection, searchState, settings) {
|
|
|
331
331
|
queryLog = _extends({}, queryLog, (_extends2 = {}, _extends2[component.componentId] = currentQuery, _extends2));
|
|
332
332
|
|
|
333
333
|
if (settings.enableAppbase) {
|
|
334
|
-
var query = getRSQuery(component.componentId, extractPropsFromState(state, component.componentId, queryOptions && queryOptions[component.componentId] ? {
|
|
334
|
+
var query = getRSQuery(component.componentId, extractPropsFromState(state, component.componentId, queryOptions && Object.keys(queryOptions[component.componentId]).length ? {
|
|
335
335
|
from: queryOptions[component.componentId].from
|
|
336
336
|
} : null));
|
|
337
337
|
|