@appbaseio/reactivesearch-vue 1.35.4 → 1.36.0
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 +26307 -34973
- package/dist/@appbaseio/reactivesearch-vue.umd.js.map +1 -1
- package/dist/@appbaseio/reactivesearch-vue.umd.min.js +42 -42
- package/dist/@appbaseio/reactivesearch-vue.umd.min.js.map +1 -1
- package/dist/cjs/DataSearch.js +1 -1
- package/dist/cjs/ReactiveComponent.js +2 -1
- package/dist/cjs/ReactiveComponentPrivate.js +1 -1
- package/dist/cjs/index.js +1 -1
- package/dist/cjs/install.js +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/es/DataSearch.js +1 -1
- package/dist/es/ReactiveComponent.js +2 -1
- package/dist/es/ReactiveComponentPrivate.js +1 -1
- package/dist/es/index.js +1 -1
- package/dist/es/install.js +1 -1
- package/dist/es/version.js +1 -1
- package/package.json +1 -1
- /package/dist/cjs/{ReactiveComponentPrivate-1f2d132b.js → ReactiveComponentPrivate-04f3bf64.js} +0 -0
- /package/dist/es/{ReactiveComponentPrivate-7867affa.js → ReactiveComponentPrivate-a774148b.js} +0 -0
package/dist/cjs/DataSearch.js
CHANGED
|
@@ -508,7 +508,7 @@ var DataSearch = {
|
|
|
508
508
|
_this.$emit('suggestions', _this.suggestions);
|
|
509
509
|
} else if (!value) {
|
|
510
510
|
// reset suggestions
|
|
511
|
-
|
|
511
|
+
_this.normalizedSuggestions = [];
|
|
512
512
|
// invoke on suggestions
|
|
513
513
|
_this.$emit('suggestions', _this.suggestions);
|
|
514
514
|
}
|
|
@@ -56,6 +56,7 @@ var ReactiveComponent = {
|
|
|
56
56
|
var props = this.$props;
|
|
57
57
|
this.internalComponent = null;
|
|
58
58
|
this.$defaultQuery = null;
|
|
59
|
+
this.currentValue = this.selectedValue;
|
|
59
60
|
// Set custom query in store
|
|
60
61
|
index.updateCustomQuery(this.componentId, this.setCustomQuery, this.$props, this.selectedValue);
|
|
61
62
|
var customQuery = props.customQuery,
|
|
@@ -140,7 +141,7 @@ var ReactiveComponent = {
|
|
|
140
141
|
},
|
|
141
142
|
watch: {
|
|
142
143
|
selectedValue: function selectedValue(newVal, oldVal) {
|
|
143
|
-
if (!isEqual(newVal, oldVal)) {
|
|
144
|
+
if (!isEqual(newVal, oldVal) || !isEqual(newVal, this.currentValue)) {
|
|
144
145
|
this.$emit('data', this.getData());
|
|
145
146
|
this.currentValue = newVal;
|
|
146
147
|
}
|
|
@@ -31,7 +31,7 @@ require('./Input-ead4cd84.js');
|
|
|
31
31
|
require('compute-scroll-into-view');
|
|
32
32
|
require('./Container-e699ea95.js');
|
|
33
33
|
require('vue-highlight-words');
|
|
34
|
-
var ReactiveComponentPrivate = require('./ReactiveComponentPrivate-
|
|
34
|
+
var ReactiveComponentPrivate = require('./ReactiveComponentPrivate-04f3bf64.js');
|
|
35
35
|
require('@appbaseio/reactivecore/lib/utils/suggestions');
|
|
36
36
|
require('./FormControlList-bbb5cd24.js');
|
|
37
37
|
require('./utils-83fd01e9.js');
|
package/dist/cjs/index.js
CHANGED
|
@@ -37,7 +37,7 @@ require('compute-scroll-into-view');
|
|
|
37
37
|
require('./Container-e699ea95.js');
|
|
38
38
|
require('vue-highlight-words');
|
|
39
39
|
var DataSearch = require('./DataSearch.js');
|
|
40
|
-
var ReactiveComponentPrivate = require('./ReactiveComponentPrivate-
|
|
40
|
+
var ReactiveComponentPrivate = require('./ReactiveComponentPrivate-04f3bf64.js');
|
|
41
41
|
require('@appbaseio/reactivecore/lib/utils/suggestions');
|
|
42
42
|
require('./FormControlList-bbb5cd24.js');
|
|
43
43
|
require('./utils-83fd01e9.js');
|
package/dist/cjs/install.js
CHANGED
|
@@ -37,7 +37,7 @@ require('compute-scroll-into-view');
|
|
|
37
37
|
require('./Container-e699ea95.js');
|
|
38
38
|
require('vue-highlight-words');
|
|
39
39
|
var DataSearch = require('./DataSearch.js');
|
|
40
|
-
var ReactiveComponentPrivate = require('./ReactiveComponentPrivate-
|
|
40
|
+
var ReactiveComponentPrivate = require('./ReactiveComponentPrivate-04f3bf64.js');
|
|
41
41
|
require('@appbaseio/reactivecore/lib/utils/suggestions');
|
|
42
42
|
require('./FormControlList-bbb5cd24.js');
|
|
43
43
|
require('./utils-83fd01e9.js');
|
package/dist/cjs/version.js
CHANGED
package/dist/es/DataSearch.js
CHANGED
|
@@ -501,7 +501,7 @@ var DataSearch = {
|
|
|
501
501
|
_this.$emit('suggestions', _this.suggestions);
|
|
502
502
|
} else if (!value) {
|
|
503
503
|
// reset suggestions
|
|
504
|
-
|
|
504
|
+
_this.normalizedSuggestions = [];
|
|
505
505
|
// invoke on suggestions
|
|
506
506
|
_this.$emit('suggestions', _this.suggestions);
|
|
507
507
|
}
|
|
@@ -49,6 +49,7 @@ var ReactiveComponent = {
|
|
|
49
49
|
var props = this.$props;
|
|
50
50
|
this.internalComponent = null;
|
|
51
51
|
this.$defaultQuery = null;
|
|
52
|
+
this.currentValue = this.selectedValue;
|
|
52
53
|
// Set custom query in store
|
|
53
54
|
updateCustomQuery(this.componentId, this.setCustomQuery, this.$props, this.selectedValue);
|
|
54
55
|
var customQuery = props.customQuery,
|
|
@@ -133,7 +134,7 @@ var ReactiveComponent = {
|
|
|
133
134
|
},
|
|
134
135
|
watch: {
|
|
135
136
|
selectedValue: function selectedValue(newVal, oldVal) {
|
|
136
|
-
if (!isEqual(newVal, oldVal)) {
|
|
137
|
+
if (!isEqual(newVal, oldVal) || !isEqual(newVal, this.currentValue)) {
|
|
137
138
|
this.$emit('data', this.getData());
|
|
138
139
|
this.currentValue = newVal;
|
|
139
140
|
}
|
|
@@ -27,7 +27,7 @@ import './Input-c09c0b56.js';
|
|
|
27
27
|
import 'compute-scroll-into-view';
|
|
28
28
|
import './Container-d00219f7.js';
|
|
29
29
|
import 'vue-highlight-words';
|
|
30
|
-
export { R as default } from './ReactiveComponentPrivate-
|
|
30
|
+
export { R as default } from './ReactiveComponentPrivate-a774148b.js';
|
|
31
31
|
import '@appbaseio/reactivecore/lib/utils/suggestions';
|
|
32
32
|
import './FormControlList-99797d0a.js';
|
|
33
33
|
import './utils-9e5a16a1.js';
|
package/dist/es/index.js
CHANGED
|
@@ -33,7 +33,7 @@ import 'compute-scroll-into-view';
|
|
|
33
33
|
import './Container-d00219f7.js';
|
|
34
34
|
import 'vue-highlight-words';
|
|
35
35
|
export { default as DataSearch } from './DataSearch.js';
|
|
36
|
-
export { R as ReactiveComponentPrivate, S as SearchBox } from './ReactiveComponentPrivate-
|
|
36
|
+
export { R as ReactiveComponentPrivate, S as SearchBox } from './ReactiveComponentPrivate-a774148b.js';
|
|
37
37
|
import '@appbaseio/reactivecore/lib/utils/suggestions';
|
|
38
38
|
import './FormControlList-99797d0a.js';
|
|
39
39
|
import './utils-9e5a16a1.js';
|
package/dist/es/install.js
CHANGED
|
@@ -33,7 +33,7 @@ import 'compute-scroll-into-view';
|
|
|
33
33
|
import './Container-d00219f7.js';
|
|
34
34
|
import 'vue-highlight-words';
|
|
35
35
|
import DataSearch from './DataSearch.js';
|
|
36
|
-
import { S as SearchBox, R as ReactiveComponentPrivate } from './ReactiveComponentPrivate-
|
|
36
|
+
import { S as SearchBox, R as ReactiveComponentPrivate } from './ReactiveComponentPrivate-a774148b.js';
|
|
37
37
|
import '@appbaseio/reactivecore/lib/utils/suggestions';
|
|
38
38
|
import './FormControlList-99797d0a.js';
|
|
39
39
|
import './utils-9e5a16a1.js';
|
package/dist/es/version.js
CHANGED
package/package.json
CHANGED
/package/dist/cjs/{ReactiveComponentPrivate-1f2d132b.js → ReactiveComponentPrivate-04f3bf64.js}
RENAMED
|
File without changes
|
/package/dist/es/{ReactiveComponentPrivate-7867affa.js → ReactiveComponentPrivate-a774148b.js}
RENAMED
|
File without changes
|