@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.
- package/dist/@appbaseio/reactivesearch-vue.umd.js +12 -2
- 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/DataSearch.js +4 -1
- package/dist/cjs/ReactiveGoogleMap.js +8 -0
- package/dist/cjs/version.js +1 -1
- package/dist/es/DataSearch.js +4 -1
- package/dist/es/ReactiveGoogleMap.js +8 -0
- package/dist/es/version.js +1 -1
- package/package.json +1 -1
package/dist/cjs/DataSearch.js
CHANGED
|
@@ -625,7 +625,10 @@ var DataSearch = {
|
|
|
625
625
|
},
|
|
626
626
|
clearValue: function clearValue() {
|
|
627
627
|
this.isPending = false;
|
|
628
|
-
this.
|
|
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;
|
package/dist/cjs/version.js
CHANGED
package/dist/es/DataSearch.js
CHANGED
|
@@ -618,7 +618,10 @@ var DataSearch = {
|
|
|
618
618
|
},
|
|
619
619
|
clearValue: function clearValue() {
|
|
620
620
|
this.isPending = false;
|
|
621
|
-
this.
|
|
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;
|
package/dist/es/version.js
CHANGED