@appbaseio/reactivesearch-vue 1.34.0-alpha.2 → 1.34.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 +11024 -8760
- package/dist/@appbaseio/reactivesearch-vue.umd.js.map +1 -1
- package/dist/@appbaseio/reactivesearch-vue.umd.min.js +12 -11
- package/dist/@appbaseio/reactivesearch-vue.umd.min.js.map +1 -1
- package/dist/cjs/Button-841fd06d.js +62 -0
- package/dist/cjs/{CancelSvg-062a42f0.js → CancelSvg-220a7cc3.js} +40 -32
- package/dist/cjs/Card-240f283d.js +30 -0
- package/dist/cjs/{ComponentWrapper-db45cc6d.js → ComponentWrapper-94c50228.js} +7 -7
- package/dist/cjs/Container-e699ea95.js +15 -0
- package/dist/cjs/DataSearch.js +1312 -20
- package/dist/cjs/{DropDown-3b899b20.js → DropDown-7a52c661.js} +79 -78
- package/dist/cjs/DynamicRangeSlider.js +46 -56
- package/dist/cjs/Flex-ddd7cb6b.js +50 -0
- package/dist/cjs/FormControlList-bbb5cd24.js +45 -0
- package/dist/cjs/Input-ead4cd84.js +77 -0
- package/dist/cjs/ListItem-5088bd6a.js +45 -0
- package/dist/cjs/MultiDropdownList.js +68 -74
- package/dist/cjs/MultiList.js +94 -89
- package/dist/cjs/MultiRange.js +44 -54
- package/dist/cjs/{Pagination-a468f960.js → Pagination-e56a5b79.js} +53 -56
- package/dist/cjs/{PreferencesConsumer-034c55e3.js → PreferencesConsumer-5e6e84a2.js} +5 -6
- package/dist/cjs/RangeInput.js +107 -115
- package/dist/cjs/RangeSlider.js +39 -50
- package/dist/cjs/ReactiveBase.js +55 -69
- package/dist/cjs/ReactiveComponent.js +316 -46
- package/dist/cjs/{ReactiveComponent-f0f486ca.js → ReactiveComponentPrivate-244c6055.js} +321 -618
- package/dist/cjs/ReactiveComponentPrivate.js +55 -0
- package/dist/cjs/ReactiveGoogleMap.js +439 -384
- package/dist/cjs/ReactiveList.js +128 -100
- package/dist/cjs/ResultCard.js +19 -26
- package/dist/cjs/ResultList.js +27 -31
- package/dist/cjs/SelectedFilters.js +34 -49
- package/dist/cjs/SingleDropdownList.js +66 -73
- package/dist/cjs/SingleList.js +96 -90
- package/dist/cjs/SingleRange.js +42 -48
- package/dist/cjs/StateProvider.js +2 -2
- package/dist/cjs/Tags-4ec43831.js +883 -0
- package/dist/cjs/Title-16042ea0.js +15 -0
- package/dist/cjs/ToggleButton.js +34 -39
- package/dist/cjs/{index-dc25b706.js → index-de136c17.js} +8 -6
- package/dist/cjs/index.js +27 -25
- package/dist/cjs/initReactivesearch.js +0 -3
- package/dist/cjs/install.js +23 -22
- package/dist/cjs/ssr-f2fc1bf6.js +36 -0
- package/dist/cjs/version.js +1 -1
- package/dist/cjs/{vueTypes-621a8143.js → vueTypes-b7007f5f.js} +3 -2
- package/dist/es/Button-153cd885.js +53 -0
- package/dist/es/{CancelSvg-14ebc9a1.js → CancelSvg-e40552a5.js} +37 -30
- package/dist/es/{Card-1951569e.js → Card-19ad6d90.js} +6 -5
- package/dist/es/{ComponentWrapper-bf443c0b.js → ComponentWrapper-edaeaceb.js} +6 -6
- package/dist/es/Container-d00219f7.js +1 -1
- package/dist/es/DataSearch.js +1312 -18
- package/dist/es/{DropDown-35e232b7.js → DropDown-2c0dd714.js} +78 -78
- package/dist/es/DynamicRangeSlider.js +43 -53
- package/dist/es/Flex-7c177a10.js +45 -0
- package/dist/es/FormControlList-99797d0a.js +38 -0
- package/dist/es/Input-c09c0b56.js +69 -0
- package/dist/es/{ListItem-47a6345a.js → ListItem-07888a65.js} +7 -6
- package/dist/es/MultiDropdownList.js +66 -72
- package/dist/es/MultiList.js +93 -88
- package/dist/es/MultiRange.js +42 -52
- package/dist/es/{Pagination-145b4ff2.js → Pagination-edeb7dbe.js} +53 -56
- package/dist/es/{PreferencesConsumer-7ea7313a.js → PreferencesConsumer-86a676c8.js} +4 -5
- package/dist/es/RangeInput.js +103 -112
- package/dist/es/RangeSlider.js +36 -47
- package/dist/es/ReactiveBase.js +53 -68
- package/dist/es/ReactiveComponent.js +316 -45
- package/dist/es/{ReactiveComponent-e2fb9eb4.js → ReactiveComponentPrivate-6f16e1b7.js} +316 -614
- package/dist/es/ReactiveComponentPrivate.js +47 -0
- package/dist/es/ReactiveGoogleMap.js +434 -380
- package/dist/es/ReactiveList.js +125 -98
- package/dist/es/ResultCard.js +18 -25
- package/dist/es/ResultList.js +26 -30
- package/dist/es/SelectedFilters.js +32 -47
- package/dist/es/SingleDropdownList.js +64 -71
- package/dist/es/SingleList.js +94 -88
- package/dist/es/SingleRange.js +40 -46
- package/dist/es/StateProvider.js +2 -2
- package/dist/es/Tags-1c2d6c4d.js +869 -0
- package/dist/es/Title-863dfa42.js +1 -1
- package/dist/es/ToggleButton.js +32 -37
- package/dist/es/{index-285a43a6.js → index-5509c0bc.js} +8 -6
- package/dist/es/index.js +20 -19
- package/dist/es/initReactivesearch.js +0 -3
- package/dist/es/install.js +20 -19
- package/dist/es/ssr-03607d84.js +1 -1
- package/dist/es/version.js +1 -1
- package/dist/es/{vueTypes-e4af6fe2.js → vueTypes-66ebc93e.js} +3 -2
- package/package.json +87 -87
- package/dist/cjs/Button-626c5e8e.js +0 -58
- package/dist/cjs/Card-c381ded3.js +0 -26
- package/dist/cjs/Container-29f049b2.js +0 -12
- package/dist/cjs/DataSearch-7c71ec9f.js +0 -2043
- package/dist/cjs/Flex-d5675ea6.js +0 -48
- package/dist/cjs/FormControlList-cf1ff2ca.js +0 -42
- package/dist/cjs/Input-4d278ca0.js +0 -74
- package/dist/cjs/ListItem-c067bc07.js +0 -41
- package/dist/cjs/Title-8802a218.js +0 -12
- package/dist/cjs/ssr-eb901d09.js +0 -35
- package/dist/es/Button-ebafa3d6.js +0 -52
- package/dist/es/DataSearch-4f9a4e46.js +0 -2028
- package/dist/es/Flex-a08e22d7.js +0 -46
- package/dist/es/FormControlList-fa5cf78b.js +0 -38
- package/dist/es/Input-3b8408a6.js +0 -69
package/dist/es/SingleRange.js
CHANGED
|
@@ -1,23 +1,20 @@
|
|
|
1
1
|
import { Actions, helper } from '@appbaseio/reactivecore';
|
|
2
2
|
import { componentTypes } from '@appbaseio/reactivecore/lib/utils/constants';
|
|
3
3
|
import './_rollupPluginBabelHelpers-ded08042.js';
|
|
4
|
-
import { createVNode, isVNode } from 'vue';
|
|
5
4
|
import VueTypes from 'vue-types';
|
|
5
|
+
import 'emotion';
|
|
6
6
|
import '@appbaseio/vue-emotion';
|
|
7
7
|
import 'polished';
|
|
8
|
-
import { t as types } from './vueTypes-
|
|
8
|
+
import { t as types } from './vueTypes-66ebc93e.js';
|
|
9
9
|
import '@appbaseio/reactivecore/lib/utils/transform';
|
|
10
10
|
import 'redux';
|
|
11
|
-
import { f as updateCustomQuery, i as isQueryIdentical, c as connect } from './index-
|
|
12
|
-
import { C as ComponentWrapper } from './ComponentWrapper-
|
|
13
|
-
import { P as PreferencesConsumer } from './PreferencesConsumer-
|
|
11
|
+
import { f as updateCustomQuery, i as isQueryIdentical, c as connect } from './index-5509c0bc.js';
|
|
12
|
+
import { C as ComponentWrapper } from './ComponentWrapper-edaeaceb.js';
|
|
13
|
+
import { P as PreferencesConsumer } from './PreferencesConsumer-86a676c8.js';
|
|
14
14
|
import { T as Title } from './Title-863dfa42.js';
|
|
15
15
|
import { C as Container } from './Container-d00219f7.js';
|
|
16
|
-
import { U as UL, R as Radio } from './FormControlList-
|
|
16
|
+
import { U as UL, R as Radio } from './FormControlList-99797d0a.js';
|
|
17
17
|
|
|
18
|
-
function _isSlot(s) {
|
|
19
|
-
return typeof s === 'function' || Object.prototype.toString.call(s) === '[object Object]' && !isVNode(s);
|
|
20
|
-
}
|
|
21
18
|
var updateQuery = Actions.updateQuery,
|
|
22
19
|
setQueryOptions = Actions.setQueryOptions,
|
|
23
20
|
setCustomQuery = Actions.setCustomQuery;
|
|
@@ -94,45 +91,39 @@ var SingleRange = {
|
|
|
94
91
|
}
|
|
95
92
|
},
|
|
96
93
|
render: function render() {
|
|
97
|
-
var _slot;
|
|
98
94
|
var _this = this;
|
|
99
|
-
|
|
95
|
+
var h = arguments[0];
|
|
96
|
+
return h(Container, {
|
|
100
97
|
"class": this.$props.className
|
|
101
|
-
}, {
|
|
102
|
-
"
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
"default": function _default() {
|
|
131
|
-
return [_slot];
|
|
132
|
-
}
|
|
133
|
-
})];
|
|
134
|
-
}
|
|
135
|
-
});
|
|
98
|
+
}, [this.$props.title && h(Title, {
|
|
99
|
+
"class": getClassName(this.$props.innerClass, 'title')
|
|
100
|
+
}, [this.$props.title]), h(UL, {
|
|
101
|
+
"class": getClassName(this.$props.innerClass, 'list')
|
|
102
|
+
}, [this.$props.data.map(function (item) {
|
|
103
|
+
var selected = !!_this.$data.currentValue && _this.$data.currentValue.label === item.label;
|
|
104
|
+
return h("li", {
|
|
105
|
+
"key": item.label,
|
|
106
|
+
"class": "" + (selected ? 'active' : '')
|
|
107
|
+
}, [h(Radio, {
|
|
108
|
+
"class": getClassName(_this.$props.innerClass, 'radio'),
|
|
109
|
+
"attrs": {
|
|
110
|
+
"id": _this.$props.componentId + "-" + item.label,
|
|
111
|
+
"name": _this.$props.componentId,
|
|
112
|
+
"value": item.label,
|
|
113
|
+
"type": "radio",
|
|
114
|
+
"checked": selected,
|
|
115
|
+
"show": _this.$props.showRadio
|
|
116
|
+
},
|
|
117
|
+
"on": {
|
|
118
|
+
"change": _this.handleChange
|
|
119
|
+
}
|
|
120
|
+
}), h("label", {
|
|
121
|
+
"class": getClassName(_this.$props.innerClass, 'label'),
|
|
122
|
+
"attrs": {
|
|
123
|
+
"for": _this.$props.componentId + "-" + item.label
|
|
124
|
+
}
|
|
125
|
+
}, [item.label])]);
|
|
126
|
+
})])]);
|
|
136
127
|
},
|
|
137
128
|
methods: {
|
|
138
129
|
setValue: function setValue(value, props) {
|
|
@@ -224,6 +215,9 @@ var RangeConnected = PreferencesConsumer(ComponentWrapper(connect(mapStateToProp
|
|
|
224
215
|
componentType: componentTypes.singleRange
|
|
225
216
|
}));
|
|
226
217
|
RangeConnected.name = SingleRange.name;
|
|
218
|
+
RangeConnected.defaultQuery = SingleRange.defaultQuery;
|
|
219
|
+
RangeConnected.parseValue = SingleRange.parseValue;
|
|
220
|
+
RangeConnected.hasInternalComponent = SingleRange.hasInternalComponent;
|
|
227
221
|
RangeConnected.install = function (Vue) {
|
|
228
222
|
Vue.component(RangeConnected.name, RangeConnected);
|
|
229
223
|
};
|
package/dist/es/StateProvider.js
CHANGED
|
@@ -4,7 +4,7 @@ import { a as _extends } from './_rollupPluginBabelHelpers-ded08042.js';
|
|
|
4
4
|
import VueTypes from 'vue-types';
|
|
5
5
|
import { isInternalComponent } from '@appbaseio/reactivecore/lib/utils/transform';
|
|
6
6
|
import 'redux';
|
|
7
|
-
import { c as connect } from './index-
|
|
7
|
+
import { c as connect } from './index-5509c0bc.js';
|
|
8
8
|
|
|
9
9
|
var setSearchState = Actions.setSearchState;
|
|
10
10
|
var getSearchState = helper.getSearchState;
|
|
@@ -213,7 +213,7 @@ var StateProvider = {
|
|
|
213
213
|
},
|
|
214
214
|
render: function render() {
|
|
215
215
|
var searchState = this.searchState;
|
|
216
|
-
var dom = this.$
|
|
216
|
+
var dom = this.$scopedSlots["default"];
|
|
217
217
|
return dom ? dom({
|
|
218
218
|
searchState: searchState,
|
|
219
219
|
setSearchState: this.setSearchState
|