@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.
@@ -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({}, componentQueryOptions, options)
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) {
@@ -1,3 +1,3 @@
1
- var version = "1.16.0-alpha.44";
1
+ var version = "1.16.0-alpha.47";
2
2
 
3
3
  export default version;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@appbaseio/reactivesearch-vue",
3
- "version": "1.16.0-alpha.44",
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.1",
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",