@appbaseio/reactivesearch-vue 1.16.0-alpha.55 → 1.16.0-alpha.56
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 +21946 -4966
- package/dist/@appbaseio/reactivesearch-vue.umd.js.map +1 -1
- package/dist/@appbaseio/reactivesearch-vue.umd.min.js +19 -5
- package/dist/@appbaseio/reactivesearch-vue.umd.min.js.map +1 -1
- package/dist/cjs/ReactiveGoogleMap.js +14 -8
- package/dist/cjs/index.js +0 -5
- package/dist/cjs/version.js +1 -1
- package/dist/es/ReactiveGoogleMap.js +13 -8
- package/dist/es/index.js +0 -5
- package/dist/es/version.js +1 -1
- package/package.json +4 -4
|
@@ -22,13 +22,9 @@ var index = require('./index-d44a0a21.js');
|
|
|
22
22
|
var ComponentWrapper = require('./ComponentWrapper-7302fe1a.js');
|
|
23
23
|
var _mergeJSXProps = _interopDefault(require('@vue/babel-helper-vue-jsx-merge-props'));
|
|
24
24
|
var FormControlList = require('./FormControlList-73497794.js');
|
|
25
|
-
var
|
|
26
|
-
var
|
|
25
|
+
var GmapVue = require('gmap-vue');
|
|
26
|
+
var GmapVue__default = _interopDefault(GmapVue);
|
|
27
27
|
var geohash = _interopDefault(require('ngeohash'));
|
|
28
|
-
var GmapCluster = _interopDefault(require('gmap-vue/dist/components/cluster'));
|
|
29
|
-
var InfoWindow = _interopDefault(require('gmap-vue/dist/components-implementation/info-window'));
|
|
30
|
-
var Marker = _interopDefault(require('gmap-vue/dist/components/marker'));
|
|
31
|
-
var MapElementMixin = _interopDefault(require('gmap-vue/dist/mixins/map-element'));
|
|
32
28
|
|
|
33
29
|
var setStreaming = configureStore.Actions.setStreaming,
|
|
34
30
|
setQueryOptions = configureStore.Actions.setQueryOptions,
|
|
@@ -904,6 +900,7 @@ ReactiveMap.install = function (Vue) {
|
|
|
904
900
|
|
|
905
901
|
ReactiveMap.componentType = constants.componentTypes.reactiveMap;
|
|
906
902
|
|
|
903
|
+
var InfoWindow = GmapVue.components.InfoWindow;
|
|
907
904
|
var InfoWindowWrapper = {
|
|
908
905
|
name: 'InfoWindowWrapper',
|
|
909
906
|
props: {
|
|
@@ -937,6 +934,8 @@ var InfoWindowWrapper = {
|
|
|
937
934
|
}
|
|
938
935
|
};
|
|
939
936
|
|
|
937
|
+
var MapElementMixin = GmapVue.components.MapElementMixin; // Note: This file has been taken from https://github.com/eregnier/vue2-gmap-custom-marker/blob/master/gmap-custom-marker.vue
|
|
938
|
+
|
|
940
939
|
var MarkerWithLabel = {
|
|
941
940
|
name: 'MarkerWithLabel',
|
|
942
941
|
props: {
|
|
@@ -1055,6 +1054,10 @@ var MarkerWithLabel = {
|
|
|
1055
1054
|
return _this3.repaint();
|
|
1056
1055
|
};
|
|
1057
1056
|
|
|
1057
|
+
_this3.getVisible = function () {
|
|
1058
|
+
return true;
|
|
1059
|
+
};
|
|
1060
|
+
|
|
1058
1061
|
return _this3;
|
|
1059
1062
|
}
|
|
1060
1063
|
|
|
@@ -1221,6 +1224,7 @@ var MapPin = styled__default('div')(_templateObject || (_templateObject = _rollu
|
|
|
1221
1224
|
var MapPinArrow = styled__default('div')(_templateObject2 || (_templateObject2 = _rollupPluginBabelHelpers._taggedTemplateLiteralLoose(["\n\tborder-color: rgba(0, 0, 0, 0.2);\n\tborder-style: solid;\n\tborder-width: 0 1px 1px 0;\n\tmargin-left: -6px;\n\tbackground-color: #fff;\n\tmargin-top: -6px;\n\twidth: 12px;\n\theight: 12px;\n\t-webkit-transform: rotate(45deg);\n\t-ms-transform: rotate(45deg);\n\ttransform: rotate(45deg);\n"])));
|
|
1222
1225
|
var mapPinWrapper = styled.css(_templateObject3 || (_templateObject3 = _rollupPluginBabelHelpers._taggedTemplateLiteralLoose(["\n\t&:hover,\n\t&:focus {\n\t\tz-index: 200;\n\t}\n"])));
|
|
1223
1226
|
|
|
1227
|
+
var Marker = GmapVue.components.Marker;
|
|
1224
1228
|
var recordResultClick$1 = configureStore.Actions.recordResultClick;
|
|
1225
1229
|
var GoogleMapMarker = {
|
|
1226
1230
|
name: 'GoogleMapMarker',
|
|
@@ -1458,6 +1462,7 @@ var GoogleMapMarker$1 = index.connect(function () {
|
|
|
1458
1462
|
return null;
|
|
1459
1463
|
}, mapDispatchToProps$1)(GoogleMapMarker);
|
|
1460
1464
|
|
|
1465
|
+
var Cluster = GmapVue.components.Cluster;
|
|
1461
1466
|
var GoogleMapMarkers = {
|
|
1462
1467
|
name: 'GoogleMapMarkers',
|
|
1463
1468
|
props: {
|
|
@@ -1533,7 +1538,7 @@ var GoogleMapMarkers = {
|
|
|
1533
1538
|
};
|
|
1534
1539
|
|
|
1535
1540
|
if (this.showMarkerClusters) {
|
|
1536
|
-
return h("div", [h(
|
|
1541
|
+
return h("div", [h(Cluster, {
|
|
1537
1542
|
"props": _rollupPluginBabelHelpers._extends({}, this.clusterProps),
|
|
1538
1543
|
"on": {
|
|
1539
1544
|
"click": function click(cluster) {
|
|
@@ -1592,6 +1597,7 @@ var GoogleMapMarkers = {
|
|
|
1592
1597
|
}
|
|
1593
1598
|
};
|
|
1594
1599
|
|
|
1600
|
+
var Map = GmapVue.components.MapLayer;
|
|
1595
1601
|
var ReactiveGoogleMap = {
|
|
1596
1602
|
name: 'ReactiveGoogleMap',
|
|
1597
1603
|
props: {
|
|
@@ -1749,7 +1755,7 @@ ReactiveGoogleMap.install = function (Vue, options) {
|
|
|
1749
1755
|
console.error('ReactiveSearch: map key is required to use ReactiveGoogleMap component');
|
|
1750
1756
|
}
|
|
1751
1757
|
|
|
1752
|
-
Vue.use(
|
|
1758
|
+
Vue.use(GmapVue__default, {
|
|
1753
1759
|
load: {
|
|
1754
1760
|
key: options.key,
|
|
1755
1761
|
libraries: 'places'
|
package/dist/cjs/index.js
CHANGED
|
@@ -56,13 +56,8 @@ var RangeSlider = require('./RangeSlider.js');
|
|
|
56
56
|
var DynamicRangeSlider = require('./DynamicRangeSlider.js');
|
|
57
57
|
var StateProvider = require('./StateProvider.js');
|
|
58
58
|
require('gmap-vue');
|
|
59
|
-
require('gmap-vue/dist/components-implementation/map');
|
|
60
59
|
require('ngeohash');
|
|
61
60
|
var ReactiveGoogleMap = require('./ReactiveGoogleMap.js');
|
|
62
|
-
require('gmap-vue/dist/components/cluster');
|
|
63
|
-
require('gmap-vue/dist/components-implementation/info-window');
|
|
64
|
-
require('gmap-vue/dist/components/marker');
|
|
65
|
-
require('gmap-vue/dist/mixins/map-element');
|
|
66
61
|
require('@appbaseio/reactivecore/lib/reducers/valueReducer');
|
|
67
62
|
require('@appbaseio/reactivecore/lib/reducers/queryReducer');
|
|
68
63
|
require('@appbaseio/reactivecore/lib/reducers/queryOptionsReducer');
|
package/dist/cjs/version.js
CHANGED
|
@@ -14,13 +14,8 @@ import { h as hasCustomRenderer, i as isQueryIdentical, g as getComponent, a as
|
|
|
14
14
|
import { C as ComponentWrapper } from './ComponentWrapper-bbb717bc.js';
|
|
15
15
|
import _mergeJSXProps from '@vue/babel-helper-vue-jsx-merge-props';
|
|
16
16
|
import { C as Checkbox } from './FormControlList-fe389a2e.js';
|
|
17
|
-
import
|
|
18
|
-
import Map from 'gmap-vue/dist/components-implementation/map';
|
|
17
|
+
import GmapVue, { components } from 'gmap-vue';
|
|
19
18
|
import geohash from 'ngeohash';
|
|
20
|
-
import GmapCluster from 'gmap-vue/dist/components/cluster';
|
|
21
|
-
import InfoWindow from 'gmap-vue/dist/components-implementation/info-window';
|
|
22
|
-
import Marker from 'gmap-vue/dist/components/marker';
|
|
23
|
-
import MapElementMixin from 'gmap-vue/dist/mixins/map-element';
|
|
24
19
|
|
|
25
20
|
var setStreaming = Actions.setStreaming,
|
|
26
21
|
setQueryOptions = Actions.setQueryOptions,
|
|
@@ -896,6 +891,7 @@ ReactiveMap.install = function (Vue) {
|
|
|
896
891
|
|
|
897
892
|
ReactiveMap.componentType = componentTypes.reactiveMap;
|
|
898
893
|
|
|
894
|
+
var InfoWindow = components.InfoWindow;
|
|
899
895
|
var InfoWindowWrapper = {
|
|
900
896
|
name: 'InfoWindowWrapper',
|
|
901
897
|
props: {
|
|
@@ -929,6 +925,8 @@ var InfoWindowWrapper = {
|
|
|
929
925
|
}
|
|
930
926
|
};
|
|
931
927
|
|
|
928
|
+
var MapElementMixin = components.MapElementMixin; // Note: This file has been taken from https://github.com/eregnier/vue2-gmap-custom-marker/blob/master/gmap-custom-marker.vue
|
|
929
|
+
|
|
932
930
|
var MarkerWithLabel = {
|
|
933
931
|
name: 'MarkerWithLabel',
|
|
934
932
|
props: {
|
|
@@ -1047,6 +1045,10 @@ var MarkerWithLabel = {
|
|
|
1047
1045
|
return _this3.repaint();
|
|
1048
1046
|
};
|
|
1049
1047
|
|
|
1048
|
+
_this3.getVisible = function () {
|
|
1049
|
+
return true;
|
|
1050
|
+
};
|
|
1051
|
+
|
|
1050
1052
|
return _this3;
|
|
1051
1053
|
}
|
|
1052
1054
|
|
|
@@ -1213,6 +1215,7 @@ var MapPin = styled('div')(_templateObject || (_templateObject = _taggedTemplate
|
|
|
1213
1215
|
var MapPinArrow = styled('div')(_templateObject2 || (_templateObject2 = _taggedTemplateLiteralLoose(["\n\tborder-color: rgba(0, 0, 0, 0.2);\n\tborder-style: solid;\n\tborder-width: 0 1px 1px 0;\n\tmargin-left: -6px;\n\tbackground-color: #fff;\n\tmargin-top: -6px;\n\twidth: 12px;\n\theight: 12px;\n\t-webkit-transform: rotate(45deg);\n\t-ms-transform: rotate(45deg);\n\ttransform: rotate(45deg);\n"])));
|
|
1214
1216
|
var mapPinWrapper = css(_templateObject3 || (_templateObject3 = _taggedTemplateLiteralLoose(["\n\t&:hover,\n\t&:focus {\n\t\tz-index: 200;\n\t}\n"])));
|
|
1215
1217
|
|
|
1218
|
+
var Marker = components.Marker;
|
|
1216
1219
|
var recordResultClick$1 = Actions.recordResultClick;
|
|
1217
1220
|
var GoogleMapMarker = {
|
|
1218
1221
|
name: 'GoogleMapMarker',
|
|
@@ -1450,6 +1453,7 @@ var GoogleMapMarker$1 = connect(function () {
|
|
|
1450
1453
|
return null;
|
|
1451
1454
|
}, mapDispatchToProps$1)(GoogleMapMarker);
|
|
1452
1455
|
|
|
1456
|
+
var Cluster = components.Cluster;
|
|
1453
1457
|
var GoogleMapMarkers = {
|
|
1454
1458
|
name: 'GoogleMapMarkers',
|
|
1455
1459
|
props: {
|
|
@@ -1525,7 +1529,7 @@ var GoogleMapMarkers = {
|
|
|
1525
1529
|
};
|
|
1526
1530
|
|
|
1527
1531
|
if (this.showMarkerClusters) {
|
|
1528
|
-
return h("div", [h(
|
|
1532
|
+
return h("div", [h(Cluster, {
|
|
1529
1533
|
"props": _extends({}, this.clusterProps),
|
|
1530
1534
|
"on": {
|
|
1531
1535
|
"click": function click(cluster) {
|
|
@@ -1584,6 +1588,7 @@ var GoogleMapMarkers = {
|
|
|
1584
1588
|
}
|
|
1585
1589
|
};
|
|
1586
1590
|
|
|
1591
|
+
var Map = components.MapLayer;
|
|
1587
1592
|
var ReactiveGoogleMap = {
|
|
1588
1593
|
name: 'ReactiveGoogleMap',
|
|
1589
1594
|
props: {
|
|
@@ -1741,7 +1746,7 @@ ReactiveGoogleMap.install = function (Vue, options) {
|
|
|
1741
1746
|
console.error('ReactiveSearch: map key is required to use ReactiveGoogleMap component');
|
|
1742
1747
|
}
|
|
1743
1748
|
|
|
1744
|
-
Vue.use(
|
|
1749
|
+
Vue.use(GmapVue, {
|
|
1745
1750
|
load: {
|
|
1746
1751
|
key: options.key,
|
|
1747
1752
|
libraries: 'places'
|
package/dist/es/index.js
CHANGED
|
@@ -53,13 +53,8 @@ export { default as RangeSlider } from './RangeSlider.js';
|
|
|
53
53
|
export { default as DynamicRangeSlider } from './DynamicRangeSlider.js';
|
|
54
54
|
export { default as StateProvider } from './StateProvider.js';
|
|
55
55
|
import 'gmap-vue';
|
|
56
|
-
import 'gmap-vue/dist/components-implementation/map';
|
|
57
56
|
import 'ngeohash';
|
|
58
57
|
export { default as ReactiveGoogleMap } from './ReactiveGoogleMap.js';
|
|
59
|
-
import 'gmap-vue/dist/components/cluster';
|
|
60
|
-
import 'gmap-vue/dist/components-implementation/info-window';
|
|
61
|
-
import 'gmap-vue/dist/components/marker';
|
|
62
|
-
import 'gmap-vue/dist/mixins/map-element';
|
|
63
58
|
import '@appbaseio/reactivecore/lib/reducers/valueReducer';
|
|
64
59
|
import '@appbaseio/reactivecore/lib/reducers/queryReducer';
|
|
65
60
|
import '@appbaseio/reactivecore/lib/reducers/queryOptionsReducer';
|
package/dist/es/version.js
CHANGED
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.56",
|
|
4
4
|
"private": false,
|
|
5
5
|
"main": "dist/cjs/index.js",
|
|
6
6
|
"jsnext:main": "dist/es/index.js",
|
|
@@ -34,15 +34,15 @@
|
|
|
34
34
|
],
|
|
35
35
|
"sideEffects": false,
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@appbaseio/reactivecore": "9.14.
|
|
37
|
+
"@appbaseio/reactivecore": "9.14.12",
|
|
38
38
|
"@appbaseio/vue-emotion": "0.4.4",
|
|
39
39
|
"@vue/babel-helper-vue-jsx-merge-props": "^1.0.0",
|
|
40
40
|
"appbase-js": "^5.0.0",
|
|
41
41
|
"compute-scroll-into-view": "^1.0.11",
|
|
42
42
|
"emotion": "9.2.12",
|
|
43
|
-
"gmap-vue": "^
|
|
44
|
-
"ngeohash": "^0.6.3",
|
|
43
|
+
"gmap-vue": "^3.5.2",
|
|
45
44
|
"hotkeys-js": "^3.8.7",
|
|
45
|
+
"ngeohash": "^0.6.3",
|
|
46
46
|
"polished": "^2.2.0",
|
|
47
47
|
"redux": "^4.0.0",
|
|
48
48
|
"url-search-params-polyfill": "^7.0.0",
|