@appbaseio/reactivesearch-vue 1.16.0-alpha.46 → 1.16.0-alpha.49

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.
@@ -33,6 +33,7 @@ var SelectedFilters = {
33
33
  showClearAll: VueTypes.bool.def(true),
34
34
  title: vueTypes.types.title,
35
35
  resetToDefault: VueTypes.bool.def(false),
36
+ clearAllBlacklistComponents: VueTypes.array,
36
37
  resetToValues: VueTypes.object
37
38
  },
38
39
  inject: {
@@ -87,12 +88,13 @@ var SelectedFilters = {
87
88
  },
88
89
  clearValues: function clearValues() {
89
90
  var resetToDefault = this.resetToDefault,
90
- resetToValues = this.resetToValues;
91
+ resetToValues = this.resetToValues,
92
+ clearAllBlacklistComponents = this.clearAllBlacklistComponents;
91
93
 
92
94
  if (resetToDefault) {
93
- this.resetValuesToDefault();
95
+ this.resetValuesToDefault(clearAllBlacklistComponents);
94
96
  } else {
95
- this.clearValuesAction(resetToValues);
97
+ this.clearValuesAction(resetToValues, clearAllBlacklistComponents);
96
98
  }
97
99
 
98
100
  this.$emit('clear', resetToValues);
@@ -502,7 +502,6 @@ function initReactivesearch(componentCollection, searchState, settings) {
502
502
  rsAPISettings.customEvents = utils.isPropertyDefined(config.analyticsConfig.customEvents) ? config.analyticsConfig.customEvents : undefined;
503
503
  }
504
504
 
505
- console.log('FINAL QUERY', JSON.stringify(finalQuery));
506
505
  appbaseRef.reactiveSearchv3(finalQuery, rsAPISettings).then(function (res) {
507
506
  handleRSResponse(res);
508
507
  })["catch"](function (err) {
@@ -2,6 +2,6 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var version = "1.16.0-alpha.46";
5
+ var version = "1.16.0-alpha.49";
6
6
 
7
7
  exports.default = version;
@@ -26,6 +26,7 @@ var SelectedFilters = {
26
26
  showClearAll: VueTypes.bool.def(true),
27
27
  title: types.title,
28
28
  resetToDefault: VueTypes.bool.def(false),
29
+ clearAllBlacklistComponents: VueTypes.array,
29
30
  resetToValues: VueTypes.object
30
31
  },
31
32
  inject: {
@@ -80,12 +81,13 @@ var SelectedFilters = {
80
81
  },
81
82
  clearValues: function clearValues() {
82
83
  var resetToDefault = this.resetToDefault,
83
- resetToValues = this.resetToValues;
84
+ resetToValues = this.resetToValues,
85
+ clearAllBlacklistComponents = this.clearAllBlacklistComponents;
84
86
 
85
87
  if (resetToDefault) {
86
- this.resetValuesToDefault();
88
+ this.resetValuesToDefault(clearAllBlacklistComponents);
87
89
  } else {
88
- this.clearValuesAction(resetToValues);
90
+ this.clearValuesAction(resetToValues, clearAllBlacklistComponents);
89
91
  }
90
92
 
91
93
  this.$emit('clear', resetToValues);
@@ -496,7 +496,6 @@ function initReactivesearch(componentCollection, searchState, settings) {
496
496
  rsAPISettings.customEvents = isPropertyDefined(config.analyticsConfig.customEvents) ? config.analyticsConfig.customEvents : undefined;
497
497
  }
498
498
 
499
- console.log('FINAL QUERY', JSON.stringify(finalQuery));
500
499
  appbaseRef.reactiveSearchv3(finalQuery, rsAPISettings).then(function (res) {
501
500
  handleRSResponse(res);
502
501
  })["catch"](function (err) {
@@ -1,3 +1,3 @@
1
- var version = "1.16.0-alpha.46";
1
+ var version = "1.16.0-alpha.49";
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.46",
3
+ "version": "1.16.0-alpha.49",
4
4
  "private": false,
5
5
  "main": "dist/cjs/index.js",
6
6
  "jsnext:main": "dist/es/index.js",
@@ -48,8 +48,8 @@
48
48
  "url-search-params-polyfill": "^7.0.0",
49
49
  "vue-highlight-words": "^1.2.0",
50
50
  "vue-no-ssr": "^1.1.0",
51
- "vue-types": "^1.7.0",
52
- "vue-slider-component": "^3.2.15"
51
+ "vue-slider-component": "^3.2.15",
52
+ "vue-types": "^1.7.0"
53
53
  },
54
54
  "peerDependencies": {
55
55
  "vue": "^2.6.10"