@appbaseio/reactivesearch-vue 1.32.0 → 1.32.1
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 +31 -11
- package/dist/@appbaseio/reactivesearch-vue.umd.js.map +1 -1
- package/dist/@appbaseio/reactivesearch-vue.umd.min.js +6 -6
- package/dist/@appbaseio/reactivesearch-vue.umd.min.js.map +1 -1
- package/dist/cjs/{DataSearch-d389fbe7.js → DataSearch-b51a5d0f.js} +2 -3
- package/dist/cjs/DataSearch.js +1 -1
- package/dist/cjs/index.js +2 -2
- package/dist/cjs/{install-3b864d8f.js → install-3ebc879c.js} +1 -1
- package/dist/cjs/install.js +2 -2
- package/dist/cjs/version.js +1 -1
- package/dist/es/{DataSearch-b88ef6ee.js → DataSearch-c40e26c7.js} +2 -3
- package/dist/es/DataSearch.js +1 -1
- package/dist/es/index.js +3 -3
- package/dist/es/{install-a1fd08ae.js → install-c438014c.js} +1 -1
- package/dist/es/install.js +2 -2
- package/dist/es/version.js +1 -1
- package/package.json +2 -2
|
@@ -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', 'highlightField', 'nestedField', 'placeholder', 'queryFormat', 'searchOperators', 'enableSynonyms', 'enableQuerySuggestions', 'enablePopularSuggestions', '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'];
|
|
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', 'enablePopularSuggestions', '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'];
|
|
1314
1314
|
var CLEAR_ALL = exports.CLEAR_ALL = {
|
|
1315
1315
|
NEVER: 'never',
|
|
1316
1316
|
ALWAYS: 'always',
|
|
@@ -7528,7 +7528,7 @@
|
|
|
7528
7528
|
showMissing: props.showMissing,
|
|
7529
7529
|
nestedField: props.nestedField || undefined,
|
|
7530
7530
|
interval: props.interval,
|
|
7531
|
-
|
|
7531
|
+
highlightConfig: props.customHighlight || props.highlightConfig,
|
|
7532
7532
|
customQuery: props.customQuery,
|
|
7533
7533
|
defaultQuery: props.defaultQuery,
|
|
7534
7534
|
value: props.value,
|
|
@@ -14959,7 +14959,7 @@
|
|
|
14959
14959
|
});
|
|
14960
14960
|
|
|
14961
14961
|
function _extends$2() {
|
|
14962
|
-
return _extends$2 = Object.assign
|
|
14962
|
+
return _extends$2 = Object.assign ? Object.assign.bind() : function (a) {
|
|
14963
14963
|
for (var b, c = 1; c < arguments.length; c++) {
|
|
14964
14964
|
for (var d in b = arguments[c], b) {
|
|
14965
14965
|
Object.prototype.hasOwnProperty.call(b, d) && (a[d] = b[d]);
|
|
@@ -14979,16 +14979,16 @@
|
|
|
14979
14979
|
if (!c[b]) c[b] = a[b];else if (-1 !== normalMerge.indexOf(b)) c[b] = _extends$2({}, c[b], a[b]);else if (-1 !== toArrayMerge.indexOf(b)) {
|
|
14980
14980
|
var d = c[b] instanceof Array ? c[b] : [c[b]],
|
|
14981
14981
|
e = a[b] instanceof Array ? a[b] : [a[b]];
|
|
14982
|
-
c[b] =
|
|
14982
|
+
c[b] = [].concat(d, e);
|
|
14983
14983
|
} else if (-1 !== functionalMerge.indexOf(b)) {
|
|
14984
14984
|
for (var f in a[b]) {
|
|
14985
14985
|
if (c[b][f]) {
|
|
14986
14986
|
var g = c[b][f] instanceof Array ? c[b][f] : [c[b][f]],
|
|
14987
14987
|
h = a[b][f] instanceof Array ? a[b][f] : [a[b][f]];
|
|
14988
|
-
c[b][f] =
|
|
14988
|
+
c[b][f] = [].concat(g, h);
|
|
14989
14989
|
} else c[b][f] = a[b][f];
|
|
14990
14990
|
}
|
|
14991
|
-
} else if ("hook"
|
|
14991
|
+
} else if ("hook" === b) for (var i in a[b]) {
|
|
14992
14992
|
c[b][i] = c[b][i] ? mergeFn(c[b][i], a[b][i]) : a[b][i];
|
|
14993
14993
|
} else c[b] = a[b];
|
|
14994
14994
|
}
|
|
@@ -18117,7 +18117,7 @@
|
|
|
18117
18117
|
};
|
|
18118
18118
|
|
|
18119
18119
|
/**!
|
|
18120
|
-
* hotkeys-js v3.
|
|
18120
|
+
* hotkeys-js v3.10.0
|
|
18121
18121
|
* A simple micro-library for defining and dispatching keyboard shortcuts. It has no dependencies.
|
|
18122
18122
|
*
|
|
18123
18123
|
* Copyright (c) 2022 kenny wong <wowohoo@qq.com>
|
|
@@ -18180,9 +18180,11 @@
|
|
|
18180
18180
|
|
|
18181
18181
|
var _keyMap = {
|
|
18182
18182
|
backspace: 8,
|
|
18183
|
+
'⌫': 8,
|
|
18183
18184
|
tab: 9,
|
|
18184
18185
|
clear: 12,
|
|
18185
18186
|
enter: 13,
|
|
18187
|
+
'↩': 13,
|
|
18186
18188
|
"return": 13,
|
|
18187
18189
|
esc: 27,
|
|
18188
18190
|
escape: 27,
|
|
@@ -18280,6 +18282,18 @@
|
|
|
18280
18282
|
|
|
18281
18283
|
var code = function code(x) {
|
|
18282
18284
|
return _keyMap[x.toLowerCase()] || _modifier[x.toLowerCase()] || x.toUpperCase().charCodeAt(0);
|
|
18285
|
+
};
|
|
18286
|
+
|
|
18287
|
+
var getKey = function getKey(x) {
|
|
18288
|
+
return Object.keys(_keyMap).find(function (k) {
|
|
18289
|
+
return _keyMap[k] === x;
|
|
18290
|
+
});
|
|
18291
|
+
};
|
|
18292
|
+
|
|
18293
|
+
var getModifier = function getModifier(x) {
|
|
18294
|
+
return Object.keys(_modifier).find(function (k) {
|
|
18295
|
+
return _modifier[k] === x;
|
|
18296
|
+
});
|
|
18283
18297
|
}; // 设置获取当前范围(默认为'所有')
|
|
18284
18298
|
|
|
18285
18299
|
|
|
@@ -18295,6 +18309,12 @@
|
|
|
18295
18309
|
|
|
18296
18310
|
function getPressedKeyCodes() {
|
|
18297
18311
|
return _downKeys.slice(0);
|
|
18312
|
+
}
|
|
18313
|
+
|
|
18314
|
+
function getPressedKeyString() {
|
|
18315
|
+
return _downKeys.map(function (c) {
|
|
18316
|
+
return getKey(c) || getModifier(c) || String.fromCharCode(c);
|
|
18317
|
+
});
|
|
18298
18318
|
} // 表单控件控件判断 返回 Boolean
|
|
18299
18319
|
// hotkey is effective only when filter return true
|
|
18300
18320
|
|
|
@@ -18679,6 +18699,7 @@
|
|
|
18679
18699
|
}
|
|
18680
18700
|
|
|
18681
18701
|
var _api = {
|
|
18702
|
+
getPressedKeyString: getPressedKeyString,
|
|
18682
18703
|
setScope: setScope,
|
|
18683
18704
|
getScope: getScope,
|
|
18684
18705
|
deleteScope: deleteScope,
|
|
@@ -20947,7 +20968,7 @@
|
|
|
20947
20968
|
this.setValue(newVal, true, this.$props);
|
|
20948
20969
|
},
|
|
20949
20970
|
value: function value(newVal, oldVal) {
|
|
20950
|
-
if (!isEqual$4(newVal, oldVal)) {
|
|
20971
|
+
if (!isEqual$4(newVal, oldVal) || this.$options.isTagsMode && !isEqual$4(newVal, this.selectedTags)) {
|
|
20951
20972
|
if (this.isPending && this.$options.isTagsMode && Array.isArray(newVal)) {
|
|
20952
20973
|
this.isPending = false;
|
|
20953
20974
|
}
|
|
@@ -21140,8 +21161,7 @@
|
|
|
21140
21161
|
if (typeof value === 'string' && !!value) {
|
|
21141
21162
|
_this.selectedTags.push(value);
|
|
21142
21163
|
} else if (Array.isArray(value) && !isEqual$4(_this.selectedTags, value)) {
|
|
21143
|
-
|
|
21144
|
-
_this.selectedTags = mergedArray;
|
|
21164
|
+
_this.selectedTags = value;
|
|
21145
21165
|
}
|
|
21146
21166
|
} else if (value) {
|
|
21147
21167
|
_this.selectedTags = typeof value !== 'string' ? value : [].concat(value);
|
|
@@ -38062,7 +38082,7 @@
|
|
|
38062
38082
|
});
|
|
38063
38083
|
}
|
|
38064
38084
|
|
|
38065
|
-
var version = "1.32.
|
|
38085
|
+
var version = "1.32.1";
|
|
38066
38086
|
|
|
38067
38087
|
var _templateObject$q, _templateObject2$c;
|
|
38068
38088
|
|