@progress/kendo-react-map 5.4.0-dev.202205250548 → 5.4.0-dev.202205271059
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/cdn/js/kendo-react-map.js +1 -1
- package/dist/es/Map.d.ts +1 -1
- package/dist/es/Map.js +8 -4
- package/dist/es/MapProps.js +1 -0
- package/dist/es/components/BubbleLayer.d.ts +2 -2
- package/dist/es/components/BubbleLayer.js +1 -1
- package/dist/es/components/Layers.d.ts +2 -2
- package/dist/es/components/Layers.js +1 -1
- package/dist/es/components/MarkerLayer.d.ts +2 -2
- package/dist/es/components/MarkerLayer.js +1 -1
- package/dist/es/components/ShapeLayer.d.ts +2 -2
- package/dist/es/components/ShapeLayer.js +1 -1
- package/dist/es/components/TileLayer.d.ts +2 -2
- package/dist/es/components/TileLayer.js +1 -1
- package/dist/es/components/base/CollectionConfigurationComponent.js +4 -2
- package/dist/es/components/base/ConfigurationComponent.js +8 -4
- package/dist/es/components/main.d.ts +5 -5
- package/dist/es/components/main.js +5 -5
- package/dist/es/events/before-reset-event.js +3 -1
- package/dist/es/events/map-click-event.js +3 -1
- package/dist/es/events/marker-activate-event.js +3 -1
- package/dist/es/events/marker-click-event.js +3 -1
- package/dist/es/events/marker-created-event.js +3 -1
- package/dist/es/events/pan-end-event.js +3 -1
- package/dist/es/events/pan-event.js +3 -1
- package/dist/es/events/preventable-event.js +3 -1
- package/dist/es/events/reset-event.js +3 -1
- package/dist/es/events/shape-click-event.js +3 -1
- package/dist/es/events/shape-created-event.js +3 -1
- package/dist/es/events/shape-feature-created-event.js +3 -1
- package/dist/es/events/shape-mouse-enter-event.js +3 -1
- package/dist/es/events/shape-mouse-leave-event.js +3 -1
- package/dist/es/events/zoom-end-event.js +3 -1
- package/dist/es/events/zoom-start-event.js +3 -1
- package/dist/es/package-metadata.js +1 -1
- package/dist/es/store/reducer.js +6 -1
- package/dist/npm/Map.d.ts +1 -1
- package/dist/npm/Map.js +9 -4
- package/dist/npm/MapContext.js +1 -0
- package/dist/npm/common/events.js +16 -15
- package/dist/npm/common/map-types.js +3 -2
- package/dist/npm/components/BubbleLayer.d.ts +2 -2
- package/dist/npm/components/BubbleLayer.js +2 -1
- package/dist/npm/components/Layers.d.ts +2 -2
- package/dist/npm/components/Layers.js +2 -1
- package/dist/npm/components/MarkerLayer.d.ts +2 -2
- package/dist/npm/components/MarkerLayer.js +2 -1
- package/dist/npm/components/ShapeLayer.d.ts +2 -2
- package/dist/npm/components/ShapeLayer.js +2 -1
- package/dist/npm/components/TileLayer.d.ts +2 -2
- package/dist/npm/components/TileLayer.js +2 -1
- package/dist/npm/components/base/CollectionConfigurationComponent.js +4 -2
- package/dist/npm/components/base/ConfigurationComponent.js +8 -4
- package/dist/npm/components/main.d.ts +5 -5
- package/dist/npm/components/main.js +6 -5
- package/dist/npm/events/base-event.js +1 -0
- package/dist/npm/events/before-reset-event.js +4 -1
- package/dist/npm/events/map-click-event.js +4 -1
- package/dist/npm/events/map-event-builder.js +1 -0
- package/dist/npm/events/marker-activate-event.js +4 -1
- package/dist/npm/events/marker-click-event.js +4 -1
- package/dist/npm/events/marker-created-event.js +4 -1
- package/dist/npm/events/pan-end-event.js +4 -1
- package/dist/npm/events/pan-event.js +4 -1
- package/dist/npm/events/preventable-event.js +4 -1
- package/dist/npm/events/reset-event.js +4 -1
- package/dist/npm/events/shape-click-event.js +4 -1
- package/dist/npm/events/shape-created-event.js +4 -1
- package/dist/npm/events/shape-feature-created-event.js +4 -1
- package/dist/npm/events/shape-mouse-enter-event.js +4 -1
- package/dist/npm/events/shape-mouse-leave-event.js +4 -1
- package/dist/npm/events/zoom-end-event.js +4 -1
- package/dist/npm/events/zoom-start-event.js +4 -1
- package/dist/npm/main.js +15 -7
- package/dist/npm/package-metadata.js +2 -1
- package/dist/npm/store/reducer.js +7 -1
- package/dist/systemjs/kendo-react-map.js +1 -1
- package/package.json +1 -1
|
@@ -5,5 +5,5 @@ import { BubbleLayerOptions } from '@progress/kendo-charts';
|
|
|
5
5
|
*/
|
|
6
6
|
export interface MapBubbleLayerProps extends BubbleLayerOptions {
|
|
7
7
|
}
|
|
8
|
-
declare const MapBubbleLayer: React.
|
|
9
|
-
export
|
|
8
|
+
declare const MapBubbleLayer: React.FunctionComponent<MapBubbleLayerProps>;
|
|
9
|
+
export { MapBubbleLayer };
|
|
@@ -11,10 +11,11 @@ var __assign = (this && this.__assign) || function () {
|
|
|
11
11
|
return __assign.apply(this, arguments);
|
|
12
12
|
};
|
|
13
13
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
+
exports.MapBubbleLayer = void 0;
|
|
14
15
|
var React = require("react");
|
|
15
16
|
var ConfigurationComponent_1 = require("./base/ConfigurationComponent");
|
|
16
17
|
var MapBubbleLayer = function (props) {
|
|
17
18
|
return (React.createElement(ConfigurationComponent_1.default, __assign({ type: "bubble" }, props)));
|
|
18
19
|
};
|
|
20
|
+
exports.MapBubbleLayer = MapBubbleLayer;
|
|
19
21
|
MapBubbleLayer.displayName = 'MapBubbleLayer';
|
|
20
|
-
exports.default = MapBubbleLayer;
|
|
@@ -5,5 +5,5 @@ import * as React from 'react';
|
|
|
5
5
|
export interface MapLayersProps {
|
|
6
6
|
children?: React.ReactNode;
|
|
7
7
|
}
|
|
8
|
-
declare const MapLayers: React.
|
|
9
|
-
export
|
|
8
|
+
declare const MapLayers: React.FunctionComponent<MapLayersProps>;
|
|
9
|
+
export { MapLayers };
|
|
@@ -11,13 +11,14 @@ var __assign = (this && this.__assign) || function () {
|
|
|
11
11
|
return __assign.apply(this, arguments);
|
|
12
12
|
};
|
|
13
13
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
+
exports.MapLayers = void 0;
|
|
14
15
|
var React = require("react");
|
|
15
16
|
var PropTypes = require("prop-types");
|
|
16
17
|
var CollectionConfigurationComponent_1 = require("./base/CollectionConfigurationComponent");
|
|
17
18
|
var MapLayers = function (props) {
|
|
18
19
|
return (React.createElement(CollectionConfigurationComponent_1.default, __assign({}, props, { _mapKey: "layers" })));
|
|
19
20
|
};
|
|
21
|
+
exports.MapLayers = MapLayers;
|
|
20
22
|
MapLayers.propTypes = {
|
|
21
23
|
children: PropTypes.array
|
|
22
24
|
};
|
|
23
|
-
exports.default = MapLayers;
|
|
@@ -5,5 +5,5 @@ import { MarkerLayerOptions } from '@progress/kendo-charts';
|
|
|
5
5
|
*/
|
|
6
6
|
export interface MapMarkerLayerProps extends MarkerLayerOptions {
|
|
7
7
|
}
|
|
8
|
-
declare const MapMarkerLayer: React.
|
|
9
|
-
export
|
|
8
|
+
declare const MapMarkerLayer: React.FunctionComponent<MapMarkerLayerProps>;
|
|
9
|
+
export { MapMarkerLayer };
|
|
@@ -11,10 +11,11 @@ var __assign = (this && this.__assign) || function () {
|
|
|
11
11
|
return __assign.apply(this, arguments);
|
|
12
12
|
};
|
|
13
13
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
+
exports.MapMarkerLayer = void 0;
|
|
14
15
|
var React = require("react");
|
|
15
16
|
var ConfigurationComponent_1 = require("./base/ConfigurationComponent");
|
|
16
17
|
var MapMarkerLayer = function (props) {
|
|
17
18
|
return (React.createElement(ConfigurationComponent_1.default, __assign({ type: "marker" }, props)));
|
|
18
19
|
};
|
|
20
|
+
exports.MapMarkerLayer = MapMarkerLayer;
|
|
19
21
|
MapMarkerLayer.displayName = 'MapMarkerLayer';
|
|
20
|
-
exports.default = MapMarkerLayer;
|
|
@@ -5,5 +5,5 @@ import { ShapeLayerOptions } from '@progress/kendo-charts';
|
|
|
5
5
|
*/
|
|
6
6
|
export interface MapShapeLayerProps extends ShapeLayerOptions {
|
|
7
7
|
}
|
|
8
|
-
declare const MapShapeLayer: React.
|
|
9
|
-
export
|
|
8
|
+
declare const MapShapeLayer: React.FunctionComponent<MapShapeLayerProps>;
|
|
9
|
+
export { MapShapeLayer };
|
|
@@ -11,10 +11,11 @@ var __assign = (this && this.__assign) || function () {
|
|
|
11
11
|
return __assign.apply(this, arguments);
|
|
12
12
|
};
|
|
13
13
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
+
exports.MapShapeLayer = void 0;
|
|
14
15
|
var React = require("react");
|
|
15
16
|
var ConfigurationComponent_1 = require("./base/ConfigurationComponent");
|
|
16
17
|
var MapShapeLayer = function (props) {
|
|
17
18
|
return (React.createElement(ConfigurationComponent_1.default, __assign({ type: "shape" }, props)));
|
|
18
19
|
};
|
|
20
|
+
exports.MapShapeLayer = MapShapeLayer;
|
|
19
21
|
MapShapeLayer.displayName = 'MapShapeLayer';
|
|
20
|
-
exports.default = MapShapeLayer;
|
|
@@ -5,5 +5,5 @@ import { TileLayerOptions } from '@progress/kendo-charts';
|
|
|
5
5
|
*/
|
|
6
6
|
export interface MapTileLayerProps extends TileLayerOptions {
|
|
7
7
|
}
|
|
8
|
-
declare const MapTileLayer: React.
|
|
9
|
-
export
|
|
8
|
+
declare const MapTileLayer: React.FunctionComponent<MapTileLayerProps>;
|
|
9
|
+
export { MapTileLayer };
|
|
@@ -11,10 +11,11 @@ var __assign = (this && this.__assign) || function () {
|
|
|
11
11
|
return __assign.apply(this, arguments);
|
|
12
12
|
};
|
|
13
13
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
+
exports.MapTileLayer = void 0;
|
|
14
15
|
var React = require("react");
|
|
15
16
|
var ConfigurationComponent_1 = require("./base/ConfigurationComponent");
|
|
16
17
|
var MapTileLayer = function (props) {
|
|
17
18
|
return (React.createElement(ConfigurationComponent_1.default, __assign({ type: "tile" }, props)));
|
|
18
19
|
};
|
|
20
|
+
exports.MapTileLayer = MapTileLayer;
|
|
19
21
|
MapTileLayer.displayName = 'MapTileLayer';
|
|
20
|
-
exports.default = MapTileLayer;
|
|
@@ -3,10 +3,12 @@ var __extends = (this && this.__extends) || (function () {
|
|
|
3
3
|
var extendStatics = function (d, b) {
|
|
4
4
|
extendStatics = Object.setPrototypeOf ||
|
|
5
5
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
-
function (d, b) { for (var p in b) if (
|
|
6
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
7
|
return extendStatics(d, b);
|
|
8
8
|
};
|
|
9
9
|
return function (d, b) {
|
|
10
|
+
if (typeof b !== "function" && b !== null)
|
|
11
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
10
12
|
extendStatics(d, b);
|
|
11
13
|
function __() { this.constructor = d; }
|
|
12
14
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
@@ -39,7 +41,7 @@ var CollectionConfigurationComponent = /** @class */ (function (_super) {
|
|
|
39
41
|
CollectionConfigurationComponent.prototype.renderChildren = function (child, index) {
|
|
40
42
|
var children = child.props.children;
|
|
41
43
|
var _a = this.props, _mapKey = _a._mapKey, _parentStore = _a._parentStore;
|
|
42
|
-
var collectionItemProps = __assign({}, child.props, { _mapCollectionIdxKey: _mapKey + "_" + index, _parentStore: _parentStore });
|
|
44
|
+
var collectionItemProps = __assign(__assign({}, child.props), { _mapCollectionIdxKey: _mapKey + "_" + index, _parentStore: _parentStore });
|
|
43
45
|
return React.cloneElement(child, collectionItemProps, children);
|
|
44
46
|
};
|
|
45
47
|
CollectionConfigurationComponent.prototype.render = function () {
|
|
@@ -3,10 +3,12 @@ var __extends = (this && this.__extends) || (function () {
|
|
|
3
3
|
var extendStatics = function (d, b) {
|
|
4
4
|
extendStatics = Object.setPrototypeOf ||
|
|
5
5
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
-
function (d, b) { for (var p in b) if (
|
|
6
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
7
|
return extendStatics(d, b);
|
|
8
8
|
};
|
|
9
9
|
return function (d, b) {
|
|
10
|
+
if (typeof b !== "function" && b !== null)
|
|
11
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
10
12
|
extendStatics(d, b);
|
|
11
13
|
function __() { this.constructor = d; }
|
|
12
14
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
@@ -28,8 +30,10 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
28
30
|
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
29
31
|
t[p] = s[p];
|
|
30
32
|
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
31
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++)
|
|
32
|
-
|
|
33
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
34
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
35
|
+
t[p[i]] = s[p[i]];
|
|
36
|
+
}
|
|
33
37
|
return t;
|
|
34
38
|
};
|
|
35
39
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -75,7 +79,7 @@ var ConfigurationComponent = /** @class */ (function (_super) {
|
|
|
75
79
|
};
|
|
76
80
|
ConfigurationComponent.prototype.renderChildren = function (child) {
|
|
77
81
|
var children = child.props.children;
|
|
78
|
-
var configurationItemProps = __assign({}, child.props, { _parentStore: this.childStore });
|
|
82
|
+
var configurationItemProps = __assign(__assign({}, child.props), { _parentStore: this.childStore });
|
|
79
83
|
return React.cloneElement(child, configurationItemProps, children);
|
|
80
84
|
};
|
|
81
85
|
ConfigurationComponent.contextType = MapContext_1.MapContext;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import MapLayers,
|
|
2
|
-
import MapShapeLayer,
|
|
3
|
-
import MapTileLayer,
|
|
4
|
-
import MapBubbleLayer,
|
|
5
|
-
import MapMarkerLayer,
|
|
1
|
+
import { MapLayers, MapLayersProps } from './Layers';
|
|
2
|
+
import { MapShapeLayer, MapShapeLayerProps } from './ShapeLayer';
|
|
3
|
+
import { MapTileLayer, MapTileLayerProps } from './TileLayer';
|
|
4
|
+
import { MapBubbleLayer, MapBubbleLayerProps } from './BubbleLayer';
|
|
5
|
+
import { MapMarkerLayer, MapMarkerLayerProps } from './MarkerLayer';
|
|
6
6
|
export { MapLayers, MapLayersProps, MapShapeLayer, MapShapeLayerProps, MapTileLayer, MapTileLayerProps, MapBubbleLayer, MapBubbleLayerProps, MapMarkerLayer, MapMarkerLayerProps };
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.MapMarkerLayer = exports.MapBubbleLayer = exports.MapTileLayer = exports.MapShapeLayer = exports.MapLayers = void 0;
|
|
3
4
|
var Layers_1 = require("./Layers");
|
|
4
|
-
exports
|
|
5
|
+
Object.defineProperty(exports, "MapLayers", { enumerable: true, get: function () { return Layers_1.MapLayers; } });
|
|
5
6
|
var ShapeLayer_1 = require("./ShapeLayer");
|
|
6
|
-
exports
|
|
7
|
+
Object.defineProperty(exports, "MapShapeLayer", { enumerable: true, get: function () { return ShapeLayer_1.MapShapeLayer; } });
|
|
7
8
|
var TileLayer_1 = require("./TileLayer");
|
|
8
|
-
exports
|
|
9
|
+
Object.defineProperty(exports, "MapTileLayer", { enumerable: true, get: function () { return TileLayer_1.MapTileLayer; } });
|
|
9
10
|
var BubbleLayer_1 = require("./BubbleLayer");
|
|
10
|
-
exports
|
|
11
|
+
Object.defineProperty(exports, "MapBubbleLayer", { enumerable: true, get: function () { return BubbleLayer_1.MapBubbleLayer; } });
|
|
11
12
|
var MarkerLayer_1 = require("./MarkerLayer");
|
|
12
|
-
exports
|
|
13
|
+
Object.defineProperty(exports, "MapMarkerLayer", { enumerable: true, get: function () { return MarkerLayer_1.MapMarkerLayer; } });
|
|
@@ -3,16 +3,19 @@ var __extends = (this && this.__extends) || (function () {
|
|
|
3
3
|
var extendStatics = function (d, b) {
|
|
4
4
|
extendStatics = Object.setPrototypeOf ||
|
|
5
5
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
-
function (d, b) { for (var p in b) if (
|
|
6
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
7
|
return extendStatics(d, b);
|
|
8
8
|
};
|
|
9
9
|
return function (d, b) {
|
|
10
|
+
if (typeof b !== "function" && b !== null)
|
|
11
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
10
12
|
extendStatics(d, b);
|
|
11
13
|
function __() { this.constructor = d; }
|
|
12
14
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
13
15
|
};
|
|
14
16
|
})();
|
|
15
17
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
exports.BeforeResetEvent = void 0;
|
|
16
19
|
var base_event_1 = require("./base-event");
|
|
17
20
|
/**
|
|
18
21
|
* Fired immediately before the map is reset. This event is typically used for cleanup by layer implementers.
|
|
@@ -3,16 +3,19 @@ var __extends = (this && this.__extends) || (function () {
|
|
|
3
3
|
var extendStatics = function (d, b) {
|
|
4
4
|
extendStatics = Object.setPrototypeOf ||
|
|
5
5
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
-
function (d, b) { for (var p in b) if (
|
|
6
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
7
|
return extendStatics(d, b);
|
|
8
8
|
};
|
|
9
9
|
return function (d, b) {
|
|
10
|
+
if (typeof b !== "function" && b !== null)
|
|
11
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
10
12
|
extendStatics(d, b);
|
|
11
13
|
function __() { this.constructor = d; }
|
|
12
14
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
13
15
|
};
|
|
14
16
|
})();
|
|
15
17
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
exports.MapClickEvent = void 0;
|
|
16
19
|
var base_event_1 = require("./base-event");
|
|
17
20
|
/**
|
|
18
21
|
* Fired when the user clicks on the map.
|
|
@@ -3,16 +3,19 @@ var __extends = (this && this.__extends) || (function () {
|
|
|
3
3
|
var extendStatics = function (d, b) {
|
|
4
4
|
extendStatics = Object.setPrototypeOf ||
|
|
5
5
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
-
function (d, b) { for (var p in b) if (
|
|
6
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
7
|
return extendStatics(d, b);
|
|
8
8
|
};
|
|
9
9
|
return function (d, b) {
|
|
10
|
+
if (typeof b !== "function" && b !== null)
|
|
11
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
10
12
|
extendStatics(d, b);
|
|
11
13
|
function __() { this.constructor = d; }
|
|
12
14
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
13
15
|
};
|
|
14
16
|
})();
|
|
15
17
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
exports.MarkerActivateEvent = void 0;
|
|
16
19
|
var base_event_1 = require("./base-event");
|
|
17
20
|
/**
|
|
18
21
|
* Fired when a marker has been displayed and has a DOM element assigned.
|
|
@@ -3,16 +3,19 @@ var __extends = (this && this.__extends) || (function () {
|
|
|
3
3
|
var extendStatics = function (d, b) {
|
|
4
4
|
extendStatics = Object.setPrototypeOf ||
|
|
5
5
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
-
function (d, b) { for (var p in b) if (
|
|
6
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
7
|
return extendStatics(d, b);
|
|
8
8
|
};
|
|
9
9
|
return function (d, b) {
|
|
10
|
+
if (typeof b !== "function" && b !== null)
|
|
11
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
10
12
|
extendStatics(d, b);
|
|
11
13
|
function __() { this.constructor = d; }
|
|
12
14
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
13
15
|
};
|
|
14
16
|
})();
|
|
15
17
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
exports.MarkerClickEvent = void 0;
|
|
16
19
|
var base_event_1 = require("./base-event");
|
|
17
20
|
/**
|
|
18
21
|
* Fired when a marker has been clicked or tapped.
|
|
@@ -3,16 +3,19 @@ var __extends = (this && this.__extends) || (function () {
|
|
|
3
3
|
var extendStatics = function (d, b) {
|
|
4
4
|
extendStatics = Object.setPrototypeOf ||
|
|
5
5
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
-
function (d, b) { for (var p in b) if (
|
|
6
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
7
|
return extendStatics(d, b);
|
|
8
8
|
};
|
|
9
9
|
return function (d, b) {
|
|
10
|
+
if (typeof b !== "function" && b !== null)
|
|
11
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
10
12
|
extendStatics(d, b);
|
|
11
13
|
function __() { this.constructor = d; }
|
|
12
14
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
13
15
|
};
|
|
14
16
|
})();
|
|
15
17
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
exports.MarkerCreatedEvent = void 0;
|
|
16
19
|
var preventable_event_1 = require("./preventable-event");
|
|
17
20
|
/**
|
|
18
21
|
* Fired when a marker has been created and is about to be displayed.
|
|
@@ -3,16 +3,19 @@ var __extends = (this && this.__extends) || (function () {
|
|
|
3
3
|
var extendStatics = function (d, b) {
|
|
4
4
|
extendStatics = Object.setPrototypeOf ||
|
|
5
5
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
-
function (d, b) { for (var p in b) if (
|
|
6
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
7
|
return extendStatics(d, b);
|
|
8
8
|
};
|
|
9
9
|
return function (d, b) {
|
|
10
|
+
if (typeof b !== "function" && b !== null)
|
|
11
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
10
12
|
extendStatics(d, b);
|
|
11
13
|
function __() { this.constructor = d; }
|
|
12
14
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
13
15
|
};
|
|
14
16
|
})();
|
|
15
17
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
exports.PanEndEvent = void 0;
|
|
16
19
|
var base_event_1 = require("./base-event");
|
|
17
20
|
/**
|
|
18
21
|
* Fires after the map viewport has been moved.
|
|
@@ -3,16 +3,19 @@ var __extends = (this && this.__extends) || (function () {
|
|
|
3
3
|
var extendStatics = function (d, b) {
|
|
4
4
|
extendStatics = Object.setPrototypeOf ||
|
|
5
5
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
-
function (d, b) { for (var p in b) if (
|
|
6
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
7
|
return extendStatics(d, b);
|
|
8
8
|
};
|
|
9
9
|
return function (d, b) {
|
|
10
|
+
if (typeof b !== "function" && b !== null)
|
|
11
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
10
12
|
extendStatics(d, b);
|
|
11
13
|
function __() { this.constructor = d; }
|
|
12
14
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
13
15
|
};
|
|
14
16
|
})();
|
|
15
17
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
exports.PanEvent = void 0;
|
|
16
19
|
var base_event_1 = require("./base-event");
|
|
17
20
|
/**
|
|
18
21
|
* Fired while the map viewport is being moved.
|
|
@@ -3,16 +3,19 @@ var __extends = (this && this.__extends) || (function () {
|
|
|
3
3
|
var extendStatics = function (d, b) {
|
|
4
4
|
extendStatics = Object.setPrototypeOf ||
|
|
5
5
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
-
function (d, b) { for (var p in b) if (
|
|
6
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
7
|
return extendStatics(d, b);
|
|
8
8
|
};
|
|
9
9
|
return function (d, b) {
|
|
10
|
+
if (typeof b !== "function" && b !== null)
|
|
11
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
10
12
|
extendStatics(d, b);
|
|
11
13
|
function __() { this.constructor = d; }
|
|
12
14
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
13
15
|
};
|
|
14
16
|
})();
|
|
15
17
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
exports.PreventableEvent = void 0;
|
|
16
19
|
var base_event_1 = require("./base-event");
|
|
17
20
|
/**
|
|
18
21
|
* @hidden
|
|
@@ -3,16 +3,19 @@ var __extends = (this && this.__extends) || (function () {
|
|
|
3
3
|
var extendStatics = function (d, b) {
|
|
4
4
|
extendStatics = Object.setPrototypeOf ||
|
|
5
5
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
-
function (d, b) { for (var p in b) if (
|
|
6
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
7
|
return extendStatics(d, b);
|
|
8
8
|
};
|
|
9
9
|
return function (d, b) {
|
|
10
|
+
if (typeof b !== "function" && b !== null)
|
|
11
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
10
12
|
extendStatics(d, b);
|
|
11
13
|
function __() { this.constructor = d; }
|
|
12
14
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
13
15
|
};
|
|
14
16
|
})();
|
|
15
17
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
exports.ResetEvent = void 0;
|
|
16
19
|
var base_event_1 = require("./base-event");
|
|
17
20
|
/**
|
|
18
21
|
* Fired when the map is reset.
|
|
@@ -3,16 +3,19 @@ var __extends = (this && this.__extends) || (function () {
|
|
|
3
3
|
var extendStatics = function (d, b) {
|
|
4
4
|
extendStatics = Object.setPrototypeOf ||
|
|
5
5
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
-
function (d, b) { for (var p in b) if (
|
|
6
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
7
|
return extendStatics(d, b);
|
|
8
8
|
};
|
|
9
9
|
return function (d, b) {
|
|
10
|
+
if (typeof b !== "function" && b !== null)
|
|
11
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
10
12
|
extendStatics(d, b);
|
|
11
13
|
function __() { this.constructor = d; }
|
|
12
14
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
13
15
|
};
|
|
14
16
|
})();
|
|
15
17
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
exports.ShapeClickEvent = void 0;
|
|
16
19
|
var base_event_1 = require("./base-event");
|
|
17
20
|
/**
|
|
18
21
|
* Fired when a shape is clicked or tapped.
|
|
@@ -3,16 +3,19 @@ var __extends = (this && this.__extends) || (function () {
|
|
|
3
3
|
var extendStatics = function (d, b) {
|
|
4
4
|
extendStatics = Object.setPrototypeOf ||
|
|
5
5
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
-
function (d, b) { for (var p in b) if (
|
|
6
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
7
|
return extendStatics(d, b);
|
|
8
8
|
};
|
|
9
9
|
return function (d, b) {
|
|
10
|
+
if (typeof b !== "function" && b !== null)
|
|
11
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
10
12
|
extendStatics(d, b);
|
|
11
13
|
function __() { this.constructor = d; }
|
|
12
14
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
13
15
|
};
|
|
14
16
|
})();
|
|
15
17
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
exports.ShapeCreatedEvent = void 0;
|
|
16
19
|
var base_event_1 = require("./base-event");
|
|
17
20
|
/**
|
|
18
21
|
* Fired when a shape is created, but is not rendered yet.
|
|
@@ -3,16 +3,19 @@ var __extends = (this && this.__extends) || (function () {
|
|
|
3
3
|
var extendStatics = function (d, b) {
|
|
4
4
|
extendStatics = Object.setPrototypeOf ||
|
|
5
5
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
-
function (d, b) { for (var p in b) if (
|
|
6
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
7
|
return extendStatics(d, b);
|
|
8
8
|
};
|
|
9
9
|
return function (d, b) {
|
|
10
|
+
if (typeof b !== "function" && b !== null)
|
|
11
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
10
12
|
extendStatics(d, b);
|
|
11
13
|
function __() { this.constructor = d; }
|
|
12
14
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
13
15
|
};
|
|
14
16
|
})();
|
|
15
17
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
exports.ShapeFeatureCreatedEvent = void 0;
|
|
16
19
|
var base_event_1 = require("./base-event");
|
|
17
20
|
/**
|
|
18
21
|
* Fired when a [GeoJSON Feature](https://geojson.org/geojson-spec.html#feature-objects) is created on a shape layer.
|
|
@@ -3,16 +3,19 @@ var __extends = (this && this.__extends) || (function () {
|
|
|
3
3
|
var extendStatics = function (d, b) {
|
|
4
4
|
extendStatics = Object.setPrototypeOf ||
|
|
5
5
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
-
function (d, b) { for (var p in b) if (
|
|
6
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
7
|
return extendStatics(d, b);
|
|
8
8
|
};
|
|
9
9
|
return function (d, b) {
|
|
10
|
+
if (typeof b !== "function" && b !== null)
|
|
11
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
10
12
|
extendStatics(d, b);
|
|
11
13
|
function __() { this.constructor = d; }
|
|
12
14
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
13
15
|
};
|
|
14
16
|
})();
|
|
15
17
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
exports.ShapeMouseEnterEvent = void 0;
|
|
16
19
|
var base_event_1 = require("./base-event");
|
|
17
20
|
/**
|
|
18
21
|
* Fired when the mouse enters a shape.
|
|
@@ -3,16 +3,19 @@ var __extends = (this && this.__extends) || (function () {
|
|
|
3
3
|
var extendStatics = function (d, b) {
|
|
4
4
|
extendStatics = Object.setPrototypeOf ||
|
|
5
5
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
-
function (d, b) { for (var p in b) if (
|
|
6
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
7
|
return extendStatics(d, b);
|
|
8
8
|
};
|
|
9
9
|
return function (d, b) {
|
|
10
|
+
if (typeof b !== "function" && b !== null)
|
|
11
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
10
12
|
extendStatics(d, b);
|
|
11
13
|
function __() { this.constructor = d; }
|
|
12
14
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
13
15
|
};
|
|
14
16
|
})();
|
|
15
17
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
exports.ShapeMouseLeaveEvent = void 0;
|
|
16
19
|
var base_event_1 = require("./base-event");
|
|
17
20
|
/**
|
|
18
21
|
* Fired when the mouse leaves a shape.
|
|
@@ -3,16 +3,19 @@ var __extends = (this && this.__extends) || (function () {
|
|
|
3
3
|
var extendStatics = function (d, b) {
|
|
4
4
|
extendStatics = Object.setPrototypeOf ||
|
|
5
5
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
-
function (d, b) { for (var p in b) if (
|
|
6
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
7
|
return extendStatics(d, b);
|
|
8
8
|
};
|
|
9
9
|
return function (d, b) {
|
|
10
|
+
if (typeof b !== "function" && b !== null)
|
|
11
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
10
12
|
extendStatics(d, b);
|
|
11
13
|
function __() { this.constructor = d; }
|
|
12
14
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
13
15
|
};
|
|
14
16
|
})();
|
|
15
17
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
exports.ZoomEndEvent = void 0;
|
|
16
19
|
var base_event_1 = require("./base-event");
|
|
17
20
|
/**
|
|
18
21
|
* Fired when the map zoom level has changed.
|
|
@@ -3,16 +3,19 @@ var __extends = (this && this.__extends) || (function () {
|
|
|
3
3
|
var extendStatics = function (d, b) {
|
|
4
4
|
extendStatics = Object.setPrototypeOf ||
|
|
5
5
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
-
function (d, b) { for (var p in b) if (
|
|
6
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
7
|
return extendStatics(d, b);
|
|
8
8
|
};
|
|
9
9
|
return function (d, b) {
|
|
10
|
+
if (typeof b !== "function" && b !== null)
|
|
11
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
10
12
|
extendStatics(d, b);
|
|
11
13
|
function __() { this.constructor = d; }
|
|
12
14
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
13
15
|
};
|
|
14
16
|
})();
|
|
15
17
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
exports.ZoomStartEvent = void 0;
|
|
16
19
|
var preventable_event_1 = require("./preventable-event");
|
|
17
20
|
/**
|
|
18
21
|
* Fired when the map zoom level is about to change.
|
package/dist/npm/main.js
CHANGED
|
@@ -1,10 +1,18 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
function
|
|
3
|
-
|
|
4
|
-
}
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
5
|
+
}) : (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
o[k2] = m[k];
|
|
8
|
+
}));
|
|
9
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
10
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
11
|
+
};
|
|
5
12
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
|
+
exports.Map = void 0;
|
|
6
14
|
var Map_1 = require("./Map");
|
|
7
|
-
exports
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
15
|
+
Object.defineProperty(exports, "Map", { enumerable: true, get: function () { return Map_1.Map; } });
|
|
16
|
+
__exportStar(require("./components/main"), exports);
|
|
17
|
+
__exportStar(require("./common/map-types"), exports);
|
|
18
|
+
__exportStar(require("./common/events"), exports);
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.packageMetadata = void 0;
|
|
3
4
|
/**
|
|
4
5
|
* @hidden
|
|
5
6
|
*/
|
|
@@ -7,7 +8,7 @@ exports.packageMetadata = {
|
|
|
7
8
|
name: '@progress/kendo-react-map',
|
|
8
9
|
productName: 'KendoReact',
|
|
9
10
|
productCodes: ['KENDOUIREACT', 'KENDOUICOMPLETE'],
|
|
10
|
-
publishDate:
|
|
11
|
+
publishDate: 1653649061,
|
|
11
12
|
version: '',
|
|
12
13
|
licensingDocsUrl: 'https://www.telerik.com/kendo-react-ui/my-license/?utm_medium=product&utm_source=kendoreact&utm_campaign=kendo-ui-react-purchase-license-keys-warning'
|
|
13
14
|
};
|