@appbaseio/reactivesearch-vue 1.36.3 → 1.36.5

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.
@@ -625,7 +625,10 @@ var DataSearch = {
625
625
  },
626
626
  clearValue: function clearValue() {
627
627
  this.isPending = false;
628
- this.setValue('', true);
628
+ if (!this.$props.enableDefaultSuggestions) {
629
+ this.isOpen = false;
630
+ }
631
+ this.setValue('', false);
629
632
  this.onValueSelectedHandler('', configureStore.causes.CLEAR_VALUE);
630
633
  },
631
634
  handleKeyDown: function handleKeyDown(event, highlightedIndex) {
@@ -9,6 +9,7 @@ var configureStore__default = _interopDefault(configureStore);
9
9
  var constants = require('@appbaseio/reactivecore/lib/utils/constants');
10
10
  var _rollupPluginBabelHelpers = require('./_rollupPluginBabelHelpers-f8b843f8.js');
11
11
  var VueTypes = _interopDefault(require('vue-types'));
12
+ var helper = require('@appbaseio/reactivecore/lib/utils/helper');
12
13
  require('emotion');
13
14
  var styled = require('@appbaseio/vue-emotion');
14
15
  var styled__default = _interopDefault(styled);
@@ -1690,6 +1691,13 @@ var GoogleMapMarker = {
1690
1691
  markerIcon: null
1691
1692
  };
1692
1693
  },
1694
+ watch: {
1695
+ marker: function marker(newVal, oldVal) {
1696
+ if (!helper.isEqual(newVal, oldVal)) {
1697
+ this.markerIcon = null;
1698
+ }
1699
+ }
1700
+ },
1693
1701
  methods: {
1694
1702
  setIcon: function setIcon(icon) {
1695
1703
  this.markerIcon = icon;
@@ -2,6 +2,6 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var version = "1.36.3";
5
+ var version = "1.36.5";
6
6
 
7
7
  exports.default = version;
@@ -618,7 +618,10 @@ var DataSearch = {
618
618
  },
619
619
  clearValue: function clearValue() {
620
620
  this.isPending = false;
621
- this.setValue('', true);
621
+ if (!this.$props.enableDefaultSuggestions) {
622
+ this.isOpen = false;
623
+ }
624
+ this.setValue('', false);
622
625
  this.onValueSelectedHandler('', causes.CLEAR_VALUE);
623
626
  },
624
627
  handleKeyDown: function handleKeyDown(event, highlightedIndex) {
@@ -2,6 +2,7 @@ import { Actions, helper } from '@appbaseio/reactivecore';
2
2
  import { componentTypes } from '@appbaseio/reactivecore/lib/utils/constants';
3
3
  import { a as _extends, b as _objectWithoutPropertiesLoose, c as _toPropertyKey, d as _inheritsLoose, _ as _taggedTemplateLiteralLoose } from './_rollupPluginBabelHelpers-ded08042.js';
4
4
  import VueTypes from 'vue-types';
5
+ import { isEqual as isEqual$2 } from '@appbaseio/reactivecore/lib/utils/helper';
5
6
  import 'emotion';
6
7
  import styled, { css } from '@appbaseio/vue-emotion';
7
8
  import 'polished';
@@ -1681,6 +1682,13 @@ var GoogleMapMarker = {
1681
1682
  markerIcon: null
1682
1683
  };
1683
1684
  },
1685
+ watch: {
1686
+ marker: function marker(newVal, oldVal) {
1687
+ if (!isEqual$2(newVal, oldVal)) {
1688
+ this.markerIcon = null;
1689
+ }
1690
+ }
1691
+ },
1684
1692
  methods: {
1685
1693
  setIcon: function setIcon(icon) {
1686
1694
  this.markerIcon = icon;
@@ -1,3 +1,3 @@
1
- var version = "1.36.3";
1
+ var version = "1.36.5";
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.36.3",
3
+ "version": "1.36.5",
4
4
  "private": false,
5
5
  "main": "dist/cjs/index.js",
6
6
  "jsnext:main": "dist/es/index.js",