@progress/kendo-angular-map 0.3.2-dev.202210121019 → 0.3.3-dev.202211170809

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.
@@ -2,4 +2,4 @@
2
2
  * Copyright © 2021 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
- !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@angular/core"),require("rxjs"),require("@angular/platform-browser"),require("@progress/kendo-angular-common"),require("@progress/kendo-angular-l10n"),require("@progress/kendo-charts"),require("@progress/kendo-licensing"),require("rxjs/operators"),require("@progress/kendo-angular-popup"),require("@angular/common")):"function"==typeof define&&define.amd?define("KendoAngularMap",["exports","@angular/core","rxjs","@angular/platform-browser","@progress/kendo-angular-common","@progress/kendo-angular-l10n","@progress/kendo-charts","@progress/kendo-licensing","rxjs/operators","@progress/kendo-angular-popup","@angular/common"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).KendoAngularMap={},e.ng.core,e.rxjs,e.ng.platformBrowser,e.KendoAngularCommon,e.KendoAngularL10N,e.KendoCharts,e.KendoLicensing,e.rxjs.operators,e.KendoAngularPopup,e.ng.common)}(this,function(e,s,L,t,n,o,j,A,N,r,Z){"use strict";function i(n){var o;return n&&n.__esModule?n:(o=Object.create(null),n&&Object.keys(n).forEach(function(e){var t;"default"!==e&&(t=Object.getOwnPropertyDescriptor(n,e),Object.defineProperty(o,e,t.get?t:{enumerable:!0,get:function(){return n[e]}}))}),o.default=n,Object.freeze(o))}var a=i(s),p=i(t),t=i(n),c=i(o),_=i(r),l=i(Z),q=function(e,t){return(q=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 u(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}q(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}Object.create;function K(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var o,r,i=n.call(e),a=[];try{for(;(void 0===t||0<t--)&&!(o=i.next()).done;)a.push(o.value)}catch(e){r={error:e}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}return a}Object.create;var B=function(e,t){this.key=e,this.value=t},m=(g.prototype.initSource=function(){this.changes=this.source.asObservable()},g.prototype.push=function(e){this.store=e,this.next()},g.prototype.notify=function(e){this.set(e.key,e.value),this.next()},g.prototype.set=function(e,t){for(var n=this.store,o=e.split("."),r=o.shift();0<o.length;)n=n[r]=n[r]||{},r=o.shift();n[r]=t},g.prototype.next=function(){var e=this;this.ngZone.runOutsideAngular(function(){e.source.next(e.store)})},g);function g(e){this.ngZone=e,this.store={},this.source=new L.BehaviorSubject({}),this.initSource()}m.ɵfac=a.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:m,deps:[{token:a.NgZone}],target:a.ɵɵFactoryTarget.Injectable}),m.ɵprov=a.ɵɵngDeclareInjectable({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:m}),a.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:m,decorators:[{type:s.Injectable}],ctorParameters:function(){return[{type:a.NgZone}]}});var U=function(e,t){this.sender=e,this.options=t},y=(H.prototype.notify=function(e){this.source.next(e)},H);function H(){this.source=new L.Subject,this.itemChanges=this.source.asObservable()}function Q(e,t){for(var n in e){var o;e.hasOwnProperty(n)&&(void 0===(o=e[n].currentValue)?delete t[n]:t[n]=o)}}function X(e){var t,n={};for(t in e)e.hasOwnProperty(t)&&(n[t]=new s.SimpleChange(null,e[t],!1));return n}y.ɵfac=a.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:y,deps:[],target:a.ɵɵFactoryTarget.Injectable}),y.ɵprov=a.ɵɵngDeclareInjectable({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:y}),a.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:y,decorators:[{type:s.Injectable}],ctorParameters:function(){return[]}});v.prototype.ngOnChanges=function(e){var t=this.configurationService.store;Q(e,t),this.configurationService.push(t)},v.prototype.notifyChanges=function(e){this.ngOnChanges(X(e))},v.prototype.ngOnDestroy=function(){this.subscription.unsubscribe()},v.prototype.notify=function(){this.collectionService&&this.collectionService.notify(new U(this,this.options))};var h=v;function v(e,t){var n=this;this.configurationService=e,this.collectionService=t,this.index=-1,this.options={},this.subscription=e.changes.subscribe(function(e){n.options=e,n.notify()})}h.ɵfac=a.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:h,deps:[{token:m},{token:y}],target:a.ɵɵFactoryTarget.Directive}),h.ɵdir=a.ɵɵngDeclareDirective({minVersion:"12.0.0",version:"12.2.16",type:h,usesOnChanges:!0,ngImport:a}),a.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:h,decorators:[{type:s.Directive}],ctorParameters:function(){return[{type:m},{type:y}]}});f.prototype.ngOnDestroy=function(){this.store=void 0,this.notify()},f.prototype.ngOnChanges=function(e){Q(e,this.store),this.notify()},f.prototype.notifyChanges=function(e){this.ngOnChanges(X(e))},f.prototype.markAsVisible=function(){this.store.visible=!0,this.notify()},f.prototype.notify=function(){this.configurationService.notify(new B(this.configKey,this.store))};var d=f;function f(e,t){if(this.configKey=e,this.configurationService=t,this.store={},void 0===e)throw new Error("Configuration key not set")}d.ɵfac=a.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:d,deps:"invalid",target:a.ɵɵFactoryTarget.Directive}),d.ɵdir=a.ɵɵngDeclareDirective({minVersion:"12.0.0",version:"12.2.16",type:d,usesOnChanges:!0,ngImport:a}),a.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:d,decorators:[{type:s.Directive}],ctorParameters:function(){return[{type:void 0},{type:m}]}});u(G,$=d),Object.defineProperty(G.prototype,"layerTooltipTemplateRef",{get:function(){return this.layerTooltipTemplate},enumerable:!1,configurable:!0});var $,C=G;function G(e){var t=$.call(this,"tooltip",e)||this;return t.configurationService=e,t}C.ɵfac=a.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:C,deps:[{token:m}],target:a.ɵɵFactoryTarget.Component}),C.ɵcmp=a.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:C,selector:"kendo-map-layer-tooltip",queries:[{propertyName:"layerTooltipTemplate",first:!0,predicate:s.TemplateRef,descendants:!0}],usesInheritance:!0,ngImport:a,template:"",isInline:!0,changeDetection:a.ChangeDetectionStrategy.OnPush}),a.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:C,decorators:[{type:s.Component,args:[{changeDetection:s.ChangeDetectionStrategy.OnPush,selector:"kendo-map-layer-tooltip",template:""}]}],ctorParameters:function(){return[{type:m}]},propDecorators:{layerTooltipTemplate:[{type:s.ContentChild,args:[s.TemplateRef,{static:!1}]}]}});u(W,J=h),W.prototype.ngOnChanges=function(e){this.configurationService.store.type=this.type;var t=e.attribution;t&&this.sanitizer&&(t.currentValue=this.sanitizer.sanitize(s.SecurityContext.HTML,t.currentValue)),J.prototype.ngOnChanges.call(this,e)},Object.defineProperty(W.prototype,"layerTooltipTemplateRef",{get:function(){if(this.layerTooltip)return this.layerTooltip.layerTooltipTemplateRef},enumerable:!1,configurable:!0});var J,D=W;function W(e,t,n,o){var r=J.call(this,t,n)||this;return r.type=e,r.configurationService=t,r.collectionService=n,r.sanitizer=o,r}D.ɵfac=a.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:D,deps:"invalid",target:a.ɵɵFactoryTarget.Directive}),D.ɵdir=a.ɵɵngDeclareDirective({minVersion:"12.0.0",version:"12.2.16",type:D,inputs:{attribution:"attribution",extent:"extent",maxZoom:"maxZoom",minZoom:"minZoom",opacity:"opacity",zIndex:"zIndex"},queries:[{propertyName:"layerTooltip",first:!0,predicate:C,descendants:!0}],usesInheritance:!0,usesOnChanges:!0,ngImport:a}),a.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:D,decorators:[{type:s.Directive}],ctorParameters:function(){return[{type:void 0},{type:m},{type:y},{type:p.DomSanitizer}]},propDecorators:{attribution:[{type:s.Input}],extent:[{type:s.Input}],maxZoom:[{type:s.Input}],minZoom:[{type:s.Input}],opacity:[{type:s.Input}],zIndex:[{type:s.Input}],layerTooltip:[{type:s.ContentChild,args:[C,{static:!1}]}]}});u(ee,Y=D);var Y,I=ee;function ee(e,t,n){var o=Y.call(this,"bubble",e,t,n)||this;return o.configurationService=e,o.collectionService=t,o.sanitizer=n,o}function te(e,t){for(var n=e;n&&n!==t;)n=n.parentNode;return!!n}I.ɵfac=a.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:I,deps:[{token:m},{token:y},{token:p.DomSanitizer}],target:a.ɵɵFactoryTarget.Component}),I.ɵcmp=a.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:I,selector:"kendo-map-bubble-layer",inputs:{data:"data",locationField:"locationField",valueField:"valueField",symbol:"symbol",style:"style",maxSize:"maxSize",minSize:"minSize"},providers:[m,{provide:D,useExisting:s.forwardRef(function(){return I})}],usesInheritance:!0,ngImport:a,template:"",isInline:!0,changeDetection:a.ChangeDetectionStrategy.OnPush}),a.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:I,decorators:[{type:s.Component,args:[{changeDetection:s.ChangeDetectionStrategy.OnPush,providers:[m,{provide:D,useExisting:s.forwardRef(function(){return I})}],selector:"kendo-map-bubble-layer",template:""}]}],ctorParameters:function(){return[{type:m},{type:y},{type:p.DomSanitizer}]},propDecorators:{data:[{type:s.Input}],locationField:[{type:s.Input}],valueField:[{type:s.Input}],symbol:[{type:s.Input}],style:[{type:s.Input}],maxSize:[{type:s.Input}],minSize:[{type:s.Input}]}});u(re,ne=j.InstanceObserver);var ne,oe=re;function re(e){e=ne.call(this,e)||this;return e.handlerMap={hideTooltip:"onHideTooltip",init:"onInit",render:"onRender",showTooltip:"onShowTooltip",centerChange:"onCenterChange",zoomChange:"onZoomChange"},e}var ie,h=function(e){this.sender=e},ae=(h.ɵfac=a.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:h,deps:"invalid",target:a.ɵɵFactoryTarget.Directive}),h.ɵdir=a.ɵɵngDeclareDirective({minVersion:"12.0.0",version:"12.2.16",type:h,ngImport:a}),a.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:h,decorators:[{type:s.Directive}],ctorParameters:function(){return[{type:void 0}]}}),u(se,ie=h),se);function se(e,t){return ie.call(this,t)||this}u(le,pe=h);var pe,ce=le;function le(e,t){t=pe.call(this,t)||this;return t.location=e.location,t.originalEvent=e.originalEvent,t}u(ge,ue=h);var ue,me=ge;function ge(e,t){t=ue.call(this,t)||this;return t.marker=e.marker,t.layer=e.layer,t}u(ve,ye=h);var ye,he=ve;function ve(e,t){t=ye.call(this,t)||this;return t.marker=e.marker,t.layer=e.layer,t}u(fe,de=h),fe.prototype.preventDefault=function(){this.prevented=!0},fe.prototype.isDefaultPrevented=function(){return this.prevented};var de,k=fe;function fe(){var e=de.apply(this,function(e,t,n){if(n||2===arguments.length)for(var o,r=0,i=t.length;r<i;r++)!o&&r in t||((o=o||Array.prototype.slice.call(t,0,r))[r]=t[r]);return e.concat(o||Array.prototype.slice.call(t))}([],K(arguments)))||this;return e.prevented=!1,e}k.ɵfac=a.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:k,deps:null,target:a.ɵɵFactoryTarget.Directive}),k.ɵdir=a.ɵɵngDeclareDirective({minVersion:"12.0.0",version:"12.2.16",type:k,usesInheritance:!0,ngImport:a}),a.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:k,decorators:[{type:s.Directive}]});u(Ie,Ce=k);var Ce,De=Ie;function Ie(e,t){t=Ce.call(this,t)||this;return t.marker=e.marker,t.layer=e.layer,t}u(Se,ke=h);var ke,be=Se;function Se(e,t){t=ke.call(this,t)||this;return t.origin=e.origin,t.center=e.center,t.originalEvent=e.originalEvent,t}u(Oe,Te=h);var Te,Ee=Oe;function Oe(e,t){t=Te.call(this,t)||this;return t.origin=e.origin,t.center=e.center,t.originalEvent=e.originalEvent,t}u(Re,ze=h);var ze,Ve=Re;function Re(e,t){return ze.call(this,t)||this}u(Pe,we=h);var we,Me=Pe;function Pe(e,t){t=we.call(this,t)||this;return t.layer=e.layer,t.shape=e.shape,t.originalEvent=e.originalEvent,t}u(Le,Fe=h);var Fe,xe=Le;function Le(e,t){t=Fe.call(this,t)||this;return t.layer=e.layer,t.shape=e.shape,t.dataItem=e.shape.dataItem,t.location=e.shape.location,t}u(Ne,je=h);var je,Ae=Ne;function Ne(e,t){t=je.call(this,t)||this;return t.dataItem=e.dataItem,t.layer=e.layer,t.group=e.group,t.properties=e.properties,t}u(qe,Ze=h);var Ze,_e=qe;function qe(e,t){t=Ze.call(this,t)||this;return t.layer=e.layer,t.shape=e.shape,t.originalEvent=e.originalEvent,t}u(Ue,Ke=h);var Ke,Be=Ue;function Ue(e,t){t=Ke.call(this,t)||this;return t.layer=e.layer,t.shape=e.shape,t.originalEvent=e.originalEvent,t}u(Qe,He=h);var He,h=Qe;function Qe(e,t){t=He.call(this,t)||this;return t.originalEvent=e.originalEvent,t}u($e,Xe=k);var Xe,k=$e;function $e(e,t){t=Xe.call(this,t)||this;return t.originalEvent=e.originalEvent,t}var Ge={beforeReset:ae,click:ce,markerActivate:me,markerClick:he,markerCreated:De,panEnd:be,pan:Ee,reset:Ve,shapeClick:Me,shapeCreated:xe,shapeFeatureCreated:Ae,shapeMouseEnter:_e,shapeMouseLeave:Be,zoomEnd:h,zoomStart:k},Je=(We.prototype.create=function(e,t,n){if(Ge[e])return new Ge[e](t,n)},We);function We(){}var Ye={name:"@progress/kendo-angular-map",productName:"Kendo UI for Angular",productCodes:["KENDOUIANGULAR","KENDOUICOMPLETE"],publishDate:1665569923,version:"",licensingDocsUrl:"https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning"},et={horizontal:"fit",vertical:"fit"},b=(Object.defineProperty(S.prototype,"active",{get:function(){return null!==this.popupRef},enumerable:!1,configurable:!0}),S.prototype.show=function(e){e=this.position(e.anchor);this.popupRef?this.popupRef.popup.instance.offset=e:(this.popupRef=this.popupService.open(Object.assign({offset:e,popupAlign:{vertical:"bottom",horizontal:"center"},animate:this.animate,content:this.templateRef,collision:et,positionMode:"absolute"},this.popupSettings)),this.localizationService.rtl&&this.popupRef.popupElement.setAttribute("dir","rtl"),this.onInit())},S.prototype.hide=function(){this.popupRef&&(this.popupRef.close(),this.popupRef=null)},S.prototype.onInit=function(){},S.prototype.ngOnDestroy=function(){this.hide()},S.prototype.position=function(e){var t,n,o;return this.popupSettings&&this.popupSettings.appendTo?(t=(o=this.popupSettings.appendTo.element.nativeElement).getBoundingClientRect(),n=(o=this.scrollOffset(o)).scrollLeft,o=o.scrollTop,{left:e.left-t.left-n,top:e.top-t.top-o}):e},S.prototype.scrollOffset=function(e){if(!e)return null;for(var t=e.scrollLeft,n=e.scrollTop,o=e.parentElement;o;)t+=o.scrollLeft,n+=o.scrollTop,o=o.parentElement;return{scrollLeft:t,scrollTop:n}},S);function S(e,t){this.popupService=e,this.localizationService=t,this.animate=!0,this.style={position:"relative"},this.popupRef=null}function tt(){if(n.isDocumentAvailable())return new s.ElementRef(document.body)}b.ɵfac=a.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:b,deps:[{token:_.PopupService},{token:c.LocalizationService}],target:a.ɵɵFactoryTarget.Directive}),b.ɵdir=a.ɵɵngDeclareDirective({minVersion:"12.0.0",version:"12.2.16",type:b,ngImport:a}),a.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:b,decorators:[{type:s.Directive}],ctorParameters:function(){return[{type:_.PopupService},{type:c.LocalizationService}]}});nt.prototype.registerTemplate=function(e,t){-1<e&&(this.templates[e]=t)},nt.prototype.getTemplate=function(e){if(-1<e)return this.templates[e]};var T=nt;function nt(){this.templates=[]}T.ɵfac=a.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:T,deps:[],target:a.ɵɵFactoryTarget.Injectable}),T.ɵprov=a.ɵɵngDeclareInjectable({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:T}),a.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:T,decorators:[{type:s.Injectable}]});u(E,ot=b),E.prototype.show=function(e){var t;this.tooltipTemplateRef=this.templateService.getTemplate(e.layerIndex),this.tooltipTemplateRef&&(this.popupClasses=Object.assign(((t={"k-tooltip":!0,"k-map-tooltip":!0})[e.className]=Boolean(e.className),t),this.classNames),this.tooltipContext=e,ot.prototype.show.call(this,e))},E.prototype.containsElement=function(e){if(this.popupRef)return te(e,this.popupRef.popupElement)},E.prototype.onInit=function(){var t=this;this.ngZone.runOutsideAngular(function(){t.mouseleaveSubscription=t.popupRef.popupElement.addEventListener("mouseleave",function(e){t.leave.emit(e)})}),this.popupRef.popupElement.classList.add(this.wrapperClass)},E.prototype.hide=function(){this.mouseleaveSubscription&&(this.mouseleaveSubscription(),this.mouseleaveSubscription=null),this.tooltipTemplateRef=null,ot.prototype.hide.call(this)};var ot,b=E;function E(e,t,n,o){var r=ot.call(this,e,n)||this;return r.popupService=e,r.templateService=t,r.localizationService=n,r.ngZone=o,r.tooltipContext={},r.animate=!0,r.wrapperClass="k-tooltip-wrapper",r.leave=new s.EventEmitter,r.popupClasses={},r}b.ɵfac=a.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:b,deps:[{token:_.PopupService},{token:T},{token:c.LocalizationService},{token:a.NgZone}],target:a.ɵɵFactoryTarget.Component}),b.ɵcmp=a.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:b,selector:"kendo-map-tooltip-popup",inputs:{animate:"animate",classNames:"classNames",popupSettings:"popupSettings",wrapperClass:"wrapperClass"},outputs:{leave:"leave"},providers:[r.PopupService,{provide:r.POPUP_CONTAINER,useFactory:tt}],viewQueries:[{propertyName:"templateRef",first:!0,predicate:["content"],descendants:!0,static:!0}],usesInheritance:!0,ngImport:a,template:'\n <ng-template #content>\n <div [ngClass]="popupClasses" [ngStyle]="style">\n <div class="k-tooltip-content">\n <ng-template [ngTemplateOutlet]="tooltipTemplateRef"\n [ngTemplateOutletContext]="tooltipContext">\n </ng-template>\n </div>\n </div>\n </ng-template>\n ',isInline:!0,directives:[{type:l.NgClass,selector:"[ngClass]",inputs:["class","ngClass"]},{type:l.NgStyle,selector:"[ngStyle]",inputs:["ngStyle"]},{type:l.NgTemplateOutlet,selector:"[ngTemplateOutlet]",inputs:["ngTemplateOutletContext","ngTemplateOutlet"]}]}),a.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:b,decorators:[{type:s.Component,args:[{providers:[r.PopupService,{provide:r.POPUP_CONTAINER,useFactory:tt}],selector:"kendo-map-tooltip-popup",template:'\n <ng-template #content>\n <div [ngClass]="popupClasses" [ngStyle]="style">\n <div class="k-tooltip-content">\n <ng-template [ngTemplateOutlet]="tooltipTemplateRef"\n [ngTemplateOutletContext]="tooltipContext">\n </ng-template>\n </div>\n </div>\n </ng-template>\n '}]}],ctorParameters:function(){return[{type:_.PopupService},{type:T},{type:c.LocalizationService},{type:a.NgZone}]},propDecorators:{templateRef:[{type:s.ViewChild,args:["content",{static:!0}]}],animate:[{type:s.Input}],classNames:[{type:s.Input}],popupSettings:[{type:s.Input}],wrapperClass:[{type:s.Input}],leave:[{type:s.Output}]}});O.prototype.ngAfterViewInit=function(){var t=this;this.canRender&&this.ngZone.runOutsideAngular(function(){var e=t.renderer.listen(t.surfaceElement.nativeElement,"mouseleave",t.mapMouseleave.bind(t));t.domSubscriptions=function(){e()}}),this.setDirection(),this.initConfig(),this.subscriptions=this.localizationService.changes.subscribe(function(){return t.setDirection()})},O.prototype.ngAfterViewChecked=function(){var e=this;this.instance&&this.autoResize&&this.ngZone.runOutsideAngular(function(){clearTimeout(e.resizeTimeout),e.resizeTimeout=setTimeout(function(){e.resize()},0)})},O.prototype.ngOnChanges=function(e){this.instance&&(e.zoom&&(this.instance.zoom(e.zoom.currentValue),delete e.zoom),e.center&&(this.instance.center(e.center.currentValue),delete e.center),0===Object.keys(e).length)||(Q(e,e=this.configurationService.store),e.popupSettings=null,this.configurationService.push(e))},O.prototype.ngOnDestroy=function(){this.destroyed=!0,this.optionsChange&&this.optionsChange.unsubscribe(),this.domSubscriptions&&(this.domSubscriptions(),this.domSubscriptions=null),this.instance&&(this.instance.destroy(),this.instance=null),this.subscriptions&&this.subscriptions.unsubscribe()},Object.defineProperty(O.prototype,"layers",{get:function(){var e;return null==(e=this.instance)?void 0:e.layers},enumerable:!1,configurable:!0}),Object.defineProperty(O.prototype,"extent",{get:function(){var e;return null==(e=this.instance)?void 0:e.extent()},set:function(e){var t;null!=(t=this.instance)&&t.extent(e)},enumerable:!1,configurable:!0}),O.prototype.resize=function(){},O.prototype.viewSize=function(){var e;return null==(e=this.instance)?void 0:e.viewSize()},O.prototype.eventOffset=function(e){var t;return null==(t=this.instance)?void 0:t.eventOffset(e)},O.prototype.eventToLayer=function(e){var t;return null==(t=this.instance)?void 0:t.eventToLayer(e)},O.prototype.eventToLocation=function(e){var t;return null==(t=this.instance)?void 0:t.eventToLocation(e)},O.prototype.eventToView=function(e){var t;return null==(t=this.instance)?void 0:t.eventToView(e)},O.prototype.layerToLocation=function(e,t){var n;return null==(n=this.instance)?void 0:n.layerToLocation(e,t)},O.prototype.locationToLayer=function(e,t){var n;return null==(n=this.instance)?void 0:n.locationToLayer(e,t)},O.prototype.locationToView=function(e){var t;return null==(t=this.instance)?void 0:t.locationToView(e)},O.prototype.viewToLocation=function(e,t){var n;return null==(n=this.instance)?void 0:n.viewToLocation(e,t)},O.prototype.onResize=function(){this.autoResize&&this.resize()},Object.defineProperty(O.prototype,"canRender",{get:function(){return n.isDocumentAvailable()&&Boolean(this.surfaceElement)},enumerable:!1,configurable:!0}),Object.defineProperty(O.prototype,"autoResize",{get:function(){return 0<this.resizeRateLimit},enumerable:!1,configurable:!0}),O.prototype.init=function(){var e,t;this.canRender&&(e=this.surfaceElement.nativeElement,t=new oe(this),this.createInstance(e,t))},O.prototype.initConfig=function(){var t=this;n.isDocumentAvailable()&&this.ngZone.runOutsideAngular(function(){t.optionsChange=t.configurationService.changes.pipe(N.tap(function(e){t.options=e})).subscribe(function(){t.instance?t.instance.setOptions(t.options):t.init()})})},O.prototype.createInstance=function(e,t){this.instance=new j.Map(e,this.options,this.theme,{observer:t,rtl:this.rtl,sender:this})},O.prototype.activeEmitter=function(e){e=this["click"===e?"mapClick":e];if(e&&e.emit&&n.hasObservers(e))return e},O.prototype.trigger=function(e,t){var n,o=this.activeEmitter(e);if(o)return n=this.instanceEventService.create(e,t,this),!this.instance&&t.sender&&(this.instance=t.sender),this.run(function(){o.emit(n)}),n.isDefaultPrevented&&n.isDefaultPrevented()},O.prototype.run=function(e,t,n){(t=void 0===t?!0:t)?(n&&this.changeDetector.markForCheck(),this.ngZone.run(e)):(e(),n&&this.detectChanges())},O.prototype.detectChanges=function(){this.destroyed||this.changeDetector.detectChanges()},O.prototype.setDirection=function(){this.rtl=this.isRTL,this.element&&this.renderer.setAttribute(this.element.nativeElement,"dir",this.rtl?"rtl":"ltr")},Object.defineProperty(O.prototype,"isRTL",{get:function(){return Boolean(this.localizationService.rtl)},enumerable:!1,configurable:!0}),O.prototype.onInit=function(e){this.instance=e.sender},O.prototype.onShowTooltip=function(e){var t=this;this.run(function(){t.tooltipInstance.show(e)},!0,!0)},O.prototype.onHideTooltip=function(){var e=this;this.run(function(){e.tooltipInstance.hide()},!0,!0)},O.prototype.onCenterChange=function(e){this.centerChange.next(e.center)},O.prototype.onZoomChange=function(e){this.zoomChange.next(e.zoom)},O.prototype.tooltipMouseleave=function(e){var e=e.relatedTarget,t=this.element.nativeElement;!this.instance||e&&te(e,t)||this.tooltipInstance.hide()},O.prototype.mapMouseleave=function(e){var e=e.relatedTarget,t=this.element.nativeElement;!this.instance||e&&(this.tooltipInstance.containsElement(e)||te(e,t))||this.tooltipInstance.hide()};l=O;function O(e,t,n,o,r,i,a){this.configurationService=e,this.instanceEventService=t,this.element=n,this.localizationService=o,this.changeDetector=r,this.ngZone=i,this.renderer=a,this.resizeRateLimit=10,this.zoom=3,this.beforeReset=new s.EventEmitter,this.mapClick=new s.EventEmitter,this.markerActivate=new s.EventEmitter,this.markerClick=new s.EventEmitter,this.markerCreated=new s.EventEmitter,this.panEnd=new s.EventEmitter,this.pan=new s.EventEmitter,this.reset=new s.EventEmitter,this.shapeClick=new s.EventEmitter,this.shapeCreated=new s.EventEmitter,this.shapeFeatureCreated=new s.EventEmitter,this.shapeMouseEnter=new s.EventEmitter,this.shapeMouseLeave=new s.EventEmitter,this.zoomStart=new s.EventEmitter,this.zoomEnd=new s.EventEmitter,this.centerChange=new s.EventEmitter,this.zoomChange=new s.EventEmitter,this.theme=null,this.rtl=!1,A.validatePackage(Ye)}l.ɵfac=a.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:l,deps:[{token:m},{token:Je},{token:a.ElementRef},{token:c.LocalizationService},{token:a.ChangeDetectorRef},{token:a.NgZone},{token:a.Renderer2}],target:a.ɵɵFactoryTarget.Component}),l.ɵcmp=a.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:l,selector:"kendo-map",inputs:{resizeRateLimit:"resizeRateLimit",center:"center",controls:"controls",minZoom:"minZoom",maxZoom:"maxZoom",minSize:"minSize",pannable:"pannable",popupSettings:"popupSettings",wraparound:"wraparound",zoom:"zoom",zoomable:"zoomable"},outputs:{beforeReset:"beforeReset",mapClick:"mapClick",markerActivate:"markerActivate",markerClick:"markerClick",markerCreated:"markerCreated",panEnd:"panEnd",pan:"pan",reset:"reset",shapeClick:"shapeClick",shapeCreated:"shapeCreated",shapeFeatureCreated:"shapeFeatureCreated",shapeMouseEnter:"shapeMouseEnter",shapeMouseLeave:"shapeMouseLeave",zoomStart:"zoomStart",zoomEnd:"zoomEnd",centerChange:"centerChange",zoomChange:"zoomChange"},providers:[m,Je,o.LocalizationService,T,{provide:o.L10N_PREFIX,useValue:"kendo.map"}],viewQueries:[{propertyName:"surfaceElement",first:!0,predicate:["surface"],descendants:!0,static:!0},{propertyName:"tooltipInstance",first:!0,predicate:b,descendants:!0,static:!0}],exportAs:["kendoChart"],usesOnChanges:!0,ngImport:a,template:'\n <div #surface></div>\n <kendo-map-tooltip-popup (leave)="tooltipMouseleave($event)" [popupSettings]="popupSettings">\n </kendo-map-tooltip-popup>\n <kendo-resize-sensor (resize)="onResize()" [rateLimit]="resizeRateLimit"></kendo-resize-sensor>\n ',isInline:!0,components:[{type:b,selector:"kendo-map-tooltip-popup",inputs:["animate","classNames","popupSettings","wrapperClass"],outputs:["leave"]},{type:t.ResizeSensorComponent,selector:"kendo-resize-sensor",inputs:["rateLimit"],outputs:["resize"]}],changeDetection:a.ChangeDetectionStrategy.OnPush}),a.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:l,decorators:[{type:s.Component,args:[{selector:"kendo-map",changeDetection:s.ChangeDetectionStrategy.OnPush,exportAs:"kendoChart",providers:[m,Je,o.LocalizationService,T,{provide:o.L10N_PREFIX,useValue:"kendo.map"}],template:'\n <div #surface></div>\n <kendo-map-tooltip-popup (leave)="tooltipMouseleave($event)" [popupSettings]="popupSettings">\n </kendo-map-tooltip-popup>\n <kendo-resize-sensor (resize)="onResize()" [rateLimit]="resizeRateLimit"></kendo-resize-sensor>\n '}]}],ctorParameters:function(){return[{type:m},{type:Je},{type:a.ElementRef},{type:c.LocalizationService},{type:a.ChangeDetectorRef},{type:a.NgZone},{type:a.Renderer2}]},propDecorators:{resizeRateLimit:[{type:s.Input}],center:[{type:s.Input}],controls:[{type:s.Input}],minZoom:[{type:s.Input}],maxZoom:[{type:s.Input}],minSize:[{type:s.Input}],pannable:[{type:s.Input}],popupSettings:[{type:s.Input}],wraparound:[{type:s.Input}],zoom:[{type:s.Input}],zoomable:[{type:s.Input}],beforeReset:[{type:s.Output}],mapClick:[{type:s.Output}],markerActivate:[{type:s.Output}],markerClick:[{type:s.Output}],markerCreated:[{type:s.Output}],panEnd:[{type:s.Output}],pan:[{type:s.Output}],reset:[{type:s.Output}],shapeClick:[{type:s.Output}],shapeCreated:[{type:s.Output}],shapeFeatureCreated:[{type:s.Output}],shapeMouseEnter:[{type:s.Output}],shapeMouseLeave:[{type:s.Output}],zoomStart:[{type:s.Output}],zoomEnd:[{type:s.Output}],centerChange:[{type:s.Output}],zoomChange:[{type:s.Output}],surfaceElement:[{type:s.ViewChild,args:["surface",{static:!0}]}],tooltipInstance:[{type:s.ViewChild,args:[b,{static:!0}]}]}});z.prototype.ngOnDestroy=function(){this.subscription.unsubscribe()},z.prototype.ngAfterContentInit=function(){var e=this;this.readItems(),this.children.changes.subscribe(function(){return e.readItems()})},z.prototype.processChanges=function(e){var t;!this.children||(t=this.children.toArray().indexOf(e.sender))<0||(this.items[t]=e.options,e.sender.index=t,this.change())},z.prototype.readItems=function(){this.items=this.children.map(function(e,t){return e.index=t,e.options}),this.change()},z.prototype.change=function(){this.configurationService.notify(new B(this.configKey,0===this.items.length?void 0:this.items))};r=z;function z(e,t,n){var o=this;this.configKey=e,this.configurationService=t,this.collectionService=n,this.items=[],this.subscription=n.itemChanges.subscribe(function(e){return o.processChanges(e)})}r.ɵfac=a.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:r,deps:"invalid",target:a.ɵɵFactoryTarget.Directive}),r.ɵdir=a.ɵɵngDeclareDirective({minVersion:"12.0.0",version:"12.2.16",type:r,ngImport:a}),a.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:r,decorators:[{type:s.Directive}],ctorParameters:function(){return[{type:void 0},{type:m},{type:y}]}});u(it,rt=r);var rt,t=it;function it(e,t){var n=rt.call(this,"layers",e,t)||this;return n.configurationService=e,n.collectionService=t,n}t.ɵfac=a.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:t,deps:[{token:m},{token:y}],target:a.ɵɵFactoryTarget.Component}),t.ɵcmp=a.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:t,selector:"kendo-map-layers",providers:[y],queries:[{propertyName:"children",predicate:D}],usesInheritance:!0,ngImport:a,template:"",isInline:!0,changeDetection:a.ChangeDetectionStrategy.OnPush}),a.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:t,decorators:[{type:s.Component,args:[{changeDetection:s.ChangeDetectionStrategy.OnPush,providers:[y],selector:"kendo-map-layers",template:""}]}],ctorParameters:function(){return[{type:m},{type:y}]},propDecorators:{children:[{type:s.ContentChildren,args:[D]}]}});u(st,at=D);var at,V=st;function st(e,t,n){var o=at.call(this,"marker",e,t,n)||this;return o.configurationService=e,o.collectionService=t,o.sanitizer=n,o}V.ɵfac=a.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:V,deps:[{token:m},{token:y},{token:p.DomSanitizer}],target:a.ɵɵFactoryTarget.Component}),V.ɵcmp=a.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:V,selector:"kendo-map-marker-layer",inputs:{data:"data",locationField:"locationField",titleField:"titleField",shape:"shape"},providers:[m,{provide:D,useExisting:s.forwardRef(function(){return V})}],usesInheritance:!0,ngImport:a,template:"",isInline:!0,changeDetection:a.ChangeDetectionStrategy.OnPush}),a.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:V,decorators:[{type:s.Component,args:[{changeDetection:s.ChangeDetectionStrategy.OnPush,providers:[m,{provide:D,useExisting:s.forwardRef(function(){return V})}],selector:"kendo-map-marker-layer",template:""}]}],ctorParameters:function(){return[{type:m},{type:y},{type:p.DomSanitizer}]},propDecorators:{data:[{type:s.Input}],locationField:[{type:s.Input}],titleField:[{type:s.Input}],shape:[{type:s.Input}]}});u(ct,pt=D);var pt,R=ct;function ct(e,t,n){var o=pt.call(this,"shape",e,t,n)||this;return o.configurationService=e,o.collectionService=t,o.sanitizer=n,o}R.ɵfac=a.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:R,deps:[{token:m},{token:y},{token:p.DomSanitizer}],target:a.ɵɵFactoryTarget.Component}),R.ɵcmp=a.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:R,selector:"kendo-map-shape-layer",inputs:{data:"data",style:"style"},providers:[m,{provide:D,useExisting:s.forwardRef(function(){return R})}],usesInheritance:!0,ngImport:a,template:"",isInline:!0,changeDetection:a.ChangeDetectionStrategy.OnPush}),a.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:R,decorators:[{type:s.Component,args:[{changeDetection:s.ChangeDetectionStrategy.OnPush,providers:[m,{provide:D,useExisting:s.forwardRef(function(){return R})}],selector:"kendo-map-shape-layer",template:""}]}],ctorParameters:function(){return[{type:m},{type:y},{type:p.DomSanitizer}]},propDecorators:{data:[{type:s.Input}],style:[{type:s.Input}]}});u(ut,lt=D);var lt,w=ut;function ut(e,t,n){var o=lt.call(this,"tile",e,t,n)||this;return o.configurationService=e,o.collectionService=t,o.sanitizer=n,o}w.ɵfac=a.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:w,deps:[{token:m},{token:y},{token:p.DomSanitizer}],target:a.ɵɵFactoryTarget.Component}),w.ɵcmp=a.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:w,selector:"kendo-map-tile-layer",inputs:{tileSize:"tileSize",subdomains:"subdomains",urlTemplate:"urlTemplate"},providers:[m,{provide:D,useExisting:s.forwardRef(function(){return w})}],usesInheritance:!0,ngImport:a,template:"",isInline:!0,changeDetection:a.ChangeDetectionStrategy.OnPush}),a.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:w,decorators:[{type:s.Component,args:[{changeDetection:s.ChangeDetectionStrategy.OnPush,providers:[m,{provide:D,useExisting:s.forwardRef(function(){return w})}],selector:"kendo-map-tile-layer",template:""}]}],ctorParameters:function(){return[{type:m},{type:y},{type:p.DomSanitizer}]},propDecorators:{tileSize:[{type:s.Input}],subdomains:[{type:s.Input}],urlTemplate:[{type:s.Input}]}});var mt,o=function(e){this.templateRef=e},r=(o.ɵfac=a.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:o,deps:[{token:a.TemplateRef,optional:!0}],target:a.ɵɵFactoryTarget.Directive}),o.ɵdir=a.ɵɵngDeclareDirective({minVersion:"12.0.0",version:"12.2.16",type:o,selector:"[kendoMapBubbleTooltipTemplate]",ngImport:a}),a.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:o,decorators:[{type:s.Directive,args:[{selector:"[kendoMapBubbleTooltipTemplate]"}]}],ctorParameters:function(){return[{type:a.TemplateRef,decorators:[{type:s.Optional}]}]}}),function(e){this.templateRef=e}),M=(r.ɵfac=a.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:r,deps:[{token:a.TemplateRef,optional:!0}],target:a.ɵɵFactoryTarget.Directive}),r.ɵdir=a.ɵɵngDeclareDirective({minVersion:"12.0.0",version:"12.2.16",type:r,selector:"[kendoMapMarkerTooltipTemplate]",ngImport:a}),a.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:r,decorators:[{type:s.Directive,args:[{selector:"[kendoMapMarkerTooltipTemplate]"}]}],ctorParameters:function(){return[{type:a.TemplateRef,decorators:[{type:s.Optional}]}]}}),function(e){this.templateRef=e}),P=(M.ɵfac=a.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:M,deps:[{token:a.TemplateRef,optional:!0}],target:a.ɵɵFactoryTarget.Directive}),M.ɵdir=a.ɵɵngDeclareDirective({minVersion:"12.0.0",version:"12.2.16",type:M,selector:"[kendoMapShapeTooltipTemplate]",ngImport:a}),a.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:M,decorators:[{type:s.Directive,args:[{selector:"[kendoMapShapeTooltipTemplate]"}]}],ctorParameters:function(){return[{type:a.TemplateRef,decorators:[{type:s.Optional}]}]}}),u(gt,mt=d),gt.prototype.ngAfterContentChecked=function(){var e;this.templateService.registerTemplate(this.layer.index,null==(e=this.bubbleTooltipTemplate)?void 0:e.templateRef)},gt);function gt(e,t,n){var o=mt.call(this,"tooltip",e)||this;return o.configurationService=e,o.templateService=t,o.layer=n,o}P.ɵfac=a.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:P,deps:[{token:m},{token:T},{token:D}],target:a.ɵɵFactoryTarget.Component}),P.ɵcmp=a.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:P,selector:"kendo-map-bubble-layer-tooltip",queries:[{propertyName:"bubbleTooltipTemplate",first:!0,predicate:o,descendants:!0}],usesInheritance:!0,ngImport:a,template:"",isInline:!0}),a.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:P,decorators:[{type:s.Component,args:[{selector:"kendo-map-bubble-layer-tooltip",template:""}]}],ctorParameters:function(){return[{type:m},{type:T},{type:D}]},propDecorators:{bubbleTooltipTemplate:[{type:s.ContentChild,args:[o,{static:!1}]}]}});u(ht,yt=d),ht.prototype.ngAfterContentChecked=function(){var e;this.templateService.registerTemplate(this.layer.index,null==(e=this.markerTooltipTemplate)?void 0:e.templateRef)};var yt,F=ht;function ht(e,t,n){var o=yt.call(this,"tooltip",e)||this;return o.configurationService=e,o.templateService=t,o.layer=n,o}F.ɵfac=a.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:F,deps:[{token:m},{token:T},{token:D}],target:a.ɵɵFactoryTarget.Component}),F.ɵcmp=a.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:F,selector:"kendo-map-marker-layer-tooltip",queries:[{propertyName:"markerTooltipTemplate",first:!0,predicate:r,descendants:!0}],usesInheritance:!0,ngImport:a,template:"",isInline:!0}),a.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:F,decorators:[{type:s.Component,args:[{selector:"kendo-map-marker-layer-tooltip",template:""}]}],ctorParameters:function(){return[{type:m},{type:T},{type:D}]},propDecorators:{markerTooltipTemplate:[{type:s.ContentChild,args:[r,{static:!1}]}]}});u(dt,vt=d),dt.prototype.ngAfterContentChecked=function(){var e;this.templateService.registerTemplate(this.layer.index,null==(e=this.shapeTooltipTemplate)?void 0:e.templateRef)};var vt,d=dt;function dt(e,t,n){var o=vt.call(this,"tooltip",e)||this;return o.configurationService=e,o.templateService=t,o.layer=n,o}d.ɵfac=a.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:d,deps:[{token:m},{token:T},{token:D}],target:a.ɵɵFactoryTarget.Component}),d.ɵcmp=a.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:d,selector:"kendo-map-shape-layer-tooltip",queries:[{propertyName:"shapeTooltipTemplate",first:!0,predicate:M,descendants:!0}],usesInheritance:!0,ngImport:a,template:"",isInline:!0}),a.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:d,decorators:[{type:s.Component,args:[{selector:"kendo-map-shape-layer-tooltip",template:""}]}],ctorParameters:function(){return[{type:m},{type:T},{type:D}]},propDecorators:{shapeTooltipTemplate:[{type:s.ContentChild,args:[M,{static:!1}]}]}});var ft=[I,P,o,C,t,l,V,F,r,R,d,M,w,b],x=function(){};x.ɵfac=a.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:x,deps:[],target:a.ɵɵFactoryTarget.NgModule}),x.ɵmod=a.ɵɵngDeclareNgModule({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:x,declarations:[I,P,o,C,t,l,V,F,r,R,d,M,w,b],imports:[Z.CommonModule,n.ResizeSensorModule],exports:[I,P,o,C,t,l,V,F,r,R,d,M,w,b]}),x.ɵinj=a.ɵɵngDeclareInjector({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:x,imports:[[Z.CommonModule,n.ResizeSensorModule]]}),a.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:x,decorators:[{type:s.NgModule,args:[{declarations:[ft],imports:[Z.CommonModule,n.ResizeSensorModule],exports:[ft]}]}]}),Object.defineProperty(e,"Extent",{enumerable:!0,get:function(){return j.Extent}}),Object.defineProperty(e,"Location",{enumerable:!0,get:function(){return j.Location}}),e.BeforeResetEvent=ae,e.BubbleLayerComponent=I,e.BubbleTooltipComponent=P,e.BubbleTooltipTemplateDirective=o,e.LayerTooltipComponent=C,e.LayersComponent=t,e.MapClickEvent=ce,e.MapComponent=l,e.MapModule=x,e.MarkerActivateEvent=me,e.MarkerClickEvent=he,e.MarkerCreatedEvent=De,e.MarkerLayerComponent=V,e.MarkerTooltipComponent=F,e.MarkerTooltipTemplateDirective=r,e.PanEndEvent=be,e.PanEvent=Ee,e.ResetEvent=Ve,e.ShapeClickEvent=Me,e.ShapeCreatedEvent=xe,e.ShapeFeatureCreatedEvent=Ae,e.ShapeLayerComponent=R,e.ShapeMouseEnterEvent=_e,e.ShapeMouseLeaveEvent=Be,e.ShapeTooltipComponent=d,e.ShapeTooltipTemplateDirective=M,e.TileLayerComponent=w,e.TooltipPopupComponent=b,e.ZoomEndEvent=h,e.ZoomStartEvent=k,e.bodyFactory=tt,Object.defineProperty(e,"__esModule",{value:!0})});
5
+ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@angular/core"),require("rxjs"),require("@angular/platform-browser"),require("@progress/kendo-angular-common"),require("@progress/kendo-angular-l10n"),require("@progress/kendo-charts"),require("@progress/kendo-licensing"),require("rxjs/operators"),require("@progress/kendo-angular-popup"),require("@angular/common")):"function"==typeof define&&define.amd?define("KendoAngularMap",["exports","@angular/core","rxjs","@angular/platform-browser","@progress/kendo-angular-common","@progress/kendo-angular-l10n","@progress/kendo-charts","@progress/kendo-licensing","rxjs/operators","@progress/kendo-angular-popup","@angular/common"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).KendoAngularMap={},e.ng.core,e.rxjs,e.ng.platformBrowser,e.KendoAngularCommon,e.KendoAngularL10N,e.KendoCharts,e.KendoLicensing,e.rxjs.operators,e.KendoAngularPopup,e.ng.common)}(this,function(e,s,L,t,n,o,j,A,N,r,Z){"use strict";function i(n){var o;return n&&n.__esModule?n:(o=Object.create(null),n&&Object.keys(n).forEach(function(e){var t;"default"!==e&&(t=Object.getOwnPropertyDescriptor(n,e),Object.defineProperty(o,e,t.get?t:{enumerable:!0,get:function(){return n[e]}}))}),o.default=n,Object.freeze(o))}var a=i(s),p=i(t),t=i(n),c=i(o),_=i(r),l=i(Z),q=function(e,t){return(q=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 u(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}q(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}Object.create;function K(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var o,r,i=n.call(e),a=[];try{for(;(void 0===t||0<t--)&&!(o=i.next()).done;)a.push(o.value)}catch(e){r={error:e}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}return a}Object.create;var B=function(e,t){this.key=e,this.value=t},m=(g.prototype.initSource=function(){this.changes=this.source.asObservable()},g.prototype.push=function(e){this.store=e,this.next()},g.prototype.notify=function(e){this.set(e.key,e.value),this.next()},g.prototype.set=function(e,t){for(var n=this.store,o=e.split("."),r=o.shift();0<o.length;)n=n[r]=n[r]||{},r=o.shift();n[r]=t},g.prototype.next=function(){var e=this;this.ngZone.runOutsideAngular(function(){e.source.next(e.store)})},g);function g(e){this.ngZone=e,this.store={},this.source=new L.BehaviorSubject({}),this.initSource()}m.ɵfac=a.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:m,deps:[{token:a.NgZone}],target:a.ɵɵFactoryTarget.Injectable}),m.ɵprov=a.ɵɵngDeclareInjectable({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:m}),a.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:m,decorators:[{type:s.Injectable}],ctorParameters:function(){return[{type:a.NgZone}]}});var U=function(e,t){this.sender=e,this.options=t},y=(H.prototype.notify=function(e){this.source.next(e)},H);function H(){this.source=new L.Subject,this.itemChanges=this.source.asObservable()}function Q(e,t){for(var n in e){var o;e.hasOwnProperty(n)&&(void 0===(o=e[n].currentValue)?delete t[n]:t[n]=o)}}function X(e){var t,n={};for(t in e)e.hasOwnProperty(t)&&(n[t]=new s.SimpleChange(null,e[t],!1));return n}y.ɵfac=a.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:y,deps:[],target:a.ɵɵFactoryTarget.Injectable}),y.ɵprov=a.ɵɵngDeclareInjectable({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:y}),a.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:y,decorators:[{type:s.Injectable}],ctorParameters:function(){return[]}});v.prototype.ngOnChanges=function(e){var t=this.configurationService.store;Q(e,t),this.configurationService.push(t)},v.prototype.notifyChanges=function(e){this.ngOnChanges(X(e))},v.prototype.ngOnDestroy=function(){this.subscription.unsubscribe()},v.prototype.notify=function(){this.collectionService&&this.collectionService.notify(new U(this,this.options))};var h=v;function v(e,t){var n=this;this.configurationService=e,this.collectionService=t,this.index=-1,this.options={},this.subscription=e.changes.subscribe(function(e){n.options=e,n.notify()})}h.ɵfac=a.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:h,deps:[{token:m},{token:y}],target:a.ɵɵFactoryTarget.Directive}),h.ɵdir=a.ɵɵngDeclareDirective({minVersion:"12.0.0",version:"12.2.16",type:h,usesOnChanges:!0,ngImport:a}),a.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:h,decorators:[{type:s.Directive}],ctorParameters:function(){return[{type:m},{type:y}]}});f.prototype.ngOnDestroy=function(){this.store=void 0,this.notify()},f.prototype.ngOnChanges=function(e){Q(e,this.store),this.notify()},f.prototype.notifyChanges=function(e){this.ngOnChanges(X(e))},f.prototype.markAsVisible=function(){this.store.visible=!0,this.notify()},f.prototype.notify=function(){this.configurationService.notify(new B(this.configKey,this.store))};var d=f;function f(e,t){if(this.configKey=e,this.configurationService=t,this.store={},void 0===e)throw new Error("Configuration key not set")}d.ɵfac=a.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:d,deps:"invalid",target:a.ɵɵFactoryTarget.Directive}),d.ɵdir=a.ɵɵngDeclareDirective({minVersion:"12.0.0",version:"12.2.16",type:d,usesOnChanges:!0,ngImport:a}),a.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:d,decorators:[{type:s.Directive}],ctorParameters:function(){return[{type:void 0},{type:m}]}});u(G,$=d),Object.defineProperty(G.prototype,"layerTooltipTemplateRef",{get:function(){return this.layerTooltipTemplate},enumerable:!1,configurable:!0});var $,C=G;function G(e){var t=$.call(this,"tooltip",e)||this;return t.configurationService=e,t}C.ɵfac=a.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:C,deps:[{token:m}],target:a.ɵɵFactoryTarget.Component}),C.ɵcmp=a.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:C,selector:"kendo-map-layer-tooltip",queries:[{propertyName:"layerTooltipTemplate",first:!0,predicate:s.TemplateRef,descendants:!0}],usesInheritance:!0,ngImport:a,template:"",isInline:!0,changeDetection:a.ChangeDetectionStrategy.OnPush}),a.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:C,decorators:[{type:s.Component,args:[{changeDetection:s.ChangeDetectionStrategy.OnPush,selector:"kendo-map-layer-tooltip",template:""}]}],ctorParameters:function(){return[{type:m}]},propDecorators:{layerTooltipTemplate:[{type:s.ContentChild,args:[s.TemplateRef,{static:!1}]}]}});u(W,J=h),W.prototype.ngOnChanges=function(e){this.configurationService.store.type=this.type;var t=e.attribution;t&&this.sanitizer&&(t.currentValue=this.sanitizer.sanitize(s.SecurityContext.HTML,t.currentValue)),J.prototype.ngOnChanges.call(this,e)},Object.defineProperty(W.prototype,"layerTooltipTemplateRef",{get:function(){if(this.layerTooltip)return this.layerTooltip.layerTooltipTemplateRef},enumerable:!1,configurable:!0});var J,D=W;function W(e,t,n,o){var r=J.call(this,t,n)||this;return r.type=e,r.configurationService=t,r.collectionService=n,r.sanitizer=o,r}D.ɵfac=a.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:D,deps:"invalid",target:a.ɵɵFactoryTarget.Directive}),D.ɵdir=a.ɵɵngDeclareDirective({minVersion:"12.0.0",version:"12.2.16",type:D,inputs:{attribution:"attribution",extent:"extent",maxZoom:"maxZoom",minZoom:"minZoom",opacity:"opacity",zIndex:"zIndex"},queries:[{propertyName:"layerTooltip",first:!0,predicate:C,descendants:!0}],usesInheritance:!0,usesOnChanges:!0,ngImport:a}),a.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:D,decorators:[{type:s.Directive}],ctorParameters:function(){return[{type:void 0},{type:m},{type:y},{type:p.DomSanitizer}]},propDecorators:{attribution:[{type:s.Input}],extent:[{type:s.Input}],maxZoom:[{type:s.Input}],minZoom:[{type:s.Input}],opacity:[{type:s.Input}],zIndex:[{type:s.Input}],layerTooltip:[{type:s.ContentChild,args:[C,{static:!1}]}]}});u(ee,Y=D);var Y,I=ee;function ee(e,t,n){var o=Y.call(this,"bubble",e,t,n)||this;return o.configurationService=e,o.collectionService=t,o.sanitizer=n,o}function te(e,t){for(var n=e;n&&n!==t;)n=n.parentNode;return!!n}I.ɵfac=a.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:I,deps:[{token:m},{token:y},{token:p.DomSanitizer}],target:a.ɵɵFactoryTarget.Component}),I.ɵcmp=a.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:I,selector:"kendo-map-bubble-layer",inputs:{data:"data",locationField:"locationField",valueField:"valueField",symbol:"symbol",style:"style",maxSize:"maxSize",minSize:"minSize"},providers:[m,{provide:D,useExisting:s.forwardRef(function(){return I})}],usesInheritance:!0,ngImport:a,template:"",isInline:!0,changeDetection:a.ChangeDetectionStrategy.OnPush}),a.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:I,decorators:[{type:s.Component,args:[{changeDetection:s.ChangeDetectionStrategy.OnPush,providers:[m,{provide:D,useExisting:s.forwardRef(function(){return I})}],selector:"kendo-map-bubble-layer",template:""}]}],ctorParameters:function(){return[{type:m},{type:y},{type:p.DomSanitizer}]},propDecorators:{data:[{type:s.Input}],locationField:[{type:s.Input}],valueField:[{type:s.Input}],symbol:[{type:s.Input}],style:[{type:s.Input}],maxSize:[{type:s.Input}],minSize:[{type:s.Input}]}});u(re,ne=j.InstanceObserver);var ne,oe=re;function re(e){e=ne.call(this,e)||this;return e.handlerMap={hideTooltip:"onHideTooltip",init:"onInit",render:"onRender",showTooltip:"onShowTooltip",centerChange:"onCenterChange",zoomChange:"onZoomChange"},e}var ie,h=function(e){this.sender=e},ae=(h.ɵfac=a.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:h,deps:"invalid",target:a.ɵɵFactoryTarget.Directive}),h.ɵdir=a.ɵɵngDeclareDirective({minVersion:"12.0.0",version:"12.2.16",type:h,ngImport:a}),a.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:h,decorators:[{type:s.Directive}],ctorParameters:function(){return[{type:void 0}]}}),u(se,ie=h),se);function se(e,t){return ie.call(this,t)||this}u(le,pe=h);var pe,ce=le;function le(e,t){t=pe.call(this,t)||this;return t.location=e.location,t.originalEvent=e.originalEvent,t}u(ge,ue=h);var ue,me=ge;function ge(e,t){t=ue.call(this,t)||this;return t.marker=e.marker,t.layer=e.layer,t}u(ve,ye=h);var ye,he=ve;function ve(e,t){t=ye.call(this,t)||this;return t.marker=e.marker,t.layer=e.layer,t}u(fe,de=h),fe.prototype.preventDefault=function(){this.prevented=!0},fe.prototype.isDefaultPrevented=function(){return this.prevented};var de,k=fe;function fe(){var e=de.apply(this,function(e,t,n){if(n||2===arguments.length)for(var o,r=0,i=t.length;r<i;r++)!o&&r in t||((o=o||Array.prototype.slice.call(t,0,r))[r]=t[r]);return e.concat(o||Array.prototype.slice.call(t))}([],K(arguments)))||this;return e.prevented=!1,e}k.ɵfac=a.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:k,deps:null,target:a.ɵɵFactoryTarget.Directive}),k.ɵdir=a.ɵɵngDeclareDirective({minVersion:"12.0.0",version:"12.2.16",type:k,usesInheritance:!0,ngImport:a}),a.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:k,decorators:[{type:s.Directive}]});u(Ie,Ce=k);var Ce,De=Ie;function Ie(e,t){t=Ce.call(this,t)||this;return t.marker=e.marker,t.layer=e.layer,t}u(Se,ke=h);var ke,be=Se;function Se(e,t){t=ke.call(this,t)||this;return t.origin=e.origin,t.center=e.center,t.originalEvent=e.originalEvent,t}u(Oe,Te=h);var Te,Ee=Oe;function Oe(e,t){t=Te.call(this,t)||this;return t.origin=e.origin,t.center=e.center,t.originalEvent=e.originalEvent,t}u(Re,ze=h);var ze,Ve=Re;function Re(e,t){return ze.call(this,t)||this}u(Pe,we=h);var we,Me=Pe;function Pe(e,t){t=we.call(this,t)||this;return t.layer=e.layer,t.shape=e.shape,t.originalEvent=e.originalEvent,t}u(Le,Fe=h);var Fe,xe=Le;function Le(e,t){t=Fe.call(this,t)||this;return t.layer=e.layer,t.shape=e.shape,t.dataItem=e.shape.dataItem,t.location=e.shape.location,t}u(Ne,je=h);var je,Ae=Ne;function Ne(e,t){t=je.call(this,t)||this;return t.dataItem=e.dataItem,t.layer=e.layer,t.group=e.group,t.properties=e.properties,t}u(qe,Ze=h);var Ze,_e=qe;function qe(e,t){t=Ze.call(this,t)||this;return t.layer=e.layer,t.shape=e.shape,t.originalEvent=e.originalEvent,t}u(Ue,Ke=h);var Ke,Be=Ue;function Ue(e,t){t=Ke.call(this,t)||this;return t.layer=e.layer,t.shape=e.shape,t.originalEvent=e.originalEvent,t}u(Qe,He=h);var He,h=Qe;function Qe(e,t){t=He.call(this,t)||this;return t.originalEvent=e.originalEvent,t}u($e,Xe=k);var Xe,k=$e;function $e(e,t){t=Xe.call(this,t)||this;return t.originalEvent=e.originalEvent,t}var Ge={beforeReset:ae,click:ce,markerActivate:me,markerClick:he,markerCreated:De,panEnd:be,pan:Ee,reset:Ve,shapeClick:Me,shapeCreated:xe,shapeFeatureCreated:Ae,shapeMouseEnter:_e,shapeMouseLeave:Be,zoomEnd:h,zoomStart:k},Je=(We.prototype.create=function(e,t,n){if(Ge[e])return new Ge[e](t,n)},We);function We(){}var Ye={name:"@progress/kendo-angular-map",productName:"Kendo UI for Angular",productCodes:["KENDOUIANGULAR","KENDOUICOMPLETE"],publishDate:1668672513,version:"",licensingDocsUrl:"https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning"},et={horizontal:"fit",vertical:"fit"},b=(Object.defineProperty(S.prototype,"active",{get:function(){return null!==this.popupRef},enumerable:!1,configurable:!0}),S.prototype.show=function(e){e=this.position(e.anchor);this.popupRef?this.popupRef.popup.instance.offset=e:(this.popupRef=this.popupService.open(Object.assign({offset:e,popupAlign:{vertical:"bottom",horizontal:"center"},animate:this.animate,content:this.templateRef,collision:et,positionMode:"absolute"},this.popupSettings)),this.localizationService.rtl&&this.popupRef.popupElement.setAttribute("dir","rtl"),this.onInit())},S.prototype.hide=function(){this.popupRef&&(this.popupRef.close(),this.popupRef=null)},S.prototype.onInit=function(){},S.prototype.ngOnDestroy=function(){this.hide()},S.prototype.position=function(e){var t,n,o;return this.popupSettings&&this.popupSettings.appendTo?(t=(o=this.popupSettings.appendTo.element.nativeElement).getBoundingClientRect(),n=(o=this.scrollOffset(o)).scrollLeft,o=o.scrollTop,{left:e.left-t.left-n,top:e.top-t.top-o}):e},S.prototype.scrollOffset=function(e){if(!e)return null;for(var t=e.scrollLeft,n=e.scrollTop,o=e.parentElement;o;)t+=o.scrollLeft,n+=o.scrollTop,o=o.parentElement;return{scrollLeft:t,scrollTop:n}},S);function S(e,t){this.popupService=e,this.localizationService=t,this.animate=!0,this.style={position:"relative"},this.popupRef=null}function tt(){if(n.isDocumentAvailable())return new s.ElementRef(document.body)}b.ɵfac=a.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:b,deps:[{token:_.PopupService},{token:c.LocalizationService}],target:a.ɵɵFactoryTarget.Directive}),b.ɵdir=a.ɵɵngDeclareDirective({minVersion:"12.0.0",version:"12.2.16",type:b,ngImport:a}),a.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:b,decorators:[{type:s.Directive}],ctorParameters:function(){return[{type:_.PopupService},{type:c.LocalizationService}]}});nt.prototype.registerTemplate=function(e,t){-1<e&&(this.templates[e]=t)},nt.prototype.getTemplate=function(e){if(-1<e)return this.templates[e]};var T=nt;function nt(){this.templates=[]}T.ɵfac=a.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:T,deps:[],target:a.ɵɵFactoryTarget.Injectable}),T.ɵprov=a.ɵɵngDeclareInjectable({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:T}),a.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:T,decorators:[{type:s.Injectable}]});u(E,ot=b),E.prototype.show=function(e){var t;this.tooltipTemplateRef=this.templateService.getTemplate(e.layerIndex),this.tooltipTemplateRef&&(this.popupClasses=Object.assign(((t={"k-tooltip":!0,"k-map-tooltip":!0})[e.className]=Boolean(e.className),t),this.classNames),this.tooltipContext=e,ot.prototype.show.call(this,e))},E.prototype.containsElement=function(e){if(this.popupRef)return te(e,this.popupRef.popupElement)},E.prototype.onInit=function(){var t=this;this.ngZone.runOutsideAngular(function(){t.mouseleaveSubscription=t.popupRef.popupElement.addEventListener("mouseleave",function(e){t.leave.emit(e)})}),this.popupRef.popupElement.classList.add(this.wrapperClass)},E.prototype.hide=function(){this.mouseleaveSubscription&&(this.mouseleaveSubscription(),this.mouseleaveSubscription=null),this.tooltipTemplateRef=null,ot.prototype.hide.call(this)};var ot,b=E;function E(e,t,n,o){var r=ot.call(this,e,n)||this;return r.popupService=e,r.templateService=t,r.localizationService=n,r.ngZone=o,r.tooltipContext={},r.animate=!0,r.wrapperClass="k-tooltip-wrapper",r.leave=new s.EventEmitter,r.popupClasses={},r}b.ɵfac=a.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:b,deps:[{token:_.PopupService},{token:T},{token:c.LocalizationService},{token:a.NgZone}],target:a.ɵɵFactoryTarget.Component}),b.ɵcmp=a.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:b,selector:"kendo-map-tooltip-popup",inputs:{animate:"animate",classNames:"classNames",popupSettings:"popupSettings",wrapperClass:"wrapperClass"},outputs:{leave:"leave"},providers:[r.PopupService,{provide:r.POPUP_CONTAINER,useFactory:tt}],viewQueries:[{propertyName:"templateRef",first:!0,predicate:["content"],descendants:!0,static:!0}],usesInheritance:!0,ngImport:a,template:'\n <ng-template #content>\n <div [ngClass]="popupClasses" [ngStyle]="style">\n <div class="k-tooltip-content">\n <ng-template [ngTemplateOutlet]="tooltipTemplateRef"\n [ngTemplateOutletContext]="tooltipContext">\n </ng-template>\n </div>\n </div>\n </ng-template>\n ',isInline:!0,directives:[{type:l.NgClass,selector:"[ngClass]",inputs:["class","ngClass"]},{type:l.NgStyle,selector:"[ngStyle]",inputs:["ngStyle"]},{type:l.NgTemplateOutlet,selector:"[ngTemplateOutlet]",inputs:["ngTemplateOutletContext","ngTemplateOutlet"]}]}),a.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:b,decorators:[{type:s.Component,args:[{providers:[r.PopupService,{provide:r.POPUP_CONTAINER,useFactory:tt}],selector:"kendo-map-tooltip-popup",template:'\n <ng-template #content>\n <div [ngClass]="popupClasses" [ngStyle]="style">\n <div class="k-tooltip-content">\n <ng-template [ngTemplateOutlet]="tooltipTemplateRef"\n [ngTemplateOutletContext]="tooltipContext">\n </ng-template>\n </div>\n </div>\n </ng-template>\n '}]}],ctorParameters:function(){return[{type:_.PopupService},{type:T},{type:c.LocalizationService},{type:a.NgZone}]},propDecorators:{templateRef:[{type:s.ViewChild,args:["content",{static:!0}]}],animate:[{type:s.Input}],classNames:[{type:s.Input}],popupSettings:[{type:s.Input}],wrapperClass:[{type:s.Input}],leave:[{type:s.Output}]}});O.prototype.ngAfterViewInit=function(){var t=this;this.canRender&&this.ngZone.runOutsideAngular(function(){var e=t.renderer.listen(t.surfaceElement.nativeElement,"mouseleave",t.mapMouseleave.bind(t));t.domSubscriptions=function(){e()}}),this.setDirection(),this.initConfig(),this.subscriptions=this.localizationService.changes.subscribe(function(){return t.setDirection()})},O.prototype.ngAfterViewChecked=function(){var e=this;this.instance&&this.autoResize&&this.ngZone.runOutsideAngular(function(){clearTimeout(e.resizeTimeout),e.resizeTimeout=setTimeout(function(){e.resize()},0)})},O.prototype.ngOnChanges=function(e){this.instance&&(e.zoom&&(this.instance.zoom(e.zoom.currentValue),delete e.zoom),e.center&&(this.instance.center(e.center.currentValue),delete e.center),0===Object.keys(e).length)||(Q(e,e=this.configurationService.store),e.popupSettings=null,this.configurationService.push(e))},O.prototype.ngOnDestroy=function(){this.destroyed=!0,this.optionsChange&&this.optionsChange.unsubscribe(),this.domSubscriptions&&(this.domSubscriptions(),this.domSubscriptions=null),this.instance&&(this.instance.destroy(),this.instance=null),this.subscriptions&&this.subscriptions.unsubscribe()},Object.defineProperty(O.prototype,"layers",{get:function(){var e;return null==(e=this.instance)?void 0:e.layers},enumerable:!1,configurable:!0}),Object.defineProperty(O.prototype,"extent",{get:function(){var e;return null==(e=this.instance)?void 0:e.extent()},set:function(e){var t;null!=(t=this.instance)&&t.extent(e)},enumerable:!1,configurable:!0}),O.prototype.resize=function(){},O.prototype.viewSize=function(){var e;return null==(e=this.instance)?void 0:e.viewSize()},O.prototype.eventOffset=function(e){var t;return null==(t=this.instance)?void 0:t.eventOffset(e)},O.prototype.eventToLayer=function(e){var t;return null==(t=this.instance)?void 0:t.eventToLayer(e)},O.prototype.eventToLocation=function(e){var t;return null==(t=this.instance)?void 0:t.eventToLocation(e)},O.prototype.eventToView=function(e){var t;return null==(t=this.instance)?void 0:t.eventToView(e)},O.prototype.layerToLocation=function(e,t){var n;return null==(n=this.instance)?void 0:n.layerToLocation(e,t)},O.prototype.locationToLayer=function(e,t){var n;return null==(n=this.instance)?void 0:n.locationToLayer(e,t)},O.prototype.locationToView=function(e){var t;return null==(t=this.instance)?void 0:t.locationToView(e)},O.prototype.viewToLocation=function(e,t){var n;return null==(n=this.instance)?void 0:n.viewToLocation(e,t)},O.prototype.onResize=function(){this.autoResize&&this.resize()},Object.defineProperty(O.prototype,"canRender",{get:function(){return n.isDocumentAvailable()&&Boolean(this.surfaceElement)},enumerable:!1,configurable:!0}),Object.defineProperty(O.prototype,"autoResize",{get:function(){return 0<this.resizeRateLimit},enumerable:!1,configurable:!0}),O.prototype.init=function(){var e,t;this.canRender&&(e=this.surfaceElement.nativeElement,t=new oe(this),this.createInstance(e,t))},O.prototype.initConfig=function(){var t=this;n.isDocumentAvailable()&&this.ngZone.runOutsideAngular(function(){t.optionsChange=t.configurationService.changes.pipe(N.tap(function(e){t.options=e})).subscribe(function(){t.instance?t.instance.setOptions(t.options):t.init()})})},O.prototype.createInstance=function(e,t){this.instance=new j.Map(e,this.options,this.theme,{observer:t,rtl:this.rtl,sender:this})},O.prototype.activeEmitter=function(e){e=this["click"===e?"mapClick":e];if(e&&e.emit&&n.hasObservers(e))return e},O.prototype.trigger=function(e,t){var n,o=this.activeEmitter(e);if(o)return n=this.instanceEventService.create(e,t,this),!this.instance&&t.sender&&(this.instance=t.sender),this.run(function(){o.emit(n)}),n.isDefaultPrevented&&n.isDefaultPrevented()},O.prototype.run=function(e,t,n){(t=void 0===t?!0:t)?(n&&this.changeDetector.markForCheck(),this.ngZone.run(e)):(e(),n&&this.detectChanges())},O.prototype.detectChanges=function(){this.destroyed||this.changeDetector.detectChanges()},O.prototype.setDirection=function(){this.rtl=this.isRTL,this.element&&this.renderer.setAttribute(this.element.nativeElement,"dir",this.rtl?"rtl":"ltr")},Object.defineProperty(O.prototype,"isRTL",{get:function(){return Boolean(this.localizationService.rtl)},enumerable:!1,configurable:!0}),O.prototype.onInit=function(e){this.instance=e.sender},O.prototype.onShowTooltip=function(e){var t=this;this.run(function(){t.tooltipInstance.show(e)},!0,!0)},O.prototype.onHideTooltip=function(){var e=this;this.run(function(){e.tooltipInstance.hide()},!0,!0)},O.prototype.onCenterChange=function(e){this.centerChange.next(e.center)},O.prototype.onZoomChange=function(e){this.zoomChange.next(e.zoom)},O.prototype.tooltipMouseleave=function(e){var e=e.relatedTarget,t=this.element.nativeElement;!this.instance||e&&te(e,t)||this.tooltipInstance.hide()},O.prototype.mapMouseleave=function(e){var e=e.relatedTarget,t=this.element.nativeElement;!this.instance||e&&(this.tooltipInstance.containsElement(e)||te(e,t))||this.tooltipInstance.hide()};l=O;function O(e,t,n,o,r,i,a){this.configurationService=e,this.instanceEventService=t,this.element=n,this.localizationService=o,this.changeDetector=r,this.ngZone=i,this.renderer=a,this.resizeRateLimit=10,this.zoom=3,this.beforeReset=new s.EventEmitter,this.mapClick=new s.EventEmitter,this.markerActivate=new s.EventEmitter,this.markerClick=new s.EventEmitter,this.markerCreated=new s.EventEmitter,this.panEnd=new s.EventEmitter,this.pan=new s.EventEmitter,this.reset=new s.EventEmitter,this.shapeClick=new s.EventEmitter,this.shapeCreated=new s.EventEmitter,this.shapeFeatureCreated=new s.EventEmitter,this.shapeMouseEnter=new s.EventEmitter,this.shapeMouseLeave=new s.EventEmitter,this.zoomStart=new s.EventEmitter,this.zoomEnd=new s.EventEmitter,this.centerChange=new s.EventEmitter,this.zoomChange=new s.EventEmitter,this.theme=null,this.rtl=!1,A.validatePackage(Ye)}l.ɵfac=a.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:l,deps:[{token:m},{token:Je},{token:a.ElementRef},{token:c.LocalizationService},{token:a.ChangeDetectorRef},{token:a.NgZone},{token:a.Renderer2}],target:a.ɵɵFactoryTarget.Component}),l.ɵcmp=a.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:l,selector:"kendo-map",inputs:{resizeRateLimit:"resizeRateLimit",center:"center",controls:"controls",minZoom:"minZoom",maxZoom:"maxZoom",minSize:"minSize",pannable:"pannable",popupSettings:"popupSettings",wraparound:"wraparound",zoom:"zoom",zoomable:"zoomable"},outputs:{beforeReset:"beforeReset",mapClick:"mapClick",markerActivate:"markerActivate",markerClick:"markerClick",markerCreated:"markerCreated",panEnd:"panEnd",pan:"pan",reset:"reset",shapeClick:"shapeClick",shapeCreated:"shapeCreated",shapeFeatureCreated:"shapeFeatureCreated",shapeMouseEnter:"shapeMouseEnter",shapeMouseLeave:"shapeMouseLeave",zoomStart:"zoomStart",zoomEnd:"zoomEnd",centerChange:"centerChange",zoomChange:"zoomChange"},providers:[m,Je,o.LocalizationService,T,{provide:o.L10N_PREFIX,useValue:"kendo.map"}],viewQueries:[{propertyName:"surfaceElement",first:!0,predicate:["surface"],descendants:!0,static:!0},{propertyName:"tooltipInstance",first:!0,predicate:b,descendants:!0,static:!0}],exportAs:["kendoChart"],usesOnChanges:!0,ngImport:a,template:'\n <div #surface></div>\n <kendo-map-tooltip-popup (leave)="tooltipMouseleave($event)" [popupSettings]="popupSettings">\n </kendo-map-tooltip-popup>\n <kendo-resize-sensor (resize)="onResize()" [rateLimit]="resizeRateLimit"></kendo-resize-sensor>\n ',isInline:!0,components:[{type:b,selector:"kendo-map-tooltip-popup",inputs:["animate","classNames","popupSettings","wrapperClass"],outputs:["leave"]},{type:t.ResizeSensorComponent,selector:"kendo-resize-sensor",inputs:["rateLimit"],outputs:["resize"]}],changeDetection:a.ChangeDetectionStrategy.OnPush}),a.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:l,decorators:[{type:s.Component,args:[{selector:"kendo-map",changeDetection:s.ChangeDetectionStrategy.OnPush,exportAs:"kendoChart",providers:[m,Je,o.LocalizationService,T,{provide:o.L10N_PREFIX,useValue:"kendo.map"}],template:'\n <div #surface></div>\n <kendo-map-tooltip-popup (leave)="tooltipMouseleave($event)" [popupSettings]="popupSettings">\n </kendo-map-tooltip-popup>\n <kendo-resize-sensor (resize)="onResize()" [rateLimit]="resizeRateLimit"></kendo-resize-sensor>\n '}]}],ctorParameters:function(){return[{type:m},{type:Je},{type:a.ElementRef},{type:c.LocalizationService},{type:a.ChangeDetectorRef},{type:a.NgZone},{type:a.Renderer2}]},propDecorators:{resizeRateLimit:[{type:s.Input}],center:[{type:s.Input}],controls:[{type:s.Input}],minZoom:[{type:s.Input}],maxZoom:[{type:s.Input}],minSize:[{type:s.Input}],pannable:[{type:s.Input}],popupSettings:[{type:s.Input}],wraparound:[{type:s.Input}],zoom:[{type:s.Input}],zoomable:[{type:s.Input}],beforeReset:[{type:s.Output}],mapClick:[{type:s.Output}],markerActivate:[{type:s.Output}],markerClick:[{type:s.Output}],markerCreated:[{type:s.Output}],panEnd:[{type:s.Output}],pan:[{type:s.Output}],reset:[{type:s.Output}],shapeClick:[{type:s.Output}],shapeCreated:[{type:s.Output}],shapeFeatureCreated:[{type:s.Output}],shapeMouseEnter:[{type:s.Output}],shapeMouseLeave:[{type:s.Output}],zoomStart:[{type:s.Output}],zoomEnd:[{type:s.Output}],centerChange:[{type:s.Output}],zoomChange:[{type:s.Output}],surfaceElement:[{type:s.ViewChild,args:["surface",{static:!0}]}],tooltipInstance:[{type:s.ViewChild,args:[b,{static:!0}]}]}});z.prototype.ngOnDestroy=function(){this.subscription.unsubscribe()},z.prototype.ngAfterContentInit=function(){var e=this;this.readItems(),this.children.changes.subscribe(function(){return e.readItems()})},z.prototype.processChanges=function(e){var t;!this.children||(t=this.children.toArray().indexOf(e.sender))<0||(this.items[t]=e.options,e.sender.index=t,this.change())},z.prototype.readItems=function(){this.items=this.children.map(function(e,t){return e.index=t,e.options}),this.change()},z.prototype.change=function(){this.configurationService.notify(new B(this.configKey,0===this.items.length?void 0:this.items))};r=z;function z(e,t,n){var o=this;this.configKey=e,this.configurationService=t,this.collectionService=n,this.items=[],this.subscription=n.itemChanges.subscribe(function(e){return o.processChanges(e)})}r.ɵfac=a.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:r,deps:"invalid",target:a.ɵɵFactoryTarget.Directive}),r.ɵdir=a.ɵɵngDeclareDirective({minVersion:"12.0.0",version:"12.2.16",type:r,ngImport:a}),a.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:r,decorators:[{type:s.Directive}],ctorParameters:function(){return[{type:void 0},{type:m},{type:y}]}});u(it,rt=r);var rt,t=it;function it(e,t){var n=rt.call(this,"layers",e,t)||this;return n.configurationService=e,n.collectionService=t,n}t.ɵfac=a.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:t,deps:[{token:m},{token:y}],target:a.ɵɵFactoryTarget.Component}),t.ɵcmp=a.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:t,selector:"kendo-map-layers",providers:[y],queries:[{propertyName:"children",predicate:D}],usesInheritance:!0,ngImport:a,template:"",isInline:!0,changeDetection:a.ChangeDetectionStrategy.OnPush}),a.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:t,decorators:[{type:s.Component,args:[{changeDetection:s.ChangeDetectionStrategy.OnPush,providers:[y],selector:"kendo-map-layers",template:""}]}],ctorParameters:function(){return[{type:m},{type:y}]},propDecorators:{children:[{type:s.ContentChildren,args:[D]}]}});u(st,at=D);var at,V=st;function st(e,t,n){var o=at.call(this,"marker",e,t,n)||this;return o.configurationService=e,o.collectionService=t,o.sanitizer=n,o}V.ɵfac=a.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:V,deps:[{token:m},{token:y},{token:p.DomSanitizer}],target:a.ɵɵFactoryTarget.Component}),V.ɵcmp=a.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:V,selector:"kendo-map-marker-layer",inputs:{data:"data",locationField:"locationField",titleField:"titleField",shape:"shape"},providers:[m,{provide:D,useExisting:s.forwardRef(function(){return V})}],usesInheritance:!0,ngImport:a,template:"",isInline:!0,changeDetection:a.ChangeDetectionStrategy.OnPush}),a.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:V,decorators:[{type:s.Component,args:[{changeDetection:s.ChangeDetectionStrategy.OnPush,providers:[m,{provide:D,useExisting:s.forwardRef(function(){return V})}],selector:"kendo-map-marker-layer",template:""}]}],ctorParameters:function(){return[{type:m},{type:y},{type:p.DomSanitizer}]},propDecorators:{data:[{type:s.Input}],locationField:[{type:s.Input}],titleField:[{type:s.Input}],shape:[{type:s.Input}]}});u(ct,pt=D);var pt,R=ct;function ct(e,t,n){var o=pt.call(this,"shape",e,t,n)||this;return o.configurationService=e,o.collectionService=t,o.sanitizer=n,o}R.ɵfac=a.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:R,deps:[{token:m},{token:y},{token:p.DomSanitizer}],target:a.ɵɵFactoryTarget.Component}),R.ɵcmp=a.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:R,selector:"kendo-map-shape-layer",inputs:{data:"data",style:"style"},providers:[m,{provide:D,useExisting:s.forwardRef(function(){return R})}],usesInheritance:!0,ngImport:a,template:"",isInline:!0,changeDetection:a.ChangeDetectionStrategy.OnPush}),a.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:R,decorators:[{type:s.Component,args:[{changeDetection:s.ChangeDetectionStrategy.OnPush,providers:[m,{provide:D,useExisting:s.forwardRef(function(){return R})}],selector:"kendo-map-shape-layer",template:""}]}],ctorParameters:function(){return[{type:m},{type:y},{type:p.DomSanitizer}]},propDecorators:{data:[{type:s.Input}],style:[{type:s.Input}]}});u(ut,lt=D);var lt,w=ut;function ut(e,t,n){var o=lt.call(this,"tile",e,t,n)||this;return o.configurationService=e,o.collectionService=t,o.sanitizer=n,o}w.ɵfac=a.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:w,deps:[{token:m},{token:y},{token:p.DomSanitizer}],target:a.ɵɵFactoryTarget.Component}),w.ɵcmp=a.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:w,selector:"kendo-map-tile-layer",inputs:{tileSize:"tileSize",subdomains:"subdomains",urlTemplate:"urlTemplate"},providers:[m,{provide:D,useExisting:s.forwardRef(function(){return w})}],usesInheritance:!0,ngImport:a,template:"",isInline:!0,changeDetection:a.ChangeDetectionStrategy.OnPush}),a.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:w,decorators:[{type:s.Component,args:[{changeDetection:s.ChangeDetectionStrategy.OnPush,providers:[m,{provide:D,useExisting:s.forwardRef(function(){return w})}],selector:"kendo-map-tile-layer",template:""}]}],ctorParameters:function(){return[{type:m},{type:y},{type:p.DomSanitizer}]},propDecorators:{tileSize:[{type:s.Input}],subdomains:[{type:s.Input}],urlTemplate:[{type:s.Input}]}});var mt,o=function(e){this.templateRef=e},r=(o.ɵfac=a.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:o,deps:[{token:a.TemplateRef,optional:!0}],target:a.ɵɵFactoryTarget.Directive}),o.ɵdir=a.ɵɵngDeclareDirective({minVersion:"12.0.0",version:"12.2.16",type:o,selector:"[kendoMapBubbleTooltipTemplate]",ngImport:a}),a.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:o,decorators:[{type:s.Directive,args:[{selector:"[kendoMapBubbleTooltipTemplate]"}]}],ctorParameters:function(){return[{type:a.TemplateRef,decorators:[{type:s.Optional}]}]}}),function(e){this.templateRef=e}),M=(r.ɵfac=a.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:r,deps:[{token:a.TemplateRef,optional:!0}],target:a.ɵɵFactoryTarget.Directive}),r.ɵdir=a.ɵɵngDeclareDirective({minVersion:"12.0.0",version:"12.2.16",type:r,selector:"[kendoMapMarkerTooltipTemplate]",ngImport:a}),a.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:r,decorators:[{type:s.Directive,args:[{selector:"[kendoMapMarkerTooltipTemplate]"}]}],ctorParameters:function(){return[{type:a.TemplateRef,decorators:[{type:s.Optional}]}]}}),function(e){this.templateRef=e}),P=(M.ɵfac=a.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:M,deps:[{token:a.TemplateRef,optional:!0}],target:a.ɵɵFactoryTarget.Directive}),M.ɵdir=a.ɵɵngDeclareDirective({minVersion:"12.0.0",version:"12.2.16",type:M,selector:"[kendoMapShapeTooltipTemplate]",ngImport:a}),a.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:M,decorators:[{type:s.Directive,args:[{selector:"[kendoMapShapeTooltipTemplate]"}]}],ctorParameters:function(){return[{type:a.TemplateRef,decorators:[{type:s.Optional}]}]}}),u(gt,mt=d),gt.prototype.ngAfterContentChecked=function(){var e;this.templateService.registerTemplate(this.layer.index,null==(e=this.bubbleTooltipTemplate)?void 0:e.templateRef)},gt);function gt(e,t,n){var o=mt.call(this,"tooltip",e)||this;return o.configurationService=e,o.templateService=t,o.layer=n,o}P.ɵfac=a.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:P,deps:[{token:m},{token:T},{token:D}],target:a.ɵɵFactoryTarget.Component}),P.ɵcmp=a.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:P,selector:"kendo-map-bubble-layer-tooltip",queries:[{propertyName:"bubbleTooltipTemplate",first:!0,predicate:o,descendants:!0}],usesInheritance:!0,ngImport:a,template:"",isInline:!0}),a.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:P,decorators:[{type:s.Component,args:[{selector:"kendo-map-bubble-layer-tooltip",template:""}]}],ctorParameters:function(){return[{type:m},{type:T},{type:D}]},propDecorators:{bubbleTooltipTemplate:[{type:s.ContentChild,args:[o,{static:!1}]}]}});u(ht,yt=d),ht.prototype.ngAfterContentChecked=function(){var e;this.templateService.registerTemplate(this.layer.index,null==(e=this.markerTooltipTemplate)?void 0:e.templateRef)};var yt,F=ht;function ht(e,t,n){var o=yt.call(this,"tooltip",e)||this;return o.configurationService=e,o.templateService=t,o.layer=n,o}F.ɵfac=a.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:F,deps:[{token:m},{token:T},{token:D}],target:a.ɵɵFactoryTarget.Component}),F.ɵcmp=a.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:F,selector:"kendo-map-marker-layer-tooltip",queries:[{propertyName:"markerTooltipTemplate",first:!0,predicate:r,descendants:!0}],usesInheritance:!0,ngImport:a,template:"",isInline:!0}),a.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:F,decorators:[{type:s.Component,args:[{selector:"kendo-map-marker-layer-tooltip",template:""}]}],ctorParameters:function(){return[{type:m},{type:T},{type:D}]},propDecorators:{markerTooltipTemplate:[{type:s.ContentChild,args:[r,{static:!1}]}]}});u(dt,vt=d),dt.prototype.ngAfterContentChecked=function(){var e;this.templateService.registerTemplate(this.layer.index,null==(e=this.shapeTooltipTemplate)?void 0:e.templateRef)};var vt,d=dt;function dt(e,t,n){var o=vt.call(this,"tooltip",e)||this;return o.configurationService=e,o.templateService=t,o.layer=n,o}d.ɵfac=a.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:d,deps:[{token:m},{token:T},{token:D}],target:a.ɵɵFactoryTarget.Component}),d.ɵcmp=a.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:d,selector:"kendo-map-shape-layer-tooltip",queries:[{propertyName:"shapeTooltipTemplate",first:!0,predicate:M,descendants:!0}],usesInheritance:!0,ngImport:a,template:"",isInline:!0}),a.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:d,decorators:[{type:s.Component,args:[{selector:"kendo-map-shape-layer-tooltip",template:""}]}],ctorParameters:function(){return[{type:m},{type:T},{type:D}]},propDecorators:{shapeTooltipTemplate:[{type:s.ContentChild,args:[M,{static:!1}]}]}});var ft=[I,P,o,C,t,l,V,F,r,R,d,M,w,b],x=function(){};x.ɵfac=a.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:x,deps:[],target:a.ɵɵFactoryTarget.NgModule}),x.ɵmod=a.ɵɵngDeclareNgModule({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:x,declarations:[I,P,o,C,t,l,V,F,r,R,d,M,w,b],imports:[Z.CommonModule,n.ResizeSensorModule],exports:[I,P,o,C,t,l,V,F,r,R,d,M,w,b]}),x.ɵinj=a.ɵɵngDeclareInjector({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:x,imports:[[Z.CommonModule,n.ResizeSensorModule]]}),a.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:x,decorators:[{type:s.NgModule,args:[{declarations:[ft],imports:[Z.CommonModule,n.ResizeSensorModule],exports:[ft]}]}]}),Object.defineProperty(e,"Extent",{enumerable:!0,get:function(){return j.Extent}}),Object.defineProperty(e,"Location",{enumerable:!0,get:function(){return j.Location}}),e.BeforeResetEvent=ae,e.BubbleLayerComponent=I,e.BubbleTooltipComponent=P,e.BubbleTooltipTemplateDirective=o,e.LayerTooltipComponent=C,e.LayersComponent=t,e.MapClickEvent=ce,e.MapComponent=l,e.MapModule=x,e.MarkerActivateEvent=me,e.MarkerClickEvent=he,e.MarkerCreatedEvent=De,e.MarkerLayerComponent=V,e.MarkerTooltipComponent=F,e.MarkerTooltipTemplateDirective=r,e.PanEndEvent=be,e.PanEvent=Ee,e.ResetEvent=Ve,e.ShapeClickEvent=Me,e.ShapeCreatedEvent=xe,e.ShapeFeatureCreatedEvent=Ae,e.ShapeLayerComponent=R,e.ShapeMouseEnterEvent=_e,e.ShapeMouseLeaveEvent=Be,e.ShapeTooltipComponent=d,e.ShapeTooltipTemplateDirective=M,e.TileLayerComponent=w,e.TooltipPopupComponent=b,e.ZoomEndEvent=h,e.ZoomStartEvent=k,e.bodyFactory=tt,Object.defineProperty(e,"__esModule",{value:!0})});
@@ -9,7 +9,7 @@ export const packageMetadata = {
9
9
  name: '@progress/kendo-angular-map',
10
10
  productName: 'Kendo UI for Angular',
11
11
  productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
12
- publishDate: 1665569923,
12
+ publishDate: 1668672513,
13
13
  version: '',
14
14
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning'
15
15
  };
@@ -5,7 +5,7 @@
5
5
  import { Directive, Optional } from '@angular/core';
6
6
  import * as i0 from "@angular/core";
7
7
  /**
8
- * A directive that sets a [template]({{ site.data.urls.angular['templatesyntax'] }})
8
+ * A directive that sets a [template](link:site.data.urls.angular['templatesyntax'])
9
9
  * within the `<kendo-map-tooltip>` component for the Map
10
10
  * [Bubble layer tooltip]({% slug bubble_layers_map %}#toc-tooltip).
11
11
  *
@@ -5,7 +5,7 @@
5
5
  import { Directive, Optional } from '@angular/core';
6
6
  import * as i0 from "@angular/core";
7
7
  /**
8
- * A directive that sets a [template]({{ site.data.urls.angular['templatesyntax'] }})
8
+ * A directive that sets a [template](link:site.data.urls.angular['templatesyntax'])
9
9
  * within the `<kendo-map-tooltip>` component for the Map
10
10
  * [Marker layer tooltip]({% slug marker_layers_map %}#toc-tooltip).
11
11
  *
@@ -5,7 +5,7 @@
5
5
  import { Directive, Optional } from '@angular/core';
6
6
  import * as i0 from "@angular/core";
7
7
  /**
8
- * A directive that sets a [template]({{ site.data.urls.angular['templatesyntax'] }})
8
+ * A directive that sets a [template](link:site.data.urls.angular['templatesyntax'])
9
9
  * within the `<kendo-map-tooltip>` component for the Map
10
10
  * [Shape layer tooltip]({% slug shape_layers_map %}#toc-tooltip).
11
11
  *
@@ -691,7 +691,7 @@ const packageMetadata = {
691
691
  name: '@progress/kendo-angular-map',
692
692
  productName: 'Kendo UI for Angular',
693
693
  productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
694
- publishDate: 1665569923,
694
+ publishDate: 1668672513,
695
695
  version: '',
696
696
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning'
697
697
  };
@@ -1659,7 +1659,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
1659
1659
  }] } });
1660
1660
 
1661
1661
  /**
1662
- * A directive that sets a [template]({{ site.data.urls.angular['templatesyntax'] }})
1662
+ * A directive that sets a [template](link:site.data.urls.angular['templatesyntax'])
1663
1663
  * within the `<kendo-map-tooltip>` component for the Map
1664
1664
  * [Bubble layer tooltip]({% slug bubble_layers_map %}#toc-tooltip).
1665
1665
  *
@@ -1686,7 +1686,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
1686
1686
  }] }]; } });
1687
1687
 
1688
1688
  /**
1689
- * A directive that sets a [template]({{ site.data.urls.angular['templatesyntax'] }})
1689
+ * A directive that sets a [template](link:site.data.urls.angular['templatesyntax'])
1690
1690
  * within the `<kendo-map-tooltip>` component for the Map
1691
1691
  * [Marker layer tooltip]({% slug marker_layers_map %}#toc-tooltip).
1692
1692
  *
@@ -1712,7 +1712,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
1712
1712
  }] }]; } });
1713
1713
 
1714
1714
  /**
1715
- * A directive that sets a [template]({{ site.data.urls.angular['templatesyntax'] }})
1715
+ * A directive that sets a [template](link:site.data.urls.angular['templatesyntax'])
1716
1716
  * within the `<kendo-map-tooltip>` component for the Map
1717
1717
  * [Shape layer tooltip]({% slug shape_layers_map %}#toc-tooltip).
1718
1718
  *
@@ -17,6 +17,9 @@ export declare class TileLayerComponent extends LayerComponent implements TileLa
17
17
  protected sanitizer: DomSanitizer;
18
18
  tileSize: number;
19
19
  subdomains: string[];
20
+ /**
21
+ * A function that returns an image URL for each tile position.
22
+ */
20
23
  urlTemplate: (args: TileUrlTemplateArgs) => string;
21
24
  constructor(configurationService: ConfigurationService, collectionService: CollectionService, sanitizer: DomSanitizer);
22
25
  static ɵfac: i0.ɵɵFactoryDeclaration<TileLayerComponent, never>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@progress/kendo-angular-map",
3
- "version": "0.3.2-dev.202210121019",
3
+ "version": "0.3.3-dev.202211170809",
4
4
  "description": "Kendo UI Map for Angular",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "author": "Progress",
@@ -30,8 +30,8 @@
30
30
  "tslib": "^2.3.1"
31
31
  },
32
32
  "peerDependencies": {
33
- "@angular/common": "12 - 14",
34
- "@angular/core": "12 - 14",
33
+ "@angular/common": "12 - 15",
34
+ "@angular/core": "12 - 15",
35
35
  "@progress/kendo-angular-common": "^3.0.0",
36
36
  "@progress/kendo-angular-l10n": "^4.0.0",
37
37
  "@progress/kendo-angular-popup": "^5.0.0",
@@ -5,7 +5,7 @@
5
5
  import { TemplateRef } from '@angular/core';
6
6
  import * as i0 from "@angular/core";
7
7
  /**
8
- * A directive that sets a [template]({{ site.data.urls.angular['templatesyntax'] }})
8
+ * A directive that sets a [template](link:site.data.urls.angular['templatesyntax'])
9
9
  * within the `<kendo-map-tooltip>` component for the Map
10
10
  * [Bubble layer tooltip]({% slug bubble_layers_map %}#toc-tooltip).
11
11
  *
@@ -5,7 +5,7 @@
5
5
  import { TemplateRef } from '@angular/core';
6
6
  import * as i0 from "@angular/core";
7
7
  /**
8
- * A directive that sets a [template]({{ site.data.urls.angular['templatesyntax'] }})
8
+ * A directive that sets a [template](link:site.data.urls.angular['templatesyntax'])
9
9
  * within the `<kendo-map-tooltip>` component for the Map
10
10
  * [Marker layer tooltip]({% slug marker_layers_map %}#toc-tooltip).
11
11
  *
@@ -5,7 +5,7 @@
5
5
  import { TemplateRef } from '@angular/core';
6
6
  import * as i0 from "@angular/core";
7
7
  /**
8
- * A directive that sets a [template]({{ site.data.urls.angular['templatesyntax'] }})
8
+ * A directive that sets a [template](link:site.data.urls.angular['templatesyntax'])
9
9
  * within the `<kendo-map-tooltip>` component for the Map
10
10
  * [Shape layer tooltip]({% slug shape_layers_map %}#toc-tooltip).
11
11
  *