@progress/kendo-react-map 5.4.0-dev.202205271059 → 5.4.0-dev.202206090823
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/MapContext.d.ts +1 -1
- package/dist/es/components/base/CollectionConfigurationComponent.d.ts +1 -1
- package/dist/es/components/base/CollectionConfigurationComponent.js +1 -1
- package/dist/es/components/base/ConfigurationComponent.d.ts +1 -1
- package/dist/es/events/shape-created-event.js +1 -0
- package/dist/es/package-metadata.js +1 -1
- package/dist/es/store/reducer.js +9 -5
- package/dist/npm/Map.js +4 -4
- package/dist/npm/MapContext.d.ts +1 -1
- package/dist/npm/components/base/CollectionConfigurationComponent.d.ts +1 -1
- package/dist/npm/components/base/CollectionConfigurationComponent.js +1 -1
- package/dist/npm/components/base/ConfigurationComponent.d.ts +1 -1
- package/dist/npm/components/base/ConfigurationComponent.js +1 -1
- package/dist/npm/events/shape-created-event.js +1 -0
- package/dist/npm/main.js +5 -1
- package/dist/npm/package-metadata.js +1 -1
- package/dist/npm/store/reducer.js +9 -5
- package/dist/systemjs/kendo-react-map.js +1 -1
- package/package.json +1 -1
package/dist/es/MapContext.d.ts
CHANGED
|
@@ -11,7 +11,7 @@ export interface CollectionConfigurationProps {
|
|
|
11
11
|
* @hidden
|
|
12
12
|
*/
|
|
13
13
|
export default class CollectionConfigurationComponent extends React.Component<CollectionConfigurationProps> {
|
|
14
|
-
static contextType: React.Context<import("../../MapContext").MapContextType>;
|
|
14
|
+
static contextType: React.Context<import("../../MapContext").MapContextType | null>;
|
|
15
15
|
optionsStore: any;
|
|
16
16
|
constructor(props: any, context: any);
|
|
17
17
|
renderChildren(child: any, index: number): React.DetailedReactHTMLElement<any, HTMLElement>;
|
|
@@ -39,7 +39,7 @@ var CollectionConfigurationComponent = /** @class */ (function (_super) {
|
|
|
39
39
|
CollectionConfigurationComponent.prototype.renderChildren = function (child, index) {
|
|
40
40
|
var children = child.props.children;
|
|
41
41
|
var _a = this.props, _mapKey = _a._mapKey, _parentStore = _a._parentStore;
|
|
42
|
-
var collectionItemProps = __assign(__assign({}, child.props), { _mapCollectionIdxKey: _mapKey
|
|
42
|
+
var collectionItemProps = __assign(__assign({}, child.props), { _mapCollectionIdxKey: "".concat(_mapKey, "_").concat(index), _parentStore: _parentStore });
|
|
43
43
|
return React.cloneElement(child, collectionItemProps, children);
|
|
44
44
|
};
|
|
45
45
|
CollectionConfigurationComponent.prototype.render = function () {
|
|
@@ -12,7 +12,7 @@ export interface ConfigurationComponentProps {
|
|
|
12
12
|
* @hidden
|
|
13
13
|
*/
|
|
14
14
|
export default class ConfigurationComponent extends React.Component<ConfigurationComponentProps> {
|
|
15
|
-
static contextType: React.Context<import("../../MapContext").MapContextType>;
|
|
15
|
+
static contextType: React.Context<import("../../MapContext").MapContextType | null>;
|
|
16
16
|
optionsStore: any;
|
|
17
17
|
childStore: any;
|
|
18
18
|
constructor(props: any, context: any);
|
|
@@ -26,6 +26,7 @@ var ShapeCreatedEvent = /** @class */ (function (_super) {
|
|
|
26
26
|
var _this = _super.call(this, target) || this;
|
|
27
27
|
_this.layer = e.layer;
|
|
28
28
|
_this.shape = e.shape;
|
|
29
|
+
_this.location = null;
|
|
29
30
|
if (e.shape) {
|
|
30
31
|
_this.dataItem = e.shape.dataItem;
|
|
31
32
|
_this.location = e.shape.location;
|
|
@@ -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: 1654762831,
|
|
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,7 +1,11 @@
|
|
|
1
|
-
var __spreadArray = (this && this.__spreadArray) || function (to, from) {
|
|
2
|
-
for (var i = 0,
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
|
|
2
|
+
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
3
|
+
if (ar || !(i in from)) {
|
|
4
|
+
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
|
|
5
|
+
ar[i] = from[i];
|
|
6
|
+
}
|
|
7
|
+
}
|
|
8
|
+
return to.concat(ar || Array.prototype.slice.call(from));
|
|
5
9
|
};
|
|
6
10
|
/**
|
|
7
11
|
* @hidden
|
|
@@ -24,7 +28,7 @@ var observersReducer = function (currentState, action) {
|
|
|
24
28
|
if (action.type) {
|
|
25
29
|
switch (action.type) {
|
|
26
30
|
case 'add':
|
|
27
|
-
return __spreadArray(__spreadArray([], currentState), [action.payload]);
|
|
31
|
+
return __spreadArray(__spreadArray([], currentState, true), [action.payload], false);
|
|
28
32
|
case 'remove':
|
|
29
33
|
return currentState.filter(function (element) { return element !== action.payload; });
|
|
30
34
|
default:
|
package/dist/npm/Map.js
CHANGED
|
@@ -70,9 +70,9 @@ var Map = /** @class */ (function (_super) {
|
|
|
70
70
|
// this.mapInstance.resize();
|
|
71
71
|
}
|
|
72
72
|
};
|
|
73
|
-
kendo_react_common_1.validatePackage(package_metadata_1.packageMetadata);
|
|
74
|
-
_this.optionsStore = store_1.default(reducer_1.optionsReducer);
|
|
75
|
-
_this.observersStore = store_1.default(reducer_1.observersReducer);
|
|
73
|
+
(0, kendo_react_common_1.validatePackage)(package_metadata_1.packageMetadata);
|
|
74
|
+
_this.optionsStore = (0, store_1.default)(reducer_1.optionsReducer);
|
|
75
|
+
_this.observersStore = (0, store_1.default)(reducer_1.observersReducer);
|
|
76
76
|
_this.childrenObserver = new kendo_charts_1.InstanceObserver(_this, { onMouseLeave: 'onChildMouseLeave' });
|
|
77
77
|
_this.contextValue = {
|
|
78
78
|
optionsStore: _this.optionsStore,
|
|
@@ -195,7 +195,7 @@ var Map = /** @class */ (function (_super) {
|
|
|
195
195
|
Map.prototype.trigger = function (name, e) {
|
|
196
196
|
var alias = name === 'click' ? 'mapClick' : name;
|
|
197
197
|
var target = this;
|
|
198
|
-
var eventObject = map_event_builder_1.create(alias, e, target);
|
|
198
|
+
var eventObject = (0, map_event_builder_1.create)(alias, e, target);
|
|
199
199
|
var handler = 'on' + alias.charAt(0).toUpperCase() + alias.slice(1);
|
|
200
200
|
var observers = this.observersStore.getState();
|
|
201
201
|
var isDefaultPrevented = false;
|
package/dist/npm/MapContext.d.ts
CHANGED
|
@@ -11,7 +11,7 @@ export interface CollectionConfigurationProps {
|
|
|
11
11
|
* @hidden
|
|
12
12
|
*/
|
|
13
13
|
export default class CollectionConfigurationComponent extends React.Component<CollectionConfigurationProps> {
|
|
14
|
-
static contextType: React.Context<import("../../MapContext").MapContextType>;
|
|
14
|
+
static contextType: React.Context<import("../../MapContext").MapContextType | null>;
|
|
15
15
|
optionsStore: any;
|
|
16
16
|
constructor(props: any, context: any);
|
|
17
17
|
renderChildren(child: any, index: number): React.DetailedReactHTMLElement<any, HTMLElement>;
|
|
@@ -41,7 +41,7 @@ var CollectionConfigurationComponent = /** @class */ (function (_super) {
|
|
|
41
41
|
CollectionConfigurationComponent.prototype.renderChildren = function (child, index) {
|
|
42
42
|
var children = child.props.children;
|
|
43
43
|
var _a = this.props, _mapKey = _a._mapKey, _parentStore = _a._parentStore;
|
|
44
|
-
var collectionItemProps = __assign(__assign({}, child.props), { _mapCollectionIdxKey: _mapKey
|
|
44
|
+
var collectionItemProps = __assign(__assign({}, child.props), { _mapCollectionIdxKey: "".concat(_mapKey, "_").concat(index), _parentStore: _parentStore });
|
|
45
45
|
return React.cloneElement(child, collectionItemProps, children);
|
|
46
46
|
};
|
|
47
47
|
CollectionConfigurationComponent.prototype.render = function () {
|
|
@@ -12,7 +12,7 @@ export interface ConfigurationComponentProps {
|
|
|
12
12
|
* @hidden
|
|
13
13
|
*/
|
|
14
14
|
export default class ConfigurationComponent extends React.Component<ConfigurationComponentProps> {
|
|
15
|
-
static contextType: React.Context<import("../../MapContext").MapContextType>;
|
|
15
|
+
static contextType: React.Context<import("../../MapContext").MapContextType | null>;
|
|
16
16
|
optionsStore: any;
|
|
17
17
|
childStore: any;
|
|
18
18
|
constructor(props: any, context: any);
|
|
@@ -49,7 +49,7 @@ var ConfigurationComponent = /** @class */ (function (_super) {
|
|
|
49
49
|
function ConfigurationComponent(props, context) {
|
|
50
50
|
var _this = _super.call(this, props, context) || this;
|
|
51
51
|
_this.optionsStore = context.optionsStore;
|
|
52
|
-
_this.childStore = store_1.default(reducer_1.optionsReducer);
|
|
52
|
+
_this.childStore = (0, store_1.default)(reducer_1.optionsReducer);
|
|
53
53
|
return _this;
|
|
54
54
|
}
|
|
55
55
|
ConfigurationComponent.prototype.render = function () {
|
|
@@ -29,6 +29,7 @@ var ShapeCreatedEvent = /** @class */ (function (_super) {
|
|
|
29
29
|
var _this = _super.call(this, target) || this;
|
|
30
30
|
_this.layer = e.layer;
|
|
31
31
|
_this.shape = e.shape;
|
|
32
|
+
_this.location = null;
|
|
32
33
|
if (e.shape) {
|
|
33
34
|
_this.dataItem = e.shape.dataItem;
|
|
34
35
|
_this.location = e.shape.location;
|
package/dist/npm/main.js
CHANGED
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
3
|
if (k2 === undefined) k2 = k;
|
|
4
|
-
Object.
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
5
9
|
}) : (function(o, m, k, k2) {
|
|
6
10
|
if (k2 === undefined) k2 = k;
|
|
7
11
|
o[k2] = m[k];
|
|
@@ -8,7 +8,7 @@ exports.packageMetadata = {
|
|
|
8
8
|
name: '@progress/kendo-react-map',
|
|
9
9
|
productName: 'KendoReact',
|
|
10
10
|
productCodes: ['KENDOUIREACT', 'KENDOUICOMPLETE'],
|
|
11
|
-
publishDate:
|
|
11
|
+
publishDate: 1654762831,
|
|
12
12
|
version: '',
|
|
13
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'
|
|
14
14
|
};
|
|
@@ -1,8 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __spreadArray = (this && this.__spreadArray) || function (to, from) {
|
|
3
|
-
for (var i = 0,
|
|
4
|
-
|
|
5
|
-
|
|
2
|
+
var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
|
|
3
|
+
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
4
|
+
if (ar || !(i in from)) {
|
|
5
|
+
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
|
|
6
|
+
ar[i] = from[i];
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
return to.concat(ar || Array.prototype.slice.call(from));
|
|
6
10
|
};
|
|
7
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
12
|
exports.observersReducer = exports.optionsReducer = void 0;
|
|
@@ -28,7 +32,7 @@ var observersReducer = function (currentState, action) {
|
|
|
28
32
|
if (action.type) {
|
|
29
33
|
switch (action.type) {
|
|
30
34
|
case 'add':
|
|
31
|
-
return __spreadArray(__spreadArray([], currentState), [action.payload]);
|
|
35
|
+
return __spreadArray(__spreadArray([], currentState, true), [action.payload], false);
|
|
32
36
|
case 'remove':
|
|
33
37
|
return currentState.filter(function (element) { return element !== action.payload; });
|
|
34
38
|
default:
|
|
@@ -1 +1 @@
|
|
|
1
|
-
System.register("@progress/kendo-react-map",["@progress/kendo-charts","@progress/kendo-react-common","prop-types","react"],function(e,t){var n={},i={},a={},c={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(c,"__esModule",{value:!0}),{setters:[function(t){Object.keys(t).forEach(function(e){n[e]=t[e]})},function(t){Object.keys(t).forEach(function(e){i[e]=t[e]})},function(t){Object.keys(t).forEach(function(e){a[e]=t[e]})},function(t){Object.keys(t).forEach(function(e){c[e]=t[e]})}],execute:function(){e((()=>{"use strict";var r={697:function(e,t,n){var r,o,i=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),a=this&&this.__rest||function(e,t){var n={};for(o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n},c=(Object.defineProperty(t,"__esModule",{value:!0}),t.Map=void 0,n(954)),s=n(895),p=n(777),u=n(194),l=n(113),f=n(600),y=(n(410),n(636)),v=n(811),d=n(363),n=(o=c.Component,i(h,o),Object.defineProperty(h.prototype,"element",{get:function(){return this._element},enumerable:!1,configurable:!0}),h.prototype.componentDidMount=function(){this.instantiateCoreMap(),this.optionsUnsubscriber=this.optionsStore.subscribe(this.refresh.bind(this)),window.addEventListener("resize",this.onWindowResize)},h.prototype.componentWillUnmount=function(){this.optionsUnsubscriber(),null!==this.mapInstance&&(this.mapInstance.destroy(),this.mapInstance=null),window.removeEventListener("resize",this.onWindowResize)},h.prototype.componentDidUpdate=function(e){var t=this.props,n=(t.dir,t.children,a(t,["dir","children"]));null!==this.mapInstance&&(Object.entries(e).filter(function(e){return"dir"!==e[0]&&"children"!==e[0]}).some(function(e){var t=e[0],e=e[1];return!(n.hasOwnProperty(t)&&n[t]===e)})&&this.refresh(),e.dir)},h.prototype.render=function(){var t=this,e=this.props,n=e.style,r=e.className,e=e.children,n=Object.assign({},void 0===n?{}:n,{position:"relative"}),r=c.createElement("div",{className:r,style:n,key:"mapElement"},c.createElement("div",{ref:function(e){return t._element=e},className:"k-map"},e));return c.createElement(y.MapContext.Provider,{value:this.contextValue},r)},h.prototype.getMapOptions=function(){var e=this.props,e={center:e.center,controls:e.controls,minZoom:e.minZoom,maxZoom:e.maxZoom,minSize:e.minSize,pannable:e.pannable,wraparound:e.wraparound,zoom:e.zoom,zoomable:e.zoomable};return Object.assign(e,this.optionsStore.getState())},h.prototype.refresh=function(){var e;null!==this.mapInstance&&(e=this.getMapOptions(),this.mapInstance.setOptions(e))},h.prototype.instantiateCoreMap=function(){var e=this.getMapOptions();this.mapInstance=new p.Map(this.element,e,{},{observer:this.mapObserver,sender:this})},h.prototype.trigger=function(e,t){for(var n="click"===e?"mapClick":e,e=u.create(n,t,this),r="on"+n.charAt(0).toUpperCase()+n.slice(1),o=this.observersStore.getState(),i=!1,a=0;a<o.length;a++)o[a].trigger(n,t)&&(i=!0);return!1===i&&e&&this.props.hasOwnProperty(r)?(this.props[r].call(void 0,e),e.isDefaultPrevented&&e.isDefaultPrevented()):i},h.prototype.requiresHandlers=function(e){for(var t=0;t<e.length;t++){var n=e[t],n="on"+n.charAt(0).toUpperCase()+n.slice(1);if(this.props.hasOwnProperty(n))return!0}return!1},h.propTypes={dir:s.string},h.defaultProps={},h);function h(e){var t=o.call(this,e)||this;return t.mapInstance=null,t._element=null,t.optionsStore={},t.optionsUnsubscriber=Function.prototype,t.observersStore={},t.onRender=function(e){null!==t.mapInstance&&t.trigger("render",e)},t.onWindowResize=function(){t.mapInstance},v.validatePackage(d.packageMetadata),t.optionsStore=l.default(f.optionsReducer),t.observersStore=l.default(f.observersReducer),t.childrenObserver=new p.InstanceObserver(t,{onMouseLeave:"onChildMouseLeave"}),t.contextValue={optionsStore:t.optionsStore,observersStore:t.observersStore,childrenObserver:t.childrenObserver},t.mapObserver=new p.InstanceObserver(t,{}),t}t.Map=n},636:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.MapContext=void 0;n=n(954);t.MapContext=n.createContext(null),t.MapContext.displayName="MapContext"},894:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ZoomStartEvent=t.ZoomEndEvent=t.ShapeMouseLeaveEvent=t.ShapeMouseEnterEvent=t.ShapeFeatureCreatedEvent=t.ShapeCreatedEvent=t.ShapeClickEvent=t.ResetEvent=t.PanEvent=t.PanEndEvent=t.MarkerCreatedEvent=t.MarkerClickEvent=t.MarkerActivateEvent=t.MapClickEvent=t.BeforeResetEvent=void 0;var r=n(662),o=(Object.defineProperty(t,"BeforeResetEvent",{enumerable:!0,get:function(){return r.BeforeResetEvent}}),n(921)),i=(Object.defineProperty(t,"MapClickEvent",{enumerable:!0,get:function(){return o.MapClickEvent}}),n(606)),a=(Object.defineProperty(t,"MarkerActivateEvent",{enumerable:!0,get:function(){return i.MarkerActivateEvent}}),n(236)),c=(Object.defineProperty(t,"MarkerClickEvent",{enumerable:!0,get:function(){return a.MarkerClickEvent}}),n(904)),s=(Object.defineProperty(t,"MarkerCreatedEvent",{enumerable:!0,get:function(){return c.MarkerCreatedEvent}}),n(982)),p=(Object.defineProperty(t,"PanEndEvent",{enumerable:!0,get:function(){return s.PanEndEvent}}),n(719)),u=(Object.defineProperty(t,"PanEvent",{enumerable:!0,get:function(){return p.PanEvent}}),n(843)),l=(Object.defineProperty(t,"ResetEvent",{enumerable:!0,get:function(){return u.ResetEvent}}),n(139)),f=(Object.defineProperty(t,"ShapeClickEvent",{enumerable:!0,get:function(){return l.ShapeClickEvent}}),n(861)),y=(Object.defineProperty(t,"ShapeCreatedEvent",{enumerable:!0,get:function(){return f.ShapeCreatedEvent}}),n(737)),v=(Object.defineProperty(t,"ShapeFeatureCreatedEvent",{enumerable:!0,get:function(){return y.ShapeFeatureCreatedEvent}}),n(695)),d=(Object.defineProperty(t,"ShapeMouseEnterEvent",{enumerable:!0,get:function(){return v.ShapeMouseEnterEvent}}),n(773)),h=(Object.defineProperty(t,"ShapeMouseLeaveEvent",{enumerable:!0,get:function(){return d.ShapeMouseLeaveEvent}}),n(706)),_=(Object.defineProperty(t,"ZoomEndEvent",{enumerable:!0,get:function(){return h.ZoomEndEvent}}),n(476));Object.defineProperty(t,"ZoomStartEvent",{enumerable:!0,get:function(){return _.ZoomStartEvent}})},104:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.Extent=t.Location=void 0;var r=n(777);Object.defineProperty(t,"Location",{enumerable:!0,get:function(){return r.Location}}),Object.defineProperty(t,"Extent",{enumerable:!0,get:function(){return r.Extent}})},752:function(e,t,n){function r(e){return i.createElement(a.default,o({type:"bubble"},e))}var o=this&&this.__assign||function(){return(o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},i=(Object.defineProperty(t,"__esModule",{value:!0}),t.MapBubbleLayer=void 0,n(954)),a=n(96);(t.MapBubbleLayer=r).displayName="MapBubbleLayer"},515:function(e,t,n){function r(e){return i.createElement(c.default,o({},e,{_mapKey:"layers"}))}var o=this&&this.__assign||function(){return(o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},i=(Object.defineProperty(t,"__esModule",{value:!0}),t.MapLayers=void 0,n(954)),a=n(895),c=n(958);(t.MapLayers=r).propTypes={children:a.array}},625:function(e,t,n){function r(e){return i.createElement(a.default,o({type:"marker"},e))}var o=this&&this.__assign||function(){return(o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},i=(Object.defineProperty(t,"__esModule",{value:!0}),t.MapMarkerLayer=void 0,n(954)),a=n(96);(t.MapMarkerLayer=r).displayName="MapMarkerLayer"},286:function(e,t,n){function r(e){return i.createElement(a.default,o({type:"shape"},e))}var o=this&&this.__assign||function(){return(o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},i=(Object.defineProperty(t,"__esModule",{value:!0}),t.MapShapeLayer=void 0,n(954)),a=n(96);(t.MapShapeLayer=r).displayName="MapShapeLayer"},641:function(e,t,n){function r(e){return i.createElement(a.default,o({type:"tile"},e))}var o=this&&this.__assign||function(){return(o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},i=(Object.defineProperty(t,"__esModule",{value:!0}),t.MapTileLayer=void 0,n(954)),a=n(96);(t.MapTileLayer=r).displayName="MapTileLayer"},958:function(e,t,n){var r,o,i=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),a=this&&this.__assign||function(){return(a=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},c=(Object.defineProperty(t,"__esModule",{value:!0}),n(954)),n=n(636),i=(o=c.Component,i(s,o),s.prototype.renderChildren=function(e,t){var n=e.props.children,r=this.props,o=r._mapKey,r=r._parentStore,o=a(a({},e.props),{_mapCollectionIdxKey:o+"_"+t,_parentStore:r});return c.cloneElement(e,o,n)},s.prototype.render=function(){var n=this,e=this.props,t=e._mapKey,r=e._parentStore,e=e.children;return(r||this.optionsStore).dispatch({mapKey:t,payload:[]}),c.Children.map(e,function(e,t){return c.isValidElement(e)?n.renderChildren(e,t):e})},s.contextType=n.MapContext,s);function s(e,t){e=o.call(this,e,t)||this;return e.optionsStore=t.optionsStore,e}t.default=i},96:function(e,t,n){var r,o,i=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),a=this&&this.__assign||function(){return(a=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},c=this&&this.__rest||function(e,t){var n={};for(o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n},s=(Object.defineProperty(t,"__esModule",{value:!0}),n(954)),p=n(113),u=n(600),n=n(636),i=(o=s.Component,i(l,o),l.prototype.render=function(){var t=this,e=this.props.children;return void 0!==e?s.Children.map(e,function(e){return s.isValidElement(e)?t.renderChildren(e):e}):null},l.prototype.componentDidMount=function(){this.dispatch()},l.prototype.componentDidUpdate=function(){this.dispatch()},l.prototype.dispatch=function(){var e=this.props,t=e._mapKey,n=e._mapCollectionIdxKey,r=e._parentStore,e=(e.children,c(e,["_mapKey","_mapCollectionIdxKey","_parentStore","children"]));(r||this.optionsStore).dispatch({mapKey:t,mapCollectionIdxKey:n,payload:Object.assign({},e,this.childStore.getState())})},l.prototype.renderChildren=function(e){var t=e.props.children,n=a(a({},e.props),{_parentStore:this.childStore});return s.cloneElement(e,n,t)},l.contextType=n.MapContext,l);function l(e,t){e=o.call(this,e,t)||this;return e.optionsStore=t.optionsStore,e.childStore=p.default(u.optionsReducer),e}t.default=i},388:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.MapMarkerLayer=t.MapBubbleLayer=t.MapTileLayer=t.MapShapeLayer=t.MapLayers=void 0;var r=n(515),o=(Object.defineProperty(t,"MapLayers",{enumerable:!0,get:function(){return r.MapLayers}}),n(286)),i=(Object.defineProperty(t,"MapShapeLayer",{enumerable:!0,get:function(){return o.MapShapeLayer}}),n(641)),a=(Object.defineProperty(t,"MapTileLayer",{enumerable:!0,get:function(){return i.MapTileLayer}}),n(752)),c=(Object.defineProperty(t,"MapBubbleLayer",{enumerable:!0,get:function(){return a.MapBubbleLayer}}),n(625));Object.defineProperty(t,"MapMarkerLayer",{enumerable:!0,get:function(){return c.MapMarkerLayer}})},410:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});var t=n(777),n=t.DateCategoryAxis.prototype.options.labels.dateFormats,t=t.DateValueAxis.prototype.options.labels.dateFormats,r={milliseconds:"HH:mm:ss.SSS",seconds:{time:"medium"},minutes:{time:"short"},hours:{time:"short"},days:{skeleton:"Md"},weeks:{skeleton:"Md"},months:{skeleton:"yyMMM"},years:{skeleton:"y"}};Object.assign(n,r),Object.assign(t,r)},874:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.BaseEvent=void 0,t.BaseEvent=function(e){this.target=e}},662:function(e,t,n){var r,o,i=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),n=(Object.defineProperty(t,"__esModule",{value:!0}),t.BeforeResetEvent=void 0,o=n(874).BaseEvent,i(a,o),a);function a(e,t){return o.call(this,t)||this}t.BeforeResetEvent=n},921:function(e,t,n){var r,o,i=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),n=(Object.defineProperty(t,"__esModule",{value:!0}),t.MapClickEvent=void 0,o=n(874).BaseEvent,i(a,o),a);function a(e,t){t=o.call(this,t)||this;return t.location=e.location,t.originalEvent=e.originalEvent,t}t.MapClickEvent=n},194:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.create=void 0;var n=n(894),r={beforeReset:n.BeforeResetEvent,mapClick:n.MapClickEvent,markerActivate:n.MarkerActivateEvent,markerClick:n.MarkerClickEvent,markerCreated:n.MarkerCreatedEvent,panEnd:n.PanEndEvent,pan:n.PanEvent,reset:n.ResetEvent,shapeClick:n.ShapeClickEvent,shapeCreated:n.ShapeCreatedEvent,shapeFeatureCreated:n.ShapeFeatureCreatedEvent,shapeMouseEnter:n.ShapeMouseEnterEvent,shapeMouseLeave:n.ShapeMouseLeaveEvent,zoomEnd:n.ZoomEndEvent,zoomStart:n.ZoomStartEvent};t.create=function(e,t,n){if(r[e])return new r[e](t,n)}},606:function(e,t,n){var r,o,i=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),n=(Object.defineProperty(t,"__esModule",{value:!0}),t.MarkerActivateEvent=void 0,o=n(874).BaseEvent,i(a,o),a);function a(e,t){t=o.call(this,t)||this;return t.marker=e.marker,t.layer=e.layer,t}t.MarkerActivateEvent=n},236:function(e,t,n){var r,o,i=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),n=(Object.defineProperty(t,"__esModule",{value:!0}),t.MarkerClickEvent=void 0,o=n(874).BaseEvent,i(a,o),a);function a(e,t){t=o.call(this,t)||this;return t.marker=e.marker,t.layer=e.layer,t}t.MarkerClickEvent=n},904:function(e,t,n){var r,o,i=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),n=(Object.defineProperty(t,"__esModule",{value:!0}),t.MarkerCreatedEvent=void 0,o=n(619).PreventableEvent,i(a,o),a);function a(e,t){t=o.call(this,t)||this;return t.marker=e.marker,t.layer=e.layer,t}t.MarkerCreatedEvent=n},982:function(e,t,n){var r,o,i=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),n=(Object.defineProperty(t,"__esModule",{value:!0}),t.PanEndEvent=void 0,o=n(874).BaseEvent,i(a,o),a);function a(e,t){t=o.call(this,t)||this;return t.origin=e.origin,t.center=e.center,t.originalEvent=e.originalEvent,t}t.PanEndEvent=n},719:function(e,t,n){var r,o,i=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),n=(Object.defineProperty(t,"__esModule",{value:!0}),t.PanEvent=void 0,o=n(874).BaseEvent,i(a,o),a);function a(e,t){t=o.call(this,t)||this;return t.origin=e.origin,t.center=e.center,t.originalEvent=e.originalEvent,t}t.PanEvent=n},619:function(e,t,n){var r,o,i=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),n=(Object.defineProperty(t,"__esModule",{value:!0}),t.PreventableEvent=void 0,o=n(874).BaseEvent,i(a,o),a.prototype.preventDefault=function(){this.prevented=!0},a.prototype.isDefaultPrevented=function(){return this.prevented},a);function a(){var e=null!==o&&o.apply(this,arguments)||this;return e.prevented=!1,e}t.PreventableEvent=n},843:function(e,t,n){var r,o,i=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),n=(Object.defineProperty(t,"__esModule",{value:!0}),t.ResetEvent=void 0,o=n(874).BaseEvent,i(a,o),a);function a(e,t){return o.call(this,t)||this}t.ResetEvent=n},139:function(e,t,n){var r,o,i=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),n=(Object.defineProperty(t,"__esModule",{value:!0}),t.ShapeClickEvent=void 0,o=n(874).BaseEvent,i(a,o),a);function a(e,t){t=o.call(this,t)||this;return t.layer=e.layer,t.shape=e.shape,t.originalEvent=e.originalEvent,t}t.ShapeClickEvent=n},861:function(e,t,n){var r,o,i=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),n=(Object.defineProperty(t,"__esModule",{value:!0}),t.ShapeCreatedEvent=void 0,o=n(874).BaseEvent,i(a,o),a);function a(e,t){t=o.call(this,t)||this;return t.layer=e.layer,t.shape=e.shape,e.shape&&(t.dataItem=e.shape.dataItem,t.location=e.shape.location),t}t.ShapeCreatedEvent=n},737:function(e,t,n){var r,o,i=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),n=(Object.defineProperty(t,"__esModule",{value:!0}),t.ShapeFeatureCreatedEvent=void 0,o=n(874).BaseEvent,i(a,o),a);function a(e,t){t=o.call(this,t)||this;return t.dataItem=e.dataItem,t.layer=e.layer,t.group=e.group,t.properties=e.properties,t}t.ShapeFeatureCreatedEvent=n},695:function(e,t,n){var r,o,i=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),n=(Object.defineProperty(t,"__esModule",{value:!0}),t.ShapeMouseEnterEvent=void 0,o=n(874).BaseEvent,i(a,o),a);function a(e,t){t=o.call(this,t)||this;return t.layer=e.layer,t.shape=e.shape,t.originalEvent=e.originalEvent,t}t.ShapeMouseEnterEvent=n},773:function(e,t,n){var r,o,i=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),n=(Object.defineProperty(t,"__esModule",{value:!0}),t.ShapeMouseLeaveEvent=void 0,o=n(874).BaseEvent,i(a,o),a);function a(e,t){t=o.call(this,t)||this;return t.layer=e.layer,t.shape=e.shape,t.originalEvent=e.originalEvent,t}t.ShapeMouseLeaveEvent=n},706:function(e,t,n){var r,o,i=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),n=(Object.defineProperty(t,"__esModule",{value:!0}),t.ZoomEndEvent=void 0,o=n(874).BaseEvent,i(a,o),a);function a(e,t){t=o.call(this,t)||this;return t.originalEvent=e.originalEvent,t}t.ZoomEndEvent=n},476:function(e,t,n){var r,o,i=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),n=(Object.defineProperty(t,"__esModule",{value:!0}),t.ZoomStartEvent=void 0,o=n(619).PreventableEvent,i(a,o),a);function a(e,t){t=o.call(this,t)||this;return t.originalEvent=e.originalEvent,t}t.ZoomStartEvent=n},468:function(e,t,n){var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){e[r=void 0===r?n:r]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)},i=(Object.defineProperty(t,"__esModule",{value:!0}),t.Map=void 0,n(697));Object.defineProperty(t,"Map",{enumerable:!0,get:function(){return i.Map}}),o(n(388),t),o(n(104),t),o(n(894),t)},363:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.packageMetadata=void 0,t.packageMetadata={name:"@progress/kendo-react-map",productName:"KendoReact",productCodes:["KENDOUIREACT","KENDOUICOMPLETE"],publishDate:1653649061,version:"",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"}},600:function(e,t){var n=this&&this.__spreadArray||function(e,t){for(var n=0,r=t.length,o=e.length;n<r;n++,o++)e[o]=t[n];return e},r=(Object.defineProperty(t,"__esModule",{value:!0}),t.observersReducer=t.optionsReducer=void 0,t.optionsReducer=function(e,t){return t.mapCollectionIdxKey?r.collectionConfigurationItem(e,t):t.mapKey?r.configurationItem(e,t):{}},t.observersReducer=function(e,t){if(!t.type)return[];switch(t.type){case"add":return n(n([],e),[t.payload]);case"remove":return e.filter(function(e){return e!==t.payload});default:return e}},{configurationItem:function(e,t){return Object.assign(e,((e={})[t.mapKey]=t.payload,e))},collectionConfigurationItem:function(e,n){var r=!1,t=n.mapCollectionIdxKey.split("_"),o=t[0],i=t[1],t=e[o].map(function(e,t){return parseInt(i,10)===t?(r=!0,n.payload):e});return!1===r&&t.splice(parseInt(i,10),0,n.payload),Object.assign(e,((e={})[o]=t,e))},themeItem:function(e,t){for(var n={},e=Object.assign(n,e),t=t.payload,r=t.field,t=t.value,o=r.split("."),i=o.shift();0<o.length;)n=n[i]=n[i]||{},i=o.shift();return n[i]=t,e}})},113:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});var o=n(811);t.default=function(t){function e(e){n=t(n,e),o.canUseDOM&&r.forEach(function(e){return e()})}var n,r=[];return e({}),{getState:function(){return n},dispatch:e,subscribe:function(t){return r.push(t),function(){return r=r.filter(function(e){return e!==t})}}}}},777:e=>{e.exports=n},811:e=>{e.exports=i},895:e=>{e.exports=a},954:e=>{e.exports=c}},o={};return function e(t){var n=o[t];if(void 0!==n)return n.exports;n=o[t]={exports:{}};return r[t].call(n.exports,n,n.exports,e),n.exports}(468)})())}}});
|
|
1
|
+
System.register("@progress/kendo-react-map",["@progress/kendo-charts","@progress/kendo-react-common","prop-types","react"],function(e,t){var n={},i={},a={},c={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(c,"__esModule",{value:!0}),{setters:[function(t){Object.keys(t).forEach(function(e){n[e]=t[e]})},function(t){Object.keys(t).forEach(function(e){i[e]=t[e]})},function(t){Object.keys(t).forEach(function(e){a[e]=t[e]})},function(t){Object.keys(t).forEach(function(e){c[e]=t[e]})}],execute:function(){var r,o;e((r={697:function(e,t,n){var r,o,i=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),a=this&&this.__rest||function(e,t){var n={};for(o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n},c=(Object.defineProperty(t,"__esModule",{value:!0}),t.Map=void 0,n(954)),s=n(895),p=n(777),u=n(194),l=n(113),f=n(600),y=(n(410),n(636)),v=n(811),d=n(363),n=(o=c.Component,i(h,o),Object.defineProperty(h.prototype,"element",{get:function(){return this._element},enumerable:!1,configurable:!0}),h.prototype.componentDidMount=function(){this.instantiateCoreMap(),this.optionsUnsubscriber=this.optionsStore.subscribe(this.refresh.bind(this)),window.addEventListener("resize",this.onWindowResize)},h.prototype.componentWillUnmount=function(){this.optionsUnsubscriber(),null!==this.mapInstance&&(this.mapInstance.destroy(),this.mapInstance=null),window.removeEventListener("resize",this.onWindowResize)},h.prototype.componentDidUpdate=function(e){var t=this.props,n=(t.dir,t.children,a(t,["dir","children"]));null!==this.mapInstance&&(Object.entries(e).filter(function(e){return"dir"!==e[0]&&"children"!==e[0]}).some(function(e){var t=e[0],e=e[1];return!(n.hasOwnProperty(t)&&n[t]===e)})&&this.refresh(),e.dir)},h.prototype.render=function(){var t=this,e=this.props,n=e.style,r=e.className,e=e.children,n=Object.assign({},void 0===n?{}:n,{position:"relative"}),r=c.createElement("div",{className:r,style:n,key:"mapElement"},c.createElement("div",{ref:function(e){return t._element=e},className:"k-map"},e));return c.createElement(y.MapContext.Provider,{value:this.contextValue},r)},h.prototype.getMapOptions=function(){var e=this.props,e={center:e.center,controls:e.controls,minZoom:e.minZoom,maxZoom:e.maxZoom,minSize:e.minSize,pannable:e.pannable,wraparound:e.wraparound,zoom:e.zoom,zoomable:e.zoomable};return Object.assign(e,this.optionsStore.getState())},h.prototype.refresh=function(){var e;null!==this.mapInstance&&(e=this.getMapOptions(),this.mapInstance.setOptions(e))},h.prototype.instantiateCoreMap=function(){var e=this.getMapOptions();this.mapInstance=new p.Map(this.element,e,{},{observer:this.mapObserver,sender:this})},h.prototype.trigger=function(e,t){for(var n="click"===e?"mapClick":e,e=(0,u.create)(n,t,this),r="on"+n.charAt(0).toUpperCase()+n.slice(1),o=this.observersStore.getState(),i=!1,a=0;a<o.length;a++)o[a].trigger(n,t)&&(i=!0);return!1===i&&e&&this.props.hasOwnProperty(r)?(this.props[r].call(void 0,e),e.isDefaultPrevented&&e.isDefaultPrevented()):i},h.prototype.requiresHandlers=function(e){for(var t=0;t<e.length;t++){var n=e[t],n="on"+n.charAt(0).toUpperCase()+n.slice(1);if(this.props.hasOwnProperty(n))return!0}return!1},h.propTypes={dir:s.string},h.defaultProps={},h);function h(e){var t=o.call(this,e)||this;return t.mapInstance=null,t._element=null,t.optionsStore={},t.optionsUnsubscriber=Function.prototype,t.observersStore={},t.onRender=function(e){null!==t.mapInstance&&t.trigger("render",e)},t.onWindowResize=function(){t.mapInstance},(0,v.validatePackage)(d.packageMetadata),t.optionsStore=(0,l.default)(f.optionsReducer),t.observersStore=(0,l.default)(f.observersReducer),t.childrenObserver=new p.InstanceObserver(t,{onMouseLeave:"onChildMouseLeave"}),t.contextValue={optionsStore:t.optionsStore,observersStore:t.observersStore,childrenObserver:t.childrenObserver},t.mapObserver=new p.InstanceObserver(t,{}),t}t.Map=n},636:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.MapContext=void 0;n=n(954);t.MapContext=n.createContext(null),t.MapContext.displayName="MapContext"},894:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ZoomStartEvent=t.ZoomEndEvent=t.ShapeMouseLeaveEvent=t.ShapeMouseEnterEvent=t.ShapeFeatureCreatedEvent=t.ShapeCreatedEvent=t.ShapeClickEvent=t.ResetEvent=t.PanEvent=t.PanEndEvent=t.MarkerCreatedEvent=t.MarkerClickEvent=t.MarkerActivateEvent=t.MapClickEvent=t.BeforeResetEvent=void 0;var r=n(662),o=(Object.defineProperty(t,"BeforeResetEvent",{enumerable:!0,get:function(){return r.BeforeResetEvent}}),n(921)),i=(Object.defineProperty(t,"MapClickEvent",{enumerable:!0,get:function(){return o.MapClickEvent}}),n(606)),a=(Object.defineProperty(t,"MarkerActivateEvent",{enumerable:!0,get:function(){return i.MarkerActivateEvent}}),n(236)),c=(Object.defineProperty(t,"MarkerClickEvent",{enumerable:!0,get:function(){return a.MarkerClickEvent}}),n(904)),s=(Object.defineProperty(t,"MarkerCreatedEvent",{enumerable:!0,get:function(){return c.MarkerCreatedEvent}}),n(982)),p=(Object.defineProperty(t,"PanEndEvent",{enumerable:!0,get:function(){return s.PanEndEvent}}),n(719)),u=(Object.defineProperty(t,"PanEvent",{enumerable:!0,get:function(){return p.PanEvent}}),n(843)),l=(Object.defineProperty(t,"ResetEvent",{enumerable:!0,get:function(){return u.ResetEvent}}),n(139)),f=(Object.defineProperty(t,"ShapeClickEvent",{enumerable:!0,get:function(){return l.ShapeClickEvent}}),n(861)),y=(Object.defineProperty(t,"ShapeCreatedEvent",{enumerable:!0,get:function(){return f.ShapeCreatedEvent}}),n(737)),v=(Object.defineProperty(t,"ShapeFeatureCreatedEvent",{enumerable:!0,get:function(){return y.ShapeFeatureCreatedEvent}}),n(695)),d=(Object.defineProperty(t,"ShapeMouseEnterEvent",{enumerable:!0,get:function(){return v.ShapeMouseEnterEvent}}),n(773)),h=(Object.defineProperty(t,"ShapeMouseLeaveEvent",{enumerable:!0,get:function(){return d.ShapeMouseLeaveEvent}}),n(706)),_=(Object.defineProperty(t,"ZoomEndEvent",{enumerable:!0,get:function(){return h.ZoomEndEvent}}),n(476));Object.defineProperty(t,"ZoomStartEvent",{enumerable:!0,get:function(){return _.ZoomStartEvent}})},104:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.Extent=t.Location=void 0;var r=n(777);Object.defineProperty(t,"Location",{enumerable:!0,get:function(){return r.Location}}),Object.defineProperty(t,"Extent",{enumerable:!0,get:function(){return r.Extent}})},752:function(e,t,n){function r(e){return i.createElement(a.default,o({type:"bubble"},e))}var o=this&&this.__assign||function(){return(o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},i=(Object.defineProperty(t,"__esModule",{value:!0}),t.MapBubbleLayer=void 0,n(954)),a=n(96);(t.MapBubbleLayer=r).displayName="MapBubbleLayer"},515:function(e,t,n){function r(e){return i.createElement(c.default,o({},e,{_mapKey:"layers"}))}var o=this&&this.__assign||function(){return(o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},i=(Object.defineProperty(t,"__esModule",{value:!0}),t.MapLayers=void 0,n(954)),a=n(895),c=n(958);(t.MapLayers=r).propTypes={children:a.array}},625:function(e,t,n){function r(e){return i.createElement(a.default,o({type:"marker"},e))}var o=this&&this.__assign||function(){return(o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},i=(Object.defineProperty(t,"__esModule",{value:!0}),t.MapMarkerLayer=void 0,n(954)),a=n(96);(t.MapMarkerLayer=r).displayName="MapMarkerLayer"},286:function(e,t,n){function r(e){return i.createElement(a.default,o({type:"shape"},e))}var o=this&&this.__assign||function(){return(o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},i=(Object.defineProperty(t,"__esModule",{value:!0}),t.MapShapeLayer=void 0,n(954)),a=n(96);(t.MapShapeLayer=r).displayName="MapShapeLayer"},641:function(e,t,n){function r(e){return i.createElement(a.default,o({type:"tile"},e))}var o=this&&this.__assign||function(){return(o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},i=(Object.defineProperty(t,"__esModule",{value:!0}),t.MapTileLayer=void 0,n(954)),a=n(96);(t.MapTileLayer=r).displayName="MapTileLayer"},958:function(e,t,n){var r,o,i=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),a=this&&this.__assign||function(){return(a=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},c=(Object.defineProperty(t,"__esModule",{value:!0}),n(954)),n=n(636),i=(o=c.Component,i(s,o),s.prototype.renderChildren=function(e,t){var n=e.props.children,r=this.props,o=r._mapKey,r=r._parentStore,o=a(a({},e.props),{_mapCollectionIdxKey:"".concat(o,"_").concat(t),_parentStore:r});return c.cloneElement(e,o,n)},s.prototype.render=function(){var n=this,e=this.props,t=e._mapKey,r=e._parentStore,e=e.children;return(r||this.optionsStore).dispatch({mapKey:t,payload:[]}),c.Children.map(e,function(e,t){return c.isValidElement(e)?n.renderChildren(e,t):e})},s.contextType=n.MapContext,s);function s(e,t){e=o.call(this,e,t)||this;return e.optionsStore=t.optionsStore,e}t.default=i},96:function(e,t,n){var r,o,i=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),a=this&&this.__assign||function(){return(a=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},c=this&&this.__rest||function(e,t){var n={};for(o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n},s=(Object.defineProperty(t,"__esModule",{value:!0}),n(954)),p=n(113),u=n(600),n=n(636),i=(o=s.Component,i(l,o),l.prototype.render=function(){var t=this,e=this.props.children;return void 0!==e?s.Children.map(e,function(e){return s.isValidElement(e)?t.renderChildren(e):e}):null},l.prototype.componentDidMount=function(){this.dispatch()},l.prototype.componentDidUpdate=function(){this.dispatch()},l.prototype.dispatch=function(){var e=this.props,t=e._mapKey,n=e._mapCollectionIdxKey,r=e._parentStore,e=(e.children,c(e,["_mapKey","_mapCollectionIdxKey","_parentStore","children"]));(r||this.optionsStore).dispatch({mapKey:t,mapCollectionIdxKey:n,payload:Object.assign({},e,this.childStore.getState())})},l.prototype.renderChildren=function(e){var t=e.props.children,n=a(a({},e.props),{_parentStore:this.childStore});return s.cloneElement(e,n,t)},l.contextType=n.MapContext,l);function l(e,t){e=o.call(this,e,t)||this;return e.optionsStore=t.optionsStore,e.childStore=(0,p.default)(u.optionsReducer),e}t.default=i},388:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.MapMarkerLayer=t.MapBubbleLayer=t.MapTileLayer=t.MapShapeLayer=t.MapLayers=void 0;var r=n(515),o=(Object.defineProperty(t,"MapLayers",{enumerable:!0,get:function(){return r.MapLayers}}),n(286)),i=(Object.defineProperty(t,"MapShapeLayer",{enumerable:!0,get:function(){return o.MapShapeLayer}}),n(641)),a=(Object.defineProperty(t,"MapTileLayer",{enumerable:!0,get:function(){return i.MapTileLayer}}),n(752)),c=(Object.defineProperty(t,"MapBubbleLayer",{enumerable:!0,get:function(){return a.MapBubbleLayer}}),n(625));Object.defineProperty(t,"MapMarkerLayer",{enumerable:!0,get:function(){return c.MapMarkerLayer}})},410:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});var t=n(777),n=t.DateCategoryAxis.prototype.options.labels.dateFormats,t=t.DateValueAxis.prototype.options.labels.dateFormats,r={milliseconds:"HH:mm:ss.SSS",seconds:{time:"medium"},minutes:{time:"short"},hours:{time:"short"},days:{skeleton:"Md"},weeks:{skeleton:"Md"},months:{skeleton:"yyMMM"},years:{skeleton:"y"}};Object.assign(n,r),Object.assign(t,r)},874:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.BaseEvent=void 0,t.BaseEvent=function(e){this.target=e}},662:function(e,t,n){var r,o,i=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),n=(Object.defineProperty(t,"__esModule",{value:!0}),t.BeforeResetEvent=void 0,o=n(874).BaseEvent,i(a,o),a);function a(e,t){return o.call(this,t)||this}t.BeforeResetEvent=n},921:function(e,t,n){var r,o,i=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),n=(Object.defineProperty(t,"__esModule",{value:!0}),t.MapClickEvent=void 0,o=n(874).BaseEvent,i(a,o),a);function a(e,t){t=o.call(this,t)||this;return t.location=e.location,t.originalEvent=e.originalEvent,t}t.MapClickEvent=n},194:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.create=void 0;var n=n(894),r={beforeReset:n.BeforeResetEvent,mapClick:n.MapClickEvent,markerActivate:n.MarkerActivateEvent,markerClick:n.MarkerClickEvent,markerCreated:n.MarkerCreatedEvent,panEnd:n.PanEndEvent,pan:n.PanEvent,reset:n.ResetEvent,shapeClick:n.ShapeClickEvent,shapeCreated:n.ShapeCreatedEvent,shapeFeatureCreated:n.ShapeFeatureCreatedEvent,shapeMouseEnter:n.ShapeMouseEnterEvent,shapeMouseLeave:n.ShapeMouseLeaveEvent,zoomEnd:n.ZoomEndEvent,zoomStart:n.ZoomStartEvent};t.create=function(e,t,n){if(r[e])return new r[e](t,n)}},606:function(e,t,n){var r,o,i=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),n=(Object.defineProperty(t,"__esModule",{value:!0}),t.MarkerActivateEvent=void 0,o=n(874).BaseEvent,i(a,o),a);function a(e,t){t=o.call(this,t)||this;return t.marker=e.marker,t.layer=e.layer,t}t.MarkerActivateEvent=n},236:function(e,t,n){var r,o,i=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),n=(Object.defineProperty(t,"__esModule",{value:!0}),t.MarkerClickEvent=void 0,o=n(874).BaseEvent,i(a,o),a);function a(e,t){t=o.call(this,t)||this;return t.marker=e.marker,t.layer=e.layer,t}t.MarkerClickEvent=n},904:function(e,t,n){var r,o,i=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),n=(Object.defineProperty(t,"__esModule",{value:!0}),t.MarkerCreatedEvent=void 0,o=n(619).PreventableEvent,i(a,o),a);function a(e,t){t=o.call(this,t)||this;return t.marker=e.marker,t.layer=e.layer,t}t.MarkerCreatedEvent=n},982:function(e,t,n){var r,o,i=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),n=(Object.defineProperty(t,"__esModule",{value:!0}),t.PanEndEvent=void 0,o=n(874).BaseEvent,i(a,o),a);function a(e,t){t=o.call(this,t)||this;return t.origin=e.origin,t.center=e.center,t.originalEvent=e.originalEvent,t}t.PanEndEvent=n},719:function(e,t,n){var r,o,i=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),n=(Object.defineProperty(t,"__esModule",{value:!0}),t.PanEvent=void 0,o=n(874).BaseEvent,i(a,o),a);function a(e,t){t=o.call(this,t)||this;return t.origin=e.origin,t.center=e.center,t.originalEvent=e.originalEvent,t}t.PanEvent=n},619:function(e,t,n){var r,o,i=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),n=(Object.defineProperty(t,"__esModule",{value:!0}),t.PreventableEvent=void 0,o=n(874).BaseEvent,i(a,o),a.prototype.preventDefault=function(){this.prevented=!0},a.prototype.isDefaultPrevented=function(){return this.prevented},a);function a(){var e=null!==o&&o.apply(this,arguments)||this;return e.prevented=!1,e}t.PreventableEvent=n},843:function(e,t,n){var r,o,i=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),n=(Object.defineProperty(t,"__esModule",{value:!0}),t.ResetEvent=void 0,o=n(874).BaseEvent,i(a,o),a);function a(e,t){return o.call(this,t)||this}t.ResetEvent=n},139:function(e,t,n){var r,o,i=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),n=(Object.defineProperty(t,"__esModule",{value:!0}),t.ShapeClickEvent=void 0,o=n(874).BaseEvent,i(a,o),a);function a(e,t){t=o.call(this,t)||this;return t.layer=e.layer,t.shape=e.shape,t.originalEvent=e.originalEvent,t}t.ShapeClickEvent=n},861:function(e,t,n){var r,o,i=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),n=(Object.defineProperty(t,"__esModule",{value:!0}),t.ShapeCreatedEvent=void 0,o=n(874).BaseEvent,i(a,o),a);function a(e,t){t=o.call(this,t)||this;return t.layer=e.layer,t.shape=e.shape,t.location=null,e.shape&&(t.dataItem=e.shape.dataItem,t.location=e.shape.location),t}t.ShapeCreatedEvent=n},737:function(e,t,n){var r,o,i=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),n=(Object.defineProperty(t,"__esModule",{value:!0}),t.ShapeFeatureCreatedEvent=void 0,o=n(874).BaseEvent,i(a,o),a);function a(e,t){t=o.call(this,t)||this;return t.dataItem=e.dataItem,t.layer=e.layer,t.group=e.group,t.properties=e.properties,t}t.ShapeFeatureCreatedEvent=n},695:function(e,t,n){var r,o,i=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),n=(Object.defineProperty(t,"__esModule",{value:!0}),t.ShapeMouseEnterEvent=void 0,o=n(874).BaseEvent,i(a,o),a);function a(e,t){t=o.call(this,t)||this;return t.layer=e.layer,t.shape=e.shape,t.originalEvent=e.originalEvent,t}t.ShapeMouseEnterEvent=n},773:function(e,t,n){var r,o,i=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),n=(Object.defineProperty(t,"__esModule",{value:!0}),t.ShapeMouseLeaveEvent=void 0,o=n(874).BaseEvent,i(a,o),a);function a(e,t){t=o.call(this,t)||this;return t.layer=e.layer,t.shape=e.shape,t.originalEvent=e.originalEvent,t}t.ShapeMouseLeaveEvent=n},706:function(e,t,n){var r,o,i=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),n=(Object.defineProperty(t,"__esModule",{value:!0}),t.ZoomEndEvent=void 0,o=n(874).BaseEvent,i(a,o),a);function a(e,t){t=o.call(this,t)||this;return t.originalEvent=e.originalEvent,t}t.ZoomEndEvent=n},476:function(e,t,n){var r,o,i=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),n=(Object.defineProperty(t,"__esModule",{value:!0}),t.ZoomStartEvent=void 0,o=n(619).PreventableEvent,i(a,o),a);function a(e,t){t=o.call(this,t)||this;return t.originalEvent=e.originalEvent,t}t.ZoomStartEvent=n},468:function(e,t,n){var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){e[r=void 0===r?n:r]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)},i=(Object.defineProperty(t,"__esModule",{value:!0}),t.Map=void 0,n(697));Object.defineProperty(t,"Map",{enumerable:!0,get:function(){return i.Map}}),o(n(388),t),o(n(104),t),o(n(894),t)},363:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.packageMetadata=void 0,t.packageMetadata={name:"@progress/kendo-react-map",productName:"KendoReact",productCodes:["KENDOUIREACT","KENDOUICOMPLETE"],publishDate:1654762831,version:"",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"}},600:function(e,t){var n=this&&this.__spreadArray||function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||((r=r||Array.prototype.slice.call(t,0,o))[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))},r=(Object.defineProperty(t,"__esModule",{value:!0}),t.observersReducer=t.optionsReducer=void 0,t.optionsReducer=function(e,t){return t.mapCollectionIdxKey?r.collectionConfigurationItem(e,t):t.mapKey?r.configurationItem(e,t):{}},t.observersReducer=function(e,t){if(!t.type)return[];switch(t.type){case"add":return n(n([],e,!0),[t.payload],!1);case"remove":return e.filter(function(e){return e!==t.payload});default:return e}},{configurationItem:function(e,t){return Object.assign(e,((e={})[t.mapKey]=t.payload,e))},collectionConfigurationItem:function(e,n){var r=!1,t=n.mapCollectionIdxKey.split("_"),o=t[0],i=t[1],t=e[o].map(function(e,t){return parseInt(i,10)===t?(r=!0,n.payload):e});return!1===r&&t.splice(parseInt(i,10),0,n.payload),Object.assign(e,((e={})[o]=t,e))},themeItem:function(e,t){for(var n={},e=Object.assign(n,e),t=t.payload,r=t.field,t=t.value,o=r.split("."),i=o.shift();0<o.length;)n=n[i]=n[i]||{},i=o.shift();return n[i]=t,e}})},113:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});var o=n(811);t.default=function(t){function e(e){n=t(n,e),o.canUseDOM&&r.forEach(function(e){return e()})}var n,r=[];return e({}),{getState:function(){return n},dispatch:e,subscribe:function(t){return r.push(t),function(){return r=r.filter(function(e){return e!==t})}}}}},777:e=>{e.exports=n},811:e=>{e.exports=i},895:e=>{e.exports=a},954:e=>{e.exports=c}},o={},function e(t){var n=o[t];if(void 0!==n)return n.exports;n=o[t]={exports:{}};return r[t].call(n.exports,n,n.exports,e),n.exports}(468)))}}});
|
package/package.json
CHANGED