@progress/kendo-angular-map 0.3.3 → 11.0.0-develop.80

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.
Files changed (113) hide show
  1. package/NOTICE.txt +3 -3
  2. package/common/collection-item.component.d.ts +1 -1
  3. package/common/collection.component.d.ts +1 -1
  4. package/common/collection.service.d.ts +1 -1
  5. package/common/configuration.service.d.ts +1 -1
  6. package/common/copy-changes.d.ts +1 -1
  7. package/common/has-parent.d.ts +1 -1
  8. package/common/map-instance-observer.d.ts +1 -1
  9. package/common/settings.component.d.ts +1 -1
  10. package/common/to-simple-changes.d.ts +1 -1
  11. package/{esm2015/common/collection-item.component.js → esm2020/common/collection-item.component.mjs} +6 -5
  12. package/{esm2015/common/collection.component.js → esm2020/common/collection.component.mjs} +6 -4
  13. package/{esm2015/common/collection.service.js → esm2020/common/collection.service.mjs} +4 -4
  14. package/{esm2015/common/configuration.service.js → esm2020/common/configuration.service.mjs} +5 -5
  15. package/{esm2015/common/copy-changes.js → esm2020/common/copy-changes.mjs} +1 -1
  16. package/{esm2015/common/has-parent.js → esm2020/common/has-parent.mjs} +1 -1
  17. package/{esm2015/common/map-instance-observer.js → esm2020/common/map-instance-observer.mjs} +1 -1
  18. package/{esm2015/common/settings.component.js → esm2020/common/settings.component.mjs} +5 -4
  19. package/{esm2015/common/to-simple-changes.js → esm2020/common/to-simple-changes.mjs} +1 -1
  20. package/{esm2015/events/base-event.js → esm2020/events/base-event.mjs} +4 -4
  21. package/{esm2015/events/before-reset-event.js → esm2020/events/before-reset-event.mjs} +1 -1
  22. package/{esm2015/events/instance-event.service.js → esm2020/events/instance-event.service.mjs} +1 -1
  23. package/{esm2015/events/map-click-event.js → esm2020/events/map-click-event.mjs} +1 -1
  24. package/{esm2015/events/marker-activate-event.js → esm2020/events/marker-activate-event.mjs} +1 -1
  25. package/{esm2015/events/marker-click-event.js → esm2020/events/marker-click-event.mjs} +1 -1
  26. package/{esm2015/events/marker-created-event.js → esm2020/events/marker-created-event.mjs} +1 -1
  27. package/{esm2015/events/pan-end-event.js → esm2020/events/pan-end-event.mjs} +1 -1
  28. package/{esm2015/events/pan-event.js → esm2020/events/pan-event.mjs} +1 -1
  29. package/{esm2015/events/preventable-event.js → esm2020/events/preventable-event.mjs} +4 -4
  30. package/{esm2015/events/reset-event.js → esm2020/events/reset-event.mjs} +1 -1
  31. package/{esm2015/events/shape-click-event.js → esm2020/events/shape-click-event.mjs} +1 -1
  32. package/{esm2015/events/shape-created-event.js → esm2020/events/shape-created-event.mjs} +1 -1
  33. package/{esm2015/events/shape-feature-created-event.js → esm2020/events/shape-feature-created-event.mjs} +1 -1
  34. package/{esm2015/events/shape-mouse-enter-event.js → esm2020/events/shape-mouse-enter-event.mjs} +1 -1
  35. package/{esm2015/events/shape-mouse-leave-event.js → esm2020/events/shape-mouse-leave-event.mjs} +1 -1
  36. package/{esm2015/events/zoom-end-event.js → esm2020/events/zoom-end-event.mjs} +1 -1
  37. package/{esm2015/events/zoom-start-event.js → esm2020/events/zoom-start-event.mjs} +1 -1
  38. package/{esm2015/events.js → esm2020/events.mjs} +1 -1
  39. package/{esm2015/main.js → esm2020/index.mjs} +1 -1
  40. package/{esm2015/map/bubble-layer.component.js → esm2020/map/bubble-layer.component.mjs} +6 -4
  41. package/{esm2015/map/layer/tooltip.component.js → esm2020/map/layer/tooltip.component.mjs} +5 -4
  42. package/{esm2015/map/layer.component.js → esm2020/map/layer.component.mjs} +7 -4
  43. package/{esm2015/map/layers.component.js → esm2020/map/layers.component.mjs} +6 -5
  44. package/{esm2015/map/marker-layer.component.js → esm2020/map/marker-layer.component.mjs} +6 -4
  45. package/{esm2015/map/shape-layer.component.js → esm2020/map/shape-layer.component.mjs} +6 -4
  46. package/{esm2015/map/tile-layer.component.js → esm2020/map/tile-layer.component.mjs} +6 -4
  47. package/{esm2015/map.component.js → esm2020/map.component.mjs} +21 -33
  48. package/{esm2015/map.directives.js → esm2020/map.directives.mjs} +1 -1
  49. package/{esm2015/map.module.js → esm2020/map.module.mjs} +5 -5
  50. package/{esm2015/package-metadata.js → esm2020/package-metadata.mjs} +3 -3
  51. package/{esm2015/kendo-angular-map.js → esm2020/progress-kendo-angular-map.mjs} +2 -2
  52. package/{esm2015/tooltip/base-tooltip.js → esm2020/tooltip/base-tooltip.mjs} +7 -4
  53. package/{esm2015/tooltip/body-factory.js → esm2020/tooltip/body-factory.mjs} +1 -1
  54. package/{esm2015/tooltip/bubble-tooltip-template.directive.js → esm2020/tooltip/bubble-tooltip-template.directive.mjs} +5 -5
  55. package/{esm2015/tooltip/bubble-tooltip.component.js → esm2020/tooltip/bubble-tooltip.component.mjs} +8 -6
  56. package/{esm2015/tooltip/marker-tooltip-template.directive.js → esm2020/tooltip/marker-tooltip-template.directive.mjs} +5 -5
  57. package/{esm2015/tooltip/marker-tooltip.component.js → esm2020/tooltip/marker-tooltip.component.mjs} +8 -6
  58. package/{esm2015/tooltip/popup-settings.interface.js → esm2020/tooltip/popup-settings.interface.mjs} +1 -1
  59. package/{esm2015/tooltip/shape-tooltip-template.directive.js → esm2020/tooltip/shape-tooltip-template.directive.mjs} +5 -5
  60. package/{esm2015/tooltip/shape-tooltip.component.js → esm2020/tooltip/shape-tooltip.component.mjs} +8 -6
  61. package/{esm2015/tooltip/tooltip-popup.component.js → esm2020/tooltip/tooltip-popup.component.mjs} +7 -5
  62. package/{esm2015/tooltip/tooltip-template.service.js → esm2020/tooltip/tooltip-template.service.mjs} +4 -4
  63. package/{esm2015/tooltip.js → esm2020/tooltip.mjs} +1 -1
  64. package/events/base-event.d.ts +1 -1
  65. package/events/before-reset-event.d.ts +1 -1
  66. package/events/instance-event.service.d.ts +1 -1
  67. package/events/map-click-event.d.ts +1 -1
  68. package/events/marker-activate-event.d.ts +1 -1
  69. package/events/marker-click-event.d.ts +1 -1
  70. package/events/marker-created-event.d.ts +1 -1
  71. package/events/pan-end-event.d.ts +1 -1
  72. package/events/pan-event.d.ts +1 -1
  73. package/events/preventable-event.d.ts +1 -1
  74. package/events/reset-event.d.ts +1 -1
  75. package/events/shape-click-event.d.ts +1 -1
  76. package/events/shape-created-event.d.ts +1 -1
  77. package/events/shape-feature-created-event.d.ts +1 -1
  78. package/events/shape-mouse-enter-event.d.ts +1 -1
  79. package/events/shape-mouse-leave-event.d.ts +1 -1
  80. package/events/zoom-end-event.d.ts +1 -1
  81. package/events/zoom-start-event.d.ts +1 -1
  82. package/events.d.ts +1 -1
  83. package/fesm2015/{kendo-angular-map.js → progress-kendo-angular-map.mjs} +99 -92
  84. package/fesm2020/progress-kendo-angular-map.mjs +1852 -0
  85. package/{main.d.ts → index.d.ts} +1 -1
  86. package/map/bubble-layer.component.d.ts +1 -1
  87. package/map/layer/tooltip.component.d.ts +1 -1
  88. package/map/layer.component.d.ts +19 -1
  89. package/map/layers.component.d.ts +1 -1
  90. package/map/marker-layer.component.d.ts +1 -1
  91. package/map/shape-layer.component.d.ts +1 -1
  92. package/map/tile-layer.component.d.ts +1 -1
  93. package/map.component.d.ts +1 -1
  94. package/map.directives.d.ts +1 -1
  95. package/map.module.d.ts +1 -1
  96. package/package-metadata.d.ts +1 -1
  97. package/package.json +30 -56
  98. package/{kendo-angular-map.d.ts → progress-kendo-angular-map.d.ts} +2 -2
  99. package/schematics/ngAdd/index.js +1 -5
  100. package/tooltip/base-tooltip.d.ts +1 -1
  101. package/tooltip/body-factory.d.ts +1 -1
  102. package/tooltip/bubble-tooltip-template.directive.d.ts +1 -1
  103. package/tooltip/bubble-tooltip.component.d.ts +1 -1
  104. package/tooltip/marker-tooltip-template.directive.d.ts +1 -1
  105. package/tooltip/marker-tooltip.component.d.ts +1 -1
  106. package/tooltip/popup-settings.interface.d.ts +1 -1
  107. package/tooltip/shape-tooltip-template.directive.d.ts +1 -1
  108. package/tooltip/shape-tooltip.component.d.ts +1 -1
  109. package/tooltip/tooltip-popup.component.d.ts +1 -1
  110. package/tooltip/tooltip-template.service.d.ts +1 -1
  111. package/tooltip.d.ts +1 -1
  112. package/bundles/kendo-angular-map.umd.js +0 -5
  113. package/schematics/ngAdd/index.js.map +0 -1
@@ -1,8 +1,10 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2022 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
5
  import { ChangeDetectionStrategy, Component, forwardRef, Input } from '@angular/core';
6
+ import { DomSanitizer } from '@angular/platform-browser';
7
+ import { CollectionService } from '../common/collection.service';
6
8
  import { ConfigurationService } from '../common/configuration.service';
7
9
  import { LayerComponent } from './layer.component';
8
10
  import * as i0 from "@angular/core";
@@ -20,15 +22,15 @@ export class MarkerLayerComponent extends LayerComponent {
20
22
  this.sanitizer = sanitizer;
21
23
  }
22
24
  }
23
- MarkerLayerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: MarkerLayerComponent, deps: [{ token: i1.ConfigurationService }, { token: i2.CollectionService }, { token: i3.DomSanitizer }], target: i0.ɵɵFactoryTarget.Component });
24
- MarkerLayerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: MarkerLayerComponent, selector: "kendo-map-marker-layer", inputs: { data: "data", locationField: "locationField", titleField: "titleField", shape: "shape" }, providers: [
25
+ MarkerLayerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MarkerLayerComponent, deps: [{ token: i1.ConfigurationService }, { token: i2.CollectionService }, { token: i3.DomSanitizer }], target: i0.ɵɵFactoryTarget.Component });
26
+ MarkerLayerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: MarkerLayerComponent, selector: "kendo-map-marker-layer", inputs: { data: "data", locationField: "locationField", titleField: "titleField", shape: "shape" }, providers: [
25
27
  ConfigurationService,
26
28
  {
27
29
  provide: LayerComponent,
28
30
  useExisting: forwardRef(() => MarkerLayerComponent)
29
31
  }
30
32
  ], usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
31
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: MarkerLayerComponent, decorators: [{
33
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MarkerLayerComponent, decorators: [{
32
34
  type: Component,
33
35
  args: [{
34
36
  changeDetection: ChangeDetectionStrategy.OnPush,
@@ -1,8 +1,10 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2022 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
5
  import { ChangeDetectionStrategy, Component, forwardRef, Input } from '@angular/core';
6
+ import { DomSanitizer } from '@angular/platform-browser';
7
+ import { CollectionService } from '../common/collection.service';
6
8
  import { ConfigurationService } from '../common/configuration.service';
7
9
  import { LayerComponent } from './layer.component';
8
10
  import * as i0 from "@angular/core";
@@ -20,15 +22,15 @@ export class ShapeLayerComponent extends LayerComponent {
20
22
  this.sanitizer = sanitizer;
21
23
  }
22
24
  }
23
- ShapeLayerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ShapeLayerComponent, deps: [{ token: i1.ConfigurationService }, { token: i2.CollectionService }, { token: i3.DomSanitizer }], target: i0.ɵɵFactoryTarget.Component });
24
- ShapeLayerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: ShapeLayerComponent, selector: "kendo-map-shape-layer", inputs: { data: "data", style: "style" }, providers: [
25
+ ShapeLayerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ShapeLayerComponent, deps: [{ token: i1.ConfigurationService }, { token: i2.CollectionService }, { token: i3.DomSanitizer }], target: i0.ɵɵFactoryTarget.Component });
26
+ ShapeLayerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: ShapeLayerComponent, selector: "kendo-map-shape-layer", inputs: { data: "data", style: "style" }, providers: [
25
27
  ConfigurationService,
26
28
  {
27
29
  provide: LayerComponent,
28
30
  useExisting: forwardRef(() => ShapeLayerComponent)
29
31
  }
30
32
  ], usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
31
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ShapeLayerComponent, decorators: [{
33
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ShapeLayerComponent, decorators: [{
32
34
  type: Component,
33
35
  args: [{
34
36
  changeDetection: ChangeDetectionStrategy.OnPush,
@@ -1,8 +1,10 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2022 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
5
  import { ChangeDetectionStrategy, Component, forwardRef, Input } from '@angular/core';
6
+ import { DomSanitizer } from '@angular/platform-browser';
7
+ import { CollectionService } from '../common/collection.service';
6
8
  import { ConfigurationService } from '../common/configuration.service';
7
9
  import { LayerComponent } from './layer.component';
8
10
  import * as i0 from "@angular/core";
@@ -20,15 +22,15 @@ export class TileLayerComponent extends LayerComponent {
20
22
  this.sanitizer = sanitizer;
21
23
  }
22
24
  }
23
- TileLayerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TileLayerComponent, deps: [{ token: i1.ConfigurationService }, { token: i2.CollectionService }, { token: i3.DomSanitizer }], target: i0.ɵɵFactoryTarget.Component });
24
- TileLayerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: TileLayerComponent, selector: "kendo-map-tile-layer", inputs: { tileSize: "tileSize", subdomains: "subdomains", urlTemplate: "urlTemplate" }, providers: [
25
+ TileLayerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TileLayerComponent, deps: [{ token: i1.ConfigurationService }, { token: i2.CollectionService }, { token: i3.DomSanitizer }], target: i0.ɵɵFactoryTarget.Component });
26
+ TileLayerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: TileLayerComponent, selector: "kendo-map-tile-layer", inputs: { tileSize: "tileSize", subdomains: "subdomains", urlTemplate: "urlTemplate" }, providers: [
25
27
  ConfigurationService,
26
28
  {
27
29
  provide: LayerComponent,
28
30
  useExisting: forwardRef(() => TileLayerComponent)
29
31
  }
30
32
  ], usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
31
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TileLayerComponent, decorators: [{
33
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TileLayerComponent, decorators: [{
32
34
  type: Component,
33
35
  args: [{
34
36
  changeDetection: ChangeDetectionStrategy.OnPush,
@@ -1,8 +1,8 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2022 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
- import { ChangeDetectionStrategy, Component, EventEmitter, Input, Output, ViewChild } from '@angular/core';
5
+ import { ChangeDetectionStrategy, ChangeDetectorRef, Component, ElementRef, EventEmitter, Input, NgZone, Output, Renderer2, ViewChild } from '@angular/core';
6
6
  import { hasObservers, isDocumentAvailable } from '@progress/kendo-angular-common';
7
7
  import { L10N_PREFIX, LocalizationService } from '@progress/kendo-angular-l10n';
8
8
  import { Map } from '@progress/kendo-charts';
@@ -178,12 +178,12 @@ export class MapComponent {
178
178
  }
179
179
  ngOnChanges(changes) {
180
180
  if (this.instance) {
181
- if (changes.zoom) {
182
- this.instance.zoom(changes.zoom.currentValue);
181
+ if (changes['zoom']) {
182
+ this.instance.zoom(changes['zoom'].currentValue);
183
183
  delete changes['zoom'];
184
184
  }
185
- if (changes.center) {
186
- this.instance.center(changes.center.currentValue);
185
+ if (changes['center']) {
186
+ this.instance.center(changes['center'].currentValue);
187
187
  delete changes['center'];
188
188
  }
189
189
  if (Object.keys(changes).length === 0) {
@@ -216,22 +216,19 @@ export class MapComponent {
216
216
  * The marker layers instances.
217
217
  */
218
218
  get layers() {
219
- var _a;
220
- return (_a = this.instance) === null || _a === void 0 ? void 0 : _a.layers;
219
+ return this.instance?.layers;
221
220
  }
222
221
  /**
223
222
  * Gets the extent (visible area) of the map.
224
223
  */
225
224
  get extent() {
226
- var _a;
227
- return (_a = this.instance) === null || _a === void 0 ? void 0 : _a.extent();
225
+ return this.instance?.extent();
228
226
  }
229
227
  /**
230
228
  * Sets the extent (visible area) of the map.
231
229
  */
232
230
  set extent(extent) {
233
- var _a;
234
- (_a = this.instance) === null || _a === void 0 ? void 0 : _a.extent(extent);
231
+ this.instance?.extent(extent);
235
232
  }
236
233
  /**
237
234
  * Detects the size of the container and redraws the Map.
@@ -246,8 +243,7 @@ export class MapComponent {
246
243
  * @returns The size (width and height) of the visible portion of the map.
247
244
  */
248
245
  viewSize() {
249
- var _a;
250
- return (_a = this.instance) === null || _a === void 0 ? void 0 : _a.viewSize();
246
+ return this.instance?.viewSize();
251
247
  }
252
248
  /**
253
249
  * Returns the event coordinates relative to the map element. Offset coordinates are not synchronized to a particular location on the map.
@@ -256,8 +252,7 @@ export class MapComponent {
256
252
  * @returns The event coordinates relative to the map element.
257
253
  */
258
254
  eventOffset(e) {
259
- var _a;
260
- return (_a = this.instance) === null || _a === void 0 ? void 0 : _a.eventOffset(e);
255
+ return this.instance?.eventOffset(e);
261
256
  }
262
257
  /**
263
258
  * Retrieves projected (layer) coordinates that correspond to this mouse event. Layer coordinates are absolute and change only when the zoom level is changed.
@@ -266,8 +261,7 @@ export class MapComponent {
266
261
  * @returns The projected (layer) coordinates that correspond to this event.
267
262
  */
268
263
  eventToLayer(e) {
269
- var _a;
270
- return (_a = this.instance) === null || _a === void 0 ? void 0 : _a.eventToLayer(e);
264
+ return this.instance?.eventToLayer(e);
271
265
  }
272
266
  /**
273
267
  * Retrieves the geographic location that correspond to this mouse event.
@@ -276,8 +270,7 @@ export class MapComponent {
276
270
  * @returns The geographic location that correspond to this mouse event.
277
271
  */
278
272
  eventToLocation(e) {
279
- var _a;
280
- return (_a = this.instance) === null || _a === void 0 ? void 0 : _a.eventToLocation(e);
273
+ return this.instance?.eventToLocation(e);
281
274
  }
282
275
  /**
283
276
  * Retrieves relative (view) coordinates that correspond to this mouse event. Layer elements positioned on these coordinates will appear under the mouse cursor.
@@ -287,8 +280,7 @@ export class MapComponent {
287
280
  * @returns The relative (view) coordinates that correspond to this mouse event.
288
281
  */
289
282
  eventToView(e) {
290
- var _a;
291
- return (_a = this.instance) === null || _a === void 0 ? void 0 : _a.eventToView(e);
283
+ return this.instance?.eventToView(e);
292
284
  }
293
285
  /**
294
286
  * Transforms layer (projected) coordinates to geographical location.
@@ -298,8 +290,7 @@ export class MapComponent {
298
290
  * @returns The geographic location that corresponds to the layer coordinates.
299
291
  */
300
292
  layerToLocation(point, zoom) {
301
- var _a;
302
- return (_a = this.instance) === null || _a === void 0 ? void 0 : _a.layerToLocation(point, zoom);
293
+ return this.instance?.layerToLocation(point, zoom);
303
294
  }
304
295
  /**
305
296
  * Returns the layer (projected) coordinates that correspond to a geographical location.
@@ -309,8 +300,7 @@ export class MapComponent {
309
300
  * @returns The layer (projected) coordinates.
310
301
  */
311
302
  locationToLayer(location, zoom) {
312
- var _a;
313
- return (_a = this.instance) === null || _a === void 0 ? void 0 : _a.locationToLayer(location, zoom);
303
+ return this.instance?.locationToLayer(location, zoom);
314
304
  }
315
305
  /**
316
306
  * Returns the view (relative) coordinates that correspond to a geographical location.
@@ -319,8 +309,7 @@ export class MapComponent {
319
309
  * @returns The view coordinates that correspond to a geographical location.
320
310
  */
321
311
  locationToView(location) {
322
- var _a;
323
- return (_a = this.instance) === null || _a === void 0 ? void 0 : _a.locationToView(location);
312
+ return this.instance?.locationToView(location);
324
313
  }
325
314
  /**
326
315
  * Returns the geographical location that correspond to the view (relative) coordinates.
@@ -330,8 +319,7 @@ export class MapComponent {
330
319
  * @returns The geographic location that corresponds to the view coordinates.
331
320
  */
332
321
  viewToLocation(point, zoom) {
333
- var _a;
334
- return (_a = this.instance) === null || _a === void 0 ? void 0 : _a.viewToLocation(point, zoom);
322
+ return this.instance?.viewToLocation(point, zoom);
335
323
  }
336
324
  /**
337
325
  * @hidden
@@ -469,8 +457,8 @@ export class MapComponent {
469
457
  }
470
458
  }
471
459
  }
472
- MapComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: MapComponent, deps: [{ token: i1.ConfigurationService }, { token: i2.InstanceEventService }, { token: i0.ElementRef }, { token: i3.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: i0.NgZone }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
473
- MapComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: MapComponent, 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: [
460
+ MapComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MapComponent, deps: [{ token: i1.ConfigurationService }, { token: i2.InstanceEventService }, { token: i0.ElementRef }, { token: i3.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: i0.NgZone }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
461
+ MapComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: MapComponent, 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: [
474
462
  ConfigurationService,
475
463
  InstanceEventService,
476
464
  LocalizationService,
@@ -485,7 +473,7 @@ MapComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version:
485
473
  </kendo-map-tooltip-popup>
486
474
  <kendo-resize-sensor (resize)="onResize()" [rateLimit]="resizeRateLimit"></kendo-resize-sensor>
487
475
  `, isInline: true, components: [{ type: i4.TooltipPopupComponent, selector: "kendo-map-tooltip-popup", inputs: ["animate", "classNames", "popupSettings", "wrapperClass"], outputs: ["leave"] }, { type: i5.ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
488
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: MapComponent, decorators: [{
476
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MapComponent, decorators: [{
489
477
  type: Component,
490
478
  args: [{
491
479
  selector: 'kendo-map',
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2022 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
5
  import { MapComponent } from './map.component';
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2022 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
5
  import { CommonModule } from '@angular/common';
@@ -26,10 +26,10 @@ import * as i14 from "./tooltip/tooltip-popup.component";
26
26
  */
27
27
  export class MapModule {
28
28
  }
29
- MapModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: MapModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
30
- MapModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: MapModule, declarations: [i1.BubbleLayerComponent, i2.BubbleTooltipComponent, i3.BubbleTooltipTemplateDirective, i4.LayerTooltipComponent, i5.LayersComponent, i6.MapComponent, i7.MarkerLayerComponent, i8.MarkerTooltipComponent, i9.MarkerTooltipTemplateDirective, i10.ShapeLayerComponent, i11.ShapeTooltipComponent, i12.ShapeTooltipTemplateDirective, i13.TileLayerComponent, i14.TooltipPopupComponent], imports: [CommonModule, ResizeSensorModule], exports: [i1.BubbleLayerComponent, i2.BubbleTooltipComponent, i3.BubbleTooltipTemplateDirective, i4.LayerTooltipComponent, i5.LayersComponent, i6.MapComponent, i7.MarkerLayerComponent, i8.MarkerTooltipComponent, i9.MarkerTooltipTemplateDirective, i10.ShapeLayerComponent, i11.ShapeTooltipComponent, i12.ShapeTooltipTemplateDirective, i13.TileLayerComponent, i14.TooltipPopupComponent] });
31
- MapModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: MapModule, imports: [[CommonModule, ResizeSensorModule]] });
32
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: MapModule, decorators: [{
29
+ MapModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MapModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
30
+ MapModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MapModule, declarations: [i1.BubbleLayerComponent, i2.BubbleTooltipComponent, i3.BubbleTooltipTemplateDirective, i4.LayerTooltipComponent, i5.LayersComponent, i6.MapComponent, i7.MarkerLayerComponent, i8.MarkerTooltipComponent, i9.MarkerTooltipTemplateDirective, i10.ShapeLayerComponent, i11.ShapeTooltipComponent, i12.ShapeTooltipTemplateDirective, i13.TileLayerComponent, i14.TooltipPopupComponent], imports: [CommonModule, ResizeSensorModule], exports: [i1.BubbleLayerComponent, i2.BubbleTooltipComponent, i3.BubbleTooltipTemplateDirective, i4.LayerTooltipComponent, i5.LayersComponent, i6.MapComponent, i7.MarkerLayerComponent, i8.MarkerTooltipComponent, i9.MarkerTooltipTemplateDirective, i10.ShapeLayerComponent, i11.ShapeTooltipComponent, i12.ShapeTooltipTemplateDirective, i13.TileLayerComponent, i14.TooltipPopupComponent] });
31
+ MapModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MapModule, imports: [[CommonModule, ResizeSensorModule]] });
32
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MapModule, decorators: [{
33
33
  type: NgModule,
34
34
  args: [{
35
35
  declarations: [MAP_DIRECTIVES],
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2022 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
5
  /**
@@ -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: 1668698748,
12
+ publishDate: 1672394481,
13
13
  version: '',
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'
14
+ licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
15
15
  };
@@ -1,8 +1,8 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2022 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
5
  /**
6
6
  * Generated bundle index. Do not edit.
7
7
  */
8
- export * from './main';
8
+ export * from './index';
@@ -1,8 +1,10 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2022 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
5
  import { Directive } from '@angular/core';
6
+ import { PopupService } from '@progress/kendo-angular-popup';
7
+ import { LocalizationService } from '@progress/kendo-angular-l10n';
6
8
  import * as i0 from "@angular/core";
7
9
  import * as i1 from "@progress/kendo-angular-popup";
8
10
  import * as i2 from "@progress/kendo-angular-l10n";
@@ -52,6 +54,7 @@ export class BaseTooltip {
52
54
  }
53
55
  }
54
56
  onInit() {
57
+ //calling on init
55
58
  }
56
59
  ngOnDestroy() {
57
60
  this.hide();
@@ -83,8 +86,8 @@ export class BaseTooltip {
83
86
  return { scrollLeft, scrollTop };
84
87
  }
85
88
  }
86
- BaseTooltip.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: BaseTooltip, deps: [{ token: i1.PopupService }, { token: i2.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
87
- BaseTooltip.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: BaseTooltip, ngImport: i0 });
88
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: BaseTooltip, decorators: [{
89
+ BaseTooltip.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: BaseTooltip, deps: [{ token: i1.PopupService }, { token: i2.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
90
+ BaseTooltip.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: BaseTooltip, ngImport: i0 });
91
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: BaseTooltip, decorators: [{
89
92
  type: Directive
90
93
  }], ctorParameters: function () { return [{ type: i1.PopupService }, { type: i2.LocalizationService }]; } });
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2022 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
5
  import { ElementRef } from '@angular/core';
@@ -1,8 +1,8 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2022 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
- import { Directive, Optional } from '@angular/core';
5
+ import { Directive, Optional, TemplateRef } from '@angular/core';
6
6
  import * as i0 from "@angular/core";
7
7
  /**
8
8
  * A directive that sets a [template](link:site.data.urls.angular['templatesyntax'])
@@ -20,9 +20,9 @@ export class BubbleTooltipTemplateDirective {
20
20
  this.templateRef = templateRef;
21
21
  }
22
22
  }
23
- BubbleTooltipTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: BubbleTooltipTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
24
- BubbleTooltipTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: BubbleTooltipTemplateDirective, selector: "[kendoMapBubbleTooltipTemplate]", ngImport: i0 });
25
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: BubbleTooltipTemplateDirective, decorators: [{
23
+ BubbleTooltipTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: BubbleTooltipTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
24
+ BubbleTooltipTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: BubbleTooltipTemplateDirective, selector: "[kendoMapBubbleTooltipTemplate]", ngImport: i0 });
25
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: BubbleTooltipTemplateDirective, decorators: [{
26
26
  type: Directive,
27
27
  args: [{
28
28
  selector: '[kendoMapBubbleTooltipTemplate]'
@@ -1,10 +1,13 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2022 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
5
  import { Component, ContentChild } from '@angular/core';
6
+ import { ConfigurationService } from '../common/configuration.service';
6
7
  import { SettingsComponent } from '../common/settings.component';
8
+ import { LayerComponent } from '../map/layer.component';
7
9
  import { BubbleTooltipTemplateDirective } from './bubble-tooltip-template.directive';
10
+ import { TooltipTemplateService } from './tooltip-template.service';
8
11
  import * as i0 from "@angular/core";
9
12
  import * as i1 from "../common/configuration.service";
10
13
  import * as i2 from "./tooltip-template.service";
@@ -20,13 +23,12 @@ export class BubbleTooltipComponent extends SettingsComponent {
20
23
  this.layer = layer;
21
24
  }
22
25
  ngAfterContentChecked() {
23
- var _a;
24
- this.templateService.registerTemplate(this.layer.index, (_a = this.bubbleTooltipTemplate) === null || _a === void 0 ? void 0 : _a.templateRef);
26
+ this.templateService.registerTemplate(this.layer.index, this.bubbleTooltipTemplate?.templateRef);
25
27
  }
26
28
  }
27
- BubbleTooltipComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: BubbleTooltipComponent, deps: [{ token: i1.ConfigurationService }, { token: i2.TooltipTemplateService }, { token: i3.LayerComponent }], target: i0.ɵɵFactoryTarget.Component });
28
- BubbleTooltipComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: BubbleTooltipComponent, selector: "kendo-map-bubble-layer-tooltip", queries: [{ propertyName: "bubbleTooltipTemplate", first: true, predicate: BubbleTooltipTemplateDirective, descendants: true }], usesInheritance: true, ngImport: i0, template: '', isInline: true });
29
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: BubbleTooltipComponent, decorators: [{
29
+ BubbleTooltipComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: BubbleTooltipComponent, deps: [{ token: i1.ConfigurationService }, { token: i2.TooltipTemplateService }, { token: i3.LayerComponent }], target: i0.ɵɵFactoryTarget.Component });
30
+ BubbleTooltipComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: BubbleTooltipComponent, selector: "kendo-map-bubble-layer-tooltip", queries: [{ propertyName: "bubbleTooltipTemplate", first: true, predicate: BubbleTooltipTemplateDirective, descendants: true }], usesInheritance: true, ngImport: i0, template: '', isInline: true });
31
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: BubbleTooltipComponent, decorators: [{
30
32
  type: Component,
31
33
  args: [{
32
34
  selector: 'kendo-map-bubble-layer-tooltip',
@@ -1,8 +1,8 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2022 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
- import { Directive, Optional } from '@angular/core';
5
+ import { Directive, Optional, TemplateRef } from '@angular/core';
6
6
  import * as i0 from "@angular/core";
7
7
  /**
8
8
  * A directive that sets a [template](link:site.data.urls.angular['templatesyntax'])
@@ -19,9 +19,9 @@ export class MarkerTooltipTemplateDirective {
19
19
  this.templateRef = templateRef;
20
20
  }
21
21
  }
22
- MarkerTooltipTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: MarkerTooltipTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
23
- MarkerTooltipTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: MarkerTooltipTemplateDirective, selector: "[kendoMapMarkerTooltipTemplate]", ngImport: i0 });
24
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: MarkerTooltipTemplateDirective, decorators: [{
22
+ MarkerTooltipTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MarkerTooltipTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
23
+ MarkerTooltipTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: MarkerTooltipTemplateDirective, selector: "[kendoMapMarkerTooltipTemplate]", ngImport: i0 });
24
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MarkerTooltipTemplateDirective, decorators: [{
25
25
  type: Directive,
26
26
  args: [{
27
27
  selector: '[kendoMapMarkerTooltipTemplate]'
@@ -1,10 +1,13 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2022 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
5
  import { Component, ContentChild } from '@angular/core';
6
+ import { ConfigurationService } from '../common/configuration.service';
6
7
  import { SettingsComponent } from '../common/settings.component';
8
+ import { LayerComponent } from '../map/layer.component';
7
9
  import { MarkerTooltipTemplateDirective } from './marker-tooltip-template.directive';
10
+ import { TooltipTemplateService } from './tooltip-template.service';
8
11
  import * as i0 from "@angular/core";
9
12
  import * as i1 from "../common/configuration.service";
10
13
  import * as i2 from "./tooltip-template.service";
@@ -20,13 +23,12 @@ export class MarkerTooltipComponent extends SettingsComponent {
20
23
  this.layer = layer;
21
24
  }
22
25
  ngAfterContentChecked() {
23
- var _a;
24
- this.templateService.registerTemplate(this.layer.index, (_a = this.markerTooltipTemplate) === null || _a === void 0 ? void 0 : _a.templateRef);
26
+ this.templateService.registerTemplate(this.layer.index, this.markerTooltipTemplate?.templateRef);
25
27
  }
26
28
  }
27
- MarkerTooltipComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: MarkerTooltipComponent, deps: [{ token: i1.ConfigurationService }, { token: i2.TooltipTemplateService }, { token: i3.LayerComponent }], target: i0.ɵɵFactoryTarget.Component });
28
- MarkerTooltipComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: MarkerTooltipComponent, selector: "kendo-map-marker-layer-tooltip", queries: [{ propertyName: "markerTooltipTemplate", first: true, predicate: MarkerTooltipTemplateDirective, descendants: true }], usesInheritance: true, ngImport: i0, template: '', isInline: true });
29
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: MarkerTooltipComponent, decorators: [{
29
+ MarkerTooltipComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MarkerTooltipComponent, deps: [{ token: i1.ConfigurationService }, { token: i2.TooltipTemplateService }, { token: i3.LayerComponent }], target: i0.ɵɵFactoryTarget.Component });
30
+ MarkerTooltipComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: MarkerTooltipComponent, selector: "kendo-map-marker-layer-tooltip", queries: [{ propertyName: "markerTooltipTemplate", first: true, predicate: MarkerTooltipTemplateDirective, descendants: true }], usesInheritance: true, ngImport: i0, template: '', isInline: true });
31
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MarkerTooltipComponent, decorators: [{
30
32
  type: Component,
31
33
  args: [{
32
34
  selector: 'kendo-map-marker-layer-tooltip',
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2022 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
5
  export {};
@@ -1,8 +1,8 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2022 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
- import { Directive, Optional } from '@angular/core';
5
+ import { Directive, Optional, TemplateRef } from '@angular/core';
6
6
  import * as i0 from "@angular/core";
7
7
  /**
8
8
  * A directive that sets a [template](link:site.data.urls.angular['templatesyntax'])
@@ -19,9 +19,9 @@ export class ShapeTooltipTemplateDirective {
19
19
  this.templateRef = templateRef;
20
20
  }
21
21
  }
22
- ShapeTooltipTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ShapeTooltipTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
23
- ShapeTooltipTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: ShapeTooltipTemplateDirective, selector: "[kendoMapShapeTooltipTemplate]", ngImport: i0 });
24
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ShapeTooltipTemplateDirective, decorators: [{
22
+ ShapeTooltipTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ShapeTooltipTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
23
+ ShapeTooltipTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: ShapeTooltipTemplateDirective, selector: "[kendoMapShapeTooltipTemplate]", ngImport: i0 });
24
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ShapeTooltipTemplateDirective, decorators: [{
25
25
  type: Directive,
26
26
  args: [{
27
27
  selector: '[kendoMapShapeTooltipTemplate]'
@@ -1,10 +1,13 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2022 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
5
  import { Component, ContentChild } from '@angular/core';
6
+ import { ConfigurationService } from '../common/configuration.service';
6
7
  import { SettingsComponent } from '../common/settings.component';
8
+ import { LayerComponent } from '../map/layer.component';
7
9
  import { ShapeTooltipTemplateDirective } from './shape-tooltip-template.directive';
10
+ import { TooltipTemplateService } from './tooltip-template.service';
8
11
  import * as i0 from "@angular/core";
9
12
  import * as i1 from "../common/configuration.service";
10
13
  import * as i2 from "./tooltip-template.service";
@@ -20,13 +23,12 @@ export class ShapeTooltipComponent extends SettingsComponent {
20
23
  this.layer = layer;
21
24
  }
22
25
  ngAfterContentChecked() {
23
- var _a;
24
- this.templateService.registerTemplate(this.layer.index, (_a = this.shapeTooltipTemplate) === null || _a === void 0 ? void 0 : _a.templateRef);
26
+ this.templateService.registerTemplate(this.layer.index, this.shapeTooltipTemplate?.templateRef);
25
27
  }
26
28
  }
27
- ShapeTooltipComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ShapeTooltipComponent, deps: [{ token: i1.ConfigurationService }, { token: i2.TooltipTemplateService }, { token: i3.LayerComponent }], target: i0.ɵɵFactoryTarget.Component });
28
- ShapeTooltipComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: ShapeTooltipComponent, selector: "kendo-map-shape-layer-tooltip", queries: [{ propertyName: "shapeTooltipTemplate", first: true, predicate: ShapeTooltipTemplateDirective, descendants: true }], usesInheritance: true, ngImport: i0, template: '', isInline: true });
29
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ShapeTooltipComponent, decorators: [{
29
+ ShapeTooltipComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ShapeTooltipComponent, deps: [{ token: i1.ConfigurationService }, { token: i2.TooltipTemplateService }, { token: i3.LayerComponent }], target: i0.ɵɵFactoryTarget.Component });
30
+ ShapeTooltipComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: ShapeTooltipComponent, selector: "kendo-map-shape-layer-tooltip", queries: [{ propertyName: "shapeTooltipTemplate", first: true, predicate: ShapeTooltipTemplateDirective, descendants: true }], usesInheritance: true, ngImport: i0, template: '', isInline: true });
31
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ShapeTooltipComponent, decorators: [{
30
32
  type: Component,
31
33
  args: [{
32
34
  selector: 'kendo-map-shape-layer-tooltip',
@@ -1,12 +1,14 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2022 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
- import { Component, ViewChild, Input, Output, EventEmitter } from '@angular/core';
5
+ import { Component, TemplateRef, ViewChild, Input, NgZone, Output, EventEmitter } from '@angular/core';
6
6
  import { BaseTooltip } from './base-tooltip';
7
7
  import { hasParent } from '../common/has-parent';
8
+ import { TooltipTemplateService } from './tooltip-template.service';
8
9
  import { PopupService, POPUP_CONTAINER } from '@progress/kendo-angular-popup';
9
10
  import { bodyFactory } from './body-factory';
11
+ import { LocalizationService } from '@progress/kendo-angular-l10n';
10
12
  import * as i0 from "@angular/core";
11
13
  import * as i1 from "@progress/kendo-angular-popup";
12
14
  import * as i2 from "./tooltip-template.service";
@@ -63,8 +65,8 @@ export class TooltipPopupComponent extends BaseTooltip {
63
65
  super.hide();
64
66
  }
65
67
  }
66
- TooltipPopupComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TooltipPopupComponent, deps: [{ token: i1.PopupService }, { token: i2.TooltipTemplateService }, { token: i3.LocalizationService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
67
- TooltipPopupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: TooltipPopupComponent, selector: "kendo-map-tooltip-popup", inputs: { animate: "animate", classNames: "classNames", popupSettings: "popupSettings", wrapperClass: "wrapperClass" }, outputs: { leave: "leave" }, providers: [PopupService, {
68
+ TooltipPopupComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TooltipPopupComponent, deps: [{ token: i1.PopupService }, { token: i2.TooltipTemplateService }, { token: i3.LocalizationService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
69
+ TooltipPopupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: TooltipPopupComponent, selector: "kendo-map-tooltip-popup", inputs: { animate: "animate", classNames: "classNames", popupSettings: "popupSettings", wrapperClass: "wrapperClass" }, outputs: { leave: "leave" }, providers: [PopupService, {
68
70
  provide: POPUP_CONTAINER,
69
71
  useFactory: bodyFactory
70
72
  }], viewQueries: [{ propertyName: "templateRef", first: true, predicate: ["content"], descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: `
@@ -78,7 +80,7 @@ TooltipPopupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
78
80
  </div>
79
81
  </ng-template>
80
82
  `, isInline: true, directives: [{ type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i4.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { type: i4.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }] });
81
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TooltipPopupComponent, decorators: [{
83
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TooltipPopupComponent, decorators: [{
82
84
  type: Component,
83
85
  args: [{
84
86
  providers: [PopupService, {