@appbaseio/reactivesearch-vue 3.0.0-alpha.0 → 3.0.0-alpha.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/README.md +9 -9
- package/dist/@appbaseio/reactivesearch-vue.umd.js +605 -774
- package/dist/@appbaseio/reactivesearch-vue.umd.js.map +1 -1
- package/dist/@appbaseio/reactivesearch-vue.umd.min.js +5 -10
- package/dist/@appbaseio/reactivesearch-vue.umd.min.js.map +1 -1
- package/dist/cjs/{ComponentWrapper-75f88599.js → ComponentWrapper-611cf7f9.js} +2 -2
- package/dist/cjs/{DropDown-6cf84c47.js → DropDown-dc184468.js} +4 -2
- package/dist/cjs/DynamicRangeSlider.js +5 -4
- package/dist/cjs/{Input-4b434436.js → Input-088dfcb4.js} +1 -1
- package/dist/cjs/MultiDropdownList.js +4 -4
- package/dist/cjs/MultiList.js +4 -4
- package/dist/cjs/MultiRange.js +2 -2
- package/dist/cjs/{PreferencesConsumer-eb265924.js → PreferencesConsumer-22d1b49f.js} +1 -3
- package/dist/cjs/RangeInput.js +4 -4
- package/dist/cjs/RangeSlider.js +3 -3
- package/dist/cjs/ReactiveBase.js +4 -3
- package/dist/cjs/{ReactiveComponent-eb8db4c1.js → ReactiveComponent-a6108189.js} +18 -23
- package/dist/cjs/ReactiveComponent.js +6 -6
- package/dist/cjs/ReactiveGoogleMap.js +8 -7
- package/dist/cjs/ReactiveList.js +3 -3
- package/dist/cjs/SingleDropdownList.js +4 -4
- package/dist/cjs/SingleList.js +4 -4
- package/dist/cjs/SingleRange.js +2 -2
- package/dist/cjs/ToggleButton.js +2 -2
- package/dist/cjs/index.js +6 -6
- package/dist/cjs/install.js +6 -6
- package/dist/cjs/{ssr-6907ada3.js → ssr-6c8a72e1.js} +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/es/{ComponentWrapper-5166c76a.js → ComponentWrapper-3dfe6931.js} +2 -2
- package/dist/es/{DropDown-8764360c.js → DropDown-029ffd42.js} +4 -2
- package/dist/es/DynamicRangeSlider.js +5 -4
- package/dist/es/{Input-4a8ef1f3.js → Input-ad474a55.js} +1 -1
- package/dist/es/MultiDropdownList.js +4 -4
- package/dist/es/MultiList.js +4 -4
- package/dist/es/MultiRange.js +2 -2
- package/dist/es/{PreferencesConsumer-c276709c.js → PreferencesConsumer-24e88f3b.js} +1 -3
- package/dist/es/RangeInput.js +4 -4
- package/dist/es/RangeSlider.js +3 -3
- package/dist/es/ReactiveBase.js +4 -3
- package/dist/es/{ReactiveComponent-f9fa5780.js → ReactiveComponent-0a97eb1e.js} +18 -23
- package/dist/es/ReactiveComponent.js +6 -6
- package/dist/es/ReactiveGoogleMap.js +8 -7
- package/dist/es/ReactiveList.js +3 -3
- package/dist/es/SingleDropdownList.js +4 -4
- package/dist/es/SingleList.js +4 -4
- package/dist/es/SingleRange.js +2 -2
- package/dist/es/ToggleButton.js +2 -2
- package/dist/es/index.js +6 -6
- package/dist/es/install.js +6 -6
- package/dist/es/{ssr-af398f0c.js → ssr-584c278d.js} +1 -1
- package/dist/es/version.js +1 -1
- package/package.json +2 -2
|
@@ -59,7 +59,7 @@ var Input = styled('input')(_templateObject || (_templateObject = _taggedTemplat
|
|
|
59
59
|
return props.alert && alertBorder;
|
|
60
60
|
});
|
|
61
61
|
var suggestions = function suggestions(themePreset, theme) {
|
|
62
|
-
return css(_templateObject2 || (_templateObject2 = _taggedTemplateLiteralLoose(["\n\tdisplay: block;\n\twidth: 100%;\n\tborder: 1px solid #ccc;\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: min(100vh, 402px);\n\toverflow-y: auto;\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\tcursor: pointer;\n\t\tpadding: 10px;\n\t\tuser-select: none;\n\n\t\t& > .trim {\n\t\t\tdisplay: -webkit-box;\n\t\t\tdisplay:
|
|
62
|
+
return css(_templateObject2 || (_templateObject2 = _taggedTemplateLiteralLoose(["\n\tdisplay: block;\n\twidth: 100%;\n\tborder: 1px solid #ccc;\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: min(100vh, 402px);\n\toverflow-y: auto;\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\tcursor: pointer;\n\t\tpadding: 10px;\n\t\tuser-select: none;\n\n\t\t& > .trim {\n\t\t\tdisplay: -webkit-box;\n\t\t\tdisplay: flex;\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\n\t\t&:hover,\n\t\t&:focus {\n\t\t\tbackground-color: #eee;\n\t\t}\n\t}\n\n\t", ";\n"])), themePreset === 'dark' && theme && dark(theme));
|
|
63
63
|
};
|
|
64
64
|
var suggestionsContainer = css(_templateObject3 || (_templateObject3 = _taggedTemplateLiteralLoose(["\n\tposition: relative;\n\t.cancel-icon {\n\t\tcursor: pointer;\n\t}\n"])));
|
|
65
65
|
var noSuggestions = function noSuggestions(themePreset, theme) {
|
|
@@ -12,11 +12,11 @@ import { t as types } from './vueTypes-f1923c72.js';
|
|
|
12
12
|
import '@appbaseio/reactivecore/lib/utils/transform';
|
|
13
13
|
import 'redux';
|
|
14
14
|
import { j as updateCustomQuery, u as updateDefaultQuery, i as isQueryIdentical, a as isFunction, n as parseValueArray, g as getComponent, h as hasCustomRenderer, c as connect } from './index-4520a598.js';
|
|
15
|
-
import { C as ComponentWrapper } from './ComponentWrapper-
|
|
16
|
-
import { P as PreferencesConsumer } from './PreferencesConsumer-
|
|
15
|
+
import { C as ComponentWrapper } from './ComponentWrapper-3dfe6931.js';
|
|
16
|
+
import { P as PreferencesConsumer } from './PreferencesConsumer-24e88f3b.js';
|
|
17
17
|
import { T as Title } from './Title-863dfa42.js';
|
|
18
|
-
import { c as Dropdown } from './DropDown-
|
|
19
|
-
import './Input-
|
|
18
|
+
import { c as Dropdown } from './DropDown-029ffd42.js';
|
|
19
|
+
import './Input-ad474a55.js';
|
|
20
20
|
import 'compute-scroll-into-view';
|
|
21
21
|
import { C as Container } from './Container-d00219f7.js';
|
|
22
22
|
import '@appbaseio/reactivecore/lib/utils/suggestions';
|
package/dist/es/MultiList.js
CHANGED
|
@@ -10,10 +10,10 @@ import { t as types } from './vueTypes-f1923c72.js';
|
|
|
10
10
|
import '@appbaseio/reactivecore/lib/utils/transform';
|
|
11
11
|
import 'redux';
|
|
12
12
|
import { j as updateCustomQuery, u as updateDefaultQuery, i as isQueryIdentical, a as isFunction, m as isEvent, n as parseValueArray, g as getComponent, h as hasCustomRenderer, c as connect } from './index-4520a598.js';
|
|
13
|
-
import { C as ComponentWrapper } from './ComponentWrapper-
|
|
14
|
-
import { P as PreferencesConsumer } from './PreferencesConsumer-
|
|
13
|
+
import { C as ComponentWrapper } from './ComponentWrapper-3dfe6931.js';
|
|
14
|
+
import { P as PreferencesConsumer } from './PreferencesConsumer-24e88f3b.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-ad474a55.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';
|
|
@@ -161,7 +161,7 @@ var MultiList = {
|
|
|
161
161
|
return isFunction(renderErrorCalc) ? renderErrorCalc(this.error) : renderErrorCalc;
|
|
162
162
|
}
|
|
163
163
|
if (!this.hasCustomRenderer && this.modifiedOptions.length === 0 && !this.isLoading) {
|
|
164
|
-
if (this.
|
|
164
|
+
if (this.renderNoResults) {
|
|
165
165
|
this.renderNoResult();
|
|
166
166
|
} else {
|
|
167
167
|
return null;
|
package/dist/es/MultiRange.js
CHANGED
|
@@ -10,8 +10,8 @@ import { t as types } from './vueTypes-f1923c72.js';
|
|
|
10
10
|
import '@appbaseio/reactivecore/lib/utils/transform';
|
|
11
11
|
import 'redux';
|
|
12
12
|
import { n as parseValueArray, j as updateCustomQuery, i as isQueryIdentical, c as connect } from './index-4520a598.js';
|
|
13
|
-
import { C as ComponentWrapper } from './ComponentWrapper-
|
|
14
|
-
import { P as PreferencesConsumer } from './PreferencesConsumer-
|
|
13
|
+
import { C as ComponentWrapper } from './ComponentWrapper-3dfe6931.js';
|
|
14
|
+
import { P as PreferencesConsumer } from './PreferencesConsumer-24e88f3b.js';
|
|
15
15
|
import { T as Title } from './Title-863dfa42.js';
|
|
16
16
|
import { C as Container } from './Container-d00219f7.js';
|
|
17
17
|
import { U as UL, C as Checkbox } from './FormControlList-fe6eaee4.js';
|
package/dist/es/RangeInput.js
CHANGED
|
@@ -11,13 +11,13 @@ import { t as types } from './vueTypes-f1923c72.js';
|
|
|
11
11
|
import '@appbaseio/reactivecore/lib/utils/transform';
|
|
12
12
|
import 'redux';
|
|
13
13
|
import { c as connect } from './index-4520a598.js';
|
|
14
|
-
import { C as ComponentWrapper } from './ComponentWrapper-
|
|
15
|
-
import { P as PreferencesConsumer } from './PreferencesConsumer-
|
|
14
|
+
import { C as ComponentWrapper } from './ComponentWrapper-3dfe6931.js';
|
|
15
|
+
import { P as PreferencesConsumer } from './PreferencesConsumer-24e88f3b.js';
|
|
16
16
|
import './Title-863dfa42.js';
|
|
17
17
|
import { F as Flex } from './Flex-a08e22d7.js';
|
|
18
|
-
import { I as Input } from './Input-
|
|
18
|
+
import { I as Input } from './Input-ad474a55.js';
|
|
19
19
|
import { C as Container } from './Container-d00219f7.js';
|
|
20
|
-
import './ssr-
|
|
20
|
+
import './ssr-584c278d.js';
|
|
21
21
|
import { RangeConnected as RangeConnected$1 } from './RangeSlider.js';
|
|
22
22
|
|
|
23
23
|
var _templateObject;
|
package/dist/es/RangeSlider.js
CHANGED
|
@@ -8,11 +8,11 @@ import { t as types } from './vueTypes-f1923c72.js';
|
|
|
8
8
|
import '@appbaseio/reactivecore/lib/utils/transform';
|
|
9
9
|
import 'redux';
|
|
10
10
|
import { j as updateCustomQuery, i as isQueryIdentical, c as connect } from './index-4520a598.js';
|
|
11
|
-
import { C as ComponentWrapper } from './ComponentWrapper-
|
|
12
|
-
import { P as PreferencesConsumer } from './PreferencesConsumer-
|
|
11
|
+
import { C as ComponentWrapper } from './ComponentWrapper-3dfe6931.js';
|
|
12
|
+
import { P as PreferencesConsumer } from './PreferencesConsumer-24e88f3b.js';
|
|
13
13
|
import { T as Title } from './Title-863dfa42.js';
|
|
14
14
|
import { C as Container } from './Container-d00219f7.js';
|
|
15
|
-
import { g as getComponents, N as NoSSR, S as Slider } from './ssr-
|
|
15
|
+
import { g as getComponents, N as NoSSR, S as Slider } from './ssr-584c278d.js';
|
|
16
16
|
|
|
17
17
|
var updateQuery = Actions.updateQuery,
|
|
18
18
|
setQueryOptions = Actions.setQueryOptions,
|
package/dist/es/ReactiveBase.js
CHANGED
|
@@ -531,7 +531,8 @@ var ReactiveBase = {
|
|
|
531
531
|
},
|
|
532
532
|
render: function render() {
|
|
533
533
|
var _this = this;
|
|
534
|
-
var
|
|
534
|
+
var _slot;
|
|
535
|
+
var children = this.$slots["default"];
|
|
535
536
|
var _this$$props2 = this.$props,
|
|
536
537
|
style = _this$$props2.style,
|
|
537
538
|
className = _this$$props2.className;
|
|
@@ -547,9 +548,9 @@ var ReactiveBase = {
|
|
|
547
548
|
"className": className,
|
|
548
549
|
"getSearchParams": _this.getSearchParams,
|
|
549
550
|
"setSearchParams": _this.setSearchParams
|
|
550
|
-
}, _isSlot$2(children) ?
|
|
551
|
+
}, _isSlot$2(_slot = children()) ? _slot : {
|
|
551
552
|
"default": function _default() {
|
|
552
|
-
return [
|
|
553
|
+
return [_slot];
|
|
553
554
|
}
|
|
554
555
|
})];
|
|
555
556
|
}
|
|
@@ -11,13 +11,13 @@ import { B as Button } from './Button-474510e3.js';
|
|
|
11
11
|
import { t as types } from './vueTypes-f1923c72.js';
|
|
12
12
|
import { RLConnected } from './ReactiveList.js';
|
|
13
13
|
import { g as getComponent, h as hasCustomRenderer, f as decodeHtml, i as isQueryIdentical, u as updateDefaultQuery, j as updateCustomQuery, a as isFunction, k as isEmpty, p as parseFocusShortcuts, l as extractModifierKeysFromFocusShortcuts, c as connect } from './index-4520a598.js';
|
|
14
|
-
import { C as ComponentWrapper } from './ComponentWrapper-
|
|
15
|
-
import { P as PreferencesConsumer } from './PreferencesConsumer-
|
|
14
|
+
import { C as ComponentWrapper } from './ComponentWrapper-3dfe6931.js';
|
|
15
|
+
import { P as PreferencesConsumer } from './PreferencesConsumer-24e88f3b.js';
|
|
16
16
|
import { T as Title } from './Title-863dfa42.js';
|
|
17
17
|
import { F as Flex } from './Flex-a08e22d7.js';
|
|
18
18
|
import hotkeys from 'hotkeys-js';
|
|
19
|
-
import { I as IconWrapper, C as CancelSvg, a as IconGroup, D as Downshift, b as InputWrapper } from './DropDown-
|
|
20
|
-
import { n as noSuggestions, s as suggestionsContainer, I as Input, a as suggestions } from './Input-
|
|
19
|
+
import { I as IconWrapper, C as CancelSvg, a as IconGroup, D as Downshift, b as InputWrapper } from './DropDown-029ffd42.js';
|
|
20
|
+
import { n as noSuggestions, s as suggestionsContainer, I as Input, a as suggestions } from './Input-ad474a55.js';
|
|
21
21
|
import { C as Container } from './Container-d00219f7.js';
|
|
22
22
|
import Highlight from 'vue-highlight-words';
|
|
23
23
|
import { ListConnected as ListConnected$3 } from './SingleList.js';
|
|
@@ -849,7 +849,6 @@ var SearchBox = defineComponent({
|
|
|
849
849
|
showFilter: VueTypes.bool.def(true),
|
|
850
850
|
showIcon: VueTypes.bool.def(true),
|
|
851
851
|
title: types.title,
|
|
852
|
-
theme: types.style,
|
|
853
852
|
URLParams: VueTypes.bool.def(false),
|
|
854
853
|
strictSelection: VueTypes.bool.def(false),
|
|
855
854
|
nestedField: types.string,
|
|
@@ -1344,9 +1343,7 @@ var SearchBox = defineComponent({
|
|
|
1344
1343
|
if (finalSuggestionsList === void 0) {
|
|
1345
1344
|
finalSuggestionsList = [];
|
|
1346
1345
|
}
|
|
1347
|
-
var
|
|
1348
|
-
theme = _this$$props2.theme,
|
|
1349
|
-
innerClass = _this$$props2.innerClass;
|
|
1346
|
+
var innerClass = this.$props.innerClass;
|
|
1350
1347
|
var renderNoSuggestion = this.$slots.renderNoSuggestion || this.$props.renderNoSuggestion;
|
|
1351
1348
|
var renderError = this.$slots.renderError || this.$props.renderError;
|
|
1352
1349
|
var _this$$data = this.$data,
|
|
@@ -1356,7 +1353,7 @@ var SearchBox = defineComponent({
|
|
|
1356
1353
|
return createVNode(SuggestionWrapper, {
|
|
1357
1354
|
"innerClass": innerClass,
|
|
1358
1355
|
"themePreset": this.themePreset,
|
|
1359
|
-
"theme": theme,
|
|
1356
|
+
"theme": this.theme,
|
|
1360
1357
|
"innerClassName": "noSuggestion"
|
|
1361
1358
|
}, {
|
|
1362
1359
|
"default": function _default() {
|
|
@@ -1403,9 +1400,9 @@ var SearchBox = defineComponent({
|
|
|
1403
1400
|
},
|
|
1404
1401
|
renderEnterButtonElement: function renderEnterButtonElement() {
|
|
1405
1402
|
var _this5 = this;
|
|
1406
|
-
var _this$$
|
|
1407
|
-
enterButton = _this$$
|
|
1408
|
-
innerClass = _this$$
|
|
1403
|
+
var _this$$props2 = this.$props,
|
|
1404
|
+
enterButton = _this$$props2.enterButton,
|
|
1405
|
+
innerClass = _this$$props2.innerClass;
|
|
1409
1406
|
var renderEnterButton = this.$slots.renderEnterButton;
|
|
1410
1407
|
if (enterButton) {
|
|
1411
1408
|
var getEnterButtonMarkup = function getEnterButtonMarkup() {
|
|
@@ -1431,13 +1428,13 @@ var SearchBox = defineComponent({
|
|
|
1431
1428
|
renderIcons: function renderIcons() {
|
|
1432
1429
|
var _this6 = this;
|
|
1433
1430
|
var _slot3, _slot4, _slot5;
|
|
1434
|
-
var _this$$
|
|
1435
|
-
iconPosition = _this$$
|
|
1436
|
-
showClear = _this$$
|
|
1437
|
-
innerClass = _this$$
|
|
1438
|
-
getMicInstance = _this$$
|
|
1439
|
-
showVoiceSearch = _this$$
|
|
1440
|
-
showIcon = _this$$
|
|
1431
|
+
var _this$$props3 = this.$props,
|
|
1432
|
+
iconPosition = _this$$props3.iconPosition,
|
|
1433
|
+
showClear = _this$$props3.showClear,
|
|
1434
|
+
innerClass = _this$$props3.innerClass,
|
|
1435
|
+
getMicInstance = _this$$props3.getMicInstance,
|
|
1436
|
+
showVoiceSearch = _this$$props3.showVoiceSearch,
|
|
1437
|
+
showIcon = _this$$props3.showIcon;
|
|
1441
1438
|
var renderMic = this.$slots.renderMic || this.$props.renderMic;
|
|
1442
1439
|
var currentValue = this.$data.currentValue;
|
|
1443
1440
|
return createVNode("div", null, [createVNode(IconGroup, {
|
|
@@ -1608,9 +1605,7 @@ var SearchBox = defineComponent({
|
|
|
1608
1605
|
},
|
|
1609
1606
|
render: function render() {
|
|
1610
1607
|
var _this11 = this;
|
|
1611
|
-
var
|
|
1612
|
-
theme = _this$$props5.theme,
|
|
1613
|
-
expandSuggestionsContainer = _this$$props5.expandSuggestionsContainer;
|
|
1608
|
+
var expandSuggestionsContainer = this.$props.expandSuggestionsContainer;
|
|
1614
1609
|
var _this$$slots = this.$slots,
|
|
1615
1610
|
recentSearchesIcon = _this$$slots.recentSearchesIcon,
|
|
1616
1611
|
popularSearchesIcon = _this$$slots.popularSearchesIcon;
|
|
@@ -1657,7 +1652,7 @@ var SearchBox = defineComponent({
|
|
|
1657
1652
|
getItemEvents: getItemEvents,
|
|
1658
1653
|
highlightedIndex: highlightedIndex
|
|
1659
1654
|
}), _this11.renderErrorComponent(), !_this11.hasCustomRenderer && isOpen && hasSuggestions ? createVNode("ul", {
|
|
1660
|
-
"class": suggestions(_this11.themePreset, theme) + " " + getClassName$1(_this11.$props.innerClass, 'list')
|
|
1655
|
+
"class": suggestions(_this11.themePreset, _this11.theme) + " " + getClassName$1(_this11.$props.innerClass, 'list')
|
|
1661
1656
|
}, [_this11.normalizedSuggestions.map(function (item, index) {
|
|
1662
1657
|
return renderItem ? createVNode("li", mergeProps(getItemProps({
|
|
1663
1658
|
item: item
|
|
@@ -15,16 +15,16 @@ import './ReactiveList.js';
|
|
|
15
15
|
import '@appbaseio/reactivecore/lib/utils/transform';
|
|
16
16
|
import 'redux';
|
|
17
17
|
import './index-4520a598.js';
|
|
18
|
-
import './ComponentWrapper-
|
|
19
|
-
import './PreferencesConsumer-
|
|
18
|
+
import './ComponentWrapper-3dfe6931.js';
|
|
19
|
+
import './PreferencesConsumer-24e88f3b.js';
|
|
20
20
|
import './Title-863dfa42.js';
|
|
21
21
|
import './ListItem-16756c02.js';
|
|
22
22
|
import './Card-38cbe652.js';
|
|
23
23
|
import './Flex-a08e22d7.js';
|
|
24
24
|
import 'hotkeys-js';
|
|
25
|
-
export { R as default } from './ReactiveComponent-
|
|
26
|
-
import './DropDown-
|
|
27
|
-
import './Input-
|
|
25
|
+
export { R as default } from './ReactiveComponent-0a97eb1e.js';
|
|
26
|
+
import './DropDown-029ffd42.js';
|
|
27
|
+
import './Input-ad474a55.js';
|
|
28
28
|
import 'compute-scroll-into-view';
|
|
29
29
|
import './Container-d00219f7.js';
|
|
30
30
|
import 'vue-highlight-words';
|
|
@@ -36,7 +36,7 @@ import './MultiList.js';
|
|
|
36
36
|
import './SingleDropdownList.js';
|
|
37
37
|
import './MultiDropdownList.js';
|
|
38
38
|
import './ToggleButton.js';
|
|
39
|
-
import './ssr-
|
|
39
|
+
import './ssr-584c278d.js';
|
|
40
40
|
import './DynamicRangeSlider.js';
|
|
41
41
|
import './SingleRange.js';
|
|
42
42
|
import './MultiRange.js';
|
|
@@ -13,8 +13,8 @@ import { P as Pagination } from './Pagination-72bd1d9e.js';
|
|
|
13
13
|
import '@appbaseio/reactivecore/lib/utils/transform';
|
|
14
14
|
import 'redux';
|
|
15
15
|
import { h as hasCustomRenderer, i as isQueryIdentical, g as getComponent, a as isFunction, c as connect } from './index-4520a598.js';
|
|
16
|
-
import { C as ComponentWrapper } from './ComponentWrapper-
|
|
17
|
-
import { P as PreferencesConsumer } from './PreferencesConsumer-
|
|
16
|
+
import { C as ComponentWrapper } from './ComponentWrapper-3dfe6931.js';
|
|
17
|
+
import { P as PreferencesConsumer } from './PreferencesConsumer-24e88f3b.js';
|
|
18
18
|
import { C as Checkbox } from './FormControlList-fe6eaee4.js';
|
|
19
19
|
import VueGoogleMaps, { InfoWindow, MapElementMixin, Marker, GMapCluster, Map } from 'vue-google-maps-community-fork';
|
|
20
20
|
import geohash from 'ngeohash';
|
|
@@ -564,7 +564,8 @@ var ReactiveMap = {
|
|
|
564
564
|
geo_bounding_box: (_geo_bounding_box = {}, _geo_bounding_box[this.dataField] = boundingBoxCoordinates, _geo_bounding_box)
|
|
565
565
|
};
|
|
566
566
|
if (this.$defaultQuery) {
|
|
567
|
-
var
|
|
567
|
+
var _ref2 = this.$defaultQuery || {},
|
|
568
|
+
query = _ref2.query;
|
|
568
569
|
if (query) {
|
|
569
570
|
// adds defaultQuery's query to geo-query
|
|
570
571
|
// to generate a map query
|
|
@@ -699,14 +700,14 @@ var ReactiveMap = {
|
|
|
699
700
|
var options = getQueryOptions(this.$props);
|
|
700
701
|
options.from = this.$data.from;
|
|
701
702
|
if (this.$props.sortBy) {
|
|
702
|
-
var
|
|
703
|
-
options.sort = [(
|
|
703
|
+
var _ref3;
|
|
704
|
+
options.sort = [(_ref3 = {}, _ref3[this.$props.dataField] = {
|
|
704
705
|
order: this.$props.sortBy
|
|
705
|
-
},
|
|
706
|
+
}, _ref3)];
|
|
706
707
|
}
|
|
707
708
|
this.$defaultQuery = null;
|
|
708
709
|
if (this.$props.defaultQuery) {
|
|
709
|
-
this.$defaultQuery = this.$props.defaultQuery();
|
|
710
|
+
this.$defaultQuery = this.$props.defaultQuery() || {};
|
|
710
711
|
options = _extends({}, options, getOptionsFromQuery(this.$defaultQuery));
|
|
711
712
|
|
|
712
713
|
// Override sort query with defaultQuery's sort if defined
|
package/dist/es/ReactiveList.js
CHANGED
|
@@ -14,8 +14,8 @@ import { P as Pagination } from './Pagination-72bd1d9e.js';
|
|
|
14
14
|
import '@appbaseio/reactivecore/lib/utils/transform';
|
|
15
15
|
import 'redux';
|
|
16
16
|
import { c as connect, h as hasCustomRenderer, i as isQueryIdentical, u as updateDefaultQuery, a as isFunction, g as getComponent } from './index-4520a598.js';
|
|
17
|
-
import { C as ComponentWrapper } from './ComponentWrapper-
|
|
18
|
-
import { P as PreferencesConsumer } from './PreferencesConsumer-
|
|
17
|
+
import { C as ComponentWrapper } from './ComponentWrapper-3dfe6931.js';
|
|
18
|
+
import { P as PreferencesConsumer } from './PreferencesConsumer-24e88f3b.js';
|
|
19
19
|
import './Title-863dfa42.js';
|
|
20
20
|
import { c as container } from './ListItem-16756c02.js';
|
|
21
21
|
import { c as container$1 } from './Card-38cbe652.js';
|
|
@@ -211,7 +211,7 @@ var ImpressionTracker = {
|
|
|
211
211
|
}
|
|
212
212
|
},
|
|
213
213
|
render: function render() {
|
|
214
|
-
return this.$slots["default"];
|
|
214
|
+
return this.$slots["default"]();
|
|
215
215
|
}
|
|
216
216
|
};
|
|
217
217
|
var mapDispatchToProps = {
|
|
@@ -12,11 +12,11 @@ import { t as types } from './vueTypes-f1923c72.js';
|
|
|
12
12
|
import '@appbaseio/reactivecore/lib/utils/transform';
|
|
13
13
|
import 'redux';
|
|
14
14
|
import { j as updateCustomQuery, u as updateDefaultQuery, i as isQueryIdentical, a as isFunction, g as getComponent, h as hasCustomRenderer, c as connect } from './index-4520a598.js';
|
|
15
|
-
import { C as ComponentWrapper } from './ComponentWrapper-
|
|
16
|
-
import { P as PreferencesConsumer } from './PreferencesConsumer-
|
|
15
|
+
import { C as ComponentWrapper } from './ComponentWrapper-3dfe6931.js';
|
|
16
|
+
import { P as PreferencesConsumer } from './PreferencesConsumer-24e88f3b.js';
|
|
17
17
|
import { T as Title } from './Title-863dfa42.js';
|
|
18
|
-
import { c as Dropdown } from './DropDown-
|
|
19
|
-
import './Input-
|
|
18
|
+
import { c as Dropdown } from './DropDown-029ffd42.js';
|
|
19
|
+
import './Input-ad474a55.js';
|
|
20
20
|
import 'compute-scroll-into-view';
|
|
21
21
|
import { C as Container } from './Container-d00219f7.js';
|
|
22
22
|
import '@appbaseio/reactivecore/lib/utils/suggestions';
|
package/dist/es/SingleList.js
CHANGED
|
@@ -10,10 +10,10 @@ import { t as types } from './vueTypes-f1923c72.js';
|
|
|
10
10
|
import '@appbaseio/reactivecore/lib/utils/transform';
|
|
11
11
|
import 'redux';
|
|
12
12
|
import { j as updateCustomQuery, u as updateDefaultQuery, i as isQueryIdentical, a as isFunction, g as getComponent, m as isEvent, h as hasCustomRenderer, c as connect } from './index-4520a598.js';
|
|
13
|
-
import { C as ComponentWrapper } from './ComponentWrapper-
|
|
14
|
-
import { P as PreferencesConsumer } from './PreferencesConsumer-
|
|
13
|
+
import { C as ComponentWrapper } from './ComponentWrapper-3dfe6931.js';
|
|
14
|
+
import { P as PreferencesConsumer } from './PreferencesConsumer-24e88f3b.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-ad474a55.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';
|
|
@@ -143,7 +143,7 @@ var SingleList = {
|
|
|
143
143
|
return isFunction(renderErrorCalc) ? renderErrorCalc(this.error) : renderErrorCalc;
|
|
144
144
|
}
|
|
145
145
|
if (!this.hasCustomRenderer && this.modifiedOptions.length === 0 && !this.isLoading) {
|
|
146
|
-
if (this.
|
|
146
|
+
if (this.renderNoResults) {
|
|
147
147
|
this.renderNoResult();
|
|
148
148
|
} else {
|
|
149
149
|
return null;
|
package/dist/es/SingleRange.js
CHANGED
|
@@ -10,8 +10,8 @@ import { t as types } from './vueTypes-f1923c72.js';
|
|
|
10
10
|
import '@appbaseio/reactivecore/lib/utils/transform';
|
|
11
11
|
import 'redux';
|
|
12
12
|
import { j as updateCustomQuery, i as isQueryIdentical, c as connect } from './index-4520a598.js';
|
|
13
|
-
import { C as ComponentWrapper } from './ComponentWrapper-
|
|
14
|
-
import { P as PreferencesConsumer } from './PreferencesConsumer-
|
|
13
|
+
import { C as ComponentWrapper } from './ComponentWrapper-3dfe6931.js';
|
|
14
|
+
import { P as PreferencesConsumer } from './PreferencesConsumer-24e88f3b.js';
|
|
15
15
|
import { T as Title } from './Title-863dfa42.js';
|
|
16
16
|
import { C as Container } from './Container-d00219f7.js';
|
|
17
17
|
import { U as UL, R as Radio } from './FormControlList-fe6eaee4.js';
|
package/dist/es/ToggleButton.js
CHANGED
|
@@ -11,8 +11,8 @@ import { t as types } from './vueTypes-f1923c72.js';
|
|
|
11
11
|
import '@appbaseio/reactivecore/lib/utils/transform';
|
|
12
12
|
import 'redux';
|
|
13
13
|
import { j as updateCustomQuery, i as isQueryIdentical, c as connect } from './index-4520a598.js';
|
|
14
|
-
import { C as ComponentWrapper } from './ComponentWrapper-
|
|
15
|
-
import { P as PreferencesConsumer } from './PreferencesConsumer-
|
|
14
|
+
import { C as ComponentWrapper } from './ComponentWrapper-3dfe6931.js';
|
|
15
|
+
import { P as PreferencesConsumer } from './PreferencesConsumer-24e88f3b.js';
|
|
16
16
|
import { T as Title } from './Title-863dfa42.js';
|
|
17
17
|
import { C as Container } from './Container-d00219f7.js';
|
|
18
18
|
|
package/dist/es/index.js
CHANGED
|
@@ -15,8 +15,8 @@ export { default as ReactiveList } from './ReactiveList.js';
|
|
|
15
15
|
import '@appbaseio/reactivecore/lib/utils/transform';
|
|
16
16
|
import 'redux';
|
|
17
17
|
import './index-4520a598.js';
|
|
18
|
-
import './ComponentWrapper-
|
|
19
|
-
import './PreferencesConsumer-
|
|
18
|
+
import './ComponentWrapper-3dfe6931.js';
|
|
19
|
+
import './PreferencesConsumer-24e88f3b.js';
|
|
20
20
|
import './Title-863dfa42.js';
|
|
21
21
|
import './ListItem-16756c02.js';
|
|
22
22
|
import './Card-38cbe652.js';
|
|
@@ -27,9 +27,9 @@ import '@appbaseio/analytics';
|
|
|
27
27
|
import 'url-search-params-polyfill';
|
|
28
28
|
export { default as ReactiveBase } from './ReactiveBase.js';
|
|
29
29
|
import 'hotkeys-js';
|
|
30
|
-
export { R as ReactiveComponent, S as SearchBox } from './ReactiveComponent-
|
|
31
|
-
import './DropDown-
|
|
32
|
-
import './Input-
|
|
30
|
+
export { R as ReactiveComponent, S as SearchBox } from './ReactiveComponent-0a97eb1e.js';
|
|
31
|
+
import './DropDown-029ffd42.js';
|
|
32
|
+
import './Input-ad474a55.js';
|
|
33
33
|
import 'compute-scroll-into-view';
|
|
34
34
|
import './Container-d00219f7.js';
|
|
35
35
|
import 'vue-highlight-words';
|
|
@@ -41,7 +41,7 @@ export { default as MultiList } from './MultiList.js';
|
|
|
41
41
|
export { default as SingleDropdownList } from './SingleDropdownList.js';
|
|
42
42
|
export { default as MultiDropdownList } from './MultiDropdownList.js';
|
|
43
43
|
export { default as ToggleButton } from './ToggleButton.js';
|
|
44
|
-
import './ssr-
|
|
44
|
+
import './ssr-584c278d.js';
|
|
45
45
|
export { default as DynamicRangeSlider } from './DynamicRangeSlider.js';
|
|
46
46
|
export { default as SingleRange } from './SingleRange.js';
|
|
47
47
|
export { default as MultiRange } from './MultiRange.js';
|
package/dist/es/install.js
CHANGED
|
@@ -15,8 +15,8 @@ import ReactiveList from './ReactiveList.js';
|
|
|
15
15
|
import '@appbaseio/reactivecore/lib/utils/transform';
|
|
16
16
|
import 'redux';
|
|
17
17
|
import './index-4520a598.js';
|
|
18
|
-
import './ComponentWrapper-
|
|
19
|
-
import './PreferencesConsumer-
|
|
18
|
+
import './ComponentWrapper-3dfe6931.js';
|
|
19
|
+
import './PreferencesConsumer-24e88f3b.js';
|
|
20
20
|
import './Title-863dfa42.js';
|
|
21
21
|
import './ListItem-16756c02.js';
|
|
22
22
|
import './Card-38cbe652.js';
|
|
@@ -27,9 +27,9 @@ import '@appbaseio/analytics';
|
|
|
27
27
|
import 'url-search-params-polyfill';
|
|
28
28
|
import ReactiveBase from './ReactiveBase.js';
|
|
29
29
|
import 'hotkeys-js';
|
|
30
|
-
import { S as SearchBox, R as ReactiveComponent } from './ReactiveComponent-
|
|
31
|
-
import './DropDown-
|
|
32
|
-
import './Input-
|
|
30
|
+
import { S as SearchBox, R as ReactiveComponent } from './ReactiveComponent-0a97eb1e.js';
|
|
31
|
+
import './DropDown-029ffd42.js';
|
|
32
|
+
import './Input-ad474a55.js';
|
|
33
33
|
import 'compute-scroll-into-view';
|
|
34
34
|
import './Container-d00219f7.js';
|
|
35
35
|
import 'vue-highlight-words';
|
|
@@ -41,7 +41,7 @@ import MultiList from './MultiList.js';
|
|
|
41
41
|
import SingleDropdownList from './SingleDropdownList.js';
|
|
42
42
|
import MultiDropdownList from './MultiDropdownList.js';
|
|
43
43
|
import ToggleButton from './ToggleButton.js';
|
|
44
|
-
import './ssr-
|
|
44
|
+
import './ssr-584c278d.js';
|
|
45
45
|
import DynamicRangeSlider from './DynamicRangeSlider.js';
|
|
46
46
|
import SingleRange from './SingleRange.js';
|
|
47
47
|
import MultiRange from './MultiRange.js';
|
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.0.0-alpha.
|
|
3
|
+
"version": "3.0.0-alpha.1",
|
|
4
4
|
"private": false,
|
|
5
5
|
"main": "dist/cjs/index.js",
|
|
6
6
|
"jsnext:main": "dist/es/index.js",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"sideEffects": false,
|
|
36
36
|
"dependencies": {
|
|
37
37
|
"@appbaseio/analytics": "^1.1.1",
|
|
38
|
-
"@appbaseio/reactivecore": "10.0.0-alpha.
|
|
38
|
+
"@appbaseio/reactivecore": "10.0.0-alpha.1",
|
|
39
39
|
"@appbaseio/vue-emotion": "0.6.0-alpha.6",
|
|
40
40
|
"@vue/babel-helper-vue-jsx-merge-props": "^1.0.0",
|
|
41
41
|
"appbase-js": "^5.2.0",
|