@appbaseio/reactivesearch-vue 1.16.0-alpha.42 → 1.16.0-alpha.45

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) {
@@ -1,3 +1,3 @@
1
- var version = "1.16.0-alpha.42";
1
+ var version = "1.16.0-alpha.45";
2
2
 
3
3
  export default version;
package/package.json CHANGED
@@ -1,88 +1,88 @@
1
1
  {
2
- "name": "@appbaseio/reactivesearch-vue",
3
- "version": "1.16.0-alpha.42",
4
- "private": false,
5
- "main": "dist/cjs/index.js",
6
- "jsnext:main": "dist/es/index.js",
7
- "module": "dist/es/index.js",
8
- "description": "A Vue UI components library for building search experiences",
9
- "keywords": [
10
- "appbase",
11
- "elasticsearch",
12
- "search"
13
- ],
14
- "repository": {
15
- "type": "git",
16
- "url": "https://github.com/appbaseio/reactivesearch.git"
17
- },
18
- "author": "Kuldeep Saxena <kuldepsaxena155@gmail.com>",
19
- "license": "Apache-2.0",
20
- "scripts": {
21
- "watch": "nps watch",
22
- "serve": "vue-cli-service serve",
23
- "build": "vue-cli-service build",
24
- "start": "nps",
25
- "pretest": "nps build",
26
- "test": "nps test",
27
- "precommit": "lint-staged",
28
- "prepare": "npm start validate",
29
- "version-upgrade": "nps upgrade-vue -c ../../package-scripts.js",
30
- "postpublish": "yarn run version-upgrade"
31
- },
32
- "files": [
33
- "dist"
34
- ],
35
- "sideEffects": false,
36
- "dependencies": {
37
- "@appbaseio/reactivecore": "9.14.1",
38
- "@appbaseio/vue-emotion": "0.4.4",
39
- "@vue/babel-helper-vue-jsx-merge-props": "^1.0.0",
40
- "appbase-js": "^5.0.0",
41
- "compute-scroll-into-view": "^1.0.11",
42
- "emotion": "9.2.12",
43
- "gmap-vue": "^1.5.0",
44
- "ngeohash": "^0.6.3",
45
- "hotkeys-js": "^3.8.7",
46
- "polished": "^2.2.0",
47
- "redux": "^4.0.0",
48
- "url-search-params-polyfill": "^7.0.0",
49
- "vue-highlight-words": "^1.2.0",
50
- "vue-no-ssr": "^1.1.0",
51
- "vue-types": "^1.7.0",
52
- "vue-slider-component": "^3.2.15"
53
- },
54
- "peerDependencies": {
55
- "vue": "^2.6.10"
56
- },
57
- "devDependencies": {
58
- "@babel/plugin-external-helpers": "^7.2.0",
59
- "@babel/plugin-proposal-class-properties": "^7.5.5",
60
- "@babel/plugin-proposal-json-strings": "^7.2.0",
61
- "@babel/plugin-syntax-dynamic-import": "^7.2.0",
62
- "@babel/plugin-syntax-import-meta": "^7.2.0",
63
- "@babel/plugin-syntax-jsx": "^7.2.0",
64
- "@babel/preset-env": "^7.5.5",
65
- "@babel/preset-stage-2": "^7.0.0",
66
- "@vue/babel-preset-jsx": "^1.1.0",
67
- "@vue/compiler-sfc": "^3.0.11",
68
- "eslint-config-airbnb-base": "^13.1.0",
69
- "eslint-config-prettier": "^3.1.0",
70
- "eslint-plugin-vue": "^4.7.1",
71
- "eslint": "^4.12.0",
72
- "nps": "^5.9.3",
73
- "nps-utils": "^1.7.0",
74
- "postcss": "^8.3.0",
75
- "rollup": "^1.20.3",
76
- "rollup-plugin-babel": "^4.3.3",
77
- "rollup-plugin-commonjs": "^10.1.0",
78
- "rollup-plugin-json": "^4.0.0",
79
- "rollup-plugin-node-builtins": "^2.1.2",
80
- "rollup-plugin-node-globals": "^1.4.0",
81
- "rollup-plugin-node-resolve": "^5.2.0",
82
- "rollup-plugin-postcss": "^4.0.0",
83
- "rollup-plugin-replace": "^2.2.0",
84
- "rollup-plugin-terser": "^5.1.1",
85
- "rollup-plugin-vue": "^6.0.0",
86
- "vue-eslint-parser": "^3.2.2"
87
- }
88
- }
2
+ "name": "@appbaseio/reactivesearch-vue",
3
+ "version": "1.16.0-alpha.45",
4
+ "private": false,
5
+ "main": "dist/cjs/index.js",
6
+ "jsnext:main": "dist/es/index.js",
7
+ "module": "dist/es/index.js",
8
+ "description": "A Vue UI components library for building search experiences",
9
+ "keywords": [
10
+ "appbase",
11
+ "elasticsearch",
12
+ "search"
13
+ ],
14
+ "repository": {
15
+ "type": "git",
16
+ "url": "https://github.com/appbaseio/reactivesearch.git"
17
+ },
18
+ "author": "Kuldeep Saxena <kuldepsaxena155@gmail.com>",
19
+ "license": "Apache-2.0",
20
+ "scripts": {
21
+ "watch": "nps watch",
22
+ "serve": "vue-cli-service serve",
23
+ "build": "vue-cli-service build",
24
+ "start": "nps",
25
+ "pretest": "nps build",
26
+ "test": "nps test",
27
+ "precommit": "lint-staged",
28
+ "prepare": "npm start validate",
29
+ "version-upgrade": "nps upgrade-vue -c ../../package-scripts.js",
30
+ "postpublish": "yarn run version-upgrade"
31
+ },
32
+ "files": [
33
+ "dist"
34
+ ],
35
+ "sideEffects": false,
36
+ "dependencies": {
37
+ "@appbaseio/reactivecore": "9.14.2",
38
+ "@appbaseio/vue-emotion": "0.4.4",
39
+ "@vue/babel-helper-vue-jsx-merge-props": "^1.0.0",
40
+ "appbase-js": "^5.0.0",
41
+ "compute-scroll-into-view": "^1.0.11",
42
+ "emotion": "9.2.12",
43
+ "gmap-vue": "^1.5.0",
44
+ "ngeohash": "^0.6.3",
45
+ "hotkeys-js": "^3.8.7",
46
+ "polished": "^2.2.0",
47
+ "redux": "^4.0.0",
48
+ "url-search-params-polyfill": "^7.0.0",
49
+ "vue-highlight-words": "^1.2.0",
50
+ "vue-no-ssr": "^1.1.0",
51
+ "vue-types": "^1.7.0",
52
+ "vue-slider-component": "^3.2.15"
53
+ },
54
+ "peerDependencies": {
55
+ "vue": "^2.6.10"
56
+ },
57
+ "devDependencies": {
58
+ "@babel/plugin-external-helpers": "^7.2.0",
59
+ "@babel/plugin-proposal-class-properties": "^7.5.5",
60
+ "@babel/plugin-proposal-json-strings": "^7.2.0",
61
+ "@babel/plugin-syntax-dynamic-import": "^7.2.0",
62
+ "@babel/plugin-syntax-import-meta": "^7.2.0",
63
+ "@babel/plugin-syntax-jsx": "^7.2.0",
64
+ "@babel/preset-env": "^7.5.5",
65
+ "@babel/preset-stage-2": "^7.0.0",
66
+ "@vue/babel-preset-jsx": "^1.1.0",
67
+ "@vue/compiler-sfc": "^3.0.11",
68
+ "eslint-config-airbnb-base": "^13.1.0",
69
+ "eslint-config-prettier": "^3.1.0",
70
+ "eslint-plugin-vue": "^4.7.1",
71
+ "eslint": "^4.12.0",
72
+ "nps": "^5.9.3",
73
+ "nps-utils": "^1.7.0",
74
+ "postcss": "^8.3.0",
75
+ "rollup": "^1.20.3",
76
+ "rollup-plugin-babel": "^4.3.3",
77
+ "rollup-plugin-commonjs": "^10.1.0",
78
+ "rollup-plugin-json": "^4.0.0",
79
+ "rollup-plugin-node-builtins": "^2.1.2",
80
+ "rollup-plugin-node-globals": "^1.4.0",
81
+ "rollup-plugin-node-resolve": "^5.2.0",
82
+ "rollup-plugin-postcss": "^4.0.0",
83
+ "rollup-plugin-replace": "^2.2.0",
84
+ "rollup-plugin-terser": "^5.1.1",
85
+ "rollup-plugin-vue": "^6.0.0",
86
+ "vue-eslint-parser": "^3.2.2"
87
+ }
88
+ }