@appbaseio/reactivesearch-vue 1.16.0-alpha.44 → 1.16.0-alpha.47
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 +41 -59
- package/dist/@appbaseio/reactivesearch-vue.umd.js.map +1 -1
- package/dist/@appbaseio/reactivesearch-vue.umd.min.js +2 -2
- package/dist/@appbaseio/reactivesearch-vue.umd.min.js.map +1 -1
- package/dist/cjs/DynamicRangeSlider.js +2 -3
- package/dist/cjs/MultiDropdownList.js +5 -7
- package/dist/cjs/MultiList.js +5 -7
- package/dist/cjs/MultiRange.js +2 -3
- package/dist/cjs/RangeSlider.js +2 -3
- package/dist/cjs/ReactiveComponent.js +8 -2
- package/dist/cjs/SingleDropdownList.js +5 -7
- package/dist/cjs/SingleList.js +5 -7
- package/dist/cjs/SingleRange.js +2 -3
- package/dist/cjs/initReactivesearch.js +3 -15
- package/dist/cjs/version.js +1 -1
- package/dist/es/DynamicRangeSlider.js +2 -3
- package/dist/es/MultiDropdownList.js +5 -7
- package/dist/es/MultiList.js +5 -7
- package/dist/es/MultiRange.js +2 -3
- package/dist/es/RangeSlider.js +2 -3
- package/dist/es/ReactiveComponent.js +8 -2
- package/dist/es/SingleDropdownList.js +5 -7
- package/dist/es/SingleList.js +5 -7
- package/dist/es/SingleRange.js +2 -3
- package/dist/es/initReactivesearch.js +3 -15
- package/dist/es/version.js +1 -1
- package/package.json +2 -2
|
@@ -14,8 +14,7 @@ import { isPropertyDefined } from '@appbaseio/reactivecore/lib/actions/utils';
|
|
|
14
14
|
|
|
15
15
|
var _excluded = ["aggs", "size"],
|
|
16
16
|
_excluded2 = ["query"],
|
|
17
|
-
_excluded3 = ["query"]
|
|
18
|
-
_excluded4 = ["aggs", "size"];
|
|
17
|
+
_excluded3 = ["query"];
|
|
19
18
|
var X_SEARCH_CLIENT = 'ReactiveSearch Vue';
|
|
20
19
|
var componentsWithoutFilters = [componentTypes.numberBox, componentTypes.ratingsFilter];
|
|
21
20
|
var resultComponents = [componentTypes.reactiveList, componentTypes.reactiveMap];
|
|
@@ -285,7 +284,7 @@ function initReactivesearch(componentCollection, searchState, settings) {
|
|
|
285
284
|
queryOptions = queryOptionsReducer(queryOptions, {
|
|
286
285
|
type: 'SET_QUERY_OPTIONS',
|
|
287
286
|
component: component.componentId,
|
|
288
|
-
options: _extends({},
|
|
287
|
+
options: _extends({}, options)
|
|
289
288
|
}); // Set component type in component props
|
|
290
289
|
|
|
291
290
|
compProps.componentType = componentType;
|
|
@@ -310,18 +309,6 @@ function initReactivesearch(componentCollection, searchState, settings) {
|
|
|
310
309
|
options = _buildQuery.options;
|
|
311
310
|
|
|
312
311
|
var componentQueryOptions = options;
|
|
313
|
-
var componentType = component.source.componentType;
|
|
314
|
-
|
|
315
|
-
if (componentType !== componentTypes.reactiveComponent) {
|
|
316
|
-
// don't merge aggs, size
|
|
317
|
-
var _ref4 = options || {},
|
|
318
|
-
aggs = _ref4.aggs,
|
|
319
|
-
size = _ref4.size,
|
|
320
|
-
rest = _objectWithoutPropertiesLoose(_ref4, _excluded4);
|
|
321
|
-
|
|
322
|
-
componentQueryOptions = rest;
|
|
323
|
-
}
|
|
324
|
-
|
|
325
312
|
var validOptions = ['aggs', 'from', 'sort']; // check if query or componentQueryOptions are valid - non-empty
|
|
326
313
|
|
|
327
314
|
if (queryObj && !!Object.keys(queryObj).length || componentQueryOptions && Object.keys(componentQueryOptions).some(function (item) {
|
|
@@ -509,6 +496,7 @@ function initReactivesearch(componentCollection, searchState, settings) {
|
|
|
509
496
|
rsAPISettings.customEvents = isPropertyDefined(config.analyticsConfig.customEvents) ? config.analyticsConfig.customEvents : undefined;
|
|
510
497
|
}
|
|
511
498
|
|
|
499
|
+
console.log('FINAL QUERY', JSON.stringify(finalQuery));
|
|
512
500
|
appbaseRef.reactiveSearchv3(finalQuery, rsAPISettings).then(function (res) {
|
|
513
501
|
handleRSResponse(res);
|
|
514
502
|
})["catch"](function (err) {
|
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.16.0-alpha.
|
|
3
|
+
"version": "1.16.0-alpha.47",
|
|
4
4
|
"private": false,
|
|
5
5
|
"main": "dist/cjs/index.js",
|
|
6
6
|
"jsnext:main": "dist/es/index.js",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
],
|
|
35
35
|
"sideEffects": false,
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@appbaseio/reactivecore": "9.14.
|
|
37
|
+
"@appbaseio/reactivecore": "9.14.3",
|
|
38
38
|
"@appbaseio/vue-emotion": "0.4.4",
|
|
39
39
|
"@vue/babel-helper-vue-jsx-merge-props": "^1.0.0",
|
|
40
40
|
"appbase-js": "^5.0.0",
|