@appbaseio/reactivesearch-vue 3.1.0-alpha.2 → 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 +866 -494
- package/dist/@appbaseio/reactivesearch-vue.umd.js.map +1 -1
- package/dist/@appbaseio/reactivesearch-vue.umd.min.js +4 -4
- package/dist/@appbaseio/reactivesearch-vue.umd.min.js.map +1 -1
- package/dist/cjs/{DropDown-26666911.js → DropDown-1532353d.js} +1 -1
- package/dist/cjs/DynamicRangeSlider.js +2 -3
- package/dist/cjs/{Input-3ecdb905.js → Input-4279b088.js} +2 -2
- package/dist/cjs/MultiDropdownList.js +2 -2
- package/dist/cjs/MultiList.js +1 -1
- package/dist/cjs/RangeInput.js +3 -4
- package/dist/cjs/RangeSlider.js +2 -3
- package/dist/cjs/SingleDropdownList.js +2 -2
- package/dist/cjs/SingleList.js +1 -1
- package/dist/cjs/index.js +5 -6
- package/dist/cjs/{install-26ae88c8.js → install-c2974532.js} +291 -167
- package/dist/cjs/install.js +5 -6
- package/dist/cjs/version.js +1 -1
- package/dist/components/search/SearchBox.d.ts +4 -0
- package/dist/es/{DropDown-48045fde.js → DropDown-6d1dddde.js} +1 -1
- package/dist/es/DynamicRangeSlider.js +2 -3
- package/dist/es/{Input-83dee8c5.js → Input-1f6207bc.js} +2 -2
- package/dist/es/MultiDropdownList.js +2 -2
- package/dist/es/MultiList.js +1 -1
- package/dist/es/RangeInput.js +3 -4
- package/dist/es/RangeSlider.js +2 -3
- package/dist/es/SingleDropdownList.js +2 -2
- package/dist/es/SingleList.js +1 -1
- package/dist/es/index.js +6 -7
- package/dist/es/{install-924d0354.js → install-7ecd1a9c.js} +293 -169
- package/dist/es/install.js +5 -6
- package/dist/es/version.js +1 -1
- package/dist/types.ts +12 -0
- package/package.json +91 -92
package/dist/cjs/install.js
CHANGED
|
@@ -34,9 +34,9 @@ require('./ReactiveBase.js');
|
|
|
34
34
|
require('hotkeys-js');
|
|
35
35
|
require('xss');
|
|
36
36
|
require('remarkable');
|
|
37
|
-
var install = require('./install-
|
|
38
|
-
require('./DropDown-
|
|
39
|
-
require('./Input-
|
|
37
|
+
var install = require('./install-c2974532.js');
|
|
38
|
+
require('./DropDown-1532353d.js');
|
|
39
|
+
require('./Input-4279b088.js');
|
|
40
40
|
require('compute-scroll-into-view');
|
|
41
41
|
require('./Container-29f049b2.js');
|
|
42
42
|
require('vue-highlight-words');
|
|
@@ -51,9 +51,8 @@ require('./SingleDropdownList.js');
|
|
|
51
51
|
require('./MultiDropdownList.js');
|
|
52
52
|
require('./ToggleButton.js');
|
|
53
53
|
require('./ReactiveComponent.js');
|
|
54
|
-
require('vue-slider-component
|
|
55
|
-
require('vue-slider-component/
|
|
56
|
-
require('vue-slider-component/theme/default.css');
|
|
54
|
+
require('vue-slider-component');
|
|
55
|
+
require('vue-slider-component/theme/antd.css');
|
|
57
56
|
require('./ssr-8dd13d43.js');
|
|
58
57
|
require('./DynamicRangeSlider.js');
|
|
59
58
|
require('./SingleRange.js');
|
package/dist/cjs/version.js
CHANGED
|
@@ -82,6 +82,10 @@ export interface SearchBoxProps extends CommonProps {
|
|
|
82
82
|
featuredSuggestionsConfig?: types.featuredSuggestionsConfig;
|
|
83
83
|
enableIndexSuggestions?: boolean;
|
|
84
84
|
enableFeaturedSuggestions?: boolean;
|
|
85
|
+
enableFAQSuggestions?: boolean;
|
|
86
|
+
FAQSuggestionsConfig?: types.FAQSuggestionsConfig,
|
|
87
|
+
enableDocumentSuggestions?: boolean;
|
|
88
|
+
documentSuggestionsConfig?: types.documentSuggestionsConfig;
|
|
85
89
|
showSuggestionsFooter?: boolean;
|
|
86
90
|
renderSuggestionsFooter?: () => types.children;
|
|
87
91
|
applyStopwords?: boolean;
|
|
@@ -6,7 +6,7 @@ import VueTypes from 'vue-types';
|
|
|
6
6
|
import { styled } from '@appbaseio/vue-emotion';
|
|
7
7
|
import { t as types } from './vueTypes-f503e267.js';
|
|
8
8
|
import { a as isFunction } from './index-104f1dfb.js';
|
|
9
|
-
import { s as suggestionsContainer, a as suggestions, I as Input } from './Input-
|
|
9
|
+
import { s as suggestionsContainer, a as suggestions, I as Input } from './Input-1f6207bc.js';
|
|
10
10
|
import computeScrollIntoView from 'compute-scroll-into-view';
|
|
11
11
|
import { replaceDiacritics } from '@appbaseio/reactivecore/lib/utils/suggestions';
|
|
12
12
|
|
|
@@ -10,9 +10,8 @@ import { j as updateCustomQuery, d as getValidPropsKeys, i as isQueryIdentical,
|
|
|
10
10
|
import { P as PreferencesConsumer } from './PreferencesConsumer-0856ed43.js';
|
|
11
11
|
import { T as Title } from './Title-863dfa42.js';
|
|
12
12
|
import { C as Container } from './Container-d00219f7.js';
|
|
13
|
-
import VueSlider from 'vue-slider-component
|
|
14
|
-
import 'vue-slider-component/
|
|
15
|
-
import 'vue-slider-component/theme/default.css';
|
|
13
|
+
import VueSlider from 'vue-slider-component';
|
|
14
|
+
import 'vue-slider-component/theme/antd.css';
|
|
16
15
|
import { g as getComponents, N as NoSSR, S as Slider } from './ssr-c630ccb9.js';
|
|
17
16
|
|
|
18
17
|
var addComponent = Actions.addComponent,
|
|
@@ -69,9 +69,9 @@ var searchboxSuggestions = function searchboxSuggestions(themePreset, theme) {
|
|
|
69
69
|
};
|
|
70
70
|
var suggestionsContainer = css(_templateObject6 || (_templateObject6 = _taggedTemplateLiteralLoose(["\n\tposition: relative;\n\t.cancel-icon {\n\t\tcursor: pointer;\n\t}\n"])));
|
|
71
71
|
var noSuggestions = function noSuggestions(themePreset, theme) {
|
|
72
|
-
return css(_templateObject7 || (_templateObject7 = _taggedTemplateLiteralLoose(["\n\tdisplay: block;\n\twidth: 100%;\n\tborder
|
|
72
|
+
return css(_templateObject7 || (_templateObject7 = _taggedTemplateLiteralLoose(["\n\tdisplay: block;\n\twidth: 100%;\n\tborder-top: none;\n\tbackground-color: #fff;\n\tfont-size: 0.9rem;\n\tz-index: 3;\n\tposition: absolute;\n\tmargin: 0;\n\tpadding: 0;\n\tlist-style: none;\n\tmax-height: 260px;\n\toverflow-y: auto;\n border-radius: 6px;\n border-top-left-radius: 0;\n border-top-right-radius: 0;\n box-shadow: rgb(0 0 0 / 20%) 0px 10px 15px;\n border-top: 1px solid #f2f0f0;\n\n\t&.small {\n\t\ttop: 30px;\n\t}\n\n\tli {\n\t\tdisplay: flex;\n\t\tjustify-content: space-between;\n\t\tpadding: 10px;\n\t\tuser-select: none;\n\n\t\t& > .trim {\n\t\t\tdisplay: -webkit-box;\n\t\t\tdisplay: block;\n\t\t\twidth: 100%;\n\t\t\tmax-height: 2.3rem;\n\t\t\tline-height: 1.2rem;\n\t\t\t-webkit-line-clamp: 2;\n\t\t\t-webkit-box-orient: vertical;\n\t\t\toverflow: hidden;\n\t\t\ttext-overflow: ellipsis;\n\t\t\twhite-space: nowrap;\n\t\t}\n\t}\n\n\t", "\n"])), themePreset === 'dark' && theme && dark(theme));
|
|
73
73
|
};
|
|
74
|
-
var TextArea = styled('textarea')(_templateObject8 || (_templateObject8 = _taggedTemplateLiteralLoose(["\n\t", ";\n\t", ";\n\n\t", ";\n\t", ";\n\t&::-webkit-search-decoration,\n\t&::-webkit-search-cancel-button,\n\t&::-webkit-search-results-button,\n\t&::-webkit-search-results-decoration {\n\t\tdisplay: none;\n\t}\n\tresize: none;\n\toverflow: hidden;\n\theight: 42px;\n\tpadding-left: 0;\n\tpadding-right: 0;\n"])), function (props) {
|
|
74
|
+
var TextArea = styled('textarea')(_templateObject8 || (_templateObject8 = _taggedTemplateLiteralLoose(["\n\t", ";\n\t", ";\n\n\t", ";\n\t", ";\n\t&::-webkit-search-decoration,\n\t&::-webkit-search-cancel-button,\n\t&::-webkit-search-results-button,\n\t&::-webkit-search-results-decoration {\n\t\tdisplay: none;\n\t}\n\tresize: none;\n\toverflow: hidden;\n\theight: 42px;\n\tpadding-left: 0;\n\tpadding-right: 0;\n\tborder-color: transparent;\n\n"])), function (props) {
|
|
75
75
|
return input(props.searchBox);
|
|
76
76
|
}, function (_ref4) {
|
|
77
77
|
var themePreset = _ref4.themePreset,
|
|
@@ -16,8 +16,8 @@ import { j as updateCustomQuery, u as updateDefaultQuery, i as isQueryIdentical,
|
|
|
16
16
|
import { C as ComponentWrapper } from './ComponentWrapper-46d04344.js';
|
|
17
17
|
import { P as PreferencesConsumer } from './PreferencesConsumer-0856ed43.js';
|
|
18
18
|
import { T as Title } from './Title-863dfa42.js';
|
|
19
|
-
import { c as Dropdown } from './DropDown-
|
|
20
|
-
import './Input-
|
|
19
|
+
import { c as Dropdown } from './DropDown-6d1dddde.js';
|
|
20
|
+
import './Input-1f6207bc.js';
|
|
21
21
|
import 'compute-scroll-into-view';
|
|
22
22
|
import { C as Container } from './Container-d00219f7.js';
|
|
23
23
|
import '@appbaseio/reactivecore/lib/utils/suggestions';
|
package/dist/es/MultiList.js
CHANGED
|
@@ -13,7 +13,7 @@ import { j as updateCustomQuery, u as updateDefaultQuery, i as isQueryIdentical,
|
|
|
13
13
|
import { C as ComponentWrapper } from './ComponentWrapper-46d04344.js';
|
|
14
14
|
import { P as PreferencesConsumer } from './PreferencesConsumer-0856ed43.js';
|
|
15
15
|
import { T as Title } from './Title-863dfa42.js';
|
|
16
|
-
import { I as Input } from './Input-
|
|
16
|
+
import { I as Input } from './Input-1f6207bc.js';
|
|
17
17
|
import { C as Container } from './Container-d00219f7.js';
|
|
18
18
|
import { replaceDiacritics } from '@appbaseio/reactivecore/lib/utils/suggestions';
|
|
19
19
|
import { U as UL, C as Checkbox } from './FormControlList-fe6eaee4.js';
|
package/dist/es/RangeInput.js
CHANGED
|
@@ -15,11 +15,10 @@ import { C as ComponentWrapper } from './ComponentWrapper-46d04344.js';
|
|
|
15
15
|
import { P as PreferencesConsumer } from './PreferencesConsumer-0856ed43.js';
|
|
16
16
|
import './Title-863dfa42.js';
|
|
17
17
|
import { F as Flex } from './Flex-25792bc3.js';
|
|
18
|
-
import { I as Input } from './Input-
|
|
18
|
+
import { I as Input } from './Input-1f6207bc.js';
|
|
19
19
|
import { C as Container } from './Container-d00219f7.js';
|
|
20
|
-
import 'vue-slider-component
|
|
21
|
-
import 'vue-slider-component/
|
|
22
|
-
import 'vue-slider-component/theme/default.css';
|
|
20
|
+
import 'vue-slider-component';
|
|
21
|
+
import 'vue-slider-component/theme/antd.css';
|
|
23
22
|
import './ssr-c630ccb9.js';
|
|
24
23
|
import { RangeConnected as RangeConnected$1 } from './RangeSlider.js';
|
|
25
24
|
|
package/dist/es/RangeSlider.js
CHANGED
|
@@ -12,9 +12,8 @@ import { C as ComponentWrapper } from './ComponentWrapper-46d04344.js';
|
|
|
12
12
|
import { P as PreferencesConsumer } from './PreferencesConsumer-0856ed43.js';
|
|
13
13
|
import { T as Title } from './Title-863dfa42.js';
|
|
14
14
|
import { C as Container } from './Container-d00219f7.js';
|
|
15
|
-
import VueSlider from 'vue-slider-component
|
|
16
|
-
import 'vue-slider-component/
|
|
17
|
-
import 'vue-slider-component/theme/default.css';
|
|
15
|
+
import VueSlider from 'vue-slider-component';
|
|
16
|
+
import 'vue-slider-component/theme/antd.css';
|
|
18
17
|
import { g as getComponents, N as NoSSR, S as Slider } from './ssr-c630ccb9.js';
|
|
19
18
|
|
|
20
19
|
var updateQuery = Actions.updateQuery,
|
|
@@ -16,8 +16,8 @@ import { j as updateCustomQuery, u as updateDefaultQuery, i as isQueryIdentical,
|
|
|
16
16
|
import { C as ComponentWrapper } from './ComponentWrapper-46d04344.js';
|
|
17
17
|
import { P as PreferencesConsumer } from './PreferencesConsumer-0856ed43.js';
|
|
18
18
|
import { T as Title } from './Title-863dfa42.js';
|
|
19
|
-
import { c as Dropdown } from './DropDown-
|
|
20
|
-
import './Input-
|
|
19
|
+
import { c as Dropdown } from './DropDown-6d1dddde.js';
|
|
20
|
+
import './Input-1f6207bc.js';
|
|
21
21
|
import 'compute-scroll-into-view';
|
|
22
22
|
import { C as Container } from './Container-d00219f7.js';
|
|
23
23
|
import '@appbaseio/reactivecore/lib/utils/suggestions';
|
package/dist/es/SingleList.js
CHANGED
|
@@ -13,7 +13,7 @@ import { j as updateCustomQuery, u as updateDefaultQuery, i as isQueryIdentical,
|
|
|
13
13
|
import { C as ComponentWrapper } from './ComponentWrapper-46d04344.js';
|
|
14
14
|
import { P as PreferencesConsumer } from './PreferencesConsumer-0856ed43.js';
|
|
15
15
|
import { T as Title } from './Title-863dfa42.js';
|
|
16
|
-
import { I as Input } from './Input-
|
|
16
|
+
import { I as Input } from './Input-1f6207bc.js';
|
|
17
17
|
import { C as Container } from './Container-d00219f7.js';
|
|
18
18
|
import { replaceDiacritics } from '@appbaseio/reactivecore/lib/utils/suggestions';
|
|
19
19
|
import { U as UL, R as Radio } from './FormControlList-fe6eaee4.js';
|
package/dist/es/index.js
CHANGED
|
@@ -30,10 +30,10 @@ 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-
|
|
35
|
-
import './DropDown-
|
|
36
|
-
import './Input-
|
|
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
|
+
import './DropDown-6d1dddde.js';
|
|
36
|
+
import './Input-1f6207bc.js';
|
|
37
37
|
import 'compute-scroll-into-view';
|
|
38
38
|
import './Container-d00219f7.js';
|
|
39
39
|
import 'vue-highlight-words';
|
|
@@ -48,9 +48,8 @@ export { default as SingleDropdownList } from './SingleDropdownList.js';
|
|
|
48
48
|
export { default as MultiDropdownList } from './MultiDropdownList.js';
|
|
49
49
|
export { default as ToggleButton } from './ToggleButton.js';
|
|
50
50
|
export { default as ReactiveComponent } from './ReactiveComponent.js';
|
|
51
|
-
import 'vue-slider-component
|
|
52
|
-
import 'vue-slider-component/
|
|
53
|
-
import 'vue-slider-component/theme/default.css';
|
|
51
|
+
import 'vue-slider-component';
|
|
52
|
+
import 'vue-slider-component/theme/antd.css';
|
|
54
53
|
import './ssr-c630ccb9.js';
|
|
55
54
|
export { default as DynamicRangeSlider } from './DynamicRangeSlider.js';
|
|
56
55
|
export { default as SingleRange } from './SingleRange.js';
|