@appbaseio/reactivesearch-vue 1.33.5 → 1.33.6
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 +18 -17
- package/dist/@appbaseio/reactivesearch-vue.umd.js.map +1 -1
- package/dist/@appbaseio/reactivesearch-vue.umd.min.js +5 -5
- package/dist/@appbaseio/reactivesearch-vue.umd.min.js.map +1 -1
- package/dist/cjs/{ComponentWrapper-b6d4660c.js → ComponentWrapper-f89a5972.js} +2 -2
- package/dist/cjs/{DataSearch-1c5c2202.js → DataSearch-de3b7c47.js} +5 -6
- package/dist/cjs/DataSearch.js +2 -2
- package/dist/cjs/DynamicRangeSlider.js +3 -2
- package/dist/cjs/MultiDropdownList.js +1 -1
- package/dist/cjs/MultiList.js +1 -1
- package/dist/cjs/MultiRange.js +1 -1
- package/dist/cjs/RangeInput.js +1 -1
- package/dist/cjs/RangeSlider.js +1 -1
- package/dist/cjs/{ReactiveComponent-4e75c939.js → ReactiveComponent-71def4c6.js} +2 -2
- package/dist/cjs/ReactiveComponent.js +3 -3
- package/dist/cjs/ReactiveGoogleMap.js +7 -6
- package/dist/cjs/ReactiveList.js +1 -1
- package/dist/cjs/SingleDropdownList.js +1 -1
- package/dist/cjs/SingleList.js +1 -1
- package/dist/cjs/SingleRange.js +1 -1
- package/dist/cjs/ToggleButton.js +1 -1
- package/dist/cjs/index.js +3 -3
- package/dist/cjs/install.js +3 -3
- package/dist/cjs/version.js +1 -1
- package/dist/es/{ComponentWrapper-8042aa35.js → ComponentWrapper-39966c87.js} +2 -2
- package/dist/es/{DataSearch-5bb904c5.js → DataSearch-06d0273d.js} +5 -6
- package/dist/es/DataSearch.js +2 -2
- package/dist/es/DynamicRangeSlider.js +3 -2
- package/dist/es/MultiDropdownList.js +1 -1
- package/dist/es/MultiList.js +1 -1
- package/dist/es/MultiRange.js +1 -1
- package/dist/es/RangeInput.js +1 -1
- package/dist/es/RangeSlider.js +1 -1
- package/dist/es/{ReactiveComponent-09c183c8.js → ReactiveComponent-1671403c.js} +2 -2
- package/dist/es/ReactiveComponent.js +3 -3
- package/dist/es/ReactiveGoogleMap.js +7 -6
- package/dist/es/ReactiveList.js +1 -1
- package/dist/es/SingleDropdownList.js +1 -1
- package/dist/es/SingleList.js +1 -1
- package/dist/es/SingleRange.js +1 -1
- package/dist/es/ToggleButton.js +1 -1
- package/dist/es/index.js +3 -3
- package/dist/es/install.js +3 -3
- package/dist/es/version.js +1 -1
- package/package.json +2 -2
|
@@ -8958,10 +8958,10 @@
|
|
|
8958
8958
|
timestamp: timestamp
|
|
8959
8959
|
};
|
|
8960
8960
|
}
|
|
8961
|
-
function addComponent(component) {
|
|
8961
|
+
function addComponent(component, timestamp) {
|
|
8962
8962
|
return function (dispatch) {
|
|
8963
8963
|
dispatch(addComponentToList(component));
|
|
8964
|
-
dispatch(addComponentTimestamp(component,
|
|
8964
|
+
dispatch(addComponentTimestamp(component, timestamp));
|
|
8965
8965
|
};
|
|
8966
8966
|
}
|
|
8967
8967
|
function removeComponent(component) {
|
|
@@ -13267,7 +13267,7 @@
|
|
|
13267
13267
|
// or component is not present in store
|
|
13268
13268
|
if (this.destroyOnUnmount || components.indexOf(this.componentProps.componentId) === -1) {
|
|
13269
13269
|
// Register component
|
|
13270
|
-
this.addComponent(this.componentId);
|
|
13270
|
+
this.addComponent(this.componentId, this.$timestamp);
|
|
13271
13271
|
var onQueryChange = function onQueryChange() {
|
|
13272
13272
|
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
13273
13273
|
args[_key] = arguments[_key];
|
|
@@ -13289,7 +13289,7 @@
|
|
|
13289
13289
|
}
|
|
13290
13290
|
// Register internal component
|
|
13291
13291
|
if (this.internalComponent && (this.destroyOnUnmount || components.indexOf(this.internalComponent) === -1)) {
|
|
13292
|
-
this.addComponent(this.internalComponent);
|
|
13292
|
+
this.addComponent(this.internalComponent, this.$timestamp);
|
|
13293
13293
|
this.setComponentProps(this.internalComponent, this.componentProps, options.componentType);
|
|
13294
13294
|
}
|
|
13295
13295
|
},
|
|
@@ -19532,15 +19532,15 @@
|
|
|
19532
19532
|
var _this$$props2 = this.$props,
|
|
19533
19533
|
value = _this$$props2.value,
|
|
19534
19534
|
strictSelection = _this$$props2.strictSelection,
|
|
19535
|
-
size = _this$$props2.size
|
|
19535
|
+
size = _this$$props2.size,
|
|
19536
|
+
autosuggest = _this$$props2.autosuggest;
|
|
19536
19537
|
if (value !== undefined) {
|
|
19537
19538
|
this.isPending = true;
|
|
19538
19539
|
}
|
|
19539
|
-
|
|
19540
19540
|
// if a suggestion was selected, delegate the handling to suggestion handler
|
|
19541
19541
|
if (event.key === 'Enter' && (highlightedIndex === null || highlightedIndex < 0 || highlightedIndex === [].concat([].concat(this.suggestionsList).slice(0, size || 10), this.defaultSearchSuggestions, this.topSuggestions).length)) {
|
|
19542
19542
|
this.isPending = false;
|
|
19543
|
-
this.setValue(this.$options.isTagsMode && strictSelection ? '' : targetValue, true, this.$props, undefined, false);
|
|
19543
|
+
this.setValue(this.$options.isTagsMode && autosuggest && strictSelection ? '' : targetValue, true, this.$props, undefined, false);
|
|
19544
19544
|
this.onValueSelectedHandler(targetValue, lib_7.ENTER_PRESS);
|
|
19545
19545
|
}
|
|
19546
19546
|
// Need to review
|
|
@@ -20044,8 +20044,7 @@
|
|
|
20044
20044
|
_this6.$emit('focus', e, _this6.triggerQuery);
|
|
20045
20045
|
},
|
|
20046
20046
|
keydown: function keydown(e) {
|
|
20047
|
-
_this6
|
|
20048
|
-
_this6.$emit('key-down', e, _this6.triggerQuery);
|
|
20047
|
+
_this6.handleKeyDown(e, null);
|
|
20049
20048
|
},
|
|
20050
20049
|
keyup: function keyup(e) {
|
|
20051
20050
|
_this6.$emit('keyUp', e, _this6.triggerQuery);
|
|
@@ -24171,6 +24170,7 @@
|
|
|
24171
24170
|
},
|
|
24172
24171
|
created: function created() {
|
|
24173
24172
|
var _this = this;
|
|
24173
|
+
this.$timestamp = new Date().getTime();
|
|
24174
24174
|
var onQueryChange = function onQueryChange() {
|
|
24175
24175
|
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
24176
24176
|
args[_key] = arguments[_key];
|
|
@@ -24199,8 +24199,8 @@
|
|
|
24199
24199
|
}
|
|
24200
24200
|
var value = this.$props.value;
|
|
24201
24201
|
if (this.destroyOnUnmount || components.indexOf(this.componentId) === -1) {
|
|
24202
|
-
this.addComponent(this.componentId);
|
|
24203
|
-
this.addComponent(this.internalRangeComponent);
|
|
24202
|
+
this.addComponent(this.componentId, this.$timestamp);
|
|
24203
|
+
this.addComponent(this.internalRangeComponent, this.$timestamp);
|
|
24204
24204
|
if (Array.isArray(this.selectedValue)) {
|
|
24205
24205
|
this.handleChange(this.selectedValue);
|
|
24206
24206
|
} else if (this.selectedValue) {
|
|
@@ -33028,7 +33028,8 @@
|
|
|
33028
33028
|
geo_bounding_box: (_geo_bounding_box = {}, _geo_bounding_box[this.dataField] = boundingBoxCoordinates, _geo_bounding_box)
|
|
33029
33029
|
};
|
|
33030
33030
|
if (this.$defaultQuery) {
|
|
33031
|
-
var
|
|
33031
|
+
var _ref2 = this.$defaultQuery || {},
|
|
33032
|
+
query = _ref2.query;
|
|
33032
33033
|
if (query) {
|
|
33033
33034
|
// adds defaultQuery's query to geo-query
|
|
33034
33035
|
// to generate a map query
|
|
@@ -33175,14 +33176,14 @@
|
|
|
33175
33176
|
var options = getQueryOptions$5(this.$props);
|
|
33176
33177
|
options.from = this.$data.from;
|
|
33177
33178
|
if (this.$props.sortBy) {
|
|
33178
|
-
var
|
|
33179
|
-
options.sort = [(
|
|
33179
|
+
var _ref3;
|
|
33180
|
+
options.sort = [(_ref3 = {}, _ref3[this.$props.dataField] = {
|
|
33180
33181
|
order: this.$props.sortBy
|
|
33181
|
-
},
|
|
33182
|
+
}, _ref3)];
|
|
33182
33183
|
}
|
|
33183
33184
|
this.$defaultQuery = null;
|
|
33184
33185
|
if (this.$props.defaultQuery) {
|
|
33185
|
-
this.$defaultQuery = this.$props.defaultQuery();
|
|
33186
|
+
this.$defaultQuery = this.$props.defaultQuery() || {};
|
|
33186
33187
|
options = _extends({}, options, getOptionsFromQuery$4(this.$defaultQuery));
|
|
33187
33188
|
|
|
33188
33189
|
// Override sort query with defaultQuery's sort if defined
|
|
@@ -35097,7 +35098,7 @@
|
|
|
35097
35098
|
});
|
|
35098
35099
|
}
|
|
35099
35100
|
|
|
35100
|
-
var version = "1.33.
|
|
35101
|
+
var version = "1.33.6";
|
|
35101
35102
|
|
|
35102
35103
|
var components$1 = [RLConnected, ResultCard, ResultList, ReactiveBase, DSConnected, SBConnected, ListConnected, ListConnected$1, RangeConnected$1, RangeConnected$2, RangeConnected$3, RangeConnected, RcConnected, RcConnected$1, TBConnected, ListConnected$2, ListConnected$3, StateProviderConnected, RangeConnected$4];
|
|
35103
35104
|
function install (Vue) {
|