@appbaseio/reactivesearch-vue 1.16.0-alpha.35 → 1.16.0-alpha.36
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 +10968 -5239
- package/dist/@appbaseio/reactivesearch-vue.umd.js.map +1 -1
- package/dist/@appbaseio/reactivesearch-vue.umd.min.js +5 -5
- package/dist/@appbaseio/reactivesearch-vue.umd.min.js.map +1 -1
- package/dist/cjs/{Button-11307285.js → Button-d2f1aeda.js} +1 -1
- package/dist/cjs/{CancelSvg-4aa35935.js → CancelSvg-82021d23.js} +1 -1
- package/dist/cjs/{Card-fd94ef07.js → Card-4b915733.js} +2 -2
- package/dist/cjs/{ComponentWrapper-32481890.js → ComponentWrapper-7302fe1a.js} +2 -2
- package/dist/cjs/{Container-526efa6a.js → Container-8a08d663.js} +1 -1
- package/dist/cjs/DataSearch.js +2101 -18
- package/dist/cjs/{DropDown-cf9bfffc.js → DropDown-c46d8b0c.js} +19 -14
- package/dist/cjs/DynamicRangeSlider.js +45 -12
- package/dist/cjs/{Flex-f146cdad.js → Flex-699639d2.js} +1 -1
- package/dist/cjs/{FormControlList-808dbcef.js → FormControlList-73497794.js} +1 -1
- package/dist/cjs/{Input-3cc3fa59.js → Input-c6f181d5.js} +1 -1
- package/dist/cjs/{ListItem-b40adb04.js → ListItem-933c27e4.js} +2 -2
- package/dist/cjs/MultiDropdownList.js +13 -12
- package/dist/cjs/MultiList.js +22 -17
- package/dist/cjs/MultiRange.js +7 -7
- package/dist/cjs/Pagination-1b2320a7.js +177 -0
- package/dist/cjs/RangeInput.js +13 -9
- package/dist/cjs/RangeSlider.js +7 -7
- package/dist/cjs/ReactiveBase.js +3 -3
- package/dist/cjs/ReactiveComponent.js +4 -4
- package/dist/cjs/ReactiveGoogleMap.js +1764 -0
- package/dist/cjs/ReactiveList.js +19 -184
- package/dist/cjs/ResultCard.js +4 -4
- package/dist/cjs/ResultList.js +4 -4
- package/dist/cjs/SelectedFilters.js +6 -6
- package/dist/cjs/SingleDropdownList.js +12 -11
- package/dist/cjs/SingleList.js +9 -9
- package/dist/cjs/SingleRange.js +7 -7
- package/dist/cjs/StateProvider.js +2 -2
- package/dist/cjs/{Title-584a8cc8.js → Title-39765ee6.js} +1 -1
- package/dist/cjs/ToggleButton.js +7 -7
- package/dist/cjs/{_rollupPluginBabelHelpers-f127c8b7.js → _rollupPluginBabelHelpers-4abdbfff.js} +17 -0
- package/dist/cjs/{index-89c39a9e.js → index-d44a0a21.js} +11 -5
- package/dist/cjs/index.js +32 -23
- package/dist/cjs/initReactivesearch.js +1 -1
- package/dist/cjs/install.js +43 -37
- package/dist/cjs/{ssr-0ee35a09.js → ssr-c333c82c.js} +1 -1
- package/dist/cjs/{utils-1219e1fe.js → utils-23afb20b.js} +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/cjs/{vueTypes-57d01f18.js → vueTypes-6de9d2a9.js} +24 -13
- package/dist/es/{Button-91561391.js → Button-799185e2.js} +1 -1
- package/dist/es/{CancelSvg-c2c03a35.js → CancelSvg-4d9e0857.js} +1 -1
- package/dist/es/{Card-6446f1b7.js → Card-04b3c33e.js} +2 -2
- package/dist/es/{ComponentWrapper-4f85a67e.js → ComponentWrapper-bbb717bc.js} +2 -2
- package/dist/es/{Container-18b03fde.js → Container-4383c6f0.js} +1 -1
- package/dist/es/DataSearch.js +2100 -17
- package/dist/es/{DropDown-c8da0a2c.js → DropDown-4edaa621.js} +19 -14
- package/dist/es/DynamicRangeSlider.js +45 -12
- package/dist/es/{Flex-8770345d.js → Flex-aac91505.js} +1 -1
- package/dist/es/{FormControlList-704f8dee.js → FormControlList-fe389a2e.js} +1 -1
- package/dist/es/{Input-08bb1bcf.js → Input-d8519224.js} +1 -1
- package/dist/es/{ListItem-8e8fb535.js → ListItem-bdb6d53d.js} +2 -2
- package/dist/es/MultiDropdownList.js +13 -12
- package/dist/es/MultiList.js +22 -17
- package/dist/es/MultiRange.js +7 -7
- package/dist/es/Pagination-b3e4054a.js +172 -0
- package/dist/es/RangeInput.js +13 -9
- package/dist/es/RangeSlider.js +7 -7
- package/dist/es/ReactiveBase.js +3 -3
- package/dist/es/ReactiveComponent.js +4 -4
- package/dist/es/ReactiveGoogleMap.js +1756 -0
- package/dist/es/ReactiveList.js +19 -184
- package/dist/es/ResultCard.js +4 -4
- package/dist/es/ResultList.js +4 -4
- package/dist/es/SelectedFilters.js +6 -6
- package/dist/es/SingleDropdownList.js +12 -11
- package/dist/es/SingleList.js +9 -9
- package/dist/es/SingleRange.js +7 -7
- package/dist/es/StateProvider.js +2 -2
- package/dist/es/{Title-3522ff56.js → Title-579f8d6c.js} +1 -1
- package/dist/es/ToggleButton.js +7 -7
- package/dist/es/{_rollupPluginBabelHelpers-0f24d612.js → _rollupPluginBabelHelpers-ecf6c03c.js} +17 -1
- package/dist/es/{index-cb1950b6.js → index-5daa8276.js} +11 -5
- package/dist/es/index.js +28 -19
- package/dist/es/initReactivesearch.js +1 -1
- package/dist/es/install.js +45 -35
- package/dist/es/{ssr-a41dfea9.js → ssr-e3196de1.js} +1 -1
- package/dist/es/{utils-64a2e5f0.js → utils-3a32e13f.js} +1 -1
- package/dist/es/version.js +1 -1
- package/dist/es/{vueTypes-687b2304.js → vueTypes-9326e0be.js} +24 -13
- package/package.json +11 -5
- package/dist/cjs/DataSearch-8658fd8e.js +0 -2154
- package/dist/cjs/install-35f74190.js +0 -1196
- package/dist/es/DataSearch-66e72d1d.js +0 -2141
- package/dist/es/install-ecef1861.js +0 -1189
package/dist/es/install.js
CHANGED
|
@@ -1,53 +1,63 @@
|
|
|
1
1
|
import '@appbaseio/reactivecore';
|
|
2
|
-
import './_rollupPluginBabelHelpers-
|
|
2
|
+
import './_rollupPluginBabelHelpers-ecf6c03c.js';
|
|
3
3
|
import 'vue-types';
|
|
4
4
|
import '@appbaseio/reactivecore/lib/utils/constants';
|
|
5
5
|
import '@appbaseio/reactivecore/lib/utils/helper';
|
|
6
6
|
import 'emotion';
|
|
7
7
|
import '@appbaseio/vue-emotion';
|
|
8
8
|
import 'polished';
|
|
9
|
-
import './Button-
|
|
10
|
-
import './vueTypes-
|
|
11
|
-
import './
|
|
9
|
+
import './Button-799185e2.js';
|
|
10
|
+
import './vueTypes-9326e0be.js';
|
|
11
|
+
import './Pagination-b3e4054a.js';
|
|
12
|
+
import ReactiveList from './ReactiveList.js';
|
|
12
13
|
import '@appbaseio/reactivecore/lib/utils/transform';
|
|
13
14
|
import 'redux';
|
|
14
|
-
import './index-
|
|
15
|
-
import './ComponentWrapper-
|
|
15
|
+
import './index-5daa8276.js';
|
|
16
|
+
import './ComponentWrapper-bbb717bc.js';
|
|
16
17
|
import '@vue/babel-helper-vue-jsx-merge-props';
|
|
17
|
-
import './Title-
|
|
18
|
-
import './ListItem-
|
|
19
|
-
import './Card-
|
|
20
|
-
import './Flex-
|
|
18
|
+
import './Title-579f8d6c.js';
|
|
19
|
+
import './ListItem-bdb6d53d.js';
|
|
20
|
+
import './Card-04b3c33e.js';
|
|
21
|
+
import './Flex-aac91505.js';
|
|
21
22
|
import '@appbaseio/reactivecore/lib/actions/analytics';
|
|
22
23
|
import 'appbase-js';
|
|
23
24
|
import 'url-search-params-polyfill';
|
|
24
|
-
import './ReactiveBase.js';
|
|
25
|
+
import ReactiveBase from './ReactiveBase.js';
|
|
25
26
|
import 'hotkeys-js';
|
|
26
|
-
import './DataSearch
|
|
27
|
-
import './CancelSvg-
|
|
28
|
-
import './Input-
|
|
27
|
+
import DataSearch from './DataSearch.js';
|
|
28
|
+
import './CancelSvg-4d9e0857.js';
|
|
29
|
+
import './Input-d8519224.js';
|
|
29
30
|
import 'compute-scroll-into-view';
|
|
30
|
-
import './Container-
|
|
31
|
+
import './Container-4383c6f0.js';
|
|
31
32
|
import 'vue-highlight-words';
|
|
32
|
-
export { i as default } from './install-ecef1861.js';
|
|
33
33
|
import '@appbaseio/reactivecore/lib/utils/suggestions';
|
|
34
|
-
import './FormControlList-
|
|
35
|
-
import './utils-
|
|
36
|
-
import './SingleList.js';
|
|
37
|
-
import './MultiList.js';
|
|
38
|
-
import './DropDown-
|
|
39
|
-
import './SingleDropdownList.js';
|
|
40
|
-
import './MultiDropdownList.js';
|
|
41
|
-
import './ToggleButton.js';
|
|
42
|
-
import './ReactiveComponent.js';
|
|
43
|
-
import './SelectedFilters.js';
|
|
44
|
-
import './SingleRange.js';
|
|
45
|
-
import './MultiRange.js';
|
|
46
|
-
import './ResultCard.js';
|
|
47
|
-
import './ResultList.js';
|
|
34
|
+
import './FormControlList-fe389a2e.js';
|
|
35
|
+
import './utils-3a32e13f.js';
|
|
36
|
+
import SingleList from './SingleList.js';
|
|
37
|
+
import MultiList from './MultiList.js';
|
|
38
|
+
import './DropDown-4edaa621.js';
|
|
39
|
+
import SingleDropdownList from './SingleDropdownList.js';
|
|
40
|
+
import MultiDropdownList from './MultiDropdownList.js';
|
|
41
|
+
import ToggleButton from './ToggleButton.js';
|
|
42
|
+
import ReactiveComponent from './ReactiveComponent.js';
|
|
43
|
+
import SelectedFilters from './SelectedFilters.js';
|
|
44
|
+
import SingleRange from './SingleRange.js';
|
|
45
|
+
import MultiRange from './MultiRange.js';
|
|
46
|
+
import ResultCard from './ResultCard.js';
|
|
47
|
+
import ResultList from './ResultList.js';
|
|
48
48
|
import 'vue-no-ssr';
|
|
49
|
-
import './ssr-
|
|
50
|
-
import './RangeSlider.js';
|
|
51
|
-
import './DynamicRangeSlider.js';
|
|
52
|
-
import './StateProvider.js';
|
|
53
|
-
import './RangeInput.js';
|
|
49
|
+
import './ssr-e3196de1.js';
|
|
50
|
+
import RangeSlider from './RangeSlider.js';
|
|
51
|
+
import DynamicRangeSlider from './DynamicRangeSlider.js';
|
|
52
|
+
import StateProvider from './StateProvider.js';
|
|
53
|
+
import RangeInput from './RangeInput.js';
|
|
54
|
+
|
|
55
|
+
var components = [ReactiveList, ResultCard, ResultList, ReactiveBase, DataSearch, SingleList, MultiList, SingleRange, MultiRange, RangeSlider, DynamicRangeSlider, ReactiveComponent, SelectedFilters, ToggleButton, SingleDropdownList, MultiDropdownList, StateProvider, RangeInput];
|
|
56
|
+
function install (Vue) {
|
|
57
|
+
components.map(function (component) {
|
|
58
|
+
Vue.use(component);
|
|
59
|
+
return null;
|
|
60
|
+
});
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
export default install;
|
package/dist/es/version.js
CHANGED
|
@@ -3,21 +3,35 @@ import VueTypes from 'vue-types';
|
|
|
3
3
|
VueTypes.sensibleDefaults = false;
|
|
4
4
|
var reactKeyType = VueTypes.oneOfType([VueTypes.string, VueTypes.arrayOf(VueTypes.string), VueTypes.object, VueTypes.arrayOf(VueTypes.object)]);
|
|
5
5
|
|
|
6
|
-
function validateLocation(
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
return
|
|
6
|
+
function validateLocation(value) {
|
|
7
|
+
if (!value || !value.lat || !value.lng) {
|
|
8
|
+
console.error(new Error('location must be an object with lat and lng keys defined'));
|
|
9
|
+
return false;
|
|
10
|
+
} // eslint-disable-next-line
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
if (isNaN(value.lat)) {
|
|
14
|
+
console.error(new Error('lat value must be a number'));
|
|
15
|
+
return false;
|
|
16
|
+
} // eslint-disable-next-line
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
if (isNaN(value.lat)) {
|
|
20
|
+
console.error(new Error('lng value must be a number'));
|
|
21
|
+
return false;
|
|
10
22
|
}
|
|
11
23
|
|
|
12
|
-
if (
|
|
13
|
-
|
|
24
|
+
if (value.lat < -90 || value.lat > 90) {
|
|
25
|
+
console.error(new Error('lat value should be between -90 and 90.'));
|
|
26
|
+
return false;
|
|
14
27
|
}
|
|
15
28
|
|
|
16
|
-
if (
|
|
17
|
-
|
|
29
|
+
if (value.lat < -180 || value.lat > 180) {
|
|
30
|
+
console.error(new Error('lng value should be between -180 and 180.'));
|
|
31
|
+
return false;
|
|
18
32
|
}
|
|
19
33
|
|
|
20
|
-
return
|
|
34
|
+
return true;
|
|
21
35
|
}
|
|
22
36
|
|
|
23
37
|
var types = {
|
|
@@ -88,10 +102,7 @@ var types = {
|
|
|
88
102
|
rangeLabelsAlign: VueTypes.oneOf(['left', 'right']),
|
|
89
103
|
title: VueTypes.oneOfType([VueTypes.string, VueTypes.any]),
|
|
90
104
|
tooltipTrigger: VueTypes.oneOf(['always', 'none', 'hover']),
|
|
91
|
-
location: VueTypes.
|
|
92
|
-
lat: validateLocation,
|
|
93
|
-
lng: validateLocation
|
|
94
|
-
}),
|
|
105
|
+
location: VueTypes.custom(validateLocation),
|
|
95
106
|
unit: VueTypes.oneOf(['mi', 'miles', 'yd', 'yards', 'ft', 'feet', 'in', 'inch', 'km', 'kilometers', 'm', 'meters', 'cm', 'centimeters', 'mm', 'millimeters', 'NM', 'nmi', 'nauticalmiles']),
|
|
96
107
|
value: VueTypes.string.def(undefined),
|
|
97
108
|
analyticsConfig: VueTypes.shape({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@appbaseio/reactivesearch-vue",
|
|
3
|
-
"version": "1.16.0-alpha.
|
|
3
|
+
"version": "1.16.0-alpha.36",
|
|
4
4
|
"private": false,
|
|
5
5
|
"main": "dist/cjs/index.js",
|
|
6
6
|
"jsnext:main": "dist/es/index.js",
|
|
@@ -34,20 +34,22 @@
|
|
|
34
34
|
],
|
|
35
35
|
"sideEffects": false,
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@appbaseio/reactivecore": "9.13.
|
|
37
|
+
"@appbaseio/reactivecore": "9.13.4",
|
|
38
38
|
"@appbaseio/vue-emotion": "0.4.4",
|
|
39
39
|
"@vue/babel-helper-vue-jsx-merge-props": "^1.0.0",
|
|
40
40
|
"appbase-js": "^4.5.1",
|
|
41
41
|
"compute-scroll-into-view": "^1.0.11",
|
|
42
42
|
"emotion": "9.2.12",
|
|
43
|
+
"gmap-vue": "^1.5.0",
|
|
44
|
+
"ngeohash": "^0.6.3",
|
|
43
45
|
"hotkeys-js": "^3.8.7",
|
|
44
46
|
"polished": "^2.2.0",
|
|
45
47
|
"redux": "^4.0.0",
|
|
46
48
|
"url-search-params-polyfill": "^7.0.0",
|
|
47
49
|
"vue-highlight-words": "^1.2.0",
|
|
48
50
|
"vue-no-ssr": "^1.1.0",
|
|
49
|
-
"vue-
|
|
50
|
-
"vue-
|
|
51
|
+
"vue-types": "^1.7.0",
|
|
52
|
+
"vue-slider-component": "^3.2.15"
|
|
51
53
|
},
|
|
52
54
|
"peerDependencies": {
|
|
53
55
|
"vue": "^2.6.10"
|
|
@@ -62,12 +64,14 @@
|
|
|
62
64
|
"@babel/preset-env": "^7.5.5",
|
|
63
65
|
"@babel/preset-stage-2": "^7.0.0",
|
|
64
66
|
"@vue/babel-preset-jsx": "^1.1.0",
|
|
65
|
-
"
|
|
67
|
+
"@vue/compiler-sfc": "^3.0.11",
|
|
66
68
|
"eslint-config-airbnb-base": "^13.1.0",
|
|
67
69
|
"eslint-config-prettier": "^3.1.0",
|
|
68
70
|
"eslint-plugin-vue": "^4.7.1",
|
|
71
|
+
"eslint": "^4.12.0",
|
|
69
72
|
"nps": "^5.9.3",
|
|
70
73
|
"nps-utils": "^1.7.0",
|
|
74
|
+
"postcss": "^8.3.0",
|
|
71
75
|
"rollup": "^1.20.3",
|
|
72
76
|
"rollup-plugin-babel": "^4.3.3",
|
|
73
77
|
"rollup-plugin-commonjs": "^10.1.0",
|
|
@@ -75,8 +79,10 @@
|
|
|
75
79
|
"rollup-plugin-node-builtins": "^2.1.2",
|
|
76
80
|
"rollup-plugin-node-globals": "^1.4.0",
|
|
77
81
|
"rollup-plugin-node-resolve": "^5.2.0",
|
|
82
|
+
"rollup-plugin-postcss": "^4.0.0",
|
|
78
83
|
"rollup-plugin-replace": "^2.2.0",
|
|
79
84
|
"rollup-plugin-terser": "^5.1.1",
|
|
85
|
+
"rollup-plugin-vue": "^6.0.0",
|
|
80
86
|
"vue-eslint-parser": "^3.2.2"
|
|
81
87
|
}
|
|
82
88
|
}
|