@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
package/dist/es/Map.d.ts
CHANGED
|
@@ -25,7 +25,7 @@ export declare class Map extends React.Component<MapProps, {}> {
|
|
|
25
25
|
/**
|
|
26
26
|
* @hidden
|
|
27
27
|
*/
|
|
28
|
-
|
|
28
|
+
get element(): HTMLDivElement;
|
|
29
29
|
protected _element: HTMLDivElement | null;
|
|
30
30
|
protected optionsStore: any;
|
|
31
31
|
protected optionsUnsubscriber: Function;
|
package/dist/es/Map.js
CHANGED
|
@@ -2,10 +2,12 @@ var __extends = (this && this.__extends) || (function () {
|
|
|
2
2
|
var extendStatics = function (d, b) {
|
|
3
3
|
extendStatics = Object.setPrototypeOf ||
|
|
4
4
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5
|
-
function (d, b) { for (var p in b) if (
|
|
5
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
6
6
|
return extendStatics(d, b);
|
|
7
7
|
};
|
|
8
8
|
return function (d, b) {
|
|
9
|
+
if (typeof b !== "function" && b !== null)
|
|
10
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
9
11
|
extendStatics(d, b);
|
|
10
12
|
function __() { this.constructor = d; }
|
|
11
13
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
@@ -16,8 +18,10 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
16
18
|
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
17
19
|
t[p] = s[p];
|
|
18
20
|
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
19
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++)
|
|
20
|
-
|
|
21
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
22
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
23
|
+
t[p[i]] = s[p[i]];
|
|
24
|
+
}
|
|
21
25
|
return t;
|
|
22
26
|
};
|
|
23
27
|
import * as React from 'react';
|
|
@@ -84,7 +88,7 @@ var Map = /** @class */ (function (_super) {
|
|
|
84
88
|
get: function () {
|
|
85
89
|
return this._element;
|
|
86
90
|
},
|
|
87
|
-
enumerable:
|
|
91
|
+
enumerable: false,
|
|
88
92
|
configurable: true
|
|
89
93
|
});
|
|
90
94
|
/**
|
package/dist/es/MapProps.js
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -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 };
|
|
@@ -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 };
|
|
@@ -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 };
|
|
@@ -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 };
|
|
@@ -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 };
|
|
@@ -2,10 +2,12 @@ var __extends = (this && this.__extends) || (function () {
|
|
|
2
2
|
var extendStatics = function (d, b) {
|
|
3
3
|
extendStatics = Object.setPrototypeOf ||
|
|
4
4
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5
|
-
function (d, b) { for (var p in b) if (
|
|
5
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
6
6
|
return extendStatics(d, b);
|
|
7
7
|
};
|
|
8
8
|
return function (d, b) {
|
|
9
|
+
if (typeof b !== "function" && b !== null)
|
|
10
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
9
11
|
extendStatics(d, b);
|
|
10
12
|
function __() { this.constructor = d; }
|
|
11
13
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
@@ -37,7 +39,7 @@ var CollectionConfigurationComponent = /** @class */ (function (_super) {
|
|
|
37
39
|
CollectionConfigurationComponent.prototype.renderChildren = function (child, index) {
|
|
38
40
|
var children = child.props.children;
|
|
39
41
|
var _a = this.props, _mapKey = _a._mapKey, _parentStore = _a._parentStore;
|
|
40
|
-
var collectionItemProps = __assign({}, child.props, { _mapCollectionIdxKey: _mapKey + "_" + index, _parentStore: _parentStore });
|
|
42
|
+
var collectionItemProps = __assign(__assign({}, child.props), { _mapCollectionIdxKey: _mapKey + "_" + index, _parentStore: _parentStore });
|
|
41
43
|
return React.cloneElement(child, collectionItemProps, children);
|
|
42
44
|
};
|
|
43
45
|
CollectionConfigurationComponent.prototype.render = function () {
|
|
@@ -2,10 +2,12 @@ var __extends = (this && this.__extends) || (function () {
|
|
|
2
2
|
var extendStatics = function (d, b) {
|
|
3
3
|
extendStatics = Object.setPrototypeOf ||
|
|
4
4
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5
|
-
function (d, b) { for (var p in b) if (
|
|
5
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
6
6
|
return extendStatics(d, b);
|
|
7
7
|
};
|
|
8
8
|
return function (d, b) {
|
|
9
|
+
if (typeof b !== "function" && b !== null)
|
|
10
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
9
11
|
extendStatics(d, b);
|
|
10
12
|
function __() { this.constructor = d; }
|
|
11
13
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
@@ -27,8 +29,10 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
27
29
|
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
28
30
|
t[p] = s[p];
|
|
29
31
|
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
30
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++)
|
|
31
|
-
|
|
32
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
33
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
34
|
+
t[p[i]] = s[p[i]];
|
|
35
|
+
}
|
|
32
36
|
return t;
|
|
33
37
|
};
|
|
34
38
|
import * as React from 'react';
|
|
@@ -73,7 +77,7 @@ var ConfigurationComponent = /** @class */ (function (_super) {
|
|
|
73
77
|
};
|
|
74
78
|
ConfigurationComponent.prototype.renderChildren = function (child) {
|
|
75
79
|
var children = child.props.children;
|
|
76
|
-
var configurationItemProps = __assign({}, child.props, { _parentStore: this.childStore });
|
|
80
|
+
var configurationItemProps = __assign(__assign({}, child.props), { _parentStore: this.childStore });
|
|
77
81
|
return React.cloneElement(child, configurationItemProps, children);
|
|
78
82
|
};
|
|
79
83
|
ConfigurationComponent.contextType = 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,6 +1,6 @@
|
|
|
1
|
-
import MapLayers from './Layers';
|
|
2
|
-
import MapShapeLayer from './ShapeLayer';
|
|
3
|
-
import MapTileLayer from './TileLayer';
|
|
4
|
-
import MapBubbleLayer from './BubbleLayer';
|
|
5
|
-
import MapMarkerLayer from './MarkerLayer';
|
|
1
|
+
import { MapLayers } from './Layers';
|
|
2
|
+
import { MapShapeLayer } from './ShapeLayer';
|
|
3
|
+
import { MapTileLayer } from './TileLayer';
|
|
4
|
+
import { MapBubbleLayer } from './BubbleLayer';
|
|
5
|
+
import { MapMarkerLayer } from './MarkerLayer';
|
|
6
6
|
export { MapLayers, MapShapeLayer, MapTileLayer, MapBubbleLayer, MapMarkerLayer };
|
|
@@ -2,10 +2,12 @@ var __extends = (this && this.__extends) || (function () {
|
|
|
2
2
|
var extendStatics = function (d, b) {
|
|
3
3
|
extendStatics = Object.setPrototypeOf ||
|
|
4
4
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5
|
-
function (d, b) { for (var p in b) if (
|
|
5
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
6
6
|
return extendStatics(d, b);
|
|
7
7
|
};
|
|
8
8
|
return function (d, b) {
|
|
9
|
+
if (typeof b !== "function" && b !== null)
|
|
10
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
9
11
|
extendStatics(d, b);
|
|
10
12
|
function __() { this.constructor = d; }
|
|
11
13
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
@@ -2,10 +2,12 @@ var __extends = (this && this.__extends) || (function () {
|
|
|
2
2
|
var extendStatics = function (d, b) {
|
|
3
3
|
extendStatics = Object.setPrototypeOf ||
|
|
4
4
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5
|
-
function (d, b) { for (var p in b) if (
|
|
5
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
6
6
|
return extendStatics(d, b);
|
|
7
7
|
};
|
|
8
8
|
return function (d, b) {
|
|
9
|
+
if (typeof b !== "function" && b !== null)
|
|
10
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
9
11
|
extendStatics(d, b);
|
|
10
12
|
function __() { this.constructor = d; }
|
|
11
13
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
@@ -2,10 +2,12 @@ var __extends = (this && this.__extends) || (function () {
|
|
|
2
2
|
var extendStatics = function (d, b) {
|
|
3
3
|
extendStatics = Object.setPrototypeOf ||
|
|
4
4
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5
|
-
function (d, b) { for (var p in b) if (
|
|
5
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
6
6
|
return extendStatics(d, b);
|
|
7
7
|
};
|
|
8
8
|
return function (d, b) {
|
|
9
|
+
if (typeof b !== "function" && b !== null)
|
|
10
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
9
11
|
extendStatics(d, b);
|
|
10
12
|
function __() { this.constructor = d; }
|
|
11
13
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
@@ -2,10 +2,12 @@ var __extends = (this && this.__extends) || (function () {
|
|
|
2
2
|
var extendStatics = function (d, b) {
|
|
3
3
|
extendStatics = Object.setPrototypeOf ||
|
|
4
4
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5
|
-
function (d, b) { for (var p in b) if (
|
|
5
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
6
6
|
return extendStatics(d, b);
|
|
7
7
|
};
|
|
8
8
|
return function (d, b) {
|
|
9
|
+
if (typeof b !== "function" && b !== null)
|
|
10
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
9
11
|
extendStatics(d, b);
|
|
10
12
|
function __() { this.constructor = d; }
|
|
11
13
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
@@ -2,10 +2,12 @@ var __extends = (this && this.__extends) || (function () {
|
|
|
2
2
|
var extendStatics = function (d, b) {
|
|
3
3
|
extendStatics = Object.setPrototypeOf ||
|
|
4
4
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5
|
-
function (d, b) { for (var p in b) if (
|
|
5
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
6
6
|
return extendStatics(d, b);
|
|
7
7
|
};
|
|
8
8
|
return function (d, b) {
|
|
9
|
+
if (typeof b !== "function" && b !== null)
|
|
10
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
9
11
|
extendStatics(d, b);
|
|
10
12
|
function __() { this.constructor = d; }
|
|
11
13
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
@@ -2,10 +2,12 @@ var __extends = (this && this.__extends) || (function () {
|
|
|
2
2
|
var extendStatics = function (d, b) {
|
|
3
3
|
extendStatics = Object.setPrototypeOf ||
|
|
4
4
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5
|
-
function (d, b) { for (var p in b) if (
|
|
5
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
6
6
|
return extendStatics(d, b);
|
|
7
7
|
};
|
|
8
8
|
return function (d, b) {
|
|
9
|
+
if (typeof b !== "function" && b !== null)
|
|
10
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
9
11
|
extendStatics(d, b);
|
|
10
12
|
function __() { this.constructor = d; }
|
|
11
13
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
@@ -2,10 +2,12 @@ var __extends = (this && this.__extends) || (function () {
|
|
|
2
2
|
var extendStatics = function (d, b) {
|
|
3
3
|
extendStatics = Object.setPrototypeOf ||
|
|
4
4
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5
|
-
function (d, b) { for (var p in b) if (
|
|
5
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
6
6
|
return extendStatics(d, b);
|
|
7
7
|
};
|
|
8
8
|
return function (d, b) {
|
|
9
|
+
if (typeof b !== "function" && b !== null)
|
|
10
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
9
11
|
extendStatics(d, b);
|
|
10
12
|
function __() { this.constructor = d; }
|
|
11
13
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
@@ -2,10 +2,12 @@ var __extends = (this && this.__extends) || (function () {
|
|
|
2
2
|
var extendStatics = function (d, b) {
|
|
3
3
|
extendStatics = Object.setPrototypeOf ||
|
|
4
4
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5
|
-
function (d, b) { for (var p in b) if (
|
|
5
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
6
6
|
return extendStatics(d, b);
|
|
7
7
|
};
|
|
8
8
|
return function (d, b) {
|
|
9
|
+
if (typeof b !== "function" && b !== null)
|
|
10
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
9
11
|
extendStatics(d, b);
|
|
10
12
|
function __() { this.constructor = d; }
|
|
11
13
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
@@ -2,10 +2,12 @@ var __extends = (this && this.__extends) || (function () {
|
|
|
2
2
|
var extendStatics = function (d, b) {
|
|
3
3
|
extendStatics = Object.setPrototypeOf ||
|
|
4
4
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5
|
-
function (d, b) { for (var p in b) if (
|
|
5
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
6
6
|
return extendStatics(d, b);
|
|
7
7
|
};
|
|
8
8
|
return function (d, b) {
|
|
9
|
+
if (typeof b !== "function" && b !== null)
|
|
10
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
9
11
|
extendStatics(d, b);
|
|
10
12
|
function __() { this.constructor = d; }
|
|
11
13
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
@@ -2,10 +2,12 @@ var __extends = (this && this.__extends) || (function () {
|
|
|
2
2
|
var extendStatics = function (d, b) {
|
|
3
3
|
extendStatics = Object.setPrototypeOf ||
|
|
4
4
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5
|
-
function (d, b) { for (var p in b) if (
|
|
5
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
6
6
|
return extendStatics(d, b);
|
|
7
7
|
};
|
|
8
8
|
return function (d, b) {
|
|
9
|
+
if (typeof b !== "function" && b !== null)
|
|
10
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
9
11
|
extendStatics(d, b);
|
|
10
12
|
function __() { this.constructor = d; }
|
|
11
13
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
@@ -2,10 +2,12 @@ var __extends = (this && this.__extends) || (function () {
|
|
|
2
2
|
var extendStatics = function (d, b) {
|
|
3
3
|
extendStatics = Object.setPrototypeOf ||
|
|
4
4
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5
|
-
function (d, b) { for (var p in b) if (
|
|
5
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
6
6
|
return extendStatics(d, b);
|
|
7
7
|
};
|
|
8
8
|
return function (d, b) {
|
|
9
|
+
if (typeof b !== "function" && b !== null)
|
|
10
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
9
11
|
extendStatics(d, b);
|
|
10
12
|
function __() { this.constructor = d; }
|
|
11
13
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
@@ -2,10 +2,12 @@ var __extends = (this && this.__extends) || (function () {
|
|
|
2
2
|
var extendStatics = function (d, b) {
|
|
3
3
|
extendStatics = Object.setPrototypeOf ||
|
|
4
4
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5
|
-
function (d, b) { for (var p in b) if (
|
|
5
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
6
6
|
return extendStatics(d, b);
|
|
7
7
|
};
|
|
8
8
|
return function (d, b) {
|
|
9
|
+
if (typeof b !== "function" && b !== null)
|
|
10
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
9
11
|
extendStatics(d, b);
|
|
10
12
|
function __() { this.constructor = d; }
|
|
11
13
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
@@ -2,10 +2,12 @@ var __extends = (this && this.__extends) || (function () {
|
|
|
2
2
|
var extendStatics = function (d, b) {
|
|
3
3
|
extendStatics = Object.setPrototypeOf ||
|
|
4
4
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5
|
-
function (d, b) { for (var p in b) if (
|
|
5
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
6
6
|
return extendStatics(d, b);
|
|
7
7
|
};
|
|
8
8
|
return function (d, b) {
|
|
9
|
+
if (typeof b !== "function" && b !== null)
|
|
10
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
9
11
|
extendStatics(d, b);
|
|
10
12
|
function __() { this.constructor = d; }
|
|
11
13
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
@@ -2,10 +2,12 @@ var __extends = (this && this.__extends) || (function () {
|
|
|
2
2
|
var extendStatics = function (d, b) {
|
|
3
3
|
extendStatics = Object.setPrototypeOf ||
|
|
4
4
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5
|
-
function (d, b) { for (var p in b) if (
|
|
5
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
6
6
|
return extendStatics(d, b);
|
|
7
7
|
};
|
|
8
8
|
return function (d, b) {
|
|
9
|
+
if (typeof b !== "function" && b !== null)
|
|
10
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
9
11
|
extendStatics(d, b);
|
|
10
12
|
function __() { this.constructor = d; }
|
|
11
13
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
@@ -2,10 +2,12 @@ var __extends = (this && this.__extends) || (function () {
|
|
|
2
2
|
var extendStatics = function (d, b) {
|
|
3
3
|
extendStatics = Object.setPrototypeOf ||
|
|
4
4
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5
|
-
function (d, b) { for (var p in b) if (
|
|
5
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
6
6
|
return extendStatics(d, b);
|
|
7
7
|
};
|
|
8
8
|
return function (d, b) {
|
|
9
|
+
if (typeof b !== "function" && b !== null)
|
|
10
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
9
11
|
extendStatics(d, b);
|
|
10
12
|
function __() { this.constructor = d; }
|
|
11
13
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
@@ -2,10 +2,12 @@ var __extends = (this && this.__extends) || (function () {
|
|
|
2
2
|
var extendStatics = function (d, b) {
|
|
3
3
|
extendStatics = Object.setPrototypeOf ||
|
|
4
4
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5
|
-
function (d, b) { for (var p in b) if (
|
|
5
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
6
6
|
return extendStatics(d, b);
|
|
7
7
|
};
|
|
8
8
|
return function (d, b) {
|
|
9
|
+
if (typeof b !== "function" && b !== null)
|
|
10
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
9
11
|
extendStatics(d, b);
|
|
10
12
|
function __() { this.constructor = d; }
|
|
11
13
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
@@ -5,7 +5,7 @@ export var packageMetadata = {
|
|
|
5
5
|
name: '@progress/kendo-react-map',
|
|
6
6
|
productName: 'KendoReact',
|
|
7
7
|
productCodes: ['KENDOUIREACT', 'KENDOUICOMPLETE'],
|
|
8
|
-
publishDate:
|
|
8
|
+
publishDate: 1653649061,
|
|
9
9
|
version: '',
|
|
10
10
|
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'
|
|
11
11
|
};
|
package/dist/es/store/reducer.js
CHANGED
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
var __spreadArray = (this && this.__spreadArray) || function (to, from) {
|
|
2
|
+
for (var i = 0, il = from.length, j = to.length; i < il; i++, j++)
|
|
3
|
+
to[j] = from[i];
|
|
4
|
+
return to;
|
|
5
|
+
};
|
|
1
6
|
/**
|
|
2
7
|
* @hidden
|
|
3
8
|
*/
|
|
@@ -19,7 +24,7 @@ var observersReducer = function (currentState, action) {
|
|
|
19
24
|
if (action.type) {
|
|
20
25
|
switch (action.type) {
|
|
21
26
|
case 'add':
|
|
22
|
-
return
|
|
27
|
+
return __spreadArray(__spreadArray([], currentState), [action.payload]);
|
|
23
28
|
case 'remove':
|
|
24
29
|
return currentState.filter(function (element) { return element !== action.payload; });
|
|
25
30
|
default:
|
package/dist/npm/Map.d.ts
CHANGED
|
@@ -25,7 +25,7 @@ export declare class Map extends React.Component<MapProps, {}> {
|
|
|
25
25
|
/**
|
|
26
26
|
* @hidden
|
|
27
27
|
*/
|
|
28
|
-
|
|
28
|
+
get element(): HTMLDivElement;
|
|
29
29
|
protected _element: HTMLDivElement | null;
|
|
30
30
|
protected optionsStore: any;
|
|
31
31
|
protected optionsUnsubscriber: Function;
|
package/dist/npm/Map.js
CHANGED
|
@@ -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 __());
|
|
@@ -17,11 +19,14 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
17
19
|
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
18
20
|
t[p] = s[p];
|
|
19
21
|
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
20
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++)
|
|
21
|
-
|
|
22
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
23
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
24
|
+
t[p[i]] = s[p[i]];
|
|
25
|
+
}
|
|
22
26
|
return t;
|
|
23
27
|
};
|
|
24
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.Map = void 0;
|
|
25
30
|
var React = require("react");
|
|
26
31
|
var PropTypes = require("prop-types");
|
|
27
32
|
var kendo_charts_1 = require("@progress/kendo-charts");
|
|
@@ -86,7 +91,7 @@ var Map = /** @class */ (function (_super) {
|
|
|
86
91
|
get: function () {
|
|
87
92
|
return this._element;
|
|
88
93
|
},
|
|
89
|
-
enumerable:
|
|
94
|
+
enumerable: false,
|
|
90
95
|
configurable: true
|
|
91
96
|
});
|
|
92
97
|
/**
|
package/dist/npm/MapContext.js
CHANGED
|
@@ -1,33 +1,34 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ZoomStartEvent = exports.ZoomEndEvent = exports.ShapeMouseLeaveEvent = exports.ShapeMouseEnterEvent = exports.ShapeFeatureCreatedEvent = exports.ShapeCreatedEvent = exports.ShapeClickEvent = exports.ResetEvent = exports.PanEvent = exports.PanEndEvent = exports.MarkerCreatedEvent = exports.MarkerClickEvent = exports.MarkerActivateEvent = exports.MapClickEvent = exports.BeforeResetEvent = void 0;
|
|
3
4
|
// Re-export event types
|
|
4
5
|
var before_reset_event_1 = require("../events/before-reset-event");
|
|
5
|
-
exports
|
|
6
|
+
Object.defineProperty(exports, "BeforeResetEvent", { enumerable: true, get: function () { return before_reset_event_1.BeforeResetEvent; } });
|
|
6
7
|
var map_click_event_1 = require("../events/map-click-event");
|
|
7
|
-
exports
|
|
8
|
+
Object.defineProperty(exports, "MapClickEvent", { enumerable: true, get: function () { return map_click_event_1.MapClickEvent; } });
|
|
8
9
|
var marker_activate_event_1 = require("../events/marker-activate-event");
|
|
9
|
-
exports
|
|
10
|
+
Object.defineProperty(exports, "MarkerActivateEvent", { enumerable: true, get: function () { return marker_activate_event_1.MarkerActivateEvent; } });
|
|
10
11
|
var marker_click_event_1 = require("../events/marker-click-event");
|
|
11
|
-
exports
|
|
12
|
+
Object.defineProperty(exports, "MarkerClickEvent", { enumerable: true, get: function () { return marker_click_event_1.MarkerClickEvent; } });
|
|
12
13
|
var marker_created_event_1 = require("../events/marker-created-event");
|
|
13
|
-
exports
|
|
14
|
+
Object.defineProperty(exports, "MarkerCreatedEvent", { enumerable: true, get: function () { return marker_created_event_1.MarkerCreatedEvent; } });
|
|
14
15
|
var pan_end_event_1 = require("../events/pan-end-event");
|
|
15
|
-
exports
|
|
16
|
+
Object.defineProperty(exports, "PanEndEvent", { enumerable: true, get: function () { return pan_end_event_1.PanEndEvent; } });
|
|
16
17
|
var pan_event_1 = require("../events/pan-event");
|
|
17
|
-
exports
|
|
18
|
+
Object.defineProperty(exports, "PanEvent", { enumerable: true, get: function () { return pan_event_1.PanEvent; } });
|
|
18
19
|
var reset_event_1 = require("../events/reset-event");
|
|
19
|
-
exports
|
|
20
|
+
Object.defineProperty(exports, "ResetEvent", { enumerable: true, get: function () { return reset_event_1.ResetEvent; } });
|
|
20
21
|
var shape_click_event_1 = require("../events/shape-click-event");
|
|
21
|
-
exports
|
|
22
|
+
Object.defineProperty(exports, "ShapeClickEvent", { enumerable: true, get: function () { return shape_click_event_1.ShapeClickEvent; } });
|
|
22
23
|
var shape_created_event_1 = require("../events/shape-created-event");
|
|
23
|
-
exports
|
|
24
|
+
Object.defineProperty(exports, "ShapeCreatedEvent", { enumerable: true, get: function () { return shape_created_event_1.ShapeCreatedEvent; } });
|
|
24
25
|
var shape_feature_created_event_1 = require("../events/shape-feature-created-event");
|
|
25
|
-
exports
|
|
26
|
+
Object.defineProperty(exports, "ShapeFeatureCreatedEvent", { enumerable: true, get: function () { return shape_feature_created_event_1.ShapeFeatureCreatedEvent; } });
|
|
26
27
|
var shape_mouse_enter_event_1 = require("../events/shape-mouse-enter-event");
|
|
27
|
-
exports
|
|
28
|
+
Object.defineProperty(exports, "ShapeMouseEnterEvent", { enumerable: true, get: function () { return shape_mouse_enter_event_1.ShapeMouseEnterEvent; } });
|
|
28
29
|
var shape_mouse_leave_event_1 = require("../events/shape-mouse-leave-event");
|
|
29
|
-
exports
|
|
30
|
+
Object.defineProperty(exports, "ShapeMouseLeaveEvent", { enumerable: true, get: function () { return shape_mouse_leave_event_1.ShapeMouseLeaveEvent; } });
|
|
30
31
|
var zoom_end_event_1 = require("../events/zoom-end-event");
|
|
31
|
-
exports
|
|
32
|
+
Object.defineProperty(exports, "ZoomEndEvent", { enumerable: true, get: function () { return zoom_end_event_1.ZoomEndEvent; } });
|
|
32
33
|
var zoom_start_event_1 = require("../events/zoom-start-event");
|
|
33
|
-
exports
|
|
34
|
+
Object.defineProperty(exports, "ZoomStartEvent", { enumerable: true, get: function () { return zoom_start_event_1.ZoomStartEvent; } });
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Extent = exports.Location = void 0;
|
|
3
4
|
// Re-export Map types
|
|
4
5
|
var kendo_charts_1 = require("@progress/kendo-charts");
|
|
5
|
-
exports
|
|
6
|
-
exports
|
|
6
|
+
Object.defineProperty(exports, "Location", { enumerable: true, get: function () { return kendo_charts_1.Location; } });
|
|
7
|
+
Object.defineProperty(exports, "Extent", { enumerable: true, get: function () { return kendo_charts_1.Extent; } });
|