@appbaseio/reactivesearch-vue 1.32.3 → 1.32.4
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 +41 -19
- 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/ReactiveGoogleMap.js +1 -1
- package/dist/cjs/StateProvider.js +1 -1
- package/dist/cjs/index.js +1 -1
- package/dist/cjs/{install-3ebc879c.js → install-add725fe.js} +0 -0
- package/dist/cjs/install.js +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/es/ReactiveGoogleMap.js +1 -1
- package/dist/es/StateProvider.js +1 -1
- package/dist/es/index.js +2 -2
- package/dist/es/{install-c438014c.js → install-5b8c657a.js} +0 -0
- package/dist/es/install.js +1 -1
- package/dist/es/version.js +1 -1
- package/package.json +3 -3
|
@@ -1310,7 +1310,7 @@
|
|
|
1310
1310
|
geo: 'geo',
|
|
1311
1311
|
suggestion: 'suggestion'
|
|
1312
1312
|
};
|
|
1313
|
-
var validProps = exports.validProps = ['type', 'componentType', 'aggregationField', 'aggregationSize', 'distinctField', 'distinctFieldConfig', 'index', 'aggregations', 'dataField', 'includeFields', 'excludeFields', 'size', 'from', 'sortBy', 'sortOptions', 'pagination', 'autoFocus', 'autosuggest', 'debounce', 'defaultValue', 'defaultSuggestions', 'fieldWeights', 'filterLabel', 'fuzziness', 'highlight', 'highlightConfig', 'highlightField', 'nestedField', 'placeholder', 'queryFormat', 'searchOperators', 'enableSynonyms', 'enableQuerySuggestions', '
|
|
1313
|
+
var validProps = exports.validProps = ['type', 'componentType', 'aggregationField', 'aggregationSize', 'distinctField', 'distinctFieldConfig', 'index', 'aggregations', 'dataField', 'includeFields', 'excludeFields', 'size', 'from', 'sortBy', 'sortOptions', 'pagination', 'autoFocus', 'autosuggest', 'debounce', 'defaultValue', 'defaultSuggestions', 'fieldWeights', 'filterLabel', 'fuzziness', 'highlight', 'highlightConfig', 'highlightField', 'nestedField', 'placeholder', 'queryFormat', 'searchOperators', 'enableSynonyms', 'enableQuerySuggestions', 'queryString', 'categoryField', 'strictSelection', 'selectAllLabel', 'showCheckbox', 'showFilter', 'showSearch', 'showCount', 'showLoadMore', 'loadMoreLabel', 'showMissing', 'missingLabel', 'data', 'showRadio', 'multiSelect', 'includeNullValues', 'interval', 'showHistogram', 'snap', 'stepValue', 'range', 'showSlider', 'parseDate', 'calendarInterval', 'unit', 'enablePopularSuggestions', 'enableRecentSuggestions', 'popularSuggestionsConfig', 'recentSuggestionsConfig', 'indexSuggestionsConfig', 'featuredSuggestionsConfig', 'enablePredictiveSuggestions', 'applyStopwords', 'customStopwords', 'enableIndexSuggestions', 'enableFeaturedSuggestions', 'searchboxId', 'endpoint', 'enableEndpointSuggestions'];
|
|
1314
1314
|
var CLEAR_ALL = exports.CLEAR_ALL = {
|
|
1315
1315
|
NEVER: 'never',
|
|
1316
1316
|
ALWAYS: 'always',
|
|
@@ -5728,15 +5728,33 @@
|
|
|
5728
5728
|
showMissing = props.showMissing,
|
|
5729
5729
|
missingLabel = props.missingLabel;
|
|
5730
5730
|
clonedQuery.size = 0;
|
|
5731
|
-
|
|
5732
|
-
|
|
5733
|
-
|
|
5734
|
-
|
|
5735
|
-
|
|
5736
|
-
|
|
5737
|
-
|
|
5738
|
-
|
|
5739
|
-
|
|
5731
|
+
|
|
5732
|
+
if (typeof dataField === 'string') {
|
|
5733
|
+
clonedQuery.aggs = _defineProperty({}, dataField, {
|
|
5734
|
+
terms: _extends({
|
|
5735
|
+
field: dataField,
|
|
5736
|
+
size: size,
|
|
5737
|
+
order: getAggsOrder(sortBy || 'count')
|
|
5738
|
+
}, showMissing ? {
|
|
5739
|
+
missing: missingLabel
|
|
5740
|
+
} : {})
|
|
5741
|
+
});
|
|
5742
|
+
} else {
|
|
5743
|
+
var aggs = void 0;
|
|
5744
|
+
[].concat(_toConsumableArray(dataField)).reverse().forEach(function (dataFieldItem) {
|
|
5745
|
+
aggs = _defineProperty({}, dataFieldItem, {
|
|
5746
|
+
terms: _extends({
|
|
5747
|
+
field: dataFieldItem,
|
|
5748
|
+
size: size,
|
|
5749
|
+
order: getAggsOrder(sortBy || 'count')
|
|
5750
|
+
}, showMissing ? {
|
|
5751
|
+
missing: missingLabel
|
|
5752
|
+
} : {}),
|
|
5753
|
+
aggs: aggs
|
|
5754
|
+
});
|
|
5755
|
+
});
|
|
5756
|
+
clonedQuery.aggs = aggs;
|
|
5757
|
+
}
|
|
5740
5758
|
|
|
5741
5759
|
if (props.nestedField) {
|
|
5742
5760
|
clonedQuery.aggs = {
|
|
@@ -7555,6 +7573,7 @@
|
|
|
7555
7573
|
index: props.index
|
|
7556
7574
|
}, queryType === constants$1.queryTypes.suggestion ? _extends({
|
|
7557
7575
|
enablePopularSuggestions: props.enablePopularSuggestions,
|
|
7576
|
+
enableEndpointSuggestions: props.enableEndpointSuggestions,
|
|
7558
7577
|
enableRecentSuggestions: props.enableRecentSuggestions,
|
|
7559
7578
|
popularSuggestionsConfig: props.popularSuggestionsConfig,
|
|
7560
7579
|
recentSuggestionsConfig: props.recentSuggestionsConfig,
|
|
@@ -9444,6 +9463,7 @@
|
|
|
9444
9463
|
settings.enableSearchRelevancy = (0, utils.isPropertyDefined)(config.analyticsConfig.enableSearchRelevancy) ? config.analyticsConfig.enableSearchRelevancy : undefined;
|
|
9445
9464
|
settings.suggestionAnalytics = (0, utils.isPropertyDefined)(config.analyticsConfig.suggestionAnalytics) ? config.analyticsConfig.suggestionAnalytics : undefined;
|
|
9446
9465
|
settings.useCache = (0, utils.isPropertyDefined)(config.analyticsConfig.useCache) ? config.analyticsConfig.useCache : undefined;
|
|
9466
|
+
settings.queryParams = (0, utils.isPropertyDefined)(config.analyticsConfig.queryParams) ? config.analyticsConfig.queryParams : undefined;
|
|
9447
9467
|
}
|
|
9448
9468
|
|
|
9449
9469
|
orderOfQueries.forEach(function (component) {
|
|
@@ -9456,7 +9476,7 @@
|
|
|
9456
9476
|
dispatch(loadPopularSuggestions(searchComponentID));
|
|
9457
9477
|
}
|
|
9458
9478
|
|
|
9459
|
-
appbaseRef.
|
|
9479
|
+
appbaseRef.reactiveSearch(query, settings, settings.queryParams).then(function (res) {
|
|
9460
9480
|
(0, utils.handleResponse)({
|
|
9461
9481
|
res: res,
|
|
9462
9482
|
orderOfQueries: orderOfQueries,
|
|
@@ -16556,7 +16576,7 @@
|
|
|
16556
16576
|
*/
|
|
16557
16577
|
|
|
16558
16578
|
function AppBase(config) {
|
|
16559
|
-
var _URL = urlParserLite((config.endpoint ? config.endpoint.url :
|
|
16579
|
+
var _URL = urlParserLite((config.endpoint ? config.endpoint.url : config.url) || ''),
|
|
16560
16580
|
_URL$auth = _URL.auth,
|
|
16561
16581
|
auth = _URL$auth === undefined ? null : _URL$auth,
|
|
16562
16582
|
_URL$host = _URL.host,
|
|
@@ -17066,7 +17086,7 @@
|
|
|
17066
17086
|
*/
|
|
17067
17087
|
|
|
17068
17088
|
|
|
17069
|
-
function reactiveSearchApi(query, settings) {
|
|
17089
|
+
function reactiveSearchApi(query, settings, params) {
|
|
17070
17090
|
var parsedSettings = removeUndefined(settings); // Validate query
|
|
17071
17091
|
|
|
17072
17092
|
var valid = validateRSQuery(query);
|
|
@@ -17092,7 +17112,8 @@
|
|
|
17092
17112
|
body: body,
|
|
17093
17113
|
headers: getTelemetryHeaders(this.enableTelemetry, !this.mongodb),
|
|
17094
17114
|
isRSAPI: true,
|
|
17095
|
-
isMongoRequest: !!this.mongodb
|
|
17115
|
+
isMongoRequest: !!this.mongodb,
|
|
17116
|
+
params: params
|
|
17096
17117
|
});
|
|
17097
17118
|
}
|
|
17098
17119
|
/**
|
|
@@ -17106,7 +17127,7 @@
|
|
|
17106
17127
|
*/
|
|
17107
17128
|
|
|
17108
17129
|
|
|
17109
|
-
function reactiveSearchv3Api(query, settings) {
|
|
17130
|
+
function reactiveSearchv3Api(query, settings, params) {
|
|
17110
17131
|
var parsedSettings = removeUndefined(settings); // Validate query
|
|
17111
17132
|
|
|
17112
17133
|
var valid = validateRSQuery(query);
|
|
@@ -17132,7 +17153,8 @@
|
|
|
17132
17153
|
body: body,
|
|
17133
17154
|
headers: getTelemetryHeaders(this.enableTelemetry, !this.mongodb),
|
|
17134
17155
|
isRSAPI: true,
|
|
17135
|
-
isMongoRequest: !!this.mongodb
|
|
17156
|
+
isMongoRequest: !!this.mongodb,
|
|
17157
|
+
params: params
|
|
17136
17158
|
});
|
|
17137
17159
|
}
|
|
17138
17160
|
/**
|
|
@@ -28632,7 +28654,7 @@
|
|
|
28632
28654
|
customData: filterByComponentIds(state.customData, props),
|
|
28633
28655
|
settings: filterByComponentIds(state.settings, props),
|
|
28634
28656
|
rawData: filterByComponentIds(state.rawData, props),
|
|
28635
|
-
components:
|
|
28657
|
+
components: state.components
|
|
28636
28658
|
};
|
|
28637
28659
|
};
|
|
28638
28660
|
|
|
@@ -37473,7 +37495,7 @@
|
|
|
37473
37495
|
var currentInstance = this;
|
|
37474
37496
|
|
|
37475
37497
|
while (currentInstance) {
|
|
37476
|
-
if (currentInstance && currentInstance.
|
|
37498
|
+
if (currentInstance && currentInstance.$options && currentInstance.$options.name === 'connect-ClusterMarkers') {
|
|
37477
37499
|
clusterManagerInstance = currentInstance;
|
|
37478
37500
|
currentInstance = null;
|
|
37479
37501
|
} else if (currentInstance.$children) {
|
|
@@ -38093,7 +38115,7 @@
|
|
|
38093
38115
|
});
|
|
38094
38116
|
}
|
|
38095
38117
|
|
|
38096
|
-
var version = "1.32.
|
|
38118
|
+
var version = "1.32.4";
|
|
38097
38119
|
|
|
38098
38120
|
var _templateObject$q, _templateObject2$c;
|
|
38099
38121
|
|