@appbaseio/reactivesearch-vue 3.1.0-alpha.1 → 3.1.0-alpha.3
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 +6 -4
- package/dist/@appbaseio/reactivesearch-vue.umd.js.map +1 -1
- package/dist/@appbaseio/reactivesearch-vue.umd.min.js +3 -3
- package/dist/@appbaseio/reactivesearch-vue.umd.min.js.map +1 -1
- package/dist/cjs/index.js +1 -1
- package/dist/cjs/{install-05fcf590.js → install-c2974532.js} +2 -2
- package/dist/cjs/install.js +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/components/search/SearchBox.d.ts +1 -1
- package/dist/es/index.js +2 -2
- package/dist/es/{install-2b5814e0.js → install-7ecd1a9c.js} +3 -3
- package/dist/es/install.js +1 -1
- package/dist/es/version.js +1 -1
- package/package.json +2 -2
package/dist/cjs/index.js
CHANGED
|
@@ -34,7 +34,7 @@ var ReactiveBase = require('./ReactiveBase.js');
|
|
|
34
34
|
require('hotkeys-js');
|
|
35
35
|
require('xss');
|
|
36
36
|
require('remarkable');
|
|
37
|
-
var install = require('./install-
|
|
37
|
+
var install = require('./install-c2974532.js');
|
|
38
38
|
require('./DropDown-1532353d.js');
|
|
39
39
|
require('./Input-4279b088.js');
|
|
40
40
|
require('compute-scroll-into-view');
|
|
@@ -1254,10 +1254,10 @@ var SearchBox = vue.defineComponent({
|
|
|
1254
1254
|
sectionId: s._suggestion_type
|
|
1255
1255
|
});
|
|
1256
1256
|
}).map(function (suggestion) {
|
|
1257
|
-
if (suggestion._suggestion_type ===
|
|
1257
|
+
if (suggestion._suggestion_type === helper.suggestionTypes.Document) {
|
|
1258
1258
|
// Document suggestions don't have a meaningful label and value
|
|
1259
1259
|
var newSuggestion = _rollupPluginBabelHelpers._extends({}, suggestion);
|
|
1260
|
-
newSuggestion.label = 'For
|
|
1260
|
+
newSuggestion.label = 'For document suggestions, please implement a renderItem method to display label.';
|
|
1261
1261
|
var renderItem = _this.$slots.renderItem || _this.$props.renderItem;
|
|
1262
1262
|
if (typeof renderItem === 'function') {
|
|
1263
1263
|
var jsxEl = renderItem(newSuggestion);
|
package/dist/cjs/install.js
CHANGED
|
@@ -34,7 +34,7 @@ require('./ReactiveBase.js');
|
|
|
34
34
|
require('hotkeys-js');
|
|
35
35
|
require('xss');
|
|
36
36
|
require('remarkable');
|
|
37
|
-
var install = require('./install-
|
|
37
|
+
var install = require('./install-c2974532.js');
|
|
38
38
|
require('./DropDown-1532353d.js');
|
|
39
39
|
require('./Input-4279b088.js');
|
|
40
40
|
require('compute-scroll-into-view');
|
package/dist/cjs/version.js
CHANGED
|
@@ -84,7 +84,7 @@ export interface SearchBoxProps extends CommonProps {
|
|
|
84
84
|
enableFeaturedSuggestions?: boolean;
|
|
85
85
|
enableFAQSuggestions?: boolean;
|
|
86
86
|
FAQSuggestionsConfig?: types.FAQSuggestionsConfig,
|
|
87
|
-
|
|
87
|
+
enableDocumentSuggestions?: boolean;
|
|
88
88
|
documentSuggestionsConfig?: types.documentSuggestionsConfig;
|
|
89
89
|
showSuggestionsFooter?: boolean;
|
|
90
90
|
renderSuggestionsFooter?: () => types.children;
|
package/dist/es/index.js
CHANGED
|
@@ -30,8 +30,8 @@ export { default as ReactiveBase } from './ReactiveBase.js';
|
|
|
30
30
|
import 'hotkeys-js';
|
|
31
31
|
import 'xss';
|
|
32
32
|
import 'remarkable';
|
|
33
|
-
import { i as install } from './install-
|
|
34
|
-
export { A as AIAnswer, R as ReactiveComponentPrivate, S as SearchBox, T as TreeList, i as install } from './install-
|
|
33
|
+
import { i as install } from './install-7ecd1a9c.js';
|
|
34
|
+
export { A as AIAnswer, R as ReactiveComponentPrivate, S as SearchBox, T as TreeList, i as install } from './install-7ecd1a9c.js';
|
|
35
35
|
import './DropDown-6d1dddde.js';
|
|
36
36
|
import './Input-1f6207bc.js';
|
|
37
37
|
import 'compute-scroll-into-view';
|
|
@@ -4,7 +4,7 @@ import _transformOn from '@vue/babel-helper-vue-transform-on';
|
|
|
4
4
|
import { _ as _taggedTemplateLiteralLoose, a as _extends, b as _objectWithoutPropertiesLoose } from './_rollupPluginBabelHelpers-ded08042.js';
|
|
5
5
|
import { createVNode, createTextVNode, defineComponent, ref, watch, isVNode, mergeProps, h } from 'vue';
|
|
6
6
|
import VueTypes from 'vue-types';
|
|
7
|
-
import { getObjectFromLocalStorage, getQueryOptions, featuredSuggestionsActionTypes,
|
|
7
|
+
import { suggestionTypes, getObjectFromLocalStorage, getQueryOptions, featuredSuggestionsActionTypes, getClassName as getClassName$2, setObjectInLocalStorage, recLookup, updateCustomQuery as updateCustomQuery$1, updateDefaultQuery as updateDefaultQuery$1, transformTreeListLocalStateIntoQueryComptaibleFormat, isEqual as isEqual$1, transformRawTreeListData, setDeep, getComponent as getComponent$1, getOptionsFromQuery, checkValueChange as checkValueChange$1, getAggsQuery, updateInternalQuery, isFunction as isFunction$1 } from '@appbaseio/reactivecore/lib/utils/helper';
|
|
8
8
|
import { styled } from '@appbaseio/vue-emotion';
|
|
9
9
|
import { css, keyframes } from '@emotion/css';
|
|
10
10
|
import { lighten } from 'polished';
|
|
@@ -1250,10 +1250,10 @@ var SearchBox = defineComponent({
|
|
|
1250
1250
|
sectionId: s._suggestion_type
|
|
1251
1251
|
});
|
|
1252
1252
|
}).map(function (suggestion) {
|
|
1253
|
-
if (suggestion._suggestion_type ===
|
|
1253
|
+
if (suggestion._suggestion_type === suggestionTypes.Document) {
|
|
1254
1254
|
// Document suggestions don't have a meaningful label and value
|
|
1255
1255
|
var newSuggestion = _extends({}, suggestion);
|
|
1256
|
-
newSuggestion.label = 'For
|
|
1256
|
+
newSuggestion.label = 'For document suggestions, please implement a renderItem method to display label.';
|
|
1257
1257
|
var renderItem = _this.$slots.renderItem || _this.$props.renderItem;
|
|
1258
1258
|
if (typeof renderItem === 'function') {
|
|
1259
1259
|
var jsxEl = renderItem(newSuggestion);
|
package/dist/es/install.js
CHANGED
|
@@ -30,7 +30,7 @@ import './ReactiveBase.js';
|
|
|
30
30
|
import 'hotkeys-js';
|
|
31
31
|
import 'xss';
|
|
32
32
|
import 'remarkable';
|
|
33
|
-
export { i as default } from './install-
|
|
33
|
+
export { i as default } from './install-7ecd1a9c.js';
|
|
34
34
|
import './DropDown-6d1dddde.js';
|
|
35
35
|
import './Input-1f6207bc.js';
|
|
36
36
|
import 'compute-scroll-into-view';
|
package/dist/es/version.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@appbaseio/reactivesearch-vue",
|
|
3
|
-
"version": "3.1.0-alpha.
|
|
3
|
+
"version": "3.1.0-alpha.3",
|
|
4
4
|
"main": "dist/cjs/index.js",
|
|
5
5
|
"jsnext:main": "dist/es/index.js",
|
|
6
6
|
"module": "dist/es/index.js",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"sideEffects": false,
|
|
36
36
|
"dependencies": {
|
|
37
37
|
"@appbaseio/analytics": "^1.2.0-alpha.1",
|
|
38
|
-
"@appbaseio/reactivecore": "10.1.0-alpha.
|
|
38
|
+
"@appbaseio/reactivecore": "10.1.0-alpha.3",
|
|
39
39
|
"@appbaseio/vue-emotion": "0.6.0-alpha.6",
|
|
40
40
|
"@emotion/css": "^11.10.5",
|
|
41
41
|
"@vue/babel-helper-vue-jsx-merge-props": "^1.0.0",
|