@progress/kendo-react-map 5.3.0-dev.202205091142 → 5.3.1-dev.202205130741
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.
|
@@ -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: 1652427546,
|
|
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
|
};
|
|
@@ -7,7 +7,7 @@ exports.packageMetadata = {
|
|
|
7
7
|
name: '@progress/kendo-react-map',
|
|
8
8
|
productName: 'KendoReact',
|
|
9
9
|
productCodes: ['KENDOUIREACT', 'KENDOUICOMPLETE'],
|
|
10
|
-
publishDate:
|
|
10
|
+
publishDate: 1652427546,
|
|
11
11
|
version: '',
|
|
12
12
|
licensingDocsUrl: 'https://www.telerik.com/kendo-react-ui/my-license/?utm_medium=product&utm_source=kendoreact&utm_campaign=kendo-ui-react-purchase-license-keys-warning'
|
|
13
13
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
System.register("@progress/kendo-react-map",["prop-types","@progress/kendo-charts","@progress/kendo-react-common","react"],function(s){var i,a,c,u;function e(t){return t.__useDefault?t.default:t}return{setters:[function(t){i=e(t)},function(t){a=e(t)},function(t){c=e(t)},function(t){u=e(t)}],execute:function(){function o(t){if(r[t])return r[t].exports;var e=r[t]={i:t,l:!1,exports:{}};return n[t].call(e.exports,e,e.exports,o),e.l=!0,e.exports}var n,r;n=[function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.BaseEvent=function(t){this.target=t}},function(t,e){t.exports=u},function(t,e,n){"use strict";var r,o,i=this&&this.__extends||(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),a=this&&this.__assign||function(){return(a=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)},s=this&&this.__rest||function(t,e){var n={};for(o in t)Object.prototype.hasOwnProperty.call(t,o)&&e.indexOf(o)<0&&(n[o]=t[o]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,o=Object.getOwnPropertySymbols(t);r<o.length;r++)e.indexOf(o[r])<0&&(n[o[r]]=t[o[r]]);return n},c=(Object.defineProperty(e,"__esModule",{value:!0}),n(1)),u=n(8),p=n(10),n=n(4),i=(o=c.Component,i(l,o),l.prototype.render=function(){var e=this,t=this.props.children;return void 0!==t?c.Children.map(t,function(t){return c.isValidElement(t)?e.renderChildren(t):t}):null},l.prototype.componentDidMount=function(){this.dispatch()},l.prototype.componentDidUpdate=function(){this.dispatch()},l.prototype.dispatch=function(){var t=this.props,e=t._mapKey,n=t._mapCollectionIdxKey,r=t._parentStore,t=(t.children,s(t,["_mapKey","_mapCollectionIdxKey","_parentStore","children"]));(r||this.optionsStore).dispatch({mapKey:e,mapCollectionIdxKey:n,payload:Object.assign({},t,this.childStore.getState())})},l.prototype.renderChildren=function(t){var e=t.props.children,n=a({},t.props,{_parentStore:this.childStore});return c.cloneElement(t,n,e)},l.contextType=n.MapContext,l);function l(t,e){t=o.call(this,t,e)||this;return t.optionsStore=e.optionsStore,t.childStore=u.default(p.optionsReducer),t}e.default=i},function(t,e){t.exports=a},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});n=n(1);e.MapContext=n.createContext(null),e.MapContext.displayName="MapContext"},function(t,e){t.exports=i},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(14),r=(e.BeforeResetEvent=r.BeforeResetEvent,n(15)),r=(e.MapClickEvent=r.MapClickEvent,n(16)),r=(e.MarkerActivateEvent=r.MarkerActivateEvent,n(17)),r=(e.MarkerClickEvent=r.MarkerClickEvent,n(18)),r=(e.MarkerCreatedEvent=r.MarkerCreatedEvent,n(19)),r=(e.PanEndEvent=r.PanEndEvent,n(20)),r=(e.PanEvent=r.PanEvent,n(21)),r=(e.ResetEvent=r.ResetEvent,n(22)),r=(e.ShapeClickEvent=r.ShapeClickEvent,n(23)),r=(e.ShapeCreatedEvent=r.ShapeCreatedEvent,n(24)),r=(e.ShapeFeatureCreatedEvent=r.ShapeFeatureCreatedEvent,n(25)),r=(e.ShapeMouseEnterEvent=r.ShapeMouseEnterEvent,n(26)),r=(e.ShapeMouseLeaveEvent=r.ShapeMouseLeaveEvent,n(27)),r=(e.ZoomEndEvent=r.ZoomEndEvent,n(28));e.ZoomStartEvent=r.ZoomStartEvent},function(t,e,n){"use strict";var r,o,i=this&&this.__extends||(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),n=(Object.defineProperty(e,"__esModule",{value:!0}),o=n(0).BaseEvent,i(a,o),a.prototype.preventDefault=function(){this.prevented=!0},a.prototype.isDefaultPrevented=function(){return this.prevented},a);function a(){var t=null!==o&&o.apply(this,arguments)||this;return t.prevented=!1,t}e.PreventableEvent=n},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=n(9);e.default=function(e){function t(t){n=e(n,t),o.canUseDOM&&r.forEach(function(t){return t()})}var n,r=[];return t({}),{getState:function(){return n},dispatch:t,subscribe:function(e){return r.push(e),function(){return r=r.filter(function(t){return t!==e})}}}}},function(t,e){t.exports=c},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.optionsReducer=function(t,e){return e.mapCollectionIdxKey?r.collectionConfigurationItem(t,e):e.mapKey?r.configurationItem(t,e):{}},e.observersReducer=function(t,e){if(!e.type)return[];switch(e.type){case"add":return t.concat([e.payload]);case"remove":return t.filter(function(t){return t!==e.payload});default:return t}};var r={configurationItem:function(t,e){return Object.assign(t,((t={})[e.mapKey]=e.payload,t))},collectionConfigurationItem:function(t,n){var r=!1,e=n.mapCollectionIdxKey.split("_"),o=e[0],i=e[1],e=t[o].map(function(t,e){return parseInt(i,10)===e?(r=!0,n.payload):t});return!1===r&&e.splice(parseInt(i,10),0,n.payload),Object.assign(t,((t={})[o]=e,t))},themeItem:function(t,e){for(var n={},t=Object.assign(n,t),e=e.payload,r=e.field,e=e.value,o=r.split("."),i=o.shift();0<o.length;)n=n[i]=n[i]||{},i=o.shift();return n[i]=e,t}}},function(t,n,e){"use strict";function r(t){for(var e in t)n.hasOwnProperty(e)||(n[e]=t[e])}Object.defineProperty(n,"__esModule",{value:!0});var o,i=e(12),a=(n.Map=i.Map,r(e(31)),r(e(38)),r(e(6)),n);for(o in a)s(o,a[o])},function(t,e,n){"use strict";var r,o,i=this&&this.__extends||(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),a=this&&this.__rest||function(t,e){var n={};for(o in t)Object.prototype.hasOwnProperty.call(t,o)&&e.indexOf(o)<0&&(n[o]=t[o]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,o=Object.getOwnPropertySymbols(t);r<o.length;r++)e.indexOf(o[r])<0&&(n[o[r]]=t[o[r]]);return n},s=(Object.defineProperty(e,"__esModule",{value:!0}),n(1)),c=n(5),u=n(3),p=n(13),l=n(8),f=n(10),_=(n(29),n(4)),y=n(9),h=n(30),n=(o=s.Component,i(d,o),Object.defineProperty(d.prototype,"element",{get:function(){return this._element},enumerable:!0,configurable:!0}),d.prototype.componentDidMount=function(){this.instantiateCoreMap(),this.optionsUnsubscriber=this.optionsStore.subscribe(this.refresh.bind(this)),window.addEventListener("resize",this.onWindowResize)},d.prototype.componentWillUnmount=function(){this.optionsUnsubscriber(),null!==this.mapInstance&&(this.mapInstance.destroy(),this.mapInstance=null),window.removeEventListener("resize",this.onWindowResize)},d.prototype.componentDidUpdate=function(t){var e=this.props,n=(e.dir,e.children,a(e,["dir","children"]));null!==this.mapInstance&&(Object.entries(t).filter(function(t){return"dir"!==t[0]&&"children"!==t[0]}).some(function(t){var e=t[0],t=t[1];return!(n.hasOwnProperty(e)&&n[e]===t)})&&this.refresh(),t.dir)},d.prototype.render=function(){var e=this,t=this.props,n=t.style,r=t.className,t=t.children,n=Object.assign({},void 0===n?{}:n,{position:"relative"}),r=s.createElement("div",{className:r,style:n,key:"mapElement"},s.createElement("div",{ref:function(t){return e._element=t},className:"k-map"},t));return s.createElement(_.MapContext.Provider,{value:this.contextValue},r)},d.prototype.getMapOptions=function(){var t=this.props,t={center:t.center,controls:t.controls,minZoom:t.minZoom,maxZoom:t.maxZoom,minSize:t.minSize,pannable:t.pannable,wraparound:t.wraparound,zoom:t.zoom,zoomable:t.zoomable};return Object.assign(t,this.optionsStore.getState())},d.prototype.refresh=function(){var t;null!==this.mapInstance&&(t=this.getMapOptions(),this.mapInstance.setOptions(t))},d.prototype.instantiateCoreMap=function(){var t=this.getMapOptions();this.mapInstance=new u.Map(this.element,t,{},{observer:this.mapObserver,sender:this})},d.prototype.trigger=function(t,e){for(var n="click"===t?"mapClick":t,t=p.create(n,e,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,e)&&(i=!0);return!1===i&&t&&this.props.hasOwnProperty(r)?(this.props[r].call(void 0,t),t.isDefaultPrevented&&t.isDefaultPrevented()):i},d.prototype.requiresHandlers=function(t){for(var e=0;e<t.length;e++){var n=t[e],n="on"+n.charAt(0).toUpperCase()+n.slice(1);if(this.props.hasOwnProperty(n))return!0}return!1},d.propTypes={dir:c.string},d.defaultProps={},d);function d(t){var e=o.call(this,t)||this;return e.mapInstance=null,e._element=null,e.optionsStore={},e.optionsUnsubscriber=Function.prototype,e.observersStore={},e.onRender=function(t){null!==e.mapInstance&&e.trigger("render",t)},e.onWindowResize=function(){e.mapInstance},y.validatePackage(h.packageMetadata),e.optionsStore=l.default(f.optionsReducer),e.observersStore=l.default(f.observersReducer),e.childrenObserver=new u.InstanceObserver(e,{onMouseLeave:"onChildMouseLeave"}),e.contextValue={optionsStore:e.optionsStore,observersStore:e.observersStore,childrenObserver:e.childrenObserver},e.mapObserver=new u.InstanceObserver(e,{}),e}e.Map=n},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=n(6),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};e.create=function(t,e,n){if(r[t])return new r[t](e,n)}},function(t,e,n){"use strict";var r,o,i=this&&this.__extends||(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),n=(Object.defineProperty(e,"__esModule",{value:!0}),o=n(0).BaseEvent,i(a,o),a);function a(t,e){return o.call(this,e)||this}e.BeforeResetEvent=n},function(t,e,n){"use strict";var r,o,i=this&&this.__extends||(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),n=(Object.defineProperty(e,"__esModule",{value:!0}),o=n(0).BaseEvent,i(a,o),a);function a(t,e){e=o.call(this,e)||this;return e.location=t.location,e.originalEvent=t.originalEvent,e}e.MapClickEvent=n},function(t,e,n){"use strict";var r,o,i=this&&this.__extends||(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),n=(Object.defineProperty(e,"__esModule",{value:!0}),o=n(0).BaseEvent,i(a,o),a);function a(t,e){e=o.call(this,e)||this;return e.marker=t.marker,e.layer=t.layer,e}e.MarkerActivateEvent=n},function(t,e,n){"use strict";var r,o,i=this&&this.__extends||(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),n=(Object.defineProperty(e,"__esModule",{value:!0}),o=n(0).BaseEvent,i(a,o),a);function a(t,e){e=o.call(this,e)||this;return e.marker=t.marker,e.layer=t.layer,e}e.MarkerClickEvent=n},function(t,e,n){"use strict";var r,o,i=this&&this.__extends||(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),n=(Object.defineProperty(e,"__esModule",{value:!0}),o=n(7).PreventableEvent,i(a,o),a);function a(t,e){e=o.call(this,e)||this;return e.marker=t.marker,e.layer=t.layer,e}e.MarkerCreatedEvent=n},function(t,e,n){"use strict";var r,o,i=this&&this.__extends||(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),n=(Object.defineProperty(e,"__esModule",{value:!0}),o=n(0).BaseEvent,i(a,o),a);function a(t,e){e=o.call(this,e)||this;return e.origin=t.origin,e.center=t.center,e.originalEvent=t.originalEvent,e}e.PanEndEvent=n},function(t,e,n){"use strict";var r,o,i=this&&this.__extends||(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),n=(Object.defineProperty(e,"__esModule",{value:!0}),o=n(0).BaseEvent,i(a,o),a);function a(t,e){e=o.call(this,e)||this;return e.origin=t.origin,e.center=t.center,e.originalEvent=t.originalEvent,e}e.PanEvent=n},function(t,e,n){"use strict";var r,o,i=this&&this.__extends||(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),n=(Object.defineProperty(e,"__esModule",{value:!0}),o=n(0).BaseEvent,i(a,o),a);function a(t,e){return o.call(this,e)||this}e.ResetEvent=n},function(t,e,n){"use strict";var r,o,i=this&&this.__extends||(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),n=(Object.defineProperty(e,"__esModule",{value:!0}),o=n(0).BaseEvent,i(a,o),a);function a(t,e){e=o.call(this,e)||this;return e.layer=t.layer,e.shape=t.shape,e.originalEvent=t.originalEvent,e}e.ShapeClickEvent=n},function(t,e,n){"use strict";var r,o,i=this&&this.__extends||(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),n=(Object.defineProperty(e,"__esModule",{value:!0}),o=n(0).BaseEvent,i(a,o),a);function a(t,e){e=o.call(this,e)||this;return e.layer=t.layer,e.shape=t.shape,t.shape&&(e.dataItem=t.shape.dataItem,e.location=t.shape.location),e}e.ShapeCreatedEvent=n},function(t,e,n){"use strict";var r,o,i=this&&this.__extends||(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),n=(Object.defineProperty(e,"__esModule",{value:!0}),o=n(0).BaseEvent,i(a,o),a);function a(t,e){e=o.call(this,e)||this;return e.dataItem=t.dataItem,e.layer=t.layer,e.group=t.group,e.properties=t.properties,e}e.ShapeFeatureCreatedEvent=n},function(t,e,n){"use strict";var r,o,i=this&&this.__extends||(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),n=(Object.defineProperty(e,"__esModule",{value:!0}),o=n(0).BaseEvent,i(a,o),a);function a(t,e){e=o.call(this,e)||this;return e.layer=t.layer,e.shape=t.shape,e.originalEvent=t.originalEvent,e}e.ShapeMouseEnterEvent=n},function(t,e,n){"use strict";var r,o,i=this&&this.__extends||(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),n=(Object.defineProperty(e,"__esModule",{value:!0}),o=n(0).BaseEvent,i(a,o),a);function a(t,e){e=o.call(this,e)||this;return e.layer=t.layer,e.shape=t.shape,e.originalEvent=t.originalEvent,e}e.ShapeMouseLeaveEvent=n},function(t,e,n){"use strict";var r,o,i=this&&this.__extends||(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),n=(Object.defineProperty(e,"__esModule",{value:!0}),o=n(0).BaseEvent,i(a,o),a);function a(t,e){e=o.call(this,e)||this;return e.originalEvent=t.originalEvent,e}e.ZoomEndEvent=n},function(t,e,n){"use strict";var r,o,i=this&&this.__extends||(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),n=(Object.defineProperty(e,"__esModule",{value:!0}),o=n(7).PreventableEvent,i(a,o),a);function a(t,e){e=o.call(this,e)||this;return e.originalEvent=t.originalEvent,e}e.ZoomStartEvent=n},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var e=n(3),n=e.DateCategoryAxis.prototype.options.labels.dateFormats,e=e.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(e,r)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.packageMetadata={name:"@progress/kendo-react-map",productName:"KendoReact",productCodes:["KENDOUIREACT","KENDOUICOMPLETE"],publishDate:1652096456,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"}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(32),r=(e.MapLayers=r.default,n(34)),r=(e.MapShapeLayer=r.default,n(35)),r=(e.MapTileLayer=r.default,n(36)),r=(e.MapBubbleLayer=r.default,n(37));e.MapMarkerLayer=r.default},function(t,e,n){"use strict";function r(t){return i.createElement(s.default,o({},t,{_mapKey:"layers"}))}var o=this&&this.__assign||function(){return(o=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)},i=(Object.defineProperty(e,"__esModule",{value:!0}),n(1)),a=n(5),s=n(33);r.propTypes={children:a.array},e.default=r},function(t,e,n){"use strict";var r,o,i=this&&this.__extends||(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),a=this&&this.__assign||function(){return(a=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)},s=(Object.defineProperty(e,"__esModule",{value:!0}),n(1)),n=n(4),i=(o=s.Component,i(c,o),c.prototype.renderChildren=function(t,e){var n=t.props.children,r=this.props,o=r._mapKey,r=r._parentStore,o=a({},t.props,{_mapCollectionIdxKey:o+"_"+e,_parentStore:r});return s.cloneElement(t,o,n)},c.prototype.render=function(){var n=this,t=this.props,e=t._mapKey,r=t._parentStore,t=t.children;return(r||this.optionsStore).dispatch({mapKey:e,payload:[]}),s.Children.map(t,function(t,e){return s.isValidElement(t)?n.renderChildren(t,e):t})},c.contextType=n.MapContext,c);function c(t,e){t=o.call(this,t,e)||this;return t.optionsStore=e.optionsStore,t}e.default=i},function(t,e,n){"use strict";function r(t){return i.createElement(a.default,o({type:"shape"},t))}var o=this&&this.__assign||function(){return(o=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)},i=(Object.defineProperty(e,"__esModule",{value:!0}),n(1)),a=n(2);r.displayName="MapShapeLayer",e.default=r},function(t,e,n){"use strict";function r(t){return i.createElement(a.default,o({type:"tile"},t))}var o=this&&this.__assign||function(){return(o=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)},i=(Object.defineProperty(e,"__esModule",{value:!0}),n(1)),a=n(2);r.displayName="MapTileLayer",e.default=r},function(t,e,n){"use strict";function r(t){return i.createElement(a.default,o({type:"bubble"},t))}var o=this&&this.__assign||function(){return(o=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)},i=(Object.defineProperty(e,"__esModule",{value:!0}),n(1)),a=n(2);r.displayName="MapBubbleLayer",e.default=r},function(t,e,n){"use strict";function r(t){return i.createElement(a.default,o({type:"marker"},t))}var o=this&&this.__assign||function(){return(o=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)},i=(Object.defineProperty(e,"__esModule",{value:!0}),n(1)),a=n(2);r.displayName="MapMarkerLayer",e.default=r},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});n=n(3);e.Location=n.Location,e.Extent=n.Extent}],r={},o.m=n,o.c=r,o.d=function(t,e,n){o.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},o.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},o.t=function(e,t){if(1&t&&(e=o(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(o.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)o.d(n,r,function(t){return e[t]}.bind(null,r));return n},o.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return o.d(e,"a",e),e},o.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},o.p="",o(o.s=11)}}});
|
|
1
|
+
System.register("@progress/kendo-react-map",["react","prop-types","@progress/kendo-charts","@progress/kendo-react-common"],function(s){var i,a,c,u;function e(t){return t.__useDefault?t.default:t}return{setters:[function(t){i=e(t)},function(t){a=e(t)},function(t){c=e(t)},function(t){u=e(t)}],execute:function(){function o(t){if(r[t])return r[t].exports;var e=r[t]={i:t,l:!1,exports:{}};return n[t].call(e.exports,e,e.exports,o),e.l=!0,e.exports}var n,r;n=[function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.BaseEvent=function(t){this.target=t}},function(t,e){t.exports=i},function(t,e,n){"use strict";var r,o,i=this&&this.__extends||(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),a=this&&this.__assign||function(){return(a=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)},s=this&&this.__rest||function(t,e){var n={};for(o in t)Object.prototype.hasOwnProperty.call(t,o)&&e.indexOf(o)<0&&(n[o]=t[o]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,o=Object.getOwnPropertySymbols(t);r<o.length;r++)e.indexOf(o[r])<0&&(n[o[r]]=t[o[r]]);return n},c=(Object.defineProperty(e,"__esModule",{value:!0}),n(1)),u=n(8),p=n(10),n=n(4),i=(o=c.Component,i(l,o),l.prototype.render=function(){var e=this,t=this.props.children;return void 0!==t?c.Children.map(t,function(t){return c.isValidElement(t)?e.renderChildren(t):t}):null},l.prototype.componentDidMount=function(){this.dispatch()},l.prototype.componentDidUpdate=function(){this.dispatch()},l.prototype.dispatch=function(){var t=this.props,e=t._mapKey,n=t._mapCollectionIdxKey,r=t._parentStore,t=(t.children,s(t,["_mapKey","_mapCollectionIdxKey","_parentStore","children"]));(r||this.optionsStore).dispatch({mapKey:e,mapCollectionIdxKey:n,payload:Object.assign({},t,this.childStore.getState())})},l.prototype.renderChildren=function(t){var e=t.props.children,n=a({},t.props,{_parentStore:this.childStore});return c.cloneElement(t,n,e)},l.contextType=n.MapContext,l);function l(t,e){t=o.call(this,t,e)||this;return t.optionsStore=e.optionsStore,t.childStore=u.default(p.optionsReducer),t}e.default=i},function(t,e){t.exports=c},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});n=n(1);e.MapContext=n.createContext(null),e.MapContext.displayName="MapContext"},function(t,e){t.exports=a},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(14),r=(e.BeforeResetEvent=r.BeforeResetEvent,n(15)),r=(e.MapClickEvent=r.MapClickEvent,n(16)),r=(e.MarkerActivateEvent=r.MarkerActivateEvent,n(17)),r=(e.MarkerClickEvent=r.MarkerClickEvent,n(18)),r=(e.MarkerCreatedEvent=r.MarkerCreatedEvent,n(19)),r=(e.PanEndEvent=r.PanEndEvent,n(20)),r=(e.PanEvent=r.PanEvent,n(21)),r=(e.ResetEvent=r.ResetEvent,n(22)),r=(e.ShapeClickEvent=r.ShapeClickEvent,n(23)),r=(e.ShapeCreatedEvent=r.ShapeCreatedEvent,n(24)),r=(e.ShapeFeatureCreatedEvent=r.ShapeFeatureCreatedEvent,n(25)),r=(e.ShapeMouseEnterEvent=r.ShapeMouseEnterEvent,n(26)),r=(e.ShapeMouseLeaveEvent=r.ShapeMouseLeaveEvent,n(27)),r=(e.ZoomEndEvent=r.ZoomEndEvent,n(28));e.ZoomStartEvent=r.ZoomStartEvent},function(t,e,n){"use strict";var r,o,i=this&&this.__extends||(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),n=(Object.defineProperty(e,"__esModule",{value:!0}),o=n(0).BaseEvent,i(a,o),a.prototype.preventDefault=function(){this.prevented=!0},a.prototype.isDefaultPrevented=function(){return this.prevented},a);function a(){var t=null!==o&&o.apply(this,arguments)||this;return t.prevented=!1,t}e.PreventableEvent=n},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=n(9);e.default=function(e){function t(t){n=e(n,t),o.canUseDOM&&r.forEach(function(t){return t()})}var n,r=[];return t({}),{getState:function(){return n},dispatch:t,subscribe:function(e){return r.push(e),function(){return r=r.filter(function(t){return t!==e})}}}}},function(t,e){t.exports=u},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.optionsReducer=function(t,e){return e.mapCollectionIdxKey?r.collectionConfigurationItem(t,e):e.mapKey?r.configurationItem(t,e):{}},e.observersReducer=function(t,e){if(!e.type)return[];switch(e.type){case"add":return t.concat([e.payload]);case"remove":return t.filter(function(t){return t!==e.payload});default:return t}};var r={configurationItem:function(t,e){return Object.assign(t,((t={})[e.mapKey]=e.payload,t))},collectionConfigurationItem:function(t,n){var r=!1,e=n.mapCollectionIdxKey.split("_"),o=e[0],i=e[1],e=t[o].map(function(t,e){return parseInt(i,10)===e?(r=!0,n.payload):t});return!1===r&&e.splice(parseInt(i,10),0,n.payload),Object.assign(t,((t={})[o]=e,t))},themeItem:function(t,e){for(var n={},t=Object.assign(n,t),e=e.payload,r=e.field,e=e.value,o=r.split("."),i=o.shift();0<o.length;)n=n[i]=n[i]||{},i=o.shift();return n[i]=e,t}}},function(t,n,e){"use strict";function r(t){for(var e in t)n.hasOwnProperty(e)||(n[e]=t[e])}Object.defineProperty(n,"__esModule",{value:!0});var o,i=e(12),a=(n.Map=i.Map,r(e(31)),r(e(38)),r(e(6)),n);for(o in a)s(o,a[o])},function(t,e,n){"use strict";var r,o,i=this&&this.__extends||(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),a=this&&this.__rest||function(t,e){var n={};for(o in t)Object.prototype.hasOwnProperty.call(t,o)&&e.indexOf(o)<0&&(n[o]=t[o]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,o=Object.getOwnPropertySymbols(t);r<o.length;r++)e.indexOf(o[r])<0&&(n[o[r]]=t[o[r]]);return n},s=(Object.defineProperty(e,"__esModule",{value:!0}),n(1)),c=n(5),u=n(3),p=n(13),l=n(8),f=n(10),_=(n(29),n(4)),y=n(9),h=n(30),n=(o=s.Component,i(d,o),Object.defineProperty(d.prototype,"element",{get:function(){return this._element},enumerable:!0,configurable:!0}),d.prototype.componentDidMount=function(){this.instantiateCoreMap(),this.optionsUnsubscriber=this.optionsStore.subscribe(this.refresh.bind(this)),window.addEventListener("resize",this.onWindowResize)},d.prototype.componentWillUnmount=function(){this.optionsUnsubscriber(),null!==this.mapInstance&&(this.mapInstance.destroy(),this.mapInstance=null),window.removeEventListener("resize",this.onWindowResize)},d.prototype.componentDidUpdate=function(t){var e=this.props,n=(e.dir,e.children,a(e,["dir","children"]));null!==this.mapInstance&&(Object.entries(t).filter(function(t){return"dir"!==t[0]&&"children"!==t[0]}).some(function(t){var e=t[0],t=t[1];return!(n.hasOwnProperty(e)&&n[e]===t)})&&this.refresh(),t.dir)},d.prototype.render=function(){var e=this,t=this.props,n=t.style,r=t.className,t=t.children,n=Object.assign({},void 0===n?{}:n,{position:"relative"}),r=s.createElement("div",{className:r,style:n,key:"mapElement"},s.createElement("div",{ref:function(t){return e._element=t},className:"k-map"},t));return s.createElement(_.MapContext.Provider,{value:this.contextValue},r)},d.prototype.getMapOptions=function(){var t=this.props,t={center:t.center,controls:t.controls,minZoom:t.minZoom,maxZoom:t.maxZoom,minSize:t.minSize,pannable:t.pannable,wraparound:t.wraparound,zoom:t.zoom,zoomable:t.zoomable};return Object.assign(t,this.optionsStore.getState())},d.prototype.refresh=function(){var t;null!==this.mapInstance&&(t=this.getMapOptions(),this.mapInstance.setOptions(t))},d.prototype.instantiateCoreMap=function(){var t=this.getMapOptions();this.mapInstance=new u.Map(this.element,t,{},{observer:this.mapObserver,sender:this})},d.prototype.trigger=function(t,e){for(var n="click"===t?"mapClick":t,t=p.create(n,e,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,e)&&(i=!0);return!1===i&&t&&this.props.hasOwnProperty(r)?(this.props[r].call(void 0,t),t.isDefaultPrevented&&t.isDefaultPrevented()):i},d.prototype.requiresHandlers=function(t){for(var e=0;e<t.length;e++){var n=t[e],n="on"+n.charAt(0).toUpperCase()+n.slice(1);if(this.props.hasOwnProperty(n))return!0}return!1},d.propTypes={dir:c.string},d.defaultProps={},d);function d(t){var e=o.call(this,t)||this;return e.mapInstance=null,e._element=null,e.optionsStore={},e.optionsUnsubscriber=Function.prototype,e.observersStore={},e.onRender=function(t){null!==e.mapInstance&&e.trigger("render",t)},e.onWindowResize=function(){e.mapInstance},y.validatePackage(h.packageMetadata),e.optionsStore=l.default(f.optionsReducer),e.observersStore=l.default(f.observersReducer),e.childrenObserver=new u.InstanceObserver(e,{onMouseLeave:"onChildMouseLeave"}),e.contextValue={optionsStore:e.optionsStore,observersStore:e.observersStore,childrenObserver:e.childrenObserver},e.mapObserver=new u.InstanceObserver(e,{}),e}e.Map=n},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=n(6),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};e.create=function(t,e,n){if(r[t])return new r[t](e,n)}},function(t,e,n){"use strict";var r,o,i=this&&this.__extends||(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),n=(Object.defineProperty(e,"__esModule",{value:!0}),o=n(0).BaseEvent,i(a,o),a);function a(t,e){return o.call(this,e)||this}e.BeforeResetEvent=n},function(t,e,n){"use strict";var r,o,i=this&&this.__extends||(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),n=(Object.defineProperty(e,"__esModule",{value:!0}),o=n(0).BaseEvent,i(a,o),a);function a(t,e){e=o.call(this,e)||this;return e.location=t.location,e.originalEvent=t.originalEvent,e}e.MapClickEvent=n},function(t,e,n){"use strict";var r,o,i=this&&this.__extends||(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),n=(Object.defineProperty(e,"__esModule",{value:!0}),o=n(0).BaseEvent,i(a,o),a);function a(t,e){e=o.call(this,e)||this;return e.marker=t.marker,e.layer=t.layer,e}e.MarkerActivateEvent=n},function(t,e,n){"use strict";var r,o,i=this&&this.__extends||(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),n=(Object.defineProperty(e,"__esModule",{value:!0}),o=n(0).BaseEvent,i(a,o),a);function a(t,e){e=o.call(this,e)||this;return e.marker=t.marker,e.layer=t.layer,e}e.MarkerClickEvent=n},function(t,e,n){"use strict";var r,o,i=this&&this.__extends||(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),n=(Object.defineProperty(e,"__esModule",{value:!0}),o=n(7).PreventableEvent,i(a,o),a);function a(t,e){e=o.call(this,e)||this;return e.marker=t.marker,e.layer=t.layer,e}e.MarkerCreatedEvent=n},function(t,e,n){"use strict";var r,o,i=this&&this.__extends||(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),n=(Object.defineProperty(e,"__esModule",{value:!0}),o=n(0).BaseEvent,i(a,o),a);function a(t,e){e=o.call(this,e)||this;return e.origin=t.origin,e.center=t.center,e.originalEvent=t.originalEvent,e}e.PanEndEvent=n},function(t,e,n){"use strict";var r,o,i=this&&this.__extends||(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),n=(Object.defineProperty(e,"__esModule",{value:!0}),o=n(0).BaseEvent,i(a,o),a);function a(t,e){e=o.call(this,e)||this;return e.origin=t.origin,e.center=t.center,e.originalEvent=t.originalEvent,e}e.PanEvent=n},function(t,e,n){"use strict";var r,o,i=this&&this.__extends||(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),n=(Object.defineProperty(e,"__esModule",{value:!0}),o=n(0).BaseEvent,i(a,o),a);function a(t,e){return o.call(this,e)||this}e.ResetEvent=n},function(t,e,n){"use strict";var r,o,i=this&&this.__extends||(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),n=(Object.defineProperty(e,"__esModule",{value:!0}),o=n(0).BaseEvent,i(a,o),a);function a(t,e){e=o.call(this,e)||this;return e.layer=t.layer,e.shape=t.shape,e.originalEvent=t.originalEvent,e}e.ShapeClickEvent=n},function(t,e,n){"use strict";var r,o,i=this&&this.__extends||(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),n=(Object.defineProperty(e,"__esModule",{value:!0}),o=n(0).BaseEvent,i(a,o),a);function a(t,e){e=o.call(this,e)||this;return e.layer=t.layer,e.shape=t.shape,t.shape&&(e.dataItem=t.shape.dataItem,e.location=t.shape.location),e}e.ShapeCreatedEvent=n},function(t,e,n){"use strict";var r,o,i=this&&this.__extends||(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),n=(Object.defineProperty(e,"__esModule",{value:!0}),o=n(0).BaseEvent,i(a,o),a);function a(t,e){e=o.call(this,e)||this;return e.dataItem=t.dataItem,e.layer=t.layer,e.group=t.group,e.properties=t.properties,e}e.ShapeFeatureCreatedEvent=n},function(t,e,n){"use strict";var r,o,i=this&&this.__extends||(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),n=(Object.defineProperty(e,"__esModule",{value:!0}),o=n(0).BaseEvent,i(a,o),a);function a(t,e){e=o.call(this,e)||this;return e.layer=t.layer,e.shape=t.shape,e.originalEvent=t.originalEvent,e}e.ShapeMouseEnterEvent=n},function(t,e,n){"use strict";var r,o,i=this&&this.__extends||(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),n=(Object.defineProperty(e,"__esModule",{value:!0}),o=n(0).BaseEvent,i(a,o),a);function a(t,e){e=o.call(this,e)||this;return e.layer=t.layer,e.shape=t.shape,e.originalEvent=t.originalEvent,e}e.ShapeMouseLeaveEvent=n},function(t,e,n){"use strict";var r,o,i=this&&this.__extends||(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),n=(Object.defineProperty(e,"__esModule",{value:!0}),o=n(0).BaseEvent,i(a,o),a);function a(t,e){e=o.call(this,e)||this;return e.originalEvent=t.originalEvent,e}e.ZoomEndEvent=n},function(t,e,n){"use strict";var r,o,i=this&&this.__extends||(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),n=(Object.defineProperty(e,"__esModule",{value:!0}),o=n(7).PreventableEvent,i(a,o),a);function a(t,e){e=o.call(this,e)||this;return e.originalEvent=t.originalEvent,e}e.ZoomStartEvent=n},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var e=n(3),n=e.DateCategoryAxis.prototype.options.labels.dateFormats,e=e.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(e,r)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.packageMetadata={name:"@progress/kendo-react-map",productName:"KendoReact",productCodes:["KENDOUIREACT","KENDOUICOMPLETE"],publishDate:1652427546,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"}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(32),r=(e.MapLayers=r.default,n(34)),r=(e.MapShapeLayer=r.default,n(35)),r=(e.MapTileLayer=r.default,n(36)),r=(e.MapBubbleLayer=r.default,n(37));e.MapMarkerLayer=r.default},function(t,e,n){"use strict";function r(t){return i.createElement(s.default,o({},t,{_mapKey:"layers"}))}var o=this&&this.__assign||function(){return(o=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)},i=(Object.defineProperty(e,"__esModule",{value:!0}),n(1)),a=n(5),s=n(33);r.propTypes={children:a.array},e.default=r},function(t,e,n){"use strict";var r,o,i=this&&this.__extends||(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),a=this&&this.__assign||function(){return(a=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)},s=(Object.defineProperty(e,"__esModule",{value:!0}),n(1)),n=n(4),i=(o=s.Component,i(c,o),c.prototype.renderChildren=function(t,e){var n=t.props.children,r=this.props,o=r._mapKey,r=r._parentStore,o=a({},t.props,{_mapCollectionIdxKey:o+"_"+e,_parentStore:r});return s.cloneElement(t,o,n)},c.prototype.render=function(){var n=this,t=this.props,e=t._mapKey,r=t._parentStore,t=t.children;return(r||this.optionsStore).dispatch({mapKey:e,payload:[]}),s.Children.map(t,function(t,e){return s.isValidElement(t)?n.renderChildren(t,e):t})},c.contextType=n.MapContext,c);function c(t,e){t=o.call(this,t,e)||this;return t.optionsStore=e.optionsStore,t}e.default=i},function(t,e,n){"use strict";function r(t){return i.createElement(a.default,o({type:"shape"},t))}var o=this&&this.__assign||function(){return(o=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)},i=(Object.defineProperty(e,"__esModule",{value:!0}),n(1)),a=n(2);r.displayName="MapShapeLayer",e.default=r},function(t,e,n){"use strict";function r(t){return i.createElement(a.default,o({type:"tile"},t))}var o=this&&this.__assign||function(){return(o=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)},i=(Object.defineProperty(e,"__esModule",{value:!0}),n(1)),a=n(2);r.displayName="MapTileLayer",e.default=r},function(t,e,n){"use strict";function r(t){return i.createElement(a.default,o({type:"bubble"},t))}var o=this&&this.__assign||function(){return(o=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)},i=(Object.defineProperty(e,"__esModule",{value:!0}),n(1)),a=n(2);r.displayName="MapBubbleLayer",e.default=r},function(t,e,n){"use strict";function r(t){return i.createElement(a.default,o({type:"marker"},t))}var o=this&&this.__assign||function(){return(o=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)},i=(Object.defineProperty(e,"__esModule",{value:!0}),n(1)),a=n(2);r.displayName="MapMarkerLayer",e.default=r},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});n=n(3);e.Location=n.Location,e.Extent=n.Extent}],r={},o.m=n,o.c=r,o.d=function(t,e,n){o.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},o.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},o.t=function(e,t){if(1&t&&(e=o(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(o.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)o.d(n,r,function(t){return e[t]}.bind(null,r));return n},o.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return o.d(e,"a",e),e},o.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},o.p="",o(o.s=11)}}});
|
package/package.json
CHANGED